documonster 0.7.0 → 0.8.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/dist/browser/modules/pdf/builder/image-utils.d.ts +1 -1
- package/dist/browser/modules/pdf/builder/image-utils.js +58 -9
- package/dist/browser/modules/pdf/core/pdf-writer.d.ts +8 -0
- package/dist/browser/modules/pdf/core/pdf-writer.js +3 -0
- package/dist/browser/modules/pdf/excel-bridge.js +126 -19
- package/dist/browser/modules/pdf/index.d.ts +1 -1
- package/dist/browser/modules/pdf/render/chart-surface.d.ts +6 -1
- package/dist/browser/modules/pdf/render/chart-surface.js +86 -47
- package/dist/browser/modules/pdf/render/constants.d.ts +69 -0
- package/dist/browser/modules/pdf/render/constants.js +45 -0
- package/dist/browser/modules/pdf/render/layout-engine.d.ts +5 -1
- package/dist/browser/modules/pdf/render/layout-engine.js +586 -205
- package/dist/browser/modules/pdf/render/page-renderer.js +180 -3
- package/dist/browser/modules/pdf/render/pdf-exporter.js +176 -35
- package/dist/browser/modules/pdf/render/style-converter.d.ts +11 -0
- package/dist/browser/modules/pdf/render/style-converter.js +24 -0
- package/dist/browser/modules/pdf/types.d.ts +284 -5
- package/dist/cjs/modules/pdf/builder/image-utils.js +58 -9
- package/dist/cjs/modules/pdf/core/pdf-writer.js +3 -0
- package/dist/cjs/modules/pdf/excel-bridge.js +125 -18
- package/dist/cjs/modules/pdf/render/chart-surface.js +86 -47
- package/dist/cjs/modules/pdf/render/constants.js +46 -1
- package/dist/cjs/modules/pdf/render/layout-engine.js +583 -202
- package/dist/cjs/modules/pdf/render/page-renderer.js +179 -2
- package/dist/cjs/modules/pdf/render/pdf-exporter.js +175 -34
- package/dist/cjs/modules/pdf/render/style-converter.js +26 -0
- package/dist/esm/modules/pdf/builder/image-utils.js +58 -9
- package/dist/esm/modules/pdf/core/pdf-writer.js +3 -0
- package/dist/esm/modules/pdf/excel-bridge.js +126 -19
- package/dist/esm/modules/pdf/render/chart-surface.js +86 -47
- package/dist/esm/modules/pdf/render/constants.js +45 -0
- package/dist/esm/modules/pdf/render/layout-engine.js +586 -205
- package/dist/esm/modules/pdf/render/page-renderer.js +180 -3
- package/dist/esm/modules/pdf/render/pdf-exporter.js +176 -35
- package/dist/esm/modules/pdf/render/style-converter.js +24 -0
- package/dist/iife/documonster.archive.iife.js +1 -1
- package/dist/iife/documonster.archive.iife.min.js +1 -1
- package/dist/iife/documonster.csv.iife.js +1 -1
- package/dist/iife/documonster.csv.iife.min.js +1 -1
- package/dist/iife/documonster.excel.iife.js +1 -1
- package/dist/iife/documonster.excel.iife.min.js +1 -1
- package/dist/iife/documonster.formula.iife.js +1 -1
- package/dist/iife/documonster.formula.iife.min.js +1 -1
- package/dist/iife/documonster.markdown.iife.js +1 -1
- package/dist/iife/documonster.markdown.iife.min.js +1 -1
- package/dist/iife/documonster.pdf.iife.js +1457 -664
- package/dist/iife/documonster.pdf.iife.js.map +1 -1
- package/dist/iife/documonster.pdf.iife.min.js +33 -32
- package/dist/iife/documonster.stream.iife.js +1 -1
- package/dist/iife/documonster.stream.iife.min.js +1 -1
- package/dist/iife/documonster.word.iife.js +1 -1
- package/dist/iife/documonster.word.iife.min.js +1 -1
- package/dist/iife/documonster.xml.iife.js +1 -1
- package/dist/iife/documonster.xml.iife.min.js +1 -1
- package/dist/types/modules/pdf/builder/image-utils.d.ts +1 -1
- package/dist/types/modules/pdf/core/pdf-writer.d.ts +8 -0
- package/dist/types/modules/pdf/index.d.ts +1 -1
- package/dist/types/modules/pdf/render/chart-surface.d.ts +6 -1
- package/dist/types/modules/pdf/render/constants.d.ts +69 -0
- package/dist/types/modules/pdf/render/layout-engine.d.ts +5 -1
- package/dist/types/modules/pdf/render/style-converter.d.ts +11 -0
- package/dist/types/modules/pdf/types.d.ts +284 -5
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* documonster v0.
|
|
2
|
+
* documonster v0.8.0
|
|
3
3
|
* Zero-dependency TypeScript toolkit for Excel, Word, PDF, CSV, Markdown, XML & ZIP — one API across Node.js, Bun & browsers.
|
|
4
4
|
* (c) 2026 cjnoname
|
|
5
5
|
* Released under the Apache-2.0 License
|
|
6
6
|
*/
|
|
7
7
|
this.Documonster=this.Documonster||{},(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Object.defineProperty,n=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},r=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r};function i(e){return d(e)?`(${e.replace(/\\/g,`\\\\`).replace(/\(/g,`\\(`).replace(/\)/g,`\\)`).replace(/\r\n/g,`\\n`).replace(/\r/g,`\\n`).replace(/\n/g,`\\n`)})`:a(f(e))}function a(e){let t=`<`;for(let n=0;n<e.length;n++)t+=e[n].toString(16).padStart(2,`0`);return t+`>`}function o(e){let t=`/`;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t+=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.toString(16).padStart(2,`0`):e[n]}return t}function s(e){return Number.isFinite(e)?Number.isInteger(e)?e.toString():(Math.round(e*1e4)/1e4).toString():`0`}function c(e){return`[`+e.join(` `)+`]`}function l(e,t=0){return`${e} ${t} R`}function u(e){return`(D:${e.getUTCFullYear().toString().padStart(4,`0`)}${(e.getUTCMonth()+1).toString().padStart(2,`0`)}${e.getUTCDate().toString().padStart(2,`0`)}${e.getUTCHours().toString().padStart(2,`0`)}${e.getUTCMinutes().toString().padStart(2,`0`)}${e.getUTCSeconds().toString().padStart(2,`0`)}Z)`}function d(e){for(let t=0;t<e.length;t++)if(e.charCodeAt(t)>127)return!1;return!0}function f(e){let t=new Uint8Array(2+e.length*2);t[0]=254,t[1]=255;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[2+n*2]=r>>8&255,t[3+n*2]=r&255}return t}var p,m=n((()=>{p=class e{constructor(){this.entries=[],this._raw=null}static fromRawString(t){let n=new e;return n._raw=t,n}set(e,t){if(this._raw!==null){let n=RegExp(`(/${e})\\s+\\S+(?:\\s+\\d+\\s+R)?`);return this._raw=n.test(this._raw)?this._raw.replace(n,`/${e} ${t}`):this._raw.replace(/>>$/,`\n${o(e)} ${t}\n>>`),this}let n=this.entries.findIndex(([t])=>t===e);return n>=0?this.entries[n]=[e,t]:this.entries.push([e,t]),this}setIf(e,t,n){return e&&this.set(t,n),this}delete(e){let t=this.entries.findIndex(([t])=>t===e);return t>=0&&this.entries.splice(t,1),this}toString(){if(this._raw!==null)return this._raw;let e=[`<<`];for(let[t,n]of this.entries)e.push(`${o(t)} ${n}`);return e.push(`>>`),e.join(`
|
|
8
|
-
`)}}}));function h(e){return e instanceof Error?e:Error(String(e))}function g(e){return e instanceof _?e.toJSON():{name:e.name,message:e.message,stack:e.stack,cause:e.cause instanceof Error?g(e.cause):e.cause}}var _,v=n((()=>{_=class extends Error{constructor(e,t){super(e,t),this.name=`BaseError`,Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}toJSON(){return{name:this.name,message:this.message,stack:this.stack,cause:this.cause instanceof Error?g(this.cause):this.cause}}}})),y,b=n((()=>{v(),y=class extends _{constructor(e,t){super(e,t),this.name=`ArchiveError`}}}));function x(e){let t=1,n=0;for(let r=0;r<e.length;){let i=Math.min(r+5552,e.length);for(;r<i;)t+=e[r++],n+=t;t%=re,n%=re}return n<<16|t}function S(e,t){let n=`${e}:${t}`;return()=>{let r=e===`compression`?typeof CompressionStream<`u`?CompressionStream:void 0:typeof DecompressionStream<`u`?DecompressionStream:void 0;if(!r)return!1;let i=ie[n];if(i!=null)return i;try{new r(t),ie[n]=!0}catch{ie[n]=!1}return ie[n]}}function C(e){return ae[Math.max(0,Math.min(9,e))]??ae[6]}function w(e){let t=new Uint8Array(4);return t[0]=e>>>24&255,t[1]=e>>>16&255,t[2]=e>>>8&255,t[3]=e&255,t}function ee(e){if(e.length<6)throw new y(`Invalid zlib data (too small)`);let t=e[0],n=e[1];if((t&15)!=8)throw new y(`Invalid zlib compression method`);if(t>>4>7)throw new y(`Invalid zlib CINFO value`);if((t<<8|n)%31!=0)throw new y(`Invalid zlib header checksum`);if(n&32)throw new y(`Zlib preset dictionary not supported`);return 2}function te(e){let t=e.length-4;return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function ne(e,t){if(x(e)>>>0!=t>>>0)throw new y(`Invalid zlib data (Adler-32 mismatch)`)}var re,ie,ae,oe=n((()=>{b(),re=65521,ie={},S(`compression`,`gzip`),S(`decompression`,`gzip`),S(`compression`,`deflate`),S(`decompression`,`deflate`),ae={0:new Uint8Array([120,1]),1:new Uint8Array([120,1]),2:new Uint8Array([120,94]),3:new Uint8Array([120,94]),4:new Uint8Array([120,94]),5:new Uint8Array([120,94]),6:new Uint8Array([120,156]),7:new Uint8Array([120,218]),8:new Uint8Array([120,218]),9:new Uint8Array([120,218])}}));function se(e,t){let n=e.length;if(n===0)return new Uint8Array;if(n===1){let t=e[0];return t.constructor===Uint8Array?t:new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}if(t===void 0){let r=0;for(let t=0;t<n;t++)r+=e[t].length;t=r}let r=new Uint8Array(t),i=0;for(let t=0;t<n;t++){let n=e[t];r.set(n,i),i+=n.length}return r}var ce=n((()=>{new TextEncoder,new TextDecoder(`utf-8`,{ignoreBOM:!0})}));function le(e,t){let n=new Uint16Array(16);for(let r=0;r<t;r++)e[r]>0&&n[e[r]]++;let r=new Uint16Array(16),i=0;for(let e=1;e<=15;e++)i=i+n[e-1]<<1,r[e]=i;let a={};for(let n=0;n<t;n++){let t=e[n];if(t===0)continue;i=r[t]++;let o=a;for(let e=t-1;e>=0;e--)i>>e&1?(o.right||(o.right={}),o=o.right):(o.left||(o.left={}),o=o.left);o.symbol=n}return a}function ue(e){let t=new ke(e),n=new Uint8Array(Math.max(64,e.length*4)),r=0,i=e=>{let t=r+e;if(t<=n.length)return;let i=n.length;for(;i<t;)i*=2;let a=new Uint8Array(i);a.set(n.subarray(0,r)),n=a},a=!1;for(;!a;){a=t.readBits(1)===1;let e=t.readBits(2);if(e===0){t.alignToByte();let e=t.readUint16();if((e^t.readUint16())!==65535)throw new y(`Invalid stored block length`);i(e);for(let i=0;i<e;i++)n[r++]=t.readByte()}else if(e===1||e===2){let a,o;if(e===1)a=le(xe,288),o=le(Se,32);else{let e=t.readBits(5)+257,n=t.readBits(5)+1,r=t.readBits(4)+4,i=new Uint8Array(19);for(let e=0;e<r;e++)i[Oe[e]]=t.readBits(3);let s=le(i,19),c=new Uint8Array(e+n),l=0;for(;l<e+n;){let e=t.decodeSymbol(s);if(e<16)c[l++]=e;else if(e===16){let e=t.readBits(2)+3,n=c[l-1];for(let t=0;t<e;t++)c[l++]=n}else if(e===17){let e=t.readBits(3)+3;for(let t=0;t<e;t++)c[l++]=0}else if(e===18){let e=t.readBits(7)+11;for(let t=0;t<e;t++)c[l++]=0}}a=le(c.subarray(0,e),e),o=le(c.subarray(e),n)}for(;;){let e=t.decodeSymbol(a);if(e<256)i(1),n[r++]=e;else if(e===256)break;else{let a=e-257,s=Ce[a]+t.readBits(we[a]),c=t.decodeSymbol(o),l=Te[c]+t.readBits(Ee[c]);i(s);let u=r-l;for(let e=0;e<s;e++)n[r++]=n[u+e]}}}else throw new y(`Invalid DEFLATE block type: `+e)}return n.slice(0,r)}function de(e){let t=65535,n=Math.ceil(e.length/t)||1,r=n*5+e.length,i=new Uint8Array(r),a=0,o=0;for(let r=0;r<n;r++){let s=r===n-1,c=Math.min(t,e.length-o);i[a++]=+!!s,i[a++]=c&255,i[a++]=c>>8&255,i[a++]=~c&255,i[a++]=~c>>8&255,i.set(e.subarray(o,o+c),a),a+=c,o+=c}return i.subarray(0,a)}function fe(e){return e<=1?{maxChainLen:4,goodLen:4,niceLen:8,lazy:!1}:e<=3?{maxChainLen:8,goodLen:8,niceLen:32,lazy:!0}:e<=5?{maxChainLen:32,goodLen:16,niceLen:128,lazy:!0}:e<=7?{maxChainLen:64,goodLen:32,niceLen:258,lazy:!0}:{maxChainLen:128,goodLen:64,niceLen:258,lazy:!0}}function pe(e,t,n){return(e<<16|t<<8|n)*506832829>>>17&je}function me(e,t=6){if(e.length===0)return new Uint8Array([3,0]);if(e.length<100)return de(e);let n=fe(t),r=be(e,0,e.length,n,null),i=new Fe;return ye(i,r,!0),i.finish()}function he(e){for(let t=0;t<Ce.length;t++)if(t===Ce.length-1||e<Ce[t+1])return{code:257+t,extra:e-Ce[t],extraBits:we[t]};return{code:285,extra:0,extraBits:0}}function ge(e){for(let t=0;t<De.length;t++){let[n,r,i]=De[t];if(e<=n)return{code:r,extra:e-(t===0?1:De[t-1][0]+1),extraBits:i}}return{code:29,extra:0,extraBits:13}}function _e(e,t){let n=e.length,r=new Uint8Array(n),i=[];for(let t=0;t<n;t++)e[t]>0&&i.push({sym:t,freq:e[t]});if(i.length===0)return r;if(i.length===1)return r[i[0].sym]=1,r;i.sort((e,t)=>e.freq-t.freq||e.sym-t.sym);let a=i.map(e=>({freq:e.freq,sym:e.sym,left:null,right:null})),o=0,s=0,c=[];function l(){let e=o<a.length,t=s<c.length;return e&&t?a[o].freq<=c[s].freq?a[o++]:c[s++]:e?a[o++]:c[s++]}let u=i.length;for(let e=0;e<u-1;e++){let e=l(),t=l(),n={freq:e.freq+t.freq,sym:-1,left:e,right:t};c.push(n)}let d=c[c.length-1];function f(e,t){if(e.sym>=0){r[e.sym]=t;return}e.left&&f(e.left,t+1),e.right&&f(e.right,t+1)}f(d,0);let p=new Uint16Array(t+1);for(let e=0;e<n;e++)r[e]>0&&(r[e]>t?(p[t]++,r[e]=t):p[r[e]]++);let m=0;for(let e=1;e<=t;e++)m+=p[e]<<t-e;let h=1<<t;if(m===h)return r;for(;m>h;){let e=t-1;for(;e>0&&p[e]===0;)e--;if(e===0)break;p[e]--,p[t]++,m-=(1<<t-e)-1}for(;m<h;)p[t]++,m++;let g=[];for(let t=0;t<n;t++)r[t]>0&&g.push({sym:t,origLen:r[t],freq:e[t]});g.sort((e,t)=>t.origLen-e.origLen||e.freq-t.freq),r.fill(0);let _=0;for(let e=t;e>=1;e--)for(let t=p[e];t>0;t--)_<g.length&&(r[g[_].sym]=e,_++);return r}function ve(e){let t=e.length,n=Array(t),r=new Uint16Array(16);for(let n=0;n<t;n++)e[n]>0&&r[e[n]]++;let i=new Uint16Array(16),a=0;for(let e=1;e<=15;e++)a=a+r[e-1]<<1,i[e]=a;for(let r=0;r<t;r++){let t=e[r];t>0?n[r]=[i[t]++,t]:n[r]=[0,0]}return n}function ye(e,t,n){let r=new Uint32Array(286),i=new Uint32Array(30);r[256]=1;for(let e of t)if(e.dist===0)r[e.litOrLen]++;else{let t=he(e.litOrLen);r[t.code]++;let n=ge(e.dist);i[n.code]++}let a=_e(r,15),o=_e(i,15),s=!1;for(let e=0;e<o.length;e++)if(o[e]>0){s=!0;break}s||(o=new Uint8Array(30),o[0]=1,o[1]=1);let c=ve(a),l=ve(o),u=286;for(;u>257&&a[u-1]===0;)u--;let d=30;for(;d>1&&o[d-1]===0;)d--;let f=new Uint8Array(u+d);f.set(a.subarray(0,u)),f.set(o.subarray(0,d),u);let p=[],m=new Uint32Array(19);for(let e=0;e<f.length;){let t=f[e];if(t===0){let t=1;for(;e+t<f.length&&f[e+t]===0;)t++;for(;t>0;)if(t>=11){let n=Math.min(t,138);p.push({sym:18,extra:n-11,extraBits:7}),m[18]++,t-=n,e+=n}else if(t>=3){let n=Math.min(t,10);p.push({sym:17,extra:n-3,extraBits:3}),m[17]++,t-=n,e+=n}else p.push({sym:0,extra:0,extraBits:0}),m[0]++,t--,e++}else{p.push({sym:t,extra:0,extraBits:0}),m[t]++,e++;let n=0;for(;e+n<f.length&&f[e+n]===t;)n++;for(;n>=3;){let t=Math.min(n,6);p.push({sym:16,extra:t-3,extraBits:2}),m[16]++,n-=t,e+=t}for(;n>0;)p.push({sym:t,extra:0,extraBits:0}),m[t]++,n--,e++}}let h=_e(m,7),g=ve(h),_=19;for(;_>4&&h[Oe[_-1]]===0;)_--;e.writeBits(+!!n,1),e.writeBits(2,2),e.writeBits(u-257,5),e.writeBits(d-1,5),e.writeBits(_-4,4);for(let t=0;t<_;t++)e.writeBits(h[Oe[t]],3);for(let t of p){let[n,r]=g[t.sym];e.writeBitsReverse(n,r),t.extraBits>0&&e.writeBits(t.extra,t.extraBits)}for(let n of t)if(n.dist===0){let[t,r]=c[n.litOrLen];e.writeBitsReverse(t,r)}else{let t=he(n.litOrLen),[r,i]=c[t.code];e.writeBitsReverse(r,i),t.extraBits>0&&e.writeBits(t.extra,t.extraBits);let a=ge(n.dist),[o,s]=l[a.code];e.writeBitsReverse(o,s),a.extraBits>0&&e.writeBits(a.extra,a.extraBits)}let[v,y]=c[256];e.writeBitsReverse(v,y)}function be(e,t,n,r,i){let a=[],o=r.maxChainLen,s=r.goodLen,c=r.niceLen,l=r.lazy,u,d,f,p,m,h,g,_,v;i?(u=i.head,d=i.prev,f=i.window,p=i.windowLen,m=i.totalIn,h=i.hasPrevMatch,g=i.prevMatchLen,_=i.prevMatchDist,v=i.prevLiteral):(u=new Int32Array(Ae),d=new Int32Array(Pe),f=null,p=0,m=0,h=!1,g=0,_=0,v=0);let y=i?r=>{let i=r-m;return i>=t&&i<n?e[i]:f[r&32767]}:t=>e[t],b=i?t=>{if(t+2>=n)return;let r=pe(e[t],e[t+1],e[t+2]),i=m+t;d[i&32767]=u[r],u[r]=i+1}:t=>{if(t+2>=n)return;let r=pe(e[t],e[t+1],e[t+2]);d[t&32767]=u[r],u[r]=t+1},x=i?(t,n)=>{for(let r=0;r<n;r++)f[p+r&32767]=e[t+r];p+=n}:(e,t)=>{},S=t;for(;S<n;){let t=0,r=0;if(S+2<n){let a=pe(e[S],e[S+1],e[S+2]),f=i?m+S:S,p=l&&h&&g>=s?o>>2:o,_=u[a];for(;_>0&&p-->0;){let i=_-1,a=f-i;if(a>Pe||a<=0)break;if(t>=Me&&y(i+t)!==e[S+t]){_=d[i&32767];continue}let o=Math.min(Ne,n-S),s=0;for(;s<o&&y(i+s)===e[S+s];)s++;if(s>t&&(t=s,r=a,s>=c))break;_=d[i&32767]}i?(d[f&32767]=u[a],u[a]=f+1):(d[S&32767]=u[a],u[a]=S+1)}if(l&&h){if(t>g)a.push({litOrLen:v,dist:0}),g=t,_=r,v=e[S],x(S,1),S++;else{a.push({litOrLen:g,dist:_});let e=Math.min(S-1+g,n);for(let t=S;t<e;t++)b(t);x(S,e-S),S=e,h=!1,g=0}}else if(t>=Me){if(l)h=!0,g=t,_=r,v=e[S],x(S,1),S++;else{a.push({litOrLen:t,dist:r});let e=Math.min(S+t,n);for(let t=S+1;t<e;t++)b(t);x(S,e-S),S=e}}else h&&(a.push({litOrLen:g,dist:_}),h=!1,g=0),a.push({litOrLen:e[S],dist:0}),x(S,1),S++}if(h){a.push({litOrLen:g,dist:_});let e=Math.min(S-1+g,n);for(let t=S;t<e;t++)b(t);x(S,e-S),h=!1,g=0}return i&&(i.windowLen=p,i.totalIn=m+(n-t),i.hasPrevMatch=h,i.prevMatchLen=g,i.prevMatchDist=_,i.prevLiteral=v),a}var xe,Se,Ce,we,Te,Ee,De,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie=n((()=>{b(),ce(),xe=(()=>{let e=new Uint8Array(288);for(let t=0;t<=143;t++)e[t]=8;for(let t=144;t<=255;t++)e[t]=9;for(let t=256;t<=279;t++)e[t]=7;for(let t=280;t<=287;t++)e[t]=8;return e})(),Se=new Uint8Array(32).fill(5),Ce=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],we=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Te=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],Ee=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],De=[[1,0,0],[2,1,0],[3,2,0],[4,3,0],[6,4,1],[8,5,1],[12,6,2],[16,7,2],[24,8,3],[32,9,3],[48,10,4],[64,11,4],[96,12,5],[128,13,5],[192,14,6],[256,15,6],[384,16,7],[512,17,7],[768,18,8],[1024,19,8],[1536,20,9],[2048,21,9],[3072,22,10],[4096,23,10],[6144,24,11],[8192,25,11],[12288,26,12],[16384,27,12],[24576,28,13],[32768,29,13]],Oe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ke=class{constructor(e){this.data=e,this.pos=0,this.bitBuf=0,this.bitCount=0}readBits(e){for(;this.bitCount<e;){if(this.pos>=this.data.length)throw new y(`Unexpected end of DEFLATE data`);this.bitBuf|=this.data[this.pos++]<<this.bitCount,this.bitCount+=8}let t=this.bitBuf&(1<<e)-1;return this.bitBuf>>=e,this.bitCount-=e,t}decodeSymbol(e){let t=e;for(;t.symbol===void 0;)if(t=this.readBits(1)===0?t.left:t.right,!t)throw new y(`Invalid Huffman code`);return t.symbol}alignToByte(){this.bitBuf=0,this.bitCount=0}readByte(){if(this.pos>=this.data.length)throw new y(`Unexpected end of data`);return this.data[this.pos++]}readUint16(){return this.readByte()|this.readByte()<<8}},Ae=32768,je=32767,Me=3,Ne=258,Pe=32768,Fe=class e{constructor(){this.chunks=[],this.buffer=new Uint8Array(e.CHUNK_SIZE),this.bufLen=0,this.bitBuf=0,this.bitCount=0}static{this.CHUNK_SIZE=65536}alignToByte(){this.bitCount>0&&this.writeBits(0,8-this.bitCount)}pushByte(t){this.buffer[this.bufLen++]=t,this.bufLen>=e.CHUNK_SIZE&&(this.chunks.push(this.buffer),this.buffer=new Uint8Array(e.CHUNK_SIZE),this.bufLen=0)}writeBits(e,t){for(this.bitBuf|=e<<this.bitCount,this.bitCount+=t;this.bitCount>=8;)this.pushByte(this.bitBuf&255),this.bitBuf>>=8,this.bitCount-=8}writeBitsReverse(e,t){let n=0;for(let r=0;r<t;r++)n=n<<1|e>>r&1;this.writeBits(n,t)}finish(){return this.bitCount>0&&(this.pushByte(this.bitBuf&255),this.bitBuf=0,this.bitCount=0),this.chunks.length===0?this.buffer.slice(0,this.bufLen):(this.chunks.push(this.buffer.subarray(0,this.bufLen)),se(this.chunks))}flushBytes(){if(this.chunks.length===0&&this.bufLen===0)return new Uint8Array;let t;return this.chunks.length===0?t=this.buffer.slice(0,this.bufLen):(this.chunks.push(this.buffer.subarray(0,this.bufLen)),t=se(this.chunks),this.chunks=[]),this.buffer=new Uint8Array(e.CHUNK_SIZE),this.bufLen=0,t}}})),Le=n((()=>{}));function Re(e){return ue(e)}function ze(e,t,n){return se([C(n),e,w(x(t))])}function Be(e){let t=ee(e),n=te(e);return{deflateData:e.subarray(t,e.length-4),expectedAdler32:n}}function Ve(e,t={}){let n=t.level??6;return ze(n===0?de(e):me(e,n),e,n)}function He(e){let{deflateData:t,expectedAdler32:n}=Be(e),r=ue(t);return ne(r,n),r}var Ue=n((()=>{oe(),Ie(),Le(),ce(),new Uint8Array([31,139,8,0,0,0,0,0,0,255])}));function We(e){if(e.length<8||e[0]!==137||e[1]!==80||e[2]!==78||e[3]!==71)throw Error(`Invalid PNG signature`);let t=8,n=0,r=0,i=0,a=0,o=[],s=null,c=null;for(;t+8<=e.length;){let l=new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(t,!1),u=String.fromCharCode(e[t+4],e[t+5],e[t+6],e[t+7]),d=e.subarray(t+8,t+8+l);switch(t+=8+l+4,u){case`IHDR`:{let e=new DataView(d.buffer,d.byteOffset,d.byteLength);if(n=e.getUint32(0,!1),r=e.getUint32(4,!1),i=d[8],a=d[9],d[12]!==0)throw Error(`Interlaced PNG is not supported`);if(i!==8)throw Error(`Unsupported PNG bit depth: ${i}. Only 8-bit PNGs are supported.`);if(n===0||r===0)throw Error(`Invalid PNG dimensions: ${n}x${r}`);let t=n*r;if(t>Ye)throw Error(`PNG dimensions too large: ${n}x${r} (${t} pixels). Maximum allowed: ${Ye} pixels.`);break}case`PLTE`:s=new Uint8Array(d);break;case`tRNS`:c=new Uint8Array(d);break;case`IDAT`:o.push(d)}}if(n===0||r===0)throw Error(`PNG missing IHDR chunk`);let l=se(o),u;u=l.length>6&&(l[0]&15)==8?l.subarray(2,l.length-4):l;let d=Re(u),f=qe(a),p=Math.max(1,f*i/8),m=Math.ceil(n*f*i/8);return Je(Ge(d,n,r,m,p),n,r,a,i,s,c)}function Ge(e,t,n,r,i){let a=new Uint8Array(n*r),o=Math.max(1,Math.floor(i)),s=0;for(let t=0;t<n;t++){let n=e[s++],i=t*r,c=t>0?(t-1)*r:-1;for(let t=0;t<r;t++){let r=e[s++]??0,l=t>=o?a[i+t-o]:0,u=c>=0?a[c+t]:0,d=c>=0&&t>=o?a[c+t-o]:0;switch(n){case 0:a[i+t]=r;break;case 1:a[i+t]=r+l&255;break;case 2:a[i+t]=r+u&255;break;case 3:a[i+t]=r+Math.floor((l+u)/2)&255;break;case 4:a[i+t]=r+Ke(l,u,d)&255;break;default:a[i+t]=r}}}return a}function Ke(e,t,n){let r=e+t-n,i=Math.abs(r-e),a=Math.abs(r-t),o=Math.abs(r-n);return i<=a&&i<=o?e:a<=o?t:n}function qe(e){switch(e){case 0:return 1;case 2:return 3;case 3:return 1;case 4:return 2;case 6:return 4;default:return 3}}function Je(e,t,n,r,i,a,o){let s=t*n,c=new Uint8Array(s*3),l=null;switch(r){case 2:if(c.set(e.subarray(0,s*3)),o&&o.length>=6){let t=o[1],n=o[3],r=o[5];l=new Uint8Array(s),l.fill(255);for(let i=0;i<s;i++)e[i*3]===t&&e[i*3+1]===n&&e[i*3+2]===r&&(l[i]=0)}break;case 6:l=new Uint8Array(s);for(let t=0;t<s;t++)c[t*3]=e[t*4],c[t*3+1]=e[t*4+1],c[t*3+2]=e[t*4+2],l[t]=e[t*4+3];break;case 0:{let t=-1;o&&o.length>=2&&(t=o[1]),t>=0&&(l=new Uint8Array(s),l.fill(255));for(let n=0;n<s;n++){let r=e[n];c[n*3]=r,c[n*3+1]=r,c[n*3+2]=r,l&&r===t&&(l[n]=0)}break}case 4:l=new Uint8Array(s);for(let t=0;t<s;t++){let n=e[t*2];c[t*3]=n,c[t*3+1]=n,c[t*3+2]=n,l[t]=e[t*2+1]}break;case 3:if(!a)throw Error(`PNG palette color type (3) but missing PLTE chunk`);o&&o.length>0&&(l=new Uint8Array(s));for(let t=0;t<s;t++){let n=e[t];c[t*3]=a[n*3]??0,c[t*3+1]=a[n*3+1]??0,c[t*3+2]=a[n*3+2]??0,l&&(l[t]=n<o.length?o[n]:255)}break;default:throw Error(`Unsupported PNG color type: ${r}`)}if(l){let e=!0;for(let t=0;t<l.length;t++)if(l[t]!==255){e=!1;break}e&&(l=null)}return{width:t,height:n,pixels:c,alpha:l,bitsPerComponent:8}}var Ye,Xe=n((()=>{Ue(),ce(),Ye=1e8}));function Ze(e,t){return t===`png`?Qe(e):$e(e)}function Qe(e){return e.length>=24&&e[12]===73&&e[13]===72&&e[14]===68&&e[15]===82?{width:e[16]<<24|e[17]<<16|e[18]<<8|e[19],height:e[20]<<24|e[21]<<16|e[22]<<8|e[23]}:{width:1,height:1}}function $e(e){let t=2;for(;t<e.length-1;){for(;t<e.length&&e[t]===255&&e[t+1]===255;)t++;if(t>=e.length-1||e[t]!==255)break;let n=e[t+1];if(n>=192&&n<=207&&n!==196&&n!==200&&n!==204&&t+8<e.length)return{width:e[t+7]<<8|e[t+8],height:e[t+5]<<8|e[t+6]};if(t+3>=e.length)break;let r=e[t+2]<<8|e[t+3];t+=2+r}return{width:1,height:1}}function et(e,t,n){return n===`png`?nt(e,t):tt(e,t)}function tt(e,t){let n=e.allocObject(),r=$e(t),i=new p().set(`Type`,`/XObject`).set(`Subtype`,`/Image`).set(`Width`,s(r.width)).set(`Height`,s(r.height)).set(`ColorSpace`,`/DeviceRGB`).set(`BitsPerComponent`,`8`).set(`Filter`,`/DCTDecode`);return e.addStreamObject(n,i,t),n}function nt(e,t){let n=We(t),r=e.allocObject(),i=new p().set(`Type`,`/XObject`).set(`Subtype`,`/Image`).set(`Width`,s(n.width)).set(`Height`,s(n.height)).set(`ColorSpace`,`/DeviceRGB`).set(`BitsPerComponent`,s(n.bitsPerComponent));if(n.alpha){let t=e.allocObject(),r=new p().set(`Type`,`/XObject`).set(`Subtype`,`/Image`).set(`Width`,s(n.width)).set(`Height`,s(n.height)).set(`ColorSpace`,`/DeviceGray`).set(`BitsPerComponent`,`8`);e.addStreamObject(t,r,n.alpha),i.set(`SMask`,l(t))}return e.addStreamObject(r,i,n.pixels),r}var rt=n((()=>{m(),Xe()}));function it(e){return e<128?e<<1:e<<1^283}function at(e,t){let n=0,r=e,i=t;for(;i>0;)i&1&&(n^=r),r=it(r),i>>=1;return n}function ot(e){let t=e.length/4,n=t+6,r=[];for(let n=0;n<t;n++)r.push(new Uint8Array([e[4*n],e[4*n+1],e[4*n+2],e[4*n+3]]));for(let e=t;e<4*(n+1);e++){let n=new Uint8Array(r[e-1]);if(e%t===0){let r=n[0];n[0]=Ct[n[1]]^Tt[e/t-1],n[1]=Ct[n[2]],n[2]=Ct[n[3]],n[3]=Ct[r]}else t>6&&e%t===4&&(n[0]=Ct[n[0]],n[1]=Ct[n[1]],n[2]=Ct[n[2]],n[3]=Ct[n[3]]);let i=new Uint8Array(4);for(let a=0;a<4;a++)i[a]=r[e-t][a]^n[a];r.push(i)}return r}function st(e,t){let n=t.length/4-1,r=new Uint8Array(16);r.set(e);for(let e=0;e<4;e++)for(let n=0;n<4;n++)r[4*e+n]^=t[e][n];for(let e=1;e<n;e++){for(let e=0;e<16;e++)r[e]=Ct[r[e]];let n;n=r[1],r[1]=r[5],r[5]=r[9],r[9]=r[13],r[13]=n,n=r[2],r[2]=r[10],r[10]=n,n=r[6],r[6]=r[14],r[14]=n,n=r[15],r[15]=r[11],r[11]=r[7],r[7]=r[3],r[3]=n;for(let e=0;e<4;e++){let t=r[4*e],n=r[4*e+1],i=r[4*e+2],a=r[4*e+3];r[4*e]=it(t)^it(n)^n^i^a,r[4*e+1]=t^it(n)^it(i)^i^a,r[4*e+2]=t^n^it(i)^it(a)^a,r[4*e+3]=it(t)^t^n^i^it(a)}let i=e*4;for(let e=0;e<4;e++)for(let n=0;n<4;n++)r[4*e+n]^=t[i+e][n]}for(let e=0;e<16;e++)r[e]=Ct[r[e]];let i;i=r[1],r[1]=r[5],r[5]=r[9],r[9]=r[13],r[13]=i,i=r[2],r[2]=r[10],r[10]=i,i=r[6],r[6]=r[14],r[14]=i,i=r[15],r[15]=r[11],r[11]=r[7],r[7]=r[3],r[3]=i;for(let e=0;e<4;e++)for(let i=0;i<4;i++)r[4*e+i]^=t[n*4+e][i];return r}function ct(e,t){let n=t.length/4-1,r=new Uint8Array(16);r.set(e);for(let e=0;e<4;e++)for(let i=0;i<4;i++)r[4*e+i]^=t[n*4+e][i];for(let e=n-1;e>=1;e--){let n;n=r[13],r[13]=r[9],r[9]=r[5],r[5]=r[1],r[1]=n,n=r[2],r[2]=r[10],r[10]=n,n=r[6],r[6]=r[14],r[14]=n,n=r[3],r[3]=r[7],r[7]=r[11],r[11]=r[15],r[15]=n;for(let e=0;e<16;e++)r[e]=wt[r[e]];let i=e*4;for(let e=0;e<4;e++)for(let n=0;n<4;n++)r[4*e+n]^=t[i+e][n];for(let e=0;e<4;e++){let t=r[4*e],n=r[4*e+1],i=r[4*e+2],a=r[4*e+3];r[4*e]=at(t,14)^at(n,11)^at(i,13)^at(a,9),r[4*e+1]=at(t,9)^at(n,14)^at(i,11)^at(a,13),r[4*e+2]=at(t,13)^at(n,9)^at(i,14)^at(a,11),r[4*e+3]=at(t,11)^at(n,13)^at(i,9)^at(a,14)}}let i;i=r[13],r[13]=r[9],r[9]=r[5],r[5]=r[1],r[1]=i,i=r[2],r[2]=r[10],r[10]=i,i=r[6],r[6]=r[14],r[14]=i,i=r[3],r[3]=r[7],r[7]=r[11],r[11]=r[15],r[15]=i;for(let e=0;e<16;e++)r[e]=wt[r[e]];for(let e=0;e<4;e++)for(let n=0;n<4;n++)r[4*e+n]^=t[e][n];return r}function lt(e,t,n){let r=16-e.length%16,i=new Uint8Array(e.length+r);i.set(e);for(let t=e.length;t<i.length;t++)i[t]=r;let a=ot(t),o=i.length/16,s=new Uint8Array(i.length),c=n;for(let e=0;e<o;e++){let t=new Uint8Array(16);for(let n=0;n<16;n++)t[n]=i[e*16+n]^c[n];let n=st(t,a);s.set(n,e*16),c=n}return s}function ut(e,t,n){let r=ot(t),i=e.length/16,a=new Uint8Array(e.length),o=n;for(let t=0;t<i;t++){let n=e.subarray(t*16,(t+1)*16),i=ct(n,r);for(let e=0;e<16;e++)a[t*16+e]=i[e]^o[e];o=n}if(a.length>0){let e=a[a.length-1];if(e>0&&e<=16){let t=!0;for(let n=0;n<e;n++)if(a[a.length-1-n]!==e){t=!1;break}if(t)return a.subarray(0,a.length-e)}}return a}function dt(e,t,n){let r=ot(t),i=e.length/16,a=new Uint8Array(e.length),o=n;for(let t=0;t<i;t++){let n=e.subarray(t*16,(t+1)*16),i=ct(n,r);for(let e=0;e<16;e++)a[t*16+e]=i[e]^o[e];o=n}return a}function ft(e,t,n){if(e.length%16!=0)throw Error(`aesCbcEncryptRaw: plaintext length must be a multiple of 16`);let r=ot(t),i=e.length/16,a=new Uint8Array(e.length),o=n;for(let t=0;t<i;t++){let n=new Uint8Array(16);for(let r=0;r<16;r++)n[r]=e[t*16+r]^o[r];let i=st(n,r);a.set(i,t*16),o=i}return a}function pt(e,t){return st(e,ot(t))}function mt(e,t){return(e>>>t|e<<32-t)>>>0}function ht(e){let t=e.length,n=Math.ceil((t+9)/64)*64,r=new Uint8Array(n);r.set(e),r[t]=128;let i=t*8,a=new DataView(r.buffer,r.byteOffset,r.byteLength);a.setUint32(n-8,0,!1),a.setUint32(n-4,i,!1);let o=Et[0],s=Et[1],c=Et[2],l=Et[3],u=Et[4],d=Et[5],f=Et[6],p=Et[7],m=new Uint32Array(64);for(let e=0;e<n;e+=64){for(let t=0;t<16;t++)m[t]=a.getUint32(e+t*4,!1);for(let e=16;e<64;e++){let t=mt(m[e-15],7)^mt(m[e-15],18)^m[e-15]>>>3,n=mt(m[e-2],17)^mt(m[e-2],19)^m[e-2]>>>10;m[e]=m[e-16]+t+m[e-7]+n>>>0}let t=o,n=s,r=c,i=l,h=u,g=d,_=f,v=p;for(let e=0;e<64;e++){let a=mt(h,6)^mt(h,11)^mt(h,25),o=h&g^~h&_,s=v+a+o+Dt[e]+m[e]>>>0,c=(mt(t,2)^mt(t,13)^mt(t,22))+(t&n^t&r^n&r)>>>0;v=_,_=g,g=h,h=i+s>>>0,i=r,r=n,n=t,t=s+c>>>0}o=o+t>>>0,s=s+n>>>0,c=c+r>>>0,l=l+i>>>0,u=u+h>>>0,d=d+g>>>0,f=f+_>>>0,p=p+v>>>0}let h=new Uint8Array(32),g=new DataView(h.buffer);return g.setUint32(0,o,!1),g.setUint32(4,s,!1),g.setUint32(8,c,!1),g.setUint32(12,l,!1),g.setUint32(16,u,!1),g.setUint32(20,d,!1),g.setUint32(24,f,!1),g.setUint32(28,p,!1),h}function gt(e,t){return(e<<t|e>>>32-t)>>>0}function _t(e){let t=e.length,n=t*8,r=(56-(t+1)%64+64)%64+1,i=new Uint8Array(t+r+8);i.set(e),i[t]=128;let a=new DataView(i.buffer);a.setUint32(i.length-8,n>>>0,!0),a.setUint32(i.length-4,0,!0);let o=1732584193,s=4023233417,c=2562383102,l=271733878;for(let e=0;e<i.length;e+=64){let t=new Uint32Array(16);for(let n=0;n<16;n++)t[n]=a.getUint32(e+n*4,!0);let n=o,r=s,i=c,u=l;for(let e=0;e<64;e++){let a,o;e<16?(a=r&i|~r&u,o=e):e<32?(a=u&r|~u&i,o=(5*e+1)%16):e<48?(a=r^i^u,o=(3*e+5)%16):(a=i^(r|~u),o=7*e%16),a=a+n+kt[e]+t[o]>>>0,n=u,u=i,i=r,r=r+gt(a,Ot[e])>>>0}o=o+n>>>0,s=s+r>>>0,c=c+i>>>0,l=l+u>>>0}let u=new Uint8Array(16),d=new DataView(u.buffer);return d.setUint32(0,o,!0),d.setUint32(4,s,!0),d.setUint32(8,c,!0),d.setUint32(12,l,!0),u}function vt(e,t){let n=new Uint8Array(256);for(let e=0;e<256;e++)n[e]=e;let r=0;for(let t=0;t<256;t++)r=r+n[t]+e[t%e.length]&255,[n[t],n[r]]=[n[r],n[t]];let i=new Uint8Array(t.length),a=0,o=0;for(let e=0;e<t.length;e++)a=a+1&255,o=o+n[a]&255,[n[a],n[o]]=[n[o],n[a]],i[e]=t[e]^n[n[a]+n[o]&255];return i}function yt(e){let t=new Uint8Array(e);return globalThis.crypto.getRandomValues(t),t}function bt(e,t){let n=e.toLowerCase().replace(/-/g,``);if(n===`sha256`)return ht(t);if(n===`md5`)return _t(t);throw Error(`hash: unsupported algorithm "${e}" in browser sync mode. Use hashAsync() for other algorithms.`)}async function xt(e,t,n){let r=await globalThis.crypto.subtle.importKey(`spki`,e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength),{name:`RSASSA-PKCS1-v1_5`,hash:`SHA-256`},!1,[`verify`]);return globalThis.crypto.subtle.verify(`RSASSA-PKCS1-v1_5`,r,t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength),n.buffer.slice(n.byteOffset,n.byteOffset+n.byteLength))}async function St(e,t){let n=await globalThis.crypto.subtle.importKey(`pkcs8`,e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength),{name:`RSASSA-PKCS1-v1_5`,hash:`SHA-256`},!1,[`sign`]),r=await globalThis.crypto.subtle.sign(`RSASSA-PKCS1-v1_5`,n,t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));return new Uint8Array(r)}var Ct,wt,Tt,Et,Dt,Ot,kt,At=n((()=>{Ct=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]),wt=(()=>{let e=new Uint8Array(256);for(let t=0;t<256;t++)e[Ct[t]]=t;return e})(),Tt=[1,2,4,8,16,32,64,128,27,54],Et=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Dt=new Uint32Array([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]),Ot=[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],kt=new Uint32Array([3614090360,3905402710,606105819,3250441966,4118548399,1200080426,2821735955,4249261313,1770035416,2336552879,4294925233,2304563134,1804603682,4254626195,2792965006,1236535329,4129170786,3225465664,643717713,3921069994,3593408605,38016083,3634488961,3889429448,568446438,3275163606,4107603335,1163531501,2850285829,4243563512,1735328473,2368359562,4294588738,2272392833,1839030562,4259657740,2763975236,1272893353,4139469664,3200236656,681279174,3936430074,3572445317,76029189,3654602809,3873151461,530742520,3299628645,4096336452,1126891415,2878612391,4237533241,1700485571,2399980690,4293915773,2240044497,1873313359,4264355552,2734768916,1309151649,4149444226,3174756917,718787259,3951481745])}));function jt(e){return _t(e)}function Mt(e){return ht(e)}var Nt=n((()=>{At()}));function Pt(e){let t=It(e.userPassword??``),n=It(e.ownerPassword),r=Lt(e.permissions),i=yt(32),a=yt(8),o=yt(8),s=yt(8),c=yt(8),l=se([Mt(se([t,a])),a,o]),u=Mt(se([t,o])),d=new Uint8Array(16),f=ft(i,u,d),p=se([Mt(se([n,s,l])),s,c]),m=ft(i,Mt(se([n,c,l])),d),h=new Uint8Array(16);return new DataView(h.buffer).setInt32(0,r,!0),h[4]=255,h[5]=255,h[6]=255,h[7]=255,h[8]=84,h[9]=97,h[10]=100,h[11]=98,{encryptionKey:i,oValue:p,uValue:l,oeValue:m,ueValue:f,permsValue:pt(h,i),permissions:r,fileId:yt(16)}}function Ft(e,t,n,r){let i=yt(16),a=lt(e,r,i),o=new Uint8Array(16+a.length);return o.set(i),o.set(a,16),o}function It(e){let t=new TextEncoder().encode(e);return t.length>127?t.subarray(0,127):t}function Lt(e){let t=-3904;return e?.print&&(t|=4),e?.modify&&(t|=8),e?.copy&&(t|=16),e?.annotate&&(t|=32),e?.fillForms&&(t|=256),e?.accessibility&&(t|=512),e?.assemble&&(t|=1024),e?.printHighQuality&&(t|=2048),t|0}var Rt=n((()=>{Nt(),ce(),At()}));function zt(e){return e.replace(/\\/g,`\\\\`).replace(/\(/g,`\\(`).replace(/\)/g,`\\)`).replace(/\r\n/g,`\\n`).replace(/\r/g,`\\n`).replace(/\n/g,`\\n`)}function Bt(e){for(let t=0;t<e.length;t++)if(e.charCodeAt(t)>127)return!0;return!1}function Vt(e){if(e<128||e>=160&&e<=255)return e;let t=Gt.get(e);return t===void 0?32:t}function Ht(e){return e<128||e>=160&&e<=255||Gt.has(e)}function Ut(e){for(let t=0;t<e.length;t++){let n=e.codePointAt(t);if(n>65535&&t++,!Ht(n))return!0}return!1}var Wt,Gt,Kt=n((()=>{m(),Wt=class{constructor(){this.parts=[]}raw(e){return this.parts.push(e),this}deferred(e){return this.parts.push(e),this}append(e){return this.parts.push(...e.parts),this}save(){return this.parts.push(`q`),this}restore(){return this.parts.push(`Q`),this}setGraphicsState(e){return this.parts.push(`/${e} gs`),this}setStrokeColor(e){return this.parts.push(`${s(e.r)} ${s(e.g)} ${s(e.b)} RG`),this}setFillColor(e){return this.parts.push(`${s(e.r)} ${s(e.g)} ${s(e.b)} rg`),this}setLineWidth(e){return this.parts.push(`${s(e)} w`),this}setDashPattern(e,t=0){let n=e.map(s).join(` `);return this.parts.push(`[${n}] ${s(t)} d`),this}setLineCap(e){return this.parts.push(`${e} J`),this}setLineJoin(e){return this.parts.push(`${e} j`),this}moveTo(e,t){return this.parts.push(`${s(e)} ${s(t)} m`),this}lineTo(e,t){return this.parts.push(`${s(e)} ${s(t)} l`),this}rect(e,t,n,r){return this.parts.push(`${s(e)} ${s(t)} ${s(n)} ${s(r)} re`),this}curveTo(e,t,n,r,i,a){return this.parts.push(`${s(e)} ${s(t)} ${s(n)} ${s(r)} ${s(i)} ${s(a)} c`),this}curveToV(e,t,n,r){return this.parts.push(`${s(e)} ${s(t)} ${s(n)} ${s(r)} v`),this}curveToY(e,t,n,r){return this.parts.push(`${s(e)} ${s(t)} ${s(n)} ${s(r)} y`),this}stroke(){return this.parts.push(`S`),this}fill(){return this.parts.push(`f`),this}fillAndStroke(){return this.parts.push(`B`),this}closePath(){return this.parts.push(`h`),this}endPath(){return this.parts.push(`n`),this}clip(){return this.parts.push(`W`),this}beginText(){return this.parts.push(`BT`),this}endText(){return this.parts.push(`ET`),this}setFont(e,t){return this.parts.push(`/${e} ${s(t)} Tf`),this}setTextMatrix(e,t,n,r,i,a){return this.parts.push(`${s(e)} ${s(t)} ${s(n)} ${s(r)} ${s(i)} ${s(a)} Tm`),this}moveText(e,t){return this.parts.push(`${s(e)} ${s(t)} Td`),this}setTextLeading(e){return this.parts.push(`${s(e)} TL`),this}showText(e){return Bt(e)?this.showTextWinAnsi(e):(this.parts.push(`(${zt(e)}) Tj`),this)}showTextWinAnsi(e){let t=`<`;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++;let i=Vt(r);t+=i.toString(16).padStart(2,`0`)}return t+=`>`,this.parts.push(`${t} Tj`),this}showTextHex(e){return this.parts.push(`${e} Tj`),this}nextLineShowText(e){if(Bt(e)){let t=`<`;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++;let i=Vt(r);t+=i.toString(16).padStart(2,`0`)}return t+=`>`,this.parts.push(`${t} '`),this}return this.parts.push(`(${zt(e)}) '`),this}setTextRise(e){return this.parts.push(`${s(e)} Ts`),this}setTextRenderingMode(e){return this.parts.push(`${e} Tr`),this}setCharacterSpacing(e){return this.parts.push(`${s(e)} Tc`),this}setWordSpacing(e){return this.parts.push(`${s(e)} Tw`),this}drawImage(e,t,n,r,i){return this.save().concat(r,0,0,i,t,n).doXObject(e).restore()}concat(e,t,n,r,i,a){return this.parts.push(`${s(e)} ${s(t)} ${s(n)} ${s(r)} ${s(i)} ${s(a)} cm`),this}doXObject(e){return this.parts.push(`/${e} Do`),this}fillRect(e,t,n,r,i){return this.save().setFillColor(i).rect(e,t,n,r).fill().restore()}drawLine(e,t,n,r,i,a,o=[]){return this.save().setStrokeColor(i).setLineWidth(a),o.length>0&&this.setDashPattern(o),this.moveTo(e,t).lineTo(n,r).stroke().restore()}ellipse(e,t,n,r){let i=.5522847,a=i*n,o=i*r;return this.moveTo(e+n,t),this.curveTo(e+n,t+o,e+a,t+r,e,t+r),this.curveTo(e-a,t+r,e-n,t+o,e-n,t),this.curveTo(e-n,t-o,e-a,t-r,e,t-r),this.curveTo(e+a,t-r,e+n,t-o,e+n,t),this}circle(e,t,n){return this.ellipse(e,t,n,n)}roundedRect(e,t,n,r,i){let a=.5522847*i;return this.moveTo(e+i,t),this.lineTo(e+n-i,t),this.curveTo(e+n-i+a,t,e+n,t+i-a,e+n,t+i),this.lineTo(e+n,t+r-i),this.curveTo(e+n,t+r-i+a,e+n-i+a,t+r,e+n-i,t+r),this.lineTo(e+i,t+r),this.curveTo(e+i-a,t+r,e,t+r-i+a,e,t+r-i),this.lineTo(e,t+i),this.curveTo(e,t+i-a,e+i-a,t,e+i,t),this}hasContent(){return this.parts.length>0}toString(){let e=[];for(let t of this.parts)e.push(typeof t==`function`?t():t);return e.join(`
|
|
9
|
-
`)}toUint8Array(){return new TextEncoder().encode(this.toString())}},
|
|
10
|
-
`;break;case`r`:t+=`\r`;break;case`t`:t+=` `;break;case`(`:t+=`(`;break;case`)`:t+=`)`;break;case`\\`:t+=`\\`;break;default:t+=i}n++}return t}function
|
|
8
|
+
`)}}}));function h(e){return e instanceof Error?e:Error(String(e))}function g(e){return e instanceof _?e.toJSON():{name:e.name,message:e.message,stack:e.stack,cause:e.cause instanceof Error?g(e.cause):e.cause}}var _,v=n((()=>{_=class extends Error{constructor(e,t){super(e,t),this.name=`BaseError`,Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}toJSON(){return{name:this.name,message:this.message,stack:this.stack,cause:this.cause instanceof Error?g(this.cause):this.cause}}}})),y,b=n((()=>{v(),y=class extends _{constructor(e,t){super(e,t),this.name=`ArchiveError`}}}));function x(e){let t=1,n=0;for(let r=0;r<e.length;){let i=Math.min(r+5552,e.length);for(;r<i;)t+=e[r++],n+=t;t%=re,n%=re}return n<<16|t}function S(e,t){let n=`${e}:${t}`;return()=>{let r=e===`compression`?typeof CompressionStream<`u`?CompressionStream:void 0:typeof DecompressionStream<`u`?DecompressionStream:void 0;if(!r)return!1;let i=ie[n];if(i!=null)return i;try{new r(t),ie[n]=!0}catch{ie[n]=!1}return ie[n]}}function C(e){return ae[Math.max(0,Math.min(9,e))]??ae[6]}function w(e){let t=new Uint8Array(4);return t[0]=e>>>24&255,t[1]=e>>>16&255,t[2]=e>>>8&255,t[3]=e&255,t}function ee(e){if(e.length<6)throw new y(`Invalid zlib data (too small)`);let t=e[0],n=e[1];if((t&15)!=8)throw new y(`Invalid zlib compression method`);if(t>>4>7)throw new y(`Invalid zlib CINFO value`);if((t<<8|n)%31!=0)throw new y(`Invalid zlib header checksum`);if(n&32)throw new y(`Zlib preset dictionary not supported`);return 2}function te(e){let t=e.length-4;return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function ne(e,t){if(x(e)>>>0!=t>>>0)throw new y(`Invalid zlib data (Adler-32 mismatch)`)}var re,ie,ae,oe=n((()=>{b(),re=65521,ie={},S(`compression`,`gzip`),S(`decompression`,`gzip`),S(`compression`,`deflate`),S(`decompression`,`deflate`),ae={0:new Uint8Array([120,1]),1:new Uint8Array([120,1]),2:new Uint8Array([120,94]),3:new Uint8Array([120,94]),4:new Uint8Array([120,94]),5:new Uint8Array([120,94]),6:new Uint8Array([120,156]),7:new Uint8Array([120,218]),8:new Uint8Array([120,218]),9:new Uint8Array([120,218])}}));function se(e,t){let n=e.length;if(n===0)return new Uint8Array;if(n===1){let t=e[0];return t.constructor===Uint8Array?t:new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}if(t===void 0){let r=0;for(let t=0;t<n;t++)r+=e[t].length;t=r}let r=new Uint8Array(t),i=0;for(let t=0;t<n;t++){let n=e[t];r.set(n,i),i+=n.length}return r}var ce=n((()=>{new TextEncoder,new TextDecoder(`utf-8`,{ignoreBOM:!0})}));function le(e,t){let n=new Uint16Array(16);for(let r=0;r<t;r++)e[r]>0&&n[e[r]]++;let r=new Uint16Array(16),i=0;for(let e=1;e<=15;e++)i=i+n[e-1]<<1,r[e]=i;let a={};for(let n=0;n<t;n++){let t=e[n];if(t===0)continue;i=r[t]++;let o=a;for(let e=t-1;e>=0;e--)i>>e&1?(o.right||(o.right={}),o=o.right):(o.left||(o.left={}),o=o.left);o.symbol=n}return a}function ue(e){let t=new ke(e),n=new Uint8Array(Math.max(64,e.length*4)),r=0,i=e=>{let t=r+e;if(t<=n.length)return;let i=n.length;for(;i<t;)i*=2;let a=new Uint8Array(i);a.set(n.subarray(0,r)),n=a},a=!1;for(;!a;){a=t.readBits(1)===1;let e=t.readBits(2);if(e===0){t.alignToByte();let e=t.readUint16();if((e^t.readUint16())!==65535)throw new y(`Invalid stored block length`);i(e);for(let i=0;i<e;i++)n[r++]=t.readByte()}else if(e===1||e===2){let a,o;if(e===1)a=le(xe,288),o=le(Se,32);else{let e=t.readBits(5)+257,n=t.readBits(5)+1,r=t.readBits(4)+4,i=new Uint8Array(19);for(let e=0;e<r;e++)i[Oe[e]]=t.readBits(3);let s=le(i,19),c=new Uint8Array(e+n),l=0;for(;l<e+n;){let e=t.decodeSymbol(s);if(e<16)c[l++]=e;else if(e===16){let e=t.readBits(2)+3,n=c[l-1];for(let t=0;t<e;t++)c[l++]=n}else if(e===17){let e=t.readBits(3)+3;for(let t=0;t<e;t++)c[l++]=0}else if(e===18){let e=t.readBits(7)+11;for(let t=0;t<e;t++)c[l++]=0}}a=le(c.subarray(0,e),e),o=le(c.subarray(e),n)}for(;;){let e=t.decodeSymbol(a);if(e<256)i(1),n[r++]=e;else if(e===256)break;else{let a=e-257,s=Ce[a]+t.readBits(we[a]),c=t.decodeSymbol(o),l=Te[c]+t.readBits(Ee[c]);i(s);let u=r-l;for(let e=0;e<s;e++)n[r++]=n[u+e]}}}else throw new y(`Invalid DEFLATE block type: `+e)}return n.slice(0,r)}function de(e){let t=65535,n=Math.ceil(e.length/t)||1,r=n*5+e.length,i=new Uint8Array(r),a=0,o=0;for(let r=0;r<n;r++){let s=r===n-1,c=Math.min(t,e.length-o);i[a++]=+!!s,i[a++]=c&255,i[a++]=c>>8&255,i[a++]=~c&255,i[a++]=~c>>8&255,i.set(e.subarray(o,o+c),a),a+=c,o+=c}return i.subarray(0,a)}function fe(e){return e<=1?{maxChainLen:4,goodLen:4,niceLen:8,lazy:!1}:e<=3?{maxChainLen:8,goodLen:8,niceLen:32,lazy:!0}:e<=5?{maxChainLen:32,goodLen:16,niceLen:128,lazy:!0}:e<=7?{maxChainLen:64,goodLen:32,niceLen:258,lazy:!0}:{maxChainLen:128,goodLen:64,niceLen:258,lazy:!0}}function pe(e,t,n){return(e<<16|t<<8|n)*506832829>>>17&je}function me(e,t=6){if(e.length===0)return new Uint8Array([3,0]);if(e.length<100)return de(e);let n=fe(t),r=be(e,0,e.length,n,null),i=new Fe;return ye(i,r,!0),i.finish()}function he(e){for(let t=0;t<Ce.length;t++)if(t===Ce.length-1||e<Ce[t+1])return{code:257+t,extra:e-Ce[t],extraBits:we[t]};return{code:285,extra:0,extraBits:0}}function ge(e){for(let t=0;t<De.length;t++){let[n,r,i]=De[t];if(e<=n)return{code:r,extra:e-(t===0?1:De[t-1][0]+1),extraBits:i}}return{code:29,extra:0,extraBits:13}}function _e(e,t){let n=e.length,r=new Uint8Array(n),i=[];for(let t=0;t<n;t++)e[t]>0&&i.push({sym:t,freq:e[t]});if(i.length===0)return r;if(i.length===1)return r[i[0].sym]=1,r;i.sort((e,t)=>e.freq-t.freq||e.sym-t.sym);let a=i.map(e=>({freq:e.freq,sym:e.sym,left:null,right:null})),o=0,s=0,c=[];function l(){let e=o<a.length,t=s<c.length;return e&&t?a[o].freq<=c[s].freq?a[o++]:c[s++]:e?a[o++]:c[s++]}let u=i.length;for(let e=0;e<u-1;e++){let e=l(),t=l(),n={freq:e.freq+t.freq,sym:-1,left:e,right:t};c.push(n)}let d=c[c.length-1];function f(e,t){if(e.sym>=0){r[e.sym]=t;return}e.left&&f(e.left,t+1),e.right&&f(e.right,t+1)}f(d,0);let p=new Uint16Array(t+1);for(let e=0;e<n;e++)r[e]>0&&(r[e]>t?(p[t]++,r[e]=t):p[r[e]]++);let m=0;for(let e=1;e<=t;e++)m+=p[e]<<t-e;let h=1<<t;if(m===h)return r;for(;m>h;){let e=t-1;for(;e>0&&p[e]===0;)e--;if(e===0)break;p[e]--,p[t]++,m-=(1<<t-e)-1}for(;m<h;)p[t]++,m++;let g=[];for(let t=0;t<n;t++)r[t]>0&&g.push({sym:t,origLen:r[t],freq:e[t]});g.sort((e,t)=>t.origLen-e.origLen||e.freq-t.freq),r.fill(0);let _=0;for(let e=t;e>=1;e--)for(let t=p[e];t>0;t--)_<g.length&&(r[g[_].sym]=e,_++);return r}function ve(e){let t=e.length,n=Array(t),r=new Uint16Array(16);for(let n=0;n<t;n++)e[n]>0&&r[e[n]]++;let i=new Uint16Array(16),a=0;for(let e=1;e<=15;e++)a=a+r[e-1]<<1,i[e]=a;for(let r=0;r<t;r++){let t=e[r];t>0?n[r]=[i[t]++,t]:n[r]=[0,0]}return n}function ye(e,t,n){let r=new Uint32Array(286),i=new Uint32Array(30);r[256]=1;for(let e of t)if(e.dist===0)r[e.litOrLen]++;else{let t=he(e.litOrLen);r[t.code]++;let n=ge(e.dist);i[n.code]++}let a=_e(r,15),o=_e(i,15),s=!1;for(let e=0;e<o.length;e++)if(o[e]>0){s=!0;break}s||(o=new Uint8Array(30),o[0]=1,o[1]=1);let c=ve(a),l=ve(o),u=286;for(;u>257&&a[u-1]===0;)u--;let d=30;for(;d>1&&o[d-1]===0;)d--;let f=new Uint8Array(u+d);f.set(a.subarray(0,u)),f.set(o.subarray(0,d),u);let p=[],m=new Uint32Array(19);for(let e=0;e<f.length;){let t=f[e];if(t===0){let t=1;for(;e+t<f.length&&f[e+t]===0;)t++;for(;t>0;)if(t>=11){let n=Math.min(t,138);p.push({sym:18,extra:n-11,extraBits:7}),m[18]++,t-=n,e+=n}else if(t>=3){let n=Math.min(t,10);p.push({sym:17,extra:n-3,extraBits:3}),m[17]++,t-=n,e+=n}else p.push({sym:0,extra:0,extraBits:0}),m[0]++,t--,e++}else{p.push({sym:t,extra:0,extraBits:0}),m[t]++,e++;let n=0;for(;e+n<f.length&&f[e+n]===t;)n++;for(;n>=3;){let t=Math.min(n,6);p.push({sym:16,extra:t-3,extraBits:2}),m[16]++,n-=t,e+=t}for(;n>0;)p.push({sym:t,extra:0,extraBits:0}),m[t]++,n--,e++}}let h=_e(m,7),g=ve(h),_=19;for(;_>4&&h[Oe[_-1]]===0;)_--;e.writeBits(+!!n,1),e.writeBits(2,2),e.writeBits(u-257,5),e.writeBits(d-1,5),e.writeBits(_-4,4);for(let t=0;t<_;t++)e.writeBits(h[Oe[t]],3);for(let t of p){let[n,r]=g[t.sym];e.writeBitsReverse(n,r),t.extraBits>0&&e.writeBits(t.extra,t.extraBits)}for(let n of t)if(n.dist===0){let[t,r]=c[n.litOrLen];e.writeBitsReverse(t,r)}else{let t=he(n.litOrLen),[r,i]=c[t.code];e.writeBitsReverse(r,i),t.extraBits>0&&e.writeBits(t.extra,t.extraBits);let a=ge(n.dist),[o,s]=l[a.code];e.writeBitsReverse(o,s),a.extraBits>0&&e.writeBits(a.extra,a.extraBits)}let[v,y]=c[256];e.writeBitsReverse(v,y)}function be(e,t,n,r,i){let a=[],o=r.maxChainLen,s=r.goodLen,c=r.niceLen,l=r.lazy,u,d,f,p,m,h,g,_,v;i?(u=i.head,d=i.prev,f=i.window,p=i.windowLen,m=i.totalIn,h=i.hasPrevMatch,g=i.prevMatchLen,_=i.prevMatchDist,v=i.prevLiteral):(u=new Int32Array(Ae),d=new Int32Array(Pe),f=null,p=0,m=0,h=!1,g=0,_=0,v=0);let y=i?r=>{let i=r-m;return i>=t&&i<n?e[i]:f[r&32767]}:t=>e[t],b=i?t=>{if(t+2>=n)return;let r=pe(e[t],e[t+1],e[t+2]),i=m+t;d[i&32767]=u[r],u[r]=i+1}:t=>{if(t+2>=n)return;let r=pe(e[t],e[t+1],e[t+2]);d[t&32767]=u[r],u[r]=t+1},x=i?(t,n)=>{for(let r=0;r<n;r++)f[p+r&32767]=e[t+r];p+=n}:(e,t)=>{},S=t;for(;S<n;){let t=0,r=0;if(S+2<n){let a=pe(e[S],e[S+1],e[S+2]),f=i?m+S:S,p=l&&h&&g>=s?o>>2:o,_=u[a];for(;_>0&&p-->0;){let i=_-1,a=f-i;if(a>Pe||a<=0)break;if(t>=Me&&y(i+t)!==e[S+t]){_=d[i&32767];continue}let o=Math.min(Ne,n-S),s=0;for(;s<o&&y(i+s)===e[S+s];)s++;if(s>t&&(t=s,r=a,s>=c))break;_=d[i&32767]}i?(d[f&32767]=u[a],u[a]=f+1):(d[S&32767]=u[a],u[a]=S+1)}if(l&&h){if(t>g)a.push({litOrLen:v,dist:0}),g=t,_=r,v=e[S],x(S,1),S++;else{a.push({litOrLen:g,dist:_});let e=Math.min(S-1+g,n);for(let t=S;t<e;t++)b(t);x(S,e-S),S=e,h=!1,g=0}}else if(t>=Me){if(l)h=!0,g=t,_=r,v=e[S],x(S,1),S++;else{a.push({litOrLen:t,dist:r});let e=Math.min(S+t,n);for(let t=S+1;t<e;t++)b(t);x(S,e-S),S=e}}else h&&(a.push({litOrLen:g,dist:_}),h=!1,g=0),a.push({litOrLen:e[S],dist:0}),x(S,1),S++}if(h){a.push({litOrLen:g,dist:_});let e=Math.min(S-1+g,n);for(let t=S;t<e;t++)b(t);x(S,e-S),h=!1,g=0}return i&&(i.windowLen=p,i.totalIn=m+(n-t),i.hasPrevMatch=h,i.prevMatchLen=g,i.prevMatchDist=_,i.prevLiteral=v),a}var xe,Se,Ce,we,Te,Ee,De,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie=n((()=>{b(),ce(),xe=(()=>{let e=new Uint8Array(288);for(let t=0;t<=143;t++)e[t]=8;for(let t=144;t<=255;t++)e[t]=9;for(let t=256;t<=279;t++)e[t]=7;for(let t=280;t<=287;t++)e[t]=8;return e})(),Se=new Uint8Array(32).fill(5),Ce=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],we=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Te=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],Ee=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],De=[[1,0,0],[2,1,0],[3,2,0],[4,3,0],[6,4,1],[8,5,1],[12,6,2],[16,7,2],[24,8,3],[32,9,3],[48,10,4],[64,11,4],[96,12,5],[128,13,5],[192,14,6],[256,15,6],[384,16,7],[512,17,7],[768,18,8],[1024,19,8],[1536,20,9],[2048,21,9],[3072,22,10],[4096,23,10],[6144,24,11],[8192,25,11],[12288,26,12],[16384,27,12],[24576,28,13],[32768,29,13]],Oe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ke=class{constructor(e){this.data=e,this.pos=0,this.bitBuf=0,this.bitCount=0}readBits(e){for(;this.bitCount<e;){if(this.pos>=this.data.length)throw new y(`Unexpected end of DEFLATE data`);this.bitBuf|=this.data[this.pos++]<<this.bitCount,this.bitCount+=8}let t=this.bitBuf&(1<<e)-1;return this.bitBuf>>=e,this.bitCount-=e,t}decodeSymbol(e){let t=e;for(;t.symbol===void 0;)if(t=this.readBits(1)===0?t.left:t.right,!t)throw new y(`Invalid Huffman code`);return t.symbol}alignToByte(){this.bitBuf=0,this.bitCount=0}readByte(){if(this.pos>=this.data.length)throw new y(`Unexpected end of data`);return this.data[this.pos++]}readUint16(){return this.readByte()|this.readByte()<<8}},Ae=32768,je=32767,Me=3,Ne=258,Pe=32768,Fe=class e{constructor(){this.chunks=[],this.buffer=new Uint8Array(e.CHUNK_SIZE),this.bufLen=0,this.bitBuf=0,this.bitCount=0}static{this.CHUNK_SIZE=65536}alignToByte(){this.bitCount>0&&this.writeBits(0,8-this.bitCount)}pushByte(t){this.buffer[this.bufLen++]=t,this.bufLen>=e.CHUNK_SIZE&&(this.chunks.push(this.buffer),this.buffer=new Uint8Array(e.CHUNK_SIZE),this.bufLen=0)}writeBits(e,t){for(this.bitBuf|=e<<this.bitCount,this.bitCount+=t;this.bitCount>=8;)this.pushByte(this.bitBuf&255),this.bitBuf>>=8,this.bitCount-=8}writeBitsReverse(e,t){let n=0;for(let r=0;r<t;r++)n=n<<1|e>>r&1;this.writeBits(n,t)}finish(){return this.bitCount>0&&(this.pushByte(this.bitBuf&255),this.bitBuf=0,this.bitCount=0),this.chunks.length===0?this.buffer.slice(0,this.bufLen):(this.chunks.push(this.buffer.subarray(0,this.bufLen)),se(this.chunks))}flushBytes(){if(this.chunks.length===0&&this.bufLen===0)return new Uint8Array;let t;return this.chunks.length===0?t=this.buffer.slice(0,this.bufLen):(this.chunks.push(this.buffer.subarray(0,this.bufLen)),t=se(this.chunks),this.chunks=[]),this.buffer=new Uint8Array(e.CHUNK_SIZE),this.bufLen=0,t}}})),Le=n((()=>{}));function Re(e){return ue(e)}function ze(e,t,n){return se([C(n),e,w(x(t))])}function Be(e){let t=ee(e),n=te(e);return{deflateData:e.subarray(t,e.length-4),expectedAdler32:n}}function Ve(e,t={}){let n=t.level??6;return ze(n===0?de(e):me(e,n),e,n)}function He(e){let{deflateData:t,expectedAdler32:n}=Be(e),r=ue(t);return ne(r,n),r}var Ue=n((()=>{oe(),Ie(),Le(),ce(),new Uint8Array([31,139,8,0,0,0,0,0,0,255])}));function We(e){if(e.length<8||e[0]!==137||e[1]!==80||e[2]!==78||e[3]!==71)throw Error(`Invalid PNG signature`);let t=8,n=0,r=0,i=0,a=0,o=[],s=null,c=null;for(;t+8<=e.length;){let l=new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(t,!1),u=String.fromCharCode(e[t+4],e[t+5],e[t+6],e[t+7]),d=e.subarray(t+8,t+8+l);switch(t+=8+l+4,u){case`IHDR`:{let e=new DataView(d.buffer,d.byteOffset,d.byteLength);if(n=e.getUint32(0,!1),r=e.getUint32(4,!1),i=d[8],a=d[9],d[12]!==0)throw Error(`Interlaced PNG is not supported`);if(i!==8)throw Error(`Unsupported PNG bit depth: ${i}. Only 8-bit PNGs are supported.`);if(n===0||r===0)throw Error(`Invalid PNG dimensions: ${n}x${r}`);let t=n*r;if(t>Ye)throw Error(`PNG dimensions too large: ${n}x${r} (${t} pixels). Maximum allowed: ${Ye} pixels.`);break}case`PLTE`:s=new Uint8Array(d);break;case`tRNS`:c=new Uint8Array(d);break;case`IDAT`:o.push(d)}}if(n===0||r===0)throw Error(`PNG missing IHDR chunk`);let l=se(o),u;u=l.length>6&&(l[0]&15)==8?l.subarray(2,l.length-4):l;let d=Re(u),f=qe(a),p=Math.max(1,f*i/8),m=Math.ceil(n*f*i/8);return Je(Ge(d,n,r,m,p),n,r,a,i,s,c)}function Ge(e,t,n,r,i){let a=new Uint8Array(n*r),o=Math.max(1,Math.floor(i)),s=0;for(let t=0;t<n;t++){let n=e[s++],i=t*r,c=t>0?(t-1)*r:-1;for(let t=0;t<r;t++){let r=e[s++]??0,l=t>=o?a[i+t-o]:0,u=c>=0?a[c+t]:0,d=c>=0&&t>=o?a[c+t-o]:0;switch(n){case 0:a[i+t]=r;break;case 1:a[i+t]=r+l&255;break;case 2:a[i+t]=r+u&255;break;case 3:a[i+t]=r+Math.floor((l+u)/2)&255;break;case 4:a[i+t]=r+Ke(l,u,d)&255;break;default:a[i+t]=r}}}return a}function Ke(e,t,n){let r=e+t-n,i=Math.abs(r-e),a=Math.abs(r-t),o=Math.abs(r-n);return i<=a&&i<=o?e:a<=o?t:n}function qe(e){switch(e){case 0:return 1;case 2:return 3;case 3:return 1;case 4:return 2;case 6:return 4;default:return 3}}function Je(e,t,n,r,i,a,o){let s=t*n,c=new Uint8Array(s*3),l=null;switch(r){case 2:if(c.set(e.subarray(0,s*3)),o&&o.length>=6){let t=o[1],n=o[3],r=o[5];l=new Uint8Array(s),l.fill(255);for(let i=0;i<s;i++)e[i*3]===t&&e[i*3+1]===n&&e[i*3+2]===r&&(l[i]=0)}break;case 6:l=new Uint8Array(s);for(let t=0;t<s;t++)c[t*3]=e[t*4],c[t*3+1]=e[t*4+1],c[t*3+2]=e[t*4+2],l[t]=e[t*4+3];break;case 0:{let t=-1;o&&o.length>=2&&(t=o[1]),t>=0&&(l=new Uint8Array(s),l.fill(255));for(let n=0;n<s;n++){let r=e[n];c[n*3]=r,c[n*3+1]=r,c[n*3+2]=r,l&&r===t&&(l[n]=0)}break}case 4:l=new Uint8Array(s);for(let t=0;t<s;t++){let n=e[t*2];c[t*3]=n,c[t*3+1]=n,c[t*3+2]=n,l[t]=e[t*2+1]}break;case 3:if(!a)throw Error(`PNG palette color type (3) but missing PLTE chunk`);o&&o.length>0&&(l=new Uint8Array(s));for(let t=0;t<s;t++){let n=e[t];c[t*3]=a[n*3]??0,c[t*3+1]=a[n*3+1]??0,c[t*3+2]=a[n*3+2]??0,l&&(l[t]=n<o.length?o[n]:255)}break;default:throw Error(`Unsupported PNG color type: ${r}`)}if(l){let e=!0;for(let t=0;t<l.length;t++)if(l[t]!==255){e=!1;break}e&&(l=null)}return{width:t,height:n,pixels:c,alpha:l,bitsPerComponent:8}}var Ye,Xe=n((()=>{Ue(),ce(),Ye=1e8}));function Ze(e,t){return t===`png`?Qe(e):$e(e)}function Qe(e){return e.length>=24&&e[12]===73&&e[13]===72&&e[14]===68&&e[15]===82?{width:e[16]<<24|e[17]<<16|e[18]<<8|e[19],height:e[20]<<24|e[21]<<16|e[22]<<8|e[23]}:{width:1,height:1}}function $e(e){let t=2;for(;t<e.length-1;){for(;t<e.length&&e[t]===255&&e[t+1]===255;)t++;if(t>=e.length-1||e[t]!==255)break;let n=e[t+1];if(n>=192&&n<=207&&n!==196&&n!==200&&n!==204&&t+8<e.length)return{width:e[t+7]<<8|e[t+8],height:e[t+5]<<8|e[t+6]};if(t+3>=e.length)break;let r=e[t+2]<<8|e[t+3];t+=2+r}return{width:1,height:1}}function et(e,t,n,r=!1){return n===`png`?it(e,t,r):nt(e,t,r)}function tt(e){let t=e.allocObject(),n=new p().set(`FunctionType`,`4`).set(`Domain`,`[0 1 0 1 0 1]`).set(`Range`,`[0 1]`);return e.addStreamObject(t,n,new TextEncoder().encode(`{ 0.114 mul exch 0.587 mul add exch 0.299 mul add }`)),t}function nt(e,t,n=!1){let r=$e(t),i=n?tt(e):void 0,a=e.allocObject(),o=new p().set(`Type`,`/XObject`).set(`Subtype`,`/Image`).set(`Width`,s(r.width)).set(`Height`,s(r.height)).set(`ColorSpace`,i===void 0?`/DeviceRGB`:`[/DeviceN [/C1 /C2 /C3] /DeviceGray ${l(i)}]`).set(`BitsPerComponent`,`8`).set(`Filter`,`/DCTDecode`);return e.addStreamObject(a,o,t),a}function rt(e,t,n){return Math.round(.299*e+.587*t+.114*n)}function it(e,t,n=!1){let r=We(t),i=e.allocObject(),a=r.pixels;if(n){let e=new Uint8Array(r.width*r.height);for(let t=0,n=0;t<e.length;t++,n+=3)e[t]=rt(a[n],a[n+1],a[n+2]);a=e}let o=new p().set(`Type`,`/XObject`).set(`Subtype`,`/Image`).set(`Width`,s(r.width)).set(`Height`,s(r.height)).set(`ColorSpace`,n?`/DeviceGray`:`/DeviceRGB`).set(`BitsPerComponent`,s(r.bitsPerComponent));if(r.alpha){let t=e.allocObject(),n=new p().set(`Type`,`/XObject`).set(`Subtype`,`/Image`).set(`Width`,s(r.width)).set(`Height`,s(r.height)).set(`ColorSpace`,`/DeviceGray`).set(`BitsPerComponent`,`8`);e.addStreamObject(t,n,r.alpha),o.set(`SMask`,l(t))}return e.addStreamObject(i,o,a),i}var at=n((()=>{m(),Xe()}));function ot(e){return e<128?e<<1:e<<1^283}function st(e,t){let n=0,r=e,i=t;for(;i>0;)i&1&&(n^=r),r=ot(r),i>>=1;return n}function ct(e){let t=e.length/4,n=t+6,r=[];for(let n=0;n<t;n++)r.push(new Uint8Array([e[4*n],e[4*n+1],e[4*n+2],e[4*n+3]]));for(let e=t;e<4*(n+1);e++){let n=new Uint8Array(r[e-1]);if(e%t===0){let r=n[0];n[0]=Tt[n[1]]^Dt[e/t-1],n[1]=Tt[n[2]],n[2]=Tt[n[3]],n[3]=Tt[r]}else t>6&&e%t===4&&(n[0]=Tt[n[0]],n[1]=Tt[n[1]],n[2]=Tt[n[2]],n[3]=Tt[n[3]]);let i=new Uint8Array(4);for(let a=0;a<4;a++)i[a]=r[e-t][a]^n[a];r.push(i)}return r}function lt(e,t){let n=t.length/4-1,r=new Uint8Array(16);r.set(e);for(let e=0;e<4;e++)for(let n=0;n<4;n++)r[4*e+n]^=t[e][n];for(let e=1;e<n;e++){for(let e=0;e<16;e++)r[e]=Tt[r[e]];let n;n=r[1],r[1]=r[5],r[5]=r[9],r[9]=r[13],r[13]=n,n=r[2],r[2]=r[10],r[10]=n,n=r[6],r[6]=r[14],r[14]=n,n=r[15],r[15]=r[11],r[11]=r[7],r[7]=r[3],r[3]=n;for(let e=0;e<4;e++){let t=r[4*e],n=r[4*e+1],i=r[4*e+2],a=r[4*e+3];r[4*e]=ot(t)^ot(n)^n^i^a,r[4*e+1]=t^ot(n)^ot(i)^i^a,r[4*e+2]=t^n^ot(i)^ot(a)^a,r[4*e+3]=ot(t)^t^n^i^ot(a)}let i=e*4;for(let e=0;e<4;e++)for(let n=0;n<4;n++)r[4*e+n]^=t[i+e][n]}for(let e=0;e<16;e++)r[e]=Tt[r[e]];let i;i=r[1],r[1]=r[5],r[5]=r[9],r[9]=r[13],r[13]=i,i=r[2],r[2]=r[10],r[10]=i,i=r[6],r[6]=r[14],r[14]=i,i=r[15],r[15]=r[11],r[11]=r[7],r[7]=r[3],r[3]=i;for(let e=0;e<4;e++)for(let i=0;i<4;i++)r[4*e+i]^=t[n*4+e][i];return r}function ut(e,t){let n=t.length/4-1,r=new Uint8Array(16);r.set(e);for(let e=0;e<4;e++)for(let i=0;i<4;i++)r[4*e+i]^=t[n*4+e][i];for(let e=n-1;e>=1;e--){let n;n=r[13],r[13]=r[9],r[9]=r[5],r[5]=r[1],r[1]=n,n=r[2],r[2]=r[10],r[10]=n,n=r[6],r[6]=r[14],r[14]=n,n=r[3],r[3]=r[7],r[7]=r[11],r[11]=r[15],r[15]=n;for(let e=0;e<16;e++)r[e]=Et[r[e]];let i=e*4;for(let e=0;e<4;e++)for(let n=0;n<4;n++)r[4*e+n]^=t[i+e][n];for(let e=0;e<4;e++){let t=r[4*e],n=r[4*e+1],i=r[4*e+2],a=r[4*e+3];r[4*e]=st(t,14)^st(n,11)^st(i,13)^st(a,9),r[4*e+1]=st(t,9)^st(n,14)^st(i,11)^st(a,13),r[4*e+2]=st(t,13)^st(n,9)^st(i,14)^st(a,11),r[4*e+3]=st(t,11)^st(n,13)^st(i,9)^st(a,14)}}let i;i=r[13],r[13]=r[9],r[9]=r[5],r[5]=r[1],r[1]=i,i=r[2],r[2]=r[10],r[10]=i,i=r[6],r[6]=r[14],r[14]=i,i=r[3],r[3]=r[7],r[7]=r[11],r[11]=r[15],r[15]=i;for(let e=0;e<16;e++)r[e]=Et[r[e]];for(let e=0;e<4;e++)for(let n=0;n<4;n++)r[4*e+n]^=t[e][n];return r}function dt(e,t,n){let r=16-e.length%16,i=new Uint8Array(e.length+r);i.set(e);for(let t=e.length;t<i.length;t++)i[t]=r;let a=ct(t),o=i.length/16,s=new Uint8Array(i.length),c=n;for(let e=0;e<o;e++){let t=new Uint8Array(16);for(let n=0;n<16;n++)t[n]=i[e*16+n]^c[n];let n=lt(t,a);s.set(n,e*16),c=n}return s}function ft(e,t,n){let r=ct(t),i=e.length/16,a=new Uint8Array(e.length),o=n;for(let t=0;t<i;t++){let n=e.subarray(t*16,(t+1)*16),i=ut(n,r);for(let e=0;e<16;e++)a[t*16+e]=i[e]^o[e];o=n}if(a.length>0){let e=a[a.length-1];if(e>0&&e<=16){let t=!0;for(let n=0;n<e;n++)if(a[a.length-1-n]!==e){t=!1;break}if(t)return a.subarray(0,a.length-e)}}return a}function pt(e,t,n){let r=ct(t),i=e.length/16,a=new Uint8Array(e.length),o=n;for(let t=0;t<i;t++){let n=e.subarray(t*16,(t+1)*16),i=ut(n,r);for(let e=0;e<16;e++)a[t*16+e]=i[e]^o[e];o=n}return a}function mt(e,t,n){if(e.length%16!=0)throw Error(`aesCbcEncryptRaw: plaintext length must be a multiple of 16`);let r=ct(t),i=e.length/16,a=new Uint8Array(e.length),o=n;for(let t=0;t<i;t++){let n=new Uint8Array(16);for(let r=0;r<16;r++)n[r]=e[t*16+r]^o[r];let i=lt(n,r);a.set(i,t*16),o=i}return a}function ht(e,t){return lt(e,ct(t))}function gt(e,t){return(e>>>t|e<<32-t)>>>0}function _t(e){let t=e.length,n=Math.ceil((t+9)/64)*64,r=new Uint8Array(n);r.set(e),r[t]=128;let i=t*8,a=new DataView(r.buffer,r.byteOffset,r.byteLength);a.setUint32(n-8,0,!1),a.setUint32(n-4,i,!1);let o=Ot[0],s=Ot[1],c=Ot[2],l=Ot[3],u=Ot[4],d=Ot[5],f=Ot[6],p=Ot[7],m=new Uint32Array(64);for(let e=0;e<n;e+=64){for(let t=0;t<16;t++)m[t]=a.getUint32(e+t*4,!1);for(let e=16;e<64;e++){let t=gt(m[e-15],7)^gt(m[e-15],18)^m[e-15]>>>3,n=gt(m[e-2],17)^gt(m[e-2],19)^m[e-2]>>>10;m[e]=m[e-16]+t+m[e-7]+n>>>0}let t=o,n=s,r=c,i=l,h=u,g=d,_=f,v=p;for(let e=0;e<64;e++){let a=gt(h,6)^gt(h,11)^gt(h,25),o=h&g^~h&_,s=v+a+o+kt[e]+m[e]>>>0,c=(gt(t,2)^gt(t,13)^gt(t,22))+(t&n^t&r^n&r)>>>0;v=_,_=g,g=h,h=i+s>>>0,i=r,r=n,n=t,t=s+c>>>0}o=o+t>>>0,s=s+n>>>0,c=c+r>>>0,l=l+i>>>0,u=u+h>>>0,d=d+g>>>0,f=f+_>>>0,p=p+v>>>0}let h=new Uint8Array(32),g=new DataView(h.buffer);return g.setUint32(0,o,!1),g.setUint32(4,s,!1),g.setUint32(8,c,!1),g.setUint32(12,l,!1),g.setUint32(16,u,!1),g.setUint32(20,d,!1),g.setUint32(24,f,!1),g.setUint32(28,p,!1),h}function vt(e,t){return(e<<t|e>>>32-t)>>>0}function yt(e){let t=e.length,n=t*8,r=(56-(t+1)%64+64)%64+1,i=new Uint8Array(t+r+8);i.set(e),i[t]=128;let a=new DataView(i.buffer);a.setUint32(i.length-8,n>>>0,!0),a.setUint32(i.length-4,0,!0);let o=1732584193,s=4023233417,c=2562383102,l=271733878;for(let e=0;e<i.length;e+=64){let t=new Uint32Array(16);for(let n=0;n<16;n++)t[n]=a.getUint32(e+n*4,!0);let n=o,r=s,i=c,u=l;for(let e=0;e<64;e++){let a,o;e<16?(a=r&i|~r&u,o=e):e<32?(a=u&r|~u&i,o=(5*e+1)%16):e<48?(a=r^i^u,o=(3*e+5)%16):(a=i^(r|~u),o=7*e%16),a=a+n+jt[e]+t[o]>>>0,n=u,u=i,i=r,r=r+vt(a,At[e])>>>0}o=o+n>>>0,s=s+r>>>0,c=c+i>>>0,l=l+u>>>0}let u=new Uint8Array(16),d=new DataView(u.buffer);return d.setUint32(0,o,!0),d.setUint32(4,s,!0),d.setUint32(8,c,!0),d.setUint32(12,l,!0),u}function bt(e,t){let n=new Uint8Array(256);for(let e=0;e<256;e++)n[e]=e;let r=0;for(let t=0;t<256;t++)r=r+n[t]+e[t%e.length]&255,[n[t],n[r]]=[n[r],n[t]];let i=new Uint8Array(t.length),a=0,o=0;for(let e=0;e<t.length;e++)a=a+1&255,o=o+n[a]&255,[n[a],n[o]]=[n[o],n[a]],i[e]=t[e]^n[n[a]+n[o]&255];return i}function xt(e){let t=new Uint8Array(e);return globalThis.crypto.getRandomValues(t),t}function St(e,t){let n=e.toLowerCase().replace(/-/g,``);if(n===`sha256`)return _t(t);if(n===`md5`)return yt(t);throw Error(`hash: unsupported algorithm "${e}" in browser sync mode. Use hashAsync() for other algorithms.`)}async function Ct(e,t,n){let r=await globalThis.crypto.subtle.importKey(`spki`,e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength),{name:`RSASSA-PKCS1-v1_5`,hash:`SHA-256`},!1,[`verify`]);return globalThis.crypto.subtle.verify(`RSASSA-PKCS1-v1_5`,r,t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength),n.buffer.slice(n.byteOffset,n.byteOffset+n.byteLength))}async function wt(e,t){let n=await globalThis.crypto.subtle.importKey(`pkcs8`,e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength),{name:`RSASSA-PKCS1-v1_5`,hash:`SHA-256`},!1,[`sign`]),r=await globalThis.crypto.subtle.sign(`RSASSA-PKCS1-v1_5`,n,t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));return new Uint8Array(r)}var Tt,Et,Dt,Ot,kt,At,jt,Mt=n((()=>{Tt=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]),Et=(()=>{let e=new Uint8Array(256);for(let t=0;t<256;t++)e[Tt[t]]=t;return e})(),Dt=[1,2,4,8,16,32,64,128,27,54],Ot=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),kt=new Uint32Array([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]),At=[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],jt=new Uint32Array([3614090360,3905402710,606105819,3250441966,4118548399,1200080426,2821735955,4249261313,1770035416,2336552879,4294925233,2304563134,1804603682,4254626195,2792965006,1236535329,4129170786,3225465664,643717713,3921069994,3593408605,38016083,3634488961,3889429448,568446438,3275163606,4107603335,1163531501,2850285829,4243563512,1735328473,2368359562,4294588738,2272392833,1839030562,4259657740,2763975236,1272893353,4139469664,3200236656,681279174,3936430074,3572445317,76029189,3654602809,3873151461,530742520,3299628645,4096336452,1126891415,2878612391,4237533241,1700485571,2399980690,4293915773,2240044497,1873313359,4264355552,2734768916,1309151649,4149444226,3174756917,718787259,3951481745])}));function Nt(e){return yt(e)}function Pt(e){return _t(e)}var Ft=n((()=>{Mt()}));function It(e){let t=Rt(e.userPassword??``),n=Rt(e.ownerPassword),r=zt(e.permissions),i=xt(32),a=xt(8),o=xt(8),s=xt(8),c=xt(8),l=se([Pt(se([t,a])),a,o]),u=Pt(se([t,o])),d=new Uint8Array(16),f=mt(i,u,d),p=se([Pt(se([n,s,l])),s,c]),m=mt(i,Pt(se([n,c,l])),d),h=new Uint8Array(16);return new DataView(h.buffer).setInt32(0,r,!0),h[4]=255,h[5]=255,h[6]=255,h[7]=255,h[8]=84,h[9]=97,h[10]=100,h[11]=98,{encryptionKey:i,oValue:p,uValue:l,oeValue:m,ueValue:f,permsValue:ht(h,i),permissions:r,fileId:xt(16)}}function Lt(e,t,n,r){let i=xt(16),a=dt(e,r,i),o=new Uint8Array(16+a.length);return o.set(i),o.set(a,16),o}function Rt(e){let t=new TextEncoder().encode(e);return t.length>127?t.subarray(0,127):t}function zt(e){let t=-3904;return e?.print&&(t|=4),e?.modify&&(t|=8),e?.copy&&(t|=16),e?.annotate&&(t|=32),e?.fillForms&&(t|=256),e?.accessibility&&(t|=512),e?.assemble&&(t|=1024),e?.printHighQuality&&(t|=2048),t|0}var Bt=n((()=>{Ft(),ce(),Mt()}));function Vt(e){return e.replace(/\\/g,`\\\\`).replace(/\(/g,`\\(`).replace(/\)/g,`\\)`).replace(/\r\n/g,`\\n`).replace(/\r/g,`\\n`).replace(/\n/g,`\\n`)}function Ht(e){for(let t=0;t<e.length;t++)if(e.charCodeAt(t)>127)return!0;return!1}function Ut(e){if(e<128||e>=160&&e<=255)return e;let t=qt.get(e);return t===void 0?32:t}function Wt(e){return e<128||e>=160&&e<=255||qt.has(e)}function Gt(e){for(let t=0;t<e.length;t++){let n=e.codePointAt(t);if(n>65535&&t++,!Wt(n))return!0}return!1}var Kt,qt,Jt=n((()=>{m(),Kt=class{constructor(){this.parts=[]}raw(e){return this.parts.push(e),this}deferred(e){return this.parts.push(e),this}append(e){return this.parts.push(...e.parts),this}save(){return this.parts.push(`q`),this}restore(){return this.parts.push(`Q`),this}setGraphicsState(e){return this.parts.push(`/${e} gs`),this}setStrokeColor(e){return this.parts.push(`${s(e.r)} ${s(e.g)} ${s(e.b)} RG`),this}setFillColor(e){return this.parts.push(`${s(e.r)} ${s(e.g)} ${s(e.b)} rg`),this}setLineWidth(e){return this.parts.push(`${s(e)} w`),this}setDashPattern(e,t=0){let n=e.map(s).join(` `);return this.parts.push(`[${n}] ${s(t)} d`),this}setLineCap(e){return this.parts.push(`${e} J`),this}setLineJoin(e){return this.parts.push(`${e} j`),this}moveTo(e,t){return this.parts.push(`${s(e)} ${s(t)} m`),this}lineTo(e,t){return this.parts.push(`${s(e)} ${s(t)} l`),this}rect(e,t,n,r){return this.parts.push(`${s(e)} ${s(t)} ${s(n)} ${s(r)} re`),this}curveTo(e,t,n,r,i,a){return this.parts.push(`${s(e)} ${s(t)} ${s(n)} ${s(r)} ${s(i)} ${s(a)} c`),this}curveToV(e,t,n,r){return this.parts.push(`${s(e)} ${s(t)} ${s(n)} ${s(r)} v`),this}curveToY(e,t,n,r){return this.parts.push(`${s(e)} ${s(t)} ${s(n)} ${s(r)} y`),this}stroke(){return this.parts.push(`S`),this}fill(){return this.parts.push(`f`),this}fillAndStroke(){return this.parts.push(`B`),this}closePath(){return this.parts.push(`h`),this}endPath(){return this.parts.push(`n`),this}clip(){return this.parts.push(`W`),this}beginText(){return this.parts.push(`BT`),this}endText(){return this.parts.push(`ET`),this}setFont(e,t){return this.parts.push(`/${e} ${s(t)} Tf`),this}setTextMatrix(e,t,n,r,i,a){return this.parts.push(`${s(e)} ${s(t)} ${s(n)} ${s(r)} ${s(i)} ${s(a)} Tm`),this}moveText(e,t){return this.parts.push(`${s(e)} ${s(t)} Td`),this}setTextLeading(e){return this.parts.push(`${s(e)} TL`),this}showText(e){return Ht(e)?this.showTextWinAnsi(e):(this.parts.push(`(${Vt(e)}) Tj`),this)}showTextWinAnsi(e){let t=`<`;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++;let i=Ut(r);t+=i.toString(16).padStart(2,`0`)}return t+=`>`,this.parts.push(`${t} Tj`),this}showTextHex(e){return this.parts.push(`${e} Tj`),this}nextLineShowText(e){if(Ht(e)){let t=`<`;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++;let i=Ut(r);t+=i.toString(16).padStart(2,`0`)}return t+=`>`,this.parts.push(`${t} '`),this}return this.parts.push(`(${Vt(e)}) '`),this}setTextRise(e){return this.parts.push(`${s(e)} Ts`),this}setTextRenderingMode(e){return this.parts.push(`${e} Tr`),this}setCharacterSpacing(e){return this.parts.push(`${s(e)} Tc`),this}setWordSpacing(e){return this.parts.push(`${s(e)} Tw`),this}drawImage(e,t,n,r,i){return this.save().concat(r,0,0,i,t,n).doXObject(e).restore()}concat(e,t,n,r,i,a){return this.parts.push(`${s(e)} ${s(t)} ${s(n)} ${s(r)} ${s(i)} ${s(a)} cm`),this}doXObject(e){return this.parts.push(`/${e} Do`),this}fillRect(e,t,n,r,i){return this.save().setFillColor(i).rect(e,t,n,r).fill().restore()}drawLine(e,t,n,r,i,a,o=[]){return this.save().setStrokeColor(i).setLineWidth(a),o.length>0&&this.setDashPattern(o),this.moveTo(e,t).lineTo(n,r).stroke().restore()}ellipse(e,t,n,r){let i=.5522847,a=i*n,o=i*r;return this.moveTo(e+n,t),this.curveTo(e+n,t+o,e+a,t+r,e,t+r),this.curveTo(e-a,t+r,e-n,t+o,e-n,t),this.curveTo(e-n,t-o,e-a,t-r,e,t-r),this.curveTo(e+a,t-r,e+n,t-o,e+n,t),this}circle(e,t,n){return this.ellipse(e,t,n,n)}roundedRect(e,t,n,r,i){let a=.5522847*i;return this.moveTo(e+i,t),this.lineTo(e+n-i,t),this.curveTo(e+n-i+a,t,e+n,t+i-a,e+n,t+i),this.lineTo(e+n,t+r-i),this.curveTo(e+n,t+r-i+a,e+n-i+a,t+r,e+n-i,t+r),this.lineTo(e+i,t+r),this.curveTo(e+i-a,t+r,e,t+r-i+a,e,t+r-i),this.lineTo(e,t+i),this.curveTo(e,t+i-a,e+i-a,t,e+i,t),this}hasContent(){return this.parts.length>0}toString(){let e=[];for(let t of this.parts)e.push(typeof t==`function`?t():t);return e.join(`
|
|
9
|
+
`)}toUint8Array(){return new TextEncoder().encode(this.toString())}},qt=new Map([[8364,128],[8218,130],[402,131],[8222,132],[8230,133],[8224,134],[8225,135],[710,136],[8240,137],[352,138],[8249,139],[338,140],[381,142],[8216,145],[8217,146],[8220,147],[8221,148],[8226,149],[8211,150],[8212,151],[732,152],[8482,153],[353,154],[8250,155],[339,156],[382,158],[376,159]])}));function Yt(e){return e instanceof Xt}var Xt,Zt,Qt,T,$t=n((()=>{v(),Xt=class extends _{constructor(...e){super(...e),this.name=`PdfError`}},Zt=class extends Xt{constructor(...e){super(...e),this.name=`PdfRenderError`}},Qt=class extends Xt{constructor(...e){super(...e),this.name=`PdfFontError`}},T=class extends Xt{constructor(...e){super(...e),this.name=`PdfStructureError`}}}));function en(e,t,n,r){let i=new TextEncoder,o=[],s=0;for(;s<e.length;)if(e[s]===`(`){let c=s;s++;let l=``,u=1;for(;s<e.length&&u>0;){let t=e[s];t===`\\`?(l+=e[s]+(e[s+1]??``),s+=2):t===`(`?(u++,l+=t,s++):t===`)`?(u--,u>0&&(l+=t),s++):(l+=t,s++)}if(u!==0){o.push(e.slice(c,s));continue}let d=tn(l),f=Lt(i.encode(d),t,n,r);o.push(a(f))}else if(e[s]===`<`&&e[s+1]===`<`)o.push(`<<`),s+=2;else if(e[s]===`>`&&e[s+1]===`>`)o.push(`>>`),s+=2;else if(e[s]===`<`){s++;let i=``;for(;s<e.length&&e[s]!==`>`;)i+=e[s],s++;s<e.length&&s++;let c=i.replace(/\s/g,``);if(c.length===0){o.push(`<>`);continue}let l=new Uint8Array(Math.ceil(c.length/2));for(let e=0;e<l.length;e++)l[e]=parseInt(c.substring(e*2,e*2+2).padEnd(2,`0`),16);let u=Lt(l,t,n,r);o.push(a(u))}else o.push(e[s]),s++;return o.join(``)}function tn(e){let t=``;for(let n=0;n<e.length;n++){let r=e[n];if(r!==`\\`){t+=r;continue}let i=e[n+1];if(i===void 0){t+=`\\`;break}switch(i){case`n`:t+=`
|
|
10
|
+
`;break;case`r`:t+=`\r`;break;case`t`:t+=` `;break;case`(`:t+=`(`;break;case`)`:t+=`)`;break;case`\\`:t+=`\\`;break;default:t+=i}n++}return t}function nn(e,t,n){if(t.size===0)return e;let r=new TextEncoder,i=rn(e),a=an(e),o=a.get(`Size`)??`0`,c=parseInt(o,10)-1;for(let e of t.keys())e>c&&(c=e);let l=c+1,u=[],d=e.length,f=r.encode(`
|
|
11
11
|
`);u.push(f),d+=f.length;let p=[...t.entries()].sort((e,t)=>e[0]-t[0]),m=new Map;for(let[e,t]of p){m.set(e,d);let n=r.encode(`${e} 0 obj\n`);if(u.push(n),d+=n.length,typeof t==`string`){let e=r.encode(t+`
|
|
12
12
|
`);u.push(e),d+=e.length}else{let e=t.data,n=t.dict;if(e.length>256&&!n.toString().includes(`/Filter`)){let t=Ve(e,{level:6});t.length<e.length&&(n.set(`Filter`,`/FlateDecode`),e=t)}n.set(`Length`,s(e.length));let i=r.encode(n.toString()+`
|
|
13
13
|
`);u.push(i),d+=i.length;let a=r.encode(`stream
|
|
@@ -20,7 +20,7 @@ endstream
|
|
|
20
20
|
`;b+=`/Size ${l}\n`;for(let e of[`Root`,`Info`,`Encrypt`,`ID`])n.has(e)?b+=`/${e} ${n.get(e)}\n`:a.has(e)&&(b+=`/${e} ${a.get(e)}\n`);for(let[e,t]of n)e!==`Root`&&e!==`Info`&&e!==`Encrypt`&&e!==`ID`&&e!==`Size`&&(b+=`/${e} ${t}\n`);b+=`/Prev ${i}\n`,b+=`>>
|
|
21
21
|
`,b+=`startxref
|
|
22
22
|
`,b+=`${h}\n`,b+=`%%EOF
|
|
23
|
-
`;let x=r.encode(b);return u.push(x),se([e,...u])}function
|
|
23
|
+
`;let x=r.encode(b);return u.push(x),se([e,...u])}function rn(e){let t=new TextDecoder(`latin1`),n=Math.max(0,e.length-1024),r=t.decode(e.subarray(n)),i=r.lastIndexOf(`startxref`);if(i<0)throw new T(`Could not find startxref in original PDF`);let a=r.substring(i+9).trim().match(/^(\d+)/);if(!a)throw new T(`Invalid startxref offset in original PDF`);return parseInt(a[1],10)}function an(e){let t=new Map,n=new TextDecoder(`latin1`).decode(e),r=n.lastIndexOf(`trailer`);if(r<0)return t;let i=n.substring(r+7),a=i.indexOf(`<<`);if(a<0)return t;let o=0,s=-1;for(let e=a;e<i.length-1;e++)if(i[e]===`<`&&i[e+1]===`<`)o++,e++;else if(i[e]===`>`&&i[e+1]===`>`&&(o--,e++,o===0)){s=e+1;break}if(s<0)return t;let c=i.substring(a,s);for(let e of[`Root`,`Info`,`Encrypt`,`ID`,`Size`]){let n=RegExp(`/${e}\\s+(.+?)(?=\\s*/[A-Z]|\\s*>>)`,`s`),r=c.match(n);r&&t.set(e,r[1].trim())}return t}var on,sn=n((()=>{Ue(),Bt(),m(),$t(),ce(),on=class{constructor(){this.nextObjectNumber=1,this.objects=[],this.catalogRef=0,this.infoRef=0,this.encryption=null,this.pdfVersion=`2.0`}setVersion(e){this.pdfVersion=e}setEncryption(e){this.encryption=e}allocObject(){return this.nextObjectNumber++}addObject(e,t){this.objects.push({objectNumber:e,offset:0,content:typeof t==`string`?t:t.toString()})}addStreamObject(e,t,n,r){let i=n instanceof Uint8Array?n:n.toUint8Array();if((r?.compress??!0)&&i.length>256&&!t.toString().includes(`/Filter`)){let e=Ve(i,{level:6});e.length<i.length&&(t.set(`Filter`,`/FlateDecode`),i=e)}t.set(`Length`,s(i.length)),this.objects.push({objectNumber:e,offset:0,content:t.toString(),streamData:i})}getObjects(){return this.objects.map(e=>{let t={objectNumber:e.objectNumber,content:e.content};return`streamData`in e&&(t.streamData=e.streamData),t})}setCatalog(e){this.catalogRef=e}addInfoDict(e){let t=this.allocObject(),n=new p;return e.title&&n.set(`Title`,i(e.title)),e.author&&n.set(`Author`,i(e.author)),e.subject&&n.set(`Subject`,i(e.subject)),e.creator&&n.set(`Creator`,i(e.creator)),n.set(`Producer`,i(`documonster`)),n.set(`CreationDate`,u(new Date)),this.addObject(t,n),this.infoRef=t,t}addPage(e){let t=this.allocObject(),n=`[0 0 ${s(e.width)} ${s(e.height)}]`,r=typeof e.contentsRef==`string`?e.contentsRef:l(e.contentsRef),i=new p().set(`Type`,`/Page`).set(`Parent`,l(e.parentRef)).set(`MediaBox`,n).set(`Contents`,r).set(`Resources`,l(e.resourcesRef));return e.transparencyGroup&&i.set(`Group`,`<< /S /Transparency /CS /DeviceRGB /I false /K false >>`),e.annotRefs&&e.annotRefs.length>0&&i.set(`Annots`,`[`+e.annotRefs.map(e=>l(e)).join(` `)+`]`),this.addObject(t,i),t}addCatalog(e,t){let n=typeof t==`number`?{outlinesRef:t}:t??{},r=this.allocObject(),i=new p().set(`Type`,`/Catalog`).set(`Pages`,l(e));if(n.outlinesRef&&(i.set(`Outlines`,l(n.outlinesRef)),i.set(`PageMode`,`/UseOutlines`)),n.extraEntries)for(let[e,t]of n.extraEntries)i.set(e,t);return this.addObject(r,i),this.setCatalog(r),r}build(){if(this.catalogRef===0)throw new T(`No catalog object set. Call addCatalog() before build().`);let e=new TextEncoder,t=[],n=0,r=`%PDF-${this.pdfVersion}\n`,i=e.encode(r);t.push(i),n+=i.length;let o=new Uint8Array([37,226,227,207,211,10]);t.push(o),n+=o.length,this.objects.sort((e,t)=>e.objectNumber-t.objectNumber);let s=this.encryption?this.allocObject():0;for(let r of this.objects){r.offset=n;let i=`${r.objectNumber} 0 obj\n`,a=e.encode(i);t.push(a),n+=a.length;let o=r.content;this.encryption&&r.objectNumber!==s&&(o=en(o,r.objectNumber,0,this.encryption.encryptionKey));let c=null;`streamData`in r&&r.streamData&&(c=r.streamData,this.encryption&&r.objectNumber!==s&&(c=Lt(c,r.objectNumber,0,this.encryption.encryptionKey),o=o.replace(/\/Length \d+/,`/Length ${c.length}`)));let l=e.encode(o+`
|
|
24
24
|
`);if(t.push(l),n+=l.length,c){let r=e.encode(`stream
|
|
25
25
|
`);t.push(r),n+=r.length,t.push(c),n+=c.length;let i=e.encode(`
|
|
26
26
|
endstream
|
|
@@ -34,33 +34,34 @@ endstream
|
|
|
34
34
|
`;y+=`/Size ${d+1}\n`,y+=`/Root ${l(this.catalogRef)}\n`,this.infoRef>0&&(y+=`/Info ${l(this.infoRef)}\n`),s>0&&(y+=`/Encrypt ${l(s)}\n`,y+=`/ID [${a(this.encryption.fileId)} ${a(this.encryption.fileId)}]\n`),y+=`>>
|
|
35
35
|
`,y+=`startxref
|
|
36
36
|
`,y+=`${c}\n`,y+=`%%EOF
|
|
37
|
-
`;let b=e.encode(y);return t.push(b),se(t)}}}));function
|
|
38
|
-
`)===-1&&t.indexOf(`\r`)===-1?t:t.replace(/\r/g,`
`).replace(/\n/g,`
`).replace(/\t/g,`	`)}function
|
|
39
|
-
`),l=new TextEncoder().encode(c),u=e.allocObject(),d=new p().set(`Type`,`/Metadata`).set(`Subtype`,`/XML`).set(`Length`,s(l.length));return e.addStreamObject(u,d,l,{compress:!1}),u}function
|
|
40
|
-
`);return new TextEncoder().encode(i)}function kn(e,t){if(e.length===0)return`[]`;let n=1e3/t;return`[0 [${e.map(e=>s(Math.round(e*n))).join(` `)}]]`}function An(e,t,n){let r=e.glyphOffsets[t];if(e.glyphOffsets[t+1]-r<4)return[];let i=new DataView(e.data.buffer,e.data.byteOffset,e.data.byteLength),a=n+r;if(i.getInt16(a,!1)>=0)return[];let o=a+10,s=[];for(;;){let e=i.getUint16(o,!1);o+=2;let t=i.getUint16(o,!1);if(o+=2,s.push(t),e&Nn?o+=4:o+=2,e&Pn?o+=2:e&Fn?o+=4:e&In&&(o+=8),!(e&Mn))break}return s}function jn(e,t){if(e.length<10||new DataView(e.buffer,e.byteOffset,e.byteLength).getInt16(0,!1)>=0)return e;let n=new Uint8Array(e.length);n.set(e);let r=new DataView(n.buffer,n.byteOffset,n.byteLength),i=10;for(;;){let e=r.getUint16(i,!1);i+=2;let n=r.getUint16(i,!1),a=t.get(n)??0;if(r.setUint16(i,a,!1),i+=2,e&Nn?i+=4:i+=2,e&Pn?i+=2:e&Fn?i+=4:e&In&&(i+=8),!(e&Mn))break}return n}var Mn,Nn,Pn,Fn,In,Ln=n((()=>{Ue(),m(),ce(),Mn=32,Nn=1,Pn=8,Fn=64,In=128}));function Rn(e,t){let n=Xn[t];return n?n.monoWidth===void 0?n.widths?.[e]??n.avgWidth:n.monoWidth:Rn(e,`Helvetica`)}function zn(e,t,n){let r=0;for(let n=0;n<e.length;n++)r+=Rn(e.charCodeAt(n),t);return r/1e3*n}function Bn(e,t){return(Xn[e]??Xn.Helvetica).ascent/1e3*t}function Vn(e,t){return(Xn[e]??Xn.Helvetica).descent/1e3*t}function Hn(e,t){let n=Xn[e]??Xn.Helvetica;return(n.ascent-n.descent)/1e3*t}function Un(e){if(e in Xn)return e;let t=e.toLowerCase().trim();return Zn[t]??`Helvetica`}function Wn(e,t,n){let r=Un(e);if(!t&&!n)return r;let i=r.startsWith(`Times`),a=r.startsWith(`Courier`),o;if(i)o=t&&n?`Times-BoldItalic`:t?`Times-Bold`:`Times-Italic`;else{let e=a?`Courier`:`Helvetica`;o=t&&n?`${e}-BoldOblique`:t?`${e}-Bold`:`${e}-Oblique`}return o in Xn?o:r}var Gn,Kn,qn,Jn,Yn,Xn,Zn,Qn=n((()=>{Gn={32:278,33:278,34:355,35:556,36:556,37:889,38:667,39:191,40:333,41:333,42:389,43:584,44:278,45:333,46:278,47:278,48:556,49:556,50:556,51:556,52:556,53:556,54:556,55:556,56:556,57:556,58:278,59:278,60:584,61:584,62:584,63:556,64:1015,65:667,66:667,67:722,68:722,69:667,70:611,71:778,72:722,73:278,74:500,75:667,76:556,77:833,78:722,79:778,80:667,81:778,82:722,83:667,84:611,85:722,86:667,87:944,88:667,89:667,90:611,91:278,92:278,93:278,94:469,95:556,96:333,97:556,98:556,99:500,100:556,101:556,102:278,103:556,104:556,105:222,106:222,107:500,108:222,109:833,110:556,111:556,112:556,113:556,114:333,115:500,116:278,117:556,118:500,119:722,120:500,121:500,122:500,123:334,124:260,125:334,126:584},Kn={32:278,33:333,34:474,35:556,36:556,37:889,38:722,39:238,40:333,41:333,42:389,43:584,44:278,45:333,46:278,47:278,48:556,49:556,50:556,51:556,52:556,53:556,54:556,55:556,56:556,57:556,58:333,59:333,60:584,61:584,62:584,63:611,64:975,65:722,66:722,67:722,68:722,69:667,70:611,71:778,72:722,73:278,74:556,75:722,76:611,77:833,78:722,79:778,80:667,81:778,82:722,83:667,84:611,85:722,86:667,87:944,88:667,89:667,90:611,91:333,92:278,93:333,94:584,95:556,96:333,97:556,98:611,99:556,100:611,101:556,102:333,103:611,104:611,105:278,106:278,107:556,108:278,109:889,110:611,111:611,112:611,113:611,114:389,115:556,116:333,117:611,118:556,119:778,120:556,121:556,122:500,123:389,124:280,125:389,126:584},qn={32:250,33:333,34:408,35:500,36:500,37:833,38:778,39:180,40:333,41:333,42:500,43:564,44:250,45:333,46:250,47:278,48:500,49:500,50:500,51:500,52:500,53:500,54:500,55:500,56:500,57:500,58:278,59:278,60:564,61:564,62:564,63:444,64:921,65:722,66:667,67:667,68:722,69:611,70:556,71:722,72:722,73:333,74:389,75:722,76:611,77:889,78:722,79:722,80:556,81:722,82:667,83:556,84:611,85:722,86:722,87:944,88:722,89:722,90:611,91:333,92:278,93:333,94:469,95:500,96:333,97:444,98:500,99:444,100:500,101:444,102:333,103:500,104:500,105:278,106:278,107:500,108:278,109:778,110:500,111:500,112:500,113:500,114:333,115:389,116:278,117:500,118:500,119:722,120:500,121:500,122:444,123:480,124:200,125:480,126:541},Jn={32:250,33:333,34:555,35:500,36:500,37:1e3,38:833,39:278,40:333,41:333,42:500,43:570,44:250,45:333,46:250,47:278,48:500,49:500,50:500,51:500,52:500,53:500,54:500,55:500,56:500,57:500,58:333,59:333,60:570,61:570,62:570,63:500,64:930,65:722,66:667,67:722,68:722,69:667,70:611,71:778,72:778,73:389,74:500,75:778,76:667,77:944,78:722,79:778,80:611,81:778,82:722,83:556,84:667,85:722,86:722,87:1e3,88:722,89:722,90:667,91:333,92:278,93:333,94:581,95:500,96:333,97:500,98:556,99:444,100:556,101:444,102:333,103:500,104:556,105:278,106:333,107:556,108:278,109:833,110:556,111:500,112:556,113:556,114:444,115:389,116:333,117:556,118:500,119:722,120:500,121:500,122:444,123:394,124:220,125:394,126:520},Yn=600,Xn={Helvetica:{ascent:718,descent:-207,capHeight:718,avgWidth:513,widths:Gn},"Helvetica-Bold":{ascent:718,descent:-207,capHeight:718,avgWidth:535,widths:Kn},"Helvetica-Oblique":{ascent:718,descent:-207,capHeight:718,avgWidth:513,widths:Gn},"Helvetica-BoldOblique":{ascent:718,descent:-207,capHeight:718,avgWidth:535,widths:Kn},"Times-Roman":{ascent:683,descent:-217,capHeight:662,avgWidth:478,widths:qn},"Times-Bold":{ascent:683,descent:-217,capHeight:676,avgWidth:505,widths:Jn},"Times-Italic":{ascent:683,descent:-217,capHeight:653,avgWidth:478,widths:qn},"Times-BoldItalic":{ascent:683,descent:-217,capHeight:669,avgWidth:505,widths:Jn},Courier:{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Yn},"Courier-Bold":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Yn},"Courier-Oblique":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Yn},"Courier-BoldOblique":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Yn}},Zn={helvetica:`Helvetica`,arial:`Helvetica`,calibri:`Helvetica`,"segoe ui":`Helvetica`,"trebuchet ms":`Helvetica`,verdana:`Helvetica`,tahoma:`Helvetica`,"gill sans":`Helvetica`,"franklin gothic":`Helvetica`,"lucida sans":`Helvetica`,aptos:`Helvetica`,"times new roman":`Times-Roman`,times:`Times-Roman`,georgia:`Times-Roman`,garamond:`Times-Roman`,"book antiqua":`Times-Roman`,palatino:`Times-Roman`,"palatino linotype":`Times-Roman`,cambria:`Times-Roman`,"century schoolbook":`Times-Roman`,"courier new":`Courier`,courier:`Courier`,consolas:`Courier`,"lucida console":`Courier`,monaco:`Courier`,"andale mono":`Courier`,"cascadia code":`Courier`,"cascadia mono":`Courier`,menlo:`Courier`}})),$n=n((()=>{Qn()}));function E(e,t,n,r){return{width:O,draw:i=>{e&&(i.lineWidth(e),i.M(0,250),i.L(300,250),i.stroke()),t&&(i.lineWidth(t),i.M(300,250),i.L(600,250),i.stroke()),n&&(i.lineWidth(n),i.M(300,250),i.L(300,500),i.stroke()),r&&(i.lineWidth(r),i.M(300,250),i.L(300,0),i.stroke())}}}function er(e,t,n,r){return{width:O,draw:i=>{i.lineWidth(30),e&&(i.M(0,220),i.L(300,220),i.stroke(),i.M(0,280),i.L(300,280),i.stroke()),t&&(i.M(300,220),i.L(600,220),i.stroke(),i.M(300,280),i.L(600,280),i.stroke()),n&&(i.M(270,250),i.L(270,500),i.stroke(),i.M(330,250),i.L(330,500),i.stroke()),r&&(i.M(270,250),i.L(270,0),i.stroke(),i.M(330,250),i.L(330,0),i.stroke())}}}function tr(e,t,n,r){return{width:O,draw:i=>{i.rect(e,t,n,r),i.fill()}}}function nr(e){let t=[200,400],n=[400,300,200,100],r=[[0,0],[0,1],[0,2],[1,0],[1,1],[1,2],[0,3],[1,3]];return{width:O,draw:i=>{for(let a=0;a<8;a++)if(e&1<<a){let[e,o]=r[a];i.circle(t[e],n[o],40),i.fill()}}}}function rr(e,t){return{width:O,draw:n=>{n.lineWidth(35),n.M(450,500),n.L(150,0),n.stroke();let r=e.length,i=t.length;for(let e=0;e<r;e++)n.circle(150+e*80,420,30),n.fill();for(let e=0;e<i;e++)n.circle(350+e*80,80,30),n.fill()}}}function D(e,t,n,r){e.M(t,n),e.L(t,r),e.stroke()}function ir(e,t,n,r){e.M(t-80,r),e.L(t,n),e.L(t+80,r),e.stroke()}function ar(e,t,n,r){e.M(t-70,n),e.L(t+70,r),e.stroke(),e.M(t+70,n),e.L(t-70,r),e.stroke()}function or(e,t,n,r){e.M(t,r),e.L(n,r),e.stroke()}function sr(e){return{width:O,draw:t=>{if(t.lineWidth(45),e<=3){let n=e,r=300-(n-1)*120/2;for(let e=0;e<n;e++)D(t,r+e*120,0,500)}else e===4?(D(t,200,0,500),ir(t,380,0,500)):e===5?ir(t,300,0,500):e===6?(ir(t,200,0,500),D(t,400,0,500)):e===7?(ir(t,160,0,500),D(t,340,0,500),D(t,460,0,500)):e===8?(t.lineWidth(40),ir(t,140,0,500),D(t,300,0,500),D(t,400,0,500),D(t,500,0,500)):e===9?(D(t,200,0,500),ar(t,400,0,500)):e===10?ar(t,300,0,500):e===11?(ar(t,220,0,500),D(t,430,0,500)):e===12?(ar(t,180,0,500),D(t,370,0,500),D(t,480,0,500)):e===50?(D(t,200,0,500),or(t,200,450,0)):e===100?(or(t,180,450,500),D(t,180,0,500),or(t,180,450,0)):e===500?(D(t,180,0,500),t.M(180,500),t.C(480,500,480,0,180,0),t.stroke()):e===1e3&&(D(t,100,0,500),t.M(100,500),t.L(230,200),t.L(300,500),t.stroke(),t.M(300,500),t.L(370,200),t.L(500,500),t.stroke(),D(t,500,0,500))}}}function cr(e){return{width:O,draw:t=>{if(t.lineWidth(40),e<=3){let n=e,r=300-(n-1)*100/2;for(let e=0;e<n;e++)D(t,r+e*100,0,350)}else e===4?(D(t,200,0,350),ir(t,380,0,350)):e===5?ir(t,300,0,350):e===6?(ir(t,200,0,350),D(t,400,0,350)):e===7?(ir(t,160,0,350),D(t,340,0,350),D(t,450,0,350)):e===8?(t.lineWidth(35),ir(t,130,0,350),D(t,280,0,350),D(t,380,0,350),D(t,480,0,350)):e===9?(D(t,200,0,350),ar(t,400,0,350)):e===10?ar(t,300,0,350):e===11?(ar(t,220,0,350),D(t,430,0,350)):e===12?(ar(t,180,0,350),D(t,370,0,350),D(t,480,0,350)):e===50?(D(t,200,0,350),or(t,200,450,0)):e===100?(or(t,180,450,350),D(t,180,0,350),or(t,180,450,0)):e===500?(D(t,180,0,350),t.M(180,350),t.C(480,350,480,0,180,0),t.stroke()):e===1e3&&(D(t,100,0,350),t.M(100,350),t.L(230,140),t.L(300,350),t.stroke(),t.M(300,350),t.L(370,140),t.L(500,350),t.stroke(),D(t,500,0,350))}}}function lr(e,t,n,r,i){Ir[t](e,n,r,i)}function ur(e,t,n,r,i){Lr[t](e,n,r,i)}function dr(e){e.M(160,480),e.C(100,480,60,380,60,250),e.C(60,120,100,20,160,20),e.stroke(),e.M(440,20),e.C(500,20,540,120,540,250),e.C(540,380,500,480,440,480),e.stroke()}var O,k,A,fr,pr,mr,hr,gr,_r,vr,yr,br,xr,Sr,Cr,wr,Tr,Er,j,M,Dr,Or,kr,Ar,jr,Mr,Nr,Pr,Fr,Ir,Lr,Rr=n((()=>{O=600,k=40,A=80,fr={9472:E(k,k,0,0),9473:E(A,A,0,0),9474:E(0,0,k,k),9475:E(0,0,A,A),9476:E(k,k,0,0),9477:E(A,A,0,0),9478:E(0,0,k,k),9479:E(0,0,A,A),9480:E(k,k,0,0),9481:E(A,A,0,0),9482:E(0,0,k,k),9483:E(0,0,A,A),9484:E(0,k,0,k),9485:E(0,A,0,k),9486:E(0,k,0,A),9487:E(0,A,0,A),9488:E(k,0,0,k),9489:E(A,0,0,k),9490:E(k,0,0,A),9491:E(A,0,0,A),9492:E(0,k,k,0),9493:E(0,A,k,0),9494:E(0,k,A,0),9495:E(0,A,A,0),9496:E(k,0,k,0),9497:E(A,0,k,0),9498:E(k,0,A,0),9499:E(A,0,A,0),9500:E(0,k,k,k),9501:E(0,A,k,k),9502:E(0,k,A,k),9503:E(0,k,k,A),9504:E(0,k,A,A),9505:E(0,A,A,k),9506:E(0,A,k,A),9507:E(0,A,A,A),9508:E(k,0,k,k),9509:E(A,0,k,k),9510:E(k,0,A,k),9511:E(k,0,k,A),9512:E(k,0,A,A),9513:E(A,0,A,k),9514:E(A,0,k,A),9515:E(A,0,A,A),9516:E(k,k,0,k),9517:E(A,k,0,k),9518:E(k,A,0,k),9519:E(A,A,0,k),9520:E(k,k,0,A),9521:E(A,k,0,A),9522:E(k,A,0,A),9523:E(A,A,0,A),9524:E(k,k,k,0),9525:E(A,k,k,0),9526:E(k,A,k,0),9527:E(A,A,k,0),9528:E(k,k,A,0),9529:E(A,k,A,0),9530:E(k,A,A,0),9531:E(A,A,A,0),9532:E(k,k,k,k),9533:E(A,k,k,k),9534:E(k,A,k,k),9535:E(A,A,k,k),9536:E(k,k,A,k),9537:E(k,k,k,A),9538:E(k,k,A,A),9539:E(A,k,A,k),9540:E(k,A,A,k),9541:E(A,k,k,A),9542:E(k,A,k,A),9543:E(A,A,A,k),9544:E(A,A,k,A),9545:E(A,k,A,A),9546:E(k,A,A,A),9547:E(A,A,A,A),9552:er(!0,!0,!1,!1),9553:er(!1,!1,!0,!0),9554:er(!1,!0,!1,!0),9555:er(!1,!0,!1,!0),9556:er(!1,!0,!1,!0),9557:er(!0,!1,!1,!0),9558:er(!0,!1,!1,!0),9559:er(!0,!1,!1,!0),9560:er(!1,!0,!0,!1),9561:er(!1,!0,!0,!1),9562:er(!1,!0,!0,!1),9563:er(!0,!1,!0,!1),9564:er(!0,!1,!0,!1),9565:er(!0,!1,!0,!1),9566:er(!1,!0,!0,!0),9567:er(!1,!0,!0,!0),9568:er(!1,!0,!0,!0),9569:er(!0,!1,!0,!0),9570:er(!0,!1,!0,!0),9571:er(!0,!1,!0,!0),9572:er(!0,!0,!1,!0),9573:er(!0,!0,!1,!0),9574:er(!0,!0,!1,!0),9575:er(!0,!0,!0,!1),9576:er(!0,!0,!0,!1),9577:er(!0,!0,!0,!1),9578:er(!0,!0,!0,!0),9579:er(!0,!0,!0,!0),9580:er(!0,!0,!0,!0),9581:E(0,k,0,k),9582:E(k,0,0,k),9583:E(k,0,k,0),9584:E(0,k,k,0),9585:{width:O,draw:e=>{e.lineWidth(k),e.M(0,0),e.L(600,500),e.stroke()}},9586:{width:O,draw:e=>{e.lineWidth(k),e.M(0,500),e.L(600,0),e.stroke()}},9587:{width:O,draw:e=>{e.lineWidth(k),e.M(0,0),e.L(600,500),e.stroke(),e.M(0,500),e.L(600,0),e.stroke()}},9588:E(k,0,0,0),9589:E(0,0,k,0),9590:E(0,k,0,0),9591:E(0,0,0,k),9592:E(A,0,0,0),9593:E(0,0,A,0),9594:E(0,A,0,0),9595:E(0,0,0,A),9596:E(k,A,0,0),9597:E(0,0,k,A),9598:E(A,k,0,0),9599:E(0,0,A,k)},pr={9600:tr(0,250,600,250),9601:tr(0,0,600,62),9602:tr(0,0,600,125),9603:tr(0,0,600,187),9604:tr(0,0,600,250),9605:tr(0,0,600,312),9606:tr(0,0,600,375),9607:tr(0,0,600,437),9608:tr(0,0,600,500),9609:tr(0,0,525,500),9610:tr(0,0,450,500),9611:tr(0,0,375,500),9612:tr(0,0,300,500),9613:tr(0,0,225,500),9614:tr(0,0,150,500),9615:tr(0,0,75,500),9616:tr(300,0,300,500),9617:{width:O,draw:e=>{e.lineWidth(10);for(let t=10;t<500;t+=40)for(let n=10;n<600;n+=40)e.rect(n,t,5,5);e.fill()}},9618:{width:O,draw:e=>{e.lineWidth(10);for(let t=5;t<500;t+=20)for(let n=5;n<600;n+=20)e.rect(n,t,8,8);e.fill()}},9619:{width:O,draw:e=>{e.lineWidth(10);for(let t=3;t<500;t+=12)for(let n=3;n<600;n+=12)e.rect(n,t,10,10);e.fill()}},9620:tr(0,437,600,63),9621:tr(525,0,75,500),9622:tr(0,0,300,250),9623:tr(300,0,300,250),9624:tr(0,250,300,250),9625:{width:O,draw:e=>{e.rect(0,0,300,250),e.fill(),e.rect(0,250,300,250),e.fill(),e.rect(300,0,300,250),e.fill()}},9626:{width:O,draw:e=>{e.rect(0,250,300,250),e.fill(),e.rect(300,0,300,250),e.fill()}},9627:{width:O,draw:e=>{e.rect(0,0,300,250),e.fill(),e.rect(0,250,600,250),e.fill()}},9628:{width:O,draw:e=>{e.rect(300,0,300,250),e.fill(),e.rect(0,250,600,250),e.fill()}},9629:tr(300,250,300,250),9630:{width:O,draw:e=>{e.rect(300,250,300,250),e.fill(),e.rect(0,0,300,250),e.fill()}},9631:{width:O,draw:e=>{e.rect(300,0,300,500),e.fill(),e.rect(0,0,300,250),e.fill()}}},mr={};for(let e=0;e<256;e++)mr[10240+e]=nr(e);hr={8451:{width:700,draw:e=>{e.lineWidth(40),e.circle(120,450,60),e.stroke(),e.M(550,450),e.C(350,450,250,350,250,250),e.C(250,150,350,50,550,50),e.stroke()}},8453:{width:O,draw:e=>{e.lineWidth(40),e.M(150,350),e.C(80,350,50,400,50,430),e.C(50,470,100,500,150,500),e.C(200,500,250,470,250,430),e.C(250,400,200,350,150,350),e.stroke(),e.M(450,0),e.L(150,500),e.stroke(),e.M(450,150),e.C(380,150,350,100,350,70),e.C(350,30,400,0,450,0),e.C(500,0,550,30,550,70),e.C(550,100,500,150,450,150),e.stroke()}},8457:{width:700,draw:e=>{e.lineWidth(40),e.circle(120,450,60),e.stroke(),e.M(280,0),e.L(280,500),e.stroke(),e.M(280,500),e.L(550,500),e.stroke(),e.M(280,280),e.L(480,280),e.stroke()}},8467:{width:O,draw:e=>{e.lineWidth(45),e.M(350,500),e.C(200,500,200,400,250,200),e.C(280,100,200,0,150,50),e.stroke()}},8470:{width:700,draw:e=>{e.lineWidth(45),e.M(80,0),e.L(80,500),e.stroke(),e.M(80,500),e.L(350,0),e.stroke(),e.M(350,0),e.L(350,500),e.stroke(),e.lineWidth(35),e.circle(530,70,70),e.stroke(),e.M(380,170),e.L(680,170),e.stroke()}},8480:{width:O,draw:e=>{e.lineWidth(30),e.M(150,400),e.C(150,500,350,500,350,450),e.C(350,400,150,350,150,300),e.C(150,250,350,250,350,350),e.stroke(),e.M(400,500),e.L(400,250),e.L(475,400),e.L(550,250),e.L(550,500),e.stroke()}},8482:{width:O,draw:e=>{e.lineWidth(30),e.M(50,500),e.L(200,500),e.stroke(),e.M(125,500),e.L(125,300),e.stroke(),e.M(250,500),e.L(250,300),e.L(350,450),e.L(450,300),e.L(450,500),e.stroke()}},8486:{width:O,draw:e=>{e.lineWidth(45),e.M(100,50),e.L(200,50),e.L(200,150),e.C(120,200,80,300,80,350),e.C(80,450,180,520,300,520),e.C(420,520,520,450,520,350),e.C(520,300,480,200,400,150),e.L(400,50),e.L(500,50),e.stroke()}},8494:{width:O,draw:e=>{e.lineWidth(40),e.M(480,220),e.L(150,220),e.C(150,400,250,500,350,500),e.C(450,500,530,400,500,300),e.C(470,100,400,0,250,0),e.C(150,0,100,80,100,150),e.stroke()}},8505:{width:O,draw:e=>{e.circle(300,450,40),e.fill(),e.lineWidth(55),e.M(300,350),e.L(300,50),e.stroke()}},8543:{width:O,draw:e=>{e.lineWidth(40),e.M(150,500),e.L(200,500),e.L(200,350),e.stroke(),e.M(450,500),e.L(150,0),e.stroke()}}},gr={8528:rr(`1`,`7`),8529:rr(`1`,`9`),8530:rr(`1`,`10`),8531:rr(`1`,`3`),8532:rr(`2`,`3`),8533:rr(`1`,`5`),8534:rr(`2`,`5`),8535:rr(`3`,`5`),8536:rr(`4`,`5`),8537:rr(`1`,`6`),8538:rr(`5`,`6`),8539:rr(`1`,`8`),8540:rr(`3`,`8`),8541:rr(`5`,`8`),8542:rr(`7`,`8`),8544:{width:O,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke()}},8545:{width:O,draw:e=>{e.lineWidth(50),e.M(200,0),e.L(200,500),e.stroke(),e.M(400,0),e.L(400,500),e.stroke()}},8546:{width:O,draw:e=>{e.lineWidth(45),e.M(120,0),e.L(120,500),e.stroke(),e.M(300,0),e.L(300,500),e.stroke(),e.M(480,0),e.L(480,500),e.stroke()}},8547:{width:O,draw:e=>{e.lineWidth(50),e.M(180,500),e.L(300,0),e.L(420,500),e.stroke()}},8548:{width:O,draw:e=>{e.lineWidth(50),e.M(150,500),e.L(300,0),e.L(450,500),e.stroke()}}},_r={};for(let e=0;e<20;e++)_r[9312+e]={width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}};for(let e=0;e<12;e++)_r[9332+e]={width:O,draw:e=>{e.lineWidth(30),e.M(180,480),e.C(120,480,80,380,80,250),e.C(80,120,120,20,180,20),e.stroke(),e.M(420,20),e.C(480,20,520,120,520,250),e.C(520,380,480,480,420,480),e.stroke()}};for(let e=0;e<26;e++)_r[9398+e]={width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}};for(let e=0;e<26;e++)_r[9424+e]={width:O,draw:e=>{e.lineWidth(30),e.circle(300,250,200),e.stroke()}};_r[9450]={width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}},vr={8208:{width:O,draw:e=>{e.lineWidth(50),e.M(150,250),e.L(450,250),e.stroke()}},8209:{width:O,draw:e=>{e.lineWidth(50),e.M(150,250),e.L(450,250),e.stroke()}},8210:{width:O,draw:e=>{e.lineWidth(50),e.M(100,250),e.L(500,250),e.stroke()}},8211:{width:O,draw:e=>{e.lineWidth(50),e.M(80,250),e.L(520,250),e.stroke()}},8212:{width:700,draw:e=>{e.lineWidth(50),e.M(0,250),e.L(700,250),e.stroke()}},8214:{width:O,draw:e=>{e.lineWidth(40),e.M(230,0),e.L(230,500),e.stroke(),e.M(370,0),e.L(370,500),e.stroke()}},8215:{width:O,draw:e=>{e.lineWidth(30),e.M(50,30),e.L(550,30),e.stroke(),e.M(50,80),e.L(550,80),e.stroke()}},8216:{width:300,draw:e=>{e.circle(150,450,40),e.fill(),e.lineWidth(30),e.M(150,410),e.C(120,370,100,350,80,340),e.stroke()}},8217:{width:300,draw:e=>{e.circle(150,450,40),e.fill(),e.lineWidth(30),e.M(150,410),e.C(180,370,200,350,220,340),e.stroke()}},8223:{width:400,draw:e=>{e.circle(120,450,35),e.fill(),e.circle(280,450,35),e.fill()}},8224:{width:O,draw:e=>{e.lineWidth(50),e.M(300,500),e.L(300,0),e.stroke(),e.M(150,380),e.L(450,380),e.stroke()}},8225:{width:O,draw:e=>{e.lineWidth(45),e.M(300,500),e.L(300,0),e.stroke(),e.M(150,380),e.L(450,380),e.stroke(),e.M(150,180),e.L(450,180),e.stroke()}},8229:{width:O,draw:e=>{e.circle(200,50,35),e.fill(),e.circle(400,50,35),e.fill()}},8231:{width:300,draw:e=>{e.circle(150,250,35),e.fill()}},8240:{width:700,draw:e=>{e.lineWidth(35),e.M(550,0),e.L(150,500),e.stroke(),e.circle(180,400,70),e.stroke(),e.circle(400,100,60),e.stroke(),e.circle(560,100,60),e.stroke()}},8241:{width:700,draw:e=>{e.lineWidth(35),e.M(550,0),e.L(150,500),e.stroke(),e.circle(180,400,60),e.stroke(),e.circle(350,100,50),e.stroke(),e.circle(470,100,50),e.stroke(),e.circle(590,100,50),e.stroke()}},8242:{width:300,draw:e=>{e.lineWidth(40),e.M(180,500),e.L(140,350),e.stroke()}},8243:{width:400,draw:e=>{e.lineWidth(40),e.M(150,500),e.L(110,350),e.stroke(),e.M(300,500),e.L(260,350),e.stroke()}},8249:{width:350,draw:e=>{e.lineWidth(40),e.M(250,400),e.L(100,250),e.L(250,100),e.stroke()}},8250:{width:350,draw:e=>{e.lineWidth(40),e.M(100,400),e.L(250,250),e.L(100,100),e.stroke()}},8252:{width:O,draw:e=>{e.lineWidth(50),e.M(200,500),e.L(200,130),e.stroke(),e.circle(200,40,30),e.fill(),e.M(400,500),e.L(400,130),e.stroke(),e.circle(400,40,30),e.fill()}},8260:{width:O,draw:e=>{e.lineWidth(40),e.M(450,500),e.L(150,0),e.stroke()}},8271:{width:300,draw:e=>{e.circle(150,350,35),e.fill(),e.circle(150,130,35),e.fill(),e.lineWidth(30),e.M(150,95),e.C(180,50,200,20,220,0),e.stroke()}}},yr={8602:{width:O,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,120),e.Z(),e.fill(),e.lineWidth(50),e.M(350,120),e.L(250,380),e.stroke()}},8603:{width:O,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,380),e.L(350,120),e.Z(),e.fill(),e.lineWidth(50),e.M(250,120),e.L(350,380),e.stroke()}},8605:{width:O,draw:e=>{e.lineWidth(45),e.M(100,250),e.C(200,350,300,150,400,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,330),e.L(400,170),e.Z(),e.fill()}},8606:{width:O,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(220,370),e.L(220,130),e.Z(),e.fill(),e.M(200,250),e.L(320,370),e.L(320,130),e.Z(),e.fill()}},8607:{width:O,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,470),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.fill(),e.M(300,370),e.L(180,250),e.L(420,250),e.Z(),e.fill()}},8608:{width:O,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(380,370),e.L(380,130),e.Z(),e.fill(),e.M(400,250),e.L(280,370),e.L(280,130),e.Z(),e.fill()}},8609:{width:O,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,30),e.stroke(),e.M(300,30),e.L(180,150),e.L(420,150),e.Z(),e.fill(),e.M(300,130),e.L(180,250),e.L(420,250),e.Z(),e.fill()}},8612:{width:O,draw:e=>{e.lineWidth(45),e.M(480,250),e.L(130,250),e.stroke(),e.M(130,250),e.L(260,370),e.L(260,130),e.Z(),e.fill(),e.M(500,100),e.L(500,400),e.stroke()}},8613:{width:O,draw:e=>{e.lineWidth(45),e.M(300,30),e.L(300,420),e.stroke(),e.M(300,420),e.L(180,290),e.L(420,290),e.Z(),e.fill(),e.M(150,30),e.L(450,30),e.stroke()}},8614:{width:O,draw:e=>{e.lineWidth(45),e.M(120,250),e.L(470,250),e.stroke(),e.M(470,250),e.L(340,370),e.L(340,130),e.Z(),e.fill(),e.M(100,100),e.L(100,400),e.stroke()}},8615:{width:O,draw:e=>{e.lineWidth(45),e.M(300,470),e.L(300,80),e.stroke(),e.M(300,80),e.L(180,210),e.L(420,210),e.Z(),e.fill(),e.M(150,470),e.L(450,470),e.stroke()}},8624:{width:O,draw:e=>{e.lineWidth(45),e.M(400,50),e.L(400,350),e.L(150,350),e.stroke(),e.M(400,450),e.L(280,330),e.L(520,330),e.Z(),e.fill()}},8625:{width:O,draw:e=>{e.lineWidth(45),e.M(200,50),e.L(200,350),e.L(450,350),e.stroke(),e.M(200,450),e.L(80,330),e.L(320,330),e.Z(),e.fill()}},8626:{width:O,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,150),e.L(150,150),e.stroke(),e.M(400,50),e.L(280,170),e.L(520,170),e.Z(),e.fill()}},8627:{width:O,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,150),e.L(450,150),e.stroke(),e.M(200,50),e.L(80,170),e.L(320,170),e.Z(),e.fill()}},8629:{width:O,draw:e=>{e.lineWidth(45),e.M(450,450),e.L(450,150),e.L(150,150),e.stroke(),e.M(150,150),e.L(280,260),e.L(280,40),e.Z(),e.fill()}},8634:{width:O,draw:e=>{e.lineWidth(45),e.M(160,350),e.C(160,450,300,500,400,450),e.C(500,400,520,250,450,150),e.C(380,50,200,50,160,150),e.stroke(),e.M(160,350),e.L(80,250),e.L(250,270),e.Z(),e.fill()}},8635:{width:O,draw:e=>{e.lineWidth(45),e.M(440,350),e.C(440,450,300,500,200,450),e.C(100,400,80,250,150,150),e.C(220,50,400,50,440,150),e.stroke(),e.M(440,350),e.L(520,250),e.L(350,270),e.Z(),e.fill()}}},br={8723:{width:O,draw:e=>{e.lineWidth(50),e.M(120,350),e.L(480,350),e.stroke(),e.M(300,200),e.L(300,0),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},8729:{width:O,draw:e=>{e.circle(300,250,50),e.fill()}},8733:{width:O,draw:e=>{e.lineWidth(45),e.M(80,250),e.C(80,450,250,450,300,250),e.C(350,50,520,50,520,250),e.stroke()}},8735:{width:O,draw:e=>{e.lineWidth(50),e.M(120,450),e.L(120,50),e.L(480,50),e.stroke()}},8739:{width:O,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke()}},8740:{width:O,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke(),e.M(200,100),e.L(400,400),e.stroke()}},8741:{width:O,draw:e=>{e.lineWidth(45),e.M(220,0),e.L(220,500),e.stroke(),e.M(380,0),e.L(380,500),e.stroke()}},8742:{width:O,draw:e=>{e.lineWidth(45),e.M(220,0),e.L(220,500),e.stroke(),e.M(380,0),e.L(380,500),e.stroke(),e.M(150,100),e.L(450,400),e.stroke()}},8728:{width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,70),e.stroke()}},8756:{width:O,draw:e=>{e.circle(300,400,40),e.fill(),e.circle(180,150,40),e.fill(),e.circle(420,150,40),e.fill()}},8757:{width:O,draw:e=>{e.circle(300,100,40),e.fill(),e.circle(180,350,40),e.fill(),e.circle(420,350,40),e.fill()}},8758:{width:300,draw:e=>{e.circle(150,350,40),e.fill(),e.circle(150,150,40),e.fill()}},8759:{width:O,draw:e=>{e.circle(200,350,35),e.fill(),e.circle(200,150,35),e.fill(),e.circle(400,350,35),e.fill(),e.circle(400,150,35),e.fill()}},8780:{width:O,draw:e=>{e.lineWidth(40),e.M(120,400),e.C(200,460,400,460,480,400),e.stroke(),e.M(120,280),e.C(200,340,400,340,480,280),e.stroke(),e.M(120,160),e.L(480,160),e.stroke()}},8773:{width:O,draw:e=>{e.lineWidth(45),e.M(120,350),e.C(200,430,400,430,480,350),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},8796:{width:O,draw:e=>{e.lineWidth(40),e.M(120,200),e.L(480,200),e.stroke(),e.M(120,120),e.L(480,120),e.stroke(),e.M(300,450),e.L(200,280),e.L(400,280),e.Z(),e.stroke()}},8810:{width:O,draw:e=>{e.lineWidth(45),e.M(350,420),e.L(100,250),e.L(350,80),e.stroke(),e.M(500,420),e.L(250,250),e.L(500,80),e.stroke()}},8811:{width:O,draw:e=>{e.lineWidth(45),e.M(100,420),e.L(350,250),e.L(100,80),e.stroke(),e.M(250,420),e.L(500,250),e.L(250,80),e.stroke()}},8836:{width:O,draw:e=>{e.lineWidth(45),e.M(470,450),e.C(200,450,130,350,130,250),e.C(130,150,200,50,470,50),e.stroke(),e.M(200,50),e.L(400,450),e.stroke()}},8837:{width:O,draw:e=>{e.lineWidth(45),e.M(130,450),e.C(400,450,470,350,470,250),e.C(470,150,400,50,130,50),e.stroke(),e.M(200,50),e.L(400,450),e.stroke()}},8838:{width:O,draw:e=>{e.lineWidth(45),e.M(470,420),e.C(200,420,130,340,130,250),e.C(130,160,200,80,470,80),e.stroke(),e.M(130,30),e.L(470,30),e.stroke()}},8839:{width:O,draw:e=>{e.lineWidth(45),e.M(130,420),e.C(400,420,470,340,470,250),e.C(470,160,400,80,130,80),e.stroke(),e.M(130,30),e.L(470,30),e.stroke()}},8869:{width:O,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(480,50),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},8895:{width:O,draw:e=>{e.lineWidth(45),e.M(120,50),e.L(480,50),e.L(120,450),e.Z(),e.stroke()}}},xr={9729:{width:O,draw:e=>{e.lineWidth(40),e.M(120,200),e.C(120,350,200,400,280,400),e.C(300,470,400,470,430,400),e.C(500,400,520,300,480,200),e.L(120,200),e.stroke()}},9742:{width:O,draw:e=>{e.lineWidth(45),e.M(120,100),e.C(120,50,480,50,480,100),e.stroke(),e.M(150,100),e.C(150,350,200,450,250,450),e.stroke(),e.M(450,100),e.C(450,350,400,450,350,450),e.stroke()}},9774:{width:O,draw:e=>{e.lineWidth(45),e.circle(300,250,220),e.stroke(),e.M(300,470),e.L(300,30),e.stroke(),e.M(300,250),e.L(145,95),e.stroke(),e.M(300,250),e.L(455,95),e.stroke()}},9775:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,350,20),e.fill(),e.circle(300,150,20),e.fill()}},9785:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(210,330,25),e.fill(),e.circle(390,330,25),e.fill(),e.M(200,130),e.C(250,80,350,80,400,130),e.stroke()}},9786:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(210,330,25),e.fill(),e.circle(390,330,25),e.fill(),e.M(190,170),e.C(220,110,380,110,410,170),e.stroke()}},9787:{width:O,draw:e=>{e.circle(300,250,230),e.fill()}},9872:{width:O,draw:e=>{e.lineWidth(40),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(480,400),e.L(150,300),e.stroke()}},9873:{width:O,draw:e=>{e.lineWidth(40),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(480,400),e.L(150,300),e.Z(),e.fill()}},9888:{width:O,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(80,50),e.L(520,50),e.Z(),e.stroke(),e.lineWidth(40),e.M(300,350),e.L(300,180),e.stroke(),e.circle(300,110,25),e.fill()}},9889:{width:O,draw:e=>{e.M(350,500),e.L(200,280),e.L(310,280),e.L(250,0),e.L(420,220),e.L(300,220),e.L(350,500),e.Z(),e.fill()}},9898:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke()}},9899:{width:O,draw:e=>{e.circle(300,250,180),e.fill()}}},Sr={9985:{width:O,draw:e=>{e.lineWidth(35),e.circle(180,150,80),e.stroke(),e.circle(180,350,80),e.stroke(),e.M(250,200),e.L(500,400),e.stroke(),e.M(250,300),e.L(500,100),e.stroke()}},9986:{width:O,draw:e=>{e.lineWidth(40),e.circle(170,130,80),e.stroke(),e.circle(170,370,80),e.stroke(),e.M(240,180),e.L(520,420),e.stroke(),e.M(240,320),e.L(520,80),e.stroke()}},9990:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(200,150),e.C(200,100,400,100,400,150),e.stroke(),e.M(220,150),e.C(220,350,250,400,280,400),e.stroke(),e.M(380,150),e.C(380,350,350,400,320,400),e.stroke()}},9991:{width:O,draw:e=>{e.lineWidth(35),e.rect(80,50,440,400),e.stroke(),e.circle(300,250,120),e.stroke()}},9992:{width:O,draw:e=>{e.M(300,480),e.L(260,300),e.L(80,250),e.L(260,210),e.L(260,80),e.L(220,30),e.L(380,30),e.L(340,80),e.L(340,210),e.L(520,250),e.L(340,300),e.Z(),e.fill()}},9993:{width:O,draw:e=>{e.lineWidth(35),e.rect(80,80,440,340),e.stroke(),e.M(80,420),e.L(300,220),e.L(520,420),e.stroke()}},9998:{width:O,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(480,430),e.stroke(),e.M(100,50),e.L(130,130),e.stroke()}},9999:{width:O,draw:e=>{e.M(130,30),e.L(100,80),e.L(420,470),e.L(480,470),e.L(480,430),e.L(160,30),e.Z(),e.fill()}},1e4:{width:O,draw:e=>{e.lineWidth(40),e.M(100,450),e.L(480,70),e.stroke(),e.M(100,450),e.L(130,370),e.stroke()}},10013:{width:O,draw:e=>{e.lineWidth(55),e.M(300,0),e.L(300,500),e.stroke(),e.M(140,370),e.L(460,370),e.stroke()}},10014:{width:O,draw:e=>{e.lineWidth(65),e.M(300,0),e.L(300,500),e.stroke(),e.M(130,370),e.L(470,370),e.stroke()}},10022:{width:O,draw:e=>{e.M(300,480),e.L(230,280),e.L(80,250),e.L(230,220),e.L(300,20),e.L(370,220),e.L(520,250),e.L(370,280),e.Z(),e.fill()}},10023:{width:O,draw:e=>{e.lineWidth(35),e.M(300,480),e.L(230,280),e.L(80,250),e.L(230,220),e.L(300,20),e.L(370,220),e.L(520,250),e.L(370,280),e.Z(),e.stroke()}},10032:{width:O,draw:e=>{e.lineWidth(40);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+220*Math.cos(n),260+220*Math.sin(n)):e.L(300+220*Math.cos(n),260+220*Math.sin(n)),e.L(300+100*Math.cos(r),260+100*Math.sin(r))}e.Z(),e.stroke()}},10132:{width:O,draw:e=>{e.M(500,250),e.L(300,430),e.L(300,310),e.L(80,310),e.L(80,190),e.L(300,190),e.L(300,70),e.Z(),e.fill()}},10140:{width:O,draw:e=>{e.M(520,250),e.L(320,430),e.L(320,310),e.C(200,310,80,290,80,250),e.C(80,210,200,190,320,190),e.L(320,70),e.Z(),e.fill()}},10145:{width:O,draw:e=>{e.M(520,250),e.L(350,420),e.L(350,300),e.L(80,300),e.L(80,200),e.L(350,200),e.L(350,80),e.Z(),e.fill()}}},Cr={8976:{width:O,draw:e=>{e.lineWidth(45),e.M(480,350),e.L(120,350),e.L(120,150),e.stroke()}},8981:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.circle(300,250,50),e.fill()}},8986:{width:O,draw:e=>{e.lineWidth(35),e.rect(150,50,300,400),e.stroke(),e.M(300,450),e.L(300,500),e.stroke(),e.M(300,50),e.L(300,0),e.stroke(),e.lineWidth(30),e.M(300,250),e.L(300,350),e.stroke(),e.M(300,250),e.L(380,250),e.stroke()}},9e3:{width:O,draw:e=>{e.lineWidth(35),e.rect(50,80,500,340),e.stroke(),e.lineWidth(20);for(let t=100;t<=500;t+=80)e.M(t,340),e.L(t+40,340),e.L(t+40,300),e.L(t,300),e.Z(),e.stroke();e.M(150,200),e.L(450,200),e.L(450,160),e.L(150,160),e.Z(),e.stroke()}},9115:{width:300,draw:e=>{e.lineWidth(40),e.M(250,500),e.C(100,400,100,300,150,250),e.stroke()}},9116:{width:300,draw:e=>{e.lineWidth(40),e.M(150,500),e.L(150,0),e.stroke()}},9117:{width:300,draw:e=>{e.lineWidth(40),e.M(150,250),e.C(100,200,100,100,250,0),e.stroke()}},9167:{width:O,draw:e=>{e.M(120,150),e.L(480,150),e.L(300,420),e.Z(),e.fill(),e.rect(120,50,360,60),e.fill()}},9193:{width:O,draw:e=>{e.M(80,430),e.L(300,250),e.L(80,70),e.Z(),e.fill(),e.M(300,430),e.L(520,250),e.L(300,70),e.Z(),e.fill()}},9194:{width:O,draw:e=>{e.M(520,430),e.L(300,250),e.L(520,70),e.Z(),e.fill(),e.M(300,430),e.L(80,250),e.L(300,70),e.Z(),e.fill()}},9195:{width:O,draw:e=>{e.M(100,230),e.L(300,450),e.L(500,230),e.Z(),e.fill(),e.M(100,30),e.L(300,250),e.L(500,30),e.Z(),e.fill()}},9196:{width:O,draw:e=>{e.M(100,270),e.L(300,50),e.L(500,270),e.Z(),e.fill(),e.M(100,470),e.L(300,250),e.L(500,470),e.Z(),e.fill()}},9197:{width:O,draw:e=>{e.M(60,430),e.L(250,250),e.L(60,70),e.Z(),e.fill(),e.M(250,430),e.L(440,250),e.L(250,70),e.Z(),e.fill(),e.rect(460,70,50,360),e.fill()}},9198:{width:O,draw:e=>{e.M(540,430),e.L(350,250),e.L(540,70),e.Z(),e.fill(),e.M(350,430),e.L(160,250),e.L(350,70),e.Z(),e.fill(),e.rect(90,70,50,360),e.fill()}},9199:{width:O,draw:e=>{e.M(80,430),e.L(330,250),e.L(80,70),e.Z(),e.fill(),e.rect(370,70,50,360),e.fill(),e.rect(460,70,50,360),e.fill()}},9201:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,230,200),e.stroke(),e.M(260,470),e.L(340,470),e.stroke(),e.M(300,430),e.L(300,480),e.stroke(),e.M(300,230),e.L(300,350),e.stroke(),e.M(300,230),e.L(400,280),e.stroke()}},9202:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,230,200),e.stroke(),e.M(300,230),e.L(300,370),e.stroke(),e.M(300,230),e.L(420,230),e.stroke(),e.M(430,400),e.L(470,440),e.stroke()}},9208:{width:O,draw:e=>{e.rect(140,60,100,380),e.fill(),e.rect(360,60,100,380),e.fill()}},9209:{width:O,draw:e=>{e.rect(100,50,400,400),e.fill()}},9210:{width:O,draw:e=>{e.circle(300,250,200),e.fill()}}},wr={8352:{width:O,draw:e=>{e.lineWidth(45),e.M(480,430),e.C(350,480,180,430,150,300),e.C(120,170,200,50,400,30),e.stroke(),e.M(80,320),e.L(380,320),e.stroke(),e.M(80,220),e.L(380,220),e.stroke()}},8353:{width:O,draw:e=>{e.lineWidth(45),e.M(450,430),e.C(350,480,180,430,150,250),e.C(150,70,350,20,450,70),e.stroke(),e.M(300,520),e.L(300,-20),e.stroke()}},8354:{width:O,draw:e=>{e.lineWidth(45),e.M(450,430),e.C(350,480,180,430,150,250),e.C(150,70,350,20,450,70),e.stroke(),e.M(380,0),e.L(250,500),e.stroke()}},8355:{width:O,draw:e=>{e.lineWidth(50),e.M(200,0),e.L(200,500),e.stroke(),e.M(200,500),e.L(480,500),e.stroke(),e.M(200,300),e.L(400,300),e.stroke(),e.M(120,200),e.L(350,200),e.stroke()}},8356:{width:O,draw:e=>{e.lineWidth(50),e.M(200,0),e.C(200,0,400,0,400,0),e.stroke(),e.M(200,0),e.L(200,500),e.C(200,500,150,520,120,500),e.stroke(),e.M(120,300),e.L(380,300),e.stroke(),e.M(120,180),e.L(380,180),e.stroke()}},8357:{width:O,draw:e=>{e.lineWidth(40),e.M(100,0),e.L(100,350),e.L(200,200),e.L(300,350),e.L(300,0),e.stroke(),e.M(300,500),e.L(300,-30),e.stroke()}},8358:{width:O,draw:e=>{e.lineWidth(45),e.M(130,0),e.L(130,500),e.stroke(),e.M(130,500),e.L(470,0),e.stroke(),e.M(470,0),e.L(470,500),e.stroke(),e.M(80,350),e.L(520,350),e.stroke(),e.M(80,200),e.L(520,200),e.stroke()}},8359:{width:O,draw:e=>{e.lineWidth(45),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(350,500),e.C(450,500,480,400,350,350),e.L(150,350),e.stroke(),e.M(350,0),e.L(500,0),e.stroke()}},8360:{width:O,draw:e=>{e.lineWidth(45),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(350,500),e.C(450,500,480,400,350,350),e.L(150,350),e.stroke(),e.M(280,350),e.L(450,0),e.stroke()}},8361:{width:O,draw:e=>{e.lineWidth(40),e.M(60,500),e.L(180,0),e.L(300,350),e.L(420,0),e.L(540,500),e.stroke(),e.M(80,250),e.L(520,250),e.stroke(),e.M(80,150),e.L(520,150),e.stroke()}},8362:{width:O,draw:e=>{e.lineWidth(45),e.M(150,500),e.L(150,100),e.C(150,30,250,0,300,50),e.stroke(),e.M(450,0),e.L(450,400),e.C(450,470,350,500,300,450),e.stroke()}},8363:{width:O,draw:e=>{e.lineWidth(45),e.M(250,50),e.L(250,500),e.stroke(),e.M(250,400),e.L(350,400),e.C(470,400,470,200,350,200),e.L(250,200),e.stroke(),e.M(150,50),e.L(400,50),e.stroke(),e.M(170,120),e.L(420,120),e.stroke()}},8366:{width:O,draw:e=>{e.lineWidth(50),e.M(120,500),e.L(480,500),e.stroke(),e.M(300,500),e.L(300,0),e.stroke(),e.M(120,350),e.L(480,350),e.stroke(),e.M(120,200),e.L(480,200),e.stroke()}},8369:{width:O,draw:e=>{e.lineWidth(45),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(350,500),e.C(480,500,480,300,350,300),e.L(150,300),e.stroke(),e.M(100,420),e.L(450,420),e.stroke()}},8370:{width:O,draw:e=>{e.lineWidth(45),e.M(450,400),e.C(400,480,200,480,150,350),e.C(100,200,200,50,400,50),e.L(400,250),e.L(250,250),e.stroke(),e.M(300,520),e.L(300,0),e.stroke()}},8371:{width:O,draw:e=>{e.lineWidth(45),e.M(100,0),e.L(300,500),e.L(500,0),e.stroke(),e.M(160,180),e.L(440,180),e.stroke(),e.M(180,280),e.L(420,280),e.stroke()}},8372:{width:O,draw:e=>{e.lineWidth(45),e.M(420,450),e.C(380,500,200,500,180,400),e.C(160,300,400,250,420,150),e.C(440,50,250,0,180,50),e.stroke(),e.M(100,330),e.L(480,330),e.stroke(),e.M(100,220),e.L(480,220),e.stroke()}},8374:{width:O,draw:e=>{e.lineWidth(45),e.M(250,0),e.L(250,480),e.C(250,500,200,520,180,500),e.stroke(),e.M(250,350),e.L(450,350),e.stroke()}},8376:{width:O,draw:e=>{e.lineWidth(50),e.M(100,500),e.L(500,500),e.stroke(),e.M(100,400),e.L(500,400),e.stroke(),e.M(300,400),e.L(300,0),e.stroke()}}},Tr={10216:{width:350,draw:e=>{e.lineWidth(40),e.M(280,500),e.L(100,250),e.L(280,0),e.stroke()}},10217:{width:350,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(280,250),e.L(100,0),e.stroke()}},10218:{width:450,draw:e=>{e.lineWidth(35),e.M(250,500),e.L(70,250),e.L(250,0),e.stroke(),e.M(380,500),e.L(200,250),e.L(380,0),e.stroke()}},10219:{width:450,draw:e=>{e.lineWidth(35),e.M(70,500),e.L(250,250),e.L(70,0),e.stroke(),e.M(200,500),e.L(380,250),e.L(200,0),e.stroke()}}},Er={10229:{width:700,draw:e=>{e.lineWidth(45),e.M(650,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,120),e.Z(),e.fill()}},10230:{width:700,draw:e=>{e.lineWidth(45),e.M(50,250),e.L(600,250),e.stroke(),e.M(600,250),e.L(450,380),e.L(450,120),e.Z(),e.fill()}},10231:{width:700,draw:e=>{e.lineWidth(40),e.M(150,250),e.L(550,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill(),e.M(600,250),e.L(470,370),e.L(470,130),e.Z(),e.fill()}},10232:{width:700,draw:e=>{e.M(80,250),e.L(250,430),e.L(250,310),e.L(620,310),e.L(620,190),e.L(250,190),e.L(250,70),e.Z(),e.fill()}},10233:{width:700,draw:e=>{e.M(620,250),e.L(450,430),e.L(450,310),e.L(80,310),e.L(80,190),e.L(450,190),e.L(450,70),e.Z(),e.fill()}},10234:{width:700,draw:e=>{e.M(80,250),e.L(200,400),e.L(200,300),e.L(500,300),e.L(500,400),e.L(620,250),e.L(500,100),e.L(500,200),e.L(200,200),e.L(200,100),e.Z(),e.fill()}}},j=100,M=50,Dr=400,Or=400,kr=500,Ar=450,jr={9639:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,Dr,Or),e.stroke(),e.lineWidth(20);for(let t=-3;t<=3;t++){let n=t*100;e.M(j+n,Ar),e.L(kr+n,M),e.stroke()}}},9641:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,Dr,Or),e.stroke(),e.lineWidth(15);for(let t=-3;t<=3;t++){let n=t*100;e.M(j+n,Ar),e.L(kr+n,M),e.stroke(),e.M(j+n,M),e.L(kr+n,Ar),e.stroke()}}},9649:{width:O,draw:e=>{e.lineWidth(40),e.M(180,50),e.L(500,50),e.L(420,450),e.L(100,450),e.Z(),e.stroke()}},9657:{width:O,draw:e=>{e.lineWidth(35),e.M(200,380),e.L(430,250),e.L(200,120),e.Z(),e.stroke()}},9658:{width:O,draw:e=>{e.M(150,420),e.L(480,250),e.L(150,80),e.Z(),e.fill()}},9659:{width:O,draw:e=>{e.lineWidth(40),e.M(150,420),e.L(480,250),e.L(150,80),e.Z(),e.stroke()}},9663:{width:O,draw:e=>{e.lineWidth(35),e.M(180,380),e.L(420,380),e.L(300,120),e.Z(),e.stroke()}},9667:{width:O,draw:e=>{e.lineWidth(35),e.M(400,380),e.L(170,250),e.L(400,120),e.Z(),e.stroke()}},9668:{width:O,draw:e=>{e.M(450,420),e.L(120,250),e.L(450,80),e.Z(),e.fill()}},9669:{width:O,draw:e=>{e.lineWidth(40),e.M(450,420),e.L(120,250),e.L(450,80),e.Z(),e.stroke()}},9698:{width:O,draw:e=>{e.M(kr,Ar),e.L(kr,M),e.L(j,M),e.Z(),e.fill()}},9699:{width:O,draw:e=>{e.M(j,Ar),e.L(j,M),e.L(kr,M),e.Z(),e.fill()}},9700:{width:O,draw:e=>{e.M(j,M),e.L(j,Ar),e.L(kr,Ar),e.Z(),e.fill()}},9701:{width:O,draw:e=>{e.M(kr,M),e.L(kr,Ar),e.L(j,Ar),e.Z(),e.fill()}},9703:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,Dr,Or),e.stroke(),e.rect(j,M,Dr/2,Or),e.fill()}},9704:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,Dr,Or),e.stroke(),e.rect(300,M,Dr/2,Or),e.fill()}},9705:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,Dr,Or),e.stroke(),e.M(j,M),e.L(j,Ar),e.L(kr,Ar),e.Z(),e.fill()}},9706:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,Dr,Or),e.stroke(),e.M(kr,Ar),e.L(kr,M),e.L(j,M),e.Z(),e.fill()}},9707:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,Dr,Or),e.stroke(),e.M(300,M),e.L(300,Ar),e.stroke()}},9708:{width:O,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.circle(300,190,30),e.fill()}},9709:{width:O,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.M(300,470),e.L(100,50),e.L(300,50),e.Z(),e.fill()}},9710:{width:O,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.M(300,470),e.L(500,50),e.L(300,50),e.Z(),e.fill()}},9712:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,Dr,Or),e.stroke(),e.rect(j,250,Dr/2,Or/2),e.fill()}},9713:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,Dr,Or),e.stroke(),e.rect(j,M,Dr/2,Or/2),e.fill()}},9714:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,Dr,Or),e.stroke(),e.rect(300,M,Dr/2,Or/2),e.fill()}},9715:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,Dr,Or),e.stroke(),e.rect(300,250,Dr/2,Or/2),e.fill()}},9716:{width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,470),e.C(179,470,80,371,80,250),e.L(300,250),e.Z(),e.fill()}},9717:{width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(80,250),e.C(80,129,179,30,300,30),e.L(300,250),e.Z(),e.fill()}},9718:{width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,30),e.C(421,30,520,129,520,250),e.L(300,250),e.Z(),e.fill()}},9719:{width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(520,250),e.C(520,371,421,470,300,470),e.L(300,250),e.Z(),e.fill()}},9720:{width:O,draw:e=>{e.lineWidth(35),e.M(j,Ar),e.L(kr,Ar),e.L(j,M),e.Z(),e.stroke()}},9721:{width:O,draw:e=>{e.lineWidth(35),e.M(j,Ar),e.L(kr,Ar),e.L(kr,M),e.Z(),e.stroke()}},9722:{width:O,draw:e=>{e.lineWidth(35),e.M(j,Ar),e.L(j,M),e.L(kr,M),e.Z(),e.stroke()}},9723:{width:O,draw:e=>{e.lineWidth(35),e.rect(130,80,340,340),e.stroke()}},9724:{width:O,draw:e=>{e.rect(130,80,340,340),e.fill()}},9725:{width:O,draw:e=>{e.lineWidth(30),e.rect(170,120,260,260),e.stroke()}},9726:{width:O,draw:e=>{e.rect(170,120,260,260),e.fill()}},9727:{width:O,draw:e=>{e.lineWidth(35),e.M(kr,Ar),e.L(kr,M),e.L(j,M),e.Z(),e.stroke()}}},Mr=[[8549,6],[8550,7],[8551,8],[8552,9],[8553,10],[8554,11],[8555,12],[8556,50],[8557,100],[8558,500],[8559,1e3]],Nr=[[8560,1],[8561,2],[8562,3],[8563,4],[8564,5],[8565,6],[8566,7],[8567,8],[8568,9],[8569,10],[8570,11],[8571,12],[8572,50],[8573,100],[8574,500],[8575,1e3]],Pr={};for(let[e,t]of Mr)Pr[e]=sr(t);for(let[e,t]of Nr)Pr[e]=cr(t);Pr[8576]={width:O,draw:e=>{e.lineWidth(45),e.circle(300,250,220),e.stroke(),e.M(300,470),e.L(300,30),e.stroke()}},Pr[8577]={width:O,draw:e=>{e.lineWidth(45),e.M(180,500),e.L(180,0),e.stroke(),e.M(180,500),e.C(520,500,520,0,180,0),e.stroke(),e.M(300,500),e.L(300,0),e.stroke()}},Pr[8578]={width:O,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,250,150),e.stroke()}},Pr[8579]={width:O,draw:e=>{e.lineWidth(45),e.M(150,450),e.C(450,450,450,50,150,50),e.stroke()}},Fr={},Ir=[(e,t,n,r)=>{e.ellipse(t,n,r*.28,r*.42),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.42),e.L(t,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.25),e.C(t-r*.25,n+r*.45,t+r*.25,n+r*.45,t+r*.25,n+r*.15),e.L(t-r*.25,n-r*.42),e.L(t+r*.25,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t-r*.22,n+r*.42),e.L(t+r*.22,n+r*.42),e.L(t+r*.22,n),e.L(t-r*.1,n),e.stroke(),e.M(t+r*.22,n),e.L(t+r*.22,n-r*.42),e.L(t-r*.22,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.42),e.L(t-r*.25,n-r*.05),e.L(t+r*.25,n-r*.05),e.stroke(),e.M(t+r*.2,n+r*.42),e.L(t+r*.2,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t+r*.22,n+r*.42),e.L(t-r*.22,n+r*.42),e.L(t-r*.22,n+r*.05),e.L(t+r*.22,n+r*.05),e.C(t+r*.35,n+r*.05,t+r*.35,n-r*.42,t-r*.22,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.35),e.C(t-r*.1,n+r*.45,t-r*.3,n+r*.15,t-r*.25,n-r*.1),e.C(t-r*.2,n-r*.45,t+r*.25,n-r*.45,t+r*.25,n-r*.1),e.C(t+r*.25,n+r*.1,t-r*.25,n+r*.1,t-r*.25,n-r*.1),e.stroke()},(e,t,n,r)=>{e.M(t-r*.22,n+r*.42),e.L(t+r*.22,n+r*.42),e.L(t-r*.05,n-r*.42),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n+r*.22,r*.2,r*.2),e.stroke(),e.ellipse(t,n-r*.22,r*.22,r*.22),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.35),e.C(t+r*.1,n-r*.45,t+r*.3,n-r*.15,t+r*.25,n+r*.1),e.C(t+r*.2,n+r*.45,t-r*.25,n+r*.45,t-r*.25,n+r*.1),e.C(t-r*.25,n-r*.1,t+r*.25,n-r*.1,t+r*.25,n+r*.1),e.stroke()}],Lr=[(e,t,n,r)=>{e.M(t+r*.25,n-r*.3),e.C(t+r*.1,n-r*.45,t-r*.25,n-r*.35,t-r*.25,n-r*.1),e.C(t-r*.25,n+r*.1,t+r*.25,n+r*.1,t+r*.25,n-r*.1),e.L(t+r*.25,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.45),e.L(t-r*.2,n-r*.45),e.stroke(),e.M(t-r*.2,n-r*.05),e.C(t-r*.2,n-r*.45,t+r*.25,n-r*.45,t+r*.25,n-r*.15),e.C(t+r*.25,n+r*.1,t-r*.2,n+r*.1,t-r*.2,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n-r*.25),e.C(t+r*.05,n-r*.45,t-r*.25,n-r*.35,t-r*.25,n-r*.1),e.C(t-r*.25,n+r*.15,t+r*.05,n+r*.15,t+r*.2,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.45),e.L(t+r*.2,n-r*.45),e.stroke(),e.M(t+r*.2,n-r*.05),e.C(t+r*.2,n-r*.45,t-r*.25,n-r*.45,t-r*.25,n-r*.15),e.C(t-r*.25,n+r*.1,t+r*.2,n+r*.1,t+r*.2,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.08),e.L(t+r*.25,n-r*.08),e.C(t+r*.25,n+r*.15,t-r*.25,n+r*.15,t-r*.25,n-r*.08),e.C(t-r*.25,n-r*.4,t+r*.25,n-r*.4,t+r*.25,n-r*.25),e.stroke()},(e,t,n,r)=>{e.M(t+r*.1,n+r*.4),e.C(t+r*.1,n+r*.5,t-r*.1,n+r*.5,t-r*.1,n+r*.4),e.L(t-r*.1,n-r*.4),e.stroke(),e.M(t-r*.2,n+r*.15),e.L(t+r*.15,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t+r*.22,n+r*.1),e.C(t+r*.22,n+r*.4,t-r*.22,n+r*.4,t-r*.22,n+r*.1),e.C(t-r*.22,n-r*.2,t+r*.22,n-r*.2,t+r*.22,n+r*.1),e.L(t+r*.22,n-r*.3),e.C(t+r*.22,n-r*.5,t-r*.22,n-r*.5,t-r*.22,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.45),e.L(t-r*.2,n-r*.45),e.stroke(),e.M(t-r*.2,n+r*.05),e.C(t-r*.2,n+r*.25,t+r*.2,n+r*.25,t+r*.2,n+r*.05),e.L(t+r*.2,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.15),e.L(t,n-r*.35),e.stroke(),e.circle(t,n+r*.3,r*.06),e.fill()},(e,t,n,r)=>{e.M(t+r*.05,n+r*.15),e.L(t+r*.05,n-r*.35),e.C(t+r*.05,n-r*.5,t-r*.15,n-r*.5,t-r*.15,n-r*.35),e.stroke(),e.circle(t+r*.05,n+r*.3,r*.06),e.fill()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.45),e.L(t-r*.2,n-r*.45),e.stroke(),e.M(t+r*.2,n+r*.15),e.L(t-r*.2,n-r*.1),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.45),e.L(t,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n-r*.35),e.L(t-r*.3,n+r*.15),e.C(t-r*.3,n+r*.25,t-r*.05,n+r*.25,t-r*.05,n+r*.15),e.L(t-r*.05,n-r*.35),e.stroke(),e.M(t-r*.05,n+r*.15),e.C(t-r*.05,n+r*.25,t+r*.2,n+r*.25,t+r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.35),e.L(t-r*.2,n+r*.15),e.C(t-r*.2,n+r*.25,t+r*.2,n+r*.25,t+r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n-r*.1,r*.22,r*.28),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.45),e.L(t-r*.2,n+r*.15),e.stroke(),e.M(t-r*.2,n+r*.05),e.C(t-r*.2,n+r*.35,t+r*.25,n+r*.35,t+r*.25,n+r*.05),e.C(t+r*.25,n-r*.2,t-r*.2,n-r*.2,t-r*.2,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n-r*.45),e.L(t+r*.2,n+r*.15),e.stroke(),e.M(t+r*.2,n+r*.05),e.C(t+r*.2,n+r*.35,t-r*.25,n+r*.35,t-r*.25,n+r*.05),e.C(t-r*.25,n-r*.2,t+r*.2,n-r*.2,t+r*.2,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.15,n-r*.35),e.L(t-r*.15,n+r*.15),e.stroke(),e.M(t-r*.15,n+r*.05),e.C(t-r*.15,n+r*.25,t+r*.15,n+r*.25,t+r*.2,n+r*.1),e.stroke()},(e,t,n,r)=>{e.M(t+r*.18,n+r*.08),e.C(t+r*.18,n+r*.22,t-r*.18,n+r*.22,t-r*.18,n+r*.05),e.C(t-r*.18,n-r*.1,t+r*.18,n-r*.1,t+r*.18,n-r*.22),e.C(t+r*.18,n-r*.38,t-r*.18,n-r*.38,t-r*.18,n-r*.25),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.35),e.L(t,n-r*.35),e.C(t,n-r*.5,t+r*.15,n-r*.5,t+r*.15,n-r*.4),e.stroke(),e.M(t-r*.15,n+r*.15),e.L(t+r*.15,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t-r*.2,n-r*.15),e.C(t-r*.2,n-r*.4,t+r*.2,n-r*.4,t+r*.2,n-r*.15),e.L(t+r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.22,n+r*.15),e.L(t,n-r*.35),e.L(t+r*.22,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.15),e.L(t-r*.15,n-r*.35),e.L(t,n),e.L(t+r*.15,n-r*.35),e.L(t+r*.3,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke(),e.M(t+r*.2,n+r*.15),e.L(t-r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t,n-r*.1),e.L(t+r*.2,n+r*.15),e.stroke(),e.M(t,n-r*.1),e.L(t-r*.1,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t+r*.2,n+r*.15),e.L(t-r*.2,n-r*.35),e.L(t+r*.2,n-r*.35),e.stroke()}];for(let e=0;e<20;e++){let t=e+1;Fr[9332+e]={width:O,draw:e=>{if(e.lineWidth(25),dr(e),e.lineWidth(24),t<=9)lr(e,t,300,250,200);else{let n=Math.floor(t/10),r=t%10;lr(e,n,240,250,150),lr(e,r,380,250,150)}}}}for(let e=0;e<20;e++){let t=e+1;Fr[9352+e]={width:O,draw:e=>{if(e.lineWidth(26),t<=9)lr(e,t,260,250,210);else{let n=Math.floor(t/10),r=t%10;lr(e,n,200,250,160),lr(e,r,340,250,160)}e.circle(t<=9?400:460,80,28),e.fill()}}}for(let e=0;e<26;e++)Fr[9372+e]={width:O,draw:t=>{t.lineWidth(25),dr(t),t.lineWidth(24),ur(t,e,300,250,200)}};for(let e=0;e<=20;e++){let t=e+11;Fr[9451+e]={width:O,draw:n=>{if(n.lineWidth(55),n.circle(300,250,215),n.stroke(),n.lineWidth(24),e<=9){let e=Math.floor(t/10),r=t%10;lr(n,e,230,250,150),lr(n,r,370,250,150)}else if(e<=19){let t=e-9;t<=9?lr(n,t,300,250,170):(lr(n,1,230,250,140),lr(n,0,370,250,140))}else lr(n,0,300,250,170)}}}}));function zr(e,t,n,r,i,a,o=35){return{width:N,draw:s=>{a||s.lineWidth(o);for(let a=0;a<e;a++){let o=(a*360/e-90)*(Math.PI/180),c=(a*360/e+180/e-90)*(Math.PI/180);a===0?s.M(t+r*Math.cos(o),n+r*Math.sin(o)):s.L(t+r*Math.cos(o),n+r*Math.sin(o)),s.L(t+i*Math.cos(c),n+i*Math.sin(c))}s.Z(),a?s.fill():s.stroke()}}}var N,Br,Vr,Hr,Ur,Wr,Gr,Kr,qr=n((()=>{N=600,Br={8636:{width:N,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,250),e.Z(),e.fill()}},8637:{width:N,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,120),e.L(250,250),e.Z(),e.fill()}},8638:{width:N,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(430,300),e.L(300,300),e.Z(),e.fill()}},8639:{width:N,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(170,300),e.L(300,300),e.Z(),e.fill()}},8640:{width:N,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,380),e.L(350,250),e.Z(),e.fill()}},8641:{width:N,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,120),e.L(350,250),e.Z(),e.fill()}},8642:{width:N,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(430,200),e.L(300,200),e.Z(),e.fill()}},8643:{width:N,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(170,200),e.L(300,200),e.Z(),e.fill()}},8644:{width:N,draw:e=>{e.lineWidth(35),e.M(100,330),e.L(500,330),e.stroke(),e.M(500,330),e.L(380,400),e.L(380,260),e.Z(),e.fill(),e.M(500,170),e.L(100,170),e.stroke(),e.M(100,170),e.L(220,240),e.L(220,100),e.Z(),e.fill()}},8645:{width:N,draw:e=>{e.lineWidth(35),e.M(200,80),e.L(200,420),e.stroke(),e.M(200,420),e.L(130,310),e.L(270,310),e.Z(),e.fill(),e.M(400,420),e.L(400,80),e.stroke(),e.M(400,80),e.L(330,190),e.L(470,190),e.Z(),e.fill()}},8646:{width:N,draw:e=>{e.lineWidth(35),e.M(500,330),e.L(100,330),e.stroke(),e.M(100,330),e.L(220,400),e.L(220,260),e.Z(),e.fill(),e.M(100,170),e.L(500,170),e.stroke(),e.M(500,170),e.L(380,240),e.L(380,100),e.Z(),e.fill()}},8647:{width:N,draw:e=>{e.lineWidth(35),e.M(500,330),e.L(130,330),e.stroke(),e.M(130,330),e.L(250,400),e.L(250,260),e.Z(),e.fill(),e.M(500,170),e.L(130,170),e.stroke(),e.M(130,170),e.L(250,240),e.L(250,100),e.Z(),e.fill()}},8648:{width:N,draw:e=>{e.lineWidth(35),e.M(200,80),e.L(200,420),e.stroke(),e.M(200,420),e.L(130,310),e.L(270,310),e.Z(),e.fill(),e.M(400,80),e.L(400,420),e.stroke(),e.M(400,420),e.L(330,310),e.L(470,310),e.Z(),e.fill()}},8649:{width:N,draw:e=>{e.lineWidth(35),e.M(100,330),e.L(470,330),e.stroke(),e.M(470,330),e.L(350,400),e.L(350,260),e.Z(),e.fill(),e.M(100,170),e.L(470,170),e.stroke(),e.M(470,170),e.L(350,240),e.L(350,100),e.Z(),e.fill()}},8650:{width:N,draw:e=>{e.lineWidth(35),e.M(200,420),e.L(200,80),e.stroke(),e.M(200,80),e.L(130,190),e.L(270,190),e.Z(),e.fill(),e.M(400,420),e.L(400,80),e.stroke(),e.M(400,80),e.L(330,190),e.L(470,190),e.Z(),e.fill()}},8651:{width:N,draw:e=>{e.lineWidth(35),e.M(500,330),e.L(100,330),e.stroke(),e.M(100,330),e.L(220,410),e.L(220,330),e.Z(),e.fill(),e.M(100,170),e.L(500,170),e.stroke(),e.M(500,170),e.L(380,90),e.L(380,170),e.Z(),e.fill()}},8652:{width:N,draw:e=>{e.lineWidth(35),e.M(100,330),e.L(500,330),e.stroke(),e.M(500,330),e.L(380,410),e.L(380,330),e.Z(),e.fill(),e.M(500,170),e.L(100,170),e.stroke(),e.M(100,170),e.L(220,90),e.L(220,170),e.Z(),e.fill()}},8653:{width:N,draw:e=>{e.M(100,250),e.L(280,420),e.L(280,300),e.L(500,300),e.L(500,200),e.L(280,200),e.L(280,80),e.Z(),e.fill(),e.lineWidth(50),e.M(350,120),e.L(250,380),e.stroke()}},8654:{width:N,draw:e=>{e.M(80,250),e.L(220,400),e.L(220,300),e.L(380,300),e.L(380,400),e.L(520,250),e.L(380,100),e.L(380,200),e.L(220,200),e.L(220,100),e.Z(),e.fill(),e.lineWidth(50),e.M(350,120),e.L(250,380),e.stroke()}},8655:{width:N,draw:e=>{e.M(500,250),e.L(320,420),e.L(320,300),e.L(100,300),e.L(100,200),e.L(320,200),e.L(320,80),e.Z(),e.fill(),e.lineWidth(50),e.M(250,120),e.L(350,380),e.stroke()}},8661:{width:N,draw:e=>{e.M(300,480),e.L(460,340),e.L(360,340),e.L(360,160),e.L(460,160),e.L(300,20),e.L(140,160),e.L(240,160),e.L(240,340),e.L(140,340),e.Z(),e.fill()}},8662:{width:N,draw:e=>{e.M(100,460),e.L(100,260),e.L(200,310),e.L(380,130),e.L(430,180),e.L(250,360),e.L(300,460),e.Z(),e.fill()}},8663:{width:N,draw:e=>{e.M(500,460),e.L(300,460),e.L(350,360),e.L(170,180),e.L(220,130),e.L(400,310),e.L(500,260),e.Z(),e.fill()}},8664:{width:N,draw:e=>{e.M(500,40),e.L(500,240),e.L(400,190),e.L(220,370),e.L(170,320),e.L(350,140),e.L(300,40),e.Z(),e.fill()}},8665:{width:N,draw:e=>{e.M(100,40),e.L(300,40),e.L(250,140),e.L(430,320),e.L(380,370),e.L(200,190),e.L(100,240),e.Z(),e.fill()}},8666:{width:N,draw:e=>{e.lineWidth(30),e.M(500,310),e.L(200,310),e.stroke(),e.M(500,250),e.L(200,250),e.stroke(),e.M(500,190),e.L(200,190),e.stroke(),e.M(100,250),e.L(250,400),e.L(250,100),e.Z(),e.fill()}},8667:{width:N,draw:e=>{e.lineWidth(30),e.M(100,310),e.L(400,310),e.stroke(),e.M(100,250),e.L(400,250),e.stroke(),e.M(100,190),e.L(400,190),e.stroke(),e.M(500,250),e.L(350,400),e.L(350,100),e.Z(),e.fill()}},8668:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.C(440,330,380,170,300,250),e.C(220,330,180,170,130,250),e.stroke(),e.M(130,250),e.L(230,350),e.L(230,150),e.Z(),e.fill()}},8669:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.C(160,330,220,170,300,250),e.C(380,330,420,170,470,250),e.stroke(),e.M(470,250),e.L(370,350),e.L(370,150),e.Z(),e.fill()}},8670:{width:N,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(180,320),e.L(420,320),e.Z(),e.fill(),e.lineWidth(40),e.M(200,200),e.L(400,200),e.stroke(),e.M(200,130),e.L(400,130),e.stroke()}},8671:{width:N,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(180,180),e.L(420,180),e.Z(),e.fill(),e.lineWidth(40),e.M(200,300),e.L(400,300),e.stroke(),e.M(200,370),e.L(400,370),e.stroke()}},8672:{width:N,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(430,250),e.stroke(),e.M(370,250),e.L(300,250),e.stroke(),e.M(240,250),e.L(170,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill()}},8673:{width:N,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,120),e.stroke(),e.M(300,180),e.L(300,250),e.stroke(),e.M(300,310),e.L(300,380),e.stroke(),e.M(300,450),e.L(180,320),e.L(420,320),e.Z(),e.fill()}},8674:{width:N,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(170,250),e.stroke(),e.M(230,250),e.L(300,250),e.stroke(),e.M(360,250),e.L(430,250),e.stroke(),e.M(500,250),e.L(370,370),e.L(370,130),e.Z(),e.fill()}},8675:{width:N,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,380),e.stroke(),e.M(300,320),e.L(300,250),e.stroke(),e.M(300,190),e.L(300,120),e.stroke(),e.M(300,50),e.L(180,180),e.L(420,180),e.Z(),e.fill()}},8676:{width:N,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(150,250),e.stroke(),e.M(150,250),e.L(280,370),e.L(280,130),e.Z(),e.fill(),e.M(100,100),e.L(100,400),e.stroke()}},8677:{width:N,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(450,250),e.stroke(),e.M(450,250),e.L(320,370),e.L(320,130),e.Z(),e.fill(),e.M(500,100),e.L(500,400),e.stroke()}},8678:{width:N,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(250,430),e.L(250,320),e.L(520,320),e.L(520,180),e.L(250,180),e.L(250,70),e.Z(),e.stroke()}},8679:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(500,270),e.L(390,270),e.L(390,30),e.L(210,30),e.L(210,270),e.L(100,270),e.Z(),e.stroke()}},8680:{width:N,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(350,430),e.L(350,320),e.L(80,320),e.L(80,180),e.L(350,180),e.L(350,70),e.Z(),e.stroke()}},8681:{width:N,draw:e=>{e.lineWidth(40),e.M(300,30),e.L(100,230),e.L(210,230),e.L(210,470),e.L(390,470),e.L(390,230),e.L(500,230),e.Z(),e.stroke()}},8682:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(490,280),e.L(380,280),e.L(380,100),e.L(220,100),e.L(220,280),e.L(110,280),e.Z(),e.stroke(),e.M(130,40),e.L(470,40),e.stroke()}},8693:{width:N,draw:e=>{e.lineWidth(35),e.M(200,420),e.L(200,80),e.stroke(),e.M(200,80),e.L(130,190),e.L(270,190),e.Z(),e.fill(),e.M(400,80),e.L(400,420),e.stroke(),e.M(400,420),e.L(330,310),e.L(470,310),e.Z(),e.fill()}}},Vr={10024:{width:N,draw:e=>{e.M(300,420),e.L(270,300),e.L(180,280),e.L(270,260),e.L(300,140),e.L(330,260),e.L(420,280),e.L(330,300),e.Z(),e.fill(),e.M(440,460),e.L(430,420),e.L(400,410),e.L(430,400),e.L(440,360),e.L(450,400),e.L(480,410),e.L(450,420),e.Z(),e.fill(),e.M(160,170),e.L(150,130),e.L(120,120),e.L(150,110),e.L(160,70),e.L(170,110),e.L(200,120),e.L(170,130),e.Z(),e.fill()}},10025:zr(5,300,260,220,90,!1,40),10026:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,260,230),e.stroke();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+180*Math.cos(n),260+180*Math.sin(n)):e.L(300+180*Math.cos(n),260+180*Math.sin(n)),e.L(300+70*Math.cos(r),260+70*Math.sin(r))}e.Z(),e.stroke()}},10027:zr(5,300,260,230,110,!0),10028:{width:N,draw:e=>{e.lineWidth(40);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+220*Math.cos(n),260+220*Math.sin(n)):e.L(300+220*Math.cos(n),260+220*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke(),e.circle(300,260,60),e.fill()}},10029:zr(5,300,260,230,100,!0),10030:zr(5,300,260,240,105,!0),10031:zr(5,300,260,220,80,!1,30),10033:{width:N,draw:e=>{e.lineWidth(60);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},10034:{width:N,draw:e=>{e.lineWidth(40);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300+60*Math.cos(n),250+60*Math.sin(n)),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},10035:{width:N,draw:e=>{e.lineWidth(45);for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300,250),e.L(300+190*Math.cos(n),250+190*Math.sin(n))}e.stroke()}},10036:zr(8,300,260,220,100,!0),10037:zr(8,300,260,220,80,!1,30),10038:zr(6,300,260,220,110,!0),10039:zr(8,300,260,220,90,!0),10040:zr(8,300,260,230,80,!0),10041:zr(12,300,260,220,130,!0),10042:zr(16,300,260,220,140,!0),10043:zr(6,300,260,220,80,!0),10044:zr(6,300,260,220,80,!1,35),10045:zr(6,300,260,230,70,!0),10046:zr(6,300,260,210,120,!1,40),10047:zr(6,300,260,210,120,!0),10048:zr(6,300,260,210,120,!1,35),10049:zr(8,300,260,210,130,!1,40),10050:{width:N,draw:e=>{e.lineWidth(30),e.circle(300,260,230),e.stroke();for(let t=0;t<8;t++){let n=(t*45-90)*Math.PI/180,r=(t*45+22.5-90)*Math.PI/180;t===0?e.M(300+190*Math.cos(n),260+190*Math.sin(n)):e.L(300+190*Math.cos(n),260+190*Math.sin(n)),e.L(300+100*Math.cos(r),260+100*Math.sin(r))}e.Z(),e.stroke()}},10051:zr(8,300,260,220,70,!0),10052:{width:N,draw:e=>{e.lineWidth(35);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke(),e.lineWidth(25);for(let t=0;t<360;t+=60){let n=t*Math.PI/180,r=300+130*Math.cos(n),i=250+130*Math.sin(n),a=n+Math.PI/2;e.M(r+40*Math.cos(a),i+40*Math.sin(a)),e.L(r-40*Math.cos(a),i-40*Math.sin(a))}e.stroke()}},10053:{width:N,draw:e=>{e.lineWidth(40);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+190*Math.cos(n),250+190*Math.sin(n))}e.stroke()}},10054:{width:N,draw:e=>{e.lineWidth(45);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},10055:{width:N,draw:e=>{e.M(300,480),e.L(260,290),e.L(100,250),e.L(260,210),e.L(300,20),e.L(340,210),e.L(500,250),e.L(340,290),e.Z(),e.fill()}},10056:{width:N,draw:e=>{e.M(300,490),e.L(250,300),e.L(80,250),e.L(250,200),e.L(300,10),e.L(350,200),e.L(520,250),e.L(350,300),e.Z(),e.fill()}},10057:{width:N,draw:e=>{e.lineWidth(55);for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300,250),e.L(300+180*Math.cos(n),250+180*Math.sin(n))}e.stroke()}},10058:zr(8,300,260,220,60,!0),10059:zr(8,300,260,230,50,!0),10060:{width:N,draw:e=>{e.lineWidth(80),e.M(120,70),e.L(480,430),e.stroke(),e.M(120,430),e.L(480,70),e.stroke()}},10061:{width:N,draw:e=>{e.lineWidth(50),e.circle(300,260,190),e.stroke(),e.lineWidth(25),e.M(420,100),e.C(500,140,530,240,490,340),e.stroke()}},10062:{width:N,draw:e=>{e.rect(80,30,440,440),e.fill()}},10067:{width:N,draw:e=>{e.lineWidth(65),e.M(200,400),e.C(200,500,400,500,400,400),e.C(400,320,300,300,300,220),e.stroke(),e.circle(300,100,40),e.fill()}},10068:{width:N,draw:e=>{e.lineWidth(50),e.M(200,400),e.C(200,500,400,500,400,400),e.C(400,320,300,300,300,220),e.stroke(),e.lineWidth(40),e.circle(300,100,35),e.stroke()}},10069:{width:N,draw:e=>{e.lineWidth(50),e.M(300,480),e.L(300,180),e.stroke(),e.lineWidth(40),e.circle(300,80,35),e.stroke()}},10071:{width:N,draw:e=>{e.lineWidth(75),e.M(300,480),e.L(300,180),e.stroke(),e.circle(300,70,45),e.fill()}},10082:{width:N,draw:e=>{e.lineWidth(55),e.M(300,480),e.L(300,200),e.stroke(),e.circle(300,100,35),e.fill(),e.circle(300,500,20),e.fill()}},10083:{width:N,draw:e=>{e.M(300,320),e.C(300,320,180,400,180,450),e.C(180,490,240,510,300,510),e.C(360,510,420,490,420,450),e.C(420,400,300,320,300,320),e.Z(),e.fill(),e.lineWidth(55),e.M(300,300),e.L(300,130),e.stroke(),e.circle(300,50,35),e.fill()}},10085:{width:N,draw:e=>{e.M(250,80),e.C(250,80,80,200,80,310),e.C(80,400,160,440,250,440),e.C(340,440,400,400,400,310),e.C(400,200,250,80,250,80),e.Z(),e.fill()}},10086:{width:N,draw:e=>{e.lineWidth(35),e.M(300,80),e.C(300,80,100,220,100,340),e.C(100,440,190,490,300,490),e.C(410,490,500,440,500,340),e.C(500,220,300,80,300,80),e.Z(),e.stroke(),e.M(300,150),e.C(250,200,200,300,300,400),e.C(400,300,350,200,300,150),e.stroke()}},10087:{width:N,draw:e=>{e.lineWidth(35),e.M(250,80),e.C(250,80,80,200,80,310),e.C(80,400,160,440,250,440),e.C(340,440,400,400,400,310),e.C(400,200,250,80,250,80),e.Z(),e.stroke()}},10133:{width:N,draw:e=>{e.rect(220,50,160,400),e.fill(),e.rect(100,170,400,160),e.fill()}},10134:{width:N,draw:e=>{e.rect(100,180,400,140),e.fill()}},10135:{width:N,draw:e=>{e.rect(100,200,400,100),e.fill(),e.circle(300,400,50),e.fill(),e.circle(300,100,50),e.fill()}},10136:{width:N,draw:e=>{e.M(480,50),e.L(480,250),e.L(320,200),e.L(140,430),e.L(100,400),e.L(280,170),e.L(230,50),e.Z(),e.fill()}},10137:{width:N,draw:e=>{e.M(520,250),e.L(340,430),e.L(340,310),e.L(80,310),e.L(80,190),e.L(340,190),e.L(340,70),e.Z(),e.fill()}},10138:{width:N,draw:e=>{e.M(480,450),e.L(230,450),e.L(280,330),e.L(100,100),e.L(140,70),e.L(320,300),e.L(480,250),e.Z(),e.fill()}},10139:{width:N,draw:e=>{e.M(520,250),e.L(350,400),e.L(350,280),e.L(80,250),e.L(350,220),e.L(350,100),e.Z(),e.fill()}},10141:{width:N,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(400,250),e.stroke(),e.M(520,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},10142:{width:N,draw:e=>{e.lineWidth(50),e.M(80,250),e.L(380,250),e.stroke(),e.M(530,250),e.L(350,420),e.L(350,80),e.Z(),e.fill()}},10143:{width:N,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(160,250),e.stroke(),e.M(210,250),e.L(290,250),e.stroke(),e.M(340,250),e.L(400,250),e.stroke(),e.M(520,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},10144:{width:N,draw:e=>{e.lineWidth(55),e.M(80,250),e.L(170,250),e.stroke(),e.M(230,250),e.L(350,250),e.stroke(),e.M(530,250),e.L(350,420),e.L(350,80),e.Z(),e.fill()}},10146:{width:N,draw:e=>{e.M(520,250),e.L(200,430),e.L(280,250),e.L(200,70),e.Z(),e.fill()}},10147:{width:N,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(200,430),e.L(280,250),e.L(200,70),e.Z(),e.stroke()}},10148:{width:N,draw:e=>{e.M(520,250),e.L(100,450),e.L(100,50),e.Z(),e.fill()}},10149:{width:N,draw:e=>{e.M(500,200),e.L(380,320),e.L(380,240),e.C(300,240,200,280,150,380),e.L(100,380),e.C(140,220,260,150,380,150),e.L(380,80),e.Z(),e.fill()}},10150:{width:N,draw:e=>{e.M(500,300),e.L(380,420),e.L(380,350),e.C(260,350,140,280,100,120),e.L(150,120),e.C(200,220,300,260,380,260),e.L(380,180),e.Z(),e.fill()}},10151:{width:N,draw:e=>{e.M(500,250),e.L(350,380),e.L(350,310),e.L(100,310),e.L(100,190),e.L(350,190),e.L(350,120),e.Z(),e.fill()}},10152:{width:N,draw:e=>{e.M(520,250),e.L(320,440),e.L(320,310),e.L(80,310),e.C(150,250,150,250,80,190),e.L(320,190),e.L(320,60),e.Z(),e.fill()}},10153:{width:N,draw:e=>{e.lineWidth(35),e.M(520,250),e.L(340,430),e.L(340,310),e.L(80,310),e.L(80,190),e.L(340,190),e.L(340,70),e.Z(),e.stroke()}},10154:{width:N,draw:e=>{e.lineWidth(35),e.M(520,250),e.L(340,430),e.L(340,310),e.L(80,310),e.L(80,190),e.L(340,190),e.L(340,70),e.Z(),e.fillStroke()}},10155:{width:N,draw:e=>{e.M(520,250),e.L(340,440),e.L(340,310),e.L(100,310),e.L(100,190),e.L(340,190),e.L(340,60),e.Z(),e.fill()}},10156:{width:N,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(340,440),e.L(340,310),e.L(100,310),e.L(100,190),e.L(340,190),e.L(340,60),e.Z(),e.fillStroke()}},10157:{width:N,draw:e=>{e.lineWidth(45),e.M(510,250),e.L(340,420),e.L(340,310),e.L(90,310),e.L(90,190),e.L(340,190),e.L(340,80),e.Z(),e.stroke()}},10158:{width:N,draw:e=>{e.lineWidth(50),e.M(510,250),e.L(340,420),e.L(340,310),e.L(90,310),e.L(90,190),e.L(340,190),e.L(340,80),e.Z(),e.stroke()}},10159:{width:N,draw:e=>{e.M(520,250),e.L(350,430),e.L(350,310),e.L(100,310),e.L(140,250),e.L(100,190),e.L(350,190),e.L(350,70),e.Z(),e.fill()}},10161:{width:N,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(350,430),e.L(350,310),e.L(100,310),e.L(140,250),e.L(100,190),e.L(350,190),e.L(350,70),e.Z(),e.stroke()}},10162:{width:N,draw:e=>{e.circle(300,250,230),e.fill()}},10163:{width:N,draw:e=>{e.lineWidth(30),e.M(80,250),e.L(450,250),e.stroke(),e.M(520,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(20),e.M(120,250),e.L(80,320),e.stroke(),e.M(120,250),e.L(80,180),e.stroke()}},10164:{width:N,draw:e=>{e.M(480,50),e.L(480,220),e.L(200,400),e.L(250,50),e.Z(),e.fill()}},10165:{width:N,draw:e=>{e.M(520,250),e.L(390,360),e.L(390,275),e.L(80,275),e.L(120,250),e.L(80,225),e.L(390,225),e.L(390,140),e.Z(),e.fill()}},10166:{width:N,draw:e=>{e.M(480,450),e.L(250,450),e.L(200,100),e.L(480,280),e.Z(),e.fill()}},10167:{width:N,draw:e=>{e.M(500,50),e.L(500,240),e.L(180,420),e.L(230,50),e.Z(),e.fill()}},10168:{width:N,draw:e=>{e.M(530,250),e.L(380,380),e.L(380,290),e.L(70,290),e.L(120,250),e.L(70,210),e.L(380,210),e.L(380,120),e.Z(),e.fill()}},10169:{width:N,draw:e=>{e.M(500,450),e.L(230,450),e.L(180,80),e.L(500,260),e.Z(),e.fill()}},10170:{width:N,draw:e=>{e.M(520,250),e.L(370,380),e.L(370,270),e.C(200,270,120,260,80,250),e.C(120,240,200,230,370,230),e.L(370,120),e.Z(),e.fill()}},10171:{width:N,draw:e=>{e.M(530,250),e.L(380,400),e.L(380,290),e.C(250,290,150,280,70,250),e.C(150,220,250,210,380,210),e.L(380,100),e.Z(),e.fill()}},10172:{width:N,draw:e=>{e.lineWidth(35),e.M(80,310),e.L(400,260),e.stroke(),e.M(80,190),e.L(400,240),e.stroke(),e.M(520,250),e.L(380,370),e.L(380,130),e.Z(),e.fill()}},10173:{width:N,draw:e=>{e.M(530,250),e.L(380,400),e.L(380,280),e.L(70,320),e.L(70,180),e.L(380,220),e.L(380,100),e.Z(),e.fill()}},10174:{width:N,draw:e=>{e.lineWidth(35),e.M(510,250),e.L(340,420),e.L(340,310),e.L(90,310),e.L(90,190),e.L(340,190),e.L(340,80),e.Z(),e.stroke()}}},Hr={9730:{width:N,draw:e=>{e.lineWidth(40),e.M(80,280),e.C(80,480,300,520,300,520),e.C(300,520,520,480,520,280),e.L(80,280),e.stroke(),e.M(300,280),e.L(300,80),e.C(300,30,260,20,240,50),e.stroke()}},9731:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,100,80),e.stroke(),e.circle(300,260,110),e.stroke(),e.circle(300,430,70),e.stroke()}},9732:{width:N,draw:e=>{e.circle(420,380,70),e.fill(),e.lineWidth(30),e.M(370,420),e.C(250,470,100,480,80,460),e.stroke(),e.M(380,440),e.C(280,490,120,500,80,490),e.stroke()}},9748:{width:N,draw:e=>{e.lineWidth(35),e.M(80,300),e.C(80,480,300,500,300,500),e.C(300,500,520,480,520,300),e.L(80,300),e.stroke(),e.M(300,300),e.L(300,100),e.C(300,50,260,40,240,70),e.stroke(),e.lineWidth(25),e.M(150,200),e.L(130,160),e.stroke(),e.M(300,180),e.L(280,140),e.stroke(),e.M(450,200),e.L(430,160),e.stroke()}},9749:{width:N,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(120,300),e.L(400,300),e.L(400,50),e.stroke(),e.M(400,250),e.C(480,250,500,180,480,120),e.C(460,80,400,80,400,100),e.stroke(),e.lineWidth(25),e.M(200,340),e.C(200,380,220,400,200,440),e.stroke(),e.M(300,340),e.C(300,380,320,400,300,440),e.stroke()}},9752:{width:N,draw:e=>{e.circle(300,370,80),e.fill(),e.circle(220,280,80),e.fill(),e.circle(380,280,80),e.fill(),e.lineWidth(30),e.M(300,290),e.C(300,200,280,100,260,50),e.stroke()}},9760:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,350,120),e.stroke(),e.circle(260,370,25),e.fill(),e.circle(340,370,25),e.fill(),e.M(250,260),e.L(350,260),e.stroke(),e.lineWidth(30),e.M(130,100),e.L(470,200),e.stroke(),e.M(130,200),e.L(470,100),e.stroke()}},9762:{width:N,draw:e=>{e.circle(300,250,40),e.fill(),e.lineWidth(35);for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180,r=300+70*Math.cos(n-.4),i=250+70*Math.sin(n-.4),a=300+200*Math.cos(n-.4),o=250+200*Math.sin(n-.4),s=300+200*Math.cos(n+.4),c=250+200*Math.sin(n+.4),l=300+70*Math.cos(n+.4),u=250+70*Math.sin(n+.4);e.M(r,i),e.L(a,o),e.L(s,c),e.L(l,u),e.Z(),e.fill()}}},9763:{width:N,draw:e=>{e.lineWidth(35);for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180;e.circle(300+90*Math.cos(n),250+90*Math.sin(n),110),e.stroke()}e.circle(300,250,25),e.fill()}},9766:{width:N,draw:e=>{e.lineWidth(45),e.M(300,0),e.L(300,500),e.stroke(),e.M(180,400),e.L(420,400),e.stroke(),e.M(180,120),e.L(420,80),e.stroke(),e.M(220,460),e.L(380,460),e.stroke()}},9784:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,250,200),e.stroke();for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke(),e.circle(300,250,40),e.fill()}},9788:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,250,110),e.stroke();for(let t=0;t<360;t+=30){let n=t*Math.PI/180;e.M(300+130*Math.cos(n),250+130*Math.sin(n)),e.L(300+210*Math.cos(n),250+210*Math.sin(n))}e.stroke()}},9800:{width:N,draw:e=>{e.lineWidth(45),e.M(150,50),e.C(150,300,300,400,300,480),e.stroke(),e.M(450,50),e.C(450,300,300,400,300,480),e.stroke()}},9801:{width:N,draw:e=>{e.lineWidth(45),e.circle(300,200,150),e.stroke(),e.M(100,430),e.C(200,500,400,500,500,430),e.stroke()}},9802:{width:N,draw:e=>{e.lineWidth(45),e.M(120,450),e.C(200,500,400,500,480,450),e.stroke(),e.M(120,50),e.C(200,0,400,0,480,50),e.stroke(),e.M(220,450),e.L(220,50),e.stroke(),e.M(380,450),e.L(380,50),e.stroke()}},9803:{width:N,draw:e=>{e.lineWidth(45),e.M(480,380),e.C(300,500,120,380,120,300),e.stroke(),e.circle(200,350,60),e.fill(),e.M(120,120),e.C(300,0,480,120,480,200),e.stroke(),e.circle(400,150,60),e.fill()}},9804:{width:N,draw:e=>{e.lineWidth(45),e.circle(200,150,100),e.stroke(),e.M(300,150),e.C(400,150,480,250,480,350),e.C(480,450,420,480,380,430),e.stroke()}},9805:{width:N,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(100,400),e.C(100,480,200,480,200,400),e.L(200,50),e.stroke(),e.M(200,400),e.C(200,480,300,480,300,400),e.L(300,50),e.stroke(),e.M(300,300),e.L(480,100),e.stroke()}},9806:{width:N,draw:e=>{e.lineWidth(45),e.M(100,50),e.L(500,50),e.stroke(),e.M(100,200),e.L(500,200),e.stroke(),e.M(300,200),e.C(150,200,100,350,200,420),e.stroke(),e.M(300,200),e.C(450,200,500,350,400,420),e.stroke()}},9807:{width:N,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(100,400),e.C(100,480,200,480,200,400),e.L(200,50),e.stroke(),e.M(200,400),e.C(200,480,300,480,300,400),e.L(300,50),e.stroke(),e.M(300,50),e.L(400,50),e.L(350,100),e.stroke()}},9808:{width:N,draw:e=>{e.lineWidth(45),e.M(120,80),e.L(480,440),e.stroke(),e.M(480,440),e.L(350,440),e.stroke(),e.M(480,440),e.L(480,310),e.stroke(),e.M(200,260),e.L(380,160),e.stroke()}},9809:{width:N,draw:e=>{e.lineWidth(45),e.M(100,450),e.L(100,200),e.C(100,100,200,50,300,100),e.C(400,150,450,100,450,50),e.stroke(),e.M(450,50),e.C(500,100,500,200,420,250),e.stroke()}},9810:{width:N,draw:e=>{e.lineWidth(45),e.M(80,350),e.C(150,400,250,300,300,350),e.C(350,400,450,300,520,350),e.stroke(),e.M(80,200),e.C(150,250,250,150,300,200),e.C(350,250,450,150,520,200),e.stroke()}},9811:{width:N,draw:e=>{e.lineWidth(45),e.M(120,100),e.C(200,250,200,250,120,400),e.stroke(),e.M(480,100),e.C(400,250,400,250,480,400),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},9825:{width:N,draw:e=>{e.lineWidth(35),e.M(300,80),e.C(300,80,80,200,80,340),e.C(80,440,180,490,300,490),e.C(420,490,520,440,520,340),e.C(520,200,300,80,300,80),e.Z(),e.stroke()}},9826:{width:N,draw:e=>{e.lineWidth(35),e.M(300,500),e.L(500,250),e.L(300,0),e.L(100,250),e.Z(),e.stroke()}},9828:{width:N,draw:e=>{e.lineWidth(35),e.M(300,500),e.C(300,500,80,350,80,200),e.C(80,100,200,50,300,180),e.C(400,50,520,100,520,200),e.C(520,350,300,500,300,500),e.Z(),e.stroke(),e.lineWidth(30),e.M(280,0),e.L(320,0),e.L(310,140),e.L(290,140),e.Z(),e.stroke()}},9831:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,370,100),e.stroke(),e.circle(195,240,90),e.stroke(),e.circle(405,240,90),e.stroke(),e.lineWidth(30),e.M(280,0),e.L(320,0),e.L(310,180),e.L(290,180),e.Z(),e.stroke()}},9851:{width:N,draw:e=>{e.lineWidth(40);for(let t=0;t<3;t++){let n=(t*120+30)*Math.PI/180,r=(t*120+90)*Math.PI/180;e.M(300+180*Math.cos(n),240+180*Math.sin(n)),e.C(300+216*Math.cos((n+r)/2),240+216*Math.sin((n+r)/2),300+216*Math.cos((n+r)/2),240+216*Math.sin((n+r)/2),300+180*Math.cos(r),240+180*Math.sin(r))}e.stroke();for(let t=0;t<3;t++){let n=(t*120+90)*Math.PI/180,r=(t*120+120)*Math.PI/180,i=300+180*Math.cos(n),a=240+180*Math.sin(n);e.M(i,a),e.L(i+40*Math.cos(r+2.5),a+40*Math.sin(r+2.5)),e.L(i+40*Math.cos(r-2.5),a+40*Math.sin(r-2.5)),e.Z(),e.fill()}}},9854:{width:N,draw:e=>{e.lineWidth(35),e.M(300,250),e.C(300,350,420,380,450,300),e.C(480,220,420,150,380,180),e.C(340,210,300,250,300,250),e.C(300,250,260,290,220,320),e.C(180,350,120,280,150,200),e.C(180,120,300,150,300,250),e.stroke()}},9855:{width:N,draw:e=>{e.lineWidth(40),e.circle(280,420,40),e.fill(),e.M(280,380),e.L(280,220),e.L(380,220),e.stroke(),e.circle(300,160,100),e.stroke(),e.M(380,220),e.L(420,80),e.stroke()}},9874:{width:N,draw:e=>{e.lineWidth(40),e.M(150,80),e.L(400,380),e.stroke(),e.M(450,80),e.L(200,380),e.stroke(),e.M(350,350),e.L(450,420),e.stroke(),e.M(150,420),e.L(250,350),e.stroke()}},9875:{width:N,draw:e=>{e.lineWidth(45),e.circle(300,440,40),e.stroke(),e.M(300,400),e.L(300,80),e.stroke(),e.M(180,320),e.L(420,320),e.stroke(),e.M(300,80),e.C(150,80,100,150,130,200),e.stroke(),e.M(300,80),e.C(450,80,500,150,470,200),e.stroke()}},9876:{width:N,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(500,450),e.stroke(),e.M(500,50),e.L(100,450),e.stroke(),e.lineWidth(30),e.M(140,130),e.L(200,70),e.stroke(),e.M(460,130),e.L(400,70),e.stroke()}},9877:{width:N,draw:e=>{e.lineWidth(40),e.M(300,20),e.L(300,480),e.stroke(),e.lineWidth(30),e.M(300,380),e.C(400,380,420,320,300,300),e.C(180,280,200,220,300,200),e.C(400,180,380,120,300,120),e.stroke()}},9878:{width:N,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(500,350),e.stroke(),e.M(300,350),e.L(300,80),e.stroke(),e.M(200,80),e.L(400,80),e.stroke(),e.M(100,350),e.C(100,250,180,220,220,250),e.stroke(),e.M(500,350),e.C(500,250,420,220,380,250),e.stroke()}},9879:{width:N,draw:e=>{e.lineWidth(35),e.M(200,50),e.L(400,50),e.L(480,250),e.C(500,300,460,350,400,350),e.L(200,350),e.C(140,350,100,300,120,250),e.L(200,50),e.Z(),e.stroke(),e.M(250,350),e.L(250,450),e.stroke(),e.M(350,350),e.L(350,450),e.stroke()}},9881:{width:N,draw:e=>{e.lineWidth(30),e.circle(300,250,100),e.stroke();for(let t=0;t<8;t++){let n=t*360/8*(Math.PI/180),r=15*Math.PI/180;e.M(300+130*Math.cos(n-r),250+130*Math.sin(n-r)),e.L(300+200*Math.cos(n-r*.7),250+200*Math.sin(n-r*.7)),e.L(300+200*Math.cos(n+r*.7),250+200*Math.sin(n+r*.7)),e.L(300+130*Math.cos(n+r),250+130*Math.sin(n+r))}e.fill(),e.circle(300,250,130),e.stroke()}},9883:{width:N,draw:e=>{e.lineWidth(30),e.ellipse(300,250,220,80),e.stroke(),e.M(130,100),e.C(200,50,440,300,470,400),e.C(440,450,200,200,130,100),e.stroke(),e.M(470,100),e.C(400,50,160,300,130,400),e.C(160,450,400,200,470,100),e.stroke(),e.circle(300,250,25),e.fill()}},9884:{width:N,draw:e=>{e.lineWidth(30),e.M(300,480),e.C(280,400,260,300,300,200),e.C(340,300,320,400,300,480),e.stroke(),e.M(300,300),e.C(200,350,100,400,100,350),e.C(100,300,180,250,250,200),e.stroke(),e.M(300,300),e.C(400,350,500,400,500,350),e.C(500,300,420,250,350,200),e.stroke(),e.M(200,100),e.L(400,100),e.stroke(),e.M(300,200),e.L(300,100),e.stroke()}},9893:{width:N,draw:e=>{e.lineWidth(40),e.circle(280,270,120),e.stroke(),e.M(280,150),e.L(280,30),e.stroke(),e.M(220,90),e.L(340,90),e.stroke(),e.M(370,350),e.L(490,460),e.stroke(),e.M(420,460),e.L(490,460),e.L(490,390),e.stroke()}},9895:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,220,110),e.stroke(),e.M(375,295),e.L(480,420),e.stroke(),e.M(420,420),e.L(480,420),e.L(480,360),e.stroke(),e.M(300,110),e.L(300,20),e.stroke(),e.M(250,60),e.L(350,60),e.stroke()}},9904:{width:N,draw:e=>{e.lineWidth(40),e.M(200,480),e.L(140,300),e.L(200,20),e.L(400,20),e.L(460,300),e.L(400,480),e.Z(),e.stroke()}},9917:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,250,200),e.stroke();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=((t+1)*72-90)*Math.PI/180;t===0&&e.M(300+80*Math.cos(n),250+80*Math.sin(n)),e.L(300+80*Math.cos(r),250+80*Math.sin(r))}e.Z(),e.fill()}},9918:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,250,200),e.stroke(),e.lineWidth(25),e.M(150,400),e.C(200,300,200,200,150,100),e.stroke(),e.M(450,400),e.C(400,300,400,200,450,100),e.stroke()}},9924:{width:N,draw:e=>{e.circle(300,140,100),e.fill(),e.circle(300,350,70),e.fill()}},9925:{width:N,draw:e=>{e.lineWidth(30),e.M(420,420),e.C(480,420,520,380,520,320),e.stroke();for(let t=-30;t<=60;t+=30){let n=t*Math.PI/180;e.M(460+60*Math.cos(n),360+60*Math.sin(n)),e.L(460+100*Math.cos(n),360+100*Math.sin(n))}e.stroke(),e.lineWidth(35),e.M(100,220),e.C(100,370,180,400,260,380),e.C(280,430,380,430,400,380),e.C(460,380,480,300,440,220),e.L(100,220),e.fill(),e.M(100,220),e.C(100,370,180,400,260,380),e.C(280,430,380,430,400,380),e.C(460,380,480,300,440,220),e.L(100,220),e.stroke()}},9934:{width:N,draw:e=>{e.lineWidth(45),e.M(150,450),e.L(150,200),e.C(150,50,450,50,450,200),e.L(450,450),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},9940:{width:N,draw:e=>{e.circle(300,250,220),e.fill()}},9962:{width:N,draw:e=>{e.lineWidth(35),e.rect(150,50,300,250),e.stroke(),e.M(130,300),e.L(300,420),e.L(470,300),e.Z(),e.stroke(),e.M(300,420),e.L(300,490),e.stroke(),e.M(270,460),e.L(330,460),e.stroke(),e.M(260,50),e.L(260,150),e.L(340,150),e.L(340,50),e.stroke()}},9970:{width:N,draw:e=>{e.lineWidth(35),e.M(100,50),e.L(500,50),e.stroke(),e.M(150,50),e.L(150,200),e.stroke(),e.M(450,50),e.L(450,200),e.stroke(),e.M(100,200),e.L(500,200),e.stroke(),e.M(300,200),e.L(300,380),e.stroke(),e.M(300,380),e.C(200,420,150,300,150,200),e.stroke(),e.M(300,380),e.C(400,420,450,300,450,200),e.stroke()}},9971:{width:N,draw:e=>{e.lineWidth(35),e.M(250,30),e.L(250,480),e.stroke(),e.M(250,480),e.L(450,420),e.L(250,360),e.Z(),e.fill(),e.M(120,30),e.C(200,60,300,60,380,30),e.stroke()}},9973:{width:N,draw:e=>{e.lineWidth(35),e.M(80,150),e.L(520,150),e.L(450,50),e.L(150,50),e.Z(),e.stroke(),e.M(300,150),e.L(300,470),e.stroke(),e.M(300,460),e.L(450,200),e.L(300,200),e.Z(),e.stroke()}},9978:{width:N,draw:e=>{e.lineWidth(40),e.M(80,50),e.L(300,450),e.L(520,50),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.stroke()}}},Ur={8961:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(200,350),e.L(280,200),e.L(380,350),e.L(450,250),e.stroke(),e.M(450,250),e.L(500,320),e.L(500,180),e.Z(),e.fill()}},8963:{width:N,draw:e=>{e.lineWidth(50),e.M(130,100),e.L(300,400),e.L(470,100),e.stroke()}},8964:{width:N,draw:e=>{e.lineWidth(50),e.M(130,400),e.L(300,100),e.L(470,400),e.stroke()}},8965:{width:N,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(300,100),e.L(300,450),e.stroke(),e.M(200,350),e.L(400,350),e.stroke()}},8966:{width:N,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,100),e.L(300,450),e.stroke()}},8967:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.C(180,350,260,150,340,250),e.C(420,350,500,150,520,250),e.stroke()}},8968:{width:N,draw:e=>{e.lineWidth(50),e.M(400,450),e.L(200,450),e.L(200,50),e.stroke()}},8969:{width:N,draw:e=>{e.lineWidth(50),e.M(200,450),e.L(400,450),e.L(400,50),e.stroke()}},8970:{width:N,draw:e=>{e.lineWidth(50),e.M(200,450),e.L(200,50),e.L(400,50),e.stroke()}},8971:{width:N,draw:e=>{e.lineWidth(50),e.M(400,450),e.L(400,50),e.L(200,50),e.stroke()}},8972:{width:N,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(450,100),e.L(450,250),e.stroke()}},8973:{width:N,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(150,100),e.L(150,250),e.stroke()}},8974:{width:N,draw:e=>{e.lineWidth(45),e.M(300,400),e.L(450,400),e.L(450,250),e.stroke()}},8975:{width:N,draw:e=>{e.lineWidth(45),e.M(300,400),e.L(150,400),e.L(150,250),e.stroke()}},8977:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke()}},8978:{width:N,draw:e=>{e.lineWidth(50),e.M(80,100),e.C(80,400,520,400,520,100),e.stroke()}},8979:{width:N,draw:e=>{e.lineWidth(45),e.M(80,200),e.C(80,450,520,450,520,200),e.stroke(),e.M(80,200),e.L(520,200),e.stroke()}},8980:{width:N,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(120,400),e.C(200,500,400,500,480,400),e.L(300,100),e.stroke()}},8982:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,120),e.stroke(),e.M(300,50),e.L(300,450),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},8983:{width:N,draw:e=>{e.lineWidth(40),e.rect(120,70,360,360),e.stroke(),e.M(300,70),e.L(300,430),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},8985:{width:N,draw:e=>{e.lineWidth(50),e.M(120,350),e.L(480,350),e.L(480,150),e.stroke()}},8988:{width:N,draw:e=>{e.lineWidth(45),e.M(150,300),e.L(150,420),e.L(300,420),e.stroke()}},8989:{width:N,draw:e=>{e.lineWidth(45),e.M(300,420),e.L(450,420),e.L(450,300),e.stroke()}},8990:{width:N,draw:e=>{e.lineWidth(45),e.M(150,200),e.L(150,80),e.L(300,80),e.stroke()}},8991:{width:N,draw:e=>{e.lineWidth(45),e.M(300,80),e.L(450,80),e.L(450,200),e.stroke()}},8992:{width:N,draw:e=>{e.lineWidth(50),e.M(380,480),e.C(350,480,300,450,300,400),e.L(300,50),e.stroke()}},8993:{width:N,draw:e=>{e.lineWidth(50),e.M(300,450),e.L(300,100),e.C(300,50,250,20,220,20),e.stroke()}},8994:{width:N,draw:e=>{e.lineWidth(50),e.M(80,350),e.C(200,100,400,100,520,350),e.stroke()}},8995:{width:N,draw:e=>{e.lineWidth(50),e.M(80,200),e.C(200,450,400,450,520,200),e.stroke()}},8996:{width:N,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(100,400),e.L(500,400),e.stroke(),e.M(200,200),e.L(300,350),e.L(400,200),e.stroke()}},8997:{width:N,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(250,100),e.L(400,400),e.L(500,400),e.stroke(),e.M(300,400),e.L(500,400),e.stroke(),e.M(100,400),e.L(300,400),e.stroke()}},8998:{width:N,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(200,420),e.L(520,420),e.L(520,80),e.L(200,80),e.Z(),e.stroke(),e.M(280,180),e.L(440,320),e.stroke(),e.M(280,320),e.L(440,180),e.stroke()}},8999:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,70,400,360),e.stroke(),e.M(180,150),e.L(420,350),e.stroke(),e.M(180,350),e.L(420,150),e.stroke()}},9003:{width:N,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(400,420),e.L(80,420),e.L(80,80),e.L(400,80),e.Z(),e.stroke(),e.M(160,180),e.L(320,320),e.stroke(),e.M(160,320),e.L(320,180),e.stroke()}},9001:{width:N,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(200,250),e.L(400,50),e.stroke()}},9002:{width:N,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(400,250),e.L(200,50),e.stroke()}},9004:{width:N,draw:e=>{e.lineWidth(35);for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180,r=((t+1)*60-90)*Math.PI/180;e.M(300+180*Math.cos(n),250+180*Math.sin(n)),e.L(300+180*Math.cos(r),250+180*Math.sin(r))}e.stroke(),e.circle(300,250,100),e.stroke()}},9005:{width:N,draw:e=>{e.lineWidth(40),e.M(150,420),e.L(150,80),e.stroke(),e.M(450,420),e.L(450,80),e.stroke(),e.ellipse(300,420,150,40),e.stroke(),e.ellipse(300,80,150,40),e.stroke()}},9006:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.M(300,450),e.L(300,480),e.stroke()}},9007:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(250,350),e.L(300,400),e.L(350,350),e.stroke()}},9008:{width:N,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(150,100),e.L(450,100),e.stroke(),e.M(150,250),e.L(350,250),e.stroke()}},9009:{width:N,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,400),e.stroke()}},9010:{width:N,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(500,300),e.stroke(),e.M(100,150),e.L(500,200),e.stroke()}},9011:{width:N,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(100,400),e.L(500,250),e.stroke()}},9012:{width:N,draw:e=>{e.lineWidth(40),e.M(200,400),e.L(200,250),e.L(100,250),e.L(100,100),e.L(500,100),e.L(500,250),e.L(400,250),e.L(400,400),e.stroke()}},9013:{width:N,draw:e=>{e.lineWidth(40),e.M(200,100),e.L(100,300),e.L(100,400),e.stroke(),e.M(400,100),e.L(500,300),e.L(500,400),e.stroke(),e.M(200,100),e.L(400,100),e.stroke()}},9014:{width:N,draw:e=>{e.lineWidth(45),e.M(150,420),e.L(450,420),e.stroke(),e.M(150,80),e.L(450,80),e.stroke(),e.M(300,420),e.L(300,80),e.stroke()}},9015:{width:N,draw:e=>{e.lineWidth(40),e.rect(150,80,300,340),e.stroke()}},9016:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(180,300),e.L(420,300),e.stroke(),e.M(180,200),e.L(420,200),e.stroke()}},9017:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(180,250),e.L(420,250),e.stroke(),e.circle(300,340,30),e.fill(),e.circle(300,160,30),e.fill()}},9018:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,380),e.L(420,250),e.L(300,120),e.L(180,250),e.Z(),e.stroke()}},9019:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,80),e.stroke()}},9020:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,130),e.stroke()}},9021:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(300,430),e.L(300,70),e.stroke()}},9022:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.circle(300,250,70),e.stroke()}},9023:{width:N,draw:e=>{e.lineWidth(45),e.M(400,420),e.L(200,80),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},9024:{width:N,draw:e=>{e.lineWidth(45),e.M(200,420),e.L(400,80),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},9025:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(400,380),e.L(200,120),e.stroke()}},9026:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,380),e.L(400,120),e.stroke()}},9027:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(380,370),e.L(220,250),e.L(380,130),e.stroke()}},9028:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(220,370),e.L(380,250),e.L(220,130),e.stroke()}},9029:{width:N,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,400),e.stroke()}},9030:{width:N,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,400),e.stroke()}},9031:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(420,250),e.L(180,250),e.stroke(),e.M(180,250),e.L(270,330),e.L(270,170),e.Z(),e.fill()}},9032:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(180,250),e.L(420,250),e.stroke(),e.M(420,250),e.L(330,330),e.L(330,170),e.Z(),e.fill()}},9033:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(170,120),e.L(430,380),e.stroke()}},9034:{width:N,draw:e=>{e.lineWidth(45),e.M(100,80),e.L(500,80),e.stroke(),e.M(300,80),e.L(300,350),e.stroke(),e.M(150,350),e.L(450,350),e.stroke(),e.M(100,420),e.L(500,420),e.stroke()}},9035:{width:N,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(150,120),e.L(450,120),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.stroke()}},9036:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,350),e.L(300,150),e.L(400,350),e.stroke()}},9037:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,370),e.L(190,140),e.L(410,140),e.Z(),e.stroke()}},9038:{width:N,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(450,400),e.stroke(),e.M(300,400),e.L(300,150),e.stroke(),e.circle(300,100,50),e.stroke()}},9039:{width:N,draw:e=>{e.lineWidth(45),e.M(300,80),e.L(300,420),e.stroke(),e.M(300,420),e.L(180,300),e.stroke()}},9040:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,120),e.L(300,380),e.stroke(),e.M(300,380),e.L(220,300),e.L(380,300),e.Z(),e.fill()}},9041:{width:N,draw:e=>{e.lineWidth(45),e.M(100,420),e.L(500,420),e.stroke(),e.M(300,420),e.L(300,150),e.stroke(),e.M(150,150),e.L(450,150),e.stroke(),e.M(100,80),e.L(500,80),e.stroke()}},9042:{width:N,draw:e=>{e.lineWidth(40),e.M(300,80),e.L(150,380),e.L(450,380),e.Z(),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},9043:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,150),e.L(300,350),e.L(400,150),e.stroke()}},9044:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,130),e.L(190,360),e.L(410,360),e.Z(),e.stroke()}},9045:{width:N,draw:e=>{e.lineWidth(45),e.M(150,100),e.L(450,100),e.stroke(),e.M(300,100),e.L(300,350),e.stroke(),e.circle(300,400,50),e.stroke()}},9046:{width:N,draw:e=>{e.lineWidth(45),e.M(300,420),e.L(300,80),e.stroke(),e.M(300,80),e.L(420,200),e.stroke()}},9047:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,380),e.L(300,120),e.stroke(),e.M(300,120),e.L(220,200),e.L(380,200),e.Z(),e.fill()}},9048:{width:N,draw:e=>{e.lineWidth(45),e.M(260,420),e.L(260,200),e.stroke(),e.M(340,420),e.L(340,200),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9049:{width:N,draw:e=>{e.lineWidth(40),e.M(300,430),e.L(150,160),e.L(450,160),e.Z(),e.stroke(),e.M(120,80),e.L(480,80),e.stroke()}},9050:{width:N,draw:e=>{e.lineWidth(40),e.M(300,430),e.L(430,280),e.L(300,150),e.L(170,280),e.Z(),e.stroke(),e.M(120,80),e.L(480,80),e.stroke()}},9051:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,310,100),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9052:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,310,130),e.stroke(),e.M(100,100),e.L(500,100),e.stroke()}},9053:{width:N,draw:e=>{e.lineWidth(40),e.M(120,100),e.C(120,350,480,350,480,100),e.stroke(),e.circle(300,300,50),e.stroke()}},9054:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(100,250),e.L(50,250),e.stroke()}},9055:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+100*Math.cos(n),250+100*Math.sin(n)):e.L(300+100*Math.cos(n),250+100*Math.sin(n)),e.L(300+40*Math.cos(r),250+40*Math.sin(r))}e.Z(),e.stroke()}},9056:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,330,35),e.fill(),e.circle(300,170,35),e.fill()}},9057:{width:N,draw:e=>{e.lineWidth(45),e.M(150,150),e.L(450,150),e.stroke(),e.M(300,150),e.L(300,350),e.stroke(),e.circle(250,420,30),e.fill(),e.circle(350,420,30),e.fill()}},9058:{width:N,draw:e=>{e.lineWidth(40),e.M(300,120),e.L(150,370),e.L(450,370),e.Z(),e.stroke(),e.circle(250,80,25),e.fill(),e.circle(350,80,25),e.fill()}},9059:{width:N,draw:e=>{e.lineWidth(45),e.M(300,380),e.L(300,180),e.stroke(),e.M(200,340),e.L(400,220),e.stroke(),e.M(200,220),e.L(400,340),e.stroke(),e.circle(250,430,25),e.fill(),e.circle(350,430,25),e.fill()}},9060:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,200,80),e.stroke(),e.circle(250,400,30),e.fill(),e.circle(350,400,30),e.fill()}},9061:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,200,120),e.stroke(),e.circle(250,420,30),e.fill(),e.circle(350,420,30),e.fill()}},9062:{width:N,draw:e=>{e.lineWidth(40),e.M(120,400),e.C(120,150,480,150,480,400),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},9063:{width:N,draw:e=>{e.lineWidth(40),e.M(450,100),e.C(200,100,200,400,450,400),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},9064:{width:N,draw:e=>{e.lineWidth(40),e.M(120,250),e.C(200,350,400,150,480,250),e.stroke(),e.circle(250,400,30),e.fill(),e.circle(350,400,30),e.fill()}},9065:{width:N,draw:e=>{e.lineWidth(40),e.M(180,370),e.L(380,250),e.L(180,130),e.stroke(),e.circle(430,200,25),e.fill(),e.circle(430,300,25),e.fill()}},9066:{width:N,draw:e=>{e.lineWidth(45),e.circle(300,300,40),e.fill(),e.M(300,260),e.L(260,180),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},9067:{width:N,draw:e=>{e.lineWidth(40),e.M(300,80),e.L(150,380),e.L(450,380),e.Z(),e.stroke(),e.lineWidth(35),e.M(220,250),e.C(260,300,340,200,380,250),e.stroke()}},9068:{width:N,draw:e=>{e.lineWidth(40),e.ellipse(300,250,150,200),e.stroke(),e.M(200,250),e.L(400,250),e.stroke()}},9069:{width:N,draw:e=>{e.lineWidth(40),e.M(300,80),e.L(300,420),e.stroke(),e.M(180,250),e.C(220,320,380,180,420,250),e.stroke()}},9070:{width:N,draw:e=>{e.circle(300,350,35),e.fill(),e.circle(300,250,35),e.fill(),e.M(300,215),e.L(270,160),e.stroke(),e.lineWidth(40),e.M(150,100),e.L(450,100),e.stroke()}},9071:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,310),e.L(400,310),e.stroke(),e.M(200,190),e.L(400,190),e.stroke(),e.M(350,370),e.L(250,130),e.stroke()}},9072:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(35),e.M(230,350),e.C(230,400,370,400,370,340),e.C(370,290,300,270,300,220),e.stroke(),e.circle(300,160,25),e.fill()}},9073:{width:N,draw:e=>{e.lineWidth(45),e.M(130,400),e.L(300,130),e.L(470,400),e.stroke(),e.lineWidth(35),e.M(220,280),e.C(260,330,340,230,380,280),e.stroke()}},9074:{width:N,draw:e=>{e.lineWidth(45),e.M(130,100),e.L(300,370),e.L(470,100),e.stroke(),e.lineWidth(35),e.M(220,220),e.C(260,270,340,170,380,220),e.stroke()}},9075:{width:N,draw:e=>{e.lineWidth(45),e.M(250,400),e.L(250,150),e.C(250,80,350,80,350,150),e.stroke()}},9076:{width:N,draw:e=>{e.lineWidth(45),e.M(200,80),e.L(200,400),e.C(200,450,400,450,400,400),e.C(400,300,200,300,200,350),e.stroke()}},9077:{width:N,draw:e=>{e.lineWidth(45),e.M(120,400),e.L(200,150),e.C(200,80,400,80,400,150),e.L(480,400),e.stroke()}},9078:{width:N,draw:e=>{e.lineWidth(40),e.M(400,400),e.C(400,300,200,300,200,350),e.C(200,400,400,400,400,350),e.L(400,200),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},9079:{width:N,draw:e=>{e.lineWidth(40),e.M(420,400),e.L(220,400),e.C(160,400,160,200,220,200),e.L(420,200),e.stroke(),e.M(220,300),e.L(380,300),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},9080:{width:N,draw:e=>{e.lineWidth(40),e.M(250,430),e.L(250,200),e.C(250,150,350,150,350,200),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9081:{width:N,draw:e=>{e.lineWidth(40),e.M(120,420),e.L(200,200),e.C(200,150,400,150,400,200),e.L(480,420),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9082:{width:N,draw:e=>{e.lineWidth(45),e.M(400,400),e.C(400,300,200,300,200,350),e.C(200,400,400,400,400,350),e.L(400,150),e.stroke()}},9083:{width:N,draw:e=>{e.lineWidth(50),e.M(130,250),e.L(250,100),e.L(470,400),e.stroke(),e.M(180,380),e.L(420,120),e.stroke()}},9084:{width:N,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(150,100),e.L(450,100),e.stroke(),e.M(150,100),e.L(200,200),e.L(250,100),e.L(300,200),e.stroke()}},9085:{width:N,draw:e=>{e.lineWidth(45),e.M(100,350),e.L(100,150),e.L(200,150),e.stroke(),e.M(400,150),e.L(500,150),e.L(500,350),e.stroke()}},9086:{width:N,draw:e=>{e.lineWidth(40),e.M(150,100),e.C(150,350,300,450,300,450),e.C(300,450,450,350,450,100),e.stroke(),e.M(120,100),e.L(480,100),e.stroke(),e.circle(300,60,25),e.fill()}},9087:{width:N,draw:e=>{e.lineWidth(45),e.M(200,80),e.L(300,420),e.L(400,80),e.stroke()}},9088:{width:N,draw:e=>{e.lineWidth(45),e.M(200,100),e.L(300,380),e.L(400,100),e.stroke(),e.M(150,100),e.L(450,100),e.stroke()}},9089:{width:N,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(520,100),e.stroke()}},9090:{width:N,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(230,100),e.stroke(),e.M(370,100),e.L(520,100),e.stroke()}},9091:{width:N,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(520,100),e.stroke(),e.circle(300,200,30),e.fill()}},9092:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,300,120),e.stroke(),e.M(300,180),e.L(300,420),e.stroke()}},9093:{width:N,draw:e=>{e.lineWidth(40),e.rect(120,70,360,360),e.stroke(),e.M(300,70),e.L(300,430),e.stroke()}},9094:{width:N,draw:e=>{e.lineWidth(40),e.M(420,400),e.L(420,200),e.L(180,200),e.stroke(),e.M(180,200),e.L(280,280),e.L(280,120),e.Z(),e.fill()}},9095:{width:N,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(250,150),e.L(350,350),e.L(500,350),e.stroke(),e.M(100,350),e.L(250,350),e.L(350,150),e.L(500,150),e.stroke()}},9096:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,250,160),e.stroke(),e.circle(300,250,50),e.fill();for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300+50*Math.cos(n),250+50*Math.sin(n)),e.L(300+180*Math.cos(n),250+180*Math.sin(n))}e.stroke()}},9097:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(120,250),e.L(260,250),e.stroke(),e.M(340,250),e.L(480,250),e.stroke(),e.M(260,250),e.L(260,300),e.L(340,300),e.L(340,250),e.stroke()}},9098:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(300,430),e.L(300,70),e.stroke(),e.circle(220,250,30),e.fill(),e.circle(380,250,30),e.fill()}},9099:{width:N,draw:e=>{e.lineWidth(40),e.M(200,410),e.C(120,380,80,300,100,200),e.C(120,120,200,80,300,70),e.C(400,80,480,120,500,200),e.C(520,300,480,380,400,420),e.stroke(),e.M(160,430),e.L(160,350),e.L(240,350),e.stroke()}},9100:{width:N,draw:e=>{e.lineWidth(40),e.M(450,380),e.C(450,200,350,120,250,120),e.C(200,120,150,180,150,250),e.stroke(),e.M(150,250),e.L(80,170),e.L(220,170),e.Z(),e.fill()}},9101:{width:N,draw:e=>{e.lineWidth(45),e.M(100,150),e.L(250,150),e.L(250,350),e.L(400,350),e.L(400,150),e.L(500,150),e.stroke()}},9102:{width:N,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(300,150),e.L(300,350),e.L(500,350),e.stroke(),e.M(100,350),e.L(300,350),e.stroke(),e.M(300,150),e.L(500,150),e.stroke()}},9103:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(250,250),e.stroke(),e.circle(300,250,50),e.stroke(),e.M(350,250),e.L(500,250),e.stroke()}},9104:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(250,250),e.stroke(),e.M(350,250),e.L(500,250),e.stroke(),e.M(250,250),e.L(350,250),e.stroke(),e.M(300,250),e.L(300,350),e.stroke()}},9105:{width:N,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(250,350),e.L(250,150),e.L(350,150),e.L(350,350),e.L(500,350),e.stroke()}},9106:{width:N,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(250,150),e.L(250,350),e.L(350,350),e.L(350,150),e.L(500,150),e.stroke()}},9107:{width:N,draw:e=>{e.lineWidth(45),e.M(100,300),e.L(500,300),e.stroke(),e.lineWidth(35),e.M(100,200),e.L(200,200),e.stroke(),e.M(250,200),e.L(350,200),e.stroke(),e.M(400,200),e.L(500,200),e.stroke()}},9108:{width:N,draw:e=>{e.lineWidth(40),e.M(100,100),e.L(100,400),e.L(500,400),e.L(500,100),e.stroke()}},9109:{width:N,draw:e=>{e.lineWidth(45),e.rect(120,50,360,400),e.stroke()}},9110:{width:N,draw:e=>{e.lineWidth(40),e.rect(120,80,360,340),e.stroke(),e.circle(300,180,35),e.fill()}},9111:{width:N,draw:e=>{e.lineWidth(40),e.rect(130,50,340,400),e.stroke(),e.M(130,380),e.L(220,380),e.L(220,450),e.stroke()}},9112:{width:N,draw:e=>{e.lineWidth(40),e.rect(130,50,340,400),e.stroke(),e.M(470,120),e.L(380,120),e.L(380,50),e.stroke()}},9113:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,100,400,300),e.stroke(),e.rect(180,180,240,140),e.stroke()}},9114:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,100,400,300),e.stroke(),e.M(200,200),e.L(400,300),e.stroke(),e.M(200,300),e.L(400,200),e.stroke()}},9118:{width:N,draw:e=>{e.lineWidth(45),e.M(200,450),e.C(350,450,400,350,400,250),e.stroke()}},9119:{width:N,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.stroke()}},9120:{width:N,draw:e=>{e.lineWidth(45),e.M(400,250),e.C(400,150,350,50,200,50),e.stroke()}},9121:{width:N,draw:e=>{e.lineWidth(45),e.M(350,450),e.L(200,450),e.L(200,50),e.stroke()}},9122:{width:N,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,50),e.stroke()}},9123:{width:N,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,50),e.L(350,50),e.stroke()}},9124:{width:N,draw:e=>{e.lineWidth(45),e.M(250,450),e.L(400,450),e.L(400,50),e.stroke()}},9125:{width:N,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.stroke()}},9126:{width:N,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.L(250,50),e.stroke()}},9127:{width:N,draw:e=>{e.lineWidth(45),e.M(350,450),e.C(250,450,250,350,250,250),e.stroke()}},9128:{width:N,draw:e=>{e.lineWidth(45),e.M(250,450),e.L(250,300),e.C(250,250,200,250,150,250),e.stroke(),e.M(250,200),e.C(250,250,200,250,150,250),e.stroke(),e.M(250,200),e.L(250,50),e.stroke()}},9129:{width:N,draw:e=>{e.lineWidth(45),e.M(250,250),e.C(250,150,250,50,350,50),e.stroke()}},9130:{width:N,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke()}},9131:{width:N,draw:e=>{e.lineWidth(45),e.M(250,450),e.C(350,450,350,350,350,250),e.stroke()}},9132:{width:N,draw:e=>{e.lineWidth(45),e.M(350,450),e.L(350,300),e.C(350,250,400,250,450,250),e.stroke(),e.M(350,200),e.C(350,250,400,250,450,250),e.stroke(),e.M(350,200),e.L(350,50),e.stroke()}},9133:{width:N,draw:e=>{e.lineWidth(45),e.M(350,250),e.C(350,150,350,50,250,50),e.stroke()}},9134:{width:N,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke()}},9136:{width:N,draw:e=>{e.lineWidth(45),e.M(350,50),e.C(250,50,250,250,250,450),e.stroke()}},9137:{width:N,draw:e=>{e.lineWidth(45),e.M(250,50),e.C(350,50,350,250,350,450),e.stroke()}},9138:{width:N,draw:e=>{e.lineWidth(45),e.M(480,450),e.L(120,450),e.L(300,250),e.stroke()}},9139:{width:N,draw:e=>{e.lineWidth(45),e.M(300,250),e.L(120,50),e.L(480,50),e.stroke()}},9140:{width:N,draw:e=>{e.lineWidth(45),e.M(100,200),e.L(100,350),e.L(500,350),e.L(500,200),e.stroke()}},9141:{width:N,draw:e=>{e.lineWidth(45),e.M(100,300),e.L(100,150),e.L(500,150),e.L(500,300),e.stroke()}},9142:{width:N,draw:e=>{e.lineWidth(40),e.M(100,300),e.L(100,200),e.L(500,200),e.L(500,300),e.stroke(),e.M(100,350),e.L(100,250),e.L(500,250),e.L(500,350),e.stroke()}},9146:{width:N,draw:e=>{e.lineWidth(30),e.M(0,450),e.L(600,450),e.stroke()}},9147:{width:N,draw:e=>{e.lineWidth(30),e.M(0,350),e.L(600,350),e.stroke()}},9148:{width:N,draw:e=>{e.lineWidth(30),e.M(0,150),e.L(600,150),e.stroke()}},9149:{width:N,draw:e=>{e.lineWidth(30),e.M(0,50),e.L(600,50),e.stroke()}},9150:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,250),e.L(500,250),e.stroke()}},9151:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,250),e.L(500,250),e.stroke()}},9152:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,50),e.stroke(),e.circle(300,250,60),e.stroke()}},9153:{width:N,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(500,350),e.stroke(),e.M(300,350),e.L(300,100),e.stroke(),e.circle(300,250,60),e.stroke()}},9161:{width:N,draw:e=>{e.lineWidth(40),e.M(150,350),e.L(450,350),e.stroke(),e.M(300,350),e.L(300,100),e.stroke()}},9162:{width:N,draw:e=>{e.lineWidth(40),e.M(150,150),e.L(450,150),e.stroke(),e.M(300,150),e.L(300,400),e.stroke()}},9163:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,310),e.L(400,200),e.L(300,200),e.Z(),e.stroke()}},9164:{width:N,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(500,350),e.stroke(),e.M(300,350),e.L(300,120),e.stroke(),e.M(250,250),e.L(350,250),e.L(300,180),e.Z(),e.fill()}},9165:{width:N,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(150,100),e.L(450,100),e.stroke()}},9168:{width:N,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(300,20),e.stroke()}},9178:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,200),e.stroke(),e.M(150,200),e.L(450,200),e.stroke(),e.M(200,140),e.L(400,140),e.stroke(),e.M(250,80),e.L(350,80),e.stroke()}},9179:{width:N,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(180,250),e.stroke(),e.rect(180,180,240,140),e.stroke(),e.M(420,250),e.L(520,250),e.stroke()}},9180:{width:N,draw:e=>{e.lineWidth(45),e.M(80,150),e.C(80,400,520,400,520,150),e.stroke()}},9181:{width:N,draw:e=>{e.lineWidth(45),e.M(80,350),e.C(80,100,520,100,520,350),e.stroke()}},9182:{width:N,draw:e=>{e.lineWidth(40),e.M(80,150),e.C(80,300,200,350,300,400),e.C(400,350,520,300,520,150),e.stroke()}},9183:{width:N,draw:e=>{e.lineWidth(40),e.M(80,350),e.C(80,200,200,150,300,100),e.C(400,150,520,200,520,350),e.stroke()}},9184:{width:N,draw:e=>{e.lineWidth(40),e.M(80,150),e.C(150,380,450,380,520,150),e.stroke()}},9185:{width:N,draw:e=>{e.lineWidth(40),e.M(80,350),e.C(150,120,450,120,520,350),e.stroke()}},9186:{width:N,draw:e=>{e.lineWidth(40),e.M(150,100),e.L(450,100),e.L(500,400),e.L(100,400),e.Z(),e.stroke()}},9187:{width:N,draw:e=>{e.lineWidth(35);for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180,r=((t+1)*60-90)*Math.PI/180;e.M(300+180*Math.cos(n),250+180*Math.sin(n)),e.L(300+180*Math.cos(r),250+180*Math.sin(r))}e.stroke(),e.circle(300,250,110),e.stroke()}},9188:{width:N,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke()}},9189:{width:N,draw:e=>{e.lineWidth(45),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,300),e.L(500,300),e.stroke()}},9190:{width:N,draw:e=>{e.lineWidth(45),e.M(100,250),e.C(200,420,300,80,400,250),e.C(440,340,480,250,500,250),e.stroke()}},9191:{width:N,draw:e=>{e.lineWidth(40),e.M(100,100),e.L(100,300),e.C(100,430,500,430,500,300),e.L(500,100),e.stroke()}},9192:{width:N,draw:e=>{e.lineWidth(40),e.M(400,400),e.L(200,400),e.L(200,100),e.L(400,100),e.stroke(),e.M(200,250),e.L(370,250),e.stroke()}},9200:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,230,180),e.stroke(),e.M(300,230),e.L(300,340),e.stroke(),e.M(300,230),e.L(380,230),e.stroke(),e.M(160,400),e.L(120,440),e.stroke(),e.M(440,400),e.L(480,440),e.stroke(),e.M(200,50),e.L(180,20),e.stroke(),e.M(400,50),e.L(420,20),e.stroke()}},9203:{width:N,draw:e=>{e.lineWidth(40),e.M(120,480),e.L(480,480),e.stroke(),e.M(120,20),e.L(480,20),e.stroke(),e.M(150,480),e.L(300,250),e.L(450,480),e.stroke(),e.M(150,20),e.L(300,250),e.L(450,20),e.stroke(),e.circle(270,120,15),e.fill(),e.circle(330,120,15),e.fill(),e.circle(300,90,15),e.fill(),e.lineWidth(20),e.M(300,250),e.L(300,160),e.stroke()}},9204:{width:N,draw:e=>{e.M(450,450),e.L(150,250),e.L(450,50),e.Z(),e.fill()}},9205:{width:N,draw:e=>{e.M(150,450),e.L(450,250),e.L(150,50),e.Z(),e.fill()}},9206:{width:N,draw:e=>{e.M(100,100),e.L(500,100),e.L(300,420),e.Z(),e.fill()}},9207:{width:N,draw:e=>{e.M(100,400),e.L(500,400),e.L(300,80),e.Z(),e.fill()}},9211:{width:N,draw:e=>{e.lineWidth(45),e.M(200,380),e.C(120,330,80,230,120,150),e.C(160,70,260,40,300,40),e.C(340,40,440,70,480,150),e.C(520,230,480,330,400,380),e.stroke(),e.M(300,320),e.L(300,150),e.stroke()}},9212:{width:N,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(300,350),e.L(300,150),e.stroke()}},9213:{width:N,draw:e=>{e.lineWidth(50),e.M(300,420),e.L(300,80),e.stroke()}},9214:{width:N,draw:e=>{e.lineWidth(45),e.M(180,400),e.C(100,300,100,150,200,80),e.C(300,10,430,50,480,150),e.C(530,250,470,380,380,420),e.stroke()}},9215:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(250,100),e.L(500,250),e.stroke(),e.circle(250,200,40),e.fill()}}},Wr={10496:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(300,150),e.L(300,350),e.stroke()}},10497:{width:N,draw:e=>{e.lineWidth(35),e.M(80,250),e.L(520,250),e.stroke(),e.M(520,250),e.L(420,350),e.L(420,150),e.Z(),e.fill(),e.M(80,250),e.L(180,350),e.L(180,150),e.Z(),e.fill(),e.M(280,150),e.L(280,350),e.stroke(),e.M(320,150),e.L(320,350),e.stroke()}},10498:{width:N,draw:e=>{e.M(100,250),e.L(240,380),e.L(240,300),e.L(500,300),e.L(500,200),e.L(240,200),e.L(240,120),e.Z(),e.fill(),e.lineWidth(40),e.M(340,150),e.L(340,350),e.stroke()}},10499:{width:N,draw:e=>{e.M(500,250),e.L(360,380),e.L(360,300),e.L(100,300),e.L(100,200),e.L(360,200),e.L(360,120),e.Z(),e.fill(),e.lineWidth(40),e.M(260,150),e.L(260,350),e.stroke()}},10500:{width:N,draw:e=>{e.M(80,250),e.L(200,380),e.L(200,300),e.L(400,300),e.L(400,380),e.L(520,250),e.L(400,120),e.L(400,200),e.L(200,200),e.L(200,120),e.Z(),e.fill(),e.lineWidth(40),e.M(300,150),e.L(300,350),e.stroke()}},10501:{width:N,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(100,350),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(200,250),e.L(250,330),e.L(250,170),e.Z(),e.fill()}},10502:{width:N,draw:e=>{e.lineWidth(40),e.M(500,150),e.L(500,350),e.stroke(),e.M(100,250),e.L(280,380),e.L(280,300),e.L(500,300),e.L(500,200),e.L(280,200),e.L(280,120),e.Z(),e.fill()}},10503:{width:N,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(100,350),e.stroke(),e.M(500,250),e.L(320,380),e.L(320,300),e.L(100,300),e.L(100,200),e.L(320,200),e.L(320,120),e.Z(),e.fill()}},10504:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,100),e.stroke(),e.M(300,100),e.L(200,200),e.L(400,200),e.Z(),e.fill(),e.M(200,350),e.L(400,250),e.stroke()}},10505:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,400),e.stroke(),e.M(300,400),e.L(200,300),e.L(400,300),e.Z(),e.fill(),e.M(200,250),e.L(400,150),e.stroke()}},10506:{width:N,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,340),e.L(400,340),e.Z(),e.fill(),e.M(300,50),e.L(200,100),e.L(400,100),e.stroke()}},10507:{width:N,draw:e=>{e.lineWidth(35),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(200,160),e.L(400,160),e.Z(),e.fill(),e.M(300,450),e.L(200,400),e.L(400,400),e.stroke()}},10508:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(400,250),e.stroke(),e.M(350,250),e.L(250,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill()}},10509:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(200,250),e.stroke(),e.M(250,250),e.L(350,250),e.stroke(),e.M(500,250),e.L(370,370),e.L(370,130),e.Z(),e.fill()}},10510:{width:N,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(430,250),e.stroke(),e.M(380,250),e.L(310,250),e.stroke(),e.M(260,250),e.L(190,250),e.stroke(),e.M(100,250),e.L(220,360),e.L(220,140),e.Z(),e.fill()}},10511:{width:N,draw:e=>{e.lineWidth(35),e.M(100,250),e.L(170,250),e.stroke(),e.M(220,250),e.L(290,250),e.stroke(),e.M(340,250),e.L(410,250),e.stroke(),e.M(500,250),e.L(380,360),e.L(380,140),e.Z(),e.fill()}},10512:{width:N,draw:e=>{e.lineWidth(35),e.M(80,250),e.L(150,250),e.stroke(),e.M(200,250),e.L(270,250),e.stroke(),e.M(320,250),e.L(390,250),e.stroke(),e.M(520,250),e.L(400,360),e.L(400,140),e.Z(),e.fill(),e.M(80,250),e.L(160,330),e.L(160,170),e.Z(),e.fill()}},10513:{width:N,draw:e=>{e.circle(150,250,20),e.fill(),e.circle(230,250,20),e.fill(),e.circle(310,250,20),e.fill(),e.lineWidth(40),e.M(370,250),e.L(430,250),e.stroke(),e.M(500,250),e.L(380,350),e.L(380,150),e.Z(),e.fill()}},10514:{width:N,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,380),e.stroke(),e.M(300,380),e.L(200,280),e.L(400,280),e.Z(),e.fill(),e.M(150,430),e.L(450,430),e.stroke()}},10515:{width:N,draw:e=>{e.lineWidth(45),e.M(300,420),e.L(300,100),e.stroke(),e.M(300,100),e.L(200,200),e.L(400,200),e.Z(),e.fill(),e.M(150,50),e.L(450,50),e.stroke()}},10518:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(100,250),e.L(180,340),e.L(180,160),e.Z(),e.fill(),e.M(100,350),e.L(100,150),e.stroke()}},10525:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,350),e.L(500,150),e.stroke()}},10526:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(100,350),e.L(100,150),e.stroke()}},10527:{width:N,draw:e=>{e.lineWidth(35),e.M(500,150),e.L(500,350),e.stroke(),e.M(500,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(150,300),e.L(200,250),e.L(150,200),e.Z(),e.fill()}},10528:{width:N,draw:e=>{e.lineWidth(35),e.M(100,150),e.L(100,350),e.stroke(),e.M(100,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(450,300),e.L(400,250),e.L(450,200),e.Z(),e.fill()}},10529:{width:N,draw:e=>{e.lineWidth(40),e.M(120,420),e.L(480,80),e.stroke(),e.M(120,420),e.L(120,320),e.L(220,420),e.Z(),e.fill(),e.M(480,80),e.L(480,180),e.L(380,80),e.Z(),e.fill()}},10530:{width:N,draw:e=>{e.lineWidth(40),e.M(480,420),e.L(120,80),e.stroke(),e.M(480,420),e.L(380,420),e.L(480,320),e.Z(),e.fill(),e.M(120,80),e.L(220,80),e.L(120,180),e.Z(),e.fill()}},10531:{width:N,draw:e=>{e.lineWidth(40),e.M(150,420),e.L(450,120),e.C(480,80,500,120,480,180),e.stroke(),e.M(150,420),e.L(150,310),e.L(260,420),e.Z(),e.fill()}},10532:{width:N,draw:e=>{e.lineWidth(40),e.M(450,420),e.L(150,120),e.C(120,80,100,120,120,180),e.stroke(),e.M(450,420),e.L(450,310),e.L(340,420),e.Z(),e.fill()}},10533:{width:N,draw:e=>{e.lineWidth(40),e.M(450,80),e.L(150,380),e.C(120,420,100,380,120,320),e.stroke(),e.M(450,80),e.L(450,190),e.L(340,80),e.Z(),e.fill()}},10534:{width:N,draw:e=>{e.lineWidth(40),e.M(150,80),e.L(450,380),e.C(480,420,500,380,480,320),e.stroke(),e.M(150,80),e.L(150,190),e.L(260,80),e.Z(),e.fill()}},10535:{width:N,draw:e=>{e.lineWidth(35),e.M(300,100),e.L(120,400),e.stroke(),e.M(120,400),e.L(120,300),e.L(220,400),e.Z(),e.fill(),e.M(300,100),e.L(480,400),e.stroke(),e.M(480,400),e.L(480,300),e.L(380,400),e.Z(),e.fill()}},10536:{width:N,draw:e=>{e.lineWidth(35),e.M(100,250),e.L(480,420),e.stroke(),e.M(480,420),e.L(380,420),e.L(480,330),e.Z(),e.fill(),e.M(100,250),e.L(480,80),e.stroke(),e.M(480,80),e.L(380,80),e.L(480,170),e.Z(),e.fill()}},10537:{width:N,draw:e=>{e.lineWidth(35),e.M(300,400),e.L(120,100),e.stroke(),e.M(120,100),e.L(220,100),e.L(120,200),e.Z(),e.fill(),e.M(300,400),e.L(480,100),e.stroke(),e.M(480,100),e.L(380,100),e.L(480,200),e.Z(),e.fill()}},10538:{width:N,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(120,80),e.stroke(),e.M(120,80),e.L(120,180),e.L(220,80),e.Z(),e.fill(),e.M(500,250),e.L(120,420),e.stroke(),e.M(120,420),e.L(120,320),e.L(220,420),e.Z(),e.fill()}},10548:{width:N,draw:e=>{e.lineWidth(45),e.M(100,150),e.L(350,150),e.C(430,150,450,250,450,350),e.stroke(),e.M(450,350),e.L(380,230),e.L(520,230),e.Z(),e.fill()}},10549:{width:N,draw:e=>{e.lineWidth(45),e.M(100,350),e.L(350,350),e.C(430,350,450,250,450,150),e.stroke(),e.M(450,150),e.L(380,270),e.L(520,270),e.Z(),e.fill()}},10550:{width:N,draw:e=>{e.lineWidth(45),e.M(500,400),e.L(300,400),e.C(200,400,150,300,150,200),e.stroke(),e.M(150,200),e.L(80,300),e.L(220,300),e.Z(),e.fill()}},10551:{width:N,draw:e=>{e.lineWidth(45),e.M(100,400),e.L(300,400),e.C(400,400,450,300,450,200),e.stroke(),e.M(450,200),e.L(380,300),e.L(520,300),e.Z(),e.fill()}},10552:{width:N,draw:e=>{e.lineWidth(40),e.M(400,400),e.C(500,350,500,150,400,100),e.C(300,50,200,100,150,200),e.stroke(),e.M(400,400),e.L(330,340),e.L(450,340),e.Z(),e.fill()}},10553:{width:N,draw:e=>{e.lineWidth(40),e.M(200,400),e.C(100,350,100,150,200,100),e.C(300,50,400,100,450,200),e.stroke(),e.M(200,400),e.L(270,340),e.L(150,340),e.Z(),e.fill()}},10554:{width:N,draw:e=>{e.lineWidth(40),e.M(100,200),e.C(100,350,250,430,400,380),e.C(480,340,500,250,450,180),e.stroke(),e.M(100,200),e.L(170,270),e.L(170,130),e.Z(),e.fill()}},10555:{width:N,draw:e=>{e.lineWidth(40),e.M(500,300),e.C(500,150,350,70,200,120),e.C(120,160,100,250,150,320),e.stroke(),e.M(500,300),e.L(430,230),e.L(430,370),e.Z(),e.fill()}},10560:{width:N,draw:e=>{e.lineWidth(40),e.M(300,430),e.C(180,430,100,350,100,250),e.C(100,150,180,70,300,70),e.C(420,70,500,150,500,250),e.C(500,350,420,430,340,430),e.stroke(),e.M(300,430),e.L(240,370),e.L(240,480),e.Z(),e.fill()}},10561:{width:N,draw:e=>{e.lineWidth(40),e.M(300,430),e.C(420,430,500,350,500,250),e.C(500,150,420,70,300,70),e.C(180,70,100,150,100,250),e.C(100,350,180,430,260,430),e.stroke(),e.M(300,430),e.L(360,370),e.L(360,480),e.Z(),e.fill()}},10562:{width:N,draw:e=>{e.lineWidth(30),e.M(100,320),e.L(460,320),e.stroke(),e.M(500,320),e.L(400,380),e.L(400,260),e.Z(),e.fill(),e.M(400,180),e.L(180,180),e.stroke(),e.M(140,180),e.L(240,240),e.L(240,120),e.Z(),e.fill()}},10563:{width:N,draw:e=>{e.lineWidth(30),e.M(500,320),e.L(140,320),e.stroke(),e.M(100,320),e.L(200,380),e.L(200,260),e.Z(),e.fill(),e.M(200,180),e.L(420,180),e.stroke(),e.M(460,180),e.L(360,240),e.L(360,120),e.Z(),e.fill()}},10564:{width:N,draw:e=>{e.lineWidth(30),e.M(200,320),e.L(420,320),e.stroke(),e.M(460,320),e.L(360,380),e.L(360,260),e.Z(),e.fill(),e.M(500,180),e.L(140,180),e.stroke(),e.M(100,180),e.L(200,240),e.L(200,120),e.Z(),e.fill()}},10565:{width:N,draw:e=>{e.lineWidth(40),e.M(100,300),e.L(460,300),e.stroke(),e.M(500,300),e.L(400,380),e.L(400,220),e.Z(),e.fill(),e.lineWidth(30),e.M(270,100),e.L(330,100),e.stroke(),e.M(300,70),e.L(300,130),e.stroke()}},10568:{width:N,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(460,350),e.stroke(),e.M(500,350),e.L(400,410),e.L(400,290),e.Z(),e.fill(),e.lineWidth(30),e.M(140,200),e.C(220,240,360,160,460,200),e.stroke(),e.M(140,130),e.C(220,170,360,90,460,130),e.stroke()}},10570:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,370),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,130),e.L(400,250),e.Z(),e.fill()}},10571:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,130),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,370),e.L(400,250),e.Z(),e.fill()}},10572:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(400,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(200,150),e.L(300,150),e.Z(),e.fill()}},10573:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(400,150),e.L(300,150),e.Z(),e.fill()}},10574:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,370),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,370),e.L(400,250),e.Z(),e.fill()}},10575:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(400,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(400,150),e.L(300,150),e.Z(),e.fill()}},10576:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,130),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,130),e.L(400,250),e.Z(),e.fill()}},10577:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(200,150),e.L(300,150),e.Z(),e.fill()}},10594:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(150,250),e.stroke(),e.M(150,250),e.L(260,370),e.L(260,250),e.Z(),e.fill(),e.M(500,150),e.L(500,350),e.stroke()}},10596:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(450,250),e.stroke(),e.M(450,250),e.L(340,370),e.L(340,250),e.Z(),e.fill(),e.M(100,150),e.L(100,350),e.stroke()}},10602:{width:N,draw:e=>{e.lineWidth(35),e.M(100,300),e.L(500,300),e.stroke(),e.M(100,300),e.L(200,400),e.L(200,300),e.Z(),e.fill(),e.M(100,200),e.L(500,200),e.stroke(),e.M(500,200),e.L(400,300),e.L(400,200),e.Z(),e.fill()}},10603:{width:N,draw:e=>{e.lineWidth(35),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,200),e.L(200,100),e.L(200,200),e.Z(),e.fill(),e.M(100,300),e.L(500,300),e.stroke(),e.M(500,300),e.L(400,200),e.L(400,300),e.Z(),e.fill()}},10604:{width:N,draw:e=>{e.lineWidth(35),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,200),e.L(200,300),e.L(200,200),e.Z(),e.fill(),e.M(100,300),e.L(500,300),e.stroke(),e.M(500,300),e.L(400,200),e.L(400,300),e.Z(),e.fill()}},10605:{width:N,draw:e=>{e.lineWidth(35),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,200),e.L(200,100),e.L(200,200),e.Z(),e.fill(),e.M(100,300),e.L(500,300),e.stroke(),e.M(500,300),e.L(400,400),e.L(400,300),e.Z(),e.fill()}},10606:{width:N,draw:e=>{e.lineWidth(35),e.M(230,80),e.L(230,420),e.stroke(),e.M(230,420),e.L(150,320),e.L(230,320),e.Z(),e.fill(),e.M(370,420),e.L(370,80),e.stroke(),e.M(370,80),e.L(450,180),e.L(370,180),e.Z(),e.fill()}},10607:{width:N,draw:e=>{e.lineWidth(35),e.M(230,420),e.L(230,80),e.stroke(),e.M(230,80),e.L(150,180),e.L(230,180),e.Z(),e.fill(),e.M(370,80),e.L(370,420),e.stroke(),e.M(370,420),e.L(450,320),e.L(370,320),e.Z(),e.fill()}},10608:{width:N,draw:e=>{e.lineWidth(35),e.M(100,300),e.L(420,300),e.stroke(),e.M(100,200),e.L(420,200),e.stroke(),e.M(500,250),e.C(480,300,440,350,420,350),e.stroke(),e.M(500,250),e.C(480,200,440,150,420,150),e.stroke()}},10612:{width:N,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(460,350),e.stroke(),e.M(500,350),e.L(400,410),e.L(400,290),e.Z(),e.fill(),e.lineWidth(30),e.M(460,200),e.C(380,240,220,160,140,200),e.stroke(),e.M(460,130),e.C(380,170,220,90,140,130),e.stroke()}},10613:{width:N,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(460,350),e.stroke(),e.M(500,350),e.L(400,410),e.L(400,290),e.Z(),e.fill(),e.lineWidth(35),e.M(140,170),e.C(220,230,380,110,460,170),e.stroke()}},10614:{width:N,draw:e=>{e.lineWidth(35),e.M(500,350),e.L(140,350),e.stroke(),e.M(100,350),e.L(200,410),e.L(200,290),e.Z(),e.fill(),e.lineWidth(35),e.M(140,170),e.C(220,230,380,110,460,170),e.stroke()}},10615:{width:N,draw:e=>{e.lineWidth(35),e.M(500,350),e.L(140,350),e.stroke(),e.M(100,350),e.L(200,410),e.L(200,290),e.Z(),e.fill(),e.lineWidth(30),e.M(140,200),e.C(220,240,360,160,460,200),e.stroke(),e.M(140,130),e.C(220,170,360,90,460,130),e.stroke()}},10616:{width:N,draw:e=>{e.lineWidth(35),e.M(100,380),e.L(460,380),e.stroke(),e.M(500,380),e.L(400,440),e.L(400,320),e.Z(),e.fill(),e.lineWidth(30),e.M(140,220),e.C(220,260,360,180,460,220),e.stroke(),e.M(140,150),e.C(220,190,360,110,460,150),e.stroke(),e.M(350,260),e.L(250,100),e.stroke()}},10617:{width:N,draw:e=>{e.lineWidth(35),e.M(120,250),e.L(480,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill()}},10618:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(130,250),e.stroke(),e.M(100,250),e.L(210,350),e.L(210,150),e.Z(),e.fill(),e.M(280,180),e.L(370,320),e.stroke(),e.M(370,180),e.L(280,320),e.stroke()}},10619:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(470,250),e.stroke(),e.M(500,250),e.L(390,350),e.L(390,150),e.Z(),e.fill(),e.M(230,180),e.L(320,320),e.stroke(),e.M(320,180),e.L(230,320),e.stroke()}},10620:{width:N,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(520,250),e.stroke(),e.M(520,250),e.L(420,370),e.L(420,250),e.Z(),e.fill()}},10621:{width:N,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(520,250),e.stroke(),e.M(520,250),e.L(420,130),e.L(420,250),e.Z(),e.fill()}},10622:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(400,350),e.L(300,350),e.Z(),e.fill()}},10623:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,350),e.L(300,350),e.Z(),e.fill()}}},Gr={10176:{width:N,draw:e=>{e.lineWidth(45),e.M(450,80),e.L(150,80),e.L(350,420),e.stroke(),e.M(150,80),e.L(250,200),e.stroke()}},10177:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.M(300,320),e.L(220,140),e.L(380,140),e.Z(),e.stroke()}},10178:{width:N,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(500,80),e.stroke(),e.M(300,80),e.L(300,420),e.stroke()}},10179:{width:N,draw:e=>{e.lineWidth(45),e.M(450,420),e.C(250,420,150,350,150,250),e.C(150,150,250,80,450,80),e.stroke()}},10180:{width:N,draw:e=>{e.lineWidth(45),e.M(150,420),e.C(350,420,450,350,450,250),e.C(450,150,350,80,150,80),e.stroke()}},10181:{width:N,draw:e=>{e.lineWidth(45),e.M(350,460),e.C(200,460,200,300,300,250),e.C(400,200,400,40,250,40),e.stroke()}},10182:{width:N,draw:e=>{e.lineWidth(45),e.M(250,460),e.C(400,460,400,300,300,250),e.C(200,200,200,40,350,40),e.stroke()}},10183:{width:N,draw:e=>{e.lineWidth(50),e.M(100,420),e.L(300,80),e.L(500,420),e.stroke(),e.circle(300,280,30),e.fill()}},10184:{width:N,draw:e=>{e.lineWidth(45),e.M(150,420),e.L(300,80),e.stroke(),e.M(450,420),e.C(350,420,300,350,300,250),e.C(300,150,350,80,450,80),e.stroke()}},10185:{width:N,draw:e=>{e.lineWidth(45),e.M(150,420),e.C(250,420,300,350,300,250),e.C(300,150,250,80,150,80),e.stroke(),e.M(450,420),e.L(300,80),e.stroke()}},10186:{width:N,draw:e=>{e.lineWidth(50),e.M(300,80),e.L(300,420),e.stroke(),e.M(150,250),e.L(450,250),e.stroke()}},10187:{width:N,draw:e=>{e.lineWidth(45),e.M(120,80),e.L(480,420),e.stroke()}},10188:{width:N,draw:e=>{e.lineWidth(45),e.M(200,80),e.C(150,80,120,120,120,200),e.L(120,420),e.stroke(),e.M(200,420),e.L(500,420),e.stroke()}},10189:{width:N,draw:e=>{e.lineWidth(45),e.M(120,420),e.L(480,80),e.stroke()}},10190:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,150),e.L(300,380),e.L(400,150),e.stroke()}},10191:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,350),e.L(300,120),e.L(400,350),e.stroke()}},10192:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.circle(300,250,30),e.fill()}},10193:{width:N,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(300,420),e.L(500,80),e.stroke(),e.circle(300,250,30),e.fill()}},10194:{width:N,draw:e=>{e.lineWidth(45),e.M(150,80),e.L(450,80),e.stroke(),e.M(300,80),e.L(300,420),e.stroke()}},10195:{width:N,draw:e=>{e.lineWidth(45),e.M(150,420),e.L(450,420),e.L(450,80),e.stroke(),e.circle(300,250,30),e.fill()}},10196:{width:N,draw:e=>{e.lineWidth(45),e.M(150,80),e.L(150,420),e.stroke(),e.M(150,420),e.L(450,420),e.stroke(),e.circle(300,250,30),e.fill()}},10197:{width:N,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(500,250),e.L(300,80),e.stroke(),e.M(100,420),e.L(300,420),e.stroke(),e.M(100,80),e.L(300,80),e.stroke(),e.M(100,80),e.L(100,420),e.stroke()}},10198:{width:N,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(100,250),e.L(300,80),e.stroke(),e.M(300,420),e.L(500,420),e.stroke(),e.M(300,80),e.L(500,80),e.stroke(),e.M(500,80),e.L(500,420),e.stroke()}},10199:{width:N,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(500,250),e.L(300,80),e.L(100,250),e.Z(),e.stroke()}},10200:{width:N,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(500,80),e.stroke(),e.M(300,80),e.L(300,420),e.stroke()}},10201:{width:N,draw:e=>{e.lineWidth(50),e.M(100,420),e.L(500,420),e.stroke(),e.M(300,420),e.L(300,80),e.stroke()}},10202:{width:N,draw:e=>{e.lineWidth(40),e.M(200,80),e.L(200,420),e.stroke(),e.M(250,80),e.L(250,420),e.stroke(),e.M(350,80),e.L(350,420),e.stroke(),e.M(400,80),e.L(400,420),e.stroke(),e.M(250,250),e.L(350,250),e.stroke()}},10203:{width:N,draw:e=>{e.lineWidth(45),e.M(200,80),e.L(200,420),e.stroke(),e.M(400,80),e.L(400,420),e.stroke(),e.M(200,250),e.L(400,250),e.stroke()}},10204:{width:N,draw:e=>{e.lineWidth(45),e.M(150,250),e.L(400,250),e.stroke(),e.circle(450,250,50),e.stroke()}},10205:{width:N,draw:e=>{e.lineWidth(45),e.M(150,80),e.L(150,420),e.stroke(),e.M(150,250),e.L(500,250),e.stroke()}},10206:{width:N,draw:e=>{e.lineWidth(45),e.M(450,80),e.L(450,420),e.stroke(),e.M(100,250),e.L(450,250),e.stroke()}},10207:{width:N,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(300,100),e.L(300,320),e.stroke(),e.circle(300,390,50),e.stroke()}},10208:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(90,250),e.L(510,250),e.stroke()}},10209:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,300,100,250,100,250),e.C(100,250,250,200,300,50),e.C(350,200,500,250,500,250),e.C(500,250,350,300,300,450),e.stroke()}},10210:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(100,250),e.L(300,50),e.L(500,250),e.Z(),e.stroke(),e.M(400,250),e.L(300,250),e.stroke()}},10211:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,350,100,300,100,250),e.C(100,200,250,150,300,50),e.C(350,150,500,200,500,250),e.C(500,300,350,350,300,450),e.stroke()}},10212:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,350,100,300,100,250),e.C(100,200,250,150,300,50),e.C(350,150,500,200,500,250),e.C(500,300,350,350,300,450),e.stroke(),e.M(200,250),e.L(300,250),e.stroke()}},10213:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,350,100,300,100,250),e.C(100,200,250,150,300,50),e.C(350,150,500,200,500,250),e.C(500,300,350,350,300,450),e.stroke(),e.M(300,250),e.L(400,250),e.stroke()}},10214:{width:N,draw:e=>{e.lineWidth(45),e.M(380,470),e.L(200,470),e.L(200,30),e.L(380,30),e.stroke(),e.M(260,470),e.L(260,30),e.stroke()}},10215:{width:N,draw:e=>{e.lineWidth(45),e.M(220,470),e.L(400,470),e.L(400,30),e.L(220,30),e.stroke(),e.M(340,470),e.L(340,30),e.stroke()}},10220:{width:N,draw:e=>{e.lineWidth(45),e.M(380,470),e.C(200,400,200,100,380,30),e.stroke(),e.M(340,460),e.C(180,400,180,100,340,40),e.stroke()}},10221:{width:N,draw:e=>{e.lineWidth(45),e.M(220,470),e.C(400,400,400,100,220,30),e.stroke(),e.M(260,460),e.C(420,400,420,100,260,40),e.stroke()}},10222:{width:N,draw:e=>{e.lineWidth(45),e.M(370,470),e.C(230,380,230,120,370,30),e.stroke()}},10223:{width:N,draw:e=>{e.lineWidth(45),e.M(230,470),e.C(370,380,370,120,230,30),e.stroke()}}},Kr={11008:{width:N,draw:e=>{e.lineWidth(40),e.M(120,80),e.L(480,420),e.stroke(),e.M(480,420),e.L(350,420),e.L(480,290),e.Z(),e.stroke()}},11009:{width:N,draw:e=>{e.lineWidth(40),e.M(480,80),e.L(120,420),e.stroke(),e.M(120,420),e.L(120,290),e.L(250,420),e.Z(),e.stroke()}},11010:{width:N,draw:e=>{e.lineWidth(40),e.M(120,420),e.L(480,80),e.stroke(),e.M(480,80),e.L(480,210),e.L(350,80),e.Z(),e.stroke()}},11011:{width:N,draw:e=>{e.lineWidth(40),e.M(480,420),e.L(120,80),e.stroke(),e.M(120,80),e.L(250,80),e.L(120,210),e.Z(),e.stroke()}},11012:{width:N,draw:e=>{e.lineWidth(40),e.M(60,250),e.L(200,400),e.L(200,310),e.L(400,310),e.L(400,400),e.L(540,250),e.L(400,100),e.L(400,190),e.L(200,190),e.L(200,100),e.Z(),e.stroke()}},11016:{width:N,draw:e=>{e.M(120,80),e.L(480,420),e.L(350,420),e.L(480,290),e.Z(),e.fill(),e.lineWidth(50),e.M(140,100),e.L(440,400),e.stroke()}},11017:{width:N,draw:e=>{e.M(480,80),e.L(120,420),e.L(120,290),e.L(250,420),e.Z(),e.fill(),e.lineWidth(50),e.M(460,100),e.L(160,400),e.stroke()}},11018:{width:N,draw:e=>{e.M(120,420),e.L(480,80),e.L(480,210),e.L(350,80),e.Z(),e.fill(),e.lineWidth(50),e.M(140,400),e.L(460,100),e.stroke()}},11019:{width:N,draw:e=>{e.M(480,420),e.L(120,80),e.L(250,80),e.L(120,210),e.Z(),e.fill(),e.lineWidth(50),e.M(460,400),e.L(160,100),e.stroke()}},11020:{width:N,draw:e=>{e.M(60,250),e.L(200,400),e.L(200,310),e.L(400,310),e.L(400,400),e.L(540,250),e.L(400,100),e.L(400,190),e.L(200,190),e.L(200,100),e.Z(),e.fill()}},11021:{width:N,draw:e=>{e.M(300,480),e.L(450,340),e.L(370,340),e.L(370,160),e.L(450,160),e.L(300,20),e.L(150,160),e.L(230,160),e.L(230,340),e.L(150,340),e.Z(),e.fill()}},11022:{width:N,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(400,350),e.L(400,150),e.stroke(),e.M(400,150),e.L(330,250),e.L(470,250),e.Z(),e.fill()}},11023:{width:N,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(400,150),e.L(400,350),e.stroke(),e.M(400,350),e.L(330,250),e.L(470,250),e.Z(),e.fill()}},11024:{width:N,draw:e=>{e.lineWidth(40),e.M(500,350),e.L(200,350),e.L(200,150),e.stroke(),e.M(200,150),e.L(130,250),e.L(270,250),e.Z(),e.fill()}},11025:{width:N,draw:e=>{e.lineWidth(40),e.M(500,150),e.L(200,150),e.L(200,350),e.stroke(),e.M(200,350),e.L(130,250),e.L(270,250),e.Z(),e.fill()}},11026:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(100,250,400,200),e.fill()}},11027:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(100,50,400,200),e.fill()}},11028:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(100,450),e.L(500,450),e.L(500,50),e.Z(),e.fill()}},11029:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(100,50),e.L(100,450),e.L(500,50),e.Z(),e.fill()}},11030:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(300,470),e.L(90,250),e.L(300,30),e.Z(),e.fill()}},11031:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(300,470),e.L(510,250),e.L(300,30),e.Z(),e.fill()}},11032:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(90,250),e.L(300,470),e.L(510,250),e.Z(),e.fill()}},11033:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(90,250),e.L(300,30),e.L(510,250),e.Z(),e.fill()}},11034:{width:N,draw:e=>{e.lineWidth(25);for(let t=0;t<8;t++){let n=100+t*50;e.M(n,450),e.L(n+30,450)}for(let t=0;t<8;t++){let n=100+t*50;e.M(n,50),e.L(n+30,50)}for(let t=0;t<8;t++){let n=50+t*50;e.M(100,n),e.L(100,n+30)}for(let t=0;t<8;t++){let n=50+t*50;e.M(500,n),e.L(500,n+30)}e.stroke()}},11037:{width:N,draw:e=>{e.rect(240,190,120,120),e.fill()}},11038:{width:N,draw:e=>{e.lineWidth(30),e.rect(240,190,120,120),e.stroke()}},11039:{width:N,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.fill()}},11040:{width:N,draw:e=>{e.lineWidth(40);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.stroke()}},11041:{width:N,draw:e=>{e.lineWidth(40);for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.stroke()}},11042:{width:N,draw:e=>{for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.fill()}},11043:{width:N,draw:e=>{for(let t=0;t<6;t++){let n=t*60*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.fill()}},11044:{width:N,draw:e=>{e.circle(300,250,230),e.fill()}},11045:{width:N,draw:e=>{e.M(300,470),e.L(480,250),e.L(300,30),e.L(120,250),e.Z(),e.fill()}},11046:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(480,250),e.L(300,30),e.L(120,250),e.Z(),e.stroke()}},11047:{width:N,draw:e=>{e.M(300,490),e.L(460,250),e.L(300,10),e.L(140,250),e.Z(),e.fill()}},11048:{width:N,draw:e=>{e.lineWidth(40),e.M(300,490),e.L(460,250),e.L(300,10),e.L(140,250),e.Z(),e.stroke()}},11049:{width:N,draw:e=>{e.M(300,380),e.L(400,250),e.L(300,120),e.L(200,250),e.Z(),e.fill()}},11050:{width:N,draw:e=>{e.M(300,400),e.L(380,250),e.L(300,100),e.L(220,250),e.Z(),e.fill()}},11051:{width:N,draw:e=>{e.lineWidth(35),e.M(300,400),e.L(380,250),e.L(300,100),e.L(220,250),e.Z(),e.stroke()}},11052:{width:N,draw:e=>{e.ellipse(300,250,220,120),e.fill()}},11053:{width:N,draw:e=>{e.lineWidth(40),e.ellipse(300,250,220,120),e.stroke()}},11054:{width:N,draw:e=>{e.ellipse(300,250,120,220),e.fill()}},11055:{width:N,draw:e=>{e.lineWidth(40),e.ellipse(300,250,120,220),e.stroke()}},11056:{width:N,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill(),e.circle(510,250,30),e.fill()}},11057:{width:N,draw:e=>{e.lineWidth(25);for(let t=150;t<=350;t+=100)e.M(500,t),e.L(200,t),e.stroke(),e.M(120,t),e.L(220,t+60),e.L(220,t-60),e.Z(),e.fill()}},11058:{width:N,draw:e=>{e.lineWidth(35),e.M(460,250),e.L(200,250),e.stroke(),e.M(120,250),e.L(220,350),e.L(220,150),e.Z(),e.fill(),e.circle(500,250,40),e.stroke(),e.M(480,250),e.L(520,250),e.stroke(),e.M(500,230),e.L(500,270),e.stroke()}},11059:{width:N,draw:e=>{e.lineWidth(35),e.M(520,250),e.C(480,330,420,170,360,250),e.C(300,330,240,170,180,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill()}},11060:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(300,150),e.L(300,350),e.stroke()}},11061:{width:N,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(280,150),e.L(280,350),e.stroke(),e.M(320,150),e.L(320,350),e.stroke()}},11062:{width:N,draw:e=>{e.lineWidth(40),e.M(500,150),e.L(500,350),e.stroke(),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(400,250),e.L(450,320),e.L(450,180),e.Z(),e.fill()}},11063:{width:N,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(430,250),e.stroke(),e.M(380,250),e.L(310,250),e.stroke(),e.M(260,250),e.L(190,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(430,330),e.L(430,170),e.Z(),e.fill()}},11064:{width:N,draw:e=>{e.circle(450,250,20),e.fill(),e.circle(370,250,20),e.fill(),e.circle(290,250,20),e.fill(),e.lineWidth(40),e.M(230,250),e.L(170,250),e.stroke(),e.M(100,250),e.L(220,350),e.L(220,150),e.Z(),e.fill()}},11065:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(150,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,350),e.L(500,150),e.stroke(),e.M(350,150),e.L(350,350),e.stroke()}},11066:{width:N,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(150,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill(),e.M(500,340),e.L(500,160),e.stroke(),e.M(330,160),e.L(330,340),e.stroke(),e.M(370,160),e.L(370,340),e.stroke()}},11067:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(500,350),e.L(500,150),e.stroke()}},11068:{width:N,draw:e=>{e.lineWidth(35),e.M(520,250),e.L(80,250),e.stroke(),e.M(80,250),e.L(170,340),e.L(170,160),e.Z(),e.fill(),e.M(520,250),e.L(430,340),e.L(430,160),e.Z(),e.fill(),e.M(520,340),e.L(520,160),e.stroke(),e.M(300,160),e.L(300,340),e.stroke()}},11069:{width:N,draw:e=>{e.lineWidth(30),e.M(530,250),e.L(70,250),e.stroke(),e.M(70,250),e.L(160,340),e.L(160,160),e.Z(),e.fill(),e.M(530,250),e.L(440,340),e.L(440,160),e.Z(),e.fill(),e.M(530,340),e.L(530,160),e.stroke(),e.M(280,160),e.L(280,340),e.stroke(),e.M(320,160),e.L(320,340),e.stroke()}},11070:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(130,250),e.stroke(),e.M(100,250),e.L(210,350),e.L(210,150),e.Z(),e.fill(),e.M(310,180),e.L(390,320),e.stroke(),e.M(390,180),e.L(310,320),e.stroke()}},11071:{width:N,draw:e=>{e.lineWidth(35),e.M(500,250),e.C(440,330,380,170,300,250),e.C(240,330,200,170,160,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill()}},11072:{width:N,draw:e=>{e.lineWidth(35),e.M(500,200),e.L(140,200),e.stroke(),e.M(100,200),e.L(200,270),e.L(200,130),e.Z(),e.fill(),e.M(150,350),e.L(470,350),e.stroke(),e.M(150,400),e.L(470,400),e.stroke()}},11073:{width:N,draw:e=>{e.lineWidth(35),e.M(500,200),e.L(140,200),e.stroke(),e.M(100,200),e.L(200,270),e.L(200,130),e.Z(),e.fill(),e.M(470,380),e.C(400,430,200,330,140,380),e.stroke()}},11077:{width:N,draw:e=>{e.lineWidth(25),e.M(500,330),e.L(200,330),e.stroke(),e.M(500,280),e.L(200,280),e.stroke(),e.M(500,230),e.L(200,230),e.stroke(),e.M(500,180),e.L(200,180),e.stroke(),e.M(100,250),e.L(230,400),e.L(230,100),e.Z(),e.fill()}},11078:{width:N,draw:e=>{e.lineWidth(25),e.M(100,330),e.L(400,330),e.stroke(),e.M(100,280),e.L(400,280),e.stroke(),e.M(100,230),e.L(400,230),e.stroke(),e.M(100,180),e.L(400,180),e.stroke(),e.M(500,250),e.L(370,400),e.L(370,100),e.Z(),e.fill()}},11089:{width:N,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),260+200*Math.sin(n)):e.L(300+200*Math.cos(n),260+200*Math.sin(n)),e.L(300+80*Math.cos(r),260+80*Math.sin(r))}e.Z(),e.fill()}},11090:{width:N,draw:e=>{e.lineWidth(35);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),260+200*Math.sin(n)):e.L(300+200*Math.cos(n),260+200*Math.sin(n)),e.L(300+80*Math.cos(r),260+80*Math.sin(r))}e.Z(),e.stroke()}},11091:{width:N,draw:e=>{for(let t=0;t<4;t++){let n=(t*90-90)*Math.PI/180,r=(t*90+45-90)*Math.PI/180;t===0?e.M(300+210*Math.cos(n),260+210*Math.sin(n)):e.L(300+210*Math.cos(n),260+210*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.fill()}},11092:{width:N,draw:e=>{e.lineWidth(40);for(let t=0;t<4;t++){let n=(t*90-90)*Math.PI/180,r=(t*90+45-90)*Math.PI/180;t===0?e.M(300+210*Math.cos(n),260+210*Math.sin(n)):e.L(300+210*Math.cos(n),260+210*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke()}},11093:{width:N,draw:e=>{e.lineWidth(60),e.circle(300,250,210),e.stroke()}},11094:{width:N,draw:e=>{e.circle(300,250,40),e.fill()}},11095:{width:N,draw:e=>{e.lineWidth(50),e.circle(300,250,180),e.stroke()}},11096:{width:N,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke()}},11097:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.circle(300,250,100),e.stroke()}},11104:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(230,380),e.L(230,120),e.Z(),e.fill()}},11105:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,350),e.stroke(),e.M(300,450),e.L(180,320),e.L(420,320),e.Z(),e.fill()}},11106:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},11107:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,150),e.stroke(),e.M(300,50),e.L(180,180),e.L(420,180),e.Z(),e.fill()}},11108:{width:N,draw:e=>{e.lineWidth(35),e.M(180,250),e.L(420,250),e.stroke(),e.M(100,250),e.L(210,350),e.L(210,150),e.Z(),e.fill(),e.M(500,250),e.L(390,350),e.L(390,150),e.Z(),e.fill()}},11109:{width:N,draw:e=>{e.lineWidth(35),e.M(300,140),e.L(300,360),e.stroke(),e.M(300,460),e.L(200,350),e.L(400,350),e.Z(),e.fill(),e.M(300,40),e.L(200,150),e.L(400,150),e.Z(),e.fill()}},11120:{width:N,draw:e=>{e.lineWidth(30),e.M(500,280),e.L(200,280),e.stroke(),e.M(500,220),e.L(200,220),e.stroke(),e.M(100,250),e.L(230,380),e.L(230,120),e.Z(),e.fill()}},11122:{width:N,draw:e=>{e.lineWidth(30),e.M(100,280),e.L(400,280),e.stroke(),e.M(100,220),e.L(400,220),e.stroke(),e.M(500,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},11157:{width:N,draw:e=>{e.M(550,250),e.L(370,420),e.L(370,310),e.L(50,310),e.L(50,190),e.L(370,190),e.L(370,80),e.Z(),e.fill()}},11118:{width:N,draw:e=>{e.lineWidth(40),e.M(150,400),e.L(150,200),e.C(150,80,300,50,450,80),e.C(500,100,520,200,450,250),e.stroke(),e.M(150,400),e.L(80,300),e.L(220,300),e.Z(),e.fill()}},11119:{width:N,draw:e=>{e.lineWidth(40),e.M(450,400),e.L(450,200),e.C(450,80,300,50,150,80),e.C(100,100,80,200,150,250),e.stroke(),e.M(450,400),e.L(380,300),e.L(520,300),e.Z(),e.fill()}},11134:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(430,250),e.stroke(),e.M(500,250),e.L(380,360),e.L(380,140),e.Z(),e.fill(),e.M(100,150),e.L(100,350),e.stroke()}},11135:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(170,250),e.stroke(),e.M(100,250),e.L(220,360),e.L(220,140),e.Z(),e.fill(),e.M(500,150),e.L(500,350),e.stroke()}},11144:{width:N,draw:e=>{e.circle(300,250,220),e.fill()}},11146:{width:N,draw:e=>{e.circle(300,250,220),e.fill()}},11148:{width:N,draw:e=>{e.lineWidth(40),e.M(350,430),e.C(200,430,100,350,100,250),e.C(100,150,200,70,350,70),e.C(480,70,520,200,500,300),e.stroke(),e.M(350,430),e.L(290,370),e.L(400,370),e.Z(),e.fill()}},11150:{width:N,draw:e=>{e.lineWidth(40),e.M(250,430),e.C(400,430,500,350,500,250),e.C(500,150,400,70,250,70),e.C(120,70,80,200,100,300),e.stroke(),e.M(250,430),e.L(200,370),e.L(310,370),e.Z(),e.fill()}},11152:{width:N,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(200,250),e.stroke(),e.M(120,250),e.L(170,300),e.L(220,250),e.L(170,200),e.Z(),e.fill()}},11153:{width:N,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(400,250),e.stroke(),e.M(480,250),e.L(430,300),e.L(380,250),e.L(430,200),e.Z(),e.fill()}},11165:{width:N,draw:e=>{e.M(300,450),e.L(150,100),e.L(450,100),e.Z(),e.fill()}},11166:{width:N,draw:e=>{e.M(150,450),e.L(500,250),e.L(150,50),e.Z(),e.fill()}},11167:{width:N,draw:e=>{e.M(150,400),e.L(450,400),e.L(300,50),e.Z(),e.fill()}},11168:{width:N,draw:e=>{e.M(450,450),e.L(100,250),e.L(450,50),e.Z(),e.fill()}},11169:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(150,100),e.L(450,100),e.Z(),e.stroke()}},11170:{width:N,draw:e=>{e.lineWidth(40),e.M(150,450),e.L(500,250),e.L(150,50),e.Z(),e.stroke()}},11171:{width:N,draw:e=>{e.lineWidth(40),e.M(150,400),e.L(450,400),e.L(300,50),e.Z(),e.stroke()}},11172:{width:N,draw:e=>{e.lineWidth(40),e.M(450,450),e.L(100,250),e.L(450,50),e.Z(),e.stroke()}}}}));function P(e,t,n,r,i,a){return{width:F,draw:o=>{a||o.lineWidth(30);for(let a=0;a<e;a++){let s=(a*360/e-90)*Math.PI/180,c=(a*360/e+180/e-90)*Math.PI/180;a===0?o.M(t+r*Math.cos(s),n+r*Math.sin(s)):o.L(t+r*Math.cos(s),n+r*Math.sin(s)),o.L(t+i*Math.cos(c),n+i*Math.sin(c))}o.Z(),a?o.fill():o.stroke()}}}function Jr(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r,s=300+r*220,c=250+i*220,l=300-r*220,u=250-i*220,d=300-r*60,f=250-i*60;return{width:F,draw:e=>{e.M(l-a*50,u-o*50),e.L(d-a*50,f-o*50),e.L(d-a*120,f-o*120),e.L(s,c),e.L(d+a*120,f+o*120),e.L(d+a*50,f+o*50),e.L(l+a*50,u+o*50),e.Z(),e.fill()}}}function Yr(e){let t={1:[[300,250]],2:[[200,350],[400,150]],3:[[200,350],[300,250],[400,150]],4:[[200,350],[400,350],[200,150],[400,150]],5:[[200,350],[400,350],[300,250],[200,150],[400,150]],6:[[200,350],[400,350],[200,250],[400,250],[200,150],[400,150]]};return{width:F,draw:n=>{n.lineWidth(35),n.rect(100,50,400,400),n.stroke();let r=t[e]??[];for(let[e,t]of r)n.circle(e,t,30),n.fill()}}}function Xr(e,t){return{width:F,draw:n=>{switch(t||n.lineWidth(30),n.rect(180,30,240,40),t?n.fill():n.stroke(),e){case`king`:n.M(220,70),n.L(220,350),n.L(380,350),n.L(380,70),n.Z(),t?n.fill():n.stroke(),n.lineWidth(35),n.M(300,350),n.L(300,450),n.stroke(),n.M(260,420),n.L(340,420),n.stroke();break;case`queen`:n.M(220,70),n.L(200,350),n.L(400,350),n.L(380,70),n.Z(),t?n.fill():n.stroke(),n.lineWidth(25),n.M(200,350),n.L(160,430),n.stroke(),n.M(270,350),n.L(250,440),n.stroke(),n.M(300,350),n.L(300,460),n.stroke(),n.M(330,350),n.L(350,440),n.stroke(),n.M(400,350),n.L(440,430),n.stroke();break;case`rook`:n.M(200,70),n.L(200,350),n.L(400,350),n.L(400,70),n.Z(),t?n.fill():n.stroke(),n.rect(180,350,60,80),t?n.fill():n.stroke(),n.rect(270,350,60,80),t?n.fill():n.stroke(),n.rect(360,350,60,80),t?n.fill():n.stroke();break;case`bishop`:n.M(230,70),n.L(200,300),n.C(200,400,400,400,400,300),n.L(370,70),n.Z(),t?n.fill():n.stroke(),n.M(300,300),n.L(300,460),t||n.lineWidth(25),n.stroke();break;case`knight`:n.M(220,70),n.L(220,300),n.L(280,350),n.L(280,420),n.L(350,460),n.L(420,400),n.L(380,300),n.L(380,70),n.Z(),t?n.fill():n.stroke();break;case`pawn`:n.M(230,70),n.L(230,200),n.L(370,200),n.L(370,70),n.Z(),t?n.fill():n.stroke(),n.circle(300,320,90),t?n.fill():n.stroke()}}}}function Zr(e,t){return{width:F,draw:n=>{n.lineWidth(t);for(let t=0;t<e;t++){let r=t*180/e*Math.PI/180;n.M(300-180*Math.cos(r),250-180*Math.sin(r)),n.L(300+180*Math.cos(r),250+180*Math.sin(r))}n.stroke()}}}function Qr(e,t,n,r,i){let a=Math.sqrt(e*e+t*t),o=e/a,s=t/a,c=-s,l=o,u=300+o*220,d=250+s*220,f=300-o*220,p=250-s*220,m=u-o*r,h=d-s*r;return{width:F,draw:e=>{e.M(f-c*i,p-l*i),e.L(m-c*i,h-l*i),e.L(m-c*n,h-l*n),e.L(u,d),e.L(m+c*n,h+l*n),e.L(m+c*i,h+l*i),e.L(f+c*i,p+l*i),e.Z(),e.fill()}}}function $r(e,t,n){let r=Math.sqrt(e*e+t*t),i=e/r,a=t/r,o=-a,s=i,c=300+i*200,l=250+a*200,u=300-i*200,d=250-a*200,f=c-i*140,p=l-a*140;return{width:F,draw:e=>{let t=n,r=-n;e.M(u+t-o*45,d+r-s*45),e.L(f+t-o*45,p+r-s*45),e.L(f+t-o*110,p+r-s*110),e.L(c+t,l+r),e.L(f+t+o*110,p+r+s*110),e.L(f+t+o*45,p+r+s*45),e.L(u+t+o*45,d+r+s*45),e.Z(),e.fill(),e.M(u-o*45,d-s*45),e.L(f-o*45,p-s*45),e.L(f-o*110,p-s*110),e.L(c,l),e.L(f+o*110,p+s*110),e.L(f+o*45,p+s*45),e.L(u+o*45,d+s*45),e.Z(),e.fill()}}}function ei(e){return{width:F,draw:t=>{let n=e>0?400:100;t.lineWidth(50),t.M(100,n),t.C(100,250,300,250,480,250),t.stroke(),t.M(480,250),t.L(400,180),t.L(400,320),t.Z(),t.fill()}}}function ti(e,t,n){return{width:F,draw:r=>{r.lineWidth(n),r.M(80,250-t),r.L(360,250-t),r.L(360,250-e),r.L(520,250),r.L(360,250+e),r.L(360,250+t),r.L(80,250+t),r.Z(),r.stroke()}}}function ni(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:F,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*60,c-i*90+o*60),e.L(s-r*90-a*60,c-i*90-o*60),e.Z(),e.fill(),e.M(t+a*70,n+o*70),e.L(t-a*70,n-o*70),e.stroke()}}}function ri(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:F,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill(),e.M(t,n),e.L(t+r*90+a*55,n+i*90+o*55),e.L(t+r*90-a*55,n+i*90-o*55),e.Z(),e.fill()}}}function ii(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:F,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill(),e.M(300+a*60+r*30,250+o*60+i*30),e.L(300-a*60-r*30,250-o*60-i*30),e.stroke()}}}function ai(e,t,n,r){let i=Math.sqrt(e*e+t*t),a=e/i,o=t/i,s=-o,c=a,l=Math.sqrt(n*n+r*r),u=n/l,d=r/l,f=-d,p=u;return{width:F,draw:e=>{e.lineWidth(28);let t=300-a*180+s*50,n=250-o*180+c*50,r=300+a*180+s*50,i=250+o*180+c*50;e.M(t,n),e.L(r,i),e.stroke(),e.M(r,i),e.L(r-a*70+s*45,i-o*70+c*45),e.L(r-a*70-s*45,i-o*70-c*45),e.Z(),e.fill();let l=300-u*180-f*50,m=250-d*180-p*50,h=300+u*180-f*50,g=250+d*180-p*50;e.M(l,m),e.L(h,g),e.stroke(),e.M(h,g),e.L(h-u*70+f*45,g-d*70+p*45),e.L(h-u*70-f*45,g-d*70-p*45),e.Z(),e.fill()}}}function oi(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:F,draw:e=>{e.lineWidth(35);let t=300-r*160,n=250-i*160,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill();let l=t-r*40,u=n-i*40;e.circle(l,u,40),e.stroke()}}}function si(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:F,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill(),e.lineWidth(22),e.M(300-r*50+a*50,250-i*50+o*50),e.C(300-r*25+a*70,250-i*25+o*70,300+r*25+a*30,250+i*25+o*30,300+r*50+a*50,250+i*50+o*50),e.stroke()}}}function ci(e,t,n){let r=Math.sqrt(e*e+t*t),i=e/r,a=t/r,o=-a,s=i;return{width:F,draw:e=>{e.lineWidth(n);let t=300-i*200,r=250-a*200,c=300+i*200,l=250+a*200;e.M(t,r),e.L(c,l),e.stroke(),e.M(c-i*90+o*60,l-a*90+s*60),e.L(c,l),e.L(c-i*90-o*60,l-a*90-s*60),e.stroke()}}}function li(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:F,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s-r*80+a*55,c-i*80+o*55),e.L(s,c),e.L(s-r*80-a*55,c-i*80-o*55),e.stroke(),e.M(t+a*70,n+o*70),e.L(t-a*70,n-o*70),e.stroke(),e.M(s+a*70,c+o*70),e.L(s-a*70,c-o*70),e.stroke()}}}function ui(e,t){return{width:F,draw:n=>{n.lineWidth(t);for(let t=0;t<e;t++){let r=t*Math.PI/e;n.M(300-120*Math.cos(r),400-120*Math.sin(r)),n.L(300+120*Math.cos(r),400+120*Math.sin(r))}n.stroke()}}}function di(e,t,n){e.M(t-60,400),e.C(t-60,480,t+60,480,t+60,400),e.C(t+60,320,t,300,t,240),e.stroke(),e.circle(t,150,25),e.fill()}function fi(e,t,n){e.M(t,480),e.L(t,200),e.stroke(),e.circle(t,130,28),e.fill()}var F,pi,I,L,mi,hi,R,gi,_i,vi=n((()=>{F=600,pi={9690:{width:F,draw:e=>{e.lineWidth(45),e.M(80,250),e.C(80,390,180,470,300,470),e.C(420,470,520,390,520,250),e.stroke()}},9691:{width:F,draw:e=>{e.lineWidth(45),e.M(520,250),e.C(520,110,420,30,300,30),e.C(180,30,80,110,80,250),e.stroke()}},10690:{width:F,draw:e=>{e.lineWidth(35),e.circle(260,250,180),e.stroke(),e.circle(470,250,50),e.stroke()}},10691:{width:F,draw:e=>{e.lineWidth(35),e.circle(260,250,180),e.stroke(),e.M(440,290),e.L(540,290),e.stroke(),e.M(440,210),e.L(540,210),e.stroke()}},10692:{width:F,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.M(160,100),e.L(440,400),e.stroke()}},10693:{width:F,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.M(160,400),e.L(440,100),e.stroke()}},10694:{width:F,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.lineWidth(35),e.M(300,100),e.L(300,400),e.stroke(),e.M(160,250),e.L(440,250),e.stroke(),e.M(180,120),e.L(420,380),e.stroke(),e.M(180,380),e.L(420,120),e.stroke()}},9548:{width:F,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(120,250),e.stroke(),e.M(200,250),e.L(400,250),e.stroke(),e.M(480,250),e.L(600,250),e.stroke()}},9549:{width:F,draw:e=>{e.lineWidth(80),e.M(0,250),e.L(120,250),e.stroke(),e.M(200,250),e.L(400,250),e.stroke(),e.M(480,250),e.L(600,250),e.stroke()}},9550:{width:F,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,100),e.stroke(),e.M(300,180),e.L(300,320),e.stroke(),e.M(300,400),e.L(300,500),e.stroke()}},9551:{width:F,draw:e=>{e.lineWidth(80),e.M(300,0),e.L(300,100),e.stroke(),e.M(300,180),e.L(300,320),e.stroke(),e.M(300,400),e.L(300,500),e.stroke()}},8456:{width:F,draw:e=>{e.lineWidth(40),e.M(180,450),e.L(420,450),e.L(420,250),e.L(250,250),e.stroke(),e.M(420,250),e.L(420,50),e.L(180,50),e.stroke()}},8483:{width:F,draw:e=>{e.lineWidth(45),e.M(150,480),e.L(300,20),e.L(450,480),e.stroke()}},8506:{width:F,draw:e=>{e.lineWidth(40),e.ellipse(300,260,180,200),e.stroke(),e.M(380,140),e.L(480,40),e.stroke()}},8507:{width:F,draw:e=>{e.lineWidth(40),e.M(80,50),e.L(80,480),e.L(200,480),e.stroke(),e.M(80,280),e.L(180,280),e.stroke(),e.M(230,50),e.L(300,480),e.L(370,50),e.stroke(),e.M(255,200),e.L(345,200),e.stroke(),e.M(400,480),e.L(520,50),e.stroke(),e.M(520,480),e.L(400,50),e.stroke()}},9135:{width:F,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke()}},9143:{width:F,draw:e=>{e.lineWidth(45),e.M(80,250),e.L(200,250),e.L(300,0),e.L(520,500),e.stroke()}},9144:{width:300,draw:e=>{e.lineWidth(40),e.M(80,0),e.L(80,500),e.stroke()}},9145:{width:300,draw:e=>{e.lineWidth(40),e.M(220,0),e.L(220,500),e.stroke()}},9154:{width:F,draw:e=>{e.lineWidth(35),e.M(300,0),e.L(300,500),e.stroke(),e.M(100,250),e.C(150,300,250,200,300,250),e.C(350,300,450,200,500,250),e.stroke()}}};for(let e of[9155,9156,9157,9158,9159,9160,9169,9170,9171,9172,9173,9174,9175,9176,9177])pi[e]={width:F,draw:e=>{e.lineWidth(35),e.M(300,0),e.L(300,500),e.stroke(),e.M(150,250),e.L(450,250),e.stroke()}};pi[10063]={width:F,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(140,80),e.L(500,80),e.L(500,420),e.stroke()}},pi[10064]={width:F,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(480,440),e.L(480,80),e.L(120,80),e.stroke()}},pi[10065]={width:F,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(460,440),e.L(100,440),e.L(100,80),e.stroke()}},pi[10066]={width:F,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(120,60),e.L(120,420),e.L(480,420),e.stroke()}},pi[10072]={width:250,draw:e=>{e.lineWidth(35),e.M(125,0),e.L(125,500),e.stroke()}},pi[10073]={width:300,draw:e=>{e.lineWidth(55),e.M(150,0),e.L(150,500),e.stroke()}},pi[10074]={width:350,draw:e=>{e.lineWidth(80),e.M(175,0),e.L(175,500),e.stroke()}},pi[10075]={width:300,draw:e=>{e.circle(150,430,55),e.fill(),e.lineWidth(40),e.M(150,375),e.C(110,320,90,290,70,270),e.stroke()}},pi[10076]={width:300,draw:e=>{e.circle(150,430,55),e.fill(),e.lineWidth(40),e.M(150,375),e.C(190,320,210,290,230,270),e.stroke()}},pi[10077]={width:450,draw:e=>{e.circle(120,430,50),e.fill(),e.circle(300,430,50),e.fill(),e.lineWidth(35),e.M(120,380),e.C(80,320,60,290,40,270),e.stroke(),e.M(300,380),e.C(260,320,240,290,220,270),e.stroke()}},pi[10078]={width:450,draw:e=>{e.circle(150,430,50),e.fill(),e.circle(330,430,50),e.fill(),e.lineWidth(35),e.M(150,380),e.C(190,320,210,290,230,270),e.stroke(),e.M(330,380),e.C(370,320,390,290,410,270),e.stroke()}},pi[10079]={width:300,draw:e=>{e.circle(150,80,50),e.fill(),e.lineWidth(40),e.M(150,130),e.C(190,190,210,220,230,250),e.stroke()}},pi[10080]={width:450,draw:e=>{e.circle(130,80,45),e.fill(),e.circle(310,80,45),e.fill(),e.lineWidth(35),e.M(130,125),e.C(170,190,190,220,210,250),e.stroke(),e.M(310,125),e.C(350,190,370,220,390,250),e.stroke()}},pi[10081]={width:F,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(300,100),e.stroke(),e.M(180,380),e.L(420,380),e.stroke(),e.circle(300,50,30),e.fill()}};for(let[e,t,n,r]of[[10088,10089,!1,!1],[10090,10091,!1,!0],[10092,10093,!0,!1],[10094,10095,!0,!1],[10096,10097,!0,!0],[10098,10099,!1,!0],[10100,10101,!1,!1]]){let i=r?55:38;n?(pi[e]={width:350,draw:e=>{e.lineWidth(i),e.M(280,480),e.L(100,250),e.L(280,20),e.stroke()}},pi[t]={width:350,draw:e=>{e.lineWidth(i),e.M(70,480),e.L(250,250),e.L(70,20),e.stroke()}}):(pi[e]={width:350,draw:e=>{e.lineWidth(i),e.M(260,480),e.C(100,400,100,100,260,20),e.stroke()}},pi[t]={width:350,draw:e=>{e.lineWidth(i),e.M(90,480),e.C(250,400,250,100,90,20),e.stroke()}})}{let e=(e,t,n,r,i)=>{[e=>{e.ellipse(n,r,i*.28,i*.42),e.stroke()},e=>{e.M(n,r+i*.42),e.L(n,r-i*.42),e.stroke()},e=>{e.M(n-i*.25,r+i*.25),e.C(n-i*.25,r+i*.45,n+i*.25,r+i*.45,n+i*.25,r+i*.15),e.L(n-i*.25,r-i*.42),e.L(n+i*.25,r-i*.42),e.stroke()},e=>{e.M(n-i*.22,r+i*.42),e.L(n+i*.22,r+i*.42),e.L(n+i*.22,r),e.L(n-i*.1,r),e.stroke(),e.M(n+i*.22,r),e.L(n+i*.22,r-i*.42),e.L(n-i*.22,r-i*.42),e.stroke()},e=>{e.M(n+i*.2,r+i*.42),e.L(n-i*.25,r-i*.05),e.L(n+i*.25,r-i*.05),e.stroke(),e.M(n+i*.2,r+i*.42),e.L(n+i*.2,r-i*.42),e.stroke()},e=>{e.M(n+i*.22,r+i*.42),e.L(n-i*.22,r+i*.42),e.L(n-i*.22,r+i*.05),e.L(n+i*.22,r+i*.05),e.C(n+i*.35,r+i*.05,n+i*.35,r-i*.42,n-i*.22,r-i*.42),e.stroke()},e=>{e.M(n+i*.2,r+i*.35),e.C(n-i*.1,r+i*.45,n-i*.3,r+i*.15,n-i*.25,r-i*.1),e.C(n-i*.2,r-i*.45,n+i*.25,r-i*.45,n+i*.25,r-i*.1),e.C(n+i*.25,r+i*.1,n-i*.25,r+i*.1,n-i*.25,r-i*.1),e.stroke()},e=>{e.M(n-i*.22,r+i*.42),e.L(n+i*.22,r+i*.42),e.L(n-i*.05,r-i*.42),e.stroke()},e=>{e.ellipse(n,r+i*.22,i*.2,i*.2),e.stroke(),e.ellipse(n,r-i*.22,i*.22,i*.22),e.stroke()},e=>{e.M(n-i*.2,r-i*.35),e.C(n+i*.1,r-i*.45,n+i*.3,r-i*.15,n+i*.25,r+i*.1),e.C(n+i*.2,r+i*.45,n-i*.25,r+i*.45,n-i*.25,r+i*.1),e.C(n-i*.25,r-i*.1,n+i*.25,r-i*.1,n+i*.25,r+i*.1),e.stroke()}][t](e)};for(let t=0;t<10;t++){let n=t+1;pi[10112+t]={width:F,draw:t=>{t.lineWidth(28),t.circle(300,250,220),t.stroke(),t.lineWidth(26),n<=9?e(t,n,300,250,210):(e(t,1,225,250,155),e(t,0,375,250,155))}}}for(let t=0;t<10;t++){let n=t+1;pi[10122+t]={width:F,draw:t=>{t.rect(70,20,460,460),t.fill(),t.lineWidth(24),n<=9?e(t,n,300,250,200):(e(t,1,225,250,150),e(t,0,375,250,150))}}}}pi[10160]={width:F,draw:e=>{e.lineWidth(40),e.M(150,100),e.C(150,400,450,400,450,250),e.C(450,100,250,100,250,250),e.C(250,350,350,400,450,350),e.stroke()}},pi[10175]={width:F,draw:e=>{e.lineWidth(35),e.M(80,150),e.C(80,400,300,400,300,250),e.C(300,100,150,100,150,250),e.stroke(),e.M(300,150),e.C(300,400,520,400,520,250),e.C(520,100,370,100,370,250),e.stroke()}},I={10025:P(4,300,250,220,80,!1),10026:{width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,230),e.stroke(),P(5,300,250,180,70,!0).draw(e)}},10027:P(4,300,250,220,100,!0),10028:P(4,300,250,220,100,!1),10029:P(5,300,250,220,100,!1),10030:P(6,300,250,220,130,!1),10031:P(6,300,250,220,100,!1),10033:Zr(6,45),10034:Zr(4,30),10035:Zr(8,25),10036:P(8,300,250,200,100,!0),10037:P(8,300,250,200,80,!0),10038:P(6,300,250,220,110,!0),10039:P(6,300,250,220,110,!1),10040:P(8,300,250,220,90,!0),10041:Zr(12,40),10042:Zr(6,35),10043:Zr(8,20),10044:Zr(8,15),10045:Zr(4,50),10046:P(6,300,250,200,140,!1),10047:P(8,300,250,200,140,!0),10048:P(8,300,250,200,140,!1),10049:P(8,300,250,210,160,!1),10050:P(16,300,250,220,160,!1),10051:Zr(6,50),10052:P(6,300,250,220,120,!1),10053:P(6,300,250,200,100,!1),10054:P(4,300,250,220,60,!1),10055:P(4,300,250,200,50,!0),10056:P(4,300,250,220,50,!0),10057:P(4,300,250,180,80,!0),10058:P(8,300,250,200,130,!0),10059:P(8,300,250,220,100,!0),9984:{width:F,draw:e=>{e.lineWidth(35),e.circle(170,370,80),e.stroke(),e.circle(170,130,80),e.stroke(),e.M(240,320),e.L(520,80),e.stroke(),e.M(240,180),e.L(520,420),e.stroke()}},9987:{width:F,draw:e=>{e.lineWidth(40),e.circle(170,370,80),e.stroke(),e.circle(170,130,80),e.stroke(),e.M(240,320),e.L(520,80),e.stroke(),e.M(240,180),e.L(520,420),e.stroke()}},9988:{width:F,draw:e=>{e.lineWidth(30),e.circle(160,350,70),e.stroke(),e.circle(160,150,70),e.stroke(),e.M(220,300),e.L(500,100),e.stroke(),e.M(220,200),e.L(500,400),e.stroke()}},9989:{width:F,draw:e=>{e.lineWidth(70),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},9994:{width:F,draw:e=>{e.circle(300,250,200),e.fill()}},9995:{width:F,draw:e=>{e.lineWidth(40),e.M(180,50),e.L(180,350),e.stroke(),e.M(250,50),e.L(250,400),e.stroke(),e.M(320,50),e.L(320,400),e.stroke(),e.M(390,50),e.L(390,350),e.stroke(),e.M(450,100),e.L(450,300),e.stroke()}},9996:{width:F,draw:e=>{e.lineWidth(40),e.M(220,50),e.L(250,400),e.stroke(),e.M(380,50),e.L(350,400),e.stroke()}},9997:{width:F,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(460,430),e.stroke(),e.M(120,50),e.L(150,130),e.stroke()}},10001:{width:F,draw:e=>{e.lineWidth(40),e.M(140,30),e.L(460,430),e.stroke(),e.M(120,80),e.L(190,30),e.stroke()}},10002:{width:F,draw:e=>{e.M(140,30),e.L(110,80),e.L(440,470),e.L(490,470),e.L(490,430),e.L(170,30),e.Z(),e.fill()}},10009:{width:F,draw:e=>{e.lineWidth(50),e.M(300,30),e.L(300,470),e.stroke(),e.M(90,250),e.L(510,250),e.stroke()}},10011:{width:F,draw:e=>{e.lineWidth(65),e.M(300,30),e.L(300,470),e.stroke(),e.M(80,250),e.L(520,250),e.stroke()}},10015:{width:F,draw:e=>{e.lineWidth(45),e.M(300,0),e.L(300,500),e.stroke(),e.M(120,370),e.L(480,370),e.stroke()}},10017:P(6,300,250,230,115,!1),10018:P(4,300,250,220,60,!0),10019:P(4,300,250,220,80,!1),10020:P(4,300,250,200,100,!0),10021:P(4,300,250,220,40,!0),10060:{width:F,draw:e=>{e.lineWidth(70),e.M(130,60),e.L(470,440),e.stroke(),e.M(130,440),e.L(470,60),e.stroke()}},10061:{width:F,draw:e=>{e.lineWidth(50),e.circle(300,250,210),e.stroke()}},10062:{width:F,draw:e=>{e.rect(80,30,440,440),e.fill()}},10067:{width:F,draw:e=>{e.lineWidth(55),e.M(200,400),e.C(200,480,400,480,400,380),e.C(400,300,300,280,300,220),e.stroke(),e.circle(300,120,35),e.fill()}},10068:{width:F,draw:e=>{e.lineWidth(45),e.M(200,400),e.C(200,480,400,480,400,380),e.C(400,300,300,280,300,220),e.stroke(),e.circle(300,120,30),e.fill()}},10069:{width:F,draw:e=>{e.lineWidth(50),e.M(200,400),e.C(200,480,400,480,400,380),e.C(400,300,300,280,300,220),e.stroke(),e.circle(300,120,35),e.fill()}},10070:P(4,300,250,230,50,!0),10071:{width:F,draw:e=>{e.lineWidth(60),e.M(300,480),e.L(300,150),e.stroke(),e.circle(300,60,38),e.fill()}},10082:{width:F,draw:e=>{e.lineWidth(55),e.M(300,480),e.L(300,150),e.stroke(),e.circle(300,60,35),e.fill()}},10083:{width:F,draw:e=>{e.lineWidth(55),e.M(300,480),e.L(300,200),e.stroke(),e.M(300,100),e.C(300,100,200,130,200,70),e.C(200,20,300,20,300,100),e.C(300,20,400,20,400,70),e.C(400,130,300,100,300,100),e.fill()}},10084:{width:F,draw:e=>{e.M(300,80),e.C(300,80,60,220,60,350),e.C(60,470,180,500,300,500),e.C(420,500,540,470,540,350),e.C(540,220,300,80,300,80),e.Z(),e.fill()}},10085:{width:F,draw:e=>{e.lineWidth(35),e.M(300,370),e.L(300,100),e.stroke(),e.M(300,460),e.C(300,460,200,490,200,430),e.C(200,380,300,380,300,460),e.C(300,380,400,380,400,430),e.C(400,490,300,460,300,460),e.fill()}},10086:{width:F,draw:e=>{e.lineWidth(30),e.M(300,80),e.C(300,80,100,200,100,300),e.C(100,400,200,450,300,400),e.C(400,450,500,400,500,300),e.C(500,200,300,80,300,80),e.stroke()}},10087:{width:F,draw:e=>{e.lineWidth(35),e.M(300,80),e.C(300,80,80,220,80,340),e.C(80,460,200,500,300,490),e.C(400,500,520,460,520,340),e.C(520,220,300,80,300,80),e.Z(),e.stroke()}},10133:{width:F,draw:e=>{e.rect(240,50,120,400),e.fill(),e.rect(100,190,400,120),e.fill()}},10134:{width:F,draw:e=>{e.rect(100,200,400,100),e.fill()}},10135:{width:F,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(480,450),e.stroke(),e.circle(200,370,35),e.fill(),e.circle(400,130,35),e.fill()}}},I[10136]||(I[10136]=Jr(1,-1)),I[10137]||(I[10137]=Qr(1,0,100,180,40)),I[10138]||(I[10138]=Qr(1,0,130,200,55)),I[10139]||(I[10139]=Qr(1,0,140,220,30)),I[10140]||(I[10140]=Qr(1,0,110,160,50)),I[10141]||(I[10141]=Qr(1,0,90,180,60)),I[10142]||(I[10142]=Qr(1,0,120,240,65)),I[10143]||(I[10143]=Qr(1,0,80,150,70)),I[10144]||(I[10144]=Qr(1,0,150,200,35)),I[10146]||(I[10146]=$r(1,0,15)),I[10147]||(I[10147]=$r(1,0,25)),I[10148]||(I[10148]=$r(1,0,10)),I[10149]||(I[10149]=ei(1)),I[10150]||(I[10150]=ei(-1)),I[10151]||(I[10151]=ti(100,40,30)),I[10152]||(I[10152]=Qr(1,0,160,260,45)),I[10153]||(I[10153]=ti(120,50,35)),I[10154]||(I[10154]=Qr(1,0,100,140,55)),I[10155]||(I[10155]=$r(1,0,20)),I[10156]||(I[10156]=$r(1,0,30)),I[10157]||(I[10157]=ti(90,35,28)),I[10158]||(I[10158]=Qr(1,0,130,180,60)),I[10159]||(I[10159]={width:F,draw:e=>{e.lineWidth(45),e.M(100,400),e.C(150,150,350,150,480,250),e.stroke(),e.M(480,250),e.L(420,180),e.L(420,320),e.Z(),e.fill()}}),I[10161]||(I[10161]=Qr(1,0,95,170,35)),I[10162]||(I[10162]=Qr(1,0,145,230,50)),I[10163]||(I[10163]=ti(80,30,25)),I[10164]||(I[10164]=Qr(1,0,110,190,25)),I[10165]||(I[10165]=Qr(1,0,135,210,40)),I[10166]||(I[10166]=ti(110,45,32)),I[10167]||(I[10167]=Qr(1,0,120,200,70)),I[10168]||(I[10168]=Qr(1,0,140,250,20)),I[10169]||(I[10169]=ti(130,55,38)),I[10170]||(I[10170]=Qr(1,0,105,170,45)),I[10171]||(I[10171]=ti(100,40,40)),I[10172]||(I[10172]=Qr(1,0,90,160,55)),I[10173]||(I[10173]=Qr(1,0,150,240,30)),I[10174]||(I[10174]=ti(115,48,30)),L={9730:{width:F,draw:e=>{e.lineWidth(35),e.M(100,250),e.C(100,420,250,450,300,450),e.C(350,450,500,420,500,250),e.stroke(),e.M(300,250),e.L(300,80),e.C(300,30,230,30,230,80),e.stroke()}},9731:{width:F,draw:e=>{e.lineWidth(30),e.circle(300,100,80),e.stroke(),e.circle(300,250,100),e.stroke(),e.circle(300,420,70),e.stroke()}},9732:{width:F,draw:e=>{e.circle(180,250,80),e.fill(),e.lineWidth(25),e.M(260,250),e.C(350,300,450,350,530,400),e.stroke(),e.M(260,270),e.C(350,250,450,200,530,150),e.stroke()}},9748:{width:F,draw:e=>{e.lineWidth(35),e.M(100,300),e.C(100,450,300,480,300,480),e.C(300,480,500,450,500,300),e.stroke(),e.M(300,300),e.L(300,100),e.C(300,50,230,50,230,100),e.stroke(),e.lineWidth(20),e.M(200,150),e.L(180,80),e.stroke(),e.M(400,150),e.L(380,80),e.stroke()}},9749:{width:F,draw:e=>{e.lineWidth(35),e.rect(150,50,250,250),e.stroke(),e.M(400,230),e.C(470,230,470,120,400,120),e.stroke(),e.lineWidth(25),e.M(200,350),e.C(220,400,350,400,370,350),e.stroke(),e.M(250,450),e.L(320,450),e.stroke()}},9752:{width:F,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,250),e.stroke(),e.M(300,250),e.C(200,350,100,400,150,450),e.C(200,500,300,400,300,250),e.stroke(),e.M(300,250),e.C(400,350,500,400,450,450),e.C(400,500,300,400,300,250),e.stroke(),e.M(300,250),e.C(250,300,200,250,250,200),e.C(280,170,300,250,300,250),e.stroke()}}},mi=[[9800,e=>{e.lineWidth(45),e.M(150,100),e.C(150,300,300,500,300,500),e.stroke(),e.M(450,100),e.C(450,300,300,500,300,500),e.stroke()}],[9801,e=>{e.lineWidth(45),e.circle(300,200,150),e.stroke(),e.M(150,350),e.C(150,450,300,500,300,500),e.stroke(),e.M(450,350),e.C(450,450,300,500,300,500),e.stroke()}],[9802,e=>{e.lineWidth(40),e.M(180,80),e.L(420,80),e.stroke(),e.M(180,420),e.L(420,420),e.stroke(),e.M(220,80),e.L(220,420),e.stroke(),e.M(380,80),e.L(380,420),e.stroke()}],[9803,e=>{e.lineWidth(45),e.M(180,350),e.C(180,450,300,450,300,350),e.C(300,250,180,250,180,350),e.stroke(),e.M(420,150),e.C(420,50,300,50,300,150),e.C(300,250,420,250,420,150),e.stroke()}],[9804,e=>{e.lineWidth(45),e.circle(200,380,80),e.stroke(),e.M(280,380),e.C(350,380,400,300,400,200),e.C(400,100,300,50,250,100),e.stroke()}],[9805,e=>{e.lineWidth(40),e.M(120,450),e.L(120,150),e.C(120,50,220,50,220,150),e.L(220,450),e.stroke(),e.M(220,150),e.C(220,50,320,50,320,150),e.L(320,400),e.C(320,450,380,450,400,400),e.stroke()}],[9806,e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,350),e.C(200,300,400,300,500,350),e.stroke()}],[9807,e=>{e.lineWidth(40),e.M(100,400),e.L(100,150),e.C(100,50,200,50,200,150),e.L(200,400),e.stroke(),e.M(200,150),e.C(200,50,300,50,300,150),e.L(300,400),e.stroke(),e.M(300,400),e.L(400,300),e.stroke(),e.M(370,340),e.L(400,300),e.L(430,340),e.stroke()}],[9808,e=>{e.lineWidth(50),e.M(100,100),e.L(480,400),e.stroke(),e.M(400,400),e.L(480,400),e.L(480,320),e.stroke(),e.M(100,250),e.L(350,250),e.stroke(),e.M(100,350),e.L(350,350),e.stroke()}],[9809,e=>{e.lineWidth(40),e.M(120,400),e.C(120,200,250,100,350,100),e.C(450,100,480,200,480,300),e.C(480,400,420,450,380,400),e.C(340,350,380,300,420,350),e.stroke()}],[9810,e=>{e.lineWidth(45),e.M(100,330),e.C(200,380,300,280,400,330),e.C(500,380,500,330,500,330),e.stroke(),e.M(100,200),e.C(200,250,300,150,400,200),e.C(500,250,500,200,500,200),e.stroke()}],[9811,e=>{e.lineWidth(45),e.M(150,400),e.C(150,250,300,250,300,250),e.C(300,250,450,250,450,100),e.stroke(),e.M(150,100),e.C(150,250,300,250,300,250),e.C(300,250,450,250,450,400),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}]];for(let[e,t]of mi)L[e]={width:F,draw:t};for(let[e,t,n]of[[9812,`king`,!1],[9813,`queen`,!1],[9814,`rook`,!1],[9815,`bishop`,!1],[9816,`knight`,!1],[9817,`pawn`,!1],[9818,`king`,!0],[9819,`queen`,!0],[9820,`rook`,!0],[9821,`bishop`,!0],[9822,`knight`,!0],[9823,`pawn`,!0]])L[e]=Xr(t,n);L[9825]={width:F,draw:e=>{e.lineWidth(35),e.M(300,60),e.C(300,60,80,200,80,320),e.C(80,440,180,480,300,480),e.C(420,480,520,440,520,320),e.C(520,200,300,60,300,60),e.Z(),e.stroke()}},L[9826]={width:F,draw:e=>{e.lineWidth(35),e.M(300,480),e.L(500,250),e.L(300,20),e.L(100,250),e.Z(),e.stroke()}},L[9828]={width:F,draw:e=>{e.lineWidth(35),e.M(300,490),e.C(300,490,50,340,70,200),e.C(80,100,180,60,300,200),e.C(420,60,520,100,530,200),e.C(550,340,300,490,300,490),e.Z(),e.stroke(),e.rect(260,20,80,160),e.stroke()}},L[9831]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,370,100),e.stroke(),e.circle(195,230,90),e.stroke(),e.circle(405,230,90),e.stroke(),e.rect(275,20,50,180),e.stroke()}};for(let e=1;e<=6;e++)L[9855+e]=Yr(e);L[9851]={width:F,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(150,180),e.stroke(),e.M(150,180),e.L(450,180),e.stroke(),e.M(450,180),e.L(300,450),e.stroke(),e.M(270,430),e.L(300,480),e.L(330,430),e.stroke(),e.M(170,220),e.L(130,190),e.L(160,150),e.stroke(),e.M(430,220),e.L(470,190),e.L(440,150),e.stroke()}},L[9855]={width:F,draw:e=>{e.lineWidth(40),e.circle(280,200,130),e.stroke(),e.circle(280,400,40),e.fill(),e.M(280,360),e.L(280,250),e.L(380,250),e.stroke(),e.M(380,250),e.L(420,130),e.stroke()}},L[9735]={width:F,draw:e=>{e.lineWidth(45),e.M(350,480),e.L(220,310),e.L(370,280),e.L(250,60),e.stroke()}},L[9736]={width:F,draw:e=>{e.lineWidth(30),e.M(120,280),e.C(120,400,200,430,300,430),e.C(400,430,480,400,480,280),e.C(480,200,400,170,350,200),e.C(340,140,280,130,230,170),e.C(180,150,120,200,120,280),e.stroke(),e.lineWidth(35),e.M(330,430),e.L(270,350),e.L(340,330),e.L(280,250),e.stroke()}},L[9737]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,120),e.stroke();for(let t=0;t<8;t++){let n=t*Math.PI/4;e.M(300+150*Math.cos(n),250+150*Math.sin(n)),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},L[9738]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,140),e.stroke(),e.M(140,370),e.L(460,130),e.stroke()}},L[9739]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,140),e.stroke(),e.M(140,130),e.L(460,370),e.stroke()}},L[9740]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,130),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},L[9741]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,130),e.stroke(),e.M(300,70),e.L(300,430),e.stroke()}},L[9743]={width:F,draw:e=>{e.lineWidth(30),e.M(150,80),e.C(120,200,120,350,180,430),e.C(250,480,350,480,420,430),e.C(480,350,480,200,450,80),e.C(430,30,370,50,370,120),e.C(370,180,340,200,300,200),e.C(260,200,230,180,230,120),e.C(230,50,170,30,150,80),e.Z(),e.stroke()}},L[9750]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,150),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(150,250),e.L(450,250),e.stroke()}},L[9751]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,150),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(150,200),e.L(450,200),e.stroke(),e.M(150,300),e.L(450,300),e.stroke()}},L[9753]={width:F,draw:e=>{e.M(300,100),e.C(300,100,100,220,100,330),e.C(100,440,190,480,300,480),e.C(410,480,500,440,500,330),e.C(500,220,300,100,300,100),e.Z(),e.fill()}},L[9754]={width:F,draw:e=>{e.rect(120,100,360,300),e.fill(),e.M(120,250),e.L(60,200),e.L(60,300),e.Z(),e.fill()}},L[9755]={width:F,draw:e=>{e.rect(120,100,360,300),e.fill(),e.M(480,250),e.L(540,200),e.L(540,300),e.Z(),e.fill()}},L[9756]={width:F,draw:e=>{e.lineWidth(35),e.rect(120,100,360,300),e.stroke(),e.M(120,250),e.L(60,200),e.L(60,300),e.Z(),e.stroke()}},L[9757]={width:F,draw:e=>{e.lineWidth(35),e.rect(150,100,300,320),e.stroke(),e.M(300,420),e.L(250,480),e.L(350,480),e.Z(),e.stroke()}},L[9758]={width:F,draw:e=>{e.lineWidth(35),e.rect(120,100,360,300),e.stroke(),e.M(480,250),e.L(540,200),e.L(540,300),e.Z(),e.stroke()}},L[9759]={width:F,draw:e=>{e.lineWidth(35),e.rect(150,100,300,320),e.stroke(),e.M(300,100),e.L(250,40),e.L(350,40),e.Z(),e.stroke()}},L[9760]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,320,130),e.stroke(),e.M(180,220),e.L(420,60),e.stroke(),e.M(420,220),e.L(180,60),e.stroke()}},L[9761]={width:F,draw:e=>{e.lineWidth(35),e.M(300,450),e.L(80,50),e.L(520,50),e.Z(),e.stroke(),e.lineWidth(30),e.M(300,350),e.L(300,200),e.stroke(),e.circle(300,140,20),e.fill()}},L[9762]={width:F,draw:e=>{e.circle(300,250,40),e.fill(),e.lineWidth(25);for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180,r=n-.4,i=n+.4;e.M(300+60*Math.cos(r),250+60*Math.sin(r)),e.L(300+190*Math.cos(r),250+190*Math.sin(r)),e.C(300+200*Math.cos(n),250+200*Math.sin(n),300+200*Math.cos(n),250+200*Math.sin(n),300+190*Math.cos(i),250+190*Math.sin(i)),e.L(300+60*Math.cos(i),250+60*Math.sin(i)),e.Z(),e.fill()}}},L[9763]={width:F,draw:e=>{e.lineWidth(25),e.circle(300,250,30),e.stroke();for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180,r=300+110*Math.cos(n),i=250+110*Math.sin(n);e.circle(r,i,80),e.stroke()}}},L[9764]={width:F,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.M(200,400),e.C(200,330,400,280,400,210),e.stroke(),e.M(400,400),e.C(400,330,200,280,200,210),e.stroke(),e.M(300,400),e.L(200,440),e.stroke(),e.M(300,400),e.L(400,440),e.stroke()}},L[9765]={width:F,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,270),e.stroke(),e.M(180,270),e.L(420,270),e.stroke(),e.ellipse(300,380,80,100),e.stroke()}},L[9766]={width:F,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,460),e.stroke(),e.M(170,350),e.L(430,350),e.stroke(),e.M(200,420),e.L(400,420),e.stroke(),e.M(220,210),e.L(380,170),e.stroke()}},L[9767]={width:F,draw:e=>{e.lineWidth(35),e.M(140,100),e.L(460,420),e.stroke(),e.M(460,100),e.L(140,420),e.stroke(),e.M(300,420),e.L(300,480),e.stroke(),e.M(370,360),e.C(430,400,430,460,370,480),e.stroke()}},L[9768]={width:F,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,460),e.stroke(),e.M(170,310),e.L(430,310),e.stroke(),e.M(200,180),e.L(400,180),e.stroke()}},L[9769]={width:F,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.lineWidth(15);for(let[t,n]of[[190,350],[410,350],[190,150],[410,150]])e.M(t,n-35),e.L(t,n+35),e.stroke(),e.M(t-35,n),e.L(t+35,n),e.stroke()}},L[9770]={width:F,draw:e=>{e.lineWidth(30),e.circle(280,250,170),e.stroke(),e.M(370,250),e.circle(350,250,140),e.stroke(),P(5,440,380,50,20,!0).draw(e)}},L[9771]={width:F,draw:e=>{e.lineWidth(35),e.rect(120,70,360,360),e.stroke(),e.circle(300,250,40),e.fill()}},L[9772]={width:F,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.circle(300,250,130),e.stroke(),e.M(150,200),e.C(180,350,420,350,450,200),e.stroke()}},L[9773]={width:F,draw:e=>{e.lineWidth(35),e.M(350,80),e.L(200,430),e.stroke(),e.M(140,120),e.L(250,120),e.stroke(),e.M(350,400),e.C(450,350,500,250,430,150),e.C(380,80,300,100,280,180),e.stroke()}};for(let[e,t,n,r]of[[9776,!0,!0,!0],[9777,!0,!0,!1],[9778,!0,!1,!0],[9779,!0,!1,!1],[9780,!1,!0,!0],[9781,!1,!0,!1],[9782,!1,!1,!0],[9783,!1,!1,!1]])L[e]={width:F,draw:e=>{e.lineWidth(40);let i=[t,n,r],a=[380,250,120];for(let t=0;t<3;t++)i[t]?(e.M(120,a[t]),e.L(480,a[t]),e.stroke()):(e.M(120,a[t]),e.L(260,a[t]),e.stroke(),e.M(340,a[t]),e.L(480,a[t]),e.stroke())}};L[9788]={width:F,draw:e=>{e.lineWidth(25),e.circle(300,250,90),e.stroke();for(let t=0;t<12;t++){let n=t*Math.PI/6;e.M(300+110*Math.cos(n),250+110*Math.sin(n)),e.L(300+160*Math.cos(n),250+160*Math.sin(n))}e.stroke()}},L[9789]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(300,70),e.C(180,70,120,150,120,250),e.C(120,350,180,430,300,430),e.Z(),e.fill()}},L[9790]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(300,70),e.C(420,70,480,150,480,250),e.C(480,350,420,430,300,430),e.Z(),e.fill()}},L[9791]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,270,100),e.stroke(),e.M(300,170),e.L(300,70),e.stroke(),e.M(250,120),e.L(350,120),e.stroke(),e.M(230,420),e.C(230,480,300,480,300,430),e.stroke(),e.M(370,420),e.C(370,480,300,480,300,430),e.stroke()}},L[9793]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,170),e.stroke(),e.M(300,80),e.L(300,420),e.stroke(),e.M(130,250),e.L(470,250),e.stroke()}},L[9795]={width:F,draw:e=>{e.lineWidth(40),e.M(380,80),e.L(380,460),e.stroke(),e.M(150,280),e.L(480,280),e.stroke(),e.M(380,280),e.L(150,450),e.stroke()}},L[9796]={width:F,draw:e=>{e.lineWidth(35),e.M(230,460),e.L(230,100),e.stroke(),e.M(230,280),e.C(300,250,370,250,370,310),e.C(370,370,330,400,280,400),e.stroke(),e.M(170,460),e.L(290,460),e.stroke()}},L[9797]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,200,100),e.stroke(),e.circle(300,200,20),e.fill(),e.M(300,300),e.L(300,460),e.stroke(),e.M(260,430),e.L(300,460),e.L(340,430),e.stroke()}},L[9798]={width:F,draw:e=>{e.lineWidth(35),e.M(300,80),e.L(300,460),e.stroke(),e.M(200,460),e.L(400,460),e.stroke(),e.M(180,350),e.L(180,460),e.stroke(),e.M(300,350),e.L(300,460),e.stroke(),e.M(420,350),e.L(420,460),e.stroke(),e.M(180,350),e.L(420,350),e.stroke()}},L[9799]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,290,90),e.stroke(),e.M(210,290),e.C(210,430,390,430,390,290),e.stroke(),e.M(300,200),e.L(300,80),e.stroke(),e.M(250,140),e.L(350,140),e.stroke()}},L[9832]={width:F,draw:e=>{e.lineWidth(30),e.M(120,200),e.C(120,80,480,80,480,200),e.stroke(),e.lineWidth(25);for(let t of[200,300,400])e.M(t,220),e.C(t-30,280,t+30,340,t,400),e.stroke()}},L[9835]={width:F,draw:e=>{e.lineWidth(30),e.M(200,80),e.L(200,400),e.stroke(),e.M(400,80),e.L(400,350),e.stroke(),e.lineWidth(45),e.M(200,400),e.L(400,400),e.stroke(),e.ellipse(200,120,50,40),e.fill(),e.ellipse(400,120,50,40),e.fill()}},L[9836]={width:F,draw:e=>{e.lineWidth(25),e.M(200,80),e.L(200,400),e.stroke(),e.M(400,80),e.L(400,350),e.stroke(),e.lineWidth(35),e.M(200,400),e.L(400,400),e.stroke(),e.M(200,340),e.L(400,340),e.stroke(),e.ellipse(200,120,45,35),e.fill(),e.ellipse(400,120,45,35),e.fill()}},L[9838]={width:F,draw:e=>{e.lineWidth(30),e.M(220,50),e.L(220,400),e.stroke(),e.M(380,100),e.L(380,450),e.stroke(),e.lineWidth(35),e.M(220,200),e.L(380,250),e.stroke(),e.M(220,300),e.L(380,350),e.stroke()}},L[9840]={width:F,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.M(120,280),e.L(480,280),e.stroke(),e.circle(300,50,20),e.fill(),e.circle(300,450,20),e.fill(),e.circle(120,280,20),e.fill(),e.circle(480,280,20),e.fill()}},L[9841]={width:F,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,450),e.stroke(),e.M(120,280),e.L(480,280),e.stroke(),e.M(280,50),e.L(320,50),e.stroke(),e.M(280,450),e.L(320,450),e.stroke(),e.M(120,260),e.L(120,300),e.stroke(),e.M(480,260),e.L(480,300),e.stroke()}};for(let e=0;e<=8;e++){let t=9842+e,n=e<=6?e+1:0;L[t]={width:F,draw:e=>{e.lineWidth(30),e.M(300,420),e.L(130,130),e.stroke(),e.M(130,130),e.L(470,130),e.stroke(),e.M(470,130),e.L(300,420),e.stroke(),e.M(270,400),e.L(300,440),e.L(330,400),e.stroke(),e.M(155,165),e.L(115,140),e.L(150,110),e.stroke(),e.M(445,165),e.L(485,140),e.L(450,110),e.stroke(),n>0&&(e.lineWidth(25),e.M(280,220),e.L(320,220),e.stroke(),e.M(300,200),e.L(300,280),e.stroke())}}}L[9852]={width:F,draw:e=>{e.lineWidth(35),e.M(300,430),e.L(120,120),e.L(480,120),e.Z(),e.stroke(),e.M(270,410),e.L(300,450),e.L(330,410),e.stroke()}},L[9853]={width:F,draw:e=>{e.lineWidth(30),e.M(300,430),e.L(210,260),e.stroke(),e.M(170,190),e.L(120,120),e.L(270,120),e.stroke(),e.M(350,120),e.L(480,120),e.L(390,260),e.stroke(),e.M(360,330),e.L(300,430),e.stroke()}},L[9854]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,190),e.stroke(),e.M(300,250),e.C(350,340,450,340,450,250),e.C(450,160,350,160,300,250),e.C(250,340,150,340,150,250),e.C(150,160,250,160,300,250),e.stroke()}},L[9862]={width:F,draw:e=>{e.lineWidth(50),e.M(120,250),e.L(480,250),e.stroke()}},L[9863]={width:F,draw:e=>{e.lineWidth(50),e.M(120,250),e.L(260,250),e.stroke(),e.M(340,250),e.L(480,250),e.stroke()}},L[9864]={width:F,draw:e=>{e.lineWidth(45),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},L[9865]={width:F,draw:e=>{e.lineWidth(45),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(260,180),e.stroke(),e.M(340,180),e.L(480,180),e.stroke()}};for(let[e,t,n]of[[9866,!0,!0],[9867,!1,!1],[9868,!0,!1],[9869,!1,!0],[9870,!0,!0],[9871,!1,!1]])L[e]={width:F,draw:e=>{e.lineWidth(45);let r=[320,180],i=[t,n];for(let t=0;t<2;t++)i[t]?(e.M(120,r[t]),e.L(480,r[t]),e.stroke()):(e.M(120,r[t]),e.L(260,r[t]),e.stroke(),e.M(340,r[t]),e.L(480,r[t]),e.stroke())}};L[9880]={width:F,draw:e=>{e.lineWidth(25),e.circle(300,250,30),e.fill();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180;e.circle(300+80*Math.cos(n),250+80*Math.sin(n),50),e.stroke()}}},L[9882]={width:F,draw:e=>{e.lineWidth(35),e.M(300,80),e.L(300,450),e.stroke(),e.M(180,350),e.L(300,400),e.L(420,350),e.stroke(),e.M(200,300),e.L(300,350),e.L(400,300),e.stroke()}},L[9885]=P(5,300,250,200,80,!1),L[9886]={width:F,draw:e=>{e.lineWidth(30),e.M(450,250),e.L(100,100),e.stroke(),e.M(450,250),e.L(100,250),e.stroke(),e.M(450,250),e.L(100,400),e.stroke()}},L[9887]={width:F,draw:e=>{e.lineWidth(28),e.M(450,250),e.L(100,80),e.stroke(),e.M(450,250),e.L(100,190),e.stroke(),e.M(450,250),e.L(100,310),e.stroke(),e.M(450,250),e.L(100,420),e.stroke()}},L[9890]={width:F,draw:e=>{e.lineWidth(28),e.circle(220,290,90),e.stroke(),e.M(220,200),e.L(220,100),e.stroke(),e.M(180,140),e.L(260,140),e.stroke(),e.circle(380,290,90),e.stroke(),e.M(380,200),e.L(380,100),e.stroke(),e.M(340,140),e.L(420,140),e.stroke()}},L[9891]={width:F,draw:e=>{e.lineWidth(28),e.circle(230,250,90),e.stroke(),e.M(295,185),e.L(400,80),e.stroke(),e.M(350,80),e.L(400,80),e.L(400,130),e.stroke(),e.circle(370,250,90),e.stroke(),e.M(435,185),e.L(510,110),e.stroke(),e.M(460,110),e.L(510,110),e.L(510,160),e.stroke()}},L[9892]={width:F,draw:e=>{e.lineWidth(28),e.circle(250,270,100),e.stroke(),e.M(250,170),e.L(250,70),e.stroke(),e.M(210,120),e.L(290,120),e.stroke(),e.M(320,200),e.L(440,80),e.stroke(),e.M(390,80),e.L(440,80),e.L(440,130),e.stroke()}},L[9894]={width:F,draw:e=>{e.lineWidth(30),e.circle(250,260,110),e.stroke(),e.M(330,185),e.L(450,80),e.stroke(),e.M(395,80),e.L(450,80),e.L(450,135),e.stroke(),e.M(350,160),e.L(420,200),e.stroke()}},L[9896]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,220,110),e.stroke(),e.M(300,330),e.L(300,460),e.stroke(),e.M(260,420),e.L(300,460),e.L(340,420),e.stroke(),e.M(340,370),e.L(410,390),e.stroke()}},L[9897]={width:F,draw:e=>{e.lineWidth(30),e.circle(260,250,110),e.stroke(),e.M(370,250),e.L(500,250),e.stroke(),e.M(460,210),e.L(500,250),e.L(460,290),e.stroke(),e.M(420,290),e.L(440,350),e.stroke()}},L[9900]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,120),e.stroke()}},L[9901]={width:F,draw:e=>{e.lineWidth(30),e.circle(230,250,110),e.stroke(),e.circle(370,250,110),e.stroke()}},L[9902]={width:F,draw:e=>{e.lineWidth(30),e.circle(190,250,90),e.stroke(),e.circle(410,250,90),e.stroke(),e.lineWidth(25),e.M(300,150),e.L(300,350),e.stroke()}},L[9903]={width:F,draw:e=>{e.lineWidth(30),e.circle(230,250,100),e.stroke(),e.circle(370,250,100),e.stroke(),e.M(300,120),e.L(300,380),e.stroke()}},L[9905]={width:F,draw:e=>{e.lineWidth(30),e.M(180,100),e.L(180,350),e.C(180,430,300,450,300,450),e.C(300,450,420,430,420,350),e.L(420,100),e.Z(),e.stroke(),e.M(250,100),e.C(250,60,350,60,350,100),e.stroke()}},L[9906]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,280,120),e.stroke(),e.M(300,160),e.L(300,60),e.stroke(),e.M(250,110),e.L(350,110),e.stroke()}},L[9907]={width:F,draw:e=>{e.lineWidth(30),e.M(300,80),e.L(300,320),e.stroke(),e.M(200,180),e.L(400,180),e.stroke(),e.M(220,320),e.C(220,440,380,440,380,320),e.stroke()}},L[9908]={width:F,draw:e=>{e.lineWidth(28),e.M(300,100),e.L(300,280),e.stroke(),e.M(230,190),e.L(370,190),e.stroke(),e.M(300,280),e.L(380,370),e.L(300,460),e.L(220,370),e.Z(),e.stroke()}},L[9909]={width:F,draw:e=>{e.lineWidth(28),e.M(300,80),e.L(300,250),e.stroke(),e.M(230,160),e.L(370,160),e.stroke(),P(5,300,370,80,32,!1).draw(e)}},L[9910]={width:F,draw:e=>{e.lineWidth(35),e.M(180,450),e.L(300,200),e.L(420,450),e.stroke(),e.M(180,120),e.L(420,120),e.stroke()}},L[9911]={width:F,draw:e=>{e.lineWidth(28),e.circle(300,200,100),e.stroke(),e.M(300,300),e.L(300,80),e.stroke(),e.M(300,200),e.L(400,300),e.stroke(),e.M(300,200),e.L(400,100),e.stroke()}},L[9912]={width:F,draw:e=>{e.lineWidth(28),e.M(300,80),e.L(300,250),e.stroke(),e.M(240,160),e.L(360,160),e.stroke(),e.M(220,350),e.C(220,450,380,450,380,350),e.C(380,290,320,270,300,310),e.C(280,270,220,290,220,350),e.stroke()}},L[9913]={width:F,draw:e=>{e.lineWidth(28),P(6,300,250,180,100,!1).draw(e)}},L[9914]={width:F,draw:e=>{e.lineWidth(35),e.M(150,400),e.L(300,150),e.L(450,400),e.stroke()}},L[9915]={width:F,draw:e=>{e.lineWidth(25),e.rect(120,80,360,340),e.stroke(),e.circle(200,160,25),e.fill(),e.circle(400,160,25),e.fill(),e.circle(300,250,25),e.fill(),e.circle(200,340,25),e.fill(),e.circle(400,340,25),e.fill()}},L[9916]={width:F,draw:e=>{e.lineWidth(30),e.rect(130,80,340,340),e.stroke(),e.M(130,80),e.L(470,420),e.stroke()}},L[9919]={width:F,draw:e=>{e.lineWidth(28),e.rect(100,70,400,360),e.stroke(),e.circle(240,250,60),e.stroke(),e.M(300,250),e.L(440,250),e.stroke(),e.M(400,250),e.L(400,210),e.stroke(),e.M(430,250),e.L(430,210),e.stroke()}},L[9920]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,160),e.stroke(),e.circle(300,250,80),e.stroke()}},L[9921]={width:F,draw:e=>{e.lineWidth(28),e.circle(300,230,140),e.stroke(),e.circle(300,230,70),e.stroke(),e.M(220,400),e.L(260,370),e.L(300,400),e.L(340,370),e.L(380,400),e.stroke()}},L[9922]={width:F,draw:e=>{e.circle(300,250,160),e.fill()}},L[9923]={width:F,draw:e=>{e.circle(300,230,150),e.fill(),e.lineWidth(30),e.M(200,410),e.L(240,380),e.L(300,420),e.L(360,380),e.L(400,410),e.stroke()}},L[9926]={width:F,draw:e=>{e.lineWidth(30);for(let t of[200,300,400])e.M(t,400),e.C(t-40,300,t,200,t,200),e.C(t,200,t+40,300,t,400),e.Z(),e.stroke()}},L[9927]={width:F,draw:e=>{e.circle(300,130,70),e.fill(),e.circle(300,290,95),e.fill(),e.circle(300,430,60),e.fill()}},L[9928]={width:F,draw:e=>{e.lineWidth(25),e.M(100,280),e.C(100,400,250,420,300,420),e.C(350,420,500,400,500,280),e.C(500,200,400,170,350,200),e.C(340,140,280,130,230,170),e.C(180,150,100,200,100,280),e.stroke(),e.lineWidth(20),e.M(220,150),e.L(200,80),e.stroke(),e.M(380,150),e.L(360,80),e.stroke(),e.M(300,420),e.L(260,340),e.L(320,320),e.L(280,250),e.stroke()}},L[9929]={width:F,draw:e=>{e.lineWidth(30),e.M(200,420),e.L(300,100),e.L(400,420),e.Z(),e.stroke()}},L[9930]={width:F,draw:e=>{e.M(200,420),e.L(300,100),e.L(400,420),e.Z(),e.fill()}},L[9931]={width:F,draw:e=>{e.lineWidth(28),e.rect(100,50,400,400),e.stroke(),e.M(300,100),e.L(450,250),e.L(300,400),e.L(150,250),e.Z(),e.stroke()}},L[9932]={width:F,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(500,420),e.stroke(),e.M(500,80),e.L(100,420),e.stroke()}},L[9933]={width:F,draw:e=>{e.lineWidth(28),e.rect(100,150,400,200),e.stroke(),e.circle(200,360,40),e.stroke(),e.circle(400,360,40),e.stroke(),e.M(200,200),e.L(400,300),e.stroke(),e.M(400,200),e.L(200,300),e.stroke()}},L[9935]={width:F,draw:e=>{e.lineWidth(35),e.M(150,100),e.L(450,400),e.stroke(),e.M(200,100),e.C(320,100,400,180,400,250),e.stroke()}},L[9936]={width:F,draw:e=>{e.lineWidth(28),e.rect(150,150,300,160),e.stroke(),e.circle(220,320,35),e.stroke(),e.circle(380,320,35),e.stroke(),e.M(120,400),e.C(200,370,350,430,480,400),e.stroke()}},L[9937]={width:F,draw:e=>{e.lineWidth(30),e.M(120,200),e.C(120,400,300,450,300,450),e.C(300,450,480,400,480,200),e.stroke(),e.M(300,200),e.L(300,400),e.stroke(),e.M(200,300),e.L(400,300),e.stroke()}},L[9938]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(160,120),e.L(440,380),e.stroke(),e.M(440,120),e.L(160,380),e.stroke()}},L[9939]={width:F,draw:e=>{e.lineWidth(30),e.ellipse(230,250,100,140),e.stroke(),e.ellipse(370,250,100,140),e.stroke()}},L[9941]={width:F,draw:e=>{e.lineWidth(35),e.M(480,250),e.L(120,250),e.stroke(),e.M(120,250),e.L(220,170),e.L(220,330),e.Z(),e.fill()}},L[9942]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,180),e.stroke(),e.M(140,250),e.L(460,250),e.stroke()}},L[9943]={width:F,draw:e=>{e.lineWidth(28),e.rect(120,80,360,340),e.stroke(),e.circle(300,250,50),e.fill()}},L[9944]={width:F,draw:e=>{e.lineWidth(35),e.M(400,80),e.L(200,250),e.L(400,420),e.stroke(),e.M(200,250),e.L(480,250),e.stroke()}},L[9945]={width:F,draw:e=>{e.lineWidth(35),e.M(200,80),e.L(400,250),e.L(200,420),e.stroke(),e.M(400,250),e.L(120,250),e.stroke()}},L[9946]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(220,350),e.C(220,300,380,250,380,200),e.C(380,150,220,150,220,200),e.stroke()}},L[9947]={width:F,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(480,400),e.L(300,100),e.Z(),e.stroke()}},L[9948]={width:F,draw:e=>{e.lineWidth(35),e.M(120,100),e.L(120,400),e.stroke(),e.M(120,250),e.L(480,250),e.stroke(),e.M(480,250),e.L(380,180),e.stroke(),e.M(480,250),e.L(380,320),e.stroke()}},L[9949]={width:F,draw:e=>{e.lineWidth(30),e.rect(100,60,400,380),e.stroke(),e.M(100,60),e.L(500,440),e.stroke(),e.M(500,60),e.L(100,440),e.stroke()}},L[9950]={width:F,draw:e=>{e.rect(80,40,440,420),e.fill()}},L[9951]={width:F,draw:e=>{e.M(100,350),e.L(100,180),e.L(350,180),e.L(350,130),e.L(500,130),e.L(500,350),e.Z(),e.fill(),e.lineWidth(25),e.circle(180,370,35),e.stroke(),e.circle(420,370,35),e.stroke()}},L[9952]={width:F,draw:e=>{e.lineWidth(28),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.L(100,250),e.Z(),e.fill()}},L[9953]={width:F,draw:e=>{e.lineWidth(28),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.L(500,250),e.Z(),e.fill()}},L[9954]={width:F,draw:e=>{e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.fill(),e.lineWidth(25),e.M(300,450),e.L(260,400),e.stroke(),e.M(300,450),e.L(340,400),e.stroke()}},L[9955]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,280,140),e.stroke(),e.M(190,170),e.L(410,390),e.stroke(),e.circle(230,120,20),e.fill(),e.circle(370,120,20),e.fill()}},L[9956]={width:F,draw:e=>{e.lineWidth(28),e.circle(300,250,180),e.stroke(),P(5,300,250,170,65,!1).draw(e)}},L[9957]={width:F,draw:e=>{e.lineWidth(30),P(5,300,250,190,75,!1).draw(e)}},L[9958]={width:F,draw:e=>{e.lineWidth(30),P(5,300,250,190,75,!0).draw(e)}},L[9959]={width:F,draw:e=>{e.lineWidth(28);for(let t=0;t<5;t++){let n=(t*360/5+90)*Math.PI/180,r=(t*360/5+126)*Math.PI/180;t===0?e.M(300+190*Math.cos(n),250+190*Math.sin(n)):e.L(300+190*Math.cos(n),250+190*Math.sin(n)),e.L(300+75*Math.cos(r),250+75*Math.sin(r))}e.Z(),e.stroke()}},L[9960]={width:F,draw:e=>{e.lineWidth(28),e.M(150,420),e.L(150,200),e.L(300,100),e.L(450,200),e.L(450,420),e.Z(),e.stroke(),e.lineWidth(40),e.M(300,180),e.L(300,380),e.stroke(),e.M(210,280),e.L(390,280),e.stroke()}},L[9961]={width:F,draw:e=>{e.lineWidth(35),e.M(140,100),e.L(140,420),e.stroke(),e.M(460,100),e.L(460,420),e.stroke(),e.M(100,400),e.L(500,400),e.stroke(),e.M(120,320),e.L(480,320),e.stroke()}},L[9963]={width:F,draw:e=>{e.lineWidth(28),e.rect(120,100,360,300),e.stroke();for(let t=120;t<480;t+=72)e.rect(t,400,36,50),e.stroke()}},L[9964]={width:F,draw:e=>{e.lineWidth(30),e.M(200,100),e.L(200,400),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(400,100),e.L(400,400),e.stroke(),e.M(140,100),e.L(460,100),e.stroke(),e.M(140,400),e.L(460,400),e.stroke(),e.M(140,400),e.L(300,470),e.L(460,400),e.stroke()}},L[9965]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,150),e.stroke();for(let t=0;t<8;t++){let n=t*Math.PI/4;e.M(300+150*Math.cos(n),250+150*Math.sin(n)),e.L(300+190*Math.cos(n),250+190*Math.sin(n))}e.stroke()}},L[9966]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,120),e.stroke(),e.circle(300,250,30),e.fill(),e.M(300,130),e.L(300,80),e.stroke(),e.M(300,370),e.L(300,420),e.stroke()}},L[9967]={width:F,draw:e=>{e.lineWidth(30),e.M(200,100),e.L(250,380),e.L(350,380),e.L(400,100),e.Z(),e.stroke(),e.M(300,380),e.L(300,460),e.stroke(),e.M(200,430),e.L(400,430),e.stroke()}},L[9968]={width:F,draw:e=>{e.lineWidth(35),e.M(80,100),e.L(250,400),e.L(350,280),e.L(520,100),e.stroke()}},L[9969]={width:F,draw:e=>{e.lineWidth(30),e.M(120,280),e.C(120,420,300,450,300,450),e.C(300,450,480,420,480,280),e.stroke(),e.M(300,280),e.L(300,100),e.stroke(),e.M(240,100),e.L(360,100),e.stroke()}},L[9972]={width:F,draw:e=>{e.lineWidth(30),e.M(100,250),e.C(100,150,200,120,300,120),e.C(400,120,500,150,500,250),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(350,120),e.L(350,300),e.stroke(),e.rect(330,300,40,80),e.stroke()}},L[9974]={width:F,draw:e=>{e.lineWidth(28),e.rect(120,80,360,340),e.stroke(),e.circle(120,80,20),e.fill(),e.circle(480,80,20),e.fill(),e.circle(120,420,20),e.fill(),e.circle(480,420,20),e.fill()}},L[9975]={width:F,draw:e=>{e.lineWidth(28),e.circle(300,420,35),e.fill(),e.M(300,385),e.L(300,240),e.stroke(),e.M(300,320),e.L(220,250),e.stroke(),e.M(300,320),e.L(380,250),e.stroke(),e.M(300,240),e.L(220,140),e.stroke(),e.M(300,240),e.L(380,140),e.stroke(),e.lineWidth(15),e.M(180,290),e.L(420,100),e.stroke()}},L[9976]={width:F,draw:e=>{e.lineWidth(30),e.M(150,350),e.L(150,200),e.L(300,150),e.L(400,200),e.L(400,350),e.Z(),e.stroke(),e.lineWidth(20),e.M(120,130),e.L(450,130),e.stroke()}},L[9977]={width:F,draw:e=>{e.lineWidth(28),e.circle(300,420,35),e.fill(),e.M(300,385),e.L(300,220),e.stroke(),e.M(300,300),e.L(220,230),e.stroke(),e.M(300,300),e.L(380,230),e.stroke(),e.M(300,220),e.L(230,120),e.stroke(),e.M(300,220),e.L(370,120),e.stroke(),e.circle(420,200,40),e.stroke()}},L[9979]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(150,200),e.L(450,200),e.stroke(),e.M(150,300),e.L(450,300),e.stroke()}},L[9980]={width:F,draw:e=>{e.lineWidth(30),e.M(180,100),e.L(180,350),e.C(180,430,420,430,420,350),e.L(420,100),e.Z(),e.stroke()}},L[9981]={width:F,draw:e=>{e.lineWidth(30),e.rect(130,100,240,330),e.stroke(),e.rect(170,180,160,100),e.stroke(),e.M(370,200),e.L(430,200),e.C(460,200,460,300,430,300),e.L(430,350),e.stroke(),e.M(130,100),e.L(430,100),e.stroke()}},L[9982]={width:F,draw:e=>{e.rect(80,50,440,400),e.fill()}},L[9983]={width:F,draw:e=>{e.lineWidth(28),e.M(150,450),e.L(150,80),e.L(480,80),e.L(480,320),e.L(150,320),e.stroke(),e.rect(150,170,330,80),e.fill()}};for(let e=9728;e<=9983;e++)if(!L[e]){let t=(e-9728)%7;L[e]={width:F,draw:e=>{switch(e.lineWidth(30),t){case 0:e.circle(300,250,170),e.stroke(),e.M(130,250),e.L(470,250),e.stroke();break;case 1:e.rect(120,70,360,360),e.stroke(),e.M(120,70),e.L(480,430),e.stroke();break;case 2:e.M(300,430),e.L(100,70),e.L(500,70),e.Z(),e.stroke(),e.circle(300,200,25),e.fill();break;case 3:e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke(),e.M(300,150),e.L(300,350),e.stroke(),e.M(200,250),e.L(400,250),e.stroke();break;case 4:e.circle(300,250,170),e.stroke(),e.M(300,80),e.L(300,420),e.stroke();break;case 5:e.M(300,440),e.L(470,340),e.L(470,160),e.L(300,60),e.L(130,160),e.L(130,340),e.Z(),e.stroke();break;default:e.circle(300,250,180),e.stroke(),e.circle(300,250,100),e.stroke()}}}}hi={};for(let[e,t,n,r]of[[11008,1,1,!0],[11009,-1,1,!0],[11010,1,1,!1],[11011,-1,1,!1],[11012,0,0,!1],[11016,1,1,!0],[11017,-1,1,!0],[11018,1,-1,!0],[11019,-1,-1,!0],[11020,0,0,!0],[11021,0,0,!0]])t===0&&n===0?hi[e]={width:F,draw:e=>{r?(e.rect(100,200,400,100),e.fill()):(e.lineWidth(40),e.M(80,250),e.L(520,250),e.stroke(),e.M(80,250),e.L(180,350),e.L(180,150),e.Z(),e.fill(),e.M(520,250),e.L(420,350),e.L(420,150),e.Z(),e.fill())}}:hi[e]=Jr(t,n);for(let e=11026;e<=11039;e++){let t=e<=11033;hi[e]={width:F,draw:n=>{n.lineWidth(30),t?(n.rect(100,50,400,400),n.stroke(),(e-11026)%2==0?(n.rect(100,250,400,200),n.fill()):(n.rect(100,50,400,200),n.fill())):(n.M(300,450),n.L(500,50),n.L(100,50),n.Z(),n.stroke(),(e-11034)%2==0&&(n.M(200,50),n.L(300,250),n.L(400,50),n.Z(),n.fill()))}}}for(let e=11040;e<=11263;e++)hi[e]||(e&1?hi[e]={width:F,draw:e=>{e.lineWidth(35),e.M(300,470),e.L(500,250),e.L(300,30),e.L(100,250),e.Z(),e.stroke()}}:hi[e]=Jr(1,0));R={};for(let e=10224;e<=10239;e++)if(!R[e]){let t=e<=10228;R[e]={width:700,draw:e=>{e.lineWidth(40),t?(e.M(350,30),e.L(350,470),e.stroke(),e.M(350,470),e.L(230,350),e.L(470,350),e.Z(),e.fill()):(e.M(50,250),e.L(600,250),e.stroke(),e.M(600,250),e.L(470,370),e.L(470,130),e.Z(),e.fill())}}}R[10516]=ni(1,0),R[10517]=li(1,0),R[10519]=ri(1,0),R[10520]=(()=>{let e=ri(1,0);return{width:F,draw:t=>{e.draw(t),t.lineWidth(35),t.M(300,150),t.L(300,350),t.stroke()}}})(),R[10521]=ci(-1,0,35),R[10522]=ci(1,0,35),R[10523]=ri(-1,0),R[10524]=ri(1,0),R[10539]=ai(1,1,1,-1),R[10540]=ai(1,-1,-1,-1),R[10541]=ai(1,-1,1,1),R[10542]=ai(1,1,1,-1),R[10543]={width:F,draw:e=>{e.lineWidth(30),e.M(120,420),e.L(480,80),e.stroke(),e.M(120,80),e.L(480,420),e.stroke(),e.M(480,420),e.L(400,410),e.L(470,340),e.Z(),e.fill()}},R[10544]={width:F,draw:e=>{e.lineWidth(30),e.M(120,80),e.L(480,420),e.stroke(),e.M(480,80),e.L(120,420),e.stroke(),e.M(120,420),e.L(200,410),e.L(130,340),e.Z(),e.fill()}},R[10545]=ai(1,1,-1,1),R[10546]=ai(-1,1,1,1),R[10547]={width:F,draw:e=>{e.lineWidth(35),e.M(80,250),e.C(160,350,240,150,320,250),e.C(360,300,420,250,480,250),e.stroke(),e.M(480,250),e.L(400,180),e.L(400,320),e.Z(),e.fill()}},R[10556]=oi(-1,0),R[10557]=oi(0,-1),R[10558]=ii(1,0),R[10559]={width:F,draw:e=>{oi(1,0).draw(e),e.lineWidth(25),e.M(280,380),e.L(320,380),e.stroke(),e.M(300,360),e.L(300,400),e.stroke()}},R[10566]=ai(-1,0,1,0),R[10567]=ii(1,0),R[10569]=ni(0,-1),R[10578]=li(0,1),R[10579]=li(0,-1),R[10580]=li(1,0),R[10581]=li(-1,0),R[10582]=ni(0,1),R[10583]=ni(0,-1),R[10584]=ni(1,0),R[10585]=ni(-1,0),R[10586]=ci(0,1,30),R[10587]=ci(0,-1,30),R[10588]=ci(1,0,30),R[10589]=ci(-1,0,30),R[10590]=ci(0,1,40),R[10591]=ci(0,-1,40),R[10592]=ci(1,0,40),R[10593]=ci(-1,0,40),R[10595]=ai(0,1,0,1),R[10597]=ai(0,-1,0,-1),R[10598]=ai(-1,0,-1,0),R[10599]=ai(1,0,1,0),R[10600]=ai(-1,0,1,0),R[10601]=ai(1,0,-1,0),R[10609]=si(1,0),R[10610]=si(1,0),R[10611]=si(-1,0),gi={8213:{width:700,draw:e=>{e.lineWidth(50),e.M(0,250),e.L(700,250),e.stroke()}},8218:{width:300,draw:e=>{e.circle(150,80,35),e.fill(),e.lineWidth(25),e.M(150,45),e.C(170,10,190,-10,210,-20),e.stroke()}},8219:{width:300,draw:e=>{e.circle(150,450,35),e.fill(),e.lineWidth(25),e.M(150,415),e.C(130,380,110,365,90,360),e.stroke()}},8220:{width:400,draw:e=>{e.circle(130,450,30),e.fill(),e.circle(270,450,30),e.fill(),e.lineWidth(22),e.M(130,415),e.C(100,380,80,365,60,360),e.stroke(),e.M(270,415),e.C(240,380,220,365,200,360),e.stroke()}},8221:{width:400,draw:e=>{e.circle(130,450,30),e.fill(),e.circle(270,450,30),e.fill(),e.lineWidth(22),e.M(130,415),e.C(160,380,180,365,200,360),e.stroke(),e.M(270,415),e.C(300,380,320,365,340,360),e.stroke()}},8222:{width:400,draw:e=>{e.circle(130,80,30),e.fill(),e.circle(270,80,30),e.fill(),e.lineWidth(22),e.M(130,45),e.C(160,10,180,-5,200,-10),e.stroke(),e.M(270,45),e.C(300,10,320,-5,340,-10),e.stroke()}},8228:{width:300,draw:e=>{e.circle(150,50,40),e.fill()}},8256:{width:F,draw:e=>{e.lineWidth(30),e.M(120,380),e.C(200,450,400,450,480,380),e.stroke()}},8257:{width:F,draw:e=>{e.lineWidth(30),e.M(120,420),e.C(200,350,400,350,480,420),e.stroke()}},8258:ui(3,50),8263:{width:F,draw:e=>{e.lineWidth(35),di(e,200,250),di(e,400,250)}},8264:{width:F,draw:e=>{e.lineWidth(35),di(e,200,250),fi(e,400,250)}},8265:{width:F,draw:e=>{e.lineWidth(35),fi(e,200,250),di(e,400,250)}},8273:{width:F,draw:e=>{ui(6,35).draw(e),e.M(300,50),e.L(300,50)}},8274:{width:F,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(480,100),e.stroke(),e.circle(300,350,40),e.fill(),e.circle(300,150,40),e.fill()}},8275:{width:F,draw:e=>{e.lineWidth(45),e.M(100,250),e.C(200,350,400,150,500,250),e.stroke()}},8279:{width:500,draw:e=>{e.lineWidth(35);for(let t=0;t<4;t++)e.M(100+t*90,480),e.L(70+t*90,350);e.stroke()}}};for(let e=8192;e<=8303;e++)gi[e]||(gi[e]={width:0,draw:()=>{}});_i={};for(let e=8528;e<=8591;e++)if(!_i[e]){let t=(e-8528)%4+1;_i[e]={width:F,draw:e=>{e.lineWidth(40);let n=300-(t-1)*80/2;for(let r=0;r<t;r++)e.M(n+r*80,50),e.L(n+r*80,450);e.stroke()}}}}));function yi(e){return{width:e,draw:()=>{}}}function bi(e,t,n,r,i){Mi[t](e,n,r,i)}function xi(e,t,n,r,i){Ni[t](e,n,r,i)}function Si(e){return{width:B,draw:t=>{t.lineWidth(35),t.circle(300,250,200),t.stroke(),t.lineWidth(40),e(t)}}}function Ci(e){return{width:B,draw:e}}function wi(e){return{width:B,draw:t=>{t.lineWidth(38),t.M(120,320),t.L(480,320),t.stroke(),t.M(120,180),t.L(480,180),t.stroke(),e&&e(t)}}}function z(e){e.lineWidth(35),e.M(200,420),e.L(400,80),e.stroke()}function Ti(e,t){return{width:B,draw:n=>{n.lineWidth(40),n.M(460,400),n.C(200,400,140,320,140,250),n.C(140,180,200,100,460,100),n.stroke(),e&&(n.M(140,55),n.L(460,55),n.stroke()),t&&z(n)}}}function Ei(e,t){return{width:B,draw:n=>{n.lineWidth(40),n.M(140,400),n.C(400,400,460,320,460,250),n.C(460,180,400,100,140,100),n.stroke(),e&&(n.M(140,55),n.L(460,55),n.stroke()),t&&z(n)}}}function Di(e){return{width:B,draw:t=>{t.lineWidth(35),t.circle(300,250,190),t.stroke(),t.lineWidth(38),e(t)}}}function Oi(e,t=18){return{width:B,draw:n=>{n.lineWidth(28),e(n,300-t/2,250,280),e(n,300+t/2,250,280)}}}function ki(e){return{width:B,draw:t=>{t.lineWidth(26),e(t,300,250,300)}}}function Ai(e){return{width:B,draw:t=>{t.lineWidth(36),e(t,300,250,300)}}}var B,ji,Mi,Ni,Pi,Fi,Ii,Li,Ri,zi,Bi,V,H,Vi,U,Hi=n((()=>{B=600,ji={8192:yi(500),8193:yi(1e3),8194:yi(500),8195:yi(1e3),8196:yi(333),8197:yi(250),8198:yi(167),8199:yi(500),8200:yi(250),8201:yi(200),8202:yi(100),8203:yi(0),8204:yi(0),8205:yi(0),8206:yi(0),8207:yi(0),8232:yi(0),8233:yi(0),8234:yi(0),8235:yi(0),8236:yi(0),8237:yi(0),8238:yi(0),8239:yi(200),8287:yi(222),8288:yi(0),8289:yi(0),8290:yi(0),8291:yi(0),8292:yi(0),65279:yi(0)},Mi=[(e,t,n,r)=>{e.ellipse(t,n,r*.35,r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.15,n+r*.3),e.L(t,n+r*.5),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.25),e.C(t-r*.3,n+r*.55,t+r*.3,n+r*.55,t+r*.3,n+r*.2),e.C(t+r*.3,n,t-r*.3,n-r*.2,t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.45),e.C(t,n+r*.55,t+r*.35,n+r*.35,t+r*.1,n+r*.05),e.C(t+r*.35,n-r*.1,t+r*.35,n-r*.5,t-r*.25,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n-r*.5),e.L(t+r*.2,n+r*.5),e.L(t-r*.3,n-r*.1),e.L(t+r*.35,n-r*.1),e.stroke()},(e,t,n,r)=>{e.M(t+r*.3,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.3,n+r*.05),e.C(t+r*.1,n+r*.2,t+r*.4,n,t+r*.3,n-r*.2),e.C(t+r*.2,n-r*.5,t-r*.3,n-r*.5,t-r*.3,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.4),e.C(t-r*.1,n+r*.55,t-r*.35,n+r*.2,t-r*.35,n-r*.1),e.C(t-r*.35,n-r*.5,t+r*.35,n-r*.5,t+r*.35,n-r*.15),e.C(t+r*.35,n+r*.15,t-r*.35,n+r*.15,t-r*.35,n-r*.1),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.1,n-r*.5),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n+r*.25,r*.25,r*.22),e.stroke(),e.ellipse(t,n-r*.22,r*.28,r*.25),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.4),e.C(t+r*.1,n-r*.55,t+r*.35,n-r*.2,t+r*.35,n+r*.1),e.C(t+r*.35,n+r*.5,t-r*.35,n+r*.5,t-r*.35,n+r*.15),e.C(t-r*.35,n-r*.15,t+r*.35,n-r*.15,t+r*.35,n+r*.1),e.stroke()}],Ni=[(e,t,n,r)=>{e.M(t-r*.35,n-r*.5),e.L(t,n+r*.5),e.L(t+r*.35,n-r*.5),e.stroke(),e.M(t-r*.2,n-r*.05),e.L(t+r*.2,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.35,n+r*.5,t+r*.35,n+r*.05,t+r*.05,n+r*.05),e.L(t+r*.1,n+r*.05),e.C(t+r*.4,n+r*.05,t+r*.4,n-r*.5,t+r*.1,n-r*.5),e.Z(),e.stroke()},(e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n-r*.5,t,n-r*.5),e.Z(),e.stroke()},(e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n),e.L(t+r*.15,n),e.stroke()},(e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n+r*.05),e.L(t+r*.15,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.L(t+r*.3,n-r*.05),e.L(t+r*.05,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.L(t+r*.3,n),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t+r*.15,n+r*.5),e.L(t+r*.15,n-r*.25),e.C(t+r*.15,n-r*.55,t-r*.3,n-r*.55,t-r*.3,n-r*.25),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t-r*.25,n),e.L(t+r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.35,n-r*.5),e.L(t-r*.35,n+r*.5),e.L(t,n),e.L(t+r*.35,n+r*.5),e.L(t+r*.35,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.L(t+r*.3,n+r*.5),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n,r*.35,r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n+r*.05,r*.35,r*.45),e.stroke(),e.M(t+r*.1,n-r*.2),e.L(t+r*.35,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t+r*.25,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.4,t-r*.25,n+r*.15),e.C(t-r*.15,n-r*.05,t+r*.2,n-r*.05,t+r*.25,n-r*.2),e.C(t+r*.35,n-r*.45,t-r*.1,n-r*.55,t-r*.25,n-r*.4),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.stroke(),e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t-r*.3,n-r*.15),e.C(t-r*.3,n-r*.55,t+r*.3,n-r*.55,t+r*.3,n-r*.15),e.L(t+r*.3,n+r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.35,n+r*.5),e.L(t,n-r*.5),e.L(t+r*.35,n+r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.4,n+r*.5),e.L(t-r*.2,n-r*.5),e.L(t,n+r*.1),e.L(t+r*.2,n-r*.5),e.L(t+r*.4,n+r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t,n),e.L(t+r*.3,n+r*.5),e.stroke(),e.M(t,n),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()}],Pi={};for(let e=1;e<=9;e++)Pi[9311+e]={width:B,draw:t=>{t.lineWidth(30),t.circle(300,250,220),t.stroke(),t.lineWidth(28),bi(t,e,300,250,210)}};for(let e=10;e<=19;e++){let t=e-10;Pi[9311+e]={width:B,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(24),bi(e,1,230,250,160),bi(e,t,370,250,160)}}}Pi[9331]={width:B,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(24),bi(e,2,230,250,160),bi(e,0,370,250,160)}},Pi[9450]={width:B,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(28),bi(e,0,300,250,210)}},Fi={};for(let e=0;e<26;e++)Fi[9398+e]={width:B,draw:t=>{t.lineWidth(28),t.circle(300,250,220),t.stroke(),t.lineWidth(24),xi(t,e,300,250,200)}};Ii={};for(let e=0;e<26;e++)Ii[9424+e]={width:B,draw:t=>{t.lineWidth(25),t.circle(300,250,200),t.stroke(),t.lineWidth(22),xi(t,e,300,250,175)}};Li={};for(let e=1;e<=9;e++)Li[10101+e]={width:B,draw:e=>{e.circle(300,250,240),e.fill()}};Ri={10003:{width:B,draw:e=>{e.lineWidth(60),e.M(90,250),e.C(90,250,200,100,230,70),e.C(260,40,350,250,510,460),e.stroke()}},10004:{width:B,draw:e=>{e.lineWidth(80),e.M(80,250),e.C(80,250,190,100,220,70),e.C(250,40,350,250,520,470),e.stroke()}},10007:{width:B,draw:e=>{e.lineWidth(55),e.M(120,60),e.L(480,440),e.stroke(),e.M(480,60),e.L(120,440),e.stroke()}},10008:{width:B,draw:e=>{e.lineWidth(75),e.M(120,60),e.L(480,440),e.stroke(),e.M(480,60),e.L(120,440),e.stroke()}},9733:{width:B,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),250+230*Math.sin(n)):e.L(300+230*Math.cos(n),250+230*Math.sin(n)),e.L(300+95*Math.cos(r),250+95*Math.sin(r))}e.Z(),e.fill()}},9734:{width:B,draw:e=>{e.lineWidth(30);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),250+230*Math.sin(n)):e.L(300+230*Math.cos(n),250+230*Math.sin(n)),e.L(300+95*Math.cos(r),250+95*Math.sin(r))}e.Z(),e.stroke()}},9829:{width:B,draw:e=>{e.M(300,60),e.C(300,60,120,120,80,260),e.C(50,370,120,450,300,480),e.C(480,450,550,370,520,260),e.C(480,120,300,60,300,60),e.Z(),e.fill()}},9824:{width:B,draw:e=>{e.M(300,490),e.C(300,490,50,340,70,200),e.C(80,100,180,60,300,200),e.C(420,60,520,100,530,200),e.C(550,340,300,490,300,490),e.Z(),e.fill(),e.M(260,200),e.L(260,20),e.L(340,20),e.L(340,200),e.Z(),e.fill()}},8594:{width:B,draw:e=>{e.lineWidth(45),e.M(80,250),e.L(430,250),e.stroke(),e.M(520,250),e.L(380,370),e.L(380,130),e.Z(),e.fill()}},8592:{width:B,draw:e=>{e.lineWidth(45),e.M(520,250),e.L(170,250),e.stroke(),e.M(80,250),e.L(220,370),e.L(220,130),e.Z(),e.fill()}},8593:{width:B,draw:e=>{e.lineWidth(45),e.M(300,30),e.L(300,380),e.stroke(),e.M(300,470),e.L(170,330),e.L(430,330),e.Z(),e.fill()}},8595:{width:B,draw:e=>{e.lineWidth(45),e.M(300,470),e.L(300,120),e.stroke(),e.M(300,30),e.L(170,170),e.L(430,170),e.Z(),e.fill()}},9679:{width:B,draw:e=>{e.circle(300,250,230),e.fill()}},9675:{width:B,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke()}},9632:{width:B,draw:e=>{e.rect(80,30,440,440),e.fill()}},9633:{width:B,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke()}},9744:{width:B,draw:e=>{e.lineWidth(42),e.rect(90,25,420,420),e.stroke()}},9745:{width:B,draw:e=>{e.lineWidth(42),e.rect(90,25,420,420),e.stroke(),e.lineWidth(52),e.M(180,230),e.C(180,230,250,130,270,110),e.C(290,90,350,220,440,370),e.stroke()}},9746:{width:B,draw:e=>{e.lineWidth(42),e.rect(90,25,420,420),e.stroke(),e.lineWidth(48),e.M(165,95),e.L(435,375),e.stroke(),e.M(165,375),e.L(435,95),e.stroke()}},10695:{width:B,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.circle(300,250,130),e.stroke()}}},zi={},zi[10752]=Si(e=>{e.circle(300,250,40),e.fill()}),zi[10753]=Si(e=>{e.M(100,250),e.L(500,250),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}),zi[10754]=Si(e=>{e.M(160,110),e.L(440,390),e.stroke(),e.M(160,390),e.L(440,110),e.stroke()}),zi[10755]=Ci(e=>{e.lineWidth(40),e.M(120,450),e.L(120,200),e.C(120,30,480,30,480,200),e.L(480,450),e.stroke(),e.circle(300,200,35),e.fill()}),zi[10756]=Ci(e=>{e.lineWidth(40),e.M(120,450),e.L(120,200),e.C(120,30,480,30,480,200),e.L(480,450),e.stroke(),e.M(230,200),e.L(370,200),e.stroke(),e.M(300,130),e.L(300,270),e.stroke()}),zi[10757]=Ci(e=>{e.lineWidth(45),e.M(120,50),e.L(120,450),e.L(480,450),e.L(480,50),e.stroke()}),zi[10758]=Ci(e=>{e.lineWidth(45),e.M(120,450),e.L(120,50),e.L(480,50),e.L(480,450),e.stroke()});for(let e=10759;e<=10762;e++)zi[e]=Ci(e=>{e.lineWidth(40),e.M(200,480),e.C(180,480,160,450,160,400),e.L(160,100),e.C(160,50,180,20,200,20),e.stroke(),e.M(400,480),e.C(380,480,360,450,360,400),e.L(360,100),e.C(360,50,380,20,400,20),e.stroke()});for(let e=10763;e<=10780;e++)zi[e]||(zi[e]=Ci(e=>{e.lineWidth(45),e.M(380,480),e.C(350,480,300,450,300,400),e.L(300,100),e.C(300,50,250,20,220,20),e.stroke()}));for(let e=10781;e<=10815;e++)zi[e]||(zi[e]=Ci(e=>{e.lineWidth(40),e.M(120,450),e.L(480,250),e.L(120,50),e.stroke(),e.M(480,450),e.L(120,250),e.L(480,50),e.stroke()}));for(let e=10816;e<=10847;e++)zi[e]||(zi[e]=Ci(e=>{e.lineWidth(40),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}));for(let e=10848;e<=10879;e++)zi[e]||(zi[e]=Ci(e=>{e.lineWidth(40),e.M(120,350),e.C(200,420,400,420,480,350),e.stroke(),e.M(120,200),e.L(480,200),e.stroke()}));for(let e=10880;e<=10911;e++)zi[e]||(zi[e]=Ci(e=>{e.lineWidth(40),e.M(480,420),e.C(200,420,120,320,120,250),e.C(120,180,200,80,480,80),e.stroke()}));for(let e=10912;e<=10943;e++)zi[e]||(zi[e]=Ci(e=>{e.lineWidth(40),e.M(460,420),e.C(200,420,140,320,140,250),e.C(140,180,200,80,460,80),e.stroke(),e.M(140,30),e.L(460,30),e.stroke()}));for(let e=10944;e<=11007;e++)zi[e]||(zi[e]=Ci(e=>{e.lineWidth(40),e.M(140,350),e.L(460,350),e.stroke(),e.M(140,200),e.L(460,200),e.stroke(),e.circle(300,275,30),e.fill()}));Bi={},Bi[10624]={width:B,draw:e=>{e.lineWidth(35),e.M(200,0),e.L(200,500),e.stroke(),e.M(300,0),e.L(300,500),e.stroke(),e.M(400,0),e.L(400,500),e.stroke()}},Bi[10625]={width:B,draw:e=>{e.circle(300,250,60),e.fill()}},Bi[10626]={width:300,draw:e=>{e.circle(150,370,40),e.fill(),e.circle(150,130,40),e.fill()}};for(let[e,t]of[[10627,!0],[10628,!1],[10629,!0],[10630,!1]])Bi[e]={width:350,draw:e=>{e.lineWidth(35),t?(e.M(250,500),e.C(80,400,80,100,250,0),e.stroke()):(e.M(100,500),e.C(270,400,270,100,100,0),e.stroke())}};for(let e=10631;e<=10642;e++)if(!Bi[e]){let t=(e-10631)%2==0;Bi[e]={width:350,draw:e=>{e.lineWidth(35),t?(e.M(250,500),e.L(100,250),e.L(250,0),e.stroke()):(e.M(100,500),e.L(250,250),e.L(100,0),e.stroke())}}}for(let e=10643;e<=10648;e++)if(!Bi[e]){let t=(e-10643)%2==0;Bi[e]={width:350,draw:e=>{e.lineWidth(30),t?(e.M(250,500),e.C(100,400,100,100,250,0),e.stroke()):(e.M(100,500),e.C(250,400,250,100,100,0),e.stroke())}}}Bi[10649]={width:200,draw:e=>{for(let t=50;t<=450;t+=80)e.circle(100,t,20),e.fill()}},Bi[10650]={width:300,draw:e=>{e.lineWidth(35),e.M(100,500),e.L(200,400),e.L(100,300),e.L(200,200),e.L(100,100),e.L(200,0),e.stroke()}};for(let e=10651;e<=10654;e++)Bi[e]={width:B,draw:e=>{e.lineWidth(40),e.M(480,50),e.L(120,50),e.L(380,400),e.stroke(),e.M(200,50),e.C(200,150,250,200,280,180),e.stroke()}};for(let e=10655;e<=10661;e++)Bi[e]={width:B,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(120,450),e.L(480,50),e.stroke()}};for(let e=10662;e<=10671;e++)Bi[e]={width:B,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(480,50),e.stroke(),e.M(120,50),e.L(120,400),e.stroke(),e.M(300,50),e.L(300,350),e.stroke()}};for(let e=10672;e<=10687;e++)Bi[e]=Si(e=>{e.M(160,110),e.L(440,390),e.stroke()});for(let e=10696;e<=10703;e++)e!==10696&&e!==10697&&(Bi[e]={width:B,draw:e=>{e.lineWidth(35),e.rect(100,50,400,400),e.stroke(),e.M(200,150),e.L(400,350),e.stroke()}});for(let e=10704;e<=10719;e++)Bi[e]={width:B,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke()}};for(let e=10720;e<=10751;e++)Bi[e]||(Bi[e]={width:B,draw:e=>{e.lineWidth(35),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,100),e.stroke()}});V={},V[8705]={width:B,draw:e=>{e.lineWidth(42),e.M(420,400),e.C(380,470,220,470,180,400),e.C(140,320,140,180,180,100),e.C(220,30,380,30,420,100),e.stroke()}},V[8708]={width:B,draw:e=>{e.lineWidth(42),e.M(420,60),e.L(180,60),e.L(180,450),e.L(420,450),e.stroke(),e.M(180,250),e.L(380,250),e.stroke(),z(e)}},V[8714]={width:B,draw:e=>{e.lineWidth(35),e.M(440,380),e.C(300,430,160,370,160,250),e.C(160,130,300,70,440,120),e.stroke(),e.M(160,250),e.L(400,250),e.stroke()}},V[8716]={width:B,draw:e=>{e.lineWidth(42),e.M(160,400),e.C(300,460,440,380,440,250),e.C(440,120,300,40,160,100),e.stroke(),e.M(440,250),e.L(200,250),e.stroke(),z(e)}},V[8717]={width:B,draw:e=>{e.lineWidth(35),e.M(160,380),e.C(300,430,440,370,440,250),e.C(440,130,300,70,160,120),e.stroke(),e.M(440,250),e.L(200,250),e.stroke()}},V[8720]={width:B,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,450),e.L(460,450),e.L(460,60),e.stroke()}},V[8724]={width:B,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(480,250),e.stroke(),e.M(300,120),e.L(300,380),e.stroke(),e.circle(300,430,25),e.fill()}},V[8725]={width:B,draw:e=>{e.lineWidth(42),e.M(440,470),e.L(160,30),e.stroke()}},V[8726]={width:B,draw:e=>{e.lineWidth(42),e.M(160,470),e.L(440,30),e.stroke()}},V[8731]={width:B,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(180,250),e.L(260,30),e.L(350,470),e.L(520,470),e.stroke(),e.lineWidth(22),e.M(80,440),e.C(80,470,130,470,130,445),e.C(130,420,80,420,80,395),e.stroke()}},V[8732]={width:B,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(180,250),e.L(260,30),e.L(350,470),e.L(520,470),e.stroke(),e.lineWidth(22),e.M(120,395),e.L(120,470),e.L(80,430),e.L(130,430),e.stroke()}},V[8737]={width:B,draw:e=>{e.lineWidth(40),e.M(480,60),e.L(120,60),e.L(420,440),e.stroke(),e.lineWidth(28),e.M(220,60),e.C(220,160,260,200,290,180),e.stroke()}},V[8738]={width:B,draw:e=>{e.lineWidth(40),e.M(420,440),e.L(120,60),e.L(420,60),e.stroke(),e.lineWidth(28),e.M(200,140),e.C(240,200,320,200,360,140),e.stroke()}},V[8748]={width:B,draw:e=>{e.lineWidth(40),e.M(320,470),e.C(290,470,260,440,260,400),e.L(260,100),e.C(260,60,230,30,200,30),e.stroke(),e.M(440,470),e.C(410,470,380,440,380,400),e.L(380,100),e.C(380,60,350,30,320,30),e.stroke()}},V[8749]={width:B,draw:e=>{e.lineWidth(35);for(let t=0;t<3;t++){let n=180+t*100;e.M(n+40,470),e.C(n+20,470,n,440,n,400),e.L(n,100),e.C(n,60,n-20,30,n-40,30),e.stroke()}}},V[8750]={width:B,draw:e=>{e.lineWidth(40),e.M(360,470),e.C(330,470,300,440,300,400),e.L(300,100),e.C(300,60,270,30,240,30),e.stroke(),e.lineWidth(28),e.ellipse(300,250,80,60),e.stroke()}},V[8751]={width:B,draw:e=>{e.lineWidth(35);for(let t=0;t<2;t++){let n=220+t*110;e.M(n+40,470),e.C(n+20,470,n,440,n,400),e.L(n,100),e.C(n,60,n-20,30,n-40,30),e.stroke()}e.lineWidth(25),e.ellipse(300,250,70,50),e.stroke()}},V[8752]={width:B,draw:e=>{e.lineWidth(32);for(let t=0;t<3;t++){let n=180+t*100;e.M(n+35,470),e.C(n+15,470,n,440,n,400),e.L(n,100),e.C(n,60,n-15,30,n-35,30),e.stroke()}e.lineWidth(22),e.ellipse(280,250,60,45),e.stroke()}},V[8753]={width:B,draw:e=>{e.lineWidth(40),e.M(360,470),e.C(330,470,300,440,300,400),e.L(300,100),e.C(300,60,270,30,240,30),e.stroke(),e.lineWidth(25),e.M(370,230),e.C(370,300,230,300,230,250),e.C(230,200,310,200,340,230),e.stroke()}},V[8754]={width:B,draw:e=>{e.lineWidth(40),e.M(360,470),e.C(330,470,300,440,300,400),e.L(300,100),e.C(300,60,270,30,240,30),e.stroke(),e.lineWidth(25),e.M(230,230),e.C(230,300,370,300,370,250),e.C(370,200,290,200,260,230),e.stroke()}},V[8755]=V[8753],V[8760]={width:B,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(480,250),e.stroke(),e.circle(300,360,28),e.fill()}},V[8761]={width:B,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(480,250),e.stroke(),e.circle(300,370,28),e.fill(),e.circle(300,130,28),e.fill()}},V[8762]={width:B,draw:e=>{e.circle(180,350,28),e.fill(),e.circle(420,350,28),e.fill(),e.circle(180,150,28),e.fill(),e.circle(420,150,28),e.fill(),e.lineWidth(38),e.M(120,250),e.L(480,250),e.stroke()}},V[8763]={width:B,draw:e=>{e.lineWidth(38),e.M(120,300),e.C(200,380,400,380,480,300),e.stroke(),e.M(120,180),e.C(200,260,400,260,480,180),e.stroke(),e.circle(300,400,25),e.fill()}},V[8764]={width:B,draw:e=>{e.lineWidth(45),e.M(120,280),e.C(200,380,400,120,480,220),e.stroke()}},V[8765]={width:B,draw:e=>{e.lineWidth(45),e.M(120,220),e.C(200,120,400,380,480,280),e.stroke()}},V[8766]={width:B,draw:e=>{e.lineWidth(40),e.M(120,250),e.C(120,400,300,400,300,250),e.C(300,100,480,100,480,250),e.stroke()}},V[8767]={width:B,draw:e=>{e.lineWidth(40),e.M(80,250),e.C(160,450,300,450,300,250),e.C(300,50,440,50,520,250),e.stroke()}},V[8768]={width:B,draw:e=>{e.lineWidth(40),e.M(300,460),e.C(200,380,400,120,300,40),e.stroke()}},V[8769]={width:B,draw:e=>{e.lineWidth(42),e.M(120,280),e.C(200,380,400,120,480,220),e.stroke(),z(e)}},V[8770]={width:B,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,400,400,400,480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},V[8771]={width:B,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,420,400,120,480,220),e.stroke(),e.M(120,150),e.L(480,150),e.stroke()}},V[8772]={width:B,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,420,400,120,480,220),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),z(e)}},V[8774]={width:B,draw:e=>{e.lineWidth(38),e.M(120,370),e.C(200,440,400,440,480,370),e.stroke(),e.M(120,250),e.C(200,320,400,320,480,250),e.stroke(),e.M(120,130),e.L(480,130),e.stroke(),z(e)}},V[8775]=V[8774],V[8777]={width:B,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,400,400,400,480,320),e.stroke(),e.M(120,180),e.C(200,260,400,260,480,180),e.stroke(),z(e)}},V[8778]={width:B,draw:e=>{e.lineWidth(36),e.M(120,370),e.C(200,440,400,440,480,370),e.stroke(),e.M(120,260),e.C(200,330,400,330,480,260),e.stroke(),e.M(120,150),e.L(480,150),e.stroke()}},V[8779]={width:B,draw:e=>{e.lineWidth(35);for(let t of[370,250,130])e.M(120,t),e.C(200,t+70,400,t+70,480,t),e.stroke()}},V[8781]={width:B,draw:e=>{e.lineWidth(40),e.M(120,340),e.C(200,420,400,420,480,340),e.stroke(),e.M(120,160),e.C(200,80,400,80,480,160),e.stroke()}},V[8782]={width:B,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,420,400,420,480,320),e.stroke(),e.M(120,180),e.C(200,80,400,80,480,180),e.stroke()}},V[8783]={width:B,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,400,400,400,480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},V[8784]={width:B,draw:e=>{e.lineWidth(40),e.M(120,300),e.L(480,300),e.stroke(),e.M(120,180),e.L(480,180),e.stroke(),e.circle(300,410,25),e.fill()}},V[8785]={width:B,draw:e=>{e.lineWidth(40),e.M(120,300),e.L(480,300),e.stroke(),e.M(120,180),e.L(480,180),e.stroke(),e.circle(300,410,25),e.fill(),e.circle(300,80,25),e.fill()}},V[8786]={width:B,draw:e=>{e.lineWidth(40),e.M(120,310),e.C(200,370,400,370,480,310),e.stroke(),e.M(120,190),e.C(200,130,400,130,480,190),e.stroke()}},V[8787]={width:B,draw:e=>{e.lineWidth(40),e.M(120,310),e.C(200,250,400,250,480,310),e.stroke(),e.M(120,190),e.C(200,250,400,250,480,190),e.stroke()}},V[8788]={width:B,draw:e=>{e.circle(180,330,30),e.fill(),e.circle(180,170,30),e.fill(),e.lineWidth(40),e.M(260,320),e.L(480,320),e.stroke(),e.M(260,180),e.L(480,180),e.stroke()}},V[8789]={width:B,draw:e=>{e.circle(420,330,30),e.fill(),e.circle(420,170,30),e.fill(),e.lineWidth(40),e.M(120,320),e.L(340,320),e.stroke(),e.M(120,180),e.L(340,180),e.stroke()}},V[8790]=wi(e=>{e.lineWidth(25),e.circle(300,250,35),e.stroke()}),V[8791]={width:B,draw:e=>{e.lineWidth(40),e.M(120,280),e.L(480,280),e.stroke(),e.M(120,170),e.L(480,170),e.stroke(),e.lineWidth(25),e.circle(300,390,35),e.stroke()}},V[8792]={width:B,draw:e=>{e.lineWidth(40),e.M(120,280),e.L(480,280),e.stroke(),e.M(120,170),e.L(480,170),e.stroke(),e.lineWidth(28),e.M(240,390),e.L(300,430),e.L(360,390),e.stroke()}},V[8793]={width:B,draw:e=>{e.lineWidth(40),e.M(120,260),e.L(480,260),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),e.lineWidth(28),e.M(240,370),e.L(300,420),e.L(360,370),e.stroke()}},V[8794]={width:B,draw:e=>{e.lineWidth(40),e.M(120,260),e.L(480,260),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),e.lineWidth(28),e.M(240,420),e.L(300,370),e.L(360,420),e.stroke()}},V[8795]={width:B,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,140),e.L(480,140),e.stroke(),e.circle(300,380,35),e.fill()}},V[8797]={width:B,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,140),e.L(480,140),e.stroke(),e.lineWidth(25),e.M(260,360),e.L(300,440),e.L(340,360),e.Z(),e.stroke()}},V[8798]={width:B,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,140),e.L(480,140),e.stroke(),e.lineWidth(22),e.M(230,360),e.L(230,430),e.L(270,390),e.L(310,430),e.L(310,360),e.stroke()}},V[8799]={width:B,draw:e=>{e.lineWidth(40),e.M(120,230),e.L(480,230),e.stroke(),e.M(120,120),e.L(480,120),e.stroke(),e.lineWidth(25),e.M(260,360),e.C(260,430,340,430,340,390),e.C(340,360,300,340,300,310),e.stroke(),e.circle(300,290,15),e.fill()}},V[8802]={width:B,draw:e=>{e.lineWidth(38),e.M(120,350),e.L(480,350),e.stroke(),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),z(e)}},V[8803]={width:B,draw:e=>{e.lineWidth(36),e.M(120,370),e.L(480,370),e.stroke(),e.M(120,290),e.L(480,290),e.stroke(),e.M(120,210),e.L(480,210),e.stroke(),e.M(120,130),e.L(480,130),e.stroke()}},V[8806]={width:B,draw:e=>{e.lineWidth(40),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},V[8807]={width:B,draw:e=>{e.lineWidth(40),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},V[8808]={width:B,draw:e=>{V[8806].draw(e),z(e)}},V[8809]={width:B,draw:e=>{V[8807].draw(e),z(e)}},V[8812]={width:B,draw:e=>{e.lineWidth(40),e.M(200,420),e.L(400,250),e.L(200,80),e.stroke(),e.M(400,420),e.L(200,250),e.L(400,80),e.stroke()}},V[8813]={width:B,draw:e=>{e.lineWidth(40),e.M(120,340),e.C(200,420,400,420,480,340),e.stroke(),e.M(120,160),e.C(200,80,400,80,480,160),e.stroke(),z(e)}},V[8814]={width:B,draw:e=>{e.lineWidth(42),e.M(460,400),e.L(140,250),e.L(460,100),e.stroke(),z(e)}},V[8815]={width:B,draw:e=>{e.lineWidth(42),e.M(140,400),e.L(460,250),e.L(140,100),e.stroke(),z(e)}},V[8816]={width:B,draw:e=>{e.lineWidth(38),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke(),z(e)}},V[8817]={width:B,draw:e=>{e.lineWidth(38),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke(),z(e)}},V[8818]={width:B,draw:e=>{e.lineWidth(38),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,60),e.C(220,30,380,30,460,60),e.stroke()}},V[8819]={width:B,draw:e=>{e.lineWidth(38),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,60),e.C(220,30,380,30,460,60),e.stroke()}},V[8820]={width:B,draw:e=>{V[8818].draw(e),z(e)}},V[8821]={width:B,draw:e=>{V[8819].draw(e),z(e)}},V[8822]={width:B,draw:e=>{e.lineWidth(38),e.M(460,430),e.L(140,330),e.L(460,230),e.stroke(),e.M(140,230),e.L(460,130),e.L(140,60),e.stroke()}},V[8823]={width:B,draw:e=>{e.lineWidth(38),e.M(140,430),e.L(460,330),e.L(140,230),e.stroke(),e.M(460,230),e.L(140,130),e.L(460,60),e.stroke()}},V[8824]={width:B,draw:e=>{V[8822].draw(e),z(e)}},V[8825]={width:B,draw:e=>{V[8823].draw(e),z(e)}},V[8826]={width:B,draw:e=>{e.lineWidth(42),e.M(460,400),e.C(200,400,140,300,140,250),e.C(140,200,200,100,460,100),e.stroke()}},V[8827]={width:B,draw:e=>{e.lineWidth(42),e.M(140,400),e.C(400,400,460,300,460,250),e.C(460,200,400,100,140,100),e.stroke()}},V[8828]={width:B,draw:e=>{e.lineWidth(40),e.M(460,420),e.C(200,420,140,320,140,280),e.C(140,240,200,140,460,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},V[8829]={width:B,draw:e=>{e.lineWidth(40),e.M(140,420),e.C(400,420,460,320,460,280),e.C(460,240,400,140,140,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},V[8830]={width:B,draw:e=>{e.lineWidth(38),e.M(460,420),e.C(200,420,140,320,140,280),e.C(140,240,200,140,460,140),e.stroke(),e.M(140,80),e.C(220,50,380,50,460,80),e.stroke()}},V[8831]={width:B,draw:e=>{e.lineWidth(38),e.M(140,420),e.C(400,420,460,320,460,280),e.C(460,240,400,140,140,140),e.stroke(),e.M(140,80),e.C(220,50,380,50,460,80),e.stroke()}},V[8832]={width:B,draw:e=>{V[8826].draw(e),z(e)}},V[8833]={width:B,draw:e=>{V[8827].draw(e),z(e)}},V[8840]=Ti(!0,!0),V[8841]=Ei(!0,!0),V[8842]=Ti(!0,!0),V[8843]=Ei(!0,!0),V[8844]={width:B,draw:e=>{e.lineWidth(40),e.M(140,450),e.L(140,200),e.C(140,50,460,50,460,200),e.L(460,450),e.stroke(),e.M(230,280),e.L(370,280),e.stroke()}},V[8845]={width:B,draw:e=>{e.lineWidth(40),e.M(140,450),e.L(140,200),e.C(140,50,460,50,460,200),e.L(460,450),e.stroke(),e.circle(300,250,30),e.fill()}},V[8846]={width:B,draw:e=>{e.lineWidth(40),e.M(140,450),e.L(140,200),e.C(140,50,460,50,460,200),e.L(460,450),e.stroke(),e.M(240,250),e.L(360,250),e.stroke(),e.M(300,190),e.L(300,310),e.stroke()}},V[8847]={width:B,draw:e=>{e.lineWidth(42),e.M(460,420),e.L(140,420),e.L(140,80),e.L(460,80),e.stroke()}},V[8848]={width:B,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(460,420),e.L(460,80),e.L(140,80),e.stroke()}},V[8849]={width:B,draw:e=>{e.lineWidth(40),e.M(460,440),e.L(140,440),e.L(140,140),e.L(460,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},V[8850]={width:B,draw:e=>{e.lineWidth(40),e.M(140,440),e.L(460,440),e.L(460,140),e.L(140,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},V[8851]={width:B,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,440),e.L(460,440),e.L(460,60),e.stroke()}},V[8852]={width:B,draw:e=>{e.lineWidth(45),e.M(140,440),e.L(140,60),e.L(460,60),e.L(460,440),e.stroke()}},V[8858]=Di(e=>{e.lineWidth(28),e.circle(300,250,60),e.stroke()}),V[8859]=Di(e=>{e.lineWidth(32);for(let t=0;t<3;t++){let n=t*60*Math.PI/180;e.M(300+80*Math.cos(n),250+80*Math.sin(n)),e.L(300-80*Math.cos(n),250-80*Math.sin(n)),e.stroke()}}),V[8860]=Di(e=>{e.M(200,280),e.L(400,280),e.stroke(),e.M(200,220),e.L(400,220),e.stroke()}),V[8861]=Di(e=>{e.M(200,250),e.L(400,250),e.stroke()}),V[8862]={width:B,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},V[8863]={width:B,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.M(160,250),e.L(440,250),e.stroke()}},V[8864]={width:B,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.M(100,50),e.L(500,450),e.stroke(),e.M(500,50),e.L(100,450),e.stroke()}},V[8865]={width:B,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,40),e.fill()}},V[8866]={width:B,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,60),e.stroke(),e.M(140,250),e.L(480,250),e.stroke()}},V[8867]={width:B,draw:e=>{e.lineWidth(42),e.M(460,440),e.L(460,60),e.stroke(),e.M(460,250),e.L(120,250),e.stroke()}},V[8868]={width:B,draw:e=>{e.lineWidth(42),e.M(120,440),e.L(480,440),e.stroke(),e.M(300,440),e.L(300,60),e.stroke()}},V[8870]={width:B,draw:e=>{e.lineWidth(42),e.M(160,440),e.L(160,60),e.stroke(),e.M(160,250),e.L(460,250),e.stroke(),e.M(220,440),e.L(220,60),e.stroke()}},V[8871]={width:B,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,60),e.stroke(),e.M(140,310),e.L(460,310),e.stroke(),e.M(140,190),e.L(460,190),e.stroke()}},V[8872]={width:B,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,60),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(200,250),e.L(460,250),e.stroke()}},V[8873]={width:B,draw:e=>{e.lineWidth(40),e.M(140,440),e.L(140,60),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(200,250),e.L(460,250),e.stroke()}},V[8874]={width:B,draw:e=>{e.lineWidth(36),e.M(130,440),e.L(130,60),e.stroke(),e.M(190,440),e.L(190,60),e.stroke(),e.M(250,440),e.L(250,60),e.stroke(),e.M(250,250),e.L(460,250),e.stroke()}},V[8875]={width:B,draw:e=>{e.lineWidth(38),e.M(130,440),e.L(130,60),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(200,300),e.L(460,300),e.stroke(),e.M(200,200),e.L(460,200),e.stroke()}},V[8876]={width:B,draw:e=>{V[8866].draw(e),z(e)}},V[8877]={width:B,draw:e=>{V[8872].draw(e),z(e)}},V[8878]={width:B,draw:e=>{V[8873].draw(e),z(e)}},V[8879]={width:B,draw:e=>{V[8875].draw(e),z(e)}},V[8880]={width:B,draw:e=>{e.lineWidth(40),e.M(460,400),e.C(200,400,140,300,140,250),e.C(140,200,200,100,460,100),e.stroke(),e.M(140,50),e.L(460,50),e.stroke()}},V[8881]={width:B,draw:e=>{e.lineWidth(40),e.M(140,400),e.C(400,400,460,300,460,250),e.C(460,200,400,100,140,100),e.stroke(),e.M(140,50),e.L(460,50),e.stroke()}},V[8882]={width:B,draw:e=>{e.lineWidth(42),e.M(460,420),e.L(140,250),e.L(460,80),e.Z(),e.stroke()}},V[8883]={width:B,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(460,250),e.L(140,80),e.Z(),e.stroke()}},V[8884]={width:B,draw:e=>{e.lineWidth(40),e.M(460,440),e.L(140,260),e.L(460,100),e.Z(),e.stroke(),e.M(140,55),e.L(460,55),e.stroke()}},V[8885]={width:B,draw:e=>{e.lineWidth(40),e.M(140,440),e.L(460,260),e.L(140,100),e.Z(),e.stroke(),e.M(140,55),e.L(460,55),e.stroke()}},V[8886]={width:B,draw:e=>{e.lineWidth(40),e.M(420,400),e.L(200,250),e.L(420,100),e.stroke(),e.circle(160,250,40),e.fill()}},V[8887]={width:B,draw:e=>{e.lineWidth(40),e.M(180,400),e.L(400,250),e.L(180,100),e.stroke(),e.circle(440,250,40),e.fill()}},V[8888]={width:B,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(430,250),e.stroke(),e.lineWidth(28),e.circle(470,250,40),e.stroke()}},V[8889]={width:B,draw:e=>{e.lineWidth(38),e.rect(120,80,360,340),e.stroke(),e.circle(300,250,30),e.fill()}},V[8890]={width:B,draw:e=>{e.lineWidth(42),e.M(120,60),e.L(480,60),e.stroke(),e.M(300,60),e.L(300,440),e.stroke()}},V[8891]={width:B,draw:e=>{e.lineWidth(42),e.M(140,80),e.L(300,440),e.L(460,80),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},V[8892]={width:B,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(300,60),e.L(460,420),e.stroke(),e.M(140,440),e.L(460,440),e.stroke()}},V[8893]={width:B,draw:e=>{e.lineWidth(42),e.M(140,80),e.L(300,440),e.L(460,80),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},V[8894]={width:B,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,80),e.L(460,80),e.stroke(),e.lineWidth(28),e.M(140,300),e.C(250,300,320,200,320,80),e.stroke()}},V[8896]={width:B,draw:e=>{e.lineWidth(45),e.M(120,60),e.L(300,440),e.L(480,60),e.stroke()}},V[8897]={width:B,draw:e=>{e.lineWidth(45),e.M(120,440),e.L(300,60),e.L(480,440),e.stroke()}},V[8898]={width:B,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,250),e.C(140,460,460,460,460,250),e.L(460,60),e.stroke()}},V[8899]={width:B,draw:e=>{e.lineWidth(45),e.M(140,440),e.L(140,250),e.C(140,40,460,40,460,250),e.L(460,440),e.stroke()}},V[8900]={width:B,draw:e=>{e.lineWidth(38),e.M(300,420),e.L(460,250),e.L(300,80),e.L(140,250),e.Z(),e.stroke()}},V[8901]={width:B,draw:e=>{e.circle(300,250,35),e.fill()}},V[8902]={width:B,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+140*Math.cos(n),250+140*Math.sin(n)):e.L(300+140*Math.cos(n),250+140*Math.sin(n)),e.L(300+60*Math.cos(r),250+60*Math.sin(r))}e.Z(),e.fill()}},V[8903]={width:B,draw:e=>{e.lineWidth(40),e.M(160,400),e.L(440,100),e.stroke(),e.M(440,400),e.L(160,100),e.stroke(),e.circle(300,420,28),e.fill(),e.circle(300,80,28),e.fill()}},V[8904]={width:B,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(300,250),e.L(120,100),e.Z(),e.stroke(),e.M(480,400),e.L(300,250),e.L(480,100),e.Z(),e.stroke()}},V[8905]={width:B,draw:e=>{e.lineWidth(40),e.M(140,400),e.L(380,250),e.L(140,100),e.Z(),e.stroke(),e.M(380,400),e.L(380,100),e.stroke()}},V[8906]={width:B,draw:e=>{e.lineWidth(40),e.M(460,400),e.L(220,250),e.L(460,100),e.Z(),e.stroke(),e.M(220,400),e.L(220,100),e.stroke()}},V[8907]={width:B,draw:e=>{e.lineWidth(40),e.M(140,400),e.L(380,250),e.L(140,100),e.stroke(),e.M(380,400),e.L(380,100),e.stroke()}},V[8908]={width:B,draw:e=>{e.lineWidth(40),e.M(460,400),e.L(220,250),e.L(460,100),e.stroke(),e.M(220,400),e.L(220,100),e.stroke()}},V[8909]={width:B,draw:e=>{e.lineWidth(40),e.M(120,220),e.C(200,120,400,380,480,280),e.stroke(),e.M(120,140),e.L(480,140),e.stroke()}},V[8910]={width:B,draw:e=>{e.lineWidth(42),e.M(120,440),e.C(200,200,260,100,300,60),e.C(340,100,400,200,480,440),e.stroke()}},V[8911]={width:B,draw:e=>{e.lineWidth(42),e.M(120,60),e.C(200,300,260,400,300,440),e.C(340,400,400,300,480,60),e.stroke()}},V[8912]={width:B,draw:e=>{e.lineWidth(35),e.M(440,400),e.C(250,400,180,320,180,250),e.C(180,180,250,100,440,100),e.stroke(),e.M(480,400),e.C(290,400,220,320,220,250),e.C(220,180,290,100,480,100),e.stroke()}},V[8913]={width:B,draw:e=>{e.lineWidth(35),e.M(160,400),e.C(350,400,420,320,420,250),e.C(420,180,350,100,160,100),e.stroke(),e.M(120,400),e.C(310,400,380,320,380,250),e.C(380,180,310,100,120,100),e.stroke()}},V[8914]={width:B,draw:e=>{e.lineWidth(38),e.M(120,60),e.L(120,230),e.C(120,460,480,460,480,230),e.L(480,60),e.stroke(),e.M(200,60),e.L(200,230),e.C(200,400,400,400,400,230),e.L(400,60),e.stroke()}},V[8915]={width:B,draw:e=>{e.lineWidth(38),e.M(120,440),e.L(120,270),e.C(120,40,480,40,480,270),e.L(480,440),e.stroke(),e.M(200,440),e.L(200,270),e.C(200,100,400,100,400,270),e.L(400,440),e.stroke()}},V[8916]={width:B,draw:e=>{e.lineWidth(42),e.M(300,60),e.L(300,440),e.stroke(),e.M(140,60),e.L(140,250),e.C(140,400,460,400,460,250),e.L(460,60),e.stroke()}},V[8917]={width:B,draw:e=>{e.lineWidth(38),e.M(120,310),e.L(480,310),e.stroke(),e.M(120,200),e.L(480,200),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(400,440),e.L(400,60),e.stroke()}},V[8918]={width:B,draw:e=>{e.lineWidth(42),e.M(460,400),e.L(140,250),e.L(460,100),e.stroke(),e.circle(300,250,30),e.fill()}},V[8919]={width:B,draw:e=>{e.lineWidth(42),e.M(140,400),e.L(460,250),e.L(140,100),e.stroke(),e.circle(300,250,30),e.fill()}},V[8920]={width:B,draw:e=>{e.lineWidth(35);for(let t of[160,280,400])e.M(t+80,400),e.L(t,250),e.L(t+80,100),e.stroke()}},V[8921]={width:B,draw:e=>{e.lineWidth(35);for(let t of[440,320,200])e.M(t-80,400),e.L(t,250),e.L(t-80,100),e.stroke()}},V[8922]={width:B,draw:e=>{e.lineWidth(36),e.M(460,460),e.L(140,370),e.L(460,280),e.stroke(),e.M(140,240),e.L(460,240),e.stroke(),e.M(140,200),e.L(460,110),e.L(140,40),e.stroke()}},V[8923]={width:B,draw:e=>{e.lineWidth(36),e.M(140,460),e.L(460,370),e.L(140,280),e.stroke(),e.M(140,240),e.L(460,240),e.stroke(),e.M(460,200),e.L(140,110),e.L(460,40),e.stroke()}},V[8924]={width:B,draw:e=>{e.lineWidth(40),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,440),e.L(460,440),e.stroke()}},V[8925]={width:B,draw:e=>{e.lineWidth(40),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,440),e.L(460,440),e.stroke()}},V[8926]={width:B,draw:e=>{e.lineWidth(38),e.M(460,420),e.C(200,420,140,320,140,280),e.C(140,240,200,140,460,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},V[8927]={width:B,draw:e=>{e.lineWidth(38),e.M(140,420),e.C(400,420,460,320,460,280),e.C(460,240,400,140,140,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},V[8928]={width:B,draw:e=>{V[8926].draw(e),z(e)}},V[8929]={width:B,draw:e=>{V[8927].draw(e),z(e)}},V[8930]={width:B,draw:e=>{V[8849].draw(e),z(e)}},V[8931]={width:B,draw:e=>{V[8850].draw(e),z(e)}},V[8932]={width:B,draw:e=>{V[8849].draw(e),z(e)}},V[8933]={width:B,draw:e=>{V[8850].draw(e),z(e)}},V[8934]={width:B,draw:e=>{V[8818].draw(e),z(e)}},V[8935]={width:B,draw:e=>{V[8819].draw(e),z(e)}},V[8936]={width:B,draw:e=>{V[8830].draw(e),z(e)}},V[8937]={width:B,draw:e=>{V[8831].draw(e),z(e)}},V[8938]={width:B,draw:e=>{V[8882].draw(e),z(e)}},V[8939]={width:B,draw:e=>{V[8883].draw(e),z(e)}},V[8940]={width:B,draw:e=>{V[8884].draw(e),z(e)}},V[8941]={width:B,draw:e=>{V[8885].draw(e),z(e)}},V[8942]={width:B,draw:e=>{e.circle(300,380,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(300,120,28),e.fill()}},V[8943]={width:B,draw:e=>{e.circle(150,250,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(450,250,28),e.fill()}},V[8944]={width:B,draw:e=>{e.circle(170,120,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(430,380,28),e.fill()}},V[8945]={width:B,draw:e=>{e.circle(170,380,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(430,120,28),e.fill()}};for(let e=8946;e<=8959;e++)if(!V[e]){let t=(e-8946)%2==0;V[e]={width:B,draw:e=>{e.lineWidth(40),t?(e.M(440,400),e.C(200,430,140,340,140,250),e.C(140,160,200,70,440,100),e.stroke(),e.M(140,250),e.L(400,250),e.stroke()):(e.M(160,400),e.C(400,430,460,340,460,250),e.C(460,160,400,70,160,100),e.stroke(),e.M(460,250),e.L(200,250),e.stroke())}}}H={},H[8448]={width:B,draw:e=>{e.lineWidth(24),xi(e,0,190,340,150),xi(e,2,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},H[8449]={width:B,draw:e=>{e.lineWidth(24),xi(e,0,190,340,150),xi(e,18,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},H[8450]=Oi((e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.stroke()}),H[8452]={width:B,draw:e=>{e.lineWidth(40),e.M(200,440),e.L(300,250),e.L(400,440),e.stroke(),e.M(300,250),e.L(300,60),e.stroke()}},H[8454]={width:B,draw:e=>{e.lineWidth(24),xi(e,2,190,340,150),xi(e,20,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},H[8455]={width:B,draw:e=>{e.lineWidth(42),e.M(180,440),e.L(420,440),e.L(420,60),e.L(180,60),e.stroke(),e.M(420,250),e.L(220,250),e.stroke()}},H[8458]={width:B,draw:e=>{e.lineWidth(30),e.ellipse(280,280,120,100),e.stroke(),e.M(400,380),e.L(400,80),e.C(400,20,300,20,240,60),e.stroke()}},H[8459]=ki((e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.C(t-r*.1,n+r*.15,t+r*.1,n-r*.15,t+r*.3,n),e.stroke()}),H[8460]=Ai((e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.L(t+r*.3,n),e.stroke()}),H[8461]=Oi((e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.L(t+r*.3,n),e.stroke()}),H[8462]={width:B,draw:e=>{e.lineWidth(35),e.M(220,60),e.L(200,450),e.stroke(),e.M(200,300),e.C(280,400,380,400,400,300),e.L(420,60),e.stroke()}},H[8463]={width:B,draw:e=>{e.lineWidth(35),e.M(220,60),e.L(200,450),e.stroke(),e.M(200,300),e.C(280,400,380,400,400,300),e.L(420,60),e.stroke(),e.M(140,370),e.L(280,370),e.stroke()}},H[8464]=ki((e,t,n,r)=>{e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke(),e.M(t-r*.2,n+r*.5),e.L(t+r*.2,n+r*.5),e.stroke(),e.M(t-r*.2,n-r*.5),e.L(t+r*.2,n-r*.5),e.stroke()}),H[8465]=Ai((e,t,n,r)=>{e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke(),e.M(t-r*.25,n+r*.5),e.L(t+r*.25,n+r*.5),e.stroke(),e.M(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke()}),H[8466]=ki((e,t,n,r)=>{e.M(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.C(t-r*.25,n-r*.55,t+r*.3,n-r*.55,t+r*.3,n-r*.5),e.stroke()}),H[8468]={width:B,draw:e=>{e.lineWidth(30),xi(e,11,200,250,260),xi(e,1,400,250,260),e.lineWidth(28),e.M(120,100),e.L(480,100),e.stroke()}},H[8469]=Oi((e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.L(t+r*.3,n+r*.5),e.stroke()}),H[8471]={width:B,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(28),xi(e,15,300,250,200)}},H[8472]={width:B,draw:e=>{e.lineWidth(38),e.M(200,60),e.L(200,350),e.C(200,450,350,450,400,350),e.C(450,250,350,180,280,200),e.C(210,220,180,300,200,350),e.stroke()}},H[8473]=Oi((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke()}),H[8474]=Oi((e,t,n,r)=>{e.ellipse(t,n+r*.05,r*.35,r*.45),e.stroke(),e.M(t+r*.1,n-r*.2),e.L(t+r*.35,n-r*.5),e.stroke()}),H[8475]=ki((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()}),H[8476]=Ai((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()}),H[8477]=Oi((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()}),H[8478]={width:B,draw:e=>{e.lineWidth(38),xi(e,17,250,260,300),e.lineWidth(32),e.M(350,200),e.L(480,60),e.stroke()}},H[8479]={width:B,draw:e=>{e.lineWidth(38),xi(e,17,300,250,300)}},H[8481]={width:B,draw:e=>{e.lineWidth(22),xi(e,19,150,250,180),xi(e,4,300,250,180),xi(e,11,450,250,180)}},H[8484]=Oi((e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()}),H[8485]={width:B,draw:e=>{e.lineWidth(36),e.M(200,440),e.L(400,440),e.L(200,60),e.L(400,60),e.stroke(),e.M(180,250),e.L(420,250),e.stroke()}},H[8487]={width:B,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(200,440),e.L(200,350),e.C(200,150,400,150,400,350),e.L(400,440),e.L(460,440),e.stroke()}},H[8488]=Ai((e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()}),H[8489]={width:B,draw:e=>{e.lineWidth(38),e.M(300,440),e.L(300,160),e.C(300,60,220,60,220,120),e.stroke()}},H[8490]={width:B,draw:e=>{e.lineWidth(40),xi(e,10,300,250,300)}},H[8491]={width:B,draw:e=>{e.lineWidth(38),xi(e,0,300,220,280),e.lineWidth(22),e.circle(300,440,30),e.stroke()}},H[8492]=ki((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.35,n+r*.5,t+r*.35,n+r*.05,t+r*.05,n+r*.05),e.L(t+r*.1,n+r*.05),e.C(t+r*.4,n+r*.05,t+r*.4,n-r*.5,t+r*.1,n-r*.5),e.Z(),e.stroke()}),H[8493]=Ai((e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.stroke()}),H[8495]={width:B,draw:e=>{e.lineWidth(30),e.M(420,250),e.L(180,250),e.C(180,400,300,450,400,380),e.stroke(),e.M(180,250),e.C(180,100,300,50,420,120),e.stroke()}},H[8496]=ki((e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n),e.L(t+r*.15,n),e.stroke()}),H[8497]=ki((e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n+r*.05),e.L(t+r*.15,n+r*.05),e.stroke()}),H[8498]={width:B,draw:e=>{e.lineWidth(42),e.M(180,60),e.L(420,60),e.L(420,440),e.stroke(),e.M(420,250),e.L(220,250),e.stroke()}},H[8499]=ki((e,t,n,r)=>{e.M(t-r*.35,n-r*.5),e.L(t-r*.35,n+r*.5),e.L(t,n),e.L(t+r*.35,n+r*.5),e.L(t+r*.35,n-r*.5),e.stroke()}),H[8500]={width:B,draw:e=>{e.lineWidth(30),e.ellipse(300,250,150,180),e.stroke()}},H[8501]={width:B,draw:e=>{e.lineWidth(42),e.M(200,60),e.C(250,200,350,300,400,440),e.stroke(),e.M(180,440),e.L(250,300),e.stroke(),e.M(420,60),e.L(350,200),e.stroke()}},H[8502]={width:B,draw:e=>{e.lineWidth(42),e.M(160,440),e.L(440,440),e.L(440,60),e.C(440,60,300,80,200,160),e.stroke()}},H[8503]={width:B,draw:e=>{e.lineWidth(42),e.M(350,440),e.L(350,160),e.C(350,60,250,60,200,100),e.stroke(),e.M(350,300),e.L(250,60),e.stroke()}},H[8504]={width:B,draw:e=>{e.lineWidth(42),e.M(180,440),e.L(420,440),e.L(420,60),e.stroke()}},H[8508]={width:B,draw:e=>{e.lineWidth(30),e.M(140,380),e.L(460,380),e.stroke(),e.M(230,380),e.L(230,60),e.stroke(),e.M(370,380),e.L(370,60),e.stroke(),e.M(248,380),e.L(248,60),e.stroke(),e.M(388,380),e.L(388,60),e.stroke()}},H[8509]={width:B,draw:e=>{e.lineWidth(30),e.M(160,440),e.L(300,150),e.L(440,440),e.stroke(),e.M(300,150),e.L(300,60),e.stroke(),e.M(170,440),e.L(310,150),e.stroke()}},H[8510]={width:B,draw:e=>{e.lineWidth(30),e.M(180,60),e.L(180,440),e.L(420,440),e.stroke(),e.M(198,60),e.L(198,440),e.stroke()}},H[8511]={width:B,draw:e=>{e.lineWidth(30),e.M(140,440),e.L(460,440),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(218,440),e.L(218,60),e.stroke(),e.M(400,440),e.L(400,60),e.stroke(),e.M(418,440),e.L(418,60),e.stroke()}},H[8512]={width:B,draw:e=>{e.lineWidth(30),e.M(440,440),e.L(160,440),e.L(300,250),e.L(160,60),e.L(440,60),e.stroke(),e.M(450,440),e.L(170,440),e.L(310,250),e.L(170,60),e.L(450,60),e.stroke()}},H[8513]={width:B,draw:e=>{e.lineWidth(42),e.M(200,100),e.C(280,40,460,100,460,250),e.C(460,400,280,460,200,400),e.L(200,270),e.L(350,270),e.stroke()}},H[8514]={width:B,draw:e=>{e.lineWidth(42),e.M(400,60),e.L(400,440),e.L(200,440),e.stroke()}},H[8515]={width:B,draw:e=>{e.lineWidth(42),e.M(400,440),e.L(400,60),e.L(200,60),e.stroke()}},H[8516]={width:B,draw:e=>{e.lineWidth(42),e.M(180,440),e.L(300,250),e.L(420,440),e.stroke(),e.M(300,250),e.L(300,60),e.stroke()}},H[8517]=Oi((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n-r*.5,t,n-r*.5),e.Z(),e.stroke()}),H[8518]={width:B,draw:e=>{e.lineWidth(28),e.ellipse(270,200,110,130),e.stroke(),e.M(380,60),e.L(380,440),e.stroke(),e.M(398,60),e.L(398,440),e.stroke()}},H[8519]={width:B,draw:e=>{e.lineWidth(28),e.M(420,250),e.L(180,250),e.C(180,400,300,450,400,380),e.stroke(),e.M(180,250),e.C(180,100,300,50,420,120),e.stroke(),e.M(430,260),e.L(190,260),e.stroke()}},H[8520]={width:B,draw:e=>{e.lineWidth(30),e.M(300,340),e.L(300,60),e.stroke(),e.M(318,340),e.L(318,60),e.stroke(),e.circle(309,400,25),e.fill()}},H[8521]={width:B,draw:e=>{e.lineWidth(30),e.M(320,340),e.L(320,120),e.C(320,60,260,60,220,80),e.stroke(),e.M(338,340),e.L(338,120),e.stroke(),e.circle(329,400,25),e.fill()}},H[8522]={width:B,draw:e=>{e.lineWidth(42),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke(),e.M(300,440),e.L(300,60),e.stroke()}},H[8523]={width:B,draw:e=>{e.lineWidth(38),e.M(420,60),e.L(180,320),e.C(140,370,160,440,220,440),e.C(320,440,360,380,300,300),e.L(160,180),e.C(120,130,160,60,260,60),e.C(360,60,380,130,340,180),e.stroke()}},H[8524]={width:B,draw:e=>{e.lineWidth(38),e.M(440,440),e.L(160,60),e.stroke(),e.circle(200,360,50),e.stroke(),e.circle(400,140,50),e.stroke()}},H[8525]={width:B,draw:e=>{e.lineWidth(34),xi(e,0,200,250,260),xi(e,18,400,250,260)}},H[8526]={width:B,draw:e=>{e.lineWidth(38),e.M(380,440),e.L(220,440),e.L(220,60),e.stroke(),e.M(220,250),e.L(380,250),e.stroke()}},H[8527]={width:B,draw:e=>{e.lineWidth(38),e.M(200,60),e.L(200,440),e.L(400,440),e.L(400,60),e.stroke(),e.M(200,250),e.L(400,250),e.stroke()}},Vi={},Vi[8364]={width:B,draw:e=>{e.lineWidth(40),e.M(460,400),e.C(400,470,220,470,180,370),e.C(140,270,140,180,180,120),e.C(220,40,400,40,460,100),e.stroke(),e.M(120,300),e.L(400,300),e.stroke(),e.M(120,210),e.L(400,210),e.stroke()}},Vi[8365]={width:B,draw:e=>{e.lineWidth(40),xi(e,10,300,250,300),e.M(140,250),e.L(460,250),e.stroke()}},Vi[8367]={width:B,draw:e=>{e.lineWidth(38),xi(e,3,300,250,300),e.M(400,470),e.L(400,30),e.stroke()}},Vi[8368]={width:B,draw:e=>{e.lineWidth(38),xi(e,3,300,250,300),e.lineWidth(22),e.circle(420,400,30),e.stroke()}},Vi[8373]={width:B,draw:e=>{e.lineWidth(40),e.M(420,400),e.C(380,470,220,470,180,370),e.C(140,270,140,180,180,120),e.C(220,40,380,40,420,100),e.stroke(),e.M(300,490),e.L(300,10),e.stroke()}},Vi[8375]={width:B,draw:e=>{e.lineWidth(38),xi(e,18,300,250,300),e.M(140,300),e.L(460,300),e.stroke()}},Vi[8379]={width:B,draw:e=>{e.lineWidth(38),xi(e,12,300,250,300),e.M(120,60),e.L(480,60),e.stroke()}},Vi[8380]={width:B,draw:e=>{e.lineWidth(38),e.M(180,60),e.L(180,350),e.C(180,460,420,460,420,350),e.L(420,60),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},Vi[8382]={width:B,draw:e=>{e.lineWidth(40),e.M(400,440),e.C(400,440,200,400,200,250),e.C(200,100,400,60,400,60),e.stroke(),e.M(140,250),e.L(460,250),e.stroke()}},Vi[8383]={width:B,draw:e=>{e.lineWidth(38),xi(e,1,300,250,290),e.M(260,480),e.L(260,20),e.stroke(),e.M(340,480),e.L(340,20),e.stroke()}};for(let e=8384;e<=8399;e++)Vi[e]={width:B,draw:e=>{e.lineWidth(35),e.circle(300,250,180),e.stroke(),e.M(160,280),e.L(440,280),e.stroke(),e.M(160,220),e.L(440,220),e.stroke()}};U={},U[8604]={width:B,draw:e=>{e.lineWidth(38),e.M(480,250),e.C(420,330,340,170,280,250),e.C(220,330,160,250,160,250),e.stroke(),e.M(80,250),e.L(180,350),e.L(180,150),e.Z(),e.fill()}},U[8610]={width:B,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.lineWidth(30),e.M(480,250),e.L(520,350),e.stroke()}},U[8611]={width:B,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(30),e.M(120,250),e.L(80,350),e.stroke()}},U[8616]={width:B,draw:e=>{e.lineWidth(38),e.M(300,440),e.L(300,120),e.stroke(),e.M(300,470),e.L(200,370),e.L(400,370),e.Z(),e.fill(),e.M(300,60),e.L(200,160),e.L(400,160),e.Z(),e.fill(),e.M(180,30),e.L(420,30),e.stroke()}},U[8619]={width:B,draw:e=>{e.lineWidth(38),e.M(480,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.lineWidth(30),e.M(480,250),e.C(520,250,520,150,480,150),e.C(440,150,440,250,480,250),e.stroke()}},U[8620]={width:B,draw:e=>{e.lineWidth(38),e.M(120,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(30),e.M(120,250),e.C(80,250,80,150,120,150),e.C(160,150,160,250,120,250),e.stroke()}},U[8621]={width:B,draw:e=>{e.lineWidth(35),e.M(140,250),e.C(200,350,300,150,360,250),e.L(460,250),e.stroke(),e.M(100,250),e.L(170,330),e.L(170,170),e.Z(),e.fill(),e.M(500,250),e.L(430,330),e.L(430,170),e.Z(),e.fill()}},U[8622]={width:B,draw:e=>{e.lineWidth(38),e.M(150,250),e.L(450,250),e.stroke(),e.M(100,250),e.L(180,340),e.L(180,160),e.Z(),e.fill(),e.M(500,250),e.L(420,340),e.L(420,160),e.Z(),e.fill(),z(e)}},U[8623]={width:B,draw:e=>{e.lineWidth(38),e.M(300,470),e.L(400,380),e.L(200,260),e.L(400,140),e.L(300,60),e.stroke(),e.M(300,30),e.L(220,120),e.L(380,120),e.Z(),e.fill()}},U[8628]={width:B,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(400,400),e.L(400,120),e.stroke(),e.M(400,60),e.L(320,160),e.L(480,160),e.Z(),e.fill()}},U[8630]={width:B,draw:e=>{e.lineWidth(38),e.M(460,250),e.C(460,420,140,420,140,250),e.stroke(),e.M(100,250),e.L(180,330),e.L(180,170),e.Z(),e.fill()}},U[8631]={width:B,draw:e=>{e.lineWidth(38),e.M(140,250),e.C(140,420,460,420,460,250),e.stroke(),e.M(500,250),e.L(420,330),e.L(420,170),e.Z(),e.fill()}},U[8632]={width:B,draw:e=>{e.lineWidth(38),e.M(400,100),e.L(180,350),e.stroke(),e.M(140,400),e.L(230,310),e.L(140,310),e.Z(),e.fill(),e.M(120,440),e.L(480,440),e.stroke()}},U[8633]={width:B,draw:e=>{e.lineWidth(32),e.M(460,340),e.L(180,340),e.stroke(),e.M(120,340),e.L(200,390),e.L(200,290),e.Z(),e.fill(),e.M(140,160),e.L(420,160),e.stroke(),e.M(480,160),e.L(400,210),e.L(400,110),e.Z(),e.fill(),e.M(120,380),e.L(120,300),e.stroke(),e.M(480,200),e.L(480,120),e.stroke()}},U[8683]={width:B,draw:e=>{e.lineWidth(38),e.M(300,130),e.L(300,380),e.stroke(),e.M(300,470),e.L(180,330),e.L(420,330),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(300,60),e.L(300,130),e.stroke()}},U[8684]={width:B,draw:e=>{e.lineWidth(35),e.M(300,160),e.L(300,400),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(200,110),e.L(400,110),e.stroke(),e.M(300,60),e.L(300,160),e.stroke()}},U[8685]={width:B,draw:e=>{e.lineWidth(35),e.M(300,130),e.L(300,380),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(300,60),e.L(300,130),e.stroke(),e.M(200,40),e.L(200,80),e.stroke(),e.M(400,40),e.L(400,80),e.stroke()}},U[8686]={width:B,draw:e=>{e.lineWidth(38),e.M(300,60),e.L(300,400),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.stroke(),e.M(300,370),e.L(200,270),e.L(400,270),e.Z(),e.stroke()}},U[8687]={width:B,draw:e=>{e.lineWidth(35),e.M(300,130),e.L(300,400),e.stroke(),e.M(300,470),e.L(180,370),e.L(420,370),e.Z(),e.stroke(),e.M(300,350),e.L(200,270),e.L(400,270),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(300,60),e.L(300,130),e.stroke()}},U[8688]={width:B,draw:e=>{e.lineWidth(38),e.M(120,250),e.L(380,250),e.stroke(),e.M(480,250),e.L(360,370),e.L(360,130),e.Z(),e.stroke(),e.M(100,420),e.L(100,80),e.stroke()}},U[8689]={width:B,draw:e=>{e.lineWidth(38),e.M(420,100),e.L(180,380),e.stroke(),e.M(140,420),e.L(220,340),e.L(140,340),e.Z(),e.fill(),e.M(120,460),e.L(120,420),e.L(480,420),e.stroke()}},U[8690]={width:B,draw:e=>{e.lineWidth(38),e.M(180,400),e.L(420,120),e.stroke(),e.M(460,80),e.L(380,160),e.L(460,160),e.Z(),e.fill(),e.M(120,80),e.L(480,80),e.L(480,40),e.stroke()}},U[8691]={width:B,draw:e=>{e.lineWidth(38),e.M(300,130),e.L(300,370),e.stroke(),e.M(300,470),e.L(190,350),e.L(410,350),e.Z(),e.stroke(),e.M(300,30),e.L(190,150),e.L(410,150),e.Z(),e.stroke()}},U[8692]={width:B,draw:e=>{e.lineWidth(38),e.M(170,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(25),e.circle(130,250,35),e.stroke()}},U[8694]={width:B,draw:e=>{e.lineWidth(28);for(let t of[370,250,130])e.M(100,t),e.L(400,t),e.stroke(),e.M(480,t),e.L(400,t+50),e.L(400,t-50),e.Z(),e.fill()}},U[8695]={width:B,draw:e=>{e.lineWidth(38),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(330,370),e.L(330,130),e.stroke()}},U[8696]={width:B,draw:e=>{e.lineWidth(38),e.M(120,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(270,370),e.L(270,130),e.stroke()}},U[8697]={width:B,draw:e=>{e.lineWidth(35),e.M(160,250),e.L(440,250),e.stroke(),e.M(100,250),e.L(180,330),e.L(180,170),e.Z(),e.fill(),e.M(500,250),e.L(420,330),e.L(420,170),e.Z(),e.fill(),e.M(300,370),e.L(300,130),e.stroke()}},U[8698]={width:B,draw:e=>{e.lineWidth(35),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill(),e.M(310,370),e.L(310,130),e.stroke(),e.M(350,370),e.L(350,130),e.stroke()}},U[8699]={width:B,draw:e=>{e.lineWidth(35),e.M(120,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,340),e.L(400,160),e.Z(),e.fill(),e.M(250,370),e.L(250,130),e.stroke(),e.M(290,370),e.L(290,130),e.stroke()}},U[8700]={width:B,draw:e=>{e.lineWidth(32),e.M(160,250),e.L(440,250),e.stroke(),e.M(100,250),e.L(180,330),e.L(180,170),e.Z(),e.fill(),e.M(500,250),e.L(420,330),e.L(420,170),e.Z(),e.fill(),e.M(285,370),e.L(285,130),e.stroke(),e.M(315,370),e.L(315,130),e.stroke()}},U[8701]={width:B,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(140,250),e.stroke(),e.M(80,250),e.L(200,370),e.stroke(),e.M(80,250),e.L(200,130),e.stroke()}},U[8702]={width:B,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(460,250),e.stroke(),e.M(520,250),e.L(400,370),e.stroke(),e.M(520,250),e.L(400,130),e.stroke()}},U[8703]={width:B,draw:e=>{e.lineWidth(38),e.M(140,250),e.L(460,250),e.stroke(),e.M(80,250),e.L(180,350),e.stroke(),e.M(80,250),e.L(180,150),e.stroke(),e.M(520,250),e.L(420,350),e.stroke(),e.M(520,250),e.L(420,150),e.stroke()}}}));function Ui(e,t,n,r){return{width:W,draw:i=>{i.rect(e,t,n,r),i.fill()}}}function Wi(e,t,n,r,i=50){return{width:W,draw:a=>{a.lineWidth(i),a.rect(e,t,n,r),a.stroke()}}}function Gi(e,t,n){return{width:W,draw:r=>{r.circle(e,t,n),r.fill()}}}function Ki(e,t,n,r=50){return{width:W,draw:i=>{i.lineWidth(r),i.circle(e,t,n),i.stroke()}}}function qi(){if(!ca){ca=new Map;for(let e of sa)for(let[t,n]of Object.entries(e))ca.set(Number(t),n)}return ca}function Ji(e){return qi().get(e)}var W,Yi,Xi,Zi,Qi,$i,ea,ta,na,ra,ia,aa,oa,sa,ca,la=n((()=>{Rr(),qr(),vi(),Hi(),W=600,Yi=Wi(80,0,440,700,40),Xi={9632:Ui(100,50,400,400),9633:Wi(100,50,400,400),9634:{width:W,draw:e=>{e.lineWidth(50),e.M(150,50),e.L(450,50),e.C(480,50,500,70,500,100),e.L(500,400),e.C(500,430,480,450,450,450),e.L(150,450),e.C(120,450,100,430,100,400),e.L(100,100),e.C(100,70,120,50,150,50),e.Z(),e.stroke()}},9635:{width:W,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(200,150,200,200),e.fill()}},9636:{width:W,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(30);for(let t=100;t<=400;t+=80)e.M(100,t),e.L(500,t);e.stroke()}},9637:{width:W,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(30);for(let t=150;t<=450;t+=80)e.M(t,50),e.L(t,450);e.stroke()}},9638:{width:W,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(20);for(let t=100;t<=400;t+=80)e.M(100,t),e.L(500,t);for(let t=150;t<=450;t+=80)e.M(t,50),e.L(t,450);e.stroke()}},9640:{width:W,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(20);for(let t=-400;t<=400;t+=80)e.M(Math.max(100,100+t),Math.min(450,450+t)),e.L(Math.min(500,500+t),Math.max(50,50+t));e.stroke()}},9642:Ui(175,125,250,250),9643:Wi(175,125,250,250,40),9644:Ui(80,150,440,200),9645:Wi(80,150,440,200),9646:Ui(175,0,250,500),9647:Wi(175,0,250,500),9648:{width:W,draw:e=>{e.M(150,100),e.L(520,100),e.L(450,400),e.L(80,400),e.Z(),e.fill()}},9650:{width:W,draw:e=>{e.M(300,500),e.L(500,50),e.L(100,50),e.Z(),e.fill()}},9651:{width:W,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(500,50),e.L(100,50),e.Z(),e.stroke()}},9652:{width:W,draw:e=>{e.M(300,450),e.L(450,100),e.L(150,100),e.Z(),e.fill()}},9653:{width:W,draw:e=>{e.lineWidth(35),e.M(300,450),e.L(450,100),e.L(150,100),e.Z(),e.stroke()}},9654:{width:W,draw:e=>{e.M(100,500),e.L(500,250),e.L(100,0),e.Z(),e.fill()}},9655:{width:W,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(500,250),e.L(100,0),e.Z(),e.stroke()}},9656:{width:W,draw:e=>{e.M(150,450),e.L(450,250),e.L(150,50),e.Z(),e.fill()}},9660:{width:W,draw:e=>{e.M(100,500),e.L(500,500),e.L(300,50),e.Z(),e.fill()}},9661:{width:W,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(500,500),e.L(300,50),e.Z(),e.stroke()}},9662:{width:W,draw:e=>{e.M(150,400),e.L(450,400),e.L(300,100),e.Z(),e.fill()}},9664:{width:W,draw:e=>{e.M(500,500),e.L(100,250),e.L(500,0),e.Z(),e.fill()}},9665:{width:W,draw:e=>{e.lineWidth(40),e.M(500,500),e.L(100,250),e.L(500,0),e.Z(),e.stroke()}},9666:{width:W,draw:e=>{e.M(450,450),e.L(150,250),e.L(450,50),e.Z(),e.fill()}},9670:{width:W,draw:e=>{e.M(300,500),e.L(530,250),e.L(300,0),e.L(70,250),e.Z(),e.fill()}},9671:{width:W,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(530,250),e.L(300,0),e.L(70,250),e.Z(),e.stroke()}},9672:{width:W,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(530,250),e.L(300,0),e.L(70,250),e.Z(),e.stroke(),e.M(300,380),e.L(410,250),e.L(300,120),e.L(190,250),e.Z(),e.fill()}},9673:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,250,120),e.fill()}},9674:{width:W,draw:e=>{e.lineWidth(40),e.M(300,550),e.L(500,250),e.L(300,-50),e.L(100,250),e.Z(),e.stroke()}},9675:Ki(300,250,220),9676:Ki(300,250,220,30),9677:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(80,250),e.C(80,371,179,470,300,470),e.C(421,470,520,371,520,250),e.Z(),e.fill()}},9678:{width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.circle(300,250,140),e.stroke()}},9679:Gi(300,250,220),9680:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,30),e.C(179,30,80,129,80,250),e.C(80,371,179,470,300,470),e.Z(),e.fill()}},9681:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,470),e.C(421,470,520,371,520,250),e.C(520,129,421,30,300,30),e.Z(),e.fill()}},9682:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(520,250),e.C(520,129,421,30,300,30),e.C(179,30,80,129,80,250),e.Z(),e.fill()}},9683:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(80,250),e.C(80,371,179,470,300,470),e.C(421,470,520,371,520,250),e.Z(),e.fill()}},9684:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,470),e.C(421,470,520,371,520,250),e.Z(),e.fill()}},9685:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,470),e.C(179,470,80,371,80,250),e.Z(),e.fill(),e.M(300,250),e.L(520,250),e.C(520,129,421,30,300,30),e.C(179,30,80,129,80,250),e.Z(),e.fill()}},9686:{width:W,draw:e=>{e.M(300,30),e.C(179,30,80,129,80,250),e.C(80,371,179,470,300,470),e.Z(),e.fill()}},9687:{width:W,draw:e=>{e.M(300,470),e.C(421,470,520,371,520,250),e.C(520,129,421,30,300,30),e.Z(),e.fill()}},9688:{width:W,draw:e=>{e.rect(80,30,440,440),e.fill()}},9689:{width:W,draw:e=>{e.circle(300,250,240),e.fill()}},9692:{width:W,draw:e=>{e.lineWidth(50),e.M(300,470),e.C(179,470,80,371,80,250),e.stroke()}},9693:{width:W,draw:e=>{e.lineWidth(50),e.M(520,250),e.C(520,371,421,470,300,470),e.stroke()}},9694:{width:W,draw:e=>{e.lineWidth(50),e.M(300,30),e.C(421,30,520,129,520,250),e.stroke()}},9695:{width:W,draw:e=>{e.lineWidth(50),e.M(80,250),e.C(80,129,179,30,300,30),e.stroke()}},9696:{width:W,draw:e=>{e.lineWidth(50),e.M(80,250),e.C(80,371,179,470,300,470),e.C(421,470,520,371,520,250),e.stroke()}},9697:{width:W,draw:e=>{e.lineWidth(50),e.M(520,250),e.C(520,129,421,30,300,30),e.C(179,30,80,129,80,250),e.stroke()}},9702:Ki(300,250,100,40),9711:Ki(300,250,280,40)},Zi={8592:{width:W,draw:e=>{e.lineWidth(50),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,120),e.Z(),e.fill()}},8593:{width:W,draw:e=>{e.lineWidth(50),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(170,300),e.L(430,300),e.Z(),e.fill()}},8594:{width:W,draw:e=>{e.lineWidth(50),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,380),e.L(350,120),e.Z(),e.fill()}},8595:{width:W,draw:e=>{e.lineWidth(50),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(170,200),e.L(430,200),e.Z(),e.fill()}},8596:{width:W,draw:e=>{e.lineWidth(40),e.M(150,250),e.L(450,250),e.stroke(),e.M(100,250),e.L(220,360),e.L(220,140),e.Z(),e.fill(),e.M(500,250),e.L(380,360),e.L(380,140),e.Z(),e.fill()}},8597:{width:W,draw:e=>{e.lineWidth(40),e.M(300,100),e.L(300,400),e.stroke(),e.M(300,450),e.L(190,330),e.L(410,330),e.Z(),e.fill(),e.M(300,50),e.L(190,170),e.L(410,170),e.Z(),e.fill()}},8598:{width:W,draw:e=>{e.lineWidth(50),e.M(480,50),e.L(120,410),e.stroke(),e.M(120,450),e.L(120,320),e.L(250,450),e.Z(),e.fill()}},8599:{width:W,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(480,410),e.stroke(),e.M(480,450),e.L(350,450),e.L(480,320),e.Z(),e.fill()}},8600:{width:W,draw:e=>{e.lineWidth(50),e.M(120,450),e.L(480,90),e.stroke(),e.M(480,50),e.L(480,180),e.L(350,50),e.Z(),e.fill()}},8601:{width:W,draw:e=>{e.lineWidth(50),e.M(480,450),e.L(120,90),e.stroke(),e.M(120,50),e.L(250,50),e.L(120,180),e.Z(),e.fill()}},8617:{width:W,draw:e=>{e.lineWidth(50),e.M(500,350),e.L(200,350),e.C(120,350,80,300,80,250),e.C(80,200,120,150,200,150),e.L(350,150),e.stroke(),e.M(100,350),e.L(230,430),e.L(230,270),e.Z(),e.fill()}},8618:{width:W,draw:e=>{e.lineWidth(50),e.M(100,350),e.L(400,350),e.C(480,350,520,300,520,250),e.C(520,200,480,150,400,150),e.L(250,150),e.stroke(),e.M(500,350),e.L(370,430),e.L(370,270),e.Z(),e.fill()}},8656:{width:W,draw:e=>{e.M(100,250),e.L(280,420),e.L(280,300),e.L(500,300),e.L(500,200),e.L(280,200),e.L(280,80),e.Z(),e.fill()}},8657:{width:W,draw:e=>{e.M(300,480),e.L(480,280),e.L(370,280),e.L(370,30),e.L(230,30),e.L(230,280),e.L(120,280),e.Z(),e.fill()}},8658:{width:W,draw:e=>{e.M(500,250),e.L(320,420),e.L(320,300),e.L(100,300),e.L(100,200),e.L(320,200),e.L(320,80),e.Z(),e.fill()}},8659:{width:W,draw:e=>{e.M(300,20),e.L(120,220),e.L(230,220),e.L(230,470),e.L(370,470),e.L(370,220),e.L(480,220),e.Z(),e.fill()}},8660:{width:W,draw:e=>{e.M(80,250),e.L(220,400),e.L(220,300),e.L(380,300),e.L(380,400),e.L(520,250),e.L(380,100),e.L(380,200),e.L(220,200),e.L(220,100),e.Z(),e.fill()}}},Qi={8704:{width:W,draw:e=>{e.lineWidth(50),e.M(100,500),e.L(300,0),e.L(500,500),e.stroke(),e.M(170,200),e.L(430,200),e.stroke()}},8706:{width:W,draw:e=>{e.lineWidth(50),e.circle(300,200,150),e.stroke(),e.M(450,200),e.L(450,450),e.C(450,500,400,520,350,500),e.stroke()}},8707:{width:W,draw:e=>{e.lineWidth(50),e.M(450,500),e.L(150,500),e.L(150,0),e.L(450,0),e.stroke(),e.M(150,250),e.L(400,250),e.stroke()}},8709:{width:W,draw:e=>{e.lineWidth(50),e.ellipse(300,250,180,220),e.stroke(),e.M(150,50),e.L(450,450),e.stroke()}},8710:{width:W,draw:e=>{e.lineWidth(50),e.M(300,500),e.L(100,0),e.L(500,0),e.Z(),e.stroke()}},8711:{width:W,draw:e=>{e.lineWidth(50),e.M(100,500),e.L(500,500),e.L(300,0),e.Z(),e.stroke()}},8712:{width:W,draw:e=>{e.lineWidth(50),e.M(480,450),e.C(250,450,120,380,120,250),e.C(120,120,250,50,480,50),e.stroke(),e.M(120,250),e.L(430,250),e.stroke()}},8713:{width:W,draw:e=>{e.lineWidth(50),e.M(480,450),e.C(250,450,120,380,120,250),e.C(120,120,250,50,480,50),e.stroke(),e.M(120,250),e.L(430,250),e.stroke(),e.M(160,50),e.L(440,450),e.stroke()}},8715:{width:W,draw:e=>{e.lineWidth(50),e.M(120,450),e.C(350,450,480,380,480,250),e.C(480,120,350,50,120,50),e.stroke(),e.M(170,250),e.L(480,250),e.stroke()}},8718:Ui(150,50,300,400),8719:{width:W,draw:e=>{e.lineWidth(50),e.M(120,500),e.L(480,500),e.stroke(),e.M(170,500),e.L(170,0),e.stroke(),e.M(430,500),e.L(430,0),e.stroke()}},8721:{width:W,draw:e=>{e.lineWidth(50),e.M(480,500),e.L(120,500),e.L(300,250),e.L(120,0),e.L(480,0),e.stroke()}},8722:{width:W,draw:e=>{e.lineWidth(60),e.M(120,250),e.L(480,250),e.stroke()}},8723:{width:W,draw:e=>{e.lineWidth(50),e.M(120,350),e.L(480,350),e.stroke(),e.M(300,200),e.L(300,0),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},8727:{width:W,draw:e=>{e.lineWidth(50),e.M(300,400),e.L(300,100),e.stroke(),e.M(140,350),e.L(460,150),e.stroke(),e.M(140,150),e.L(460,350),e.stroke()}},8730:{width:W,draw:e=>{e.lineWidth(50),e.M(60,250),e.L(150,200),e.L(250,0),e.L(540,500),e.stroke()}},8734:{width:700,draw:e=>{e.lineWidth(50),e.M(350,250),e.C(350,400,500,450,550,350),e.C(600,250,550,100,500,100),e.C(450,100,350,250,350,250),e.C(350,250,250,400,200,400),e.C(150,400,100,250,150,150),e.C(200,50,350,100,350,250),e.stroke()}},8736:{width:W,draw:e=>{e.lineWidth(50),e.M(480,50),e.L(120,50),e.L(380,450),e.stroke()}},8743:{width:W,draw:e=>{e.lineWidth(50),e.M(100,50),e.L(300,450),e.L(500,50),e.stroke()}},8744:{width:W,draw:e=>{e.lineWidth(50),e.M(100,450),e.L(300,50),e.L(500,450),e.stroke()}},8745:{width:W,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(120,300),e.C(120,470,250,500,300,500),e.C(350,500,480,470,480,300),e.L(480,50),e.stroke()}},8746:{width:W,draw:e=>{e.lineWidth(50),e.M(120,450),e.L(120,200),e.C(120,30,250,0,300,0),e.C(350,0,480,30,480,200),e.L(480,450),e.stroke()}},8747:{width:W,draw:e=>{e.lineWidth(50),e.M(380,530),e.C(350,530,300,500,300,450),e.L(300,50),e.C(300,0,250,-30,220,-30),e.stroke()}},8776:{width:W,draw:e=>{e.lineWidth(50),e.M(120,350),e.C(200,430,350,430,480,350),e.stroke(),e.M(120,200),e.C(200,280,350,280,480,200),e.stroke()}},8800:{width:W,draw:e=>{e.lineWidth(50),e.M(120,330),e.L(480,330),e.stroke(),e.M(120,170),e.L(480,170),e.stroke(),e.M(380,450),e.L(220,50),e.stroke()}},8801:{width:W,draw:e=>{e.lineWidth(50),e.M(120,380),e.L(480,380),e.stroke(),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},8804:{width:W,draw:e=>{e.lineWidth(50),e.M(480,420),e.L(120,250),e.L(480,80),e.stroke(),e.M(120,30),e.L(480,30),e.stroke()}},8805:{width:W,draw:e=>{e.lineWidth(50),e.M(120,420),e.L(480,250),e.L(120,80),e.stroke(),e.M(120,30),e.L(480,30),e.stroke()}},8834:{width:W,draw:e=>{e.lineWidth(50),e.M(470,450),e.C(200,450,130,350,130,250),e.C(130,150,200,50,470,50),e.stroke()}},8835:{width:W,draw:e=>{e.lineWidth(50),e.M(130,450),e.C(400,450,470,350,470,250),e.C(470,150,400,50,130,50),e.stroke()}},8853:{width:W,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},8854:{width:W,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},8855:{width:W,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(160,110),e.L(440,390),e.stroke(),e.M(160,390),e.L(440,110),e.stroke()}},8856:{width:W,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(160,100),e.L(440,400),e.stroke()}},8857:{width:W,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.circle(300,250,40),e.fill()}}},$i={9728:{width:W,draw:e=>{e.circle(300,250,130),e.fill(),e.lineWidth(40);for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300+160*Math.cos(n),250+160*Math.sin(n)),e.L(300+240*Math.cos(n),250+240*Math.sin(n))}e.stroke()}},9733:{width:W,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),260+230*Math.sin(n)):e.L(300+230*Math.cos(n),260+230*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.fill()}},9734:{width:W,draw:e=>{e.lineWidth(35);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),260+230*Math.sin(n)):e.L(300+230*Math.cos(n),260+230*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke()}},9744:Wi(100,30,400,400,45),9745:{width:W,draw:e=>{e.lineWidth(45),e.rect(100,30,400,400),e.stroke(),e.lineWidth(55),e.M(180,230),e.L(280,130),e.L(430,350),e.stroke()}},9746:{width:W,draw:e=>{e.lineWidth(45),e.rect(100,30,400,400),e.stroke(),e.lineWidth(50),e.M(170,100),e.L(430,360),e.stroke(),e.M(170,360),e.L(430,100),e.stroke()}},9747:{width:W,draw:e=>{e.lineWidth(55),e.M(120,50),e.L(480,450),e.stroke(),e.M(120,450),e.L(480,50),e.stroke()}},9755:{width:W,draw:e=>{e.M(500,250),e.L(300,400),e.L(300,300),e.L(100,300),e.L(100,200),e.L(300,200),e.L(300,100),e.Z(),e.fill()}},9758:{width:W,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(300,400),e.L(300,300),e.L(100,300),e.L(100,200),e.L(300,200),e.L(300,100),e.Z(),e.stroke()}},9792:{width:W,draw:e=>{e.lineWidth(50),e.circle(300,330,150),e.stroke(),e.M(300,180),e.L(300,0),e.stroke(),e.M(220,90),e.L(380,90),e.stroke()}},9794:{width:W,draw:e=>{e.lineWidth(50),e.circle(250,220,150),e.stroke(),e.M(360,330),e.L(500,470),e.stroke(),e.M(400,470),e.L(500,470),e.L(500,370),e.stroke()}},9824:{width:W,draw:e=>{e.M(300,500),e.C(300,500,80,350,80,200),e.C(80,100,200,50,300,180),e.C(400,50,520,100,520,200),e.C(520,350,300,500,300,500),e.Z(),e.fill(),e.M(250,0),e.L(350,0),e.L(320,150),e.L(280,150),e.Z(),e.fill()}},9827:{width:W,draw:e=>{e.circle(300,370,110),e.fill(),e.circle(190,230,100),e.fill(),e.circle(410,230,100),e.fill(),e.rect(270,0,60,200),e.fill()}},9829:{width:W,draw:e=>{e.M(300,80),e.C(300,80,80,200,80,340),e.C(80,440,180,490,300,490),e.C(420,490,520,440,520,340),e.C(520,200,300,80,300,80),e.Z(),e.fill()}},9830:{width:W,draw:e=>{e.M(300,500),e.L(500,250),e.L(300,0),e.L(100,250),e.Z(),e.fill()}},9833:{width:W,draw:e=>{e.ellipse(230,80,100,70),e.fill(),e.lineWidth(40),e.M(330,80),e.L(330,480),e.stroke()}},9834:{width:W,draw:e=>{e.ellipse(200,80,100,70),e.fill(),e.lineWidth(35),e.M(300,80),e.L(300,480),e.stroke(),e.M(300,480),e.C(350,450,430,400,430,350),e.stroke()}},9837:{width:W,draw:e=>{e.lineWidth(40),e.M(200,0),e.L(200,500),e.stroke(),e.M(200,200),e.C(350,200,400,100,200,0),e.stroke()}},9839:{width:W,draw:e=>{e.lineWidth(40),e.M(220,0),e.L(220,500),e.stroke(),e.M(380,0),e.L(380,500),e.stroke(),e.lineWidth(50),e.M(140,180),e.L(460,240),e.stroke(),e.M(140,310),e.L(460,370),e.stroke()}},10003:{width:W,draw:e=>{e.lineWidth(65),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},10004:{width:W,draw:e=>{e.lineWidth(85),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},10005:{width:W,draw:e=>{e.lineWidth(55),e.M(140,70),e.L(460,430),e.stroke(),e.M(140,430),e.L(460,70),e.stroke()}},10006:{width:W,draw:e=>{e.lineWidth(75),e.M(140,70),e.L(460,430),e.stroke(),e.M(140,430),e.L(460,70),e.stroke()}},10007:{width:W,draw:e=>{e.lineWidth(60),e.M(130,60),e.L(470,440),e.stroke(),e.M(130,440),e.L(470,60),e.stroke()}},10008:{width:W,draw:e=>{e.lineWidth(80),e.M(130,60),e.L(470,440),e.stroke(),e.M(130,440),e.L(470,60),e.stroke()}},10010:{width:W,draw:e=>{e.rect(210,30,180,440),e.fill(),e.rect(90,160,420,180),e.fill()}},10012:{width:W,draw:e=>{e.lineWidth(60),e.M(300,30),e.L(300,470),e.stroke(),e.M(90,250),e.L(510,250),e.stroke()}},10016:{width:W,draw:e=>{e.M(300,480),e.L(250,320),e.L(100,350),e.L(200,250),e.L(100,150),e.L(250,180),e.L(300,20),e.L(350,180),e.L(500,150),e.L(400,250),e.L(500,350),e.L(350,320),e.Z(),e.fill()}},10084:{width:W,draw:e=>{e.M(300,80),e.C(300,80,60,220,60,350),e.C(60,470,180,500,300,500),e.C(420,500,540,470,540,350),e.C(540,220,300,80,300,80),e.Z(),e.fill()}},...(()=>{let e={};for(let t=0;t<10;t++){let n=10102+t;e[n]={width:W,draw:e=>{e.circle(300,250,240),e.fill()}}}return e})(),...(()=>{let e={};for(let t=0;t<10;t++)e[9312+t]={width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke()}};return e})()},ea={8960:{width:W,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(140,90),e.L(460,410),e.stroke()}},8962:{width:W,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(520,250),e.L(520,30),e.L(80,30),e.L(80,250),e.Z(),e.stroke()}},8984:{width:W,draw:e=>{e.lineWidth(45),e.rect(180,130,240,240),e.stroke(),e.circle(180,370,70),e.stroke(),e.circle(420,370,70),e.stroke(),e.circle(180,130,70),e.stroke(),e.circle(420,130,70),e.stroke()}},8987:{width:W,draw:e=>{e.lineWidth(45),e.M(120,480),e.L(480,480),e.stroke(),e.M(120,20),e.L(480,20),e.stroke(),e.M(150,480),e.L(300,250),e.L(450,480),e.stroke(),e.M(150,20),e.L(300,250),e.L(450,20),e.stroke()}},9166:{width:W,draw:e=>{e.lineWidth(45),e.M(480,420),e.L(480,200),e.L(150,200),e.stroke(),e.M(150,200),e.L(280,310),e.L(280,90),e.Z(),e.fill()}}},ta={9472:{width:W,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke()}},9473:{width:W,draw:e=>{e.lineWidth(80),e.M(0,250),e.L(600,250),e.stroke()}},9474:{width:W,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,500),e.stroke()}},9475:{width:W,draw:e=>{e.lineWidth(80),e.M(300,0),e.L(300,500),e.stroke()}},9484:{width:W,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,250),e.L(600,250),e.stroke()}},9488:{width:W,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,250),e.L(0,250),e.stroke()}},9492:{width:W,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(300,250),e.L(600,250),e.stroke()}},9496:{width:W,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(300,250),e.L(0,250),e.stroke()}},9500:{width:W,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,500),e.stroke(),e.M(300,250),e.L(600,250),e.stroke()}},9508:{width:W,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,500),e.stroke(),e.M(300,250),e.L(0,250),e.stroke()}},9516:{width:W,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke(),e.M(300,250),e.L(300,0),e.stroke()}},9524:{width:W,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke(),e.M(300,250),e.L(300,500),e.stroke()}},9532:{width:W,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke(),e.M(300,0),e.L(300,500),e.stroke()}},9556:{width:W,draw:e=>{e.lineWidth(30),e.M(270,0),e.L(270,270),e.L(600,270),e.stroke(),e.M(330,0),e.L(330,230),e.L(600,230),e.stroke()}},9559:{width:W,draw:e=>{e.lineWidth(30),e.M(330,0),e.L(330,270),e.L(0,270),e.stroke(),e.M(270,0),e.L(270,230),e.L(0,230),e.stroke()}},9562:{width:W,draw:e=>{e.lineWidth(30),e.M(270,500),e.L(270,230),e.L(600,230),e.stroke(),e.M(330,500),e.L(330,270),e.L(600,270),e.stroke()}},9565:{width:W,draw:e=>{e.lineWidth(30),e.M(330,500),e.L(330,230),e.L(0,230),e.stroke(),e.M(270,500),e.L(270,270),e.L(0,270),e.stroke()}},9552:{width:W,draw:e=>{e.lineWidth(30),e.M(0,270),e.L(600,270),e.stroke(),e.M(0,230),e.L(600,230),e.stroke()}},9553:{width:W,draw:e=>{e.lineWidth(30),e.M(270,0),e.L(270,500),e.stroke(),e.M(330,0),e.L(330,500),e.stroke()}}},na={9600:Ui(0,250,600,250),9604:Ui(0,0,600,250),9608:Ui(0,0,600,500),9612:Ui(0,0,300,500),9616:Ui(300,0,300,500),9617:{width:W,draw:e=>{e.lineWidth(15),e.rect(0,0,600,500),e.stroke();for(let t=0;t<=500;t+=60)e.M(0,t),e.L(600,t);e.stroke()}},9618:{width:W,draw:e=>{e.lineWidth(25),e.rect(0,0,600,500),e.stroke();for(let t=0;t<=500;t+=50)e.M(0,t),e.L(600,t);for(let t=0;t<=600;t+=60)e.M(t,0),e.L(t,500);e.stroke()}},9619:{width:W,draw:e=>{e.lineWidth(35),e.rect(0,0,600,500),e.fill()}}},ra={11014:{width:W,draw:e=>{e.M(300,500),e.L(100,280),e.L(230,280),e.L(230,0),e.L(370,0),e.L(370,280),e.L(500,280),e.Z(),e.fill()}},11015:{width:W,draw:e=>{e.M(300,0),e.L(100,220),e.L(230,220),e.L(230,500),e.L(370,500),e.L(370,220),e.L(500,220),e.Z(),e.fill()}},11013:{width:W,draw:e=>{e.M(0,250),e.L(220,430),e.L(220,320),e.L(550,320),e.L(550,180),e.L(220,180),e.L(220,70),e.Z(),e.fill()}},11035:Ui(60,10,480,480),11036:Wi(60,10,480,480,45),11088:{width:W,draw:e=>{e.lineWidth(35);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),260+230*Math.sin(n)):e.L(300+230*Math.cos(n),260+230*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke()}}},ia={10688:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.lineWidth(45),e.M(400,380),e.L(200,250),e.L(400,120),e.stroke()}},10689:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.lineWidth(45),e.M(200,380),e.L(400,250),e.L(200,120),e.stroke()}},10695:{width:W,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke(),e.circle(300,250,130),e.stroke()}},10696:{width:W,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke(),e.rect(190,140,220,220),e.stroke()}},10697:{width:W,draw:e=>{e.lineWidth(35),e.rect(80,80,300,300),e.stroke(),e.rect(220,120,300,300),e.stroke()}}},aa={8377:{width:W,draw:e=>{e.lineWidth(50),e.M(130,480),e.L(470,480),e.stroke(),e.M(130,380),e.L(470,380),e.stroke(),e.M(230,480),e.C(350,480,420,400,420,350),e.C(420,280,350,200,230,200),e.stroke(),e.M(200,380),e.L(400,0),e.stroke()}},8378:{width:W,draw:e=>{e.lineWidth(50),e.M(350,480),e.L(350,50),e.C(350,0,200,0,150,50),e.stroke(),e.M(150,330),e.L(450,250),e.stroke(),e.M(150,230),e.L(450,150),e.stroke()}},8381:{width:W,draw:e=>{e.lineWidth(50),e.M(180,0),e.L(180,500),e.stroke(),e.M(180,500),e.L(350,500),e.C(480,500,480,350,350,300),e.L(180,300),e.stroke(),e.M(120,200),e.L(400,200),e.stroke()}}},oa={8226:Gi(300,250,100),8230:{width:W,draw:e=>{e.circle(120,100,40),e.fill(),e.circle(300,100,40),e.fill(),e.circle(480,100,40),e.fill()}},8227:{width:W,draw:e=>{e.M(150,400),e.L(450,250),e.L(150,100),e.Z(),e.fill()}},8259:{width:W,draw:e=>{e.lineWidth(60),e.M(150,250),e.L(450,250),e.stroke()}},8260:{width:W,draw:e=>{e.lineWidth(40),e.M(450,500),e.L(150,0),e.stroke()}}},sa=[Xi,Zi,Qi,$i,ea,ta,na,ra,ia,aa,oa,fr,pr,mr,hr,gr,_r,vr,yr,br,xr,Sr,Cr,wr,Tr,Er,jr,Pr,Fr,Br,Vr,Hr,Ur,Wr,Gr,Kr,I,L,hi,R,gi,_i,pi,ji,zi,Bi,V,H,Vi,U,Pi,Fi,Ii,Li,Ri],ca=null})),ua=r({writeType3Fonts:()=>da});function da(e,t,n=`T3F`){let r=new Map,i=new Map,a=new Map;if(t.size===0)return{fontObjects:i,encoding:r,widths:a};let o=[...t].sort((e,t)=>e-t),s=1;for(let t=0;t<o.length;t+=255){let c=o.slice(t,t+255),l=`${n}${s}`;s++;let{objNum:u,fontWidths:d}=fa(e,c,l);i.set(l,u),a.set(l,d);for(let e=0;e<c.length;e++)r.set(c[e],{resourceName:l,charCode:_a+e})}return{fontObjects:i,encoding:r,widths:a}}function fa(e,t,n){let r=[],i=[],a=Array(_a+t.length).fill(0),u=new Map,d=pa(e,Yi);r.push({name:`.notdef`,objNum:d}),a[0]=Yi.width;for(let n=0;n<t.length;n++){let o=t[n],s=Ji(o)??Yi,c=`uni${o.toString(16).toUpperCase().padStart(4,`0`)}`,l=pa(e,s);r.push({name:c,objNum:l}),i.push(c);let d=_a+n;a[d]=s.width,u.set(d,s.width)}let f=[];for(let{name:e,objNum:t}of r)f.push(`${o(e)} ${l(t)}`);let m=`<<\n${f.join(`
|
|
41
|
-
`)}\n>>`,h=[];h.push(`${
|
|
42
|
-
`),i=new TextEncoder().encode(r),a=e.allocObject();return e.addStreamObject(a,new p,i),a}var
|
|
43
|
-
`)}getRegisteredFonts(){let e=[];for(let[t,n]of this.type1Map)e.push({resourceName:n,pdfFontName:t});return e}}}));function Ea(e){let t=new Wa(e),n=t.u32();if(n===1953784678){if(t.skip(4),t.u32()===0)throw new Xt(`TrueType Collection is empty (0 fonts)`);return Da(e,t.u32())}return Oa(e,t,n)}function Da(e,t){let n=new Wa(e,t);return Oa(e,n,n.u32())}function Oa(e,t,n){if(n!==65536&&n!==1953658213)throw n===1330926671?new Xt(`CFF-flavored OpenType (.otf) is not supported. Use a TrueType (.ttf) font.`):new Xt(`Invalid TrueType font: bad sfVersion 0x${n.toString(16)}`);let r=t.u16();t.skip(6);let i=new Map;for(let e=0;e<r;e++){let e=t.tag();t.skip(4);let n=t.u32(),r=t.u32();i.set(e,{offset:n,length:r})}for(let e of[`head`,`hhea`,`maxp`,`cmap`,`hmtx`])if(!i.has(e))throw new Xt(`Missing required table '${e}' in TrueType font`);let a=ka(t,i.get(`head`)),o=Aa(t,i.get(`hhea`)),s=ja(t,i.get(`maxp`)),c=i.has(`OS/2`)?Ma(t,i.get(`OS/2`)):null,l=i.has(`post`)?Na(t,i.get(`post`)):null,u=i.has(`name`)?Pa(t,i.get(`name`)):null,d=Fa(t,i.get(`cmap`)),f=Ra(t,i.get(`hmtx`),o.numHMetrics,s.numGlyphs),p=i.has(`loca`)&&i.has(`glyf`)?za(t,i.get(`loca`),s.numGlyphs,a.indexToLocFormat):new Uint32Array(s.numGlyphs+1),m=c?.sTypoAscender??o.ascent,h=c?.sTypoDescender??o.descent,g=c?.sCapHeight??Math.round(m*.7),_=0;l?.isFixedPitch&&(_|=1),a.macStyle&2&&(_|=64),_|=32;let v=c?.usWeightClass??400,y=Math.round(50+(v/65)**2),b=u?.familyName??`Unknown`;return{data:e,familyName:b,postScriptName:u?.postScriptName??b.replace(/\s+/g,``),unitsPerEm:a.unitsPerEm,ascent:m,descent:h,capHeight:g,italicAngle:l?.italicAngle??0,flags:_,bbox:[a.xMin,a.yMin,a.xMax,a.yMax],stemV:y,numGlyphs:s.numGlyphs,indexToLocFormat:a.indexToLocFormat,numHMetrics:o.numHMetrics,tables:i,cmap:d,advanceWidths:f,glyphOffsets:p}}function ka(e,t){let n=e.at(t.offset);n.skip(4),n.skip(4),n.skip(4),n.skip(4),n.skip(2);let r=n.u16();n.skip(16);let i=n.i16(),a=n.i16(),o=n.i16(),s=n.i16(),c=n.u16();return n.skip(2),n.skip(2),{unitsPerEm:r,xMin:i,yMin:a,xMax:o,yMax:s,macStyle:c,indexToLocFormat:n.i16()}}function Aa(e,t){let n=e.at(t.offset);n.skip(4);let r=n.i16(),i=n.i16(),a=n.i16();return n.skip(2),n.skip(22),{ascent:r,descent:i,lineGap:a,numHMetrics:n.u16()}}function ja(e,t){let n=e.at(t.offset);return n.skip(4),{numGlyphs:n.u16()}}function Ma(e,t){let n=e.at(t.offset),r=n.u16();n.skip(2);let i=n.u16();n.skip(2),n.skip(2),n.skip(22),n.skip(10),n.skip(16),n.skip(4),n.skip(2),n.skip(2),n.skip(2);let a=n.i16(),o=n.i16();n.skip(2),n.skip(2),n.skip(2);let s;return r>=2?(n.skip(8),n.skip(2),s=n.i16()):s=Math.round(a*.7),{usWeightClass:i,sTypoAscender:a,sTypoDescender:o,sCapHeight:s}}function Na(e,t){let n=e.at(t.offset);n.skip(4);let r=n.fixed();return n.skip(2),n.skip(2),{italicAngle:r,isFixedPitch:n.u32()!==0}}function Pa(e,t){let n=t.offset,r=e.at(n);r.skip(2);let i=r.u16(),a=n+r.u16(),o=``,s=``;for(let t=0;t<i;t++){let t=r.u16(),n=r.u16();r.skip(2);let i=r.u16(),c=r.u16(),l=r.u16();if(i!==1&&i!==6)continue;let u=e.at(a+l).bytes(c),d;if(t===3||t===0)d=Ba(u);else if(t===1&&n===0)d=Va(u);else continue;i===1&&!o&&(o=d),i===6&&!s&&(s=d)}return{familyName:o||`Unknown`,postScriptName:s||o||`Unknown`}}function Fa(e,t){let n=t.offset,r=e.at(n);r.skip(2);let i=r.u16(),a=-1,o=-1;for(let t=0;t<i;t++){let t=r.u16(),i=r.u16(),s=r.u32();if(t!==0&&(t!==3||i!==1&&i!==10))continue;let c=e.u16At(n+s);c===12&&o<0&&(o=n+s),c===4&&a<0&&(a=n+s)}if(o>=0)return La(e,o);if(a>=0)return Ia(e,a);throw new Xt(`No usable Unicode cmap subtable found in font`)}function Ia(e,t){let n=e.at(t);n.skip(2),n.skip(2),n.skip(2);let r=n.u16()/2;n.skip(6);let i=[];for(let e=0;e<r;e++)i.push(n.u16());n.skip(2);let a=[];for(let e=0;e<r;e++)a.push(n.u16());let o=[];for(let e=0;e<r;e++)o.push(n.i16());let s=n.offset,c=[];for(let e=0;e<r;e++)c.push(n.u16());let l=new Map;for(let t=0;t<r;t++){let n=a[t],r=i[t],u=o[t],d=c[t];if(n===65535)break;for(let i=n;i<=r;i++){let r;if(d===0)r=i+u&65535;else{let a=s+t*2+d+(i-n)*2;r=e.u16At(a),r!==0&&(r=r+u&65535)}r!==0&&l.set(i,r)}}return l}function La(e,t){let n=e.at(t);n.skip(2),n.skip(2),n.skip(4),n.skip(4);let r=n.u32();if(r>Ha)throw new Xt(`cmap format 12 has ${r} groups, exceeding limit of ${Ha}. The font file may be malicious or corrupted.`);let i=new Map,a=0;for(let e=0;e<r;e++){let e=n.u32(),t=n.u32(),r=n.u32(),o=t>=e?t-e+1:0;if(a+=o,a>Ua)throw new Xt(`cmap format 12 maps too many codepoints (>${Ua}). The font file may be malicious or corrupted.`);for(let n=e;n<=t;n++)i.set(n,r+(n-e))}return i}function Ra(e,t,n,r){let i=e.at(t.offset),a=new Uint16Array(r),o=0;for(let e=0;e<n;e++)o=i.u16(),i.skip(2),a[e]=o;for(let e=n;e<r;e++)a[e]=o;return a}function za(e,t,n,r){let i=e.at(t.offset),a=new Uint32Array(n+1);if(r===0)for(let e=0;e<=n;e++)a[e]=i.u16()*2;else for(let e=0;e<=n;e++)a[e]=i.u32();return a}function Ba(e){let t=[];for(let n=0;n+1<e.length;n+=2){let r=e[n]<<8|e[n+1];if(r>=55296&&r<=56319&&n+3<e.length){let i=e[n+2]<<8|e[n+3];if(i>=56320&&i<=57343){t.push(String.fromCodePoint((r-55296<<10)+(i-56320)+65536)),n+=2;continue}}t.push(String.fromCharCode(r))}return t.join(``)}function Va(e){let t=[];for(let n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join(``)}var Ha,Ua,Wa,Ga=n((()=>{Zt(),Ha=65536,Ua=2e6,Wa=class e{constructor(e,t=0){this.data=e,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.offset=t}u8(){let e=this.view.getUint8(this.offset);return this.offset+=1,e}u16(){let e=this.view.getUint16(this.offset,!1);return this.offset+=2,e}i16(){let e=this.view.getInt16(this.offset,!1);return this.offset+=2,e}u32(){let e=this.view.getUint32(this.offset,!1);return this.offset+=4,e}i32(){let e=this.view.getInt32(this.offset,!1);return this.offset+=4,e}fixed(){return this.i32()/65536}bytes(e){let t=this.data.subarray(this.offset,this.offset+e);return this.offset+=e,t}tag(){return String.fromCharCode(this.u8(),this.u8(),this.u8(),this.u8())}skip(e){this.offset+=e}at(t){return new e(this.data,t)}u16At(e){return this.view.getUint16(e,!1)}u32At(e){return this.view.getUint32(e,!1)}i16At(e){return this.view.getInt16(e,!1)}}}));function Ka(e,t){throw Error(Ya)}function qa(e){return!1}function Ja(e){throw Error(Ya)}var Ya,Xa=n((()=>{Ya=`File system operations are not available in browser environment.`}));function Za(){let e=typeof process<`u`?process.platform:``,t=typeof process<`u`?process.env.HOME??process.env.USERPROFILE??``:``,n=[];switch(e){case`darwin`:n.push(`/System/Library/Fonts`,`/System/Library/Fonts/Supplemental`,`/Library/Fonts`,`${t}/Library/Fonts`);break;case`win32`:{let e=process.env.WINDIR??process.env.SystemRoot??`C:\\Windows`;n.push(`${e}\\Fonts`,`${process.env.LOCALAPPDATA??``}\\Microsoft\\Windows\\Fonts`);break}default:n.push(`/usr/share/fonts`,`/usr/local/share/fonts`,`/usr/share/fonts/truetype`,`/usr/share/fonts/opentype`,`/usr/share/fonts/TTF`,`/usr/share/fonts/noto`,`/usr/share/fonts/noto-cjk`,`/usr/share/fonts/google-noto`,`/usr/share/fonts/google-noto-cjk`,`/usr/share/fonts/truetype/noto`,`/usr/share/fonts/truetype/dejavu`,`/usr/share/fonts/truetype/liberation`,`/usr/share/fonts/truetype/droid`,`/usr/share/fonts/wqy`,`${t}/.local/share/fonts`,`${t}/.fonts`)}return n}function*Qa(){if(no!==void 0){for(let e of no)yield e;return}if(typeof process>`u`||!process.platform)return;let e=new Set,t=Za();for(let n of to)for(let r of t){let t=`${r}/${n}`;if(!e.has(t)&&(e.add(t),qa(t))){let e=eo(t);e&&(yield e)}}let n=/noto|unicode|cjk|yahei|heiti|gothic|sans|serif|ming|song|dejavu|liberation|droid|wqy/i;for(let r of t){let t;try{t=Ka(r,{recursive:!0,filter:e=>!e.isDirectory})}catch{continue}let i=t.filter(t=>/\.tt[cf]$/i.test(t.absolutePath)&&!e.has(t.absolutePath)),a=i.filter(e=>n.test(e.absolutePath)),o=i.filter(e=>!n.test(e.absolutePath)&&e.size>5e4);for(let t of[...a,...o]){if(e.has(t.absolutePath))continue;e.add(t.absolutePath);let n=eo(t.absolutePath);n&&(yield n)}}}function $a(e){if(e.size===0)return null;let t=[...e];for(let e of Qa())try{let n=Ea(e);if(t.every(e=>n.cmap.has(e)))return n}catch{}return null}function eo(e){try{return Ja(e)}catch{return null}}var to,no,ro=n((()=>{Ga(),Xa(),to=`NotoSansCJKsc-Regular.ttf,NotoSansCJK-Regular.ttc,NotoSansCJKSC-Regular.otf,NotoSansSC-Regular.ttf,NotoSansTC-Regular.ttf,NotoSansJP-Regular.ttf,NotoSansKR-Regular.ttf,NotoSans-Regular.ttf,Arial Unicode.ttf,Arial Unicode MS.ttf,ArialUnicode.ttf,arialuni.ttf,PingFang.ttc,Hiragino Sans GB.ttc,STHeiti Light.ttc,STHeiti Medium.ttc,Songti.ttc,AppleSDGothicNeo.ttc,msyh.ttc,msyhbd.ttc,msjh.ttc,simsun.ttc,simhei.ttf,malgun.ttf,meiryo.ttc,yugothic.ttf,segoeui.ttf,arial.ttf,DejaVuSans.ttf,LiberationSans-Regular.ttf,FreeSans.ttf,DroidSansFallbackFull.ttf,DroidSansFallback.ttf,wqy-microhei.ttc,wqy-zenhei.ttc,uming.ttc,NanumGothic.ttf,IPAexGothic.ttf`.split(`,`)})),io,ao,oo=n((()=>{io=1.2,ao=72/96}));function so(e,t=1){return{left:(3+e.borderInsets.left)*t,right:(3+e.borderInsets.right)*t,top:(2+e.borderInsets.top)*t,bottom:(2+e.borderInsets.bottom)*t}}function co(e,t,n,r){let i=new Wt,a=new Set;t.showGridLines&&mo(i,e,t);for(let t of e.cells)t.fillColor&&ho(i,t,a);for(let t of e.cells){if(!t.textOverflowWidth||t.textOverflowWidth<=0)continue;let n=t.rect.x+t.rect.width,r=n+t.textOverflowWidth,a=t.rect.y,o=t.rect.height,s=[];for(let i of e.cells){if(i===t||!i.fillColor||Math.abs(i.rect.y-a)>.01||Math.abs(i.rect.height-o)>.01)continue;let e=i.rect.x,c=e+i.rect.width;c>n&&e<r&&s.push({left:Math.max(e,n),right:Math.min(c,r)})}if(s.length===0)i.fillRect(n,a,t.textOverflowWidth,o,{r:1,g:1,b:1});else{s.sort((e,t)=>e.left-t.left);let e=n;for(let t of s)t.left>e&&i.fillRect(e,a,t.left-e,o,{r:1,g:1,b:1}),e=Math.max(e,t.right);e<r&&i.fillRect(e,a,r-e,o,{r:1,g:1,b:1})}}for(let t of e.cells)vo(i,t);let o=e.scaleFactor;for(let t of e.cells)(t.text||t.richText)&&bo(i,t,n,a,o);let s=lo(e,`header`),c=lo(e,`footer`);return s===void 0?t.showSheetNames&&Wo(i,e,t,n):s&&Bo(i,e,t,n,s,`header`),c===void 0?t.showPageNumbers&&Go(i,e,t,n,r):c&&Bo(i,e,t,n,c,`footer`),{stream:i,alphaValues:a}}function lo(e,t){let n=e.headerFooter;if(!n)return;let r=t===`header`?`Header`:`Footer`;return n.differentFirst&&e.sheetPageIndex===1?n[`first${r}`]??null:n.differentOddEven&&e.sheetPageNumber%2==0?n[`even${r}`]??null:n[`odd${r}`]}function uo(e,t){if(e.text!==void 0)return e.text;switch(e.field){case`pageNumber`:return String(t.sheetPageNumber+(e.offset??0));case`pageCount`:return String(t.sheetPageCount);case`sheetName`:return t.sheetName;case`fileName`:return t.options.sourceFileName;case`filePath`:return t.options.sourceFilePath;case`date`:{let e=t.options.headerFooterDate;return po(e,t.options.headerFooterLocale,`date`)}case`time`:{let e=t.options.headerFooterDate;return po(e,t.options.headerFooterLocale,`time`)}default:return``}}function fo(e,t){return e.fontFamily||t.options.defaultFontFamily}function po(e,t,n){let r=n===`date`?es:ts;try{return new Intl.DateTimeFormat(t,r).format(e)}catch(t){if(!(t instanceof RangeError))throw t;return new Intl.DateTimeFormat(void 0,r).format(e)}}function mo(e,t,n){if(t.columnWidths.length===0||t.rowHeights.length===0)return;let r=n.gridLineColor;e.save(),e.setStrokeColor(r),e.setLineWidth(.25);let i=t.rowYPositions[0],a=t.rowYPositions.length-1,o=t.rowYPositions[a]-t.rowHeights[a];for(let n=0;n<=t.columnWidths.length;n++){let r=n<t.columnWidths.length?t.columnOffsets[n]:t.columnOffsets[n-1]+t.columnWidths[n-1];e.moveTo(r,i),e.lineTo(r,o)}let s=t.columnOffsets[0],c=t.columnOffsets.length-1,l=t.columnOffsets[c]+t.columnWidths[c];for(let n=0;n<=t.rowYPositions.length;n++){let r=n<t.rowYPositions.length?t.rowYPositions[n]:t.rowYPositions[n-1]-t.rowHeights[n-1];e.moveTo(s,r),e.lineTo(l,r)}e.stroke(),e.restore()}function ho(e,t,n){if(!t.fillColor)return;let r=t.fillColor.a;if(r!==void 0&&r<1){let i=Po(r);n.add(r),e.save(),e.setGraphicsState(i),e.fillRect(t.rect.x,t.rect.y,t.rect.width,t.rect.height,t.fillColor),e.restore()}else e.fillRect(t.rect.x,t.rect.y,t.rect.width,t.rect.height,t.fillColor)}function go(e){return typeof e==`number`?e<=90?e:-(e-90):0}function _o(e,t){let n=go(e);if(n===0)return 0;let r=Math.abs(n);if(r<.01||r>89.99)return 0;let i=r*Math.PI/180,a=t*Math.cos(i)/Math.sin(i);return n<0?-a:a}function vo(e,t){let{rect:n,borders:r,textRotation:i}=t,{x:a,y:o,width:s,height:c}=n,l=_o(i,c);r.top&&yo(e,r.top,a+l,o+c,a+s+l,o+c,!0),r.bottom&&yo(e,r.bottom,a,o,a+s,o,!0),r.left&&yo(e,r.left,a,o,a+l,o+c,!1),r.right&&yo(e,r.right,a+s,o,a+s+l,o+c,!1)}function yo(e,t,n,r,i,a,o){if(t.isDouble){let s=.4,c=Math.min(t.width,.25);o?(e.drawLine(n,r+s,i,a+s,t.color,c,t.dashPattern),e.drawLine(n,r-s,i,a-s,t.color,c,t.dashPattern)):(e.drawLine(n+s,r,i+s,a,t.color,c,t.dashPattern),e.drawLine(n-s,r,i-s,a,t.color,c,t.dashPattern))}else e.drawLine(n,r,i,a,t.color,t.width,t.dashPattern)}function bo(e,t,n,r,i=1){let{rect:a,text:o,fontSize:s,horizontalAlign:c,verticalAlign:l,wrapText:u}=t;if(!o&&!t.richText)return;let d=so(t,i),f=a.width-d.left-d.right,p=a.height-d.top-d.bottom;if(f<=0||p<=0)return;let m=t.indent*10*i,h=a.width+(t.textOverflowWidth||0);e.save();let g=_o(t.textRotation,a.height);g===0?e.rect(a.x,a.y,h,a.height):(e.moveTo(a.x,a.y),e.lineTo(a.x+h,a.y),e.lineTo(a.x+h+g,a.y+a.height),e.lineTo(a.x+g,a.y+a.height),e.closePath()),e.clip(),e.endPath();let _=t.textColor.a;if(_!==void 0&&_<1&&(r.add(_),e.setGraphicsState(Po(_))),t.textRotation===`vertical`){No(e,t,n,m,i),e.restore();return}if(typeof t.textRotation==`number`&&t.textRotation!==0){So(e,t,n,m,i),e.restore();return}if(t.richText&&t.richText.length>0){xo(e,t,n,m,i),e.restore();return}let v=n.hasEmbeddedFont(),y=v?n.getEmbeddedResourceName():n.ensureFont(ba(t.fontFamily,t.bold,t.italic)),b=e=>n.measureText(e,y,s),x=f-m,S=u?Ro(o,b,x):o.split(/\r?\n/),C=s*io,w=n.getFontAscent(y,s),ee=Fo(l,a,S.length*C,w,d.top,d.bottom);e.setFillColor(t.textColor);let te=n.hasType3Fonts()&&!v;for(let t=0;t<S.length;t++){let r=S[t],i=ee-t*C;Mo(e,r,Io(c,a,b(r),m,d.left,d.right),i,y,s,n,te)}Lo(e,t,S,C,ee,b,y,n,m,d),e.restore()}function xo(e,t,n,r,i=1){let{rect:a,horizontalAlign:o,verticalAlign:s,wrapText:c}=t,l=t.richText,u=so(t,i),d=t.fontSize;for(let e of l)e.fontSize>d&&(d=e.fontSize);let f=d,p=f*io,m=n.hasEmbeddedFont(),h=e=>m?n.getEmbeddedResourceName():n.ensureFont(ba(e.fontFamily,e.bold,e.italic));if(c){let i=a.width-u.left-u.right-r;if(i<=0)return;let c=l.map(e=>e.text).join(``),d=[];for(let e=0;e<l.length;e++)for(let t=0;t<l[e].text.length;t++)d.push(e);let p=l.map(e=>h(e)),g=zo(c,d,l,p,n,i),_=[];for(let e of g){let n=t.fontSize;for(let t=e.start;t<e.end;t++){let e=d[t]??0;l[e].fontSize>n&&(n=l[e].fontSize)}_.push(n*io)}let v=p[0],y=n.getFontAscent(v,f),b=Fo(s,a,_.reduce((e,t)=>e+t,0),y,u.top,u.bottom),x=0;for(let t=0;t<g.length;t++){let i=b-x;x+=_[t];let{start:s,end:f}=g[t],h=[];for(let e=s;e<f;e++){let t=d[e]??d.length-1,n=h[h.length-1];n&&n.run===l[t]?n.text+=c[e]:h.push({run:l[t],text:c[e],resourceName:p[t]})}let v=0;for(let e of h)v+=n.measureText(e.text,e.resourceName,e.run.fontSize);let y=Io(o,a,v,r,u.left,u.right),S=n.hasType3Fonts()&&!m;for(let t of h){let{run:r,text:a,resourceName:o}=t;e.setFillColor(r.textColor);let s=Mo(e,a,y,i,o,r.fontSize,n,S);if(r.strike){let t=i+n.getFontDescent(o,r.fontSize)+r.fontSize*.3;e.drawLine(y,t,y+s,t,r.textColor,.5)}if(r.underline){let t=i+n.getFontDescent(o,r.fontSize)*.5;e.drawLine(y,t,y+s,t,r.textColor,.5)}y+=s}}return}let g=0,_=[];for(let e of l){let t=h(e),r=n.measureText(e.text,t,e.fontSize);_.push({resourceName:t,width:r}),g+=r}let v=_[0]?.resourceName??`F1`,y=Fo(s,a,p,n.getFontAscent(v,f),u.top,u.bottom),b=Io(o,a,g,r,u.left,u.right),x=n.hasType3Fonts()&&!m;for(let t=0;t<l.length;t++){let r=l[t],{resourceName:i}=_[t];e.setFillColor(r.textColor);let a=Mo(e,r.text,b,y,i,r.fontSize,n,x);if(r.strike){let t=y+n.getFontDescent(i,r.fontSize)+r.fontSize*.3;e.drawLine(b,t,b+a,t,r.textColor,.5)}if(r.underline){let t=y+n.getFontDescent(i,r.fontSize)*.5;e.drawLine(b,t,b+a,t,r.textColor,.5)}b+=a}}function So(e,t,n,r,i=1){let{rect:a,wrapText:o}=t,{fontSize:s}=t,c=so(t,i),l=n.hasEmbeddedFont()?n.getEmbeddedResourceName():n.ensureFont(ba(t.fontFamily,t.bold,t.italic)),u=go(t.textRotation),d=u*Math.PI/180,f=Math.cos(d),p=Math.sin(d),m=Math.abs(p),h=Math.abs(f),g=a.width-c.left-c.right,_=a.height-c.top-c.bottom,v;v=m>.01&&h>.01?Math.min(_/m,g/h):m>.01?_/m:g;let y=e=>n.measureText(e,l,s),b;b=o?Ro(t.text,y,Math.max(v-1,1)):t.text.split(/\r?\n/);let x=s*io,S=b.length*x;if(!o){let e=0;for(let t of b){let n=y(t);n>e&&(e=n)}let t=e*h+S*m,n=e*m+S*h;if(g>0&&_>0&&(t>g||n>_)){let e=Math.min(g/t,_/n);e<1&&(s*=e)}}let C=s*io,w=n.getFontAscent(l,s),ee=Math.abs(u-90)<.01,te=Math.abs(u+90)<.01;e.setFillColor(t.textColor),ee?Co(e,t,b,n,l,s,C,w,c):te?wo(e,t,b,n,l,s,C,w,c):To(e,t,b,n,l,s,C,w,f,p,r)}function Co(e,t,n,r,i,a,o,s,c){let{rect:l,horizontalAlign:u,verticalAlign:d}=t,f=n.length*o,p;p=u===`center`?l.x+l.width/2-f/2+s:u===`right`?l.x+l.width-c.right-f+s:l.x+c.left+s;for(let t=0;t<n.length;t++){let s=n[t],u=r.measureText(s,i,a),f=p+t*o,m;m=d===`top`?l.y+l.height-c.top-u:d===`middle`?l.y+(l.height-u)/2:l.y+c.bottom,m=Math.max(m,l.y+c.bottom),Do(e,r,{text:s,matrix:[0,1,-1,0,f,m],resourceName:i,fontSize:a})}}function wo(e,t,n,r,i,a,o,s,c){let{rect:l,horizontalAlign:u,verticalAlign:d}=t,f=n.length*o,p;p=u===`center`?l.x+l.width/2+f/2-o+s:u===`right`?l.x+l.width-c.right-o+s:l.x+c.left+f-o+s;for(let t=0;t<n.length;t++){let s=n[t],u=r.measureText(s,i,a),f=p-t*o,m;m=d===`top`?l.y+l.height-c.top:d===`middle`?l.y+(l.height+u)/2:l.y+c.bottom+u,m=Math.min(m,l.y+l.height-c.top),Do(e,r,{text:s,matrix:[0,-1,1,0,f,m],resourceName:i,fontSize:a})}}function To(e,t,n,r,i,a,o,s,c,l,u){let{rect:d,horizontalAlign:f,verticalAlign:p}=t,m=so(t),h=0;for(let e of n){let t=r.measureText(e,i,a);t>h&&(h=t)}let g=n.length*o,_=Math.abs(l),v=Math.abs(c),y=h*v+g*_,b=h*_+g*v,x=_o(t.textRotation,d.height)/2,S=f===`left`?u/2:f===`right`?-u/2:0,C;C=p===`top`?d.y+d.height-m.top-b/2:p===`bottom`?d.y+m.bottom+b/2:d.y+d.height/2;let w=d.height>0?(C-d.y)/d.height:.5,ee=x*2*w,te;te=f===`right`?d.x+d.width-m.right-y/2+S+ee:f===`left`?d.x+m.left+y/2+S+ee:d.x+d.width/2+S+ee;for(let t=0;t<n.length;t++){let u=n[t],d=r.measureText(u,i,a),f=(t-(n.length-1)/2)*o,p=-d/2,m=-s/2-f,h=te+p*c-m*l,g=C+p*l+m*c;Do(e,r,{text:u,matrix:[c,l,-l,c,h,g],resourceName:i,fontSize:a})}}function Eo(e,t,n,r){let i=t.encodeText(n,r);i?e.showTextHex(i):e.showText(n)}function Do(e,t,n){let[r,i,a,o,s,c]=n.matrix;e.deferred(()=>Ao(n.text,r,i,a,o,s,c,n.resourceName,n.fontSize,t,n.renderingMode??0))}function Oo(e,t,n){e.deferred(()=>ko(t,n))}function ko(e,t){let{text:n,x:r,y:i,type1ResourceName:a,fontSize:o,anchor:s,maxWidth:c,lineHeightFactor:l,rotation:u}=e,d=t.resolveRenderResourceName(a),f=e=>t.measureText(e,d,o),p=c?Ro(n,f,c):[n],m=o*l,h=u*Math.PI/180,g=u===0?1:Math.cos(h),_=u===0?0:Math.sin(h),v=s===`middle`?.5:+(s===`end`),y=[];for(let e=0;e<p.length;e++){let n=v===0?0:-f(p[e])*v,s=-e*m,c=r+n*g+s*-_,l=i+n*_+s*g;y.push(Ao(p[e],g,_,-_,g,c,l,a,o,t))}return y.join(`
|
|
44
|
-
`)}function
|
|
45
|
-
`,c);if(t===-1&&(t=l),t===c){s.push({start:c,end:c}),c=t+1;continue}let n=t>c&&e[t-1]===`\r`?t-1:t;if(n===c){s.push({start:c,end:c}),c=t+1;continue}let r=e.slice(c,n),i=[],u=[],d=!1;for(let e=0;e<r.length;e++){let t=r[e]===` `||r[e]===` `;!t&&!d?(i.push(e),d=!0):t&&d&&(u.push(e),d=!1)}d&&u.push(r.length);let f=c,p=c;for(let e=0;e<i.length;e++){let t=c+u[e];if(p===f){p=t;continue}o(f,t)<=a?p=t:(s.push({start:f,end:p}),f=c+i[e],p=t)}if((p>f||i.length===0)&&s.push({start:f,end:Math.max(p,f)}),c=t+1,t===l)break}return s.length>0?s:[{start:0,end:0}]}function Bo(e,t,n,r,i,a){let o=t.headerFooter?.alignWithMargins!==!1,s=o?n.margins.left:ns.UNPINNED_EDGE_INSET,c=o?t.width-n.margins.right:t.width-ns.UNPINNED_EDGE_INSET,l=t.width/2,u=a===`header`?t.height-n.headerMargin-Vo(i)*ns.ASCENT_RATIO:n.footerMargin-Vo(i)*ns.DESCENT_RATIO;Ho(e,t,r,i.left,s,u,`left`,a),Ho(e,t,r,i.center,l,u,`center`,a),Ho(e,t,r,i.right,c,u,`right`,a)}function Vo(e){let t=11;for(let n of[e.left,e.center,e.right])for(let e of n)t=Math.max(t,e.fontSize);return t}function Ho(e,t,n,r,i,a,o,s){let c=[[]];for(let e of r.filter(e=>e.field!==`image`)){let n=uo(e,t).split(/\r?\n/);for(let t=0;t<n.length;t++)t>0&&c.push([]),n[t]&&c[c.length-1].push({run:e,text:n[t]})}let l=Math.max(11,Vo({left:r,center:[],right:[]}))*io,u=s===`footer`?a+(c.length-1)*l:a;for(let r=0;r<c.length;r++){let a=Uo(c[r],t,n),s=a.reduce((e,t)=>e+t.width,0),d=o===`center`?i-s/2:o===`right`?i-s:i,f=u-r*l;for(let t of a){let{run:r,text:i,resourceName:a,fontSize:o,width:s}=t,c=r.superscript?o*ns.SUPERSCRIPT_RISE:r.subscript?-o*ns.SUBSCRIPT_DROP:0,l=r.color??{r:0,g:0,b:0};e.save(),e.setFillColor(l),e.setStrokeColor(l),e.setLineWidth(Math.max(.25,o*ns.OUTLINE_WIDTH_RATIO)),r.shadow&&(e.setFillColor(rs),Do(e,n,{text:i,matrix:[1,0,0,1,d+1,f+c-1],resourceName:a,fontSize:o}),e.setFillColor(l)),Do(e,n,{text:i,matrix:[1,0,0,1,d,f+c],resourceName:a,fontSize:o,renderingMode:+!!r.outline});let u=.5,p=f-1;if((r.underline||r.doubleUnderline)&&(e.drawLine(d,p,d+s,p,l,u),r.doubleUnderline&&e.drawLine(d,p-2,d+s,p-2,l,u)),r.strike){let t=f+o*ns.STRIKE_RATIO;e.drawLine(d,t,d+s,t,l,u)}e.restore(),d+=s}}}function Uo(e,t,n){return e.map(({run:e,text:r})=>{let i=n.hasEmbeddedFont()?n.getEmbeddedResourceName():n.ensureFont(ba(fo(e,t),e.bold,e.italic)),a=e.fontSize*(t.headerFooter?.scaleWithDoc===!1?1:t.scaleFactor);return{run:e,text:r,resourceName:i,fontSize:a,width:n.measureText(r,i,a)}})}function Wo(e,t,n,r){let i=t.sheetName,a=r.hasEmbeddedFont()?r.getEmbeddedResourceName():r.ensureFont(ba(n.defaultFontFamily,!0,!1)),o=r.measureText(i,a,10),s=(t.width-o)/2,c=t.height-n.margins.top+5;e.save(),e.setFillColor({r:.3,g:.3,b:.3}),Do(e,r,{text:i,matrix:[1,0,0,1,s,c],resourceName:a,fontSize:10}),e.restore()}function Go(e,t,n,r,i){let a=`Page ${t.pageNumber} of ${i}`,o=r.ensureFont(ba(n.defaultFontFamily,!1,!1)),s=r.measureText(a,o,9),c=(t.width-s)/2,l=Math.max(5,n.margins.bottom-15);e.save(),e.setFillColor({r:.5,g:.5,b:.5}),e.beginText(),e.setFont(o,9),e.setTextMatrix(1,0,0,1,c,l),e.showText(a),e.endText(),e.restore()}function Ko(e,t,n,r){return n.type===`text`?Xo(e,t,qo(n),r):Zo(e,t,Jo(n))}function qo(e){return{...e,opacity:Yo(e.opacity??is.opacity),fontSize:Math.max(1,e.fontSize??is.fontSize),repeatSpacingX:Math.max(os,e.repeatSpacingX??is.repeatSpacingX),repeatSpacingY:Math.max(os,e.repeatSpacingY??is.repeatSpacingY)}}function Jo(e){return{...e,opacity:Yo(e.opacity??as.opacity),scale:Math.max(.01,e.scale??as.scale),width:e.width===void 0?void 0:Math.max(1,e.width),height:e.height===void 0?void 0:Math.max(1,e.height),repeatSpacingX:Math.max(os,e.repeatSpacingX??as.repeatSpacingX),repeatSpacingY:Math.max(os,e.repeatSpacingY??as.repeatSpacingY)}}function Yo(e){return Math.max(0,Math.min(1,e))}function Xo(e,t,n,r){let i=n.fontSize??is.fontSize,a=n.color??is.color,o=n.opacity??is.opacity,s=n.rotation??is.rotation,c=n.fontFamily??is.fontFamily,l=n.bold??is.bold,u=n.italic??is.italic,d=r.hasEmbeddedFont()?r.getEmbeddedResourceName():r.ensureFont(ba(c,l,u)),f=r.measureText(n.text,d,i),p=i*.7,m=s*Math.PI/180,h=Math.cos(m),g=Math.sin(m),_=o<1,v=_?Po(o):``,y=(t,o)=>{let s=f/2,c=p/2,l=t-s*h+c*g,u=o-s*g-c*h;e.save(),_&&e.setGraphicsState(v),e.setFillColor(a),Do(e,r,{text:n.text,matrix:[h,g,-g,h,l,u],resourceName:d,fontSize:i}),e.restore()};if(n.repeat){let e=n.repeatSpacingX??is.repeatSpacingX,r=n.repeatSpacingY??is.repeatSpacingY;$o(t.width,t.height,e,r,y)}else{let{cx:e,cy:r}=Qo(t,n.position);y(e,r)}return{alphaValues:_?[o]:[],imageXObjects:[]}}function Zo(e,t,n){let r=n.opacity??as.opacity,i=n.rotation??as.rotation,a=n.scale??as.scale,o=r<1,s,c;if(n.width!==void 0&&n.height!==void 0)s=n.width,c=n.height;else{let e=Ze(n.data,n.format),r=Math.min(t.width,t.height)*a,i=Math.max(e.width,e.height),o=i>0?r/i:1;s=e.width*o,c=e.height*o}let l=i*Math.PI/180,u=Math.cos(l),d=Math.sin(l),f=o?Po(r):``,p=`WmImg`,m=(t,n)=>{e.save(),o&&e.setGraphicsState(f);let r=s/2,i=c/2,a=t-r*u+i*d,l=n-r*d-i*u;e.concat(s*u,s*d,-c*d,c*u,a,l),e.doXObject(p),e.restore()};if(n.repeat){let e=n.repeatSpacingX??as.repeatSpacingX,r=n.repeatSpacingY??as.repeatSpacingY;$o(t.width,t.height,e,r,m)}else{let{cx:e,cy:r}=Qo(t,n.position);m(e,r)}return{alphaValues:o?[r]:[],imageXObjects:[{name:p,data:n.data,format:n.format}]}}function Qo(e,t){return!t||t===`center`?{cx:e.width/2,cy:e.height/2}:{cx:t.x,cy:t.y}}function $o(e,t,n,r,i){let a=Math.max(e,t)*.5,o=0;for(let s=-a;s<t+a;s+=r){let t=o%2==1?n/2:0;for(let r=-a;r<e+a;r+=n)i(r+t,s);o++}}var es,ts,ns,rs,is,as,os,ss=n((()=>{rt(),Kt(),Ta(),oo(),es={year:`numeric`,month:`numeric`,day:`numeric`},ts={hour:`numeric`,minute:`2-digit`},ns={ASCENT_RATIO:.75,DESCENT_RATIO:.25,SUPERSCRIPT_RISE:.35,SUBSCRIPT_DROP:.2,STRIKE_RATIO:.3,OUTLINE_WIDTH_RATIO:1/30,UNPINNED_EDGE_INSET:18},rs={r:.5,g:.5,b:.5},is={fontSize:54,color:{r:.75,g:.75,b:.75},opacity:.15,rotation:-45,fontFamily:`Helvetica`,bold:!1,italic:!1,repeatSpacingX:200,repeatSpacingY:200},as={opacity:.15,rotation:0,scale:.5,repeatSpacingX:200,repeatSpacingY:200},os=10}));function cs(e){if(!e)return null;let t=e.startsWith(`#`)?e.slice(1):e;t.length===3&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]);let n=255,r,i,a;if(t.length===8)n=parseInt(t.slice(0,2),16),r=t.slice(2,4),i=t.slice(4,6),a=t.slice(6,8);else if(t.length===6)r=t.slice(0,2),i=t.slice(2,4),a=t.slice(4,6);else return null;let o=parseInt(r,16),s=parseInt(i,16),c=parseInt(a,16);if(Number.isNaN(o)||Number.isNaN(s)||Number.isNaN(c)||Number.isNaN(n))return null;let l=n/255;return l<1?{r:o/255,g:s/255,b:c/255,a:l}:{r:o/255,g:s/255,b:c/255}}function ls(e,t){let n=e=>{let n=t<0?e*(1+t):e+(1-e)*t;return Math.max(0,Math.min(1,n))},r={r:n(e.r),g:n(e.g),b:n(e.b)};return e.a!==void 0&&(r.a=e.a),r}var us,ds,fs,ps=n((()=>{us=Object.freeze({dk1:`000000`,lt1:`FFFFFF`,dk2:`44546A`,lt2:`E7E6E6`,accent1:`4472C4`,accent2:`ED7D31`,accent3:`A5A5A5`,accent4:`FFC000`,accent5:`5B9BD5`,accent6:`70AD47`,hlink:`0563C1`,folHlink:`954F72`}),ds=Object.freeze([us.dk1,us.lt1,us.dk2,us.lt2,us.accent1,us.accent2,us.accent3,us.accent4,us.accent5,us.accent6,us.hlink,us.folHlink]),fs=Object.freeze([us.lt1,us.dk1,us.lt2,us.dk2,us.accent1,us.accent2,us.accent3,us.accent4,us.accent5,us.accent6,us.hlink,us.folHlink])})),ms=r({asn1Parse:()=>gs,buildCmsSignedData:()=>ks,buildSignatureDictPlaceholder:()=>js,parseCmsSignedData:()=>Os,signPdf:()=>Ms,verifyPdfSignature:()=>As});function hs(e,t){if(t>=e.length)throw Error(`ASN.1: unexpected end of data`);let n=e[t++],r=e[t++];if(r&128){let n=r&127;r=0;for(let i=0;i<n;i++)r=r<<8|e[t++]}let i=t,a=t+r,o=e.subarray(i,a),s=[];if((n&Us)!==0){let t=i;for(;t<a;){let n=hs(e,t);s.push(n.node),t=n.end}}return{node:{tag:n,bytes:o,children:s},end:a}}function gs(e){return hs(e,0).node}function _s(e){let t=[],n=0;for(;n<e.length;){let r=hs(e,n);t.push(r.node),n=r.end}return t}function vs(e){if(e<128)return new Uint8Array([e]);let t=[],n=e;for(;n>0;)t.unshift(n&255),n>>=8;return new Uint8Array([128|t.length,...t])}function ys(e,t){let n=vs(t.length),r=new Uint8Array(1+n.length+t.length);return r[0]=e,r.set(n,1),r.set(t,1+n.length),r}function bs(...e){let t=0;for(let n of e)t+=n.length;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return ys(Js,n)}function xs(...e){let t=0;for(let n of e)t+=n.length;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return ys(Ys,n)}function Ss(e){let t=e.split(`.`).map(Number),n=[40*t[0]+t[1]];for(let e=2;e<t.length;e++){let r=t[e];if(r<128)n.push(r);else{let e=[];for(e.push(r&127),r>>=7;r>0;)e.push(128|r&127),r>>=7;e.reverse(),n.push(...e)}}return ys(qs,new Uint8Array(n))}function Cs(e){if(e.length>0&&e[0]&128){let t=new Uint8Array(e.length+1);return t.set(e,1),ys(Ws,t)}return ys(Ws,e)}function ws(e){return ys(Gs,e)}function Ts(e,t){return ys(160|e,t)}function Es(e){if(e.length===0)return``;let t=[Math.floor(e[0]/40),e[0]%40],n=0;for(let r=1;r<e.length;r++)n=n<<7|e[r]&127,e[r]&128||(t.push(n),n=0);return t.join(`.`)}function Ds(e){let t=gs(e).children[0];if(!t)throw Error(`Invalid X.509 certificate: missing TBSCertificate`);let n=5;t.children.length>0&&(t.children[0].tag&224)==160&&(n=6);let r=t.children[n];if(!r||r.tag!==Js)throw Error(`Invalid X.509 certificate: missing SubjectPublicKeyInfo`);return ys(r.tag,r.bytes)}function Os(e){let t=gs(e);if(t.tag!==Js||t.children.length<2)throw Error(`Invalid PKCS#7: not a ContentInfo SEQUENCE`);let n=t.children[0],r=Es(n.bytes);if(r!==Xs)throw Error(`Invalid PKCS#7: expected SignedData OID, got ${r}`);let i=t.children[1].children[0];if(!i||i.tag!==Js)throw Error(`Invalid PKCS#7: missing SignedData SEQUENCE`);let a=i.children,o=null;for(let e of a)if((e.tag&240)==160&&!(e.tag&15)){if(e.children.length>0){let t=e.children[0];o=ys(t.tag,t.bytes)}break}if(!o)throw Error(`PKCS#7: no certificate found`);let s=null;for(let e=a.length-1;e>=0;e--)if(a[e].tag===Ys){s=a[e];break}if(!s||s.children.length===0)throw Error(`PKCS#7: no signerInfos found`);let c=s.children[0].children,l=c[2],u=l?Es(l.children[0]?.bytes??new Uint8Array):``,d=new Uint8Array,f=new Uint8Array;for(let e of c)if((e.tag&240)==160&&!(e.tag&15)){d=ys(Ys,e.bytes);let t=_s(e.bytes);for(let e of t)if(!(e.tag!==Js||e.children.length<2)&&Es(e.children[0].bytes)===tc){let t=e.children[1];t.children.length>0&&(f=new Uint8Array(t.children[0].bytes))}break}let p=new Uint8Array;for(let e=c.length-1;e>=0;e--)if(c[e].tag===Gs){p=new Uint8Array(c[e].bytes);break}return{certificate:o,signature:p,digestAlgorithmOid:u,signedAttrsRaw:d,messageDigest:f}}async function ks(e){let{certificate:t,privateKey:n,data:r}=e,i=ht(r),a=Vs(new Date),o=bs(Ss(ec),xs(Ss(Zs))),s=bs(Ss(tc),xs(ws(i))),c=zs(o,bs(Ss(nc),xs(ys(23,new TextEncoder().encode(a)))),s),l=await St(n,ys(Ys,c)),u=ys(160,c),d=gs(t),f=d.children[0],p,m;f.children[0]&&(f.children[0].tag&224)==160?(m=ys(f.children[1].tag,f.children[1].bytes),p=ys(f.children[3].tag,f.children[3].bytes)):(m=ys(f.children[0].tag,f.children[0].bytes),p=ys(f.children[2].tag,f.children[2].bytes));let h=bs(Cs(new Uint8Array([1])),bs(p,m),bs(Ss(Qs),ys(Ks,new Uint8Array)),u,bs(Ss($s),ys(Ks,new Uint8Array)),ws(l)),g=bs(Cs(new Uint8Array([1])),xs(bs(Ss(Qs),ys(Ks,new Uint8Array))),bs(Ss(Zs)),Ts(0,ys(d.tag,d.bytes)),xs(h));return bs(Ss(Xs),Ts(0,g))}async function As(e,t,n){try{let r=Os(Ns(t)),[i,a,o,s]=n,c=e.subarray(i,i+a),l=e.subarray(o,o+s),u=new Uint8Array(a+s);if(u.set(c),u.set(l,a),!Fs(Ls(r.digestAlgorithmOid,u),r.messageDigest))return{valid:!1,coversWholeFile:Is(n,e.length),digestAlgorithm:r.digestAlgorithmOid,reason:`Message digest mismatch — PDF content was modified after signing`};let d=await xt(Ds(r.certificate),r.signature,r.signedAttrsRaw);return{valid:d,coversWholeFile:Is(n,e.length),digestAlgorithm:r.digestAlgorithmOid,reason:d?void 0:`RSA signature verification failed`}}catch(e){return{valid:!1,coversWholeFile:!1,digestAlgorithm:``,reason:`Signature verification error: ${e instanceof Error?e.message:String(e)}`}}}function js(e){let t=`0`.repeat(rc*2),n=`<< /Type /Sig /Filter /Adobe.PPKLite /SubFilter /adbe.pkcs7.detached`;n+=` /Contents <${t}>`,n+=` /ByteRange [0 0000000000 0000000000 0000000000]`,e?.name&&(n+=` /Name (${Bs(e.name)})`),e?.reason&&(n+=` /Reason (${Bs(e.reason)})`),e?.location&&(n+=` /Location (${Bs(e.location)})`),e?.contactInfo&&(n+=` /ContactInfo (${Bs(e.contactInfo)})`);let r=Hs(new Date);return n+=` /M (${r})`,n+=` >>`,{dictString:n,placeholder:t}}async function Ms(e,t,n){let r=new Uint8Array(e),i=Rs(r,`/ByteRange [`);if(i===-1)throw Error(`signPdf: /ByteRange placeholder not found`);let a=Math.max(0,i-2e4),o=Math.min(r.length,i+200),s=-1,c=new TextEncoder().encode(`/Contents <`);for(let e=a;e<o;e++){let t=!0;for(let n=0;n<c.length;n++)if(r[e+n]!==c[n]){t=!1;break}if(t){s=e;break}}if(s===-1)throw Error(`signPdf: /Contents placeholder not found near /ByteRange`);let l=s+11,u=l;for(;u<r.length&&r[u]!==62;)u++;let d=i+12,f=d;for(;f<r.length&&r[f]!==93;)f++;let p=l-1,m=u+1,h=[0,p,m,r.length-m],g=`${h[0]} ${h[1]} ${h[2]} ${h[3]}`.padEnd(f-d,` `);for(let e=0;e<g.length;e++)r[d+e]=g.charCodeAt(e);let _=r.subarray(h[0],h[0]+h[1]),v=r.subarray(h[2],h[2]+h[3]),y=new Uint8Array(h[1]+h[3]);y.set(_),y.set(v,h[1]);let b=Ps(await ks({certificate:t,privateKey:n,data:y})).padEnd(u-l,`0`);for(let e=0;e<b.length&&e<u-l;e++)r[l+e]=b.charCodeAt(e);return r}function Ns(e){let t=e.replace(/\s/g,``),n=new Uint8Array(t.length/2);for(let e=0;e<n.length;e++)n[e]=parseInt(t.substring(e*2,e*2+2),16);return n}function Ps(e){let t=``;for(let n=0;n<e.length;n++)t+=e[n].toString(16).padStart(2,`0`);return t}function Fs(e,t){if(e.length!==t.length)return!1;let n=0;for(let r=0;r<e.length;r++)n|=e[r]^t[r];return n===0}function Is(e,t){return e[0]===0&&e[2]+e[3]===t}function Ls(e,t){switch(e){case`1.3.14.3.2.26`:return bt(`SHA-1`,t);case Qs:return ht(t);case`2.16.840.1.101.3.4.2.2`:return bt(`SHA-384`,t);case`2.16.840.1.101.3.4.2.3`:return bt(`SHA-512`,t);case`1.2.840.113549.2.5`:return _t(t);default:return ht(t)}}function Rs(e,t){let n=new TextEncoder().encode(t);for(let t=0;t<=e.length-n.length;t++){let r=!0;for(let i=0;i<n.length;i++)if(e[t+i]!==n[i]){r=!1;break}if(r)return t}return-1}function zs(...e){let t=0;for(let n of e)t+=n.length;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}function Bs(e){return e.replace(/\\/g,`\\\\`).replace(/\(/g,`\\(`).replace(/\)/g,`\\)`)}function Vs(e){let t=e=>String(e).padStart(2,`0`);return`${String(e.getUTCFullYear()).slice(-2)}${t(e.getUTCMonth()+1)}${t(e.getUTCDate())}${t(e.getUTCHours())}${t(e.getUTCMinutes())}${t(e.getUTCSeconds())}Z`}function Hs(e){let t=e=>String(e).padStart(2,`0`);return`D:${e.getUTCFullYear()}${t(e.getUTCMonth()+1)}${t(e.getUTCDate())}${t(e.getUTCHours())}${t(e.getUTCMinutes())}${t(e.getUTCSeconds())}Z`}var Us,Ws,Gs,Ks,qs,Js,Ys,Xs,Zs,Qs,$s,ec,tc,nc,rc,ic=n((()=>{At(),Us=32,Ws=2,Gs=4,Ks=5,qs=6,Js=48,Ys=49,Xs=`1.2.840.113549.1.7.2`,Zs=`1.2.840.113549.1.7.1`,Qs=`2.16.840.1.101.3.4.2.1`,$s=`1.2.840.113549.1.1.11`,ec=`1.2.840.113549.1.9.3`,tc=`1.2.840.113549.1.9.4`,nc=`1.2.840.113549.1.9.5`,rc=8192}));function ac(e){let t=[],n=e.match(/[a-zA-Z]|[-+]?(?:\d+\.?\d*|\.\d+)(?:[eE][-+]?\d+)?/g);if(!n)return t;let r=0,i=0,a=0,o=0,s=0,c=``,l=0,u=0,d=()=>r>=n.length?0:parseFloat(n[r++]),f=()=>{if(r>=n.length)return!1;let e=n[r].charCodeAt(0);return e===45||e===43||e===46||e>=48&&e<=57};for(;r<n.length;){let e=n[r];switch(/[a-zA-Z]/.test(e)?r++:e=c===`M`?`L`:c===`m`?`l`:c,e){case`M`:for(i=d(),a=d(),t.push({op:`move`,x:i,y:a}),o=i,s=a,c=`M`;f();)i=d(),a=d(),t.push({op:`line`,x:i,y:a});break;case`m`:for(i+=d(),a+=d(),t.push({op:`move`,x:i,y:a}),o=i,s=a,c=`m`;f();)i+=d(),a+=d(),t.push({op:`line`,x:i,y:a});break;case`L`:do i=d(),a=d(),t.push({op:`line`,x:i,y:a});while(f());c=`L`;break;case`l`:do{let e=d(),n=d();i+=e,a+=n,t.push({op:`line`,x:i,y:a})}while(f());c=`l`;break;case`H`:do i=d(),t.push({op:`line`,x:i,y:a});while(f());c=`H`;break;case`h`:do i+=d(),t.push({op:`line`,x:i,y:a});while(f());c=`h`;break;case`V`:do a=d(),t.push({op:`line`,x:i,y:a});while(f());c=`V`;break;case`v`:do a+=d(),t.push({op:`line`,x:i,y:a});while(f());c=`v`;break;case`C`:do{let e=d(),n=d(),r=d(),o=d(),s=d(),c=d();t.push({op:`curve`,x1:e,y1:n,x2:r,y2:o,x3:s,y3:c}),l=r,u=o,i=s,a=c}while(f());c=`C`;break;case`c`:do{let e=i+d(),n=a+d(),r=i+d(),o=a+d(),s=i+d(),c=a+d();t.push({op:`curve`,x1:e,y1:n,x2:r,y2:o,x3:s,y3:c}),l=r,u=o,i=s,a=c}while(f());c=`c`;break;case`S`:do{let e=c===`S`||c===`s`||c===`C`||c===`c`?2*i-l:i,n=c===`S`||c===`s`||c===`C`||c===`c`?2*a-u:a,r=d(),o=d(),s=d(),f=d();t.push({op:`curve`,x1:e,y1:n,x2:r,y2:o,x3:s,y3:f}),l=r,u=o,i=s,a=f,c=`S`}while(f());break;case`s`:do{let e=c===`S`||c===`s`||c===`C`||c===`c`?2*i-l:i,n=c===`S`||c===`s`||c===`C`||c===`c`?2*a-u:a,r=i+d(),o=a+d(),s=i+d(),f=a+d();t.push({op:`curve`,x1:e,y1:n,x2:r,y2:o,x3:s,y3:f}),l=r,u=o,i=s,a=f,c=`s`}while(f());break;case`Q`:do{let e=d(),n=d(),r=d(),o=d(),s=i+2/3*(e-i),c=a+2/3*(n-a),f=r+2/3*(e-r),p=o+2/3*(n-o);t.push({op:`curve`,x1:s,y1:c,x2:f,y2:p,x3:r,y3:o}),l=e,u=n,i=r,a=o}while(f());c=`Q`;break;case`q`:do{let e=i+d(),n=a+d(),r=i+d(),o=a+d(),s=i+2/3*(e-i),c=a+2/3*(n-a),f=r+2/3*(e-r),p=o+2/3*(n-o);t.push({op:`curve`,x1:s,y1:c,x2:f,y2:p,x3:r,y3:o}),l=e,u=n,i=r,a=o}while(f());c=`q`;break;case`T`:do{let e=c===`Q`||c===`q`||c===`T`||c===`t`?2*i-l:i,n=c===`Q`||c===`q`||c===`T`||c===`t`?2*a-u:a,r=d(),o=d(),s=i+2/3*(e-i),f=a+2/3*(n-a),p=r+2/3*(e-r),m=o+2/3*(n-o);t.push({op:`curve`,x1:s,y1:f,x2:p,y2:m,x3:r,y3:o}),l=e,u=n,i=r,a=o,c=`T`}while(f());break;case`t`:do{let e=c===`Q`||c===`q`||c===`T`||c===`t`?2*i-l:i,n=c===`Q`||c===`q`||c===`T`||c===`t`?2*a-u:a,r=i+d(),o=a+d(),s=i+2/3*(e-i),f=a+2/3*(n-a),p=r+2/3*(e-r),m=o+2/3*(n-o);t.push({op:`curve`,x1:s,y1:f,x2:p,y2:m,x3:r,y3:o}),l=e,u=n,i=r,a=o,c=`t`}while(f());break;case`A`:case`a`:{let n=e===`a`;do{let e=Math.abs(d()),r=Math.abs(d()),o=d()*Math.PI/180,s=d()!==0,c=d()!==0,l=n?i+d():d(),u=n?a+d():d();_c(t,i,a,e,r,o,s,c,l,u),i=l,a=u}while(f());c=e;break}case`Z`:case`z`:t.push({op:`close`}),i=o,a=s,c=e;break;default:r++}}return t}function oc(e){let t=sc(/<svg\b([^>]*)>/i.exec(e)?.[1]??``),n=t.viewBox?.split(/[\s,]+/).map(Number)??[],r=dc(t.width,n[2],300),i=dc(t.height,n[3],150),a=[],o=/<(rect|line|circle|polyline|polygon|path)\b([^>]*)\/?>|<text\b([^>]*)>([\s\S]*?)<\/text>/gi,s;for(;(s=o.exec(e))!==null;)s[1]?a.push({name:s[1],attrs:sc(s[2]??``),text:``}):a.push({name:`text`,attrs:sc(s[3]??``),text:s[4]??``});return{width:r,height:i,elements:a}}function sc(e){let t={},n=0,r=e.length;for(;n<r;){for(;n<r&&!cc(e.charCodeAt(n));)n++;if(n>=r)break;let i=n;for(;n<r&&cc(e.charCodeAt(n));)n++;let a=e.slice(i,n);if(n>=r||e.charCodeAt(n)!==61||(n++,n>=r||e.charCodeAt(n)!==34))continue;n++;let o=n;for(;n<r&&e.charCodeAt(n)!==34;)n++;t[a]=e.slice(o,n),n<r&&n++}return t}function cc(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===95||e===58||e===45}function lc(e,t,n){let r=parseFloat(e.attrs[t]??``);return Number.isFinite(r)?r:n}function uc(e,t,n,r){let i=e.attrs[t];if(!i)return r;if(i.trim().endsWith(`%`)){let e=parseFloat(i);return Number.isFinite(e)?n*e/100:r}let a=parseFloat(i);return Number.isFinite(a)?a:r}function dc(e,t,n){if(!e||e.trim().endsWith(`%`))return t||n;let r=parseFloat(e);return Number.isFinite(r)&&r>0?r:t||n}function fc(e){if(!e||e===`none`)return;let t=e.trim(),n=/^rgba?\(([^)]+)\)$/i.exec(t);if(n){let e=n[1].split(/[\s,]+/).filter(Boolean).map(e=>{if(e.endsWith(`%`)){let t=Number.parseFloat(e);return Number.isFinite(t)?t/100:void 0}let t=Number.parseFloat(e);return Number.isFinite(t)?t:void 0});if(e.length<3||e.slice(0,3).some(e=>e===void 0))return;let t=n[1].split(/[\s,]+/).filter(Boolean),r=(e,n)=>t[n]?.endsWith(`%`)?Math.max(0,Math.min(1,e)):Math.max(0,Math.min(1,e/255)),i={r:r(e[0],0),g:r(e[1],1),b:r(e[2],2)};return e.length>=4&&e[3]!==void 0&&(i.a=Math.max(0,Math.min(1,e[3]))),i}return cs(t.startsWith(`#`)?t.slice(1):t)??void 0}function pc(e,t){if(!e||!t)return e;let n=Number.parseFloat(t);if(!Number.isFinite(n))return e;let r=Math.max(0,Math.min(1,n)),i=(e.a??1)*r;return i>=1?e:{...e,a:i}}function mc(e,t){let n=e.trim().split(/[\s,]+/).map(Number).filter(Number.isFinite),r=[];for(let e=0;e+1<n.length;e+=2)r.push(e===0?{op:`move`,x:n[e],y:n[e+1]}:{op:`line`,x:n[e],y:n[e+1]});return t&&r.length>0&&r.push({op:`close`}),r}function hc(e,t,n){return e.op===`move`||e.op===`line`?{...e,x:t(e.x),y:n(e.y)}:e.op===`curve`?{op:`curve`,x1:t(e.x1),y1:n(e.y1),x2:t(e.x2),y2:n(e.y2),x3:t(e.x3),y3:n(e.y3)}:e}function gc(e){return e.replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/&/g,`&`)}function _c(e,t,n,r,i,a,o,s,c,l){if(r===0||i===0){e.push({op:`line`,x:c,y:l});return}if(t===c&&n===l)return;let u=Math.cos(a),d=Math.sin(a),f=(t-c)/2,p=(n-l)/2,m=u*f+d*p,h=-d*f+u*p,g=r*r,_=i*i,v=m*m,y=h*h,b=v/g+y/_;if(b>1){let e=Math.sqrt(b);r*=e,i*=e,g=r*r,_=i*i}let x=(g*_-g*y-_*v)/(g*y+_*v);x<0&&(x=0);let S=Math.sqrt(x);o===s&&(S=-S);let C=S*r*h/i,w=-S*i*m/r,ee=u*C-d*w+(t+c)/2,te=d*C+u*w+(n+l)/2,ne=(e,t,n,r)=>{let i=e*n+t*r,a=Math.sqrt(e*e+t*t)*Math.sqrt(n*n+r*r),o=Math.acos(Math.max(-1,Math.min(1,i/a)));return e*r-t*n<0&&(o=-o),o},re=ne(1,0,(m-C)/r,(h-w)/i),ie=ne((m-C)/r,(h-w)/i,(-m-C)/r,(-h-w)/i);!s&&ie>0&&(ie-=2*Math.PI),s&&ie<0&&(ie+=2*Math.PI);let ae=Math.ceil(Math.abs(ie)/(Math.PI/2)),oe=ie/ae;for(let t=0;t<ae;t++){let n=re+t*oe,a=re+(t+1)*oe,o=4*Math.tan((a-n)/4)/3,s=Math.cos(n),c=Math.sin(n),l=Math.cos(a),f=Math.sin(a),p=r*s,m=i*c,h=r*l,g=i*f,_=p-o*r*c,v=m+o*i*s,y=h+o*r*f,b=g-o*i*l;e.push({op:`curve`,x1:u*_-d*v+ee,y1:d*_+u*v+te,x2:u*y-d*b+ee,y2:d*y+u*b+te,x3:u*h-d*g+ee,y3:d*h+u*g+te})}}var vc,yc,bc,xc,Sc,Cc,wc,Tc=n((()=>{rt(),Rt(),m(),Kt(),an(),xn(),Ta(),ro(),Ga(),ss(),ps(),vc=595.28,yc=841.89,bc=12,xc=1.2,Sc={r:0,g:0,b:0},Cc=class{constructor(e,t,n){this._stream=new Wt,this._images=[],this._annotations=[],this._builderAnnotations=[],this._formFields=[],this._alphaValues=new Set,this._width=e,this._height=t,this._fontManager=n}get width(){return this._width}get height(){return this._height}drawText(e,t){let n=t.fontSize??bc,r=t.color??Sc,i=t.lineHeight??xc,a=t.bold??!1,o=t.italic??!1,s=t.fontFamily??`Helvetica`,c=this._fontManager.resolveFont(s,a,o);return this._fontManager.trackText(e),this._stream.save(),this._applyAlpha(r.a),this._stream.setFillColor(r),Oo(this._stream,{text:e,x:t.x,y:t.y,type1ResourceName:c,fontSize:n,anchor:t.anchor??`start`,maxWidth:t.maxWidth,lineHeightFactor:i,rotation:t.rotation??0},this._fontManager),this._stream.restore(),this}measureText(e,t){let n=t?.fontSize??bc,r=t?.fontFamily??`Helvetica`,i=t?.bold??!1,a=t?.italic??!1,o=this._fontManager.resolveFont(r,i,a);return this._fontManager.measureText(e,o,n)}drawRect(e){return this._stream.save(),e.borderRadius&&e.borderRadius>0?this._stream.roundedRect(e.x,e.y,e.width,e.height,e.borderRadius):this._stream.rect(e.x,e.y,e.width,e.height),this._paintPath(e.fill,e.stroke,e.lineWidth),this._stream.restore(),this}drawCircle(e){return this._stream.save(),this._stream.circle(e.cx,e.cy,e.r),this._paintPath(e.fill,e.stroke,e.lineWidth),this._stream.restore(),this}drawEllipse(e){return this._stream.save(),this._stream.ellipse(e.cx,e.cy,e.rx,e.ry),this._paintPath(e.fill,e.stroke,e.lineWidth),this._stream.restore(),this}drawLine(e){let t=e.color??Sc,n=e.lineWidth??1;return this._stream.save(),this._applyAlpha(t.a),this._stream.setStrokeColor(t),this._stream.setLineWidth(n),e.dashPattern&&e.dashPattern.length>0&&this._stream.setDashPattern(e.dashPattern),this._stream.moveTo(e.x1,e.y1),this._stream.lineTo(e.x2,e.y2),this._stream.stroke(),this._stream.restore(),this}drawPath(e,t){this._stream.save();for(let t of e)switch(t.op){case`move`:this._stream.moveTo(t.x,t.y);break;case`line`:this._stream.lineTo(t.x,t.y);break;case`curve`:this._stream.curveTo(t.x1,t.y1,t.x2,t.y2,t.x3,t.y3);break;case`close`:this._stream.closePath()}return t?.closePath&&this._stream.closePath(),this._paintPath(t?.fill,t?.stroke,t?.lineWidth),this._stream.restore(),this}drawImage(e){this._images.push(e);let t=`Im${this._images.length}`;return this._stream.drawImage(t,e.x,e.y,e.width,e.height),this}addAnnotation(e){let t=[];switch(e.type){case`Highlight`:case`Underline`:case`StrikeOut`:case`Squiggly`:{let n=e.color??(e.type===`Highlight`?{r:1,g:1,b:0}:{r:1,g:0,b:0});t.push([`C`,`[${s(n.r)} ${s(n.g)} ${s(n.b)}]`]),e.contents&&t.push([`Contents`,i(e.contents)]),e.author&&t.push([`T`,i(e.author)]);let r=e.quadPoints??[e.rect[0],e.rect[1],e.rect[2],e.rect[1],e.rect[0],e.rect[3],e.rect[2],e.rect[3]];t.push([`QuadPoints`,`[${r.map(e=>s(e)).join(` `)}]`]);break}case`Text`:{let n=e.color??{r:1,g:1,b:0};t.push([`C`,`[${s(n.r)} ${s(n.g)} ${s(n.b)}]`]),e.contents&&t.push([`Contents`,i(e.contents)]),e.author&&t.push([`T`,i(e.author)]),t.push([`Name`,`/${e.iconName??`Note`}`]),e.open&&t.push([`Open`,`true`]);break}case`FreeText`:{let n=e.fontSize??12,r=e.color??Sc;if(t.push([`Contents`,i(e.contents)]),t.push([`DA`,i(`/Helv ${s(n)} Tf ${s(r.r)} ${s(r.g)} ${s(r.b)} rg`)]),e.borderColor){let n=e.borderColor;t.push([`C`,`[${s(n.r)} ${s(n.g)} ${s(n.b)}]`])}e.author&&t.push([`T`,i(e.author)]);break}case`Stamp`:if(t.push([`Name`,`/${e.stampName??`Draft`}`]),e.color){let n=e.color;t.push([`C`,`[${s(n.r)} ${s(n.g)} ${s(n.b)}]`])}e.contents&&t.push([`Contents`,i(e.contents)]),e.author&&t.push([`T`,i(e.author)])}return this._builderAnnotations.push({subtype:e.type,rect:e.rect,entries:t}),this}addFormField(e){return this._formFields.push({options:e}),this}drawSvgPath(e,t){let n=ac(e);return this.drawPath(n,t)}drawSvg(e){let t=oc(e.svg),n=(e.width??t.width)/t.width,r=(e.height??t.height)/t.height,i=t=>e.x+t*n,a=n=>e.y+(e.height??t.height)-n*r,o=e=>pc(pc(e.fill?fc(e.fill):void 0,e[`fill-opacity`]),e.opacity),s=e=>pc(pc(e.stroke?fc(e.stroke):void 0,e[`stroke-opacity`]),e.opacity);for(let e of t.elements)if(e.name===`rect`){let c=uc(e,`width`,t.width,0),l=uc(e,`height`,t.height,0);this.drawRect({x:i(uc(e,`x`,t.width,0)),y:a(uc(e,`y`,t.height,0)+l),width:c*n,height:l*r,fill:o(e.attrs),stroke:s(e.attrs)})}else if(e.name===`line`)this.drawLine({x1:i(lc(e,`x1`,0)),y1:a(lc(e,`y1`,0)),x2:i(lc(e,`x2`,0)),y2:a(lc(e,`y2`,0)),color:s(e.attrs)});else if(e.name===`circle`)this.drawCircle({cx:i(lc(e,`cx`,0)),cy:a(lc(e,`cy`,0)),r:lc(e,`r`,0)*Math.max(n,r),fill:o(e.attrs),stroke:s(e.attrs)});else if(e.name===`polyline`||e.name===`polygon`){let t=mc(e.attrs.points??``,e.name===`polygon`).map(e=>hc(e,i,a)),n=s(e.attrs)??(e.name===`polyline`?Sc:void 0);this.drawPath(t,{fill:e.name===`polygon`?o(e.attrs):void 0,stroke:n,closePath:e.name===`polygon`})}else if(e.name===`path`&&e.attrs.d){let t=ac(e.attrs.d).map(e=>hc(e,i,a)),n=o(e.attrs),r=s(e.attrs);if(!n&&!r)continue;this.drawPath(t,{fill:n,stroke:r})}else e.name===`text`&&this.drawText(gc(e.text),{x:i(lc(e,`x`,0)),y:a(lc(e,`y`,0)),fontSize:lc(e,`font-size`,12)*Math.max(n,r),color:o(e.attrs)});return this}getContentStream(){return this._stream}_paintPath(e,t,n){let r=e!==void 0,i=t!==void 0;r&&this._applyAlpha(e.a),i&&this._applyAlpha(t.a),r&&this._stream.setFillColor(e),i&&(this._stream.setStrokeColor(t),this._stream.setLineWidth(n??1)),r&&i?this._stream.fillAndStroke():r?this._stream.fill():i?this._stream.stroke():(this._stream.setStrokeColor(Sc),this._stream.setLineWidth(1),this._stream.stroke())}_applyAlpha(e){if(e===void 0||e>=1)return;let t=Math.max(0,Math.min(1,e));this._alphaValues.add(t),this._stream.setGraphicsState(Po(t))}},wc=class{constructor(){this._pages=[],this._bookmarks=[],this._fontManager=new wa,this._metadata={},this._embeddedFont=null,this._pdfA=!1,this._signatureOptions=null,this._disableFontAutoDiscovery=!1}addPage(e){let t=e?.width??vc,n=e?.height??yc,r=new Cc(t,n,this._fontManager);return this._pages.push(r),r}setMetadata(e){return this._metadata=e,this}setEncryption(e){return this._encryption=e,this}embedFont(e){return this._embeddedFont=e,this}onWarning(e){return this._onWarning=e,this}disableFontAutoDiscovery(){return this._disableFontAutoDiscovery=!0,this}_warn(e){this._onWarning?.(e)}setPdfACompliance(e){return this._pdfA=!0,this}sign(e){return this._signatureOptions=e,this}addBookmark(e,t,n){let r={title:e,pageIndex:t,children:[]};if(n!==void 0){if(n<0||n>=this._bookmarks.length)throw RangeError(`Bookmark parent index ${n} is out of range (0..${this._bookmarks.length-1})`);this._bookmarks[n].children.push(r)}else this._bookmarks.push(r);return this}generateTableOfContents(e){let t=e?.title??`Table of Contents`,n=e?.fontSize??bc,r=e?.indent??20,i=this.addPage(),a=i,o=n+6,s=i._width-72-72,c=i._height-72;i.drawText(t,{x:72,y:c,fontSize:o,bold:!0}),c-=o*1.8,i.drawLine({x1:72,y1:c+n*.4,x2:i._width-72,y2:c+n*.4,color:{r:.6,g:.6,b:.6},lineWidth:.5}),c-=n*.6;let l=[],u=(e,t)=>{for(let n of e)l.push({title:n.title,pageIndex:n.pageIndex,depth:t}),u(n.children,t+1)};u(this._bookmarks,0);let d=n*1.6;for(let e of l){c<72&&(i=this.addPage(),c=i._height-72);let t=72+e.depth*r,a=String(e.pageIndex+1),o=i.measureText(e.title,{fontSize:n}),l=i.measureText(a,{fontSize:n}),u=i.measureText(`.`,{fontSize:n});i.drawText(e.title,{x:t,y:c,fontSize:n});let f=72+s-l;i.drawText(a,{x:f,y:c,fontSize:n});let p=t+o+u,m=f-u;if(m>p&&u>0){let e=u*2,t=p,r=[];for(;t+u<=m;)r.push(`.`),t+=e;r.length>0&&i.drawText(r.join(` `),{x:p,y:c,fontSize:n,color:{r:.6,g:.6,b:.6}})}let h=c-n*.3;i._annotations.push({rect:[t,h,72+s,h+n*1.2],destPageIndex:e.pageIndex}),c-=d}return a}get pages(){return this._pages}async build(){let e=new rn;if(this._pdfA&&e.setVersion(`1.4`),this._embeddedFont){let e=Ea(this._embeddedFont);this._fontManager.registerEmbeddedFont(e)}else{let e=this._fontManager.getType3CodePoints();if(e.size>0){if(!this._disableFontAutoDiscovery){let t=$a(e);t&&(this._fontManager.registerEmbeddedFont(t),this._warn(`Auto-embedded system font '${t.familyName}' to render ${e.size} non-WinAnsi character(s). Call embedFont(bytes) explicitly for deterministic output.`))}if(!this._fontManager.hasEmbeddedFont()){let t=[...e].slice(0,5).map(e=>`U+${e.toString(16).toUpperCase().padStart(4,`0`)}`).join(`, `);this._warn(`${e.size} non-WinAnsi character(s) present but no TrueType font is embedded and no system font candidate covered them (e.g. ${t}). Call embedFont(bytes) with a font that covers these code points; otherwise Type3 NOTDEF boxes will render.`)}}}if(!this._fontManager.hasEmbeddedFont()){let e=this._fontManager.getUnknownFontFamilies();if(e.size>0){let t=[...e].slice(0,5).join(`, `),n=e.size>5?` (and ${e.size-5} more)`:``;this._warn(`Font family ${e.size>1?`names`:`name`} '${t}'${n} not recognised; falling back to Helvetica metrics. Add the typeface to the font-family map or call embedFont(bytes).`)}}let t=await this._fontManager.writeFontResources(e),n=this._fontManager.buildFontDictString(t),r=[],a=e.allocObject();for(let t=0;t<this._pages.length;t++)r.push(e.allocObject());let o=[],c=[],u=[];for(let t=0;t<this._pages.length;t++){let i=this._pages[t],d=new Map;for(let t=0;t<i._images.length;t++){let n=i._images[t],r=`Im${t+1}`,a=this._writeImageXObject(e,n);d.set(r,a)}let f=``;d.size>0&&(f=`<< ${[...d.entries()].map(([e,t])=>`/${e} ${l(t)}`).join(` `)} >>`);let m=e.allocObject(),h=new p;e.addStreamObject(m,h,i._stream),o.push(m);let g=e.allocObject(),_=`<< `;if(n&&(_+=`/Font ${n} `),f&&(_+=`/XObject ${f} `),i._alphaValues.size>0){let t=[`<<`];for(let n of i._alphaValues){let r=e.allocObject(),i=new p().set(`Type`,`/ExtGState`).set(`ca`,s(n)).set(`CA`,s(n));e.addObject(r,i),t.push(`/${Po(n)} ${l(r)}`)}t.push(`>>`),_+=`/ExtGState ${t.join(`
|
|
46
|
-
`)} `}_+=`>>`,e.addObject(g,_),c.push(g);let v=[];for(let t of i._annotations){let n=r[t.destPageIndex];if(n===void 0)continue;let i=e.allocObject(),a=`[${s(t.rect[0])} ${s(t.rect[1])} ${s(t.rect[2])} ${s(t.rect[3])}]`,o=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Link`).set(`Rect`,a).set(`Border`,`[0 0 0]`).set(`Dest`,`[${l(n)} /Fit]`);e.addObject(i,o),v.push(i)}for(let t of i._builderAnnotations){let n=e.allocObject(),r=`[${s(t.rect[0])} ${s(t.rect[1])} ${s(t.rect[2])} ${s(t.rect[3])}]`,i=new p().set(`Type`,`/Annot`).set(`Subtype`,`/${t.subtype}`).set(`Rect`,r).set(`F`,`4`);for(let[e,n]of t.entries)i.set(e,n);e.addObject(n,i),v.push(n)}for(let n of i._formFields){let{fieldRefs:i,annotRefs:a}=this._writeFormFieldAnnotation(e,n.options,r[t]);v.push(...a),u.push(...i)}let y=r[t],b=`[0 0 ${s(i._width)} ${s(i._height)}]`,x=new p().set(`Type`,`/Page`).set(`Parent`,l(a)).set(`MediaBox`,b).set(`Contents`,l(m)).set(`Resources`,l(g));v.length>0&&x.set(`Annots`,`[`+v.map(e=>l(e)).join(` `)+`]`),e.addObject(y,x)}if(r.length===0){let t=e.allocObject();e.addStreamObject(t,new p,new Uint8Array);let n=e.allocObject();e.addObject(n,`<< >>`);let i=e.allocObject(),o=new p().set(`Type`,`/Page`).set(`Parent`,l(a)).set(`MediaBox`,`[0 0 ${s(vc)} ${s(yc)}]`).set(`Contents`,l(t)).set(`Resources`,l(n));e.addObject(i,o),r.push(i)}let d=r.map(e=>l(e)).join(` `);e.addObject(a,new p().set(`Type`,`/Pages`).set(`Kids`,`[${d}]`).set(`Count`,String(r.length)));let f;this._bookmarks.length>0&&(f=this._buildOutlines(e,r));let m=[];if(this._pdfA){let t=vn(e,this._metadata);m.push([`Metadata`,l(t)]);let n=yn(e);m.push([`OutputIntents`,`[${l(n)}]`]),m.push([`MarkInfo`,`<< /Marked true >>`])}if(u.length>0||this._signatureOptions||e.addCatalog(a,{outlinesRef:f,extraEntries:m.length>0?m:void 0}),u.length>0&&!this._signatureOptions){let t=e.allocObject(),n=new p().set(`Type`,`/Catalog`).set(`Pages`,l(a));f&&(n.set(`Outlines`,l(f)),n.set(`PageMode`,`/UseOutlines`));for(let[e,t]of m)n.set(e,t);let r=`<< /Fields [${u.map(e=>l(e)).join(` `)}] /NeedAppearances true /DR << /Font << /Helv << /Type /Font /Subtype /Type1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> >> >> /DA (/Helv 0 Tf 0 g) >>`;n.set(`AcroForm`,r),e.addObject(t,n),e.setCatalog(t)}if((this._metadata.title||this._metadata.author||this._metadata.subject||this._metadata.creator)&&e.addInfoDict(this._metadata),this._encryption){let t=Pt(this._encryption);e.setEncryption(t)}if(this._signatureOptions){let{buildSignatureDictPlaceholder:t,signPdf:n}=await Promise.resolve().then(()=>(ic(),ms)),{dictString:r}=t({name:this._signatureOptions.name,reason:this._signatureOptions.reason,location:this._signatureOptions.location,contactInfo:this._signatureOptions.contactInfo}),o=e.allocObject();e.addObject(o,r);let s=e.allocObject(),c=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Widget`).set(`FT`,`/Sig`).set(`Rect`,`[0 0 0 0]`).set(`T`,i(`Signature1`)).set(`V`,l(o)).set(`F`,`4`);e.addObject(s,c);let d=e.allocObject(),h=new p().set(`Type`,`/Catalog`).set(`Pages`,l(a));f&&(h.set(`Outlines`,l(f)),h.set(`PageMode`,`/UseOutlines`));for(let[e,t]of m)h.set(e,t);let g=[...u,s].map(e=>l(e)).join(` `),_=u.length>0,v=[`/Fields [${g}]`,`/SigFlags 3`];return _&&(v.push(`/NeedAppearances true`),v.push(`/DR << /Font << /Helv << /Type /Font /Subtype /Type1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> >> >>`),v.push(`/DA (/Helv 0 Tf 0 g)`)),h.set(`AcroForm`,`<< ${v.join(` `)} >>`),e.addObject(d,h),e.setCatalog(d),n(e.build(),this._signatureOptions.certificate,this._signatureOptions.privateKey)}return e.build()}_writeImageXObject(e,t){return et(e,t.data,t.format)}_buildOutlines(e,t){let n=e.allocObject(),r=[],a=(t,n,i)=>{for(let o of t){let t=e.allocObject();r.push({node:o,objNum:t,parentObjNum:n,depth:i}),a(o.children,t,i+1)}};a(this._bookmarks,n,0);let o=new Map;for(let e of r){let t=o.get(e.parentObjNum);t?t.push(e):o.set(e.parentObjNum,[e])}let s=e=>{let t=1;for(let n of e.children)t+=s(n);return t};for(let n of r){let{node:r,objNum:a,parentObjNum:c}=n,u=t[r.pageIndex];if(u===void 0)continue;let d=new p().set(`Title`,i(r.title)).set(`Parent`,l(c)).set(`Dest`,`[${l(u)} /Fit]`),f=o.get(c)??[],m=f.indexOf(n);m>0&&d.set(`Prev`,l(f[m-1].objNum)),m<f.length-1&&d.set(`Next`,l(f[m+1].objNum));let h=o.get(a);if(h&&h.length>0){d.set(`First`,l(h[0].objNum)),d.set(`Last`,l(h[h.length-1].objNum));let e=r.children.reduce((e,t)=>e+s(t),0);d.set(`Count`,String(-e))}e.addObject(a,d)}let c=o.get(n)??[],u=this._bookmarks.length,d=new p().set(`Type`,`/Outlines`).set(`Count`,String(u));return c.length>0&&(d.set(`First`,l(c[0].objNum)),d.set(`Last`,l(c[c.length-1].objNum))),e.addObject(n,d),n}_writeFormFieldAnnotation(e,t,n){let r=[],a=[];if(t.type===`radio`){let n=e.allocObject(),o=[],c=32768;c|=16384,t.readOnly&&(c|=1),t.required&&(c|=2);for(let r of t.buttons){let i=e.allocObject(),a=`[${r.rect.map(e=>s(e)).join(` `)}]`,c=t.selected===r.value?`/${r.value}`:`/Off`,u=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Widget`).set(`Rect`,a).set(`Parent`,l(n)).set(`AS`,c).set(`AP`,`<< /N << /${r.value} null /Off null >> >>`);e.addObject(i,u),o.push(i)}let u=new p().set(`FT`,`/Btn`).set(`T`,i(t.name)).set(`Ff`,String(c)).set(`Kids`,`[${o.map(e=>l(e)).join(` `)}]`);return t.selected&&u.set(`V`,`/${t.selected}`),e.addObject(n,u),r.push(n),a.push(...o),{fieldRefs:r,annotRefs:a}}let o=e.allocObject(),c=t.rect,u=`[${s(c[0])} ${s(c[1])} ${s(c[2])} ${s(c[3])}]`,d=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Widget`).set(`Rect`,u).set(`T`,i(t.name)).set(`P`,l(n)),f=0;switch(t.readOnly&&(f|=1),t.required&&(f|=2),t.type){case`text`:d.set(`FT`,`/Tx`),t.multiline&&(f|=4096),t.password&&(f|=8192),t.maxLength!==void 0&&d.set(`MaxLen`,String(t.maxLength)),t.value&&d.set(`V`,i(t.value)),d.set(`DA`,i(`/Helv 12 Tf 0 g`));break;case`checkbox`:{d.set(`FT`,`/Btn`);let e=t.checked??!1;d.set(`V`,e?`/Yes`:`/Off`),d.set(`AS`,e?`/Yes`:`/Off`);break}case`dropdown`:{d.set(`FT`,`/Ch`),f|=1<<17,t.editable&&(f|=1<<18);let e=t.options.map(e=>i(e)).join(` `);d.set(`Opt`,`[${e}]`),t.value&&d.set(`V`,i(t.value)),d.set(`DA`,i(`/Helv 12 Tf 0 g`));break}}return f!==0&&d.set(`Ff`,String(f)),e.addObject(o,d),r.push(o),a.push(o),{fieldRefs:r,annotRefs:a}}}}));function Ec(e,t,n){let r=t=>{t?.a!==void 0&&t.a<1&&(n.add(t.a),e.setGraphicsState(Po(t.a)))},i=t=>{let{fill:i,stroke:a,lineWidth:o}=t;if(i&&(e.setFillColor(i),r(i)),a){e.setStrokeColor(a);let t=a.a!==void 0&&a.a<1,s=i?.a!==void 0&&i.a<1;t?r(a):s&&(n.add(1),e.setGraphicsState(Po(1))),o!==void 0&&e.setLineWidth(o)}i&&a?e.fillAndStroke():i?e.fill():a?e.stroke():e.endPath()};return{drawRect(t){let{x:n,y:r,width:a,height:o,fill:s,stroke:c,lineWidth:l}=t;return e.save(),e.rect(n,r,a,o),i({fill:s,stroke:c,lineWidth:l}),e.restore(),this},drawLine(t){let{x1:n,y1:i,x2:a,y2:o,color:s,lineWidth:c,dashPattern:l}=t;return e.save(),s&&(e.setStrokeColor(s),r(s)),c!==void 0&&e.setLineWidth(c),l&&l.length>0&&e.setDashPattern(l),e.moveTo(n,i).lineTo(a,o).stroke(),e.restore(),this},drawText(n,i){if(!n)return this;let a=i.fontSize??10,o=i.color??{r:0,g:0,b:0},s=i.bold??!1,c=i.italic??!1,l=i.fontFamily??`Helvetica`,u=i.anchor??`start`,d=i.rotation??0;t.trackText(n);let f=Dc(t,l,s,c);return e.save(),e.setFillColor(o),r(o),Oo(e,{text:n,x:i.x,y:i.y,type1ResourceName:f,fontSize:a,anchor:u,lineHeightFactor:1,rotation:-d},t),e.restore(),this},drawCircle(t){let{cx:n,cy:r,r:a,fill:o,stroke:s,lineWidth:c}=t;return e.save(),e.circle(n,r,a),i({fill:o,stroke:s,lineWidth:c}),e.restore(),this},drawPath(t,n){e.save();for(let n of t)switch(n.op){case`move`:e.moveTo(n.x,n.y);break;case`line`:e.lineTo(n.x,n.y);break;case`curve`:e.curveTo(n.x1,n.y1,n.x2,n.y2,n.x3,n.y3);break;case`close`:e.closePath()}return n?.closePath&&e.closePath(),n?.dashPattern&&n.dashPattern.length>0&&e.setDashPattern(n.dashPattern),i({fill:n?.fill,stroke:n?.stroke,lineWidth:n?.lineWidth}),e.restore(),this}}}function Dc(e,t,n,r){return e.hasEmbeddedFont()?e.getEmbeddedResourceName():e.ensureFont(ba(t,n,r))}var Oc=n((()=>{Ta(),ss()}));function kc(e){return!e||e.length<6?null:cs(e)}function Ac(e){if(!e)return null;if(e.argb)return kc(e.argb);if(e.theme!==void 0){let t=jc(e.theme);if(!t)return null;let n=e.tint;return n!==void 0&&n!==0?Nc(t,n):t}return e.indexed===void 0?null:Mc(e.indexed)}function jc(e){return e>=0&&e<fs.length?cs(fs[e]):null}function Mc(e){return e===64?{r:0,g:0,b:0}:e===65?{r:1,g:1,b:1}:e>=0&&e<Hc.length?kc(Hc[e])??null:null}function Nc(e,t){return ls(e,t)}function Pc(e,t,n){return{fontFamily:e?.name??t,fontSize:e?.size??n,bold:e?.bold??!1,italic:e?.italic??!1,strike:e?.strike??!1,underline:!!(e?.underline&&e.underline!==`none`),textColor:Ac(e?.color)??Uc.black}}function Fc(e){if(!e)return null;if(e.type===`pattern`){if(e.pattern===`solid`&&e.fgColor)return Ac(e.fgColor);if(e.pattern===`none`)return null;if(e.fgColor)return Ac(e.fgColor)}return e.type===`gradient`&&e.stops&&e.stops.length>0?Ac(e.stops[0].color):null}function Ic(e){switch(e){case`hair`:return .1;case`thin`:return .25;case`medium`:return .5;case`thick`:return 1;case`double`:return .25;case`dotted`:return .25;case`dashed`:return .25;case`dashDot`:return .25;case`dashDotDot`:return .25;case`slantDashDot`:return .25;case`mediumDashed`:return .5;case`mediumDashDot`:return .5;case`mediumDashDotDot`:return .5;default:return .25}}function Lc(e){switch(e){case`dotted`:return[1,1];case`dashed`:case`mediumDashed`:return[3,2];case`dashDot`:case`mediumDashDot`:return[3,1,1,1];case`dashDotDot`:case`mediumDashDotDot`:return[3,1,1,1,1,1];case`slantDashDot`:return[4,2,1,2];case`hair`:return[.5,.5];default:return[]}}function Rc(e){return!e||!e.style?null:{width:Ic(e.style),color:Ac(e.color)??Uc.black,dashPattern:Lc(e.style),isDouble:e.style===`double`}}function zc(e){return e?{top:Rc(e.top),right:Rc(e.right),bottom:Rc(e.bottom),left:Rc(e.left)}:{top:null,right:null,bottom:null,left:null}}function Bc(e){if(!e?.horizontal)return`left`;switch(e.horizontal){case`center`:case`centerContinuous`:return`center`;case`right`:return`right`;default:return`left`}}function Vc(e){if(!e?.vertical)return`bottom`;switch(e.vertical){case`top`:return`top`;case`middle`:return`middle`;default:return`bottom`}}var Hc,Uc,Wc=n((()=>{ps(),Hc=`000000.FFFFFF.FF0000.00FF00.0000FF.FFFF00.FF00FF.00FFFF.000000.FFFFFF.FF0000.00FF00.0000FF.FFFF00.FF00FF.00FFFF.800000.008000.000080.808000.800080.008080.C0C0C0.808080.9999FF.993366.FFFFCC.CCFFFF.660066.FF8080.0066CC.CCCCFF.000080.FF00FF.FFFF00.00FFFF.800080.800000.008080.0000FF.00CCFF.CCFFFF.CCFFCC.FFFF99.99CCFF.FF99CC.CC99FF.FFCC99.3366FF.33CCCC.99CC00.FFCC00.FF9900.FF6600.666699.969696.003366.339966.003300.333300.993300.993366.333399.333333`.split(`.`),Uc={black:{r:0,g:0,b:0},white:{r:1,g:1,b:1},gridLine:{r:.816,g:.816,b:.816}}}));function Gc(e){return e.kind===`chartsheet`}var Kc,qc,Jc=n((()=>{Kc={Empty:0,String:1,Number:2,Boolean:3,Date:4,RichText:5,Error:6,Formula:7,Hyperlink:8,Merge:9},qc={A3:{width:841.89,height:1190.55},A4:{width:595.28,height:841.89},A5:{width:419.53,height:595.28},LETTER:{width:612,height:792},LEGAL:{width:612,height:1008},TABLOID:{width:792,height:1224}}}));function Yc(e){return e/20}function Xc(e){return e/rl}function Zc(e){return e/il}function Qc(e){return 2*Math.ceil(e/4)+1}function $c(e,t){if(t<=0||e===0)return 0;let n=Qc(t);return e<1?Math.round(e*(t+n)):Math.round(e*t)+n}var el,tl,nl,rl,il,al=n((()=>{el=1440,tl=el/2.54,tl/10,nl=914400,rl=12700,il=9525,6*nl,Math.round(3.5*nl),4*nl}));function ol(){return typeof process<`u`&&!!process.versions?.node}var sl=n((()=>{}));function cl(e){if(ol())return Buffer.from(e,`base64`);let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}function ll(e,t){return 25569+e.getTime()/864e5-(t?1462:0)}function ul(e,t){let n=Math.round((e-25569+(t?1462:0))*24*3600*1e3);return new Date(n)}function dl(e){let t=[],n=``,r=!1,i=!1;for(let a=0;a<e.length;a++){let o=e[a];o===`"`&&!i?(r=!r,n+=o):o===`[`&&!r?(i=!0,n+=o):o===`]`&&!r?(i=!1,n+=o):o===`;`&&!r&&!i?(t.push(n),n=``):n+=o}return t.push(n),t}function fl(){return new Promise(e=>setTimeout(e,0))}var pl=n((()=>{sl(),new TextDecoder(`utf-8`)}));function ml(e,t,n){if(e?.horizontal&&e.horizontal!==`general`)return Bc(e);if(t!==void 0)switch(t){case Kc.Number:case Kc.Date:return`right`;case Kc.Boolean:case Kc.Error:return`center`;case Kc.Formula:return typeof n==`number`||n instanceof Date?`right`:typeof n==`boolean`?`center`:`left`;default:return`left`}return`left`}async function hl(e,t,n){let r=_l(e,t,n);if(!r)return[yl(e,t)];let i=[],a=r.rowPages.length*r.colGroups.length;for(let o of r.rowPages)for(let s of r.colGroups)i.push(vl(r,o,s,i.length,e,t,n)),i.length<a&&await fl();i.length>0&&e.images&&Ll(e.images,i,r.scaleFactor),i.length>0&&e.charts&&Rl(e.charts,i,r.scaleFactor);let o=e.pageSetup?.firstPageNumber??1;for(let e=0;e<i.length;e++)i[e].sheetPageNumber=o+e,i[e].sheetPageIndex=e+1,i[e].sheetPageCount=i.length;return i}function gl(e,t){let n=e.orientation??t.orientation,r={...t,orientation:n},i=r.pageSize.width,a=r.pageSize.height;r.orientation===`landscape`&&([i,a]=[a,i]);let o=r.margins,s=r.showSheetNames?20:0,c=r.showPageNumbers?20:0,l=o.left,u=o.bottom+c,d=i-o.left-o.right,f=a-o.top-o.bottom-s-c,p={rect:{x:l,y:u,width:Math.max(0,d),height:Math.max(0,f)},drawVector:e.chart.drawVector,raster:e.chart.raster};return[{pageNumber:1,sheetPageNumber:e.pageSetup?.firstPageNumber??1,sheetPageIndex:1,sheetPageCount:1,firstPageNumber:e.pageSetup?.firstPageNumber,options:r,cells:[],width:i,height:a,sheetName:e.name,sheetCols:[],columnOffsets:[],columnWidths:[],sheetRows:[],rowYPositions:[],rowHeights:[],images:[],charts:[p],scaleFactor:1,headerFooter:r.includeHeadersFooters?e.headerFooter:void 0}]}function _l(e,t,n){let{margins:r}=t,i=t.pageSize.width,a=t.pageSize.height;t.orientation===`landscape`&&([i,a]=[a,i]);let o=i-r.left-r.right,s=a-r.top-r.bottom,c=t.showSheetNames?20:0,l=Sl(e,t),{columnWidths:u,visibleCols:d}=Cl(e,l);if(d.length===0)return null;let f=u.reduce((e,t)=>e+t,0),p=t.scale;if(t.fitToPage&&f>0){let e=o/f;e<1&&(p*=e)}let m=u.map(e=>e*p),h=t.showPageNumbers?20:0,g=s-c-h,{rowHeights:_,visibleRows:v}=wl(e,p,l,n,t),y=Al(e),b=jl(_,g,typeof t.repeatRows==`number`?t.repeatRows:0,kl(e,v)),x=Ml(m,o,e,d);return{pageWidth:i,pageHeight:a,contentWidth:o,headerHeight:c,scaleFactor:p,scaledColumnWidths:m,rowHeights:_,visibleRows:v,visibleCols:d,mergeMap:y,rowPages:b,colGroups:x,margins:r}}function vl(e,t,n,r,i,a,o){let{scaledColumnWidths:s,rowHeights:c,visibleRows:l,visibleCols:u,mergeMap:d,pageWidth:f,pageHeight:p,contentWidth:m,headerHeight:h,scaleFactor:g,margins:_}=e,v=[],y=n.map(e=>s[e]),b=y.reduce((e,t)=>e+t,0),x=[],S=_.left;b<m&&(S=_.left+(m-b)/2);for(let e of y)x.push(S),S+=e;let C=[],w=[],ee=p-_.top-h;for(let e of t){let t=c[e]??Ul*g;C.push(ee),w.push(t),ee-=t}let te=new Map;for(let e=0;e<t.length;e++){let r=t[e],s=l[r];for(let t=0;t<n.length;t++){let c=u[n[t]],f=`${s}:${c}`,p=d.get(f);if(p&&!p.isMaster)continue;let m=i.rows.get(s)?.cells.get(c),h=1,_=1;if(p&&p.isMaster){let e=c+p.colSpan-1;h=0;for(let r=t;r<n.length&&u[n[r]]<=e;r++)h++;let i=s+p.rowSpan-1;_=0;for(let e=r;e<l.length&&l[e]<=i;e++)_++;h=Math.max(h,1),_=Math.max(_,1)}let b=x[t],S=C[e],ee=0;for(let e=0;e<h&&t+e<y.length;e++)ee+=y[t+e];let ne=0;for(let t=0;t<_&&e+t<w.length;t++)ne+=w[e+t];let re=S-ne;v.push(Nl(m,b,re,ee,ne,h,_,a,o,g));let ie=v[v.length-1];p?.isMaster&&zl(ie,p,s,c,i),te.set(`${e}:${t}`,ie)}}return Fl(te,t.length,n.length),Bl(te,t,n,l,u,y,d,o),{pageNumber:r+1,sheetPageNumber:r+1,sheetPageIndex:r+1,sheetPageCount:1,firstPageNumber:i.pageSetup?.firstPageNumber,options:a,cells:v,width:f,height:p,sheetName:i.name,sheetCols:n.map(e=>u[e]),columnOffsets:x,columnWidths:y,sheetRows:t.map(e=>l[e]),rowYPositions:C,rowHeights:w,images:[],charts:[],scaleFactor:g,headerFooter:a.includeHeadersFooters?i.headerFooter:void 0}}function yl(e,t){let n=t.pageSize.width,r=t.pageSize.height;return t.orientation===`landscape`&&([n,r]=[r,n]),{pageNumber:1,sheetPageNumber:e.pageSetup?.firstPageNumber??1,sheetPageIndex:1,sheetPageCount:1,firstPageNumber:e.pageSetup?.firstPageNumber,options:t,cells:[],width:n,height:r,sheetName:e.name,sheetCols:[],columnOffsets:[],columnWidths:[],sheetRows:[],rowYPositions:[],rowHeights:[],images:[],charts:[],scaleFactor:1,headerFooter:t.includeHeadersFooters?e.headerFooter:void 0}}function bl(e){let t=e.replace(/\$/g,``).toUpperCase(),n=0,r=0;for(;r<t.length&&t.charCodeAt(r)>=65&&t.charCodeAt(r)<=90;)n=n*26+(t.charCodeAt(r)-64),r++;let i=parseInt(t.substring(r),10);return{c:n-1,r:i-1}}function xl(e){let t=e.indexOf(`:`);if(t===-1){let t=bl(e);return{s:t,e:{...t}}}return{s:bl(e.slice(0,t)),e:bl(e.slice(t+1))}}function Sl(e,t){if(t.ignorePrintArea)return null;let n=e.pageSetup?.printArea;if(!n||typeof n!=`string`)return null;let r=n.split(`&&`)[0].trim();if(!r)return null;try{let e=xl(r);return{startRow:e.s.r+1,endRow:e.e.r+1,startCol:e.s.c+1,endCol:e.e.c+1}}catch{return null}}function Cl(e,t){let n=e.bounds;if(!(n.top>0&&n.left>0))return{columnWidths:[],visibleCols:[]};let r=t?.startCol??n.left,i=t?.endCol??n.right,a=[],o=[];for(let t=r;t<=i;t++){let n=e.columns.get(t);if(n?.hidden)continue;let r=$c(n?.width??Hl,7),i=Math.max(r*ao,Wl);a.push(i),o.push(t)}return{columnWidths:a,visibleCols:o}}function wl(e,t,n,r,i){let a=e.bounds;if(a.top<=0)return{rowHeights:[],visibleRows:[]};let o=n?.startRow??a.top,s=n?.endRow??a.bottom,c=[],l=[];for(let n=o;n<=s;n++){let a=e.rows.get(n);if(a?.hidden)continue;let o;o=a?.height&&a.customHeight?a.height:a?.height?Math.max(a.height,Tl(a,t,e,r,i)):Tl(a,t,e,r,i),c.push(o*t),l.push(n)}return{rowHeights:c,visibleRows:l}}function Tl(e,t,n,r,i){let a=Ul;if(e)for(let o of e.cells.values()){let e=El(o),s=Dl(o,e,t,n,r,i),c=e*io,l=o.style?.border?.top?.style?Ic(o.style.border.top.style)/2:0,u=o.style?.border?.bottom?.style?Ic(o.style.border.bottom.style)/2:0,d=e+(s-1)*c+(2+l+u)*2;d>a&&(a=d)}return a}function El(e){let t=e.style?.font?.size??11;if(e.type===Kc.RichText){let n=e.value;if(n&&typeof n==`object`&&`richText`in n){let e=n.richText;for(let n of e){let e=n.font?.size??t;e>t&&(t=e)}}}return t}function Dl(e,t,n,r,i,a){let o=typeof e.text==`string`?e.text:String(e.text??``),s=Math.max(1,(o.match(/\n/g)??[]).length+1);if(!e.style?.alignment?.wrapText||o.length===0)return s;let c=$c(r.columns.get(e.col)?.width??Hl,7)*ao*n,l=e.style.alignment.indent??0,u=e.style?.border?.left?.style?Ic(e.style.border.left.style)/2:0,d=e.style?.border?.right?.style?Ic(e.style.border.right.style)/2:0,f=3+u+(3+d)+l*10,p=Math.max(c-f,1);if(e.type===Kc.RichText){let t=e.value;if(t&&typeof t==`object`&&`richText`in t){let r=t.richText;if(r.length>0){let t=Ol(o,r,n,p,i,a,e.style?.font);return Math.max(s,t)}}}let m=t*n,h=Pc(e.style.font,a.defaultFontFamily,a.defaultFontSize),g=ba(h.fontFamily,h.bold,h.italic),_=i.hasEmbeddedFont()?i.getEmbeddedResourceName():i.ensureFont(g),v=Ro(o,e=>i.measureText(e,_,m),p);return Math.max(s,v.length)}function Ol(e,t,n,r,i,a,o){let s=o?.name??a.defaultFontFamily,c=o?.size??a.defaultFontSize,l=[];for(let e=0;e<t.length;e++)for(let n=0;n<t[e].text.length;n++)l.push(e);let u=t.map(e=>{let t=Pc(e.font?{name:e.font.name??o?.name,size:e.font.size??o?.size,bold:e.font.bold??!1,italic:e.font.italic??!1,strike:e.font.strike??!1,underline:e.font.underline??void 0,color:e.font.color??o?.color}:o,s,c),n=ba(t.fontFamily,t.bold,t.italic);return i.hasEmbeddedFont()?i.getEmbeddedResourceName():i.ensureFont(n)}),d=t.map(e=>Pc(e.font?{name:e.font.name??o?.name,size:e.font.size??o?.size,bold:e.font.bold??!1,italic:e.font.italic??!1}:o,s,c).fontSize*n),f=(t,n)=>{let r=0,a=t,o=l[t]??0;for(let s=t+1;s<=n;s++){let t=s<n?l[s]??o:-1;if(t!==o){let n=e.slice(a,s);r+=i.measureText(n,u[o],d[o]),a=s,o=t}}return r},p=0,m=0,h=e.length;for(;m<=h;){let t=e.indexOf(`
|
|
47
|
-
`,m);t===-1&&(t=h);let n=t>m&&e[t-1]===`\r`?t-1:t;if(n===m){if(p++,m=t+1,t===h)break;continue}let i=e.slice(m,n),a=[],o=[],s=!1;for(let e=0;e<i.length;e++){let t=i[e]===` `||i[e]===` `;!t&&!s?(a.push(e),s=!0):t&&s&&(o.push(e),s=!1)}s&&o.push(i.length);let c=m,l=m,u=0;for(let e=0;e<a.length;e++){let t=m+o[e];if(l===c){l=t;continue}f(c,t)<=r?l=t:(u++,c=m+a[e],l=t)}if((l>c||a.length===0)&&u++,p+=u,m=t+1,t===h)break}return Math.max(1,p)}function kl(e,t){let n=new Set,r=e.rowBreaks??[];if(r.length===0)return n;let i=new Map;for(let e=0;e<t.length;e++)i.set(t[e],e);for(let e of r){let t=i.get(e);t!==void 0&&n.add(t+1)}return n}function Al(e){let t=new Map,n=e.merges;if(!n||n.length===0)return t;for(let e of n){let n=xl(e),r=n.s.r+1,i=n.s.c+1,a=n.e.r+1,o=n.e.c+1,s=a-r+1,c=o-i+1;for(let e=r;e<=a;e++)for(let n=i;n<=o;n++)t.set(`${e}:${n}`,{isMaster:e===r&&n===i,rowSpan:s,colSpan:c})}return t}function jl(e,t,n,r){if(e.length===0)return[[]];let i=[],a=[],o=0,s=!0,c=0,l=()=>{c=0;for(let r=0;r<n&&r<e.length&&!(o+e[r]>t&&a.length>0);r++)a.push(r),o+=e[r],c++};for(let u=0;u<e.length;u++){let d=e[u],f=t;for(;;){let e=r.has(u)&&a.length>0;if((e||o+d>f)&&a.length>0){if(!e&&!s&&a.length>0&&a.length===c){a=[],o=0,c=0;continue}i.push(a),a=[],o=0,c=0,s=!1,l();continue}if(!s&&u<n&&a.includes(u))break;a.push(u),o+=d;break}}return a.length>0&&i.push(a),i.length>0?i:[[]]}function Ml(e,t,n,r){if(e.length===0)return[[]];let i=new Set,a=n.colBreaks??[];if(a.length>0){let e=new Map;for(let t=0;t<r.length;t++)e.set(r[t],t);for(let t of a){let n=e.get(t);n!==void 0&&i.add(n+1)}}let o=[],s=[],c=0;for(let n=0;n<e.length;n++){let r=e[n];(i.has(n)&&s.length>0||c+r>t+.01)&&s.length>0&&(o.push(s),s=[],c=0),s.push(n),c+=r}return s.length>0&&o.push(s),o.length>0?o:[Array.from({length:e.length},(e,t)=>t)]}function Nl(e,t,n,r,i,a,o,s,c,l){let u=e?.text??``,d=e?.style??{},f=Pc(d.font,s.defaultFontFamily,s.defaultFontSize),p=f.fontSize*l;if(c.hasEmbeddedFont())c.trackText(u);else{let e=ba(f.fontFamily,f.bold,f.italic);c.ensureFont(e),c.trackText(u)}let m=Vl(e,s,c,l,d.font),h=zc(d.border);return{text:u,rect:{x:t,y:n,width:r,height:i},fontFamily:f.fontFamily,fontSize:p,bold:f.bold,italic:f.italic,strike:f.strike,underline:f.underline,textColor:f.textColor,fillColor:Fc(d.fill),horizontalAlign:ml(d.alignment,e?.type,e?.result),verticalAlign:Vc(d.alignment),wrapText:d.alignment?.wrapText??!1,borders:h,borderInsets:{top:(h.top?.width??0)/2,right:(h.right?.width??0)/2,bottom:(h.bottom?.width??0)/2,left:(h.left?.width??0)/2},colSpan:a,rowSpan:o,hyperlink:e?.hyperlink??null,richText:m,indent:d.alignment?.indent??0,textRotation:d.alignment?.textRotation===255?`vertical`:d.alignment?.textRotation??0,textOverflowWidth:0}}function Pl(e){let t=e.width*1e3;e.dashPattern.length===0&&(t+=100),e.isDouble&&(t+=50);let n=e.color.r+e.color.g+e.color.b;return t+=(3-n)*10,t}function Fl(e,t,n){for(let r=0;r<t;r++)for(let t=0;t<n;t++){let n=e.get(`${r}:${t}`);if(n){if(n.borders.right){let i=e.get(`${r}:${t+1}`);if(i?.borders.left){let e=Pl(n.borders.right);Pl(i.borders.left)>e?(n.borderInsets.right=i.borders.left.width/2,n.borders.right=null):(i.borderInsets.left=n.borders.right.width/2,i.borders.left=null)}}if(n.borders.bottom){let i=e.get(`${r+1}:${t}`);if(i?.borders.top){let e=Pl(n.borders.bottom);Pl(i.borders.top)>e?(n.borderInsets.bottom=i.borders.top.width/2,n.borders.bottom=null):(i.borderInsets.top=n.borders.bottom.width/2,i.borders.top=null)}}}}}function Il(e,t,n){let r=e.tl,i=(r.nativeCol??r.col??0)+1,a=(r.nativeRow??r.row??0)+1,o=t.find(e=>e.sheetCols.includes(i)&&e.sheetRows.includes(a));if(!o)return null;let s=o.sheetCols.indexOf(i),c=o.sheetRows.indexOf(a),l=o.columnOffsets[s]??o.options.margins.left,u=o.rowYPositions[c]??o.height-o.options.margins.top-(o.options.showSheetNames?20:0),d=(Xc(r.nativeColOff??0)||0)*n,f=(Xc(r.nativeRowOff??0)||0)*n,p=l+d,m=u-f,h=100,g=100,_=e.extUnit??`px`;if(e.ext)_===`emu`?(h=Zc(e.ext.width)*n,g=Zc(e.ext.height)*n):(h=e.ext.width*.75*n,g=e.ext.height*.75*n);else if(e.br){let t=e.br,r=(t.nativeCol??t.col??0)+1,s=(t.nativeRow??t.row??0)+1,d=o.sheetCols.indexOf(r),f=o.sheetRows.indexOf(s),_,v;if(d>=0)_=o.columnOffsets[d];else{let e=o.sheetCols.length-1,t=o.sheetCols[e]??i,n=e>=0?o.columnOffsets[e]+(o.columnWidths[e]??0):l;if(r<=t)_=n;else{let e=o.columnWidths.length>0?o.columnWidths.reduce((e,t)=>e+t,0)/o.columnWidths.length:48;_=n+(r-t)*e}}if(f>=0)v=o.rowYPositions[f];else{let e=o.sheetRows.length-1,t=o.sheetRows[e]??a;if(s<=t){let t=0;for(let n=c;n<=e&&!(o.sheetRows[n]>=s);n++)t+=o.rowHeights[n]??0;v=u-t}else{let r=0;for(let t=c;t<=e;t++)r+=o.rowHeights[t]??0;let i=s-t-1;r+=15*n*i,v=u-r}}let y=((t.nativeColOff??0)/12700||0)*n,b=((t.nativeRowOff??0)/12700||0)*n,x=_+y,S=v-b;h=x-p,g=m-S}let v=o.width-o.options.margins.right,y=o.options.margins.bottom,b=Math.min(Math.abs(h),Math.max(0,v-p)),x=Math.abs(g),S=Math.max(0,m-y);return x>0&&S<x*.5?null:{page:o,x:p,y:m-x,width:b,height:x}}function Ll(e,t,n){for(let r of e){let e=Il(r.range,t,n);e&&e.page.images.push({data:r.data,format:r.format,rect:{x:e.x,y:e.y,width:e.width,height:e.height}})}}function Rl(e,t,n){for(let r of e){let e=Il(r.range,t,n);if(e){e.page.charts.push({rect:{x:e.x,y:e.y,width:e.width,height:e.height},drawVector:r.drawVector,raster:r.raster});continue}let i=r.range.tl,a=(i.nativeRow??i.row??0)+1,o;for(let e=0;e<t.length;e++){let n=t[e],r=n.sheetRows[n.sheetRows.length-1]??0;if(r>=a-1&&e+1<t.length){o=t[e+1];break}if(r>=a){o=n;break}}if(o||=t[t.length-1],o){let e=o.options.margins,t=o.options.showSheetNames?20:0,n=e.left,i=e.bottom,a=o.width-e.left-e.right,s=o.height-e.top-e.bottom-t;o.charts.push({rect:{x:n,y:i,width:a,height:s},drawVector:r.drawVector,raster:r.raster})}}}function zl(e,t,n,r,i){if(t.colSpan>1){let a=r+t.colSpan-1,o=i.rows.get(n)?.cells.get(a);if(o?.style?.border?.right){let t=zc({right:o.style.border.right});t.right&&(e.borders.right=t.right,e.borderInsets.right=t.right.width/2)}}if(t.rowSpan>1){let a=n+t.rowSpan-1,o=i.rows.get(a)?.cells.get(r);if(o?.style?.border?.bottom){let t=zc({bottom:o.style.border.bottom});t.bottom&&(e.borders.bottom=t.bottom,e.borderInsets.bottom=t.bottom.width/2)}}}function Bl(e,t,n,r,i,a,o,s){for(let c=0;c<t.length;c++)for(let l=0;l<n.length;l++){let u=e.get(`${c}:${l}`);if(!u||u.wrapText||u.colSpan>1||!u.text&&!u.richText||typeof u.textRotation==`number`&&u.textRotation!==0||u.textRotation===`vertical`)continue;let d;if(u.richText){d=0;let e=s.hasEmbeddedFont();for(let t of u.richText){let n=e?s.getEmbeddedResourceName():s.ensureFont(ba(t.fontFamily,t.bold,t.italic));d+=s.measureText(t.text,n,t.fontSize)}}else{let e=s.hasEmbeddedFont()?s.getEmbeddedResourceName():s.ensureFont(ba(u.fontFamily,u.bold,u.italic));d=s.measureText(u.text,e,u.fontSize)}let f=u.rect.width-(3+u.borderInsets.left)-(3+u.borderInsets.right);if(d<=f)continue;let p=d-f,m=0;for(let s=l+1;s<n.length;s++){let l=r[t[c]],u=i[n[s]];if(o.has(`${l}:${u}`))break;let d=e.get(`${c}:${s}`);if(d?.text||d?.richText||(m+=a[s],m>=p))break}if(m>0){u.textOverflowWidth=Math.min(p,m);let t=0,r=u.textOverflowWidth;u.borders.right=null;for(let i=l+1;i<n.length;i++){let n=e.get(`${c}:${i}`);if(!n||(n.borders.left=null,t+=a[i],t>=r))break;n.borders.right=null}}}}function Vl(e,t,n,r,i){if(!e||e.type!==Kc.RichText)return null;let a=e.value;if(!a||typeof a!=`object`||!(`richText`in a))return null;let o=a.richText;if(o.length===0)return null;let s=i?.name??t.defaultFontFamily,c=i?.size??t.defaultFontSize;return o.map(e=>{let t=Pc(e.font?{name:e.font.name??i?.name,size:e.font.size??i?.size,bold:e.font.bold??!1,italic:e.font.italic??!1,strike:e.font.strike??!1,underline:e.font.underline??void 0,color:e.font.color??i?.color}:i,s,c);if(n.hasEmbeddedFont())n.trackText(e.text);else{let e=ba(t.fontFamily,t.bold,t.italic);n.ensureFont(e)}return{text:e.text,fontFamily:t.fontFamily,fontSize:t.fontSize*r,bold:t.bold,italic:t.italic,strike:t.strike,underline:t.underline,textColor:t.textColor}})}var Hl,Ul,Wl,Gl=n((()=>{Ta(),oo(),ss(),Wc(),Jc(),al(),pl(),Hl=8.43,Ul=15,Wl=3}));async function Kl(e,t){let n=t?.headerFooter,r={...t,headerFooter:{...n,fileName:n?.fileName??e.sourceFileName,filePath:n?.filePath??e.sourceFilePath,locale:n?.locale??e.locale,date:n?.date??new Date}},i=ql(e,r);for(let e of i.sheets)await Jl(i,e,r);return Yl(i,e,r)}function ql(e,t){let n=cu(e,t?.sheets);if(n.length===0)throw new Jt(`No sheets to export. The workbook is empty or no sheets matched.`);let r=new wa,i=new rn,a=t?.font??null;if(a||Ql(r,mu(n)),a)try{let e=Ea(a);r.registerEmbeddedFont(e)}catch(e){if(t?.font)throw new Yt(`Failed to parse TrueType font`,{cause:e})}return{sheets:n,fontManager:r,writer:i,allPages:[]}}async function Jl(e,t,n){try{let r=lu(n,t),i=Gc(t)?gl(t,r):await hl(t,r,e.fontManager);e.allPages.push(...i)}catch(e){throw new Yt(`Failed to layout sheet "${t.name}"`,{cause:e})}}async function Yl(e,t,n){let{allPages:r,fontManager:i,writer:a,sheets:o}=e,s=lu(n,o[0]);$l(r,s,o);for(let e of mu(o))i.trackText(String.fromCodePoint(e));eu(r),tu(r,i);let c=Xl(r,i),l=s.watermark;if(l&&l.type===`text`){let e=l.fontFamily??`Helvetica`,t=l.bold??!1,n=l.italic??!1;i.trackText(l.text),i.hasEmbeddedFont()||i.ensureFont(ba(e,t,n))}Zl(i);let{pageObjNums:u,sheetFirstPage:d,pagesTreeObjNum:f}=await nu(r,i,a,await i.writeFontResources(a),c,l);return su(a,u,f,d,s,t,n)}function Xl(e,t){let n=new WeakMap;for(let r of e)for(let e of r.charts){if(!e.drawVector)continue;let r=new Wt,i=new Set,a=Ec(r,t,i);e.drawVector(a,gu(e.rect)),n.set(e,{stream:r,alphaValues:i})}return n}function Zl(e){if(e.hasEmbeddedFont())return;let t=e.getType3CodePoints();t.size!==0&&Ql(e,t)}function Ql(e,t){let n=$a(t);n&&e.registerEmbeddedFont(n)}function $l(e,t,n){e.length===0&&e.push({pageNumber:1,sheetPageNumber:1,sheetPageIndex:1,sheetPageCount:1,firstPageNumber:void 0,options:t,cells:[],width:t.pageSize.width,height:t.pageSize.height,sheetName:n[0]?.name??`Sheet1`,sheetCols:[],columnOffsets:[],columnWidths:[],sheetRows:[],rowYPositions:[],rowHeights:[],images:[],charts:[],scaleFactor:1})}function eu(e){let t=1;for(let n=0;n<e.length;n++){let r=e[n];r.pageNumber=n+1,r.sheetPageIndex===1&&r.firstPageNumber!==void 0&&(t=r.firstPageNumber),r.sheetPageNumber=t++,r.sheetPageCount=e.length}}function tu(e,t){if(t.hasEmbeddedFont())for(let n of e)n.options.showSheetNames&&t.trackText(n.sheetName);for(let n of e)n.options.showPageNumbers&&t.ensureFont(ba(n.options.defaultFontFamily,!1,!1));if(!t.hasEmbeddedFont())for(let n of e)n.options.showSheetNames&&t.ensureFont(ba(n.options.defaultFontFamily,!0,!1));for(let n of e)for(let e of[lo(n,`header`),lo(n,`footer`)])if(e)for(let r of[e.left,e.center,e.right])for(let e of r){if(e.field===`image`)continue;let r=uo(e,n);t.trackText(r),t.hasEmbeddedFont()||t.ensureFont(ba(e.fontFamily||n.options.defaultFontFamily,e.bold,e.italic))}}async function nu(e,t,n,r,i,a){let o=[],s=n.allocObject(),c=new Map,l=e.length,u=new WeakMap;for(let d=0;d<e.length;d++)ru(e[d],t,n,r,i,u,l,o,s,c,a),d<e.length-1&&await fl();return{pageObjNums:o,sheetFirstPage:c,pagesTreeObjNum:s}}function ru(e,t,n,r,i,a,o,c,u,d,f){try{let{stream:m,alphaValues:h}=co(e,e.options,t,o),g=new Map,_,v=lo(e,`header`),y=lo(e,`footer`),b=e.headerFooter?.images??[],x=new Set([...au(v,`H`),...au(y,`F`)]);if(b.length>0&&x.size>0){let t=new Wt,r=e.headerFooter?.alignWithMargins!==!1,i=r?e.options.margins.left:18,o=r?e.width-e.options.margins.right:e.width-18;for(let r=0;r<b.length;r++){let s=b[r];if(!x.has(s.position))continue;let c=`HfIm${r+1}`;g.set(c,iu(n,a,s.data,s.format));let l=ou(s.position),u=l.section===`left`?i:l.section===`right`?o-s.width:(e.width-s.width)/2,d=l.kind===`header`?e.height-e.options.headerMargin-s.height:e.options.footerMargin;t.drawImage(c,u,d,s.width,s.height)}_=n.allocObject(),n.addStreamObject(_,new p,t)}if(e.images.length>0)for(let t=0;t<e.images.length;t++){let r=e.images[t],i=`Im${t+1}`,o=iu(n,a,r.data,r.format);g.set(i,o),m.drawImage(i,r.rect.x,r.rect.y,r.rect.width,r.rect.height)}if(e.charts.length>0){let t=e.images.length;for(let r of e.charts){if(r.drawVector){let e=i.get(r);if(!e)throw new Yt(`Vector chart was not prepared before font resources`);m.append(e.stream);for(let t of e.alphaValues)h.add(t);continue}if(r.raster){let e=`Im${++t}`,i=iu(n,a,r.raster.data,r.raster.format);g.set(e,i),m.drawImage(e,r.rect.x,r.rect.y,r.rect.width,r.rect.height)}}}let S;if(f&&pu(f,e)){let r=new Wt,i=Ko(r,e,f,t);for(let e of i.alphaValues)h.add(e);for(let e of i.imageXObjects){let t=iu(n,a,e.data,e.format);g.set(e.name,t)}S=n.allocObject(),n.addStreamObject(S,new p,r)}let C=n.allocObject();n.addStreamObject(C,new p,m);let w;if(S||_){let e=f?.placement??`under`,t=[_,S].filter(e=>e!==void 0).map(l);if(e===`over`){let e=S?` ${l(S)}`:``;w=`[${_?`${l(_)} `:``}${l(C)}${e}]`}else w=`[${t.join(` `)} ${l(C)}]`}else w=l(C);let ee=n.allocObject(),te=t.buildFontDictString(r),ne=new p().set(`Font`,te);if(g.size>0){let e=[`<<`];for(let[t,n]of g)e.push(`/${t} ${l(n)}`);e.push(`>>`),ne.set(`XObject`,e.join(`
|
|
48
|
-
`))}if(h.size>0){let e=[`<<`];for(let t of h){let r=n.allocObject(),i=new p().set(`Type`,`/ExtGState`).set(`ca`,s(t)).set(`CA`,s(t));n.addObject(r,i),e.push(`/${Po(t)} ${l(r)}`)}e.push(`>>`),ne.set(`ExtGState`,e.join(`
|
|
49
|
-
`))}n.addObject(ee,ne);let re=[];for(let t of e.cells)if(t.hyperlink){let e=n.allocObject(),r=`[${s(t.rect.x)} ${s(t.rect.y)} ${s(t.rect.x+t.rect.width)} ${s(t.rect.y+t.rect.height)}]`,i=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Link`).set(`Rect`,r).set(`Border`,`[0 0 0]`).set(`A`,`<< /Type /Action /S /URI /URI (${t.hyperlink.replace(/[()\\]/g,`\\$&`)}) >>`);n.addObject(e,i),re.push(e)}let ie=n.addPage({parentRef:u,width:e.width,height:e.height,contentsRef:w,resourcesRef:ee,annotRefs:re.length>0?re:void 0});c.push(ie),d.has(e.sheetName)||d.set(e.sheetName,c.length-1)}catch(t){throw new Yt(`Failed to render page ${e.pageNumber} of "${e.sheetName}"`,{cause:t})}}function iu(e,t,n,r){let i=t.get(n);if(i!==void 0)return i;let a=et(e,n,r);return t.set(n,a),a}function au(e,t){if(!e)return[];let n=[];for(let r of[`left`,`center`,`right`])e[r].some(e=>e.field===`image`)&&n.push(`${r===`left`?`L`:r===`right`?`R`:`C`}${t}`);return n}function ou(e){return{section:e[0]===`L`?`left`:e[0]===`R`?`right`:`center`,kind:e[1]===`H`?`header`:`footer`}}function su(e,t,n,r,i,a,o){let s=`[`+t.map(e=>l(e)).join(` `)+`]`,c=new p().set(`Type`,`/Pages`).set(`Kids`,s).set(`Count`,String(t.length));e.addObject(n,c);let u;if(r.size>1&&(u=fu(e,r,t)),e.addCatalog(n,u),e.addInfoDict({title:i.title||a.title||void 0,author:i.author||a.creator||void 0,subject:i.subject||a.subject||void 0,creator:i.creator}),o?.encryption){let t=Pt(o.encryption);e.setEncryption(t)}return e.build()}function cu(e,t){let n=e.sheets;if(!t||t.length===0)return n.filter(e=>e.state!==`hidden`&&e.state!==`veryHidden`);let r=[];for(let e of t)if(typeof e==`string`){let t=n.find(t=>t.name.toLowerCase()===e.toLowerCase());t&&r.push(t)}else if(typeof e==`number`){let t=n[e-1];t&&r.push(t)}return r}function lu(e,t){let n=t?.pageSetup,r=uu(e?.pageSize,n?.paperSize),i=t&&Gc(t)?t.orientation:void 0,a=e?.orientation??i??(n?.orientation===`landscape`?`landscape`:`portrait`),o=du(e?.margins,n?.margins),s=kc(e?.gridLineColor??`FFD0D0D0`)??{r:.816,g:.816,b:.816},c=e?.repeatRows??!1;if(c===!1&&t&&!Gc(t)&&n?.printTitlesRow){let e=n.printTitlesRow.match(/^(\d+)(?::(\d+))?$/);e&&(c=parseInt(e[2]??e[1],10))}return{pageSize:r,orientation:a,margins:o,ignorePrintArea:e?.ignorePrintArea??!1,fitToPage:e?.fitToPage===void 0||e.fitToPage,scale:Math.max(.1,Math.min(3,e?.scale??(e?.fitToPage===void 0||e.fitToPage?1:n?.scale?n.scale/100:1))),showGridLines:e?.showGridLines??n?.showGridLines??!1,gridLineColor:s,repeatRows:c,defaultFontFamily:e?.defaultFontFamily??`Helvetica`,defaultFontSize:e?.defaultFontSize??11,showSheetNames:e?.showSheetNames??!1,showPageNumbers:e?.showPageNumbers??!1,includeHeadersFooters:e?.headerFooter?.enabled??!0,headerMargin:(n?.margins?.header??.3)*72,footerMargin:(n?.margins?.footer??.3)*72,sourceFileName:e?.headerFooter?.fileName??``,sourceFilePath:e?.headerFooter?.filePath??``,headerFooterDate:e?.headerFooter?.date??new Date,headerFooterLocale:e?.headerFooter?.locale,title:e?.title??``,author:e?.author??``,subject:e?.subject??``,creator:e?.creator??`documonster`,watermark:e?.watermark}}function uu(e,t){return e?typeof e==`string`?qc[e]??qc.A4:e:t===void 0?qc.A4:_u[t]??qc.A4}function du(e,t){let n=t?{top:t.top*72,right:t.right*72,bottom:t.bottom*72,left:t.left*72}:{top:72,right:72,bottom:72,left:72};return e?{top:e.top??n.top,right:e.right??n.right,bottom:e.bottom??n.bottom,left:e.left??n.left}:n}function fu(e,t,n){let r=e.allocObject(),a=Array.from(t.entries()),o=[];for(let t=0;t<a.length;t++)o.push(e.allocObject());for(let t=0;t<a.length;t++){let[s,c]=a[t],u=n[c],d=new p().set(`Title`,i(s)).set(`Parent`,l(r)).set(`Dest`,`[${l(u)} /Fit]`);t>0&&d.set(`Prev`,l(o[t-1])),t<a.length-1&&d.set(`Next`,l(o[t+1])),e.addObject(o[t],d)}let s=new p().set(`Type`,`/Outlines`).set(`First`,l(o[0])).set(`Last`,l(o[o.length-1])).set(`Count`,String(a.length));return e.addObject(r,s),r}function pu(e,t){if(e.pages&&e.pages.length>0&&!e.pages.includes(t.pageNumber))return!1;if(e.sheets&&e.sheets.length>0){let n=t.sheetName.toLowerCase();if(!e.sheets.some(e=>e.toLowerCase()===n))return!1}return!0}function mu(e){let t=new Set;for(let n of e){let e=n.headerFooter;if(e){for(let n of[e.oddHeader,e.oddFooter,e.evenHeader,e.evenFooter,e.firstHeader,e.firstFooter])if(n)for(let e of[n.left,n.center,n.right])for(let n of e)hu(n.text,t)}if(!Gc(n)){for(let e of n.rows.values())for(let n of e.cells.values())if(hu(n.text,t),n.type===Kc.RichText&&n.value&&typeof n.value==`object`&&`richText`in n.value){let e=n.value.richText;for(let n of e)hu(n.text,t)}}}return t}function hu(e,t){if(e)for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++,Ht(r)||t.add(r)}}function gu(e){let{x:t,y:n,width:r,height:i}=e;if(r<=0||i<=0)return e;let a=r/i,o=2.5,s=16/9;if(a>=1&&a<=o)return e;let c=r,l=i;a>o?c=i*s:l=r/s;let u=(r-c)/2,d=(i-l)/2;return{x:t+u,y:n+d,width:c,height:l}}var _u,vu=n((()=>{rt(),Rt(),m(),Kt(),an(),Zt(),Ta(),ro(),Ga(),Oc(),Gl(),ss(),Wc(),Jc(),pl(),_u={1:qc.LETTER,5:qc.LEGAL,9:qc.A4,8:qc.A3,11:qc.A5,17:qc.TABLOID}}));Tc(),vu(),Jc();async function yu(e,t){return Kl(bu(e),t)}function bu(e){return Array.isArray(e)?{sheets:[xu({data:e})]}:`sheets`in e?{title:e.title,creator:e.author,sheets:e.sheets.map((e,t)=>xu(e,t))}:{sheets:[xu(e)]}}function xu(e,t){let n=e.data,r=e.name??`Sheet${(t??0)+1}`,i=e.columns?.map(e=>typeof e==`number`?void 0:e.header),a=i?.some(e=>e!==void 0)??!1,o=0;for(let e of n)e.length>o&&(o=e.length);let s=Math.max(o,e.columns?.length??0),c=n.length+ +!!a;if(e.images)for(let t of e.images){let e=t.col+1,n=t.row+1;e>s&&(s=e),n>c&&(c=n)}if(s===0)return{name:r,bounds:{top:0,left:0,bottom:0,right:0},columns:new Map,rows:new Map};let l=new Map;if(e.columns)for(let t=0;t<e.columns.length;t++){let n=e.columns[t],r=typeof n==`number`?n:n.width;l.set(t+1,{width:r??12})}for(let e=1;e<=s;e++)l.has(e)||l.set(e,{width:12});let u=new Map,d=1;if(a&&i){let e=new Map;for(let t=0;t<i.length;t++){let n=i[t];n!==void 0&&e.set(t+1,{type:Kc.String,value:n,text:n,col:t+1,style:{font:{bold:!0}}})}u.set(1,{cells:e}),d=2}for(let e=0;e<n.length;e++){let t=e+d,r=n[e],i=new Map;for(let e=0;e<r.length;e++){let t=Su(r[e],e+1);t&&i.set(e+1,t)}u.set(t,{cells:i})}let f;if(e.images&&e.images.length>0){f=e.images.map(e=>({data:e.data,format:e.format,range:{tl:{col:e.col,row:e.row},ext:{width:e.width,height:e.height}}}));for(let e=1;e<=s;e++)l.has(e)||l.set(e,{width:12});for(let e=1;e<=c;e++)u.has(e)||u.set(e,{cells:new Map})}return{name:r,bounds:{top:1,left:1,bottom:c,right:s},columns:l,rows:u,images:f}}function Su(e,t){if(e==null)return null;if(typeof e==`object`&&!(e instanceof Date)&&`value`in e){let n=e,r=Su(n.value,t);if(!r)return null;let i={};return(n.bold||n.italic||n.fontSize||n.fontColor)&&(i.font={bold:n.bold,italic:n.italic,size:n.fontSize,color:n.fontColor?{argb:n.fontColor}:void 0}),n.fillColor&&(i.fill={type:`pattern`,pattern:`solid`,fgColor:{argb:n.fillColor}}),n.align&&(i.alignment={horizontal:n.align}),r.style=i,r}return typeof e==`string`?{type:Kc.String,value:e,text:e,col:t}:typeof e==`number`?{type:Kc.Number,value:e,text:String(e),col:t}:typeof e==`boolean`?{type:Kc.Boolean,value:e,text:e?`TRUE`:`FALSE`,col:t}:e instanceof Date?{type:Kc.Date,value:e,text:e.toLocaleDateString(),col:t}:null}Zt();function Cu(e){return e===0||e===9||e===10||e===13||e===12||e===32}function wu(e){return e===40||e===41||e===60||e===62||e===91||e===93||e===123||e===125||e===47||e===37}function Tu(e){return e>=48&&e<=57}function Eu(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Du(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-65+10:e-97+10}let Ou=new Uint8Array([101,110,100,115,116,114,101,97,109]);var ku=class{constructor(e,t=0){this.data=e,this.pos=t}get position(){return this.pos}set position(e){this.pos=e}get bytes(){return this.data}peek(){return this.pos<this.data.length?this.data[this.pos]:-1}next(){if(this.skipWhitespaceAndComments(),this.pos>=this.data.length)return{type:11,offset:this.pos};let e=this.pos,t=this.data[this.pos];return t===40?this.readLiteralString(e):t===60?this.pos+1<this.data.length&&this.data[this.pos+1]===60?(this.pos+=2,{type:7,offset:e}):this.readHexString(e):t===62?this.pos+1<this.data.length&&this.data[this.pos+1]===62?(this.pos+=2,{type:8,offset:e}):(this.pos++,{type:6,strValue:`>`,offset:e}):t===91?(this.pos++,{type:9,offset:e}):t===93?(this.pos++,{type:10,offset:e}):t===47?this.readName(e):Tu(t)||t===45||t===43||t===46?this.readNumber(e):this.readKeyword(e)}skipWhitespaceAndComments(){for(;this.pos<this.data.length;){let e=this.data[this.pos];if(Cu(e)){this.pos++;continue}if(e===37){for(this.pos++;this.pos<this.data.length;){let e=this.data[this.pos];if(e===10||e===13)break;this.pos++}continue}break}}readLiteralString(e){this.pos++;let t=[],n=1;for(;this.pos<this.data.length&&n>0;){let e=this.data[this.pos];if(e===92){if(this.pos++,this.pos>=this.data.length)break;let e=this.data[this.pos];switch(e){case 110:t.push(10);break;case 114:t.push(13);break;case 116:t.push(9);break;case 98:t.push(8);break;case 102:t.push(12);break;case 40:t.push(40);break;case 41:t.push(41);break;case 92:t.push(92);break;case 10:break;case 13:this.pos+1<this.data.length&&this.data[this.pos+1]===10&&this.pos++;break;default:if(e>=48&&e<=55){let n=e-48;this.pos+1<this.data.length&&this.data[this.pos+1]>=48&&this.data[this.pos+1]<=55&&(this.pos++,n=n*8+(this.data[this.pos]-48),this.pos+1<this.data.length&&this.data[this.pos+1]>=48&&this.data[this.pos+1]<=55&&(this.pos++,n=n*8+(this.data[this.pos]-48))),t.push(n&255)}else t.push(e)}this.pos++}else e===40?(n++,t.push(e),this.pos++):e===41?(n--,n>0&&t.push(e),this.pos++):e===13?(t.push(10),this.pos++,this.pos<this.data.length&&this.data[this.pos]===10&&this.pos++):(t.push(e),this.pos++)}return{type:1,rawBytes:new Uint8Array(t),offset:e}}readHexString(e){this.pos++;let t=[],n=-1;for(;this.pos<this.data.length;){let e=this.data[this.pos];if(e===62){this.pos++;break}if(Cu(e)){this.pos++;continue}Eu(e)&&(n<0?n=Du(e):(t.push(n<<4|Du(e)),n=-1)),this.pos++}return n>=0&&t.push(n<<4),{type:2,rawBytes:new Uint8Array(t),offset:e}}readName(e){this.pos++;let t=[];for(;this.pos<this.data.length;){let e=this.data[this.pos];if(Cu(e)||wu(e))break;if(e===35&&this.pos+2<this.data.length){let e=this.data[this.pos+1],n=this.data[this.pos+2];if(Eu(e)&&Eu(n)){t.push(Du(e)<<4|Du(n)),this.pos+=3;continue}}t.push(e),this.pos++}return{type:3,strValue:String.fromCharCode(...t),offset:e}}readNumber(e){let t=``,n=this.data[this.pos];(n===45||n===43)&&(t+=String.fromCharCode(n),this.pos++);let r=n===46;for(r&&(t+=`.`,this.pos++);this.pos<this.data.length;){let e=this.data[this.pos];if(Tu(e))t+=String.fromCharCode(e),this.pos++;else if(e===46&&!r)r=!0,t+=`.`,this.pos++;else break}return t===`+`||t===`-`||t===`.`||t===``?this.readKeyword(e):{type:0,numValue:r?parseFloat(t):parseInt(t,10),offset:e}}readKeyword(e){let t=[];for(;this.pos<this.data.length;){let e=this.data[this.pos];if(Cu(e)||wu(e))break;t.push(e),this.pos++}let n=String.fromCharCode(...t);return n===`true`?{type:4,boolValue:!0,strValue:`true`,offset:e}:n===`false`?{type:4,boolValue:!1,strValue:`false`,offset:e}:n===`null`?{type:5,offset:e}:{type:6,strValue:n,offset:e}}findSequence(e,t){let n=t??this.pos,r=e.length,i=this.data.length-r;for(let t=n;t<=i;t++){let n=!0;for(let i=0;i<r;i++)if(this.data[t+i]!==e[i]){n=!1;break}if(n)return t}return-1}findSequenceBackward(e,t){let n=t??this.data.length-1,r=e.length;for(let t=n-r+1;t>=0;t--){let n=!0;for(let i=0;i<r;i++)if(this.data[t+i]!==e[i]){n=!1;break}if(n)return t}return-1}readLine(){let e=[];for(;this.pos<this.data.length;){let t=this.data[this.pos];if(this.pos++,t===10)break;if(t===13){this.pos<this.data.length&&this.data[this.pos]===10&&this.pos++;break}e.push(t)}return String.fromCharCode(...e)}slice(e,t){return this.data.subarray(e,t)}readStreamContent(e){if(this.pos<this.data.length&&this.data[this.pos]===13&&this.pos++,this.pos<this.data.length&&this.data[this.pos]===10&&this.pos++,e<0){let e=this.findSequence(Ou,this.pos);if(e<0)throw new T(`Could not find endstream marker`);let t=e;t>this.pos&&this.data[t-1]===10&&t--,t>this.pos&&this.data[t-1]===13&&t--;let n=this.data.subarray(this.pos,t);return this.pos=e+Ou.length,n}let t=this.data.subarray(this.pos,this.pos+e);if(this.pos+=e,this.skipWhitespaceAndComments(),this.pos+Ou.length<=this.data.length){let e=!0;for(let t=0;t<Ou.length;t++)if(this.data[this.pos+t]!==Ou[t]){e=!1;break}e&&(this.pos+=Ou.length)}return t}};Zt();function Au(e){return typeof e==`object`&&!!e&&`type`in e&&e.type===`ref`}function ju(e){return typeof e==`object`&&!!e&&`type`in e&&e.type===`stream`}function Mu(e){return e instanceof Map}function G(e){return Array.isArray(e)}function Nu(e,t){let n=e.get(t);return typeof n==`string`?n:void 0}function Pu(e,t){let n=e.get(t);return typeof n==`number`?n:void 0}function Fu(e,t){let n=e.get(t);return typeof n==`boolean`?n:void 0}function Iu(e,t){let n=e.get(t);return G(n)?n:void 0}function Lu(e,t){let n=e.get(t);return Au(n)?n:void 0}function Ru(e,t){let n=e.get(t);return n instanceof Uint8Array?n:void 0}function zu(e){if(e.length>=2&&e[0]===254&&e[1]===255){let t=``;for(let n=2;n+1<e.length;n+=2){let r=e[n]<<8|e[n+1];if(r>=55296&&r<=56319&&n+3<e.length){let i=e[n+2]<<8|e[n+3];if(i>=56320&&i<=57343){let e=65536+(r-55296<<10)+(i-56320);t+=String.fromCodePoint(e),n+=2;continue}}t+=String.fromCharCode(r)}return t}return e.length>=3&&e[0]===239&&e[1]===187&&e[2]===191?new TextDecoder(`utf-8`).decode(e.subarray(3)):Bu(e)}function Bu(e){let t=``;for(let n=0;n<e.length;n++){let r=e[n],i=Vu[r];t+=i===void 0?String.fromCharCode(r):String.fromCodePoint(i)}return t}let Vu={128:8226,129:8224,130:8225,131:8230,132:8212,133:8211,134:402,135:8260,136:8249,137:8250,138:8722,139:8240,140:8222,141:8220,142:8221,143:8216,144:8217,145:8218,146:8482,147:64257,148:64258,149:321,150:338,151:352,152:376,153:381,154:305,155:322,156:339,157:353,158:382,160:8364,173:711};function Hu(e){return Uu(e,e.next())}function Uu(e,t){switch(t.type){case 0:{let n=t.numValue,r=e.pos,i=e.next();if(i.type===0){let t=i.numValue,a=e.next();if(a.type===6&&a.strValue===`R`)return{type:`ref`,objNum:n,gen:t};if(a.type===6&&a.strValue===`obj`){let t=Hu(e);if(Mu(t)){e.skipWhitespaceAndComments();let n=e.pos,r=e.next();if(r.type===6&&r.strValue===`stream`){let n=Pu(t,`Length`)??-1,r=e.readStreamContent(n),i=e.next();return(i.type!==6||i.strValue!==`endobj`)&&(e.pos=i.offset),{type:`stream`,dict:t,data:r}}e.pos=n}e.skipWhitespaceAndComments();let n=e.pos,r=e.next();return(r.type!==6||r.strValue!==`endobj`)&&(e.pos=n),t}return e.pos=r,n}return e.pos=r,n}case 1:case 2:return t.rawBytes??new Uint8Array;case 3:return t.strValue;case 4:return t.boolValue;case 5:return null;case 7:return Wu(e);case 9:return Gu(e);case 11:throw new T(`Unexpected end of input while parsing PDF object`);default:return t.strValue??null}}function Wu(e){let t=new Map;for(;;){let n=e.next();if(n.type===8)break;if(n.type===11)throw new T(`Unexpected EOF in dictionary`);if(n.type!==3)continue;let r=n.strValue,i=Hu(e);t.set(r,i)}return t}function Gu(e){let t=[];for(;;){let n=e.next();if(n.type===10)break;if(n.type===11)throw new T(`Unexpected EOF in array`);t.push(Uu(e,n))}return t}function Ku(e,t,n){let r=e.get(t);if(!r)return``;let i=n.deref(r);return typeof i==`string`?i:i instanceof Uint8Array?zu(i):``}function qu(e,t){let n=e.get(`Annots`);if(!n)return[];let r=t.deref(n);if(!G(r))return[];let i=[];for(let e of r)try{let n=t.derefDict(e);if(!n)continue;let r=Nu(n,`Subtype`)??``;if(r===`Widget`||r===`Popup`)continue;let a=Ju(n,r,t);a&&i.push(a)}catch{}return i}function Ju(e,t,n){let r=Yu(e.get(`Rect`),n);if(!r)return null;let i=Ku(e,`Contents`,n),a=Ku(e,`T`,n),o=Ku(e,`Subj`,n),s=Ku(e,`M`,n),c=Pu(e,`F`)??0,l=Xu(e.get(`C`),n),u=``,d=``;if(t===`Link`){let t=n.derefDict(e.get(`A`));if(t){let e=Nu(t,`S`);if(e===`URI`)u=Ku(t,`URI`,n);else if(e===`GoTo`){let e=t.get(`D`);typeof e==`string`&&(d=e)}else e===`GoToR`&&(u=Ku(t,`F`,n))}if(!u&&!d){let t=e.get(`Dest`);if(t){let e=n.deref(t);typeof e==`string`?d=e:e instanceof Uint8Array&&(d=zu(e))}}}return{subtype:t,rect:r,contents:i,author:a,subject:o,modifiedDate:s,uri:u,destination:d,flags:c,color:l}}function Yu(e,t){if(!e)return null;let n=t.deref(e);if(!G(n)||n.length<4)return null;let r=n.map(e=>typeof e==`number`?e:0);return{x1:r[0],y1:r[1],x2:r[2],y2:r[3]}}function Xu(e,t){if(!e)return[];let n=t.deref(e);return G(n)?n.map(e=>typeof e==`number`?e:0):[]}function Zu(e){try{let t=e.getCatalog().get(`Outlines`);if(!t)return[];let n=e.derefDict(t);return n?$u(n,e,Qu(e),new Set,0):[]}catch{return[]}}function Qu(e){let t=e.getPagesWithObjInfo(),n=new Map;for(let e=0;e<t.length;e++){let{objNum:r}=t[e];r!==0&&n.set(r,e)}return n}function $u(e,t,n,r,i){if(i>100)return[];let a=e.get(`First`);if(!a)return[];let o=[],s=a,c=0;for(;s!=null&&c<1e4;){if(c++,Au(s)){if(r.has(s.objNum))break;r.add(s.objNum)}let e=t.derefDict(s);if(!e)break;let a=ed(e,t,n,r,i);a&&o.push(a),s=e.get(`Next`)}return o}function ed(e,t,n,r,i){let a=td(e,t);return a?{title:a,pageIndex:nd(e,t,n),children:$u(e,t,n,r,i+1)}:null}function td(e,t){return Ku(e,`Title`,t)}function nd(e,t,n){let r=e.get(`Dest`);if(r!=null){let e=rd(r,t,n);if(e>=0)return e}let i=e.get(`A`);if(i!=null){let e=t.derefDict(i);if(e&&Nu(e,`S`)===`GoTo`){let r=e.get(`D`);if(r!=null)return rd(r,t,n)}}return-1}function rd(e,t,n){let r=t.deref(e);return r==null?-1:G(r)&&r.length>=1?id(r[0],t,n):typeof r==`string`?ad(r,t,n):r instanceof Uint8Array?ad(zu(r),t,n):-1}function id(e,t,n){if(Au(e)){let t=n.get(e.objNum);return t===void 0?-1:t}return typeof e==`number`&&Number.isInteger(e)?e:-1}function ad(e,t,n){let r=t.getCatalog(),i=r.get(`Dests`);if(i!=null){let r=t.derefDict(i);if(r){let i=r.get(e);if(i!=null)return od(i,t,n)}}let a=r.get(`Names`);if(a!=null){let r=t.derefDict(a);if(r){let i=r.get(`Dests`);if(i!=null){let r=sd(i,e,t);if(r!=null)return od(r,t,n)}}}return-1}function od(e,t,n){let r=t.deref(e);if(r==null)return-1;if(G(r)&&r.length>=1)return id(r[0],t,n);if(r instanceof Map){let e=r.get(`D`);if(e!=null)return rd(e,t,n)}return-1}function sd(e,t,n,r=0){if(r>100)return null;let i=n.derefDict(e);if(!i)return null;let a=i.get(`Names`);if(a!=null){let e=n.deref(a);if(G(e))for(let r=0;r+1<e.length;r+=2){let i=n.deref(e[r]),a=null;if(typeof i==`string`?a=i:i instanceof Uint8Array&&(a=zu(i)),a===t)return e[r+1]}}let o=i.get(`Kids`);if(o!=null){let e=n.deref(o);if(G(e))for(let i of e){let e=sd(i,t,n,r+1);if(e!=null)return e}}return null}var cd=class{constructor(){this.codeSpaceRanges=[],this.bfChars=new Map,this.bfRanges=[],this.bytesPerCode=1}lookup(e){let t=this.bfChars.get(e);if(t!==void 0)return t;let n=this.bfRanges,r=0,i=n.length-1;for(;r<=i;){let t=r+i>>>1,a=n[t];if(e<a.low)i=t-1;else if(e>a.high)r=t+1;else{if(typeof a.mapping==`string`){let t=e-a.low,n=hd(a.mapping);return String.fromCodePoint(n+t)}let t=e-a.low;return t<a.mapping.length?a.mapping[t]:void 0}}}addCodeSpaceRange(e,t,n){this.codeSpaceRanges.push({low:e,high:t,bytes:n}),n>this.bytesPerCode&&(this.bytesPerCode=n)}addBfChar(e,t){this.bfChars.set(e,t)}addBfRange(e,t,n){this.bfRanges.push({low:e,high:t,mapping:n})}sortRanges(){this.bfRanges.sort((e,t)=>e.low-t.low)}getCodeLength(e){let t=0;for(let n of this.codeSpaceRanges)if(n.bytes===1)e>=(n.low&255)&&e<=(n.high&255)&&t<1&&(t=1);else if(n.bytes===2){let r=n.low>>8&255,i=n.high>>8&255;e>=r&&e<=i&&t<2&&(t=2)}else{let r=n.low>>>(n.bytes-1)*8,i=n.high>>>(n.bytes-1)*8;e>=r&&e<=i&&n.bytes>t&&(t=n.bytes)}return t>0?t:this.bytesPerCode}get isEmpty(){return this.bfChars.size===0&&this.bfRanges.length===0}get hasCodeSpaceRanges(){return this.codeSpaceRanges.length>0}};function ld(e){let t=new cd,n=new ku(e);for(;;){let e=n.next();if(e.type===11)break;if(e.type===6){let r=e.strValue;r===`begincodespacerange`?ud(n,t):r===`beginbfchar`?dd(n,t):r===`beginbfrange`&&fd(n,t)}}return t.sortRanges(),t}function ud(e,t){for(;;){let n=e.next();if(n.type===11||n.type===6&&n.strValue===`endcodespacerange`)break;if(n.type===2){let r=n.rawBytes,i=e.next();if(i.type===2){let e=i.rawBytes,n=pd(r),a=pd(e);t.addCodeSpaceRange(n,a,r.length)}}}}function dd(e,t){for(;;){let n=e.next();if(n.type===11||n.type===6&&n.strValue===`endbfchar`)break;if(n.type===2){let r=pd(n.rawBytes),i=e.next();if(i.type===2){let e=md(i.rawBytes);t.addBfChar(r,e)}}}}function fd(e,t){for(;;){let n=e.next();if(n.type===11||n.type===6&&n.strValue===`endbfrange`)break;if(n.type===2){let r=pd(n.rawBytes),i=e.next();if(i.type!==2)continue;let a=pd(i.rawBytes),o=e.next();if(o.type===2){let e=md(o.rawBytes);t.addBfRange(r,a,e)}else if(o.type===9){let n=[];for(;;){let t=e.next();if(t.type===10||t.type===11)break;t.type===2&&n.push(md(t.rawBytes))}t.addBfRange(r,a,n)}}}}function pd(e){let t=0;for(let n=0;n<e.length;n++)t=t*256+e[n];return t}function md(e){let t=``;for(let n=0;n+1<e.length;n+=2){let r=e[n]<<8|e[n+1];if(r>=55296&&r<=56319&&n+3<e.length){let i=e[n+2]<<8|e[n+3];if(i>=56320&&i<=57343){let e=65536+(r-55296<<10)+(i-56320);t+=String.fromCodePoint(e),n+=2;continue}}t+=String.fromCharCode(r)}return e.length===1?String.fromCharCode(e[0]):t}function hd(e){return e.codePointAt(0)??0}let gd={Courier:`winansi`,"Courier-Bold":`winansi`,"Courier-Oblique":`winansi`,"Courier-BoldOblique":`winansi`,Helvetica:`winansi`,"Helvetica-Bold":`winansi`,"Helvetica-Oblique":`winansi`,"Helvetica-BoldOblique":`winansi`,"Times-Roman":`winansi`,"Times-Bold":`winansi`,"Times-Italic":`winansi`,"Times-BoldItalic":`winansi`,Symbol:`symbol`,ZapfDingbats:`zapf`};function _d(e){let t=e.includes(`+`)?e.substring(e.indexOf(`+`)+1):e,n=gd[t];if(n)return n;let r=t.toLowerCase();return r.startsWith(`courier`)||r.startsWith(`helvetica`)||r.startsWith(`times`)?`winansi`:r===`symbol`||r.startsWith(`symbol`)?`symbol`:r===`zapfdingbats`||r.startsWith(`zapfdingbats`)?`zapf`:null}function vd(e,t){let n=Nu(e,`Subtype`)??`Type1`,r=Nu(e,`BaseFont`)??`Unknown`,i=Nu(e,`Name`)??r,a=Sd(e,t),o=!1,s=0;if(n===`Type0`){let n=e.get(`Encoding`);if(typeof n==`string`)n===`Identity-H`||n===`Identity-V`?(o=!0,s=+(n===`Identity-V`)):n.endsWith(`-V`)&&(s=1);else if(Au(n)){let e=t.derefDict(n);e&&(s=Pu(e,`WMode`)??0)}}let c=wd(e,n,r,t),l=1;n===`Type0`&&(l=a?.bytesPerCode??2);let u=Od(e,t),d=!!((u?Pu(u,`Flags`)??0:0)&4),{widths:f,defaultWidth:p,missingWidth:m}=kd(e,n,u,t);return{name:i,subtype:n,toUnicode:a,encoding:c,bytesPerCode:l,baseFontName:r,isSymbolic:d,widths:f,defaultWidth:p,missingWidth:m,isIdentityEncoding:o,wmode:s}}function yd(e,t){if(t.subtype===`Type0`||t.bytesPerCode===2)return bd(e,t);let n=``;for(let r=0;r<e.length;r++){let i=e[r],a=xd(i,t);n+=a}return n}function bd(e,t){let n=``,r=0;for(;r<e.length;){let i=0;if(t.toUnicode?.hasCodeSpaceRanges&&(i=t.toUnicode.getCodeLength(e[r])),i===2&&r+1<e.length){let i=xd(e[r]<<8|e[r+1],t);n+=i,r+=2}else if(i===1){let i=xd(e[r],t);n+=i,r++}else{if(r+1<e.length){let i=xd(e[r]<<8|e[r+1],t);if(i!==`�`){n+=i,r+=2;continue}}let i=xd(e[r],t);n+=i,r++}}return n}function xd(e,t){if(t.toUnicode){let n=t.toUnicode.lookup(e);if(n!==void 0)return n}if(t.isIdentityEncoding&&e>0&&e<=1114111&&(e<55296||e>57343))return String.fromCodePoint(e);let n=t.encoding.get(e);return n===void 0?e>=32&&e<=126?String.fromCharCode(e):e>126&&e<=1114111&&(e<55296||e>57343)?String.fromCodePoint(e):`�`:n}function Sd(e,t){let n=e.get(`ToUnicode`);if(!n){if(Nu(e,`Subtype`)===`Type0`){let n=Iu(e,`DescendantFonts`);if(n&&n.length>0){let e=t.derefDict(n[0]);if(e){let n=e.get(`ToUnicode`);if(n)return Cd(n,t)}}}return null}return Cd(n,t)}function Cd(e,t){let n=t.derefStreamWithObjNum(e);if(!n)return null;try{return ld(t.getStreamData(n.stream,n.objNum,n.gen))}catch{return null}}function wd(e,t,n,r){let i=new Map;if(t===`Type0`)return i;let a=e.get(`Encoding`);if(typeof a==`string`)Ed(i,a);else if(Mu(a)){let e=Nu(a,`BaseEncoding`);e?Ed(i,e):Td(i,t,n);let r=Iu(a,`Differences`);r&&Dd(i,r)}else if(Au(a)){let e=r.derefDict(a);if(e){let r=Nu(e,`BaseEncoding`);r?Ed(i,r):Td(i,t,n);let a=Iu(e,`Differences`);a&&Dd(i,a)}}else Td(i,t,n);return i}function Td(e,t,n){let r=_d(n);r===`symbol`?Ed(e,`SymbolEncoding`):r===`zapf`?Ed(e,`ZapfDingbatsEncoding`):t===`TrueType`||r===`winansi`?Ed(e,`WinAnsiEncoding`):Ed(e,`StandardEncoding`)}function Ed(e,t){let n;switch(t){case`WinAnsiEncoding`:n=Nd;break;case`MacRomanEncoding`:n=Pd;break;case`StandardEncoding`:n=Fd;break;case`MacExpertEncoding`:n=Id;break;case`SymbolEncoding`:n=Ld;break;case`ZapfDingbatsEncoding`:n=Rd;break;default:n=Nd}for(let[t,r]of Object.entries(n))e.set(Number(t),r)}function Dd(e,t){let n=0;for(let r of t)if(typeof r==`number`)n=r;else if(typeof r==`string`){let t=Md(r);t&&e.set(n,t),n++}}function Od(e,t){let n=e.get(`FontDescriptor`);if(n)return t.derefDict(n);if(Nu(e,`Subtype`)===`Type0`){let n=Iu(e,`DescendantFonts`);if(n&&n.length>0){let e=t.derefDict(n[0]);if(e){let n=e.get(`FontDescriptor`);return t.derefDict(n)}}}return null}function kd(e,t,n,r){let i=new Map,a=1e3,o=0;if(n&&(o=Pu(n,`MissingWidth`)??0),t===`Type0`){let t=Iu(e,`DescendantFonts`);if(t&&t.length>0){let e=r.derefDict(t[0]);if(e){a=Pu(e,`DW`)??1e3;let t=Iu(e,`W`);t&&Ad(t,i,r)}}}else{let t=Pu(e,`FirstChar`)??0,n=Iu(e,`Widths`);if(n)for(let e=0;e<n.length;e++){let r=n[e];typeof r==`number`&&i.set(t+e,r)}}return{widths:i,defaultWidth:a,missingWidth:o}}function Ad(e,t,n){let r=0;for(;r<e.length;){let n=e[r];if(r++,r>=e.length)break;let i=e[r];if(G(i)){for(let e=0;e<i.length;e++)t.set(n+e,i[e]);r++}else if(typeof i==`number`){let a=i;if(r++,r<e.length){let i=e[r];for(let e=n;e<=a;e++)t.set(e,i);r++}}else r++}}function jd(e,t){let n=t.widths.get(e);return n===void 0?t.missingWidth||t.defaultWidth:n}function Md(e){let t=zd[e];if(t!==void 0)return String.fromCodePoint(t);if(e.startsWith(`uni`)&&e.length>=7){let t=e.substring(3),n=parseInt(t,16);if(!isNaN(n)&&n>0)return String.fromCodePoint(n)}if(e.startsWith(`u`)&&e.length>=5){let t=e.substring(1),n=parseInt(t,16);if(!isNaN(n)&&n>0)return String.fromCodePoint(n)}}let Nd=(()=>{let e={};for(let t=32;t<=126;t++)e[t]=String.fromCharCode(t);for(let t=160;t<=255;t++)e[t]=String.fromCharCode(t);for(let[t,n]of Object.entries({128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}))e[Number(t)]=String.fromCodePoint(n);return e})(),Pd=(()=>{let e={};for(let t=32;t<=126;t++)e[t]=String.fromCharCode(t);let t=[196,197,199,201,209,214,220,225,224,226,228,227,229,231,233,232,234,235,237,236,238,239,241,243,242,244,246,245,250,249,251,252,8224,176,162,163,167,8226,182,223,174,169,8482,180,168,8800,198,216,8734,177,8804,8805,165,181,8706,8721,8719,960,8747,170,186,8486,230,248,191,161,172,8730,402,8776,8710,171,187,8230,160,192,195,213,338,339,8211,8212,8220,8221,8216,8217,247,9674,255,376,8260,8364,8249,8250,64257,64258,8225,183,8218,8222,8240,194,202,193,203,200,205,206,207,204,211,212,63743,210,218,219,217,305,710,732,175,728,729,730,184,733,731,711];for(let n=0;n<t.length;n++)e[128+n]=String.fromCodePoint(t[n]);return e})(),Fd=(()=>{let e={};for(let t=32;t<=126;t++)e[t]=String.fromCharCode(t);for(let[t,n]of Object.entries({161:161,162:162,163:163,164:8260,165:165,166:402,167:167,168:164,169:39,170:8220,171:171,172:8249,173:8250,174:64257,175:64258,177:8211,178:8224,179:8225,180:183,182:182,183:8226,184:8218,185:8222,186:8221,187:187,188:8230,189:8240,193:96,194:180,195:710,196:732,197:175,198:728,199:729,200:168,202:730,203:184,204:733,205:731,206:711,207:8212,225:198,227:170,232:321,233:216,234:338,235:186,241:230,245:305,248:322,249:248,250:339,251:223}))e[Number(t)]=String.fromCodePoint(n);return e})(),Id=(()=>{let e={};for(let[t,n]of Object.entries({32:32,33:63265,34:63202,35:63394,36:63268,37:63204,38:63270,39:63412,40:8317,41:8318,42:8229,43:8228,44:44,45:45,46:46,47:8260,48:63280,49:63281,50:63282,51:63283,52:63284,53:63285,54:63286,55:63287,56:63288,57:63289,58:58,59:59,61:63198,63:63295,68:63472,71:188,72:189,73:190,74:8539,75:8540,76:8541,77:8542,78:8531,79:8532,86:64256,87:64257,88:64258,89:64259,90:64260,91:8333,93:8334,94:63222,95:63205,96:63328,97:63329,98:63330,99:63331,100:63332,101:63333,102:63334,103:63335,104:63336,105:63337,106:63338,107:63339,108:63340,109:63341,110:63342,111:63343,112:63344,113:63345,114:63346,115:63347,116:63348,117:63349,118:63350,119:63351,120:63352,121:63353,122:63354,123:8353,124:63196,125:63197,126:63230,129:63209,130:63200,135:63457,136:63456,137:63458,138:63460,139:63459,140:63461,141:63463,142:63465,143:63464,144:63466,145:63467,146:63469,147:63468,148:63470,149:63471,150:63473,151:63475,152:63474,153:63476,154:63478,155:63477,156:63482,157:63481,158:63483,159:63484,161:8312,162:8324,163:8323,164:8326,165:8328,166:8327,167:63229,169:63199,170:8322,172:63400,173:63221,174:63216,175:8325,177:63201,178:63207,179:63485,180:63203,183:63486,184:63208,185:63206,186:8320,187:63204,188:63408,193:63217,194:63412,199:63220,200:63407,202:63218,203:63416,205:63219,206:63213,207:63223,208:8211,209:63208,214:63462,216:63480,218:63423,219:8321,220:63225,225:63462,230:63462,232:63468,233:63480,234:63466,235:63418,241:63462,245:305,248:63468,249:63480,250:63466,251:223}))e[Number(t)]=String.fromCodePoint(n);return e})(),Ld=(()=>{let e={};for(let[t,n]of Object.entries({32:32,33:33,34:8704,35:35,36:8707,37:37,38:38,39:8715,40:40,41:41,42:8727,43:43,44:44,45:8722,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:8773,65:913,66:914,67:935,68:916,69:917,70:934,71:915,72:919,73:921,74:977,75:922,76:923,77:924,78:925,79:927,80:928,81:920,82:929,83:931,84:932,85:933,86:962,87:937,88:926,89:936,90:918,91:91,92:8756,93:93,94:8869,95:95,96:63717,97:945,98:946,99:967,100:948,101:949,102:966,103:947,104:951,105:953,106:981,107:954,108:955,109:956,110:957,111:959,112:960,113:952,114:961,115:963,116:964,117:965,118:982,119:969,120:958,121:968,122:950,123:123,124:124,125:125,126:8764,160:8364,161:978,162:8242,163:8804,164:8260,165:8734,166:402,167:9827,168:9830,169:9829,170:9824,171:8596,172:8592,173:8593,174:8594,175:8595,176:176,177:177,178:8243,179:8805,180:215,181:8733,182:8706,183:8226,184:247,185:8800,186:8801,187:8776,188:8230,189:63718,190:63719,191:8629,192:8501,193:8465,194:8476,195:8472,196:8855,197:8853,198:8709,199:8745,200:8746,201:8835,202:8839,203:8836,204:8834,205:8838,206:8712,207:8713,208:8736,209:8711,210:63194,211:63193,212:63195,213:8719,214:8730,215:8901,216:172,217:8743,218:8744,219:8660,220:8656,221:8657,222:8658,223:8659,224:9674,225:9001,226:63720,227:63721,228:63722,229:8721,230:63723,231:63724,232:63725,233:63726,234:63727,235:63728,236:63729,237:63730,238:63731,239:63732,241:9002,242:8747,243:8992,244:63733,245:8993,246:63734,247:63735,248:63736,249:63737,250:63738,251:63739,252:63740,253:63741,254:63742}))e[Number(t)]=String.fromCodePoint(n);return e})(),Rd=(()=>{let e={};for(let[t,n]of Object.entries({32:32,33:9985,34:9986,35:9987,36:9988,37:9742,38:9990,39:9991,40:9992,41:9993,42:9755,43:9758,44:9996,45:9997,46:9998,47:9999,48:1e4,49:10001,50:10002,51:10003,52:10004,53:10005,54:10006,55:10007,56:10008,57:10009,58:10010,59:10011,60:10012,61:10013,62:10014,63:10015,64:10016,65:10017,66:10018,67:10019,68:10020,69:10021,70:10022,71:10023,72:9733,73:10025,74:10026,75:10027,76:10028,77:10029,78:10030,79:10031,80:10032,81:10033,82:10034,83:10035,84:10036,85:10037,86:10038,87:10039,88:10040,89:10041,90:10042,91:10043,92:10044,93:10045,94:10046,95:10047,96:10048,97:10049,98:10050,99:10051,100:10052,101:10053,102:10054,103:10055,104:10056,105:10057,106:10058,107:10059,108:9679,109:10061,110:9632,111:10063,112:10064,113:10065,114:10066,115:9650,116:9660,117:9670,118:10070,119:9687,120:10072,121:10073,122:10074,123:10075,124:10076,125:10077,126:10078,128:63703,129:63704,130:63705,131:63706,132:63707,133:63708,134:63709,135:63710,136:63711,137:63712,138:63713,139:63714,140:63715,141:63716,161:10081,162:10082,163:10083,164:10084,165:10085,166:10086,167:10087,168:9827,169:9830,170:9829,171:9824,172:9312,173:9313,174:9314,175:9315,176:9316,177:9317,178:9318,179:9319,180:9320,181:9321,182:10102,183:10103,184:10104,185:10105,186:10106,187:10107,188:10108,189:10109,190:10110,191:10111,192:10112,193:10113,194:10114,195:10115,196:10116,197:10117,198:10118,199:10119,200:10120,201:10121,202:10122,203:10123,204:10124,205:10125,206:10126,207:10127,208:10128,209:10129,210:10130,211:10131,212:10132,213:10133,214:10134,215:10135,216:10136,217:10137,218:10138,219:10139,220:10140,221:10141,222:10142,223:10143,224:10144,225:10145,226:10146,227:10147,228:10148,229:10149,230:10150,231:10151,232:10152,233:10153,234:10154,235:10155,236:10156,237:10157,238:10158,239:10159,241:10161,242:10162,243:10163,244:10164,245:10165,246:10166,247:10167,248:10168,249:10169,250:10170,251:10171,252:10172,253:10173,254:10174}))e[Number(t)]=String.fromCodePoint(n);return e})(),zd={space:32,exclam:33,quotedbl:34,numbersign:35,dollar:36,percent:37,ampersand:38,quotesingle:39,parenleft:40,parenright:41,asterisk:42,plus:43,comma:44,hyphen:45,period:46,slash:47,zero:48,one:49,two:50,three:51,four:52,five:53,six:54,seven:55,eight:56,nine:57,colon:58,semicolon:59,less:60,equal:61,greater:62,question:63,at:64,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,bracketleft:91,backslash:92,bracketright:93,asciicircum:94,underscore:95,grave:96,a:97,b:98,c:99,d:100,e:101,f:102,g:103,h:104,i:105,j:106,k:107,l:108,m:109,n:110,o:111,p:112,q:113,r:114,s:115,t:116,u:117,v:118,w:119,x:120,y:121,z:122,braceleft:123,bar:124,braceright:125,asciitilde:126,Agrave:192,Aacute:193,Acircumflex:194,Atilde:195,Adieresis:196,Aring:197,AE:198,Ccedilla:199,Egrave:200,Eacute:201,Ecircumflex:202,Edieresis:203,Igrave:204,Iacute:205,Icircumflex:206,Idieresis:207,Eth:208,Ntilde:209,Ograve:210,Oacute:211,Ocircumflex:212,Otilde:213,Odieresis:214,Oslash:216,Ugrave:217,Uacute:218,Ucircumflex:219,Udieresis:220,Yacute:221,Thorn:222,germandbls:223,agrave:224,aacute:225,acircumflex:226,atilde:227,adieresis:228,aring:229,ae:230,ccedilla:231,egrave:232,eacute:233,ecircumflex:234,edieresis:235,igrave:236,iacute:237,icircumflex:238,idieresis:239,eth:240,ntilde:241,ograve:242,oacute:243,ocircumflex:244,otilde:245,odieresis:246,oslash:248,ugrave:249,uacute:250,ucircumflex:251,udieresis:252,yacute:253,thorn:254,ydieresis:255,bullet:8226,endash:8211,emdash:8212,quotedblleft:8220,quotedblright:8221,quoteleft:8216,quoteright:8217,quotesinglbase:8218,quotedblbase:8222,dagger:8224,daggerdbl:8225,ellipsis:8230,perthousand:8240,guilsinglleft:8249,guilsinglright:8250,guillemotleft:171,guillemotright:187,fraction:8260,fi:64257,fl:64258,minus:8722,multiply:215,divide:247,degree:176,cent:162,sterling:163,yen:165,Euro:8364,copyright:169,registered:174,trademark:8482,section:167,paragraph:182,Lslash:321,lslash:322,OE:338,oe:339,Scaron:352,scaron:353,Zcaron:381,zcaron:382,Ydieresis:376,dotlessi:305,circumflex:710,tilde:732,macron:175,breve:728,dotaccent:729,ring:730,cedilla:184,hungarumlaut:733,ogonek:731,caron:711,florin:402,nbspace:160,sfthyphen:173,exclamdown:161,questiondown:191,currency:164,brokenbar:166,dieresis:168,ordfeminine:170,ordmasculine:186,logicalnot:172,acute:180,mu:181,periodcentered:183,onesuperior:185,twosuperior:178,threesuperior:179,onequarter:188,onehalf:189,threequarters:190,plusminus:177},Bd=new TextEncoder;function Vd(e){return e>=1536&&e<=1791||e>=1872&&e<=1919||e>=2208&&e<=2303||e>=64336&&e<=65023||e>=65136&&e<=65279||e>=1424&&e<=1535||e>=64285&&e<=64335||e>=1792&&e<=1871||e>=1920&&e<=1983||e>=1984&&e<=2047}function Hd(e){if(e.length===0)return!1;let t=e.codePointAt(0);return t!==void 0&&Vd(t)}function Ud(e,t){let n=t.resolvePageResources(e),r=Wd(n,t),i=Gd(e,t);if(i.length===0)return[];let a=[],o=new qd(r,t,n);for(let e of i)o.process(e,a);return a}function Wd(e,t){let n=new Map,r=e.get(`Font`);if(!r)return n;let i=t.derefDict(r);if(!i)return n;for(let[e,r]of i){let i=t.derefDict(r);if(i)try{n.set(e,vd(i,t))}catch{}}return n}function Gd(e,t){let n=e.get(`Contents`);if(!n)return[];if(Au(n)){let e=t.derefStreamWithObjNum(n);if(e)return[t.getStreamData(e.stream,e.objNum,e.gen)];let r=t.deref(n);return G(r)?Kd(r,t):[]}return G(n)?Kd(n,t):[]}function Kd(e,t){let n=[];for(let r of e){let e=t.derefStreamWithObjNum(r);e&&n.push(t.getStreamData(e.stream,e.objNum,e.gen))}return n}var qd=class{constructor(e,t,n){this.stateStack=[],this.ctm=[1,0,0,1,0,0],this.textState={charSpacing:0,wordSpacing:0,horizontalScaling:100,leading:0,font:null,fontSize:0,renderMode:0,rise:0},this.textMatrix=[1,0,0,1,0,0],this.lineMatrix=[1,0,0,1,0,0],this.inTextObject=!1,this.formDepth=0,this.fonts=e,this.doc=t,this.resources=n}process(e,t){let n=new ku(e),r=[];for(;;){let e=n.next();if(e.type===11)break;if(e.type===6){let i=e.strValue;i===`BI`?(this.skipInlineImage(n),r.length=0):(this.executeOperator(i,r,t),r.length=0)}else e.type===9?r.push(this.parseInlineArray(n)):r.push(Xd(e))}}skipInlineImage(e){for(;;){let t=e.next();if(t.type===11)return;if(t.type===6&&t.strValue===`ID`)break}let t=e.bytes,n=e.position;for(n<t.length&&n++;n+1<t.length;){if(t[n]===69&&t[n+1]===73&&n>0&&Jd(t[n-1])&&(n+2>=t.length||Jd(t[n+2])||Yd(t[n+2]))){e.position=n+2;return}n++}e.position=t.length}parseInlineArray(e){let t=[];for(;;){let n=e.next();if(n.type===10||n.type===11)break;t.push(Xd(n))}return t}executeOperator(e,t,n){switch(e){case`q`:this.saveState();break;case`Q`:this.restoreState();break;case`cm`:t.length>=6&&this.concatMatrix(Qd(t,6));break;case`gs`:case`i`:case`M`:case`ri`:case`sh`:break;case`W`:case`W*`:break;case`CS`:case`cs`:case`SC`:case`sc`:case`SCN`:case`scn`:case`G`:case`g`:case`RG`:case`rg`:case`K`:case`k`:break;case`BDC`:case`BMC`:case`EMC`:case`MP`:case`DP`:break;case`d0`:case`d1`:break;case`m`:case`l`:case`c`:case`v`:case`y`:case`h`:case`re`:case`S`:case`s`:case`f`:case`F`:case`f*`:case`B`:case`B*`:case`b`:case`b*`:case`n`:case`j`:case`J`:case`d`:case`w`:break;case`Tc`:this.textState.charSpacing=Zd(t,0);break;case`Tw`:this.textState.wordSpacing=Zd(t,0);break;case`Tz`:this.textState.horizontalScaling=Zd(t,0);break;case`TL`:this.textState.leading=Zd(t,0);break;case`Tf`:this.setFont(t);break;case`Tr`:this.textState.renderMode=Zd(t,0);break;case`Ts`:this.textState.rise=Zd(t,0);break;case`BT`:this.beginText();break;case`ET`:this.inTextObject=!1;break;case`Td`:this.moveText(Zd(t,0),Zd(t,1));break;case`TD`:this.textState.leading=-Zd(t,1),this.moveText(Zd(t,0),Zd(t,1));break;case`Tm`:t.length>=6&&this.setTextMatrix(Qd(t,6));break;case`T*`:this.moveText(0,-this.textState.leading);break;case`Tj`:this.showText(t[0],n);break;case`TJ`:this.showTextArray(t[0],n);break;case`'`:this.moveText(0,-this.textState.leading),this.showText(t[0],n);break;case`"`:this.textState.wordSpacing=Zd(t,0),this.textState.charSpacing=Zd(t,1),this.moveText(0,-this.textState.leading),this.showText(t[2],n);break;case`Do`:this.doXObject(t,n)}}saveState(){this.stateStack.push({ctm:[...this.ctm],textState:{...this.textState}})}restoreState(){let e=this.stateStack.pop();e&&(this.ctm=e.ctm,this.textState=e.textState)}concatMatrix(e){this.ctm=$d(e,this.ctm)}setFont(e){if(e.length<2)return;let t=typeof e[0]==`string`?e[0]:String(e[0]),n=typeof e[1]==`number`?e[1]:0;this.textState.font=this.fonts.get(t)??null,this.textState.fontSize=n}beginText(){this.inTextObject=!0,this.textMatrix=[1,0,0,1,0,0],this.lineMatrix=[1,0,0,1,0,0]}moveText(e,t){let n=[1,0,0,1,e,t];this.lineMatrix=$d(n,this.lineMatrix),this.textMatrix=[...this.lineMatrix]}setTextMatrix(e){this.textMatrix=[...e],this.lineMatrix=[...e]}showText(e,t){if(e===void 0||!this.textState.font)return;let n;if(e instanceof Uint8Array)n=e;else if(typeof e==`string`)n=Bd.encode(e);else return;let r=this.textState.font,i=yd(n,r);if(i.length===0)return;let a=$d(this.textMatrix,this.ctm),o=a[4],s=a[5],c=this.textState.fontSize*Math.sqrt(a[0]*a[0]+a[1]*a[1]),l=this.calculateTextWidth(n,r),u=r.wmode===1,d=Hd(i);t.push({text:i,x:o,y:s,fontSize:Math.abs(c),fontName:r.baseFontName,width:l,charSpacing:this.textState.charSpacing,wordSpacing:this.textState.wordSpacing,horizontalScaling:this.textState.horizontalScaling,isVertical:u,isRtl:d}),this.advanceTextPosition(n,r)}showTextArray(e,t){if(!(e===void 0||!Array.isArray(e)))for(let n of e)if(typeof n==`number`){let e=-n/1e3*this.textState.fontSize*(this.textState.horizontalScaling/100);this.textMatrix[4]+=e*this.textMatrix[0],this.textMatrix[5]+=e*this.textMatrix[1]}else this.showText(n,t)}calculateTextWidth(e,t){let n=0,r=this.textState.fontSize*(this.textState.horizontalScaling/100);if(t.subtype===`Type0`||t.bytesPerCode===2){let i=0;for(;i<e.length;){let a=0;t.toUnicode?.hasCodeSpaceRanges&&(a=t.toUnicode.getCodeLength(e[i]));let o;a===2&&i+1<e.length?(o=e[i]<<8|e[i+1],i+=2):a===1?(o=e[i],i++):i+1<e.length?(o=e[i]<<8|e[i+1],i+=2):(o=e[i],i++);let s=jd(o,t)/1e3;n+=s*r+this.textState.charSpacing,o===32&&(n+=this.textState.wordSpacing)}}else for(let i=0;i<e.length;i++){let a=jd(e[i],t)/1e3;n+=a*r+this.textState.charSpacing,e[i]===32&&(n+=this.textState.wordSpacing)}return n}advanceTextPosition(e,t){let n=this.calculateTextWidth(e,t);this.textMatrix[4]+=n*this.textMatrix[0],this.textMatrix[5]+=n*this.textMatrix[1]}doXObject(e,t){if(e.length<1||this.formDepth>=10)return;let n=typeof e[0]==`string`?e[0]:String(e[0]),r=this.resources.get(`XObject`);if(!r)return;let i=this.doc.derefDict(r);if(!i)return;let a=i.get(n);if(!a)return;let o=this.doc.derefStreamWithObjNum(a);if(!o)return;let s=o.stream,c=s.dict;if(Nu(c,`Subtype`)!==`Form`)return;let l=c.get(`Resources`),u=Wd(l?this.doc.derefDict(l)??this.resources:this.resources,this.doc),d=new Map(this.fonts);for(let[e,t]of u)d.set(e,t);let f=this.fonts;this.fonts=d;let p=Iu(c,`Matrix`);p&&p.length===6&&(this.saveState(),this.concatMatrix(p));let m=this.doc.getStreamData(s,o.objNum,o.gen);this.formDepth++,this.process(m,t),this.formDepth--,p&&p.length===6&&this.restoreState(),this.fonts=f}};function Jd(e){return e===0||e===9||e===10||e===13||e===12||e===32}function Yd(e){return e===40||e===41||e===60||e===62||e===91||e===93||e===123||e===125||e===47||e===37}function Xd(e){switch(e.type){case 0:return e.numValue??0;case 3:return e.strValue??``;case 1:case 2:return e.rawBytes??new Uint8Array;case 4:return e.boolValue??!1;case 5:return null;case 9:return[];default:return e.strValue??null}}function Zd(e,t){let n=e[t];return typeof n==`number`?n:0}function Qd(e,t){let n=[];for(let r=0;r<t;r++)n.push(Zd(e,r));return n}function $d(e,t){return[e[0]*t[0]+e[1]*t[2],e[0]*t[1]+e[1]*t[3],e[2]*t[0]+e[3]*t[2],e[2]*t[1]+e[3]*t[3],e[4]*t[0]+e[5]*t[2]+t[4],e[4]*t[1]+e[5]*t[3]+t[5]]}function ef(e){try{let t=e.getCatalog().get(`AcroForm`);if(!t)return[];let n=e.derefDict(t);if(!n)return[];let r=n.get(`Fields`);if(!r)return[];let i=e.deref(r);if(!G(i))return[];let a=[],o=new Set;for(let t of i)rf(t,e,``,a,o);return a}catch{return[]}}let tf=65536,nf=32768;function rf(e,t,n,r,i){if(Au(e)){if(i.has(e.objNum))return;i.add(e.objNum)}let a=t.derefDict(e);if(!a)return;let o=Ku(a,`T`,t),s=n?o?`${n}.${o}`:n:o,c=a.get(`Kids`);if(c){let e=t.deref(c);if(G(e)){let n=!1;for(let r of e){let e=t.derefDict(r);if(e&&e.has(`T`)){n=!0;break}}if(n){for(let n of e)rf(n,t,s,r,i);return}if(af(a,t)===`Btn`){let n=of(a,t);if(n&nf&&!(n&tf)){let i=cf(a,e,s,n,t);i&&r.push(i);return}}}}let l=af(a,t);if(!l)return;let u=sf(a,s,l,t);u&&r.push(u)}function af(e,t,n=0){let r=Nu(e,`FT`);if(r)return r;if(n>=20)return;let i=e.get(`Parent`);if(i){let e=t.derefDict(i);if(e)return af(e,t,n+1)}}function of(e,t,n=0){let r=Pu(e,`Ff`);if(r!==void 0)return r;if(n>=20)return 0;let i=e.get(`Parent`);if(i){let e=t.derefDict(i);if(e)return of(e,t,n+1)}return 0}function sf(e,t,n,r){let i=of(e,r),a=ff(e,r),o=Ku(e,`DV`,r),s=lf(n,i),c=[],l=``;return n===`Ch`&&(c=uf(e,r)),n===`Btn`&&!(i&tf)&&!(i&nf)&&(l=df(e,r)),{name:t||`(unnamed)`,type:s,value:a,defaultValue:o,readOnly:!!(i&1),required:!!(i&2),options:c,exportValue:l,flags:i}}function cf(e,t,n,r,i){let a=ff(e,i),o=Ku(e,`DV`,i),s=[];for(let e of t){let t=i.derefDict(e);if(!t)continue;let n=i.derefDict(t.get(`AP`));if(!n)continue;let r=i.derefDict(n.get(`N`));if(r)for(let e of r.keys())e!==`Off`&&!s.includes(e)&&s.push(e)}return{name:n||`(unnamed)`,type:`radio`,value:a,defaultValue:o,readOnly:!!(r&1),required:!!(r&2),options:s,exportValue:``,flags:r}}function lf(e,t){switch(e){case`Tx`:return`text`;case`Btn`:return t&tf?`button`:t&nf?`radio`:`checkbox`;case`Ch`:return t&131072?`dropdown`:`listbox`;case`Sig`:return`signature`;default:return`unknown`}}function uf(e,t){let n=e.get(`Opt`);if(!n)return[];let r=t.deref(n);if(!G(r))return[];let i=[];for(let e of r){let n=t.deref(e);if(typeof n==`string`)i.push(n);else if(n instanceof Uint8Array)i.push(zu(n));else if(G(n)&&n.length>=2){let e=t.deref(n[1]);typeof e==`string`?i.push(e):e instanceof Uint8Array&&i.push(zu(e))}}return i}function df(e,t){let n=t.derefDict(e.get(`AP`));if(!n)return`Yes`;let r=t.derefDict(n.get(`N`));if(!r)return`Yes`;for(let e of r.keys())if(e!==`Off`)return e;return`Yes`}function ff(e,t,n=0){let r=e.get(`V`);if(r!==void 0)return pf(r,t);if(n>=20)return``;let i=e.get(`Parent`);if(i){let e=t.derefDict(i);if(e)return ff(e,t,n+1)}return``}function pf(e,t){let n=t.deref(e);return typeof n==`string`?n:n instanceof Uint8Array?zu(n):typeof n==`number`?String(n):typeof n==`boolean`?n?`true`:`false`:``}function mf(e,t){let n=[],r=t.resolvePageResources(e).get(`XObject`);if(!r)return n;let i=t.derefDict(r);if(!i)return n;let a=0;for(let[e,r]of i){let i=t.derefStreamWithObjNum(r);if(!i)continue;let o=i.stream.dict;if(Nu(o,`Subtype`)!==`Image`)continue;let s=hf(e,i.stream,o,t,a,i.objNum,i.gen);s&&(n.push(s),a++)}return n}function hf(e,t,n,r,i,a=0,o=0){let s=Pu(n,`Width`)??Pu(n,`W`)??0,c=Pu(n,`Height`)??Pu(n,`H`)??0,l=Pu(n,`BitsPerComponent`)??Pu(n,`BPC`)??8;if(s===0||c===0)return null;let{colorSpace:u,components:d}=gf(n,r),f=vf(n),p,m;f===`DCTDecode`||f===`DCT`?(p=r.getStreamData(t,a,o),m=`jpeg`):f===`JPXDecode`?(p=r.getStreamData(t,a,o),m=`jpx`):f===`CCITTFaxDecode`||f===`CCF`?(p=r.getStreamData(t,a,o),m=`ccitt`):f===`JBIG2Decode`?(p=r.getStreamData(t,a,o),m=`jbig2`):(p=r.getStreamData(t,a,o),m=`raw`);let h=null,g=n.get(`SMask`);if(g){let e=r.derefStreamWithObjNum(g);e&&(h=r.getStreamData(e.stream,e.objNum,e.gen))}return{index:i,width:s,height:c,bitsPerComponent:l,colorSpace:u,components:d,format:m,data:p,alphaMask:h,filter:f,name:e}}function gf(e,t){let n=e.get(`ColorSpace`)??e.get(`CS`);if(typeof n==`string`)return _f(n);if(G(n)&&n.length>0){let e=n[0];if(typeof e==`string`){if(e===`ICCBased`){if(n.length>1){let e=t.derefStream(n[1]);if(e)return{colorSpace:`ICCBased`,components:Pu(e.dict,`N`)??3}}return{colorSpace:`ICCBased`,components:3}}return e===`Indexed`||e===`I`?{colorSpace:`Indexed`,components:1}:e===`Separation`?{colorSpace:`Separation`,components:1}:e===`DeviceN`?{colorSpace:`DeviceN`,components:G(n[1])?n[1].length:1}:_f(e)}}if(Au(n)){let e=t.deref(n);if(typeof e==`string`)return _f(e);if(G(e)&&e.length>0&&typeof e[0]==`string`)return gf(new Map([[`ColorSpace`,e]]),t)}return{colorSpace:`DeviceRGB`,components:3}}function _f(e){switch(e){case`DeviceGray`:case`G`:case`CalGray`:return{colorSpace:e,components:1};case`DeviceRGB`:case`RGB`:case`CalRGB`:return{colorSpace:e,components:3};case`DeviceCMYK`:case`CMYK`:return{colorSpace:e,components:4};default:return{colorSpace:e,components:3}}}function vf(e){let t=e.get(`Filter`)??e.get(`F`);if(typeof t==`string`)return t;if(G(t)&&t.length>0){let e=new Set([`DCTDecode`,`DCT`,`JPXDecode`,`CCITTFaxDecode`,`CCF`,`JBIG2Decode`]);for(let n=t.length-1;n>=0;n--){let r=t[n];if(typeof r==`string`&&e.has(r))return r}let n=t[0];if(typeof n==`string`)return n}return``}function yf(e){let t={title:``,author:``,subject:``,keywords:``,creator:``,producer:``,creationDate:null,modDate:null,pdfVersion:bf(e),pageCount:0,encrypted:e.trailer.has(`Encrypt`),pageSize:null,xmpXml:null,custom:{}};xf(e,t),Sf(e,t);try{let n=e.getPages();t.pageCount=n.length,n.length>0&&(t.pageSize=Tf(n[0],e))}catch{}return t}function bf(e){let t=e.data;if(t[0]===37&&t[1]===80&&t[2]===68&&t[3]===70&&t[4]===45){let e=``;for(let n=5;n<Math.min(t.length,15);n++){let r=t[n];if(r===10||r===13||r===32)break;e+=String.fromCharCode(r)}return e}try{let t=e.getCatalog().get(`Version`);if(typeof t==`string`)return t}catch{}return`1.0`}function xf(e,t){let n=Lu(e.trailer,`Info`);if(!n)return;let r=e.derefDict(n);if(!r)return;let i=new Set([`Title`,`Author`,`Subject`,`Keywords`,`Creator`,`Producer`,`CreationDate`,`ModDate`]);for(let[e,n]of r){let r=n instanceof Uint8Array?zu(n):String(n??``);switch(e){case`Title`:t.title=r;break;case`Author`:t.author=r;break;case`Subject`:t.subject=r;break;case`Keywords`:t.keywords=r;break;case`Creator`:t.creator=r;break;case`Producer`:t.producer=r;break;case`CreationDate`:t.creationDate=Ef(r);break;case`ModDate`:t.modDate=Ef(r);break;default:i.has(e)||(t.custom[e]=r)}}}function Sf(e,t){try{let n=e.getCatalog().get(`Metadata`);if(!n)return;let r=e.derefStreamWithObjNum(n);if(!r)return;let i=e.getStreamData(r.stream,r.objNum,r.gen),a=new TextDecoder(`utf-8`).decode(i);if(t.xmpXml=a,t.title||=Cf(a,`dc:title`)??``,t.author||=Cf(a,`dc:creator`)??``,t.subject||=Cf(a,`dc:description`)??``,t.keywords||=Cf(a,`pdf:Keywords`)??``,t.creator||=Cf(a,`xmp:CreatorTool`)??``,t.producer||=Cf(a,`pdf:Producer`)??``,!t.creationDate){let e=Cf(a,`xmp:CreateDate`);e&&(t.creationDate=new Date(e))}if(!t.modDate){let e=Cf(a,`xmp:ModifyDate`);e&&(t.modDate=new Date(e))}}catch{}}function Cf(e,t){let n=RegExp(`<${t}[^>]*>([^<]+)</${t}>`,`i`).exec(e);if(n)return wf(n[1].trim());let r=RegExp(`<${t}[^>]*>.*?<rdf:li[^>]*>([^<]+)</rdf:li>`,`is`).exec(e);return r?wf(r[1].trim()):null}function wf(e){return e.replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/&/g,`&`)}function Tf(e,t){return t.resolvePageBox(e)}function Ef(e){if(!e)return null;let t=e;t.startsWith(`D:`)&&(t=t.substring(2));let n=parseInt(t.substring(0,4),10);if(isNaN(n))return null;let r=parseInt(t.substring(4,6),10)||1,i=parseInt(t.substring(6,8),10)||1,a=parseInt(t.substring(8,10),10)||0,o=parseInt(t.substring(10,12),10)||0,s=parseInt(t.substring(12,14),10)||0,c=t.charAt(14),l=0;if(c===`+`||c===`-`){let e=parseInt(t.substring(15,17),10)||0,n=parseInt(t.substring(18,20),10)||0;l=(e*60+n)*(c===`-`?-1:1)}let u=new Date(Date.UTC(n,r-1,i,a,o,s));return l!==0&&c!==`Z`&&u.setUTCMinutes(u.getUTCMinutes()-l),isNaN(u.getTime())?null:u}Nt(),Zt(),ce(),At();let Df=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]),Of=new TextEncoder;function kf(e,t=``){let n=e.derefDict(e.trailer.get(`Encrypt`));if(!n)return!0;let r=Nu(n,`Filter`);if(r!==`Standard`)throw new T(`Unsupported encryption filter: ${r}`);let i=Pu(n,`V`)??0,a=Pu(n,`R`)??0,o=(Pu(n,`Length`)??40)/8,s=Pu(n,`P`)??0,c=Ru(n,`O`),l=Ru(n,`U`);if(!c||!l)throw new T(`Missing /O or /U values in Encrypt dictionary`);let u=Iu(e.trailer,`ID`),d=u&&u.length>0&&u[0]instanceof Uint8Array?u[0]:new Uint8Array,f=Uf(n);if(i===5)return jf(e,n,t,a,c,l,s,d);let p=i===4&&Wf(n),m=If(t,c,s,d,a,o,l,f);if(m||=If(Rf(t,c,a,o),c,s,d,a,o,l,f),m||t!==``&&(m=If(``,c,s,d,a,o,l,f)),!m)return!1;let h=m;return e.decryptFn=p?(e,t,n)=>Bf(e,t,n,h):(e,t,n)=>zf(e,t,n,h),!0}function Af(e){return e.trailer.has(`Encrypt`)}function jf(e,t,n,r,i,a,o,s){if(r===6)throw new T(`R=6 (PDF 2.0 extension) requires SHA-384/SHA-512 which is not yet supported`);if(r!==5)throw new T(`Unsupported revision ${r} for V=5 encryption`);let c=Ru(t,`OE`),l=Ru(t,`UE`);if(!c||!l)throw new T(`Missing /OE or /UE values in V=5 Encrypt dictionary`);if(i.length<48||a.length<48)throw new T(`Invalid /O or /U length for V=5 encryption`);let u=Mf(n),d=Nf(u,a,l);if(d||=Pf(u,i,c,a),!d&&n!==``){let e=new Uint8Array;d=Nf(e,a,l),d||=Pf(e,i,c,a)}if(!d)return!1;let f=d;return e.decryptFn=(e,t,n)=>Ff(e,f),!0}function Mf(e){let t=Of.encode(e);return t.length>127?t.subarray(0,127):t}function Nf(e,t,n){let r=t.subarray(0,32),i=t.subarray(32,40),a=t.subarray(40,48);if(!Hf(Mt(se([e,i])),r))return null;let o=Mt(se([e,a])),s=new Uint8Array(16);return dt(n.subarray(0,32),o,s)}function Pf(e,t,n,r){let i=t.subarray(0,32),a=t.subarray(32,40),o=t.subarray(40,48),s=r.subarray(0,48);if(!Hf(Mt(se([e,a,s])),i))return null;let c=Mt(se([e,o,s])),l=new Uint8Array(16);return dt(n.subarray(0,32),c,l)}function Ff(e,t){if(e.length<16)return e;let n=e.subarray(0,16),r=e.subarray(16);return r.length===0||r.length%16!=0?e:ut(r,t,n)}function If(e,t,n,r,i,a,o,s){let c=Lf(e,t,n,r,i,a,s);if(i===2){if(Hf(vt(c,Df),o.subarray(0,32)))return c}else if(i>=3){let e=new Uint8Array(32+r.length);e.set(Df),e.set(r,32);let t=vt(c,jt(e));for(let e=1;e<=19;e++){let n=new Uint8Array(c.length);for(let t=0;t<c.length;t++)n[t]=c[t]^e;t=vt(n,t)}if(Hf(t.subarray(0,16),o.subarray(0,16)))return c}return null}function Lf(e,t,n,r,i,a,o){let s=Vf(e),c=i>=4&&!o?4:0,l=new Uint8Array(68+r.length+c),u=0;l.set(s,u),u+=32,l.set(t.subarray(0,32),u),u+=32,l[u]=n&255,l[u+1]=n>>8&255,l[u+2]=n>>16&255,l[u+3]=n>>24&255,u+=4,l.set(r,u),u+=r.length,i>=4&&!o&&(l[u]=255,l[u+1]=255,l[u+2]=255,l[u+3]=255,u+=4);let d=jt(l.subarray(0,u));if(i>=3)for(let e=0;e<50;e++)d=jt(d.subarray(0,a));return d.subarray(0,a)}function Rf(e,t,n,r){let i=jt(Vf(e));if(n>=3)for(let e=0;e<50;e++)i=jt(i.subarray(0,r));let a=i.subarray(0,r),o=new Uint8Array(t.subarray(0,32));if(n===2)o=vt(a,o);else if(n>=3)for(let e=19;e>=0;e--){let t=new Uint8Array(a.length);for(let n=0;n<a.length;n++)t[n]=a[n]^e;o=vt(t,o)}let s=``;for(let e=0;e<32&&!(o[e]===Df[0]&&Hf(o.subarray(e,e+Math.min(32-e,32)),Df.subarray(0,Math.min(32-e,32))));e++)s+=String.fromCharCode(o[e]);return s}function zf(e,t,n,r){let i=new Uint8Array(r.length+5);i.set(r),i[r.length]=t&255,i[r.length+1]=t>>8&255,i[r.length+2]=t>>16&255,i[r.length+3]=n&255,i[r.length+4]=n>>8&255;let a=jt(i),o=Math.min(r.length+5,16);return vt(a.subarray(0,o),e)}function Bf(e,t,n,r){if(e.length<16)return e;let i=new Uint8Array(r.length+5+4);i.set(r),i[r.length]=t&255,i[r.length+1]=t>>8&255,i[r.length+2]=t>>16&255,i[r.length+3]=n&255,i[r.length+4]=n>>8&255,i[r.length+5]=115,i[r.length+6]=65,i[r.length+7]=108,i[r.length+8]=84;let a=jt(i),o=Math.min(r.length+5,16),s=a.subarray(0,o),c=e.subarray(0,16),l=e.subarray(16);return l.length===0||l.length%16!=0?e:ut(l,s,c)}function Vf(e){let t=new Uint8Array(32),n=Of.encode(e),r=Math.min(n.length,32);return t.set(n.subarray(0,r)),t.set(Df.subarray(0,32-r),r),t}function Hf(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function Uf(e){let t=Fu(e,`EncryptMetadata`);if(t!==void 0)return t;let n=e.get(`CF`);if(n&&n instanceof Map){let e=n.get(`StdCF`);if(e&&e instanceof Map){let t=e.get(`EncryptMetadata`);if(typeof t==`boolean`)return t}}return!0}function Wf(e){let t=e.get(`CF`);if(!t||!(t instanceof Map))return!1;let n=t.get(`StdCF`);return!n||!(n instanceof Map)?!1:n.get(`CFM`)===`AESV2`}Ue(),Ie();function Gf(e,t){let n=t.get(`Filter`);if(n==null)return e;let r=t.get(`DecodeParms`)??t.get(`DP`);if(typeof n==`string`)return Kf(e,n,Mu(r)?r:void 0);if(G(n)){let t=e,i=G(r)?r:[];for(let e=0;e<n.length;e++){let r=n[e],a=i[e],o=Mu(a)?a:void 0;t=Kf(t,r,o)}return t}return e}function Kf(e,t,n){switch(t){case`FlateDecode`:case`Fl`:return qf(e,n);case`ASCII85Decode`:case`A85`:return Qf(e);case`ASCIIHexDecode`:case`AHx`:return $f(e);case`LZWDecode`:case`LZW`:return ep(e,n);case`RunLengthDecode`:case`RL`:return tp(e);case`DCTDecode`:case`DCT`:return e;case`JPXDecode`:return e;case`CCITTFaxDecode`:case`CCF`:return e;case`JBIG2Decode`:return e;case`Crypt`:return e;default:return e}}function qf(e,t){if(e.length===0)return e;let n;try{n=He(e)}catch{try{n=ue(e)}catch{return e}}return t&&(Pu(t,`Predictor`)??1)>1&&(n=Jf(n,t)),n}function Jf(e,t){let n=Pu(t,`Predictor`)??1,r=Pu(t,`Columns`)??1,i=Pu(t,`Colors`)??1,a=Pu(t,`BitsPerComponent`)??8;return n===1?e:n===2?Yf(e,r,i,a):n>=10&&n<=15?Xf(e,r,i,a):e}function Yf(e,t,n,r){let i=Math.ceil(n*r/8),a=Math.ceil(t*n*r/8),o=Math.floor(e.length/a),s=new Uint8Array(e.length);for(let t=0;t<o;t++){let n=t*a;for(let t=0;t<i;t++)s[n+t]=e[n+t];for(let t=i;t<a;t++)s[n+t]=e[n+t]+s[n+t-i]&255}return s}function Xf(e,t,n,r){let i=Math.max(1,Math.ceil(n*r/8)),a=Math.ceil(t*n*r/8),o=a+1,s=Math.floor(e.length/o),c=new Uint8Array(s*a);for(let t=0;t<s;t++){let n=t*o,r=t*a,s=e[n];for(let o=0;o<a;o++){let l=e[n+1+o],u=o>=i?c[r+o-i]:0,d=t>0?c[r-a+o]:0,f=t>0&&o>=i?c[r-a+o-i]:0;switch(s){case 0:c[r+o]=l;break;case 1:c[r+o]=l+u&255;break;case 2:c[r+o]=l+d&255;break;case 3:c[r+o]=l+(u+d>>1)&255;break;case 4:c[r+o]=l+Zf(u,d,f)&255;break;default:c[r+o]=l}}}return c}function Zf(e,t,n){let r=e+t-n,i=Math.abs(r-e),a=Math.abs(r-t),o=Math.abs(r-n);return i<=a&&i<=o?e:a<=o?t:n}function Qf(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if(r===32||r===9||r===10||r===13||r===12){n++;continue}if(r===126)break;if(r===122){t.push(0,0,0,0),n++;continue}let i=[];for(;i.length<5&&n<e.length;){let t=e[n];if(t===126)break;if(t===32||t===9||t===10||t===13||t===12){n++;continue}if(t<33||t>117){n++;continue}i.push(t-33),n++}if(i.length===0)break;let a=i.length-1;for(;i.length<5;)i.push(84);let o=i[0]*85*85*85*85+i[1]*85*85*85+i[2]*85*85+i[3]*85+i[4],s=[o>>>24&255,o>>>16&255,o>>>8&255,o&255];for(let e=0;e<a;e++)t.push(s[e])}return new Uint8Array(t)}function $f(e){let t=[],n=-1;for(let r=0;r<e.length;r++){let i=e[r];if(i===62)break;if(i===32||i===9||i===10||i===13||i===12)continue;let a;if(i>=48&&i<=57)a=i-48;else if(i>=65&&i<=70)a=i-65+10;else if(i>=97&&i<=102)a=i-97+10;else continue;n<0?n=a:(t.push(n<<4|a),n=-1)}return n>=0&&t.push(n<<4),new Uint8Array(t)}function ep(e,t){let n=t?Pu(t,`EarlyChange`)??1:1,r=[],i=0;function a(t){let n=0;for(let r=0;r<t;r++){let t=i+r>>3,a=7-(i+r&7);t<e.length&&(n=n<<1|e[t]>>a&1)}return i+=t,n}let o=9,s=258,c=[];function l(){c=[];for(let e=0;e<256;e++)c[e]=new Uint8Array([e]);c[256]=new Uint8Array,c[257]=new Uint8Array,s=258,o=9}l();let u=null;for(;i<e.length*8;){let e=a(o);if(e===257)break;if(e===256){l(),u=null;continue}let t;if(e<s&&c[e])t=c[e];else if(e===s&&u)t=new Uint8Array(u.length+1),t.set(u),t[u.length]=u[0];else break;for(let e=0;e<t.length;e++)r.push(t[e]);if(u!==null){let e=new Uint8Array(u.length+1);e.set(u),e[u.length]=t[0],c[s]=e,s++,(n?s:s+1)>=1<<o&&o<12&&o++}u=t}let d=new Uint8Array(r);return t&&(Pu(t,`Predictor`)??1)>1&&(d=Jf(d,t)),d}function tp(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if(n++,r===128)break;if(r<128){let i=r+1;for(let r=0;r<i&&n<e.length;r++)t.push(e[n]),n++}else{let i=257-r;if(n<e.length){let r=e[n];n++;for(let e=0;e<i;e++)t.push(r)}}}return new Uint8Array(t)}Zt();let np=new TextEncoder;var rp=class{constructor(e){this.xref=new Map,this.cache=new Map,this.objStmCache=new Map,this.decryptFn=null,this.tokenizer=new ku(e),this.trailer=this.parseFileStructure()}get data(){return this.tokenizer.bytes}parseFileStructure(){try{let e=this.findStartxref();return this.parseXrefChain(e)}catch{return this.reconstructXref()}}findStartxref(){let e=this.tokenizer.bytes,t=np.encode(`startxref`),n=this.tokenizer.findSequenceBackward(t);if(n<0)throw new T(`Could not find startxref keyword`);this.tokenizer.pos=n+t.length,this.tokenizer.skipWhitespaceAndComments();let r=``;for(;this.tokenizer.pos<e.length;){let t=e[this.tokenizer.pos];if(t>=48&&t<=57)r+=String.fromCharCode(t),this.tokenizer.pos++;else break}let i=parseInt(r,10);if(isNaN(i))throw new T(`Invalid startxref offset`);return i}parseXrefChain(e){let t=null,n=e,r=new Set;for(;n!==null&&!r.has(n);){r.add(n),this.tokenizer.pos=n,this.tokenizer.skipWhitespaceAndComments();let e=this.tokenizer.pos,i=this.tokenizer.next();if(i.type===6&&i.strValue===`xref`){let e=this.parseTraditionalXref();t?this.mergeTrailer(t,e):t=e,n=Pu(e,`Prev`)??null}else if(i.type===0){this.tokenizer.pos=e;let r=this.parseXrefStream(n);t?this.mergeTrailer(t,r):t=r,n=Pu(r,`Prev`)??null}else throw new T(`Invalid xref at offset ${n}: expected 'xref' keyword or xref stream`)}if(!t)throw new T(`No trailer found`);return t}parseTraditionalXref(){for(;;){this.tokenizer.skipWhitespaceAndComments();let e=this.tokenizer.pos,t=this.tokenizer.next();if(t.type===6&&t.strValue===`trailer`)break;if(t.type!==0){this.tokenizer.pos=e;break}let n=t.numValue,r=this.tokenizer.next();if(r.type!==0)throw new T(`Invalid xref subsection header`);let i=r.numValue;for(let e=0;e<i;e++){let t=n+e;this.tokenizer.skipWhitespaceAndComments();let r=this.tokenizer.readLine().trim().split(/\s+/);if(r.length<3)continue;let i=parseInt(r[0],10),a=parseInt(r[1],10);r[2]===`n`&&!this.xref.has(t)&&this.xref.set(t,{offset:i,gen:a,type:1})}}this.tokenizer.skipWhitespaceAndComments();let e=Hu(this.tokenizer);if(!Mu(e))throw new T(`Expected dictionary after 'trailer' keyword`);return e}parseXrefStream(e){this.tokenizer.pos=e;let t=Hu(this.tokenizer);if(!ju(t))throw new T(`Expected xref stream object`);let n=t.dict,r=Nu(n,`Type`);if(r!==`XRef`)throw new T(`Expected /Type /XRef, got /Type /${r}`);let i=Gf(t.data,n),a=Iu(n,`W`);if(!a||a.length<3)throw new T(`Invalid /W array in xref stream`);let o=a[0],s=a[1],c=a[2],l=o+s+c,u=Pu(n,`Size`)??0,d=Iu(n,`Index`);d||=[0,u];let f=0;for(let e=0;e<d.length;e+=2){let t=d[e],n=d[e+1];for(let e=0;e<n&&!(f+l>i.length);e++){let n=t+e,r=o>0?ip(i,f,o):1,a=ip(i,f+o,s),u=c>0?ip(i,f+o+s,c):0;f+=l,!this.xref.has(n)&&(r===0||(r===1?this.xref.set(n,{offset:a,gen:u,type:1}):r===2&&this.xref.set(n,{offset:a,gen:u,type:2})))}}return n}reconstructXref(){let e=this.tokenizer.bytes;this.xref.clear();let t=np.encode(`obj`),n=0;for(;n<e.length-5;){if(e[n]<48||e[n]>57){n++;continue}if(n>0&&e[n-1]!==10&&e[n-1]!==13&&e[n-1]!==32){n++;continue}let r=n,i=``;for(;n<e.length&&e[n]>=48&&e[n]<=57;)i+=String.fromCharCode(e[n]),n++;if(i.length===0||n>=e.length||e[n]!==32){n=r+1;continue}n++;let a=``;for(;n<e.length&&e[n]>=48&&e[n]<=57;)a+=String.fromCharCode(e[n]),n++;if(a.length===0||n>=e.length||e[n]!==32){n=r+1;continue}if(n++,n+t.length<=e.length&&e[n]===t[0]&&e[n+1]===t[1]&&e[n+2]===t[2]){let t=n+3;if(t>=e.length||e[t]===32||e[t]===10||e[t]===13||e[t]===9||e[t]===60){let e=parseInt(i,10),t=parseInt(a,10);this.xref.has(e)||this.xref.set(e,{offset:r,gen:t,type:1})}}n=r+1}if(this.xref.size===0)throw new T(`Could not reconstruct xref: no objects found`);let r=np.encode(`trailer`),i=this.tokenizer.findSequenceBackward(r);if(i>=0){this.tokenizer.pos=i+r.length,this.tokenizer.skipWhitespaceAndComments();try{let e=Hu(this.tokenizer);if(Mu(e))return e}catch{}}let a=new Map;a.set(`Size`,this.xref.size);for(let[e,t]of this.xref)if(t.type===1)try{this.tokenizer.pos=t.offset;let n=Hu(this.tokenizer);if(Mu(n)){if(Nu(n,`Type`)===`Catalog`){a.set(`Root`,{type:`ref`,objNum:e,gen:t.gen});break}}else if(ju(n)&&Nu(n.dict,`Type`)===`Catalog`){a.set(`Root`,{type:`ref`,objNum:e,gen:t.gen});break}}catch{}return a}mergeTrailer(e,t){for(let[n,r]of t)e.has(n)||e.set(n,r)}resolve(e,t=0){let n=`${e}:${t}`;if(this.cache.has(n))return this.cache.get(n);let r=this.xref.get(e);if(!r)return null;let i=null;return r.type===1?i=this.parseObjectAt(r.offset,e,r.gen):r.type===2&&(i=this.parseCompressedObject(r.offset,r.gen)),i!==null&&this.decryptFn&&(i=this.decryptObjectStrings(i,e,r.gen)),i!==null&&this.cache.set(n,i),i}resolveWithObjNum(e,t=0){return{obj:this.resolve(e,t),objNum:e,gen:t}}deref(e){return e==null?null:Au(e)?this.resolve(e.objNum,e.gen):e}derefDict(e){let t=this.deref(e);return t===null?null:Mu(t)?t:ju(t)?t.dict:null}derefStream(e){let t=this.deref(e);return t===null?null:ju(t)?t:null}derefStreamWithObjNum(e){if(e==null)return null;let t=0,n=0;Au(e)&&(t=e.objNum,n=e.gen);let r=this.deref(e);return r===null?null:ju(r)?{stream:r,objNum:t,gen:n}:null}getStreamData(e,t=0,n=0){let r=e.data;return this.decryptFn&&(r=this.decryptFn(r,t,n)),Gf(r,e.dict)}decryptString(e,t,n){return this.decryptFn?this.decryptFn(e,t,n):e}decodeString(e,t=0,n=0){return zu(this.decryptString(e,t,n))}decryptObjectStrings(e,t,n){if(typeof e!=`object`||!e)return e;if(e instanceof Uint8Array)return this.decryptFn(e,t,n);if(Mu(e)){let r=new Map;for(let[i,a]of e)r.set(i,this.decryptObjectStrings(a,t,n));return r}return G(e)?e.map(e=>this.decryptObjectStrings(e,t,n)):ju(e)?{type:`stream`,dict:this.decryptObjectStrings(e.dict,t,n),data:e.data}:e}getCatalog(){let e=Lu(this.trailer,`Root`);if(!e)throw new T(`No /Root in trailer`);let t=this.derefDict(e);if(!t)throw new T(`Could not resolve catalog`);return t}getPages(){return this.getPagesWithObjInfo().map(e=>e.dict)}getPagesWithObjInfo(){let e=this.getCatalog().get(`Pages`),t=this.derefDict(e);if(!t)throw new T(`Could not resolve /Pages`);let n=[],r=new Set;return this.collectPages(t,n,r),n}collectPages(e,t,n){if(n.has(e))return;if(n.add(e),Nu(e,`Type`)===`Page`){t.push({dict:e,objNum:0,gen:0});return}let r=Iu(e,`Kids`);if(r)for(let e of r){let r=0,i=0;Au(e)&&(r=e.objNum,i=e.gen);let a=this.derefDict(e);a&&(Nu(a,`Type`)===`Page`?t.push({dict:a,objNum:r,gen:i}):this.collectPages(a,t,n))}}getObjNumForRef(e){return e.objNum}parseObjectAt(e,t,n){this.tokenizer.pos=e;try{return Hu(this.tokenizer)}catch{return null}}parseCompressedObject(e,t){let n;if(this.objStmCache.has(e)?n=this.objStmCache.get(e):(n=this.parseObjectStream(e)??void 0,n&&this.objStmCache.set(e,n)),!n)return null;let r=0;for(let[,e]of n){if(r===t)return e;r++}return null}parseObjectStream(e){let t=this.xref.get(e);if(!t||t.type!==1)return null;this.tokenizer.pos=t.offset;let n=Hu(this.tokenizer);if(!ju(n))return null;let r=n.dict,i=Pu(r,`N`)??0,a=Pu(r,`First`)??0,o=this.getStreamData(n,e,t.gen),s=new ku(o),c=[];for(let e=0;e<i;e++){let e=s.next(),t=s.next();e.type===0&&t.type===0&&c.push([e.numValue,t.numValue])}let l=new Map;for(let[e,t]of c){let n=new ku(o,a+t);try{let t=Hu(n);l.set(e,t)}catch{}}return l}resolvePageBox(e,t){let n=t??new Set;if(n.has(e))return null;n.add(e);for(let t of[`MediaBox`,`CropBox`]){let n=e.get(t);if(!n)continue;let r=this.deref(n);if(Array.isArray(r)&&r.length===4){let e=Math.abs(r[2]-r[0]),t=Math.abs(r[3]-r[1]);if(e>0&&t>0)return{width:e,height:t}}}let r=e.get(`Parent`);if(r){let e=this.derefDict(r);if(e)return this.resolvePageBox(e,n)}return null}resolvePageResources(e,t){let n=t??new Set;if(n.has(e))return new Map;n.add(e);let r=e.get(`Resources`);if(r){let e=this.derefDict(r);if(e)return e}let i=e.get(`Parent`);if(i){let e=this.derefDict(i);if(e)return this.resolvePageResources(e,n)}return new Map}};function ip(e,t,n){let r=0;for(let i=0;i<n;i++)r=r*256+(e[t+i]??0);return r}function ap(e,t,n){if(e.length===0)return[];let r=e.filter(e=>!e.isVertical&&e.text.trim().length>0);if(r.length<4)return[];let i=op(r);if(i.length<2)return[];let a=sp(i,t);if(a.length<2)return[];let o=cp(i,a),s=[];for(let e of o){let t=up(i,a,e.start,e.end,n);t&&s.push(t)}return s}function op(e){let t=[...e].sort((e,t)=>{let n=t.y-e.y;return Math.abs(n)>1?n:e.x-t.x}),n=[],r=[t[0]],i=t[0].y;for(let e=1;e<t.length;e++){let a=t[e],o=(r[0].fontSize+a.fontSize)/2,s=Math.max(o*.4,2);Math.abs(a.y-i)<=s?r.push(a):(r.sort((e,t)=>e.x-t.x),n.push({y:i,fragments:r,fontSize:r[0].fontSize}),r=[a],i=a.y)}return r.length>0&&(r.sort((e,t)=>e.x-t.x),n.push({y:i,fragments:r,fontSize:r[0].fontSize})),n}function sp(e,t){let n=e.map(e=>e.fragments.length),r=new Map;for(let e of n)e>=2&&r.set(e,(r.get(e)??0)+1);if(r.size===0)return[];let i=0,a=0;for(let[e,t]of r)(t>a||t===a&&e>i)&&(i=e,a=t);if(i<2||a<2)return[];let o=e.filter(e=>e.fragments.length===i),s=Array.from({length:i-1},()=>-1/0),c=Array.from({length:i-1},()=>1/0);for(let e of o){let t=e.fragments;for(let e=0;e+1<t.length;e++){let n=t[e].x+t[e].width,r=t[e+1].x;s[e]=Math.max(s[e],n),c[e]=Math.min(c[e],r)}}let l=[];for(let e=0;e<i-1;e++){let t=s[e],n=c[e];n>t?l.push((t+n)/2):l.push(n)}if(l.length<1)return[];let u=1/0,d=-1/0;for(let t of e)for(let e of t.fragments)u=Math.min(u,e.x),d=Math.max(d,e.x+e.width);let f=[],p=u;for(let e of l)f.push({left:p,right:e}),p=e;return f.push({left:p,right:d}),f.length>=2?f:[]}function cp(e,t){let n=[];for(let r of e){let e=new Set;for(let n of r.fragments){let r=lp(n.x,t);r>=0&&e.add(r)}n.push(e.size)}let r=[],i=-1;for(let e=0;e<n.length;e++){let t=n[e]>=2;t&&i===-1?i=e:!t&&i!==-1&&(e-i>=2&&r.push({start:i,end:e-1}),i=-1)}return i!==-1&&e.length-i>=2&&r.push({start:i,end:e.length-1}),r}function lp(e,t){for(let n=t.length-1;n>=0;n--)if(e>=t[n].left-1)return n;return-1}function up(e,t,n,r,i){let a=[];for(let i=n;i<=r;i++){let o=e[i],s=dp(o,t,e,i,n,r);a.push(s)}if(a.length===0)return null;let o=e.slice(n,r+1),s=o[0].y,c=o[o.length-1].y,l=o[o.length-1].fontSize,u=[],d=[];for(let e of o)for(let t of e.fragments)u.push(t.x),d.push(t.x+t.width);let f=u.length>0?Math.min(...u):0;return{rows:a,x:f,y:s,width:(d.length>0?Math.max(...d):0)-f,height:s-c+l}}function dp(e,t,n,r,i,a){let o=new Map;for(let n of e.fragments){let e=lp(n.x,t);if(e>=0){let t=o.get(e)??[];t.push(n),o.set(e,t)}}let s=[];for(let n=0;n<t.length;n++){let r=t[n],i=o.get(n);if(i&&i.length>0){let t=i.map(e=>e.text).join(` `),n=i[0].x,r=e.y,a=i[i.length-1],o=a.x+a.width-n,c=e.fontSize;s.push({text:t.trim(),x:n,y:r,width:o,height:c})}else s.push({text:``,x:r.left,y:e.y,width:r.right-r.left,height:e.fontSize})}return{cells:s}}function fp(e){if(e.length===0)return``;let t=e.filter(e=>e.isVertical),n=e.filter(e=>!e.isVertical),r=[];return n.length>0&&r.push(mp(n)),t.length>0&&r.push(yp(t)),r.join(`
|
|
37
|
+
`;let b=e.encode(y);return t.push(b),se(t)}}}));function cn(e){let t=e.length,n=-1;for(let r=0;r<t;r++){let t=e.charCodeAt(r);if(t<128){if(dn[t]!==0){n=r;break}}else if(t>=55296&&t<=57343){if(t<=56319){let t=e.charCodeAt(r+1);if(t>=56320&&t<=57343){r++;continue}}n=r;break}else if(t===65534||t===65535){n=r;break}}if(n===-1)return e;let r=[],i=0;for(let a=n;a<t;a++){let t=e.charCodeAt(a);if(t<128){let n=dn[t];if(n===0)continue;i<a&&r.push(e.substring(i,a)),n===1&&r.push(fn[t]),i=a+1}else if(t>=55296&&t<=56319){let t=e.charCodeAt(a+1);if(t>=56320&&t<=57343){a++;continue}i<a&&r.push(e.substring(i,a)),i=a+1}else(t>=56320&&t<=57343||t===65534||t===65535)&&(i<a&&r.push(e.substring(i,a)),i=a+1)}return i<t&&r.push(e.substring(i)),r.length===1?r[0]:r.join(``)}function ln(e){let t=cn(e);return t.indexOf(` `)===-1&&t.indexOf(`
|
|
38
|
+
`)===-1&&t.indexOf(`\r`)===-1?t:t.replace(/\r/g,`
`).replace(/\n/g,`
`).replace(/\t/g,`	`)}function un(e){let t=!1;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r<32&&r!==9&&r!==10&&r!==13||r===127||r>=55296&&r<=57343||r===65534||r===65535){t=!0;break}}if(!t)return e;let n=[];for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<32){(r===9||r===10||r===13)&&n.push(e[t]);continue}if(r!==127&&r!==65534&&r!==65535){if(r>=55296&&r<=56319){let r=e.charCodeAt(t+1);r>=56320&&r<=57343&&(n.push(e[t],e[t+1]),t+=1);continue}r>=56320&&r<=57343||n.push(e[t])}}return n.join(``)}var dn,fn,pn=n((()=>{dn=(()=>{let e=new Uint8Array(128);for(let t=0;t<=8;t++)e[t]=2;e[11]=2,e[12]=2;for(let t=14;t<=31;t++)e[t]=2;return e[127]=2,e[34]=1,e[38]=1,e[39]=1,e[60]=1,e[62]=1,e})(),fn={34:`"`,38:`&`,39:`'`,60:`<`,62:`>`}}));function mn(){let e=_n(`sRGB IEC61966-2.1`),t=vn(.9505,1,1.089),n=yn(`No copyright`),r=168+e.length,i=r+t.length,a=i+n.length,o=new Uint8Array(a),s=new DataView(o.buffer);return s.setUint32(0,a),s.setUint8(8,2),s.setUint8(9,16),hn(o,12,`mntr`),hn(o,16,`RGB `),hn(o,20,`XYZ `),s.setUint16(24,2e3),s.setUint16(26,1),s.setUint16(28,1),hn(o,36,`acsp`),hn(o,40,`APPL`),s.setUint32(64,0),gn(s,68,.9642),gn(s,72,1),gn(s,76,.8249),s.setUint32(128,3),hn(o,132,`desc`),s.setUint32(136,168),s.setUint32(140,e.length),hn(o,144,`wtpt`),s.setUint32(148,r),s.setUint32(152,t.length),hn(o,156,`cprt`),s.setUint32(160,i),s.setUint32(164,n.length),o.set(e,168),o.set(t,r),o.set(n,i),o}function hn(e,t,n){for(let r=0;r<n.length;r++)e[t+r]=n.charCodeAt(r)}function gn(e,t,n){let r=Math.round(n*65536);e.setInt32(t,r)}function _n(e){let t=e.length+1,n=12+t+4+4+2+67,r=new Uint8Array(n),i=new DataView(r.buffer);hn(r,0,`desc`),i.setUint32(8,t);for(let t=0;t<e.length;t++)r[12+t]=e.charCodeAt(t);return r}function vn(e,t,n){let r=new Uint8Array(20),i=new DataView(r.buffer);return hn(r,0,`XYZ `),gn(i,8,e),gn(i,12,t),gn(i,16,n),r}function yn(e){let t=e.length+1,n=new Uint8Array(8+t);hn(n,0,`text`);for(let t=0;t<e.length;t++)n[8+t]=e.charCodeAt(t);return n}function bn(e,t){let n=new Date().toISOString().replace(/\.\d{3}Z$/,`Z`),r=cn(t.title??``),i=cn(t.author??``),a=cn(t.subject??``),o=cn(t.creator??`documonster`),c=[`<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>`,`<x:xmpmeta xmlns:x="adobe:ns:meta/">`,`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">`,`<rdf:Description rdf:about=""`,` xmlns:dc="http://purl.org/dc/elements/1.1/"`,` xmlns:xmp="http://ns.adobe.com/xap/1.0/"`,` xmlns:pdf="http://ns.adobe.com/pdf/1.3/"`,` xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/">`,` <dc:title>`,` <rdf:Alt><rdf:li xml:lang="x-default">`+r+`</rdf:li></rdf:Alt>`,` </dc:title>`,` <dc:creator>`,` <rdf:Seq><rdf:li>`+i+`</rdf:li></rdf:Seq>`,` </dc:creator>`,` <dc:description>`,` <rdf:Alt><rdf:li xml:lang="x-default">`+a+`</rdf:li></rdf:Alt>`,` </dc:description>`,` <xmp:CreatorTool>`+o+`</xmp:CreatorTool>`,` <xmp:CreateDate>`+n+`</xmp:CreateDate>`,` <xmp:ModifyDate>`+n+`</xmp:ModifyDate>`,` <pdf:Producer>documonster</pdf:Producer>`,` <pdfaid:part>1</pdfaid:part>`,` <pdfaid:conformance>B</pdfaid:conformance>`,`</rdf:Description>`,`</rdf:RDF>`,`</x:xmpmeta>`,`<?xpacket end="w"?>`].join(`
|
|
39
|
+
`),l=new TextEncoder().encode(c),u=e.allocObject(),d=new p().set(`Type`,`/Metadata`).set(`Subtype`,`/XML`).set(`Length`,s(l.length));return e.addStreamObject(u,d,l,{compress:!1}),u}function xn(e){let t=e.allocObject(),n=new p().set(`N`,s(3)).set(`Length`,s(Sn.length));e.addStreamObject(t,n,Sn);let r=e.allocObject(),i=new p().set(`Type`,`/OutputIntent`).set(`S`,`/GTS_PDFA1`).set(`OutputConditionIdentifier`,`(sRGB IEC61966-2.1)`).set(`RegistryName`,`(http://www.color.org)`).set(`Info`,`(sRGB IEC61966-2.1)`).set(`DestOutputProfile`,l(t));return e.addObject(r,i),r}var Sn,Cn=n((()=>{m(),pn(),Sn=mn()}));function wn(e,t,n,r){let{oldToNewGid:i,unicodeToCid:a,cidWidths:u,usedGlyphIds:d}=Tn(t,n),f=En(t,d,i),m=Ve(f,{level:6}),h=e.allocObject(),g=new p().set(`Length`,s(m.length)).set(`Length1`,s(f.length)).set(`Filter`,`/FlateDecode`);e.addStreamObject(h,g,m);let _=1e3/t.unitsPerEm,v=e.allocObject(),y=new p().set(`Type`,`/FontDescriptor`).set(`FontName`,o(t.postScriptName+`-Subset`)).set(`Flags`,s(t.flags)).set(`FontBBox`,c(t.bbox.map(e=>s(Math.round(e*_))))).set(`ItalicAngle`,s(t.italicAngle)).set(`Ascent`,s(Math.round(t.ascent*_))).set(`Descent`,s(Math.round(t.descent*_))).set(`CapHeight`,s(Math.round(t.capHeight*_))).set(`StemV`,s(t.stemV)).set(`FontFile2`,l(h));e.addObject(v,y);let b=jn(u,t.unitsPerEm),x=e.allocObject(),S=new p().set(`Type`,`/Font`).set(`Subtype`,`/CIDFontType2`).set(`BaseFont`,o(t.postScriptName+`-Subset`)).set(`CIDSystemInfo`,`<< /Registry (Adobe) /Ordering (Identity) /Supplement 0 >>`).set(`FontDescriptor`,l(v)).set(`DW`,s(1e3)).set(`W`,b).set(`CIDToGIDMap`,`/Identity`);e.addObject(x,S);let C=Ve(An(a),{level:6}),w=e.allocObject(),ee=new p().set(`Length`,s(C.length)).set(`Filter`,`/FlateDecode`);e.addStreamObject(w,ee,C);let te=e.allocObject(),ne=new p().set(`Type`,`/Font`).set(`Subtype`,`/Type0`).set(`BaseFont`,o(t.postScriptName+`-Subset`)).set(`Encoding`,`/Identity-H`).set(`DescendantFonts`,c([l(x)])).set(`ToUnicode`,l(w));return e.addObject(te,ne),{resourceName:r,fontObjNum:te,font:t,unicodeToCid:a,cidWidths:u}}function Tn(e,t){let n=new Set,r=new Map;n.add(0);for(let i of t){let t=e.cmap.get(i);t!==void 0&&t>0&&(n.add(t),r.set(i,t))}let i=e.tables.get(`glyf`);if(i){let t=i.offset,r=new Set(n),a=Array.from(r);for(;a.length>0;){let i=Mn(e,a.pop(),t);for(let e of i)r.has(e)||(r.add(e),n.add(e),a.push(e))}}let a=Array.from(n).sort((e,t)=>e-t),o=new Map;for(let e=0;e<a.length;e++)o.set(a[e],e);let s=new Map,c=Array(a.length).fill(0);c[0]=e.advanceWidths[0]??0;for(let[t,n]of r){let r=o.get(n);s.set(t,r),c[r]=e.advanceWidths[n]??0}return{oldToNewGid:o,unicodeToCid:s,cidWidths:c,usedGlyphIds:n}}function En(e,t,n){let r=n.size,i=Array.from(t).sort((e,t)=>e-t),a=e.tables.get(`glyf`)?.offset??0,o=[],s=[],c=0;for(let t of i){s.push(c);let r=e.glyphOffsets[t],i=e.glyphOffsets[t+1],l=i-r;if(l>0){let t=Nn(e.data.subarray(a+r,a+i),n);o.push(t),c+=l;let s=(4-l%4)%4;s>0&&(o.push(new Uint8Array(s)),c+=s)}}s.push(c);let l=se(o),u=new Uint8Array((r+1)*4),d=new DataView(u.buffer);for(let e=0;e<=r;e++)d.setUint32(e*4,s[e]??c,!1);let f=new Uint8Array(r*4),p=new DataView(f.buffer);for(let t=0;t<i.length;t++){let n=i[t];p.setUint16(t*4,e.advanceWidths[n]??0,!1),p.setInt16(t*4+2,0,!1)}let m=Dn(n,e.cmap),h=e.tables.get(`head`),g=new Uint8Array(e.data.subarray(h.offset,h.offset+h.length));new DataView(g.buffer,g.byteOffset,g.byteLength).setInt16(50,1,!1);let _=e.tables.get(`hhea`),v=new Uint8Array(e.data.subarray(_.offset,_.offset+_.length));new DataView(v.buffer,v.byteOffset,v.byteLength).setUint16(34,r,!1);let y=e.tables.get(`maxp`),b=new Uint8Array(e.data.subarray(y.offset,y.offset+y.length));new DataView(b.buffer,b.byteOffset,b.byteLength).setUint16(4,r,!1);let x=new Uint8Array(32);return new DataView(x.buffer).setUint32(0,196608,!1),On([[`head`,g],[`hhea`,v],[`maxp`,b],[`post`,x],[`cmap`,m],[`hmtx`,f],[`loca`,u],[`glyf`,l]])}function Dn(e,t){let n=[];for(let[r,i]of t){let t=e.get(i);t!==void 0&&n.push([r,t])}n.sort((e,t)=>e[0]-t[0]);let r=[];for(let[e,t]of n){let n=r[r.length-1];n&&e===n.endCP+1&&t===n.startGID+(e-n.startCP)?n.endCP=e:r.push({startCP:e,endCP:e,startGID:t})}let i=16+r.length*12,a=12+i,o=new Uint8Array(a),s=new DataView(o.buffer),c=0;s.setUint16(c,0,!1),c+=2,s.setUint16(c,1,!1),c+=2,s.setUint16(c,3,!1),c+=2,s.setUint16(c,10,!1),c+=2,s.setUint32(c,12,!1),c+=4,s.setUint16(c,12,!1),c+=2,s.setUint16(c,0,!1),c+=2,s.setUint32(c,i,!1),c+=4,s.setUint32(c,0,!1),c+=4,s.setUint32(c,r.length,!1),c+=4;for(let e of r)s.setUint32(c,e.startCP,!1),c+=4,s.setUint32(c,e.endCP,!1),c+=4,s.setUint32(c,e.startGID,!1),c+=4;return o}function On(e){let t=e.length,n=12+t*16,r=[];for(let[t,i]of e){let e=i.length,a=e+3&-4,o=new Uint8Array(a);o.set(i),r.push({tag:t,data:o,originalLength:e,offset:n,checksum:kn(o)}),n+=a}let i=new Uint8Array(n),a=new DataView(i.buffer),o=0;a.setUint32(o,65536,!1),o+=4,a.setUint16(o,t,!1),o+=2;let s=2**Math.floor(Math.log2(t));a.setUint16(o,s*16,!1),o+=2,a.setUint16(o,Math.floor(Math.log2(t)),!1),o+=2,a.setUint16(o,t*16-s*16,!1),o+=2;for(let e of r){for(let t=0;t<4;t++)i[o++]=e.tag.charCodeAt(t);a.setUint32(o,e.checksum,!1),o+=4,a.setUint32(o,e.offset,!1),o+=4,a.setUint32(o,e.originalLength,!1),o+=4}for(let e of r)i.set(e.data,e.offset);return i}function kn(e){let t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=0,r=Math.floor(e.length/4);for(let e=0;e<r;e++)n=n+t.getUint32(e*4,!1)>>>0;return n}function An(e){let t=new Map;for(let[n,r]of e)t.set(r,n);let n=Array.from(t.entries()).sort((e,t)=>e[0]-t[0]),r=[];r.push(`/CIDInit /ProcSet findresource begin`),r.push(`12 dict begin`),r.push(`begincmap`),r.push(`/CIDSystemInfo`),r.push(`<< /Registry (Adobe) /Ordering (UCS) /Supplement 0 >> def`),r.push(`/CMapName /Adobe-Identity-UCS def`),r.push(`/CMapType 2 def`),r.push(`1 begincodespacerange`),r.push(`<0000> <FFFF>`),r.push(`endcodespacerange`);for(let e=0;e<n.length;e+=100){let t=n.slice(e,e+100);r.push(`${t.length} beginbfchar`);for(let[e,n]of t){let t=e.toString(16).toUpperCase().padStart(4,`0`),i;if(n>65535){let e=55296+(n-65536>>10),t=56320+(n-65536&1023);i=e.toString(16).toUpperCase().padStart(4,`0`)+t.toString(16).toUpperCase().padStart(4,`0`)}else i=n.toString(16).toUpperCase().padStart(4,`0`);r.push(`<${t}> <${i}>`)}r.push(`endbfchar`)}r.push(`endcmap`),r.push(`CMapName currentdict /CMap defineresource pop`),r.push(`end`),r.push(`end`);let i=r.join(`
|
|
40
|
+
`);return new TextEncoder().encode(i)}function jn(e,t){if(e.length===0)return`[]`;let n=1e3/t;return`[0 [${e.map(e=>s(Math.round(e*n))).join(` `)}]]`}function Mn(e,t,n){let r=e.glyphOffsets[t];if(e.glyphOffsets[t+1]-r<4)return[];let i=new DataView(e.data.buffer,e.data.byteOffset,e.data.byteLength),a=n+r;if(i.getInt16(a,!1)>=0)return[];let o=a+10,s=[];for(;;){let e=i.getUint16(o,!1);o+=2;let t=i.getUint16(o,!1);if(o+=2,s.push(t),e&Fn?o+=4:o+=2,e&In?o+=2:e&Ln?o+=4:e&Rn&&(o+=8),!(e&Pn))break}return s}function Nn(e,t){if(e.length<10||new DataView(e.buffer,e.byteOffset,e.byteLength).getInt16(0,!1)>=0)return e;let n=new Uint8Array(e.length);n.set(e);let r=new DataView(n.buffer,n.byteOffset,n.byteLength),i=10;for(;;){let e=r.getUint16(i,!1);i+=2;let n=r.getUint16(i,!1),a=t.get(n)??0;if(r.setUint16(i,a,!1),i+=2,e&Fn?i+=4:i+=2,e&In?i+=2:e&Ln?i+=4:e&Rn&&(i+=8),!(e&Pn))break}return n}var Pn,Fn,In,Ln,Rn,zn=n((()=>{Ue(),m(),ce(),Pn=32,Fn=1,In=8,Ln=64,Rn=128}));function Bn(e,t){let n=Qn[t];return n?n.monoWidth===void 0?n.widths?.[e]??n.avgWidth:n.monoWidth:Bn(e,`Helvetica`)}function Vn(e,t,n){let r=0;for(let n=0;n<e.length;n++)r+=Bn(e.charCodeAt(n),t);return r/1e3*n}function Hn(e,t){return(Qn[e]??Qn.Helvetica).ascent/1e3*t}function Un(e,t){return(Qn[e]??Qn.Helvetica).descent/1e3*t}function Wn(e,t){let n=Qn[e]??Qn.Helvetica;return(n.ascent-n.descent)/1e3*t}function Gn(e){if(e in Qn)return e;let t=e.toLowerCase().trim();return $n[t]??`Helvetica`}function Kn(e,t,n){let r=Gn(e);if(!t&&!n)return r;let i=r.startsWith(`Times`),a=r.startsWith(`Courier`),o;if(i)o=t&&n?`Times-BoldItalic`:t?`Times-Bold`:`Times-Italic`;else{let e=a?`Courier`:`Helvetica`;o=t&&n?`${e}-BoldOblique`:t?`${e}-Bold`:`${e}-Oblique`}return o in Qn?o:r}var qn,Jn,Yn,Xn,Zn,Qn,$n,er=n((()=>{qn={32:278,33:278,34:355,35:556,36:556,37:889,38:667,39:191,40:333,41:333,42:389,43:584,44:278,45:333,46:278,47:278,48:556,49:556,50:556,51:556,52:556,53:556,54:556,55:556,56:556,57:556,58:278,59:278,60:584,61:584,62:584,63:556,64:1015,65:667,66:667,67:722,68:722,69:667,70:611,71:778,72:722,73:278,74:500,75:667,76:556,77:833,78:722,79:778,80:667,81:778,82:722,83:667,84:611,85:722,86:667,87:944,88:667,89:667,90:611,91:278,92:278,93:278,94:469,95:556,96:333,97:556,98:556,99:500,100:556,101:556,102:278,103:556,104:556,105:222,106:222,107:500,108:222,109:833,110:556,111:556,112:556,113:556,114:333,115:500,116:278,117:556,118:500,119:722,120:500,121:500,122:500,123:334,124:260,125:334,126:584},Jn={32:278,33:333,34:474,35:556,36:556,37:889,38:722,39:238,40:333,41:333,42:389,43:584,44:278,45:333,46:278,47:278,48:556,49:556,50:556,51:556,52:556,53:556,54:556,55:556,56:556,57:556,58:333,59:333,60:584,61:584,62:584,63:611,64:975,65:722,66:722,67:722,68:722,69:667,70:611,71:778,72:722,73:278,74:556,75:722,76:611,77:833,78:722,79:778,80:667,81:778,82:722,83:667,84:611,85:722,86:667,87:944,88:667,89:667,90:611,91:333,92:278,93:333,94:584,95:556,96:333,97:556,98:611,99:556,100:611,101:556,102:333,103:611,104:611,105:278,106:278,107:556,108:278,109:889,110:611,111:611,112:611,113:611,114:389,115:556,116:333,117:611,118:556,119:778,120:556,121:556,122:500,123:389,124:280,125:389,126:584},Yn={32:250,33:333,34:408,35:500,36:500,37:833,38:778,39:180,40:333,41:333,42:500,43:564,44:250,45:333,46:250,47:278,48:500,49:500,50:500,51:500,52:500,53:500,54:500,55:500,56:500,57:500,58:278,59:278,60:564,61:564,62:564,63:444,64:921,65:722,66:667,67:667,68:722,69:611,70:556,71:722,72:722,73:333,74:389,75:722,76:611,77:889,78:722,79:722,80:556,81:722,82:667,83:556,84:611,85:722,86:722,87:944,88:722,89:722,90:611,91:333,92:278,93:333,94:469,95:500,96:333,97:444,98:500,99:444,100:500,101:444,102:333,103:500,104:500,105:278,106:278,107:500,108:278,109:778,110:500,111:500,112:500,113:500,114:333,115:389,116:278,117:500,118:500,119:722,120:500,121:500,122:444,123:480,124:200,125:480,126:541},Xn={32:250,33:333,34:555,35:500,36:500,37:1e3,38:833,39:278,40:333,41:333,42:500,43:570,44:250,45:333,46:250,47:278,48:500,49:500,50:500,51:500,52:500,53:500,54:500,55:500,56:500,57:500,58:333,59:333,60:570,61:570,62:570,63:500,64:930,65:722,66:667,67:722,68:722,69:667,70:611,71:778,72:778,73:389,74:500,75:778,76:667,77:944,78:722,79:778,80:611,81:778,82:722,83:556,84:667,85:722,86:722,87:1e3,88:722,89:722,90:667,91:333,92:278,93:333,94:581,95:500,96:333,97:500,98:556,99:444,100:556,101:444,102:333,103:500,104:556,105:278,106:333,107:556,108:278,109:833,110:556,111:500,112:556,113:556,114:444,115:389,116:333,117:556,118:500,119:722,120:500,121:500,122:444,123:394,124:220,125:394,126:520},Zn=600,Qn={Helvetica:{ascent:718,descent:-207,capHeight:718,avgWidth:513,widths:qn},"Helvetica-Bold":{ascent:718,descent:-207,capHeight:718,avgWidth:535,widths:Jn},"Helvetica-Oblique":{ascent:718,descent:-207,capHeight:718,avgWidth:513,widths:qn},"Helvetica-BoldOblique":{ascent:718,descent:-207,capHeight:718,avgWidth:535,widths:Jn},"Times-Roman":{ascent:683,descent:-217,capHeight:662,avgWidth:478,widths:Yn},"Times-Bold":{ascent:683,descent:-217,capHeight:676,avgWidth:505,widths:Xn},"Times-Italic":{ascent:683,descent:-217,capHeight:653,avgWidth:478,widths:Yn},"Times-BoldItalic":{ascent:683,descent:-217,capHeight:669,avgWidth:505,widths:Xn},Courier:{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Zn},"Courier-Bold":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Zn},"Courier-Oblique":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Zn},"Courier-BoldOblique":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Zn}},$n={helvetica:`Helvetica`,arial:`Helvetica`,calibri:`Helvetica`,"segoe ui":`Helvetica`,"trebuchet ms":`Helvetica`,verdana:`Helvetica`,tahoma:`Helvetica`,"gill sans":`Helvetica`,"franklin gothic":`Helvetica`,"lucida sans":`Helvetica`,aptos:`Helvetica`,"times new roman":`Times-Roman`,times:`Times-Roman`,georgia:`Times-Roman`,garamond:`Times-Roman`,"book antiqua":`Times-Roman`,palatino:`Times-Roman`,"palatino linotype":`Times-Roman`,cambria:`Times-Roman`,"century schoolbook":`Times-Roman`,"courier new":`Courier`,courier:`Courier`,consolas:`Courier`,"lucida console":`Courier`,monaco:`Courier`,"andale mono":`Courier`,"cascadia code":`Courier`,"cascadia mono":`Courier`,menlo:`Courier`}})),tr=n((()=>{er()}));function E(e,t,n,r){return{width:O,draw:i=>{e&&(i.lineWidth(e),i.M(0,250),i.L(300,250),i.stroke()),t&&(i.lineWidth(t),i.M(300,250),i.L(600,250),i.stroke()),n&&(i.lineWidth(n),i.M(300,250),i.L(300,500),i.stroke()),r&&(i.lineWidth(r),i.M(300,250),i.L(300,0),i.stroke())}}}function nr(e,t,n,r){return{width:O,draw:i=>{i.lineWidth(30),e&&(i.M(0,220),i.L(300,220),i.stroke(),i.M(0,280),i.L(300,280),i.stroke()),t&&(i.M(300,220),i.L(600,220),i.stroke(),i.M(300,280),i.L(600,280),i.stroke()),n&&(i.M(270,250),i.L(270,500),i.stroke(),i.M(330,250),i.L(330,500),i.stroke()),r&&(i.M(270,250),i.L(270,0),i.stroke(),i.M(330,250),i.L(330,0),i.stroke())}}}function rr(e,t,n,r){return{width:O,draw:i=>{i.rect(e,t,n,r),i.fill()}}}function ir(e){let t=[200,400],n=[400,300,200,100],r=[[0,0],[0,1],[0,2],[1,0],[1,1],[1,2],[0,3],[1,3]];return{width:O,draw:i=>{for(let a=0;a<8;a++)if(e&1<<a){let[e,o]=r[a];i.circle(t[e],n[o],40),i.fill()}}}}function ar(e,t){return{width:O,draw:n=>{n.lineWidth(35),n.M(450,500),n.L(150,0),n.stroke();let r=e.length,i=t.length;for(let e=0;e<r;e++)n.circle(150+e*80,420,30),n.fill();for(let e=0;e<i;e++)n.circle(350+e*80,80,30),n.fill()}}}function D(e,t,n,r){e.M(t,n),e.L(t,r),e.stroke()}function or(e,t,n,r){e.M(t-80,r),e.L(t,n),e.L(t+80,r),e.stroke()}function sr(e,t,n,r){e.M(t-70,n),e.L(t+70,r),e.stroke(),e.M(t+70,n),e.L(t-70,r),e.stroke()}function cr(e,t,n,r){e.M(t,r),e.L(n,r),e.stroke()}function lr(e){return{width:O,draw:t=>{if(t.lineWidth(45),e<=3){let n=e,r=300-(n-1)*120/2;for(let e=0;e<n;e++)D(t,r+e*120,0,500)}else e===4?(D(t,200,0,500),or(t,380,0,500)):e===5?or(t,300,0,500):e===6?(or(t,200,0,500),D(t,400,0,500)):e===7?(or(t,160,0,500),D(t,340,0,500),D(t,460,0,500)):e===8?(t.lineWidth(40),or(t,140,0,500),D(t,300,0,500),D(t,400,0,500),D(t,500,0,500)):e===9?(D(t,200,0,500),sr(t,400,0,500)):e===10?sr(t,300,0,500):e===11?(sr(t,220,0,500),D(t,430,0,500)):e===12?(sr(t,180,0,500),D(t,370,0,500),D(t,480,0,500)):e===50?(D(t,200,0,500),cr(t,200,450,0)):e===100?(cr(t,180,450,500),D(t,180,0,500),cr(t,180,450,0)):e===500?(D(t,180,0,500),t.M(180,500),t.C(480,500,480,0,180,0),t.stroke()):e===1e3&&(D(t,100,0,500),t.M(100,500),t.L(230,200),t.L(300,500),t.stroke(),t.M(300,500),t.L(370,200),t.L(500,500),t.stroke(),D(t,500,0,500))}}}function ur(e){return{width:O,draw:t=>{if(t.lineWidth(40),e<=3){let n=e,r=300-(n-1)*100/2;for(let e=0;e<n;e++)D(t,r+e*100,0,350)}else e===4?(D(t,200,0,350),or(t,380,0,350)):e===5?or(t,300,0,350):e===6?(or(t,200,0,350),D(t,400,0,350)):e===7?(or(t,160,0,350),D(t,340,0,350),D(t,450,0,350)):e===8?(t.lineWidth(35),or(t,130,0,350),D(t,280,0,350),D(t,380,0,350),D(t,480,0,350)):e===9?(D(t,200,0,350),sr(t,400,0,350)):e===10?sr(t,300,0,350):e===11?(sr(t,220,0,350),D(t,430,0,350)):e===12?(sr(t,180,0,350),D(t,370,0,350),D(t,480,0,350)):e===50?(D(t,200,0,350),cr(t,200,450,0)):e===100?(cr(t,180,450,350),D(t,180,0,350),cr(t,180,450,0)):e===500?(D(t,180,0,350),t.M(180,350),t.C(480,350,480,0,180,0),t.stroke()):e===1e3&&(D(t,100,0,350),t.M(100,350),t.L(230,140),t.L(300,350),t.stroke(),t.M(300,350),t.L(370,140),t.L(500,350),t.stroke(),D(t,500,0,350))}}}function dr(e,t,n,r,i){Rr[t](e,n,r,i)}function fr(e,t,n,r,i){zr[t](e,n,r,i)}function pr(e){e.M(160,480),e.C(100,480,60,380,60,250),e.C(60,120,100,20,160,20),e.stroke(),e.M(440,20),e.C(500,20,540,120,540,250),e.C(540,380,500,480,440,480),e.stroke()}var O,k,A,mr,hr,gr,_r,vr,yr,br,xr,Sr,Cr,wr,Tr,Er,Dr,Or,j,M,kr,Ar,jr,Mr,Nr,Pr,Fr,Ir,Lr,Rr,zr,Br=n((()=>{O=600,k=40,A=80,mr={9472:E(k,k,0,0),9473:E(A,A,0,0),9474:E(0,0,k,k),9475:E(0,0,A,A),9476:E(k,k,0,0),9477:E(A,A,0,0),9478:E(0,0,k,k),9479:E(0,0,A,A),9480:E(k,k,0,0),9481:E(A,A,0,0),9482:E(0,0,k,k),9483:E(0,0,A,A),9484:E(0,k,0,k),9485:E(0,A,0,k),9486:E(0,k,0,A),9487:E(0,A,0,A),9488:E(k,0,0,k),9489:E(A,0,0,k),9490:E(k,0,0,A),9491:E(A,0,0,A),9492:E(0,k,k,0),9493:E(0,A,k,0),9494:E(0,k,A,0),9495:E(0,A,A,0),9496:E(k,0,k,0),9497:E(A,0,k,0),9498:E(k,0,A,0),9499:E(A,0,A,0),9500:E(0,k,k,k),9501:E(0,A,k,k),9502:E(0,k,A,k),9503:E(0,k,k,A),9504:E(0,k,A,A),9505:E(0,A,A,k),9506:E(0,A,k,A),9507:E(0,A,A,A),9508:E(k,0,k,k),9509:E(A,0,k,k),9510:E(k,0,A,k),9511:E(k,0,k,A),9512:E(k,0,A,A),9513:E(A,0,A,k),9514:E(A,0,k,A),9515:E(A,0,A,A),9516:E(k,k,0,k),9517:E(A,k,0,k),9518:E(k,A,0,k),9519:E(A,A,0,k),9520:E(k,k,0,A),9521:E(A,k,0,A),9522:E(k,A,0,A),9523:E(A,A,0,A),9524:E(k,k,k,0),9525:E(A,k,k,0),9526:E(k,A,k,0),9527:E(A,A,k,0),9528:E(k,k,A,0),9529:E(A,k,A,0),9530:E(k,A,A,0),9531:E(A,A,A,0),9532:E(k,k,k,k),9533:E(A,k,k,k),9534:E(k,A,k,k),9535:E(A,A,k,k),9536:E(k,k,A,k),9537:E(k,k,k,A),9538:E(k,k,A,A),9539:E(A,k,A,k),9540:E(k,A,A,k),9541:E(A,k,k,A),9542:E(k,A,k,A),9543:E(A,A,A,k),9544:E(A,A,k,A),9545:E(A,k,A,A),9546:E(k,A,A,A),9547:E(A,A,A,A),9552:nr(!0,!0,!1,!1),9553:nr(!1,!1,!0,!0),9554:nr(!1,!0,!1,!0),9555:nr(!1,!0,!1,!0),9556:nr(!1,!0,!1,!0),9557:nr(!0,!1,!1,!0),9558:nr(!0,!1,!1,!0),9559:nr(!0,!1,!1,!0),9560:nr(!1,!0,!0,!1),9561:nr(!1,!0,!0,!1),9562:nr(!1,!0,!0,!1),9563:nr(!0,!1,!0,!1),9564:nr(!0,!1,!0,!1),9565:nr(!0,!1,!0,!1),9566:nr(!1,!0,!0,!0),9567:nr(!1,!0,!0,!0),9568:nr(!1,!0,!0,!0),9569:nr(!0,!1,!0,!0),9570:nr(!0,!1,!0,!0),9571:nr(!0,!1,!0,!0),9572:nr(!0,!0,!1,!0),9573:nr(!0,!0,!1,!0),9574:nr(!0,!0,!1,!0),9575:nr(!0,!0,!0,!1),9576:nr(!0,!0,!0,!1),9577:nr(!0,!0,!0,!1),9578:nr(!0,!0,!0,!0),9579:nr(!0,!0,!0,!0),9580:nr(!0,!0,!0,!0),9581:E(0,k,0,k),9582:E(k,0,0,k),9583:E(k,0,k,0),9584:E(0,k,k,0),9585:{width:O,draw:e=>{e.lineWidth(k),e.M(0,0),e.L(600,500),e.stroke()}},9586:{width:O,draw:e=>{e.lineWidth(k),e.M(0,500),e.L(600,0),e.stroke()}},9587:{width:O,draw:e=>{e.lineWidth(k),e.M(0,0),e.L(600,500),e.stroke(),e.M(0,500),e.L(600,0),e.stroke()}},9588:E(k,0,0,0),9589:E(0,0,k,0),9590:E(0,k,0,0),9591:E(0,0,0,k),9592:E(A,0,0,0),9593:E(0,0,A,0),9594:E(0,A,0,0),9595:E(0,0,0,A),9596:E(k,A,0,0),9597:E(0,0,k,A),9598:E(A,k,0,0),9599:E(0,0,A,k)},hr={9600:rr(0,250,600,250),9601:rr(0,0,600,62),9602:rr(0,0,600,125),9603:rr(0,0,600,187),9604:rr(0,0,600,250),9605:rr(0,0,600,312),9606:rr(0,0,600,375),9607:rr(0,0,600,437),9608:rr(0,0,600,500),9609:rr(0,0,525,500),9610:rr(0,0,450,500),9611:rr(0,0,375,500),9612:rr(0,0,300,500),9613:rr(0,0,225,500),9614:rr(0,0,150,500),9615:rr(0,0,75,500),9616:rr(300,0,300,500),9617:{width:O,draw:e=>{e.lineWidth(10);for(let t=10;t<500;t+=40)for(let n=10;n<600;n+=40)e.rect(n,t,5,5);e.fill()}},9618:{width:O,draw:e=>{e.lineWidth(10);for(let t=5;t<500;t+=20)for(let n=5;n<600;n+=20)e.rect(n,t,8,8);e.fill()}},9619:{width:O,draw:e=>{e.lineWidth(10);for(let t=3;t<500;t+=12)for(let n=3;n<600;n+=12)e.rect(n,t,10,10);e.fill()}},9620:rr(0,437,600,63),9621:rr(525,0,75,500),9622:rr(0,0,300,250),9623:rr(300,0,300,250),9624:rr(0,250,300,250),9625:{width:O,draw:e=>{e.rect(0,0,300,250),e.fill(),e.rect(0,250,300,250),e.fill(),e.rect(300,0,300,250),e.fill()}},9626:{width:O,draw:e=>{e.rect(0,250,300,250),e.fill(),e.rect(300,0,300,250),e.fill()}},9627:{width:O,draw:e=>{e.rect(0,0,300,250),e.fill(),e.rect(0,250,600,250),e.fill()}},9628:{width:O,draw:e=>{e.rect(300,0,300,250),e.fill(),e.rect(0,250,600,250),e.fill()}},9629:rr(300,250,300,250),9630:{width:O,draw:e=>{e.rect(300,250,300,250),e.fill(),e.rect(0,0,300,250),e.fill()}},9631:{width:O,draw:e=>{e.rect(300,0,300,500),e.fill(),e.rect(0,0,300,250),e.fill()}}},gr={};for(let e=0;e<256;e++)gr[10240+e]=ir(e);_r={8451:{width:700,draw:e=>{e.lineWidth(40),e.circle(120,450,60),e.stroke(),e.M(550,450),e.C(350,450,250,350,250,250),e.C(250,150,350,50,550,50),e.stroke()}},8453:{width:O,draw:e=>{e.lineWidth(40),e.M(150,350),e.C(80,350,50,400,50,430),e.C(50,470,100,500,150,500),e.C(200,500,250,470,250,430),e.C(250,400,200,350,150,350),e.stroke(),e.M(450,0),e.L(150,500),e.stroke(),e.M(450,150),e.C(380,150,350,100,350,70),e.C(350,30,400,0,450,0),e.C(500,0,550,30,550,70),e.C(550,100,500,150,450,150),e.stroke()}},8457:{width:700,draw:e=>{e.lineWidth(40),e.circle(120,450,60),e.stroke(),e.M(280,0),e.L(280,500),e.stroke(),e.M(280,500),e.L(550,500),e.stroke(),e.M(280,280),e.L(480,280),e.stroke()}},8467:{width:O,draw:e=>{e.lineWidth(45),e.M(350,500),e.C(200,500,200,400,250,200),e.C(280,100,200,0,150,50),e.stroke()}},8470:{width:700,draw:e=>{e.lineWidth(45),e.M(80,0),e.L(80,500),e.stroke(),e.M(80,500),e.L(350,0),e.stroke(),e.M(350,0),e.L(350,500),e.stroke(),e.lineWidth(35),e.circle(530,70,70),e.stroke(),e.M(380,170),e.L(680,170),e.stroke()}},8480:{width:O,draw:e=>{e.lineWidth(30),e.M(150,400),e.C(150,500,350,500,350,450),e.C(350,400,150,350,150,300),e.C(150,250,350,250,350,350),e.stroke(),e.M(400,500),e.L(400,250),e.L(475,400),e.L(550,250),e.L(550,500),e.stroke()}},8482:{width:O,draw:e=>{e.lineWidth(30),e.M(50,500),e.L(200,500),e.stroke(),e.M(125,500),e.L(125,300),e.stroke(),e.M(250,500),e.L(250,300),e.L(350,450),e.L(450,300),e.L(450,500),e.stroke()}},8486:{width:O,draw:e=>{e.lineWidth(45),e.M(100,50),e.L(200,50),e.L(200,150),e.C(120,200,80,300,80,350),e.C(80,450,180,520,300,520),e.C(420,520,520,450,520,350),e.C(520,300,480,200,400,150),e.L(400,50),e.L(500,50),e.stroke()}},8494:{width:O,draw:e=>{e.lineWidth(40),e.M(480,220),e.L(150,220),e.C(150,400,250,500,350,500),e.C(450,500,530,400,500,300),e.C(470,100,400,0,250,0),e.C(150,0,100,80,100,150),e.stroke()}},8505:{width:O,draw:e=>{e.circle(300,450,40),e.fill(),e.lineWidth(55),e.M(300,350),e.L(300,50),e.stroke()}},8543:{width:O,draw:e=>{e.lineWidth(40),e.M(150,500),e.L(200,500),e.L(200,350),e.stroke(),e.M(450,500),e.L(150,0),e.stroke()}}},vr={8528:ar(`1`,`7`),8529:ar(`1`,`9`),8530:ar(`1`,`10`),8531:ar(`1`,`3`),8532:ar(`2`,`3`),8533:ar(`1`,`5`),8534:ar(`2`,`5`),8535:ar(`3`,`5`),8536:ar(`4`,`5`),8537:ar(`1`,`6`),8538:ar(`5`,`6`),8539:ar(`1`,`8`),8540:ar(`3`,`8`),8541:ar(`5`,`8`),8542:ar(`7`,`8`),8544:{width:O,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke()}},8545:{width:O,draw:e=>{e.lineWidth(50),e.M(200,0),e.L(200,500),e.stroke(),e.M(400,0),e.L(400,500),e.stroke()}},8546:{width:O,draw:e=>{e.lineWidth(45),e.M(120,0),e.L(120,500),e.stroke(),e.M(300,0),e.L(300,500),e.stroke(),e.M(480,0),e.L(480,500),e.stroke()}},8547:{width:O,draw:e=>{e.lineWidth(50),e.M(180,500),e.L(300,0),e.L(420,500),e.stroke()}},8548:{width:O,draw:e=>{e.lineWidth(50),e.M(150,500),e.L(300,0),e.L(450,500),e.stroke()}}},yr={};for(let e=0;e<20;e++)yr[9312+e]={width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}};for(let e=0;e<12;e++)yr[9332+e]={width:O,draw:e=>{e.lineWidth(30),e.M(180,480),e.C(120,480,80,380,80,250),e.C(80,120,120,20,180,20),e.stroke(),e.M(420,20),e.C(480,20,520,120,520,250),e.C(520,380,480,480,420,480),e.stroke()}};for(let e=0;e<26;e++)yr[9398+e]={width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}};for(let e=0;e<26;e++)yr[9424+e]={width:O,draw:e=>{e.lineWidth(30),e.circle(300,250,200),e.stroke()}};yr[9450]={width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}},br={8208:{width:O,draw:e=>{e.lineWidth(50),e.M(150,250),e.L(450,250),e.stroke()}},8209:{width:O,draw:e=>{e.lineWidth(50),e.M(150,250),e.L(450,250),e.stroke()}},8210:{width:O,draw:e=>{e.lineWidth(50),e.M(100,250),e.L(500,250),e.stroke()}},8211:{width:O,draw:e=>{e.lineWidth(50),e.M(80,250),e.L(520,250),e.stroke()}},8212:{width:700,draw:e=>{e.lineWidth(50),e.M(0,250),e.L(700,250),e.stroke()}},8214:{width:O,draw:e=>{e.lineWidth(40),e.M(230,0),e.L(230,500),e.stroke(),e.M(370,0),e.L(370,500),e.stroke()}},8215:{width:O,draw:e=>{e.lineWidth(30),e.M(50,30),e.L(550,30),e.stroke(),e.M(50,80),e.L(550,80),e.stroke()}},8216:{width:300,draw:e=>{e.circle(150,450,40),e.fill(),e.lineWidth(30),e.M(150,410),e.C(120,370,100,350,80,340),e.stroke()}},8217:{width:300,draw:e=>{e.circle(150,450,40),e.fill(),e.lineWidth(30),e.M(150,410),e.C(180,370,200,350,220,340),e.stroke()}},8223:{width:400,draw:e=>{e.circle(120,450,35),e.fill(),e.circle(280,450,35),e.fill()}},8224:{width:O,draw:e=>{e.lineWidth(50),e.M(300,500),e.L(300,0),e.stroke(),e.M(150,380),e.L(450,380),e.stroke()}},8225:{width:O,draw:e=>{e.lineWidth(45),e.M(300,500),e.L(300,0),e.stroke(),e.M(150,380),e.L(450,380),e.stroke(),e.M(150,180),e.L(450,180),e.stroke()}},8229:{width:O,draw:e=>{e.circle(200,50,35),e.fill(),e.circle(400,50,35),e.fill()}},8231:{width:300,draw:e=>{e.circle(150,250,35),e.fill()}},8240:{width:700,draw:e=>{e.lineWidth(35),e.M(550,0),e.L(150,500),e.stroke(),e.circle(180,400,70),e.stroke(),e.circle(400,100,60),e.stroke(),e.circle(560,100,60),e.stroke()}},8241:{width:700,draw:e=>{e.lineWidth(35),e.M(550,0),e.L(150,500),e.stroke(),e.circle(180,400,60),e.stroke(),e.circle(350,100,50),e.stroke(),e.circle(470,100,50),e.stroke(),e.circle(590,100,50),e.stroke()}},8242:{width:300,draw:e=>{e.lineWidth(40),e.M(180,500),e.L(140,350),e.stroke()}},8243:{width:400,draw:e=>{e.lineWidth(40),e.M(150,500),e.L(110,350),e.stroke(),e.M(300,500),e.L(260,350),e.stroke()}},8249:{width:350,draw:e=>{e.lineWidth(40),e.M(250,400),e.L(100,250),e.L(250,100),e.stroke()}},8250:{width:350,draw:e=>{e.lineWidth(40),e.M(100,400),e.L(250,250),e.L(100,100),e.stroke()}},8252:{width:O,draw:e=>{e.lineWidth(50),e.M(200,500),e.L(200,130),e.stroke(),e.circle(200,40,30),e.fill(),e.M(400,500),e.L(400,130),e.stroke(),e.circle(400,40,30),e.fill()}},8260:{width:O,draw:e=>{e.lineWidth(40),e.M(450,500),e.L(150,0),e.stroke()}},8271:{width:300,draw:e=>{e.circle(150,350,35),e.fill(),e.circle(150,130,35),e.fill(),e.lineWidth(30),e.M(150,95),e.C(180,50,200,20,220,0),e.stroke()}}},xr={8602:{width:O,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,120),e.Z(),e.fill(),e.lineWidth(50),e.M(350,120),e.L(250,380),e.stroke()}},8603:{width:O,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,380),e.L(350,120),e.Z(),e.fill(),e.lineWidth(50),e.M(250,120),e.L(350,380),e.stroke()}},8605:{width:O,draw:e=>{e.lineWidth(45),e.M(100,250),e.C(200,350,300,150,400,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,330),e.L(400,170),e.Z(),e.fill()}},8606:{width:O,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(220,370),e.L(220,130),e.Z(),e.fill(),e.M(200,250),e.L(320,370),e.L(320,130),e.Z(),e.fill()}},8607:{width:O,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,470),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.fill(),e.M(300,370),e.L(180,250),e.L(420,250),e.Z(),e.fill()}},8608:{width:O,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(380,370),e.L(380,130),e.Z(),e.fill(),e.M(400,250),e.L(280,370),e.L(280,130),e.Z(),e.fill()}},8609:{width:O,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,30),e.stroke(),e.M(300,30),e.L(180,150),e.L(420,150),e.Z(),e.fill(),e.M(300,130),e.L(180,250),e.L(420,250),e.Z(),e.fill()}},8612:{width:O,draw:e=>{e.lineWidth(45),e.M(480,250),e.L(130,250),e.stroke(),e.M(130,250),e.L(260,370),e.L(260,130),e.Z(),e.fill(),e.M(500,100),e.L(500,400),e.stroke()}},8613:{width:O,draw:e=>{e.lineWidth(45),e.M(300,30),e.L(300,420),e.stroke(),e.M(300,420),e.L(180,290),e.L(420,290),e.Z(),e.fill(),e.M(150,30),e.L(450,30),e.stroke()}},8614:{width:O,draw:e=>{e.lineWidth(45),e.M(120,250),e.L(470,250),e.stroke(),e.M(470,250),e.L(340,370),e.L(340,130),e.Z(),e.fill(),e.M(100,100),e.L(100,400),e.stroke()}},8615:{width:O,draw:e=>{e.lineWidth(45),e.M(300,470),e.L(300,80),e.stroke(),e.M(300,80),e.L(180,210),e.L(420,210),e.Z(),e.fill(),e.M(150,470),e.L(450,470),e.stroke()}},8624:{width:O,draw:e=>{e.lineWidth(45),e.M(400,50),e.L(400,350),e.L(150,350),e.stroke(),e.M(400,450),e.L(280,330),e.L(520,330),e.Z(),e.fill()}},8625:{width:O,draw:e=>{e.lineWidth(45),e.M(200,50),e.L(200,350),e.L(450,350),e.stroke(),e.M(200,450),e.L(80,330),e.L(320,330),e.Z(),e.fill()}},8626:{width:O,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,150),e.L(150,150),e.stroke(),e.M(400,50),e.L(280,170),e.L(520,170),e.Z(),e.fill()}},8627:{width:O,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,150),e.L(450,150),e.stroke(),e.M(200,50),e.L(80,170),e.L(320,170),e.Z(),e.fill()}},8629:{width:O,draw:e=>{e.lineWidth(45),e.M(450,450),e.L(450,150),e.L(150,150),e.stroke(),e.M(150,150),e.L(280,260),e.L(280,40),e.Z(),e.fill()}},8634:{width:O,draw:e=>{e.lineWidth(45),e.M(160,350),e.C(160,450,300,500,400,450),e.C(500,400,520,250,450,150),e.C(380,50,200,50,160,150),e.stroke(),e.M(160,350),e.L(80,250),e.L(250,270),e.Z(),e.fill()}},8635:{width:O,draw:e=>{e.lineWidth(45),e.M(440,350),e.C(440,450,300,500,200,450),e.C(100,400,80,250,150,150),e.C(220,50,400,50,440,150),e.stroke(),e.M(440,350),e.L(520,250),e.L(350,270),e.Z(),e.fill()}}},Sr={8723:{width:O,draw:e=>{e.lineWidth(50),e.M(120,350),e.L(480,350),e.stroke(),e.M(300,200),e.L(300,0),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},8729:{width:O,draw:e=>{e.circle(300,250,50),e.fill()}},8733:{width:O,draw:e=>{e.lineWidth(45),e.M(80,250),e.C(80,450,250,450,300,250),e.C(350,50,520,50,520,250),e.stroke()}},8735:{width:O,draw:e=>{e.lineWidth(50),e.M(120,450),e.L(120,50),e.L(480,50),e.stroke()}},8739:{width:O,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke()}},8740:{width:O,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke(),e.M(200,100),e.L(400,400),e.stroke()}},8741:{width:O,draw:e=>{e.lineWidth(45),e.M(220,0),e.L(220,500),e.stroke(),e.M(380,0),e.L(380,500),e.stroke()}},8742:{width:O,draw:e=>{e.lineWidth(45),e.M(220,0),e.L(220,500),e.stroke(),e.M(380,0),e.L(380,500),e.stroke(),e.M(150,100),e.L(450,400),e.stroke()}},8728:{width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,70),e.stroke()}},8756:{width:O,draw:e=>{e.circle(300,400,40),e.fill(),e.circle(180,150,40),e.fill(),e.circle(420,150,40),e.fill()}},8757:{width:O,draw:e=>{e.circle(300,100,40),e.fill(),e.circle(180,350,40),e.fill(),e.circle(420,350,40),e.fill()}},8758:{width:300,draw:e=>{e.circle(150,350,40),e.fill(),e.circle(150,150,40),e.fill()}},8759:{width:O,draw:e=>{e.circle(200,350,35),e.fill(),e.circle(200,150,35),e.fill(),e.circle(400,350,35),e.fill(),e.circle(400,150,35),e.fill()}},8780:{width:O,draw:e=>{e.lineWidth(40),e.M(120,400),e.C(200,460,400,460,480,400),e.stroke(),e.M(120,280),e.C(200,340,400,340,480,280),e.stroke(),e.M(120,160),e.L(480,160),e.stroke()}},8773:{width:O,draw:e=>{e.lineWidth(45),e.M(120,350),e.C(200,430,400,430,480,350),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},8796:{width:O,draw:e=>{e.lineWidth(40),e.M(120,200),e.L(480,200),e.stroke(),e.M(120,120),e.L(480,120),e.stroke(),e.M(300,450),e.L(200,280),e.L(400,280),e.Z(),e.stroke()}},8810:{width:O,draw:e=>{e.lineWidth(45),e.M(350,420),e.L(100,250),e.L(350,80),e.stroke(),e.M(500,420),e.L(250,250),e.L(500,80),e.stroke()}},8811:{width:O,draw:e=>{e.lineWidth(45),e.M(100,420),e.L(350,250),e.L(100,80),e.stroke(),e.M(250,420),e.L(500,250),e.L(250,80),e.stroke()}},8836:{width:O,draw:e=>{e.lineWidth(45),e.M(470,450),e.C(200,450,130,350,130,250),e.C(130,150,200,50,470,50),e.stroke(),e.M(200,50),e.L(400,450),e.stroke()}},8837:{width:O,draw:e=>{e.lineWidth(45),e.M(130,450),e.C(400,450,470,350,470,250),e.C(470,150,400,50,130,50),e.stroke(),e.M(200,50),e.L(400,450),e.stroke()}},8838:{width:O,draw:e=>{e.lineWidth(45),e.M(470,420),e.C(200,420,130,340,130,250),e.C(130,160,200,80,470,80),e.stroke(),e.M(130,30),e.L(470,30),e.stroke()}},8839:{width:O,draw:e=>{e.lineWidth(45),e.M(130,420),e.C(400,420,470,340,470,250),e.C(470,160,400,80,130,80),e.stroke(),e.M(130,30),e.L(470,30),e.stroke()}},8869:{width:O,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(480,50),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},8895:{width:O,draw:e=>{e.lineWidth(45),e.M(120,50),e.L(480,50),e.L(120,450),e.Z(),e.stroke()}}},Cr={9729:{width:O,draw:e=>{e.lineWidth(40),e.M(120,200),e.C(120,350,200,400,280,400),e.C(300,470,400,470,430,400),e.C(500,400,520,300,480,200),e.L(120,200),e.stroke()}},9742:{width:O,draw:e=>{e.lineWidth(45),e.M(120,100),e.C(120,50,480,50,480,100),e.stroke(),e.M(150,100),e.C(150,350,200,450,250,450),e.stroke(),e.M(450,100),e.C(450,350,400,450,350,450),e.stroke()}},9774:{width:O,draw:e=>{e.lineWidth(45),e.circle(300,250,220),e.stroke(),e.M(300,470),e.L(300,30),e.stroke(),e.M(300,250),e.L(145,95),e.stroke(),e.M(300,250),e.L(455,95),e.stroke()}},9775:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,350,20),e.fill(),e.circle(300,150,20),e.fill()}},9785:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(210,330,25),e.fill(),e.circle(390,330,25),e.fill(),e.M(200,130),e.C(250,80,350,80,400,130),e.stroke()}},9786:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(210,330,25),e.fill(),e.circle(390,330,25),e.fill(),e.M(190,170),e.C(220,110,380,110,410,170),e.stroke()}},9787:{width:O,draw:e=>{e.circle(300,250,230),e.fill()}},9872:{width:O,draw:e=>{e.lineWidth(40),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(480,400),e.L(150,300),e.stroke()}},9873:{width:O,draw:e=>{e.lineWidth(40),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(480,400),e.L(150,300),e.Z(),e.fill()}},9888:{width:O,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(80,50),e.L(520,50),e.Z(),e.stroke(),e.lineWidth(40),e.M(300,350),e.L(300,180),e.stroke(),e.circle(300,110,25),e.fill()}},9889:{width:O,draw:e=>{e.M(350,500),e.L(200,280),e.L(310,280),e.L(250,0),e.L(420,220),e.L(300,220),e.L(350,500),e.Z(),e.fill()}},9898:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke()}},9899:{width:O,draw:e=>{e.circle(300,250,180),e.fill()}}},wr={9985:{width:O,draw:e=>{e.lineWidth(35),e.circle(180,150,80),e.stroke(),e.circle(180,350,80),e.stroke(),e.M(250,200),e.L(500,400),e.stroke(),e.M(250,300),e.L(500,100),e.stroke()}},9986:{width:O,draw:e=>{e.lineWidth(40),e.circle(170,130,80),e.stroke(),e.circle(170,370,80),e.stroke(),e.M(240,180),e.L(520,420),e.stroke(),e.M(240,320),e.L(520,80),e.stroke()}},9990:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(200,150),e.C(200,100,400,100,400,150),e.stroke(),e.M(220,150),e.C(220,350,250,400,280,400),e.stroke(),e.M(380,150),e.C(380,350,350,400,320,400),e.stroke()}},9991:{width:O,draw:e=>{e.lineWidth(35),e.rect(80,50,440,400),e.stroke(),e.circle(300,250,120),e.stroke()}},9992:{width:O,draw:e=>{e.M(300,480),e.L(260,300),e.L(80,250),e.L(260,210),e.L(260,80),e.L(220,30),e.L(380,30),e.L(340,80),e.L(340,210),e.L(520,250),e.L(340,300),e.Z(),e.fill()}},9993:{width:O,draw:e=>{e.lineWidth(35),e.rect(80,80,440,340),e.stroke(),e.M(80,420),e.L(300,220),e.L(520,420),e.stroke()}},9998:{width:O,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(480,430),e.stroke(),e.M(100,50),e.L(130,130),e.stroke()}},9999:{width:O,draw:e=>{e.M(130,30),e.L(100,80),e.L(420,470),e.L(480,470),e.L(480,430),e.L(160,30),e.Z(),e.fill()}},1e4:{width:O,draw:e=>{e.lineWidth(40),e.M(100,450),e.L(480,70),e.stroke(),e.M(100,450),e.L(130,370),e.stroke()}},10013:{width:O,draw:e=>{e.lineWidth(55),e.M(300,0),e.L(300,500),e.stroke(),e.M(140,370),e.L(460,370),e.stroke()}},10014:{width:O,draw:e=>{e.lineWidth(65),e.M(300,0),e.L(300,500),e.stroke(),e.M(130,370),e.L(470,370),e.stroke()}},10022:{width:O,draw:e=>{e.M(300,480),e.L(230,280),e.L(80,250),e.L(230,220),e.L(300,20),e.L(370,220),e.L(520,250),e.L(370,280),e.Z(),e.fill()}},10023:{width:O,draw:e=>{e.lineWidth(35),e.M(300,480),e.L(230,280),e.L(80,250),e.L(230,220),e.L(300,20),e.L(370,220),e.L(520,250),e.L(370,280),e.Z(),e.stroke()}},10032:{width:O,draw:e=>{e.lineWidth(40);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+220*Math.cos(n),260+220*Math.sin(n)):e.L(300+220*Math.cos(n),260+220*Math.sin(n)),e.L(300+100*Math.cos(r),260+100*Math.sin(r))}e.Z(),e.stroke()}},10132:{width:O,draw:e=>{e.M(500,250),e.L(300,430),e.L(300,310),e.L(80,310),e.L(80,190),e.L(300,190),e.L(300,70),e.Z(),e.fill()}},10140:{width:O,draw:e=>{e.M(520,250),e.L(320,430),e.L(320,310),e.C(200,310,80,290,80,250),e.C(80,210,200,190,320,190),e.L(320,70),e.Z(),e.fill()}},10145:{width:O,draw:e=>{e.M(520,250),e.L(350,420),e.L(350,300),e.L(80,300),e.L(80,200),e.L(350,200),e.L(350,80),e.Z(),e.fill()}}},Tr={8976:{width:O,draw:e=>{e.lineWidth(45),e.M(480,350),e.L(120,350),e.L(120,150),e.stroke()}},8981:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.circle(300,250,50),e.fill()}},8986:{width:O,draw:e=>{e.lineWidth(35),e.rect(150,50,300,400),e.stroke(),e.M(300,450),e.L(300,500),e.stroke(),e.M(300,50),e.L(300,0),e.stroke(),e.lineWidth(30),e.M(300,250),e.L(300,350),e.stroke(),e.M(300,250),e.L(380,250),e.stroke()}},9e3:{width:O,draw:e=>{e.lineWidth(35),e.rect(50,80,500,340),e.stroke(),e.lineWidth(20);for(let t=100;t<=500;t+=80)e.M(t,340),e.L(t+40,340),e.L(t+40,300),e.L(t,300),e.Z(),e.stroke();e.M(150,200),e.L(450,200),e.L(450,160),e.L(150,160),e.Z(),e.stroke()}},9115:{width:300,draw:e=>{e.lineWidth(40),e.M(250,500),e.C(100,400,100,300,150,250),e.stroke()}},9116:{width:300,draw:e=>{e.lineWidth(40),e.M(150,500),e.L(150,0),e.stroke()}},9117:{width:300,draw:e=>{e.lineWidth(40),e.M(150,250),e.C(100,200,100,100,250,0),e.stroke()}},9167:{width:O,draw:e=>{e.M(120,150),e.L(480,150),e.L(300,420),e.Z(),e.fill(),e.rect(120,50,360,60),e.fill()}},9193:{width:O,draw:e=>{e.M(80,430),e.L(300,250),e.L(80,70),e.Z(),e.fill(),e.M(300,430),e.L(520,250),e.L(300,70),e.Z(),e.fill()}},9194:{width:O,draw:e=>{e.M(520,430),e.L(300,250),e.L(520,70),e.Z(),e.fill(),e.M(300,430),e.L(80,250),e.L(300,70),e.Z(),e.fill()}},9195:{width:O,draw:e=>{e.M(100,230),e.L(300,450),e.L(500,230),e.Z(),e.fill(),e.M(100,30),e.L(300,250),e.L(500,30),e.Z(),e.fill()}},9196:{width:O,draw:e=>{e.M(100,270),e.L(300,50),e.L(500,270),e.Z(),e.fill(),e.M(100,470),e.L(300,250),e.L(500,470),e.Z(),e.fill()}},9197:{width:O,draw:e=>{e.M(60,430),e.L(250,250),e.L(60,70),e.Z(),e.fill(),e.M(250,430),e.L(440,250),e.L(250,70),e.Z(),e.fill(),e.rect(460,70,50,360),e.fill()}},9198:{width:O,draw:e=>{e.M(540,430),e.L(350,250),e.L(540,70),e.Z(),e.fill(),e.M(350,430),e.L(160,250),e.L(350,70),e.Z(),e.fill(),e.rect(90,70,50,360),e.fill()}},9199:{width:O,draw:e=>{e.M(80,430),e.L(330,250),e.L(80,70),e.Z(),e.fill(),e.rect(370,70,50,360),e.fill(),e.rect(460,70,50,360),e.fill()}},9201:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,230,200),e.stroke(),e.M(260,470),e.L(340,470),e.stroke(),e.M(300,430),e.L(300,480),e.stroke(),e.M(300,230),e.L(300,350),e.stroke(),e.M(300,230),e.L(400,280),e.stroke()}},9202:{width:O,draw:e=>{e.lineWidth(40),e.circle(300,230,200),e.stroke(),e.M(300,230),e.L(300,370),e.stroke(),e.M(300,230),e.L(420,230),e.stroke(),e.M(430,400),e.L(470,440),e.stroke()}},9208:{width:O,draw:e=>{e.rect(140,60,100,380),e.fill(),e.rect(360,60,100,380),e.fill()}},9209:{width:O,draw:e=>{e.rect(100,50,400,400),e.fill()}},9210:{width:O,draw:e=>{e.circle(300,250,200),e.fill()}}},Er={8352:{width:O,draw:e=>{e.lineWidth(45),e.M(480,430),e.C(350,480,180,430,150,300),e.C(120,170,200,50,400,30),e.stroke(),e.M(80,320),e.L(380,320),e.stroke(),e.M(80,220),e.L(380,220),e.stroke()}},8353:{width:O,draw:e=>{e.lineWidth(45),e.M(450,430),e.C(350,480,180,430,150,250),e.C(150,70,350,20,450,70),e.stroke(),e.M(300,520),e.L(300,-20),e.stroke()}},8354:{width:O,draw:e=>{e.lineWidth(45),e.M(450,430),e.C(350,480,180,430,150,250),e.C(150,70,350,20,450,70),e.stroke(),e.M(380,0),e.L(250,500),e.stroke()}},8355:{width:O,draw:e=>{e.lineWidth(50),e.M(200,0),e.L(200,500),e.stroke(),e.M(200,500),e.L(480,500),e.stroke(),e.M(200,300),e.L(400,300),e.stroke(),e.M(120,200),e.L(350,200),e.stroke()}},8356:{width:O,draw:e=>{e.lineWidth(50),e.M(200,0),e.C(200,0,400,0,400,0),e.stroke(),e.M(200,0),e.L(200,500),e.C(200,500,150,520,120,500),e.stroke(),e.M(120,300),e.L(380,300),e.stroke(),e.M(120,180),e.L(380,180),e.stroke()}},8357:{width:O,draw:e=>{e.lineWidth(40),e.M(100,0),e.L(100,350),e.L(200,200),e.L(300,350),e.L(300,0),e.stroke(),e.M(300,500),e.L(300,-30),e.stroke()}},8358:{width:O,draw:e=>{e.lineWidth(45),e.M(130,0),e.L(130,500),e.stroke(),e.M(130,500),e.L(470,0),e.stroke(),e.M(470,0),e.L(470,500),e.stroke(),e.M(80,350),e.L(520,350),e.stroke(),e.M(80,200),e.L(520,200),e.stroke()}},8359:{width:O,draw:e=>{e.lineWidth(45),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(350,500),e.C(450,500,480,400,350,350),e.L(150,350),e.stroke(),e.M(350,0),e.L(500,0),e.stroke()}},8360:{width:O,draw:e=>{e.lineWidth(45),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(350,500),e.C(450,500,480,400,350,350),e.L(150,350),e.stroke(),e.M(280,350),e.L(450,0),e.stroke()}},8361:{width:O,draw:e=>{e.lineWidth(40),e.M(60,500),e.L(180,0),e.L(300,350),e.L(420,0),e.L(540,500),e.stroke(),e.M(80,250),e.L(520,250),e.stroke(),e.M(80,150),e.L(520,150),e.stroke()}},8362:{width:O,draw:e=>{e.lineWidth(45),e.M(150,500),e.L(150,100),e.C(150,30,250,0,300,50),e.stroke(),e.M(450,0),e.L(450,400),e.C(450,470,350,500,300,450),e.stroke()}},8363:{width:O,draw:e=>{e.lineWidth(45),e.M(250,50),e.L(250,500),e.stroke(),e.M(250,400),e.L(350,400),e.C(470,400,470,200,350,200),e.L(250,200),e.stroke(),e.M(150,50),e.L(400,50),e.stroke(),e.M(170,120),e.L(420,120),e.stroke()}},8366:{width:O,draw:e=>{e.lineWidth(50),e.M(120,500),e.L(480,500),e.stroke(),e.M(300,500),e.L(300,0),e.stroke(),e.M(120,350),e.L(480,350),e.stroke(),e.M(120,200),e.L(480,200),e.stroke()}},8369:{width:O,draw:e=>{e.lineWidth(45),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(350,500),e.C(480,500,480,300,350,300),e.L(150,300),e.stroke(),e.M(100,420),e.L(450,420),e.stroke()}},8370:{width:O,draw:e=>{e.lineWidth(45),e.M(450,400),e.C(400,480,200,480,150,350),e.C(100,200,200,50,400,50),e.L(400,250),e.L(250,250),e.stroke(),e.M(300,520),e.L(300,0),e.stroke()}},8371:{width:O,draw:e=>{e.lineWidth(45),e.M(100,0),e.L(300,500),e.L(500,0),e.stroke(),e.M(160,180),e.L(440,180),e.stroke(),e.M(180,280),e.L(420,280),e.stroke()}},8372:{width:O,draw:e=>{e.lineWidth(45),e.M(420,450),e.C(380,500,200,500,180,400),e.C(160,300,400,250,420,150),e.C(440,50,250,0,180,50),e.stroke(),e.M(100,330),e.L(480,330),e.stroke(),e.M(100,220),e.L(480,220),e.stroke()}},8374:{width:O,draw:e=>{e.lineWidth(45),e.M(250,0),e.L(250,480),e.C(250,500,200,520,180,500),e.stroke(),e.M(250,350),e.L(450,350),e.stroke()}},8376:{width:O,draw:e=>{e.lineWidth(50),e.M(100,500),e.L(500,500),e.stroke(),e.M(100,400),e.L(500,400),e.stroke(),e.M(300,400),e.L(300,0),e.stroke()}}},Dr={10216:{width:350,draw:e=>{e.lineWidth(40),e.M(280,500),e.L(100,250),e.L(280,0),e.stroke()}},10217:{width:350,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(280,250),e.L(100,0),e.stroke()}},10218:{width:450,draw:e=>{e.lineWidth(35),e.M(250,500),e.L(70,250),e.L(250,0),e.stroke(),e.M(380,500),e.L(200,250),e.L(380,0),e.stroke()}},10219:{width:450,draw:e=>{e.lineWidth(35),e.M(70,500),e.L(250,250),e.L(70,0),e.stroke(),e.M(200,500),e.L(380,250),e.L(200,0),e.stroke()}}},Or={10229:{width:700,draw:e=>{e.lineWidth(45),e.M(650,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,120),e.Z(),e.fill()}},10230:{width:700,draw:e=>{e.lineWidth(45),e.M(50,250),e.L(600,250),e.stroke(),e.M(600,250),e.L(450,380),e.L(450,120),e.Z(),e.fill()}},10231:{width:700,draw:e=>{e.lineWidth(40),e.M(150,250),e.L(550,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill(),e.M(600,250),e.L(470,370),e.L(470,130),e.Z(),e.fill()}},10232:{width:700,draw:e=>{e.M(80,250),e.L(250,430),e.L(250,310),e.L(620,310),e.L(620,190),e.L(250,190),e.L(250,70),e.Z(),e.fill()}},10233:{width:700,draw:e=>{e.M(620,250),e.L(450,430),e.L(450,310),e.L(80,310),e.L(80,190),e.L(450,190),e.L(450,70),e.Z(),e.fill()}},10234:{width:700,draw:e=>{e.M(80,250),e.L(200,400),e.L(200,300),e.L(500,300),e.L(500,400),e.L(620,250),e.L(500,100),e.L(500,200),e.L(200,200),e.L(200,100),e.Z(),e.fill()}}},j=100,M=50,kr=400,Ar=400,jr=500,Mr=450,Nr={9639:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,kr,Ar),e.stroke(),e.lineWidth(20);for(let t=-3;t<=3;t++){let n=t*100;e.M(j+n,Mr),e.L(jr+n,M),e.stroke()}}},9641:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,kr,Ar),e.stroke(),e.lineWidth(15);for(let t=-3;t<=3;t++){let n=t*100;e.M(j+n,Mr),e.L(jr+n,M),e.stroke(),e.M(j+n,M),e.L(jr+n,Mr),e.stroke()}}},9649:{width:O,draw:e=>{e.lineWidth(40),e.M(180,50),e.L(500,50),e.L(420,450),e.L(100,450),e.Z(),e.stroke()}},9657:{width:O,draw:e=>{e.lineWidth(35),e.M(200,380),e.L(430,250),e.L(200,120),e.Z(),e.stroke()}},9658:{width:O,draw:e=>{e.M(150,420),e.L(480,250),e.L(150,80),e.Z(),e.fill()}},9659:{width:O,draw:e=>{e.lineWidth(40),e.M(150,420),e.L(480,250),e.L(150,80),e.Z(),e.stroke()}},9663:{width:O,draw:e=>{e.lineWidth(35),e.M(180,380),e.L(420,380),e.L(300,120),e.Z(),e.stroke()}},9667:{width:O,draw:e=>{e.lineWidth(35),e.M(400,380),e.L(170,250),e.L(400,120),e.Z(),e.stroke()}},9668:{width:O,draw:e=>{e.M(450,420),e.L(120,250),e.L(450,80),e.Z(),e.fill()}},9669:{width:O,draw:e=>{e.lineWidth(40),e.M(450,420),e.L(120,250),e.L(450,80),e.Z(),e.stroke()}},9698:{width:O,draw:e=>{e.M(jr,Mr),e.L(jr,M),e.L(j,M),e.Z(),e.fill()}},9699:{width:O,draw:e=>{e.M(j,Mr),e.L(j,M),e.L(jr,M),e.Z(),e.fill()}},9700:{width:O,draw:e=>{e.M(j,M),e.L(j,Mr),e.L(jr,Mr),e.Z(),e.fill()}},9701:{width:O,draw:e=>{e.M(jr,M),e.L(jr,Mr),e.L(j,Mr),e.Z(),e.fill()}},9703:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,kr,Ar),e.stroke(),e.rect(j,M,kr/2,Ar),e.fill()}},9704:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,kr,Ar),e.stroke(),e.rect(300,M,kr/2,Ar),e.fill()}},9705:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,kr,Ar),e.stroke(),e.M(j,M),e.L(j,Mr),e.L(jr,Mr),e.Z(),e.fill()}},9706:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,kr,Ar),e.stroke(),e.M(jr,Mr),e.L(jr,M),e.L(j,M),e.Z(),e.fill()}},9707:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,kr,Ar),e.stroke(),e.M(300,M),e.L(300,Mr),e.stroke()}},9708:{width:O,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.circle(300,190,30),e.fill()}},9709:{width:O,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.M(300,470),e.L(100,50),e.L(300,50),e.Z(),e.fill()}},9710:{width:O,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.M(300,470),e.L(500,50),e.L(300,50),e.Z(),e.fill()}},9712:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,kr,Ar),e.stroke(),e.rect(j,250,kr/2,Ar/2),e.fill()}},9713:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,kr,Ar),e.stroke(),e.rect(j,M,kr/2,Ar/2),e.fill()}},9714:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,kr,Ar),e.stroke(),e.rect(300,M,kr/2,Ar/2),e.fill()}},9715:{width:O,draw:e=>{e.lineWidth(35),e.rect(j,M,kr,Ar),e.stroke(),e.rect(300,250,kr/2,Ar/2),e.fill()}},9716:{width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,470),e.C(179,470,80,371,80,250),e.L(300,250),e.Z(),e.fill()}},9717:{width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(80,250),e.C(80,129,179,30,300,30),e.L(300,250),e.Z(),e.fill()}},9718:{width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,30),e.C(421,30,520,129,520,250),e.L(300,250),e.Z(),e.fill()}},9719:{width:O,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(520,250),e.C(520,371,421,470,300,470),e.L(300,250),e.Z(),e.fill()}},9720:{width:O,draw:e=>{e.lineWidth(35),e.M(j,Mr),e.L(jr,Mr),e.L(j,M),e.Z(),e.stroke()}},9721:{width:O,draw:e=>{e.lineWidth(35),e.M(j,Mr),e.L(jr,Mr),e.L(jr,M),e.Z(),e.stroke()}},9722:{width:O,draw:e=>{e.lineWidth(35),e.M(j,Mr),e.L(j,M),e.L(jr,M),e.Z(),e.stroke()}},9723:{width:O,draw:e=>{e.lineWidth(35),e.rect(130,80,340,340),e.stroke()}},9724:{width:O,draw:e=>{e.rect(130,80,340,340),e.fill()}},9725:{width:O,draw:e=>{e.lineWidth(30),e.rect(170,120,260,260),e.stroke()}},9726:{width:O,draw:e=>{e.rect(170,120,260,260),e.fill()}},9727:{width:O,draw:e=>{e.lineWidth(35),e.M(jr,Mr),e.L(jr,M),e.L(j,M),e.Z(),e.stroke()}}},Pr=[[8549,6],[8550,7],[8551,8],[8552,9],[8553,10],[8554,11],[8555,12],[8556,50],[8557,100],[8558,500],[8559,1e3]],Fr=[[8560,1],[8561,2],[8562,3],[8563,4],[8564,5],[8565,6],[8566,7],[8567,8],[8568,9],[8569,10],[8570,11],[8571,12],[8572,50],[8573,100],[8574,500],[8575,1e3]],Ir={};for(let[e,t]of Pr)Ir[e]=lr(t);for(let[e,t]of Fr)Ir[e]=ur(t);Ir[8576]={width:O,draw:e=>{e.lineWidth(45),e.circle(300,250,220),e.stroke(),e.M(300,470),e.L(300,30),e.stroke()}},Ir[8577]={width:O,draw:e=>{e.lineWidth(45),e.M(180,500),e.L(180,0),e.stroke(),e.M(180,500),e.C(520,500,520,0,180,0),e.stroke(),e.M(300,500),e.L(300,0),e.stroke()}},Ir[8578]={width:O,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,250,150),e.stroke()}},Ir[8579]={width:O,draw:e=>{e.lineWidth(45),e.M(150,450),e.C(450,450,450,50,150,50),e.stroke()}},Lr={},Rr=[(e,t,n,r)=>{e.ellipse(t,n,r*.28,r*.42),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.42),e.L(t,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.25),e.C(t-r*.25,n+r*.45,t+r*.25,n+r*.45,t+r*.25,n+r*.15),e.L(t-r*.25,n-r*.42),e.L(t+r*.25,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t-r*.22,n+r*.42),e.L(t+r*.22,n+r*.42),e.L(t+r*.22,n),e.L(t-r*.1,n),e.stroke(),e.M(t+r*.22,n),e.L(t+r*.22,n-r*.42),e.L(t-r*.22,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.42),e.L(t-r*.25,n-r*.05),e.L(t+r*.25,n-r*.05),e.stroke(),e.M(t+r*.2,n+r*.42),e.L(t+r*.2,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t+r*.22,n+r*.42),e.L(t-r*.22,n+r*.42),e.L(t-r*.22,n+r*.05),e.L(t+r*.22,n+r*.05),e.C(t+r*.35,n+r*.05,t+r*.35,n-r*.42,t-r*.22,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.35),e.C(t-r*.1,n+r*.45,t-r*.3,n+r*.15,t-r*.25,n-r*.1),e.C(t-r*.2,n-r*.45,t+r*.25,n-r*.45,t+r*.25,n-r*.1),e.C(t+r*.25,n+r*.1,t-r*.25,n+r*.1,t-r*.25,n-r*.1),e.stroke()},(e,t,n,r)=>{e.M(t-r*.22,n+r*.42),e.L(t+r*.22,n+r*.42),e.L(t-r*.05,n-r*.42),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n+r*.22,r*.2,r*.2),e.stroke(),e.ellipse(t,n-r*.22,r*.22,r*.22),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.35),e.C(t+r*.1,n-r*.45,t+r*.3,n-r*.15,t+r*.25,n+r*.1),e.C(t+r*.2,n+r*.45,t-r*.25,n+r*.45,t-r*.25,n+r*.1),e.C(t-r*.25,n-r*.1,t+r*.25,n-r*.1,t+r*.25,n+r*.1),e.stroke()}],zr=[(e,t,n,r)=>{e.M(t+r*.25,n-r*.3),e.C(t+r*.1,n-r*.45,t-r*.25,n-r*.35,t-r*.25,n-r*.1),e.C(t-r*.25,n+r*.1,t+r*.25,n+r*.1,t+r*.25,n-r*.1),e.L(t+r*.25,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.45),e.L(t-r*.2,n-r*.45),e.stroke(),e.M(t-r*.2,n-r*.05),e.C(t-r*.2,n-r*.45,t+r*.25,n-r*.45,t+r*.25,n-r*.15),e.C(t+r*.25,n+r*.1,t-r*.2,n+r*.1,t-r*.2,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n-r*.25),e.C(t+r*.05,n-r*.45,t-r*.25,n-r*.35,t-r*.25,n-r*.1),e.C(t-r*.25,n+r*.15,t+r*.05,n+r*.15,t+r*.2,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.45),e.L(t+r*.2,n-r*.45),e.stroke(),e.M(t+r*.2,n-r*.05),e.C(t+r*.2,n-r*.45,t-r*.25,n-r*.45,t-r*.25,n-r*.15),e.C(t-r*.25,n+r*.1,t+r*.2,n+r*.1,t+r*.2,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.08),e.L(t+r*.25,n-r*.08),e.C(t+r*.25,n+r*.15,t-r*.25,n+r*.15,t-r*.25,n-r*.08),e.C(t-r*.25,n-r*.4,t+r*.25,n-r*.4,t+r*.25,n-r*.25),e.stroke()},(e,t,n,r)=>{e.M(t+r*.1,n+r*.4),e.C(t+r*.1,n+r*.5,t-r*.1,n+r*.5,t-r*.1,n+r*.4),e.L(t-r*.1,n-r*.4),e.stroke(),e.M(t-r*.2,n+r*.15),e.L(t+r*.15,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t+r*.22,n+r*.1),e.C(t+r*.22,n+r*.4,t-r*.22,n+r*.4,t-r*.22,n+r*.1),e.C(t-r*.22,n-r*.2,t+r*.22,n-r*.2,t+r*.22,n+r*.1),e.L(t+r*.22,n-r*.3),e.C(t+r*.22,n-r*.5,t-r*.22,n-r*.5,t-r*.22,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.45),e.L(t-r*.2,n-r*.45),e.stroke(),e.M(t-r*.2,n+r*.05),e.C(t-r*.2,n+r*.25,t+r*.2,n+r*.25,t+r*.2,n+r*.05),e.L(t+r*.2,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.15),e.L(t,n-r*.35),e.stroke(),e.circle(t,n+r*.3,r*.06),e.fill()},(e,t,n,r)=>{e.M(t+r*.05,n+r*.15),e.L(t+r*.05,n-r*.35),e.C(t+r*.05,n-r*.5,t-r*.15,n-r*.5,t-r*.15,n-r*.35),e.stroke(),e.circle(t+r*.05,n+r*.3,r*.06),e.fill()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.45),e.L(t-r*.2,n-r*.45),e.stroke(),e.M(t+r*.2,n+r*.15),e.L(t-r*.2,n-r*.1),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.45),e.L(t,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n-r*.35),e.L(t-r*.3,n+r*.15),e.C(t-r*.3,n+r*.25,t-r*.05,n+r*.25,t-r*.05,n+r*.15),e.L(t-r*.05,n-r*.35),e.stroke(),e.M(t-r*.05,n+r*.15),e.C(t-r*.05,n+r*.25,t+r*.2,n+r*.25,t+r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.35),e.L(t-r*.2,n+r*.15),e.C(t-r*.2,n+r*.25,t+r*.2,n+r*.25,t+r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n-r*.1,r*.22,r*.28),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.45),e.L(t-r*.2,n+r*.15),e.stroke(),e.M(t-r*.2,n+r*.05),e.C(t-r*.2,n+r*.35,t+r*.25,n+r*.35,t+r*.25,n+r*.05),e.C(t+r*.25,n-r*.2,t-r*.2,n-r*.2,t-r*.2,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n-r*.45),e.L(t+r*.2,n+r*.15),e.stroke(),e.M(t+r*.2,n+r*.05),e.C(t+r*.2,n+r*.35,t-r*.25,n+r*.35,t-r*.25,n+r*.05),e.C(t-r*.25,n-r*.2,t+r*.2,n-r*.2,t+r*.2,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.15,n-r*.35),e.L(t-r*.15,n+r*.15),e.stroke(),e.M(t-r*.15,n+r*.05),e.C(t-r*.15,n+r*.25,t+r*.15,n+r*.25,t+r*.2,n+r*.1),e.stroke()},(e,t,n,r)=>{e.M(t+r*.18,n+r*.08),e.C(t+r*.18,n+r*.22,t-r*.18,n+r*.22,t-r*.18,n+r*.05),e.C(t-r*.18,n-r*.1,t+r*.18,n-r*.1,t+r*.18,n-r*.22),e.C(t+r*.18,n-r*.38,t-r*.18,n-r*.38,t-r*.18,n-r*.25),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.35),e.L(t,n-r*.35),e.C(t,n-r*.5,t+r*.15,n-r*.5,t+r*.15,n-r*.4),e.stroke(),e.M(t-r*.15,n+r*.15),e.L(t+r*.15,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t-r*.2,n-r*.15),e.C(t-r*.2,n-r*.4,t+r*.2,n-r*.4,t+r*.2,n-r*.15),e.L(t+r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.22,n+r*.15),e.L(t,n-r*.35),e.L(t+r*.22,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.15),e.L(t-r*.15,n-r*.35),e.L(t,n),e.L(t+r*.15,n-r*.35),e.L(t+r*.3,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke(),e.M(t+r*.2,n+r*.15),e.L(t-r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t,n-r*.1),e.L(t+r*.2,n+r*.15),e.stroke(),e.M(t,n-r*.1),e.L(t-r*.1,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t+r*.2,n+r*.15),e.L(t-r*.2,n-r*.35),e.L(t+r*.2,n-r*.35),e.stroke()}];for(let e=0;e<20;e++){let t=e+1;Lr[9332+e]={width:O,draw:e=>{if(e.lineWidth(25),pr(e),e.lineWidth(24),t<=9)dr(e,t,300,250,200);else{let n=Math.floor(t/10),r=t%10;dr(e,n,240,250,150),dr(e,r,380,250,150)}}}}for(let e=0;e<20;e++){let t=e+1;Lr[9352+e]={width:O,draw:e=>{if(e.lineWidth(26),t<=9)dr(e,t,260,250,210);else{let n=Math.floor(t/10),r=t%10;dr(e,n,200,250,160),dr(e,r,340,250,160)}e.circle(t<=9?400:460,80,28),e.fill()}}}for(let e=0;e<26;e++)Lr[9372+e]={width:O,draw:t=>{t.lineWidth(25),pr(t),t.lineWidth(24),fr(t,e,300,250,200)}};for(let e=0;e<=20;e++){let t=e+11;Lr[9451+e]={width:O,draw:n=>{if(n.lineWidth(55),n.circle(300,250,215),n.stroke(),n.lineWidth(24),e<=9){let e=Math.floor(t/10),r=t%10;dr(n,e,230,250,150),dr(n,r,370,250,150)}else if(e<=19){let t=e-9;t<=9?dr(n,t,300,250,170):(dr(n,1,230,250,140),dr(n,0,370,250,140))}else dr(n,0,300,250,170)}}}}));function Vr(e,t,n,r,i,a,o=35){return{width:N,draw:s=>{a||s.lineWidth(o);for(let a=0;a<e;a++){let o=(a*360/e-90)*(Math.PI/180),c=(a*360/e+180/e-90)*(Math.PI/180);a===0?s.M(t+r*Math.cos(o),n+r*Math.sin(o)):s.L(t+r*Math.cos(o),n+r*Math.sin(o)),s.L(t+i*Math.cos(c),n+i*Math.sin(c))}s.Z(),a?s.fill():s.stroke()}}}var N,Hr,Ur,Wr,Gr,Kr,qr,Jr,Yr=n((()=>{N=600,Hr={8636:{width:N,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,250),e.Z(),e.fill()}},8637:{width:N,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,120),e.L(250,250),e.Z(),e.fill()}},8638:{width:N,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(430,300),e.L(300,300),e.Z(),e.fill()}},8639:{width:N,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(170,300),e.L(300,300),e.Z(),e.fill()}},8640:{width:N,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,380),e.L(350,250),e.Z(),e.fill()}},8641:{width:N,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,120),e.L(350,250),e.Z(),e.fill()}},8642:{width:N,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(430,200),e.L(300,200),e.Z(),e.fill()}},8643:{width:N,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(170,200),e.L(300,200),e.Z(),e.fill()}},8644:{width:N,draw:e=>{e.lineWidth(35),e.M(100,330),e.L(500,330),e.stroke(),e.M(500,330),e.L(380,400),e.L(380,260),e.Z(),e.fill(),e.M(500,170),e.L(100,170),e.stroke(),e.M(100,170),e.L(220,240),e.L(220,100),e.Z(),e.fill()}},8645:{width:N,draw:e=>{e.lineWidth(35),e.M(200,80),e.L(200,420),e.stroke(),e.M(200,420),e.L(130,310),e.L(270,310),e.Z(),e.fill(),e.M(400,420),e.L(400,80),e.stroke(),e.M(400,80),e.L(330,190),e.L(470,190),e.Z(),e.fill()}},8646:{width:N,draw:e=>{e.lineWidth(35),e.M(500,330),e.L(100,330),e.stroke(),e.M(100,330),e.L(220,400),e.L(220,260),e.Z(),e.fill(),e.M(100,170),e.L(500,170),e.stroke(),e.M(500,170),e.L(380,240),e.L(380,100),e.Z(),e.fill()}},8647:{width:N,draw:e=>{e.lineWidth(35),e.M(500,330),e.L(130,330),e.stroke(),e.M(130,330),e.L(250,400),e.L(250,260),e.Z(),e.fill(),e.M(500,170),e.L(130,170),e.stroke(),e.M(130,170),e.L(250,240),e.L(250,100),e.Z(),e.fill()}},8648:{width:N,draw:e=>{e.lineWidth(35),e.M(200,80),e.L(200,420),e.stroke(),e.M(200,420),e.L(130,310),e.L(270,310),e.Z(),e.fill(),e.M(400,80),e.L(400,420),e.stroke(),e.M(400,420),e.L(330,310),e.L(470,310),e.Z(),e.fill()}},8649:{width:N,draw:e=>{e.lineWidth(35),e.M(100,330),e.L(470,330),e.stroke(),e.M(470,330),e.L(350,400),e.L(350,260),e.Z(),e.fill(),e.M(100,170),e.L(470,170),e.stroke(),e.M(470,170),e.L(350,240),e.L(350,100),e.Z(),e.fill()}},8650:{width:N,draw:e=>{e.lineWidth(35),e.M(200,420),e.L(200,80),e.stroke(),e.M(200,80),e.L(130,190),e.L(270,190),e.Z(),e.fill(),e.M(400,420),e.L(400,80),e.stroke(),e.M(400,80),e.L(330,190),e.L(470,190),e.Z(),e.fill()}},8651:{width:N,draw:e=>{e.lineWidth(35),e.M(500,330),e.L(100,330),e.stroke(),e.M(100,330),e.L(220,410),e.L(220,330),e.Z(),e.fill(),e.M(100,170),e.L(500,170),e.stroke(),e.M(500,170),e.L(380,90),e.L(380,170),e.Z(),e.fill()}},8652:{width:N,draw:e=>{e.lineWidth(35),e.M(100,330),e.L(500,330),e.stroke(),e.M(500,330),e.L(380,410),e.L(380,330),e.Z(),e.fill(),e.M(500,170),e.L(100,170),e.stroke(),e.M(100,170),e.L(220,90),e.L(220,170),e.Z(),e.fill()}},8653:{width:N,draw:e=>{e.M(100,250),e.L(280,420),e.L(280,300),e.L(500,300),e.L(500,200),e.L(280,200),e.L(280,80),e.Z(),e.fill(),e.lineWidth(50),e.M(350,120),e.L(250,380),e.stroke()}},8654:{width:N,draw:e=>{e.M(80,250),e.L(220,400),e.L(220,300),e.L(380,300),e.L(380,400),e.L(520,250),e.L(380,100),e.L(380,200),e.L(220,200),e.L(220,100),e.Z(),e.fill(),e.lineWidth(50),e.M(350,120),e.L(250,380),e.stroke()}},8655:{width:N,draw:e=>{e.M(500,250),e.L(320,420),e.L(320,300),e.L(100,300),e.L(100,200),e.L(320,200),e.L(320,80),e.Z(),e.fill(),e.lineWidth(50),e.M(250,120),e.L(350,380),e.stroke()}},8661:{width:N,draw:e=>{e.M(300,480),e.L(460,340),e.L(360,340),e.L(360,160),e.L(460,160),e.L(300,20),e.L(140,160),e.L(240,160),e.L(240,340),e.L(140,340),e.Z(),e.fill()}},8662:{width:N,draw:e=>{e.M(100,460),e.L(100,260),e.L(200,310),e.L(380,130),e.L(430,180),e.L(250,360),e.L(300,460),e.Z(),e.fill()}},8663:{width:N,draw:e=>{e.M(500,460),e.L(300,460),e.L(350,360),e.L(170,180),e.L(220,130),e.L(400,310),e.L(500,260),e.Z(),e.fill()}},8664:{width:N,draw:e=>{e.M(500,40),e.L(500,240),e.L(400,190),e.L(220,370),e.L(170,320),e.L(350,140),e.L(300,40),e.Z(),e.fill()}},8665:{width:N,draw:e=>{e.M(100,40),e.L(300,40),e.L(250,140),e.L(430,320),e.L(380,370),e.L(200,190),e.L(100,240),e.Z(),e.fill()}},8666:{width:N,draw:e=>{e.lineWidth(30),e.M(500,310),e.L(200,310),e.stroke(),e.M(500,250),e.L(200,250),e.stroke(),e.M(500,190),e.L(200,190),e.stroke(),e.M(100,250),e.L(250,400),e.L(250,100),e.Z(),e.fill()}},8667:{width:N,draw:e=>{e.lineWidth(30),e.M(100,310),e.L(400,310),e.stroke(),e.M(100,250),e.L(400,250),e.stroke(),e.M(100,190),e.L(400,190),e.stroke(),e.M(500,250),e.L(350,400),e.L(350,100),e.Z(),e.fill()}},8668:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.C(440,330,380,170,300,250),e.C(220,330,180,170,130,250),e.stroke(),e.M(130,250),e.L(230,350),e.L(230,150),e.Z(),e.fill()}},8669:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.C(160,330,220,170,300,250),e.C(380,330,420,170,470,250),e.stroke(),e.M(470,250),e.L(370,350),e.L(370,150),e.Z(),e.fill()}},8670:{width:N,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(180,320),e.L(420,320),e.Z(),e.fill(),e.lineWidth(40),e.M(200,200),e.L(400,200),e.stroke(),e.M(200,130),e.L(400,130),e.stroke()}},8671:{width:N,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(180,180),e.L(420,180),e.Z(),e.fill(),e.lineWidth(40),e.M(200,300),e.L(400,300),e.stroke(),e.M(200,370),e.L(400,370),e.stroke()}},8672:{width:N,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(430,250),e.stroke(),e.M(370,250),e.L(300,250),e.stroke(),e.M(240,250),e.L(170,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill()}},8673:{width:N,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,120),e.stroke(),e.M(300,180),e.L(300,250),e.stroke(),e.M(300,310),e.L(300,380),e.stroke(),e.M(300,450),e.L(180,320),e.L(420,320),e.Z(),e.fill()}},8674:{width:N,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(170,250),e.stroke(),e.M(230,250),e.L(300,250),e.stroke(),e.M(360,250),e.L(430,250),e.stroke(),e.M(500,250),e.L(370,370),e.L(370,130),e.Z(),e.fill()}},8675:{width:N,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,380),e.stroke(),e.M(300,320),e.L(300,250),e.stroke(),e.M(300,190),e.L(300,120),e.stroke(),e.M(300,50),e.L(180,180),e.L(420,180),e.Z(),e.fill()}},8676:{width:N,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(150,250),e.stroke(),e.M(150,250),e.L(280,370),e.L(280,130),e.Z(),e.fill(),e.M(100,100),e.L(100,400),e.stroke()}},8677:{width:N,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(450,250),e.stroke(),e.M(450,250),e.L(320,370),e.L(320,130),e.Z(),e.fill(),e.M(500,100),e.L(500,400),e.stroke()}},8678:{width:N,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(250,430),e.L(250,320),e.L(520,320),e.L(520,180),e.L(250,180),e.L(250,70),e.Z(),e.stroke()}},8679:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(500,270),e.L(390,270),e.L(390,30),e.L(210,30),e.L(210,270),e.L(100,270),e.Z(),e.stroke()}},8680:{width:N,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(350,430),e.L(350,320),e.L(80,320),e.L(80,180),e.L(350,180),e.L(350,70),e.Z(),e.stroke()}},8681:{width:N,draw:e=>{e.lineWidth(40),e.M(300,30),e.L(100,230),e.L(210,230),e.L(210,470),e.L(390,470),e.L(390,230),e.L(500,230),e.Z(),e.stroke()}},8682:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(490,280),e.L(380,280),e.L(380,100),e.L(220,100),e.L(220,280),e.L(110,280),e.Z(),e.stroke(),e.M(130,40),e.L(470,40),e.stroke()}},8693:{width:N,draw:e=>{e.lineWidth(35),e.M(200,420),e.L(200,80),e.stroke(),e.M(200,80),e.L(130,190),e.L(270,190),e.Z(),e.fill(),e.M(400,80),e.L(400,420),e.stroke(),e.M(400,420),e.L(330,310),e.L(470,310),e.Z(),e.fill()}}},Ur={10024:{width:N,draw:e=>{e.M(300,420),e.L(270,300),e.L(180,280),e.L(270,260),e.L(300,140),e.L(330,260),e.L(420,280),e.L(330,300),e.Z(),e.fill(),e.M(440,460),e.L(430,420),e.L(400,410),e.L(430,400),e.L(440,360),e.L(450,400),e.L(480,410),e.L(450,420),e.Z(),e.fill(),e.M(160,170),e.L(150,130),e.L(120,120),e.L(150,110),e.L(160,70),e.L(170,110),e.L(200,120),e.L(170,130),e.Z(),e.fill()}},10025:Vr(5,300,260,220,90,!1,40),10026:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,260,230),e.stroke();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+180*Math.cos(n),260+180*Math.sin(n)):e.L(300+180*Math.cos(n),260+180*Math.sin(n)),e.L(300+70*Math.cos(r),260+70*Math.sin(r))}e.Z(),e.stroke()}},10027:Vr(5,300,260,230,110,!0),10028:{width:N,draw:e=>{e.lineWidth(40);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+220*Math.cos(n),260+220*Math.sin(n)):e.L(300+220*Math.cos(n),260+220*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke(),e.circle(300,260,60),e.fill()}},10029:Vr(5,300,260,230,100,!0),10030:Vr(5,300,260,240,105,!0),10031:Vr(5,300,260,220,80,!1,30),10033:{width:N,draw:e=>{e.lineWidth(60);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},10034:{width:N,draw:e=>{e.lineWidth(40);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300+60*Math.cos(n),250+60*Math.sin(n)),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},10035:{width:N,draw:e=>{e.lineWidth(45);for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300,250),e.L(300+190*Math.cos(n),250+190*Math.sin(n))}e.stroke()}},10036:Vr(8,300,260,220,100,!0),10037:Vr(8,300,260,220,80,!1,30),10038:Vr(6,300,260,220,110,!0),10039:Vr(8,300,260,220,90,!0),10040:Vr(8,300,260,230,80,!0),10041:Vr(12,300,260,220,130,!0),10042:Vr(16,300,260,220,140,!0),10043:Vr(6,300,260,220,80,!0),10044:Vr(6,300,260,220,80,!1,35),10045:Vr(6,300,260,230,70,!0),10046:Vr(6,300,260,210,120,!1,40),10047:Vr(6,300,260,210,120,!0),10048:Vr(6,300,260,210,120,!1,35),10049:Vr(8,300,260,210,130,!1,40),10050:{width:N,draw:e=>{e.lineWidth(30),e.circle(300,260,230),e.stroke();for(let t=0;t<8;t++){let n=(t*45-90)*Math.PI/180,r=(t*45+22.5-90)*Math.PI/180;t===0?e.M(300+190*Math.cos(n),260+190*Math.sin(n)):e.L(300+190*Math.cos(n),260+190*Math.sin(n)),e.L(300+100*Math.cos(r),260+100*Math.sin(r))}e.Z(),e.stroke()}},10051:Vr(8,300,260,220,70,!0),10052:{width:N,draw:e=>{e.lineWidth(35);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke(),e.lineWidth(25);for(let t=0;t<360;t+=60){let n=t*Math.PI/180,r=300+130*Math.cos(n),i=250+130*Math.sin(n),a=n+Math.PI/2;e.M(r+40*Math.cos(a),i+40*Math.sin(a)),e.L(r-40*Math.cos(a),i-40*Math.sin(a))}e.stroke()}},10053:{width:N,draw:e=>{e.lineWidth(40);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+190*Math.cos(n),250+190*Math.sin(n))}e.stroke()}},10054:{width:N,draw:e=>{e.lineWidth(45);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},10055:{width:N,draw:e=>{e.M(300,480),e.L(260,290),e.L(100,250),e.L(260,210),e.L(300,20),e.L(340,210),e.L(500,250),e.L(340,290),e.Z(),e.fill()}},10056:{width:N,draw:e=>{e.M(300,490),e.L(250,300),e.L(80,250),e.L(250,200),e.L(300,10),e.L(350,200),e.L(520,250),e.L(350,300),e.Z(),e.fill()}},10057:{width:N,draw:e=>{e.lineWidth(55);for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300,250),e.L(300+180*Math.cos(n),250+180*Math.sin(n))}e.stroke()}},10058:Vr(8,300,260,220,60,!0),10059:Vr(8,300,260,230,50,!0),10060:{width:N,draw:e=>{e.lineWidth(80),e.M(120,70),e.L(480,430),e.stroke(),e.M(120,430),e.L(480,70),e.stroke()}},10061:{width:N,draw:e=>{e.lineWidth(50),e.circle(300,260,190),e.stroke(),e.lineWidth(25),e.M(420,100),e.C(500,140,530,240,490,340),e.stroke()}},10062:{width:N,draw:e=>{e.rect(80,30,440,440),e.fill()}},10067:{width:N,draw:e=>{e.lineWidth(65),e.M(200,400),e.C(200,500,400,500,400,400),e.C(400,320,300,300,300,220),e.stroke(),e.circle(300,100,40),e.fill()}},10068:{width:N,draw:e=>{e.lineWidth(50),e.M(200,400),e.C(200,500,400,500,400,400),e.C(400,320,300,300,300,220),e.stroke(),e.lineWidth(40),e.circle(300,100,35),e.stroke()}},10069:{width:N,draw:e=>{e.lineWidth(50),e.M(300,480),e.L(300,180),e.stroke(),e.lineWidth(40),e.circle(300,80,35),e.stroke()}},10071:{width:N,draw:e=>{e.lineWidth(75),e.M(300,480),e.L(300,180),e.stroke(),e.circle(300,70,45),e.fill()}},10082:{width:N,draw:e=>{e.lineWidth(55),e.M(300,480),e.L(300,200),e.stroke(),e.circle(300,100,35),e.fill(),e.circle(300,500,20),e.fill()}},10083:{width:N,draw:e=>{e.M(300,320),e.C(300,320,180,400,180,450),e.C(180,490,240,510,300,510),e.C(360,510,420,490,420,450),e.C(420,400,300,320,300,320),e.Z(),e.fill(),e.lineWidth(55),e.M(300,300),e.L(300,130),e.stroke(),e.circle(300,50,35),e.fill()}},10085:{width:N,draw:e=>{e.M(250,80),e.C(250,80,80,200,80,310),e.C(80,400,160,440,250,440),e.C(340,440,400,400,400,310),e.C(400,200,250,80,250,80),e.Z(),e.fill()}},10086:{width:N,draw:e=>{e.lineWidth(35),e.M(300,80),e.C(300,80,100,220,100,340),e.C(100,440,190,490,300,490),e.C(410,490,500,440,500,340),e.C(500,220,300,80,300,80),e.Z(),e.stroke(),e.M(300,150),e.C(250,200,200,300,300,400),e.C(400,300,350,200,300,150),e.stroke()}},10087:{width:N,draw:e=>{e.lineWidth(35),e.M(250,80),e.C(250,80,80,200,80,310),e.C(80,400,160,440,250,440),e.C(340,440,400,400,400,310),e.C(400,200,250,80,250,80),e.Z(),e.stroke()}},10133:{width:N,draw:e=>{e.rect(220,50,160,400),e.fill(),e.rect(100,170,400,160),e.fill()}},10134:{width:N,draw:e=>{e.rect(100,180,400,140),e.fill()}},10135:{width:N,draw:e=>{e.rect(100,200,400,100),e.fill(),e.circle(300,400,50),e.fill(),e.circle(300,100,50),e.fill()}},10136:{width:N,draw:e=>{e.M(480,50),e.L(480,250),e.L(320,200),e.L(140,430),e.L(100,400),e.L(280,170),e.L(230,50),e.Z(),e.fill()}},10137:{width:N,draw:e=>{e.M(520,250),e.L(340,430),e.L(340,310),e.L(80,310),e.L(80,190),e.L(340,190),e.L(340,70),e.Z(),e.fill()}},10138:{width:N,draw:e=>{e.M(480,450),e.L(230,450),e.L(280,330),e.L(100,100),e.L(140,70),e.L(320,300),e.L(480,250),e.Z(),e.fill()}},10139:{width:N,draw:e=>{e.M(520,250),e.L(350,400),e.L(350,280),e.L(80,250),e.L(350,220),e.L(350,100),e.Z(),e.fill()}},10141:{width:N,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(400,250),e.stroke(),e.M(520,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},10142:{width:N,draw:e=>{e.lineWidth(50),e.M(80,250),e.L(380,250),e.stroke(),e.M(530,250),e.L(350,420),e.L(350,80),e.Z(),e.fill()}},10143:{width:N,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(160,250),e.stroke(),e.M(210,250),e.L(290,250),e.stroke(),e.M(340,250),e.L(400,250),e.stroke(),e.M(520,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},10144:{width:N,draw:e=>{e.lineWidth(55),e.M(80,250),e.L(170,250),e.stroke(),e.M(230,250),e.L(350,250),e.stroke(),e.M(530,250),e.L(350,420),e.L(350,80),e.Z(),e.fill()}},10146:{width:N,draw:e=>{e.M(520,250),e.L(200,430),e.L(280,250),e.L(200,70),e.Z(),e.fill()}},10147:{width:N,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(200,430),e.L(280,250),e.L(200,70),e.Z(),e.stroke()}},10148:{width:N,draw:e=>{e.M(520,250),e.L(100,450),e.L(100,50),e.Z(),e.fill()}},10149:{width:N,draw:e=>{e.M(500,200),e.L(380,320),e.L(380,240),e.C(300,240,200,280,150,380),e.L(100,380),e.C(140,220,260,150,380,150),e.L(380,80),e.Z(),e.fill()}},10150:{width:N,draw:e=>{e.M(500,300),e.L(380,420),e.L(380,350),e.C(260,350,140,280,100,120),e.L(150,120),e.C(200,220,300,260,380,260),e.L(380,180),e.Z(),e.fill()}},10151:{width:N,draw:e=>{e.M(500,250),e.L(350,380),e.L(350,310),e.L(100,310),e.L(100,190),e.L(350,190),e.L(350,120),e.Z(),e.fill()}},10152:{width:N,draw:e=>{e.M(520,250),e.L(320,440),e.L(320,310),e.L(80,310),e.C(150,250,150,250,80,190),e.L(320,190),e.L(320,60),e.Z(),e.fill()}},10153:{width:N,draw:e=>{e.lineWidth(35),e.M(520,250),e.L(340,430),e.L(340,310),e.L(80,310),e.L(80,190),e.L(340,190),e.L(340,70),e.Z(),e.stroke()}},10154:{width:N,draw:e=>{e.lineWidth(35),e.M(520,250),e.L(340,430),e.L(340,310),e.L(80,310),e.L(80,190),e.L(340,190),e.L(340,70),e.Z(),e.fillStroke()}},10155:{width:N,draw:e=>{e.M(520,250),e.L(340,440),e.L(340,310),e.L(100,310),e.L(100,190),e.L(340,190),e.L(340,60),e.Z(),e.fill()}},10156:{width:N,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(340,440),e.L(340,310),e.L(100,310),e.L(100,190),e.L(340,190),e.L(340,60),e.Z(),e.fillStroke()}},10157:{width:N,draw:e=>{e.lineWidth(45),e.M(510,250),e.L(340,420),e.L(340,310),e.L(90,310),e.L(90,190),e.L(340,190),e.L(340,80),e.Z(),e.stroke()}},10158:{width:N,draw:e=>{e.lineWidth(50),e.M(510,250),e.L(340,420),e.L(340,310),e.L(90,310),e.L(90,190),e.L(340,190),e.L(340,80),e.Z(),e.stroke()}},10159:{width:N,draw:e=>{e.M(520,250),e.L(350,430),e.L(350,310),e.L(100,310),e.L(140,250),e.L(100,190),e.L(350,190),e.L(350,70),e.Z(),e.fill()}},10161:{width:N,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(350,430),e.L(350,310),e.L(100,310),e.L(140,250),e.L(100,190),e.L(350,190),e.L(350,70),e.Z(),e.stroke()}},10162:{width:N,draw:e=>{e.circle(300,250,230),e.fill()}},10163:{width:N,draw:e=>{e.lineWidth(30),e.M(80,250),e.L(450,250),e.stroke(),e.M(520,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(20),e.M(120,250),e.L(80,320),e.stroke(),e.M(120,250),e.L(80,180),e.stroke()}},10164:{width:N,draw:e=>{e.M(480,50),e.L(480,220),e.L(200,400),e.L(250,50),e.Z(),e.fill()}},10165:{width:N,draw:e=>{e.M(520,250),e.L(390,360),e.L(390,275),e.L(80,275),e.L(120,250),e.L(80,225),e.L(390,225),e.L(390,140),e.Z(),e.fill()}},10166:{width:N,draw:e=>{e.M(480,450),e.L(250,450),e.L(200,100),e.L(480,280),e.Z(),e.fill()}},10167:{width:N,draw:e=>{e.M(500,50),e.L(500,240),e.L(180,420),e.L(230,50),e.Z(),e.fill()}},10168:{width:N,draw:e=>{e.M(530,250),e.L(380,380),e.L(380,290),e.L(70,290),e.L(120,250),e.L(70,210),e.L(380,210),e.L(380,120),e.Z(),e.fill()}},10169:{width:N,draw:e=>{e.M(500,450),e.L(230,450),e.L(180,80),e.L(500,260),e.Z(),e.fill()}},10170:{width:N,draw:e=>{e.M(520,250),e.L(370,380),e.L(370,270),e.C(200,270,120,260,80,250),e.C(120,240,200,230,370,230),e.L(370,120),e.Z(),e.fill()}},10171:{width:N,draw:e=>{e.M(530,250),e.L(380,400),e.L(380,290),e.C(250,290,150,280,70,250),e.C(150,220,250,210,380,210),e.L(380,100),e.Z(),e.fill()}},10172:{width:N,draw:e=>{e.lineWidth(35),e.M(80,310),e.L(400,260),e.stroke(),e.M(80,190),e.L(400,240),e.stroke(),e.M(520,250),e.L(380,370),e.L(380,130),e.Z(),e.fill()}},10173:{width:N,draw:e=>{e.M(530,250),e.L(380,400),e.L(380,280),e.L(70,320),e.L(70,180),e.L(380,220),e.L(380,100),e.Z(),e.fill()}},10174:{width:N,draw:e=>{e.lineWidth(35),e.M(510,250),e.L(340,420),e.L(340,310),e.L(90,310),e.L(90,190),e.L(340,190),e.L(340,80),e.Z(),e.stroke()}}},Wr={9730:{width:N,draw:e=>{e.lineWidth(40),e.M(80,280),e.C(80,480,300,520,300,520),e.C(300,520,520,480,520,280),e.L(80,280),e.stroke(),e.M(300,280),e.L(300,80),e.C(300,30,260,20,240,50),e.stroke()}},9731:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,100,80),e.stroke(),e.circle(300,260,110),e.stroke(),e.circle(300,430,70),e.stroke()}},9732:{width:N,draw:e=>{e.circle(420,380,70),e.fill(),e.lineWidth(30),e.M(370,420),e.C(250,470,100,480,80,460),e.stroke(),e.M(380,440),e.C(280,490,120,500,80,490),e.stroke()}},9748:{width:N,draw:e=>{e.lineWidth(35),e.M(80,300),e.C(80,480,300,500,300,500),e.C(300,500,520,480,520,300),e.L(80,300),e.stroke(),e.M(300,300),e.L(300,100),e.C(300,50,260,40,240,70),e.stroke(),e.lineWidth(25),e.M(150,200),e.L(130,160),e.stroke(),e.M(300,180),e.L(280,140),e.stroke(),e.M(450,200),e.L(430,160),e.stroke()}},9749:{width:N,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(120,300),e.L(400,300),e.L(400,50),e.stroke(),e.M(400,250),e.C(480,250,500,180,480,120),e.C(460,80,400,80,400,100),e.stroke(),e.lineWidth(25),e.M(200,340),e.C(200,380,220,400,200,440),e.stroke(),e.M(300,340),e.C(300,380,320,400,300,440),e.stroke()}},9752:{width:N,draw:e=>{e.circle(300,370,80),e.fill(),e.circle(220,280,80),e.fill(),e.circle(380,280,80),e.fill(),e.lineWidth(30),e.M(300,290),e.C(300,200,280,100,260,50),e.stroke()}},9760:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,350,120),e.stroke(),e.circle(260,370,25),e.fill(),e.circle(340,370,25),e.fill(),e.M(250,260),e.L(350,260),e.stroke(),e.lineWidth(30),e.M(130,100),e.L(470,200),e.stroke(),e.M(130,200),e.L(470,100),e.stroke()}},9762:{width:N,draw:e=>{e.circle(300,250,40),e.fill(),e.lineWidth(35);for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180,r=300+70*Math.cos(n-.4),i=250+70*Math.sin(n-.4),a=300+200*Math.cos(n-.4),o=250+200*Math.sin(n-.4),s=300+200*Math.cos(n+.4),c=250+200*Math.sin(n+.4),l=300+70*Math.cos(n+.4),u=250+70*Math.sin(n+.4);e.M(r,i),e.L(a,o),e.L(s,c),e.L(l,u),e.Z(),e.fill()}}},9763:{width:N,draw:e=>{e.lineWidth(35);for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180;e.circle(300+90*Math.cos(n),250+90*Math.sin(n),110),e.stroke()}e.circle(300,250,25),e.fill()}},9766:{width:N,draw:e=>{e.lineWidth(45),e.M(300,0),e.L(300,500),e.stroke(),e.M(180,400),e.L(420,400),e.stroke(),e.M(180,120),e.L(420,80),e.stroke(),e.M(220,460),e.L(380,460),e.stroke()}},9784:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,250,200),e.stroke();for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke(),e.circle(300,250,40),e.fill()}},9788:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,250,110),e.stroke();for(let t=0;t<360;t+=30){let n=t*Math.PI/180;e.M(300+130*Math.cos(n),250+130*Math.sin(n)),e.L(300+210*Math.cos(n),250+210*Math.sin(n))}e.stroke()}},9800:{width:N,draw:e=>{e.lineWidth(45),e.M(150,50),e.C(150,300,300,400,300,480),e.stroke(),e.M(450,50),e.C(450,300,300,400,300,480),e.stroke()}},9801:{width:N,draw:e=>{e.lineWidth(45),e.circle(300,200,150),e.stroke(),e.M(100,430),e.C(200,500,400,500,500,430),e.stroke()}},9802:{width:N,draw:e=>{e.lineWidth(45),e.M(120,450),e.C(200,500,400,500,480,450),e.stroke(),e.M(120,50),e.C(200,0,400,0,480,50),e.stroke(),e.M(220,450),e.L(220,50),e.stroke(),e.M(380,450),e.L(380,50),e.stroke()}},9803:{width:N,draw:e=>{e.lineWidth(45),e.M(480,380),e.C(300,500,120,380,120,300),e.stroke(),e.circle(200,350,60),e.fill(),e.M(120,120),e.C(300,0,480,120,480,200),e.stroke(),e.circle(400,150,60),e.fill()}},9804:{width:N,draw:e=>{e.lineWidth(45),e.circle(200,150,100),e.stroke(),e.M(300,150),e.C(400,150,480,250,480,350),e.C(480,450,420,480,380,430),e.stroke()}},9805:{width:N,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(100,400),e.C(100,480,200,480,200,400),e.L(200,50),e.stroke(),e.M(200,400),e.C(200,480,300,480,300,400),e.L(300,50),e.stroke(),e.M(300,300),e.L(480,100),e.stroke()}},9806:{width:N,draw:e=>{e.lineWidth(45),e.M(100,50),e.L(500,50),e.stroke(),e.M(100,200),e.L(500,200),e.stroke(),e.M(300,200),e.C(150,200,100,350,200,420),e.stroke(),e.M(300,200),e.C(450,200,500,350,400,420),e.stroke()}},9807:{width:N,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(100,400),e.C(100,480,200,480,200,400),e.L(200,50),e.stroke(),e.M(200,400),e.C(200,480,300,480,300,400),e.L(300,50),e.stroke(),e.M(300,50),e.L(400,50),e.L(350,100),e.stroke()}},9808:{width:N,draw:e=>{e.lineWidth(45),e.M(120,80),e.L(480,440),e.stroke(),e.M(480,440),e.L(350,440),e.stroke(),e.M(480,440),e.L(480,310),e.stroke(),e.M(200,260),e.L(380,160),e.stroke()}},9809:{width:N,draw:e=>{e.lineWidth(45),e.M(100,450),e.L(100,200),e.C(100,100,200,50,300,100),e.C(400,150,450,100,450,50),e.stroke(),e.M(450,50),e.C(500,100,500,200,420,250),e.stroke()}},9810:{width:N,draw:e=>{e.lineWidth(45),e.M(80,350),e.C(150,400,250,300,300,350),e.C(350,400,450,300,520,350),e.stroke(),e.M(80,200),e.C(150,250,250,150,300,200),e.C(350,250,450,150,520,200),e.stroke()}},9811:{width:N,draw:e=>{e.lineWidth(45),e.M(120,100),e.C(200,250,200,250,120,400),e.stroke(),e.M(480,100),e.C(400,250,400,250,480,400),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},9825:{width:N,draw:e=>{e.lineWidth(35),e.M(300,80),e.C(300,80,80,200,80,340),e.C(80,440,180,490,300,490),e.C(420,490,520,440,520,340),e.C(520,200,300,80,300,80),e.Z(),e.stroke()}},9826:{width:N,draw:e=>{e.lineWidth(35),e.M(300,500),e.L(500,250),e.L(300,0),e.L(100,250),e.Z(),e.stroke()}},9828:{width:N,draw:e=>{e.lineWidth(35),e.M(300,500),e.C(300,500,80,350,80,200),e.C(80,100,200,50,300,180),e.C(400,50,520,100,520,200),e.C(520,350,300,500,300,500),e.Z(),e.stroke(),e.lineWidth(30),e.M(280,0),e.L(320,0),e.L(310,140),e.L(290,140),e.Z(),e.stroke()}},9831:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,370,100),e.stroke(),e.circle(195,240,90),e.stroke(),e.circle(405,240,90),e.stroke(),e.lineWidth(30),e.M(280,0),e.L(320,0),e.L(310,180),e.L(290,180),e.Z(),e.stroke()}},9851:{width:N,draw:e=>{e.lineWidth(40);for(let t=0;t<3;t++){let n=(t*120+30)*Math.PI/180,r=(t*120+90)*Math.PI/180;e.M(300+180*Math.cos(n),240+180*Math.sin(n)),e.C(300+216*Math.cos((n+r)/2),240+216*Math.sin((n+r)/2),300+216*Math.cos((n+r)/2),240+216*Math.sin((n+r)/2),300+180*Math.cos(r),240+180*Math.sin(r))}e.stroke();for(let t=0;t<3;t++){let n=(t*120+90)*Math.PI/180,r=(t*120+120)*Math.PI/180,i=300+180*Math.cos(n),a=240+180*Math.sin(n);e.M(i,a),e.L(i+40*Math.cos(r+2.5),a+40*Math.sin(r+2.5)),e.L(i+40*Math.cos(r-2.5),a+40*Math.sin(r-2.5)),e.Z(),e.fill()}}},9854:{width:N,draw:e=>{e.lineWidth(35),e.M(300,250),e.C(300,350,420,380,450,300),e.C(480,220,420,150,380,180),e.C(340,210,300,250,300,250),e.C(300,250,260,290,220,320),e.C(180,350,120,280,150,200),e.C(180,120,300,150,300,250),e.stroke()}},9855:{width:N,draw:e=>{e.lineWidth(40),e.circle(280,420,40),e.fill(),e.M(280,380),e.L(280,220),e.L(380,220),e.stroke(),e.circle(300,160,100),e.stroke(),e.M(380,220),e.L(420,80),e.stroke()}},9874:{width:N,draw:e=>{e.lineWidth(40),e.M(150,80),e.L(400,380),e.stroke(),e.M(450,80),e.L(200,380),e.stroke(),e.M(350,350),e.L(450,420),e.stroke(),e.M(150,420),e.L(250,350),e.stroke()}},9875:{width:N,draw:e=>{e.lineWidth(45),e.circle(300,440,40),e.stroke(),e.M(300,400),e.L(300,80),e.stroke(),e.M(180,320),e.L(420,320),e.stroke(),e.M(300,80),e.C(150,80,100,150,130,200),e.stroke(),e.M(300,80),e.C(450,80,500,150,470,200),e.stroke()}},9876:{width:N,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(500,450),e.stroke(),e.M(500,50),e.L(100,450),e.stroke(),e.lineWidth(30),e.M(140,130),e.L(200,70),e.stroke(),e.M(460,130),e.L(400,70),e.stroke()}},9877:{width:N,draw:e=>{e.lineWidth(40),e.M(300,20),e.L(300,480),e.stroke(),e.lineWidth(30),e.M(300,380),e.C(400,380,420,320,300,300),e.C(180,280,200,220,300,200),e.C(400,180,380,120,300,120),e.stroke()}},9878:{width:N,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(500,350),e.stroke(),e.M(300,350),e.L(300,80),e.stroke(),e.M(200,80),e.L(400,80),e.stroke(),e.M(100,350),e.C(100,250,180,220,220,250),e.stroke(),e.M(500,350),e.C(500,250,420,220,380,250),e.stroke()}},9879:{width:N,draw:e=>{e.lineWidth(35),e.M(200,50),e.L(400,50),e.L(480,250),e.C(500,300,460,350,400,350),e.L(200,350),e.C(140,350,100,300,120,250),e.L(200,50),e.Z(),e.stroke(),e.M(250,350),e.L(250,450),e.stroke(),e.M(350,350),e.L(350,450),e.stroke()}},9881:{width:N,draw:e=>{e.lineWidth(30),e.circle(300,250,100),e.stroke();for(let t=0;t<8;t++){let n=t*360/8*(Math.PI/180),r=15*Math.PI/180;e.M(300+130*Math.cos(n-r),250+130*Math.sin(n-r)),e.L(300+200*Math.cos(n-r*.7),250+200*Math.sin(n-r*.7)),e.L(300+200*Math.cos(n+r*.7),250+200*Math.sin(n+r*.7)),e.L(300+130*Math.cos(n+r),250+130*Math.sin(n+r))}e.fill(),e.circle(300,250,130),e.stroke()}},9883:{width:N,draw:e=>{e.lineWidth(30),e.ellipse(300,250,220,80),e.stroke(),e.M(130,100),e.C(200,50,440,300,470,400),e.C(440,450,200,200,130,100),e.stroke(),e.M(470,100),e.C(400,50,160,300,130,400),e.C(160,450,400,200,470,100),e.stroke(),e.circle(300,250,25),e.fill()}},9884:{width:N,draw:e=>{e.lineWidth(30),e.M(300,480),e.C(280,400,260,300,300,200),e.C(340,300,320,400,300,480),e.stroke(),e.M(300,300),e.C(200,350,100,400,100,350),e.C(100,300,180,250,250,200),e.stroke(),e.M(300,300),e.C(400,350,500,400,500,350),e.C(500,300,420,250,350,200),e.stroke(),e.M(200,100),e.L(400,100),e.stroke(),e.M(300,200),e.L(300,100),e.stroke()}},9893:{width:N,draw:e=>{e.lineWidth(40),e.circle(280,270,120),e.stroke(),e.M(280,150),e.L(280,30),e.stroke(),e.M(220,90),e.L(340,90),e.stroke(),e.M(370,350),e.L(490,460),e.stroke(),e.M(420,460),e.L(490,460),e.L(490,390),e.stroke()}},9895:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,220,110),e.stroke(),e.M(375,295),e.L(480,420),e.stroke(),e.M(420,420),e.L(480,420),e.L(480,360),e.stroke(),e.M(300,110),e.L(300,20),e.stroke(),e.M(250,60),e.L(350,60),e.stroke()}},9904:{width:N,draw:e=>{e.lineWidth(40),e.M(200,480),e.L(140,300),e.L(200,20),e.L(400,20),e.L(460,300),e.L(400,480),e.Z(),e.stroke()}},9917:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,250,200),e.stroke();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=((t+1)*72-90)*Math.PI/180;t===0&&e.M(300+80*Math.cos(n),250+80*Math.sin(n)),e.L(300+80*Math.cos(r),250+80*Math.sin(r))}e.Z(),e.fill()}},9918:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,250,200),e.stroke(),e.lineWidth(25),e.M(150,400),e.C(200,300,200,200,150,100),e.stroke(),e.M(450,400),e.C(400,300,400,200,450,100),e.stroke()}},9924:{width:N,draw:e=>{e.circle(300,140,100),e.fill(),e.circle(300,350,70),e.fill()}},9925:{width:N,draw:e=>{e.lineWidth(30),e.M(420,420),e.C(480,420,520,380,520,320),e.stroke();for(let t=-30;t<=60;t+=30){let n=t*Math.PI/180;e.M(460+60*Math.cos(n),360+60*Math.sin(n)),e.L(460+100*Math.cos(n),360+100*Math.sin(n))}e.stroke(),e.lineWidth(35),e.M(100,220),e.C(100,370,180,400,260,380),e.C(280,430,380,430,400,380),e.C(460,380,480,300,440,220),e.L(100,220),e.fill(),e.M(100,220),e.C(100,370,180,400,260,380),e.C(280,430,380,430,400,380),e.C(460,380,480,300,440,220),e.L(100,220),e.stroke()}},9934:{width:N,draw:e=>{e.lineWidth(45),e.M(150,450),e.L(150,200),e.C(150,50,450,50,450,200),e.L(450,450),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},9940:{width:N,draw:e=>{e.circle(300,250,220),e.fill()}},9962:{width:N,draw:e=>{e.lineWidth(35),e.rect(150,50,300,250),e.stroke(),e.M(130,300),e.L(300,420),e.L(470,300),e.Z(),e.stroke(),e.M(300,420),e.L(300,490),e.stroke(),e.M(270,460),e.L(330,460),e.stroke(),e.M(260,50),e.L(260,150),e.L(340,150),e.L(340,50),e.stroke()}},9970:{width:N,draw:e=>{e.lineWidth(35),e.M(100,50),e.L(500,50),e.stroke(),e.M(150,50),e.L(150,200),e.stroke(),e.M(450,50),e.L(450,200),e.stroke(),e.M(100,200),e.L(500,200),e.stroke(),e.M(300,200),e.L(300,380),e.stroke(),e.M(300,380),e.C(200,420,150,300,150,200),e.stroke(),e.M(300,380),e.C(400,420,450,300,450,200),e.stroke()}},9971:{width:N,draw:e=>{e.lineWidth(35),e.M(250,30),e.L(250,480),e.stroke(),e.M(250,480),e.L(450,420),e.L(250,360),e.Z(),e.fill(),e.M(120,30),e.C(200,60,300,60,380,30),e.stroke()}},9973:{width:N,draw:e=>{e.lineWidth(35),e.M(80,150),e.L(520,150),e.L(450,50),e.L(150,50),e.Z(),e.stroke(),e.M(300,150),e.L(300,470),e.stroke(),e.M(300,460),e.L(450,200),e.L(300,200),e.Z(),e.stroke()}},9978:{width:N,draw:e=>{e.lineWidth(40),e.M(80,50),e.L(300,450),e.L(520,50),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.stroke()}}},Gr={8961:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(200,350),e.L(280,200),e.L(380,350),e.L(450,250),e.stroke(),e.M(450,250),e.L(500,320),e.L(500,180),e.Z(),e.fill()}},8963:{width:N,draw:e=>{e.lineWidth(50),e.M(130,100),e.L(300,400),e.L(470,100),e.stroke()}},8964:{width:N,draw:e=>{e.lineWidth(50),e.M(130,400),e.L(300,100),e.L(470,400),e.stroke()}},8965:{width:N,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(300,100),e.L(300,450),e.stroke(),e.M(200,350),e.L(400,350),e.stroke()}},8966:{width:N,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,100),e.L(300,450),e.stroke()}},8967:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.C(180,350,260,150,340,250),e.C(420,350,500,150,520,250),e.stroke()}},8968:{width:N,draw:e=>{e.lineWidth(50),e.M(400,450),e.L(200,450),e.L(200,50),e.stroke()}},8969:{width:N,draw:e=>{e.lineWidth(50),e.M(200,450),e.L(400,450),e.L(400,50),e.stroke()}},8970:{width:N,draw:e=>{e.lineWidth(50),e.M(200,450),e.L(200,50),e.L(400,50),e.stroke()}},8971:{width:N,draw:e=>{e.lineWidth(50),e.M(400,450),e.L(400,50),e.L(200,50),e.stroke()}},8972:{width:N,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(450,100),e.L(450,250),e.stroke()}},8973:{width:N,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(150,100),e.L(150,250),e.stroke()}},8974:{width:N,draw:e=>{e.lineWidth(45),e.M(300,400),e.L(450,400),e.L(450,250),e.stroke()}},8975:{width:N,draw:e=>{e.lineWidth(45),e.M(300,400),e.L(150,400),e.L(150,250),e.stroke()}},8977:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke()}},8978:{width:N,draw:e=>{e.lineWidth(50),e.M(80,100),e.C(80,400,520,400,520,100),e.stroke()}},8979:{width:N,draw:e=>{e.lineWidth(45),e.M(80,200),e.C(80,450,520,450,520,200),e.stroke(),e.M(80,200),e.L(520,200),e.stroke()}},8980:{width:N,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(120,400),e.C(200,500,400,500,480,400),e.L(300,100),e.stroke()}},8982:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,120),e.stroke(),e.M(300,50),e.L(300,450),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},8983:{width:N,draw:e=>{e.lineWidth(40),e.rect(120,70,360,360),e.stroke(),e.M(300,70),e.L(300,430),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},8985:{width:N,draw:e=>{e.lineWidth(50),e.M(120,350),e.L(480,350),e.L(480,150),e.stroke()}},8988:{width:N,draw:e=>{e.lineWidth(45),e.M(150,300),e.L(150,420),e.L(300,420),e.stroke()}},8989:{width:N,draw:e=>{e.lineWidth(45),e.M(300,420),e.L(450,420),e.L(450,300),e.stroke()}},8990:{width:N,draw:e=>{e.lineWidth(45),e.M(150,200),e.L(150,80),e.L(300,80),e.stroke()}},8991:{width:N,draw:e=>{e.lineWidth(45),e.M(300,80),e.L(450,80),e.L(450,200),e.stroke()}},8992:{width:N,draw:e=>{e.lineWidth(50),e.M(380,480),e.C(350,480,300,450,300,400),e.L(300,50),e.stroke()}},8993:{width:N,draw:e=>{e.lineWidth(50),e.M(300,450),e.L(300,100),e.C(300,50,250,20,220,20),e.stroke()}},8994:{width:N,draw:e=>{e.lineWidth(50),e.M(80,350),e.C(200,100,400,100,520,350),e.stroke()}},8995:{width:N,draw:e=>{e.lineWidth(50),e.M(80,200),e.C(200,450,400,450,520,200),e.stroke()}},8996:{width:N,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(100,400),e.L(500,400),e.stroke(),e.M(200,200),e.L(300,350),e.L(400,200),e.stroke()}},8997:{width:N,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(250,100),e.L(400,400),e.L(500,400),e.stroke(),e.M(300,400),e.L(500,400),e.stroke(),e.M(100,400),e.L(300,400),e.stroke()}},8998:{width:N,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(200,420),e.L(520,420),e.L(520,80),e.L(200,80),e.Z(),e.stroke(),e.M(280,180),e.L(440,320),e.stroke(),e.M(280,320),e.L(440,180),e.stroke()}},8999:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,70,400,360),e.stroke(),e.M(180,150),e.L(420,350),e.stroke(),e.M(180,350),e.L(420,150),e.stroke()}},9003:{width:N,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(400,420),e.L(80,420),e.L(80,80),e.L(400,80),e.Z(),e.stroke(),e.M(160,180),e.L(320,320),e.stroke(),e.M(160,320),e.L(320,180),e.stroke()}},9001:{width:N,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(200,250),e.L(400,50),e.stroke()}},9002:{width:N,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(400,250),e.L(200,50),e.stroke()}},9004:{width:N,draw:e=>{e.lineWidth(35);for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180,r=((t+1)*60-90)*Math.PI/180;e.M(300+180*Math.cos(n),250+180*Math.sin(n)),e.L(300+180*Math.cos(r),250+180*Math.sin(r))}e.stroke(),e.circle(300,250,100),e.stroke()}},9005:{width:N,draw:e=>{e.lineWidth(40),e.M(150,420),e.L(150,80),e.stroke(),e.M(450,420),e.L(450,80),e.stroke(),e.ellipse(300,420,150,40),e.stroke(),e.ellipse(300,80,150,40),e.stroke()}},9006:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.M(300,450),e.L(300,480),e.stroke()}},9007:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(250,350),e.L(300,400),e.L(350,350),e.stroke()}},9008:{width:N,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(150,100),e.L(450,100),e.stroke(),e.M(150,250),e.L(350,250),e.stroke()}},9009:{width:N,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,400),e.stroke()}},9010:{width:N,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(500,300),e.stroke(),e.M(100,150),e.L(500,200),e.stroke()}},9011:{width:N,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(100,400),e.L(500,250),e.stroke()}},9012:{width:N,draw:e=>{e.lineWidth(40),e.M(200,400),e.L(200,250),e.L(100,250),e.L(100,100),e.L(500,100),e.L(500,250),e.L(400,250),e.L(400,400),e.stroke()}},9013:{width:N,draw:e=>{e.lineWidth(40),e.M(200,100),e.L(100,300),e.L(100,400),e.stroke(),e.M(400,100),e.L(500,300),e.L(500,400),e.stroke(),e.M(200,100),e.L(400,100),e.stroke()}},9014:{width:N,draw:e=>{e.lineWidth(45),e.M(150,420),e.L(450,420),e.stroke(),e.M(150,80),e.L(450,80),e.stroke(),e.M(300,420),e.L(300,80),e.stroke()}},9015:{width:N,draw:e=>{e.lineWidth(40),e.rect(150,80,300,340),e.stroke()}},9016:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(180,300),e.L(420,300),e.stroke(),e.M(180,200),e.L(420,200),e.stroke()}},9017:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(180,250),e.L(420,250),e.stroke(),e.circle(300,340,30),e.fill(),e.circle(300,160,30),e.fill()}},9018:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,380),e.L(420,250),e.L(300,120),e.L(180,250),e.Z(),e.stroke()}},9019:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,80),e.stroke()}},9020:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,130),e.stroke()}},9021:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(300,430),e.L(300,70),e.stroke()}},9022:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.circle(300,250,70),e.stroke()}},9023:{width:N,draw:e=>{e.lineWidth(45),e.M(400,420),e.L(200,80),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},9024:{width:N,draw:e=>{e.lineWidth(45),e.M(200,420),e.L(400,80),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},9025:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(400,380),e.L(200,120),e.stroke()}},9026:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,380),e.L(400,120),e.stroke()}},9027:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(380,370),e.L(220,250),e.L(380,130),e.stroke()}},9028:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(220,370),e.L(380,250),e.L(220,130),e.stroke()}},9029:{width:N,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,400),e.stroke()}},9030:{width:N,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,400),e.stroke()}},9031:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(420,250),e.L(180,250),e.stroke(),e.M(180,250),e.L(270,330),e.L(270,170),e.Z(),e.fill()}},9032:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(180,250),e.L(420,250),e.stroke(),e.M(420,250),e.L(330,330),e.L(330,170),e.Z(),e.fill()}},9033:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(170,120),e.L(430,380),e.stroke()}},9034:{width:N,draw:e=>{e.lineWidth(45),e.M(100,80),e.L(500,80),e.stroke(),e.M(300,80),e.L(300,350),e.stroke(),e.M(150,350),e.L(450,350),e.stroke(),e.M(100,420),e.L(500,420),e.stroke()}},9035:{width:N,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(150,120),e.L(450,120),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.stroke()}},9036:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,350),e.L(300,150),e.L(400,350),e.stroke()}},9037:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,370),e.L(190,140),e.L(410,140),e.Z(),e.stroke()}},9038:{width:N,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(450,400),e.stroke(),e.M(300,400),e.L(300,150),e.stroke(),e.circle(300,100,50),e.stroke()}},9039:{width:N,draw:e=>{e.lineWidth(45),e.M(300,80),e.L(300,420),e.stroke(),e.M(300,420),e.L(180,300),e.stroke()}},9040:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,120),e.L(300,380),e.stroke(),e.M(300,380),e.L(220,300),e.L(380,300),e.Z(),e.fill()}},9041:{width:N,draw:e=>{e.lineWidth(45),e.M(100,420),e.L(500,420),e.stroke(),e.M(300,420),e.L(300,150),e.stroke(),e.M(150,150),e.L(450,150),e.stroke(),e.M(100,80),e.L(500,80),e.stroke()}},9042:{width:N,draw:e=>{e.lineWidth(40),e.M(300,80),e.L(150,380),e.L(450,380),e.Z(),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},9043:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,150),e.L(300,350),e.L(400,150),e.stroke()}},9044:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,130),e.L(190,360),e.L(410,360),e.Z(),e.stroke()}},9045:{width:N,draw:e=>{e.lineWidth(45),e.M(150,100),e.L(450,100),e.stroke(),e.M(300,100),e.L(300,350),e.stroke(),e.circle(300,400,50),e.stroke()}},9046:{width:N,draw:e=>{e.lineWidth(45),e.M(300,420),e.L(300,80),e.stroke(),e.M(300,80),e.L(420,200),e.stroke()}},9047:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,380),e.L(300,120),e.stroke(),e.M(300,120),e.L(220,200),e.L(380,200),e.Z(),e.fill()}},9048:{width:N,draw:e=>{e.lineWidth(45),e.M(260,420),e.L(260,200),e.stroke(),e.M(340,420),e.L(340,200),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9049:{width:N,draw:e=>{e.lineWidth(40),e.M(300,430),e.L(150,160),e.L(450,160),e.Z(),e.stroke(),e.M(120,80),e.L(480,80),e.stroke()}},9050:{width:N,draw:e=>{e.lineWidth(40),e.M(300,430),e.L(430,280),e.L(300,150),e.L(170,280),e.Z(),e.stroke(),e.M(120,80),e.L(480,80),e.stroke()}},9051:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,310,100),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9052:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,310,130),e.stroke(),e.M(100,100),e.L(500,100),e.stroke()}},9053:{width:N,draw:e=>{e.lineWidth(40),e.M(120,100),e.C(120,350,480,350,480,100),e.stroke(),e.circle(300,300,50),e.stroke()}},9054:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(100,250),e.L(50,250),e.stroke()}},9055:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+100*Math.cos(n),250+100*Math.sin(n)):e.L(300+100*Math.cos(n),250+100*Math.sin(n)),e.L(300+40*Math.cos(r),250+40*Math.sin(r))}e.Z(),e.stroke()}},9056:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,330,35),e.fill(),e.circle(300,170,35),e.fill()}},9057:{width:N,draw:e=>{e.lineWidth(45),e.M(150,150),e.L(450,150),e.stroke(),e.M(300,150),e.L(300,350),e.stroke(),e.circle(250,420,30),e.fill(),e.circle(350,420,30),e.fill()}},9058:{width:N,draw:e=>{e.lineWidth(40),e.M(300,120),e.L(150,370),e.L(450,370),e.Z(),e.stroke(),e.circle(250,80,25),e.fill(),e.circle(350,80,25),e.fill()}},9059:{width:N,draw:e=>{e.lineWidth(45),e.M(300,380),e.L(300,180),e.stroke(),e.M(200,340),e.L(400,220),e.stroke(),e.M(200,220),e.L(400,340),e.stroke(),e.circle(250,430,25),e.fill(),e.circle(350,430,25),e.fill()}},9060:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,200,80),e.stroke(),e.circle(250,400,30),e.fill(),e.circle(350,400,30),e.fill()}},9061:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,200,120),e.stroke(),e.circle(250,420,30),e.fill(),e.circle(350,420,30),e.fill()}},9062:{width:N,draw:e=>{e.lineWidth(40),e.M(120,400),e.C(120,150,480,150,480,400),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},9063:{width:N,draw:e=>{e.lineWidth(40),e.M(450,100),e.C(200,100,200,400,450,400),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},9064:{width:N,draw:e=>{e.lineWidth(40),e.M(120,250),e.C(200,350,400,150,480,250),e.stroke(),e.circle(250,400,30),e.fill(),e.circle(350,400,30),e.fill()}},9065:{width:N,draw:e=>{e.lineWidth(40),e.M(180,370),e.L(380,250),e.L(180,130),e.stroke(),e.circle(430,200,25),e.fill(),e.circle(430,300,25),e.fill()}},9066:{width:N,draw:e=>{e.lineWidth(45),e.circle(300,300,40),e.fill(),e.M(300,260),e.L(260,180),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},9067:{width:N,draw:e=>{e.lineWidth(40),e.M(300,80),e.L(150,380),e.L(450,380),e.Z(),e.stroke(),e.lineWidth(35),e.M(220,250),e.C(260,300,340,200,380,250),e.stroke()}},9068:{width:N,draw:e=>{e.lineWidth(40),e.ellipse(300,250,150,200),e.stroke(),e.M(200,250),e.L(400,250),e.stroke()}},9069:{width:N,draw:e=>{e.lineWidth(40),e.M(300,80),e.L(300,420),e.stroke(),e.M(180,250),e.C(220,320,380,180,420,250),e.stroke()}},9070:{width:N,draw:e=>{e.circle(300,350,35),e.fill(),e.circle(300,250,35),e.fill(),e.M(300,215),e.L(270,160),e.stroke(),e.lineWidth(40),e.M(150,100),e.L(450,100),e.stroke()}},9071:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,310),e.L(400,310),e.stroke(),e.M(200,190),e.L(400,190),e.stroke(),e.M(350,370),e.L(250,130),e.stroke()}},9072:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(35),e.M(230,350),e.C(230,400,370,400,370,340),e.C(370,290,300,270,300,220),e.stroke(),e.circle(300,160,25),e.fill()}},9073:{width:N,draw:e=>{e.lineWidth(45),e.M(130,400),e.L(300,130),e.L(470,400),e.stroke(),e.lineWidth(35),e.M(220,280),e.C(260,330,340,230,380,280),e.stroke()}},9074:{width:N,draw:e=>{e.lineWidth(45),e.M(130,100),e.L(300,370),e.L(470,100),e.stroke(),e.lineWidth(35),e.M(220,220),e.C(260,270,340,170,380,220),e.stroke()}},9075:{width:N,draw:e=>{e.lineWidth(45),e.M(250,400),e.L(250,150),e.C(250,80,350,80,350,150),e.stroke()}},9076:{width:N,draw:e=>{e.lineWidth(45),e.M(200,80),e.L(200,400),e.C(200,450,400,450,400,400),e.C(400,300,200,300,200,350),e.stroke()}},9077:{width:N,draw:e=>{e.lineWidth(45),e.M(120,400),e.L(200,150),e.C(200,80,400,80,400,150),e.L(480,400),e.stroke()}},9078:{width:N,draw:e=>{e.lineWidth(40),e.M(400,400),e.C(400,300,200,300,200,350),e.C(200,400,400,400,400,350),e.L(400,200),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},9079:{width:N,draw:e=>{e.lineWidth(40),e.M(420,400),e.L(220,400),e.C(160,400,160,200,220,200),e.L(420,200),e.stroke(),e.M(220,300),e.L(380,300),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},9080:{width:N,draw:e=>{e.lineWidth(40),e.M(250,430),e.L(250,200),e.C(250,150,350,150,350,200),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9081:{width:N,draw:e=>{e.lineWidth(40),e.M(120,420),e.L(200,200),e.C(200,150,400,150,400,200),e.L(480,420),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9082:{width:N,draw:e=>{e.lineWidth(45),e.M(400,400),e.C(400,300,200,300,200,350),e.C(200,400,400,400,400,350),e.L(400,150),e.stroke()}},9083:{width:N,draw:e=>{e.lineWidth(50),e.M(130,250),e.L(250,100),e.L(470,400),e.stroke(),e.M(180,380),e.L(420,120),e.stroke()}},9084:{width:N,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(150,100),e.L(450,100),e.stroke(),e.M(150,100),e.L(200,200),e.L(250,100),e.L(300,200),e.stroke()}},9085:{width:N,draw:e=>{e.lineWidth(45),e.M(100,350),e.L(100,150),e.L(200,150),e.stroke(),e.M(400,150),e.L(500,150),e.L(500,350),e.stroke()}},9086:{width:N,draw:e=>{e.lineWidth(40),e.M(150,100),e.C(150,350,300,450,300,450),e.C(300,450,450,350,450,100),e.stroke(),e.M(120,100),e.L(480,100),e.stroke(),e.circle(300,60,25),e.fill()}},9087:{width:N,draw:e=>{e.lineWidth(45),e.M(200,80),e.L(300,420),e.L(400,80),e.stroke()}},9088:{width:N,draw:e=>{e.lineWidth(45),e.M(200,100),e.L(300,380),e.L(400,100),e.stroke(),e.M(150,100),e.L(450,100),e.stroke()}},9089:{width:N,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(520,100),e.stroke()}},9090:{width:N,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(230,100),e.stroke(),e.M(370,100),e.L(520,100),e.stroke()}},9091:{width:N,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(520,100),e.stroke(),e.circle(300,200,30),e.fill()}},9092:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,300,120),e.stroke(),e.M(300,180),e.L(300,420),e.stroke()}},9093:{width:N,draw:e=>{e.lineWidth(40),e.rect(120,70,360,360),e.stroke(),e.M(300,70),e.L(300,430),e.stroke()}},9094:{width:N,draw:e=>{e.lineWidth(40),e.M(420,400),e.L(420,200),e.L(180,200),e.stroke(),e.M(180,200),e.L(280,280),e.L(280,120),e.Z(),e.fill()}},9095:{width:N,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(250,150),e.L(350,350),e.L(500,350),e.stroke(),e.M(100,350),e.L(250,350),e.L(350,150),e.L(500,150),e.stroke()}},9096:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,250,160),e.stroke(),e.circle(300,250,50),e.fill();for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300+50*Math.cos(n),250+50*Math.sin(n)),e.L(300+180*Math.cos(n),250+180*Math.sin(n))}e.stroke()}},9097:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(120,250),e.L(260,250),e.stroke(),e.M(340,250),e.L(480,250),e.stroke(),e.M(260,250),e.L(260,300),e.L(340,300),e.L(340,250),e.stroke()}},9098:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(300,430),e.L(300,70),e.stroke(),e.circle(220,250,30),e.fill(),e.circle(380,250,30),e.fill()}},9099:{width:N,draw:e=>{e.lineWidth(40),e.M(200,410),e.C(120,380,80,300,100,200),e.C(120,120,200,80,300,70),e.C(400,80,480,120,500,200),e.C(520,300,480,380,400,420),e.stroke(),e.M(160,430),e.L(160,350),e.L(240,350),e.stroke()}},9100:{width:N,draw:e=>{e.lineWidth(40),e.M(450,380),e.C(450,200,350,120,250,120),e.C(200,120,150,180,150,250),e.stroke(),e.M(150,250),e.L(80,170),e.L(220,170),e.Z(),e.fill()}},9101:{width:N,draw:e=>{e.lineWidth(45),e.M(100,150),e.L(250,150),e.L(250,350),e.L(400,350),e.L(400,150),e.L(500,150),e.stroke()}},9102:{width:N,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(300,150),e.L(300,350),e.L(500,350),e.stroke(),e.M(100,350),e.L(300,350),e.stroke(),e.M(300,150),e.L(500,150),e.stroke()}},9103:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(250,250),e.stroke(),e.circle(300,250,50),e.stroke(),e.M(350,250),e.L(500,250),e.stroke()}},9104:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(250,250),e.stroke(),e.M(350,250),e.L(500,250),e.stroke(),e.M(250,250),e.L(350,250),e.stroke(),e.M(300,250),e.L(300,350),e.stroke()}},9105:{width:N,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(250,350),e.L(250,150),e.L(350,150),e.L(350,350),e.L(500,350),e.stroke()}},9106:{width:N,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(250,150),e.L(250,350),e.L(350,350),e.L(350,150),e.L(500,150),e.stroke()}},9107:{width:N,draw:e=>{e.lineWidth(45),e.M(100,300),e.L(500,300),e.stroke(),e.lineWidth(35),e.M(100,200),e.L(200,200),e.stroke(),e.M(250,200),e.L(350,200),e.stroke(),e.M(400,200),e.L(500,200),e.stroke()}},9108:{width:N,draw:e=>{e.lineWidth(40),e.M(100,100),e.L(100,400),e.L(500,400),e.L(500,100),e.stroke()}},9109:{width:N,draw:e=>{e.lineWidth(45),e.rect(120,50,360,400),e.stroke()}},9110:{width:N,draw:e=>{e.lineWidth(40),e.rect(120,80,360,340),e.stroke(),e.circle(300,180,35),e.fill()}},9111:{width:N,draw:e=>{e.lineWidth(40),e.rect(130,50,340,400),e.stroke(),e.M(130,380),e.L(220,380),e.L(220,450),e.stroke()}},9112:{width:N,draw:e=>{e.lineWidth(40),e.rect(130,50,340,400),e.stroke(),e.M(470,120),e.L(380,120),e.L(380,50),e.stroke()}},9113:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,100,400,300),e.stroke(),e.rect(180,180,240,140),e.stroke()}},9114:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,100,400,300),e.stroke(),e.M(200,200),e.L(400,300),e.stroke(),e.M(200,300),e.L(400,200),e.stroke()}},9118:{width:N,draw:e=>{e.lineWidth(45),e.M(200,450),e.C(350,450,400,350,400,250),e.stroke()}},9119:{width:N,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.stroke()}},9120:{width:N,draw:e=>{e.lineWidth(45),e.M(400,250),e.C(400,150,350,50,200,50),e.stroke()}},9121:{width:N,draw:e=>{e.lineWidth(45),e.M(350,450),e.L(200,450),e.L(200,50),e.stroke()}},9122:{width:N,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,50),e.stroke()}},9123:{width:N,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,50),e.L(350,50),e.stroke()}},9124:{width:N,draw:e=>{e.lineWidth(45),e.M(250,450),e.L(400,450),e.L(400,50),e.stroke()}},9125:{width:N,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.stroke()}},9126:{width:N,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.L(250,50),e.stroke()}},9127:{width:N,draw:e=>{e.lineWidth(45),e.M(350,450),e.C(250,450,250,350,250,250),e.stroke()}},9128:{width:N,draw:e=>{e.lineWidth(45),e.M(250,450),e.L(250,300),e.C(250,250,200,250,150,250),e.stroke(),e.M(250,200),e.C(250,250,200,250,150,250),e.stroke(),e.M(250,200),e.L(250,50),e.stroke()}},9129:{width:N,draw:e=>{e.lineWidth(45),e.M(250,250),e.C(250,150,250,50,350,50),e.stroke()}},9130:{width:N,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke()}},9131:{width:N,draw:e=>{e.lineWidth(45),e.M(250,450),e.C(350,450,350,350,350,250),e.stroke()}},9132:{width:N,draw:e=>{e.lineWidth(45),e.M(350,450),e.L(350,300),e.C(350,250,400,250,450,250),e.stroke(),e.M(350,200),e.C(350,250,400,250,450,250),e.stroke(),e.M(350,200),e.L(350,50),e.stroke()}},9133:{width:N,draw:e=>{e.lineWidth(45),e.M(350,250),e.C(350,150,350,50,250,50),e.stroke()}},9134:{width:N,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke()}},9136:{width:N,draw:e=>{e.lineWidth(45),e.M(350,50),e.C(250,50,250,250,250,450),e.stroke()}},9137:{width:N,draw:e=>{e.lineWidth(45),e.M(250,50),e.C(350,50,350,250,350,450),e.stroke()}},9138:{width:N,draw:e=>{e.lineWidth(45),e.M(480,450),e.L(120,450),e.L(300,250),e.stroke()}},9139:{width:N,draw:e=>{e.lineWidth(45),e.M(300,250),e.L(120,50),e.L(480,50),e.stroke()}},9140:{width:N,draw:e=>{e.lineWidth(45),e.M(100,200),e.L(100,350),e.L(500,350),e.L(500,200),e.stroke()}},9141:{width:N,draw:e=>{e.lineWidth(45),e.M(100,300),e.L(100,150),e.L(500,150),e.L(500,300),e.stroke()}},9142:{width:N,draw:e=>{e.lineWidth(40),e.M(100,300),e.L(100,200),e.L(500,200),e.L(500,300),e.stroke(),e.M(100,350),e.L(100,250),e.L(500,250),e.L(500,350),e.stroke()}},9146:{width:N,draw:e=>{e.lineWidth(30),e.M(0,450),e.L(600,450),e.stroke()}},9147:{width:N,draw:e=>{e.lineWidth(30),e.M(0,350),e.L(600,350),e.stroke()}},9148:{width:N,draw:e=>{e.lineWidth(30),e.M(0,150),e.L(600,150),e.stroke()}},9149:{width:N,draw:e=>{e.lineWidth(30),e.M(0,50),e.L(600,50),e.stroke()}},9150:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,250),e.L(500,250),e.stroke()}},9151:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,250),e.L(500,250),e.stroke()}},9152:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,50),e.stroke(),e.circle(300,250,60),e.stroke()}},9153:{width:N,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(500,350),e.stroke(),e.M(300,350),e.L(300,100),e.stroke(),e.circle(300,250,60),e.stroke()}},9161:{width:N,draw:e=>{e.lineWidth(40),e.M(150,350),e.L(450,350),e.stroke(),e.M(300,350),e.L(300,100),e.stroke()}},9162:{width:N,draw:e=>{e.lineWidth(40),e.M(150,150),e.L(450,150),e.stroke(),e.M(300,150),e.L(300,400),e.stroke()}},9163:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,310),e.L(400,200),e.L(300,200),e.Z(),e.stroke()}},9164:{width:N,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(500,350),e.stroke(),e.M(300,350),e.L(300,120),e.stroke(),e.M(250,250),e.L(350,250),e.L(300,180),e.Z(),e.fill()}},9165:{width:N,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(150,100),e.L(450,100),e.stroke()}},9168:{width:N,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(300,20),e.stroke()}},9178:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,200),e.stroke(),e.M(150,200),e.L(450,200),e.stroke(),e.M(200,140),e.L(400,140),e.stroke(),e.M(250,80),e.L(350,80),e.stroke()}},9179:{width:N,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(180,250),e.stroke(),e.rect(180,180,240,140),e.stroke(),e.M(420,250),e.L(520,250),e.stroke()}},9180:{width:N,draw:e=>{e.lineWidth(45),e.M(80,150),e.C(80,400,520,400,520,150),e.stroke()}},9181:{width:N,draw:e=>{e.lineWidth(45),e.M(80,350),e.C(80,100,520,100,520,350),e.stroke()}},9182:{width:N,draw:e=>{e.lineWidth(40),e.M(80,150),e.C(80,300,200,350,300,400),e.C(400,350,520,300,520,150),e.stroke()}},9183:{width:N,draw:e=>{e.lineWidth(40),e.M(80,350),e.C(80,200,200,150,300,100),e.C(400,150,520,200,520,350),e.stroke()}},9184:{width:N,draw:e=>{e.lineWidth(40),e.M(80,150),e.C(150,380,450,380,520,150),e.stroke()}},9185:{width:N,draw:e=>{e.lineWidth(40),e.M(80,350),e.C(150,120,450,120,520,350),e.stroke()}},9186:{width:N,draw:e=>{e.lineWidth(40),e.M(150,100),e.L(450,100),e.L(500,400),e.L(100,400),e.Z(),e.stroke()}},9187:{width:N,draw:e=>{e.lineWidth(35);for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180,r=((t+1)*60-90)*Math.PI/180;e.M(300+180*Math.cos(n),250+180*Math.sin(n)),e.L(300+180*Math.cos(r),250+180*Math.sin(r))}e.stroke(),e.circle(300,250,110),e.stroke()}},9188:{width:N,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke()}},9189:{width:N,draw:e=>{e.lineWidth(45),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,300),e.L(500,300),e.stroke()}},9190:{width:N,draw:e=>{e.lineWidth(45),e.M(100,250),e.C(200,420,300,80,400,250),e.C(440,340,480,250,500,250),e.stroke()}},9191:{width:N,draw:e=>{e.lineWidth(40),e.M(100,100),e.L(100,300),e.C(100,430,500,430,500,300),e.L(500,100),e.stroke()}},9192:{width:N,draw:e=>{e.lineWidth(40),e.M(400,400),e.L(200,400),e.L(200,100),e.L(400,100),e.stroke(),e.M(200,250),e.L(370,250),e.stroke()}},9200:{width:N,draw:e=>{e.lineWidth(35),e.circle(300,230,180),e.stroke(),e.M(300,230),e.L(300,340),e.stroke(),e.M(300,230),e.L(380,230),e.stroke(),e.M(160,400),e.L(120,440),e.stroke(),e.M(440,400),e.L(480,440),e.stroke(),e.M(200,50),e.L(180,20),e.stroke(),e.M(400,50),e.L(420,20),e.stroke()}},9203:{width:N,draw:e=>{e.lineWidth(40),e.M(120,480),e.L(480,480),e.stroke(),e.M(120,20),e.L(480,20),e.stroke(),e.M(150,480),e.L(300,250),e.L(450,480),e.stroke(),e.M(150,20),e.L(300,250),e.L(450,20),e.stroke(),e.circle(270,120,15),e.fill(),e.circle(330,120,15),e.fill(),e.circle(300,90,15),e.fill(),e.lineWidth(20),e.M(300,250),e.L(300,160),e.stroke()}},9204:{width:N,draw:e=>{e.M(450,450),e.L(150,250),e.L(450,50),e.Z(),e.fill()}},9205:{width:N,draw:e=>{e.M(150,450),e.L(450,250),e.L(150,50),e.Z(),e.fill()}},9206:{width:N,draw:e=>{e.M(100,100),e.L(500,100),e.L(300,420),e.Z(),e.fill()}},9207:{width:N,draw:e=>{e.M(100,400),e.L(500,400),e.L(300,80),e.Z(),e.fill()}},9211:{width:N,draw:e=>{e.lineWidth(45),e.M(200,380),e.C(120,330,80,230,120,150),e.C(160,70,260,40,300,40),e.C(340,40,440,70,480,150),e.C(520,230,480,330,400,380),e.stroke(),e.M(300,320),e.L(300,150),e.stroke()}},9212:{width:N,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(300,350),e.L(300,150),e.stroke()}},9213:{width:N,draw:e=>{e.lineWidth(50),e.M(300,420),e.L(300,80),e.stroke()}},9214:{width:N,draw:e=>{e.lineWidth(45),e.M(180,400),e.C(100,300,100,150,200,80),e.C(300,10,430,50,480,150),e.C(530,250,470,380,380,420),e.stroke()}},9215:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(250,100),e.L(500,250),e.stroke(),e.circle(250,200,40),e.fill()}}},Kr={10496:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(300,150),e.L(300,350),e.stroke()}},10497:{width:N,draw:e=>{e.lineWidth(35),e.M(80,250),e.L(520,250),e.stroke(),e.M(520,250),e.L(420,350),e.L(420,150),e.Z(),e.fill(),e.M(80,250),e.L(180,350),e.L(180,150),e.Z(),e.fill(),e.M(280,150),e.L(280,350),e.stroke(),e.M(320,150),e.L(320,350),e.stroke()}},10498:{width:N,draw:e=>{e.M(100,250),e.L(240,380),e.L(240,300),e.L(500,300),e.L(500,200),e.L(240,200),e.L(240,120),e.Z(),e.fill(),e.lineWidth(40),e.M(340,150),e.L(340,350),e.stroke()}},10499:{width:N,draw:e=>{e.M(500,250),e.L(360,380),e.L(360,300),e.L(100,300),e.L(100,200),e.L(360,200),e.L(360,120),e.Z(),e.fill(),e.lineWidth(40),e.M(260,150),e.L(260,350),e.stroke()}},10500:{width:N,draw:e=>{e.M(80,250),e.L(200,380),e.L(200,300),e.L(400,300),e.L(400,380),e.L(520,250),e.L(400,120),e.L(400,200),e.L(200,200),e.L(200,120),e.Z(),e.fill(),e.lineWidth(40),e.M(300,150),e.L(300,350),e.stroke()}},10501:{width:N,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(100,350),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(200,250),e.L(250,330),e.L(250,170),e.Z(),e.fill()}},10502:{width:N,draw:e=>{e.lineWidth(40),e.M(500,150),e.L(500,350),e.stroke(),e.M(100,250),e.L(280,380),e.L(280,300),e.L(500,300),e.L(500,200),e.L(280,200),e.L(280,120),e.Z(),e.fill()}},10503:{width:N,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(100,350),e.stroke(),e.M(500,250),e.L(320,380),e.L(320,300),e.L(100,300),e.L(100,200),e.L(320,200),e.L(320,120),e.Z(),e.fill()}},10504:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,100),e.stroke(),e.M(300,100),e.L(200,200),e.L(400,200),e.Z(),e.fill(),e.M(200,350),e.L(400,250),e.stroke()}},10505:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,400),e.stroke(),e.M(300,400),e.L(200,300),e.L(400,300),e.Z(),e.fill(),e.M(200,250),e.L(400,150),e.stroke()}},10506:{width:N,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,340),e.L(400,340),e.Z(),e.fill(),e.M(300,50),e.L(200,100),e.L(400,100),e.stroke()}},10507:{width:N,draw:e=>{e.lineWidth(35),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(200,160),e.L(400,160),e.Z(),e.fill(),e.M(300,450),e.L(200,400),e.L(400,400),e.stroke()}},10508:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(400,250),e.stroke(),e.M(350,250),e.L(250,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill()}},10509:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(200,250),e.stroke(),e.M(250,250),e.L(350,250),e.stroke(),e.M(500,250),e.L(370,370),e.L(370,130),e.Z(),e.fill()}},10510:{width:N,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(430,250),e.stroke(),e.M(380,250),e.L(310,250),e.stroke(),e.M(260,250),e.L(190,250),e.stroke(),e.M(100,250),e.L(220,360),e.L(220,140),e.Z(),e.fill()}},10511:{width:N,draw:e=>{e.lineWidth(35),e.M(100,250),e.L(170,250),e.stroke(),e.M(220,250),e.L(290,250),e.stroke(),e.M(340,250),e.L(410,250),e.stroke(),e.M(500,250),e.L(380,360),e.L(380,140),e.Z(),e.fill()}},10512:{width:N,draw:e=>{e.lineWidth(35),e.M(80,250),e.L(150,250),e.stroke(),e.M(200,250),e.L(270,250),e.stroke(),e.M(320,250),e.L(390,250),e.stroke(),e.M(520,250),e.L(400,360),e.L(400,140),e.Z(),e.fill(),e.M(80,250),e.L(160,330),e.L(160,170),e.Z(),e.fill()}},10513:{width:N,draw:e=>{e.circle(150,250,20),e.fill(),e.circle(230,250,20),e.fill(),e.circle(310,250,20),e.fill(),e.lineWidth(40),e.M(370,250),e.L(430,250),e.stroke(),e.M(500,250),e.L(380,350),e.L(380,150),e.Z(),e.fill()}},10514:{width:N,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,380),e.stroke(),e.M(300,380),e.L(200,280),e.L(400,280),e.Z(),e.fill(),e.M(150,430),e.L(450,430),e.stroke()}},10515:{width:N,draw:e=>{e.lineWidth(45),e.M(300,420),e.L(300,100),e.stroke(),e.M(300,100),e.L(200,200),e.L(400,200),e.Z(),e.fill(),e.M(150,50),e.L(450,50),e.stroke()}},10518:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(100,250),e.L(180,340),e.L(180,160),e.Z(),e.fill(),e.M(100,350),e.L(100,150),e.stroke()}},10525:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,350),e.L(500,150),e.stroke()}},10526:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(100,350),e.L(100,150),e.stroke()}},10527:{width:N,draw:e=>{e.lineWidth(35),e.M(500,150),e.L(500,350),e.stroke(),e.M(500,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(150,300),e.L(200,250),e.L(150,200),e.Z(),e.fill()}},10528:{width:N,draw:e=>{e.lineWidth(35),e.M(100,150),e.L(100,350),e.stroke(),e.M(100,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(450,300),e.L(400,250),e.L(450,200),e.Z(),e.fill()}},10529:{width:N,draw:e=>{e.lineWidth(40),e.M(120,420),e.L(480,80),e.stroke(),e.M(120,420),e.L(120,320),e.L(220,420),e.Z(),e.fill(),e.M(480,80),e.L(480,180),e.L(380,80),e.Z(),e.fill()}},10530:{width:N,draw:e=>{e.lineWidth(40),e.M(480,420),e.L(120,80),e.stroke(),e.M(480,420),e.L(380,420),e.L(480,320),e.Z(),e.fill(),e.M(120,80),e.L(220,80),e.L(120,180),e.Z(),e.fill()}},10531:{width:N,draw:e=>{e.lineWidth(40),e.M(150,420),e.L(450,120),e.C(480,80,500,120,480,180),e.stroke(),e.M(150,420),e.L(150,310),e.L(260,420),e.Z(),e.fill()}},10532:{width:N,draw:e=>{e.lineWidth(40),e.M(450,420),e.L(150,120),e.C(120,80,100,120,120,180),e.stroke(),e.M(450,420),e.L(450,310),e.L(340,420),e.Z(),e.fill()}},10533:{width:N,draw:e=>{e.lineWidth(40),e.M(450,80),e.L(150,380),e.C(120,420,100,380,120,320),e.stroke(),e.M(450,80),e.L(450,190),e.L(340,80),e.Z(),e.fill()}},10534:{width:N,draw:e=>{e.lineWidth(40),e.M(150,80),e.L(450,380),e.C(480,420,500,380,480,320),e.stroke(),e.M(150,80),e.L(150,190),e.L(260,80),e.Z(),e.fill()}},10535:{width:N,draw:e=>{e.lineWidth(35),e.M(300,100),e.L(120,400),e.stroke(),e.M(120,400),e.L(120,300),e.L(220,400),e.Z(),e.fill(),e.M(300,100),e.L(480,400),e.stroke(),e.M(480,400),e.L(480,300),e.L(380,400),e.Z(),e.fill()}},10536:{width:N,draw:e=>{e.lineWidth(35),e.M(100,250),e.L(480,420),e.stroke(),e.M(480,420),e.L(380,420),e.L(480,330),e.Z(),e.fill(),e.M(100,250),e.L(480,80),e.stroke(),e.M(480,80),e.L(380,80),e.L(480,170),e.Z(),e.fill()}},10537:{width:N,draw:e=>{e.lineWidth(35),e.M(300,400),e.L(120,100),e.stroke(),e.M(120,100),e.L(220,100),e.L(120,200),e.Z(),e.fill(),e.M(300,400),e.L(480,100),e.stroke(),e.M(480,100),e.L(380,100),e.L(480,200),e.Z(),e.fill()}},10538:{width:N,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(120,80),e.stroke(),e.M(120,80),e.L(120,180),e.L(220,80),e.Z(),e.fill(),e.M(500,250),e.L(120,420),e.stroke(),e.M(120,420),e.L(120,320),e.L(220,420),e.Z(),e.fill()}},10548:{width:N,draw:e=>{e.lineWidth(45),e.M(100,150),e.L(350,150),e.C(430,150,450,250,450,350),e.stroke(),e.M(450,350),e.L(380,230),e.L(520,230),e.Z(),e.fill()}},10549:{width:N,draw:e=>{e.lineWidth(45),e.M(100,350),e.L(350,350),e.C(430,350,450,250,450,150),e.stroke(),e.M(450,150),e.L(380,270),e.L(520,270),e.Z(),e.fill()}},10550:{width:N,draw:e=>{e.lineWidth(45),e.M(500,400),e.L(300,400),e.C(200,400,150,300,150,200),e.stroke(),e.M(150,200),e.L(80,300),e.L(220,300),e.Z(),e.fill()}},10551:{width:N,draw:e=>{e.lineWidth(45),e.M(100,400),e.L(300,400),e.C(400,400,450,300,450,200),e.stroke(),e.M(450,200),e.L(380,300),e.L(520,300),e.Z(),e.fill()}},10552:{width:N,draw:e=>{e.lineWidth(40),e.M(400,400),e.C(500,350,500,150,400,100),e.C(300,50,200,100,150,200),e.stroke(),e.M(400,400),e.L(330,340),e.L(450,340),e.Z(),e.fill()}},10553:{width:N,draw:e=>{e.lineWidth(40),e.M(200,400),e.C(100,350,100,150,200,100),e.C(300,50,400,100,450,200),e.stroke(),e.M(200,400),e.L(270,340),e.L(150,340),e.Z(),e.fill()}},10554:{width:N,draw:e=>{e.lineWidth(40),e.M(100,200),e.C(100,350,250,430,400,380),e.C(480,340,500,250,450,180),e.stroke(),e.M(100,200),e.L(170,270),e.L(170,130),e.Z(),e.fill()}},10555:{width:N,draw:e=>{e.lineWidth(40),e.M(500,300),e.C(500,150,350,70,200,120),e.C(120,160,100,250,150,320),e.stroke(),e.M(500,300),e.L(430,230),e.L(430,370),e.Z(),e.fill()}},10560:{width:N,draw:e=>{e.lineWidth(40),e.M(300,430),e.C(180,430,100,350,100,250),e.C(100,150,180,70,300,70),e.C(420,70,500,150,500,250),e.C(500,350,420,430,340,430),e.stroke(),e.M(300,430),e.L(240,370),e.L(240,480),e.Z(),e.fill()}},10561:{width:N,draw:e=>{e.lineWidth(40),e.M(300,430),e.C(420,430,500,350,500,250),e.C(500,150,420,70,300,70),e.C(180,70,100,150,100,250),e.C(100,350,180,430,260,430),e.stroke(),e.M(300,430),e.L(360,370),e.L(360,480),e.Z(),e.fill()}},10562:{width:N,draw:e=>{e.lineWidth(30),e.M(100,320),e.L(460,320),e.stroke(),e.M(500,320),e.L(400,380),e.L(400,260),e.Z(),e.fill(),e.M(400,180),e.L(180,180),e.stroke(),e.M(140,180),e.L(240,240),e.L(240,120),e.Z(),e.fill()}},10563:{width:N,draw:e=>{e.lineWidth(30),e.M(500,320),e.L(140,320),e.stroke(),e.M(100,320),e.L(200,380),e.L(200,260),e.Z(),e.fill(),e.M(200,180),e.L(420,180),e.stroke(),e.M(460,180),e.L(360,240),e.L(360,120),e.Z(),e.fill()}},10564:{width:N,draw:e=>{e.lineWidth(30),e.M(200,320),e.L(420,320),e.stroke(),e.M(460,320),e.L(360,380),e.L(360,260),e.Z(),e.fill(),e.M(500,180),e.L(140,180),e.stroke(),e.M(100,180),e.L(200,240),e.L(200,120),e.Z(),e.fill()}},10565:{width:N,draw:e=>{e.lineWidth(40),e.M(100,300),e.L(460,300),e.stroke(),e.M(500,300),e.L(400,380),e.L(400,220),e.Z(),e.fill(),e.lineWidth(30),e.M(270,100),e.L(330,100),e.stroke(),e.M(300,70),e.L(300,130),e.stroke()}},10568:{width:N,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(460,350),e.stroke(),e.M(500,350),e.L(400,410),e.L(400,290),e.Z(),e.fill(),e.lineWidth(30),e.M(140,200),e.C(220,240,360,160,460,200),e.stroke(),e.M(140,130),e.C(220,170,360,90,460,130),e.stroke()}},10570:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,370),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,130),e.L(400,250),e.Z(),e.fill()}},10571:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,130),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,370),e.L(400,250),e.Z(),e.fill()}},10572:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(400,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(200,150),e.L(300,150),e.Z(),e.fill()}},10573:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(400,150),e.L(300,150),e.Z(),e.fill()}},10574:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,370),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,370),e.L(400,250),e.Z(),e.fill()}},10575:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(400,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(400,150),e.L(300,150),e.Z(),e.fill()}},10576:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,130),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,130),e.L(400,250),e.Z(),e.fill()}},10577:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(200,150),e.L(300,150),e.Z(),e.fill()}},10594:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(150,250),e.stroke(),e.M(150,250),e.L(260,370),e.L(260,250),e.Z(),e.fill(),e.M(500,150),e.L(500,350),e.stroke()}},10596:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(450,250),e.stroke(),e.M(450,250),e.L(340,370),e.L(340,250),e.Z(),e.fill(),e.M(100,150),e.L(100,350),e.stroke()}},10602:{width:N,draw:e=>{e.lineWidth(35),e.M(100,300),e.L(500,300),e.stroke(),e.M(100,300),e.L(200,400),e.L(200,300),e.Z(),e.fill(),e.M(100,200),e.L(500,200),e.stroke(),e.M(500,200),e.L(400,300),e.L(400,200),e.Z(),e.fill()}},10603:{width:N,draw:e=>{e.lineWidth(35),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,200),e.L(200,100),e.L(200,200),e.Z(),e.fill(),e.M(100,300),e.L(500,300),e.stroke(),e.M(500,300),e.L(400,200),e.L(400,300),e.Z(),e.fill()}},10604:{width:N,draw:e=>{e.lineWidth(35),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,200),e.L(200,300),e.L(200,200),e.Z(),e.fill(),e.M(100,300),e.L(500,300),e.stroke(),e.M(500,300),e.L(400,200),e.L(400,300),e.Z(),e.fill()}},10605:{width:N,draw:e=>{e.lineWidth(35),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,200),e.L(200,100),e.L(200,200),e.Z(),e.fill(),e.M(100,300),e.L(500,300),e.stroke(),e.M(500,300),e.L(400,400),e.L(400,300),e.Z(),e.fill()}},10606:{width:N,draw:e=>{e.lineWidth(35),e.M(230,80),e.L(230,420),e.stroke(),e.M(230,420),e.L(150,320),e.L(230,320),e.Z(),e.fill(),e.M(370,420),e.L(370,80),e.stroke(),e.M(370,80),e.L(450,180),e.L(370,180),e.Z(),e.fill()}},10607:{width:N,draw:e=>{e.lineWidth(35),e.M(230,420),e.L(230,80),e.stroke(),e.M(230,80),e.L(150,180),e.L(230,180),e.Z(),e.fill(),e.M(370,80),e.L(370,420),e.stroke(),e.M(370,420),e.L(450,320),e.L(370,320),e.Z(),e.fill()}},10608:{width:N,draw:e=>{e.lineWidth(35),e.M(100,300),e.L(420,300),e.stroke(),e.M(100,200),e.L(420,200),e.stroke(),e.M(500,250),e.C(480,300,440,350,420,350),e.stroke(),e.M(500,250),e.C(480,200,440,150,420,150),e.stroke()}},10612:{width:N,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(460,350),e.stroke(),e.M(500,350),e.L(400,410),e.L(400,290),e.Z(),e.fill(),e.lineWidth(30),e.M(460,200),e.C(380,240,220,160,140,200),e.stroke(),e.M(460,130),e.C(380,170,220,90,140,130),e.stroke()}},10613:{width:N,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(460,350),e.stroke(),e.M(500,350),e.L(400,410),e.L(400,290),e.Z(),e.fill(),e.lineWidth(35),e.M(140,170),e.C(220,230,380,110,460,170),e.stroke()}},10614:{width:N,draw:e=>{e.lineWidth(35),e.M(500,350),e.L(140,350),e.stroke(),e.M(100,350),e.L(200,410),e.L(200,290),e.Z(),e.fill(),e.lineWidth(35),e.M(140,170),e.C(220,230,380,110,460,170),e.stroke()}},10615:{width:N,draw:e=>{e.lineWidth(35),e.M(500,350),e.L(140,350),e.stroke(),e.M(100,350),e.L(200,410),e.L(200,290),e.Z(),e.fill(),e.lineWidth(30),e.M(140,200),e.C(220,240,360,160,460,200),e.stroke(),e.M(140,130),e.C(220,170,360,90,460,130),e.stroke()}},10616:{width:N,draw:e=>{e.lineWidth(35),e.M(100,380),e.L(460,380),e.stroke(),e.M(500,380),e.L(400,440),e.L(400,320),e.Z(),e.fill(),e.lineWidth(30),e.M(140,220),e.C(220,260,360,180,460,220),e.stroke(),e.M(140,150),e.C(220,190,360,110,460,150),e.stroke(),e.M(350,260),e.L(250,100),e.stroke()}},10617:{width:N,draw:e=>{e.lineWidth(35),e.M(120,250),e.L(480,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill()}},10618:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(130,250),e.stroke(),e.M(100,250),e.L(210,350),e.L(210,150),e.Z(),e.fill(),e.M(280,180),e.L(370,320),e.stroke(),e.M(370,180),e.L(280,320),e.stroke()}},10619:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(470,250),e.stroke(),e.M(500,250),e.L(390,350),e.L(390,150),e.Z(),e.fill(),e.M(230,180),e.L(320,320),e.stroke(),e.M(320,180),e.L(230,320),e.stroke()}},10620:{width:N,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(520,250),e.stroke(),e.M(520,250),e.L(420,370),e.L(420,250),e.Z(),e.fill()}},10621:{width:N,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(520,250),e.stroke(),e.M(520,250),e.L(420,130),e.L(420,250),e.Z(),e.fill()}},10622:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(400,350),e.L(300,350),e.Z(),e.fill()}},10623:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,350),e.L(300,350),e.Z(),e.fill()}}},qr={10176:{width:N,draw:e=>{e.lineWidth(45),e.M(450,80),e.L(150,80),e.L(350,420),e.stroke(),e.M(150,80),e.L(250,200),e.stroke()}},10177:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.M(300,320),e.L(220,140),e.L(380,140),e.Z(),e.stroke()}},10178:{width:N,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(500,80),e.stroke(),e.M(300,80),e.L(300,420),e.stroke()}},10179:{width:N,draw:e=>{e.lineWidth(45),e.M(450,420),e.C(250,420,150,350,150,250),e.C(150,150,250,80,450,80),e.stroke()}},10180:{width:N,draw:e=>{e.lineWidth(45),e.M(150,420),e.C(350,420,450,350,450,250),e.C(450,150,350,80,150,80),e.stroke()}},10181:{width:N,draw:e=>{e.lineWidth(45),e.M(350,460),e.C(200,460,200,300,300,250),e.C(400,200,400,40,250,40),e.stroke()}},10182:{width:N,draw:e=>{e.lineWidth(45),e.M(250,460),e.C(400,460,400,300,300,250),e.C(200,200,200,40,350,40),e.stroke()}},10183:{width:N,draw:e=>{e.lineWidth(50),e.M(100,420),e.L(300,80),e.L(500,420),e.stroke(),e.circle(300,280,30),e.fill()}},10184:{width:N,draw:e=>{e.lineWidth(45),e.M(150,420),e.L(300,80),e.stroke(),e.M(450,420),e.C(350,420,300,350,300,250),e.C(300,150,350,80,450,80),e.stroke()}},10185:{width:N,draw:e=>{e.lineWidth(45),e.M(150,420),e.C(250,420,300,350,300,250),e.C(300,150,250,80,150,80),e.stroke(),e.M(450,420),e.L(300,80),e.stroke()}},10186:{width:N,draw:e=>{e.lineWidth(50),e.M(300,80),e.L(300,420),e.stroke(),e.M(150,250),e.L(450,250),e.stroke()}},10187:{width:N,draw:e=>{e.lineWidth(45),e.M(120,80),e.L(480,420),e.stroke()}},10188:{width:N,draw:e=>{e.lineWidth(45),e.M(200,80),e.C(150,80,120,120,120,200),e.L(120,420),e.stroke(),e.M(200,420),e.L(500,420),e.stroke()}},10189:{width:N,draw:e=>{e.lineWidth(45),e.M(120,420),e.L(480,80),e.stroke()}},10190:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,150),e.L(300,380),e.L(400,150),e.stroke()}},10191:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,350),e.L(300,120),e.L(400,350),e.stroke()}},10192:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.circle(300,250,30),e.fill()}},10193:{width:N,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(300,420),e.L(500,80),e.stroke(),e.circle(300,250,30),e.fill()}},10194:{width:N,draw:e=>{e.lineWidth(45),e.M(150,80),e.L(450,80),e.stroke(),e.M(300,80),e.L(300,420),e.stroke()}},10195:{width:N,draw:e=>{e.lineWidth(45),e.M(150,420),e.L(450,420),e.L(450,80),e.stroke(),e.circle(300,250,30),e.fill()}},10196:{width:N,draw:e=>{e.lineWidth(45),e.M(150,80),e.L(150,420),e.stroke(),e.M(150,420),e.L(450,420),e.stroke(),e.circle(300,250,30),e.fill()}},10197:{width:N,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(500,250),e.L(300,80),e.stroke(),e.M(100,420),e.L(300,420),e.stroke(),e.M(100,80),e.L(300,80),e.stroke(),e.M(100,80),e.L(100,420),e.stroke()}},10198:{width:N,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(100,250),e.L(300,80),e.stroke(),e.M(300,420),e.L(500,420),e.stroke(),e.M(300,80),e.L(500,80),e.stroke(),e.M(500,80),e.L(500,420),e.stroke()}},10199:{width:N,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(500,250),e.L(300,80),e.L(100,250),e.Z(),e.stroke()}},10200:{width:N,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(500,80),e.stroke(),e.M(300,80),e.L(300,420),e.stroke()}},10201:{width:N,draw:e=>{e.lineWidth(50),e.M(100,420),e.L(500,420),e.stroke(),e.M(300,420),e.L(300,80),e.stroke()}},10202:{width:N,draw:e=>{e.lineWidth(40),e.M(200,80),e.L(200,420),e.stroke(),e.M(250,80),e.L(250,420),e.stroke(),e.M(350,80),e.L(350,420),e.stroke(),e.M(400,80),e.L(400,420),e.stroke(),e.M(250,250),e.L(350,250),e.stroke()}},10203:{width:N,draw:e=>{e.lineWidth(45),e.M(200,80),e.L(200,420),e.stroke(),e.M(400,80),e.L(400,420),e.stroke(),e.M(200,250),e.L(400,250),e.stroke()}},10204:{width:N,draw:e=>{e.lineWidth(45),e.M(150,250),e.L(400,250),e.stroke(),e.circle(450,250,50),e.stroke()}},10205:{width:N,draw:e=>{e.lineWidth(45),e.M(150,80),e.L(150,420),e.stroke(),e.M(150,250),e.L(500,250),e.stroke()}},10206:{width:N,draw:e=>{e.lineWidth(45),e.M(450,80),e.L(450,420),e.stroke(),e.M(100,250),e.L(450,250),e.stroke()}},10207:{width:N,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(300,100),e.L(300,320),e.stroke(),e.circle(300,390,50),e.stroke()}},10208:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(90,250),e.L(510,250),e.stroke()}},10209:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,300,100,250,100,250),e.C(100,250,250,200,300,50),e.C(350,200,500,250,500,250),e.C(500,250,350,300,300,450),e.stroke()}},10210:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(100,250),e.L(300,50),e.L(500,250),e.Z(),e.stroke(),e.M(400,250),e.L(300,250),e.stroke()}},10211:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,350,100,300,100,250),e.C(100,200,250,150,300,50),e.C(350,150,500,200,500,250),e.C(500,300,350,350,300,450),e.stroke()}},10212:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,350,100,300,100,250),e.C(100,200,250,150,300,50),e.C(350,150,500,200,500,250),e.C(500,300,350,350,300,450),e.stroke(),e.M(200,250),e.L(300,250),e.stroke()}},10213:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,350,100,300,100,250),e.C(100,200,250,150,300,50),e.C(350,150,500,200,500,250),e.C(500,300,350,350,300,450),e.stroke(),e.M(300,250),e.L(400,250),e.stroke()}},10214:{width:N,draw:e=>{e.lineWidth(45),e.M(380,470),e.L(200,470),e.L(200,30),e.L(380,30),e.stroke(),e.M(260,470),e.L(260,30),e.stroke()}},10215:{width:N,draw:e=>{e.lineWidth(45),e.M(220,470),e.L(400,470),e.L(400,30),e.L(220,30),e.stroke(),e.M(340,470),e.L(340,30),e.stroke()}},10220:{width:N,draw:e=>{e.lineWidth(45),e.M(380,470),e.C(200,400,200,100,380,30),e.stroke(),e.M(340,460),e.C(180,400,180,100,340,40),e.stroke()}},10221:{width:N,draw:e=>{e.lineWidth(45),e.M(220,470),e.C(400,400,400,100,220,30),e.stroke(),e.M(260,460),e.C(420,400,420,100,260,40),e.stroke()}},10222:{width:N,draw:e=>{e.lineWidth(45),e.M(370,470),e.C(230,380,230,120,370,30),e.stroke()}},10223:{width:N,draw:e=>{e.lineWidth(45),e.M(230,470),e.C(370,380,370,120,230,30),e.stroke()}}},Jr={11008:{width:N,draw:e=>{e.lineWidth(40),e.M(120,80),e.L(480,420),e.stroke(),e.M(480,420),e.L(350,420),e.L(480,290),e.Z(),e.stroke()}},11009:{width:N,draw:e=>{e.lineWidth(40),e.M(480,80),e.L(120,420),e.stroke(),e.M(120,420),e.L(120,290),e.L(250,420),e.Z(),e.stroke()}},11010:{width:N,draw:e=>{e.lineWidth(40),e.M(120,420),e.L(480,80),e.stroke(),e.M(480,80),e.L(480,210),e.L(350,80),e.Z(),e.stroke()}},11011:{width:N,draw:e=>{e.lineWidth(40),e.M(480,420),e.L(120,80),e.stroke(),e.M(120,80),e.L(250,80),e.L(120,210),e.Z(),e.stroke()}},11012:{width:N,draw:e=>{e.lineWidth(40),e.M(60,250),e.L(200,400),e.L(200,310),e.L(400,310),e.L(400,400),e.L(540,250),e.L(400,100),e.L(400,190),e.L(200,190),e.L(200,100),e.Z(),e.stroke()}},11016:{width:N,draw:e=>{e.M(120,80),e.L(480,420),e.L(350,420),e.L(480,290),e.Z(),e.fill(),e.lineWidth(50),e.M(140,100),e.L(440,400),e.stroke()}},11017:{width:N,draw:e=>{e.M(480,80),e.L(120,420),e.L(120,290),e.L(250,420),e.Z(),e.fill(),e.lineWidth(50),e.M(460,100),e.L(160,400),e.stroke()}},11018:{width:N,draw:e=>{e.M(120,420),e.L(480,80),e.L(480,210),e.L(350,80),e.Z(),e.fill(),e.lineWidth(50),e.M(140,400),e.L(460,100),e.stroke()}},11019:{width:N,draw:e=>{e.M(480,420),e.L(120,80),e.L(250,80),e.L(120,210),e.Z(),e.fill(),e.lineWidth(50),e.M(460,400),e.L(160,100),e.stroke()}},11020:{width:N,draw:e=>{e.M(60,250),e.L(200,400),e.L(200,310),e.L(400,310),e.L(400,400),e.L(540,250),e.L(400,100),e.L(400,190),e.L(200,190),e.L(200,100),e.Z(),e.fill()}},11021:{width:N,draw:e=>{e.M(300,480),e.L(450,340),e.L(370,340),e.L(370,160),e.L(450,160),e.L(300,20),e.L(150,160),e.L(230,160),e.L(230,340),e.L(150,340),e.Z(),e.fill()}},11022:{width:N,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(400,350),e.L(400,150),e.stroke(),e.M(400,150),e.L(330,250),e.L(470,250),e.Z(),e.fill()}},11023:{width:N,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(400,150),e.L(400,350),e.stroke(),e.M(400,350),e.L(330,250),e.L(470,250),e.Z(),e.fill()}},11024:{width:N,draw:e=>{e.lineWidth(40),e.M(500,350),e.L(200,350),e.L(200,150),e.stroke(),e.M(200,150),e.L(130,250),e.L(270,250),e.Z(),e.fill()}},11025:{width:N,draw:e=>{e.lineWidth(40),e.M(500,150),e.L(200,150),e.L(200,350),e.stroke(),e.M(200,350),e.L(130,250),e.L(270,250),e.Z(),e.fill()}},11026:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(100,250,400,200),e.fill()}},11027:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(100,50,400,200),e.fill()}},11028:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(100,450),e.L(500,450),e.L(500,50),e.Z(),e.fill()}},11029:{width:N,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(100,50),e.L(100,450),e.L(500,50),e.Z(),e.fill()}},11030:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(300,470),e.L(90,250),e.L(300,30),e.Z(),e.fill()}},11031:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(300,470),e.L(510,250),e.L(300,30),e.Z(),e.fill()}},11032:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(90,250),e.L(300,470),e.L(510,250),e.Z(),e.fill()}},11033:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(90,250),e.L(300,30),e.L(510,250),e.Z(),e.fill()}},11034:{width:N,draw:e=>{e.lineWidth(25);for(let t=0;t<8;t++){let n=100+t*50;e.M(n,450),e.L(n+30,450)}for(let t=0;t<8;t++){let n=100+t*50;e.M(n,50),e.L(n+30,50)}for(let t=0;t<8;t++){let n=50+t*50;e.M(100,n),e.L(100,n+30)}for(let t=0;t<8;t++){let n=50+t*50;e.M(500,n),e.L(500,n+30)}e.stroke()}},11037:{width:N,draw:e=>{e.rect(240,190,120,120),e.fill()}},11038:{width:N,draw:e=>{e.lineWidth(30),e.rect(240,190,120,120),e.stroke()}},11039:{width:N,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.fill()}},11040:{width:N,draw:e=>{e.lineWidth(40);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.stroke()}},11041:{width:N,draw:e=>{e.lineWidth(40);for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.stroke()}},11042:{width:N,draw:e=>{for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.fill()}},11043:{width:N,draw:e=>{for(let t=0;t<6;t++){let n=t*60*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.fill()}},11044:{width:N,draw:e=>{e.circle(300,250,230),e.fill()}},11045:{width:N,draw:e=>{e.M(300,470),e.L(480,250),e.L(300,30),e.L(120,250),e.Z(),e.fill()}},11046:{width:N,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(480,250),e.L(300,30),e.L(120,250),e.Z(),e.stroke()}},11047:{width:N,draw:e=>{e.M(300,490),e.L(460,250),e.L(300,10),e.L(140,250),e.Z(),e.fill()}},11048:{width:N,draw:e=>{e.lineWidth(40),e.M(300,490),e.L(460,250),e.L(300,10),e.L(140,250),e.Z(),e.stroke()}},11049:{width:N,draw:e=>{e.M(300,380),e.L(400,250),e.L(300,120),e.L(200,250),e.Z(),e.fill()}},11050:{width:N,draw:e=>{e.M(300,400),e.L(380,250),e.L(300,100),e.L(220,250),e.Z(),e.fill()}},11051:{width:N,draw:e=>{e.lineWidth(35),e.M(300,400),e.L(380,250),e.L(300,100),e.L(220,250),e.Z(),e.stroke()}},11052:{width:N,draw:e=>{e.ellipse(300,250,220,120),e.fill()}},11053:{width:N,draw:e=>{e.lineWidth(40),e.ellipse(300,250,220,120),e.stroke()}},11054:{width:N,draw:e=>{e.ellipse(300,250,120,220),e.fill()}},11055:{width:N,draw:e=>{e.lineWidth(40),e.ellipse(300,250,120,220),e.stroke()}},11056:{width:N,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill(),e.circle(510,250,30),e.fill()}},11057:{width:N,draw:e=>{e.lineWidth(25);for(let t=150;t<=350;t+=100)e.M(500,t),e.L(200,t),e.stroke(),e.M(120,t),e.L(220,t+60),e.L(220,t-60),e.Z(),e.fill()}},11058:{width:N,draw:e=>{e.lineWidth(35),e.M(460,250),e.L(200,250),e.stroke(),e.M(120,250),e.L(220,350),e.L(220,150),e.Z(),e.fill(),e.circle(500,250,40),e.stroke(),e.M(480,250),e.L(520,250),e.stroke(),e.M(500,230),e.L(500,270),e.stroke()}},11059:{width:N,draw:e=>{e.lineWidth(35),e.M(520,250),e.C(480,330,420,170,360,250),e.C(300,330,240,170,180,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill()}},11060:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(300,150),e.L(300,350),e.stroke()}},11061:{width:N,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(280,150),e.L(280,350),e.stroke(),e.M(320,150),e.L(320,350),e.stroke()}},11062:{width:N,draw:e=>{e.lineWidth(40),e.M(500,150),e.L(500,350),e.stroke(),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(400,250),e.L(450,320),e.L(450,180),e.Z(),e.fill()}},11063:{width:N,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(430,250),e.stroke(),e.M(380,250),e.L(310,250),e.stroke(),e.M(260,250),e.L(190,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(430,330),e.L(430,170),e.Z(),e.fill()}},11064:{width:N,draw:e=>{e.circle(450,250,20),e.fill(),e.circle(370,250,20),e.fill(),e.circle(290,250,20),e.fill(),e.lineWidth(40),e.M(230,250),e.L(170,250),e.stroke(),e.M(100,250),e.L(220,350),e.L(220,150),e.Z(),e.fill()}},11065:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(150,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,350),e.L(500,150),e.stroke(),e.M(350,150),e.L(350,350),e.stroke()}},11066:{width:N,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(150,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill(),e.M(500,340),e.L(500,160),e.stroke(),e.M(330,160),e.L(330,340),e.stroke(),e.M(370,160),e.L(370,340),e.stroke()}},11067:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(500,350),e.L(500,150),e.stroke()}},11068:{width:N,draw:e=>{e.lineWidth(35),e.M(520,250),e.L(80,250),e.stroke(),e.M(80,250),e.L(170,340),e.L(170,160),e.Z(),e.fill(),e.M(520,250),e.L(430,340),e.L(430,160),e.Z(),e.fill(),e.M(520,340),e.L(520,160),e.stroke(),e.M(300,160),e.L(300,340),e.stroke()}},11069:{width:N,draw:e=>{e.lineWidth(30),e.M(530,250),e.L(70,250),e.stroke(),e.M(70,250),e.L(160,340),e.L(160,160),e.Z(),e.fill(),e.M(530,250),e.L(440,340),e.L(440,160),e.Z(),e.fill(),e.M(530,340),e.L(530,160),e.stroke(),e.M(280,160),e.L(280,340),e.stroke(),e.M(320,160),e.L(320,340),e.stroke()}},11070:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(130,250),e.stroke(),e.M(100,250),e.L(210,350),e.L(210,150),e.Z(),e.fill(),e.M(310,180),e.L(390,320),e.stroke(),e.M(390,180),e.L(310,320),e.stroke()}},11071:{width:N,draw:e=>{e.lineWidth(35),e.M(500,250),e.C(440,330,380,170,300,250),e.C(240,330,200,170,160,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill()}},11072:{width:N,draw:e=>{e.lineWidth(35),e.M(500,200),e.L(140,200),e.stroke(),e.M(100,200),e.L(200,270),e.L(200,130),e.Z(),e.fill(),e.M(150,350),e.L(470,350),e.stroke(),e.M(150,400),e.L(470,400),e.stroke()}},11073:{width:N,draw:e=>{e.lineWidth(35),e.M(500,200),e.L(140,200),e.stroke(),e.M(100,200),e.L(200,270),e.L(200,130),e.Z(),e.fill(),e.M(470,380),e.C(400,430,200,330,140,380),e.stroke()}},11077:{width:N,draw:e=>{e.lineWidth(25),e.M(500,330),e.L(200,330),e.stroke(),e.M(500,280),e.L(200,280),e.stroke(),e.M(500,230),e.L(200,230),e.stroke(),e.M(500,180),e.L(200,180),e.stroke(),e.M(100,250),e.L(230,400),e.L(230,100),e.Z(),e.fill()}},11078:{width:N,draw:e=>{e.lineWidth(25),e.M(100,330),e.L(400,330),e.stroke(),e.M(100,280),e.L(400,280),e.stroke(),e.M(100,230),e.L(400,230),e.stroke(),e.M(100,180),e.L(400,180),e.stroke(),e.M(500,250),e.L(370,400),e.L(370,100),e.Z(),e.fill()}},11089:{width:N,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),260+200*Math.sin(n)):e.L(300+200*Math.cos(n),260+200*Math.sin(n)),e.L(300+80*Math.cos(r),260+80*Math.sin(r))}e.Z(),e.fill()}},11090:{width:N,draw:e=>{e.lineWidth(35);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),260+200*Math.sin(n)):e.L(300+200*Math.cos(n),260+200*Math.sin(n)),e.L(300+80*Math.cos(r),260+80*Math.sin(r))}e.Z(),e.stroke()}},11091:{width:N,draw:e=>{for(let t=0;t<4;t++){let n=(t*90-90)*Math.PI/180,r=(t*90+45-90)*Math.PI/180;t===0?e.M(300+210*Math.cos(n),260+210*Math.sin(n)):e.L(300+210*Math.cos(n),260+210*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.fill()}},11092:{width:N,draw:e=>{e.lineWidth(40);for(let t=0;t<4;t++){let n=(t*90-90)*Math.PI/180,r=(t*90+45-90)*Math.PI/180;t===0?e.M(300+210*Math.cos(n),260+210*Math.sin(n)):e.L(300+210*Math.cos(n),260+210*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke()}},11093:{width:N,draw:e=>{e.lineWidth(60),e.circle(300,250,210),e.stroke()}},11094:{width:N,draw:e=>{e.circle(300,250,40),e.fill()}},11095:{width:N,draw:e=>{e.lineWidth(50),e.circle(300,250,180),e.stroke()}},11096:{width:N,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke()}},11097:{width:N,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.circle(300,250,100),e.stroke()}},11104:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(230,380),e.L(230,120),e.Z(),e.fill()}},11105:{width:N,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,350),e.stroke(),e.M(300,450),e.L(180,320),e.L(420,320),e.Z(),e.fill()}},11106:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},11107:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,150),e.stroke(),e.M(300,50),e.L(180,180),e.L(420,180),e.Z(),e.fill()}},11108:{width:N,draw:e=>{e.lineWidth(35),e.M(180,250),e.L(420,250),e.stroke(),e.M(100,250),e.L(210,350),e.L(210,150),e.Z(),e.fill(),e.M(500,250),e.L(390,350),e.L(390,150),e.Z(),e.fill()}},11109:{width:N,draw:e=>{e.lineWidth(35),e.M(300,140),e.L(300,360),e.stroke(),e.M(300,460),e.L(200,350),e.L(400,350),e.Z(),e.fill(),e.M(300,40),e.L(200,150),e.L(400,150),e.Z(),e.fill()}},11120:{width:N,draw:e=>{e.lineWidth(30),e.M(500,280),e.L(200,280),e.stroke(),e.M(500,220),e.L(200,220),e.stroke(),e.M(100,250),e.L(230,380),e.L(230,120),e.Z(),e.fill()}},11122:{width:N,draw:e=>{e.lineWidth(30),e.M(100,280),e.L(400,280),e.stroke(),e.M(100,220),e.L(400,220),e.stroke(),e.M(500,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},11157:{width:N,draw:e=>{e.M(550,250),e.L(370,420),e.L(370,310),e.L(50,310),e.L(50,190),e.L(370,190),e.L(370,80),e.Z(),e.fill()}},11118:{width:N,draw:e=>{e.lineWidth(40),e.M(150,400),e.L(150,200),e.C(150,80,300,50,450,80),e.C(500,100,520,200,450,250),e.stroke(),e.M(150,400),e.L(80,300),e.L(220,300),e.Z(),e.fill()}},11119:{width:N,draw:e=>{e.lineWidth(40),e.M(450,400),e.L(450,200),e.C(450,80,300,50,150,80),e.C(100,100,80,200,150,250),e.stroke(),e.M(450,400),e.L(380,300),e.L(520,300),e.Z(),e.fill()}},11134:{width:N,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(430,250),e.stroke(),e.M(500,250),e.L(380,360),e.L(380,140),e.Z(),e.fill(),e.M(100,150),e.L(100,350),e.stroke()}},11135:{width:N,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(170,250),e.stroke(),e.M(100,250),e.L(220,360),e.L(220,140),e.Z(),e.fill(),e.M(500,150),e.L(500,350),e.stroke()}},11144:{width:N,draw:e=>{e.circle(300,250,220),e.fill()}},11146:{width:N,draw:e=>{e.circle(300,250,220),e.fill()}},11148:{width:N,draw:e=>{e.lineWidth(40),e.M(350,430),e.C(200,430,100,350,100,250),e.C(100,150,200,70,350,70),e.C(480,70,520,200,500,300),e.stroke(),e.M(350,430),e.L(290,370),e.L(400,370),e.Z(),e.fill()}},11150:{width:N,draw:e=>{e.lineWidth(40),e.M(250,430),e.C(400,430,500,350,500,250),e.C(500,150,400,70,250,70),e.C(120,70,80,200,100,300),e.stroke(),e.M(250,430),e.L(200,370),e.L(310,370),e.Z(),e.fill()}},11152:{width:N,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(200,250),e.stroke(),e.M(120,250),e.L(170,300),e.L(220,250),e.L(170,200),e.Z(),e.fill()}},11153:{width:N,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(400,250),e.stroke(),e.M(480,250),e.L(430,300),e.L(380,250),e.L(430,200),e.Z(),e.fill()}},11165:{width:N,draw:e=>{e.M(300,450),e.L(150,100),e.L(450,100),e.Z(),e.fill()}},11166:{width:N,draw:e=>{e.M(150,450),e.L(500,250),e.L(150,50),e.Z(),e.fill()}},11167:{width:N,draw:e=>{e.M(150,400),e.L(450,400),e.L(300,50),e.Z(),e.fill()}},11168:{width:N,draw:e=>{e.M(450,450),e.L(100,250),e.L(450,50),e.Z(),e.fill()}},11169:{width:N,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(150,100),e.L(450,100),e.Z(),e.stroke()}},11170:{width:N,draw:e=>{e.lineWidth(40),e.M(150,450),e.L(500,250),e.L(150,50),e.Z(),e.stroke()}},11171:{width:N,draw:e=>{e.lineWidth(40),e.M(150,400),e.L(450,400),e.L(300,50),e.Z(),e.stroke()}},11172:{width:N,draw:e=>{e.lineWidth(40),e.M(450,450),e.L(100,250),e.L(450,50),e.Z(),e.stroke()}}}}));function P(e,t,n,r,i,a){return{width:F,draw:o=>{a||o.lineWidth(30);for(let a=0;a<e;a++){let s=(a*360/e-90)*Math.PI/180,c=(a*360/e+180/e-90)*Math.PI/180;a===0?o.M(t+r*Math.cos(s),n+r*Math.sin(s)):o.L(t+r*Math.cos(s),n+r*Math.sin(s)),o.L(t+i*Math.cos(c),n+i*Math.sin(c))}o.Z(),a?o.fill():o.stroke()}}}function Xr(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r,s=300+r*220,c=250+i*220,l=300-r*220,u=250-i*220,d=300-r*60,f=250-i*60;return{width:F,draw:e=>{e.M(l-a*50,u-o*50),e.L(d-a*50,f-o*50),e.L(d-a*120,f-o*120),e.L(s,c),e.L(d+a*120,f+o*120),e.L(d+a*50,f+o*50),e.L(l+a*50,u+o*50),e.Z(),e.fill()}}}function Zr(e){let t={1:[[300,250]],2:[[200,350],[400,150]],3:[[200,350],[300,250],[400,150]],4:[[200,350],[400,350],[200,150],[400,150]],5:[[200,350],[400,350],[300,250],[200,150],[400,150]],6:[[200,350],[400,350],[200,250],[400,250],[200,150],[400,150]]};return{width:F,draw:n=>{n.lineWidth(35),n.rect(100,50,400,400),n.stroke();let r=t[e]??[];for(let[e,t]of r)n.circle(e,t,30),n.fill()}}}function Qr(e,t){return{width:F,draw:n=>{switch(t||n.lineWidth(30),n.rect(180,30,240,40),t?n.fill():n.stroke(),e){case`king`:n.M(220,70),n.L(220,350),n.L(380,350),n.L(380,70),n.Z(),t?n.fill():n.stroke(),n.lineWidth(35),n.M(300,350),n.L(300,450),n.stroke(),n.M(260,420),n.L(340,420),n.stroke();break;case`queen`:n.M(220,70),n.L(200,350),n.L(400,350),n.L(380,70),n.Z(),t?n.fill():n.stroke(),n.lineWidth(25),n.M(200,350),n.L(160,430),n.stroke(),n.M(270,350),n.L(250,440),n.stroke(),n.M(300,350),n.L(300,460),n.stroke(),n.M(330,350),n.L(350,440),n.stroke(),n.M(400,350),n.L(440,430),n.stroke();break;case`rook`:n.M(200,70),n.L(200,350),n.L(400,350),n.L(400,70),n.Z(),t?n.fill():n.stroke(),n.rect(180,350,60,80),t?n.fill():n.stroke(),n.rect(270,350,60,80),t?n.fill():n.stroke(),n.rect(360,350,60,80),t?n.fill():n.stroke();break;case`bishop`:n.M(230,70),n.L(200,300),n.C(200,400,400,400,400,300),n.L(370,70),n.Z(),t?n.fill():n.stroke(),n.M(300,300),n.L(300,460),t||n.lineWidth(25),n.stroke();break;case`knight`:n.M(220,70),n.L(220,300),n.L(280,350),n.L(280,420),n.L(350,460),n.L(420,400),n.L(380,300),n.L(380,70),n.Z(),t?n.fill():n.stroke();break;case`pawn`:n.M(230,70),n.L(230,200),n.L(370,200),n.L(370,70),n.Z(),t?n.fill():n.stroke(),n.circle(300,320,90),t?n.fill():n.stroke()}}}}function $r(e,t){return{width:F,draw:n=>{n.lineWidth(t);for(let t=0;t<e;t++){let r=t*180/e*Math.PI/180;n.M(300-180*Math.cos(r),250-180*Math.sin(r)),n.L(300+180*Math.cos(r),250+180*Math.sin(r))}n.stroke()}}}function ei(e,t,n,r,i){let a=Math.sqrt(e*e+t*t),o=e/a,s=t/a,c=-s,l=o,u=300+o*220,d=250+s*220,f=300-o*220,p=250-s*220,m=u-o*r,h=d-s*r;return{width:F,draw:e=>{e.M(f-c*i,p-l*i),e.L(m-c*i,h-l*i),e.L(m-c*n,h-l*n),e.L(u,d),e.L(m+c*n,h+l*n),e.L(m+c*i,h+l*i),e.L(f+c*i,p+l*i),e.Z(),e.fill()}}}function ti(e,t,n){let r=Math.sqrt(e*e+t*t),i=e/r,a=t/r,o=-a,s=i,c=300+i*200,l=250+a*200,u=300-i*200,d=250-a*200,f=c-i*140,p=l-a*140;return{width:F,draw:e=>{let t=n,r=-n;e.M(u+t-o*45,d+r-s*45),e.L(f+t-o*45,p+r-s*45),e.L(f+t-o*110,p+r-s*110),e.L(c+t,l+r),e.L(f+t+o*110,p+r+s*110),e.L(f+t+o*45,p+r+s*45),e.L(u+t+o*45,d+r+s*45),e.Z(),e.fill(),e.M(u-o*45,d-s*45),e.L(f-o*45,p-s*45),e.L(f-o*110,p-s*110),e.L(c,l),e.L(f+o*110,p+s*110),e.L(f+o*45,p+s*45),e.L(u+o*45,d+s*45),e.Z(),e.fill()}}}function ni(e){return{width:F,draw:t=>{let n=e>0?400:100;t.lineWidth(50),t.M(100,n),t.C(100,250,300,250,480,250),t.stroke(),t.M(480,250),t.L(400,180),t.L(400,320),t.Z(),t.fill()}}}function ri(e,t,n){return{width:F,draw:r=>{r.lineWidth(n),r.M(80,250-t),r.L(360,250-t),r.L(360,250-e),r.L(520,250),r.L(360,250+e),r.L(360,250+t),r.L(80,250+t),r.Z(),r.stroke()}}}function ii(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:F,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*60,c-i*90+o*60),e.L(s-r*90-a*60,c-i*90-o*60),e.Z(),e.fill(),e.M(t+a*70,n+o*70),e.L(t-a*70,n-o*70),e.stroke()}}}function ai(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:F,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill(),e.M(t,n),e.L(t+r*90+a*55,n+i*90+o*55),e.L(t+r*90-a*55,n+i*90-o*55),e.Z(),e.fill()}}}function oi(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:F,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill(),e.M(300+a*60+r*30,250+o*60+i*30),e.L(300-a*60-r*30,250-o*60-i*30),e.stroke()}}}function si(e,t,n,r){let i=Math.sqrt(e*e+t*t),a=e/i,o=t/i,s=-o,c=a,l=Math.sqrt(n*n+r*r),u=n/l,d=r/l,f=-d,p=u;return{width:F,draw:e=>{e.lineWidth(28);let t=300-a*180+s*50,n=250-o*180+c*50,r=300+a*180+s*50,i=250+o*180+c*50;e.M(t,n),e.L(r,i),e.stroke(),e.M(r,i),e.L(r-a*70+s*45,i-o*70+c*45),e.L(r-a*70-s*45,i-o*70-c*45),e.Z(),e.fill();let l=300-u*180-f*50,m=250-d*180-p*50,h=300+u*180-f*50,g=250+d*180-p*50;e.M(l,m),e.L(h,g),e.stroke(),e.M(h,g),e.L(h-u*70+f*45,g-d*70+p*45),e.L(h-u*70-f*45,g-d*70-p*45),e.Z(),e.fill()}}}function ci(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:F,draw:e=>{e.lineWidth(35);let t=300-r*160,n=250-i*160,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill();let l=t-r*40,u=n-i*40;e.circle(l,u,40),e.stroke()}}}function li(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:F,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill(),e.lineWidth(22),e.M(300-r*50+a*50,250-i*50+o*50),e.C(300-r*25+a*70,250-i*25+o*70,300+r*25+a*30,250+i*25+o*30,300+r*50+a*50,250+i*50+o*50),e.stroke()}}}function ui(e,t,n){let r=Math.sqrt(e*e+t*t),i=e/r,a=t/r,o=-a,s=i;return{width:F,draw:e=>{e.lineWidth(n);let t=300-i*200,r=250-a*200,c=300+i*200,l=250+a*200;e.M(t,r),e.L(c,l),e.stroke(),e.M(c-i*90+o*60,l-a*90+s*60),e.L(c,l),e.L(c-i*90-o*60,l-a*90-s*60),e.stroke()}}}function di(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:F,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s-r*80+a*55,c-i*80+o*55),e.L(s,c),e.L(s-r*80-a*55,c-i*80-o*55),e.stroke(),e.M(t+a*70,n+o*70),e.L(t-a*70,n-o*70),e.stroke(),e.M(s+a*70,c+o*70),e.L(s-a*70,c-o*70),e.stroke()}}}function fi(e,t){return{width:F,draw:n=>{n.lineWidth(t);for(let t=0;t<e;t++){let r=t*Math.PI/e;n.M(300-120*Math.cos(r),400-120*Math.sin(r)),n.L(300+120*Math.cos(r),400+120*Math.sin(r))}n.stroke()}}}function pi(e,t,n){e.M(t-60,400),e.C(t-60,480,t+60,480,t+60,400),e.C(t+60,320,t,300,t,240),e.stroke(),e.circle(t,150,25),e.fill()}function mi(e,t,n){e.M(t,480),e.L(t,200),e.stroke(),e.circle(t,130,28),e.fill()}var F,hi,I,L,gi,_i,R,vi,yi,bi=n((()=>{F=600,hi={9690:{width:F,draw:e=>{e.lineWidth(45),e.M(80,250),e.C(80,390,180,470,300,470),e.C(420,470,520,390,520,250),e.stroke()}},9691:{width:F,draw:e=>{e.lineWidth(45),e.M(520,250),e.C(520,110,420,30,300,30),e.C(180,30,80,110,80,250),e.stroke()}},10690:{width:F,draw:e=>{e.lineWidth(35),e.circle(260,250,180),e.stroke(),e.circle(470,250,50),e.stroke()}},10691:{width:F,draw:e=>{e.lineWidth(35),e.circle(260,250,180),e.stroke(),e.M(440,290),e.L(540,290),e.stroke(),e.M(440,210),e.L(540,210),e.stroke()}},10692:{width:F,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.M(160,100),e.L(440,400),e.stroke()}},10693:{width:F,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.M(160,400),e.L(440,100),e.stroke()}},10694:{width:F,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.lineWidth(35),e.M(300,100),e.L(300,400),e.stroke(),e.M(160,250),e.L(440,250),e.stroke(),e.M(180,120),e.L(420,380),e.stroke(),e.M(180,380),e.L(420,120),e.stroke()}},9548:{width:F,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(120,250),e.stroke(),e.M(200,250),e.L(400,250),e.stroke(),e.M(480,250),e.L(600,250),e.stroke()}},9549:{width:F,draw:e=>{e.lineWidth(80),e.M(0,250),e.L(120,250),e.stroke(),e.M(200,250),e.L(400,250),e.stroke(),e.M(480,250),e.L(600,250),e.stroke()}},9550:{width:F,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,100),e.stroke(),e.M(300,180),e.L(300,320),e.stroke(),e.M(300,400),e.L(300,500),e.stroke()}},9551:{width:F,draw:e=>{e.lineWidth(80),e.M(300,0),e.L(300,100),e.stroke(),e.M(300,180),e.L(300,320),e.stroke(),e.M(300,400),e.L(300,500),e.stroke()}},8456:{width:F,draw:e=>{e.lineWidth(40),e.M(180,450),e.L(420,450),e.L(420,250),e.L(250,250),e.stroke(),e.M(420,250),e.L(420,50),e.L(180,50),e.stroke()}},8483:{width:F,draw:e=>{e.lineWidth(45),e.M(150,480),e.L(300,20),e.L(450,480),e.stroke()}},8506:{width:F,draw:e=>{e.lineWidth(40),e.ellipse(300,260,180,200),e.stroke(),e.M(380,140),e.L(480,40),e.stroke()}},8507:{width:F,draw:e=>{e.lineWidth(40),e.M(80,50),e.L(80,480),e.L(200,480),e.stroke(),e.M(80,280),e.L(180,280),e.stroke(),e.M(230,50),e.L(300,480),e.L(370,50),e.stroke(),e.M(255,200),e.L(345,200),e.stroke(),e.M(400,480),e.L(520,50),e.stroke(),e.M(520,480),e.L(400,50),e.stroke()}},9135:{width:F,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke()}},9143:{width:F,draw:e=>{e.lineWidth(45),e.M(80,250),e.L(200,250),e.L(300,0),e.L(520,500),e.stroke()}},9144:{width:300,draw:e=>{e.lineWidth(40),e.M(80,0),e.L(80,500),e.stroke()}},9145:{width:300,draw:e=>{e.lineWidth(40),e.M(220,0),e.L(220,500),e.stroke()}},9154:{width:F,draw:e=>{e.lineWidth(35),e.M(300,0),e.L(300,500),e.stroke(),e.M(100,250),e.C(150,300,250,200,300,250),e.C(350,300,450,200,500,250),e.stroke()}}};for(let e of[9155,9156,9157,9158,9159,9160,9169,9170,9171,9172,9173,9174,9175,9176,9177])hi[e]={width:F,draw:e=>{e.lineWidth(35),e.M(300,0),e.L(300,500),e.stroke(),e.M(150,250),e.L(450,250),e.stroke()}};hi[10063]={width:F,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(140,80),e.L(500,80),e.L(500,420),e.stroke()}},hi[10064]={width:F,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(480,440),e.L(480,80),e.L(120,80),e.stroke()}},hi[10065]={width:F,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(460,440),e.L(100,440),e.L(100,80),e.stroke()}},hi[10066]={width:F,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(120,60),e.L(120,420),e.L(480,420),e.stroke()}},hi[10072]={width:250,draw:e=>{e.lineWidth(35),e.M(125,0),e.L(125,500),e.stroke()}},hi[10073]={width:300,draw:e=>{e.lineWidth(55),e.M(150,0),e.L(150,500),e.stroke()}},hi[10074]={width:350,draw:e=>{e.lineWidth(80),e.M(175,0),e.L(175,500),e.stroke()}},hi[10075]={width:300,draw:e=>{e.circle(150,430,55),e.fill(),e.lineWidth(40),e.M(150,375),e.C(110,320,90,290,70,270),e.stroke()}},hi[10076]={width:300,draw:e=>{e.circle(150,430,55),e.fill(),e.lineWidth(40),e.M(150,375),e.C(190,320,210,290,230,270),e.stroke()}},hi[10077]={width:450,draw:e=>{e.circle(120,430,50),e.fill(),e.circle(300,430,50),e.fill(),e.lineWidth(35),e.M(120,380),e.C(80,320,60,290,40,270),e.stroke(),e.M(300,380),e.C(260,320,240,290,220,270),e.stroke()}},hi[10078]={width:450,draw:e=>{e.circle(150,430,50),e.fill(),e.circle(330,430,50),e.fill(),e.lineWidth(35),e.M(150,380),e.C(190,320,210,290,230,270),e.stroke(),e.M(330,380),e.C(370,320,390,290,410,270),e.stroke()}},hi[10079]={width:300,draw:e=>{e.circle(150,80,50),e.fill(),e.lineWidth(40),e.M(150,130),e.C(190,190,210,220,230,250),e.stroke()}},hi[10080]={width:450,draw:e=>{e.circle(130,80,45),e.fill(),e.circle(310,80,45),e.fill(),e.lineWidth(35),e.M(130,125),e.C(170,190,190,220,210,250),e.stroke(),e.M(310,125),e.C(350,190,370,220,390,250),e.stroke()}},hi[10081]={width:F,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(300,100),e.stroke(),e.M(180,380),e.L(420,380),e.stroke(),e.circle(300,50,30),e.fill()}};for(let[e,t,n,r]of[[10088,10089,!1,!1],[10090,10091,!1,!0],[10092,10093,!0,!1],[10094,10095,!0,!1],[10096,10097,!0,!0],[10098,10099,!1,!0],[10100,10101,!1,!1]]){let i=r?55:38;n?(hi[e]={width:350,draw:e=>{e.lineWidth(i),e.M(280,480),e.L(100,250),e.L(280,20),e.stroke()}},hi[t]={width:350,draw:e=>{e.lineWidth(i),e.M(70,480),e.L(250,250),e.L(70,20),e.stroke()}}):(hi[e]={width:350,draw:e=>{e.lineWidth(i),e.M(260,480),e.C(100,400,100,100,260,20),e.stroke()}},hi[t]={width:350,draw:e=>{e.lineWidth(i),e.M(90,480),e.C(250,400,250,100,90,20),e.stroke()}})}{let e=(e,t,n,r,i)=>{[e=>{e.ellipse(n,r,i*.28,i*.42),e.stroke()},e=>{e.M(n,r+i*.42),e.L(n,r-i*.42),e.stroke()},e=>{e.M(n-i*.25,r+i*.25),e.C(n-i*.25,r+i*.45,n+i*.25,r+i*.45,n+i*.25,r+i*.15),e.L(n-i*.25,r-i*.42),e.L(n+i*.25,r-i*.42),e.stroke()},e=>{e.M(n-i*.22,r+i*.42),e.L(n+i*.22,r+i*.42),e.L(n+i*.22,r),e.L(n-i*.1,r),e.stroke(),e.M(n+i*.22,r),e.L(n+i*.22,r-i*.42),e.L(n-i*.22,r-i*.42),e.stroke()},e=>{e.M(n+i*.2,r+i*.42),e.L(n-i*.25,r-i*.05),e.L(n+i*.25,r-i*.05),e.stroke(),e.M(n+i*.2,r+i*.42),e.L(n+i*.2,r-i*.42),e.stroke()},e=>{e.M(n+i*.22,r+i*.42),e.L(n-i*.22,r+i*.42),e.L(n-i*.22,r+i*.05),e.L(n+i*.22,r+i*.05),e.C(n+i*.35,r+i*.05,n+i*.35,r-i*.42,n-i*.22,r-i*.42),e.stroke()},e=>{e.M(n+i*.2,r+i*.35),e.C(n-i*.1,r+i*.45,n-i*.3,r+i*.15,n-i*.25,r-i*.1),e.C(n-i*.2,r-i*.45,n+i*.25,r-i*.45,n+i*.25,r-i*.1),e.C(n+i*.25,r+i*.1,n-i*.25,r+i*.1,n-i*.25,r-i*.1),e.stroke()},e=>{e.M(n-i*.22,r+i*.42),e.L(n+i*.22,r+i*.42),e.L(n-i*.05,r-i*.42),e.stroke()},e=>{e.ellipse(n,r+i*.22,i*.2,i*.2),e.stroke(),e.ellipse(n,r-i*.22,i*.22,i*.22),e.stroke()},e=>{e.M(n-i*.2,r-i*.35),e.C(n+i*.1,r-i*.45,n+i*.3,r-i*.15,n+i*.25,r+i*.1),e.C(n+i*.2,r+i*.45,n-i*.25,r+i*.45,n-i*.25,r+i*.1),e.C(n-i*.25,r-i*.1,n+i*.25,r-i*.1,n+i*.25,r+i*.1),e.stroke()}][t](e)};for(let t=0;t<10;t++){let n=t+1;hi[10112+t]={width:F,draw:t=>{t.lineWidth(28),t.circle(300,250,220),t.stroke(),t.lineWidth(26),n<=9?e(t,n,300,250,210):(e(t,1,225,250,155),e(t,0,375,250,155))}}}for(let t=0;t<10;t++){let n=t+1;hi[10122+t]={width:F,draw:t=>{t.rect(70,20,460,460),t.fill(),t.lineWidth(24),n<=9?e(t,n,300,250,200):(e(t,1,225,250,150),e(t,0,375,250,150))}}}}hi[10160]={width:F,draw:e=>{e.lineWidth(40),e.M(150,100),e.C(150,400,450,400,450,250),e.C(450,100,250,100,250,250),e.C(250,350,350,400,450,350),e.stroke()}},hi[10175]={width:F,draw:e=>{e.lineWidth(35),e.M(80,150),e.C(80,400,300,400,300,250),e.C(300,100,150,100,150,250),e.stroke(),e.M(300,150),e.C(300,400,520,400,520,250),e.C(520,100,370,100,370,250),e.stroke()}},I={10025:P(4,300,250,220,80,!1),10026:{width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,230),e.stroke(),P(5,300,250,180,70,!0).draw(e)}},10027:P(4,300,250,220,100,!0),10028:P(4,300,250,220,100,!1),10029:P(5,300,250,220,100,!1),10030:P(6,300,250,220,130,!1),10031:P(6,300,250,220,100,!1),10033:$r(6,45),10034:$r(4,30),10035:$r(8,25),10036:P(8,300,250,200,100,!0),10037:P(8,300,250,200,80,!0),10038:P(6,300,250,220,110,!0),10039:P(6,300,250,220,110,!1),10040:P(8,300,250,220,90,!0),10041:$r(12,40),10042:$r(6,35),10043:$r(8,20),10044:$r(8,15),10045:$r(4,50),10046:P(6,300,250,200,140,!1),10047:P(8,300,250,200,140,!0),10048:P(8,300,250,200,140,!1),10049:P(8,300,250,210,160,!1),10050:P(16,300,250,220,160,!1),10051:$r(6,50),10052:P(6,300,250,220,120,!1),10053:P(6,300,250,200,100,!1),10054:P(4,300,250,220,60,!1),10055:P(4,300,250,200,50,!0),10056:P(4,300,250,220,50,!0),10057:P(4,300,250,180,80,!0),10058:P(8,300,250,200,130,!0),10059:P(8,300,250,220,100,!0),9984:{width:F,draw:e=>{e.lineWidth(35),e.circle(170,370,80),e.stroke(),e.circle(170,130,80),e.stroke(),e.M(240,320),e.L(520,80),e.stroke(),e.M(240,180),e.L(520,420),e.stroke()}},9987:{width:F,draw:e=>{e.lineWidth(40),e.circle(170,370,80),e.stroke(),e.circle(170,130,80),e.stroke(),e.M(240,320),e.L(520,80),e.stroke(),e.M(240,180),e.L(520,420),e.stroke()}},9988:{width:F,draw:e=>{e.lineWidth(30),e.circle(160,350,70),e.stroke(),e.circle(160,150,70),e.stroke(),e.M(220,300),e.L(500,100),e.stroke(),e.M(220,200),e.L(500,400),e.stroke()}},9989:{width:F,draw:e=>{e.lineWidth(70),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},9994:{width:F,draw:e=>{e.circle(300,250,200),e.fill()}},9995:{width:F,draw:e=>{e.lineWidth(40),e.M(180,50),e.L(180,350),e.stroke(),e.M(250,50),e.L(250,400),e.stroke(),e.M(320,50),e.L(320,400),e.stroke(),e.M(390,50),e.L(390,350),e.stroke(),e.M(450,100),e.L(450,300),e.stroke()}},9996:{width:F,draw:e=>{e.lineWidth(40),e.M(220,50),e.L(250,400),e.stroke(),e.M(380,50),e.L(350,400),e.stroke()}},9997:{width:F,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(460,430),e.stroke(),e.M(120,50),e.L(150,130),e.stroke()}},10001:{width:F,draw:e=>{e.lineWidth(40),e.M(140,30),e.L(460,430),e.stroke(),e.M(120,80),e.L(190,30),e.stroke()}},10002:{width:F,draw:e=>{e.M(140,30),e.L(110,80),e.L(440,470),e.L(490,470),e.L(490,430),e.L(170,30),e.Z(),e.fill()}},10009:{width:F,draw:e=>{e.lineWidth(50),e.M(300,30),e.L(300,470),e.stroke(),e.M(90,250),e.L(510,250),e.stroke()}},10011:{width:F,draw:e=>{e.lineWidth(65),e.M(300,30),e.L(300,470),e.stroke(),e.M(80,250),e.L(520,250),e.stroke()}},10015:{width:F,draw:e=>{e.lineWidth(45),e.M(300,0),e.L(300,500),e.stroke(),e.M(120,370),e.L(480,370),e.stroke()}},10017:P(6,300,250,230,115,!1),10018:P(4,300,250,220,60,!0),10019:P(4,300,250,220,80,!1),10020:P(4,300,250,200,100,!0),10021:P(4,300,250,220,40,!0),10060:{width:F,draw:e=>{e.lineWidth(70),e.M(130,60),e.L(470,440),e.stroke(),e.M(130,440),e.L(470,60),e.stroke()}},10061:{width:F,draw:e=>{e.lineWidth(50),e.circle(300,250,210),e.stroke()}},10062:{width:F,draw:e=>{e.rect(80,30,440,440),e.fill()}},10067:{width:F,draw:e=>{e.lineWidth(55),e.M(200,400),e.C(200,480,400,480,400,380),e.C(400,300,300,280,300,220),e.stroke(),e.circle(300,120,35),e.fill()}},10068:{width:F,draw:e=>{e.lineWidth(45),e.M(200,400),e.C(200,480,400,480,400,380),e.C(400,300,300,280,300,220),e.stroke(),e.circle(300,120,30),e.fill()}},10069:{width:F,draw:e=>{e.lineWidth(50),e.M(200,400),e.C(200,480,400,480,400,380),e.C(400,300,300,280,300,220),e.stroke(),e.circle(300,120,35),e.fill()}},10070:P(4,300,250,230,50,!0),10071:{width:F,draw:e=>{e.lineWidth(60),e.M(300,480),e.L(300,150),e.stroke(),e.circle(300,60,38),e.fill()}},10082:{width:F,draw:e=>{e.lineWidth(55),e.M(300,480),e.L(300,150),e.stroke(),e.circle(300,60,35),e.fill()}},10083:{width:F,draw:e=>{e.lineWidth(55),e.M(300,480),e.L(300,200),e.stroke(),e.M(300,100),e.C(300,100,200,130,200,70),e.C(200,20,300,20,300,100),e.C(300,20,400,20,400,70),e.C(400,130,300,100,300,100),e.fill()}},10084:{width:F,draw:e=>{e.M(300,80),e.C(300,80,60,220,60,350),e.C(60,470,180,500,300,500),e.C(420,500,540,470,540,350),e.C(540,220,300,80,300,80),e.Z(),e.fill()}},10085:{width:F,draw:e=>{e.lineWidth(35),e.M(300,370),e.L(300,100),e.stroke(),e.M(300,460),e.C(300,460,200,490,200,430),e.C(200,380,300,380,300,460),e.C(300,380,400,380,400,430),e.C(400,490,300,460,300,460),e.fill()}},10086:{width:F,draw:e=>{e.lineWidth(30),e.M(300,80),e.C(300,80,100,200,100,300),e.C(100,400,200,450,300,400),e.C(400,450,500,400,500,300),e.C(500,200,300,80,300,80),e.stroke()}},10087:{width:F,draw:e=>{e.lineWidth(35),e.M(300,80),e.C(300,80,80,220,80,340),e.C(80,460,200,500,300,490),e.C(400,500,520,460,520,340),e.C(520,220,300,80,300,80),e.Z(),e.stroke()}},10133:{width:F,draw:e=>{e.rect(240,50,120,400),e.fill(),e.rect(100,190,400,120),e.fill()}},10134:{width:F,draw:e=>{e.rect(100,200,400,100),e.fill()}},10135:{width:F,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(480,450),e.stroke(),e.circle(200,370,35),e.fill(),e.circle(400,130,35),e.fill()}}},I[10136]||(I[10136]=Xr(1,-1)),I[10137]||(I[10137]=ei(1,0,100,180,40)),I[10138]||(I[10138]=ei(1,0,130,200,55)),I[10139]||(I[10139]=ei(1,0,140,220,30)),I[10140]||(I[10140]=ei(1,0,110,160,50)),I[10141]||(I[10141]=ei(1,0,90,180,60)),I[10142]||(I[10142]=ei(1,0,120,240,65)),I[10143]||(I[10143]=ei(1,0,80,150,70)),I[10144]||(I[10144]=ei(1,0,150,200,35)),I[10146]||(I[10146]=ti(1,0,15)),I[10147]||(I[10147]=ti(1,0,25)),I[10148]||(I[10148]=ti(1,0,10)),I[10149]||(I[10149]=ni(1)),I[10150]||(I[10150]=ni(-1)),I[10151]||(I[10151]=ri(100,40,30)),I[10152]||(I[10152]=ei(1,0,160,260,45)),I[10153]||(I[10153]=ri(120,50,35)),I[10154]||(I[10154]=ei(1,0,100,140,55)),I[10155]||(I[10155]=ti(1,0,20)),I[10156]||(I[10156]=ti(1,0,30)),I[10157]||(I[10157]=ri(90,35,28)),I[10158]||(I[10158]=ei(1,0,130,180,60)),I[10159]||(I[10159]={width:F,draw:e=>{e.lineWidth(45),e.M(100,400),e.C(150,150,350,150,480,250),e.stroke(),e.M(480,250),e.L(420,180),e.L(420,320),e.Z(),e.fill()}}),I[10161]||(I[10161]=ei(1,0,95,170,35)),I[10162]||(I[10162]=ei(1,0,145,230,50)),I[10163]||(I[10163]=ri(80,30,25)),I[10164]||(I[10164]=ei(1,0,110,190,25)),I[10165]||(I[10165]=ei(1,0,135,210,40)),I[10166]||(I[10166]=ri(110,45,32)),I[10167]||(I[10167]=ei(1,0,120,200,70)),I[10168]||(I[10168]=ei(1,0,140,250,20)),I[10169]||(I[10169]=ri(130,55,38)),I[10170]||(I[10170]=ei(1,0,105,170,45)),I[10171]||(I[10171]=ri(100,40,40)),I[10172]||(I[10172]=ei(1,0,90,160,55)),I[10173]||(I[10173]=ei(1,0,150,240,30)),I[10174]||(I[10174]=ri(115,48,30)),L={9730:{width:F,draw:e=>{e.lineWidth(35),e.M(100,250),e.C(100,420,250,450,300,450),e.C(350,450,500,420,500,250),e.stroke(),e.M(300,250),e.L(300,80),e.C(300,30,230,30,230,80),e.stroke()}},9731:{width:F,draw:e=>{e.lineWidth(30),e.circle(300,100,80),e.stroke(),e.circle(300,250,100),e.stroke(),e.circle(300,420,70),e.stroke()}},9732:{width:F,draw:e=>{e.circle(180,250,80),e.fill(),e.lineWidth(25),e.M(260,250),e.C(350,300,450,350,530,400),e.stroke(),e.M(260,270),e.C(350,250,450,200,530,150),e.stroke()}},9748:{width:F,draw:e=>{e.lineWidth(35),e.M(100,300),e.C(100,450,300,480,300,480),e.C(300,480,500,450,500,300),e.stroke(),e.M(300,300),e.L(300,100),e.C(300,50,230,50,230,100),e.stroke(),e.lineWidth(20),e.M(200,150),e.L(180,80),e.stroke(),e.M(400,150),e.L(380,80),e.stroke()}},9749:{width:F,draw:e=>{e.lineWidth(35),e.rect(150,50,250,250),e.stroke(),e.M(400,230),e.C(470,230,470,120,400,120),e.stroke(),e.lineWidth(25),e.M(200,350),e.C(220,400,350,400,370,350),e.stroke(),e.M(250,450),e.L(320,450),e.stroke()}},9752:{width:F,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,250),e.stroke(),e.M(300,250),e.C(200,350,100,400,150,450),e.C(200,500,300,400,300,250),e.stroke(),e.M(300,250),e.C(400,350,500,400,450,450),e.C(400,500,300,400,300,250),e.stroke(),e.M(300,250),e.C(250,300,200,250,250,200),e.C(280,170,300,250,300,250),e.stroke()}}},gi=[[9800,e=>{e.lineWidth(45),e.M(150,100),e.C(150,300,300,500,300,500),e.stroke(),e.M(450,100),e.C(450,300,300,500,300,500),e.stroke()}],[9801,e=>{e.lineWidth(45),e.circle(300,200,150),e.stroke(),e.M(150,350),e.C(150,450,300,500,300,500),e.stroke(),e.M(450,350),e.C(450,450,300,500,300,500),e.stroke()}],[9802,e=>{e.lineWidth(40),e.M(180,80),e.L(420,80),e.stroke(),e.M(180,420),e.L(420,420),e.stroke(),e.M(220,80),e.L(220,420),e.stroke(),e.M(380,80),e.L(380,420),e.stroke()}],[9803,e=>{e.lineWidth(45),e.M(180,350),e.C(180,450,300,450,300,350),e.C(300,250,180,250,180,350),e.stroke(),e.M(420,150),e.C(420,50,300,50,300,150),e.C(300,250,420,250,420,150),e.stroke()}],[9804,e=>{e.lineWidth(45),e.circle(200,380,80),e.stroke(),e.M(280,380),e.C(350,380,400,300,400,200),e.C(400,100,300,50,250,100),e.stroke()}],[9805,e=>{e.lineWidth(40),e.M(120,450),e.L(120,150),e.C(120,50,220,50,220,150),e.L(220,450),e.stroke(),e.M(220,150),e.C(220,50,320,50,320,150),e.L(320,400),e.C(320,450,380,450,400,400),e.stroke()}],[9806,e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,350),e.C(200,300,400,300,500,350),e.stroke()}],[9807,e=>{e.lineWidth(40),e.M(100,400),e.L(100,150),e.C(100,50,200,50,200,150),e.L(200,400),e.stroke(),e.M(200,150),e.C(200,50,300,50,300,150),e.L(300,400),e.stroke(),e.M(300,400),e.L(400,300),e.stroke(),e.M(370,340),e.L(400,300),e.L(430,340),e.stroke()}],[9808,e=>{e.lineWidth(50),e.M(100,100),e.L(480,400),e.stroke(),e.M(400,400),e.L(480,400),e.L(480,320),e.stroke(),e.M(100,250),e.L(350,250),e.stroke(),e.M(100,350),e.L(350,350),e.stroke()}],[9809,e=>{e.lineWidth(40),e.M(120,400),e.C(120,200,250,100,350,100),e.C(450,100,480,200,480,300),e.C(480,400,420,450,380,400),e.C(340,350,380,300,420,350),e.stroke()}],[9810,e=>{e.lineWidth(45),e.M(100,330),e.C(200,380,300,280,400,330),e.C(500,380,500,330,500,330),e.stroke(),e.M(100,200),e.C(200,250,300,150,400,200),e.C(500,250,500,200,500,200),e.stroke()}],[9811,e=>{e.lineWidth(45),e.M(150,400),e.C(150,250,300,250,300,250),e.C(300,250,450,250,450,100),e.stroke(),e.M(150,100),e.C(150,250,300,250,300,250),e.C(300,250,450,250,450,400),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}]];for(let[e,t]of gi)L[e]={width:F,draw:t};for(let[e,t,n]of[[9812,`king`,!1],[9813,`queen`,!1],[9814,`rook`,!1],[9815,`bishop`,!1],[9816,`knight`,!1],[9817,`pawn`,!1],[9818,`king`,!0],[9819,`queen`,!0],[9820,`rook`,!0],[9821,`bishop`,!0],[9822,`knight`,!0],[9823,`pawn`,!0]])L[e]=Qr(t,n);L[9825]={width:F,draw:e=>{e.lineWidth(35),e.M(300,60),e.C(300,60,80,200,80,320),e.C(80,440,180,480,300,480),e.C(420,480,520,440,520,320),e.C(520,200,300,60,300,60),e.Z(),e.stroke()}},L[9826]={width:F,draw:e=>{e.lineWidth(35),e.M(300,480),e.L(500,250),e.L(300,20),e.L(100,250),e.Z(),e.stroke()}},L[9828]={width:F,draw:e=>{e.lineWidth(35),e.M(300,490),e.C(300,490,50,340,70,200),e.C(80,100,180,60,300,200),e.C(420,60,520,100,530,200),e.C(550,340,300,490,300,490),e.Z(),e.stroke(),e.rect(260,20,80,160),e.stroke()}},L[9831]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,370,100),e.stroke(),e.circle(195,230,90),e.stroke(),e.circle(405,230,90),e.stroke(),e.rect(275,20,50,180),e.stroke()}};for(let e=1;e<=6;e++)L[9855+e]=Zr(e);L[9851]={width:F,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(150,180),e.stroke(),e.M(150,180),e.L(450,180),e.stroke(),e.M(450,180),e.L(300,450),e.stroke(),e.M(270,430),e.L(300,480),e.L(330,430),e.stroke(),e.M(170,220),e.L(130,190),e.L(160,150),e.stroke(),e.M(430,220),e.L(470,190),e.L(440,150),e.stroke()}},L[9855]={width:F,draw:e=>{e.lineWidth(40),e.circle(280,200,130),e.stroke(),e.circle(280,400,40),e.fill(),e.M(280,360),e.L(280,250),e.L(380,250),e.stroke(),e.M(380,250),e.L(420,130),e.stroke()}},L[9735]={width:F,draw:e=>{e.lineWidth(45),e.M(350,480),e.L(220,310),e.L(370,280),e.L(250,60),e.stroke()}},L[9736]={width:F,draw:e=>{e.lineWidth(30),e.M(120,280),e.C(120,400,200,430,300,430),e.C(400,430,480,400,480,280),e.C(480,200,400,170,350,200),e.C(340,140,280,130,230,170),e.C(180,150,120,200,120,280),e.stroke(),e.lineWidth(35),e.M(330,430),e.L(270,350),e.L(340,330),e.L(280,250),e.stroke()}},L[9737]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,120),e.stroke();for(let t=0;t<8;t++){let n=t*Math.PI/4;e.M(300+150*Math.cos(n),250+150*Math.sin(n)),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},L[9738]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,140),e.stroke(),e.M(140,370),e.L(460,130),e.stroke()}},L[9739]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,140),e.stroke(),e.M(140,130),e.L(460,370),e.stroke()}},L[9740]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,130),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},L[9741]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,130),e.stroke(),e.M(300,70),e.L(300,430),e.stroke()}},L[9743]={width:F,draw:e=>{e.lineWidth(30),e.M(150,80),e.C(120,200,120,350,180,430),e.C(250,480,350,480,420,430),e.C(480,350,480,200,450,80),e.C(430,30,370,50,370,120),e.C(370,180,340,200,300,200),e.C(260,200,230,180,230,120),e.C(230,50,170,30,150,80),e.Z(),e.stroke()}},L[9750]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,150),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(150,250),e.L(450,250),e.stroke()}},L[9751]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,150),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(150,200),e.L(450,200),e.stroke(),e.M(150,300),e.L(450,300),e.stroke()}},L[9753]={width:F,draw:e=>{e.M(300,100),e.C(300,100,100,220,100,330),e.C(100,440,190,480,300,480),e.C(410,480,500,440,500,330),e.C(500,220,300,100,300,100),e.Z(),e.fill()}},L[9754]={width:F,draw:e=>{e.rect(120,100,360,300),e.fill(),e.M(120,250),e.L(60,200),e.L(60,300),e.Z(),e.fill()}},L[9755]={width:F,draw:e=>{e.rect(120,100,360,300),e.fill(),e.M(480,250),e.L(540,200),e.L(540,300),e.Z(),e.fill()}},L[9756]={width:F,draw:e=>{e.lineWidth(35),e.rect(120,100,360,300),e.stroke(),e.M(120,250),e.L(60,200),e.L(60,300),e.Z(),e.stroke()}},L[9757]={width:F,draw:e=>{e.lineWidth(35),e.rect(150,100,300,320),e.stroke(),e.M(300,420),e.L(250,480),e.L(350,480),e.Z(),e.stroke()}},L[9758]={width:F,draw:e=>{e.lineWidth(35),e.rect(120,100,360,300),e.stroke(),e.M(480,250),e.L(540,200),e.L(540,300),e.Z(),e.stroke()}},L[9759]={width:F,draw:e=>{e.lineWidth(35),e.rect(150,100,300,320),e.stroke(),e.M(300,100),e.L(250,40),e.L(350,40),e.Z(),e.stroke()}},L[9760]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,320,130),e.stroke(),e.M(180,220),e.L(420,60),e.stroke(),e.M(420,220),e.L(180,60),e.stroke()}},L[9761]={width:F,draw:e=>{e.lineWidth(35),e.M(300,450),e.L(80,50),e.L(520,50),e.Z(),e.stroke(),e.lineWidth(30),e.M(300,350),e.L(300,200),e.stroke(),e.circle(300,140,20),e.fill()}},L[9762]={width:F,draw:e=>{e.circle(300,250,40),e.fill(),e.lineWidth(25);for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180,r=n-.4,i=n+.4;e.M(300+60*Math.cos(r),250+60*Math.sin(r)),e.L(300+190*Math.cos(r),250+190*Math.sin(r)),e.C(300+200*Math.cos(n),250+200*Math.sin(n),300+200*Math.cos(n),250+200*Math.sin(n),300+190*Math.cos(i),250+190*Math.sin(i)),e.L(300+60*Math.cos(i),250+60*Math.sin(i)),e.Z(),e.fill()}}},L[9763]={width:F,draw:e=>{e.lineWidth(25),e.circle(300,250,30),e.stroke();for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180,r=300+110*Math.cos(n),i=250+110*Math.sin(n);e.circle(r,i,80),e.stroke()}}},L[9764]={width:F,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.M(200,400),e.C(200,330,400,280,400,210),e.stroke(),e.M(400,400),e.C(400,330,200,280,200,210),e.stroke(),e.M(300,400),e.L(200,440),e.stroke(),e.M(300,400),e.L(400,440),e.stroke()}},L[9765]={width:F,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,270),e.stroke(),e.M(180,270),e.L(420,270),e.stroke(),e.ellipse(300,380,80,100),e.stroke()}},L[9766]={width:F,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,460),e.stroke(),e.M(170,350),e.L(430,350),e.stroke(),e.M(200,420),e.L(400,420),e.stroke(),e.M(220,210),e.L(380,170),e.stroke()}},L[9767]={width:F,draw:e=>{e.lineWidth(35),e.M(140,100),e.L(460,420),e.stroke(),e.M(460,100),e.L(140,420),e.stroke(),e.M(300,420),e.L(300,480),e.stroke(),e.M(370,360),e.C(430,400,430,460,370,480),e.stroke()}},L[9768]={width:F,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,460),e.stroke(),e.M(170,310),e.L(430,310),e.stroke(),e.M(200,180),e.L(400,180),e.stroke()}},L[9769]={width:F,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.lineWidth(15);for(let[t,n]of[[190,350],[410,350],[190,150],[410,150]])e.M(t,n-35),e.L(t,n+35),e.stroke(),e.M(t-35,n),e.L(t+35,n),e.stroke()}},L[9770]={width:F,draw:e=>{e.lineWidth(30),e.circle(280,250,170),e.stroke(),e.M(370,250),e.circle(350,250,140),e.stroke(),P(5,440,380,50,20,!0).draw(e)}},L[9771]={width:F,draw:e=>{e.lineWidth(35),e.rect(120,70,360,360),e.stroke(),e.circle(300,250,40),e.fill()}},L[9772]={width:F,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.circle(300,250,130),e.stroke(),e.M(150,200),e.C(180,350,420,350,450,200),e.stroke()}},L[9773]={width:F,draw:e=>{e.lineWidth(35),e.M(350,80),e.L(200,430),e.stroke(),e.M(140,120),e.L(250,120),e.stroke(),e.M(350,400),e.C(450,350,500,250,430,150),e.C(380,80,300,100,280,180),e.stroke()}};for(let[e,t,n,r]of[[9776,!0,!0,!0],[9777,!0,!0,!1],[9778,!0,!1,!0],[9779,!0,!1,!1],[9780,!1,!0,!0],[9781,!1,!0,!1],[9782,!1,!1,!0],[9783,!1,!1,!1]])L[e]={width:F,draw:e=>{e.lineWidth(40);let i=[t,n,r],a=[380,250,120];for(let t=0;t<3;t++)i[t]?(e.M(120,a[t]),e.L(480,a[t]),e.stroke()):(e.M(120,a[t]),e.L(260,a[t]),e.stroke(),e.M(340,a[t]),e.L(480,a[t]),e.stroke())}};L[9788]={width:F,draw:e=>{e.lineWidth(25),e.circle(300,250,90),e.stroke();for(let t=0;t<12;t++){let n=t*Math.PI/6;e.M(300+110*Math.cos(n),250+110*Math.sin(n)),e.L(300+160*Math.cos(n),250+160*Math.sin(n))}e.stroke()}},L[9789]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(300,70),e.C(180,70,120,150,120,250),e.C(120,350,180,430,300,430),e.Z(),e.fill()}},L[9790]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(300,70),e.C(420,70,480,150,480,250),e.C(480,350,420,430,300,430),e.Z(),e.fill()}},L[9791]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,270,100),e.stroke(),e.M(300,170),e.L(300,70),e.stroke(),e.M(250,120),e.L(350,120),e.stroke(),e.M(230,420),e.C(230,480,300,480,300,430),e.stroke(),e.M(370,420),e.C(370,480,300,480,300,430),e.stroke()}},L[9793]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,170),e.stroke(),e.M(300,80),e.L(300,420),e.stroke(),e.M(130,250),e.L(470,250),e.stroke()}},L[9795]={width:F,draw:e=>{e.lineWidth(40),e.M(380,80),e.L(380,460),e.stroke(),e.M(150,280),e.L(480,280),e.stroke(),e.M(380,280),e.L(150,450),e.stroke()}},L[9796]={width:F,draw:e=>{e.lineWidth(35),e.M(230,460),e.L(230,100),e.stroke(),e.M(230,280),e.C(300,250,370,250,370,310),e.C(370,370,330,400,280,400),e.stroke(),e.M(170,460),e.L(290,460),e.stroke()}},L[9797]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,200,100),e.stroke(),e.circle(300,200,20),e.fill(),e.M(300,300),e.L(300,460),e.stroke(),e.M(260,430),e.L(300,460),e.L(340,430),e.stroke()}},L[9798]={width:F,draw:e=>{e.lineWidth(35),e.M(300,80),e.L(300,460),e.stroke(),e.M(200,460),e.L(400,460),e.stroke(),e.M(180,350),e.L(180,460),e.stroke(),e.M(300,350),e.L(300,460),e.stroke(),e.M(420,350),e.L(420,460),e.stroke(),e.M(180,350),e.L(420,350),e.stroke()}},L[9799]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,290,90),e.stroke(),e.M(210,290),e.C(210,430,390,430,390,290),e.stroke(),e.M(300,200),e.L(300,80),e.stroke(),e.M(250,140),e.L(350,140),e.stroke()}},L[9832]={width:F,draw:e=>{e.lineWidth(30),e.M(120,200),e.C(120,80,480,80,480,200),e.stroke(),e.lineWidth(25);for(let t of[200,300,400])e.M(t,220),e.C(t-30,280,t+30,340,t,400),e.stroke()}},L[9835]={width:F,draw:e=>{e.lineWidth(30),e.M(200,80),e.L(200,400),e.stroke(),e.M(400,80),e.L(400,350),e.stroke(),e.lineWidth(45),e.M(200,400),e.L(400,400),e.stroke(),e.ellipse(200,120,50,40),e.fill(),e.ellipse(400,120,50,40),e.fill()}},L[9836]={width:F,draw:e=>{e.lineWidth(25),e.M(200,80),e.L(200,400),e.stroke(),e.M(400,80),e.L(400,350),e.stroke(),e.lineWidth(35),e.M(200,400),e.L(400,400),e.stroke(),e.M(200,340),e.L(400,340),e.stroke(),e.ellipse(200,120,45,35),e.fill(),e.ellipse(400,120,45,35),e.fill()}},L[9838]={width:F,draw:e=>{e.lineWidth(30),e.M(220,50),e.L(220,400),e.stroke(),e.M(380,100),e.L(380,450),e.stroke(),e.lineWidth(35),e.M(220,200),e.L(380,250),e.stroke(),e.M(220,300),e.L(380,350),e.stroke()}},L[9840]={width:F,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.M(120,280),e.L(480,280),e.stroke(),e.circle(300,50,20),e.fill(),e.circle(300,450,20),e.fill(),e.circle(120,280,20),e.fill(),e.circle(480,280,20),e.fill()}},L[9841]={width:F,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,450),e.stroke(),e.M(120,280),e.L(480,280),e.stroke(),e.M(280,50),e.L(320,50),e.stroke(),e.M(280,450),e.L(320,450),e.stroke(),e.M(120,260),e.L(120,300),e.stroke(),e.M(480,260),e.L(480,300),e.stroke()}};for(let e=0;e<=8;e++){let t=9842+e,n=e<=6?e+1:0;L[t]={width:F,draw:e=>{e.lineWidth(30),e.M(300,420),e.L(130,130),e.stroke(),e.M(130,130),e.L(470,130),e.stroke(),e.M(470,130),e.L(300,420),e.stroke(),e.M(270,400),e.L(300,440),e.L(330,400),e.stroke(),e.M(155,165),e.L(115,140),e.L(150,110),e.stroke(),e.M(445,165),e.L(485,140),e.L(450,110),e.stroke(),n>0&&(e.lineWidth(25),e.M(280,220),e.L(320,220),e.stroke(),e.M(300,200),e.L(300,280),e.stroke())}}}L[9852]={width:F,draw:e=>{e.lineWidth(35),e.M(300,430),e.L(120,120),e.L(480,120),e.Z(),e.stroke(),e.M(270,410),e.L(300,450),e.L(330,410),e.stroke()}},L[9853]={width:F,draw:e=>{e.lineWidth(30),e.M(300,430),e.L(210,260),e.stroke(),e.M(170,190),e.L(120,120),e.L(270,120),e.stroke(),e.M(350,120),e.L(480,120),e.L(390,260),e.stroke(),e.M(360,330),e.L(300,430),e.stroke()}},L[9854]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,190),e.stroke(),e.M(300,250),e.C(350,340,450,340,450,250),e.C(450,160,350,160,300,250),e.C(250,340,150,340,150,250),e.C(150,160,250,160,300,250),e.stroke()}},L[9862]={width:F,draw:e=>{e.lineWidth(50),e.M(120,250),e.L(480,250),e.stroke()}},L[9863]={width:F,draw:e=>{e.lineWidth(50),e.M(120,250),e.L(260,250),e.stroke(),e.M(340,250),e.L(480,250),e.stroke()}},L[9864]={width:F,draw:e=>{e.lineWidth(45),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},L[9865]={width:F,draw:e=>{e.lineWidth(45),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(260,180),e.stroke(),e.M(340,180),e.L(480,180),e.stroke()}};for(let[e,t,n]of[[9866,!0,!0],[9867,!1,!1],[9868,!0,!1],[9869,!1,!0],[9870,!0,!0],[9871,!1,!1]])L[e]={width:F,draw:e=>{e.lineWidth(45);let r=[320,180],i=[t,n];for(let t=0;t<2;t++)i[t]?(e.M(120,r[t]),e.L(480,r[t]),e.stroke()):(e.M(120,r[t]),e.L(260,r[t]),e.stroke(),e.M(340,r[t]),e.L(480,r[t]),e.stroke())}};L[9880]={width:F,draw:e=>{e.lineWidth(25),e.circle(300,250,30),e.fill();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180;e.circle(300+80*Math.cos(n),250+80*Math.sin(n),50),e.stroke()}}},L[9882]={width:F,draw:e=>{e.lineWidth(35),e.M(300,80),e.L(300,450),e.stroke(),e.M(180,350),e.L(300,400),e.L(420,350),e.stroke(),e.M(200,300),e.L(300,350),e.L(400,300),e.stroke()}},L[9885]=P(5,300,250,200,80,!1),L[9886]={width:F,draw:e=>{e.lineWidth(30),e.M(450,250),e.L(100,100),e.stroke(),e.M(450,250),e.L(100,250),e.stroke(),e.M(450,250),e.L(100,400),e.stroke()}},L[9887]={width:F,draw:e=>{e.lineWidth(28),e.M(450,250),e.L(100,80),e.stroke(),e.M(450,250),e.L(100,190),e.stroke(),e.M(450,250),e.L(100,310),e.stroke(),e.M(450,250),e.L(100,420),e.stroke()}},L[9890]={width:F,draw:e=>{e.lineWidth(28),e.circle(220,290,90),e.stroke(),e.M(220,200),e.L(220,100),e.stroke(),e.M(180,140),e.L(260,140),e.stroke(),e.circle(380,290,90),e.stroke(),e.M(380,200),e.L(380,100),e.stroke(),e.M(340,140),e.L(420,140),e.stroke()}},L[9891]={width:F,draw:e=>{e.lineWidth(28),e.circle(230,250,90),e.stroke(),e.M(295,185),e.L(400,80),e.stroke(),e.M(350,80),e.L(400,80),e.L(400,130),e.stroke(),e.circle(370,250,90),e.stroke(),e.M(435,185),e.L(510,110),e.stroke(),e.M(460,110),e.L(510,110),e.L(510,160),e.stroke()}},L[9892]={width:F,draw:e=>{e.lineWidth(28),e.circle(250,270,100),e.stroke(),e.M(250,170),e.L(250,70),e.stroke(),e.M(210,120),e.L(290,120),e.stroke(),e.M(320,200),e.L(440,80),e.stroke(),e.M(390,80),e.L(440,80),e.L(440,130),e.stroke()}},L[9894]={width:F,draw:e=>{e.lineWidth(30),e.circle(250,260,110),e.stroke(),e.M(330,185),e.L(450,80),e.stroke(),e.M(395,80),e.L(450,80),e.L(450,135),e.stroke(),e.M(350,160),e.L(420,200),e.stroke()}},L[9896]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,220,110),e.stroke(),e.M(300,330),e.L(300,460),e.stroke(),e.M(260,420),e.L(300,460),e.L(340,420),e.stroke(),e.M(340,370),e.L(410,390),e.stroke()}},L[9897]={width:F,draw:e=>{e.lineWidth(30),e.circle(260,250,110),e.stroke(),e.M(370,250),e.L(500,250),e.stroke(),e.M(460,210),e.L(500,250),e.L(460,290),e.stroke(),e.M(420,290),e.L(440,350),e.stroke()}},L[9900]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,120),e.stroke()}},L[9901]={width:F,draw:e=>{e.lineWidth(30),e.circle(230,250,110),e.stroke(),e.circle(370,250,110),e.stroke()}},L[9902]={width:F,draw:e=>{e.lineWidth(30),e.circle(190,250,90),e.stroke(),e.circle(410,250,90),e.stroke(),e.lineWidth(25),e.M(300,150),e.L(300,350),e.stroke()}},L[9903]={width:F,draw:e=>{e.lineWidth(30),e.circle(230,250,100),e.stroke(),e.circle(370,250,100),e.stroke(),e.M(300,120),e.L(300,380),e.stroke()}},L[9905]={width:F,draw:e=>{e.lineWidth(30),e.M(180,100),e.L(180,350),e.C(180,430,300,450,300,450),e.C(300,450,420,430,420,350),e.L(420,100),e.Z(),e.stroke(),e.M(250,100),e.C(250,60,350,60,350,100),e.stroke()}},L[9906]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,280,120),e.stroke(),e.M(300,160),e.L(300,60),e.stroke(),e.M(250,110),e.L(350,110),e.stroke()}},L[9907]={width:F,draw:e=>{e.lineWidth(30),e.M(300,80),e.L(300,320),e.stroke(),e.M(200,180),e.L(400,180),e.stroke(),e.M(220,320),e.C(220,440,380,440,380,320),e.stroke()}},L[9908]={width:F,draw:e=>{e.lineWidth(28),e.M(300,100),e.L(300,280),e.stroke(),e.M(230,190),e.L(370,190),e.stroke(),e.M(300,280),e.L(380,370),e.L(300,460),e.L(220,370),e.Z(),e.stroke()}},L[9909]={width:F,draw:e=>{e.lineWidth(28),e.M(300,80),e.L(300,250),e.stroke(),e.M(230,160),e.L(370,160),e.stroke(),P(5,300,370,80,32,!1).draw(e)}},L[9910]={width:F,draw:e=>{e.lineWidth(35),e.M(180,450),e.L(300,200),e.L(420,450),e.stroke(),e.M(180,120),e.L(420,120),e.stroke()}},L[9911]={width:F,draw:e=>{e.lineWidth(28),e.circle(300,200,100),e.stroke(),e.M(300,300),e.L(300,80),e.stroke(),e.M(300,200),e.L(400,300),e.stroke(),e.M(300,200),e.L(400,100),e.stroke()}},L[9912]={width:F,draw:e=>{e.lineWidth(28),e.M(300,80),e.L(300,250),e.stroke(),e.M(240,160),e.L(360,160),e.stroke(),e.M(220,350),e.C(220,450,380,450,380,350),e.C(380,290,320,270,300,310),e.C(280,270,220,290,220,350),e.stroke()}},L[9913]={width:F,draw:e=>{e.lineWidth(28),P(6,300,250,180,100,!1).draw(e)}},L[9914]={width:F,draw:e=>{e.lineWidth(35),e.M(150,400),e.L(300,150),e.L(450,400),e.stroke()}},L[9915]={width:F,draw:e=>{e.lineWidth(25),e.rect(120,80,360,340),e.stroke(),e.circle(200,160,25),e.fill(),e.circle(400,160,25),e.fill(),e.circle(300,250,25),e.fill(),e.circle(200,340,25),e.fill(),e.circle(400,340,25),e.fill()}},L[9916]={width:F,draw:e=>{e.lineWidth(30),e.rect(130,80,340,340),e.stroke(),e.M(130,80),e.L(470,420),e.stroke()}},L[9919]={width:F,draw:e=>{e.lineWidth(28),e.rect(100,70,400,360),e.stroke(),e.circle(240,250,60),e.stroke(),e.M(300,250),e.L(440,250),e.stroke(),e.M(400,250),e.L(400,210),e.stroke(),e.M(430,250),e.L(430,210),e.stroke()}},L[9920]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,160),e.stroke(),e.circle(300,250,80),e.stroke()}},L[9921]={width:F,draw:e=>{e.lineWidth(28),e.circle(300,230,140),e.stroke(),e.circle(300,230,70),e.stroke(),e.M(220,400),e.L(260,370),e.L(300,400),e.L(340,370),e.L(380,400),e.stroke()}},L[9922]={width:F,draw:e=>{e.circle(300,250,160),e.fill()}},L[9923]={width:F,draw:e=>{e.circle(300,230,150),e.fill(),e.lineWidth(30),e.M(200,410),e.L(240,380),e.L(300,420),e.L(360,380),e.L(400,410),e.stroke()}},L[9926]={width:F,draw:e=>{e.lineWidth(30);for(let t of[200,300,400])e.M(t,400),e.C(t-40,300,t,200,t,200),e.C(t,200,t+40,300,t,400),e.Z(),e.stroke()}},L[9927]={width:F,draw:e=>{e.circle(300,130,70),e.fill(),e.circle(300,290,95),e.fill(),e.circle(300,430,60),e.fill()}},L[9928]={width:F,draw:e=>{e.lineWidth(25),e.M(100,280),e.C(100,400,250,420,300,420),e.C(350,420,500,400,500,280),e.C(500,200,400,170,350,200),e.C(340,140,280,130,230,170),e.C(180,150,100,200,100,280),e.stroke(),e.lineWidth(20),e.M(220,150),e.L(200,80),e.stroke(),e.M(380,150),e.L(360,80),e.stroke(),e.M(300,420),e.L(260,340),e.L(320,320),e.L(280,250),e.stroke()}},L[9929]={width:F,draw:e=>{e.lineWidth(30),e.M(200,420),e.L(300,100),e.L(400,420),e.Z(),e.stroke()}},L[9930]={width:F,draw:e=>{e.M(200,420),e.L(300,100),e.L(400,420),e.Z(),e.fill()}},L[9931]={width:F,draw:e=>{e.lineWidth(28),e.rect(100,50,400,400),e.stroke(),e.M(300,100),e.L(450,250),e.L(300,400),e.L(150,250),e.Z(),e.stroke()}},L[9932]={width:F,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(500,420),e.stroke(),e.M(500,80),e.L(100,420),e.stroke()}},L[9933]={width:F,draw:e=>{e.lineWidth(28),e.rect(100,150,400,200),e.stroke(),e.circle(200,360,40),e.stroke(),e.circle(400,360,40),e.stroke(),e.M(200,200),e.L(400,300),e.stroke(),e.M(400,200),e.L(200,300),e.stroke()}},L[9935]={width:F,draw:e=>{e.lineWidth(35),e.M(150,100),e.L(450,400),e.stroke(),e.M(200,100),e.C(320,100,400,180,400,250),e.stroke()}},L[9936]={width:F,draw:e=>{e.lineWidth(28),e.rect(150,150,300,160),e.stroke(),e.circle(220,320,35),e.stroke(),e.circle(380,320,35),e.stroke(),e.M(120,400),e.C(200,370,350,430,480,400),e.stroke()}},L[9937]={width:F,draw:e=>{e.lineWidth(30),e.M(120,200),e.C(120,400,300,450,300,450),e.C(300,450,480,400,480,200),e.stroke(),e.M(300,200),e.L(300,400),e.stroke(),e.M(200,300),e.L(400,300),e.stroke()}},L[9938]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(160,120),e.L(440,380),e.stroke(),e.M(440,120),e.L(160,380),e.stroke()}},L[9939]={width:F,draw:e=>{e.lineWidth(30),e.ellipse(230,250,100,140),e.stroke(),e.ellipse(370,250,100,140),e.stroke()}},L[9941]={width:F,draw:e=>{e.lineWidth(35),e.M(480,250),e.L(120,250),e.stroke(),e.M(120,250),e.L(220,170),e.L(220,330),e.Z(),e.fill()}},L[9942]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,180),e.stroke(),e.M(140,250),e.L(460,250),e.stroke()}},L[9943]={width:F,draw:e=>{e.lineWidth(28),e.rect(120,80,360,340),e.stroke(),e.circle(300,250,50),e.fill()}},L[9944]={width:F,draw:e=>{e.lineWidth(35),e.M(400,80),e.L(200,250),e.L(400,420),e.stroke(),e.M(200,250),e.L(480,250),e.stroke()}},L[9945]={width:F,draw:e=>{e.lineWidth(35),e.M(200,80),e.L(400,250),e.L(200,420),e.stroke(),e.M(400,250),e.L(120,250),e.stroke()}},L[9946]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(220,350),e.C(220,300,380,250,380,200),e.C(380,150,220,150,220,200),e.stroke()}},L[9947]={width:F,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(480,400),e.L(300,100),e.Z(),e.stroke()}},L[9948]={width:F,draw:e=>{e.lineWidth(35),e.M(120,100),e.L(120,400),e.stroke(),e.M(120,250),e.L(480,250),e.stroke(),e.M(480,250),e.L(380,180),e.stroke(),e.M(480,250),e.L(380,320),e.stroke()}},L[9949]={width:F,draw:e=>{e.lineWidth(30),e.rect(100,60,400,380),e.stroke(),e.M(100,60),e.L(500,440),e.stroke(),e.M(500,60),e.L(100,440),e.stroke()}},L[9950]={width:F,draw:e=>{e.rect(80,40,440,420),e.fill()}},L[9951]={width:F,draw:e=>{e.M(100,350),e.L(100,180),e.L(350,180),e.L(350,130),e.L(500,130),e.L(500,350),e.Z(),e.fill(),e.lineWidth(25),e.circle(180,370,35),e.stroke(),e.circle(420,370,35),e.stroke()}},L[9952]={width:F,draw:e=>{e.lineWidth(28),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.L(100,250),e.Z(),e.fill()}},L[9953]={width:F,draw:e=>{e.lineWidth(28),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.L(500,250),e.Z(),e.fill()}},L[9954]={width:F,draw:e=>{e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.fill(),e.lineWidth(25),e.M(300,450),e.L(260,400),e.stroke(),e.M(300,450),e.L(340,400),e.stroke()}},L[9955]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,280,140),e.stroke(),e.M(190,170),e.L(410,390),e.stroke(),e.circle(230,120,20),e.fill(),e.circle(370,120,20),e.fill()}},L[9956]={width:F,draw:e=>{e.lineWidth(28),e.circle(300,250,180),e.stroke(),P(5,300,250,170,65,!1).draw(e)}},L[9957]={width:F,draw:e=>{e.lineWidth(30),P(5,300,250,190,75,!1).draw(e)}},L[9958]={width:F,draw:e=>{e.lineWidth(30),P(5,300,250,190,75,!0).draw(e)}},L[9959]={width:F,draw:e=>{e.lineWidth(28);for(let t=0;t<5;t++){let n=(t*360/5+90)*Math.PI/180,r=(t*360/5+126)*Math.PI/180;t===0?e.M(300+190*Math.cos(n),250+190*Math.sin(n)):e.L(300+190*Math.cos(n),250+190*Math.sin(n)),e.L(300+75*Math.cos(r),250+75*Math.sin(r))}e.Z(),e.stroke()}},L[9960]={width:F,draw:e=>{e.lineWidth(28),e.M(150,420),e.L(150,200),e.L(300,100),e.L(450,200),e.L(450,420),e.Z(),e.stroke(),e.lineWidth(40),e.M(300,180),e.L(300,380),e.stroke(),e.M(210,280),e.L(390,280),e.stroke()}},L[9961]={width:F,draw:e=>{e.lineWidth(35),e.M(140,100),e.L(140,420),e.stroke(),e.M(460,100),e.L(460,420),e.stroke(),e.M(100,400),e.L(500,400),e.stroke(),e.M(120,320),e.L(480,320),e.stroke()}},L[9963]={width:F,draw:e=>{e.lineWidth(28),e.rect(120,100,360,300),e.stroke();for(let t=120;t<480;t+=72)e.rect(t,400,36,50),e.stroke()}},L[9964]={width:F,draw:e=>{e.lineWidth(30),e.M(200,100),e.L(200,400),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(400,100),e.L(400,400),e.stroke(),e.M(140,100),e.L(460,100),e.stroke(),e.M(140,400),e.L(460,400),e.stroke(),e.M(140,400),e.L(300,470),e.L(460,400),e.stroke()}},L[9965]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,150),e.stroke();for(let t=0;t<8;t++){let n=t*Math.PI/4;e.M(300+150*Math.cos(n),250+150*Math.sin(n)),e.L(300+190*Math.cos(n),250+190*Math.sin(n))}e.stroke()}},L[9966]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,120),e.stroke(),e.circle(300,250,30),e.fill(),e.M(300,130),e.L(300,80),e.stroke(),e.M(300,370),e.L(300,420),e.stroke()}},L[9967]={width:F,draw:e=>{e.lineWidth(30),e.M(200,100),e.L(250,380),e.L(350,380),e.L(400,100),e.Z(),e.stroke(),e.M(300,380),e.L(300,460),e.stroke(),e.M(200,430),e.L(400,430),e.stroke()}},L[9968]={width:F,draw:e=>{e.lineWidth(35),e.M(80,100),e.L(250,400),e.L(350,280),e.L(520,100),e.stroke()}},L[9969]={width:F,draw:e=>{e.lineWidth(30),e.M(120,280),e.C(120,420,300,450,300,450),e.C(300,450,480,420,480,280),e.stroke(),e.M(300,280),e.L(300,100),e.stroke(),e.M(240,100),e.L(360,100),e.stroke()}},L[9972]={width:F,draw:e=>{e.lineWidth(30),e.M(100,250),e.C(100,150,200,120,300,120),e.C(400,120,500,150,500,250),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(350,120),e.L(350,300),e.stroke(),e.rect(330,300,40,80),e.stroke()}},L[9974]={width:F,draw:e=>{e.lineWidth(28),e.rect(120,80,360,340),e.stroke(),e.circle(120,80,20),e.fill(),e.circle(480,80,20),e.fill(),e.circle(120,420,20),e.fill(),e.circle(480,420,20),e.fill()}},L[9975]={width:F,draw:e=>{e.lineWidth(28),e.circle(300,420,35),e.fill(),e.M(300,385),e.L(300,240),e.stroke(),e.M(300,320),e.L(220,250),e.stroke(),e.M(300,320),e.L(380,250),e.stroke(),e.M(300,240),e.L(220,140),e.stroke(),e.M(300,240),e.L(380,140),e.stroke(),e.lineWidth(15),e.M(180,290),e.L(420,100),e.stroke()}},L[9976]={width:F,draw:e=>{e.lineWidth(30),e.M(150,350),e.L(150,200),e.L(300,150),e.L(400,200),e.L(400,350),e.Z(),e.stroke(),e.lineWidth(20),e.M(120,130),e.L(450,130),e.stroke()}},L[9977]={width:F,draw:e=>{e.lineWidth(28),e.circle(300,420,35),e.fill(),e.M(300,385),e.L(300,220),e.stroke(),e.M(300,300),e.L(220,230),e.stroke(),e.M(300,300),e.L(380,230),e.stroke(),e.M(300,220),e.L(230,120),e.stroke(),e.M(300,220),e.L(370,120),e.stroke(),e.circle(420,200,40),e.stroke()}},L[9979]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(150,200),e.L(450,200),e.stroke(),e.M(150,300),e.L(450,300),e.stroke()}},L[9980]={width:F,draw:e=>{e.lineWidth(30),e.M(180,100),e.L(180,350),e.C(180,430,420,430,420,350),e.L(420,100),e.Z(),e.stroke()}},L[9981]={width:F,draw:e=>{e.lineWidth(30),e.rect(130,100,240,330),e.stroke(),e.rect(170,180,160,100),e.stroke(),e.M(370,200),e.L(430,200),e.C(460,200,460,300,430,300),e.L(430,350),e.stroke(),e.M(130,100),e.L(430,100),e.stroke()}},L[9982]={width:F,draw:e=>{e.rect(80,50,440,400),e.fill()}},L[9983]={width:F,draw:e=>{e.lineWidth(28),e.M(150,450),e.L(150,80),e.L(480,80),e.L(480,320),e.L(150,320),e.stroke(),e.rect(150,170,330,80),e.fill()}};for(let e=9728;e<=9983;e++)if(!L[e]){let t=(e-9728)%7;L[e]={width:F,draw:e=>{switch(e.lineWidth(30),t){case 0:e.circle(300,250,170),e.stroke(),e.M(130,250),e.L(470,250),e.stroke();break;case 1:e.rect(120,70,360,360),e.stroke(),e.M(120,70),e.L(480,430),e.stroke();break;case 2:e.M(300,430),e.L(100,70),e.L(500,70),e.Z(),e.stroke(),e.circle(300,200,25),e.fill();break;case 3:e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke(),e.M(300,150),e.L(300,350),e.stroke(),e.M(200,250),e.L(400,250),e.stroke();break;case 4:e.circle(300,250,170),e.stroke(),e.M(300,80),e.L(300,420),e.stroke();break;case 5:e.M(300,440),e.L(470,340),e.L(470,160),e.L(300,60),e.L(130,160),e.L(130,340),e.Z(),e.stroke();break;default:e.circle(300,250,180),e.stroke(),e.circle(300,250,100),e.stroke()}}}}_i={};for(let[e,t,n,r]of[[11008,1,1,!0],[11009,-1,1,!0],[11010,1,1,!1],[11011,-1,1,!1],[11012,0,0,!1],[11016,1,1,!0],[11017,-1,1,!0],[11018,1,-1,!0],[11019,-1,-1,!0],[11020,0,0,!0],[11021,0,0,!0]])t===0&&n===0?_i[e]={width:F,draw:e=>{r?(e.rect(100,200,400,100),e.fill()):(e.lineWidth(40),e.M(80,250),e.L(520,250),e.stroke(),e.M(80,250),e.L(180,350),e.L(180,150),e.Z(),e.fill(),e.M(520,250),e.L(420,350),e.L(420,150),e.Z(),e.fill())}}:_i[e]=Xr(t,n);for(let e=11026;e<=11039;e++){let t=e<=11033;_i[e]={width:F,draw:n=>{n.lineWidth(30),t?(n.rect(100,50,400,400),n.stroke(),(e-11026)%2==0?(n.rect(100,250,400,200),n.fill()):(n.rect(100,50,400,200),n.fill())):(n.M(300,450),n.L(500,50),n.L(100,50),n.Z(),n.stroke(),(e-11034)%2==0&&(n.M(200,50),n.L(300,250),n.L(400,50),n.Z(),n.fill()))}}}for(let e=11040;e<=11263;e++)_i[e]||(e&1?_i[e]={width:F,draw:e=>{e.lineWidth(35),e.M(300,470),e.L(500,250),e.L(300,30),e.L(100,250),e.Z(),e.stroke()}}:_i[e]=Xr(1,0));R={};for(let e=10224;e<=10239;e++)if(!R[e]){let t=e<=10228;R[e]={width:700,draw:e=>{e.lineWidth(40),t?(e.M(350,30),e.L(350,470),e.stroke(),e.M(350,470),e.L(230,350),e.L(470,350),e.Z(),e.fill()):(e.M(50,250),e.L(600,250),e.stroke(),e.M(600,250),e.L(470,370),e.L(470,130),e.Z(),e.fill())}}}R[10516]=ii(1,0),R[10517]=di(1,0),R[10519]=ai(1,0),R[10520]=(()=>{let e=ai(1,0);return{width:F,draw:t=>{e.draw(t),t.lineWidth(35),t.M(300,150),t.L(300,350),t.stroke()}}})(),R[10521]=ui(-1,0,35),R[10522]=ui(1,0,35),R[10523]=ai(-1,0),R[10524]=ai(1,0),R[10539]=si(1,1,1,-1),R[10540]=si(1,-1,-1,-1),R[10541]=si(1,-1,1,1),R[10542]=si(1,1,1,-1),R[10543]={width:F,draw:e=>{e.lineWidth(30),e.M(120,420),e.L(480,80),e.stroke(),e.M(120,80),e.L(480,420),e.stroke(),e.M(480,420),e.L(400,410),e.L(470,340),e.Z(),e.fill()}},R[10544]={width:F,draw:e=>{e.lineWidth(30),e.M(120,80),e.L(480,420),e.stroke(),e.M(480,80),e.L(120,420),e.stroke(),e.M(120,420),e.L(200,410),e.L(130,340),e.Z(),e.fill()}},R[10545]=si(1,1,-1,1),R[10546]=si(-1,1,1,1),R[10547]={width:F,draw:e=>{e.lineWidth(35),e.M(80,250),e.C(160,350,240,150,320,250),e.C(360,300,420,250,480,250),e.stroke(),e.M(480,250),e.L(400,180),e.L(400,320),e.Z(),e.fill()}},R[10556]=ci(-1,0),R[10557]=ci(0,-1),R[10558]=oi(1,0),R[10559]={width:F,draw:e=>{ci(1,0).draw(e),e.lineWidth(25),e.M(280,380),e.L(320,380),e.stroke(),e.M(300,360),e.L(300,400),e.stroke()}},R[10566]=si(-1,0,1,0),R[10567]=oi(1,0),R[10569]=ii(0,-1),R[10578]=di(0,1),R[10579]=di(0,-1),R[10580]=di(1,0),R[10581]=di(-1,0),R[10582]=ii(0,1),R[10583]=ii(0,-1),R[10584]=ii(1,0),R[10585]=ii(-1,0),R[10586]=ui(0,1,30),R[10587]=ui(0,-1,30),R[10588]=ui(1,0,30),R[10589]=ui(-1,0,30),R[10590]=ui(0,1,40),R[10591]=ui(0,-1,40),R[10592]=ui(1,0,40),R[10593]=ui(-1,0,40),R[10595]=si(0,1,0,1),R[10597]=si(0,-1,0,-1),R[10598]=si(-1,0,-1,0),R[10599]=si(1,0,1,0),R[10600]=si(-1,0,1,0),R[10601]=si(1,0,-1,0),R[10609]=li(1,0),R[10610]=li(1,0),R[10611]=li(-1,0),vi={8213:{width:700,draw:e=>{e.lineWidth(50),e.M(0,250),e.L(700,250),e.stroke()}},8218:{width:300,draw:e=>{e.circle(150,80,35),e.fill(),e.lineWidth(25),e.M(150,45),e.C(170,10,190,-10,210,-20),e.stroke()}},8219:{width:300,draw:e=>{e.circle(150,450,35),e.fill(),e.lineWidth(25),e.M(150,415),e.C(130,380,110,365,90,360),e.stroke()}},8220:{width:400,draw:e=>{e.circle(130,450,30),e.fill(),e.circle(270,450,30),e.fill(),e.lineWidth(22),e.M(130,415),e.C(100,380,80,365,60,360),e.stroke(),e.M(270,415),e.C(240,380,220,365,200,360),e.stroke()}},8221:{width:400,draw:e=>{e.circle(130,450,30),e.fill(),e.circle(270,450,30),e.fill(),e.lineWidth(22),e.M(130,415),e.C(160,380,180,365,200,360),e.stroke(),e.M(270,415),e.C(300,380,320,365,340,360),e.stroke()}},8222:{width:400,draw:e=>{e.circle(130,80,30),e.fill(),e.circle(270,80,30),e.fill(),e.lineWidth(22),e.M(130,45),e.C(160,10,180,-5,200,-10),e.stroke(),e.M(270,45),e.C(300,10,320,-5,340,-10),e.stroke()}},8228:{width:300,draw:e=>{e.circle(150,50,40),e.fill()}},8256:{width:F,draw:e=>{e.lineWidth(30),e.M(120,380),e.C(200,450,400,450,480,380),e.stroke()}},8257:{width:F,draw:e=>{e.lineWidth(30),e.M(120,420),e.C(200,350,400,350,480,420),e.stroke()}},8258:fi(3,50),8263:{width:F,draw:e=>{e.lineWidth(35),pi(e,200,250),pi(e,400,250)}},8264:{width:F,draw:e=>{e.lineWidth(35),pi(e,200,250),mi(e,400,250)}},8265:{width:F,draw:e=>{e.lineWidth(35),mi(e,200,250),pi(e,400,250)}},8273:{width:F,draw:e=>{fi(6,35).draw(e),e.M(300,50),e.L(300,50)}},8274:{width:F,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(480,100),e.stroke(),e.circle(300,350,40),e.fill(),e.circle(300,150,40),e.fill()}},8275:{width:F,draw:e=>{e.lineWidth(45),e.M(100,250),e.C(200,350,400,150,500,250),e.stroke()}},8279:{width:500,draw:e=>{e.lineWidth(35);for(let t=0;t<4;t++)e.M(100+t*90,480),e.L(70+t*90,350);e.stroke()}}};for(let e=8192;e<=8303;e++)vi[e]||(vi[e]={width:0,draw:()=>{}});yi={};for(let e=8528;e<=8591;e++)if(!yi[e]){let t=(e-8528)%4+1;yi[e]={width:F,draw:e=>{e.lineWidth(40);let n=300-(t-1)*80/2;for(let r=0;r<t;r++)e.M(n+r*80,50),e.L(n+r*80,450);e.stroke()}}}}));function xi(e){return{width:e,draw:()=>{}}}function Si(e,t,n,r,i){Pi[t](e,n,r,i)}function Ci(e,t,n,r,i){Fi[t](e,n,r,i)}function wi(e){return{width:B,draw:t=>{t.lineWidth(35),t.circle(300,250,200),t.stroke(),t.lineWidth(40),e(t)}}}function Ti(e){return{width:B,draw:e}}function Ei(e){return{width:B,draw:t=>{t.lineWidth(38),t.M(120,320),t.L(480,320),t.stroke(),t.M(120,180),t.L(480,180),t.stroke(),e&&e(t)}}}function z(e){e.lineWidth(35),e.M(200,420),e.L(400,80),e.stroke()}function Di(e,t){return{width:B,draw:n=>{n.lineWidth(40),n.M(460,400),n.C(200,400,140,320,140,250),n.C(140,180,200,100,460,100),n.stroke(),e&&(n.M(140,55),n.L(460,55),n.stroke()),t&&z(n)}}}function Oi(e,t){return{width:B,draw:n=>{n.lineWidth(40),n.M(140,400),n.C(400,400,460,320,460,250),n.C(460,180,400,100,140,100),n.stroke(),e&&(n.M(140,55),n.L(460,55),n.stroke()),t&&z(n)}}}function ki(e){return{width:B,draw:t=>{t.lineWidth(35),t.circle(300,250,190),t.stroke(),t.lineWidth(38),e(t)}}}function Ai(e,t=18){return{width:B,draw:n=>{n.lineWidth(28),e(n,300-t/2,250,280),e(n,300+t/2,250,280)}}}function ji(e){return{width:B,draw:t=>{t.lineWidth(26),e(t,300,250,300)}}}function Mi(e){return{width:B,draw:t=>{t.lineWidth(36),e(t,300,250,300)}}}var B,Ni,Pi,Fi,Ii,Li,Ri,zi,Bi,Vi,Hi,V,H,Ui,U,Wi=n((()=>{B=600,Ni={8192:xi(500),8193:xi(1e3),8194:xi(500),8195:xi(1e3),8196:xi(333),8197:xi(250),8198:xi(167),8199:xi(500),8200:xi(250),8201:xi(200),8202:xi(100),8203:xi(0),8204:xi(0),8205:xi(0),8206:xi(0),8207:xi(0),8232:xi(0),8233:xi(0),8234:xi(0),8235:xi(0),8236:xi(0),8237:xi(0),8238:xi(0),8239:xi(200),8287:xi(222),8288:xi(0),8289:xi(0),8290:xi(0),8291:xi(0),8292:xi(0),65279:xi(0)},Pi=[(e,t,n,r)=>{e.ellipse(t,n,r*.35,r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.15,n+r*.3),e.L(t,n+r*.5),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.25),e.C(t-r*.3,n+r*.55,t+r*.3,n+r*.55,t+r*.3,n+r*.2),e.C(t+r*.3,n,t-r*.3,n-r*.2,t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.45),e.C(t,n+r*.55,t+r*.35,n+r*.35,t+r*.1,n+r*.05),e.C(t+r*.35,n-r*.1,t+r*.35,n-r*.5,t-r*.25,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n-r*.5),e.L(t+r*.2,n+r*.5),e.L(t-r*.3,n-r*.1),e.L(t+r*.35,n-r*.1),e.stroke()},(e,t,n,r)=>{e.M(t+r*.3,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.3,n+r*.05),e.C(t+r*.1,n+r*.2,t+r*.4,n,t+r*.3,n-r*.2),e.C(t+r*.2,n-r*.5,t-r*.3,n-r*.5,t-r*.3,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.4),e.C(t-r*.1,n+r*.55,t-r*.35,n+r*.2,t-r*.35,n-r*.1),e.C(t-r*.35,n-r*.5,t+r*.35,n-r*.5,t+r*.35,n-r*.15),e.C(t+r*.35,n+r*.15,t-r*.35,n+r*.15,t-r*.35,n-r*.1),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.1,n-r*.5),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n+r*.25,r*.25,r*.22),e.stroke(),e.ellipse(t,n-r*.22,r*.28,r*.25),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.4),e.C(t+r*.1,n-r*.55,t+r*.35,n-r*.2,t+r*.35,n+r*.1),e.C(t+r*.35,n+r*.5,t-r*.35,n+r*.5,t-r*.35,n+r*.15),e.C(t-r*.35,n-r*.15,t+r*.35,n-r*.15,t+r*.35,n+r*.1),e.stroke()}],Fi=[(e,t,n,r)=>{e.M(t-r*.35,n-r*.5),e.L(t,n+r*.5),e.L(t+r*.35,n-r*.5),e.stroke(),e.M(t-r*.2,n-r*.05),e.L(t+r*.2,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.35,n+r*.5,t+r*.35,n+r*.05,t+r*.05,n+r*.05),e.L(t+r*.1,n+r*.05),e.C(t+r*.4,n+r*.05,t+r*.4,n-r*.5,t+r*.1,n-r*.5),e.Z(),e.stroke()},(e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n-r*.5,t,n-r*.5),e.Z(),e.stroke()},(e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n),e.L(t+r*.15,n),e.stroke()},(e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n+r*.05),e.L(t+r*.15,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.L(t+r*.3,n-r*.05),e.L(t+r*.05,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.L(t+r*.3,n),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t+r*.15,n+r*.5),e.L(t+r*.15,n-r*.25),e.C(t+r*.15,n-r*.55,t-r*.3,n-r*.55,t-r*.3,n-r*.25),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t-r*.25,n),e.L(t+r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.35,n-r*.5),e.L(t-r*.35,n+r*.5),e.L(t,n),e.L(t+r*.35,n+r*.5),e.L(t+r*.35,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.L(t+r*.3,n+r*.5),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n,r*.35,r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n+r*.05,r*.35,r*.45),e.stroke(),e.M(t+r*.1,n-r*.2),e.L(t+r*.35,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t+r*.25,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.4,t-r*.25,n+r*.15),e.C(t-r*.15,n-r*.05,t+r*.2,n-r*.05,t+r*.25,n-r*.2),e.C(t+r*.35,n-r*.45,t-r*.1,n-r*.55,t-r*.25,n-r*.4),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.stroke(),e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t-r*.3,n-r*.15),e.C(t-r*.3,n-r*.55,t+r*.3,n-r*.55,t+r*.3,n-r*.15),e.L(t+r*.3,n+r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.35,n+r*.5),e.L(t,n-r*.5),e.L(t+r*.35,n+r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.4,n+r*.5),e.L(t-r*.2,n-r*.5),e.L(t,n+r*.1),e.L(t+r*.2,n-r*.5),e.L(t+r*.4,n+r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t,n),e.L(t+r*.3,n+r*.5),e.stroke(),e.M(t,n),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()}],Ii={};for(let e=1;e<=9;e++)Ii[9311+e]={width:B,draw:t=>{t.lineWidth(30),t.circle(300,250,220),t.stroke(),t.lineWidth(28),Si(t,e,300,250,210)}};for(let e=10;e<=19;e++){let t=e-10;Ii[9311+e]={width:B,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(24),Si(e,1,230,250,160),Si(e,t,370,250,160)}}}Ii[9331]={width:B,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(24),Si(e,2,230,250,160),Si(e,0,370,250,160)}},Ii[9450]={width:B,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(28),Si(e,0,300,250,210)}},Li={};for(let e=0;e<26;e++)Li[9398+e]={width:B,draw:t=>{t.lineWidth(28),t.circle(300,250,220),t.stroke(),t.lineWidth(24),Ci(t,e,300,250,200)}};Ri={};for(let e=0;e<26;e++)Ri[9424+e]={width:B,draw:t=>{t.lineWidth(25),t.circle(300,250,200),t.stroke(),t.lineWidth(22),Ci(t,e,300,250,175)}};zi={};for(let e=1;e<=9;e++)zi[10101+e]={width:B,draw:e=>{e.circle(300,250,240),e.fill()}};Bi={10003:{width:B,draw:e=>{e.lineWidth(60),e.M(90,250),e.C(90,250,200,100,230,70),e.C(260,40,350,250,510,460),e.stroke()}},10004:{width:B,draw:e=>{e.lineWidth(80),e.M(80,250),e.C(80,250,190,100,220,70),e.C(250,40,350,250,520,470),e.stroke()}},10007:{width:B,draw:e=>{e.lineWidth(55),e.M(120,60),e.L(480,440),e.stroke(),e.M(480,60),e.L(120,440),e.stroke()}},10008:{width:B,draw:e=>{e.lineWidth(75),e.M(120,60),e.L(480,440),e.stroke(),e.M(480,60),e.L(120,440),e.stroke()}},9733:{width:B,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),250+230*Math.sin(n)):e.L(300+230*Math.cos(n),250+230*Math.sin(n)),e.L(300+95*Math.cos(r),250+95*Math.sin(r))}e.Z(),e.fill()}},9734:{width:B,draw:e=>{e.lineWidth(30);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),250+230*Math.sin(n)):e.L(300+230*Math.cos(n),250+230*Math.sin(n)),e.L(300+95*Math.cos(r),250+95*Math.sin(r))}e.Z(),e.stroke()}},9829:{width:B,draw:e=>{e.M(300,60),e.C(300,60,120,120,80,260),e.C(50,370,120,450,300,480),e.C(480,450,550,370,520,260),e.C(480,120,300,60,300,60),e.Z(),e.fill()}},9824:{width:B,draw:e=>{e.M(300,490),e.C(300,490,50,340,70,200),e.C(80,100,180,60,300,200),e.C(420,60,520,100,530,200),e.C(550,340,300,490,300,490),e.Z(),e.fill(),e.M(260,200),e.L(260,20),e.L(340,20),e.L(340,200),e.Z(),e.fill()}},8594:{width:B,draw:e=>{e.lineWidth(45),e.M(80,250),e.L(430,250),e.stroke(),e.M(520,250),e.L(380,370),e.L(380,130),e.Z(),e.fill()}},8592:{width:B,draw:e=>{e.lineWidth(45),e.M(520,250),e.L(170,250),e.stroke(),e.M(80,250),e.L(220,370),e.L(220,130),e.Z(),e.fill()}},8593:{width:B,draw:e=>{e.lineWidth(45),e.M(300,30),e.L(300,380),e.stroke(),e.M(300,470),e.L(170,330),e.L(430,330),e.Z(),e.fill()}},8595:{width:B,draw:e=>{e.lineWidth(45),e.M(300,470),e.L(300,120),e.stroke(),e.M(300,30),e.L(170,170),e.L(430,170),e.Z(),e.fill()}},9679:{width:B,draw:e=>{e.circle(300,250,230),e.fill()}},9675:{width:B,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke()}},9632:{width:B,draw:e=>{e.rect(80,30,440,440),e.fill()}},9633:{width:B,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke()}},9744:{width:B,draw:e=>{e.lineWidth(42),e.rect(90,25,420,420),e.stroke()}},9745:{width:B,draw:e=>{e.lineWidth(42),e.rect(90,25,420,420),e.stroke(),e.lineWidth(52),e.M(180,230),e.C(180,230,250,130,270,110),e.C(290,90,350,220,440,370),e.stroke()}},9746:{width:B,draw:e=>{e.lineWidth(42),e.rect(90,25,420,420),e.stroke(),e.lineWidth(48),e.M(165,95),e.L(435,375),e.stroke(),e.M(165,375),e.L(435,95),e.stroke()}},10695:{width:B,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.circle(300,250,130),e.stroke()}}},Vi={},Vi[10752]=wi(e=>{e.circle(300,250,40),e.fill()}),Vi[10753]=wi(e=>{e.M(100,250),e.L(500,250),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}),Vi[10754]=wi(e=>{e.M(160,110),e.L(440,390),e.stroke(),e.M(160,390),e.L(440,110),e.stroke()}),Vi[10755]=Ti(e=>{e.lineWidth(40),e.M(120,450),e.L(120,200),e.C(120,30,480,30,480,200),e.L(480,450),e.stroke(),e.circle(300,200,35),e.fill()}),Vi[10756]=Ti(e=>{e.lineWidth(40),e.M(120,450),e.L(120,200),e.C(120,30,480,30,480,200),e.L(480,450),e.stroke(),e.M(230,200),e.L(370,200),e.stroke(),e.M(300,130),e.L(300,270),e.stroke()}),Vi[10757]=Ti(e=>{e.lineWidth(45),e.M(120,50),e.L(120,450),e.L(480,450),e.L(480,50),e.stroke()}),Vi[10758]=Ti(e=>{e.lineWidth(45),e.M(120,450),e.L(120,50),e.L(480,50),e.L(480,450),e.stroke()});for(let e=10759;e<=10762;e++)Vi[e]=Ti(e=>{e.lineWidth(40),e.M(200,480),e.C(180,480,160,450,160,400),e.L(160,100),e.C(160,50,180,20,200,20),e.stroke(),e.M(400,480),e.C(380,480,360,450,360,400),e.L(360,100),e.C(360,50,380,20,400,20),e.stroke()});for(let e=10763;e<=10780;e++)Vi[e]||(Vi[e]=Ti(e=>{e.lineWidth(45),e.M(380,480),e.C(350,480,300,450,300,400),e.L(300,100),e.C(300,50,250,20,220,20),e.stroke()}));for(let e=10781;e<=10815;e++)Vi[e]||(Vi[e]=Ti(e=>{e.lineWidth(40),e.M(120,450),e.L(480,250),e.L(120,50),e.stroke(),e.M(480,450),e.L(120,250),e.L(480,50),e.stroke()}));for(let e=10816;e<=10847;e++)Vi[e]||(Vi[e]=Ti(e=>{e.lineWidth(40),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}));for(let e=10848;e<=10879;e++)Vi[e]||(Vi[e]=Ti(e=>{e.lineWidth(40),e.M(120,350),e.C(200,420,400,420,480,350),e.stroke(),e.M(120,200),e.L(480,200),e.stroke()}));for(let e=10880;e<=10911;e++)Vi[e]||(Vi[e]=Ti(e=>{e.lineWidth(40),e.M(480,420),e.C(200,420,120,320,120,250),e.C(120,180,200,80,480,80),e.stroke()}));for(let e=10912;e<=10943;e++)Vi[e]||(Vi[e]=Ti(e=>{e.lineWidth(40),e.M(460,420),e.C(200,420,140,320,140,250),e.C(140,180,200,80,460,80),e.stroke(),e.M(140,30),e.L(460,30),e.stroke()}));for(let e=10944;e<=11007;e++)Vi[e]||(Vi[e]=Ti(e=>{e.lineWidth(40),e.M(140,350),e.L(460,350),e.stroke(),e.M(140,200),e.L(460,200),e.stroke(),e.circle(300,275,30),e.fill()}));Hi={},Hi[10624]={width:B,draw:e=>{e.lineWidth(35),e.M(200,0),e.L(200,500),e.stroke(),e.M(300,0),e.L(300,500),e.stroke(),e.M(400,0),e.L(400,500),e.stroke()}},Hi[10625]={width:B,draw:e=>{e.circle(300,250,60),e.fill()}},Hi[10626]={width:300,draw:e=>{e.circle(150,370,40),e.fill(),e.circle(150,130,40),e.fill()}};for(let[e,t]of[[10627,!0],[10628,!1],[10629,!0],[10630,!1]])Hi[e]={width:350,draw:e=>{e.lineWidth(35),t?(e.M(250,500),e.C(80,400,80,100,250,0),e.stroke()):(e.M(100,500),e.C(270,400,270,100,100,0),e.stroke())}};for(let e=10631;e<=10642;e++)if(!Hi[e]){let t=(e-10631)%2==0;Hi[e]={width:350,draw:e=>{e.lineWidth(35),t?(e.M(250,500),e.L(100,250),e.L(250,0),e.stroke()):(e.M(100,500),e.L(250,250),e.L(100,0),e.stroke())}}}for(let e=10643;e<=10648;e++)if(!Hi[e]){let t=(e-10643)%2==0;Hi[e]={width:350,draw:e=>{e.lineWidth(30),t?(e.M(250,500),e.C(100,400,100,100,250,0),e.stroke()):(e.M(100,500),e.C(250,400,250,100,100,0),e.stroke())}}}Hi[10649]={width:200,draw:e=>{for(let t=50;t<=450;t+=80)e.circle(100,t,20),e.fill()}},Hi[10650]={width:300,draw:e=>{e.lineWidth(35),e.M(100,500),e.L(200,400),e.L(100,300),e.L(200,200),e.L(100,100),e.L(200,0),e.stroke()}};for(let e=10651;e<=10654;e++)Hi[e]={width:B,draw:e=>{e.lineWidth(40),e.M(480,50),e.L(120,50),e.L(380,400),e.stroke(),e.M(200,50),e.C(200,150,250,200,280,180),e.stroke()}};for(let e=10655;e<=10661;e++)Hi[e]={width:B,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(120,450),e.L(480,50),e.stroke()}};for(let e=10662;e<=10671;e++)Hi[e]={width:B,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(480,50),e.stroke(),e.M(120,50),e.L(120,400),e.stroke(),e.M(300,50),e.L(300,350),e.stroke()}};for(let e=10672;e<=10687;e++)Hi[e]=wi(e=>{e.M(160,110),e.L(440,390),e.stroke()});for(let e=10696;e<=10703;e++)e!==10696&&e!==10697&&(Hi[e]={width:B,draw:e=>{e.lineWidth(35),e.rect(100,50,400,400),e.stroke(),e.M(200,150),e.L(400,350),e.stroke()}});for(let e=10704;e<=10719;e++)Hi[e]={width:B,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke()}};for(let e=10720;e<=10751;e++)Hi[e]||(Hi[e]={width:B,draw:e=>{e.lineWidth(35),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,100),e.stroke()}});V={},V[8705]={width:B,draw:e=>{e.lineWidth(42),e.M(420,400),e.C(380,470,220,470,180,400),e.C(140,320,140,180,180,100),e.C(220,30,380,30,420,100),e.stroke()}},V[8708]={width:B,draw:e=>{e.lineWidth(42),e.M(420,60),e.L(180,60),e.L(180,450),e.L(420,450),e.stroke(),e.M(180,250),e.L(380,250),e.stroke(),z(e)}},V[8714]={width:B,draw:e=>{e.lineWidth(35),e.M(440,380),e.C(300,430,160,370,160,250),e.C(160,130,300,70,440,120),e.stroke(),e.M(160,250),e.L(400,250),e.stroke()}},V[8716]={width:B,draw:e=>{e.lineWidth(42),e.M(160,400),e.C(300,460,440,380,440,250),e.C(440,120,300,40,160,100),e.stroke(),e.M(440,250),e.L(200,250),e.stroke(),z(e)}},V[8717]={width:B,draw:e=>{e.lineWidth(35),e.M(160,380),e.C(300,430,440,370,440,250),e.C(440,130,300,70,160,120),e.stroke(),e.M(440,250),e.L(200,250),e.stroke()}},V[8720]={width:B,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,450),e.L(460,450),e.L(460,60),e.stroke()}},V[8724]={width:B,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(480,250),e.stroke(),e.M(300,120),e.L(300,380),e.stroke(),e.circle(300,430,25),e.fill()}},V[8725]={width:B,draw:e=>{e.lineWidth(42),e.M(440,470),e.L(160,30),e.stroke()}},V[8726]={width:B,draw:e=>{e.lineWidth(42),e.M(160,470),e.L(440,30),e.stroke()}},V[8731]={width:B,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(180,250),e.L(260,30),e.L(350,470),e.L(520,470),e.stroke(),e.lineWidth(22),e.M(80,440),e.C(80,470,130,470,130,445),e.C(130,420,80,420,80,395),e.stroke()}},V[8732]={width:B,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(180,250),e.L(260,30),e.L(350,470),e.L(520,470),e.stroke(),e.lineWidth(22),e.M(120,395),e.L(120,470),e.L(80,430),e.L(130,430),e.stroke()}},V[8737]={width:B,draw:e=>{e.lineWidth(40),e.M(480,60),e.L(120,60),e.L(420,440),e.stroke(),e.lineWidth(28),e.M(220,60),e.C(220,160,260,200,290,180),e.stroke()}},V[8738]={width:B,draw:e=>{e.lineWidth(40),e.M(420,440),e.L(120,60),e.L(420,60),e.stroke(),e.lineWidth(28),e.M(200,140),e.C(240,200,320,200,360,140),e.stroke()}},V[8748]={width:B,draw:e=>{e.lineWidth(40),e.M(320,470),e.C(290,470,260,440,260,400),e.L(260,100),e.C(260,60,230,30,200,30),e.stroke(),e.M(440,470),e.C(410,470,380,440,380,400),e.L(380,100),e.C(380,60,350,30,320,30),e.stroke()}},V[8749]={width:B,draw:e=>{e.lineWidth(35);for(let t=0;t<3;t++){let n=180+t*100;e.M(n+40,470),e.C(n+20,470,n,440,n,400),e.L(n,100),e.C(n,60,n-20,30,n-40,30),e.stroke()}}},V[8750]={width:B,draw:e=>{e.lineWidth(40),e.M(360,470),e.C(330,470,300,440,300,400),e.L(300,100),e.C(300,60,270,30,240,30),e.stroke(),e.lineWidth(28),e.ellipse(300,250,80,60),e.stroke()}},V[8751]={width:B,draw:e=>{e.lineWidth(35);for(let t=0;t<2;t++){let n=220+t*110;e.M(n+40,470),e.C(n+20,470,n,440,n,400),e.L(n,100),e.C(n,60,n-20,30,n-40,30),e.stroke()}e.lineWidth(25),e.ellipse(300,250,70,50),e.stroke()}},V[8752]={width:B,draw:e=>{e.lineWidth(32);for(let t=0;t<3;t++){let n=180+t*100;e.M(n+35,470),e.C(n+15,470,n,440,n,400),e.L(n,100),e.C(n,60,n-15,30,n-35,30),e.stroke()}e.lineWidth(22),e.ellipse(280,250,60,45),e.stroke()}},V[8753]={width:B,draw:e=>{e.lineWidth(40),e.M(360,470),e.C(330,470,300,440,300,400),e.L(300,100),e.C(300,60,270,30,240,30),e.stroke(),e.lineWidth(25),e.M(370,230),e.C(370,300,230,300,230,250),e.C(230,200,310,200,340,230),e.stroke()}},V[8754]={width:B,draw:e=>{e.lineWidth(40),e.M(360,470),e.C(330,470,300,440,300,400),e.L(300,100),e.C(300,60,270,30,240,30),e.stroke(),e.lineWidth(25),e.M(230,230),e.C(230,300,370,300,370,250),e.C(370,200,290,200,260,230),e.stroke()}},V[8755]=V[8753],V[8760]={width:B,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(480,250),e.stroke(),e.circle(300,360,28),e.fill()}},V[8761]={width:B,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(480,250),e.stroke(),e.circle(300,370,28),e.fill(),e.circle(300,130,28),e.fill()}},V[8762]={width:B,draw:e=>{e.circle(180,350,28),e.fill(),e.circle(420,350,28),e.fill(),e.circle(180,150,28),e.fill(),e.circle(420,150,28),e.fill(),e.lineWidth(38),e.M(120,250),e.L(480,250),e.stroke()}},V[8763]={width:B,draw:e=>{e.lineWidth(38),e.M(120,300),e.C(200,380,400,380,480,300),e.stroke(),e.M(120,180),e.C(200,260,400,260,480,180),e.stroke(),e.circle(300,400,25),e.fill()}},V[8764]={width:B,draw:e=>{e.lineWidth(45),e.M(120,280),e.C(200,380,400,120,480,220),e.stroke()}},V[8765]={width:B,draw:e=>{e.lineWidth(45),e.M(120,220),e.C(200,120,400,380,480,280),e.stroke()}},V[8766]={width:B,draw:e=>{e.lineWidth(40),e.M(120,250),e.C(120,400,300,400,300,250),e.C(300,100,480,100,480,250),e.stroke()}},V[8767]={width:B,draw:e=>{e.lineWidth(40),e.M(80,250),e.C(160,450,300,450,300,250),e.C(300,50,440,50,520,250),e.stroke()}},V[8768]={width:B,draw:e=>{e.lineWidth(40),e.M(300,460),e.C(200,380,400,120,300,40),e.stroke()}},V[8769]={width:B,draw:e=>{e.lineWidth(42),e.M(120,280),e.C(200,380,400,120,480,220),e.stroke(),z(e)}},V[8770]={width:B,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,400,400,400,480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},V[8771]={width:B,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,420,400,120,480,220),e.stroke(),e.M(120,150),e.L(480,150),e.stroke()}},V[8772]={width:B,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,420,400,120,480,220),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),z(e)}},V[8774]={width:B,draw:e=>{e.lineWidth(38),e.M(120,370),e.C(200,440,400,440,480,370),e.stroke(),e.M(120,250),e.C(200,320,400,320,480,250),e.stroke(),e.M(120,130),e.L(480,130),e.stroke(),z(e)}},V[8775]=V[8774],V[8777]={width:B,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,400,400,400,480,320),e.stroke(),e.M(120,180),e.C(200,260,400,260,480,180),e.stroke(),z(e)}},V[8778]={width:B,draw:e=>{e.lineWidth(36),e.M(120,370),e.C(200,440,400,440,480,370),e.stroke(),e.M(120,260),e.C(200,330,400,330,480,260),e.stroke(),e.M(120,150),e.L(480,150),e.stroke()}},V[8779]={width:B,draw:e=>{e.lineWidth(35);for(let t of[370,250,130])e.M(120,t),e.C(200,t+70,400,t+70,480,t),e.stroke()}},V[8781]={width:B,draw:e=>{e.lineWidth(40),e.M(120,340),e.C(200,420,400,420,480,340),e.stroke(),e.M(120,160),e.C(200,80,400,80,480,160),e.stroke()}},V[8782]={width:B,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,420,400,420,480,320),e.stroke(),e.M(120,180),e.C(200,80,400,80,480,180),e.stroke()}},V[8783]={width:B,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,400,400,400,480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},V[8784]={width:B,draw:e=>{e.lineWidth(40),e.M(120,300),e.L(480,300),e.stroke(),e.M(120,180),e.L(480,180),e.stroke(),e.circle(300,410,25),e.fill()}},V[8785]={width:B,draw:e=>{e.lineWidth(40),e.M(120,300),e.L(480,300),e.stroke(),e.M(120,180),e.L(480,180),e.stroke(),e.circle(300,410,25),e.fill(),e.circle(300,80,25),e.fill()}},V[8786]={width:B,draw:e=>{e.lineWidth(40),e.M(120,310),e.C(200,370,400,370,480,310),e.stroke(),e.M(120,190),e.C(200,130,400,130,480,190),e.stroke()}},V[8787]={width:B,draw:e=>{e.lineWidth(40),e.M(120,310),e.C(200,250,400,250,480,310),e.stroke(),e.M(120,190),e.C(200,250,400,250,480,190),e.stroke()}},V[8788]={width:B,draw:e=>{e.circle(180,330,30),e.fill(),e.circle(180,170,30),e.fill(),e.lineWidth(40),e.M(260,320),e.L(480,320),e.stroke(),e.M(260,180),e.L(480,180),e.stroke()}},V[8789]={width:B,draw:e=>{e.circle(420,330,30),e.fill(),e.circle(420,170,30),e.fill(),e.lineWidth(40),e.M(120,320),e.L(340,320),e.stroke(),e.M(120,180),e.L(340,180),e.stroke()}},V[8790]=Ei(e=>{e.lineWidth(25),e.circle(300,250,35),e.stroke()}),V[8791]={width:B,draw:e=>{e.lineWidth(40),e.M(120,280),e.L(480,280),e.stroke(),e.M(120,170),e.L(480,170),e.stroke(),e.lineWidth(25),e.circle(300,390,35),e.stroke()}},V[8792]={width:B,draw:e=>{e.lineWidth(40),e.M(120,280),e.L(480,280),e.stroke(),e.M(120,170),e.L(480,170),e.stroke(),e.lineWidth(28),e.M(240,390),e.L(300,430),e.L(360,390),e.stroke()}},V[8793]={width:B,draw:e=>{e.lineWidth(40),e.M(120,260),e.L(480,260),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),e.lineWidth(28),e.M(240,370),e.L(300,420),e.L(360,370),e.stroke()}},V[8794]={width:B,draw:e=>{e.lineWidth(40),e.M(120,260),e.L(480,260),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),e.lineWidth(28),e.M(240,420),e.L(300,370),e.L(360,420),e.stroke()}},V[8795]={width:B,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,140),e.L(480,140),e.stroke(),e.circle(300,380,35),e.fill()}},V[8797]={width:B,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,140),e.L(480,140),e.stroke(),e.lineWidth(25),e.M(260,360),e.L(300,440),e.L(340,360),e.Z(),e.stroke()}},V[8798]={width:B,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,140),e.L(480,140),e.stroke(),e.lineWidth(22),e.M(230,360),e.L(230,430),e.L(270,390),e.L(310,430),e.L(310,360),e.stroke()}},V[8799]={width:B,draw:e=>{e.lineWidth(40),e.M(120,230),e.L(480,230),e.stroke(),e.M(120,120),e.L(480,120),e.stroke(),e.lineWidth(25),e.M(260,360),e.C(260,430,340,430,340,390),e.C(340,360,300,340,300,310),e.stroke(),e.circle(300,290,15),e.fill()}},V[8802]={width:B,draw:e=>{e.lineWidth(38),e.M(120,350),e.L(480,350),e.stroke(),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),z(e)}},V[8803]={width:B,draw:e=>{e.lineWidth(36),e.M(120,370),e.L(480,370),e.stroke(),e.M(120,290),e.L(480,290),e.stroke(),e.M(120,210),e.L(480,210),e.stroke(),e.M(120,130),e.L(480,130),e.stroke()}},V[8806]={width:B,draw:e=>{e.lineWidth(40),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},V[8807]={width:B,draw:e=>{e.lineWidth(40),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},V[8808]={width:B,draw:e=>{V[8806].draw(e),z(e)}},V[8809]={width:B,draw:e=>{V[8807].draw(e),z(e)}},V[8812]={width:B,draw:e=>{e.lineWidth(40),e.M(200,420),e.L(400,250),e.L(200,80),e.stroke(),e.M(400,420),e.L(200,250),e.L(400,80),e.stroke()}},V[8813]={width:B,draw:e=>{e.lineWidth(40),e.M(120,340),e.C(200,420,400,420,480,340),e.stroke(),e.M(120,160),e.C(200,80,400,80,480,160),e.stroke(),z(e)}},V[8814]={width:B,draw:e=>{e.lineWidth(42),e.M(460,400),e.L(140,250),e.L(460,100),e.stroke(),z(e)}},V[8815]={width:B,draw:e=>{e.lineWidth(42),e.M(140,400),e.L(460,250),e.L(140,100),e.stroke(),z(e)}},V[8816]={width:B,draw:e=>{e.lineWidth(38),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke(),z(e)}},V[8817]={width:B,draw:e=>{e.lineWidth(38),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke(),z(e)}},V[8818]={width:B,draw:e=>{e.lineWidth(38),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,60),e.C(220,30,380,30,460,60),e.stroke()}},V[8819]={width:B,draw:e=>{e.lineWidth(38),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,60),e.C(220,30,380,30,460,60),e.stroke()}},V[8820]={width:B,draw:e=>{V[8818].draw(e),z(e)}},V[8821]={width:B,draw:e=>{V[8819].draw(e),z(e)}},V[8822]={width:B,draw:e=>{e.lineWidth(38),e.M(460,430),e.L(140,330),e.L(460,230),e.stroke(),e.M(140,230),e.L(460,130),e.L(140,60),e.stroke()}},V[8823]={width:B,draw:e=>{e.lineWidth(38),e.M(140,430),e.L(460,330),e.L(140,230),e.stroke(),e.M(460,230),e.L(140,130),e.L(460,60),e.stroke()}},V[8824]={width:B,draw:e=>{V[8822].draw(e),z(e)}},V[8825]={width:B,draw:e=>{V[8823].draw(e),z(e)}},V[8826]={width:B,draw:e=>{e.lineWidth(42),e.M(460,400),e.C(200,400,140,300,140,250),e.C(140,200,200,100,460,100),e.stroke()}},V[8827]={width:B,draw:e=>{e.lineWidth(42),e.M(140,400),e.C(400,400,460,300,460,250),e.C(460,200,400,100,140,100),e.stroke()}},V[8828]={width:B,draw:e=>{e.lineWidth(40),e.M(460,420),e.C(200,420,140,320,140,280),e.C(140,240,200,140,460,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},V[8829]={width:B,draw:e=>{e.lineWidth(40),e.M(140,420),e.C(400,420,460,320,460,280),e.C(460,240,400,140,140,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},V[8830]={width:B,draw:e=>{e.lineWidth(38),e.M(460,420),e.C(200,420,140,320,140,280),e.C(140,240,200,140,460,140),e.stroke(),e.M(140,80),e.C(220,50,380,50,460,80),e.stroke()}},V[8831]={width:B,draw:e=>{e.lineWidth(38),e.M(140,420),e.C(400,420,460,320,460,280),e.C(460,240,400,140,140,140),e.stroke(),e.M(140,80),e.C(220,50,380,50,460,80),e.stroke()}},V[8832]={width:B,draw:e=>{V[8826].draw(e),z(e)}},V[8833]={width:B,draw:e=>{V[8827].draw(e),z(e)}},V[8840]=Di(!0,!0),V[8841]=Oi(!0,!0),V[8842]=Di(!0,!0),V[8843]=Oi(!0,!0),V[8844]={width:B,draw:e=>{e.lineWidth(40),e.M(140,450),e.L(140,200),e.C(140,50,460,50,460,200),e.L(460,450),e.stroke(),e.M(230,280),e.L(370,280),e.stroke()}},V[8845]={width:B,draw:e=>{e.lineWidth(40),e.M(140,450),e.L(140,200),e.C(140,50,460,50,460,200),e.L(460,450),e.stroke(),e.circle(300,250,30),e.fill()}},V[8846]={width:B,draw:e=>{e.lineWidth(40),e.M(140,450),e.L(140,200),e.C(140,50,460,50,460,200),e.L(460,450),e.stroke(),e.M(240,250),e.L(360,250),e.stroke(),e.M(300,190),e.L(300,310),e.stroke()}},V[8847]={width:B,draw:e=>{e.lineWidth(42),e.M(460,420),e.L(140,420),e.L(140,80),e.L(460,80),e.stroke()}},V[8848]={width:B,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(460,420),e.L(460,80),e.L(140,80),e.stroke()}},V[8849]={width:B,draw:e=>{e.lineWidth(40),e.M(460,440),e.L(140,440),e.L(140,140),e.L(460,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},V[8850]={width:B,draw:e=>{e.lineWidth(40),e.M(140,440),e.L(460,440),e.L(460,140),e.L(140,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},V[8851]={width:B,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,440),e.L(460,440),e.L(460,60),e.stroke()}},V[8852]={width:B,draw:e=>{e.lineWidth(45),e.M(140,440),e.L(140,60),e.L(460,60),e.L(460,440),e.stroke()}},V[8858]=ki(e=>{e.lineWidth(28),e.circle(300,250,60),e.stroke()}),V[8859]=ki(e=>{e.lineWidth(32);for(let t=0;t<3;t++){let n=t*60*Math.PI/180;e.M(300+80*Math.cos(n),250+80*Math.sin(n)),e.L(300-80*Math.cos(n),250-80*Math.sin(n)),e.stroke()}}),V[8860]=ki(e=>{e.M(200,280),e.L(400,280),e.stroke(),e.M(200,220),e.L(400,220),e.stroke()}),V[8861]=ki(e=>{e.M(200,250),e.L(400,250),e.stroke()}),V[8862]={width:B,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},V[8863]={width:B,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.M(160,250),e.L(440,250),e.stroke()}},V[8864]={width:B,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.M(100,50),e.L(500,450),e.stroke(),e.M(500,50),e.L(100,450),e.stroke()}},V[8865]={width:B,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,40),e.fill()}},V[8866]={width:B,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,60),e.stroke(),e.M(140,250),e.L(480,250),e.stroke()}},V[8867]={width:B,draw:e=>{e.lineWidth(42),e.M(460,440),e.L(460,60),e.stroke(),e.M(460,250),e.L(120,250),e.stroke()}},V[8868]={width:B,draw:e=>{e.lineWidth(42),e.M(120,440),e.L(480,440),e.stroke(),e.M(300,440),e.L(300,60),e.stroke()}},V[8870]={width:B,draw:e=>{e.lineWidth(42),e.M(160,440),e.L(160,60),e.stroke(),e.M(160,250),e.L(460,250),e.stroke(),e.M(220,440),e.L(220,60),e.stroke()}},V[8871]={width:B,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,60),e.stroke(),e.M(140,310),e.L(460,310),e.stroke(),e.M(140,190),e.L(460,190),e.stroke()}},V[8872]={width:B,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,60),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(200,250),e.L(460,250),e.stroke()}},V[8873]={width:B,draw:e=>{e.lineWidth(40),e.M(140,440),e.L(140,60),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(200,250),e.L(460,250),e.stroke()}},V[8874]={width:B,draw:e=>{e.lineWidth(36),e.M(130,440),e.L(130,60),e.stroke(),e.M(190,440),e.L(190,60),e.stroke(),e.M(250,440),e.L(250,60),e.stroke(),e.M(250,250),e.L(460,250),e.stroke()}},V[8875]={width:B,draw:e=>{e.lineWidth(38),e.M(130,440),e.L(130,60),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(200,300),e.L(460,300),e.stroke(),e.M(200,200),e.L(460,200),e.stroke()}},V[8876]={width:B,draw:e=>{V[8866].draw(e),z(e)}},V[8877]={width:B,draw:e=>{V[8872].draw(e),z(e)}},V[8878]={width:B,draw:e=>{V[8873].draw(e),z(e)}},V[8879]={width:B,draw:e=>{V[8875].draw(e),z(e)}},V[8880]={width:B,draw:e=>{e.lineWidth(40),e.M(460,400),e.C(200,400,140,300,140,250),e.C(140,200,200,100,460,100),e.stroke(),e.M(140,50),e.L(460,50),e.stroke()}},V[8881]={width:B,draw:e=>{e.lineWidth(40),e.M(140,400),e.C(400,400,460,300,460,250),e.C(460,200,400,100,140,100),e.stroke(),e.M(140,50),e.L(460,50),e.stroke()}},V[8882]={width:B,draw:e=>{e.lineWidth(42),e.M(460,420),e.L(140,250),e.L(460,80),e.Z(),e.stroke()}},V[8883]={width:B,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(460,250),e.L(140,80),e.Z(),e.stroke()}},V[8884]={width:B,draw:e=>{e.lineWidth(40),e.M(460,440),e.L(140,260),e.L(460,100),e.Z(),e.stroke(),e.M(140,55),e.L(460,55),e.stroke()}},V[8885]={width:B,draw:e=>{e.lineWidth(40),e.M(140,440),e.L(460,260),e.L(140,100),e.Z(),e.stroke(),e.M(140,55),e.L(460,55),e.stroke()}},V[8886]={width:B,draw:e=>{e.lineWidth(40),e.M(420,400),e.L(200,250),e.L(420,100),e.stroke(),e.circle(160,250,40),e.fill()}},V[8887]={width:B,draw:e=>{e.lineWidth(40),e.M(180,400),e.L(400,250),e.L(180,100),e.stroke(),e.circle(440,250,40),e.fill()}},V[8888]={width:B,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(430,250),e.stroke(),e.lineWidth(28),e.circle(470,250,40),e.stroke()}},V[8889]={width:B,draw:e=>{e.lineWidth(38),e.rect(120,80,360,340),e.stroke(),e.circle(300,250,30),e.fill()}},V[8890]={width:B,draw:e=>{e.lineWidth(42),e.M(120,60),e.L(480,60),e.stroke(),e.M(300,60),e.L(300,440),e.stroke()}},V[8891]={width:B,draw:e=>{e.lineWidth(42),e.M(140,80),e.L(300,440),e.L(460,80),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},V[8892]={width:B,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(300,60),e.L(460,420),e.stroke(),e.M(140,440),e.L(460,440),e.stroke()}},V[8893]={width:B,draw:e=>{e.lineWidth(42),e.M(140,80),e.L(300,440),e.L(460,80),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},V[8894]={width:B,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,80),e.L(460,80),e.stroke(),e.lineWidth(28),e.M(140,300),e.C(250,300,320,200,320,80),e.stroke()}},V[8896]={width:B,draw:e=>{e.lineWidth(45),e.M(120,60),e.L(300,440),e.L(480,60),e.stroke()}},V[8897]={width:B,draw:e=>{e.lineWidth(45),e.M(120,440),e.L(300,60),e.L(480,440),e.stroke()}},V[8898]={width:B,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,250),e.C(140,460,460,460,460,250),e.L(460,60),e.stroke()}},V[8899]={width:B,draw:e=>{e.lineWidth(45),e.M(140,440),e.L(140,250),e.C(140,40,460,40,460,250),e.L(460,440),e.stroke()}},V[8900]={width:B,draw:e=>{e.lineWidth(38),e.M(300,420),e.L(460,250),e.L(300,80),e.L(140,250),e.Z(),e.stroke()}},V[8901]={width:B,draw:e=>{e.circle(300,250,35),e.fill()}},V[8902]={width:B,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+140*Math.cos(n),250+140*Math.sin(n)):e.L(300+140*Math.cos(n),250+140*Math.sin(n)),e.L(300+60*Math.cos(r),250+60*Math.sin(r))}e.Z(),e.fill()}},V[8903]={width:B,draw:e=>{e.lineWidth(40),e.M(160,400),e.L(440,100),e.stroke(),e.M(440,400),e.L(160,100),e.stroke(),e.circle(300,420,28),e.fill(),e.circle(300,80,28),e.fill()}},V[8904]={width:B,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(300,250),e.L(120,100),e.Z(),e.stroke(),e.M(480,400),e.L(300,250),e.L(480,100),e.Z(),e.stroke()}},V[8905]={width:B,draw:e=>{e.lineWidth(40),e.M(140,400),e.L(380,250),e.L(140,100),e.Z(),e.stroke(),e.M(380,400),e.L(380,100),e.stroke()}},V[8906]={width:B,draw:e=>{e.lineWidth(40),e.M(460,400),e.L(220,250),e.L(460,100),e.Z(),e.stroke(),e.M(220,400),e.L(220,100),e.stroke()}},V[8907]={width:B,draw:e=>{e.lineWidth(40),e.M(140,400),e.L(380,250),e.L(140,100),e.stroke(),e.M(380,400),e.L(380,100),e.stroke()}},V[8908]={width:B,draw:e=>{e.lineWidth(40),e.M(460,400),e.L(220,250),e.L(460,100),e.stroke(),e.M(220,400),e.L(220,100),e.stroke()}},V[8909]={width:B,draw:e=>{e.lineWidth(40),e.M(120,220),e.C(200,120,400,380,480,280),e.stroke(),e.M(120,140),e.L(480,140),e.stroke()}},V[8910]={width:B,draw:e=>{e.lineWidth(42),e.M(120,440),e.C(200,200,260,100,300,60),e.C(340,100,400,200,480,440),e.stroke()}},V[8911]={width:B,draw:e=>{e.lineWidth(42),e.M(120,60),e.C(200,300,260,400,300,440),e.C(340,400,400,300,480,60),e.stroke()}},V[8912]={width:B,draw:e=>{e.lineWidth(35),e.M(440,400),e.C(250,400,180,320,180,250),e.C(180,180,250,100,440,100),e.stroke(),e.M(480,400),e.C(290,400,220,320,220,250),e.C(220,180,290,100,480,100),e.stroke()}},V[8913]={width:B,draw:e=>{e.lineWidth(35),e.M(160,400),e.C(350,400,420,320,420,250),e.C(420,180,350,100,160,100),e.stroke(),e.M(120,400),e.C(310,400,380,320,380,250),e.C(380,180,310,100,120,100),e.stroke()}},V[8914]={width:B,draw:e=>{e.lineWidth(38),e.M(120,60),e.L(120,230),e.C(120,460,480,460,480,230),e.L(480,60),e.stroke(),e.M(200,60),e.L(200,230),e.C(200,400,400,400,400,230),e.L(400,60),e.stroke()}},V[8915]={width:B,draw:e=>{e.lineWidth(38),e.M(120,440),e.L(120,270),e.C(120,40,480,40,480,270),e.L(480,440),e.stroke(),e.M(200,440),e.L(200,270),e.C(200,100,400,100,400,270),e.L(400,440),e.stroke()}},V[8916]={width:B,draw:e=>{e.lineWidth(42),e.M(300,60),e.L(300,440),e.stroke(),e.M(140,60),e.L(140,250),e.C(140,400,460,400,460,250),e.L(460,60),e.stroke()}},V[8917]={width:B,draw:e=>{e.lineWidth(38),e.M(120,310),e.L(480,310),e.stroke(),e.M(120,200),e.L(480,200),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(400,440),e.L(400,60),e.stroke()}},V[8918]={width:B,draw:e=>{e.lineWidth(42),e.M(460,400),e.L(140,250),e.L(460,100),e.stroke(),e.circle(300,250,30),e.fill()}},V[8919]={width:B,draw:e=>{e.lineWidth(42),e.M(140,400),e.L(460,250),e.L(140,100),e.stroke(),e.circle(300,250,30),e.fill()}},V[8920]={width:B,draw:e=>{e.lineWidth(35);for(let t of[160,280,400])e.M(t+80,400),e.L(t,250),e.L(t+80,100),e.stroke()}},V[8921]={width:B,draw:e=>{e.lineWidth(35);for(let t of[440,320,200])e.M(t-80,400),e.L(t,250),e.L(t-80,100),e.stroke()}},V[8922]={width:B,draw:e=>{e.lineWidth(36),e.M(460,460),e.L(140,370),e.L(460,280),e.stroke(),e.M(140,240),e.L(460,240),e.stroke(),e.M(140,200),e.L(460,110),e.L(140,40),e.stroke()}},V[8923]={width:B,draw:e=>{e.lineWidth(36),e.M(140,460),e.L(460,370),e.L(140,280),e.stroke(),e.M(140,240),e.L(460,240),e.stroke(),e.M(460,200),e.L(140,110),e.L(460,40),e.stroke()}},V[8924]={width:B,draw:e=>{e.lineWidth(40),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,440),e.L(460,440),e.stroke()}},V[8925]={width:B,draw:e=>{e.lineWidth(40),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,440),e.L(460,440),e.stroke()}},V[8926]={width:B,draw:e=>{e.lineWidth(38),e.M(460,420),e.C(200,420,140,320,140,280),e.C(140,240,200,140,460,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},V[8927]={width:B,draw:e=>{e.lineWidth(38),e.M(140,420),e.C(400,420,460,320,460,280),e.C(460,240,400,140,140,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},V[8928]={width:B,draw:e=>{V[8926].draw(e),z(e)}},V[8929]={width:B,draw:e=>{V[8927].draw(e),z(e)}},V[8930]={width:B,draw:e=>{V[8849].draw(e),z(e)}},V[8931]={width:B,draw:e=>{V[8850].draw(e),z(e)}},V[8932]={width:B,draw:e=>{V[8849].draw(e),z(e)}},V[8933]={width:B,draw:e=>{V[8850].draw(e),z(e)}},V[8934]={width:B,draw:e=>{V[8818].draw(e),z(e)}},V[8935]={width:B,draw:e=>{V[8819].draw(e),z(e)}},V[8936]={width:B,draw:e=>{V[8830].draw(e),z(e)}},V[8937]={width:B,draw:e=>{V[8831].draw(e),z(e)}},V[8938]={width:B,draw:e=>{V[8882].draw(e),z(e)}},V[8939]={width:B,draw:e=>{V[8883].draw(e),z(e)}},V[8940]={width:B,draw:e=>{V[8884].draw(e),z(e)}},V[8941]={width:B,draw:e=>{V[8885].draw(e),z(e)}},V[8942]={width:B,draw:e=>{e.circle(300,380,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(300,120,28),e.fill()}},V[8943]={width:B,draw:e=>{e.circle(150,250,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(450,250,28),e.fill()}},V[8944]={width:B,draw:e=>{e.circle(170,120,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(430,380,28),e.fill()}},V[8945]={width:B,draw:e=>{e.circle(170,380,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(430,120,28),e.fill()}};for(let e=8946;e<=8959;e++)if(!V[e]){let t=(e-8946)%2==0;V[e]={width:B,draw:e=>{e.lineWidth(40),t?(e.M(440,400),e.C(200,430,140,340,140,250),e.C(140,160,200,70,440,100),e.stroke(),e.M(140,250),e.L(400,250),e.stroke()):(e.M(160,400),e.C(400,430,460,340,460,250),e.C(460,160,400,70,160,100),e.stroke(),e.M(460,250),e.L(200,250),e.stroke())}}}H={},H[8448]={width:B,draw:e=>{e.lineWidth(24),Ci(e,0,190,340,150),Ci(e,2,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},H[8449]={width:B,draw:e=>{e.lineWidth(24),Ci(e,0,190,340,150),Ci(e,18,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},H[8450]=Ai((e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.stroke()}),H[8452]={width:B,draw:e=>{e.lineWidth(40),e.M(200,440),e.L(300,250),e.L(400,440),e.stroke(),e.M(300,250),e.L(300,60),e.stroke()}},H[8454]={width:B,draw:e=>{e.lineWidth(24),Ci(e,2,190,340,150),Ci(e,20,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},H[8455]={width:B,draw:e=>{e.lineWidth(42),e.M(180,440),e.L(420,440),e.L(420,60),e.L(180,60),e.stroke(),e.M(420,250),e.L(220,250),e.stroke()}},H[8458]={width:B,draw:e=>{e.lineWidth(30),e.ellipse(280,280,120,100),e.stroke(),e.M(400,380),e.L(400,80),e.C(400,20,300,20,240,60),e.stroke()}},H[8459]=ji((e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.C(t-r*.1,n+r*.15,t+r*.1,n-r*.15,t+r*.3,n),e.stroke()}),H[8460]=Mi((e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.L(t+r*.3,n),e.stroke()}),H[8461]=Ai((e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.L(t+r*.3,n),e.stroke()}),H[8462]={width:B,draw:e=>{e.lineWidth(35),e.M(220,60),e.L(200,450),e.stroke(),e.M(200,300),e.C(280,400,380,400,400,300),e.L(420,60),e.stroke()}},H[8463]={width:B,draw:e=>{e.lineWidth(35),e.M(220,60),e.L(200,450),e.stroke(),e.M(200,300),e.C(280,400,380,400,400,300),e.L(420,60),e.stroke(),e.M(140,370),e.L(280,370),e.stroke()}},H[8464]=ji((e,t,n,r)=>{e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke(),e.M(t-r*.2,n+r*.5),e.L(t+r*.2,n+r*.5),e.stroke(),e.M(t-r*.2,n-r*.5),e.L(t+r*.2,n-r*.5),e.stroke()}),H[8465]=Mi((e,t,n,r)=>{e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke(),e.M(t-r*.25,n+r*.5),e.L(t+r*.25,n+r*.5),e.stroke(),e.M(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke()}),H[8466]=ji((e,t,n,r)=>{e.M(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.C(t-r*.25,n-r*.55,t+r*.3,n-r*.55,t+r*.3,n-r*.5),e.stroke()}),H[8468]={width:B,draw:e=>{e.lineWidth(30),Ci(e,11,200,250,260),Ci(e,1,400,250,260),e.lineWidth(28),e.M(120,100),e.L(480,100),e.stroke()}},H[8469]=Ai((e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.L(t+r*.3,n+r*.5),e.stroke()}),H[8471]={width:B,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(28),Ci(e,15,300,250,200)}},H[8472]={width:B,draw:e=>{e.lineWidth(38),e.M(200,60),e.L(200,350),e.C(200,450,350,450,400,350),e.C(450,250,350,180,280,200),e.C(210,220,180,300,200,350),e.stroke()}},H[8473]=Ai((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke()}),H[8474]=Ai((e,t,n,r)=>{e.ellipse(t,n+r*.05,r*.35,r*.45),e.stroke(),e.M(t+r*.1,n-r*.2),e.L(t+r*.35,n-r*.5),e.stroke()}),H[8475]=ji((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()}),H[8476]=Mi((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()}),H[8477]=Ai((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()}),H[8478]={width:B,draw:e=>{e.lineWidth(38),Ci(e,17,250,260,300),e.lineWidth(32),e.M(350,200),e.L(480,60),e.stroke()}},H[8479]={width:B,draw:e=>{e.lineWidth(38),Ci(e,17,300,250,300)}},H[8481]={width:B,draw:e=>{e.lineWidth(22),Ci(e,19,150,250,180),Ci(e,4,300,250,180),Ci(e,11,450,250,180)}},H[8484]=Ai((e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()}),H[8485]={width:B,draw:e=>{e.lineWidth(36),e.M(200,440),e.L(400,440),e.L(200,60),e.L(400,60),e.stroke(),e.M(180,250),e.L(420,250),e.stroke()}},H[8487]={width:B,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(200,440),e.L(200,350),e.C(200,150,400,150,400,350),e.L(400,440),e.L(460,440),e.stroke()}},H[8488]=Mi((e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()}),H[8489]={width:B,draw:e=>{e.lineWidth(38),e.M(300,440),e.L(300,160),e.C(300,60,220,60,220,120),e.stroke()}},H[8490]={width:B,draw:e=>{e.lineWidth(40),Ci(e,10,300,250,300)}},H[8491]={width:B,draw:e=>{e.lineWidth(38),Ci(e,0,300,220,280),e.lineWidth(22),e.circle(300,440,30),e.stroke()}},H[8492]=ji((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.35,n+r*.5,t+r*.35,n+r*.05,t+r*.05,n+r*.05),e.L(t+r*.1,n+r*.05),e.C(t+r*.4,n+r*.05,t+r*.4,n-r*.5,t+r*.1,n-r*.5),e.Z(),e.stroke()}),H[8493]=Mi((e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.stroke()}),H[8495]={width:B,draw:e=>{e.lineWidth(30),e.M(420,250),e.L(180,250),e.C(180,400,300,450,400,380),e.stroke(),e.M(180,250),e.C(180,100,300,50,420,120),e.stroke()}},H[8496]=ji((e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n),e.L(t+r*.15,n),e.stroke()}),H[8497]=ji((e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n+r*.05),e.L(t+r*.15,n+r*.05),e.stroke()}),H[8498]={width:B,draw:e=>{e.lineWidth(42),e.M(180,60),e.L(420,60),e.L(420,440),e.stroke(),e.M(420,250),e.L(220,250),e.stroke()}},H[8499]=ji((e,t,n,r)=>{e.M(t-r*.35,n-r*.5),e.L(t-r*.35,n+r*.5),e.L(t,n),e.L(t+r*.35,n+r*.5),e.L(t+r*.35,n-r*.5),e.stroke()}),H[8500]={width:B,draw:e=>{e.lineWidth(30),e.ellipse(300,250,150,180),e.stroke()}},H[8501]={width:B,draw:e=>{e.lineWidth(42),e.M(200,60),e.C(250,200,350,300,400,440),e.stroke(),e.M(180,440),e.L(250,300),e.stroke(),e.M(420,60),e.L(350,200),e.stroke()}},H[8502]={width:B,draw:e=>{e.lineWidth(42),e.M(160,440),e.L(440,440),e.L(440,60),e.C(440,60,300,80,200,160),e.stroke()}},H[8503]={width:B,draw:e=>{e.lineWidth(42),e.M(350,440),e.L(350,160),e.C(350,60,250,60,200,100),e.stroke(),e.M(350,300),e.L(250,60),e.stroke()}},H[8504]={width:B,draw:e=>{e.lineWidth(42),e.M(180,440),e.L(420,440),e.L(420,60),e.stroke()}},H[8508]={width:B,draw:e=>{e.lineWidth(30),e.M(140,380),e.L(460,380),e.stroke(),e.M(230,380),e.L(230,60),e.stroke(),e.M(370,380),e.L(370,60),e.stroke(),e.M(248,380),e.L(248,60),e.stroke(),e.M(388,380),e.L(388,60),e.stroke()}},H[8509]={width:B,draw:e=>{e.lineWidth(30),e.M(160,440),e.L(300,150),e.L(440,440),e.stroke(),e.M(300,150),e.L(300,60),e.stroke(),e.M(170,440),e.L(310,150),e.stroke()}},H[8510]={width:B,draw:e=>{e.lineWidth(30),e.M(180,60),e.L(180,440),e.L(420,440),e.stroke(),e.M(198,60),e.L(198,440),e.stroke()}},H[8511]={width:B,draw:e=>{e.lineWidth(30),e.M(140,440),e.L(460,440),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(218,440),e.L(218,60),e.stroke(),e.M(400,440),e.L(400,60),e.stroke(),e.M(418,440),e.L(418,60),e.stroke()}},H[8512]={width:B,draw:e=>{e.lineWidth(30),e.M(440,440),e.L(160,440),e.L(300,250),e.L(160,60),e.L(440,60),e.stroke(),e.M(450,440),e.L(170,440),e.L(310,250),e.L(170,60),e.L(450,60),e.stroke()}},H[8513]={width:B,draw:e=>{e.lineWidth(42),e.M(200,100),e.C(280,40,460,100,460,250),e.C(460,400,280,460,200,400),e.L(200,270),e.L(350,270),e.stroke()}},H[8514]={width:B,draw:e=>{e.lineWidth(42),e.M(400,60),e.L(400,440),e.L(200,440),e.stroke()}},H[8515]={width:B,draw:e=>{e.lineWidth(42),e.M(400,440),e.L(400,60),e.L(200,60),e.stroke()}},H[8516]={width:B,draw:e=>{e.lineWidth(42),e.M(180,440),e.L(300,250),e.L(420,440),e.stroke(),e.M(300,250),e.L(300,60),e.stroke()}},H[8517]=Ai((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n-r*.5,t,n-r*.5),e.Z(),e.stroke()}),H[8518]={width:B,draw:e=>{e.lineWidth(28),e.ellipse(270,200,110,130),e.stroke(),e.M(380,60),e.L(380,440),e.stroke(),e.M(398,60),e.L(398,440),e.stroke()}},H[8519]={width:B,draw:e=>{e.lineWidth(28),e.M(420,250),e.L(180,250),e.C(180,400,300,450,400,380),e.stroke(),e.M(180,250),e.C(180,100,300,50,420,120),e.stroke(),e.M(430,260),e.L(190,260),e.stroke()}},H[8520]={width:B,draw:e=>{e.lineWidth(30),e.M(300,340),e.L(300,60),e.stroke(),e.M(318,340),e.L(318,60),e.stroke(),e.circle(309,400,25),e.fill()}},H[8521]={width:B,draw:e=>{e.lineWidth(30),e.M(320,340),e.L(320,120),e.C(320,60,260,60,220,80),e.stroke(),e.M(338,340),e.L(338,120),e.stroke(),e.circle(329,400,25),e.fill()}},H[8522]={width:B,draw:e=>{e.lineWidth(42),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke(),e.M(300,440),e.L(300,60),e.stroke()}},H[8523]={width:B,draw:e=>{e.lineWidth(38),e.M(420,60),e.L(180,320),e.C(140,370,160,440,220,440),e.C(320,440,360,380,300,300),e.L(160,180),e.C(120,130,160,60,260,60),e.C(360,60,380,130,340,180),e.stroke()}},H[8524]={width:B,draw:e=>{e.lineWidth(38),e.M(440,440),e.L(160,60),e.stroke(),e.circle(200,360,50),e.stroke(),e.circle(400,140,50),e.stroke()}},H[8525]={width:B,draw:e=>{e.lineWidth(34),Ci(e,0,200,250,260),Ci(e,18,400,250,260)}},H[8526]={width:B,draw:e=>{e.lineWidth(38),e.M(380,440),e.L(220,440),e.L(220,60),e.stroke(),e.M(220,250),e.L(380,250),e.stroke()}},H[8527]={width:B,draw:e=>{e.lineWidth(38),e.M(200,60),e.L(200,440),e.L(400,440),e.L(400,60),e.stroke(),e.M(200,250),e.L(400,250),e.stroke()}},Ui={},Ui[8364]={width:B,draw:e=>{e.lineWidth(40),e.M(460,400),e.C(400,470,220,470,180,370),e.C(140,270,140,180,180,120),e.C(220,40,400,40,460,100),e.stroke(),e.M(120,300),e.L(400,300),e.stroke(),e.M(120,210),e.L(400,210),e.stroke()}},Ui[8365]={width:B,draw:e=>{e.lineWidth(40),Ci(e,10,300,250,300),e.M(140,250),e.L(460,250),e.stroke()}},Ui[8367]={width:B,draw:e=>{e.lineWidth(38),Ci(e,3,300,250,300),e.M(400,470),e.L(400,30),e.stroke()}},Ui[8368]={width:B,draw:e=>{e.lineWidth(38),Ci(e,3,300,250,300),e.lineWidth(22),e.circle(420,400,30),e.stroke()}},Ui[8373]={width:B,draw:e=>{e.lineWidth(40),e.M(420,400),e.C(380,470,220,470,180,370),e.C(140,270,140,180,180,120),e.C(220,40,380,40,420,100),e.stroke(),e.M(300,490),e.L(300,10),e.stroke()}},Ui[8375]={width:B,draw:e=>{e.lineWidth(38),Ci(e,18,300,250,300),e.M(140,300),e.L(460,300),e.stroke()}},Ui[8379]={width:B,draw:e=>{e.lineWidth(38),Ci(e,12,300,250,300),e.M(120,60),e.L(480,60),e.stroke()}},Ui[8380]={width:B,draw:e=>{e.lineWidth(38),e.M(180,60),e.L(180,350),e.C(180,460,420,460,420,350),e.L(420,60),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},Ui[8382]={width:B,draw:e=>{e.lineWidth(40),e.M(400,440),e.C(400,440,200,400,200,250),e.C(200,100,400,60,400,60),e.stroke(),e.M(140,250),e.L(460,250),e.stroke()}},Ui[8383]={width:B,draw:e=>{e.lineWidth(38),Ci(e,1,300,250,290),e.M(260,480),e.L(260,20),e.stroke(),e.M(340,480),e.L(340,20),e.stroke()}};for(let e=8384;e<=8399;e++)Ui[e]={width:B,draw:e=>{e.lineWidth(35),e.circle(300,250,180),e.stroke(),e.M(160,280),e.L(440,280),e.stroke(),e.M(160,220),e.L(440,220),e.stroke()}};U={},U[8604]={width:B,draw:e=>{e.lineWidth(38),e.M(480,250),e.C(420,330,340,170,280,250),e.C(220,330,160,250,160,250),e.stroke(),e.M(80,250),e.L(180,350),e.L(180,150),e.Z(),e.fill()}},U[8610]={width:B,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.lineWidth(30),e.M(480,250),e.L(520,350),e.stroke()}},U[8611]={width:B,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(30),e.M(120,250),e.L(80,350),e.stroke()}},U[8616]={width:B,draw:e=>{e.lineWidth(38),e.M(300,440),e.L(300,120),e.stroke(),e.M(300,470),e.L(200,370),e.L(400,370),e.Z(),e.fill(),e.M(300,60),e.L(200,160),e.L(400,160),e.Z(),e.fill(),e.M(180,30),e.L(420,30),e.stroke()}},U[8619]={width:B,draw:e=>{e.lineWidth(38),e.M(480,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.lineWidth(30),e.M(480,250),e.C(520,250,520,150,480,150),e.C(440,150,440,250,480,250),e.stroke()}},U[8620]={width:B,draw:e=>{e.lineWidth(38),e.M(120,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(30),e.M(120,250),e.C(80,250,80,150,120,150),e.C(160,150,160,250,120,250),e.stroke()}},U[8621]={width:B,draw:e=>{e.lineWidth(35),e.M(140,250),e.C(200,350,300,150,360,250),e.L(460,250),e.stroke(),e.M(100,250),e.L(170,330),e.L(170,170),e.Z(),e.fill(),e.M(500,250),e.L(430,330),e.L(430,170),e.Z(),e.fill()}},U[8622]={width:B,draw:e=>{e.lineWidth(38),e.M(150,250),e.L(450,250),e.stroke(),e.M(100,250),e.L(180,340),e.L(180,160),e.Z(),e.fill(),e.M(500,250),e.L(420,340),e.L(420,160),e.Z(),e.fill(),z(e)}},U[8623]={width:B,draw:e=>{e.lineWidth(38),e.M(300,470),e.L(400,380),e.L(200,260),e.L(400,140),e.L(300,60),e.stroke(),e.M(300,30),e.L(220,120),e.L(380,120),e.Z(),e.fill()}},U[8628]={width:B,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(400,400),e.L(400,120),e.stroke(),e.M(400,60),e.L(320,160),e.L(480,160),e.Z(),e.fill()}},U[8630]={width:B,draw:e=>{e.lineWidth(38),e.M(460,250),e.C(460,420,140,420,140,250),e.stroke(),e.M(100,250),e.L(180,330),e.L(180,170),e.Z(),e.fill()}},U[8631]={width:B,draw:e=>{e.lineWidth(38),e.M(140,250),e.C(140,420,460,420,460,250),e.stroke(),e.M(500,250),e.L(420,330),e.L(420,170),e.Z(),e.fill()}},U[8632]={width:B,draw:e=>{e.lineWidth(38),e.M(400,100),e.L(180,350),e.stroke(),e.M(140,400),e.L(230,310),e.L(140,310),e.Z(),e.fill(),e.M(120,440),e.L(480,440),e.stroke()}},U[8633]={width:B,draw:e=>{e.lineWidth(32),e.M(460,340),e.L(180,340),e.stroke(),e.M(120,340),e.L(200,390),e.L(200,290),e.Z(),e.fill(),e.M(140,160),e.L(420,160),e.stroke(),e.M(480,160),e.L(400,210),e.L(400,110),e.Z(),e.fill(),e.M(120,380),e.L(120,300),e.stroke(),e.M(480,200),e.L(480,120),e.stroke()}},U[8683]={width:B,draw:e=>{e.lineWidth(38),e.M(300,130),e.L(300,380),e.stroke(),e.M(300,470),e.L(180,330),e.L(420,330),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(300,60),e.L(300,130),e.stroke()}},U[8684]={width:B,draw:e=>{e.lineWidth(35),e.M(300,160),e.L(300,400),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(200,110),e.L(400,110),e.stroke(),e.M(300,60),e.L(300,160),e.stroke()}},U[8685]={width:B,draw:e=>{e.lineWidth(35),e.M(300,130),e.L(300,380),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(300,60),e.L(300,130),e.stroke(),e.M(200,40),e.L(200,80),e.stroke(),e.M(400,40),e.L(400,80),e.stroke()}},U[8686]={width:B,draw:e=>{e.lineWidth(38),e.M(300,60),e.L(300,400),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.stroke(),e.M(300,370),e.L(200,270),e.L(400,270),e.Z(),e.stroke()}},U[8687]={width:B,draw:e=>{e.lineWidth(35),e.M(300,130),e.L(300,400),e.stroke(),e.M(300,470),e.L(180,370),e.L(420,370),e.Z(),e.stroke(),e.M(300,350),e.L(200,270),e.L(400,270),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(300,60),e.L(300,130),e.stroke()}},U[8688]={width:B,draw:e=>{e.lineWidth(38),e.M(120,250),e.L(380,250),e.stroke(),e.M(480,250),e.L(360,370),e.L(360,130),e.Z(),e.stroke(),e.M(100,420),e.L(100,80),e.stroke()}},U[8689]={width:B,draw:e=>{e.lineWidth(38),e.M(420,100),e.L(180,380),e.stroke(),e.M(140,420),e.L(220,340),e.L(140,340),e.Z(),e.fill(),e.M(120,460),e.L(120,420),e.L(480,420),e.stroke()}},U[8690]={width:B,draw:e=>{e.lineWidth(38),e.M(180,400),e.L(420,120),e.stroke(),e.M(460,80),e.L(380,160),e.L(460,160),e.Z(),e.fill(),e.M(120,80),e.L(480,80),e.L(480,40),e.stroke()}},U[8691]={width:B,draw:e=>{e.lineWidth(38),e.M(300,130),e.L(300,370),e.stroke(),e.M(300,470),e.L(190,350),e.L(410,350),e.Z(),e.stroke(),e.M(300,30),e.L(190,150),e.L(410,150),e.Z(),e.stroke()}},U[8692]={width:B,draw:e=>{e.lineWidth(38),e.M(170,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(25),e.circle(130,250,35),e.stroke()}},U[8694]={width:B,draw:e=>{e.lineWidth(28);for(let t of[370,250,130])e.M(100,t),e.L(400,t),e.stroke(),e.M(480,t),e.L(400,t+50),e.L(400,t-50),e.Z(),e.fill()}},U[8695]={width:B,draw:e=>{e.lineWidth(38),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(330,370),e.L(330,130),e.stroke()}},U[8696]={width:B,draw:e=>{e.lineWidth(38),e.M(120,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(270,370),e.L(270,130),e.stroke()}},U[8697]={width:B,draw:e=>{e.lineWidth(35),e.M(160,250),e.L(440,250),e.stroke(),e.M(100,250),e.L(180,330),e.L(180,170),e.Z(),e.fill(),e.M(500,250),e.L(420,330),e.L(420,170),e.Z(),e.fill(),e.M(300,370),e.L(300,130),e.stroke()}},U[8698]={width:B,draw:e=>{e.lineWidth(35),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill(),e.M(310,370),e.L(310,130),e.stroke(),e.M(350,370),e.L(350,130),e.stroke()}},U[8699]={width:B,draw:e=>{e.lineWidth(35),e.M(120,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,340),e.L(400,160),e.Z(),e.fill(),e.M(250,370),e.L(250,130),e.stroke(),e.M(290,370),e.L(290,130),e.stroke()}},U[8700]={width:B,draw:e=>{e.lineWidth(32),e.M(160,250),e.L(440,250),e.stroke(),e.M(100,250),e.L(180,330),e.L(180,170),e.Z(),e.fill(),e.M(500,250),e.L(420,330),e.L(420,170),e.Z(),e.fill(),e.M(285,370),e.L(285,130),e.stroke(),e.M(315,370),e.L(315,130),e.stroke()}},U[8701]={width:B,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(140,250),e.stroke(),e.M(80,250),e.L(200,370),e.stroke(),e.M(80,250),e.L(200,130),e.stroke()}},U[8702]={width:B,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(460,250),e.stroke(),e.M(520,250),e.L(400,370),e.stroke(),e.M(520,250),e.L(400,130),e.stroke()}},U[8703]={width:B,draw:e=>{e.lineWidth(38),e.M(140,250),e.L(460,250),e.stroke(),e.M(80,250),e.L(180,350),e.stroke(),e.M(80,250),e.L(180,150),e.stroke(),e.M(520,250),e.L(420,350),e.stroke(),e.M(520,250),e.L(420,150),e.stroke()}}}));function Gi(e,t,n,r){return{width:W,draw:i=>{i.rect(e,t,n,r),i.fill()}}}function Ki(e,t,n,r,i=50){return{width:W,draw:a=>{a.lineWidth(i),a.rect(e,t,n,r),a.stroke()}}}function qi(e,t,n){return{width:W,draw:r=>{r.circle(e,t,n),r.fill()}}}function Ji(e,t,n,r=50){return{width:W,draw:i=>{i.lineWidth(r),i.circle(e,t,n),i.stroke()}}}function Yi(){if(!ua){ua=new Map;for(let e of la)for(let[t,n]of Object.entries(e))ua.set(Number(t),n)}return ua}function Xi(e){return Yi().get(e)}var W,Zi,Qi,$i,ea,ta,na,ra,ia,aa,oa,sa,ca,la,ua,da=n((()=>{Br(),Yr(),bi(),Wi(),W=600,Zi=Ki(80,0,440,700,40),Qi={9632:Gi(100,50,400,400),9633:Ki(100,50,400,400),9634:{width:W,draw:e=>{e.lineWidth(50),e.M(150,50),e.L(450,50),e.C(480,50,500,70,500,100),e.L(500,400),e.C(500,430,480,450,450,450),e.L(150,450),e.C(120,450,100,430,100,400),e.L(100,100),e.C(100,70,120,50,150,50),e.Z(),e.stroke()}},9635:{width:W,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(200,150,200,200),e.fill()}},9636:{width:W,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(30);for(let t=100;t<=400;t+=80)e.M(100,t),e.L(500,t);e.stroke()}},9637:{width:W,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(30);for(let t=150;t<=450;t+=80)e.M(t,50),e.L(t,450);e.stroke()}},9638:{width:W,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(20);for(let t=100;t<=400;t+=80)e.M(100,t),e.L(500,t);for(let t=150;t<=450;t+=80)e.M(t,50),e.L(t,450);e.stroke()}},9640:{width:W,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(20);for(let t=-400;t<=400;t+=80)e.M(Math.max(100,100+t),Math.min(450,450+t)),e.L(Math.min(500,500+t),Math.max(50,50+t));e.stroke()}},9642:Gi(175,125,250,250),9643:Ki(175,125,250,250,40),9644:Gi(80,150,440,200),9645:Ki(80,150,440,200),9646:Gi(175,0,250,500),9647:Ki(175,0,250,500),9648:{width:W,draw:e=>{e.M(150,100),e.L(520,100),e.L(450,400),e.L(80,400),e.Z(),e.fill()}},9650:{width:W,draw:e=>{e.M(300,500),e.L(500,50),e.L(100,50),e.Z(),e.fill()}},9651:{width:W,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(500,50),e.L(100,50),e.Z(),e.stroke()}},9652:{width:W,draw:e=>{e.M(300,450),e.L(450,100),e.L(150,100),e.Z(),e.fill()}},9653:{width:W,draw:e=>{e.lineWidth(35),e.M(300,450),e.L(450,100),e.L(150,100),e.Z(),e.stroke()}},9654:{width:W,draw:e=>{e.M(100,500),e.L(500,250),e.L(100,0),e.Z(),e.fill()}},9655:{width:W,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(500,250),e.L(100,0),e.Z(),e.stroke()}},9656:{width:W,draw:e=>{e.M(150,450),e.L(450,250),e.L(150,50),e.Z(),e.fill()}},9660:{width:W,draw:e=>{e.M(100,500),e.L(500,500),e.L(300,50),e.Z(),e.fill()}},9661:{width:W,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(500,500),e.L(300,50),e.Z(),e.stroke()}},9662:{width:W,draw:e=>{e.M(150,400),e.L(450,400),e.L(300,100),e.Z(),e.fill()}},9664:{width:W,draw:e=>{e.M(500,500),e.L(100,250),e.L(500,0),e.Z(),e.fill()}},9665:{width:W,draw:e=>{e.lineWidth(40),e.M(500,500),e.L(100,250),e.L(500,0),e.Z(),e.stroke()}},9666:{width:W,draw:e=>{e.M(450,450),e.L(150,250),e.L(450,50),e.Z(),e.fill()}},9670:{width:W,draw:e=>{e.M(300,500),e.L(530,250),e.L(300,0),e.L(70,250),e.Z(),e.fill()}},9671:{width:W,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(530,250),e.L(300,0),e.L(70,250),e.Z(),e.stroke()}},9672:{width:W,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(530,250),e.L(300,0),e.L(70,250),e.Z(),e.stroke(),e.M(300,380),e.L(410,250),e.L(300,120),e.L(190,250),e.Z(),e.fill()}},9673:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,250,120),e.fill()}},9674:{width:W,draw:e=>{e.lineWidth(40),e.M(300,550),e.L(500,250),e.L(300,-50),e.L(100,250),e.Z(),e.stroke()}},9675:Ji(300,250,220),9676:Ji(300,250,220,30),9677:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(80,250),e.C(80,371,179,470,300,470),e.C(421,470,520,371,520,250),e.Z(),e.fill()}},9678:{width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.circle(300,250,140),e.stroke()}},9679:qi(300,250,220),9680:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,30),e.C(179,30,80,129,80,250),e.C(80,371,179,470,300,470),e.Z(),e.fill()}},9681:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,470),e.C(421,470,520,371,520,250),e.C(520,129,421,30,300,30),e.Z(),e.fill()}},9682:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(520,250),e.C(520,129,421,30,300,30),e.C(179,30,80,129,80,250),e.Z(),e.fill()}},9683:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(80,250),e.C(80,371,179,470,300,470),e.C(421,470,520,371,520,250),e.Z(),e.fill()}},9684:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,470),e.C(421,470,520,371,520,250),e.Z(),e.fill()}},9685:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,470),e.C(179,470,80,371,80,250),e.Z(),e.fill(),e.M(300,250),e.L(520,250),e.C(520,129,421,30,300,30),e.C(179,30,80,129,80,250),e.Z(),e.fill()}},9686:{width:W,draw:e=>{e.M(300,30),e.C(179,30,80,129,80,250),e.C(80,371,179,470,300,470),e.Z(),e.fill()}},9687:{width:W,draw:e=>{e.M(300,470),e.C(421,470,520,371,520,250),e.C(520,129,421,30,300,30),e.Z(),e.fill()}},9688:{width:W,draw:e=>{e.rect(80,30,440,440),e.fill()}},9689:{width:W,draw:e=>{e.circle(300,250,240),e.fill()}},9692:{width:W,draw:e=>{e.lineWidth(50),e.M(300,470),e.C(179,470,80,371,80,250),e.stroke()}},9693:{width:W,draw:e=>{e.lineWidth(50),e.M(520,250),e.C(520,371,421,470,300,470),e.stroke()}},9694:{width:W,draw:e=>{e.lineWidth(50),e.M(300,30),e.C(421,30,520,129,520,250),e.stroke()}},9695:{width:W,draw:e=>{e.lineWidth(50),e.M(80,250),e.C(80,129,179,30,300,30),e.stroke()}},9696:{width:W,draw:e=>{e.lineWidth(50),e.M(80,250),e.C(80,371,179,470,300,470),e.C(421,470,520,371,520,250),e.stroke()}},9697:{width:W,draw:e=>{e.lineWidth(50),e.M(520,250),e.C(520,129,421,30,300,30),e.C(179,30,80,129,80,250),e.stroke()}},9702:Ji(300,250,100,40),9711:Ji(300,250,280,40)},$i={8592:{width:W,draw:e=>{e.lineWidth(50),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,120),e.Z(),e.fill()}},8593:{width:W,draw:e=>{e.lineWidth(50),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(170,300),e.L(430,300),e.Z(),e.fill()}},8594:{width:W,draw:e=>{e.lineWidth(50),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,380),e.L(350,120),e.Z(),e.fill()}},8595:{width:W,draw:e=>{e.lineWidth(50),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(170,200),e.L(430,200),e.Z(),e.fill()}},8596:{width:W,draw:e=>{e.lineWidth(40),e.M(150,250),e.L(450,250),e.stroke(),e.M(100,250),e.L(220,360),e.L(220,140),e.Z(),e.fill(),e.M(500,250),e.L(380,360),e.L(380,140),e.Z(),e.fill()}},8597:{width:W,draw:e=>{e.lineWidth(40),e.M(300,100),e.L(300,400),e.stroke(),e.M(300,450),e.L(190,330),e.L(410,330),e.Z(),e.fill(),e.M(300,50),e.L(190,170),e.L(410,170),e.Z(),e.fill()}},8598:{width:W,draw:e=>{e.lineWidth(50),e.M(480,50),e.L(120,410),e.stroke(),e.M(120,450),e.L(120,320),e.L(250,450),e.Z(),e.fill()}},8599:{width:W,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(480,410),e.stroke(),e.M(480,450),e.L(350,450),e.L(480,320),e.Z(),e.fill()}},8600:{width:W,draw:e=>{e.lineWidth(50),e.M(120,450),e.L(480,90),e.stroke(),e.M(480,50),e.L(480,180),e.L(350,50),e.Z(),e.fill()}},8601:{width:W,draw:e=>{e.lineWidth(50),e.M(480,450),e.L(120,90),e.stroke(),e.M(120,50),e.L(250,50),e.L(120,180),e.Z(),e.fill()}},8617:{width:W,draw:e=>{e.lineWidth(50),e.M(500,350),e.L(200,350),e.C(120,350,80,300,80,250),e.C(80,200,120,150,200,150),e.L(350,150),e.stroke(),e.M(100,350),e.L(230,430),e.L(230,270),e.Z(),e.fill()}},8618:{width:W,draw:e=>{e.lineWidth(50),e.M(100,350),e.L(400,350),e.C(480,350,520,300,520,250),e.C(520,200,480,150,400,150),e.L(250,150),e.stroke(),e.M(500,350),e.L(370,430),e.L(370,270),e.Z(),e.fill()}},8656:{width:W,draw:e=>{e.M(100,250),e.L(280,420),e.L(280,300),e.L(500,300),e.L(500,200),e.L(280,200),e.L(280,80),e.Z(),e.fill()}},8657:{width:W,draw:e=>{e.M(300,480),e.L(480,280),e.L(370,280),e.L(370,30),e.L(230,30),e.L(230,280),e.L(120,280),e.Z(),e.fill()}},8658:{width:W,draw:e=>{e.M(500,250),e.L(320,420),e.L(320,300),e.L(100,300),e.L(100,200),e.L(320,200),e.L(320,80),e.Z(),e.fill()}},8659:{width:W,draw:e=>{e.M(300,20),e.L(120,220),e.L(230,220),e.L(230,470),e.L(370,470),e.L(370,220),e.L(480,220),e.Z(),e.fill()}},8660:{width:W,draw:e=>{e.M(80,250),e.L(220,400),e.L(220,300),e.L(380,300),e.L(380,400),e.L(520,250),e.L(380,100),e.L(380,200),e.L(220,200),e.L(220,100),e.Z(),e.fill()}}},ea={8704:{width:W,draw:e=>{e.lineWidth(50),e.M(100,500),e.L(300,0),e.L(500,500),e.stroke(),e.M(170,200),e.L(430,200),e.stroke()}},8706:{width:W,draw:e=>{e.lineWidth(50),e.circle(300,200,150),e.stroke(),e.M(450,200),e.L(450,450),e.C(450,500,400,520,350,500),e.stroke()}},8707:{width:W,draw:e=>{e.lineWidth(50),e.M(450,500),e.L(150,500),e.L(150,0),e.L(450,0),e.stroke(),e.M(150,250),e.L(400,250),e.stroke()}},8709:{width:W,draw:e=>{e.lineWidth(50),e.ellipse(300,250,180,220),e.stroke(),e.M(150,50),e.L(450,450),e.stroke()}},8710:{width:W,draw:e=>{e.lineWidth(50),e.M(300,500),e.L(100,0),e.L(500,0),e.Z(),e.stroke()}},8711:{width:W,draw:e=>{e.lineWidth(50),e.M(100,500),e.L(500,500),e.L(300,0),e.Z(),e.stroke()}},8712:{width:W,draw:e=>{e.lineWidth(50),e.M(480,450),e.C(250,450,120,380,120,250),e.C(120,120,250,50,480,50),e.stroke(),e.M(120,250),e.L(430,250),e.stroke()}},8713:{width:W,draw:e=>{e.lineWidth(50),e.M(480,450),e.C(250,450,120,380,120,250),e.C(120,120,250,50,480,50),e.stroke(),e.M(120,250),e.L(430,250),e.stroke(),e.M(160,50),e.L(440,450),e.stroke()}},8715:{width:W,draw:e=>{e.lineWidth(50),e.M(120,450),e.C(350,450,480,380,480,250),e.C(480,120,350,50,120,50),e.stroke(),e.M(170,250),e.L(480,250),e.stroke()}},8718:Gi(150,50,300,400),8719:{width:W,draw:e=>{e.lineWidth(50),e.M(120,500),e.L(480,500),e.stroke(),e.M(170,500),e.L(170,0),e.stroke(),e.M(430,500),e.L(430,0),e.stroke()}},8721:{width:W,draw:e=>{e.lineWidth(50),e.M(480,500),e.L(120,500),e.L(300,250),e.L(120,0),e.L(480,0),e.stroke()}},8722:{width:W,draw:e=>{e.lineWidth(60),e.M(120,250),e.L(480,250),e.stroke()}},8723:{width:W,draw:e=>{e.lineWidth(50),e.M(120,350),e.L(480,350),e.stroke(),e.M(300,200),e.L(300,0),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},8727:{width:W,draw:e=>{e.lineWidth(50),e.M(300,400),e.L(300,100),e.stroke(),e.M(140,350),e.L(460,150),e.stroke(),e.M(140,150),e.L(460,350),e.stroke()}},8730:{width:W,draw:e=>{e.lineWidth(50),e.M(60,250),e.L(150,200),e.L(250,0),e.L(540,500),e.stroke()}},8734:{width:700,draw:e=>{e.lineWidth(50),e.M(350,250),e.C(350,400,500,450,550,350),e.C(600,250,550,100,500,100),e.C(450,100,350,250,350,250),e.C(350,250,250,400,200,400),e.C(150,400,100,250,150,150),e.C(200,50,350,100,350,250),e.stroke()}},8736:{width:W,draw:e=>{e.lineWidth(50),e.M(480,50),e.L(120,50),e.L(380,450),e.stroke()}},8743:{width:W,draw:e=>{e.lineWidth(50),e.M(100,50),e.L(300,450),e.L(500,50),e.stroke()}},8744:{width:W,draw:e=>{e.lineWidth(50),e.M(100,450),e.L(300,50),e.L(500,450),e.stroke()}},8745:{width:W,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(120,300),e.C(120,470,250,500,300,500),e.C(350,500,480,470,480,300),e.L(480,50),e.stroke()}},8746:{width:W,draw:e=>{e.lineWidth(50),e.M(120,450),e.L(120,200),e.C(120,30,250,0,300,0),e.C(350,0,480,30,480,200),e.L(480,450),e.stroke()}},8747:{width:W,draw:e=>{e.lineWidth(50),e.M(380,530),e.C(350,530,300,500,300,450),e.L(300,50),e.C(300,0,250,-30,220,-30),e.stroke()}},8776:{width:W,draw:e=>{e.lineWidth(50),e.M(120,350),e.C(200,430,350,430,480,350),e.stroke(),e.M(120,200),e.C(200,280,350,280,480,200),e.stroke()}},8800:{width:W,draw:e=>{e.lineWidth(50),e.M(120,330),e.L(480,330),e.stroke(),e.M(120,170),e.L(480,170),e.stroke(),e.M(380,450),e.L(220,50),e.stroke()}},8801:{width:W,draw:e=>{e.lineWidth(50),e.M(120,380),e.L(480,380),e.stroke(),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},8804:{width:W,draw:e=>{e.lineWidth(50),e.M(480,420),e.L(120,250),e.L(480,80),e.stroke(),e.M(120,30),e.L(480,30),e.stroke()}},8805:{width:W,draw:e=>{e.lineWidth(50),e.M(120,420),e.L(480,250),e.L(120,80),e.stroke(),e.M(120,30),e.L(480,30),e.stroke()}},8834:{width:W,draw:e=>{e.lineWidth(50),e.M(470,450),e.C(200,450,130,350,130,250),e.C(130,150,200,50,470,50),e.stroke()}},8835:{width:W,draw:e=>{e.lineWidth(50),e.M(130,450),e.C(400,450,470,350,470,250),e.C(470,150,400,50,130,50),e.stroke()}},8853:{width:W,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},8854:{width:W,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},8855:{width:W,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(160,110),e.L(440,390),e.stroke(),e.M(160,390),e.L(440,110),e.stroke()}},8856:{width:W,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(160,100),e.L(440,400),e.stroke()}},8857:{width:W,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.circle(300,250,40),e.fill()}}},ta={9728:{width:W,draw:e=>{e.circle(300,250,130),e.fill(),e.lineWidth(40);for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300+160*Math.cos(n),250+160*Math.sin(n)),e.L(300+240*Math.cos(n),250+240*Math.sin(n))}e.stroke()}},9733:{width:W,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),260+230*Math.sin(n)):e.L(300+230*Math.cos(n),260+230*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.fill()}},9734:{width:W,draw:e=>{e.lineWidth(35);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),260+230*Math.sin(n)):e.L(300+230*Math.cos(n),260+230*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke()}},9744:Ki(100,30,400,400,45),9745:{width:W,draw:e=>{e.lineWidth(45),e.rect(100,30,400,400),e.stroke(),e.lineWidth(55),e.M(180,230),e.L(280,130),e.L(430,350),e.stroke()}},9746:{width:W,draw:e=>{e.lineWidth(45),e.rect(100,30,400,400),e.stroke(),e.lineWidth(50),e.M(170,100),e.L(430,360),e.stroke(),e.M(170,360),e.L(430,100),e.stroke()}},9747:{width:W,draw:e=>{e.lineWidth(55),e.M(120,50),e.L(480,450),e.stroke(),e.M(120,450),e.L(480,50),e.stroke()}},9755:{width:W,draw:e=>{e.M(500,250),e.L(300,400),e.L(300,300),e.L(100,300),e.L(100,200),e.L(300,200),e.L(300,100),e.Z(),e.fill()}},9758:{width:W,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(300,400),e.L(300,300),e.L(100,300),e.L(100,200),e.L(300,200),e.L(300,100),e.Z(),e.stroke()}},9792:{width:W,draw:e=>{e.lineWidth(50),e.circle(300,330,150),e.stroke(),e.M(300,180),e.L(300,0),e.stroke(),e.M(220,90),e.L(380,90),e.stroke()}},9794:{width:W,draw:e=>{e.lineWidth(50),e.circle(250,220,150),e.stroke(),e.M(360,330),e.L(500,470),e.stroke(),e.M(400,470),e.L(500,470),e.L(500,370),e.stroke()}},9824:{width:W,draw:e=>{e.M(300,500),e.C(300,500,80,350,80,200),e.C(80,100,200,50,300,180),e.C(400,50,520,100,520,200),e.C(520,350,300,500,300,500),e.Z(),e.fill(),e.M(250,0),e.L(350,0),e.L(320,150),e.L(280,150),e.Z(),e.fill()}},9827:{width:W,draw:e=>{e.circle(300,370,110),e.fill(),e.circle(190,230,100),e.fill(),e.circle(410,230,100),e.fill(),e.rect(270,0,60,200),e.fill()}},9829:{width:W,draw:e=>{e.M(300,80),e.C(300,80,80,200,80,340),e.C(80,440,180,490,300,490),e.C(420,490,520,440,520,340),e.C(520,200,300,80,300,80),e.Z(),e.fill()}},9830:{width:W,draw:e=>{e.M(300,500),e.L(500,250),e.L(300,0),e.L(100,250),e.Z(),e.fill()}},9833:{width:W,draw:e=>{e.ellipse(230,80,100,70),e.fill(),e.lineWidth(40),e.M(330,80),e.L(330,480),e.stroke()}},9834:{width:W,draw:e=>{e.ellipse(200,80,100,70),e.fill(),e.lineWidth(35),e.M(300,80),e.L(300,480),e.stroke(),e.M(300,480),e.C(350,450,430,400,430,350),e.stroke()}},9837:{width:W,draw:e=>{e.lineWidth(40),e.M(200,0),e.L(200,500),e.stroke(),e.M(200,200),e.C(350,200,400,100,200,0),e.stroke()}},9839:{width:W,draw:e=>{e.lineWidth(40),e.M(220,0),e.L(220,500),e.stroke(),e.M(380,0),e.L(380,500),e.stroke(),e.lineWidth(50),e.M(140,180),e.L(460,240),e.stroke(),e.M(140,310),e.L(460,370),e.stroke()}},10003:{width:W,draw:e=>{e.lineWidth(65),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},10004:{width:W,draw:e=>{e.lineWidth(85),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},10005:{width:W,draw:e=>{e.lineWidth(55),e.M(140,70),e.L(460,430),e.stroke(),e.M(140,430),e.L(460,70),e.stroke()}},10006:{width:W,draw:e=>{e.lineWidth(75),e.M(140,70),e.L(460,430),e.stroke(),e.M(140,430),e.L(460,70),e.stroke()}},10007:{width:W,draw:e=>{e.lineWidth(60),e.M(130,60),e.L(470,440),e.stroke(),e.M(130,440),e.L(470,60),e.stroke()}},10008:{width:W,draw:e=>{e.lineWidth(80),e.M(130,60),e.L(470,440),e.stroke(),e.M(130,440),e.L(470,60),e.stroke()}},10010:{width:W,draw:e=>{e.rect(210,30,180,440),e.fill(),e.rect(90,160,420,180),e.fill()}},10012:{width:W,draw:e=>{e.lineWidth(60),e.M(300,30),e.L(300,470),e.stroke(),e.M(90,250),e.L(510,250),e.stroke()}},10016:{width:W,draw:e=>{e.M(300,480),e.L(250,320),e.L(100,350),e.L(200,250),e.L(100,150),e.L(250,180),e.L(300,20),e.L(350,180),e.L(500,150),e.L(400,250),e.L(500,350),e.L(350,320),e.Z(),e.fill()}},10084:{width:W,draw:e=>{e.M(300,80),e.C(300,80,60,220,60,350),e.C(60,470,180,500,300,500),e.C(420,500,540,470,540,350),e.C(540,220,300,80,300,80),e.Z(),e.fill()}},...(()=>{let e={};for(let t=0;t<10;t++){let n=10102+t;e[n]={width:W,draw:e=>{e.circle(300,250,240),e.fill()}}}return e})(),...(()=>{let e={};for(let t=0;t<10;t++)e[9312+t]={width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke()}};return e})()},na={8960:{width:W,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(140,90),e.L(460,410),e.stroke()}},8962:{width:W,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(520,250),e.L(520,30),e.L(80,30),e.L(80,250),e.Z(),e.stroke()}},8984:{width:W,draw:e=>{e.lineWidth(45),e.rect(180,130,240,240),e.stroke(),e.circle(180,370,70),e.stroke(),e.circle(420,370,70),e.stroke(),e.circle(180,130,70),e.stroke(),e.circle(420,130,70),e.stroke()}},8987:{width:W,draw:e=>{e.lineWidth(45),e.M(120,480),e.L(480,480),e.stroke(),e.M(120,20),e.L(480,20),e.stroke(),e.M(150,480),e.L(300,250),e.L(450,480),e.stroke(),e.M(150,20),e.L(300,250),e.L(450,20),e.stroke()}},9166:{width:W,draw:e=>{e.lineWidth(45),e.M(480,420),e.L(480,200),e.L(150,200),e.stroke(),e.M(150,200),e.L(280,310),e.L(280,90),e.Z(),e.fill()}}},ra={9472:{width:W,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke()}},9473:{width:W,draw:e=>{e.lineWidth(80),e.M(0,250),e.L(600,250),e.stroke()}},9474:{width:W,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,500),e.stroke()}},9475:{width:W,draw:e=>{e.lineWidth(80),e.M(300,0),e.L(300,500),e.stroke()}},9484:{width:W,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,250),e.L(600,250),e.stroke()}},9488:{width:W,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,250),e.L(0,250),e.stroke()}},9492:{width:W,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(300,250),e.L(600,250),e.stroke()}},9496:{width:W,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(300,250),e.L(0,250),e.stroke()}},9500:{width:W,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,500),e.stroke(),e.M(300,250),e.L(600,250),e.stroke()}},9508:{width:W,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,500),e.stroke(),e.M(300,250),e.L(0,250),e.stroke()}},9516:{width:W,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke(),e.M(300,250),e.L(300,0),e.stroke()}},9524:{width:W,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke(),e.M(300,250),e.L(300,500),e.stroke()}},9532:{width:W,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke(),e.M(300,0),e.L(300,500),e.stroke()}},9556:{width:W,draw:e=>{e.lineWidth(30),e.M(270,0),e.L(270,270),e.L(600,270),e.stroke(),e.M(330,0),e.L(330,230),e.L(600,230),e.stroke()}},9559:{width:W,draw:e=>{e.lineWidth(30),e.M(330,0),e.L(330,270),e.L(0,270),e.stroke(),e.M(270,0),e.L(270,230),e.L(0,230),e.stroke()}},9562:{width:W,draw:e=>{e.lineWidth(30),e.M(270,500),e.L(270,230),e.L(600,230),e.stroke(),e.M(330,500),e.L(330,270),e.L(600,270),e.stroke()}},9565:{width:W,draw:e=>{e.lineWidth(30),e.M(330,500),e.L(330,230),e.L(0,230),e.stroke(),e.M(270,500),e.L(270,270),e.L(0,270),e.stroke()}},9552:{width:W,draw:e=>{e.lineWidth(30),e.M(0,270),e.L(600,270),e.stroke(),e.M(0,230),e.L(600,230),e.stroke()}},9553:{width:W,draw:e=>{e.lineWidth(30),e.M(270,0),e.L(270,500),e.stroke(),e.M(330,0),e.L(330,500),e.stroke()}}},ia={9600:Gi(0,250,600,250),9604:Gi(0,0,600,250),9608:Gi(0,0,600,500),9612:Gi(0,0,300,500),9616:Gi(300,0,300,500),9617:{width:W,draw:e=>{e.lineWidth(15),e.rect(0,0,600,500),e.stroke();for(let t=0;t<=500;t+=60)e.M(0,t),e.L(600,t);e.stroke()}},9618:{width:W,draw:e=>{e.lineWidth(25),e.rect(0,0,600,500),e.stroke();for(let t=0;t<=500;t+=50)e.M(0,t),e.L(600,t);for(let t=0;t<=600;t+=60)e.M(t,0),e.L(t,500);e.stroke()}},9619:{width:W,draw:e=>{e.lineWidth(35),e.rect(0,0,600,500),e.fill()}}},aa={11014:{width:W,draw:e=>{e.M(300,500),e.L(100,280),e.L(230,280),e.L(230,0),e.L(370,0),e.L(370,280),e.L(500,280),e.Z(),e.fill()}},11015:{width:W,draw:e=>{e.M(300,0),e.L(100,220),e.L(230,220),e.L(230,500),e.L(370,500),e.L(370,220),e.L(500,220),e.Z(),e.fill()}},11013:{width:W,draw:e=>{e.M(0,250),e.L(220,430),e.L(220,320),e.L(550,320),e.L(550,180),e.L(220,180),e.L(220,70),e.Z(),e.fill()}},11035:Gi(60,10,480,480),11036:Ki(60,10,480,480,45),11088:{width:W,draw:e=>{e.lineWidth(35);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),260+230*Math.sin(n)):e.L(300+230*Math.cos(n),260+230*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke()}}},oa={10688:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.lineWidth(45),e.M(400,380),e.L(200,250),e.L(400,120),e.stroke()}},10689:{width:W,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.lineWidth(45),e.M(200,380),e.L(400,250),e.L(200,120),e.stroke()}},10695:{width:W,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke(),e.circle(300,250,130),e.stroke()}},10696:{width:W,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke(),e.rect(190,140,220,220),e.stroke()}},10697:{width:W,draw:e=>{e.lineWidth(35),e.rect(80,80,300,300),e.stroke(),e.rect(220,120,300,300),e.stroke()}}},sa={8377:{width:W,draw:e=>{e.lineWidth(50),e.M(130,480),e.L(470,480),e.stroke(),e.M(130,380),e.L(470,380),e.stroke(),e.M(230,480),e.C(350,480,420,400,420,350),e.C(420,280,350,200,230,200),e.stroke(),e.M(200,380),e.L(400,0),e.stroke()}},8378:{width:W,draw:e=>{e.lineWidth(50),e.M(350,480),e.L(350,50),e.C(350,0,200,0,150,50),e.stroke(),e.M(150,330),e.L(450,250),e.stroke(),e.M(150,230),e.L(450,150),e.stroke()}},8381:{width:W,draw:e=>{e.lineWidth(50),e.M(180,0),e.L(180,500),e.stroke(),e.M(180,500),e.L(350,500),e.C(480,500,480,350,350,300),e.L(180,300),e.stroke(),e.M(120,200),e.L(400,200),e.stroke()}}},ca={8226:qi(300,250,100),8230:{width:W,draw:e=>{e.circle(120,100,40),e.fill(),e.circle(300,100,40),e.fill(),e.circle(480,100,40),e.fill()}},8227:{width:W,draw:e=>{e.M(150,400),e.L(450,250),e.L(150,100),e.Z(),e.fill()}},8259:{width:W,draw:e=>{e.lineWidth(60),e.M(150,250),e.L(450,250),e.stroke()}},8260:{width:W,draw:e=>{e.lineWidth(40),e.M(450,500),e.L(150,0),e.stroke()}}},la=[Qi,$i,ea,ta,na,ra,ia,aa,oa,sa,ca,mr,hr,gr,_r,vr,yr,br,xr,Sr,Cr,wr,Tr,Er,Dr,Or,Nr,Ir,Lr,Hr,Ur,Wr,Gr,Kr,qr,Jr,I,L,_i,R,vi,yi,hi,Ni,Vi,Hi,V,H,Ui,U,Ii,Li,Ri,zi,Bi],ua=null})),fa=r({writeType3Fonts:()=>pa});function pa(e,t,n=`T3F`){let r=new Map,i=new Map,a=new Map;if(t.size===0)return{fontObjects:i,encoding:r,widths:a};let o=[...t].sort((e,t)=>e-t),s=1;for(let t=0;t<o.length;t+=255){let c=o.slice(t,t+255),l=`${n}${s}`;s++;let{objNum:u,fontWidths:d}=ma(e,c,l);i.set(l,u),a.set(l,d);for(let e=0;e<c.length;e++)r.set(c[e],{resourceName:l,charCode:ya+e})}return{fontObjects:i,encoding:r,widths:a}}function ma(e,t,n){let r=[],i=[],a=Array(ya+t.length).fill(0),u=new Map,d=ha(e,Zi);r.push({name:`.notdef`,objNum:d}),a[0]=Zi.width;for(let n=0;n<t.length;n++){let o=t[n],s=Xi(o)??Zi,c=`uni${o.toString(16).toUpperCase().padStart(4,`0`)}`,l=ha(e,s);r.push({name:c,objNum:l}),i.push(c);let d=ya+n;a[d]=s.width,u.set(d,s.width)}let f=[];for(let{name:e,objNum:t}of r)f.push(`${o(e)} ${l(t)}`);let m=`<<\n${f.join(`
|
|
41
|
+
`)}\n>>`,h=[];h.push(`${ya}`);for(let e of i)h.push(o(e));let g=e.allocObject(),_=new p().set(`Type`,`/Encoding`).set(`Differences`,`[${h.join(` `)}]`);e.addObject(g,_);let v=_a(e,t),y=e.allocObject(),b=`[0 0 ${va} ${va}]`,x=new p().set(`Type`,`/Font`).set(`Subtype`,`/Type3`).set(`Name`,o(n)).set(`FontBBox`,b).set(`FontMatrix`,`[0.001 0 0 0.001 0 0]`).set(`FirstChar`,s(0)).set(`LastChar`,s(a.length-1)).set(`Widths`,c(a.map(e=>s(e)))).set(`CharProcs`,m).set(`Encoding`,l(g)).set(`ToUnicode`,l(v));return e.addObject(y,x),{objNum:y,fontWidths:u}}function ha(e,t){let n=new Kt;n.raw(`${t.width} 0 0 0 ${va} ${va} d1`);let r=ga(n);t.draw(r);let i=e.allocObject();return e.addStreamObject(i,new p,n),i}function ga(e){return{M:(t,n)=>{e.moveTo(t,n)},L:(t,n)=>{e.lineTo(t,n)},C:(t,n,r,i,a,o)=>{e.curveTo(t,n,r,i,a,o)},Z:()=>{e.closePath()},rect:(t,n,r,i)=>{e.rect(t,n,r,i)},circle:(t,n,r)=>{e.circle(t,n,r)},ellipse:(t,n,r,i)=>{e.ellipse(t,n,r,i)},stroke:()=>{e.stroke()},fill:()=>{e.fill()},fillStroke:()=>{e.fillAndStroke()},lineWidth:t=>{e.setLineWidth(t)}}}function _a(e,t){let n=[];n.push(`/CIDInit /ProcSet findresource begin`),n.push(`12 dict begin`),n.push(`begincmap`),n.push(`/CIDSystemInfo`),n.push(`<< /Registry (Adobe) /Ordering (UCS) /Supplement 0 >> def`),n.push(`/CMapName /Adobe-Identity-UCS def`),n.push(`/CMapType 2 def`),n.push(`1 begincodespacerange`),n.push(`<00> <FF>`),n.push(`endcodespacerange`);for(let e=0;e<t.length;e+=100){let r=t.slice(e,e+100);n.push(`${r.length} beginbfchar`);for(let t=0;t<r.length;t++){let i=ya+e+t,a=r[t],o=i.toString(16).toUpperCase().padStart(2,`0`);if(a>65535){let e=Math.floor((a-65536)/1024)+55296,t=(a-65536)%1024+56320,r=e.toString(16).toUpperCase().padStart(4,`0`),i=t.toString(16).toUpperCase().padStart(4,`0`);n.push(`<${o}> <${r}${i}>`)}else{let e=a.toString(16).toUpperCase().padStart(4,`0`);n.push(`<${o}> <${e}>`)}}n.push(`endbfchar`)}n.push(`endcmap`),n.push(`CMapName currentdict /CMap defineresource pop`),n.push(`end`),n.push(`end`);let r=n.join(`
|
|
42
|
+
`),i=new TextEncoder().encode(r),a=e.allocObject();return e.addStreamObject(a,new p,i),a}var va,ya,ba=n((()=>{m(),Jt(),da(),va=1e3,ya=1}));function xa(e){let t=e.toLowerCase().trim();return Ta[t]??`Helvetica`}function Sa(e,t,n){let r=xa(e);return r===`Helvetica`?t&&n?`Helvetica-BoldOblique`:t?`Helvetica-Bold`:n?`Helvetica-Oblique`:`Helvetica`:r===`Times`?t&&n?`Times-BoldItalic`:t?`Times-Bold`:n?`Times-Italic`:`Times-Roman`:r===`Courier`?t&&n?`Courier-BoldOblique`:t?`Courier-Bold`:n?`Courier-Oblique`:`Courier`:`Helvetica`}function Ca(e,t){let n=`<`;for(let r=0;r<e.length;r++){let i=e.codePointAt(r);i>65535&&r++;let a=t.get(i)??0;n+=a.toString(16).toUpperCase().padStart(4,`0`)}return n+=`>`,n}function wa(e,t,n){let r=0;for(let n=0;n<e.length;n++){let i=e.codePointAt(n);i>65535&&n++;let a=t.cmap.get(i)??0;r+=t.advanceWidths[a]??0}return r/t.unitsPerEm*n}var Ta,Ea,Da=n((()=>{m(),Jt(),$t(),zn(),tr(),Ta={helvetica:`Helvetica`,arial:`Helvetica`,calibri:`Helvetica`,"segoe ui":`Helvetica`,"trebuchet ms":`Helvetica`,verdana:`Helvetica`,tahoma:`Helvetica`,"gill sans":`Helvetica`,"franklin gothic":`Helvetica`,"lucida sans":`Helvetica`,aptos:`Helvetica`,"times new roman":`Times`,times:`Times`,georgia:`Times`,garamond:`Times`,"book antiqua":`Times`,palatino:`Times`,"palatino linotype":`Times`,cambria:`Times`,"century schoolbook":`Times`,"courier new":`Courier`,courier:`Courier`,consolas:`Courier`,"lucida console":`Courier`,monaco:`Courier`,"andale mono":`Courier`,"cascadia code":`Courier`,"cascadia mono":`Courier`,menlo:`Courier`},Ea=class{constructor(){this.type1Map=new Map,this.resourceToType1=new Map,this.nextType1Id=1,this.embeddedFont=null,this.embeddedResourceName=``,this.usedCodePoints=new Set,this.nextEmbeddedId=1,this.type3CodePoints=new Set,this._type3Result=null,this._unknownFontFamilies=new Set,this._embeddedResult=null}registerEmbeddedFont(e){return this.embeddedFont=e,this.embeddedResourceName=`EF${this.nextEmbeddedId++}`,this.embeddedResourceName}hasEmbeddedFont(){return this.embeddedFont!==null}getType3CodePoints(){return new Set(this.type3CodePoints)}getUnknownFontFamilies(){return new Set(this._unknownFontFamilies)}getEmbeddedResourceName(){return this.embeddedResourceName}resolveRenderResourceName(e){return this.embeddedFont?this.embeddedResourceName:e}trackText(e){for(let t=0;t<e.length;t++){let n=e.codePointAt(t);n>65535&&t++,this.usedCodePoints.add(n),Wt(n)||this.type3CodePoints.add(n)}}ensureFont(e){let t=this.type1Map.get(e);return t||(t=`F${this.nextType1Id++}`,this.type1Map.set(e,t),this.resourceToType1.set(t,e)),t}resolveFont(e,t,n){if(this.embeddedFont)return this.embeddedResourceName;let r=e.toLowerCase().trim();r&&Ta[r]===void 0&&this._unknownFontFamilies.add(e);let i=Sa(e,t,n);return this.ensureFont(i)}getPdfFontName(e){return this.resourceToType1.get(e)??`Helvetica`}hasType3Fonts(){return this._type3Result!==null&&this._type3Result.fontObjects.size>0}resolveType3(e){return this._type3Result?this._type3Result.encoding.get(e)??null:null}needsType3(e){return!this.embeddedFont&&!Wt(e)}measureText(e,t,n){if(this.embeddedFont&&t===this.embeddedResourceName)return wa(e,this.embeddedFont,n);if(!this._type3Result||!Gt(e))return Vn(e,this.getPdfFontName(t),n);let r=0,i=this.getPdfFontName(t);for(let t=0;t<e.length;t++){let a=e.codePointAt(t);if(a>65535&&t++,Wt(a))r+=Vn(String.fromCodePoint(a),i,n);else{let e=this._type3Result.encoding.get(a);if(e){let t=this._type3Result.widths.get(e.resourceName)?.get(e.charCode)??600;r+=t/1e3*n}else r+=600/1e3*n}}return r}getFontAscent(e,t){return this.embeddedFont&&e===this.embeddedResourceName?this.embeddedFont.ascent/this.embeddedFont.unitsPerEm*t:Hn(this.isType3Resource(e)?`Helvetica`:this.getPdfFontName(e),t)}getFontDescent(e,t){return this.embeddedFont&&e===this.embeddedResourceName?this.embeddedFont.descent/this.embeddedFont.unitsPerEm*t:Un(this.isType3Resource(e)?`Helvetica`:this.getPdfFontName(e),t)}getLineHeight(e,t){if(this.embeddedFont&&e===this.embeddedResourceName){let e=this.embeddedFont;return(e.ascent-e.descent)/e.unitsPerEm*t}return Wn(this.isType3Resource(e)?`Helvetica`:this.getPdfFontName(e),t)}isEmbeddedFont(e){return this.embeddedFont!==null&&e===this.embeddedResourceName}isType3Resource(e){return this._type3Result?.fontObjects.has(e)??!1}encodeText(e,t){if(!this.embeddedFont||t!==this.embeddedResourceName)return null;if(this._embeddedResult)return Ca(e,this._embeddedResult.unicodeToCid);throw new Qt(`encodeText called before writeFontResources — subset mapping not available`)}encodeType3Run(e,t){if(!this._type3Result||e.length===0)return null;let n=``;for(let r of e){let e=this._type3Result.encoding.get(r);if(!e||e.resourceName!==t)return null;n+=e.charCode.toString(16).toUpperCase().padStart(2,`0`)}return`<${n}>`}async writeFontResources(e){let t=new Map;for(let[n,r]of this.type1Map){let i=e.allocObject(),a=new p().set(`Type`,`/Font`).set(`Subtype`,`/Type1`).set(`BaseFont`,o(n)).set(`Encoding`,`/WinAnsiEncoding`);e.addObject(i,a),t.set(r,i)}if(this.embeddedFont&&this.embeddedResourceName){let n=wn(e,this.embeddedFont,this.usedCodePoints,this.embeddedResourceName);t.set(this.embeddedResourceName,n.fontObjNum),this._embeddedResult=n}if(!this.embeddedFont&&this.type3CodePoints.size>0){let{writeType3Fonts:n}=await Promise.resolve().then(()=>(ba(),fa));this._type3Result=n(e,this.type3CodePoints);for(let[e,n]of this._type3Result.fontObjects)t.set(e,n)}return t}getEmbeddedResult(){return this._embeddedResult}buildFontDictString(e){let t=[`<<`];for(let[n,r]of e)t.push(`${o(n)} ${l(r)}`);return t.push(`>>`),t.join(`
|
|
43
|
+
`)}getRegisteredFonts(){let e=[];for(let[t,n]of this.type1Map)e.push({resourceName:n,pdfFontName:t});return e}}}));function Oa(e){let t=new Ka(e),n=t.u32();if(n===1953784678){if(t.skip(4),t.u32()===0)throw new Qt(`TrueType Collection is empty (0 fonts)`);return ka(e,t.u32())}return Aa(e,t,n)}function ka(e,t){let n=new Ka(e,t);return Aa(e,n,n.u32())}function Aa(e,t,n){if(n!==65536&&n!==1953658213)throw n===1330926671?new Qt(`CFF-flavored OpenType (.otf) is not supported. Use a TrueType (.ttf) font.`):new Qt(`Invalid TrueType font: bad sfVersion 0x${n.toString(16)}`);let r=t.u16();t.skip(6);let i=new Map;for(let e=0;e<r;e++){let e=t.tag();t.skip(4);let n=t.u32(),r=t.u32();i.set(e,{offset:n,length:r})}for(let e of[`head`,`hhea`,`maxp`,`cmap`,`hmtx`])if(!i.has(e))throw new Qt(`Missing required table '${e}' in TrueType font`);let a=ja(t,i.get(`head`)),o=Ma(t,i.get(`hhea`)),s=Na(t,i.get(`maxp`)),c=i.has(`OS/2`)?Pa(t,i.get(`OS/2`)):null,l=i.has(`post`)?Fa(t,i.get(`post`)):null,u=i.has(`name`)?Ia(t,i.get(`name`)):null,d=La(t,i.get(`cmap`)),f=Ba(t,i.get(`hmtx`),o.numHMetrics,s.numGlyphs),p=i.has(`loca`)&&i.has(`glyf`)?Va(t,i.get(`loca`),s.numGlyphs,a.indexToLocFormat):new Uint32Array(s.numGlyphs+1),m=c?.sTypoAscender??o.ascent,h=c?.sTypoDescender??o.descent,g=c?.sCapHeight??Math.round(m*.7),_=0;l?.isFixedPitch&&(_|=1),a.macStyle&2&&(_|=64),_|=32;let v=c?.usWeightClass??400,y=Math.round(50+(v/65)**2),b=u?.familyName??`Unknown`;return{data:e,familyName:b,postScriptName:u?.postScriptName??b.replace(/\s+/g,``),unitsPerEm:a.unitsPerEm,ascent:m,descent:h,capHeight:g,italicAngle:l?.italicAngle??0,flags:_,bbox:[a.xMin,a.yMin,a.xMax,a.yMax],stemV:y,numGlyphs:s.numGlyphs,indexToLocFormat:a.indexToLocFormat,numHMetrics:o.numHMetrics,tables:i,cmap:d,advanceWidths:f,glyphOffsets:p}}function ja(e,t){let n=e.at(t.offset);n.skip(4),n.skip(4),n.skip(4),n.skip(4),n.skip(2);let r=n.u16();n.skip(16);let i=n.i16(),a=n.i16(),o=n.i16(),s=n.i16(),c=n.u16();return n.skip(2),n.skip(2),{unitsPerEm:r,xMin:i,yMin:a,xMax:o,yMax:s,macStyle:c,indexToLocFormat:n.i16()}}function Ma(e,t){let n=e.at(t.offset);n.skip(4);let r=n.i16(),i=n.i16(),a=n.i16();return n.skip(2),n.skip(22),{ascent:r,descent:i,lineGap:a,numHMetrics:n.u16()}}function Na(e,t){let n=e.at(t.offset);return n.skip(4),{numGlyphs:n.u16()}}function Pa(e,t){let n=e.at(t.offset),r=n.u16();n.skip(2);let i=n.u16();n.skip(2),n.skip(2),n.skip(22),n.skip(10),n.skip(16),n.skip(4),n.skip(2),n.skip(2),n.skip(2);let a=n.i16(),o=n.i16();n.skip(2),n.skip(2),n.skip(2);let s;return r>=2?(n.skip(8),n.skip(2),s=n.i16()):s=Math.round(a*.7),{usWeightClass:i,sTypoAscender:a,sTypoDescender:o,sCapHeight:s}}function Fa(e,t){let n=e.at(t.offset);n.skip(4);let r=n.fixed();return n.skip(2),n.skip(2),{italicAngle:r,isFixedPitch:n.u32()!==0}}function Ia(e,t){let n=t.offset,r=e.at(n);r.skip(2);let i=r.u16(),a=n+r.u16(),o=``,s=``;for(let t=0;t<i;t++){let t=r.u16(),n=r.u16();r.skip(2);let i=r.u16(),c=r.u16(),l=r.u16();if(i!==1&&i!==6)continue;let u=e.at(a+l).bytes(c),d;if(t===3||t===0)d=Ha(u);else if(t===1&&n===0)d=Ua(u);else continue;i===1&&!o&&(o=d),i===6&&!s&&(s=d)}return{familyName:o||`Unknown`,postScriptName:s||o||`Unknown`}}function La(e,t){let n=t.offset,r=e.at(n);r.skip(2);let i=r.u16(),a=-1,o=-1;for(let t=0;t<i;t++){let t=r.u16(),i=r.u16(),s=r.u32();if(t!==0&&(t!==3||i!==1&&i!==10))continue;let c=e.u16At(n+s);c===12&&o<0&&(o=n+s),c===4&&a<0&&(a=n+s)}if(o>=0)return za(e,o);if(a>=0)return Ra(e,a);throw new Qt(`No usable Unicode cmap subtable found in font`)}function Ra(e,t){let n=e.at(t);n.skip(2),n.skip(2),n.skip(2);let r=n.u16()/2;n.skip(6);let i=[];for(let e=0;e<r;e++)i.push(n.u16());n.skip(2);let a=[];for(let e=0;e<r;e++)a.push(n.u16());let o=[];for(let e=0;e<r;e++)o.push(n.i16());let s=n.offset,c=[];for(let e=0;e<r;e++)c.push(n.u16());let l=new Map;for(let t=0;t<r;t++){let n=a[t],r=i[t],u=o[t],d=c[t];if(n===65535)break;for(let i=n;i<=r;i++){let r;if(d===0)r=i+u&65535;else{let a=s+t*2+d+(i-n)*2;r=e.u16At(a),r!==0&&(r=r+u&65535)}r!==0&&l.set(i,r)}}return l}function za(e,t){let n=e.at(t);n.skip(2),n.skip(2),n.skip(4),n.skip(4);let r=n.u32();if(r>Wa)throw new Qt(`cmap format 12 has ${r} groups, exceeding limit of ${Wa}. The font file may be malicious or corrupted.`);let i=new Map,a=0;for(let e=0;e<r;e++){let e=n.u32(),t=n.u32(),r=n.u32(),o=t>=e?t-e+1:0;if(a+=o,a>Ga)throw new Qt(`cmap format 12 maps too many codepoints (>${Ga}). The font file may be malicious or corrupted.`);for(let n=e;n<=t;n++)i.set(n,r+(n-e))}return i}function Ba(e,t,n,r){let i=e.at(t.offset),a=new Uint16Array(r),o=0;for(let e=0;e<n;e++)o=i.u16(),i.skip(2),a[e]=o;for(let e=n;e<r;e++)a[e]=o;return a}function Va(e,t,n,r){let i=e.at(t.offset),a=new Uint32Array(n+1);if(r===0)for(let e=0;e<=n;e++)a[e]=i.u16()*2;else for(let e=0;e<=n;e++)a[e]=i.u32();return a}function Ha(e){let t=[];for(let n=0;n+1<e.length;n+=2){let r=e[n]<<8|e[n+1];if(r>=55296&&r<=56319&&n+3<e.length){let i=e[n+2]<<8|e[n+3];if(i>=56320&&i<=57343){t.push(String.fromCodePoint((r-55296<<10)+(i-56320)+65536)),n+=2;continue}}t.push(String.fromCharCode(r))}return t.join(``)}function Ua(e){let t=[];for(let n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join(``)}var Wa,Ga,Ka,qa=n((()=>{$t(),Wa=65536,Ga=2e6,Ka=class e{constructor(e,t=0){this.data=e,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.offset=t}u8(){let e=this.view.getUint8(this.offset);return this.offset+=1,e}u16(){let e=this.view.getUint16(this.offset,!1);return this.offset+=2,e}i16(){let e=this.view.getInt16(this.offset,!1);return this.offset+=2,e}u32(){let e=this.view.getUint32(this.offset,!1);return this.offset+=4,e}i32(){let e=this.view.getInt32(this.offset,!1);return this.offset+=4,e}fixed(){return this.i32()/65536}bytes(e){let t=this.data.subarray(this.offset,this.offset+e);return this.offset+=e,t}tag(){return String.fromCharCode(this.u8(),this.u8(),this.u8(),this.u8())}skip(e){this.offset+=e}at(t){return new e(this.data,t)}u16At(e){return this.view.getUint16(e,!1)}u32At(e){return this.view.getUint32(e,!1)}i16At(e){return this.view.getInt16(e,!1)}}}));function Ja(e,t){throw Error(Za)}function Ya(e){return!1}function Xa(e){throw Error(Za)}var Za,Qa=n((()=>{Za=`File system operations are not available in browser environment.`}));function $a(){let e=typeof process<`u`?process.platform:``,t=typeof process<`u`?process.env.HOME??process.env.USERPROFILE??``:``,n=[];switch(e){case`darwin`:n.push(`/System/Library/Fonts`,`/System/Library/Fonts/Supplemental`,`/Library/Fonts`,`${t}/Library/Fonts`);break;case`win32`:{let e=process.env.WINDIR??process.env.SystemRoot??`C:\\Windows`;n.push(`${e}\\Fonts`,`${process.env.LOCALAPPDATA??``}\\Microsoft\\Windows\\Fonts`);break}default:n.push(`/usr/share/fonts`,`/usr/local/share/fonts`,`/usr/share/fonts/truetype`,`/usr/share/fonts/opentype`,`/usr/share/fonts/TTF`,`/usr/share/fonts/noto`,`/usr/share/fonts/noto-cjk`,`/usr/share/fonts/google-noto`,`/usr/share/fonts/google-noto-cjk`,`/usr/share/fonts/truetype/noto`,`/usr/share/fonts/truetype/dejavu`,`/usr/share/fonts/truetype/liberation`,`/usr/share/fonts/truetype/droid`,`/usr/share/fonts/wqy`,`${t}/.local/share/fonts`,`${t}/.fonts`)}return n}function*eo(){if(io!==void 0){for(let e of io)yield e;return}if(typeof process>`u`||!process.platform)return;let e=new Set,t=$a();for(let n of ro)for(let r of t){let t=`${r}/${n}`;if(!e.has(t)&&(e.add(t),Ya(t))){let e=no(t);e&&(yield e)}}let n=/noto|unicode|cjk|yahei|heiti|gothic|sans|serif|ming|song|dejavu|liberation|droid|wqy/i;for(let r of t){let t;try{t=Ja(r,{recursive:!0,filter:e=>!e.isDirectory})}catch{continue}let i=t.filter(t=>/\.tt[cf]$/i.test(t.absolutePath)&&!e.has(t.absolutePath)),a=i.filter(e=>n.test(e.absolutePath)),o=i.filter(e=>!n.test(e.absolutePath)&&e.size>5e4);for(let t of[...a,...o]){if(e.has(t.absolutePath))continue;e.add(t.absolutePath);let n=no(t.absolutePath);n&&(yield n)}}}function to(e){if(e.size===0)return null;let t=[...e];for(let e of eo())try{let n=Oa(e);if(t.every(e=>n.cmap.has(e)))return n}catch{}return null}function no(e){try{return Xa(e)}catch{return null}}var ro,io,ao=n((()=>{qa(),Qa(),ro=`NotoSansCJKsc-Regular.ttf,NotoSansCJK-Regular.ttc,NotoSansCJKSC-Regular.otf,NotoSansSC-Regular.ttf,NotoSansTC-Regular.ttf,NotoSansJP-Regular.ttf,NotoSansKR-Regular.ttf,NotoSans-Regular.ttf,Arial Unicode.ttf,Arial Unicode MS.ttf,ArialUnicode.ttf,arialuni.ttf,PingFang.ttc,Hiragino Sans GB.ttc,STHeiti Light.ttc,STHeiti Medium.ttc,Songti.ttc,AppleSDGothicNeo.ttc,msyh.ttc,msyhbd.ttc,msjh.ttc,simsun.ttc,simhei.ttf,malgun.ttf,meiryo.ttc,yugothic.ttf,segoeui.ttf,arial.ttf,DejaVuSans.ttf,LiberationSans-Regular.ttf,FreeSans.ttf,DroidSansFallbackFull.ttf,DroidSansFallback.ttf,wqy-microhei.ttc,wqy-zenhei.ttc,uming.ttc,NanumGothic.ttf,IPAexGothic.ttf`.split(`,`)})),oo,so,co,lo,uo,fo,po,mo,ho,go,_o=n((()=>{oo=1.2,so=72/96,co={r:.94,g:.94,b:.94},lo={r:.6,g:.6,b:.6},uo={r:.2,g:.2,b:.2},fo=.1,po={r:1,g:1,b:.88},mo={r:.4,g:.4,b:.4},ho={r:.8,g:0,b:0},go=.01}));function vo(e){if(!e)return null;let t=e.startsWith(`#`)?e.slice(1):e;t.length===3&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]);let n=255,r,i,a;if(t.length===8)n=parseInt(t.slice(0,2),16),r=t.slice(2,4),i=t.slice(4,6),a=t.slice(6,8);else if(t.length===6)r=t.slice(0,2),i=t.slice(2,4),a=t.slice(4,6);else return null;let o=parseInt(r,16),s=parseInt(i,16),c=parseInt(a,16);if(Number.isNaN(o)||Number.isNaN(s)||Number.isNaN(c)||Number.isNaN(n))return null;let l=n/255;return l<1?{r:o/255,g:s/255,b:c/255,a:l}:{r:o/255,g:s/255,b:c/255}}function yo(e,t){let n=e=>{let n=t<0?e*(1+t):e+(1-e)*t;return Math.max(0,Math.min(1,n))},r={r:n(e.r),g:n(e.g),b:n(e.b)};return e.a!==void 0&&(r.a=e.a),r}var bo,xo,So,Co=n((()=>{bo=Object.freeze({dk1:`000000`,lt1:`FFFFFF`,dk2:`44546A`,lt2:`E7E6E6`,accent1:`4472C4`,accent2:`ED7D31`,accent3:`A5A5A5`,accent4:`FFC000`,accent5:`5B9BD5`,accent6:`70AD47`,hlink:`0563C1`,folHlink:`954F72`}),xo=Object.freeze([bo.dk1,bo.lt1,bo.dk2,bo.lt2,bo.accent1,bo.accent2,bo.accent3,bo.accent4,bo.accent5,bo.accent6,bo.hlink,bo.folHlink]),So=Object.freeze([bo.lt1,bo.dk1,bo.lt2,bo.dk2,bo.accent1,bo.accent2,bo.accent3,bo.accent4,bo.accent5,bo.accent6,bo.hlink,bo.folHlink])}));function wo(e){return!e||e.length<6?null:vo(e)}function To(e){if(!e)return null;if(e.argb)return wo(e.argb);if(e.theme!==void 0){let t=Eo(e.theme);if(!t)return null;let n=e.tint;return n!==void 0&&n!==0?Oo(t,n):t}return e.indexed===void 0?null:Do(e.indexed)}function Eo(e){return e>=0&&e<So.length?vo(So[e]):null}function Do(e){return e===64?{r:0,g:0,b:0}:e===65?{r:1,g:1,b:1}:e>=0&&e<zo.length?wo(zo[e])??null:null}function Oo(e,t){return yo(e,t)}function ko(e){let t=.299*e.r+.587*e.g+.114*e.b;return e.a===void 0?{r:t,g:t,b:t}:{r:t,g:t,b:t,a:e.a}}function Ao(e){let t=e=>e===null?null:{...e,color:ko(e.color)};return{top:t(e.top),right:t(e.right),bottom:t(e.bottom),left:t(e.left)}}function jo(e,t,n){return{fontFamily:e?.name??t,fontSize:e?.size??n,bold:e?.bold??!1,italic:e?.italic??!1,strike:e?.strike??!1,underline:!!(e?.underline&&e.underline!==`none`),textColor:To(e?.color)??Bo.black}}function Mo(e){if(!e)return null;if(e.type===`pattern`){if(e.pattern===`solid`&&e.fgColor)return To(e.fgColor);if(e.pattern===`none`)return null;if(e.fgColor)return To(e.fgColor)}return e.type===`gradient`&&e.stops&&e.stops.length>0?To(e.stops[0].color):null}function No(e){switch(e){case`hair`:return .1;case`thin`:return .25;case`medium`:return .5;case`thick`:return 1;case`double`:return .25;case`dotted`:return .25;case`dashed`:return .25;case`dashDot`:return .25;case`dashDotDot`:return .25;case`slantDashDot`:return .25;case`mediumDashed`:return .5;case`mediumDashDot`:return .5;case`mediumDashDotDot`:return .5;default:return .25}}function Po(e){switch(e){case`dotted`:return[1,1];case`dashed`:case`mediumDashed`:return[3,2];case`dashDot`:case`mediumDashDot`:return[3,1,1,1];case`dashDotDot`:case`mediumDashDotDot`:return[3,1,1,1,1,1];case`slantDashDot`:return[4,2,1,2];case`hair`:return[.5,.5];default:return[]}}function Fo(e){return!e||!e.style?null:{width:No(e.style),color:To(e.color)??Bo.black,dashPattern:Po(e.style),isDouble:e.style===`double`}}function Io(e){return e?{top:Fo(e.top),right:Fo(e.right),bottom:Fo(e.bottom),left:Fo(e.left)}:{top:null,right:null,bottom:null,left:null}}function Lo(e){if(!e?.horizontal)return`left`;switch(e.horizontal){case`center`:case`centerContinuous`:return`center`;case`right`:return`right`;default:return`left`}}function Ro(e){if(!e?.vertical)return`bottom`;switch(e.vertical){case`top`:return`top`;case`middle`:return`middle`;default:return`bottom`}}var zo,Bo,Vo=n((()=>{Co(),zo=`000000.FFFFFF.FF0000.00FF00.0000FF.FFFF00.FF00FF.00FFFF.000000.FFFFFF.FF0000.00FF00.0000FF.FFFF00.FF00FF.00FFFF.800000.008000.000080.808000.800080.008080.C0C0C0.808080.9999FF.993366.FFFFCC.CCFFFF.660066.FF8080.0066CC.CCCCFF.000080.FF00FF.FFFF00.00FFFF.800080.800000.008080.0000FF.00CCFF.CCFFFF.CCFFCC.FFFF99.99CCFF.FF99CC.CC99FF.FFCC99.3366FF.33CCCC.99CC00.FFCC00.FF9900.FF6600.666699.969696.003366.339966.003300.333300.993300.993366.333399.333333`.split(`.`),Bo={black:{r:0,g:0,b:0},white:{r:1,g:1,b:1},gridLine:{r:.816,g:.816,b:.816}}}));function Ho(e,t=1){return{left:(3+e.borderInsets.left)*t,right:(3+e.borderInsets.right)*t,top:(2+e.borderInsets.top)*t,bottom:(2+e.borderInsets.bottom)*t}}function Uo(e,t,n,r){let i=new Kt,a=new Set;t.showGridLines&&Jo(i,e,t);for(let t of e.cells)t.fillColor&&Yo(i,t,a);for(let t of e.cells){if(!t.textOverflowWidth||t.textOverflowWidth<=0)continue;let n=t.rect.x+t.rect.width,r=n+t.textOverflowWidth,a=t.rect.y,o=t.rect.height,s=[];for(let i of e.cells){if(i===t||!i.fillColor||Math.abs(i.rect.y-a)>.01||Math.abs(i.rect.height-o)>.01)continue;let e=i.rect.x,c=e+i.rect.width;c>n&&e<r&&s.push({left:Math.max(e,n),right:Math.min(c,r)})}if(s.length===0)i.fillRect(n,a,t.textOverflowWidth,o,{r:1,g:1,b:1});else{s.sort((e,t)=>e.left-t.left);let e=n;for(let t of s)t.left>e&&i.fillRect(e,a,t.left-e,o,{r:1,g:1,b:1}),e=Math.max(e,t.right);e<r&&i.fillRect(e,a,r-e,o,{r:1,g:1,b:1})}}for(let t of e.cells)Qo(i,t);let o=e.scaleFactor;for(let t of e.cells)(t.text||t.richText)&&es(i,t,n,a,o);t.showRowColHeaders&&Ts(i,e,t,n),e.commentBoxes?.length&&Es(i,e,t,n);let s=Wo(e,`header`),c=Wo(e,`footer`);return s===void 0?t.showSheetNames&&Ds(i,e,t,n):s&&bs(i,e,t,n,s,`header`),c===void 0?t.showPageNumbers&&Os(i,e,t,n,r):c&&bs(i,e,t,n,c,`footer`),{stream:i,alphaValues:a}}function Wo(e,t){let n=e.headerFooter;if(!n)return;let r=t===`header`?`Header`:`Footer`;return n.differentFirst&&e.sheetPageIndex===1?n[`first${r}`]??null:n.differentOddEven&&e.sheetPageNumber%2==0?n[`even${r}`]??null:n[`odd${r}`]}function Go(e,t){if(e.text!==void 0)return e.text;switch(e.field){case`pageNumber`:return String(t.sheetPageNumber+(e.offset??0));case`pageCount`:return String(t.sheetPageCount);case`sheetName`:return t.sheetName;case`fileName`:return t.options.sourceFileName;case`filePath`:return t.options.sourceFilePath;case`date`:{let e=t.options.headerFooterDate;return qo(e,t.options.headerFooterLocale,`date`)}case`time`:{let e=t.options.headerFooterDate;return qo(e,t.options.headerFooterLocale,`time`)}default:return``}}function Ko(e,t){return e.fontFamily||t.options.defaultFontFamily}function qo(e,t,n){let r=n===`date`?Ls:Rs;try{return new Intl.DateTimeFormat(t,r).format(e)}catch(t){if(!(t instanceof RangeError))throw t;return new Intl.DateTimeFormat(void 0,r).format(e)}}function Jo(e,t,n){if(t.columnWidths.length===0||t.rowHeights.length===0)return;let r=n.gridLineColor;e.save(),e.setStrokeColor(r),e.setLineWidth(.25);let i=t.rowYPositions[0],a=t.rowYPositions.length-1,o=t.rowYPositions[a]-t.rowHeights[a];for(let n=0;n<=t.columnWidths.length;n++){let r=n<t.columnWidths.length?t.columnOffsets[n]:t.columnOffsets[n-1]+t.columnWidths[n-1];e.moveTo(r,i),e.lineTo(r,o)}let s=t.columnOffsets[0],c=t.columnOffsets.length-1,l=t.columnOffsets[c]+t.columnWidths[c];for(let n=0;n<=t.rowYPositions.length;n++){let r=n<t.rowYPositions.length?t.rowYPositions[n]:t.rowYPositions[n-1]-t.rowHeights[n-1];e.moveTo(s,r),e.lineTo(l,r)}e.stroke(),e.restore()}function Yo(e,t,n){if(!t.fillColor)return;let r=t.fillColor.a;if(r!==void 0&&r<1){let i=ms(r);n.add(r),e.save(),e.setGraphicsState(i),e.fillRect(t.rect.x,t.rect.y,t.rect.width,t.rect.height,t.fillColor),e.restore()}else e.fillRect(t.rect.x,t.rect.y,t.rect.width,t.rect.height,t.fillColor)}function Xo(e){return typeof e==`number`?e<=90?e:-(e-90):0}function Zo(e,t){let n=Xo(e);if(n===0)return 0;let r=Math.abs(n);if(r<.01||r>89.99)return 0;let i=r*Math.PI/180,a=t*Math.cos(i)/Math.sin(i);return n<0?-a:a}function Qo(e,t){let{rect:n,borders:r,textRotation:i}=t,{x:a,y:o,width:s,height:c}=n,l=Zo(i,c);r.top&&$o(e,r.top,a+l,o+c,a+s+l,o+c,!0),r.bottom&&$o(e,r.bottom,a,o,a+s,o,!0),r.left&&$o(e,r.left,a,o,a+l,o+c,!1),r.right&&$o(e,r.right,a+s,o,a+s+l,o+c,!1)}function $o(e,t,n,r,i,a,o){if(t.isDouble){let s=.4,c=Math.min(t.width,.25);o?(e.drawLine(n,r+s,i,a+s,t.color,c,t.dashPattern),e.drawLine(n,r-s,i,a-s,t.color,c,t.dashPattern)):(e.drawLine(n+s,r,i+s,a,t.color,c,t.dashPattern),e.drawLine(n-s,r,i-s,a,t.color,c,t.dashPattern))}else e.drawLine(n,r,i,a,t.color,t.width,t.dashPattern)}function es(e,t,n,r,i=1){let{rect:a,text:o,fontSize:s,horizontalAlign:c,verticalAlign:l,wrapText:u}=t;if(!o&&!t.richText)return;let d=Ho(t,i),f=a.width-d.left-d.right,p=a.height-d.top-d.bottom;if(f<=0||p<=0)return;let m=t.indent*10*i,h=a.width+(t.textOverflowWidth||0);e.save();let g=Zo(t.textRotation,a.height);g===0?e.rect(a.x,a.y,h,a.height):(e.moveTo(a.x,a.y),e.lineTo(a.x+h,a.y),e.lineTo(a.x+h+g,a.y+a.height),e.lineTo(a.x+g,a.y+a.height),e.closePath()),e.clip(),e.endPath();let _=t.textColor.a;if(_!==void 0&&_<1&&(r.add(_),e.setGraphicsState(ms(_))),t.textRotation===`vertical`){ps(e,t,n,m,i),e.restore();return}if(typeof t.textRotation==`number`&&t.textRotation!==0){ns(e,t,n,m,i),e.restore();return}if(t.richText&&t.richText.length>0){ts(e,t,n,m,i),e.restore();return}let v=n.hasEmbeddedFont(),y=v?n.getEmbeddedResourceName():n.ensureFont(Sa(t.fontFamily,t.bold,t.italic)),b=e=>n.measureText(e,y,s),x=f-m,S=u?vs(o,b,x):o.split(/\r?\n/),C=s*oo,w=n.getFontAscent(y,s),ee=hs(l,a,S.length*C,w,d.top,d.bottom);e.setFillColor(t.textColor);let te=n.hasType3Fonts()&&!v;for(let t=0;t<S.length;t++){let r=S[t],i=ee-t*C;fs(e,r,gs(c,a,b(r),m,d.left,d.right),i,y,s,n,te)}_s(e,t,S,C,ee,b,y,n,m,d),e.restore()}function ts(e,t,n,r,i=1){let{rect:a,horizontalAlign:o,verticalAlign:s,wrapText:c}=t,l=t.richText,u=Ho(t,i),d=t.fontSize;for(let e of l)e.fontSize>d&&(d=e.fontSize);let f=d,p=f*oo,m=n.hasEmbeddedFont(),h=e=>m?n.getEmbeddedResourceName():n.ensureFont(Sa(e.fontFamily,e.bold,e.italic));if(c){let i=a.width-u.left-u.right-r;if(i<=0)return;let c=l.map(e=>e.text).join(``),d=[];for(let e=0;e<l.length;e++)for(let t=0;t<l[e].text.length;t++)d.push(e);let p=l.map(e=>h(e)),g=ys(c,d,l,p,n,i),_=[];for(let e of g){let n=t.fontSize;for(let t=e.start;t<e.end;t++){let e=d[t]??0;l[e].fontSize>n&&(n=l[e].fontSize)}_.push(n*oo)}let v=p[0],y=n.getFontAscent(v,f),b=hs(s,a,_.reduce((e,t)=>e+t,0),y,u.top,u.bottom),x=0;for(let t=0;t<g.length;t++){let i=b-x;x+=_[t];let{start:s,end:f}=g[t],h=[];for(let e=s;e<f;e++){let t=d[e]??d.length-1,n=h[h.length-1];n&&n.run===l[t]?n.text+=c[e]:h.push({run:l[t],text:c[e],resourceName:p[t]})}let v=0;for(let e of h)v+=n.measureText(e.text,e.resourceName,e.run.fontSize);let y=gs(o,a,v,r,u.left,u.right),S=n.hasType3Fonts()&&!m;for(let t of h){let{run:r,text:a,resourceName:o}=t;e.setFillColor(r.textColor);let s=fs(e,a,y,i,o,r.fontSize,n,S);if(r.strike){let t=i+n.getFontDescent(o,r.fontSize)+r.fontSize*.3;e.drawLine(y,t,y+s,t,r.textColor,.5)}if(r.underline){let t=i+n.getFontDescent(o,r.fontSize)*.5;e.drawLine(y,t,y+s,t,r.textColor,.5)}y+=s}}return}let g=0,_=[];for(let e of l){let t=h(e),r=n.measureText(e.text,t,e.fontSize);_.push({resourceName:t,width:r}),g+=r}let v=_[0]?.resourceName??`F1`,y=hs(s,a,p,n.getFontAscent(v,f),u.top,u.bottom),b=gs(o,a,g,r,u.left,u.right),x=n.hasType3Fonts()&&!m;for(let t=0;t<l.length;t++){let r=l[t],{resourceName:i}=_[t];e.setFillColor(r.textColor);let a=fs(e,r.text,b,y,i,r.fontSize,n,x);if(r.strike){let t=y+n.getFontDescent(i,r.fontSize)+r.fontSize*.3;e.drawLine(b,t,b+a,t,r.textColor,.5)}if(r.underline){let t=y+n.getFontDescent(i,r.fontSize)*.5;e.drawLine(b,t,b+a,t,r.textColor,.5)}b+=a}}function ns(e,t,n,r,i=1){let{rect:a,wrapText:o}=t,{fontSize:s}=t,c=Ho(t,i),l=n.hasEmbeddedFont()?n.getEmbeddedResourceName():n.ensureFont(Sa(t.fontFamily,t.bold,t.italic)),u=Xo(t.textRotation),d=u*Math.PI/180,f=Math.cos(d),p=Math.sin(d),m=Math.abs(p),h=Math.abs(f),g=a.width-c.left-c.right,_=a.height-c.top-c.bottom,v;v=m>.01&&h>.01?Math.min(_/m,g/h):m>.01?_/m:g;let y=e=>n.measureText(e,l,s),b;b=o?vs(t.text,y,Math.max(v-1,1)):t.text.split(/\r?\n/);let x=s*oo,S=b.length*x;if(!o){let e=0;for(let t of b){let n=y(t);n>e&&(e=n)}let t=e*h+S*m,n=e*m+S*h;if(g>0&&_>0&&(t>g||n>_)){let e=Math.min(g/t,_/n);e<1&&(s*=e)}}let C=s*oo,w=n.getFontAscent(l,s),ee=Math.abs(u-90)<.01,te=Math.abs(u+90)<.01;e.setFillColor(t.textColor),ee?rs(e,t,b,n,l,s,C,w,c):te?is(e,t,b,n,l,s,C,w,c):as(e,t,b,n,l,s,C,w,f,p,r)}function rs(e,t,n,r,i,a,o,s,c){let{rect:l,horizontalAlign:u,verticalAlign:d}=t,f=n.length*o,p;p=u===`center`?l.x+l.width/2-f/2+s:u===`right`?l.x+l.width-c.right-f+s:l.x+c.left+s;for(let t=0;t<n.length;t++){let s=n[t],u=r.measureText(s,i,a),f=p+t*o,m;m=d===`top`?l.y+l.height-c.top-u:d===`middle`?l.y+(l.height-u)/2:l.y+c.bottom,m=Math.max(m,l.y+c.bottom),ss(e,r,{text:s,matrix:[0,1,-1,0,f,m],resourceName:i,fontSize:a})}}function is(e,t,n,r,i,a,o,s,c){let{rect:l,horizontalAlign:u,verticalAlign:d}=t,f=n.length*o,p;p=u===`center`?l.x+l.width/2+f/2-o+s:u===`right`?l.x+l.width-c.right-o+s:l.x+c.left+f-o+s;for(let t=0;t<n.length;t++){let s=n[t],u=r.measureText(s,i,a),f=p-t*o,m;m=d===`top`?l.y+l.height-c.top:d===`middle`?l.y+(l.height+u)/2:l.y+c.bottom+u,m=Math.min(m,l.y+l.height-c.top),ss(e,r,{text:s,matrix:[0,-1,1,0,f,m],resourceName:i,fontSize:a})}}function as(e,t,n,r,i,a,o,s,c,l,u){let{rect:d,horizontalAlign:f,verticalAlign:p}=t,m=Ho(t),h=0;for(let e of n){let t=r.measureText(e,i,a);t>h&&(h=t)}let g=n.length*o,_=Math.abs(l),v=Math.abs(c),y=h*v+g*_,b=h*_+g*v,x=Zo(t.textRotation,d.height)/2,S=f===`left`?u/2:f===`right`?-u/2:0,C;C=p===`top`?d.y+d.height-m.top-b/2:p===`bottom`?d.y+m.bottom+b/2:d.y+d.height/2;let w=d.height>0?(C-d.y)/d.height:.5,ee=x*2*w,te;te=f===`right`?d.x+d.width-m.right-y/2+S+ee:f===`left`?d.x+m.left+y/2+S+ee:d.x+d.width/2+S+ee;for(let t=0;t<n.length;t++){let u=n[t],d=r.measureText(u,i,a),f=(t-(n.length-1)/2)*o,p=-d/2,m=-s/2-f,h=te+p*c-m*l,g=C+p*l+m*c;ss(e,r,{text:u,matrix:[c,l,-l,c,h,g],resourceName:i,fontSize:a})}}function os(e,t,n,r){let i=t.encodeText(n,r);i?e.showTextHex(i):e.showText(n)}function ss(e,t,n){let[r,i,a,o,s,c]=n.matrix;e.deferred(()=>us(n.text,r,i,a,o,s,c,n.resourceName,n.fontSize,t,n.renderingMode??0))}function cs(e,t,n){e.deferred(()=>ls(t,n))}function ls(e,t){let{text:n,x:r,y:i,type1ResourceName:a,fontSize:o,anchor:s,maxWidth:c,lineHeightFactor:l,rotation:u}=e,d=t.resolveRenderResourceName(a),f=e=>t.measureText(e,d,o),p=c?vs(n,f,c):[n],m=o*l,h=u*Math.PI/180,g=u===0?1:Math.cos(h),_=u===0?0:Math.sin(h),v=s===`middle`?.5:+(s===`end`),y=[];for(let e=0;e<p.length;e++){let n=v===0?0:-f(p[e])*v,s=-e*m,c=r+n*g+s*-_,l=i+n*_+s*g;y.push(us(p[e],g,_,-_,g,c,l,a,o,t))}return y.join(`
|
|
44
|
+
`)}function us(e,t,n,r,i,a,o,s,c,l,u=0){let d=new Kt;if(!(l.hasType3Fonts()&&!l.hasEmbeddedFont())){let f=l.resolveRenderResourceName(s);return d.beginText(),u!==0&&d.setTextRenderingMode(u),d.setFont(f,c),d.setTextMatrix(t,n,r,i,a,o),os(d,l,e,f),d.endText(),d.toString()}let f=ds(e,l),p=a,m=o;for(let e of f){d.beginText(),u!==0&&d.setTextRenderingMode(u),e.type3?(d.setFont(e.type3.resourceName,c),d.setTextMatrix(t,n,r,i,p,m),d.showTextHex(e.type3.hex)):(d.setFont(s,c),d.setTextMatrix(t,n,r,i,p,m),os(d,l,e.text,s)),d.endText();let a=l.measureText(e.text,e.type3?.resourceName??s,c);p+=t*a,m+=n*a}return d.toString()}function ds(e,t){let n=[],r=``,i=null,a=[],o=()=>{if(!r)return;let e=i,o=e===null?null:t.encodeType3Run(a,e);n.push({text:r,type3:e!==null&&o!==null?{resourceName:e,hex:o}:null}),r=``,i=null,a=[]};for(let n=0;n<e.length;n++){let s=e.codePointAt(n),c=String.fromCodePoint(s);s>65535&&n++;let l=t.needsType3(s)?t.resolveType3(s)?.resourceName??null:null;l!==i&&(o(),i=l),r+=c,l!==null&&a.push(s)}return o(),n}function fs(e,t,n,r,i,a,o,s){return ss(e,o,{text:t,matrix:[1,0,0,1,n,r],resourceName:i,fontSize:a}),o.measureText(t,i,a)}function ps(e,t,n,r,i=1){let{rect:a,text:o,fontSize:s,horizontalAlign:c,verticalAlign:l}=t,u=Ho(t,i),d=n.hasEmbeddedFont()?n.getEmbeddedResourceName():n.ensureFont(Sa(t.fontFamily,t.bold,t.italic)),f=s*1.3,p=n.getFontAscent(d,s),m=o.split(/\r?\n/),h=s*1.4,g=m.length*h,_;_=c===`center`?a.x+a.width/2-g/2+h/2:c===`right`?a.x+a.width-u.right-g+h/2:a.x+u.left+h/2,e.setFillColor(t.textColor);for(let t=0;t<m.length;t++){let r=m[t],i=_+t*h,o=r.length*f,c;c=l===`middle`?a.y+a.height/2+o/2-p:l===`bottom`?a.y+u.bottom+o-p:a.y+a.height-u.top-p;for(let t of r){if(c<a.y+u.bottom)break;ss(e,n,{text:t,matrix:[1,0,0,1,i-n.measureText(t,d,s)/2,c],resourceName:d,fontSize:s}),c-=f}}}function ms(e){return`GS${Math.round(e*1e4)}`}function hs(e,t,n,r,i=2,a=i){let o;switch(e){case`top`:o=t.y+t.height-i-r;break;case`middle`:o=t.y+t.height/2+n/2-r;break;default:o=t.y+a+(n-r)}let s=t.y+t.height-i-r;o>s&&(o=s);let c=t.y+a;return o<c&&(o=c),o}function gs(e,t,n,r=0,i=3,a=i){let o;switch(e){case`center`:o=t.x+(t.width-n)/2;break;case`right`:o=t.x+t.width-a-n;break;default:o=t.x+i+r}let s=t.x+i;return o<s&&(o=s),o}function _s(e,t,n,r,i,a,o,s,c,l){if(t.strike){let u=i+s.getFontDescent(o,t.fontSize)+t.fontSize*.3;for(let i=0;i<n.length;i++){let o=u-i*r,s=a(n[i]),d=gs(t.horizontalAlign,t.rect,s,c,l?.left,l?.right);e.drawLine(d,o,d+s,o,t.textColor,.5)}}if(t.underline){let u=s.getFontDescent(o,t.fontSize)*.5;for(let o=0;o<n.length;o++){let s=i-o*r+u,d=a(n[o]),f=gs(t.horizontalAlign,t.rect,d,c,l?.left,l?.right);e.drawLine(f,s,f+d,s,t.textColor,.5)}}}function vs(e,t,n){if(!e)return[``];let r=e.split(/\r?\n/),i=[];for(let e of r){if(!e){i.push(``);continue}let r=e.split(/\s+/),a=``;for(let e of r){if(!a){a=e;continue}let r=a+` `+e;t(r)<=n?a=r:(i.push(a),a=e)}a&&i.push(a)}return i.length>0?i:[``]}function ys(e,t,n,r,i,a){if(!e)return[{start:0,end:0}];let o=(a,o)=>{if(a>=o)return 0;let s=0,c=a,l=t[a]??0;for(let u=a+1;u<=o;u++){let a=u<o?t[u]??l:-1;if(a!==l){let t=n[l],o=e.slice(c,u);s+=i.measureText(o,r[l],t.fontSize),c=u,l=a}}return s},s=[],c=0,l=e.length;for(;c<=l;){let t=e.indexOf(`
|
|
45
|
+
`,c);if(t===-1&&(t=l),t===c){s.push({start:c,end:c}),c=t+1;continue}let n=t>c&&e[t-1]===`\r`?t-1:t;if(n===c){s.push({start:c,end:c}),c=t+1;continue}let r=e.slice(c,n),i=[],u=[],d=!1;for(let e=0;e<r.length;e++){let t=r[e]===` `||r[e]===` `;!t&&!d?(i.push(e),d=!0):t&&d&&(u.push(e),d=!1)}d&&u.push(r.length);let f=c,p=c;for(let e=0;e<i.length;e++){let t=c+u[e];if(p===f){p=t;continue}o(f,t)<=a?p=t:(s.push({start:f,end:p}),f=c+i[e],p=t)}if((p>f||i.length===0)&&s.push({start:f,end:Math.max(p,f)}),c=t+1,t===l)break}return s.length>0?s:[{start:0,end:0}]}function bs(e,t,n,r,i,a){let o=t.headerFooter?.alignWithMargins!==!1,s=o?n.margins.left:zs.UNPINNED_EDGE_INSET,c=o?t.width-n.margins.right:t.width-zs.UNPINNED_EDGE_INSET,l=t.width/2,u=a===`header`?t.height-n.headerMargin-xs(i)*zs.ASCENT_RATIO:n.footerMargin-xs(i)*zs.DESCENT_RATIO;Ss(e,t,r,i.left,s,u,`left`,a),Ss(e,t,r,i.center,l,u,`center`,a),Ss(e,t,r,i.right,c,u,`right`,a)}function xs(e){let t=11;for(let n of[e.left,e.center,e.right])for(let e of n)t=Math.max(t,e.fontSize);return t}function Ss(e,t,n,r,i,a,o,s){let c=[[]];for(let e of r.filter(e=>e.field!==`image`)){let n=Go(e,t).split(/\r?\n/);for(let t=0;t<n.length;t++)t>0&&c.push([]),n[t]&&c[c.length-1].push({run:e,text:n[t]})}let l=Math.max(11,xs({left:r,center:[],right:[]}))*oo,u=s===`footer`?a+(c.length-1)*l:a;for(let r=0;r<c.length;r++){let a=Cs(c[r],t,n),s=a.reduce((e,t)=>e+t.width,0),d=o===`center`?i-s/2:o===`right`?i-s:i,f=u-r*l;for(let r of a){let{run:i,text:a,resourceName:o,fontSize:s,width:c}=r,l=i.superscript?s*zs.SUPERSCRIPT_RISE:i.subscript?-s*zs.SUBSCRIPT_DROP:0,u=t.options.blackAndWhite,p=i.color??{r:0,g:0,b:0},m=u?ko(p):p;e.save(),e.setFillColor(m),e.setStrokeColor(m),e.setLineWidth(Math.max(.25,s*zs.OUTLINE_WIDTH_RATIO)),i.shadow&&(e.setFillColor(Bs),ss(e,n,{text:a,matrix:[1,0,0,1,d+1,f+l-1],resourceName:o,fontSize:s}),e.setFillColor(m)),ss(e,n,{text:a,matrix:[1,0,0,1,d,f+l],resourceName:o,fontSize:s,renderingMode:+!!i.outline});let h=.5,g=f-1;if((i.underline||i.doubleUnderline)&&(e.drawLine(d,g,d+c,g,m,h),i.doubleUnderline&&e.drawLine(d,g-2,d+c,g-2,m,h)),i.strike){let t=f+s*zs.STRIKE_RATIO;e.drawLine(d,t,d+c,t,m,h)}e.restore(),d+=c}}}function Cs(e,t,n){return e.map(({run:e,text:r})=>{let i=n.hasEmbeddedFont()?n.getEmbeddedResourceName():n.ensureFont(Sa(Ko(e,t),e.bold,e.italic)),a=e.fontSize*(t.headerFooter?.scaleWithDoc===!1?1:t.scaleFactor);return{run:e,text:r,resourceName:i,fontSize:a,width:n.measureText(r,i,a)}})}function ws(e){let t=e,n=``;for(;t>0;){let e=(t-1)%26;n=String.fromCharCode(65+e)+n,t=Math.floor((t-1)/26)}return n}function Ts(e,t,n,r){let i=t.headings;if(!i||t.columnWidths.length===0||t.rowHeights.length===0)return;let{gutterWidth:a,bandHeight:o,fontSize:s}=i,c=r.hasEmbeddedFont()?r.getEmbeddedResourceName():r.ensureFont(Sa(n.defaultFontFamily,!1,!1)),l=co,u=lo,d=uo,f=t.columnOffsets[0],p=t.columnWidths.length-1,m=t.columnOffsets[p]+t.columnWidths[p],h=t.rowYPositions[0],g=t.rowHeights.length-1,_=t.rowYPositions[g]-t.rowHeights[g];e.save(),e.fillRect(f,h,m-f,o,l),e.fillRect(f-a,_,a,h-_,l),e.fillRect(f-a,h,a,o,l),e.setStrokeColor(u),e.setLineWidth(.25);for(let n=0;n<=t.columnWidths.length;n++){let r=n<t.columnWidths.length?t.columnOffsets[n]:t.columnOffsets[n-1]+t.columnWidths[n-1];e.moveTo(r,h),e.lineTo(r,h+o)}for(let n=0;n<=t.rowYPositions.length;n++){let r=n<t.rowYPositions.length?t.rowYPositions[n]:t.rowYPositions[n-1]-t.rowHeights[n-1];e.moveTo(f-a,r),e.lineTo(f,r)}e.moveTo(f-a,h+o),e.lineTo(m,h+o),e.moveTo(f-a,_),e.lineTo(f-a,h+o),e.stroke(),e.setFillColor(d);let v=(o-s)/2+s*.2;for(let n=0;n<t.sheetCols.length;n++){let i=ws(t.sheetCols[n]);r.trackText(i);let a=r.measureText(i,c,s);ss(e,r,{text:i,matrix:[1,0,0,1,t.columnOffsets[n]+(t.columnWidths[n]-a)/2,h+v],resourceName:c,fontSize:s})}for(let n=0;n<t.sheetRows.length;n++){let i=String(t.sheetRows[n]);r.trackText(i);let o=r.measureText(i,c,s),l=t.rowHeights[n];ss(e,r,{text:i,matrix:[1,0,0,1,f-a+(a-o)/2,t.rowYPositions[n]-l+(l-s)/2+s*.2],resourceName:c,fontSize:s})}e.restore()}function Es(e,t,n,r){let i=t.commentBoxes;if(!i?.length)return;let a=n.blackAndWhite,o=a?ko(po):po,s=a?ko(mo):mo,c=a?ko(ho):ho,l=r.hasEmbeddedFont()?r.getEmbeddedResourceName():r.ensureFont(Sa(n.defaultFontFamily,!1,!1));for(let t of i){let{rect:n}=t;e.save(),e.fillRect(n.x,n.y,n.width,n.height,o),e.setStrokeColor(s),e.setLineWidth(.5),e.rect(n.x,n.y,n.width,n.height),e.stroke();let i=t.fontSize*oo,u=Math.max(n.width-6,1),d=e=>r.measureText(e,l,t.fontSize),f=t.text.split(`
|
|
46
|
+
`).flatMap(e=>vs(e,d,u));e.setFillColor(a?ko({r:0,g:0,b:0}):{r:0,g:0,b:0});let p=n.y+n.height-2-t.fontSize;for(let a of f){if(p<n.y+2)break;r.trackText(a),ss(e,r,{text:a,matrix:[1,0,0,1,n.x+3,p],resourceName:l,fontSize:t.fontSize}),p-=i}if(e.restore(),t.marker){let{x:n,y:r,size:i}=t.marker;e.save(),e.setFillColor(c),e.moveTo(n-i,r),e.lineTo(n,r),e.lineTo(n,r-i),e.closePath(),e.fill(),e.restore()}}}function Ds(e,t,n,r){let i=t.sheetName,a=r.hasEmbeddedFont()?r.getEmbeddedResourceName():r.ensureFont(Sa(n.defaultFontFamily,!0,!1)),o=r.measureText(i,a,10),s=(t.width-o)/2,c=t.height-n.margins.top+5;e.save(),e.setFillColor({r:.3,g:.3,b:.3}),ss(e,r,{text:i,matrix:[1,0,0,1,s,c],resourceName:a,fontSize:10}),e.restore()}function Os(e,t,n,r,i){let a=`Page ${t.pageNumber} of ${i}`,o=r.ensureFont(Sa(n.defaultFontFamily,!1,!1)),s=r.measureText(a,o,9),c=(t.width-s)/2,l=Math.max(5,n.margins.bottom-15);e.save(),e.setFillColor({r:.5,g:.5,b:.5}),e.beginText(),e.setFont(o,9),e.setTextMatrix(1,0,0,1,c,l),e.showText(a),e.endText(),e.restore()}function ks(e,t,n,r){return n.type===`text`?Ns(e,t,As(n),r):Ps(e,t,js(n))}function As(e){return{...e,opacity:Ms(e.opacity??Vs.opacity),fontSize:Math.max(1,e.fontSize??Vs.fontSize),repeatSpacingX:Math.max(Us,e.repeatSpacingX??Vs.repeatSpacingX),repeatSpacingY:Math.max(Us,e.repeatSpacingY??Vs.repeatSpacingY)}}function js(e){return{...e,opacity:Ms(e.opacity??Hs.opacity),scale:Math.max(.01,e.scale??Hs.scale),width:e.width===void 0?void 0:Math.max(1,e.width),height:e.height===void 0?void 0:Math.max(1,e.height),repeatSpacingX:Math.max(Us,e.repeatSpacingX??Hs.repeatSpacingX),repeatSpacingY:Math.max(Us,e.repeatSpacingY??Hs.repeatSpacingY)}}function Ms(e){return Math.max(0,Math.min(1,e))}function Ns(e,t,n,r){let i=n.fontSize??Vs.fontSize,a=n.color??Vs.color,o=t.options.blackAndWhite?ko(a):a,s=n.opacity??Vs.opacity,c=n.rotation??Vs.rotation,l=n.fontFamily??Vs.fontFamily,u=n.bold??Vs.bold,d=n.italic??Vs.italic,f=r.hasEmbeddedFont()?r.getEmbeddedResourceName():r.ensureFont(Sa(l,u,d)),p=r.measureText(n.text,f,i),m=i*.7,h=c*Math.PI/180,g=Math.cos(h),_=Math.sin(h),v=s<1,y=v?ms(s):``,b=(t,a)=>{let s=p/2,c=m/2,l=t-s*g+c*_,u=a-s*_-c*g;e.save(),v&&e.setGraphicsState(y),e.setFillColor(o),ss(e,r,{text:n.text,matrix:[g,_,-_,g,l,u],resourceName:f,fontSize:i}),e.restore()};if(n.repeat){let e=n.repeatSpacingX??Vs.repeatSpacingX,r=n.repeatSpacingY??Vs.repeatSpacingY;Is(t.width,t.height,e,r,b)}else{let{cx:e,cy:r}=Fs(t,n.position);b(e,r)}return{alphaValues:v?[s]:[],imageXObjects:[]}}function Ps(e,t,n){let r=n.opacity??Hs.opacity,i=n.rotation??Hs.rotation,a=n.scale??Hs.scale,o=r<1,s,c;if(n.width!==void 0&&n.height!==void 0)s=n.width,c=n.height;else{let e=Ze(n.data,n.format),r=Math.min(t.width,t.height)*a,i=Math.max(e.width,e.height),o=i>0?r/i:1;s=e.width*o,c=e.height*o}let l=i*Math.PI/180,u=Math.cos(l),d=Math.sin(l),f=o?ms(r):``,p=`WmImg`,m=(t,n)=>{e.save(),o&&e.setGraphicsState(f);let r=s/2,i=c/2,a=t-r*u+i*d,l=n-r*d-i*u;e.concat(s*u,s*d,-c*d,c*u,a,l),e.doXObject(p),e.restore()};if(n.repeat){let e=n.repeatSpacingX??Hs.repeatSpacingX,r=n.repeatSpacingY??Hs.repeatSpacingY;Is(t.width,t.height,e,r,m)}else{let{cx:e,cy:r}=Fs(t,n.position);m(e,r)}return{alphaValues:o?[r]:[],imageXObjects:[{name:p,data:n.data,format:n.format}]}}function Fs(e,t){return!t||t===`center`?{cx:e.width/2,cy:e.height/2}:{cx:t.x,cy:t.y}}function Is(e,t,n,r,i){let a=Math.max(e,t)*.5,o=0;for(let s=-a;s<t+a;s+=r){let t=o%2==1?n/2:0;for(let r=-a;r<e+a;r+=n)i(r+t,s);o++}}var Ls,Rs,zs,Bs,Vs,Hs,Us,Ws=n((()=>{at(),Jt(),Da(),_o(),Vo(),Ls={year:`numeric`,month:`numeric`,day:`numeric`},Rs={hour:`numeric`,minute:`2-digit`},zs={ASCENT_RATIO:.75,DESCENT_RATIO:.25,SUPERSCRIPT_RISE:.35,SUBSCRIPT_DROP:.2,STRIKE_RATIO:.3,OUTLINE_WIDTH_RATIO:1/30,UNPINNED_EDGE_INSET:18},Bs={r:.5,g:.5,b:.5},Vs={fontSize:54,color:{r:.75,g:.75,b:.75},opacity:.15,rotation:-45,fontFamily:`Helvetica`,bold:!1,italic:!1,repeatSpacingX:200,repeatSpacingY:200},Hs={opacity:.15,rotation:0,scale:.5,repeatSpacingX:200,repeatSpacingY:200},Us=10})),Gs=r({asn1Parse:()=>qs,buildCmsSignedData:()=>oc,buildSignatureDictPlaceholder:()=>cc,parseCmsSignedData:()=>ac,signPdf:()=>lc,verifyPdfSignature:()=>sc});function Ks(e,t){if(t>=e.length)throw Error(`ASN.1: unexpected end of data`);let n=e[t++],r=e[t++];if(r&128){let n=r&127;r=0;for(let i=0;i<n;i++)r=r<<8|e[t++]}let i=t,a=t+r,o=e.subarray(i,a),s=[];if((n&bc)!==0){let t=i;for(;t<a;){let n=Ks(e,t);s.push(n.node),t=n.end}}return{node:{tag:n,bytes:o,children:s},end:a}}function qs(e){return Ks(e,0).node}function Js(e){let t=[],n=0;for(;n<e.length;){let r=Ks(e,n);t.push(r.node),n=r.end}return t}function Ys(e){if(e<128)return new Uint8Array([e]);let t=[],n=e;for(;n>0;)t.unshift(n&255),n>>=8;return new Uint8Array([128|t.length,...t])}function Xs(e,t){let n=Ys(t.length),r=new Uint8Array(1+n.length+t.length);return r[0]=e,r.set(n,1),r.set(t,1+n.length),r}function Zs(...e){let t=0;for(let n of e)t+=n.length;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return Xs(Tc,n)}function Qs(...e){let t=0;for(let n of e)t+=n.length;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return Xs(Ec,n)}function $s(e){let t=e.split(`.`).map(Number),n=[40*t[0]+t[1]];for(let e=2;e<t.length;e++){let r=t[e];if(r<128)n.push(r);else{let e=[];for(e.push(r&127),r>>=7;r>0;)e.push(128|r&127),r>>=7;e.reverse(),n.push(...e)}}return Xs(wc,new Uint8Array(n))}function ec(e){if(e.length>0&&e[0]&128){let t=new Uint8Array(e.length+1);return t.set(e,1),Xs(xc,t)}return Xs(xc,e)}function tc(e){return Xs(Sc,e)}function nc(e,t){return Xs(160|e,t)}function rc(e){if(e.length===0)return``;let t=[Math.floor(e[0]/40),e[0]%40],n=0;for(let r=1;r<e.length;r++)n=n<<7|e[r]&127,e[r]&128||(t.push(n),n=0);return t.join(`.`)}function ic(e){let t=qs(e).children[0];if(!t)throw Error(`Invalid X.509 certificate: missing TBSCertificate`);let n=5;t.children.length>0&&(t.children[0].tag&224)==160&&(n=6);let r=t.children[n];if(!r||r.tag!==Tc)throw Error(`Invalid X.509 certificate: missing SubjectPublicKeyInfo`);return Xs(r.tag,r.bytes)}function ac(e){let t=qs(e);if(t.tag!==Tc||t.children.length<2)throw Error(`Invalid PKCS#7: not a ContentInfo SEQUENCE`);let n=t.children[0],r=rc(n.bytes);if(r!==Dc)throw Error(`Invalid PKCS#7: expected SignedData OID, got ${r}`);let i=t.children[1].children[0];if(!i||i.tag!==Tc)throw Error(`Invalid PKCS#7: missing SignedData SEQUENCE`);let a=i.children,o=null;for(let e of a)if((e.tag&240)==160&&!(e.tag&15)){if(e.children.length>0){let t=e.children[0];o=Xs(t.tag,t.bytes)}break}if(!o)throw Error(`PKCS#7: no certificate found`);let s=null;for(let e=a.length-1;e>=0;e--)if(a[e].tag===Ec){s=a[e];break}if(!s||s.children.length===0)throw Error(`PKCS#7: no signerInfos found`);let c=s.children[0].children,l=c[2],u=l?rc(l.children[0]?.bytes??new Uint8Array):``,d=new Uint8Array,f=new Uint8Array;for(let e of c)if((e.tag&240)==160&&!(e.tag&15)){d=Xs(Ec,e.bytes);let t=Js(e.bytes);for(let e of t)if(!(e.tag!==Tc||e.children.length<2)&&rc(e.children[0].bytes)===Mc){let t=e.children[1];t.children.length>0&&(f=new Uint8Array(t.children[0].bytes))}break}let p=new Uint8Array;for(let e=c.length-1;e>=0;e--)if(c[e].tag===Sc){p=new Uint8Array(c[e].bytes);break}return{certificate:o,signature:p,digestAlgorithmOid:u,signedAttrsRaw:d,messageDigest:f}}async function oc(e){let{certificate:t,privateKey:n,data:r}=e,i=_t(r),a=vc(new Date),o=Zs($s(jc),Qs($s(Oc))),s=Zs($s(Mc),Qs(tc(i))),c=gc(o,Zs($s(Nc),Qs(Xs(23,new TextEncoder().encode(a)))),s),l=await wt(n,Xs(Ec,c)),u=Xs(160,c),d=qs(t),f=d.children[0],p,m;f.children[0]&&(f.children[0].tag&224)==160?(m=Xs(f.children[1].tag,f.children[1].bytes),p=Xs(f.children[3].tag,f.children[3].bytes)):(m=Xs(f.children[0].tag,f.children[0].bytes),p=Xs(f.children[2].tag,f.children[2].bytes));let h=Zs(ec(new Uint8Array([1])),Zs(p,m),Zs($s(kc),Xs(Cc,new Uint8Array)),u,Zs($s(Ac),Xs(Cc,new Uint8Array)),tc(l)),g=Zs(ec(new Uint8Array([1])),Qs(Zs($s(kc),Xs(Cc,new Uint8Array))),Zs($s(Oc)),nc(0,Xs(d.tag,d.bytes)),Qs(h));return Zs($s(Dc),nc(0,g))}async function sc(e,t,n){try{let r=ac(uc(t)),[i,a,o,s]=n,c=e.subarray(i,i+a),l=e.subarray(o,o+s),u=new Uint8Array(a+s);if(u.set(c),u.set(l,a),!fc(mc(r.digestAlgorithmOid,u),r.messageDigest))return{valid:!1,coversWholeFile:pc(n,e.length),digestAlgorithm:r.digestAlgorithmOid,reason:`Message digest mismatch — PDF content was modified after signing`};let d=await Ct(ic(r.certificate),r.signature,r.signedAttrsRaw);return{valid:d,coversWholeFile:pc(n,e.length),digestAlgorithm:r.digestAlgorithmOid,reason:d?void 0:`RSA signature verification failed`}}catch(e){return{valid:!1,coversWholeFile:!1,digestAlgorithm:``,reason:`Signature verification error: ${e instanceof Error?e.message:String(e)}`}}}function cc(e){let t=`0`.repeat(Pc*2),n=`<< /Type /Sig /Filter /Adobe.PPKLite /SubFilter /adbe.pkcs7.detached`;n+=` /Contents <${t}>`,n+=` /ByteRange [0 0000000000 0000000000 0000000000]`,e?.name&&(n+=` /Name (${_c(e.name)})`),e?.reason&&(n+=` /Reason (${_c(e.reason)})`),e?.location&&(n+=` /Location (${_c(e.location)})`),e?.contactInfo&&(n+=` /ContactInfo (${_c(e.contactInfo)})`);let r=yc(new Date);return n+=` /M (${r})`,n+=` >>`,{dictString:n,placeholder:t}}async function lc(e,t,n){let r=new Uint8Array(e),i=hc(r,`/ByteRange [`);if(i===-1)throw Error(`signPdf: /ByteRange placeholder not found`);let a=Math.max(0,i-2e4),o=Math.min(r.length,i+200),s=-1,c=new TextEncoder().encode(`/Contents <`);for(let e=a;e<o;e++){let t=!0;for(let n=0;n<c.length;n++)if(r[e+n]!==c[n]){t=!1;break}if(t){s=e;break}}if(s===-1)throw Error(`signPdf: /Contents placeholder not found near /ByteRange`);let l=s+11,u=l;for(;u<r.length&&r[u]!==62;)u++;let d=i+12,f=d;for(;f<r.length&&r[f]!==93;)f++;let p=l-1,m=u+1,h=[0,p,m,r.length-m],g=`${h[0]} ${h[1]} ${h[2]} ${h[3]}`.padEnd(f-d,` `);for(let e=0;e<g.length;e++)r[d+e]=g.charCodeAt(e);let _=r.subarray(h[0],h[0]+h[1]),v=r.subarray(h[2],h[2]+h[3]),y=new Uint8Array(h[1]+h[3]);y.set(_),y.set(v,h[1]);let b=dc(await oc({certificate:t,privateKey:n,data:y})).padEnd(u-l,`0`);for(let e=0;e<b.length&&e<u-l;e++)r[l+e]=b.charCodeAt(e);return r}function uc(e){let t=e.replace(/\s/g,``),n=new Uint8Array(t.length/2);for(let e=0;e<n.length;e++)n[e]=parseInt(t.substring(e*2,e*2+2),16);return n}function dc(e){let t=``;for(let n=0;n<e.length;n++)t+=e[n].toString(16).padStart(2,`0`);return t}function fc(e,t){if(e.length!==t.length)return!1;let n=0;for(let r=0;r<e.length;r++)n|=e[r]^t[r];return n===0}function pc(e,t){return e[0]===0&&e[2]+e[3]===t}function mc(e,t){switch(e){case`1.3.14.3.2.26`:return St(`SHA-1`,t);case kc:return _t(t);case`2.16.840.1.101.3.4.2.2`:return St(`SHA-384`,t);case`2.16.840.1.101.3.4.2.3`:return St(`SHA-512`,t);case`1.2.840.113549.2.5`:return yt(t);default:return _t(t)}}function hc(e,t){let n=new TextEncoder().encode(t);for(let t=0;t<=e.length-n.length;t++){let r=!0;for(let i=0;i<n.length;i++)if(e[t+i]!==n[i]){r=!1;break}if(r)return t}return-1}function gc(...e){let t=0;for(let n of e)t+=n.length;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}function _c(e){return e.replace(/\\/g,`\\\\`).replace(/\(/g,`\\(`).replace(/\)/g,`\\)`)}function vc(e){let t=e=>String(e).padStart(2,`0`);return`${String(e.getUTCFullYear()).slice(-2)}${t(e.getUTCMonth()+1)}${t(e.getUTCDate())}${t(e.getUTCHours())}${t(e.getUTCMinutes())}${t(e.getUTCSeconds())}Z`}function yc(e){let t=e=>String(e).padStart(2,`0`);return`D:${e.getUTCFullYear()}${t(e.getUTCMonth()+1)}${t(e.getUTCDate())}${t(e.getUTCHours())}${t(e.getUTCMinutes())}${t(e.getUTCSeconds())}Z`}var bc,xc,Sc,Cc,wc,Tc,Ec,Dc,Oc,kc,Ac,jc,Mc,Nc,Pc,Fc=n((()=>{Mt(),bc=32,xc=2,Sc=4,Cc=5,wc=6,Tc=48,Ec=49,Dc=`1.2.840.113549.1.7.2`,Oc=`1.2.840.113549.1.7.1`,kc=`2.16.840.1.101.3.4.2.1`,Ac=`1.2.840.113549.1.1.11`,jc=`1.2.840.113549.1.9.3`,Mc=`1.2.840.113549.1.9.4`,Nc=`1.2.840.113549.1.9.5`,Pc=8192}));function Ic(e){let t=[],n=e.match(/[a-zA-Z]|[-+]?(?:\d+\.?\d*|\.\d+)(?:[eE][-+]?\d+)?/g);if(!n)return t;let r=0,i=0,a=0,o=0,s=0,c=``,l=0,u=0,d=()=>r>=n.length?0:parseFloat(n[r++]),f=()=>{if(r>=n.length)return!1;let e=n[r].charCodeAt(0);return e===45||e===43||e===46||e>=48&&e<=57};for(;r<n.length;){let e=n[r];switch(/[a-zA-Z]/.test(e)?r++:e=c===`M`?`L`:c===`m`?`l`:c,e){case`M`:for(i=d(),a=d(),t.push({op:`move`,x:i,y:a}),o=i,s=a,c=`M`;f();)i=d(),a=d(),t.push({op:`line`,x:i,y:a});break;case`m`:for(i+=d(),a+=d(),t.push({op:`move`,x:i,y:a}),o=i,s=a,c=`m`;f();)i+=d(),a+=d(),t.push({op:`line`,x:i,y:a});break;case`L`:do i=d(),a=d(),t.push({op:`line`,x:i,y:a});while(f());c=`L`;break;case`l`:do{let e=d(),n=d();i+=e,a+=n,t.push({op:`line`,x:i,y:a})}while(f());c=`l`;break;case`H`:do i=d(),t.push({op:`line`,x:i,y:a});while(f());c=`H`;break;case`h`:do i+=d(),t.push({op:`line`,x:i,y:a});while(f());c=`h`;break;case`V`:do a=d(),t.push({op:`line`,x:i,y:a});while(f());c=`V`;break;case`v`:do a+=d(),t.push({op:`line`,x:i,y:a});while(f());c=`v`;break;case`C`:do{let e=d(),n=d(),r=d(),o=d(),s=d(),c=d();t.push({op:`curve`,x1:e,y1:n,x2:r,y2:o,x3:s,y3:c}),l=r,u=o,i=s,a=c}while(f());c=`C`;break;case`c`:do{let e=i+d(),n=a+d(),r=i+d(),o=a+d(),s=i+d(),c=a+d();t.push({op:`curve`,x1:e,y1:n,x2:r,y2:o,x3:s,y3:c}),l=r,u=o,i=s,a=c}while(f());c=`c`;break;case`S`:do{let e=c===`S`||c===`s`||c===`C`||c===`c`?2*i-l:i,n=c===`S`||c===`s`||c===`C`||c===`c`?2*a-u:a,r=d(),o=d(),s=d(),f=d();t.push({op:`curve`,x1:e,y1:n,x2:r,y2:o,x3:s,y3:f}),l=r,u=o,i=s,a=f,c=`S`}while(f());break;case`s`:do{let e=c===`S`||c===`s`||c===`C`||c===`c`?2*i-l:i,n=c===`S`||c===`s`||c===`C`||c===`c`?2*a-u:a,r=i+d(),o=a+d(),s=i+d(),f=a+d();t.push({op:`curve`,x1:e,y1:n,x2:r,y2:o,x3:s,y3:f}),l=r,u=o,i=s,a=f,c=`s`}while(f());break;case`Q`:do{let e=d(),n=d(),r=d(),o=d(),s=i+2/3*(e-i),c=a+2/3*(n-a),f=r+2/3*(e-r),p=o+2/3*(n-o);t.push({op:`curve`,x1:s,y1:c,x2:f,y2:p,x3:r,y3:o}),l=e,u=n,i=r,a=o}while(f());c=`Q`;break;case`q`:do{let e=i+d(),n=a+d(),r=i+d(),o=a+d(),s=i+2/3*(e-i),c=a+2/3*(n-a),f=r+2/3*(e-r),p=o+2/3*(n-o);t.push({op:`curve`,x1:s,y1:c,x2:f,y2:p,x3:r,y3:o}),l=e,u=n,i=r,a=o}while(f());c=`q`;break;case`T`:do{let e=c===`Q`||c===`q`||c===`T`||c===`t`?2*i-l:i,n=c===`Q`||c===`q`||c===`T`||c===`t`?2*a-u:a,r=d(),o=d(),s=i+2/3*(e-i),f=a+2/3*(n-a),p=r+2/3*(e-r),m=o+2/3*(n-o);t.push({op:`curve`,x1:s,y1:f,x2:p,y2:m,x3:r,y3:o}),l=e,u=n,i=r,a=o,c=`T`}while(f());break;case`t`:do{let e=c===`Q`||c===`q`||c===`T`||c===`t`?2*i-l:i,n=c===`Q`||c===`q`||c===`T`||c===`t`?2*a-u:a,r=i+d(),o=a+d(),s=i+2/3*(e-i),f=a+2/3*(n-a),p=r+2/3*(e-r),m=o+2/3*(n-o);t.push({op:`curve`,x1:s,y1:f,x2:p,y2:m,x3:r,y3:o}),l=e,u=n,i=r,a=o,c=`t`}while(f());break;case`A`:case`a`:{let n=e===`a`;do{let e=Math.abs(d()),r=Math.abs(d()),o=d()*Math.PI/180,s=d()!==0,c=d()!==0,l=n?i+d():d(),u=n?a+d():d();Jc(t,i,a,e,r,o,s,c,l,u),i=l,a=u}while(f());c=e;break}case`Z`:case`z`:t.push({op:`close`}),i=o,a=s,c=e;break;default:r++}}return t}function Lc(e){let t=Rc(/<svg\b([^>]*)>/i.exec(e)?.[1]??``),n=t.viewBox?.split(/[\s,]+/).map(Number)??[],r=Hc(t.width,n[2],300),i=Hc(t.height,n[3],150),a=[],o=/<(rect|line|circle|polyline|polygon|path)\b([^>]*)\/?>|<text\b([^>]*)>([\s\S]*?)<\/text>/gi,s;for(;(s=o.exec(e))!==null;)s[1]?a.push({name:s[1],attrs:Rc(s[2]??``),text:``}):a.push({name:`text`,attrs:Rc(s[3]??``),text:s[4]??``});return{width:r,height:i,elements:a}}function Rc(e){let t={},n=0,r=e.length;for(;n<r;){for(;n<r&&!zc(e.charCodeAt(n));)n++;if(n>=r)break;let i=n;for(;n<r&&zc(e.charCodeAt(n));)n++;let a=e.slice(i,n);if(n>=r||e.charCodeAt(n)!==61||(n++,n>=r||e.charCodeAt(n)!==34))continue;n++;let o=n;for(;n<r&&e.charCodeAt(n)!==34;)n++;t[a]=e.slice(o,n),n<r&&n++}return t}function zc(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===95||e===58||e===45}function Bc(e,t,n){let r=parseFloat(e.attrs[t]??``);return Number.isFinite(r)?r:n}function Vc(e,t,n,r){let i=e.attrs[t];if(!i)return r;if(i.trim().endsWith(`%`)){let e=parseFloat(i);return Number.isFinite(e)?n*e/100:r}let a=parseFloat(i);return Number.isFinite(a)?a:r}function Hc(e,t,n){if(!e||e.trim().endsWith(`%`))return t||n;let r=parseFloat(e);return Number.isFinite(r)&&r>0?r:t||n}function Uc(e){if(!e||e===`none`)return;let t=e.trim(),n=/^rgba?\(([^)]+)\)$/i.exec(t);if(n){let e=n[1].split(/[\s,]+/).filter(Boolean).map(e=>{if(e.endsWith(`%`)){let t=Number.parseFloat(e);return Number.isFinite(t)?t/100:void 0}let t=Number.parseFloat(e);return Number.isFinite(t)?t:void 0});if(e.length<3||e.slice(0,3).some(e=>e===void 0))return;let t=n[1].split(/[\s,]+/).filter(Boolean),r=(e,n)=>t[n]?.endsWith(`%`)?Math.max(0,Math.min(1,e)):Math.max(0,Math.min(1,e/255)),i={r:r(e[0],0),g:r(e[1],1),b:r(e[2],2)};return e.length>=4&&e[3]!==void 0&&(i.a=Math.max(0,Math.min(1,e[3]))),i}return vo(t.startsWith(`#`)?t.slice(1):t)??void 0}function Wc(e,t){if(!e||!t)return e;let n=Number.parseFloat(t);if(!Number.isFinite(n))return e;let r=Math.max(0,Math.min(1,n)),i=(e.a??1)*r;return i>=1?e:{...e,a:i}}function Gc(e,t){let n=e.trim().split(/[\s,]+/).map(Number).filter(Number.isFinite),r=[];for(let e=0;e+1<n.length;e+=2)r.push(e===0?{op:`move`,x:n[e],y:n[e+1]}:{op:`line`,x:n[e],y:n[e+1]});return t&&r.length>0&&r.push({op:`close`}),r}function Kc(e,t,n){return e.op===`move`||e.op===`line`?{...e,x:t(e.x),y:n(e.y)}:e.op===`curve`?{op:`curve`,x1:t(e.x1),y1:n(e.y1),x2:t(e.x2),y2:n(e.y2),x3:t(e.x3),y3:n(e.y3)}:e}function qc(e){return e.replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/&/g,`&`)}function Jc(e,t,n,r,i,a,o,s,c,l){if(r===0||i===0){e.push({op:`line`,x:c,y:l});return}if(t===c&&n===l)return;let u=Math.cos(a),d=Math.sin(a),f=(t-c)/2,p=(n-l)/2,m=u*f+d*p,h=-d*f+u*p,g=r*r,_=i*i,v=m*m,y=h*h,b=v/g+y/_;if(b>1){let e=Math.sqrt(b);r*=e,i*=e,g=r*r,_=i*i}let x=(g*_-g*y-_*v)/(g*y+_*v);x<0&&(x=0);let S=Math.sqrt(x);o===s&&(S=-S);let C=S*r*h/i,w=-S*i*m/r,ee=u*C-d*w+(t+c)/2,te=d*C+u*w+(n+l)/2,ne=(e,t,n,r)=>{let i=e*n+t*r,a=Math.sqrt(e*e+t*t)*Math.sqrt(n*n+r*r),o=Math.acos(Math.max(-1,Math.min(1,i/a)));return e*r-t*n<0&&(o=-o),o},re=ne(1,0,(m-C)/r,(h-w)/i),ie=ne((m-C)/r,(h-w)/i,(-m-C)/r,(-h-w)/i);!s&&ie>0&&(ie-=2*Math.PI),s&&ie<0&&(ie+=2*Math.PI);let ae=Math.ceil(Math.abs(ie)/(Math.PI/2)),oe=ie/ae;for(let t=0;t<ae;t++){let n=re+t*oe,a=re+(t+1)*oe,o=4*Math.tan((a-n)/4)/3,s=Math.cos(n),c=Math.sin(n),l=Math.cos(a),f=Math.sin(a),p=r*s,m=i*c,h=r*l,g=i*f,_=p-o*r*c,v=m+o*i*s,y=h+o*r*f,b=g-o*i*l;e.push({op:`curve`,x1:u*_-d*v+ee,y1:d*_+u*v+te,x2:u*y-d*b+ee,y2:d*y+u*b+te,x3:u*h-d*g+ee,y3:d*h+u*g+te})}}var Yc,Xc,Zc,Qc,$c,el,tl,nl=n((()=>{at(),Bt(),m(),Jt(),sn(),Cn(),Da(),ao(),qa(),Ws(),Co(),Yc=595.28,Xc=841.89,Zc=12,Qc=1.2,$c={r:0,g:0,b:0},el=class{constructor(e,t,n){this._stream=new Kt,this._images=[],this._annotations=[],this._builderAnnotations=[],this._formFields=[],this._alphaValues=new Set,this._width=e,this._height=t,this._fontManager=n}get width(){return this._width}get height(){return this._height}drawText(e,t){let n=t.fontSize??Zc,r=t.color??$c,i=t.lineHeight??Qc,a=t.bold??!1,o=t.italic??!1,s=t.fontFamily??`Helvetica`,c=this._fontManager.resolveFont(s,a,o);return this._fontManager.trackText(e),this._stream.save(),this._applyAlpha(r.a),this._stream.setFillColor(r),cs(this._stream,{text:e,x:t.x,y:t.y,type1ResourceName:c,fontSize:n,anchor:t.anchor??`start`,maxWidth:t.maxWidth,lineHeightFactor:i,rotation:t.rotation??0},this._fontManager),this._stream.restore(),this}measureText(e,t){let n=t?.fontSize??Zc,r=t?.fontFamily??`Helvetica`,i=t?.bold??!1,a=t?.italic??!1,o=this._fontManager.resolveFont(r,i,a);return this._fontManager.measureText(e,o,n)}drawRect(e){return this._stream.save(),e.borderRadius&&e.borderRadius>0?this._stream.roundedRect(e.x,e.y,e.width,e.height,e.borderRadius):this._stream.rect(e.x,e.y,e.width,e.height),this._paintPath(e.fill,e.stroke,e.lineWidth),this._stream.restore(),this}drawCircle(e){return this._stream.save(),this._stream.circle(e.cx,e.cy,e.r),this._paintPath(e.fill,e.stroke,e.lineWidth),this._stream.restore(),this}drawEllipse(e){return this._stream.save(),this._stream.ellipse(e.cx,e.cy,e.rx,e.ry),this._paintPath(e.fill,e.stroke,e.lineWidth),this._stream.restore(),this}drawLine(e){let t=e.color??$c,n=e.lineWidth??1;return this._stream.save(),this._applyAlpha(t.a),this._stream.setStrokeColor(t),this._stream.setLineWidth(n),e.dashPattern&&e.dashPattern.length>0&&this._stream.setDashPattern(e.dashPattern),this._stream.moveTo(e.x1,e.y1),this._stream.lineTo(e.x2,e.y2),this._stream.stroke(),this._stream.restore(),this}drawPath(e,t){this._stream.save();for(let t of e)switch(t.op){case`move`:this._stream.moveTo(t.x,t.y);break;case`line`:this._stream.lineTo(t.x,t.y);break;case`curve`:this._stream.curveTo(t.x1,t.y1,t.x2,t.y2,t.x3,t.y3);break;case`close`:this._stream.closePath()}return t?.closePath&&this._stream.closePath(),this._paintPath(t?.fill,t?.stroke,t?.lineWidth),this._stream.restore(),this}drawImage(e){this._images.push(e);let t=`Im${this._images.length}`;return this._stream.drawImage(t,e.x,e.y,e.width,e.height),this}addAnnotation(e){let t=[];switch(e.type){case`Highlight`:case`Underline`:case`StrikeOut`:case`Squiggly`:{let n=e.color??(e.type===`Highlight`?{r:1,g:1,b:0}:{r:1,g:0,b:0});t.push([`C`,`[${s(n.r)} ${s(n.g)} ${s(n.b)}]`]),e.contents&&t.push([`Contents`,i(e.contents)]),e.author&&t.push([`T`,i(e.author)]);let r=e.quadPoints??[e.rect[0],e.rect[1],e.rect[2],e.rect[1],e.rect[0],e.rect[3],e.rect[2],e.rect[3]];t.push([`QuadPoints`,`[${r.map(e=>s(e)).join(` `)}]`]);break}case`Text`:{let n=e.color??{r:1,g:1,b:0};t.push([`C`,`[${s(n.r)} ${s(n.g)} ${s(n.b)}]`]),e.contents&&t.push([`Contents`,i(e.contents)]),e.author&&t.push([`T`,i(e.author)]),t.push([`Name`,`/${e.iconName??`Note`}`]),e.open&&t.push([`Open`,`true`]);break}case`FreeText`:{let n=e.fontSize??12,r=e.color??$c;if(t.push([`Contents`,i(e.contents)]),t.push([`DA`,i(`/Helv ${s(n)} Tf ${s(r.r)} ${s(r.g)} ${s(r.b)} rg`)]),e.borderColor){let n=e.borderColor;t.push([`C`,`[${s(n.r)} ${s(n.g)} ${s(n.b)}]`])}e.author&&t.push([`T`,i(e.author)]);break}case`Stamp`:if(t.push([`Name`,`/${e.stampName??`Draft`}`]),e.color){let n=e.color;t.push([`C`,`[${s(n.r)} ${s(n.g)} ${s(n.b)}]`])}e.contents&&t.push([`Contents`,i(e.contents)]),e.author&&t.push([`T`,i(e.author)])}return this._builderAnnotations.push({subtype:e.type,rect:e.rect,entries:t}),this}addFormField(e){return this._formFields.push({options:e}),this}drawSvgPath(e,t){let n=Ic(e);return this.drawPath(n,t)}drawSvg(e){let t=Lc(e.svg),n=(e.width??t.width)/t.width,r=(e.height??t.height)/t.height,i=t=>e.x+t*n,a=n=>e.y+(e.height??t.height)-n*r,o=e=>Wc(Wc(e.fill?Uc(e.fill):void 0,e[`fill-opacity`]),e.opacity),s=e=>Wc(Wc(e.stroke?Uc(e.stroke):void 0,e[`stroke-opacity`]),e.opacity);for(let e of t.elements)if(e.name===`rect`){let c=Vc(e,`width`,t.width,0),l=Vc(e,`height`,t.height,0);this.drawRect({x:i(Vc(e,`x`,t.width,0)),y:a(Vc(e,`y`,t.height,0)+l),width:c*n,height:l*r,fill:o(e.attrs),stroke:s(e.attrs)})}else if(e.name===`line`)this.drawLine({x1:i(Bc(e,`x1`,0)),y1:a(Bc(e,`y1`,0)),x2:i(Bc(e,`x2`,0)),y2:a(Bc(e,`y2`,0)),color:s(e.attrs)});else if(e.name===`circle`)this.drawCircle({cx:i(Bc(e,`cx`,0)),cy:a(Bc(e,`cy`,0)),r:Bc(e,`r`,0)*Math.max(n,r),fill:o(e.attrs),stroke:s(e.attrs)});else if(e.name===`polyline`||e.name===`polygon`){let t=Gc(e.attrs.points??``,e.name===`polygon`).map(e=>Kc(e,i,a)),n=s(e.attrs)??(e.name===`polyline`?$c:void 0);this.drawPath(t,{fill:e.name===`polygon`?o(e.attrs):void 0,stroke:n,closePath:e.name===`polygon`})}else if(e.name===`path`&&e.attrs.d){let t=Ic(e.attrs.d).map(e=>Kc(e,i,a)),n=o(e.attrs),r=s(e.attrs);if(!n&&!r)continue;this.drawPath(t,{fill:n,stroke:r})}else e.name===`text`&&this.drawText(qc(e.text),{x:i(Bc(e,`x`,0)),y:a(Bc(e,`y`,0)),fontSize:Bc(e,`font-size`,12)*Math.max(n,r),color:o(e.attrs)});return this}getContentStream(){return this._stream}_paintPath(e,t,n){let r=e!==void 0,i=t!==void 0;r&&this._applyAlpha(e.a),i&&this._applyAlpha(t.a),r&&this._stream.setFillColor(e),i&&(this._stream.setStrokeColor(t),this._stream.setLineWidth(n??1)),r&&i?this._stream.fillAndStroke():r?this._stream.fill():i?this._stream.stroke():(this._stream.setStrokeColor($c),this._stream.setLineWidth(1),this._stream.stroke())}_applyAlpha(e){if(e===void 0||e>=1)return;let t=Math.max(0,Math.min(1,e));this._alphaValues.add(t),this._stream.setGraphicsState(ms(t))}},tl=class{constructor(){this._pages=[],this._bookmarks=[],this._fontManager=new Ea,this._metadata={},this._embeddedFont=null,this._pdfA=!1,this._signatureOptions=null,this._disableFontAutoDiscovery=!1}addPage(e){let t=e?.width??Yc,n=e?.height??Xc,r=new el(t,n,this._fontManager);return this._pages.push(r),r}setMetadata(e){return this._metadata=e,this}setEncryption(e){return this._encryption=e,this}embedFont(e){return this._embeddedFont=e,this}onWarning(e){return this._onWarning=e,this}disableFontAutoDiscovery(){return this._disableFontAutoDiscovery=!0,this}_warn(e){this._onWarning?.(e)}setPdfACompliance(e){return this._pdfA=!0,this}sign(e){return this._signatureOptions=e,this}addBookmark(e,t,n){let r={title:e,pageIndex:t,children:[]};if(n!==void 0){if(n<0||n>=this._bookmarks.length)throw RangeError(`Bookmark parent index ${n} is out of range (0..${this._bookmarks.length-1})`);this._bookmarks[n].children.push(r)}else this._bookmarks.push(r);return this}generateTableOfContents(e){let t=e?.title??`Table of Contents`,n=e?.fontSize??Zc,r=e?.indent??20,i=this.addPage(),a=i,o=n+6,s=i._width-72-72,c=i._height-72;i.drawText(t,{x:72,y:c,fontSize:o,bold:!0}),c-=o*1.8,i.drawLine({x1:72,y1:c+n*.4,x2:i._width-72,y2:c+n*.4,color:{r:.6,g:.6,b:.6},lineWidth:.5}),c-=n*.6;let l=[],u=(e,t)=>{for(let n of e)l.push({title:n.title,pageIndex:n.pageIndex,depth:t}),u(n.children,t+1)};u(this._bookmarks,0);let d=n*1.6;for(let e of l){c<72&&(i=this.addPage(),c=i._height-72);let t=72+e.depth*r,a=String(e.pageIndex+1),o=i.measureText(e.title,{fontSize:n}),l=i.measureText(a,{fontSize:n}),u=i.measureText(`.`,{fontSize:n});i.drawText(e.title,{x:t,y:c,fontSize:n});let f=72+s-l;i.drawText(a,{x:f,y:c,fontSize:n});let p=t+o+u,m=f-u;if(m>p&&u>0){let e=u*2,t=p,r=[];for(;t+u<=m;)r.push(`.`),t+=e;r.length>0&&i.drawText(r.join(` `),{x:p,y:c,fontSize:n,color:{r:.6,g:.6,b:.6}})}let h=c-n*.3;i._annotations.push({rect:[t,h,72+s,h+n*1.2],destPageIndex:e.pageIndex}),c-=d}return a}get pages(){return this._pages}async build(){let e=new on;if(this._pdfA&&e.setVersion(`1.4`),this._embeddedFont){let e=Oa(this._embeddedFont);this._fontManager.registerEmbeddedFont(e)}else{let e=this._fontManager.getType3CodePoints();if(e.size>0){if(!this._disableFontAutoDiscovery){let t=to(e);t&&(this._fontManager.registerEmbeddedFont(t),this._warn(`Auto-embedded system font '${t.familyName}' to render ${e.size} non-WinAnsi character(s). Call embedFont(bytes) explicitly for deterministic output.`))}if(!this._fontManager.hasEmbeddedFont()){let t=[...e].slice(0,5).map(e=>`U+${e.toString(16).toUpperCase().padStart(4,`0`)}`).join(`, `);this._warn(`${e.size} non-WinAnsi character(s) present but no TrueType font is embedded and no system font candidate covered them (e.g. ${t}). Call embedFont(bytes) with a font that covers these code points; otherwise Type3 NOTDEF boxes will render.`)}}}if(!this._fontManager.hasEmbeddedFont()){let e=this._fontManager.getUnknownFontFamilies();if(e.size>0){let t=[...e].slice(0,5).join(`, `),n=e.size>5?` (and ${e.size-5} more)`:``;this._warn(`Font family ${e.size>1?`names`:`name`} '${t}'${n} not recognised; falling back to Helvetica metrics. Add the typeface to the font-family map or call embedFont(bytes).`)}}let t=await this._fontManager.writeFontResources(e),n=this._fontManager.buildFontDictString(t),r=[],a=e.allocObject();for(let t=0;t<this._pages.length;t++)r.push(e.allocObject());let o=[],c=[],u=[];for(let t=0;t<this._pages.length;t++){let i=this._pages[t],d=new Map;for(let t=0;t<i._images.length;t++){let n=i._images[t],r=`Im${t+1}`,a=this._writeImageXObject(e,n);d.set(r,a)}let f=``;d.size>0&&(f=`<< ${[...d.entries()].map(([e,t])=>`/${e} ${l(t)}`).join(` `)} >>`);let m=e.allocObject(),h=new p;e.addStreamObject(m,h,i._stream),o.push(m);let g=e.allocObject(),_=`<< `;if(n&&(_+=`/Font ${n} `),f&&(_+=`/XObject ${f} `),i._alphaValues.size>0){let t=[`<<`];for(let n of i._alphaValues){let r=e.allocObject(),i=new p().set(`Type`,`/ExtGState`).set(`ca`,s(n)).set(`CA`,s(n));e.addObject(r,i),t.push(`/${ms(n)} ${l(r)}`)}t.push(`>>`),_+=`/ExtGState ${t.join(`
|
|
47
|
+
`)} `}_+=`>>`,e.addObject(g,_),c.push(g);let v=[];for(let t of i._annotations){let n=r[t.destPageIndex];if(n===void 0)continue;let i=e.allocObject(),a=`[${s(t.rect[0])} ${s(t.rect[1])} ${s(t.rect[2])} ${s(t.rect[3])}]`,o=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Link`).set(`Rect`,a).set(`Border`,`[0 0 0]`).set(`Dest`,`[${l(n)} /Fit]`);e.addObject(i,o),v.push(i)}for(let t of i._builderAnnotations){let n=e.allocObject(),r=`[${s(t.rect[0])} ${s(t.rect[1])} ${s(t.rect[2])} ${s(t.rect[3])}]`,i=new p().set(`Type`,`/Annot`).set(`Subtype`,`/${t.subtype}`).set(`Rect`,r).set(`F`,`4`);for(let[e,n]of t.entries)i.set(e,n);e.addObject(n,i),v.push(n)}for(let n of i._formFields){let{fieldRefs:i,annotRefs:a}=this._writeFormFieldAnnotation(e,n.options,r[t]);v.push(...a),u.push(...i)}let y=r[t],b=`[0 0 ${s(i._width)} ${s(i._height)}]`,x=new p().set(`Type`,`/Page`).set(`Parent`,l(a)).set(`MediaBox`,b).set(`Contents`,l(m)).set(`Resources`,l(g));v.length>0&&x.set(`Annots`,`[`+v.map(e=>l(e)).join(` `)+`]`),e.addObject(y,x)}if(r.length===0){let t=e.allocObject();e.addStreamObject(t,new p,new Uint8Array);let n=e.allocObject();e.addObject(n,`<< >>`);let i=e.allocObject(),o=new p().set(`Type`,`/Page`).set(`Parent`,l(a)).set(`MediaBox`,`[0 0 ${s(Yc)} ${s(Xc)}]`).set(`Contents`,l(t)).set(`Resources`,l(n));e.addObject(i,o),r.push(i)}let d=r.map(e=>l(e)).join(` `);e.addObject(a,new p().set(`Type`,`/Pages`).set(`Kids`,`[${d}]`).set(`Count`,String(r.length)));let f;this._bookmarks.length>0&&(f=this._buildOutlines(e,r));let m=[];if(this._pdfA){let t=bn(e,this._metadata);m.push([`Metadata`,l(t)]);let n=xn(e);m.push([`OutputIntents`,`[${l(n)}]`]),m.push([`MarkInfo`,`<< /Marked true >>`])}if(u.length>0||this._signatureOptions||e.addCatalog(a,{outlinesRef:f,extraEntries:m.length>0?m:void 0}),u.length>0&&!this._signatureOptions){let t=e.allocObject(),n=new p().set(`Type`,`/Catalog`).set(`Pages`,l(a));f&&(n.set(`Outlines`,l(f)),n.set(`PageMode`,`/UseOutlines`));for(let[e,t]of m)n.set(e,t);let r=`<< /Fields [${u.map(e=>l(e)).join(` `)}] /NeedAppearances true /DR << /Font << /Helv << /Type /Font /Subtype /Type1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> >> >> /DA (/Helv 0 Tf 0 g) >>`;n.set(`AcroForm`,r),e.addObject(t,n),e.setCatalog(t)}if((this._metadata.title||this._metadata.author||this._metadata.subject||this._metadata.creator)&&e.addInfoDict(this._metadata),this._encryption){let t=It(this._encryption);e.setEncryption(t)}if(this._signatureOptions){let{buildSignatureDictPlaceholder:t,signPdf:n}=await Promise.resolve().then(()=>(Fc(),Gs)),{dictString:r}=t({name:this._signatureOptions.name,reason:this._signatureOptions.reason,location:this._signatureOptions.location,contactInfo:this._signatureOptions.contactInfo}),o=e.allocObject();e.addObject(o,r);let s=e.allocObject(),c=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Widget`).set(`FT`,`/Sig`).set(`Rect`,`[0 0 0 0]`).set(`T`,i(`Signature1`)).set(`V`,l(o)).set(`F`,`4`);e.addObject(s,c);let d=e.allocObject(),h=new p().set(`Type`,`/Catalog`).set(`Pages`,l(a));f&&(h.set(`Outlines`,l(f)),h.set(`PageMode`,`/UseOutlines`));for(let[e,t]of m)h.set(e,t);let g=[...u,s].map(e=>l(e)).join(` `),_=u.length>0,v=[`/Fields [${g}]`,`/SigFlags 3`];return _&&(v.push(`/NeedAppearances true`),v.push(`/DR << /Font << /Helv << /Type /Font /Subtype /Type1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> >> >>`),v.push(`/DA (/Helv 0 Tf 0 g)`)),h.set(`AcroForm`,`<< ${v.join(` `)} >>`),e.addObject(d,h),e.setCatalog(d),n(e.build(),this._signatureOptions.certificate,this._signatureOptions.privateKey)}return e.build()}_writeImageXObject(e,t){return et(e,t.data,t.format)}_buildOutlines(e,t){let n=e.allocObject(),r=[],a=(t,n,i)=>{for(let o of t){let t=e.allocObject();r.push({node:o,objNum:t,parentObjNum:n,depth:i}),a(o.children,t,i+1)}};a(this._bookmarks,n,0);let o=new Map;for(let e of r){let t=o.get(e.parentObjNum);t?t.push(e):o.set(e.parentObjNum,[e])}let s=e=>{let t=1;for(let n of e.children)t+=s(n);return t};for(let n of r){let{node:r,objNum:a,parentObjNum:c}=n,u=t[r.pageIndex];if(u===void 0)continue;let d=new p().set(`Title`,i(r.title)).set(`Parent`,l(c)).set(`Dest`,`[${l(u)} /Fit]`),f=o.get(c)??[],m=f.indexOf(n);m>0&&d.set(`Prev`,l(f[m-1].objNum)),m<f.length-1&&d.set(`Next`,l(f[m+1].objNum));let h=o.get(a);if(h&&h.length>0){d.set(`First`,l(h[0].objNum)),d.set(`Last`,l(h[h.length-1].objNum));let e=r.children.reduce((e,t)=>e+s(t),0);d.set(`Count`,String(-e))}e.addObject(a,d)}let c=o.get(n)??[],u=this._bookmarks.length,d=new p().set(`Type`,`/Outlines`).set(`Count`,String(u));return c.length>0&&(d.set(`First`,l(c[0].objNum)),d.set(`Last`,l(c[c.length-1].objNum))),e.addObject(n,d),n}_writeFormFieldAnnotation(e,t,n){let r=[],a=[];if(t.type===`radio`){let n=e.allocObject(),o=[],c=32768;c|=16384,t.readOnly&&(c|=1),t.required&&(c|=2);for(let r of t.buttons){let i=e.allocObject(),a=`[${r.rect.map(e=>s(e)).join(` `)}]`,c=t.selected===r.value?`/${r.value}`:`/Off`,u=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Widget`).set(`Rect`,a).set(`Parent`,l(n)).set(`AS`,c).set(`AP`,`<< /N << /${r.value} null /Off null >> >>`);e.addObject(i,u),o.push(i)}let u=new p().set(`FT`,`/Btn`).set(`T`,i(t.name)).set(`Ff`,String(c)).set(`Kids`,`[${o.map(e=>l(e)).join(` `)}]`);return t.selected&&u.set(`V`,`/${t.selected}`),e.addObject(n,u),r.push(n),a.push(...o),{fieldRefs:r,annotRefs:a}}let o=e.allocObject(),c=t.rect,u=`[${s(c[0])} ${s(c[1])} ${s(c[2])} ${s(c[3])}]`,d=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Widget`).set(`Rect`,u).set(`T`,i(t.name)).set(`P`,l(n)),f=0;switch(t.readOnly&&(f|=1),t.required&&(f|=2),t.type){case`text`:d.set(`FT`,`/Tx`),t.multiline&&(f|=4096),t.password&&(f|=8192),t.maxLength!==void 0&&d.set(`MaxLen`,String(t.maxLength)),t.value&&d.set(`V`,i(t.value)),d.set(`DA`,i(`/Helv 12 Tf 0 g`));break;case`checkbox`:{d.set(`FT`,`/Btn`);let e=t.checked??!1;d.set(`V`,e?`/Yes`:`/Off`),d.set(`AS`,e?`/Yes`:`/Off`);break}case`dropdown`:{d.set(`FT`,`/Ch`),f|=1<<17,t.editable&&(f|=1<<18);let e=t.options.map(e=>i(e)).join(` `);d.set(`Opt`,`[${e}]`),t.value&&d.set(`V`,i(t.value)),d.set(`DA`,i(`/Helv 12 Tf 0 g`));break}}return f!==0&&d.set(`Ff`,String(f)),e.addObject(o,d),r.push(o),a.push(o),{fieldRefs:r,annotRefs:a}}}}));function rl(e,t,n,r=!1){let i=e=>r&&e?ko(e):e,a=t=>{t?.a!==void 0&&t.a<1&&(n.add(t.a),e.setGraphicsState(ms(t.a)))},o=(t,n)=>{let{lineWidth:r,dashPattern:o}=n,s=i(n.fill),c=i(n.stroke),l=()=>{o&&o.length>0&&e.setDashPattern(o)};if(s&&c&&(s.a??1)!==(c.a??1)){e.save(),t(),e.setFillColor(s),a(s),e.fill(),e.restore(),e.save(),t(),e.setStrokeColor(c),a(c),l(),r!==void 0&&e.setLineWidth(r),e.stroke(),e.restore();return}t(),l(),s&&(e.setFillColor(s),a(s)),c&&(e.setStrokeColor(c),s||a(c),r!==void 0&&e.setLineWidth(r)),s&&c?e.fillAndStroke():s?e.fill():c?e.stroke():e.endPath()};return{drawRect(t){let{x:n,y:r,width:i,height:a,fill:s,stroke:c,lineWidth:l}=t;return e.save(),o(()=>e.rect(n,r,i,a),{fill:s,stroke:c,lineWidth:l}),e.restore(),this},drawLine(t){let{x1:n,y1:r,x2:o,y2:s,lineWidth:c,dashPattern:l}=t,u=i(t.color);return e.save(),u&&(e.setStrokeColor(u),a(u)),c!==void 0&&e.setLineWidth(c),l&&l.length>0&&e.setDashPattern(l),e.moveTo(n,r).lineTo(o,s).stroke(),e.restore(),this},drawText(n,r){if(!n)return this;let o=r.fontSize??10,s=i(r.color??{r:0,g:0,b:0}),c=r.bold??!1,l=r.italic??!1,u=r.fontFamily??`Helvetica`,d=r.anchor??`start`,f=r.rotation??0;t.trackText(n);let p=il(t,u,c,l);return e.save(),e.setFillColor(s),a(s),cs(e,{text:n,x:r.x,y:r.y,type1ResourceName:p,fontSize:o,anchor:d,lineHeightFactor:1,rotation:-f},t),e.restore(),this},drawCircle(t){let{cx:n,cy:r,r:i,fill:a,stroke:s,lineWidth:c}=t;return e.save(),o(()=>e.circle(n,r,i),{fill:a,stroke:s,lineWidth:c}),e.restore(),this},drawPath(t,n){return e.save(),o(()=>{for(let n of t)switch(n.op){case`move`:e.moveTo(n.x,n.y);break;case`line`:e.lineTo(n.x,n.y);break;case`curve`:e.curveTo(n.x1,n.y1,n.x2,n.y2,n.x3,n.y3);break;case`close`:e.closePath()}n?.closePath&&e.closePath()},{fill:n?.fill,stroke:n?.stroke,lineWidth:n?.lineWidth,dashPattern:n?.dashPattern}),e.restore(),this}}}function il(e,t,n,r){return e.hasEmbeddedFont()?e.getEmbeddedResourceName():e.ensureFont(Sa(t,n,r))}var al=n((()=>{Da(),Ws(),Vo()}));function ol(e){return e.kind===`chartsheet`}var sl,cl,ll=n((()=>{sl={Empty:0,String:1,Number:2,Boolean:3,Date:4,RichText:5,Error:6,Formula:7,Hyperlink:8,Merge:9},cl={A3:{width:841.89,height:1190.55},A4:{width:595.28,height:841.89},A5:{width:419.53,height:595.28},LETTER:{width:612,height:792},LEGAL:{width:612,height:1008},TABLOID:{width:792,height:1224}}}));function ul(e){return e/20}function dl(e){return e/vl}function fl(e){return e/yl}function pl(e){return 2*Math.ceil(e/4)+1}function ml(e,t){if(t<=0||e===0)return 0;let n=pl(t);return e<1?Math.round(e*(t+n)):Math.round(e*t)+n}var hl,gl,_l,vl,yl,bl=n((()=>{hl=1440,gl=hl/2.54,gl/10,_l=914400,vl=12700,yl=9525,6*_l,Math.round(3.5*_l),4*_l}));function xl(){return typeof process<`u`&&!!process.versions?.node}var Sl=n((()=>{}));function Cl(e){if(xl())return Buffer.from(e,`base64`);let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}function wl(e,t){return 25569+e.getTime()/864e5-(t?1462:0)}function Tl(e,t){let n=Math.round((e-25569+(t?1462:0))*24*3600*1e3);return new Date(n)}function El(e){let t=[],n=``,r=!1,i=!1;for(let a=0;a<e.length;a++){let o=e[a];o===`"`&&!i?(r=!r,n+=o):o===`[`&&!r?(i=!0,n+=o):o===`]`&&!r?(i=!1,n+=o):o===`;`&&!r&&!i?(t.push(n),n=``):n+=o}return t.push(n),t}function Dl(){return new Promise(e=>setTimeout(e,0))}var Ol=n((()=>{Sl(),new TextDecoder(`utf-8`)}));function kl(e,t,n){if(e?.horizontal&&e.horizontal!==`general`)return Lo(e);if(t!==void 0)switch(t){case sl.Number:case sl.Date:return`right`;case sl.Boolean:case sl.Error:return`center`;case sl.Formula:return typeof n==`number`||n instanceof Date?`right`:typeof n==`boolean`?`center`:`left`;default:return`left`}return`left`}async function Al(e,t,n){let r=Pl(e,t,n);if(!r)return[Vl(e,t)];let i=[],a=r.rowPages.length*r.colGroups.length,o=t.pageOrder===`overThenDown`,s=o?r.rowPages:r.colGroups,c=o?r.colGroups:r.rowPages;for(let l of s)for(let s of c){let c=o?l:s,u=o?s:l;i.push(Rl(r,c,u,i.length,e,t,n)),i.length<a&&await Dl()}i.length>0&&e.images&&!t.draft&&iu(e.images,i,r.scaleFactor),i.length>0&&e.charts&&!t.draft&&au(e.charts,i,r.scaleFactor),t.cellComments===`atEnd`&&e.comments?.length&&i.push(...Ll(e,e.comments,t,n));for(let e=0;e<i.length;e++)i[e].sheetPageIndex=e+1;return i}function jl(e,t){let n=e.orientation??t.orientation,r={...t,orientation:n},{width:i,height:a}=Ml(r),o=r.margins,s=r.showSheetNames?20:0,c=r.showPageNumbers?20:0,l=o.left,u=o.bottom+c,d=i-o.left-o.right,f=a-o.top-o.bottom-s-c,p={rect:{x:l,y:u,width:Math.max(0,d),height:Math.max(0,f)},drawVector:e.chart.drawVector,raster:e.chart.raster};return[{...Nl(e,r),charts:r.draft?[]:[p]}]}function Ml(e){let{width:t,height:n}=e.pageSize;return e.orientation===`landscape`?{width:n,height:t}:{width:t,height:n}}function Nl(e,t){let{width:n,height:r}=Ml(t);return{pageNumber:1,sheetPageNumber:e.pageSetup?.firstPageNumber??1,sheetPageIndex:1,sheetPageCount:1,firstPageNumber:e.pageSetup?.firstPageNumber,options:t,cells:[],width:n,height:r,sheetName:e.name,sheetCols:[],columnOffsets:[],columnWidths:[],sheetRows:[],rowYPositions:[],rowHeights:[],images:[],charts:[],scaleFactor:1,headerFooter:t.includeHeadersFooters?e.headerFooter:void 0}}function Pl(e,t,n){let{margins:r}=t,{width:i,height:a}=Ml(t),o=t.showSheetNames?20:0,s=Wl(e,t),c=t.showRowColHeaders?Fl(e,s,n,t):void 0,l=c?.gutterWidth??0,u=c?.bandHeight??0,d=i-r.left-r.right-l,f=a-r.top-r.bottom-u,{columnWidths:p,visibleCols:m,repeatColIndices:h}=Gl(e,s,t.repeatCols);if(m.length===0)return null;let g=Kl(e,s,n,t,t.repeatRows),_=Zl(e.rowBreaks??[],g.visibleRows),v=Zl(e.colBreaks??[],m),y=p.reduce((e,t)=>e+t,0),b=t.showPageNumbers?20:0,x=f-o-b,S=t.scale;if(t.fitToWidth>0||t.fitToHeight>0){let e=1,n=Math.min(1,fo/S);if(t.fitToWidth>0&&y>0&&(e=Math.min(e,d*t.fitToWidth/(y*S)),e=Il(e=>$l(p.map(t=>t*S*e),d,h,v,go).length,t.fitToWidth,e,n)),t.fitToHeight>0&&x>0){let r=g.rowHeights.reduce((e,t)=>e+t,0);if(r>0){let i=Math.min(e,x*t.fitToHeight/(r*S));i=Il(e=>$l(g.rowHeights.map(t=>t*S*e),x,g.repeatRowIndices,_).length,t.fitToHeight,i,n),e=Math.min(e,i)}}e<1&&(S=Math.max(S*e,fo))}else if(t.fitToPage&&y>0){let e=d/(y*S);e<1&&(S*=e)}let C=p.map(e=>e*S),w=g.rowHeights.map(e=>e*S),{visibleRows:ee,repeatRowIndices:te}=g,ne=Ql(e),re=$l(w,x,te,_),ie=$l(C,d,h,v,go);return{pageWidth:i,pageHeight:a,contentWidth:d,availableHeight:x,headerHeight:o,scaleFactor:S,scaledColumnWidths:C,rowHeights:w,visibleRows:ee,visibleCols:m,mergeMap:ne,rowPages:re,colGroups:ie,margins:r,headings:c}}function Fl(e,t,n,r){let i=n.hasEmbeddedFont()?n.getEmbeddedResourceName():n.ensureFont(Sa(r.defaultFontFamily,!1,!1)),a=t?.endRow??e.bounds.bottom,o=String(Math.max(1,a));return n.trackText(o),{gutterWidth:n.measureText(o,i,8)+6,bandHeight:14,fontSize:8}}function Il(e,t,n,r){let i=Math.max(n,r);if(e(i)<=t||i<=r)return i;let a=r,o=i;if(e(a)>t)return a;for(let n=0;n<24;n++){let n=(a+o)/2;e(n)<=t?a=n:o=n}return a}function Ll(e,t,n,r){let{width:i,height:a}=Ml(n),{margins:o}=n,s=n.showSheetNames?20:0,c=n.showPageNumbers?20:0,l=i-o.left-o.right,u=a-o.top-s,d=o.bottom+c,f=n.defaultFontSize,p=r.hasEmbeddedFont()?r.getEmbeddedResourceName():r.ensureFont(Sa(n.defaultFontFamily,!1,!1)),m=e=>r.measureText(e,p,f),h=f*oo,g={r:0,g:0,b:0},_=[],v=[],y=u,b=()=>{v.length>0&&(_.push({...Nl(e,n),cells:v}),v=[],y=u)},x=(e,t)=>{r.trackText(e);let i=vs(e,m,Math.max(l-6,1)),a=Math.max(i.length,1)*h+4;y-a<d&&b(),v.push({text:e,rect:{x:o.left,y:y-a,width:l,height:a},fontFamily:n.defaultFontFamily,fontSize:f,bold:t,italic:!1,strike:!1,underline:!1,textColor:g,fillColor:null,horizontalAlign:`left`,verticalAlign:`top`,wrapText:!0,borders:{top:null,right:null,bottom:null,left:null},borderInsets:{top:0,right:0,bottom:0,left:0},colSpan:1,rowSpan:1,hyperlink:null,richText:null,textRotation:0,indent:0,textOverflowWidth:0}),y-=a};x(`${e.name} — comments`,!0);for(let e of t){let t=e.author?` (${e.author})`:``;x(`${e.ref}${t}: ${e.text}`,!1)}return b(),_}function Rl(e,t,n,r,i,a,o){let{scaledColumnWidths:s,rowHeights:c,visibleRows:l,visibleCols:u,mergeMap:d,pageWidth:f,pageHeight:p,contentWidth:m,availableHeight:h,headerHeight:g,scaleFactor:_,margins:v,headings:y}=e,b=[],x=v.left+(y?.gutterWidth??0),S=p-v.top-g-(y?.bandHeight??0),C=n.map(e=>s[e]),w=C.reduce((e,t)=>e+t,0),ee=[],te=x;a.horizontalCentered&&w<m&&(te=x+(m-w)/2);for(let e of C)ee.push(te),te+=e;let ne=[],re=[],ie=S;if(a.verticalCentered){let e=t.reduce((e,t)=>e+(c[t]??du*_),0);e<h&&(ie-=(h-e)/2)}for(let e of t){let t=c[e]??du*_;ne.push(ie),re.push(t),ie-=t}let ae=new Map;for(let e=0;e<t.length;e++){let r=t[e],s=l[r];for(let t=0;t<n.length;t++){let c=u[n[t]],f=`${s}:${c}`,p=d.get(f);if(p&&!p.isMaster)continue;let m=i.rows.get(s)?.cells.get(c),h=1,g=1;if(p&&p.isMaster){let e=c+p.colSpan-1;h=0;for(let r=t;r<n.length&&u[n[r]]<=e;r++)h++;let i=s+p.rowSpan-1;g=0;for(let e=r;e<l.length&&l[e]<=i;e++)g++;h=Math.max(h,1),g=Math.max(g,1)}let v=ee[t],y=ne[e],x=0;for(let e=0;e<h&&t+e<C.length;e++)x+=C[t+e];let S=0;for(let t=0;t<g&&e+t<re.length;t++)S+=re[e+t];let w=y-S;b.push(eu(m,v,w,x,S,h,g,a,o,_));let te=b[b.length-1];p?.isMaster&&(ou(te,p,s,c,i),a.blackAndWhite&&(te.borders=Ao(te.borders))),ae.set(`${e}:${t}`,te)}}return nu(ae,t.length,n.length),su(ae,t,n,l,u,C,d,o),{pageNumber:r+1,sheetPageNumber:r+1,sheetPageIndex:r+1,sheetPageCount:1,firstPageNumber:i.pageSetup?.firstPageNumber,options:a,cells:b,width:f,height:p,sheetName:i.name,sheetCols:n.map(e=>u[e]),columnOffsets:ee,columnWidths:C,sheetRows:t.map(e=>l[e]),rowYPositions:ne,rowHeights:re,images:[],charts:[],scaleFactor:_,headings:y,commentBoxes:a.cellComments===`asDisplayed`?zl(i,n.map(e=>u[e]),ee,C,t.map(e=>l[e]),ne,re,a,_):void 0,headerFooter:a.includeHeadersFooters?i.headerFooter:void 0}}function zl(e,t,n,r,i,a,o,s,c){let l=e.comments;if(!l?.length||t.length===0||i.length===0)return;let u=e=>{let i=t.indexOf(Math.floor(e)+1);if(!(i<0))return n[i]+(e-Math.floor(e))*r[i]},d=e=>{let t=i.indexOf(Math.floor(e)+1);if(!(t<0))return a[t]-(e-Math.floor(e))*o[t]},f=[];for(let e of l){let o=e.anchor??Bl(e.ref);if(!o)continue;let l=u(o.left),p=u(o.right),m=d(o.top),h=d(o.bottom);if(l===void 0||p===void 0||m===void 0||h===void 0)continue;let g=p-l,_=m-h;if(g<=0||_<=0)continue;let v=Hl(e.ref),y=t.indexOf(v.c+1),b=i.indexOf(v.r+1),x=e.author?`${e.author}:\n`:``;f.push({rect:{x:l,y:h,width:g,height:_},text:`${x}${e.text}`,fontSize:s.defaultFontSize*c,marker:y>=0&&b>=0?{x:n[y]+r[y],y:a[b],size:4*c}:void 0})}return f.length>0?f:void 0}function Bl(e){let t;try{t=Hl(e)}catch{return}let n=t.c+6/68,r=Math.max(t.r-2,0)+14/18;return{left:n,top:r,right:n+2,bottom:r+4}}function Vl(e,t){return Nl(e,t)}function Hl(e){let t=e.replace(/\$/g,``).toUpperCase(),n=0,r=0;for(;r<t.length&&t.charCodeAt(r)>=65&&t.charCodeAt(r)<=90;)n=n*26+(t.charCodeAt(r)-64),r++;let i=parseInt(t.substring(r),10);return{c:n-1,r:i-1}}function Ul(e){let t=e.indexOf(`:`);if(t===-1){let t=Hl(e);return{s:t,e:{...t}}}return{s:Hl(e.slice(0,t)),e:Hl(e.slice(t+1))}}function Wl(e,t){if(t.ignorePrintArea)return null;let n=e.pageSetup?.printArea;if(!n||typeof n!=`string`)return null;let r=n.split(`&&`)[0].trim();if(!r)return null;try{let e=Ul(r);return{startRow:e.s.r+1,endRow:e.e.r+1,startCol:e.s.c+1,endCol:e.e.c+1}}catch{return null}}function Gl(e,t,n){let r=e.bounds;if(!(r.top>0&&r.left>0))return{columnWidths:[],visibleCols:[],repeatColIndices:[]};let i=t?.startCol??r.left,a=t?.endCol??r.right,o=[],s=[],c=new Set,l=t=>{if(c.has(t))return;let n=e.columns.get(t);if(n?.hidden)return;c.add(t);let r=ml(n?.width??uu,7),i=Math.max(r*so,fu);o.push(i),s.push(t)},u=n&&n.first>=i&&n.last<=a;if(n&&!u)for(let e=n.first;e<=n.last;e++)l(e);for(let e=i;e<=a;e++)l(e);return{columnWidths:o,visibleCols:s,repeatColIndices:n?s.flatMap((e,t)=>e>=n.first&&e<=n.last?[t]:[]):[]}}function Kl(e,t,n,r,i){let a=e.bounds;if(a.top<=0)return{rowHeights:[],visibleRows:[],repeatRowIndices:[]};let o=t?.startRow??a.top,s=t?.endRow??a.bottom,c=[],l=[],u=new Set,d=t=>{if(u.has(t))return;let i=e.rows.get(t);if(i?.hidden)return;u.add(t);let a;a=i?.height&&i.customHeight?i.height:i?.height?Math.max(i.height,ql(i,e,n,r)):ql(i,e,n,r),c.push(a),l.push(t)},f=i&&i.first>=o&&i.last<=s;if(i&&!f)for(let e=i.first;e<=i.last;e++)d(e);for(let e=o;e<=s;e++)d(e);return{rowHeights:c,visibleRows:l,repeatRowIndices:i?l.flatMap((e,t)=>e>=i.first&&e<=i.last?[t]:[]):[]}}function ql(e,t,n,r){let i=du;if(e)for(let a of e.cells.values()){let e=Jl(a),o=Yl(a,e,t,n,r),s=e*oo,c=a.style?.border?.top?.style?No(a.style.border.top.style)/2:0,l=a.style?.border?.bottom?.style?No(a.style.border.bottom.style)/2:0,u=e+(o-1)*s+(2+c+l)*2;u>i&&(i=u)}return i}function Jl(e){let t=e.style?.font?.size??11;if(e.type===sl.RichText){let n=e.value;if(n&&typeof n==`object`&&`richText`in n){let e=n.richText;for(let n of e){let e=n.font?.size??t;e>t&&(t=e)}}}return t}function Yl(e,t,n,r,i){let a=typeof e.text==`string`?e.text:String(e.text??``),o=Math.max(1,(a.match(/\n/g)??[]).length+1);if(!e.style?.alignment?.wrapText||a.length===0)return o;let s=ml(n.columns.get(e.col)?.width??uu,7)*so,c=e.style.alignment.indent??0,l=e.style?.border?.left?.style?No(e.style.border.left.style)/2:0,u=e.style?.border?.right?.style?No(e.style.border.right.style)/2:0,d=3+l+(3+u)+c*10,f=Math.max(s-d,1);if(e.type===sl.RichText){let t=e.value;if(t&&typeof t==`object`&&`richText`in t){let n=t.richText;if(n.length>0){let t=Xl(a,n,f,r,i,e.style?.font);return Math.max(o,t)}}}let p=jo(e.style.font,i.defaultFontFamily,i.defaultFontSize),m=Sa(p.fontFamily,p.bold,p.italic),h=r.hasEmbeddedFont()?r.getEmbeddedResourceName():r.ensureFont(m),g=vs(a,e=>r.measureText(e,h,t),f);return Math.max(o,g.length)}function Xl(e,t,n,r,i,a){let o=a?.name??i.defaultFontFamily,s=a?.size??i.defaultFontSize,c=[];for(let e=0;e<t.length;e++)for(let n=0;n<t[e].text.length;n++)c.push(e);let l=t.map(e=>{let t=jo(e.font?{name:e.font.name??a?.name,size:e.font.size??a?.size,bold:e.font.bold??!1,italic:e.font.italic??!1,strike:e.font.strike??!1,underline:e.font.underline??void 0,color:e.font.color??a?.color}:a,o,s),n=Sa(t.fontFamily,t.bold,t.italic);return r.hasEmbeddedFont()?r.getEmbeddedResourceName():r.ensureFont(n)}),u=t.map(e=>jo(e.font?{name:e.font.name??a?.name,size:e.font.size??a?.size,bold:e.font.bold??!1,italic:e.font.italic??!1}:a,o,s).fontSize),d=(t,n)=>{let i=0,a=t,o=c[t]??0;for(let s=t+1;s<=n;s++){let t=s<n?c[s]??o:-1;if(t!==o){let n=e.slice(a,s);i+=r.measureText(n,l[o],u[o]),a=s,o=t}}return i},f=0,p=0,m=e.length;for(;p<=m;){let t=e.indexOf(`
|
|
48
|
+
`,p);t===-1&&(t=m);let r=t>p&&e[t-1]===`\r`?t-1:t;if(r===p){if(f++,p=t+1,t===m)break;continue}let i=e.slice(p,r),a=[],o=[],s=!1;for(let e=0;e<i.length;e++){let t=i[e]===` `||i[e]===` `;!t&&!s?(a.push(e),s=!0):t&&s&&(o.push(e),s=!1)}s&&o.push(i.length);let c=p,l=p,u=0;for(let e=0;e<a.length;e++){let t=p+o[e];if(l===c){l=t;continue}d(c,t)<=n?l=t:(u++,c=p+a[e],l=t)}if((l>c||a.length===0)&&u++,f+=u,p=t+1,t===m)break}return Math.max(1,f)}function Zl(e,t){let n=new Set;if(e.length===0)return n;let r=new Map;for(let e=0;e<t.length;e++)r.set(t[e],e);for(let t of e){let e=r.get(t);e!==void 0&&n.add(e+1)}return n}function Ql(e){let t=new Map,n=e.merges;if(!n||n.length===0)return t;for(let e of n){let n=Ul(e),r=n.s.r+1,i=n.s.c+1,a=n.e.r+1,o=n.e.c+1,s=a-r+1,c=o-i+1;for(let e=r;e<=a;e++)for(let n=i;n<=o;n++)t.set(`${e}:${n}`,{isMaster:e===r&&n===i,rowSpan:s,colSpan:c})}return t}function $l(e,t,n,r,i=0){if(e.length===0)return[[]];let a=[],o=[],s=0,c=!0,l=0,u=new Set(n),d=()=>{l=0;for(let r of n)if(!(r>=e.length)){if(s+e[r]>t+i&&o.length>0)break;o.push(r),s+=e[r],l++}};for(let n=0;n<e.length;n++){let f=e[n],p=!1;for(;;){let e=!p&&r.has(n)&&o.length>0;if((e||s+f>t+i)&&o.length>0){if(e&&(p=!0),!e&&!c&&o.length===l){o=[],s=0,l=0;continue}a.push(o),o=[],s=0,l=0,c=!1,d();continue}(c||!u.has(n)||!o.includes(n))&&(o.push(n),s+=f);break}}return o.length>0&&a.push(o),a}function eu(e,t,n,r,i,a,o,s,c,l){let u=lu(e,s.errors),d=e?.style??{},f=jo(d.font,s.defaultFontFamily,s.defaultFontSize),p=f.fontSize*l;if(c.hasEmbeddedFont())c.trackText(u);else{let e=Sa(f.fontFamily,f.bold,f.italic);c.ensureFont(e),c.trackText(u)}let m=cu(e,s,c,l,d.font),h=Io(d.border),g=s.blackAndWhite?Ao(h):h,_=Mo(d.fill);return{text:u,rect:{x:t,y:n,width:r,height:i},fontFamily:f.fontFamily,fontSize:p,bold:f.bold,italic:f.italic,strike:f.strike,underline:f.underline,textColor:s.blackAndWhite?ko(f.textColor):f.textColor,fillColor:s.blackAndWhite&&_!==null?ko(_):_,horizontalAlign:kl(d.alignment,e?.type,e?.result),verticalAlign:Ro(d.alignment),wrapText:d.alignment?.wrapText??!1,borders:g,borderInsets:{top:(g.top?.width??0)/2,right:(g.right?.width??0)/2,bottom:(g.bottom?.width??0)/2,left:(g.left?.width??0)/2},colSpan:a,rowSpan:o,hyperlink:e?.hyperlink??null,richText:m,indent:d.alignment?.indent??0,textRotation:d.alignment?.textRotation===255?`vertical`:d.alignment?.textRotation??0,textOverflowWidth:0}}function tu(e){let t=e.width*1e3;e.dashPattern.length===0&&(t+=100),e.isDouble&&(t+=50);let n=e.color.r+e.color.g+e.color.b;return t+=(3-n)*10,t}function nu(e,t,n){for(let r=0;r<t;r++)for(let t=0;t<n;t++){let n=e.get(`${r}:${t}`);if(n){if(n.borders.right){let i=e.get(`${r}:${t+1}`);if(i?.borders.left){let e=tu(n.borders.right);tu(i.borders.left)>e?(n.borderInsets.right=i.borders.left.width/2,n.borders.right=null):(i.borderInsets.left=n.borders.right.width/2,i.borders.left=null)}}if(n.borders.bottom){let i=e.get(`${r+1}:${t}`);if(i?.borders.top){let e=tu(n.borders.bottom);tu(i.borders.top)>e?(n.borderInsets.bottom=i.borders.top.width/2,n.borders.bottom=null):(i.borderInsets.top=n.borders.bottom.width/2,i.borders.top=null)}}}}}function ru(e,t,n){let r=e.tl,i=(r.nativeCol??r.col??0)+1,a=(r.nativeRow??r.row??0)+1,o=t.find(e=>e.sheetCols.includes(i)&&e.sheetRows.includes(a));if(!o)return null;let s=o.sheetCols.indexOf(i),c=o.sheetRows.indexOf(a),l=o.columnOffsets[s]??o.options.margins.left,u=o.rowYPositions[c]??o.height-o.options.margins.top-(o.options.showSheetNames?20:0),d=(dl(r.nativeColOff??0)||0)*n,f=(dl(r.nativeRowOff??0)||0)*n,p=l+d,m=u-f,h=100,g=100,_=e.extUnit??`px`;if(e.ext)_===`emu`?(h=dl(e.ext.width)*n,g=dl(e.ext.height)*n):(h=e.ext.width*.75*n,g=e.ext.height*.75*n);else if(e.br){let t=e.br,r=(t.nativeCol??t.col??0)+1,s=(t.nativeRow??t.row??0)+1,d=o.sheetCols.indexOf(r),f=o.sheetRows.indexOf(s),_,v;if(d>=0)_=o.columnOffsets[d];else{let e=o.sheetCols.length-1,t=o.sheetCols[e]??i,n=e>=0?o.columnOffsets[e]+(o.columnWidths[e]??0):l;if(r<=t)_=n;else{let e=o.columnWidths.length>0?o.columnWidths.reduce((e,t)=>e+t,0)/o.columnWidths.length:48;_=n+(r-t)*e}}if(f>=0)v=o.rowYPositions[f];else{let e=o.sheetRows.length-1,t=o.sheetRows[e]??a;if(s<=t){let t=0;for(let n=c;n<=e&&!(o.sheetRows[n]>=s);n++)t+=o.rowHeights[n]??0;v=u-t}else{let r=0;for(let t=c;t<=e;t++)r+=o.rowHeights[t]??0;let i=s-t-1;r+=15*n*i,v=u-r}}let y=((t.nativeColOff??0)/12700||0)*n,b=((t.nativeRowOff??0)/12700||0)*n,x=_+y,S=v-b;h=x-p,g=m-S}let v=o.width-o.options.margins.right,y=o.options.margins.bottom,b=Math.min(Math.abs(h),Math.max(0,v-p)),x=Math.abs(g),S=Math.max(0,m-y);return x>0&&S<x*.5?null:{page:o,x:p,y:m-x,width:b,height:x}}function iu(e,t,n){for(let r of e){let e=ru(r.range,t,n);e&&e.page.images.push({data:r.data,format:r.format,rect:{x:e.x,y:e.y,width:e.width,height:e.height}})}}function au(e,t,n){for(let r of e){let e=ru(r.range,t,n);if(e){e.page.charts.push({rect:{x:e.x,y:e.y,width:e.width,height:e.height},drawVector:r.drawVector,raster:r.raster});continue}let i=r.range.tl,a=(i.nativeCol??i.col??0)+1,o=(i.nativeRow??i.row??0)+1,s=t.filter(e=>e.sheetCols.includes(a)),c=(s.length>0?s:[...t]).sort((e,t)=>(e.sheetRows[0]??0)-(t.sheetRows[0]??0)),l;for(let e=0;e<c.length;e++){let t=c[e],n=t.sheetRows[t.sheetRows.length-1]??0;if(n>=o-1&&e+1<c.length){l=c[e+1];break}if(n>=o){l=t;break}}if(l||=c[c.length-1],l){let e=l.options.margins,t=l.options.showSheetNames?20:0,n=e.left,i=e.bottom,a=l.width-e.left-e.right,o=l.height-e.top-e.bottom-t;l.charts.push({rect:{x:n,y:i,width:a,height:o},drawVector:r.drawVector,raster:r.raster})}}}function ou(e,t,n,r,i){if(t.colSpan>1){let a=r+t.colSpan-1,o=i.rows.get(n)?.cells.get(a);if(o?.style?.border?.right){let t=Io({right:o.style.border.right});t.right&&(e.borders.right=t.right,e.borderInsets.right=t.right.width/2)}}if(t.rowSpan>1){let a=n+t.rowSpan-1,o=i.rows.get(a)?.cells.get(r);if(o?.style?.border?.bottom){let t=Io({bottom:o.style.border.bottom});t.bottom&&(e.borders.bottom=t.bottom,e.borderInsets.bottom=t.bottom.width/2)}}}function su(e,t,n,r,i,a,o,s){for(let c=0;c<t.length;c++)for(let l=0;l<n.length;l++){let u=e.get(`${c}:${l}`);if(!u||u.wrapText||u.colSpan>1||!u.text&&!u.richText||typeof u.textRotation==`number`&&u.textRotation!==0||u.textRotation===`vertical`)continue;let d;if(u.richText){d=0;let e=s.hasEmbeddedFont();for(let t of u.richText){let n=e?s.getEmbeddedResourceName():s.ensureFont(Sa(t.fontFamily,t.bold,t.italic));d+=s.measureText(t.text,n,t.fontSize)}}else{let e=s.hasEmbeddedFont()?s.getEmbeddedResourceName():s.ensureFont(Sa(u.fontFamily,u.bold,u.italic));d=s.measureText(u.text,e,u.fontSize)}let f=u.rect.width-(3+u.borderInsets.left)-(3+u.borderInsets.right);if(d<=f)continue;let p=d-f,m=0;for(let s=l+1;s<n.length;s++){let l=r[t[c]],u=i[n[s]];if(o.has(`${l}:${u}`))break;let d=e.get(`${c}:${s}`);if(d?.text||d?.richText||(m+=a[s],m>=p))break}if(m>0){u.textOverflowWidth=Math.min(p,m);let t=0,r=u.textOverflowWidth;u.borders.right=null;for(let i=l+1;i<n.length;i++){let n=e.get(`${c}:${i}`);if(!n||(n.borders.left=null,t+=a[i],t>=r))break;n.borders.right=null}}}}function cu(e,t,n,r,i){if(!e||e.type!==sl.RichText)return null;let a=e.value;if(!a||typeof a!=`object`||!(`richText`in a))return null;let o=a.richText;if(o.length===0)return null;let s=i?.name??t.defaultFontFamily,c=i?.size??t.defaultFontSize;return o.map(e=>{let a=jo(e.font?{name:e.font.name??i?.name,size:e.font.size??i?.size,bold:e.font.bold??!1,italic:e.font.italic??!1,strike:e.font.strike??!1,underline:e.font.underline??void 0,color:e.font.color??i?.color}:i,s,c);if(n.hasEmbeddedFont())n.trackText(e.text);else{let e=Sa(a.fontFamily,a.bold,a.italic);n.ensureFont(e)}return{text:e.text,fontFamily:a.fontFamily,fontSize:a.fontSize*r,bold:a.bold,italic:a.italic,strike:a.strike,underline:a.underline,textColor:t.blackAndWhite?ko(a.textColor):a.textColor}})}function lu(e,t){let n=e?.text??``;if(t===`displayed`||!e||!(e.type===sl.Error||e.type===sl.Formula&&typeof e.result==`object`&&e.result!==null&&`error`in e.result))return n;switch(t){case`blank`:return``;case`dash`:return`--`;case`NA`:return`#N/A`;default:return n}}var uu,du,fu,pu=n((()=>{Da(),_o(),Ws(),Vo(),ll(),bl(),Ol(),uu=8.43,du=15,fu=3}));async function mu(e,t){let n=t?.headerFooter,r={...t,headerFooter:{...n,fileName:n?.fileName??e.sourceFileName,filePath:n?.filePath??e.sourceFilePath,locale:n?.locale??e.locale,date:n?.date??new Date}},i=hu(e,r);for(let e of i.sheets)await gu(i,e,r);return _u(i,e,r)}function hu(e,t){let n=Au(e,t?.sheets);if(n.length===0)throw new Xt(`No sheets to export. The workbook is empty or no sheets matched.`);let r=new Ea,i=new on,a=t?.font??null;if(a||bu(r,Uu(n)),a)try{let e=Oa(a);r.registerEmbeddedFont(e)}catch(e){if(t?.font)throw new Zt(`Failed to parse TrueType font`,{cause:e})}return{sheets:n,fontManager:r,writer:i,allPages:[]}}async function gu(e,t,n){try{let r=Ru(n,t),i=ol(t)?jl(t,r):await Al(t,r,e.fontManager);e.allPages.push(...i)}catch(e){throw new Zt(`Failed to layout sheet "${t.name}"`,{cause:e})}}async function _u(e,t,n){let{allPages:r,fontManager:i,writer:a,sheets:o}=e,s=Ru(n,o[0]);xu(r,s,o);for(let e of Uu(o))i.trackText(String.fromCodePoint(e));Su(r),Cu(r,i);let c=vu(r,i),l=s.watermark;if(l&&l.type===`text`){let e=l.fontFamily??`Helvetica`,t=l.bold??!1,n=l.italic??!1;i.trackText(l.text),i.hasEmbeddedFont()||i.ensureFont(Sa(e,t,n))}yu(i);let{pageObjNums:u,sheetFirstPage:d,pagesTreeObjNum:f}=await wu(r,i,a,await i.writeFontResources(a),c,l);return ku(a,u,f,d,s,t,n)}function vu(e,t){let n=new WeakMap;for(let r of e)for(let e of r.charts){if(!e.drawVector)continue;let i=new Kt,a=new Set,o=rl(i,t,a,r.options.blackAndWhite);e.drawVector(o,Gu(e.rect)),n.set(e,{stream:i,alphaValues:a})}return n}function yu(e){if(e.hasEmbeddedFont())return;let t=e.getType3CodePoints();t.size!==0&&bu(e,t)}function bu(e,t){let n=to(t);n&&e.registerEmbeddedFont(n)}function xu(e,t,n){e.length===0&&e.push({pageNumber:1,sheetPageNumber:1,sheetPageIndex:1,sheetPageCount:1,firstPageNumber:void 0,options:t,cells:[],width:t.pageSize.width,height:t.pageSize.height,sheetName:n[0]?.name??`Sheet1`,sheetCols:[],columnOffsets:[],columnWidths:[],sheetRows:[],rowYPositions:[],rowHeights:[],images:[],charts:[],scaleFactor:1})}function Su(e){let t=1;for(let n=0;n<e.length;n++){let r=e[n];r.pageNumber=n+1,r.sheetPageIndex===1&&r.firstPageNumber!==void 0&&(t=r.firstPageNumber),r.sheetPageNumber=t++,r.sheetPageCount=e.length}}function Cu(e,t){if(t.hasEmbeddedFont())for(let n of e)n.options.showSheetNames&&t.trackText(n.sheetName);for(let n of e)n.options.showPageNumbers&&t.ensureFont(Sa(n.options.defaultFontFamily,!1,!1));if(!t.hasEmbeddedFont())for(let n of e)n.options.showSheetNames&&t.ensureFont(Sa(n.options.defaultFontFamily,!0,!1));for(let n of e)for(let e of[Wo(n,`header`),Wo(n,`footer`)])if(e)for(let r of[e.left,e.center,e.right])for(let e of r){if(e.field===`image`)continue;let r=Go(e,n);t.trackText(r),t.hasEmbeddedFont()||t.ensureFont(Sa(e.fontFamily||n.options.defaultFontFamily,e.bold,e.italic))}}async function wu(e,t,n,r,i,a){let o=[],s=n.allocObject(),c=new Map,l=e.length,u=new WeakMap;for(let d=0;d<e.length;d++)Tu(e[d],t,n,r,i,u,l,o,s,c,a),d<e.length-1&&await Dl();return{pageObjNums:o,sheetFirstPage:c,pagesTreeObjNum:s}}function Tu(e,t,n,r,i,a,o,c,u,d,f){try{let{stream:m,alphaValues:h}=Uo(e,e.options,t,o),g=new Map,_=e.options.blackAndWhite,v,y=Wo(e,`header`),b=Wo(e,`footer`),x=e.headerFooter?.images??[],S=new Set([...Du(y,`H`),...Du(b,`F`)]);if(x.length>0&&S.size>0){let t=new Kt,r=e.headerFooter?.alignWithMargins!==!1,i=r?e.options.margins.left:18,o=r?e.width-e.options.margins.right:e.width-18,s=e.headerFooter?.scaleWithDoc===!1?1:e.scaleFactor;for(let r=0;r<x.length;r++){let c=x[r];if(!S.has(c.position))continue;let l=`HfIm${r+1}`;g.set(l,Eu(n,a,c.data,c.format,_));let u=c.width*s,d=c.height*s,f=Ou(c.position),p=f.section===`left`?i:f.section===`right`?o-u:(e.width-u)/2,m=f.kind===`header`?e.height-e.options.headerMargin-d:e.options.footerMargin;t.drawImage(l,p,m,u,d)}v=n.allocObject(),n.addStreamObject(v,new p,t)}if(e.images.length>0)for(let t=0;t<e.images.length;t++){let r=e.images[t],i=`Im${t+1}`,o=Eu(n,a,r.data,r.format,_);g.set(i,o),m.drawImage(i,r.rect.x,r.rect.y,r.rect.width,r.rect.height)}if(e.charts.length>0){let t=e.images.length;for(let r of e.charts){if(r.drawVector){let e=i.get(r);if(!e)throw new Zt(`Vector chart was not prepared before font resources`);m.append(e.stream);for(let t of e.alphaValues)h.add(t);continue}if(r.raster){let e=`Im${++t}`,i=Eu(n,a,r.raster.data,r.raster.format,_);g.set(e,i),m.drawImage(e,r.rect.x,r.rect.y,r.rect.width,r.rect.height)}}}let C;if(f&&Hu(f,e)){let r=new Kt,i=ks(r,e,f,t);for(let e of i.alphaValues)h.add(e);for(let e of i.imageXObjects){let t=Eu(n,a,e.data,e.format,_);g.set(e.name,t)}C=n.allocObject(),n.addStreamObject(C,new p,r)}let w=n.allocObject();n.addStreamObject(w,new p,m);let ee;if(C||v){let e=f?.placement??`under`,t=[v,C].filter(e=>e!==void 0).map(l);if(e===`over`){let e=C?` ${l(C)}`:``;ee=`[${v?`${l(v)} `:``}${l(w)}${e}]`}else ee=`[${t.join(` `)} ${l(w)}]`}else ee=l(w);let te=n.allocObject(),ne=t.buildFontDictString(r),re=new p().set(`Font`,ne);if(g.size>0){let e=[`<<`];for(let[t,n]of g)e.push(`/${t} ${l(n)}`);e.push(`>>`),re.set(`XObject`,e.join(`
|
|
49
|
+
`))}if(h.size>0){let e=[`<<`];for(let t of h){let r=n.allocObject(),i=new p().set(`Type`,`/ExtGState`).set(`ca`,s(t)).set(`CA`,s(t));n.addObject(r,i),e.push(`/${ms(t)} ${l(r)}`)}e.push(`>>`),re.set(`ExtGState`,e.join(`
|
|
50
|
+
`))}n.addObject(te,re);let ie=[];for(let t of e.cells)if(t.hyperlink){let e=n.allocObject(),r=`[${s(t.rect.x)} ${s(t.rect.y)} ${s(t.rect.x+t.rect.width)} ${s(t.rect.y+t.rect.height)}]`,i=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Link`).set(`Rect`,r).set(`Border`,`[0 0 0]`).set(`A`,`<< /Type /Action /S /URI /URI (${t.hyperlink.replace(/[()\\]/g,`\\$&`)}) >>`);n.addObject(e,i),ie.push(e)}let ae=n.addPage({parentRef:u,width:e.width,height:e.height,contentsRef:ee,resourcesRef:te,transparencyGroup:h.size>0,annotRefs:ie.length>0?ie:void 0});c.push(ae),d.has(e.sheetName)||d.set(e.sheetName,c.length-1)}catch(t){throw new Zt(`Failed to render page ${e.pageNumber} of "${e.sheetName}"`,{cause:t})}}function Eu(e,t,n,r,i=!1){let a=t.get(n);a===void 0&&(a=new Map,t.set(n,a));let o=a.get(i);if(o!==void 0)return o;let s=et(e,n,r,i);return a.set(i,s),s}function Du(e,t){if(!e)return[];let n=[];for(let r of[`left`,`center`,`right`])e[r].some(e=>e.field===`image`)&&n.push(`${r===`left`?`L`:r===`right`?`R`:`C`}${t}`);return n}function Ou(e){return{section:e[0]===`L`?`left`:e[0]===`R`?`right`:`center`,kind:e[1]===`H`?`header`:`footer`}}function ku(e,t,n,r,i,a,o){let s=`[`+t.map(e=>l(e)).join(` `)+`]`,c=new p().set(`Type`,`/Pages`).set(`Kids`,s).set(`Count`,String(t.length));e.addObject(n,c);let u;if(r.size>1&&(u=Vu(e,r,t)),e.addCatalog(n,u),e.addInfoDict({title:i.title||a.title||void 0,author:i.author||a.creator||void 0,subject:i.subject||a.subject||void 0,creator:i.creator}),o?.encryption){let t=It(o.encryption);e.setEncryption(t)}return e.build()}function Au(e,t){let n=e.sheets;if(!t||t.length===0)return n.filter(e=>e.state!==`hidden`&&e.state!==`veryHidden`);let r=[];for(let e of t)if(typeof e==`string`){let t=n.find(t=>t.name.toLowerCase()===e.toLowerCase());t&&r.push(t)}else if(typeof e==`number`){let t=n[e-1];t&&r.push(t)}return r}function ju(e){let t=e.replace(/\$/g,``).toUpperCase().match(/^([A-Z]+)(?::([A-Z]+))?$/);if(!t)return null;let n=Nu(t[1]),r=t[2]?Nu(t[2]):n;return r<n?null:{first:n,last:r}}function Mu(e){let t=e.replace(/\$/g,``).match(/^(\d+)(?::(\d+))?$/);if(!t)return null;let n=parseInt(t[1],10),r=t[2]?parseInt(t[2],10):n;return n<1||r<n?null:{first:n,last:r}}function Nu(e){let t=0;for(let n=0;n<e.length;n++)t=t*26+(e.charCodeAt(n)-64);return t}function Pu(e){return e===`overThenDown`?`overThenDown`:`downThenOver`}function Fu(e){return e===`atEnd`||e===`asDisplayed`?e:`none`}function Iu(e){switch(e){case`blank`:case`dash`:case`NA`:return e;default:return`displayed`}}function Lu(e,t){let n=e=>e===void 0||!Number.isFinite(e)||e<=0?0:Math.floor(e),r=e?.fitToWidth!==void 0||e?.fitToHeight!==void 0,i=t?.fitToPage===!0,a=0,o=0;r?(a=n(e?.fitToWidth),o=n(e?.fitToHeight)):i&&e?.scale===void 0&&e?.fitToPage!==!1&&(a=n(t?.fitToWidth),o=n(t?.fitToHeight));let s=!i&&t?.scale!==void 0&&t.scale!==100?t.scale/100:void 0,c=Math.max(.1,Math.min(4,e?.scale??s??1)),l=a>0||o>0;return{fitToPage:e?.fitToPage??!(l||s!==void 0||r),scale:c,fitToWidth:a,fitToHeight:o}}function Ru(e,t){let n=t?.pageSetup,r=zu(e?.pageSize,n?.paperSize),i=t&&ol(t)?t.orientation:void 0,a=e?.orientation??i??(n?.orientation===`landscape`?`landscape`:`portrait`),o=Bu(e?.margins,n?.margins),s=e?.blackAndWhite??n?.blackAndWhite??!1,c=wo(e?.gridLineColor??`FFD0D0D0`)??{r:.816,g:.816,b:.816},l=s?ko(c):c,u=!!t&&!ol(t),d=e=>typeof e==`number`&&e>0&&{first:1,last:e},f=!1;e?.repeatRows===void 0?u&&n?.printTitlesRow&&(f=Mu(n.printTitlesRow)??!1):f=d(e.repeatRows);let p=!1;e?.repeatCols===void 0?u&&n?.printTitlesColumn&&(p=ju(n.printTitlesColumn)??!1):p=d(e.repeatCols);let{fitToPage:m,scale:h,fitToWidth:g,fitToHeight:_}=Lu(e,n);return{pageSize:r,orientation:a,margins:o,ignorePrintArea:e?.ignorePrintArea??!1,fitToPage:m,scale:h,fitToWidth:g,fitToHeight:_,showGridLines:e?.showGridLines??n?.showGridLines??!1,gridLineColor:l,showRowColHeaders:e?.showRowColHeaders??n?.showRowColHeaders??!1,horizontalCentered:e?.horizontalCentered??n?.horizontalCentered??!1,verticalCentered:e?.verticalCentered??n?.verticalCentered??!1,pageOrder:e?.pageOrder??Pu(n?.pageOrder),blackAndWhite:s,draft:e?.draft??n?.draft??!1,errors:e?.errors??Iu(n?.errors),cellComments:e?.cellComments??Fu(n?.cellComments),repeatRows:f,repeatCols:p,defaultFontFamily:e?.defaultFontFamily??`Helvetica`,defaultFontSize:e?.defaultFontSize??11,showSheetNames:e?.showSheetNames??!1,showPageNumbers:e?.showPageNumbers??!1,includeHeadersFooters:e?.headerFooter?.enabled??!0,headerMargin:(n?.margins?.header??.3)*72,footerMargin:(n?.margins?.footer??.3)*72,sourceFileName:e?.headerFooter?.fileName??``,sourceFilePath:e?.headerFooter?.filePath??``,headerFooterDate:e?.headerFooter?.date??new Date,headerFooterLocale:e?.headerFooter?.locale,title:e?.title??``,author:e?.author??``,subject:e?.subject??``,creator:e?.creator??`documonster`,watermark:e?.watermark}}function zu(e,t){return e?typeof e==`string`?cl[e]??cl.A4:e:t===void 0?cl.A4:Ku[t]??cl.A4}function Bu(e,t){let n=t?{top:t.top*72,right:t.right*72,bottom:t.bottom*72,left:t.left*72}:{top:72,right:72,bottom:72,left:72};return e?{top:e.top??n.top,right:e.right??n.right,bottom:e.bottom??n.bottom,left:e.left??n.left}:n}function Vu(e,t,n){let r=e.allocObject(),a=Array.from(t.entries()),o=[];for(let t=0;t<a.length;t++)o.push(e.allocObject());for(let t=0;t<a.length;t++){let[s,c]=a[t],u=n[c],d=new p().set(`Title`,i(s)).set(`Parent`,l(r)).set(`Dest`,`[${l(u)} /Fit]`);t>0&&d.set(`Prev`,l(o[t-1])),t<a.length-1&&d.set(`Next`,l(o[t+1])),e.addObject(o[t],d)}let s=new p().set(`Type`,`/Outlines`).set(`First`,l(o[0])).set(`Last`,l(o[o.length-1])).set(`Count`,String(a.length));return e.addObject(r,s),r}function Hu(e,t){if(e.pages&&e.pages.length>0&&!e.pages.includes(t.pageNumber))return!1;if(e.sheets&&e.sheets.length>0){let n=t.sheetName.toLowerCase();if(!e.sheets.some(e=>e.toLowerCase()===n))return!1}return!0}function Uu(e){let t=new Set;for(let n of e){let e=n.headerFooter;if(e){for(let n of[e.oddHeader,e.oddFooter,e.evenHeader,e.evenFooter,e.firstHeader,e.firstFooter])if(n)for(let e of[n.left,n.center,n.right])for(let n of e)Wu(n.text,t)}if(!ol(n)){for(let e of n.rows.values())for(let n of e.cells.values())if(Wu(n.text,t),n.type===sl.RichText&&n.value&&typeof n.value==`object`&&`richText`in n.value){let e=n.value.richText;for(let n of e)Wu(n.text,t)}}}return t}function Wu(e,t){if(e)for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++,Wt(r)||t.add(r)}}function Gu(e){let{x:t,y:n,width:r,height:i}=e;if(r<=0||i<=0)return e;let a=r/i,o=2.5,s=16/9;if(a>=1&&a<=o)return e;let c=r,l=i;a>o?c=i*s:l=r/s;let u=(r-c)/2,d=(i-l)/2;return{x:t+u,y:n+d,width:c,height:l}}var Ku,qu=n((()=>{at(),Bt(),m(),Jt(),sn(),$t(),Da(),ao(),qa(),al(),pu(),Ws(),Vo(),ll(),Ol(),Ku={1:cl.LETTER,5:cl.LEGAL,9:cl.A4,8:cl.A3,11:cl.A5,17:cl.TABLOID}}));nl(),qu(),ll();async function Ju(e,t){return mu(Yu(e),t)}function Yu(e){return Array.isArray(e)?{sheets:[Xu({data:e})]}:`sheets`in e?{title:e.title,creator:e.author,sheets:e.sheets.map((e,t)=>Xu(e,t))}:{sheets:[Xu(e)]}}function Xu(e,t){let n=e.data,r=e.name??`Sheet${(t??0)+1}`,i=e.columns?.map(e=>typeof e==`number`?void 0:e.header),a=i?.some(e=>e!==void 0)??!1,o=0;for(let e of n)e.length>o&&(o=e.length);let s=Math.max(o,e.columns?.length??0),c=n.length+ +!!a;if(e.images)for(let t of e.images){let e=t.col+1,n=t.row+1;e>s&&(s=e),n>c&&(c=n)}if(s===0)return{name:r,bounds:{top:0,left:0,bottom:0,right:0},columns:new Map,rows:new Map};let l=new Map;if(e.columns)for(let t=0;t<e.columns.length;t++){let n=e.columns[t],r=typeof n==`number`?n:n.width;l.set(t+1,{width:r??12})}for(let e=1;e<=s;e++)l.has(e)||l.set(e,{width:12});let u=new Map,d=1;if(a&&i){let e=new Map;for(let t=0;t<i.length;t++){let n=i[t];n!==void 0&&e.set(t+1,{type:sl.String,value:n,text:n,col:t+1,style:{font:{bold:!0}}})}u.set(1,{cells:e}),d=2}for(let e=0;e<n.length;e++){let t=e+d,r=n[e],i=new Map;for(let e=0;e<r.length;e++){let t=Zu(r[e],e+1);t&&i.set(e+1,t)}u.set(t,{cells:i})}let f;if(e.images&&e.images.length>0){f=e.images.map(e=>({data:e.data,format:e.format,range:{tl:{col:e.col,row:e.row},ext:{width:e.width,height:e.height}}}));for(let e=1;e<=s;e++)l.has(e)||l.set(e,{width:12});for(let e=1;e<=c;e++)u.has(e)||u.set(e,{cells:new Map})}return{name:r,bounds:{top:1,left:1,bottom:c,right:s},columns:l,rows:u,images:f}}function Zu(e,t){if(e==null)return null;if(typeof e==`object`&&!(e instanceof Date)&&`value`in e){let n=e,r=Zu(n.value,t);if(!r)return null;let i={};return(n.bold||n.italic||n.fontSize||n.fontColor)&&(i.font={bold:n.bold,italic:n.italic,size:n.fontSize,color:n.fontColor?{argb:n.fontColor}:void 0}),n.fillColor&&(i.fill={type:`pattern`,pattern:`solid`,fgColor:{argb:n.fillColor}}),n.align&&(i.alignment={horizontal:n.align}),r.style=i,r}return typeof e==`string`?{type:sl.String,value:e,text:e,col:t}:typeof e==`number`?{type:sl.Number,value:e,text:String(e),col:t}:typeof e==`boolean`?{type:sl.Boolean,value:e,text:e?`TRUE`:`FALSE`,col:t}:e instanceof Date?{type:sl.Date,value:e,text:e.toLocaleDateString(),col:t}:null}$t();function Qu(e){return e===0||e===9||e===10||e===13||e===12||e===32}function $u(e){return e===40||e===41||e===60||e===62||e===91||e===93||e===123||e===125||e===47||e===37}function ed(e){return e>=48&&e<=57}function td(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function nd(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-65+10:e-97+10}let rd=new Uint8Array([101,110,100,115,116,114,101,97,109]);var id=class{constructor(e,t=0){this.data=e,this.pos=t}get position(){return this.pos}set position(e){this.pos=e}get bytes(){return this.data}peek(){return this.pos<this.data.length?this.data[this.pos]:-1}next(){if(this.skipWhitespaceAndComments(),this.pos>=this.data.length)return{type:11,offset:this.pos};let e=this.pos,t=this.data[this.pos];return t===40?this.readLiteralString(e):t===60?this.pos+1<this.data.length&&this.data[this.pos+1]===60?(this.pos+=2,{type:7,offset:e}):this.readHexString(e):t===62?this.pos+1<this.data.length&&this.data[this.pos+1]===62?(this.pos+=2,{type:8,offset:e}):(this.pos++,{type:6,strValue:`>`,offset:e}):t===91?(this.pos++,{type:9,offset:e}):t===93?(this.pos++,{type:10,offset:e}):t===47?this.readName(e):ed(t)||t===45||t===43||t===46?this.readNumber(e):this.readKeyword(e)}skipWhitespaceAndComments(){for(;this.pos<this.data.length;){let e=this.data[this.pos];if(Qu(e)){this.pos++;continue}if(e===37){for(this.pos++;this.pos<this.data.length;){let e=this.data[this.pos];if(e===10||e===13)break;this.pos++}continue}break}}readLiteralString(e){this.pos++;let t=[],n=1;for(;this.pos<this.data.length&&n>0;){let e=this.data[this.pos];if(e===92){if(this.pos++,this.pos>=this.data.length)break;let e=this.data[this.pos];switch(e){case 110:t.push(10);break;case 114:t.push(13);break;case 116:t.push(9);break;case 98:t.push(8);break;case 102:t.push(12);break;case 40:t.push(40);break;case 41:t.push(41);break;case 92:t.push(92);break;case 10:break;case 13:this.pos+1<this.data.length&&this.data[this.pos+1]===10&&this.pos++;break;default:if(e>=48&&e<=55){let n=e-48;this.pos+1<this.data.length&&this.data[this.pos+1]>=48&&this.data[this.pos+1]<=55&&(this.pos++,n=n*8+(this.data[this.pos]-48),this.pos+1<this.data.length&&this.data[this.pos+1]>=48&&this.data[this.pos+1]<=55&&(this.pos++,n=n*8+(this.data[this.pos]-48))),t.push(n&255)}else t.push(e)}this.pos++}else e===40?(n++,t.push(e),this.pos++):e===41?(n--,n>0&&t.push(e),this.pos++):e===13?(t.push(10),this.pos++,this.pos<this.data.length&&this.data[this.pos]===10&&this.pos++):(t.push(e),this.pos++)}return{type:1,rawBytes:new Uint8Array(t),offset:e}}readHexString(e){this.pos++;let t=[],n=-1;for(;this.pos<this.data.length;){let e=this.data[this.pos];if(e===62){this.pos++;break}if(Qu(e)){this.pos++;continue}td(e)&&(n<0?n=nd(e):(t.push(n<<4|nd(e)),n=-1)),this.pos++}return n>=0&&t.push(n<<4),{type:2,rawBytes:new Uint8Array(t),offset:e}}readName(e){this.pos++;let t=[];for(;this.pos<this.data.length;){let e=this.data[this.pos];if(Qu(e)||$u(e))break;if(e===35&&this.pos+2<this.data.length){let e=this.data[this.pos+1],n=this.data[this.pos+2];if(td(e)&&td(n)){t.push(nd(e)<<4|nd(n)),this.pos+=3;continue}}t.push(e),this.pos++}return{type:3,strValue:String.fromCharCode(...t),offset:e}}readNumber(e){let t=``,n=this.data[this.pos];(n===45||n===43)&&(t+=String.fromCharCode(n),this.pos++);let r=n===46;for(r&&(t+=`.`,this.pos++);this.pos<this.data.length;){let e=this.data[this.pos];if(ed(e))t+=String.fromCharCode(e),this.pos++;else if(e===46&&!r)r=!0,t+=`.`,this.pos++;else break}return t===`+`||t===`-`||t===`.`||t===``?this.readKeyword(e):{type:0,numValue:r?parseFloat(t):parseInt(t,10),offset:e}}readKeyword(e){let t=[];for(;this.pos<this.data.length;){let e=this.data[this.pos];if(Qu(e)||$u(e))break;t.push(e),this.pos++}let n=String.fromCharCode(...t);return n===`true`?{type:4,boolValue:!0,strValue:`true`,offset:e}:n===`false`?{type:4,boolValue:!1,strValue:`false`,offset:e}:n===`null`?{type:5,offset:e}:{type:6,strValue:n,offset:e}}findSequence(e,t){let n=t??this.pos,r=e.length,i=this.data.length-r;for(let t=n;t<=i;t++){let n=!0;for(let i=0;i<r;i++)if(this.data[t+i]!==e[i]){n=!1;break}if(n)return t}return-1}findSequenceBackward(e,t){let n=t??this.data.length-1,r=e.length;for(let t=n-r+1;t>=0;t--){let n=!0;for(let i=0;i<r;i++)if(this.data[t+i]!==e[i]){n=!1;break}if(n)return t}return-1}readLine(){let e=[];for(;this.pos<this.data.length;){let t=this.data[this.pos];if(this.pos++,t===10)break;if(t===13){this.pos<this.data.length&&this.data[this.pos]===10&&this.pos++;break}e.push(t)}return String.fromCharCode(...e)}slice(e,t){return this.data.subarray(e,t)}readStreamContent(e){if(this.pos<this.data.length&&this.data[this.pos]===13&&this.pos++,this.pos<this.data.length&&this.data[this.pos]===10&&this.pos++,e<0){let e=this.findSequence(rd,this.pos);if(e<0)throw new T(`Could not find endstream marker`);let t=e;t>this.pos&&this.data[t-1]===10&&t--,t>this.pos&&this.data[t-1]===13&&t--;let n=this.data.subarray(this.pos,t);return this.pos=e+rd.length,n}let t=this.data.subarray(this.pos,this.pos+e);if(this.pos+=e,this.skipWhitespaceAndComments(),this.pos+rd.length<=this.data.length){let e=!0;for(let t=0;t<rd.length;t++)if(this.data[this.pos+t]!==rd[t]){e=!1;break}e&&(this.pos+=rd.length)}return t}};$t();function ad(e){return typeof e==`object`&&!!e&&`type`in e&&e.type===`ref`}function od(e){return typeof e==`object`&&!!e&&`type`in e&&e.type===`stream`}function sd(e){return e instanceof Map}function G(e){return Array.isArray(e)}function cd(e,t){let n=e.get(t);return typeof n==`string`?n:void 0}function ld(e,t){let n=e.get(t);return typeof n==`number`?n:void 0}function ud(e,t){let n=e.get(t);return typeof n==`boolean`?n:void 0}function dd(e,t){let n=e.get(t);return G(n)?n:void 0}function fd(e,t){let n=e.get(t);return ad(n)?n:void 0}function pd(e,t){let n=e.get(t);return n instanceof Uint8Array?n:void 0}function md(e){if(e.length>=2&&e[0]===254&&e[1]===255){let t=``;for(let n=2;n+1<e.length;n+=2){let r=e[n]<<8|e[n+1];if(r>=55296&&r<=56319&&n+3<e.length){let i=e[n+2]<<8|e[n+3];if(i>=56320&&i<=57343){let e=65536+(r-55296<<10)+(i-56320);t+=String.fromCodePoint(e),n+=2;continue}}t+=String.fromCharCode(r)}return t}return e.length>=3&&e[0]===239&&e[1]===187&&e[2]===191?new TextDecoder(`utf-8`).decode(e.subarray(3)):hd(e)}function hd(e){let t=``;for(let n=0;n<e.length;n++){let r=e[n],i=gd[r];t+=i===void 0?String.fromCharCode(r):String.fromCodePoint(i)}return t}let gd={128:8226,129:8224,130:8225,131:8230,132:8212,133:8211,134:402,135:8260,136:8249,137:8250,138:8722,139:8240,140:8222,141:8220,142:8221,143:8216,144:8217,145:8218,146:8482,147:64257,148:64258,149:321,150:338,151:352,152:376,153:381,154:305,155:322,156:339,157:353,158:382,160:8364,173:711};function _d(e){return vd(e,e.next())}function vd(e,t){switch(t.type){case 0:{let n=t.numValue,r=e.pos,i=e.next();if(i.type===0){let t=i.numValue,a=e.next();if(a.type===6&&a.strValue===`R`)return{type:`ref`,objNum:n,gen:t};if(a.type===6&&a.strValue===`obj`){let t=_d(e);if(sd(t)){e.skipWhitespaceAndComments();let n=e.pos,r=e.next();if(r.type===6&&r.strValue===`stream`){let n=ld(t,`Length`)??-1,r=e.readStreamContent(n),i=e.next();return(i.type!==6||i.strValue!==`endobj`)&&(e.pos=i.offset),{type:`stream`,dict:t,data:r}}e.pos=n}e.skipWhitespaceAndComments();let n=e.pos,r=e.next();return(r.type!==6||r.strValue!==`endobj`)&&(e.pos=n),t}return e.pos=r,n}return e.pos=r,n}case 1:case 2:return t.rawBytes??new Uint8Array;case 3:return t.strValue;case 4:return t.boolValue;case 5:return null;case 7:return yd(e);case 9:return bd(e);case 11:throw new T(`Unexpected end of input while parsing PDF object`);default:return t.strValue??null}}function yd(e){let t=new Map;for(;;){let n=e.next();if(n.type===8)break;if(n.type===11)throw new T(`Unexpected EOF in dictionary`);if(n.type!==3)continue;let r=n.strValue,i=_d(e);t.set(r,i)}return t}function bd(e){let t=[];for(;;){let n=e.next();if(n.type===10)break;if(n.type===11)throw new T(`Unexpected EOF in array`);t.push(vd(e,n))}return t}function xd(e,t,n){let r=e.get(t);if(!r)return``;let i=n.deref(r);return typeof i==`string`?i:i instanceof Uint8Array?md(i):``}function Sd(e,t){let n=e.get(`Annots`);if(!n)return[];let r=t.deref(n);if(!G(r))return[];let i=[];for(let e of r)try{let n=t.derefDict(e);if(!n)continue;let r=cd(n,`Subtype`)??``;if(r===`Widget`||r===`Popup`)continue;let a=Cd(n,r,t);a&&i.push(a)}catch{}return i}function Cd(e,t,n){let r=wd(e.get(`Rect`),n);if(!r)return null;let i=xd(e,`Contents`,n),a=xd(e,`T`,n),o=xd(e,`Subj`,n),s=xd(e,`M`,n),c=ld(e,`F`)??0,l=Td(e.get(`C`),n),u=``,d=``;if(t===`Link`){let t=n.derefDict(e.get(`A`));if(t){let e=cd(t,`S`);if(e===`URI`)u=xd(t,`URI`,n);else if(e===`GoTo`){let e=t.get(`D`);typeof e==`string`&&(d=e)}else e===`GoToR`&&(u=xd(t,`F`,n))}if(!u&&!d){let t=e.get(`Dest`);if(t){let e=n.deref(t);typeof e==`string`?d=e:e instanceof Uint8Array&&(d=md(e))}}}return{subtype:t,rect:r,contents:i,author:a,subject:o,modifiedDate:s,uri:u,destination:d,flags:c,color:l}}function wd(e,t){if(!e)return null;let n=t.deref(e);if(!G(n)||n.length<4)return null;let r=n.map(e=>typeof e==`number`?e:0);return{x1:r[0],y1:r[1],x2:r[2],y2:r[3]}}function Td(e,t){if(!e)return[];let n=t.deref(e);return G(n)?n.map(e=>typeof e==`number`?e:0):[]}function Ed(e){try{let t=e.getCatalog().get(`Outlines`);if(!t)return[];let n=e.derefDict(t);return n?Od(n,e,Dd(e),new Set,0):[]}catch{return[]}}function Dd(e){let t=e.getPagesWithObjInfo(),n=new Map;for(let e=0;e<t.length;e++){let{objNum:r}=t[e];r!==0&&n.set(r,e)}return n}function Od(e,t,n,r,i){if(i>100)return[];let a=e.get(`First`);if(!a)return[];let o=[],s=a,c=0;for(;s!=null&&c<1e4;){if(c++,ad(s)){if(r.has(s.objNum))break;r.add(s.objNum)}let e=t.derefDict(s);if(!e)break;let a=kd(e,t,n,r,i);a&&o.push(a),s=e.get(`Next`)}return o}function kd(e,t,n,r,i){let a=Ad(e,t);return a?{title:a,pageIndex:jd(e,t,n),children:Od(e,t,n,r,i+1)}:null}function Ad(e,t){return xd(e,`Title`,t)}function jd(e,t,n){let r=e.get(`Dest`);if(r!=null){let e=Md(r,t,n);if(e>=0)return e}let i=e.get(`A`);if(i!=null){let e=t.derefDict(i);if(e&&cd(e,`S`)===`GoTo`){let r=e.get(`D`);if(r!=null)return Md(r,t,n)}}return-1}function Md(e,t,n){let r=t.deref(e);return r==null?-1:G(r)&&r.length>=1?Nd(r[0],t,n):typeof r==`string`?Pd(r,t,n):r instanceof Uint8Array?Pd(md(r),t,n):-1}function Nd(e,t,n){if(ad(e)){let t=n.get(e.objNum);return t===void 0?-1:t}return typeof e==`number`&&Number.isInteger(e)?e:-1}function Pd(e,t,n){let r=t.getCatalog(),i=r.get(`Dests`);if(i!=null){let r=t.derefDict(i);if(r){let i=r.get(e);if(i!=null)return Fd(i,t,n)}}let a=r.get(`Names`);if(a!=null){let r=t.derefDict(a);if(r){let i=r.get(`Dests`);if(i!=null){let r=Id(i,e,t);if(r!=null)return Fd(r,t,n)}}}return-1}function Fd(e,t,n){let r=t.deref(e);if(r==null)return-1;if(G(r)&&r.length>=1)return Nd(r[0],t,n);if(r instanceof Map){let e=r.get(`D`);if(e!=null)return Md(e,t,n)}return-1}function Id(e,t,n,r=0){if(r>100)return null;let i=n.derefDict(e);if(!i)return null;let a=i.get(`Names`);if(a!=null){let e=n.deref(a);if(G(e))for(let r=0;r+1<e.length;r+=2){let i=n.deref(e[r]),a=null;if(typeof i==`string`?a=i:i instanceof Uint8Array&&(a=md(i)),a===t)return e[r+1]}}let o=i.get(`Kids`);if(o!=null){let e=n.deref(o);if(G(e))for(let i of e){let e=Id(i,t,n,r+1);if(e!=null)return e}}return null}var Ld=class{constructor(){this.codeSpaceRanges=[],this.bfChars=new Map,this.bfRanges=[],this.bytesPerCode=1}lookup(e){let t=this.bfChars.get(e);if(t!==void 0)return t;let n=this.bfRanges,r=0,i=n.length-1;for(;r<=i;){let t=r+i>>>1,a=n[t];if(e<a.low)i=t-1;else if(e>a.high)r=t+1;else{if(typeof a.mapping==`string`){let t=e-a.low,n=Wd(a.mapping);return String.fromCodePoint(n+t)}let t=e-a.low;return t<a.mapping.length?a.mapping[t]:void 0}}}addCodeSpaceRange(e,t,n){this.codeSpaceRanges.push({low:e,high:t,bytes:n}),n>this.bytesPerCode&&(this.bytesPerCode=n)}addBfChar(e,t){this.bfChars.set(e,t)}addBfRange(e,t,n){this.bfRanges.push({low:e,high:t,mapping:n})}sortRanges(){this.bfRanges.sort((e,t)=>e.low-t.low)}getCodeLength(e){let t=0;for(let n of this.codeSpaceRanges)if(n.bytes===1)e>=(n.low&255)&&e<=(n.high&255)&&t<1&&(t=1);else if(n.bytes===2){let r=n.low>>8&255,i=n.high>>8&255;e>=r&&e<=i&&t<2&&(t=2)}else{let r=n.low>>>(n.bytes-1)*8,i=n.high>>>(n.bytes-1)*8;e>=r&&e<=i&&n.bytes>t&&(t=n.bytes)}return t>0?t:this.bytesPerCode}get isEmpty(){return this.bfChars.size===0&&this.bfRanges.length===0}get hasCodeSpaceRanges(){return this.codeSpaceRanges.length>0}};function Rd(e){let t=new Ld,n=new id(e);for(;;){let e=n.next();if(e.type===11)break;if(e.type===6){let r=e.strValue;r===`begincodespacerange`?zd(n,t):r===`beginbfchar`?Bd(n,t):r===`beginbfrange`&&Vd(n,t)}}return t.sortRanges(),t}function zd(e,t){for(;;){let n=e.next();if(n.type===11||n.type===6&&n.strValue===`endcodespacerange`)break;if(n.type===2){let r=n.rawBytes,i=e.next();if(i.type===2){let e=i.rawBytes,n=Hd(r),a=Hd(e);t.addCodeSpaceRange(n,a,r.length)}}}}function Bd(e,t){for(;;){let n=e.next();if(n.type===11||n.type===6&&n.strValue===`endbfchar`)break;if(n.type===2){let r=Hd(n.rawBytes),i=e.next();if(i.type===2){let e=Ud(i.rawBytes);t.addBfChar(r,e)}}}}function Vd(e,t){for(;;){let n=e.next();if(n.type===11||n.type===6&&n.strValue===`endbfrange`)break;if(n.type===2){let r=Hd(n.rawBytes),i=e.next();if(i.type!==2)continue;let a=Hd(i.rawBytes),o=e.next();if(o.type===2){let e=Ud(o.rawBytes);t.addBfRange(r,a,e)}else if(o.type===9){let n=[];for(;;){let t=e.next();if(t.type===10||t.type===11)break;t.type===2&&n.push(Ud(t.rawBytes))}t.addBfRange(r,a,n)}}}}function Hd(e){let t=0;for(let n=0;n<e.length;n++)t=t*256+e[n];return t}function Ud(e){let t=``;for(let n=0;n+1<e.length;n+=2){let r=e[n]<<8|e[n+1];if(r>=55296&&r<=56319&&n+3<e.length){let i=e[n+2]<<8|e[n+3];if(i>=56320&&i<=57343){let e=65536+(r-55296<<10)+(i-56320);t+=String.fromCodePoint(e),n+=2;continue}}t+=String.fromCharCode(r)}return e.length===1?String.fromCharCode(e[0]):t}function Wd(e){return e.codePointAt(0)??0}let Gd={Courier:`winansi`,"Courier-Bold":`winansi`,"Courier-Oblique":`winansi`,"Courier-BoldOblique":`winansi`,Helvetica:`winansi`,"Helvetica-Bold":`winansi`,"Helvetica-Oblique":`winansi`,"Helvetica-BoldOblique":`winansi`,"Times-Roman":`winansi`,"Times-Bold":`winansi`,"Times-Italic":`winansi`,"Times-BoldItalic":`winansi`,Symbol:`symbol`,ZapfDingbats:`zapf`};function Kd(e){let t=e.includes(`+`)?e.substring(e.indexOf(`+`)+1):e,n=Gd[t];if(n)return n;let r=t.toLowerCase();return r.startsWith(`courier`)||r.startsWith(`helvetica`)||r.startsWith(`times`)?`winansi`:r===`symbol`||r.startsWith(`symbol`)?`symbol`:r===`zapfdingbats`||r.startsWith(`zapfdingbats`)?`zapf`:null}function qd(e,t){let n=cd(e,`Subtype`)??`Type1`,r=cd(e,`BaseFont`)??`Unknown`,i=cd(e,`Name`)??r,a=Zd(e,t),o=!1,s=0;if(n===`Type0`){let n=e.get(`Encoding`);if(typeof n==`string`)n===`Identity-H`||n===`Identity-V`?(o=!0,s=+(n===`Identity-V`)):n.endsWith(`-V`)&&(s=1);else if(ad(n)){let e=t.derefDict(n);e&&(s=ld(e,`WMode`)??0)}}let c=$d(e,n,r,t),l=1;n===`Type0`&&(l=a?.bytesPerCode??2);let u=rf(e,t),d=!!((u?ld(u,`Flags`)??0:0)&4),{widths:f,defaultWidth:p,missingWidth:m}=af(e,n,u,t);return{name:i,subtype:n,toUnicode:a,encoding:c,bytesPerCode:l,baseFontName:r,isSymbolic:d,widths:f,defaultWidth:p,missingWidth:m,isIdentityEncoding:o,wmode:s}}function Jd(e,t){if(t.subtype===`Type0`||t.bytesPerCode===2)return Yd(e,t);let n=``;for(let r=0;r<e.length;r++){let i=e[r],a=Xd(i,t);n+=a}return n}function Yd(e,t){let n=``,r=0;for(;r<e.length;){let i=0;if(t.toUnicode?.hasCodeSpaceRanges&&(i=t.toUnicode.getCodeLength(e[r])),i===2&&r+1<e.length){let i=Xd(e[r]<<8|e[r+1],t);n+=i,r+=2}else if(i===1){let i=Xd(e[r],t);n+=i,r++}else{if(r+1<e.length){let i=Xd(e[r]<<8|e[r+1],t);if(i!==`�`){n+=i,r+=2;continue}}let i=Xd(e[r],t);n+=i,r++}}return n}function Xd(e,t){if(t.toUnicode){let n=t.toUnicode.lookup(e);if(n!==void 0)return n}if(t.isIdentityEncoding&&e>0&&e<=1114111&&(e<55296||e>57343))return String.fromCodePoint(e);let n=t.encoding.get(e);return n===void 0?e>=32&&e<=126?String.fromCharCode(e):e>126&&e<=1114111&&(e<55296||e>57343)?String.fromCodePoint(e):`�`:n}function Zd(e,t){let n=e.get(`ToUnicode`);if(!n){if(cd(e,`Subtype`)===`Type0`){let n=dd(e,`DescendantFonts`);if(n&&n.length>0){let e=t.derefDict(n[0]);if(e){let n=e.get(`ToUnicode`);if(n)return Qd(n,t)}}}return null}return Qd(n,t)}function Qd(e,t){let n=t.derefStreamWithObjNum(e);if(!n)return null;try{return Rd(t.getStreamData(n.stream,n.objNum,n.gen))}catch{return null}}function $d(e,t,n,r){let i=new Map;if(t===`Type0`)return i;let a=e.get(`Encoding`);if(typeof a==`string`)tf(i,a);else if(sd(a)){let e=cd(a,`BaseEncoding`);e?tf(i,e):ef(i,t,n);let r=dd(a,`Differences`);r&&nf(i,r)}else if(ad(a)){let e=r.derefDict(a);if(e){let r=cd(e,`BaseEncoding`);r?tf(i,r):ef(i,t,n);let a=dd(e,`Differences`);a&&nf(i,a)}}else ef(i,t,n);return i}function ef(e,t,n){let r=Kd(n);r===`symbol`?tf(e,`SymbolEncoding`):r===`zapf`?tf(e,`ZapfDingbatsEncoding`):t===`TrueType`||r===`winansi`?tf(e,`WinAnsiEncoding`):tf(e,`StandardEncoding`)}function tf(e,t){let n;switch(t){case`WinAnsiEncoding`:n=lf;break;case`MacRomanEncoding`:n=uf;break;case`StandardEncoding`:n=df;break;case`MacExpertEncoding`:n=ff;break;case`SymbolEncoding`:n=pf;break;case`ZapfDingbatsEncoding`:n=mf;break;default:n=lf}for(let[t,r]of Object.entries(n))e.set(Number(t),r)}function nf(e,t){let n=0;for(let r of t)if(typeof r==`number`)n=r;else if(typeof r==`string`){let t=cf(r);t&&e.set(n,t),n++}}function rf(e,t){let n=e.get(`FontDescriptor`);if(n)return t.derefDict(n);if(cd(e,`Subtype`)===`Type0`){let n=dd(e,`DescendantFonts`);if(n&&n.length>0){let e=t.derefDict(n[0]);if(e){let n=e.get(`FontDescriptor`);return t.derefDict(n)}}}return null}function af(e,t,n,r){let i=new Map,a=1e3,o=0;if(n&&(o=ld(n,`MissingWidth`)??0),t===`Type0`){let t=dd(e,`DescendantFonts`);if(t&&t.length>0){let e=r.derefDict(t[0]);if(e){a=ld(e,`DW`)??1e3;let t=dd(e,`W`);t&&of(t,i,r)}}}else{let t=ld(e,`FirstChar`)??0,n=dd(e,`Widths`);if(n)for(let e=0;e<n.length;e++){let r=n[e];typeof r==`number`&&i.set(t+e,r)}}return{widths:i,defaultWidth:a,missingWidth:o}}function of(e,t,n){let r=0;for(;r<e.length;){let n=e[r];if(r++,r>=e.length)break;let i=e[r];if(G(i)){for(let e=0;e<i.length;e++)t.set(n+e,i[e]);r++}else if(typeof i==`number`){let a=i;if(r++,r<e.length){let i=e[r];for(let e=n;e<=a;e++)t.set(e,i);r++}}else r++}}function sf(e,t){let n=t.widths.get(e);return n===void 0?t.missingWidth||t.defaultWidth:n}function cf(e){let t=hf[e];if(t!==void 0)return String.fromCodePoint(t);if(e.startsWith(`uni`)&&e.length>=7){let t=e.substring(3),n=parseInt(t,16);if(!isNaN(n)&&n>0)return String.fromCodePoint(n)}if(e.startsWith(`u`)&&e.length>=5){let t=e.substring(1),n=parseInt(t,16);if(!isNaN(n)&&n>0)return String.fromCodePoint(n)}}let lf=(()=>{let e={};for(let t=32;t<=126;t++)e[t]=String.fromCharCode(t);for(let t=160;t<=255;t++)e[t]=String.fromCharCode(t);for(let[t,n]of Object.entries({128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}))e[Number(t)]=String.fromCodePoint(n);return e})(),uf=(()=>{let e={};for(let t=32;t<=126;t++)e[t]=String.fromCharCode(t);let t=[196,197,199,201,209,214,220,225,224,226,228,227,229,231,233,232,234,235,237,236,238,239,241,243,242,244,246,245,250,249,251,252,8224,176,162,163,167,8226,182,223,174,169,8482,180,168,8800,198,216,8734,177,8804,8805,165,181,8706,8721,8719,960,8747,170,186,8486,230,248,191,161,172,8730,402,8776,8710,171,187,8230,160,192,195,213,338,339,8211,8212,8220,8221,8216,8217,247,9674,255,376,8260,8364,8249,8250,64257,64258,8225,183,8218,8222,8240,194,202,193,203,200,205,206,207,204,211,212,63743,210,218,219,217,305,710,732,175,728,729,730,184,733,731,711];for(let n=0;n<t.length;n++)e[128+n]=String.fromCodePoint(t[n]);return e})(),df=(()=>{let e={};for(let t=32;t<=126;t++)e[t]=String.fromCharCode(t);for(let[t,n]of Object.entries({161:161,162:162,163:163,164:8260,165:165,166:402,167:167,168:164,169:39,170:8220,171:171,172:8249,173:8250,174:64257,175:64258,177:8211,178:8224,179:8225,180:183,182:182,183:8226,184:8218,185:8222,186:8221,187:187,188:8230,189:8240,193:96,194:180,195:710,196:732,197:175,198:728,199:729,200:168,202:730,203:184,204:733,205:731,206:711,207:8212,225:198,227:170,232:321,233:216,234:338,235:186,241:230,245:305,248:322,249:248,250:339,251:223}))e[Number(t)]=String.fromCodePoint(n);return e})(),ff=(()=>{let e={};for(let[t,n]of Object.entries({32:32,33:63265,34:63202,35:63394,36:63268,37:63204,38:63270,39:63412,40:8317,41:8318,42:8229,43:8228,44:44,45:45,46:46,47:8260,48:63280,49:63281,50:63282,51:63283,52:63284,53:63285,54:63286,55:63287,56:63288,57:63289,58:58,59:59,61:63198,63:63295,68:63472,71:188,72:189,73:190,74:8539,75:8540,76:8541,77:8542,78:8531,79:8532,86:64256,87:64257,88:64258,89:64259,90:64260,91:8333,93:8334,94:63222,95:63205,96:63328,97:63329,98:63330,99:63331,100:63332,101:63333,102:63334,103:63335,104:63336,105:63337,106:63338,107:63339,108:63340,109:63341,110:63342,111:63343,112:63344,113:63345,114:63346,115:63347,116:63348,117:63349,118:63350,119:63351,120:63352,121:63353,122:63354,123:8353,124:63196,125:63197,126:63230,129:63209,130:63200,135:63457,136:63456,137:63458,138:63460,139:63459,140:63461,141:63463,142:63465,143:63464,144:63466,145:63467,146:63469,147:63468,148:63470,149:63471,150:63473,151:63475,152:63474,153:63476,154:63478,155:63477,156:63482,157:63481,158:63483,159:63484,161:8312,162:8324,163:8323,164:8326,165:8328,166:8327,167:63229,169:63199,170:8322,172:63400,173:63221,174:63216,175:8325,177:63201,178:63207,179:63485,180:63203,183:63486,184:63208,185:63206,186:8320,187:63204,188:63408,193:63217,194:63412,199:63220,200:63407,202:63218,203:63416,205:63219,206:63213,207:63223,208:8211,209:63208,214:63462,216:63480,218:63423,219:8321,220:63225,225:63462,230:63462,232:63468,233:63480,234:63466,235:63418,241:63462,245:305,248:63468,249:63480,250:63466,251:223}))e[Number(t)]=String.fromCodePoint(n);return e})(),pf=(()=>{let e={};for(let[t,n]of Object.entries({32:32,33:33,34:8704,35:35,36:8707,37:37,38:38,39:8715,40:40,41:41,42:8727,43:43,44:44,45:8722,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:8773,65:913,66:914,67:935,68:916,69:917,70:934,71:915,72:919,73:921,74:977,75:922,76:923,77:924,78:925,79:927,80:928,81:920,82:929,83:931,84:932,85:933,86:962,87:937,88:926,89:936,90:918,91:91,92:8756,93:93,94:8869,95:95,96:63717,97:945,98:946,99:967,100:948,101:949,102:966,103:947,104:951,105:953,106:981,107:954,108:955,109:956,110:957,111:959,112:960,113:952,114:961,115:963,116:964,117:965,118:982,119:969,120:958,121:968,122:950,123:123,124:124,125:125,126:8764,160:8364,161:978,162:8242,163:8804,164:8260,165:8734,166:402,167:9827,168:9830,169:9829,170:9824,171:8596,172:8592,173:8593,174:8594,175:8595,176:176,177:177,178:8243,179:8805,180:215,181:8733,182:8706,183:8226,184:247,185:8800,186:8801,187:8776,188:8230,189:63718,190:63719,191:8629,192:8501,193:8465,194:8476,195:8472,196:8855,197:8853,198:8709,199:8745,200:8746,201:8835,202:8839,203:8836,204:8834,205:8838,206:8712,207:8713,208:8736,209:8711,210:63194,211:63193,212:63195,213:8719,214:8730,215:8901,216:172,217:8743,218:8744,219:8660,220:8656,221:8657,222:8658,223:8659,224:9674,225:9001,226:63720,227:63721,228:63722,229:8721,230:63723,231:63724,232:63725,233:63726,234:63727,235:63728,236:63729,237:63730,238:63731,239:63732,241:9002,242:8747,243:8992,244:63733,245:8993,246:63734,247:63735,248:63736,249:63737,250:63738,251:63739,252:63740,253:63741,254:63742}))e[Number(t)]=String.fromCodePoint(n);return e})(),mf=(()=>{let e={};for(let[t,n]of Object.entries({32:32,33:9985,34:9986,35:9987,36:9988,37:9742,38:9990,39:9991,40:9992,41:9993,42:9755,43:9758,44:9996,45:9997,46:9998,47:9999,48:1e4,49:10001,50:10002,51:10003,52:10004,53:10005,54:10006,55:10007,56:10008,57:10009,58:10010,59:10011,60:10012,61:10013,62:10014,63:10015,64:10016,65:10017,66:10018,67:10019,68:10020,69:10021,70:10022,71:10023,72:9733,73:10025,74:10026,75:10027,76:10028,77:10029,78:10030,79:10031,80:10032,81:10033,82:10034,83:10035,84:10036,85:10037,86:10038,87:10039,88:10040,89:10041,90:10042,91:10043,92:10044,93:10045,94:10046,95:10047,96:10048,97:10049,98:10050,99:10051,100:10052,101:10053,102:10054,103:10055,104:10056,105:10057,106:10058,107:10059,108:9679,109:10061,110:9632,111:10063,112:10064,113:10065,114:10066,115:9650,116:9660,117:9670,118:10070,119:9687,120:10072,121:10073,122:10074,123:10075,124:10076,125:10077,126:10078,128:63703,129:63704,130:63705,131:63706,132:63707,133:63708,134:63709,135:63710,136:63711,137:63712,138:63713,139:63714,140:63715,141:63716,161:10081,162:10082,163:10083,164:10084,165:10085,166:10086,167:10087,168:9827,169:9830,170:9829,171:9824,172:9312,173:9313,174:9314,175:9315,176:9316,177:9317,178:9318,179:9319,180:9320,181:9321,182:10102,183:10103,184:10104,185:10105,186:10106,187:10107,188:10108,189:10109,190:10110,191:10111,192:10112,193:10113,194:10114,195:10115,196:10116,197:10117,198:10118,199:10119,200:10120,201:10121,202:10122,203:10123,204:10124,205:10125,206:10126,207:10127,208:10128,209:10129,210:10130,211:10131,212:10132,213:10133,214:10134,215:10135,216:10136,217:10137,218:10138,219:10139,220:10140,221:10141,222:10142,223:10143,224:10144,225:10145,226:10146,227:10147,228:10148,229:10149,230:10150,231:10151,232:10152,233:10153,234:10154,235:10155,236:10156,237:10157,238:10158,239:10159,241:10161,242:10162,243:10163,244:10164,245:10165,246:10166,247:10167,248:10168,249:10169,250:10170,251:10171,252:10172,253:10173,254:10174}))e[Number(t)]=String.fromCodePoint(n);return e})(),hf={space:32,exclam:33,quotedbl:34,numbersign:35,dollar:36,percent:37,ampersand:38,quotesingle:39,parenleft:40,parenright:41,asterisk:42,plus:43,comma:44,hyphen:45,period:46,slash:47,zero:48,one:49,two:50,three:51,four:52,five:53,six:54,seven:55,eight:56,nine:57,colon:58,semicolon:59,less:60,equal:61,greater:62,question:63,at:64,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,bracketleft:91,backslash:92,bracketright:93,asciicircum:94,underscore:95,grave:96,a:97,b:98,c:99,d:100,e:101,f:102,g:103,h:104,i:105,j:106,k:107,l:108,m:109,n:110,o:111,p:112,q:113,r:114,s:115,t:116,u:117,v:118,w:119,x:120,y:121,z:122,braceleft:123,bar:124,braceright:125,asciitilde:126,Agrave:192,Aacute:193,Acircumflex:194,Atilde:195,Adieresis:196,Aring:197,AE:198,Ccedilla:199,Egrave:200,Eacute:201,Ecircumflex:202,Edieresis:203,Igrave:204,Iacute:205,Icircumflex:206,Idieresis:207,Eth:208,Ntilde:209,Ograve:210,Oacute:211,Ocircumflex:212,Otilde:213,Odieresis:214,Oslash:216,Ugrave:217,Uacute:218,Ucircumflex:219,Udieresis:220,Yacute:221,Thorn:222,germandbls:223,agrave:224,aacute:225,acircumflex:226,atilde:227,adieresis:228,aring:229,ae:230,ccedilla:231,egrave:232,eacute:233,ecircumflex:234,edieresis:235,igrave:236,iacute:237,icircumflex:238,idieresis:239,eth:240,ntilde:241,ograve:242,oacute:243,ocircumflex:244,otilde:245,odieresis:246,oslash:248,ugrave:249,uacute:250,ucircumflex:251,udieresis:252,yacute:253,thorn:254,ydieresis:255,bullet:8226,endash:8211,emdash:8212,quotedblleft:8220,quotedblright:8221,quoteleft:8216,quoteright:8217,quotesinglbase:8218,quotedblbase:8222,dagger:8224,daggerdbl:8225,ellipsis:8230,perthousand:8240,guilsinglleft:8249,guilsinglright:8250,guillemotleft:171,guillemotright:187,fraction:8260,fi:64257,fl:64258,minus:8722,multiply:215,divide:247,degree:176,cent:162,sterling:163,yen:165,Euro:8364,copyright:169,registered:174,trademark:8482,section:167,paragraph:182,Lslash:321,lslash:322,OE:338,oe:339,Scaron:352,scaron:353,Zcaron:381,zcaron:382,Ydieresis:376,dotlessi:305,circumflex:710,tilde:732,macron:175,breve:728,dotaccent:729,ring:730,cedilla:184,hungarumlaut:733,ogonek:731,caron:711,florin:402,nbspace:160,sfthyphen:173,exclamdown:161,questiondown:191,currency:164,brokenbar:166,dieresis:168,ordfeminine:170,ordmasculine:186,logicalnot:172,acute:180,mu:181,periodcentered:183,onesuperior:185,twosuperior:178,threesuperior:179,onequarter:188,onehalf:189,threequarters:190,plusminus:177},gf=new TextEncoder;function _f(e){return e>=1536&&e<=1791||e>=1872&&e<=1919||e>=2208&&e<=2303||e>=64336&&e<=65023||e>=65136&&e<=65279||e>=1424&&e<=1535||e>=64285&&e<=64335||e>=1792&&e<=1871||e>=1920&&e<=1983||e>=1984&&e<=2047}function vf(e){if(e.length===0)return!1;let t=e.codePointAt(0);return t!==void 0&&_f(t)}function yf(e,t){let n=t.resolvePageResources(e),r=bf(n,t),i=xf(e,t);if(i.length===0)return[];let a=[],o=new Cf(r,t,n);for(let e of i)o.process(e,a);return a}function bf(e,t){let n=new Map,r=e.get(`Font`);if(!r)return n;let i=t.derefDict(r);if(!i)return n;for(let[e,r]of i){let i=t.derefDict(r);if(i)try{n.set(e,qd(i,t))}catch{}}return n}function xf(e,t){let n=e.get(`Contents`);if(!n)return[];if(ad(n)){let e=t.derefStreamWithObjNum(n);if(e)return[t.getStreamData(e.stream,e.objNum,e.gen)];let r=t.deref(n);return G(r)?Sf(r,t):[]}return G(n)?Sf(n,t):[]}function Sf(e,t){let n=[];for(let r of e){let e=t.derefStreamWithObjNum(r);e&&n.push(t.getStreamData(e.stream,e.objNum,e.gen))}return n}var Cf=class{constructor(e,t,n){this.stateStack=[],this.ctm=[1,0,0,1,0,0],this.textState={charSpacing:0,wordSpacing:0,horizontalScaling:100,leading:0,font:null,fontSize:0,renderMode:0,rise:0},this.textMatrix=[1,0,0,1,0,0],this.lineMatrix=[1,0,0,1,0,0],this.inTextObject=!1,this.formDepth=0,this.fonts=e,this.doc=t,this.resources=n}process(e,t){let n=new id(e),r=[];for(;;){let e=n.next();if(e.type===11)break;if(e.type===6){let i=e.strValue;i===`BI`?(this.skipInlineImage(n),r.length=0):(this.executeOperator(i,r,t),r.length=0)}else e.type===9?r.push(this.parseInlineArray(n)):r.push(Ef(e))}}skipInlineImage(e){for(;;){let t=e.next();if(t.type===11)return;if(t.type===6&&t.strValue===`ID`)break}let t=e.bytes,n=e.position;for(n<t.length&&n++;n+1<t.length;){if(t[n]===69&&t[n+1]===73&&n>0&&wf(t[n-1])&&(n+2>=t.length||wf(t[n+2])||Tf(t[n+2]))){e.position=n+2;return}n++}e.position=t.length}parseInlineArray(e){let t=[];for(;;){let n=e.next();if(n.type===10||n.type===11)break;t.push(Ef(n))}return t}executeOperator(e,t,n){switch(e){case`q`:this.saveState();break;case`Q`:this.restoreState();break;case`cm`:t.length>=6&&this.concatMatrix(Of(t,6));break;case`gs`:case`i`:case`M`:case`ri`:case`sh`:break;case`W`:case`W*`:break;case`CS`:case`cs`:case`SC`:case`sc`:case`SCN`:case`scn`:case`G`:case`g`:case`RG`:case`rg`:case`K`:case`k`:break;case`BDC`:case`BMC`:case`EMC`:case`MP`:case`DP`:break;case`d0`:case`d1`:break;case`m`:case`l`:case`c`:case`v`:case`y`:case`h`:case`re`:case`S`:case`s`:case`f`:case`F`:case`f*`:case`B`:case`B*`:case`b`:case`b*`:case`n`:case`j`:case`J`:case`d`:case`w`:break;case`Tc`:this.textState.charSpacing=Df(t,0);break;case`Tw`:this.textState.wordSpacing=Df(t,0);break;case`Tz`:this.textState.horizontalScaling=Df(t,0);break;case`TL`:this.textState.leading=Df(t,0);break;case`Tf`:this.setFont(t);break;case`Tr`:this.textState.renderMode=Df(t,0);break;case`Ts`:this.textState.rise=Df(t,0);break;case`BT`:this.beginText();break;case`ET`:this.inTextObject=!1;break;case`Td`:this.moveText(Df(t,0),Df(t,1));break;case`TD`:this.textState.leading=-Df(t,1),this.moveText(Df(t,0),Df(t,1));break;case`Tm`:t.length>=6&&this.setTextMatrix(Of(t,6));break;case`T*`:this.moveText(0,-this.textState.leading);break;case`Tj`:this.showText(t[0],n);break;case`TJ`:this.showTextArray(t[0],n);break;case`'`:this.moveText(0,-this.textState.leading),this.showText(t[0],n);break;case`"`:this.textState.wordSpacing=Df(t,0),this.textState.charSpacing=Df(t,1),this.moveText(0,-this.textState.leading),this.showText(t[2],n);break;case`Do`:this.doXObject(t,n)}}saveState(){this.stateStack.push({ctm:[...this.ctm],textState:{...this.textState}})}restoreState(){let e=this.stateStack.pop();e&&(this.ctm=e.ctm,this.textState=e.textState)}concatMatrix(e){this.ctm=kf(e,this.ctm)}setFont(e){if(e.length<2)return;let t=typeof e[0]==`string`?e[0]:String(e[0]),n=typeof e[1]==`number`?e[1]:0;this.textState.font=this.fonts.get(t)??null,this.textState.fontSize=n}beginText(){this.inTextObject=!0,this.textMatrix=[1,0,0,1,0,0],this.lineMatrix=[1,0,0,1,0,0]}moveText(e,t){let n=[1,0,0,1,e,t];this.lineMatrix=kf(n,this.lineMatrix),this.textMatrix=[...this.lineMatrix]}setTextMatrix(e){this.textMatrix=[...e],this.lineMatrix=[...e]}showText(e,t){if(e===void 0||!this.textState.font)return;let n;if(e instanceof Uint8Array)n=e;else if(typeof e==`string`)n=gf.encode(e);else return;let r=this.textState.font,i=Jd(n,r);if(i.length===0)return;let a=kf(this.textMatrix,this.ctm),o=a[4],s=a[5],c=this.textState.fontSize*Math.sqrt(a[0]*a[0]+a[1]*a[1]),l=this.calculateTextWidth(n,r),u=r.wmode===1,d=vf(i);t.push({text:i,x:o,y:s,fontSize:Math.abs(c),fontName:r.baseFontName,width:l,charSpacing:this.textState.charSpacing,wordSpacing:this.textState.wordSpacing,horizontalScaling:this.textState.horizontalScaling,isVertical:u,isRtl:d}),this.advanceTextPosition(n,r)}showTextArray(e,t){if(!(e===void 0||!Array.isArray(e)))for(let n of e)if(typeof n==`number`){let e=-n/1e3*this.textState.fontSize*(this.textState.horizontalScaling/100);this.textMatrix[4]+=e*this.textMatrix[0],this.textMatrix[5]+=e*this.textMatrix[1]}else this.showText(n,t)}calculateTextWidth(e,t){let n=0,r=this.textState.fontSize*(this.textState.horizontalScaling/100);if(t.subtype===`Type0`||t.bytesPerCode===2){let i=0;for(;i<e.length;){let a=0;t.toUnicode?.hasCodeSpaceRanges&&(a=t.toUnicode.getCodeLength(e[i]));let o;a===2&&i+1<e.length?(o=e[i]<<8|e[i+1],i+=2):a===1?(o=e[i],i++):i+1<e.length?(o=e[i]<<8|e[i+1],i+=2):(o=e[i],i++);let s=sf(o,t)/1e3;n+=s*r+this.textState.charSpacing,o===32&&(n+=this.textState.wordSpacing)}}else for(let i=0;i<e.length;i++){let a=sf(e[i],t)/1e3;n+=a*r+this.textState.charSpacing,e[i]===32&&(n+=this.textState.wordSpacing)}return n}advanceTextPosition(e,t){let n=this.calculateTextWidth(e,t);this.textMatrix[4]+=n*this.textMatrix[0],this.textMatrix[5]+=n*this.textMatrix[1]}doXObject(e,t){if(e.length<1||this.formDepth>=10)return;let n=typeof e[0]==`string`?e[0]:String(e[0]),r=this.resources.get(`XObject`);if(!r)return;let i=this.doc.derefDict(r);if(!i)return;let a=i.get(n);if(!a)return;let o=this.doc.derefStreamWithObjNum(a);if(!o)return;let s=o.stream,c=s.dict;if(cd(c,`Subtype`)!==`Form`)return;let l=c.get(`Resources`),u=bf(l?this.doc.derefDict(l)??this.resources:this.resources,this.doc),d=new Map(this.fonts);for(let[e,t]of u)d.set(e,t);let f=this.fonts;this.fonts=d;let p=dd(c,`Matrix`);p&&p.length===6&&(this.saveState(),this.concatMatrix(p));let m=this.doc.getStreamData(s,o.objNum,o.gen);this.formDepth++,this.process(m,t),this.formDepth--,p&&p.length===6&&this.restoreState(),this.fonts=f}};function wf(e){return e===0||e===9||e===10||e===13||e===12||e===32}function Tf(e){return e===40||e===41||e===60||e===62||e===91||e===93||e===123||e===125||e===47||e===37}function Ef(e){switch(e.type){case 0:return e.numValue??0;case 3:return e.strValue??``;case 1:case 2:return e.rawBytes??new Uint8Array;case 4:return e.boolValue??!1;case 5:return null;case 9:return[];default:return e.strValue??null}}function Df(e,t){let n=e[t];return typeof n==`number`?n:0}function Of(e,t){let n=[];for(let r=0;r<t;r++)n.push(Df(e,r));return n}function kf(e,t){return[e[0]*t[0]+e[1]*t[2],e[0]*t[1]+e[1]*t[3],e[2]*t[0]+e[3]*t[2],e[2]*t[1]+e[3]*t[3],e[4]*t[0]+e[5]*t[2]+t[4],e[4]*t[1]+e[5]*t[3]+t[5]]}function Af(e){try{let t=e.getCatalog().get(`AcroForm`);if(!t)return[];let n=e.derefDict(t);if(!n)return[];let r=n.get(`Fields`);if(!r)return[];let i=e.deref(r);if(!G(i))return[];let a=[],o=new Set;for(let t of i)Nf(t,e,``,a,o);return a}catch{return[]}}let jf=65536,Mf=32768;function Nf(e,t,n,r,i){if(ad(e)){if(i.has(e.objNum))return;i.add(e.objNum)}let a=t.derefDict(e);if(!a)return;let o=xd(a,`T`,t),s=n?o?`${n}.${o}`:n:o,c=a.get(`Kids`);if(c){let e=t.deref(c);if(G(e)){let n=!1;for(let r of e){let e=t.derefDict(r);if(e&&e.has(`T`)){n=!0;break}}if(n){for(let n of e)Nf(n,t,s,r,i);return}if(Pf(a,t)===`Btn`){let n=Ff(a,t);if(n&Mf&&!(n&jf)){let i=Lf(a,e,s,n,t);i&&r.push(i);return}}}}let l=Pf(a,t);if(!l)return;let u=If(a,s,l,t);u&&r.push(u)}function Pf(e,t,n=0){let r=cd(e,`FT`);if(r)return r;if(n>=20)return;let i=e.get(`Parent`);if(i){let e=t.derefDict(i);if(e)return Pf(e,t,n+1)}}function Ff(e,t,n=0){let r=ld(e,`Ff`);if(r!==void 0)return r;if(n>=20)return 0;let i=e.get(`Parent`);if(i){let e=t.derefDict(i);if(e)return Ff(e,t,n+1)}return 0}function If(e,t,n,r){let i=Ff(e,r),a=Vf(e,r),o=xd(e,`DV`,r),s=Rf(n,i),c=[],l=``;return n===`Ch`&&(c=zf(e,r)),n===`Btn`&&!(i&jf)&&!(i&Mf)&&(l=Bf(e,r)),{name:t||`(unnamed)`,type:s,value:a,defaultValue:o,readOnly:!!(i&1),required:!!(i&2),options:c,exportValue:l,flags:i}}function Lf(e,t,n,r,i){let a=Vf(e,i),o=xd(e,`DV`,i),s=[];for(let e of t){let t=i.derefDict(e);if(!t)continue;let n=i.derefDict(t.get(`AP`));if(!n)continue;let r=i.derefDict(n.get(`N`));if(r)for(let e of r.keys())e!==`Off`&&!s.includes(e)&&s.push(e)}return{name:n||`(unnamed)`,type:`radio`,value:a,defaultValue:o,readOnly:!!(r&1),required:!!(r&2),options:s,exportValue:``,flags:r}}function Rf(e,t){switch(e){case`Tx`:return`text`;case`Btn`:return t&jf?`button`:t&Mf?`radio`:`checkbox`;case`Ch`:return t&131072?`dropdown`:`listbox`;case`Sig`:return`signature`;default:return`unknown`}}function zf(e,t){let n=e.get(`Opt`);if(!n)return[];let r=t.deref(n);if(!G(r))return[];let i=[];for(let e of r){let n=t.deref(e);if(typeof n==`string`)i.push(n);else if(n instanceof Uint8Array)i.push(md(n));else if(G(n)&&n.length>=2){let e=t.deref(n[1]);typeof e==`string`?i.push(e):e instanceof Uint8Array&&i.push(md(e))}}return i}function Bf(e,t){let n=t.derefDict(e.get(`AP`));if(!n)return`Yes`;let r=t.derefDict(n.get(`N`));if(!r)return`Yes`;for(let e of r.keys())if(e!==`Off`)return e;return`Yes`}function Vf(e,t,n=0){let r=e.get(`V`);if(r!==void 0)return Hf(r,t);if(n>=20)return``;let i=e.get(`Parent`);if(i){let e=t.derefDict(i);if(e)return Vf(e,t,n+1)}return``}function Hf(e,t){let n=t.deref(e);return typeof n==`string`?n:n instanceof Uint8Array?md(n):typeof n==`number`?String(n):typeof n==`boolean`?n?`true`:`false`:``}function Uf(e,t){let n=[],r=t.resolvePageResources(e).get(`XObject`);if(!r)return n;let i=t.derefDict(r);if(!i)return n;let a=0;for(let[e,r]of i){let i=t.derefStreamWithObjNum(r);if(!i)continue;let o=i.stream.dict;if(cd(o,`Subtype`)!==`Image`)continue;let s=Wf(e,i.stream,o,t,a,i.objNum,i.gen);s&&(n.push(s),a++)}return n}function Wf(e,t,n,r,i,a=0,o=0){let s=ld(n,`Width`)??ld(n,`W`)??0,c=ld(n,`Height`)??ld(n,`H`)??0,l=ld(n,`BitsPerComponent`)??ld(n,`BPC`)??8;if(s===0||c===0)return null;let{colorSpace:u,components:d}=Gf(n,r),f=qf(n),p,m;f===`DCTDecode`||f===`DCT`?(p=r.getStreamData(t,a,o),m=`jpeg`):f===`JPXDecode`?(p=r.getStreamData(t,a,o),m=`jpx`):f===`CCITTFaxDecode`||f===`CCF`?(p=r.getStreamData(t,a,o),m=`ccitt`):f===`JBIG2Decode`?(p=r.getStreamData(t,a,o),m=`jbig2`):(p=r.getStreamData(t,a,o),m=`raw`);let h=null,g=n.get(`SMask`);if(g){let e=r.derefStreamWithObjNum(g);e&&(h=r.getStreamData(e.stream,e.objNum,e.gen))}return{index:i,width:s,height:c,bitsPerComponent:l,colorSpace:u,components:d,format:m,data:p,alphaMask:h,filter:f,name:e}}function Gf(e,t){let n=e.get(`ColorSpace`)??e.get(`CS`);if(typeof n==`string`)return Kf(n);if(G(n)&&n.length>0){let e=n[0];if(typeof e==`string`){if(e===`ICCBased`){if(n.length>1){let e=t.derefStream(n[1]);if(e)return{colorSpace:`ICCBased`,components:ld(e.dict,`N`)??3}}return{colorSpace:`ICCBased`,components:3}}return e===`Indexed`||e===`I`?{colorSpace:`Indexed`,components:1}:e===`Separation`?{colorSpace:`Separation`,components:1}:e===`DeviceN`?{colorSpace:`DeviceN`,components:G(n[1])?n[1].length:1}:Kf(e)}}if(ad(n)){let e=t.deref(n);if(typeof e==`string`)return Kf(e);if(G(e)&&e.length>0&&typeof e[0]==`string`)return Gf(new Map([[`ColorSpace`,e]]),t)}return{colorSpace:`DeviceRGB`,components:3}}function Kf(e){switch(e){case`DeviceGray`:case`G`:case`CalGray`:return{colorSpace:e,components:1};case`DeviceRGB`:case`RGB`:case`CalRGB`:return{colorSpace:e,components:3};case`DeviceCMYK`:case`CMYK`:return{colorSpace:e,components:4};default:return{colorSpace:e,components:3}}}function qf(e){let t=e.get(`Filter`)??e.get(`F`);if(typeof t==`string`)return t;if(G(t)&&t.length>0){let e=new Set([`DCTDecode`,`DCT`,`JPXDecode`,`CCITTFaxDecode`,`CCF`,`JBIG2Decode`]);for(let n=t.length-1;n>=0;n--){let r=t[n];if(typeof r==`string`&&e.has(r))return r}let n=t[0];if(typeof n==`string`)return n}return``}function Jf(e){let t={title:``,author:``,subject:``,keywords:``,creator:``,producer:``,creationDate:null,modDate:null,pdfVersion:Yf(e),pageCount:0,encrypted:e.trailer.has(`Encrypt`),pageSize:null,xmpXml:null,custom:{}};Xf(e,t),Zf(e,t);try{let n=e.getPages();t.pageCount=n.length,n.length>0&&(t.pageSize=ep(n[0],e))}catch{}return t}function Yf(e){let t=e.data;if(t[0]===37&&t[1]===80&&t[2]===68&&t[3]===70&&t[4]===45){let e=``;for(let n=5;n<Math.min(t.length,15);n++){let r=t[n];if(r===10||r===13||r===32)break;e+=String.fromCharCode(r)}return e}try{let t=e.getCatalog().get(`Version`);if(typeof t==`string`)return t}catch{}return`1.0`}function Xf(e,t){let n=fd(e.trailer,`Info`);if(!n)return;let r=e.derefDict(n);if(!r)return;let i=new Set([`Title`,`Author`,`Subject`,`Keywords`,`Creator`,`Producer`,`CreationDate`,`ModDate`]);for(let[e,n]of r){let r=n instanceof Uint8Array?md(n):String(n??``);switch(e){case`Title`:t.title=r;break;case`Author`:t.author=r;break;case`Subject`:t.subject=r;break;case`Keywords`:t.keywords=r;break;case`Creator`:t.creator=r;break;case`Producer`:t.producer=r;break;case`CreationDate`:t.creationDate=tp(r);break;case`ModDate`:t.modDate=tp(r);break;default:i.has(e)||(t.custom[e]=r)}}}function Zf(e,t){try{let n=e.getCatalog().get(`Metadata`);if(!n)return;let r=e.derefStreamWithObjNum(n);if(!r)return;let i=e.getStreamData(r.stream,r.objNum,r.gen),a=new TextDecoder(`utf-8`).decode(i);if(t.xmpXml=a,t.title||=Qf(a,`dc:title`)??``,t.author||=Qf(a,`dc:creator`)??``,t.subject||=Qf(a,`dc:description`)??``,t.keywords||=Qf(a,`pdf:Keywords`)??``,t.creator||=Qf(a,`xmp:CreatorTool`)??``,t.producer||=Qf(a,`pdf:Producer`)??``,!t.creationDate){let e=Qf(a,`xmp:CreateDate`);e&&(t.creationDate=new Date(e))}if(!t.modDate){let e=Qf(a,`xmp:ModifyDate`);e&&(t.modDate=new Date(e))}}catch{}}function Qf(e,t){let n=RegExp(`<${t}[^>]*>([^<]+)</${t}>`,`i`).exec(e);if(n)return $f(n[1].trim());let r=RegExp(`<${t}[^>]*>.*?<rdf:li[^>]*>([^<]+)</rdf:li>`,`is`).exec(e);return r?$f(r[1].trim()):null}function $f(e){return e.replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/&/g,`&`)}function ep(e,t){return t.resolvePageBox(e)}function tp(e){if(!e)return null;let t=e;t.startsWith(`D:`)&&(t=t.substring(2));let n=parseInt(t.substring(0,4),10);if(isNaN(n))return null;let r=parseInt(t.substring(4,6),10)||1,i=parseInt(t.substring(6,8),10)||1,a=parseInt(t.substring(8,10),10)||0,o=parseInt(t.substring(10,12),10)||0,s=parseInt(t.substring(12,14),10)||0,c=t.charAt(14),l=0;if(c===`+`||c===`-`){let e=parseInt(t.substring(15,17),10)||0,n=parseInt(t.substring(18,20),10)||0;l=(e*60+n)*(c===`-`?-1:1)}let u=new Date(Date.UTC(n,r-1,i,a,o,s));return l!==0&&c!==`Z`&&u.setUTCMinutes(u.getUTCMinutes()-l),isNaN(u.getTime())?null:u}Ft(),$t(),ce(),Mt();let np=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]),rp=new TextEncoder;function ip(e,t=``){let n=e.derefDict(e.trailer.get(`Encrypt`));if(!n)return!0;let r=cd(n,`Filter`);if(r!==`Standard`)throw new T(`Unsupported encryption filter: ${r}`);let i=ld(n,`V`)??0,a=ld(n,`R`)??0,o=(ld(n,`Length`)??40)/8,s=ld(n,`P`)??0,c=pd(n,`O`),l=pd(n,`U`);if(!c||!l)throw new T(`Missing /O or /U values in Encrypt dictionary`);let u=dd(e.trailer,`ID`),d=u&&u.length>0&&u[0]instanceof Uint8Array?u[0]:new Uint8Array,f=vp(n);if(i===5)return op(e,n,t,a,c,l,s,d);let p=i===4&&yp(n),m=dp(t,c,s,d,a,o,l,f);if(m||=dp(pp(t,c,a,o),c,s,d,a,o,l,f),m||t!==``&&(m=dp(``,c,s,d,a,o,l,f)),!m)return!1;let h=m;return e.decryptFn=p?(e,t,n)=>hp(e,t,n,h):(e,t,n)=>mp(e,t,n,h),!0}function ap(e){return e.trailer.has(`Encrypt`)}function op(e,t,n,r,i,a,o,s){if(r===6)throw new T(`R=6 (PDF 2.0 extension) requires SHA-384/SHA-512 which is not yet supported`);if(r!==5)throw new T(`Unsupported revision ${r} for V=5 encryption`);let c=pd(t,`OE`),l=pd(t,`UE`);if(!c||!l)throw new T(`Missing /OE or /UE values in V=5 Encrypt dictionary`);if(i.length<48||a.length<48)throw new T(`Invalid /O or /U length for V=5 encryption`);let u=sp(n),d=cp(u,a,l);if(d||=lp(u,i,c,a),!d&&n!==``){let e=new Uint8Array;d=cp(e,a,l),d||=lp(e,i,c,a)}if(!d)return!1;let f=d;return e.decryptFn=(e,t,n)=>up(e,f),!0}function sp(e){let t=rp.encode(e);return t.length>127?t.subarray(0,127):t}function cp(e,t,n){let r=t.subarray(0,32),i=t.subarray(32,40),a=t.subarray(40,48);if(!_p(Pt(se([e,i])),r))return null;let o=Pt(se([e,a])),s=new Uint8Array(16);return pt(n.subarray(0,32),o,s)}function lp(e,t,n,r){let i=t.subarray(0,32),a=t.subarray(32,40),o=t.subarray(40,48),s=r.subarray(0,48);if(!_p(Pt(se([e,a,s])),i))return null;let c=Pt(se([e,o,s])),l=new Uint8Array(16);return pt(n.subarray(0,32),c,l)}function up(e,t){if(e.length<16)return e;let n=e.subarray(0,16),r=e.subarray(16);return r.length===0||r.length%16!=0?e:ft(r,t,n)}function dp(e,t,n,r,i,a,o,s){let c=fp(e,t,n,r,i,a,s);if(i===2){if(_p(bt(c,np),o.subarray(0,32)))return c}else if(i>=3){let e=new Uint8Array(32+r.length);e.set(np),e.set(r,32);let t=bt(c,Nt(e));for(let e=1;e<=19;e++){let n=new Uint8Array(c.length);for(let t=0;t<c.length;t++)n[t]=c[t]^e;t=bt(n,t)}if(_p(t.subarray(0,16),o.subarray(0,16)))return c}return null}function fp(e,t,n,r,i,a,o){let s=gp(e),c=i>=4&&!o?4:0,l=new Uint8Array(68+r.length+c),u=0;l.set(s,u),u+=32,l.set(t.subarray(0,32),u),u+=32,l[u]=n&255,l[u+1]=n>>8&255,l[u+2]=n>>16&255,l[u+3]=n>>24&255,u+=4,l.set(r,u),u+=r.length,i>=4&&!o&&(l[u]=255,l[u+1]=255,l[u+2]=255,l[u+3]=255,u+=4);let d=Nt(l.subarray(0,u));if(i>=3)for(let e=0;e<50;e++)d=Nt(d.subarray(0,a));return d.subarray(0,a)}function pp(e,t,n,r){let i=Nt(gp(e));if(n>=3)for(let e=0;e<50;e++)i=Nt(i.subarray(0,r));let a=i.subarray(0,r),o=new Uint8Array(t.subarray(0,32));if(n===2)o=bt(a,o);else if(n>=3)for(let e=19;e>=0;e--){let t=new Uint8Array(a.length);for(let n=0;n<a.length;n++)t[n]=a[n]^e;o=bt(t,o)}let s=``;for(let e=0;e<32&&!(o[e]===np[0]&&_p(o.subarray(e,e+Math.min(32-e,32)),np.subarray(0,Math.min(32-e,32))));e++)s+=String.fromCharCode(o[e]);return s}function mp(e,t,n,r){let i=new Uint8Array(r.length+5);i.set(r),i[r.length]=t&255,i[r.length+1]=t>>8&255,i[r.length+2]=t>>16&255,i[r.length+3]=n&255,i[r.length+4]=n>>8&255;let a=Nt(i),o=Math.min(r.length+5,16);return bt(a.subarray(0,o),e)}function hp(e,t,n,r){if(e.length<16)return e;let i=new Uint8Array(r.length+5+4);i.set(r),i[r.length]=t&255,i[r.length+1]=t>>8&255,i[r.length+2]=t>>16&255,i[r.length+3]=n&255,i[r.length+4]=n>>8&255,i[r.length+5]=115,i[r.length+6]=65,i[r.length+7]=108,i[r.length+8]=84;let a=Nt(i),o=Math.min(r.length+5,16),s=a.subarray(0,o),c=e.subarray(0,16),l=e.subarray(16);return l.length===0||l.length%16!=0?e:ft(l,s,c)}function gp(e){let t=new Uint8Array(32),n=rp.encode(e),r=Math.min(n.length,32);return t.set(n.subarray(0,r)),t.set(np.subarray(0,32-r),r),t}function _p(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function vp(e){let t=ud(e,`EncryptMetadata`);if(t!==void 0)return t;let n=e.get(`CF`);if(n&&n instanceof Map){let e=n.get(`StdCF`);if(e&&e instanceof Map){let t=e.get(`EncryptMetadata`);if(typeof t==`boolean`)return t}}return!0}function yp(e){let t=e.get(`CF`);if(!t||!(t instanceof Map))return!1;let n=t.get(`StdCF`);return!n||!(n instanceof Map)?!1:n.get(`CFM`)===`AESV2`}Ue(),Ie();function bp(e,t){let n=t.get(`Filter`);if(n==null)return e;let r=t.get(`DecodeParms`)??t.get(`DP`);if(typeof n==`string`)return xp(e,n,sd(r)?r:void 0);if(G(n)){let t=e,i=G(r)?r:[];for(let e=0;e<n.length;e++){let r=n[e],a=i[e],o=sd(a)?a:void 0;t=xp(t,r,o)}return t}return e}function xp(e,t,n){switch(t){case`FlateDecode`:case`Fl`:return Sp(e,n);case`ASCII85Decode`:case`A85`:return Dp(e);case`ASCIIHexDecode`:case`AHx`:return Op(e);case`LZWDecode`:case`LZW`:return kp(e,n);case`RunLengthDecode`:case`RL`:return Ap(e);case`DCTDecode`:case`DCT`:return e;case`JPXDecode`:return e;case`CCITTFaxDecode`:case`CCF`:return e;case`JBIG2Decode`:return e;case`Crypt`:return e;default:return e}}function Sp(e,t){if(e.length===0)return e;let n;try{n=He(e)}catch{try{n=ue(e)}catch{return e}}return t&&(ld(t,`Predictor`)??1)>1&&(n=Cp(n,t)),n}function Cp(e,t){let n=ld(t,`Predictor`)??1,r=ld(t,`Columns`)??1,i=ld(t,`Colors`)??1,a=ld(t,`BitsPerComponent`)??8;return n===1?e:n===2?wp(e,r,i,a):n>=10&&n<=15?Tp(e,r,i,a):e}function wp(e,t,n,r){let i=Math.ceil(n*r/8),a=Math.ceil(t*n*r/8),o=Math.floor(e.length/a),s=new Uint8Array(e.length);for(let t=0;t<o;t++){let n=t*a;for(let t=0;t<i;t++)s[n+t]=e[n+t];for(let t=i;t<a;t++)s[n+t]=e[n+t]+s[n+t-i]&255}return s}function Tp(e,t,n,r){let i=Math.max(1,Math.ceil(n*r/8)),a=Math.ceil(t*n*r/8),o=a+1,s=Math.floor(e.length/o),c=new Uint8Array(s*a);for(let t=0;t<s;t++){let n=t*o,r=t*a,s=e[n];for(let o=0;o<a;o++){let l=e[n+1+o],u=o>=i?c[r+o-i]:0,d=t>0?c[r-a+o]:0,f=t>0&&o>=i?c[r-a+o-i]:0;switch(s){case 0:c[r+o]=l;break;case 1:c[r+o]=l+u&255;break;case 2:c[r+o]=l+d&255;break;case 3:c[r+o]=l+(u+d>>1)&255;break;case 4:c[r+o]=l+Ep(u,d,f)&255;break;default:c[r+o]=l}}}return c}function Ep(e,t,n){let r=e+t-n,i=Math.abs(r-e),a=Math.abs(r-t),o=Math.abs(r-n);return i<=a&&i<=o?e:a<=o?t:n}function Dp(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if(r===32||r===9||r===10||r===13||r===12){n++;continue}if(r===126)break;if(r===122){t.push(0,0,0,0),n++;continue}let i=[];for(;i.length<5&&n<e.length;){let t=e[n];if(t===126)break;if(t===32||t===9||t===10||t===13||t===12){n++;continue}if(t<33||t>117){n++;continue}i.push(t-33),n++}if(i.length===0)break;let a=i.length-1;for(;i.length<5;)i.push(84);let o=i[0]*85*85*85*85+i[1]*85*85*85+i[2]*85*85+i[3]*85+i[4],s=[o>>>24&255,o>>>16&255,o>>>8&255,o&255];for(let e=0;e<a;e++)t.push(s[e])}return new Uint8Array(t)}function Op(e){let t=[],n=-1;for(let r=0;r<e.length;r++){let i=e[r];if(i===62)break;if(i===32||i===9||i===10||i===13||i===12)continue;let a;if(i>=48&&i<=57)a=i-48;else if(i>=65&&i<=70)a=i-65+10;else if(i>=97&&i<=102)a=i-97+10;else continue;n<0?n=a:(t.push(n<<4|a),n=-1)}return n>=0&&t.push(n<<4),new Uint8Array(t)}function kp(e,t){let n=t?ld(t,`EarlyChange`)??1:1,r=[],i=0;function a(t){let n=0;for(let r=0;r<t;r++){let t=i+r>>3,a=7-(i+r&7);t<e.length&&(n=n<<1|e[t]>>a&1)}return i+=t,n}let o=9,s=258,c=[];function l(){c=[];for(let e=0;e<256;e++)c[e]=new Uint8Array([e]);c[256]=new Uint8Array,c[257]=new Uint8Array,s=258,o=9}l();let u=null;for(;i<e.length*8;){let e=a(o);if(e===257)break;if(e===256){l(),u=null;continue}let t;if(e<s&&c[e])t=c[e];else if(e===s&&u)t=new Uint8Array(u.length+1),t.set(u),t[u.length]=u[0];else break;for(let e=0;e<t.length;e++)r.push(t[e]);if(u!==null){let e=new Uint8Array(u.length+1);e.set(u),e[u.length]=t[0],c[s]=e,s++,(n?s:s+1)>=1<<o&&o<12&&o++}u=t}let d=new Uint8Array(r);return t&&(ld(t,`Predictor`)??1)>1&&(d=Cp(d,t)),d}function Ap(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if(n++,r===128)break;if(r<128){let i=r+1;for(let r=0;r<i&&n<e.length;r++)t.push(e[n]),n++}else{let i=257-r;if(n<e.length){let r=e[n];n++;for(let e=0;e<i;e++)t.push(r)}}}return new Uint8Array(t)}$t();let jp=new TextEncoder;var Mp=class{constructor(e){this.xref=new Map,this.cache=new Map,this.objStmCache=new Map,this.decryptFn=null,this.tokenizer=new id(e),this.trailer=this.parseFileStructure()}get data(){return this.tokenizer.bytes}parseFileStructure(){try{let e=this.findStartxref();return this.parseXrefChain(e)}catch{return this.reconstructXref()}}findStartxref(){let e=this.tokenizer.bytes,t=jp.encode(`startxref`),n=this.tokenizer.findSequenceBackward(t);if(n<0)throw new T(`Could not find startxref keyword`);this.tokenizer.pos=n+t.length,this.tokenizer.skipWhitespaceAndComments();let r=``;for(;this.tokenizer.pos<e.length;){let t=e[this.tokenizer.pos];if(t>=48&&t<=57)r+=String.fromCharCode(t),this.tokenizer.pos++;else break}let i=parseInt(r,10);if(isNaN(i))throw new T(`Invalid startxref offset`);return i}parseXrefChain(e){let t=null,n=e,r=new Set;for(;n!==null&&!r.has(n);){r.add(n),this.tokenizer.pos=n,this.tokenizer.skipWhitespaceAndComments();let e=this.tokenizer.pos,i=this.tokenizer.next();if(i.type===6&&i.strValue===`xref`){let e=this.parseTraditionalXref();t?this.mergeTrailer(t,e):t=e,n=ld(e,`Prev`)??null}else if(i.type===0){this.tokenizer.pos=e;let r=this.parseXrefStream(n);t?this.mergeTrailer(t,r):t=r,n=ld(r,`Prev`)??null}else throw new T(`Invalid xref at offset ${n}: expected 'xref' keyword or xref stream`)}if(!t)throw new T(`No trailer found`);return t}parseTraditionalXref(){for(;;){this.tokenizer.skipWhitespaceAndComments();let e=this.tokenizer.pos,t=this.tokenizer.next();if(t.type===6&&t.strValue===`trailer`)break;if(t.type!==0){this.tokenizer.pos=e;break}let n=t.numValue,r=this.tokenizer.next();if(r.type!==0)throw new T(`Invalid xref subsection header`);let i=r.numValue;for(let e=0;e<i;e++){let t=n+e;this.tokenizer.skipWhitespaceAndComments();let r=this.tokenizer.readLine().trim().split(/\s+/);if(r.length<3)continue;let i=parseInt(r[0],10),a=parseInt(r[1],10);r[2]===`n`&&!this.xref.has(t)&&this.xref.set(t,{offset:i,gen:a,type:1})}}this.tokenizer.skipWhitespaceAndComments();let e=_d(this.tokenizer);if(!sd(e))throw new T(`Expected dictionary after 'trailer' keyword`);return e}parseXrefStream(e){this.tokenizer.pos=e;let t=_d(this.tokenizer);if(!od(t))throw new T(`Expected xref stream object`);let n=t.dict,r=cd(n,`Type`);if(r!==`XRef`)throw new T(`Expected /Type /XRef, got /Type /${r}`);let i=bp(t.data,n),a=dd(n,`W`);if(!a||a.length<3)throw new T(`Invalid /W array in xref stream`);let o=a[0],s=a[1],c=a[2],l=o+s+c,u=ld(n,`Size`)??0,d=dd(n,`Index`);d||=[0,u];let f=0;for(let e=0;e<d.length;e+=2){let t=d[e],n=d[e+1];for(let e=0;e<n&&!(f+l>i.length);e++){let n=t+e,r=o>0?Np(i,f,o):1,a=Np(i,f+o,s),u=c>0?Np(i,f+o+s,c):0;f+=l,!this.xref.has(n)&&(r===0||(r===1?this.xref.set(n,{offset:a,gen:u,type:1}):r===2&&this.xref.set(n,{offset:a,gen:u,type:2})))}}return n}reconstructXref(){let e=this.tokenizer.bytes;this.xref.clear();let t=jp.encode(`obj`),n=0;for(;n<e.length-5;){if(e[n]<48||e[n]>57){n++;continue}if(n>0&&e[n-1]!==10&&e[n-1]!==13&&e[n-1]!==32){n++;continue}let r=n,i=``;for(;n<e.length&&e[n]>=48&&e[n]<=57;)i+=String.fromCharCode(e[n]),n++;if(i.length===0||n>=e.length||e[n]!==32){n=r+1;continue}n++;let a=``;for(;n<e.length&&e[n]>=48&&e[n]<=57;)a+=String.fromCharCode(e[n]),n++;if(a.length===0||n>=e.length||e[n]!==32){n=r+1;continue}if(n++,n+t.length<=e.length&&e[n]===t[0]&&e[n+1]===t[1]&&e[n+2]===t[2]){let t=n+3;if(t>=e.length||e[t]===32||e[t]===10||e[t]===13||e[t]===9||e[t]===60){let e=parseInt(i,10),t=parseInt(a,10);this.xref.has(e)||this.xref.set(e,{offset:r,gen:t,type:1})}}n=r+1}if(this.xref.size===0)throw new T(`Could not reconstruct xref: no objects found`);let r=jp.encode(`trailer`),i=this.tokenizer.findSequenceBackward(r);if(i>=0){this.tokenizer.pos=i+r.length,this.tokenizer.skipWhitespaceAndComments();try{let e=_d(this.tokenizer);if(sd(e))return e}catch{}}let a=new Map;a.set(`Size`,this.xref.size);for(let[e,t]of this.xref)if(t.type===1)try{this.tokenizer.pos=t.offset;let n=_d(this.tokenizer);if(sd(n)){if(cd(n,`Type`)===`Catalog`){a.set(`Root`,{type:`ref`,objNum:e,gen:t.gen});break}}else if(od(n)&&cd(n.dict,`Type`)===`Catalog`){a.set(`Root`,{type:`ref`,objNum:e,gen:t.gen});break}}catch{}return a}mergeTrailer(e,t){for(let[n,r]of t)e.has(n)||e.set(n,r)}resolve(e,t=0){let n=`${e}:${t}`;if(this.cache.has(n))return this.cache.get(n);let r=this.xref.get(e);if(!r)return null;let i=null;return r.type===1?i=this.parseObjectAt(r.offset,e,r.gen):r.type===2&&(i=this.parseCompressedObject(r.offset,r.gen)),i!==null&&this.decryptFn&&(i=this.decryptObjectStrings(i,e,r.gen)),i!==null&&this.cache.set(n,i),i}resolveWithObjNum(e,t=0){return{obj:this.resolve(e,t),objNum:e,gen:t}}deref(e){return e==null?null:ad(e)?this.resolve(e.objNum,e.gen):e}derefDict(e){let t=this.deref(e);return t===null?null:sd(t)?t:od(t)?t.dict:null}derefStream(e){let t=this.deref(e);return t===null?null:od(t)?t:null}derefStreamWithObjNum(e){if(e==null)return null;let t=0,n=0;ad(e)&&(t=e.objNum,n=e.gen);let r=this.deref(e);return r===null?null:od(r)?{stream:r,objNum:t,gen:n}:null}getStreamData(e,t=0,n=0){let r=e.data;return this.decryptFn&&(r=this.decryptFn(r,t,n)),bp(r,e.dict)}decryptString(e,t,n){return this.decryptFn?this.decryptFn(e,t,n):e}decodeString(e,t=0,n=0){return md(this.decryptString(e,t,n))}decryptObjectStrings(e,t,n){if(typeof e!=`object`||!e)return e;if(e instanceof Uint8Array)return this.decryptFn(e,t,n);if(sd(e)){let r=new Map;for(let[i,a]of e)r.set(i,this.decryptObjectStrings(a,t,n));return r}return G(e)?e.map(e=>this.decryptObjectStrings(e,t,n)):od(e)?{type:`stream`,dict:this.decryptObjectStrings(e.dict,t,n),data:e.data}:e}getCatalog(){let e=fd(this.trailer,`Root`);if(!e)throw new T(`No /Root in trailer`);let t=this.derefDict(e);if(!t)throw new T(`Could not resolve catalog`);return t}getPages(){return this.getPagesWithObjInfo().map(e=>e.dict)}getPagesWithObjInfo(){let e=this.getCatalog().get(`Pages`),t=this.derefDict(e);if(!t)throw new T(`Could not resolve /Pages`);let n=[],r=new Set;return this.collectPages(t,n,r),n}collectPages(e,t,n){if(n.has(e))return;if(n.add(e),cd(e,`Type`)===`Page`){t.push({dict:e,objNum:0,gen:0});return}let r=dd(e,`Kids`);if(r)for(let e of r){let r=0,i=0;ad(e)&&(r=e.objNum,i=e.gen);let a=this.derefDict(e);a&&(cd(a,`Type`)===`Page`?t.push({dict:a,objNum:r,gen:i}):this.collectPages(a,t,n))}}getObjNumForRef(e){return e.objNum}parseObjectAt(e,t,n){this.tokenizer.pos=e;try{return _d(this.tokenizer)}catch{return null}}parseCompressedObject(e,t){let n;if(this.objStmCache.has(e)?n=this.objStmCache.get(e):(n=this.parseObjectStream(e)??void 0,n&&this.objStmCache.set(e,n)),!n)return null;let r=0;for(let[,e]of n){if(r===t)return e;r++}return null}parseObjectStream(e){let t=this.xref.get(e);if(!t||t.type!==1)return null;this.tokenizer.pos=t.offset;let n=_d(this.tokenizer);if(!od(n))return null;let r=n.dict,i=ld(r,`N`)??0,a=ld(r,`First`)??0,o=this.getStreamData(n,e,t.gen),s=new id(o),c=[];for(let e=0;e<i;e++){let e=s.next(),t=s.next();e.type===0&&t.type===0&&c.push([e.numValue,t.numValue])}let l=new Map;for(let[e,t]of c){let n=new id(o,a+t);try{let t=_d(n);l.set(e,t)}catch{}}return l}resolvePageBox(e,t){let n=t??new Set;if(n.has(e))return null;n.add(e);for(let t of[`MediaBox`,`CropBox`]){let n=e.get(t);if(!n)continue;let r=this.deref(n);if(Array.isArray(r)&&r.length===4){let e=Math.abs(r[2]-r[0]),t=Math.abs(r[3]-r[1]);if(e>0&&t>0)return{width:e,height:t}}}let r=e.get(`Parent`);if(r){let e=this.derefDict(r);if(e)return this.resolvePageBox(e,n)}return null}resolvePageResources(e,t){let n=t??new Set;if(n.has(e))return new Map;n.add(e);let r=e.get(`Resources`);if(r){let e=this.derefDict(r);if(e)return e}let i=e.get(`Parent`);if(i){let e=this.derefDict(i);if(e)return this.resolvePageResources(e,n)}return new Map}};function Np(e,t,n){let r=0;for(let i=0;i<n;i++)r=r*256+(e[t+i]??0);return r}function Pp(e,t,n){if(e.length===0)return[];let r=e.filter(e=>!e.isVertical&&e.text.trim().length>0);if(r.length<4)return[];let i=Fp(r);if(i.length<2)return[];let a=Ip(i,t);if(a.length<2)return[];let o=Lp(i,a),s=[];for(let e of o){let t=zp(i,a,e.start,e.end,n);t&&s.push(t)}return s}function Fp(e){let t=[...e].sort((e,t)=>{let n=t.y-e.y;return Math.abs(n)>1?n:e.x-t.x}),n=[],r=[t[0]],i=t[0].y;for(let e=1;e<t.length;e++){let a=t[e],o=(r[0].fontSize+a.fontSize)/2,s=Math.max(o*.4,2);Math.abs(a.y-i)<=s?r.push(a):(r.sort((e,t)=>e.x-t.x),n.push({y:i,fragments:r,fontSize:r[0].fontSize}),r=[a],i=a.y)}return r.length>0&&(r.sort((e,t)=>e.x-t.x),n.push({y:i,fragments:r,fontSize:r[0].fontSize})),n}function Ip(e,t){let n=e.map(e=>e.fragments.length),r=new Map;for(let e of n)e>=2&&r.set(e,(r.get(e)??0)+1);if(r.size===0)return[];let i=0,a=0;for(let[e,t]of r)(t>a||t===a&&e>i)&&(i=e,a=t);if(i<2||a<2)return[];let o=e.filter(e=>e.fragments.length===i),s=Array.from({length:i-1},()=>-1/0),c=Array.from({length:i-1},()=>1/0);for(let e of o){let t=e.fragments;for(let e=0;e+1<t.length;e++){let n=t[e].x+t[e].width,r=t[e+1].x;s[e]=Math.max(s[e],n),c[e]=Math.min(c[e],r)}}let l=[];for(let e=0;e<i-1;e++){let t=s[e],n=c[e];n>t?l.push((t+n)/2):l.push(n)}if(l.length<1)return[];let u=1/0,d=-1/0;for(let t of e)for(let e of t.fragments)u=Math.min(u,e.x),d=Math.max(d,e.x+e.width);let f=[],p=u;for(let e of l)f.push({left:p,right:e}),p=e;return f.push({left:p,right:d}),f.length>=2?f:[]}function Lp(e,t){let n=[];for(let r of e){let e=new Set;for(let n of r.fragments){let r=Rp(n.x,t);r>=0&&e.add(r)}n.push(e.size)}let r=[],i=-1;for(let e=0;e<n.length;e++){let t=n[e]>=2;t&&i===-1?i=e:!t&&i!==-1&&(e-i>=2&&r.push({start:i,end:e-1}),i=-1)}return i!==-1&&e.length-i>=2&&r.push({start:i,end:e.length-1}),r}function Rp(e,t){for(let n=t.length-1;n>=0;n--)if(e>=t[n].left-1)return n;return-1}function zp(e,t,n,r,i){let a=[];for(let i=n;i<=r;i++){let o=e[i],s=Bp(o,t,e,i,n,r);a.push(s)}if(a.length===0)return null;let o=e.slice(n,r+1),s=o[0].y,c=o[o.length-1].y,l=o[o.length-1].fontSize,u=[],d=[];for(let e of o)for(let t of e.fragments)u.push(t.x),d.push(t.x+t.width);let f=u.length>0?Math.min(...u):0;return{rows:a,x:f,y:s,width:(d.length>0?Math.max(...d):0)-f,height:s-c+l}}function Bp(e,t,n,r,i,a){let o=new Map;for(let n of e.fragments){let e=Rp(n.x,t);if(e>=0){let t=o.get(e)??[];t.push(n),o.set(e,t)}}let s=[];for(let n=0;n<t.length;n++){let r=t[n],i=o.get(n);if(i&&i.length>0){let t=i.map(e=>e.text).join(` `),n=i[0].x,r=e.y,a=i[i.length-1],o=a.x+a.width-n,c=e.fontSize;s.push({text:t.trim(),x:n,y:r,width:o,height:c})}else s.push({text:``,x:r.left,y:e.y,width:r.right-r.left,height:e.fontSize})}return{cells:s}}function Vp(e){if(e.length===0)return``;let t=e.filter(e=>e.isVertical),n=e.filter(e=>!e.isVertical),r=[];return n.length>0&&r.push(Up(n)),t.length>0&&r.push(Jp(t)),r.join(`
|
|
50
51
|
|
|
51
|
-
`)}function
|
|
52
|
+
`)}function Hp(e){if(e.length===0)return[];let t=e.filter(e=>e.isVertical),n=e.filter(e=>!e.isVertical),r=[];if(n.length>0){let e=Wp(n);for(let t of e){let e=Kp(Gp(t));for(let t of e)r.push({text:Qp(t),y:t[0].y,x:t[0].x,fontSize:t[0].fontSize})}}if(t.length>0){let e=Yp(t);for(let t of e)r.push({text:Xp(t),y:t[0].y,x:t[0].x,fontSize:t[0].fontSize})}return r}function Up(e){let t=Wp(e);if(t.length<=1)return Zp(Kp(Gp(e)));let n=[];for(let e of t){let t=Zp(Kp(Gp(e)));t.length>0&&n.push(t)}return n.join(`
|
|
52
53
|
|
|
53
|
-
`)}function
|
|
54
|
-
`)}function
|
|
55
|
-
`)}function
|
|
54
|
+
`)}function Wp(e){if(e.length<4)return[e];let t=[];for(let n of e)t.push(n.x+n.width/2);let n=[...t].sort((e,t)=>e-t),r=e.map(e=>e.fontSize).sort((e,t)=>e-t),i=r[Math.floor(r.length/2)],a=i*4,o=[];for(let e=1;e<n.length;e++){let t=n[e]-n[e-1];t>a&&o.push({start:n[e-1],end:n[e],size:t})}if(o.length===0)return[e];let s=[o[0]];for(let e=1;e<o.length;e++){let t=s[s.length-1];o[e].start-t.end<a?t.end=o[e].end:s.push({start:o[e].start,end:o[e].end})}let c=Math.max(...s.map(e=>e.end-e.start)),l=s.filter(e=>e.end-e.start>=c*.5);if(l.length===0)return[e];let u=i*.3,d=[],f=[];for(let t of e){let e=t.x+t.width/2,n=!1;for(let r=0;r<f.length;r++)if(Math.abs(t.y-f[r])<=u){d[r].push(e),n=!0;break}n||(f.push(t.y),d.push([e]))}for(let t of l){let n=(t.start+t.end)/2,r=0,i=0;for(let e of d){if(e.length<2)continue;i++;let t=e.some(e=>e<n),a=e.some(e=>e>n);t&&a&&r++}if(i>0&&r/i>.5)return[e]}let p=l.map(e=>(e.start+e.end)/2).sort((e,t)=>e-t),m=p.length+1,h=Array.from({length:m},()=>[]);for(let t of e){let e=t.x+t.width/2,n=0;for(let t=0;t<p.length;t++)e>p[t]&&(n=t+1);h[n].push(t)}return h.filter(e=>e.length>0)}function Gp(e){return[...e].sort((e,t)=>{let n=t.y-e.y;return Math.abs(n)>1?n:e.x-t.x})}function Kp(e){if(e.length===0)return[];let t=[],n=[e[0]];for(let r=1;r<e.length;r++){let i=e[r],a=n[0],o=(a.fontSize+i.fontSize)/2,s=Math.max(o*.4,2);Math.abs(i.y-a.y)<=s?n.push(i):(t.push(n),n=[i])}n.length>0&&t.push(n);for(let e of t)qp(e);return t}function qp(e){e.filter(e=>e.isRtl).length>e.length/2?e.sort((e,t)=>t.x-e.x):e.sort((e,t)=>e.x-t.x)}function Jp(e){let t=Yp(e),n=[];for(let e of t)n.push(Xp(e));return n.join(`
|
|
55
|
+
`)}function Yp(e){if(e.length===0)return[];let t=[...e].sort((e,t)=>{let n=t.x-e.x;return Math.abs(n)>1?n:t.y-e.y}),n=[],r=[t[0]];for(let e=1;e<t.length;e++){let i=t[e],a=r[0],o=(a.fontSize+i.fontSize)/2,s=Math.max(o*.6,2);Math.abs(i.x-a.x)<=s?r.push(i):(n.push(r),r=[i])}r.length>0&&n.push(r);for(let e of n)e.sort((e,t)=>t.y-e.y);return n}function Xp(e){return e.map(e=>e.text).join(``)}function Zp(e){let t=[];for(let n=0;n<e.length;n++)if(t.push(Qp(e[n])),n+1<e.length){let r=e[n],i=e[n+1];r[0].y-i[0].y>(r[0].fontSize+i[0].fontSize)/2*1.8&&t.push(``)}return t.join(`
|
|
56
|
+
`)}function Qp(e){if(e.length===0)return``;let t=e[0].text;for(let n=1;n<e.length;n++){let r=e[n-1],i=e[n],a=r.x+r.width,o=i.x-a,s=i.x-r.x,c=(r.fontSize+i.fontSize)/2,l=c*.15,u=c*2,d=c*.5,f=s-r.text.length*d;if(o>u||f>u)t+=` `;else if(o>l||f>l)t+=` `;else if(o<-l&&s>0){s>c*.5&&(t+=` `),t+=i.text;continue}else if(o<-l&&!t.endsWith(i.text.charAt(0))){t+=i.text;continue}t+=i.text}return t}$t(),Ol();async function $p(e,t){let{doc:n,opts:r,metadata:i,pagesInfo:a,pageIndicesToProcess:o}=em(e,t),s=[];for(let e=0;e<o.length;e++){let t=o[e];s.push(tm(a[t].dict,t,n,r)),e<o.length-1&&await Dl()}return nm(s,a.length,i,r,n)}function em(e,t){let n={password:t?.password??``,pages:t?.pages,extractText:t?.extractText??!0,extractImages:t?.extractImages??!0,extractMetadata:t?.extractMetadata??!0,extractAnnotations:t?.extractAnnotations??!0,extractFormFields:t?.extractFormFields??!0,extractBookmarks:t?.extractBookmarks??!0,extractTables:t?.extractTables??!1},r=new Mp(e);if(ap(r)&&!ip(r,n.password))throw new T(`Failed to decrypt PDF: incorrect password`);let i=n.extractMetadata?Jf(r):im(),a=r.getPagesWithObjInfo();return{doc:r,opts:n,metadata:i,pagesInfo:a,pageIndicesToProcess:n.pages?n.pages.map(e=>e-1).filter(e=>e>=0&&e<a.length):Array.from({length:a.length},(e,t)=>t)}}function tm(e,t,n,r){let i=t+1,a=[],o=``,s=[],c=[];if(r.extractText)try{c=yf(e,n),o=Vp(c),s=Hp(c)}catch(e){let t=e instanceof Error?e.message:String(e);a.push(`Text extraction failed on page ${i}: ${t}`)}let l=[];if(r.extractImages)try{l=Uf(e,n)}catch(e){let t=e instanceof Error?e.message:String(e);a.push(`Image extraction failed on page ${i}: ${t}`)}let u=[];if(r.extractAnnotations)try{u=Sd(e,n)}catch(e){let t=e instanceof Error?e.message:String(e);a.push(`Annotation extraction failed on page ${i}: ${t}`)}let{width:d,height:f}=rm(e,n),p=[];if(r.extractTables)try{p=Pp(c,d,f)}catch(e){let t=e instanceof Error?e.message:String(e);a.push(`Table extraction failed on page ${i}: ${t}`)}return{pageNumber:i,text:o,textLines:s,textFragments:c,images:l,annotations:u,tables:p,width:d,height:f,warnings:a}}function nm(e,t,n,r,i){let a=e.map(e=>e.text).join(`
|
|
56
57
|
|
|
57
|
-
`);r.extractMetadata&&(n.pageCount=t);let o=[];if(r.extractFormFields)try{o=
|
|
58
|
-
`||e===`\r`||e===`\f`}function Rp(e){return Lp(e)||e===`/`||e===`<`||e===`>`||e===`[`||e===`]`||e===`(`||e===`)`}function zp(e,t){let n=t,r=0;for(;n<e.length;)if(e[n]===`<`&&n+1<e.length&&e[n+1]===`<`)r++,n+=2;else if(e[n]===`>`&&n+1<e.length&&e[n+1]===`>`){if(r--,n+=2,r===0)return n}else n++;return n}function Bp(e,t){let n=t,r=0;for(;n<e.length;){if(e[n]===`[`)r++;else if(e[n]===`]`&&(r--,r===0))return n++,n;n++}return n}function Vp(e,t,n){for(;t<e.length&&!(e[t]===`/`&&t>n&&Lp(e[t-1])||e[t]===`<`&&t+1<e.length&&e[t+1]===`<`);)t++;return t}rt(),m(),an(),Zt(),Ta(),Ga(),ss();var Hp=class{constructor(e,t,n,r){this._pageIndex=e,this._width=t,this._height=n,this._overlay=new Cc(t,n,r)}get width(){return this._width}get height(){return this._height}measureText(e,t){return this._overlay.measureText(e,t)}drawText(e,t){return this._overlay.drawText(e,t),this}drawRect(e){return this._overlay.drawRect(e),this}drawCircle(e){return this._overlay.drawCircle(e),this}drawEllipse(e){return this._overlay.drawEllipse(e),this}drawLine(e){return this._overlay.drawLine(e),this}drawImage(e){return this._overlay.drawImage(e),this}getContentStream(){return this._overlay._stream}addAnnotation(e){return this._overlay.addAnnotation(e),this}addFormField(e){return this._overlay.addFormField(e),this}drawSvgPath(e,t){return this._overlay.drawSvgPath(e,t),this}drawPath(e,t){return this._overlay.drawPath(e,t),this}_hasOverlay(){return this._overlay._stream.hasContent()||this._overlay._images.length>0||this._overlay._builderAnnotations.length>0||this._overlay._formFields.length>0}},Up=class e{constructor(e,t){if(this._pages=[],this._newPages=[],this._fontManager=new wa,this._formFieldUpdates=new Map,this._copiedPages=[],this._removedPageIndices=new Set,this._isIncrementalSave=!1,this._rotationOverrides=new Map,this._signaturePlaceholder=null,this._writerForSave=null,this._clonedRefs=new Map,this._doc=new rp(e),this._password=t,Af(this._doc)&&!kf(this._doc,t))throw new T(`Failed to decrypt PDF: incorrect password`);let n=this._doc.getPagesWithObjInfo();for(let e=0;e<n.length;e++){let{dict:t}=n[e],r=this._doc.resolvePageBox(t)??{width:612,height:792};this._pages.push(new Hp(e,r.width,r.height,this._fontManager))}}static load(t,n){return new e(t,n?.password??``)}get pageCount(){return this._pages.length}getPage(e){if(e<0||e>=this._pages.length)throw new T(`Page index ${e} out of range (0-${this._pages.length-1})`);return this._pages[e]}addPage(e){let t=e?.width??595.28,n=e?.height??841.89,r=new Cc(t,n,this._fontManager);return this._newPages.push(r),r}removePage(e){if(e<0||e>=this._pages.length)throw new T(`Page index ${e} out of range (0-${this._pages.length-1})`);return this._removedPageIndices.add(e),this}rotatePage(e,t){if(e<0||e>=this._pages.length)throw new T(`Page index ${e} out of range (0-${this._pages.length-1})`);if(t!==0&&t!==90&&t!==180&&t!==270)throw new T(`Invalid rotation ${t}: must be 0, 90, 180, or 270`);return this._rotationOverrides.set(e,t),this}async splitPages(t){let n=this._doc.getPagesWithObjInfo(),r=t??Array.from({length:n.length},(e,t)=>t),i=[];for(let t of r){if(t<0||t>=n.length)continue;let r=e.load(this._doc.data,{password:this._password});for(let e=0;e<n.length;e++)e!==t&&r.removePage(e);i.push(await r.save())}return i}embedFont(e){let t=Ea(e);return this._fontManager.registerEmbeddedFont(t),this}setFormField(e,t){return this._formFieldUpdates.set(e,t),this}setFormFields(e){for(let[t,n]of Object.entries(e))this._formFieldUpdates.set(t,n);return this}getFormFields(){return ef(this._doc)}copyPagesFrom(e,t,n){let r=new rp(e);if(Af(r)&&!kf(r,n?.password??``))throw new T(`Failed to decrypt source PDF for page copy`);let i=r.getPagesWithObjInfo(),a=t??Array.from({length:i.length},(e,t)=>t);for(let e of a){if(e<0||e>=i.length)continue;let{dict:t}=i[e],n=r.resolvePageBox(t)??{width:612,height:792},a=this._collectContentStreams(r,t);this._copiedPages.push({width:n.width,height:n.height,contentStreams:a,sourceDoc:r,sourcePageDict:t})}return this}async save(){let e=new rn;this._writerForSave=e,this._clonedRefs=new Map;try{return await this._buildFullSave(e)}finally{this._writerForSave=null,this._clonedRefs.clear()}}async _buildFullSave(e){let t=await this._fontManager.writeFontResources(e),n=this._fontManager.buildFontDictString(t),r=e.allocObject(),a=[],o=this._doc.getPagesWithObjInfo();for(let t=0;t<o.length;t++){if(this._removedPageIndices.has(t))continue;let{dict:c}=o[t],u=this._doc.resolvePageBox(c)??{width:612,height:792},d=this._pages[t],f=this._collectContentStreams(this._doc,c),m=this._serializeResources(this._doc,c),h=[];for(let t of f){let n=e.allocObject();e.addStreamObject(n,new p,t),h.push(n)}let g=``;if(d._hasOverlay()){let t=e.allocObject();e.addStreamObject(t,new p,d._overlay._stream),h.push(t);let r=this._writeOverlayImages(e,d._overlay);g=Fp(this._buildOverlayResourceDict(e,d._overlay,n,r))}let _=e.allocObject(),v=this._mergeResourceStrings(m,g);e.addObject(_,v||`<< >>`);let y=h.length===1?l(h[0]):`[${h.map(e=>l(e)).join(` `)}]`,b=this._writeFormFieldUpdates(e,c,t);for(let t of d._overlay._builderAnnotations){let n=e.allocObject(),r=`[${s(t.rect[0])} ${s(t.rect[1])} ${s(t.rect[2])} ${s(t.rect[3])}]`,i=new p().set(`Type`,`/Annot`).set(`Subtype`,`/${t.subtype}`).set(`Rect`,r).set(`F`,`4`);for(let[e,n]of t.entries)i.set(e,n);e.addObject(n,i),b.push(n)}for(let t of d._overlay._formFields)if(t.options.type===`radio`){let n=e.allocObject(),r=[],a=32768;a|=16384,t.options.readOnly&&(a|=1),t.options.required&&(a|=2);for(let i of t.options.buttons){let a=e.allocObject(),o=`[${i.rect.map(e=>s(e)).join(` `)}]`,c=t.options.selected===i.value?`/${i.value}`:`/Off`,u=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Widget`).set(`Rect`,o).set(`Parent`,l(n)).set(`AS`,c).set(`AP`,`<< /N << /${i.value} null /Off null >> >>`);e.addObject(a,u),r.push(a),b.push(a)}let o=new p().set(`FT`,`/Btn`).set(`T`,i(t.options.name)).set(`Ff`,String(a)).set(`Kids`,`[${r.map(e=>l(e)).join(` `)}]`);t.options.selected&&o.set(`V`,`/${t.options.selected}`),e.addObject(n,o)}else{let n=e.allocObject(),r=t.options.rect,a=`[${s(r[0])} ${s(r[1])} ${s(r[2])} ${s(r[3])}]`,o=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Widget`).set(`Rect`,a).set(`T`,i(t.options.name)).set(`FT`,t.options.type===`text`?`/Tx`:t.options.type===`checkbox`?`/Btn`:`/Ch`);t.options.value&&o.set(`V`,i(t.options.value)),o.set(`DA`,i(`/Helv 12 Tf 0 g`)),e.addObject(n,o),b.push(n)}let x=new p().set(`Type`,`/Page`).set(`Parent`,l(r)).set(`MediaBox`,`[0 0 ${s(u.width)} ${s(u.height)}]`).set(`Contents`,y).set(`Resources`,l(_));this._copyPageProperties(c,x);let S=this._rotationOverrides.get(t);S!==void 0&&(S===0?x.delete(`Rotate`):x.set(`Rotate`,String(S))),b.length>0&&x.set(`Annots`,`[${b.map(e=>l(e)).join(` `)}]`);let C=e.allocObject();e.addObject(C,x),a.push(C)}for(let t of this._copiedPages){let n=[];for(let r of t.contentStreams){let t=e.allocObject();e.addStreamObject(t,new p,r),n.push(t)}let i=this._serializeResources(t.sourceDoc,t.sourcePageDict),o=e.allocObject();e.addObject(o,i||`<< >>`);let c=n.length===1?l(n[0]):`[${n.map(e=>l(e)).join(` `)}]`,u=new p().set(`Type`,`/Page`).set(`Parent`,l(r)).set(`MediaBox`,`[0 0 ${s(t.width)} ${s(t.height)}]`).set(`Contents`,c).set(`Resources`,l(o));this._copyPageProperties(t.sourcePageDict,u,t.sourceDoc);let d=e.allocObject();e.addObject(d,u),a.push(d)}for(let t of this._newPages){let i=this._writeOverlayImages(e,t),o=``;i.size>0&&(o=`<< ${[...i.entries()].map(([e,t])=>`/${e} ${l(t)}`).join(` `)} >>`);let c=e.allocObject();e.addStreamObject(c,new p,t._stream);let u=``;if(t._alphaValues.size>0){let n=[];for(let r of t._alphaValues){let t=e.allocObject(),i=new p().set(`Type`,`/ExtGState`).set(`ca`,s(r)).set(`CA`,s(r));e.addObject(t,i),n.push(`/${Po(r)} ${l(t)}`)}u=`<< ${n.join(` `)} >>`}let d=e.allocObject(),f=`<< `;n&&(f+=`/Font ${n} `),o&&(f+=`/XObject ${o} `),u&&(f+=`/ExtGState ${u} `),f+=`>>`,e.addObject(d,f);let m=e.addPage({parentRef:r,width:t._width,height:t._height,contentsRef:c,resourcesRef:d});a.push(m)}let c=a.map(e=>l(e)).join(` `);e.addObject(r,new p().set(`Type`,`/Pages`).set(`Kids`,`[${c}]`).set(`Count`,String(a.length)));let u=e.allocObject(),d=new p().set(`Type`,`/Catalog`).set(`Pages`,l(r));if(this._formFieldUpdates.size>0)try{let e=this._doc.getCatalog().get(`AcroForm`);if(e){let t=this._deepSerialize(this._doc,e);t&&t.startsWith(`<<`)?d.set(`AcroForm`,t.replace(`<<`,`<< /NeedAppearances true`)):d.set(`AcroForm`,`<< /NeedAppearances true >>`)}else d.set(`AcroForm`,`<< /NeedAppearances true >>`)}catch{d.set(`AcroForm`,`<< /NeedAppearances true >>`)}try{let e=this._doc.getCatalog().get(`Metadata`);if(e){let t=this._deepSerialize(this._doc,e);t&&d.set(`Metadata`,t)}}catch{}if(e.addObject(u,d),e.setCatalog(u),this._signaturePlaceholder){let t=e.allocObject();e.addObject(t,this._signaturePlaceholder);let n=e.allocObject(),r=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Widget`).set(`FT`,`/Sig`).set(`Rect`,`[0 0 0 0]`).set(`T`,i(`Signature1`)).set(`V`,l(t)).set(`F`,`4`);e.addObject(n,r);let a=d.toString().match(/\/Fields\s*\[([^\]]*)\]/),o=a?a[1].trim():``,s=l(n),c=o?`${o} ${s}`:s;d.set(`AcroForm`,`<< /Fields [${c}] /SigFlags 3 >>`),e.addObject(u,d)}let f=yf(this._doc);return e.addInfoDict({title:f.title||void 0,author:f.author||void 0,subject:f.subject||void 0,creator:f.creator||`documonster`}),e.build()}async saveIncremental(){if(this._newPages.length>0||this._copiedPages.length>0||this._removedPageIndices.size>0||this._rotationOverrides.size>0)return this.save();let e=this._doc.data.subarray(Math.max(0,this._doc.data.length-1024));if(!new TextDecoder().decode(e).includes(`trailer`))return this.save();let t=this._pages.some(e=>e._hasOverlay()),n=this._formFieldUpdates.size>0;if(!t&&!n)return this._doc.data;this._isIncrementalSave=!0;try{return await this._buildIncrementalUpdate()}finally{this._isIncrementalSave=!1,this._writerForSave=null,this._clonedRefs.clear()}}async _buildIncrementalUpdate(){let e=Pu(this._doc.trailer,`Size`)??1,t=new Map,n=this._pages.some(e=>e._hasOverlay()),r=new rn;this._writerForSave=r,this._clonedRefs=new Map;let i=``,a=new Map;if(n){let n=await this._fontManager.writeFontResources(r),o=r.getObjects();for(let t of o)a.has(t.objectNumber)||a.set(t.objectNumber,e++);for(let e of o){let n=a.get(e.objectNumber),r=this._remapRefsInString(e.content,a);e.streamData?t.set(n,{dict:p.fromRawString(r),data:e.streamData}):t.set(n,r)}let s=this._fontManager.buildFontDictString(n);i=this._remapRefsInString(s,a)}let o=this._doc.getPagesWithObjInfo();for(let n=0;n<o.length;n++){let r=this._pages[n],{dict:a,objNum:s}=o[n];if(s===0)return this.save();let c=r._hasOverlay(),u=this._hasFormUpdatesForPage(a);if(!c&&!u)continue;let d=new p;for(let[e,t]of a.entries())e===`Contents`&&c||e===`Resources`&&c||e===`Annots`&&u||d.set(e,this._serializeOriginalValue(t));if(c){let n=r._overlay._stream.toUint8Array(),o=e++;t.set(o,{dict:new p,data:n});let s=a.get(`Contents`),c=this._collectOriginalContentRefs(s);c.push(l(o));let u=c.length===1?c[0]:`[${c.join(` `)}]`;d.set(`Contents`,u);let f=this._serializeOriginalResources(this._doc,a),m=new Map;for(let n=0;n<r._overlay._images.length;n++){let i=r._overlay._images[n],a=`Im${n+1}`,o=e++;m.set(a,o),t.set(o,this._buildImageXObjectForIncremental(i.data,i.format))}let h=`<< `;if(i&&(h+=`/Font ${i} `),m.size>0){let e=[...m.entries()].map(([e,t])=>`/${e} ${l(t)}`).join(` `);h+=`/XObject << ${e} >> `}h+=`>>`;let g=this._mergeResourceStrings(f,h),_=e++;t.set(_,g||`<< >>`),d.set(`Resources`,l(_))}if(u){let n=this._buildIncrementalAnnots(a,t,e);e=n.nextObjNum,n.annotRefs.length>0&&d.set(`Annots`,`[${n.annotRefs.map(e=>l(e)).join(` `)}]`)}t.set(s,d.toString())}return t.size===0?this._doc.data:en(this._doc.data,t,new Map)}_hasFormUpdatesForPage(e){if(this._formFieldUpdates.size===0)return!1;let t=e.get(`Annots`);if(!t)return!1;let n=this._doc.deref(t);if(!G(n))return!1;for(let e of n){let t=this._doc.derefDict(e);if(t&&Nu(t,`Subtype`)===`Widget`){let e=this._resolveFieldName(t);if(e&&this._formFieldUpdates.has(e))return!0}}return!1}_collectOriginalContentRefs(e){if(!e)return[];if(Au(e)){let t=this._doc.deref(e);return G(t)?t.filter(e=>Au(e)).map(e=>l(e.objNum,e.gen)):[l(e.objNum,e.gen)]}return G(e)?e.filter(e=>Au(e)).map(e=>l(e.objNum,e.gen)):[]}_serializeOriginalResources(e,t){let n=e.resolvePageResources(t);if(!n||n.size===0)return`<< >>`;let r=[`<<`];for(let[e,t]of n.entries()){let n=this._serializeOriginalValue(t);n&&r.push(`/${e} ${n}`)}return r.push(`>>`),r.join(` `)}_serializeOriginalValue(e){if(e==null)return`null`;if(typeof e==`string`)return`/`+e;if(typeof e==`number`)return s(e);if(typeof e==`boolean`)return e?`true`:`false`;if(e instanceof Uint8Array)return a(e);if(Au(e))return l(e.objNum,e.gen);if(G(e))return`[${e.map(e=>this._serializeOriginalValue(e)).join(` `)}]`;if(e instanceof Map){let t=[`<<`];for(let[n,r]of e.entries())t.push(`/${n} ${this._serializeOriginalValue(r)}`);return t.push(`>>`),t.join(` `)}return``}_remapRefsInString(e,t){let n=[],r=0,i=0,a=e.length;for(;i<a;){if(e.charCodeAt(i)<48||e.charCodeAt(i)>57){i++;continue}let o=i;for(;i<a&&e.charCodeAt(i)>=48&&e.charCodeAt(i)<=57;)i++;if(i>=a||e.charCodeAt(i)!==32)continue;let s=i+1,c=s;for(;c<a&&e.charCodeAt(c)>=48&&e.charCodeAt(c)<=57;)c++;if(c===s||c>=a||e.charCodeAt(c)!==32||c+1>=a||e.charCodeAt(c+1)!==82)continue;let l=c+2;if(l<a&&e.charCodeAt(l)>32&&e.charCodeAt(l)!==47&&e.charCodeAt(l)!==62)continue;let u=parseInt(e.slice(o,i),10),d=t.get(u);d!==void 0&&(n.push(e.slice(r,o)),n.push(`${d} ${e.slice(s,c)} R`),r=l),i=l}return r===0?e:(n.push(e.slice(r)),n.join(``))}_buildImageXObjectForIncremental(e,t){let n=Ze(e,t),r=new p().set(`Type`,`/XObject`).set(`Subtype`,`/Image`).set(`Width`,s(n.width)).set(`Height`,s(n.height)).set(`BitsPerComponent`,`8`).set(`ColorSpace`,`/DeviceRGB`);return t===`jpeg`&&r.set(`Filter`,`/DCTDecode`),{dict:r,data:e}}_buildIncrementalAnnots(e,t,n){let r=e.get(`Annots`);if(!r)return{annotRefs:[],nextObjNum:n};let i=this._doc.deref(r);if(!G(i))return{annotRefs:[],nextObjNum:n};let a=[];for(let e of i){let r=this._doc.derefDict(e);if(!r){Au(e)&&a.push(e.objNum);continue}if(Nu(r,`Subtype`)===`Widget`&&this._formFieldUpdates.size>0){let i=this._resolveFieldName(r),o=i?this._formFieldUpdates.get(i):void 0;if(o!==void 0){let i=Au(e)?e.objNum:n++,s=this._buildModifiedWidgetDict(r,o);t.set(i,s),a.push(i);continue}}if(Au(e))a.push(e.objNum);else{let e=n++,i=this._serializeAnnotDict(r);t.set(e,i),a.push(e)}}return{annotRefs:a,nextObjNum:n}}static{this._PAGE_PRESERVE_KEYS=[`Rotate`,`CropBox`,`BleedBox`,`TrimBox`,`ArtBox`,`Group`,`UserUnit`,`Tabs`]}_copyPageProperties(t,n,r){let i=r??this._doc;for(let r of e._PAGE_PRESERVE_KEYS){let e=t.get(r);e!=null&&n.set(r,this._deepSerialize(i,e))}}async sign(e){let{buildSignatureDictPlaceholder:t,signPdf:n}=await Promise.resolve().then(()=>(ic(),ms)),{dictString:r}=t({name:e.name,reason:e.reason,location:e.location,contactInfo:e.contactInfo});this._signaturePlaceholder=r;let i;try{i=await this.save()}finally{this._signaturePlaceholder=null}return n(i,e.certificate,e.privateKey)}_collectContentStreams(e,t){let n=t.get(`Contents`);if(!n)return[];if(Au(n)){let t=e.derefStreamWithObjNum(n);if(t)return[e.getStreamData(t.stream,t.objNum,t.gen)];let r=e.deref(n);return G(r)?this._resolveStreamArray(e,r):[]}return G(n)?this._resolveStreamArray(e,n):[]}_resolveStreamArray(e,t){let n=[];for(let r of t){let t=e.derefStreamWithObjNum(r);t&&n.push(e.getStreamData(t.stream,t.objNum,t.gen))}return n}_serializeResources(e,t){let n=e.resolvePageResources(t);return!n||n.size===0?`<< >>`:this._serializeDictToWriter(e,n)}_serializeDictToWriter(e,t){let n=[`<<`];for(let[r,i]of t.entries()){let t=this._deepSerialize(e,i);t&&n.push(`/${r} ${t}`)}return n.push(`>>`),n.join(` `)}_deepSerialize(e,t){if(t==null)return`null`;if(typeof t==`string`)return`/`+t;if(typeof t==`number`)return s(t);if(typeof t==`boolean`)return t?`true`:`false`;if(t instanceof Uint8Array)return a(t);if(Au(t)){let n=`${e===this._doc?`main`:`src${e.data.length}`}:${t.objNum}:${t.gen}`,r=this._clonedRefs.get(n);if(r!==void 0)return l(r);let i=e.derefStreamWithObjNum(t);if(i){let t=this._writerForSave.allocObject();this._clonedRefs.set(n,t);let r=e.getStreamData(i.stream,i.objNum,i.gen),a=new p;for(let[t,n]of i.stream.dict.entries()){if(t===`Length`||t===`Filter`||t===`DecodeParms`)continue;let r=this._deepSerialize(e,n);r&&a.set(t,r)}return this._writerForSave.addStreamObject(t,a,r),l(t)}let a=e.deref(t);if(a instanceof Map){let t=this._writerForSave.allocObject();this._clonedRefs.set(n,t);let r=this._serializeDictToWriter(e,a);return this._writerForSave.addObject(t,r),l(t)}return this._deepSerialize(e,a)}return G(t)?`[${t.map(t=>this._deepSerialize(e,t)).join(` `)}]`:t instanceof Map?this._serializeDictToWriter(e,t):``}_writeOverlayImages(e,t){let n=new Map;for(let r=0;r<t._images.length;r++){let i=t._images[r],a=`Im${r+1}`,o=et(e,i.data,i.format);n.set(a,o)}return n}_buildOverlayResourceDict(e,t,n,r){let i=new Map;if(n){let e=n.trim();if(e.startsWith(`<<`)&&e.endsWith(`>>`)){let t=Pp(`<< /Font ${e} >>`).get(`Font`);t&&i.set(`Font`,t)}}if(r.size>0){let e=new Map;for(let[t,n]of r)e.set(t,l(n));i.set(`XObject`,e)}if(t&&t._alphaValues.size>0){let n=new Map;for(let r of t._alphaValues){let t=e.allocObject(),i=new p().set(`Type`,`/ExtGState`).set(`ca`,s(r)).set(`CA`,s(r));e.addObject(t,i),n.set(Po(r),l(t))}i.set(`ExtGState`,n)}return i}_mergeResourceStrings(e,t){return!t||t===`<< >>`?e:!e||e===`<< >>`?t:Fp(Np(Pp(e),Pp(t)))}_writeFormFieldUpdates(e,t,n){return this._formFieldUpdates.size,this._copyExistingAnnots(e,t)}_copyExistingAnnots(e,t){let n=t.get(`Annots`);if(!n)return[];let r=this._doc.deref(n);if(!G(r))return[];let i=[];for(let t of r){let n=this._doc.derefDict(t);if(!n)continue;let r=Nu(n,`Subtype`),a=e.allocObject();if(r===`Widget`&&this._formFieldUpdates.size>0){let t=this._resolveFieldName(n),r=t?this._formFieldUpdates.get(t):void 0;if(r!==void 0){let t=this._buildModifiedWidgetDict(n,r);e.addObject(a,t),i.push(a);continue}}let o=this._serializeAnnotDict(n);e.addObject(a,o),i.push(a)}return i}_resolveFieldName(e){let t=[],n=e,r=new Set;for(;n;){let e=n.get(`T`);if(e){let n=this._doc.deref(e),r=``;typeof n==`string`?r=n:n instanceof Uint8Array&&(r=zu(n)),r&&t.unshift(r)}let i=n.get(`Parent`);if(!i)break;let a=String(i);if(r.has(a))break;r.add(a),n=this._doc.derefDict(i)}return t.join(`.`)}_buildModifiedWidgetDict(e,t){if(this._resolveFieldType(e)===`Tx`&&this._writerForSave)return this._buildTextFieldWidgetDict(e,t);let n=[`<<`];for(let[t,r]of e.entries()){if(t===`V`||t===`AP`)continue;let e=this._serializePdfValue(r);e&&n.push(`/${t} ${e}`)}return n.push(`/V ${i(t)}`),n.push(`>>`),n.join(` `)}_buildTextFieldWidgetDict(e,t){let n=this._writerForSave,r=this._resolveWidgetRect(e),a=e.get(`Q`),o=`left`;a===1?o=`center`:a===2&&(o=`right`);let{stream:s,resources:c}=Ap({value:t,rect:r,alignment:o}),u=n.allocObject(),d=new p().set(`Type`,`/XObject`).set(`Subtype`,`/Form`).set(`BBox`,jp(r)).set(`Resources`,c);n.addStreamObject(u,d,s,{compress:!1});let f=[`<<`];for(let[t,n]of e.entries()){if(t===`V`||t===`AP`)continue;let e=this._serializePdfValue(n);e&&f.push(`/${t} ${e}`)}return f.push(`/V ${i(t)}`),f.push(`/AP << /N ${l(u)} >>`),f.push(`>>`),f.join(` `)}_resolveFieldType(e){let t=e,n=new Set;for(;t;){let e=Nu(t,`FT`);if(e)return e;let r=t.get(`Parent`);if(!r)break;let i=String(r);if(n.has(i))break;n.add(i),t=this._doc.derefDict(r)}}_resolveWidgetRect(e){let t=e.get(`Rect`);return t&&=this._doc.deref(t),t&&G(t)?t.map(e=>typeof e==`number`?e:0):[0,0,100,20]}_serializeAnnotDict(e){let t=[`<<`];for(let[n,r]of e.entries()){let e=this._serializePdfValue(r);e&&t.push(`/${n} ${e}`)}return t.push(`>>`),t.join(` `)}_serializePdfValue(e){if(e==null)return`null`;if(typeof e==`string`)return`/`+e;if(typeof e==`number`)return s(e);if(typeof e==`boolean`)return e?`true`:`false`;if(e instanceof Uint8Array)return a(e);if(Au(e))return this._writerForSave&&!this._isIncrementalSave?this._deepSerialize(this._doc,e):`${e.objNum} ${e.gen} R`;if(G(e))return`[${e.map(e=>this._serializePdfValue(e)).join(` `)}]`;if(e instanceof Map){let t=[`<<`];for(let[n,r]of e.entries()){let e=this._serializePdfValue(r);t.push(`/${n} ${e}`)}return t.push(`>>`),t.join(` `)}return``}};function Wp(e,t){return`${e}:${t}`}var Gp=n((()=>{})),Kp,qp,Jp,Yp,Xp,Zp,Qp=n((()=>{v(),Kp=class extends _{constructor(e,t){super(e,t),this.name=`ExcelError`}},qp=class extends Kp{constructor(e,t,n){super(t?`Invalid address "${e}": ${t}`:`Invalid address: ${e}`,n),this.address=e,this.name=`InvalidAddressError`}},Jp=class extends Kp{constructor(e,t,n){super(t?`Column ${e} is out of bounds: ${t}`:`Column ${e} is out of bounds. Excel supports columns from 1 to 16384`,n),this.column=e,this.name=`ColumnOutOfBoundsError`}},Yp=class extends Kp{constructor(e,t,n){super(t??`Cannot process value of type: ${e}`,n),this.valueType=e,this.name=`InvalidValueTypeError`}},Xp=class extends Kp{constructor(...e){super(...e),this.name=`ChartOptionsError`}},Zp=class extends Kp{constructor(...e){super(...e),this.name=`ImageError`}}})),$p,em,tm=n((()=>{Qp(),$p=/^[A-Z]+\d+$/,em={_dictionary:`ABCDEFGHIJKLMNOPQRSTUVWXYZ`.split(``),_l2nFill:0,_l2n:{},_n2l:[],_level(e){return e<=26?1:e<=676?2:3},_fill(e){let t,n,r,i,a,o=1;if(e>=4)throw Error(`colCache._fill: invariant violated — level ${e} exceeds the 3-letter cap; callers must validate before invoking _fill`);if(this._l2nFill<1&&e>=1){for(;o<=26;)t=this._dictionary[o-1],this._n2l[o]=t,this._l2n[t]=o,o++;this._l2nFill=1}if(this._l2nFill<2&&e>=2){for(o=27;o<=702;)n=o-27,r=n%26,i=Math.floor(n/26),t=this._dictionary[i]+this._dictionary[r],this._n2l[o]=t,this._l2n[t]=o,o++;this._l2nFill=2}if(this._l2nFill<3&&e>=3){for(o=703;o<=16384;)n=o-703,r=n%26,i=Math.floor(n/26)%26,a=Math.floor(n/676),t=this._dictionary[a]+this._dictionary[i]+this._dictionary[r],this._n2l[o]=t,this._l2n[t]=o,o++;this._l2nFill=3}},l2n(e){if(!this._l2n[e]){if(e.length>3)throw new Jp(e,`Excel supports columns from 1 to 16384`);this._fill(e.length)}if(!this._l2n[e])throw new Jp(e,`Invalid column letter: ${e}`);return this._l2n[e]},n2l(e){if(e<1||e>16384)throw new Jp(e);return this._n2l[e]||this._fill(this._level(e)),this._n2l[e]},_hash:{},decodeCol(e){let t=0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=65&&r<=90)t=t*26+r-64;else break}return t},validateAddress(e){if(!$p.test(e))throw new qp(e);return!0},decodeAddress(e){if(!e||typeof e!=`string`)throw new qp(String(e));let t=e.length<5&&this._hash[e];if(t)return t;let n=0,r=0,i=!1,a=!1,o=0,s=0;for(let t=0;t<e.length;t++){let c=e.charCodeAt(t);if(c===36){!i&&!a&&(s=t+1);continue}if(!a&&c>=65&&c<=90)i=!0,n=n*26+c-64,o=t+1;else if(c>=48&&c<=57)a=!0,r=r*10+c-48;else if(a&&i)break}if(!i)n=void 0;else if(n>16384){let t=e.slice(0,o);throw new Jp(t,`Invalid column letter: ${t}`)}a||(r=void 0);let c=i?e.slice(s,o):``,l=a?String(r):``,u=c+l,d={address:u,col:n,row:r,$col$row:`$${c}$${l}`};return n<=100&&r<=100&&(this._hash[u]=d,this._hash[d.$col$row]=d),d},getAddress(e,t){if(t){let n=this.n2l(t)+e;return this.decodeAddress(n)}return this.decodeAddress(e)},decode(e){if(!e||typeof e!=`string`)throw new qp(String(e));let t=e.split(`:`);if(t.length===2){let e=this.decodeAddress(t[0]),n=this.decodeAddress(t[1]),r={top:Math.min(e.row,n.row),left:Math.min(e.col,n.col),bottom:Math.max(e.row,n.row),right:Math.max(e.col,n.col),tl:``,br:``,dimensions:``};return r.tl=this.n2l(r.left)+r.top,r.br=this.n2l(r.right)+r.bottom,r.dimensions=`${r.tl}:${r.br}`,r}return this.decodeAddress(e)},decodeEx(e){if(!e||typeof e!=`string`)throw new qp(String(e));let t=e.match(/^(?:(?:(?:'((?:[^']|'')+?)')|([^'^ !]+?))!)?(.*)$/),n=t[1]||t[2],r=t[3],i=r.split(`:`);if(i.length>1){let e=this.decodeAddress(i[0]),t=this.decodeAddress(i[1]),r=Math.min(e.row,t.row),a=Math.min(e.col,t.col),o=Math.max(e.row,t.row),s=Math.max(e.col,t.col),c=this.n2l(a)+r,l=this.n2l(s)+o;return{top:r,left:a,bottom:o,right:s,sheetName:n,tl:{address:c,col:a,row:r,$col$row:`$${this.n2l(a)}$${r}`,sheetName:n},br:{address:l,col:s,row:o,$col$row:`$${this.n2l(s)}$${o}`,sheetName:n},dimensions:`${c}:${l}`}}if(r.indexOf(`#`)===0)return n?{sheetName:n,error:r}:{error:r};let a=this.decodeAddress(r);return n?{sheetName:n,...a}:a},encodeAddress(e,t){return em.n2l(t)+e},encode(...e){switch(e.length){case 2:return em.encodeAddress(e[0],e[1]);case 4:return`${em.encodeAddress(e[0],e[1])}:${em.encodeAddress(e[2],e[3])}`;default:throw new qp(String(e.length),`Can only encode with 2 or 4 arguments`)}},compareAddress(e,t){let n=em.decodeAddress(e),r=em.decodeAddress(t);return n.col-r.col||n.row-r.row},inRange(e,t){let[n,r,,i,a]=e,[o,s]=t;return o>=n&&o<=i&&s>=r&&s<=a}}}));function nm(e,t){let n=new Map,r=pm(t,[],n);for(let t of e)if(!mm(t,r)&&!Em(t,r))return;return n}function rm(e,t,n={}){let r=[];return am(e,t,r,n),{writes:r,diagnostics:[]}}function im(e){lm(e.writes)}function am(e,t,n,r){let i=e.chartSpace?.chartData?.data,a=pm(t,n),o=e.chartSpace?.chart?.title?.strRef;if(o?.formula&&(o.cache?.points?.length??0)===0){let e=mm(o.formula,a);if(e){let t=e.cells.find(e=>jm(e.value)!==void 0);if(t){let e=jm(t.value);e!==void 0&&um(o,{points:[{index:0,value:e}]},a)}}}if(!(!i||i.length===0))for(let e of i){if(e.strDim?.formula&&(r.includeSkippedDimensions||!om(e.strDim))){let t=mm(e.strDim.formula,a);if(t&&t.cells.length>0){let n=[],r=0;for(let e of t.cells){let t=jm(e.value);t!==void 0&&t!==``&&n.push({index:r,value:t}),r++}dm(e.strDim,[{ptCount:r,points:n}],`chart-ex-string-levels`,a)}}if(e.numDim?.formula&&(r.includeSkippedDimensions||!sm(e.numDim))){let n=mm(e.numDim.formula,a);if(n&&n.cells.length>0){let r=[],i=0;for(let e of n.cells){let n=Am(e.value,t.date1904);n!==void 0&&r.push({index:i,value:n}),i++}let o=e.numDim.levels?.[0];dm(e.numDim,[{ptCount:i,points:r,...o?.formatCode?{formatCode:o.formatCode}:{}}],`chart-ex-number-levels`,a)}}}}function om(e){return e._skipCache?!0:e.levels?.some(e=>e.points.length>0)??!1}function sm(e){return e._skipCache?!0:e.levels?.some(e=>e.points.length>0)??!1}function cm(e,t){if(Array.isArray(e)&&Array.isArray(t)){e.splice(0,e.length,...structuredClone(t));return}for(let n of Object.keys(e))n in t||delete e[n];for(let[n,r]of Object.entries(t)){let t=e[n];fm(t)&&fm(r)&&Array.isArray(t)===Array.isArray(r)?cm(t,r):e[n]=structuredClone(r)}}function lm(e){for(let t of e)if(t.target.formula!==t.expectedFormula)throw Error(`Chart reference changed after cache planning`);for(let t of e){let e=t.kind.endsWith(`levels`)?`levels`:`cache`,n=t.target,r=n[e];fm(r)&&fm(t.value)?cm(r,t.value):n[e]=structuredClone(t.value)}}function um(e,t,n){if(e.formula){let r=`levels`in t?`multi-level-cache`:typeof t.points[0]?.value==`number`?`number-cache`:`string-cache`;n.writes.push({kind:r,target:e,expectedFormula:e.formula,value:t})}}function dm(e,t,n,r){e.formula&&r.writes.push({kind:n,target:e,expectedFormula:e.formula,value:t})}function fm(e){return typeof e==`object`&&!!e}function pm(e,t,n){return{snapshot:e,writes:t,requestedCells:n,localSheetId:e.contextLocalSheetId,visitedDefinedNames:new Set,definedNameDepth:0}}function mm(e,t){let n=xm(e,t);if(n)return n;let r=hm(e,t);if(r)return r;let i=Dm(e),a,o=[];for(let e of i){let n=e.trim();if(!n)continue;let r;try{r=em.decodeEx(n)}catch{return}if(`error`in r)return;let i=r.sheetName;if(!i)return;let s=km(t.snapshot,i);if(!s)return;if(a||=s,`top`in r&&`left`in r){let e=r.top,n=r.left,i=r.bottom,a=r.right;for(let r=e;r<=i;r++)for(let e=n;e<=a;e++)o.push({value:Om(s,r,e,t)})}else if(`row`in r&&`col`in r){let e=r.row,n=r.col;o.push({value:Om(s,e,n,t)})}}if(a)return{worksheet:a,cells:o}}function hm(e,t){let n=gm(e,t);if(!n)return;let r=vm(n.name,n.localSheetId);if(!t.visitedDefinedNames.has(r)&&!(t.definedNameDepth>=Mm)){t.visitedDefinedNames.add(r),t.definedNameDepth+=1;try{let e=[],r;for(let i of n.ranges){if(!i)continue;let n=mm(i,t);if(n){r||=n.worksheet;for(let t of n.cells)e.push(t)}}return r?{worksheet:r,cells:e}:void 0}finally{t.visitedDefinedNames.delete(r),--t.definedNameDepth}}}function gm(e,t){let n=e.trim();if(!n)return;let r=ym(n);if(r){let e=km(t.snapshot,r.sheetName);if(e){let n=typeof e.orderNo==`number`?e.orderNo:t.snapshot.worksheets.indexOf(e);if(n>=0){let e=_m(t.snapshot,r.name,n);if(e)return{name:r.name,localSheetId:n,ranges:e}}}let n=_m(t.snapshot,r.name,void 0);return n?{name:r.name,ranges:n}:void 0}if(!Nm.test(n))return;if(t.localSheetId!==void 0){let e=_m(t.snapshot,n,t.localSheetId);if(e)return{name:n,localSheetId:t.localSheetId,ranges:e}}let i=_m(t.snapshot,n,void 0);if(i)return{name:n,ranges:i}}function _m(e,t,n){let r=e.definedNames.find(e=>e.name.toLowerCase()===t.toLowerCase()&&e.localSheetId===n);return r?.ranges.length?[...r.ranges]:void 0}function vm(e,t){return t===void 0?e:`${e}\0${t}`}function ym(e){let t=0,n=``;if(e[0]===`'`)for(t=1;t<e.length;)if(e[t]===`'`&&e[t+1]===`'`)n+=`'`,t+=2;else if(e[t]===`'`){t++;break}else n+=e[t],t++;else{let r=e.indexOf(`!`);if(r<=0)return;n=e.slice(0,r),t=r}if(e[t]!==`!`)return;let r=e.slice(t+1);if(Nm.test(r))return{sheetName:n,name:r}}function bm(e){let t=0,n=``;if(e[0]===`'`){for(t=1;t<e.length;)if(e[t]===`'`&&e[t+1]===`'`)n+=`'`,t+=2;else if(e[t]===`'`){t++;break}else n+=e[t],t++;if(e[t]!==`!`)return}else{let r=e.indexOf(`!`);if(r<=0)return;n=e.slice(0,r),t=r}if(e[t]===`!`)return{sheetName:n,remainder:e.slice(t+1)}}function xm(e,t){let n=bm(e.trim()),r=n?n.remainder:e.trim(),i=n?.sheetName,a=Sm(r);if(!a)return;let o=[...t.snapshot.worksheets];if(i){let e=i.toLowerCase(),t=o.findIndex(t=>t.name.toLowerCase()===e);t>0&&o.unshift(...o.splice(t,1))}for(let e of o){let n=e.tables.find(e=>e.name===a.tableName||e.displayName===a.tableName);if(!n)continue;let r=n.columns.findIndex(e=>e===a.columnName);if(r<0)return;let i=em.decode(n.ref);if(!(`top`in i))return;let o=i.top+ +!!n.headerRow,s=i.bottom-+!!n.totalsRow,c=i.left+r,l=[];for(let n=o;n<=s;n++)l.push({value:Om(e,n,c,t)});return{worksheet:e,cells:l}}}function Sm(e){let t=Cm(e);if(!t||e[t.end]!==`[`||!e.endsWith(`]`))return;let n=e.slice(t.end+1,-1);if(n.length===0)return;let r=wm(n);return r?{tableName:t.name,columnName:r}:void 0}function Cm(e){if(e.startsWith(`'`)){let t=``;for(let n=1;n<e.length;n++)if(e[n]===`'`&&e[n+1]===`'`)t+=`'`,n++;else if(e[n]===`'`)return{name:t,end:n+1};else t+=e[n];return}let t=e.indexOf(`[`);if(!(t<=0))return{name:e.slice(0,t),end:t}}function wm(e){if(e.startsWith(`@`))return Tm(`${e.slice(1).replace(/^\[(.*)\]$/,`$1`)}]`,0).value;if(!e.startsWith(`[`))return e.startsWith(`#`)?void 0:Tm(`${e}]`,0).value;let t=[],n=0;for(;n<e.length;){if(e[n]!==`[`){n++;continue}let r=Tm(e,n+1);t.push(r.value),n=r.end}return t.filter(e=>e&&!e.startsWith(`#`)).pop()}function Tm(e,t){let n=t,r=``;for(;n<e.length;)if(e[n]===`'`&&n+1<e.length)r+=e[n+1],n+=2;else if(e[n]===`]`){n++;break}else r+=e[n],n++;return{value:r.trim(),end:n}}function Em(e,t){let n=gm(e,t);if(n){let e=vm(n.name,n.localSheetId);if(t.visitedDefinedNames.has(e)||t.definedNameDepth>=Mm)return;t.visitedDefinedNames.add(e),t.definedNameDepth+=1;try{let e,r=[],i=0;for(let a of n.ranges){let n=Em(a,t);n&&(e||=n.worksheet,r.push(...n.values),i=Math.max(i,n.columnCount))}return e?{worksheet:e,values:r,rowCount:r.length,columnCount:i}:void 0}finally{t.visitedDefinedNames.delete(e),--t.definedNameDepth}}let r=Dm(e),i,a=[],o=0;for(let e of r){let n=e.trim();if(!n)continue;let r;try{r=em.decodeEx(n)}catch{return}if(`error`in r)return;let s=r.sheetName;if(!s)return;let c=km(t.snapshot,s);if(!c)return;if(i||=c,`top`in r&&`left`in r){let e=r.top,n=r.left,i=r.bottom,s=r.right;o=Math.max(o,s-n+1);for(let r=e;r<=i;r++){let e=[];for(let i=n;i<=s;i++)e.push(Om(c,r,i,t));a.push(e)}}else`row`in r&&`col`in r&&(o=Math.max(o,1),a.push([Om(c,r.row,r.col,t)]))}if(i)return{worksheet:i,values:a,rowCount:a.length,columnCount:o}}function Dm(e){let t=[],n=``,r=!1;for(let i=0;i<e.length;i++){let a=e[i];if(a===`'`){if(r&&e[i+1]===`'`){n+=`''`,i++;continue}r=!r,n+=a}else!r&&(a===`,`||a===`;`)?(t.push(n),n=``):n+=a}return n&&t.push(n),t}function Om(e,t,n,r){if(r.requestedCells){let i=e.name.toLowerCase(),a=r.requestedCells.get(i);a||(a=new Set,r.requestedCells.set(i,a)),a.add(Wp(t,n))}return e.cells.get(Wp(t,n))}function km(e,t){return e.worksheetsByName.get(t.toLowerCase())}function Am(e,t){if(e!=null){if(typeof e==`number`)return Number.isFinite(e)?e:void 0;if(typeof e==`boolean`)return+!!e;if(e instanceof Date)return ll(e,t);if(typeof e==`string`){let t=Number(e);if(Number.isFinite(t)&&e.trim()!==``)return t}}}function jm(e){if(e!=null){if(typeof e==`string`)return e;if(typeof e==`number`||typeof e==`boolean`)return String(e);if(e instanceof Date){if(Number.isNaN(e.getTime()))return;let t=e.getUTCFullYear().toString().padStart(4,`0`),n=(e.getUTCMonth()+1).toString().padStart(2,`0`),r=e.getUTCDate().toString().padStart(2,`0`),i=e.getUTCHours(),a=e.getUTCMinutes(),o=e.getUTCSeconds();return i===0&&a===0&&o===0?`${t}-${n}-${r}`:`${t}-${n}-${r} ${i.toString().padStart(2,`0`)}:${a.toString().padStart(2,`0`)}:${o.toString().padStart(2,`0`)}`}}}var Mm,Nm,Pm=n((()=>{Gp(),tm(),pl(),Mm=128,Nm=/^[A-Za-z_\\\u00A0-\uFFFF][\w.?\\\u00A0-\uFFFF]*$/}));function Fm(e){let{sheetName:t}=e;return t?/^[a-zA-Z0-9]*$/.test(t)?`${t}!`:`'${t.replace(/'/g,`''`)}'!`:``}function Im(e,t){switch(t.length){case 5:typeof t[0]==`number`&&typeof t[1]==`number`&&typeof t[2]==`number`&&typeof t[3]==`number`&&typeof t[4]==`string`&&Lm(e,t[0],t[1],t[2],t[3],t[4]);break;case 4:typeof t[0]==`number`&&typeof t[1]==`number`&&typeof t[2]==`number`&&typeof t[3]==`number`&&Lm(e,t[0],t[1],t[2],t[3]);break;case 3:typeof t[0]==`string`&&typeof t[1]==`string`&&typeof t[2]==`string`&&Lm(e,t[0],t[1],t[2]);break;case 2:typeof t[0]==`string`&&typeof t[1]==`string`&&Lm(e,t[0],t[1]);break;case 1:{let n=t[0];if(Array.isArray(n))Im(e,n);else if(typeof n==`object`&&n&&`top`in n&&`left`in n&&`bottom`in n&&`right`in n)e.top=n.top,e.left=n.left,e.bottom=n.bottom,e.right=n.right,e.sheetName=n.sheetName;else if(typeof n==`string`){let t=em.decodeEx(n);`top`in t?(e.top=t.top,e.left=t.left,e.bottom=t.bottom,e.right=t.right,e.sheetName=t.sheetName):`row`in t&&(e.top=t.row,e.left=t.col,e.bottom=t.row,e.right=t.col,e.sheetName=t.sheetName)}break}case 0:break;default:throw new Kp(`Invalid number of arguments to Range.create() - ${t.length}`)}}function Lm(e,t,n,r,i,a){if(typeof t==`string`&&typeof n==`string`){let i=em.decodeAddress(t),a=em.decodeAddress(n);e.top=Math.min(i.row,a.row),e.left=Math.min(i.col,a.col),e.bottom=Math.max(i.row,a.row),e.right=Math.max(i.col,a.col),e.sheetName=typeof r==`string`?r:void 0}else typeof t==`number`&&typeof n==`number`&&typeof r==`number`&&typeof i==`number`&&(e.top=Math.min(t,r),e.left=Math.min(n,i),e.bottom=Math.max(t,r),e.right=Math.max(n,i),e.sheetName=a)}function Rm(...e){let t={top:0,left:0,bottom:0,right:0};return Im(t,e),t}function zm(e){return e.top||1}function Bm(e){return e.left||1}function Vm(e){return e.bottom||1}function Hm(e){return e.right||1}function Um(e,t,n,r,i){(!e.top||t<zm(e))&&(e.top=t),(!e.left||n<Bm(e))&&(e.left=n),(!e.bottom||r>Vm(e))&&(e.bottom=r),(!e.right||i>Hm(e))&&(e.right=i)}function Wm(e){return em.n2l(Bm(e))+zm(e)}function Gm(e){return`$${em.n2l(Bm(e))}$${zm(e)}`}function Km(e){return em.n2l(Hm(e))+Vm(e)}function qm(e){return`$${em.n2l(Hm(e))}$${Vm(e)}`}function Jm(e){return`${Fm(e)+Wm(e)}:${Km(e)}`}function Ym(e){return`${Fm(e)+Gm(e)}:${qm(e)}`}function Xm(e){return Zm(e)>1?Ym(e):Fm(e)+Gm(e)}function Zm(e){return(1+Vm(e)-zm(e))*(1+Hm(e)-Bm(e))}var Qm=n((()=>{Qp(),tm()}));function $m(e){let t=[],n=new Set;for(let r of Object.keys(e.matrixMap)){if(n.has(r))continue;n.add(r);let i=th(e,r),a=e.localSheetIdMap[r];t.push(a===void 0?i:{...i,localSheetId:a})}for(let r of Object.keys(e.formulaMap)){if(n.has(r))continue;n.add(r);let i=th(e,r),a=e.localSheetIdMap[r];t.push(a===void 0?i:{...i,localSheetId:a})}for(let r of Object.keys(e.opaqueMap)){if(n.has(r))continue;n.add(r);let i=e.nameForKey[r]??r,a=e.opaqueMap[r];t.push({name:i,ranges:[],rawText:a.rawText,localSheetId:a.localSheetId,kind:`opaque`})}return t}function eh(e,t,n){n.mark=!1;let r=n.sheetName,i=Rm(n.row,n.col,n.row,n.col,r),a,o,s=(e,n)=>t.findCellAt(r,e,n);function c(e,t){let r=s(e,n.col);return!r||!r.mark?!1:(i[t]=e,r.mark=!1,!0)}for(o=n.row-1;c(o,`top`);o--);for(o=n.row+1;c(o,`bottom`);o++);function l(e,t){let n=[];for(o=i.top;o<=i.bottom;o++){let t=s(o,e);if(t&&t.mark)n.push(t);else return!1}i[t]=e;for(let e=0;e<n.length;e++)n[e].mark=!1;return!0}for(a=n.col-1;l(a,`left`);a--);for(a=n.col+1;l(a,`right`);a++);return i}function th(e,t,n){let r=e.formulaMap[t];n||=e.matrixMap[t];let i=e.nameForKey[t]??t;return n?(n.forEach(e=>{e.mark=!0}),{name:i,ranges:n.map(t=>t.mark&&eh(e,n,t)).filter(e=>!!e).map(e=>Xm(e))}):r?{name:i,ranges:[r],formulaExpression:r}:{name:i,ranges:[]}}var nh=n((()=>{Qm()})),rh,ih,ah,oh,sh,ch,lh=n((()=>{rh={Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10,JSON:11,Checkbox:12},ih={None:0,Master:1,Shared:2},ah={None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},oh={LeftToRight:1,RightToLeft:2},sh={NotApplicable:`#N/A`,Ref:`#REF!`,Name:`#NAME?`,DivZero:`#DIV/0!`,Null:`#NULL!`,Value:`#VALUE!`,Num:`#NUM!`,Spill:`#SPILL!`,Calc:`#CALC!`},ch={ValueType:rh,FormulaType:ih,RelationshipType:ah,ReadingOrder:oh,ErrorValue:sh}}));function uh(e){return mh.has(e)}function dh(e,t){if(e===t)return!0;if(e==null||t==null)return e===t;let n=typeof e;if(n!==typeof t||n!==`object`)return!1;let r=Array.isArray(e);if(r!==Array.isArray(t))return!1;if(r){let n=e,r=t,i=n.length;if(i!==r.length)return!1;for(let e=0;e<i;e++)if(!dh(n[e],r[e]))return!1;return!0}let i=e,a=t,o=Object.keys(i),s=Object.keys(a);if(o.length!==s.length)return!1;for(let e=0,t=o.length;e<t;e++){let t=o[e];if(!Object.prototype.hasOwnProperty.call(a,t)||!dh(i[t],a[t]))return!1}return!0}function fh(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function ph(...e){let t=e[0]||{},n=e.length;for(let r=1;r<n;r++){let n=e[r];if(n){if(Array.isArray(n)){let e=t;for(let t=0,r=n.length;t<r;t++){let r=n[t];if(r===void 0)continue;let i=e[t];Array.isArray(r)?e[t]=ph(Array.isArray(i)?i:[],r):fh(r)?e[t]=ph(fh(i)?i:{},r):e[t]=r}}else{let e=n,r=Object.keys(e);for(let n=0,i=r.length;n<i;n++){let i=r[n];if(i===`__proto__`||i===`constructor`||i===`prototype`)continue;let a=e[i];if(a===void 0)continue;let o=t[i];t[i]=Array.isArray(a)?ph(Array.isArray(o)?o:[],a):fh(a)?ph(fh(o)?o:{},a):a}}}}return t}var mh,hh=n((()=>{mh=new Set([`__proto__`,`constructor`,`prototype`,`__defineGetter__`,`__defineSetter__`,`__lookupGetter__`,`__lookupSetter__`])}));function gh(e){let t;switch(typeof e.note){case`string`:t={type:`note`,note:{texts:[{text:e.note}]}};break;default:t={type:`note`,note:e.note??{}}}let n=ph({},_h,t);return e.author!==void 0&&(n.author=e.author),n}var _h,vh=n((()=>{hh(),_h={note:{margins:{insetmode:`auto`,inset:[.13,.13,.25,.25]},protection:{locked:`True`,lockText:`True`},editAs:`absolute`},type:`note`}})),yh=n((()=>{pl(),Xa()}));function bh(e,t){let n=Math.round(e).toString();for(;n.length<t;)n=`0`+n;return n}function xh(e){if(e.length<=3)return e;let t=e.length%3,n=e.substring(0,t);for(let r=t;r<e.length;r+=3)n+=(n.length>0?`,`:``)+e.substring(r,r+3);return n}function Sh(e,t){let n=10**t;return Math.round(e*n)/n}function Ch(e){let t=e.replace(/_./g,` `);return t=t.replace(/\*./g,``),t}function wh(e){return/^General$/i.test(e.trim())}function Th(e){let t=e.replace(/\[[^\]]*\]/g,``);return/[ymdhs]/i.test(t)&&!/^[#0.,E%$\s()\-+]+$/i.test(t)}function Eh(e){let t=/\x00(?:Y[24]|D[12]|MN[345])\x00/,n=/\x00H[12]\x00/g,r=/\x00S[12]\x00/g,i=``,a=e,o=a.search(/mm/i);for(;o!==-1;){let e=a.slice(0,o),s=a.slice(o+2),c=-1,l;for(n.lastIndex=0;(l=n.exec(e))!==null;)c=l.index;r.lastIndex=0;let u=r.exec(s),d=u?u.index:-1,f=c!==-1&&!t.test(e.slice(c)),p=d!==-1&&!t.test(s.slice(0,d));i+=e+(f||p?`\0MI2\0`:`\0M2\0`),a=s,o=a.search(/mm/i)}return i+=a,i}function Dh(e,t){let n=Math.round(e*86400)%86400,r=Math.floor(n/3600),i=Math.floor(n%3600/60),a=n%60,o=ul(e,!1),s=o.getUTCFullYear(),c=o.getUTCMonth(),l=o.getUTCDate(),u=o.getUTCDay(),d=e*86400-Math.floor(e*86400),f=/AM\/PM|A\/P/i.test(t),p=r>=12,m=r%12||12,h=t.replace(/\[(Red|Green|Blue|Yellow|Magenta|Cyan|White|Black|Color\d+)\]/gi,``);h=Ch(h);let g=h.match(/ss\.(0+)/i),_=``;if(g){let e=g[1].length;_=Math.round(d*10**e).toString().padStart(e,`0`),h=h.replace(/ss\.0+/gi,`\0SF\0`)}h=h.replace(/yyyy/gi,`\0Y4\0`),h=h.replace(/yy/gi,`\0Y2\0`),h=h.replace(/mmmmm/gi,`\0MN5\0`),h=h.replace(/mmmm/gi,`\0MN4\0`),h=h.replace(/mmm/gi,`\0MN3\0`),h=h.replace(/dddd/gi,`\0DN4\0`),h=h.replace(/ddd/gi,`\0DN3\0`),h=h.replace(/dd/gi,`\0D2\0`),h=h.replace(/\bd\b/gi,`\0D1\0`),h=h.replace(/hh/gi,`\0H2\0`),h=h.replace(/\bh\b/gi,`\0H1\0`),h=h.replace(/ss/gi,`\0S2\0`),h=h.replace(/\bs\b/gi,`\0S1\0`),h=Eh(h),h=h.replace(/\bm\b/gi,`\0M1\0`),h=h.replace(/AM\/PM/gi,`\0AMPM\0`),h=h.replace(/A\/P/gi,`\0AP\0`);let v=f?m:r;return h=h.replace(/\x00Y4\x00/g,s.toString()).replace(/\x00Y2\x00/g,(s%100).toString().padStart(2,`0`)).replace(/\x00MN5\x00/g,Gh[c]).replace(/\x00MN4\x00/g,Wh[c]).replace(/\x00MN3\x00/g,Uh[c]).replace(/\x00M2\x00/g,(c+1).toString().padStart(2,`0`)).replace(/\x00M1\x00/g,(c+1).toString()).replace(/\x00DN4\x00/g,qh[u]).replace(/\x00DN3\x00/g,Kh[u]).replace(/\x00D2\x00/g,l.toString().padStart(2,`0`)).replace(/\x00D1\x00/g,l.toString()).replace(/\x00H2\x00/g,v.toString().padStart(2,`0`)).replace(/\x00H1\x00/g,v.toString()).replace(/\x00MI2\x00/g,i.toString().padStart(2,`0`)).replace(/\x00S2\x00/g,a.toString().padStart(2,`0`)).replace(/\x00S1\x00/g,a.toString()).replace(/\x00SF\x00/g,a.toString().padStart(2,`0`)+`.`+_).replace(/\x00AMPM\x00/g,p?`PM`:`AM`).replace(/\x00AP\x00/g,p?`P`:`A`),h=h.replace(/\\/g,``),h}function Oh(e){return typeof e==`boolean`?e?`TRUE`:`FALSE`:typeof e==`string`?e:Number.isInteger(e)?e.toString():e.toPrecision(11).replace(/\.?0+$/,``).replace(/\.?0+e/,`e`)}function kh(e,t){let n=(t.match(/%/g)??[]).length;return Ph(e*100**n,t.replace(/%/g,``)||`0`)+`%`.repeat(n)}function Ah(e,t){let n=e<0?`-`:``,r=Math.abs(e);if(r===0){let e=t.match(/\.([0#]+)E/i),n=e?e[1].length:2;return`0.`+`0`.repeat(n)+`E+00`}let i=t.match(/\.([0#]+)E/i),a=i?i[1].length:2,o=t.includes(`E+`),s=Math.floor(Math.log10(r)),c=Sh(r/10**s,a).toFixed(a),l=s>=0?o?`+`:``:`-`,u=bh(Math.abs(s),2);return n+c+`E`+l+u}function jh(e,t){let n=e<0?-1:1,r=Math.abs(e),i=Math.floor(r);if(r-=i,r<1e-10)return[n*i,0,1];let a=0,o=1,s=1,c=0,l=Math.floor(r),u=l,d=1;for(;c<t&&(l=Math.floor(r),u=l*o+a,d=l*c+s,!(r-l<1e-10));)r=1/(r-l),a=o,o=u,s=c,c=d;return d>t&&(d=c,u=o),[n*i,n*u,d]}function Mh(e,t){let n=e<0?`-`:``,r=Math.abs(e),i=t.match(/\?+\s*\/\s*(\d+)/);if(i){let e=parseInt(i[1],10),a=Math.floor(r),o=r-a,s=Math.round(o*e);return t.includes(`#`)||t.includes(`0`)?s===0?n+a.toString():n+(a>0?a+` `:``)+s+`/`+e:n+(a*e+s)+`/`+e}let a=t.match(/\/\s*(\?+)/),[o,s,c]=jh(r,10**(a?a[1].length:2)-1);return t.includes(`#`)&&o!==0?s===0?n+Math.abs(o).toString():n+Math.abs(o)+` `+Math.abs(s)+`/`+c:s===0?o===0?`0`:n+Math.abs(o).toString():n+(Math.abs(o)*c+Math.abs(s))+`/`+c}function Nh(e,t){let n=Math.round(e*86400),r=Math.floor(n/60),i=Math.floor(r/60),a=n%60,o=r%60,s=i,c=t;return/\[h+\]/i.test(c)&&(c=c.replace(/\[h+\]/gi,s.toString())),/\[m+\]/i.test(c)&&(c=c.replace(/\[m+\]/gi,r.toString())),/\[s+\]/i.test(c)&&(c=c.replace(/\[s+\]/gi,n.toString())),c=c.replace(/mm/gi,o.toString().padStart(2,`0`)),c=c.replace(/ss/gi,a.toString().padStart(2,`0`)),c}function Ph(e,t){let n=Math.abs(e),r=e<0?`-`:``,i=0,a=t;for(;a.endsWith(`,`);)i++,a=a.slice(0,-1);let o=n/1e3**i,s=a.indexOf(`.`),c=a,l=``;s!==-1&&(c=a.substring(0,s),l=a.substring(s+1));let u=l.replace(/[^0#?]/g,``).length,d=Sh(o,u);if(d===0&&!c.includes(`0`)&&!l.includes(`0`)){let e=``;for(let t of c)t===`?`?e+=` `:t!==`#`&&t!==`,`&&(e+=t);if(u>0&&/[0?]/.test(l)){e+=`.`;for(let t of l)t===`?`&&(e+=` `)}return r+e}let[f,p=``]=d.toString().split(`.`),m=/[0#?][^0#?,.\s][0#?]/.test(c),h;if(m){let e=c.replace(/[^0#?]/g,``).length,t=f;t.length<e&&(t=`0`.repeat(e-t.length)+t),h=``;let n=t.length-e;for(let e=0;e<c.length;e++){let r=c[e];r===`0`||r===`#`||r===`?`?n<t.length&&(h+=t[n],n++):r!==`,`&&(h+=r)}}else{h=f,c.includes(`,`)&&(h=xh(f));let e=(c.match(/0/g)??[]).length,t=(c.match(/[0?]/g)??[]).length;h.length<e&&(h=`0`.repeat(e-h.length)+h),h.length<t&&(h=` `.repeat(t-h.length)+h),h===`0`&&e===0&&t===0&&(h=``)}let g=``;if(u>0){let e=(p+`0`.repeat(u)).substring(0,u).split(``);for(let t=l.length-1;t>=0;t--)if(!(t>=e.length)){if(l[t]===`#`&&e[t]===`0`)e[t]=``;else if(l[t]===`?`&&e[t]===`0`)e[t]=` `;else break}let t=e.join(``);t.length>0&&(g=`.`+t)}return r+h+g}function Fh(e){let t=``,n=0;for(;n<e.length;)if(e[n]===`"`){for(n++;n<e.length&&e[n]!==`"`;)t+=e[n],n++;n++}else e[n]===`\\`&&n+1<e.length?(n++,t+=e[n],n++):(t+=e[n],n++);return t}function Ih(e,t){let n=t.match(/\[(=|>|<|>=|<=|<>)(-?\d+(?:\.\d*)?)\]/);if(!n)return!1;let r=n[1],i=parseFloat(n[2]);switch(r){case`=`:return e===i;case`>`:return e>i;case`<`:return e<i;case`>=`:return e>=i;case`<=`:return e<=i;case`<>`:return e!==i;default:return!1}}function Lh(e,t){if(typeof t==`string`){let n=dl(e);return n.length>=4&&n[3]?Fh(n[3]).replace(/@/g,t):t}if(typeof t==`boolean`)return t?`TRUE`:`FALSE`;let n=dl(e),r=/\[(=|>|<|>=|<=|<>)-?\d+(?:\.\d*)?\]/;if((n[0]&&r.test(n[0])||n[1]&&r.test(n[1]))&&n.length>=2){for(let e=0;e<Math.min(n.length,2);e++){let r=n[e].match(/\[(=|>|<|>=|<=|<>)-?\d+(?:\.\d*)?\]/);if(r&&Ih(t,r[0]))return n[e]}return n[n.length>2?2:1]}return n.length===1?n[0]:n.length===2?t>=0?n[0]:n[1]:t>0?n[0]:t<0?n[1]:n[2]||n[0]}function Rh(e,t){let n=dl(e);return n.length>=2&&n[1]===t}function zh(e,t){if(t==null)return``;if(wh(e))return Oh(t);if(typeof t==`string`)return Lh(e,t);if(typeof t==`boolean`)return t?`TRUE`:`FALSE`;let n=t,r=Lh(e,n);n<0&&Rh(e,r)&&(n=Math.abs(n));let i=r.replace(/\[(Red|Green|Blue|Yellow|Magenta|Cyan|White|Black|Color\d+)\]/gi,``);if(i=i.replace(/\[(>|<|>=|<=|=|<>)-?\d+(\.\d+)?\]/g,``),i=i.replace(/\[\$[^\]]*\]/g,``),i=Ch(i),i=Fh(i),/\[[hms]+\]/i.test(i))return Nh(n,i);if(Th(i))return Dh(n,i);if(i.includes(`%`))return kh(n,i);if(/E[+-]?/i.test(i))return Ah(n,i);if(/\?+\s*\/\s*[\d?]+/.test(i))return Mh(n,i);if(i.includes(`(`)&&i.includes(`)`)&&n<0){let e=i.replace(/\(|\)/g,``);return`(`+Ph(-n,e)+`)`}if(i===`@`)return n.toString();let a=``,o=``,s=i.match(/^([^#0?.,]+)/);s&&(a=s[1],i=i.substring(s[0].length));let c=i.match(/([^#0?.,]+)$/);c&&!c[1].includes(`%`)&&(o=c[1],i=i.substring(0,i.length-c[0].length));let l=Ph(n,i);return a+l+o}function Bh(e){let t=e.replace(/"[^"]*"/g,``);if(/\[[hms]\]/i.test(t))return!1;let n=t.replace(/\[[^\]]*\]/g,``),r=/[hs]/i.test(n)||/AM\/PM|A\/P/i.test(n);return/[yd]/i.test(n)||/m/i.test(n)&&!r?!1:r}function Vh(e){let t=e.replace(/"[^"]*"/g,``);if(/\[[hms]\]/i.test(t))return!1;let n=t.replace(/\[[^\]]*\]/g,``);return!!(/[yd]/i.test(n)||/m/i.test(n)&&!(/[hs]/i.test(n)||/AM\/PM|A\/P/i.test(n)))}function Hh(e,t,n){if(e instanceof Date){let r=ll(e);if(Bh(t))return r%=1,r<0&&(r+=1),zh(t,r);let i;return i=n&&Vh(t)?n:!t||wh(t)?r%1==0?Jh:Yh:t,zh(i,r)}return zh(t,e)}var Uh,Wh,Gh,Kh,qh,Jh,Yh,Xh=n((()=>{yh(),Uh=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],Wh=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Gh=[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],Kh=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],qh=[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],Jh=`yyyy-mm-dd`,Yh=`yyyy-mm-dd hh:mm:ss`}));function Zh(e,t,n){let r=em.decode(t),i=em.decode(n);return e.replace(Qh,(e,t,n,a,o)=>{if(o)return e;let s=$h.exec(a);if(s){let n=s[1],a=s[2].toUpperCase(),o=s[3],c=s[4];if(a.length>3||a.length===3&&a>`XFD`)return e;let l=em.l2n(a),u=parseInt(c,10);return n||(l+=i.col-r.col),o||(u+=i.row-r.row),(t??``)+(n??``)+em.n2l(l)+(o??``)+u}return e})}var Qh,$h,eg=n((()=>{tm(),Qh=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,$h=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i}));function tg(e){return!!e&&(typeof e!=`object`||Object.keys(e).length>0)}function ng(e){let t=``;for(let n of e)n&&typeof n.text==`string`&&(t+=n.text);return t}function rg(e){let t,n;Array.isArray(e.richText)&&e.richText.length>0?(n=e.richText,t=ng(n)):t=typeof e.text==`string`?e.text:``;let r={text:t,hyperlink:typeof e.hyperlink==`string`?e.hyperlink:``};return n&&(r.richText=n),typeof e.tooltip==`string`&&e.tooltip.length>0&&(r.tooltip=e.tooltip),r}function ig(e,t,n){let r=e&&e.styleName||t&&t.styleName;r&&(n.styleName=r);let i=e&&e.numFmt||t&&t.numFmt;i&&(n.numFmt=i);let a=e&&tg(e.font)&&e.font||t&&tg(t.font)&&t.font;a&&(n.font=structuredClone(a));let o=e&&tg(e.alignment)&&e.alignment||t&&tg(t.alignment)&&t.alignment;o&&(n.alignment=structuredClone(o));let s=e&&tg(e.border)&&e.border||t&&tg(t.border)&&t.border;s&&(n.border=structuredClone(s));let c=e&&tg(e.fill)&&e.fill||t&&tg(t.fill)&&t.fill;c&&(n.fill=structuredClone(c));let l=e&&tg(e.protection)&&e.protection||t&&tg(t.protection)&&t.protection;return l&&(n.protection=structuredClone(l)),n}function ag(e){return e.column.number}function og(e){return e._value.type}function sg(e){return e._value.effectiveType}function cg(e){return e._value.value}function lg(e,t){if(og(e)===K.Merge){lg(e._value.master,t);return}e._formulaGhostOwner=void 0,e._value.release(),e._value=jg.create(jg.getType(t),e,t)}function ug(e){e._mergeCount++}function dg(e){e._mergeCount--}function fg(e){return e._value.hyperlink}function pg(e){return e._value.toString()}function mg(e){return e._value.formula}function hg(e){return e._value.result}function gg(e){let{model:t}=e._value;return t.style=e.style,e._comment&&(t.comment=gh(e._comment)),t}function _g(e){return!!e&&typeof e==`object`&&`_value`in e&&`row`in e&&`column`in e}var K,vg,yg,bg,xg,Sg,Cg,wg,Tg,Eg,Dg,Og,kg,Ag,jg,Mg=n((()=>{lh(),vh(),Qp(),tm(),eg(),K=ch.ValueType,vg=class{constructor(e){this.model={address:e.address,type:K.Null}}get value(){return null}set value(e){}get type(){return K.Null}get effectiveType(){return K.Null}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return``}release(){}toString(){return``}},yg=class{constructor(e,t){this.model={address:e.address,type:K.Number,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return K.Number}get effectiveType(){return K.Number}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}},bg=class{constructor(e,t){this.model={address:e.address,type:K.String,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return K.String}get effectiveType(){return K.String}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return`"${this.model.value.replace(/"/g,`""`)}"`}release(){}toString(){return this.model.value}},xg=class{constructor(e,t){this.model={address:e.address,type:K.String,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}toString(){return this.model.value.richText.map(e=>e.text).join(``)}get type(){return K.RichText}get effectiveType(){return K.RichText}get address(){return this.model.address}set address(e){this.model.address=e}get text(){return this.toString()}toCsvString(){return`"${this.text.replace(/"/g,`""`)}"`}release(){}},Sg=class{constructor(e,t){this.model={address:e.address,type:K.Date,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return K.Date}get effectiveType(){return K.Date}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}},Cg=class{constructor(e,t){if(this.model={address:e.address,type:K.Hyperlink},t){if(`formula`in t&&typeof t.formula==`string`){let e=t,n=e.result===void 0||e.result===null?``:String(e.result);this.model.text=n,this.model.hyperlink=e.hyperlink??``,e.tooltip!==void 0&&(this.model.tooltip=e.tooltip),this.model.formula=e.formula,e.result!==void 0&&(this.model.result=e.result);return}let e=rg(t);this.model.text=e.text,this.model.hyperlink=e.hyperlink,e.richText&&(this.model.richText=e.richText),e.tooltip!==void 0&&(this.model.tooltip=e.tooltip)}}get value(){let e={text:this.model.text??``,hyperlink:this.model.hyperlink??``};return this.model.richText&&this.model.richText.length>0&&(e.richText=this.model.richText),this.model.tooltip!==void 0&&(e.tooltip=this.model.tooltip),e}set value(e){let t=rg(e);this.model.text=t.text,this.model.hyperlink=t.hyperlink,t.richText?this.model.richText=t.richText:delete this.model.richText,t.tooltip===void 0?delete this.model.tooltip:this.model.tooltip=t.tooltip}get text(){return this.model.text}set text(e){this.model.richText&&delete this.model.richText,this.model.text=e}get richText(){return this.model.richText}set richText(e){Array.isArray(e)&&e.length>0?(this.model.richText=e,this.model.text=ng(e)):delete this.model.richText}get hyperlink(){return this.model.hyperlink}set hyperlink(e){this.model.hyperlink=e}get type(){return K.Hyperlink}get effectiveType(){return K.Hyperlink}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.hyperlink??``}release(){}toString(){return this.model.text??``}},wg=class{constructor(e,t){this.model={address:e.address,type:K.Merge,master:t?t.address:void 0},this._master=t,t&&ug(t)}get value(){return cg(this._master)}set value(e){_g(e)?(this._master&&dg(this._master),ug(e),this._master=e):lg(this._master,e)}isMergedTo(e){return e===this._master}get master(){return this._master}get type(){return K.Merge}get effectiveType(){return sg(this._master)}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return``}release(){dg(this._master)}toString(){return this.value==null?``:this.value.toString()}},Tg=class{constructor(e,t){this.cell=e,this.model={address:e.address,type:K.Formula,shareType:t?t.shareType:void 0,ref:t?t.ref:void 0,formula:t?t.formula:void 0,sharedFormula:t?t.sharedFormula:void 0,result:t?t.result:void 0,isDynamicArray:t?t.isDynamicArray:void 0}}_copyModel(e){let t={};return e.formula&&(t.formula=e.formula),e.result!==void 0&&(t.result=e.result),e.ref&&(t.ref=e.ref),e.shareType&&(t.shareType=e.shareType),e.sharedFormula&&(t.sharedFormula=e.sharedFormula),e.isDynamicArray&&(t.isDynamicArray=e.isDynamicArray),t}get value(){return this._copyModel(this.model)}set value(e){e.formula&&(this.model.formula=e.formula),e.result!==void 0&&(this.model.result=e.result),e.ref&&(this.model.ref=e.ref),e.shareType&&(this.model.shareType=e.shareType),e.sharedFormula&&(this.model.sharedFormula=e.sharedFormula),e.isDynamicArray!==void 0&&(this.model.isDynamicArray=e.isDynamicArray)}validate(e){switch(jg.getType(e)){case K.Null:case K.String:case K.Number:case K.Date:break;case K.Hyperlink:case K.Formula:default:throw new Yp(String(jg.getType(e)),`Cannot process that type of result value`)}}get dependencies(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,``).match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}get formula(){return this.model.formula||this._getTranslatedFormula()||``}set formula(e){this.model.formula=e}get formulaType(){return this.model.formula?ch.FormulaType.Master:this.model.sharedFormula?ch.FormulaType.Shared:ch.FormulaType.None}get result(){return this.model.result}set result(e){this.model.result=e}get type(){return K.Formula}get effectiveType(){let e=this.model.result;return e==null?ch.ValueType.Null:typeof e==`string`?ch.ValueType.String:typeof e==`number`?ch.ValueType.Number:e instanceof Date?ch.ValueType.Date:typeof e==`object`&&`error`in e?ch.ValueType.Error:ch.ValueType.Null}get address(){return this.model.address}set address(e){this.model.address=e}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){let{worksheet:e}=this.cell.row,t=em.getAddress(this.model.sharedFormula),n=e._rows[t.row-1],r=n?n.cells[t.col-1]:void 0;this._translatedFormula=r&&mg(r)?Zh(mg(r),r.address,this.model.address):void 0}return this._translatedFormula}toCsvString(){return`${this.model.result??``}`}release(){}toString(){return this.model.result?this.model.result.toString():``}},Eg=class{constructor(e,t){this.model={address:e.address,type:K.SharedString,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return K.SharedString}get effectiveType(){return K.SharedString}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}},Dg=class{constructor(e,t){this.model={address:e.address,type:K.Boolean,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return K.Boolean}get effectiveType(){return K.Boolean}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return+!!this.model.value}release(){}toString(){return this.model.value.toString()}},Og=class{constructor(e,t){this.model={address:e.address,type:K.Checkbox,value:t.checkbox}}get value(){return{checkbox:this.model.value}}set value(e){this.model.value=e.checkbox}get type(){return K.Checkbox}get effectiveType(){return K.Boolean}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return+!!this.model.value}release(){}toString(){return this.model.value.toString()}},kg=class{constructor(e,t){this.model={address:e.address,type:K.Error,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return K.Error}get effectiveType(){return K.Error}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}},Ag=class{constructor(e,t){this.model={address:e.address,type:K.String,value:JSON.stringify(t),rawValue:t}}get value(){return this.model.rawValue}set value(e){this.model.rawValue=e,this.model.value=JSON.stringify(e)}get type(){return K.String}get effectiveType(){return K.String}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}},jg={getType(e){if(e==null)return K.Null;if(typeof e==`string`)return K.String;if(typeof e==`number`)return K.Number;if(typeof e==`boolean`)return K.Boolean;if(e instanceof Date)return K.Date;if(typeof e==`object`){if(`checkbox`in e&&typeof e.checkbox==`boolean`)return K.Checkbox;if(`hyperlink`in e&&typeof e.hyperlink==`string`&&e.hyperlink){let t=`text`in e&&typeof e.text==`string`&&e.text.length>0,n=`richText`in e&&Array.isArray(e.richText)&&e.richText.length>0,r=`formula`in e&&typeof e.formula==`string`;if(t||n||r)return K.Hyperlink}if(`formula`in e&&e.formula||`sharedFormula`in e&&e.sharedFormula)return K.Formula;if(`richText`in e&&Array.isArray(e.richText)&&e.richText.length>0)return K.RichText;if(`sharedString`in e&&e.sharedString)return K.SharedString;if(`error`in e&&e.error)return K.Error}return K.JSON},types:[{t:K.Null,f:vg},{t:K.Number,f:yg},{t:K.String,f:bg},{t:K.Date,f:Sg},{t:K.Hyperlink,f:Cg},{t:K.Formula,f:Tg},{t:K.Merge,f:wg},{t:K.JSON,f:Ag},{t:K.SharedString,f:Eg},{t:K.RichText,f:xg},{t:K.Boolean,f:Dg},{t:K.Error,f:kg},{t:K.Checkbox,f:Og}].reduce((e,t)=>(e[t.t]=t.f,e),[]),create(e,t,n){let r=this.types[e];if(!r)throw new Yp(String(e),`Could not create Value`);return new r(t,n)}}}));function Ng(e){return e.width!==void 0&&e.width!==Bg}function Pg(e){return!!e.hidden}function Fg(e){return e.outlineLevel??0}function Ig(e){return!!(e.outlineLevel&&e.outlineLevel>=(e.worksheet.properties.outlineLevelCol??0))}function Lg(e,t){return e.width===t.width&&Pg(e)===t.hidden&&Fg(e)===t.outlineLevel&&e.bestFit===t.bestFit&&dh(e.style,t.style)}function Rg(e){if(Ng(e)||Pg(e)||Fg(e)||e.bestFit)return!1;let t=e.style;return!(t&&(t.font||t.numFmt||t.alignment||t.border||t.fill||t.protection||t.styleName))}function zg(e){let t=[],n=null;return e.forEach((e,r)=>{Rg(e)?n&&=null:!n||!Lg(e,n)?(n={min:r+1,max:r+1,width:e.width===void 0?Bg:e.width,style:e.style,isCustomWidth:Ng(e),hidden:Pg(e),outlineLevel:Fg(e),collapsed:Ig(e),bestFit:e.bestFit},t.push(n)):n.max=r+1}),t.length?t:void 0}var Bg,Vg=n((()=>{hh(),Bg=9}));function Hg(e,t){return{worksheet:e,number:t,cells:[],style:{},outlineLevel:0}}function Ug(e,t){return e.cells[t-1]}function Wg(e){return e.cells.some(e=>e&&og(e)!==ch.ValueType.Null)}function Gg(e){let t=0,n=0;return e.cells.forEach(e=>{e&&og(e)!==ch.ValueType.Null&&((!t||t>ag(e))&&(t=ag(e)),n<ag(e)&&(n=ag(e)))}),t>0?{min:t,max:n}:null}function Kg(e){return!!e.hidden}function qg(e){return e.outlineLevel??0}function Jg(e){return!!(e.outlineLevel&&e.outlineLevel>=(e.worksheet.properties.outlineLevelRow??0))}function Yg(e){let t=[],n=0,r=0;return e.cells.forEach(e=>{if(e){let i=gg(e),a=e._formulaGhostOwner===void 0?i:{address:i.address,type:ch.ValueType.Null,style:i.style,comment:i.comment};a&&((!n||n>ag(e))&&(n=ag(e)),r<ag(e)&&(r=ag(e)),t.push(a))}}),e.height!=null||t.length?{cells:t,number:e.number,min:n,max:r,height:e.height,customHeight:e.customHeight,style:e.style,hidden:Kg(e),outlineLevel:qg(e),collapsed:Jg(e),dyDescent:e.dyDescent}:null}var Xg=n((()=>{Mg(),lh()}));function Zg(e){return e._name}function Qg(e){return e._workbook}function $g(e,t){return e._rows[t-1]}function e_(e,t){let n=e._rows[t-1];return n||=e._rows[t-1]=Hg(e,t),n}function t_(e,t,n){let r,i;if(typeof t==`function`?i=t:(r=t,i=n),r&&r.includeEmpty){let t=e._rows.length;for(let n=1;n<=t;n++)i(e_(e,n),n)}else e._rows.forEach(e=>{e&&Wg(e)&&i(e,e.number)})}function n_(e,t,n){let r=em.getAddress(t,n),i=e._rows[r.row-1];return i?Ug(i,r.col):void 0}function r_(e){return Object.values(e.tables)}var i_=n((()=>{Xg(),tm()}));function a_(e){return e.table}function o_(e){return e.table.name}function s_(e){return e.table.displayName||e.table.name}var c_=n((()=>{}));function l_(e,t){return e.media[Number(t)]}function u_(e,t){return e._chartEntries[t]}function d_(e,t){return e._chartExStructuredEntries?.[t]}function f_(e,t){if(t===void 0)return e._worksheets.find(Boolean);if(typeof t==`number`)return e._worksheets[t];if(typeof t==`string`){let n=t.toLowerCase();return e._worksheets.find(e=>e&&Zg(e).toLowerCase()===n)}}function p_(e){return e._worksheets.slice(1).sort((e,t)=>e.orderNo-t.orderNo).filter(Boolean)}var m_=n((()=>{i_()}));function h_(e,t,n){let r=p_(e),i=e._definedNames?$m(e._definedNames).map(e=>({name:e.name,ranges:[...e.ranges],localSheetId:e.localSheetId})):[],a=t?Zg(t):void 0,o=t?t.orderNo??r.indexOf(t):void 0,s=r.map(e=>({name:Zg(e),orderNo:e.orderNo,cells:new Map,tables:g_(e)})),c=u(s),l=n?nm(n,c):void 0;return u(r.map((e,t)=>{let n=new Map,r=l?.get(Zg(e).toLowerCase());if(l)for(let t of r??[]){let[r,i]=t.split(`:`).map(Number),a=n_(e,r,i);a&&n.set(t,y_(cg(a)))}else t_(e,e=>{e.cells.forEach((t,r)=>{t&&n.set(Wp(e.number,r+1),y_(cg(t)))})});return{...s[t],cells:n}}));function u(t){return{worksheets:t,worksheetsByName:new Map(t.map(e=>[e.name.toLowerCase(),e])),definedNames:i,date1904:e.properties?.date1904??!1,contextSheetName:a,contextLocalSheetId:o!==void 0&&o>=0?o:void 0}}}function g_(e){return r_(e).map(e=>{let t=a_(e);return{name:o_(e),displayName:s_(e),ref:t.tableRef??t.ref,columns:t.columns.map(e=>e.name),headerRow:t.headerRow!==!1,totalsRow:t.totalsRow===!0}})}function __(e,t,n){im(rm(e,h_(t,n,v_(e)),{includeSkippedDimensions:!0}))}function v_(e){let t=new Set;return n(e),[...t];function n(e){if(Array.isArray(e))e.forEach(n);else if(typeof e==`object`&&e)for(let[r,i]of Object.entries(e))r===`formula`&&typeof i==`string`?t.add(i):n(i)}}function y_(e){if(e!=null){if(typeof e==`object`&&`result`in e)return y_(e.result);if(typeof e==`object`&&`richText`in e)return e.richText?.map(e=>e.text??``).join(``);if(!(typeof e==`object`&&`error`in e)){if(typeof e==`object`&&`text`in e&&`hyperlink`in e)return e.text;if(e instanceof Date)return new Date(e.getTime());if(typeof e==`number`||typeof e==`string`||typeof e==`boolean`)return e}}}var b_=n((()=>{Pm(),Gp(),Mg(),nh(),c_(),m_(),i_()})),x_,S_,C_=n((()=>{v(),x_=class extends _{constructor(...e){super(...e),this.name=`XmlError`}},S_=class extends x_{constructor(e,t,n){let r=[];t?.fileName&&r.push(t.fileName),t?.line!==void 0&&r.push(`${t.line}:${t.column??0}`);let i=r.length>0?`${r.join(`:`)}: `:``;super(`${i}${e}`,n),this.name=`XmlParseError`,this.line=t?.line,this.column=t?.column,this.fileName=t?.fileName}}})),w_=n((()=>{dn()}));function T_(e){return!Number.isFinite(e)||e<0?0:e>1?1:e}function q(e,t,n,r){let i=n-t;return!Number.isFinite(i)||i===0?r.y+r.height/2:r.y+r.height-(e-t)/i*r.height}function E_(e,t,n,r){let i=n-t;return!Number.isFinite(i)||i===0?r.x+r.width/2:r.x+(e-t)/i*r.width}function D_(e,t,n,r){return{x:e+Math.cos(r)*n,y:t+Math.sin(r)*n}}function O_(e,t){let n=Number.isFinite(t)?t:0,r=Number.isFinite(e.x)?e.x+n:0,i=Number.isFinite(e.y)?e.y+n:0,a=Number.isFinite(e.width)?e.width-n*2:0,o=Number.isFinite(e.height)?e.height-n*2:0;return{x:r,y:i,width:a>0?a:0,height:o>0?o:0}}function J(e){return Number.isFinite(e)?e.toFixed(2).replace(/\.00$/,``):`0`}function k_(e){if(!Number.isFinite(e))return``;if(Number.isInteger(e))return String(e);let t=Math.abs(e);return t!==0&&t<.01?e.toExponential(2):e.toFixed(1)}function A_(e){let t=!1,n=e.length;for(let r=0;r<n;r++){let i=e.charCodeAt(r);if(i<32){if(i!==9&&i!==10&&i!==13){t=!0;break}}else if(i>=55296&&i<=56319){let i=r+1<n?e.charCodeAt(r+1):0;if(i>=56320&&i<=57343)r++;else{t=!0;break}}else if(i>=56320&&i<=57343){t=!0;break}else if(i===127||i===65534||i===65535){t=!0;break}}return(t?j_(e):e).replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`)}function j_(e){return cn(e)}function M_(e){if(!e)return;let t=e.replace(/^#/,``).toUpperCase();if(/^[0-9A-F]{6}([0-9A-F]{2})?$/.test(t))return t.slice(0,6);if(/^[0-9A-F]{3}([0-9A-F])?$/.test(t))return t.slice(0,3).split(``).map(e=>e+e).join(``)}function N_(e){if(!e)return;let t=e.replace(/^#/,``).toUpperCase();if(/^[0-9A-F]{8}$/.test(t))return parseInt(t.slice(6,8),16)/255;if(/^[0-9A-F]{4}$/.test(t)){let e=t[3];return parseInt(e+e,16)/255}}function P_(e,t){let n=M_(e);if(!n)return e;let r=Number.isFinite(t)?Math.max(0,Math.min(1,t)):1,i=e=>Math.round(parseInt(e,16)*r+255*(1-r)).toString(16).padStart(2,`0`).toUpperCase();return`#${i(n.slice(0,2))}${i(n.slice(2,4))}${i(n.slice(4,6))}`}function F_(e,t,n){let r=M_(e),i=M_(t),a=T_(n);if(!r||!i)return`#${a>=.5?i??r??`000000`:r??i??`000000`}`;let o=e=>{let t=parseInt(r.slice(e,e+2),16),n=parseInt(i.slice(e,e+2),16);return Math.round(t+(n-t)*a).toString(16).padStart(2,`0`).toUpperCase()};return`#${o(0)}${o(2)}${o(4)}`}function Y(e){let t=M_(e);if(!t)return{r:0,g:0,b:0};let n=N_(e),r={r:parseInt(t.slice(0,2),16)/255,g:parseInt(t.slice(2,4),16)/255,b:parseInt(t.slice(4,6),16)/255};return n===void 0?r:{...r,a:n}}function I_(e,t){return{...Y(e),a:T_(t)}}function L_(e){if(e){if(typeof e.srgb==`string`){let t=e.srgb.replace(/^#/,``);return/^[0-9a-fA-F]{6}$/.test(t)?`#${t.toUpperCase()}`:/^[0-9a-fA-F]{8}$/.test(t)?`#${t.slice(0,6).toUpperCase()}`:void 0}if(typeof e.theme==`number`&&Number.isInteger(e.theme)&&e.theme>=0&&e.theme<U_.length)return U_[e.theme];if(typeof e.schemeName!=`string`){if(typeof e.sysClr==`string`)return e.sysClr===`windowText`?`#000000`:e.sysClr===`window`?`#FFFFFF`:void 0;if(typeof e.prstClr==`string`){let t=W_[e.prstClr];return t?`#${t}`:void 0}}}}function R_(e,t){return L_(e?.solid)??t}function z_(e){return L_(e?.color)}function B_(e){return typeof e?.width==`number`?Math.max(.5,Xc(e.width)):void 0}var X,V_,H_,U_,W_,G_=n((()=>{ps(),al(),w_(),X=[`#${us.accent1}`,`#${us.accent2}`,`#${us.accent3}`,`#${us.accent4}`,`#${us.accent5}`,`#${us.accent6}`],V_=`#444444`,H_=`#D9D9D9`,U_=Object.freeze(ds.map(e=>`#${e}`)),Object.freeze([`dk1`,`lt1`,`dk2`,`lt2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`]),W_=Object.freeze({aliceBlue:`F0F8FF`,antiqueWhite:`FAEBD7`,aqua:`00FFFF`,aquamarine:`7FFFD4`,azure:`F0FFFF`,beige:`F5F5DC`,bisque:`FFE4C4`,black:`000000`,blanchedAlmond:`FFEBCD`,blue:`0000FF`,blueViolet:`8A2BE2`,brown:`A52A2A`,burlyWood:`DEB887`,cadetBlue:`5F9EA0`,chartreuse:`7FFF00`,chocolate:`D2691E`,coral:`FF7F50`,cornflowerBlue:`6495ED`,cornsilk:`FFF8DC`,crimson:`DC143C`,cyan:`00FFFF`,darkBlue:`00008B`,darkCyan:`008B8B`,darkGoldenrod:`B8860B`,darkGray:`A9A9A9`,darkGreen:`006400`,darkGrey:`A9A9A9`,darkKhaki:`BDB76B`,darkMagenta:`8B008B`,darkOliveGreen:`556B2F`,darkOrange:`FF8C00`,darkOrchid:`9932CC`,darkRed:`8B0000`,darkSalmon:`E9967A`,darkSeaGreen:`8FBC8F`,darkSlateBlue:`483D8B`,darkSlateGray:`2F4F4F`,darkSlateGrey:`2F4F4F`,darkTurquoise:`00CED1`,darkViolet:`9400D3`,deepPink:`FF1493`,deepSkyBlue:`00BFFF`,dimGray:`696969`,dimGrey:`696969`,dkBlue:`00008B`,dkCyan:`008B8B`,dkGoldenrod:`B8860B`,dkGray:`A9A9A9`,dkGreen:`006400`,dkGrey:`A9A9A9`,dkKhaki:`BDB76B`,dkMagenta:`8B008B`,dkOliveGreen:`556B2F`,dkOrange:`FF8C00`,dkOrchid:`9932CC`,dkRed:`8B0000`,dkSalmon:`E9967A`,dkSeaGreen:`8FBC8F`,dkSlateBlue:`483D8B`,dkSlateGray:`2F4F4F`,dkSlateGrey:`2F4F4F`,dkTurquoise:`00CED1`,dkViolet:`9400D3`,dodgerBlue:`1E90FF`,firebrick:`B22222`,floralWhite:`FFFAF0`,forestGreen:`228B22`,fuchsia:`FF00FF`,gainsboro:`DCDCDC`,ghostWhite:`F8F8FF`,gold:`FFD700`,goldenrod:`DAA520`,gray:`808080`,green:`008000`,greenYellow:`ADFF2F`,grey:`808080`,honeydew:`F0FFF0`,hotPink:`FF69B4`,indianRed:`CD5C5C`,indigo:`4B0082`,ivory:`FFFFF0`,khaki:`F0E68C`,lavender:`E6E6FA`,lavenderBlush:`FFF0F5`,lawnGreen:`7CFC00`,lemonChiffon:`FFFACD`,lightBlue:`ADD8E6`,lightCoral:`F08080`,lightCyan:`E0FFFF`,lightGoldenrodYellow:`FAFAD2`,lightGray:`D3D3D3`,lightGreen:`90EE90`,lightGrey:`D3D3D3`,lightPink:`FFB6C1`,lightSalmon:`FFA07A`,lightSeaGreen:`20B2AA`,lightSkyBlue:`87CEFA`,lightSlateGray:`778899`,lightSlateGrey:`778899`,lightSteelBlue:`B0C4DE`,lightYellow:`FFFFE0`,ltBlue:`ADD8E6`,ltCoral:`F08080`,ltCyan:`E0FFFF`,ltGoldenrodYellow:`FAFAD2`,ltGray:`D3D3D3`,ltGreen:`90EE90`,ltGrey:`D3D3D3`,ltPink:`FFB6C1`,ltSalmon:`FFA07A`,ltSeaGreen:`20B2AA`,ltSkyBlue:`87CEFA`,ltSlateGray:`778899`,ltSlateGrey:`778899`,ltSteelBlue:`B0C4DE`,ltYellow:`FFFFE0`,lime:`00FF00`,limeGreen:`32CD32`,linen:`FAF0E6`,magenta:`FF00FF`,maroon:`800000`,medAquamarine:`66CDAA`,medBlue:`0000CD`,medOrchid:`BA55D3`,medPurple:`9370DB`,medSeaGreen:`3CB371`,medSlateBlue:`7B68EE`,medSpringGreen:`00FA9A`,medTurquoise:`48D1CC`,medVioletRed:`C71585`,mediumAquamarine:`66CDAA`,mediumBlue:`0000CD`,mediumOrchid:`BA55D3`,mediumPurple:`9370DB`,mediumSeaGreen:`3CB371`,mediumSlateBlue:`7B68EE`,mediumSpringGreen:`00FA9A`,mediumTurquoise:`48D1CC`,mediumVioletRed:`C71585`,midnightBlue:`191970`,mintCream:`F5FFFA`,mistyRose:`FFE4E1`,moccasin:`FFE4B5`,navajoWhite:`FFDEAD`,navy:`000080`,oldLace:`FDF5E6`,olive:`808000`,oliveDrab:`6B8E23`,orange:`FFA500`,orangeRed:`FF4500`,orchid:`DA70D6`,paleGoldenrod:`EEE8AA`,paleGreen:`98FB98`,paleTurquoise:`AFEEEE`,paleVioletRed:`DB7093`,papayaWhip:`FFEFD5`,peachPuff:`FFDAB9`,peru:`CD853F`,pink:`FFC0CB`,plum:`DDA0DD`,powderBlue:`B0E0E6`,purple:`800080`,red:`FF0000`,rosyBrown:`BC8F8F`,royalBlue:`4169E1`,saddleBrown:`8B4513`,salmon:`FA8072`,sandyBrown:`F4A460`,seaGreen:`2E8B57`,seaShell:`FFF5EE`,sienna:`A0522D`,silver:`C0C0C0`,skyBlue:`87CEEB`,slateBlue:`6A5ACD`,slateGray:`708090`,slateGrey:`708090`,snow:`FFFAFA`,springGreen:`00FF7F`,steelBlue:`4682B4`,tan:`D2B48C`,teal:`008080`,thistle:`D8BFD8`,tomato:`FF6347`,turquoise:`40E0D0`,violet:`EE82EE`,wheat:`F5DEB3`,white:`FFFFFF`,whiteSmoke:`F5F5F5`,yellow:`FFFF00`,yellowGreen:`9ACD32`})}));function K_(e){return e?._rawXml}function q_(e){if(!e||typeof e._rawXml!=`string`)return!1;for(let t of[`fill`,`line`,`effectList`,`scene3d`,`sp3d`,`transform`,`presetGeometry`,`customGeometry`])if(e[t]!==void 0)return!1;return!0}function J_(e,t,n){let r=e.indexOf(n,t.index);if(r>=0){let i=e.indexOf(`>`,r);return e.slice(t.index,i>=0?i+1:r+n.length)}let i=e.indexOf(`>`,t.index);return e.slice(t.index,i>=0?i+1:t.index+t[0].length)}function Y_(e,t){let n=e=>e?Math.round(parseFloat(e[1])):void 0,r=n(/<a:alpha\s+val="(-?\d+(?:\.\d+)?)"/.exec(e));r!==void 0&&(t.alpha=r);let i=/<a:tint\s+val="(-?\d+(?:\.\d+)?)"/.exec(e);i&&(t.tint=parseFloat(i[1])/1e5);let a=n(/<a:shade\s+val="(-?\d+(?:\.\d+)?)"/.exec(e));a!==void 0&&(t.shade=a);let o=n(/<a:satMod\s+val="(-?\d+(?:\.\d+)?)"/.exec(e));o!==void 0&&(t.satMod=o);let s=n(/<a:lumMod\s+val="(-?\d+(?:\.\d+)?)"/.exec(e));s!==void 0&&(t.lumMod=s);let c=n(/<a:lumOff\s+val="(-?\d+(?:\.\d+)?)"/.exec(e));c!==void 0&&(t.lumOff=c)}function X_(e){let t=vv.exec(e);if(t){let n={srgb:t[1].toUpperCase()};return Y_(J_(e,t,`</a:srgbClr`),n),n}let n=yv.exec(e);if(n){let t={dk1:0,tx1:0,lt1:1,bg1:1,dk2:2,tx2:2,lt2:3,bg2:3,accent1:4,accent2:5,accent3:6,accent4:7,accent5:8,accent6:9,hlink:10,folHlink:11},r=n[1],i=t[r],a=i===void 0?{schemeName:r}:{theme:i};return Y_(J_(e,n,`</a:schemeClr`),a),a}let r=xv.exec(e);if(r){let t={sysClr:r[1]};return Y_(J_(e,r,`</a:sysClr`),t),t}let i=Sv.exec(e);if(i){let t={prstClr:i[1]};return Y_(J_(e,i,`</a:prstClr`),t),t}}function Z_(e){let t=e.indexOf(`<a:gradFill`),n=e.indexOf(`</a:gradFill`);if(t<0||n<0)return;let r=e.slice(t,n+20),i=[],a=r.indexOf(`<a:gsLst`),o=r.indexOf(`</a:gsLst`);if(a>=0&&o>=0){let e=r.slice(a,o+12),t=/<a:gs\s+pos="(-?\d+(?:\.\d+)?)"/g,n,s=[];for(;(n=t.exec(e))!==null;)s.push({pos:parseFloat(n[1]),startIdx:n.index});for(let t=0;t<s.length;t++){let n=s[t].startIdx,r=t+1<s.length?s[t+1].startIdx:e.length,a=X_(e.slice(n,r));a&&i.push({position:s[t].pos/1e5,color:a})}}if(i.length<2)return;let s,c,l,u=/<a:lin\b([^/>]*)\/?>/.exec(r);if(u){let e=u[1],t=/\bang="(-?\d+(?:\.\d+)?)"/.exec(e);t&&(s=parseFloat(t[1])/6e4);let n=/\bscaled="(1|true|0|false)"/.exec(e);n&&(c=n[1]===`1`||n[1]===`true`),l=`linear`}let d=/<a:path\s+path="([^"]+)"/.exec(r),f;if(d){l=d[1];let e=/<a:fillToRect\b([^/>]*)/.exec(r);if(e){let t=e[1],n=e=>{let n=RegExp(`\\b${e}="(-?\\d+(?:\\.\\d+)?)"`).exec(t);return n?parseFloat(n[1])/1e5:void 0};f={left:n(`l`),top:n(`t`),right:n(`r`),bottom:n(`b`)},f.left===void 0&&f.top===void 0&&f.right===void 0&&f.bottom===void 0&&(f=void 0)}}return{gradient:{stops:i,angle:s,type:l,...c===void 0?{}:{scaled:c},...f?{fillToRect:f}:{}}}}function Q_(e){let t=/<a:pattFill\s+prst="([^"]+)"/.exec(e);if(!t)return;let n=t[1],r=t.index,i=e.indexOf(`</a:pattFill`,r),a=e.slice(r,i>0?i+15:void 0),o=(e,t,n)=>{let r=a.indexOf(e);if(r<0)return``;let i=a.indexOf(t,r);if(i>=0)return a.slice(r,i+t.length+1);let o=a.indexOf(n,r+e.length);return a.slice(r,o>0?o:void 0)},s=o(`<a:fgClr`,`</a:fgClr`,`<a:bgClr`),c=o(`<a:bgClr`,`</a:bgClr`,`<a:fgClr`);return{pattern:{preset:n,foreground:s?X_(s):void 0,background:c?X_(c):void 0}}}function $_(e,t){let n=RegExp(`<${t}\\b[^>]*/>`),r=RegExp(`<${t}\\b[^>]*(?<!/)>`),i=RegExp(`</${t}>`),a=e;for(let e=0;e<8;e++){let e=n.exec(a),t=r.exec(a),o=e?e.index:1/0,s=t?t.index:1/0;if(o===1/0&&s===1/0)break;if(o<s&&e){a=a.slice(0,e.index)+a.slice(e.index+e[0].length);continue}if(t){let e=t.index+t[0].length,n=i.exec(a.slice(e));if(!n)break;let r=e+n.index+n[0].length;a=a.slice(0,t.index)+a.slice(r);continue}break}return a}function ev(e){let t=K_(e);if(!t)return e;let n={},r=$_(t,`a:ln`),i=!1,a=/<a:solidFill\s*\/>/.exec(r),o=r.indexOf(`<a:solidFill`);if(o>=0&&!a){let e=r.indexOf(`</a:solidFill>`,o);if(e>=0){let t=X_(r.slice(o,e+14));t&&(n.fill={solid:t},i=!0)}}i||(r.includes(`<a:noFill`)?n.fill={noFill:!0}:r.includes(`<a:gradFill`)?n.fill=Z_(r):r.includes(`<a:pattFill`)&&(n.fill=Q_(r)));let s=/<a:ln(?=[\s/>])([^>]*)/.exec(t);if(s){let e=/\/\s*$/.test(s[1]),r=s.index+s[0].length+1,i=e?-1:t.indexOf(`</a:ln>`,s.index),a=e?t.slice(s.index,r):i>=0?t.slice(s.index,i+7):t.slice(s.index,r),o={},c=/\bw="(\d+)"/.exec(s[1]);if(c&&(o.width=parseInt(c[1],10)),a.includes(`<a:noFill`))o.noFill=!0;else if(a.includes(`<a:solidFill`)){let e=/<a:solidFill>([\s\S]*?)<\/a:solidFill>/.exec(a);o.color=X_(e?e[1]:a)}let l=/<a:prstDash\s+val="([^"]+)"/.exec(a);l&&(o.dash=l[1]),n.line=o}if(t.includes(`<a:effectLst`)||t.includes(`<a:effectDag`)){let e=ov(t);e&&(n.effectList=e)}if(t.includes(`<a:scene3d`)){let e=cv(t);e&&(n.scene3d=e)}if(t.includes(`<a:sp3d`)){let e=lv(t);e&&(n.sp3d=e)}if(t.includes(`<a:xfrm`)){let e=tv(t);e&&(n.transform=e)}if(t.includes(`<a:prstGeom`)){let e=nv(t);e&&(n.presetGeometry=e)}if(t.includes(`<a:custGeom`)){let e=rv(t);e&&(n.customGeometry=e)}return n}function tv(e){let t=/<a:xfrm\b([^>]*)(?:\/>|>([\s\S]*?)<\/a:xfrm>)/.exec(e);if(!t)return;let n=t[1]??``,r=t[2]??``,i={},a=/\brot="(-?\d+)"/.exec(n);a&&(i.rotation=parseInt(a[1],10)),/\bflipH="1"/.test(n)&&(i.flipHorizontal=!0),/\bflipV="1"/.test(n)&&(i.flipVertical=!0);let o=/<a:off\b([^/>]*)\/>/.exec(r);if(o){let e=/\bx="(-?\d+)"/.exec(o[1]),t=/\by="(-?\d+)"/.exec(o[1]);e&&(i.offsetX=parseInt(e[1],10)),t&&(i.offsetY=parseInt(t[1],10))}let s=/<a:ext\b([^/>]*)\/>/.exec(r);if(s){let e=/\bcx="(\d+)"/.exec(s[1]),t=/\bcy="(\d+)"/.exec(s[1]);e&&(i.width=parseInt(e[1],10)),t&&(i.height=parseInt(t[1],10))}return Object.keys(i).length>0?i:void 0}function nv(e){let t=/<a:prstGeom\b([^>]*)(?:\/>|>([\s\S]*?)<\/a:prstGeom>)/.exec(e);if(!t)return;let n=t[1]??``,r=t[2]??``,i=/\bprst="([^"]+)"/.exec(n);if(!i)return;let a={preset:i[1]},o=iv(r);return o.length>0&&(a.adjustments=o),a}function rv(e){let t=/<a:custGeom\b[^>]*>([\s\S]*?)<\/a:custGeom>/.exec(e);if(!t)return;let n=t[1],r={},i=iv(n);i.length>0&&(r.adjustments=i);let a=[],o=/<a:path\b([^>]*)>([\s\S]*?)<\/a:path>/g,s;for(;(s=o.exec(n))!==null;){let e=s[1]??``,t=s[2]??``,n={commands:[]},r=/\bw="(\d+)"/.exec(e),i=/\bh="(\d+)"/.exec(e);r&&(n.w=parseInt(r[1],10)),i&&(n.h=parseInt(i[1],10));let o=/\bfill="([^"]+)"/.exec(e);o&&(n.fill=o[1]),/\bstroke="1"/.test(e)?n.stroke=!0:/\bstroke="0"/.test(e)&&(n.stroke=!1),n.commands=av(t),a.push(n)}return a.length>0&&(r.paths=a),Object.keys(r).length>0?r:void 0}function iv(e){let t=/<a:avLst\b[^>]*>([\s\S]*?)<\/a:avLst>/.exec(e);if(!t)return[];let n=[],r=/<a:gd\b[^>]*\bname="([^"]+)"[^>]*\bfmla="([^"]+)"[^>]*\/>/g,i;for(;(i=r.exec(t[1]))!==null;)n.push({name:i[1],fmla:i[2]});return n}function av(e){let t=[],n=/<a:(moveTo|lnTo|cubicBezTo|quadBezTo|arcTo|close)\b([^/>]*)(?:\/>|>([\s\S]*?)<\/a:\1>)/g,r;for(;(r=n.exec(e))!==null;){let e=r[1],n=r[2]??``,i=r[3]??``;if(e===`close`){t.push({type:`close`});continue}if(e===`arcTo`){let e=/\bwR="(-?\d+)"/.exec(n)?.[1],r=/\bhR="(-?\d+)"/.exec(n)?.[1],i=/\bstAng="(-?\d+)"/.exec(n)?.[1],a=/\bswAng="(-?\d+)"/.exec(n)?.[1];e&&r&&i&&a&&t.push({type:`arcTo`,arcParams:{wR:parseInt(e,10),hR:parseInt(r,10),stAng:parseInt(i,10),swAng:parseInt(a,10)}});continue}let a=[],o=/<a:pt\b([^/>]*)\/>/g,s;for(;(s=o.exec(i))!==null;){let e=s[1],t=/\bx="(-?\d+)"/.exec(e),n=/\by="(-?\d+)"/.exec(e);t&&n&&a.push({x:parseInt(t[1],10),y:parseInt(n[1],10)})}t.push({type:e,points:a})}return t}function ov(e){let t=e.indexOf(`<a:effectLst`),n=e.indexOf(`</a:effectLst`);if(t<0||n<0)return;let r=e.slice(t,n+14),i={},a=/<a:blur(\s+[^/>]*)?\s*\/>/.exec(r);if(a){let e=dv(a[0]);i.blur={},e.rad&&(i.blur.radius=parseInt(e.rad,10)),e.grow===`1`&&(i.blur.grow=!0)}let o=sv(r,`a:outerShdw`);o&&(i.outerShadow=o);let s=sv(r,`a:innerShdw`);s&&(i.innerShadow=s);let c=/<a:prstShdw\s+([^>]*)>([\s\S]*?)<\/a:prstShdw>/.exec(r);if(c){let e=dv(c[0]),t=X_(c[2]);e.prst&&t&&(i.presetShadow={preset:e.prst,color:t},e.dist&&(i.presetShadow.distance=parseInt(e.dist,10)),e.dir&&(i.presetShadow.direction=parseInt(e.dir,10)))}let l=/<a:glow\s+([^>]*)>([\s\S]*?)<\/a:glow>/.exec(r);if(l){let e=dv(l[0]),t=X_(l[2]);e.rad&&t&&(i.glow={radius:parseInt(e.rad,10),color:t})}let u=/<a:softEdge\s+([^/>]*)\s*\/>/.exec(r);if(u){let e=dv(u[0]);e.rad&&(i.softEdge={radius:parseInt(e.rad,10)})}let d=/<a:reflection\s+([^/>]*)\s*\/>/.exec(r);if(d){let e=dv(d[0]),t={};e.blurRad&&(t.blurRadius=parseInt(e.blurRad,10)),e.stA&&(t.startOpacity=parseInt(e.stA,10)),e.stPos&&(t.startPosition=parseInt(e.stPos,10)),e.endA&&(t.endOpacity=parseInt(e.endA,10)),e.endPos&&(t.endPosition=parseInt(e.endPos,10)),e.dist&&(t.distance=parseInt(e.dist,10)),e.dir&&(t.direction=parseInt(e.dir,10)),e.fadeDir&&(t.fadeDirection=parseInt(e.fadeDir,10)),e.sx&&(t.scaleHorizontal=parseInt(e.sx,10)),e.sy&&(t.scaleVertical=parseInt(e.sy,10)),e.kx&&(t.skewHorizontal=parseInt(e.kx,10)),e.ky&&(t.skewVertical=parseInt(e.ky,10)),e.algn&&(t.alignment=e.algn),e.rotWithShape===`1`&&(t.rotateWithShape=!0),i.reflection=t}if(Object.keys(i).length!==0)return i}function sv(e,t){let n=(bv[t]??RegExp(`<${t}\\s+([^>]*)>([\\s\\S]*?)<\\/${t}>`)).exec(e);if(!n)return;let r=dv(n[0]),i=X_(n[2]);if(!i)return;let a={color:i};return r.blurRad&&(a.blurRadius=parseInt(r.blurRad,10)),r.dist&&(a.distance=parseInt(r.dist,10)),r.dir&&(a.direction=parseInt(r.dir,10)),r.algn&&(a.alignment=r.algn),r.rotWithShape===`1`&&(a.rotateWithShape=!0),r.sx&&(a.scaleHorizontal=parseInt(r.sx,10)),r.sy&&(a.scaleVertical=parseInt(r.sy,10)),r.kx&&(a.skewHorizontal=parseInt(r.kx,10)),r.ky&&(a.skewVertical=parseInt(r.ky,10)),a}function cv(e){let t=e.indexOf(`<a:scene3d`),n=e.indexOf(`</a:scene3d`);if(t<0||n<0)return;let r=e.slice(t,n+13),i={},a=/<a:camera\s+([^>]*)(?:\/|>[\s\S]*?<\/a:camera)>/.exec(r);if(a){let e=dv(a[0]);if(e.prst){i.camera={preset:e.prst},e.fov&&(i.camera.fov=parseInt(e.fov,10)),e.zoom&&(i.camera.zoom=parseInt(e.zoom,10));let t=/<a:rot\s+([^/>]*)\s*\/>/.exec(a[0]);if(t){let e=dv(t[0]);e.lat&&e.lon&&e.rev&&(i.camera.rotation={lat:parseInt(e.lat,10),lon:parseInt(e.lon,10),rev:parseInt(e.rev,10)})}}}let o=/<a:lightRig\s+([^>]*)(?:\/|>[\s\S]*?<\/a:lightRig)>/.exec(r);if(o){let e=dv(o[0]);e.rig&&e.dir&&(i.lightRig={rig:e.rig,direction:e.dir})}if(!(!i.camera&&!i.lightRig))return i}function lv(e){let t=e.indexOf(`<a:sp3d`);if(t<0)return;let n=e.indexOf(`/>`,t),r=e.indexOf(`>`,t),i=n>=0&&(r<0||n<r),a;if(i)a=e.slice(t,n+2);else if(r>=0){let n=e.indexOf(`</a:sp3d>`,r);a=n>=0?e.slice(t,n+9):e.slice(t,r+1)}else a=e.slice(t);let o=a.indexOf(`>`),s=dv(o>=0?a.slice(0,o+1):a),c={};s.z&&(c.z=parseInt(s.z,10)),s.extrusionH&&(c.extrusionHeight=parseInt(s.extrusionH,10)),s.contourW&&(c.contourWidth=parseInt(s.contourW,10)),s.prstMaterial&&(c.material=s.prstMaterial);let l=a.indexOf(`<a:bevelT`);if(l>=0){let e=a.indexOf(`/>`,l);e>=0&&(c.bevelTop=uv(a.slice(l,e+2)))}let u=a.indexOf(`<a:bevelB`);if(u>=0){let e=a.indexOf(`/>`,u);e>=0&&(c.bevelBottom=uv(a.slice(u,e+2)))}if(!i){let e=a.indexOf(`<a:extrusionClr>`);if(e>=0){let t=a.indexOf(`</a:extrusionClr>`,e);if(t>=0){let n=X_(a.slice(e+16,t));n&&(c.extrusionColor=n)}}let t=a.indexOf(`<a:contourClr>`);if(t>=0){let e=a.indexOf(`</a:contourClr>`,t);if(e>=0){let n=X_(a.slice(t+14,e));n&&(c.contourColor=n)}}}return c}function uv(e){let t=dv(e),n={};return t.w&&(n.width=parseInt(t.w,10)),t.h&&(n.height=parseInt(t.h,10)),t.prst&&(n.preset=t.prst),n}function dv(e){let t={},n=0,r=e.length;for(;n<r;){for(;n<r&&!fv(e.charCodeAt(n));)n++;if(n>=r)break;let i=n;for(;n<r&&fv(e.charCodeAt(n));)n++;let a=e.slice(i,n);if(n>=r||e.charCodeAt(n)!==61||(n++,n>=r||e.charCodeAt(n)!==34))continue;n++;let o=n;for(;n<r&&e.charCodeAt(n)!==34;)n++;t[a]=e.slice(o,n),n<r&&n++}return t}function fv(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===95}function pv(e,t,n){let r=e.indexOf(`<${t}`);if(r<0)return;let i=e.indexOf(`>`,r);if(i<0)return;let a=e.slice(r,i+1),o=RegExp(`${n}="([^"]*)"`).exec(a);return o?o[1]:void 0}function mv(e){return(q_(e)?ev(e):e).fill}function hv(e){return(q_(e)?ev(e):e).line}function gv(e){let t=K_(e);if(!t)return e;let n={},r=pv(t,`a:defRPr`,`sz`)??pv(t,`a:rPr`,`sz`);r&&(n.size=parseInt(r,10));let i=pv(t,`a:defRPr`,`b`)??pv(t,`a:rPr`,`b`);i&&(n.bold=i===`1`||i===`true`);let a=pv(t,`a:defRPr`,`i`)??pv(t,`a:rPr`,`i`);a&&(n.italic=a===`1`||a===`true`);let o=pv(t,`a:defRPr`,`u`)??pv(t,`a:rPr`,`u`);o&&(n.underline=o);let s=pv(t,`a:defRPr`,`strike`)??pv(t,`a:rPr`,`strike`);s&&(n.strike=s);let c=pv(t,`a:defRPr`,`cap`)??pv(t,`a:rPr`,`cap`);c&&(n.cap=c);let l=pv(t,`a:defRPr`,`baseline`)??pv(t,`a:rPr`,`baseline`);l&&(n.baseline=parseInt(l,10));let u=pv(t,`a:defRPr`,`kern`)??pv(t,`a:rPr`,`kern`);u&&(n.kern=parseInt(u,10));let d=pv(t,`a:defRPr`,`spc`)??pv(t,`a:rPr`,`spc`);d&&(n.spacing=parseInt(d,10));let f=pv(t,`a:defRPr`,`lang`)??pv(t,`a:rPr`,`lang`);f&&(n.lang=f);let p=(e,n)=>{let r=t.indexOf(e);if(r<0)return;let i=t.indexOf(n,r),a=t.slice(r,i>0?i+n.length:void 0);if(a.includes(`<a:solidFill`))return X_(a)};n.color=p(`<a:defRPr`,`</a:defRPr>`)??p(`<a:rPr`,`</a:rPr>`);let m=/<a:latin\s+typeface="([^"]+)"/.exec(t);m&&(n.fontFamily=m[1]);let h=/<a:ea\s+typeface="([^"]+)"/.exec(t);h&&(n.eastAsianFamily=h[1]);let g=/<a:cs\s+typeface="([^"]+)"/.exec(t);g&&(n.complexScriptFamily=g[1]);let _=pv(t,`a:bodyPr`,`rot`);return _&&(n.rotation=parseInt(_,10)),n}function _v(e){let t=q_(e)?gv(e):e;return t.size===void 0?void 0:t.size/100}var vv,yv,bv,xv,Sv,Cv=n((()=>{vv=/<a:srgbClr\s+val="([0-9A-Fa-f]{6})"/i,yv=/<a:schemeClr\s+val="([^"]+)"/i,bv={"a:outerShdw":/<a:outerShdw\s+([^>]*)>([\s\S]*?)<\/a:outerShdw>/,"a:innerShdw":/<a:innerShdw\s+([^>]*)>([\s\S]*?)<\/a:innerShdw>/},xv=/<a:sysClr\s+val="([^"]+)"/i,Sv=/<a:prstClr\s+val="([^"]+)"/i}));function wv(e){return typeof e==`object`&&`nativeCol`in e&&`nativeRow`in e&&`nativeColOff`in e&&`nativeRowOff`in e}function Tv(e){return typeof e==`object`&&`col`in e&&`row`in e}function Ev(e){let t=e.worksheet?._columns[e.nativeCol];return t&&Ng(t)?Math.floor(t.width*1e4):64e4}function Dv(e){let t=e.worksheet?._rows[e.nativeRow]?.height;return t?Math.floor(t*1e4):18e4}function Ov(e){return e.nativeColOff===0?e.nativeCol:e.nativeCol+Math.min(Ev(e)-1,e.nativeColOff)/Ev(e)}function kv(e,t){e.nativeCol=Math.floor(t);let n=t-e.nativeCol;e.nativeColOff=n===0?0:Math.floor(n*Ev(e))}function Av(e){return e.nativeRowOff===0?e.nativeRow:e.nativeRow+Math.min(Dv(e)-1,e.nativeRowOff)/Dv(e)}function jv(e,t){e.nativeRow=Math.floor(t);let n=t-e.nativeRow;e.nativeRowOff=n===0?0:Math.floor(n*Dv(e))}function Mv(e,t,n=0){let r={worksheet:e,nativeCol:0,nativeColOff:0,nativeRow:0,nativeRowOff:0};if(!t)return r;if(typeof t==`string`){let e=em.decodeAddress(t);r.nativeCol=e.col+n,r.nativeRow=e.row+n}else wv(t)?(r.nativeCol=t.nativeCol??0,r.nativeColOff=t.nativeColOff??0,r.nativeRow=t.nativeRow??0,r.nativeRowOff=t.nativeRowOff??0):Tv(t)&&(kv(r,t.col+n),jv(r,t.row+n));return r}function Nv(e){return{nativeCol:e.nativeCol,nativeColOff:e.nativeColOff,nativeRow:e.nativeRow,nativeRowOff:e.nativeRowOff}}var Pv=n((()=>{Vg(),tm()}));function Fv(e){if(!(e.chartNumber<=0))return u_(Qg(e.worksheet),e.chartNumber)?.model}function Iv(e){if(!(e.chartExNumber<=0))return d_(Qg(e.worksheet),e.chartExNumber)?.model}var Lv=n((()=>{m_(),i_()}));function Rv(e,t){return e[t]<<8|e[t+1]}function zv(e,t){let n=e[t]<<8|e[t+1];return n>=32768?n-65536:n}function Bv(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function Vv(e,t){return String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])}function Hv(e){let t=Rv(e,4),n=new Map;for(let r=0;r<t;r++){let t=12+r*16,i=Vv(e,t);n.set(i,{offset:Bv(e,t+8),length:Bv(e,t+12)})}return n}function Uv(e,t){let n=t.offset,r=Rv(e,n+2),i=new Map;for(let t=0;t<r;t++){let r=n+4+t*8,a=Rv(e,r),o=Rv(e,r+2),s=n+Bv(e,r+4),c=Rv(e,s);a===3&&(o===1||o===10)&&(c===4?Wv(e,s,i):c===12&&Gv(e,s,i))}return i}function Wv(e,t,n){let r=Rv(e,t+6)>>1,i=t+14,a=i+r*2+2,o=a+r*2,s=o+r*2;for(let t=0;t<r;t++){let r=Rv(e,i+t*2),c=Rv(e,a+t*2),l=zv(e,o+t*2),u=Rv(e,s+t*2);if(c===65535)break;for(let i=c;i<=r;i++){let r;u===0?r=i+l&65535:(r=Rv(e,s+t*2+u+(i-c)*2),r!==0&&(r=r+l&65535)),r!==0&&!n.has(i)&&n.set(i,r)}}}function Gv(e,t,n){let r=Bv(e,t+12),i=t+16;for(let t=0;t<r;t++){let t=Bv(e,i),r=Bv(e,i+4),a=Bv(e,i+8);for(let e=t;e<=r;e++)n.has(e)||n.set(e,a),a++;i+=12}}function Kv(e,t,n,r){let i=new Uint32Array(n+1),a=t.offset;if(r)for(let t=0;t<=n;t++)i[t]=Bv(e,a+t*4);else for(let t=0;t<=n;t++)i[t]=Rv(e,a+t*2)*2;return i}function qv(e,t,n,r){let i=new Uint16Array(r),a=t.offset,o=0;for(let t=0;t<n;t++)o=Rv(e,a+t*4),i[t]=o;for(let e=n;e<r;e++)i[e]=o;return i}function Jv(e,t,n){let r=t+10,i=[];for(let t=0;t<n;t++)i.push(Rv(e,r)),r+=2;let a=i[i.length-1]+1,o=Rv(e,r);r+=2+o;let s=[];for(;s.length<a;){let t=e[r++];if(s.push(t),t&cy){let n=e[r++];for(let e=0;e<n;e++)s.push(t)}}let c=Array(a),l=0;for(let t=0;t<a;t++){let n=s[t];if(n&oy){let t=e[r++];l+=n&ly?t:-t}else n&ly||(l+=zv(e,r),r+=2);c[t]=l}let u=Array(a),d=0;for(let t=0;t<a;t++){let n=s[t];if(n&sy){let t=e[r++];d+=n&uy?t:-t}else n&uy||(d+=zv(e,r),r+=2);u[t]=d}let f=[],p=0;for(let e=0;e<n;e++){let t=i[e],n=[];for(let e=p;e<=t;e++)n.push({x:c[e],y:u[e],onCurve:!!(s[e]&ay)});f.push(n),p=t+1}return f}function Yv(e,t,n,r){let i=t+10,a=[];for(;;){let t=Rv(e,i);i+=2;let o=Rv(e,i);i+=2;let s,c;t&dy?(t&fy?(s=zv(e,i),c=zv(e,i+2)):(s=0,c=0),i+=4):(t&fy?(s=e[i]>=128?e[i]-256:e[i],c=e[i+1]>=128?e[i+1]-256:e[i+1]):(s=0,c=0),i+=2);let l=1,u=0,d=0,f=1;t&py?(l=f=zv(e,i)/16384,i+=2):t&hy?(l=zv(e,i)/16384,f=zv(e,i+2)/16384,i+=4):t&gy&&(l=zv(e,i)/16384,u=zv(e,i+2)/16384,d=zv(e,i+4)/16384,f=zv(e,i+6)/16384,i+=8);let p=Xv(e,o,n,r);for(let e of p){let t=e.map(e=>({x:l*e.x+d*e.y+s,y:u*e.x+f*e.y+c,onCurve:e.onCurve}));a.push(t)}if(!(t&my))break}return a}function Xv(e,t,n,r){let i=r[t];if(r[t+1]-i<10)return[];let a=n+i,o=zv(e,a);return o>=0?Jv(e,a,o):Yv(e,a,n,r)}function Zv(e){if(e.length<2)return[];let t=[],n=e.length,r=0,i;e[0].onCurve?(i=e[0],r=1):e[n-1].onCurve?(i=e[n-1],r=0):(i={x:(e[0].x+e[n-1].x)/2,y:(e[0].y+e[n-1].y)/2},r=0);let a=i;for(let o=r;o<n;o++){let r=e[o];if(r.onCurve)t.push({x1:a.x,y1:a.y,x2:r.x,y2:r.y}),a=r;else{let s,c=(o+1)%n,l=e[c];l.onCurve?(s=l,o++,c===0&&(s=i,o=n)):s={x:(r.x+l.x)/2,y:(r.y+l.y)/2},Qv(a.x,a.y,r.x,r.y,s.x,s.y,t),a=s}}return(a.x!==i.x||a.y!==i.y)&&t.push({x1:a.x,y1:a.y,x2:i.x,y2:i.y}),t}function Qv(e,t,n,r,i,a,o){let s=e,c=t;for(let l=1;l<=8;l++){let u=l/8,d=1-u,f=d*d*e+2*d*u*n+u*u*i,p=d*d*t+2*d*u*r+u*u*a;o.push({x1:s,y1:c,x2:f,y2:p}),s=f,c=p}}function $v(e){let t=Bv(e,0),n=e;return t===1953784678?ty(e,ey(e,Bv(e,12))):ty(n,Hv(n))}function ey(e,t){let n=Rv(e,t+4),r=new Map;for(let i=0;i<n;i++){let n=t+12+i*16,a=Vv(e,n);r.set(a,{offset:Bv(e,n+8),length:Bv(e,n+12)})}return r}function ty(e,t){let n=t.get(`head`),r=t.get(`hhea`),i=t.get(`maxp`),a=t.get(`cmap`),o=t.get(`hmtx`),s=t.get(`loca`),c=t.get(`glyf`);if(!n||!r||!i||!a||!o||!s||!c)return{unitsPerEm:1e3,ascent:800,descent:-200,getOutline:()=>void 0};let l=Rv(e,n.offset+18),u=zv(e,n.offset+50),d=zv(e,r.offset+4),f=zv(e,r.offset+6),p=Rv(e,r.offset+34),m=Rv(e,i.offset+4),h=Uv(e,a),g=qv(e,o,p,m),_=Kv(e,s,m,u!==0),v=c.offset;return{unitsPerEm:l,ascent:d,descent:f,getOutline(t){let n=h.get(t);if(n===void 0||n===0)return;let r=Xv(e,n,v,_);if(r.length!==0)return{contours:r,advanceWidth:g[n]}}}}function ny(e,t,n){let r=t/n,i=r*4,a=e.contours.map(e=>e.map(e=>({x:e.x*i,y:-e.y*i,onCurve:e.onCurve}))),o=1/0,s=1/0,c=-1/0,l=-1/0;for(let e of a)for(let t of e)t.x<o&&(o=t.x),t.x>c&&(c=t.x),t.y<s&&(s=t.y),t.y>l&&(l=t.y);if(!Number.isFinite(o))return{width:Math.ceil(e.advanceWidth*r),height:Math.ceil(t),offsetX:0,offsetY:0,pixels:new Uint8Array};let u=Math.ceil((c-o)/4)+2,d=Math.ceil((l-s)/4)+2;if(u<=0||d<=0)return{width:Math.ceil(e.advanceWidth*r),height:Math.ceil(t),offsetX:0,offsetY:0,pixels:new Uint8Array};let f=u*4,p=d*4,m=-o+4,h=-s+4,g=[];for(let e of a){let t=e.map(e=>({x:e.x+m,y:e.y+h,onCurve:e.onCurve}));g.push(...Zv(t))}let _=new Uint8Array(f*p);for(let e=0;e<p;e++){let t=e+.5,n=[];for(let e of g){let r=e.y1,i=e.y2;if(r<=t&&i>t||i<=t&&r>t){let a=(t-r)/(i-r);n.push(e.x1+a*(e.x2-e.x1))}}n.sort((e,t)=>e-t);for(let t=0;t<n.length-1;t+=2){let r=Math.max(0,Math.ceil(n[t])),i=Math.min(f-1,Math.floor(n[t+1]));for(let t=r;t<=i;t++)_[e*f+t]=1}}let v=new Uint8Array(u*d);for(let e=0;e<d;e++)for(let t=0;t<u;t++){let n=0,r=e*4,i=t*4;for(let e=0;e<4;e++){let t=r+e;if(t>=p)break;for(let e=0;e<4;e++){let r=i+e;if(r>=f)break;n+=_[t*f+r]}}n>0&&(v[e*u+t]=Math.round(n/16*255))}return{width:u,height:d,offsetX:Math.floor(o/4)-1,offsetY:Math.floor(s/4)-1,pixels:v}}function ry(){if(vy)return _y;vy=!0;try{let e=iy();for(let t of e)try{if(qa(t))return _y=$v(Ja(t)),_y}catch{continue}}catch{}return null}function iy(){let e=typeof process<`u`?process.platform:``,t=[];if(e===`darwin`)t.push(`/System/Library/Fonts/Supplemental/Arial.ttf`,`/Library/Fonts/Arial.ttf`,`/System/Library/Fonts/Helvetica.ttc`,`/System/Library/Fonts/SFNSText.ttf`,`/System/Library/Fonts/SFNS.ttf`);else if(e===`win32`){let e=process.env.WINDIR||process.env.windir||`C:\\Windows`;t.push(`${e}\\Fonts\\arial.ttf`,`${e}\\Fonts\\calibri.ttf`,`${e}\\Fonts\\segoeui.ttf`,`${e}\\Fonts\\tahoma.ttf`)}else t.push(`/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf`,`/usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf`,`/usr/share/fonts/TTF/DejaVuSans.ttf`,`/usr/share/fonts/noto/NotoSans-Regular.ttf`,`/usr/share/fonts/truetype/freefont/FreeSans.ttf`);return t}var ay,oy,sy,cy,ly,uy,dy,fy,py,my,hy,gy,_y,vy,yy=n((()=>{Xa(),ay=1,oy=2,sy=4,cy=8,ly=16,uy=32,dy=1,fy=2,py=8,my=32,hy=64,gy=128,_y=null,vy=!1})),by,xy=n((()=>{by={32:{w:.35,d:[]},33:{w:.25,d:[[[.12,.15],[.12,.55]],[[.12,.7],[.12,.75]]]},34:{w:.35,d:[[[.1,.15],[.1,.3]],[[.25,.15],[.25,.3]]]},35:{w:.55,d:[[[.15,.15],[.1,.75]],[[.35,.15],[.3,.75]],[[.05,.4],[.4,.4]],[[.03,.55],[.38,.55]]]},36:{w:.5,d:[[[.4,.22],[.35,.18],[.25,.15],[.15,.18],[.1,.25],[.1,.32],[.15,.38],[.25,.43],[.35,.48],[.4,.55],[.4,.63],[.35,.7],[.25,.75],[.15,.72],[.1,.67]],[[.25,.1],[.25,.8]]]},37:{w:.6,d:[[[.5,.15],[.1,.75]],[[.1,.22],[.12,.17],[.18,.17],[.2,.22],[.2,.28],[.18,.32],[.12,.32],[.1,.28],[.1,.22]],[[.4,.58],[.42,.53],[.48,.53],[.5,.58],[.5,.65],[.48,.7],[.42,.7],[.4,.65],[.4,.58]]]},38:{w:.55,d:[[[.5,.55],[.35,.75],[.2,.75],[.1,.65],[.1,.55],[.35,.35],[.35,.25],[.3,.18],[.2,.18],[.15,.25],[.15,.35],[.5,.75]]]},39:{w:.2,d:[[[.1,.15],[.1,.3]]]},40:{w:.3,d:[[[.22,.1],[.15,.2],[.1,.35],[.1,.55],[.15,.7],[.22,.85]]]},41:{w:.3,d:[[[.08,.1],[.15,.2],[.2,.35],[.2,.55],[.15,.7],[.08,.85]]]},42:{w:.4,d:[[[.2,.2],[.2,.45]],[[.08,.26],[.32,.39]],[[.32,.26],[.08,.39]]]},43:{w:.5,d:[[[.25,.3],[.25,.6]],[[.1,.45],[.4,.45]]]},44:{w:.25,d:[[[.12,.7],[.12,.75],[.08,.85]]]},45:{w:.4,d:[[[.08,.45],[.32,.45]]]},46:{w:.25,d:[[[.12,.72],[.12,.75]]]},47:{w:.35,d:[[[.3,.1],[.05,.85]]]},48:{w:.5,d:[[[.25,.15],[.15,.18],[.1,.28],[.1,.62],[.15,.72],[.25,.75],[.35,.72],[.4,.62],[.4,.28],[.35,.18],[.25,.15]]]},49:{w:.4,d:[[[.15,.25],[.25,.15],[.25,.75]],[[.12,.75],[.38,.75]]]},50:{w:.5,d:[[[.1,.25],[.15,.18],[.25,.15],[.35,.18],[.4,.28],[.4,.35],[.35,.45],[.1,.75],[.42,.75]]]},51:{w:.5,d:[[[.1,.18],[.2,.15],[.32,.15],[.4,.22],[.4,.33],[.35,.4],[.25,.43],[.35,.48],[.4,.55],[.4,.65],[.35,.72],[.25,.75],[.15,.72],[.1,.65]]]},52:{w:.5,d:[[[.35,.75],[.35,.15],[.08,.55],[.42,.55]]]},53:{w:.5,d:[[[.38,.15],[.12,.15],[.1,.4],[.2,.37],[.32,.37],[.4,.45],[.4,.6],[.35,.7],[.25,.75],[.15,.72],[.1,.65]]]},54:{w:.5,d:[[[.38,.2],[.3,.15],[.2,.15],[.1,.25],[.1,.6],[.15,.72],[.25,.75],[.35,.72],[.4,.6],[.4,.52],[.35,.42],[.25,.4],[.15,.42],[.1,.5]]]},55:{w:.5,d:[[[.1,.15],[.4,.15],[.2,.75]]]},56:{w:.5,d:[[[.25,.43],[.15,.4],[.1,.32],[.1,.23],[.15,.17],[.25,.15],[.35,.17],[.4,.23],[.4,.32],[.35,.4],[.25,.43],[.15,.48],[.1,.56],[.1,.65],[.15,.72],[.25,.75],[.35,.72],[.4,.65],[.4,.56],[.35,.48],[.25,.43]]]},57:{w:.5,d:[[[.12,.68],[.2,.75],[.3,.75],[.4,.65],[.4,.3],[.35,.18],[.25,.15],[.15,.18],[.1,.3],[.1,.38],[.15,.48],[.25,.5],[.35,.48],[.4,.4]]]},58:{w:.25,d:[[[.12,.38],[.12,.42]],[[.12,.7],[.12,.75]]]},59:{w:.25,d:[[[.12,.38],[.12,.42]],[[.12,.7],[.12,.75],[.08,.85]]]},60:{w:.4,d:[[[.35,.25],[.1,.45],[.35,.65]]]},61:{w:.45,d:[[[.08,.38],[.37,.38]],[[.08,.52],[.37,.52]]]},62:{w:.4,d:[[[.08,.25],[.33,.45],[.08,.65]]]},63:{w:.45,d:[[[.08,.22],[.13,.17],[.22,.15],[.32,.17],[.37,.25],[.37,.32],[.32,.4],[.22,.45],[.22,.55]],[[.22,.7],[.22,.75]]]},64:{w:.65,d:[[[.5,.65],[.45,.72],[.35,.75],[.2,.72],[.1,.6],[.1,.35],[.15,.2],[.3,.15],[.45,.2],[.55,.35],[.55,.5],[.5,.55],[.45,.55],[.42,.5],[.42,.35],[.38,.3],[.32,.3],[.28,.35],[.28,.48],[.32,.55],[.38,.55],[.42,.5]]]},65:{w:.55,d:[[[.02,.75],[.27,.15],[.52,.75]],[[.12,.52],[.42,.52]]]},66:{w:.5,d:[[[.1,.75],[.1,.15],[.3,.15],[.38,.18],[.4,.25],[.4,.33],[.38,.38],[.3,.43],[.1,.43]],[[.3,.43],[.38,.48],[.42,.55],[.42,.65],[.38,.72],[.3,.75],[.1,.75]]]},67:{w:.5,d:[[[.42,.22],[.35,.17],[.25,.15],[.15,.18],[.1,.28],[.1,.62],[.15,.72],[.25,.75],[.35,.72],[.42,.67]]]},68:{w:.52,d:[[[.1,.15],[.1,.75],[.28,.75],[.38,.72],[.43,.62],[.43,.28],[.38,.18],[.28,.15],[.1,.15]]]},69:{w:.45,d:[[[.38,.15],[.1,.15],[.1,.75],[.38,.75]],[[.1,.43],[.32,.43]]]},70:{w:.43,d:[[[.38,.15],[.1,.15],[.1,.75]],[[.1,.43],[.32,.43]]]},71:{w:.53,d:[[[.42,.22],[.35,.17],[.25,.15],[.15,.18],[.1,.28],[.1,.62],[.15,.72],[.25,.75],[.35,.72],[.42,.62],[.42,.45],[.28,.45]]]},72:{w:.52,d:[[[.1,.15],[.1,.75]],[[.42,.15],[.42,.75]],[[.1,.45],[.42,.45]]]},73:{w:.25,d:[[[.12,.15],[.12,.75]]]},74:{w:.4,d:[[[.32,.15],[.32,.6],[.28,.72],[.18,.75],[.1,.7]]]},75:{w:.5,d:[[[.1,.15],[.1,.75]],[[.4,.15],[.1,.48],[.42,.75]]]},76:{w:.43,d:[[[.1,.15],[.1,.75],[.38,.75]]]},77:{w:.6,d:[[[.08,.75],[.08,.15],[.3,.55],[.52,.15],[.52,.75]]]},78:{w:.52,d:[[[.1,.75],[.1,.15],[.42,.75],[.42,.15]]]},79:{w:.55,d:[[[.27,.15],[.17,.18],[.1,.28],[.1,.62],[.17,.72],[.27,.75],[.37,.72],[.45,.62],[.45,.28],[.37,.18],[.27,.15]]]},80:{w:.5,d:[[[.1,.75],[.1,.15],[.3,.15],[.38,.18],[.42,.25],[.42,.35],[.38,.42],[.3,.45],[.1,.45]]]},81:{w:.55,d:[[[.27,.15],[.17,.18],[.1,.28],[.1,.62],[.17,.72],[.27,.75],[.37,.72],[.45,.62],[.45,.28],[.37,.18],[.27,.15]],[[.33,.62],[.47,.78]]]},82:{w:.5,d:[[[.1,.75],[.1,.15],[.3,.15],[.38,.18],[.42,.25],[.42,.35],[.38,.42],[.3,.45],[.1,.45]],[[.3,.45],[.42,.75]]]},83:{w:.48,d:[[[.4,.22],[.35,.17],[.25,.15],[.15,.17],[.1,.23],[.1,.3],[.13,.37],[.2,.42],[.32,.48],[.38,.55],[.4,.62],[.38,.7],[.3,.75],[.18,.75],[.1,.7]]]},84:{w:.48,d:[[[.04,.15],[.44,.15]],[[.24,.15],[.24,.75]]]},85:{w:.52,d:[[[.1,.15],[.1,.6],[.15,.7],[.25,.75],[.35,.7],[.42,.6],[.42,.15]]]},86:{w:.52,d:[[[.05,.15],[.26,.75],[.47,.15]]]},87:{w:.65,d:[[[.05,.15],[.15,.75],[.32,.4],[.5,.75],[.6,.15]]]},88:{w:.5,d:[[[.08,.15],[.42,.75]],[[.42,.15],[.08,.75]]]},89:{w:.5,d:[[[.05,.15],[.25,.45],[.45,.15]],[[.25,.45],[.25,.75]]]},90:{w:.48,d:[[[.08,.15],[.4,.15],[.08,.75],[.4,.75]]]},91:{w:.3,d:[[[.22,.1],[.1,.1],[.1,.85],[.22,.85]]]},92:{w:.35,d:[[[.05,.1],[.3,.85]]]},93:{w:.3,d:[[[.08,.1],[.2,.1],[.2,.85],[.08,.85]]]},94:{w:.4,d:[[[.08,.3],[.2,.15],[.32,.3]]]},95:{w:.45,d:[[[0,.8],[.45,.8]]]},96:{w:.25,d:[[[.08,.15],[.15,.25]]]},97:{w:.45,d:[[[.35,.38],[.35,.75]],[[.35,.45],[.28,.38],[.18,.38],[.1,.45],[.1,.62],[.15,.72],[.25,.75],[.35,.72]]]},98:{w:.47,d:[[[.1,.15],[.1,.75]],[[.1,.42],[.2,.38],[.3,.38],[.38,.45],[.38,.62],[.33,.72],[.23,.75],[.1,.7]]]},99:{w:.4,d:[[[.35,.42],[.27,.38],[.18,.38],[.1,.45],[.1,.65],[.15,.72],[.25,.75],[.35,.7]]]},100:{w:.47,d:[[[.38,.15],[.38,.75]],[[.38,.42],[.28,.38],[.18,.38],[.1,.45],[.1,.62],[.15,.72],[.25,.75],[.38,.7]]]},101:{w:.45,d:[[[.1,.55],[.37,.55],[.37,.47],[.33,.4],[.23,.38],[.15,.4],[.1,.48],[.1,.63],[.15,.72],[.25,.75],[.35,.72]]]},102:{w:.3,d:[[[.27,.18],[.22,.15],[.17,.18],[.15,.25],[.15,.75]],[[.05,.38],[.27,.38]]]},103:{w:.47,d:[[[.38,.38],[.38,.85],[.33,.92],[.23,.95],[.13,.92]],[[.38,.42],[.28,.38],[.18,.38],[.1,.45],[.1,.62],[.15,.72],[.25,.75],[.38,.7]]]},104:{w:.45,d:[[[.1,.15],[.1,.75]],[[.1,.43],[.2,.38],[.3,.38],[.37,.45],[.37,.75]]]},105:{w:.22,d:[[[.11,.38],[.11,.75]],[[.11,.25],[.11,.28]]]},106:{w:.25,d:[[[.15,.38],[.15,.85],[.1,.92],[.05,.95]],[[.15,.25],[.15,.28]]]},107:{w:.43,d:[[[.1,.15],[.1,.75]],[[.35,.38],[.1,.58],[.37,.75]]]},108:{w:.22,d:[[[.11,.15],[.11,.75]]]},109:{w:.65,d:[[[.08,.75],[.08,.38]],[[.08,.43],[.18,.38],[.25,.38],[.3,.43],[.3,.75]],[[.3,.43],[.4,.38],[.48,.38],[.55,.43],[.55,.75]]]},110:{w:.45,d:[[[.1,.75],[.1,.38]],[[.1,.43],[.2,.38],[.3,.38],[.37,.45],[.37,.75]]]},111:{w:.47,d:[[[.23,.38],[.15,.4],[.1,.48],[.1,.62],[.15,.72],[.23,.75],[.33,.72],[.4,.62],[.4,.48],[.33,.4],[.23,.38]]]},112:{w:.47,d:[[[.1,.38],[.1,.95]],[[.1,.42],[.2,.38],[.3,.38],[.38,.45],[.38,.62],[.33,.72],[.23,.75],[.1,.7]]]},113:{w:.47,d:[[[.38,.38],[.38,.95]],[[.38,.42],[.28,.38],[.18,.38],[.1,.45],[.1,.62],[.15,.72],[.25,.75],[.38,.7]]]},114:{w:.35,d:[[[.1,.38],[.1,.75]],[[.1,.5],[.15,.42],[.23,.38],[.3,.38]]]},115:{w:.4,d:[[[.33,.42],[.25,.38],[.15,.38],[.08,.43],[.08,.5],[.12,.55],[.28,.6],[.33,.65],[.33,.7],[.28,.75],[.15,.75],[.08,.7]]]},116:{w:.32,d:[[[.15,.2],[.15,.68],[.2,.73],[.27,.75]],[[.05,.38],[.27,.38]]]},117:{w:.45,d:[[[.1,.38],[.1,.62],[.15,.72],[.25,.75],[.37,.7]],[[.37,.38],[.37,.75]]]},118:{w:.42,d:[[[.05,.38],[.21,.75],[.37,.38]]]},119:{w:.58,d:[[[.05,.38],[.13,.75],[.27,.5],[.4,.75],[.5,.38]]]},120:{w:.4,d:[[[.07,.38],[.35,.75]],[[.35,.38],[.07,.75]]]},121:{w:.43,d:[[[.05,.38],[.22,.75]],[[.4,.38],[.15,.95]]]},122:{w:.4,d:[[[.08,.38],[.35,.38],[.08,.75],[.35,.75]]]},123:{w:.32,d:[[[.25,.1],[.18,.12],[.15,.2],[.15,.4],[.1,.45],[.15,.5],[.15,.73],[.18,.82],[.25,.85]]]},124:{w:.22,d:[[[.11,.1],[.11,.85]]]},125:{w:.32,d:[[[.08,.1],[.15,.12],[.18,.2],[.18,.4],[.23,.45],[.18,.5],[.18,.73],[.15,.82],[.08,.85]]]},126:{w:.5,d:[[[.08,.48],[.15,.42],[.25,.42],[.32,.48],[.38,.48],[.45,.42]]]}}}));function Sy(e,t,n){Vy[e.toLowerCase()]=t,n&&(Hy[e.toLowerCase()]=n)}function Cy(e){let t=Wy.get(e);if(t)return t;t=new Map;for(let[n,r,i]of e.advances)for(let e=0;e<r;e++)t.set(n+e,i);return Wy.set(e,t),t}function wy(e,t){let n=e.toLowerCase();return t?Hy[n]??Vy[n]:Vy[n]}function Ty(e){return Object.hasOwn(Hy,e.toLowerCase())}function Ey(){return My}function Dy(e,t){return t>=19968&&t<=40959||t>=13312&&t<=19903||t>=63744&&t<=64255||t>=131072&&t<=205743||t>=12288&&t<=12543||t>=44032&&t<=55215||t>=65281&&t<=65376||t>=11904&&t<=12255||t>=12544&&t<=13311?e.cjkAdvance:Cy(e).get(t)??e.defaultAdvance}function Oy(e){return jy[e]}function ky(e){return Uy[e.toLowerCase()]}function Ay(e){return e>=19968&&e<=40959||e>=13312&&e<=19903||e>=63744&&e<=64255||e>=65281&&e<=65376||e>=12288&&e<=12543||e>=11904&&e<=12255||e>=12544&&e<=13311||e>=44032&&e<=55215||e>=131072&&e<=205743}var jy,My,Ny,Py,Fy,Iy,Ly,Ry,zy,By,Vy,Hy,Uy,Wy,Gy=n((()=>{jy={32:3,33:5,34:6,35:7,36:7,37:11,38:10,39:3,40:5,41:5,42:7,43:7,44:4,45:5,46:4,47:6,48:7,49:7,50:7,51:7,52:7,53:7,54:7,55:7,56:7,57:7,58:4,59:4,60:7,61:7,62:7,63:7,64:13,65:9,66:8,67:8,68:9,69:7,70:7,71:9,72:9,73:4,74:5,75:8,76:6,77:12,78:10,79:10,80:8,81:10,82:8,83:7,84:7,85:9,86:9,87:13,88:8,89:7,90:7,91:5,92:6,93:5,94:7,95:7,96:4,97:7,98:8,99:6,100:8,101:8,102:5,103:7,104:8,105:4,106:4,107:7,108:4,109:12,110:8,111:8,112:8,113:8,114:5,115:6,116:5,117:8,118:7,119:11,120:7,121:7,122:6,123:5,124:7,125:5,126:7},My={header:{unitsPerEm:2048,usWinAscent:1950,usWinDescent:550,maxDigitAdvance:1038,sTypoAscender:1536,sTypoDescender:-512,sTypoLineGap:452},defaultAdvance:1e3,cjkAdvance:2048,advances:[[32,1,463],[33,1,667],[34,1,821],[35,1,1020],[36,1,1038],[37,1,1464],[38,1,1397],[39,1,452],[40,2,621],[42,2,1020],[44,1,511],[45,1,627],[46,1,517],[47,1,791],[48,10,1038],[58,2,548],[60,3,1020],[63,1,949],[64,1,1831],[65,1,1185],[66,1,1114],[67,1,1092],[68,1,1260],[69,1,1e3],[70,1,941],[71,1,1292],[72,1,1276],[73,1,516],[74,1,653],[75,1,1064],[76,1,861],[77,1,1751],[78,1,1322],[79,1,1356],[80,1,1058],[81,1,1378],[82,1,1112],[83,1,941],[84,1,998],[85,1,1314],[86,1,1162],[87,1,1822],[88,1,1063],[89,1,998],[90,1,959],[91,1,628],[92,1,791],[93,1,628],[94,2,1020],[96,1,596],[97,1,981],[98,1,1076],[99,1,866],[100,1,1076],[101,1,1019],[102,1,625],[103,1,964],[104,1,1076],[105,1,470],[106,1,490],[107,1,931],[108,1,470],[109,1,1636],[110,1,1076],[111,1,1080],[112,2,1076],[114,1,714],[115,1,801],[116,1,686],[117,1,1076],[118,1,925],[119,1,1464],[120,1,887],[121,1,927],[122,1,809],[123,1,644],[124,1,943],[125,1,644],[126,1,1020]]},Ny={header:{unitsPerEm:2048,usWinAscent:1854,usWinDescent:434,maxDigitAdvance:1139,sTypoAscender:1491,sTypoDescender:-431,sTypoLineGap:307},defaultAdvance:1024,cjkAdvance:2048,advances:[[32,1,569],[33,1,569],[34,1,727],[35,1,1139],[36,1,1139],[37,1,1821],[38,1,1366],[39,1,391],[40,1,682],[41,1,682],[42,1,797],[43,1,1196],[44,1,569],[45,1,682],[46,1,569],[47,1,569],[48,10,1139],[58,1,569],[59,1,569],[60,1,1196],[61,1,1196],[62,1,1196],[63,1,1139],[64,1,2079],[65,1,1366],[66,1,1366],[67,1,1479],[68,1,1479],[69,1,1366],[70,1,1251],[71,1,1593],[72,1,1479],[73,1,569],[74,1,1024],[75,1,1366],[76,1,1139],[77,1,1706],[78,1,1479],[79,1,1593],[80,1,1366],[81,1,1593],[82,1,1479],[83,1,1366],[84,1,1251],[85,1,1479],[86,1,1366],[87,1,1933],[88,1,1366],[89,1,1366],[90,1,1251],[91,1,569],[92,1,569],[93,1,569],[94,1,961],[95,1,1139],[96,1,682],[97,1,1139],[98,1,1139],[99,1,1024],[100,1,1139],[101,1,1139],[102,1,569],[103,1,1139],[104,1,1139],[105,1,455],[106,1,455],[107,1,1024],[108,1,455],[109,1,1706],[110,1,1139],[111,1,1139],[112,1,1139],[113,1,1139],[114,1,682],[115,1,1024],[116,1,569],[117,1,1139],[118,1,1024],[119,1,1479],[120,1,1024],[121,1,1024],[122,1,1024],[123,1,684],[124,1,532],[125,1,684],[126,1,1196]]},Py={header:{unitsPerEm:2048,usWinAscent:1854,usWinDescent:434,maxDigitAdvance:1139,sTypoAscender:1491,sTypoDescender:-431,sTypoLineGap:307},defaultAdvance:1070,cjkAdvance:2048,advances:[[32,1,569],[33,1,682],[34,1,974],[35,1,1139],[36,1,1139],[37,1,1821],[38,1,1479],[39,1,569],[40,1,682],[41,1,682],[42,1,797],[43,1,1196],[44,1,569],[45,1,682],[46,1,569],[47,1,569],[48,10,1139],[58,1,682],[59,1,682],[60,1,1196],[61,1,1196],[62,1,1196],[63,1,1251],[64,1,1991],[65,1,1479],[66,1,1479],[67,1,1479],[68,1,1479],[69,1,1366],[70,1,1251],[71,1,1593],[72,1,1479],[73,1,682],[74,1,1139],[75,1,1479],[76,1,1251],[77,1,1706],[78,1,1479],[79,1,1593],[80,1,1366],[81,1,1593],[82,1,1479],[83,1,1366],[84,1,1251],[85,1,1479],[86,1,1366],[87,1,1933],[88,1,1366],[89,1,1366],[90,1,1251],[91,1,682],[92,1,569],[93,1,682],[94,1,1196],[95,1,1139],[96,1,682],[97,1,1139],[98,1,1251],[99,1,1024],[100,1,1251],[101,1,1139],[102,1,682],[103,1,1251],[104,1,1251],[105,1,569],[106,1,569],[107,1,1139],[108,1,569],[109,1,1821],[110,1,1251],[111,1,1251],[112,1,1251],[113,1,1251],[114,1,797],[115,1,1024],[116,1,682],[117,1,1251],[118,1,1139],[119,1,1593],[120,1,1139],[121,1,1139],[122,1,1024],[123,1,797],[124,1,569],[125,1,797],[126,1,1196]]},Fy={header:{unitsPerEm:2048,usWinAscent:1825,usWinDescent:443,maxDigitAdvance:1024,sTypoAscender:1420,sTypoDescender:-442,sTypoLineGap:307},defaultAdvance:900,cjkAdvance:2048,advances:[[32,1,512],[33,1,682],[34,1,836],[35,1,1024],[36,1,1024],[37,1,1706],[38,1,1593],[39,1,369],[40,1,682],[41,1,682],[42,1,1024],[43,1,1155],[44,1,512],[45,1,682],[46,1,512],[47,1,569],[48,10,1024],[58,1,569],[59,1,569],[60,1,1155],[61,1,1155],[62,1,1155],[63,1,909],[64,1,1886],[65,1,1479],[66,1,1366],[67,1,1366],[68,1,1479],[69,1,1251],[70,1,1139],[71,1,1479],[72,1,1479],[73,1,682],[74,1,797],[75,1,1479],[76,1,1251],[77,1,1821],[78,1,1479],[79,1,1479],[80,1,1139],[81,1,1479],[82,1,1366],[83,1,1139],[84,1,1251],[85,1,1479],[86,1,1479],[87,1,1933],[88,1,1479],[89,1,1479],[90,1,1251],[91,1,682],[92,1,569],[93,1,682],[94,1,961],[95,1,1024],[96,1,682],[97,1,909],[98,1,1024],[99,1,909],[100,1,1024],[101,1,909],[102,1,682],[103,1,1024],[104,1,1024],[105,1,569],[106,1,569],[107,1,1024],[108,1,569],[109,1,1479],[110,1,1024],[111,1,1024],[112,1,1024],[113,1,1024],[114,1,682],[115,1,797],[116,1,569],[117,1,1024],[118,1,1024],[119,1,1479],[120,1,1024],[121,1,1024],[122,1,909],[123,1,983],[124,1,410],[125,1,983],[126,1,1073]]},Iy={header:{unitsPerEm:2048,usWinAscent:1705,usWinDescent:615,maxDigitAdvance:1229,sTypoAscender:1255,sTypoDescender:-386,sTypoLineGap:0},defaultAdvance:1229,cjkAdvance:2048,advances:[[32,95,1229]]},Ly={header:{unitsPerEm:2048,usWinAscent:2059,usWinDescent:430,maxDigitAdvance:1302,sTypoAscender:1566,sTypoDescender:-423,sTypoLineGap:202},defaultAdvance:1200,cjkAdvance:2048,advances:[[32,1,720],[33,1,756],[34,1,933],[35,1,1521],[36,1,1198],[37,1,1807],[38,1,1487],[39,1,510],[40,1,756],[41,1,756],[42,1,1198],[43,1,1521],[44,1,643],[45,1,811],[46,1,643],[47,1,899],[48,10,1302],[58,1,756],[59,1,756],[60,1,1521],[61,1,1521],[62,1,1521],[63,1,1151],[64,1,1937],[65,1,1362],[66,1,1382],[67,1,1279],[68,1,1490],[69,1,1279],[70,1,1186],[71,1,1458],[72,1,1498],[73,1,924],[74,1,922],[75,1,1362],[76,1,1145],[77,1,1728],[78,1,1498],[79,1,1476],[80,1,1262],[81,1,1476],[82,1,1396],[83,1,1300],[84,1,1185],[85,1,1448],[86,1,1362],[87,1,1864],[88,1,1244],[89,1,1183],[90,1,1204],[91,1,756],[92,1,899],[93,1,756],[94,1,1521],[95,1,1198],[96,1,1198],[97,1,1224],[98,1,1302],[99,1,1075],[100,1,1302],[101,1,1218],[102,1,756],[103,1,1302],[104,1,1317],[105,1,643],[106,1,700],[107,1,1183],[108,1,643],[109,1,1937],[110,1,1317],[111,1,1271],[112,1,1302],[113,1,1302],[114,1,899],[115,1,1075],[116,1,811],[117,1,1317],[118,1,1183],[119,1,1728],[120,1,1183],[121,1,1183],[122,1,1031],[123,1,787],[124,1,756],[125,1,787],[126,1,1521]]},Ry={header:{unitsPerEm:2048,usWinAscent:1878,usWinDescent:449,maxDigitAdvance:1257,sTypoAscender:1549,sTypoDescender:-444,sTypoLineGap:198},defaultAdvance:1100,cjkAdvance:2048,advances:[[32,1,504],[33,1,614],[34,1,679],[35,1,1257],[36,1,1024],[37,1,1539],[38,1,1350],[39,1,391],[40,1,614],[41,1,614],[42,1,842],[43,1,1257],[44,1,504],[45,1,751],[46,1,504],[47,1,797],[48,10,1257],[58,1,569],[59,1,569],[60,1,1257],[61,1,1257],[62,1,1257],[63,1,885],[64,1,1614],[65,1,1350],[66,1,1273],[67,1,1161],[68,1,1427],[69,1,1163],[70,1,1074],[71,1,1314],[72,1,1517],[73,1,721],[74,1,772],[75,1,1397],[76,1,1176],[77,1,1770],[78,1,1462],[79,1,1392],[80,1,1118],[81,1,1392],[82,1,1321],[83,1,1019],[84,1,1163],[85,1,1456],[86,1,1321],[87,1,1887],[88,1,1314],[89,1,1220],[90,1,1055],[91,1,614],[92,1,797],[93,1,614],[94,1,1257],[95,1,1024],[96,1,682],[97,1,1019],[98,1,1100],[99,1,866],[100,1,1106],[101,1,958],[102,1,654],[103,1,1006],[104,1,1152],[105,1,606],[106,1,606],[107,1,1048],[108,1,606],[109,1,1700],[110,1,1131],[111,1,1042],[112,1,1100],[113,1,1100],[114,1,772],[115,1,820],[116,1,688],[117,1,1117],[118,1,1019],[119,1,1559],[120,1,1007],[121,1,1012],[122,1,880],[123,1,637],[124,1,583],[125,1,637],[126,1,1257]]},zy={header:{unitsPerEm:2048,usWinAscent:2049,usWinDescent:423,maxDigitAdvance:1118,sTypoAscender:1566,sTypoDescender:-423,sTypoLineGap:59},defaultAdvance:1050,cjkAdvance:2048,advances:[[32,1,461],[33,1,536],[34,1,717],[35,1,1232],[36,1,1014],[37,1,1625],[38,1,1327],[39,1,428],[40,1,616],[41,1,616],[42,1,900],[43,1,1232],[44,1,504],[45,1,700],[46,1,504],[47,1,753],[48,10,1118],[58,1,567],[59,1,567],[60,1,1232],[61,1,1232],[62,1,1232],[63,1,974],[64,1,1810],[65,1,1205],[66,1,1200],[67,1,1130],[68,1,1327],[69,1,1117],[70,1,1032],[71,1,1306],[72,1,1308],[73,1,614],[74,1,794],[75,1,1195],[76,1,1003],[77,1,1500],[78,1,1308],[79,1,1381],[80,1,1103],[81,1,1381],[82,1,1200],[83,1,1117],[84,1,1100],[85,1,1300],[86,1,1205],[87,1,1723],[88,1,1119],[89,1,1130],[90,1,1068],[91,1,616],[92,1,753],[93,1,616],[94,1,1232],[95,1,893],[96,1,1118],[97,1,1066],[98,1,1141],[99,1,942],[100,1,1141],[101,1,1086],[102,1,639],[103,1,1141],[104,1,1126],[105,1,500],[106,1,548],[107,1,1023],[108,1,500],[109,1,1705],[110,1,1126],[111,1,1103],[112,1,1141],[113,1,1141],[114,1,714],[115,1,918],[116,1,700],[117,1,1126],[118,1,1e3],[119,1,1500],[120,1,1e3],[121,1,1e3],[122,1,880],[123,1,616],[124,1,540],[125,1,616],[126,1,1232]]},By={header:{unitsPerEm:2048,usWinAscent:1923,usWinDescent:455,maxDigitAdvance:1074,sTypoAscender:1510,sTypoDescender:-420,sTypoLineGap:0},defaultAdvance:1e3,cjkAdvance:2048,advances:[[32,1,453],[33,1,545],[34,1,613],[35,1,1107],[36,1,1074],[37,1,1341],[38,1,1213],[39,1,360],[40,1,616],[41,1,616],[42,1,860],[43,1,1107],[44,1,453],[45,1,697],[46,1,453],[47,1,766],[48,10,1074],[58,1,453],[59,1,453],[60,1,1107],[61,1,1107],[62,1,1107],[63,1,860],[64,1,1648],[65,1,1227],[66,1,1227],[67,1,1139],[68,1,1309],[69,1,1139],[70,1,1057],[71,1,1309],[72,1,1395],[73,1,627],[74,1,791],[75,1,1260],[76,1,1057],[77,1,1456],[78,1,1350],[79,1,1395],[80,1,1139],[81,1,1395],[82,1,1215],[83,1,1057],[84,1,1139],[85,1,1350],[86,1,1227],[87,1,1730],[88,1,1260],[89,1,1139],[90,1,1139],[91,1,616],[92,1,766],[93,1,616],[94,1,1107],[95,1,1074],[96,1,860],[97,1,1013],[98,1,1074],[99,1,936],[100,1,1074],[101,1,1013],[102,1,627],[103,1,1074],[104,1,1074],[105,1,545],[106,1,538],[107,1,1013],[108,1,545],[109,1,1539],[110,1,1074],[111,1,1074],[112,1,1074],[113,1,1074],[114,1,715],[115,1,860],[116,1,627],[117,1,1074],[118,1,936],[119,1,1481],[120,1,936],[121,1,936],[122,1,860],[123,1,616],[124,1,604],[125,1,616],[126,1,1107]]},Vy={},Hy={},Sy(`calibri`,My),Sy(`arial`,Ny,Py),Sy(`times new roman`,Fy),Sy(`courier new`,Iy),Sy(`verdana`,Ly),Sy(`georgia`,Ry),Sy(`tahoma`,zy),Sy(`trebuchet ms`,By),Uy={aptos:[1.03,1.37,1],"aptos display":[.96,1.31,1],"aptos narrow":[.82,1.07,1],"aptos serif":[.98,1.31,1],"calibri light":[.98,1.19,1],cambria:[1.07,1.28,1],"century gothic":[1.19,1.36,1],"comic sans ms":[1.14,1.46,1],consolas:[1.21,1.21,1],constantia:[1.05,1.34,1],corbel:[.97,1.2,1],garamond:[1.16,1.39,1],impact:[.96,1.01,1],"lucida console":[1.21,1.21,1],"lucida sans unicode":[1.16,1.4,1],"microsoft sans serif":[1.07,1.35,1],"palatino linotype":[1.12,1.44,1],"segoe ui":[1.08,1.31,1],"book antiqua":[1.12,1.44,1],candara:[1.02,1.25,1],"franklin gothic medium":[1.08,1.33,1],"goudy old style":[1.02,1.34,1],rockwell:[1.14,1.35,1],"tw cen mt":[.95,1.17,1],"microsoft yahei":[1.18,1.3,1.18],"microsoft yahei ui":[1.18,1.3,1.18],simsun:[1.1,1.1,1.1],宋体:[1.1,1.1,1.1],simhei:[1.1,1.1,1.1],黑体:[1.1,1.1,1.1],nsimsun:[1.1,1.1,1.1],新宋体:[1.1,1.1,1.1],dengxian:[1.05,1.28,1.08],等线:[1.05,1.28,1.08],fangsong:[1.1,1.1,1.1],仿宋:[1.1,1.1,1.1],kaiti:[1.1,1.1,1.1],楷体:[1.1,1.1,1.1],meiryo:[1.18,1.3,1.18],"meiryo ui":[1.1,1.2,1.18],"ms gothic":[1.21,1.21,1.1],"MS ゴシック":[1.21,1.21,1.1],"ms pgothic":[1.07,1.33,1.1],"ms mincho":[1.21,1.21,1.1],"yu gothic":[1.17,1.32,1.18],"yu gothic ui":[1.08,1.22,1.18],"yu mincho":[1.1,1.28,1.18],"malgun gothic":[1.12,1.28,1.14],"맑은 고딕":[1.12,1.28,1.14],batang:[1.1,1.1,1.1],gulim:[1.1,1.1,1.1],dotum:[1.1,1.1,1.1]},Wy=new Map}));function Ky(e,t,n,r,i){if(t===`calibri`&&n===tb){let t=Oy(e);if(t!==void 0)return t}if(i){let t=Dy(i,e),r=Math.round(n/72*eb);return Math.round(t/i.header.unitsPerEm*r)}}function qy(e){return{name:(e?.name??nb).toLowerCase(),size:e?.size??tb,bold:e?.bold??!1,italic:e?.italic??!1,vertAlign:e?.vertAlign}}function Jy(e,t){if(!e)return 0;let n=qy(t),r=wy(n.name,n.bold),i=e.split(/\r\n|\r|\n/),a=0;for(let e of i){let t=Yy(e,n,r);t>a&&(a=t)}return a}function Yy(e,t,n){return e?n||t.name===`calibri`&&t.size===tb?Xy(e,t,n):Zy(e,t):0}function Xy(e,t,n){let r=0;for(let i of e)r+=$y(i.codePointAt(0),t,n);return t.vertAlign&&(r=Math.ceil(r*.6)),r}function Zy(e,t){let n=ky(t.name),r=n?.[0]??1,i=n?.[1]??1.3,a=n?.[2]??1,o=0,s=0,c=0;for(let t of e)Ay(t.codePointAt(0))?c+=2:t>=`A`&&t<=`Z`?s++:o++;let l=(o*r+s*i+c*a)*(t.size/tb);t.bold&&(l*=1.05),t.italic&&(l*=1.02),t.vertAlign&&(l*=.6);let u=Qy({name:t.name,size:t.size});return Math.ceil(l*u)}function Qy(e){let t=(e?.name??nb).toLowerCase(),n=e?.size??tb;if(t===`calibri`&&n===tb)return rb;let r=wy(t);if(r){let e=Math.round(n/72*eb);return Math.round(r.header.maxDigitAdvance/r.header.unitsPerEm*e)}return Math.max(1,Math.round(n/tb*rb))}function $y(e,t,n){let r;if(n||t.name===`calibri`&&t.size===tb){let i=n??Ey();r=Ky(e,t.name,t.size,t.bold,i)??Math.round(i.defaultAdvance/i.header.unitsPerEm*Math.round(t.size/72*eb))}else r=Math.ceil(t.size/tb*Qy({name:t.name,size:t.size})*(Ay(e)?2:1));return t.bold&&!Ty(t.name)&&(r=Math.ceil(r*1.05)),t.italic&&(r=Math.ceil(r*1.02)),r}var eb,tb,nb,rb,ib=n((()=>{Gy(),al(),eb=96,tb=11,nb=`Calibri`,rb=7}));function ab(e,t,n){let r=kC.get(e);r||(r=new Map,kC.set(e,r));let i=r.get(t);return i||(i=ny(e,t,n),r.set(t,i)),i}function ob(e){let t=1;for(let n of e)n.values.length>t&&(t=n.values.length);return t}function sb(e,t={}){let n=t.width??640,r=t.height??360,i=t.title??QS(e),a=e.chart.title?.overlay===!0,o=!!i&&!a,s=e.chart.plotArea.chartTypes,c=Ex(s,e),l=c.map(e=>e.values),u=c.find(e=>e.categories&&e.categories.length>0)?.categories??l[0]?.map((e,t)=>String(t+1))??[],d=Gx(e.chart.legend,c,n,r,o,u),f=e.chart.plotArea.dataTable,p=f?Bb(f,c,u):0,m=Rb(n,r,o,d,e,p,u.length),h=Nx(e,c),g=Jb(s,c,m,h,u,e.chart.view3D),_=mS(c,g),v=f?Ub(f,c,u,m,p):void 0,y=h.primaryYAxis?h.yRangesByAxisId.get(h.primaryYAxis.axId)??h.defaultYRange:h.defaultYRange,b=h.secondaryYAxis?h.yRangesByAxisId.get(h.secondaryYAxis.axId)??h.defaultYRange:void 0,x=h.primaryXAxis?h.xRangesByAxisId.get(h.primaryXAxis.axId)??h.defaultXRange:h.defaultXRange,S=h.secondaryXAxis?h.xRangesByAxisId.get(h.secondaryXAxis.axId)??h.defaultXRange:void 0,C=Yx(c,h.secondaryXAxis,u),w=s.every(e=>e.type===`pie`||e.type===`pie3D`||e.type===`doughnut`);return{width:n,height:r,title:i?{x:n/2,y:26,text:i,fontSize:18,color:(e.chart.title?eS(e.chart.title.txPr):void 0)??`#222222`,anchor:`middle`,...tS(e.chart.title?.txPr)}:void 0,plot:m,gridlines:w?[]:px(m,h.primaryYAxis,y,h.primaryXAxis,x,u),xLabels:w||v?[]:Cx(u,m,h.primaryXAxis,x),yLabels:w?[]:Tx(y.min,y.max,m,h.primaryYAxis,!1,u),secondaryXLabels:w?[]:h.secondaryXAxis?Cx(C,m,h.secondaryXAxis,S,!0):[],secondaryYLabels:w?[]:h.secondaryYAxis&&b?Tx(b.min,b.max,m,h.secondaryYAxis,!0,u):[],axisTitles:w?[]:qx(h,m),series:g,legend:d,dataTable:v,effectFilters:_,axes:w?{x:void 0,y:void 0,x2:void 0,y2:void 0}:{x:xS({x1:m.x,y1:m.y+m.height,x2:m.x+m.width,y2:m.y+m.height,color:V_},h.primaryXAxis),y:xS({x1:m.x,y1:m.y,x2:m.x,y2:m.y+m.height,color:V_},h.primaryYAxis),x2:h.secondaryXAxis?xS({x1:m.x,y1:m.y,x2:m.x+m.width,y2:m.y,color:V_},h.secondaryXAxis):void 0,y2:h.secondaryYAxis?xS({x1:m.x+m.width,y1:m.y,x2:m.x+m.width,y2:m.y+m.height,color:V_},h.secondaryYAxis):void 0}}}function cb(e,t={}){let n=sb(e,t),r=[],i=t.backgroundColor??`#fff`;if(r.push(`<svg xmlns="http://www.w3.org/2000/svg" width="${n.width}" height="${n.height}" viewBox="0 0 ${n.width} ${n.height}">`),r.push(`<!-- deterministic preview; not an Excel-identical layout -->`),i!==`transparent`&&r.push(`<rect width="100%" height="100%" fill="${sn(i)}"/>`),n.effectFilters.length>0){r.push(`<defs>`);for(let e of n.effectFilters)r.push(e.xml);r.push(`</defs>`)}n.title&&r.push(jS(n.title));for(let e of n.gridlines)r.push(kS(e));n.axes.x&&r.push(kS(n.axes.x)),n.axes.y&&r.push(kS(n.axes.y)),n.axes.x2&&r.push(kS(n.axes.x2)),n.axes.y2&&r.push(kS(n.axes.y2));for(let e of n.xLabels)r.push(jS(e));for(let e of n.yLabels)r.push(jS(e));for(let e of n.secondaryXLabels)r.push(jS(e));for(let e of n.secondaryYLabels)r.push(jS(e));for(let e of n.axisTitles)r.push(jS(e));for(let e of n.series)SS(r,e);for(let e of n.series)CS(r,e);return n.dataTable&&DS(r,n.dataTable),OS(r,n.legend),r.push(`</svg>`),r.join(``)}async function lb(e,t={}){let n=t.width??640,r=t.height??360,i=Eb(t.scale);return ub(cb(e,{...t,width:n,height:r}),{width:n,height:r,scale:i,dpi:t.dpi})}async function ub(e,t){let n=Math.max(1,Math.round(t.width)),r=Math.max(1,Math.round(t.height)),i=Eb(t.scale),a=Math.max(1,Math.round(n*i)),o=Math.max(1,Math.round(r*i));if(typeof document>`u`||typeof Image>`u`)return db(e,n,r,i,t.dpi);let s=new Blob([e],{type:`image/svg+xml;charset=utf-8`}),c=URL.createObjectURL(s);try{let e=await nC(c),t=document.createElement(`canvas`);t.width=a,t.height=o;let n=t.getContext(`2d`);if(!n)throw Error(`Canvas 2D context is unavailable`);n.drawImage(e,0,0,a,o);let r=await new Promise((e,n)=>{t.toBlob(t=>{t?e(t):n(Error(`Canvas PNG encoding failed`))},`image/png`)});return new Uint8Array(await r.arrayBuffer())}finally{URL.revokeObjectURL(c)}}function db(e,t,n,r,i){let a=Math.max(1,Math.round(t*r)),o=Math.max(1,Math.round(n*r)),s=new AC(a,o,r),c=/<(rect|line|circle|polyline|polygon|path)\b[^>]*>|<text\b[^>]*>[\s\S]*?<\/text>/g,l;for(;(l=c.exec(e))!==null;){let e=l[0],i=e.startsWith(`<text`)?`text`:l[1],a=fb(e);if(i===`rect`){let e=hb(a,`x`)*r,i=hb(a,`y`)*r,o=hb(a,`width`,0,t)*r,c=hb(a,`height`,0,n)*r,l=hb(a,`stroke-width`,1)*r;a.fill!==void 0&&s.fillRect(e,i,o,c,a.fill),a.stroke!==void 0&&l>0&&s.strokeRect(e,i,o,c,a.stroke,l)}else if(i===`line`)s.drawLine(hb(a,`x1`)*r,hb(a,`y1`)*r,hb(a,`x2`)*r,hb(a,`y2`)*r,a.stroke,hb(a,`stroke-width`,1)*r);else if(i===`circle`)s.fillCircle(hb(a,`cx`)*r,hb(a,`cy`)*r,hb(a,`r`)*r,a.fill),s.strokeCircle(hb(a,`cx`)*r,hb(a,`cy`)*r,hb(a,`r`)*r,a.stroke,hb(a,`stroke-width`,1)*r);else if(i===`polyline`)s.drawPolyline(gb(a.points,r),a.stroke,hb(a,`stroke-width`,1)*r);else if(i===`polygon`){let e=gb(a.points,r);s.fillPolygon(e,a.fill),e.length>0&&s.drawPolyline([...e,e[0]],a.stroke,hb(a,`stroke-width`,1)*r)}else if(i===`path`){let e=a[`data-sector`];if(e){let t=e.split(`,`).map(Number);if(t.length===6&&t.every(Number.isFinite)){let[e,n,i,o,c,l]=t;s.fillSector(e*r,n*r,i*r,o*r,c,l,a.fill)}}else{let e=_b(a.d,r);s.fillPolygon(e,a.fill),e.length>0&&s.drawPolyline([...e,e[0]],a.stroke,hb(a,`stroke-width`,1)*r)}}else if(i===`text`){let t=mb(a.transform);s.drawText(hb(a,`x`)*r,hb(a,`y`)*r,Cb(e.match(/<text\b[^>]*>([\s\S]*?)<\/text>/)?.[1]??``),hb(a,`font-size`,10)*r,a.fill,a[`text-anchor`],t?{angle:t.angle,originX:t.originX*r,originY:t.originY*r}:void 0)}}return Tb(a,o,s.data,i)}function fb(e){let t={},n=0,r=e.length;for(;n<r;){for(;n<r&&!pb(e.charCodeAt(n));)n++;if(n>=r)break;let i=n;for(;n<r&&pb(e.charCodeAt(n));)n++;let a=e.slice(i,n);if(n>=r||e.charCodeAt(n)!==61||(n++,n>=r||e.charCodeAt(n)!==34))continue;n++;let o=n;for(;n<r&&e.charCodeAt(n)!==34;)n++;t[a]=e.slice(o,n),n<r&&n++}return t}function pb(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===95||e===58||e===45}function mb(e){if(!e)return;let t=e.indexOf(`rotate(`);if(t<0)return;let n=e.indexOf(`)`,t);if(n<0)return;let r=e.slice(t+7,n).trim().split(/[\s,]+/),i=Number.parseFloat(r[0]);if(!(!Number.isFinite(i)||i===0))return{angle:i,originX:r.length>=3?Number.parseFloat(r[1]):0,originY:r.length>=3?Number.parseFloat(r[2]):0}}function hb(e,t,n=0,r){let i=e[t];if(i===void 0)return n;if(i.endsWith(`%`)){let e=Number.parseFloat(i);return Number.isFinite(e)&&r!==void 0?e/100*r:n}let a=Number.parseFloat(i);return Number.isFinite(a)?a:n}function gb(e,t=1){if(!e)return[];let n=e.trim().split(/[\s,]+/).map(Number).filter(Number.isFinite),r=[];for(let e=0;e+1<n.length;e+=2)r.push({x:n[e]*t,y:n[e+1]*t});return r}function _b(e,t=1){if(!e)return[];let n=e.match(/[MLAZ]|-?\d+(?:\.\d+)?/gi)??[],r=[],i=0,a,o;for(;i<n.length;){let e=n[i++].toUpperCase();if(e===`M`||e===`L`){let e=vb(n,i);if(i+=2,!e)continue;e.x*=t,e.y*=t,a=e,o??=e,r.push(e)}else if(e===`A`){if(!a){i+=7;continue}let e=yb(n,i,a,t);if(i+=7,!e)continue;for(let t of e.points)r.push(t);a=e.end}else if(e===`Z`)o&&r.push(o);else{let s=Number.parseFloat(e);if(!Number.isFinite(s)||i>=n.length)continue;let c=Number.parseFloat(n[i]);if(!Number.isFinite(c))continue;i++,a={x:s*t,y:c*t},o??=a,r.push(a)}}return r}function vb(e,t){let n=Number.parseFloat(e[t]),r=Number.parseFloat(e[t+1]);return Number.isFinite(n)&&Number.isFinite(r)?{x:n,y:r}:void 0}function yb(e,t,n,r){let i=Number.parseFloat(e[t]),a=Number.parseFloat(e[t+1]),o=Number.parseFloat(e[t+3])===1,s=Number.parseFloat(e[t+4])===1,c=vb(e,t+5);if(!(!Number.isFinite(i)||!Number.isFinite(a)||!c))return c.x*=r,c.y*=r,{end:c,points:bb(n,c,Math.max(i,a)*r,o,s)}}function bb(e,t,n,r,i){let a=t.x-e.x,o=t.y-e.y,s=Math.hypot(a,o);if(!Number.isFinite(n)||n<=0||s===0||s>n*2)return[t];let c=(e.x+t.x)/2,l=(e.y+t.y)/2,u=s/2,d=Math.sqrt(Math.max(0,n*n-u*u)),f=-o/s,p=a/s,m=[{x:c+f*d,y:l+p*d},{x:c-f*d,y:l-p*d}],h=m[0],g=-1/0;for(let n of m){let a=xb(n,e,t,i),o=Math.abs(a)>=Math.PI-1e-9===r?2:1-Math.abs(Math.abs(a)-Math.PI);o>g&&(g=o,h=n)}let _=Math.atan2(e.y-h.y,e.x-h.x),v=xb(h,e,t,i),y=wb(Math.ceil(Math.abs(v)*n/3),12,180),b=[];for(let e=1;e<=y;e++){let t=_+v*e/y;b.push({x:h.x+Math.cos(t)*n,y:h.y+Math.sin(t)*n})}return b}function xb(e,t,n,r){let i=Math.atan2(t.y-e.y,t.x-e.x),a=Math.atan2(n.y-e.y,n.x-e.x)-i;return r&&a<0?a+=Math.PI*2:!r&&a>0&&(a-=Math.PI*2),a}function Sb(e){if(!e||e===`none`||e===`transparent`)return;let t=e.startsWith(`#`)?e.slice(1):e;if(/^[0-9a-fA-F]{3}$/.test(t))return[Number.parseInt(t[0]+t[0],16),Number.parseInt(t[1]+t[1],16),Number.parseInt(t[2]+t[2],16),255];if(/^[0-9a-fA-F]{6}$/.test(t))return[Number.parseInt(t.slice(0,2),16),Number.parseInt(t.slice(2,4),16),Number.parseInt(t.slice(4,6),16),255];if(/^[0-9a-fA-F]{8}$/.test(t))return[Number.parseInt(t.slice(0,2),16),Number.parseInt(t.slice(2,4),16),Number.parseInt(t.slice(4,6),16),Number.parseInt(t.slice(6,8),16)];if(/^[0-9a-fA-F]{4}$/.test(t))return[Number.parseInt(t[0]+t[0],16),Number.parseInt(t[1]+t[1],16),Number.parseInt(t[2]+t[2],16),Number.parseInt(t[3]+t[3],16)]}function Cb(e){let t=``,n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i===60?n++:i===62?n>0?n--:t+=`>`:n===0&&(t+=e[r])}return t.replace(/&(?:([A-Za-z]+)|#x([0-9A-Fa-f]+)|#(\d+));/g,(e,t,n,r)=>{if(t!==void 0)switch(t){case`amp`:return`&`;case`lt`:return`<`;case`gt`:return`>`;case`quot`:return`"`;case`apos`:return`'`;default:return e}if(n!==void 0){let t=parseInt(n,16);return Number.isFinite(t)?String.fromCodePoint(t):e}if(r!==void 0){let t=parseInt(r,10);return Number.isFinite(t)?String.fromCodePoint(t):e}return e})}function wb(e,t,n){return Math.max(t,Math.min(n,e))}function Tb(e,t,n,r){let i=new Uint8Array((e*4+1)*t);for(let r=0;r<t;r++){let t=r*e*4,a=r*(e*4+1);i[a]=0,i.set(n.subarray(t,t+e*4),a+1)}let a=[];if(a.push(new Uint8Array([137,80,78,71,13,10,26,10])),a.push(Db(`IHDR`,kb([Ab(e),Ab(t),new Uint8Array([8,6,0,0,0])]))),r!==void 0){let e=Math.max(1,Math.round(r/.0254));a.push(Db(`pHYs`,kb([Ab(e),Ab(e),new Uint8Array([1])])))}return a.push(Db(`IDAT`,Ob(i))),a.push(Db(`IEND`,new Uint8Array)),kb(a)}function Eb(e){if(e===void 0)return 1;if(!Number.isFinite(e)||e<=0)throw Error(`chart render scale must be a positive finite number`);return Math.min(8,e)}function Db(e,t){let n=new TextEncoder().encode(e),r=kb([n,t]);return kb([Ab(t.length),n,t,Ab(Mb(r))])}function Ob(e){let t=[new Uint8Array([120,1])],n=0;for(;n<e.length;){let r=Math.min(65535,e.length-n),i=+(n+r>=e.length);t.push(new Uint8Array([i,r&255,r>>>8&255,~r&255,~r>>>8&255])),t.push(e.subarray(n,n+r)),n+=r}return t.push(Ab(jb(e))),kb(t)}function kb(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}function Ab(e){return new Uint8Array([e>>>24&255,e>>>16&255,e>>>8&255,e&255])}function jb(e){let t=1,n=0;for(let r of e)t=(t+r)%65521,n=(n+t)%65521;return(n<<16|t)>>>0}function Mb(e){let t=4294967295;for(let n of e){t^=n;for(let e=0;e<8;e++)t=t>>>1^(t&1?3988292384:0)}return(t^4294967295)>>>0}function Nb(e,t,n){let r=FS(sb(t,n),n.x,n.y,!0),i=n.trace;i?.push(`canvas:${J(r.width)}x${J(r.height)}@${J(n.x)},${J(n.y)}`),e.drawRect({x:n.x,y:n.y,width:r.width,height:r.height,fill:{r:1,g:1,b:1},stroke:{r:.8,g:.8,b:.8}}),r.title&&(i?.push(`text:title:${r.title.text}:${J(r.title.x)},${J(r.title.y)}`),Pb(e,r.title,{anchorOverride:`middle`}));for(let t of r.gridlines)i?.push(`line:grid:${J(t.x1)},${J(t.y1)}-${J(t.x2)},${J(t.y2)}`),e.drawLine({...t,color:Y(t.color)});r.axes.x&&(i?.push(`line:x:${J(r.axes.x.x1)},${J(r.axes.x.y1)}-${J(r.axes.x.x2)},${J(r.axes.x.y2)}`),e.drawLine({...r.axes.x,color:Y(r.axes.x.color)})),r.axes.y&&(i?.push(`line:y:${J(r.axes.y.x1)},${J(r.axes.y.y1)}-${J(r.axes.y.x2)},${J(r.axes.y.y2)}`),e.drawLine({...r.axes.y,color:Y(r.axes.y.color)})),r.axes.x2&&(i?.push(`line:x2:${J(r.axes.x2.x1)},${J(r.axes.x2.y1)}-${J(r.axes.x2.x2)},${J(r.axes.x2.y2)}`),e.drawLine({...r.axes.x2,color:Y(r.axes.x2.color)})),r.axes.y2&&(i?.push(`line:y2:${J(r.axes.y2.x1)},${J(r.axes.y2.y1)}-${J(r.axes.y2.x2)},${J(r.axes.y2.y2)}`),e.drawLine({...r.axes.y2,color:Y(r.axes.y2.color)}));for(let t of[...r.xLabels,...r.yLabels,...r.secondaryXLabels,...r.secondaryYLabels,...r.axisTitles])i?.push(`text:label:${t.text}:${J(t.x)},${J(t.y)}`),Pb(e,t);for(let t of r.series)i?.push(`series:${t.type}`),MS(e,t);for(let t of r.series)Fb(e,t,i);return r.dataTable&&NS(e,r.dataTable,i),i?.push(`legend:${r.legend.visible?`visible`:`hidden`}:${r.legend.items.map(e=>e.label).join(`|`)}`),PS(e,r.legend),e}function Pb(e,t,n={}){let r=n.anchorOverride??t.anchor??`start`;e.drawText(t.text,{x:t.x,y:t.y,fontSize:t.fontSize,color:t.color?Y(t.color):void 0,rotation:t.rotate,anchor:r,fontFamily:t.fontFamily,bold:t.bold,italic:t.italic})}function Fb(e,t,n){let r=`color`in t?Y(t.color):{r:.3,g:.3,b:.3};for(let r of t.leaderLines??[])n?.push(`leader:${J(r.x1)},${J(r.y1)}-${J(r.x2)},${J(r.y2)}`),e.drawLine({x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2,color:Y(r.color),lineWidth:r.width??1});for(let r of t.errorBars??[]){n?.push(`errorbar:${J(r.line.x1)},${J(r.line.y1)}-${J(r.line.x2)},${J(r.line.y2)}`),e.drawLine({x1:r.line.x1,y1:r.line.y1,x2:r.line.x2,y2:r.line.y2,color:Y(r.line.color),lineWidth:r.line.width??1});for(let t of[r.cap1,r.cap2])t&&e.drawLine({x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,color:Y(t.color),lineWidth:t.width??1})}for(let r of t.trendlines??[]){n?.push(`trendline:${r.points.length}pts`);let t=r.dash?[4,3]:void 0;for(let n of AS(r.points))for(let i=1;i<n.length;i++){let a=n[i-1],o=n[i];e.drawLine({x1:a.x,y1:a.y,x2:o.x,y2:o.y,color:Y(r.color),lineWidth:r.width??1.5,dashPattern:t})}r.label&&Pb(e,r.label)}for(let n of t.markers??[])Ib(e,n);for(let r of t.labels??[])n?.push(`label:${r.text}:${J(r.x)},${J(r.y)}`),Pb(e,r);if(t.type===`bar`&&t.depth&&t.depth>0&&t.projection3D)for(let n of t.bars)Lb(e,n,t.projection3D,r,t.horizontal)}function Ib(e,t){let n=t.size/2,r=Y(t.color),i=t.symbol??`circle`;if(i===`square`){e.drawRect({x:t.x-n,y:t.y-n,width:t.size,height:t.size,fill:r});return}if(i===`diamond`){if(e.drawPath){e.drawPath([{op:`move`,x:t.x,y:t.y-n},{op:`line`,x:t.x+n,y:t.y},{op:`line`,x:t.x,y:t.y+n},{op:`line`,x:t.x-n,y:t.y},{op:`close`}],{fill:r});return}e.drawLine({x1:t.x,y1:t.y-n,x2:t.x+n,y2:t.y,color:r}),e.drawLine({x1:t.x+n,y1:t.y,x2:t.x,y2:t.y+n,color:r}),e.drawLine({x1:t.x,y1:t.y+n,x2:t.x-n,y2:t.y,color:r}),e.drawLine({x1:t.x-n,y1:t.y,x2:t.x,y2:t.y-n,color:r});return}if(i===`triangle`){if(e.drawPath){e.drawPath([{op:`move`,x:t.x,y:t.y-n},{op:`line`,x:t.x+n,y:t.y+n},{op:`line`,x:t.x-n,y:t.y+n},{op:`close`}],{fill:r});return}e.drawLine({x1:t.x,y1:t.y-n,x2:t.x+n,y2:t.y+n,color:r}),e.drawLine({x1:t.x+n,y1:t.y+n,x2:t.x-n,y2:t.y+n,color:r}),e.drawLine({x1:t.x-n,y1:t.y+n,x2:t.x,y2:t.y-n,color:r});return}if(i===`x`){e.drawLine({x1:t.x-n,y1:t.y-n,x2:t.x+n,y2:t.y+n,color:r,lineWidth:2}),e.drawLine({x1:t.x+n,y1:t.y-n,x2:t.x-n,y2:t.y+n,color:r,lineWidth:2});return}if(i===`plus`){e.drawLine({x1:t.x-n,y1:t.y,x2:t.x+n,y2:t.y,color:r,lineWidth:2}),e.drawLine({x1:t.x,y1:t.y-n,x2:t.x,y2:t.y+n,color:r,lineWidth:2});return}e.drawCircle?e.drawCircle({cx:t.x,cy:t.y,r:n,fill:r}):e.drawRect({x:t.x-n,y:t.y-n,width:t.size,height:t.size,fill:r})}function Lb(e,t,n,r,i){let a=n.dx,o=n.dy,s=t.x+t.width,c=t.y,l=t.y+t.height,u={r:r.r,g:r.g,b:r.b,a:.92},d={r:r.r,g:r.g,b:r.b,a:.75},f=[{op:`move`,x:t.x,y:c},{op:`line`,x:t.x+a,y:c-o},{op:`line`,x:s+a,y:c-o},{op:`line`,x:s,y:c},{op:`close`}],p=[{op:`move`,x:s,y:c},{op:`line`,x:s+a,y:c-o},{op:`line`,x:s+a,y:l-o},{op:`line`,x:s,y:l},{op:`close`}];if(e.drawPath){e.drawPath(f,{fill:u}),e.drawPath(p,{fill:d}),e.drawRect({x:t.x,y:c,width:t.width,height:t.height,fill:r});return}for(let t of[f,p])for(let n=1;n<t.length;n++){let r=t[n-1],i=t[n];r.op!==`close`&&i.op!==`close`&&`x`in r&&`y`in r&&`x`in i&&`y`in i&&e.drawLine({x1:r.x,y1:r.y,x2:i.x,y2:i.y,color:d})}e.drawRect({x:t.x,y:c,width:t.width,height:t.height,fill:r})}function Rb(e,t,n,r,i,a=0,o=0){let s=i.chart.plotArea.axes,c=s.find(e=>!e.delete&&e.axPos===`l`),l=s.find(e=>!e.delete&&e.axPos===`r`),u=s.find(e=>!e.delete&&e.axPos===`t`),d=s.find(e=>!e.delete&&e.axPos===`b`),f=r.visible&&i.chart.legend?.overlay!==!0,p=f&&r.position===`l`?r.rect.width+hC:0,m=f&&(r.position===`r`||r.position===`tr`)?r.rect.width+gC:0,h=rC+(c?.title?oC:0)+p,g=iC+(l?aC:0)+(l?.title?oC:0)+m,_=(n?cC:sC)+(u?lC:0)+(u?.title?uC:0)+(f&&r.position===`t`?dC:0),v=d&&a===0?o>6?Math.min(Math.max(pC,t*.15),t*.2):pC:0,y=fC+v+(d?.title?oC:0)+(f&&r.position===`b`?mC:0)+a,b={x:h,y:_,width:Math.max(_C,e-h-g),height:Math.max(_C,t-_-y)},x=i.chart.plotArea.layout?.manualLayout;return x?zb(b,x,e,t):b}function zb(e,t,n,r){let i=(t,r)=>t!==void 0&&r!==`factor`?T_(t)*n:e.x,a=(t,n)=>t!==void 0&&n!==`factor`?T_(t)*r:e.y,o=(t,r)=>t!==void 0&&r!==`factor`?T_(t)*n:e.width,s=(t,n)=>t!==void 0&&n!==`factor`?T_(t)*r:e.height,c=i(t.x,t.xMode),l=a(t.y,t.yMode),u=Math.max(10,o(t.w,t.wMode)),d=Math.max(10,s(t.h,t.hMode)),f=Math.max(0,Math.min(c,n-10)),p=Math.max(0,Math.min(l,r-10));return{x:f,y:p,width:Math.min(u,n-f),height:Math.min(d,r-p)}}function Bb(e,t,n){if(t.length===0||n.length===0)return 0;let r=Vb(e),i=Math.max(jC,Math.round(r*1.6));return(1+t.length)*i+IC}function Vb(e){return Hb(e.txPr)??MC}function Hb(e){if(!e)return;let t=_v(e);if(typeof t==`number`)return 4/3*t}function Ub(e,t,n,r,i){if(t.length===0||n.length===0||i<=0)return;let a=Vb(e),o=(i-IC)/(1+t.length),s=eS(e.txPr)??`#444444`,c=tS(e.txPr),l=e.showKeys!==!1,u=l?16:0,d=t.reduce((e,t)=>Math.max(e,tC(t.label||``,a,{bold:c.bold,italic:c.italic,fontName:c.fontFamily})),0),f=Math.ceil(d+u+PC),p=Math.max(4,r.x-f),m=r.x+r.width,h=r.y+r.height+IC,g={x:p,y:h,width:m-p,height:i-IC},_=[p,r.x],v=r.width/n.length;for(let e=1;e<=n.length;e++)_.push(r.x+v*e);let y=[h];for(let e=1;e<=1+t.length;e++)y.push(h+o*e);let b=[],x=[];for(let e=0;e<n.length;e++){let t=_[e+1]+v/2,r=y[0]+o/2+a/3;b.push({x:t,y:r,text:n[e]??``,fontSize:a,color:s,anchor:`middle`,...c})}for(let e=0;e<t.length;e++){let r=t[e],i=y[e+1]+o/2+a/3;if(l){let t=p+FC,n=y[e+1]+(o-NC)/2;x.push({x:t,y:n,width:NC,height:NC,color:r.color})}let d=p+FC+u;b.push({x:d,y:i,text:r.label||``,fontSize:a,color:s,anchor:`start`,...c});for(let e=0;e<n.length;e++){let t=r.values[e],n=_[e+1]+v/2;b.push({x:n,y:i,text:Wb(t),fontSize:a,color:s,anchor:`middle`,...c})}}let S=[],C=qb(e.spPr)??`#888888`,w=(e,t,n,r)=>{S.push({x1:e,y1:t,x2:n,y2:r,color:C,width:.75})};if(e.showOutline!==!1&&(w(g.x,g.y,g.x+g.width,g.y),w(g.x,g.y+g.height,g.x+g.width,g.y+g.height),w(g.x,g.y,g.x,g.y+g.height),w(g.x+g.width,g.y,g.x+g.width,g.y+g.height)),e.showHorzBorder!==!1)for(let e=1;e<y.length-1;e++)w(g.x,y[e],g.x+g.width,y[e]);if(e.showVertBorder!==!1)for(let e=1;e<_.length-1;e++)w(_[e],g.y,_[e],g.y+g.height);return{rect:g,columns:_,rows:y,cells:b,legendSwatches:x,borders:S}}function Wb(e){return e===void 0||!Number.isFinite(e)?``:Number.isInteger(e)?e.toString():Number.parseFloat(e.toPrecision(6)).toString()}function Gb(e){let t=Kb(e?.rotX??15),n=Kb(e?.rotY??20),r=e?.depthPercent??100,i=Number.isFinite(r)&&r>0?Math.min(2e3,Math.max(20,r))/100:1;return{dx:.6*Math.sin(n)*i,dy:.6*Math.sin(t)*i}}function Kb(e){return e*Math.PI/180}function qb(e){if(e)return L_(hv(e)?.color)}function Jb(e,t,n,r,i,a){let o=[];for(let s of e){let e=t.filter(e=>e.group===s);if(e.length!==0){if(s.type===`pie`||s.type===`pie3D`||s.type===`doughnut`){let t=e[0],a=Lx(t,r);o.push(mx(ax(s.type===`doughnut`?`doughnut`:`pie`,t.values,n,s.type===`doughnut`,t,s.firstSliceAng,s.holeSize),t,n,a.min,a.max,i));continue}if(s.type===`ofPie`){let t=e[0],a=Lx(t,r);o.push(mx(ox(t.values,n,s.secondPieSize,t),t,n,a.min,a.max,i));continue}if(s.type===`radar`){for(let t of e){let e=Lx(t,r);o.push(mx(sx(t,n,e.min,e.max,s.radarStyle===`filled`),t,n,e.min,e.max,i))}continue}if(s.type===`stock`){let t=zx(s,r);o.push(cx(e,n,t.min,t.max,i));continue}if(s.type===`surface`||s.type===`surface3D`){let t=zx(s,r);o.push(lx(e,n,t.min,t.max,s.wireframe));continue}if(s.type===`area`||s.type===`area3D`){let t=zx(s,r),a=q(Xb(t.min,t.max),t.min,t.max,n),c=s.grouping===`stacked`||s.grouping===`percentStacked`,l=s.grouping===`percentStacked`,u=l&&e.some(e=>e.values.some(e=>Number.isFinite(e)&&e<0))?{min:-1,max:1}:{min:0,max:1};for(let t of e){let d=l?u:Lx(t,r),f=c?$b(e,t.seriesIndex,n,d.min,d.max,l):{upper:rx(t.values,n,d.min,d.max),lower:void 0};o.push(mx({type:`area`,color:t.color,label:t.label,points:f.upper,lowerPoints:f.lower,baselineY:a,closed:s.type===`area3D`},t,n,d.min,d.max,i))}continue}if(s.type===`bubble`){let t=s.showNegBubbles===!0;for(let a of e){let e=Lx(a,r),s=Rx(a,r);o.push(mx({type:`bubble`,color:a.color,label:a.label,bubbles:ix(a,n,e.min,e.max,s.min,s.max,t)},a,n,e.min,e.max,i,s))}continue}if(s.type===`line`||s.type===`line3D`||s.type===`scatter`){let t=s.type===`scatter`?`scatter`:`line`,a=(s.type===`line`||s.type===`line3D`)&&(s.grouping===`stacked`||s.grouping===`percentStacked`),c=a&&s.grouping===`percentStacked`,l=a?ex(e,ob(e),c):void 0,u=c&&e.some(e=>e.values.some(e=>Number.isFinite(e)&&e<0))?{min:-1,max:1}:{min:0,max:1};for(let d of e){let f=c?u:Lx(d,r),p=Rx(d,r),m=s.type===`scatter`?nx(d,n,f.min,f.max,p.min,p.max):rx(a&&l?Array.from({length:ob(e)},(t,n)=>tx(e,d.seriesIndex,n,l,!0)):d.values,n,f.min,f.max);o.push(mx({type:t,color:d.color,label:d.label,points:m,smooth:`smooth`in s?s.smooth??!1:!1,showLine:s.type!==`scatter`||s.scatterStyle!==`marker`},d,n,f.min,f.max,i,s.type===`scatter`?p:void 0))}continue}if(s.type===`bar`||s.type===`bar3D`){let t=s.grouping===`stacked`||s.grouping===`percentStacked`,c=s.grouping===`percentStacked`,l=c&&e.some(e=>e.values.some(e=>Number.isFinite(e)&&e<0))?{min:-1,max:1}:{min:0,max:1},u=s.type===`bar3D`?Gb(a):void 0;for(let a of e){let d=s.barDir===`bar`,f=c?l:Lx(a,r),p=t?Qb(e,a.seriesIndex,d,n,f.min,f.max,c):d?Zb(a.values,a.seriesIndex,e.length,i,n,f.min,f.max):Yb(a.values,a.seriesIndex,e.length,i,n,f.min,f.max),m=u?Math.max(6,Math.min(p.reduce((e,t)=>Math.min(e,d?t.height:t.width),1/0)*.3,n.width*.12)):0;o.push(mx({type:`bar`,color:a.color,label:a.label,horizontal:d,depth:s.type===`bar3D`?m:0,projection3D:u?{dx:u.dx*m,dy:u.dy*m}:void 0,bars:p},a,n,f.min,f.max,i))}}}}return o}function Yb(e,t,n,r,i,a,o){let s=Math.max(1,r.length,e.length),c=i.width/s,l=c*.72/Math.max(1,n),u=q(Xb(a,o),a,o,i);return e.map((e,n)=>{if(!Number.isFinite(e))return{x:i.x+n*c+c*.14+t*l,y:u,width:l,height:0};let r=q(e,a,o,i);return{x:i.x+n*c+c*.14+t*l,y:Math.min(r,u),width:l,height:Math.abs(u-r)}})}function Xb(e,t){let n=Math.min(e,t),r=Math.max(e,t);return n<=0&&r>=0?0:n>0?n:r}function Zb(e,t,n,r,i,a,o){let s=Math.max(1,r.length,e.length),c=i.height/s,l=c*.72/Math.max(1,n),u=E_(Xb(a,o),a,o,i);return e.map((e,n)=>{if(!Number.isFinite(e))return{x:u,y:i.y+n*c+c*.14+t*l,width:0,height:l};let r=E_(e,a,o,i);return{x:Math.min(r,u),y:i.y+n*c+c*.14+t*l,width:Math.abs(r-u),height:l}})}function Qb(e,t,n,r,i,a,o){let s=ob(e),c=n?r.height/s:r.width/s,l=c*.72,u=ex(e,s,o);return Array.from({length:s},(o,s)=>{let d=tx(e,t,s,u,!1),f=tx(e,t,s,u,!0);if(n){let e=E_(d,i,a,r),t=E_(f,i,a,r);return{x:Math.min(e,t),y:r.y+s*c+c*.14,width:Math.abs(t-e),height:l}}let p=q(d,i,a,r),m=q(f,i,a,r);return{x:r.x+s*c+c*.14,y:Math.min(p,m),width:l,height:Math.abs(m-p)}})}function $b(e,t,n,r,i,a){let o=ob(e),s=ex(e,o,a),c=Array.from({length:o},(n,r)=>tx(e,t,r,s,!1)),l=Array.from({length:o},(n,r)=>tx(e,t,r,s,!0));return{lower:rx(c,n,r,i),upper:rx(l,n,r,i)}}function ex(e,t,n){return Array.from({length:t},(t,r)=>{if(!n)return 1;let i=0;for(let t of e){let e=t.values[r];typeof e==`number`&&Number.isFinite(e)&&(i+=Math.abs(e))}return i||1})}function tx(e,t,n,r,i){let a=e[t]?.values[n],o=typeof a==`number`&&Number.isFinite(a)&&a<0?-1:1,s=0,c=i?t:t-1;for(let t=0;t<=c;t++){let r=e[t]?.values[n];typeof r!=`number`||!Number.isFinite(r)||(r<0?-1:1)===o&&(s+=r)}return s/r[n]}function nx(e,t,n,r,i,a){let o=e.xValues&&e.xValues.length>0?e.xValues:e.values.map((e,t)=>t+1),s=1/0,c=-1/0;for(let e of o)Number.isFinite(e)&&(e<s&&(s=e),e>c&&(c=e));(!Number.isFinite(s)||!Number.isFinite(c))&&(s=0,c=Math.max(1,o.length));let l=i??s,u=a??c;return e.values.map((e,i)=>({x:E_(o[i]??i+1,l,u<=l?l+1:u,t),y:q(e,n,r,t)}))}function rx(e,t,n,r){let i=e.length>1?t.width/(e.length-1):t.width;return e.map((e,a)=>({x:t.x+a*i,y:q(e,n,r,t)}))}function ix(e,t,n,r,i,a,o=!1){let s=e.xValues&&e.xValues.length>0?e.xValues:e.values.map((e,t)=>t+1),c=e.values,l=e.bubbleSizes??[],u=0;for(let e of l){let t=o?Math.abs(e):e;Number.isFinite(t)&&t>u&&(u=t)}let d=1/0,f=-1/0;for(let e of s)Number.isFinite(e)&&(e<d&&(d=e),e>f&&(f=e));(!Number.isFinite(d)||!Number.isFinite(f))&&(d=0,f=Math.max(1,s.length));let p=i??d,m=a??f,h=Math.max(s.length,c.length),g=[];for(let e=0;e<h;e++){let i=l[e];if(!o&&typeof i==`number`&&Number.isFinite(i)&&i<0)continue;let a=s[e]??e+1,d=c[e]??0;if(!Number.isFinite(a)||!Number.isFinite(d))continue;let f=Math.abs(typeof i==`number`&&Number.isFinite(i)?i:1),h=u>0?Math.sqrt(u):1;g.push({x:E_(a,p,m<=p?p+1:m,t),y:q(d,n,r,t),radius:4+Math.sqrt(f)/h*16})}return g}function ax(e,t,n,r,i,a,o){let s=Math.min(n.width,n.height)/2.35,c=n.x+n.width/2,l=n.y+n.height/2,u=t.reduce((e,t)=>e+(Number.isFinite(t)?Math.abs(t):0),0)||1,d=kx(i),f=Ax(i),p=-Math.PI/2+(a&&Number.isFinite(a)?a*Math.PI/180:0);return{type:e,slices:t.map((e,t)=>{let n=Number.isFinite(e)?Math.abs(e)/u*Math.PI*2:0,i=p+n,a=f[t]??0,m=a>0?a/100*s:0,h=(p+i)/2,g={color:d[t]??X[t%X.length],cx:c+Math.cos(h)*m,cy:l+Math.sin(h)*m,radius:s,innerRadius:r?s*jx(o):0,startAngle:p,endAngle:i};return p=i,g}),label:i?.label}}function ox(e,t,n=75,r){let i=Math.max(1,Math.floor(e.length*.7)),a=e.slice(0,i),o=e.slice(i),s=ax(`pie`,a,{...t,width:t.width*.62},!1,r),c=Math.min(t.width,t.height)/2.35*Math.max(.25,Math.min(2,n/100)),l=t.x+t.width*.78,u=t.y+t.height/2,d=-Math.PI/2,f=o.reduce((e,t)=>e+(Number.isFinite(t)?Math.abs(t):0),0)||1,p=kx(r),m=o.map((e,t)=>{let n=Number.isFinite(e)?Math.abs(e)/f*Math.PI*2:0,r=d+n,a={color:p[i+t]??X[(i+t)%X.length],cx:l,cy:u,radius:c,innerRadius:0,startAngle:d,endAngle:r};return d=r,a}),h=[{x1:s.slices[0]?.cx??t.x,y1:u-c,x2:l-c,y2:u-c,color:H_},{x1:s.slices[0]?.cx??t.x,y1:u+c,x2:l-c,y2:u+c,color:H_}];return{type:`ofPie`,slices:s.slices,secondarySlices:m,connectors:h}}function sx(e,t,n,r,i){let a={x:t.x+t.width/2,y:t.y+t.height/2},o=Math.min(t.width,t.height)/2.25,s=r-n,c=s===0||!Number.isFinite(s)?1:s,l=Math.max(1,e.values.length),u=e.values.map((e,t)=>{let r=-Math.PI/2+t/l*Math.PI*2;if(!Number.isFinite(e))return{x:NaN,y:NaN};let i=(e-n)/c*o;return{x:a.x+Math.cos(r)*i,y:a.y+Math.sin(r)*i}});return{type:`radar`,color:e.color,points:u,center:a,radius:o,filled:i,label:e.label}}function cx(e,t,n,r,i){let a=Math.max(1,i.length,...e.map(e=>e.values.length)),o=t.width/a,s=Math.max(3,o*.45),c=(t,n)=>{let r=e[t]?.values[n];return typeof r==`number`&&Number.isFinite(r)?r:void 0},l=+(e.length>=5),u=e.length-l>=4,d=[];for(let e=0;e<a;e++){let i=u?c(l,e):void 0,a=c(l+ +!!u,e),f=c(l+(u?2:1),e),p=c(l+(u?3:2),e),m=[];if(typeof i==`number`&&m.push(i),typeof a==`number`&&m.push(a),typeof f==`number`&&m.push(f),typeof p==`number`&&m.push(p),m.length===0)continue;let h=m.reduce((e,t)=>t>e?t:e,m[0]),g=m.reduce((e,t)=>t<e?t:e,m[0]);d.push({x:t.x+e*o+o/2,highY:q(h,n,r,t),lowY:q(g,n,r,t),openY:i===void 0?void 0:q(i,n,r,t),closeY:p===void 0?void 0:q(p,n,r,t),width:s,up:i===void 0||p===void 0||p>=i})}return{type:`stock`,color:X[0],candles:d,label:e[0]?.label}}function lx(e,t,n,r,i){let a=Math.max(1,e.length),o=ob(e),s=t.width/o,c=t.height/a,l=[];for(let i=0;i<a;i++){let a=e[i]?.values??[];for(let e=0;e<o;e++){let o=a[e]??n,u=r<=n?0:(o-n)/(r-n);l.push({x:t.x+e*s,y:t.y+i*c,width:s,height:c,color:F_(`#5B9BD5`,`#ED7D31`,Math.max(0,Math.min(1,u)))})}}return{type:`surface`,cells:l,wireframe:i,label:e[0]?.label}}function ux(e,t,n){if(!Number.isFinite(e)||!Number.isFinite(t)||e===t)return[e];let r=n?.majorUnit;if(typeof r==`number`&&Number.isFinite(r)&&r>0){let n=Math.abs(t-e),i=t>=e?1:-1,a=Math.floor(n/r)+1,o=Math.min(200,a),s=[];for(let t=0;t<o;t++)s.push(e+i*t*r);return s[s.length-1]!==t&&(o<200?s.push(t):s[s.length-1]=t),s}if(LC(n)!==void 0){let n=Math.min(e,t),r=Math.max(e,t);if(r-n<=6+1e-9){let i=Math.ceil(n-1e-9),a=Math.floor(r+1e-9),o=a-i+1;if(o>=2&&o<=20){let n=[];if(e>t)for(let e=a;e>=i;e--)n.push(e);else for(let e=i;e<=a;e++)n.push(e);return n}}}let i=e>t,a=i?t:e,o=i?e:t,s=o-a;if(s<=0)return[a];let c=s/10,l=10**Math.floor(Math.log10(c)),u=c/l,d;d=u<=1.5?l:u<=3.5?2*l:u<=7.5?5*l:10*l;let f=[],p=Math.ceil(a/d)*d;for(let e=p;e<=o+d*.001&&(f.push(Math.round(e*1e10)/1e10),!(f.length>50));e+=d);return a<=0&&o>=0&&!f.includes(0)&&(f.push(0),f.sort((e,t)=>e-t)),i&&f.reverse(),f}function dx(e){let t=e?.scaling?.logBase;if(!(typeof t!=`number`||!Number.isFinite(t)||t<=1))return t}function fx(e,t){let n=t**+e;return $S(Number.isFinite(n)?n:e)}function px(e,t,n,r,i,a=[]){let o=[];if(t?.majorGridlines!==void 0){let r=z_(hv(t.majorGridlines))??`#D9D9D9`;if(t.axisType===`cat`||t.axisType===`ser`){let t=Math.max(1,a.length),n=e.height/t;for(let i=1;i<t;i++){let t=e.y+i*n;o.push({x1:e.x,y1:t,x2:e.x+e.width,y2:t,color:r})}}else{let i=ux(n.min,n.max,t);for(let t=i.length-1;t>=0;t--){let a=q(i[t],n.min,n.max,e);Math.abs(a-(e.y+e.height))<.5||Math.abs(a-e.y)<.5||o.push({x1:e.x,y1:a,x2:e.x+e.width,y2:a,color:r})}}}if(r?.majorGridlines!==void 0){let t=z_(hv(r.majorGridlines))??`#D9D9D9`;if(r.axisType===`cat`||r.axisType===`ser`){let n=Math.max(1,a.length),r=e.width/n;for(let i=1;i<n;i++){let n=e.x+i*r;o.push({x1:n,y1:e.y,x2:n,y2:e.y+e.height,color:t})}}else{let n=ux(i.min,i.max,r);for(let r of n){let n=E_(r,i.min,i.max,e);Math.abs(n-e.x)<.5||Math.abs(n-(e.x+e.width))<.5||o.push({x1:n,y1:e.y,x2:n,y2:e.y+e.height,color:t})}}}return o}function mx(e,t,n,r,i,a,o){let s=_x(e),c=t.values,l=vx(s,t.rawValues??c,a,t,n,e),u=bx(s,t),d=xx(s,c,t,n,r,i),f;if(l.length>0&&(e.type===`pie`||e.type===`doughnut`||e.type===`ofPie`)){let r=nS(t.group,t.series)?.position??`outEnd`;if(r===`outEnd`||r===`bestFit`){let t=gx(e,l,n);l=t.labels,f=t.leaderLines}}else l.length>1&&(l=hx(l,n));let p=Sx(s,c,t,n,r,i,e.type===`bar`&&e.horizontal===!0,o,t.xValues);return{...e,labels:l.length>0?l:void 0,markers:u.length>0?u:void 0,trendlines:d.length>0?d:void 0,errorBars:p.length>0?p:void 0,leaderLines:f&&f.length>0?f:void 0}}function hx(e,t){let n=t.y+4,r=t.y+t.height-4,i=e.map(e=>{let t=tC(e.text,e.fontSize),n=e.fontSize,r=e.anchor??`start`,i=r===`middle`?e.x-t/2:r===`end`?e.x-t:e.x;return{label:e,left:i,right:i+t,width:t,height:n,kept:!0}}),a=i.map((e,t)=>({entry:e,index:t})).sort((e,t)=>{let n=e.entry.left+e.entry.width/2,r=t.entry.left+t.entry.width/2;return n===r?e.index-t.index:n-r});for(let e=1;e<a.length;e++){let t=a[e].entry;for(let i=e-1;i>=0;i--){let e=a[i].entry;if(!e.kept||t.left>=e.right||e.left>=t.right)continue;let o=e.label.y-e.height;if(t.label.y-t.height+t.height+2>o){let i=o-2;if(i-t.height>=n){t.label={...t.label,y:i};continue}let a=e.label.y+t.height+2;if(a<=r){t.label={...t.label,y:a};continue}t.kept=!1;break}}}return i.filter(e=>e.kept).map(e=>e.label)}function gx(e,t,n){let r=[...e.slices,...e.secondarySlices??[]];if(r.length!==t.length)return{labels:t,leaderLines:[]};let i=r.map((e,n)=>{let r=(e.startAngle+e.endAngle)/2,i=Math.cos(r),a=Math.sin(r),o=e.cx+i*e.radius,s=e.cy+a*e.radius,c=i>=0?`right`:`left`,l=o+i*14,u=s+a*14,d=t[n];return{index:n,slice:e,angle:r,side:c,anchorX:o,anchorY:s,x:l,y:u,text:d.text,fontSize:d.fontSize,color:d.color,textAnchor:c===`left`?`end`:`start`}}),a=e=>{e.sort((e,t)=>e.y-t.y);let t=n.y+4,r=n.y+n.height-4;for(let n=0;n<e.length;n++){let i=e[n];if(n===0){i.y=Math.max(i.y,t);continue}let a=e[n-1];if(a._dropped){i.y=Math.max(i.y,t);continue}let o=a.y+a.fontSize+2;i.y<o&&(i.y=o),i.y>r&&(i._dropped=!0)}};a(i.filter(e=>e.side===`left`)),a(i.filter(e=>e.side===`right`));for(let e of i)e.x=e.side===`right`?Math.min(e.x,n.x+n.width-4):Math.max(e.x,n.x+4);let o=i.filter(e=>!e._dropped);return{labels:o.map(e=>({x:e.x,y:e.y,text:e.text,fontSize:e.fontSize,color:e.color,anchor:e.textAnchor===`end`?`end`:`start`})),leaderLines:o.map(e=>({x1:e.anchorX,y1:e.anchorY,x2:e.x-(e.side===`right`?4:-4),y2:e.y-e.fontSize/3,color:`#808080`,width:1}))}}function _x(e){return e.type===`bar`?e.horizontal?e.bars.map(e=>({x:e.x+e.width,y:e.y+e.height/2})):e.bars.map(e=>({x:e.x+e.width/2,y:e.y})):e.type===`area`||e.type===`line`||e.type===`scatter`||e.type===`radar`?e.points:e.type===`bubble`?e.bubbles.map(e=>({x:e.x,y:e.y})):e.type===`pie`||e.type===`doughnut`||e.type===`ofPie`?[...e.slices,...e.secondarySlices??[]].map(e=>{let t=(e.startAngle+e.endAngle)/2,n=(e.radius+e.innerRadius)/2;return{x:e.cx+Math.cos(t)*n,y:e.cy+Math.sin(t)*n}}):e.type===`stock`?e.candles.map(e=>({x:e.x,y:e.closeY??e.lowY})):e.type===`surface`?e.cells.map(e=>({x:e.x+e.width/2,y:e.y+e.height/2})):[]}function vx(e,t,n,r,i,a){let o=nS(r.group,r.series);if(!o?.showVal&&!o?.showCatName&&!o?.showSerName&&!o?.showPercent)return[];let s=e,c=t,l=n;if(e.length>30){let r=e.length/30,i=[];for(let e=0;e<30;e++)i.push(Math.round(e*r));s=i.map(t=>e[t]),c=i.map(e=>t[e]),l=i.map(e=>n[e])}let u=e=>e.reduce((e,t)=>e+(Number.isFinite(t)?Math.abs(t):0),0),d=u(t)||1,f=-1,p=d,m=d;if(a?.type===`ofPie`){f=a.slices.length;let e=t.slice(0,f),n=t.slice(f);p=u(e)||1,m=u(n)||1}let h=o.position??`outEnd`,g=tS(o.txPr),_=eS(o.txPr)??`#333333`,v=a?.type===`bar`?a.bars.map(e=>a.horizontal?{x:e.x,y:e.y+e.height/2}:{x:e.x+e.width/2,y:e.y+e.height}):void 0;return s.map((e,t)=>{let{x:n,y:s,anchor:u}=yx(e,o.entries?.find(e=>e.index===t)?.position??h,i,v?.[t],a?.type===`bar`&&a.horizontal),y=f>=0?t<f?p:m:d;return{x:n,y:s,text:rS(o,r,l[t],c[t]??0,y),fontSize:10,color:_,anchor:u,...g}})}function yx(e,t,n,r,i=!1){let a=n.y+10,o=n.y+n.height-4,s=n.x+4,c=n.x+n.width-4;switch(t){case`t`:case`outEnd`:return i?{x:Math.min(c,e.x+6),y:e.y+3,anchor:`start`}:{x:e.x,y:Math.max(a,e.y-6),anchor:`middle`};case`inBase`:return r?i?{x:Math.max(s,r.x+6),y:r.y+3,anchor:`start`}:{x:r.x,y:Math.min(o,r.y-6),anchor:`middle`}:{x:e.x,y:Math.min(o,e.y+6+10),anchor:`middle`};case`b`:return{x:e.x,y:Math.min(o,e.y+6+10),anchor:`middle`};case`l`:return{x:Math.max(s,e.x-6),y:e.y+3,anchor:`end`};case`r`:return{x:Math.min(c,e.x+6),y:e.y+3,anchor:`start`};case`ctr`:return r?{x:(e.x+r.x)/2,y:(e.y+r.y)/2+3,anchor:`middle`}:{x:e.x,y:e.y+3,anchor:`middle`};default:return{x:e.x,y:e.y+3,anchor:`middle`}}}function bx(e,t){let n=t.marker;return!n||n.symbol===`none`?[]:e.map(e=>({...e,color:t.color,size:n.size??6,symbol:n.symbol??`circle`}))}function xx(e,t,n,r,i,a){return!n.trendlines||e.length<2?[]:n.trendlines.map(o=>{let s=iS(o,e,t,n,r,i,a),c=s.length>0?s[s.length-1]:void 0;return{color:z_(o.spPr?hv(o.spPr):void 0)??`#666666`,width:B_(o.spPr?hv(o.spPr):void 0)??1.5,dash:o.spPr?.line?.dash,points:s,label:o.name&&c?{x:c.x,y:c.y-8,text:o.name,fontSize:10,color:`#555555`,anchor:`end`}:void 0}})}function Sx(e,t,n,r,i,a,o=!1,s,c){if(!n.errorBars||e.length===0)return[];let l=[];for(let u of n.errorBars){let n=z_(u.spPr?hv(u.spPr):void 0)??`#555555`,d=u.errDir===`x`?`x`:u.errDir===`y`?`y`:o?`x`:`y`,f=u.barDir===`plus`||u.barDir===`both`,p=u.barDir===`minus`||u.barDir===`both`;for(let m=0;m<e.length;m++){let h=e[m],g=t[m];if(!Number.isFinite(h.x)||!Number.isFinite(h.y)||!Number.isFinite(g))continue;let{plus:_,minus:v}=dS(u,g,t,m);if(d===`x`){let e,t,d;if(o)e=g,t=i,d=a;else if(s&&c){let n=c[m];if(!Number.isFinite(n))continue;e=n,t=s.min,d=s.max}else e=g,t=i,d=a;let y=f?Math.max(r.x,Math.min(r.x+r.width,E_(e+_,t,d===t?t+1:d,r))):h.x,b=p?Math.max(r.x,Math.min(r.x+r.width,E_(e-v,t,d===t?t+1:d,r))):h.x;l.push({line:{x1:b,y1:h.y,x2:y,y2:h.y,color:n},cap1:u.noEndCap||!f?void 0:{x1:y,y1:h.y-4,x2:y,y2:h.y+4,color:n},cap2:u.noEndCap||!p?void 0:{x1:b,y1:h.y-4,x2:b,y2:h.y+4,color:n}});continue}let y=f?Math.max(r.y,Math.min(r.y+r.height,q(g+_,i,a,r))):h.y,b=p?Math.max(r.y,Math.min(r.y+r.height,q(g-v,i,a,r))):h.y;l.push({line:{x1:h.x,y1:y,x2:h.x,y2:b,color:n},cap1:u.noEndCap||!f?void 0:{x1:h.x-4,y1:y,x2:h.x+4,y2:y,color:n},cap2:u.noEndCap||!p?void 0:{x1:h.x-4,y1:b,x2:h.x+4,y2:b,color:n}})}}return l}function Cx(e,t,n,r,i=!1){if(n?.delete||n?.tickLblPos===`none`)return[];if(n?.axisType===`val`){let{min:e,max:a}=r??{min:0,max:1};return wx(e,a,t,n,i)}let a=Math.max(1,e.length),o=t.width/a,s=n?.axisType===`cat`||n?.axisType===`ser`?n.tickLblSkip??1:1,c=Math.max(1,s);Math.ceil(e.length/c)>60&&(s=Math.ceil(e.length/60));let l=Math.max(1,s),u=[];for(let t=0;t<e.length&&!(t%l===0&&(u.push({label:e[t],idx:t}),u.length>=60));t++);let d=tS(n?.txPr),f=e.length>6;return u.map(({label:e,idx:r})=>({x:t.x+r*o+o/2,y:i?t.y-10:t.y+t.height+18,text:eC(e),fontSize:10,color:Qx(n),anchor:f?`end`:`middle`,rotate:f?-90:void 0,...d}))}function wx(e,t,n,r,i){let a=[],o=Qx(r),s=tS(r?.txPr),c=LC(r);for(let l of ux(e,t,r))a.push({x:E_(l,e,t,n),y:i?n.y-10:n.y+n.height+18,text:c?fx(l,c):$S(l),fontSize:10,color:o,anchor:`middle`,...s});return a}function Tx(e,t,n,r,i=!1,a=[]){if(r?.delete||r?.tickLblPos===`none`)return[];let o=[],s=Qx(r),c=tS(r?.txPr);if((r?.axisType===`cat`||r?.axisType===`ser`)&&a.length>0){let e=r.tickLblSkip??1,t=Math.max(1,e),l=n.height/Math.max(1,a.length),u=[];for(let e=0;e<a.length&&!(e%t===0&&(u.push({label:a[e],idx:e}),u.length>=12));e++);for(let{label:e,idx:t}of u)o.push({x:i?n.x+n.width+8:n.x-8,y:n.y+t*l+l/2+3,text:eC(e),fontSize:10,color:s,anchor:i?`start`:`end`,...c});return o}let l=LC(r);for(let a of ux(e,t,r))o.push({x:i?n.x+n.width+8:n.x-8,y:q(a,e,t,n)+3,text:l?fx(a,l):$S(a),fontSize:10,color:s,anchor:i?`start`:`end`,...c});return o}function Ex(e,t){let n=t?.chart?.plotArea?.axes,r=new Map;if(n)for(let e of n)r.set(e.axId,e);let i=new Map,a=e=>{let t=i.get(e);if(t)return t;let n=e.axisIds??[],a=Bx(e,n,r),o=Vx(e,n,r),s={yLogBase:dx(a===void 0?void 0:r.get(a)),xLogBase:dx(o===void 0?void 0:r.get(o))};return i.set(e,s),s},o=[],s=0;for(let t=0;t<e.length;t++){let n=e[t],r=WS(n),{yLogBase:i,xLogBase:c}=a(n);for(let e=0;e<r.length;e++){let a=r[e],l=GS(a),u=JS(a.xVal);o.push({group:n,groupIndex:t,series:a,seriesIndex:e,globalIndex:s,label:ZS(a,s),color:Dx(a,s),values:i?l.map(e=>typeof e==`number`?pS(e,i):e):l,categories:XS(a),xValues:c?u.map(e=>typeof e==`number`?pS(e,c):e):u,rawValues:l,rawXValues:u.length>0?u:void 0,yLogBase:i,xLogBase:c,bubbleSizes:KS(a.bubbleSize?.numRef),dataLabels:a.dataLabels,trendlines:a.trendlines,errorBars:Mx(a.errorBars),marker:a.marker}),s++}}return o}function Dx(e,t){return R_(e.spPr?mv(e.spPr):void 0,void 0)??X[t%X.length]}function Ox(e,t){let n=[];if(!e)return n;let r=e.series.dataPoints;if(!r)return n;for(let e of r){if(typeof e.index!=`number`||e.index<0)continue;let r=t(e);r!==void 0&&(n[e.index]=r)}return n}function kx(e){return Ox(e,e=>R_(e.spPr?mv(e.spPr):void 0,void 0)||void 0)}function Ax(e){return Ox(e,e=>typeof e.explosion==`number`&&Number.isFinite(e.explosion)&&e.explosion>0?e.explosion:void 0)}function jx(e){return(typeof e==`number`&&Number.isFinite(e)?Math.max(0,Math.min(90,e)):45)/100}function Mx(e){if(e)return Array.isArray(e)?e:[e]}function Nx(e,t){let n=e.chart.plotArea.axes,r=new Map(n.map(e=>[e.axId,e])),i=new Map;for(let t of e.chart.plotArea.chartTypes)i.set(t,t.axisIds??[]);let a=fS(t.map(e=>e.values),void 0),o=fS(t.map(e=>Wx(e)),void 0,{includeZero:!1,padding:.05}),s=new Map,c=new Map,l=new Map;for(let e of t){let t=l.get(e.group);t?t.push(e):l.set(e.group,[e])}for(let[e,t]of l){let n=i.get(e)??[],a=Ux(e)&&`grouping`in e&&(e.grouping===`stacked`||e.grouping===`percentStacked`),o=a&&`grouping`in e&&e.grouping===`percentStacked`;for(let e of t){let t=Bx(e.group,n,r),i=Vx(e.group,n,r);t!==void 0&&!a&&Px(s,t,e.values),i!==void 0&&Hx(e.group)&&Px(c,i,Wx(e))}if(a){let e=Bx(t[0].group,n,r);if(e!==void 0){let n=ob(t),r=[];for(let e=0;e<n;e++){let n=0,i=0;for(let r of t){let t=r.values[e];typeof t==`number`&&Number.isFinite(t)&&(t>=0?n+=t:i+=t)}o?r.push(n===0?0:1,i===0?0:-1):r.push(n,i)}Px(s,e,r)}}}let u=new Map;for(let[e,t]of s)u.set(e,fS(t,r.get(e)));let d=new Map;for(let[e,t]of c)d.set(e,fS(t,r.get(e),{includeZero:!1}));return{axesById:r,primaryXAxis:Fx(n,`x`,!1),primaryYAxis:Fx(n,`y`,!1),secondaryXAxis:Ix(n,`x`,Fx(n,`x`,!1)),secondaryYAxis:Ix(n,`y`,Fx(n,`y`,!1)),yRangesByAxisId:u,xRangesByAxisId:d,defaultYRange:a,defaultXRange:o}}function Px(e,t,n){let r=e.get(t);r?r.push(n):e.set(t,[n])}function Fx(e,t,n){let r=t===`x`?[`t`,`b`]:[`r`,`l`],i=n?r[0]:r[1],a=n?r[1]:r[0];return e.find(e=>!e.delete&&e.axPos===i)??(n?void 0:e.find(e=>!e.delete&&e.axPos===a))}function Ix(e,t,n){let r=Fx(e,t,!0);return r&&r!==n?r:void 0}function Lx(e,t){let n=Bx(e.group,e.group.axisIds??[],t.axesById);return n===void 0?t.defaultYRange:t.yRangesByAxisId.get(n)??t.defaultYRange}function Rx(e,t){let n=Vx(e.group,e.group.axisIds??[],t.axesById);return n===void 0?t.defaultXRange:t.xRangesByAxisId.get(n)??t.defaultXRange}function zx(e,t){let n=Bx(e,e.axisIds??[],t.axesById);return n===void 0?t.defaultYRange:t.yRangesByAxisId.get(n)??t.defaultYRange}function Bx(e,t,n){if(t.length!==0)return Hx(e)?t.find(e=>n.get(e)?.axPos===`l`||n.get(e)?.axPos===`r`)??t[1]:t.find(e=>n.get(e)?.axisType===`val`)??t[1]}function Vx(e,t,n){if(t.length!==0)return Hx(e)?t.find(e=>n.get(e)?.axPos===`b`||n.get(e)?.axPos===`t`)??t[0]:t.find(e=>n.get(e)?.axisType!==`val`)??t[0]}function Hx(e){return e.type===`scatter`||e.type===`bubble`}function Ux(e){return e.type===`bar`||e.type===`bar3D`||e.type===`line`||e.type===`line3D`||e.type===`area`||e.type===`area3D`}function Wx(e){return e.xValues&&e.xValues.length>0?e.xValues:e.values.map((e,t)=>t+1)}function Gx(e,t,n,r,i,a=[]){let o=e!==void 0&&t.length>0,s=e?.legendPos??`r`,c=s===`b`||s===`t`?`horizontal`:`vertical`,l=new Set(e?.legendEntries?.filter(e=>e.delete).map(e=>e.index)??[]),u;u=t.length===1&&a.length>1?a.map((e,t)=>({label:e,color:X[t%X.length]})):t.filter((e,t)=>!l.has(t)).map(e=>({label:e.label,color:e.color}));let d=Kx(s,c,n,r,i,u.map(e=>e.label)),f=tS(e?.txPr),p=e?.txPr?eS(e.txPr):void 0,m=f.fontFamily!==void 0||f.bold||f.italic||f.fontSize!==void 0||p?{...f,color:p}:void 0;return{rect:d,visible:o,position:s,orientation:c,items:u,textStyle:m}}function Kx(e,t,n,r,i,a){let o=a.map(e=>yC+tC(e,bC)+vC);if(t===`horizontal`){let t=o.reduce((e,t)=>e+t,0),a=Math.min(n-wC,Math.max(SC,Math.ceil(t)));return{x:(n-a)/2,y:e===`t`?i?EC:DC:r-26,width:a,height:xC}}let s=o.reduce((e,t)=>t>e?t:e,0),c=Math.min(Math.max(SC,Math.ceil(s)),Math.max(SC,n-64)),l=Math.min(r-TC,Math.max(xC,a.length*xC));return{x:e===`l`?CC:n-c-CC,y:e===`tr`?i?OC:DC:Math.max(i?cC:sC,(r-l)/2),width:c,height:l}}function qx(e,t){let n=[];return Jx(n,e.primaryXAxis,t),Jx(n,e.primaryYAxis,t),Jx(n,e.secondaryXAxis,t),Jx(n,e.secondaryYAxis,t),n}function Jx(e,t,n){if(!t||t.delete||!t.title)return;let r=Xx(t.title);if(!r)return;let i={text:r,fontSize:11,color:$x(t.title),anchor:`middle`,...tS(t.title.txPr)};t.axPos===`b`?e.push({...i,x:n.x+n.width/2,y:n.y+n.height+38}):t.axPos===`t`?e.push({...i,x:n.x+n.width/2,y:n.y-26}):t.axPos===`l`?e.push({...i,x:n.x-44,y:n.y+n.height/2,rotate:-90}):t.axPos===`r`&&e.push({...i,x:n.x+n.width+44,y:n.y+n.height/2,rotate:90})}function Yx(e,t,n){if(!t)return n;let r=e.find(e=>(e.group.axisIds??[])[0]===t.axId);return r?.categories&&r.categories.length>0?r.categories:n}function Xx(e){return e.text?.paragraphs.map(e=>(e.runs??[]).map(e=>e.text).join(``)).join(`
|
|
59
|
-
`)??e.strRef?.cache?.points?.map(e=>e.value).join(``)}function Zx(e){return z_(e?.spPr?hv(e.spPr):void 0)??`#444444`}function Qx(e){return eS(e?.txPr)??`#555555`}function $x(e){return eS(e.txPr)??`#333333`}function eS(e){return e?L_((typeof e._rawXml==`string`&&e.color===void 0?gv(e):e).color):void 0}function tS(e){if(!e)return{};let t=typeof e._rawXml==`string`&&e.fontFamily===void 0?gv(e):e,n={};return typeof t.fontFamily==`string`&&t.fontFamily.length>0&&(n.fontFamily=t.fontFamily),t.bold&&(n.bold=!0),t.italic&&(n.italic=!0),typeof t.size==`number`&&Number.isFinite(t.size)&&t.size>0&&(n.fontSize=t.size/100),n}function nS(e,t){let n=e.dataLabels,r=t.dataLabels;return n||r?{...n??{},...r??{}}:void 0}function rS(e,t,n,r,i){let a=e.separator??`, `,o=[];return e.showSerName&&o.push(t.label),e.showCatName&&n!==void 0&&o.push(n),e.showVal&&o.push($S(r)),e.showPercent&&Number.isFinite(r)&&Number.isFinite(i)&&i>0&&o.push(`${Math.round(Math.abs(r)/i*100)}%`),o.join(a)}function iS(e,t,n,r,i,a,o){if(e.type===`movingAvg`)return uS(t,n,e.period??2,i,a,o);let s=r.rawValues??n,c=r.rawXValues??[],l=[];for(let e=0;e<s.length;e++){let t=s[e],n=c[e]??e+1;Number.isFinite(n)&&Number.isFinite(t)&&l.push({x:n,y:t})}if(l.length<2)return[];let u=l[0].x,d=l[l.length-1].x;for(let e of l)e.x<u&&(u=e.x),e.x>d&&(d=e.x);if(!Number.isFinite(u)||!Number.isFinite(d)||d===u)return[];let f=Number.isFinite(e.forward)?e.forward:0,p=Number.isFinite(e.backward)?e.backward:0,m=u-p,h=d+f,g=aS(e,l);if(!g)return[];let _=e.type!==`linear`||r.yLogBase!==void 0||r.xLogBase!==void 0?64:2,v=[],y=r.group.type===`scatter`||r.group.type===`bubble`,b=s.length,x=e=>{if(b<=1)return i.x+i.width/2;let t=i.width/(b-1),n=Math.max(0,Math.min(b-1,e-1));return i.x+n*t},S=y?lS(r,b):void 0;for(let e=0;e<_;e++){let t=_>1?_-1:1,n=e/t,s=m+(h-m)*n,c=g(s);if(!Number.isFinite(c))continue;let l=r.yLogBase?pS(c,r.yLogBase):c;if(!Number.isFinite(l))continue;let u;if(y&&S){let e=r.xLogBase?pS(s,r.xLogBase):s;if(!Number.isFinite(e))continue;u=E_(e,S.min,S.max,i)}else u=x(s);let d=q(l,a,o,i);Number.isFinite(u)&&Number.isFinite(d)&&v.push({x:u,y:d})}return v}function aS(e,t){switch(e.type){case`linear`:{let{slope:e,intercept:n}=oS(t.map(e=>e.x),t.map(e=>e.y));return!Number.isFinite(e)||!Number.isFinite(n)?void 0:t=>e*t+n}case`exp`:{let e=t.filter(e=>e.y>0);if(e.length<2)return;let{slope:n,intercept:r}=oS(e.map(e=>e.x),e.map(e=>Math.log(e.y)));if(!Number.isFinite(n)||!Number.isFinite(r))return;let i=Math.exp(r);return e=>i*Math.exp(n*e)}case`log`:{let e=t.filter(e=>e.x>0);if(e.length<2)return;let{slope:n,intercept:r}=oS(e.map(e=>Math.log(e.x)),e.map(e=>e.y));return!Number.isFinite(n)||!Number.isFinite(r)?void 0:e=>e>0?r+n*Math.log(e):NaN}case`power`:{let e=t.filter(e=>e.x>0&&e.y>0);if(e.length<2)return;let{slope:n,intercept:r}=oS(e.map(e=>Math.log(e.x)),e.map(e=>Math.log(e.y)));if(!Number.isFinite(n)||!Number.isFinite(r))return;let i=Math.exp(r);return e=>e>0?i*e**+n:NaN}case`poly`:{let n=e.order??2,r=Math.max(2,Math.min(6,Math.floor(n)));if(t.length<=r){let{slope:e,intercept:n}=oS(t.map(e=>e.x),t.map(e=>e.y));return!Number.isFinite(e)||!Number.isFinite(n)?void 0:t=>e*t+n}let i=sS(t.map(e=>e.x),t.map(e=>e.y),r);return!i||i.some(e=>!Number.isFinite(e))?void 0:e=>{let t=0,n=1;for(let r of i)t+=r*n,n*=e;return t}}default:return}}function oS(e,t){let n=Math.min(e.length,t.length);if(n<2)return{slope:NaN,intercept:NaN};let r=0,i=0;for(let a=0;a<n;a++)r+=e[a],i+=t[a];r/=n,i/=n;let a=0,o=0;for(let s=0;s<n;s++){let n=e[s]-r;a+=n*(t[s]-i),o+=n*n}if(o===0)return{slope:NaN,intercept:NaN};let s=a/o;return{slope:s,intercept:i-s*r}}function sS(e,t,n){let r=Math.min(e.length,t.length),i=n+1;if(r<i)return;let a=0;for(let t=0;t<r;t++)a+=e[t];a/=r;let o=0;for(let t=0;t<r;t++){let n=Math.abs(e[t]-a);n>o&&(o=n)}let s=o>0?o:1,c=e.map(e=>(e-a)/s),l=Array.from({length:i},()=>Array(i).fill(0)),u=Array(i).fill(0);for(let e=0;e<r;e++){let n=c[e],r=Array(i),a=1;for(let e=0;e<i;e++)r[e]=a,a*=n;let o=t[e];for(let e=0;e<i;e++){u[e]+=r[e]*o;for(let t=0;t<i;t++)l[e][t]+=r[e]*r[t]}}let d=l.map((e,t)=>[...e,u[t]]);for(let e=0;e<i;e++){let t=e,n=Math.abs(d[t][e]);for(let r=e+1;r<i;r++){let i=Math.abs(d[r][e]);i>n&&(n=i,t=r)}if(n<1e-12)return;if(t!==e){let n=d[e];d[e]=d[t],d[t]=n}let r=d[e][e];for(let t=e;t<=i;t++)d[e][t]/=r;for(let t=0;t<i;t++){if(t===e)continue;let n=d[t][e];if(n!==0)for(let r=e;r<=i;r++)d[t][r]-=n*d[e][r]}}let f=Array(i);for(let e=0;e<i;e++)f[e]=d[e][i];let p=Array(i).fill(0);for(let e=0;e<i;e++){let t=f[e]/s**+e;for(let n=0;n<=e;n++)p[n]+=t*cS(e,n)*(-a)**+(e-n)}return p}function cS(e,t){if(t<0||t>e)return 0;if(t===0||t===e)return 1;let n=1,r=1,i=Math.min(t,e-t);for(let t=0;t<i;t++)n*=e-t,r*=t+1;return n/r}function lS(e,t){let n=e.xValues&&e.xValues.length>0?e.xValues:void 0;if(!n)return{min:0,max:Math.max(1,t)};let r=1/0,i=-1/0;for(let e of n)Number.isFinite(e)&&(e<r&&(r=e),e>i&&(i=e));return!Number.isFinite(r)||!Number.isFinite(i)?{min:0,max:Math.max(1,t)}:(i<=r&&(i=r+1),{min:r,max:i})}function uS(e,t,n,r,i,a){let o=Math.max(1,Math.floor(n));return e.map((e,n)=>{let s=Math.max(0,n-o+1),c=t.slice(s,n+1).filter(e=>Number.isFinite(e));if(c.length===0)return{x:e.x,y:e.y};let l=c.reduce((e,t)=>e+t,0)/c.length;return{x:e.x,y:q(l,i,a,r)}})}function dS(e,t,n,r){if(e.errValType===`fixedVal`){let t=e.val??1;return{plus:t,minus:t}}if(e.errValType===`percentage`){let n=Math.abs(t)*((e.val??5)/100);return{plus:n,minus:n}}if(e.errValType===`cust`){let t=e.plus?.numRef?.cache?.points??e.plus?.numLit?.points??[],n=e.minus?.numRef?.cache?.points??e.minus?.numLit?.points??[],i=e=>{let t=e.find(e=>e.index===r)?.value;return typeof t==`number`&&Number.isFinite(t)?Math.abs(t):0};return{plus:i(t),minus:i(n)}}if(e.errValType===`stdDev`||e.errValType===`stdErr`){let t=n.filter(e=>Number.isFinite(e));if(t.length===0){let t=e.val??1;return{plus:t,minus:t}}let r=t.length,i=t.reduce((e,t)=>e+t,0)/r,a=Math.max(1,r-1),o=t.reduce((e,t)=>e+(t-i)**2,0)/a,s=Math.sqrt(o),c=e.errValType===`stdDev`?s*(e.val??1):s/Math.sqrt(r);return{plus:c,minus:c}}let i=e.val??1;return{plus:i,minus:i}}function fS(e,t,n={}){let r=e.flat().filter(Number.isFinite),i=n.includeZero!==!1,a=i?0:1/0,o=i?0:-1/0,s=r.length>0?r.reduce((e,t)=>t<e?t:e,a):0,c=r.length>0?r.reduce((e,t)=>t>e?t:e,o):1,l=t?.scaling?.logBase,u=e=>e===void 0?void 0:pS(e,l),d=u(t?.scaling?.min)??s,f=u(t?.scaling?.max)??c,p=f<=d?{min:d,max:d+1}:{min:d,max:f},m=n.padding??0;if(m>0&&!t?.scaling?.min&&!t?.scaling?.max){let e=p.max-p.min;p.min-=e*m,p.max+=e*m}return t?.scaling?.orientation===`maxMin`?{min:p.max,max:p.min}:p}function pS(e,t){return!t||t<=0||t===1||!Number.isFinite(e)||e<=0?e:Math.log(e)/Math.log(t)}function mS(e,t){let n=[],r=new Map,i=Math.min(e.length,t.length);for(let a=0;a<i;a++){let i=e[a].series.spPr;if(!i)continue;let o=hS(i);if(!o)continue;let s=JSON.stringify(o),c=r.get(s);if(!c){let e=gS(`documonster-fx-${n.length+1}`,o);if(!e)continue;c=`documonster-fx-${n.length+1}`,r.set(s,c),n.push({id:c,xml:e})}t[a].effectFilterId=c}return n}function hS(e){if(e.effectList)return e.effectList;if(typeof e._rawXml==`string`)return ev(e).effectList}function gS(e,t){if(!t)return``;let n=[],r=`SourceGraphic`;if(t.blur&&(n.push(`<feGaussianBlur in="${r}" stdDeviation="${_S(t.blur.radius??0)}" result="blur0"/>`),r=`blur0`),t.softEdge){let e=_S(t.softEdge.radius);n.push(`<feGaussianBlur in="SourceAlpha" stdDeviation="${e}" result="softAlpha"/>`,`<feComposite in="${r}" in2="softAlpha" operator="in" result="soft"/>`),r=`soft`}let i=t.outerShadow??t.presetShadow;if(i){let e=_S(i.blurRadius??38100),[t,a]=vS(i.distance??0,i.direction??0),o=yS(i.color)??`#000000`,s=bS(i.color);n.push(`<feGaussianBlur in="SourceAlpha" stdDeviation="${e}" result="shadowBlur"/>`,`<feOffset in="shadowBlur" dx="${t}" dy="${a}" result="shadowOffset"/>`,`<feFlood flood-color="${o}" flood-opacity="${s}" result="shadowColour"/>`,`<feComposite in="shadowColour" in2="shadowOffset" operator="in" result="shadowOut"/>`,`<feMerge result="shadowMerged"><feMergeNode in="shadowOut"/><feMergeNode in="${r}"/></feMerge>`),r=`shadowMerged`}if(t.glow){let e=_S(t.glow.radius),i=yS(t.glow.color)??`#ffff66`;n.push(`<feGaussianBlur in="SourceAlpha" stdDeviation="${e}" result="glowBlur"/>`,`<feFlood flood-color="${i}" result="glowColour"/>`,`<feComposite in="glowColour" in2="glowBlur" operator="in" result="glowOut"/>`,`<feMerge result="glowMerged"><feMergeNode in="glowOut"/><feMergeNode in="${r}"/></feMerge>`),r=`glowMerged`}if(t.innerShadow){let e=_S(t.innerShadow.blurRadius??0),[i,a]=vS(t.innerShadow.distance??0,t.innerShadow.direction??0),o=yS(t.innerShadow.color)??`#000000`,s=bS(t.innerShadow.color);n.push(`<feGaussianBlur in="SourceAlpha" stdDeviation="${e}" result="innerBlur"/>`,`<feOffset in="innerBlur" dx="${i}" dy="${a}" result="innerOffset"/>`,`<feComposite in="SourceAlpha" in2="innerOffset" operator="out" result="innerClipped"/>`,`<feFlood flood-color="${o}" flood-opacity="${s}" result="innerColour"/>`,`<feComposite in="innerColour" in2="innerClipped" operator="in" result="innerOut"/>`,`<feMerge result="innerMerged"><feMergeNode in="${r}"/><feMergeNode in="innerOut"/></feMerge>`)}return n.length===0?``:`<filter id="${e}" x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox">${n.join(``)}</filter>`}function _S(e){return e/12700}function vS(e,t){let n=_S(e),r=t/6e4*(Math.PI/180);return[n*Math.cos(r),n*Math.sin(r)]}function yS(e){let t=L_(e);if(!t)return;let n=M_(t);return n?`#${n}`:t}function bS(e){return!e||e.alpha===void 0?1:Math.max(0,Math.min(1,e.alpha/1e5))}function xS(e,t){return{...e,color:Zx(t),width:B_(t?.spPr?hv(t.spPr):void 0)??e.width}}function SS(e,t){let n=t.effectFilterId;if(n&&e.push(`<g filter="url(#${n})">`),t.type===`bar`)for(let n of t.bars)t.depth&&t.projection3D?e.push(TS(n,t.projection3D,t.color,t.horizontal)):e.push(`<rect x="${J(n.x)}" y="${J(n.y)}" width="${J(n.width)}" height="${J(n.height)}" fill="${t.color}"/>`);else if(t.type===`area`){let n=AS(t.points),r=t.lowerPoints??t.points.map(e=>({x:e.x,y:t.baselineY}));for(let i of n){if(i.length<2)continue;let n=i[0].x,a=i[i.length-1].x,o=r.filter(e=>e.x>=n&&e.x<=a);if(o.length===0)continue;let s=[...i,...o.slice().reverse()];e.push(`<polygon points="${s.map(e=>`${J(e.x)},${J(e.y)}`).join(` `)}" fill="${P_(t.color,.35)}"/>`),e.push(`<polyline points="${i.map(e=>`${J(e.x)},${J(e.y)}`).join(` `)}" fill="none" stroke="${t.color}" stroke-width="2"/>`)}}else if(t.type===`line`||t.type===`scatter`){if(t.showLine!==!1){let n=AS(t.points),r=t.smooth?` stroke-linejoin="round" stroke-linecap="round"`:``;for(let i of n)i.length<2||e.push(`<polyline points="${i.map(e=>`${J(e.x)},${J(e.y)}`).join(` `)}" fill="none" stroke="${t.color}" stroke-width="2"${r}/>`)}for(let n of t.points)!Number.isFinite(n.x)||!Number.isFinite(n.y)||e.push(`<circle cx="${J(n.x)}" cy="${J(n.y)}" r="3" fill="${t.color}"/>`)}else if(t.type===`bubble`)for(let n of t.bubbles)e.push(`<circle cx="${J(n.x)}" cy="${J(n.y)}" r="${J(n.radius)}" fill="${P_(t.color,.55)}" stroke="${t.color}"/>`);else if(t.type===`pie`||t.type===`doughnut`)for(let n of t.slices)e.push(ES(n));else if(t.type===`ofPie`){for(let n of t.slices)e.push(ES(n));for(let n of t.connectors??[])e.push(kS(n));for(let n of t.secondarySlices??[])e.push(ES(n))}else if(t.type===`radar`){e.push(`<circle cx="${J(t.center.x)}" cy="${J(t.center.y)}" r="${J(t.radius)}" fill="none" stroke="${H_}"/>`);let n=AS(t.points);if(n.length===1&&n[0].length===t.points.length){let r=n[0].map(e=>`${J(e.x)},${J(e.y)}`).join(` `);e.push(`<polygon points="${r}" fill="${t.filled?P_(t.color,.35):`none`}" stroke="${t.color}" stroke-width="2"/>`)}else for(let r of n){if(r.length<2)continue;let n=r.map(e=>`${J(e.x)},${J(e.y)}`).join(` `);e.push(`<polyline points="${n}" fill="${t.filled?P_(t.color,.35):`none`}" stroke="${t.color}" stroke-width="2"/>`)}}else if(t.type===`stock`){for(let n of t.candles)if(e.push(`<line x1="${J(n.x)}" y1="${J(n.highY)}" x2="${J(n.x)}" y2="${J(n.lowY)}" stroke="#555"/>`),n.openY!==void 0&&n.closeY!==void 0){let t=Math.min(n.openY,n.closeY),r=Math.max(1,Math.abs(n.closeY-n.openY));e.push(`<rect x="${J(n.x-n.width/2)}" y="${J(t)}" width="${J(n.width)}" height="${J(r)}" fill="${n.up?`#70AD47`:`#C00000`}" stroke="#555"/>`)}}else if(t.type===`surface`)for(let n of t.cells)e.push(`<rect x="${J(n.x)}" y="${J(n.y)}" width="${J(n.width)}" height="${J(n.height)}" fill="${n.color}" stroke="${t.wireframe?`#555`:n.color}" stroke-width="${+!!t.wireframe}"/>`);n&&e.push(`</g>`)}function CS(e,t){for(let n of t.errorBars??[])e.push(kS(n.line)),n.cap1&&e.push(kS(n.cap1)),n.cap2&&e.push(kS(n.cap2));for(let n of t.trendlines??[]){let t=n.dash?` stroke-dasharray="4 3"`:``;for(let r of AS(n.points))r.length<2||e.push(`<polyline points="${r.map(e=>`${J(e.x)},${J(e.y)}`).join(` `)}" fill="none" stroke="${n.color}" stroke-width="${n.width??1.5}"${t}/>`);n.label&&e.push(jS(n.label))}for(let n of t.markers??[])e.push(wS(n));for(let n of t.leaderLines??[])e.push(kS(n));for(let n of t.labels??[])e.push(jS(n))}function wS(e){let t=e.size/2;return e.symbol===`square`?`<rect x="${J(e.x-t)}" y="${J(e.y-t)}" width="${J(e.size)}" height="${J(e.size)}" fill="${e.color}"/>`:e.symbol===`diamond`?`<polygon points="${J(e.x)},${J(e.y-t)} ${J(e.x+t)},${J(e.y)} ${J(e.x)},${J(e.y+t)} ${J(e.x-t)},${J(e.y)}" fill="${e.color}"/>`:e.symbol===`triangle`?`<polygon points="${J(e.x)},${J(e.y-t)} ${J(e.x+t)},${J(e.y+t)} ${J(e.x-t)},${J(e.y+t)}" fill="${e.color}"/>`:e.symbol===`x`||e.symbol===`plus`?(e.symbol===`x`?[`<line x1="${J(e.x-t)}" y1="${J(e.y-t)}" x2="${J(e.x+t)}" y2="${J(e.y+t)}" stroke="${e.color}" stroke-width="2"/>`,`<line x1="${J(e.x+t)}" y1="${J(e.y-t)}" x2="${J(e.x-t)}" y2="${J(e.y+t)}" stroke="${e.color}" stroke-width="2"/>`]:[`<line x1="${J(e.x-t)}" y1="${J(e.y)}" x2="${J(e.x+t)}" y2="${J(e.y)}" stroke="${e.color}" stroke-width="2"/>`,`<line x1="${J(e.x)}" y1="${J(e.y-t)}" x2="${J(e.x)}" y2="${J(e.y+t)}" stroke="${e.color}" stroke-width="2"/>`]).join(``):`<circle cx="${J(e.x)}" cy="${J(e.y)}" r="${J(t)}" fill="${e.color}"/>`}function TS(e,t,n,r){let i=e.x+e.width,a=e.y,o=e.y+e.height,s=t.dx,c=t.dy,l=e.x+s,u=a-c,d=i+s,f=a-c,p=i+s,m=o-c,h=P_(n,.92),g=P_(n,.75),_=[];return _.push(`<polygon points="${J(e.x)},${J(a)} ${J(l)},${J(u)} ${J(d)},${J(f)} ${J(i)},${J(a)}" fill="${h}"/>`,`<polygon points="${J(i)},${J(a)} ${J(d)},${J(f)} ${J(p)},${J(m)} ${J(i)},${J(o)}" fill="${g}"/>`,`<rect x="${J(e.x)}" y="${J(e.y)}" width="${J(e.width)}" height="${J(e.height)}" fill="${n}"/>`),_.join(``)}function ES(e){let t=e.endAngle-e.startAngle,n=Math.abs(t);if(n>=Math.PI*2-1e-9){if(e.innerRadius>0){let t=e.radius,n=e.innerRadius;return`<path d="M ${J(e.cx-t)} ${J(e.cy)} A ${J(t)} ${J(t)} 0 1 1 ${J(e.cx+t)} ${J(e.cy)} A ${J(t)} ${J(t)} 0 1 1 ${J(e.cx-t)} ${J(e.cy)} M ${J(e.cx-n)} ${J(e.cy)} A ${J(n)} ${J(n)} 0 1 0 ${J(e.cx+n)} ${J(e.cy)} A ${J(n)} ${J(n)} 0 1 0 ${J(e.cx-n)} ${J(e.cy)} Z" fill="${e.color}" fill-rule="evenodd"/>`}return`<circle cx="${J(e.cx)}" cy="${J(e.cy)}" r="${J(e.radius)}" fill="${e.color}"/>`}let r=+(n>Math.PI),i=+(t>=0),a=t>=0?0:1,o=e.cx+Math.cos(e.startAngle)*e.radius,s=e.cy+Math.sin(e.startAngle)*e.radius,c=e.cx+Math.cos(e.endAngle)*e.radius,l=e.cy+Math.sin(e.endAngle)*e.radius;if(e.innerRadius>0){let t=e.cx+Math.cos(e.endAngle)*e.innerRadius,n=e.cy+Math.sin(e.endAngle)*e.innerRadius,u=e.cx+Math.cos(e.startAngle)*e.innerRadius,d=e.cy+Math.sin(e.startAngle)*e.innerRadius;return`<path d="M ${J(o)} ${J(s)} A ${J(e.radius)} ${J(e.radius)} 0 ${r} ${i} ${J(c)} ${J(l)} L ${J(t)} ${J(n)} A ${J(e.innerRadius)} ${J(e.innerRadius)} 0 ${r} ${a} ${J(u)} ${J(d)} Z" fill="${e.color}" data-sector="${J(e.cx)},${J(e.cy)},${J(e.radius)},${J(e.innerRadius)},${J(e.startAngle)},${J(e.endAngle)}"/>`}return`<path d="M ${J(e.cx)} ${J(e.cy)} L ${J(o)} ${J(s)} A ${J(e.radius)} ${J(e.radius)} 0 ${r} ${i} ${J(c)} ${J(l)} Z" fill="${e.color}" data-sector="${J(e.cx)},${J(e.cy)},${J(e.radius)},0,${J(e.startAngle)},${J(e.endAngle)}"/>`}function DS(e,t){for(let n of t.borders)e.push(kS(n));for(let n of t.legendSwatches)e.push(`<rect x="${J(n.x)}" y="${J(n.y)}" width="${J(n.width)}" height="${J(n.height)}" fill="${n.color}"/>`);for(let n of t.cells)e.push(jS(n))}function OS(e,t){if(!t.visible||t.items.length===0)return;let n=t.textStyle?.fontSize??10,r=t.textStyle?.fontFamily??`Arial`,i=t.textStyle?.color??`#555`,a=t.textStyle?.bold?` font-weight="bold"`:``,o=t.textStyle?.italic?` font-style="italic"`:``,s=t.textStyle?.bold,c=t.textStyle?.italic,l=t.rect.x;t.items.forEach((u,d)=>{let f=t.orientation===`horizontal`?l:t.rect.x,p=t.orientation===`horizontal`?t.rect.y:t.rect.y+d*18;if(e.push(`<rect x="${J(f)}" y="${J(p)}" width="10" height="10" fill="${u.color}"/>`),e.push(`<text x="${J(f+10+4)}" y="${J(p+9)}" font-family="${sn(r)}" font-size="${n}" fill="${i}"${a}${o}>${A_(u.label)}</text>`),t.orientation===`horizontal`){let e=tC(u.label,n,{bold:s,italic:c,fontName:r});l+=14+e+16}})}function kS(e){return`<line x1="${J(e.x1)}" y1="${J(e.y1)}" x2="${J(e.x2)}" y2="${J(e.y2)}" stroke="${e.color}" stroke-width="${e.width??1}"/>`}function AS(e){let t=[],n=[];for(let r of e)Number.isFinite(r.x)&&Number.isFinite(r.y)?n.push(r):n.length>0&&(t.push(n),n=[]);return n.length>0&&t.push(n),t}function jS(e){let t=e.rotate?` transform="rotate(${J(e.rotate)} ${J(e.x)} ${J(e.y)})"`:``,n=e.fontFamily??`Arial`,r=e.bold?` font-weight="bold"`:``,i=e.italic?` font-style="italic"`:``,a=e.anchor??`start`;if(/[\r\n]/.test(e.text)){let o=e.text.split(/\r?\n/).map((t,n)=>`<tspan x="${J(e.x)}"${n===0?``:` dy="1.2em"`}>${A_(t)}</tspan>`).join(``);return`<text x="${J(e.x)}" y="${J(e.y)}" text-anchor="${a}" font-family="${sn(n)}" font-size="${e.fontSize}" fill="${e.color}"${r}${i}${t}>${o}</text>`}return`<text x="${J(e.x)}" y="${J(e.y)}" text-anchor="${a}" font-family="${sn(n)}" font-size="${e.fontSize}" fill="${e.color}"${r}${i}${t}>${A_(e.text)}</text>`}function MS(e,t){if(t.type===`bar`){let n=Y(t.color);for(let r of t.bars)if(!(!Number.isFinite(r.x)||!Number.isFinite(r.y)||!Number.isFinite(r.width)||!Number.isFinite(r.height)||r.width===0&&r.height===0)&&!(t.projection3D&&t.depth&&t.depth>0)){if(r.width<2){let t=r.x+r.width/2,i=r.y+r.height;e.drawCircle?e.drawCircle({cx:t,cy:i,r:1.2,fill:n}):e.drawRect({x:t-1,y:i-1,width:2,height:2,fill:n})}else e.drawRect({...r,fill:n})}}else if(t.type===`area`){if(e.drawPath&&t.points.length>0){let n=t.lowerPoints??t.points.map(e=>({x:e.x,y:t.baselineY}));for(let r of AS(t.points)){if(r.length===0)continue;let i=r[0].x,a=r[r.length-1].x,o=n.filter(e=>Number.isFinite(e.x)&&Number.isFinite(e.y)&&e.x>=i&&e.x<=a);if(o.length===0)continue;let s=[{op:`move`,x:o[0].x,y:o[0].y},...r.map(e=>({op:`line`,x:e.x,y:e.y})),...o.slice().reverse().map(e=>({op:`line`,x:e.x,y:e.y})),{op:`close`}];e.drawPath(s,{fill:I_(t.color,.35)})}}for(let n of AS(t.points))for(let r=1;r<n.length;r++)e.drawLine({x1:n[r-1].x,y1:n[r-1].y,x2:n[r].x,y2:n[r].y,color:Y(t.color)})}else if(t.type===`line`||t.type===`scatter`){if(t.showLine!==!1)for(let n of AS(t.points))for(let r=1;r<n.length;r++)e.drawLine({x1:n[r-1].x,y1:n[r-1].y,x2:n[r].x,y2:n[r].y,color:Y(t.color)});for(let n of t.points)!Number.isFinite(n.x)||!Number.isFinite(n.y)||e.drawRect({x:n.x-2,y:n.y-2,width:4,height:4,fill:Y(t.color)})}else if(t.type===`bubble`)for(let n of t.bubbles){let r=I_(t.color,.55);e.drawCircle?e.drawCircle({cx:n.x,cy:n.y,r:n.radius,fill:r}):e.drawRect({x:n.x-n.radius,y:n.y-n.radius,width:n.radius*2,height:n.radius*2,fill:r})}else if(t.type===`pie`||t.type===`doughnut`){if(e.drawPath)for(let n of t.slices)e.drawPath(VS(n),{fill:Y(n.color)});else for(let n of t.slices)BS(e,n,Y(n.color))}else if(t.type===`ofPie`){if(e.drawPath)for(let n of[...t.slices,...t.secondarySlices??[]])e.drawPath(VS(n),{fill:Y(n.color)});else for(let n of[...t.slices,...t.secondarySlices??[]])BS(e,n,Y(n.color));for(let n of t.connectors??[])e.drawLine({...n,color:Y(n.color)})}else if(t.type===`radar`){let n=AS(t.points),r=n.length===1&&n[0].length===t.points.length;if(t.filled&&e.drawPath&&r&&n[0].length>0){let r=n[0],i=[{op:`move`,x:r[0].x,y:r[0].y},...r.slice(1).map(e=>({op:`line`,x:e.x,y:e.y})),{op:`close`}];e.drawPath(i,{fill:I_(t.color,.35)})}for(let i of n)if(!(i.length<2)){for(let n=0;n<i.length-1;n++)e.drawLine({x1:i[n].x,y1:i[n].y,x2:i[n+1].x,y2:i[n+1].y,color:Y(t.color),lineWidth:2});r&&i.length>1&&e.drawLine({x1:i[i.length-1].x,y1:i[i.length-1].y,x2:i[0].x,y2:i[0].y,color:Y(t.color),lineWidth:2})}}else if(t.type===`stock`)for(let n of t.candles)e.drawLine({x1:n.x,y1:n.highY,x2:n.x,y2:n.lowY,color:Y(`#555555`)}),n.openY!==void 0&&n.closeY!==void 0&&e.drawRect({x:n.x-n.width/2,y:Math.min(n.openY,n.closeY),width:n.width,height:Math.max(1,Math.abs(n.closeY-n.openY)),fill:Y(n.up?`#70AD47`:`#C00000`)});else if(t.type===`surface`)for(let n of t.cells)e.drawRect({...n,fill:Y(n.color)})}function NS(e,t,n){for(let r of t.borders)n?.push(`line:dTable:${J(r.x1)},${J(r.y1)}-${J(r.x2)},${J(r.y2)}`),e.drawLine({...r,color:Y(r.color)});for(let n of t.legendSwatches)e.drawRect({x:n.x,y:n.y,width:n.width,height:n.height,fill:Y(n.color)});for(let r of t.cells)n?.push(`text:dTable:${r.text}:${J(r.x)},${J(r.y)}`),Pb(e,r)}function PS(e,t){if(!t.visible||t.items.length===0)return;let n=t.items.length,r=n>10,i=r?7:t.textStyle?.fontSize??10,a=t.textStyle?.fontFamily,o=t.textStyle?.bold,s=t.textStyle?.italic,c=t.textStyle?.color?Y(t.textStyle.color):void 0,l=r?7:10,u=r?8:16,d=r?10:18;if(r){let r=l+3+50+u,f=t.rect.width>0?t.rect.width:600,p=Math.max(1,Math.floor(f/r));for(let u=0;u<n;u++){let n=u%p,f=Math.floor(u/p),m=t.rect.x+n*r,h=t.rect.y+f*d;if(h+d>t.rect.y+t.rect.height)break;e.drawRect({x:m,y:h,width:l,height:l,fill:Y(t.items[u].color)}),e.drawText(t.items[u].label,{x:m+l+3,y:h+1,fontSize:i,anchor:`start`,fontFamily:a,bold:o,italic:s,color:c})}}else{let n=t.rect.x;t.items.forEach((r,f)=>{let p=t.orientation===`horizontal`?n:t.rect.x,m=t.orientation===`horizontal`?t.rect.y:t.rect.y+f*d;if(e.drawRect({x:p,y:m,width:l,height:l,fill:Y(r.color)}),e.drawText(r.label,{x:p+l+3,y:m+1,fontSize:i,anchor:`start`,fontFamily:a,bold:o,italic:s,color:c}),t.orientation===`horizontal`){let e=tC(r.label,i,{bold:o,italic:s,fontName:a});n+=l+3+e+u}})}}function FS(e,t,n,r){let i=t=>r?n+e.height-t:n+t,a=e=>({x:t+e.x,y:i(e.y)}),o=i=>{let a=r?n+e.height-i.y-i.height:n+i.y;return{x:t+i.x,y:a,width:i.width,height:i.height}},s=e=>({...e,x1:t+e.x1,y1:i(e.y1),x2:t+e.x2,y2:i(e.y2)}),c=e=>({...e,x:t+e.x,y:i(e.y)});return{...e,title:e.title?c(e.title):void 0,plot:o(e.plot),axes:{x:e.axes.x?s(e.axes.x):void 0,y:e.axes.y?s(e.axes.y):void 0,x2:e.axes.x2?s(e.axes.x2):void 0,y2:e.axes.y2?s(e.axes.y2):void 0},gridlines:e.gridlines.map(s),xLabels:e.xLabels.map(c),yLabels:e.yLabels.map(c),secondaryXLabels:e.secondaryXLabels.map(c),secondaryYLabels:e.secondaryYLabels.map(c),axisTitles:e.axisTitles.map(c),legend:{...e.legend,rect:o(e.legend.rect)},dataTable:e.dataTable?{rect:o(e.dataTable.rect),columns:e.dataTable.columns.map(e=>t+e),rows:e.dataTable.rows.map(e=>i(e)),cells:e.dataTable.cells.map(c),legendSwatches:e.dataTable.legendSwatches.map(e=>({...o(e),color:e.color})),borders:e.dataTable.borders.map(s)}:void 0,series:e.series.map(e=>IS(e,a,o,s,c,r))}}function IS(e,t,n,r,i,a){if(e.type===`bar`){let o=e.projection3D?{dx:e.projection3D.dx,dy:a?-e.projection3D.dy:e.projection3D.dy}:void 0;return LS({...e,bars:e.bars.map(n),projection3D:o},t,r,i)}return e.type===`line`||e.type===`scatter`?LS({...e,points:e.points.map(t)},t,r,i):e.type===`radar`?LS({...e,points:e.points.map(t),center:t(e.center)},t,r,i):e.type===`area`?LS({...e,points:e.points.map(t),lowerPoints:e.lowerPoints?.map(t),baselineY:t({x:0,y:e.baselineY}).y},t,r,i):e.type===`bubble`?LS({...e,bubbles:e.bubbles.map(e=>({...t(e),radius:e.radius}))},t,r,i):e.type===`pie`||e.type===`doughnut`?LS({...e,slices:e.slices.map(e=>RS(e,t,a))},t,r,i):e.type===`ofPie`?LS({...e,slices:e.slices.map(e=>RS(e,t,a)),secondarySlices:e.secondarySlices?.map(e=>RS(e,t,a)),connectors:e.connectors?.map(e=>({...e,...zS(t({x:e.x1,y:e.y1}),t({x:e.x2,y:e.y2}))}))},t,r,i):e.type===`stock`?LS({...e,candles:e.candles.map(e=>({...e,x:t({x:e.x,y:0}).x,highY:t({x:0,y:e.highY}).y,lowY:t({x:0,y:e.lowY}).y,openY:e.openY===void 0?void 0:t({x:0,y:e.openY}).y,closeY:e.closeY===void 0?void 0:t({x:0,y:e.closeY}).y}))},t,r,i):e.type===`surface`?LS({...e,cells:e.cells.map(e=>({...e,...n(e)}))},t,r,i):e}function LS(e,t,n,r){return{...e,labels:e.labels?.map(r),markers:e.markers?.map(e=>({...e,...t(e)})),trendlines:e.trendlines?.map(e=>({...e,points:e.points.map(t),label:e.label?r(e.label):void 0})),errorBars:e.errorBars?.map(e=>({line:n(e.line),cap1:e.cap1?n(e.cap1):void 0,cap2:e.cap2?n(e.cap2):void 0})),leaderLines:e.leaderLines?.map(n)}}function RS(e,t,n){let r=t({x:e.cx,y:e.cy});return n?{...e,cx:r.x,cy:r.y,startAngle:-e.endAngle,endAngle:-e.startAngle}:{...e,cx:r.x,cy:r.y}}function zS(e,t){return{x1:e.x,y1:e.y,x2:t.x,y2:t.y}}function BS(e,t,n){let r=VS(t),i,a;for(let t of r)t.op===`move`?(i={x:t.x,y:t.y},a=i):t.op===`line`&&i?(e.drawLine({x1:i.x,y1:i.y,x2:t.x,y2:t.y,color:n}),i={x:t.x,y:t.y}):t.op===`close`&&i&&a&&(e.drawLine({x1:i.x,y1:i.y,x2:a.x,y2:a.y,color:n}),i=void 0,a=void 0)}function VS(e){let t=[],n=US(e.cx,e.cy,e.radius,e.startAngle),r=US(e.cx,e.cy,e.radius,e.endAngle);if(e.innerRadius>0){let r=US(e.cx,e.cy,e.innerRadius,e.endAngle);return t.push({op:`move`,...n}),t.push(...HS(e.cx,e.cy,e.radius,e.startAngle,e.endAngle)),t.push({op:`line`,...r}),t.push(...HS(e.cx,e.cy,e.innerRadius,e.endAngle,e.startAngle)),t.push({op:`close`}),t}return t.push({op:`move`,x:e.cx,y:e.cy}),t.push({op:`line`,...n}),t.push(...HS(e.cx,e.cy,e.radius,e.startAngle,e.endAngle)),t.push({op:`line`,...r}),t.push({op:`close`}),t}function HS(e,t,n,r,i){let a=i-r,o=Math.max(8,Math.ceil(Math.abs(a)*n/3)),s=[];for(let i=1;i<=o;i++)s.push({op:`line`,...US(e,t,n,r+a*i/o)});return s}function US(e,t,n,r){return{x:e+Math.cos(r)*n,y:t+Math.sin(r)*n}}function WS(e){return e?.series??[]}function GS(e){let t=e,n=t.val?.numRef??t.yVal?.numRef;return n?KS(n):YS(t.val?.numLit??t.yVal?.numLit)}function KS(e){return qS(e?.cache?.points??[],e?.cache?.pointCount,NaN,e=>typeof e==`number`&&Number.isFinite(e)?e:NaN)}function qS(e,t,n,r){if(e.length===0)return[];let i=-1;for(let t of e)typeof t.index==`number`&&Number.isFinite(t.index)&&t.index>i&&(i=t.index);let a=typeof t==`number`?t:0,o=Math.max(e.length,i+1,a),s=Math.min(o,RC),c=Array(s).fill(n);for(let t of e){let e=typeof t.index==`number`&&Number.isFinite(t.index)&&t.index>=0?t.index:-1;e<0||e>=s||(c[e]=r(t.value))}return c}function JS(e){return e?e.numRef?KS(e.numRef):YS(e.numLit):[]}function YS(e){return e?qS(e.points,e.pointCount,NaN,e=>typeof e==`number`&&Number.isFinite(e)?e:NaN):[]}function XS(e){let t=e?.cat;if(!t)return;let n=t.strRef??t.multiLvlStrRef?.cache?.levels?.[0],r=t.numRef,i=[],a=n?.cache?.points,o=n?.points;a&&a.length>0?i.push({points:a,cache:n.cache}):o&&o.length>0&&i.push({points:o}),r?.cache?.points&&r.cache.points.length>0&&i.push({points:r.cache.points,cache:r.cache}),i.length===0&&t.strLit&&t.strLit.points.length>0&&i.push({points:t.strLit.points,cache:{pointCount:t.strLit.pointCount}}),i.length===0&&t.numLit&&t.numLit.points.length>0&&i.push({points:t.numLit.points,cache:{pointCount:t.numLit.pointCount}});let s=i[0];if(s)return qS(s.points,s.cache?.pointCount,``,e=>typeof e==`string`?e:typeof e==`number`&&Number.isFinite(e)?$S(e):``)}function ZS(e,t){let n=e?.tx;return n?.value??n?.strRef?.cache?.points?.map(e=>e.value).join(``)??`Series ${t+1}`}function QS(e){let t=e.chart.title;if(!t)return;let n=Xx(t);return n&&n.length>0?n:void 0}function $S(e){if(!Number.isFinite(e))return``;let t=Math.abs(e);return t!==0&&t<.01?e.toExponential(2):t>=1e3?e.toFixed(0):Number.isInteger(e)?String(e):e.toFixed(1)}function eC(e){if(e.length<=12)return e;let t=Array.from(e);return t.length<=12?e:`${t.slice(0,9).join(``)}\u2026`}function tC(e,t,n={}){return e?Jy(e,{name:n.fontName??`arial`,size:t,bold:n.bold,italic:n.italic}):0}function nC(e){return new Promise((t,n)=>{let r=new Image;r.onload=()=>t(r),r.onerror=()=>n(Error(`Failed to load chart SVG image`)),r.src=e})}var rC,iC,aC,oC,sC,cC,lC,uC,dC,fC,pC,mC,hC,gC,_C,vC,yC,bC,xC,SC,CC,wC,TC,EC,DC,OC,kC,AC,jC,MC,NC,PC,FC,IC,LC,RC,zC=n((()=>{yy(),xy(),G_(),Cv(),ib(),rC=58,iC=24,aC=42,oC=18,sC=24,cC=52,lC=22,uC=16,dC=30,fC=24,pC=22,mC=28,hC=12,gC=16,_C=10,vC=32,yC=16,bC=11,xC=18,SC=96,CC=20,wC=48,TC=48,EC=48,DC=20,OC=44,kC=new WeakMap,AC=class{constructor(e,t,n=1){this.width=e,this.height=t,this.scale=n,this.data=new Uint8Array(e*t*4)}fillRect(e,t,n,r,i){let a=Sb(i);if(!a||n<=0||r<=0)return;let o=wb(Math.floor(e),0,this.width),s=wb(Math.floor(t),0,this.height),c=wb(Math.ceil(e+n),0,this.width),l=wb(Math.ceil(t+r),0,this.height);for(let e=s;e<l;e++)for(let t=o;t<c;t++)this.setPixel(t,e,a)}strokeRect(e,t,n,r,i,a=1){this.drawLine(e,t,e+n,t,i,a),this.drawLine(e+n,t,e+n,t+r,i,a),this.drawLine(e+n,t+r,e,t+r,i,a),this.drawLine(e,t+r,e,t,i,a)}drawPolyline(e,t,n=1){if(!(e.length<2))for(let r=1;r<e.length;r++)this.drawLine(e[r-1].x,e[r-1].y,e[r].x,e[r].y,t,n)}drawLine(e,t,n,r,i,a=1){let o=Sb(i);if(!o)return;let s=Math.round(e),c=Math.round(t),l=Math.round(n),u=Math.round(r),d=Math.abs(l-s),f=s<l?1:-1,p=-Math.abs(u-c),m=c<u?1:-1,h=d+p,g=Math.max(0,Math.floor(a/2));for(;;){for(let e=c-g;e<=c+g;e++)for(let t=s-g;t<=s+g;t++)this.setPixel(t,e,o);if(s===l&&c===u)break;let e=2*h;e>=p&&(h+=p,s+=f),e<=d&&(h+=d,c+=m)}}fillCircle(e,t,n,r){let i=Sb(r);if(!i||n<=0)return;let a=Math.floor(e-n),o=Math.ceil(e+n),s=Math.floor(t-n),c=Math.ceil(t+n),l=n*n;for(let n=s;n<=c;n++)for(let r=a;r<=o;r++)(r-e)**2+(n-t)**2<=l&&this.setPixel(r,n,i)}strokeCircle(e,t,n,r,i=1){let a=[],o=Math.max(12,Math.ceil(n*2));for(let r=0;r<=o;r++){let i=r/o*Math.PI*2;a.push({x:e+Math.cos(i)*n,y:t+Math.sin(i)*n})}this.drawPolyline(a,r,i)}fillSector(e,t,n,r,i,a,o){let s=Sb(o);if(!s||n<=0)return;let c=wb(Math.floor(e-n),0,this.width),l=wb(Math.ceil(e+n),0,this.width),u=wb(Math.floor(t-n),0,this.height),d=wb(Math.ceil(t+n),0,this.height),f=n*n,p=r*r,m=i%(Math.PI*2);m<0&&(m+=Math.PI*2);let h=a%(Math.PI*2);h<0&&(h+=Math.PI*2);let g=h<m;for(let n=u;n<d;n++){let r=n+.5-t;for(let t=c;t<l;t++){let i=t+.5-e,a=i*i+r*r;if(a>f||a<p)continue;let o=Math.atan2(r,i);o<0&&(o+=Math.PI*2),(g?o>=m||o<=h:o>=m&&o<=h)&&this.setPixel(t,n,s)}}}fillPolygon(e,t){let n=Sb(t);if(!n||e.length<3)return;let r=e[0].y,i=e[0].y;for(let t of e)t.y<r&&(r=t.y),t.y>i&&(i=t.y);let a=wb(Math.floor(r),0,this.height-1),o=wb(Math.ceil(i),0,this.height-1);for(let t=a;t<=o;t++){let r=[];for(let n=0,i=e.length-1;n<e.length;i=n++){let a=e[n],o=e[i];a.y>t!=o.y>t&&r.push((o.x-a.x)*(t-a.y)/(o.y-a.y)+a.x)}r.sort((e,t)=>e-t);for(let e=0;e<r.length;e+=2){let i=wb(Math.floor(r[e]),0,this.width-1),a=wb(Math.ceil(r[e+1]??r[e]),0,this.width-1);for(let e=i;e<=a;e++)this.setPixel(e,t,n)}}}drawText(e,t,n,r,i,a,o){if(!n)return;let s=tC(n,r),c=s>0?s:Math.max(1,r*.5)*n.length,l=a===`middle`?e-c/2:a===`end`?e-c:e,u=ry();if(u){this.drawTextWithFont(u,l,t,n,r,c,i,o);return}this.drawTextStroke(l,t,n,r,c,i,o)}drawTextWithFont(e,t,n,r,i,a,o,s){let c=Sb(o);if(!c)return;let l=i/e.unitsPerEm,u=0;for(let t of r){let n=e.getOutline(t.codePointAt(0));u+=n?n.advanceWidth*l:i*.4}let d=u>0?a/u:1,f=s&&s.angle!==0?s.angle*Math.PI/180:0,p=Math.cos(f),m=Math.sin(f),h=s?s.originX:0,g=s?s.originY:0,_=t;for(let t of r){let r=t.codePointAt(0),a=e.getOutline(r);if(!a){_+=i*.4*d;continue}let o=ab(a,i,e.unitsPerEm);if(o.pixels.length===0){_+=a.advanceWidth*l*d;continue}let s=_+o.offsetX,u=n+o.offsetY;for(let e=0;e<o.height;e++)for(let t=0;t<o.width;t++){let n=o.pixels[e*o.width+t];if(n>0){let r=s+t,i=u+e;if(f!==0){let e=r-h,t=i-g;r=h+e*p-t*m,i=g+e*m+t*p}let a=[c[0],c[1],c[2],n];this.setPixel(Math.round(r),Math.round(i),a)}}_+=a.advanceWidth*l*d}}drawTextStroke(e,t,n,r,i,a,o){let s=Math.max(1,r*.08),c=0;for(let e of n){let t=e.codePointAt(0),n=by[t]??by[63];c+=n?n.w:.4}let l=c>0?i/(c*r):1;if(!o||o.angle===0){let i=e;for(let e of n){let n=e.codePointAt(0),o=by[n]??by[63];if(o){for(let e of o.d)for(let n=1;n<e.length;n++){let o=i+e[n-1][0]*r*l,c=t-r*.75+e[n-1][1]*r,u=i+e[n][0]*r*l,d=t-r*.75+e[n][1]*r;this.drawLine(o,c,u,d,a,s)}i+=o.w*r*l}}return}let u=o.angle*Math.PI/180,d=Math.cos(u),f=Math.sin(u),p=o.originX,m=o.originY,h=(e,t)=>{let n=e-p,r=t-m;return[p+n*d-r*f,m+n*f+r*d]},g=e;for(let e of n){let n=e.codePointAt(0),i=by[n]??by[63];if(i){for(let e of i.d)for(let n=1;n<e.length;n++){let i=g+e[n-1][0]*r*l,o=t-r*.75+e[n-1][1]*r,c=g+e[n][0]*r*l,u=t-r*.75+e[n][1]*r,[d,f]=h(i,o),[p,m]=h(c,u);this.drawLine(d,f,p,m,a,s)}g+=i.w*r*l}}}setPixel(e,t,n){if(e<0||t<0||e>=this.width||t>=this.height)return;let r=(t*this.width+e)*4,i=n[3]/255,a=1-i;this.data[r]=Math.round(n[0]*i+this.data[r]*a),this.data[r+1]=Math.round(n[1]*i+this.data[r+1]*a),this.data[r+2]=Math.round(n[2]*i+this.data[r+2]*a),this.data[r+3]=Math.round(n[3]+this.data[r+3]*a)}},jC=18,MC=10,NC=10,PC=16,FC=6,IC=8,LC=dx,RC=2097152}));function BC(e,t){let n=e.objects?.[t];if(!n)throw new Xp(`resolveTopologyObject: topology.objects['${t}'] not found (available: ${Object.keys(e.objects??{}).join(`, `)||`<none>`}).`);if(!Array.isArray(e.arcs))throw new Xp(`resolveTopologyObject: topology.arcs is missing or not an array; cannot decode geometry.`);let r=e.transform?.scale,i=e.transform?.translate,a=e=>Array.isArray(e)&&e.length===2&&Number.isFinite(e[0])&&Number.isFinite(e[1]),o=a(r)?r:void 0,s=a(i)?i:void 0,c=new Map,l=t=>{let n=t<0,r=n?~t:t,i=c.get(r);if(!i){let t=e.arcs[r];if(!t)return[];i=HC(t,o,s),c.set(r,i)}return n?i.slice().reverse():i.slice()},u=n.type===`GeometryCollection`?n.geometries:[n],d=[];for(let e of u){let t=[];switch(e.type){case`Polygon`:for(let n of e.arcs)t.push(VC(n,l));break;case`MultiPolygon`:for(let n of e.arcs)for(let e of n)t.push(VC(e,l));break;case`LineString`:t.push(VC(e.arcs,l));break;case`MultiLineString`:for(let n of e.arcs)t.push(VC(n,l));break;case`Point`:if(o&&s){let[n,r]=e.coordinates;Number.isFinite(n)&&Number.isFinite(r)&&t.push([[n*o[0]+s[0],r*o[1]+s[1]]])}else t.push([e.coordinates]);break;case`MultiPoint`:if(o&&s){let n=[];for(let[t,r]of e.coordinates)Number.isFinite(t)&&Number.isFinite(r)&&n.push([t*o[0]+s[0],r*o[1]+s[1]]);n.length>0&&t.push(n)}else for(let n of e.coordinates)t.push([n])}d.push({id:e.id,properties:`properties`in e&&e.properties?e.properties:void 0,geometry:e,rings:t})}return d}function VC(e,t){let n=[];for(let r of e){let e=t(r);if(e.length!==0){if(n.length===0)n.push(...e);else for(let t=1;t<e.length;t++)n.push(e[t])}}return n}function HC(e,t,n){if(!t||!n)return e.filter(e=>Array.isArray(e)&&Number.isFinite(e[0])&&Number.isFinite(e[1])).map(([e,t])=>[e,t]);let r=[],i=0,a=0;for(let o of e){if(!Array.isArray(o)||!Number.isFinite(o[0])||!Number.isFinite(o[1]))return[];let[e,s]=o;i+=e,a+=s,r.push([i*t[0]+n[0],a*t[1]+n[1]])}return r}var UC=n((()=>{Qp()}));function WC(e,t){let n=t;for(let t of e){let e=Math.abs(t);Number.isFinite(e)&&e>n&&(n=e)}return n}function GC(e,t={}){let n=t.width??640,r=t.height??360,i=t.title??sT(e.chartSpace.chart.title),a=i?i.split(/\r?\n/).length:0,o=rT(n,r,!!i,a),s=t.backgroundColor??`#fff`,c=e.chartSpace.chart.plotArea.plotAreaRegion?.series??e.chartSpace.chart.plotArea.series??[],l=[];if(l.push(`<svg xmlns="http://www.w3.org/2000/svg" width="${n}" height="${r}" viewBox="0 0 ${n} ${r}">`),s!==`transparent`&&l.push(`<rect width="100%" height="100%" fill="${sn(s)}"/>`),i){let e=i.split(/\r?\n/);if(e.length===1)l.push(`<text x="${J(n/2)}" y="26" text-anchor="middle" font-family="Arial" font-size="18" fill="#222">${A_(i)}</text>`);else{let t=e.map((e,t)=>`<tspan x="${J(n/2)}"${t===0?``:` dy="1.2em"`}>${A_(e)}</tspan>`).join(``);l.push(`<text x="${J(n/2)}" y="26" text-anchor="middle" font-family="Arial" font-size="18" fill="#222">${t}</text>`)}}for(let n=0;n<c.length;n++)pw(l,e,c[n],o,n,t);return e.chartSpace.chart.legend&&tT(l,c,n,r,!!i,e.chartSpace.chart.legend.legendPos),l.push(`</svg>`),l.join(``)}async function KC(e,t={}){let n=t.width??640,r=t.height??360;return ub(GC(e,{...t,width:n,height:r}),{width:n,height:r,scale:t.scale,dpi:t.dpi})}function qC(e){let t=e.chartSpace.chart.plotArea,n=t.plotAreaRegion?.series??t.series??[];if(n.length===0)return!1;let r=new Set(lT);return n.every(e=>r.has(e.layoutId))}function JC(e,t,n,r={}){let i=t.chartSpace.chart.plotArea,a=i.plotAreaRegion?.series??i.series??[],o=r.title??sT(t.chartSpace.chart.title),s=o?o.split(/\r?\n/).length:0,c=o?Math.max(28,20+s*19.2):0,l={x:12,y:c+12,width:Math.max(10,n.width-24),height:Math.max(10,n.height-c-24)},u=e=>n.y+n.height-e,d={drawRect(t){return e.drawRect({...t,x:n.x+t.x,y:u(t.y+t.height),width:t.width,height:t.height}),d},drawLine(t){return e.drawLine({...t,x1:n.x+t.x1,y1:u(t.y1),x2:n.x+t.x2,y2:u(t.y2)}),d},drawText(t,r){return e.drawText(t,{...r,x:n.x+r.x,y:u(r.y)}),d},drawCircle:e.drawCircle?t=>(e.drawCircle({...t,cx:n.x+t.cx,cy:u(t.cy)}),d):void 0,drawPath:e.drawPath?(t,r)=>{let i=t.map(e=>e.op===`close`?e:e.op===`curve`?{...e,x1:n.x+e.x1,y1:u(e.y1),x2:n.x+e.x2,y2:u(e.y2),x3:n.x+e.x3,y3:u(e.y3)}:{...e,x:n.x+e.x,y:u(e.y)});return e.drawPath(i,r),d}:void 0};if(e.drawRect({x:n.x,y:n.y,width:n.width,height:n.height,fill:{r:1,g:1,b:1},stroke:{r:.85,g:.85,b:.85}}),o){let e=o.split(/\r?\n/);for(let t=0;t<e.length;t++)d.drawText(e[t],{x:n.width/2,y:20+t*19,fontSize:16,anchor:`middle`,color:Y(`#222222`)})}for(let e of a)if(e.layoutId===`treemap`)YC(d,t,e,l);else if(e.layoutId===`sunburst`)XC(d,t,e,l);else if(e.layoutId===`funnel`)nw(d,t,e,l);else if(e.layoutId===`waterfall`)tw(d,t,e,l);else if(e.layoutId===`boxWhisker`)rw(d,t,e,l);else if(e.layoutId===`regionMap`)iw(d,t,e,l,r.regionMap);else if(e.layoutId===`clusteredColumn`)e.layoutPr?.paretoLine?ew(d,t,e,l,{drawColumns:!0}):$C(d,t,e,l);else if(e.layoutId===`paretoLine`)ew(d,t,e,l,{drawColumns:!1});else throw Error(`drawChartExPdf: layoutId '${e.layoutId}' is not supported by the vector path. Gate on canRenderChartExAsVectorPdf(model) before calling.`);return e}function YC(e,t,n,r){let i=mw(t,n),a=i.values,o=i.categories.length>0?i.categories:a.map((e,t)=>String(t+1)),s=Xw(i.hierarchy,o,a);for(let t of Tw(s,r))e.drawRect({x:t.rect.x,y:t.rect.y,width:t.rect.width,height:t.rect.height,fill:Y(t.color),stroke:{r:1,g:1,b:1}}),t.label&&e.drawText(t.label,{x:t.rect.x+4,y:t.rect.y+14,fontSize:10,color:{r:1,g:1,b:1},anchor:`start`})}function XC(e,t,n,r){let i=mw(t,n),a=i.values,o=i.categories.length>0?i.categories:a.map((e,t)=>String(t+1)),s=Xw(i.hierarchy,o,a);if(!e.drawPath){e.drawRect({x:r.x,y:r.y,width:r.width,height:r.height,stroke:{r:.7,g:.7,b:.7}});return}for(let t of Ew(s,r)){let n=dw(t);n.length!==0&&e.drawPath(n,{fill:Y(t.color),stroke:{r:1,g:1,b:1}})}}function ZC(e,t,n){let r=Y(`#D9D9D9`),i=Y(`#444444`),a=Y(`#555555`);for(let i=1;i<5;i++){let o=i/5,s=t.y+t.height*o;e.drawLine({x1:t.x,y1:s,x2:t.x+t.width,y2:s,color:r});let c=n.max+(n.min-n.max)*o;e.drawText(k_(c),{x:t.x-8,y:s+3,fontSize:10,color:a,anchor:`end`})}e.drawLine({x1:t.x,y1:t.y+t.height,x2:t.x+t.width,y2:t.y+t.height,color:i}),e.drawLine({x1:t.x,y1:t.y,x2:t.x,y2:t.y+t.height,color:i}),e.drawText(k_(n.max),{x:t.x-8,y:t.y+3,fontSize:10,color:a,anchor:`end`}),e.drawText(k_(n.min),{x:t.x-8,y:t.y+t.height+3,fontSize:10,color:a,anchor:`end`})}function QC(e,t,n,r,i,a){let o=iT(t,a);ZC(e,r,o);let s=Math.max(1,t.length),c=r.width/s,l=q(0,o.min,o.max,r),u=Y(i),d=Y(`#555555`);t.forEach((t,i)=>{let a=q(t,o.min,o.max,r);e.drawRect({x:r.x+i*c+c*.18,y:Math.min(a,l),width:c*.64,height:Math.abs(l-a),fill:u}),e.drawText(n[i]??String(i+1),{x:r.x+i*c+c/2,y:r.y+r.height+18,fontSize:10,color:d,anchor:`middle`})})}function $C(e,t,n,r){let i=Kw(mw(t,n).values,n.layoutPr?.binning);QC(e,i.map(e=>e.count),i.map(e=>e.label),r,X[0],aT(t))}function ew(e,t,n,r,i={}){let{drawColumns:a=!0}=i,o=mw(t,n),s=o.values,c=o.categories.length>0?o.categories:s.map((e,t)=>String(t+1)),l=s.map((e,t)=>({value:e,category:c[t]??String(t+1)})).filter(e=>Number.isFinite(e.value)).sort((e,t)=>t.value-e.value),u=l.map(e=>e.value);a&&QC(e,u,l.map(e=>e.category),r,X[0],aT(t));let d=u.reduce((e,t)=>e+(Number.isFinite(t)?Math.max(0,t):0),0);if(d>0){let t=d,n=0,i=Math.max(1,u.length),a=r.width/i,o=u.map((e,i)=>(n+=Number.isFinite(e)?Math.max(0,e):0,{x:r.x+i*a+a/2,y:r.y+r.height-n/t*r.height})),s=Y(X[1]);for(let t=1;t<o.length;t++)e.drawLine({x1:o[t-1].x,y1:o[t-1].y,x2:o[t].x,y2:o[t].y,color:s,lineWidth:2});for(let t of o)e.drawCircle?e.drawCircle({cx:t.x,cy:t.y,r:3,fill:s}):e.drawRect({x:t.x-3,y:t.y-3,width:6,height:6,fill:s});e.drawText(`Cumulative %`,{x:r.x+r.width-4,y:r.y+12,fontSize:10,color:s,anchor:`end`})}}function tw(e,t,n,r){let i=mw(t,n),a=i.values,o=i.categories.length>0?i.categories:a.map((e,t)=>String(t+1)),s=new Set(n.layoutPr?.subtotals?.map(e=>e.idx)??[]),c=0,l=a.map((e,t)=>{if(s.has(t)){let e=c;return{start:0,end:e,value:e,total:!0,gap:!1}}if(!Number.isFinite(e))return{start:c,end:c,value:0,total:!1,gap:!0};let n=c,r=c+e;return c=r,{start:n,end:r,value:e,total:!1,gap:!1}}),u=iT(l.flatMap(e=>[e.start,e.end]),aT(t));ZC(e,r,u);let d=Math.max(1,l.length),f=r.width/d,p=Y(`#555555`),m=Y(`#888888`),h=[];if(l.forEach((t,i)=>{let a=q(t.start,u.min,u.max,r),s=q(t.end,u.min,u.max,r),c=r.x+i*f+f*.18,l=t.gap?`#BFBFBF`:t.total?cT(n.layoutPr?.totalSpPr,X[2]):t.value>=0?cT(n.layoutPr?.increaseSpPr,`#70AD47`):cT(n.layoutPr?.decreaseSpPr,`#C00000`);e.drawRect({x:c,y:Math.min(a,s),width:f*.64,height:t.gap?0:Math.max(1,Math.abs(a-s)),fill:Y(l)}),e.drawText(o[i]??String(i+1),{x:r.x+i*f+f/2,y:r.y+r.height+18,fontSize:10,color:p,anchor:`middle`}),h.push({x:c+f*.64,y:s})}),n.layoutPr?.connectorLines!==!1)for(let t=0;t<h.length-1;t++)e.drawLine({x1:h[t].x,y1:h[t].y,x2:h[t+1].x-f*.64,y2:h[t].y,color:m,dashPattern:[3,3]})}function nw(e,t,n,r){let i=mw(t,n),a=i.values,o=i.categories.length>0?i.categories:a.map((e,t)=>String(t+1)),s=WC(a,0),c=s>0?s:1,l=Math.max(1,a.length),u=r.height/l,d={r:1,g:1,b:1},f={r:1,g:1,b:1},p=new Map;if(n.dataPt)for(let e of n.dataPt)e.spPr&&p.set(e.idx,cT(e.spPr,X[e.idx%X.length]));a.forEach((t,n)=>{let i=Number.isFinite(t)?Math.abs(t):0,s=a[n+1],l=Number.isFinite(s)?Math.abs(s):i,m=i/c*r.width,h=l/c*r.width,g=r.y+n*u,_=r.x+r.width/2,v=Y(p.get(n)??X[n%X.length]);if(e.drawPath)e.drawPath([{op:`move`,x:_-m/2,y:g},{op:`line`,x:_+m/2,y:g},{op:`line`,x:_+h/2,y:g+u*.88},{op:`line`,x:_-h/2,y:g+u*.88},{op:`close`}],{fill:v,stroke:f});else{e.drawRect({x:_-Math.max(m,h)/2,y:g,width:Math.max(m,h),height:u*.88,fill:v});let t=g+u*.88;e.drawLine({x1:_-m/2,y1:g,x2:_+m/2,y2:g,color:f}),e.drawLine({x1:_+m/2,y1:g,x2:_+h/2,y2:t,color:f}),e.drawLine({x1:_+h/2,y1:t,x2:_-h/2,y2:t,color:f}),e.drawLine({x1:_-h/2,y1:t,x2:_-m/2,y2:g,color:f})}e.drawText(o[n]??String(n+1),{x:_,y:g+u*.55,fontSize:11,color:d,anchor:`middle`})})}function rw(e,t,n,r){let i=mw(t,n),a=i.values,o=i.categories.length>0?i.categories:a.map((e,t)=>String(t+1)),s=o.length>0?qw(a,o):new Map([[`Values`,a]]),c=iT(Array.from(s.values()).flat(),aT(t));ZC(e,r,c);let l=Array.from(s.keys()),u=r.width/Math.max(1,l.length),d=Y(`#555555`),f=Y(`#333333`),p=Y(`#333333`),m=Y(`#333333`),h=Y(`#555555`);l.forEach((t,i)=>{let a=Jw(s.get(t)??[],n.layoutPr?.quartileMethod??`exclusive`),o=r.x+i*u+u/2,l=u*.38,g=q(a.q1,c.min,c.max,r),_=q(a.q3,c.min,c.max,r),v=q(a.median,c.min,c.max,r),y=q(a.low,c.min,c.max,r),b=q(a.high,c.min,c.max,r),x=X[i%X.length],S=Y(x);if(e.drawLine({x1:o,y1:b,x2:o,y2:y,color:d}),e.drawRect({x:o-l/2,y:Math.min(g,_),width:l,height:Math.abs(_-g),fill:{...S,a:.35},stroke:S}),e.drawLine({x1:o-l/2,y1:v,x2:o+l/2,y2:v,color:f}),n.layoutPr?.showMeanMarker!==!1){let t=q(a.mean,c.min,c.max,r);e.drawCircle?e.drawCircle({cx:o,cy:t,r:3,fill:m}):e.drawRect({x:o-3,y:t-3,width:6,height:6,fill:m})}if(n.layoutPr?.showMeanLine){let t=q(a.mean,c.min,c.max,r);e.drawLine({x1:o-l/2,y1:t,x2:o+l/2,y2:t,color:m,dashPattern:[3,2]})}if(n.layoutPr?.showInnerPoints){let t={...S,a:.55};for(let n of a.nonOutliers){let i=q(n,c.min,c.max,r);e.drawCircle?e.drawCircle({cx:o-l*.62,cy:i,r:1.6,fill:t}):e.drawRect({x:o-l*.62-1.6,y:i-1.6,width:3.2,height:3.2,fill:t})}}if(n.layoutPr?.showOutlierPoints!==!1)for(let t of a.outliers){let n=q(t,c.min,c.max,r);e.drawCircle?e.drawCircle({cx:o+l*.62,cy:n,r:2,stroke:p}):e.drawRect({x:o+l*.62-2,y:n-2,width:4,height:4,stroke:p})}e.drawText(t,{x:o,y:r.y+r.height+18,fontSize:10,color:h,anchor:`middle`})})}function iw(e,t,n,r,i){let a=mw(t,n),o=a.values,s=a.categories.length>0?a.categories:o.map((e,t)=>String(t+1)),c=iT(o,aT(t));if(i?.topology&&aw(e,o,s,n,r,c,i))return;let l=o.map((e,t)=>({value:e,label:s[t]??String(t+1),coord:Iw(s[t]??String(t+1))})),u=l.filter(e=>!!e.coord);if(u.length===0){lw(e,l,c,r);return}e.drawRect({x:r.x,y:r.y,width:r.width,height:r.height,fill:Y(`#F7FBFF`),stroke:Y(`#C7DFF2`)}),cw(e,r);let d=n.layoutPr?.regionLabels??`bestFit`,f={r:1,g:1,b:1},p=Y(`#1F3B53`);for(let t of u){let i=zw(t.coord,n.layoutPr?.projection??`miller`,r);if(!Number.isFinite(t.value))continue;let a=(t.value-c.min)/Math.max(1e-9,c.max-c.min),o=Math.max(0,Math.min(1,a)),s=6+Math.sqrt(o)*14,l={...Y(F_(`#D9EAF7`,`#2F75B5`,o)),a:.92};e.drawCircle?e.drawCircle({cx:i.x,cy:i.y,r:s,fill:l,stroke:f}):e.drawRect({x:i.x-s,y:i.y-s,width:s*2,height:s*2,fill:l,stroke:f}),(d===`showAll`||d===`bestFit`&&s>=9)&&e.drawText(t.label,{x:i.x,y:i.y+3,fontSize:9,color:p,anchor:`middle`})}let m=l.filter(e=>!e.coord);if(m.length>0){let t=Math.min(52,r.height*.25);lw(e,m,c,{x:r.x+8,y:r.y+r.height-t-8,width:r.width-16,height:t})}}function aw(e,t,n,r,i,a,o){let s;try{s=BC(o.topology,o.objectName)}catch{return!1}if(s.length===0)return!1;let c=(()=>{let e=o.match??`id`;return Array.isArray(e)?e.length>0?e:[`id`]:[e]})(),l=e=>{let t=[];for(let n of c){let r=n.startsWith(`property:`)?e.properties?.[n.slice(9)]:e.id;r!=null&&t.push(String(r).trim().toLowerCase())}return t},u=new Map;if(n.forEach((e,n)=>{let r=Fw(e);r&&u.set(r,t[n])}),u.size===0)return!1;let d=o.projection??r.layoutPr?.projection??`miller`,f=Mw(s,d);if(!f)return!1;let p=new Map,m=0;for(let e of s){let t=l(e),n;for(let e of t){let t=u.get(e);if(t!==void 0){n={key:e,value:t},m+=1;break}}p.set(e,n)}if(m===0)return!1;e.drawRect({x:i.x,y:i.y,width:i.width,height:i.height,fill:Y(`#F7FBFF`),stroke:Y(`#C7DFF2`)});let h=Y(o.strokeColor??`#FFFFFF`);for(let t of s){let n=p.get(t),r=Y(n?(()=>{let e=(n.value-a.min)/Math.max(1e-9,a.max-a.min);return F_(`#D9EAF7`,`#2F75B5`,Math.max(0,Math.min(1,e)))})():`#E9EEF3`),o=ow(t.rings,d,i,f);o.length!==0&&(e.drawPath?e.drawPath(o,{fill:r,stroke:h}):sw(e,o,h))}let g=new Map;n.forEach(e=>{let t=Fw(e);t&&g.set(t,e)});let _=r.layoutPr?.regionLabels??`bestFit`,v=Y(`#1F3B53`);if(_===`showAll`||_===`bestFit`)for(let t of s){let n=p.get(t);if(!n||t.rings.length===0)continue;let r=Pw(t.rings[0]);if(!r)continue;let a=Aw(r[0],r[1],d,i,f),o=g.get(n.key)??(typeof t.id==`string`?t.id:String(t.id??``));e.drawText(o,{x:a.x,y:a.y+3,fontSize:9,color:v,anchor:`middle`})}return!0}function ow(e,t,n,r){let i=[];for(let a of e){if(a.length<2)continue;let e=a.map(([e,i])=>Aw(e,i,t,n,r));i.push({op:`move`,x:e[0].x,y:e[0].y});for(let t=1;t<e.length;t++)i.push({op:`line`,x:e[t].x,y:e[t].y});i.push({op:`close`})}return i}function sw(e,t,n){let r,i;for(let a of t)a.op===`move`?(r={x:a.x,y:a.y},i=r):a.op===`line`&&i?(e.drawLine({x1:i.x,y1:i.y,x2:a.x,y2:a.y,color:n}),i={x:a.x,y:a.y}):a.op===`close`&&i&&r&&(e.drawLine({x1:i.x,y1:i.y,x2:r.x,y2:r.y,color:n}),i=r)}function cw(e,t){let n=Y(`#E5F0FA`);for(let r=1;r<4;r++){let i=t.x+t.width*r/4;e.drawLine({x1:i,y1:t.y+8,x2:i,y2:t.y+t.height-8,color:n})}for(let r=1;r<3;r++){let i=t.y+t.height*r/3;e.drawLine({x1:t.x+8,y1:i,x2:t.x+t.width-8,y2:i,color:n})}}function lw(e,t,n,r){let i=Math.max(1,t.length),a=Math.ceil(Math.sqrt(i)),o=Math.ceil(i/a),s=r.width/a,c=r.height/o,l=Math.min(s,c)*.38,u={r:1,g:1,b:1},d=Y(`#1F3B53`);t.forEach((t,i)=>{if(!Number.isFinite(t.value))return;let o=r.x+i%a*s+s/2,f=r.y+Math.floor(i/a)*c+c/2,p=Y(F_(`#D9EAF7`,`#2F75B5`,T_((t.value-n.min)/Math.max(1e-9,n.max-n.min)))),m=uw(o,f,l);e.drawPath?e.drawPath(m,{fill:p,stroke:u}):e.drawRect({x:o-l,y:f-l,width:l*2,height:l*2,fill:p,stroke:u}),s>34&&c>22&&e.drawText(t.label,{x:o,y:f+3,fontSize:9,color:d,anchor:`middle`})})}function uw(e,t,n){let r=[];for(let i=0;i<6;i++){let a=Math.PI/6+Math.PI*2*i/6,o=e+Math.cos(a)*n,s=t+Math.sin(a)*n;r.push(i===0?{op:`move`,x:o,y:s}:{op:`line`,x:o,y:s})}return r.push({op:`close`}),r}function dw(e){let t=[],n=D_(e.cx,e.cy,e.outer,e.start);t.push({op:`move`,x:n.x,y:n.y}),fw(t,e.cx,e.cy,e.outer,e.start,e.end);let r=D_(e.cx,e.cy,e.inner,e.end);return t.push({op:`line`,x:r.x,y:r.y}),fw(t,e.cx,e.cy,e.inner,e.end,e.start),t.push({op:`close`}),t}function fw(e,t,n,r,i,a){if(r<=0)return;let o=a-i;if(o===0)return;let s=Math.max(1,Math.ceil(Math.abs(o)/(Math.PI/2))),c=o/s,l=i;for(let i=0;i<s;i++){let i=l+c,a=4/3*Math.tan(c/4),o=D_(t,n,r,l),s={x:o.x-a*r*Math.sin(l),y:o.y+a*r*Math.cos(l)},u=D_(t,n,r,i),d={x:u.x+a*r*Math.sin(i),y:u.y-a*r*Math.cos(i)};e.push({op:`curve`,x1:s.x,y1:s.y,x2:d.x,y2:d.y,x3:u.x,y3:u.y}),l=i}}function pw(e,t,n,r,i,a={}){let o=mw(t,n),s=o.values,c=o.categories.length>0?o.categories:s.map((e,t)=>String(t+1)),l=aT(t);switch(n.layoutId){case`funnel`:xw(e,s,c,n,r);return;case`waterfall`:bw(e,s,c,n,r,l);return;case`clusteredColumn`:n.layoutPr?.paretoLine?yw(e,s,c,n,r,l,{drawColumns:!0}):vw(e,s,n,r,l);return;case`paretoLine`:yw(e,s,c,n,r,l,{drawColumns:!1});return;case`boxWhisker`:Sw(e,s,c,n,r,l);return;case`treemap`:Cw(e,Xw(o.hierarchy,c,s),r);return;case`sunburst`:ww(e,Xw(o.hierarchy,c,s),r);return;case`regionMap`:Ow(e,s,c,n,r,a.regionMap,l);return;default:_w(e,s,c,r,X[i%X.length],l)}}function mw(e,t){let n=new Map(e.chartSpace.chartData.data.map(e=>[e.id,e])),r=(t.dataRefs??[]).map(e=>e.dataId===void 0?void 0:n.get(e.dataId)).filter(e=>!!e),i=()=>{let e=r.find(e=>e.numDim&&(e.numDim.type===`val`||e.numDim.type===`y`));if(e)return gw(e);let t=r.find(e=>e.numDim?.type===`size`);if(t)return gw(t);let n=r.find(e=>e.numDim);return n?gw(n):[]},a=()=>{let e=r.find(e=>e.strDim?.type===`cat`);if(e)return hw(e);let t=r.find(e=>e.strDim);return t?hw(t):[]},o=r.find(e=>e.strDim?.type===`cat`)??r.find(e=>e.strDim),s=r.filter(e=>e.strDim&&e!==o).map(e=>hw(e));return{values:i(),categories:a(),hierarchy:s}}function hw(e){let t=(e.strDim?.levels??[])[0];if(!t)return[];let n=t.ptCount??t.points.length,r=Math.min(Math.max(t.points.length,n),2097152),i=Array.from({length:r},(e,t)=>String(t+1));for(let e of t.points)e.index>=0&&e.index<r&&(i[e.index]=e.value);return i}function gw(e){let t=(e.numDim?.levels??[])[0];if(!t)return[];let n=t.ptCount??t.points.length,r=Math.min(Math.max(t.points.length,n),2097152),i=Array.from({length:r},()=>NaN);for(let e of t.points)e.index>=0&&e.index<r&&(i[e.index]=e.value);return i}function _w(e,t,n,r,i,a){let o=iT(t,a);eT(e,r,o);let s=Math.max(1,t.length),c=r.width/s,l=q(0,o.min,o.max,r);t.forEach((t,a)=>{let s=q(t,o.min,o.max,r);e.push(`<rect x="${J(r.x+a*c+c*.18)}" y="${J(Math.min(s,l))}" width="${J(c*.64)}" height="${J(Math.abs(l-s))}" fill="${i}"/>`),e.push(oT(r.x+a*c+c/2,r.y+r.height+18,n[a]??String(a+1),10,`#555`,`middle`))})}function vw(e,t,n,r,i){let a=Kw(t,n.layoutPr?.binning);_w(e,a.map(e=>e.count),a.map(e=>e.label),r,X[0],i)}function yw(e,t,n,r,i,a,o={}){let{drawColumns:s=!0}=o,c=t.map((e,t)=>({value:e,category:n[t]??String(t+1)})).filter(e=>Number.isFinite(e.value)).sort((e,t)=>t.value-e.value),l=c.map(e=>e.value);s&&_w(e,l,c.map(e=>e.category),i,X[0],a);let u=l.reduce((e,t)=>e+(Number.isFinite(t)?Math.max(0,t):0),0);if(u>0){let t=u,n=0,r=Math.max(1,l.length),a=i.width/r,o=l.map(e=>(n+=Number.isFinite(e)?Math.max(0,e):0,{y:i.y+i.height-n/t*i.height})).map((e,t)=>({x:i.x+t*a+a/2,y:e.y}));e.push(`<polyline points="${o.map(e=>`${J(e.x)},${J(e.y)}`).join(` `)}" fill="none" stroke="${X[1]}" stroke-width="2"/>`);for(let t of o)e.push(`<circle cx="${J(t.x)}" cy="${J(t.y)}" r="3" fill="${X[1]}"/>`);e.push(oT(i.x+i.width-4,i.y+12,`Cumulative %`,10,X[1],`end`))}}function bw(e,t,n,r,i,a){let o=new Set(r.layoutPr?.subtotals?.map(e=>e.idx)??[]),s=0,c=t.map((e,t)=>{if(o.has(t)){let e=s;return{start:0,end:e,value:e,total:!0,gap:!1}}if(!Number.isFinite(e))return{start:s,end:s,value:0,total:!1,gap:!0};let n=s,r=s+e;return s=r,{start:n,end:r,value:e,total:!1,gap:!1}}),l=iT(c.flatMap(e=>[e.start,e.end]),a);eT(e,i,l);let u=Math.max(1,c.length),d=i.width/u,f=[];if(c.forEach((t,a)=>{let o=q(t.start,l.min,l.max,i),s=q(t.end,l.min,l.max,i),c=i.x+a*d+d*.18,u=t.gap?`#BFBFBF`:t.total?cT(r.layoutPr?.totalSpPr,X[2]):t.value>=0?cT(r.layoutPr?.increaseSpPr,`#70AD47`):cT(r.layoutPr?.decreaseSpPr,`#C00000`),p=t.gap?0:Math.max(1,Math.abs(o-s));e.push(`<rect x="${J(c)}" y="${J(Math.min(o,s))}" width="${J(d*.64)}" height="${J(p)}" fill="${u}"/>`),e.push(oT(i.x+a*d+d/2,i.y+i.height+18,n[a]??String(a+1),10,`#555`,`middle`)),f.push({x:c+d*.64,y:s})}),r.layoutPr?.connectorLines!==!1)for(let t=0;t<f.length-1;t++)e.push(`<line x1="${J(f[t].x)}" y1="${J(f[t].y)}" x2="${J(f[t+1].x-d*.64)}" y2="${J(f[t].y)}" stroke="#888" stroke-dasharray="3 3"/>`)}function xw(e,t,n,r,i){let a=WC(t,0),o=a>0?a:1,s=Math.max(1,t.length),c=i.height/s,l=new Map;if(r.dataPt)for(let e of r.dataPt)e.spPr&&l.set(e.idx,cT(e.spPr,X[e.idx%X.length]));t.forEach((r,a)=>{let s=Number.isFinite(r)?Math.abs(r):0,u=t[a+1],d=Number.isFinite(u)?Math.abs(u):s,f=s/o*i.width,p=d/o*i.width,m=i.y+a*c,h=i.x+i.width/2,g=l.get(a)??X[a%X.length];e.push(`<polygon points="${J(h-f/2)},${J(m)} ${J(h+f/2)},${J(m)} ${J(h+p/2)},${J(m+c*.88)} ${J(h-p/2)},${J(m+c*.88)}" fill="${g}" stroke="#fff"/>`),e.push(oT(h,m+c*.55,n[a]??String(a+1),11,`#fff`,`middle`))})}function Sw(e,t,n,r,i,a){let o=n.length>0?qw(t,n):new Map([[`Values`,t]]),s=iT(Array.from(o.values()).flat(),a);eT(e,i,s);let c=Array.from(o.keys()),l=i.width/Math.max(1,c.length);c.forEach((t,n)=>{let a=Jw(o.get(t)??[],r.layoutPr?.quartileMethod??`exclusive`),c=i.x+n*l+l/2,u=l*.38,d=q(a.q1,s.min,s.max,i),f=q(a.q3,s.min,s.max,i),p=q(a.median,s.min,s.max,i),m=q(a.low,s.min,s.max,i),h=q(a.high,s.min,s.max,i);if(e.push(`<line x1="${J(c)}" y1="${J(h)}" x2="${J(c)}" y2="${J(m)}" stroke="#555"/>`),e.push(`<rect x="${J(c-u/2)}" y="${J(Math.min(d,f))}" width="${J(u)}" height="${J(Math.abs(f-d))}" fill="${P_(X[n%X.length],.35)}" stroke="${X[n%X.length]}"/>`),e.push(`<line x1="${J(c-u/2)}" y1="${J(p)}" x2="${J(c+u/2)}" y2="${J(p)}" stroke="#333"/>`),r.layoutPr?.showMeanMarker!==!1&&e.push(`<circle cx="${J(c)}" cy="${J(q(a.mean,s.min,s.max,i))}" r="3" fill="#333"/>`),r.layoutPr?.showMeanLine){let t=q(a.mean,s.min,s.max,i);e.push(`<line x1="${J(c-u/2)}" y1="${J(t)}" x2="${J(c+u/2)}" y2="${J(t)}" stroke="#333" stroke-dasharray="3 2"/>`)}if(r.layoutPr?.showInnerPoints)for(let t of a.nonOutliers)e.push(`<circle cx="${J(c-u*.62)}" cy="${J(q(t,s.min,s.max,i))}" r="1.6" fill="${X[n%X.length]}" opacity="0.55"/>`);if(r.layoutPr?.showOutlierPoints!==!1)for(let t of a.outliers)e.push(`<circle cx="${J(c+u*.62)}" cy="${J(q(t,s.min,s.max,i))}" r="2" fill="none" stroke="#333"/>`);e.push(oT(c,i.y+i.height+18,t,10,`#555`,`middle`))})}function Cw(e,t,n){for(let r of Tw(t,n))e.push(`<rect x="${J(r.rect.x)}" y="${J(r.rect.y)}" width="${J(r.rect.width)}" height="${J(r.rect.height)}" fill="${r.color}" stroke="#fff"/>`),r.label&&e.push(oT(r.rect.x+4,r.rect.y+14,r.label,10,`#fff`,`start`))}function ww(e,t,n){for(let r of Ew(t,n))e.push(Qw(r.cx,r.cy,r.outer,r.inner,r.start,r.end,r.color))}function Tw(e,t){return Zw(e.children.length>0?e.children:[{...e,name:`Values`}],t,!0).filter(e=>e.rect.width>.5&&e.rect.height>.5).map((e,t)=>({rect:e.rect,color:X[t%X.length],label:e.rect.width>40&&e.rect.height>18?e.node.name:void 0}))}function Ew(e,t){let n=[],r=t.x+t.width/2,i=t.y+t.height/2,a=Math.max(1,$w(e)-1),o=Math.min(t.width,t.height)/2.25;return Dw(n,e,r,i,0,Math.PI*2,0,a,o,-1),n}function Dw(e,t,n,r,i,a,o,s,c,l){let u=c/Math.max(1,s),d=l;o>0&&e.push({cx:n,cy:r,outer:u*o,inner:u*(o-1),start:i,end:a,color:X[l%X.length]});let f=t.children.reduce((e,t)=>e+Math.max(0,t.value),0)||1,p=i;for(let l=0;l<t.children.length;l++){let u=t.children[l],m=l===t.children.length-1?a:p+Math.max(0,u.value)/f*(a-i);d=Dw(e,u,n,r,p,m,o+1,s,c,d+1),p=m}return d}function Ow(e,t,n,r,i,a,o){let s=iT(t,o);if(a?.topology&&kw(e,t,n,r,i,s,a))return;let c=t.map((e,t)=>({value:e,label:n[t]??String(t+1),coord:Iw(n[t]??String(t+1))})),l=c.filter(e=>!!e.coord);if(l.length===0){Ww(e,c,s,i);return}e.push(`<rect x="${J(i.x)}" y="${J(i.y)}" width="${J(i.width)}" height="${J(i.height)}" rx="14" fill="#F7FBFF" stroke="#C7DFF2" data-region-map-mode="geographic-preview"/>`),Rw(e,i);let u=r.layoutPr?.regionLabels??`bestFit`;for(let t of l){let n=zw(t.coord,r.layoutPr?.projection??`miller`,i);if(!Number.isFinite(t.value))continue;let a=(t.value-s.min)/Math.max(1e-9,s.max-s.min),o=Math.max(0,Math.min(1,a)),c=6+Math.sqrt(o)*14;e.push(`<circle cx="${J(n.x)}" cy="${J(n.y)}" r="${J(c)}" fill="${F_(`#D9EAF7`,`#2F75B5`,o)}" stroke="#fff" stroke-width="1.5" opacity="0.92"/>`),(u===`showAll`||u===`bestFit`&&c>=9)&&e.push(oT(n.x,n.y+3,t.label,9,`#1F3B53`,`middle`))}let d=c.filter(e=>!e.coord);if(d.length>0){let t=Math.min(52,i.height*.25);Ww(e,d,s,{x:i.x+8,y:i.y+i.height-t-8,width:i.width-16,height:t},`unmatched`)}}function kw(e,t,n,r,i,a,o){let s;try{s=BC(o.topology,o.objectName)}catch{return!1}if(s.length===0)return!1;let c=(()=>{let e=o.match??`id`;return Array.isArray(e)?e.length>0?e:[`id`]:[e]})(),l=e=>{let t=[];for(let n of c){let r=n.startsWith(`property:`)?e.properties?.[n.slice(9)]:e.id;r!=null&&t.push(String(r).trim().toLowerCase())}return t},u=new Map;if(n.forEach((e,n)=>{let r=Fw(e);r&&u.set(r,t[n])}),u.size===0)return!1;let d=o.projection??r.layoutPr?.projection??`miller`,f=Mw(s,d);if(!f)return!1;let p=[];p.push(`<rect x="${J(i.x)}" y="${J(i.y)}" width="${J(i.width)}" height="${J(i.height)}" rx="14" fill="#F7FBFF" stroke="#C7DFF2" data-region-map-mode="topojson"/>`);let m=new Map;for(let e of s){let t=l(e),n;for(let e of t){let t=u.get(e);if(t!==void 0){n={key:e,value:t};break}}m.set(e,n)}let h=o.strokeColor??`#FFFFFF`,g=0;for(let e of s){let t=m.get(e),n=t?(()=>{g++;let e=(t.value-a.min)/Math.max(1e-9,a.max-a.min);return F_(`#D9EAF7`,`#2F75B5`,Math.max(0,Math.min(1,e)))})():`#E9EEF3`,r=Nw(e.rings,d,i,f);r&&p.push(`<path d="${r}" fill="${n}" stroke="${sn(h)}" stroke-width="0.5" stroke-linejoin="round"/>`)}if(g===0)return!1;let _=new Map;n.forEach(e=>{let t=Fw(e);t&&_.set(t,e)});let v=r.layoutPr?.regionLabels??`bestFit`;if(v===`showAll`||v===`bestFit`)for(let e of s){let t=m.get(e);if(!t||e.rings.length===0)continue;let n=Pw(e.rings[0]);if(!n)continue;let r=Aw(n[0],n[1],d,i,f),a=_.get(t.key)??(typeof e.id==`string`?e.id:String(e.id??``));p.push(oT(r.x,r.y+3,a,9,`#1F3B53`,`middle`))}for(let t of p)e.push(t);return!0}function Aw(e,t,n,r,i){let a=jw(e,t,n),o=i.maxX===i.minX?.5:(a.x-i.minX)/(i.maxX-i.minX),s=i.maxY===i.minY?.5:(a.y-i.minY)/(i.maxY-i.minY);return{x:r.x+14+o*Math.max(1,r.width-28),y:r.y+14+s*Math.max(1,r.height-28)}}function jw(e,t,n){let r=Math.max(-180,Math.min(180,e)),i=n===`mercator`||n===`miller`?Math.max(-fT,Math.min(fT,t)):Math.max(-90,Math.min(90,t));switch(n){case`mercator`:{let e=i*Math.PI/180;return{x:r/360,y:-Math.log(Math.tan(Math.PI/4+e/2))/(2*Math.PI)}}case`miller`:{let e=i*Math.PI/180;return{x:r/360,y:-(1.25*Math.log(Math.tan(Math.PI/4+.4*e)))/(2*Math.PI)}}case`albers`:{let{rawX:e,rawY:t}=Bw(r,i);return{x:e,y:t}}case`robinson`:{let{nx:e,ny:t}=Uw(r,i);return{x:e-.5,y:t-.5}}default:return{x:r/360,y:-i/180}}}function Mw(e,t){let n=1/0,r=-1/0,i=1/0,a=-1/0;for(let o of e)for(let e of o.rings)for(let[o,s]of e){let{x:e,y:c}=jw(o,s,t);e<n&&(n=e),e>r&&(r=e),c<i&&(i=c),c>a&&(a=c)}if(!(!Number.isFinite(n)||!Number.isFinite(r)))return{minX:n,maxX:r,minY:i,maxY:a}}function Nw(e,t,n,r){let i=[];for(let a of e){if(a.length<2)continue;let e=a.map(([e,i])=>Aw(e,i,t,n,r));i.push(`M${J(e[0].x)} ${J(e[0].y)}`);for(let t=1;t<e.length;t++)i.push(`L${J(e[t].x)} ${J(e[t].y)}`);i.push(`Z`)}return i.length>0?i.join(``):void 0}function Pw(e){let t=e.length;if(t===0)return;if(t<3){let n=0,r=0;for(let[t,i]of e)n+=t,r+=i;return[n/t,r/t]}let n=0,r=0,i=0;for(let a=0;a<t;a++){let[o,s]=e[a],[c,l]=e[(a+1)%t],u=o*l-c*s;n+=u,r+=(o+c)*u,i+=(s+l)*u}if(n*=.5,!Number.isFinite(n)||Math.abs(n)<1e-12){let n=0,r=0;for(let[t,i]of e)n+=t,r+=i;return[n/t,r/t]}let a=1/(6*n);return[r*a,i*a]}function Fw(e){return e.trim().toLowerCase()}function Iw(e){return dT.get(Lw(e))}function Lw(e){return e.trim().toLowerCase().replace(/\b(the|republic of)\b/g,``).replace(/[^a-z0-9]+/g,` `).trim()}function Rw(e,t){for(let n=1;n<4;n++){let r=t.x+t.width*n/4;e.push(`<line x1="${J(r)}" y1="${J(t.y+8)}" x2="${J(r)}" y2="${J(t.y+t.height-8)}" stroke="#E5F0FA"/>`)}for(let n=1;n<3;n++){let r=t.y+t.height*n/3;e.push(`<line x1="${J(t.x+8)}" y1="${J(r)}" x2="${J(t.x+t.width-8)}" y2="${J(r)}" stroke="#E5F0FA"/>`)}}function zw(e,t,n){let r=Math.max(-180,Math.min(180,e.lon)),i=t===`mercator`||t===`miller`?Math.max(-85,Math.min(fT,e.lat)):Math.max(-90,Math.min(90,e.lat)),a,o;if(t===`mercator`){a=(r+180)/360;let e=i*Math.PI/180;o=.5-Math.log(Math.tan(Math.PI/4+e/2))/(2*Math.PI)}else if(t===`miller`){a=(r+180)/360;let e=i*Math.PI/180;o=.5-1.25*Math.log(Math.tan(Math.PI/4+.4*e))/(2*Math.PI)}else t===`albers`?{nx:a,ny:o}=Vw(r,i):t===`robinson`?{nx:a,ny:o}=Uw(r,i):(a=(r+180)/360,o=.5-i/180);return{x:n.x+14+T_(a)*Math.max(1,n.width-28),y:n.y+14+T_(o)*Math.max(1,n.height-28)}}function Bw(e,t){let n=t*Math.PI/180,r=e*Math.PI/180,i=Math.sqrt(Math.max(0,gT-2*hT*Math.sin(n)))/hT,a=hT*r;return{rawX:i*Math.sin(a),rawY:_T-i*Math.cos(a)}}function Vw(e,t){let{rawX:n,rawY:r}=Bw(e,t),{minX:i,maxX:a,minY:o,maxY:s}=vT;return{nx:(n-i)/(a-i),ny:1-(r-o)/(s-o)}}function Hw(e){let t=Math.min(yT.length-1,e/5),n=Math.floor(t),r=Math.min(yT.length-1,n+1),i=t-n;return{plen:yT[n]+(yT[r]-yT[n])*i,pdfe:bT[n]+(bT[r]-bT[n])*i}}function Uw(e,t){let{plen:n,pdfe:r}=Hw(Math.abs(t)),i=t>=0?-1:1;return{nx:.5+e/180*n*.5,ny:.5+i*r*.5072*.5}}function Ww(e,t,n,r,i=`tile-fallback`){let a=Math.max(1,t.length),o=Math.ceil(Math.sqrt(a)),s=Math.ceil(a/o),c=r.width/o,l=r.height/s,u=Math.min(c,l)*.38;t.forEach((t,a)=>{if(!Number.isFinite(t.value))return;let s=r.x+a%o*c+c/2,d=r.y+Math.floor(a/o)*l+l/2,f=T_((t.value-n.min)/Math.max(1e-9,n.max-n.min)),p=Gw(s,d,u);e.push(`<polygon points="${p}" fill="${F_(`#D9EAF7`,`#2F75B5`,f)}" stroke="#fff" data-region-map-mode="${i}"/>`),c>34&&l>22&&e.push(oT(s,d+3,t.label,9,`#1F3B53`,`middle`))})}function Gw(e,t,n){return Array.from({length:6},(r,i)=>{let a=Math.PI/6+Math.PI*2*i/6;return`${J(e+Math.cos(a)*n)},${J(t+Math.sin(a)*n)}`}).join(` `)}function Kw(e,t){let n=e.filter(e=>Number.isFinite(e));if(n.length===0)return[];let r=n.slice().sort((e,t)=>e-t),i=r[0],a=r[r.length-1];if(t?.binType===`categories`){let e=new Map;for(let t of n){let n=String(t);e.set(n,(e.get(n)??0)+1)}return Array.from(e,([e,t])=>({label:e,count:t}))}let o=t?.binCount??(t?.binType===`binCount`?10:Math.ceil(Math.sqrt(n.length))),s=a-i,c=t?.binSize??(s>0?s/Math.max(1,o):1);if(!(c>0)||!Number.isFinite(c))throw new Xp(`Histogram bin size must be a positive finite number; got ${c}.`);let l=t?.underflow??i,u=t?.overflow??a,d=[];t?.underflow!==void 0&&d.push({low:-1/0,high:t.underflow,label:`<=${k_(t.underflow)}`,count:0});let f=1e3,p=Math.ceil((u-l)/c);if(p>f)throw new Xp(`Histogram would produce ${p} bins with binSize=${c} over [${l}, ${u}]; the renderer caps at ${f}. Widen the bin size or narrow the data range.`);let m=u-l,h=Math.max(1,Math.round((m+2**-52*8*m)/c));for(let e=0;e<h;e++){let t=l+e*c,n=e===h-1?u:l+(e+1)*c;d.push({low:t,high:n,label:`${k_(t)}-${k_(n)}`,count:0})}t?.overflow!==void 0&&d.push({low:t.overflow,high:1/0,label:`>${k_(t.overflow)}`,count:0}),d.length===0&&d.push({low:l,high:l+c,label:`${k_(l)}-${k_(l+c)}`,count:0});let g=t?.intervalClosed===`l`,_=t?.underflow===void 0?0:1,v=d.length-(t?.overflow===void 0?1:2);for(let e of n){let t=d.find((t,n)=>{let r=g||n===_?e>=t.low:e>t.low,i=g?n===v?e<=t.high:e<t.high:e<=t.high;return r&&i})??d[d.length-1];t.count++}return d.map(({label:e,count:t})=>({label:e,count:t}))}function qw(e,t){let n=new Map;return e.forEach((e,r)=>{let i=t[r]??`Values`,a=n.get(i)??[];a.push(e),n.set(i,a)}),n}function Jw(e,t){let n=e.slice().filter(Number.isFinite).sort((e,t)=>e-t),r=n.length>0?n:[0],i=Yw(r,.25,t),a=Yw(r,.5,t),o=Yw(r,.75,t),s=o-i,c=i-1.5*s,l=o+1.5*s,u=r.filter(e=>e>=c&&e<=l),d=r.filter(e=>e<c||e>l),f=u.length?u:r;return{q1:i,median:a,q3:o,low:f.reduce((e,t)=>t<e?t:e,f[0]),high:f.reduce((e,t)=>t>e?t:e,f[0]),mean:r.reduce((e,t)=>e+t,0)/r.length,outliers:d,nonOutliers:u}}function Yw(e,t,n){if(e.length===0)return NaN;if(e.length===1)return e[0];let r=n===`inclusive`?1+(e.length-1)*t:(e.length+1)*t,i=Math.max(1,Math.min(e.length,r)),a=Math.max(1,Math.floor(i)),o=Math.min(e.length,Math.ceil(i)),s=i-a;return e[a-1]+(e[o-1]-e[a-1])*s}function Xw(e,t,n){let r={name:`root`,value:0,children:[]};return n.forEach((n,i)=>{let a=r,o=[...e.map(e=>e[i]).filter(e=>e!=null),t[i]??String(i+1)],s=Number.isFinite(n)&&n>0?n:0;for(let e of o){let t=a.children.find(t=>t.name===e);t||(t={name:e,value:0,children:[]},a.children.push(t)),t.value+=s,a=t}r.value+=s}),r}function Zw(e,t,n){let r=e.reduce((e,t)=>e+Math.max(0,t.value),0)||1,i=0,a=[];for(let o of e){let e=Math.max(0,o.value)/r,s=n?{x:t.x+i,y:t.y,width:t.width*e,height:t.height}:{x:t.x,y:t.y+i,width:t.width,height:t.height*e};if(a.push({node:o,rect:s}),o.children.length>0&&s.width>18&&s.height>18){let e=Zw(o.children,O_(s,4),!n);for(let t of e)a.push(t)}i+=n?s.width:s.height}return a}function Qw(e,t,n,r,i,a,o){let s=a-i;if(s>=Math.PI*2-1e-9)return`<path d="M ${J(e-n)} ${J(t)} A ${J(n)} ${J(n)} 0 1 1 ${J(e+n)} ${J(t)} A ${J(n)} ${J(n)} 0 1 1 ${J(e-n)} ${J(t)} M ${J(e-r)} ${J(t)} A ${J(r)} ${J(r)} 0 1 0 ${J(e+r)} ${J(t)} A ${J(r)} ${J(r)} 0 1 0 ${J(e-r)} ${J(t)} Z" fill="${o}" fill-rule="evenodd" stroke="#fff"/>`;let c=+(s>Math.PI),l=D_(e,t,n,i),u=D_(e,t,n,a),d=D_(e,t,r,a),f=D_(e,t,r,i);return`<path d="M ${J(l.x)} ${J(l.y)} A ${J(n)} ${J(n)} 0 ${c} 1 ${J(u.x)} ${J(u.y)} L ${J(d.x)} ${J(d.y)} A ${J(r)} ${J(r)} 0 ${c} 0 ${J(f.x)} ${J(f.y)} Z" fill="${o}" stroke="#fff"/>`}function $w(e){let t=0;for(let n of e.children){let e=$w(n);e>t&&(t=e)}return 1+t}function eT(e,t,n){for(let r=1;r<5;r++){let i=r/5,a=t.y+t.height*i;e.push(`<line x1="${J(t.x)}" y1="${J(a)}" x2="${J(t.x+t.width)}" y2="${J(a)}" stroke="#D9D9D9"/>`);let o=n.max+(n.min-n.max)*i;e.push(oT(t.x-8,a+3,k_(o),10,`#555`,`end`))}e.push(`<line x1="${J(t.x)}" y1="${J(t.y+t.height)}" x2="${J(t.x+t.width)}" y2="${J(t.y+t.height)}" stroke="#444"/>`),e.push(`<line x1="${J(t.x)}" y1="${J(t.y)}" x2="${J(t.x)}" y2="${J(t.y+t.height)}" stroke="#444"/>`),e.push(oT(t.x-8,q(n.max,n.min,n.max,t)+3,k_(n.max),10,`#555`,`end`)),e.push(oT(t.x-8,q(n.min,n.min,n.max,t)+3,k_(n.min),10,`#555`,`end`))}function tT(e,t,n,r,i,a){let o=a??`r`,s=e=>18+Math.max(28,e.length*6)+14,c=t.map((e,t)=>nT(e)??`Series ${t+1}`);if(o===`b`||o===`t`){let a=c.reduce((e,t)=>e+s(t),0)-14,l=Math.max(6,(n-a)/2),u=o===`b`?r-22:i?44:10,d=l;t.forEach((t,n)=>{let r=c[n],i=s(r);e.push(`<rect x="${J(d)}" y="${J(u)}" width="10" height="10" fill="${X[n%X.length]}"/>`),e.push(oT(d+10+8,u+10-1,r,10,`#555`,`start`)),d+=i});return}if(o===`l`){t.forEach((t,n)=>{let r=(i?44:20)+n*18;e.push(`<rect x="${J(8)}" y="${J(r)}" width="10" height="10" fill="${X[n%X.length]}"/>`),e.push(oT(22,r+9,c[n],10,`#555`,`start`))});return}let l=o===`tr`?i?44:16:i?44:20;t.forEach((t,r)=>{let i=l+r*18;e.push(`<rect x="${J(n-116)}" y="${J(i)}" width="10" height="10" fill="${X[r%X.length]}"/>`),e.push(oT(n-102,i+9,c[r],10,`#555`,`start`))})}function nT(e){let t=e.tx;if(t){if(t.rich)return t.rich.paragraphs.map(e=>(e.runs??[]).map(e=>e.text).join(``)).join(`
|
|
60
|
-
`);if(t.value!==void 0)return t.value;if(t.strRef)return typeof t.strRef==`object`?t.strRef.cached??t.strRef.formula:t.strRef}}function
|
|
61
|
-
`);if(t)return t;let n=e.strRef?.cache?.points?.[0]?.value;if(typeof n==`string`&&n.length>0)return n}function cT(e,t){return R_(e?mv(e):void 0,t)}var lT,uT,dT,fT,pT,mT,hT,gT,_T,vT,yT,bT,xT=n((()=>{zC(),UC(),G_(),Cv(),Qp(),lT=[`sunburst`,`treemap`,`funnel`,`waterfall`,`boxWhisker`,`clusteredColumn`,`paretoLine`,`regionMap`],uT={afghanistan:{lon:66,lat:34},albania:{lon:20,lat:41},algeria:{lon:3,lat:28},angola:{lon:17,lat:-12},argentina:{lon:-64,lat:-34},armenia:{lon:45,lat:40},australia:{lon:134,lat:-25},austria:{lon:14,lat:47},azerbaijan:{lon:47,lat:40},bahamas:{lon:-78,lat:24},bahrain:{lon:50,lat:26},bangladesh:{lon:90,lat:24},belarus:{lon:28,lat:53},belgium:{lon:4,lat:50},belize:{lon:-88,lat:17},benin:{lon:2,lat:9},bhutan:{lon:90,lat:27},bolivia:{lon:-64,lat:-16},"bosnia and herzegovina":{lon:18,lat:44},botswana:{lon:24,lat:-22},brazil:{lon:-52,lat:-10},brunei:{lon:114,lat:4},bulgaria:{lon:25,lat:43},"burkina faso":{lon:-2,lat:12},burundi:{lon:30,lat:-3},cambodia:{lon:105,lat:13},cameroon:{lon:12,lat:5},canada:{lon:-106,lat:56},"central african republic":{lon:21,lat:7},chad:{lon:19,lat:15},chile:{lon:-71,lat:-30},china:{lon:104,lat:35},colombia:{lon:-72,lat:4},"costa rica":{lon:-84,lat:10},croatia:{lon:16,lat:45},cuba:{lon:-78,lat:22},cyprus:{lon:33,lat:35},"czech republic":{lon:15,lat:50},czechia:{lon:15,lat:50},"democratic republic of the congo":{lon:23,lat:-2},denmark:{lon:10,lat:56},djibouti:{lon:43,lat:12},"dominican republic":{lon:-70,lat:19},ecuador:{lon:-79,lat:-2},egypt:{lon:30,lat:26},"el salvador":{lon:-89,lat:14},"equatorial guinea":{lon:10,lat:2},eritrea:{lon:39,lat:15},estonia:{lon:26,lat:59},ethiopia:{lon:40,lat:9},fiji:{lon:178,lat:-18},finland:{lon:26,lat:64},france:{lon:2,lat:46},gabon:{lon:11,lat:-1},gambia:{lon:-15,lat:13},georgia:{lon:43,lat:42},germany:{lon:10,lat:51},ghana:{lon:-2,lat:8},greece:{lon:22,lat:39},greenland:{lon:-42,lat:72},guatemala:{lon:-90,lat:15},guinea:{lon:-10,lat:11},"guinea-bissau":{lon:-15,lat:12},guyana:{lon:-58,lat:5},haiti:{lon:-72,lat:19},honduras:{lon:-86,lat:15},"hong kong":{lon:114,lat:22},hungary:{lon:20,lat:47},iceland:{lon:-19,lat:65},india:{lon:78,lat:22},indonesia:{lon:118,lat:-2},iran:{lon:53,lat:32},iraq:{lon:44,lat:33},ireland:{lon:-8,lat:53},israel:{lon:35,lat:31},italy:{lon:12,lat:43},"ivory coast":{lon:-5,lat:7},"côte d’ivoire":{lon:-5,lat:7},jamaica:{lon:-77,lat:18},japan:{lon:138,lat:37},jordan:{lon:36,lat:31},kazakhstan:{lon:68,lat:48},kenya:{lon:38,lat:0},kuwait:{lon:47,lat:29},kyrgyzstan:{lon:75,lat:41},laos:{lon:104,lat:18},latvia:{lon:25,lat:56},lebanon:{lon:36,lat:33},lesotho:{lon:28,lat:-29},liberia:{lon:-9,lat:6},libya:{lon:17,lat:27},liechtenstein:{lon:9,lat:47},lithuania:{lon:24,lat:56},luxembourg:{lon:6,lat:49},macedonia:{lon:21,lat:41},"north macedonia":{lon:21,lat:41},madagascar:{lon:47,lat:-20},malawi:{lon:34,lat:-13},malaysia:{lon:102,lat:4},mali:{lon:-4,lat:17},malta:{lon:14,lat:35},mauritania:{lon:-11,lat:20},mauritius:{lon:57,lat:-20},mexico:{lon:-102,lat:23},moldova:{lon:28,lat:47},monaco:{lon:7,lat:43},mongolia:{lon:104,lat:46},montenegro:{lon:19,lat:42},morocco:{lon:-7,lat:32},mozambique:{lon:35,lat:-18},myanmar:{lon:96,lat:21},burma:{lon:96,lat:21},namibia:{lon:18,lat:-22},nepal:{lon:84,lat:28},netherlands:{lon:5,lat:52},"new zealand":{lon:174,lat:-41},nicaragua:{lon:-85,lat:13},niger:{lon:8,lat:17},nigeria:{lon:8,lat:10},"north korea":{lon:127,lat:40},norway:{lon:10,lat:62},oman:{lon:57,lat:21},pakistan:{lon:70,lat:30},palestine:{lon:35,lat:32},panama:{lon:-80,lat:9},"papua new guinea":{lon:144,lat:-6},paraguay:{lon:-58,lat:-23},peru:{lon:-75,lat:-10},philippines:{lon:122,lat:13},poland:{lon:20,lat:52},portugal:{lon:-8,lat:40},qatar:{lon:51,lat:25},"republic of the congo":{lon:15,lat:-1},romania:{lon:25,lat:46},russia:{lon:100,lat:60},rwanda:{lon:30,lat:-2},"saudi arabia":{lon:45,lat:24},senegal:{lon:-15,lat:14},serbia:{lon:21,lat:44},"sierra leone":{lon:-12,lat:8},singapore:{lon:104,lat:1},slovakia:{lon:19,lat:49},slovenia:{lon:15,lat:46},somalia:{lon:46,lat:5},"south africa":{lon:25,lat:-29},"south korea":{lon:128,lat:36},"south sudan":{lon:30,lat:7},spain:{lon:-4,lat:40},"sri lanka":{lon:81,lat:7},sudan:{lon:30,lat:15},suriname:{lon:-56,lat:4},sweden:{lon:15,lat:62},switzerland:{lon:8,lat:47},syria:{lon:38,lat:35},taiwan:{lon:121,lat:24},tajikistan:{lon:71,lat:39},tanzania:{lon:35,lat:-6},thailand:{lon:101,lat:15},togo:{lon:1,lat:8},"trinidad and tobago":{lon:-61,lat:11},tunisia:{lon:9,lat:34},turkey:{lon:35,lat:39},turkmenistan:{lon:59,lat:40},uganda:{lon:32,lat:1},ukraine:{lon:32,lat:49},"united arab emirates":{lon:54,lat:24},uae:{lon:54,lat:24},"united kingdom":{lon:-2,lat:54},uk:{lon:-2,lat:54},britain:{lon:-2,lat:54},"great britain":{lon:-2,lat:54},"united states":{lon:-98,lat:39},"united states of america":{lon:-98,lat:39},usa:{lon:-98,lat:39},us:{lon:-98,lat:39},uruguay:{lon:-56,lat:-33},uzbekistan:{lon:64,lat:41},venezuela:{lon:-66,lat:8},vietnam:{lon:108,lat:16},yemen:{lon:48,lat:15},zambia:{lon:28,lat:-14},zimbabwe:{lon:30,lat:-19}},dT=new Map(Object.entries(uT).map(([e,t])=>[Lw(e),t])),fT=85,pT=20*Math.PI/180,mT=60*Math.PI/180,hT=(Math.sin(pT)+Math.sin(mT))/2,gT=Math.cos(pT)*Math.cos(pT)+2*hT*Math.sin(pT),_T=Math.sqrt(gT)/hT,vT=(()=>{let e=1/0,t=-1/0,n=1/0,r=-1/0;for(let i=-180;i<=180;i+=10)for(let a=-84;a<=84;a+=4){let{rawX:o,rawY:s}=Bw(i,a);o<e&&(e=o),o>t&&(t=o),s<n&&(n=s),s>r&&(r=s)}return{minX:e,maxX:t,minY:n,maxY:r}})(),yT=[1,.9986,.9954,.99,.9822,.973,.96,.9427,.9216,.8962,.8679,.835,.7986,.7597,.7186,.6732,.6213,.5722,.5322],bT=[0,.062,.124,.186,.248,.31,.372,.434,.4958,.5571,.6176,.6769,.7346,.7903,.8435,.8936,.9394,.9761,1]}));function ST(e,t){return{_model:e,_workbook:t}}function CT(e){return e._model.name}function wT(e){return e._model.state}function TT(e){return e._model.chartNumber?(e._workbook?u_(e._workbook,e._model.chartNumber):void 0)?.model:void 0}function ET(e){return e._model.chartExNumber?(e._workbook?d_(e._workbook,e._model.chartExNumber):void 0)?.model:void 0}function DT(e){return e._model}function OT(e){return e._model.pageMargins}function kT(e){return e._model.pageSetup}var AT=n((()=>{m_()}));function jT(e,t,n){let r=[],{width:i,height:a,padding:o}=n,s=LT(e.colorSeries)??`#376091`,c=LT(e.colorNegative)??`#D00000`,l=LT(e.colorAxis)??`#000000`,u=LT(e.colorMarkers)??s,d=LT(e.colorHigh)??u,f=LT(e.colorLow)??u,p=LT(e.colorFirst)??u,m=LT(e.colorLast)??u,h=t;if(h.length===0)return r;let{min:g,max:_}=MT(e,h,n.groupMin??FT([h]),n.groupMax??IT([h])),v=o,y=o,b=i-o*2,x=a-o*2;if(b<=0||x<=0)return r;let S=_===g?1:_-g,C=e.rightToLeft===!0,w=(e,t)=>{let n=t<=1?0:e/(t-1),r=C?1-n:n;return v+r*b},ee=e=>{if(!Number.isFinite(e))return y+x;let t=(e-g)/S;return y+x-t*x};if(e.type===`column`||e.type===`stacked`){let t=h.length,n=Math.max(1,b/Math.max(t,1)*.8),i=-1,a=-1,o=-1,l=-1,u=-1/0,v=1/0;for(let e=0;e<t;e++){let t=h[e];Number.isFinite(t)&&(i===-1&&(i=e),a=e,t>u&&(u=t,o=e),t<v&&(v=t,l=e))}for(let u=0;u<t;u++){let v=h[u];if(!Number.isFinite(v)||v===0)continue;let b=w(u,t)-n/2,S=v<0&&e.negative===!0?c:s;e.high&&u===o&&(S=d),e.low&&u===l&&(S=f),e.first&&u===i&&(S=p),e.last&&u===a&&(S=m);let C,te;if(e.type===`stacked`){let e=x/2;v>=0?(C=y+e-e,te=e):(C=y+e,te=e)}else{let e=g<=0&&_>=0?ee(0):y+x,t=ee(v);C=Math.min(e,t),te=Math.abs(e-t)}r.push({kind:`rect`,x:b,y:C,width:n,height:Math.max(te,1),color:S})}}else{let t=[];for(let e=0;e<h.length;e++){let n=h[e];Number.isFinite(n)&&t.push({x:w(e,h.length),y:ee(n),v:n})}if(t.length>=2&&r.push({kind:`polyline`,points:t.map(e=>({x:e.x,y:e.y})),color:s,width:e.lineWeight?e.lineWeight*.75:1}),e.markers)for(let e of t)r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.5,color:u});if(t.length>0){if(e.first){let e=t[0];r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:p})}if(e.last){let e=t[t.length-1];r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:m})}if(e.high){let e=t.reduce((e,t)=>t.v>e.v?t:e,t[0]);r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:d})}if(e.low){let e=t.reduce((e,t)=>t.v<e.v?t:e,t[0]);r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:f})}if(e.negative)for(let e of t)e.v<0&&r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:c})}}if(e.displayXAxis){let t;e.type===`stacked`?t=y+x/2:g<=0&&_>=0&&(t=ee(0)),t!==void 0&&r.push({kind:`axis`,x1:v,y1:t,x2:v+b,y2:t,color:l})}return r}function MT(e,t,n,r){let i,a,o=!1,s=!1;return e.minAxisType===`group`?i=n:e.minAxisType===`custom`&&e.manualMin!==void 0?(i=e.manualMin,o=!0):i=NT(t),e.maxAxisType===`group`?a=r:e.maxAxisType===`custom`&&e.manualMax!==void 0?(a=e.manualMax,s=!0):a=PT(t),!Number.isFinite(i)||!Number.isFinite(a)?{min:0,max:1}:i===a?o||s?{min:i,max:a}:{min:i-1,max:a+1}:{min:i,max:a}}function NT(e){let t=1/0;for(let n of e)Number.isFinite(n)&&n<t&&(t=n);return t}function PT(e){let t=-1/0;for(let n of e)Number.isFinite(n)&&n>t&&(t=n);return t}function FT(e){let t=1/0;for(let n of e){let e=NT(n);e<t&&(t=e)}return Number.isFinite(t)?t:NaN}function IT(e){let t=-1/0;for(let n of e){let e=PT(n);e>t&&(t=e)}return Number.isFinite(t)?t:NaN}function LT(e){if(e){if(e.rgb)return`#${e.rgb.length===8?e.rgb.slice(2):e.rgb}`;if(e.theme!==void 0){let t=ds[e.theme];return t?`#${t}`:`#000000`}}}var RT=n((()=>{ps()}));function zT(e,t){let n={worksheet:e};return t&&VT(n,t),n}function BT(e){switch(e.type){case`background`:return{type:e.type,imageId:e.imageId??``};case`watermark`:return{type:e.type,imageId:e.imageId??``,opacity:e.opacity};case`headerImage`:return{type:e.type,imageId:e.imageId??``,headerWidth:e.headerWidth,headerHeight:e.headerHeight,applyTo:e.applyTo,position:e.position};case`image`:{let t=e.range;if(!t)throw new Zp(`Image has no range`);return t.pos?{type:e.type,imageId:e.imageId??``,hyperlinks:t.hyperlinks,range:{tl:{nativeCol:0,nativeColOff:0,nativeRow:0,nativeRowOff:0},ext:t.ext,pos:t.pos}}:{type:e.type,imageId:e.imageId??``,hyperlinks:t.hyperlinks,range:{tl:Nv(t.tl),br:t.br?Nv(t.br):void 0,ext:t.ext,editAs:t.editAs},xfrmOffX:e.xfrmOffX,xfrmOffY:e.xfrmOffY,xfrmExtCx:e.xfrmExtCx,xfrmExtCy:e.xfrmExtCy,rawSpPr:e.rawSpPr}}default:throw new Zp(`Invalid Image Type`)}}function VT(e,{type:t,imageId:n,range:r,hyperlinks:i,opacity:a,headerWidth:o,headerHeight:s,applyTo:c,position:l,xfrmOffX:u,xfrmOffY:d,xfrmExtCx:f,xfrmExtCy:p,rawSpPr:m}){if(e.type=t,e.imageId=n,e.opacity=a,e.headerWidth=o,e.headerHeight=s,e.applyTo=c,e.position=l,e.xfrmOffX=u,e.xfrmOffY=d,e.xfrmExtCx=f,e.xfrmExtCy=p,e.rawSpPr=m,t===`image`){if(typeof r==`string`){let t=em.decode(r);`top`in t&&(e.range={tl:Mv(e.worksheet,{col:t.left,row:t.top},-1),br:Mv(e.worksheet,{col:t.right,row:t.bottom},0),editAs:`oneCell`})}else if(r&&`pos`in r&&r.pos)e.range={tl:Mv(e.worksheet,null,0),ext:r.ext,hyperlinks:i||(`hyperlinks`in r?r.hyperlinks:void 0),pos:r.pos};else if(r){let t=r.tl,n=r.br;e.range={tl:Mv(e.worksheet,t,typeof t==`string`?-1:0),br:n?Mv(e.worksheet,n,0):void 0,ext:r.ext,editAs:r.editAs,hyperlinks:i||(`hyperlinks`in r?r.hyperlinks:void 0)}}}}var HT=n((()=>{Pv(),Qp(),tm()}));function UT(e,t){let n;try{n=BT(zT(e,{type:`image`,imageId:``,range:t.range})).range}catch{n=void 0}return n?{...t,anchorRange:{tl:n.tl,br:n.br,ext:n.ext,pos:n.pos,editAs:n.editAs}}:{...t,anchorRange:void 0}}function WT(e){return e._media.filter(e=>e.type===`image`)}function GT(e){return[...e._charts]}function KT(e){return[...e._sparklineGroups]}function qT(e){return e._watermark}function JT(e){let t=Rm();return e._rows.forEach(e=>{if(e){let n=Gg(e);n&&Um(t,e.number,n.min,e.number,n.max)}}),t}function YT(e){return Object.values(e._merges).some(Boolean)}function XT(e){let t={id:e.id,name:Zg(e),dataValidations:e.dataValidations.model,properties:e.properties,state:e.state,pageSetup:e.pageSetup,headerFooter:e.headerFooter,rowBreaks:e.rowBreaks,colBreaks:e.colBreaks,views:e.views,autoFilter:e.autoFilter,autoFilterCriteria:e._autoFilterCriteria,sortStateXml:e._sortStateXml,worksheetNamespaceAttributes:e._worksheetNamespaceAttributes,worksheetMcIgnorable:e._worksheetMcIgnorable,sortStateAutoFilterRef:e._sortStateAutoFilterRef,media:e._media.map(e=>BT(e)),shapes:e._shapes.map(t=>UT(e,t)),sheetProtection:e.sheetProtection,tables:Object.values(e.tables).map(e=>a_(e)),pivotTables:e.pivotTables,conditionalFormattings:e.conditionalFormattings,formControls:e.formControls.map(e=>e.model),ignoredErrors:e.ignoredErrors,watermark:e._watermark,drawing:e._drawing,charts:e._charts.map(e=>({chartNumber:e.chartNumber,chartExNumber:e.chartExNumber,range:{tl:{nativeCol:e.range.tl.nativeCol,nativeColOff:e.range.tl.nativeColOff,nativeRow:e.range.tl.nativeRow,nativeRowOff:e.range.tl.nativeRowOff},br:e.range.br?{nativeCol:e.range.br.nativeCol,nativeColOff:e.range.br.nativeColOff,nativeRow:e.range.br.nativeRow,nativeRowOff:e.range.br.nativeRowOff}:void 0,editAs:e.range.editAs,pos:e.range.pos,ext:e.range.ext}})),sparklineGroups:e._sparklineGroups,threadedComments:e.threadedComments};t.cols=zg(e._columns);let n=t.rows=[],r=t.dimensions=Rm();return e._rows.forEach(e=>{let t=e&&Yg(e);t&&(Um(r,t.number,t.min,t.number,t.max),n.push(t))}),t.mergeCells=Object.values(e._merges).map(e=>Jm(e)),t}var ZT=n((()=>{Vg(),HT(),Qm(),Xg(),c_(),i_()}));function QT(e){return e<128?wE[e]:String.fromCodePoint(e)}function $T(e){return e===sE||e===aE||e===oE||e===iE}function eE(e){return e===lE||e===fE}function tE(e){return e<128?TE[e]===1:e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e===8204||e===8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function nE(e){return e<128?EE[e]===1:e===183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=768&&e<=879||e>=880&&e<=893||e>=895&&e<=8191||e===8204||e===8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function rE(e){return e>=sE&&e<=55295||e===aE||e===oE||e===iE||e>=57344&&e<=65533||e>=65536&&e<=1114111}var iE,aE,oE,sE,cE,lE,uE,dE,fE,pE,mE,hE,gE,_E,vE,yE,bE,xE,SE,CE,wE,TE,EE,DE,OE,kE,AE,jE,ME,NE,PE,FE,IE,LE,RE,zE,BE,VE,HE,UE,WE,GE,KE,qE,JE,YE,XE,ZE,QE,$E,eD,tD=n((()=>{C_(),iE=9,aE=10,oE=13,sE=32,cE=33,lE=34,uE=35,dE=38,fE=39,pE=45,mE=47,hE=59,gE=60,_E=61,vE=62,yE=63,bE=91,xE=93,SE=65533,CE=`�`,wE=(()=>{let e=Array(128);for(let t=0;t<128;t++)e[t]=String.fromCharCode(t);return e})(),TE=(()=>{let e=new Uint8Array(128);for(let t=97;t<=122;t++)e[t]=1;for(let t=65;t<=90;t++)e[t]=1;return e[95]=1,e[58]=1,e})(),EE=(()=>{let e=new Uint8Array(128);for(let t=97;t<=122;t++)e[t]=1;for(let t=65;t<=90;t++)e[t]=1;for(let t=48;t<=57;t++)e[t]=1;return e[95]=1,e[58]=1,e[45]=1,e[46]=1,e})(),DE={amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`},OE=0,kE=1,AE=2,jE=3,ME=4,NE=5,PE=6,FE=7,IE=8,LE=9,RE=10,zE=11,BE=12,VE=13,HE=14,UE=15,WE=16,GE=17,KE=18,qE=19,JE=20,YE=21,XE=22,ZE=23,QE=24,$E=25,eD=class{constructor(e){this._entityExpansionCount=0,this._nsStack=[],this.state=OE,this.chunk=``,this.i=0,this.prevI=0,this.text=``,this.name=``,this.q=null,this.tags=[],this.tag=null,this.attribList=[],this.entity=``,this.entityReturnState=OE,this.openWakaBang=``,this.sawRoot=!1,this.closedRoot=!1,this._bomStripped=!1,this._closed=!1,this.reportedTextBeforeRoot=!1,this.reportedTextAfterRoot=!1,this.line=1,this.column=0,this.positionAtNewLine=0,this.chunkPosition=0,this.ENTITIES={...DE},this._handlers={},this.trackPosition=e?.position!==!1,this.fileName=e?.fileName,this.fragment=e?.fragment??!1,this.xmlns=e?.xmlns??!1,this.maxDepth=e?.maxDepth===void 0?256:e.maxDepth,this.maxEntityExpansions=e?.maxEntityExpansions===void 0?1e4:e.maxEntityExpansions,this.invalidCharHandling=e?.invalidCharHandling??`error`,this._init()}get closed(){return this._closed}get position(){return this.chunkPosition+this.i}_init(){this.state=OE,this.text=``,this.name=``,this.q=null,this.tags=[],this.tag=null,this.attribList=[],this.entity=``,this.openWakaBang=``,this.sawRoot=this.fragment,this.closedRoot=this.fragment,this.reportedTextBeforeRoot=this.fragment,this.reportedTextAfterRoot=this.fragment,this.carriedFromPrevious=void 0,this._bomStripped=!1,this.line=1,this.column=0,this.positionAtNewLine=0,this.chunkPosition=0,this.chunk=``,this.i=0,this.prevI=0,this._nsStack=this.xmlns?[{xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`}]:[],this._entityExpansionCount=0}on(e,t){this._handlers[e]=t}off(e){delete this._handlers[e]}getHandler(e){return this._handlers[e]}makeError(e){return new S_(e,{line:this.trackPosition?this.line:void 0,column:this.trackPosition?this.column:void 0,fileName:this.fileName})}fail(e){let t=this.makeError(e);if(this._handlers.error)this._handlers.error(t);else throw t;return this}write(e){if(this._closed){if(e===null)return this;this._closed=!1,this._init()}let t=!1;e===null&&(t=!0,e=``),this.carriedFromPrevious!==void 0&&(e=this.carriedFromPrevious+e,this.carriedFromPrevious=void 0),this._bomStripped||(this._bomStripped=!0,e.length>0&&e.charCodeAt(0)===65279&&(e=e.slice(1)));let n=e.length;if(!t&&n>0){let t=e.charCodeAt(n-1);(t===oE||t>=55296&&t<=56319)&&(this.carriedFromPrevious=e[n-1],n--,e=e.slice(0,n))}for(this.chunk=e,this.i=0;this.i<n;)this.processState();return this.chunkPosition+=n,t?this.end():this}close(){return this.write(null)}handleInvalidChar(e,t){switch(this.invalidCharHandling){case`replace`:return SE;case`skip`:return-2;default:{let n=t?`invalid XML character: ${t} 0x${e.toString(16)}`:`invalid XML character: 0x${e.toString(16)}`;return this.fail(n),e}}}handleInvalidCharInText(e,t,n,r){switch(this.invalidCharHandling){case`skip`:return t&&n<this.prevI&&(this.text+=this.chunk.slice(n,this.prevI)),this.i;case`replace`:return t&&(n<this.prevI&&(this.text+=this.chunk.slice(n,this.prevI)),this.text+=CE),this.i;default:{let t=r?`invalid XML character: ${r} 0x${e.toString(16)}`:`invalid XML character: 0x${e.toString(16)}`;return this.fail(t),n}}}handleInvalidCharInAttr(e,t,n){switch(this.invalidCharHandling){case`skip`:return t<this.prevI&&(this.text+=this.chunk.slice(t,this.prevI)),this.i;case`replace`:return t<this.prevI&&(this.text+=this.chunk.slice(t,this.prevI)),this.text+=CE,this.i;default:{let r=n?`invalid XML character: ${n} 0x${e.toString(16)}`:`invalid XML character: 0x${e.toString(16)}`;return this.fail(r),t}}}getCode(){for(;;){let{chunk:e}=this,t=this.i;if(this.prevI=t,this.i=t+1,t>=e.length)return-1;let n=e.charCodeAt(t);if(n>=32&&n<=126||n===iE)return this.trackPosition&&this.column++,n;if(n===oE)return e.charCodeAt(t+1)===aE&&(this.i=t+2),this.trackPosition&&(this.line++,this.column=0,this.positionAtNewLine=this.position),aE;if(n===aE)return this.trackPosition&&(this.line++,this.column=0,this.positionAtNewLine=this.position),aE;if(n>=55296&&n<=56319){let r=e.charCodeAt(t+1);if(r>=56320&&r<=57343)return this.i=t+2,this.trackPosition&&this.column++,65536+((n-55296)*1024+(r-56320));let i=this.handleInvalidChar(n,`lone surrogate`);if(i!==-2)return i;continue}if(n>=56320&&n<=57343){let e=this.handleInvalidChar(n,`lone surrogate`);if(e!==-2)return e;continue}if(n>=128){if(this.trackPosition&&this.column++,n===65534||n===65535){let e=this.handleInvalidChar(n);if(e!==-2)return e;continue}return n}this.trackPosition&&this.column++;let r=this.handleInvalidChar(n);if(r!==-2)return r}}unget(){this.i=this.prevI,this.trackPosition&&this.column--}processState(){switch(this.state){case OE:this.sText();break;case kE:this.sOpenWaka();break;case AE:this.sOpenWakaBang();break;case jE:this.sOpenTag();break;case ME:this.sOpenTagSlash();break;case NE:this.sAttrib();break;case PE:this.sAttribName();break;case FE:this.sAttribNameSawWhite();break;case IE:this.sAttribValue();break;case LE:this.sAttribValueQuoted();break;case RE:this.sAttribValueClosed();break;case zE:this.sCloseTag();break;case BE:this.sCloseTagSawWhite();break;case VE:this.sComment();break;case HE:this.sCommentEnding();break;case UE:this.sCommentEnded();break;case WE:this.sCData();break;case GE:this.sCDataEnding();break;case KE:this.sCDataEnding2();break;case qE:this.sPI();break;case JE:this.sPIEnding();break;case YE:this.sDoctype();break;case XE:this.sDoctypeQuote();break;case ZE:this.sDoctypeDTD();break;case QE:this.sDoctypeDTDQuoted();break;case $E:this.sEntity()}}sText(){this.tags.length===0?this.handleTextOutsideRoot():this.handleTextInRoot()}handleTextInRoot(){let{chunk:e}=this,{i:t}=this,n=this._handlers.text,r=e.length;for(;this.i<r;){let r=e.charCodeAt(this.i);if(r>=32&&r<=126&&r!==gE&&r!==dE){this.i++,this.trackPosition&&this.column++;continue}if(r===iE){this.i++,this.trackPosition&&this.column++;continue}if(r===gE){if(this.prevI=this.i,this.i++,this.trackPosition&&this.column++,n){let r=e.slice(t,this.prevI);this.text.length>0?(n(this.text+r),this.text=``):r.length>0&&n(r)}this.state=kE;return}if(r===dE){this.prevI=this.i,this.i++,this.trackPosition&&this.column++,n&&(this.text+=e.slice(t,this.prevI)),this.state=$E,this.entityReturnState=OE,this.entity=``;return}if(r===aE){this.prevI=this.i,this.i++,this.trackPosition&&(this.line++,this.column=0,this.positionAtNewLine=this.position),n&&(this.text+=e.slice(t,this.prevI)+`
|
|
62
|
-
`),t=this.i;continue}if(r===
|
|
63
|
-
`),t=this.i;continue}if(r>=128){if(this.prevI=this.i,r>=55296&&r<=56319){let i=e.charCodeAt(this.i+1);i>=56320&&i<=57343?this.i+=2:(this.i++,t=this.handleInvalidCharInText(r,n,t,`lone surrogate`))}else r>=56320&&r<=57343?(this.i++,t=this.handleInvalidCharInText(r,n,t,`lone surrogate`)):r===65534||r===65535?(this.i++,t=this.handleInvalidCharInText(r,n,t)):this.i++;this.trackPosition&&this.column++;continue}this.prevI=this.i,this.i++,this.trackPosition&&this.column++,t=this.handleInvalidCharInText(r,n,t)}n&&t<this.i&&(this.text+=e.slice(t,this.i))}handleTextOutsideRoot(){let{chunk:e}=this,{i:t}=this,n=this._handlers.text,r=!1,i=this.invalidCharHandling===`skip`,a=this.invalidCharHandling===`replace`;for(;;){let o=this.i,s=this.getCode();if(s===-1){n&&t<o&&(this.text+=e.slice(t,o));break}if(i&&this.prevI>o&&(n&&t<o&&(this.text+=e.slice(t,o)),t=this.prevI),a&&s===
|
|
64
|
-
`),t=this.i):$T(s)||(r=!0)}r&&(!this.sawRoot&&!this.reportedTextBeforeRoot&&(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0))}sOpenWaka(){let e=this.getCode();if(e!==-1){if(tE(e)){this.closedRoot&&!this.fragment&&this.fail(`documents may contain only one root element`),this.state=jE,this.name=QT(e);return}switch(e){case mE:this.state=zE,this.name=``;break;case cE:this.state=AE,this.openWakaBang=``;break;case yE:this.state=qE,this.text=``;break;default:this.fail(`unexpected character in tag`),this.state=OE}}}sOpenWakaBang(){let e=this.getCode();if(e!==-1)switch(this.openWakaBang+=QT(e),this.openWakaBang){case`[CDATA[`:this.state=WE,this.text=``,this.openWakaBang=``;break;case`--`:this.state=VE,this.text=``,this.openWakaBang=``;break;case`DOCTYPE`:this.state=YE,this.text=``,this.openWakaBang=``;break;default:this.openWakaBang.length>=7&&(this.fail(`incorrect syntax`),this.state=OE)}}sOpenTag(){let{chunk:e}=this,t=this.i,n=this.i;for(;n<e.length;){let t=e.charCodeAt(n);if(t<128?EE[t]===1:nE(t))n++;else break}if(n>=e.length){this.name+=e.slice(t,n),this.i=n,this.trackPosition&&(this.column+=n-t);return}this.name+=e.slice(t,n),this.i=n,this.trackPosition&&(this.column+=n-t);let r=this.getCode();r!==-1&&(this.tag={name:this.name,attributes:Object.create(null),isSelfClosing:!1},this.attribList=[],this.sawRoot=!0,r===vE?this.openTag():r===mE?this.state=ME:($T(r)||this.fail(`unexpected character in tag`),this.state=NE))}sOpenTagSlash(){let e=this.getCode();e!==-1&&(e===vE?this.openSelfClosingTag():(this.fail(`expected >`),this.state=NE))}sAttrib(){let e=this.skipSpaces();e!==-1&&(tE(e)?(this.name=QT(e),this.state=PE):e===vE?this.openTag():e===mE?this.state=ME:this.fail(`unexpected character in attribute`))}sAttribName(){let{chunk:e}=this,t=this.i,n=this.i;for(;n<e.length;){let t=e.charCodeAt(n);if(t<128?EE[t]===1:nE(t))n++;else break}if(n>=e.length){this.name+=e.slice(t,n),this.i=n,this.trackPosition&&(this.column+=n-t);return}this.name+=e.slice(t,n),this.i=n,this.trackPosition&&(this.column+=n-t);let r=this.getCode();r!==-1&&(r===_E?this.state=IE:$T(r)?this.state=FE:r===vE?(this.fail(`attribute without value`),this.attribList.push({name:this.name,value:this.name}),this.name=``,this.openTag()):this.fail(`unexpected character in attribute name`))}sAttribNameSawWhite(){let e=this.skipSpaces();e!==-1&&(e===_E?this.state=IE:(this.fail(`attribute without value`),this.name=``,this.text=``,e===vE?this.openTag():tE(e)?(this.name=QT(e),this.state=PE):(this.fail(`unexpected character`),this.state=NE)))}sAttribValue(){let e=this.skipSpaces();e!==-1&&(eE(e)?(this.q=e,this.text=``,this.state=LE):(this.fail(`unquoted attribute value`),this.state=OE))}sAttribValueQuoted(){let{q:e,chunk:t}=this,{i:n}=this,r=t.length;for(;this.i<r;){let r=t.charCodeAt(this.i);if(r>=32&&r<=126&&r!==e&&r!==dE&&r!==gE){this.i++,this.trackPosition&&this.column++;continue}if(r===e){this.prevI=this.i,this.i++,this.trackPosition&&this.column++,this.attribList.push({name:this.name,value:this.text+t.slice(n,this.prevI)}),this.name=``,this.text=``,this.q=null,this.state=RE;return}if(r===dE){this.prevI=this.i,this.i++,this.trackPosition&&this.column++,this.text+=t.slice(n,this.prevI),this.state=$E,this.entityReturnState=LE,this.entity=``;return}if(r===gE){this.prevI=this.i,this.i++,this.trackPosition&&this.column++,this.text+=t.slice(n,this.prevI),this.fail(`< not allowed in attribute value`),this.attribList.push({name:this.name,value:this.text}),this.name=``,this.text=``,this.q=null,this.unget(),this.state=OE;return}if(r===iE||r===aE){this.prevI=this.i,this.i++,r===aE&&this.trackPosition?(this.line++,this.column=0,this.positionAtNewLine=this.position):this.trackPosition&&this.column++,this.text+=t.slice(n,this.prevI)+` `,n=this.i;continue}if(r===oE){this.prevI=this.i,this.i++,t.charCodeAt(this.i)===aE&&this.i++,this.trackPosition&&(this.line++,this.column=0,this.positionAtNewLine=this.position),this.text+=t.slice(n,this.prevI)+` `,n=this.i;continue}if(r>=128){if(this.prevI=this.i,r>=55296&&r<=56319){let e=t.charCodeAt(this.i+1);e>=56320&&e<=57343?this.i+=2:(this.i++,n=this.handleInvalidCharInAttr(r,n,`lone surrogate`))}else r>=56320&&r<=57343?(this.i++,n=this.handleInvalidCharInAttr(r,n,`lone surrogate`)):r===65534||r===65535?(this.i++,n=this.handleInvalidCharInAttr(r,n)):this.i++;this.trackPosition&&this.column++;continue}this.prevI=this.i,this.i++,this.trackPosition&&this.column++,n=this.handleInvalidCharInAttr(r,n)}this.text+=t.slice(n,this.i)}sAttribValueClosed(){let e=this.getCode();e!==-1&&($T(e)?this.state=NE:e===vE?this.openTag():e===mE?this.state=ME:tE(e)?(this.fail(`no whitespace between attributes`),this.name=QT(e),this.state=PE):this.fail(`unexpected character after attribute`))}sCloseTag(){let{chunk:e}=this,t=this.i;if(this.name===``){if(t>=e.length){let e=this.getCode();if(e===-1)return;tE(e)?this.name=QT(e):this.fail(`unexpected character in close tag`);return}let n=e.charCodeAt(t);if(n<128?TE[n]!==1:!tE(n)){this.i=t,this.getCode()!==-1&&this.fail(`unexpected character in close tag`);return}this.name=e[t],t++,this.trackPosition&&this.column++}let n=t;for(;t<e.length;){let n=e.charCodeAt(t);if(n<128?EE[n]===1:nE(n))t++;else break}if(t>n&&(this.name+=e.slice(n,t)),this.trackPosition&&(this.column+=t-n),t>=e.length){this.i=t;return}this.i=t;let r=this.getCode();r!==-1&&(r===vE?this.closeTag():$T(r)?this.state=BE:this.fail(`unexpected character in close tag`))}sCloseTagSawWhite(){let e=this.skipSpaces();e!==-1&&(e===vE?this.closeTag():this.fail(`unexpected character in close tag`))}sComment(){let e=this.getCode();e!==-1&&(e===pE?this.state=HE:this.text+=QT(e))}sCommentEnding(){let e=this.getCode();e!==-1&&(e===pE?this.state=UE:(this.text+=`-`+QT(e),this.state=VE))}sCommentEnded(){let e=this.getCode();e!==-1&&(e===vE?(this._handlers.comment?.(this.text),this.text=``,this.state=OE):e===pE?this.text+=`-`:(this.fail(`malformed comment`),this.text+=`--`+QT(e),this.state=VE))}sCData(){let e=this.getCode();e!==-1&&(e===xE?this.state=GE:this.text+=QT(e))}sCDataEnding(){let e=this.getCode();e!==-1&&(e===xE?this.state=KE:(this.text+=`]`+QT(e),this.state=WE))}sCDataEnding2(){let e=this.getCode();e!==-1&&(e===vE?(this._handlers.cdata?this._handlers.cdata(this.text):this._handlers.text&&this.text.length>0&&this._handlers.text(this.text),this.text=``,this.state=OE):e===xE?this.text+=`]`:(this.text+=`]]`+QT(e),this.state=WE))}sPI(){let e=this.getCode();e!==-1&&(e===yE?this.state=JE:this.text+=QT(e))}sPIEnding(){let e=this.getCode();if(e!==-1){if(e===vE){let e=this.text,t=e.indexOf(` `);t>=0?this._handlers.pi?.(e.slice(0,t),e.slice(t+1)):this._handlers.pi?.(e,``),this.text=``,this.state=OE}else e===yE?this.text+=`?`:(this.text+=`?`+QT(e),this.state=qE)}}sDoctype(){let e=this.getCode();e!==-1&&(e===vE?(this.text=``,this.state=OE):eE(e)?(this.q=e,this.state=XE):e===bE?this.state=ZE:this.text+=QT(e))}sDoctypeQuote(){let e=this.getCode();e!==-1&&(e===this.q?(this.q=null,this.state=YE):this.text+=QT(e))}sDoctypeDTD(){let e=this.getCode();e!==-1&&(e===xE?this.state=YE:eE(e)&&(this.q=e,this.state=QE))}sDoctypeDTDQuoted(){let e=this.getCode();e!==-1&&e===this.q&&(this.q=null,this.state=ZE)}sEntity(){let e=this.getCode();if(e!==-1){if(e===hE){let e=this.entity,t;e===``?(this.fail(`empty entity`),t=`&;`):t=this.parseEntity(e),this.text+=t,this.state=this.entityReturnState,this.entity=``}else nE(e)||e===uE?(this.entity+=QT(e),this.entity.length>64&&(this.fail(`entity name too long`),this.text+=`&`+this.entity,this.state=this.entityReturnState,this.entity=``)):(this.fail(`invalid entity character`),this.text+=`&`+this.entity+QT(e),this.state=this.entityReturnState,this.entity=``)}}parseEntity(e){if(e[0]!==`#`){let t=this.ENTITIES[e];return t===void 0?(this.fail(`undefined entity: `+e),`&`+e+`;`):this.maxEntityExpansions>0&&e!==`lt`&&e!==`gt`&&e!==`amp`&&e!==`quot`&&e!==`apos`&&(this._entityExpansionCount++,this._entityExpansionCount>this.maxEntityExpansions)?(this.fail(`entity expansion limit (${this.maxEntityExpansions}) exceeded — possible XML bomb`),``):t}let t;return t=e[1]===`x`||e[1]===`X`?parseInt(e.slice(2),16):parseInt(e.slice(1),10),isNaN(t)||t<1||t>=55296&&t<=57343||t>1114111?(this.fail(`invalid character entity: &#`+e.slice(1)+`;`),``):rE(t)?String.fromCodePoint(t):(this.fail(`invalid character entity`),``)}skipSpaces(){for(;;){let e=this.getCode();if(e===-1||!$T(e))return e}}splitQName(e){let t=e.indexOf(`:`);return t<0?[``,e]:[e.slice(0,t),e.slice(t+1)]}resolveNs(e){for(let t=this._nsStack.length-1;t>=0;t--){let n=this._nsStack[t][e];if(n!==void 0)return n}return``}applyNamespaces(e){let t=`http://www.w3.org/XML/1998/namespace`,n=`http://www.w3.org/2000/xmlns/`,r={},i=e.attributes;for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){if(e===`xmlns`)r[``]=i[e];else if(e.startsWith(`xmlns:`)){let a=e.slice(6),o=i[e];a===`xmlns`?this.fail(`the "xmlns" prefix must not be declared`):a===`xml`&&o!==t?this.fail(`the "xml" prefix must be bound to "${t}"`):o===t&&a!==`xml`?this.fail(`namespace "${t}" must only be bound to the "xml" prefix`):o===n&&this.fail(`namespace "${n}" must not be bound to any prefix`),r[a]=o}}this._nsStack.push(r),Object.keys(r).length>0&&(e.ns=r);let[a,o]=this.splitQName(e.name);o.includes(`:`)&&this.fail(`invalid QName "${e.name}": local part must not contain ":"`),e.prefix=a,e.local=o,e.uri=this.resolveNs(a),a!==``&&e.uri===``&&this.fail(`unbound namespace prefix: "${a}"`);let s=new Set;for(let e in i){if(!Object.prototype.hasOwnProperty.call(i,e)||e===`xmlns`||e.startsWith(`xmlns:`))continue;let[t,n]=this.splitQName(e);if(n.includes(`:`)&&this.fail(`invalid attribute QName "${e}": local part must not contain ":"`),t!==``){let e=this.resolveNs(t);e===``&&this.fail(`unbound namespace prefix on attribute: "${t}"`);let r=e+`\0`+n;s.has(r)&&this.fail(`duplicate attribute by expanded name: {${e}}${n}`),s.add(r)}}}openTag(){let e=this.tag;e.isSelfClosing=!1;for(let{name:t,value:n}of this.attribList)t in e.attributes&&this.fail(`duplicate attribute: ${t}`),e.attributes[t]=n;this.attribList=[],this.xmlns&&this.applyNamespaces(e),this.maxDepth>0&&this.tags.length>=this.maxDepth&&this.fail(`maximum element nesting depth (${this.maxDepth}) exceeded`),this._handlers.opentag?.(e),this.tags.push(e),this.name=``,this.state=OE}openSelfClosingTag(){let e=this.tag;e.isSelfClosing=!0;for(let{name:t,value:n}of this.attribList)t in e.attributes&&this.fail(`duplicate attribute: ${t}`),e.attributes[t]=n;this.attribList=[],this.xmlns&&this.applyNamespaces(e),this.maxDepth>0&&this.tags.length>=this.maxDepth&&this.fail(`maximum element nesting depth (${this.maxDepth}) exceeded`),this._handlers.opentag?.(e),this._handlers.closetag?.(e),this.xmlns&&this._nsStack.pop(),this.tags.length===0&&(this.closedRoot=!0),this.name=``,this.state=OE}closeTag(){let{tags:e,name:t}=this;if(this.state=OE,this.name=``,t===``){this.fail(`empty close tag`),this.text+=`</>`;return}let n=!1;for(let r=e.length-1;r>=0;r--)if(e[r].name===t){for(;e.length>r;){let t=e.pop();this._handlers.closetag?.(t),this.xmlns&&this._nsStack.pop(),e.length>r&&this.fail(`unclosed tag: `+t.name)}n=!0;break}n||(this.fail(`unmatched close tag: `+t),this.text+=`</`+t+`>`),e.length===0&&(this.closedRoot=!0)}end(){for(this.sawRoot||this.fail(`document must contain a root element`);this.tags.length>0;){let e=this.tags.pop();this.fail(`unclosed tag: `+e.name)}return this.text.length>0&&this._handlers.text&&(this._handlers.text(this.text),this.text=``),this._closed=!0,this._init(),this}}}));function nD(e){return e._chartsheets.map(t=>ST(t,e))}var rD=n((()=>{AT(),m_()})),iD=r({chartToPdf:()=>oD,excelToPdf:()=>aD});async function aD(e,t){return t?.recalculate?.(e),Kl(await sD(e),t)}async function oD(e,t={}){let n=t.width??520,r=t.height??360,i=t.margin??36,a=t.pageWidth??Math.max(n+i*2,400),o=t.pageHeight??Math.max(r+i*2,300),s=new wc;(t.title||t.author)&&s.setMetadata({title:t.title,author:t.author});let c=s.addPage({width:a,height:o}),l=Iv(e)!==void 0,u=Iv(e),d=l&&u!==void 0&&qC(u);if(!(t.forceRaster===!0||l&&!d)){if(l&&u!==void 0)return JC(c,u,{x:i,y:o-i-r,width:n,height:r},{title:t.title,regionMap:t.regionMap}),s.build();let a=Fv(e);if(!a)throw Error(`chartToPdf: Chart has neither a classic model nor a ChartEx model to render`);return Nb(c,a,{x:i,y:o-i-r,width:n,height:r}),s.build()}let f=t.rasterScale??2,p=l?await KC(Iv(e),{width:n,height:r,scale:f}):await lb(Fv(e),{width:n,height:r,scale:f});return c.drawImage({data:p,format:`png`,x:i,y:o-i-r,width:n,height:r}),s.build()}async function sD(e){let t=await Promise.all(p_(e).map(t=>cD(t,e))),n=await Promise.all(nD(e).map(t=>zD(t,e))),r=[...t,...n];return r.sort((e,t)=>(e.orderNo??1/0)-(t.orderNo??1/0)),{title:e.title||void 0,creator:e.creator||void 0,subject:e.subject||void 0,sourceFilePath:e.sourceFilePath?mD(e.sourceFilePath):void 0,sourceFileName:e.sourceFilePath?pD(e.sourceFilePath):void 0,locale:e.language,sheets:r}}async function cD(e,t){let n=JT(e),r=n&&n.top>0&&n.left>0,i=r?{top:n.top,left:n.left,bottom:n.bottom,right:n.right}:{top:0,left:0,bottom:0,right:0},a=r;for(let t=1;t<=e._rows.length;t++){let n=e._rows[t-1];if(n)for(let r=1;r<=n.cells.length;r++){let o=n.cells[r-1];if(_D(o?o.style:gD(e,n,r))){if(!a){i.top=i.bottom=t,i.left=i.right=r,a=!0;continue}t<i.top?i.top=t:t>i.bottom&&(i.bottom=t),r<i.left?i.left=r:r>i.right&&(i.right=r)}}}let o=new Map;if(a)for(let t=i.left;t<=i.right;t++){let n=e._columns[t-1];o.set(t,{hidden:n?.hidden||void 0,width:n?.width??void 0})}let s=new Map;if(a)for(let t=i.top;t<=i.bottom;t++){let n=$g(e,t);if(!n)continue;let r=new Map;for(let t=1;t<=n.cells.length;t++){let i=n.cells[t-1];if(i)(og(i)!==rh.Null&&og(i)!==rh.Merge||_D(i.style))&&r.set(t,hD(i));else{let i=gD(e,n,t);_D(i)&&r.set(t,vD(t,i))}}s.set(t,{hidden:n.hidden||void 0,height:n.height??void 0,customHeight:n.customHeight||void 0,cells:r})}let c=YT(e)?XT(e).mergeCells:void 0,l=c?[...c]:void 0,u=e.pageSetup,d=u?{orientation:u.orientation,paperSize:u.paperSize,margins:u.margins?{left:u.margins.left,right:u.margins.right,top:u.margins.top,bottom:u.margins.bottom,header:u.margins.header,footer:u.margins.footer}:void 0,scale:u.scale,printTitlesRow:u.printTitlesRow,showGridLines:u.showGridLines,printArea:u.printArea,firstPageNumber:u.useFirstPageNumber===!1?void 0:u.firstPageNumber}:void 0,f=e.rowBreaks?.map(e=>e.id),p=e.colBreaks?.map(e=>e.id),m=AD(e,t),h=await jD(e),g=MD(e),_=h?g?[...h,...g]:h:g||void 0,v=[];if(m)for(let e of m)v.push(e.range);if(_)for(let e of _)v.push(e.range);if(v.length>0){for(let e of v){let t=e.tl,n=(t.nativeCol??t.col??0)+1,r=(t.nativeRow??t.row??0)+1;if(i.top===0&&i.left===0&&(i.top=1,i.left=1),n>i.right&&(i.right=n),r>i.bottom&&(i.bottom=r),e.br){let t=e.br,n=(t.nativeCol??t.col??0)+1,r=(t.nativeRow??t.row??0)+1;n>i.right&&(i.right=n),r>i.bottom&&(i.bottom=r)}}for(let t=i.left;t<=i.right;t++)if(!o.has(t)){let n=e._columns[t-1];o.set(t,{hidden:n?.hidden||void 0,width:n?.width??void 0})}for(let e=i.top;e<=i.bottom;e++)s.has(e)||s.set(e,{cells:new Map})}return{kind:`worksheet`,name:Zg(e),state:e.state??`visible`,orderNo:e.orderNo,bounds:i,columns:o,rows:s,merges:l,pageSetup:d,headerFooter:lD(e,t),rowBreaks:f,colBreaks:p,images:m,charts:_}}function lD(e,t){let n=e.headerFooter,r=[n.oddHeader,n.oddFooter,n.evenHeader,n.evenFooter,n.firstHeader,n.firstFooter],i=dD(e,t);if(!(!r.some(Boolean)&&i.length===0))return{differentFirst:n.differentFirst,differentOddEven:n.differentOddEven,scaleWithDoc:n.scaleWithDoc??!0,alignWithMargins:n.alignWithMargins??!0,oddHeader:fD(n.oddHeader),oddFooter:fD(n.oddFooter),evenHeader:fD(n.evenHeader),evenFooter:fD(n.evenFooter),firstHeader:fD(n.firstHeader),firstFooter:fD(n.firstFooter),images:i}}function uD(e,t=[]){if(!(!e&&t.length===0)&&(e??={},!(![e.oddHeader,e.oddFooter,e.evenHeader,e.evenFooter,e.firstHeader,e.firstFooter].some(Boolean)&&t.length===0)))return{differentFirst:e.differentFirst??!1,differentOddEven:e.differentOddEven??!1,scaleWithDoc:e.scaleWithDoc??!0,alignWithMargins:e.alignWithMargins??!0,oddHeader:fD(e.oddHeader??null),oddFooter:fD(e.oddFooter??null),evenHeader:fD(e.evenHeader??null),evenFooter:fD(e.evenFooter??null),firstHeader:fD(e.firstHeader??null),firstFooter:fD(e.firstFooter??null),images:t}}function dD(e,t){let n=XT(e).media.filter(e=>e.type===`headerImage`),r=qT(e);return n.length===0&&r?.mode===`header`&&n.push({type:`headerImage`,imageId:String(r.imageId),headerWidth:r.headerWidth,headerHeight:r.headerHeight,position:`CH`}),n.flatMap(e=>{let n=l_(t,e.imageId),r=n?.extension===`jpg`?`jpeg`:n?.extension,i=n?.buffer instanceof Uint8Array?n.buffer:n?.base64?cl(n.base64):void 0;return!i?.length||r!==`png`&&r!==`jpeg`?[]:[{data:i,format:r,width:e.headerWidth??467.25,height:e.headerHeight??311.25,position:e.position??`CH`}]})}function fD(e){if(!e)return;let t={left:[],center:[],right:[]},n=`center`,r={fontFamily:``,fontSize:11,bold:!1,italic:!1,underline:!1,doubleUnderline:!1,strike:!1,superscript:!1,subscript:!1,outline:!1,shadow:!1},i=``,a=()=>{i&&=(t[n].push({text:i,...r}),``)},o=(e,i)=>{a(),t[n].push({field:e,offset:i,...r})};for(let t=0;t<e.length;t++){if(e[t]!==`&`){i+=e[t];continue}let s=e[++t];if(s===void 0){i+=`&`;break}if(s===`&`){i+=`&`;continue}if(s===`[`){let n=e.indexOf(`]`,t+1);if(n!==-1){let r=e.slice(t+1,n).toLowerCase(),i={page:`pageNumber`,pages:`pageCount`,tab:`sheetName`,file:`fileName`,path:`filePath`,date:`date`,time:`time`,picture:`image`};if(i[r]){o(i[r]),t=n;continue}}}if(s===`L`||s===`C`||s===`R`){a(),n=s===`L`?`left`:s===`R`?`right`:`center`;continue}if(s===`"`){let n=e.indexOf(`"`,t+1);if(n===-1){i+=`&"`;continue}a();let o=e.slice(t+1,n),s=o.lastIndexOf(`,`),c=s>=0?o.slice(0,s):o,l=s>=0?o.slice(s+1):``;r={...r,fontFamily:c===`-`?``:c||r.fontFamily,bold:/bold/i.test(l),italic:/italic/i.test(l)},t=n;continue}if(/\d/.test(s)){let n=t+1;for(;n<e.length&&/\d/.test(e[n]);)n++;a(),r={...r,fontSize:Number(e.slice(t,n))},t=n-1;continue}if(s===`K`){let n=e.slice(t+1,t+7);/^[0-9A-Fa-f]{6}$/.test(n)&&(a(),r={...r,color:cs(n)??void 0},t+=6);continue}if(s===`P`){let n=/^[+-]\d+/.exec(e.slice(t+1));o(`pageNumber`,n?Number(n[0]):void 0),n&&(t+=n[0].length);continue}let c={N:`pageCount`,A:`sheetName`,F:`fileName`,Z:`filePath`,D:`date`,T:`time`,G:`image`};if(c[s]){o(c[s]);continue}let l=e=>{a(),r={...r,[e]:!r[e]}};s===`B`?l(`bold`):s===`I`?l(`italic`):s===`U`?l(`underline`):s===`E`?l(`doubleUnderline`):s===`S`?l(`strike`):s===`X`?l(`superscript`):s===`Y`?l(`subscript`):s===`O`?l(`outline`):s===`H`?l(`shadow`):i+=`&${s}`}return a(),t.left.length||t.center.length||t.right.length?t:void 0}function pD(e){let t=e.replace(/\\/g,`/`);return t.slice(t.lastIndexOf(`/`)+1)}function mD(e){let t=Math.max(e.lastIndexOf(`/`),e.lastIndexOf(`\\`));return t>=0?e.slice(0,t+1):``}function hD(e){let t=yD(og(e)),n=bD(e),r=CD(e.style);return{type:t,value:SD(e),text:n,style:r,hyperlink:fg(e)||void 0,result:hg(e)??void 0,col:ag(e)}}function gD(e,t,n){return ig(t.style,e._columns[n-1]?.style??{},{})}function _D(e){return!!(e.border&&(e.border.top||e.border.right||e.border.bottom||e.border.left)||e.fill||e.font)}function vD(e,t){return{type:Kc.Empty,value:null,text:``,style:CD(t),col:e}}function yD(e){switch(e){case rh.Null:return Kc.Empty;case rh.Merge:return Kc.Merge;case rh.Number:return Kc.Number;case rh.String:case rh.SharedString:return Kc.String;case rh.Date:return Kc.Date;case rh.Hyperlink:return Kc.Hyperlink;case rh.Formula:return Kc.Formula;case rh.RichText:return Kc.RichText;case rh.Boolean:return Kc.Boolean;case rh.Error:return Kc.Error;default:return Kc.String}}function bD(e){if(!e)return``;switch(og(e)){case rh.Null:case rh.Merge:return``;case rh.RichText:case rh.Hyperlink:return pg(e)??``;case rh.Error:return cg(e)?.error??pg(e)??``;case rh.Formula:{let t=hg(e);return t==null?pg(e)??``:typeof t==`object`&&`error`in t?t.error:xD(t,e.style?.numFmt)}default:{let t=cg(e);return t==null?``:xD(t,e.style?.numFmt)}}}function xD(e,t){let n=typeof t==`string`?t:t?.formatCode;if(n&&(typeof e==`number`||e instanceof Date||typeof e==`boolean`))try{return Hh(e,n)}catch{}return e instanceof Date?e.toLocaleDateString():String(e)}function SD(e){if(og(e)===rh.RichText){let t=cg(e);if(t?.richText)return{richText:t.richText.map(e=>({text:e.text,font:e.font?wD(e.font):void 0}))}}return cg(e)}function CD(e){if(e)return{font:e.font?wD(e.font):void 0,numFmt:e.numFmt,fill:e.fill?ED(e.fill):void 0,border:e.border?OD(e.border):void 0,alignment:e.alignment?kD(e.alignment):void 0}}function wD(e){return{name:e.name,size:e.size,bold:e.bold,italic:e.italic,strike:e.strike,underline:e.underline,color:e.color?TD(e.color):void 0}}function TD(e){return{argb:e.argb,theme:e.theme,tint:e.tint,indexed:e.indexed}}function ED(e){return e.type===`gradient`?{type:`gradient`,stops:e.stops.map(e=>({position:e.position,color:TD(e.color)}))}:{type:`pattern`,pattern:e.pattern,fgColor:e.fgColor?TD(e.fgColor):void 0}}function DD(e){return{style:e.style,color:e.color?TD(e.color):void 0}}function OD(e){return{top:e.top?DD(e.top):void 0,right:e.right?DD(e.right):void 0,bottom:e.bottom?DD(e.bottom):void 0,left:e.left?DD(e.left):void 0}}function kD(e){return{horizontal:e.horizontal,vertical:e.vertical,wrapText:e.wrapText,indent:e.indent,textRotation:e.textRotation===`vertical`?255:e.textRotation}}function AD(e,t){let n=WT(e);if(!n||!Array.isArray(n)||n.length===0)return;let r=[];for(let e of n){if(!e.range?.tl)continue;let n=e.imageId,i=l_(t,Number(n));if(!i)continue;let a;if(i.buffer instanceof Uint8Array?a=i.buffer:i.base64&&(a=cl(i.base64)),!a||a.length===0)continue;let o=i.extension;(o===`jpeg`||o===`png`)&&r.push({data:a,format:o,range:{tl:{col:Ov(e.range.tl),row:Av(e.range.tl),nativeCol:e.range.tl.nativeCol,nativeRow:e.range.tl.nativeRow,nativeColOff:e.range.tl.nativeColOff,nativeRowOff:e.range.tl.nativeRowOff},br:e.range.br?{col:Ov(e.range.br),row:Av(e.range.br),nativeCol:e.range.br.nativeCol,nativeRow:e.range.br.nativeRow,nativeColOff:e.range.br.nativeColOff,nativeRowOff:e.range.br.nativeRowOff}:void 0,ext:e.range.ext?{width:e.range.ext.width??0,height:e.range.ext.height??0}:void 0,extUnit:e.range.ext?`px`:void 0}})}return r.length>0?r:void 0}async function jD(e){let t=GT(e);if(t.length===0)return;let n=[];for(let r of t){let t=ID(r);if(!t)continue;let i=Fv(r),a=Iv(r);if(i){n.push({range:t,drawVector:(e,t)=>{Nb(e,i,{x:t.x,y:t.y,width:t.width,height:t.height})}});continue}if(a){if(LD(a,e),qC(a))n.push({range:t,drawVector:(e,t)=>{JC(e,a,{x:t.x,y:t.y,width:t.width,height:t.height})}});else{let{widthPx:e,heightPx:r}=RD(t),i=await KC(a,{width:e,height:r,scale:2});n.push({range:t,raster:{data:i,format:`png`}})}continue}}return n.length>0?n:void 0}function MD(e){let t=KT(e);if(!t||t.length===0)return;let n=[];for(let r of t)for(let t of r.sparklines){let{dataRef:i,cellRef:a}=t;if(!a)continue;let o=a.match(/^([A-Z]+)(\d+)$/i);if(!o)continue;let s=ND(o[1]),c=parseInt(o[2],10),l=PD(e,i);if(l.length===0)continue;let u={tl:{col:s-1,row:c-1,nativeCol:s-1,nativeRow:c-1},br:{col:s,row:c,nativeCol:s,nativeRow:c}};n.push({range:u,drawVector:(e,t)=>{FD(e,r,l,t)}})}return n.length>0?n:void 0}function ND(e){let t=0;for(let n=0;n<e.length;n++)t=t*26+(e.charCodeAt(n)&31);return t}function PD(e,t){if(!t)return[];let n=t.lastIndexOf(`!`),r=n>=0?t.slice(n+1):t,i=e;if(n>=0){let r=t.slice(0,n);r.startsWith(`'`)&&r.endsWith(`'`)&&(r=r.slice(1,-1).replace(/''/g,`'`));let a=f_(Qg(e),r);a&&(i=a)}let a=r.replace(/\$/g,``).split(`:`);if(a.length!==2)return[];let o=a[0].match(/^([A-Z]+)(\d+)$/i),s=a[1].match(/^([A-Z]+)(\d+)$/i);if(!o||!s)return[];let c=ND(o[1]),l=parseInt(o[2],10),u=ND(s[1]),d=parseInt(s[2],10),f=(e,t)=>{let n=n_(i,e,t);if(!n)return NaN;let r=cg(n),a=typeof r==`number`?r:hg(n)??NaN;return typeof a==`number`?a:NaN},p=[];if(l===d)for(let e=c;e<=u;e++)p.push(f(l,e));else for(let e=l;e<=d;e++)p.push(f(e,c));return p}function FD(e,t,n,r){let{x:i,y:a,width:o,height:s}=r;if(o<=0||s<=0||n.length===0)return;let c=jT(t,n,{width:o,height:s,padding:2}),l=e=>i+e,u=e=>a+(s-e),d=e=>{let t=cs(e);return t?{r:t.r,g:t.g,b:t.b}:void 0};for(let t of c)switch(t.kind){case`rect`:e.drawRect({x:l(t.x),y:u(t.y+t.height),width:t.width,height:t.height,fill:d(t.color)});break;case`polyline`:for(let n=1;n<t.points.length;n++)e.drawLine({x1:l(t.points[n-1].x),y1:u(t.points[n-1].y),x2:l(t.points[n].x),y2:u(t.points[n].y),color:d(t.color),lineWidth:t.width});break;case`circle`:e.drawCircle?.({cx:l(t.cx),cy:u(t.cy),r:t.r,fill:d(t.color)});break;case`axis`:e.drawLine({x1:l(t.x1),y1:u(t.y1),x2:l(t.x2),y2:u(t.y2),color:d(t.color),lineWidth:.5})}}function ID(e){let t=e.range;if(!t?.tl)return;let n=t.tl,r=t.br;return{tl:{col:Ov(n),row:Av(n),nativeCol:n.nativeCol,nativeRow:n.nativeRow,nativeColOff:n.nativeColOff,nativeRowOff:n.nativeRowOff},br:r?{col:Ov(r),row:Av(r),nativeCol:r.nativeCol,nativeRow:r.nativeRow,nativeColOff:r.nativeColOff,nativeRowOff:r.nativeRowOff}:void 0,ext:t.ext?{width:t.ext.cx,height:t.ext.cy}:void 0,extUnit:t.ext?`emu`:void 0}}function LD(e,t){let n=e.chartSpace?.chartData?.data;if(n&&n.some(e=>{let t=e.strDim&&(!e.strDim.levels||e.strDim.levels.length===0),n=e.numDim&&(!e.numDim.levels||e.numDim.levels.length===0);return t||n}))try{__(e,Qg(t),t)}catch{}}function RD(e){if(e.ext&&e.extUnit===`emu`){let t=Zc(e.ext.width),n=Zc(e.ext.height);return{widthPx:Math.max(120,Math.round(96/72*t)),heightPx:Math.max(80,Math.round(96/72*n))}}return{widthPx:640,heightPx:420}}async function zD(e,t){let n=TT(e),r=ET(e),i={};if(n){let e=n;i={drawVector:(t,n)=>{Nb(t,e,{x:n.x,y:n.y,width:n.width,height:n.height})}}}else if(r){if(qC(r)){let e=r;i={drawVector:(t,n)=>{JC(t,e,{x:n.x,y:n.y,width:n.width,height:n.height})}}}else i={raster:{data:await KC(r,{width:VD.width,height:VD.height,scale:2}),format:`png`}}}let a=kT(e)?.orientation,o=a===`portrait`||a===`landscape`?a:`landscape`,s=kT(e),c=OT(e),l=s||c?{orientation:s?.orientation,paperSize:s?.paperSize,showGridLines:!1,firstPageNumber:s?.useFirstPageNumber===!1?void 0:s?.firstPageNumber,margins:c?{left:c.left??c.l??.7,right:c.right??c.r??.7,top:c.top??c.t??.75,bottom:c.bottom??c.b??.75,header:c.header,footer:c.footer}:void 0}:void 0;return{kind:`chartsheet`,name:CT(e),state:wT(e),orderNo:DT(e).orderNo,orientation:o,chart:i,pageSetup:l,headerFooter:uD(DT(e).headerFooter,BD(DT(e).headerImages,t))}}function BD(e,t){return(e??[]).flatMap(e=>{let n=l_(t,e.imageId),r=n?.extension===`jpg`?`jpeg`:n?.extension,i=n?.buffer instanceof Uint8Array?n.buffer:n?.base64?cl(n.base64):void 0;return i?.length&&(r===`png`||r===`jpeg`)?[{data:i,format:r,width:e.width??467.25,height:e.height??311.25,position:e.position}]:[]})}var VD,HD=n((()=>{b_(),Lv(),xT(),zC(),Pv(),Mg(),AT(),lh(),RT(),rD(),m_(),ZT(),Xh(),Tc(),vu(),Jc(),ps(),al(),pl(),VD={width:1280,height:720}}));function UD(e,t={}){let n=new wc;(t.title||t.author||t.subject)&&n.setMetadata({title:t.title,author:t.author,subject:t.subject,creator:t.creator});for(let r of e.pages)WD(n.addPage({width:r.geometry.width,height:r.geometry.height}),r,t);return n}function WD(e,t,n){let r={...t.geometry,marginTop:0};if(t.header)for(let i of t.header)GD(e,i,r,n);for(let r of t.content)KD(e,r,t.geometry,n);if(t.footer)for(let i of t.footer)GD(e,i,r,n);if(t.footnoteSeparator){let n=t.footnoteSeparator,r=t.geometry.marginLeft,i=n.kind===`separator`?t.geometry.contentWidth/3:t.geometry.contentWidth,a=qD({...t.geometry,marginTop:0},n.y);e.drawLine({x1:r,y1:a,x2:r+i,y2:a,color:pO,lineWidth:.5})}if(t.footnoteArea)for(let i of t.footnoteArea)XD(e,i,r,n)}function GD(e,t,n,r){t.type===`paragraph`?XD(e,t,n,r):eO(e,t,n,r)}function KD(e,t,n,r){switch(t.type){case`paragraph`:XD(e,t,n,r);break;case`table`:eO(e,t,n,r);break;case`image`:tO(e,t,n);break;case`float`:rO(e,t,n,r);break;case`textBox`:iO(e,t,n,r);break;case`shape`:aO(e,t,n,r);break;case`chart`:oO(e,t,n,r);break;case`sdt`:sO(e,t,n,r);break;case`math`:cO(e,t,n,r);break;case`checkBox`:lO(e,t,n);break;case`tableOfContents`:uO(e,t,n,r);break;case`altChunk`:dO(e,t,n);break;case`opaqueDrawing`:fO(e,t,n);break;default:throw Error(`renderLayoutDocumentToPdf: unhandled PageContent ${t.type}`)}}function qD(e,t){return e.height-e.marginTop-t}function JD(e,t){return e.marginLeft+t}function YD(e){return cs(e)??void 0}function XD(e,t,n,r){for(let i of t.lines)ZD(e,t,i,n,r)}function ZD(e,t,n,r,i){let a=qD(r,t.rect.y+n.y+n.baseline),o=t.rect.y+n.y;for(let s of n.runs)s.type===`image`?QD(e,s,t.rect.x,o,n.height,r):$D(e,s,t.rect.x,a,r,i)}function QD(e,t,n,r,i,a){if(t.data.length===0)return;let o=nO(t.mimeType);if(!o)return;let s=JD(a,n+t.x),c=qD(a,r+Math.min(i,t.height));e.drawImage({data:t.data,format:o,x:s,y:c,width:t.width,height:t.height})}function $D(e,t,n,r,i,a){let o=JD(i,n+t.x),s=t.font||a.defaultFont||`Helvetica`,c=t.fontSize||a.defaultFontSize||11,l=YD(t.color)??pO,u=r;if(t.verticalAlign===`superscript`?u=r+c*.33:t.verticalAlign===`subscript`&&(u=r-c*.33),t.text.length>0&&e.drawText(t.text,{x:o,y:u,fontFamily:s,fontSize:c,bold:t.bold,italic:t.italic,color:l}),t.underline&&t.text.length>0){let n=u-c*.12;e.drawLine({x1:o,y1:n,x2:o+t.width,y2:n,color:l,lineWidth:Math.max(.5,c*.05)})}if(t.strikethrough&&t.text.length>0){let n=u+c*.3;e.drawLine({x1:o,y1:n,x2:o+t.width,y2:n,color:l,lineWidth:Math.max(.5,c*.05)})}}function eO(e,t,n,r){for(let i of t.cells){let a=JD(n,t.rect.x+i.rect.x),o=qD(n,t.rect.y+i.rect.y+i.rect.height),s=i.rect.width,c=i.rect.height;if(i.backgroundColor){let t=YD(i.backgroundColor);t&&e.drawRect({x:a,y:o,width:s,height:c,fill:t})}let l=i.borders;if(l){if(l.top){let t=YD(l.top.color)??pO;e.drawLine({x1:a,y1:o+c,x2:a+s,y2:o+c,color:t,lineWidth:l.top.width})}if(l.bottom){let t=YD(l.bottom.color)??pO;e.drawLine({x1:a,y1:o,x2:a+s,y2:o,color:t,lineWidth:l.bottom.width})}if(l.left){let t=YD(l.left.color)??pO;e.drawLine({x1:a,y1:o,x2:a,y2:o+c,color:t,lineWidth:l.left.width})}if(l.right){let t=YD(l.right.color)??pO;e.drawLine({x1:a+s,y1:o,x2:a+s,y2:o+c,color:t,lineWidth:l.right.width})}}for(let a of i.content)a.type===`paragraph`?XD(e,{...a,rect:{...a.rect,x:t.rect.x+i.rect.x+a.rect.x,y:t.rect.y+i.rect.y+a.rect.y}},n,r):eO(e,{...a,rect:{...a.rect,x:t.rect.x+i.rect.x+a.rect.x,y:t.rect.y+i.rect.y+a.rect.y}},n,r)}}function tO(e,t,n){if(t.data.length===0)return;let r=nO(t.mimeType);if(!r)return;let i=JD(n,t.rect.x),a=qD(n,t.rect.y+t.rect.height);e.drawImage({data:t.data,format:r,x:i,y:a,width:t.rect.width,height:t.rect.height})}function nO(e){let t=e.toLowerCase();return t===`image/jpeg`?`jpeg`:t===`image/png`?`png`:null}function rO(e,t,n,r){t.content.type===`image`?tO(e,t.content,n):XD(e,t.content,n,r)}function iO(e,t,n,r){let i=JD(n,t.rect.x),a=qD(n,t.rect.y+t.rect.height),o=t.background?YD(t.background):void 0,s=t.border?YD(t.border.color):void 0;(o||s)&&e.drawRect({x:i,y:a,width:t.rect.width,height:t.rect.height,fill:o,stroke:s,lineWidth:t.border?.width??.75});let c={...n,marginLeft:n.marginLeft+t.rect.x,marginTop:n.marginTop+t.rect.y};for(let n of t.content)KD(e,n,c,r)}function aO(e,t,n,r){let i=JD(n,t.rect.x),a=qD(n,t.rect.y+t.rect.height),o=t.fillColor?YD(t.fillColor):void 0,s=t.strokeColor?YD(t.strokeColor):void 0,c=t.strokeWidth??.75;if(t.preset===`ellipse`||t.preset===`oval`?e.drawEllipse({cx:i+t.rect.width/2,cy:a+t.rect.height/2,rx:t.rect.width/2,ry:t.rect.height/2,fill:o,stroke:s,lineWidth:c}):t.preset===`line`?e.drawLine({x1:i,y1:a+t.rect.height,x2:i+t.rect.width,y2:a,color:s??pO,lineWidth:c}):e.drawRect({x:i,y:a,width:t.rect.width,height:t.rect.height,fill:o,stroke:s,lineWidth:c}),t.textContent&&t.textContent.length>0){let i={...n,marginLeft:n.marginLeft+t.rect.x,marginTop:n.marginTop+t.rect.y};for(let n of t.textContent)KD(e,n,i,r)}}function oO(e,t,n,r){let i={x:JD(n,t.rect.x),y:qD(n,t.rect.y+t.rect.height),width:t.rect.width,height:t.rect.height};if(!(r.chartRenderer&&r.chartRenderer(t,e,i)!==!1)){if(t.svg)try{e.drawSvg({svg:t.svg,x:i.x,y:i.y,width:i.width,height:i.height});return}catch{}e.drawRect({...i,stroke:{r:.5,g:.5,b:.5},lineWidth:.75}),t.title&&e.drawText(t.title,{x:i.x+i.width/2,y:i.y+i.height/2,fontSize:10,anchor:`middle`,color:{r:.3,g:.3,b:.3}})}}function sO(e,t,n,r){let i={...n,marginLeft:n.marginLeft+t.rect.x,marginTop:n.marginTop+t.rect.y};for(let n of t.content)KD(e,n,i,r)}function cO(e,t,n,r){let i=JD(n,t.rect.x),a=qD(n,t.rect.y+t.rect.height*.8);e.drawText(t.text,{x:i,y:a,fontFamily:r.defaultFont??`Helvetica`,fontSize:t.rect.height*.7,italic:!0})}function lO(e,t,n){let r=JD(n,t.rect.x),i=qD(n,t.rect.y+t.rect.height),a=t.rect.height*.85;if(e.drawRect({x:r,y:i,width:a,height:a,stroke:pO,lineWidth:.75}),t.checked){let t=r+a*.2,n=i+a*.5,o=r+a*.45,s=i+a*.25,c=r+a*.85,l=i+a*.75;e.drawLine({x1:t,y1:n,x2:o,y2:s,color:pO,lineWidth:1}),e.drawLine({x1:o,y1:s,x2:c,y2:l,color:pO,lineWidth:1})}}function uO(e,t,n,r){let i={...n,marginLeft:n.marginLeft+t.rect.x,marginTop:n.marginTop+t.rect.y};for(let n of t.entries)XD(e,n,i,r)}function dO(e,t,n){let r=JD(n,t.rect.x),i=qD(n,t.rect.y+t.rect.height);e.drawRect({x:r,y:i,width:t.rect.width,height:t.rect.height,stroke:{r:.6,g:.6,b:.6},lineWidth:.5}),e.drawText(`[${t.contentType}]`,{x:r+t.rect.width/2,y:i+t.rect.height/2,fontSize:9,anchor:`middle`,color:{r:.4,g:.4,b:.4}})}function fO(e,t,n){let r=JD(n,t.rect.x),i=qD(n,t.rect.y+t.rect.height);e.drawRect({x:r,y:i,width:t.rect.width,height:t.rect.height,stroke:{r:.6,g:.6,b:.6},lineWidth:.5}),e.drawText(`[drawing]`,{x:r+t.rect.width/2,y:i+t.rect.height/2,fontSize:9,anchor:`middle`,color:{r:.4,g:.4,b:.4}})}var pO,mO=n((()=>{Tc(),ps(),pO={r:0,g:0,b:0}}));function hO(e){return`<math xmlns="http://www.w3.org/1998/Math/MathML">${e.map(e=>gO(e)).join(``)}</math>`}function gO(e){switch(e.type){case`mathRun`:return _O(e);case`mathFraction`:return SO(e);case`mathSuperScript`:return CO(e);case`mathSubScript`:return wO(e);case`mathSubSuperScript`:return TO(e);case`mathPreSubSuperScript`:return EO(e);case`mathRadical`:return DO(e);case`mathDelimiter`:return OO(e);case`mathNary`:return kO(e);case`mathFunction`:return`<mrow><mo>${Z(e.name)}</mo><mrow>${Z(e.content)}</mrow></mrow>`;case`mathLimit`:return e.limitType===`lower`?`<munder><mrow>${Z(e.base)}</mrow><mrow>${Z(e.limit)}</mrow></munder>`:`<mover><mrow>${Z(e.base)}</mrow><mrow>${Z(e.limit)}</mrow></mover>`;case`mathMatrix`:return AO(e);case`mathAccent`:return`<mover accent="true"><mrow>${Z(e.content)}</mrow><mo>${on(e.char??`̂`)}</mo></mover>`;case`mathBar`:return e.position===`bottom`?`<munder><mrow>${Z(e.content)}</mrow><mo>̲</mo></munder>`:`<mover><mrow>${Z(e.content)}</mrow><mo>¯</mo></mover>`;case`mathBox`:return`<mrow>${Z(e.content)}</mrow>`;case`mathPhantom`:return`<mphantom><mrow>${Z(e.content)}</mrow></mphantom>`;case`mathGroupChar`:return e.position===`top`?`<mover><mrow>${Z(e.base)}</mrow><mo>${on(e.char??`⏞`)}</mo></mover>`:`<munder><mrow>${Z(e.base)}</mrow><mo>${on(e.char??`⏟`)}</mo></munder>`;case`mathBorderBox`:return`<menclose notation="box"><mrow>${Z(e.content)}</mrow></menclose>`;case`mathEquationArray`:return`<mtable>${e.rows.map(e=>`<mtr><mtd><mrow>${Z(e)}</mrow></mtd></mtr>`).join(``)}</mtable>`;default:return``}}function _O(e){let t=e.text,n=e.properties?.italic===!1;return yO(t).map(e=>xO(e,n)).join(``)}function vO(e){return/\s/.test(e)?`text`:jO(e)?`operator`:/[0-9.]/.test(e)?`number`:(/[A-Za-z]/.test(e),`identifier`)}function yO(e){let t=[],n=Array.from(e);for(let e of n){let n=vO(e),r=t[t.length-1];r&&r.kind===n&&n!==`operator`?r.value+=e:t.push({kind:n,value:e})}return bO(t)}function bO(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n],i=t[t.length-1],a=e[n+1];if(r.kind===`operator`&&r.value===`.`&&i&&i.kind===`number`&&a&&a.kind===`number`){i.value+=`.`+a.value,n++;continue}t.push(r)}return t}function xO(e,t){let n=on(e.value);switch(e.kind){case`operator`:return`<mo>${n}</mo>`;case`number`:return/\d/.test(e.value)?`<mn>${n}</mn>`:`<mo>${n}</mo>`;case`text`:return`<mtext>${n}</mtext>`;default:return t?`<mi mathvariant="normal">${n}</mi>`:`<mi>${n}</mi>`}}function SO(e){let t=Z(e.numerator),n=Z(e.denominator);return e.fractionType===`lin`?`<mrow><mrow>${t}</mrow><mo>/</mo><mrow>${n}</mrow></mrow>`:`<mfrac><mrow>${t}</mrow><mrow>${n}</mrow></mfrac>`}function CO(e){return`<msup><mrow>${Z(e.base)}</mrow><mrow>${Z(e.superScript)}</mrow></msup>`}function wO(e){return`<msub><mrow>${Z(e.base)}</mrow><mrow>${Z(e.subScript)}</mrow></msub>`}function TO(e){return`<msubsup><mrow>${Z(e.base)}</mrow><mrow>${Z(e.subScript)}</mrow><mrow>${Z(e.superScript)}</mrow></msubsup>`}function EO(e){return e.type===`mathPreSubSuperScript`?`<mmultiscripts><mrow>${Z(e.base)}</mrow><mprescripts/><mrow>${Z(e.preSubScript)}</mrow><mrow>${Z(e.preSuperScript)}</mrow></mmultiscripts>`:``}function DO(e){return e.degree&&e.degree.length>0?`<mroot><mrow>${Z(e.content)}</mrow><mrow>${Z(e.degree)}</mrow></mroot>`:`<msqrt><mrow>${Z(e.content)}</mrow></msqrt>`}function OO(e){let t=on(e.beginChar??`(`),n=on(e.endChar??`)`);return`<mrow><mo>${t}</mo>${e.content.map(e=>`<mrow>${Z(e)}</mrow>`).join(`<mo>${on(e.separatorChar??`|`)}</mo>`)}<mo>${n}</mo></mrow>`}function kO(e){let t=on(e.char??`∑`),n=Z(e.content),r=e.sub&&e.sub.length>0&&!e.subHide,i=e.sup&&e.sup.length>0&&!e.supHide;return r&&i?`<munderover><mo>${t}</mo><mrow>${Z(e.sub)}</mrow><mrow>${Z(e.sup)}</mrow></munderover><mrow>${n}</mrow>`:r?`<munder><mo>${t}</mo><mrow>${Z(e.sub)}</mrow></munder><mrow>${n}</mrow>`:i?`<mover><mo>${t}</mo><mrow>${Z(e.sup)}</mrow></mover><mrow>${n}</mrow>`:`<mo>${t}</mo><mrow>${n}</mrow>`}function AO(e){return`<mtable>${e.rows.map(e=>`<mtr>${e.map(e=>`<mtd><mrow>${Z(e)}</mrow></mtd>`).join(``)}</mtr>`).join(``)}</mtable>`}function Z(e){return e.map(e=>gO(e)).join(``)}function jO(e){return MO.has(e)}var MO,NO=n((()=>{w_(),MO=new Set(`+ - = < > ≤ ≥ × ÷ − ± ≠ ≈ ∞ ( ) [ ] { } | , . : ; ! ∑ ∏ ∫ ∬ ∭`.split(` `))}));function PO(e){return`type`in e?!1:`content`in e&&Array.isArray(e.content)}function FO(e){return`type`in e&&e.type===`hyperlink`}function Q(e){let t=``;for(let n of e)switch(n.type){case`mathRun`:t+=n.text;break;case`mathFraction`:t+=`(${Q(n.numerator)})/(${Q(n.denominator)})`;break;case`mathRadical`:n.hideDegree?t+=`√(${Q(n.content)})`:n.degree?t+=`${Q(n.degree)}√(${Q(n.content)})`:t+=`√(${Q(n.content)})`;break;case`mathSuperScript`:t+=`${Q(n.base)}^(${Q(n.superScript)})`;break;case`mathSubScript`:t+=`${Q(n.base)}_(${Q(n.subScript)})`;break;case`mathSubSuperScript`:t+=`${Q(n.base)}_(${Q(n.subScript)})^(${Q(n.superScript)})`;break;case`mathPreSubSuperScript`:t+=`_(${Q(n.preSubScript)})^(${Q(n.preSuperScript)})${Q(n.base)}`;break;case`mathDelimiter`:t+=n.beginChar??`(`,t+=n.content.map(e=>Q(e)).join(n.separatorChar??`,`),t+=n.endChar??`)`;break;case`mathNary`:t+=n.char??`∑`,n.sub&&(t+=`_(${Q(n.sub)})`),n.sup&&(t+=`^(${Q(n.sup)})`),t+=Q(n.content);break;case`mathFunction`:t+=Q(n.name),t+=Q(n.content);break;case`mathLimit`:t+=Q(n.base),t+=n.limitType===`upper`?`^`:`_`,t+=`(${Q(n.limit)})`;break;case`mathMatrix`:t+=`[`,t+=n.rows.map(e=>e.map(e=>Q(e)).join(`,`)).join(`;`),t+=`]`;break;case`mathAccent`:t+=Q(n.content),n.char&&(t+=n.char);break;case`mathBar`:t+=Q(n.content);break;case`mathBox`:t+=Q(n.content);break;case`mathEquationArray`:t+=n.rows.map(e=>Q(e)).join(`
|
|
65
|
-
`);break;case`mathGroupChar`:t+=Q(n.base);break;case`mathPhantom`:t+=Q(n.content);break;case`mathBorderBox`:t+=Q(n.content)}return t}var IO=n((()=>{})),LO=n((()=>{}));function RO(e){let t=e?.pageSize?.height??15840,n=e?.margins?.top??1440,r=e?.margins?.bottom??1440;return Math.max(0,t-n-r)}function zO(e){let t=e?.pageSize?.width??12240,n=e?.margins?.left??1440,r=e?.margins?.right??1440,i=e?.margins?.gutter??0;return Math.max(0,t-n-r-i)}function BO(e){let t=e/2;return Math.round(t*1.2*20)}function VO(e,t){let n=BO(t);if(!e?.line)return n;switch(e.lineRule??`auto`){case`auto`:{let t=e.line/240;return Math.round(n*t)}case`exact`:return e.line;case`atLeast`:return Math.max(e.line,n);default:return n}}function HO(e,t){return e?.markRunProperties?.size??t}function UO(e){let t=e.properties?.font;return t?typeof t==`string`?t:t.ascii??t.hAnsi??`Calibri`:`Calibri`}function WO(e){let t=``;for(let n of e.content)switch(n.type){case`text`:t+=n.text;break;case`tab`:t+=` `;break;case`symbol`:t+=` `;break;case`noBreakHyphen`:case`softHyphen`:t+=`-`}return t}function GO(e){return e>=11904&&e<=40959||e>=44032&&e<=55215||e>=63744&&e<=64255||e>=65072&&e<=65103||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=195103}function KO(e){let t=0;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++,t+=GO(r)?2:1}return t}function qO(e,t,n,r,i){let a=JO(e);if(a.length===0)return 1;let o=1,s=t,c=0;for(let e of a)if(e.type===`tab`){let e=ZO(c,i);e>s?(o++,s=n,c=0):c=e}else if(e.type===`break`)o++,s=n,c=0;else{let t=e.width*r;c+t>s&&c>0?(o++,s=n,c=t):c+=t}return o}function JO(e){let t=[];for(let n of e)if(PO(n))YO(n,t);else if(FO(n))for(let e of n.children)YO(e,t);return t}function YO(e,t){for(let n of e.content)switch(n.type){case`text`:{let e=XO(n.text);for(let n of e)n.length>0&&t.push({type:`word`,width:KO(n)});break}case`tab`:t.push({type:`tab`});break;case`break`:t.push({type:`break`});break;case`image`:{let e=n,r=e.width?Math.ceil(lk(e.width)/120):10;t.push({type:`image`,width:r});break}case`symbol`:t.push({type:`word`,width:1});break;case`noBreakHyphen`:t.push({type:`word`,width:1})}}function XO(e){let t=[],n=``;for(let r=0;r<e.length;r++){let i=e.codePointAt(r),a=String.fromCodePoint(i);i>65535&&r++,i===32||i===10||i===45||i===8208||i===8209?(n+=a,t.push(n),n=``):GO(i)?(n.length>0&&(t.push(n),n=``),t.push(a)):n+=a}return n.length>0&&t.push(n),t}function ZO(e,t){if(t&&t.length>0){for(let n of t)if(n>e)return n;let n=t[t.length-1],r=bk;return n+Math.ceil((e-n)/r)*r+r}return(Math.floor(e/bk)+1)*bk}function QO(e,t){let n=e?.indent,r=n?.left??0,i=n?.right??0,a=n?.firstLine??0,o=n?.hanging??0,s=Math.max(1,t-r-i);return o>0?[Math.max(1,s+o),s]:a>0?[Math.max(1,s-a),s]:[s,s]}function $O(e){let t=0;for(let n of e)if(PO(n)){for(let e of n.content)if(e.type===`image`){let n=e;if(n.height){let e=lk(n.height);e>t&&(t=e)}}}return t}function ek(e){let t=0;for(let n of e)if(PO(n))for(let e of n.content)(e.type===`footnoteRef`||e.type===`endnoteRef`)&&t++;return t}function tk(e){let t=0;for(let n of e)if(PO(n)){for(let e of n.content)if(e.type===`break`){let n=e.breakType;(!n||n===`textWrapping`)&&t++}}else if(FO(n)){for(let e of n.children)for(let n of e.content)if(n.type===`break`){let e=n.breakType;(!e||e===`textWrapping`)&&t++}}return t}function nk(e,t,n){let r=0;for(let i of e)if(PO(i)){let e=WO(i);if(e.length>0){let a=UO(i),o=(i.properties?.size??t)/2;r+=n(e,a,o)}}else if(FO(i))for(let e of i.children){let i=WO(e);if(i.length>0){let a=UO(e),o=(e.properties?.size??t)/2;r+=n(i,a,o)}}return r}function rk(e,t){let n=0;for(let r of e)if(PO(r)){let e=r.properties?.size??t;e>n&&(n=e)}else if(FO(r))for(let e of r.children){let r=e.properties?.size??t;r>n&&(n=r)}return n||t}function ik(e){for(let t of e)if(PO(t)){for(let e of t.content)if(e.type===`break`&&e.breakType===`page`)return!0}return!1}function ak(e){for(let t of e)if(PO(t)){for(let e of t.content)if(e.type===`break`&&e.breakType===`column`)return!0}return!1}function ok(e,t,n,r,i,a){let o=e.properties,s=o?.spacing,c=0;s?.beforeAutoSpacing?c=yk:s?.before!=null&&(c=s.before);let l=0;s?.afterAutoSpacing?l=yk:s?.after!=null&&(l=s.after);let u=VO(s,rk(e.children,HO(o,n))),d=$O(e.children),f=Math.max(u,d),p;if(a){let[r,s]=QO(o,t),c=nk(e.children,n,a)*20;if(tk(e.children)>0){let t=i>0?i:120,n=o?.tabs?.map(e=>e.position).filter(e=>e!=null);p=qO(e.children,r,s,t,n)}else if(c<=r)p=1;else{let e=c-r;p=1+Math.max(1,Math.ceil(e/s))}}else{let[n,r]=QO(o,t),a=i>0?i:120,s=o?.tabs?.map(e=>e.position).filter(e=>e!=null);p=qO(e.children,n,r,a,s)}return c+p*f+l}function sk(e,t,n,r,i,a,o){let s=e.rows[t];if(s.properties?.height?.value&&s.properties.height.rule===`exact`)return s.properties.height.value;let c=s.cells.length,l=e.columnWidths,u=0;for(let e=0;e<c;e++){let t=s.cells[e],d;if(l&&e<l.length){let n=t.properties?.gridSpan??1;d=0;for(let t=0;t<n&&e+t<l.length;t++)d+=l[e+t]}else d=Math.floor(r/Math.max(1,c));let f=Math.max(1,d-108-108),p=0;for(let e of t.content)e.type===`paragraph`?p+=ok(e,f,n,i,a,o):e.type===`table`&&(p+=ck(e,n,f,i,a,o));p+=80,p>u&&(u=p)}if(s.properties?.height?.value)return Math.max(s.properties.height.value,u);let d=BO(n)+80;return Math.max(d,u)}function ck(e,t,n,r,i,a){let o=0;for(let s=0;s<e.rows.length;s++)o+=sk(e,s,t,n,r,i,a);return o}function lk(e){return Math.round(e/635)}function uk(e){return e.wrap?.style===`topAndBottom`?lk(e.height):0}function dk(e){let t=e.wrap?.style;return t===`topAndBottom`||!t||t===`none`?lk(e.height):0}function fk(e,t){if(!t)return e;let n=t.count??1;if(n<=1)return e;let r=t.space??720;return Math.max(1,Math.floor((e-(n-1)*r)/n))}function pk(e,t,n){for(let r of e)if(`type`in r&&r.type===`bookmarkStart`&&`name`in r){let e=r;n.set(e.name,t)}}function mk(e,t){let n=t?.defaultFontSize??_k,r=t?.defaultCharsPerLine??vk,i=t?.averageCharWidth??Math.round(n/2*.5*20),a=t?.measureText,o=e.body,s=[],c=[],l=new Map,u=[],d=1,f=0,p=1,m=0,h=0,g=1,_=hk(o)??e.sectionProperties,v=RO(_),y=zO(_),b=fk(y,_?.columns);function x(){g=_?.columns?.count??1,g<1&&(g=1),b=fk(y,_?.columns)}x();function S(){d++,m=0,h=0}function C(){g>1&&h<g-1?(h++,m=0):S()}function w(t,n){u.push(d-p+1),f++;let r=n??e.sectionProperties;switch(t){case`nextPage`:S();break;case`evenPage`:S(),d%2!=0&&S();break;case`oddPage`:S(),d%2!=1&&S();break;case`continuous`:{let e=_?.pageSize?.width??12240,t=_?.pageSize?.height??15840,n=r?.pageSize?.width??12240,i=r?.pageSize?.height??15840;(e!==n||t!==i)&&S();break}case`nextColumn`:C()}p=d,_=r,v=RO(_),y=zO(_),x()}function ee(e){m+e>v&&m>0&&(g>1&&h<g-1?C():S()),m+=e}function te(e){let t=ck(e,n,b,r,i,a);if(m+t<=v){m+=t;return}let o=sk(e,0,n,b,r,i,a);m>0&&m+o>v&&(g>1&&h<g-1?C():S());let s=0,c=[];for(let t=0;t<e.rows.length&&e.rows[t].properties?.tableHeader;t++)c.push(t),s+=sk(e,t,n,b,r,i,a);for(let t=0;t<e.rows.length;t++){let o=e.rows[t],l=sk(e,t,n,b,r,i,a);if(c.includes(t)){m+=l;continue}(o.properties?.cantSplit??!1)||l<=v?m+l>v&&(g>1&&h<g-1?C():S(),m+=s):m+l>v&&m>0&&(g>1&&h<g-1?C():S(),m+=s),m+=l}}for(let t=0;t<o.length;t++){let u=o[t];switch(u.type){case`paragraph`:{let p=u,h=p.properties;if(pk(p.children,d,l),h?.sectionProperties){ne(p,ok(p,b,n,r,i,a),t,o),s.push(d),c.push(f);let l=gk(o,t+1)??e.sectionProperties;w(h.sectionProperties.breakType??`nextPage`,l);break}h?.pageBreakBefore&&m>0&&S(),ik(p.children)&&m>0&&S(),ak(p.children)&&m>0&&C(),ne(p,ok(p,b,n,r,i,a),t,o),s.push(d),c.push(f);break}case`table`:{let e=d;te(u),s.push(e),c.push(f);break}default:{let e=BO(n);if(u.type===`tableOfContents`){let t=u.cachedParagraphs;ee(t?t.length*BO(n):e*5)}else if(u.type===`floatingImage`){let e=uk(u);e>0&&ee(e)}else if(u.type===`drawingShape`){let t=dk(u);ee(t>0?t:e)}else ee(e);s.push(d),c.push(f);break}}}return u.push(d-p+1),{pageCount:d,sectionPageCounts:u,contentPages:s,contentSections:c,bookmarkPages:l};function ne(e,t,o,s){let c=e.properties,l=c?.spacing,u=VO(l,rk(e.children,HO(c,n))),d;if(a){let[t,r]=QO(c,b),o=nk(e.children,n,a)*20;if(tk(e.children)>0){let n=i>0?i:120,a=c?.tabs?.map(e=>e.position).filter(e=>e!=null);d=qO(e.children,t,r,n,a)}else d=o<=t?1:1+Math.max(1,Math.ceil((o-t)/r))}else{let[t,n]=QO(c,b),r=i>0?i:120,a=c?.tabs?.map(e=>e.position).filter(e=>e!=null);d=qO(e.children,t,n,r,a)}if(c?.contextualSpacing&&o>0){let e=s[o-1];if(e.type===`paragraph`&&e.properties?.style===c.style){let e=l?.before??0;e>0&&(m-=Math.min(e,m))}}if(c?.keepLines){m+t>v&&m>0&&(g>1&&h<g-1?C():S()),m+=t,re(e);return}if(c?.widowControl!==!1&&d>1){let e=0;l?.beforeAutoSpacing?e=yk:l?.before!=null&&(e=l.before);let t=v-m,n=Math.floor(Math.max(0,t-e)/u);n===1&&d>1?m>0&&(g>1&&h<g-1?C():S()):n>0&&n===d-1&&n>2&&m>0&&(g>1&&h<g-1?C():S())}if(c?.keepNext&&o+1<s.length){let e=s[o+1];if(e.type===`paragraph`){let o=ok(e,b,n,r,i,a);m+t+o>v&&m>0&&(g>1&&h<g-1?C():S())}}ee(t),re(e)}function re(e){let t=ek(e.children);if(t>0){let e=xk+t*Sk;m+=e,m>v&&S()}}}function hk(e){for(let t of e)if(t.type===`paragraph`&&t.properties?.sectionProperties)return t.properties.sectionProperties}function gk(e,t){for(let n=t;n<e.length;n++){let t=e[n];if(t.type===`paragraph`&&t.properties?.sectionProperties)return t.properties.sectionProperties}}var _k,vk,yk,bk,xk,Sk,Ck=n((()=>{IO(),LO(),_k=24,vk=80,yk=100,bk=720,xk=200,Sk=300}));function wk(e,t,n){let r=new Map;if(e.styles)for(let t of e.styles)r.set(t.styleId,t);let i=[],a=t.properties?.style;if(a){let e=a,t=new Set;for(;e&&!t.has(e);)t.add(e),i.push(e),e=r.get(e)?.basedOn}let o={},s={};e.docDefaults&&(e.docDefaults.paragraphProperties&&(o={...e.docDefaults.paragraphProperties}),e.docDefaults.runProperties&&(s={...e.docDefaults.runProperties}));for(let e=i.length-1;e>=0;e--){let t=r.get(i[e]);if(t&&(t.paragraphProperties&&(o={...o,...Tk(t.paragraphProperties)}),t.runProperties&&(s={...s,...Tk(t.runProperties)}),t.type===`paragraph`&&t.link)){let e=r.get(t.link);e?.type===`character`&&e.runProperties&&(s={...s,...Tk(e.runProperties)})}}if(n?.tableContext?.tableStyleId){let e=n.tableContext,t=e.tableStyleId,i=r.get(t);if(i?.tableStyleConditions){let t=Ek(i.tableStyleConditions,e.tblLook,e.rowIndex,e.colIndex,e.totalRows,e.totalCols);for(let e of t)e.paragraphProperties&&(o={...o,...Tk(e.paragraphProperties)}),e.runProperties&&(s={...s,...Tk(e.runProperties)})}}if(t.properties){let{style:e,sectionProperties:n,...r}=t.properties;o={...o,...Tk(r)}}return{chain:i,paragraphProperties:o,runProperties:s}}function Tk(e){let t={};for(let[n,r]of Object.entries(e))r!==void 0&&(t[n]=r);return t}function Ek(e,t,n,r,i,a){let o=t?.noHBand!==!0,s=t?.noVBand!==!0,c=new Set;o&&(n%2==0?c.add(`oddRowBanding`):c.add(`evenRowBanding`)),s&&(r%2==0?c.add(`oddColumnBanding`):c.add(`evenColumnBanding`)),n===0&&t?.firstRow!==!1&&c.add(`firstRow`),n===i-1&&t?.lastRow!==!1&&c.add(`lastRow`),r===0&&t?.firstColumn!==!1&&c.add(`firstColumn`),r===a-1&&t?.lastColumn!==!1&&c.add(`lastColumn`),n===0&&r===0&&t?.firstRow!==!1&&t?.firstColumn!==!1&&c.add(`topLeftCell`),n===0&&r===a-1&&t?.firstRow!==!1&&t?.lastColumn!==!1&&c.add(`topRightCell`),n===i-1&&r===0&&t?.lastRow!==!1&&t?.firstColumn!==!1&&c.add(`bottomLeftCell`),n===i-1&&r===a-1&&t?.lastRow!==!1&&t?.lastColumn!==!1&&c.add(`bottomRightCell`);let l=[`oddRowBanding`,`evenRowBanding`,`oddColumnBanding`,`evenColumnBanding`,`firstRow`,`lastRow`,`firstColumn`,`lastColumn`,`topLeftCell`,`topRightCell`,`bottomLeftCell`,`bottomRightCell`],u=new Map;for(let e=0;e<l.length;e++)u.set(l[e],e);return e.filter(e=>c.has(e.type)).sort((e,t)=>(u.get(e.type)??0)-(u.get(t.type)??0))}var Dk=n((()=>{})),Ok=n((()=>{al()}));function kk(e,t){let n=mk(e,t),r=Wk(e);OA=r,kA=e;try{return Ak(e,t,n,r)}finally{OA=void 0,kA=void 0}}function Ak(e,t,n,r){let i=[],a=n.pageCount,o=[];for(let s=1;s<=a;s++){let a=Mk(e,s,n,t,o,r);i.push(a.page),o=a.deferredFootnoteIds}if(o.length>0&&a>0){let s=Mk(e,a+1,n,t,o,r);i.push(s.page)}return{pages:i,totalPages:i.length,bookmarkPages:n.bookmarkPages,sectionBreaks:Uk(n)}}function jk(e,t,n){let r=t+n,i=[];for(let n of e.exclusions){if(r<=n.yTop||t>=n.yBottom)continue;let a=Math.max(0,n.xLeft),o=Math.min(e.contentWidth,n.xRight);if(!(a>=o))switch(n.wrapSide){case`bothSides`:i.push({lo:a,hi:o});break;case`left`:i.push({lo:a,hi:e.contentWidth});break;case`right`:i.push({lo:0,hi:o});break;case`largest`:{let t=a;e.contentWidth-o>=t?i.push({lo:0,hi:o}):i.push({lo:a,hi:e.contentWidth});break}}}if(i.length===0)return{xOffset:0,width:e.contentWidth};i.sort((e,t)=>e.lo-t.lo);let a=[];for(let e of i){let t=a[a.length-1];t&&e.lo<=t.hi?t.hi=Math.max(t.hi,e.hi):a.push({lo:e.lo,hi:e.hi})}let o=[],s=0;for(let e of a)e.lo>s&&o.push({x:s,width:e.lo-s}),s=Math.max(s,e.hi);if(s<e.contentWidth&&o.push({x:s,width:e.contentWidth-s}),o.length===0)return{xOffset:0,width:e.contentWidth};let c=o[0];for(let e=1;e<o.length;e++)o[e].width>c.width&&(c=o[e]);return{xOffset:c.x,width:c.width}}function Mk(e,t,n,r,i,a){let o=e.sectionProperties,s=Hk(o,r?.pageGeometry),c=[],l=dA(e.images),u=[...i],d=[],f=0;for(let i=0;i<e.body.length;i++){if(n.contentPages[i]!==t)continue;let o=e.body[i];Pk(o,u);let p={exclusions:d,contentWidth:s.contentWidth};switch(o.type){case`paragraph`:{let e=Yk(o,f,s.contentWidth,r,p,l,a);c.push({...e,sourceIndex:i}),f=e.rect.y+e.rect.height;break}case`table`:{let e=Xk(o,f,s.contentWidth,i,r,l);c.push(e),f=e.rect.y+e.rect.height;break}case`floatingImage`:{let e=hA(o,f,s.contentWidth,s.contentHeight,s,i,l);c.push(e);let t=o.simplePos!=null||o.horizontalPosition!=null||o.verticalPosition!=null,n=o.wrap?.style,r=n===`square`||n===`tight`||n===`through`;if(!t&&!o.behindDoc&&!r||n===`topAndBottom`){let t=o.wrap?.margins?.bottom?lA(o.wrap.margins.bottom):0;f=e.rect.y+e.rect.height+t}if(r&&!o.behindDoc){let t=e.wrap?.margins?.left??0,n=e.wrap?.margins?.right??0,r=e.wrap?.margins?.top??0,i=e.wrap?.margins?.bottom??0;d.push({xLeft:e.rect.x-t,xRight:e.rect.x+e.rect.width+n,yTop:e.rect.y-r,yBottom:e.rect.y+e.rect.height+i,wrapSide:e.wrap?.side??`bothSides`})}break}case`textBox`:{let e=_A(o,f,s.contentWidth,i,r,l);c.push(e),f=e.rect.y+e.rect.height;break}case`drawingShape`:{let e=vA(o,f,s.contentWidth,i,r,l);c.push(e),f=e.rect.y+e.rect.height;break}case`chart`:case`chartEx`:{let e=yA(o,f,s.contentWidth,i);c.push(e),f=e.rect.y+e.rect.height;break}case`sdt`:{let e=bA(o,f,s.contentWidth,i,r,l);c.push(e),f=e.rect.y+e.rect.height;break}case`math`:{let e=xA(o,f,s.contentWidth,i,r);c.push(e),f=e.rect.y+e.rect.height;break}case`checkBox`:{let e=SA(o,f,i,r);c.push(e),f=e.rect.y+e.rect.height;break}case`tableOfContents`:{let e=CA(o,f,s.contentWidth,i,r,l);c.push(e),f=e.rect.y+e.rect.height;break}case`altChunk`:{let e=wA(o,f,s.contentWidth,i);c.push(e),f=e.rect.y+e.rect.height;break}case`opaqueDrawing`:{let e=TA(o,f,s.contentWidth,i);c.push(e),f=e.rect.y+e.rect.height;break}default:throw Error(`layoutDocumentFull: unhandled BodyContent variant ${o.type}`)}}let p=zk(e,t,s,r,l),m=Bk(e,t,s,r,l),h=Nk(e,u,s,r,s.marginTop+f,l),g;if(h.laid.length>0){let e=u.length>i.length?`separator`:`continuationSeparator`;g={y:h.laid[0].rect.y-4,kind:e}}return{page:{pageNumber:t,geometry:s,content:c,...p.length>0?{header:p}:{},...m.length>0?{footer:m}:{},...h.laid.length>0?{footnoteArea:h.laid}:{},...g?{footnoteSeparator:g}:{}},deferredFootnoteIds:h.deferred}}function Nk(e,t,n,r,i,a){if(t.length===0||!e.footnotes||e.footnotes.length===0)return{laid:[],deferred:[]};let o=new Map;for(let t of e.footnotes)(t.type??`normal`)===`normal`&&o.set(t.id,t);let s=n.height-n.footerOffset,c=Math.max(0,s-i),l=new Set,u=[],d=[],f=[];for(let e of t){if(l.has(e))continue;l.add(e);let t=o.get(e);if(!t)continue;let i=[],s=0;for(let e of t.content){if(e.type!==`paragraph`)continue;let t=Yk(e,s,n.contentWidth,r,void 0,a);i.push(t),s=t.rect.y+t.rect.height}u.push(i),d.push(s),f.push(e)}let p=[],m=[],h=[],g=0;for(let e=0;e<f.length;e++){let t=d[e],n=g+t,r=n<=c,i=p.length===0;r||i?(p.push(u[e]),m.push(t),g=n):h.push(f[e])}if(p.length===0)return{laid:[],deferred:h};let _=s-g,v=[],y=_;for(let e=0;e<p.length;e++){for(let t of p[e])v.push({...t,rect:{...t.rect,y:t.rect.y+y}});y+=m[e]}return{laid:v,deferred:h}}function Pk(e,t){switch(e.type){case`paragraph`:Fk(e,t);return;case`table`:for(let n of e.rows)for(let e of n.cells)for(let n of e.content)Pk(n,t);return;case`textBox`:for(let n of e.content)Pk(n,t);return;case`drawingShape`:if(e.textContent)for(let n of e.textContent)Pk(n,t);return;case`sdt`:for(let n of e.content)n&&typeof n==`object`&&`type`in n&&Pk(n,t);return;case`tableOfContents`:if(e.cachedParagraphs)for(let n of e.cachedParagraphs)Pk(n,t);return;case`floatingImage`:case`math`:case`checkBox`:case`chart`:case`chartEx`:case`altChunk`:case`opaqueDrawing`:return}}function Fk(e,t){for(let n of e.children)`type`in n&&n.type===`hyperlink`?Ik(n,t):!(`type`in n)||n.type===void 0?Lk(n,t):(n.type===`insertedRun`||n.type===`deletedRun`||n.type===`movedFromRun`||n.type===`movedToRun`)&&Lk(n.run,t)}function Ik(e,t){for(let n of e.children)(!(`type`in n)||n.type===void 0)&&Lk(n,t)}function Lk(e,t){if(!(!e||!Array.isArray(e.content)))for(let n of e.content)n.type===`footnoteRef`&&t.push(n.id)}function Rk(e,t,n,r){let i=t=>e.find(e=>e.type===t);if(n&&t===1){let e=i(`first`);if(e)return e}if(r&&t%2==0){let e=i(`even`);if(e)return e}return i(`default`)??e[0]}function zk(e,t,n,r,i){let a=e.sectionProperties?.headers;if(!a||a.length===0)return[];let o=Rk(a,t,e.sectionProperties?.titlePage===!0,e.settings?.evenAndOddHeaders===!0);if(!o)return[];let s=e.headers?.get(o.rId);if(!s)return[];let c=n.headerOffset;return Vk(s.content.children,c,n,r,i)}function Bk(e,t,n,r,i){let a=e.sectionProperties?.footers;if(!a||a.length===0)return[];let o=Rk(a,t,e.sectionProperties?.titlePage===!0,e.settings?.evenAndOddHeaders===!0);if(!o)return[];let s=e.footers?.get(o.rId);if(!s)return[];let c=n.height-n.footerOffset;return Vk(s.content.children,c,n,r,i)}function Vk(e,t,n,r,i){let a=[],o=t;for(let t=0;t<e.length;t++){let s=e[t];if(s.type===`paragraph`){let e=Yk(s,o,n.contentWidth,r,void 0,i);a.push(e),o=e.rect.y+e.rect.height}else if(s.type===`table`){let e=Xk(s,o,n.contentWidth,t,r,i);a.push(e),o=e.rect.y+e.rect.height}}return a}function Hk(e,t){let n=e?.pageSize?.width??12240,r=e?.pageSize?.height??15840,i=Yc(n),a=Yc(r),o=Yc(e?.margins?.top??1440),s=Yc(e?.margins?.bottom??1440),c=Yc(e?.margins?.left??1440),l=Yc(e?.margins?.right??1440),u=Yc(e?.margins?.header??720),d=Yc(e?.margins?.footer??720),f=t?.pageWidth??i,p=t?.pageHeight??a,m=t?.marginTop??o,h=t?.marginBottom??s,g=t?.marginLeft??c,_=t?.marginRight??l,v=t?.headerMargin??u,y=t?.footerMargin??d;return{width:f,height:p,marginTop:m,marginBottom:h,marginLeft:g,marginRight:_,contentWidth:f-g-_,contentHeight:p-m-h,headerOffset:v,footerOffset:y}}function Uk(e){let t=[0],n=0;for(let r=0;r<e.contentPages.length;r++){let i=e.contentSections[r];i>n&&(t.push(e.contentPages[r]-1),n=i)}return t}function Wk(e){let t=new Map,n=e.numberingInstances,r=e.abstractNumberings;if(!n||!r||n.length===0||r.length===0)return t;let i=new Map(n.map(e=>[e.numId,e])),a=new Map(r.map(e=>[e.abstractNumId,e])),o=new Map,s=new Set,c=new Set,l=[],u=e=>{for(let t of e)if(t.type===`paragraph`)l.push(t);else if(t.type===`table`)for(let e of t.rows)for(let t of e.cells)u(t.content)},d=e=>{let n=e.properties?.numbering;if(!n){for(let e of c)s.add(e);return}let r=i.get(n.numId);if(!r)return;let l=a.get(r.abstractNumId);if(!l)return;let u=n.level??0,d=r.overrides?.find(e=>e.level===u)?.levelDef??l.levels.find(e=>e.level===u);if(!d)return;c.add(n.numId);let f=(u+1)*36;if(d.format===`bullet`){let r=Gk(d.text);t.set(e,{text:`${r} `,indentPt:f}),s.delete(n.numId);return}let p=o.get(n.numId);p||(p=[],o.set(n.numId,p)),s.has(n.numId)&&(p.length=0,s.delete(n.numId));let m=r.overrides?.find(e=>e.level===u)?.startOverride??d.start??1;p[u]===void 0?p[u]=m:p[u]+=1;for(let e=u+1;e<p.length;e++)p[e]=void 0;let h=p[u],g=Kk(h,d.format),_=d.text?d.text.replace(/%\d+/g,g):`${g}.`;t.set(e,{text:`${_} `,indentPt:f})};u(e.body);for(let e of l)d(e);return t}function Gk(e){if(!e||e.length===0)return`•`;switch(e.codePointAt(0)){case 61623:case 183:return`•`;case 61607:case 61608:return`▪`;case 61692:return`✓`;default:return e}}function Kk(e,t){switch(t){case`lowerLetter`:return qk(e).toLowerCase();case`upperLetter`:return qk(e).toUpperCase();case`lowerRoman`:return Jk(e).toLowerCase();case`upperRoman`:return Jk(e).toUpperCase();case`decimalZero`:return e<10?`0${e}`:String(e);default:return String(e)}}function qk(e){let t=``,n=e;for(;n>0;){let e=(n-1)%26;t=String.fromCharCode(65+e)+t,n=Math.floor((n-1)/26)}return t||`A`}function Jk(e){if(e<=0)return String(e);let t=[[1e3,`M`],[900,`CM`],[500,`D`],[400,`CD`],[100,`C`],[90,`XC`],[50,`L`],[40,`XL`],[10,`X`],[9,`IX`],[5,`V`],[4,`IV`],[1,`I`]],n=e,r=``;for(let[e,i]of t)for(;n>=e;)r+=i,n-=e;return r}function Yk(e,t,n,r,i,a,o){let s=e.properties,c=s?.spacing,l=kA?wk(kA,e).runProperties:void 0,u=l?.size==null?aA(iA(s)):1,d=0;c?.beforeAutoSpacing?d=5:c?.before!=null&&(d=Yc(c.before));let f=s?.indent,p=(o??OA)?.get(e),m=p?p.indentPt:0,h=Math.max(f?.left?Yc(f.left):0,m),g=f?.firstLine?Yc(f.firstLine):0,_=s?.alignment??`left`,v=AA*1.2;if(c?.line)switch(c.lineRule??`auto`){case`exact`:v=Yc(c.line);break;case`atLeast`:v=Math.max(Yc(c.line),v);break;case`auto`:v=AA*1.2*(c.line/240)}v*=u;let y=eA($k(e),l);if(p){let e;for(let t of y)if(!(`type`in t)||t.type===void 0){e=t.properties;break}y.unshift({text:p.text,properties:e})}let b=n-h,x,S;if(i&&i.exclusions.length>0){let e=nA(y,h,g,u,v,t+d,i);x=e.lines,S=e.slots}else x=rA(y,b,g,u);let C=[],w=d;for(let e=0;e<x.length;e++){let t=x[e],n=[],r=S?.[e]??{xOffset:0,width:b},i=S?r.xOffset:h,o=S?r.width:b,s=e===0?g:0,c=0,l=v;for(let e of t)if(`type`in e&&e.type===`image`){let t=lA(e.content.width),n=lA(e.content.height);c+=t,n>l&&(l=n)}else{let t=oA(e.properties)*u,n=Wn(sA(e.properties),e.properties?.bold,e.properties?.italic);c+=zn(e.text,n,t)}_===`center`?s=(o-c)/2:(_===`right`||_===`end`)&&(s=o-c),s+=i;for(let e of t){if(`type`in e&&e.type===`image`){let t=lA(e.content.width),r=lA(e.content.height),i=e.content.rId?a?.get(e.content.rId):void 0;n.push({type:`image`,x:s,width:t,height:r,data:i?.data??new Uint8Array,mimeType:uA(i?.mediaType),altText:e.content.altText}),s+=t;continue}let t=oA(e.properties)*u,r=sA(e.properties),i=Wn(r,e.properties?.bold,e.properties?.italic),o=zn(e.text,i,t);n.push({text:e.text,x:s,width:o,font:r,fontSize:t,bold:e.properties?.bold||void 0,italic:e.properties?.italic||void 0,color:cA(e.properties?.color),underline:e.properties?.underline!==void 0||void 0,strikethrough:e.properties?.strike||void 0,verticalAlign:e.properties?.vertAlign===`superscript`||e.properties?.vertAlign===`subscript`?e.properties.vertAlign:void 0}),s+=o}let d=_===`both`?`justify`:_===`end`?`right`:_===`start`?`left`:_;C.push({y:w,height:l,baseline:l*.8,runs:n,alignment:d}),w+=l}C.length===0&&(w+=v);let ee=0;return c?.afterAutoSpacing?ee=5:c?.after!=null&&(ee=Yc(c.after)),{type:`paragraph`,rect:{x:0,y:t,width:n,height:w+ee},lines:C,sourceIndex:0}}function Xk(e,t,n,r,i,a){let o=Qk(e,e.rows.length>0?e.rows[0].cells.length:0,n),s=[0];for(let e=0;e<o.length;e++)s.push(s[e]+o[e]);let c=[],l=0;for(let r=0;r<e.rows.length;r++){let u=e.rows[r],d=AA*1.5,f=0;for(let p=0;p<u.cells.length;p++){let m=u.cells[p],h=Math.max(1,m.properties?.gridSpan??1),g=Math.min(f,o.length-1),_=Math.min(f+h,o.length),v=s[g]??0,y=(s[_]??n)-v,b=[],x=2;for(let e of m.content)if(e.type===`paragraph`){let t=Yk(e,x,y-4,i,void 0,a);b.push({...t,sourceIndex:-1}),x=t.rect.y+t.rect.height}else if(e.type===`table`){let t=Xk(e,x,y-4,-1,i,a);b.push(t),x=t.rect.y+t.rect.height}let S=x+2;S>d&&(d=S),c.push({rect:{x:v,y:t+l,width:y,height:S},row:r,col:p,content:b,borders:Zk(e.properties?.borders,m.properties?.borders,r===0,r===e.rows.length-1,g===0,_>=o.length)}),f+=h}for(let e of c)e.row===r&&(e.rect.height=d);l+=d}return{type:`table`,rect:{x:0,y:t,width:n,height:l},cells:c,sourceIndex:r}}function Zk(e,t,n,r,i,a){let o=(e,t,n,r)=>{let i=e??(r?t:n);if(!i||i.style===`none`||i.style===`nil`)return;let a=i.size==null?.5:i.size/8,o=!i.color||i.color===`auto`?`000000`:i.color;return{width:Math.max(.25,a),color:o}},s=o(t?.top,e?.top,e?.insideH,n),c=o(t?.bottom,e?.bottom,e?.insideH,r),l=o(t?.left,e?.left,e?.insideV,i),u=o(t?.right,e?.right,e?.insideV,a);if(!(!s&&!c&&!l&&!u))return{...s?{top:s}:{},...c?{bottom:c}:{},...l?{left:l}:{},...u?{right:u}:{}}}function Qk(e,t,n){if(t<=0)return[];let r=e.columnWidths;if(r&&r.length>=t){let e=r.slice(0,t).map(Yc),i=e.reduce((e,t)=>e+t,0);if(i>0){let t=n/i;return e.map(e=>e*t)}}let i=n/t;return Array(t).fill(i)}function $k(e){let t=[];for(let n of e.children)if(PO(n))tA(n,t);else if(FO(n))for(let e of n.children)tA(e,t);return t}function eA(e,t){return t?e.map(e=>{let n=e.properties,r=n?{...t,...n}:t;return{...e,properties:r}}):e}function tA(e,t){let n=``;for(let r of e.content)r.type===`text`?n+=r.text:r.type===`tab`?n+=` `:r.type===`break`?n+=`
|
|
66
|
-
`:r.type===`image`&&(n.length>0&&(t.push({text:n,properties:e.properties}),n=``),t.push({type:`image`,content:r,properties:e.properties}));n.length>0&&t.push({text:n,properties:e.properties})}function nA(e,t,n,r,i,a,o){let s=[];for(let t of e){if(`type`in t&&t.type===`image`){s.push({width:lA(t.content.width),isSpace:!1,isImage:!0,properties:t.properties,imageContent:t.content});continue}let e=oA(t.properties)*r,n=Wn(sA(t.properties),t.properties?.bold,t.properties?.italic),i=t.text.split(/(\s+)/);for(let r of i)r.length!==0&&s.push({text:r,width:zn(r,n,e),properties:t.properties,isSpace:/^\s+$/.test(r),isImage:!1})}let c=[],l=[];if(s.length===0)return{lines:c,slots:l};let u=0,d=0;for(;u<s.length;){let e=jk(o,a+d*i,i),r=d===0?n:0,f=e.width-r,p=e.xOffset+r;if(e.xOffset===0&&t>0&&(f-=t,p+=t),f<=0){if(c.push([]),l.push({xOffset:p,width:Math.max(0,f)}),d++,d>1e3)break;continue}if(s[u].isSpace&&(u++,u>=s.length))break;let m=[],h=0;for(;u<s.length;){let e=s[u],t=h+e.width;if(t>f&&m.length>0)break;m.push(e),h=t,u++}for(;m.length>0&&m[m.length-1].isSpace;){let e=m.pop();h-=e.width}let g=[];for(let e of m){if(e.isImage){g.push({type:`image`,content:e.imageContent,properties:e.properties});continue}let t=g[g.length-1];t&&!(`type`in t)&&t.properties===e.properties?g[g.length-1]={text:t.text+e.text,properties:e.properties}:g.push({text:e.text,properties:e.properties})}if(c.push(g),l.push({xOffset:p,width:f}),d++,d>1e5)break}return{lines:c,slots:l}}function rA(e,t,n,r){let i=[],a=[],o=0,s=!0,c=t-n,l=()=>{i.push(a),a=[],o=0,s&&(s=!1,c=t)};for(let t of e){if(`type`in t&&t.type===`image`){let e=lA(t.content.width);o+e<=c||a.length===0||l(),a.push(t),o+=e;continue}let e=t.text,n=oA(t.properties)*r,i=Wn(sA(t.properties),t.properties?.bold,t.properties?.italic),s=zn(e,i,n);if(o+s<=c)a.push(t),o+=s;else{let r=e.split(/(\s+)/),s=``,u=0;for(let e of r){let r=zn(e,i,n);o+u+r<=c||a.length===0&&s.length===0?(s+=e,u+=r):(s.length>0&&a.push({text:s,properties:t.properties}),l(),s=e,u=r)}s.length>0&&(a.push({text:s,properties:t.properties}),o+=u)}}return a.length>0&&i.push(a),i.length===0&&e.length>0&&i.push(e),i}function iA(e){if(!e)return 0;if(e.outlineLevel!==void 0&&e.outlineLevel>=0&&e.outlineLevel<=5)return e.outlineLevel+1;if(e.style){let t=/^[Hh]eading\s*(\d)$/i.exec(e.style);if(t)return parseInt(t[1],10)}return 0}function aA(e){switch(e){case 1:return 2;case 2:return 1.5;case 3:return 1.17;case 4:return 1;case 5:return .83;case 6:return .67;default:return 1}}function oA(e){let t=e?.size?e.size/2:AA;return e?.vertAlign===`superscript`||e?.vertAlign===`subscript`?t*.65:t}function sA(e){return e?.font?typeof e.font==`string`?e.font:e.font.ascii??`Calibri`:`Calibri`}function cA(e){if(e){if(typeof e==`string`)return e;if(typeof e==`object`&&`value`in e)return e.value}}function lA(e){return e/rl}function uA(e){switch(e){case`png`:return`image/png`;case`jpeg`:return`image/jpeg`;case`gif`:return`image/gif`;case`bmp`:return`image/bmp`;case`tiff`:return`image/tiff`;case`svg`:return`image/svg+xml`;case`webp`:return`image/webp`;case`emf`:return`image/x-emf`;case`wmf`:return`image/x-wmf`;default:return`application/octet-stream`}}function dA(e){let t=new Map;if(!e)return t;for(let n of e)if(n.rId&&t.set(n.rId,n),Array.isArray(n.altRIds))for(let e of n.altRIds)t.set(e,n);return t}function fA(e,t,n,r,i,a,o){if(e.simplePos!==void 0){let t=lA(e.simplePos.x??0),n=lA(e.simplePos.y??0);return{x:t-i.marginLeft,y:n-i.marginTop}}return{x:pA(e,n,i,a)??0,y:mA(e,t,r,i,o)??t}}function pA(e,t,n,r){let i=e.horizontalPosition;if(!i)return;let a=i.relativeTo??`column`,o=0,s=t;if(a===`page`?(o=-n.marginLeft,s=n.width):(a===`margin`||a===`leftMargin`||a===`rightMargin`)&&(o=0,s=t),i.align)switch(i.align){case`left`:case`inside`:return o;case`right`:case`outside`:return o+s-r;case`center`:return o+(s-r)/2}if(i.offset!=null)return o+lA(i.offset)}function mA(e,t,n,r,i){let a=e.verticalPosition;if(!a)return;let o=a.relativeTo??`paragraph`,s=t,c=n;if(o===`page`?(s=-r.marginTop,c=r.height):(o===`margin`||o===`topMargin`||o===`bottomMargin`)&&(s=0,c=n),a.align)switch(a.align){case`top`:case`inside`:return s;case`bottom`:case`outside`:return s+c-i;case`center`:return s+(c-i)/2}if(a.offset!=null)return s+lA(a.offset)}function hA(e,t,n,r,i,a,o){let s=lA(e.width),c=lA(e.height),{x:l,y:u}=fA(e,t,n,r,i,s,c),d=e.rId?o.get(e.rId):void 0,f=d?{type:`image`,rect:{x:l,y:u,width:s,height:c},data:d.data,mimeType:uA(d.mediaType),altText:e.altText,sourceIndex:a}:{type:`image`,rect:{x:l,y:u,width:s,height:c},data:new Uint8Array,mimeType:`application/octet-stream`,altText:e.altText,sourceIndex:a};return{type:`float`,rect:{x:l,y:u,width:s,height:c},content:f,behindText:e.behindDoc===!0,...e.wrap?{wrap:gA(e.wrap)}:{},sourceIndex:a}}function gA(e){let t={style:e.style};if(e.side&&(t.side=e.side),e.margins){let n={};e.margins.top!=null&&(n.top=lA(e.margins.top)),e.margins.bottom!=null&&(n.bottom=lA(e.margins.bottom)),e.margins.left!=null&&(n.left=lA(e.margins.left)),e.margins.right!=null&&(n.right=lA(e.margins.right)),Object.keys(n).length>0&&(t.margins=n)}return t}function _A(e,t,n,r,i,a){let o=e.width==null?n:Yc(e.width),s=[],c=0;for(let t of e.content){let e=Yk(t,c,o,i,void 0,a);s.push({...e,sourceIndex:r}),c=e.rect.y+e.rect.height}return{type:`textBox`,rect:{x:0,y:t,width:o,height:e.height==null?Math.max(c,12):Yc(e.height)},content:s,border:e.stroke&&e.strokeColor?{width:.75,color:EA(e.strokeColor)}:void 0,background:e.fill&&e.fillColor?EA(e.fillColor):void 0,sourceIndex:r}}function vA(e,t,n,r,i,a){let o=lA(e.width),s=lA(e.height),c=Math.min(o,n),l=[];if(e.textContent&&e.textContent.length>0){let t=0;for(let n of e.textContent){let e=Yk(n,t,c,i,void 0,a);l.push({...e,sourceIndex:r}),t=e.rect.y+e.rect.height}}return{type:`shape`,rect:{x:0,y:t,width:o,height:s},preset:e.shapeType,fillColor:e.noFill?void 0:DA(e.fillColor),strokeColor:e.noOutline?void 0:DA(e.outlineColor),strokeWidth:e.outlineWidth==null?void 0:lA(e.outlineWidth),textContent:l.length>0?l:void 0,sourceIndex:r}}function yA(e,t,n,r){let i=e.type===`chart`?e.chart?.width??5486400:e.width??5486400,a=e.type===`chart`?e.chart?.height??3200400:e.height??3200400,o=Math.min(lA(i),n),s=lA(a),c=e.type===`chart`?e.chart?.title??e.name:e.name;return{type:`chart`,rect:{x:0,y:t,width:o,height:s},chartKind:e.type===`chart`?`chart`:`chartEx`,title:c,altText:e.altText,source:e,sourceIndex:r}}function bA(e,t,n,r,i,a){let o=[],s=0;for(let t of e.content)if(`type`in t){if(t.type===`paragraph`){let e=Yk(t,s,n,i,void 0,a);o.push({...e,sourceIndex:r}),s=e.rect.y+e.rect.height}else if(t.type===`table`){let e=Xk(t,s,n,r,i,a);o.push(e),s=e.rect.y+e.rect.height}}return{type:`sdt`,rect:{x:0,y:t,width:n,height:s},content:o,tag:e.properties?.tag,alias:e.properties?.alias,sourceIndex:r}}function xA(e,t,n,r,i){let a=Q(e.content),o;try{o=hO(e.content)}catch{o=void 0}let s=AA,c=s*1.2,l=Un(i?.fonts?.get(`Cambria Math`)??`Cambria Math`);return{type:`math`,rect:{x:0,y:t,width:Math.min(zn(a,l,s),n),height:c},text:a,mathML:o,sourceIndex:r}}function SA(e,t,n,r){let i=AA,a=e.checked===!0,o=a?e.checkedState?.value??`☑`:e.uncheckedState?.value??`☐`;return{type:`checkBox`,rect:{x:0,y:t,width:zn(o,Un(e.checkedState?.font??r?.fonts?.get(`MS Gothic`)??`MS Gothic`),i),height:i*1.2},checked:a,glyph:o,fontSize:i,sourceIndex:n}}function CA(e,t,n,r,i,a){let o=[],s=0;if(e.cachedParagraphs&&e.cachedParagraphs.length>0)for(let t of e.cachedParagraphs){let e=Yk(t,s,n,i,void 0,a);o.push({...e,sourceIndex:r}),s=e.rect.y+e.rect.height}else{let e=Yk({type:`paragraph`,children:[{content:[{type:`text`,text:`[Table of Contents]`}]}]},0,n,i,void 0,a);o.push({...e,sourceIndex:r}),s=e.rect.height}return{type:`tableOfContents`,rect:{x:0,y:t,width:n,height:s},entries:o,sourceIndex:r}}function wA(e,t,n,r){return{type:`altChunk`,rect:{x:0,y:t,width:n,height:36},contentType:e.contentType??`application/octet-stream`,fileName:e.fileName,sourceIndex:r}}function TA(e,t,n,r){return{type:`opaqueDrawing`,rect:{x:0,y:t,width:n,height:144},rawXml:e.rawXml,sourceIndex:r}}function EA(e){return e.startsWith(`#`)?e.slice(1):e}function DA(e){return e?EA(e):void 0}var OA,kA,AA,jA=n((()=>{Qn(),NO(),IO(),Ck(),LO(),Dk(),Ok(),AA=12}));function MA(e){let t=Object.create(null);for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&!uh(n)&&(t[n]=e[n]);return t}function NA(e,t){return{type:`element`,name:e,attributes:MA(t),children:[]}}function PA(e,t){let n=e.children[e.children.length-1];n&&n.type===`text`?n.value+=t:e.children.push({type:`text`,value:t})}function FA(e,t){let n=t?.comments??!1,r=t?.processingInstructions??!1,i=t?.cdataAsNodes??!1,a=t?.fragment??!1,o=new eD({position:!0,fragment:t?.fragment??!1,xmlns:t?.xmlns??!1,maxDepth:t?.maxDepth,maxEntityExpansions:t?.maxEntityExpansions,invalidCharHandling:t?.invalidCharHandling}),s=NA(`__root__`,{}),c=[s],l,u;if(o.on(`error`,e=>{u||=e instanceof S_?e:new S_(e.message)}),o.on(`opentag`,e=>{let t=NA(e.name,e.attributes);e.prefix!==void 0&&(t.prefix=e.prefix,t.local=e.local,t.uri=e.uri),e.ns&&(t.ns={...e.ns}),c[c.length-1].children.push(t),e.isSelfClosing||c.push(t)}),o.on(`closetag`,e=>{!e.isSelfClosing&&c.length>1&&c.pop()}),o.on(`text`,e=>{e.length!==0&&PA(c[c.length-1],e)}),o.on(`cdata`,e=>{let t=c[c.length-1];if(i){let n={type:`cdata`,value:e};t.children.push(n)}else PA(t,e)}),n&&o.on(`comment`,e=>{let t=c[c.length-1],n={type:`comment`,value:e};t.children.push(n)}),o.on(`pi`,(e,t)=>{if(e===`xml`){let e={},n=/(\w+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g,r;for(;(r=n.exec(t))!==null;)e[r[1]]=r[2]??r[3];l=e}else r&&c[c.length-1].children.push({type:`processing-instruction`,target:e,body:t})}),o.write(e),o.close(),u)throw h(u);let d=s.children.filter(e=>e.type===`element`);if(d.length===0)throw new S_(`document has no root element`);if(!a&&d.length>1)throw new S_(`document has multiple root elements`);let f=s.children.filter(e=>e.type===`comment`||e.type===`processing-instruction`);return{declaration:l,root:d[0],roots:d,prologue:f}}function $(e,t){for(let n of e.children)if(n.type===`element`&&n.name===t)return n}function IA(e,t){let n=[];for(let r of e.children)r.type===`element`&&r.name===t&&n.push(r);return n}function LA(e){switch(e.type){case`text`:case`cdata`:return e.value;case`element`:{let t=``;for(let n of e.children)t+=LA(n);return t}default:return``}}var RA=n((()=>{v(),hh(),C_(),tD()}));function zA(e,t,n,r){if(e)for(let i of e.children??[])i.type===`element`&&(t.has(i.name)||r.entries.push({name:i.name,path:`${n}/${i.name}`}))}function BA(e){let t=FA(e).root,n=$(t,`cx:chartData`),r=$(t,`cx:chart`),i={entries:[]};if(zA(t,Sj,`cx:chartSpace`,i),r){zA(r,Cj,`cx:chartSpace/cx:chart`,i);let e=$(r,`cx:plotArea`);if(e){zA(e,wj,`cx:chartSpace/cx:chart/cx:plotArea`,i);let t=$(e,`cx:plotAreaRegion`);if(t){zA(t,Tj,`cx:chartSpace/cx:chart/cx:plotArea/cx:plotAreaRegion`,i);for(let e of IA(t,`cx:series`))zA(e,Ej,`cx:chartSpace/cx:chart/cx:plotArea/cx:plotAreaRegion/cx:series`,i)}for(let t of IA(e,`cx:series`))zA(t,Ej,`cx:chartSpace/cx:chart/cx:plotArea/cx:series`,i);for(let t of IA(e,`cx:axis`))zA(t,Dj,`cx:chartSpace/cx:chart/cx:plotArea/cx:axis`,i)}}let a=aj(r?$(r,`cx:spPr`):void 0),o=aj($(t,`cx:spPr`))??a,s=IA(t,`cx:externalData`).map(e=>({id:e.attributes[`r:id`]??``,autoUpdate:pj(e,`autoUpdate`)})),c=n?IA(n,`cx:externalData`).map(e=>({id:e.attributes[`r:id`]??``,autoUpdate:pj(e,`autoUpdate`)})):[],l=s.length>0?s:c;return{chartSpace:{chartData:VA(n,i),chart:KA(r,i),clrMapOvr:sj(t,`cx:clrMapOvr`),spPr:o,txPr:oj(t,`cx:txPr`),protection:sj(t,`cx:protection`),printSettings:sj(t,`cx:printSettings`),extLst:sj(t,`cx:extLst`),...l.length>0?{externalData:l}:{}},rawXml:e,...i.entries.length>0?{unknownElements:i.entries}:{}}}function VA(e,t){return e?{data:IA(e,`cx:data`).flatMap(e=>UA(e,t))}:{data:[]}}function HA(e,t){let n=$(e,`cx:strDim`),r=$(e,`cx:numDim`);return{id:vj(e.attributes.id),...n?{strDim:WA(n,t)}:{},...r?{numDim:GA(r,t)}:{}}}function UA(e,t){let n=vj(e.attributes.id),r=[];for(let t of e.children)t.type===`element`&&(t.name===`cx:strDim`||t.name===`cx:numDim`)&&r.push(t);if(r.length<=1)return[HA(e,t)];let i=[];for(let e=0;e<r.length;e++){let a=r[e],o=e===0?n:n*1e3+1e7+e;a.name===`cx:strDim`?i.push({id:o,strDim:WA(a,t)}):i.push({id:o,numDim:GA(a,t)})}return i}function WA(e,t){return{type:bj(e.attributes.type,t,`cx:strDim/@type`),formula:dj(e,`cx:f`),levels:IA(e,`cx:lvl`).map(e=>({ptCount:_j(e.attributes.ptCount),points:IA(e,`cx:pt`).map(e=>({index:vj(e.attributes.idx),value:LA(e)}))}))}}function GA(e,t){return{type:bj(e.attributes.type,t,`cx:numDim/@type`),formula:dj(e,`cx:f`),levels:IA(e,`cx:lvl`).map(e=>({ptCount:_j(e.attributes.ptCount),formatCode:e.attributes.formatCode,points:IA(e,`cx:pt`).map(e=>{let t=parseFloat(LA(e));if(Number.isFinite(t))return{index:vj(e.attributes.idx),value:t}}).filter(e=>e!==void 0)}))}}function KA(e,t){let n=e?$(e,`cx:plotArea`):void 0;return{title:e?nj($(e,`cx:title`)):void 0,autoTitleDeleted:e?pj($(e,`cx:autoTitleDeleted`),`val`):void 0,plotArea:qA(n,t),legend:e?tj($(e,`cx:legend`),t):void 0}}function qA(e,t){if(!e)return{};let n=$(e,`cx:plotAreaRegion`),r=IA(e,`cx:axis`).map(e=>ej(e,t));if(n){let i=$(n,`cx:plotSurface`);return{plotAreaRegion:{layout:ij($(n,`cx:layout`)),plotSurface:i?aj($(i,`cx:spPr`)):void 0,series:IA(n,`cx:series`).map(e=>YA(e,t,`cx:chartSpace/cx:chart/cx:plotArea/cx:plotAreaRegion/cx:series`)),extLst:sj(n,`cx:extLst`)},spPr:aj($(e,`cx:spPr`)),extLst:sj(e,`cx:extLst`),...r.length>0?{axis:r}:{}}}let i=IA(e,`cx:series`).map(e=>YA(e,t,`cx:chartSpace/cx:chart/cx:plotArea/cx:series`));return{...i.length>0?{series:i}:{},spPr:aj($(e,`cx:spPr`)),extLst:sj(e,`cx:extLst`),...r.length>0?{axis:r}:{}}}function JA(e,t,n){return e!==void 0&&Oj.has(e)?{layoutId:e}:(t?.entries.push({name:e===void 0?`@layoutId(missing)`:`@layoutId=${e}`,path:n}),{layoutId:`clusteredColumn`,rawLayoutId:e})}function YA(e,t,n){let r=IA(e,`cx:dataId`).map(e=>({dataId:vj(e.attributes.val)})),i=IA(e,`cx:axisId`).map(e=>{let t=e.attributes.val;if(t!==void 0&&t!==``)return vj(t);let n=LA(e).trim();if(n.length>0){let e=Number(n);if(Number.isFinite(e)&&e>=0)return Math.round(e)}}).filter(e=>e!==void 0),a=XA($(e,`cx:tx`)),o=ZA($(e,`cx:layoutPr`)),s=JA(e.attributes.layoutId,t,n??`cx:series`);return{layoutId:s.layoutId,...s.rawLayoutId===void 0?{}:{rawLayoutId:s.rawLayoutId},hidden:pj(e,`hidden`),ownerIdx:_j(e.attributes.ownerIdx),...a?{tx:a}:{},spPr:aj($(e,`cx:spPr`)),txPr:oj(e,`cx:txPr`),valueColors:sj(e,`cx:valueColors`),valueColorPositions:sj(e,`cx:valueColorPositions`),...r.length>0?{dataRefs:r}:{},...o?{layoutPr:o}:{},...i.length>0?{axisId:i}:{},dataLabels:QA($(e,`cx:dataLabels`),t,n),dataPt:IA(e,`cx:dataPt`).map(e=>({idx:vj(e.attributes.idx),spPr:aj($(e,`cx:spPr`))})),extLst:sj(e,`cx:extLst`)}}function XA(e){if(!e)return;let t=$(e,`cx:rich`);if(t){let e=rj(t);if(e)return{rich:e}}let n=$(e,`cx:txData`);if(!n)return;let r=dj(n,`cx:f`);if(r){let e=dj(n,`cx:v`);return{strRef:e===void 0?{formula:r}:{formula:r,cached:e}}}let i=dj(n,`cx:v`);return i===void 0?void 0:{value:i}}function ZA(e){if(!e)return;let t=$(e,`cx:binning`),n=$(e,`cx:subtotals`),r=n?[...IA(n,`cx:idx`).map(e=>({idx:vj(e.attributes.val)})),...IA(n,`cx:subtotal`).map(e=>({idx:vj(e.attributes.idx)}))]:void 0,i=fj(e,`cx:parentLabelLayout`),a=$(e,`cx:visibility`),o=$(e,`cx:statistics`),s=$(e,`cx:geography`),c=$(e,`cx:regionLabelLayout`),l=o?.attributes.quartileMethod??fj(e,`cx:quartileMethod`),u=s?.attributes.projectionType??fj(e,`cx:projection`),d=c?.attributes.val??fj(e,`cx:regionLabels`),f=d===`bestFitOnly`?`bestFit`:d,p=s?.attributes.viewedRegionType??fj(e,`cx:geoMappingLevel`),m=p===`countryRegion`?`country`:p===`dataOnly`?`automatic`:p;return{_rawXml:lj(e),...i===void 0?{}:{parentLabelLayout:i},...r===void 0?{}:{subtotals:r},...(()=>{let t=a?.attributes.connectorLines;if(t!==void 0){let e=mj(t);return e===void 0?{}:{connectorLines:e}}let n=hj($(e,`cx:connectorLines`));return n===void 0?{}:{connectorLines:n}})(),...t?{binning:{intervalClosed:t.attributes.intervalClosed===`l`||t.attributes.intervalClosed===`r`?t.attributes.intervalClosed:void 0,underflow:yj(t.attributes.underflow),overflow:yj(t.attributes.overflow),binSize:yj((dj(t,`cx:binSize`)||void 0)??fj(t,`cx:binSize`)),binCount:_j((dj(t,`cx:binCount`)||void 0)??fj(t,`cx:binCount`)),binType:$(t,`cx:auto`)?`auto`:$(t,`cx:categories`)?`categories`:$(t,`cx:manual`)?`manual`:$(t,`cx:binSize`)?`binSize`:$(t,`cx:binCount`)?`binCount`:`auto`}}:{},...(()=>{let t=hj($(e,`cx:paretoLine`));return t===void 0?{}:{paretoLine:t}})(),...l===void 0?{}:{quartileMethod:l},...(()=>{let t=a?.attributes.meanLine;if(t!==void 0){let e=mj(t);return e===void 0?{}:{showMeanLine:e}}let n=hj($(e,`cx:showMeanLine`));return n===void 0?{}:{showMeanLine:n}})(),...(()=>{let t=a?.attributes.meanMarker;if(t!==void 0){let e=mj(t);return e===void 0?{}:{showMeanMarker:e}}let n=hj($(e,`cx:showMeanMarker`));return n===void 0?{}:{showMeanMarker:n}})(),...(()=>{let t=a?.attributes.nonoutliers;if(t!==void 0){let e=mj(t);return e===void 0?{}:{showInnerPoints:e}}let n=hj($(e,`cx:showInnerPoints`));return n===void 0?{}:{showInnerPoints:n}})(),...(()=>{let t=a?.attributes.outliers;if(t!==void 0){let e=mj(t);return e===void 0?{}:{showOutlierPoints:e}}let n=hj($(e,`cx:showOutlierPoints`));return n===void 0?{}:{showOutlierPoints:n}})(),...u===void 0?{}:{projection:u},...f===void 0?{}:{regionLabels:f},...m===void 0?{}:{geoMappingLevel:m},extLst:sj(e,`cx:extLst`)}}function QA(e,t,n){if(!e)return;let r=$(e,`cx:visibility`),i=[`ctr`,`l`,`r`,`t`,`b`,`inBase`,`inEnd`,`inStart`,`outEnd`,`outStart`,`ctrEnd`,`bestFit`],a=n??`cx:dataLabels`;return{visibility:r?{seriesName:pj(r,`seriesName`),categoryName:pj(r,`categoryName`),value:pj(r,`value`),numFmt:pj(r,`numFmt`)}:void 0,position:gj($(e,`cx:dataLabel`)?.attributes.pos,i,t,`${a}/cx:dataLabel/@pos`),separator:dj(e,`cx:separator`),numFmt:$(e,`cx:numFmt`)?.attributes.formatCode,spPr:aj($(e,`cx:spPr`)),txPr:oj(e,`cx:txPr`)}}function $A(e){if(!e)return;let t=$(e,`cx:spPr`);return t?aj(t):{}}function ej(e,t){let n=$(e,`cx:numFmt`),r=$(e,`cx:valScaling`),i=$(e,`cx:catScaling`),a=[`cross`,`in`,`out`,`none`],o=e=>{if(e!==void 0)return e===`in`?`inside`:e===`out`?`outside`:e};return{axisId:vj(e.attributes.id),type:$(e,`cx:valScaling`)?`val`:`cat`,hidden:pj(e,`hidden`)??hj($(e,`cx:hidden`)),majorTickMark:o(gj($(e,`cx:majorTickMarks`)?.attributes.type??$(e,`cx:majorTickMark`)?.attributes.type??fj(e,`cx:majorTickMarks`)??fj(e,`cx:majorTickMark`),a,t,`cx:axis/cx:majorTickMarks/@type`)),minorTickMark:o(gj($(e,`cx:minorTickMarks`)?.attributes.type??$(e,`cx:minorTickMark`)?.attributes.type??fj(e,`cx:minorTickMarks`)??fj(e,`cx:minorTickMark`),a,t,`cx:axis/cx:minorTickMarks/@type`)),numFmt:n?{formatCode:n.attributes.formatCode||`General`,sourceLinked:pj(n,`sourceLinked`)}:void 0,title:nj($(e,`cx:title`)),majorGridlines:$A($(e,`cx:majorGridlines`)),minorGridlines:$A($(e,`cx:minorGridlines`)),spPr:aj($(e,`cx:spPr`)),txPr:oj(e,`cx:txPr`),valScaling:r?{min:yj(r.attributes.min),max:yj(r.attributes.max),majorUnit:yj(r.attributes.majorUnit),minorUnit:yj(r.attributes.minorUnit)}:void 0,catScaling:i?{gapWidth:yj(i.attributes.gapWidth)}:void 0,units:sj(e,`cx:units`),extLst:sj(e,`cx:extLst`)}}function tj(e,t){if(e)return{legendPos:gj(e.attributes.pos,[`b`,`l`,`r`,`t`,`tr`],t,`cx:legend/@pos`),align:gj(e.attributes.align,[`ctr`,`l`,`r`,`t`,`b`],t,`cx:legend/@align`),overlay:pj(e,`overlay`),spPr:aj($(e,`cx:spPr`)),txPr:oj(e,`cx:txPr`),extLst:sj(e,`cx:extLst`),legendEntries:IA(e,`cx:legendEntry`).map(e=>({index:vj(e.attributes.idx),delete:pj(e,`delete`),txPr:oj(e,`cx:txPr`),extLst:sj(e,`cx:extLst`)}))}}function nj(e){if(!e)return;let t=$(e,`cx:tx`),n=rj($(t??xj(),`cx:rich`)),r=$(t??xj(),`cx:txData`),i=r?dj(r,`cx:f`):void 0,a=r?dj(r,`cx:v`):void 0,o=i?{formula:i,cache:a===void 0?{points:[]}:{points:[{index:0,value:a}]}}:void 0,s=pj($(e,`cx:overlay`),`val`),c=aj($(e,`cx:spPr`)),l=oj(e,`cx:txPr`),u=sj(e,`cx:tx`);if(!(n===void 0&&o===void 0&&s===void 0&&c===void 0&&l===void 0&&(u===void 0||/^<cx:tx\s*\/>$/.test(u.trim()))))return{text:n,strRef:o,overlay:s,spPr:c,txPr:l,rawTx:u}}function rj(e){if(!e)return;let t=IA(e,`a:p`).map(e=>({runs:IA(e,`a:r`).map(e=>{let t=dj(e,`a:t`)??``,n=$(e,`a:rPr`);if(!n)return{text:t};let r=cj(n);if(!r)return{text:t};let i=gv({_rawXml:`<a:txPr><a:p>${r.replace(/^<a:rPr\b/,`<a:defRPr`).replace(/<\/a:rPr>$/,`</a:defRPr>`)}</a:p></a:txPr>`});if(!i||Object.keys(i).length===0)return{text:t};let{_rawXml:a,...o}=i;return{text:t,properties:o}})}));return t.length>0?{paragraphs:t}:void 0}function ij(e){let t=cj(e);return t?{_rawXml:t}:void 0}function aj(e){let t=cj(e);if(t)return{...ev({_rawXml:t}),_rawXml:t}}function oj(e,t){let n=sj(e,t);if(n)return{...gv({_rawXml:n}),_rawXml:n}}function sj(e,t){return cj($(e,t))}function cj(e){if(e)return lj(e)}function lj(e){let t=Object.entries(e.attributes??{}).map(([e,t])=>` ${e}="${sn(t)}"`).join(``),n=e.children??[];return n.length===0?`<${e.name}${t}/>`:`<${e.name}${t}>${n.map(uj).join(``)}</${e.name}>`}function uj(e){return e.type===`text`?A_(e.value??``):e.type===`element`?lj(e):e.type===`cdata`?`<![CDATA[${e.value??``}]]>`:e.type===`comment`?`<!--${e.value??``}-->`:e.type===`processing-instruction`?`<?${e.target}${e.body?` ${e.body}`:``}?>`:``}function dj(e,t){let n=$(e,t);return n?LA(n):void 0}function fj(e,t){return $(e,t)?.attributes.val}function pj(e,t){let n=e?.attributes[t];if(n!==void 0)return mj(n)}function mj(e){if(e!==void 0){if(e===`1`||e===`true`)return!0;if(e===`0`||e===`false`)return!1}}function hj(e){if(e)return e.attributes.val===void 0||pj(e,`val`)}function gj(e,t,n,r){if(e!==void 0){if(t.includes(e))return e;n?.entries.push({name:`${r}=${e}`,path:r})}}function _j(e){if(e===void 0)return;let t=parseInt(e,10);return Number.isFinite(t)?t:void 0}function vj(e){if(e===void 0||e===``)return 0;let t=parseInt(e,10);return!Number.isFinite(t)||t<0?0:t}function yj(e){if(e===void 0)return;let t=parseFloat(e);return Number.isFinite(t)?t:void 0}function bj(e,t,n){let r=[`cat`,`val`,`x`,`y`,`size`,`colorVal`,`from`,`to`,`classification`];if(e===void 0)return`val`;if(r.includes(e))return e;let i=n??`cx:dim/@type`;return t?.entries.push({name:`${i}=${e}`,path:i}),`val`}function xj(){return{type:`element`,name:``,attributes:{},children:[]}}var Sj,Cj,wj,Tj,Ej,Dj,Oj,kj=n((()=>{G_(),Cv(),RA(),Sj=new Set([`cx:chartData`,`cx:chart`,`cx:clrMapOvr`,`cx:spPr`,`cx:txPr`,`cx:protection`,`cx:printSettings`,`cx:externalData`,`cx:extLst`]),Cj=new Set([`cx:title`,`cx:autoTitleDeleted`,`cx:plotArea`,`cx:legend`,`cx:spPr`,`cx:extLst`]),wj=new Set([`cx:plotAreaRegion`,`cx:series`,`cx:axis`,`cx:spPr`,`cx:extLst`]),Tj=new Set([`cx:layout`,`cx:plotSurface`,`cx:spPr`,`cx:series`,`cx:extLst`]),Ej=new Set([`cx:tx`,`cx:spPr`,`cx:txPr`,`cx:valueColors`,`cx:valueColorPositions`,`cx:dataPt`,`cx:dataLabels`,`cx:dataId`,`cx:layoutPr`,`cx:axisId`,`cx:extLst`]),Dj=new Set([`cx:catScaling`,`cx:valScaling`,`cx:hidden`,`cx:majorTickMark`,`cx:majorTickMarks`,`cx:minorTickMark`,`cx:minorTickMarks`,`cx:numFmt`,`cx:title`,`cx:units`,`cx:majorGridlines`,`cx:minorGridlines`,`cx:spPr`,`cx:txPr`,`cx:extLst`]),Oj=new Set([`clusteredColumn`,`waterfall`,`funnel`,`boxWhisker`,`paretoLine`,`regionMap`,`sunburst`,`treemap`])}));function Aj(e){switch(e){case`bar`:return{type:`bar`,barDir:`bar`,grouping:`clustered`};case`barStacked`:return{type:`bar`,barDir:`bar`,grouping:`stacked`};case`barPercentStacked`:return{type:`bar`,barDir:`bar`,grouping:`percentStacked`};case`column`:return{type:`bar`,barDir:`col`,grouping:`clustered`};case`columnStacked`:return{type:`bar`,barDir:`col`,grouping:`stacked`};case`columnPercentStacked`:return{type:`bar`,barDir:`col`,grouping:`percentStacked`};case`line`:return{type:`line`,grouping:`standard`};case`lineStacked`:return{type:`line`,grouping:`stacked`};case`lineMarked`:return{type:`line`,grouping:`standard`};case`pie`:return{type:`pie`};case`pie3D`:return{type:`pie3D`};case`doughnut`:return{type:`doughnut`};case`area`:return{type:`area`,grouping:`standard`};case`areaStacked`:return{type:`area`,grouping:`stacked`};case`scatter`:return{type:`scatter`,scatterStyle:`lineMarker`};case`scatterSmooth`:return{type:`scatter`,scatterStyle:`smooth`};case`radar`:return{type:`radar`,radarStyle:`standard`};case`radarFilled`:return{type:`radar`,radarStyle:`filled`};case`bubble`:return{type:`bubble`};case`stock`:return{type:`stock`};case`surface`:return{type:`surface`};case`surface3D`:return{type:`surface3D`};case`surfaceWireframe`:return{type:`surface`,wireframe:!0};case`surfaceWireframe3D`:return{type:`surface3D`,wireframe:!0};default:return{type:`bar`,barDir:`col`,grouping:`clustered`}}}function jj(e){return{strLit:{pointCount:e.length,points:e.map((e,t)=>({index:t,value:e}))}}}function Mj(e){return{numLit:{pointCount:e.length,points:e.map((e,t)=>({index:t,value:e}))}}}function Nj(e){if(!(!e||e===`none`))return{b:`b`,l:`l`,r:`r`,t:`t`,tr:`tr`}[e]??`r`}function Pj(e){let t=Aj(e.type),n=Fj(e,t),r=Ij(t,e),i=e.legend&&e.legend!==`none`?{legendPos:Nj(e.legend)}:void 0;return{chart:{title:e.title?{text:{paragraphs:[{runs:[{text:e.title}]}]}}:void 0,autoTitleDeleted:!e.title,plotArea:{chartTypes:[n],axes:r},legend:i,plotVisOnly:!0}}}function Fj(e,t){let{type:n}=t;switch(n){case`bar`:case`bar3D`:{let r=e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:jj(e.categories),val:Mj(e.values)}));return{type:n,barDir:t.barDir??`col`,grouping:t.grouping??`clustered`,varyColors:e.series.length===1,series:r,axisIds:[1,2]}}case`line`:case`line3D`:{let r=e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:jj(e.categories),val:Mj(e.values)}));return{type:n,grouping:t.grouping??`standard`,varyColors:!1,series:r,axisIds:[1,2]}}case`pie`:case`pie3D`:return{type:n,varyColors:!0,series:e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:jj(e.categories),val:Mj(e.values)}))};case`doughnut`:return{type:`doughnut`,varyColors:!0,series:e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:jj(e.categories),val:Mj(e.values)})),holeSize:50};case`area`:case`area3D`:{let r=e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:jj(e.categories),val:Mj(e.values)}));return{type:n,grouping:t.grouping??`standard`,varyColors:!1,series:r,axisIds:[1,2]}}case`scatter`:{let n=e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},xVal:jj(e.categories),yVal:Mj(e.values)}));return{type:`scatter`,scatterStyle:t.scatterStyle??`lineMarker`,varyColors:!1,series:n,axisIds:[1,2]}}case`radar`:{let n=e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:jj(e.categories),val:Mj(e.values)}));return{type:`radar`,radarStyle:t.radarStyle??`standard`,varyColors:!1,series:n,axisIds:[1,2]}}case`surface`:case`surface3D`:{let r=e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:jj(e.categories),val:Mj(e.values)}));return{type:n,wireframe:t.wireframe,series:r,axisIds:[1,2,3]}}case`bubble`:return{type:`scatter`,scatterStyle:`lineMarker`,varyColors:!1,series:e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},xVal:jj(e.categories),yVal:Mj(e.values)})),axisIds:[1,2]};case`stock`:return{type:`line`,grouping:`standard`,varyColors:!1,series:e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:jj(e.categories),val:Mj(e.values)})),axisIds:[1,2]};default:return{type:`bar`,barDir:`col`,grouping:`clustered`,varyColors:!1,series:e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:jj(e.categories),val:Mj(e.values)})),axisIds:[1,2]}}}function Ij(e,t){let{type:n}=e;if(n===`pie`||n===`pie3D`||n===`doughnut`)return[];let r=[{axisType:`cat`,axId:1,axPos:`b`,crossAx:2,scaling:{},delete:t.categoryAxis?.hidden},{axisType:`val`,axId:2,axPos:`l`,crossAx:1,scaling:{min:t.valueAxis?.min,max:t.valueAxis?.max},majorUnit:t.valueAxis?.majorUnit,delete:t.valueAxis?.hidden,numFmt:t.valueAxis?.numberFormat?{formatCode:t.valueAxis.numberFormat,sourceLinked:!1}:void 0}];return(n===`surface`||n===`surface3D`)&&r.push({axisType:`ser`,axId:3,axPos:`b`,crossAx:2,scaling:{}}),r}var Lj=n((()=>{})),Rj=r({createWordChartPdfRenderer:()=>zj,createWordLayoutChartPdfRenderer:()=>Bj});function zj(){return(e,t,n)=>{Nb(t,Pj(e),n)}}function Bj(){return(e,t,n)=>{let r=e.source;if(e.chartKind===`chart`){if(r&&r.type===`chart`){Nb(t,Pj(r.chart),n);return}return!1}if(r&&r.type===`chartEx`&&r.chartExXml){let i;try{i=BA(r.chartExXml)}catch{return!1}if(i&&qC(i)){JC(t,i,n,{title:e.title});return}}return!1}}var Vj=n((()=>{xT(),zC(),kj(),Lj()})),Hj=r({docxToPdf:()=>Uj});async function Uj(e,t){let n=Wj(e,t),r;try{let e=await Promise.resolve().then(()=>(Vj(),Rj));typeof e.createWordLayoutChartPdfRenderer==`function`&&(r=e.createWordLayoutChartPdfRenderer())}catch{}let i=kk(e,n),a=t?.chartRenderer;return UD(i,{title:e.coreProperties?.title,author:e.coreProperties?.creator,subject:e.coreProperties?.subject,defaultFont:t?.defaultFont??`Helvetica`,defaultFontSize:t?.defaultFontSize??11,chartRenderer:a||r?(e,t,n)=>{let i=e.source;if(a&&i&&i.type===`chart`){let e=a(i.chart,t,n);if(e!==!1)return e}return r?r(e,t,n):!1}:void 0}).build()}function Wj(e,t){let n=e.sectionProperties,r,i;n?.pageSize&&(r=Yc(n.pageSize.width),i=Yc(n.pageSize.height),n.pageSize.orientation===`landscape`&&([r,i]=[i,r]));let a=n?.margins?.top==null?void 0:Yc(n.margins.top),o=n?.margins?.bottom==null?void 0:Yc(n.margins.bottom),s=n?.margins?.left==null?void 0:Yc(n.margins.left),c=n?.margins?.right==null?void 0:Yc(n.margins.right),l={pageWidth:t?.pageWidth??r,pageHeight:t?.pageHeight??i,marginTop:t?.marginTop??a,marginBottom:t?.marginBottom??o,marginLeft:t?.marginLeft??s,marginRight:t?.marginRight??c,headerMargin:t?.headerMargin,footerMargin:t?.footerMargin},u={};return Object.values(l).some(e=>e!==void 0)&&(u.pageGeometry=l),u}var Gj=n((()=>{mO(),al(),jA()})),Kj=r({Builder:()=>wc,Editor:()=>Up,EditorPage:()=>Hp,PageBuilder:()=>Cc,PageSizes:()=>qc,asn1Parse:()=>gs,buildSignatureDictPlaceholder:()=>js,create:()=>yu,fromChart:()=>Jj,fromDocx:()=>Yj,fromExcel:()=>qj,parseSvgPath:()=>ac,read:()=>wp,sign:()=>Ms,verifySignature:()=>As,wordChartRenderer:()=>Xj});Tc(),ic(),Jc();async function qj(e,t){let{excelToPdf:n}=await Promise.resolve().then(()=>(HD(),iD));return n(e,t)}async function Jj(e,t){let{chartToPdf:n}=await Promise.resolve().then(()=>(HD(),iD));return n(e,t)}async function Yj(e,t){let{docxToPdf:n}=await Promise.resolve().then(()=>(Gj(),Hj));return n(e,t)}async function Xj(){let{createWordChartPdfRenderer:e}=await Promise.resolve().then(()=>(Vj(),Rj));return e()}Zt(),Object.defineProperty(e,"Pdf",{enumerable:!0,get:function(){return Kj}}),e.PdfError=Jt,e.PdfFontError=Xt,e.PdfRenderError=Yt,e.PdfStructureError=T,e.isPdfError=qt})(this.Documonster.Pdf=this.Documonster.Pdf||{});
|
|
58
|
+
`);r.extractMetadata&&(n.pageCount=t);let o=[];if(r.extractFormFields)try{o=Af(i)}catch{}let s=[];if(r.extractBookmarks)try{s=Ed(i)}catch{}return{text:a,pages:e,metadata:n,formFields:o,bookmarks:s}}function rm(e,t){return t.resolvePageBox(e)??{width:612,height:792}}function im(){return{title:``,author:``,subject:``,keywords:``,creator:``,producer:``,creationDate:null,modDate:null,pdfVersion:``,pageCount:0,encrypted:!1,pageSize:null,xmpXml:null,custom:{}}}m(),Jt();function am(e){let{value:t,rect:n,alignment:r=`left`}=e,i=e.fontName??`Helv`,a=n[0]??0,o=n[1]??0,s=n[2]??a,c=n[3]??o,l=Math.abs(s-a),u=Math.abs(c-o),d=e.fontSize??0;d<=0&&(d=Math.max(4,Math.min(u*.7,20)));let f=d*.5,p=t.length*f,m,h=l-4;switch(r){case`center`:m=2+Math.max(0,(h-p)/2);break;case`right`:m=2+Math.max(0,h-p);break;default:m=2}let g=d*.75,_=d*.25,v=(u-(g+_))/2+_,y=new Kt;return y.rect(0,0,l,u).clip().endPath(),y.beginText().setFont(i,d).moveText(m,v).showText(t).endText(),{stream:y.toUint8Array(),resources:`<< /Font << /${i} << /Type /Font /Subtype /Type1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> >> >>`}}function om(e){let t=e[0]??0,n=e[1]??0,r=e[2]??t,i=e[3]??n,a=Math.abs(r-t),o=Math.abs(i-n);return`[0 0 ${s(a)} ${s(o)}]`}let sm=new Set([`Font`,`XObject`,`ExtGState`,`ColorSpace`,`Pattern`,`Shading`,`Properties`]);function cm(e,t){let n=new Map;for(let[t,r]of e)n.set(t,new Map(r));for(let[e,r]of t){let t=n.get(e);if(t&&sm.has(e))for(let[e,n]of r)t.set(e,n);else t&&sm.has(e),n.set(e,new Map(r))}return n}function lm(e){let t=new Map,n=e.trim();if(!n.startsWith(`<<`)||!n.endsWith(`>>`))return t;let r=n.slice(2,-2).trim();if(!r)return t;let i=dm(r);for(let[e,n]of i){let r=n.trim();if(sm.has(e)&&r.startsWith(`<<`)){let n=dm(r.slice(2,-2).trim()),i=new Map;for(let[e,t]of n)i.set(e,t.trim());t.set(e,i)}else{let n=new Map;n.set(``,r),t.set(e,n)}}return t}function um(e){if(e.size===0)return`<< >>`;let t=[`<<`];for(let[n,r]of e)if(sm.has(n)&&!(r.size===1&&r.has(``))){let e=[`<<`];for(let[t,n]of r)e.push(`/${t} ${n}`);e.push(`>>`),t.push(`/${n} ${e.join(` `)}`)}else{let e=r.get(``)??``;e&&t.push(`/${n} ${e}`)}return t.push(`>>`),t.join(` `)}function dm(e){let t=new Map,n=0;for(;n<e.length;){for(;n<e.length&&fm(e[n]);)n++;if(n>=e.length||e[n]!==`/`)break;n++;let r=n;for(;n<e.length&&!pm(e[n]);)n++;let i=e.slice(r,n);for(;n<e.length&&fm(e[n]);)n++;let a=n;n=n<e.length&&e[n]===`<`&&n+1<e.length&&e[n+1]===`<`?mm(e,n):n<e.length&&e[n]===`[`?hm(e,n):gm(e,n,a);let o=e.slice(a,n).trim();i&&o&&t.set(i,o)}return t}function fm(e){return e===` `||e===` `||e===`
|
|
59
|
+
`||e===`\r`||e===`\f`}function pm(e){return fm(e)||e===`/`||e===`<`||e===`>`||e===`[`||e===`]`||e===`(`||e===`)`}function mm(e,t){let n=t,r=0;for(;n<e.length;)if(e[n]===`<`&&n+1<e.length&&e[n+1]===`<`)r++,n+=2;else if(e[n]===`>`&&n+1<e.length&&e[n+1]===`>`){if(r--,n+=2,r===0)return n}else n++;return n}function hm(e,t){let n=t,r=0;for(;n<e.length;){if(e[n]===`[`)r++;else if(e[n]===`]`&&(r--,r===0))return n++,n;n++}return n}function gm(e,t,n){for(;t<e.length&&!(e[t]===`/`&&t>n&&fm(e[t-1])||e[t]===`<`&&t+1<e.length&&e[t+1]===`<`);)t++;return t}at(),m(),sn(),$t(),Da(),qa(),Ws();var _m=class{constructor(e,t,n,r){this._pageIndex=e,this._width=t,this._height=n,this._overlay=new el(t,n,r)}get width(){return this._width}get height(){return this._height}measureText(e,t){return this._overlay.measureText(e,t)}drawText(e,t){return this._overlay.drawText(e,t),this}drawRect(e){return this._overlay.drawRect(e),this}drawCircle(e){return this._overlay.drawCircle(e),this}drawEllipse(e){return this._overlay.drawEllipse(e),this}drawLine(e){return this._overlay.drawLine(e),this}drawImage(e){return this._overlay.drawImage(e),this}getContentStream(){return this._overlay._stream}addAnnotation(e){return this._overlay.addAnnotation(e),this}addFormField(e){return this._overlay.addFormField(e),this}drawSvgPath(e,t){return this._overlay.drawSvgPath(e,t),this}drawPath(e,t){return this._overlay.drawPath(e,t),this}_hasOverlay(){return this._overlay._stream.hasContent()||this._overlay._images.length>0||this._overlay._builderAnnotations.length>0||this._overlay._formFields.length>0}},vm=class e{constructor(e,t){if(this._pages=[],this._newPages=[],this._fontManager=new Ea,this._formFieldUpdates=new Map,this._copiedPages=[],this._removedPageIndices=new Set,this._isIncrementalSave=!1,this._rotationOverrides=new Map,this._signaturePlaceholder=null,this._writerForSave=null,this._clonedRefs=new Map,this._doc=new Mp(e),this._password=t,ap(this._doc)&&!ip(this._doc,t))throw new T(`Failed to decrypt PDF: incorrect password`);let n=this._doc.getPagesWithObjInfo();for(let e=0;e<n.length;e++){let{dict:t}=n[e],r=this._doc.resolvePageBox(t)??{width:612,height:792};this._pages.push(new _m(e,r.width,r.height,this._fontManager))}}static load(t,n){return new e(t,n?.password??``)}get pageCount(){return this._pages.length}getPage(e){if(e<0||e>=this._pages.length)throw new T(`Page index ${e} out of range (0-${this._pages.length-1})`);return this._pages[e]}addPage(e){let t=e?.width??595.28,n=e?.height??841.89,r=new el(t,n,this._fontManager);return this._newPages.push(r),r}removePage(e){if(e<0||e>=this._pages.length)throw new T(`Page index ${e} out of range (0-${this._pages.length-1})`);return this._removedPageIndices.add(e),this}rotatePage(e,t){if(e<0||e>=this._pages.length)throw new T(`Page index ${e} out of range (0-${this._pages.length-1})`);if(t!==0&&t!==90&&t!==180&&t!==270)throw new T(`Invalid rotation ${t}: must be 0, 90, 180, or 270`);return this._rotationOverrides.set(e,t),this}async splitPages(t){let n=this._doc.getPagesWithObjInfo(),r=t??Array.from({length:n.length},(e,t)=>t),i=[];for(let t of r){if(t<0||t>=n.length)continue;let r=e.load(this._doc.data,{password:this._password});for(let e=0;e<n.length;e++)e!==t&&r.removePage(e);i.push(await r.save())}return i}embedFont(e){let t=Oa(e);return this._fontManager.registerEmbeddedFont(t),this}setFormField(e,t){return this._formFieldUpdates.set(e,t),this}setFormFields(e){for(let[t,n]of Object.entries(e))this._formFieldUpdates.set(t,n);return this}getFormFields(){return Af(this._doc)}copyPagesFrom(e,t,n){let r=new Mp(e);if(ap(r)&&!ip(r,n?.password??``))throw new T(`Failed to decrypt source PDF for page copy`);let i=r.getPagesWithObjInfo(),a=t??Array.from({length:i.length},(e,t)=>t);for(let e of a){if(e<0||e>=i.length)continue;let{dict:t}=i[e],n=r.resolvePageBox(t)??{width:612,height:792},a=this._collectContentStreams(r,t);this._copiedPages.push({width:n.width,height:n.height,contentStreams:a,sourceDoc:r,sourcePageDict:t})}return this}async save(){let e=new on;this._writerForSave=e,this._clonedRefs=new Map;try{return await this._buildFullSave(e)}finally{this._writerForSave=null,this._clonedRefs.clear()}}async _buildFullSave(e){let t=await this._fontManager.writeFontResources(e),n=this._fontManager.buildFontDictString(t),r=e.allocObject(),a=[],o=this._doc.getPagesWithObjInfo();for(let t=0;t<o.length;t++){if(this._removedPageIndices.has(t))continue;let{dict:c}=o[t],u=this._doc.resolvePageBox(c)??{width:612,height:792},d=this._pages[t],f=this._collectContentStreams(this._doc,c),m=this._serializeResources(this._doc,c),h=[];for(let t of f){let n=e.allocObject();e.addStreamObject(n,new p,t),h.push(n)}let g=``;if(d._hasOverlay()){let t=e.allocObject();e.addStreamObject(t,new p,d._overlay._stream),h.push(t);let r=this._writeOverlayImages(e,d._overlay);g=um(this._buildOverlayResourceDict(e,d._overlay,n,r))}let _=e.allocObject(),v=this._mergeResourceStrings(m,g);e.addObject(_,v||`<< >>`);let y=h.length===1?l(h[0]):`[${h.map(e=>l(e)).join(` `)}]`,b=this._writeFormFieldUpdates(e,c,t);for(let t of d._overlay._builderAnnotations){let n=e.allocObject(),r=`[${s(t.rect[0])} ${s(t.rect[1])} ${s(t.rect[2])} ${s(t.rect[3])}]`,i=new p().set(`Type`,`/Annot`).set(`Subtype`,`/${t.subtype}`).set(`Rect`,r).set(`F`,`4`);for(let[e,n]of t.entries)i.set(e,n);e.addObject(n,i),b.push(n)}for(let t of d._overlay._formFields)if(t.options.type===`radio`){let n=e.allocObject(),r=[],a=32768;a|=16384,t.options.readOnly&&(a|=1),t.options.required&&(a|=2);for(let i of t.options.buttons){let a=e.allocObject(),o=`[${i.rect.map(e=>s(e)).join(` `)}]`,c=t.options.selected===i.value?`/${i.value}`:`/Off`,u=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Widget`).set(`Rect`,o).set(`Parent`,l(n)).set(`AS`,c).set(`AP`,`<< /N << /${i.value} null /Off null >> >>`);e.addObject(a,u),r.push(a),b.push(a)}let o=new p().set(`FT`,`/Btn`).set(`T`,i(t.options.name)).set(`Ff`,String(a)).set(`Kids`,`[${r.map(e=>l(e)).join(` `)}]`);t.options.selected&&o.set(`V`,`/${t.options.selected}`),e.addObject(n,o)}else{let n=e.allocObject(),r=t.options.rect,a=`[${s(r[0])} ${s(r[1])} ${s(r[2])} ${s(r[3])}]`,o=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Widget`).set(`Rect`,a).set(`T`,i(t.options.name)).set(`FT`,t.options.type===`text`?`/Tx`:t.options.type===`checkbox`?`/Btn`:`/Ch`);t.options.value&&o.set(`V`,i(t.options.value)),o.set(`DA`,i(`/Helv 12 Tf 0 g`)),e.addObject(n,o),b.push(n)}let x=new p().set(`Type`,`/Page`).set(`Parent`,l(r)).set(`MediaBox`,`[0 0 ${s(u.width)} ${s(u.height)}]`).set(`Contents`,y).set(`Resources`,l(_));this._copyPageProperties(c,x);let S=this._rotationOverrides.get(t);S!==void 0&&(S===0?x.delete(`Rotate`):x.set(`Rotate`,String(S))),b.length>0&&x.set(`Annots`,`[${b.map(e=>l(e)).join(` `)}]`);let C=e.allocObject();e.addObject(C,x),a.push(C)}for(let t of this._copiedPages){let n=[];for(let r of t.contentStreams){let t=e.allocObject();e.addStreamObject(t,new p,r),n.push(t)}let i=this._serializeResources(t.sourceDoc,t.sourcePageDict),o=e.allocObject();e.addObject(o,i||`<< >>`);let c=n.length===1?l(n[0]):`[${n.map(e=>l(e)).join(` `)}]`,u=new p().set(`Type`,`/Page`).set(`Parent`,l(r)).set(`MediaBox`,`[0 0 ${s(t.width)} ${s(t.height)}]`).set(`Contents`,c).set(`Resources`,l(o));this._copyPageProperties(t.sourcePageDict,u,t.sourceDoc);let d=e.allocObject();e.addObject(d,u),a.push(d)}for(let t of this._newPages){let i=this._writeOverlayImages(e,t),o=``;i.size>0&&(o=`<< ${[...i.entries()].map(([e,t])=>`/${e} ${l(t)}`).join(` `)} >>`);let c=e.allocObject();e.addStreamObject(c,new p,t._stream);let u=``;if(t._alphaValues.size>0){let n=[];for(let r of t._alphaValues){let t=e.allocObject(),i=new p().set(`Type`,`/ExtGState`).set(`ca`,s(r)).set(`CA`,s(r));e.addObject(t,i),n.push(`/${ms(r)} ${l(t)}`)}u=`<< ${n.join(` `)} >>`}let d=e.allocObject(),f=`<< `;n&&(f+=`/Font ${n} `),o&&(f+=`/XObject ${o} `),u&&(f+=`/ExtGState ${u} `),f+=`>>`,e.addObject(d,f);let m=e.addPage({parentRef:r,width:t._width,height:t._height,contentsRef:c,resourcesRef:d});a.push(m)}let c=a.map(e=>l(e)).join(` `);e.addObject(r,new p().set(`Type`,`/Pages`).set(`Kids`,`[${c}]`).set(`Count`,String(a.length)));let u=e.allocObject(),d=new p().set(`Type`,`/Catalog`).set(`Pages`,l(r));if(this._formFieldUpdates.size>0)try{let e=this._doc.getCatalog().get(`AcroForm`);if(e){let t=this._deepSerialize(this._doc,e);t&&t.startsWith(`<<`)?d.set(`AcroForm`,t.replace(`<<`,`<< /NeedAppearances true`)):d.set(`AcroForm`,`<< /NeedAppearances true >>`)}else d.set(`AcroForm`,`<< /NeedAppearances true >>`)}catch{d.set(`AcroForm`,`<< /NeedAppearances true >>`)}try{let e=this._doc.getCatalog().get(`Metadata`);if(e){let t=this._deepSerialize(this._doc,e);t&&d.set(`Metadata`,t)}}catch{}if(e.addObject(u,d),e.setCatalog(u),this._signaturePlaceholder){let t=e.allocObject();e.addObject(t,this._signaturePlaceholder);let n=e.allocObject(),r=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Widget`).set(`FT`,`/Sig`).set(`Rect`,`[0 0 0 0]`).set(`T`,i(`Signature1`)).set(`V`,l(t)).set(`F`,`4`);e.addObject(n,r);let a=d.toString().match(/\/Fields\s*\[([^\]]*)\]/),o=a?a[1].trim():``,s=l(n),c=o?`${o} ${s}`:s;d.set(`AcroForm`,`<< /Fields [${c}] /SigFlags 3 >>`),e.addObject(u,d)}let f=Jf(this._doc);return e.addInfoDict({title:f.title||void 0,author:f.author||void 0,subject:f.subject||void 0,creator:f.creator||`documonster`}),e.build()}async saveIncremental(){if(this._newPages.length>0||this._copiedPages.length>0||this._removedPageIndices.size>0||this._rotationOverrides.size>0)return this.save();let e=this._doc.data.subarray(Math.max(0,this._doc.data.length-1024));if(!new TextDecoder().decode(e).includes(`trailer`))return this.save();let t=this._pages.some(e=>e._hasOverlay()),n=this._formFieldUpdates.size>0;if(!t&&!n)return this._doc.data;this._isIncrementalSave=!0;try{return await this._buildIncrementalUpdate()}finally{this._isIncrementalSave=!1,this._writerForSave=null,this._clonedRefs.clear()}}async _buildIncrementalUpdate(){let e=ld(this._doc.trailer,`Size`)??1,t=new Map,n=this._pages.some(e=>e._hasOverlay()),r=new on;this._writerForSave=r,this._clonedRefs=new Map;let i=``,a=new Map;if(n){let n=await this._fontManager.writeFontResources(r),o=r.getObjects();for(let t of o)a.has(t.objectNumber)||a.set(t.objectNumber,e++);for(let e of o){let n=a.get(e.objectNumber),r=this._remapRefsInString(e.content,a);e.streamData?t.set(n,{dict:p.fromRawString(r),data:e.streamData}):t.set(n,r)}let s=this._fontManager.buildFontDictString(n);i=this._remapRefsInString(s,a)}let o=this._doc.getPagesWithObjInfo();for(let n=0;n<o.length;n++){let r=this._pages[n],{dict:a,objNum:s}=o[n];if(s===0)return this.save();let c=r._hasOverlay(),u=this._hasFormUpdatesForPage(a);if(!c&&!u)continue;let d=new p;for(let[e,t]of a.entries())e===`Contents`&&c||e===`Resources`&&c||e===`Annots`&&u||d.set(e,this._serializeOriginalValue(t));if(c){let n=r._overlay._stream.toUint8Array(),o=e++;t.set(o,{dict:new p,data:n});let s=a.get(`Contents`),c=this._collectOriginalContentRefs(s);c.push(l(o));let u=c.length===1?c[0]:`[${c.join(` `)}]`;d.set(`Contents`,u);let f=this._serializeOriginalResources(this._doc,a),m=new Map;for(let n=0;n<r._overlay._images.length;n++){let i=r._overlay._images[n],a=`Im${n+1}`,o=e++;m.set(a,o),t.set(o,this._buildImageXObjectForIncremental(i.data,i.format))}let h=`<< `;if(i&&(h+=`/Font ${i} `),m.size>0){let e=[...m.entries()].map(([e,t])=>`/${e} ${l(t)}`).join(` `);h+=`/XObject << ${e} >> `}h+=`>>`;let g=this._mergeResourceStrings(f,h),_=e++;t.set(_,g||`<< >>`),d.set(`Resources`,l(_))}if(u){let n=this._buildIncrementalAnnots(a,t,e);e=n.nextObjNum,n.annotRefs.length>0&&d.set(`Annots`,`[${n.annotRefs.map(e=>l(e)).join(` `)}]`)}t.set(s,d.toString())}return t.size===0?this._doc.data:nn(this._doc.data,t,new Map)}_hasFormUpdatesForPage(e){if(this._formFieldUpdates.size===0)return!1;let t=e.get(`Annots`);if(!t)return!1;let n=this._doc.deref(t);if(!G(n))return!1;for(let e of n){let t=this._doc.derefDict(e);if(t&&cd(t,`Subtype`)===`Widget`){let e=this._resolveFieldName(t);if(e&&this._formFieldUpdates.has(e))return!0}}return!1}_collectOriginalContentRefs(e){if(!e)return[];if(ad(e)){let t=this._doc.deref(e);return G(t)?t.filter(e=>ad(e)).map(e=>l(e.objNum,e.gen)):[l(e.objNum,e.gen)]}return G(e)?e.filter(e=>ad(e)).map(e=>l(e.objNum,e.gen)):[]}_serializeOriginalResources(e,t){let n=e.resolvePageResources(t);if(!n||n.size===0)return`<< >>`;let r=[`<<`];for(let[e,t]of n.entries()){let n=this._serializeOriginalValue(t);n&&r.push(`/${e} ${n}`)}return r.push(`>>`),r.join(` `)}_serializeOriginalValue(e){if(e==null)return`null`;if(typeof e==`string`)return`/`+e;if(typeof e==`number`)return s(e);if(typeof e==`boolean`)return e?`true`:`false`;if(e instanceof Uint8Array)return a(e);if(ad(e))return l(e.objNum,e.gen);if(G(e))return`[${e.map(e=>this._serializeOriginalValue(e)).join(` `)}]`;if(e instanceof Map){let t=[`<<`];for(let[n,r]of e.entries())t.push(`/${n} ${this._serializeOriginalValue(r)}`);return t.push(`>>`),t.join(` `)}return``}_remapRefsInString(e,t){let n=[],r=0,i=0,a=e.length;for(;i<a;){if(e.charCodeAt(i)<48||e.charCodeAt(i)>57){i++;continue}let o=i;for(;i<a&&e.charCodeAt(i)>=48&&e.charCodeAt(i)<=57;)i++;if(i>=a||e.charCodeAt(i)!==32)continue;let s=i+1,c=s;for(;c<a&&e.charCodeAt(c)>=48&&e.charCodeAt(c)<=57;)c++;if(c===s||c>=a||e.charCodeAt(c)!==32||c+1>=a||e.charCodeAt(c+1)!==82)continue;let l=c+2;if(l<a&&e.charCodeAt(l)>32&&e.charCodeAt(l)!==47&&e.charCodeAt(l)!==62)continue;let u=parseInt(e.slice(o,i),10),d=t.get(u);d!==void 0&&(n.push(e.slice(r,o)),n.push(`${d} ${e.slice(s,c)} R`),r=l),i=l}return r===0?e:(n.push(e.slice(r)),n.join(``))}_buildImageXObjectForIncremental(e,t){let n=Ze(e,t),r=new p().set(`Type`,`/XObject`).set(`Subtype`,`/Image`).set(`Width`,s(n.width)).set(`Height`,s(n.height)).set(`BitsPerComponent`,`8`).set(`ColorSpace`,`/DeviceRGB`);return t===`jpeg`&&r.set(`Filter`,`/DCTDecode`),{dict:r,data:e}}_buildIncrementalAnnots(e,t,n){let r=e.get(`Annots`);if(!r)return{annotRefs:[],nextObjNum:n};let i=this._doc.deref(r);if(!G(i))return{annotRefs:[],nextObjNum:n};let a=[];for(let e of i){let r=this._doc.derefDict(e);if(!r){ad(e)&&a.push(e.objNum);continue}if(cd(r,`Subtype`)===`Widget`&&this._formFieldUpdates.size>0){let i=this._resolveFieldName(r),o=i?this._formFieldUpdates.get(i):void 0;if(o!==void 0){let i=ad(e)?e.objNum:n++,s=this._buildModifiedWidgetDict(r,o);t.set(i,s),a.push(i);continue}}if(ad(e))a.push(e.objNum);else{let e=n++,i=this._serializeAnnotDict(r);t.set(e,i),a.push(e)}}return{annotRefs:a,nextObjNum:n}}static{this._PAGE_PRESERVE_KEYS=[`Rotate`,`CropBox`,`BleedBox`,`TrimBox`,`ArtBox`,`Group`,`UserUnit`,`Tabs`]}_copyPageProperties(t,n,r){let i=r??this._doc;for(let r of e._PAGE_PRESERVE_KEYS){let e=t.get(r);e!=null&&n.set(r,this._deepSerialize(i,e))}}async sign(e){let{buildSignatureDictPlaceholder:t,signPdf:n}=await Promise.resolve().then(()=>(Fc(),Gs)),{dictString:r}=t({name:e.name,reason:e.reason,location:e.location,contactInfo:e.contactInfo});this._signaturePlaceholder=r;let i;try{i=await this.save()}finally{this._signaturePlaceholder=null}return n(i,e.certificate,e.privateKey)}_collectContentStreams(e,t){let n=t.get(`Contents`);if(!n)return[];if(ad(n)){let t=e.derefStreamWithObjNum(n);if(t)return[e.getStreamData(t.stream,t.objNum,t.gen)];let r=e.deref(n);return G(r)?this._resolveStreamArray(e,r):[]}return G(n)?this._resolveStreamArray(e,n):[]}_resolveStreamArray(e,t){let n=[];for(let r of t){let t=e.derefStreamWithObjNum(r);t&&n.push(e.getStreamData(t.stream,t.objNum,t.gen))}return n}_serializeResources(e,t){let n=e.resolvePageResources(t);return!n||n.size===0?`<< >>`:this._serializeDictToWriter(e,n)}_serializeDictToWriter(e,t){let n=[`<<`];for(let[r,i]of t.entries()){let t=this._deepSerialize(e,i);t&&n.push(`/${r} ${t}`)}return n.push(`>>`),n.join(` `)}_deepSerialize(e,t){if(t==null)return`null`;if(typeof t==`string`)return`/`+t;if(typeof t==`number`)return s(t);if(typeof t==`boolean`)return t?`true`:`false`;if(t instanceof Uint8Array)return a(t);if(ad(t)){let n=`${e===this._doc?`main`:`src${e.data.length}`}:${t.objNum}:${t.gen}`,r=this._clonedRefs.get(n);if(r!==void 0)return l(r);let i=e.derefStreamWithObjNum(t);if(i){let t=this._writerForSave.allocObject();this._clonedRefs.set(n,t);let r=e.getStreamData(i.stream,i.objNum,i.gen),a=new p;for(let[t,n]of i.stream.dict.entries()){if(t===`Length`||t===`Filter`||t===`DecodeParms`)continue;let r=this._deepSerialize(e,n);r&&a.set(t,r)}return this._writerForSave.addStreamObject(t,a,r),l(t)}let a=e.deref(t);if(a instanceof Map){let t=this._writerForSave.allocObject();this._clonedRefs.set(n,t);let r=this._serializeDictToWriter(e,a);return this._writerForSave.addObject(t,r),l(t)}return this._deepSerialize(e,a)}return G(t)?`[${t.map(t=>this._deepSerialize(e,t)).join(` `)}]`:t instanceof Map?this._serializeDictToWriter(e,t):``}_writeOverlayImages(e,t){let n=new Map;for(let r=0;r<t._images.length;r++){let i=t._images[r],a=`Im${r+1}`,o=et(e,i.data,i.format);n.set(a,o)}return n}_buildOverlayResourceDict(e,t,n,r){let i=new Map;if(n){let e=n.trim();if(e.startsWith(`<<`)&&e.endsWith(`>>`)){let t=lm(`<< /Font ${e} >>`).get(`Font`);t&&i.set(`Font`,t)}}if(r.size>0){let e=new Map;for(let[t,n]of r)e.set(t,l(n));i.set(`XObject`,e)}if(t&&t._alphaValues.size>0){let n=new Map;for(let r of t._alphaValues){let t=e.allocObject(),i=new p().set(`Type`,`/ExtGState`).set(`ca`,s(r)).set(`CA`,s(r));e.addObject(t,i),n.set(ms(r),l(t))}i.set(`ExtGState`,n)}return i}_mergeResourceStrings(e,t){return!t||t===`<< >>`?e:!e||e===`<< >>`?t:um(cm(lm(e),lm(t)))}_writeFormFieldUpdates(e,t,n){return this._formFieldUpdates.size,this._copyExistingAnnots(e,t)}_copyExistingAnnots(e,t){let n=t.get(`Annots`);if(!n)return[];let r=this._doc.deref(n);if(!G(r))return[];let i=[];for(let t of r){let n=this._doc.derefDict(t);if(!n)continue;let r=cd(n,`Subtype`),a=e.allocObject();if(r===`Widget`&&this._formFieldUpdates.size>0){let t=this._resolveFieldName(n),r=t?this._formFieldUpdates.get(t):void 0;if(r!==void 0){let t=this._buildModifiedWidgetDict(n,r);e.addObject(a,t),i.push(a);continue}}let o=this._serializeAnnotDict(n);e.addObject(a,o),i.push(a)}return i}_resolveFieldName(e){let t=[],n=e,r=new Set;for(;n;){let e=n.get(`T`);if(e){let n=this._doc.deref(e),r=``;typeof n==`string`?r=n:n instanceof Uint8Array&&(r=md(n)),r&&t.unshift(r)}let i=n.get(`Parent`);if(!i)break;let a=String(i);if(r.has(a))break;r.add(a),n=this._doc.derefDict(i)}return t.join(`.`)}_buildModifiedWidgetDict(e,t){if(this._resolveFieldType(e)===`Tx`&&this._writerForSave)return this._buildTextFieldWidgetDict(e,t);let n=[`<<`];for(let[t,r]of e.entries()){if(t===`V`||t===`AP`)continue;let e=this._serializePdfValue(r);e&&n.push(`/${t} ${e}`)}return n.push(`/V ${i(t)}`),n.push(`>>`),n.join(` `)}_buildTextFieldWidgetDict(e,t){let n=this._writerForSave,r=this._resolveWidgetRect(e),a=e.get(`Q`),o=`left`;a===1?o=`center`:a===2&&(o=`right`);let{stream:s,resources:c}=am({value:t,rect:r,alignment:o}),u=n.allocObject(),d=new p().set(`Type`,`/XObject`).set(`Subtype`,`/Form`).set(`BBox`,om(r)).set(`Resources`,c);n.addStreamObject(u,d,s,{compress:!1});let f=[`<<`];for(let[t,n]of e.entries()){if(t===`V`||t===`AP`)continue;let e=this._serializePdfValue(n);e&&f.push(`/${t} ${e}`)}return f.push(`/V ${i(t)}`),f.push(`/AP << /N ${l(u)} >>`),f.push(`>>`),f.join(` `)}_resolveFieldType(e){let t=e,n=new Set;for(;t;){let e=cd(t,`FT`);if(e)return e;let r=t.get(`Parent`);if(!r)break;let i=String(r);if(n.has(i))break;n.add(i),t=this._doc.derefDict(r)}}_resolveWidgetRect(e){let t=e.get(`Rect`);return t&&=this._doc.deref(t),t&&G(t)?t.map(e=>typeof e==`number`?e:0):[0,0,100,20]}_serializeAnnotDict(e){let t=[`<<`];for(let[n,r]of e.entries()){let e=this._serializePdfValue(r);e&&t.push(`/${n} ${e}`)}return t.push(`>>`),t.join(` `)}_serializePdfValue(e){if(e==null)return`null`;if(typeof e==`string`)return`/`+e;if(typeof e==`number`)return s(e);if(typeof e==`boolean`)return e?`true`:`false`;if(e instanceof Uint8Array)return a(e);if(ad(e))return this._writerForSave&&!this._isIncrementalSave?this._deepSerialize(this._doc,e):`${e.objNum} ${e.gen} R`;if(G(e))return`[${e.map(e=>this._serializePdfValue(e)).join(` `)}]`;if(e instanceof Map){let t=[`<<`];for(let[n,r]of e.entries()){let e=this._serializePdfValue(r);t.push(`/${n} ${e}`)}return t.push(`>>`),t.join(` `)}return``}};function ym(e,t){return`${e}:${t}`}var bm=n((()=>{})),xm,Sm,Cm,wm,Tm,Em,Dm=n((()=>{v(),xm=class extends _{constructor(e,t){super(e,t),this.name=`ExcelError`}},Sm=class extends xm{constructor(e,t,n){super(t?`Invalid address "${e}": ${t}`:`Invalid address: ${e}`,n),this.address=e,this.name=`InvalidAddressError`}},Cm=class extends xm{constructor(e,t,n){super(t?`Column ${e} is out of bounds: ${t}`:`Column ${e} is out of bounds. Excel supports columns from 1 to 16384`,n),this.column=e,this.name=`ColumnOutOfBoundsError`}},wm=class extends xm{constructor(e,t,n){super(t??`Cannot process value of type: ${e}`,n),this.valueType=e,this.name=`InvalidValueTypeError`}},Tm=class extends xm{constructor(...e){super(...e),this.name=`ChartOptionsError`}},Em=class extends xm{constructor(...e){super(...e),this.name=`ImageError`}}})),Om,km,Am=n((()=>{Dm(),Om=/^[A-Z]+\d+$/,km={_dictionary:`ABCDEFGHIJKLMNOPQRSTUVWXYZ`.split(``),_l2nFill:0,_l2n:{},_n2l:[],_level(e){return e<=26?1:e<=676?2:3},_fill(e){let t,n,r,i,a,o=1;if(e>=4)throw Error(`colCache._fill: invariant violated — level ${e} exceeds the 3-letter cap; callers must validate before invoking _fill`);if(this._l2nFill<1&&e>=1){for(;o<=26;)t=this._dictionary[o-1],this._n2l[o]=t,this._l2n[t]=o,o++;this._l2nFill=1}if(this._l2nFill<2&&e>=2){for(o=27;o<=702;)n=o-27,r=n%26,i=Math.floor(n/26),t=this._dictionary[i]+this._dictionary[r],this._n2l[o]=t,this._l2n[t]=o,o++;this._l2nFill=2}if(this._l2nFill<3&&e>=3){for(o=703;o<=16384;)n=o-703,r=n%26,i=Math.floor(n/26)%26,a=Math.floor(n/676),t=this._dictionary[a]+this._dictionary[i]+this._dictionary[r],this._n2l[o]=t,this._l2n[t]=o,o++;this._l2nFill=3}},l2n(e){if(!this._l2n[e]){if(e.length>3)throw new Cm(e,`Excel supports columns from 1 to 16384`);this._fill(e.length)}if(!this._l2n[e])throw new Cm(e,`Invalid column letter: ${e}`);return this._l2n[e]},n2l(e){if(e<1||e>16384)throw new Cm(e);return this._n2l[e]||this._fill(this._level(e)),this._n2l[e]},_hash:{},decodeCol(e){let t=0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=65&&r<=90)t=t*26+r-64;else break}return t},validateAddress(e){if(!Om.test(e))throw new Sm(e);return!0},decodeAddress(e){if(!e||typeof e!=`string`)throw new Sm(String(e));let t=e.length<5&&this._hash[e];if(t)return t;let n=0,r=0,i=!1,a=!1,o=0,s=0;for(let t=0;t<e.length;t++){let c=e.charCodeAt(t);if(c===36){!i&&!a&&(s=t+1);continue}if(!a&&c>=65&&c<=90)i=!0,n=n*26+c-64,o=t+1;else if(c>=48&&c<=57)a=!0,r=r*10+c-48;else if(a&&i)break}if(!i)n=void 0;else if(n>16384){let t=e.slice(0,o);throw new Cm(t,`Invalid column letter: ${t}`)}a||(r=void 0);let c=i?e.slice(s,o):``,l=a?String(r):``,u=c+l,d={address:u,col:n,row:r,$col$row:`$${c}$${l}`};return n<=100&&r<=100&&(this._hash[u]=d,this._hash[d.$col$row]=d),d},getAddress(e,t){if(t){let n=this.n2l(t)+e;return this.decodeAddress(n)}return this.decodeAddress(e)},decode(e){if(!e||typeof e!=`string`)throw new Sm(String(e));let t=e.split(`:`);if(t.length===2){let e=this.decodeAddress(t[0]),n=this.decodeAddress(t[1]),r={top:Math.min(e.row,n.row),left:Math.min(e.col,n.col),bottom:Math.max(e.row,n.row),right:Math.max(e.col,n.col),tl:``,br:``,dimensions:``};return r.tl=this.n2l(r.left)+r.top,r.br=this.n2l(r.right)+r.bottom,r.dimensions=`${r.tl}:${r.br}`,r}return this.decodeAddress(e)},decodeEx(e){if(!e||typeof e!=`string`)throw new Sm(String(e));let t=e.match(/^(?:(?:(?:'((?:[^']|'')+?)')|([^'^ !]+?))!)?(.*)$/),n=t[1]||t[2],r=t[3],i=r.split(`:`);if(i.length>1){let e=this.decodeAddress(i[0]),t=this.decodeAddress(i[1]),r=Math.min(e.row,t.row),a=Math.min(e.col,t.col),o=Math.max(e.row,t.row),s=Math.max(e.col,t.col),c=this.n2l(a)+r,l=this.n2l(s)+o;return{top:r,left:a,bottom:o,right:s,sheetName:n,tl:{address:c,col:a,row:r,$col$row:`$${this.n2l(a)}$${r}`,sheetName:n},br:{address:l,col:s,row:o,$col$row:`$${this.n2l(s)}$${o}`,sheetName:n},dimensions:`${c}:${l}`}}if(r.indexOf(`#`)===0)return n?{sheetName:n,error:r}:{error:r};let a=this.decodeAddress(r);return n?{sheetName:n,...a}:a},encodeAddress(e,t){return km.n2l(t)+e},encode(...e){switch(e.length){case 2:return km.encodeAddress(e[0],e[1]);case 4:return`${km.encodeAddress(e[0],e[1])}:${km.encodeAddress(e[2],e[3])}`;default:throw new Sm(String(e.length),`Can only encode with 2 or 4 arguments`)}},compareAddress(e,t){let n=km.decodeAddress(e),r=km.decodeAddress(t);return n.col-r.col||n.row-r.row},inRange(e,t){let[n,r,,i,a]=e,[o,s]=t;return o>=n&&o<=i&&s>=r&&s<=a}}}));function jm(e,t){let n=new Map,r=Hm(t,[],n);for(let t of e)if(!Um(t,r)&&!th(t,r))return;return n}function Mm(e,t,n={}){let r=[];return Pm(e,t,r,n),{writes:r,diagnostics:[]}}function Nm(e){Rm(e.writes)}function Pm(e,t,n,r){let i=e.chartSpace?.chartData?.data,a=Hm(t,n),o=e.chartSpace?.chart?.title?.strRef;if(o?.formula&&(o.cache?.points?.length??0)===0){let e=Um(o.formula,a);if(e){let t=e.cells.find(e=>oh(e.value)!==void 0);if(t){let e=oh(t.value);e!==void 0&&zm(o,{points:[{index:0,value:e}]},a)}}}if(!(!i||i.length===0))for(let e of i){if(e.strDim?.formula&&(r.includeSkippedDimensions||!Fm(e.strDim))){let t=Um(e.strDim.formula,a);if(t&&t.cells.length>0){let n=[],r=0;for(let e of t.cells){let t=oh(e.value);t!==void 0&&t!==``&&n.push({index:r,value:t}),r++}Bm(e.strDim,[{ptCount:r,points:n}],`chart-ex-string-levels`,a)}}if(e.numDim?.formula&&(r.includeSkippedDimensions||!Im(e.numDim))){let n=Um(e.numDim.formula,a);if(n&&n.cells.length>0){let r=[],i=0;for(let e of n.cells){let n=ah(e.value,t.date1904);n!==void 0&&r.push({index:i,value:n}),i++}let o=e.numDim.levels?.[0];Bm(e.numDim,[{ptCount:i,points:r,...o?.formatCode?{formatCode:o.formatCode}:{}}],`chart-ex-number-levels`,a)}}}}function Fm(e){return e._skipCache?!0:e.levels?.some(e=>e.points.length>0)??!1}function Im(e){return e._skipCache?!0:e.levels?.some(e=>e.points.length>0)??!1}function Lm(e,t){if(Array.isArray(e)&&Array.isArray(t)){e.splice(0,e.length,...structuredClone(t));return}for(let n of Object.keys(e))n in t||delete e[n];for(let[n,r]of Object.entries(t)){let t=e[n];Vm(t)&&Vm(r)&&Array.isArray(t)===Array.isArray(r)?Lm(t,r):e[n]=structuredClone(r)}}function Rm(e){for(let t of e)if(t.target.formula!==t.expectedFormula)throw Error(`Chart reference changed after cache planning`);for(let t of e){let e=t.kind.endsWith(`levels`)?`levels`:`cache`,n=t.target,r=n[e];Vm(r)&&Vm(t.value)?Lm(r,t.value):n[e]=structuredClone(t.value)}}function zm(e,t,n){if(e.formula){let r=`levels`in t?`multi-level-cache`:typeof t.points[0]?.value==`number`?`number-cache`:`string-cache`;n.writes.push({kind:r,target:e,expectedFormula:e.formula,value:t})}}function Bm(e,t,n,r){e.formula&&r.writes.push({kind:n,target:e,expectedFormula:e.formula,value:t})}function Vm(e){return typeof e==`object`&&!!e}function Hm(e,t,n){return{snapshot:e,writes:t,requestedCells:n,localSheetId:e.contextLocalSheetId,visitedDefinedNames:new Set,definedNameDepth:0}}function Um(e,t){let n=Xm(e,t);if(n)return n;let r=Wm(e,t);if(r)return r;let i=nh(e),a,o=[];for(let e of i){let n=e.trim();if(!n)continue;let r;try{r=km.decodeEx(n)}catch{return}if(`error`in r)return;let i=r.sheetName;if(!i)return;let s=ih(t.snapshot,i);if(!s)return;if(a||=s,`top`in r&&`left`in r){let e=r.top,n=r.left,i=r.bottom,a=r.right;for(let r=e;r<=i;r++)for(let e=n;e<=a;e++)o.push({value:rh(s,r,e,t)})}else if(`row`in r&&`col`in r){let e=r.row,n=r.col;o.push({value:rh(s,e,n,t)})}}if(a)return{worksheet:a,cells:o}}function Wm(e,t){let n=Gm(e,t);if(!n)return;let r=qm(n.name,n.localSheetId);if(!t.visitedDefinedNames.has(r)&&!(t.definedNameDepth>=sh)){t.visitedDefinedNames.add(r),t.definedNameDepth+=1;try{let e=[],r;for(let i of n.ranges){if(!i)continue;let n=Um(i,t);if(n){r||=n.worksheet;for(let t of n.cells)e.push(t)}}return r?{worksheet:r,cells:e}:void 0}finally{t.visitedDefinedNames.delete(r),--t.definedNameDepth}}}function Gm(e,t){let n=e.trim();if(!n)return;let r=Jm(n);if(r){let e=ih(t.snapshot,r.sheetName);if(e){let n=typeof e.orderNo==`number`?e.orderNo:t.snapshot.worksheets.indexOf(e);if(n>=0){let e=Km(t.snapshot,r.name,n);if(e)return{name:r.name,localSheetId:n,ranges:e}}}let n=Km(t.snapshot,r.name,void 0);return n?{name:r.name,ranges:n}:void 0}if(!ch.test(n))return;if(t.localSheetId!==void 0){let e=Km(t.snapshot,n,t.localSheetId);if(e)return{name:n,localSheetId:t.localSheetId,ranges:e}}let i=Km(t.snapshot,n,void 0);if(i)return{name:n,ranges:i}}function Km(e,t,n){let r=e.definedNames.find(e=>e.name.toLowerCase()===t.toLowerCase()&&e.localSheetId===n);return r?.ranges.length?[...r.ranges]:void 0}function qm(e,t){return t===void 0?e:`${e}\0${t}`}function Jm(e){let t=0,n=``;if(e[0]===`'`)for(t=1;t<e.length;)if(e[t]===`'`&&e[t+1]===`'`)n+=`'`,t+=2;else if(e[t]===`'`){t++;break}else n+=e[t],t++;else{let r=e.indexOf(`!`);if(r<=0)return;n=e.slice(0,r),t=r}if(e[t]!==`!`)return;let r=e.slice(t+1);if(ch.test(r))return{sheetName:n,name:r}}function Ym(e){let t=0,n=``;if(e[0]===`'`){for(t=1;t<e.length;)if(e[t]===`'`&&e[t+1]===`'`)n+=`'`,t+=2;else if(e[t]===`'`){t++;break}else n+=e[t],t++;if(e[t]!==`!`)return}else{let r=e.indexOf(`!`);if(r<=0)return;n=e.slice(0,r),t=r}if(e[t]===`!`)return{sheetName:n,remainder:e.slice(t+1)}}function Xm(e,t){let n=Ym(e.trim()),r=n?n.remainder:e.trim(),i=n?.sheetName,a=Zm(r);if(!a)return;let o=[...t.snapshot.worksheets];if(i){let e=i.toLowerCase(),t=o.findIndex(t=>t.name.toLowerCase()===e);t>0&&o.unshift(...o.splice(t,1))}for(let e of o){let n=e.tables.find(e=>e.name===a.tableName||e.displayName===a.tableName);if(!n)continue;let r=n.columns.findIndex(e=>e===a.columnName);if(r<0)return;let i=km.decode(n.ref);if(!(`top`in i))return;let o=i.top+ +!!n.headerRow,s=i.bottom-+!!n.totalsRow,c=i.left+r,l=[];for(let n=o;n<=s;n++)l.push({value:rh(e,n,c,t)});return{worksheet:e,cells:l}}}function Zm(e){let t=Qm(e);if(!t||e[t.end]!==`[`||!e.endsWith(`]`))return;let n=e.slice(t.end+1,-1);if(n.length===0)return;let r=$m(n);return r?{tableName:t.name,columnName:r}:void 0}function Qm(e){if(e.startsWith(`'`)){let t=``;for(let n=1;n<e.length;n++)if(e[n]===`'`&&e[n+1]===`'`)t+=`'`,n++;else if(e[n]===`'`)return{name:t,end:n+1};else t+=e[n];return}let t=e.indexOf(`[`);if(!(t<=0))return{name:e.slice(0,t),end:t}}function $m(e){if(e.startsWith(`@`))return eh(`${e.slice(1).replace(/^\[(.*)\]$/,`$1`)}]`,0).value;if(!e.startsWith(`[`))return e.startsWith(`#`)?void 0:eh(`${e}]`,0).value;let t=[],n=0;for(;n<e.length;){if(e[n]!==`[`){n++;continue}let r=eh(e,n+1);t.push(r.value),n=r.end}return t.filter(e=>e&&!e.startsWith(`#`)).pop()}function eh(e,t){let n=t,r=``;for(;n<e.length;)if(e[n]===`'`&&n+1<e.length)r+=e[n+1],n+=2;else if(e[n]===`]`){n++;break}else r+=e[n],n++;return{value:r.trim(),end:n}}function th(e,t){let n=Gm(e,t);if(n){let e=qm(n.name,n.localSheetId);if(t.visitedDefinedNames.has(e)||t.definedNameDepth>=sh)return;t.visitedDefinedNames.add(e),t.definedNameDepth+=1;try{let e,r=[],i=0;for(let a of n.ranges){let n=th(a,t);n&&(e||=n.worksheet,r.push(...n.values),i=Math.max(i,n.columnCount))}return e?{worksheet:e,values:r,rowCount:r.length,columnCount:i}:void 0}finally{t.visitedDefinedNames.delete(e),--t.definedNameDepth}}let r=nh(e),i,a=[],o=0;for(let e of r){let n=e.trim();if(!n)continue;let r;try{r=km.decodeEx(n)}catch{return}if(`error`in r)return;let s=r.sheetName;if(!s)return;let c=ih(t.snapshot,s);if(!c)return;if(i||=c,`top`in r&&`left`in r){let e=r.top,n=r.left,i=r.bottom,s=r.right;o=Math.max(o,s-n+1);for(let r=e;r<=i;r++){let e=[];for(let i=n;i<=s;i++)e.push(rh(c,r,i,t));a.push(e)}}else`row`in r&&`col`in r&&(o=Math.max(o,1),a.push([rh(c,r.row,r.col,t)]))}if(i)return{worksheet:i,values:a,rowCount:a.length,columnCount:o}}function nh(e){let t=[],n=``,r=!1;for(let i=0;i<e.length;i++){let a=e[i];if(a===`'`){if(r&&e[i+1]===`'`){n+=`''`,i++;continue}r=!r,n+=a}else!r&&(a===`,`||a===`;`)?(t.push(n),n=``):n+=a}return n&&t.push(n),t}function rh(e,t,n,r){if(r.requestedCells){let i=e.name.toLowerCase(),a=r.requestedCells.get(i);a||(a=new Set,r.requestedCells.set(i,a)),a.add(ym(t,n))}return e.cells.get(ym(t,n))}function ih(e,t){return e.worksheetsByName.get(t.toLowerCase())}function ah(e,t){if(e!=null){if(typeof e==`number`)return Number.isFinite(e)?e:void 0;if(typeof e==`boolean`)return+!!e;if(e instanceof Date)return wl(e,t);if(typeof e==`string`){let t=Number(e);if(Number.isFinite(t)&&e.trim()!==``)return t}}}function oh(e){if(e!=null){if(typeof e==`string`)return e;if(typeof e==`number`||typeof e==`boolean`)return String(e);if(e instanceof Date){if(Number.isNaN(e.getTime()))return;let t=e.getUTCFullYear().toString().padStart(4,`0`),n=(e.getUTCMonth()+1).toString().padStart(2,`0`),r=e.getUTCDate().toString().padStart(2,`0`),i=e.getUTCHours(),a=e.getUTCMinutes(),o=e.getUTCSeconds();return i===0&&a===0&&o===0?`${t}-${n}-${r}`:`${t}-${n}-${r} ${i.toString().padStart(2,`0`)}:${a.toString().padStart(2,`0`)}:${o.toString().padStart(2,`0`)}`}}}var sh,ch,lh=n((()=>{bm(),Am(),Ol(),sh=128,ch=/^[A-Za-z_\\\u00A0-\uFFFF][\w.?\\\u00A0-\uFFFF]*$/}));function uh(e){let{sheetName:t}=e;return t?/^[a-zA-Z0-9]*$/.test(t)?`${t}!`:`'${t.replace(/'/g,`''`)}'!`:``}function dh(e,t){switch(t.length){case 5:typeof t[0]==`number`&&typeof t[1]==`number`&&typeof t[2]==`number`&&typeof t[3]==`number`&&typeof t[4]==`string`&&fh(e,t[0],t[1],t[2],t[3],t[4]);break;case 4:typeof t[0]==`number`&&typeof t[1]==`number`&&typeof t[2]==`number`&&typeof t[3]==`number`&&fh(e,t[0],t[1],t[2],t[3]);break;case 3:typeof t[0]==`string`&&typeof t[1]==`string`&&typeof t[2]==`string`&&fh(e,t[0],t[1],t[2]);break;case 2:typeof t[0]==`string`&&typeof t[1]==`string`&&fh(e,t[0],t[1]);break;case 1:{let n=t[0];if(Array.isArray(n))dh(e,n);else if(typeof n==`object`&&n&&`top`in n&&`left`in n&&`bottom`in n&&`right`in n)e.top=n.top,e.left=n.left,e.bottom=n.bottom,e.right=n.right,e.sheetName=n.sheetName;else if(typeof n==`string`){let t=km.decodeEx(n);`top`in t?(e.top=t.top,e.left=t.left,e.bottom=t.bottom,e.right=t.right,e.sheetName=t.sheetName):`row`in t&&(e.top=t.row,e.left=t.col,e.bottom=t.row,e.right=t.col,e.sheetName=t.sheetName)}break}case 0:break;default:throw new xm(`Invalid number of arguments to Range.create() - ${t.length}`)}}function fh(e,t,n,r,i,a){if(typeof t==`string`&&typeof n==`string`){let i=km.decodeAddress(t),a=km.decodeAddress(n);e.top=Math.min(i.row,a.row),e.left=Math.min(i.col,a.col),e.bottom=Math.max(i.row,a.row),e.right=Math.max(i.col,a.col),e.sheetName=typeof r==`string`?r:void 0}else typeof t==`number`&&typeof n==`number`&&typeof r==`number`&&typeof i==`number`&&(e.top=Math.min(t,r),e.left=Math.min(n,i),e.bottom=Math.max(t,r),e.right=Math.max(n,i),e.sheetName=a)}function ph(...e){let t={top:0,left:0,bottom:0,right:0};return dh(t,e),t}function mh(e){return e.top||1}function hh(e){return e.left||1}function gh(e){return e.bottom||1}function _h(e){return e.right||1}function vh(e,t,n,r,i){(!e.top||t<mh(e))&&(e.top=t),(!e.left||n<hh(e))&&(e.left=n),(!e.bottom||r>gh(e))&&(e.bottom=r),(!e.right||i>_h(e))&&(e.right=i)}function yh(e){return km.n2l(hh(e))+mh(e)}function bh(e){return`$${km.n2l(hh(e))}$${mh(e)}`}function xh(e){return km.n2l(_h(e))+gh(e)}function Sh(e){return`$${km.n2l(_h(e))}$${gh(e)}`}function Ch(e){return`${uh(e)+yh(e)}:${xh(e)}`}function wh(e){return`${uh(e)+bh(e)}:${Sh(e)}`}function Th(e){return Eh(e)>1?wh(e):uh(e)+bh(e)}function Eh(e){return(1+gh(e)-mh(e))*(1+_h(e)-hh(e))}var Dh=n((()=>{Dm(),Am()}));function Oh(e){let t=[],n=new Set;for(let r of Object.keys(e.matrixMap)){if(n.has(r))continue;n.add(r);let i=Ah(e,r),a=e.localSheetIdMap[r];t.push(a===void 0?i:{...i,localSheetId:a})}for(let r of Object.keys(e.formulaMap)){if(n.has(r))continue;n.add(r);let i=Ah(e,r),a=e.localSheetIdMap[r];t.push(a===void 0?i:{...i,localSheetId:a})}for(let r of Object.keys(e.opaqueMap)){if(n.has(r))continue;n.add(r);let i=e.nameForKey[r]??r,a=e.opaqueMap[r];t.push({name:i,ranges:[],rawText:a.rawText,localSheetId:a.localSheetId,kind:`opaque`})}return t}function kh(e,t,n){n.mark=!1;let r=n.sheetName,i=ph(n.row,n.col,n.row,n.col,r),a,o,s=(e,n)=>t.findCellAt(r,e,n);function c(e,t){let r=s(e,n.col);return!r||!r.mark?!1:(i[t]=e,r.mark=!1,!0)}for(o=n.row-1;c(o,`top`);o--);for(o=n.row+1;c(o,`bottom`);o++);function l(e,t){let n=[];for(o=i.top;o<=i.bottom;o++){let t=s(o,e);if(t&&t.mark)n.push(t);else return!1}i[t]=e;for(let e=0;e<n.length;e++)n[e].mark=!1;return!0}for(a=n.col-1;l(a,`left`);a--);for(a=n.col+1;l(a,`right`);a++);return i}function Ah(e,t,n){let r=e.formulaMap[t];n||=e.matrixMap[t];let i=e.nameForKey[t]??t;return n?(n.forEach(e=>{e.mark=!0}),{name:i,ranges:n.map(t=>t.mark&&kh(e,n,t)).filter(e=>!!e).map(e=>Th(e))}):r?{name:i,ranges:[r],formulaExpression:r}:{name:i,ranges:[]}}var jh=n((()=>{Dh()})),Mh,Nh,Ph,Fh,Ih,Lh,Rh=n((()=>{Mh={Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10,JSON:11,Checkbox:12},Nh={None:0,Master:1,Shared:2},Ph={None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},Fh={LeftToRight:1,RightToLeft:2},Ih={NotApplicable:`#N/A`,Ref:`#REF!`,Name:`#NAME?`,DivZero:`#DIV/0!`,Null:`#NULL!`,Value:`#VALUE!`,Num:`#NUM!`,Spill:`#SPILL!`,Calc:`#CALC!`},Lh={ValueType:Mh,FormulaType:Nh,RelationshipType:Ph,ReadingOrder:Fh,ErrorValue:Ih}}));function zh(e){return Uh.has(e)}function Bh(e,t){if(e===t)return!0;if(e==null||t==null)return e===t;let n=typeof e;if(n!==typeof t||n!==`object`)return!1;let r=Array.isArray(e);if(r!==Array.isArray(t))return!1;if(r){let n=e,r=t,i=n.length;if(i!==r.length)return!1;for(let e=0;e<i;e++)if(!Bh(n[e],r[e]))return!1;return!0}let i=e,a=t,o=Object.keys(i),s=Object.keys(a);if(o.length!==s.length)return!1;for(let e=0,t=o.length;e<t;e++){let t=o[e];if(!Object.prototype.hasOwnProperty.call(a,t)||!Bh(i[t],a[t]))return!1}return!0}function Vh(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Hh(...e){let t=e[0]||{},n=e.length;for(let r=1;r<n;r++){let n=e[r];if(n){if(Array.isArray(n)){let e=t;for(let t=0,r=n.length;t<r;t++){let r=n[t];if(r===void 0)continue;let i=e[t];Array.isArray(r)?e[t]=Hh(Array.isArray(i)?i:[],r):Vh(r)?e[t]=Hh(Vh(i)?i:{},r):e[t]=r}}else{let e=n,r=Object.keys(e);for(let n=0,i=r.length;n<i;n++){let i=r[n];if(i===`__proto__`||i===`constructor`||i===`prototype`)continue;let a=e[i];if(a===void 0)continue;let o=t[i];t[i]=Array.isArray(a)?Hh(Array.isArray(o)?o:[],a):Vh(a)?Hh(Vh(o)?o:{},a):a}}}}return t}var Uh,Wh=n((()=>{Uh=new Set([`__proto__`,`constructor`,`prototype`,`__defineGetter__`,`__defineSetter__`,`__lookupGetter__`,`__lookupSetter__`])}));function Gh(e){let t;switch(typeof e.note){case`string`:t={type:`note`,note:{texts:[{text:e.note}]}};break;default:t={type:`note`,note:e.note??{}}}let n=Hh({},Kh,t);return e.author!==void 0&&(n.author=e.author),n}var Kh,qh=n((()=>{Wh(),Kh={note:{margins:{insetmode:`auto`,inset:[.13,.13,.25,.25]},protection:{locked:`True`,lockText:`True`},editAs:`absolute`},type:`note`}})),Jh=n((()=>{Ol(),Qa()}));function Yh(e,t){let n=Math.round(e).toString();for(;n.length<t;)n=`0`+n;return n}function Xh(e){if(e.length<=3)return e;let t=e.length%3,n=e.substring(0,t);for(let r=t;r<e.length;r+=3)n+=(n.length>0?`,`:``)+e.substring(r,r+3);return n}function Zh(e,t){let n=10**t;return Math.round(e*n)/n}function Qh(e){let t=e.replace(/_./g,` `);return t=t.replace(/\*./g,``),t}function $h(e){return/^General$/i.test(e.trim())}function eg(e){let t=e.replace(/\[[^\]]*\]/g,``);return/[ymdhs]/i.test(t)&&!/^[#0.,E%$\s()\-+]+$/i.test(t)}function tg(e){let t=/\x00(?:Y[24]|D[12]|MN[345])\x00/,n=/\x00H[12]\x00/g,r=/\x00S[12]\x00/g,i=``,a=e,o=a.search(/mm/i);for(;o!==-1;){let e=a.slice(0,o),s=a.slice(o+2),c=-1,l;for(n.lastIndex=0;(l=n.exec(e))!==null;)c=l.index;r.lastIndex=0;let u=r.exec(s),d=u?u.index:-1,f=c!==-1&&!t.test(e.slice(c)),p=d!==-1&&!t.test(s.slice(0,d));i+=e+(f||p?`\0MI2\0`:`\0M2\0`),a=s,o=a.search(/mm/i)}return i+=a,i}function ng(e,t){let n=Math.round(e*86400)%86400,r=Math.floor(n/3600),i=Math.floor(n%3600/60),a=n%60,o=Tl(e,!1),s=o.getUTCFullYear(),c=o.getUTCMonth(),l=o.getUTCDate(),u=o.getUTCDay(),d=e*86400-Math.floor(e*86400),f=/AM\/PM|A\/P/i.test(t),p=r>=12,m=r%12||12,h=t.replace(/\[(Red|Green|Blue|Yellow|Magenta|Cyan|White|Black|Color\d+)\]/gi,``);h=Qh(h);let g=h.match(/ss\.(0+)/i),_=``;if(g){let e=g[1].length;_=Math.round(d*10**e).toString().padStart(e,`0`),h=h.replace(/ss\.0+/gi,`\0SF\0`)}h=h.replace(/yyyy/gi,`\0Y4\0`),h=h.replace(/yy/gi,`\0Y2\0`),h=h.replace(/mmmmm/gi,`\0MN5\0`),h=h.replace(/mmmm/gi,`\0MN4\0`),h=h.replace(/mmm/gi,`\0MN3\0`),h=h.replace(/dddd/gi,`\0DN4\0`),h=h.replace(/ddd/gi,`\0DN3\0`),h=h.replace(/dd/gi,`\0D2\0`),h=h.replace(/\bd\b/gi,`\0D1\0`),h=h.replace(/hh/gi,`\0H2\0`),h=h.replace(/\bh\b/gi,`\0H1\0`),h=h.replace(/ss/gi,`\0S2\0`),h=h.replace(/\bs\b/gi,`\0S1\0`),h=tg(h),h=h.replace(/\bm\b/gi,`\0M1\0`),h=h.replace(/AM\/PM/gi,`\0AMPM\0`),h=h.replace(/A\/P/gi,`\0AP\0`);let v=f?m:r;return h=h.replace(/\x00Y4\x00/g,s.toString()).replace(/\x00Y2\x00/g,(s%100).toString().padStart(2,`0`)).replace(/\x00MN5\x00/g,bg[c]).replace(/\x00MN4\x00/g,yg[c]).replace(/\x00MN3\x00/g,vg[c]).replace(/\x00M2\x00/g,(c+1).toString().padStart(2,`0`)).replace(/\x00M1\x00/g,(c+1).toString()).replace(/\x00DN4\x00/g,Sg[u]).replace(/\x00DN3\x00/g,xg[u]).replace(/\x00D2\x00/g,l.toString().padStart(2,`0`)).replace(/\x00D1\x00/g,l.toString()).replace(/\x00H2\x00/g,v.toString().padStart(2,`0`)).replace(/\x00H1\x00/g,v.toString()).replace(/\x00MI2\x00/g,i.toString().padStart(2,`0`)).replace(/\x00S2\x00/g,a.toString().padStart(2,`0`)).replace(/\x00S1\x00/g,a.toString()).replace(/\x00SF\x00/g,a.toString().padStart(2,`0`)+`.`+_).replace(/\x00AMPM\x00/g,p?`PM`:`AM`).replace(/\x00AP\x00/g,p?`P`:`A`),h=h.replace(/\\/g,``),h}function rg(e){return typeof e==`boolean`?e?`TRUE`:`FALSE`:typeof e==`string`?e:Number.isInteger(e)?e.toString():e.toPrecision(11).replace(/\.?0+$/,``).replace(/\.?0+e/,`e`)}function ig(e,t){let n=(t.match(/%/g)??[]).length;return lg(e*100**n,t.replace(/%/g,``)||`0`)+`%`.repeat(n)}function ag(e,t){let n=e<0?`-`:``,r=Math.abs(e);if(r===0){let e=t.match(/\.([0#]+)E/i),n=e?e[1].length:2;return`0.`+`0`.repeat(n)+`E+00`}let i=t.match(/\.([0#]+)E/i),a=i?i[1].length:2,o=t.includes(`E+`),s=Math.floor(Math.log10(r)),c=Zh(r/10**s,a).toFixed(a),l=s>=0?o?`+`:``:`-`,u=Yh(Math.abs(s),2);return n+c+`E`+l+u}function og(e,t){let n=e<0?-1:1,r=Math.abs(e),i=Math.floor(r);if(r-=i,r<1e-10)return[n*i,0,1];let a=0,o=1,s=1,c=0,l=Math.floor(r),u=l,d=1;for(;c<t&&(l=Math.floor(r),u=l*o+a,d=l*c+s,!(r-l<1e-10));)r=1/(r-l),a=o,o=u,s=c,c=d;return d>t&&(d=c,u=o),[n*i,n*u,d]}function sg(e,t){let n=e<0?`-`:``,r=Math.abs(e),i=t.match(/\?+\s*\/\s*(\d+)/);if(i){let e=parseInt(i[1],10),a=Math.floor(r),o=r-a,s=Math.round(o*e);return t.includes(`#`)||t.includes(`0`)?s===0?n+a.toString():n+(a>0?a+` `:``)+s+`/`+e:n+(a*e+s)+`/`+e}let a=t.match(/\/\s*(\?+)/),[o,s,c]=og(r,10**(a?a[1].length:2)-1);return t.includes(`#`)&&o!==0?s===0?n+Math.abs(o).toString():n+Math.abs(o)+` `+Math.abs(s)+`/`+c:s===0?o===0?`0`:n+Math.abs(o).toString():n+(Math.abs(o)*c+Math.abs(s))+`/`+c}function cg(e,t){let n=Math.round(e*86400),r=Math.floor(n/60),i=Math.floor(r/60),a=n%60,o=r%60,s=i,c=t;return/\[h+\]/i.test(c)&&(c=c.replace(/\[h+\]/gi,s.toString())),/\[m+\]/i.test(c)&&(c=c.replace(/\[m+\]/gi,r.toString())),/\[s+\]/i.test(c)&&(c=c.replace(/\[s+\]/gi,n.toString())),c=c.replace(/mm/gi,o.toString().padStart(2,`0`)),c=c.replace(/ss/gi,a.toString().padStart(2,`0`)),c}function lg(e,t){let n=Math.abs(e),r=e<0?`-`:``,i=0,a=t;for(;a.endsWith(`,`);)i++,a=a.slice(0,-1);let o=n/1e3**i,s=a.indexOf(`.`),c=a,l=``;s!==-1&&(c=a.substring(0,s),l=a.substring(s+1));let u=l.replace(/[^0#?]/g,``).length,d=Zh(o,u);if(d===0&&!c.includes(`0`)&&!l.includes(`0`)){let e=``;for(let t of c)t===`?`?e+=` `:t!==`#`&&t!==`,`&&(e+=t);if(u>0&&/[0?]/.test(l)){e+=`.`;for(let t of l)t===`?`&&(e+=` `)}return r+e}let[f,p=``]=d.toString().split(`.`),m=/[0#?][^0#?,.\s][0#?]/.test(c),h;if(m){let e=c.replace(/[^0#?]/g,``).length,t=f;t.length<e&&(t=`0`.repeat(e-t.length)+t),h=``;let n=t.length-e;for(let e=0;e<c.length;e++){let r=c[e];r===`0`||r===`#`||r===`?`?n<t.length&&(h+=t[n],n++):r!==`,`&&(h+=r)}}else{h=f,c.includes(`,`)&&(h=Xh(f));let e=(c.match(/0/g)??[]).length,t=(c.match(/[0?]/g)??[]).length;h.length<e&&(h=`0`.repeat(e-h.length)+h),h.length<t&&(h=` `.repeat(t-h.length)+h),h===`0`&&e===0&&t===0&&(h=``)}let g=``;if(u>0){let e=(p+`0`.repeat(u)).substring(0,u).split(``);for(let t=l.length-1;t>=0;t--)if(!(t>=e.length)){if(l[t]===`#`&&e[t]===`0`)e[t]=``;else if(l[t]===`?`&&e[t]===`0`)e[t]=` `;else break}let t=e.join(``);t.length>0&&(g=`.`+t)}return r+h+g}function ug(e){let t=``,n=0;for(;n<e.length;)if(e[n]===`"`){for(n++;n<e.length&&e[n]!==`"`;)t+=e[n],n++;n++}else e[n]===`\\`&&n+1<e.length?(n++,t+=e[n],n++):(t+=e[n],n++);return t}function dg(e,t){let n=t.match(/\[(=|>|<|>=|<=|<>)(-?\d+(?:\.\d*)?)\]/);if(!n)return!1;let r=n[1],i=parseFloat(n[2]);switch(r){case`=`:return e===i;case`>`:return e>i;case`<`:return e<i;case`>=`:return e>=i;case`<=`:return e<=i;case`<>`:return e!==i;default:return!1}}function fg(e,t){if(typeof t==`string`){let n=El(e);return n.length>=4&&n[3]?ug(n[3]).replace(/@/g,t):t}if(typeof t==`boolean`)return t?`TRUE`:`FALSE`;let n=El(e),r=/\[(=|>|<|>=|<=|<>)-?\d+(?:\.\d*)?\]/;if((n[0]&&r.test(n[0])||n[1]&&r.test(n[1]))&&n.length>=2){for(let e=0;e<Math.min(n.length,2);e++){let r=n[e].match(/\[(=|>|<|>=|<=|<>)-?\d+(?:\.\d*)?\]/);if(r&&dg(t,r[0]))return n[e]}return n[n.length>2?2:1]}return n.length===1?n[0]:n.length===2?t>=0?n[0]:n[1]:t>0?n[0]:t<0?n[1]:n[2]||n[0]}function pg(e,t){let n=El(e);return n.length>=2&&n[1]===t}function mg(e,t){if(t==null)return``;if($h(e))return rg(t);if(typeof t==`string`)return fg(e,t);if(typeof t==`boolean`)return t?`TRUE`:`FALSE`;let n=t,r=fg(e,n);n<0&&pg(e,r)&&(n=Math.abs(n));let i=r.replace(/\[(Red|Green|Blue|Yellow|Magenta|Cyan|White|Black|Color\d+)\]/gi,``);if(i=i.replace(/\[(>|<|>=|<=|=|<>)-?\d+(\.\d+)?\]/g,``),i=i.replace(/\[\$[^\]]*\]/g,``),i=Qh(i),i=ug(i),/\[[hms]+\]/i.test(i))return cg(n,i);if(eg(i))return ng(n,i);if(i.includes(`%`))return ig(n,i);if(/E[+-]?/i.test(i))return ag(n,i);if(/\?+\s*\/\s*[\d?]+/.test(i))return sg(n,i);if(i.includes(`(`)&&i.includes(`)`)&&n<0){let e=i.replace(/\(|\)/g,``);return`(`+lg(-n,e)+`)`}if(i===`@`)return n.toString();let a=``,o=``,s=i.match(/^([^#0?.,]+)/);s&&(a=s[1],i=i.substring(s[0].length));let c=i.match(/([^#0?.,]+)$/);c&&!c[1].includes(`%`)&&(o=c[1],i=i.substring(0,i.length-c[0].length));let l=lg(n,i);return a+l+o}function hg(e){let t=e.replace(/"[^"]*"/g,``);if(/\[[hms]\]/i.test(t))return!1;let n=t.replace(/\[[^\]]*\]/g,``),r=/[hs]/i.test(n)||/AM\/PM|A\/P/i.test(n);return/[yd]/i.test(n)||/m/i.test(n)&&!r?!1:r}function gg(e){let t=e.replace(/"[^"]*"/g,``);if(/\[[hms]\]/i.test(t))return!1;let n=t.replace(/\[[^\]]*\]/g,``);return!!(/[yd]/i.test(n)||/m/i.test(n)&&!(/[hs]/i.test(n)||/AM\/PM|A\/P/i.test(n)))}function _g(e,t,n){if(e instanceof Date){let r=wl(e);if(hg(t))return r%=1,r<0&&(r+=1),mg(t,r);let i;return i=n&&gg(t)?n:!t||$h(t)?r%1==0?Cg:wg:t,mg(i,r)}return mg(t,e)}var vg,yg,bg,xg,Sg,Cg,wg,Tg=n((()=>{Jh(),vg=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],yg=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],bg=[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],xg=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],Sg=[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],Cg=`yyyy-mm-dd`,wg=`yyyy-mm-dd hh:mm:ss`}));function Eg(e,t,n){let r=km.decode(t),i=km.decode(n);return e.replace(Dg,(e,t,n,a,o)=>{if(o)return e;let s=Og.exec(a);if(s){let n=s[1],a=s[2].toUpperCase(),o=s[3],c=s[4];if(a.length>3||a.length===3&&a>`XFD`)return e;let l=km.l2n(a),u=parseInt(c,10);return n||(l+=i.col-r.col),o||(u+=i.row-r.row),(t??``)+(n??``)+km.n2l(l)+(o??``)+u}return e})}var Dg,Og,kg=n((()=>{Am(),Dg=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,Og=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i}));function Ag(e){return!!e&&(typeof e!=`object`||Object.keys(e).length>0)}function jg(e){let t=``;for(let n of e)n&&typeof n.text==`string`&&(t+=n.text);return t}function Mg(e){let t,n;Array.isArray(e.richText)&&e.richText.length>0?(n=e.richText,t=jg(n)):t=typeof e.text==`string`?e.text:``;let r={text:t,hyperlink:typeof e.hyperlink==`string`?e.hyperlink:``};return n&&(r.richText=n),typeof e.tooltip==`string`&&e.tooltip.length>0&&(r.tooltip=e.tooltip),r}function Ng(e,t,n){let r=e&&e.styleName||t&&t.styleName;r&&(n.styleName=r);let i=e&&e.numFmt||t&&t.numFmt;i&&(n.numFmt=i);let a=e&&Ag(e.font)&&e.font||t&&Ag(t.font)&&t.font;a&&(n.font=structuredClone(a));let o=e&&Ag(e.alignment)&&e.alignment||t&&Ag(t.alignment)&&t.alignment;o&&(n.alignment=structuredClone(o));let s=e&&Ag(e.border)&&e.border||t&&Ag(t.border)&&t.border;s&&(n.border=structuredClone(s));let c=e&&Ag(e.fill)&&e.fill||t&&Ag(t.fill)&&t.fill;c&&(n.fill=structuredClone(c));let l=e&&Ag(e.protection)&&e.protection||t&&Ag(t.protection)&&t.protection;return l&&(n.protection=structuredClone(l)),n}function Pg(e){return e.column.number}function Fg(e){return e._value.type}function Ig(e){return e._value.effectiveType}function Lg(e){return e._value.value}function Rg(e,t){if(Fg(e)===K.Merge){Rg(e._value.master,t);return}e._formulaGhostOwner=void 0,e._value.release(),e._value=s_.create(s_.getType(t),e,t)}function zg(e){e._mergeCount++}function Bg(e){e._mergeCount--}function Vg(e){return e._value.hyperlink}function Hg(e){return e._comment}function Ug(e){return e._value.toString()}function Wg(e){return e._value.formula}function Gg(e){return e._value.result}function Kg(e){let{model:t}=e._value;return t.style=e.style,e._comment&&(t.comment=Gh(e._comment)),t}function qg(e){return!!e&&typeof e==`object`&&`_value`in e&&`row`in e&&`column`in e}var K,Jg,Yg,Xg,Zg,Qg,$g,e_,t_,n_,r_,i_,a_,o_,s_,c_=n((()=>{Rh(),qh(),Dm(),Am(),kg(),K=Lh.ValueType,Jg=class{constructor(e){this.model={address:e.address,type:K.Null}}get value(){return null}set value(e){}get type(){return K.Null}get effectiveType(){return K.Null}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return``}release(){}toString(){return``}},Yg=class{constructor(e,t){this.model={address:e.address,type:K.Number,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return K.Number}get effectiveType(){return K.Number}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}},Xg=class{constructor(e,t){this.model={address:e.address,type:K.String,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return K.String}get effectiveType(){return K.String}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return`"${this.model.value.replace(/"/g,`""`)}"`}release(){}toString(){return this.model.value}},Zg=class{constructor(e,t){this.model={address:e.address,type:K.String,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}toString(){return this.model.value.richText.map(e=>e.text).join(``)}get type(){return K.RichText}get effectiveType(){return K.RichText}get address(){return this.model.address}set address(e){this.model.address=e}get text(){return this.toString()}toCsvString(){return`"${this.text.replace(/"/g,`""`)}"`}release(){}},Qg=class{constructor(e,t){this.model={address:e.address,type:K.Date,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return K.Date}get effectiveType(){return K.Date}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}},$g=class{constructor(e,t){if(this.model={address:e.address,type:K.Hyperlink},t){if(`formula`in t&&typeof t.formula==`string`){let e=t,n=e.result===void 0||e.result===null?``:String(e.result);this.model.text=n,this.model.hyperlink=e.hyperlink??``,e.tooltip!==void 0&&(this.model.tooltip=e.tooltip),this.model.formula=e.formula,e.result!==void 0&&(this.model.result=e.result);return}let e=Mg(t);this.model.text=e.text,this.model.hyperlink=e.hyperlink,e.richText&&(this.model.richText=e.richText),e.tooltip!==void 0&&(this.model.tooltip=e.tooltip)}}get value(){let e={text:this.model.text??``,hyperlink:this.model.hyperlink??``};return this.model.richText&&this.model.richText.length>0&&(e.richText=this.model.richText),this.model.tooltip!==void 0&&(e.tooltip=this.model.tooltip),e}set value(e){let t=Mg(e);this.model.text=t.text,this.model.hyperlink=t.hyperlink,t.richText?this.model.richText=t.richText:delete this.model.richText,t.tooltip===void 0?delete this.model.tooltip:this.model.tooltip=t.tooltip}get text(){return this.model.text}set text(e){this.model.richText&&delete this.model.richText,this.model.text=e}get richText(){return this.model.richText}set richText(e){Array.isArray(e)&&e.length>0?(this.model.richText=e,this.model.text=jg(e)):delete this.model.richText}get hyperlink(){return this.model.hyperlink}set hyperlink(e){this.model.hyperlink=e}get type(){return K.Hyperlink}get effectiveType(){return K.Hyperlink}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.hyperlink??``}release(){}toString(){return this.model.text??``}},e_=class{constructor(e,t){this.model={address:e.address,type:K.Merge,master:t?t.address:void 0},this._master=t,t&&zg(t)}get value(){return Lg(this._master)}set value(e){qg(e)?(this._master&&Bg(this._master),zg(e),this._master=e):Rg(this._master,e)}isMergedTo(e){return e===this._master}get master(){return this._master}get type(){return K.Merge}get effectiveType(){return Ig(this._master)}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return``}release(){Bg(this._master)}toString(){return this.value==null?``:this.value.toString()}},t_=class{constructor(e,t){this.cell=e,this.model={address:e.address,type:K.Formula,shareType:t?t.shareType:void 0,ref:t?t.ref:void 0,formula:t?t.formula:void 0,sharedFormula:t?t.sharedFormula:void 0,result:t?t.result:void 0,isDynamicArray:t?t.isDynamicArray:void 0}}_copyModel(e){let t={};return e.formula&&(t.formula=e.formula),e.result!==void 0&&(t.result=e.result),e.ref&&(t.ref=e.ref),e.shareType&&(t.shareType=e.shareType),e.sharedFormula&&(t.sharedFormula=e.sharedFormula),e.isDynamicArray&&(t.isDynamicArray=e.isDynamicArray),t}get value(){return this._copyModel(this.model)}set value(e){e.formula&&(this.model.formula=e.formula),e.result!==void 0&&(this.model.result=e.result),e.ref&&(this.model.ref=e.ref),e.shareType&&(this.model.shareType=e.shareType),e.sharedFormula&&(this.model.sharedFormula=e.sharedFormula),e.isDynamicArray!==void 0&&(this.model.isDynamicArray=e.isDynamicArray)}validate(e){switch(s_.getType(e)){case K.Null:case K.String:case K.Number:case K.Date:break;case K.Hyperlink:case K.Formula:default:throw new wm(String(s_.getType(e)),`Cannot process that type of result value`)}}get dependencies(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,``).match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}get formula(){return this.model.formula||this._getTranslatedFormula()||``}set formula(e){this.model.formula=e}get formulaType(){return this.model.formula?Lh.FormulaType.Master:this.model.sharedFormula?Lh.FormulaType.Shared:Lh.FormulaType.None}get result(){return this.model.result}set result(e){this.model.result=e}get type(){return K.Formula}get effectiveType(){let e=this.model.result;return e==null?Lh.ValueType.Null:typeof e==`string`?Lh.ValueType.String:typeof e==`number`?Lh.ValueType.Number:e instanceof Date?Lh.ValueType.Date:typeof e==`object`&&`error`in e?Lh.ValueType.Error:Lh.ValueType.Null}get address(){return this.model.address}set address(e){this.model.address=e}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){let{worksheet:e}=this.cell.row,t=km.getAddress(this.model.sharedFormula),n=e._rows[t.row-1],r=n?n.cells[t.col-1]:void 0;this._translatedFormula=r&&Wg(r)?Eg(Wg(r),r.address,this.model.address):void 0}return this._translatedFormula}toCsvString(){return`${this.model.result??``}`}release(){}toString(){return this.model.result?this.model.result.toString():``}},n_=class{constructor(e,t){this.model={address:e.address,type:K.SharedString,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return K.SharedString}get effectiveType(){return K.SharedString}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}},r_=class{constructor(e,t){this.model={address:e.address,type:K.Boolean,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return K.Boolean}get effectiveType(){return K.Boolean}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return+!!this.model.value}release(){}toString(){return this.model.value.toString()}},i_=class{constructor(e,t){this.model={address:e.address,type:K.Checkbox,value:t.checkbox}}get value(){return{checkbox:this.model.value}}set value(e){this.model.value=e.checkbox}get type(){return K.Checkbox}get effectiveType(){return K.Boolean}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return+!!this.model.value}release(){}toString(){return this.model.value.toString()}},a_=class{constructor(e,t){this.model={address:e.address,type:K.Error,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return K.Error}get effectiveType(){return K.Error}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}},o_=class{constructor(e,t){this.model={address:e.address,type:K.String,value:JSON.stringify(t),rawValue:t}}get value(){return this.model.rawValue}set value(e){this.model.rawValue=e,this.model.value=JSON.stringify(e)}get type(){return K.String}get effectiveType(){return K.String}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}},s_={getType(e){if(e==null)return K.Null;if(typeof e==`string`)return K.String;if(typeof e==`number`)return K.Number;if(typeof e==`boolean`)return K.Boolean;if(e instanceof Date)return K.Date;if(typeof e==`object`){if(`checkbox`in e&&typeof e.checkbox==`boolean`)return K.Checkbox;if(`hyperlink`in e&&typeof e.hyperlink==`string`&&e.hyperlink){let t=`text`in e&&typeof e.text==`string`&&e.text.length>0,n=`richText`in e&&Array.isArray(e.richText)&&e.richText.length>0,r=`formula`in e&&typeof e.formula==`string`;if(t||n||r)return K.Hyperlink}if(`formula`in e&&e.formula||`sharedFormula`in e&&e.sharedFormula)return K.Formula;if(`richText`in e&&Array.isArray(e.richText)&&e.richText.length>0)return K.RichText;if(`sharedString`in e&&e.sharedString)return K.SharedString;if(`error`in e&&e.error)return K.Error}return K.JSON},types:[{t:K.Null,f:Jg},{t:K.Number,f:Yg},{t:K.String,f:Xg},{t:K.Date,f:Qg},{t:K.Hyperlink,f:$g},{t:K.Formula,f:t_},{t:K.Merge,f:e_},{t:K.JSON,f:o_},{t:K.SharedString,f:n_},{t:K.RichText,f:Zg},{t:K.Boolean,f:r_},{t:K.Error,f:a_},{t:K.Checkbox,f:i_}].reduce((e,t)=>(e[t.t]=t.f,e),[]),create(e,t,n){let r=this.types[e];if(!r)throw new wm(String(e),`Could not create Value`);return new r(t,n)}}}));function l_(e){return e.width!==void 0&&e.width!==g_}function u_(e){return!!e.hidden}function d_(e){return e.outlineLevel??0}function f_(e){return!!(e.outlineLevel&&e.outlineLevel>=(e.worksheet.properties.outlineLevelCol??0))}function p_(e,t){return e.width===t.width&&u_(e)===t.hidden&&d_(e)===t.outlineLevel&&e.bestFit===t.bestFit&&Bh(e.style,t.style)}function m_(e){if(l_(e)||u_(e)||d_(e)||e.bestFit)return!1;let t=e.style;return!(t&&(t.font||t.numFmt||t.alignment||t.border||t.fill||t.protection||t.styleName))}function h_(e){let t=[],n=null;return e.forEach((e,r)=>{m_(e)?n&&=null:!n||!p_(e,n)?(n={min:r+1,max:r+1,width:e.width===void 0?g_:e.width,style:e.style,isCustomWidth:l_(e),hidden:u_(e),outlineLevel:d_(e),collapsed:f_(e),bestFit:e.bestFit},t.push(n)):n.max=r+1}),t.length?t:void 0}var g_,__=n((()=>{Wh(),g_=9}));function v_(e,t){return{worksheet:e,number:t,cells:[],style:{},outlineLevel:0}}function y_(e,t){return e.cells[t-1]}function b_(e){return e.cells.some(e=>e&&Fg(e)!==Lh.ValueType.Null)}function x_(e){let t=0,n=0;return e.cells.forEach(e=>{e&&Fg(e)!==Lh.ValueType.Null&&((!t||t>Pg(e))&&(t=Pg(e)),n<Pg(e)&&(n=Pg(e)))}),t>0?{min:t,max:n}:null}function S_(e){return!!e.hidden}function C_(e){return e.outlineLevel??0}function w_(e){return!!(e.outlineLevel&&e.outlineLevel>=(e.worksheet.properties.outlineLevelRow??0))}function T_(e){let t=[],n=0,r=0;return e.cells.forEach(e=>{if(e){let i=Kg(e),a=e._formulaGhostOwner===void 0?i:{address:i.address,type:Lh.ValueType.Null,style:i.style,comment:i.comment};a&&((!n||n>Pg(e))&&(n=Pg(e)),r<Pg(e)&&(r=Pg(e)),t.push(a))}}),e.height!=null||t.length?{cells:t,number:e.number,min:n,max:r,height:e.height,customHeight:e.customHeight,style:e.style,hidden:S_(e),outlineLevel:C_(e),collapsed:w_(e),dyDescent:e.dyDescent}:null}var E_=n((()=>{c_(),Rh()}));function D_(e){return e._name}function O_(e){return e._workbook}function k_(e,t){return e._rows[t-1]}function A_(e,t){let n=e._rows[t-1];return n||=e._rows[t-1]=v_(e,t),n}function j_(e,t,n){let r,i;if(typeof t==`function`?i=t:(r=t,i=n),r&&r.includeEmpty){let t=e._rows.length;for(let n=1;n<=t;n++)i(A_(e,n),n)}else e._rows.forEach(e=>{e&&b_(e)&&i(e,e.number)})}function M_(e,t,n){let r=km.getAddress(t,n),i=e._rows[r.row-1];return i?y_(i,r.col):void 0}function N_(e){return Object.values(e.tables)}var P_=n((()=>{E_(),Am()}));function F_(e){return e.table}function I_(e){return e.table.name}function L_(e){return e.table.displayName||e.table.name}var R_=n((()=>{}));function z_(e,t){return e.media[Number(t)]}function B_(e,t){return e._chartEntries[t]}function V_(e,t){return e._chartExStructuredEntries?.[t]}function H_(e,t){if(t===void 0)return e._worksheets.find(Boolean);if(typeof t==`number`)return e._worksheets[t];if(typeof t==`string`){let n=t.toLowerCase();return e._worksheets.find(e=>e&&D_(e).toLowerCase()===n)}}function U_(e){return e._worksheets.slice(1).sort((e,t)=>e.orderNo-t.orderNo).filter(Boolean)}var W_=n((()=>{P_()}));function G_(e,t,n){let r=U_(e),i=e._definedNames?Oh(e._definedNames).map(e=>({name:e.name,ranges:[...e.ranges],localSheetId:e.localSheetId})):[],a=t?D_(t):void 0,o=t?t.orderNo??r.indexOf(t):void 0,s=r.map(e=>({name:D_(e),orderNo:e.orderNo,cells:new Map,tables:K_(e)})),c=u(s),l=n?jm(n,c):void 0;return u(r.map((e,t)=>{let n=new Map,r=l?.get(D_(e).toLowerCase());if(l)for(let t of r??[]){let[r,i]=t.split(`:`).map(Number),a=M_(e,r,i);a&&n.set(t,Y_(Lg(a)))}else j_(e,e=>{e.cells.forEach((t,r)=>{t&&n.set(ym(e.number,r+1),Y_(Lg(t)))})});return{...s[t],cells:n}}));function u(t){return{worksheets:t,worksheetsByName:new Map(t.map(e=>[e.name.toLowerCase(),e])),definedNames:i,date1904:e.properties?.date1904??!1,contextSheetName:a,contextLocalSheetId:o!==void 0&&o>=0?o:void 0}}}function K_(e){return N_(e).map(e=>{let t=F_(e);return{name:I_(e),displayName:L_(e),ref:t.tableRef??t.ref,columns:t.columns.map(e=>e.name),headerRow:t.headerRow!==!1,totalsRow:t.totalsRow===!0}})}function q_(e,t,n){Nm(Mm(e,G_(t,n,J_(e)),{includeSkippedDimensions:!0}))}function J_(e){let t=new Set;return n(e),[...t];function n(e){if(Array.isArray(e))e.forEach(n);else if(typeof e==`object`&&e)for(let[r,i]of Object.entries(e))r===`formula`&&typeof i==`string`?t.add(i):n(i)}}function Y_(e){if(e!=null){if(typeof e==`object`&&`result`in e)return Y_(e.result);if(typeof e==`object`&&`richText`in e)return e.richText?.map(e=>e.text??``).join(``);if(!(typeof e==`object`&&`error`in e)){if(typeof e==`object`&&`text`in e&&`hyperlink`in e)return e.text;if(e instanceof Date)return new Date(e.getTime());if(typeof e==`number`||typeof e==`string`||typeof e==`boolean`)return e}}}var X_=n((()=>{lh(),bm(),c_(),jh(),R_(),W_(),P_()})),Z_,Q_,$_=n((()=>{v(),Z_=class extends _{constructor(...e){super(...e),this.name=`XmlError`}},Q_=class extends Z_{constructor(e,t,n){let r=[];t?.fileName&&r.push(t.fileName),t?.line!==void 0&&r.push(`${t.line}:${t.column??0}`);let i=r.length>0?`${r.join(`:`)}: `:``;super(`${i}${e}`,n),this.name=`XmlParseError`,this.line=t?.line,this.column=t?.column,this.fileName=t?.fileName}}})),ev=n((()=>{pn()}));function tv(e){return!Number.isFinite(e)||e<0?0:e>1?1:e}function q(e,t,n,r){let i=n-t;return!Number.isFinite(i)||i===0?r.y+r.height/2:r.y+r.height-(e-t)/i*r.height}function nv(e,t,n,r){let i=n-t;return!Number.isFinite(i)||i===0?r.x+r.width/2:r.x+(e-t)/i*r.width}function rv(e,t,n,r){return{x:e+Math.cos(r)*n,y:t+Math.sin(r)*n}}function iv(e,t){let n=Number.isFinite(t)?t:0,r=Number.isFinite(e.x)?e.x+n:0,i=Number.isFinite(e.y)?e.y+n:0,a=Number.isFinite(e.width)?e.width-n*2:0,o=Number.isFinite(e.height)?e.height-n*2:0;return{x:r,y:i,width:a>0?a:0,height:o>0?o:0}}function J(e){return Number.isFinite(e)?e.toFixed(2).replace(/\.00$/,``):`0`}function av(e){if(!Number.isFinite(e))return``;if(Number.isInteger(e))return String(e);let t=Math.abs(e);return t!==0&&t<.01?e.toExponential(2):e.toFixed(1)}function ov(e){let t=!1,n=e.length;for(let r=0;r<n;r++){let i=e.charCodeAt(r);if(i<32){if(i!==9&&i!==10&&i!==13){t=!0;break}}else if(i>=55296&&i<=56319){let i=r+1<n?e.charCodeAt(r+1):0;if(i>=56320&&i<=57343)r++;else{t=!0;break}}else if(i>=56320&&i<=57343){t=!0;break}else if(i===127||i===65534||i===65535){t=!0;break}}return(t?sv(e):e).replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`)}function sv(e){return un(e)}function cv(e){if(!e)return;let t=e.replace(/^#/,``).toUpperCase();if(/^[0-9A-F]{6}([0-9A-F]{2})?$/.test(t))return t.slice(0,6);if(/^[0-9A-F]{3}([0-9A-F])?$/.test(t))return t.slice(0,3).split(``).map(e=>e+e).join(``)}function lv(e){if(!e)return;let t=e.replace(/^#/,``).toUpperCase();if(/^[0-9A-F]{8}$/.test(t))return parseInt(t.slice(6,8),16)/255;if(/^[0-9A-F]{4}$/.test(t)){let e=t[3];return parseInt(e+e,16)/255}}function uv(e,t){let n=cv(e);if(!n)return e;let r=Number.isFinite(t)?Math.max(0,Math.min(1,t)):1,i=e=>Math.round(parseInt(e,16)*r+255*(1-r)).toString(16).padStart(2,`0`).toUpperCase();return`#${i(n.slice(0,2))}${i(n.slice(2,4))}${i(n.slice(4,6))}`}function dv(e,t,n){let r=cv(e),i=cv(t),a=tv(n);if(!r||!i)return`#${a>=.5?i??r??`000000`:r??i??`000000`}`;let o=e=>{let t=parseInt(r.slice(e,e+2),16),n=parseInt(i.slice(e,e+2),16);return Math.round(t+(n-t)*a).toString(16).padStart(2,`0`).toUpperCase()};return`#${o(0)}${o(2)}${o(4)}`}function Y(e){let t=cv(e);if(!t)return{r:0,g:0,b:0};let n=lv(e),r={r:parseInt(t.slice(0,2),16)/255,g:parseInt(t.slice(2,4),16)/255,b:parseInt(t.slice(4,6),16)/255};return n===void 0?r:{...r,a:n}}function fv(e,t){return{...Y(e),a:tv(t)}}function pv(e){if(e){if(typeof e.srgb==`string`){let t=e.srgb.replace(/^#/,``);return/^[0-9a-fA-F]{6}$/.test(t)?`#${t.toUpperCase()}`:/^[0-9a-fA-F]{8}$/.test(t)?`#${t.slice(0,6).toUpperCase()}`:void 0}if(typeof e.theme==`number`&&Number.isInteger(e.theme)&&e.theme>=0&&e.theme<yv.length)return yv[e.theme];if(typeof e.schemeName!=`string`){if(typeof e.sysClr==`string`)return e.sysClr===`windowText`?`#000000`:e.sysClr===`window`?`#FFFFFF`:void 0;if(typeof e.prstClr==`string`){let t=bv[e.prstClr];return t?`#${t}`:void 0}}}}function mv(e,t){return pv(e?.solid)??t}function hv(e){return pv(e?.color)}function gv(e){return typeof e?.width==`number`?Math.max(.5,dl(e.width)):void 0}var X,_v,vv,yv,bv,xv=n((()=>{Co(),bl(),ev(),X=[`#${bo.accent1}`,`#${bo.accent2}`,`#${bo.accent3}`,`#${bo.accent4}`,`#${bo.accent5}`,`#${bo.accent6}`],_v=`#444444`,vv=`#D9D9D9`,yv=Object.freeze(xo.map(e=>`#${e}`)),Object.freeze([`dk1`,`lt1`,`dk2`,`lt2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`]),bv=Object.freeze({aliceBlue:`F0F8FF`,antiqueWhite:`FAEBD7`,aqua:`00FFFF`,aquamarine:`7FFFD4`,azure:`F0FFFF`,beige:`F5F5DC`,bisque:`FFE4C4`,black:`000000`,blanchedAlmond:`FFEBCD`,blue:`0000FF`,blueViolet:`8A2BE2`,brown:`A52A2A`,burlyWood:`DEB887`,cadetBlue:`5F9EA0`,chartreuse:`7FFF00`,chocolate:`D2691E`,coral:`FF7F50`,cornflowerBlue:`6495ED`,cornsilk:`FFF8DC`,crimson:`DC143C`,cyan:`00FFFF`,darkBlue:`00008B`,darkCyan:`008B8B`,darkGoldenrod:`B8860B`,darkGray:`A9A9A9`,darkGreen:`006400`,darkGrey:`A9A9A9`,darkKhaki:`BDB76B`,darkMagenta:`8B008B`,darkOliveGreen:`556B2F`,darkOrange:`FF8C00`,darkOrchid:`9932CC`,darkRed:`8B0000`,darkSalmon:`E9967A`,darkSeaGreen:`8FBC8F`,darkSlateBlue:`483D8B`,darkSlateGray:`2F4F4F`,darkSlateGrey:`2F4F4F`,darkTurquoise:`00CED1`,darkViolet:`9400D3`,deepPink:`FF1493`,deepSkyBlue:`00BFFF`,dimGray:`696969`,dimGrey:`696969`,dkBlue:`00008B`,dkCyan:`008B8B`,dkGoldenrod:`B8860B`,dkGray:`A9A9A9`,dkGreen:`006400`,dkGrey:`A9A9A9`,dkKhaki:`BDB76B`,dkMagenta:`8B008B`,dkOliveGreen:`556B2F`,dkOrange:`FF8C00`,dkOrchid:`9932CC`,dkRed:`8B0000`,dkSalmon:`E9967A`,dkSeaGreen:`8FBC8F`,dkSlateBlue:`483D8B`,dkSlateGray:`2F4F4F`,dkSlateGrey:`2F4F4F`,dkTurquoise:`00CED1`,dkViolet:`9400D3`,dodgerBlue:`1E90FF`,firebrick:`B22222`,floralWhite:`FFFAF0`,forestGreen:`228B22`,fuchsia:`FF00FF`,gainsboro:`DCDCDC`,ghostWhite:`F8F8FF`,gold:`FFD700`,goldenrod:`DAA520`,gray:`808080`,green:`008000`,greenYellow:`ADFF2F`,grey:`808080`,honeydew:`F0FFF0`,hotPink:`FF69B4`,indianRed:`CD5C5C`,indigo:`4B0082`,ivory:`FFFFF0`,khaki:`F0E68C`,lavender:`E6E6FA`,lavenderBlush:`FFF0F5`,lawnGreen:`7CFC00`,lemonChiffon:`FFFACD`,lightBlue:`ADD8E6`,lightCoral:`F08080`,lightCyan:`E0FFFF`,lightGoldenrodYellow:`FAFAD2`,lightGray:`D3D3D3`,lightGreen:`90EE90`,lightGrey:`D3D3D3`,lightPink:`FFB6C1`,lightSalmon:`FFA07A`,lightSeaGreen:`20B2AA`,lightSkyBlue:`87CEFA`,lightSlateGray:`778899`,lightSlateGrey:`778899`,lightSteelBlue:`B0C4DE`,lightYellow:`FFFFE0`,ltBlue:`ADD8E6`,ltCoral:`F08080`,ltCyan:`E0FFFF`,ltGoldenrodYellow:`FAFAD2`,ltGray:`D3D3D3`,ltGreen:`90EE90`,ltGrey:`D3D3D3`,ltPink:`FFB6C1`,ltSalmon:`FFA07A`,ltSeaGreen:`20B2AA`,ltSkyBlue:`87CEFA`,ltSlateGray:`778899`,ltSlateGrey:`778899`,ltSteelBlue:`B0C4DE`,ltYellow:`FFFFE0`,lime:`00FF00`,limeGreen:`32CD32`,linen:`FAF0E6`,magenta:`FF00FF`,maroon:`800000`,medAquamarine:`66CDAA`,medBlue:`0000CD`,medOrchid:`BA55D3`,medPurple:`9370DB`,medSeaGreen:`3CB371`,medSlateBlue:`7B68EE`,medSpringGreen:`00FA9A`,medTurquoise:`48D1CC`,medVioletRed:`C71585`,mediumAquamarine:`66CDAA`,mediumBlue:`0000CD`,mediumOrchid:`BA55D3`,mediumPurple:`9370DB`,mediumSeaGreen:`3CB371`,mediumSlateBlue:`7B68EE`,mediumSpringGreen:`00FA9A`,mediumTurquoise:`48D1CC`,mediumVioletRed:`C71585`,midnightBlue:`191970`,mintCream:`F5FFFA`,mistyRose:`FFE4E1`,moccasin:`FFE4B5`,navajoWhite:`FFDEAD`,navy:`000080`,oldLace:`FDF5E6`,olive:`808000`,oliveDrab:`6B8E23`,orange:`FFA500`,orangeRed:`FF4500`,orchid:`DA70D6`,paleGoldenrod:`EEE8AA`,paleGreen:`98FB98`,paleTurquoise:`AFEEEE`,paleVioletRed:`DB7093`,papayaWhip:`FFEFD5`,peachPuff:`FFDAB9`,peru:`CD853F`,pink:`FFC0CB`,plum:`DDA0DD`,powderBlue:`B0E0E6`,purple:`800080`,red:`FF0000`,rosyBrown:`BC8F8F`,royalBlue:`4169E1`,saddleBrown:`8B4513`,salmon:`FA8072`,sandyBrown:`F4A460`,seaGreen:`2E8B57`,seaShell:`FFF5EE`,sienna:`A0522D`,silver:`C0C0C0`,skyBlue:`87CEEB`,slateBlue:`6A5ACD`,slateGray:`708090`,slateGrey:`708090`,snow:`FFFAFA`,springGreen:`00FF7F`,steelBlue:`4682B4`,tan:`D2B48C`,teal:`008080`,thistle:`D8BFD8`,tomato:`FF6347`,turquoise:`40E0D0`,violet:`EE82EE`,wheat:`F5DEB3`,white:`FFFFFF`,whiteSmoke:`F5F5F5`,yellow:`FFFF00`,yellowGreen:`9ACD32`})}));function Sv(e){return e?._rawXml}function Cv(e){if(!e||typeof e._rawXml!=`string`)return!1;for(let t of[`fill`,`line`,`effectList`,`scene3d`,`sp3d`,`transform`,`presetGeometry`,`customGeometry`])if(e[t]!==void 0)return!1;return!0}function wv(e,t,n){let r=e.indexOf(n,t.index);if(r>=0){let i=e.indexOf(`>`,r);return e.slice(t.index,i>=0?i+1:r+n.length)}let i=e.indexOf(`>`,t.index);return e.slice(t.index,i>=0?i+1:t.index+t[0].length)}function Tv(e,t){let n=e=>e?Math.round(parseFloat(e[1])):void 0,r=n(/<a:alpha\s+val="(-?\d+(?:\.\d+)?)"/.exec(e));r!==void 0&&(t.alpha=r);let i=/<a:tint\s+val="(-?\d+(?:\.\d+)?)"/.exec(e);i&&(t.tint=parseFloat(i[1])/1e5);let a=n(/<a:shade\s+val="(-?\d+(?:\.\d+)?)"/.exec(e));a!==void 0&&(t.shade=a);let o=n(/<a:satMod\s+val="(-?\d+(?:\.\d+)?)"/.exec(e));o!==void 0&&(t.satMod=o);let s=n(/<a:lumMod\s+val="(-?\d+(?:\.\d+)?)"/.exec(e));s!==void 0&&(t.lumMod=s);let c=n(/<a:lumOff\s+val="(-?\d+(?:\.\d+)?)"/.exec(e));c!==void 0&&(t.lumOff=c)}function Ev(e){let t=Jv.exec(e);if(t){let n={srgb:t[1].toUpperCase()};return Tv(wv(e,t,`</a:srgbClr`),n),n}let n=Yv.exec(e);if(n){let t={dk1:0,tx1:0,lt1:1,bg1:1,dk2:2,tx2:2,lt2:3,bg2:3,accent1:4,accent2:5,accent3:6,accent4:7,accent5:8,accent6:9,hlink:10,folHlink:11},r=n[1],i=t[r],a=i===void 0?{schemeName:r}:{theme:i};return Tv(wv(e,n,`</a:schemeClr`),a),a}let r=Zv.exec(e);if(r){let t={sysClr:r[1]};return Tv(wv(e,r,`</a:sysClr`),t),t}let i=Qv.exec(e);if(i){let t={prstClr:i[1]};return Tv(wv(e,i,`</a:prstClr`),t),t}}function Dv(e){let t=e.indexOf(`<a:gradFill`),n=e.indexOf(`</a:gradFill`);if(t<0||n<0)return;let r=e.slice(t,n+20),i=[],a=r.indexOf(`<a:gsLst`),o=r.indexOf(`</a:gsLst`);if(a>=0&&o>=0){let e=r.slice(a,o+12),t=/<a:gs\s+pos="(-?\d+(?:\.\d+)?)"/g,n,s=[];for(;(n=t.exec(e))!==null;)s.push({pos:parseFloat(n[1]),startIdx:n.index});for(let t=0;t<s.length;t++){let n=s[t].startIdx,r=t+1<s.length?s[t+1].startIdx:e.length,a=Ev(e.slice(n,r));a&&i.push({position:s[t].pos/1e5,color:a})}}if(i.length<2)return;let s,c,l,u=/<a:lin\b([^/>]*)\/?>/.exec(r);if(u){let e=u[1],t=/\bang="(-?\d+(?:\.\d+)?)"/.exec(e);t&&(s=parseFloat(t[1])/6e4);let n=/\bscaled="(1|true|0|false)"/.exec(e);n&&(c=n[1]===`1`||n[1]===`true`),l=`linear`}let d=/<a:path\s+path="([^"]+)"/.exec(r),f;if(d){l=d[1];let e=/<a:fillToRect\b([^/>]*)/.exec(r);if(e){let t=e[1],n=e=>{let n=RegExp(`\\b${e}="(-?\\d+(?:\\.\\d+)?)"`).exec(t);return n?parseFloat(n[1])/1e5:void 0};f={left:n(`l`),top:n(`t`),right:n(`r`),bottom:n(`b`)},f.left===void 0&&f.top===void 0&&f.right===void 0&&f.bottom===void 0&&(f=void 0)}}return{gradient:{stops:i,angle:s,type:l,...c===void 0?{}:{scaled:c},...f?{fillToRect:f}:{}}}}function Ov(e){let t=/<a:pattFill\s+prst="([^"]+)"/.exec(e);if(!t)return;let n=t[1],r=t.index,i=e.indexOf(`</a:pattFill`,r),a=e.slice(r,i>0?i+15:void 0),o=(e,t,n)=>{let r=a.indexOf(e);if(r<0)return``;let i=a.indexOf(t,r);if(i>=0)return a.slice(r,i+t.length+1);let o=a.indexOf(n,r+e.length);return a.slice(r,o>0?o:void 0)},s=o(`<a:fgClr`,`</a:fgClr`,`<a:bgClr`),c=o(`<a:bgClr`,`</a:bgClr`,`<a:fgClr`);return{pattern:{preset:n,foreground:s?Ev(s):void 0,background:c?Ev(c):void 0}}}function kv(e,t){let n=RegExp(`<${t}\\b[^>]*/>`),r=RegExp(`<${t}\\b[^>]*(?<!/)>`),i=RegExp(`</${t}>`),a=e;for(let e=0;e<8;e++){let e=n.exec(a),t=r.exec(a),o=e?e.index:1/0,s=t?t.index:1/0;if(o===1/0&&s===1/0)break;if(o<s&&e){a=a.slice(0,e.index)+a.slice(e.index+e[0].length);continue}if(t){let e=t.index+t[0].length,n=i.exec(a.slice(e));if(!n)break;let r=e+n.index+n[0].length;a=a.slice(0,t.index)+a.slice(r);continue}break}return a}function Av(e){let t=Sv(e);if(!t)return e;let n={},r=kv(t,`a:ln`),i=!1,a=/<a:solidFill\s*\/>/.exec(r),o=r.indexOf(`<a:solidFill`);if(o>=0&&!a){let e=r.indexOf(`</a:solidFill>`,o);if(e>=0){let t=Ev(r.slice(o,e+14));t&&(n.fill={solid:t},i=!0)}}i||(r.includes(`<a:noFill`)?n.fill={noFill:!0}:r.includes(`<a:gradFill`)?n.fill=Dv(r):r.includes(`<a:pattFill`)&&(n.fill=Ov(r)));let s=/<a:ln(?=[\s/>])([^>]*)/.exec(t);if(s){let e=/\/\s*$/.test(s[1]),r=s.index+s[0].length+1,i=e?-1:t.indexOf(`</a:ln>`,s.index),a=e?t.slice(s.index,r):i>=0?t.slice(s.index,i+7):t.slice(s.index,r),o={},c=/\bw="(\d+)"/.exec(s[1]);if(c&&(o.width=parseInt(c[1],10)),a.includes(`<a:noFill`))o.noFill=!0;else if(a.includes(`<a:solidFill`)){let e=/<a:solidFill>([\s\S]*?)<\/a:solidFill>/.exec(a);o.color=Ev(e?e[1]:a)}let l=/<a:prstDash\s+val="([^"]+)"/.exec(a);l&&(o.dash=l[1]),n.line=o}if(t.includes(`<a:effectLst`)||t.includes(`<a:effectDag`)){let e=Iv(t);e&&(n.effectList=e)}if(t.includes(`<a:scene3d`)){let e=Rv(t);e&&(n.scene3d=e)}if(t.includes(`<a:sp3d`)){let e=zv(t);e&&(n.sp3d=e)}if(t.includes(`<a:xfrm`)){let e=jv(t);e&&(n.transform=e)}if(t.includes(`<a:prstGeom`)){let e=Mv(t);e&&(n.presetGeometry=e)}if(t.includes(`<a:custGeom`)){let e=Nv(t);e&&(n.customGeometry=e)}return n}function jv(e){let t=/<a:xfrm\b([^>]*)(?:\/>|>([\s\S]*?)<\/a:xfrm>)/.exec(e);if(!t)return;let n=t[1]??``,r=t[2]??``,i={},a=/\brot="(-?\d+)"/.exec(n);a&&(i.rotation=parseInt(a[1],10)),/\bflipH="1"/.test(n)&&(i.flipHorizontal=!0),/\bflipV="1"/.test(n)&&(i.flipVertical=!0);let o=/<a:off\b([^/>]*)\/>/.exec(r);if(o){let e=/\bx="(-?\d+)"/.exec(o[1]),t=/\by="(-?\d+)"/.exec(o[1]);e&&(i.offsetX=parseInt(e[1],10)),t&&(i.offsetY=parseInt(t[1],10))}let s=/<a:ext\b([^/>]*)\/>/.exec(r);if(s){let e=/\bcx="(\d+)"/.exec(s[1]),t=/\bcy="(\d+)"/.exec(s[1]);e&&(i.width=parseInt(e[1],10)),t&&(i.height=parseInt(t[1],10))}return Object.keys(i).length>0?i:void 0}function Mv(e){let t=/<a:prstGeom\b([^>]*)(?:\/>|>([\s\S]*?)<\/a:prstGeom>)/.exec(e);if(!t)return;let n=t[1]??``,r=t[2]??``,i=/\bprst="([^"]+)"/.exec(n);if(!i)return;let a={preset:i[1]},o=Pv(r);return o.length>0&&(a.adjustments=o),a}function Nv(e){let t=/<a:custGeom\b[^>]*>([\s\S]*?)<\/a:custGeom>/.exec(e);if(!t)return;let n=t[1],r={},i=Pv(n);i.length>0&&(r.adjustments=i);let a=[],o=/<a:path\b([^>]*)>([\s\S]*?)<\/a:path>/g,s;for(;(s=o.exec(n))!==null;){let e=s[1]??``,t=s[2]??``,n={commands:[]},r=/\bw="(\d+)"/.exec(e),i=/\bh="(\d+)"/.exec(e);r&&(n.w=parseInt(r[1],10)),i&&(n.h=parseInt(i[1],10));let o=/\bfill="([^"]+)"/.exec(e);o&&(n.fill=o[1]),/\bstroke="1"/.test(e)?n.stroke=!0:/\bstroke="0"/.test(e)&&(n.stroke=!1),n.commands=Fv(t),a.push(n)}return a.length>0&&(r.paths=a),Object.keys(r).length>0?r:void 0}function Pv(e){let t=/<a:avLst\b[^>]*>([\s\S]*?)<\/a:avLst>/.exec(e);if(!t)return[];let n=[],r=/<a:gd\b[^>]*\bname="([^"]+)"[^>]*\bfmla="([^"]+)"[^>]*\/>/g,i;for(;(i=r.exec(t[1]))!==null;)n.push({name:i[1],fmla:i[2]});return n}function Fv(e){let t=[],n=/<a:(moveTo|lnTo|cubicBezTo|quadBezTo|arcTo|close)\b([^/>]*)(?:\/>|>([\s\S]*?)<\/a:\1>)/g,r;for(;(r=n.exec(e))!==null;){let e=r[1],n=r[2]??``,i=r[3]??``;if(e===`close`){t.push({type:`close`});continue}if(e===`arcTo`){let e=/\bwR="(-?\d+)"/.exec(n)?.[1],r=/\bhR="(-?\d+)"/.exec(n)?.[1],i=/\bstAng="(-?\d+)"/.exec(n)?.[1],a=/\bswAng="(-?\d+)"/.exec(n)?.[1];e&&r&&i&&a&&t.push({type:`arcTo`,arcParams:{wR:parseInt(e,10),hR:parseInt(r,10),stAng:parseInt(i,10),swAng:parseInt(a,10)}});continue}let a=[],o=/<a:pt\b([^/>]*)\/>/g,s;for(;(s=o.exec(i))!==null;){let e=s[1],t=/\bx="(-?\d+)"/.exec(e),n=/\by="(-?\d+)"/.exec(e);t&&n&&a.push({x:parseInt(t[1],10),y:parseInt(n[1],10)})}t.push({type:e,points:a})}return t}function Iv(e){let t=e.indexOf(`<a:effectLst`),n=e.indexOf(`</a:effectLst`);if(t<0||n<0)return;let r=e.slice(t,n+14),i={},a=/<a:blur(\s+[^/>]*)?\s*\/>/.exec(r);if(a){let e=Vv(a[0]);i.blur={},e.rad&&(i.blur.radius=parseInt(e.rad,10)),e.grow===`1`&&(i.blur.grow=!0)}let o=Lv(r,`a:outerShdw`);o&&(i.outerShadow=o);let s=Lv(r,`a:innerShdw`);s&&(i.innerShadow=s);let c=/<a:prstShdw\s+([^>]*)>([\s\S]*?)<\/a:prstShdw>/.exec(r);if(c){let e=Vv(c[0]),t=Ev(c[2]);e.prst&&t&&(i.presetShadow={preset:e.prst,color:t},e.dist&&(i.presetShadow.distance=parseInt(e.dist,10)),e.dir&&(i.presetShadow.direction=parseInt(e.dir,10)))}let l=/<a:glow\s+([^>]*)>([\s\S]*?)<\/a:glow>/.exec(r);if(l){let e=Vv(l[0]),t=Ev(l[2]);e.rad&&t&&(i.glow={radius:parseInt(e.rad,10),color:t})}let u=/<a:softEdge\s+([^/>]*)\s*\/>/.exec(r);if(u){let e=Vv(u[0]);e.rad&&(i.softEdge={radius:parseInt(e.rad,10)})}let d=/<a:reflection\s+([^/>]*)\s*\/>/.exec(r);if(d){let e=Vv(d[0]),t={};e.blurRad&&(t.blurRadius=parseInt(e.blurRad,10)),e.stA&&(t.startOpacity=parseInt(e.stA,10)),e.stPos&&(t.startPosition=parseInt(e.stPos,10)),e.endA&&(t.endOpacity=parseInt(e.endA,10)),e.endPos&&(t.endPosition=parseInt(e.endPos,10)),e.dist&&(t.distance=parseInt(e.dist,10)),e.dir&&(t.direction=parseInt(e.dir,10)),e.fadeDir&&(t.fadeDirection=parseInt(e.fadeDir,10)),e.sx&&(t.scaleHorizontal=parseInt(e.sx,10)),e.sy&&(t.scaleVertical=parseInt(e.sy,10)),e.kx&&(t.skewHorizontal=parseInt(e.kx,10)),e.ky&&(t.skewVertical=parseInt(e.ky,10)),e.algn&&(t.alignment=e.algn),e.rotWithShape===`1`&&(t.rotateWithShape=!0),i.reflection=t}if(Object.keys(i).length!==0)return i}function Lv(e,t){let n=(Xv[t]??RegExp(`<${t}\\s+([^>]*)>([\\s\\S]*?)<\\/${t}>`)).exec(e);if(!n)return;let r=Vv(n[0]),i=Ev(n[2]);if(!i)return;let a={color:i};return r.blurRad&&(a.blurRadius=parseInt(r.blurRad,10)),r.dist&&(a.distance=parseInt(r.dist,10)),r.dir&&(a.direction=parseInt(r.dir,10)),r.algn&&(a.alignment=r.algn),r.rotWithShape===`1`&&(a.rotateWithShape=!0),r.sx&&(a.scaleHorizontal=parseInt(r.sx,10)),r.sy&&(a.scaleVertical=parseInt(r.sy,10)),r.kx&&(a.skewHorizontal=parseInt(r.kx,10)),r.ky&&(a.skewVertical=parseInt(r.ky,10)),a}function Rv(e){let t=e.indexOf(`<a:scene3d`),n=e.indexOf(`</a:scene3d`);if(t<0||n<0)return;let r=e.slice(t,n+13),i={},a=/<a:camera\s+([^>]*)(?:\/|>[\s\S]*?<\/a:camera)>/.exec(r);if(a){let e=Vv(a[0]);if(e.prst){i.camera={preset:e.prst},e.fov&&(i.camera.fov=parseInt(e.fov,10)),e.zoom&&(i.camera.zoom=parseInt(e.zoom,10));let t=/<a:rot\s+([^/>]*)\s*\/>/.exec(a[0]);if(t){let e=Vv(t[0]);e.lat&&e.lon&&e.rev&&(i.camera.rotation={lat:parseInt(e.lat,10),lon:parseInt(e.lon,10),rev:parseInt(e.rev,10)})}}}let o=/<a:lightRig\s+([^>]*)(?:\/|>[\s\S]*?<\/a:lightRig)>/.exec(r);if(o){let e=Vv(o[0]);e.rig&&e.dir&&(i.lightRig={rig:e.rig,direction:e.dir})}if(!(!i.camera&&!i.lightRig))return i}function zv(e){let t=e.indexOf(`<a:sp3d`);if(t<0)return;let n=e.indexOf(`/>`,t),r=e.indexOf(`>`,t),i=n>=0&&(r<0||n<r),a;if(i)a=e.slice(t,n+2);else if(r>=0){let n=e.indexOf(`</a:sp3d>`,r);a=n>=0?e.slice(t,n+9):e.slice(t,r+1)}else a=e.slice(t);let o=a.indexOf(`>`),s=Vv(o>=0?a.slice(0,o+1):a),c={};s.z&&(c.z=parseInt(s.z,10)),s.extrusionH&&(c.extrusionHeight=parseInt(s.extrusionH,10)),s.contourW&&(c.contourWidth=parseInt(s.contourW,10)),s.prstMaterial&&(c.material=s.prstMaterial);let l=a.indexOf(`<a:bevelT`);if(l>=0){let e=a.indexOf(`/>`,l);e>=0&&(c.bevelTop=Bv(a.slice(l,e+2)))}let u=a.indexOf(`<a:bevelB`);if(u>=0){let e=a.indexOf(`/>`,u);e>=0&&(c.bevelBottom=Bv(a.slice(u,e+2)))}if(!i){let e=a.indexOf(`<a:extrusionClr>`);if(e>=0){let t=a.indexOf(`</a:extrusionClr>`,e);if(t>=0){let n=Ev(a.slice(e+16,t));n&&(c.extrusionColor=n)}}let t=a.indexOf(`<a:contourClr>`);if(t>=0){let e=a.indexOf(`</a:contourClr>`,t);if(e>=0){let n=Ev(a.slice(t+14,e));n&&(c.contourColor=n)}}}return c}function Bv(e){let t=Vv(e),n={};return t.w&&(n.width=parseInt(t.w,10)),t.h&&(n.height=parseInt(t.h,10)),t.prst&&(n.preset=t.prst),n}function Vv(e){let t={},n=0,r=e.length;for(;n<r;){for(;n<r&&!Hv(e.charCodeAt(n));)n++;if(n>=r)break;let i=n;for(;n<r&&Hv(e.charCodeAt(n));)n++;let a=e.slice(i,n);if(n>=r||e.charCodeAt(n)!==61||(n++,n>=r||e.charCodeAt(n)!==34))continue;n++;let o=n;for(;n<r&&e.charCodeAt(n)!==34;)n++;t[a]=e.slice(o,n),n<r&&n++}return t}function Hv(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===95}function Uv(e,t,n){let r=e.indexOf(`<${t}`);if(r<0)return;let i=e.indexOf(`>`,r);if(i<0)return;let a=e.slice(r,i+1),o=RegExp(`${n}="([^"]*)"`).exec(a);return o?o[1]:void 0}function Wv(e){return(Cv(e)?Av(e):e).fill}function Gv(e){return(Cv(e)?Av(e):e).line}function Kv(e){let t=Sv(e);if(!t)return e;let n={},r=Uv(t,`a:defRPr`,`sz`)??Uv(t,`a:rPr`,`sz`);r&&(n.size=parseInt(r,10));let i=Uv(t,`a:defRPr`,`b`)??Uv(t,`a:rPr`,`b`);i&&(n.bold=i===`1`||i===`true`);let a=Uv(t,`a:defRPr`,`i`)??Uv(t,`a:rPr`,`i`);a&&(n.italic=a===`1`||a===`true`);let o=Uv(t,`a:defRPr`,`u`)??Uv(t,`a:rPr`,`u`);o&&(n.underline=o);let s=Uv(t,`a:defRPr`,`strike`)??Uv(t,`a:rPr`,`strike`);s&&(n.strike=s);let c=Uv(t,`a:defRPr`,`cap`)??Uv(t,`a:rPr`,`cap`);c&&(n.cap=c);let l=Uv(t,`a:defRPr`,`baseline`)??Uv(t,`a:rPr`,`baseline`);l&&(n.baseline=parseInt(l,10));let u=Uv(t,`a:defRPr`,`kern`)??Uv(t,`a:rPr`,`kern`);u&&(n.kern=parseInt(u,10));let d=Uv(t,`a:defRPr`,`spc`)??Uv(t,`a:rPr`,`spc`);d&&(n.spacing=parseInt(d,10));let f=Uv(t,`a:defRPr`,`lang`)??Uv(t,`a:rPr`,`lang`);f&&(n.lang=f);let p=(e,n)=>{let r=t.indexOf(e);if(r<0)return;let i=t.indexOf(n,r),a=t.slice(r,i>0?i+n.length:void 0);if(a.includes(`<a:solidFill`))return Ev(a)};n.color=p(`<a:defRPr`,`</a:defRPr>`)??p(`<a:rPr`,`</a:rPr>`);let m=/<a:latin\s+typeface="([^"]+)"/.exec(t);m&&(n.fontFamily=m[1]);let h=/<a:ea\s+typeface="([^"]+)"/.exec(t);h&&(n.eastAsianFamily=h[1]);let g=/<a:cs\s+typeface="([^"]+)"/.exec(t);g&&(n.complexScriptFamily=g[1]);let _=Uv(t,`a:bodyPr`,`rot`);return _&&(n.rotation=parseInt(_,10)),n}function qv(e){let t=Cv(e)?Kv(e):e;return t.size===void 0?void 0:t.size/100}var Jv,Yv,Xv,Zv,Qv,$v=n((()=>{Jv=/<a:srgbClr\s+val="([0-9A-Fa-f]{6})"/i,Yv=/<a:schemeClr\s+val="([^"]+)"/i,Xv={"a:outerShdw":/<a:outerShdw\s+([^>]*)>([\s\S]*?)<\/a:outerShdw>/,"a:innerShdw":/<a:innerShdw\s+([^>]*)>([\s\S]*?)<\/a:innerShdw>/},Zv=/<a:sysClr\s+val="([^"]+)"/i,Qv=/<a:prstClr\s+val="([^"]+)"/i}));function ey(e){return typeof e==`object`&&`nativeCol`in e&&`nativeRow`in e&&`nativeColOff`in e&&`nativeRowOff`in e}function ty(e){return typeof e==`object`&&`col`in e&&`row`in e}function ny(e){let t=e.worksheet?._columns[e.nativeCol];return t&&l_(t)?Math.floor(t.width*1e4):64e4}function ry(e){let t=e.worksheet?._rows[e.nativeRow]?.height;return t?Math.floor(t*1e4):18e4}function iy(e){return e.nativeColOff===0?e.nativeCol:e.nativeCol+Math.min(ny(e)-1,e.nativeColOff)/ny(e)}function ay(e,t){e.nativeCol=Math.floor(t);let n=t-e.nativeCol;e.nativeColOff=n===0?0:Math.floor(n*ny(e))}function oy(e){return e.nativeRowOff===0?e.nativeRow:e.nativeRow+Math.min(ry(e)-1,e.nativeRowOff)/ry(e)}function sy(e,t){e.nativeRow=Math.floor(t);let n=t-e.nativeRow;e.nativeRowOff=n===0?0:Math.floor(n*ry(e))}function cy(e,t,n=0){let r={worksheet:e,nativeCol:0,nativeColOff:0,nativeRow:0,nativeRowOff:0};if(!t)return r;if(typeof t==`string`){let e=km.decodeAddress(t);r.nativeCol=e.col+n,r.nativeRow=e.row+n}else ey(t)?(r.nativeCol=t.nativeCol??0,r.nativeColOff=t.nativeColOff??0,r.nativeRow=t.nativeRow??0,r.nativeRowOff=t.nativeRowOff??0):ty(t)&&(ay(r,t.col+n),sy(r,t.row+n));return r}function ly(e){return{nativeCol:e.nativeCol,nativeColOff:e.nativeColOff,nativeRow:e.nativeRow,nativeRowOff:e.nativeRowOff}}var uy=n((()=>{__(),Am()}));function dy(e){if(!(e.chartNumber<=0))return B_(O_(e.worksheet),e.chartNumber)?.model}function fy(e){if(!(e.chartExNumber<=0))return V_(O_(e.worksheet),e.chartExNumber)?.model}var py=n((()=>{W_(),P_()}));function my(e,t){return e[t]<<8|e[t+1]}function hy(e,t){let n=e[t]<<8|e[t+1];return n>=32768?n-65536:n}function gy(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function _y(e,t){return String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])}function vy(e){let t=my(e,4),n=new Map;for(let r=0;r<t;r++){let t=12+r*16,i=_y(e,t);n.set(i,{offset:gy(e,t+8),length:gy(e,t+12)})}return n}function yy(e,t){let n=t.offset,r=my(e,n+2),i=new Map;for(let t=0;t<r;t++){let r=n+4+t*8,a=my(e,r),o=my(e,r+2),s=n+gy(e,r+4),c=my(e,s);a===3&&(o===1||o===10)&&(c===4?by(e,s,i):c===12&&xy(e,s,i))}return i}function by(e,t,n){let r=my(e,t+6)>>1,i=t+14,a=i+r*2+2,o=a+r*2,s=o+r*2;for(let t=0;t<r;t++){let r=my(e,i+t*2),c=my(e,a+t*2),l=hy(e,o+t*2),u=my(e,s+t*2);if(c===65535)break;for(let i=c;i<=r;i++){let r;u===0?r=i+l&65535:(r=my(e,s+t*2+u+(i-c)*2),r!==0&&(r=r+l&65535)),r!==0&&!n.has(i)&&n.set(i,r)}}}function xy(e,t,n){let r=gy(e,t+12),i=t+16;for(let t=0;t<r;t++){let t=gy(e,i),r=gy(e,i+4),a=gy(e,i+8);for(let e=t;e<=r;e++)n.has(e)||n.set(e,a),a++;i+=12}}function Sy(e,t,n,r){let i=new Uint32Array(n+1),a=t.offset;if(r)for(let t=0;t<=n;t++)i[t]=gy(e,a+t*4);else for(let t=0;t<=n;t++)i[t]=my(e,a+t*2)*2;return i}function Cy(e,t,n,r){let i=new Uint16Array(r),a=t.offset,o=0;for(let t=0;t<n;t++)o=my(e,a+t*4),i[t]=o;for(let e=n;e<r;e++)i[e]=o;return i}function wy(e,t,n){let r=t+10,i=[];for(let t=0;t<n;t++)i.push(my(e,r)),r+=2;let a=i[i.length-1]+1,o=my(e,r);r+=2+o;let s=[];for(;s.length<a;){let t=e[r++];if(s.push(t),t&Ry){let n=e[r++];for(let e=0;e<n;e++)s.push(t)}}let c=Array(a),l=0;for(let t=0;t<a;t++){let n=s[t];if(n&Iy){let t=e[r++];l+=n&zy?t:-t}else n&zy||(l+=hy(e,r),r+=2);c[t]=l}let u=Array(a),d=0;for(let t=0;t<a;t++){let n=s[t];if(n&Ly){let t=e[r++];d+=n&By?t:-t}else n&By||(d+=hy(e,r),r+=2);u[t]=d}let f=[],p=0;for(let e=0;e<n;e++){let t=i[e],n=[];for(let e=p;e<=t;e++)n.push({x:c[e],y:u[e],onCurve:!!(s[e]&Fy)});f.push(n),p=t+1}return f}function Ty(e,t,n,r){let i=t+10,a=[];for(;;){let t=my(e,i);i+=2;let o=my(e,i);i+=2;let s,c;t&Vy?(t&Hy?(s=hy(e,i),c=hy(e,i+2)):(s=0,c=0),i+=4):(t&Hy?(s=e[i]>=128?e[i]-256:e[i],c=e[i+1]>=128?e[i+1]-256:e[i+1]):(s=0,c=0),i+=2);let l=1,u=0,d=0,f=1;t&Uy?(l=f=hy(e,i)/16384,i+=2):t&Gy?(l=hy(e,i)/16384,f=hy(e,i+2)/16384,i+=4):t&Ky&&(l=hy(e,i)/16384,u=hy(e,i+2)/16384,d=hy(e,i+4)/16384,f=hy(e,i+6)/16384,i+=8);let p=Ey(e,o,n,r);for(let e of p){let t=e.map(e=>({x:l*e.x+d*e.y+s,y:u*e.x+f*e.y+c,onCurve:e.onCurve}));a.push(t)}if(!(t&Wy))break}return a}function Ey(e,t,n,r){let i=r[t];if(r[t+1]-i<10)return[];let a=n+i,o=hy(e,a);return o>=0?wy(e,a,o):Ty(e,a,n,r)}function Dy(e){if(e.length<2)return[];let t=[],n=e.length,r=0,i;e[0].onCurve?(i=e[0],r=1):e[n-1].onCurve?(i=e[n-1],r=0):(i={x:(e[0].x+e[n-1].x)/2,y:(e[0].y+e[n-1].y)/2},r=0);let a=i;for(let o=r;o<n;o++){let r=e[o];if(r.onCurve)t.push({x1:a.x,y1:a.y,x2:r.x,y2:r.y}),a=r;else{let s,c=(o+1)%n,l=e[c];l.onCurve?(s=l,o++,c===0&&(s=i,o=n)):s={x:(r.x+l.x)/2,y:(r.y+l.y)/2},Oy(a.x,a.y,r.x,r.y,s.x,s.y,t),a=s}}return(a.x!==i.x||a.y!==i.y)&&t.push({x1:a.x,y1:a.y,x2:i.x,y2:i.y}),t}function Oy(e,t,n,r,i,a,o){let s=e,c=t;for(let l=1;l<=8;l++){let u=l/8,d=1-u,f=d*d*e+2*d*u*n+u*u*i,p=d*d*t+2*d*u*r+u*u*a;o.push({x1:s,y1:c,x2:f,y2:p}),s=f,c=p}}function ky(e){let t=gy(e,0),n=e;return t===1953784678?jy(e,Ay(e,gy(e,12))):jy(n,vy(n))}function Ay(e,t){let n=my(e,t+4),r=new Map;for(let i=0;i<n;i++){let n=t+12+i*16,a=_y(e,n);r.set(a,{offset:gy(e,n+8),length:gy(e,n+12)})}return r}function jy(e,t){let n=t.get(`head`),r=t.get(`hhea`),i=t.get(`maxp`),a=t.get(`cmap`),o=t.get(`hmtx`),s=t.get(`loca`),c=t.get(`glyf`);if(!n||!r||!i||!a||!o||!s||!c)return{unitsPerEm:1e3,ascent:800,descent:-200,getOutline:()=>void 0};let l=my(e,n.offset+18),u=hy(e,n.offset+50),d=hy(e,r.offset+4),f=hy(e,r.offset+6),p=my(e,r.offset+34),m=my(e,i.offset+4),h=yy(e,a),g=Cy(e,o,p,m),_=Sy(e,s,m,u!==0),v=c.offset;return{unitsPerEm:l,ascent:d,descent:f,getOutline(t){let n=h.get(t);if(n===void 0||n===0)return;let r=Ey(e,n,v,_);if(r.length!==0)return{contours:r,advanceWidth:g[n]}}}}function My(e,t,n){let r=t/n,i=r*4,a=e.contours.map(e=>e.map(e=>({x:e.x*i,y:-e.y*i,onCurve:e.onCurve}))),o=1/0,s=1/0,c=-1/0,l=-1/0;for(let e of a)for(let t of e)t.x<o&&(o=t.x),t.x>c&&(c=t.x),t.y<s&&(s=t.y),t.y>l&&(l=t.y);if(!Number.isFinite(o))return{width:Math.ceil(e.advanceWidth*r),height:Math.ceil(t),offsetX:0,offsetY:0,pixels:new Uint8Array};let u=Math.ceil((c-o)/4)+2,d=Math.ceil((l-s)/4)+2;if(u<=0||d<=0)return{width:Math.ceil(e.advanceWidth*r),height:Math.ceil(t),offsetX:0,offsetY:0,pixels:new Uint8Array};let f=u*4,p=d*4,m=-o+4,h=-s+4,g=[];for(let e of a){let t=e.map(e=>({x:e.x+m,y:e.y+h,onCurve:e.onCurve}));g.push(...Dy(t))}let _=new Uint8Array(f*p);for(let e=0;e<p;e++){let t=e+.5,n=[];for(let e of g){let r=e.y1,i=e.y2;if(r<=t&&i>t||i<=t&&r>t){let a=(t-r)/(i-r);n.push(e.x1+a*(e.x2-e.x1))}}n.sort((e,t)=>e-t);for(let t=0;t<n.length-1;t+=2){let r=Math.max(0,Math.ceil(n[t])),i=Math.min(f-1,Math.floor(n[t+1]));for(let t=r;t<=i;t++)_[e*f+t]=1}}let v=new Uint8Array(u*d);for(let e=0;e<d;e++)for(let t=0;t<u;t++){let n=0,r=e*4,i=t*4;for(let e=0;e<4;e++){let t=r+e;if(t>=p)break;for(let e=0;e<4;e++){let r=i+e;if(r>=f)break;n+=_[t*f+r]}}n>0&&(v[e*u+t]=Math.round(n/16*255))}return{width:u,height:d,offsetX:Math.floor(o/4)-1,offsetY:Math.floor(s/4)-1,pixels:v}}function Ny(){if(Jy)return qy;Jy=!0;try{let e=Py();for(let t of e)try{if(Ya(t))return qy=ky(Xa(t)),qy}catch{continue}}catch{}return null}function Py(){let e=typeof process<`u`?process.platform:``,t=[];if(e===`darwin`)t.push(`/System/Library/Fonts/Supplemental/Arial.ttf`,`/Library/Fonts/Arial.ttf`,`/System/Library/Fonts/Helvetica.ttc`,`/System/Library/Fonts/SFNSText.ttf`,`/System/Library/Fonts/SFNS.ttf`);else if(e===`win32`){let e=process.env.WINDIR||process.env.windir||`C:\\Windows`;t.push(`${e}\\Fonts\\arial.ttf`,`${e}\\Fonts\\calibri.ttf`,`${e}\\Fonts\\segoeui.ttf`,`${e}\\Fonts\\tahoma.ttf`)}else t.push(`/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf`,`/usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf`,`/usr/share/fonts/TTF/DejaVuSans.ttf`,`/usr/share/fonts/noto/NotoSans-Regular.ttf`,`/usr/share/fonts/truetype/freefont/FreeSans.ttf`);return t}var Fy,Iy,Ly,Ry,zy,By,Vy,Hy,Uy,Wy,Gy,Ky,qy,Jy,Yy=n((()=>{Qa(),Fy=1,Iy=2,Ly=4,Ry=8,zy=16,By=32,Vy=1,Hy=2,Uy=8,Wy=32,Gy=64,Ky=128,qy=null,Jy=!1})),Xy,Zy=n((()=>{Xy={32:{w:.35,d:[]},33:{w:.25,d:[[[.12,.15],[.12,.55]],[[.12,.7],[.12,.75]]]},34:{w:.35,d:[[[.1,.15],[.1,.3]],[[.25,.15],[.25,.3]]]},35:{w:.55,d:[[[.15,.15],[.1,.75]],[[.35,.15],[.3,.75]],[[.05,.4],[.4,.4]],[[.03,.55],[.38,.55]]]},36:{w:.5,d:[[[.4,.22],[.35,.18],[.25,.15],[.15,.18],[.1,.25],[.1,.32],[.15,.38],[.25,.43],[.35,.48],[.4,.55],[.4,.63],[.35,.7],[.25,.75],[.15,.72],[.1,.67]],[[.25,.1],[.25,.8]]]},37:{w:.6,d:[[[.5,.15],[.1,.75]],[[.1,.22],[.12,.17],[.18,.17],[.2,.22],[.2,.28],[.18,.32],[.12,.32],[.1,.28],[.1,.22]],[[.4,.58],[.42,.53],[.48,.53],[.5,.58],[.5,.65],[.48,.7],[.42,.7],[.4,.65],[.4,.58]]]},38:{w:.55,d:[[[.5,.55],[.35,.75],[.2,.75],[.1,.65],[.1,.55],[.35,.35],[.35,.25],[.3,.18],[.2,.18],[.15,.25],[.15,.35],[.5,.75]]]},39:{w:.2,d:[[[.1,.15],[.1,.3]]]},40:{w:.3,d:[[[.22,.1],[.15,.2],[.1,.35],[.1,.55],[.15,.7],[.22,.85]]]},41:{w:.3,d:[[[.08,.1],[.15,.2],[.2,.35],[.2,.55],[.15,.7],[.08,.85]]]},42:{w:.4,d:[[[.2,.2],[.2,.45]],[[.08,.26],[.32,.39]],[[.32,.26],[.08,.39]]]},43:{w:.5,d:[[[.25,.3],[.25,.6]],[[.1,.45],[.4,.45]]]},44:{w:.25,d:[[[.12,.7],[.12,.75],[.08,.85]]]},45:{w:.4,d:[[[.08,.45],[.32,.45]]]},46:{w:.25,d:[[[.12,.72],[.12,.75]]]},47:{w:.35,d:[[[.3,.1],[.05,.85]]]},48:{w:.5,d:[[[.25,.15],[.15,.18],[.1,.28],[.1,.62],[.15,.72],[.25,.75],[.35,.72],[.4,.62],[.4,.28],[.35,.18],[.25,.15]]]},49:{w:.4,d:[[[.15,.25],[.25,.15],[.25,.75]],[[.12,.75],[.38,.75]]]},50:{w:.5,d:[[[.1,.25],[.15,.18],[.25,.15],[.35,.18],[.4,.28],[.4,.35],[.35,.45],[.1,.75],[.42,.75]]]},51:{w:.5,d:[[[.1,.18],[.2,.15],[.32,.15],[.4,.22],[.4,.33],[.35,.4],[.25,.43],[.35,.48],[.4,.55],[.4,.65],[.35,.72],[.25,.75],[.15,.72],[.1,.65]]]},52:{w:.5,d:[[[.35,.75],[.35,.15],[.08,.55],[.42,.55]]]},53:{w:.5,d:[[[.38,.15],[.12,.15],[.1,.4],[.2,.37],[.32,.37],[.4,.45],[.4,.6],[.35,.7],[.25,.75],[.15,.72],[.1,.65]]]},54:{w:.5,d:[[[.38,.2],[.3,.15],[.2,.15],[.1,.25],[.1,.6],[.15,.72],[.25,.75],[.35,.72],[.4,.6],[.4,.52],[.35,.42],[.25,.4],[.15,.42],[.1,.5]]]},55:{w:.5,d:[[[.1,.15],[.4,.15],[.2,.75]]]},56:{w:.5,d:[[[.25,.43],[.15,.4],[.1,.32],[.1,.23],[.15,.17],[.25,.15],[.35,.17],[.4,.23],[.4,.32],[.35,.4],[.25,.43],[.15,.48],[.1,.56],[.1,.65],[.15,.72],[.25,.75],[.35,.72],[.4,.65],[.4,.56],[.35,.48],[.25,.43]]]},57:{w:.5,d:[[[.12,.68],[.2,.75],[.3,.75],[.4,.65],[.4,.3],[.35,.18],[.25,.15],[.15,.18],[.1,.3],[.1,.38],[.15,.48],[.25,.5],[.35,.48],[.4,.4]]]},58:{w:.25,d:[[[.12,.38],[.12,.42]],[[.12,.7],[.12,.75]]]},59:{w:.25,d:[[[.12,.38],[.12,.42]],[[.12,.7],[.12,.75],[.08,.85]]]},60:{w:.4,d:[[[.35,.25],[.1,.45],[.35,.65]]]},61:{w:.45,d:[[[.08,.38],[.37,.38]],[[.08,.52],[.37,.52]]]},62:{w:.4,d:[[[.08,.25],[.33,.45],[.08,.65]]]},63:{w:.45,d:[[[.08,.22],[.13,.17],[.22,.15],[.32,.17],[.37,.25],[.37,.32],[.32,.4],[.22,.45],[.22,.55]],[[.22,.7],[.22,.75]]]},64:{w:.65,d:[[[.5,.65],[.45,.72],[.35,.75],[.2,.72],[.1,.6],[.1,.35],[.15,.2],[.3,.15],[.45,.2],[.55,.35],[.55,.5],[.5,.55],[.45,.55],[.42,.5],[.42,.35],[.38,.3],[.32,.3],[.28,.35],[.28,.48],[.32,.55],[.38,.55],[.42,.5]]]},65:{w:.55,d:[[[.02,.75],[.27,.15],[.52,.75]],[[.12,.52],[.42,.52]]]},66:{w:.5,d:[[[.1,.75],[.1,.15],[.3,.15],[.38,.18],[.4,.25],[.4,.33],[.38,.38],[.3,.43],[.1,.43]],[[.3,.43],[.38,.48],[.42,.55],[.42,.65],[.38,.72],[.3,.75],[.1,.75]]]},67:{w:.5,d:[[[.42,.22],[.35,.17],[.25,.15],[.15,.18],[.1,.28],[.1,.62],[.15,.72],[.25,.75],[.35,.72],[.42,.67]]]},68:{w:.52,d:[[[.1,.15],[.1,.75],[.28,.75],[.38,.72],[.43,.62],[.43,.28],[.38,.18],[.28,.15],[.1,.15]]]},69:{w:.45,d:[[[.38,.15],[.1,.15],[.1,.75],[.38,.75]],[[.1,.43],[.32,.43]]]},70:{w:.43,d:[[[.38,.15],[.1,.15],[.1,.75]],[[.1,.43],[.32,.43]]]},71:{w:.53,d:[[[.42,.22],[.35,.17],[.25,.15],[.15,.18],[.1,.28],[.1,.62],[.15,.72],[.25,.75],[.35,.72],[.42,.62],[.42,.45],[.28,.45]]]},72:{w:.52,d:[[[.1,.15],[.1,.75]],[[.42,.15],[.42,.75]],[[.1,.45],[.42,.45]]]},73:{w:.25,d:[[[.12,.15],[.12,.75]]]},74:{w:.4,d:[[[.32,.15],[.32,.6],[.28,.72],[.18,.75],[.1,.7]]]},75:{w:.5,d:[[[.1,.15],[.1,.75]],[[.4,.15],[.1,.48],[.42,.75]]]},76:{w:.43,d:[[[.1,.15],[.1,.75],[.38,.75]]]},77:{w:.6,d:[[[.08,.75],[.08,.15],[.3,.55],[.52,.15],[.52,.75]]]},78:{w:.52,d:[[[.1,.75],[.1,.15],[.42,.75],[.42,.15]]]},79:{w:.55,d:[[[.27,.15],[.17,.18],[.1,.28],[.1,.62],[.17,.72],[.27,.75],[.37,.72],[.45,.62],[.45,.28],[.37,.18],[.27,.15]]]},80:{w:.5,d:[[[.1,.75],[.1,.15],[.3,.15],[.38,.18],[.42,.25],[.42,.35],[.38,.42],[.3,.45],[.1,.45]]]},81:{w:.55,d:[[[.27,.15],[.17,.18],[.1,.28],[.1,.62],[.17,.72],[.27,.75],[.37,.72],[.45,.62],[.45,.28],[.37,.18],[.27,.15]],[[.33,.62],[.47,.78]]]},82:{w:.5,d:[[[.1,.75],[.1,.15],[.3,.15],[.38,.18],[.42,.25],[.42,.35],[.38,.42],[.3,.45],[.1,.45]],[[.3,.45],[.42,.75]]]},83:{w:.48,d:[[[.4,.22],[.35,.17],[.25,.15],[.15,.17],[.1,.23],[.1,.3],[.13,.37],[.2,.42],[.32,.48],[.38,.55],[.4,.62],[.38,.7],[.3,.75],[.18,.75],[.1,.7]]]},84:{w:.48,d:[[[.04,.15],[.44,.15]],[[.24,.15],[.24,.75]]]},85:{w:.52,d:[[[.1,.15],[.1,.6],[.15,.7],[.25,.75],[.35,.7],[.42,.6],[.42,.15]]]},86:{w:.52,d:[[[.05,.15],[.26,.75],[.47,.15]]]},87:{w:.65,d:[[[.05,.15],[.15,.75],[.32,.4],[.5,.75],[.6,.15]]]},88:{w:.5,d:[[[.08,.15],[.42,.75]],[[.42,.15],[.08,.75]]]},89:{w:.5,d:[[[.05,.15],[.25,.45],[.45,.15]],[[.25,.45],[.25,.75]]]},90:{w:.48,d:[[[.08,.15],[.4,.15],[.08,.75],[.4,.75]]]},91:{w:.3,d:[[[.22,.1],[.1,.1],[.1,.85],[.22,.85]]]},92:{w:.35,d:[[[.05,.1],[.3,.85]]]},93:{w:.3,d:[[[.08,.1],[.2,.1],[.2,.85],[.08,.85]]]},94:{w:.4,d:[[[.08,.3],[.2,.15],[.32,.3]]]},95:{w:.45,d:[[[0,.8],[.45,.8]]]},96:{w:.25,d:[[[.08,.15],[.15,.25]]]},97:{w:.45,d:[[[.35,.38],[.35,.75]],[[.35,.45],[.28,.38],[.18,.38],[.1,.45],[.1,.62],[.15,.72],[.25,.75],[.35,.72]]]},98:{w:.47,d:[[[.1,.15],[.1,.75]],[[.1,.42],[.2,.38],[.3,.38],[.38,.45],[.38,.62],[.33,.72],[.23,.75],[.1,.7]]]},99:{w:.4,d:[[[.35,.42],[.27,.38],[.18,.38],[.1,.45],[.1,.65],[.15,.72],[.25,.75],[.35,.7]]]},100:{w:.47,d:[[[.38,.15],[.38,.75]],[[.38,.42],[.28,.38],[.18,.38],[.1,.45],[.1,.62],[.15,.72],[.25,.75],[.38,.7]]]},101:{w:.45,d:[[[.1,.55],[.37,.55],[.37,.47],[.33,.4],[.23,.38],[.15,.4],[.1,.48],[.1,.63],[.15,.72],[.25,.75],[.35,.72]]]},102:{w:.3,d:[[[.27,.18],[.22,.15],[.17,.18],[.15,.25],[.15,.75]],[[.05,.38],[.27,.38]]]},103:{w:.47,d:[[[.38,.38],[.38,.85],[.33,.92],[.23,.95],[.13,.92]],[[.38,.42],[.28,.38],[.18,.38],[.1,.45],[.1,.62],[.15,.72],[.25,.75],[.38,.7]]]},104:{w:.45,d:[[[.1,.15],[.1,.75]],[[.1,.43],[.2,.38],[.3,.38],[.37,.45],[.37,.75]]]},105:{w:.22,d:[[[.11,.38],[.11,.75]],[[.11,.25],[.11,.28]]]},106:{w:.25,d:[[[.15,.38],[.15,.85],[.1,.92],[.05,.95]],[[.15,.25],[.15,.28]]]},107:{w:.43,d:[[[.1,.15],[.1,.75]],[[.35,.38],[.1,.58],[.37,.75]]]},108:{w:.22,d:[[[.11,.15],[.11,.75]]]},109:{w:.65,d:[[[.08,.75],[.08,.38]],[[.08,.43],[.18,.38],[.25,.38],[.3,.43],[.3,.75]],[[.3,.43],[.4,.38],[.48,.38],[.55,.43],[.55,.75]]]},110:{w:.45,d:[[[.1,.75],[.1,.38]],[[.1,.43],[.2,.38],[.3,.38],[.37,.45],[.37,.75]]]},111:{w:.47,d:[[[.23,.38],[.15,.4],[.1,.48],[.1,.62],[.15,.72],[.23,.75],[.33,.72],[.4,.62],[.4,.48],[.33,.4],[.23,.38]]]},112:{w:.47,d:[[[.1,.38],[.1,.95]],[[.1,.42],[.2,.38],[.3,.38],[.38,.45],[.38,.62],[.33,.72],[.23,.75],[.1,.7]]]},113:{w:.47,d:[[[.38,.38],[.38,.95]],[[.38,.42],[.28,.38],[.18,.38],[.1,.45],[.1,.62],[.15,.72],[.25,.75],[.38,.7]]]},114:{w:.35,d:[[[.1,.38],[.1,.75]],[[.1,.5],[.15,.42],[.23,.38],[.3,.38]]]},115:{w:.4,d:[[[.33,.42],[.25,.38],[.15,.38],[.08,.43],[.08,.5],[.12,.55],[.28,.6],[.33,.65],[.33,.7],[.28,.75],[.15,.75],[.08,.7]]]},116:{w:.32,d:[[[.15,.2],[.15,.68],[.2,.73],[.27,.75]],[[.05,.38],[.27,.38]]]},117:{w:.45,d:[[[.1,.38],[.1,.62],[.15,.72],[.25,.75],[.37,.7]],[[.37,.38],[.37,.75]]]},118:{w:.42,d:[[[.05,.38],[.21,.75],[.37,.38]]]},119:{w:.58,d:[[[.05,.38],[.13,.75],[.27,.5],[.4,.75],[.5,.38]]]},120:{w:.4,d:[[[.07,.38],[.35,.75]],[[.35,.38],[.07,.75]]]},121:{w:.43,d:[[[.05,.38],[.22,.75]],[[.4,.38],[.15,.95]]]},122:{w:.4,d:[[[.08,.38],[.35,.38],[.08,.75],[.35,.75]]]},123:{w:.32,d:[[[.25,.1],[.18,.12],[.15,.2],[.15,.4],[.1,.45],[.15,.5],[.15,.73],[.18,.82],[.25,.85]]]},124:{w:.22,d:[[[.11,.1],[.11,.85]]]},125:{w:.32,d:[[[.08,.1],[.15,.12],[.18,.2],[.18,.4],[.23,.45],[.18,.5],[.18,.73],[.15,.82],[.08,.85]]]},126:{w:.5,d:[[[.08,.48],[.15,.42],[.25,.42],[.32,.48],[.38,.48],[.45,.42]]]}}}));function Qy(e,t,n){_b[e.toLowerCase()]=t,n&&(vb[e.toLowerCase()]=n)}function $y(e){let t=bb.get(e);if(t)return t;t=new Map;for(let[n,r,i]of e.advances)for(let e=0;e<r;e++)t.set(n+e,i);return bb.set(e,t),t}function eb(e,t){let n=e.toLowerCase();return t?vb[n]??_b[n]:_b[n]}function tb(e){return Object.hasOwn(vb,e.toLowerCase())}function nb(){return cb}function rb(e,t){return t>=19968&&t<=40959||t>=13312&&t<=19903||t>=63744&&t<=64255||t>=131072&&t<=205743||t>=12288&&t<=12543||t>=44032&&t<=55215||t>=65281&&t<=65376||t>=11904&&t<=12255||t>=12544&&t<=13311?e.cjkAdvance:$y(e).get(t)??e.defaultAdvance}function ib(e){return sb[e]}function ab(e){return yb[e.toLowerCase()]}function ob(e){return e>=19968&&e<=40959||e>=13312&&e<=19903||e>=63744&&e<=64255||e>=65281&&e<=65376||e>=12288&&e<=12543||e>=11904&&e<=12255||e>=12544&&e<=13311||e>=44032&&e<=55215||e>=131072&&e<=205743}var sb,cb,lb,ub,db,fb,pb,mb,hb,gb,_b,vb,yb,bb,xb=n((()=>{sb={32:3,33:5,34:6,35:7,36:7,37:11,38:10,39:3,40:5,41:5,42:7,43:7,44:4,45:5,46:4,47:6,48:7,49:7,50:7,51:7,52:7,53:7,54:7,55:7,56:7,57:7,58:4,59:4,60:7,61:7,62:7,63:7,64:13,65:9,66:8,67:8,68:9,69:7,70:7,71:9,72:9,73:4,74:5,75:8,76:6,77:12,78:10,79:10,80:8,81:10,82:8,83:7,84:7,85:9,86:9,87:13,88:8,89:7,90:7,91:5,92:6,93:5,94:7,95:7,96:4,97:7,98:8,99:6,100:8,101:8,102:5,103:7,104:8,105:4,106:4,107:7,108:4,109:12,110:8,111:8,112:8,113:8,114:5,115:6,116:5,117:8,118:7,119:11,120:7,121:7,122:6,123:5,124:7,125:5,126:7},cb={header:{unitsPerEm:2048,usWinAscent:1950,usWinDescent:550,maxDigitAdvance:1038,sTypoAscender:1536,sTypoDescender:-512,sTypoLineGap:452},defaultAdvance:1e3,cjkAdvance:2048,advances:[[32,1,463],[33,1,667],[34,1,821],[35,1,1020],[36,1,1038],[37,1,1464],[38,1,1397],[39,1,452],[40,2,621],[42,2,1020],[44,1,511],[45,1,627],[46,1,517],[47,1,791],[48,10,1038],[58,2,548],[60,3,1020],[63,1,949],[64,1,1831],[65,1,1185],[66,1,1114],[67,1,1092],[68,1,1260],[69,1,1e3],[70,1,941],[71,1,1292],[72,1,1276],[73,1,516],[74,1,653],[75,1,1064],[76,1,861],[77,1,1751],[78,1,1322],[79,1,1356],[80,1,1058],[81,1,1378],[82,1,1112],[83,1,941],[84,1,998],[85,1,1314],[86,1,1162],[87,1,1822],[88,1,1063],[89,1,998],[90,1,959],[91,1,628],[92,1,791],[93,1,628],[94,2,1020],[96,1,596],[97,1,981],[98,1,1076],[99,1,866],[100,1,1076],[101,1,1019],[102,1,625],[103,1,964],[104,1,1076],[105,1,470],[106,1,490],[107,1,931],[108,1,470],[109,1,1636],[110,1,1076],[111,1,1080],[112,2,1076],[114,1,714],[115,1,801],[116,1,686],[117,1,1076],[118,1,925],[119,1,1464],[120,1,887],[121,1,927],[122,1,809],[123,1,644],[124,1,943],[125,1,644],[126,1,1020]]},lb={header:{unitsPerEm:2048,usWinAscent:1854,usWinDescent:434,maxDigitAdvance:1139,sTypoAscender:1491,sTypoDescender:-431,sTypoLineGap:307},defaultAdvance:1024,cjkAdvance:2048,advances:[[32,1,569],[33,1,569],[34,1,727],[35,1,1139],[36,1,1139],[37,1,1821],[38,1,1366],[39,1,391],[40,1,682],[41,1,682],[42,1,797],[43,1,1196],[44,1,569],[45,1,682],[46,1,569],[47,1,569],[48,10,1139],[58,1,569],[59,1,569],[60,1,1196],[61,1,1196],[62,1,1196],[63,1,1139],[64,1,2079],[65,1,1366],[66,1,1366],[67,1,1479],[68,1,1479],[69,1,1366],[70,1,1251],[71,1,1593],[72,1,1479],[73,1,569],[74,1,1024],[75,1,1366],[76,1,1139],[77,1,1706],[78,1,1479],[79,1,1593],[80,1,1366],[81,1,1593],[82,1,1479],[83,1,1366],[84,1,1251],[85,1,1479],[86,1,1366],[87,1,1933],[88,1,1366],[89,1,1366],[90,1,1251],[91,1,569],[92,1,569],[93,1,569],[94,1,961],[95,1,1139],[96,1,682],[97,1,1139],[98,1,1139],[99,1,1024],[100,1,1139],[101,1,1139],[102,1,569],[103,1,1139],[104,1,1139],[105,1,455],[106,1,455],[107,1,1024],[108,1,455],[109,1,1706],[110,1,1139],[111,1,1139],[112,1,1139],[113,1,1139],[114,1,682],[115,1,1024],[116,1,569],[117,1,1139],[118,1,1024],[119,1,1479],[120,1,1024],[121,1,1024],[122,1,1024],[123,1,684],[124,1,532],[125,1,684],[126,1,1196]]},ub={header:{unitsPerEm:2048,usWinAscent:1854,usWinDescent:434,maxDigitAdvance:1139,sTypoAscender:1491,sTypoDescender:-431,sTypoLineGap:307},defaultAdvance:1070,cjkAdvance:2048,advances:[[32,1,569],[33,1,682],[34,1,974],[35,1,1139],[36,1,1139],[37,1,1821],[38,1,1479],[39,1,569],[40,1,682],[41,1,682],[42,1,797],[43,1,1196],[44,1,569],[45,1,682],[46,1,569],[47,1,569],[48,10,1139],[58,1,682],[59,1,682],[60,1,1196],[61,1,1196],[62,1,1196],[63,1,1251],[64,1,1991],[65,1,1479],[66,1,1479],[67,1,1479],[68,1,1479],[69,1,1366],[70,1,1251],[71,1,1593],[72,1,1479],[73,1,682],[74,1,1139],[75,1,1479],[76,1,1251],[77,1,1706],[78,1,1479],[79,1,1593],[80,1,1366],[81,1,1593],[82,1,1479],[83,1,1366],[84,1,1251],[85,1,1479],[86,1,1366],[87,1,1933],[88,1,1366],[89,1,1366],[90,1,1251],[91,1,682],[92,1,569],[93,1,682],[94,1,1196],[95,1,1139],[96,1,682],[97,1,1139],[98,1,1251],[99,1,1024],[100,1,1251],[101,1,1139],[102,1,682],[103,1,1251],[104,1,1251],[105,1,569],[106,1,569],[107,1,1139],[108,1,569],[109,1,1821],[110,1,1251],[111,1,1251],[112,1,1251],[113,1,1251],[114,1,797],[115,1,1024],[116,1,682],[117,1,1251],[118,1,1139],[119,1,1593],[120,1,1139],[121,1,1139],[122,1,1024],[123,1,797],[124,1,569],[125,1,797],[126,1,1196]]},db={header:{unitsPerEm:2048,usWinAscent:1825,usWinDescent:443,maxDigitAdvance:1024,sTypoAscender:1420,sTypoDescender:-442,sTypoLineGap:307},defaultAdvance:900,cjkAdvance:2048,advances:[[32,1,512],[33,1,682],[34,1,836],[35,1,1024],[36,1,1024],[37,1,1706],[38,1,1593],[39,1,369],[40,1,682],[41,1,682],[42,1,1024],[43,1,1155],[44,1,512],[45,1,682],[46,1,512],[47,1,569],[48,10,1024],[58,1,569],[59,1,569],[60,1,1155],[61,1,1155],[62,1,1155],[63,1,909],[64,1,1886],[65,1,1479],[66,1,1366],[67,1,1366],[68,1,1479],[69,1,1251],[70,1,1139],[71,1,1479],[72,1,1479],[73,1,682],[74,1,797],[75,1,1479],[76,1,1251],[77,1,1821],[78,1,1479],[79,1,1479],[80,1,1139],[81,1,1479],[82,1,1366],[83,1,1139],[84,1,1251],[85,1,1479],[86,1,1479],[87,1,1933],[88,1,1479],[89,1,1479],[90,1,1251],[91,1,682],[92,1,569],[93,1,682],[94,1,961],[95,1,1024],[96,1,682],[97,1,909],[98,1,1024],[99,1,909],[100,1,1024],[101,1,909],[102,1,682],[103,1,1024],[104,1,1024],[105,1,569],[106,1,569],[107,1,1024],[108,1,569],[109,1,1479],[110,1,1024],[111,1,1024],[112,1,1024],[113,1,1024],[114,1,682],[115,1,797],[116,1,569],[117,1,1024],[118,1,1024],[119,1,1479],[120,1,1024],[121,1,1024],[122,1,909],[123,1,983],[124,1,410],[125,1,983],[126,1,1073]]},fb={header:{unitsPerEm:2048,usWinAscent:1705,usWinDescent:615,maxDigitAdvance:1229,sTypoAscender:1255,sTypoDescender:-386,sTypoLineGap:0},defaultAdvance:1229,cjkAdvance:2048,advances:[[32,95,1229]]},pb={header:{unitsPerEm:2048,usWinAscent:2059,usWinDescent:430,maxDigitAdvance:1302,sTypoAscender:1566,sTypoDescender:-423,sTypoLineGap:202},defaultAdvance:1200,cjkAdvance:2048,advances:[[32,1,720],[33,1,756],[34,1,933],[35,1,1521],[36,1,1198],[37,1,1807],[38,1,1487],[39,1,510],[40,1,756],[41,1,756],[42,1,1198],[43,1,1521],[44,1,643],[45,1,811],[46,1,643],[47,1,899],[48,10,1302],[58,1,756],[59,1,756],[60,1,1521],[61,1,1521],[62,1,1521],[63,1,1151],[64,1,1937],[65,1,1362],[66,1,1382],[67,1,1279],[68,1,1490],[69,1,1279],[70,1,1186],[71,1,1458],[72,1,1498],[73,1,924],[74,1,922],[75,1,1362],[76,1,1145],[77,1,1728],[78,1,1498],[79,1,1476],[80,1,1262],[81,1,1476],[82,1,1396],[83,1,1300],[84,1,1185],[85,1,1448],[86,1,1362],[87,1,1864],[88,1,1244],[89,1,1183],[90,1,1204],[91,1,756],[92,1,899],[93,1,756],[94,1,1521],[95,1,1198],[96,1,1198],[97,1,1224],[98,1,1302],[99,1,1075],[100,1,1302],[101,1,1218],[102,1,756],[103,1,1302],[104,1,1317],[105,1,643],[106,1,700],[107,1,1183],[108,1,643],[109,1,1937],[110,1,1317],[111,1,1271],[112,1,1302],[113,1,1302],[114,1,899],[115,1,1075],[116,1,811],[117,1,1317],[118,1,1183],[119,1,1728],[120,1,1183],[121,1,1183],[122,1,1031],[123,1,787],[124,1,756],[125,1,787],[126,1,1521]]},mb={header:{unitsPerEm:2048,usWinAscent:1878,usWinDescent:449,maxDigitAdvance:1257,sTypoAscender:1549,sTypoDescender:-444,sTypoLineGap:198},defaultAdvance:1100,cjkAdvance:2048,advances:[[32,1,504],[33,1,614],[34,1,679],[35,1,1257],[36,1,1024],[37,1,1539],[38,1,1350],[39,1,391],[40,1,614],[41,1,614],[42,1,842],[43,1,1257],[44,1,504],[45,1,751],[46,1,504],[47,1,797],[48,10,1257],[58,1,569],[59,1,569],[60,1,1257],[61,1,1257],[62,1,1257],[63,1,885],[64,1,1614],[65,1,1350],[66,1,1273],[67,1,1161],[68,1,1427],[69,1,1163],[70,1,1074],[71,1,1314],[72,1,1517],[73,1,721],[74,1,772],[75,1,1397],[76,1,1176],[77,1,1770],[78,1,1462],[79,1,1392],[80,1,1118],[81,1,1392],[82,1,1321],[83,1,1019],[84,1,1163],[85,1,1456],[86,1,1321],[87,1,1887],[88,1,1314],[89,1,1220],[90,1,1055],[91,1,614],[92,1,797],[93,1,614],[94,1,1257],[95,1,1024],[96,1,682],[97,1,1019],[98,1,1100],[99,1,866],[100,1,1106],[101,1,958],[102,1,654],[103,1,1006],[104,1,1152],[105,1,606],[106,1,606],[107,1,1048],[108,1,606],[109,1,1700],[110,1,1131],[111,1,1042],[112,1,1100],[113,1,1100],[114,1,772],[115,1,820],[116,1,688],[117,1,1117],[118,1,1019],[119,1,1559],[120,1,1007],[121,1,1012],[122,1,880],[123,1,637],[124,1,583],[125,1,637],[126,1,1257]]},hb={header:{unitsPerEm:2048,usWinAscent:2049,usWinDescent:423,maxDigitAdvance:1118,sTypoAscender:1566,sTypoDescender:-423,sTypoLineGap:59},defaultAdvance:1050,cjkAdvance:2048,advances:[[32,1,461],[33,1,536],[34,1,717],[35,1,1232],[36,1,1014],[37,1,1625],[38,1,1327],[39,1,428],[40,1,616],[41,1,616],[42,1,900],[43,1,1232],[44,1,504],[45,1,700],[46,1,504],[47,1,753],[48,10,1118],[58,1,567],[59,1,567],[60,1,1232],[61,1,1232],[62,1,1232],[63,1,974],[64,1,1810],[65,1,1205],[66,1,1200],[67,1,1130],[68,1,1327],[69,1,1117],[70,1,1032],[71,1,1306],[72,1,1308],[73,1,614],[74,1,794],[75,1,1195],[76,1,1003],[77,1,1500],[78,1,1308],[79,1,1381],[80,1,1103],[81,1,1381],[82,1,1200],[83,1,1117],[84,1,1100],[85,1,1300],[86,1,1205],[87,1,1723],[88,1,1119],[89,1,1130],[90,1,1068],[91,1,616],[92,1,753],[93,1,616],[94,1,1232],[95,1,893],[96,1,1118],[97,1,1066],[98,1,1141],[99,1,942],[100,1,1141],[101,1,1086],[102,1,639],[103,1,1141],[104,1,1126],[105,1,500],[106,1,548],[107,1,1023],[108,1,500],[109,1,1705],[110,1,1126],[111,1,1103],[112,1,1141],[113,1,1141],[114,1,714],[115,1,918],[116,1,700],[117,1,1126],[118,1,1e3],[119,1,1500],[120,1,1e3],[121,1,1e3],[122,1,880],[123,1,616],[124,1,540],[125,1,616],[126,1,1232]]},gb={header:{unitsPerEm:2048,usWinAscent:1923,usWinDescent:455,maxDigitAdvance:1074,sTypoAscender:1510,sTypoDescender:-420,sTypoLineGap:0},defaultAdvance:1e3,cjkAdvance:2048,advances:[[32,1,453],[33,1,545],[34,1,613],[35,1,1107],[36,1,1074],[37,1,1341],[38,1,1213],[39,1,360],[40,1,616],[41,1,616],[42,1,860],[43,1,1107],[44,1,453],[45,1,697],[46,1,453],[47,1,766],[48,10,1074],[58,1,453],[59,1,453],[60,1,1107],[61,1,1107],[62,1,1107],[63,1,860],[64,1,1648],[65,1,1227],[66,1,1227],[67,1,1139],[68,1,1309],[69,1,1139],[70,1,1057],[71,1,1309],[72,1,1395],[73,1,627],[74,1,791],[75,1,1260],[76,1,1057],[77,1,1456],[78,1,1350],[79,1,1395],[80,1,1139],[81,1,1395],[82,1,1215],[83,1,1057],[84,1,1139],[85,1,1350],[86,1,1227],[87,1,1730],[88,1,1260],[89,1,1139],[90,1,1139],[91,1,616],[92,1,766],[93,1,616],[94,1,1107],[95,1,1074],[96,1,860],[97,1,1013],[98,1,1074],[99,1,936],[100,1,1074],[101,1,1013],[102,1,627],[103,1,1074],[104,1,1074],[105,1,545],[106,1,538],[107,1,1013],[108,1,545],[109,1,1539],[110,1,1074],[111,1,1074],[112,1,1074],[113,1,1074],[114,1,715],[115,1,860],[116,1,627],[117,1,1074],[118,1,936],[119,1,1481],[120,1,936],[121,1,936],[122,1,860],[123,1,616],[124,1,604],[125,1,616],[126,1,1107]]},_b={},vb={},Qy(`calibri`,cb),Qy(`arial`,lb,ub),Qy(`times new roman`,db),Qy(`courier new`,fb),Qy(`verdana`,pb),Qy(`georgia`,mb),Qy(`tahoma`,hb),Qy(`trebuchet ms`,gb),yb={aptos:[1.03,1.37,1],"aptos display":[.96,1.31,1],"aptos narrow":[.82,1.07,1],"aptos serif":[.98,1.31,1],"calibri light":[.98,1.19,1],cambria:[1.07,1.28,1],"century gothic":[1.19,1.36,1],"comic sans ms":[1.14,1.46,1],consolas:[1.21,1.21,1],constantia:[1.05,1.34,1],corbel:[.97,1.2,1],garamond:[1.16,1.39,1],impact:[.96,1.01,1],"lucida console":[1.21,1.21,1],"lucida sans unicode":[1.16,1.4,1],"microsoft sans serif":[1.07,1.35,1],"palatino linotype":[1.12,1.44,1],"segoe ui":[1.08,1.31,1],"book antiqua":[1.12,1.44,1],candara:[1.02,1.25,1],"franklin gothic medium":[1.08,1.33,1],"goudy old style":[1.02,1.34,1],rockwell:[1.14,1.35,1],"tw cen mt":[.95,1.17,1],"microsoft yahei":[1.18,1.3,1.18],"microsoft yahei ui":[1.18,1.3,1.18],simsun:[1.1,1.1,1.1],宋体:[1.1,1.1,1.1],simhei:[1.1,1.1,1.1],黑体:[1.1,1.1,1.1],nsimsun:[1.1,1.1,1.1],新宋体:[1.1,1.1,1.1],dengxian:[1.05,1.28,1.08],等线:[1.05,1.28,1.08],fangsong:[1.1,1.1,1.1],仿宋:[1.1,1.1,1.1],kaiti:[1.1,1.1,1.1],楷体:[1.1,1.1,1.1],meiryo:[1.18,1.3,1.18],"meiryo ui":[1.1,1.2,1.18],"ms gothic":[1.21,1.21,1.1],"MS ゴシック":[1.21,1.21,1.1],"ms pgothic":[1.07,1.33,1.1],"ms mincho":[1.21,1.21,1.1],"yu gothic":[1.17,1.32,1.18],"yu gothic ui":[1.08,1.22,1.18],"yu mincho":[1.1,1.28,1.18],"malgun gothic":[1.12,1.28,1.14],"맑은 고딕":[1.12,1.28,1.14],batang:[1.1,1.1,1.1],gulim:[1.1,1.1,1.1],dotum:[1.1,1.1,1.1]},bb=new Map}));function Sb(e,t,n,r,i){if(t===`calibri`&&n===jb){let t=ib(e);if(t!==void 0)return t}if(i){let t=rb(i,e),r=Math.round(n/72*Ab);return Math.round(t/i.header.unitsPerEm*r)}}function Cb(e){return{name:(e?.name??Mb).toLowerCase(),size:e?.size??jb,bold:e?.bold??!1,italic:e?.italic??!1,vertAlign:e?.vertAlign}}function wb(e,t){if(!e)return 0;let n=Cb(t),r=eb(n.name,n.bold),i=e.split(/\r\n|\r|\n/),a=0;for(let e of i){let t=Tb(e,n,r);t>a&&(a=t)}return a}function Tb(e,t,n){return e?n||t.name===`calibri`&&t.size===jb?Eb(e,t,n):Db(e,t):0}function Eb(e,t,n){let r=0;for(let i of e)r+=kb(i.codePointAt(0),t,n);return t.vertAlign&&(r=Math.ceil(r*.6)),r}function Db(e,t){let n=ab(t.name),r=n?.[0]??1,i=n?.[1]??1.3,a=n?.[2]??1,o=0,s=0,c=0;for(let t of e)ob(t.codePointAt(0))?c+=2:t>=`A`&&t<=`Z`?s++:o++;let l=(o*r+s*i+c*a)*(t.size/jb);t.bold&&(l*=1.05),t.italic&&(l*=1.02),t.vertAlign&&(l*=.6);let u=Ob({name:t.name,size:t.size});return Math.ceil(l*u)}function Ob(e){let t=(e?.name??Mb).toLowerCase(),n=e?.size??jb;if(t===`calibri`&&n===jb)return Nb;let r=eb(t);if(r){let e=Math.round(n/72*Ab);return Math.round(r.header.maxDigitAdvance/r.header.unitsPerEm*e)}return Math.max(1,Math.round(n/jb*Nb))}function kb(e,t,n){let r;if(n||t.name===`calibri`&&t.size===jb){let i=n??nb();r=Sb(e,t.name,t.size,t.bold,i)??Math.round(i.defaultAdvance/i.header.unitsPerEm*Math.round(t.size/72*Ab))}else r=Math.ceil(t.size/jb*Ob({name:t.name,size:t.size})*(ob(e)?2:1));return t.bold&&!tb(t.name)&&(r=Math.ceil(r*1.05)),t.italic&&(r=Math.ceil(r*1.02)),r}var Ab,jb,Mb,Nb,Pb=n((()=>{xb(),bl(),Ab=96,jb=11,Mb=`Calibri`,Nb=7}));function Fb(e,t,n){let r=aw.get(e);r||(r=new Map,aw.set(e,r));let i=r.get(t);return i||(i=My(e,t,n),r.set(t,i)),i}function Ib(e){let t=1;for(let n of e)n.values.length>t&&(t=n.values.length);return t}function Lb(e,t={}){let n=t.width??640,r=t.height??360,i=t.title??OC(e),a=e.chart.title?.overlay===!0,o=!!i&&!a,s=e.chart.plotArea.chartTypes,c=nS(s,e),l=c.map(e=>e.values),u=c.find(e=>e.categories&&e.categories.length>0)?.categories??l[0]?.map((e,t)=>String(t+1))??[],d=xS(e.chart.legend,c,n,r,o,u),f=e.chart.plotArea.dataTable,p=f?gx(f,c,u):0,m=mx(n,r,o,d,e,p,u.length),h=lS(e,c),g=wx(s,c,m,h,u,e.chart.view3D),_=WS(c,g),v=f?yx(f,c,u,m,p):void 0,y=h.primaryYAxis?h.yRangesByAxisId.get(h.primaryYAxis.axId)??h.defaultYRange:h.defaultYRange,b=h.secondaryYAxis?h.yRangesByAxisId.get(h.secondaryYAxis.axId)??h.defaultYRange:void 0,x=h.primaryXAxis?h.xRangesByAxisId.get(h.primaryXAxis.axId)??h.defaultXRange:h.defaultXRange,S=h.secondaryXAxis?h.xRangesByAxisId.get(h.secondaryXAxis.axId)??h.defaultXRange:void 0,C=TS(c,h.secondaryXAxis,u),w=s.every(e=>e.type===`pie`||e.type===`pie3D`||e.type===`doughnut`);return{width:n,height:r,title:i?{x:n/2,y:26,text:i,fontSize:18,color:(e.chart.title?AS(e.chart.title.txPr):void 0)??`#222222`,anchor:`middle`,...jS(e.chart.title?.txPr)}:void 0,plot:m,gridlines:w?[]:Ux(m,h.primaryYAxis,y,h.primaryXAxis,x,u),xLabels:w||v?[]:$x(u,m,h.primaryXAxis,x),yLabels:w?[]:tS(y.min,y.max,m,h.primaryYAxis,!1,u),secondaryXLabels:w?[]:h.secondaryXAxis?$x(C,m,h.secondaryXAxis,S,!0):[],secondaryYLabels:w?[]:h.secondaryYAxis&&b?tS(b.min,b.max,m,h.secondaryYAxis,!0,u):[],axisTitles:w?[]:CS(h,m),series:g,legend:d,dataTable:v,effectFilters:_,axes:w?{x:void 0,y:void 0,x2:void 0,y2:void 0}:{x:ZS({x1:m.x,y1:m.y+m.height,x2:m.x+m.width,y2:m.y+m.height,color:_v},h.primaryXAxis),y:ZS({x1:m.x,y1:m.y,x2:m.x,y2:m.y+m.height,color:_v},h.primaryYAxis),x2:h.secondaryXAxis?ZS({x1:m.x,y1:m.y,x2:m.x+m.width,y2:m.y,color:_v},h.secondaryXAxis):void 0,y2:h.secondaryYAxis?ZS({x1:m.x+m.width,y1:m.y,x2:m.x+m.width,y2:m.y+m.height,color:_v},h.secondaryYAxis):void 0}}}function Rb(e,t={}){let n=Lb(e,t),r=[],i=t.backgroundColor??`#fff`;if(r.push(`<svg xmlns="http://www.w3.org/2000/svg" width="${n.width}" height="${n.height}" viewBox="0 0 ${n.width} ${n.height}">`),r.push(`<!-- deterministic preview; not an Excel-identical layout -->`),i!==`transparent`&&r.push(`<rect width="100%" height="100%" fill="${ln(i)}"/>`),n.effectFilters.length>0){r.push(`<defs>`);for(let e of n.effectFilters)r.push(e.xml);r.push(`</defs>`)}n.title&&r.push(sC(n.title));for(let e of n.gridlines)r.push(aC(e));n.axes.x&&r.push(aC(n.axes.x)),n.axes.y&&r.push(aC(n.axes.y)),n.axes.x2&&r.push(aC(n.axes.x2)),n.axes.y2&&r.push(aC(n.axes.y2));for(let e of n.xLabels)r.push(sC(e));for(let e of n.yLabels)r.push(sC(e));for(let e of n.secondaryXLabels)r.push(sC(e));for(let e of n.secondaryYLabels)r.push(sC(e));for(let e of n.axisTitles)r.push(sC(e));for(let e of n.series)QS(r,e);for(let e of n.series)$S(r,e);return n.dataTable&&rC(r,n.dataTable),iC(r,n.legend),r.push(`</svg>`),r.join(``)}async function zb(e,t={}){let n=t.width??640,r=t.height??360,i=nx(t.scale);return Bb(Rb(e,{...t,width:n,height:r}),{width:n,height:r,scale:i,dpi:t.dpi})}async function Bb(e,t){let n=Math.max(1,Math.round(t.width)),r=Math.max(1,Math.round(t.height)),i=nx(t.scale),a=Math.max(1,Math.round(n*i)),o=Math.max(1,Math.round(r*i));if(typeof document>`u`||typeof Image>`u`)return Vb(e,n,r,i,t.dpi);let s=new Blob([e],{type:`image/svg+xml;charset=utf-8`}),c=URL.createObjectURL(s);try{let e=await MC(c),t=document.createElement(`canvas`);t.width=a,t.height=o;let n=t.getContext(`2d`);if(!n)throw Error(`Canvas 2D context is unavailable`);n.drawImage(e,0,0,a,o);let r=await new Promise((e,n)=>{t.toBlob(t=>{t?e(t):n(Error(`Canvas PNG encoding failed`))},`image/png`)});return new Uint8Array(await r.arrayBuffer())}finally{URL.revokeObjectURL(c)}}function Vb(e,t,n,r,i){let a=Math.max(1,Math.round(t*r)),o=Math.max(1,Math.round(n*r)),s=new ow(a,o,r),c=/<(rect|line|circle|polyline|polygon|path)\b[^>]*>|<text\b[^>]*>[\s\S]*?<\/text>/g,l;for(;(l=c.exec(e))!==null;){let e=l[0],i=e.startsWith(`<text`)?`text`:l[1],a=Hb(e);if(i===`rect`){let e=Gb(a,`x`)*r,i=Gb(a,`y`)*r,o=Gb(a,`width`,0,t)*r,c=Gb(a,`height`,0,n)*r,l=Gb(a,`stroke-width`,1)*r;a.fill!==void 0&&s.fillRect(e,i,o,c,a.fill),a.stroke!==void 0&&l>0&&s.strokeRect(e,i,o,c,a.stroke,l)}else if(i===`line`)s.drawLine(Gb(a,`x1`)*r,Gb(a,`y1`)*r,Gb(a,`x2`)*r,Gb(a,`y2`)*r,a.stroke,Gb(a,`stroke-width`,1)*r);else if(i===`circle`)s.fillCircle(Gb(a,`cx`)*r,Gb(a,`cy`)*r,Gb(a,`r`)*r,a.fill),s.strokeCircle(Gb(a,`cx`)*r,Gb(a,`cy`)*r,Gb(a,`r`)*r,a.stroke,Gb(a,`stroke-width`,1)*r);else if(i===`polyline`)s.drawPolyline(Kb(a.points,r),a.stroke,Gb(a,`stroke-width`,1)*r);else if(i===`polygon`){let e=Kb(a.points,r);s.fillPolygon(e,a.fill),e.length>0&&s.drawPolyline([...e,e[0]],a.stroke,Gb(a,`stroke-width`,1)*r)}else if(i===`path`){let e=a[`data-sector`];if(e){let t=e.split(`,`).map(Number);if(t.length===6&&t.every(Number.isFinite)){let[e,n,i,o,c,l]=t;s.fillSector(e*r,n*r,i*r,o*r,c,l,a.fill)}}else{let e=qb(a.d,r);s.fillPolygon(e,a.fill),e.length>0&&s.drawPolyline([...e,e[0]],a.stroke,Gb(a,`stroke-width`,1)*r)}}else if(i===`text`){let t=Wb(a.transform);s.drawText(Gb(a,`x`)*r,Gb(a,`y`)*r,$b(e.match(/<text\b[^>]*>([\s\S]*?)<\/text>/)?.[1]??``),Gb(a,`font-size`,10)*r,a.fill,a[`text-anchor`],t?{angle:t.angle,originX:t.originX*r,originY:t.originY*r}:void 0)}}return tx(a,o,s.data,i)}function Hb(e){let t={},n=0,r=e.length;for(;n<r;){for(;n<r&&!Ub(e.charCodeAt(n));)n++;if(n>=r)break;let i=n;for(;n<r&&Ub(e.charCodeAt(n));)n++;let a=e.slice(i,n);if(n>=r||e.charCodeAt(n)!==61||(n++,n>=r||e.charCodeAt(n)!==34))continue;n++;let o=n;for(;n<r&&e.charCodeAt(n)!==34;)n++;t[a]=e.slice(o,n),n<r&&n++}return t}function Ub(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===95||e===58||e===45}function Wb(e){if(!e)return;let t=e.indexOf(`rotate(`);if(t<0)return;let n=e.indexOf(`)`,t);if(n<0)return;let r=e.slice(t+7,n).trim().split(/[\s,]+/),i=Number.parseFloat(r[0]);if(!(!Number.isFinite(i)||i===0))return{angle:i,originX:r.length>=3?Number.parseFloat(r[1]):0,originY:r.length>=3?Number.parseFloat(r[2]):0}}function Gb(e,t,n=0,r){let i=e[t];if(i===void 0)return n;if(i.endsWith(`%`)){let e=Number.parseFloat(i);return Number.isFinite(e)&&r!==void 0?e/100*r:n}let a=Number.parseFloat(i);return Number.isFinite(a)?a:n}function Kb(e,t=1){if(!e)return[];let n=e.trim().split(/[\s,]+/).map(Number).filter(Number.isFinite),r=[];for(let e=0;e+1<n.length;e+=2)r.push({x:n[e]*t,y:n[e+1]*t});return r}function qb(e,t=1){if(!e)return[];let n=e.match(/[MLAZ]|-?\d+(?:\.\d+)?/gi)??[],r=[],i=0,a,o;for(;i<n.length;){let e=n[i++].toUpperCase();if(e===`M`||e===`L`){let e=Jb(n,i);if(i+=2,!e)continue;e.x*=t,e.y*=t,a=e,o??=e,r.push(e)}else if(e===`A`){if(!a){i+=7;continue}let e=Yb(n,i,a,t);if(i+=7,!e)continue;for(let t of e.points)r.push(t);a=e.end}else if(e===`Z`)o&&r.push(o);else{let s=Number.parseFloat(e);if(!Number.isFinite(s)||i>=n.length)continue;let c=Number.parseFloat(n[i]);if(!Number.isFinite(c))continue;i++,a={x:s*t,y:c*t},o??=a,r.push(a)}}return r}function Jb(e,t){let n=Number.parseFloat(e[t]),r=Number.parseFloat(e[t+1]);return Number.isFinite(n)&&Number.isFinite(r)?{x:n,y:r}:void 0}function Yb(e,t,n,r){let i=Number.parseFloat(e[t]),a=Number.parseFloat(e[t+1]),o=Number.parseFloat(e[t+3])===1,s=Number.parseFloat(e[t+4])===1,c=Jb(e,t+5);if(!(!Number.isFinite(i)||!Number.isFinite(a)||!c))return c.x*=r,c.y*=r,{end:c,points:Xb(n,c,Math.max(i,a)*r,o,s)}}function Xb(e,t,n,r,i){let a=t.x-e.x,o=t.y-e.y,s=Math.hypot(a,o);if(!Number.isFinite(n)||n<=0||s===0||s>n*2)return[t];let c=(e.x+t.x)/2,l=(e.y+t.y)/2,u=s/2,d=Math.sqrt(Math.max(0,n*n-u*u)),f=-o/s,p=a/s,m=[{x:c+f*d,y:l+p*d},{x:c-f*d,y:l-p*d}],h=m[0],g=-1/0;for(let n of m){let a=Zb(n,e,t,i),o=Math.abs(a)>=Math.PI-1e-9===r?2:1-Math.abs(Math.abs(a)-Math.PI);o>g&&(g=o,h=n)}let _=Math.atan2(e.y-h.y,e.x-h.x),v=Zb(h,e,t,i),y=ex(Math.ceil(Math.abs(v)*n/3),12,180),b=[];for(let e=1;e<=y;e++){let t=_+v*e/y;b.push({x:h.x+Math.cos(t)*n,y:h.y+Math.sin(t)*n})}return b}function Zb(e,t,n,r){let i=Math.atan2(t.y-e.y,t.x-e.x),a=Math.atan2(n.y-e.y,n.x-e.x)-i;return r&&a<0?a+=Math.PI*2:!r&&a>0&&(a-=Math.PI*2),a}function Qb(e){if(!e||e===`none`||e===`transparent`)return;let t=e.startsWith(`#`)?e.slice(1):e;if(/^[0-9a-fA-F]{3}$/.test(t))return[Number.parseInt(t[0]+t[0],16),Number.parseInt(t[1]+t[1],16),Number.parseInt(t[2]+t[2],16),255];if(/^[0-9a-fA-F]{6}$/.test(t))return[Number.parseInt(t.slice(0,2),16),Number.parseInt(t.slice(2,4),16),Number.parseInt(t.slice(4,6),16),255];if(/^[0-9a-fA-F]{8}$/.test(t))return[Number.parseInt(t.slice(0,2),16),Number.parseInt(t.slice(2,4),16),Number.parseInt(t.slice(4,6),16),Number.parseInt(t.slice(6,8),16)];if(/^[0-9a-fA-F]{4}$/.test(t))return[Number.parseInt(t[0]+t[0],16),Number.parseInt(t[1]+t[1],16),Number.parseInt(t[2]+t[2],16),Number.parseInt(t[3]+t[3],16)]}function $b(e){let t=``,n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i===60?n++:i===62?n>0?n--:t+=`>`:n===0&&(t+=e[r])}return t.replace(/&(?:([A-Za-z]+)|#x([0-9A-Fa-f]+)|#(\d+));/g,(e,t,n,r)=>{if(t!==void 0)switch(t){case`amp`:return`&`;case`lt`:return`<`;case`gt`:return`>`;case`quot`:return`"`;case`apos`:return`'`;default:return e}if(n!==void 0){let t=parseInt(n,16);return Number.isFinite(t)?String.fromCodePoint(t):e}if(r!==void 0){let t=parseInt(r,10);return Number.isFinite(t)?String.fromCodePoint(t):e}return e})}function ex(e,t,n){return Math.max(t,Math.min(n,e))}function tx(e,t,n,r){let i=new Uint8Array((e*4+1)*t);for(let r=0;r<t;r++){let t=r*e*4,a=r*(e*4+1);i[a]=0,i.set(n.subarray(t,t+e*4),a+1)}let a=[];if(a.push(new Uint8Array([137,80,78,71,13,10,26,10])),a.push(rx(`IHDR`,ax([ox(e),ox(t),new Uint8Array([8,6,0,0,0])]))),r!==void 0){let e=Math.max(1,Math.round(r/.0254));a.push(rx(`pHYs`,ax([ox(e),ox(e),new Uint8Array([1])])))}return a.push(rx(`IDAT`,ix(i))),a.push(rx(`IEND`,new Uint8Array)),ax(a)}function nx(e){if(e===void 0)return 1;if(!Number.isFinite(e)||e<=0)throw Error(`chart render scale must be a positive finite number`);return Math.min(8,e)}function rx(e,t){let n=new TextEncoder().encode(e),r=ax([n,t]);return ax([ox(t.length),n,t,ox(cx(r))])}function ix(e){let t=[new Uint8Array([120,1])],n=0;for(;n<e.length;){let r=Math.min(65535,e.length-n),i=+(n+r>=e.length);t.push(new Uint8Array([i,r&255,r>>>8&255,~r&255,~r>>>8&255])),t.push(e.subarray(n,n+r)),n+=r}return t.push(ox(sx(e))),ax(t)}function ax(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}function ox(e){return new Uint8Array([e>>>24&255,e>>>16&255,e>>>8&255,e&255])}function sx(e){let t=1,n=0;for(let r of e)t=(t+r)%65521,n=(n+t)%65521;return(n<<16|t)>>>0}function cx(e){let t=4294967295;for(let n of e){t^=n;for(let e=0;e<8;e++)t=t>>>1^(t&1?3988292384:0)}return(t^4294967295)>>>0}function lx(e,t,n){let r=dC(Lb(t,n),n.x,n.y,!0),i=n.trace;i?.push(`canvas:${J(r.width)}x${J(r.height)}@${J(n.x)},${J(n.y)}`),e.drawRect({x:n.x,y:n.y,width:r.width,height:r.height,fill:{r:1,g:1,b:1},stroke:{r:.8,g:.8,b:.8}}),r.title&&(i?.push(`text:title:${r.title.text}:${J(r.title.x)},${J(r.title.y)}`),ux(e,r.title,{anchorOverride:`middle`}));for(let t of r.gridlines)i?.push(`line:grid:${J(t.x1)},${J(t.y1)}-${J(t.x2)},${J(t.y2)}`),e.drawLine({...t,color:Y(t.color)});r.axes.x&&(i?.push(`line:x:${J(r.axes.x.x1)},${J(r.axes.x.y1)}-${J(r.axes.x.x2)},${J(r.axes.x.y2)}`),e.drawLine({...r.axes.x,color:Y(r.axes.x.color)})),r.axes.y&&(i?.push(`line:y:${J(r.axes.y.x1)},${J(r.axes.y.y1)}-${J(r.axes.y.x2)},${J(r.axes.y.y2)}`),e.drawLine({...r.axes.y,color:Y(r.axes.y.color)})),r.axes.x2&&(i?.push(`line:x2:${J(r.axes.x2.x1)},${J(r.axes.x2.y1)}-${J(r.axes.x2.x2)},${J(r.axes.x2.y2)}`),e.drawLine({...r.axes.x2,color:Y(r.axes.x2.color)})),r.axes.y2&&(i?.push(`line:y2:${J(r.axes.y2.x1)},${J(r.axes.y2.y1)}-${J(r.axes.y2.x2)},${J(r.axes.y2.y2)}`),e.drawLine({...r.axes.y2,color:Y(r.axes.y2.color)}));for(let t of[...r.xLabels,...r.yLabels,...r.secondaryXLabels,...r.secondaryYLabels,...r.axisTitles])i?.push(`text:label:${t.text}:${J(t.x)},${J(t.y)}`),ux(e,t);for(let t of r.series)i?.push(`series:${t.type}`),cC(e,t);for(let t of r.series)dx(e,t,i);return r.dataTable&&lC(e,r.dataTable,i),i?.push(`legend:${r.legend.visible?`visible`:`hidden`}:${r.legend.items.map(e=>e.label).join(`|`)}`),uC(e,r.legend),e}function ux(e,t,n={}){let r=n.anchorOverride??t.anchor??`start`;e.drawText(t.text,{x:t.x,y:t.y,fontSize:t.fontSize,color:t.color?Y(t.color):void 0,rotation:t.rotate,anchor:r,fontFamily:t.fontFamily,bold:t.bold,italic:t.italic})}function dx(e,t,n){let r=`color`in t?Y(t.color):{r:.3,g:.3,b:.3};for(let r of t.leaderLines??[])n?.push(`leader:${J(r.x1)},${J(r.y1)}-${J(r.x2)},${J(r.y2)}`),e.drawLine({x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2,color:Y(r.color),lineWidth:r.width??1});for(let r of t.errorBars??[]){n?.push(`errorbar:${J(r.line.x1)},${J(r.line.y1)}-${J(r.line.x2)},${J(r.line.y2)}`),e.drawLine({x1:r.line.x1,y1:r.line.y1,x2:r.line.x2,y2:r.line.y2,color:Y(r.line.color),lineWidth:r.line.width??1});for(let t of[r.cap1,r.cap2])t&&e.drawLine({x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,color:Y(t.color),lineWidth:t.width??1})}for(let r of t.trendlines??[]){n?.push(`trendline:${r.points.length}pts`);let t=r.dash?[4,3]:void 0;for(let n of oC(r.points))for(let i=1;i<n.length;i++){let a=n[i-1],o=n[i];e.drawLine({x1:a.x,y1:a.y,x2:o.x,y2:o.y,color:Y(r.color),lineWidth:r.width??1.5,dashPattern:t})}r.label&&ux(e,r.label)}for(let n of t.markers??[])fx(e,n);for(let r of t.labels??[])n?.push(`label:${r.text}:${J(r.x)},${J(r.y)}`),ux(e,r);if(t.type===`bar`&&t.depth&&t.depth>0&&t.projection3D)for(let n of t.bars)px(e,n,t.projection3D,r,t.horizontal)}function fx(e,t){let n=t.size/2,r=Y(t.color),i=t.symbol??`circle`;if(i===`square`){e.drawRect({x:t.x-n,y:t.y-n,width:t.size,height:t.size,fill:r});return}if(i===`diamond`){if(e.drawPath){e.drawPath([{op:`move`,x:t.x,y:t.y-n},{op:`line`,x:t.x+n,y:t.y},{op:`line`,x:t.x,y:t.y+n},{op:`line`,x:t.x-n,y:t.y},{op:`close`}],{fill:r});return}e.drawLine({x1:t.x,y1:t.y-n,x2:t.x+n,y2:t.y,color:r}),e.drawLine({x1:t.x+n,y1:t.y,x2:t.x,y2:t.y+n,color:r}),e.drawLine({x1:t.x,y1:t.y+n,x2:t.x-n,y2:t.y,color:r}),e.drawLine({x1:t.x-n,y1:t.y,x2:t.x,y2:t.y-n,color:r});return}if(i===`triangle`){if(e.drawPath){e.drawPath([{op:`move`,x:t.x,y:t.y-n},{op:`line`,x:t.x+n,y:t.y+n},{op:`line`,x:t.x-n,y:t.y+n},{op:`close`}],{fill:r});return}e.drawLine({x1:t.x,y1:t.y-n,x2:t.x+n,y2:t.y+n,color:r}),e.drawLine({x1:t.x+n,y1:t.y+n,x2:t.x-n,y2:t.y+n,color:r}),e.drawLine({x1:t.x-n,y1:t.y+n,x2:t.x,y2:t.y-n,color:r});return}if(i===`x`){e.drawLine({x1:t.x-n,y1:t.y-n,x2:t.x+n,y2:t.y+n,color:r,lineWidth:2}),e.drawLine({x1:t.x+n,y1:t.y-n,x2:t.x-n,y2:t.y+n,color:r,lineWidth:2});return}if(i===`plus`){e.drawLine({x1:t.x-n,y1:t.y,x2:t.x+n,y2:t.y,color:r,lineWidth:2}),e.drawLine({x1:t.x,y1:t.y-n,x2:t.x,y2:t.y+n,color:r,lineWidth:2});return}e.drawCircle?e.drawCircle({cx:t.x,cy:t.y,r:n,fill:r}):e.drawRect({x:t.x-n,y:t.y-n,width:t.size,height:t.size,fill:r})}function px(e,t,n,r,i){let a=n.dx,o=n.dy,s=t.x+t.width,c=t.y,l=t.y+t.height,u={r:r.r,g:r.g,b:r.b,a:.92},d={r:r.r,g:r.g,b:r.b,a:.75},f=[{op:`move`,x:t.x,y:c},{op:`line`,x:t.x+a,y:c-o},{op:`line`,x:s+a,y:c-o},{op:`line`,x:s,y:c},{op:`close`}],p=[{op:`move`,x:s,y:c},{op:`line`,x:s+a,y:c-o},{op:`line`,x:s+a,y:l-o},{op:`line`,x:s,y:l},{op:`close`}];if(e.drawPath){e.drawPath(f,{fill:u}),e.drawPath(p,{fill:d}),e.drawRect({x:t.x,y:c,width:t.width,height:t.height,fill:r});return}for(let t of[f,p])for(let n=1;n<t.length;n++){let r=t[n-1],i=t[n];r.op!==`close`&&i.op!==`close`&&`x`in r&&`y`in r&&`x`in i&&`y`in i&&e.drawLine({x1:r.x,y1:r.y,x2:i.x,y2:i.y,color:d})}e.drawRect({x:t.x,y:c,width:t.width,height:t.height,fill:r})}function mx(e,t,n,r,i,a=0,o=0){let s=i.chart.plotArea.axes,c=s.find(e=>!e.delete&&e.axPos===`l`),l=s.find(e=>!e.delete&&e.axPos===`r`),u=s.find(e=>!e.delete&&e.axPos===`t`),d=s.find(e=>!e.delete&&e.axPos===`b`),f=r.visible&&i.chart.legend?.overlay!==!0,p=f&&r.position===`l`?r.rect.width+GC:0,m=f&&(r.position===`r`||r.position===`tr`)?r.rect.width+KC:0,h=NC+(c?.title?IC:0)+p,g=PC+(l?FC:0)+(l?.title?IC:0)+m,_=(n?RC:LC)+(u?zC:0)+(u?.title?BC:0)+(f&&r.position===`t`?VC:0),v=d&&a===0?o>6?Math.min(Math.max(UC,t*.15),t*.2):UC:0,y=HC+v+(d?.title?IC:0)+(f&&r.position===`b`?WC:0)+a,b={x:h,y:_,width:Math.max(qC,e-h-g),height:Math.max(qC,t-_-y)},x=i.chart.plotArea.layout?.manualLayout;return x?hx(b,x,e,t):b}function hx(e,t,n,r){let i=(t,r)=>t!==void 0&&r!==`factor`?tv(t)*n:e.x,a=(t,n)=>t!==void 0&&n!==`factor`?tv(t)*r:e.y,o=(t,r)=>t!==void 0&&r!==`factor`?tv(t)*n:e.width,s=(t,n)=>t!==void 0&&n!==`factor`?tv(t)*r:e.height,c=i(t.x,t.xMode),l=a(t.y,t.yMode),u=Math.max(10,o(t.w,t.wMode)),d=Math.max(10,s(t.h,t.hMode)),f=Math.max(0,Math.min(c,n-10)),p=Math.max(0,Math.min(l,r-10));return{x:f,y:p,width:Math.min(u,n-f),height:Math.min(d,r-p)}}function gx(e,t,n){if(t.length===0||n.length===0)return 0;let r=_x(e),i=Math.max(sw,Math.round(r*1.6));return(1+t.length)*i+fw}function _x(e){return vx(e.txPr)??cw}function vx(e){if(!e)return;let t=qv(e);if(typeof t==`number`)return 4/3*t}function yx(e,t,n,r,i){if(t.length===0||n.length===0||i<=0)return;let a=_x(e),o=(i-fw)/(1+t.length),s=AS(e.txPr)??`#444444`,c=jS(e.txPr),l=e.showKeys!==!1,u=l?16:0,d=t.reduce((e,t)=>Math.max(e,jC(t.label||``,a,{bold:c.bold,italic:c.italic,fontName:c.fontFamily})),0),f=Math.ceil(d+u+uw),p=Math.max(4,r.x-f),m=r.x+r.width,h=r.y+r.height+fw,g={x:p,y:h,width:m-p,height:i-fw},_=[p,r.x],v=r.width/n.length;for(let e=1;e<=n.length;e++)_.push(r.x+v*e);let y=[h];for(let e=1;e<=1+t.length;e++)y.push(h+o*e);let b=[],x=[];for(let e=0;e<n.length;e++){let t=_[e+1]+v/2,r=y[0]+o/2+a/3;b.push({x:t,y:r,text:n[e]??``,fontSize:a,color:s,anchor:`middle`,...c})}for(let e=0;e<t.length;e++){let r=t[e],i=y[e+1]+o/2+a/3;if(l){let t=p+dw,n=y[e+1]+(o-lw)/2;x.push({x:t,y:n,width:lw,height:lw,color:r.color})}let d=p+dw+u;b.push({x:d,y:i,text:r.label||``,fontSize:a,color:s,anchor:`start`,...c});for(let e=0;e<n.length;e++){let t=r.values[e],n=_[e+1]+v/2;b.push({x:n,y:i,text:bx(t),fontSize:a,color:s,anchor:`middle`,...c})}}let S=[],C=Cx(e.spPr)??`#888888`,w=(e,t,n,r)=>{S.push({x1:e,y1:t,x2:n,y2:r,color:C,width:.75})};if(e.showOutline!==!1&&(w(g.x,g.y,g.x+g.width,g.y),w(g.x,g.y+g.height,g.x+g.width,g.y+g.height),w(g.x,g.y,g.x,g.y+g.height),w(g.x+g.width,g.y,g.x+g.width,g.y+g.height)),e.showHorzBorder!==!1)for(let e=1;e<y.length-1;e++)w(g.x,y[e],g.x+g.width,y[e]);if(e.showVertBorder!==!1)for(let e=1;e<_.length-1;e++)w(_[e],g.y,_[e],g.y+g.height);return{rect:g,columns:_,rows:y,cells:b,legendSwatches:x,borders:S}}function bx(e){return e===void 0||!Number.isFinite(e)?``:Number.isInteger(e)?e.toString():Number.parseFloat(e.toPrecision(6)).toString()}function xx(e){let t=Sx(e?.rotX??15),n=Sx(e?.rotY??20),r=e?.depthPercent??100,i=Number.isFinite(r)&&r>0?Math.min(2e3,Math.max(20,r))/100:1;return{dx:.6*Math.sin(n)*i,dy:.6*Math.sin(t)*i}}function Sx(e){return e*Math.PI/180}function Cx(e){if(e)return pv(Gv(e)?.color)}function wx(e,t,n,r,i,a){let o=[];for(let s of e){let e=t.filter(e=>e.group===s);if(e.length!==0){if(s.type===`pie`||s.type===`pie3D`||s.type===`doughnut`){let t=e[0],a=pS(t,r);o.push(Wx(Fx(s.type===`doughnut`?`doughnut`:`pie`,t.values,n,s.type===`doughnut`,t,s.firstSliceAng,s.holeSize),t,n,a.min,a.max,i));continue}if(s.type===`ofPie`){let t=e[0],a=pS(t,r);o.push(Wx(Ix(t.values,n,s.secondPieSize,t),t,n,a.min,a.max,i));continue}if(s.type===`radar`){for(let t of e){let e=pS(t,r);o.push(Wx(Lx(t,n,e.min,e.max,s.radarStyle===`filled`),t,n,e.min,e.max,i))}continue}if(s.type===`stock`){let t=hS(s,r);o.push(Rx(e,n,t.min,t.max,i));continue}if(s.type===`surface`||s.type===`surface3D`){let t=hS(s,r);o.push(zx(e,n,t.min,t.max,s.wireframe));continue}if(s.type===`area`||s.type===`area3D`){let t=hS(s,r),a=q(Ex(t.min,t.max),t.min,t.max,n),c=s.grouping===`stacked`||s.grouping===`percentStacked`,l=s.grouping===`percentStacked`,u=l&&e.some(e=>e.values.some(e=>Number.isFinite(e)&&e<0))?{min:-1,max:1}:{min:0,max:1};for(let t of e){let d=l?u:pS(t,r),f=c?kx(e,t.seriesIndex,n,d.min,d.max,l):{upper:Nx(t.values,n,d.min,d.max),lower:void 0};o.push(Wx({type:`area`,color:t.color,label:t.label,points:f.upper,lowerPoints:f.lower,baselineY:a,closed:s.type===`area3D`},t,n,d.min,d.max,i))}continue}if(s.type===`bubble`){let t=s.showNegBubbles===!0;for(let a of e){let e=pS(a,r),s=mS(a,r);o.push(Wx({type:`bubble`,color:a.color,label:a.label,bubbles:Px(a,n,e.min,e.max,s.min,s.max,t)},a,n,e.min,e.max,i,s))}continue}if(s.type===`line`||s.type===`line3D`||s.type===`scatter`){let t=s.type===`scatter`?`scatter`:`line`,a=(s.type===`line`||s.type===`line3D`)&&(s.grouping===`stacked`||s.grouping===`percentStacked`),c=a&&s.grouping===`percentStacked`,l=a?Ax(e,Ib(e),c):void 0,u=c&&e.some(e=>e.values.some(e=>Number.isFinite(e)&&e<0))?{min:-1,max:1}:{min:0,max:1};for(let d of e){let f=c?u:pS(d,r),p=mS(d,r),m=s.type===`scatter`?Mx(d,n,f.min,f.max,p.min,p.max):Nx(a&&l?Array.from({length:Ib(e)},(t,n)=>jx(e,d.seriesIndex,n,l,!0)):d.values,n,f.min,f.max);o.push(Wx({type:t,color:d.color,label:d.label,points:m,smooth:`smooth`in s?s.smooth??!1:!1,showLine:s.type!==`scatter`||s.scatterStyle!==`marker`},d,n,f.min,f.max,i,s.type===`scatter`?p:void 0))}continue}if(s.type===`bar`||s.type===`bar3D`){let t=s.grouping===`stacked`||s.grouping===`percentStacked`,c=s.grouping===`percentStacked`,l=c&&e.some(e=>e.values.some(e=>Number.isFinite(e)&&e<0))?{min:-1,max:1}:{min:0,max:1},u=s.type===`bar3D`?xx(a):void 0;for(let a of e){let d=s.barDir===`bar`,f=c?l:pS(a,r),p=t?Ox(e,a.seriesIndex,d,n,f.min,f.max,c):d?Dx(a.values,a.seriesIndex,e.length,i,n,f.min,f.max):Tx(a.values,a.seriesIndex,e.length,i,n,f.min,f.max),m=u?Math.max(6,Math.min(p.reduce((e,t)=>Math.min(e,d?t.height:t.width),1/0)*.3,n.width*.12)):0;o.push(Wx({type:`bar`,color:a.color,label:a.label,horizontal:d,depth:s.type===`bar3D`?m:0,projection3D:u?{dx:u.dx*m,dy:u.dy*m}:void 0,bars:p},a,n,f.min,f.max,i))}}}}return o}function Tx(e,t,n,r,i,a,o){let s=Math.max(1,r.length,e.length),c=i.width/s,l=c*.72/Math.max(1,n),u=q(Ex(a,o),a,o,i);return e.map((e,n)=>{if(!Number.isFinite(e))return{x:i.x+n*c+c*.14+t*l,y:u,width:l,height:0};let r=q(e,a,o,i);return{x:i.x+n*c+c*.14+t*l,y:Math.min(r,u),width:l,height:Math.abs(u-r)}})}function Ex(e,t){let n=Math.min(e,t),r=Math.max(e,t);return n<=0&&r>=0?0:n>0?n:r}function Dx(e,t,n,r,i,a,o){let s=Math.max(1,r.length,e.length),c=i.height/s,l=c*.72/Math.max(1,n),u=nv(Ex(a,o),a,o,i);return e.map((e,n)=>{if(!Number.isFinite(e))return{x:u,y:i.y+n*c+c*.14+t*l,width:0,height:l};let r=nv(e,a,o,i);return{x:Math.min(r,u),y:i.y+n*c+c*.14+t*l,width:Math.abs(r-u),height:l}})}function Ox(e,t,n,r,i,a,o){let s=Ib(e),c=n?r.height/s:r.width/s,l=c*.72,u=Ax(e,s,o);return Array.from({length:s},(o,s)=>{let d=jx(e,t,s,u,!1),f=jx(e,t,s,u,!0);if(n){let e=nv(d,i,a,r),t=nv(f,i,a,r);return{x:Math.min(e,t),y:r.y+s*c+c*.14,width:Math.abs(t-e),height:l}}let p=q(d,i,a,r),m=q(f,i,a,r);return{x:r.x+s*c+c*.14,y:Math.min(p,m),width:l,height:Math.abs(m-p)}})}function kx(e,t,n,r,i,a){let o=Ib(e),s=Ax(e,o,a),c=Array.from({length:o},(n,r)=>jx(e,t,r,s,!1)),l=Array.from({length:o},(n,r)=>jx(e,t,r,s,!0));return{lower:Nx(c,n,r,i),upper:Nx(l,n,r,i)}}function Ax(e,t,n){return Array.from({length:t},(t,r)=>{if(!n)return 1;let i=0;for(let t of e){let e=t.values[r];typeof e==`number`&&Number.isFinite(e)&&(i+=Math.abs(e))}return i||1})}function jx(e,t,n,r,i){let a=e[t]?.values[n],o=typeof a==`number`&&Number.isFinite(a)&&a<0?-1:1,s=0,c=i?t:t-1;for(let t=0;t<=c;t++){let r=e[t]?.values[n];typeof r!=`number`||!Number.isFinite(r)||(r<0?-1:1)===o&&(s+=r)}return s/r[n]}function Mx(e,t,n,r,i,a){let o=e.xValues&&e.xValues.length>0?e.xValues:e.values.map((e,t)=>t+1),s=1/0,c=-1/0;for(let e of o)Number.isFinite(e)&&(e<s&&(s=e),e>c&&(c=e));(!Number.isFinite(s)||!Number.isFinite(c))&&(s=0,c=Math.max(1,o.length));let l=i??s,u=a??c;return e.values.map((e,i)=>({x:nv(o[i]??i+1,l,u<=l?l+1:u,t),y:q(e,n,r,t)}))}function Nx(e,t,n,r){let i=e.length>1?t.width/(e.length-1):t.width;return e.map((e,a)=>({x:t.x+a*i,y:q(e,n,r,t)}))}function Px(e,t,n,r,i,a,o=!1){let s=e.xValues&&e.xValues.length>0?e.xValues:e.values.map((e,t)=>t+1),c=e.values,l=e.bubbleSizes??[],u=0;for(let e of l){let t=o?Math.abs(e):e;Number.isFinite(t)&&t>u&&(u=t)}let d=1/0,f=-1/0;for(let e of s)Number.isFinite(e)&&(e<d&&(d=e),e>f&&(f=e));(!Number.isFinite(d)||!Number.isFinite(f))&&(d=0,f=Math.max(1,s.length));let p=i??d,m=a??f,h=Math.max(s.length,c.length),g=[];for(let e=0;e<h;e++){let i=l[e];if(!o&&typeof i==`number`&&Number.isFinite(i)&&i<0)continue;let a=s[e]??e+1,d=c[e]??0;if(!Number.isFinite(a)||!Number.isFinite(d))continue;let f=Math.abs(typeof i==`number`&&Number.isFinite(i)?i:1),h=u>0?Math.sqrt(u):1;g.push({x:nv(a,p,m<=p?p+1:m,t),y:q(d,n,r,t),radius:4+Math.sqrt(f)/h*16})}return g}function Fx(e,t,n,r,i,a,o){let s=Math.min(n.width,n.height)/2.35,c=n.x+n.width/2,l=n.y+n.height/2,u=t.reduce((e,t)=>e+(Number.isFinite(t)?Math.abs(t):0),0)||1,d=aS(i),f=oS(i),p=-Math.PI/2+(a&&Number.isFinite(a)?a*Math.PI/180:0);return{type:e,slices:t.map((e,t)=>{let n=Number.isFinite(e)?Math.abs(e)/u*Math.PI*2:0,i=p+n,a=f[t]??0,m=a>0?a/100*s:0,h=(p+i)/2,g={color:d[t]??X[t%X.length],cx:c+Math.cos(h)*m,cy:l+Math.sin(h)*m,radius:s,innerRadius:r?s*sS(o):0,startAngle:p,endAngle:i};return p=i,g}),label:i?.label}}function Ix(e,t,n=75,r){let i=Math.max(1,Math.floor(e.length*.7)),a=e.slice(0,i),o=e.slice(i),s=Fx(`pie`,a,{...t,width:t.width*.62},!1,r),c=Math.min(t.width,t.height)/2.35*Math.max(.25,Math.min(2,n/100)),l=t.x+t.width*.78,u=t.y+t.height/2,d=-Math.PI/2,f=o.reduce((e,t)=>e+(Number.isFinite(t)?Math.abs(t):0),0)||1,p=aS(r),m=o.map((e,t)=>{let n=Number.isFinite(e)?Math.abs(e)/f*Math.PI*2:0,r=d+n,a={color:p[i+t]??X[(i+t)%X.length],cx:l,cy:u,radius:c,innerRadius:0,startAngle:d,endAngle:r};return d=r,a}),h=[{x1:s.slices[0]?.cx??t.x,y1:u-c,x2:l-c,y2:u-c,color:vv},{x1:s.slices[0]?.cx??t.x,y1:u+c,x2:l-c,y2:u+c,color:vv}];return{type:`ofPie`,slices:s.slices,secondarySlices:m,connectors:h}}function Lx(e,t,n,r,i){let a={x:t.x+t.width/2,y:t.y+t.height/2},o=Math.min(t.width,t.height)/2.25,s=r-n,c=s===0||!Number.isFinite(s)?1:s,l=Math.max(1,e.values.length),u=e.values.map((e,t)=>{let r=-Math.PI/2+t/l*Math.PI*2;if(!Number.isFinite(e))return{x:NaN,y:NaN};let i=(e-n)/c*o;return{x:a.x+Math.cos(r)*i,y:a.y+Math.sin(r)*i}});return{type:`radar`,color:e.color,points:u,center:a,radius:o,filled:i,label:e.label}}function Rx(e,t,n,r,i){let a=Math.max(1,i.length,...e.map(e=>e.values.length)),o=t.width/a,s=Math.max(3,o*.45),c=(t,n)=>{let r=e[t]?.values[n];return typeof r==`number`&&Number.isFinite(r)?r:void 0},l=+(e.length>=5),u=e.length-l>=4,d=[];for(let e=0;e<a;e++){let i=u?c(l,e):void 0,a=c(l+ +!!u,e),f=c(l+(u?2:1),e),p=c(l+(u?3:2),e),m=[];if(typeof i==`number`&&m.push(i),typeof a==`number`&&m.push(a),typeof f==`number`&&m.push(f),typeof p==`number`&&m.push(p),m.length===0)continue;let h=m.reduce((e,t)=>t>e?t:e,m[0]),g=m.reduce((e,t)=>t<e?t:e,m[0]);d.push({x:t.x+e*o+o/2,highY:q(h,n,r,t),lowY:q(g,n,r,t),openY:i===void 0?void 0:q(i,n,r,t),closeY:p===void 0?void 0:q(p,n,r,t),width:s,up:i===void 0||p===void 0||p>=i})}return{type:`stock`,color:X[0],candles:d,label:e[0]?.label}}function zx(e,t,n,r,i){let a=Math.max(1,e.length),o=Ib(e),s=t.width/o,c=t.height/a,l=[];for(let i=0;i<a;i++){let a=e[i]?.values??[];for(let e=0;e<o;e++){let o=a[e]??n,u=r<=n?0:(o-n)/(r-n);l.push({x:t.x+e*s,y:t.y+i*c,width:s,height:c,color:dv(`#5B9BD5`,`#ED7D31`,Math.max(0,Math.min(1,u)))})}}return{type:`surface`,cells:l,wireframe:i,label:e[0]?.label}}function Bx(e,t,n){if(!Number.isFinite(e)||!Number.isFinite(t)||e===t)return[e];let r=n?.majorUnit;if(typeof r==`number`&&Number.isFinite(r)&&r>0){let n=Math.abs(t-e),i=t>=e?1:-1,a=Math.floor(n/r)+1,o=Math.min(200,a),s=[];for(let t=0;t<o;t++)s.push(e+i*t*r);return s[s.length-1]!==t&&(o<200?s.push(t):s[s.length-1]=t),s}if(pw(n)!==void 0){let n=Math.min(e,t),r=Math.max(e,t);if(r-n<=6+1e-9){let i=Math.ceil(n-1e-9),a=Math.floor(r+1e-9),o=a-i+1;if(o>=2&&o<=20){let n=[];if(e>t)for(let e=a;e>=i;e--)n.push(e);else for(let e=i;e<=a;e++)n.push(e);return n}}}let i=e>t,a=i?t:e,o=i?e:t,s=o-a;if(s<=0)return[a];let c=s/10,l=10**Math.floor(Math.log10(c)),u=c/l,d;d=u<=1.5?l:u<=3.5?2*l:u<=7.5?5*l:10*l;let f=[],p=Math.ceil(a/d)*d;for(let e=p;e<=o+d*.001&&(f.push(Math.round(e*1e10)/1e10),!(f.length>50));e+=d);return a<=0&&o>=0&&!f.includes(0)&&(f.push(0),f.sort((e,t)=>e-t)),i&&f.reverse(),f}function Vx(e){let t=e?.scaling?.logBase;if(!(typeof t!=`number`||!Number.isFinite(t)||t<=1))return t}function Hx(e,t){let n=t**+e;return kC(Number.isFinite(n)?n:e)}function Ux(e,t,n,r,i,a=[]){let o=[];if(t?.majorGridlines!==void 0){let r=hv(Gv(t.majorGridlines))??`#D9D9D9`;if(t.axisType===`cat`||t.axisType===`ser`){let t=Math.max(1,a.length),n=e.height/t;for(let i=1;i<t;i++){let t=e.y+i*n;o.push({x1:e.x,y1:t,x2:e.x+e.width,y2:t,color:r})}}else{let i=Bx(n.min,n.max,t);for(let t=i.length-1;t>=0;t--){let a=q(i[t],n.min,n.max,e);Math.abs(a-(e.y+e.height))<.5||Math.abs(a-e.y)<.5||o.push({x1:e.x,y1:a,x2:e.x+e.width,y2:a,color:r})}}}if(r?.majorGridlines!==void 0){let t=hv(Gv(r.majorGridlines))??`#D9D9D9`;if(r.axisType===`cat`||r.axisType===`ser`){let n=Math.max(1,a.length),r=e.width/n;for(let i=1;i<n;i++){let n=e.x+i*r;o.push({x1:n,y1:e.y,x2:n,y2:e.y+e.height,color:t})}}else{let n=Bx(i.min,i.max,r);for(let r of n){let n=nv(r,i.min,i.max,e);Math.abs(n-e.x)<.5||Math.abs(n-(e.x+e.width))<.5||o.push({x1:n,y1:e.y,x2:n,y2:e.y+e.height,color:t})}}}return o}function Wx(e,t,n,r,i,a,o){let s=qx(e),c=t.values,l=Jx(s,t.rawValues??c,a,t,n,e),u=Xx(s,t),d=Zx(s,c,t,n,r,i),f;if(l.length>0&&(e.type===`pie`||e.type===`doughnut`||e.type===`ofPie`)){let r=MS(t.group,t.series)?.position??`outEnd`;if(r===`outEnd`||r===`bestFit`){let t=Kx(e,l,n);l=t.labels,f=t.leaderLines}}else l.length>1&&(l=Gx(l,n));let p=Qx(s,c,t,n,r,i,e.type===`bar`&&e.horizontal===!0,o,t.xValues);return{...e,labels:l.length>0?l:void 0,markers:u.length>0?u:void 0,trendlines:d.length>0?d:void 0,errorBars:p.length>0?p:void 0,leaderLines:f&&f.length>0?f:void 0}}function Gx(e,t){let n=t.y+4,r=t.y+t.height-4,i=e.map(e=>{let t=jC(e.text,e.fontSize),n=e.fontSize,r=e.anchor??`start`,i=r===`middle`?e.x-t/2:r===`end`?e.x-t:e.x;return{label:e,left:i,right:i+t,width:t,height:n,kept:!0}}),a=i.map((e,t)=>({entry:e,index:t})).sort((e,t)=>{let n=e.entry.left+e.entry.width/2,r=t.entry.left+t.entry.width/2;return n===r?e.index-t.index:n-r});for(let e=1;e<a.length;e++){let t=a[e].entry;for(let i=e-1;i>=0;i--){let e=a[i].entry;if(!e.kept||t.left>=e.right||e.left>=t.right)continue;let o=e.label.y-e.height;if(t.label.y-t.height+t.height+2>o){let i=o-2;if(i-t.height>=n){t.label={...t.label,y:i};continue}let a=e.label.y+t.height+2;if(a<=r){t.label={...t.label,y:a};continue}t.kept=!1;break}}}return i.filter(e=>e.kept).map(e=>e.label)}function Kx(e,t,n){let r=[...e.slices,...e.secondarySlices??[]];if(r.length!==t.length)return{labels:t,leaderLines:[]};let i=r.map((e,n)=>{let r=(e.startAngle+e.endAngle)/2,i=Math.cos(r),a=Math.sin(r),o=e.cx+i*e.radius,s=e.cy+a*e.radius,c=i>=0?`right`:`left`,l=o+i*14,u=s+a*14,d=t[n];return{index:n,slice:e,angle:r,side:c,anchorX:o,anchorY:s,x:l,y:u,text:d.text,fontSize:d.fontSize,color:d.color,textAnchor:c===`left`?`end`:`start`}}),a=e=>{e.sort((e,t)=>e.y-t.y);let t=n.y+4,r=n.y+n.height-4;for(let n=0;n<e.length;n++){let i=e[n];if(n===0){i.y=Math.max(i.y,t);continue}let a=e[n-1];if(a._dropped){i.y=Math.max(i.y,t);continue}let o=a.y+a.fontSize+2;i.y<o&&(i.y=o),i.y>r&&(i._dropped=!0)}};a(i.filter(e=>e.side===`left`)),a(i.filter(e=>e.side===`right`));for(let e of i)e.x=e.side===`right`?Math.min(e.x,n.x+n.width-4):Math.max(e.x,n.x+4);let o=i.filter(e=>!e._dropped);return{labels:o.map(e=>({x:e.x,y:e.y,text:e.text,fontSize:e.fontSize,color:e.color,anchor:e.textAnchor===`end`?`end`:`start`})),leaderLines:o.map(e=>({x1:e.anchorX,y1:e.anchorY,x2:e.x-(e.side===`right`?4:-4),y2:e.y-e.fontSize/3,color:`#808080`,width:1}))}}function qx(e){return e.type===`bar`?e.horizontal?e.bars.map(e=>({x:e.x+e.width,y:e.y+e.height/2})):e.bars.map(e=>({x:e.x+e.width/2,y:e.y})):e.type===`area`||e.type===`line`||e.type===`scatter`||e.type===`radar`?e.points:e.type===`bubble`?e.bubbles.map(e=>({x:e.x,y:e.y})):e.type===`pie`||e.type===`doughnut`||e.type===`ofPie`?[...e.slices,...e.secondarySlices??[]].map(e=>{let t=(e.startAngle+e.endAngle)/2,n=(e.radius+e.innerRadius)/2;return{x:e.cx+Math.cos(t)*n,y:e.cy+Math.sin(t)*n}}):e.type===`stock`?e.candles.map(e=>({x:e.x,y:e.closeY??e.lowY})):e.type===`surface`?e.cells.map(e=>({x:e.x+e.width/2,y:e.y+e.height/2})):[]}function Jx(e,t,n,r,i,a){let o=MS(r.group,r.series);if(!o?.showVal&&!o?.showCatName&&!o?.showSerName&&!o?.showPercent)return[];let s=e,c=t,l=n;if(e.length>30){let r=e.length/30,i=[];for(let e=0;e<30;e++)i.push(Math.round(e*r));s=i.map(t=>e[t]),c=i.map(e=>t[e]),l=i.map(e=>n[e])}let u=e=>e.reduce((e,t)=>e+(Number.isFinite(t)?Math.abs(t):0),0),d=u(t)||1,f=-1,p=d,m=d;if(a?.type===`ofPie`){f=a.slices.length;let e=t.slice(0,f),n=t.slice(f);p=u(e)||1,m=u(n)||1}let h=o.position??`outEnd`,g=jS(o.txPr),_=AS(o.txPr)??`#333333`,v=a?.type===`bar`?a.bars.map(e=>a.horizontal?{x:e.x,y:e.y+e.height/2}:{x:e.x+e.width/2,y:e.y+e.height}):void 0;return s.map((e,t)=>{let{x:n,y:s,anchor:u}=Yx(e,o.entries?.find(e=>e.index===t)?.position??h,i,v?.[t],a?.type===`bar`&&a.horizontal),y=f>=0?t<f?p:m:d;return{x:n,y:s,text:NS(o,r,l[t],c[t]??0,y),fontSize:10,color:_,anchor:u,...g}})}function Yx(e,t,n,r,i=!1){let a=n.y+10,o=n.y+n.height-4,s=n.x+4,c=n.x+n.width-4;switch(t){case`t`:case`outEnd`:return i?{x:Math.min(c,e.x+6),y:e.y+3,anchor:`start`}:{x:e.x,y:Math.max(a,e.y-6),anchor:`middle`};case`inBase`:return r?i?{x:Math.max(s,r.x+6),y:r.y+3,anchor:`start`}:{x:r.x,y:Math.min(o,r.y-6),anchor:`middle`}:{x:e.x,y:Math.min(o,e.y+6+10),anchor:`middle`};case`b`:return{x:e.x,y:Math.min(o,e.y+6+10),anchor:`middle`};case`l`:return{x:Math.max(s,e.x-6),y:e.y+3,anchor:`end`};case`r`:return{x:Math.min(c,e.x+6),y:e.y+3,anchor:`start`};case`ctr`:return r?{x:(e.x+r.x)/2,y:(e.y+r.y)/2+3,anchor:`middle`}:{x:e.x,y:e.y+3,anchor:`middle`};default:return{x:e.x,y:e.y+3,anchor:`middle`}}}function Xx(e,t){let n=t.marker;return!n||n.symbol===`none`?[]:e.map(e=>({...e,color:t.color,size:n.size??6,symbol:n.symbol??`circle`}))}function Zx(e,t,n,r,i,a){return!n.trendlines||e.length<2?[]:n.trendlines.map(o=>{let s=PS(o,e,t,n,r,i,a),c=s.length>0?s[s.length-1]:void 0;return{color:hv(o.spPr?Gv(o.spPr):void 0)??`#666666`,width:gv(o.spPr?Gv(o.spPr):void 0)??1.5,dash:o.spPr?.line?.dash,points:s,label:o.name&&c?{x:c.x,y:c.y-8,text:o.name,fontSize:10,color:`#555555`,anchor:`end`}:void 0}})}function Qx(e,t,n,r,i,a,o=!1,s,c){if(!n.errorBars||e.length===0)return[];let l=[];for(let u of n.errorBars){let n=hv(u.spPr?Gv(u.spPr):void 0)??`#555555`,d=u.errDir===`x`?`x`:u.errDir===`y`?`y`:o?`x`:`y`,f=u.barDir===`plus`||u.barDir===`both`,p=u.barDir===`minus`||u.barDir===`both`;for(let m=0;m<e.length;m++){let h=e[m],g=t[m];if(!Number.isFinite(h.x)||!Number.isFinite(h.y)||!Number.isFinite(g))continue;let{plus:_,minus:v}=VS(u,g,t,m);if(d===`x`){let e,t,d;if(o)e=g,t=i,d=a;else if(s&&c){let n=c[m];if(!Number.isFinite(n))continue;e=n,t=s.min,d=s.max}else e=g,t=i,d=a;let y=f?Math.max(r.x,Math.min(r.x+r.width,nv(e+_,t,d===t?t+1:d,r))):h.x,b=p?Math.max(r.x,Math.min(r.x+r.width,nv(e-v,t,d===t?t+1:d,r))):h.x;l.push({line:{x1:b,y1:h.y,x2:y,y2:h.y,color:n},cap1:u.noEndCap||!f?void 0:{x1:y,y1:h.y-4,x2:y,y2:h.y+4,color:n},cap2:u.noEndCap||!p?void 0:{x1:b,y1:h.y-4,x2:b,y2:h.y+4,color:n}});continue}let y=f?Math.max(r.y,Math.min(r.y+r.height,q(g+_,i,a,r))):h.y,b=p?Math.max(r.y,Math.min(r.y+r.height,q(g-v,i,a,r))):h.y;l.push({line:{x1:h.x,y1:y,x2:h.x,y2:b,color:n},cap1:u.noEndCap||!f?void 0:{x1:h.x-4,y1:y,x2:h.x+4,y2:y,color:n},cap2:u.noEndCap||!p?void 0:{x1:h.x-4,y1:b,x2:h.x+4,y2:b,color:n}})}}return l}function $x(e,t,n,r,i=!1){if(n?.delete||n?.tickLblPos===`none`)return[];if(n?.axisType===`val`){let{min:e,max:a}=r??{min:0,max:1};return eS(e,a,t,n,i)}let a=Math.max(1,e.length),o=t.width/a,s=n?.axisType===`cat`||n?.axisType===`ser`?n.tickLblSkip??1:1,c=Math.max(1,s);Math.ceil(e.length/c)>60&&(s=Math.ceil(e.length/60));let l=Math.max(1,s),u=[];for(let t=0;t<e.length&&!(t%l===0&&(u.push({label:e[t],idx:t}),u.length>=60));t++);let d=jS(n?.txPr),f=e.length>6;return u.map(({label:e,idx:r})=>({x:t.x+r*o+o/2,y:i?t.y-10:t.y+t.height+18,text:AC(e),fontSize:10,color:OS(n),anchor:f?`end`:`middle`,rotate:f?-90:void 0,...d}))}function eS(e,t,n,r,i){let a=[],o=OS(r),s=jS(r?.txPr),c=pw(r);for(let l of Bx(e,t,r))a.push({x:nv(l,e,t,n),y:i?n.y-10:n.y+n.height+18,text:c?Hx(l,c):kC(l),fontSize:10,color:o,anchor:`middle`,...s});return a}function tS(e,t,n,r,i=!1,a=[]){if(r?.delete||r?.tickLblPos===`none`)return[];let o=[],s=OS(r),c=jS(r?.txPr);if((r?.axisType===`cat`||r?.axisType===`ser`)&&a.length>0){let e=r.tickLblSkip??1,t=Math.max(1,e),l=n.height/Math.max(1,a.length),u=[];for(let e=0;e<a.length&&!(e%t===0&&(u.push({label:a[e],idx:e}),u.length>=12));e++);for(let{label:e,idx:t}of u)o.push({x:i?n.x+n.width+8:n.x-8,y:n.y+t*l+l/2+3,text:AC(e),fontSize:10,color:s,anchor:i?`start`:`end`,...c});return o}let l=pw(r);for(let a of Bx(e,t,r))o.push({x:i?n.x+n.width+8:n.x-8,y:q(a,e,t,n)+3,text:l?Hx(a,l):kC(a),fontSize:10,color:s,anchor:i?`start`:`end`,...c});return o}function nS(e,t){let n=t?.chart?.plotArea?.axes,r=new Map;if(n)for(let e of n)r.set(e.axId,e);let i=new Map,a=e=>{let t=i.get(e);if(t)return t;let n=e.axisIds??[],a=gS(e,n,r),o=_S(e,n,r),s={yLogBase:Vx(a===void 0?void 0:r.get(a)),xLogBase:Vx(o===void 0?void 0:r.get(o))};return i.set(e,s),s},o=[],s=0;for(let t=0;t<e.length;t++){let n=e[t],r=bC(n),{yLogBase:i,xLogBase:c}=a(n);for(let e=0;e<r.length;e++){let a=r[e],l=xC(a),u=wC(a.xVal);o.push({group:n,groupIndex:t,series:a,seriesIndex:e,globalIndex:s,label:DC(a,s),color:rS(a,s),values:i?l.map(e=>typeof e==`number`?US(e,i):e):l,categories:EC(a),xValues:c?u.map(e=>typeof e==`number`?US(e,c):e):u,rawValues:l,rawXValues:u.length>0?u:void 0,yLogBase:i,xLogBase:c,bubbleSizes:SC(a.bubbleSize?.numRef),dataLabels:a.dataLabels,trendlines:a.trendlines,errorBars:cS(a.errorBars),marker:a.marker}),s++}}return o}function rS(e,t){return mv(e.spPr?Wv(e.spPr):void 0,void 0)??X[t%X.length]}function iS(e,t){let n=[];if(!e)return n;let r=e.series.dataPoints;if(!r)return n;for(let e of r){if(typeof e.index!=`number`||e.index<0)continue;let r=t(e);r!==void 0&&(n[e.index]=r)}return n}function aS(e){return iS(e,e=>mv(e.spPr?Wv(e.spPr):void 0,void 0)||void 0)}function oS(e){return iS(e,e=>typeof e.explosion==`number`&&Number.isFinite(e.explosion)&&e.explosion>0?e.explosion:void 0)}function sS(e){return(typeof e==`number`&&Number.isFinite(e)?Math.max(0,Math.min(90,e)):45)/100}function cS(e){if(e)return Array.isArray(e)?e:[e]}function lS(e,t){let n=e.chart.plotArea.axes,r=new Map(n.map(e=>[e.axId,e])),i=new Map;for(let t of e.chart.plotArea.chartTypes)i.set(t,t.axisIds??[]);let a=HS(t.map(e=>e.values),void 0),o=HS(t.map(e=>bS(e)),void 0,{includeZero:!1,padding:.05}),s=new Map,c=new Map,l=new Map;for(let e of t){let t=l.get(e.group);t?t.push(e):l.set(e.group,[e])}for(let[e,t]of l){let n=i.get(e)??[],a=yS(e)&&`grouping`in e&&(e.grouping===`stacked`||e.grouping===`percentStacked`),o=a&&`grouping`in e&&e.grouping===`percentStacked`;for(let e of t){let t=gS(e.group,n,r),i=_S(e.group,n,r);t!==void 0&&!a&&uS(s,t,e.values),i!==void 0&&vS(e.group)&&uS(c,i,bS(e))}if(a){let e=gS(t[0].group,n,r);if(e!==void 0){let n=Ib(t),r=[];for(let e=0;e<n;e++){let n=0,i=0;for(let r of t){let t=r.values[e];typeof t==`number`&&Number.isFinite(t)&&(t>=0?n+=t:i+=t)}o?r.push(n===0?0:1,i===0?0:-1):r.push(n,i)}uS(s,e,r)}}}let u=new Map;for(let[e,t]of s)u.set(e,HS(t,r.get(e)));let d=new Map;for(let[e,t]of c)d.set(e,HS(t,r.get(e),{includeZero:!1}));return{axesById:r,primaryXAxis:dS(n,`x`,!1),primaryYAxis:dS(n,`y`,!1),secondaryXAxis:fS(n,`x`,dS(n,`x`,!1)),secondaryYAxis:fS(n,`y`,dS(n,`y`,!1)),yRangesByAxisId:u,xRangesByAxisId:d,defaultYRange:a,defaultXRange:o}}function uS(e,t,n){let r=e.get(t);r?r.push(n):e.set(t,[n])}function dS(e,t,n){let r=t===`x`?[`t`,`b`]:[`r`,`l`],i=n?r[0]:r[1],a=n?r[1]:r[0];return e.find(e=>!e.delete&&e.axPos===i)??(n?void 0:e.find(e=>!e.delete&&e.axPos===a))}function fS(e,t,n){let r=dS(e,t,!0);return r&&r!==n?r:void 0}function pS(e,t){let n=gS(e.group,e.group.axisIds??[],t.axesById);return n===void 0?t.defaultYRange:t.yRangesByAxisId.get(n)??t.defaultYRange}function mS(e,t){let n=_S(e.group,e.group.axisIds??[],t.axesById);return n===void 0?t.defaultXRange:t.xRangesByAxisId.get(n)??t.defaultXRange}function hS(e,t){let n=gS(e,e.axisIds??[],t.axesById);return n===void 0?t.defaultYRange:t.yRangesByAxisId.get(n)??t.defaultYRange}function gS(e,t,n){if(t.length!==0)return vS(e)?t.find(e=>n.get(e)?.axPos===`l`||n.get(e)?.axPos===`r`)??t[1]:t.find(e=>n.get(e)?.axisType===`val`)??t[1]}function _S(e,t,n){if(t.length!==0)return vS(e)?t.find(e=>n.get(e)?.axPos===`b`||n.get(e)?.axPos===`t`)??t[0]:t.find(e=>n.get(e)?.axisType!==`val`)??t[0]}function vS(e){return e.type===`scatter`||e.type===`bubble`}function yS(e){return e.type===`bar`||e.type===`bar3D`||e.type===`line`||e.type===`line3D`||e.type===`area`||e.type===`area3D`}function bS(e){return e.xValues&&e.xValues.length>0?e.xValues:e.values.map((e,t)=>t+1)}function xS(e,t,n,r,i,a=[]){let o=e!==void 0&&t.length>0,s=e?.legendPos??`r`,c=s===`b`||s===`t`?`horizontal`:`vertical`,l=new Set(e?.legendEntries?.filter(e=>e.delete).map(e=>e.index)??[]),u;u=t.length===1&&a.length>1?a.map((e,t)=>({label:e,color:X[t%X.length]})):t.filter((e,t)=>!l.has(t)).map(e=>({label:e.label,color:e.color}));let d=SS(s,c,n,r,i,u.map(e=>e.label)),f=jS(e?.txPr),p=e?.txPr?AS(e.txPr):void 0,m=f.fontFamily!==void 0||f.bold||f.italic||f.fontSize!==void 0||p?{...f,color:p}:void 0;return{rect:d,visible:o,position:s,orientation:c,items:u,textStyle:m}}function SS(e,t,n,r,i,a){let o=a.map(e=>YC+jC(e,XC)+JC);if(t===`horizontal`){let t=o.reduce((e,t)=>e+t,0),a=Math.min(n-ew,Math.max(QC,Math.ceil(t)));return{x:(n-a)/2,y:e===`t`?i?nw:rw:r-26,width:a,height:ZC}}let s=o.reduce((e,t)=>t>e?t:e,0),c=Math.min(Math.max(QC,Math.ceil(s)),Math.max(QC,n-64)),l=Math.min(r-tw,Math.max(ZC,a.length*ZC));return{x:e===`l`?$C:n-c-$C,y:e===`tr`?i?iw:rw:Math.max(i?RC:LC,(r-l)/2),width:c,height:l}}function CS(e,t){let n=[];return wS(n,e.primaryXAxis,t),wS(n,e.primaryYAxis,t),wS(n,e.secondaryXAxis,t),wS(n,e.secondaryYAxis,t),n}function wS(e,t,n){if(!t||t.delete||!t.title)return;let r=ES(t.title);if(!r)return;let i={text:r,fontSize:11,color:kS(t.title),anchor:`middle`,...jS(t.title.txPr)};t.axPos===`b`?e.push({...i,x:n.x+n.width/2,y:n.y+n.height+38}):t.axPos===`t`?e.push({...i,x:n.x+n.width/2,y:n.y-26}):t.axPos===`l`?e.push({...i,x:n.x-44,y:n.y+n.height/2,rotate:-90}):t.axPos===`r`&&e.push({...i,x:n.x+n.width+44,y:n.y+n.height/2,rotate:90})}function TS(e,t,n){if(!t)return n;let r=e.find(e=>(e.group.axisIds??[])[0]===t.axId);return r?.categories&&r.categories.length>0?r.categories:n}function ES(e){return e.text?.paragraphs.map(e=>(e.runs??[]).map(e=>e.text).join(``)).join(`
|
|
60
|
+
`)??e.strRef?.cache?.points?.map(e=>e.value).join(``)}function DS(e){return hv(e?.spPr?Gv(e.spPr):void 0)??`#444444`}function OS(e){return AS(e?.txPr)??`#555555`}function kS(e){return AS(e.txPr)??`#333333`}function AS(e){return e?pv((typeof e._rawXml==`string`&&e.color===void 0?Kv(e):e).color):void 0}function jS(e){if(!e)return{};let t=typeof e._rawXml==`string`&&e.fontFamily===void 0?Kv(e):e,n={};return typeof t.fontFamily==`string`&&t.fontFamily.length>0&&(n.fontFamily=t.fontFamily),t.bold&&(n.bold=!0),t.italic&&(n.italic=!0),typeof t.size==`number`&&Number.isFinite(t.size)&&t.size>0&&(n.fontSize=t.size/100),n}function MS(e,t){let n=e.dataLabels,r=t.dataLabels;return n||r?{...n??{},...r??{}}:void 0}function NS(e,t,n,r,i){let a=e.separator??`, `,o=[];return e.showSerName&&o.push(t.label),e.showCatName&&n!==void 0&&o.push(n),e.showVal&&o.push(kC(r)),e.showPercent&&Number.isFinite(r)&&Number.isFinite(i)&&i>0&&o.push(`${Math.round(Math.abs(r)/i*100)}%`),o.join(a)}function PS(e,t,n,r,i,a,o){if(e.type===`movingAvg`)return BS(t,n,e.period??2,i,a,o);let s=r.rawValues??n,c=r.rawXValues??[],l=[];for(let e=0;e<s.length;e++){let t=s[e],n=c[e]??e+1;Number.isFinite(n)&&Number.isFinite(t)&&l.push({x:n,y:t})}if(l.length<2)return[];let u=l[0].x,d=l[l.length-1].x;for(let e of l)e.x<u&&(u=e.x),e.x>d&&(d=e.x);if(!Number.isFinite(u)||!Number.isFinite(d)||d===u)return[];let f=Number.isFinite(e.forward)?e.forward:0,p=Number.isFinite(e.backward)?e.backward:0,m=u-p,h=d+f,g=FS(e,l);if(!g)return[];let _=e.type!==`linear`||r.yLogBase!==void 0||r.xLogBase!==void 0?64:2,v=[],y=r.group.type===`scatter`||r.group.type===`bubble`,b=s.length,x=e=>{if(b<=1)return i.x+i.width/2;let t=i.width/(b-1),n=Math.max(0,Math.min(b-1,e-1));return i.x+n*t},S=y?zS(r,b):void 0;for(let e=0;e<_;e++){let t=_>1?_-1:1,n=e/t,s=m+(h-m)*n,c=g(s);if(!Number.isFinite(c))continue;let l=r.yLogBase?US(c,r.yLogBase):c;if(!Number.isFinite(l))continue;let u;if(y&&S){let e=r.xLogBase?US(s,r.xLogBase):s;if(!Number.isFinite(e))continue;u=nv(e,S.min,S.max,i)}else u=x(s);let d=q(l,a,o,i);Number.isFinite(u)&&Number.isFinite(d)&&v.push({x:u,y:d})}return v}function FS(e,t){switch(e.type){case`linear`:{let{slope:e,intercept:n}=IS(t.map(e=>e.x),t.map(e=>e.y));return!Number.isFinite(e)||!Number.isFinite(n)?void 0:t=>e*t+n}case`exp`:{let e=t.filter(e=>e.y>0);if(e.length<2)return;let{slope:n,intercept:r}=IS(e.map(e=>e.x),e.map(e=>Math.log(e.y)));if(!Number.isFinite(n)||!Number.isFinite(r))return;let i=Math.exp(r);return e=>i*Math.exp(n*e)}case`log`:{let e=t.filter(e=>e.x>0);if(e.length<2)return;let{slope:n,intercept:r}=IS(e.map(e=>Math.log(e.x)),e.map(e=>e.y));return!Number.isFinite(n)||!Number.isFinite(r)?void 0:e=>e>0?r+n*Math.log(e):NaN}case`power`:{let e=t.filter(e=>e.x>0&&e.y>0);if(e.length<2)return;let{slope:n,intercept:r}=IS(e.map(e=>Math.log(e.x)),e.map(e=>Math.log(e.y)));if(!Number.isFinite(n)||!Number.isFinite(r))return;let i=Math.exp(r);return e=>e>0?i*e**+n:NaN}case`poly`:{let n=e.order??2,r=Math.max(2,Math.min(6,Math.floor(n)));if(t.length<=r){let{slope:e,intercept:n}=IS(t.map(e=>e.x),t.map(e=>e.y));return!Number.isFinite(e)||!Number.isFinite(n)?void 0:t=>e*t+n}let i=LS(t.map(e=>e.x),t.map(e=>e.y),r);return!i||i.some(e=>!Number.isFinite(e))?void 0:e=>{let t=0,n=1;for(let r of i)t+=r*n,n*=e;return t}}default:return}}function IS(e,t){let n=Math.min(e.length,t.length);if(n<2)return{slope:NaN,intercept:NaN};let r=0,i=0;for(let a=0;a<n;a++)r+=e[a],i+=t[a];r/=n,i/=n;let a=0,o=0;for(let s=0;s<n;s++){let n=e[s]-r;a+=n*(t[s]-i),o+=n*n}if(o===0)return{slope:NaN,intercept:NaN};let s=a/o;return{slope:s,intercept:i-s*r}}function LS(e,t,n){let r=Math.min(e.length,t.length),i=n+1;if(r<i)return;let a=0;for(let t=0;t<r;t++)a+=e[t];a/=r;let o=0;for(let t=0;t<r;t++){let n=Math.abs(e[t]-a);n>o&&(o=n)}let s=o>0?o:1,c=e.map(e=>(e-a)/s),l=Array.from({length:i},()=>Array(i).fill(0)),u=Array(i).fill(0);for(let e=0;e<r;e++){let n=c[e],r=Array(i),a=1;for(let e=0;e<i;e++)r[e]=a,a*=n;let o=t[e];for(let e=0;e<i;e++){u[e]+=r[e]*o;for(let t=0;t<i;t++)l[e][t]+=r[e]*r[t]}}let d=l.map((e,t)=>[...e,u[t]]);for(let e=0;e<i;e++){let t=e,n=Math.abs(d[t][e]);for(let r=e+1;r<i;r++){let i=Math.abs(d[r][e]);i>n&&(n=i,t=r)}if(n<1e-12)return;if(t!==e){let n=d[e];d[e]=d[t],d[t]=n}let r=d[e][e];for(let t=e;t<=i;t++)d[e][t]/=r;for(let t=0;t<i;t++){if(t===e)continue;let n=d[t][e];if(n!==0)for(let r=e;r<=i;r++)d[t][r]-=n*d[e][r]}}let f=Array(i);for(let e=0;e<i;e++)f[e]=d[e][i];let p=Array(i).fill(0);for(let e=0;e<i;e++){let t=f[e]/s**+e;for(let n=0;n<=e;n++)p[n]+=t*RS(e,n)*(-a)**+(e-n)}return p}function RS(e,t){if(t<0||t>e)return 0;if(t===0||t===e)return 1;let n=1,r=1,i=Math.min(t,e-t);for(let t=0;t<i;t++)n*=e-t,r*=t+1;return n/r}function zS(e,t){let n=e.xValues&&e.xValues.length>0?e.xValues:void 0;if(!n)return{min:0,max:Math.max(1,t)};let r=1/0,i=-1/0;for(let e of n)Number.isFinite(e)&&(e<r&&(r=e),e>i&&(i=e));return!Number.isFinite(r)||!Number.isFinite(i)?{min:0,max:Math.max(1,t)}:(i<=r&&(i=r+1),{min:r,max:i})}function BS(e,t,n,r,i,a){let o=Math.max(1,Math.floor(n));return e.map((e,n)=>{let s=Math.max(0,n-o+1),c=t.slice(s,n+1).filter(e=>Number.isFinite(e));if(c.length===0)return{x:e.x,y:e.y};let l=c.reduce((e,t)=>e+t,0)/c.length;return{x:e.x,y:q(l,i,a,r)}})}function VS(e,t,n,r){if(e.errValType===`fixedVal`){let t=e.val??1;return{plus:t,minus:t}}if(e.errValType===`percentage`){let n=Math.abs(t)*((e.val??5)/100);return{plus:n,minus:n}}if(e.errValType===`cust`){let t=e.plus?.numRef?.cache?.points??e.plus?.numLit?.points??[],n=e.minus?.numRef?.cache?.points??e.minus?.numLit?.points??[],i=e=>{let t=e.find(e=>e.index===r)?.value;return typeof t==`number`&&Number.isFinite(t)?Math.abs(t):0};return{plus:i(t),minus:i(n)}}if(e.errValType===`stdDev`||e.errValType===`stdErr`){let t=n.filter(e=>Number.isFinite(e));if(t.length===0){let t=e.val??1;return{plus:t,minus:t}}let r=t.length,i=t.reduce((e,t)=>e+t,0)/r,a=Math.max(1,r-1),o=t.reduce((e,t)=>e+(t-i)**2,0)/a,s=Math.sqrt(o),c=e.errValType===`stdDev`?s*(e.val??1):s/Math.sqrt(r);return{plus:c,minus:c}}let i=e.val??1;return{plus:i,minus:i}}function HS(e,t,n={}){let r=e.flat().filter(Number.isFinite),i=n.includeZero!==!1,a=i?0:1/0,o=i?0:-1/0,s=r.length>0?r.reduce((e,t)=>t<e?t:e,a):0,c=r.length>0?r.reduce((e,t)=>t>e?t:e,o):1,l=t?.scaling?.logBase,u=e=>e===void 0?void 0:US(e,l),d=u(t?.scaling?.min)??s,f=u(t?.scaling?.max)??c,p=f<=d?{min:d,max:d+1}:{min:d,max:f},m=n.padding??0;if(m>0&&!t?.scaling?.min&&!t?.scaling?.max){let e=p.max-p.min;p.min-=e*m,p.max+=e*m}return t?.scaling?.orientation===`maxMin`?{min:p.max,max:p.min}:p}function US(e,t){return!t||t<=0||t===1||!Number.isFinite(e)||e<=0?e:Math.log(e)/Math.log(t)}function WS(e,t){let n=[],r=new Map,i=Math.min(e.length,t.length);for(let a=0;a<i;a++){let i=e[a].series.spPr;if(!i)continue;let o=GS(i);if(!o)continue;let s=JSON.stringify(o),c=r.get(s);if(!c){let e=KS(`documonster-fx-${n.length+1}`,o);if(!e)continue;c=`documonster-fx-${n.length+1}`,r.set(s,c),n.push({id:c,xml:e})}t[a].effectFilterId=c}return n}function GS(e){if(e.effectList)return e.effectList;if(typeof e._rawXml==`string`)return Av(e).effectList}function KS(e,t){if(!t)return``;let n=[],r=`SourceGraphic`;if(t.blur&&(n.push(`<feGaussianBlur in="${r}" stdDeviation="${qS(t.blur.radius??0)}" result="blur0"/>`),r=`blur0`),t.softEdge){let e=qS(t.softEdge.radius);n.push(`<feGaussianBlur in="SourceAlpha" stdDeviation="${e}" result="softAlpha"/>`,`<feComposite in="${r}" in2="softAlpha" operator="in" result="soft"/>`),r=`soft`}let i=t.outerShadow??t.presetShadow;if(i){let e=qS(i.blurRadius??38100),[t,a]=JS(i.distance??0,i.direction??0),o=YS(i.color)??`#000000`,s=XS(i.color);n.push(`<feGaussianBlur in="SourceAlpha" stdDeviation="${e}" result="shadowBlur"/>`,`<feOffset in="shadowBlur" dx="${t}" dy="${a}" result="shadowOffset"/>`,`<feFlood flood-color="${o}" flood-opacity="${s}" result="shadowColour"/>`,`<feComposite in="shadowColour" in2="shadowOffset" operator="in" result="shadowOut"/>`,`<feMerge result="shadowMerged"><feMergeNode in="shadowOut"/><feMergeNode in="${r}"/></feMerge>`),r=`shadowMerged`}if(t.glow){let e=qS(t.glow.radius),i=YS(t.glow.color)??`#ffff66`;n.push(`<feGaussianBlur in="SourceAlpha" stdDeviation="${e}" result="glowBlur"/>`,`<feFlood flood-color="${i}" result="glowColour"/>`,`<feComposite in="glowColour" in2="glowBlur" operator="in" result="glowOut"/>`,`<feMerge result="glowMerged"><feMergeNode in="glowOut"/><feMergeNode in="${r}"/></feMerge>`),r=`glowMerged`}if(t.innerShadow){let e=qS(t.innerShadow.blurRadius??0),[i,a]=JS(t.innerShadow.distance??0,t.innerShadow.direction??0),o=YS(t.innerShadow.color)??`#000000`,s=XS(t.innerShadow.color);n.push(`<feGaussianBlur in="SourceAlpha" stdDeviation="${e}" result="innerBlur"/>`,`<feOffset in="innerBlur" dx="${i}" dy="${a}" result="innerOffset"/>`,`<feComposite in="SourceAlpha" in2="innerOffset" operator="out" result="innerClipped"/>`,`<feFlood flood-color="${o}" flood-opacity="${s}" result="innerColour"/>`,`<feComposite in="innerColour" in2="innerClipped" operator="in" result="innerOut"/>`,`<feMerge result="innerMerged"><feMergeNode in="${r}"/><feMergeNode in="innerOut"/></feMerge>`)}return n.length===0?``:`<filter id="${e}" x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox">${n.join(``)}</filter>`}function qS(e){return e/12700}function JS(e,t){let n=qS(e),r=t/6e4*(Math.PI/180);return[n*Math.cos(r),n*Math.sin(r)]}function YS(e){let t=pv(e);if(!t)return;let n=cv(t);return n?`#${n}`:t}function XS(e){return!e||e.alpha===void 0?1:Math.max(0,Math.min(1,e.alpha/1e5))}function ZS(e,t){return{...e,color:DS(t),width:gv(t?.spPr?Gv(t.spPr):void 0)??e.width}}function QS(e,t){let n=t.effectFilterId;if(n&&e.push(`<g filter="url(#${n})">`),t.type===`bar`)for(let n of t.bars)t.depth&&t.projection3D?e.push(tC(n,t.projection3D,t.color,t.horizontal)):e.push(`<rect x="${J(n.x)}" y="${J(n.y)}" width="${J(n.width)}" height="${J(n.height)}" fill="${t.color}"/>`);else if(t.type===`area`){let n=oC(t.points),r=t.lowerPoints??t.points.map(e=>({x:e.x,y:t.baselineY}));for(let i of n){if(i.length<2)continue;let n=i[0].x,a=i[i.length-1].x,o=r.filter(e=>e.x>=n&&e.x<=a);if(o.length===0)continue;let s=[...i,...o.slice().reverse()];e.push(`<polygon points="${s.map(e=>`${J(e.x)},${J(e.y)}`).join(` `)}" fill="${uv(t.color,.35)}"/>`),e.push(`<polyline points="${i.map(e=>`${J(e.x)},${J(e.y)}`).join(` `)}" fill="none" stroke="${t.color}" stroke-width="2"/>`)}}else if(t.type===`line`||t.type===`scatter`){if(t.showLine!==!1){let n=oC(t.points),r=t.smooth?` stroke-linejoin="round" stroke-linecap="round"`:``;for(let i of n)i.length<2||e.push(`<polyline points="${i.map(e=>`${J(e.x)},${J(e.y)}`).join(` `)}" fill="none" stroke="${t.color}" stroke-width="2"${r}/>`)}for(let n of t.points)!Number.isFinite(n.x)||!Number.isFinite(n.y)||e.push(`<circle cx="${J(n.x)}" cy="${J(n.y)}" r="3" fill="${t.color}"/>`)}else if(t.type===`bubble`)for(let n of t.bubbles)e.push(`<circle cx="${J(n.x)}" cy="${J(n.y)}" r="${J(n.radius)}" fill="${uv(t.color,.55)}" stroke="${t.color}"/>`);else if(t.type===`pie`||t.type===`doughnut`)for(let n of t.slices)e.push(nC(n));else if(t.type===`ofPie`){for(let n of t.slices)e.push(nC(n));for(let n of t.connectors??[])e.push(aC(n));for(let n of t.secondarySlices??[])e.push(nC(n))}else if(t.type===`radar`){e.push(`<circle cx="${J(t.center.x)}" cy="${J(t.center.y)}" r="${J(t.radius)}" fill="none" stroke="${vv}"/>`);let n=oC(t.points);if(n.length===1&&n[0].length===t.points.length){let r=n[0].map(e=>`${J(e.x)},${J(e.y)}`).join(` `);e.push(`<polygon points="${r}" fill="${t.filled?uv(t.color,.35):`none`}" stroke="${t.color}" stroke-width="2"/>`)}else for(let r of n){if(r.length<2)continue;let n=r.map(e=>`${J(e.x)},${J(e.y)}`).join(` `);e.push(`<polyline points="${n}" fill="${t.filled?uv(t.color,.35):`none`}" stroke="${t.color}" stroke-width="2"/>`)}}else if(t.type===`stock`){for(let n of t.candles)if(e.push(`<line x1="${J(n.x)}" y1="${J(n.highY)}" x2="${J(n.x)}" y2="${J(n.lowY)}" stroke="#555"/>`),n.openY!==void 0&&n.closeY!==void 0){let t=Math.min(n.openY,n.closeY),r=Math.max(1,Math.abs(n.closeY-n.openY));e.push(`<rect x="${J(n.x-n.width/2)}" y="${J(t)}" width="${J(n.width)}" height="${J(r)}" fill="${n.up?`#70AD47`:`#C00000`}" stroke="#555"/>`)}}else if(t.type===`surface`)for(let n of t.cells)e.push(`<rect x="${J(n.x)}" y="${J(n.y)}" width="${J(n.width)}" height="${J(n.height)}" fill="${n.color}" stroke="${t.wireframe?`#555`:n.color}" stroke-width="${+!!t.wireframe}"/>`);n&&e.push(`</g>`)}function $S(e,t){for(let n of t.errorBars??[])e.push(aC(n.line)),n.cap1&&e.push(aC(n.cap1)),n.cap2&&e.push(aC(n.cap2));for(let n of t.trendlines??[]){let t=n.dash?` stroke-dasharray="4 3"`:``;for(let r of oC(n.points))r.length<2||e.push(`<polyline points="${r.map(e=>`${J(e.x)},${J(e.y)}`).join(` `)}" fill="none" stroke="${n.color}" stroke-width="${n.width??1.5}"${t}/>`);n.label&&e.push(sC(n.label))}for(let n of t.markers??[])e.push(eC(n));for(let n of t.leaderLines??[])e.push(aC(n));for(let n of t.labels??[])e.push(sC(n))}function eC(e){let t=e.size/2;return e.symbol===`square`?`<rect x="${J(e.x-t)}" y="${J(e.y-t)}" width="${J(e.size)}" height="${J(e.size)}" fill="${e.color}"/>`:e.symbol===`diamond`?`<polygon points="${J(e.x)},${J(e.y-t)} ${J(e.x+t)},${J(e.y)} ${J(e.x)},${J(e.y+t)} ${J(e.x-t)},${J(e.y)}" fill="${e.color}"/>`:e.symbol===`triangle`?`<polygon points="${J(e.x)},${J(e.y-t)} ${J(e.x+t)},${J(e.y+t)} ${J(e.x-t)},${J(e.y+t)}" fill="${e.color}"/>`:e.symbol===`x`||e.symbol===`plus`?(e.symbol===`x`?[`<line x1="${J(e.x-t)}" y1="${J(e.y-t)}" x2="${J(e.x+t)}" y2="${J(e.y+t)}" stroke="${e.color}" stroke-width="2"/>`,`<line x1="${J(e.x+t)}" y1="${J(e.y-t)}" x2="${J(e.x-t)}" y2="${J(e.y+t)}" stroke="${e.color}" stroke-width="2"/>`]:[`<line x1="${J(e.x-t)}" y1="${J(e.y)}" x2="${J(e.x+t)}" y2="${J(e.y)}" stroke="${e.color}" stroke-width="2"/>`,`<line x1="${J(e.x)}" y1="${J(e.y-t)}" x2="${J(e.x)}" y2="${J(e.y+t)}" stroke="${e.color}" stroke-width="2"/>`]).join(``):`<circle cx="${J(e.x)}" cy="${J(e.y)}" r="${J(t)}" fill="${e.color}"/>`}function tC(e,t,n,r){let i=e.x+e.width,a=e.y,o=e.y+e.height,s=t.dx,c=t.dy,l=e.x+s,u=a-c,d=i+s,f=a-c,p=i+s,m=o-c,h=uv(n,.92),g=uv(n,.75),_=[];return _.push(`<polygon points="${J(e.x)},${J(a)} ${J(l)},${J(u)} ${J(d)},${J(f)} ${J(i)},${J(a)}" fill="${h}"/>`,`<polygon points="${J(i)},${J(a)} ${J(d)},${J(f)} ${J(p)},${J(m)} ${J(i)},${J(o)}" fill="${g}"/>`,`<rect x="${J(e.x)}" y="${J(e.y)}" width="${J(e.width)}" height="${J(e.height)}" fill="${n}"/>`),_.join(``)}function nC(e){let t=e.endAngle-e.startAngle,n=Math.abs(t);if(n>=Math.PI*2-1e-9){if(e.innerRadius>0){let t=e.radius,n=e.innerRadius;return`<path d="M ${J(e.cx-t)} ${J(e.cy)} A ${J(t)} ${J(t)} 0 1 1 ${J(e.cx+t)} ${J(e.cy)} A ${J(t)} ${J(t)} 0 1 1 ${J(e.cx-t)} ${J(e.cy)} M ${J(e.cx-n)} ${J(e.cy)} A ${J(n)} ${J(n)} 0 1 0 ${J(e.cx+n)} ${J(e.cy)} A ${J(n)} ${J(n)} 0 1 0 ${J(e.cx-n)} ${J(e.cy)} Z" fill="${e.color}" fill-rule="evenodd"/>`}return`<circle cx="${J(e.cx)}" cy="${J(e.cy)}" r="${J(e.radius)}" fill="${e.color}"/>`}let r=+(n>Math.PI),i=+(t>=0),a=t>=0?0:1,o=e.cx+Math.cos(e.startAngle)*e.radius,s=e.cy+Math.sin(e.startAngle)*e.radius,c=e.cx+Math.cos(e.endAngle)*e.radius,l=e.cy+Math.sin(e.endAngle)*e.radius;if(e.innerRadius>0){let t=e.cx+Math.cos(e.endAngle)*e.innerRadius,n=e.cy+Math.sin(e.endAngle)*e.innerRadius,u=e.cx+Math.cos(e.startAngle)*e.innerRadius,d=e.cy+Math.sin(e.startAngle)*e.innerRadius;return`<path d="M ${J(o)} ${J(s)} A ${J(e.radius)} ${J(e.radius)} 0 ${r} ${i} ${J(c)} ${J(l)} L ${J(t)} ${J(n)} A ${J(e.innerRadius)} ${J(e.innerRadius)} 0 ${r} ${a} ${J(u)} ${J(d)} Z" fill="${e.color}" data-sector="${J(e.cx)},${J(e.cy)},${J(e.radius)},${J(e.innerRadius)},${J(e.startAngle)},${J(e.endAngle)}"/>`}return`<path d="M ${J(e.cx)} ${J(e.cy)} L ${J(o)} ${J(s)} A ${J(e.radius)} ${J(e.radius)} 0 ${r} ${i} ${J(c)} ${J(l)} Z" fill="${e.color}" data-sector="${J(e.cx)},${J(e.cy)},${J(e.radius)},0,${J(e.startAngle)},${J(e.endAngle)}"/>`}function rC(e,t){for(let n of t.borders)e.push(aC(n));for(let n of t.legendSwatches)e.push(`<rect x="${J(n.x)}" y="${J(n.y)}" width="${J(n.width)}" height="${J(n.height)}" fill="${n.color}"/>`);for(let n of t.cells)e.push(sC(n))}function iC(e,t){if(!t.visible||t.items.length===0)return;let n=t.textStyle?.fontSize??10,r=t.textStyle?.fontFamily??`Arial`,i=t.textStyle?.color??`#555`,a=t.textStyle?.bold?` font-weight="bold"`:``,o=t.textStyle?.italic?` font-style="italic"`:``,s=t.textStyle?.bold,c=t.textStyle?.italic,l=t.rect.x;t.items.forEach((u,d)=>{let f=t.orientation===`horizontal`?l:t.rect.x,p=t.orientation===`horizontal`?t.rect.y:t.rect.y+d*18;if(e.push(`<rect x="${J(f)}" y="${J(p)}" width="10" height="10" fill="${u.color}"/>`),e.push(`<text x="${J(f+10+4)}" y="${J(p+9)}" font-family="${ln(r)}" font-size="${n}" fill="${i}"${a}${o}>${ov(u.label)}</text>`),t.orientation===`horizontal`){let e=jC(u.label,n,{bold:s,italic:c,fontName:r});l+=14+e+16}})}function aC(e){return`<line x1="${J(e.x1)}" y1="${J(e.y1)}" x2="${J(e.x2)}" y2="${J(e.y2)}" stroke="${e.color}" stroke-width="${e.width??1}"/>`}function oC(e){let t=[],n=[];for(let r of e)Number.isFinite(r.x)&&Number.isFinite(r.y)?n.push(r):n.length>0&&(t.push(n),n=[]);return n.length>0&&t.push(n),t}function sC(e){let t=e.rotate?` transform="rotate(${J(e.rotate)} ${J(e.x)} ${J(e.y)})"`:``,n=e.fontFamily??`Arial`,r=e.bold?` font-weight="bold"`:``,i=e.italic?` font-style="italic"`:``,a=e.anchor??`start`;if(/[\r\n]/.test(e.text)){let o=e.text.split(/\r?\n/).map((t,n)=>`<tspan x="${J(e.x)}"${n===0?``:` dy="1.2em"`}>${ov(t)}</tspan>`).join(``);return`<text x="${J(e.x)}" y="${J(e.y)}" text-anchor="${a}" font-family="${ln(n)}" font-size="${e.fontSize}" fill="${e.color}"${r}${i}${t}>${o}</text>`}return`<text x="${J(e.x)}" y="${J(e.y)}" text-anchor="${a}" font-family="${ln(n)}" font-size="${e.fontSize}" fill="${e.color}"${r}${i}${t}>${ov(e.text)}</text>`}function cC(e,t){if(t.type===`bar`){let n=Y(t.color);for(let r of t.bars)if(!(!Number.isFinite(r.x)||!Number.isFinite(r.y)||!Number.isFinite(r.width)||!Number.isFinite(r.height)||r.width===0&&r.height===0)&&!(t.projection3D&&t.depth&&t.depth>0)){if(r.width<2){let t=r.x+r.width/2,i=r.y+r.height;e.drawCircle?e.drawCircle({cx:t,cy:i,r:1.2,fill:n}):e.drawRect({x:t-1,y:i-1,width:2,height:2,fill:n})}else e.drawRect({...r,fill:n})}}else if(t.type===`area`){if(e.drawPath&&t.points.length>0){let n=t.lowerPoints??t.points.map(e=>({x:e.x,y:t.baselineY}));for(let r of oC(t.points)){if(r.length===0)continue;let i=r[0].x,a=r[r.length-1].x,o=n.filter(e=>Number.isFinite(e.x)&&Number.isFinite(e.y)&&e.x>=i&&e.x<=a);if(o.length===0)continue;let s=[{op:`move`,x:o[0].x,y:o[0].y},...r.map(e=>({op:`line`,x:e.x,y:e.y})),...o.slice().reverse().map(e=>({op:`line`,x:e.x,y:e.y})),{op:`close`}];e.drawPath(s,{fill:fv(t.color,.35)})}}for(let n of oC(t.points))for(let r=1;r<n.length;r++)e.drawLine({x1:n[r-1].x,y1:n[r-1].y,x2:n[r].x,y2:n[r].y,color:Y(t.color)})}else if(t.type===`line`||t.type===`scatter`){if(t.showLine!==!1)for(let n of oC(t.points))for(let r=1;r<n.length;r++)e.drawLine({x1:n[r-1].x,y1:n[r-1].y,x2:n[r].x,y2:n[r].y,color:Y(t.color)});for(let n of t.points)!Number.isFinite(n.x)||!Number.isFinite(n.y)||e.drawRect({x:n.x-2,y:n.y-2,width:4,height:4,fill:Y(t.color)})}else if(t.type===`bubble`)for(let n of t.bubbles){let r=fv(t.color,.55);e.drawCircle?e.drawCircle({cx:n.x,cy:n.y,r:n.radius,fill:r}):e.drawRect({x:n.x-n.radius,y:n.y-n.radius,width:n.radius*2,height:n.radius*2,fill:r})}else if(t.type===`pie`||t.type===`doughnut`){if(e.drawPath)for(let n of t.slices)e.drawPath(_C(n),{fill:Y(n.color)});else for(let n of t.slices)gC(e,n,Y(n.color))}else if(t.type===`ofPie`){if(e.drawPath)for(let n of[...t.slices,...t.secondarySlices??[]])e.drawPath(_C(n),{fill:Y(n.color)});else for(let n of[...t.slices,...t.secondarySlices??[]])gC(e,n,Y(n.color));for(let n of t.connectors??[])e.drawLine({...n,color:Y(n.color)})}else if(t.type===`radar`){let n=oC(t.points),r=n.length===1&&n[0].length===t.points.length;if(t.filled&&e.drawPath&&r&&n[0].length>0){let r=n[0],i=[{op:`move`,x:r[0].x,y:r[0].y},...r.slice(1).map(e=>({op:`line`,x:e.x,y:e.y})),{op:`close`}];e.drawPath(i,{fill:fv(t.color,.35)})}for(let i of n)if(!(i.length<2)){for(let n=0;n<i.length-1;n++)e.drawLine({x1:i[n].x,y1:i[n].y,x2:i[n+1].x,y2:i[n+1].y,color:Y(t.color),lineWidth:2});r&&i.length>1&&e.drawLine({x1:i[i.length-1].x,y1:i[i.length-1].y,x2:i[0].x,y2:i[0].y,color:Y(t.color),lineWidth:2})}}else if(t.type===`stock`)for(let n of t.candles)e.drawLine({x1:n.x,y1:n.highY,x2:n.x,y2:n.lowY,color:Y(`#555555`)}),n.openY!==void 0&&n.closeY!==void 0&&e.drawRect({x:n.x-n.width/2,y:Math.min(n.openY,n.closeY),width:n.width,height:Math.max(1,Math.abs(n.closeY-n.openY)),fill:Y(n.up?`#70AD47`:`#C00000`)});else if(t.type===`surface`)for(let n of t.cells)e.drawRect({...n,fill:Y(n.color)})}function lC(e,t,n){for(let r of t.borders)n?.push(`line:dTable:${J(r.x1)},${J(r.y1)}-${J(r.x2)},${J(r.y2)}`),e.drawLine({...r,color:Y(r.color)});for(let n of t.legendSwatches)e.drawRect({x:n.x,y:n.y,width:n.width,height:n.height,fill:Y(n.color)});for(let r of t.cells)n?.push(`text:dTable:${r.text}:${J(r.x)},${J(r.y)}`),ux(e,r)}function uC(e,t){if(!t.visible||t.items.length===0)return;let n=t.items.length,r=n>10,i=r?7:t.textStyle?.fontSize??10,a=t.textStyle?.fontFamily,o=t.textStyle?.bold,s=t.textStyle?.italic,c=t.textStyle?.color?Y(t.textStyle.color):void 0,l=r?7:10,u=r?8:16,d=r?10:18;if(r){let r=l+3+50+u,f=t.rect.width>0?t.rect.width:600,p=Math.max(1,Math.floor(f/r));for(let u=0;u<n;u++){let n=u%p,f=Math.floor(u/p),m=t.rect.x+n*r,h=t.rect.y+f*d;if(h+d>t.rect.y+t.rect.height)break;e.drawRect({x:m,y:h,width:l,height:l,fill:Y(t.items[u].color)}),e.drawText(t.items[u].label,{x:m+l+3,y:h+1,fontSize:i,anchor:`start`,fontFamily:a,bold:o,italic:s,color:c})}}else{let n=t.rect.x;t.items.forEach((r,f)=>{let p=t.orientation===`horizontal`?n:t.rect.x,m=t.orientation===`horizontal`?t.rect.y:t.rect.y+f*d;if(e.drawRect({x:p,y:m,width:l,height:l,fill:Y(r.color)}),e.drawText(r.label,{x:p+l+3,y:m+1,fontSize:i,anchor:`start`,fontFamily:a,bold:o,italic:s,color:c}),t.orientation===`horizontal`){let e=jC(r.label,i,{bold:o,italic:s,fontName:a});n+=l+3+e+u}})}}function dC(e,t,n,r){let i=t=>r?n+e.height-t:n+t,a=e=>({x:t+e.x,y:i(e.y)}),o=i=>{let a=r?n+e.height-i.y-i.height:n+i.y;return{x:t+i.x,y:a,width:i.width,height:i.height}},s=e=>({...e,x1:t+e.x1,y1:i(e.y1),x2:t+e.x2,y2:i(e.y2)}),c=e=>({...e,x:t+e.x,y:i(e.y)});return{...e,title:e.title?c(e.title):void 0,plot:o(e.plot),axes:{x:e.axes.x?s(e.axes.x):void 0,y:e.axes.y?s(e.axes.y):void 0,x2:e.axes.x2?s(e.axes.x2):void 0,y2:e.axes.y2?s(e.axes.y2):void 0},gridlines:e.gridlines.map(s),xLabels:e.xLabels.map(c),yLabels:e.yLabels.map(c),secondaryXLabels:e.secondaryXLabels.map(c),secondaryYLabels:e.secondaryYLabels.map(c),axisTitles:e.axisTitles.map(c),legend:{...e.legend,rect:o(e.legend.rect)},dataTable:e.dataTable?{rect:o(e.dataTable.rect),columns:e.dataTable.columns.map(e=>t+e),rows:e.dataTable.rows.map(e=>i(e)),cells:e.dataTable.cells.map(c),legendSwatches:e.dataTable.legendSwatches.map(e=>({...o(e),color:e.color})),borders:e.dataTable.borders.map(s)}:void 0,series:e.series.map(e=>fC(e,a,o,s,c,r))}}function fC(e,t,n,r,i,a){if(e.type===`bar`){let o=e.projection3D?{dx:e.projection3D.dx,dy:a?-e.projection3D.dy:e.projection3D.dy}:void 0;return pC({...e,bars:e.bars.map(n),projection3D:o},t,r,i)}return e.type===`line`||e.type===`scatter`?pC({...e,points:e.points.map(t)},t,r,i):e.type===`radar`?pC({...e,points:e.points.map(t),center:t(e.center)},t,r,i):e.type===`area`?pC({...e,points:e.points.map(t),lowerPoints:e.lowerPoints?.map(t),baselineY:t({x:0,y:e.baselineY}).y},t,r,i):e.type===`bubble`?pC({...e,bubbles:e.bubbles.map(e=>({...t(e),radius:e.radius}))},t,r,i):e.type===`pie`||e.type===`doughnut`?pC({...e,slices:e.slices.map(e=>mC(e,t,a))},t,r,i):e.type===`ofPie`?pC({...e,slices:e.slices.map(e=>mC(e,t,a)),secondarySlices:e.secondarySlices?.map(e=>mC(e,t,a)),connectors:e.connectors?.map(e=>({...e,...hC(t({x:e.x1,y:e.y1}),t({x:e.x2,y:e.y2}))}))},t,r,i):e.type===`stock`?pC({...e,candles:e.candles.map(e=>({...e,x:t({x:e.x,y:0}).x,highY:t({x:0,y:e.highY}).y,lowY:t({x:0,y:e.lowY}).y,openY:e.openY===void 0?void 0:t({x:0,y:e.openY}).y,closeY:e.closeY===void 0?void 0:t({x:0,y:e.closeY}).y}))},t,r,i):e.type===`surface`?pC({...e,cells:e.cells.map(e=>({...e,...n(e)}))},t,r,i):e}function pC(e,t,n,r){return{...e,labels:e.labels?.map(r),markers:e.markers?.map(e=>({...e,...t(e)})),trendlines:e.trendlines?.map(e=>({...e,points:e.points.map(t),label:e.label?r(e.label):void 0})),errorBars:e.errorBars?.map(e=>({line:n(e.line),cap1:e.cap1?n(e.cap1):void 0,cap2:e.cap2?n(e.cap2):void 0})),leaderLines:e.leaderLines?.map(n)}}function mC(e,t,n){let r=t({x:e.cx,y:e.cy});return n?{...e,cx:r.x,cy:r.y,startAngle:-e.endAngle,endAngle:-e.startAngle}:{...e,cx:r.x,cy:r.y}}function hC(e,t){return{x1:e.x,y1:e.y,x2:t.x,y2:t.y}}function gC(e,t,n){let r=_C(t),i,a;for(let t of r)t.op===`move`?(i={x:t.x,y:t.y},a=i):t.op===`line`&&i?(e.drawLine({x1:i.x,y1:i.y,x2:t.x,y2:t.y,color:n}),i={x:t.x,y:t.y}):t.op===`close`&&i&&a&&(e.drawLine({x1:i.x,y1:i.y,x2:a.x,y2:a.y,color:n}),i=void 0,a=void 0)}function _C(e){let t=[],n=yC(e.cx,e.cy,e.radius,e.startAngle),r=yC(e.cx,e.cy,e.radius,e.endAngle);if(e.innerRadius>0){let r=yC(e.cx,e.cy,e.innerRadius,e.endAngle);return t.push({op:`move`,...n}),t.push(...vC(e.cx,e.cy,e.radius,e.startAngle,e.endAngle)),t.push({op:`line`,...r}),t.push(...vC(e.cx,e.cy,e.innerRadius,e.endAngle,e.startAngle)),t.push({op:`close`}),t}return t.push({op:`move`,x:e.cx,y:e.cy}),t.push({op:`line`,...n}),t.push(...vC(e.cx,e.cy,e.radius,e.startAngle,e.endAngle)),t.push({op:`line`,...r}),t.push({op:`close`}),t}function vC(e,t,n,r,i){let a=i-r,o=Math.max(8,Math.ceil(Math.abs(a)*n/3)),s=[];for(let i=1;i<=o;i++)s.push({op:`line`,...yC(e,t,n,r+a*i/o)});return s}function yC(e,t,n,r){return{x:e+Math.cos(r)*n,y:t+Math.sin(r)*n}}function bC(e){return e?.series??[]}function xC(e){let t=e,n=t.val?.numRef??t.yVal?.numRef;return n?SC(n):TC(t.val?.numLit??t.yVal?.numLit)}function SC(e){return CC(e?.cache?.points??[],e?.cache?.pointCount,NaN,e=>typeof e==`number`&&Number.isFinite(e)?e:NaN)}function CC(e,t,n,r){if(e.length===0)return[];let i=-1;for(let t of e)typeof t.index==`number`&&Number.isFinite(t.index)&&t.index>i&&(i=t.index);let a=typeof t==`number`?t:0,o=Math.max(e.length,i+1,a),s=Math.min(o,mw),c=Array(s).fill(n);for(let t of e){let e=typeof t.index==`number`&&Number.isFinite(t.index)&&t.index>=0?t.index:-1;e<0||e>=s||(c[e]=r(t.value))}return c}function wC(e){return e?e.numRef?SC(e.numRef):TC(e.numLit):[]}function TC(e){return e?CC(e.points,e.pointCount,NaN,e=>typeof e==`number`&&Number.isFinite(e)?e:NaN):[]}function EC(e){let t=e?.cat;if(!t)return;let n=t.strRef??t.multiLvlStrRef?.cache?.levels?.[0],r=t.numRef,i=[],a=n?.cache?.points,o=n?.points;a&&a.length>0?i.push({points:a,cache:n.cache}):o&&o.length>0&&i.push({points:o}),r?.cache?.points&&r.cache.points.length>0&&i.push({points:r.cache.points,cache:r.cache}),i.length===0&&t.strLit&&t.strLit.points.length>0&&i.push({points:t.strLit.points,cache:{pointCount:t.strLit.pointCount}}),i.length===0&&t.numLit&&t.numLit.points.length>0&&i.push({points:t.numLit.points,cache:{pointCount:t.numLit.pointCount}});let s=i[0];if(s)return CC(s.points,s.cache?.pointCount,``,e=>typeof e==`string`?e:typeof e==`number`&&Number.isFinite(e)?kC(e):``)}function DC(e,t){let n=e?.tx;return n?.value??n?.strRef?.cache?.points?.map(e=>e.value).join(``)??`Series ${t+1}`}function OC(e){let t=e.chart.title;if(!t)return;let n=ES(t);return n&&n.length>0?n:void 0}function kC(e){if(!Number.isFinite(e))return``;let t=Math.abs(e);return t!==0&&t<.01?e.toExponential(2):t>=1e3?e.toFixed(0):Number.isInteger(e)?String(e):e.toFixed(1)}function AC(e){if(e.length<=12)return e;let t=Array.from(e);return t.length<=12?e:`${t.slice(0,9).join(``)}\u2026`}function jC(e,t,n={}){return e?wb(e,{name:n.fontName??`arial`,size:t,bold:n.bold,italic:n.italic}):0}function MC(e){return new Promise((t,n)=>{let r=new Image;r.onload=()=>t(r),r.onerror=()=>n(Error(`Failed to load chart SVG image`)),r.src=e})}var NC,PC,FC,IC,LC,RC,zC,BC,VC,HC,UC,WC,GC,KC,qC,JC,YC,XC,ZC,QC,$C,ew,tw,nw,rw,iw,aw,ow,sw,cw,lw,uw,dw,fw,pw,mw,hw=n((()=>{Yy(),Zy(),xv(),$v(),Pb(),NC=58,PC=24,FC=42,IC=18,LC=24,RC=52,zC=22,BC=16,VC=30,HC=24,UC=22,WC=28,GC=12,KC=16,qC=10,JC=32,YC=16,XC=11,ZC=18,QC=96,$C=20,ew=48,tw=48,nw=48,rw=20,iw=44,aw=new WeakMap,ow=class{constructor(e,t,n=1){this.width=e,this.height=t,this.scale=n,this.data=new Uint8Array(e*t*4)}fillRect(e,t,n,r,i){let a=Qb(i);if(!a||n<=0||r<=0)return;let o=ex(Math.floor(e),0,this.width),s=ex(Math.floor(t),0,this.height),c=ex(Math.ceil(e+n),0,this.width),l=ex(Math.ceil(t+r),0,this.height);for(let e=s;e<l;e++)for(let t=o;t<c;t++)this.setPixel(t,e,a)}strokeRect(e,t,n,r,i,a=1){this.drawLine(e,t,e+n,t,i,a),this.drawLine(e+n,t,e+n,t+r,i,a),this.drawLine(e+n,t+r,e,t+r,i,a),this.drawLine(e,t+r,e,t,i,a)}drawPolyline(e,t,n=1){if(!(e.length<2))for(let r=1;r<e.length;r++)this.drawLine(e[r-1].x,e[r-1].y,e[r].x,e[r].y,t,n)}drawLine(e,t,n,r,i,a=1){let o=Qb(i);if(!o)return;let s=Math.round(e),c=Math.round(t),l=Math.round(n),u=Math.round(r),d=Math.abs(l-s),f=s<l?1:-1,p=-Math.abs(u-c),m=c<u?1:-1,h=d+p,g=Math.max(0,Math.floor(a/2));for(;;){for(let e=c-g;e<=c+g;e++)for(let t=s-g;t<=s+g;t++)this.setPixel(t,e,o);if(s===l&&c===u)break;let e=2*h;e>=p&&(h+=p,s+=f),e<=d&&(h+=d,c+=m)}}fillCircle(e,t,n,r){let i=Qb(r);if(!i||n<=0)return;let a=Math.floor(e-n),o=Math.ceil(e+n),s=Math.floor(t-n),c=Math.ceil(t+n),l=n*n;for(let n=s;n<=c;n++)for(let r=a;r<=o;r++)(r-e)**2+(n-t)**2<=l&&this.setPixel(r,n,i)}strokeCircle(e,t,n,r,i=1){let a=[],o=Math.max(12,Math.ceil(n*2));for(let r=0;r<=o;r++){let i=r/o*Math.PI*2;a.push({x:e+Math.cos(i)*n,y:t+Math.sin(i)*n})}this.drawPolyline(a,r,i)}fillSector(e,t,n,r,i,a,o){let s=Qb(o);if(!s||n<=0)return;let c=ex(Math.floor(e-n),0,this.width),l=ex(Math.ceil(e+n),0,this.width),u=ex(Math.floor(t-n),0,this.height),d=ex(Math.ceil(t+n),0,this.height),f=n*n,p=r*r,m=i%(Math.PI*2);m<0&&(m+=Math.PI*2);let h=a%(Math.PI*2);h<0&&(h+=Math.PI*2);let g=h<m;for(let n=u;n<d;n++){let r=n+.5-t;for(let t=c;t<l;t++){let i=t+.5-e,a=i*i+r*r;if(a>f||a<p)continue;let o=Math.atan2(r,i);o<0&&(o+=Math.PI*2),(g?o>=m||o<=h:o>=m&&o<=h)&&this.setPixel(t,n,s)}}}fillPolygon(e,t){let n=Qb(t);if(!n||e.length<3)return;let r=e[0].y,i=e[0].y;for(let t of e)t.y<r&&(r=t.y),t.y>i&&(i=t.y);let a=ex(Math.floor(r),0,this.height-1),o=ex(Math.ceil(i),0,this.height-1);for(let t=a;t<=o;t++){let r=[];for(let n=0,i=e.length-1;n<e.length;i=n++){let a=e[n],o=e[i];a.y>t!=o.y>t&&r.push((o.x-a.x)*(t-a.y)/(o.y-a.y)+a.x)}r.sort((e,t)=>e-t);for(let e=0;e<r.length;e+=2){let i=ex(Math.floor(r[e]),0,this.width-1),a=ex(Math.ceil(r[e+1]??r[e]),0,this.width-1);for(let e=i;e<=a;e++)this.setPixel(e,t,n)}}}drawText(e,t,n,r,i,a,o){if(!n)return;let s=jC(n,r),c=s>0?s:Math.max(1,r*.5)*n.length,l=a===`middle`?e-c/2:a===`end`?e-c:e,u=Ny();if(u){this.drawTextWithFont(u,l,t,n,r,c,i,o);return}this.drawTextStroke(l,t,n,r,c,i,o)}drawTextWithFont(e,t,n,r,i,a,o,s){let c=Qb(o);if(!c)return;let l=i/e.unitsPerEm,u=0;for(let t of r){let n=e.getOutline(t.codePointAt(0));u+=n?n.advanceWidth*l:i*.4}let d=u>0?a/u:1,f=s&&s.angle!==0?s.angle*Math.PI/180:0,p=Math.cos(f),m=Math.sin(f),h=s?s.originX:0,g=s?s.originY:0,_=t;for(let t of r){let r=t.codePointAt(0),a=e.getOutline(r);if(!a){_+=i*.4*d;continue}let o=Fb(a,i,e.unitsPerEm);if(o.pixels.length===0){_+=a.advanceWidth*l*d;continue}let s=_+o.offsetX,u=n+o.offsetY;for(let e=0;e<o.height;e++)for(let t=0;t<o.width;t++){let n=o.pixels[e*o.width+t];if(n>0){let r=s+t,i=u+e;if(f!==0){let e=r-h,t=i-g;r=h+e*p-t*m,i=g+e*m+t*p}let a=[c[0],c[1],c[2],n];this.setPixel(Math.round(r),Math.round(i),a)}}_+=a.advanceWidth*l*d}}drawTextStroke(e,t,n,r,i,a,o){let s=Math.max(1,r*.08),c=0;for(let e of n){let t=e.codePointAt(0),n=Xy[t]??Xy[63];c+=n?n.w:.4}let l=c>0?i/(c*r):1;if(!o||o.angle===0){let i=e;for(let e of n){let n=e.codePointAt(0),o=Xy[n]??Xy[63];if(o){for(let e of o.d)for(let n=1;n<e.length;n++){let o=i+e[n-1][0]*r*l,c=t-r*.75+e[n-1][1]*r,u=i+e[n][0]*r*l,d=t-r*.75+e[n][1]*r;this.drawLine(o,c,u,d,a,s)}i+=o.w*r*l}}return}let u=o.angle*Math.PI/180,d=Math.cos(u),f=Math.sin(u),p=o.originX,m=o.originY,h=(e,t)=>{let n=e-p,r=t-m;return[p+n*d-r*f,m+n*f+r*d]},g=e;for(let e of n){let n=e.codePointAt(0),i=Xy[n]??Xy[63];if(i){for(let e of i.d)for(let n=1;n<e.length;n++){let i=g+e[n-1][0]*r*l,o=t-r*.75+e[n-1][1]*r,c=g+e[n][0]*r*l,u=t-r*.75+e[n][1]*r,[d,f]=h(i,o),[p,m]=h(c,u);this.drawLine(d,f,p,m,a,s)}g+=i.w*r*l}}}setPixel(e,t,n){if(e<0||t<0||e>=this.width||t>=this.height)return;let r=(t*this.width+e)*4,i=n[3]/255,a=1-i;this.data[r]=Math.round(n[0]*i+this.data[r]*a),this.data[r+1]=Math.round(n[1]*i+this.data[r+1]*a),this.data[r+2]=Math.round(n[2]*i+this.data[r+2]*a),this.data[r+3]=Math.round(n[3]+this.data[r+3]*a)}},sw=18,cw=10,lw=10,uw=16,dw=6,fw=8,pw=Vx,mw=2097152}));function gw(e,t){let n=e.objects?.[t];if(!n)throw new Tm(`resolveTopologyObject: topology.objects['${t}'] not found (available: ${Object.keys(e.objects??{}).join(`, `)||`<none>`}).`);if(!Array.isArray(e.arcs))throw new Tm(`resolveTopologyObject: topology.arcs is missing or not an array; cannot decode geometry.`);let r=e.transform?.scale,i=e.transform?.translate,a=e=>Array.isArray(e)&&e.length===2&&Number.isFinite(e[0])&&Number.isFinite(e[1]),o=a(r)?r:void 0,s=a(i)?i:void 0,c=new Map,l=t=>{let n=t<0,r=n?~t:t,i=c.get(r);if(!i){let t=e.arcs[r];if(!t)return[];i=vw(t,o,s),c.set(r,i)}return n?i.slice().reverse():i.slice()},u=n.type===`GeometryCollection`?n.geometries:[n],d=[];for(let e of u){let t=[];switch(e.type){case`Polygon`:for(let n of e.arcs)t.push(_w(n,l));break;case`MultiPolygon`:for(let n of e.arcs)for(let e of n)t.push(_w(e,l));break;case`LineString`:t.push(_w(e.arcs,l));break;case`MultiLineString`:for(let n of e.arcs)t.push(_w(n,l));break;case`Point`:if(o&&s){let[n,r]=e.coordinates;Number.isFinite(n)&&Number.isFinite(r)&&t.push([[n*o[0]+s[0],r*o[1]+s[1]]])}else t.push([e.coordinates]);break;case`MultiPoint`:if(o&&s){let n=[];for(let[t,r]of e.coordinates)Number.isFinite(t)&&Number.isFinite(r)&&n.push([t*o[0]+s[0],r*o[1]+s[1]]);n.length>0&&t.push(n)}else for(let n of e.coordinates)t.push([n])}d.push({id:e.id,properties:`properties`in e&&e.properties?e.properties:void 0,geometry:e,rings:t})}return d}function _w(e,t){let n=[];for(let r of e){let e=t(r);if(e.length!==0){if(n.length===0)n.push(...e);else for(let t=1;t<e.length;t++)n.push(e[t])}}return n}function vw(e,t,n){if(!t||!n)return e.filter(e=>Array.isArray(e)&&Number.isFinite(e[0])&&Number.isFinite(e[1])).map(([e,t])=>[e,t]);let r=[],i=0,a=0;for(let o of e){if(!Array.isArray(o)||!Number.isFinite(o[0])||!Number.isFinite(o[1]))return[];let[e,s]=o;i+=e,a+=s,r.push([i*t[0]+n[0],a*t[1]+n[1]])}return r}var yw=n((()=>{Dm()}));function bw(e,t){let n=t;for(let t of e){let e=Math.abs(t);Number.isFinite(e)&&e>n&&(n=e)}return n}function xw(e,t={}){let n=t.width??640,r=t.height??360,i=t.title??LT(e.chartSpace.chart.title),a=i?i.split(/\r?\n/).length:0,o=NT(n,r,!!i,a),s=t.backgroundColor??`#fff`,c=e.chartSpace.chart.plotArea.plotAreaRegion?.series??e.chartSpace.chart.plotArea.series??[],l=[];if(l.push(`<svg xmlns="http://www.w3.org/2000/svg" width="${n}" height="${r}" viewBox="0 0 ${n} ${r}">`),s!==`transparent`&&l.push(`<rect width="100%" height="100%" fill="${ln(s)}"/>`),i){let e=i.split(/\r?\n/);if(e.length===1)l.push(`<text x="${J(n/2)}" y="26" text-anchor="middle" font-family="Arial" font-size="18" fill="#222">${ov(i)}</text>`);else{let t=e.map((e,t)=>`<tspan x="${J(n/2)}"${t===0?``:` dy="1.2em"`}>${ov(e)}</tspan>`).join(``);l.push(`<text x="${J(n/2)}" y="26" text-anchor="middle" font-family="Arial" font-size="18" fill="#222">${t}</text>`)}}for(let n=0;n<c.length;n++)Uw(l,e,c[n],o,n,t);return e.chartSpace.chart.legend&&jT(l,c,n,r,!!i,e.chartSpace.chart.legend.legendPos),l.push(`</svg>`),l.join(``)}async function Sw(e,t={}){let n=t.width??640,r=t.height??360;return Bb(xw(e,{...t,width:n,height:r}),{width:n,height:r,scale:t.scale,dpi:t.dpi})}function Cw(e){let t=e.chartSpace.chart.plotArea,n=t.plotAreaRegion?.series??t.series??[];if(n.length===0)return!1;let r=new Set(zT);return n.every(e=>r.has(e.layoutId))}function ww(e,t,n,r={}){let i=t.chartSpace.chart.plotArea,a=i.plotAreaRegion?.series??i.series??[],o=r.title??LT(t.chartSpace.chart.title),s=o?o.split(/\r?\n/).length:0,c=o?Math.max(28,20+s*19.2):0,l={x:12,y:c+12,width:Math.max(10,n.width-24),height:Math.max(10,n.height-c-24)},u=e=>n.y+n.height-e,d={drawRect(t){return e.drawRect({...t,x:n.x+t.x,y:u(t.y+t.height),width:t.width,height:t.height}),d},drawLine(t){return e.drawLine({...t,x1:n.x+t.x1,y1:u(t.y1),x2:n.x+t.x2,y2:u(t.y2)}),d},drawText(t,r){return e.drawText(t,{...r,x:n.x+r.x,y:u(r.y)}),d},drawCircle:e.drawCircle?t=>(e.drawCircle({...t,cx:n.x+t.cx,cy:u(t.cy)}),d):void 0,drawPath:e.drawPath?(t,r)=>{let i=t.map(e=>e.op===`close`?e:e.op===`curve`?{...e,x1:n.x+e.x1,y1:u(e.y1),x2:n.x+e.x2,y2:u(e.y2),x3:n.x+e.x3,y3:u(e.y3)}:{...e,x:n.x+e.x,y:u(e.y)});return e.drawPath(i,r),d}:void 0};if(e.drawRect({x:n.x,y:n.y,width:n.width,height:n.height,fill:{r:1,g:1,b:1},stroke:{r:.85,g:.85,b:.85}}),o){let e=o.split(/\r?\n/);for(let t=0;t<e.length;t++)d.drawText(e[t],{x:n.width/2,y:20+t*19,fontSize:16,anchor:`middle`,color:Y(`#222222`)})}for(let e of a)if(e.layoutId===`treemap`)Tw(d,t,e,l);else if(e.layoutId===`sunburst`)Ew(d,t,e,l);else if(e.layoutId===`funnel`)Mw(d,t,e,l);else if(e.layoutId===`waterfall`)jw(d,t,e,l);else if(e.layoutId===`boxWhisker`)Nw(d,t,e,l);else if(e.layoutId===`regionMap`)Pw(d,t,e,l,r.regionMap);else if(e.layoutId===`clusteredColumn`)e.layoutPr?.paretoLine?Aw(d,t,e,l,{drawColumns:!0}):kw(d,t,e,l);else if(e.layoutId===`paretoLine`)Aw(d,t,e,l,{drawColumns:!1});else throw Error(`drawChartExPdf: layoutId '${e.layoutId}' is not supported by the vector path. Gate on canRenderChartExAsVectorPdf(model) before calling.`);return e}function Tw(e,t,n,r){let i=Ww(t,n),a=i.values,o=i.categories.length>0?i.categories:a.map((e,t)=>String(t+1)),s=ET(i.hierarchy,o,a);for(let t of tT(s,r))e.drawRect({x:t.rect.x,y:t.rect.y,width:t.rect.width,height:t.rect.height,fill:Y(t.color),stroke:{r:1,g:1,b:1}}),t.label&&e.drawText(t.label,{x:t.rect.x+4,y:t.rect.y+14,fontSize:10,color:{r:1,g:1,b:1},anchor:`start`})}function Ew(e,t,n,r){let i=Ww(t,n),a=i.values,o=i.categories.length>0?i.categories:a.map((e,t)=>String(t+1)),s=ET(i.hierarchy,o,a);if(!e.drawPath){e.drawRect({x:r.x,y:r.y,width:r.width,height:r.height,stroke:{r:.7,g:.7,b:.7}});return}for(let t of nT(s,r)){let n=Vw(t);n.length!==0&&e.drawPath(n,{fill:Y(t.color),stroke:{r:1,g:1,b:1}})}}function Dw(e,t,n){let r=Y(`#D9D9D9`),i=Y(`#444444`),a=Y(`#555555`);for(let i=1;i<5;i++){let o=i/5,s=t.y+t.height*o;e.drawLine({x1:t.x,y1:s,x2:t.x+t.width,y2:s,color:r});let c=n.max+(n.min-n.max)*o;e.drawText(av(c),{x:t.x-8,y:s+3,fontSize:10,color:a,anchor:`end`})}e.drawLine({x1:t.x,y1:t.y+t.height,x2:t.x+t.width,y2:t.y+t.height,color:i}),e.drawLine({x1:t.x,y1:t.y,x2:t.x,y2:t.y+t.height,color:i}),e.drawText(av(n.max),{x:t.x-8,y:t.y+3,fontSize:10,color:a,anchor:`end`}),e.drawText(av(n.min),{x:t.x-8,y:t.y+t.height+3,fontSize:10,color:a,anchor:`end`})}function Ow(e,t,n,r,i,a){let o=PT(t,a);Dw(e,r,o);let s=Math.max(1,t.length),c=r.width/s,l=q(0,o.min,o.max,r),u=Y(i),d=Y(`#555555`);t.forEach((t,i)=>{let a=q(t,o.min,o.max,r);e.drawRect({x:r.x+i*c+c*.18,y:Math.min(a,l),width:c*.64,height:Math.abs(l-a),fill:u}),e.drawText(n[i]??String(i+1),{x:r.x+i*c+c/2,y:r.y+r.height+18,fontSize:10,color:d,anchor:`middle`})})}function kw(e,t,n,r){let i=ST(Ww(t,n).values,n.layoutPr?.binning);Ow(e,i.map(e=>e.count),i.map(e=>e.label),r,X[0],FT(t))}function Aw(e,t,n,r,i={}){let{drawColumns:a=!0}=i,o=Ww(t,n),s=o.values,c=o.categories.length>0?o.categories:s.map((e,t)=>String(t+1)),l=s.map((e,t)=>({value:e,category:c[t]??String(t+1)})).filter(e=>Number.isFinite(e.value)).sort((e,t)=>t.value-e.value),u=l.map(e=>e.value);a&&Ow(e,u,l.map(e=>e.category),r,X[0],FT(t));let d=u.reduce((e,t)=>e+(Number.isFinite(t)?Math.max(0,t):0),0);if(d>0){let t=d,n=0,i=Math.max(1,u.length),a=r.width/i,o=u.map((e,i)=>(n+=Number.isFinite(e)?Math.max(0,e):0,{x:r.x+i*a+a/2,y:r.y+r.height-n/t*r.height})),s=Y(X[1]);for(let t=1;t<o.length;t++)e.drawLine({x1:o[t-1].x,y1:o[t-1].y,x2:o[t].x,y2:o[t].y,color:s,lineWidth:2});for(let t of o)e.drawCircle?e.drawCircle({cx:t.x,cy:t.y,r:3,fill:s}):e.drawRect({x:t.x-3,y:t.y-3,width:6,height:6,fill:s});e.drawText(`Cumulative %`,{x:r.x+r.width-4,y:r.y+12,fontSize:10,color:s,anchor:`end`})}}function jw(e,t,n,r){let i=Ww(t,n),a=i.values,o=i.categories.length>0?i.categories:a.map((e,t)=>String(t+1)),s=new Set(n.layoutPr?.subtotals?.map(e=>e.idx)??[]),c=0,l=a.map((e,t)=>{if(s.has(t)){let e=c;return{start:0,end:e,value:e,total:!0,gap:!1}}if(!Number.isFinite(e))return{start:c,end:c,value:0,total:!1,gap:!0};let n=c,r=c+e;return c=r,{start:n,end:r,value:e,total:!1,gap:!1}}),u=PT(l.flatMap(e=>[e.start,e.end]),FT(t));Dw(e,r,u);let d=Math.max(1,l.length),f=r.width/d,p=Y(`#555555`),m=Y(`#888888`),h=[];if(l.forEach((t,i)=>{let a=q(t.start,u.min,u.max,r),s=q(t.end,u.min,u.max,r),c=r.x+i*f+f*.18,l=t.gap?`#BFBFBF`:t.total?RT(n.layoutPr?.totalSpPr,X[2]):t.value>=0?RT(n.layoutPr?.increaseSpPr,`#70AD47`):RT(n.layoutPr?.decreaseSpPr,`#C00000`);e.drawRect({x:c,y:Math.min(a,s),width:f*.64,height:t.gap?0:Math.max(1,Math.abs(a-s)),fill:Y(l)}),e.drawText(o[i]??String(i+1),{x:r.x+i*f+f/2,y:r.y+r.height+18,fontSize:10,color:p,anchor:`middle`}),h.push({x:c+f*.64,y:s})}),n.layoutPr?.connectorLines!==!1)for(let t=0;t<h.length-1;t++)e.drawLine({x1:h[t].x,y1:h[t].y,x2:h[t+1].x-f*.64,y2:h[t].y,color:m,dashPattern:[3,3]})}function Mw(e,t,n,r){let i=Ww(t,n),a=i.values,o=i.categories.length>0?i.categories:a.map((e,t)=>String(t+1)),s=bw(a,0),c=s>0?s:1,l=Math.max(1,a.length),u=r.height/l,d={r:1,g:1,b:1},f={r:1,g:1,b:1},p=new Map;if(n.dataPt)for(let e of n.dataPt)e.spPr&&p.set(e.idx,RT(e.spPr,X[e.idx%X.length]));a.forEach((t,n)=>{let i=Number.isFinite(t)?Math.abs(t):0,s=a[n+1],l=Number.isFinite(s)?Math.abs(s):i,m=i/c*r.width,h=l/c*r.width,g=r.y+n*u,_=r.x+r.width/2,v=Y(p.get(n)??X[n%X.length]);if(e.drawPath)e.drawPath([{op:`move`,x:_-m/2,y:g},{op:`line`,x:_+m/2,y:g},{op:`line`,x:_+h/2,y:g+u*.88},{op:`line`,x:_-h/2,y:g+u*.88},{op:`close`}],{fill:v,stroke:f});else{e.drawRect({x:_-Math.max(m,h)/2,y:g,width:Math.max(m,h),height:u*.88,fill:v});let t=g+u*.88;e.drawLine({x1:_-m/2,y1:g,x2:_+m/2,y2:g,color:f}),e.drawLine({x1:_+m/2,y1:g,x2:_+h/2,y2:t,color:f}),e.drawLine({x1:_+h/2,y1:t,x2:_-h/2,y2:t,color:f}),e.drawLine({x1:_-h/2,y1:t,x2:_-m/2,y2:g,color:f})}e.drawText(o[n]??String(n+1),{x:_,y:g+u*.55,fontSize:11,color:d,anchor:`middle`})})}function Nw(e,t,n,r){let i=Ww(t,n),a=i.values,o=i.categories.length>0?i.categories:a.map((e,t)=>String(t+1)),s=o.length>0?CT(a,o):new Map([[`Values`,a]]),c=PT(Array.from(s.values()).flat(),FT(t));Dw(e,r,c);let l=Array.from(s.keys()),u=r.width/Math.max(1,l.length),d=Y(`#555555`),f=Y(`#333333`),p=Y(`#333333`),m=Y(`#333333`),h=Y(`#555555`);l.forEach((t,i)=>{let a=wT(s.get(t)??[],n.layoutPr?.quartileMethod??`exclusive`),o=r.x+i*u+u/2,l=u*.38,g=q(a.q1,c.min,c.max,r),_=q(a.q3,c.min,c.max,r),v=q(a.median,c.min,c.max,r),y=q(a.low,c.min,c.max,r),b=q(a.high,c.min,c.max,r),x=X[i%X.length],S=Y(x);if(e.drawLine({x1:o,y1:b,x2:o,y2:y,color:d}),e.drawRect({x:o-l/2,y:Math.min(g,_),width:l,height:Math.abs(_-g),fill:{...S,a:.35},stroke:S}),e.drawLine({x1:o-l/2,y1:v,x2:o+l/2,y2:v,color:f}),n.layoutPr?.showMeanMarker!==!1){let t=q(a.mean,c.min,c.max,r);e.drawCircle?e.drawCircle({cx:o,cy:t,r:3,fill:m}):e.drawRect({x:o-3,y:t-3,width:6,height:6,fill:m})}if(n.layoutPr?.showMeanLine){let t=q(a.mean,c.min,c.max,r);e.drawLine({x1:o-l/2,y1:t,x2:o+l/2,y2:t,color:m,dashPattern:[3,2]})}if(n.layoutPr?.showInnerPoints){let t={...S,a:.55};for(let n of a.nonOutliers){let i=q(n,c.min,c.max,r);e.drawCircle?e.drawCircle({cx:o-l*.62,cy:i,r:1.6,fill:t}):e.drawRect({x:o-l*.62-1.6,y:i-1.6,width:3.2,height:3.2,fill:t})}}if(n.layoutPr?.showOutlierPoints!==!1)for(let t of a.outliers){let n=q(t,c.min,c.max,r);e.drawCircle?e.drawCircle({cx:o+l*.62,cy:n,r:2,stroke:p}):e.drawRect({x:o+l*.62-2,y:n-2,width:4,height:4,stroke:p})}e.drawText(t,{x:o,y:r.y+r.height+18,fontSize:10,color:h,anchor:`middle`})})}function Pw(e,t,n,r,i){let a=Ww(t,n),o=a.values,s=a.categories.length>0?a.categories:o.map((e,t)=>String(t+1)),c=PT(o,FT(t));if(i?.topology&&Fw(e,o,s,n,r,c,i))return;let l=o.map((e,t)=>({value:e,label:s[t]??String(t+1),coord:fT(s[t]??String(t+1))})),u=l.filter(e=>!!e.coord);if(u.length===0){zw(e,l,c,r);return}e.drawRect({x:r.x,y:r.y,width:r.width,height:r.height,fill:Y(`#F7FBFF`),stroke:Y(`#C7DFF2`)}),Rw(e,r);let d=n.layoutPr?.regionLabels??`bestFit`,f={r:1,g:1,b:1},p=Y(`#1F3B53`);for(let t of u){let i=hT(t.coord,n.layoutPr?.projection??`miller`,r);if(!Number.isFinite(t.value))continue;let a=(t.value-c.min)/Math.max(1e-9,c.max-c.min),o=Math.max(0,Math.min(1,a)),s=6+Math.sqrt(o)*14,l={...Y(dv(`#D9EAF7`,`#2F75B5`,o)),a:.92};e.drawCircle?e.drawCircle({cx:i.x,cy:i.y,r:s,fill:l,stroke:f}):e.drawRect({x:i.x-s,y:i.y-s,width:s*2,height:s*2,fill:l,stroke:f}),(d===`showAll`||d===`bestFit`&&s>=9)&&e.drawText(t.label,{x:i.x,y:i.y+3,fontSize:9,color:p,anchor:`middle`})}let m=l.filter(e=>!e.coord);if(m.length>0){let t=Math.min(52,r.height*.25);zw(e,m,c,{x:r.x+8,y:r.y+r.height-t-8,width:r.width-16,height:t})}}function Fw(e,t,n,r,i,a,o){let s;try{s=gw(o.topology,o.objectName)}catch{return!1}if(s.length===0)return!1;let c=(()=>{let e=o.match??`id`;return Array.isArray(e)?e.length>0?e:[`id`]:[e]})(),l=e=>{let t=[];for(let n of c){let r=n.startsWith(`property:`)?e.properties?.[n.slice(9)]:e.id;r!=null&&t.push(String(r).trim().toLowerCase())}return t},u=new Map;if(n.forEach((e,n)=>{let r=dT(e);r&&u.set(r,t[n])}),u.size===0)return!1;let d=o.projection??r.layoutPr?.projection??`miller`,f=cT(s,d);if(!f)return!1;let p=new Map,m=0;for(let e of s){let t=l(e),n;for(let e of t){let t=u.get(e);if(t!==void 0){n={key:e,value:t},m+=1;break}}p.set(e,n)}if(m===0)return!1;e.drawRect({x:i.x,y:i.y,width:i.width,height:i.height,fill:Y(`#F7FBFF`),stroke:Y(`#C7DFF2`)});let h=Y(o.strokeColor??`#FFFFFF`);for(let t of s){let n=p.get(t),r=Y(n?(()=>{let e=(n.value-a.min)/Math.max(1e-9,a.max-a.min);return dv(`#D9EAF7`,`#2F75B5`,Math.max(0,Math.min(1,e)))})():`#E9EEF3`),o=Iw(t.rings,d,i,f);o.length!==0&&(e.drawPath?e.drawPath(o,{fill:r,stroke:h}):Lw(e,o,h))}let g=new Map;n.forEach(e=>{let t=dT(e);t&&g.set(t,e)});let _=r.layoutPr?.regionLabels??`bestFit`,v=Y(`#1F3B53`);if(_===`showAll`||_===`bestFit`)for(let t of s){let n=p.get(t);if(!n||t.rings.length===0)continue;let r=uT(t.rings[0]);if(!r)continue;let a=oT(r[0],r[1],d,i,f),o=g.get(n.key)??(typeof t.id==`string`?t.id:String(t.id??``));e.drawText(o,{x:a.x,y:a.y+3,fontSize:9,color:v,anchor:`middle`})}return!0}function Iw(e,t,n,r){let i=[];for(let a of e){if(a.length<2)continue;let e=a.map(([e,i])=>oT(e,i,t,n,r));i.push({op:`move`,x:e[0].x,y:e[0].y});for(let t=1;t<e.length;t++)i.push({op:`line`,x:e[t].x,y:e[t].y});i.push({op:`close`})}return i}function Lw(e,t,n){let r,i;for(let a of t)a.op===`move`?(r={x:a.x,y:a.y},i=r):a.op===`line`&&i?(e.drawLine({x1:i.x,y1:i.y,x2:a.x,y2:a.y,color:n}),i={x:a.x,y:a.y}):a.op===`close`&&i&&r&&(e.drawLine({x1:i.x,y1:i.y,x2:r.x,y2:r.y,color:n}),i=r)}function Rw(e,t){let n=Y(`#E5F0FA`);for(let r=1;r<4;r++){let i=t.x+t.width*r/4;e.drawLine({x1:i,y1:t.y+8,x2:i,y2:t.y+t.height-8,color:n})}for(let r=1;r<3;r++){let i=t.y+t.height*r/3;e.drawLine({x1:t.x+8,y1:i,x2:t.x+t.width-8,y2:i,color:n})}}function zw(e,t,n,r){let i=Math.max(1,t.length),a=Math.ceil(Math.sqrt(i)),o=Math.ceil(i/a),s=r.width/a,c=r.height/o,l=Math.min(s,c)*.38,u={r:1,g:1,b:1},d=Y(`#1F3B53`);t.forEach((t,i)=>{if(!Number.isFinite(t.value))return;let o=r.x+i%a*s+s/2,f=r.y+Math.floor(i/a)*c+c/2,p=Y(dv(`#D9EAF7`,`#2F75B5`,tv((t.value-n.min)/Math.max(1e-9,n.max-n.min)))),m=Bw(o,f,l);e.drawPath?e.drawPath(m,{fill:p,stroke:u}):e.drawRect({x:o-l,y:f-l,width:l*2,height:l*2,fill:p,stroke:u}),s>34&&c>22&&e.drawText(t.label,{x:o,y:f+3,fontSize:9,color:d,anchor:`middle`})})}function Bw(e,t,n){let r=[];for(let i=0;i<6;i++){let a=Math.PI/6+Math.PI*2*i/6,o=e+Math.cos(a)*n,s=t+Math.sin(a)*n;r.push(i===0?{op:`move`,x:o,y:s}:{op:`line`,x:o,y:s})}return r.push({op:`close`}),r}function Vw(e){let t=[],n=rv(e.cx,e.cy,e.outer,e.start);t.push({op:`move`,x:n.x,y:n.y}),Hw(t,e.cx,e.cy,e.outer,e.start,e.end);let r=rv(e.cx,e.cy,e.inner,e.end);return t.push({op:`line`,x:r.x,y:r.y}),Hw(t,e.cx,e.cy,e.inner,e.end,e.start),t.push({op:`close`}),t}function Hw(e,t,n,r,i,a){if(r<=0)return;let o=a-i;if(o===0)return;let s=Math.max(1,Math.ceil(Math.abs(o)/(Math.PI/2))),c=o/s,l=i;for(let i=0;i<s;i++){let i=l+c,a=4/3*Math.tan(c/4),o=rv(t,n,r,l),s={x:o.x-a*r*Math.sin(l),y:o.y+a*r*Math.cos(l)},u=rv(t,n,r,i),d={x:u.x+a*r*Math.sin(i),y:u.y-a*r*Math.cos(i)};e.push({op:`curve`,x1:s.x,y1:s.y,x2:d.x,y2:d.y,x3:u.x,y3:u.y}),l=i}}function Uw(e,t,n,r,i,a={}){let o=Ww(t,n),s=o.values,c=o.categories.length>0?o.categories:s.map((e,t)=>String(t+1)),l=FT(t);switch(n.layoutId){case`funnel`:Zw(e,s,c,n,r);return;case`waterfall`:Xw(e,s,c,n,r,l);return;case`clusteredColumn`:n.layoutPr?.paretoLine?Yw(e,s,c,n,r,l,{drawColumns:!0}):Jw(e,s,n,r,l);return;case`paretoLine`:Yw(e,s,c,n,r,l,{drawColumns:!1});return;case`boxWhisker`:Qw(e,s,c,n,r,l);return;case`treemap`:$w(e,ET(o.hierarchy,c,s),r);return;case`sunburst`:eT(e,ET(o.hierarchy,c,s),r);return;case`regionMap`:iT(e,s,c,n,r,a.regionMap,l);return;default:qw(e,s,c,r,X[i%X.length],l)}}function Ww(e,t){let n=new Map(e.chartSpace.chartData.data.map(e=>[e.id,e])),r=(t.dataRefs??[]).map(e=>e.dataId===void 0?void 0:n.get(e.dataId)).filter(e=>!!e),i=()=>{let e=r.find(e=>e.numDim&&(e.numDim.type===`val`||e.numDim.type===`y`));if(e)return Kw(e);let t=r.find(e=>e.numDim?.type===`size`);if(t)return Kw(t);let n=r.find(e=>e.numDim);return n?Kw(n):[]},a=()=>{let e=r.find(e=>e.strDim?.type===`cat`);if(e)return Gw(e);let t=r.find(e=>e.strDim);return t?Gw(t):[]},o=r.find(e=>e.strDim?.type===`cat`)??r.find(e=>e.strDim),s=r.filter(e=>e.strDim&&e!==o).map(e=>Gw(e));return{values:i(),categories:a(),hierarchy:s}}function Gw(e){let t=(e.strDim?.levels??[])[0];if(!t)return[];let n=t.ptCount??t.points.length,r=Math.min(Math.max(t.points.length,n),2097152),i=Array.from({length:r},(e,t)=>String(t+1));for(let e of t.points)e.index>=0&&e.index<r&&(i[e.index]=e.value);return i}function Kw(e){let t=(e.numDim?.levels??[])[0];if(!t)return[];let n=t.ptCount??t.points.length,r=Math.min(Math.max(t.points.length,n),2097152),i=Array.from({length:r},()=>NaN);for(let e of t.points)e.index>=0&&e.index<r&&(i[e.index]=e.value);return i}function qw(e,t,n,r,i,a){let o=PT(t,a);AT(e,r,o);let s=Math.max(1,t.length),c=r.width/s,l=q(0,o.min,o.max,r);t.forEach((t,a)=>{let s=q(t,o.min,o.max,r);e.push(`<rect x="${J(r.x+a*c+c*.18)}" y="${J(Math.min(s,l))}" width="${J(c*.64)}" height="${J(Math.abs(l-s))}" fill="${i}"/>`),e.push(IT(r.x+a*c+c/2,r.y+r.height+18,n[a]??String(a+1),10,`#555`,`middle`))})}function Jw(e,t,n,r,i){let a=ST(t,n.layoutPr?.binning);qw(e,a.map(e=>e.count),a.map(e=>e.label),r,X[0],i)}function Yw(e,t,n,r,i,a,o={}){let{drawColumns:s=!0}=o,c=t.map((e,t)=>({value:e,category:n[t]??String(t+1)})).filter(e=>Number.isFinite(e.value)).sort((e,t)=>t.value-e.value),l=c.map(e=>e.value);s&&qw(e,l,c.map(e=>e.category),i,X[0],a);let u=l.reduce((e,t)=>e+(Number.isFinite(t)?Math.max(0,t):0),0);if(u>0){let t=u,n=0,r=Math.max(1,l.length),a=i.width/r,o=l.map(e=>(n+=Number.isFinite(e)?Math.max(0,e):0,{y:i.y+i.height-n/t*i.height})).map((e,t)=>({x:i.x+t*a+a/2,y:e.y}));e.push(`<polyline points="${o.map(e=>`${J(e.x)},${J(e.y)}`).join(` `)}" fill="none" stroke="${X[1]}" stroke-width="2"/>`);for(let t of o)e.push(`<circle cx="${J(t.x)}" cy="${J(t.y)}" r="3" fill="${X[1]}"/>`);e.push(IT(i.x+i.width-4,i.y+12,`Cumulative %`,10,X[1],`end`))}}function Xw(e,t,n,r,i,a){let o=new Set(r.layoutPr?.subtotals?.map(e=>e.idx)??[]),s=0,c=t.map((e,t)=>{if(o.has(t)){let e=s;return{start:0,end:e,value:e,total:!0,gap:!1}}if(!Number.isFinite(e))return{start:s,end:s,value:0,total:!1,gap:!0};let n=s,r=s+e;return s=r,{start:n,end:r,value:e,total:!1,gap:!1}}),l=PT(c.flatMap(e=>[e.start,e.end]),a);AT(e,i,l);let u=Math.max(1,c.length),d=i.width/u,f=[];if(c.forEach((t,a)=>{let o=q(t.start,l.min,l.max,i),s=q(t.end,l.min,l.max,i),c=i.x+a*d+d*.18,u=t.gap?`#BFBFBF`:t.total?RT(r.layoutPr?.totalSpPr,X[2]):t.value>=0?RT(r.layoutPr?.increaseSpPr,`#70AD47`):RT(r.layoutPr?.decreaseSpPr,`#C00000`),p=t.gap?0:Math.max(1,Math.abs(o-s));e.push(`<rect x="${J(c)}" y="${J(Math.min(o,s))}" width="${J(d*.64)}" height="${J(p)}" fill="${u}"/>`),e.push(IT(i.x+a*d+d/2,i.y+i.height+18,n[a]??String(a+1),10,`#555`,`middle`)),f.push({x:c+d*.64,y:s})}),r.layoutPr?.connectorLines!==!1)for(let t=0;t<f.length-1;t++)e.push(`<line x1="${J(f[t].x)}" y1="${J(f[t].y)}" x2="${J(f[t+1].x-d*.64)}" y2="${J(f[t].y)}" stroke="#888" stroke-dasharray="3 3"/>`)}function Zw(e,t,n,r,i){let a=bw(t,0),o=a>0?a:1,s=Math.max(1,t.length),c=i.height/s,l=new Map;if(r.dataPt)for(let e of r.dataPt)e.spPr&&l.set(e.idx,RT(e.spPr,X[e.idx%X.length]));t.forEach((r,a)=>{let s=Number.isFinite(r)?Math.abs(r):0,u=t[a+1],d=Number.isFinite(u)?Math.abs(u):s,f=s/o*i.width,p=d/o*i.width,m=i.y+a*c,h=i.x+i.width/2,g=l.get(a)??X[a%X.length];e.push(`<polygon points="${J(h-f/2)},${J(m)} ${J(h+f/2)},${J(m)} ${J(h+p/2)},${J(m+c*.88)} ${J(h-p/2)},${J(m+c*.88)}" fill="${g}" stroke="#fff"/>`),e.push(IT(h,m+c*.55,n[a]??String(a+1),11,`#fff`,`middle`))})}function Qw(e,t,n,r,i,a){let o=n.length>0?CT(t,n):new Map([[`Values`,t]]),s=PT(Array.from(o.values()).flat(),a);AT(e,i,s);let c=Array.from(o.keys()),l=i.width/Math.max(1,c.length);c.forEach((t,n)=>{let a=wT(o.get(t)??[],r.layoutPr?.quartileMethod??`exclusive`),c=i.x+n*l+l/2,u=l*.38,d=q(a.q1,s.min,s.max,i),f=q(a.q3,s.min,s.max,i),p=q(a.median,s.min,s.max,i),m=q(a.low,s.min,s.max,i),h=q(a.high,s.min,s.max,i);if(e.push(`<line x1="${J(c)}" y1="${J(h)}" x2="${J(c)}" y2="${J(m)}" stroke="#555"/>`),e.push(`<rect x="${J(c-u/2)}" y="${J(Math.min(d,f))}" width="${J(u)}" height="${J(Math.abs(f-d))}" fill="${uv(X[n%X.length],.35)}" stroke="${X[n%X.length]}"/>`),e.push(`<line x1="${J(c-u/2)}" y1="${J(p)}" x2="${J(c+u/2)}" y2="${J(p)}" stroke="#333"/>`),r.layoutPr?.showMeanMarker!==!1&&e.push(`<circle cx="${J(c)}" cy="${J(q(a.mean,s.min,s.max,i))}" r="3" fill="#333"/>`),r.layoutPr?.showMeanLine){let t=q(a.mean,s.min,s.max,i);e.push(`<line x1="${J(c-u/2)}" y1="${J(t)}" x2="${J(c+u/2)}" y2="${J(t)}" stroke="#333" stroke-dasharray="3 2"/>`)}if(r.layoutPr?.showInnerPoints)for(let t of a.nonOutliers)e.push(`<circle cx="${J(c-u*.62)}" cy="${J(q(t,s.min,s.max,i))}" r="1.6" fill="${X[n%X.length]}" opacity="0.55"/>`);if(r.layoutPr?.showOutlierPoints!==!1)for(let t of a.outliers)e.push(`<circle cx="${J(c+u*.62)}" cy="${J(q(t,s.min,s.max,i))}" r="2" fill="none" stroke="#333"/>`);e.push(IT(c,i.y+i.height+18,t,10,`#555`,`middle`))})}function $w(e,t,n){for(let r of tT(t,n))e.push(`<rect x="${J(r.rect.x)}" y="${J(r.rect.y)}" width="${J(r.rect.width)}" height="${J(r.rect.height)}" fill="${r.color}" stroke="#fff"/>`),r.label&&e.push(IT(r.rect.x+4,r.rect.y+14,r.label,10,`#fff`,`start`))}function eT(e,t,n){for(let r of nT(t,n))e.push(OT(r.cx,r.cy,r.outer,r.inner,r.start,r.end,r.color))}function tT(e,t){return DT(e.children.length>0?e.children:[{...e,name:`Values`}],t,!0).filter(e=>e.rect.width>.5&&e.rect.height>.5).map((e,t)=>({rect:e.rect,color:X[t%X.length],label:e.rect.width>40&&e.rect.height>18?e.node.name:void 0}))}function nT(e,t){let n=[],r=t.x+t.width/2,i=t.y+t.height/2,a=Math.max(1,kT(e)-1),o=Math.min(t.width,t.height)/2.25;return rT(n,e,r,i,0,Math.PI*2,0,a,o,-1),n}function rT(e,t,n,r,i,a,o,s,c,l){let u=c/Math.max(1,s),d=l;o>0&&e.push({cx:n,cy:r,outer:u*o,inner:u*(o-1),start:i,end:a,color:X[l%X.length]});let f=t.children.reduce((e,t)=>e+Math.max(0,t.value),0)||1,p=i;for(let l=0;l<t.children.length;l++){let u=t.children[l],m=l===t.children.length-1?a:p+Math.max(0,u.value)/f*(a-i);d=rT(e,u,n,r,p,m,o+1,s,c,d+1),p=m}return d}function iT(e,t,n,r,i,a,o){let s=PT(t,o);if(a?.topology&&aT(e,t,n,r,i,s,a))return;let c=t.map((e,t)=>({value:e,label:n[t]??String(t+1),coord:fT(n[t]??String(t+1))})),l=c.filter(e=>!!e.coord);if(l.length===0){bT(e,c,s,i);return}e.push(`<rect x="${J(i.x)}" y="${J(i.y)}" width="${J(i.width)}" height="${J(i.height)}" rx="14" fill="#F7FBFF" stroke="#C7DFF2" data-region-map-mode="geographic-preview"/>`),mT(e,i);let u=r.layoutPr?.regionLabels??`bestFit`;for(let t of l){let n=hT(t.coord,r.layoutPr?.projection??`miller`,i);if(!Number.isFinite(t.value))continue;let a=(t.value-s.min)/Math.max(1e-9,s.max-s.min),o=Math.max(0,Math.min(1,a)),c=6+Math.sqrt(o)*14;e.push(`<circle cx="${J(n.x)}" cy="${J(n.y)}" r="${J(c)}" fill="${dv(`#D9EAF7`,`#2F75B5`,o)}" stroke="#fff" stroke-width="1.5" opacity="0.92"/>`),(u===`showAll`||u===`bestFit`&&c>=9)&&e.push(IT(n.x,n.y+3,t.label,9,`#1F3B53`,`middle`))}let d=c.filter(e=>!e.coord);if(d.length>0){let t=Math.min(52,i.height*.25);bT(e,d,s,{x:i.x+8,y:i.y+i.height-t-8,width:i.width-16,height:t},`unmatched`)}}function aT(e,t,n,r,i,a,o){let s;try{s=gw(o.topology,o.objectName)}catch{return!1}if(s.length===0)return!1;let c=(()=>{let e=o.match??`id`;return Array.isArray(e)?e.length>0?e:[`id`]:[e]})(),l=e=>{let t=[];for(let n of c){let r=n.startsWith(`property:`)?e.properties?.[n.slice(9)]:e.id;r!=null&&t.push(String(r).trim().toLowerCase())}return t},u=new Map;if(n.forEach((e,n)=>{let r=dT(e);r&&u.set(r,t[n])}),u.size===0)return!1;let d=o.projection??r.layoutPr?.projection??`miller`,f=cT(s,d);if(!f)return!1;let p=[];p.push(`<rect x="${J(i.x)}" y="${J(i.y)}" width="${J(i.width)}" height="${J(i.height)}" rx="14" fill="#F7FBFF" stroke="#C7DFF2" data-region-map-mode="topojson"/>`);let m=new Map;for(let e of s){let t=l(e),n;for(let e of t){let t=u.get(e);if(t!==void 0){n={key:e,value:t};break}}m.set(e,n)}let h=o.strokeColor??`#FFFFFF`,g=0;for(let e of s){let t=m.get(e),n=t?(()=>{g++;let e=(t.value-a.min)/Math.max(1e-9,a.max-a.min);return dv(`#D9EAF7`,`#2F75B5`,Math.max(0,Math.min(1,e)))})():`#E9EEF3`,r=lT(e.rings,d,i,f);r&&p.push(`<path d="${r}" fill="${n}" stroke="${ln(h)}" stroke-width="0.5" stroke-linejoin="round"/>`)}if(g===0)return!1;let _=new Map;n.forEach(e=>{let t=dT(e);t&&_.set(t,e)});let v=r.layoutPr?.regionLabels??`bestFit`;if(v===`showAll`||v===`bestFit`)for(let e of s){let t=m.get(e);if(!t||e.rings.length===0)continue;let n=uT(e.rings[0]);if(!n)continue;let r=oT(n[0],n[1],d,i,f),a=_.get(t.key)??(typeof e.id==`string`?e.id:String(e.id??``));p.push(IT(r.x,r.y+3,a,9,`#1F3B53`,`middle`))}for(let t of p)e.push(t);return!0}function oT(e,t,n,r,i){let a=sT(e,t,n),o=i.maxX===i.minX?.5:(a.x-i.minX)/(i.maxX-i.minX),s=i.maxY===i.minY?.5:(a.y-i.minY)/(i.maxY-i.minY);return{x:r.x+14+o*Math.max(1,r.width-28),y:r.y+14+s*Math.max(1,r.height-28)}}function sT(e,t,n){let r=Math.max(-180,Math.min(180,e)),i=n===`mercator`||n===`miller`?Math.max(-HT,Math.min(HT,t)):Math.max(-90,Math.min(90,t));switch(n){case`mercator`:{let e=i*Math.PI/180;return{x:r/360,y:-Math.log(Math.tan(Math.PI/4+e/2))/(2*Math.PI)}}case`miller`:{let e=i*Math.PI/180;return{x:r/360,y:-(1.25*Math.log(Math.tan(Math.PI/4+.4*e)))/(2*Math.PI)}}case`albers`:{let{rawX:e,rawY:t}=gT(r,i);return{x:e,y:t}}case`robinson`:{let{nx:e,ny:t}=yT(r,i);return{x:e-.5,y:t-.5}}default:return{x:r/360,y:-i/180}}}function cT(e,t){let n=1/0,r=-1/0,i=1/0,a=-1/0;for(let o of e)for(let e of o.rings)for(let[o,s]of e){let{x:e,y:c}=sT(o,s,t);e<n&&(n=e),e>r&&(r=e),c<i&&(i=c),c>a&&(a=c)}if(!(!Number.isFinite(n)||!Number.isFinite(r)))return{minX:n,maxX:r,minY:i,maxY:a}}function lT(e,t,n,r){let i=[];for(let a of e){if(a.length<2)continue;let e=a.map(([e,i])=>oT(e,i,t,n,r));i.push(`M${J(e[0].x)} ${J(e[0].y)}`);for(let t=1;t<e.length;t++)i.push(`L${J(e[t].x)} ${J(e[t].y)}`);i.push(`Z`)}return i.length>0?i.join(``):void 0}function uT(e){let t=e.length;if(t===0)return;if(t<3){let n=0,r=0;for(let[t,i]of e)n+=t,r+=i;return[n/t,r/t]}let n=0,r=0,i=0;for(let a=0;a<t;a++){let[o,s]=e[a],[c,l]=e[(a+1)%t],u=o*l-c*s;n+=u,r+=(o+c)*u,i+=(s+l)*u}if(n*=.5,!Number.isFinite(n)||Math.abs(n)<1e-12){let n=0,r=0;for(let[t,i]of e)n+=t,r+=i;return[n/t,r/t]}let a=1/(6*n);return[r*a,i*a]}function dT(e){return e.trim().toLowerCase()}function fT(e){return VT.get(pT(e))}function pT(e){return e.trim().toLowerCase().replace(/\b(the|republic of)\b/g,``).replace(/[^a-z0-9]+/g,` `).trim()}function mT(e,t){for(let n=1;n<4;n++){let r=t.x+t.width*n/4;e.push(`<line x1="${J(r)}" y1="${J(t.y+8)}" x2="${J(r)}" y2="${J(t.y+t.height-8)}" stroke="#E5F0FA"/>`)}for(let n=1;n<3;n++){let r=t.y+t.height*n/3;e.push(`<line x1="${J(t.x+8)}" y1="${J(r)}" x2="${J(t.x+t.width-8)}" y2="${J(r)}" stroke="#E5F0FA"/>`)}}function hT(e,t,n){let r=Math.max(-180,Math.min(180,e.lon)),i=t===`mercator`||t===`miller`?Math.max(-85,Math.min(HT,e.lat)):Math.max(-90,Math.min(90,e.lat)),a,o;if(t===`mercator`){a=(r+180)/360;let e=i*Math.PI/180;o=.5-Math.log(Math.tan(Math.PI/4+e/2))/(2*Math.PI)}else if(t===`miller`){a=(r+180)/360;let e=i*Math.PI/180;o=.5-1.25*Math.log(Math.tan(Math.PI/4+.4*e))/(2*Math.PI)}else t===`albers`?{nx:a,ny:o}=_T(r,i):t===`robinson`?{nx:a,ny:o}=yT(r,i):(a=(r+180)/360,o=.5-i/180);return{x:n.x+14+tv(a)*Math.max(1,n.width-28),y:n.y+14+tv(o)*Math.max(1,n.height-28)}}function gT(e,t){let n=t*Math.PI/180,r=e*Math.PI/180,i=Math.sqrt(Math.max(0,KT-2*GT*Math.sin(n)))/GT,a=GT*r;return{rawX:i*Math.sin(a),rawY:qT-i*Math.cos(a)}}function _T(e,t){let{rawX:n,rawY:r}=gT(e,t),{minX:i,maxX:a,minY:o,maxY:s}=JT;return{nx:(n-i)/(a-i),ny:1-(r-o)/(s-o)}}function vT(e){let t=Math.min(YT.length-1,e/5),n=Math.floor(t),r=Math.min(YT.length-1,n+1),i=t-n;return{plen:YT[n]+(YT[r]-YT[n])*i,pdfe:XT[n]+(XT[r]-XT[n])*i}}function yT(e,t){let{plen:n,pdfe:r}=vT(Math.abs(t)),i=t>=0?-1:1;return{nx:.5+e/180*n*.5,ny:.5+i*r*.5072*.5}}function bT(e,t,n,r,i=`tile-fallback`){let a=Math.max(1,t.length),o=Math.ceil(Math.sqrt(a)),s=Math.ceil(a/o),c=r.width/o,l=r.height/s,u=Math.min(c,l)*.38;t.forEach((t,a)=>{if(!Number.isFinite(t.value))return;let s=r.x+a%o*c+c/2,d=r.y+Math.floor(a/o)*l+l/2,f=tv((t.value-n.min)/Math.max(1e-9,n.max-n.min)),p=xT(s,d,u);e.push(`<polygon points="${p}" fill="${dv(`#D9EAF7`,`#2F75B5`,f)}" stroke="#fff" data-region-map-mode="${i}"/>`),c>34&&l>22&&e.push(IT(s,d+3,t.label,9,`#1F3B53`,`middle`))})}function xT(e,t,n){return Array.from({length:6},(r,i)=>{let a=Math.PI/6+Math.PI*2*i/6;return`${J(e+Math.cos(a)*n)},${J(t+Math.sin(a)*n)}`}).join(` `)}function ST(e,t){let n=e.filter(e=>Number.isFinite(e));if(n.length===0)return[];let r=n.slice().sort((e,t)=>e-t),i=r[0],a=r[r.length-1];if(t?.binType===`categories`){let e=new Map;for(let t of n){let n=String(t);e.set(n,(e.get(n)??0)+1)}return Array.from(e,([e,t])=>({label:e,count:t}))}let o=t?.binCount??(t?.binType===`binCount`?10:Math.ceil(Math.sqrt(n.length))),s=a-i,c=t?.binSize??(s>0?s/Math.max(1,o):1);if(!(c>0)||!Number.isFinite(c))throw new Tm(`Histogram bin size must be a positive finite number; got ${c}.`);let l=t?.underflow??i,u=t?.overflow??a,d=[];t?.underflow!==void 0&&d.push({low:-1/0,high:t.underflow,label:`<=${av(t.underflow)}`,count:0});let f=1e3,p=Math.ceil((u-l)/c);if(p>f)throw new Tm(`Histogram would produce ${p} bins with binSize=${c} over [${l}, ${u}]; the renderer caps at ${f}. Widen the bin size or narrow the data range.`);let m=u-l,h=Math.max(1,Math.round((m+2**-52*8*m)/c));for(let e=0;e<h;e++){let t=l+e*c,n=e===h-1?u:l+(e+1)*c;d.push({low:t,high:n,label:`${av(t)}-${av(n)}`,count:0})}t?.overflow!==void 0&&d.push({low:t.overflow,high:1/0,label:`>${av(t.overflow)}`,count:0}),d.length===0&&d.push({low:l,high:l+c,label:`${av(l)}-${av(l+c)}`,count:0});let g=t?.intervalClosed===`l`,_=t?.underflow===void 0?0:1,v=d.length-(t?.overflow===void 0?1:2);for(let e of n){let t=d.find((t,n)=>{let r=g||n===_?e>=t.low:e>t.low,i=g?n===v?e<=t.high:e<t.high:e<=t.high;return r&&i})??d[d.length-1];t.count++}return d.map(({label:e,count:t})=>({label:e,count:t}))}function CT(e,t){let n=new Map;return e.forEach((e,r)=>{let i=t[r]??`Values`,a=n.get(i)??[];a.push(e),n.set(i,a)}),n}function wT(e,t){let n=e.slice().filter(Number.isFinite).sort((e,t)=>e-t),r=n.length>0?n:[0],i=TT(r,.25,t),a=TT(r,.5,t),o=TT(r,.75,t),s=o-i,c=i-1.5*s,l=o+1.5*s,u=r.filter(e=>e>=c&&e<=l),d=r.filter(e=>e<c||e>l),f=u.length?u:r;return{q1:i,median:a,q3:o,low:f.reduce((e,t)=>t<e?t:e,f[0]),high:f.reduce((e,t)=>t>e?t:e,f[0]),mean:r.reduce((e,t)=>e+t,0)/r.length,outliers:d,nonOutliers:u}}function TT(e,t,n){if(e.length===0)return NaN;if(e.length===1)return e[0];let r=n===`inclusive`?1+(e.length-1)*t:(e.length+1)*t,i=Math.max(1,Math.min(e.length,r)),a=Math.max(1,Math.floor(i)),o=Math.min(e.length,Math.ceil(i)),s=i-a;return e[a-1]+(e[o-1]-e[a-1])*s}function ET(e,t,n){let r={name:`root`,value:0,children:[]};return n.forEach((n,i)=>{let a=r,o=[...e.map(e=>e[i]).filter(e=>e!=null),t[i]??String(i+1)],s=Number.isFinite(n)&&n>0?n:0;for(let e of o){let t=a.children.find(t=>t.name===e);t||(t={name:e,value:0,children:[]},a.children.push(t)),t.value+=s,a=t}r.value+=s}),r}function DT(e,t,n){let r=e.reduce((e,t)=>e+Math.max(0,t.value),0)||1,i=0,a=[];for(let o of e){let e=Math.max(0,o.value)/r,s=n?{x:t.x+i,y:t.y,width:t.width*e,height:t.height}:{x:t.x,y:t.y+i,width:t.width,height:t.height*e};if(a.push({node:o,rect:s}),o.children.length>0&&s.width>18&&s.height>18){let e=DT(o.children,iv(s,4),!n);for(let t of e)a.push(t)}i+=n?s.width:s.height}return a}function OT(e,t,n,r,i,a,o){let s=a-i;if(s>=Math.PI*2-1e-9)return`<path d="M ${J(e-n)} ${J(t)} A ${J(n)} ${J(n)} 0 1 1 ${J(e+n)} ${J(t)} A ${J(n)} ${J(n)} 0 1 1 ${J(e-n)} ${J(t)} M ${J(e-r)} ${J(t)} A ${J(r)} ${J(r)} 0 1 0 ${J(e+r)} ${J(t)} A ${J(r)} ${J(r)} 0 1 0 ${J(e-r)} ${J(t)} Z" fill="${o}" fill-rule="evenodd" stroke="#fff"/>`;let c=+(s>Math.PI),l=rv(e,t,n,i),u=rv(e,t,n,a),d=rv(e,t,r,a),f=rv(e,t,r,i);return`<path d="M ${J(l.x)} ${J(l.y)} A ${J(n)} ${J(n)} 0 ${c} 1 ${J(u.x)} ${J(u.y)} L ${J(d.x)} ${J(d.y)} A ${J(r)} ${J(r)} 0 ${c} 0 ${J(f.x)} ${J(f.y)} Z" fill="${o}" stroke="#fff"/>`}function kT(e){let t=0;for(let n of e.children){let e=kT(n);e>t&&(t=e)}return 1+t}function AT(e,t,n){for(let r=1;r<5;r++){let i=r/5,a=t.y+t.height*i;e.push(`<line x1="${J(t.x)}" y1="${J(a)}" x2="${J(t.x+t.width)}" y2="${J(a)}" stroke="#D9D9D9"/>`);let o=n.max+(n.min-n.max)*i;e.push(IT(t.x-8,a+3,av(o),10,`#555`,`end`))}e.push(`<line x1="${J(t.x)}" y1="${J(t.y+t.height)}" x2="${J(t.x+t.width)}" y2="${J(t.y+t.height)}" stroke="#444"/>`),e.push(`<line x1="${J(t.x)}" y1="${J(t.y)}" x2="${J(t.x)}" y2="${J(t.y+t.height)}" stroke="#444"/>`),e.push(IT(t.x-8,q(n.max,n.min,n.max,t)+3,av(n.max),10,`#555`,`end`)),e.push(IT(t.x-8,q(n.min,n.min,n.max,t)+3,av(n.min),10,`#555`,`end`))}function jT(e,t,n,r,i,a){let o=a??`r`,s=e=>18+Math.max(28,e.length*6)+14,c=t.map((e,t)=>MT(e)??`Series ${t+1}`);if(o===`b`||o===`t`){let a=c.reduce((e,t)=>e+s(t),0)-14,l=Math.max(6,(n-a)/2),u=o===`b`?r-22:i?44:10,d=l;t.forEach((t,n)=>{let r=c[n],i=s(r);e.push(`<rect x="${J(d)}" y="${J(u)}" width="10" height="10" fill="${X[n%X.length]}"/>`),e.push(IT(d+10+8,u+10-1,r,10,`#555`,`start`)),d+=i});return}if(o===`l`){t.forEach((t,n)=>{let r=(i?44:20)+n*18;e.push(`<rect x="${J(8)}" y="${J(r)}" width="10" height="10" fill="${X[n%X.length]}"/>`),e.push(IT(22,r+9,c[n],10,`#555`,`start`))});return}let l=o===`tr`?i?44:16:i?44:20;t.forEach((t,r)=>{let i=l+r*18;e.push(`<rect x="${J(n-116)}" y="${J(i)}" width="10" height="10" fill="${X[r%X.length]}"/>`),e.push(IT(n-102,i+9,c[r],10,`#555`,`start`))})}function MT(e){let t=e.tx;if(t){if(t.rich)return t.rich.paragraphs.map(e=>(e.runs??[]).map(e=>e.text).join(``)).join(`
|
|
61
|
+
`);if(t.value!==void 0)return t.value;if(t.strRef)return typeof t.strRef==`object`?t.strRef.cached??t.strRef.formula:t.strRef}}function NT(e,t,n,r=1){let i=Math.max(0,r-1),a=n?52+i*22:24;return{x:58,y:a,width:Math.max(10,e-58-128),height:Math.max(10,t-a-46)}}function PT(e,t){let n=t?.valScaling?.min,r=t?.valScaling?.max,i=typeof n==`number`&&Number.isFinite(n),a=typeof r==`number`&&Number.isFinite(r),o=e.filter(Number.isFinite);if(o.length===0){let e=i?n:0,t=a?r:1;return t>e?{min:e,max:t}:{min:e,max:e+1}}let s=o[0],c=o[0];for(let e=1;e<o.length;e++){let t=o[e];t<s&&(s=t),t>c&&(c=t)}let l,u;s>=0?(l=0,u=Math.max(c,s+1)):c<0?(l=s,u=0):(l=s,u=Math.max(1,c));let d=i?n:l,f=a?r:u;return f<=d?i&&a||i?{min:d,max:d+1}:a?{min:f-1,max:f}:{min:d,max:d+1}:{min:d,max:f}}function FT(e){let t=e.chartSpace.chart.plotArea.axis;if(!(!t||t.length===0))return t.find(e=>e.type===`val`)}function IT(e,t,n,r,i,a){return`<text x="${J(e)}" y="${J(t)}" text-anchor="${ln(a)}" font-family="Arial" font-size="${r}" fill="${ln(i)}">${ov(n)}</text>`}function LT(e){if(!e)return;let t=e.text?.paragraphs.map(e=>(e.runs??[]).map(e=>e.text).join(``)).join(`
|
|
62
|
+
`);if(t)return t;let n=e.strRef?.cache?.points?.[0]?.value;if(typeof n==`string`&&n.length>0)return n}function RT(e,t){return mv(e?Wv(e):void 0,t)}var zT,BT,VT,HT,UT,WT,GT,KT,qT,JT,YT,XT,ZT=n((()=>{hw(),yw(),xv(),$v(),Dm(),zT=[`sunburst`,`treemap`,`funnel`,`waterfall`,`boxWhisker`,`clusteredColumn`,`paretoLine`,`regionMap`],BT={afghanistan:{lon:66,lat:34},albania:{lon:20,lat:41},algeria:{lon:3,lat:28},angola:{lon:17,lat:-12},argentina:{lon:-64,lat:-34},armenia:{lon:45,lat:40},australia:{lon:134,lat:-25},austria:{lon:14,lat:47},azerbaijan:{lon:47,lat:40},bahamas:{lon:-78,lat:24},bahrain:{lon:50,lat:26},bangladesh:{lon:90,lat:24},belarus:{lon:28,lat:53},belgium:{lon:4,lat:50},belize:{lon:-88,lat:17},benin:{lon:2,lat:9},bhutan:{lon:90,lat:27},bolivia:{lon:-64,lat:-16},"bosnia and herzegovina":{lon:18,lat:44},botswana:{lon:24,lat:-22},brazil:{lon:-52,lat:-10},brunei:{lon:114,lat:4},bulgaria:{lon:25,lat:43},"burkina faso":{lon:-2,lat:12},burundi:{lon:30,lat:-3},cambodia:{lon:105,lat:13},cameroon:{lon:12,lat:5},canada:{lon:-106,lat:56},"central african republic":{lon:21,lat:7},chad:{lon:19,lat:15},chile:{lon:-71,lat:-30},china:{lon:104,lat:35},colombia:{lon:-72,lat:4},"costa rica":{lon:-84,lat:10},croatia:{lon:16,lat:45},cuba:{lon:-78,lat:22},cyprus:{lon:33,lat:35},"czech republic":{lon:15,lat:50},czechia:{lon:15,lat:50},"democratic republic of the congo":{lon:23,lat:-2},denmark:{lon:10,lat:56},djibouti:{lon:43,lat:12},"dominican republic":{lon:-70,lat:19},ecuador:{lon:-79,lat:-2},egypt:{lon:30,lat:26},"el salvador":{lon:-89,lat:14},"equatorial guinea":{lon:10,lat:2},eritrea:{lon:39,lat:15},estonia:{lon:26,lat:59},ethiopia:{lon:40,lat:9},fiji:{lon:178,lat:-18},finland:{lon:26,lat:64},france:{lon:2,lat:46},gabon:{lon:11,lat:-1},gambia:{lon:-15,lat:13},georgia:{lon:43,lat:42},germany:{lon:10,lat:51},ghana:{lon:-2,lat:8},greece:{lon:22,lat:39},greenland:{lon:-42,lat:72},guatemala:{lon:-90,lat:15},guinea:{lon:-10,lat:11},"guinea-bissau":{lon:-15,lat:12},guyana:{lon:-58,lat:5},haiti:{lon:-72,lat:19},honduras:{lon:-86,lat:15},"hong kong":{lon:114,lat:22},hungary:{lon:20,lat:47},iceland:{lon:-19,lat:65},india:{lon:78,lat:22},indonesia:{lon:118,lat:-2},iran:{lon:53,lat:32},iraq:{lon:44,lat:33},ireland:{lon:-8,lat:53},israel:{lon:35,lat:31},italy:{lon:12,lat:43},"ivory coast":{lon:-5,lat:7},"côte d’ivoire":{lon:-5,lat:7},jamaica:{lon:-77,lat:18},japan:{lon:138,lat:37},jordan:{lon:36,lat:31},kazakhstan:{lon:68,lat:48},kenya:{lon:38,lat:0},kuwait:{lon:47,lat:29},kyrgyzstan:{lon:75,lat:41},laos:{lon:104,lat:18},latvia:{lon:25,lat:56},lebanon:{lon:36,lat:33},lesotho:{lon:28,lat:-29},liberia:{lon:-9,lat:6},libya:{lon:17,lat:27},liechtenstein:{lon:9,lat:47},lithuania:{lon:24,lat:56},luxembourg:{lon:6,lat:49},macedonia:{lon:21,lat:41},"north macedonia":{lon:21,lat:41},madagascar:{lon:47,lat:-20},malawi:{lon:34,lat:-13},malaysia:{lon:102,lat:4},mali:{lon:-4,lat:17},malta:{lon:14,lat:35},mauritania:{lon:-11,lat:20},mauritius:{lon:57,lat:-20},mexico:{lon:-102,lat:23},moldova:{lon:28,lat:47},monaco:{lon:7,lat:43},mongolia:{lon:104,lat:46},montenegro:{lon:19,lat:42},morocco:{lon:-7,lat:32},mozambique:{lon:35,lat:-18},myanmar:{lon:96,lat:21},burma:{lon:96,lat:21},namibia:{lon:18,lat:-22},nepal:{lon:84,lat:28},netherlands:{lon:5,lat:52},"new zealand":{lon:174,lat:-41},nicaragua:{lon:-85,lat:13},niger:{lon:8,lat:17},nigeria:{lon:8,lat:10},"north korea":{lon:127,lat:40},norway:{lon:10,lat:62},oman:{lon:57,lat:21},pakistan:{lon:70,lat:30},palestine:{lon:35,lat:32},panama:{lon:-80,lat:9},"papua new guinea":{lon:144,lat:-6},paraguay:{lon:-58,lat:-23},peru:{lon:-75,lat:-10},philippines:{lon:122,lat:13},poland:{lon:20,lat:52},portugal:{lon:-8,lat:40},qatar:{lon:51,lat:25},"republic of the congo":{lon:15,lat:-1},romania:{lon:25,lat:46},russia:{lon:100,lat:60},rwanda:{lon:30,lat:-2},"saudi arabia":{lon:45,lat:24},senegal:{lon:-15,lat:14},serbia:{lon:21,lat:44},"sierra leone":{lon:-12,lat:8},singapore:{lon:104,lat:1},slovakia:{lon:19,lat:49},slovenia:{lon:15,lat:46},somalia:{lon:46,lat:5},"south africa":{lon:25,lat:-29},"south korea":{lon:128,lat:36},"south sudan":{lon:30,lat:7},spain:{lon:-4,lat:40},"sri lanka":{lon:81,lat:7},sudan:{lon:30,lat:15},suriname:{lon:-56,lat:4},sweden:{lon:15,lat:62},switzerland:{lon:8,lat:47},syria:{lon:38,lat:35},taiwan:{lon:121,lat:24},tajikistan:{lon:71,lat:39},tanzania:{lon:35,lat:-6},thailand:{lon:101,lat:15},togo:{lon:1,lat:8},"trinidad and tobago":{lon:-61,lat:11},tunisia:{lon:9,lat:34},turkey:{lon:35,lat:39},turkmenistan:{lon:59,lat:40},uganda:{lon:32,lat:1},ukraine:{lon:32,lat:49},"united arab emirates":{lon:54,lat:24},uae:{lon:54,lat:24},"united kingdom":{lon:-2,lat:54},uk:{lon:-2,lat:54},britain:{lon:-2,lat:54},"great britain":{lon:-2,lat:54},"united states":{lon:-98,lat:39},"united states of america":{lon:-98,lat:39},usa:{lon:-98,lat:39},us:{lon:-98,lat:39},uruguay:{lon:-56,lat:-33},uzbekistan:{lon:64,lat:41},venezuela:{lon:-66,lat:8},vietnam:{lon:108,lat:16},yemen:{lon:48,lat:15},zambia:{lon:28,lat:-14},zimbabwe:{lon:30,lat:-19}},VT=new Map(Object.entries(BT).map(([e,t])=>[pT(e),t])),HT=85,UT=20*Math.PI/180,WT=60*Math.PI/180,GT=(Math.sin(UT)+Math.sin(WT))/2,KT=Math.cos(UT)*Math.cos(UT)+2*GT*Math.sin(UT),qT=Math.sqrt(KT)/GT,JT=(()=>{let e=1/0,t=-1/0,n=1/0,r=-1/0;for(let i=-180;i<=180;i+=10)for(let a=-84;a<=84;a+=4){let{rawX:o,rawY:s}=gT(i,a);o<e&&(e=o),o>t&&(t=o),s<n&&(n=s),s>r&&(r=s)}return{minX:e,maxX:t,minY:n,maxY:r}})(),YT=[1,.9986,.9954,.99,.9822,.973,.96,.9427,.9216,.8962,.8679,.835,.7986,.7597,.7186,.6732,.6213,.5722,.5322],XT=[0,.062,.124,.186,.248,.31,.372,.434,.4958,.5571,.6176,.6769,.7346,.7903,.8435,.8936,.9394,.9761,1]}));function QT(e,t){return{_model:e,_workbook:t}}function $T(e){return e._model.name}function eE(e){return e._model.state}function tE(e){return e._model.chartNumber?(e._workbook?B_(e._workbook,e._model.chartNumber):void 0)?.model:void 0}function nE(e){return e._model.chartExNumber?(e._workbook?V_(e._workbook,e._model.chartExNumber):void 0)?.model:void 0}function rE(e){return e._model}function iE(e){return e._model.pageMargins}function aE(e){return e._model.pageSetup}var oE=n((()=>{W_()}));function sE(e,t,n){let r=[],{width:i,height:a,padding:o}=n,s=pE(e.colorSeries)??`#376091`,c=pE(e.colorNegative)??`#D00000`,l=pE(e.colorAxis)??`#000000`,u=pE(e.colorMarkers)??s,d=pE(e.colorHigh)??u,f=pE(e.colorLow)??u,p=pE(e.colorFirst)??u,m=pE(e.colorLast)??u,h=t;if(h.length===0)return r;let{min:g,max:_}=cE(e,h,n.groupMin??dE([h]),n.groupMax??fE([h])),v=o,y=o,b=i-o*2,x=a-o*2;if(b<=0||x<=0)return r;let S=_===g?1:_-g,C=e.rightToLeft===!0,w=(e,t)=>{let n=t<=1?0:e/(t-1),r=C?1-n:n;return v+r*b},ee=e=>{if(!Number.isFinite(e))return y+x;let t=(e-g)/S;return y+x-t*x};if(e.type===`column`||e.type===`stacked`){let t=h.length,n=Math.max(1,b/Math.max(t,1)*.8),i=-1,a=-1,o=-1,l=-1,u=-1/0,v=1/0;for(let e=0;e<t;e++){let t=h[e];Number.isFinite(t)&&(i===-1&&(i=e),a=e,t>u&&(u=t,o=e),t<v&&(v=t,l=e))}for(let u=0;u<t;u++){let v=h[u];if(!Number.isFinite(v)||v===0)continue;let b=w(u,t)-n/2,S=v<0&&e.negative===!0?c:s;e.high&&u===o&&(S=d),e.low&&u===l&&(S=f),e.first&&u===i&&(S=p),e.last&&u===a&&(S=m);let C,te;if(e.type===`stacked`){let e=x/2;v>=0?(C=y+e-e,te=e):(C=y+e,te=e)}else{let e=g<=0&&_>=0?ee(0):y+x,t=ee(v);C=Math.min(e,t),te=Math.abs(e-t)}r.push({kind:`rect`,x:b,y:C,width:n,height:Math.max(te,1),color:S})}}else{let t=[];for(let e=0;e<h.length;e++){let n=h[e];Number.isFinite(n)&&t.push({x:w(e,h.length),y:ee(n),v:n})}if(t.length>=2&&r.push({kind:`polyline`,points:t.map(e=>({x:e.x,y:e.y})),color:s,width:e.lineWeight?e.lineWeight*.75:1}),e.markers)for(let e of t)r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.5,color:u});if(t.length>0){if(e.first){let e=t[0];r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:p})}if(e.last){let e=t[t.length-1];r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:m})}if(e.high){let e=t.reduce((e,t)=>t.v>e.v?t:e,t[0]);r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:d})}if(e.low){let e=t.reduce((e,t)=>t.v<e.v?t:e,t[0]);r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:f})}if(e.negative)for(let e of t)e.v<0&&r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:c})}}if(e.displayXAxis){let t;e.type===`stacked`?t=y+x/2:g<=0&&_>=0&&(t=ee(0)),t!==void 0&&r.push({kind:`axis`,x1:v,y1:t,x2:v+b,y2:t,color:l})}return r}function cE(e,t,n,r){let i,a,o=!1,s=!1;return e.minAxisType===`group`?i=n:e.minAxisType===`custom`&&e.manualMin!==void 0?(i=e.manualMin,o=!0):i=lE(t),e.maxAxisType===`group`?a=r:e.maxAxisType===`custom`&&e.manualMax!==void 0?(a=e.manualMax,s=!0):a=uE(t),!Number.isFinite(i)||!Number.isFinite(a)?{min:0,max:1}:i===a?o||s?{min:i,max:a}:{min:i-1,max:a+1}:{min:i,max:a}}function lE(e){let t=1/0;for(let n of e)Number.isFinite(n)&&n<t&&(t=n);return t}function uE(e){let t=-1/0;for(let n of e)Number.isFinite(n)&&n>t&&(t=n);return t}function dE(e){let t=1/0;for(let n of e){let e=lE(n);e<t&&(t=e)}return Number.isFinite(t)?t:NaN}function fE(e){let t=-1/0;for(let n of e){let e=uE(n);e>t&&(t=e)}return Number.isFinite(t)?t:NaN}function pE(e){if(e){if(e.rgb)return`#${e.rgb.length===8?e.rgb.slice(2):e.rgb}`;if(e.theme!==void 0){let t=xo[e.theme];return t?`#${t}`:`#000000`}}}var mE=n((()=>{Co()}));function hE(e,t){let n={worksheet:e};return t&&_E(n,t),n}function gE(e){switch(e.type){case`background`:return{type:e.type,imageId:e.imageId??``};case`watermark`:return{type:e.type,imageId:e.imageId??``,opacity:e.opacity};case`headerImage`:return{type:e.type,imageId:e.imageId??``,headerWidth:e.headerWidth,headerHeight:e.headerHeight,applyTo:e.applyTo,position:e.position};case`image`:{let t=e.range;if(!t)throw new Em(`Image has no range`);return t.pos?{type:e.type,imageId:e.imageId??``,hyperlinks:t.hyperlinks,range:{tl:{nativeCol:0,nativeColOff:0,nativeRow:0,nativeRowOff:0},ext:t.ext,pos:t.pos}}:{type:e.type,imageId:e.imageId??``,hyperlinks:t.hyperlinks,range:{tl:ly(t.tl),br:t.br?ly(t.br):void 0,ext:t.ext,editAs:t.editAs},xfrmOffX:e.xfrmOffX,xfrmOffY:e.xfrmOffY,xfrmExtCx:e.xfrmExtCx,xfrmExtCy:e.xfrmExtCy,rawSpPr:e.rawSpPr}}default:throw new Em(`Invalid Image Type`)}}function _E(e,{type:t,imageId:n,range:r,hyperlinks:i,opacity:a,headerWidth:o,headerHeight:s,applyTo:c,position:l,xfrmOffX:u,xfrmOffY:d,xfrmExtCx:f,xfrmExtCy:p,rawSpPr:m}){if(e.type=t,e.imageId=n,e.opacity=a,e.headerWidth=o,e.headerHeight=s,e.applyTo=c,e.position=l,e.xfrmOffX=u,e.xfrmOffY=d,e.xfrmExtCx=f,e.xfrmExtCy=p,e.rawSpPr=m,t===`image`){if(typeof r==`string`){let t=km.decode(r);`top`in t&&(e.range={tl:cy(e.worksheet,{col:t.left,row:t.top},-1),br:cy(e.worksheet,{col:t.right,row:t.bottom},0),editAs:`oneCell`})}else if(r&&`pos`in r&&r.pos)e.range={tl:cy(e.worksheet,null,0),ext:r.ext,hyperlinks:i||(`hyperlinks`in r?r.hyperlinks:void 0),pos:r.pos};else if(r){let t=r.tl,n=r.br;e.range={tl:cy(e.worksheet,t,typeof t==`string`?-1:0),br:n?cy(e.worksheet,n,0):void 0,ext:r.ext,editAs:r.editAs,hyperlinks:i||(`hyperlinks`in r?r.hyperlinks:void 0)}}}}var vE=n((()=>{uy(),Dm(),Am()}));function yE(e,t){let n;try{n=gE(hE(e,{type:`image`,imageId:``,range:t.range})).range}catch{n=void 0}return n?{...t,anchorRange:{tl:n.tl,br:n.br,ext:n.ext,pos:n.pos,editAs:n.editAs}}:{...t,anchorRange:void 0}}function bE(e){return e._media.filter(e=>e.type===`image`)}function xE(e){return[...e._charts]}function SE(e){return[...e._sparklineGroups]}function CE(e){return e._watermark}function wE(e){let t=ph();return e._rows.forEach(e=>{if(e){let n=x_(e);n&&vh(t,e.number,n.min,e.number,n.max)}}),t}function TE(e){return Object.values(e._merges).some(Boolean)}function EE(e){let t={id:e.id,name:D_(e),dataValidations:e.dataValidations.model,properties:e.properties,state:e.state,pageSetup:e.pageSetup,headerFooter:e.headerFooter,rowBreaks:e.rowBreaks,colBreaks:e.colBreaks,views:e.views,autoFilter:e.autoFilter,autoFilterCriteria:e._autoFilterCriteria,sortStateXml:e._sortStateXml,worksheetNamespaceAttributes:e._worksheetNamespaceAttributes,worksheetMcIgnorable:e._worksheetMcIgnorable,sortStateAutoFilterRef:e._sortStateAutoFilterRef,media:e._media.map(e=>gE(e)),shapes:e._shapes.map(t=>yE(e,t)),sheetProtection:e.sheetProtection,tables:Object.values(e.tables).map(e=>F_(e)),pivotTables:e.pivotTables,conditionalFormattings:e.conditionalFormattings,formControls:e.formControls.map(e=>e.model),ignoredErrors:e.ignoredErrors,watermark:e._watermark,drawing:e._drawing,charts:e._charts.map(e=>({chartNumber:e.chartNumber,chartExNumber:e.chartExNumber,range:{tl:{nativeCol:e.range.tl.nativeCol,nativeColOff:e.range.tl.nativeColOff,nativeRow:e.range.tl.nativeRow,nativeRowOff:e.range.tl.nativeRowOff},br:e.range.br?{nativeCol:e.range.br.nativeCol,nativeColOff:e.range.br.nativeColOff,nativeRow:e.range.br.nativeRow,nativeRowOff:e.range.br.nativeRowOff}:void 0,editAs:e.range.editAs,pos:e.range.pos,ext:e.range.ext}})),sparklineGroups:e._sparklineGroups,threadedComments:e.threadedComments};t.cols=h_(e._columns);let n=t.rows=[],r=t.dimensions=ph();return e._rows.forEach(e=>{let t=e&&T_(e);t&&(vh(r,t.number,t.min,t.number,t.max),n.push(t))}),t.mergeCells=Object.values(e._merges).map(e=>Ch(e)),t}var DE=n((()=>{__(),vE(),Dh(),E_(),R_(),P_()}));function OE(e){return e<128?eD[e]:String.fromCodePoint(e)}function kE(e){return e===LE||e===FE||e===IE||e===PE}function AE(e){return e===zE||e===HE}function jE(e){return e<128?tD[e]===1:e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e===8204||e===8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function ME(e){return e<128?nD[e]===1:e===183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=768&&e<=879||e>=880&&e<=893||e>=895&&e<=8191||e===8204||e===8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function NE(e){return e>=LE&&e<=55295||e===FE||e===IE||e===PE||e>=57344&&e<=65533||e>=65536&&e<=1114111}var PE,FE,IE,LE,RE,zE,BE,VE,HE,UE,WE,GE,KE,qE,JE,YE,XE,ZE,QE,$E,eD,tD,nD,rD,iD,aD,oD,sD,cD,lD,uD,dD,fD,pD,mD,hD,gD,_D,vD,yD,bD,xD,SD,CD,wD,TD,ED,DD,OD,kD,AD,jD=n((()=>{$_(),PE=9,FE=10,IE=13,LE=32,RE=33,zE=34,BE=35,VE=38,HE=39,UE=45,WE=47,GE=59,KE=60,qE=61,JE=62,YE=63,XE=91,ZE=93,QE=65533,$E=`�`,eD=(()=>{let e=Array(128);for(let t=0;t<128;t++)e[t]=String.fromCharCode(t);return e})(),tD=(()=>{let e=new Uint8Array(128);for(let t=97;t<=122;t++)e[t]=1;for(let t=65;t<=90;t++)e[t]=1;return e[95]=1,e[58]=1,e})(),nD=(()=>{let e=new Uint8Array(128);for(let t=97;t<=122;t++)e[t]=1;for(let t=65;t<=90;t++)e[t]=1;for(let t=48;t<=57;t++)e[t]=1;return e[95]=1,e[58]=1,e[45]=1,e[46]=1,e})(),rD={amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`},iD=0,aD=1,oD=2,sD=3,cD=4,lD=5,uD=6,dD=7,fD=8,pD=9,mD=10,hD=11,gD=12,_D=13,vD=14,yD=15,bD=16,xD=17,SD=18,CD=19,wD=20,TD=21,ED=22,DD=23,OD=24,kD=25,AD=class{constructor(e){this._entityExpansionCount=0,this._nsStack=[],this.state=iD,this.chunk=``,this.i=0,this.prevI=0,this.text=``,this.name=``,this.q=null,this.tags=[],this.tag=null,this.attribList=[],this.entity=``,this.entityReturnState=iD,this.openWakaBang=``,this.sawRoot=!1,this.closedRoot=!1,this._bomStripped=!1,this._closed=!1,this.reportedTextBeforeRoot=!1,this.reportedTextAfterRoot=!1,this.line=1,this.column=0,this.positionAtNewLine=0,this.chunkPosition=0,this.ENTITIES={...rD},this._handlers={},this.trackPosition=e?.position!==!1,this.fileName=e?.fileName,this.fragment=e?.fragment??!1,this.xmlns=e?.xmlns??!1,this.maxDepth=e?.maxDepth===void 0?256:e.maxDepth,this.maxEntityExpansions=e?.maxEntityExpansions===void 0?1e4:e.maxEntityExpansions,this.invalidCharHandling=e?.invalidCharHandling??`error`,this._init()}get closed(){return this._closed}get position(){return this.chunkPosition+this.i}_init(){this.state=iD,this.text=``,this.name=``,this.q=null,this.tags=[],this.tag=null,this.attribList=[],this.entity=``,this.openWakaBang=``,this.sawRoot=this.fragment,this.closedRoot=this.fragment,this.reportedTextBeforeRoot=this.fragment,this.reportedTextAfterRoot=this.fragment,this.carriedFromPrevious=void 0,this._bomStripped=!1,this.line=1,this.column=0,this.positionAtNewLine=0,this.chunkPosition=0,this.chunk=``,this.i=0,this.prevI=0,this._nsStack=this.xmlns?[{xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`}]:[],this._entityExpansionCount=0}on(e,t){this._handlers[e]=t}off(e){delete this._handlers[e]}getHandler(e){return this._handlers[e]}makeError(e){return new Q_(e,{line:this.trackPosition?this.line:void 0,column:this.trackPosition?this.column:void 0,fileName:this.fileName})}fail(e){let t=this.makeError(e);if(this._handlers.error)this._handlers.error(t);else throw t;return this}write(e){if(this._closed){if(e===null)return this;this._closed=!1,this._init()}let t=!1;e===null&&(t=!0,e=``),this.carriedFromPrevious!==void 0&&(e=this.carriedFromPrevious+e,this.carriedFromPrevious=void 0),this._bomStripped||(this._bomStripped=!0,e.length>0&&e.charCodeAt(0)===65279&&(e=e.slice(1)));let n=e.length;if(!t&&n>0){let t=e.charCodeAt(n-1);(t===IE||t>=55296&&t<=56319)&&(this.carriedFromPrevious=e[n-1],n--,e=e.slice(0,n))}for(this.chunk=e,this.i=0;this.i<n;)this.processState();return this.chunkPosition+=n,t?this.end():this}close(){return this.write(null)}handleInvalidChar(e,t){switch(this.invalidCharHandling){case`replace`:return QE;case`skip`:return-2;default:{let n=t?`invalid XML character: ${t} 0x${e.toString(16)}`:`invalid XML character: 0x${e.toString(16)}`;return this.fail(n),e}}}handleInvalidCharInText(e,t,n,r){switch(this.invalidCharHandling){case`skip`:return t&&n<this.prevI&&(this.text+=this.chunk.slice(n,this.prevI)),this.i;case`replace`:return t&&(n<this.prevI&&(this.text+=this.chunk.slice(n,this.prevI)),this.text+=$E),this.i;default:{let t=r?`invalid XML character: ${r} 0x${e.toString(16)}`:`invalid XML character: 0x${e.toString(16)}`;return this.fail(t),n}}}handleInvalidCharInAttr(e,t,n){switch(this.invalidCharHandling){case`skip`:return t<this.prevI&&(this.text+=this.chunk.slice(t,this.prevI)),this.i;case`replace`:return t<this.prevI&&(this.text+=this.chunk.slice(t,this.prevI)),this.text+=$E,this.i;default:{let r=n?`invalid XML character: ${n} 0x${e.toString(16)}`:`invalid XML character: 0x${e.toString(16)}`;return this.fail(r),t}}}getCode(){for(;;){let{chunk:e}=this,t=this.i;if(this.prevI=t,this.i=t+1,t>=e.length)return-1;let n=e.charCodeAt(t);if(n>=32&&n<=126||n===PE)return this.trackPosition&&this.column++,n;if(n===IE)return e.charCodeAt(t+1)===FE&&(this.i=t+2),this.trackPosition&&(this.line++,this.column=0,this.positionAtNewLine=this.position),FE;if(n===FE)return this.trackPosition&&(this.line++,this.column=0,this.positionAtNewLine=this.position),FE;if(n>=55296&&n<=56319){let r=e.charCodeAt(t+1);if(r>=56320&&r<=57343)return this.i=t+2,this.trackPosition&&this.column++,65536+((n-55296)*1024+(r-56320));let i=this.handleInvalidChar(n,`lone surrogate`);if(i!==-2)return i;continue}if(n>=56320&&n<=57343){let e=this.handleInvalidChar(n,`lone surrogate`);if(e!==-2)return e;continue}if(n>=128){if(this.trackPosition&&this.column++,n===65534||n===65535){let e=this.handleInvalidChar(n);if(e!==-2)return e;continue}return n}this.trackPosition&&this.column++;let r=this.handleInvalidChar(n);if(r!==-2)return r}}unget(){this.i=this.prevI,this.trackPosition&&this.column--}processState(){switch(this.state){case iD:this.sText();break;case aD:this.sOpenWaka();break;case oD:this.sOpenWakaBang();break;case sD:this.sOpenTag();break;case cD:this.sOpenTagSlash();break;case lD:this.sAttrib();break;case uD:this.sAttribName();break;case dD:this.sAttribNameSawWhite();break;case fD:this.sAttribValue();break;case pD:this.sAttribValueQuoted();break;case mD:this.sAttribValueClosed();break;case hD:this.sCloseTag();break;case gD:this.sCloseTagSawWhite();break;case _D:this.sComment();break;case vD:this.sCommentEnding();break;case yD:this.sCommentEnded();break;case bD:this.sCData();break;case xD:this.sCDataEnding();break;case SD:this.sCDataEnding2();break;case CD:this.sPI();break;case wD:this.sPIEnding();break;case TD:this.sDoctype();break;case ED:this.sDoctypeQuote();break;case DD:this.sDoctypeDTD();break;case OD:this.sDoctypeDTDQuoted();break;case kD:this.sEntity()}}sText(){this.tags.length===0?this.handleTextOutsideRoot():this.handleTextInRoot()}handleTextInRoot(){let{chunk:e}=this,{i:t}=this,n=this._handlers.text,r=e.length;for(;this.i<r;){let r=e.charCodeAt(this.i);if(r>=32&&r<=126&&r!==KE&&r!==VE){this.i++,this.trackPosition&&this.column++;continue}if(r===PE){this.i++,this.trackPosition&&this.column++;continue}if(r===KE){if(this.prevI=this.i,this.i++,this.trackPosition&&this.column++,n){let r=e.slice(t,this.prevI);this.text.length>0?(n(this.text+r),this.text=``):r.length>0&&n(r)}this.state=aD;return}if(r===VE){this.prevI=this.i,this.i++,this.trackPosition&&this.column++,n&&(this.text+=e.slice(t,this.prevI)),this.state=kD,this.entityReturnState=iD,this.entity=``;return}if(r===FE){this.prevI=this.i,this.i++,this.trackPosition&&(this.line++,this.column=0,this.positionAtNewLine=this.position),n&&(this.text+=e.slice(t,this.prevI)+`
|
|
63
|
+
`),t=this.i;continue}if(r===IE){this.prevI=this.i,this.i++,e.charCodeAt(this.i)===FE&&this.i++,this.trackPosition&&(this.line++,this.column=0,this.positionAtNewLine=this.position),n&&(this.text+=e.slice(t,this.prevI)+`
|
|
64
|
+
`),t=this.i;continue}if(r>=128){if(this.prevI=this.i,r>=55296&&r<=56319){let i=e.charCodeAt(this.i+1);i>=56320&&i<=57343?this.i+=2:(this.i++,t=this.handleInvalidCharInText(r,n,t,`lone surrogate`))}else r>=56320&&r<=57343?(this.i++,t=this.handleInvalidCharInText(r,n,t,`lone surrogate`)):r===65534||r===65535?(this.i++,t=this.handleInvalidCharInText(r,n,t)):this.i++;this.trackPosition&&this.column++;continue}this.prevI=this.i,this.i++,this.trackPosition&&this.column++,t=this.handleInvalidCharInText(r,n,t)}n&&t<this.i&&(this.text+=e.slice(t,this.i))}handleTextOutsideRoot(){let{chunk:e}=this,{i:t}=this,n=this._handlers.text,r=!1,i=this.invalidCharHandling===`skip`,a=this.invalidCharHandling===`replace`;for(;;){let o=this.i,s=this.getCode();if(s===-1){n&&t<o&&(this.text+=e.slice(t,o));break}if(i&&this.prevI>o&&(n&&t<o&&(this.text+=e.slice(t,o)),t=this.prevI),a&&s===QE&&e.charCodeAt(this.prevI)!==QE){n&&(t<this.prevI&&(this.text+=e.slice(t,this.prevI)),this.text+=$E),t=this.i,r=!0;continue}if(s===KE){if(n){let r=e.slice(t,this.prevI);this.text.length>0?(n(this.text+r),this.text=``):r.length>0&&n(r)}this.state=aD;break}if(s===VE){n&&(this.text+=e.slice(t,this.prevI)),this.state=kD,this.entityReturnState=iD,this.entity=``,r=!0;break}s===FE?(n&&(this.text+=e.slice(t,this.prevI)+`
|
|
65
|
+
`),t=this.i):kE(s)||(r=!0)}r&&(!this.sawRoot&&!this.reportedTextBeforeRoot&&(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0))}sOpenWaka(){let e=this.getCode();if(e!==-1){if(jE(e)){this.closedRoot&&!this.fragment&&this.fail(`documents may contain only one root element`),this.state=sD,this.name=OE(e);return}switch(e){case WE:this.state=hD,this.name=``;break;case RE:this.state=oD,this.openWakaBang=``;break;case YE:this.state=CD,this.text=``;break;default:this.fail(`unexpected character in tag`),this.state=iD}}}sOpenWakaBang(){let e=this.getCode();if(e!==-1)switch(this.openWakaBang+=OE(e),this.openWakaBang){case`[CDATA[`:this.state=bD,this.text=``,this.openWakaBang=``;break;case`--`:this.state=_D,this.text=``,this.openWakaBang=``;break;case`DOCTYPE`:this.state=TD,this.text=``,this.openWakaBang=``;break;default:this.openWakaBang.length>=7&&(this.fail(`incorrect syntax`),this.state=iD)}}sOpenTag(){let{chunk:e}=this,t=this.i,n=this.i;for(;n<e.length;){let t=e.charCodeAt(n);if(t<128?nD[t]===1:ME(t))n++;else break}if(n>=e.length){this.name+=e.slice(t,n),this.i=n,this.trackPosition&&(this.column+=n-t);return}this.name+=e.slice(t,n),this.i=n,this.trackPosition&&(this.column+=n-t);let r=this.getCode();r!==-1&&(this.tag={name:this.name,attributes:Object.create(null),isSelfClosing:!1},this.attribList=[],this.sawRoot=!0,r===JE?this.openTag():r===WE?this.state=cD:(kE(r)||this.fail(`unexpected character in tag`),this.state=lD))}sOpenTagSlash(){let e=this.getCode();e!==-1&&(e===JE?this.openSelfClosingTag():(this.fail(`expected >`),this.state=lD))}sAttrib(){let e=this.skipSpaces();e!==-1&&(jE(e)?(this.name=OE(e),this.state=uD):e===JE?this.openTag():e===WE?this.state=cD:this.fail(`unexpected character in attribute`))}sAttribName(){let{chunk:e}=this,t=this.i,n=this.i;for(;n<e.length;){let t=e.charCodeAt(n);if(t<128?nD[t]===1:ME(t))n++;else break}if(n>=e.length){this.name+=e.slice(t,n),this.i=n,this.trackPosition&&(this.column+=n-t);return}this.name+=e.slice(t,n),this.i=n,this.trackPosition&&(this.column+=n-t);let r=this.getCode();r!==-1&&(r===qE?this.state=fD:kE(r)?this.state=dD:r===JE?(this.fail(`attribute without value`),this.attribList.push({name:this.name,value:this.name}),this.name=``,this.openTag()):this.fail(`unexpected character in attribute name`))}sAttribNameSawWhite(){let e=this.skipSpaces();e!==-1&&(e===qE?this.state=fD:(this.fail(`attribute without value`),this.name=``,this.text=``,e===JE?this.openTag():jE(e)?(this.name=OE(e),this.state=uD):(this.fail(`unexpected character`),this.state=lD)))}sAttribValue(){let e=this.skipSpaces();e!==-1&&(AE(e)?(this.q=e,this.text=``,this.state=pD):(this.fail(`unquoted attribute value`),this.state=iD))}sAttribValueQuoted(){let{q:e,chunk:t}=this,{i:n}=this,r=t.length;for(;this.i<r;){let r=t.charCodeAt(this.i);if(r>=32&&r<=126&&r!==e&&r!==VE&&r!==KE){this.i++,this.trackPosition&&this.column++;continue}if(r===e){this.prevI=this.i,this.i++,this.trackPosition&&this.column++,this.attribList.push({name:this.name,value:this.text+t.slice(n,this.prevI)}),this.name=``,this.text=``,this.q=null,this.state=mD;return}if(r===VE){this.prevI=this.i,this.i++,this.trackPosition&&this.column++,this.text+=t.slice(n,this.prevI),this.state=kD,this.entityReturnState=pD,this.entity=``;return}if(r===KE){this.prevI=this.i,this.i++,this.trackPosition&&this.column++,this.text+=t.slice(n,this.prevI),this.fail(`< not allowed in attribute value`),this.attribList.push({name:this.name,value:this.text}),this.name=``,this.text=``,this.q=null,this.unget(),this.state=iD;return}if(r===PE||r===FE){this.prevI=this.i,this.i++,r===FE&&this.trackPosition?(this.line++,this.column=0,this.positionAtNewLine=this.position):this.trackPosition&&this.column++,this.text+=t.slice(n,this.prevI)+` `,n=this.i;continue}if(r===IE){this.prevI=this.i,this.i++,t.charCodeAt(this.i)===FE&&this.i++,this.trackPosition&&(this.line++,this.column=0,this.positionAtNewLine=this.position),this.text+=t.slice(n,this.prevI)+` `,n=this.i;continue}if(r>=128){if(this.prevI=this.i,r>=55296&&r<=56319){let e=t.charCodeAt(this.i+1);e>=56320&&e<=57343?this.i+=2:(this.i++,n=this.handleInvalidCharInAttr(r,n,`lone surrogate`))}else r>=56320&&r<=57343?(this.i++,n=this.handleInvalidCharInAttr(r,n,`lone surrogate`)):r===65534||r===65535?(this.i++,n=this.handleInvalidCharInAttr(r,n)):this.i++;this.trackPosition&&this.column++;continue}this.prevI=this.i,this.i++,this.trackPosition&&this.column++,n=this.handleInvalidCharInAttr(r,n)}this.text+=t.slice(n,this.i)}sAttribValueClosed(){let e=this.getCode();e!==-1&&(kE(e)?this.state=lD:e===JE?this.openTag():e===WE?this.state=cD:jE(e)?(this.fail(`no whitespace between attributes`),this.name=OE(e),this.state=uD):this.fail(`unexpected character after attribute`))}sCloseTag(){let{chunk:e}=this,t=this.i;if(this.name===``){if(t>=e.length){let e=this.getCode();if(e===-1)return;jE(e)?this.name=OE(e):this.fail(`unexpected character in close tag`);return}let n=e.charCodeAt(t);if(n<128?tD[n]!==1:!jE(n)){this.i=t,this.getCode()!==-1&&this.fail(`unexpected character in close tag`);return}this.name=e[t],t++,this.trackPosition&&this.column++}let n=t;for(;t<e.length;){let n=e.charCodeAt(t);if(n<128?nD[n]===1:ME(n))t++;else break}if(t>n&&(this.name+=e.slice(n,t)),this.trackPosition&&(this.column+=t-n),t>=e.length){this.i=t;return}this.i=t;let r=this.getCode();r!==-1&&(r===JE?this.closeTag():kE(r)?this.state=gD:this.fail(`unexpected character in close tag`))}sCloseTagSawWhite(){let e=this.skipSpaces();e!==-1&&(e===JE?this.closeTag():this.fail(`unexpected character in close tag`))}sComment(){let e=this.getCode();e!==-1&&(e===UE?this.state=vD:this.text+=OE(e))}sCommentEnding(){let e=this.getCode();e!==-1&&(e===UE?this.state=yD:(this.text+=`-`+OE(e),this.state=_D))}sCommentEnded(){let e=this.getCode();e!==-1&&(e===JE?(this._handlers.comment?.(this.text),this.text=``,this.state=iD):e===UE?this.text+=`-`:(this.fail(`malformed comment`),this.text+=`--`+OE(e),this.state=_D))}sCData(){let e=this.getCode();e!==-1&&(e===ZE?this.state=xD:this.text+=OE(e))}sCDataEnding(){let e=this.getCode();e!==-1&&(e===ZE?this.state=SD:(this.text+=`]`+OE(e),this.state=bD))}sCDataEnding2(){let e=this.getCode();e!==-1&&(e===JE?(this._handlers.cdata?this._handlers.cdata(this.text):this._handlers.text&&this.text.length>0&&this._handlers.text(this.text),this.text=``,this.state=iD):e===ZE?this.text+=`]`:(this.text+=`]]`+OE(e),this.state=bD))}sPI(){let e=this.getCode();e!==-1&&(e===YE?this.state=wD:this.text+=OE(e))}sPIEnding(){let e=this.getCode();if(e!==-1){if(e===JE){let e=this.text,t=e.indexOf(` `);t>=0?this._handlers.pi?.(e.slice(0,t),e.slice(t+1)):this._handlers.pi?.(e,``),this.text=``,this.state=iD}else e===YE?this.text+=`?`:(this.text+=`?`+OE(e),this.state=CD)}}sDoctype(){let e=this.getCode();e!==-1&&(e===JE?(this.text=``,this.state=iD):AE(e)?(this.q=e,this.state=ED):e===XE?this.state=DD:this.text+=OE(e))}sDoctypeQuote(){let e=this.getCode();e!==-1&&(e===this.q?(this.q=null,this.state=TD):this.text+=OE(e))}sDoctypeDTD(){let e=this.getCode();e!==-1&&(e===ZE?this.state=TD:AE(e)&&(this.q=e,this.state=OD))}sDoctypeDTDQuoted(){let e=this.getCode();e!==-1&&e===this.q&&(this.q=null,this.state=DD)}sEntity(){let e=this.getCode();if(e!==-1){if(e===GE){let e=this.entity,t;e===``?(this.fail(`empty entity`),t=`&;`):t=this.parseEntity(e),this.text+=t,this.state=this.entityReturnState,this.entity=``}else ME(e)||e===BE?(this.entity+=OE(e),this.entity.length>64&&(this.fail(`entity name too long`),this.text+=`&`+this.entity,this.state=this.entityReturnState,this.entity=``)):(this.fail(`invalid entity character`),this.text+=`&`+this.entity+OE(e),this.state=this.entityReturnState,this.entity=``)}}parseEntity(e){if(e[0]!==`#`){let t=this.ENTITIES[e];return t===void 0?(this.fail(`undefined entity: `+e),`&`+e+`;`):this.maxEntityExpansions>0&&e!==`lt`&&e!==`gt`&&e!==`amp`&&e!==`quot`&&e!==`apos`&&(this._entityExpansionCount++,this._entityExpansionCount>this.maxEntityExpansions)?(this.fail(`entity expansion limit (${this.maxEntityExpansions}) exceeded — possible XML bomb`),``):t}let t;return t=e[1]===`x`||e[1]===`X`?parseInt(e.slice(2),16):parseInt(e.slice(1),10),isNaN(t)||t<1||t>=55296&&t<=57343||t>1114111?(this.fail(`invalid character entity: &#`+e.slice(1)+`;`),``):NE(t)?String.fromCodePoint(t):(this.fail(`invalid character entity`),``)}skipSpaces(){for(;;){let e=this.getCode();if(e===-1||!kE(e))return e}}splitQName(e){let t=e.indexOf(`:`);return t<0?[``,e]:[e.slice(0,t),e.slice(t+1)]}resolveNs(e){for(let t=this._nsStack.length-1;t>=0;t--){let n=this._nsStack[t][e];if(n!==void 0)return n}return``}applyNamespaces(e){let t=`http://www.w3.org/XML/1998/namespace`,n=`http://www.w3.org/2000/xmlns/`,r={},i=e.attributes;for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){if(e===`xmlns`)r[``]=i[e];else if(e.startsWith(`xmlns:`)){let a=e.slice(6),o=i[e];a===`xmlns`?this.fail(`the "xmlns" prefix must not be declared`):a===`xml`&&o!==t?this.fail(`the "xml" prefix must be bound to "${t}"`):o===t&&a!==`xml`?this.fail(`namespace "${t}" must only be bound to the "xml" prefix`):o===n&&this.fail(`namespace "${n}" must not be bound to any prefix`),r[a]=o}}this._nsStack.push(r),Object.keys(r).length>0&&(e.ns=r);let[a,o]=this.splitQName(e.name);o.includes(`:`)&&this.fail(`invalid QName "${e.name}": local part must not contain ":"`),e.prefix=a,e.local=o,e.uri=this.resolveNs(a),a!==``&&e.uri===``&&this.fail(`unbound namespace prefix: "${a}"`);let s=new Set;for(let e in i){if(!Object.prototype.hasOwnProperty.call(i,e)||e===`xmlns`||e.startsWith(`xmlns:`))continue;let[t,n]=this.splitQName(e);if(n.includes(`:`)&&this.fail(`invalid attribute QName "${e}": local part must not contain ":"`),t!==``){let e=this.resolveNs(t);e===``&&this.fail(`unbound namespace prefix on attribute: "${t}"`);let r=e+`\0`+n;s.has(r)&&this.fail(`duplicate attribute by expanded name: {${e}}${n}`),s.add(r)}}}openTag(){let e=this.tag;e.isSelfClosing=!1;for(let{name:t,value:n}of this.attribList)t in e.attributes&&this.fail(`duplicate attribute: ${t}`),e.attributes[t]=n;this.attribList=[],this.xmlns&&this.applyNamespaces(e),this.maxDepth>0&&this.tags.length>=this.maxDepth&&this.fail(`maximum element nesting depth (${this.maxDepth}) exceeded`),this._handlers.opentag?.(e),this.tags.push(e),this.name=``,this.state=iD}openSelfClosingTag(){let e=this.tag;e.isSelfClosing=!0;for(let{name:t,value:n}of this.attribList)t in e.attributes&&this.fail(`duplicate attribute: ${t}`),e.attributes[t]=n;this.attribList=[],this.xmlns&&this.applyNamespaces(e),this.maxDepth>0&&this.tags.length>=this.maxDepth&&this.fail(`maximum element nesting depth (${this.maxDepth}) exceeded`),this._handlers.opentag?.(e),this._handlers.closetag?.(e),this.xmlns&&this._nsStack.pop(),this.tags.length===0&&(this.closedRoot=!0),this.name=``,this.state=iD}closeTag(){let{tags:e,name:t}=this;if(this.state=iD,this.name=``,t===``){this.fail(`empty close tag`),this.text+=`</>`;return}let n=!1;for(let r=e.length-1;r>=0;r--)if(e[r].name===t){for(;e.length>r;){let t=e.pop();this._handlers.closetag?.(t),this.xmlns&&this._nsStack.pop(),e.length>r&&this.fail(`unclosed tag: `+t.name)}n=!0;break}n||(this.fail(`unmatched close tag: `+t),this.text+=`</`+t+`>`),e.length===0&&(this.closedRoot=!0)}end(){for(this.sawRoot||this.fail(`document must contain a root element`);this.tags.length>0;){let e=this.tags.pop();this.fail(`unclosed tag: `+e.name)}return this.text.length>0&&this._handlers.text&&(this._handlers.text(this.text),this.text=``),this._closed=!0,this._init(),this}}}));function MD(e){return e._chartsheets.map(t=>QT(t,e))}var ND=n((()=>{oE(),W_()})),PD=r({chartToPdf:()=>ID,excelToPdf:()=>FD});async function FD(e,t){return t?.recalculate?.(e),mu(await LD(e,t),t)}async function ID(e,t={}){let n=t.width??520,r=t.height??360,i=t.margin??36,a=t.pageWidth??Math.max(n+i*2,400),o=t.pageHeight??Math.max(r+i*2,300),s=new tl;(t.title||t.author)&&s.setMetadata({title:t.title,author:t.author});let c=s.addPage({width:a,height:o}),l=fy(e)!==void 0,u=fy(e),d=l&&u!==void 0&&Cw(u);if(!(t.forceRaster===!0||l&&!d)){if(l&&u!==void 0)return ww(c,u,{x:i,y:o-i-r,width:n,height:r},{title:t.title,regionMap:t.regionMap}),s.build();let a=dy(e);if(!a)throw Error(`chartToPdf: Chart has neither a classic model nor a ChartEx model to render`);return lx(c,a,{x:i,y:o-i-r,width:n,height:r}),s.build()}let f=t.rasterScale??2,p=l?await Sw(fy(e),{width:n,height:r,scale:f}):await zb(dy(e),{width:n,height:r,scale:f});return c.drawImage({data:p,format:`png`,x:i,y:o-i-r,width:n,height:r}),s.build()}async function LD(e,t){let n=await Promise.all(U_(e).map(n=>RD(n,e,t))),r=await Promise.all(MD(e).map(n=>vO(n,e,t))),i=[...n,...r];return i.sort((e,t)=>(e.orderNo??1/0)-(t.orderNo??1/0)),{title:e.title||void 0,creator:e.creator||void 0,subject:e.subject||void 0,sourceFilePath:e.sourceFilePath?qD(e.sourceFilePath):void 0,sourceFileName:e.sourceFilePath?KD(e.sourceFilePath):void 0,locale:e.language,sheets:i}}async function RD(e,t,n){let r=wE(e),i=r&&r.top>0&&r.left>0,a=i?{top:r.top,left:r.left,bottom:r.bottom,right:r.right}:{top:0,left:0,bottom:0,right:0},o=i;for(let t=1;t<=e._rows.length;t++){let n=e._rows[t-1];if(n)for(let r=1;r<=n.cells.length;r++){let i=n.cells[r-1];if(XD(i?i.style:YD(e,n,r))){if(!o){a.top=a.bottom=t,a.left=a.right=r,o=!0;continue}t<a.top?a.top=t:t>a.bottom&&(a.bottom=t),r<a.left?a.left=r:r>a.right&&(a.right=r)}}}let s=new Map;if(o)for(let t=a.left;t<=a.right;t++){let n=e._columns[t-1];s.set(t,{hidden:n?.hidden||void 0,width:n?.width??void 0})}let c=new Map;if(o)for(let t=a.top;t<=a.bottom;t++){let n=k_(e,t);if(!n)continue;let r=new Map;for(let t=1;t<=n.cells.length;t++){let i=n.cells[t-1];if(i)(Fg(i)!==Mh.Null&&Fg(i)!==Mh.Merge||XD(i.style))&&r.set(t,JD(i));else{let i=YD(e,n,t);XD(i)&&r.set(t,ZD(t,i))}}c.set(t,{hidden:n.hidden||void 0,height:n.height??void 0,customHeight:n.customHeight||void 0,cells:r})}let l=TE(e)?EE(e).mergeCells:void 0,u=l?[...l]:void 0,d=e.pageSetup,f=d?{orientation:d.orientation,paperSize:d.paperSize,margins:d.margins?{left:d.margins.left,right:d.margins.right,top:d.margins.top,bottom:d.margins.bottom,header:d.margins.header,footer:d.margins.footer}:void 0,scale:d.scale,fitToPage:d.fitToPage,fitToWidth:d.fitToWidth,fitToHeight:d.fitToHeight,printTitlesRow:d.printTitlesRow,printTitlesColumn:d.printTitlesColumn,showGridLines:d.showGridLines,showRowColHeaders:d.showRowColHeaders,printArea:d.printArea,firstPageNumber:d.useFirstPageNumber===!1?void 0:d.firstPageNumber,pageOrder:d.pageOrder,blackAndWhite:d.blackAndWhite,draft:d.draft,errors:d.errors,cellComments:d.cellComments,horizontalCentered:d.horizontalCentered,verticalCentered:d.verticalCentered}:void 0,p=e.rowBreaks?.map(e=>e.id),m=e.colBreaks?.map(e=>e.id),h=zD(e),g=n?.draft??e.pageSetup?.draft??!1,_=g?void 0:lO(e,t),v=g?void 0:await uO(e),y=g?void 0:dO(e),b=v?y?[...v,...y]:v:y||void 0,x=[];if(_)for(let e of _)x.push(e.range);if(b)for(let e of b)x.push(e.range);if(x.length>0){for(let e of x){let t=e.tl,n=(t.nativeCol??t.col??0)+1,r=(t.nativeRow??t.row??0)+1;if(a.top===0&&a.left===0&&(a.top=1,a.left=1),n>a.right&&(a.right=n),r>a.bottom&&(a.bottom=r),e.br){let t=e.br,n=(t.nativeCol??t.col??0)+1,r=(t.nativeRow??t.row??0)+1;n>a.right&&(a.right=n),r>a.bottom&&(a.bottom=r)}}for(let t=a.left;t<=a.right;t++)if(!s.has(t)){let n=e._columns[t-1];s.set(t,{hidden:n?.hidden||void 0,width:n?.width??void 0})}for(let e=a.top;e<=a.bottom;e++)c.has(e)||c.set(e,{cells:new Map})}return{kind:`worksheet`,name:D_(e),state:e.state??`visible`,orderNo:e.orderNo,bounds:a,columns:s,rows:c,merges:u,pageSetup:f,headerFooter:HD(e,t,g),rowBreaks:p,colBreaks:m,images:_,charts:b,comments:h}}function zD(e){let t=[];for(let n of e._rows??[])if(n)for(let e of n.cells??[]){if(!e)continue;let n=Hg(e),r=VD(n?.note);r&&t.push({ref:e.address,text:r,author:n?.author,anchor:BD(n?.note)})}for(let n of e.threadedComments??[]){let e=n.comment.text?.trim();e&&t.push({ref:n.ref,text:e,author:n.comment.personId})}return t.length>0?t:void 0}function BD(e){if(!e||typeof e==`string`||typeof e.anchor!=`string`)return;let t=e.anchor.split(`,`).map(e=>Number(e.trim()));if(t.length!==8||t.some(e=>!Number.isFinite(e)))return;let[n,r,i,a,o,s,c,l]=t;return{left:n+r/68,top:i+a/18,right:o+s/68,bottom:c+l/18}}function VD(e){if(typeof e==`string`)return e.trim()||void 0;if(e&&typeof e==`object`&&Array.isArray(e.texts))return e.texts.map(e=>typeof e==`string`?e:e.text??``).join(``).trim()||void 0}function HD(e,t,n=!1){let r=e.headerFooter,i=[r.oddHeader,r.oddFooter,r.evenHeader,r.evenFooter,r.firstHeader,r.firstFooter],a=n?[]:WD(e,t);if(!(!i.some(Boolean)&&a.length===0))return{differentFirst:r.differentFirst,differentOddEven:r.differentOddEven,scaleWithDoc:r.scaleWithDoc??!0,alignWithMargins:r.alignWithMargins??!0,oddHeader:GD(r.oddHeader),oddFooter:GD(r.oddFooter),evenHeader:GD(r.evenHeader),evenFooter:GD(r.evenFooter),firstHeader:GD(r.firstHeader),firstFooter:GD(r.firstFooter),images:a}}function UD(e,t=[]){if(!(!e&&t.length===0)&&(e??={},!(![e.oddHeader,e.oddFooter,e.evenHeader,e.evenFooter,e.firstHeader,e.firstFooter].some(Boolean)&&t.length===0)))return{differentFirst:e.differentFirst??!1,differentOddEven:e.differentOddEven??!1,scaleWithDoc:e.scaleWithDoc??!0,alignWithMargins:e.alignWithMargins??!0,oddHeader:GD(e.oddHeader??null),oddFooter:GD(e.oddFooter??null),evenHeader:GD(e.evenHeader??null),evenFooter:GD(e.evenFooter??null),firstHeader:GD(e.firstHeader??null),firstFooter:GD(e.firstFooter??null),images:t}}function WD(e,t){let n=EE(e).media.filter(e=>e.type===`headerImage`),r=CE(e);return n.length===0&&r?.mode===`header`&&n.push({type:`headerImage`,imageId:String(r.imageId),headerWidth:r.headerWidth,headerHeight:r.headerHeight,position:`CH`}),n.flatMap(e=>{let n=z_(t,e.imageId),r=n?.extension===`jpg`?`jpeg`:n?.extension,i=n?.buffer instanceof Uint8Array?n.buffer:n?.base64?Cl(n.base64):void 0;return!i?.length||r!==`png`&&r!==`jpeg`?[]:[{data:i,format:r,width:e.headerWidth??467.25,height:e.headerHeight??311.25,position:e.position??`CH`}]})}function GD(e){if(!e)return;let t={left:[],center:[],right:[]},n=`center`,r={fontFamily:``,fontSize:11,bold:!1,italic:!1,underline:!1,doubleUnderline:!1,strike:!1,superscript:!1,subscript:!1,outline:!1,shadow:!1},i=``,a=()=>{i&&=(t[n].push({text:i,...r}),``)},o=(e,i)=>{a(),t[n].push({field:e,offset:i,...r})};for(let t=0;t<e.length;t++){if(e[t]!==`&`){i+=e[t];continue}let s=e[++t];if(s===void 0){i+=`&`;break}if(s===`&`){i+=`&`;continue}if(s===`[`){let n=e.indexOf(`]`,t+1);if(n!==-1){let r=e.slice(t+1,n).toLowerCase(),i={page:`pageNumber`,pages:`pageCount`,tab:`sheetName`,file:`fileName`,path:`filePath`,date:`date`,time:`time`,picture:`image`};if(i[r]){o(i[r]),t=n;continue}}}if(s===`L`||s===`C`||s===`R`){a(),n=s===`L`?`left`:s===`R`?`right`:`center`;continue}if(s===`"`){let n=e.indexOf(`"`,t+1);if(n===-1){i+=`&"`;continue}a();let o=e.slice(t+1,n),s=o.lastIndexOf(`,`),c=s>=0?o.slice(0,s):o,l=s>=0?o.slice(s+1):``;r={...r,fontFamily:c===`-`?``:c||r.fontFamily,bold:/bold/i.test(l),italic:/italic/i.test(l)},t=n;continue}if(/\d/.test(s)){let n=t+1;for(;n<e.length&&/\d/.test(e[n]);)n++;a(),r={...r,fontSize:Number(e.slice(t,n))},t=n-1;continue}if(s===`K`){let n=e.slice(t+1,t+7);/^[0-9A-Fa-f]{6}$/.test(n)&&(a(),r={...r,color:vo(n)??void 0},t+=6);continue}if(s===`P`){let n=/^[+-]\d+/.exec(e.slice(t+1));o(`pageNumber`,n?Number(n[0]):void 0),n&&(t+=n[0].length);continue}let c={N:`pageCount`,A:`sheetName`,F:`fileName`,Z:`filePath`,D:`date`,T:`time`,G:`image`};if(c[s]){o(c[s]);continue}let l=e=>{a(),r={...r,[e]:!r[e]}};s===`B`?l(`bold`):s===`I`?l(`italic`):s===`U`?l(`underline`):s===`E`?l(`doubleUnderline`):s===`S`?l(`strike`):s===`X`?l(`superscript`):s===`Y`?l(`subscript`):s===`O`?l(`outline`):s===`H`?l(`shadow`):i+=`&${s}`}return a(),t.left.length||t.center.length||t.right.length?t:void 0}function KD(e){let t=e.replace(/\\/g,`/`);return t.slice(t.lastIndexOf(`/`)+1)}function qD(e){let t=Math.max(e.lastIndexOf(`/`),e.lastIndexOf(`\\`));return t>=0?e.slice(0,t+1):``}function JD(e){let t=QD(Fg(e)),n=$D(e),r=nO(e.style);return{type:t,value:tO(e),text:n,style:r,hyperlink:Vg(e)||void 0,result:Gg(e)??void 0,col:Pg(e)}}function YD(e,t,n){return Ng(t.style,e._columns[n-1]?.style??{},{})}function XD(e){return!!(e.border&&(e.border.top||e.border.right||e.border.bottom||e.border.left)||e.fill||e.font)}function ZD(e,t){return{type:sl.Empty,value:null,text:``,style:nO(t),col:e}}function QD(e){switch(e){case Mh.Null:return sl.Empty;case Mh.Merge:return sl.Merge;case Mh.Number:return sl.Number;case Mh.String:case Mh.SharedString:return sl.String;case Mh.Date:return sl.Date;case Mh.Hyperlink:return sl.Hyperlink;case Mh.Formula:return sl.Formula;case Mh.RichText:return sl.RichText;case Mh.Boolean:return sl.Boolean;case Mh.Error:return sl.Error;default:return sl.String}}function $D(e){if(!e)return``;switch(Fg(e)){case Mh.Null:case Mh.Merge:return``;case Mh.RichText:case Mh.Hyperlink:return Ug(e)??``;case Mh.Error:return Lg(e)?.error??Ug(e)??``;case Mh.Formula:{let t=Gg(e);return t==null?Ug(e)??``:typeof t==`object`&&`error`in t?t.error:eO(t,e.style?.numFmt)}default:{let t=Lg(e);return t==null?``:eO(t,e.style?.numFmt)}}}function eO(e,t){let n=typeof t==`string`?t:t?.formatCode;if(n&&(typeof e==`number`||e instanceof Date||typeof e==`boolean`))try{return _g(e,n)}catch{}return e instanceof Date?e.toLocaleDateString():String(e)}function tO(e){if(Fg(e)===Mh.RichText){let t=Lg(e);if(t?.richText)return{richText:t.richText.map(e=>({text:e.text,font:e.font?rO(e.font):void 0}))}}return Lg(e)}function nO(e){if(e)return{font:e.font?rO(e.font):void 0,numFmt:e.numFmt,fill:e.fill?aO(e.fill):void 0,border:e.border?sO(e.border):void 0,alignment:e.alignment?cO(e.alignment):void 0}}function rO(e){return{name:e.name,size:e.size,bold:e.bold,italic:e.italic,strike:e.strike,underline:e.underline,color:e.color?iO(e.color):void 0}}function iO(e){return{argb:e.argb,theme:e.theme,tint:e.tint,indexed:e.indexed}}function aO(e){return e.type===`gradient`?{type:`gradient`,stops:e.stops.map(e=>({position:e.position,color:iO(e.color)}))}:{type:`pattern`,pattern:e.pattern,fgColor:e.fgColor?iO(e.fgColor):void 0}}function oO(e){return{style:e.style,color:e.color?iO(e.color):void 0}}function sO(e){return{top:e.top?oO(e.top):void 0,right:e.right?oO(e.right):void 0,bottom:e.bottom?oO(e.bottom):void 0,left:e.left?oO(e.left):void 0}}function cO(e){return{horizontal:e.horizontal,vertical:e.vertical,wrapText:e.wrapText,indent:e.indent,textRotation:e.textRotation===`vertical`?255:e.textRotation}}function lO(e,t){let n=bE(e);if(!n||!Array.isArray(n)||n.length===0)return;let r=[];for(let e of n){if(!e.range?.tl)continue;let n=e.imageId,i=z_(t,Number(n));if(!i)continue;let a;if(i.buffer instanceof Uint8Array?a=i.buffer:i.base64&&(a=Cl(i.base64)),!a||a.length===0)continue;let o=i.extension;(o===`jpeg`||o===`png`)&&r.push({data:a,format:o,range:{tl:{col:iy(e.range.tl),row:oy(e.range.tl),nativeCol:e.range.tl.nativeCol,nativeRow:e.range.tl.nativeRow,nativeColOff:e.range.tl.nativeColOff,nativeRowOff:e.range.tl.nativeRowOff},br:e.range.br?{col:iy(e.range.br),row:oy(e.range.br),nativeCol:e.range.br.nativeCol,nativeRow:e.range.br.nativeRow,nativeColOff:e.range.br.nativeColOff,nativeRowOff:e.range.br.nativeRowOff}:void 0,ext:e.range.ext?{width:e.range.ext.width??0,height:e.range.ext.height??0}:void 0,extUnit:e.range.ext?`px`:void 0}})}return r.length>0?r:void 0}async function uO(e){let t=xE(e);if(t.length===0)return;let n=[];for(let r of t){let t=hO(r);if(!t)continue;let i=dy(r),a=fy(r);if(i){n.push({range:t,drawVector:(e,t)=>{lx(e,i,{x:t.x,y:t.y,width:t.width,height:t.height})}});continue}if(a){if(gO(a,e),Cw(a))n.push({range:t,drawVector:(e,t)=>{ww(e,a,{x:t.x,y:t.y,width:t.width,height:t.height})}});else{let{widthPx:e,heightPx:r}=_O(t),i=await Sw(a,{width:e,height:r,scale:2});n.push({range:t,raster:{data:i,format:`png`}})}continue}}return n.length>0?n:void 0}function dO(e){let t=SE(e);if(!t||t.length===0)return;let n=[];for(let r of t)for(let t of r.sparklines){let{dataRef:i,cellRef:a}=t;if(!a)continue;let o=a.match(/^([A-Z]+)(\d+)$/i);if(!o)continue;let s=fO(o[1]),c=parseInt(o[2],10),l=pO(e,i);if(l.length===0)continue;let u={tl:{col:s-1,row:c-1,nativeCol:s-1,nativeRow:c-1},br:{col:s,row:c,nativeCol:s,nativeRow:c}};n.push({range:u,drawVector:(e,t)=>{mO(e,r,l,t)}})}return n.length>0?n:void 0}function fO(e){let t=0;for(let n=0;n<e.length;n++)t=t*26+(e.charCodeAt(n)&31);return t}function pO(e,t){if(!t)return[];let n=t.lastIndexOf(`!`),r=n>=0?t.slice(n+1):t,i=e;if(n>=0){let r=t.slice(0,n);r.startsWith(`'`)&&r.endsWith(`'`)&&(r=r.slice(1,-1).replace(/''/g,`'`));let a=H_(O_(e),r);a&&(i=a)}let a=r.replace(/\$/g,``).split(`:`);if(a.length!==2)return[];let o=a[0].match(/^([A-Z]+)(\d+)$/i),s=a[1].match(/^([A-Z]+)(\d+)$/i);if(!o||!s)return[];let c=fO(o[1]),l=parseInt(o[2],10),u=fO(s[1]),d=parseInt(s[2],10),f=(e,t)=>{let n=M_(i,e,t);if(!n)return NaN;let r=Lg(n),a=typeof r==`number`?r:Gg(n)??NaN;return typeof a==`number`?a:NaN},p=[];if(l===d)for(let e=c;e<=u;e++)p.push(f(l,e));else for(let e=l;e<=d;e++)p.push(f(e,c));return p}function mO(e,t,n,r){let{x:i,y:a,width:o,height:s}=r;if(o<=0||s<=0||n.length===0)return;let c=sE(t,n,{width:o,height:s,padding:2}),l=e=>i+e,u=e=>a+(s-e),d=e=>{let t=vo(e);return t?{r:t.r,g:t.g,b:t.b}:void 0};for(let t of c)switch(t.kind){case`rect`:e.drawRect({x:l(t.x),y:u(t.y+t.height),width:t.width,height:t.height,fill:d(t.color)});break;case`polyline`:for(let n=1;n<t.points.length;n++)e.drawLine({x1:l(t.points[n-1].x),y1:u(t.points[n-1].y),x2:l(t.points[n].x),y2:u(t.points[n].y),color:d(t.color),lineWidth:t.width});break;case`circle`:e.drawCircle?.({cx:l(t.cx),cy:u(t.cy),r:t.r,fill:d(t.color)});break;case`axis`:e.drawLine({x1:l(t.x1),y1:u(t.y1),x2:l(t.x2),y2:u(t.y2),color:d(t.color),lineWidth:.5})}}function hO(e){let t=e.range;if(!t?.tl)return;let n=t.tl,r=t.br;return{tl:{col:iy(n),row:oy(n),nativeCol:n.nativeCol,nativeRow:n.nativeRow,nativeColOff:n.nativeColOff,nativeRowOff:n.nativeRowOff},br:r?{col:iy(r),row:oy(r),nativeCol:r.nativeCol,nativeRow:r.nativeRow,nativeColOff:r.nativeColOff,nativeRowOff:r.nativeRowOff}:void 0,ext:t.ext?{width:t.ext.cx,height:t.ext.cy}:void 0,extUnit:t.ext?`emu`:void 0}}function gO(e,t){let n=e.chartSpace?.chartData?.data;if(n&&n.some(e=>{let t=e.strDim&&(!e.strDim.levels||e.strDim.levels.length===0),n=e.numDim&&(!e.numDim.levels||e.numDim.levels.length===0);return t||n}))try{q_(e,O_(t),t)}catch{}}function _O(e){if(e.ext&&e.extUnit===`emu`){let t=fl(e.ext.width),n=fl(e.ext.height);return{widthPx:Math.max(120,Math.round(96/72*t)),heightPx:Math.max(80,Math.round(96/72*n))}}return{widthPx:640,heightPx:420}}async function vO(e,t,n){let r=tE(e),i=nE(e),a=n?.draft??aE(e)?.draft??!1,o={};if(!a&&r){let e=r;o={drawVector:(t,n)=>{lx(t,e,{x:n.x,y:n.y,width:n.width,height:n.height})}}}else if(!a&&i){if(Cw(i)){let e=i;o={drawVector:(t,n)=>{ww(t,e,{x:n.x,y:n.y,width:n.width,height:n.height})}}}else o={raster:{data:await Sw(i,{width:bO.width,height:bO.height,scale:2}),format:`png`}}}let s=aE(e)?.orientation,c=s===`portrait`||s===`landscape`?s:`landscape`,l=aE(e),u=iE(e),d=l||u?{orientation:l?.orientation,paperSize:l?.paperSize,showGridLines:!1,blackAndWhite:l?.blackAndWhite,draft:l?.draft,firstPageNumber:l?.useFirstPageNumber===!1?void 0:l?.firstPageNumber,margins:u?{left:u.left??u.l??.7,right:u.right??u.r??.7,top:u.top??u.t??.75,bottom:u.bottom??u.b??.75,header:u.header,footer:u.footer}:void 0}:void 0;return{kind:`chartsheet`,name:$T(e),state:eE(e),orderNo:rE(e).orderNo,orientation:c,chart:o,pageSetup:d,headerFooter:UD(rE(e).headerFooter,a?[]:yO(rE(e).headerImages,t))}}function yO(e,t){return(e??[]).flatMap(e=>{let n=z_(t,e.imageId),r=n?.extension===`jpg`?`jpeg`:n?.extension,i=n?.buffer instanceof Uint8Array?n.buffer:n?.base64?Cl(n.base64):void 0;return i?.length&&(r===`png`||r===`jpeg`)?[{data:i,format:r,width:e.width??467.25,height:e.height??311.25,position:e.position}]:[]})}var bO,xO=n((()=>{X_(),py(),ZT(),hw(),uy(),c_(),oE(),Rh(),mE(),ND(),W_(),DE(),Tg(),nl(),qu(),ll(),Co(),bl(),Ol(),bO={width:1280,height:720}}));function SO(e,t={}){let n=new tl;(t.title||t.author||t.subject)&&n.setMetadata({title:t.title,author:t.author,subject:t.subject,creator:t.creator});for(let r of e.pages)CO(n.addPage({width:r.geometry.width,height:r.geometry.height}),r,t);return n}function CO(e,t,n){let r={...t.geometry,marginTop:0};if(t.header)for(let i of t.header)wO(e,i,r,n);for(let r of t.content)TO(e,r,t.geometry,n);if(t.footer)for(let i of t.footer)wO(e,i,r,n);if(t.footnoteSeparator){let n=t.footnoteSeparator,r=t.geometry.marginLeft,i=n.kind===`separator`?t.geometry.contentWidth/3:t.geometry.contentWidth,a=EO({...t.geometry,marginTop:0},n.y);e.drawLine({x1:r,y1:a,x2:r+i,y2:a,color:KO,lineWidth:.5})}if(t.footnoteArea)for(let i of t.footnoteArea)kO(e,i,r,n)}function wO(e,t,n,r){t.type===`paragraph`?kO(e,t,n,r):NO(e,t,n,r)}function TO(e,t,n,r){switch(t.type){case`paragraph`:kO(e,t,n,r);break;case`table`:NO(e,t,n,r);break;case`image`:PO(e,t,n);break;case`float`:IO(e,t,n,r);break;case`textBox`:LO(e,t,n,r);break;case`shape`:RO(e,t,n,r);break;case`chart`:zO(e,t,n,r);break;case`sdt`:BO(e,t,n,r);break;case`math`:VO(e,t,n,r);break;case`checkBox`:HO(e,t,n);break;case`tableOfContents`:UO(e,t,n,r);break;case`altChunk`:WO(e,t,n);break;case`opaqueDrawing`:GO(e,t,n);break;default:throw Error(`renderLayoutDocumentToPdf: unhandled PageContent ${t.type}`)}}function EO(e,t){return e.height-e.marginTop-t}function DO(e,t){return e.marginLeft+t}function OO(e){return vo(e)??void 0}function kO(e,t,n,r){for(let i of t.lines)AO(e,t,i,n,r)}function AO(e,t,n,r,i){let a=EO(r,t.rect.y+n.y+n.baseline),o=t.rect.y+n.y;for(let s of n.runs)s.type===`image`?jO(e,s,t.rect.x,o,n.height,r):MO(e,s,t.rect.x,a,r,i)}function jO(e,t,n,r,i,a){if(t.data.length===0)return;let o=FO(t.mimeType);if(!o)return;let s=DO(a,n+t.x),c=EO(a,r+Math.min(i,t.height));e.drawImage({data:t.data,format:o,x:s,y:c,width:t.width,height:t.height})}function MO(e,t,n,r,i,a){let o=DO(i,n+t.x),s=t.font||a.defaultFont||`Helvetica`,c=t.fontSize||a.defaultFontSize||11,l=OO(t.color)??KO,u=r;if(t.verticalAlign===`superscript`?u=r+c*.33:t.verticalAlign===`subscript`&&(u=r-c*.33),t.text.length>0&&e.drawText(t.text,{x:o,y:u,fontFamily:s,fontSize:c,bold:t.bold,italic:t.italic,color:l}),t.underline&&t.text.length>0){let n=u-c*.12;e.drawLine({x1:o,y1:n,x2:o+t.width,y2:n,color:l,lineWidth:Math.max(.5,c*.05)})}if(t.strikethrough&&t.text.length>0){let n=u+c*.3;e.drawLine({x1:o,y1:n,x2:o+t.width,y2:n,color:l,lineWidth:Math.max(.5,c*.05)})}}function NO(e,t,n,r){for(let i of t.cells){let a=DO(n,t.rect.x+i.rect.x),o=EO(n,t.rect.y+i.rect.y+i.rect.height),s=i.rect.width,c=i.rect.height;if(i.backgroundColor){let t=OO(i.backgroundColor);t&&e.drawRect({x:a,y:o,width:s,height:c,fill:t})}let l=i.borders;if(l){if(l.top){let t=OO(l.top.color)??KO;e.drawLine({x1:a,y1:o+c,x2:a+s,y2:o+c,color:t,lineWidth:l.top.width})}if(l.bottom){let t=OO(l.bottom.color)??KO;e.drawLine({x1:a,y1:o,x2:a+s,y2:o,color:t,lineWidth:l.bottom.width})}if(l.left){let t=OO(l.left.color)??KO;e.drawLine({x1:a,y1:o,x2:a,y2:o+c,color:t,lineWidth:l.left.width})}if(l.right){let t=OO(l.right.color)??KO;e.drawLine({x1:a+s,y1:o,x2:a+s,y2:o+c,color:t,lineWidth:l.right.width})}}for(let a of i.content)a.type===`paragraph`?kO(e,{...a,rect:{...a.rect,x:t.rect.x+i.rect.x+a.rect.x,y:t.rect.y+i.rect.y+a.rect.y}},n,r):NO(e,{...a,rect:{...a.rect,x:t.rect.x+i.rect.x+a.rect.x,y:t.rect.y+i.rect.y+a.rect.y}},n,r)}}function PO(e,t,n){if(t.data.length===0)return;let r=FO(t.mimeType);if(!r)return;let i=DO(n,t.rect.x),a=EO(n,t.rect.y+t.rect.height);e.drawImage({data:t.data,format:r,x:i,y:a,width:t.rect.width,height:t.rect.height})}function FO(e){let t=e.toLowerCase();return t===`image/jpeg`?`jpeg`:t===`image/png`?`png`:null}function IO(e,t,n,r){t.content.type===`image`?PO(e,t.content,n):kO(e,t.content,n,r)}function LO(e,t,n,r){let i=DO(n,t.rect.x),a=EO(n,t.rect.y+t.rect.height),o=t.background?OO(t.background):void 0,s=t.border?OO(t.border.color):void 0;(o||s)&&e.drawRect({x:i,y:a,width:t.rect.width,height:t.rect.height,fill:o,stroke:s,lineWidth:t.border?.width??.75});let c={...n,marginLeft:n.marginLeft+t.rect.x,marginTop:n.marginTop+t.rect.y};for(let n of t.content)TO(e,n,c,r)}function RO(e,t,n,r){let i=DO(n,t.rect.x),a=EO(n,t.rect.y+t.rect.height),o=t.fillColor?OO(t.fillColor):void 0,s=t.strokeColor?OO(t.strokeColor):void 0,c=t.strokeWidth??.75;if(t.preset===`ellipse`||t.preset===`oval`?e.drawEllipse({cx:i+t.rect.width/2,cy:a+t.rect.height/2,rx:t.rect.width/2,ry:t.rect.height/2,fill:o,stroke:s,lineWidth:c}):t.preset===`line`?e.drawLine({x1:i,y1:a+t.rect.height,x2:i+t.rect.width,y2:a,color:s??KO,lineWidth:c}):e.drawRect({x:i,y:a,width:t.rect.width,height:t.rect.height,fill:o,stroke:s,lineWidth:c}),t.textContent&&t.textContent.length>0){let i={...n,marginLeft:n.marginLeft+t.rect.x,marginTop:n.marginTop+t.rect.y};for(let n of t.textContent)TO(e,n,i,r)}}function zO(e,t,n,r){let i={x:DO(n,t.rect.x),y:EO(n,t.rect.y+t.rect.height),width:t.rect.width,height:t.rect.height};if(!(r.chartRenderer&&r.chartRenderer(t,e,i)!==!1)){if(t.svg)try{e.drawSvg({svg:t.svg,x:i.x,y:i.y,width:i.width,height:i.height});return}catch{}e.drawRect({...i,stroke:{r:.5,g:.5,b:.5},lineWidth:.75}),t.title&&e.drawText(t.title,{x:i.x+i.width/2,y:i.y+i.height/2,fontSize:10,anchor:`middle`,color:{r:.3,g:.3,b:.3}})}}function BO(e,t,n,r){let i={...n,marginLeft:n.marginLeft+t.rect.x,marginTop:n.marginTop+t.rect.y};for(let n of t.content)TO(e,n,i,r)}function VO(e,t,n,r){let i=DO(n,t.rect.x),a=EO(n,t.rect.y+t.rect.height*.8);e.drawText(t.text,{x:i,y:a,fontFamily:r.defaultFont??`Helvetica`,fontSize:t.rect.height*.7,italic:!0})}function HO(e,t,n){let r=DO(n,t.rect.x),i=EO(n,t.rect.y+t.rect.height),a=t.rect.height*.85;if(e.drawRect({x:r,y:i,width:a,height:a,stroke:KO,lineWidth:.75}),t.checked){let t=r+a*.2,n=i+a*.5,o=r+a*.45,s=i+a*.25,c=r+a*.85,l=i+a*.75;e.drawLine({x1:t,y1:n,x2:o,y2:s,color:KO,lineWidth:1}),e.drawLine({x1:o,y1:s,x2:c,y2:l,color:KO,lineWidth:1})}}function UO(e,t,n,r){let i={...n,marginLeft:n.marginLeft+t.rect.x,marginTop:n.marginTop+t.rect.y};for(let n of t.entries)kO(e,n,i,r)}function WO(e,t,n){let r=DO(n,t.rect.x),i=EO(n,t.rect.y+t.rect.height);e.drawRect({x:r,y:i,width:t.rect.width,height:t.rect.height,stroke:{r:.6,g:.6,b:.6},lineWidth:.5}),e.drawText(`[${t.contentType}]`,{x:r+t.rect.width/2,y:i+t.rect.height/2,fontSize:9,anchor:`middle`,color:{r:.4,g:.4,b:.4}})}function GO(e,t,n){let r=DO(n,t.rect.x),i=EO(n,t.rect.y+t.rect.height);e.drawRect({x:r,y:i,width:t.rect.width,height:t.rect.height,stroke:{r:.6,g:.6,b:.6},lineWidth:.5}),e.drawText(`[drawing]`,{x:r+t.rect.width/2,y:i+t.rect.height/2,fontSize:9,anchor:`middle`,color:{r:.4,g:.4,b:.4}})}var KO,qO=n((()=>{nl(),Co(),KO={r:0,g:0,b:0}}));function JO(e){return`<math xmlns="http://www.w3.org/1998/Math/MathML">${e.map(e=>YO(e)).join(``)}</math>`}function YO(e){switch(e.type){case`mathRun`:return XO(e);case`mathFraction`:return tk(e);case`mathSuperScript`:return nk(e);case`mathSubScript`:return rk(e);case`mathSubSuperScript`:return ik(e);case`mathPreSubSuperScript`:return ak(e);case`mathRadical`:return ok(e);case`mathDelimiter`:return sk(e);case`mathNary`:return ck(e);case`mathFunction`:return`<mrow><mo>${Z(e.name)}</mo><mrow>${Z(e.content)}</mrow></mrow>`;case`mathLimit`:return e.limitType===`lower`?`<munder><mrow>${Z(e.base)}</mrow><mrow>${Z(e.limit)}</mrow></munder>`:`<mover><mrow>${Z(e.base)}</mrow><mrow>${Z(e.limit)}</mrow></mover>`;case`mathMatrix`:return lk(e);case`mathAccent`:return`<mover accent="true"><mrow>${Z(e.content)}</mrow><mo>${cn(e.char??`̂`)}</mo></mover>`;case`mathBar`:return e.position===`bottom`?`<munder><mrow>${Z(e.content)}</mrow><mo>̲</mo></munder>`:`<mover><mrow>${Z(e.content)}</mrow><mo>¯</mo></mover>`;case`mathBox`:return`<mrow>${Z(e.content)}</mrow>`;case`mathPhantom`:return`<mphantom><mrow>${Z(e.content)}</mrow></mphantom>`;case`mathGroupChar`:return e.position===`top`?`<mover><mrow>${Z(e.base)}</mrow><mo>${cn(e.char??`⏞`)}</mo></mover>`:`<munder><mrow>${Z(e.base)}</mrow><mo>${cn(e.char??`⏟`)}</mo></munder>`;case`mathBorderBox`:return`<menclose notation="box"><mrow>${Z(e.content)}</mrow></menclose>`;case`mathEquationArray`:return`<mtable>${e.rows.map(e=>`<mtr><mtd><mrow>${Z(e)}</mrow></mtd></mtr>`).join(``)}</mtable>`;default:return``}}function XO(e){let t=e.text,n=e.properties?.italic===!1;return QO(t).map(e=>ek(e,n)).join(``)}function ZO(e){return/\s/.test(e)?`text`:uk(e)?`operator`:/[0-9.]/.test(e)?`number`:(/[A-Za-z]/.test(e),`identifier`)}function QO(e){let t=[],n=Array.from(e);for(let e of n){let n=ZO(e),r=t[t.length-1];r&&r.kind===n&&n!==`operator`?r.value+=e:t.push({kind:n,value:e})}return $O(t)}function $O(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n],i=t[t.length-1],a=e[n+1];if(r.kind===`operator`&&r.value===`.`&&i&&i.kind===`number`&&a&&a.kind===`number`){i.value+=`.`+a.value,n++;continue}t.push(r)}return t}function ek(e,t){let n=cn(e.value);switch(e.kind){case`operator`:return`<mo>${n}</mo>`;case`number`:return/\d/.test(e.value)?`<mn>${n}</mn>`:`<mo>${n}</mo>`;case`text`:return`<mtext>${n}</mtext>`;default:return t?`<mi mathvariant="normal">${n}</mi>`:`<mi>${n}</mi>`}}function tk(e){let t=Z(e.numerator),n=Z(e.denominator);return e.fractionType===`lin`?`<mrow><mrow>${t}</mrow><mo>/</mo><mrow>${n}</mrow></mrow>`:`<mfrac><mrow>${t}</mrow><mrow>${n}</mrow></mfrac>`}function nk(e){return`<msup><mrow>${Z(e.base)}</mrow><mrow>${Z(e.superScript)}</mrow></msup>`}function rk(e){return`<msub><mrow>${Z(e.base)}</mrow><mrow>${Z(e.subScript)}</mrow></msub>`}function ik(e){return`<msubsup><mrow>${Z(e.base)}</mrow><mrow>${Z(e.subScript)}</mrow><mrow>${Z(e.superScript)}</mrow></msubsup>`}function ak(e){return e.type===`mathPreSubSuperScript`?`<mmultiscripts><mrow>${Z(e.base)}</mrow><mprescripts/><mrow>${Z(e.preSubScript)}</mrow><mrow>${Z(e.preSuperScript)}</mrow></mmultiscripts>`:``}function ok(e){return e.degree&&e.degree.length>0?`<mroot><mrow>${Z(e.content)}</mrow><mrow>${Z(e.degree)}</mrow></mroot>`:`<msqrt><mrow>${Z(e.content)}</mrow></msqrt>`}function sk(e){let t=cn(e.beginChar??`(`),n=cn(e.endChar??`)`);return`<mrow><mo>${t}</mo>${e.content.map(e=>`<mrow>${Z(e)}</mrow>`).join(`<mo>${cn(e.separatorChar??`|`)}</mo>`)}<mo>${n}</mo></mrow>`}function ck(e){let t=cn(e.char??`∑`),n=Z(e.content),r=e.sub&&e.sub.length>0&&!e.subHide,i=e.sup&&e.sup.length>0&&!e.supHide;return r&&i?`<munderover><mo>${t}</mo><mrow>${Z(e.sub)}</mrow><mrow>${Z(e.sup)}</mrow></munderover><mrow>${n}</mrow>`:r?`<munder><mo>${t}</mo><mrow>${Z(e.sub)}</mrow></munder><mrow>${n}</mrow>`:i?`<mover><mo>${t}</mo><mrow>${Z(e.sup)}</mrow></mover><mrow>${n}</mrow>`:`<mo>${t}</mo><mrow>${n}</mrow>`}function lk(e){return`<mtable>${e.rows.map(e=>`<mtr>${e.map(e=>`<mtd><mrow>${Z(e)}</mrow></mtd>`).join(``)}</mtr>`).join(``)}</mtable>`}function Z(e){return e.map(e=>YO(e)).join(``)}function uk(e){return dk.has(e)}var dk,fk=n((()=>{ev(),dk=new Set(`+ - = < > ≤ ≥ × ÷ − ± ≠ ≈ ∞ ( ) [ ] { } | , . : ; ! ∑ ∏ ∫ ∬ ∭`.split(` `))}));function pk(e){return`type`in e?!1:`content`in e&&Array.isArray(e.content)}function mk(e){return`type`in e&&e.type===`hyperlink`}function Q(e){let t=``;for(let n of e)switch(n.type){case`mathRun`:t+=n.text;break;case`mathFraction`:t+=`(${Q(n.numerator)})/(${Q(n.denominator)})`;break;case`mathRadical`:n.hideDegree?t+=`√(${Q(n.content)})`:n.degree?t+=`${Q(n.degree)}√(${Q(n.content)})`:t+=`√(${Q(n.content)})`;break;case`mathSuperScript`:t+=`${Q(n.base)}^(${Q(n.superScript)})`;break;case`mathSubScript`:t+=`${Q(n.base)}_(${Q(n.subScript)})`;break;case`mathSubSuperScript`:t+=`${Q(n.base)}_(${Q(n.subScript)})^(${Q(n.superScript)})`;break;case`mathPreSubSuperScript`:t+=`_(${Q(n.preSubScript)})^(${Q(n.preSuperScript)})${Q(n.base)}`;break;case`mathDelimiter`:t+=n.beginChar??`(`,t+=n.content.map(e=>Q(e)).join(n.separatorChar??`,`),t+=n.endChar??`)`;break;case`mathNary`:t+=n.char??`∑`,n.sub&&(t+=`_(${Q(n.sub)})`),n.sup&&(t+=`^(${Q(n.sup)})`),t+=Q(n.content);break;case`mathFunction`:t+=Q(n.name),t+=Q(n.content);break;case`mathLimit`:t+=Q(n.base),t+=n.limitType===`upper`?`^`:`_`,t+=`(${Q(n.limit)})`;break;case`mathMatrix`:t+=`[`,t+=n.rows.map(e=>e.map(e=>Q(e)).join(`,`)).join(`;`),t+=`]`;break;case`mathAccent`:t+=Q(n.content),n.char&&(t+=n.char);break;case`mathBar`:t+=Q(n.content);break;case`mathBox`:t+=Q(n.content);break;case`mathEquationArray`:t+=n.rows.map(e=>Q(e)).join(`
|
|
66
|
+
`);break;case`mathGroupChar`:t+=Q(n.base);break;case`mathPhantom`:t+=Q(n.content);break;case`mathBorderBox`:t+=Q(n.content)}return t}var hk=n((()=>{})),gk=n((()=>{}));function _k(e){let t=e?.pageSize?.height??15840,n=e?.margins?.top??1440,r=e?.margins?.bottom??1440;return Math.max(0,t-n-r)}function vk(e){let t=e?.pageSize?.width??12240,n=e?.margins?.left??1440,r=e?.margins?.right??1440,i=e?.margins?.gutter??0;return Math.max(0,t-n-r-i)}function yk(e){let t=e/2;return Math.round(t*1.2*20)}function bk(e,t){let n=yk(t);if(!e?.line)return n;switch(e.lineRule??`auto`){case`auto`:{let t=e.line/240;return Math.round(n*t)}case`exact`:return e.line;case`atLeast`:return Math.max(e.line,n);default:return n}}function xk(e,t){return e?.markRunProperties?.size??t}function Sk(e){let t=e.properties?.font;return t?typeof t==`string`?t:t.ascii??t.hAnsi??`Calibri`:`Calibri`}function Ck(e){let t=``;for(let n of e.content)switch(n.type){case`text`:t+=n.text;break;case`tab`:t+=` `;break;case`symbol`:t+=` `;break;case`noBreakHyphen`:case`softHyphen`:t+=`-`}return t}function wk(e){return e>=11904&&e<=40959||e>=44032&&e<=55215||e>=63744&&e<=64255||e>=65072&&e<=65103||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=195103}function Tk(e){let t=0;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++,t+=wk(r)?2:1}return t}function Ek(e,t,n,r,i){let a=Dk(e);if(a.length===0)return 1;let o=1,s=t,c=0;for(let e of a)if(e.type===`tab`){let e=Ak(c,i);e>s?(o++,s=n,c=0):c=e}else if(e.type===`break`)o++,s=n,c=0;else{let t=e.width*r;c+t>s&&c>0?(o++,s=n,c=t):c+=t}return o}function Dk(e){let t=[];for(let n of e)if(pk(n))Ok(n,t);else if(mk(n))for(let e of n.children)Ok(e,t);return t}function Ok(e,t){for(let n of e.content)switch(n.type){case`text`:{let e=kk(n.text);for(let n of e)n.length>0&&t.push({type:`word`,width:Tk(n)});break}case`tab`:t.push({type:`tab`});break;case`break`:t.push({type:`break`});break;case`image`:{let e=n,r=e.width?Math.ceil(Hk(e.width)/120):10;t.push({type:`image`,width:r});break}case`symbol`:t.push({type:`word`,width:1});break;case`noBreakHyphen`:t.push({type:`word`,width:1})}}function kk(e){let t=[],n=``;for(let r=0;r<e.length;r++){let i=e.codePointAt(r),a=String.fromCodePoint(i);i>65535&&r++,i===32||i===10||i===45||i===8208||i===8209?(n+=a,t.push(n),n=``):wk(i)?(n.length>0&&(t.push(n),n=``),t.push(a)):n+=a}return n.length>0&&t.push(n),t}function Ak(e,t){if(t&&t.length>0){for(let n of t)if(n>e)return n;let n=t[t.length-1],r=$k;return n+Math.ceil((e-n)/r)*r+r}return(Math.floor(e/$k)+1)*$k}function jk(e,t){let n=e?.indent,r=n?.left??0,i=n?.right??0,a=n?.firstLine??0,o=n?.hanging??0,s=Math.max(1,t-r-i);return o>0?[Math.max(1,s+o),s]:a>0?[Math.max(1,s-a),s]:[s,s]}function Mk(e){let t=0;for(let n of e)if(pk(n)){for(let e of n.content)if(e.type===`image`){let n=e;if(n.height){let e=Hk(n.height);e>t&&(t=e)}}}return t}function Nk(e){let t=0;for(let n of e)if(pk(n))for(let e of n.content)(e.type===`footnoteRef`||e.type===`endnoteRef`)&&t++;return t}function Pk(e){let t=0;for(let n of e)if(pk(n)){for(let e of n.content)if(e.type===`break`){let n=e.breakType;(!n||n===`textWrapping`)&&t++}}else if(mk(n)){for(let e of n.children)for(let n of e.content)if(n.type===`break`){let e=n.breakType;(!e||e===`textWrapping`)&&t++}}return t}function Fk(e,t,n){let r=0;for(let i of e)if(pk(i)){let e=Ck(i);if(e.length>0){let a=Sk(i),o=(i.properties?.size??t)/2;r+=n(e,a,o)}}else if(mk(i))for(let e of i.children){let i=Ck(e);if(i.length>0){let a=Sk(e),o=(e.properties?.size??t)/2;r+=n(i,a,o)}}return r}function Ik(e,t){let n=0;for(let r of e)if(pk(r)){let e=r.properties?.size??t;e>n&&(n=e)}else if(mk(r))for(let e of r.children){let r=e.properties?.size??t;r>n&&(n=r)}return n||t}function Lk(e){for(let t of e)if(pk(t)){for(let e of t.content)if(e.type===`break`&&e.breakType===`page`)return!0}return!1}function Rk(e){for(let t of e)if(pk(t)){for(let e of t.content)if(e.type===`break`&&e.breakType===`column`)return!0}return!1}function zk(e,t,n,r,i,a){let o=e.properties,s=o?.spacing,c=0;s?.beforeAutoSpacing?c=Qk:s?.before!=null&&(c=s.before);let l=0;s?.afterAutoSpacing?l=Qk:s?.after!=null&&(l=s.after);let u=bk(s,Ik(e.children,xk(o,n))),d=Mk(e.children),f=Math.max(u,d),p;if(a){let[r,s]=jk(o,t),c=Fk(e.children,n,a)*20;if(Pk(e.children)>0){let t=i>0?i:120,n=o?.tabs?.map(e=>e.position).filter(e=>e!=null);p=Ek(e.children,r,s,t,n)}else if(c<=r)p=1;else{let e=c-r;p=1+Math.max(1,Math.ceil(e/s))}}else{let[n,r]=jk(o,t),a=i>0?i:120,s=o?.tabs?.map(e=>e.position).filter(e=>e!=null);p=Ek(e.children,n,r,a,s)}return c+p*f+l}function Bk(e,t,n,r,i,a,o){let s=e.rows[t];if(s.properties?.height?.value&&s.properties.height.rule===`exact`)return s.properties.height.value;let c=s.cells.length,l=e.columnWidths,u=0;for(let e=0;e<c;e++){let t=s.cells[e],d;if(l&&e<l.length){let n=t.properties?.gridSpan??1;d=0;for(let t=0;t<n&&e+t<l.length;t++)d+=l[e+t]}else d=Math.floor(r/Math.max(1,c));let f=Math.max(1,d-108-108),p=0;for(let e of t.content)e.type===`paragraph`?p+=zk(e,f,n,i,a,o):e.type===`table`&&(p+=Vk(e,n,f,i,a,o));p+=80,p>u&&(u=p)}if(s.properties?.height?.value)return Math.max(s.properties.height.value,u);let d=yk(n)+80;return Math.max(d,u)}function Vk(e,t,n,r,i,a){let o=0;for(let s=0;s<e.rows.length;s++)o+=Bk(e,s,t,n,r,i,a);return o}function Hk(e){return Math.round(e/635)}function Uk(e){return e.wrap?.style===`topAndBottom`?Hk(e.height):0}function Wk(e){let t=e.wrap?.style;return t===`topAndBottom`||!t||t===`none`?Hk(e.height):0}function Gk(e,t){if(!t)return e;let n=t.count??1;if(n<=1)return e;let r=t.space??720;return Math.max(1,Math.floor((e-(n-1)*r)/n))}function Kk(e,t,n){for(let r of e)if(`type`in r&&r.type===`bookmarkStart`&&`name`in r){let e=r;n.set(e.name,t)}}function qk(e,t){let n=t?.defaultFontSize??Xk,r=t?.defaultCharsPerLine??Zk,i=t?.averageCharWidth??Math.round(n/2*.5*20),a=t?.measureText,o=e.body,s=[],c=[],l=new Map,u=[],d=1,f=0,p=1,m=0,h=0,g=1,_=Jk(o)??e.sectionProperties,v=_k(_),y=vk(_),b=Gk(y,_?.columns);function x(){g=_?.columns?.count??1,g<1&&(g=1),b=Gk(y,_?.columns)}x();function S(){d++,m=0,h=0}function C(){g>1&&h<g-1?(h++,m=0):S()}function w(t,n){u.push(d-p+1),f++;let r=n??e.sectionProperties;switch(t){case`nextPage`:S();break;case`evenPage`:S(),d%2!=0&&S();break;case`oddPage`:S(),d%2!=1&&S();break;case`continuous`:{let e=_?.pageSize?.width??12240,t=_?.pageSize?.height??15840,n=r?.pageSize?.width??12240,i=r?.pageSize?.height??15840;(e!==n||t!==i)&&S();break}case`nextColumn`:C()}p=d,_=r,v=_k(_),y=vk(_),x()}function ee(e){m+e>v&&m>0&&(g>1&&h<g-1?C():S()),m+=e}function te(e){let t=Vk(e,n,b,r,i,a);if(m+t<=v){m+=t;return}let o=Bk(e,0,n,b,r,i,a);m>0&&m+o>v&&(g>1&&h<g-1?C():S());let s=0,c=[];for(let t=0;t<e.rows.length&&e.rows[t].properties?.tableHeader;t++)c.push(t),s+=Bk(e,t,n,b,r,i,a);for(let t=0;t<e.rows.length;t++){let o=e.rows[t],l=Bk(e,t,n,b,r,i,a);if(c.includes(t)){m+=l;continue}(o.properties?.cantSplit??!1)||l<=v?m+l>v&&(g>1&&h<g-1?C():S(),m+=s):m+l>v&&m>0&&(g>1&&h<g-1?C():S(),m+=s),m+=l}}for(let t=0;t<o.length;t++){let u=o[t];switch(u.type){case`paragraph`:{let p=u,h=p.properties;if(Kk(p.children,d,l),h?.sectionProperties){ne(p,zk(p,b,n,r,i,a),t,o),s.push(d),c.push(f);let l=Yk(o,t+1)??e.sectionProperties;w(h.sectionProperties.breakType??`nextPage`,l);break}h?.pageBreakBefore&&m>0&&S(),Lk(p.children)&&m>0&&S(),Rk(p.children)&&m>0&&C(),ne(p,zk(p,b,n,r,i,a),t,o),s.push(d),c.push(f);break}case`table`:{let e=d;te(u),s.push(e),c.push(f);break}default:{let e=yk(n);if(u.type===`tableOfContents`){let t=u.cachedParagraphs;ee(t?t.length*yk(n):e*5)}else if(u.type===`floatingImage`){let e=Uk(u);e>0&&ee(e)}else if(u.type===`drawingShape`){let t=Wk(u);ee(t>0?t:e)}else ee(e);s.push(d),c.push(f);break}}}return u.push(d-p+1),{pageCount:d,sectionPageCounts:u,contentPages:s,contentSections:c,bookmarkPages:l};function ne(e,t,o,s){let c=e.properties,l=c?.spacing,u=bk(l,Ik(e.children,xk(c,n))),d;if(a){let[t,r]=jk(c,b),o=Fk(e.children,n,a)*20;if(Pk(e.children)>0){let n=i>0?i:120,a=c?.tabs?.map(e=>e.position).filter(e=>e!=null);d=Ek(e.children,t,r,n,a)}else d=o<=t?1:1+Math.max(1,Math.ceil((o-t)/r))}else{let[t,n]=jk(c,b),r=i>0?i:120,a=c?.tabs?.map(e=>e.position).filter(e=>e!=null);d=Ek(e.children,t,n,r,a)}if(c?.contextualSpacing&&o>0){let e=s[o-1];if(e.type===`paragraph`&&e.properties?.style===c.style){let e=l?.before??0;e>0&&(m-=Math.min(e,m))}}if(c?.keepLines){m+t>v&&m>0&&(g>1&&h<g-1?C():S()),m+=t,re(e);return}if(c?.widowControl!==!1&&d>1){let e=0;l?.beforeAutoSpacing?e=Qk:l?.before!=null&&(e=l.before);let t=v-m,n=Math.floor(Math.max(0,t-e)/u);n===1&&d>1?m>0&&(g>1&&h<g-1?C():S()):n>0&&n===d-1&&n>2&&m>0&&(g>1&&h<g-1?C():S())}if(c?.keepNext&&o+1<s.length){let e=s[o+1];if(e.type===`paragraph`){let o=zk(e,b,n,r,i,a);m+t+o>v&&m>0&&(g>1&&h<g-1?C():S())}}ee(t),re(e)}function re(e){let t=Nk(e.children);if(t>0){let e=eA+t*tA;m+=e,m>v&&S()}}}function Jk(e){for(let t of e)if(t.type===`paragraph`&&t.properties?.sectionProperties)return t.properties.sectionProperties}function Yk(e,t){for(let n=t;n<e.length;n++){let t=e[n];if(t.type===`paragraph`&&t.properties?.sectionProperties)return t.properties.sectionProperties}}var Xk,Zk,Qk,$k,eA,tA,nA=n((()=>{hk(),gk(),Xk=24,Zk=80,Qk=100,$k=720,eA=200,tA=300}));function rA(e,t,n){let r=new Map;if(e.styles)for(let t of e.styles)r.set(t.styleId,t);let i=[],a=t.properties?.style;if(a){let e=a,t=new Set;for(;e&&!t.has(e);)t.add(e),i.push(e),e=r.get(e)?.basedOn}let o={},s={};e.docDefaults&&(e.docDefaults.paragraphProperties&&(o={...e.docDefaults.paragraphProperties}),e.docDefaults.runProperties&&(s={...e.docDefaults.runProperties}));for(let e=i.length-1;e>=0;e--){let t=r.get(i[e]);if(t&&(t.paragraphProperties&&(o={...o,...iA(t.paragraphProperties)}),t.runProperties&&(s={...s,...iA(t.runProperties)}),t.type===`paragraph`&&t.link)){let e=r.get(t.link);e?.type===`character`&&e.runProperties&&(s={...s,...iA(e.runProperties)})}}if(n?.tableContext?.tableStyleId){let e=n.tableContext,t=e.tableStyleId,i=r.get(t);if(i?.tableStyleConditions){let t=aA(i.tableStyleConditions,e.tblLook,e.rowIndex,e.colIndex,e.totalRows,e.totalCols);for(let e of t)e.paragraphProperties&&(o={...o,...iA(e.paragraphProperties)}),e.runProperties&&(s={...s,...iA(e.runProperties)})}}if(t.properties){let{style:e,sectionProperties:n,...r}=t.properties;o={...o,...iA(r)}}return{chain:i,paragraphProperties:o,runProperties:s}}function iA(e){let t={};for(let[n,r]of Object.entries(e))r!==void 0&&(t[n]=r);return t}function aA(e,t,n,r,i,a){let o=t?.noHBand!==!0,s=t?.noVBand!==!0,c=new Set;o&&(n%2==0?c.add(`oddRowBanding`):c.add(`evenRowBanding`)),s&&(r%2==0?c.add(`oddColumnBanding`):c.add(`evenColumnBanding`)),n===0&&t?.firstRow!==!1&&c.add(`firstRow`),n===i-1&&t?.lastRow!==!1&&c.add(`lastRow`),r===0&&t?.firstColumn!==!1&&c.add(`firstColumn`),r===a-1&&t?.lastColumn!==!1&&c.add(`lastColumn`),n===0&&r===0&&t?.firstRow!==!1&&t?.firstColumn!==!1&&c.add(`topLeftCell`),n===0&&r===a-1&&t?.firstRow!==!1&&t?.lastColumn!==!1&&c.add(`topRightCell`),n===i-1&&r===0&&t?.lastRow!==!1&&t?.firstColumn!==!1&&c.add(`bottomLeftCell`),n===i-1&&r===a-1&&t?.lastRow!==!1&&t?.lastColumn!==!1&&c.add(`bottomRightCell`);let l=[`oddRowBanding`,`evenRowBanding`,`oddColumnBanding`,`evenColumnBanding`,`firstRow`,`lastRow`,`firstColumn`,`lastColumn`,`topLeftCell`,`topRightCell`,`bottomLeftCell`,`bottomRightCell`],u=new Map;for(let e=0;e<l.length;e++)u.set(l[e],e);return e.filter(e=>c.has(e.type)).sort((e,t)=>(u.get(e.type)??0)-(u.get(t.type)??0))}var oA=n((()=>{})),sA=n((()=>{bl()}));function cA(e,t){let n=qk(e,t),r=CA(e);sj=r,cj=e;try{return lA(e,t,n,r)}finally{sj=void 0,cj=void 0}}function lA(e,t,n,r){let i=[],a=n.pageCount,o=[];for(let s=1;s<=a;s++){let a=dA(e,s,n,t,o,r);i.push(a.page),o=a.deferredFootnoteIds}if(o.length>0&&a>0){let s=dA(e,a+1,n,t,o,r);i.push(s.page)}return{pages:i,totalPages:i.length,bookmarkPages:n.bookmarkPages,sectionBreaks:SA(n)}}function uA(e,t,n){let r=t+n,i=[];for(let n of e.exclusions){if(r<=n.yTop||t>=n.yBottom)continue;let a=Math.max(0,n.xLeft),o=Math.min(e.contentWidth,n.xRight);if(!(a>=o))switch(n.wrapSide){case`bothSides`:i.push({lo:a,hi:o});break;case`left`:i.push({lo:a,hi:e.contentWidth});break;case`right`:i.push({lo:0,hi:o});break;case`largest`:{let t=a;e.contentWidth-o>=t?i.push({lo:0,hi:o}):i.push({lo:a,hi:e.contentWidth});break}}}if(i.length===0)return{xOffset:0,width:e.contentWidth};i.sort((e,t)=>e.lo-t.lo);let a=[];for(let e of i){let t=a[a.length-1];t&&e.lo<=t.hi?t.hi=Math.max(t.hi,e.hi):a.push({lo:e.lo,hi:e.hi})}let o=[],s=0;for(let e of a)e.lo>s&&o.push({x:s,width:e.lo-s}),s=Math.max(s,e.hi);if(s<e.contentWidth&&o.push({x:s,width:e.contentWidth-s}),o.length===0)return{xOffset:0,width:e.contentWidth};let c=o[0];for(let e=1;e<o.length;e++)o[e].width>c.width&&(c=o[e]);return{xOffset:c.x,width:c.width}}function dA(e,t,n,r,i,a){let o=e.sectionProperties,s=xA(o,r?.pageGeometry),c=[],l=WA(e.images),u=[...i],d=[],f=0;for(let i=0;i<e.body.length;i++){if(n.contentPages[i]!==t)continue;let o=e.body[i];pA(o,u);let p={exclusions:d,contentWidth:s.contentWidth};switch(o.type){case`paragraph`:{let e=OA(o,f,s.contentWidth,r,p,l,a);c.push({...e,sourceIndex:i}),f=e.rect.y+e.rect.height;break}case`table`:{let e=kA(o,f,s.contentWidth,i,r,l);c.push(e),f=e.rect.y+e.rect.height;break}case`floatingImage`:{let e=JA(o,f,s.contentWidth,s.contentHeight,s,i,l);c.push(e);let t=o.simplePos!=null||o.horizontalPosition!=null||o.verticalPosition!=null,n=o.wrap?.style,r=n===`square`||n===`tight`||n===`through`;if(!t&&!o.behindDoc&&!r||n===`topAndBottom`){let t=o.wrap?.margins?.bottom?HA(o.wrap.margins.bottom):0;f=e.rect.y+e.rect.height+t}if(r&&!o.behindDoc){let t=e.wrap?.margins?.left??0,n=e.wrap?.margins?.right??0,r=e.wrap?.margins?.top??0,i=e.wrap?.margins?.bottom??0;d.push({xLeft:e.rect.x-t,xRight:e.rect.x+e.rect.width+n,yTop:e.rect.y-r,yBottom:e.rect.y+e.rect.height+i,wrapSide:e.wrap?.side??`bothSides`})}break}case`textBox`:{let e=XA(o,f,s.contentWidth,i,r,l);c.push(e),f=e.rect.y+e.rect.height;break}case`drawingShape`:{let e=ZA(o,f,s.contentWidth,i,r,l);c.push(e),f=e.rect.y+e.rect.height;break}case`chart`:case`chartEx`:{let e=QA(o,f,s.contentWidth,i);c.push(e),f=e.rect.y+e.rect.height;break}case`sdt`:{let e=$A(o,f,s.contentWidth,i,r,l);c.push(e),f=e.rect.y+e.rect.height;break}case`math`:{let e=ej(o,f,s.contentWidth,i,r);c.push(e),f=e.rect.y+e.rect.height;break}case`checkBox`:{let e=tj(o,f,i,r);c.push(e),f=e.rect.y+e.rect.height;break}case`tableOfContents`:{let e=nj(o,f,s.contentWidth,i,r,l);c.push(e),f=e.rect.y+e.rect.height;break}case`altChunk`:{let e=rj(o,f,s.contentWidth,i);c.push(e),f=e.rect.y+e.rect.height;break}case`opaqueDrawing`:{let e=ij(o,f,s.contentWidth,i);c.push(e),f=e.rect.y+e.rect.height;break}default:throw Error(`layoutDocumentFull: unhandled BodyContent variant ${o.type}`)}}let p=vA(e,t,s,r,l),m=yA(e,t,s,r,l),h=fA(e,u,s,r,s.marginTop+f,l),g;if(h.laid.length>0){let e=u.length>i.length?`separator`:`continuationSeparator`;g={y:h.laid[0].rect.y-4,kind:e}}return{page:{pageNumber:t,geometry:s,content:c,...p.length>0?{header:p}:{},...m.length>0?{footer:m}:{},...h.laid.length>0?{footnoteArea:h.laid}:{},...g?{footnoteSeparator:g}:{}},deferredFootnoteIds:h.deferred}}function fA(e,t,n,r,i,a){if(t.length===0||!e.footnotes||e.footnotes.length===0)return{laid:[],deferred:[]};let o=new Map;for(let t of e.footnotes)(t.type??`normal`)===`normal`&&o.set(t.id,t);let s=n.height-n.footerOffset,c=Math.max(0,s-i),l=new Set,u=[],d=[],f=[];for(let e of t){if(l.has(e))continue;l.add(e);let t=o.get(e);if(!t)continue;let i=[],s=0;for(let e of t.content){if(e.type!==`paragraph`)continue;let t=OA(e,s,n.contentWidth,r,void 0,a);i.push(t),s=t.rect.y+t.rect.height}u.push(i),d.push(s),f.push(e)}let p=[],m=[],h=[],g=0;for(let e=0;e<f.length;e++){let t=d[e],n=g+t,r=n<=c,i=p.length===0;r||i?(p.push(u[e]),m.push(t),g=n):h.push(f[e])}if(p.length===0)return{laid:[],deferred:h};let _=s-g,v=[],y=_;for(let e=0;e<p.length;e++){for(let t of p[e])v.push({...t,rect:{...t.rect,y:t.rect.y+y}});y+=m[e]}return{laid:v,deferred:h}}function pA(e,t){switch(e.type){case`paragraph`:mA(e,t);return;case`table`:for(let n of e.rows)for(let e of n.cells)for(let n of e.content)pA(n,t);return;case`textBox`:for(let n of e.content)pA(n,t);return;case`drawingShape`:if(e.textContent)for(let n of e.textContent)pA(n,t);return;case`sdt`:for(let n of e.content)n&&typeof n==`object`&&`type`in n&&pA(n,t);return;case`tableOfContents`:if(e.cachedParagraphs)for(let n of e.cachedParagraphs)pA(n,t);return;case`floatingImage`:case`math`:case`checkBox`:case`chart`:case`chartEx`:case`altChunk`:case`opaqueDrawing`:return}}function mA(e,t){for(let n of e.children)`type`in n&&n.type===`hyperlink`?hA(n,t):!(`type`in n)||n.type===void 0?gA(n,t):(n.type===`insertedRun`||n.type===`deletedRun`||n.type===`movedFromRun`||n.type===`movedToRun`)&&gA(n.run,t)}function hA(e,t){for(let n of e.children)(!(`type`in n)||n.type===void 0)&&gA(n,t)}function gA(e,t){if(!(!e||!Array.isArray(e.content)))for(let n of e.content)n.type===`footnoteRef`&&t.push(n.id)}function _A(e,t,n,r){let i=t=>e.find(e=>e.type===t);if(n&&t===1){let e=i(`first`);if(e)return e}if(r&&t%2==0){let e=i(`even`);if(e)return e}return i(`default`)??e[0]}function vA(e,t,n,r,i){let a=e.sectionProperties?.headers;if(!a||a.length===0)return[];let o=_A(a,t,e.sectionProperties?.titlePage===!0,e.settings?.evenAndOddHeaders===!0);if(!o)return[];let s=e.headers?.get(o.rId);if(!s)return[];let c=n.headerOffset;return bA(s.content.children,c,n,r,i)}function yA(e,t,n,r,i){let a=e.sectionProperties?.footers;if(!a||a.length===0)return[];let o=_A(a,t,e.sectionProperties?.titlePage===!0,e.settings?.evenAndOddHeaders===!0);if(!o)return[];let s=e.footers?.get(o.rId);if(!s)return[];let c=n.height-n.footerOffset;return bA(s.content.children,c,n,r,i)}function bA(e,t,n,r,i){let a=[],o=t;for(let t=0;t<e.length;t++){let s=e[t];if(s.type===`paragraph`){let e=OA(s,o,n.contentWidth,r,void 0,i);a.push(e),o=e.rect.y+e.rect.height}else if(s.type===`table`){let e=kA(s,o,n.contentWidth,t,r,i);a.push(e),o=e.rect.y+e.rect.height}}return a}function xA(e,t){let n=e?.pageSize?.width??12240,r=e?.pageSize?.height??15840,i=ul(n),a=ul(r),o=ul(e?.margins?.top??1440),s=ul(e?.margins?.bottom??1440),c=ul(e?.margins?.left??1440),l=ul(e?.margins?.right??1440),u=ul(e?.margins?.header??720),d=ul(e?.margins?.footer??720),f=t?.pageWidth??i,p=t?.pageHeight??a,m=t?.marginTop??o,h=t?.marginBottom??s,g=t?.marginLeft??c,_=t?.marginRight??l,v=t?.headerMargin??u,y=t?.footerMargin??d;return{width:f,height:p,marginTop:m,marginBottom:h,marginLeft:g,marginRight:_,contentWidth:f-g-_,contentHeight:p-m-h,headerOffset:v,footerOffset:y}}function SA(e){let t=[0],n=0;for(let r=0;r<e.contentPages.length;r++){let i=e.contentSections[r];i>n&&(t.push(e.contentPages[r]-1),n=i)}return t}function CA(e){let t=new Map,n=e.numberingInstances,r=e.abstractNumberings;if(!n||!r||n.length===0||r.length===0)return t;let i=new Map(n.map(e=>[e.numId,e])),a=new Map(r.map(e=>[e.abstractNumId,e])),o=new Map,s=new Set,c=new Set,l=[],u=e=>{for(let t of e)if(t.type===`paragraph`)l.push(t);else if(t.type===`table`)for(let e of t.rows)for(let t of e.cells)u(t.content)},d=e=>{let n=e.properties?.numbering;if(!n){for(let e of c)s.add(e);return}let r=i.get(n.numId);if(!r)return;let l=a.get(r.abstractNumId);if(!l)return;let u=n.level??0,d=r.overrides?.find(e=>e.level===u)?.levelDef??l.levels.find(e=>e.level===u);if(!d)return;c.add(n.numId);let f=(u+1)*36;if(d.format===`bullet`){let r=wA(d.text);t.set(e,{text:`${r} `,indentPt:f}),s.delete(n.numId);return}let p=o.get(n.numId);p||(p=[],o.set(n.numId,p)),s.has(n.numId)&&(p.length=0,s.delete(n.numId));let m=r.overrides?.find(e=>e.level===u)?.startOverride??d.start??1;p[u]===void 0?p[u]=m:p[u]+=1;for(let e=u+1;e<p.length;e++)p[e]=void 0;let h=p[u],g=TA(h,d.format),_=d.text?d.text.replace(/%\d+/g,g):`${g}.`;t.set(e,{text:`${_} `,indentPt:f})};u(e.body);for(let e of l)d(e);return t}function wA(e){if(!e||e.length===0)return`•`;switch(e.codePointAt(0)){case 61623:case 183:return`•`;case 61607:case 61608:return`▪`;case 61692:return`✓`;default:return e}}function TA(e,t){switch(t){case`lowerLetter`:return EA(e).toLowerCase();case`upperLetter`:return EA(e).toUpperCase();case`lowerRoman`:return DA(e).toLowerCase();case`upperRoman`:return DA(e).toUpperCase();case`decimalZero`:return e<10?`0${e}`:String(e);default:return String(e)}}function EA(e){let t=``,n=e;for(;n>0;){let e=(n-1)%26;t=String.fromCharCode(65+e)+t,n=Math.floor((n-1)/26)}return t||`A`}function DA(e){if(e<=0)return String(e);let t=[[1e3,`M`],[900,`CM`],[500,`D`],[400,`CD`],[100,`C`],[90,`XC`],[50,`L`],[40,`XL`],[10,`X`],[9,`IX`],[5,`V`],[4,`IV`],[1,`I`]],n=e,r=``;for(let[e,i]of t)for(;n>=e;)r+=i,n-=e;return r}function OA(e,t,n,r,i,a,o){let s=e.properties,c=s?.spacing,l=cj?rA(cj,e).runProperties:void 0,u=l?.size==null?RA(LA(s)):1,d=0;c?.beforeAutoSpacing?d=5:c?.before!=null&&(d=ul(c.before));let f=s?.indent,p=(o??sj)?.get(e),m=p?p.indentPt:0,h=Math.max(f?.left?ul(f.left):0,m),g=f?.firstLine?ul(f.firstLine):0,_=s?.alignment??`left`,v=lj*1.2;if(c?.line)switch(c.lineRule??`auto`){case`exact`:v=ul(c.line);break;case`atLeast`:v=Math.max(ul(c.line),v);break;case`auto`:v=lj*1.2*(c.line/240)}v*=u;let y=NA(MA(e),l);if(p){let e;for(let t of y)if(!(`type`in t)||t.type===void 0){e=t.properties;break}y.unshift({text:p.text,properties:e})}let b=n-h,x,S;if(i&&i.exclusions.length>0){let e=FA(y,h,g,u,v,t+d,i);x=e.lines,S=e.slots}else x=IA(y,b,g,u);let C=[],w=d;for(let e=0;e<x.length;e++){let t=x[e],n=[],r=S?.[e]??{xOffset:0,width:b},i=S?r.xOffset:h,o=S?r.width:b,s=e===0?g:0,c=0,l=v;for(let e of t)if(`type`in e&&e.type===`image`){let t=HA(e.content.width),n=HA(e.content.height);c+=t,n>l&&(l=n)}else{let t=zA(e.properties)*u,n=Kn(BA(e.properties),e.properties?.bold,e.properties?.italic);c+=Vn(e.text,n,t)}_===`center`?s=(o-c)/2:(_===`right`||_===`end`)&&(s=o-c),s+=i;for(let e of t){if(`type`in e&&e.type===`image`){let t=HA(e.content.width),r=HA(e.content.height),i=e.content.rId?a?.get(e.content.rId):void 0;n.push({type:`image`,x:s,width:t,height:r,data:i?.data??new Uint8Array,mimeType:UA(i?.mediaType),altText:e.content.altText}),s+=t;continue}let t=zA(e.properties)*u,r=BA(e.properties),i=Kn(r,e.properties?.bold,e.properties?.italic),o=Vn(e.text,i,t);n.push({text:e.text,x:s,width:o,font:r,fontSize:t,bold:e.properties?.bold||void 0,italic:e.properties?.italic||void 0,color:VA(e.properties?.color),underline:e.properties?.underline!==void 0||void 0,strikethrough:e.properties?.strike||void 0,verticalAlign:e.properties?.vertAlign===`superscript`||e.properties?.vertAlign===`subscript`?e.properties.vertAlign:void 0}),s+=o}let d=_===`both`?`justify`:_===`end`?`right`:_===`start`?`left`:_;C.push({y:w,height:l,baseline:l*.8,runs:n,alignment:d}),w+=l}C.length===0&&(w+=v);let ee=0;return c?.afterAutoSpacing?ee=5:c?.after!=null&&(ee=ul(c.after)),{type:`paragraph`,rect:{x:0,y:t,width:n,height:w+ee},lines:C,sourceIndex:0}}function kA(e,t,n,r,i,a){let o=jA(e,e.rows.length>0?e.rows[0].cells.length:0,n),s=[0];for(let e=0;e<o.length;e++)s.push(s[e]+o[e]);let c=[],l=0;for(let r=0;r<e.rows.length;r++){let u=e.rows[r],d=lj*1.5,f=0;for(let p=0;p<u.cells.length;p++){let m=u.cells[p],h=Math.max(1,m.properties?.gridSpan??1),g=Math.min(f,o.length-1),_=Math.min(f+h,o.length),v=s[g]??0,y=(s[_]??n)-v,b=[],x=2;for(let e of m.content)if(e.type===`paragraph`){let t=OA(e,x,y-4,i,void 0,a);b.push({...t,sourceIndex:-1}),x=t.rect.y+t.rect.height}else if(e.type===`table`){let t=kA(e,x,y-4,-1,i,a);b.push(t),x=t.rect.y+t.rect.height}let S=x+2;S>d&&(d=S),c.push({rect:{x:v,y:t+l,width:y,height:S},row:r,col:p,content:b,borders:AA(e.properties?.borders,m.properties?.borders,r===0,r===e.rows.length-1,g===0,_>=o.length)}),f+=h}for(let e of c)e.row===r&&(e.rect.height=d);l+=d}return{type:`table`,rect:{x:0,y:t,width:n,height:l},cells:c,sourceIndex:r}}function AA(e,t,n,r,i,a){let o=(e,t,n,r)=>{let i=e??(r?t:n);if(!i||i.style===`none`||i.style===`nil`)return;let a=i.size==null?.5:i.size/8,o=!i.color||i.color===`auto`?`000000`:i.color;return{width:Math.max(.25,a),color:o}},s=o(t?.top,e?.top,e?.insideH,n),c=o(t?.bottom,e?.bottom,e?.insideH,r),l=o(t?.left,e?.left,e?.insideV,i),u=o(t?.right,e?.right,e?.insideV,a);if(!(!s&&!c&&!l&&!u))return{...s?{top:s}:{},...c?{bottom:c}:{},...l?{left:l}:{},...u?{right:u}:{}}}function jA(e,t,n){if(t<=0)return[];let r=e.columnWidths;if(r&&r.length>=t){let e=r.slice(0,t).map(ul),i=e.reduce((e,t)=>e+t,0);if(i>0){let t=n/i;return e.map(e=>e*t)}}let i=n/t;return Array(t).fill(i)}function MA(e){let t=[];for(let n of e.children)if(pk(n))PA(n,t);else if(mk(n))for(let e of n.children)PA(e,t);return t}function NA(e,t){return t?e.map(e=>{let n=e.properties,r=n?{...t,...n}:t;return{...e,properties:r}}):e}function PA(e,t){let n=``;for(let r of e.content)r.type===`text`?n+=r.text:r.type===`tab`?n+=` `:r.type===`break`?n+=`
|
|
67
|
+
`:r.type===`image`&&(n.length>0&&(t.push({text:n,properties:e.properties}),n=``),t.push({type:`image`,content:r,properties:e.properties}));n.length>0&&t.push({text:n,properties:e.properties})}function FA(e,t,n,r,i,a,o){let s=[];for(let t of e){if(`type`in t&&t.type===`image`){s.push({width:HA(t.content.width),isSpace:!1,isImage:!0,properties:t.properties,imageContent:t.content});continue}let e=zA(t.properties)*r,n=Kn(BA(t.properties),t.properties?.bold,t.properties?.italic),i=t.text.split(/(\s+)/);for(let r of i)r.length!==0&&s.push({text:r,width:Vn(r,n,e),properties:t.properties,isSpace:/^\s+$/.test(r),isImage:!1})}let c=[],l=[];if(s.length===0)return{lines:c,slots:l};let u=0,d=0;for(;u<s.length;){let e=uA(o,a+d*i,i),r=d===0?n:0,f=e.width-r,p=e.xOffset+r;if(e.xOffset===0&&t>0&&(f-=t,p+=t),f<=0){if(c.push([]),l.push({xOffset:p,width:Math.max(0,f)}),d++,d>1e3)break;continue}if(s[u].isSpace&&(u++,u>=s.length))break;let m=[],h=0;for(;u<s.length;){let e=s[u],t=h+e.width;if(t>f&&m.length>0)break;m.push(e),h=t,u++}for(;m.length>0&&m[m.length-1].isSpace;){let e=m.pop();h-=e.width}let g=[];for(let e of m){if(e.isImage){g.push({type:`image`,content:e.imageContent,properties:e.properties});continue}let t=g[g.length-1];t&&!(`type`in t)&&t.properties===e.properties?g[g.length-1]={text:t.text+e.text,properties:e.properties}:g.push({text:e.text,properties:e.properties})}if(c.push(g),l.push({xOffset:p,width:f}),d++,d>1e5)break}return{lines:c,slots:l}}function IA(e,t,n,r){let i=[],a=[],o=0,s=!0,c=t-n,l=()=>{i.push(a),a=[],o=0,s&&(s=!1,c=t)};for(let t of e){if(`type`in t&&t.type===`image`){let e=HA(t.content.width);o+e<=c||a.length===0||l(),a.push(t),o+=e;continue}let e=t.text,n=zA(t.properties)*r,i=Kn(BA(t.properties),t.properties?.bold,t.properties?.italic),s=Vn(e,i,n);if(o+s<=c)a.push(t),o+=s;else{let r=e.split(/(\s+)/),s=``,u=0;for(let e of r){let r=Vn(e,i,n);o+u+r<=c||a.length===0&&s.length===0?(s+=e,u+=r):(s.length>0&&a.push({text:s,properties:t.properties}),l(),s=e,u=r)}s.length>0&&(a.push({text:s,properties:t.properties}),o+=u)}}return a.length>0&&i.push(a),i.length===0&&e.length>0&&i.push(e),i}function LA(e){if(!e)return 0;if(e.outlineLevel!==void 0&&e.outlineLevel>=0&&e.outlineLevel<=5)return e.outlineLevel+1;if(e.style){let t=/^[Hh]eading\s*(\d)$/i.exec(e.style);if(t)return parseInt(t[1],10)}return 0}function RA(e){switch(e){case 1:return 2;case 2:return 1.5;case 3:return 1.17;case 4:return 1;case 5:return .83;case 6:return .67;default:return 1}}function zA(e){let t=e?.size?e.size/2:lj;return e?.vertAlign===`superscript`||e?.vertAlign===`subscript`?t*.65:t}function BA(e){return e?.font?typeof e.font==`string`?e.font:e.font.ascii??`Calibri`:`Calibri`}function VA(e){if(e){if(typeof e==`string`)return e;if(typeof e==`object`&&`value`in e)return e.value}}function HA(e){return e/vl}function UA(e){switch(e){case`png`:return`image/png`;case`jpeg`:return`image/jpeg`;case`gif`:return`image/gif`;case`bmp`:return`image/bmp`;case`tiff`:return`image/tiff`;case`svg`:return`image/svg+xml`;case`webp`:return`image/webp`;case`emf`:return`image/x-emf`;case`wmf`:return`image/x-wmf`;default:return`application/octet-stream`}}function WA(e){let t=new Map;if(!e)return t;for(let n of e)if(n.rId&&t.set(n.rId,n),Array.isArray(n.altRIds))for(let e of n.altRIds)t.set(e,n);return t}function GA(e,t,n,r,i,a,o){if(e.simplePos!==void 0){let t=HA(e.simplePos.x??0),n=HA(e.simplePos.y??0);return{x:t-i.marginLeft,y:n-i.marginTop}}return{x:KA(e,n,i,a)??0,y:qA(e,t,r,i,o)??t}}function KA(e,t,n,r){let i=e.horizontalPosition;if(!i)return;let a=i.relativeTo??`column`,o=0,s=t;if(a===`page`?(o=-n.marginLeft,s=n.width):(a===`margin`||a===`leftMargin`||a===`rightMargin`)&&(o=0,s=t),i.align)switch(i.align){case`left`:case`inside`:return o;case`right`:case`outside`:return o+s-r;case`center`:return o+(s-r)/2}if(i.offset!=null)return o+HA(i.offset)}function qA(e,t,n,r,i){let a=e.verticalPosition;if(!a)return;let o=a.relativeTo??`paragraph`,s=t,c=n;if(o===`page`?(s=-r.marginTop,c=r.height):(o===`margin`||o===`topMargin`||o===`bottomMargin`)&&(s=0,c=n),a.align)switch(a.align){case`top`:case`inside`:return s;case`bottom`:case`outside`:return s+c-i;case`center`:return s+(c-i)/2}if(a.offset!=null)return s+HA(a.offset)}function JA(e,t,n,r,i,a,o){let s=HA(e.width),c=HA(e.height),{x:l,y:u}=GA(e,t,n,r,i,s,c),d=e.rId?o.get(e.rId):void 0,f=d?{type:`image`,rect:{x:l,y:u,width:s,height:c},data:d.data,mimeType:UA(d.mediaType),altText:e.altText,sourceIndex:a}:{type:`image`,rect:{x:l,y:u,width:s,height:c},data:new Uint8Array,mimeType:`application/octet-stream`,altText:e.altText,sourceIndex:a};return{type:`float`,rect:{x:l,y:u,width:s,height:c},content:f,behindText:e.behindDoc===!0,...e.wrap?{wrap:YA(e.wrap)}:{},sourceIndex:a}}function YA(e){let t={style:e.style};if(e.side&&(t.side=e.side),e.margins){let n={};e.margins.top!=null&&(n.top=HA(e.margins.top)),e.margins.bottom!=null&&(n.bottom=HA(e.margins.bottom)),e.margins.left!=null&&(n.left=HA(e.margins.left)),e.margins.right!=null&&(n.right=HA(e.margins.right)),Object.keys(n).length>0&&(t.margins=n)}return t}function XA(e,t,n,r,i,a){let o=e.width==null?n:ul(e.width),s=[],c=0;for(let t of e.content){let e=OA(t,c,o,i,void 0,a);s.push({...e,sourceIndex:r}),c=e.rect.y+e.rect.height}return{type:`textBox`,rect:{x:0,y:t,width:o,height:e.height==null?Math.max(c,12):ul(e.height)},content:s,border:e.stroke&&e.strokeColor?{width:.75,color:aj(e.strokeColor)}:void 0,background:e.fill&&e.fillColor?aj(e.fillColor):void 0,sourceIndex:r}}function ZA(e,t,n,r,i,a){let o=HA(e.width),s=HA(e.height),c=Math.min(o,n),l=[];if(e.textContent&&e.textContent.length>0){let t=0;for(let n of e.textContent){let e=OA(n,t,c,i,void 0,a);l.push({...e,sourceIndex:r}),t=e.rect.y+e.rect.height}}return{type:`shape`,rect:{x:0,y:t,width:o,height:s},preset:e.shapeType,fillColor:e.noFill?void 0:oj(e.fillColor),strokeColor:e.noOutline?void 0:oj(e.outlineColor),strokeWidth:e.outlineWidth==null?void 0:HA(e.outlineWidth),textContent:l.length>0?l:void 0,sourceIndex:r}}function QA(e,t,n,r){let i=e.type===`chart`?e.chart?.width??5486400:e.width??5486400,a=e.type===`chart`?e.chart?.height??3200400:e.height??3200400,o=Math.min(HA(i),n),s=HA(a),c=e.type===`chart`?e.chart?.title??e.name:e.name;return{type:`chart`,rect:{x:0,y:t,width:o,height:s},chartKind:e.type===`chart`?`chart`:`chartEx`,title:c,altText:e.altText,source:e,sourceIndex:r}}function $A(e,t,n,r,i,a){let o=[],s=0;for(let t of e.content)if(`type`in t){if(t.type===`paragraph`){let e=OA(t,s,n,i,void 0,a);o.push({...e,sourceIndex:r}),s=e.rect.y+e.rect.height}else if(t.type===`table`){let e=kA(t,s,n,r,i,a);o.push(e),s=e.rect.y+e.rect.height}}return{type:`sdt`,rect:{x:0,y:t,width:n,height:s},content:o,tag:e.properties?.tag,alias:e.properties?.alias,sourceIndex:r}}function ej(e,t,n,r,i){let a=Q(e.content),o;try{o=JO(e.content)}catch{o=void 0}let s=lj,c=s*1.2,l=Gn(i?.fonts?.get(`Cambria Math`)??`Cambria Math`);return{type:`math`,rect:{x:0,y:t,width:Math.min(Vn(a,l,s),n),height:c},text:a,mathML:o,sourceIndex:r}}function tj(e,t,n,r){let i=lj,a=e.checked===!0,o=a?e.checkedState?.value??`☑`:e.uncheckedState?.value??`☐`;return{type:`checkBox`,rect:{x:0,y:t,width:Vn(o,Gn(e.checkedState?.font??r?.fonts?.get(`MS Gothic`)??`MS Gothic`),i),height:i*1.2},checked:a,glyph:o,fontSize:i,sourceIndex:n}}function nj(e,t,n,r,i,a){let o=[],s=0;if(e.cachedParagraphs&&e.cachedParagraphs.length>0)for(let t of e.cachedParagraphs){let e=OA(t,s,n,i,void 0,a);o.push({...e,sourceIndex:r}),s=e.rect.y+e.rect.height}else{let e=OA({type:`paragraph`,children:[{content:[{type:`text`,text:`[Table of Contents]`}]}]},0,n,i,void 0,a);o.push({...e,sourceIndex:r}),s=e.rect.height}return{type:`tableOfContents`,rect:{x:0,y:t,width:n,height:s},entries:o,sourceIndex:r}}function rj(e,t,n,r){return{type:`altChunk`,rect:{x:0,y:t,width:n,height:36},contentType:e.contentType??`application/octet-stream`,fileName:e.fileName,sourceIndex:r}}function ij(e,t,n,r){return{type:`opaqueDrawing`,rect:{x:0,y:t,width:n,height:144},rawXml:e.rawXml,sourceIndex:r}}function aj(e){return e.startsWith(`#`)?e.slice(1):e}function oj(e){return e?aj(e):void 0}var sj,cj,lj,uj=n((()=>{er(),fk(),hk(),nA(),gk(),oA(),sA(),lj=12}));function dj(e){let t=Object.create(null);for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&!zh(n)&&(t[n]=e[n]);return t}function fj(e,t){return{type:`element`,name:e,attributes:dj(t),children:[]}}function pj(e,t){let n=e.children[e.children.length-1];n&&n.type===`text`?n.value+=t:e.children.push({type:`text`,value:t})}function mj(e,t){let n=t?.comments??!1,r=t?.processingInstructions??!1,i=t?.cdataAsNodes??!1,a=t?.fragment??!1,o=new AD({position:!0,fragment:t?.fragment??!1,xmlns:t?.xmlns??!1,maxDepth:t?.maxDepth,maxEntityExpansions:t?.maxEntityExpansions,invalidCharHandling:t?.invalidCharHandling}),s=fj(`__root__`,{}),c=[s],l,u;if(o.on(`error`,e=>{u||=e instanceof Q_?e:new Q_(e.message)}),o.on(`opentag`,e=>{let t=fj(e.name,e.attributes);e.prefix!==void 0&&(t.prefix=e.prefix,t.local=e.local,t.uri=e.uri),e.ns&&(t.ns={...e.ns}),c[c.length-1].children.push(t),e.isSelfClosing||c.push(t)}),o.on(`closetag`,e=>{!e.isSelfClosing&&c.length>1&&c.pop()}),o.on(`text`,e=>{e.length!==0&&pj(c[c.length-1],e)}),o.on(`cdata`,e=>{let t=c[c.length-1];if(i){let n={type:`cdata`,value:e};t.children.push(n)}else pj(t,e)}),n&&o.on(`comment`,e=>{let t=c[c.length-1],n={type:`comment`,value:e};t.children.push(n)}),o.on(`pi`,(e,t)=>{if(e===`xml`){let e={},n=/(\w+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g,r;for(;(r=n.exec(t))!==null;)e[r[1]]=r[2]??r[3];l=e}else r&&c[c.length-1].children.push({type:`processing-instruction`,target:e,body:t})}),o.write(e),o.close(),u)throw h(u);let d=s.children.filter(e=>e.type===`element`);if(d.length===0)throw new Q_(`document has no root element`);if(!a&&d.length>1)throw new Q_(`document has multiple root elements`);let f=s.children.filter(e=>e.type===`comment`||e.type===`processing-instruction`);return{declaration:l,root:d[0],roots:d,prologue:f}}function $(e,t){for(let n of e.children)if(n.type===`element`&&n.name===t)return n}function hj(e,t){let n=[];for(let r of e.children)r.type===`element`&&r.name===t&&n.push(r);return n}function gj(e){switch(e.type){case`text`:case`cdata`:return e.value;case`element`:{let t=``;for(let n of e.children)t+=gj(n);return t}default:return``}}var _j=n((()=>{v(),Wh(),$_(),jD()}));function vj(e,t,n,r){if(e)for(let i of e.children??[])i.type===`element`&&(t.has(i.name)||r.entries.push({name:i.name,path:`${n}/${i.name}`}))}function yj(e){let t=mj(e).root,n=$(t,`cx:chartData`),r=$(t,`cx:chart`),i={entries:[]};if(vj(t,tM,`cx:chartSpace`,i),r){vj(r,nM,`cx:chartSpace/cx:chart`,i);let e=$(r,`cx:plotArea`);if(e){vj(e,rM,`cx:chartSpace/cx:chart/cx:plotArea`,i);let t=$(e,`cx:plotAreaRegion`);if(t){vj(t,iM,`cx:chartSpace/cx:chart/cx:plotArea/cx:plotAreaRegion`,i);for(let e of hj(t,`cx:series`))vj(e,aM,`cx:chartSpace/cx:chart/cx:plotArea/cx:plotAreaRegion/cx:series`,i)}for(let t of hj(e,`cx:series`))vj(t,aM,`cx:chartSpace/cx:chart/cx:plotArea/cx:series`,i);for(let t of hj(e,`cx:axis`))vj(t,oM,`cx:chartSpace/cx:chart/cx:plotArea/cx:axis`,i)}}let a=Rj(r?$(r,`cx:spPr`):void 0),o=Rj($(t,`cx:spPr`))??a,s=hj(t,`cx:externalData`).map(e=>({id:e.attributes[`r:id`]??``,autoUpdate:Kj(e,`autoUpdate`)})),c=n?hj(n,`cx:externalData`).map(e=>({id:e.attributes[`r:id`]??``,autoUpdate:Kj(e,`autoUpdate`)})):[],l=s.length>0?s:c;return{chartSpace:{chartData:bj(n,i),chart:Tj(r,i),clrMapOvr:Bj(t,`cx:clrMapOvr`),spPr:o,txPr:zj(t,`cx:txPr`),protection:Bj(t,`cx:protection`),printSettings:Bj(t,`cx:printSettings`),extLst:Bj(t,`cx:extLst`),...l.length>0?{externalData:l}:{}},rawXml:e,...i.entries.length>0?{unknownElements:i.entries}:{}}}function bj(e,t){return e?{data:hj(e,`cx:data`).flatMap(e=>Sj(e,t))}:{data:[]}}function xj(e,t){let n=$(e,`cx:strDim`),r=$(e,`cx:numDim`);return{id:Zj(e.attributes.id),...n?{strDim:Cj(n,t)}:{},...r?{numDim:wj(r,t)}:{}}}function Sj(e,t){let n=Zj(e.attributes.id),r=[];for(let t of e.children)t.type===`element`&&(t.name===`cx:strDim`||t.name===`cx:numDim`)&&r.push(t);if(r.length<=1)return[xj(e,t)];let i=[];for(let e=0;e<r.length;e++){let a=r[e],o=e===0?n:n*1e3+1e7+e;a.name===`cx:strDim`?i.push({id:o,strDim:Cj(a,t)}):i.push({id:o,numDim:wj(a,t)})}return i}function Cj(e,t){return{type:$j(e.attributes.type,t,`cx:strDim/@type`),formula:Wj(e,`cx:f`),levels:hj(e,`cx:lvl`).map(e=>({ptCount:Xj(e.attributes.ptCount),points:hj(e,`cx:pt`).map(e=>({index:Zj(e.attributes.idx),value:gj(e)}))}))}}function wj(e,t){return{type:$j(e.attributes.type,t,`cx:numDim/@type`),formula:Wj(e,`cx:f`),levels:hj(e,`cx:lvl`).map(e=>({ptCount:Xj(e.attributes.ptCount),formatCode:e.attributes.formatCode,points:hj(e,`cx:pt`).map(e=>{let t=parseFloat(gj(e));if(Number.isFinite(t))return{index:Zj(e.attributes.idx),value:t}}).filter(e=>e!==void 0)}))}}function Tj(e,t){let n=e?$(e,`cx:plotArea`):void 0;return{title:e?Fj($(e,`cx:title`)):void 0,autoTitleDeleted:e?Kj($(e,`cx:autoTitleDeleted`),`val`):void 0,plotArea:Ej(n,t),legend:e?Pj($(e,`cx:legend`),t):void 0}}function Ej(e,t){if(!e)return{};let n=$(e,`cx:plotAreaRegion`),r=hj(e,`cx:axis`).map(e=>Nj(e,t));if(n){let i=$(n,`cx:plotSurface`);return{plotAreaRegion:{layout:Lj($(n,`cx:layout`)),plotSurface:i?Rj($(i,`cx:spPr`)):void 0,series:hj(n,`cx:series`).map(e=>Oj(e,t,`cx:chartSpace/cx:chart/cx:plotArea/cx:plotAreaRegion/cx:series`)),extLst:Bj(n,`cx:extLst`)},spPr:Rj($(e,`cx:spPr`)),extLst:Bj(e,`cx:extLst`),...r.length>0?{axis:r}:{}}}let i=hj(e,`cx:series`).map(e=>Oj(e,t,`cx:chartSpace/cx:chart/cx:plotArea/cx:series`));return{...i.length>0?{series:i}:{},spPr:Rj($(e,`cx:spPr`)),extLst:Bj(e,`cx:extLst`),...r.length>0?{axis:r}:{}}}function Dj(e,t,n){return e!==void 0&&sM.has(e)?{layoutId:e}:(t?.entries.push({name:e===void 0?`@layoutId(missing)`:`@layoutId=${e}`,path:n}),{layoutId:`clusteredColumn`,rawLayoutId:e})}function Oj(e,t,n){let r=hj(e,`cx:dataId`).map(e=>({dataId:Zj(e.attributes.val)})),i=hj(e,`cx:axisId`).map(e=>{let t=e.attributes.val;if(t!==void 0&&t!==``)return Zj(t);let n=gj(e).trim();if(n.length>0){let e=Number(n);if(Number.isFinite(e)&&e>=0)return Math.round(e)}}).filter(e=>e!==void 0),a=kj($(e,`cx:tx`)),o=Aj($(e,`cx:layoutPr`)),s=Dj(e.attributes.layoutId,t,n??`cx:series`);return{layoutId:s.layoutId,...s.rawLayoutId===void 0?{}:{rawLayoutId:s.rawLayoutId},hidden:Kj(e,`hidden`),ownerIdx:Xj(e.attributes.ownerIdx),...a?{tx:a}:{},spPr:Rj($(e,`cx:spPr`)),txPr:zj(e,`cx:txPr`),valueColors:Bj(e,`cx:valueColors`),valueColorPositions:Bj(e,`cx:valueColorPositions`),...r.length>0?{dataRefs:r}:{},...o?{layoutPr:o}:{},...i.length>0?{axisId:i}:{},dataLabels:jj($(e,`cx:dataLabels`),t,n),dataPt:hj(e,`cx:dataPt`).map(e=>({idx:Zj(e.attributes.idx),spPr:Rj($(e,`cx:spPr`))})),extLst:Bj(e,`cx:extLst`)}}function kj(e){if(!e)return;let t=$(e,`cx:rich`);if(t){let e=Ij(t);if(e)return{rich:e}}let n=$(e,`cx:txData`);if(!n)return;let r=Wj(n,`cx:f`);if(r){let e=Wj(n,`cx:v`);return{strRef:e===void 0?{formula:r}:{formula:r,cached:e}}}let i=Wj(n,`cx:v`);return i===void 0?void 0:{value:i}}function Aj(e){if(!e)return;let t=$(e,`cx:binning`),n=$(e,`cx:subtotals`),r=n?[...hj(n,`cx:idx`).map(e=>({idx:Zj(e.attributes.val)})),...hj(n,`cx:subtotal`).map(e=>({idx:Zj(e.attributes.idx)}))]:void 0,i=Gj(e,`cx:parentLabelLayout`),a=$(e,`cx:visibility`),o=$(e,`cx:statistics`),s=$(e,`cx:geography`),c=$(e,`cx:regionLabelLayout`),l=o?.attributes.quartileMethod??Gj(e,`cx:quartileMethod`),u=s?.attributes.projectionType??Gj(e,`cx:projection`),d=c?.attributes.val??Gj(e,`cx:regionLabels`),f=d===`bestFitOnly`?`bestFit`:d,p=s?.attributes.viewedRegionType??Gj(e,`cx:geoMappingLevel`),m=p===`countryRegion`?`country`:p===`dataOnly`?`automatic`:p;return{_rawXml:Hj(e),...i===void 0?{}:{parentLabelLayout:i},...r===void 0?{}:{subtotals:r},...(()=>{let t=a?.attributes.connectorLines;if(t!==void 0){let e=qj(t);return e===void 0?{}:{connectorLines:e}}let n=Jj($(e,`cx:connectorLines`));return n===void 0?{}:{connectorLines:n}})(),...t?{binning:{intervalClosed:t.attributes.intervalClosed===`l`||t.attributes.intervalClosed===`r`?t.attributes.intervalClosed:void 0,underflow:Qj(t.attributes.underflow),overflow:Qj(t.attributes.overflow),binSize:Qj((Wj(t,`cx:binSize`)||void 0)??Gj(t,`cx:binSize`)),binCount:Xj((Wj(t,`cx:binCount`)||void 0)??Gj(t,`cx:binCount`)),binType:$(t,`cx:auto`)?`auto`:$(t,`cx:categories`)?`categories`:$(t,`cx:manual`)?`manual`:$(t,`cx:binSize`)?`binSize`:$(t,`cx:binCount`)?`binCount`:`auto`}}:{},...(()=>{let t=Jj($(e,`cx:paretoLine`));return t===void 0?{}:{paretoLine:t}})(),...l===void 0?{}:{quartileMethod:l},...(()=>{let t=a?.attributes.meanLine;if(t!==void 0){let e=qj(t);return e===void 0?{}:{showMeanLine:e}}let n=Jj($(e,`cx:showMeanLine`));return n===void 0?{}:{showMeanLine:n}})(),...(()=>{let t=a?.attributes.meanMarker;if(t!==void 0){let e=qj(t);return e===void 0?{}:{showMeanMarker:e}}let n=Jj($(e,`cx:showMeanMarker`));return n===void 0?{}:{showMeanMarker:n}})(),...(()=>{let t=a?.attributes.nonoutliers;if(t!==void 0){let e=qj(t);return e===void 0?{}:{showInnerPoints:e}}let n=Jj($(e,`cx:showInnerPoints`));return n===void 0?{}:{showInnerPoints:n}})(),...(()=>{let t=a?.attributes.outliers;if(t!==void 0){let e=qj(t);return e===void 0?{}:{showOutlierPoints:e}}let n=Jj($(e,`cx:showOutlierPoints`));return n===void 0?{}:{showOutlierPoints:n}})(),...u===void 0?{}:{projection:u},...f===void 0?{}:{regionLabels:f},...m===void 0?{}:{geoMappingLevel:m},extLst:Bj(e,`cx:extLst`)}}function jj(e,t,n){if(!e)return;let r=$(e,`cx:visibility`),i=[`ctr`,`l`,`r`,`t`,`b`,`inBase`,`inEnd`,`inStart`,`outEnd`,`outStart`,`ctrEnd`,`bestFit`],a=n??`cx:dataLabels`;return{visibility:r?{seriesName:Kj(r,`seriesName`),categoryName:Kj(r,`categoryName`),value:Kj(r,`value`),numFmt:Kj(r,`numFmt`)}:void 0,position:Yj($(e,`cx:dataLabel`)?.attributes.pos,i,t,`${a}/cx:dataLabel/@pos`),separator:Wj(e,`cx:separator`),numFmt:$(e,`cx:numFmt`)?.attributes.formatCode,spPr:Rj($(e,`cx:spPr`)),txPr:zj(e,`cx:txPr`)}}function Mj(e){if(!e)return;let t=$(e,`cx:spPr`);return t?Rj(t):{}}function Nj(e,t){let n=$(e,`cx:numFmt`),r=$(e,`cx:valScaling`),i=$(e,`cx:catScaling`),a=[`cross`,`in`,`out`,`none`],o=e=>{if(e!==void 0)return e===`in`?`inside`:e===`out`?`outside`:e};return{axisId:Zj(e.attributes.id),type:$(e,`cx:valScaling`)?`val`:`cat`,hidden:Kj(e,`hidden`)??Jj($(e,`cx:hidden`)),majorTickMark:o(Yj($(e,`cx:majorTickMarks`)?.attributes.type??$(e,`cx:majorTickMark`)?.attributes.type??Gj(e,`cx:majorTickMarks`)??Gj(e,`cx:majorTickMark`),a,t,`cx:axis/cx:majorTickMarks/@type`)),minorTickMark:o(Yj($(e,`cx:minorTickMarks`)?.attributes.type??$(e,`cx:minorTickMark`)?.attributes.type??Gj(e,`cx:minorTickMarks`)??Gj(e,`cx:minorTickMark`),a,t,`cx:axis/cx:minorTickMarks/@type`)),numFmt:n?{formatCode:n.attributes.formatCode||`General`,sourceLinked:Kj(n,`sourceLinked`)}:void 0,title:Fj($(e,`cx:title`)),majorGridlines:Mj($(e,`cx:majorGridlines`)),minorGridlines:Mj($(e,`cx:minorGridlines`)),spPr:Rj($(e,`cx:spPr`)),txPr:zj(e,`cx:txPr`),valScaling:r?{min:Qj(r.attributes.min),max:Qj(r.attributes.max),majorUnit:Qj(r.attributes.majorUnit),minorUnit:Qj(r.attributes.minorUnit)}:void 0,catScaling:i?{gapWidth:Qj(i.attributes.gapWidth)}:void 0,units:Bj(e,`cx:units`),extLst:Bj(e,`cx:extLst`)}}function Pj(e,t){if(e)return{legendPos:Yj(e.attributes.pos,[`b`,`l`,`r`,`t`,`tr`],t,`cx:legend/@pos`),align:Yj(e.attributes.align,[`ctr`,`l`,`r`,`t`,`b`],t,`cx:legend/@align`),overlay:Kj(e,`overlay`),spPr:Rj($(e,`cx:spPr`)),txPr:zj(e,`cx:txPr`),extLst:Bj(e,`cx:extLst`),legendEntries:hj(e,`cx:legendEntry`).map(e=>({index:Zj(e.attributes.idx),delete:Kj(e,`delete`),txPr:zj(e,`cx:txPr`),extLst:Bj(e,`cx:extLst`)}))}}function Fj(e){if(!e)return;let t=$(e,`cx:tx`),n=Ij($(t??eM(),`cx:rich`)),r=$(t??eM(),`cx:txData`),i=r?Wj(r,`cx:f`):void 0,a=r?Wj(r,`cx:v`):void 0,o=i?{formula:i,cache:a===void 0?{points:[]}:{points:[{index:0,value:a}]}}:void 0,s=Kj($(e,`cx:overlay`),`val`),c=Rj($(e,`cx:spPr`)),l=zj(e,`cx:txPr`),u=Bj(e,`cx:tx`);if(!(n===void 0&&o===void 0&&s===void 0&&c===void 0&&l===void 0&&(u===void 0||/^<cx:tx\s*\/>$/.test(u.trim()))))return{text:n,strRef:o,overlay:s,spPr:c,txPr:l,rawTx:u}}function Ij(e){if(!e)return;let t=hj(e,`a:p`).map(e=>({runs:hj(e,`a:r`).map(e=>{let t=Wj(e,`a:t`)??``,n=$(e,`a:rPr`);if(!n)return{text:t};let r=Vj(n);if(!r)return{text:t};let i=Kv({_rawXml:`<a:txPr><a:p>${r.replace(/^<a:rPr\b/,`<a:defRPr`).replace(/<\/a:rPr>$/,`</a:defRPr>`)}</a:p></a:txPr>`});if(!i||Object.keys(i).length===0)return{text:t};let{_rawXml:a,...o}=i;return{text:t,properties:o}})}));return t.length>0?{paragraphs:t}:void 0}function Lj(e){let t=Vj(e);return t?{_rawXml:t}:void 0}function Rj(e){let t=Vj(e);if(t)return{...Av({_rawXml:t}),_rawXml:t}}function zj(e,t){let n=Bj(e,t);if(n)return{...Kv({_rawXml:n}),_rawXml:n}}function Bj(e,t){return Vj($(e,t))}function Vj(e){if(e)return Hj(e)}function Hj(e){let t=Object.entries(e.attributes??{}).map(([e,t])=>` ${e}="${ln(t)}"`).join(``),n=e.children??[];return n.length===0?`<${e.name}${t}/>`:`<${e.name}${t}>${n.map(Uj).join(``)}</${e.name}>`}function Uj(e){return e.type===`text`?ov(e.value??``):e.type===`element`?Hj(e):e.type===`cdata`?`<![CDATA[${e.value??``}]]>`:e.type===`comment`?`<!--${e.value??``}-->`:e.type===`processing-instruction`?`<?${e.target}${e.body?` ${e.body}`:``}?>`:``}function Wj(e,t){let n=$(e,t);return n?gj(n):void 0}function Gj(e,t){return $(e,t)?.attributes.val}function Kj(e,t){let n=e?.attributes[t];if(n!==void 0)return qj(n)}function qj(e){if(e!==void 0){if(e===`1`||e===`true`)return!0;if(e===`0`||e===`false`)return!1}}function Jj(e){if(e)return e.attributes.val===void 0||Kj(e,`val`)}function Yj(e,t,n,r){if(e!==void 0){if(t.includes(e))return e;n?.entries.push({name:`${r}=${e}`,path:r})}}function Xj(e){if(e===void 0)return;let t=parseInt(e,10);return Number.isFinite(t)?t:void 0}function Zj(e){if(e===void 0||e===``)return 0;let t=parseInt(e,10);return!Number.isFinite(t)||t<0?0:t}function Qj(e){if(e===void 0)return;let t=parseFloat(e);return Number.isFinite(t)?t:void 0}function $j(e,t,n){let r=[`cat`,`val`,`x`,`y`,`size`,`colorVal`,`from`,`to`,`classification`];if(e===void 0)return`val`;if(r.includes(e))return e;let i=n??`cx:dim/@type`;return t?.entries.push({name:`${i}=${e}`,path:i}),`val`}function eM(){return{type:`element`,name:``,attributes:{},children:[]}}var tM,nM,rM,iM,aM,oM,sM,cM=n((()=>{xv(),$v(),_j(),tM=new Set([`cx:chartData`,`cx:chart`,`cx:clrMapOvr`,`cx:spPr`,`cx:txPr`,`cx:protection`,`cx:printSettings`,`cx:externalData`,`cx:extLst`]),nM=new Set([`cx:title`,`cx:autoTitleDeleted`,`cx:plotArea`,`cx:legend`,`cx:spPr`,`cx:extLst`]),rM=new Set([`cx:plotAreaRegion`,`cx:series`,`cx:axis`,`cx:spPr`,`cx:extLst`]),iM=new Set([`cx:layout`,`cx:plotSurface`,`cx:spPr`,`cx:series`,`cx:extLst`]),aM=new Set([`cx:tx`,`cx:spPr`,`cx:txPr`,`cx:valueColors`,`cx:valueColorPositions`,`cx:dataPt`,`cx:dataLabels`,`cx:dataId`,`cx:layoutPr`,`cx:axisId`,`cx:extLst`]),oM=new Set([`cx:catScaling`,`cx:valScaling`,`cx:hidden`,`cx:majorTickMark`,`cx:majorTickMarks`,`cx:minorTickMark`,`cx:minorTickMarks`,`cx:numFmt`,`cx:title`,`cx:units`,`cx:majorGridlines`,`cx:minorGridlines`,`cx:spPr`,`cx:txPr`,`cx:extLst`]),sM=new Set([`clusteredColumn`,`waterfall`,`funnel`,`boxWhisker`,`paretoLine`,`regionMap`,`sunburst`,`treemap`])}));function lM(e){switch(e){case`bar`:return{type:`bar`,barDir:`bar`,grouping:`clustered`};case`barStacked`:return{type:`bar`,barDir:`bar`,grouping:`stacked`};case`barPercentStacked`:return{type:`bar`,barDir:`bar`,grouping:`percentStacked`};case`column`:return{type:`bar`,barDir:`col`,grouping:`clustered`};case`columnStacked`:return{type:`bar`,barDir:`col`,grouping:`stacked`};case`columnPercentStacked`:return{type:`bar`,barDir:`col`,grouping:`percentStacked`};case`line`:return{type:`line`,grouping:`standard`};case`lineStacked`:return{type:`line`,grouping:`stacked`};case`lineMarked`:return{type:`line`,grouping:`standard`};case`pie`:return{type:`pie`};case`pie3D`:return{type:`pie3D`};case`doughnut`:return{type:`doughnut`};case`area`:return{type:`area`,grouping:`standard`};case`areaStacked`:return{type:`area`,grouping:`stacked`};case`scatter`:return{type:`scatter`,scatterStyle:`lineMarker`};case`scatterSmooth`:return{type:`scatter`,scatterStyle:`smooth`};case`radar`:return{type:`radar`,radarStyle:`standard`};case`radarFilled`:return{type:`radar`,radarStyle:`filled`};case`bubble`:return{type:`bubble`};case`stock`:return{type:`stock`};case`surface`:return{type:`surface`};case`surface3D`:return{type:`surface3D`};case`surfaceWireframe`:return{type:`surface`,wireframe:!0};case`surfaceWireframe3D`:return{type:`surface3D`,wireframe:!0};default:return{type:`bar`,barDir:`col`,grouping:`clustered`}}}function uM(e){return{strLit:{pointCount:e.length,points:e.map((e,t)=>({index:t,value:e}))}}}function dM(e){return{numLit:{pointCount:e.length,points:e.map((e,t)=>({index:t,value:e}))}}}function fM(e){if(!(!e||e===`none`))return{b:`b`,l:`l`,r:`r`,t:`t`,tr:`tr`}[e]??`r`}function pM(e){let t=lM(e.type),n=mM(e,t),r=hM(t,e),i=e.legend&&e.legend!==`none`?{legendPos:fM(e.legend)}:void 0;return{chart:{title:e.title?{text:{paragraphs:[{runs:[{text:e.title}]}]}}:void 0,autoTitleDeleted:!e.title,plotArea:{chartTypes:[n],axes:r},legend:i,plotVisOnly:!0}}}function mM(e,t){let{type:n}=t;switch(n){case`bar`:case`bar3D`:{let r=e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:uM(e.categories),val:dM(e.values)}));return{type:n,barDir:t.barDir??`col`,grouping:t.grouping??`clustered`,varyColors:e.series.length===1,series:r,axisIds:[1,2]}}case`line`:case`line3D`:{let r=e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:uM(e.categories),val:dM(e.values)}));return{type:n,grouping:t.grouping??`standard`,varyColors:!1,series:r,axisIds:[1,2]}}case`pie`:case`pie3D`:return{type:n,varyColors:!0,series:e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:uM(e.categories),val:dM(e.values)}))};case`doughnut`:return{type:`doughnut`,varyColors:!0,series:e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:uM(e.categories),val:dM(e.values)})),holeSize:50};case`area`:case`area3D`:{let r=e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:uM(e.categories),val:dM(e.values)}));return{type:n,grouping:t.grouping??`standard`,varyColors:!1,series:r,axisIds:[1,2]}}case`scatter`:{let n=e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},xVal:uM(e.categories),yVal:dM(e.values)}));return{type:`scatter`,scatterStyle:t.scatterStyle??`lineMarker`,varyColors:!1,series:n,axisIds:[1,2]}}case`radar`:{let n=e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:uM(e.categories),val:dM(e.values)}));return{type:`radar`,radarStyle:t.radarStyle??`standard`,varyColors:!1,series:n,axisIds:[1,2]}}case`surface`:case`surface3D`:{let r=e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:uM(e.categories),val:dM(e.values)}));return{type:n,wireframe:t.wireframe,series:r,axisIds:[1,2,3]}}case`bubble`:return{type:`scatter`,scatterStyle:`lineMarker`,varyColors:!1,series:e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},xVal:uM(e.categories),yVal:dM(e.values)})),axisIds:[1,2]};case`stock`:return{type:`line`,grouping:`standard`,varyColors:!1,series:e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:uM(e.categories),val:dM(e.values)})),axisIds:[1,2]};default:return{type:`bar`,barDir:`col`,grouping:`clustered`,varyColors:!1,series:e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:uM(e.categories),val:dM(e.values)})),axisIds:[1,2]}}}function hM(e,t){let{type:n}=e;if(n===`pie`||n===`pie3D`||n===`doughnut`)return[];let r=[{axisType:`cat`,axId:1,axPos:`b`,crossAx:2,scaling:{},delete:t.categoryAxis?.hidden},{axisType:`val`,axId:2,axPos:`l`,crossAx:1,scaling:{min:t.valueAxis?.min,max:t.valueAxis?.max},majorUnit:t.valueAxis?.majorUnit,delete:t.valueAxis?.hidden,numFmt:t.valueAxis?.numberFormat?{formatCode:t.valueAxis.numberFormat,sourceLinked:!1}:void 0}];return(n===`surface`||n===`surface3D`)&&r.push({axisType:`ser`,axId:3,axPos:`b`,crossAx:2,scaling:{}}),r}var gM=n((()=>{})),_M=r({createWordChartPdfRenderer:()=>vM,createWordLayoutChartPdfRenderer:()=>yM});function vM(){return(e,t,n)=>{lx(t,pM(e),n)}}function yM(){return(e,t,n)=>{let r=e.source;if(e.chartKind===`chart`){if(r&&r.type===`chart`){lx(t,pM(r.chart),n);return}return!1}if(r&&r.type===`chartEx`&&r.chartExXml){let i;try{i=yj(r.chartExXml)}catch{return!1}if(i&&Cw(i)){ww(t,i,n,{title:e.title});return}}return!1}}var bM=n((()=>{ZT(),hw(),cM(),gM()})),xM=r({docxToPdf:()=>SM});async function SM(e,t){let n=CM(e,t),r;try{let e=await Promise.resolve().then(()=>(bM(),_M));typeof e.createWordLayoutChartPdfRenderer==`function`&&(r=e.createWordLayoutChartPdfRenderer())}catch{}let i=cA(e,n),a=t?.chartRenderer;return SO(i,{title:e.coreProperties?.title,author:e.coreProperties?.creator,subject:e.coreProperties?.subject,defaultFont:t?.defaultFont??`Helvetica`,defaultFontSize:t?.defaultFontSize??11,chartRenderer:a||r?(e,t,n)=>{let i=e.source;if(a&&i&&i.type===`chart`){let e=a(i.chart,t,n);if(e!==!1)return e}return r?r(e,t,n):!1}:void 0}).build()}function CM(e,t){let n=e.sectionProperties,r,i;n?.pageSize&&(r=ul(n.pageSize.width),i=ul(n.pageSize.height),n.pageSize.orientation===`landscape`&&([r,i]=[i,r]));let a=n?.margins?.top==null?void 0:ul(n.margins.top),o=n?.margins?.bottom==null?void 0:ul(n.margins.bottom),s=n?.margins?.left==null?void 0:ul(n.margins.left),c=n?.margins?.right==null?void 0:ul(n.margins.right),l={pageWidth:t?.pageWidth??r,pageHeight:t?.pageHeight??i,marginTop:t?.marginTop??a,marginBottom:t?.marginBottom??o,marginLeft:t?.marginLeft??s,marginRight:t?.marginRight??c,headerMargin:t?.headerMargin,footerMargin:t?.footerMargin},u={};return Object.values(l).some(e=>e!==void 0)&&(u.pageGeometry=l),u}var wM=n((()=>{qO(),bl(),uj()})),TM=r({Builder:()=>tl,Editor:()=>vm,EditorPage:()=>_m,PageBuilder:()=>el,PageSizes:()=>cl,asn1Parse:()=>qs,buildSignatureDictPlaceholder:()=>cc,create:()=>Ju,fromChart:()=>DM,fromDocx:()=>OM,fromExcel:()=>EM,parseSvgPath:()=>Ic,read:()=>$p,sign:()=>lc,verifySignature:()=>sc,wordChartRenderer:()=>kM});nl(),Fc(),ll();async function EM(e,t){let{excelToPdf:n}=await Promise.resolve().then(()=>(xO(),PD));return n(e,t)}async function DM(e,t){let{chartToPdf:n}=await Promise.resolve().then(()=>(xO(),PD));return n(e,t)}async function OM(e,t){let{docxToPdf:n}=await Promise.resolve().then(()=>(wM(),xM));return n(e,t)}async function kM(){let{createWordChartPdfRenderer:e}=await Promise.resolve().then(()=>(bM(),_M));return e()}$t(),Object.defineProperty(e,"Pdf",{enumerable:!0,get:function(){return TM}}),e.PdfError=Xt,e.PdfFontError=Qt,e.PdfRenderError=Zt,e.PdfStructureError=T,e.isPdfError=Yt})(this.Documonster.Pdf=this.Documonster.Pdf||{});
|