documonster 0.20.1 → 0.20.2
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/README.md +1 -1
- package/README_zh.md +1 -1
- package/dist/esm/modules/excel/core/cell.js +5 -6
- package/dist/esm/modules/excel/core/pivot-table.js +17 -9
- package/dist/esm/modules/excel/stream/xlsb-worksheet-reader.js +4 -6
- package/dist/esm/modules/excel/utils/cell-format-parse.js +112 -174
- package/dist/esm/modules/excel/utils/cell-format.js +42 -946
- package/dist/esm/modules/formula/functions/text.js +23 -631
- package/dist/esm/modules/pdf/excel-bridge.js +5 -5
- package/dist/esm/utils/number-format-render.js +814 -0
- package/dist/esm/utils/number-format.js +477 -0
- package/dist/esm/utils/utils.base.js +3 -70
- package/dist/iife/documonster.archive.iife.min.js +1 -1
- package/dist/iife/documonster.csv.iife.min.js +1 -1
- package/dist/iife/documonster.draw.iife.min.js +1 -1
- package/dist/iife/documonster.excel.iife.min.js +50 -50
- package/dist/iife/documonster.formula.iife.min.js +1 -1
- package/dist/iife/documonster.markdown.iife.min.js +1 -1
- package/dist/iife/documonster.mermaid.iife.min.js +1 -1
- package/dist/iife/documonster.pdf.iife.min.js +18 -18
- package/dist/iife/documonster.stream.iife.min.js +1 -1
- package/dist/iife/documonster.word.iife.min.js +60 -60
- package/dist/iife/documonster.xml.iife.min.js +1 -1
- package/dist/types/modules/excel/core/cell.d.ts +11 -0
- package/dist/types/modules/excel/core/pivot-table.d.ts +7 -0
- package/dist/types/modules/excel/utils/cell-format-parse.d.ts +13 -9
- package/dist/types/modules/excel/utils/cell-format.d.ts +21 -33
- package/dist/types/modules/excel/utils/text-metrics.d.ts +1 -0
- package/dist/types/utils/number-format-render.d.ts +47 -0
- package/dist/types/utils/number-format.d.ts +215 -0
- package/dist/types/utils/utils.base.d.ts +1 -9
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* documonster v0.20.
|
|
2
|
+
* documonster v0.20.2
|
|
3
3
|
* Zero-dependency TypeScript toolkit for Excel, Word, PDF, CSV, Markdown, XML & ZIP — one API across Node.js, Bun & browsers.
|
|
4
4
|
* (c) 2025 cjnoname
|
|
5
5
|
* Released under the Apache-2.0 License
|
|
@@ -39,30 +39,30 @@ endstream
|
|
|
39
39
|
`;let b=e.encode(y);return t.push(b),pe(t)}}}));function kn(e){let t=e.length,n=-1;for(let r=0;r<t;r++){let t=e.charCodeAt(r);if(t<128){if(Mn[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=Mn[t];if(n===0)continue;i<a&&r.push(e.substring(i,a)),n===1&&r.push(Nn[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 An(e){let t=kn(e);return t.indexOf(` `)===-1&&t.indexOf(`
|
|
40
40
|
`)===-1&&t.indexOf(`\r`)===-1?t:t.replace(/\r/g,`
`).replace(/\n/g,`
`).replace(/\t/g,`	`)}function jn(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 Mn,Nn,Pn=n((()=>{Mn=/* @__PURE__ */ (()=>{let e=/* @__PURE__ */ 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})(),Nn={34:`"`,38:`&`,39:`'`,60:`<`,62:`>`}}));function Fn(){let e=Rn(`sRGB IEC61966-2.1`),t=zn(.9505,1,1.089),n=Bn(`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),In(o,12,`mntr`),In(o,16,`RGB `),In(o,20,`XYZ `),s.setUint16(24,2e3),s.setUint16(26,1),s.setUint16(28,1),In(o,36,`acsp`),In(o,40,`APPL`),s.setUint32(64,0),Ln(s,68,.9642),Ln(s,72,1),Ln(s,76,.8249),s.setUint32(128,3),In(o,132,`desc`),s.setUint32(136,168),s.setUint32(140,e.length),In(o,144,`wtpt`),s.setUint32(148,r),s.setUint32(152,t.length),In(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 In(e,t,n){for(let r=0;r<n.length;r++)e[t+r]=n.charCodeAt(r)}function Ln(e,t,n){let r=Math.round(n*65536);e.setInt32(t,r)}function Rn(e){let t=e.length+1,n=12+t+4+4+2+67,r=new Uint8Array(n),i=new DataView(r.buffer);In(r,0,`desc`),i.setUint32(8,t);for(let t=0;t<e.length;t++)r[12+t]=e.charCodeAt(t);return r}function zn(e,t,n){let r=/* @__PURE__ */ new Uint8Array(20),i=new DataView(r.buffer);return In(r,0,`XYZ `),Ln(i,8,e),Ln(i,12,t),Ln(i,16,n),r}function Bn(e){let t=e.length+1,n=new Uint8Array(8+t);In(n,0,`text`);for(let t=0;t<e.length;t++)n[8+t]=e.charCodeAt(t);return n}function Vn(e,t){let n=e=>e.toISOString().replace(/\.\d{3}Z$/,`Z`),r=t.creationDate??/* @__PURE__ */ new Date,i=n(r),a=n(t.modDate??r),o=kn(t.title??``),c=kn(t.author??``),l=kn(t.subject??``),u=kn(t.creator??`documonster`),d=[`<?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">`+o+`</rdf:li></rdf:Alt>`,` </dc:title>`,` <dc:creator>`,` <rdf:Seq><rdf:li>`+c+`</rdf:li></rdf:Seq>`,` </dc:creator>`,` <dc:description>`,` <rdf:Alt><rdf:li xml:lang="x-default">`+l+`</rdf:li></rdf:Alt>`,` </dc:description>`,` <xmp:CreatorTool>`+u+`</xmp:CreatorTool>`,` <xmp:CreateDate>`+i+`</xmp:CreateDate>`,` <xmp:ModifyDate>`+a+`</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(`
|
|
41
41
|
`),f=new TextEncoder().encode(d),m=e.allocObject(),h=new p().set(`Type`,`/Metadata`).set(`Subtype`,`/XML`).set(`Length`,s(f.length));return e.addStreamObject(m,h,f,{compress:!1}),m}function Hn(e){let t=e.allocObject(),n=new p().set(`N`,s(3)).set(`Length`,s(Un.length));e.addStreamObject(t,n,Un);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 Un,Wn=n((()=>{m(),Pn(),Un=Fn()}));function Gn(e,t=0){if(!Number.isFinite(t)||!Number.isInteger(t))throw new _(`TrueType collection index must be a finite integer`);if(t<0)throw new _(`TrueType collection index must not be negative`);if(e.byteLength<4)throw new _(e.byteLength===0?`Font data is empty. Check that the font file was read completely.`:`Font data is only ${e.byteLength} byte(s), too short to be a font. Check that the font file was read completely.`);let n=new fr(e),r=n.u32();if(r===1953784678){if(e.byteLength<12)throw new _(`Invalid TrueType Collection: header is truncated`);let r=n.u32();if(r!==65536&&r!==131072)throw new _(`Invalid TrueType Collection: unsupported version 0x${r.toString(16)}`);let i=n.u32();if(i===0)throw new _(`TrueType Collection is empty (0 fonts)`);if(i>Math.floor((e.byteLength-12)/4))throw new _(`Invalid TrueType Collection: font offset table is truncated`);if(t>=i)throw new _(`TrueType collection index ${t} is out of range (0-${i-1})`);let a=n.u32At(12+t*4);if(a>e.byteLength-12)throw new _(`Invalid TrueType Collection: font ${t} header is out of range`);return qn(e,a)}if(t!==0)throw new _(`TrueType collection index must be 0 for a non-collection font`);if(e.byteLength<12)throw new _(`Invalid TrueType font: header is truncated`);return Yn(e,n,r)}function Kn(e){if(e.byteLength<4)return 1;let t=new fr(e);if(t.u32()!==1953784678)return 1;if(e.byteLength<12)throw new _(`Invalid TrueType Collection: header is truncated`);let n=t.u32();if(n!==65536&&n!==131072)throw new _(`Invalid TrueType Collection: unsupported version 0x${n.toString(16)}`);let r=t.u32();if(r===0)throw new _(`TrueType Collection is empty (0 fonts)`);if(r>Math.floor((e.byteLength-12)/4))throw new _(`Invalid TrueType Collection: font offset table is truncated`);return r}function qn(e,t){let n=new fr(e,t);return Yn(e,n,n.u32())}function Jn(e){switch(e){case 1330926671:return`CFF-flavored OpenType (.otf) is not supported. Use a TrueType (.ttf) font.`;case 2001684038:return`This is a WOFF web font, not a raw font file. Decompress it to a .ttf first.`;case 2001684018:return`This is a WOFF2 web font, not a raw font file. Decompress it to a .ttf first.`;case 1347093252:return`This is a ZIP archive, not a font. Extract the .ttf from it first.`;default:{let t=String.fromCharCode(e>>>24&255,e>>>16&255,e>>>8&255,e&255).replace(/[^\x20-\x7e]/g,`.`);return`Unrecognized font signature 0x${e.toString(16).padStart(8,`0`)} ("${t}"). Use a TrueType (.ttf) font.`}}}function Yn(e,t,n){if(n!==65536&&n!==1953658213)throw new _(Jn(n));let r=t.offset-4;if(r<0||r>e.byteLength-12)throw new _(`Invalid TrueType font: header is truncated`);let i=t.u16();if(t.skip(6),i>Math.floor((e.byteLength-t.offset)/16))throw new _(`Invalid TrueType font: table directory is truncated`);let a=/* @__PURE__ */ new Map;for(let n=0;n<i;n++){let n=t.tag();t.skip(4);let r=t.u32(),i=t.u32();if(r>e.byteLength||i>e.byteLength-r)throw new _(`Invalid TrueType font: table '${n}' is out of range`);a.set(n,{offset:r,length:i})}for(let e of[`head`,`hhea`,`maxp`,`cmap`,`hmtx`])if(!a.has(e))throw new _(`Missing required table '${e}' in TrueType font`);for(let e of[`glyf`,`loca`])if(!a.has(e))throw new _(`TrueType font has no '${e}' table, so it carries no usable outlines (tables present: ${[...a.keys()].sort().join(`, `)}). Fonts that store outlines in another format — CFF, a bitmap table, or Apple's private 'hvgl' used by the system PingFang UI faces — cannot be embedded. Use a font with 'glyf' outlines.`);let o=Xn(t,a.get(`head`)),s=Zn(t,a.get(`hhea`)),c=Qn(t,a.get(`maxp`)),l=a.has(`OS/2`)?$n(t,a.get(`OS/2`)):null,u=a.has(`post`)?er(t,a.get(`post`)):null,d=a.has(`name`)?tr(t,a.get(`name`)):null,f=nr(t,a.get(`cmap`)),{advanceWidths:p,leftSideBearings:m}=ar(t,a.get(`hmtx`),s.numHMetrics,c.numGlyphs),h=a.has(`loca`)&&a.has(`glyf`)?or(t,a.get(`loca`),c.numGlyphs,o.indexToLocFormat,a.get(`glyf`).length):new Uint32Array(c.numGlyphs+1),g=l?.sTypoAscender??s.ascent,v=l?.sTypoDescender??s.descent,y=l?.sCapHeight??Math.round(g*.7),b=0;u?.isFixedPitch&&(b|=1),o.macStyle&2&&(b|=64),b|=32;let x=l?.usWeightClass??400,S=Math.round(50+(x/65)**2),C=d?.familyName??`Unknown`;return{data:e,familyName:C,postScriptName:d?.postScriptName??C.replace(/\s+/g,``),weightClass:x,unitsPerEm:o.unitsPerEm,ascent:g,descent:v,capHeight:y,italicAngle:u?.italicAngle??0,italic:!!(o.macStyle&2)||(u?.italicAngle??0)!==0,flags:b,bbox:[o.xMin,o.yMin,o.xMax,o.yMax],stemV:S,numGlyphs:c.numGlyphs,indexToLocFormat:o.indexToLocFormat,numHMetrics:s.numHMetrics,tables:a,cmap:f,advanceWidths:p,leftSideBearings:m,glyphOffsets:h}}function Xn(e,t){let n=e.atTable(`head`,t);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 Zn(e,t){let n=e.atTable(`hhea`,t);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 Qn(e,t){let n=e.atTable(`maxp`,t);return n.skip(4),{numGlyphs:n.u16()}}function $n(e,t){let n=e.atTable(`OS/2`,t),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 er(e,t){let n=e.atTable(`post`,t);n.skip(4);let r=n.fixed();return n.skip(2),n.skip(2),{italicAngle:r,isFixedPitch:n.u32()!==0}}function tr(e,t){let n=t.offset,r=e.atTable(`name`,t);r.skip(2);let i=r.u16(),a=n+r.u16(),o=``,s=``;for(let e=0;e<i;e++){let e=r.u16(),t=r.u16();r.skip(2);let n=r.u16(),i=r.u16(),c=r.u16();if(n!==1&&n!==6)continue;let l=r.at(a+c).bytes(i),u;if(e===3||e===0)u=cr(l);else if(e===1&&t===0)u=lr(l);else continue;n===1&&!o&&(o=u),n===6&&!s&&(s=u)}return{familyName:o||`Unknown`,postScriptName:s||o||`Unknown`}}function nr(e,t){let n=t.offset,r=e.atTable(`cmap`,t);r.skip(2);let i=r.u16(),a=-1,o=-1;for(let e=0;e<i;e++){let e=r.u16(),t=r.u16(),i=r.u32();if(e!==0&&(e!==3||t!==1&&t!==10))continue;let s=r.u16At(n+i);s===12&&o<0&&(o=n+i),s===4&&a<0&&(a=n+i)}if(o>=0)return ir(r,o);if(a>=0)return rr(r,a);throw new _(`No usable Unicode cmap subtable found in font`)}function rr(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=/* @__PURE__ */ 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 ir(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>ur)throw new _(`cmap format 12 has ${r} groups, exceeding limit of ${ur}. The font file may be malicious or corrupted.`);let i=/* @__PURE__ */ 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>dr)throw new _(`cmap format 12 maps too many codepoints (>${dr}). The font file may be malicious or corrupted.`);for(let n=e;n<=t;n++)i.set(n,r+(n-e))}return i}function ar(e,t,n,r){let i=new Uint16Array(r),a=new Int16Array(r),o=e.atTable(`hmtx`,t),s=Math.min(n,r),c=0,l=0;for(;l<s&&o.canRead(4);l++)c=o.u16(),i[l]=c,a[l]=o.i16();let u=l===n&&n>0;for(;l<r;l++)i[l]=c,a[l]=u&&o.canRead(2)?o.i16():0;return{advanceWidths:i,leftSideBearings:a}}function or(e,t,n,r,i){let a=e.atTable(`loca`,t),o=new Uint32Array(n+1),s=r===0?2:4,c=0,l=0;for(let e=0;e<=n;e++)a.canRead(s)&&(c=r===0?a.u16()*2:a.u32()),l=Math.min(Math.max(c,l),i),o[e]=l;return o}function*sr(e,t,n){let r=Math.min(n,e.length);if(t<0||r-t<14)return;let i=n=>{if(n+2>r)throw new _(`Invalid TrueType font: composite glyph at ${t} is truncated (wanted 2 byte(s) at ${n}, glyph ends at ${r})`);return e[n]<<8|e[n+1]},a=e=>{let t=i(e);return t>=32768?t-65536:t};if(a(t)>=0)return;let o=t+10;for(let n=0;;n++){if(n>=yr)throw new _(`Invalid TrueType font: composite glyph at ${t} declares more than ${yr} components`);let s=i(o),c=o+2,l=i(c),u=o+4,d=0,f=0;if(s&pr)s&mr?(d=a(u),f=a(u+2)):i(u+2),u+=4;else{if(u+2>r)throw new _(`Invalid TrueType font: composite glyph at ${t} is truncated (wanted 2 byte(s) at ${u}, glyph ends at ${r})`);s&mr&&(d=e[u]>=128?e[u]-256:e[u],f=e[u+1]>=128?e[u+1]-256:e[u+1]),u+=2}let p=[1,0,0,1];if(s&hr){let e=a(u)/16384;p=[e,0,0,e],u+=2}else s&_r?(p=[a(u)/16384,0,0,a(u+2)/16384],u+=4):s&vr&&(p=[a(u)/16384,a(u+2)/16384,a(u+4)/16384,a(u+6)/16384],u+=8);if(yield{flags:s,glyphId:l,glyphIdOffset:c,dx:d,dy:f,transform:p,next:u},!(s&gr))return;o=u}}function cr(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 lr(e){let t=[];for(let n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join(``)}var ur,dr,fr,pr,mr,hr,gr,_r,vr,yr,br=n((()=>{v(),ur=65536,dr=2e6,fr=class e{constructor(e,t=0,n=e.length,r=`font`){this.data=e,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.offset=t,this.limit=Math.min(n,e.length),this.region=r}take(e){let t=this.claim(this.offset,e);return this.offset=t+e,t}claim(e,t){if(e<0||e+t>this.limit)throw new _(`Invalid TrueType font: ${this.region} is truncated (wanted ${t} byte(s) at ${e}, region ends at ${this.limit})`);return e}canRead(e){return this.offset+e<=this.limit}u8(){return this.view.getUint8(this.take(1))}u16(){return this.view.getUint16(this.take(2),!1)}i16(){return this.view.getInt16(this.take(2),!1)}u32(){return this.view.getUint32(this.take(4),!1)}i32(){return this.view.getInt32(this.take(4),!1)}fixed(){return this.i32()/65536}bytes(e){let t=this.take(e);return this.data.subarray(t,t+e)}tag(){return String.fromCharCode(this.u8(),this.u8(),this.u8(),this.u8())}skip(e){this.take(e)}at(t){return new e(this.data,t,this.limit,this.region)}atTable(t,n){return new e(this.data,n.offset,n.offset+n.length,`table '${t}'`)}u16At(e){return this.view.getUint16(this.claim(e,2),!1)}u32At(e){return this.view.getUint32(this.claim(e,4),!1)}},pr=1,mr=2,hr=8,gr=32,_r=64,vr=128,yr=512}));function xr(e){throw e instanceof _?new vn(e.message,{cause:e}):e}function Sr(e,t=0){try{return Gn(e,t)}catch(e){xr(e)}}var Cr=n((()=>{Sn(),v(),br()}));function wr(e){if(typeof e!=`object`||!e)throw new vn(`PDF font config must be an object`);let t=Tr(e.default,`default`),n=e.families??[];if(!Array.isArray(n))throw new vn(`PDF font families must be an array`);let r=/* @__PURE__ */ new Map,i=/* @__PURE__ */ new Map,a=n.map((e,t)=>{if(typeof e!=`object`||!e)throw new vn(`PDF font family at index ${t} must be an object`);let n=Dr(e.name,`family at index ${t}`),a=Or(n);kr(r,a,n);let o=e.aliases??[];if(!Array.isArray(o))throw new vn(`Aliases for PDF font family '${n}' must be an array`);let s=o.map((e,t)=>Dr(e,`alias ${t} for family '${n}'`)),c=s.map(e=>Or(e));for(let e=0;e<s.length;e++)kr(r,c[e],s[e]);let l=Object.freeze({name:n,normalizedName:a,aliases:Object.freeze(s),normalizedAliases:Object.freeze(c),faces:Tr(e.faces,`family '${n}'`)});i.set(a,l);for(let e of c)i.set(e,l);return l}),o=e.fallbackFamilies??[];if(!Array.isArray(o))throw new vn(`PDF fallback font families must be an array`);let s=o.map((e,t)=>{let n=Dr(e,`fallback family at index ${t}`),r=i.get(Or(n));if(!r)throw new vn(`Fallback font family '${n}' is not configured`);return r});return Object.freeze({default:t,families:Object.freeze(a),fallbackFamilies:Object.freeze(s)})}function Tr(e,t){if(typeof e!=`object`||!e)throw new vn(`PDF font faces for ${t} must be an object`);if(e.regular===void 0)throw new vn(`PDF font faces for ${t} must define regular`);return Object.freeze({regular:Er(e.regular,`${t}.regular`),...e.bold===void 0?{}:{bold:Er(e.bold,`${t}.bold`)},...e.italic===void 0?{}:{italic:Er(e.italic,`${t}.italic`)},...e.boldItalic===void 0?{}:{boldItalic:Er(e.boldItalic,`${t}.boldItalic`)}})}function Er(e,t){let n=e instanceof Uint8Array;if(!n&&(typeof e!=`object`||!e))throw new vn(`PDF font source for ${t} must contain Uint8Array data`);let r=n?e:e.data,i=n?0:e.collectionIndex??0;if(!(r instanceof Uint8Array))throw new vn(`PDF font source for ${t} must contain Uint8Array data`);let a=r.slice();try{return Object.freeze({data:a,collectionIndex:i,font:Sr(a,i)})}catch(e){throw new vn(`PDF font face ${t} could not be parsed: `+(e instanceof Error?e.message:String(e)),{cause:e})}}function Dr(e,t){if(typeof e!=`string`)throw new vn(`PDF font ${t} name must be a string`);let n=e.trim().replace(/\s+/g,` `);if(n.length===0)throw new vn(`PDF font ${t} name must not be empty`);return n}function Or(e){return e.toLocaleLowerCase(`en-US`)}function kr(e,t,n){let r=e.get(t);if(r!==void 0)throw new vn(`PDF font name '${n}' conflicts with '${r}'`);e.set(t,n)}var Ar=n((()=>{Sn(),Cr()}));function jr(){if(Rr!==void 0)return Rr;let e=Intl.Segmenter;return Rr=e?new e(void 0,{granularity:`grapheme`}):null,Rr}function Mr(e){return e>=768&&e<=879||e>=6832&&e<=6911||e>=7616&&e<=7679||e>=8400&&e<=8447||e>=65056&&e<=65071}function Nr(e){return e>=65024&&e<=65039||e>=917760&&e<=917999}function Pr(e){return e>=127995&&e<=127999}function Fr(e){return e>=127462&&e<=127487}function Ir(e){let t=[...e],n=[];for(let e=0;e<t.length;e++){let r=t[e];for(Fr(t[e].codePointAt(0))&&e+1<t.length&&Fr(t[e+1].codePointAt(0))&&(r+=t[++e]);e+1<t.length;){let n=t[e+1].codePointAt(0);if(Mr(n)||Nr(n)||Pr(n))r+=t[++e];else if(n===8205&&e+2<t.length)r+=t[++e],r+=t[++e];else break}n.push(r)}return n}function Lr(e){let t=jr();return t?[...t.segment(e)].map(e=>e.segment):Ir(e)}var Rr,zr=n((()=>{}));function Br(e){if(e<33)return!1;switch(e){case 33:case 37:case 41:case 44:case 46:case 58:case 59:case 63:case 93:case 125:case 8211:case 8212:case 8217:case 8221:case 8229:case 8230:case 8240:case 8242:case 8243:case 8252:case 8263:case 8264:case 8265:case 8451:case 176:case 162:case 183:return!0}if(e>=12289&&e<=12351)switch(e){case 12289:case 12290:case 12293:case 12297:case 12299:case 12301:case 12303:case 12305:case 12309:case 12311:case 12313:case 12315:case 12316:case 12319:case 12347:return!0;default:return!1}switch(e){case 12353:case 12355:case 12357:case 12359:case 12361:case 12387:case 12419:case 12421:case 12423:case 12430:case 12437:case 12438:case 12443:case 12444:case 12445:case 12446:case 12449:case 12451:case 12453:case 12455:case 12457:case 12483:case 12515:case 12517:case 12519:case 12526:case 12533:case 12534:case 12539:case 12540:case 12541:case 12542:return!0}switch(e){case 65281:case 65285:case 65289:case 65292:case 65294:case 65306:case 65307:case 65311:case 65341:case 65373:case 65376:case 65377:case 65379:case 65380:case 65381:case 65392:case 65438:case 65439:return!0;default:return!1}}function Vr(e){if(e<35)return!1;switch(e){case 35:case 36:case 40:case 91:case 123:case 163:case 165:case 8364:case 8216:case 8220:return!0}switch(e){case 12296:case 12298:case 12300:case 12302:case 12304:case 12308:case 12310:case 12312:case 12314:case 12317:return!0}switch(e){case 65283:case 65284:case 65288:case 65339:case 65371:case 65375:case 65378:case 65505:case 65509:return!0;default:return!1}}function Hr(e){return e>=12288&&e<=12799||e>=12800&&e<=13311||e>=13312&&e<=40959||e>=40960&&e<=42191||e>=4352&&e<=4607||e>=43360&&e<=43391||e>=55216&&e<=55295||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65135||e>=65281&&e<=65376||e>=65377&&e<=65500||e>=131072&&e<=262143}function Ur(e){return e===32||e===9||e===12288}function Wr(e){return e===160||e===8239||e===8199||e===8209||e===8288||e===65279}function Gr(e,t){return Wr(e)||Wr(t)||Vr(e)||Br(t)?!1:Ur(e)?!0:Ur(t)?!1:e===45||e===65293?!0:t===45||t===65293?!1:Hr(e)||Hr(t)}function Kr(e){if(e.length===0)return[];let t=[],n=``,r=-1;for(let i of Lr(e)){let e=i.codePointAt(0);r>=0&&Gr(r,e)?(t.push(n),n=i):n+=i,r=e}return n!==``&&t.push(n),t}function qr(e){if(e.length===0)return[];let t=[],n=``,r=!1,i=!1;for(let a of Lr(e)){let e=Hr(a.codePointAt(0));if(!i){n=a,r=e,i=!0;continue}e===r?n+=a:(t.push({text:n,cjk:r}),n=a,r=e)}return t.push({text:n,cjk:r}),t}function Jr(e){return e===8204||e===8205||e>=65024&&e<=65039||e>=917760&&e<=917999}function Yr(e){let t=0;for(let n of e)Jr(n.codePointAt(0))||t++;return t}function Xr(e){let t=/* @__PURE__ */ new Set;for(let n of e)ri.has(n)||t.add(n);return t}function Zr(e){return e>=12353&&e<=12438||e>=12449&&e<=12538||e>=65382&&e<=65437}function Qr(e){return e>=44032&&e<=55203||e>=4352&&e<=4607||e>=43360&&e<=43391||e>=55216&&e<=55295||e>=12593&&e<=12686||e>=65440&&e<=65500}function $r(){return{ja:0,ko:0,hans:0,hant:0}}function ei(e,t){for(let n of t){let t=n.codePointAt(0);if(Zr(t)){e.ja+=ci;continue}if(Qr(t)){e.ko+=ci;continue}si.has(n)?e.ja++:ai.has(n)?e.hans++:oi.has(n)&&e.hant++}}function ti(e){let{ja:t,ko:n,hans:r,hant:i}=e,a=Math.max(t,n,r,i);if(a!==0&&!([t,n,r,i].filter(e=>e===a).length>1))return a===t?`ja`:a===n?`ko`:a===r?`zh-Hans`:`zh-Hant`}function ni(e){let t=[0],n=-1,r=0;for(let i of Lr(e)){let e=i.codePointAt(0);n>=0&&Gr(n,e)&&t.push(r),n=e,r+=i.length}let i=[];for(let n=0;n<t.length;n++){let r=t[n],a=n+1<t.length?t[n+1]:e.length;for(;a>r&&Ur(e.codePointAt(a-1));)a--;a!==r&&i.push({start:r,visibleEnd:a})}return i}var ri,ii,ai,oi,si,ci,li=n((()=>{zr(),ri=/* @__PURE__ */ new Set([...`国会体学医来内声点数断礼恋乱争没尽双与万号台条虫画写区当独表温参`,...`用作動車馬鳥魚門長風飛語東館間書問時者和平多少大小上下中文年月日分`]),ii={simplified:``,traditional:``,japanese:``},ai=Xr(ii.simplified=`这么说时问间书车马鸟龙鱼东语门长风飞鸡鸭鹅们为产儿个义乡买亚亲优传伤价众农历术乐观规视图归录动轮报电话译认识边远进过样张单击备药觉带层战广厂丛丝岁汉难阳阴云务劳态终纪红级约纸经组织给统绝维绿续网罗联节荣设访证评诉词试诗诚误请读课谁调谈谢钟钱铁银锁镇闭闻闲阅际陆陈队阶阵饭饮饰饱饼馆头颜题实县圆驿济杂龄气劝关验压齿滨简丽`),oi=Xr(ii.traditional=`實廣點圖鐵經與歲對戰樣單發兩價氣勸觀關歸驗讀譯壓醫齒濱盡國體學來內聲數變豐斷禮證雜齡縣圓驛濟歡舊據舉虛峽狹曉驅勳徑莖惠揭雞擴殼覺嶽樂渴卷陷龜犧溫謠搖應歐穩畫惡亂假藝擊權獻顯嚴們這麼說臺灣號簡麗區寫參賣`),si=Xr(ii.japanese=`実県円駅鉄経済蔵雑齢広歳戦様単験読訳価気勧観関帰圧悪謡揺応欧穏仮拡殻岳楽渇巻陥歓亀犠旧拠挙虚峡狭暁駆勲径茎恵掲鶏芸撃権献顕厳変豊証歯浜戯虜隠壊懐拝斎縄嬢壌譲醸嘱触寝慎尋随髄枢瀬繊禅遷薦壮聡`),ci=2}));function ui(e,t,n,r){let{oldToNewGid:i,unicodeToCid:a,sequenceToCid:u,cidToText:d,cidToGid:f,cidWidths:m,usedGlyphIds:h}=di(t,n),g=hi(t,h,i),_=Xe(g,{level:6}),v=e.allocObject(),y=new p().set(`Length`,s(_.length)).set(`Length1`,s(g.length)).set(`Filter`,`/FlateDecode`);e.addStreamObject(v,y,_);let b=1e3/t.unitsPerEm,x=e.allocObject(),S=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*b))))).set(`ItalicAngle`,s(t.italicAngle)).set(`Ascent`,s(Math.round(t.ascent*b))).set(`Descent`,s(Math.round(t.descent*b))).set(`CapHeight`,s(Math.round(t.capHeight*b))).set(`StemV`,s(t.stemV)).set(`FontFile2`,l(v));e.addObject(x,S);let C=Ci(m,t.unitsPerEm),w=Xe(mi(f),{level:6}),T=e.allocObject(),E=new p().set(`Length`,s(w.length)).set(`Filter`,`/FlateDecode`);e.addStreamObject(T,E,w);let ee=e.allocObject(),te=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(x)).set(`DW`,s(1e3)).set(`W`,C).set(`CIDToGIDMap`,l(T));e.addObject(ee,te);let ne=Xe(Si(d),{level:6}),re=e.allocObject(),ie=new p().set(`Length`,s(ne.length)).set(`Filter`,`/FlateDecode`);e.addStreamObject(re,ie,ne);let ae=e.allocObject(),oe=new p().set(`Type`,`/Font`).set(`Subtype`,`/Type0`).set(`BaseFont`,o(t.postScriptName+`-Subset`)).set(`Encoding`,`/Identity-H`).set(`DescendantFonts`,c([l(ee)])).set(`ToUnicode`,l(re));return e.addObject(ae,oe),{resourceName:r,fontObjNum:ae,font:t,unicodeToCid:a,sequenceToCid:u,encodeText:e=>pi(e,u),cidWidths:m}}function di(e,t){let n=/* @__PURE__ */ new Set,r=/* @__PURE__ */ new Map,i=/* @__PURE__ */ new Map,a=[];for(let e of t)a.push(e);let o=a.every(e=>typeof e==`number`),s=a.every(e=>typeof e==`string`),c=a.every(e=>typeof e==`object`&&!!e&&`codePoint`in e&&`sequence`in e);if(!o&&!s&&!c)throw new vn(`Embedded font usage must contain only code points, only text runs, or only glyph uses`);n.add(0);let l=o?a.map(e=>({codePoint:e,sequence:String.fromCodePoint(e)})):s?a.flatMap(e=>fi(e)):a;for(let t of l){let a=Jr(t.codePoint)?e.cmap.get(32)??0:e.cmap.get(t.codePoint)??0;r.has(t.sequence)||(r.set(t.sequence,a),i.set(t.sequence,t.text??t.sequence),a>0&&n.add(a))}let u=e.tables.get(`glyf`);if(u){let t=u.offset,r=new Set(n),i=Array.from(r);for(;i.length>0;){let a=wi(e,i.pop(),t);for(let e of a)r.has(e)||(r.add(e),n.add(e),i.push(e))}}let d=Array.from(n).sort((e,t)=>e-t),f=/* @__PURE__ */ new Map;for(let e=0;e<d.length;e++)f.set(d[e],e);let p=/* @__PURE__ */ new Map,m=/* @__PURE__ */ new Map,h=/* @__PURE__ */ new Map,g=[0],_=[e.advanceWidths[0]??0];for(let[t,n]of r){let r=g.length;if(r>65535)throw new vn(`A single embedded font face cannot encode more than 65,535 distinct Unicode sequences`);m.set(t,r),h.set(r,i.get(t)??t);let a=Array.from(t,e=>e.codePointAt(0));a.length===1&&p.set(a[0],r),g.push(f.get(n)),_.push(Jr(a[0])?0:e.advanceWidths[n]??0)}return{oldToNewGid:f,unicodeToCid:p,sequenceToCid:m,cidToText:h,cidToGid:g,cidWidths:_,usedGlyphIds:n}}function fi(e){let t=[],n=``;for(let r of Lr(e)){let e=!1;for(let i of r){let r=i.codePointAt(0);if(Jr(r)){e?t[t.length-1].sequence+=i:n+=i;continue}t.push({codePoint:r,sequence:n+i}),n=``,e=!0}}return n&&t.length>0&&(t[t.length-1].sequence+=n),t}function pi(e,t){return fi(e).map(e=>t.get(e.sequence)??0)}function mi(e){let t=new Uint8Array(e.length*2),n=new DataView(t.buffer);for(let t=0;t<e.length;t++)n.setUint16(t*2,e[t],!1);return t}function hi(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=Ti(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=pe(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,e.leftSideBearings[n]??0,!1)}let m=yi(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);_.setUint32(8,0,!1),_.setInt16(50,1,!1);let v=e.tables.get(`hhea`),y=new Uint8Array(e.data.subarray(v.offset,v.offset+v.length)),b=new DataView(y.buffer,y.byteOffset,y.byteLength);b.setUint16(34,r,!1);let x=gi(e,i);b.setUint16(10,x.advanceWidthMax,!1),x.outline&&(b.setInt16(12,x.outline.minLeftSideBearing,!1),b.setInt16(14,x.outline.minRightSideBearing,!1),b.setInt16(16,x.outline.xMaxExtent,!1));let S=e.tables.get(`maxp`),C=new Uint8Array(e.data.subarray(S.offset,S.offset+S.length));new DataView(C.buffer,C.byteOffset,C.byteLength).setUint16(4,r,!1);let w=/* @__PURE__ */ new Uint8Array(32);return new DataView(w.buffer).setUint32(0,196608,!1),bi([[`head`,g],[`hhea`,y],[`maxp`,C],[`post`,w],[`cmap`,m],[`hmtx`,f],[`loca`,u],[`glyf`,l]])}function gi(e,t){let n=e.tables.get(`glyf`)?.offset??0,r=new DataView(e.data.buffer,e.data.byteOffset,e.data.byteLength),i=0,a=1/0,o=1/0,s=-1/0;for(let c of t){let t=e.advanceWidths[c]??0;i=Math.max(i,t);let l=e.glyphOffsets[c];if(e.glyphOffsets[c+1]-l<10||r.getInt16(n+l,!1)===0)continue;let u=e.leftSideBearings[c]??0,d=r.getInt16(n+l+2,!1),f=r.getInt16(n+l+6,!1)-d;a=Math.min(a,u),o=Math.min(o,t-(u+f)),s=Math.max(s,u+f)}return{advanceWidthMax:vi(i),outline:Number.isFinite(a)?{minLeftSideBearing:_i(a),minRightSideBearing:_i(o),xMaxExtent:_i(s)}:null}}function _i(e){return Math.max(-32768,Math.min(32767,e))}function vi(e){return Math.max(0,Math.min(65535,e))}function yi(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 bi(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:xi(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);let c=r.find(e=>e.tag===`head`);if(c){let e=xi(i);a.setUint32(c.offset+8,2981146554-e>>>0,!1)}return i}function xi(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 Si(e){let t=Array.from(e,([e,t])=>[e,t]).sort((e,t)=>e[0]-t[0]),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(`<0000> <FFFF>`),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[e,t]of r){let r=e.toString(16).toUpperCase().padStart(4,`0`),i=Array.from(t,e=>e.codePointAt(0)).map(e=>{if(e<=65535)return e.toString(16).toUpperCase().padStart(4,`0`);let t=55296+(e-65536>>10),n=56320+(e-65536&1023);return`${t.toString(16).toUpperCase().padStart(4,`0`)}${n.toString(16).toUpperCase().padStart(4,`0`)}`}).join(``);n.push(`<${r}> <${i}>`)}n.push(`endbfchar`)}n.push(`endcmap`),n.push(`CMapName currentdict /CMap defineresource pop`),n.push(`end`),n.push(`end`);let r=n.join(`
|
|
42
|
-
`);return new TextEncoder().encode(r)}function Ci(e,t){if(e.length===0)return`[]`;let n=1e3/t;return`[0 [${e.map(e=>s(Math.round(e*n))).join(` `)}]]`}function wi(e,t,n){let r=[];for(let i of sr(e.data,n+e.glyphOffsets[t],n+e.glyphOffsets[t+1]))r.push(i.glyphId);return r}function Ti(e,t){if(e.length<10)return e;let n=new Uint8Array(e.length);n.set(e);let r=!1;for(let e of sr(n,0,n.length)){r=!0;let i=t.get(e.glyphId)??0;n[e.glyphIdOffset]=i>>8&255,n[e.glyphIdOffset+1]=i&255}return r?n:e}var Ei=n((()=>{Qe(),m(),Sn(),he(),li(),br(),zr()}));function Di(e){return e>=8986&&e<=8987||e>=9193&&e<=9196||e===9200||e===9203||e>=9725&&e<=9726||e>=9748&&e<=9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e>=9898&&e<=9899||e>=9917&&e<=9918||e>=9924&&e<=9925||e===9934||e===9940||e===9962||e>=9970&&e<=9971||e===9973||e===9978||e===9981||e===9989||e>=9994&&e<=9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e>=11035&&e<=11036||e===11088||e===11093}function Oi(e){return e>=4352&&e<=4447||e>=11904&&e<=12350||e>=12353&&e<=13311||e>=13312&&e<=19903||e>=19968&&e<=40959||e>=40960&&e<=42191||e>=43360&&e<=43391||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||Di(e)||e>=126980&&e<=126980||e>=127183&&e<=127183||e>=127374&&e<=127374||e>=127377&&e<=127386||e>=127462&&e<=127487||e>=127488&&e<=127743||e>=127744&&e<=129791||e>=131072&&e<=196605||e>=196608&&e<=262141}function ki(e){return e!==9&&(e<32||e>=127&&e<=159)||e===8203||e===8204||e===8205||e===8288||e===65279||e>=8206&&e<=8207||e>=8234&&e<=8238||e>=8294&&e<=8297||e>=65024&&e<=65039||e>=768&&e<=879||e>=917760&&e<=917999}function Ai(e){return ki(e)&&!(e>=768&&e<=879)}function ji(e,t){if(ki(e))return 0;if(Oi(e))return Gi;let n=Ui[t];return n?n.monoWidth===void 0?n.widths?.[e]??n.avgWidth:n.monoWidth:ji(e,`Helvetica`)}function Mi(e,t,n){let r=0;for(let n=0;n<e.length;n++){let i=e.codePointAt(n);i>65535&&n++,r+=ji(i,t)}return r/1e3*n}function Ni(e,t){return(Ui[e]??Ui.Helvetica).ascent/1e3*t}function Pi(e,t){return(Ui[e]??Ui.Helvetica).descent/1e3*t}function Fi(e,t){let n=Ui[e]??Ui.Helvetica;return(n.ascent-n.descent)/1e3*t}function Ii(e){if(e in Ui)return e;let t=e.toLowerCase().trim();return Wi[t]??`Helvetica`}function Li(e,t,n){let r=Ii(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 Ui?o:r}var Ri,zi,Bi,Vi,Hi,Ui,Wi,Gi,Ki=n((()=>{Ri={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,338:1e3,339:944,352:667,353:500,376:667,381:611,382:500,402:556,710:333,732:333,8211:556,8212:1e3,8216:222,8217:222,8218:222,8220:333,8221:333,8222:333,8224:556,8225:556,8226:350,8230:1e3,8240:1e3,8249:333,8250:333,8364:556,8482:1e3,160:278,161:333,162:556,163:556,164:556,165:556,166:260,167:556,168:333,169:737,170:370,171:556,172:584,173:333,174:737,175:333,176:400,177:584,178:333,179:333,180:333,181:556,182:537,183:278,184:333,185:333,186:365,187:556,188:834,189:834,190:834,191:611,192:667,193:667,194:667,195:667,196:667,197:667,198:1e3,199:722,200:667,201:667,202:667,203:667,204:278,205:278,206:278,207:278,208:722,209:722,210:778,211:778,212:778,213:778,214:778,215:584,216:778,217:722,218:722,219:722,220:722,221:667,222:667,223:611,224:556,225:556,226:556,227:556,228:556,229:556,230:889,231:500,232:556,233:556,234:556,235:556,236:278,237:278,238:278,239:278,240:556,241:556,242:556,243:556,244:556,245:556,246:556,247:584,248:611,249:556,250:556,251:556,252:556,253:500,254:556,255:500},zi={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,338:1e3,339:944,352:667,353:556,376:667,381:611,382:500,402:556,710:333,732:333,8211:556,8212:1e3,8216:278,8217:278,8218:278,8220:500,8221:500,8222:500,8224:556,8225:556,8226:350,8230:1e3,8240:1e3,8249:333,8250:333,8364:556,8482:1e3,160:278,161:333,162:556,163:556,164:556,165:556,166:280,167:556,168:333,169:737,170:370,171:556,172:584,173:333,174:737,175:333,176:400,177:584,178:333,179:333,180:333,181:611,182:556,183:278,184:333,185:333,186:365,187:556,188:834,189:834,190:834,191:611,192:722,193:722,194:722,195:722,196:722,197:722,198:1e3,199:722,200:667,201:667,202:667,203:667,204:278,205:278,206:278,207:278,208:722,209:722,210:778,211:778,212:778,213:778,214:778,215:584,216:778,217:722,218:722,219:722,220:722,221:667,222:667,223:611,224:556,225:556,226:556,227:556,228:556,229:556,230:889,231:556,232:556,233:556,234:556,235:556,236:278,237:278,238:278,239:278,240:611,241:611,242:611,243:611,244:611,245:611,246:611,247:584,248:611,249:611,250:611,251:611,252:611,253:556,254:611,255:556},Bi={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,338:889,339:722,352:556,353:389,376:722,381:611,382:444,402:500,710:333,732:333,8211:500,8212:1e3,8216:333,8217:333,8218:333,8220:444,8221:444,8222:444,8224:500,8225:500,8226:350,8230:1e3,8240:1e3,8249:333,8250:333,8364:500,8482:980,160:250,161:333,162:500,163:500,164:500,165:500,166:200,167:500,168:333,169:760,170:276,171:500,172:564,173:333,174:760,175:333,176:400,177:564,178:300,179:300,180:333,181:500,182:453,183:250,184:333,185:300,186:310,187:500,188:750,189:750,190:750,191:444,192:722,193:722,194:722,195:722,196:722,197:722,198:889,199:667,200:611,201:611,202:611,203:611,204:333,205:333,206:333,207:333,208:722,209:722,210:722,211:722,212:722,213:722,214:722,215:564,216:722,217:722,218:722,219:722,220:722,221:722,222:556,223:500,224:444,225:444,226:444,227:444,228:444,229:444,230:667,231:444,232:444,233:444,234:444,235:444,236:278,237:278,238:278,239:278,240:500,241:500,242:500,243:500,244:500,245:500,246:500,247:564,248:500,249:500,250:500,251:500,252:500,253:500,254:500,255:500},Vi={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,338:1e3,339:722,352:556,353:389,376:722,381:667,382:444,402:500,710:333,732:333,8211:500,8212:1e3,8216:333,8217:333,8218:333,8220:500,8221:500,8222:500,8224:500,8225:500,8226:350,8230:1e3,8240:1e3,8249:333,8250:333,8364:500,8482:1e3,160:250,161:333,162:500,163:500,164:500,165:500,166:220,167:500,168:333,169:747,170:300,171:500,172:570,173:333,174:747,175:333,176:400,177:570,178:300,179:300,180:333,181:556,182:540,183:250,184:333,185:300,186:330,187:500,188:750,189:750,190:750,191:500,192:722,193:722,194:722,195:722,196:722,197:722,198:1e3,199:722,200:667,201:667,202:667,203:667,204:389,205:389,206:389,207:389,208:722,209:722,210:778,211:778,212:778,213:778,214:778,215:570,216:778,217:722,218:722,219:722,220:722,221:722,222:611,223:556,224:500,225:500,226:500,227:500,228:500,229:500,230:722,231:444,232:444,233:444,234:444,235:444,236:278,237:278,238:278,239:278,240:500,241:556,242:500,243:500,244:500,245:500,246:500,247:570,248:500,249:556,250:556,251:556,252:556,253:500,254:556,255:500},Hi=600,Ui={Helvetica:{ascent:718,descent:-207,capHeight:718,avgWidth:513,widths:Ri},"Helvetica-Bold":{ascent:718,descent:-207,capHeight:718,avgWidth:535,widths:zi},"Helvetica-Oblique":{ascent:718,descent:-207,capHeight:718,avgWidth:513,widths:Ri},"Helvetica-BoldOblique":{ascent:718,descent:-207,capHeight:718,avgWidth:535,widths:zi},"Times-Roman":{ascent:683,descent:-217,capHeight:662,avgWidth:478,widths:Bi},"Times-Bold":{ascent:683,descent:-217,capHeight:676,avgWidth:505,widths:Vi},"Times-Italic":{ascent:683,descent:-217,capHeight:653,avgWidth:478,widths:Bi},"Times-BoldItalic":{ascent:683,descent:-217,capHeight:669,avgWidth:505,widths:Vi},Courier:{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Hi},"Courier-Bold":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Hi},"Courier-Oblique":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Hi},"Courier-BoldOblique":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Hi}},Wi={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`},Gi=1e3})),qi=n((()=>{Ki()}));function Ji(e){let t=ra(e),n=[],r;return{collect(e){if(r)throw Error(`Cannot collect text after the font plan is finalized`);n.push(Object.freeze({...e}))},finalize(){return r||=Yi(t,n),r}}}function Yi(e,t){let n=/* @__PURE__ */ new Map,r=t.map((t,r)=>({intent:t,segments:Xi(e,t).map(e=>{let t=n.get(e.faceId);t||(t={face:e.face,codepoints:/* @__PURE__ */ new Set},n.set(e.faceId,t));for(let n of e.codepoints)(!pa(n)||e.face.hasGlyph(n))&&t.codepoints.add(n);return{cluster:e,intentIndex:r}})})),i=/* @__PURE__ */ new Map,a=Array.from(n,([e,t],n)=>{let r=`FP${n+1}`;return i.set(e,r),Object.freeze({id:e,kind:t.face.kind,resourceName:r,codepoints:t.codepoints,source:t.face})}),o=r.map(({intent:e,segments:t})=>Object.freeze({intent:e,segments:Object.freeze(t.map(({cluster:e,intentIndex:t})=>na(e,t,i.get(e.faceId))))})),s=o.flatMap(e=>e.segments);return Object.freeze({faces:Object.freeze(a),intents:Object.freeze(o),segments:Object.freeze(s)})}function Xi(e,t){let n=ea(e,t.family),r=[];for(let e of Lr(t.text)){let i=Array.from(e,e=>e.codePointAt(0)),a=Zi(n,i,t.bold,t.italic),o=r[r.length-1];o?.faceId===a.faceId?(o.text+=e,o.codepoints.push(...i)):r.push({...a,text:e,codepoints:i})}return r}function Zi(e,t,n,r){let i=Qi(n,r);for(let n of i)for(let r of e){let e=r.faces[n];if(e&&ta(e,t))return{faceId:`${r.id}:${n}`,face:e}}let a=e[e.length-1],{slot:o,face:s}=$i(a.faces,n,r)[0];return{faceId:`${a.id}:${o}`,face:s}}function Qi(e,t){return e?t?[`boldItalic`,`bold`,`italic`,`regular`]:[`bold`,`regular`]:t?[`italic`,`regular`]:[`regular`]}function $i(e,t,n){let r=Qi(t,n),i=[];for(let t of r){let n=e[t];n&&!i.some(e=>e.face===n)&&i.push({slot:t,face:n})}return i}function ea(e,t){let n=t?e.familyLookup.get(ua(t)):void 0,r=n?[n,...e.fallbackFamilies,e.defaultFamily]:[e.defaultFamily,...e.fallbackFamilies],i=[];for(let e of r)i.includes(e)||i.push(e);return i}function ta(e,t){return t.every(t=>pa(t)||e.hasGlyph(t))}function na(e,t,n){let r=e.codepoints.reduce((t,n)=>pa(n)?t:t+e.face.width(n),0);return Object.freeze({intentIndex:t,faceId:e.faceId,kind:e.face.kind,resourceName:n,text:e.text,codepoints:Object.freeze(e.codepoints),width:r,ascent:e.face.ascent,descent:e.face.descent})}function ra(e){if(da(e))return ia({default:{regular:sa(e)}});if(fa(e)){let t=e.families.map(aa),n=new Map(t.flatMap(e=>la(e).map(t=>[t,e])));return{defaultFamily:ca(`default`,``,[],oa(e.default)),familyLookup:n,fallbackFamilies:e.fallbackFamilies.map(e=>n.get(e.normalizedName))}}return ia(e)}function ia(e){let t=(e.families??[]).map((e,t)=>ca(`family-${t}`,ua(e.name),(e.aliases??[]).map(ua),e.faces)),n=new Map(t.flatMap(e=>la(e).map(t=>[t,e]))),r=(e.fallbackFamilies??[]).map(e=>{let t=n.get(ua(e));if(!t)throw Error(`Fallback font family '${e}' is not configured`);return t});return{defaultFamily:ca(`default`,``,[],e.default),familyLookup:n,fallbackFamilies:r}}function aa(e,t){return ca(`family-${t}`,e.normalizedName,e.normalizedAliases,oa(e.faces))}function oa(e){return{regular:sa(e.regular),...e.bold?{bold:sa(e.bold)}:{},...e.italic?{italic:sa(e.italic)}:{},...e.boldItalic?{boldItalic:sa(e.boldItalic)}:{}}}function sa(e){let{font:t}=e;return Object.freeze({kind:`ttf`,font:t,source:e,ascent:t.ascent/t.unitsPerEm,descent:t.descent/t.unitsPerEm,hasGlyph:e=>t.cmap.has(e),width:e=>{let n=t.cmap.get(e)??0;return Math.round((t.advanceWidths[n]??0)*1e3/t.unitsPerEm)/1e3}})}function ca(e,t,n,r){return{id:e,normalizedName:t,normalizedAliases:n,faces:r}}function la(e){return[e.normalizedName,...e.normalizedAliases]}function ua(e){return e.trim().replace(/\s+/g,` `).toLocaleLowerCase(`en-US`)}function da(e){return`font`in e&&`data`in e&&`collectionIndex`in e}function fa(e){return`default`in e&&`families`in e&&`fallbackFamilies`in e}function pa(e){return Jr(e)}var ma=n((()=>{li(),zr()}));function ha(e){return e.length===0||!ya.test(e)&&ba.test(e)}function ga(e){return ba.test(e)}var _a,va,ya,ba,xa,Sa=n((()=>{_a=[{name:`Arabic`,pattern:/\p{Script=Arabic}/u},{name:`Syriac`,pattern:/\p{Script=Syriac}/u},{name:`Thaana`,pattern:/\p{Script=Thaana}/u},{name:`Mandaic`,pattern:/\p{Script=Mandaic}/u},{name:`NKo`,pattern:/\p{Script=Nko}/u},{name:`Adlam`,pattern:/\p{Script=Adlam}/u},{name:`Devanagari`,pattern:/\p{Script=Devanagari}/u},{name:`Bengali`,pattern:/\p{Script=Bengali}/u},{name:`Gurmukhi`,pattern:/\p{Script=Gurmukhi}/u},{name:`Gujarati`,pattern:/\p{Script=Gujarati}/u},{name:`Oriya`,pattern:/\p{Script=Oriya}/u},{name:`Tamil`,pattern:/\p{Script=Tamil}/u},{name:`Telugu`,pattern:/\p{Script=Telugu}/u},{name:`Kannada`,pattern:/\p{Script=Kannada}/u},{name:`Malayalam`,pattern:/\p{Script=Malayalam}/u},{name:`Sinhala`,pattern:/\p{Script=Sinhala}/u},{name:`Thai`,pattern:/\p{Script=Thai}/u},{name:`Lao`,pattern:/\p{Script=Lao}/u},{name:`Tibetan`,pattern:/\p{Script=Tibetan}/u},{name:`Myanmar`,pattern:/\p{Script=Myanmar}/u},{name:`Khmer`,pattern:/\p{Script=Khmer}/u},{name:`Javanese`,pattern:/\p{Script=Javanese}/u},{name:`Balinese`,pattern:/\p{Script=Balinese}/u},{name:`Tifinagh`,pattern:/\p{Script=Tifinagh}/u}],va=/[\p{Script=Arabic}\p{Script=Hebrew}\p{Script=Syriac}\p{Script=Thaana}\p{Script=Nko}\p{Script=Samaritan}\p{Script=Mandaic}\p{Script=Adlam}\p{Script=Phoenician}\p{Script=Imperial_Aramaic}\p{Script=Kharoshthi}\p{Script=Old_Turkic}\p{Script=Avestan}\p{Script=Hanifi_Rohingya}\u200e\u200f\u202a-\u202e\u2066-\u2069]/u,ya=/[\u200e\u200f\u202a-\u202e\u2066-\u2069]/u,ba=/^[\p{Script=Latin}\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Cyrillic}\p{Script=Greek}\p{Script=Common}\p{Script=Inherited}]*$/u,xa=class{constructor(){this.scripts=/* @__PURE__ */ new Set,this.rtl=!1}note(e){if(!ha(e)){!this.rtl&&va.test(e)&&(this.rtl=!0);for(let t of _a)!this.scripts.has(t.name)&&t.pattern.test(e)&&this.scripts.add(t.name)}}shapingScripts(){return[...this.scripts].sort()}hasRtl(){return this.rtl}isEmpty(){return this.scripts.size===0&&!this.rtl}warnings(e,t={}){let n=[];if(this.scripts.size>0){let r=this.shapingScripts().join(`, `);n.push(t.contextualForms?`Text contains ${r}. ${e} applies contextual forms and vowel reordering, but not the font's GSUB and GPOS tables, so conjunct ligatures are drawn as separate glyphs and stacked marks are not positioned. Render to SVG or DOCX for full shaping — both carry the original text and leave it to the viewer.`:`Text contains ${r}, which requires OpenType shaping (GSUB/GPOS). ${e} maps one glyph per code point, so contextual forms, reordering and mark positioning are not applied and the text will render incorrectly. Render to SVG or DOCX instead — both carry the original text and leave shaping to the viewer — or pre-shape the text yourself.`)}return this.rtl&&n.push(t.visualOrder?`Text contains right-to-left characters. ${e} puts them in visual order, but does not implement the full Unicode Bidi Algorithm, so a line mixing both directions may still be ordered wrongly at the boundaries.`:`Text contains right-to-left characters. ${e} draws glyphs in logical order and does not run the Unicode Bidi Algorithm, so right-to-left runs will appear reversed. Render to SVG or DOCX instead, or reorder the text yourself.`),n}}})),Ca,wa,Ta,Ea=n((()=>{Sa(),Ca=[`COLR`,`CBDT`,`sbix`,`SVG `],wa=`This PDF writer`,Ta=class{constructor(){this.features=new xa,this.colorFontFamilies=/* @__PURE__ */ new Set}noteText(e){this.features.note(e)}noteFontTables(e,t){Ca.some(e=>t.has(e))&&this.colorFontFamilies.add(e)}report(e,t={}){for(let n of this.features.warnings(wa,t))e(n);this.colorFontFamilies.size>0&&e(`Embedded font(s) ${[...this.colorFontFamilies].sort().join(`, `)} carry color glyph tables (COLR/CBDT/sbix/SVG), which this writer does not embed. Affected characters render as monochrome outlines, or as .notdef when no outline exists.`)}}}));function Da(e,t){for(let[n,r]of t)if(e>=n&&e<=r)return!0;return!1}function Oa(e){return Da(e,ja)||Da(e,Ma)}function ka(e){return Da(e,Ma)}function Aa(e){return!Oa(e)||ka(e)}var ja,Ma,Na=n((()=>{ja=[[8192,8303],[8352,8399],[8448,9215],[9312,11263],[65279,65279]],Ma=[[256,383],[384,591],[711,711],[728,733],[900,906],[908,908],[910,929],[931,974],[1024,1119],[8304,8305],[8308,8334],[8336,8348],[7840,7929],[7936,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],[8025,8025],[8027,8027],[8029,8029],[8031,8061],[8064,8116],[8118,8132],[8134,8147],[8150,8155],[8157,8175],[8178,8180],[8182,8190]]}));function Pa(e,t){let n=t?.direction??`ltr`,r=t?.arabicJoining!==!1,i=t?.bidiReorder!==!1,a=La(e);if(r)for(let e of a)e.script===`arabic`&&Ha(e);let o=a;i&&(o=Ga(a,n));let s=[];for(let e of o)for(let t of e.clusters)s.push(t);return s}function Fa(e,t,n){let r=[];for(let i of Pa(e,n)){if(i.advanceMultiplier===0)continue;let e=[...i.visual].every(e=>t(e.codePointAt(0)));r.push({visual:e?i.visual:i.chars,source:i.chars})}return r}function Ia(e){return e>=1536&&e<=1791||e>=1872&&e<=1919||e>=2208&&e<=2303||e>=64336&&e<=65023||e>=65136&&e<=65279?`arabic`:e>=1424&&e<=1535||e>=64285&&e<=64335?`hebrew`:e>=2304&&e<=2431?`devanagari`:e>=2432&&e<=2559?`bengali`:e>=2944&&e<=3071?`tamil`:e>=3584&&e<=3711?`thai`:e>=3712&&e<=3839?`lao`:e>=11904&&e<=40959||e>=63744&&e<=64255||e>=65072&&e<=65103||e>=65280&&e<=65376||e>=131072&&e<=195103?`cjk`:e>=44032&&e<=55215||e>=4352&&e<=4607||e>=12592&&e<=12687?`hangul`:e>=65&&e<=591||e>=7680&&e<=7935||e>=11360&&e<=11391?`latin`:`other`}function La(e){let t=[],n=null,r=``;for(let i=0;i<e.length;i++){let a=e.codePointAt(i),o=String.fromCodePoint(a);a>65535&&i++;let s=Ia(a),c=s===`other`&&(a===32||a>=33&&a<=47);n===null||!c&&s!==n?(r.length>0&&n!==null&&t.push(Ra(r,n)),n=c?n??`latin`:s,r=o):r+=o}return r.length>0&&t.push(Ra(r,n??`latin`)),t}function Ra(e,t){let n=t===`arabic`||t===`hebrew`?`rtl`:`ltr`,r=[];if(t===`devanagari`){let i=Ba(e);for(let e=0;e<i.length;e++){let a=i.codePointAt(e),o=String.fromCodePoint(a);a>65535&&e++,r.push({chars:o,visual:o,advanceMultiplier:1,script:t,direction:n})}return{script:t,direction:n,clusters:r}}for(let i=0;i<e.length;i++){let a=e.codePointAt(i),o=String.fromCodePoint(a);a>65535&&i++,r.push({chars:o,visual:o,advanceMultiplier:1,script:t,direction:n})}return{script:t,direction:n,clusters:r}}function za(e){return e>=2325&&e<=2361||e>=2392&&e<=2399}function Ba(e){let t=[];for(let n=0;n<e.length;n++){let r=e.codePointAt(n);t.push(r),r>65535&&n++}let n=[];for(let e=0;e<t.length;e++)if(t[e]===Ka&&e>0&&za(t[e-1])){let e=n.length-1;for(;e>=2&&n[e-1]===2381&&za(n[e-2]);)e-=2;n.splice(e,0,Ka)}else n.push(t[e]);return String.fromCodePoint(...n)}function Va(e){return e>=1552&&e<=1562||e>=1611&&e<=1631||e===1648||e>=1750&&e<=1756||e>=1759&&e<=1764||e>=1767&&e<=1768||e>=1770&&e<=1773?`T`:e>=1536&&e<=1541||e===1544||e===1547||e===1569?`U`:e===1570||e===1571||e===1572||e===1573||e===1575||e===1577||e===1583||e===1584||e===1585||e===1586||e===1608||e>=1649&&e<=1651||e>=1653&&e<=1655||e===1672||e===1673||e===1674||e===1675||e===1676||e===1677||e===1678||e===1681||e===1682||e===1683||e===1684||e===1685||e===1686||e===1687||e===1688||e===1689||e===1728||e===1731||e===1733||e===1734||e===1735||e===1736||e===1737||e===1739||e===1741||e===1743||e===1746||e===1747||e===1749||e===1774||e===1775?`R`:e>=1574&&e<=1610||e>=1646&&e<=1745?`D`:e===8205?`C`:`U`}function Ha(e){let t=e.clusters,n=t.length;for(let e=0;e<n;e++){if(t[e].advanceMultiplier===0)continue;let r=t[e].chars.codePointAt(0),i=Va(r);if(i===`T`||i===`U`)continue;let a=!1;for(let n=e-1;n>=0;n--){if(t[n].advanceMultiplier===0)continue;let e=Va(t[n].chars.codePointAt(0));if(e!==`T`){a=e===`D`||e===`C`;break}}let o=!1;for(let r=e+1;r<n;r++){if(t[r].advanceMultiplier===0)continue;let e=Va(t[r].chars.codePointAt(0));if(e!==`T`){o=e===`D`||e===`C`||e===`R`;break}}let s;s=i===`D`?a&&o?`medial`:a?`final`:o?`initial`:`isolated`:i===`R`&&a?`final`:`isolated`;let c=Wa(r,s);c!==r&&(t[e].visual=String.fromCodePoint(c))}Ua(t)}function Ua(e){let t=e.length;for(let n=0;n<t-1;n++){if(e[n].chars.codePointAt(0)!==1604)continue;let r=-1;for(let i=n+1;i<t;i++)if(Va(e[i].chars.codePointAt(0))!==`T`){r=i;break}if(r===-1)continue;let i=e[r].chars.codePointAt(0),a=qa[i];if(!a)continue;let o=!1;for(let t=n-1;t>=0;t--){let n=Va(e[t].chars.codePointAt(0));if(n!==`T`){o=n===`D`||n===`C`;break}}let s=o?a[1]:a[0];e[n].chars=e[n].chars+e[r].chars,e[n].visual=String.fromCodePoint(s),e[r].visual=``,e[r].advanceMultiplier=0}}function Wa(e,t){let n=Ja[e];if(!n)return e;switch(t){case`isolated`:return n[0];case`final`:return n[1]??e;case`initial`:return n[2]??e;case`medial`:return n[3]??e;default:return e}}function Ga(e,t){if(e.length<=1)return e.length===1&&e[0].direction===`rtl`&&e[0].clusters.reverse(),e;let n=e.map(e=>t===`ltr`?+(e.direction===`rtl`):e.direction===`ltr`?2:1);for(let t=0;t<e.length;t++)e[t].direction===`rtl`&&e[t].clusters.reverse();let r=0;for(let e of n)e>r&&(r=e);let i=[...e];for(let e=r;e>0;e--){let t=0;for(;t<i.length;)if(n[t]>=e){let r=t+1;for(;r<i.length&&n[r]>=e;)r++;let a=i.slice(t,r);a.reverse(),i.splice(t,r-t,...a);let o=n.slice(t,r);o.reverse(),n.splice(t,r-t,...o),t=r}else t++}return i}var Ka,qa,Ja,Ya=n((()=>{Ka=2367,qa={1575:[65275,65276],1570:[65269,65270],1571:[65271,65272],1573:[65273,65274]},Ja={1575:[65165,65166],1576:[65167,65168,65169,65170],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264],1610:[65265,65266,65267,65268],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1577:[65171,65172],1662:[64342,64343,64344,64345],1670:[64378,64379,64380,64381],1688:[64394,64395],1711:[64402,64403,64404,64405],1700:[64362,64363,64364,64365],1705:[64398,64399,64400,64401],1649:[64336,64337],1569:[65152,65152],1731:[64388,64389]}}));function Xa(e){let t=0,n=Qa.length-1;for(;t<=n;){let r=t+n>>>1,i=Qa[r];if(e<i.start)n=r-1;else if(e>i.end)t=r+1;else return i.name}switch(Math.floor(e/65536)){case 0:return`Basic Multilingual Plane`;case 1:return`Supplementary Multilingual Plane`;case 2:case 3:return`Supplementary Ideographic Plane`;case 14:return`Supplementary Special-purpose Plane`;default:return`Private Use / unassigned`}}function Za(e,t=4){let n=/* @__PURE__ */ new Map;for(let t of e){let e=Xa(t),r=n.get(e);r===void 0?n.set(e,{count:1,sample:t}):(r.count++,t<r.sample&&(r.sample=t))}if(n.size===0)return``;let r=[...n.entries()].sort((e,t)=>t[1].count-e[1].count||e[1].sample-t[1].sample),i=r.slice(0,t).map(([e,{count:t,sample:n}])=>{let r=`U+${n.toString(16).toUpperCase().padStart(4,`0`)}`;return`${e} (${t}, e.g. ${String.fromCodePoint(n)} ${r})`}),a=r.length-i.length;return a>0?`${i.join(`; `)}; and ${a} more block(s)`:i.join(`; `)}var Qa,$a=n((()=>{Qa=[{start:0,end:127,name:`Basic Latin`},{start:128,end:255,name:`Latin-1 Supplement`},{start:256,end:383,name:`Latin Extended-A`},{start:384,end:591,name:`Latin Extended-B`},{start:592,end:687,name:`IPA Extensions`},{start:688,end:767,name:`Spacing Modifier Letters`},{start:768,end:879,name:`Combining Diacritical Marks`},{start:880,end:1023,name:`Greek and Coptic`},{start:1024,end:1279,name:`Cyrillic`},{start:1280,end:1327,name:`Cyrillic Supplement`},{start:1328,end:1423,name:`Armenian`},{start:1424,end:1535,name:`Hebrew`},{start:1536,end:1791,name:`Arabic`},{start:1792,end:1871,name:`Syriac`},{start:1920,end:1983,name:`Thaana`},{start:2304,end:2431,name:`Devanagari`},{start:2432,end:2559,name:`Bengali`},{start:2560,end:2687,name:`Gurmukhi`},{start:2688,end:2815,name:`Gujarati`},{start:2816,end:2943,name:`Oriya`},{start:2944,end:3071,name:`Tamil`},{start:3072,end:3199,name:`Telugu`},{start:3200,end:3327,name:`Kannada`},{start:3328,end:3455,name:`Malayalam`},{start:3456,end:3583,name:`Sinhala`},{start:3584,end:3711,name:`Thai`},{start:3712,end:3839,name:`Lao`},{start:3840,end:4095,name:`Tibetan`},{start:4096,end:4255,name:`Myanmar`},{start:4256,end:4351,name:`Georgian`},{start:4352,end:4607,name:`Hangul Jamo`},{start:4608,end:4991,name:`Ethiopic`},{start:5024,end:5119,name:`Cherokee`},{start:6016,end:6143,name:`Khmer`},{start:6144,end:6319,name:`Mongolian`},{start:7680,end:7935,name:`Latin Extended Additional`},{start:7936,end:8191,name:`Greek Extended`},{start:8192,end:8303,name:`General Punctuation`},{start:8304,end:8351,name:`Superscripts and Subscripts`},{start:8352,end:8399,name:`Currency Symbols`},{start:8448,end:8527,name:`Letterlike Symbols`},{start:8528,end:8591,name:`Number Forms`},{start:8592,end:8703,name:`Arrows`},{start:8704,end:8959,name:`Mathematical Operators`},{start:8960,end:9215,name:`Miscellaneous Technical`},{start:9216,end:9279,name:`Control Pictures`},{start:9312,end:9471,name:`Enclosed Alphanumerics`},{start:9472,end:9599,name:`Box Drawing`},{start:9600,end:9631,name:`Block Elements`},{start:9632,end:9727,name:`Geometric Shapes`},{start:9728,end:9983,name:`Miscellaneous Symbols`},{start:9984,end:10175,name:`Dingbats`},{start:10240,end:10495,name:`Braille Patterns`},{start:11008,end:11263,name:`Miscellaneous Symbols and Arrows`},{start:11904,end:12031,name:`CJK Radicals Supplement`},{start:12032,end:12255,name:`Kangxi Radicals`},{start:12288,end:12351,name:`CJK Symbols and Punctuation`},{start:12352,end:12447,name:`Hiragana`},{start:12448,end:12543,name:`Katakana`},{start:12544,end:12591,name:`Bopomofo`},{start:12592,end:12687,name:`Hangul Compatibility Jamo`},{start:12688,end:12703,name:`Kanbun`},{start:12784,end:12799,name:`Katakana Phonetic Extensions`},{start:12800,end:13055,name:`Enclosed CJK Letters and Months`},{start:13056,end:13311,name:`CJK Compatibility`},{start:13312,end:19903,name:`CJK Unified Ideographs Extension A`},{start:19904,end:19967,name:`Yijing Hexagram Symbols`},{start:19968,end:40959,name:`CJK Unified Ideographs`},{start:40960,end:42127,name:`Yi Syllables`},{start:43360,end:43391,name:`Hangul Jamo Extended-A`},{start:44032,end:55215,name:`Hangul Syllables`},{start:63744,end:64255,name:`CJK Compatibility Ideographs`},{start:64256,end:64335,name:`Alphabetic Presentation Forms`},{start:65040,end:65055,name:`Vertical Forms`},{start:65072,end:65103,name:`CJK Compatibility Forms`},{start:65104,end:65135,name:`Small Form Variants`},{start:65136,end:65279,name:`Arabic Presentation Forms-B`},{start:65280,end:65519,name:`Halfwidth and Fullwidth Forms`},{start:127744,end:128511,name:`Miscellaneous Symbols and Pictographs`},{start:128512,end:128591,name:`Emoticons`},{start:128640,end:128767,name:`Transport and Map Symbols`},{start:129280,end:129535,name:`Supplemental Symbols and Pictographs`},{start:131072,end:173791,name:`CJK Unified Ideographs Extension B`},{start:173824,end:177983,name:`CJK Unified Ideographs Extension C`},{start:177984,end:178207,name:`CJK Unified Ideographs Extension D`},{start:178208,end:183983,name:`CJK Unified Ideographs Extension E`},{start:183984,end:191471,name:`CJK Unified Ideographs Extension F`},{start:191472,end:192095,name:`CJK Unified Ideographs Extension I`},{start:194560,end:195103,name:`CJK Compatibility Ideographs Supplement`},{start:196608,end:201551,name:`CJK Unified Ideographs Extension G`},{start:201552,end:205743,name:`CJK Unified Ideographs Extension H`}]})),eo,to=n((()=>{eo={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 no(e,t){for(let n of t){if(n.length===0)continue;let[t]=n,r=n[n.length-1],i=n.length>2&&t[0]===r[0]&&t[1]===r[1],a=i?n.slice(0,-1):n;e.M(a[0][0],a[0][1]);for(let t=1;t<a.length;t++)e.L(a[t][0],a[t][1]);i&&e.Z()}}function ro(e){let t=e.d.map(e=>e.map(([e,t])=>[e*Bo,(zo-t)*Bo]));return{width:Math.round(e.w*Bo),draw:e=>{e.lineWidth(80),no(e,t),e.stroke()}}}function D(e){let t=eo[e.codePointAt(0)];if(t===void 0)throw Error(`type3 letterforms: stroke font has no '${e}'`);return{w:t.w,d:t.d.map(t=>t.map(t=>{if(t.length<2)throw Error(`type3 letterforms: '${e}' has a point with ${t.length} value(s)`);return[t[0],t[1]]}))}}function O(e,...t){return{w:e,d:t}}function k(...e){return{w:Math.max(...e.map(e=>e.w)),d:e.flatMap(e=>e.d)}}function io(e,t,n,r=Lo,i=zo){let a=(n-t)/(i-r);return{w:e.w*a,d:e.d.map(e=>e.map(([e,n])=>[e*a,t+(n-r)*a]))}}function ao(e){let t=io(e,Ro,zo);return{w:t.w+.022999999999999996,d:t.d}}function oo(e,t=Lo){return io(e,.13,.47,t)}function so(e,t=Lo){return io(e,.47,.81,t)}function co(e){let t=e.d.flat(),n=t.map(([e])=>e),r=t.map(([,e])=>e),i=(Math.min(...n)+Math.max(...n))/2,a=(Math.min(...r)+Math.max(...r))/2;return{w:e.w,d:e.d.map(e=>e.map(([e,t])=>[2*i-e,2*a-t]))}}function lo(e){let t=e.d.flat(),n=t.map(([e])=>e),r=t.map(([,e])=>e);return{minX:Math.min(...n),maxX:Math.max(...n),minY:Math.min(...r),maxY:Math.max(...r)}}function uo(e){let{minX:t,maxX:n}=lo(e),r=t+n;return{w:e.w,d:e.d.map(e=>e.map(([e,t])=>[r-e,t]))}}function fo(e,t,n,r,i=12){let a=[];for(let o=0;o<=i;o++){let s=o/i*Math.PI*2;a.push([Number((e+Math.cos(s)*n).toFixed(4)),Number((t+Math.sin(s)*r).toFixed(4))])}return a}function A(e,t){return[[[e,t],[e+.1,t-.1]]]}function j(e,t){return[[[e,t-.1],[e+.1,t]]]}function po(e,t){return[[[e,t-.01],[e+.01,t-.01]],[[e+.13,t-.01],[e+.14,t-.01]]]}function mo(e,t,n){return[[[e,t-.07],[e+n*.2,t-.02],[e+n*.5,t],[e+n*.8,t-.02],[e+n,t-.07]]]}function M(e,t){return[[[e,t-.09],[e+.07,t],[e+.14,t-.09]]]}function N(e,t){return[[[e,t],[e+.07,t-.09],[e+.14,t]]]}function ho(e,t){return[[[e,t-.01],[e+.04,t-.06],[e+.1,t-.01],[e+.14,t-.06]]]}function go(e,t){return[[[e,t],[e+.16,t]]]}function _o(e,t){return[[[e+.07,t],[e+.08,t]]]}function vo(e,t){return[fo(e+.07,t-.05,.05,.05,8)]}function yo(e,t){return[...A(e-.01,t),...A(e+.09,t)]}function bo(e,t){return[[[e+.07,t],[e+.07,t+.05],[e+.01,t+.09]]]}function xo(e,t){return[[[e+.08,t+.01],[e+.03,t+.1]]]}function So(e,t){return[[[e+.09,t],[e+.05,t+.03],[e+.04,t+.06],[e+.08,t+.09],[e+.13,t+.08]]]}function Co(e,t){return k(e,O(e.w,...t(e.w*.5-.03,.04999999999999999)))}function wo(e,t){return k(e,O(e.w,...t(e.w*.5-.03,.28)))}function To(e){return k(e,O(e.w+.08,[[e.w-.02,.27],[e.w+.01,Lo]]))}function Eo(e,t){return[[[e+.02,t-.1],[e+.07,t-.11],[e+.1,t-.08],[e+.08,t-.04],[e+.05,t-.02],[e+.05,t]]]}function Do(e,t){return[[[e+.07,t+.04],[e+.08,t+.04]]]}function Oo(e){let{maxX:t,minY:n}=lo(e);return k(e,O(e.w+.05,[[t-.01,n+.04],[t+.04,n],[t+.06,n-.05]]))}function ko(e,t){return mo(e,t,.16)}function Ao(e,t,n=.5){return k(e,O(e.w,...t(e.w*n-.04,.77)))}function jo(e,t,n,r=!0){let i=r?Ro:Lo,a=e.w*.5-.03,o=i-Vo,s=Uo.get(t);if(s===void 0)throw Error(`type3 letterforms: stacking needs the lower mark's height`);return k(e,O(e.w,...t(a,o)),O(e.w,...n(a,o-s-Ho)))}function Mo(e){let{minX:t}=lo(e),n=.02;if(t>=n)return e;let r=n-t;return{w:e.w+r,d:Fo(e,r)}}function No(e){let{minX:t,minY:n}=lo(e);return Mo(k(e,O(e.w,[[t,n+.02],[t-.05,n-.02],[t-.09,n+.01]])))}function Po(e,t,n){let r=D(e),i=D(t),a=r.w-n;return{w:a+i.w,d:[...r.d,...i.d.map(e=>e.map(([e,t])=>[e+a,t]))]}}function Fo(e,t){return e.d.map(e=>e.map(([e,n])=>[e+t,n]))}function Io(e,t,n,r,i){return Mo(k(e,O(e.w,[[t,n],[r,i]])))}var Lo,Ro,zo,Bo,Vo,Ho,Uo,Wo=n((()=>{to(),Lo=.15,Ro=.38,zo=.75,Bo=700/.6,Vo=.1,Ho=.09,Uo=/* @__PURE__ */ new Map([[A,.1],[j,.1],[N,.09],[M,.09],[ho,.06],[ko,.07],[Eo,.11],[go,0],[_o,0],[po,.01],[vo,.1]])}));function Go(e,t){return k(e,O(e.w,...t(e.w*.5-.07,.02)))}var Ko,qo,Jo,Yo,Xo,Zo,Qo,$o,es,ts,ns,rs,is,as,os,ss,cs,ls,us,ds,fs,ps,ms,hs,gs,_s,vs,ys,bs,xs,Ss,Cs=n((()=>{Wo(),Ko=O(.5,[[.1,.15],[.42,.15]],[[.1,.15],[.1,.75],[.3,.75],[.4,.67],[.4,.52],[.3,.45],[.1,.45]]),qo=O(.44,[[.1,.75],[.1,.15],[.4,.15]]),Jo=O(.56,[[.06,.85],[.06,.75],[.14,.75],[.2,.15],[.42,.15],[.42,.75],[.5,.75],[.5,.85]],[[.14,.75],[.42,.75]]),Yo=O(.66,[[.33,.15],[.33,.75]],[[.06,.15],[.31,.45]],[[.06,.75],[.31,.45]],[[.6,.15],[.35,.45]],[[.6,.75],[.35,.45]]),Xo=O(.46,[[.1,.22],[.22,.15],[.36,.2],[.38,.33],[.26,.44],[.38,.55],[.38,.68],[.24,.75],[.1,.68]]),Zo=O(.52,[[.1,.75],[.1,.15]],[[.42,.75],[.42,.15]],[[.1,.75],[.42,.15]]),Qo=O(.54,[[.06,.75],[.16,.4],[.2,.15],[.44,.15],[.44,.75]]),$o=O(.54,[[.1,.75],[.1,.15],[.44,.15],[.44,.75]]),es=O(.48,[[.06,.15],[.26,.5]],[[.44,.15],[.16,.86],[.06,.9]]),ts=k(O(.58,[[.29,.15],[.29,.75]]),O(.58,[[.29,.26],[.16,.29],[.09,.37],[.09,.53],[.16,.61],[.29,.64],[.42,.61],[.49,.53],[.49,.37],[.42,.29],[.29,.26]])),ns=O(.54,[[.1,.15],[.1,.75],[.42,.75],[.42,.15]],[[.42,.75],[.42,.88],[.48,.88]]),rs=O(.5,[[.1,.15],[.1,.38],[.18,.46],[.4,.46],[.4,.15],[.4,.75]]),is=O(.66,[[.08,.15],[.08,.75],[.32,.75],[.32,.15],[.32,.75],[.56,.75],[.56,.15]]),as=k(is,O(.7,[[.56,.75],[.56,.88],[.62,.88]])),os=O(.54,[[.06,.15],[.2,.15]],[[.2,.15],[.2,.75],[.38,.75],[.47,.67],[.47,.53],[.38,.46],[.2,.46]]),ss=O(.46,[[.1,.15],[.1,.75],[.28,.75],[.38,.67],[.38,.53],[.28,.46],[.1,.46]]),cs=k(ss,O(.62,[[.53,.15],[.53,.75]])),ls=k(O(.48,[[.1,.22],[.24,.15],[.38,.24],[.42,.45],[.38,.66],[.24,.75],[.1,.68]]),O(.48,[[.24,.45],[.42,.45]])),us=k(O(.66,[[.08,.15],[.08,.75]]),O(.66,[[.08,.45],[.24,.45]]),O(.66,[[.38,.15],[.26,.22],[.24,.36],[.24,.54],[.26,.68],[.38,.75],[.52,.68],[.56,.54],[.56,.36],[.52,.22],[.38,.15]])),ds=O(.5,[[.42,.15],[.42,.75]],[[.42,.15],[.2,.15],[.1,.23],[.1,.37],[.2,.45],[.42,.45]],[[.24,.45],[.1,.75]]),fs=k(O(.54,[[.06,.28],[.34,.28]],[[.2,.15],[.2,.75]]),O(.54,[[.2,.45],[.38,.45],[.47,.53],[.47,.67],[.38,.75],[.2,.75]])),ps=k(O(.48,[[.4,.22],[.26,.15],[.12,.24],[.08,.45],[.12,.66],[.26,.75],[.4,.68]]),O(.48,[[.08,.45],[.3,.45]])),ms=k(O(.72,[[.04,.75],[.12,.4],[.16,.15],[.34,.15],[.34,.75]]),O(.72,[[.34,.45],[.52,.45],[.62,.53],[.62,.67],[.52,.75],[.34,.75]])),hs=k(O(.72,[[.08,.15],[.08,.75]],[[.34,.15],[.34,.75]],[[.08,.45],[.34,.45]]),O(.72,[[.34,.45],[.52,.45],[.62,.53],[.62,.67],[.52,.75],[.34,.75]])),gs=k(O(.54,[[.06,.28],[.34,.28]],[[.2,.15],[.2,.75]]),O(.54,[[.2,.45],[.38,.45],[.47,.53],[.47,.75]])),_s=O(.54,[[.1,.15],[.1,.75],[.42,.75],[.42,.15]],[[.26,.75],[.26,.88]]),vs=k(Zo,O(Zo.w,...mo(.12,.04,.28))),ys=k(es,O(es.w,...mo(.1,.04,.28))),bs=k(D(`y`),O(D(`y`).w,...mo(.08,.27,.26))),xs={1024:Co(D(`E`),j),1025:Co(D(`E`),po),1026:fs,1027:Co(qo,A),1028:ps,1029:D(`S`),1030:D(`I`),1031:Go(D(`I`),po),1032:D(`J`),1033:ms,1034:hs,1035:gs,1036:Co(D(`K`),A),1037:Co(Zo,j),1038:ys,1039:_s,1040:D(`A`),1041:Ko,1042:D(`B`),1043:qo,1044:Jo,1045:D(`E`),1046:Yo,1047:Xo,1048:Zo,1049:vs,1050:D(`K`),1051:Qo,1052:D(`M`),1053:D(`H`),1054:D(`O`),1055:$o,1056:D(`P`),1057:D(`C`),1058:D(`T`),1059:es,1060:ts,1061:D(`X`),1062:ns,1063:rs,1064:is,1065:as,1066:os,1067:cs,1068:ss,1069:ls,1070:us,1071:ds,1072:D(`a`),1073:O(.46,[[.36,.28],[.24,.24],[.14,.3],[.1,.42]],[[.1,.42],[.1,.66],[.2,.75],[.32,.75],[.4,.66],[.4,.52],[.32,.45],[.14,.45],[.1,.5]]),1074:ao(D(`B`)),1075:ao(qo),1076:ao(Jo),1077:D(`e`),1078:ao(Yo),1079:ao(Xo),1080:ao(Zo),1081:ao(vs),1082:ao(D(`K`)),1083:ao(Qo),1084:ao(D(`M`)),1085:ao(D(`H`)),1086:D(`o`),1087:ao($o),1088:D(`p`),1089:D(`c`),1090:ao(D(`T`)),1091:D(`y`),1092:ao(ts),1093:D(`x`),1094:ao(ns),1095:ao(rs),1096:ao(is),1097:ao(as),1098:ao(os),1099:ao(cs),1100:ao(ss),1101:ao(ls),1102:ao(us),1103:ao(ds),1104:wo(D(`e`),j),1105:wo(D(`e`),po),1106:ao(fs),1107:wo(ao(qo),A),1108:ao(ps),1109:D(`s`),1110:D(`i`),1111:Go(D(`i`),po),1112:D(`j`),1113:ao(ms),1114:ao(hs),1115:ao(gs),1116:wo(ao(D(`K`)),A),1117:wo(ao(Zo),j),1118:bs,1119:ao(_s)},Ss=Object.fromEntries(Object.entries(xs).map(([e,t])=>[Number(e),ro(t)])),Object.keys(xs).map(Number)}));function P(e,t,n,r){return{width:F,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 ws(e,t,n,r){return{width:F,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 Ts(e,t,n,r){return{width:F,draw:i=>{i.rect(e,t,n,r),i.fill()}}}function Es(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:F,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 Ds(e,t){return{width:F,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 Os(e,t,n,r){e.M(t,n),e.L(t,r),e.stroke()}function ks(e,t,n,r){e.M(t-80,r),e.L(t,n),e.L(t+80,r),e.stroke()}function As(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 js(e,t,n,r){e.M(t,r),e.L(n,r),e.stroke()}function Ms(e){return{width:F,draw:t=>{if(t.lineWidth(45),e<=3){let n=e,r=300-(n-1)*120/2;for(let e=0;e<n;e++)Os(t,r+e*120,0,500)}else e===4?(Os(t,200,0,500),ks(t,380,0,500)):e===5?ks(t,300,0,500):e===6?(ks(t,200,0,500),Os(t,400,0,500)):e===7?(ks(t,160,0,500),Os(t,340,0,500),Os(t,460,0,500)):e===8?(t.lineWidth(40),ks(t,140,0,500),Os(t,300,0,500),Os(t,400,0,500),Os(t,500,0,500)):e===9?(Os(t,200,0,500),As(t,400,0,500)):e===10?As(t,300,0,500):e===11?(As(t,220,0,500),Os(t,430,0,500)):e===12?(As(t,180,0,500),Os(t,370,0,500),Os(t,480,0,500)):e===50?(Os(t,200,0,500),js(t,200,450,0)):e===100?(js(t,180,450,500),Os(t,180,0,500),js(t,180,450,0)):e===500?(Os(t,180,0,500),t.M(180,500),t.C(480,500,480,0,180,0),t.stroke()):e===1e3&&(Os(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(),Os(t,500,0,500))}}}function Ns(e){return{width:F,draw:t=>{if(t.lineWidth(40),e<=3){let n=e,r=300-(n-1)*100/2;for(let e=0;e<n;e++)Os(t,r+e*100,0,350)}else e===4?(Os(t,200,0,350),ks(t,380,0,350)):e===5?ks(t,300,0,350):e===6?(ks(t,200,0,350),Os(t,400,0,350)):e===7?(ks(t,160,0,350),Os(t,340,0,350),Os(t,450,0,350)):e===8?(t.lineWidth(35),ks(t,130,0,350),Os(t,280,0,350),Os(t,380,0,350),Os(t,480,0,350)):e===9?(Os(t,200,0,350),As(t,400,0,350)):e===10?As(t,300,0,350):e===11?(As(t,220,0,350),Os(t,430,0,350)):e===12?(As(t,180,0,350),Os(t,370,0,350),Os(t,480,0,350)):e===50?(Os(t,200,0,350),js(t,200,450,0)):e===100?(js(t,180,450,350),Os(t,180,0,350),js(t,180,450,0)):e===500?(Os(t,180,0,350),t.M(180,350),t.C(480,350,480,0,180,0),t.stroke()):e===1e3&&(Os(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(),Os(t,500,0,350))}}}function Ps(e,t,n,r,i){lc[t](e,n,r,i)}function Fs(e,t,n,r,i){uc[t](e,n,r,i)}function Is(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 F,I,L,Ls,Rs,zs,Bs,Vs,Hs,Us,Ws,Gs,Ks,qs,Js,Ys,Xs,Zs,Qs,$s,ec,tc,nc,rc,ic,ac,oc,sc,cc,lc,uc,dc=n((()=>{F=600,I=40,L=80,Ls={9472:P(I,I,0,0),9473:P(L,L,0,0),9474:P(0,0,I,I),9475:P(0,0,L,L),9476:P(I,I,0,0),9477:P(L,L,0,0),9478:P(0,0,I,I),9479:P(0,0,L,L),9480:P(I,I,0,0),9481:P(L,L,0,0),9482:P(0,0,I,I),9483:P(0,0,L,L),9484:P(0,I,0,I),9485:P(0,L,0,I),9486:P(0,I,0,L),9487:P(0,L,0,L),9488:P(I,0,0,I),9489:P(L,0,0,I),9490:P(I,0,0,L),9491:P(L,0,0,L),9492:P(0,I,I,0),9493:P(0,L,I,0),9494:P(0,I,L,0),9495:P(0,L,L,0),9496:P(I,0,I,0),9497:P(L,0,I,0),9498:P(I,0,L,0),9499:P(L,0,L,0),9500:P(0,I,I,I),9501:P(0,L,I,I),9502:P(0,I,L,I),9503:P(0,I,I,L),9504:P(0,I,L,L),9505:P(0,L,L,I),9506:P(0,L,I,L),9507:P(0,L,L,L),9508:P(I,0,I,I),9509:P(L,0,I,I),9510:P(I,0,L,I),9511:P(I,0,I,L),9512:P(I,0,L,L),9513:P(L,0,L,I),9514:P(L,0,I,L),9515:P(L,0,L,L),9516:P(I,I,0,I),9517:P(L,I,0,I),9518:P(I,L,0,I),9519:P(L,L,0,I),9520:P(I,I,0,L),9521:P(L,I,0,L),9522:P(I,L,0,L),9523:P(L,L,0,L),9524:P(I,I,I,0),9525:P(L,I,I,0),9526:P(I,L,I,0),9527:P(L,L,I,0),9528:P(I,I,L,0),9529:P(L,I,L,0),9530:P(I,L,L,0),9531:P(L,L,L,0),9532:P(I,I,I,I),9533:P(L,I,I,I),9534:P(I,L,I,I),9535:P(L,L,I,I),9536:P(I,I,L,I),9537:P(I,I,I,L),9538:P(I,I,L,L),9539:P(L,I,L,I),9540:P(I,L,L,I),9541:P(L,I,I,L),9542:P(I,L,I,L),9543:P(L,L,L,I),9544:P(L,L,I,L),9545:P(L,I,L,L),9546:P(I,L,L,L),9547:P(L,L,L,L),9552:ws(!0,!0,!1,!1),9553:ws(!1,!1,!0,!0),9554:ws(!1,!0,!1,!0),9555:ws(!1,!0,!1,!0),9556:ws(!1,!0,!1,!0),9557:ws(!0,!1,!1,!0),9558:ws(!0,!1,!1,!0),9559:ws(!0,!1,!1,!0),9560:ws(!1,!0,!0,!1),9561:ws(!1,!0,!0,!1),9562:ws(!1,!0,!0,!1),9563:ws(!0,!1,!0,!1),9564:ws(!0,!1,!0,!1),9565:ws(!0,!1,!0,!1),9566:ws(!1,!0,!0,!0),9567:ws(!1,!0,!0,!0),9568:ws(!1,!0,!0,!0),9569:ws(!0,!1,!0,!0),9570:ws(!0,!1,!0,!0),9571:ws(!0,!1,!0,!0),9572:ws(!0,!0,!1,!0),9573:ws(!0,!0,!1,!0),9574:ws(!0,!0,!1,!0),9575:ws(!0,!0,!0,!1),9576:ws(!0,!0,!0,!1),9577:ws(!0,!0,!0,!1),9578:ws(!0,!0,!0,!0),9579:ws(!0,!0,!0,!0),9580:ws(!0,!0,!0,!0),9581:P(0,I,0,I),9582:P(I,0,0,I),9583:P(I,0,I,0),9584:P(0,I,I,0),9585:{width:F,draw:e=>{e.lineWidth(I),e.M(0,0),e.L(600,500),e.stroke()}},9586:{width:F,draw:e=>{e.lineWidth(I),e.M(0,500),e.L(600,0),e.stroke()}},9587:{width:F,draw:e=>{e.lineWidth(I),e.M(0,0),e.L(600,500),e.stroke(),e.M(0,500),e.L(600,0),e.stroke()}},9588:P(I,0,0,0),9589:P(0,0,I,0),9590:P(0,I,0,0),9591:P(0,0,0,I),9592:P(L,0,0,0),9593:P(0,0,L,0),9594:P(0,L,0,0),9595:P(0,0,0,L),9596:P(I,L,0,0),9597:P(0,0,I,L),9598:P(L,I,0,0),9599:P(0,0,L,I)},Rs={9600:Ts(0,250,600,250),9601:Ts(0,0,600,62),9602:Ts(0,0,600,125),9603:Ts(0,0,600,187),9604:Ts(0,0,600,250),9605:Ts(0,0,600,312),9606:Ts(0,0,600,375),9607:Ts(0,0,600,437),9608:Ts(0,0,600,500),9609:Ts(0,0,525,500),9610:Ts(0,0,450,500),9611:Ts(0,0,375,500),9612:Ts(0,0,300,500),9613:Ts(0,0,225,500),9614:Ts(0,0,150,500),9615:Ts(0,0,75,500),9616:Ts(300,0,300,500),9617:{width:F,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:F,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:F,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:Ts(0,437,600,63),9621:Ts(525,0,75,500),9622:Ts(0,0,300,250),9623:Ts(300,0,300,250),9624:Ts(0,250,300,250),9625:{width:F,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:F,draw:e=>{e.rect(0,250,300,250),e.fill(),e.rect(300,0,300,250),e.fill()}},9627:{width:F,draw:e=>{e.rect(0,0,300,250),e.fill(),e.rect(0,250,600,250),e.fill()}},9628:{width:F,draw:e=>{e.rect(300,0,300,250),e.fill(),e.rect(0,250,600,250),e.fill()}},9629:Ts(300,250,300,250),9630:{width:F,draw:e=>{e.rect(300,250,300,250),e.fill(),e.rect(0,0,300,250),e.fill()}},9631:{width:F,draw:e=>{e.rect(300,0,300,500),e.fill(),e.rect(0,0,300,250),e.fill()}}},zs={};for(let e=0;e<256;e++)zs[10240+e]=Es(e);Bs={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:F,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:F,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:F,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:F,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:F,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:F,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:F,draw:e=>{e.circle(300,450,40),e.fill(),e.lineWidth(55),e.M(300,350),e.L(300,50),e.stroke()}},8543:{width:F,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()}}},Vs={8528:Ds(`1`,`7`),8529:Ds(`1`,`9`),8530:Ds(`1`,`10`),8531:Ds(`1`,`3`),8532:Ds(`2`,`3`),8533:Ds(`1`,`5`),8534:Ds(`2`,`5`),8535:Ds(`3`,`5`),8536:Ds(`4`,`5`),8537:Ds(`1`,`6`),8538:Ds(`5`,`6`),8539:Ds(`1`,`8`),8540:Ds(`3`,`8`),8541:Ds(`5`,`8`),8542:Ds(`7`,`8`),8544:{width:F,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke()}},8545:{width:F,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:F,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:F,draw:e=>{e.lineWidth(50),e.M(180,500),e.L(300,0),e.L(420,500),e.stroke()}},8548:{width:F,draw:e=>{e.lineWidth(50),e.M(150,500),e.L(300,0),e.L(450,500),e.stroke()}}},Hs={};for(let e=0;e<20;e++)Hs[9312+e]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}};for(let e=0;e<12;e++)Hs[9332+e]={width:F,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++)Hs[9398+e]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}};for(let e=0;e<26;e++)Hs[9424+e]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,200),e.stroke()}};Hs[9450]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}},Us={8208:{width:F,draw:e=>{e.lineWidth(50),e.M(150,250),e.L(450,250),e.stroke()}},8209:{width:F,draw:e=>{e.lineWidth(50),e.M(150,250),e.L(450,250),e.stroke()}},8210:{width:F,draw:e=>{e.lineWidth(50),e.M(100,250),e.L(500,250),e.stroke()}},8211:{width:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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()}}},Ws={8602:{width:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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()}}},Gs={8723:{width:F,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:F,draw:e=>{e.circle(300,250,50),e.fill()}},8733:{width:F,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:F,draw:e=>{e.lineWidth(50),e.M(120,450),e.L(120,50),e.L(480,50),e.stroke()}},8739:{width:F,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke()}},8740:{width:F,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:F,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:F,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:F,draw:e=>{e.lineWidth(35),e.circle(300,250,70),e.stroke()}},8756:{width:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,draw:e=>{e.lineWidth(45),e.M(120,50),e.L(480,50),e.L(120,450),e.Z(),e.stroke()}}},Ks={9729:{width:F,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:F,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:F,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:F,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:F,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:F,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:F,draw:e=>{e.circle(300,250,230),e.fill()}},9872:{width:F,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:F,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:F,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:F,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:F,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke()}},9899:{width:F,draw:e=>{e.circle(300,250,180),e.fill()}}},qs={9985:{width:F,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:F,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:F,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:F,draw:e=>{e.lineWidth(35),e.rect(80,50,440,400),e.stroke(),e.circle(300,250,120),e.stroke()}},9992:{width:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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()}}},Js={8976:{width:F,draw:e=>{e.lineWidth(45),e.M(480,350),e.L(120,350),e.L(120,150),e.stroke()}},8981:{width:F,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.circle(300,250,50),e.fill()}},8986:{width:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,draw:e=>{e.rect(140,60,100,380),e.fill(),e.rect(360,60,100,380),e.fill()}},9209:{width:F,draw:e=>{e.rect(100,50,400,400),e.fill()}},9210:{width:F,draw:e=>{e.circle(300,250,200),e.fill()}}},Ys={8352:{width:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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()}}},Xs={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()}}},Zs={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()}}},Qs=100,$s=50,ec=400,tc=400,nc=500,rc=450,ic={9639:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.lineWidth(20);for(let t=-3;t<=3;t++){let n=t*100;e.M(Qs+n,rc),e.L(nc+n,$s),e.stroke()}}},9641:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.lineWidth(15);for(let t=-3;t<=3;t++){let n=t*100;e.M(Qs+n,rc),e.L(nc+n,$s),e.stroke(),e.M(Qs+n,$s),e.L(nc+n,rc),e.stroke()}}},9649:{width:F,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:F,draw:e=>{e.lineWidth(35),e.M(200,380),e.L(430,250),e.L(200,120),e.Z(),e.stroke()}},9658:{width:F,draw:e=>{e.M(150,420),e.L(480,250),e.L(150,80),e.Z(),e.fill()}},9659:{width:F,draw:e=>{e.lineWidth(40),e.M(150,420),e.L(480,250),e.L(150,80),e.Z(),e.stroke()}},9663:{width:F,draw:e=>{e.lineWidth(35),e.M(180,380),e.L(420,380),e.L(300,120),e.Z(),e.stroke()}},9667:{width:F,draw:e=>{e.lineWidth(35),e.M(400,380),e.L(170,250),e.L(400,120),e.Z(),e.stroke()}},9668:{width:F,draw:e=>{e.M(450,420),e.L(120,250),e.L(450,80),e.Z(),e.fill()}},9669:{width:F,draw:e=>{e.lineWidth(40),e.M(450,420),e.L(120,250),e.L(450,80),e.Z(),e.stroke()}},9698:{width:F,draw:e=>{e.M(nc,rc),e.L(nc,$s),e.L(Qs,$s),e.Z(),e.fill()}},9699:{width:F,draw:e=>{e.M(Qs,rc),e.L(Qs,$s),e.L(nc,$s),e.Z(),e.fill()}},9700:{width:F,draw:e=>{e.M(Qs,$s),e.L(Qs,rc),e.L(nc,rc),e.Z(),e.fill()}},9701:{width:F,draw:e=>{e.M(nc,$s),e.L(nc,rc),e.L(Qs,rc),e.Z(),e.fill()}},9703:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.rect(Qs,$s,ec/2,tc),e.fill()}},9704:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.rect(300,$s,ec/2,tc),e.fill()}},9705:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.M(Qs,$s),e.L(Qs,rc),e.L(nc,rc),e.Z(),e.fill()}},9706:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.M(nc,rc),e.L(nc,$s),e.L(Qs,$s),e.Z(),e.fill()}},9707:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.M(300,$s),e.L(300,rc),e.stroke()}},9708:{width:F,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:F,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:F,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:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.rect(Qs,250,ec/2,tc/2),e.fill()}},9713:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.rect(Qs,$s,ec/2,tc/2),e.fill()}},9714:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.rect(300,$s,ec/2,tc/2),e.fill()}},9715:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.rect(300,250,ec/2,tc/2),e.fill()}},9716:{width:F,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:F,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:F,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:F,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:F,draw:e=>{e.lineWidth(35),e.M(Qs,rc),e.L(nc,rc),e.L(Qs,$s),e.Z(),e.stroke()}},9721:{width:F,draw:e=>{e.lineWidth(35),e.M(Qs,rc),e.L(nc,rc),e.L(nc,$s),e.Z(),e.stroke()}},9722:{width:F,draw:e=>{e.lineWidth(35),e.M(Qs,rc),e.L(Qs,$s),e.L(nc,$s),e.Z(),e.stroke()}},9723:{width:F,draw:e=>{e.lineWidth(35),e.rect(130,80,340,340),e.stroke()}},9724:{width:F,draw:e=>{e.rect(130,80,340,340),e.fill()}},9725:{width:F,draw:e=>{e.lineWidth(30),e.rect(170,120,260,260),e.stroke()}},9726:{width:F,draw:e=>{e.rect(170,120,260,260),e.fill()}},9727:{width:F,draw:e=>{e.lineWidth(35),e.M(nc,rc),e.L(nc,$s),e.L(Qs,$s),e.Z(),e.stroke()}}},ac=[[8549,6],[8550,7],[8551,8],[8552,9],[8553,10],[8554,11],[8555,12],[8556,50],[8557,100],[8558,500],[8559,1e3]],oc=[[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]],sc={};for(let[e,t]of ac)sc[e]=Ms(t);for(let[e,t]of oc)sc[e]=Ns(t);sc[8576]={width:F,draw:e=>{e.lineWidth(45),e.circle(300,250,220),e.stroke(),e.M(300,470),e.L(300,30),e.stroke()}},sc[8577]={width:F,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()}},sc[8578]={width:F,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,250,150),e.stroke()}},sc[8579]={width:F,draw:e=>{e.lineWidth(45),e.M(150,450),e.C(450,450,450,50,150,50),e.stroke()}},cc={},lc=[(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()}],uc=[(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;cc[9332+e]={width:F,draw:e=>{if(e.lineWidth(25),Is(e),e.lineWidth(24),t<=9)Ps(e,t,300,250,200);else{let n=Math.floor(t/10),r=t%10;Ps(e,n,240,250,150),Ps(e,r,380,250,150)}}}}for(let e=0;e<20;e++){let t=e+1;cc[9352+e]={width:F,draw:e=>{if(e.lineWidth(26),t<=9)Ps(e,t,260,250,210);else{let n=Math.floor(t/10),r=t%10;Ps(e,n,200,250,160),Ps(e,r,340,250,160)}e.circle(t<=9?400:460,80,28),e.fill()}}}for(let e=0;e<26;e++)cc[9372+e]={width:F,draw:t=>{t.lineWidth(25),Is(t),t.lineWidth(24),Fs(t,e,300,250,200)}};for(let e=0;e<=20;e++){let t=e+11;cc[9451+e]={width:F,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;Ps(n,e,230,250,150),Ps(n,r,370,250,150)}else if(e<=19){let t=e-9;t<=9?Ps(n,t,300,250,170):(Ps(n,1,230,250,140),Ps(n,0,370,250,140))}else Ps(n,0,300,250,170)}}}}));function fc(e,t,n,r,i,a,o=35){return{width:R,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 R,pc,mc,hc,gc,_c,vc,yc,bc=n((()=>{R=600,pc={8636:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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()}}},mc={10024:{width:R,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:fc(5,300,260,220,90,!1,40),10026:{width:R,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:fc(5,300,260,230,110,!0),10028:{width:R,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:fc(5,300,260,230,100,!0),10030:fc(5,300,260,240,105,!0),10031:fc(5,300,260,220,80,!1,30),10033:{width:R,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:R,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:R,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:fc(8,300,260,220,100,!0),10037:fc(8,300,260,220,80,!1,30),10038:fc(6,300,260,220,110,!0),10039:fc(8,300,260,220,90,!0),10040:fc(8,300,260,230,80,!0),10041:fc(12,300,260,220,130,!0),10042:fc(16,300,260,220,140,!0),10043:fc(6,300,260,220,80,!0),10044:fc(6,300,260,220,80,!1,35),10045:fc(6,300,260,230,70,!0),10046:fc(6,300,260,210,120,!1,40),10047:fc(6,300,260,210,120,!0),10048:fc(6,300,260,210,120,!1,35),10049:fc(8,300,260,210,130,!1,40),10050:{width:R,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:fc(8,300,260,220,70,!0),10052:{width:R,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:R,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:R,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:R,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:R,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:R,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:fc(8,300,260,220,60,!0),10059:fc(8,300,260,230,50,!0),10060:{width:R,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:R,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:R,draw:e=>{e.rect(80,30,440,440),e.fill()}},10067:{width:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(75),e.M(300,480),e.L(300,180),e.stroke(),e.circle(300,70,45),e.fill()}},10082:{width:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.rect(220,50,160,400),e.fill(),e.rect(100,170,400,160),e.fill()}},10134:{width:R,draw:e=>{e.rect(100,180,400,140),e.fill()}},10135:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.M(520,250),e.L(200,430),e.L(280,250),e.L(200,70),e.Z(),e.fill()}},10147:{width:R,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:R,draw:e=>{e.M(520,250),e.L(100,450),e.L(100,50),e.Z(),e.fill()}},10149:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.circle(300,250,230),e.fill()}},10163:{width:R,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:R,draw:e=>{e.M(480,50),e.L(480,220),e.L(200,400),e.L(250,50),e.Z(),e.fill()}},10165:{width:R,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:R,draw:e=>{e.M(480,450),e.L(250,450),e.L(200,100),e.L(480,280),e.Z(),e.fill()}},10167:{width:R,draw:e=>{e.M(500,50),e.L(500,240),e.L(180,420),e.L(230,50),e.Z(),e.fill()}},10168:{width:R,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:R,draw:e=>{e.M(500,450),e.L(230,450),e.L(180,80),e.L(500,260),e.Z(),e.fill()}},10170:{width:R,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:R,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:R,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:R,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:R,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()}}},hc={9730:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.circle(300,140,100),e.fill(),e.circle(300,350,70),e.fill()}},9925:{width:R,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:R,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:R,draw:e=>{e.circle(300,250,220),e.fill()}},9962:{width:R,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:R,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:R,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:R,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:R,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()}}},gc={8961:{width:R,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:R,draw:e=>{e.lineWidth(50),e.M(130,100),e.L(300,400),e.L(470,100),e.stroke()}},8964:{width:R,draw:e=>{e.lineWidth(50),e.M(130,400),e.L(300,100),e.L(470,400),e.stroke()}},8965:{width:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(50),e.M(400,450),e.L(200,450),e.L(200,50),e.stroke()}},8969:{width:R,draw:e=>{e.lineWidth(50),e.M(200,450),e.L(400,450),e.L(400,50),e.stroke()}},8970:{width:R,draw:e=>{e.lineWidth(50),e.M(200,450),e.L(200,50),e.L(400,50),e.stroke()}},8971:{width:R,draw:e=>{e.lineWidth(50),e.M(400,450),e.L(400,50),e.L(200,50),e.stroke()}},8972:{width:R,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(450,100),e.L(450,250),e.stroke()}},8973:{width:R,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(150,100),e.L(150,250),e.stroke()}},8974:{width:R,draw:e=>{e.lineWidth(45),e.M(300,400),e.L(450,400),e.L(450,250),e.stroke()}},8975:{width:R,draw:e=>{e.lineWidth(45),e.M(300,400),e.L(150,400),e.L(150,250),e.stroke()}},8977:{width:R,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:R,draw:e=>{e.lineWidth(50),e.M(80,100),e.C(80,400,520,400,520,100),e.stroke()}},8979:{width:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(50),e.M(120,350),e.L(480,350),e.L(480,150),e.stroke()}},8988:{width:R,draw:e=>{e.lineWidth(45),e.M(150,300),e.L(150,420),e.L(300,420),e.stroke()}},8989:{width:R,draw:e=>{e.lineWidth(45),e.M(300,420),e.L(450,420),e.L(450,300),e.stroke()}},8990:{width:R,draw:e=>{e.lineWidth(45),e.M(150,200),e.L(150,80),e.L(300,80),e.stroke()}},8991:{width:R,draw:e=>{e.lineWidth(45),e.M(300,80),e.L(450,80),e.L(450,200),e.stroke()}},8992:{width:R,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:R,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:R,draw:e=>{e.lineWidth(50),e.M(80,350),e.C(200,100,400,100,520,350),e.stroke()}},8995:{width:R,draw:e=>{e.lineWidth(50),e.M(80,200),e.C(200,450,400,450,520,200),e.stroke()}},8996:{width:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(200,250),e.L(400,50),e.stroke()}},9002:{width:R,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(400,250),e.L(200,50),e.stroke()}},9004:{width:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.M(300,450),e.L(300,480),e.stroke()}},9007:{width:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,400),e.stroke()}},9010:{width:R,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:R,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(100,400),e.L(500,250),e.stroke()}},9012:{width:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.rect(150,80,300,340),e.stroke()}},9016:{width:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,80),e.stroke()}},9020:{width:R,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,130),e.stroke()}},9021:{width:R,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(300,430),e.L(300,70),e.stroke()}},9022:{width:R,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.circle(300,250,70),e.stroke()}},9023:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(170,120),e.L(430,380),e.stroke()}},9034:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.circle(300,310,100),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9052:{width:R,draw:e=>{e.lineWidth(40),e.circle(300,310,130),e.stroke(),e.M(100,100),e.L(500,100),e.stroke()}},9053:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(200,80),e.L(300,420),e.L(400,80),e.stroke()}},9088:{width:R,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:R,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(520,100),e.stroke()}},9090:{width:R,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:R,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(520,100),e.stroke(),e.circle(300,200,30),e.fill()}},9092:{width:R,draw:e=>{e.lineWidth(40),e.circle(300,300,120),e.stroke(),e.M(300,180),e.L(300,420),e.stroke()}},9093:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.rect(120,50,360,400),e.stroke()}},9110:{width:R,draw:e=>{e.lineWidth(40),e.rect(120,80,360,340),e.stroke(),e.circle(300,180,35),e.fill()}},9111:{width:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.rect(100,100,400,300),e.stroke(),e.rect(180,180,240,140),e.stroke()}},9114:{width:R,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:R,draw:e=>{e.lineWidth(45),e.M(200,450),e.C(350,450,400,350,400,250),e.stroke()}},9119:{width:R,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.stroke()}},9120:{width:R,draw:e=>{e.lineWidth(45),e.M(400,250),e.C(400,150,350,50,200,50),e.stroke()}},9121:{width:R,draw:e=>{e.lineWidth(45),e.M(350,450),e.L(200,450),e.L(200,50),e.stroke()}},9122:{width:R,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,50),e.stroke()}},9123:{width:R,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,50),e.L(350,50),e.stroke()}},9124:{width:R,draw:e=>{e.lineWidth(45),e.M(250,450),e.L(400,450),e.L(400,50),e.stroke()}},9125:{width:R,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.stroke()}},9126:{width:R,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.L(250,50),e.stroke()}},9127:{width:R,draw:e=>{e.lineWidth(45),e.M(350,450),e.C(250,450,250,350,250,250),e.stroke()}},9128:{width:R,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:R,draw:e=>{e.lineWidth(45),e.M(250,250),e.C(250,150,250,50,350,50),e.stroke()}},9130:{width:R,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke()}},9131:{width:R,draw:e=>{e.lineWidth(45),e.M(250,450),e.C(350,450,350,350,350,250),e.stroke()}},9132:{width:R,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:R,draw:e=>{e.lineWidth(45),e.M(350,250),e.C(350,150,350,50,250,50),e.stroke()}},9134:{width:R,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke()}},9136:{width:R,draw:e=>{e.lineWidth(45),e.M(350,50),e.C(250,50,250,250,250,450),e.stroke()}},9137:{width:R,draw:e=>{e.lineWidth(45),e.M(250,50),e.C(350,50,350,250,350,450),e.stroke()}},9138:{width:R,draw:e=>{e.lineWidth(45),e.M(480,450),e.L(120,450),e.L(300,250),e.stroke()}},9139:{width:R,draw:e=>{e.lineWidth(45),e.M(300,250),e.L(120,50),e.L(480,50),e.stroke()}},9140:{width:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(30),e.M(0,450),e.L(600,450),e.stroke()}},9147:{width:R,draw:e=>{e.lineWidth(30),e.M(0,350),e.L(600,350),e.stroke()}},9148:{width:R,draw:e=>{e.lineWidth(30),e.M(0,150),e.L(600,150),e.stroke()}},9149:{width:R,draw:e=>{e.lineWidth(30),e.M(0,50),e.L(600,50),e.stroke()}},9150:{width:R,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,250),e.L(500,250),e.stroke()}},9151:{width:R,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,250),e.L(500,250),e.stroke()}},9152:{width:R,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,50),e.stroke(),e.circle(300,250,60),e.stroke()}},9153:{width:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(150,100),e.L(450,100),e.stroke()}},9168:{width:R,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(300,20),e.stroke()}},9178:{width:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(80,150),e.C(80,400,520,400,520,150),e.stroke()}},9181:{width:R,draw:e=>{e.lineWidth(45),e.M(80,350),e.C(80,100,520,100,520,350),e.stroke()}},9182:{width:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.M(80,150),e.C(150,380,450,380,520,150),e.stroke()}},9185:{width:R,draw:e=>{e.lineWidth(40),e.M(80,350),e.C(150,120,450,120,520,350),e.stroke()}},9186:{width:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke()}},9189:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.M(450,450),e.L(150,250),e.L(450,50),e.Z(),e.fill()}},9205:{width:R,draw:e=>{e.M(150,450),e.L(450,250),e.L(150,50),e.Z(),e.fill()}},9206:{width:R,draw:e=>{e.M(100,100),e.L(500,100),e.L(300,420),e.Z(),e.fill()}},9207:{width:R,draw:e=>{e.M(100,400),e.L(500,400),e.L(300,80),e.Z(),e.fill()}},9211:{width:R,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:R,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(300,350),e.L(300,150),e.stroke()}},9213:{width:R,draw:e=>{e.lineWidth(50),e.M(300,420),e.L(300,80),e.stroke()}},9214:{width:R,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:R,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()}}},_c={10496:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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()}}},vc={10176:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(120,80),e.L(480,420),e.stroke()}},10188:{width:R,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:R,draw:e=>{e.lineWidth(45),e.M(120,420),e.L(480,80),e.stroke()}},10190:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(150,250),e.L(400,250),e.stroke(),e.circle(450,250,50),e.stroke()}},10205:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(370,470),e.C(230,380,230,120,370,30),e.stroke()}},10223:{width:R,draw:e=>{e.lineWidth(45),e.M(230,470),e.C(370,380,370,120,230,30),e.stroke()}}},yc={11008:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(100,250,400,200),e.fill()}},11027:{width:R,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(100,50,400,200),e.fill()}},11028:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.rect(240,190,120,120),e.fill()}},11038:{width:R,draw:e=>{e.lineWidth(30),e.rect(240,190,120,120),e.stroke()}},11039:{width:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.circle(300,250,230),e.fill()}},11045:{width:R,draw:e=>{e.M(300,470),e.L(480,250),e.L(300,30),e.L(120,250),e.Z(),e.fill()}},11046:{width:R,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:R,draw:e=>{e.M(300,490),e.L(460,250),e.L(300,10),e.L(140,250),e.Z(),e.fill()}},11048:{width:R,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:R,draw:e=>{e.M(300,380),e.L(400,250),e.L(300,120),e.L(200,250),e.Z(),e.fill()}},11050:{width:R,draw:e=>{e.M(300,400),e.L(380,250),e.L(300,100),e.L(220,250),e.Z(),e.fill()}},11051:{width:R,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:R,draw:e=>{e.ellipse(300,250,220,120),e.fill()}},11053:{width:R,draw:e=>{e.lineWidth(40),e.ellipse(300,250,220,120),e.stroke()}},11054:{width:R,draw:e=>{e.ellipse(300,250,120,220),e.fill()}},11055:{width:R,draw:e=>{e.lineWidth(40),e.ellipse(300,250,120,220),e.stroke()}},11056:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(60),e.circle(300,250,210),e.stroke()}},11094:{width:R,draw:e=>{e.circle(300,250,40),e.fill()}},11095:{width:R,draw:e=>{e.lineWidth(50),e.circle(300,250,180),e.stroke()}},11096:{width:R,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke()}},11097:{width:R,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.circle(300,250,100),e.stroke()}},11104:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.circle(300,250,220),e.fill()}},11146:{width:R,draw:e=>{e.circle(300,250,220),e.fill()}},11148:{width:R,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:R,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:R,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:R,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:R,draw:e=>{e.M(300,450),e.L(150,100),e.L(450,100),e.Z(),e.fill()}},11166:{width:R,draw:e=>{e.M(150,450),e.L(500,250),e.L(150,50),e.Z(),e.fill()}},11167:{width:R,draw:e=>{e.M(150,400),e.L(450,400),e.L(300,50),e.Z(),e.fill()}},11168:{width:R,draw:e=>{e.M(450,450),e.L(100,250),e.L(450,50),e.Z(),e.fill()}},11169:{width:R,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(150,100),e.L(450,100),e.Z(),e.stroke()}},11170:{width:R,draw:e=>{e.lineWidth(40),e.M(150,450),e.L(500,250),e.L(150,50),e.Z(),e.stroke()}},11171:{width:R,draw:e=>{e.lineWidth(40),e.M(150,400),e.L(450,400),e.L(300,50),e.Z(),e.stroke()}},11172:{width:R,draw:e=>{e.lineWidth(40),e.M(450,450),e.L(100,250),e.L(450,50),e.Z(),e.stroke()}}}}));function xc(e,t,n,r,i,a){return{width:z,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 Sc(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:z,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 Cc(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:z,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 wc(e,t){return{width:z,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 Tc(e,t){return{width:z,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 Ec(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:z,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 Dc(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:z,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 Oc(e){return{width:z,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 kc(e,t,n){return{width:z,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 Ac(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:z,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 jc(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:z,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 Mc(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:z,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 Nc(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:z,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 Pc(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:z,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 Fc(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:z,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 Ic(e,t,n){let r=Math.sqrt(e*e+t*t),i=e/r,a=t/r,o=-a,s=i;return{width:z,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 Lc(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:z,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 Rc(e,t){return{width:z,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 zc(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 Bc(e,t,n){e.M(t,480),e.L(t,200),e.stroke(),e.circle(t,130,28),e.fill()}var z,Vc,B,V,Hc,Uc,H,Wc,Gc,Kc=n((()=>{z=600,Vc={9690:{width:z,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:z,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:z,draw:e=>{e.lineWidth(35),e.circle(260,250,180),e.stroke(),e.circle(470,250,50),e.stroke()}},10691:{width:z,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:z,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:z,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:z,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:z,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:z,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:z,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:z,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:z,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:z,draw:e=>{e.lineWidth(45),e.M(150,480),e.L(300,20),e.L(450,480),e.stroke()}},8506:{width:z,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:z,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:z,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke()}},9143:{width:z,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:z,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])Vc[e]={width:z,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()}};Vc[10063]={width:z,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()}},Vc[10064]={width:z,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()}},Vc[10065]={width:z,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()}},Vc[10066]={width:z,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()}},Vc[10072]={width:250,draw:e=>{e.lineWidth(35),e.M(125,0),e.L(125,500),e.stroke()}},Vc[10073]={width:300,draw:e=>{e.lineWidth(55),e.M(150,0),e.L(150,500),e.stroke()}},Vc[10074]={width:350,draw:e=>{e.lineWidth(80),e.M(175,0),e.L(175,500),e.stroke()}},Vc[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()}},Vc[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()}},Vc[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()}},Vc[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()}},Vc[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()}},Vc[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()}},Vc[10081]={width:z,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?(Vc[e]={width:350,draw:e=>{e.lineWidth(i),e.M(280,480),e.L(100,250),e.L(280,20),e.stroke()}},Vc[t]={width:350,draw:e=>{e.lineWidth(i),e.M(70,480),e.L(250,250),e.L(70,20),e.stroke()}}):(Vc[e]={width:350,draw:e=>{e.lineWidth(i),e.M(260,480),e.C(100,400,100,100,260,20),e.stroke()}},Vc[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;Vc[10112+t]={width:z,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;Vc[10122+t]={width:z,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))}}}}Vc[10160]={width:z,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()}},Vc[10175]={width:z,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()}},B={10025:xc(4,300,250,220,80,!1),10026:{width:z,draw:e=>{e.lineWidth(30),e.circle(300,250,230),e.stroke(),xc(5,300,250,180,70,!0).draw(e)}},10027:xc(4,300,250,220,100,!0),10028:xc(4,300,250,220,100,!1),10029:xc(5,300,250,220,100,!1),10030:xc(6,300,250,220,130,!1),10031:xc(6,300,250,220,100,!1),10033:Tc(6,45),10034:Tc(4,30),10035:Tc(8,25),10036:xc(8,300,250,200,100,!0),10037:xc(8,300,250,200,80,!0),10038:xc(6,300,250,220,110,!0),10039:xc(6,300,250,220,110,!1),10040:xc(8,300,250,220,90,!0),10041:Tc(12,40),10042:Tc(6,35),10043:Tc(8,20),10044:Tc(8,15),10045:Tc(4,50),10046:xc(6,300,250,200,140,!1),10047:xc(8,300,250,200,140,!0),10048:xc(8,300,250,200,140,!1),10049:xc(8,300,250,210,160,!1),10050:xc(16,300,250,220,160,!1),10051:Tc(6,50),10052:xc(6,300,250,220,120,!1),10053:xc(6,300,250,200,100,!1),10054:xc(4,300,250,220,60,!1),10055:xc(4,300,250,200,50,!0),10056:xc(4,300,250,220,50,!0),10057:xc(4,300,250,180,80,!0),10058:xc(8,300,250,200,130,!0),10059:xc(8,300,250,220,100,!0),9984:{width:z,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:z,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:z,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:z,draw:e=>{e.lineWidth(70),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},9994:{width:z,draw:e=>{e.circle(300,250,200),e.fill()}},9995:{width:z,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:z,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:z,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:z,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:z,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:z,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:z,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:z,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:xc(6,300,250,230,115,!1),10018:xc(4,300,250,220,60,!0),10019:xc(4,300,250,220,80,!1),10020:xc(4,300,250,200,100,!0),10021:xc(4,300,250,220,40,!0),10060:{width:z,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:z,draw:e=>{e.lineWidth(50),e.circle(300,250,210),e.stroke()}},10062:{width:z,draw:e=>{e.rect(80,30,440,440),e.fill()}},10067:{width:z,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:z,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:z,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:xc(4,300,250,230,50,!0),10071:{width:z,draw:e=>{e.lineWidth(60),e.M(300,480),e.L(300,150),e.stroke(),e.circle(300,60,38),e.fill()}},10082:{width:z,draw:e=>{e.lineWidth(55),e.M(300,480),e.L(300,150),e.stroke(),e.circle(300,60,35),e.fill()}},10083:{width:z,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:z,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:z,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:z,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:z,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:z,draw:e=>{e.rect(240,50,120,400),e.fill(),e.rect(100,190,400,120),e.fill()}},10134:{width:z,draw:e=>{e.rect(100,200,400,100),e.fill()}},10135:{width:z,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()}}},B[10136]||(B[10136]=Sc(1,-1)),B[10137]||(B[10137]=Ec(1,0,100,180,40)),B[10138]||(B[10138]=Ec(1,0,130,200,55)),B[10139]||(B[10139]=Ec(1,0,140,220,30)),B[10140]||(B[10140]=Ec(1,0,110,160,50)),B[10141]||(B[10141]=Ec(1,0,90,180,60)),B[10142]||(B[10142]=Ec(1,0,120,240,65)),B[10143]||(B[10143]=Ec(1,0,80,150,70)),B[10144]||(B[10144]=Ec(1,0,150,200,35)),B[10146]||(B[10146]=Dc(1,0,15)),B[10147]||(B[10147]=Dc(1,0,25)),B[10148]||(B[10148]=Dc(1,0,10)),B[10149]||(B[10149]=Oc(1)),B[10150]||(B[10150]=Oc(-1)),B[10151]||(B[10151]=kc(100,40,30)),B[10152]||(B[10152]=Ec(1,0,160,260,45)),B[10153]||(B[10153]=kc(120,50,35)),B[10154]||(B[10154]=Ec(1,0,100,140,55)),B[10155]||(B[10155]=Dc(1,0,20)),B[10156]||(B[10156]=Dc(1,0,30)),B[10157]||(B[10157]=kc(90,35,28)),B[10158]||(B[10158]=Ec(1,0,130,180,60)),B[10159]||(B[10159]={width:z,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()}}),B[10161]||(B[10161]=Ec(1,0,95,170,35)),B[10162]||(B[10162]=Ec(1,0,145,230,50)),B[10163]||(B[10163]=kc(80,30,25)),B[10164]||(B[10164]=Ec(1,0,110,190,25)),B[10165]||(B[10165]=Ec(1,0,135,210,40)),B[10166]||(B[10166]=kc(110,45,32)),B[10167]||(B[10167]=Ec(1,0,120,200,70)),B[10168]||(B[10168]=Ec(1,0,140,250,20)),B[10169]||(B[10169]=kc(130,55,38)),B[10170]||(B[10170]=Ec(1,0,105,170,45)),B[10171]||(B[10171]=kc(100,40,40)),B[10172]||(B[10172]=Ec(1,0,90,160,55)),B[10173]||(B[10173]=Ec(1,0,150,240,30)),B[10174]||(B[10174]=kc(115,48,30)),V={9730:{width:z,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:z,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:z,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:z,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:z,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:z,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()}}},Hc=[[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 Hc)V[e]={width:z,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]])V[e]=wc(t,n);V[9825]={width:z,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()}},V[9826]={width:z,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()}},V[9828]={width:z,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()}},V[9831]={width:z,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++)V[9855+e]=Cc(e);V[9851]={width:z,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()}},V[9855]={width:z,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()}},V[9735]={width:z,draw:e=>{e.lineWidth(45),e.M(350,480),e.L(220,310),e.L(370,280),e.L(250,60),e.stroke()}},V[9736]={width:z,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()}},V[9737]={width:z,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()}},V[9738]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,140),e.stroke(),e.M(140,370),e.L(460,130),e.stroke()}},V[9739]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,140),e.stroke(),e.M(140,130),e.L(460,370),e.stroke()}},V[9740]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,130),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},V[9741]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,130),e.stroke(),e.M(300,70),e.L(300,430),e.stroke()}},V[9743]={width:z,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()}},V[9750]={width:z,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()}},V[9751]={width:z,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()}},V[9753]={width:z,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()}},V[9754]={width:z,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()}},V[9755]={width:z,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()}},V[9756]={width:z,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()}},V[9757]={width:z,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()}},V[9758]={width:z,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()}},V[9759]={width:z,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()}},V[9760]={width:z,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()}},V[9761]={width:z,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()}},V[9762]={width:z,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()}}},V[9763]={width:z,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()}}},V[9764]={width:z,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()}},V[9765]={width:z,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()}},V[9766]={width:z,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()}},V[9767]={width:z,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()}},V[9768]={width:z,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()}},V[9769]={width:z,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()}},V[9770]={width:z,draw:e=>{e.lineWidth(30),e.circle(280,250,170),e.stroke(),e.M(370,250),e.circle(350,250,140),e.stroke(),xc(5,440,380,50,20,!0).draw(e)}},V[9771]={width:z,draw:e=>{e.lineWidth(35),e.rect(120,70,360,360),e.stroke(),e.circle(300,250,40),e.fill()}},V[9772]={width:z,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()}},V[9773]={width:z,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]])V[e]={width:z,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())}};V[9788]={width:z,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()}},V[9789]={width:z,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()}},V[9790]={width:z,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()}},V[9791]={width:z,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()}},V[9793]={width:z,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()}},V[9795]={width:z,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()}},V[9796]={width:z,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()}},V[9797]={width:z,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()}},V[9798]={width:z,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()}},V[9799]={width:z,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()}},V[9832]={width:z,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()}},V[9835]={width:z,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()}},V[9836]={width:z,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()}},V[9838]={width:z,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()}},V[9840]={width:z,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()}},V[9841]={width:z,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;V[t]={width:z,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())}}}V[9852]={width:z,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()}},V[9853]={width:z,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()}},V[9854]={width:z,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()}},V[9862]={width:z,draw:e=>{e.lineWidth(50),e.M(120,250),e.L(480,250),e.stroke()}},V[9863]={width:z,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()}},V[9864]={width:z,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()}},V[9865]={width:z,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]])V[e]={width:z,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())}};V[9880]={width:z,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()}}},V[9882]={width:z,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()}},V[9885]=xc(5,300,250,200,80,!1),V[9886]={width:z,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()}},V[9887]={width:z,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()}},V[9890]={width:z,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()}},V[9891]={width:z,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()}},V[9892]={width:z,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()}},V[9894]={width:z,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()}},V[9896]={width:z,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()}},V[9897]={width:z,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()}},V[9900]={width:z,draw:e=>{e.lineWidth(30),e.circle(300,250,120),e.stroke()}},V[9901]={width:z,draw:e=>{e.lineWidth(30),e.circle(230,250,110),e.stroke(),e.circle(370,250,110),e.stroke()}},V[9902]={width:z,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()}},V[9903]={width:z,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()}},V[9905]={width:z,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()}},V[9906]={width:z,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()}},V[9907]={width:z,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()}},V[9908]={width:z,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()}},V[9909]={width:z,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(),xc(5,300,370,80,32,!1).draw(e)}},V[9910]={width:z,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()}},V[9911]={width:z,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()}},V[9912]={width:z,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()}},V[9913]={width:z,draw:e=>{e.lineWidth(28),xc(6,300,250,180,100,!1).draw(e)}},V[9914]={width:z,draw:e=>{e.lineWidth(35),e.M(150,400),e.L(300,150),e.L(450,400),e.stroke()}},V[9915]={width:z,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()}},V[9916]={width:z,draw:e=>{e.lineWidth(30),e.rect(130,80,340,340),e.stroke(),e.M(130,80),e.L(470,420),e.stroke()}},V[9919]={width:z,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()}},V[9920]={width:z,draw:e=>{e.lineWidth(30),e.circle(300,250,160),e.stroke(),e.circle(300,250,80),e.stroke()}},V[9921]={width:z,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()}},V[9922]={width:z,draw:e=>{e.circle(300,250,160),e.fill()}},V[9923]={width:z,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()}},V[9926]={width:z,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()}},V[9927]={width:z,draw:e=>{e.circle(300,130,70),e.fill(),e.circle(300,290,95),e.fill(),e.circle(300,430,60),e.fill()}},V[9928]={width:z,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()}},V[9929]={width:z,draw:e=>{e.lineWidth(30),e.M(200,420),e.L(300,100),e.L(400,420),e.Z(),e.stroke()}},V[9930]={width:z,draw:e=>{e.M(200,420),e.L(300,100),e.L(400,420),e.Z(),e.fill()}},V[9931]={width:z,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()}},V[9932]={width:z,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()}},V[9933]={width:z,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()}},V[9935]={width:z,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()}},V[9936]={width:z,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()}},V[9937]={width:z,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()}},V[9938]={width:z,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()}},V[9939]={width:z,draw:e=>{e.lineWidth(30),e.ellipse(230,250,100,140),e.stroke(),e.ellipse(370,250,100,140),e.stroke()}},V[9941]={width:z,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()}},V[9942]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,180),e.stroke(),e.M(140,250),e.L(460,250),e.stroke()}},V[9943]={width:z,draw:e=>{e.lineWidth(28),e.rect(120,80,360,340),e.stroke(),e.circle(300,250,50),e.fill()}},V[9944]={width:z,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()}},V[9945]={width:z,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()}},V[9946]={width:z,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()}},V[9947]={width:z,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(480,400),e.L(300,100),e.Z(),e.stroke()}},V[9948]={width:z,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()}},V[9949]={width:z,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()}},V[9950]={width:z,draw:e=>{e.rect(80,40,440,420),e.fill()}},V[9951]={width:z,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()}},V[9952]={width:z,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()}},V[9953]={width:z,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()}},V[9954]={width:z,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()}},V[9955]={width:z,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()}},V[9956]={width:z,draw:e=>{e.lineWidth(28),e.circle(300,250,180),e.stroke(),xc(5,300,250,170,65,!1).draw(e)}},V[9957]={width:z,draw:e=>{e.lineWidth(30),xc(5,300,250,190,75,!1).draw(e)}},V[9958]={width:z,draw:e=>{e.lineWidth(30),xc(5,300,250,190,75,!0).draw(e)}},V[9959]={width:z,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()}},V[9960]={width:z,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()}},V[9961]={width:z,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()}},V[9963]={width:z,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()}},V[9964]={width:z,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()}},V[9965]={width:z,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()}},V[9966]={width:z,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()}},V[9967]={width:z,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()}},V[9968]={width:z,draw:e=>{e.lineWidth(35),e.M(80,100),e.L(250,400),e.L(350,280),e.L(520,100),e.stroke()}},V[9969]={width:z,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()}},V[9972]={width:z,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()}},V[9974]={width:z,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()}},V[9975]={width:z,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()}},V[9976]={width:z,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()}},V[9977]={width:z,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()}},V[9979]={width:z,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()}},V[9980]={width:z,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()}},V[9981]={width:z,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()}},V[9982]={width:z,draw:e=>{e.rect(80,50,440,400),e.fill()}},V[9983]={width:z,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(!V[e]){let t=(e-9728)%7;V[e]={width:z,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()}}}}Uc={};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?Uc[e]={width:z,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())}}:Uc[e]=Sc(t,n);for(let e=11026;e<=11039;e++){let t=e<=11033;Uc[e]={width:z,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++)Uc[e]||(e&1?Uc[e]={width:z,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()}}:Uc[e]=Sc(1,0));H={};for(let e=10224;e<=10239;e++)if(!H[e]){let t=e<=10228;H[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())}}}H[10516]=Ac(1,0),H[10517]=Lc(1,0),H[10519]=jc(1,0),H[10520]=(()=>{let e=jc(1,0);return{width:z,draw:t=>{e.draw(t),t.lineWidth(35),t.M(300,150),t.L(300,350),t.stroke()}}})(),H[10521]=Ic(-1,0,35),H[10522]=Ic(1,0,35),H[10523]=jc(-1,0),H[10524]=jc(1,0),H[10539]=Nc(1,1,1,-1),H[10540]=Nc(1,-1,-1,-1),H[10541]=Nc(1,-1,1,1),H[10542]=Nc(1,1,1,-1),H[10543]={width:z,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()}},H[10544]={width:z,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()}},H[10545]=Nc(1,1,-1,1),H[10546]=Nc(-1,1,1,1),H[10547]={width:z,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()}},H[10556]=Pc(-1,0),H[10557]=Pc(0,-1),H[10558]=Mc(1,0),H[10559]={width:z,draw:e=>{Pc(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()}},H[10566]=Nc(-1,0,1,0),H[10567]=Mc(1,0),H[10569]=Ac(0,-1),H[10578]=Lc(0,1),H[10579]=Lc(0,-1),H[10580]=Lc(1,0),H[10581]=Lc(-1,0),H[10582]=Ac(0,1),H[10583]=Ac(0,-1),H[10584]=Ac(1,0),H[10585]=Ac(-1,0),H[10586]=Ic(0,1,30),H[10587]=Ic(0,-1,30),H[10588]=Ic(1,0,30),H[10589]=Ic(-1,0,30),H[10590]=Ic(0,1,40),H[10591]=Ic(0,-1,40),H[10592]=Ic(1,0,40),H[10593]=Ic(-1,0,40),H[10595]=Nc(0,1,0,1),H[10597]=Nc(0,-1,0,-1),H[10598]=Nc(-1,0,-1,0),H[10599]=Nc(1,0,1,0),H[10600]=Nc(-1,0,1,0),H[10601]=Nc(1,0,-1,0),H[10609]=Fc(1,0),H[10610]=Fc(1,0),H[10611]=Fc(-1,0),Wc={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:z,draw:e=>{e.lineWidth(30),e.M(120,380),e.C(200,450,400,450,480,380),e.stroke()}},8257:{width:z,draw:e=>{e.lineWidth(30),e.M(120,420),e.C(200,350,400,350,480,420),e.stroke()}},8258:Rc(3,50),8263:{width:z,draw:e=>{e.lineWidth(35),zc(e,200,250),zc(e,400,250)}},8264:{width:z,draw:e=>{e.lineWidth(35),zc(e,200,250),Bc(e,400,250)}},8265:{width:z,draw:e=>{e.lineWidth(35),Bc(e,200,250),zc(e,400,250)}},8273:{width:z,draw:e=>{Rc(6,35).draw(e),e.M(300,50),e.L(300,50)}},8274:{width:z,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:z,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++)Wc[e]||(Wc[e]={width:0,draw:()=>{}});Gc={};for(let e=8528;e<=8591;e++)if(!Gc[e]){let t=(e-8528)%4+1;Gc[e]={width:z,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 qc(e){return k(e,O(e.w,...po(e.w*.5-.09,.29)),O(e.w,...A(e.w*.5-.03,.17)))}var Jc,Yc,Xc,Zc,Qc,$c,el,tl,nl,rl,il,al,ol,sl,cl,ll,ul,dl,fl,pl,ml,hl,gl,_l,vl,yl,bl,xl,Sl,Cl,wl,Tl,El,Dl,Ol,kl,Al,jl,Ml,Nl=n((()=>{Wo(),Jc=O(.46,[[.1,.75],[.1,.15],[.42,.15]]),Yc=O(.56,[[.04,.75],[.28,.15],[.52,.75],[.04,.75]]),Xc=k(D(`O`),O(.55,[[.17,.45],[.38,.45]])),Zc=O(.56,[[.04,.75],[.28,.15],[.52,.75]]),Qc=O(.52,[[.1,.15],[.42,.15]],[[.14,.45],[.38,.45]],[[.1,.75],[.42,.75]]),$c=O(.56,[[.1,.75],[.1,.15],[.46,.15],[.46,.75]]),el=O(.5,[[.42,.15],[.1,.15],[.3,.45],[.1,.75],[.42,.75]]),tl=k(O(.58,[[.29,.15],[.29,.75]]),O(.58,fo(.29,.45,.21,.19))),nl=k(O(.58,[[.29,.15],[.29,.75]]),O(.58,[[.08,.15],[.08,.38],[.16,.48],[.29,.52],[.42,.48],[.5,.38],[.5,.15]])),rl=O(.58,[[.06,.75],[.2,.75],[.14,.62],[.1,.46],[.14,.28],[.29,.18],[.44,.28],[.48,.46],[.44,.62],[.38,.75],[.52,.75]]),il=k(O(.48,fo(.24,.565,.14,.185)),O(.48,[[.38,.4],[.38,.7],[.44,.75]])),al=k(O(.48,[[.12,.95],[.12,.28],[.24,.2],[.36,.26],[.36,.4],[.24,.47],[.12,.47]]),O(.48,[[.12,.47],[.28,.47],[.4,.55],[.4,.67],[.28,.75],[.12,.75]])),ol=O(.46,[[.06,.38],[.25,.72]],[[.46,.38],[.14,.95]]),sl=k(O(.46,fo(.25,.62,.15,.13)),O(.46,[[.4,.4],[.28,.38],[.18,.42],[.26,.49]])),cl=O(.42,[[.38,.42],[.26,.38],[.14,.44],[.22,.55],[.32,.55]],[[.22,.55],[.13,.64],[.24,.75],[.38,.71]]),ll=k(O(.42,[[.12,.3],[.38,.3]]),O(.42,[[.34,.3],[.2,.5],[.32,.62],[.24,.86],[.12,.93]])),ul=O(.46,[[.1,.75],[.1,.38],[.24,.38],[.36,.44],[.38,.55],[.38,.95]]),dl=k(O(.46,fo(.24,.45,.15,.3)),O(.46,[[.09,.45],[.39,.45]])),fl=O(.24,[[.12,.38],[.12,.68],[.2,.75]]),pl=O(.44,[[.1,.38],[.1,.75]],[[.4,.38],[.12,.58]],[[.18,.54],[.42,.75]]),ml=O(.46,[[.08,.15],[.36,.75]],[[.3,.46],[.06,.75]]),hl=k(O(.48,[[.1,.38],[.1,.95]]),O(.48,[[.1,.64],[.18,.74],[.3,.74],[.38,.64],[.38,.38]])),gl=O(.44,[[.06,.38],[.14,.64],[.22,.75],[.32,.6],[.4,.4]]),_l=k(O(.42,[[.12,.28],[.38,.28]]),O(.42,[[.34,.28],[.2,.44],[.33,.53],[.19,.64],[.32,.76],[.22,.9],[.11,.93]])),vl=k(O(.5,[[.06,.4],[.46,.4]]),O(.5,[[.16,.4],[.14,.75]],[[.34,.4],[.36,.75]])),yl=k(O(.46,[[.12,.95],[.12,.5]]),O(.46,fo(.26,.575,.14,.175))),bl=O(.42,[[.38,.42],[.26,.38],[.15,.45],[.14,.6],[.26,.71],[.33,.85],[.24,.94]]),xl=k(O(.48,fo(.24,.565,.14,.185)),O(.48,[[.28,.38],[.46,.38]])),Sl=k(O(.42,[[.06,.4],[.4,.4]]),O(.42,[[.24,.4],[.24,.68],[.32,.75]])),Cl=O(.46,[[.1,.38],[.1,.62],[.2,.74],[.32,.74],[.4,.62],[.4,.38]]),wl=k(O(.52,[[.26,.3],[.26,.95]]),O(.52,fo(.26,.565,.18,.175))),Tl=O(.46,[[.06,.38],[.4,.95]],[[.4,.38],[.06,.95]]),El=k(O(.52,[[.26,.3],[.26,.95]]),O(.52,[[.08,.38],[.08,.62],[.16,.72],[.26,.75],[.36,.72],[.44,.62],[.44,.38]])),Dl=O(.56,[[.06,.38],[.06,.66],[.14,.75],[.22,.72],[.26,.6],[.3,.72],[.38,.75],[.46,.66],[.46,.38]]),Ol=O(.3,...A(.1,.26)),kl=k(O(.35,...po(.06,.24)),O(.35,...A(.1,.1))),Al=O(.26,[[.13,.55],[.14,.55]]),jl={900:Ol,901:kl,902:Co(D(`A`),A),903:Al,904:Co(D(`E`),A),905:Co(D(`H`),A),906:Co(D(`I`),A),908:Co(D(`O`),A),910:Co(D(`Y`),A),911:Co(rl,A),912:qc(fl),913:D(`A`),914:D(`B`),915:Jc,916:Yc,917:D(`E`),918:D(`Z`),919:D(`H`),920:Xc,921:D(`I`),922:D(`K`),923:Zc,924:D(`M`),925:D(`N`),926:Qc,927:D(`O`),928:$c,929:D(`P`),931:el,932:D(`T`),933:D(`Y`),934:tl,935:D(`X`),936:nl,937:rl,938:Co(D(`I`),po),939:Co(D(`Y`),po),940:wo(il,A),941:wo(cl,A),942:wo(ul,A),943:wo(fl,A),944:qc(Cl),945:il,946:al,947:ol,948:sl,949:cl,950:ll,951:ul,952:dl,953:fl,954:pl,955:ml,956:hl,957:gl,958:_l,959:D(`o`),960:vl,961:yl,962:bl,963:xl,964:Sl,965:Cl,966:wl,967:Tl,968:El,969:Dl,970:wo(fl,po),971:wo(Cl,po),972:wo(D(`o`),A),973:wo(Cl,A),974:wo(Dl,A)},Ml=Object.fromEntries(Object.entries(jl).map(([e,t])=>[Number(e),ro(t)])),Object.keys(jl).map(Number)}));function Pl(e,t){return[[[e+.02,t-.09],[e+.07,t-.1],[e+.09,t-.06],[e+.05,t-.02],[e+.02,t]]]}function Fl(e,t){return[[[e+.08,t-.09],[e+.03,t-.1],[e+.01,t-.06],[e+.05,t-.02],[e+.08,t]]]}function Il(e,t){return[[[e,t-.02],[e+.04,t-.07],[e+.1,t-.02],[e+.14,t-.07]]]}function Ll(e,t){return[[[e+.06,t],[e+.06,t+.11]]]}function Rl(e,t){return[[[e,t-.07],[e+.04,t-.02],[e+.08,t],[e+.12,t-.02],[e+.16,t-.07]]]}function zl(e){return e>=902&&e<=939}function U(e,t,n,r){let i=jl[e];if(i===void 0)throw Error(`polytonic Greek: no base shape for U+${e.toString(16)}`);let a=zl(e)?Lo:Ro,o=i.w*.5-.03,s=[i],c=t??n;if(c!==null&&s.push(O(i.w,...c(o,a-Hl))),t!==null&&n!==null){let e=a-Hl-Vl.get(t)-Ul;s.push(O(i.w,...n(o,e)))}return r&&s.push(O(i.w,...Ll(o,zo+.02))),k(...s)}function Bl(e,t,n,r,i=!1){let a=[null,j,A,Il],o={};for(let s=0;s<r;s++){let r=s%2==0?Pl:Fl,c=a[Math.floor(s/2)];o[e+s]=U(t,r,c,i),o[e+8+s]=U(n,r,c,i)}return o}var Vl,Hl,Ul,Wl,Gl,Kl,ql,Jl,Yl,Xl,Zl,Ql,$l,eu,tu,nu,ru,iu,au,ou,su,cu=n((()=>{Nl(),Wo(),Vl=/* @__PURE__ */ new Map([[Pl,.1],[Fl,.1],[A,.1],[j,.1],[Il,.07]]),Hl=.1,Ul=.09,Wl=945,Gl=913,Kl=949,ql=917,Jl=951,Yl=919,Xl=953,Zl=921,Ql=959,$l=927,eu=965,tu=933,nu=969,ru=937,iu=961,au=929,ou={...Bl(7936,Wl,Gl,8),...Bl(7952,Kl,ql,6),...Bl(7968,Jl,Yl,8),...Bl(7984,Xl,Zl,8),...Bl(8e3,Ql,$l,6),...Bl(8032,nu,ru,8),8016:U(eu,Pl,null,!1),8017:U(eu,Fl,null,!1),8018:U(eu,Pl,j,!1),8019:U(eu,Fl,j,!1),8020:U(eu,Pl,A,!1),8021:U(eu,Fl,A,!1),8022:U(eu,Pl,Il,!1),8023:U(eu,Fl,Il,!1),8025:U(tu,Fl,null,!1),8027:U(tu,Fl,j,!1),8029:U(tu,Fl,A,!1),8031:U(tu,Fl,Il,!1),8048:U(Wl,null,j,!1),8049:U(Wl,null,A,!1),8050:U(Kl,null,j,!1),8051:U(Kl,null,A,!1),8052:U(Jl,null,j,!1),8053:U(Jl,null,A,!1),8054:U(Xl,null,j,!1),8055:U(Xl,null,A,!1),8056:U(Ql,null,j,!1),8057:U(Ql,null,A,!1),8058:U(eu,null,j,!1),8059:U(eu,null,A,!1),8060:U(nu,null,j,!1),8061:U(nu,null,A,!1),...Bl(8064,Wl,Gl,8,!0),...Bl(8080,Jl,Yl,8,!0),...Bl(8096,nu,ru,8,!0),8112:U(Wl,null,null,!1),8113:U(Wl,null,go,!1),8114:U(Wl,null,j,!0),8115:U(Wl,null,null,!0),8116:U(Wl,null,A,!0),8118:U(Wl,null,Il,!1),8119:U(Wl,null,Il,!0),8120:U(Gl,null,null,!1),8121:U(Gl,null,go,!1),8122:U(Gl,null,j,!1),8123:U(Gl,null,A,!1),8124:U(Gl,null,null,!0),8125:O(.32,...Pl(.08,.28)),8126:O(.24,...Ll(.06,.5)),8127:O(.32,...Pl(.08,.28)),8128:O(.34,...Il(.08,.3)),8129:k(O(.34,...Il(.08,.18)),O(.34,...Pl(.1,.3))),8130:U(Jl,null,j,!0),8131:U(Jl,null,null,!0),8132:U(Jl,null,A,!0),8134:U(Jl,null,Il,!1),8135:U(Jl,null,Il,!0),8136:U(ql,null,j,!1),8137:U(ql,null,A,!1),8138:U(Yl,null,j,!1),8139:U(Yl,null,A,!1),8140:U(Yl,null,null,!0),8141:k(O(.34,...Pl(.08,.3)),O(.34,...j(.1,.16))),8142:k(O(.34,...Pl(.08,.3)),O(.34,...A(.1,.16))),8143:k(O(.34,...Pl(.08,.3)),O(.34,...Il(.08,.16))),8144:U(Xl,null,Rl,!1),8145:U(Xl,null,go,!1),8146:U(Xl,null,j,!1),8147:U(Xl,null,A,!1),8150:U(Xl,null,Il,!1),8151:U(Xl,null,Il,!0),8152:U(Zl,null,Rl,!1),8153:U(Zl,null,go,!1),8154:U(Zl,null,j,!1),8155:U(Zl,null,A,!1),8157:k(O(.34,...Fl(.08,.3)),O(.34,...j(.1,.16))),8158:k(O(.34,...Fl(.08,.3)),O(.34,...A(.1,.16))),8159:k(O(.34,...Fl(.08,.3)),O(.34,...Il(.08,.16))),8160:U(eu,null,Rl,!1),8161:U(eu,null,go,!1),8162:U(eu,null,j,!1),8163:U(eu,null,A,!1),8164:U(iu,Pl,null,!1),8165:U(iu,Fl,null,!1),8166:U(eu,null,Il,!1),8167:U(eu,null,Il,!0),8168:U(tu,null,Rl,!1),8169:U(tu,null,go,!1),8170:U(tu,null,j,!1),8171:U(tu,null,A,!1),8172:U(au,Fl,null,!1),8173:k(O(.34,...go(.06,.24)),O(.34,...j(.1,.16))),8174:k(O(.34,...go(.06,.24)),O(.34,...A(.1,.16))),8175:O(.3,...j(.1,.26)),8178:U(nu,null,j,!0),8179:U(nu,null,null,!0),8180:U(nu,null,A,!0),8182:U(nu,null,Il,!1),8183:U(nu,null,Il,!0),8184:U($l,null,j,!1),8185:U($l,null,A,!1),8186:U(ru,null,j,!1),8187:U(ru,null,A,!1),8188:U(ru,null,null,!0),8189:O(.3,...A(.1,.26)),8190:O(.32,...Fl(.08,.28))},su=Object.fromEntries(Object.entries(ou).map(([e,t])=>[Number(e),ro(t)])),Object.keys(ou).map(Number)}));function lu(e,t,n=-.04,r=.04){let i=D(e),a=i.d.flat(),o=(Math.min(...a.map(([e])=>e))+Math.max(...a.map(([e])=>e)))/2;return Io(i,o+n-.06,t,o+r+.06,t)}function uu(e,t){return[[[e,t-.07],[e+.03,t-.02],[e+.08,t],[e+.13,t-.02],[e+.16,t-.07]]]}function du(e,t){return[...j(e-.01,t),...j(e+.09,t)]}function fu(e,t){return k(e,O(e.w+.04,[[t,.7],[t+.05,.76],[t+.02,.82]]))}var pu,mu,hu,gu,_u,vu,yu,bu,xu,Su,Cu,wu,Tu,Eu,Du,Ou,ku,Au=n((()=>{Wo(),pu=(e,t)=>Co(D(e),t),mu=(e,t)=>wo(D(e),t),hu=(e,t)=>Co(D(e),t),gu=e=>No(D(e)),_u=e=>co(D(e)),vu=e=>uo(D(e)),yu=O(.46,[[.08,.15],[.4,.15],[.18,.45],[.34,.5],[.36,.65],[.24,.75],[.1,.71]]),bu=O(.42,[[.06,.38],[.36,.38],[.16,.62],[.32,.68],[.32,.86],[.2,.94],[.08,.9]]),xu=O(.44,[[.1,.2],[.24,.15],[.38,.22],[.34,.36],[.2,.42],[.36,.5],[.36,.66],[.22,.75],[.08,.7]]),Su=ao(xu),Cu=O(.46,[[.1,.75],[.1,.15]],[[.1,.15],[.28,.15],[.38,.24],[.38,.38],[.28,.46],[.1,.46]]),wu=k(O(.5,fo(.24,.45,.14,.3)),O(.5,[[.38,.45],[.44,.6],[.44,.75]])),Tu=O(.4,[[.08,.24],[.16,.15],[.3,.18],[.32,.3],[.2,.42],[.2,.75]]),Eu=Io(D(`5`),.04,.55,.24,.42),Du=co(D(`d`)),Ou={384:lu(`b`,.3),385:gu(`B`),386:lu(`B`,.15),387:lu(`b`,.18),388:O(.44,[[.1,.15],[.1,.75]],[[.1,.15],[.36,.15]],[[.1,.45],[.3,.45]]),389:ao(O(.44,[[.1,.15],[.1,.75]],[[.1,.15],[.36,.15]],[[.1,.45],[.3,.45]])),390:vu(`C`),391:gu(`C`),392:No(D(`c`)),393:Io(D(`D`),.02,.45,.22,.45),394:gu(`D`),395:lu(`d`,.2),396:lu(`d`,.26),397:Du,398:vu(`E`),399:co(D(`e`)),400:uo(yu),401:gu(`F`),402:Io(D(`f`),.02,.62,.24,.62),403:gu(`G`),404:O(.46,[[.06,.15],[.24,.5]],[[.44,.15],[.16,.9]]),405:Po(`h`,`v`,.06),406:O(.26,[[.13,.15],[.13,.66],[.2,.75]]),407:lu(`I`,.45,-.1,.1),408:gu(`K`),409:No(D(`k`)),410:lu(`l`,.5,-.09,.09),411:Io(O(.46,[[.08,.15],[.36,.75]],[[.3,.46],[.06,.75]]),.06,.3,.26,.3),412:_u(`m`),413:No(D(`N`)),414:k(D(`n`),O(.45,[[.38,.75],[.38,.95]])),415:lu(`O`,.45,-.12,.12),418:wu,419:ao(wu),420:gu(`P`),421:No(D(`p`)),422:k(D(`R`),O(.5,[[.1,.15],[.02,.1]])),423:vu(`S`),424:vu(`s`),425:O(.5,[[.42,.15],[.1,.15],[.3,.45],[.1,.75],[.42,.75]]),426:k(O(.44,[[.34,.38],[.14,.38],[.3,.56],[.12,.75]]),O(.44,[[.12,.75],[.3,.9]])),427:fu(D(`t`),.24),428:gu(`T`),429:fu(D(`t`),.26),430:fu(D(`T`),.24),433:O(.5,[[.08,.15],[.08,.5],[.16,.68],[.26,.75],[.36,.68],[.44,.5],[.44,.15]]),434:No(D(`v`)),435:gu(`Y`),436:No(D(`y`)),437:lu(`Z`,.45,-.1,.1),438:lu(`z`,.56,-.09,.09),439:yu,440:uo(yu),441:uo(bu),442:bu,443:Io(D(`2`),.04,.55,.24,.55),444:Eu,445:ao(Eu),446:O(.36,[[.1,.38],[.26,.75]],[[.04,.56],[.32,.56]]),447:ao(Cu),448:O(.24,[[.12,.15],[.12,.75]]),449:O(.36,[[.1,.15],[.1,.75]],[[.24,.15],[.24,.75]]),450:k(O(.36,[[.1,.15],[.1,.75]],[[.24,.15],[.24,.75]]),O(.36,[[.02,.45],[.32,.45]])),451:k(O(.24,[[.12,.15],[.12,.55]]),O(.24,[[.12,.7],[.13,.7]])),452:k(Po(`D`,`Z`,.06),O(1,...M(.78,.05))),453:k(Po(`D`,`z`,.06),O(.94,...M(.72,.28))),454:k(Po(`d`,`z`,.06),O(.92,...M(.7,.28))),455:Po(`L`,`J`,.06),456:Po(`L`,`j`,.06),457:Po(`l`,`j`,.06),458:Po(`N`,`J`,.06),459:Po(`N`,`j`,.06),460:Po(`n`,`j`,.06),461:pu(`A`,M),462:mu(`a`,M),463:pu(`I`,M),464:hu(`i`,M),465:pu(`O`,M),466:mu(`o`,M),467:pu(`U`,M),468:mu(`u`,M),469:jo(pu(`U`,po),po,go,!1),470:jo(mu(`u`,po),po,go,!0),471:jo(pu(`U`,po),po,A,!1),472:jo(mu(`u`,po),po,A,!0),473:jo(pu(`U`,po),po,M,!1),474:jo(mu(`u`,po),po,M,!0),475:jo(pu(`U`,po),po,j,!1),476:jo(mu(`u`,po),po,j,!0),477:co(D(`e`)),478:jo(pu(`A`,po),po,go,!1),479:jo(mu(`a`,po),po,go,!0),480:jo(pu(`A`,_o),_o,go,!1),481:jo(mu(`a`,_o),_o,go,!0),482:Co(Po(`A`,`E`,.1),go),483:wo(Po(`a`,`e`,.08),go),484:lu(`G`,.45,-.1,.1),485:lu(`g`,.56,-.09,.09),486:pu(`G`,M),487:mu(`g`,M),488:pu(`K`,M),489:hu(`k`,M),490:Ao(D(`O`),So),491:Ao(D(`o`),So),492:Co(Ao(D(`O`),So),go),493:wo(Ao(D(`o`),So),go),494:Co(yu,M),495:wo(bu,M),496:hu(`j`,M),497:Po(`D`,`Z`,.06),498:Po(`D`,`z`,.06),499:Po(`d`,`z`,.06),500:pu(`G`,A),501:mu(`g`,A),502:Po(`H`,`V`,.06),503:Cu,504:pu(`N`,j),505:mu(`n`,j),506:jo(pu(`A`,vo),vo,A,!1),507:jo(mu(`a`,vo),vo,A,!0),508:Co(Po(`A`,`E`,.1),A),509:wo(Po(`a`,`e`,.08),A),510:Co(lu(`O`,.45,-.14,.14),A),511:wo(lu(`o`,.56,-.12,.12),A),512:pu(`A`,du),513:mu(`a`,du),514:pu(`A`,uu),515:mu(`a`,uu),516:pu(`E`,du),517:mu(`e`,du),518:pu(`E`,uu),519:mu(`e`,uu),520:pu(`I`,du),521:hu(`i`,du),522:pu(`I`,uu),523:hu(`i`,uu),524:pu(`O`,du),525:mu(`o`,du),526:pu(`O`,uu),527:mu(`o`,uu),528:pu(`R`,du),529:mu(`r`,du),530:pu(`R`,uu),531:mu(`r`,uu),532:pu(`U`,du),533:mu(`u`,du),534:pu(`U`,uu),535:mu(`u`,uu),540:xu,541:Su,542:pu(`H`,M),543:hu(`h`,M),544:k(No(D(`N`)),O(.52,[[.42,.75],[.42,.9]])),545:fu(D(`d`),.44),546:Po(`O`,`U`,.12),547:Po(`o`,`u`,.1),548:gu(`Z`),549:No(D(`z`)),550:pu(`A`,_o),551:mu(`a`,_o),552:Ao(D(`E`),bo),553:Ao(D(`e`),bo),554:jo(pu(`O`,po),po,go,!1),555:jo(mu(`o`,po),po,go,!0),556:jo(pu(`O`,ho),ho,go,!1),557:jo(mu(`o`,ho),ho,go,!0),558:pu(`O`,_o),559:mu(`o`,_o),560:jo(pu(`O`,_o),_o,go,!1),561:jo(mu(`o`,_o),_o,go,!0),562:pu(`Y`,go),563:mu(`y`,go),564:fu(D(`l`),.22),565:fu(D(`n`),.4),566:fu(D(`t`),.28),567:O(.26,[[.14,.38],[.14,.86],[.06,.94]]),568:Po(`d`,`b`,.06),569:Po(`q`,`p`,.06),570:lu(`A`,.5,-.14,.14),571:lu(`C`,.45,-.12,.12),572:lu(`c`,.56,-.1,.1),573:Io(D(`L`),.04,.3,.24,.3),574:Io(D(`T`),.06,.6,.42,.32),575:k(D(`s`),O(.4,[[.32,.75],[.36,.88]])),576:k(D(`z`),O(.4,[[.34,.75],[.38,.88]])),577:Tu,578:ao(Tu),579:lu(`B`,.45,-.1,.1),580:lu(`U`,.45,-.1,.1),581:_u(`V`),582:lu(`E`,.45,-.1,.1),583:lu(`e`,.56,-.09,.09),584:lu(`J`,.45,-.1,.1),585:lu(`j`,.56,-.08,.08),586:k(D(`Q`),O(.55,[[.4,.66],[.5,.78]])),587:k(D(`q`),O(.47,[[.4,.86],[.48,.94]])),588:lu(`R`,.45,-.1,.1),589:lu(`r`,.56,-.08,.08),590:lu(`Y`,.55,-.1,.1),591:lu(`y`,.62,-.09,.09)},ku=Object.fromEntries(Object.entries(Ou).map(([e,t])=>[Number(e),ro(t)])),Object.keys(Ou).map(Number)}));function ju(e){return[...Array(10).keys()].map(t=>e(D(String(t))))}function Mu(e,t){return mo(e,t,.16)}var Nu,Pu,Fu,Iu,Lu,W,Ru,zu,Bu,Vu,Hu,Uu,Wu,Gu,Ku,qu,Ju,Yu,Xu=n((()=>{Wo(),Nu=(()=>{let e=D(`i`),t=e=>{let t=e.map(([,e])=>e);return Math.max(...t)-Math.min(...t)},n=[...e.d].sort((e,n)=>t(n)-t(e))[0];return O(e.w,n)})(),Pu=k(D(`N`),O(.52,[[.42,.75],[.42,.88],[.34,.93]])),Fu=k(D(`n`),O(.45,[[.38,.75],[.38,.88],[.3,.93]])),Iu=O(.3,[[.24,.15],[.16,.16],[.12,.24],[.12,.75]],[[.04,.38],[.16,.38]]),Lu=O(.43,[[.1,.38],[.1,.75]],[[.4,.38],[.12,.58]],[[.18,.54],[.42,.75]]),W=(e,t)=>Co(D(e),t),Ru=(e,t)=>wo(D(e),t),zu=(e,t,n=.5)=>Ao(D(e),t,n),Bu={256:W(`A`,go),257:Ru(`a`,go),258:W(`A`,Mu),259:Ru(`a`,Mu),260:zu(`A`,So,.72),261:zu(`a`,So,.78),262:W(`C`,A),263:Ru(`c`,A),264:W(`C`,N),265:Ru(`c`,N),266:W(`C`,_o),267:Ru(`c`,_o),268:W(`C`,M),269:Ru(`c`,M),270:W(`D`,M),271:To(D(`d`)),272:Io(D(`D`),.02,.45,.22,.45),273:Io(D(`d`),.24,.28,.46,.28),274:W(`E`,go),275:Ru(`e`,go),276:W(`E`,Mu),277:Ru(`e`,Mu),278:W(`E`,_o),279:Ru(`e`,_o),280:zu(`E`,So,.5),281:zu(`e`,So,.5),282:W(`E`,M),283:Ru(`e`,M),284:W(`G`,N),285:Ru(`g`,N),286:W(`G`,Mu),287:Ru(`g`,Mu),288:W(`G`,_o),289:Ru(`g`,_o),290:zu(`G`,bo),291:Ru(`g`,bo),292:W(`H`,N),293:W(`h`,N),294:Io(D(`H`),.04,.24,.48,.24),295:Io(D(`h`),.02,.26,.24,.26),296:W(`I`,ho),297:W(`i`,ho),298:W(`I`,go),299:W(`i`,go),300:W(`I`,Mu),301:W(`i`,Mu),302:zu(`I`,So,.5),303:zu(`i`,So,.5),304:W(`I`,_o),305:Nu,306:Po(`I`,`J`,.06),307:Po(`i`,`j`,.06),308:W(`J`,N),309:W(`j`,N),310:zu(`K`,bo),311:zu(`k`,bo),312:Lu,313:W(`L`,A),314:W(`l`,A),315:zu(`L`,bo,.25),316:zu(`l`,bo,.4),317:W(`L`,M),318:To(D(`l`)),319:Io(D(`L`),.24,.5,.26,.5),320:Io(D(`l`),.22,.5,.24,.5),321:Io(D(`L`),.04,.55,.22,.42),322:Io(D(`l`),.04,.5,.22,.37),323:W(`N`,A),324:Ru(`n`,A),325:zu(`N`,bo),326:zu(`n`,bo),327:W(`N`,M),328:Ru(`n`,M),329:k(O(.6,[[.04,.15],[.08,.26]]),O(.6,...Fo(D(`n`),.12))),330:Pu,331:Fu,332:W(`O`,go),333:Ru(`o`,go),334:W(`O`,Mu),335:Ru(`o`,Mu),336:W(`O`,yo),337:Ru(`o`,yo),338:Po(`O`,`E`,.16),339:Po(`o`,`e`,.11),340:W(`R`,A),341:Ru(`r`,A),342:zu(`R`,bo),343:zu(`r`,bo,.35),344:W(`R`,M),345:Ru(`r`,M),346:W(`S`,A),347:Ru(`s`,A),348:W(`S`,N),349:Ru(`s`,N),350:zu(`S`,bo),351:zu(`s`,bo),352:W(`S`,M),353:Ru(`s`,M),354:zu(`T`,bo),355:zu(`t`,bo,.6),356:W(`T`,M),357:To(D(`t`)),358:Io(D(`T`),.1,.45,.38,.45),359:Io(D(`t`),.06,.58,.28,.58),360:W(`U`,ho),361:Ru(`u`,ho),362:W(`U`,go),363:Ru(`u`,go),364:W(`U`,Mu),365:Ru(`u`,Mu),366:W(`U`,vo),367:Ru(`u`,vo),368:W(`U`,yo),369:Ru(`u`,yo),370:zu(`U`,So,.5),371:zu(`u`,So,.5),372:W(`W`,N),373:Ru(`w`,N),374:W(`Y`,N),375:Ru(`y`,N),376:W(`Y`,po),377:W(`Z`,A),378:Ru(`z`,A),379:W(`Z`,_o),380:Ru(`z`,_o),381:W(`Z`,M),382:Ru(`z`,M),383:Iu},Vu={536:zu(`S`,xo),537:zu(`s`,xo),538:zu(`T`,xo),539:zu(`t`,xo,.6)},Hu={711:O(.35,...M(.08,.3)),728:O(.35,...Mu(.08,.3)),729:O(.35,..._o(.1,.26)),730:O(.35,...vo(.08,.32)),731:O(.35,...So(.1,.62)),732:O(.35,...ho(.08,.3)),733:O(.4,...yo(.08,.3))},Uu=ju(oo),Wu=ju(so),Gu=e=>oo(D(e),.38),Ku=e=>so(D(e),.38),qu={8304:Uu[0],8305:Gu(`i`),8308:Uu[4],8309:Uu[5],8310:Uu[6],8311:Uu[7],8312:Uu[8],8313:Uu[9],8314:oo(D(`+`)),8315:oo(D(`-`)),8316:oo(D(`=`)),8317:oo(D(`(`)),8318:oo(D(`)`)),8319:Gu(`n`),8320:Wu[0],8321:Wu[1],8322:Wu[2],8323:Wu[3],8324:Wu[4],8325:Wu[5],8326:Wu[6],8327:Wu[7],8328:Wu[8],8329:Wu[9],8330:so(D(`+`)),8331:so(D(`-`)),8332:so(D(`=`)),8333:so(D(`(`)),8334:so(D(`)`)),8336:Ku(`a`),8337:Ku(`e`),8338:Ku(`o`),8339:Ku(`x`),8340:so(co(D(`e`)),.38),8341:Ku(`h`),8342:Ku(`k`),8343:Ku(`l`),8344:Ku(`m`),8345:Ku(`n`),8346:Ku(`p`),8347:Ku(`s`),8348:Ku(`t`)},Ju={...Hu,...Bu,...Vu,...qu},Yu=Object.fromEntries(Object.entries(Ju).map(([e,t])=>[Number(e),ro(t)])),Object.keys(Ju).map(Number)}));function Zu(e){return{width:e,draw:()=>{}}}function Qu(e,t,n,r,i){ud[t](e,n,r,i)}function $u(e,t,n,r,i){dd[t](e,n,r,i)}function ed(e){return{width:K,draw:t=>{t.lineWidth(35),t.circle(300,250,200),t.stroke(),t.lineWidth(40),e(t)}}}function td(e){return{width:K,draw:e}}function nd(e){return{width:K,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 G(e){e.lineWidth(35),e.M(200,420),e.L(400,80),e.stroke()}function rd(e,t){return{width:K,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&&G(n)}}}function id(e,t){return{width:K,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&&G(n)}}}function ad(e){return{width:K,draw:t=>{t.lineWidth(35),t.circle(300,250,190),t.stroke(),t.lineWidth(38),e(t)}}}function od(e,t=18){return{width:K,draw:n=>{n.lineWidth(28),e(n,300-t/2,250,280),e(n,300+t/2,250,280)}}}function sd(e){return{width:K,draw:t=>{t.lineWidth(26),e(t,300,250,300)}}}function cd(e){return{width:K,draw:t=>{t.lineWidth(36),e(t,300,250,300)}}}var K,ld,ud,dd,fd,pd,md,hd,gd,_d,vd,q,J,yd,bd,xd=n((()=>{K=600,ld={8192:Zu(500),8193:Zu(1e3),8194:Zu(500),8195:Zu(1e3),8196:Zu(333),8197:Zu(250),8198:Zu(167),8199:Zu(500),8200:Zu(250),8201:Zu(200),8202:Zu(100),8203:Zu(0),8204:Zu(0),8205:Zu(0),8206:Zu(0),8207:Zu(0),8232:Zu(0),8233:Zu(0),8234:Zu(0),8235:Zu(0),8236:Zu(0),8237:Zu(0),8238:Zu(0),8239:Zu(200),8287:Zu(222),8288:Zu(0),8289:Zu(0),8290:Zu(0),8291:Zu(0),8292:Zu(0),65279:Zu(0)},ud=[(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()}],dd=[(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()}],fd={};for(let e=1;e<=9;e++)fd[9311+e]={width:K,draw:t=>{t.lineWidth(30),t.circle(300,250,220),t.stroke(),t.lineWidth(28),Qu(t,e,300,250,210)}};for(let e=10;e<=19;e++){let t=e-10;fd[9311+e]={width:K,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(24),Qu(e,1,230,250,160),Qu(e,t,370,250,160)}}}fd[9331]={width:K,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(24),Qu(e,2,230,250,160),Qu(e,0,370,250,160)}},fd[9450]={width:K,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(28),Qu(e,0,300,250,210)}},pd={};for(let e=0;e<26;e++)pd[9398+e]={width:K,draw:t=>{t.lineWidth(28),t.circle(300,250,220),t.stroke(),t.lineWidth(24),$u(t,e,300,250,200)}};md={};for(let e=0;e<26;e++)md[9424+e]={width:K,draw:t=>{t.lineWidth(25),t.circle(300,250,200),t.stroke(),t.lineWidth(22),$u(t,e,300,250,175)}};hd={};for(let e=1;e<=9;e++)hd[10101+e]={width:K,draw:e=>{e.circle(300,250,240),e.fill()}};gd={10003:{width:K,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:K,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:K,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:K,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:K,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:K,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:K,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:K,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:K,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:K,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:K,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:K,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:K,draw:e=>{e.circle(300,250,230),e.fill()}},9675:{width:K,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke()}},9632:{width:K,draw:e=>{e.rect(80,30,440,440),e.fill()}},9633:{width:K,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke()}},9744:{width:K,draw:e=>{e.lineWidth(42),e.rect(90,25,420,420),e.stroke()}},9745:{width:K,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:K,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:K,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.circle(300,250,130),e.stroke()}}},_d={},_d[10752]=ed(e=>{e.circle(300,250,40),e.fill()}),_d[10753]=ed(e=>{e.M(100,250),e.L(500,250),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}),_d[10754]=ed(e=>{e.M(160,110),e.L(440,390),e.stroke(),e.M(160,390),e.L(440,110),e.stroke()}),_d[10755]=td(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()}),_d[10756]=td(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()}),_d[10757]=td(e=>{e.lineWidth(45),e.M(120,50),e.L(120,450),e.L(480,450),e.L(480,50),e.stroke()}),_d[10758]=td(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++)_d[e]=td(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++)_d[e]||(_d[e]=td(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++)_d[e]||(_d[e]=td(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++)_d[e]||(_d[e]=td(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++)_d[e]||(_d[e]=td(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++)_d[e]||(_d[e]=td(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++)_d[e]||(_d[e]=td(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++)_d[e]||(_d[e]=td(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()}));vd={},vd[10624]={width:K,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()}},vd[10625]={width:K,draw:e=>{e.circle(300,250,60),e.fill()}},vd[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]])vd[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(!vd[e]){let t=(e-10631)%2==0;vd[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(!vd[e]){let t=(e-10643)%2==0;vd[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())}}}vd[10649]={width:200,draw:e=>{for(let t=50;t<=450;t+=80)e.circle(100,t,20),e.fill()}},vd[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++)vd[e]={width:K,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++)vd[e]={width:K,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++)vd[e]={width:K,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++)vd[e]=ed(e=>{e.M(160,110),e.L(440,390),e.stroke()});for(let e=10696;e<=10703;e++)e!==10696&&e!==10697&&(vd[e]={width:K,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++)vd[e]={width:K,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++)vd[e]||(vd[e]={width:K,draw:e=>{e.lineWidth(35),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,100),e.stroke()}});q={},q[8705]={width:K,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()}},q[8708]={width:K,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(),G(e)}},q[8714]={width:K,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()}},q[8716]={width:K,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(),G(e)}},q[8717]={width:K,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()}},q[8720]={width:K,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,450),e.L(460,450),e.L(460,60),e.stroke()}},q[8724]={width:K,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()}},q[8725]={width:K,draw:e=>{e.lineWidth(42),e.M(440,470),e.L(160,30),e.stroke()}},q[8726]={width:K,draw:e=>{e.lineWidth(42),e.M(160,470),e.L(440,30),e.stroke()}},q[8731]={width:K,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()}},q[8732]={width:K,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()}},q[8737]={width:K,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()}},q[8738]={width:K,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()}},q[8748]={width:K,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()}},q[8749]={width:K,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()}}},q[8750]={width:K,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()}},q[8751]={width:K,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()}},q[8752]={width:K,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()}},q[8753]={width:K,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()}},q[8754]={width:K,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()}},q[8755]=q[8753],q[8760]={width:K,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(480,250),e.stroke(),e.circle(300,360,28),e.fill()}},q[8761]={width:K,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()}},q[8762]={width:K,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()}},q[8763]={width:K,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()}},q[8764]={width:K,draw:e=>{e.lineWidth(45),e.M(120,280),e.C(200,380,400,120,480,220),e.stroke()}},q[8765]={width:K,draw:e=>{e.lineWidth(45),e.M(120,220),e.C(200,120,400,380,480,280),e.stroke()}},q[8766]={width:K,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()}},q[8767]={width:K,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()}},q[8768]={width:K,draw:e=>{e.lineWidth(40),e.M(300,460),e.C(200,380,400,120,300,40),e.stroke()}},q[8769]={width:K,draw:e=>{e.lineWidth(42),e.M(120,280),e.C(200,380,400,120,480,220),e.stroke(),G(e)}},q[8770]={width:K,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()}},q[8771]={width:K,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()}},q[8772]={width:K,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(),G(e)}},q[8774]={width:K,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(),G(e)}},q[8775]=q[8774],q[8777]={width:K,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(),G(e)}},q[8778]={width:K,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()}},q[8779]={width:K,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()}},q[8781]={width:K,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()}},q[8782]={width:K,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()}},q[8783]={width:K,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()}},q[8784]={width:K,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()}},q[8785]={width:K,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()}},q[8786]={width:K,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()}},q[8787]={width:K,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()}},q[8788]={width:K,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()}},q[8789]={width:K,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()}},q[8790]=nd(e=>{e.lineWidth(25),e.circle(300,250,35),e.stroke()}),q[8791]={width:K,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()}},q[8792]={width:K,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()}},q[8793]={width:K,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()}},q[8794]={width:K,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()}},q[8795]={width:K,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()}},q[8797]={width:K,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()}},q[8798]={width:K,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()}},q[8799]={width:K,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()}},q[8802]={width:K,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(),G(e)}},q[8803]={width:K,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()}},q[8806]={width:K,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()}},q[8807]={width:K,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()}},q[8808]={width:K,draw:e=>{q[8806].draw(e),G(e)}},q[8809]={width:K,draw:e=>{q[8807].draw(e),G(e)}},q[8812]={width:K,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()}},q[8813]={width:K,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(),G(e)}},q[8814]={width:K,draw:e=>{e.lineWidth(42),e.M(460,400),e.L(140,250),e.L(460,100),e.stroke(),G(e)}},q[8815]={width:K,draw:e=>{e.lineWidth(42),e.M(140,400),e.L(460,250),e.L(140,100),e.stroke(),G(e)}},q[8816]={width:K,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(),G(e)}},q[8817]={width:K,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(),G(e)}},q[8818]={width:K,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()}},q[8819]={width:K,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()}},q[8820]={width:K,draw:e=>{q[8818].draw(e),G(e)}},q[8821]={width:K,draw:e=>{q[8819].draw(e),G(e)}},q[8822]={width:K,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()}},q[8823]={width:K,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()}},q[8824]={width:K,draw:e=>{q[8822].draw(e),G(e)}},q[8825]={width:K,draw:e=>{q[8823].draw(e),G(e)}},q[8826]={width:K,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()}},q[8827]={width:K,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()}},q[8828]={width:K,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()}},q[8829]={width:K,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()}},q[8830]={width:K,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()}},q[8831]={width:K,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()}},q[8832]={width:K,draw:e=>{q[8826].draw(e),G(e)}},q[8833]={width:K,draw:e=>{q[8827].draw(e),G(e)}},q[8840]=rd(!0,!0),q[8841]=id(!0,!0),q[8842]=rd(!0,!0),q[8843]=id(!0,!0),q[8844]={width:K,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()}},q[8845]={width:K,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()}},q[8846]={width:K,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()}},q[8847]={width:K,draw:e=>{e.lineWidth(42),e.M(460,420),e.L(140,420),e.L(140,80),e.L(460,80),e.stroke()}},q[8848]={width:K,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(460,420),e.L(460,80),e.L(140,80),e.stroke()}},q[8849]={width:K,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()}},q[8850]={width:K,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()}},q[8851]={width:K,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,440),e.L(460,440),e.L(460,60),e.stroke()}},q[8852]={width:K,draw:e=>{e.lineWidth(45),e.M(140,440),e.L(140,60),e.L(460,60),e.L(460,440),e.stroke()}},q[8858]=ad(e=>{e.lineWidth(28),e.circle(300,250,60),e.stroke()}),q[8859]=ad(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()}}),q[8860]=ad(e=>{e.M(200,280),e.L(400,280),e.stroke(),e.M(200,220),e.L(400,220),e.stroke()}),q[8861]=ad(e=>{e.M(200,250),e.L(400,250),e.stroke()}),q[8862]={width:K,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()}},q[8863]={width:K,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.M(160,250),e.L(440,250),e.stroke()}},q[8864]={width:K,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()}},q[8865]={width:K,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,40),e.fill()}},q[8866]={width:K,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()}},q[8867]={width:K,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()}},q[8868]={width:K,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()}},q[8870]={width:K,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()}},q[8871]={width:K,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()}},q[8872]={width:K,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()}},q[8873]={width:K,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()}},q[8874]={width:K,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()}},q[8875]={width:K,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()}},q[8876]={width:K,draw:e=>{q[8866].draw(e),G(e)}},q[8877]={width:K,draw:e=>{q[8872].draw(e),G(e)}},q[8878]={width:K,draw:e=>{q[8873].draw(e),G(e)}},q[8879]={width:K,draw:e=>{q[8875].draw(e),G(e)}},q[8880]={width:K,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()}},q[8881]={width:K,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()}},q[8882]={width:K,draw:e=>{e.lineWidth(42),e.M(460,420),e.L(140,250),e.L(460,80),e.Z(),e.stroke()}},q[8883]={width:K,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(460,250),e.L(140,80),e.Z(),e.stroke()}},q[8884]={width:K,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()}},q[8885]={width:K,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()}},q[8886]={width:K,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()}},q[8887]={width:K,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()}},q[8888]={width:K,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()}},q[8889]={width:K,draw:e=>{e.lineWidth(38),e.rect(120,80,360,340),e.stroke(),e.circle(300,250,30),e.fill()}},q[8890]={width:K,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()}},q[8891]={width:K,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()}},q[8892]={width:K,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()}},q[8893]={width:K,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()}},q[8894]={width:K,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()}},q[8896]={width:K,draw:e=>{e.lineWidth(45),e.M(120,60),e.L(300,440),e.L(480,60),e.stroke()}},q[8897]={width:K,draw:e=>{e.lineWidth(45),e.M(120,440),e.L(300,60),e.L(480,440),e.stroke()}},q[8898]={width:K,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()}},q[8899]={width:K,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()}},q[8900]={width:K,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()}},q[8901]={width:K,draw:e=>{e.circle(300,250,35),e.fill()}},q[8902]={width:K,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()}},q[8903]={width:K,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()}},q[8904]={width:K,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()}},q[8905]={width:K,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()}},q[8906]={width:K,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()}},q[8907]={width:K,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()}},q[8908]={width:K,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()}},q[8909]={width:K,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()}},q[8910]={width:K,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()}},q[8911]={width:K,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()}},q[8912]={width:K,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()}},q[8913]={width:K,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()}},q[8914]={width:K,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()}},q[8915]={width:K,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()}},q[8916]={width:K,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()}},q[8917]={width:K,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()}},q[8918]={width:K,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()}},q[8919]={width:K,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()}},q[8920]={width:K,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()}},q[8921]={width:K,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()}},q[8922]={width:K,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()}},q[8923]={width:K,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()}},q[8924]={width:K,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()}},q[8925]={width:K,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()}},q[8926]={width:K,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()}},q[8927]={width:K,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()}},q[8928]={width:K,draw:e=>{q[8926].draw(e),G(e)}},q[8929]={width:K,draw:e=>{q[8927].draw(e),G(e)}},q[8930]={width:K,draw:e=>{q[8849].draw(e),G(e)}},q[8931]={width:K,draw:e=>{q[8850].draw(e),G(e)}},q[8932]={width:K,draw:e=>{q[8849].draw(e),G(e)}},q[8933]={width:K,draw:e=>{q[8850].draw(e),G(e)}},q[8934]={width:K,draw:e=>{q[8818].draw(e),G(e)}},q[8935]={width:K,draw:e=>{q[8819].draw(e),G(e)}},q[8936]={width:K,draw:e=>{q[8830].draw(e),G(e)}},q[8937]={width:K,draw:e=>{q[8831].draw(e),G(e)}},q[8938]={width:K,draw:e=>{q[8882].draw(e),G(e)}},q[8939]={width:K,draw:e=>{q[8883].draw(e),G(e)}},q[8940]={width:K,draw:e=>{q[8884].draw(e),G(e)}},q[8941]={width:K,draw:e=>{q[8885].draw(e),G(e)}},q[8942]={width:K,draw:e=>{e.circle(300,380,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(300,120,28),e.fill()}},q[8943]={width:K,draw:e=>{e.circle(150,250,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(450,250,28),e.fill()}},q[8944]={width:K,draw:e=>{e.circle(170,120,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(430,380,28),e.fill()}},q[8945]={width:K,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(!q[e]){let t=(e-8946)%2==0;q[e]={width:K,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())}}}J={},J[8448]={width:K,draw:e=>{e.lineWidth(24),$u(e,0,190,340,150),$u(e,2,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},J[8449]={width:K,draw:e=>{e.lineWidth(24),$u(e,0,190,340,150),$u(e,18,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},J[8450]=od((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()}),J[8452]={width:K,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()}},J[8454]={width:K,draw:e=>{e.lineWidth(24),$u(e,2,190,340,150),$u(e,20,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},J[8455]={width:K,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()}},J[8458]={width:K,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()}},J[8459]=sd((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()}),J[8460]=cd((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()}),J[8461]=od((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()}),J[8462]={width:K,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()}},J[8463]={width:K,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()}},J[8464]=sd((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()}),J[8465]=cd((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()}),J[8466]=sd((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()}),J[8468]={width:K,draw:e=>{e.lineWidth(30),$u(e,11,200,250,260),$u(e,1,400,250,260),e.lineWidth(28),e.M(120,100),e.L(480,100),e.stroke()}},J[8469]=od((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()}),J[8471]={width:K,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(28),$u(e,15,300,250,200)}},J[8472]={width:K,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()}},J[8473]=od((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()}),J[8474]=od((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()}),J[8475]=sd((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()}),J[8476]=cd((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()}),J[8477]=od((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()}),J[8478]={width:K,draw:e=>{e.lineWidth(38),$u(e,17,250,260,300),e.lineWidth(32),e.M(350,200),e.L(480,60),e.stroke()}},J[8479]={width:K,draw:e=>{e.lineWidth(38),$u(e,17,300,250,300)}},J[8481]={width:K,draw:e=>{e.lineWidth(22),$u(e,19,150,250,180),$u(e,4,300,250,180),$u(e,11,450,250,180)}},J[8484]=od((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()}),J[8485]={width:K,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()}},J[8487]={width:K,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()}},J[8488]=cd((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()}),J[8489]={width:K,draw:e=>{e.lineWidth(38),e.M(300,440),e.L(300,160),e.C(300,60,220,60,220,120),e.stroke()}},J[8490]={width:K,draw:e=>{e.lineWidth(40),$u(e,10,300,250,300)}},J[8491]={width:K,draw:e=>{e.lineWidth(38),$u(e,0,300,220,280),e.lineWidth(22),e.circle(300,440,30),e.stroke()}},J[8492]=sd((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()}),J[8493]=cd((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()}),J[8495]={width:K,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()}},J[8496]=sd((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()}),J[8497]=sd((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()}),J[8498]={width:K,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()}},J[8499]=sd((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()}),J[8500]={width:K,draw:e=>{e.lineWidth(30),e.ellipse(300,250,150,180),e.stroke()}},J[8501]={width:K,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()}},J[8502]={width:K,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()}},J[8503]={width:K,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()}},J[8504]={width:K,draw:e=>{e.lineWidth(42),e.M(180,440),e.L(420,440),e.L(420,60),e.stroke()}},J[8508]={width:K,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()}},J[8509]={width:K,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()}},J[8510]={width:K,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()}},J[8511]={width:K,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()}},J[8512]={width:K,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()}},J[8513]={width:K,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()}},J[8514]={width:K,draw:e=>{e.lineWidth(42),e.M(400,60),e.L(400,440),e.L(200,440),e.stroke()}},J[8515]={width:K,draw:e=>{e.lineWidth(42),e.M(400,440),e.L(400,60),e.L(200,60),e.stroke()}},J[8516]={width:K,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()}},J[8517]=od((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()}),J[8518]={width:K,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()}},J[8519]={width:K,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()}},J[8520]={width:K,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()}},J[8521]={width:K,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()}},J[8522]={width:K,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()}},J[8523]={width:K,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()}},J[8524]={width:K,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()}},J[8525]={width:K,draw:e=>{e.lineWidth(34),$u(e,0,200,250,260),$u(e,18,400,250,260)}},J[8526]={width:K,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()}},J[8527]={width:K,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()}},yd={},yd[8364]={width:K,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()}},yd[8365]={width:K,draw:e=>{e.lineWidth(40),$u(e,10,300,250,300),e.M(140,250),e.L(460,250),e.stroke()}},yd[8367]={width:K,draw:e=>{e.lineWidth(38),$u(e,3,300,250,300),e.M(400,470),e.L(400,30),e.stroke()}},yd[8368]={width:K,draw:e=>{e.lineWidth(38),$u(e,3,300,250,300),e.lineWidth(22),e.circle(420,400,30),e.stroke()}},yd[8373]={width:K,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()}},yd[8375]={width:K,draw:e=>{e.lineWidth(38),$u(e,18,300,250,300),e.M(140,300),e.L(460,300),e.stroke()}},yd[8379]={width:K,draw:e=>{e.lineWidth(38),$u(e,12,300,250,300),e.M(120,60),e.L(480,60),e.stroke()}},yd[8380]={width:K,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()}},yd[8382]={width:K,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()}},yd[8383]={width:K,draw:e=>{e.lineWidth(38),$u(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++)yd[e]={width:K,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()}};bd={},bd[8604]={width:K,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()}},bd[8610]={width:K,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()}},bd[8611]={width:K,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()}},bd[8616]={width:K,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()}},bd[8619]={width:K,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()}},bd[8620]={width:K,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()}},bd[8621]={width:K,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()}},bd[8622]={width:K,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(),G(e)}},bd[8623]={width:K,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()}},bd[8628]={width:K,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()}},bd[8630]={width:K,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()}},bd[8631]={width:K,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()}},bd[8632]={width:K,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()}},bd[8633]={width:K,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()}},bd[8683]={width:K,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()}},bd[8684]={width:K,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()}},bd[8685]={width:K,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()}},bd[8686]={width:K,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()}},bd[8687]={width:K,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()}},bd[8688]={width:K,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()}},bd[8689]={width:K,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()}},bd[8690]={width:K,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()}},bd[8691]={width:K,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()}},bd[8692]={width:K,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()}},bd[8694]={width:K,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()}},bd[8695]={width:K,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()}},bd[8696]={width:K,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()}},bd[8697]={width:K,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()}},bd[8698]={width:K,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()}},bd[8699]={width:K,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()}},bd[8700]={width:K,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()}},bd[8701]={width:K,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()}},bd[8702]={width:K,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()}},bd[8703]={width:K,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()}}})),Sd,Cd,wd,Td,Ed,Dd,Od,kd,Ad,jd,Md,Nd,Pd,Fd,Id,Ld,Rd,zd,Bd=n((()=>{Wo(),Sd=Oo(D(`O`)),Cd=Oo(D(`o`)),wd=Oo(D(`U`)),Td=Oo(D(`u`)),Ed=Co(D(`A`),ko),Dd=wo(D(`a`),ko),Od=Co(D(`A`),N),kd=wo(D(`a`),N),Ad=Co(D(`E`),N),jd=wo(D(`e`),N),Md=Co(D(`O`),N),Nd=wo(D(`o`),N),Pd=(e,t)=>e===e.toUpperCase()?Co(D(e),t):wo(D(e),t),Fd=(e,t=.5)=>Ao(D(e),Do,t),Id=(e,t,n,r)=>jo(e,t,n,r),Ld=(e,t=.5)=>Ao(e,Do,t),Rd={416:Sd,417:Cd,431:wd,432:Td,7840:Fd(`A`,.5),7841:Fd(`a`,.5),7842:Pd(`A`,Eo),7843:Pd(`a`,Eo),7844:Id(Od,N,A,!1),7845:Id(kd,N,A,!0),7846:Id(Od,N,j,!1),7847:Id(kd,N,j,!0),7848:Id(Od,N,Eo,!1),7849:Id(kd,N,Eo,!0),7850:Id(Od,N,ho,!1),7851:Id(kd,N,ho,!0),7852:Ld(Od),7853:Ld(kd),7854:Id(Ed,ko,A,!1),7855:Id(Dd,ko,A,!0),7856:Id(Ed,ko,j,!1),7857:Id(Dd,ko,j,!0),7858:Id(Ed,ko,Eo,!1),7859:Id(Dd,ko,Eo,!0),7860:Id(Ed,ko,ho,!1),7861:Id(Dd,ko,ho,!0),7862:Ld(Ed),7863:Ld(Dd),7864:Fd(`E`),7865:Fd(`e`),7866:Pd(`E`,Eo),7867:Pd(`e`,Eo),7868:Pd(`E`,ho),7869:Pd(`e`,ho),7870:Id(Ad,N,A,!1),7871:Id(jd,N,A,!0),7872:Id(Ad,N,j,!1),7873:Id(jd,N,j,!0),7874:Id(Ad,N,Eo,!1),7875:Id(jd,N,Eo,!0),7876:Id(Ad,N,ho,!1),7877:Id(jd,N,ho,!0),7878:Ld(Ad),7879:Ld(jd),7880:Pd(`I`,Eo),7881:Pd(`i`,Eo),7882:Fd(`I`),7883:Fd(`i`),7884:Fd(`O`),7885:Fd(`o`),7886:Pd(`O`,Eo),7887:Pd(`o`,Eo),7888:Id(Md,N,A,!1),7889:Id(Nd,N,A,!0),7890:Id(Md,N,j,!1),7891:Id(Nd,N,j,!0),7892:Id(Md,N,Eo,!1),7893:Id(Nd,N,Eo,!0),7894:Id(Md,N,ho,!1),7895:Id(Nd,N,ho,!0),7896:Ld(Md),7897:Ld(Nd),7898:Co(Sd,A),7899:wo(Cd,A),7900:Co(Sd,j),7901:wo(Cd,j),7902:Co(Sd,Eo),7903:wo(Cd,Eo),7904:Co(Sd,ho),7905:wo(Cd,ho),7906:Ld(Sd),7907:Ld(Cd),7908:Fd(`U`),7909:Fd(`u`),7910:Pd(`U`,Eo),7911:Pd(`u`,Eo),7912:Co(wd,A),7913:wo(Td,A),7914:Co(wd,j),7915:wo(Td,j),7916:Co(wd,Eo),7917:wo(Td,Eo),7918:Co(wd,ho),7919:wo(Td,ho),7920:Ld(wd),7921:Ld(Td),7922:Pd(`Y`,j),7923:Pd(`y`,j),7924:Fd(`Y`),7925:Fd(`y`),7926:Pd(`Y`,Eo),7927:Pd(`y`,Eo),7928:Pd(`Y`,ho),7929:Pd(`y`,ho)},zd=Object.fromEntries(Object.entries(Rd).map(([e,t])=>[Number(e),ro(t)])),Object.keys(Rd).map(Number)})),Vd=/* @__PURE__ */ r({NOTDEF_GLYPH:()=>Xd,glyphCount:()=>Yd,hasGlyph:()=>Jd,lookupGlyph:()=>qd});function Hd(e,t,n,r){return{width:Y,draw:i=>{i.rect(e,t,n,r),i.fill()}}}function Ud(e,t,n,r,i=50){return{width:Y,draw:a=>{a.lineWidth(i),a.rect(e,t,n,r),a.stroke()}}}function Wd(e,t,n){return{width:Y,draw:r=>{r.circle(e,t,n),r.fill()}}}function Gd(e,t,n,r=50){return{width:Y,draw:i=>{i.lineWidth(r),i.circle(e,t,n),i.stroke()}}}function Kd(){if(!uf){uf=/* @__PURE__ */ new Map;for(let e of lf)for(let[t,n]of Object.entries(e))uf.set(Number(t),n)}return uf}function qd(e){return Kd().get(e)}function Jd(e){return Kd().has(e)}function Yd(){return Kd().size}var Y,Xd,Zd,Qd,$d,ef,tf,nf,rf,af,of,sf,cf,lf,uf,df=n((()=>{Cs(),dc(),bc(),Kc(),Nl(),cu(),Au(),Xu(),xd(),Bd(),Y=600,Xd=Ud(80,0,440,700,40),Zd={9632:Hd(100,50,400,400),9633:Ud(100,50,400,400),9634:{width:Y,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:Y,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(200,150,200,200),e.fill()}},9636:{width:Y,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:Y,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:Y,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:Y,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:Hd(175,125,250,250),9643:Ud(175,125,250,250,40),9644:Hd(80,150,440,200),9645:Ud(80,150,440,200),9646:Hd(175,0,250,500),9647:Ud(175,0,250,500),9648:{width:Y,draw:e=>{e.M(150,100),e.L(520,100),e.L(450,400),e.L(80,400),e.Z(),e.fill()}},9650:{width:Y,draw:e=>{e.M(300,500),e.L(500,50),e.L(100,50),e.Z(),e.fill()}},9651:{width:Y,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(500,50),e.L(100,50),e.Z(),e.stroke()}},9652:{width:Y,draw:e=>{e.M(300,450),e.L(450,100),e.L(150,100),e.Z(),e.fill()}},9653:{width:Y,draw:e=>{e.lineWidth(35),e.M(300,450),e.L(450,100),e.L(150,100),e.Z(),e.stroke()}},9654:{width:Y,draw:e=>{e.M(100,500),e.L(500,250),e.L(100,0),e.Z(),e.fill()}},9655:{width:Y,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(500,250),e.L(100,0),e.Z(),e.stroke()}},9656:{width:Y,draw:e=>{e.M(150,450),e.L(450,250),e.L(150,50),e.Z(),e.fill()}},9660:{width:Y,draw:e=>{e.M(100,500),e.L(500,500),e.L(300,50),e.Z(),e.fill()}},9661:{width:Y,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(500,500),e.L(300,50),e.Z(),e.stroke()}},9662:{width:Y,draw:e=>{e.M(150,400),e.L(450,400),e.L(300,100),e.Z(),e.fill()}},9664:{width:Y,draw:e=>{e.M(500,500),e.L(100,250),e.L(500,0),e.Z(),e.fill()}},9665:{width:Y,draw:e=>{e.lineWidth(40),e.M(500,500),e.L(100,250),e.L(500,0),e.Z(),e.stroke()}},9666:{width:Y,draw:e=>{e.M(450,450),e.L(150,250),e.L(450,50),e.Z(),e.fill()}},9670:{width:Y,draw:e=>{e.M(300,500),e.L(530,250),e.L(300,0),e.L(70,250),e.Z(),e.fill()}},9671:{width:Y,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:Y,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:Y,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,250,120),e.fill()}},9674:{width:Y,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:Gd(300,250,220),9676:Gd(300,250,220,30),9677:{width:Y,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:Y,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.circle(300,250,140),e.stroke()}},9679:Wd(300,250,220),9680:{width:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,draw:e=>{e.rect(80,30,440,440),e.fill()}},9689:{width:Y,draw:e=>{e.circle(300,250,240),e.fill()}},9692:{width:Y,draw:e=>{e.lineWidth(50),e.M(300,470),e.C(179,470,80,371,80,250),e.stroke()}},9693:{width:Y,draw:e=>{e.lineWidth(50),e.M(520,250),e.C(520,371,421,470,300,470),e.stroke()}},9694:{width:Y,draw:e=>{e.lineWidth(50),e.M(300,30),e.C(421,30,520,129,520,250),e.stroke()}},9695:{width:Y,draw:e=>{e.lineWidth(50),e.M(80,250),e.C(80,129,179,30,300,30),e.stroke()}},9696:{width:Y,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:Y,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:Gd(300,250,100,40),9711:Gd(300,250,280,40)},Qd={8592:{width:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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()}}},$d={8704:{width:Y,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:Y,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:Y,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:Y,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:Y,draw:e=>{e.lineWidth(50),e.M(300,500),e.L(100,0),e.L(500,0),e.Z(),e.stroke()}},8711:{width:Y,draw:e=>{e.lineWidth(50),e.M(100,500),e.L(500,500),e.L(300,0),e.Z(),e.stroke()}},8712:{width:Y,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:Y,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:Y,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:Hd(150,50,300,400),8719:{width:Y,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:Y,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:Y,draw:e=>{e.lineWidth(60),e.M(120,250),e.L(480,250),e.stroke()}},8723:{width:Y,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:Y,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:Y,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:Y,draw:e=>{e.lineWidth(50),e.M(480,50),e.L(120,50),e.L(380,450),e.stroke()}},8743:{width:Y,draw:e=>{e.lineWidth(50),e.M(100,50),e.L(300,450),e.L(500,50),e.stroke()}},8744:{width:Y,draw:e=>{e.lineWidth(50),e.M(100,450),e.L(300,50),e.L(500,450),e.stroke()}},8745:{width:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},8855:{width:Y,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:Y,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(160,100),e.L(440,400),e.stroke()}},8857:{width:Y,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.circle(300,250,40),e.fill()}}},ef={9728:{width:Y,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:Y,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:Y,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:Ud(100,30,400,400,45),9745:{width:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,draw:e=>{e.M(300,500),e.L(500,250),e.L(300,0),e.L(100,250),e.Z(),e.fill()}},9833:{width:Y,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:Y,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:Y,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:Y,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:Y,draw:e=>{e.lineWidth(65),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},10004:{width:Y,draw:e=>{e.lineWidth(85),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},10005:{width:Y,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:Y,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:Y,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:Y,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:Y,draw:e=>{e.rect(210,30,180,440),e.fill(),e.rect(90,160,420,180),e.fill()}},10012:{width:Y,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:Y,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:Y,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:Y,draw:e=>{e.circle(300,250,240),e.fill()}}}return e})(),...(()=>{let e={};for(let t=0;t<10;t++)e[9312+t]={width:Y,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke()}};return e})()},tf={8960:{width:Y,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(140,90),e.L(460,410),e.stroke()}},8962:{width:Y,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:Y,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:Y,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:Y,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()}}},nf={9472:{width:Y,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke()}},9473:{width:Y,draw:e=>{e.lineWidth(80),e.M(0,250),e.L(600,250),e.stroke()}},9474:{width:Y,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,500),e.stroke()}},9475:{width:Y,draw:e=>{e.lineWidth(80),e.M(300,0),e.L(300,500),e.stroke()}},9484:{width:Y,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,250),e.L(600,250),e.stroke()}},9488:{width:Y,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,250),e.L(0,250),e.stroke()}},9492:{width:Y,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(300,250),e.L(600,250),e.stroke()}},9496:{width:Y,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(300,250),e.L(0,250),e.stroke()}},9500:{width:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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()}}},rf={9600:Hd(0,250,600,250),9604:Hd(0,0,600,250),9608:Hd(0,0,600,500),9612:Hd(0,0,300,500),9616:Hd(300,0,300,500),9617:{width:Y,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:Y,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:Y,draw:e=>{e.lineWidth(35),e.rect(0,0,600,500),e.fill()}}},af={11014:{width:Y,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:Y,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:Y,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:Hd(60,10,480,480),11036:Ud(60,10,480,480,45),11088:{width:Y,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()}}},of={10688:{width:Y,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:Y,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:Y,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke(),e.circle(300,250,130),e.stroke()}},10696:{width:Y,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke(),e.rect(190,140,220,220),e.stroke()}},10697:{width:Y,draw:e=>{e.lineWidth(35),e.rect(80,80,300,300),e.stroke(),e.rect(220,120,300,300),e.stroke()}}},sf={8377:{width:Y,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:Y,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:Y,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()}}},cf={8226:Wd(300,250,100),8230:{width:Y,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:Y,draw:e=>{e.M(150,400),e.L(450,250),e.L(150,100),e.Z(),e.fill()}},8259:{width:Y,draw:e=>{e.lineWidth(60),e.M(150,250),e.L(450,250),e.stroke()}},8260:{width:Y,draw:e=>{e.lineWidth(40),e.M(450,500),e.L(150,0),e.stroke()}}},lf=[Ml,su,Ss,Yu,ku,zd,Zd,Qd,$d,ef,tf,nf,rf,af,of,sf,cf,Ls,Rs,zs,Bs,Vs,Hs,Us,Ws,Gs,Ks,qs,Js,Ys,Xs,Zs,ic,sc,cc,pc,mc,hc,gc,_c,vc,yc,B,V,Uc,H,Wc,Gc,Vc,ld,_d,vd,q,J,yd,bd,fd,pd,md,hd,gd],uf=null})),ff=/* @__PURE__ */ r({GLYPH_BBOX:()=>yf,writeType3Fonts:()=>pf});function pf(e,t,n=`T3F`){let r=/* @__PURE__ */ new Map,i=/* @__PURE__ */ new Map,a=/* @__PURE__ */ 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}=mf(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:bf+e})}return{fontObjects:i,encoding:r,widths:a}}function mf(e,t,n){let r=[],i=[],a=Array(bf+t.length).fill(0),u=/* @__PURE__ */ new Map,d=hf(e,Xd);r.push({name:`.notdef`,objNum:d}),a[0]=Xd.width;for(let n=0;n<t.length;n++){let o=t[n],s=qd(o)??Xd,c=`uni${o.toString(16).toUpperCase().padStart(4,`0`)}`,l=hf(e,s);r.push({name:c,objNum:l}),i.push(c);let d=bf+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(`
|
|
42
|
+
`);return new TextEncoder().encode(r)}function Ci(e,t){if(e.length===0)return`[]`;let n=1e3/t;return`[0 [${e.map(e=>s(Math.round(e*n))).join(` `)}]]`}function wi(e,t,n){let r=[];for(let i of sr(e.data,n+e.glyphOffsets[t],n+e.glyphOffsets[t+1]))r.push(i.glyphId);return r}function Ti(e,t){if(e.length<10)return e;let n=new Uint8Array(e.length);n.set(e);let r=!1;for(let e of sr(n,0,n.length)){r=!0;let i=t.get(e.glyphId)??0;n[e.glyphIdOffset]=i>>8&255,n[e.glyphIdOffset+1]=i&255}return r?n:e}var Ei=n((()=>{Qe(),m(),Sn(),he(),li(),br(),zr()}));function Di(e){return e>=8986&&e<=8987||e>=9193&&e<=9196||e===9200||e===9203||e>=9725&&e<=9726||e>=9748&&e<=9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e>=9898&&e<=9899||e>=9917&&e<=9918||e>=9924&&e<=9925||e===9934||e===9940||e===9962||e>=9970&&e<=9971||e===9973||e===9978||e===9981||e===9989||e>=9994&&e<=9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e>=11035&&e<=11036||e===11088||e===11093}function Oi(e){return e>=4352&&e<=4447||e>=11904&&e<=12350||e>=12353&&e<=13311||e>=13312&&e<=19903||e>=19968&&e<=40959||e>=40960&&e<=42191||e>=43360&&e<=43391||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||Di(e)||e>=126980&&e<=126980||e>=127183&&e<=127183||e>=127374&&e<=127374||e>=127377&&e<=127386||e>=127462&&e<=127487||e>=127488&&e<=127743||e>=127744&&e<=129791||e>=131072&&e<=196605||e>=196608&&e<=262141}function ki(e){return e!==9&&(e<32||e>=127&&e<=159)||e===8203||e===8204||e===8205||e===8288||e===65279||e>=8206&&e<=8207||e>=8234&&e<=8238||e>=8294&&e<=8297||e>=65024&&e<=65039||e>=768&&e<=879||e>=917760&&e<=917999}function Ai(e){return ki(e)&&!(e>=768&&e<=879)}function ji(e,t){if(ki(e))return 0;if(Oi(e))return Gi;let n=Ui[t];return n?n.monoWidth===void 0?n.widths?.[e]??n.avgWidth:n.monoWidth:ji(e,`Helvetica`)}function Mi(e,t,n){let r=0;for(let n=0;n<e.length;n++){let i=e.codePointAt(n);i>65535&&n++,r+=ji(i,t)}return r/1e3*n}function Ni(e,t){return(Ui[e]??Ui.Helvetica).ascent/1e3*t}function Pi(e,t){return(Ui[e]??Ui.Helvetica).descent/1e3*t}function Fi(e,t){let n=Ui[e]??Ui.Helvetica;return(n.ascent-n.descent)/1e3*t}function Ii(e){if(e in Ui)return e;let t=e.toLowerCase().trim();return Wi[t]??`Helvetica`}function Li(e,t,n){let r=Ii(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 Ui?o:r}var Ri,zi,Bi,Vi,Hi,Ui,Wi,Gi,Ki=n((()=>{Ri={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,338:1e3,339:944,352:667,353:500,376:667,381:611,382:500,402:556,710:333,732:333,8211:556,8212:1e3,8216:222,8217:222,8218:222,8220:333,8221:333,8222:333,8224:556,8225:556,8226:350,8230:1e3,8240:1e3,8249:333,8250:333,8364:556,8482:1e3,160:278,161:333,162:556,163:556,164:556,165:556,166:260,167:556,168:333,169:737,170:370,171:556,172:584,173:333,174:737,175:333,176:400,177:584,178:333,179:333,180:333,181:556,182:537,183:278,184:333,185:333,186:365,187:556,188:834,189:834,190:834,191:611,192:667,193:667,194:667,195:667,196:667,197:667,198:1e3,199:722,200:667,201:667,202:667,203:667,204:278,205:278,206:278,207:278,208:722,209:722,210:778,211:778,212:778,213:778,214:778,215:584,216:778,217:722,218:722,219:722,220:722,221:667,222:667,223:611,224:556,225:556,226:556,227:556,228:556,229:556,230:889,231:500,232:556,233:556,234:556,235:556,236:278,237:278,238:278,239:278,240:556,241:556,242:556,243:556,244:556,245:556,246:556,247:584,248:611,249:556,250:556,251:556,252:556,253:500,254:556,255:500},zi={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,338:1e3,339:944,352:667,353:556,376:667,381:611,382:500,402:556,710:333,732:333,8211:556,8212:1e3,8216:278,8217:278,8218:278,8220:500,8221:500,8222:500,8224:556,8225:556,8226:350,8230:1e3,8240:1e3,8249:333,8250:333,8364:556,8482:1e3,160:278,161:333,162:556,163:556,164:556,165:556,166:280,167:556,168:333,169:737,170:370,171:556,172:584,173:333,174:737,175:333,176:400,177:584,178:333,179:333,180:333,181:611,182:556,183:278,184:333,185:333,186:365,187:556,188:834,189:834,190:834,191:611,192:722,193:722,194:722,195:722,196:722,197:722,198:1e3,199:722,200:667,201:667,202:667,203:667,204:278,205:278,206:278,207:278,208:722,209:722,210:778,211:778,212:778,213:778,214:778,215:584,216:778,217:722,218:722,219:722,220:722,221:667,222:667,223:611,224:556,225:556,226:556,227:556,228:556,229:556,230:889,231:556,232:556,233:556,234:556,235:556,236:278,237:278,238:278,239:278,240:611,241:611,242:611,243:611,244:611,245:611,246:611,247:584,248:611,249:611,250:611,251:611,252:611,253:556,254:611,255:556},Bi={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,338:889,339:722,352:556,353:389,376:722,381:611,382:444,402:500,710:333,732:333,8211:500,8212:1e3,8216:333,8217:333,8218:333,8220:444,8221:444,8222:444,8224:500,8225:500,8226:350,8230:1e3,8240:1e3,8249:333,8250:333,8364:500,8482:980,160:250,161:333,162:500,163:500,164:500,165:500,166:200,167:500,168:333,169:760,170:276,171:500,172:564,173:333,174:760,175:333,176:400,177:564,178:300,179:300,180:333,181:500,182:453,183:250,184:333,185:300,186:310,187:500,188:750,189:750,190:750,191:444,192:722,193:722,194:722,195:722,196:722,197:722,198:889,199:667,200:611,201:611,202:611,203:611,204:333,205:333,206:333,207:333,208:722,209:722,210:722,211:722,212:722,213:722,214:722,215:564,216:722,217:722,218:722,219:722,220:722,221:722,222:556,223:500,224:444,225:444,226:444,227:444,228:444,229:444,230:667,231:444,232:444,233:444,234:444,235:444,236:278,237:278,238:278,239:278,240:500,241:500,242:500,243:500,244:500,245:500,246:500,247:564,248:500,249:500,250:500,251:500,252:500,253:500,254:500,255:500},Vi={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,338:1e3,339:722,352:556,353:389,376:722,381:667,382:444,402:500,710:333,732:333,8211:500,8212:1e3,8216:333,8217:333,8218:333,8220:500,8221:500,8222:500,8224:500,8225:500,8226:350,8230:1e3,8240:1e3,8249:333,8250:333,8364:500,8482:1e3,160:250,161:333,162:500,163:500,164:500,165:500,166:220,167:500,168:333,169:747,170:300,171:500,172:570,173:333,174:747,175:333,176:400,177:570,178:300,179:300,180:333,181:556,182:540,183:250,184:333,185:300,186:330,187:500,188:750,189:750,190:750,191:500,192:722,193:722,194:722,195:722,196:722,197:722,198:1e3,199:722,200:667,201:667,202:667,203:667,204:389,205:389,206:389,207:389,208:722,209:722,210:778,211:778,212:778,213:778,214:778,215:570,216:778,217:722,218:722,219:722,220:722,221:722,222:611,223:556,224:500,225:500,226:500,227:500,228:500,229:500,230:722,231:444,232:444,233:444,234:444,235:444,236:278,237:278,238:278,239:278,240:500,241:556,242:500,243:500,244:500,245:500,246:500,247:570,248:500,249:556,250:556,251:556,252:556,253:500,254:556,255:500},Hi=600,Ui={Helvetica:{ascent:718,descent:-207,capHeight:718,avgWidth:513,widths:Ri},"Helvetica-Bold":{ascent:718,descent:-207,capHeight:718,avgWidth:535,widths:zi},"Helvetica-Oblique":{ascent:718,descent:-207,capHeight:718,avgWidth:513,widths:Ri},"Helvetica-BoldOblique":{ascent:718,descent:-207,capHeight:718,avgWidth:535,widths:zi},"Times-Roman":{ascent:683,descent:-217,capHeight:662,avgWidth:478,widths:Bi},"Times-Bold":{ascent:683,descent:-217,capHeight:676,avgWidth:505,widths:Vi},"Times-Italic":{ascent:683,descent:-217,capHeight:653,avgWidth:478,widths:Bi},"Times-BoldItalic":{ascent:683,descent:-217,capHeight:669,avgWidth:505,widths:Vi},Courier:{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Hi},"Courier-Bold":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Hi},"Courier-Oblique":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Hi},"Courier-BoldOblique":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:Hi}},Wi={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`},Gi=1e3})),qi=n((()=>{Ki()}));function Ji(e){let t=ra(e),n=[],r;return{collect(e){if(r)throw Error(`Cannot collect text after the font plan is finalized`);n.push(Object.freeze({...e}))},finalize(){return r||=Yi(t,n),r}}}function Yi(e,t){let n=/* @__PURE__ */ new Map,r=t.map((t,r)=>({intent:t,segments:Xi(e,t).map(e=>{let t=n.get(e.faceId);t||(t={face:e.face,codepoints:/* @__PURE__ */ new Set},n.set(e.faceId,t));for(let n of e.codepoints)(!pa(n)||e.face.hasGlyph(n))&&t.codepoints.add(n);return{cluster:e,intentIndex:r}})})),i=/* @__PURE__ */ new Map,a=Array.from(n,([e,t],n)=>{let r=`FP${n+1}`;return i.set(e,r),Object.freeze({id:e,kind:t.face.kind,resourceName:r,codepoints:t.codepoints,source:t.face})}),o=r.map(({intent:e,segments:t})=>Object.freeze({intent:e,segments:Object.freeze(t.map(({cluster:e,intentIndex:t})=>na(e,t,i.get(e.faceId))))})),s=o.flatMap(e=>e.segments);return Object.freeze({faces:Object.freeze(a),intents:Object.freeze(o),segments:Object.freeze(s)})}function Xi(e,t){let n=ea(e,t.family),r=[];for(let e of Lr(t.text)){let i=Array.from(e,e=>e.codePointAt(0)),a=Zi(n,i,t.bold,t.italic),o=r[r.length-1];o?.faceId===a.faceId?(o.text+=e,o.codepoints.push(...i)):r.push({...a,text:e,codepoints:i})}return r}function Zi(e,t,n,r){let i=Qi(n,r);for(let n of i)for(let r of e){let e=r.faces[n];if(e&&ta(e,t))return{faceId:`${r.id}:${n}`,face:e}}let a=e[e.length-1],{slot:o,face:s}=$i(a.faces,n,r)[0];return{faceId:`${a.id}:${o}`,face:s}}function Qi(e,t){return e?t?[`boldItalic`,`bold`,`italic`,`regular`]:[`bold`,`regular`]:t?[`italic`,`regular`]:[`regular`]}function $i(e,t,n){let r=Qi(t,n),i=[];for(let t of r){let n=e[t];n&&!i.some(e=>e.face===n)&&i.push({slot:t,face:n})}return i}function ea(e,t){let n=t?e.familyLookup.get(ua(t)):void 0,r=n?[n,...e.fallbackFamilies,e.defaultFamily]:[e.defaultFamily,...e.fallbackFamilies],i=[];for(let e of r)i.includes(e)||i.push(e);return i}function ta(e,t){return t.every(t=>pa(t)||e.hasGlyph(t))}function na(e,t,n){let r=e.codepoints.reduce((t,n)=>pa(n)?t:t+e.face.width(n),0);return Object.freeze({intentIndex:t,faceId:e.faceId,kind:e.face.kind,resourceName:n,text:e.text,codepoints:Object.freeze(e.codepoints),width:r,ascent:e.face.ascent,descent:e.face.descent})}function ra(e){if(da(e))return ia({default:{regular:sa(e)}});if(fa(e)){let t=e.families.map(aa),n=new Map(t.flatMap(e=>la(e).map(t=>[t,e])));return{defaultFamily:ca(`default`,``,[],oa(e.default)),familyLookup:n,fallbackFamilies:e.fallbackFamilies.map(e=>n.get(e.normalizedName))}}return ia(e)}function ia(e){let t=(e.families??[]).map((e,t)=>ca(`family-${t}`,ua(e.name),(e.aliases??[]).map(ua),e.faces)),n=new Map(t.flatMap(e=>la(e).map(t=>[t,e]))),r=(e.fallbackFamilies??[]).map(e=>{let t=n.get(ua(e));if(!t)throw Error(`Fallback font family '${e}' is not configured`);return t});return{defaultFamily:ca(`default`,``,[],e.default),familyLookup:n,fallbackFamilies:r}}function aa(e,t){return ca(`family-${t}`,e.normalizedName,e.normalizedAliases,oa(e.faces))}function oa(e){return{regular:sa(e.regular),...e.bold?{bold:sa(e.bold)}:{},...e.italic?{italic:sa(e.italic)}:{},...e.boldItalic?{boldItalic:sa(e.boldItalic)}:{}}}function sa(e){let{font:t}=e;return Object.freeze({kind:`ttf`,font:t,source:e,ascent:t.ascent/t.unitsPerEm,descent:t.descent/t.unitsPerEm,hasGlyph:e=>t.cmap.has(e),width:e=>{let n=t.cmap.get(e)??0;return Math.round((t.advanceWidths[n]??0)*1e3/t.unitsPerEm)/1e3}})}function ca(e,t,n,r){return{id:e,normalizedName:t,normalizedAliases:n,faces:r}}function la(e){return[e.normalizedName,...e.normalizedAliases]}function ua(e){return e.trim().replace(/\s+/g,` `).toLocaleLowerCase(`en-US`)}function da(e){return`font`in e&&`data`in e&&`collectionIndex`in e}function fa(e){return`default`in e&&`families`in e&&`fallbackFamilies`in e}function pa(e){return Jr(e)}var ma=n((()=>{li(),zr()}));function ha(e){return e.length===0||!ya.test(e)&&ba.test(e)}function ga(e){return ba.test(e)}var _a,va,ya,ba,xa,Sa=n((()=>{_a=[{name:`Arabic`,pattern:/\p{Script=Arabic}/u},{name:`Syriac`,pattern:/\p{Script=Syriac}/u},{name:`Thaana`,pattern:/\p{Script=Thaana}/u},{name:`Mandaic`,pattern:/\p{Script=Mandaic}/u},{name:`NKo`,pattern:/\p{Script=Nko}/u},{name:`Adlam`,pattern:/\p{Script=Adlam}/u},{name:`Devanagari`,pattern:/\p{Script=Devanagari}/u},{name:`Bengali`,pattern:/\p{Script=Bengali}/u},{name:`Gurmukhi`,pattern:/\p{Script=Gurmukhi}/u},{name:`Gujarati`,pattern:/\p{Script=Gujarati}/u},{name:`Oriya`,pattern:/\p{Script=Oriya}/u},{name:`Tamil`,pattern:/\p{Script=Tamil}/u},{name:`Telugu`,pattern:/\p{Script=Telugu}/u},{name:`Kannada`,pattern:/\p{Script=Kannada}/u},{name:`Malayalam`,pattern:/\p{Script=Malayalam}/u},{name:`Sinhala`,pattern:/\p{Script=Sinhala}/u},{name:`Thai`,pattern:/\p{Script=Thai}/u},{name:`Lao`,pattern:/\p{Script=Lao}/u},{name:`Tibetan`,pattern:/\p{Script=Tibetan}/u},{name:`Myanmar`,pattern:/\p{Script=Myanmar}/u},{name:`Khmer`,pattern:/\p{Script=Khmer}/u},{name:`Javanese`,pattern:/\p{Script=Javanese}/u},{name:`Balinese`,pattern:/\p{Script=Balinese}/u},{name:`Tifinagh`,pattern:/\p{Script=Tifinagh}/u}],va=/[\p{Script=Arabic}\p{Script=Hebrew}\p{Script=Syriac}\p{Script=Thaana}\p{Script=Nko}\p{Script=Samaritan}\p{Script=Mandaic}\p{Script=Adlam}\p{Script=Phoenician}\p{Script=Imperial_Aramaic}\p{Script=Kharoshthi}\p{Script=Old_Turkic}\p{Script=Avestan}\p{Script=Hanifi_Rohingya}\u200e\u200f\u202a-\u202e\u2066-\u2069]/u,ya=/[\u200e\u200f\u202a-\u202e\u2066-\u2069]/u,ba=/^[\p{Script=Latin}\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Cyrillic}\p{Script=Greek}\p{Script=Common}\p{Script=Inherited}]*$/u,xa=class{constructor(){this.scripts=/* @__PURE__ */ new Set,this.rtl=!1}note(e){if(!ha(e)){!this.rtl&&va.test(e)&&(this.rtl=!0);for(let t of _a)!this.scripts.has(t.name)&&t.pattern.test(e)&&this.scripts.add(t.name)}}shapingScripts(){return[...this.scripts].sort()}hasRtl(){return this.rtl}isEmpty(){return this.scripts.size===0&&!this.rtl}warnings(e,t={}){let n=[];if(this.scripts.size>0){let r=this.shapingScripts().join(`, `);n.push(t.contextualForms?`Text contains ${r}. ${e} applies contextual forms and vowel reordering, but not the font's GSUB and GPOS tables, so conjunct ligatures are drawn as separate glyphs and stacked marks are not positioned. Render to SVG or DOCX for full shaping — both carry the original text and leave it to the viewer.`:`Text contains ${r}, which requires OpenType shaping (GSUB/GPOS). ${e} maps one glyph per code point, so contextual forms, reordering and mark positioning are not applied and the text will render incorrectly. Render to SVG or DOCX instead — both carry the original text and leave shaping to the viewer — or pre-shape the text yourself.`)}return this.rtl&&n.push(t.visualOrder?`Text contains right-to-left characters. ${e} puts them in visual order, but does not implement the full Unicode Bidi Algorithm, so a line mixing both directions may still be ordered wrongly at the boundaries.`:`Text contains right-to-left characters. ${e} draws glyphs in logical order and does not run the Unicode Bidi Algorithm, so right-to-left runs will appear reversed. Render to SVG or DOCX instead, or reorder the text yourself.`),n}}})),Ca,wa,Ta,Ea=n((()=>{Sa(),Ca=[`COLR`,`CBDT`,`sbix`,`SVG `],wa=`This PDF writer`,Ta=class{constructor(){this.features=new xa,this.colorFontFamilies=/* @__PURE__ */ new Set}noteText(e){this.features.note(e)}noteFontTables(e,t){Ca.some(e=>t.has(e))&&this.colorFontFamilies.add(e)}report(e,t={}){for(let n of this.features.warnings(wa,t))e(n);this.colorFontFamilies.size>0&&e(`Embedded font(s) ${[...this.colorFontFamilies].sort().join(`, `)} carry color glyph tables (COLR/CBDT/sbix/SVG), which this writer does not embed. Affected characters render as monochrome outlines, or as .notdef when no outline exists.`)}}}));function Da(e,t){for(let[n,r]of t)if(e>=n&&e<=r)return!0;return!1}function Oa(e){return Da(e,ja)||Da(e,Ma)}function ka(e){return Da(e,Ma)}function Aa(e){return!Oa(e)||ka(e)}var ja,Ma,Na=n((()=>{ja=[[8192,8303],[8352,8399],[8448,9215],[9312,11263],[65279,65279]],Ma=[[256,383],[384,591],[711,711],[728,733],[900,906],[908,908],[910,929],[931,974],[1024,1119],[8304,8305],[8308,8334],[8336,8348],[7840,7929],[7936,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],[8025,8025],[8027,8027],[8029,8029],[8031,8061],[8064,8116],[8118,8132],[8134,8147],[8150,8155],[8157,8175],[8178,8180],[8182,8190]]}));function Pa(e,t){let n=t?.direction??`ltr`,r=t?.arabicJoining!==!1,i=t?.bidiReorder!==!1,a=La(e);if(r)for(let e of a)e.script===`arabic`&&Ha(e);let o=a;i&&(o=Ga(a,n));let s=[];for(let e of o)for(let t of e.clusters)s.push(t);return s}function Fa(e,t,n){let r=[];for(let i of Pa(e,n)){if(i.advanceMultiplier===0)continue;let e=[...i.visual].every(e=>t(e.codePointAt(0)));r.push({visual:e?i.visual:i.chars,source:i.chars})}return r}function Ia(e){return e>=1536&&e<=1791||e>=1872&&e<=1919||e>=2208&&e<=2303||e>=64336&&e<=65023||e>=65136&&e<=65279?`arabic`:e>=1424&&e<=1535||e>=64285&&e<=64335?`hebrew`:e>=2304&&e<=2431?`devanagari`:e>=2432&&e<=2559?`bengali`:e>=2944&&e<=3071?`tamil`:e>=3584&&e<=3711?`thai`:e>=3712&&e<=3839?`lao`:e>=11904&&e<=40959||e>=63744&&e<=64255||e>=65072&&e<=65103||e>=65280&&e<=65376||e>=131072&&e<=195103?`cjk`:e>=44032&&e<=55215||e>=4352&&e<=4607||e>=12592&&e<=12687?`hangul`:e>=65&&e<=591||e>=7680&&e<=7935||e>=11360&&e<=11391?`latin`:`other`}function La(e){let t=[],n=null,r=``;for(let i=0;i<e.length;i++){let a=e.codePointAt(i),o=String.fromCodePoint(a);a>65535&&i++;let s=Ia(a),c=s===`other`&&(a===32||a>=33&&a<=47);n===null||!c&&s!==n?(r.length>0&&n!==null&&t.push(Ra(r,n)),n=c?n??`latin`:s,r=o):r+=o}return r.length>0&&t.push(Ra(r,n??`latin`)),t}function Ra(e,t){let n=t===`arabic`||t===`hebrew`?`rtl`:`ltr`,r=[];if(t===`devanagari`){let i=Ba(e);for(let e=0;e<i.length;e++){let a=i.codePointAt(e),o=String.fromCodePoint(a);a>65535&&e++,r.push({chars:o,visual:o,advanceMultiplier:1,script:t,direction:n})}return{script:t,direction:n,clusters:r}}for(let i=0;i<e.length;i++){let a=e.codePointAt(i),o=String.fromCodePoint(a);a>65535&&i++,r.push({chars:o,visual:o,advanceMultiplier:1,script:t,direction:n})}return{script:t,direction:n,clusters:r}}function za(e){return e>=2325&&e<=2361||e>=2392&&e<=2399}function Ba(e){let t=[];for(let n=0;n<e.length;n++){let r=e.codePointAt(n);t.push(r),r>65535&&n++}let n=[];for(let e=0;e<t.length;e++)if(t[e]===Ka&&e>0&&za(t[e-1])){let e=n.length-1;for(;e>=2&&n[e-1]===2381&&za(n[e-2]);)e-=2;n.splice(e,0,Ka)}else n.push(t[e]);return String.fromCodePoint(...n)}function Va(e){return e>=1552&&e<=1562||e>=1611&&e<=1631||e===1648||e>=1750&&e<=1756||e>=1759&&e<=1764||e>=1767&&e<=1768||e>=1770&&e<=1773?`T`:e>=1536&&e<=1541||e===1544||e===1547||e===1569?`U`:e===1570||e===1571||e===1572||e===1573||e===1575||e===1577||e===1583||e===1584||e===1585||e===1586||e===1608||e>=1649&&e<=1651||e>=1653&&e<=1655||e===1672||e===1673||e===1674||e===1675||e===1676||e===1677||e===1678||e===1681||e===1682||e===1683||e===1684||e===1685||e===1686||e===1687||e===1688||e===1689||e===1728||e===1731||e===1733||e===1734||e===1735||e===1736||e===1737||e===1739||e===1741||e===1743||e===1746||e===1747||e===1749||e===1774||e===1775?`R`:e>=1574&&e<=1610||e>=1646&&e<=1745?`D`:e===8205?`C`:`U`}function Ha(e){let t=e.clusters,n=t.length;for(let e=0;e<n;e++){if(t[e].advanceMultiplier===0)continue;let r=t[e].chars.codePointAt(0),i=Va(r);if(i===`T`||i===`U`)continue;let a=!1;for(let n=e-1;n>=0;n--){if(t[n].advanceMultiplier===0)continue;let e=Va(t[n].chars.codePointAt(0));if(e!==`T`){a=e===`D`||e===`C`;break}}let o=!1;for(let r=e+1;r<n;r++){if(t[r].advanceMultiplier===0)continue;let e=Va(t[r].chars.codePointAt(0));if(e!==`T`){o=e===`D`||e===`C`||e===`R`;break}}let s;s=i===`D`?a&&o?`medial`:a?`final`:o?`initial`:`isolated`:i===`R`&&a?`final`:`isolated`;let c=Wa(r,s);c!==r&&(t[e].visual=String.fromCodePoint(c))}Ua(t)}function Ua(e){let t=e.length;for(let n=0;n<t-1;n++){if(e[n].chars.codePointAt(0)!==1604)continue;let r=-1;for(let i=n+1;i<t;i++)if(Va(e[i].chars.codePointAt(0))!==`T`){r=i;break}if(r===-1)continue;let i=e[r].chars.codePointAt(0),a=qa[i];if(!a)continue;let o=!1;for(let t=n-1;t>=0;t--){let n=Va(e[t].chars.codePointAt(0));if(n!==`T`){o=n===`D`||n===`C`;break}}let s=o?a[1]:a[0];e[n].chars=e[n].chars+e[r].chars,e[n].visual=String.fromCodePoint(s),e[r].visual=``,e[r].advanceMultiplier=0}}function Wa(e,t){let n=Ja[e];if(!n)return e;switch(t){case`isolated`:return n[0];case`final`:return n[1]??e;case`initial`:return n[2]??e;case`medial`:return n[3]??e;default:return e}}function Ga(e,t){if(e.length<=1)return e.length===1&&e[0].direction===`rtl`&&e[0].clusters.reverse(),e;let n=e.map(e=>t===`ltr`?+(e.direction===`rtl`):e.direction===`ltr`?2:1);for(let t=0;t<e.length;t++)e[t].direction===`rtl`&&e[t].clusters.reverse();let r=0;for(let e of n)e>r&&(r=e);let i=[...e];for(let e=r;e>0;e--){let t=0;for(;t<i.length;)if(n[t]>=e){let r=t+1;for(;r<i.length&&n[r]>=e;)r++;let a=i.slice(t,r);a.reverse(),i.splice(t,r-t,...a);let o=n.slice(t,r);o.reverse(),n.splice(t,r-t,...o),t=r}else t++}return i}var Ka,qa,Ja,Ya=n((()=>{Ka=2367,qa={1575:[65275,65276],1570:[65269,65270],1571:[65271,65272],1573:[65273,65274]},Ja={1575:[65165,65166],1576:[65167,65168,65169,65170],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264],1610:[65265,65266,65267,65268],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1577:[65171,65172],1662:[64342,64343,64344,64345],1670:[64378,64379,64380,64381],1688:[64394,64395],1711:[64402,64403,64404,64405],1700:[64362,64363,64364,64365],1705:[64398,64399,64400,64401],1649:[64336,64337],1569:[65152,65152],1731:[64388,64389]}}));function Xa(e){let t=0,n=Qa.length-1;for(;t<=n;){let r=t+n>>>1,i=Qa[r];if(e<i.start)n=r-1;else if(e>i.end)t=r+1;else return i.name}switch(Math.floor(e/65536)){case 0:return`Basic Multilingual Plane`;case 1:return`Supplementary Multilingual Plane`;case 2:case 3:return`Supplementary Ideographic Plane`;case 14:return`Supplementary Special-purpose Plane`;default:return`Private Use / unassigned`}}function Za(e,t=4){let n=/* @__PURE__ */ new Map;for(let t of e){let e=Xa(t),r=n.get(e);r===void 0?n.set(e,{count:1,sample:t}):(r.count++,t<r.sample&&(r.sample=t))}if(n.size===0)return``;let r=[...n.entries()].sort((e,t)=>t[1].count-e[1].count||e[1].sample-t[1].sample),i=r.slice(0,t).map(([e,{count:t,sample:n}])=>{let r=`U+${n.toString(16).toUpperCase().padStart(4,`0`)}`;return`${e} (${t}, e.g. ${String.fromCodePoint(n)} ${r})`}),a=r.length-i.length;return a>0?`${i.join(`; `)}; and ${a} more block(s)`:i.join(`; `)}var Qa,$a=n((()=>{Qa=[{start:0,end:127,name:`Basic Latin`},{start:128,end:255,name:`Latin-1 Supplement`},{start:256,end:383,name:`Latin Extended-A`},{start:384,end:591,name:`Latin Extended-B`},{start:592,end:687,name:`IPA Extensions`},{start:688,end:767,name:`Spacing Modifier Letters`},{start:768,end:879,name:`Combining Diacritical Marks`},{start:880,end:1023,name:`Greek and Coptic`},{start:1024,end:1279,name:`Cyrillic`},{start:1280,end:1327,name:`Cyrillic Supplement`},{start:1328,end:1423,name:`Armenian`},{start:1424,end:1535,name:`Hebrew`},{start:1536,end:1791,name:`Arabic`},{start:1792,end:1871,name:`Syriac`},{start:1920,end:1983,name:`Thaana`},{start:2304,end:2431,name:`Devanagari`},{start:2432,end:2559,name:`Bengali`},{start:2560,end:2687,name:`Gurmukhi`},{start:2688,end:2815,name:`Gujarati`},{start:2816,end:2943,name:`Oriya`},{start:2944,end:3071,name:`Tamil`},{start:3072,end:3199,name:`Telugu`},{start:3200,end:3327,name:`Kannada`},{start:3328,end:3455,name:`Malayalam`},{start:3456,end:3583,name:`Sinhala`},{start:3584,end:3711,name:`Thai`},{start:3712,end:3839,name:`Lao`},{start:3840,end:4095,name:`Tibetan`},{start:4096,end:4255,name:`Myanmar`},{start:4256,end:4351,name:`Georgian`},{start:4352,end:4607,name:`Hangul Jamo`},{start:4608,end:4991,name:`Ethiopic`},{start:5024,end:5119,name:`Cherokee`},{start:6016,end:6143,name:`Khmer`},{start:6144,end:6319,name:`Mongolian`},{start:7680,end:7935,name:`Latin Extended Additional`},{start:7936,end:8191,name:`Greek Extended`},{start:8192,end:8303,name:`General Punctuation`},{start:8304,end:8351,name:`Superscripts and Subscripts`},{start:8352,end:8399,name:`Currency Symbols`},{start:8448,end:8527,name:`Letterlike Symbols`},{start:8528,end:8591,name:`Number Forms`},{start:8592,end:8703,name:`Arrows`},{start:8704,end:8959,name:`Mathematical Operators`},{start:8960,end:9215,name:`Miscellaneous Technical`},{start:9216,end:9279,name:`Control Pictures`},{start:9312,end:9471,name:`Enclosed Alphanumerics`},{start:9472,end:9599,name:`Box Drawing`},{start:9600,end:9631,name:`Block Elements`},{start:9632,end:9727,name:`Geometric Shapes`},{start:9728,end:9983,name:`Miscellaneous Symbols`},{start:9984,end:10175,name:`Dingbats`},{start:10240,end:10495,name:`Braille Patterns`},{start:11008,end:11263,name:`Miscellaneous Symbols and Arrows`},{start:11904,end:12031,name:`CJK Radicals Supplement`},{start:12032,end:12255,name:`Kangxi Radicals`},{start:12288,end:12351,name:`CJK Symbols and Punctuation`},{start:12352,end:12447,name:`Hiragana`},{start:12448,end:12543,name:`Katakana`},{start:12544,end:12591,name:`Bopomofo`},{start:12592,end:12687,name:`Hangul Compatibility Jamo`},{start:12688,end:12703,name:`Kanbun`},{start:12784,end:12799,name:`Katakana Phonetic Extensions`},{start:12800,end:13055,name:`Enclosed CJK Letters and Months`},{start:13056,end:13311,name:`CJK Compatibility`},{start:13312,end:19903,name:`CJK Unified Ideographs Extension A`},{start:19904,end:19967,name:`Yijing Hexagram Symbols`},{start:19968,end:40959,name:`CJK Unified Ideographs`},{start:40960,end:42127,name:`Yi Syllables`},{start:43360,end:43391,name:`Hangul Jamo Extended-A`},{start:44032,end:55215,name:`Hangul Syllables`},{start:63744,end:64255,name:`CJK Compatibility Ideographs`},{start:64256,end:64335,name:`Alphabetic Presentation Forms`},{start:65040,end:65055,name:`Vertical Forms`},{start:65072,end:65103,name:`CJK Compatibility Forms`},{start:65104,end:65135,name:`Small Form Variants`},{start:65136,end:65279,name:`Arabic Presentation Forms-B`},{start:65280,end:65519,name:`Halfwidth and Fullwidth Forms`},{start:127744,end:128511,name:`Miscellaneous Symbols and Pictographs`},{start:128512,end:128591,name:`Emoticons`},{start:128640,end:128767,name:`Transport and Map Symbols`},{start:129280,end:129535,name:`Supplemental Symbols and Pictographs`},{start:131072,end:173791,name:`CJK Unified Ideographs Extension B`},{start:173824,end:177983,name:`CJK Unified Ideographs Extension C`},{start:177984,end:178207,name:`CJK Unified Ideographs Extension D`},{start:178208,end:183983,name:`CJK Unified Ideographs Extension E`},{start:183984,end:191471,name:`CJK Unified Ideographs Extension F`},{start:191472,end:192095,name:`CJK Unified Ideographs Extension I`},{start:194560,end:195103,name:`CJK Compatibility Ideographs Supplement`},{start:196608,end:201551,name:`CJK Unified Ideographs Extension G`},{start:201552,end:205743,name:`CJK Unified Ideographs Extension H`}]})),eo,to=n((()=>{eo={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 no(e,t){for(let n of t){if(n.length===0)continue;let[t]=n,r=n[n.length-1],i=n.length>2&&t[0]===r[0]&&t[1]===r[1],a=i?n.slice(0,-1):n;e.M(a[0][0],a[0][1]);for(let t=1;t<a.length;t++)e.L(a[t][0],a[t][1]);i&&e.Z()}}function ro(e){let t=e.d.map(e=>e.map(([e,t])=>[e*Bo,(zo-t)*Bo]));return{width:Math.round(e.w*Bo),draw:e=>{e.lineWidth(80),no(e,t),e.stroke()}}}function D(e){let t=eo[e.codePointAt(0)];if(t===void 0)throw Error(`type3 letterforms: stroke font has no '${e}'`);return{w:t.w,d:t.d.map(t=>t.map(t=>{if(t.length<2)throw Error(`type3 letterforms: '${e}' has a point with ${t.length} value(s)`);return[t[0],t[1]]}))}}function O(e,...t){return{w:e,d:t}}function k(...e){return{w:Math.max(...e.map(e=>e.w)),d:e.flatMap(e=>e.d)}}function io(e,t,n,r=Lo,i=zo){let a=(n-t)/(i-r);return{w:e.w*a,d:e.d.map(e=>e.map(([e,n])=>[e*a,t+(n-r)*a]))}}function A(e){let t=io(e,Ro,zo);return{w:t.w+.022999999999999996,d:t.d}}function ao(e,t=Lo){return io(e,.13,.47,t)}function oo(e,t=Lo){return io(e,.47,.81,t)}function so(e){let t=e.d.flat(),n=t.map(([e])=>e),r=t.map(([,e])=>e),i=(Math.min(...n)+Math.max(...n))/2,a=(Math.min(...r)+Math.max(...r))/2;return{w:e.w,d:e.d.map(e=>e.map(([e,t])=>[2*i-e,2*a-t]))}}function co(e){let t=e.d.flat(),n=t.map(([e])=>e),r=t.map(([,e])=>e);return{minX:Math.min(...n),maxX:Math.max(...n),minY:Math.min(...r),maxY:Math.max(...r)}}function lo(e){let{minX:t,maxX:n}=co(e),r=t+n;return{w:e.w,d:e.d.map(e=>e.map(([e,t])=>[r-e,t]))}}function uo(e,t,n,r,i=12){let a=[];for(let o=0;o<=i;o++){let s=o/i*Math.PI*2;a.push([Number((e+Math.cos(s)*n).toFixed(4)),Number((t+Math.sin(s)*r).toFixed(4))])}return a}function j(e,t){return[[[e,t],[e+.1,t-.1]]]}function M(e,t){return[[[e,t-.1],[e+.1,t]]]}function fo(e,t){return[[[e,t-.01],[e+.01,t-.01]],[[e+.13,t-.01],[e+.14,t-.01]]]}function po(e,t,n){return[[[e,t-.07],[e+n*.2,t-.02],[e+n*.5,t],[e+n*.8,t-.02],[e+n,t-.07]]]}function mo(e,t){return[[[e,t-.09],[e+.07,t],[e+.14,t-.09]]]}function N(e,t){return[[[e,t],[e+.07,t-.09],[e+.14,t]]]}function ho(e,t){return[[[e,t-.01],[e+.04,t-.06],[e+.1,t-.01],[e+.14,t-.06]]]}function go(e,t){return[[[e,t],[e+.16,t]]]}function _o(e,t){return[[[e+.07,t],[e+.08,t]]]}function vo(e,t){return[uo(e+.07,t-.05,.05,.05,8)]}function yo(e,t){return[...j(e-.01,t),...j(e+.09,t)]}function bo(e,t){return[[[e+.07,t],[e+.07,t+.05],[e+.01,t+.09]]]}function xo(e,t){return[[[e+.08,t+.01],[e+.03,t+.1]]]}function So(e,t){return[[[e+.09,t],[e+.05,t+.03],[e+.04,t+.06],[e+.08,t+.09],[e+.13,t+.08]]]}function Co(e,t){return k(e,O(e.w,...t(e.w*.5-.03,.04999999999999999)))}function wo(e,t){return k(e,O(e.w,...t(e.w*.5-.03,.28)))}function To(e){return k(e,O(e.w+.08,[[e.w-.02,.27],[e.w+.01,Lo]]))}function Eo(e,t){return[[[e+.02,t-.1],[e+.07,t-.11],[e+.1,t-.08],[e+.08,t-.04],[e+.05,t-.02],[e+.05,t]]]}function Do(e,t){return[[[e+.07,t+.04],[e+.08,t+.04]]]}function Oo(e){let{maxX:t,minY:n}=co(e);return k(e,O(e.w+.05,[[t-.01,n+.04],[t+.04,n],[t+.06,n-.05]]))}function ko(e,t){return po(e,t,.16)}function Ao(e,t,n=.5){return k(e,O(e.w,...t(e.w*n-.04,.77)))}function jo(e,t,n,r=!0){let i=r?Ro:Lo,a=e.w*.5-.03,o=i-Vo,s=Uo.get(t);if(s===void 0)throw Error(`type3 letterforms: stacking needs the lower mark's height`);return k(e,O(e.w,...t(a,o)),O(e.w,...n(a,o-s-Ho)))}function Mo(e){let{minX:t}=co(e),n=.02;if(t>=n)return e;let r=n-t;return{w:e.w+r,d:Fo(e,r)}}function No(e){let{minX:t,minY:n}=co(e);return Mo(k(e,O(e.w,[[t,n+.02],[t-.05,n-.02],[t-.09,n+.01]])))}function Po(e,t,n){let r=D(e),i=D(t),a=r.w-n;return{w:a+i.w,d:[...r.d,...i.d.map(e=>e.map(([e,t])=>[e+a,t]))]}}function Fo(e,t){return e.d.map(e=>e.map(([e,n])=>[e+t,n]))}function Io(e,t,n,r,i){return Mo(k(e,O(e.w,[[t,n],[r,i]])))}var Lo,Ro,zo,Bo,Vo,Ho,Uo,Wo=n((()=>{to(),Lo=.15,Ro=.38,zo=.75,Bo=700/.6,Vo=.1,Ho=.09,Uo=/* @__PURE__ */ new Map([[j,.1],[M,.1],[N,.09],[mo,.09],[ho,.06],[ko,.07],[Eo,.11],[go,0],[_o,0],[fo,.01],[vo,.1]])}));function Go(e,t){return k(e,O(e.w,...t(e.w*.5-.07,.02)))}var Ko,qo,Jo,Yo,Xo,Zo,Qo,$o,es,ts,ns,rs,is,as,os,ss,cs,ls,us,ds,fs,ps,ms,hs,gs,_s,vs,ys,bs,xs,Ss,Cs=n((()=>{Wo(),Ko=O(.5,[[.1,.15],[.42,.15]],[[.1,.15],[.1,.75],[.3,.75],[.4,.67],[.4,.52],[.3,.45],[.1,.45]]),qo=O(.44,[[.1,.75],[.1,.15],[.4,.15]]),Jo=O(.56,[[.06,.85],[.06,.75],[.14,.75],[.2,.15],[.42,.15],[.42,.75],[.5,.75],[.5,.85]],[[.14,.75],[.42,.75]]),Yo=O(.66,[[.33,.15],[.33,.75]],[[.06,.15],[.31,.45]],[[.06,.75],[.31,.45]],[[.6,.15],[.35,.45]],[[.6,.75],[.35,.45]]),Xo=O(.46,[[.1,.22],[.22,.15],[.36,.2],[.38,.33],[.26,.44],[.38,.55],[.38,.68],[.24,.75],[.1,.68]]),Zo=O(.52,[[.1,.75],[.1,.15]],[[.42,.75],[.42,.15]],[[.1,.75],[.42,.15]]),Qo=O(.54,[[.06,.75],[.16,.4],[.2,.15],[.44,.15],[.44,.75]]),$o=O(.54,[[.1,.75],[.1,.15],[.44,.15],[.44,.75]]),es=O(.48,[[.06,.15],[.26,.5]],[[.44,.15],[.16,.86],[.06,.9]]),ts=k(O(.58,[[.29,.15],[.29,.75]]),O(.58,[[.29,.26],[.16,.29],[.09,.37],[.09,.53],[.16,.61],[.29,.64],[.42,.61],[.49,.53],[.49,.37],[.42,.29],[.29,.26]])),ns=O(.54,[[.1,.15],[.1,.75],[.42,.75],[.42,.15]],[[.42,.75],[.42,.88],[.48,.88]]),rs=O(.5,[[.1,.15],[.1,.38],[.18,.46],[.4,.46],[.4,.15],[.4,.75]]),is=O(.66,[[.08,.15],[.08,.75],[.32,.75],[.32,.15],[.32,.75],[.56,.75],[.56,.15]]),as=k(is,O(.7,[[.56,.75],[.56,.88],[.62,.88]])),os=O(.54,[[.06,.15],[.2,.15]],[[.2,.15],[.2,.75],[.38,.75],[.47,.67],[.47,.53],[.38,.46],[.2,.46]]),ss=O(.46,[[.1,.15],[.1,.75],[.28,.75],[.38,.67],[.38,.53],[.28,.46],[.1,.46]]),cs=k(ss,O(.62,[[.53,.15],[.53,.75]])),ls=k(O(.48,[[.1,.22],[.24,.15],[.38,.24],[.42,.45],[.38,.66],[.24,.75],[.1,.68]]),O(.48,[[.24,.45],[.42,.45]])),us=k(O(.66,[[.08,.15],[.08,.75]]),O(.66,[[.08,.45],[.24,.45]]),O(.66,[[.38,.15],[.26,.22],[.24,.36],[.24,.54],[.26,.68],[.38,.75],[.52,.68],[.56,.54],[.56,.36],[.52,.22],[.38,.15]])),ds=O(.5,[[.42,.15],[.42,.75]],[[.42,.15],[.2,.15],[.1,.23],[.1,.37],[.2,.45],[.42,.45]],[[.24,.45],[.1,.75]]),fs=k(O(.54,[[.06,.28],[.34,.28]],[[.2,.15],[.2,.75]]),O(.54,[[.2,.45],[.38,.45],[.47,.53],[.47,.67],[.38,.75],[.2,.75]])),ps=k(O(.48,[[.4,.22],[.26,.15],[.12,.24],[.08,.45],[.12,.66],[.26,.75],[.4,.68]]),O(.48,[[.08,.45],[.3,.45]])),ms=k(O(.72,[[.04,.75],[.12,.4],[.16,.15],[.34,.15],[.34,.75]]),O(.72,[[.34,.45],[.52,.45],[.62,.53],[.62,.67],[.52,.75],[.34,.75]])),hs=k(O(.72,[[.08,.15],[.08,.75]],[[.34,.15],[.34,.75]],[[.08,.45],[.34,.45]]),O(.72,[[.34,.45],[.52,.45],[.62,.53],[.62,.67],[.52,.75],[.34,.75]])),gs=k(O(.54,[[.06,.28],[.34,.28]],[[.2,.15],[.2,.75]]),O(.54,[[.2,.45],[.38,.45],[.47,.53],[.47,.75]])),_s=O(.54,[[.1,.15],[.1,.75],[.42,.75],[.42,.15]],[[.26,.75],[.26,.88]]),vs=k(Zo,O(Zo.w,...po(.12,.04,.28))),ys=k(es,O(es.w,...po(.1,.04,.28))),bs=k(D(`y`),O(D(`y`).w,...po(.08,.27,.26))),xs={1024:Co(D(`E`),M),1025:Co(D(`E`),fo),1026:fs,1027:Co(qo,j),1028:ps,1029:D(`S`),1030:D(`I`),1031:Go(D(`I`),fo),1032:D(`J`),1033:ms,1034:hs,1035:gs,1036:Co(D(`K`),j),1037:Co(Zo,M),1038:ys,1039:_s,1040:D(`A`),1041:Ko,1042:D(`B`),1043:qo,1044:Jo,1045:D(`E`),1046:Yo,1047:Xo,1048:Zo,1049:vs,1050:D(`K`),1051:Qo,1052:D(`M`),1053:D(`H`),1054:D(`O`),1055:$o,1056:D(`P`),1057:D(`C`),1058:D(`T`),1059:es,1060:ts,1061:D(`X`),1062:ns,1063:rs,1064:is,1065:as,1066:os,1067:cs,1068:ss,1069:ls,1070:us,1071:ds,1072:D(`a`),1073:O(.46,[[.36,.28],[.24,.24],[.14,.3],[.1,.42]],[[.1,.42],[.1,.66],[.2,.75],[.32,.75],[.4,.66],[.4,.52],[.32,.45],[.14,.45],[.1,.5]]),1074:A(D(`B`)),1075:A(qo),1076:A(Jo),1077:D(`e`),1078:A(Yo),1079:A(Xo),1080:A(Zo),1081:A(vs),1082:A(D(`K`)),1083:A(Qo),1084:A(D(`M`)),1085:A(D(`H`)),1086:D(`o`),1087:A($o),1088:D(`p`),1089:D(`c`),1090:A(D(`T`)),1091:D(`y`),1092:A(ts),1093:D(`x`),1094:A(ns),1095:A(rs),1096:A(is),1097:A(as),1098:A(os),1099:A(cs),1100:A(ss),1101:A(ls),1102:A(us),1103:A(ds),1104:wo(D(`e`),M),1105:wo(D(`e`),fo),1106:A(fs),1107:wo(A(qo),j),1108:A(ps),1109:D(`s`),1110:D(`i`),1111:Go(D(`i`),fo),1112:D(`j`),1113:A(ms),1114:A(hs),1115:A(gs),1116:wo(A(D(`K`)),j),1117:wo(A(Zo),M),1118:bs,1119:A(_s)},Ss=Object.fromEntries(Object.entries(xs).map(([e,t])=>[Number(e),ro(t)])),Object.keys(xs).map(Number)}));function P(e,t,n,r){return{width:F,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 ws(e,t,n,r){return{width:F,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 Ts(e,t,n,r){return{width:F,draw:i=>{i.rect(e,t,n,r),i.fill()}}}function Es(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:F,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 Ds(e,t){return{width:F,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 Os(e,t,n,r){e.M(t,n),e.L(t,r),e.stroke()}function ks(e,t,n,r){e.M(t-80,r),e.L(t,n),e.L(t+80,r),e.stroke()}function As(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 js(e,t,n,r){e.M(t,r),e.L(n,r),e.stroke()}function Ms(e){return{width:F,draw:t=>{if(t.lineWidth(45),e<=3){let n=e,r=300-(n-1)*120/2;for(let e=0;e<n;e++)Os(t,r+e*120,0,500)}else e===4?(Os(t,200,0,500),ks(t,380,0,500)):e===5?ks(t,300,0,500):e===6?(ks(t,200,0,500),Os(t,400,0,500)):e===7?(ks(t,160,0,500),Os(t,340,0,500),Os(t,460,0,500)):e===8?(t.lineWidth(40),ks(t,140,0,500),Os(t,300,0,500),Os(t,400,0,500),Os(t,500,0,500)):e===9?(Os(t,200,0,500),As(t,400,0,500)):e===10?As(t,300,0,500):e===11?(As(t,220,0,500),Os(t,430,0,500)):e===12?(As(t,180,0,500),Os(t,370,0,500),Os(t,480,0,500)):e===50?(Os(t,200,0,500),js(t,200,450,0)):e===100?(js(t,180,450,500),Os(t,180,0,500),js(t,180,450,0)):e===500?(Os(t,180,0,500),t.M(180,500),t.C(480,500,480,0,180,0),t.stroke()):e===1e3&&(Os(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(),Os(t,500,0,500))}}}function Ns(e){return{width:F,draw:t=>{if(t.lineWidth(40),e<=3){let n=e,r=300-(n-1)*100/2;for(let e=0;e<n;e++)Os(t,r+e*100,0,350)}else e===4?(Os(t,200,0,350),ks(t,380,0,350)):e===5?ks(t,300,0,350):e===6?(ks(t,200,0,350),Os(t,400,0,350)):e===7?(ks(t,160,0,350),Os(t,340,0,350),Os(t,450,0,350)):e===8?(t.lineWidth(35),ks(t,130,0,350),Os(t,280,0,350),Os(t,380,0,350),Os(t,480,0,350)):e===9?(Os(t,200,0,350),As(t,400,0,350)):e===10?As(t,300,0,350):e===11?(As(t,220,0,350),Os(t,430,0,350)):e===12?(As(t,180,0,350),Os(t,370,0,350),Os(t,480,0,350)):e===50?(Os(t,200,0,350),js(t,200,450,0)):e===100?(js(t,180,450,350),Os(t,180,0,350),js(t,180,450,0)):e===500?(Os(t,180,0,350),t.M(180,350),t.C(480,350,480,0,180,0),t.stroke()):e===1e3&&(Os(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(),Os(t,500,0,350))}}}function Ps(e,t,n,r,i){lc[t](e,n,r,i)}function Fs(e,t,n,r,i){uc[t](e,n,r,i)}function Is(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 F,I,L,Ls,Rs,zs,Bs,Vs,Hs,Us,Ws,Gs,Ks,qs,Js,Ys,Xs,Zs,Qs,$s,ec,tc,nc,rc,ic,ac,oc,sc,cc,lc,uc,dc=n((()=>{F=600,I=40,L=80,Ls={9472:P(I,I,0,0),9473:P(L,L,0,0),9474:P(0,0,I,I),9475:P(0,0,L,L),9476:P(I,I,0,0),9477:P(L,L,0,0),9478:P(0,0,I,I),9479:P(0,0,L,L),9480:P(I,I,0,0),9481:P(L,L,0,0),9482:P(0,0,I,I),9483:P(0,0,L,L),9484:P(0,I,0,I),9485:P(0,L,0,I),9486:P(0,I,0,L),9487:P(0,L,0,L),9488:P(I,0,0,I),9489:P(L,0,0,I),9490:P(I,0,0,L),9491:P(L,0,0,L),9492:P(0,I,I,0),9493:P(0,L,I,0),9494:P(0,I,L,0),9495:P(0,L,L,0),9496:P(I,0,I,0),9497:P(L,0,I,0),9498:P(I,0,L,0),9499:P(L,0,L,0),9500:P(0,I,I,I),9501:P(0,L,I,I),9502:P(0,I,L,I),9503:P(0,I,I,L),9504:P(0,I,L,L),9505:P(0,L,L,I),9506:P(0,L,I,L),9507:P(0,L,L,L),9508:P(I,0,I,I),9509:P(L,0,I,I),9510:P(I,0,L,I),9511:P(I,0,I,L),9512:P(I,0,L,L),9513:P(L,0,L,I),9514:P(L,0,I,L),9515:P(L,0,L,L),9516:P(I,I,0,I),9517:P(L,I,0,I),9518:P(I,L,0,I),9519:P(L,L,0,I),9520:P(I,I,0,L),9521:P(L,I,0,L),9522:P(I,L,0,L),9523:P(L,L,0,L),9524:P(I,I,I,0),9525:P(L,I,I,0),9526:P(I,L,I,0),9527:P(L,L,I,0),9528:P(I,I,L,0),9529:P(L,I,L,0),9530:P(I,L,L,0),9531:P(L,L,L,0),9532:P(I,I,I,I),9533:P(L,I,I,I),9534:P(I,L,I,I),9535:P(L,L,I,I),9536:P(I,I,L,I),9537:P(I,I,I,L),9538:P(I,I,L,L),9539:P(L,I,L,I),9540:P(I,L,L,I),9541:P(L,I,I,L),9542:P(I,L,I,L),9543:P(L,L,L,I),9544:P(L,L,I,L),9545:P(L,I,L,L),9546:P(I,L,L,L),9547:P(L,L,L,L),9552:ws(!0,!0,!1,!1),9553:ws(!1,!1,!0,!0),9554:ws(!1,!0,!1,!0),9555:ws(!1,!0,!1,!0),9556:ws(!1,!0,!1,!0),9557:ws(!0,!1,!1,!0),9558:ws(!0,!1,!1,!0),9559:ws(!0,!1,!1,!0),9560:ws(!1,!0,!0,!1),9561:ws(!1,!0,!0,!1),9562:ws(!1,!0,!0,!1),9563:ws(!0,!1,!0,!1),9564:ws(!0,!1,!0,!1),9565:ws(!0,!1,!0,!1),9566:ws(!1,!0,!0,!0),9567:ws(!1,!0,!0,!0),9568:ws(!1,!0,!0,!0),9569:ws(!0,!1,!0,!0),9570:ws(!0,!1,!0,!0),9571:ws(!0,!1,!0,!0),9572:ws(!0,!0,!1,!0),9573:ws(!0,!0,!1,!0),9574:ws(!0,!0,!1,!0),9575:ws(!0,!0,!0,!1),9576:ws(!0,!0,!0,!1),9577:ws(!0,!0,!0,!1),9578:ws(!0,!0,!0,!0),9579:ws(!0,!0,!0,!0),9580:ws(!0,!0,!0,!0),9581:P(0,I,0,I),9582:P(I,0,0,I),9583:P(I,0,I,0),9584:P(0,I,I,0),9585:{width:F,draw:e=>{e.lineWidth(I),e.M(0,0),e.L(600,500),e.stroke()}},9586:{width:F,draw:e=>{e.lineWidth(I),e.M(0,500),e.L(600,0),e.stroke()}},9587:{width:F,draw:e=>{e.lineWidth(I),e.M(0,0),e.L(600,500),e.stroke(),e.M(0,500),e.L(600,0),e.stroke()}},9588:P(I,0,0,0),9589:P(0,0,I,0),9590:P(0,I,0,0),9591:P(0,0,0,I),9592:P(L,0,0,0),9593:P(0,0,L,0),9594:P(0,L,0,0),9595:P(0,0,0,L),9596:P(I,L,0,0),9597:P(0,0,I,L),9598:P(L,I,0,0),9599:P(0,0,L,I)},Rs={9600:Ts(0,250,600,250),9601:Ts(0,0,600,62),9602:Ts(0,0,600,125),9603:Ts(0,0,600,187),9604:Ts(0,0,600,250),9605:Ts(0,0,600,312),9606:Ts(0,0,600,375),9607:Ts(0,0,600,437),9608:Ts(0,0,600,500),9609:Ts(0,0,525,500),9610:Ts(0,0,450,500),9611:Ts(0,0,375,500),9612:Ts(0,0,300,500),9613:Ts(0,0,225,500),9614:Ts(0,0,150,500),9615:Ts(0,0,75,500),9616:Ts(300,0,300,500),9617:{width:F,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:F,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:F,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:Ts(0,437,600,63),9621:Ts(525,0,75,500),9622:Ts(0,0,300,250),9623:Ts(300,0,300,250),9624:Ts(0,250,300,250),9625:{width:F,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:F,draw:e=>{e.rect(0,250,300,250),e.fill(),e.rect(300,0,300,250),e.fill()}},9627:{width:F,draw:e=>{e.rect(0,0,300,250),e.fill(),e.rect(0,250,600,250),e.fill()}},9628:{width:F,draw:e=>{e.rect(300,0,300,250),e.fill(),e.rect(0,250,600,250),e.fill()}},9629:Ts(300,250,300,250),9630:{width:F,draw:e=>{e.rect(300,250,300,250),e.fill(),e.rect(0,0,300,250),e.fill()}},9631:{width:F,draw:e=>{e.rect(300,0,300,500),e.fill(),e.rect(0,0,300,250),e.fill()}}},zs={};for(let e=0;e<256;e++)zs[10240+e]=Es(e);Bs={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:F,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:F,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:F,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:F,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:F,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:F,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:F,draw:e=>{e.circle(300,450,40),e.fill(),e.lineWidth(55),e.M(300,350),e.L(300,50),e.stroke()}},8543:{width:F,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()}}},Vs={8528:Ds(`1`,`7`),8529:Ds(`1`,`9`),8530:Ds(`1`,`10`),8531:Ds(`1`,`3`),8532:Ds(`2`,`3`),8533:Ds(`1`,`5`),8534:Ds(`2`,`5`),8535:Ds(`3`,`5`),8536:Ds(`4`,`5`),8537:Ds(`1`,`6`),8538:Ds(`5`,`6`),8539:Ds(`1`,`8`),8540:Ds(`3`,`8`),8541:Ds(`5`,`8`),8542:Ds(`7`,`8`),8544:{width:F,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke()}},8545:{width:F,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:F,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:F,draw:e=>{e.lineWidth(50),e.M(180,500),e.L(300,0),e.L(420,500),e.stroke()}},8548:{width:F,draw:e=>{e.lineWidth(50),e.M(150,500),e.L(300,0),e.L(450,500),e.stroke()}}},Hs={};for(let e=0;e<20;e++)Hs[9312+e]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}};for(let e=0;e<12;e++)Hs[9332+e]={width:F,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++)Hs[9398+e]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}};for(let e=0;e<26;e++)Hs[9424+e]={width:F,draw:e=>{e.lineWidth(30),e.circle(300,250,200),e.stroke()}};Hs[9450]={width:F,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}},Us={8208:{width:F,draw:e=>{e.lineWidth(50),e.M(150,250),e.L(450,250),e.stroke()}},8209:{width:F,draw:e=>{e.lineWidth(50),e.M(150,250),e.L(450,250),e.stroke()}},8210:{width:F,draw:e=>{e.lineWidth(50),e.M(100,250),e.L(500,250),e.stroke()}},8211:{width:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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()}}},Ws={8602:{width:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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()}}},Gs={8723:{width:F,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:F,draw:e=>{e.circle(300,250,50),e.fill()}},8733:{width:F,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:F,draw:e=>{e.lineWidth(50),e.M(120,450),e.L(120,50),e.L(480,50),e.stroke()}},8739:{width:F,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke()}},8740:{width:F,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:F,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:F,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:F,draw:e=>{e.lineWidth(35),e.circle(300,250,70),e.stroke()}},8756:{width:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,draw:e=>{e.lineWidth(45),e.M(120,50),e.L(480,50),e.L(120,450),e.Z(),e.stroke()}}},Ks={9729:{width:F,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:F,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:F,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:F,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:F,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:F,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:F,draw:e=>{e.circle(300,250,230),e.fill()}},9872:{width:F,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:F,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:F,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:F,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:F,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke()}},9899:{width:F,draw:e=>{e.circle(300,250,180),e.fill()}}},qs={9985:{width:F,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:F,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:F,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:F,draw:e=>{e.lineWidth(35),e.rect(80,50,440,400),e.stroke(),e.circle(300,250,120),e.stroke()}},9992:{width:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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()}}},Js={8976:{width:F,draw:e=>{e.lineWidth(45),e.M(480,350),e.L(120,350),e.L(120,150),e.stroke()}},8981:{width:F,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.circle(300,250,50),e.fill()}},8986:{width:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,draw:e=>{e.rect(140,60,100,380),e.fill(),e.rect(360,60,100,380),e.fill()}},9209:{width:F,draw:e=>{e.rect(100,50,400,400),e.fill()}},9210:{width:F,draw:e=>{e.circle(300,250,200),e.fill()}}},Ys={8352:{width:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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:F,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()}}},Xs={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()}}},Zs={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()}}},Qs=100,$s=50,ec=400,tc=400,nc=500,rc=450,ic={9639:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.lineWidth(20);for(let t=-3;t<=3;t++){let n=t*100;e.M(Qs+n,rc),e.L(nc+n,$s),e.stroke()}}},9641:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.lineWidth(15);for(let t=-3;t<=3;t++){let n=t*100;e.M(Qs+n,rc),e.L(nc+n,$s),e.stroke(),e.M(Qs+n,$s),e.L(nc+n,rc),e.stroke()}}},9649:{width:F,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:F,draw:e=>{e.lineWidth(35),e.M(200,380),e.L(430,250),e.L(200,120),e.Z(),e.stroke()}},9658:{width:F,draw:e=>{e.M(150,420),e.L(480,250),e.L(150,80),e.Z(),e.fill()}},9659:{width:F,draw:e=>{e.lineWidth(40),e.M(150,420),e.L(480,250),e.L(150,80),e.Z(),e.stroke()}},9663:{width:F,draw:e=>{e.lineWidth(35),e.M(180,380),e.L(420,380),e.L(300,120),e.Z(),e.stroke()}},9667:{width:F,draw:e=>{e.lineWidth(35),e.M(400,380),e.L(170,250),e.L(400,120),e.Z(),e.stroke()}},9668:{width:F,draw:e=>{e.M(450,420),e.L(120,250),e.L(450,80),e.Z(),e.fill()}},9669:{width:F,draw:e=>{e.lineWidth(40),e.M(450,420),e.L(120,250),e.L(450,80),e.Z(),e.stroke()}},9698:{width:F,draw:e=>{e.M(nc,rc),e.L(nc,$s),e.L(Qs,$s),e.Z(),e.fill()}},9699:{width:F,draw:e=>{e.M(Qs,rc),e.L(Qs,$s),e.L(nc,$s),e.Z(),e.fill()}},9700:{width:F,draw:e=>{e.M(Qs,$s),e.L(Qs,rc),e.L(nc,rc),e.Z(),e.fill()}},9701:{width:F,draw:e=>{e.M(nc,$s),e.L(nc,rc),e.L(Qs,rc),e.Z(),e.fill()}},9703:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.rect(Qs,$s,ec/2,tc),e.fill()}},9704:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.rect(300,$s,ec/2,tc),e.fill()}},9705:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.M(Qs,$s),e.L(Qs,rc),e.L(nc,rc),e.Z(),e.fill()}},9706:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.M(nc,rc),e.L(nc,$s),e.L(Qs,$s),e.Z(),e.fill()}},9707:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.M(300,$s),e.L(300,rc),e.stroke()}},9708:{width:F,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:F,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:F,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:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.rect(Qs,250,ec/2,tc/2),e.fill()}},9713:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.rect(Qs,$s,ec/2,tc/2),e.fill()}},9714:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.rect(300,$s,ec/2,tc/2),e.fill()}},9715:{width:F,draw:e=>{e.lineWidth(35),e.rect(Qs,$s,ec,tc),e.stroke(),e.rect(300,250,ec/2,tc/2),e.fill()}},9716:{width:F,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:F,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:F,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:F,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:F,draw:e=>{e.lineWidth(35),e.M(Qs,rc),e.L(nc,rc),e.L(Qs,$s),e.Z(),e.stroke()}},9721:{width:F,draw:e=>{e.lineWidth(35),e.M(Qs,rc),e.L(nc,rc),e.L(nc,$s),e.Z(),e.stroke()}},9722:{width:F,draw:e=>{e.lineWidth(35),e.M(Qs,rc),e.L(Qs,$s),e.L(nc,$s),e.Z(),e.stroke()}},9723:{width:F,draw:e=>{e.lineWidth(35),e.rect(130,80,340,340),e.stroke()}},9724:{width:F,draw:e=>{e.rect(130,80,340,340),e.fill()}},9725:{width:F,draw:e=>{e.lineWidth(30),e.rect(170,120,260,260),e.stroke()}},9726:{width:F,draw:e=>{e.rect(170,120,260,260),e.fill()}},9727:{width:F,draw:e=>{e.lineWidth(35),e.M(nc,rc),e.L(nc,$s),e.L(Qs,$s),e.Z(),e.stroke()}}},ac=[[8549,6],[8550,7],[8551,8],[8552,9],[8553,10],[8554,11],[8555,12],[8556,50],[8557,100],[8558,500],[8559,1e3]],oc=[[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]],sc={};for(let[e,t]of ac)sc[e]=Ms(t);for(let[e,t]of oc)sc[e]=Ns(t);sc[8576]={width:F,draw:e=>{e.lineWidth(45),e.circle(300,250,220),e.stroke(),e.M(300,470),e.L(300,30),e.stroke()}},sc[8577]={width:F,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()}},sc[8578]={width:F,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,250,150),e.stroke()}},sc[8579]={width:F,draw:e=>{e.lineWidth(45),e.M(150,450),e.C(450,450,450,50,150,50),e.stroke()}},cc={},lc=[(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()}],uc=[(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;cc[9332+e]={width:F,draw:e=>{if(e.lineWidth(25),Is(e),e.lineWidth(24),t<=9)Ps(e,t,300,250,200);else{let n=Math.floor(t/10),r=t%10;Ps(e,n,240,250,150),Ps(e,r,380,250,150)}}}}for(let e=0;e<20;e++){let t=e+1;cc[9352+e]={width:F,draw:e=>{if(e.lineWidth(26),t<=9)Ps(e,t,260,250,210);else{let n=Math.floor(t/10),r=t%10;Ps(e,n,200,250,160),Ps(e,r,340,250,160)}e.circle(t<=9?400:460,80,28),e.fill()}}}for(let e=0;e<26;e++)cc[9372+e]={width:F,draw:t=>{t.lineWidth(25),Is(t),t.lineWidth(24),Fs(t,e,300,250,200)}};for(let e=0;e<=20;e++){let t=e+11;cc[9451+e]={width:F,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;Ps(n,e,230,250,150),Ps(n,r,370,250,150)}else if(e<=19){let t=e-9;t<=9?Ps(n,t,300,250,170):(Ps(n,1,230,250,140),Ps(n,0,370,250,140))}else Ps(n,0,300,250,170)}}}}));function fc(e,t,n,r,i,a,o=35){return{width:R,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 R,pc,mc,hc,gc,_c,vc,yc,bc=n((()=>{R=600,pc={8636:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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()}}},mc={10024:{width:R,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:fc(5,300,260,220,90,!1,40),10026:{width:R,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:fc(5,300,260,230,110,!0),10028:{width:R,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:fc(5,300,260,230,100,!0),10030:fc(5,300,260,240,105,!0),10031:fc(5,300,260,220,80,!1,30),10033:{width:R,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:R,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:R,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:fc(8,300,260,220,100,!0),10037:fc(8,300,260,220,80,!1,30),10038:fc(6,300,260,220,110,!0),10039:fc(8,300,260,220,90,!0),10040:fc(8,300,260,230,80,!0),10041:fc(12,300,260,220,130,!0),10042:fc(16,300,260,220,140,!0),10043:fc(6,300,260,220,80,!0),10044:fc(6,300,260,220,80,!1,35),10045:fc(6,300,260,230,70,!0),10046:fc(6,300,260,210,120,!1,40),10047:fc(6,300,260,210,120,!0),10048:fc(6,300,260,210,120,!1,35),10049:fc(8,300,260,210,130,!1,40),10050:{width:R,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:fc(8,300,260,220,70,!0),10052:{width:R,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:R,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:R,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:R,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:R,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:R,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:fc(8,300,260,220,60,!0),10059:fc(8,300,260,230,50,!0),10060:{width:R,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:R,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:R,draw:e=>{e.rect(80,30,440,440),e.fill()}},10067:{width:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(75),e.M(300,480),e.L(300,180),e.stroke(),e.circle(300,70,45),e.fill()}},10082:{width:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.rect(220,50,160,400),e.fill(),e.rect(100,170,400,160),e.fill()}},10134:{width:R,draw:e=>{e.rect(100,180,400,140),e.fill()}},10135:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.M(520,250),e.L(200,430),e.L(280,250),e.L(200,70),e.Z(),e.fill()}},10147:{width:R,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:R,draw:e=>{e.M(520,250),e.L(100,450),e.L(100,50),e.Z(),e.fill()}},10149:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.circle(300,250,230),e.fill()}},10163:{width:R,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:R,draw:e=>{e.M(480,50),e.L(480,220),e.L(200,400),e.L(250,50),e.Z(),e.fill()}},10165:{width:R,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:R,draw:e=>{e.M(480,450),e.L(250,450),e.L(200,100),e.L(480,280),e.Z(),e.fill()}},10167:{width:R,draw:e=>{e.M(500,50),e.L(500,240),e.L(180,420),e.L(230,50),e.Z(),e.fill()}},10168:{width:R,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:R,draw:e=>{e.M(500,450),e.L(230,450),e.L(180,80),e.L(500,260),e.Z(),e.fill()}},10170:{width:R,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:R,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:R,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:R,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:R,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()}}},hc={9730:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.circle(300,140,100),e.fill(),e.circle(300,350,70),e.fill()}},9925:{width:R,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:R,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:R,draw:e=>{e.circle(300,250,220),e.fill()}},9962:{width:R,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:R,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:R,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:R,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:R,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()}}},gc={8961:{width:R,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:R,draw:e=>{e.lineWidth(50),e.M(130,100),e.L(300,400),e.L(470,100),e.stroke()}},8964:{width:R,draw:e=>{e.lineWidth(50),e.M(130,400),e.L(300,100),e.L(470,400),e.stroke()}},8965:{width:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(50),e.M(400,450),e.L(200,450),e.L(200,50),e.stroke()}},8969:{width:R,draw:e=>{e.lineWidth(50),e.M(200,450),e.L(400,450),e.L(400,50),e.stroke()}},8970:{width:R,draw:e=>{e.lineWidth(50),e.M(200,450),e.L(200,50),e.L(400,50),e.stroke()}},8971:{width:R,draw:e=>{e.lineWidth(50),e.M(400,450),e.L(400,50),e.L(200,50),e.stroke()}},8972:{width:R,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(450,100),e.L(450,250),e.stroke()}},8973:{width:R,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(150,100),e.L(150,250),e.stroke()}},8974:{width:R,draw:e=>{e.lineWidth(45),e.M(300,400),e.L(450,400),e.L(450,250),e.stroke()}},8975:{width:R,draw:e=>{e.lineWidth(45),e.M(300,400),e.L(150,400),e.L(150,250),e.stroke()}},8977:{width:R,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:R,draw:e=>{e.lineWidth(50),e.M(80,100),e.C(80,400,520,400,520,100),e.stroke()}},8979:{width:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(50),e.M(120,350),e.L(480,350),e.L(480,150),e.stroke()}},8988:{width:R,draw:e=>{e.lineWidth(45),e.M(150,300),e.L(150,420),e.L(300,420),e.stroke()}},8989:{width:R,draw:e=>{e.lineWidth(45),e.M(300,420),e.L(450,420),e.L(450,300),e.stroke()}},8990:{width:R,draw:e=>{e.lineWidth(45),e.M(150,200),e.L(150,80),e.L(300,80),e.stroke()}},8991:{width:R,draw:e=>{e.lineWidth(45),e.M(300,80),e.L(450,80),e.L(450,200),e.stroke()}},8992:{width:R,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:R,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:R,draw:e=>{e.lineWidth(50),e.M(80,350),e.C(200,100,400,100,520,350),e.stroke()}},8995:{width:R,draw:e=>{e.lineWidth(50),e.M(80,200),e.C(200,450,400,450,520,200),e.stroke()}},8996:{width:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(200,250),e.L(400,50),e.stroke()}},9002:{width:R,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(400,250),e.L(200,50),e.stroke()}},9004:{width:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.M(300,450),e.L(300,480),e.stroke()}},9007:{width:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,400),e.stroke()}},9010:{width:R,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:R,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(100,400),e.L(500,250),e.stroke()}},9012:{width:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.rect(150,80,300,340),e.stroke()}},9016:{width:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,80),e.stroke()}},9020:{width:R,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,130),e.stroke()}},9021:{width:R,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(300,430),e.L(300,70),e.stroke()}},9022:{width:R,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.circle(300,250,70),e.stroke()}},9023:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(170,120),e.L(430,380),e.stroke()}},9034:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.circle(300,310,100),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9052:{width:R,draw:e=>{e.lineWidth(40),e.circle(300,310,130),e.stroke(),e.M(100,100),e.L(500,100),e.stroke()}},9053:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(200,80),e.L(300,420),e.L(400,80),e.stroke()}},9088:{width:R,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:R,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(520,100),e.stroke()}},9090:{width:R,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:R,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(520,100),e.stroke(),e.circle(300,200,30),e.fill()}},9092:{width:R,draw:e=>{e.lineWidth(40),e.circle(300,300,120),e.stroke(),e.M(300,180),e.L(300,420),e.stroke()}},9093:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.rect(120,50,360,400),e.stroke()}},9110:{width:R,draw:e=>{e.lineWidth(40),e.rect(120,80,360,340),e.stroke(),e.circle(300,180,35),e.fill()}},9111:{width:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.rect(100,100,400,300),e.stroke(),e.rect(180,180,240,140),e.stroke()}},9114:{width:R,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:R,draw:e=>{e.lineWidth(45),e.M(200,450),e.C(350,450,400,350,400,250),e.stroke()}},9119:{width:R,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.stroke()}},9120:{width:R,draw:e=>{e.lineWidth(45),e.M(400,250),e.C(400,150,350,50,200,50),e.stroke()}},9121:{width:R,draw:e=>{e.lineWidth(45),e.M(350,450),e.L(200,450),e.L(200,50),e.stroke()}},9122:{width:R,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,50),e.stroke()}},9123:{width:R,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,50),e.L(350,50),e.stroke()}},9124:{width:R,draw:e=>{e.lineWidth(45),e.M(250,450),e.L(400,450),e.L(400,50),e.stroke()}},9125:{width:R,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.stroke()}},9126:{width:R,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.L(250,50),e.stroke()}},9127:{width:R,draw:e=>{e.lineWidth(45),e.M(350,450),e.C(250,450,250,350,250,250),e.stroke()}},9128:{width:R,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:R,draw:e=>{e.lineWidth(45),e.M(250,250),e.C(250,150,250,50,350,50),e.stroke()}},9130:{width:R,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke()}},9131:{width:R,draw:e=>{e.lineWidth(45),e.M(250,450),e.C(350,450,350,350,350,250),e.stroke()}},9132:{width:R,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:R,draw:e=>{e.lineWidth(45),e.M(350,250),e.C(350,150,350,50,250,50),e.stroke()}},9134:{width:R,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke()}},9136:{width:R,draw:e=>{e.lineWidth(45),e.M(350,50),e.C(250,50,250,250,250,450),e.stroke()}},9137:{width:R,draw:e=>{e.lineWidth(45),e.M(250,50),e.C(350,50,350,250,350,450),e.stroke()}},9138:{width:R,draw:e=>{e.lineWidth(45),e.M(480,450),e.L(120,450),e.L(300,250),e.stroke()}},9139:{width:R,draw:e=>{e.lineWidth(45),e.M(300,250),e.L(120,50),e.L(480,50),e.stroke()}},9140:{width:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(30),e.M(0,450),e.L(600,450),e.stroke()}},9147:{width:R,draw:e=>{e.lineWidth(30),e.M(0,350),e.L(600,350),e.stroke()}},9148:{width:R,draw:e=>{e.lineWidth(30),e.M(0,150),e.L(600,150),e.stroke()}},9149:{width:R,draw:e=>{e.lineWidth(30),e.M(0,50),e.L(600,50),e.stroke()}},9150:{width:R,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,250),e.L(500,250),e.stroke()}},9151:{width:R,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,250),e.L(500,250),e.stroke()}},9152:{width:R,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,50),e.stroke(),e.circle(300,250,60),e.stroke()}},9153:{width:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(150,100),e.L(450,100),e.stroke()}},9168:{width:R,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(300,20),e.stroke()}},9178:{width:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(80,150),e.C(80,400,520,400,520,150),e.stroke()}},9181:{width:R,draw:e=>{e.lineWidth(45),e.M(80,350),e.C(80,100,520,100,520,350),e.stroke()}},9182:{width:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.M(80,150),e.C(150,380,450,380,520,150),e.stroke()}},9185:{width:R,draw:e=>{e.lineWidth(40),e.M(80,350),e.C(150,120,450,120,520,350),e.stroke()}},9186:{width:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke()}},9189:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.M(450,450),e.L(150,250),e.L(450,50),e.Z(),e.fill()}},9205:{width:R,draw:e=>{e.M(150,450),e.L(450,250),e.L(150,50),e.Z(),e.fill()}},9206:{width:R,draw:e=>{e.M(100,100),e.L(500,100),e.L(300,420),e.Z(),e.fill()}},9207:{width:R,draw:e=>{e.M(100,400),e.L(500,400),e.L(300,80),e.Z(),e.fill()}},9211:{width:R,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:R,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(300,350),e.L(300,150),e.stroke()}},9213:{width:R,draw:e=>{e.lineWidth(50),e.M(300,420),e.L(300,80),e.stroke()}},9214:{width:R,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:R,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()}}},_c={10496:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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()}}},vc={10176:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(120,80),e.L(480,420),e.stroke()}},10188:{width:R,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:R,draw:e=>{e.lineWidth(45),e.M(120,420),e.L(480,80),e.stroke()}},10190:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(150,250),e.L(400,250),e.stroke(),e.circle(450,250,50),e.stroke()}},10205:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(45),e.M(370,470),e.C(230,380,230,120,370,30),e.stroke()}},10223:{width:R,draw:e=>{e.lineWidth(45),e.M(230,470),e.C(370,380,370,120,230,30),e.stroke()}}},yc={11008:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(100,250,400,200),e.fill()}},11027:{width:R,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(100,50,400,200),e.fill()}},11028:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.rect(240,190,120,120),e.fill()}},11038:{width:R,draw:e=>{e.lineWidth(30),e.rect(240,190,120,120),e.stroke()}},11039:{width:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.circle(300,250,230),e.fill()}},11045:{width:R,draw:e=>{e.M(300,470),e.L(480,250),e.L(300,30),e.L(120,250),e.Z(),e.fill()}},11046:{width:R,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:R,draw:e=>{e.M(300,490),e.L(460,250),e.L(300,10),e.L(140,250),e.Z(),e.fill()}},11048:{width:R,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:R,draw:e=>{e.M(300,380),e.L(400,250),e.L(300,120),e.L(200,250),e.Z(),e.fill()}},11050:{width:R,draw:e=>{e.M(300,400),e.L(380,250),e.L(300,100),e.L(220,250),e.Z(),e.fill()}},11051:{width:R,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:R,draw:e=>{e.ellipse(300,250,220,120),e.fill()}},11053:{width:R,draw:e=>{e.lineWidth(40),e.ellipse(300,250,220,120),e.stroke()}},11054:{width:R,draw:e=>{e.ellipse(300,250,120,220),e.fill()}},11055:{width:R,draw:e=>{e.lineWidth(40),e.ellipse(300,250,120,220),e.stroke()}},11056:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.lineWidth(60),e.circle(300,250,210),e.stroke()}},11094:{width:R,draw:e=>{e.circle(300,250,40),e.fill()}},11095:{width:R,draw:e=>{e.lineWidth(50),e.circle(300,250,180),e.stroke()}},11096:{width:R,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke()}},11097:{width:R,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.circle(300,250,100),e.stroke()}},11104:{width:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,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:R,draw:e=>{e.circle(300,250,220),e.fill()}},11146:{width:R,draw:e=>{e.circle(300,250,220),e.fill()}},11148:{width:R,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:R,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:R,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:R,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:R,draw:e=>{e.M(300,450),e.L(150,100),e.L(450,100),e.Z(),e.fill()}},11166:{width:R,draw:e=>{e.M(150,450),e.L(500,250),e.L(150,50),e.Z(),e.fill()}},11167:{width:R,draw:e=>{e.M(150,400),e.L(450,400),e.L(300,50),e.Z(),e.fill()}},11168:{width:R,draw:e=>{e.M(450,450),e.L(100,250),e.L(450,50),e.Z(),e.fill()}},11169:{width:R,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(150,100),e.L(450,100),e.Z(),e.stroke()}},11170:{width:R,draw:e=>{e.lineWidth(40),e.M(150,450),e.L(500,250),e.L(150,50),e.Z(),e.stroke()}},11171:{width:R,draw:e=>{e.lineWidth(40),e.M(150,400),e.L(450,400),e.L(300,50),e.Z(),e.stroke()}},11172:{width:R,draw:e=>{e.lineWidth(40),e.M(450,450),e.L(100,250),e.L(450,50),e.Z(),e.stroke()}}}}));function xc(e,t,n,r,i,a){return{width:z,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 Sc(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:z,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 Cc(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:z,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 wc(e,t){return{width:z,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 Tc(e,t){return{width:z,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 Ec(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:z,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 Dc(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:z,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 Oc(e){return{width:z,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 kc(e,t,n){return{width:z,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 Ac(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:z,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 jc(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:z,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 Mc(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:z,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 Nc(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:z,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 Pc(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:z,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 Fc(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:z,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 Ic(e,t,n){let r=Math.sqrt(e*e+t*t),i=e/r,a=t/r,o=-a,s=i;return{width:z,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 Lc(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:z,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 Rc(e,t){return{width:z,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 zc(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 Bc(e,t,n){e.M(t,480),e.L(t,200),e.stroke(),e.circle(t,130,28),e.fill()}var z,Vc,B,V,Hc,Uc,H,Wc,Gc,Kc=n((()=>{z=600,Vc={9690:{width:z,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:z,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:z,draw:e=>{e.lineWidth(35),e.circle(260,250,180),e.stroke(),e.circle(470,250,50),e.stroke()}},10691:{width:z,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:z,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:z,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:z,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:z,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:z,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:z,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:z,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:z,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:z,draw:e=>{e.lineWidth(45),e.M(150,480),e.L(300,20),e.L(450,480),e.stroke()}},8506:{width:z,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:z,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:z,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke()}},9143:{width:z,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:z,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])Vc[e]={width:z,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()}};Vc[10063]={width:z,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()}},Vc[10064]={width:z,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()}},Vc[10065]={width:z,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()}},Vc[10066]={width:z,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()}},Vc[10072]={width:250,draw:e=>{e.lineWidth(35),e.M(125,0),e.L(125,500),e.stroke()}},Vc[10073]={width:300,draw:e=>{e.lineWidth(55),e.M(150,0),e.L(150,500),e.stroke()}},Vc[10074]={width:350,draw:e=>{e.lineWidth(80),e.M(175,0),e.L(175,500),e.stroke()}},Vc[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()}},Vc[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()}},Vc[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()}},Vc[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()}},Vc[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()}},Vc[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()}},Vc[10081]={width:z,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?(Vc[e]={width:350,draw:e=>{e.lineWidth(i),e.M(280,480),e.L(100,250),e.L(280,20),e.stroke()}},Vc[t]={width:350,draw:e=>{e.lineWidth(i),e.M(70,480),e.L(250,250),e.L(70,20),e.stroke()}}):(Vc[e]={width:350,draw:e=>{e.lineWidth(i),e.M(260,480),e.C(100,400,100,100,260,20),e.stroke()}},Vc[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;Vc[10112+t]={width:z,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;Vc[10122+t]={width:z,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))}}}}Vc[10160]={width:z,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()}},Vc[10175]={width:z,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()}},B={10025:xc(4,300,250,220,80,!1),10026:{width:z,draw:e=>{e.lineWidth(30),e.circle(300,250,230),e.stroke(),xc(5,300,250,180,70,!0).draw(e)}},10027:xc(4,300,250,220,100,!0),10028:xc(4,300,250,220,100,!1),10029:xc(5,300,250,220,100,!1),10030:xc(6,300,250,220,130,!1),10031:xc(6,300,250,220,100,!1),10033:Tc(6,45),10034:Tc(4,30),10035:Tc(8,25),10036:xc(8,300,250,200,100,!0),10037:xc(8,300,250,200,80,!0),10038:xc(6,300,250,220,110,!0),10039:xc(6,300,250,220,110,!1),10040:xc(8,300,250,220,90,!0),10041:Tc(12,40),10042:Tc(6,35),10043:Tc(8,20),10044:Tc(8,15),10045:Tc(4,50),10046:xc(6,300,250,200,140,!1),10047:xc(8,300,250,200,140,!0),10048:xc(8,300,250,200,140,!1),10049:xc(8,300,250,210,160,!1),10050:xc(16,300,250,220,160,!1),10051:Tc(6,50),10052:xc(6,300,250,220,120,!1),10053:xc(6,300,250,200,100,!1),10054:xc(4,300,250,220,60,!1),10055:xc(4,300,250,200,50,!0),10056:xc(4,300,250,220,50,!0),10057:xc(4,300,250,180,80,!0),10058:xc(8,300,250,200,130,!0),10059:xc(8,300,250,220,100,!0),9984:{width:z,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:z,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:z,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:z,draw:e=>{e.lineWidth(70),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},9994:{width:z,draw:e=>{e.circle(300,250,200),e.fill()}},9995:{width:z,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:z,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:z,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:z,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:z,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:z,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:z,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:z,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:xc(6,300,250,230,115,!1),10018:xc(4,300,250,220,60,!0),10019:xc(4,300,250,220,80,!1),10020:xc(4,300,250,200,100,!0),10021:xc(4,300,250,220,40,!0),10060:{width:z,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:z,draw:e=>{e.lineWidth(50),e.circle(300,250,210),e.stroke()}},10062:{width:z,draw:e=>{e.rect(80,30,440,440),e.fill()}},10067:{width:z,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:z,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:z,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:xc(4,300,250,230,50,!0),10071:{width:z,draw:e=>{e.lineWidth(60),e.M(300,480),e.L(300,150),e.stroke(),e.circle(300,60,38),e.fill()}},10082:{width:z,draw:e=>{e.lineWidth(55),e.M(300,480),e.L(300,150),e.stroke(),e.circle(300,60,35),e.fill()}},10083:{width:z,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:z,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:z,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:z,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:z,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:z,draw:e=>{e.rect(240,50,120,400),e.fill(),e.rect(100,190,400,120),e.fill()}},10134:{width:z,draw:e=>{e.rect(100,200,400,100),e.fill()}},10135:{width:z,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()}}},B[10136]||(B[10136]=Sc(1,-1)),B[10137]||(B[10137]=Ec(1,0,100,180,40)),B[10138]||(B[10138]=Ec(1,0,130,200,55)),B[10139]||(B[10139]=Ec(1,0,140,220,30)),B[10140]||(B[10140]=Ec(1,0,110,160,50)),B[10141]||(B[10141]=Ec(1,0,90,180,60)),B[10142]||(B[10142]=Ec(1,0,120,240,65)),B[10143]||(B[10143]=Ec(1,0,80,150,70)),B[10144]||(B[10144]=Ec(1,0,150,200,35)),B[10146]||(B[10146]=Dc(1,0,15)),B[10147]||(B[10147]=Dc(1,0,25)),B[10148]||(B[10148]=Dc(1,0,10)),B[10149]||(B[10149]=Oc(1)),B[10150]||(B[10150]=Oc(-1)),B[10151]||(B[10151]=kc(100,40,30)),B[10152]||(B[10152]=Ec(1,0,160,260,45)),B[10153]||(B[10153]=kc(120,50,35)),B[10154]||(B[10154]=Ec(1,0,100,140,55)),B[10155]||(B[10155]=Dc(1,0,20)),B[10156]||(B[10156]=Dc(1,0,30)),B[10157]||(B[10157]=kc(90,35,28)),B[10158]||(B[10158]=Ec(1,0,130,180,60)),B[10159]||(B[10159]={width:z,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()}}),B[10161]||(B[10161]=Ec(1,0,95,170,35)),B[10162]||(B[10162]=Ec(1,0,145,230,50)),B[10163]||(B[10163]=kc(80,30,25)),B[10164]||(B[10164]=Ec(1,0,110,190,25)),B[10165]||(B[10165]=Ec(1,0,135,210,40)),B[10166]||(B[10166]=kc(110,45,32)),B[10167]||(B[10167]=Ec(1,0,120,200,70)),B[10168]||(B[10168]=Ec(1,0,140,250,20)),B[10169]||(B[10169]=kc(130,55,38)),B[10170]||(B[10170]=Ec(1,0,105,170,45)),B[10171]||(B[10171]=kc(100,40,40)),B[10172]||(B[10172]=Ec(1,0,90,160,55)),B[10173]||(B[10173]=Ec(1,0,150,240,30)),B[10174]||(B[10174]=kc(115,48,30)),V={9730:{width:z,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:z,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:z,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:z,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:z,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:z,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()}}},Hc=[[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 Hc)V[e]={width:z,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]])V[e]=wc(t,n);V[9825]={width:z,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()}},V[9826]={width:z,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()}},V[9828]={width:z,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()}},V[9831]={width:z,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++)V[9855+e]=Cc(e);V[9851]={width:z,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()}},V[9855]={width:z,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()}},V[9735]={width:z,draw:e=>{e.lineWidth(45),e.M(350,480),e.L(220,310),e.L(370,280),e.L(250,60),e.stroke()}},V[9736]={width:z,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()}},V[9737]={width:z,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()}},V[9738]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,140),e.stroke(),e.M(140,370),e.L(460,130),e.stroke()}},V[9739]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,140),e.stroke(),e.M(140,130),e.L(460,370),e.stroke()}},V[9740]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,130),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},V[9741]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,130),e.stroke(),e.M(300,70),e.L(300,430),e.stroke()}},V[9743]={width:z,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()}},V[9750]={width:z,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()}},V[9751]={width:z,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()}},V[9753]={width:z,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()}},V[9754]={width:z,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()}},V[9755]={width:z,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()}},V[9756]={width:z,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()}},V[9757]={width:z,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()}},V[9758]={width:z,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()}},V[9759]={width:z,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()}},V[9760]={width:z,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()}},V[9761]={width:z,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()}},V[9762]={width:z,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()}}},V[9763]={width:z,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()}}},V[9764]={width:z,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()}},V[9765]={width:z,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()}},V[9766]={width:z,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()}},V[9767]={width:z,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()}},V[9768]={width:z,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()}},V[9769]={width:z,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()}},V[9770]={width:z,draw:e=>{e.lineWidth(30),e.circle(280,250,170),e.stroke(),e.M(370,250),e.circle(350,250,140),e.stroke(),xc(5,440,380,50,20,!0).draw(e)}},V[9771]={width:z,draw:e=>{e.lineWidth(35),e.rect(120,70,360,360),e.stroke(),e.circle(300,250,40),e.fill()}},V[9772]={width:z,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()}},V[9773]={width:z,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]])V[e]={width:z,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())}};V[9788]={width:z,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()}},V[9789]={width:z,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()}},V[9790]={width:z,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()}},V[9791]={width:z,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()}},V[9793]={width:z,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()}},V[9795]={width:z,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()}},V[9796]={width:z,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()}},V[9797]={width:z,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()}},V[9798]={width:z,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()}},V[9799]={width:z,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()}},V[9832]={width:z,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()}},V[9835]={width:z,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()}},V[9836]={width:z,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()}},V[9838]={width:z,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()}},V[9840]={width:z,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()}},V[9841]={width:z,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;V[t]={width:z,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())}}}V[9852]={width:z,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()}},V[9853]={width:z,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()}},V[9854]={width:z,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()}},V[9862]={width:z,draw:e=>{e.lineWidth(50),e.M(120,250),e.L(480,250),e.stroke()}},V[9863]={width:z,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()}},V[9864]={width:z,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()}},V[9865]={width:z,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]])V[e]={width:z,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())}};V[9880]={width:z,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()}}},V[9882]={width:z,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()}},V[9885]=xc(5,300,250,200,80,!1),V[9886]={width:z,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()}},V[9887]={width:z,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()}},V[9890]={width:z,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()}},V[9891]={width:z,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()}},V[9892]={width:z,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()}},V[9894]={width:z,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()}},V[9896]={width:z,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()}},V[9897]={width:z,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()}},V[9900]={width:z,draw:e=>{e.lineWidth(30),e.circle(300,250,120),e.stroke()}},V[9901]={width:z,draw:e=>{e.lineWidth(30),e.circle(230,250,110),e.stroke(),e.circle(370,250,110),e.stroke()}},V[9902]={width:z,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()}},V[9903]={width:z,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()}},V[9905]={width:z,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()}},V[9906]={width:z,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()}},V[9907]={width:z,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()}},V[9908]={width:z,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()}},V[9909]={width:z,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(),xc(5,300,370,80,32,!1).draw(e)}},V[9910]={width:z,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()}},V[9911]={width:z,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()}},V[9912]={width:z,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()}},V[9913]={width:z,draw:e=>{e.lineWidth(28),xc(6,300,250,180,100,!1).draw(e)}},V[9914]={width:z,draw:e=>{e.lineWidth(35),e.M(150,400),e.L(300,150),e.L(450,400),e.stroke()}},V[9915]={width:z,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()}},V[9916]={width:z,draw:e=>{e.lineWidth(30),e.rect(130,80,340,340),e.stroke(),e.M(130,80),e.L(470,420),e.stroke()}},V[9919]={width:z,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()}},V[9920]={width:z,draw:e=>{e.lineWidth(30),e.circle(300,250,160),e.stroke(),e.circle(300,250,80),e.stroke()}},V[9921]={width:z,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()}},V[9922]={width:z,draw:e=>{e.circle(300,250,160),e.fill()}},V[9923]={width:z,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()}},V[9926]={width:z,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()}},V[9927]={width:z,draw:e=>{e.circle(300,130,70),e.fill(),e.circle(300,290,95),e.fill(),e.circle(300,430,60),e.fill()}},V[9928]={width:z,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()}},V[9929]={width:z,draw:e=>{e.lineWidth(30),e.M(200,420),e.L(300,100),e.L(400,420),e.Z(),e.stroke()}},V[9930]={width:z,draw:e=>{e.M(200,420),e.L(300,100),e.L(400,420),e.Z(),e.fill()}},V[9931]={width:z,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()}},V[9932]={width:z,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()}},V[9933]={width:z,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()}},V[9935]={width:z,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()}},V[9936]={width:z,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()}},V[9937]={width:z,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()}},V[9938]={width:z,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()}},V[9939]={width:z,draw:e=>{e.lineWidth(30),e.ellipse(230,250,100,140),e.stroke(),e.ellipse(370,250,100,140),e.stroke()}},V[9941]={width:z,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()}},V[9942]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,180),e.stroke(),e.M(140,250),e.L(460,250),e.stroke()}},V[9943]={width:z,draw:e=>{e.lineWidth(28),e.rect(120,80,360,340),e.stroke(),e.circle(300,250,50),e.fill()}},V[9944]={width:z,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()}},V[9945]={width:z,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()}},V[9946]={width:z,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()}},V[9947]={width:z,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(480,400),e.L(300,100),e.Z(),e.stroke()}},V[9948]={width:z,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()}},V[9949]={width:z,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()}},V[9950]={width:z,draw:e=>{e.rect(80,40,440,420),e.fill()}},V[9951]={width:z,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()}},V[9952]={width:z,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()}},V[9953]={width:z,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()}},V[9954]={width:z,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()}},V[9955]={width:z,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()}},V[9956]={width:z,draw:e=>{e.lineWidth(28),e.circle(300,250,180),e.stroke(),xc(5,300,250,170,65,!1).draw(e)}},V[9957]={width:z,draw:e=>{e.lineWidth(30),xc(5,300,250,190,75,!1).draw(e)}},V[9958]={width:z,draw:e=>{e.lineWidth(30),xc(5,300,250,190,75,!0).draw(e)}},V[9959]={width:z,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()}},V[9960]={width:z,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()}},V[9961]={width:z,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()}},V[9963]={width:z,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()}},V[9964]={width:z,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()}},V[9965]={width:z,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()}},V[9966]={width:z,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()}},V[9967]={width:z,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()}},V[9968]={width:z,draw:e=>{e.lineWidth(35),e.M(80,100),e.L(250,400),e.L(350,280),e.L(520,100),e.stroke()}},V[9969]={width:z,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()}},V[9972]={width:z,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()}},V[9974]={width:z,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()}},V[9975]={width:z,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()}},V[9976]={width:z,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()}},V[9977]={width:z,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()}},V[9979]={width:z,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()}},V[9980]={width:z,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()}},V[9981]={width:z,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()}},V[9982]={width:z,draw:e=>{e.rect(80,50,440,400),e.fill()}},V[9983]={width:z,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(!V[e]){let t=(e-9728)%7;V[e]={width:z,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()}}}}Uc={};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?Uc[e]={width:z,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())}}:Uc[e]=Sc(t,n);for(let e=11026;e<=11039;e++){let t=e<=11033;Uc[e]={width:z,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++)Uc[e]||(e&1?Uc[e]={width:z,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()}}:Uc[e]=Sc(1,0));H={};for(let e=10224;e<=10239;e++)if(!H[e]){let t=e<=10228;H[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())}}}H[10516]=Ac(1,0),H[10517]=Lc(1,0),H[10519]=jc(1,0),H[10520]=(()=>{let e=jc(1,0);return{width:z,draw:t=>{e.draw(t),t.lineWidth(35),t.M(300,150),t.L(300,350),t.stroke()}}})(),H[10521]=Ic(-1,0,35),H[10522]=Ic(1,0,35),H[10523]=jc(-1,0),H[10524]=jc(1,0),H[10539]=Nc(1,1,1,-1),H[10540]=Nc(1,-1,-1,-1),H[10541]=Nc(1,-1,1,1),H[10542]=Nc(1,1,1,-1),H[10543]={width:z,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()}},H[10544]={width:z,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()}},H[10545]=Nc(1,1,-1,1),H[10546]=Nc(-1,1,1,1),H[10547]={width:z,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()}},H[10556]=Pc(-1,0),H[10557]=Pc(0,-1),H[10558]=Mc(1,0),H[10559]={width:z,draw:e=>{Pc(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()}},H[10566]=Nc(-1,0,1,0),H[10567]=Mc(1,0),H[10569]=Ac(0,-1),H[10578]=Lc(0,1),H[10579]=Lc(0,-1),H[10580]=Lc(1,0),H[10581]=Lc(-1,0),H[10582]=Ac(0,1),H[10583]=Ac(0,-1),H[10584]=Ac(1,0),H[10585]=Ac(-1,0),H[10586]=Ic(0,1,30),H[10587]=Ic(0,-1,30),H[10588]=Ic(1,0,30),H[10589]=Ic(-1,0,30),H[10590]=Ic(0,1,40),H[10591]=Ic(0,-1,40),H[10592]=Ic(1,0,40),H[10593]=Ic(-1,0,40),H[10595]=Nc(0,1,0,1),H[10597]=Nc(0,-1,0,-1),H[10598]=Nc(-1,0,-1,0),H[10599]=Nc(1,0,1,0),H[10600]=Nc(-1,0,1,0),H[10601]=Nc(1,0,-1,0),H[10609]=Fc(1,0),H[10610]=Fc(1,0),H[10611]=Fc(-1,0),Wc={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:z,draw:e=>{e.lineWidth(30),e.M(120,380),e.C(200,450,400,450,480,380),e.stroke()}},8257:{width:z,draw:e=>{e.lineWidth(30),e.M(120,420),e.C(200,350,400,350,480,420),e.stroke()}},8258:Rc(3,50),8263:{width:z,draw:e=>{e.lineWidth(35),zc(e,200,250),zc(e,400,250)}},8264:{width:z,draw:e=>{e.lineWidth(35),zc(e,200,250),Bc(e,400,250)}},8265:{width:z,draw:e=>{e.lineWidth(35),Bc(e,200,250),zc(e,400,250)}},8273:{width:z,draw:e=>{Rc(6,35).draw(e),e.M(300,50),e.L(300,50)}},8274:{width:z,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:z,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++)Wc[e]||(Wc[e]={width:0,draw:()=>{}});Gc={};for(let e=8528;e<=8591;e++)if(!Gc[e]){let t=(e-8528)%4+1;Gc[e]={width:z,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 qc(e){return k(e,O(e.w,...fo(e.w*.5-.09,.29)),O(e.w,...j(e.w*.5-.03,.17)))}var Jc,Yc,Xc,Zc,Qc,$c,el,tl,nl,rl,il,al,ol,sl,cl,ll,ul,dl,fl,pl,ml,hl,gl,_l,vl,yl,bl,xl,Sl,Cl,wl,Tl,El,Dl,Ol,kl,Al,jl,Ml,Nl=n((()=>{Wo(),Jc=O(.46,[[.1,.75],[.1,.15],[.42,.15]]),Yc=O(.56,[[.04,.75],[.28,.15],[.52,.75],[.04,.75]]),Xc=k(D(`O`),O(.55,[[.17,.45],[.38,.45]])),Zc=O(.56,[[.04,.75],[.28,.15],[.52,.75]]),Qc=O(.52,[[.1,.15],[.42,.15]],[[.14,.45],[.38,.45]],[[.1,.75],[.42,.75]]),$c=O(.56,[[.1,.75],[.1,.15],[.46,.15],[.46,.75]]),el=O(.5,[[.42,.15],[.1,.15],[.3,.45],[.1,.75],[.42,.75]]),tl=k(O(.58,[[.29,.15],[.29,.75]]),O(.58,uo(.29,.45,.21,.19))),nl=k(O(.58,[[.29,.15],[.29,.75]]),O(.58,[[.08,.15],[.08,.38],[.16,.48],[.29,.52],[.42,.48],[.5,.38],[.5,.15]])),rl=O(.58,[[.06,.75],[.2,.75],[.14,.62],[.1,.46],[.14,.28],[.29,.18],[.44,.28],[.48,.46],[.44,.62],[.38,.75],[.52,.75]]),il=k(O(.48,uo(.24,.565,.14,.185)),O(.48,[[.38,.4],[.38,.7],[.44,.75]])),al=k(O(.48,[[.12,.95],[.12,.28],[.24,.2],[.36,.26],[.36,.4],[.24,.47],[.12,.47]]),O(.48,[[.12,.47],[.28,.47],[.4,.55],[.4,.67],[.28,.75],[.12,.75]])),ol=O(.46,[[.06,.38],[.25,.72]],[[.46,.38],[.14,.95]]),sl=k(O(.46,uo(.25,.62,.15,.13)),O(.46,[[.4,.4],[.28,.38],[.18,.42],[.26,.49]])),cl=O(.42,[[.38,.42],[.26,.38],[.14,.44],[.22,.55],[.32,.55]],[[.22,.55],[.13,.64],[.24,.75],[.38,.71]]),ll=k(O(.42,[[.12,.3],[.38,.3]]),O(.42,[[.34,.3],[.2,.5],[.32,.62],[.24,.86],[.12,.93]])),ul=O(.46,[[.1,.75],[.1,.38],[.24,.38],[.36,.44],[.38,.55],[.38,.95]]),dl=k(O(.46,uo(.24,.45,.15,.3)),O(.46,[[.09,.45],[.39,.45]])),fl=O(.24,[[.12,.38],[.12,.68],[.2,.75]]),pl=O(.44,[[.1,.38],[.1,.75]],[[.4,.38],[.12,.58]],[[.18,.54],[.42,.75]]),ml=O(.46,[[.08,.15],[.36,.75]],[[.3,.46],[.06,.75]]),hl=k(O(.48,[[.1,.38],[.1,.95]]),O(.48,[[.1,.64],[.18,.74],[.3,.74],[.38,.64],[.38,.38]])),gl=O(.44,[[.06,.38],[.14,.64],[.22,.75],[.32,.6],[.4,.4]]),_l=k(O(.42,[[.12,.28],[.38,.28]]),O(.42,[[.34,.28],[.2,.44],[.33,.53],[.19,.64],[.32,.76],[.22,.9],[.11,.93]])),vl=k(O(.5,[[.06,.4],[.46,.4]]),O(.5,[[.16,.4],[.14,.75]],[[.34,.4],[.36,.75]])),yl=k(O(.46,[[.12,.95],[.12,.5]]),O(.46,uo(.26,.575,.14,.175))),bl=O(.42,[[.38,.42],[.26,.38],[.15,.45],[.14,.6],[.26,.71],[.33,.85],[.24,.94]]),xl=k(O(.48,uo(.24,.565,.14,.185)),O(.48,[[.28,.38],[.46,.38]])),Sl=k(O(.42,[[.06,.4],[.4,.4]]),O(.42,[[.24,.4],[.24,.68],[.32,.75]])),Cl=O(.46,[[.1,.38],[.1,.62],[.2,.74],[.32,.74],[.4,.62],[.4,.38]]),wl=k(O(.52,[[.26,.3],[.26,.95]]),O(.52,uo(.26,.565,.18,.175))),Tl=O(.46,[[.06,.38],[.4,.95]],[[.4,.38],[.06,.95]]),El=k(O(.52,[[.26,.3],[.26,.95]]),O(.52,[[.08,.38],[.08,.62],[.16,.72],[.26,.75],[.36,.72],[.44,.62],[.44,.38]])),Dl=O(.56,[[.06,.38],[.06,.66],[.14,.75],[.22,.72],[.26,.6],[.3,.72],[.38,.75],[.46,.66],[.46,.38]]),Ol=O(.3,...j(.1,.26)),kl=k(O(.35,...fo(.06,.24)),O(.35,...j(.1,.1))),Al=O(.26,[[.13,.55],[.14,.55]]),jl={900:Ol,901:kl,902:Co(D(`A`),j),903:Al,904:Co(D(`E`),j),905:Co(D(`H`),j),906:Co(D(`I`),j),908:Co(D(`O`),j),910:Co(D(`Y`),j),911:Co(rl,j),912:qc(fl),913:D(`A`),914:D(`B`),915:Jc,916:Yc,917:D(`E`),918:D(`Z`),919:D(`H`),920:Xc,921:D(`I`),922:D(`K`),923:Zc,924:D(`M`),925:D(`N`),926:Qc,927:D(`O`),928:$c,929:D(`P`),931:el,932:D(`T`),933:D(`Y`),934:tl,935:D(`X`),936:nl,937:rl,938:Co(D(`I`),fo),939:Co(D(`Y`),fo),940:wo(il,j),941:wo(cl,j),942:wo(ul,j),943:wo(fl,j),944:qc(Cl),945:il,946:al,947:ol,948:sl,949:cl,950:ll,951:ul,952:dl,953:fl,954:pl,955:ml,956:hl,957:gl,958:_l,959:D(`o`),960:vl,961:yl,962:bl,963:xl,964:Sl,965:Cl,966:wl,967:Tl,968:El,969:Dl,970:wo(fl,fo),971:wo(Cl,fo),972:wo(D(`o`),j),973:wo(Cl,j),974:wo(Dl,j)},Ml=Object.fromEntries(Object.entries(jl).map(([e,t])=>[Number(e),ro(t)])),Object.keys(jl).map(Number)}));function Pl(e,t){return[[[e+.02,t-.09],[e+.07,t-.1],[e+.09,t-.06],[e+.05,t-.02],[e+.02,t]]]}function Fl(e,t){return[[[e+.08,t-.09],[e+.03,t-.1],[e+.01,t-.06],[e+.05,t-.02],[e+.08,t]]]}function Il(e,t){return[[[e,t-.02],[e+.04,t-.07],[e+.1,t-.02],[e+.14,t-.07]]]}function Ll(e,t){return[[[e+.06,t],[e+.06,t+.11]]]}function Rl(e,t){return[[[e,t-.07],[e+.04,t-.02],[e+.08,t],[e+.12,t-.02],[e+.16,t-.07]]]}function zl(e){return e>=902&&e<=939}function U(e,t,n,r){let i=jl[e];if(i===void 0)throw Error(`polytonic Greek: no base shape for U+${e.toString(16)}`);let a=zl(e)?Lo:Ro,o=i.w*.5-.03,s=[i],c=t??n;if(c!==null&&s.push(O(i.w,...c(o,a-Hl))),t!==null&&n!==null){let e=a-Hl-Vl.get(t)-Ul;s.push(O(i.w,...n(o,e)))}return r&&s.push(O(i.w,...Ll(o,zo+.02))),k(...s)}function Bl(e,t,n,r,i=!1){let a=[null,M,j,Il],o={};for(let s=0;s<r;s++){let r=s%2==0?Pl:Fl,c=a[Math.floor(s/2)];o[e+s]=U(t,r,c,i),o[e+8+s]=U(n,r,c,i)}return o}var Vl,Hl,Ul,Wl,Gl,Kl,ql,Jl,Yl,Xl,Zl,Ql,$l,eu,tu,nu,ru,iu,au,ou,su,cu=n((()=>{Nl(),Wo(),Vl=/* @__PURE__ */ new Map([[Pl,.1],[Fl,.1],[j,.1],[M,.1],[Il,.07]]),Hl=.1,Ul=.09,Wl=945,Gl=913,Kl=949,ql=917,Jl=951,Yl=919,Xl=953,Zl=921,Ql=959,$l=927,eu=965,tu=933,nu=969,ru=937,iu=961,au=929,ou={...Bl(7936,Wl,Gl,8),...Bl(7952,Kl,ql,6),...Bl(7968,Jl,Yl,8),...Bl(7984,Xl,Zl,8),...Bl(8e3,Ql,$l,6),...Bl(8032,nu,ru,8),8016:U(eu,Pl,null,!1),8017:U(eu,Fl,null,!1),8018:U(eu,Pl,M,!1),8019:U(eu,Fl,M,!1),8020:U(eu,Pl,j,!1),8021:U(eu,Fl,j,!1),8022:U(eu,Pl,Il,!1),8023:U(eu,Fl,Il,!1),8025:U(tu,Fl,null,!1),8027:U(tu,Fl,M,!1),8029:U(tu,Fl,j,!1),8031:U(tu,Fl,Il,!1),8048:U(Wl,null,M,!1),8049:U(Wl,null,j,!1),8050:U(Kl,null,M,!1),8051:U(Kl,null,j,!1),8052:U(Jl,null,M,!1),8053:U(Jl,null,j,!1),8054:U(Xl,null,M,!1),8055:U(Xl,null,j,!1),8056:U(Ql,null,M,!1),8057:U(Ql,null,j,!1),8058:U(eu,null,M,!1),8059:U(eu,null,j,!1),8060:U(nu,null,M,!1),8061:U(nu,null,j,!1),...Bl(8064,Wl,Gl,8,!0),...Bl(8080,Jl,Yl,8,!0),...Bl(8096,nu,ru,8,!0),8112:U(Wl,null,null,!1),8113:U(Wl,null,go,!1),8114:U(Wl,null,M,!0),8115:U(Wl,null,null,!0),8116:U(Wl,null,j,!0),8118:U(Wl,null,Il,!1),8119:U(Wl,null,Il,!0),8120:U(Gl,null,null,!1),8121:U(Gl,null,go,!1),8122:U(Gl,null,M,!1),8123:U(Gl,null,j,!1),8124:U(Gl,null,null,!0),8125:O(.32,...Pl(.08,.28)),8126:O(.24,...Ll(.06,.5)),8127:O(.32,...Pl(.08,.28)),8128:O(.34,...Il(.08,.3)),8129:k(O(.34,...Il(.08,.18)),O(.34,...Pl(.1,.3))),8130:U(Jl,null,M,!0),8131:U(Jl,null,null,!0),8132:U(Jl,null,j,!0),8134:U(Jl,null,Il,!1),8135:U(Jl,null,Il,!0),8136:U(ql,null,M,!1),8137:U(ql,null,j,!1),8138:U(Yl,null,M,!1),8139:U(Yl,null,j,!1),8140:U(Yl,null,null,!0),8141:k(O(.34,...Pl(.08,.3)),O(.34,...M(.1,.16))),8142:k(O(.34,...Pl(.08,.3)),O(.34,...j(.1,.16))),8143:k(O(.34,...Pl(.08,.3)),O(.34,...Il(.08,.16))),8144:U(Xl,null,Rl,!1),8145:U(Xl,null,go,!1),8146:U(Xl,null,M,!1),8147:U(Xl,null,j,!1),8150:U(Xl,null,Il,!1),8151:U(Xl,null,Il,!0),8152:U(Zl,null,Rl,!1),8153:U(Zl,null,go,!1),8154:U(Zl,null,M,!1),8155:U(Zl,null,j,!1),8157:k(O(.34,...Fl(.08,.3)),O(.34,...M(.1,.16))),8158:k(O(.34,...Fl(.08,.3)),O(.34,...j(.1,.16))),8159:k(O(.34,...Fl(.08,.3)),O(.34,...Il(.08,.16))),8160:U(eu,null,Rl,!1),8161:U(eu,null,go,!1),8162:U(eu,null,M,!1),8163:U(eu,null,j,!1),8164:U(iu,Pl,null,!1),8165:U(iu,Fl,null,!1),8166:U(eu,null,Il,!1),8167:U(eu,null,Il,!0),8168:U(tu,null,Rl,!1),8169:U(tu,null,go,!1),8170:U(tu,null,M,!1),8171:U(tu,null,j,!1),8172:U(au,Fl,null,!1),8173:k(O(.34,...go(.06,.24)),O(.34,...M(.1,.16))),8174:k(O(.34,...go(.06,.24)),O(.34,...j(.1,.16))),8175:O(.3,...M(.1,.26)),8178:U(nu,null,M,!0),8179:U(nu,null,null,!0),8180:U(nu,null,j,!0),8182:U(nu,null,Il,!1),8183:U(nu,null,Il,!0),8184:U($l,null,M,!1),8185:U($l,null,j,!1),8186:U(ru,null,M,!1),8187:U(ru,null,j,!1),8188:U(ru,null,null,!0),8189:O(.3,...j(.1,.26)),8190:O(.32,...Fl(.08,.28))},su=Object.fromEntries(Object.entries(ou).map(([e,t])=>[Number(e),ro(t)])),Object.keys(ou).map(Number)}));function lu(e,t,n=-.04,r=.04){let i=D(e),a=i.d.flat(),o=(Math.min(...a.map(([e])=>e))+Math.max(...a.map(([e])=>e)))/2;return Io(i,o+n-.06,t,o+r+.06,t)}function uu(e,t){return[[[e,t-.07],[e+.03,t-.02],[e+.08,t],[e+.13,t-.02],[e+.16,t-.07]]]}function du(e,t){return[...M(e-.01,t),...M(e+.09,t)]}function fu(e,t){return k(e,O(e.w+.04,[[t,.7],[t+.05,.76],[t+.02,.82]]))}var pu,mu,hu,gu,_u,vu,yu,bu,xu,Su,Cu,wu,Tu,Eu,Du,Ou,ku,Au=n((()=>{Wo(),pu=(e,t)=>Co(D(e),t),mu=(e,t)=>wo(D(e),t),hu=(e,t)=>Co(D(e),t),gu=e=>No(D(e)),_u=e=>so(D(e)),vu=e=>lo(D(e)),yu=O(.46,[[.08,.15],[.4,.15],[.18,.45],[.34,.5],[.36,.65],[.24,.75],[.1,.71]]),bu=O(.42,[[.06,.38],[.36,.38],[.16,.62],[.32,.68],[.32,.86],[.2,.94],[.08,.9]]),xu=O(.44,[[.1,.2],[.24,.15],[.38,.22],[.34,.36],[.2,.42],[.36,.5],[.36,.66],[.22,.75],[.08,.7]]),Su=A(xu),Cu=O(.46,[[.1,.75],[.1,.15]],[[.1,.15],[.28,.15],[.38,.24],[.38,.38],[.28,.46],[.1,.46]]),wu=k(O(.5,uo(.24,.45,.14,.3)),O(.5,[[.38,.45],[.44,.6],[.44,.75]])),Tu=O(.4,[[.08,.24],[.16,.15],[.3,.18],[.32,.3],[.2,.42],[.2,.75]]),Eu=Io(D(`5`),.04,.55,.24,.42),Du=so(D(`d`)),Ou={384:lu(`b`,.3),385:gu(`B`),386:lu(`B`,.15),387:lu(`b`,.18),388:O(.44,[[.1,.15],[.1,.75]],[[.1,.15],[.36,.15]],[[.1,.45],[.3,.45]]),389:A(O(.44,[[.1,.15],[.1,.75]],[[.1,.15],[.36,.15]],[[.1,.45],[.3,.45]])),390:vu(`C`),391:gu(`C`),392:No(D(`c`)),393:Io(D(`D`),.02,.45,.22,.45),394:gu(`D`),395:lu(`d`,.2),396:lu(`d`,.26),397:Du,398:vu(`E`),399:so(D(`e`)),400:lo(yu),401:gu(`F`),402:Io(D(`f`),.02,.62,.24,.62),403:gu(`G`),404:O(.46,[[.06,.15],[.24,.5]],[[.44,.15],[.16,.9]]),405:Po(`h`,`v`,.06),406:O(.26,[[.13,.15],[.13,.66],[.2,.75]]),407:lu(`I`,.45,-.1,.1),408:gu(`K`),409:No(D(`k`)),410:lu(`l`,.5,-.09,.09),411:Io(O(.46,[[.08,.15],[.36,.75]],[[.3,.46],[.06,.75]]),.06,.3,.26,.3),412:_u(`m`),413:No(D(`N`)),414:k(D(`n`),O(.45,[[.38,.75],[.38,.95]])),415:lu(`O`,.45,-.12,.12),418:wu,419:A(wu),420:gu(`P`),421:No(D(`p`)),422:k(D(`R`),O(.5,[[.1,.15],[.02,.1]])),423:vu(`S`),424:vu(`s`),425:O(.5,[[.42,.15],[.1,.15],[.3,.45],[.1,.75],[.42,.75]]),426:k(O(.44,[[.34,.38],[.14,.38],[.3,.56],[.12,.75]]),O(.44,[[.12,.75],[.3,.9]])),427:fu(D(`t`),.24),428:gu(`T`),429:fu(D(`t`),.26),430:fu(D(`T`),.24),433:O(.5,[[.08,.15],[.08,.5],[.16,.68],[.26,.75],[.36,.68],[.44,.5],[.44,.15]]),434:No(D(`v`)),435:gu(`Y`),436:No(D(`y`)),437:lu(`Z`,.45,-.1,.1),438:lu(`z`,.56,-.09,.09),439:yu,440:lo(yu),441:lo(bu),442:bu,443:Io(D(`2`),.04,.55,.24,.55),444:Eu,445:A(Eu),446:O(.36,[[.1,.38],[.26,.75]],[[.04,.56],[.32,.56]]),447:A(Cu),448:O(.24,[[.12,.15],[.12,.75]]),449:O(.36,[[.1,.15],[.1,.75]],[[.24,.15],[.24,.75]]),450:k(O(.36,[[.1,.15],[.1,.75]],[[.24,.15],[.24,.75]]),O(.36,[[.02,.45],[.32,.45]])),451:k(O(.24,[[.12,.15],[.12,.55]]),O(.24,[[.12,.7],[.13,.7]])),452:k(Po(`D`,`Z`,.06),O(1,...mo(.78,.05))),453:k(Po(`D`,`z`,.06),O(.94,...mo(.72,.28))),454:k(Po(`d`,`z`,.06),O(.92,...mo(.7,.28))),455:Po(`L`,`J`,.06),456:Po(`L`,`j`,.06),457:Po(`l`,`j`,.06),458:Po(`N`,`J`,.06),459:Po(`N`,`j`,.06),460:Po(`n`,`j`,.06),461:pu(`A`,mo),462:mu(`a`,mo),463:pu(`I`,mo),464:hu(`i`,mo),465:pu(`O`,mo),466:mu(`o`,mo),467:pu(`U`,mo),468:mu(`u`,mo),469:jo(pu(`U`,fo),fo,go,!1),470:jo(mu(`u`,fo),fo,go,!0),471:jo(pu(`U`,fo),fo,j,!1),472:jo(mu(`u`,fo),fo,j,!0),473:jo(pu(`U`,fo),fo,mo,!1),474:jo(mu(`u`,fo),fo,mo,!0),475:jo(pu(`U`,fo),fo,M,!1),476:jo(mu(`u`,fo),fo,M,!0),477:so(D(`e`)),478:jo(pu(`A`,fo),fo,go,!1),479:jo(mu(`a`,fo),fo,go,!0),480:jo(pu(`A`,_o),_o,go,!1),481:jo(mu(`a`,_o),_o,go,!0),482:Co(Po(`A`,`E`,.1),go),483:wo(Po(`a`,`e`,.08),go),484:lu(`G`,.45,-.1,.1),485:lu(`g`,.56,-.09,.09),486:pu(`G`,mo),487:mu(`g`,mo),488:pu(`K`,mo),489:hu(`k`,mo),490:Ao(D(`O`),So),491:Ao(D(`o`),So),492:Co(Ao(D(`O`),So),go),493:wo(Ao(D(`o`),So),go),494:Co(yu,mo),495:wo(bu,mo),496:hu(`j`,mo),497:Po(`D`,`Z`,.06),498:Po(`D`,`z`,.06),499:Po(`d`,`z`,.06),500:pu(`G`,j),501:mu(`g`,j),502:Po(`H`,`V`,.06),503:Cu,504:pu(`N`,M),505:mu(`n`,M),506:jo(pu(`A`,vo),vo,j,!1),507:jo(mu(`a`,vo),vo,j,!0),508:Co(Po(`A`,`E`,.1),j),509:wo(Po(`a`,`e`,.08),j),510:Co(lu(`O`,.45,-.14,.14),j),511:wo(lu(`o`,.56,-.12,.12),j),512:pu(`A`,du),513:mu(`a`,du),514:pu(`A`,uu),515:mu(`a`,uu),516:pu(`E`,du),517:mu(`e`,du),518:pu(`E`,uu),519:mu(`e`,uu),520:pu(`I`,du),521:hu(`i`,du),522:pu(`I`,uu),523:hu(`i`,uu),524:pu(`O`,du),525:mu(`o`,du),526:pu(`O`,uu),527:mu(`o`,uu),528:pu(`R`,du),529:mu(`r`,du),530:pu(`R`,uu),531:mu(`r`,uu),532:pu(`U`,du),533:mu(`u`,du),534:pu(`U`,uu),535:mu(`u`,uu),540:xu,541:Su,542:pu(`H`,mo),543:hu(`h`,mo),544:k(No(D(`N`)),O(.52,[[.42,.75],[.42,.9]])),545:fu(D(`d`),.44),546:Po(`O`,`U`,.12),547:Po(`o`,`u`,.1),548:gu(`Z`),549:No(D(`z`)),550:pu(`A`,_o),551:mu(`a`,_o),552:Ao(D(`E`),bo),553:Ao(D(`e`),bo),554:jo(pu(`O`,fo),fo,go,!1),555:jo(mu(`o`,fo),fo,go,!0),556:jo(pu(`O`,ho),ho,go,!1),557:jo(mu(`o`,ho),ho,go,!0),558:pu(`O`,_o),559:mu(`o`,_o),560:jo(pu(`O`,_o),_o,go,!1),561:jo(mu(`o`,_o),_o,go,!0),562:pu(`Y`,go),563:mu(`y`,go),564:fu(D(`l`),.22),565:fu(D(`n`),.4),566:fu(D(`t`),.28),567:O(.26,[[.14,.38],[.14,.86],[.06,.94]]),568:Po(`d`,`b`,.06),569:Po(`q`,`p`,.06),570:lu(`A`,.5,-.14,.14),571:lu(`C`,.45,-.12,.12),572:lu(`c`,.56,-.1,.1),573:Io(D(`L`),.04,.3,.24,.3),574:Io(D(`T`),.06,.6,.42,.32),575:k(D(`s`),O(.4,[[.32,.75],[.36,.88]])),576:k(D(`z`),O(.4,[[.34,.75],[.38,.88]])),577:Tu,578:A(Tu),579:lu(`B`,.45,-.1,.1),580:lu(`U`,.45,-.1,.1),581:_u(`V`),582:lu(`E`,.45,-.1,.1),583:lu(`e`,.56,-.09,.09),584:lu(`J`,.45,-.1,.1),585:lu(`j`,.56,-.08,.08),586:k(D(`Q`),O(.55,[[.4,.66],[.5,.78]])),587:k(D(`q`),O(.47,[[.4,.86],[.48,.94]])),588:lu(`R`,.45,-.1,.1),589:lu(`r`,.56,-.08,.08),590:lu(`Y`,.55,-.1,.1),591:lu(`y`,.62,-.09,.09)},ku=Object.fromEntries(Object.entries(Ou).map(([e,t])=>[Number(e),ro(t)])),Object.keys(Ou).map(Number)}));function ju(e){return[...Array(10).keys()].map(t=>e(D(String(t))))}function Mu(e,t){return po(e,t,.16)}var Nu,Pu,Fu,Iu,Lu,W,Ru,zu,Bu,Vu,Hu,Uu,Wu,Gu,Ku,qu,Ju,Yu,Xu=n((()=>{Wo(),Nu=(()=>{let e=D(`i`),t=e=>{let t=e.map(([,e])=>e);return Math.max(...t)-Math.min(...t)},n=[...e.d].sort((e,n)=>t(n)-t(e))[0];return O(e.w,n)})(),Pu=k(D(`N`),O(.52,[[.42,.75],[.42,.88],[.34,.93]])),Fu=k(D(`n`),O(.45,[[.38,.75],[.38,.88],[.3,.93]])),Iu=O(.3,[[.24,.15],[.16,.16],[.12,.24],[.12,.75]],[[.04,.38],[.16,.38]]),Lu=O(.43,[[.1,.38],[.1,.75]],[[.4,.38],[.12,.58]],[[.18,.54],[.42,.75]]),W=(e,t)=>Co(D(e),t),Ru=(e,t)=>wo(D(e),t),zu=(e,t,n=.5)=>Ao(D(e),t,n),Bu={256:W(`A`,go),257:Ru(`a`,go),258:W(`A`,Mu),259:Ru(`a`,Mu),260:zu(`A`,So,.72),261:zu(`a`,So,.78),262:W(`C`,j),263:Ru(`c`,j),264:W(`C`,N),265:Ru(`c`,N),266:W(`C`,_o),267:Ru(`c`,_o),268:W(`C`,mo),269:Ru(`c`,mo),270:W(`D`,mo),271:To(D(`d`)),272:Io(D(`D`),.02,.45,.22,.45),273:Io(D(`d`),.24,.28,.46,.28),274:W(`E`,go),275:Ru(`e`,go),276:W(`E`,Mu),277:Ru(`e`,Mu),278:W(`E`,_o),279:Ru(`e`,_o),280:zu(`E`,So,.5),281:zu(`e`,So,.5),282:W(`E`,mo),283:Ru(`e`,mo),284:W(`G`,N),285:Ru(`g`,N),286:W(`G`,Mu),287:Ru(`g`,Mu),288:W(`G`,_o),289:Ru(`g`,_o),290:zu(`G`,bo),291:Ru(`g`,bo),292:W(`H`,N),293:W(`h`,N),294:Io(D(`H`),.04,.24,.48,.24),295:Io(D(`h`),.02,.26,.24,.26),296:W(`I`,ho),297:W(`i`,ho),298:W(`I`,go),299:W(`i`,go),300:W(`I`,Mu),301:W(`i`,Mu),302:zu(`I`,So,.5),303:zu(`i`,So,.5),304:W(`I`,_o),305:Nu,306:Po(`I`,`J`,.06),307:Po(`i`,`j`,.06),308:W(`J`,N),309:W(`j`,N),310:zu(`K`,bo),311:zu(`k`,bo),312:Lu,313:W(`L`,j),314:W(`l`,j),315:zu(`L`,bo,.25),316:zu(`l`,bo,.4),317:W(`L`,mo),318:To(D(`l`)),319:Io(D(`L`),.24,.5,.26,.5),320:Io(D(`l`),.22,.5,.24,.5),321:Io(D(`L`),.04,.55,.22,.42),322:Io(D(`l`),.04,.5,.22,.37),323:W(`N`,j),324:Ru(`n`,j),325:zu(`N`,bo),326:zu(`n`,bo),327:W(`N`,mo),328:Ru(`n`,mo),329:k(O(.6,[[.04,.15],[.08,.26]]),O(.6,...Fo(D(`n`),.12))),330:Pu,331:Fu,332:W(`O`,go),333:Ru(`o`,go),334:W(`O`,Mu),335:Ru(`o`,Mu),336:W(`O`,yo),337:Ru(`o`,yo),338:Po(`O`,`E`,.16),339:Po(`o`,`e`,.11),340:W(`R`,j),341:Ru(`r`,j),342:zu(`R`,bo),343:zu(`r`,bo,.35),344:W(`R`,mo),345:Ru(`r`,mo),346:W(`S`,j),347:Ru(`s`,j),348:W(`S`,N),349:Ru(`s`,N),350:zu(`S`,bo),351:zu(`s`,bo),352:W(`S`,mo),353:Ru(`s`,mo),354:zu(`T`,bo),355:zu(`t`,bo,.6),356:W(`T`,mo),357:To(D(`t`)),358:Io(D(`T`),.1,.45,.38,.45),359:Io(D(`t`),.06,.58,.28,.58),360:W(`U`,ho),361:Ru(`u`,ho),362:W(`U`,go),363:Ru(`u`,go),364:W(`U`,Mu),365:Ru(`u`,Mu),366:W(`U`,vo),367:Ru(`u`,vo),368:W(`U`,yo),369:Ru(`u`,yo),370:zu(`U`,So,.5),371:zu(`u`,So,.5),372:W(`W`,N),373:Ru(`w`,N),374:W(`Y`,N),375:Ru(`y`,N),376:W(`Y`,fo),377:W(`Z`,j),378:Ru(`z`,j),379:W(`Z`,_o),380:Ru(`z`,_o),381:W(`Z`,mo),382:Ru(`z`,mo),383:Iu},Vu={536:zu(`S`,xo),537:zu(`s`,xo),538:zu(`T`,xo),539:zu(`t`,xo,.6)},Hu={711:O(.35,...mo(.08,.3)),728:O(.35,...Mu(.08,.3)),729:O(.35,..._o(.1,.26)),730:O(.35,...vo(.08,.32)),731:O(.35,...So(.1,.62)),732:O(.35,...ho(.08,.3)),733:O(.4,...yo(.08,.3))},Uu=ju(ao),Wu=ju(oo),Gu=e=>ao(D(e),.38),Ku=e=>oo(D(e),.38),qu={8304:Uu[0],8305:Gu(`i`),8308:Uu[4],8309:Uu[5],8310:Uu[6],8311:Uu[7],8312:Uu[8],8313:Uu[9],8314:ao(D(`+`)),8315:ao(D(`-`)),8316:ao(D(`=`)),8317:ao(D(`(`)),8318:ao(D(`)`)),8319:Gu(`n`),8320:Wu[0],8321:Wu[1],8322:Wu[2],8323:Wu[3],8324:Wu[4],8325:Wu[5],8326:Wu[6],8327:Wu[7],8328:Wu[8],8329:Wu[9],8330:oo(D(`+`)),8331:oo(D(`-`)),8332:oo(D(`=`)),8333:oo(D(`(`)),8334:oo(D(`)`)),8336:Ku(`a`),8337:Ku(`e`),8338:Ku(`o`),8339:Ku(`x`),8340:oo(so(D(`e`)),.38),8341:Ku(`h`),8342:Ku(`k`),8343:Ku(`l`),8344:Ku(`m`),8345:Ku(`n`),8346:Ku(`p`),8347:Ku(`s`),8348:Ku(`t`)},Ju={...Hu,...Bu,...Vu,...qu},Yu=Object.fromEntries(Object.entries(Ju).map(([e,t])=>[Number(e),ro(t)])),Object.keys(Ju).map(Number)}));function Zu(e){return{width:e,draw:()=>{}}}function Qu(e,t,n,r,i){ud[t](e,n,r,i)}function $u(e,t,n,r,i){dd[t](e,n,r,i)}function ed(e){return{width:K,draw:t=>{t.lineWidth(35),t.circle(300,250,200),t.stroke(),t.lineWidth(40),e(t)}}}function td(e){return{width:K,draw:e}}function nd(e){return{width:K,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 G(e){e.lineWidth(35),e.M(200,420),e.L(400,80),e.stroke()}function rd(e,t){return{width:K,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&&G(n)}}}function id(e,t){return{width:K,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&&G(n)}}}function ad(e){return{width:K,draw:t=>{t.lineWidth(35),t.circle(300,250,190),t.stroke(),t.lineWidth(38),e(t)}}}function od(e,t=18){return{width:K,draw:n=>{n.lineWidth(28),e(n,300-t/2,250,280),e(n,300+t/2,250,280)}}}function sd(e){return{width:K,draw:t=>{t.lineWidth(26),e(t,300,250,300)}}}function cd(e){return{width:K,draw:t=>{t.lineWidth(36),e(t,300,250,300)}}}var K,ld,ud,dd,fd,pd,md,hd,gd,_d,vd,q,J,yd,bd,xd=n((()=>{K=600,ld={8192:Zu(500),8193:Zu(1e3),8194:Zu(500),8195:Zu(1e3),8196:Zu(333),8197:Zu(250),8198:Zu(167),8199:Zu(500),8200:Zu(250),8201:Zu(200),8202:Zu(100),8203:Zu(0),8204:Zu(0),8205:Zu(0),8206:Zu(0),8207:Zu(0),8232:Zu(0),8233:Zu(0),8234:Zu(0),8235:Zu(0),8236:Zu(0),8237:Zu(0),8238:Zu(0),8239:Zu(200),8287:Zu(222),8288:Zu(0),8289:Zu(0),8290:Zu(0),8291:Zu(0),8292:Zu(0),65279:Zu(0)},ud=[(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()}],dd=[(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()}],fd={};for(let e=1;e<=9;e++)fd[9311+e]={width:K,draw:t=>{t.lineWidth(30),t.circle(300,250,220),t.stroke(),t.lineWidth(28),Qu(t,e,300,250,210)}};for(let e=10;e<=19;e++){let t=e-10;fd[9311+e]={width:K,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(24),Qu(e,1,230,250,160),Qu(e,t,370,250,160)}}}fd[9331]={width:K,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(24),Qu(e,2,230,250,160),Qu(e,0,370,250,160)}},fd[9450]={width:K,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(28),Qu(e,0,300,250,210)}},pd={};for(let e=0;e<26;e++)pd[9398+e]={width:K,draw:t=>{t.lineWidth(28),t.circle(300,250,220),t.stroke(),t.lineWidth(24),$u(t,e,300,250,200)}};md={};for(let e=0;e<26;e++)md[9424+e]={width:K,draw:t=>{t.lineWidth(25),t.circle(300,250,200),t.stroke(),t.lineWidth(22),$u(t,e,300,250,175)}};hd={};for(let e=1;e<=9;e++)hd[10101+e]={width:K,draw:e=>{e.circle(300,250,240),e.fill()}};gd={10003:{width:K,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:K,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:K,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:K,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:K,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:K,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:K,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:K,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:K,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:K,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:K,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:K,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:K,draw:e=>{e.circle(300,250,230),e.fill()}},9675:{width:K,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke()}},9632:{width:K,draw:e=>{e.rect(80,30,440,440),e.fill()}},9633:{width:K,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke()}},9744:{width:K,draw:e=>{e.lineWidth(42),e.rect(90,25,420,420),e.stroke()}},9745:{width:K,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:K,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:K,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.circle(300,250,130),e.stroke()}}},_d={},_d[10752]=ed(e=>{e.circle(300,250,40),e.fill()}),_d[10753]=ed(e=>{e.M(100,250),e.L(500,250),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}),_d[10754]=ed(e=>{e.M(160,110),e.L(440,390),e.stroke(),e.M(160,390),e.L(440,110),e.stroke()}),_d[10755]=td(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()}),_d[10756]=td(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()}),_d[10757]=td(e=>{e.lineWidth(45),e.M(120,50),e.L(120,450),e.L(480,450),e.L(480,50),e.stroke()}),_d[10758]=td(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++)_d[e]=td(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++)_d[e]||(_d[e]=td(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++)_d[e]||(_d[e]=td(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++)_d[e]||(_d[e]=td(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++)_d[e]||(_d[e]=td(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++)_d[e]||(_d[e]=td(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++)_d[e]||(_d[e]=td(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++)_d[e]||(_d[e]=td(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()}));vd={},vd[10624]={width:K,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()}},vd[10625]={width:K,draw:e=>{e.circle(300,250,60),e.fill()}},vd[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]])vd[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(!vd[e]){let t=(e-10631)%2==0;vd[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(!vd[e]){let t=(e-10643)%2==0;vd[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())}}}vd[10649]={width:200,draw:e=>{for(let t=50;t<=450;t+=80)e.circle(100,t,20),e.fill()}},vd[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++)vd[e]={width:K,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++)vd[e]={width:K,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++)vd[e]={width:K,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++)vd[e]=ed(e=>{e.M(160,110),e.L(440,390),e.stroke()});for(let e=10696;e<=10703;e++)e!==10696&&e!==10697&&(vd[e]={width:K,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++)vd[e]={width:K,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++)vd[e]||(vd[e]={width:K,draw:e=>{e.lineWidth(35),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,100),e.stroke()}});q={},q[8705]={width:K,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()}},q[8708]={width:K,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(),G(e)}},q[8714]={width:K,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()}},q[8716]={width:K,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(),G(e)}},q[8717]={width:K,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()}},q[8720]={width:K,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,450),e.L(460,450),e.L(460,60),e.stroke()}},q[8724]={width:K,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()}},q[8725]={width:K,draw:e=>{e.lineWidth(42),e.M(440,470),e.L(160,30),e.stroke()}},q[8726]={width:K,draw:e=>{e.lineWidth(42),e.M(160,470),e.L(440,30),e.stroke()}},q[8731]={width:K,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()}},q[8732]={width:K,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()}},q[8737]={width:K,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()}},q[8738]={width:K,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()}},q[8748]={width:K,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()}},q[8749]={width:K,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()}}},q[8750]={width:K,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()}},q[8751]={width:K,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()}},q[8752]={width:K,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()}},q[8753]={width:K,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()}},q[8754]={width:K,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()}},q[8755]=q[8753],q[8760]={width:K,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(480,250),e.stroke(),e.circle(300,360,28),e.fill()}},q[8761]={width:K,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()}},q[8762]={width:K,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()}},q[8763]={width:K,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()}},q[8764]={width:K,draw:e=>{e.lineWidth(45),e.M(120,280),e.C(200,380,400,120,480,220),e.stroke()}},q[8765]={width:K,draw:e=>{e.lineWidth(45),e.M(120,220),e.C(200,120,400,380,480,280),e.stroke()}},q[8766]={width:K,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()}},q[8767]={width:K,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()}},q[8768]={width:K,draw:e=>{e.lineWidth(40),e.M(300,460),e.C(200,380,400,120,300,40),e.stroke()}},q[8769]={width:K,draw:e=>{e.lineWidth(42),e.M(120,280),e.C(200,380,400,120,480,220),e.stroke(),G(e)}},q[8770]={width:K,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()}},q[8771]={width:K,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()}},q[8772]={width:K,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(),G(e)}},q[8774]={width:K,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(),G(e)}},q[8775]=q[8774],q[8777]={width:K,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(),G(e)}},q[8778]={width:K,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()}},q[8779]={width:K,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()}},q[8781]={width:K,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()}},q[8782]={width:K,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()}},q[8783]={width:K,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()}},q[8784]={width:K,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()}},q[8785]={width:K,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()}},q[8786]={width:K,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()}},q[8787]={width:K,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()}},q[8788]={width:K,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()}},q[8789]={width:K,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()}},q[8790]=nd(e=>{e.lineWidth(25),e.circle(300,250,35),e.stroke()}),q[8791]={width:K,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()}},q[8792]={width:K,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()}},q[8793]={width:K,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()}},q[8794]={width:K,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()}},q[8795]={width:K,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()}},q[8797]={width:K,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()}},q[8798]={width:K,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()}},q[8799]={width:K,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()}},q[8802]={width:K,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(),G(e)}},q[8803]={width:K,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()}},q[8806]={width:K,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()}},q[8807]={width:K,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()}},q[8808]={width:K,draw:e=>{q[8806].draw(e),G(e)}},q[8809]={width:K,draw:e=>{q[8807].draw(e),G(e)}},q[8812]={width:K,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()}},q[8813]={width:K,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(),G(e)}},q[8814]={width:K,draw:e=>{e.lineWidth(42),e.M(460,400),e.L(140,250),e.L(460,100),e.stroke(),G(e)}},q[8815]={width:K,draw:e=>{e.lineWidth(42),e.M(140,400),e.L(460,250),e.L(140,100),e.stroke(),G(e)}},q[8816]={width:K,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(),G(e)}},q[8817]={width:K,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(),G(e)}},q[8818]={width:K,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()}},q[8819]={width:K,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()}},q[8820]={width:K,draw:e=>{q[8818].draw(e),G(e)}},q[8821]={width:K,draw:e=>{q[8819].draw(e),G(e)}},q[8822]={width:K,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()}},q[8823]={width:K,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()}},q[8824]={width:K,draw:e=>{q[8822].draw(e),G(e)}},q[8825]={width:K,draw:e=>{q[8823].draw(e),G(e)}},q[8826]={width:K,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()}},q[8827]={width:K,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()}},q[8828]={width:K,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()}},q[8829]={width:K,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()}},q[8830]={width:K,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()}},q[8831]={width:K,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()}},q[8832]={width:K,draw:e=>{q[8826].draw(e),G(e)}},q[8833]={width:K,draw:e=>{q[8827].draw(e),G(e)}},q[8840]=rd(!0,!0),q[8841]=id(!0,!0),q[8842]=rd(!0,!0),q[8843]=id(!0,!0),q[8844]={width:K,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()}},q[8845]={width:K,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()}},q[8846]={width:K,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()}},q[8847]={width:K,draw:e=>{e.lineWidth(42),e.M(460,420),e.L(140,420),e.L(140,80),e.L(460,80),e.stroke()}},q[8848]={width:K,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(460,420),e.L(460,80),e.L(140,80),e.stroke()}},q[8849]={width:K,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()}},q[8850]={width:K,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()}},q[8851]={width:K,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,440),e.L(460,440),e.L(460,60),e.stroke()}},q[8852]={width:K,draw:e=>{e.lineWidth(45),e.M(140,440),e.L(140,60),e.L(460,60),e.L(460,440),e.stroke()}},q[8858]=ad(e=>{e.lineWidth(28),e.circle(300,250,60),e.stroke()}),q[8859]=ad(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()}}),q[8860]=ad(e=>{e.M(200,280),e.L(400,280),e.stroke(),e.M(200,220),e.L(400,220),e.stroke()}),q[8861]=ad(e=>{e.M(200,250),e.L(400,250),e.stroke()}),q[8862]={width:K,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()}},q[8863]={width:K,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.M(160,250),e.L(440,250),e.stroke()}},q[8864]={width:K,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()}},q[8865]={width:K,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,40),e.fill()}},q[8866]={width:K,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()}},q[8867]={width:K,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()}},q[8868]={width:K,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()}},q[8870]={width:K,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()}},q[8871]={width:K,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()}},q[8872]={width:K,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()}},q[8873]={width:K,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()}},q[8874]={width:K,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()}},q[8875]={width:K,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()}},q[8876]={width:K,draw:e=>{q[8866].draw(e),G(e)}},q[8877]={width:K,draw:e=>{q[8872].draw(e),G(e)}},q[8878]={width:K,draw:e=>{q[8873].draw(e),G(e)}},q[8879]={width:K,draw:e=>{q[8875].draw(e),G(e)}},q[8880]={width:K,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()}},q[8881]={width:K,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()}},q[8882]={width:K,draw:e=>{e.lineWidth(42),e.M(460,420),e.L(140,250),e.L(460,80),e.Z(),e.stroke()}},q[8883]={width:K,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(460,250),e.L(140,80),e.Z(),e.stroke()}},q[8884]={width:K,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()}},q[8885]={width:K,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()}},q[8886]={width:K,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()}},q[8887]={width:K,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()}},q[8888]={width:K,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()}},q[8889]={width:K,draw:e=>{e.lineWidth(38),e.rect(120,80,360,340),e.stroke(),e.circle(300,250,30),e.fill()}},q[8890]={width:K,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()}},q[8891]={width:K,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()}},q[8892]={width:K,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()}},q[8893]={width:K,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()}},q[8894]={width:K,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()}},q[8896]={width:K,draw:e=>{e.lineWidth(45),e.M(120,60),e.L(300,440),e.L(480,60),e.stroke()}},q[8897]={width:K,draw:e=>{e.lineWidth(45),e.M(120,440),e.L(300,60),e.L(480,440),e.stroke()}},q[8898]={width:K,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()}},q[8899]={width:K,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()}},q[8900]={width:K,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()}},q[8901]={width:K,draw:e=>{e.circle(300,250,35),e.fill()}},q[8902]={width:K,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()}},q[8903]={width:K,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()}},q[8904]={width:K,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()}},q[8905]={width:K,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()}},q[8906]={width:K,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()}},q[8907]={width:K,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()}},q[8908]={width:K,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()}},q[8909]={width:K,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()}},q[8910]={width:K,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()}},q[8911]={width:K,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()}},q[8912]={width:K,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()}},q[8913]={width:K,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()}},q[8914]={width:K,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()}},q[8915]={width:K,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()}},q[8916]={width:K,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()}},q[8917]={width:K,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()}},q[8918]={width:K,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()}},q[8919]={width:K,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()}},q[8920]={width:K,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()}},q[8921]={width:K,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()}},q[8922]={width:K,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()}},q[8923]={width:K,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()}},q[8924]={width:K,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()}},q[8925]={width:K,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()}},q[8926]={width:K,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()}},q[8927]={width:K,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()}},q[8928]={width:K,draw:e=>{q[8926].draw(e),G(e)}},q[8929]={width:K,draw:e=>{q[8927].draw(e),G(e)}},q[8930]={width:K,draw:e=>{q[8849].draw(e),G(e)}},q[8931]={width:K,draw:e=>{q[8850].draw(e),G(e)}},q[8932]={width:K,draw:e=>{q[8849].draw(e),G(e)}},q[8933]={width:K,draw:e=>{q[8850].draw(e),G(e)}},q[8934]={width:K,draw:e=>{q[8818].draw(e),G(e)}},q[8935]={width:K,draw:e=>{q[8819].draw(e),G(e)}},q[8936]={width:K,draw:e=>{q[8830].draw(e),G(e)}},q[8937]={width:K,draw:e=>{q[8831].draw(e),G(e)}},q[8938]={width:K,draw:e=>{q[8882].draw(e),G(e)}},q[8939]={width:K,draw:e=>{q[8883].draw(e),G(e)}},q[8940]={width:K,draw:e=>{q[8884].draw(e),G(e)}},q[8941]={width:K,draw:e=>{q[8885].draw(e),G(e)}},q[8942]={width:K,draw:e=>{e.circle(300,380,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(300,120,28),e.fill()}},q[8943]={width:K,draw:e=>{e.circle(150,250,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(450,250,28),e.fill()}},q[8944]={width:K,draw:e=>{e.circle(170,120,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(430,380,28),e.fill()}},q[8945]={width:K,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(!q[e]){let t=(e-8946)%2==0;q[e]={width:K,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())}}}J={},J[8448]={width:K,draw:e=>{e.lineWidth(24),$u(e,0,190,340,150),$u(e,2,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},J[8449]={width:K,draw:e=>{e.lineWidth(24),$u(e,0,190,340,150),$u(e,18,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},J[8450]=od((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()}),J[8452]={width:K,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()}},J[8454]={width:K,draw:e=>{e.lineWidth(24),$u(e,2,190,340,150),$u(e,20,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},J[8455]={width:K,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()}},J[8458]={width:K,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()}},J[8459]=sd((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()}),J[8460]=cd((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()}),J[8461]=od((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()}),J[8462]={width:K,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()}},J[8463]={width:K,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()}},J[8464]=sd((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()}),J[8465]=cd((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()}),J[8466]=sd((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()}),J[8468]={width:K,draw:e=>{e.lineWidth(30),$u(e,11,200,250,260),$u(e,1,400,250,260),e.lineWidth(28),e.M(120,100),e.L(480,100),e.stroke()}},J[8469]=od((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()}),J[8471]={width:K,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(28),$u(e,15,300,250,200)}},J[8472]={width:K,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()}},J[8473]=od((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()}),J[8474]=od((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()}),J[8475]=sd((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()}),J[8476]=cd((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()}),J[8477]=od((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()}),J[8478]={width:K,draw:e=>{e.lineWidth(38),$u(e,17,250,260,300),e.lineWidth(32),e.M(350,200),e.L(480,60),e.stroke()}},J[8479]={width:K,draw:e=>{e.lineWidth(38),$u(e,17,300,250,300)}},J[8481]={width:K,draw:e=>{e.lineWidth(22),$u(e,19,150,250,180),$u(e,4,300,250,180),$u(e,11,450,250,180)}},J[8484]=od((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()}),J[8485]={width:K,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()}},J[8487]={width:K,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()}},J[8488]=cd((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()}),J[8489]={width:K,draw:e=>{e.lineWidth(38),e.M(300,440),e.L(300,160),e.C(300,60,220,60,220,120),e.stroke()}},J[8490]={width:K,draw:e=>{e.lineWidth(40),$u(e,10,300,250,300)}},J[8491]={width:K,draw:e=>{e.lineWidth(38),$u(e,0,300,220,280),e.lineWidth(22),e.circle(300,440,30),e.stroke()}},J[8492]=sd((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()}),J[8493]=cd((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()}),J[8495]={width:K,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()}},J[8496]=sd((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()}),J[8497]=sd((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()}),J[8498]={width:K,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()}},J[8499]=sd((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()}),J[8500]={width:K,draw:e=>{e.lineWidth(30),e.ellipse(300,250,150,180),e.stroke()}},J[8501]={width:K,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()}},J[8502]={width:K,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()}},J[8503]={width:K,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()}},J[8504]={width:K,draw:e=>{e.lineWidth(42),e.M(180,440),e.L(420,440),e.L(420,60),e.stroke()}},J[8508]={width:K,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()}},J[8509]={width:K,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()}},J[8510]={width:K,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()}},J[8511]={width:K,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()}},J[8512]={width:K,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()}},J[8513]={width:K,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()}},J[8514]={width:K,draw:e=>{e.lineWidth(42),e.M(400,60),e.L(400,440),e.L(200,440),e.stroke()}},J[8515]={width:K,draw:e=>{e.lineWidth(42),e.M(400,440),e.L(400,60),e.L(200,60),e.stroke()}},J[8516]={width:K,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()}},J[8517]=od((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()}),J[8518]={width:K,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()}},J[8519]={width:K,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()}},J[8520]={width:K,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()}},J[8521]={width:K,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()}},J[8522]={width:K,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()}},J[8523]={width:K,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()}},J[8524]={width:K,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()}},J[8525]={width:K,draw:e=>{e.lineWidth(34),$u(e,0,200,250,260),$u(e,18,400,250,260)}},J[8526]={width:K,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()}},J[8527]={width:K,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()}},yd={},yd[8364]={width:K,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()}},yd[8365]={width:K,draw:e=>{e.lineWidth(40),$u(e,10,300,250,300),e.M(140,250),e.L(460,250),e.stroke()}},yd[8367]={width:K,draw:e=>{e.lineWidth(38),$u(e,3,300,250,300),e.M(400,470),e.L(400,30),e.stroke()}},yd[8368]={width:K,draw:e=>{e.lineWidth(38),$u(e,3,300,250,300),e.lineWidth(22),e.circle(420,400,30),e.stroke()}},yd[8373]={width:K,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()}},yd[8375]={width:K,draw:e=>{e.lineWidth(38),$u(e,18,300,250,300),e.M(140,300),e.L(460,300),e.stroke()}},yd[8379]={width:K,draw:e=>{e.lineWidth(38),$u(e,12,300,250,300),e.M(120,60),e.L(480,60),e.stroke()}},yd[8380]={width:K,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()}},yd[8382]={width:K,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()}},yd[8383]={width:K,draw:e=>{e.lineWidth(38),$u(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++)yd[e]={width:K,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()}};bd={},bd[8604]={width:K,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()}},bd[8610]={width:K,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()}},bd[8611]={width:K,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()}},bd[8616]={width:K,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()}},bd[8619]={width:K,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()}},bd[8620]={width:K,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()}},bd[8621]={width:K,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()}},bd[8622]={width:K,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(),G(e)}},bd[8623]={width:K,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()}},bd[8628]={width:K,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()}},bd[8630]={width:K,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()}},bd[8631]={width:K,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()}},bd[8632]={width:K,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()}},bd[8633]={width:K,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()}},bd[8683]={width:K,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()}},bd[8684]={width:K,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()}},bd[8685]={width:K,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()}},bd[8686]={width:K,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()}},bd[8687]={width:K,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()}},bd[8688]={width:K,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()}},bd[8689]={width:K,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()}},bd[8690]={width:K,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()}},bd[8691]={width:K,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()}},bd[8692]={width:K,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()}},bd[8694]={width:K,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()}},bd[8695]={width:K,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()}},bd[8696]={width:K,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()}},bd[8697]={width:K,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()}},bd[8698]={width:K,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()}},bd[8699]={width:K,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()}},bd[8700]={width:K,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()}},bd[8701]={width:K,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()}},bd[8702]={width:K,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()}},bd[8703]={width:K,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()}}})),Sd,Cd,wd,Td,Ed,Dd,Od,kd,Ad,jd,Md,Nd,Pd,Fd,Id,Ld,Rd,zd,Bd=n((()=>{Wo(),Sd=Oo(D(`O`)),Cd=Oo(D(`o`)),wd=Oo(D(`U`)),Td=Oo(D(`u`)),Ed=Co(D(`A`),ko),Dd=wo(D(`a`),ko),Od=Co(D(`A`),N),kd=wo(D(`a`),N),Ad=Co(D(`E`),N),jd=wo(D(`e`),N),Md=Co(D(`O`),N),Nd=wo(D(`o`),N),Pd=(e,t)=>e===e.toUpperCase()?Co(D(e),t):wo(D(e),t),Fd=(e,t=.5)=>Ao(D(e),Do,t),Id=(e,t,n,r)=>jo(e,t,n,r),Ld=(e,t=.5)=>Ao(e,Do,t),Rd={416:Sd,417:Cd,431:wd,432:Td,7840:Fd(`A`,.5),7841:Fd(`a`,.5),7842:Pd(`A`,Eo),7843:Pd(`a`,Eo),7844:Id(Od,N,j,!1),7845:Id(kd,N,j,!0),7846:Id(Od,N,M,!1),7847:Id(kd,N,M,!0),7848:Id(Od,N,Eo,!1),7849:Id(kd,N,Eo,!0),7850:Id(Od,N,ho,!1),7851:Id(kd,N,ho,!0),7852:Ld(Od),7853:Ld(kd),7854:Id(Ed,ko,j,!1),7855:Id(Dd,ko,j,!0),7856:Id(Ed,ko,M,!1),7857:Id(Dd,ko,M,!0),7858:Id(Ed,ko,Eo,!1),7859:Id(Dd,ko,Eo,!0),7860:Id(Ed,ko,ho,!1),7861:Id(Dd,ko,ho,!0),7862:Ld(Ed),7863:Ld(Dd),7864:Fd(`E`),7865:Fd(`e`),7866:Pd(`E`,Eo),7867:Pd(`e`,Eo),7868:Pd(`E`,ho),7869:Pd(`e`,ho),7870:Id(Ad,N,j,!1),7871:Id(jd,N,j,!0),7872:Id(Ad,N,M,!1),7873:Id(jd,N,M,!0),7874:Id(Ad,N,Eo,!1),7875:Id(jd,N,Eo,!0),7876:Id(Ad,N,ho,!1),7877:Id(jd,N,ho,!0),7878:Ld(Ad),7879:Ld(jd),7880:Pd(`I`,Eo),7881:Pd(`i`,Eo),7882:Fd(`I`),7883:Fd(`i`),7884:Fd(`O`),7885:Fd(`o`),7886:Pd(`O`,Eo),7887:Pd(`o`,Eo),7888:Id(Md,N,j,!1),7889:Id(Nd,N,j,!0),7890:Id(Md,N,M,!1),7891:Id(Nd,N,M,!0),7892:Id(Md,N,Eo,!1),7893:Id(Nd,N,Eo,!0),7894:Id(Md,N,ho,!1),7895:Id(Nd,N,ho,!0),7896:Ld(Md),7897:Ld(Nd),7898:Co(Sd,j),7899:wo(Cd,j),7900:Co(Sd,M),7901:wo(Cd,M),7902:Co(Sd,Eo),7903:wo(Cd,Eo),7904:Co(Sd,ho),7905:wo(Cd,ho),7906:Ld(Sd),7907:Ld(Cd),7908:Fd(`U`),7909:Fd(`u`),7910:Pd(`U`,Eo),7911:Pd(`u`,Eo),7912:Co(wd,j),7913:wo(Td,j),7914:Co(wd,M),7915:wo(Td,M),7916:Co(wd,Eo),7917:wo(Td,Eo),7918:Co(wd,ho),7919:wo(Td,ho),7920:Ld(wd),7921:Ld(Td),7922:Pd(`Y`,M),7923:Pd(`y`,M),7924:Fd(`Y`),7925:Fd(`y`),7926:Pd(`Y`,Eo),7927:Pd(`y`,Eo),7928:Pd(`Y`,ho),7929:Pd(`y`,ho)},zd=Object.fromEntries(Object.entries(Rd).map(([e,t])=>[Number(e),ro(t)])),Object.keys(Rd).map(Number)})),Vd=/* @__PURE__ */ r({NOTDEF_GLYPH:()=>Xd,glyphCount:()=>Yd,hasGlyph:()=>Jd,lookupGlyph:()=>qd});function Hd(e,t,n,r){return{width:Y,draw:i=>{i.rect(e,t,n,r),i.fill()}}}function Ud(e,t,n,r,i=50){return{width:Y,draw:a=>{a.lineWidth(i),a.rect(e,t,n,r),a.stroke()}}}function Wd(e,t,n){return{width:Y,draw:r=>{r.circle(e,t,n),r.fill()}}}function Gd(e,t,n,r=50){return{width:Y,draw:i=>{i.lineWidth(r),i.circle(e,t,n),i.stroke()}}}function Kd(){if(!uf){uf=/* @__PURE__ */ new Map;for(let e of lf)for(let[t,n]of Object.entries(e))uf.set(Number(t),n)}return uf}function qd(e){return Kd().get(e)}function Jd(e){return Kd().has(e)}function Yd(){return Kd().size}var Y,Xd,Zd,Qd,$d,ef,tf,nf,rf,af,of,sf,cf,lf,uf,df=n((()=>{Cs(),dc(),bc(),Kc(),Nl(),cu(),Au(),Xu(),xd(),Bd(),Y=600,Xd=Ud(80,0,440,700,40),Zd={9632:Hd(100,50,400,400),9633:Ud(100,50,400,400),9634:{width:Y,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:Y,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(200,150,200,200),e.fill()}},9636:{width:Y,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:Y,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:Y,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:Y,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:Hd(175,125,250,250),9643:Ud(175,125,250,250,40),9644:Hd(80,150,440,200),9645:Ud(80,150,440,200),9646:Hd(175,0,250,500),9647:Ud(175,0,250,500),9648:{width:Y,draw:e=>{e.M(150,100),e.L(520,100),e.L(450,400),e.L(80,400),e.Z(),e.fill()}},9650:{width:Y,draw:e=>{e.M(300,500),e.L(500,50),e.L(100,50),e.Z(),e.fill()}},9651:{width:Y,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(500,50),e.L(100,50),e.Z(),e.stroke()}},9652:{width:Y,draw:e=>{e.M(300,450),e.L(450,100),e.L(150,100),e.Z(),e.fill()}},9653:{width:Y,draw:e=>{e.lineWidth(35),e.M(300,450),e.L(450,100),e.L(150,100),e.Z(),e.stroke()}},9654:{width:Y,draw:e=>{e.M(100,500),e.L(500,250),e.L(100,0),e.Z(),e.fill()}},9655:{width:Y,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(500,250),e.L(100,0),e.Z(),e.stroke()}},9656:{width:Y,draw:e=>{e.M(150,450),e.L(450,250),e.L(150,50),e.Z(),e.fill()}},9660:{width:Y,draw:e=>{e.M(100,500),e.L(500,500),e.L(300,50),e.Z(),e.fill()}},9661:{width:Y,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(500,500),e.L(300,50),e.Z(),e.stroke()}},9662:{width:Y,draw:e=>{e.M(150,400),e.L(450,400),e.L(300,100),e.Z(),e.fill()}},9664:{width:Y,draw:e=>{e.M(500,500),e.L(100,250),e.L(500,0),e.Z(),e.fill()}},9665:{width:Y,draw:e=>{e.lineWidth(40),e.M(500,500),e.L(100,250),e.L(500,0),e.Z(),e.stroke()}},9666:{width:Y,draw:e=>{e.M(450,450),e.L(150,250),e.L(450,50),e.Z(),e.fill()}},9670:{width:Y,draw:e=>{e.M(300,500),e.L(530,250),e.L(300,0),e.L(70,250),e.Z(),e.fill()}},9671:{width:Y,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:Y,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:Y,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,250,120),e.fill()}},9674:{width:Y,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:Gd(300,250,220),9676:Gd(300,250,220,30),9677:{width:Y,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:Y,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.circle(300,250,140),e.stroke()}},9679:Wd(300,250,220),9680:{width:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,draw:e=>{e.rect(80,30,440,440),e.fill()}},9689:{width:Y,draw:e=>{e.circle(300,250,240),e.fill()}},9692:{width:Y,draw:e=>{e.lineWidth(50),e.M(300,470),e.C(179,470,80,371,80,250),e.stroke()}},9693:{width:Y,draw:e=>{e.lineWidth(50),e.M(520,250),e.C(520,371,421,470,300,470),e.stroke()}},9694:{width:Y,draw:e=>{e.lineWidth(50),e.M(300,30),e.C(421,30,520,129,520,250),e.stroke()}},9695:{width:Y,draw:e=>{e.lineWidth(50),e.M(80,250),e.C(80,129,179,30,300,30),e.stroke()}},9696:{width:Y,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:Y,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:Gd(300,250,100,40),9711:Gd(300,250,280,40)},Qd={8592:{width:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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()}}},$d={8704:{width:Y,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:Y,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:Y,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:Y,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:Y,draw:e=>{e.lineWidth(50),e.M(300,500),e.L(100,0),e.L(500,0),e.Z(),e.stroke()}},8711:{width:Y,draw:e=>{e.lineWidth(50),e.M(100,500),e.L(500,500),e.L(300,0),e.Z(),e.stroke()}},8712:{width:Y,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:Y,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:Y,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:Hd(150,50,300,400),8719:{width:Y,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:Y,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:Y,draw:e=>{e.lineWidth(60),e.M(120,250),e.L(480,250),e.stroke()}},8723:{width:Y,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:Y,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:Y,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:Y,draw:e=>{e.lineWidth(50),e.M(480,50),e.L(120,50),e.L(380,450),e.stroke()}},8743:{width:Y,draw:e=>{e.lineWidth(50),e.M(100,50),e.L(300,450),e.L(500,50),e.stroke()}},8744:{width:Y,draw:e=>{e.lineWidth(50),e.M(100,450),e.L(300,50),e.L(500,450),e.stroke()}},8745:{width:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},8855:{width:Y,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:Y,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(160,100),e.L(440,400),e.stroke()}},8857:{width:Y,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.circle(300,250,40),e.fill()}}},ef={9728:{width:Y,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:Y,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:Y,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:Ud(100,30,400,400,45),9745:{width:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,draw:e=>{e.M(300,500),e.L(500,250),e.L(300,0),e.L(100,250),e.Z(),e.fill()}},9833:{width:Y,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:Y,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:Y,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:Y,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:Y,draw:e=>{e.lineWidth(65),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},10004:{width:Y,draw:e=>{e.lineWidth(85),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},10005:{width:Y,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:Y,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:Y,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:Y,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:Y,draw:e=>{e.rect(210,30,180,440),e.fill(),e.rect(90,160,420,180),e.fill()}},10012:{width:Y,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:Y,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:Y,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:Y,draw:e=>{e.circle(300,250,240),e.fill()}}}return e})(),...(()=>{let e={};for(let t=0;t<10;t++)e[9312+t]={width:Y,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke()}};return e})()},tf={8960:{width:Y,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(140,90),e.L(460,410),e.stroke()}},8962:{width:Y,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:Y,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:Y,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:Y,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()}}},nf={9472:{width:Y,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke()}},9473:{width:Y,draw:e=>{e.lineWidth(80),e.M(0,250),e.L(600,250),e.stroke()}},9474:{width:Y,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,500),e.stroke()}},9475:{width:Y,draw:e=>{e.lineWidth(80),e.M(300,0),e.L(300,500),e.stroke()}},9484:{width:Y,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,250),e.L(600,250),e.stroke()}},9488:{width:Y,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,250),e.L(0,250),e.stroke()}},9492:{width:Y,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(300,250),e.L(600,250),e.stroke()}},9496:{width:Y,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(300,250),e.L(0,250),e.stroke()}},9500:{width:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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:Y,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()}}},rf={9600:Hd(0,250,600,250),9604:Hd(0,0,600,250),9608:Hd(0,0,600,500),9612:Hd(0,0,300,500),9616:Hd(300,0,300,500),9617:{width:Y,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:Y,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:Y,draw:e=>{e.lineWidth(35),e.rect(0,0,600,500),e.fill()}}},af={11014:{width:Y,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:Y,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:Y,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:Hd(60,10,480,480),11036:Ud(60,10,480,480,45),11088:{width:Y,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()}}},of={10688:{width:Y,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:Y,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:Y,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke(),e.circle(300,250,130),e.stroke()}},10696:{width:Y,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke(),e.rect(190,140,220,220),e.stroke()}},10697:{width:Y,draw:e=>{e.lineWidth(35),e.rect(80,80,300,300),e.stroke(),e.rect(220,120,300,300),e.stroke()}}},sf={8377:{width:Y,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:Y,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:Y,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()}}},cf={8226:Wd(300,250,100),8230:{width:Y,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:Y,draw:e=>{e.M(150,400),e.L(450,250),e.L(150,100),e.Z(),e.fill()}},8259:{width:Y,draw:e=>{e.lineWidth(60),e.M(150,250),e.L(450,250),e.stroke()}},8260:{width:Y,draw:e=>{e.lineWidth(40),e.M(450,500),e.L(150,0),e.stroke()}}},lf=[Ml,su,Ss,Yu,ku,zd,Zd,Qd,$d,ef,tf,nf,rf,af,of,sf,cf,Ls,Rs,zs,Bs,Vs,Hs,Us,Ws,Gs,Ks,qs,Js,Ys,Xs,Zs,ic,sc,cc,pc,mc,hc,gc,_c,vc,yc,B,V,Uc,H,Wc,Gc,Vc,ld,_d,vd,q,J,yd,bd,fd,pd,md,hd,gd],uf=null})),ff=/* @__PURE__ */ r({GLYPH_BBOX:()=>yf,writeType3Fonts:()=>pf});function pf(e,t,n=`T3F`){let r=/* @__PURE__ */ new Map,i=/* @__PURE__ */ new Map,a=/* @__PURE__ */ 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}=mf(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:bf+e})}return{fontObjects:i,encoding:r,widths:a}}function mf(e,t,n){let r=[],i=[],a=Array(bf+t.length).fill(0),u=/* @__PURE__ */ new Map,d=hf(e,Xd);r.push({name:`.notdef`,objNum:d}),a[0]=Xd.width;for(let n=0;n<t.length;n++){let o=t[n],s=qd(o)??Xd,c=`uni${o.toString(16).toUpperCase().padStart(4,`0`)}`,l=hf(e,s);r.push({name:c,objNum:l}),i.push(c);let d=bf+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(`
|
|
43
43
|
`)}\n>>`,h=[];h.push(`${bf}`);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=_f(e,t),y=e.allocObject(),b=`[${yf.join(` `)}]`,x=1/vf,S=`[${x} 0 0 ${x} 0 0]`,C=new p().set(`Type`,`/Font`).set(`Subtype`,`/Type3`).set(`Name`,o(n)).set(`FontBBox`,b).set(`FontMatrix`,S).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,C),{objNum:y,fontWidths:u}}function hf(e,t){let n=new fn,[r,i,a,o]=yf;n.raw(`${t.width} 0 ${r} ${i} ${a} ${o} d1`);let s=gf(n);t.draw(s);let c=e.allocObject();return e.addStreamObject(c,new p,n),c}function gf(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 _f(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=bf+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(`
|
|
44
44
|
`),i=new TextEncoder().encode(r),a=e.allocObject();return e.addStreamObject(a,new p,i),a}var vf,yf,bf,xf=n((()=>{m(),mn(),df(),vf=1e3,yf=[0,-350,1300,1250],bf=1}));function Sf(e){let t=e.toLowerCase().trim();return Lf[t]??`Helvetica`}function Cf(e,t,n){let r=Sf(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 wf(e,t){let n=`<`;for(let r of t.encodeText(e))n+=r.toString(16).toUpperCase().padStart(4,`0`);return n+=`>`,n}function Tf(e,t){return Math.round((e.advanceWidths[t]??0)*1e3/e.unitsPerEm)}function Ef(e,t,n){let r=0;for(let n=0;n<e.length;n++){let i=e.codePointAt(n);if(i>65535&&n++,Jr(i))continue;let a=t.cmap.get(i)??0;r+=Math.round((t.advanceWidths[a]??0)*1e3/t.unitsPerEm)/1e3}return r*n}function Df(e,t){for(let n of fi(t))e.set(n.sequence,n)}function Of(e,t){return e.length===t.length&&[...e].sort().join(``)===[...t].sort().join(``)}function kf(e,t){if(ha(t))return Df(e.glyphUses,t),t;let{visual:n,uses:r}=Af(e.source.font,t);for(let t of r)e.glyphUses.set(t.sequence,t);for(let t of r)e.codepoints.add(t.codePoint);return n}function Af(e,t){let n=Fa(t,t=>e.cmap.has(t)),r=``,i=[];for(let e of n){r+=e.visual;let t=fi(e.visual);t.length===1?i.push({...t[0],text:e.source}):i.push(...t)}return{visual:r,uses:i}}function jf(e){return e.trim().replace(/\s+/g,` `).toLocaleLowerCase(`en-US`)}function Mf(e){return Array.from(e,e=>e.codePointAt(0))}function Nf(e,t,n){let r=n.source.font,i=t.reduce((e,t)=>{if(Jr(t))return e;let n=r.cmap.get(t)??0;return e+Math.round((r.advanceWidths[n]??0)*1e3/r.unitsPerEm)/1e3},0);return Object.freeze({text:e,resourceName:n.resourceName,codepoints:Object.freeze([...t]),width:i,ascent:r.ascent/r.unitsPerEm,descent:r.descent/r.unitsPerEm})}function Pf(e,t){let n=jf(t.family),r=e.families.find(e=>e.normalizedName===n||e.normalizedAliases.includes(n))?.faces??e.default;return t.bold&&t.italic?r.boldItalic??r.bold??r.italic??r.regular:t.bold?r.bold??r.regular:t.italic?r.italic??r.regular:r.regular}var Ff,If,Lf,Rf,zf=n((()=>{m(),mn(),Sn(),Ei(),ma(),qi(),Ea(),Na(),li(),Sa(),Ya(),$a(),Ff=4096,If=4096,Lf={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`},Rf=class{constructor(e,t=``){if(this.configuredRequests=/* @__PURE__ */ new Map,this.configuredRequestKeys=/* @__PURE__ */ new Map,this.configuredFaces=/* @__PURE__ */ new Map,this.configuredResourceFaces=/* @__PURE__ */ new Map,this.configuredRouteCache=/* @__PURE__ */ new Map,this.nextConfiguredRequestId=1,this.nextConfiguredFaceId=1,this.resourcesWritten=!1,this.missingCodePoints=/* @__PURE__ */ new Set,this.textFeatures=new Ta,this.suppressCoverageDiagnostics=!1,this.type1Map=/* @__PURE__ */ new Map,this.resourceToType1=/* @__PURE__ */ new Map,this.nextType1Id=1,this.embeddedFont=null,this.shapableRuns=/* @__PURE__ */ new Set,this.embeddedResourceName=``,this.embeddedFontIsFallback=!1,this.usedCodePoints=/* @__PURE__ */ new Set,this.usedGlyphUses=/* @__PURE__ */ new Map,this.nextEmbeddedId=1,this.type3CodePoints=/* @__PURE__ */ new Set,this.languageEvidence=$r(),this._type3Result=null,this._unknownFontFamilies=/* @__PURE__ */ new Set,this.substitutedForms=!1,this._embeddedResult=null,this.type3PlanningWidths=null,t&&!/^[A-Za-z][A-Za-z0-9_]*$/.test(t))throw new vn(`Invalid PDF font resource prefix '${t}'`);this.config=e??null,this.resourcePrefix=t}registerEmbeddedFont(e){return this.registerTtfFont(e,!1)}registerFallbackFont(e){return this.registerTtfFont(e,!0)}widenFallbackFont(e){if(this.config)throw new vn(`Cannot widen a fallback face on a configured FontManager`);let t=this.embeddedFont;if(t===null||!this.embeddedFontIsFallback)return this.registerFallbackFont(e),!0;for(let n of this.usedCodePoints){if(un(n))continue;let r=t.cmap.get(n);if(r===void 0||r===0)continue;let i=e.cmap.get(n);if(i===void 0||i===0||Tf(t,r)!==Tf(e,i))return!1}return this.registerFallbackFont(e),!0}noteAutoDiscoveredFont(e,t){this.autoDiscovered={familyName:e,codePointCount:t}}registerTtfFont(e,t){if(this.config)throw new vn(`Cannot register a legacy embedded font on a configured FontManager`);return this.embeddedFont=e,this.embeddedFontIsFallback=t,this.embeddedResourceName=`${this.resourcePrefix}EF${this.nextEmbeddedId++}`,this.textFeatures.noteFontTables(e.familyName,e.tables),this.embeddedResourceName}clearAutoDiscoveredFont(){if(this.config)throw new vn(`Configured fonts cannot be cleared as auto-discovered fonts`);this.embeddedFont=null,this.embeddedFontIsFallback=!1,this.embeddedResourceName=``,this._embeddedResult=null,this.nextEmbeddedId=1}hasEmbeddedFont(){return this.config!==null||this.embeddedFont!==null}hasConfiguredFonts(){return this.config!==null}getType3CodePoints(){return new Set(this.type3CodePoints)}getTextLanguage(){return ti(this.languageEvidence)}getMissingCodePoints(){return new Set(this.missingCodePoints)}reportDiagnostics(e){this.textFeatures.report(e,{contextualForms:this.substitutesForms(),visualOrder:this.appliesShaping()}),this.autoDiscovered&&e(`Auto-embedded system font '${this.autoDiscovered.familyName}' to render ${this.autoDiscovered.codePointCount} non-WinAnsi character(s). Call embedFont(bytes) explicitly for deterministic output.`),this.reportCoverage(e);let t=this.missingCodePoints;if(t.size===0)return;let n=[...t].slice(0,5).map(e=>`U+${e.toString(16).toUpperCase().padStart(4,`0`)}`).join(`, `);e(`${t.size} character(s) are not covered by the configured PDF font families and will render with the .notdef glyph (e.g. ${n}). Add a named fallback family through fallbackFamilies.`)}reportCoverage(e){let t=this.type3CodePoints;if(t.size===0)return;let n=this.hasFallbackFont()?this.getUncoveredFallbackCodePoints():t;if(this.hasEmbeddedFont()&&n.size===0)return;let r=[...n].filter(e=>Oa(e)),i=[...n].filter(e=>!Oa(e));if(i.length>0&&e(`${i.length} character(s) have no glyph in any available font and will render as .notdef boxes: ${Za(new Set(i))}. Call embedFont(bytes) with a font that covers these blocks.`),r.length>0){let t=this.hasEmbeddedFont()?`are outside the embedded font`:`are not covered by any font available here`,n=r.filter(e=>ka(e));e(`${r.length} character(s) ${t} and will be drawn with built-in Type3 glyphs: ${Za(new Set(r))}. `+(n.length>0?`${n.length} of them are letters, drawn with a plain built-in letterform rather than the requested typeface. `:``)+`Pass a font covering them through embedFont(bytes) to keep the whole document in one typeface.`)}}getUnknownFontFamilies(){return new Set(this._unknownFontFamilies)}getEmbeddedResourceName(){return this.config?this.ensureConfiguredFace(Pf(this.config,{family:``,bold:!1,italic:!1})).resourceName:this.embeddedResourceName}resolveRenderResourceName(e){return this.config?e:this.embeddedFont&&!this.embeddedFontIsFallback?this.embeddedResourceName:e}fallbackResourceFor(e){return this.config||!this.embeddedFont||!this.embeddedFontIsFallback||un(e)||(this.embeddedFont.cmap.get(e)??0)===0?null:this.embeddedResourceName}hasFallbackFont(){return this.embeddedFont!==null&&this.embeddedFontIsFallback}getUncoveredFallbackCodePoints(){let e=/* @__PURE__ */ new Set;if(!this.embeddedFont||!this.embeddedFontIsFallback)return e;for(let t of this.type3CodePoints)(this.embeddedFont.cmap.get(t)??0)===0&&e.add(t);return e}trackText(e,t){if(ei(this.languageEvidence,e),this.config){if(!t)throw new vn(`Configured font tracking requires the resource returned by resolveFont`);if(this.routeText(e,t),!e.includes(` `)){this.suppressCoverageDiagnostics=!0;try{this.routeText(` `,t)}finally{this.suppressCoverageDiagnostics=!1}}return}this.textFeatures.noteText(e),Df(this.usedGlyphUses,e),ha(e)||this.shapableRuns.add(e);for(let t=0;t<e.length;t++){let n=e.codePointAt(t);n>65535&&t++,this.usedCodePoints.add(n),!un(n)&&!Jr(n)&&this.type3CodePoints.add(n)}}ensureFont(e){let t=this.type1Map.get(e);return t||(t=`${this.resourcePrefix}F${this.nextType1Id++}`,this.type1Map.set(e,t),this.resourceToType1.set(t,e)),t}resolveFont(e,t,n){if(this.config){let r=`${jf(e)}\u0000${+!!t}${+!!n}`,i=this.configuredRequestKeys.get(r);return i||(i=`${this.resourcePrefix}FR${this.nextConfiguredRequestId++}`,this.configuredRequestKeys.set(r,i),this.configuredRequests.set(i,{family:e,bold:t,italic:n})),i}if(this.embeddedFont&&!this.embeddedFontIsFallback)return this.embeddedResourceName;let r=e.toLowerCase().trim();r&&Lf[r]===void 0&&this._unknownFontFamilies.add(e);let i=Cf(e,t,n);return this.ensureFont(i)}routeText(e,t){if(this.suppressCoverageDiagnostics||this.textFeatures.noteText(e),!this.config)return this.routeLegacyText(e,t);let n=this.configuredRequests.get(t);if(!n){let n=this.configuredResourceFaces.get(t);if(!n)throw new vn(`Unknown configured font resource '${t}'`);let r=Mf(e);for(let e of r)n.codepoints.add(e);let i=this.noteSubstitution(e,kf(n,e));return[Nf(i,Mf(i),n)]}let r=e.length<=If,i=r?`${t}\u0000${e}`:``,a=r?this.configuredRouteCache.get(i):void 0;if(a)return a;let o=Ji(this.config);o.collect({text:e,...n});let s=o.finalize(),c=new Map(s.faces.map(e=>[e.id,e])),l=Object.freeze(s.segments.map(e=>{let t=c.get(e.faceId);if(t.source.kind!==`ttf`||!t.source.source)throw new vn(`Configured font planning produced a non-TTF face`);let n=this.ensureConfiguredFace(t.source.source);if(this.resourcesWritten&&(n.embedded?.encodeText(e.text).includes(0)??!0))throw new vn(`Text introduced a Unicode sequence after PDF font resources were written. Track every rendered text run during layout.`);for(let e of t.codepoints){if(this.resourcesWritten&&!n.codepoints.has(e))throw new vn(`Text introduced U+${e.toString(16).toUpperCase().padStart(4,`0`)} after PDF font resources were written. Track every rendered text run during layout.`);n.codepoints.add(e),!this.suppressCoverageDiagnostics&&(n.source.font.cmap.get(e)??0)===0&&!Jr(e)&&this.missingCodePoints.add(e)}let r=this.noteSubstitution(e.text,kf(n,e.text)),i=r===e.text?e:Nf(r,Mf(r),n);return Object.freeze({text:r,resourceName:n.resourceName,codepoints:i.codepoints,width:i.width,ascent:e.ascent,descent:e.descent})}));return r&&(this.configuredRouteCache.size>=Ff&&this.configuredRouteCache.clear(),this.configuredRouteCache.set(i,l)),l}async prepare(){if(this.config)return;let e=this.embeddedFont?this.getUncoveredFallbackCodePoints():this.type3CodePoints;if(e.size===0)return;let{lookupGlyph:t}=await Promise.resolve().then(()=>(df(),Vd));this.type3PlanningWidths=new Map([...e].map(e=>[e,t(e)?.width??600]))}registerShapedGlyphs(){if(this.embeddedFont&&this.shapableRuns.size!==0)for(let e of this.shapableRuns)for(let t of Af(this.embeddedFont,e).uses)this.usedGlyphUses.set(t.sequence,t),this.usedCodePoints.add(t.codePoint)}appliesShaping(){return this.embeddedFont!==null||this.configuredResourceFaces.size>0}substitutesForms(){if(this.substitutedForms)return!0;if(this.embeddedFont)for(let e of this.shapableRuns){if(this.substitutedForms)break;this.noteSubstitution(e,Af(this.embeddedFont,e).visual)}return this.substitutedForms}noteSubstitution(e,t){return!this.substitutedForms&&t!==e&&!Of(e,t)&&(this.substitutedForms=!0),t}async finalize(){await this.prepare()}beginBuild(){this.resourcesWritten=!1,this._embeddedResult=null,this._type3Result=null;for(let e of this.configuredFaces.values())e.embedded=null}endBuild(){this.resourcesWritten=!1}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.config||un(e)||Jr(e)?!1:!this.embeddedFont||this.embeddedFontIsFallback&&this.fallbackResourceFor(e)===null}measureTextRequest(e,t,n,r,i){if(!this.config)return this.measureText(e,this.resolveFont(t,n,r),i);let a=Ji(this.config);return a.collect({text:e,family:t,bold:n,italic:r}),a.finalize().segments.reduce((e,t)=>e+t.width,0)*i}shapedForDrawing(e){return!this.embeddedFont||ha(e)?e:this.noteSubstitution(e,Af(this.embeddedFont,e).visual)}measureText(e,t,n){if(this.config)return this.routeText(e,t).reduce((e,t)=>e+t.width,0)*n;if(e=this.shapedForDrawing(e),this.embeddedFont&&t===this.embeddedResourceName)return Ef(e,this.embeddedFont,n);if(!(this._type3Result!==null||this.type3PlanningWidths!==null||this.hasFallbackFont())||!dn(e)){let r=this.getPdfFontName(t);return Mi(e,r,n)}let r=0,i=this.getPdfFontName(t);for(let t=0;t<e.length;t++){let a=e.codePointAt(t);a>65535&&t++;let o=String.fromCodePoint(a);if(this.fallbackResourceFor(a)!==null){r+=Ef(o,this.embeddedFont,n);continue}if(un(a))r+=Mi(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{let e=this.type3PlanningWidths?.get(a)??600;r+=e/1e3*n}}}return r}measureTextMetrics(e,t,n){if(!this.config&&this.hasFallbackFont()&&dn(e)){let r=this.measureText(e,t,n),i=0,a=0,o=!1;for(let t of Mf(e))if(this.fallbackResourceFor(t)!==null){let e=this.embeddedFont;i=Math.max(i,e.ascent/e.unitsPerEm*n),a=Math.min(a,e.descent/e.unitsPerEm*n)}else o=!0;return o&&(i=Math.max(i,this.getFontAscent(t,n)),a=Math.min(a,this.getFontDescent(t,n))),{width:r,ascent:i,descent:a,lineHeight:i-a}}let r=this.routeText(e,t);if(r.length===0){let e=this.getFontAscent(t,n),r=this.getFontDescent(t,n);return{width:0,ascent:e,descent:r,lineHeight:e-r}}let i=0,a=0,o=0;for(let e of r)i+=e.width,a=Math.max(a,e.ascent*n),o=Math.min(o,e.descent*n);return{width:i*n,ascent:a,descent:o,lineHeight:a-o}}getFontAscent(e,t){let n=this.resolveConfiguredMetricFace(e);return n?n.source.font.ascent/n.source.font.unitsPerEm*t:this.embeddedFont&&e===this.embeddedResourceName?this.embeddedFont.ascent/this.embeddedFont.unitsPerEm*t:Ni(this.isType3Resource(e)?`Helvetica`:this.getPdfFontName(e),t)}getFontDescent(e,t){let n=this.resolveConfiguredMetricFace(e);return n?n.source.font.descent/n.source.font.unitsPerEm*t:this.embeddedFont&&e===this.embeddedResourceName?this.embeddedFont.descent/this.embeddedFont.unitsPerEm*t:Pi(this.isType3Resource(e)?`Helvetica`:this.getPdfFontName(e),t)}getLineHeight(e,t){let n=this.resolveConfiguredMetricFace(e);if(n){let e=n.source.font;return(e.ascent-e.descent)/e.unitsPerEm*t}if(this.embeddedFont&&e===this.embeddedResourceName){let e=this.embeddedFont;return(e.ascent-e.descent)/e.unitsPerEm*t}return Fi(this.isType3Resource(e)?`Helvetica`:this.getPdfFontName(e),t)}isEmbeddedFont(e){return this.config?this.configuredRequests.has(e)||this.configuredResourceFaces.has(e):this.embeddedFont!==null&&e===this.embeddedResourceName}isType3Resource(e){return this._type3Result?.fontObjects.has(e)??!1}encodeText(e,t){if(e.length===0)return this.config||this.isEmbeddedFont(t)?`<>`:null;if(this.config){let n,r=e;if(this.configuredRequests.has(t)){let i=this.routeText(e,t);if(i.length!==1)throw new vn(`Text spans multiple font faces; encode each routeText segment`);n=this.configuredResourceFaces.get(i[0].resourceName),r=i[0].text}else n=this.configuredResourceFaces.get(t),n&&(r=this.noteSubstitution(e,kf(n,e)));if(!n?.embedded)throw new vn(`encodeText called before writeFontResources — subset mapping not available`);return wf(r,n.embedded)}if(!this.embeddedFont||t!==this.embeddedResourceName)return null;if(this._embeddedResult)return wf(this.shapedForDrawing(e),this._embeddedResult);throw new vn(`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){this.registerShapedGlyphs();let t=/* @__PURE__ */ new Map;if(this.config){for(let[e]of this.configuredRequests){let t=this.configuredRequests.get(e);if(this.routeText(``,e).length===0){let n=Pf(this.config,t),r=this.ensureConfiguredFace(n);this.configuredResourceFaces.set(e,r)}}for(let n of this.configuredFaces.values())n.embedded=ui(e,n.source.font,n.glyphUses.values(),n.resourceName),t.set(n.resourceName,n.embedded.fontObjNum);for(let[e,n]of this.configuredRequests){let r=Pf(this.config,n),i=this.ensureConfiguredFace(r);t.set(e,i.embedded.fontObjNum)}return this.resourcesWritten=!0,t}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=ui(e,this.embeddedFont,this.usedGlyphUses.values(),this.embeddedResourceName);t.set(this.embeddedResourceName,n.fontObjNum),this._embeddedResult=n}let n=/* @__PURE__ */ new Set;if(!this.embeddedFont||this.embeddedFontIsFallback)for(let e of this.type3CodePoints)this.needsType3(e)&&n.add(e);if(n.size>0){let{writeType3Fonts:r}=await Promise.resolve().then(()=>(xf(),ff));this._type3Result=r(e,n,`${this.resourcePrefix}T3F`);for(let[e,n]of this._type3Result.fontObjects)t.set(e,n)}return this.resourcesWritten=!0,t}buildFontDictString(e){let t=[`<<`];for(let[n,r]of e)t.push(`${o(n)} ${l(r)}`);return t.push(`>>`),t.join(`
|
|
45
45
|
`)}getRegisteredFonts(){let e=[];for(let[t,n]of this.type1Map)e.push({resourceName:n,pdfFontName:t});return e}ensureConfiguredFace(e){let t=this.configuredFaces.get(e);return t||(t={source:e,resourceName:`${this.resourcePrefix}EF${this.nextConfiguredFaceId++}`,codepoints:/* @__PURE__ */ new Set,glyphUses:/* @__PURE__ */ new Map,embedded:null},this.configuredFaces.set(e,t),this.configuredResourceFaces.set(t.resourceName,t),this.textFeatures.noteFontTables(e.font.familyName,e.font.tables)),t}resolveConfiguredMetricFace(e){if(!this.config)return null;let t=this.configuredResourceFaces.get(e);if(t)return t;let n=this.configuredRequests.get(e);return n?this.ensureConfiguredFace(Pf(this.config,n)):null}routeLegacyText(e,t){let n=Mf(e),r=this.measureText(e,t,1);return Object.freeze([Object.freeze({text:e,resourceName:t,codepoints:Object.freeze(n),width:r,ascent:this.getFontAscent(t,1),descent:this.getFontDescent(t,1)})])}}}));function Bf(e,t){return null}var Vf=n((()=>{}));function Hf(e,t=[],n){return Bf(e,{families:t,...n===void 0?{}:{language:n},requiresFace:Aa})}var Uf=n((()=>{Na(),Vf()})),Wf,Gf,Kf,qf,Jf,Yf,Xf,Zf,Qf,$f,ep=n((()=>{Wf=1.2,Gf=72/96,Kf={r:.94,g:.94,b:.94},qf={r:.6,g:.6,b:.6},Jf={r:.2,g:.2,b:.2},Yf=.1,Xf={r:1,g:1,b:.88},Zf={r:.4,g:.4,b:.4},Qf={r:.8,g:0,b:0},$f=.01}));function tp(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 np(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 rp,ip,ap,op=n((()=>{rp=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`}),ip=Object.freeze([rp.dk1,rp.lt1,rp.dk2,rp.lt2,rp.accent1,rp.accent2,rp.accent3,rp.accent4,rp.accent5,rp.accent6,rp.hlink,rp.folHlink]),ap=Object.freeze([rp.lt1,rp.dk1,rp.lt2,rp.dk2,rp.accent1,rp.accent2,rp.accent3,rp.accent4,rp.accent5,rp.accent6,rp.hlink,rp.folHlink])}));function sp(e){return!e||e.length<6?null:tp(e)}function cp(e){if(!e)return null;if(e.argb)return sp(e.argb);if(e.theme!==void 0){let t=lp(e.theme);if(!t)return null;let n=e.tint;return n!==void 0&&n!==0?dp(t,n):t}return e.indexed===void 0?null:up(e.indexed)}function lp(e){return e>=0&&e<ap.length?tp(ap[e]):null}function up(e){return e===64?{r:0,g:0,b:0}:e===65?{r:1,g:1,b:1}:e>=0&&e<Sp.length?sp(Sp[e])??null:null}function dp(e,t){return np(e,t)}function fp(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 pp(e){let t=e=>e===null?null:{...e,color:fp(e.color)};return{top:t(e.top),right:t(e.right),bottom:t(e.bottom),left:t(e.left)}}function mp(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:cp(e?.color)??Cp.black}}function hp(e){if(!e)return null;if(e.type===`pattern`){if(e.pattern===`solid`&&e.fgColor)return cp(e.fgColor);if(e.pattern===`none`)return null;if(e.fgColor)return cp(e.fgColor)}return e.type===`gradient`&&e.stops&&e.stops.length>0?cp(e.stops[0].color):null}function gp(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 _p(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 vp(e){return!e||!e.style?null:{width:gp(e.style),color:cp(e.color)??Cp.black,dashPattern:_p(e.style),isDouble:e.style===`double`}}function yp(e){return e?{top:vp(e.top),right:vp(e.right),bottom:vp(e.bottom),left:vp(e.left)}:{top:null,right:null,bottom:null,left:null}}function bp(e){if(!e?.horizontal)return`left`;switch(e.horizontal){case`center`:case`centerContinuous`:return`center`;case`right`:return`right`;default:return`left`}}function xp(e){if(!e?.vertical)return`bottom`;switch(e.vertical){case`top`:return`top`;case`middle`:return`middle`;default:return`bottom`}}var Sp,Cp,wp=n((()=>{op(),Sp=/* @__PURE__ */ `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(`.`),Cp={black:{r:0,g:0,b:0},white:{r:1,g:1,b:1},gridLine:{r:.816,g:.816,b:.816}}}));function Tp(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 Ep(e,t,n,r){let i=new fn,a=/* @__PURE__ */ new Set;t.showGridLines&&jp(i,e,t);for(let t of e.cells)t.fillColor&&Mp(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)Fp(i,t);let o=e.scaleFactor;for(let t of e.cells)(t.text||t.richText)&&Lp(i,t,n,a,o);t.showRowColHeaders&&pm(i,e,t,n),e.commentBoxes?.length&&mm(i,e,t,n);let s=Dp(e,`header`),c=Dp(e,`footer`);return s===void 0?t.showSheetNames&&hm(i,e,t,n):s&&cm(i,e,t,n,s,`header`),c===void 0?t.showPageNumbers&&gm(i,e,t,n,r):c&&cm(i,e,t,n,c,`footer`),{stream:i,alphaValues:a}}function Dp(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 Op(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 Ap(e,t.options.headerFooterLocale,`date`)}case`time`:{let e=t.options.headerFooterDate;return Ap(e,t.options.headerFooterLocale,`time`)}default:return``}}function kp(e,t){return e.fontFamily||t.options.defaultFontFamily}function Ap(e,t,n){let r=n===`date`?Tm:Em;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 jp(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 Mp(e,t,n){if(!t.fillColor)return;let r=t.fillColor.a;if(r!==void 0&&r<1){let i=em(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 Np(e){return typeof e==`number`?e<=90?e:-(e-90):0}function Pp(e,t){let n=Np(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 Fp(e,t){let{rect:n,borders:r,textRotation:i}=t,{x:a,y:o,width:s,height:c}=n,l=Pp(i,c);r.top&&Ip(e,r.top,a+l,o+c,a+s+l,o+c,!0),r.bottom&&Ip(e,r.bottom,a,o,a+s,o,!0),r.left&&Ip(e,r.left,a,o,a+l,o+c,!1),r.right&&Ip(e,r.right,a+s,o,a+s+l,o+c,!1)}function Ip(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 Lp(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=Tp(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=Pp(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(em(_))),t.textRotation===`vertical`){$p(e,t,n,m,i),e.restore();return}if(typeof t.textRotation==`number`&&t.textRotation!==0){zp(e,t,n,m,i),e.restore();return}if(t.richText&&t.richText.length>0){Rp(e,t,n,m,i),e.restore();return}let v=n.resolveFont(t.fontFamily,t.bold,t.italic),y=e=>n.measureText(e,v,s),b=f-m,x=u?am(o,y,b):o.split(/\r?\n/),S=s*Wf,C=x.map(e=>n.measureTextMetrics(e,v,s)),w=-1/0,T=1/0;for(let e=0;e<C.length;e++){let t=-e*S;w=Math.max(w,t+C[e].ascent),T=Math.min(T,t+C[e].descent)}let E=w,ee=tm(l,a,w-T,E,d.top,d.bottom);e.setFillColor(t.textColor);let te=n.hasType3Fonts()&&!n.hasEmbeddedFont();for(let t=0;t<x.length;t++){let r=x[t],i=ee-t*S;Qp(e,r,rm(c,a,C[t].width,m,d.left,d.right),i,v,s,n,te)}im(e,t,x,S,ee,y,v,n,m,d),e.restore()}function Rp(e,t,n,r,i=1){let{rect:a,horizontalAlign:o,verticalAlign:s,wrapText:c}=t,l=t.richText,u=Tp(t,i),d=e=>n.resolveFont(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(``),f=[];for(let e=0;e<l.length;e++)for(let t=0;t<l[e].text.length;t++)f.push(e);let p=l.map(e=>d(e)),m=sm(c,f,l.map(e=>e.fontSize),p,n,i),h=[],g=[],_=[];for(let e of m){let r=t.fontSize;for(let t=e.start;t<e.end;t++){let e=f[t]??0;l[e].fontSize>r&&(r=l[e].fontSize)}let i=0,a=0;if(e.start===e.end){let t=f[e.start]??f[e.start-1]??0;r=Math.max(r,l[t].fontSize);let o=n.measureTextMetrics(``,p[t],l[t].fontSize);i=o.ascent,a=o.descent}for(let t=e.start;t<e.end;){let r=f[t]??0,o=t+1;for(;o<e.end&&f[o]===r;)o++;let s=n.measureTextMetrics(c.slice(t,o),p[r],l[r].fontSize);i=Math.max(i,s.ascent),a=Math.min(a,s.descent),t=o}g.push(i),_.push(a),h.push(Math.max(r*Wf,i-a))}let v=-1/0,y=1/0,b=0;for(let e=0;e<h.length;e++)v=Math.max(v,b+g[e]),y=Math.min(y,b+_[e]),b-=h[e];let x=v,S=tm(s,a,v-y,x,u.top,u.bottom),C=0;for(let t=0;t<m.length;t++){let i=S-C;C+=h[t];let{start:s,end:d}=m[t],g=[];for(let e=s;e<d;e++){let t=f[e]??f.length-1,n=g[g.length-1];n&&n.run===l[t]?n.text+=c[e]:g.push({run:l[t],text:c[e],resourceName:p[t]})}let _=0;for(let e of g)_+=n.measureText(e.text,e.resourceName,e.run.fontSize);let v=rm(o,a,_,r,u.left,u.right),y=n.hasType3Fonts()&&!n.hasEmbeddedFont();for(let t of g){let{run:r,text:a,resourceName:o}=t;e.setFillColor(r.textColor);let s=Qp(e,a,v,i,o,r.fontSize,n,y);if(r.strike){let t=i+n.measureTextMetrics(a,o,r.fontSize).descent+r.fontSize*.3;e.drawLine(v,t,v+s,t,r.textColor,.5)}if(r.underline){let t=i+n.measureTextMetrics(a,o,r.fontSize).descent*.5;e.drawLine(v,t,v+s,t,r.textColor,.5)}v+=s}}return}let f=0,p=[];for(let e of l){let t=d(e),r=n.measureTextMetrics(e.text,t,e.fontSize);p.push({resourceName:t,...r}),f+=r.width}let m=Math.max(...p.map(e=>e.ascent)),h=tm(s,a,m-Math.min(...p.map(e=>e.descent)),m,u.top,u.bottom),g=rm(o,a,f,r,u.left,u.right),_=n.hasType3Fonts()&&!n.hasEmbeddedFont();for(let t=0;t<l.length;t++){let r=l[t],{resourceName:i}=p[t];e.setFillColor(r.textColor);let a=Qp(e,r.text,g,h,i,r.fontSize,n,_);if(r.strike){let n=h+p[t].descent+r.fontSize*.3;e.drawLine(g,n,g+a,n,r.textColor,.5)}if(r.underline){let n=h+p[t].descent*.5;e.drawLine(g,n,g+a,n,r.textColor,.5)}g+=a}}function zp(e,t,n,r,i=1){let{rect:a,wrapText:o}=t,{fontSize:s}=t,c=Tp(t,i),l=n.resolveFont(t.fontFamily,t.bold,t.italic),u=Np(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?am(t.text,y,Math.max(v-1,1)):t.text.split(/\r?\n/);let x=e=>{let t=e*Wf,r=b.map(t=>n.measureTextMetrics(t,l,e)),i=r.map(e=>e.width),a=1/0,o=-1/0;for(let e=0;e<r.length;e++)a=Math.min(a,e*t-r[e].ascent),o=Math.max(o,e*t-r[e].descent);return{lineHeight:t,boundsAt:(e,n)=>{let a=1/0,o=-1/0,s=1/0,c=-1/0;for(let l=0;l<r.length;l++){let u=i[l]/2,d=-(l-(r.length-1)/2)*t;for(let t of[-u,u])for(let i of[d+r[l].descent,d+r[l].ascent]){let r=t*e-i*n,l=t*n+i*e;a=Math.min(a,r),o=Math.max(o,r),s=Math.min(s,l),c=Math.max(c,l)}}return{width:o-a,height:c-s,centerX:(a+o)/2,centerY:(s+c)/2}},ccwLeft:a,ccwRight:o}},S=x(s);if(!o){let{width:e,height:t}=S.boundsAt(f,p);if(g>0&&_>0&&(e>g||t>_)){let n=Math.min(g/e,_/t);n<1&&(s*=n,S=x(s))}}let C=Math.abs(u-90)<.01,w=Math.abs(u+90)<.01;e.setFillColor(t.textColor),C?Bp(e,t,b,n,l,s,S,c):w?Vp(e,t,b,n,l,s,S,c):Hp(e,t,b,n,l,s,S,f,p,r)}function Bp(e,t,n,r,i,a,o,s){let{rect:c,horizontalAlign:l,verticalAlign:u}=t,{lineHeight:d,ccwLeft:f,ccwRight:p}=o,m;m=l===`center`?c.x+c.width/2-(f+p)/2:l===`right`?c.x+c.width-s.right-p:c.x+s.left-f;for(let t=0;t<n.length;t++){let o=n[t],l=r.measureText(o,i,a),f=m+t*d,p;p=u===`top`?c.y+c.height-s.top-l:u===`middle`?c.y+(c.height-l)/2:c.y+s.bottom,p=Math.max(p,c.y+s.bottom),Gp(e,r,{text:o,matrix:[0,1,-1,0,f,p],resourceName:i,fontSize:a})}}function Vp(e,t,n,r,i,a,o,s){let{rect:c,horizontalAlign:l,verticalAlign:u}=t,{lineHeight:d,ccwLeft:f,ccwRight:p}=o,m=-p,h=-f,g;g=l===`center`?c.x+c.width/2-(m+h)/2:l===`right`?c.x+c.width-s.right-h:c.x+s.left-m;for(let t=0;t<n.length;t++){let o=n[t],l=r.measureText(o,i,a),f=g-t*d,p;p=u===`top`?c.y+c.height-s.top:u===`middle`?c.y+(c.height+l)/2:c.y+s.bottom+l,p=Math.min(p,c.y+c.height-s.top),Gp(e,r,{text:o,matrix:[0,-1,1,0,f,p],resourceName:i,fontSize:a})}}function Hp(e,t,n,r,i,a,o,s,c,l){let{rect:u,horizontalAlign:d,verticalAlign:f}=t,{lineHeight:p}=o,m=Tp(t),{width:h,height:g,centerX:_,centerY:v}=o.boundsAt(s,c),y=Pp(t.textRotation,u.height)/2,b=d===`left`?l/2:d===`right`?-l/2:0,x;x=f===`top`?u.y+u.height-m.top-g/2:f===`bottom`?u.y+m.bottom+g/2:u.y+u.height/2;let S=u.height>0?(x-u.y)/u.height:.5,C=y*2*S,w;w=d===`right`?u.x+u.width-m.right-h/2+b+C:d===`left`?u.x+m.left+h/2+b+C:u.x+u.width/2+b+C;for(let t=0;t<n.length;t++){let o=n[t],l=r.measureText(o,i,a),u=(t-(n.length-1)/2)*p,d=-l/2,f=-u,m=w+d*s-f*c-_,h=x+d*c+f*s-v;Gp(e,r,{text:o,matrix:[s,c,-c,s,m,h],resourceName:i,fontSize:a})}}function Up(e,t,n,r,i=0,a=0){let o=t.encodeText(n,r);if(o===null){e.showText(n);return}if(i!==0&&a>0&&n.includes(` `)){e.showTextHexWithAdjustments(Wp(t,n,r,i,a));return}e.showTextHex(o)}function Wp(e,t,n,r,i){let a=-r/i*1e3,o=[],s=0;for(let r=0;r<t.length;r++){if(t[r]!==` `)continue;let i=t.slice(s,r+1),c=e.encodeText(i,n);c!==null&&o.push(c),o.push(a),s=r+1}if(s<t.length){let r=e.encodeText(t.slice(s),n);r!==null&&o.push(r)}return o}function Gp(e,t,n){let[r,i,a,o,s,c]=n.matrix;e.deferred(()=>Yp(n.text,r,i,a,o,s,c,n.resourceName,n.fontSize,t,n.renderingMode??0),()=>t.trackText(n.text,n.resourceName))}function Kp(e,t,n){let r=t.type1ResourceName,i=()=>(r??=n.resolveFont(t.fontFamily??`Helvetica`,t.bold??!1,t.italic??!1),r);e.deferred(()=>qp({...t,type1ResourceName:i()},n),()=>n.trackText(t.text,i()))}function qp(e,t){let{text:n,x:r,y:i,type1ResourceName:a,fontSize:o,anchor:c,maxWidth:l,lineHeightFactor:u,rotation:d}=e,f=e.charSpacing??0,p=e.wordSpacing??0,m=t.resolveRenderResourceName(a),h=e=>t.measureText(e,m,o)+Jp(e,f,p),g=l?am(n,h,l):[n],_=o*u,v=d*Math.PI/180,y=d===0?1:Math.cos(v),b=d===0?0:Math.sin(v),x=c===`middle`?.5:+(c===`end`),S=[];for(let e=0;e<g.length;e++){let n=x===0?0:-h(g[e])*x,s=-e*_,c=r+n*y+s*-b,l=i+n*b+s*y;S.push(Yp(g[e],y,b,-b,y,c,l,a,o,t,0,f,p))}let C=S.join(`
|
|
46
46
|
`);return f===0&&p===0?C:`${s(f)} Tc ${s(p)} Tw\n${C}\n0 Tc 0 Tw`}function Jp(e,t,n){if(t===0&&n===0)return 0;let r=0;for(let t of e)t===` `&&r++;return r*n+t*(Yr(e)-r)}function Yp(e,t,n,r,i,a,o,s,c,l,u=0,d=0,f=0){let p=new fn,m=l.routeText(e,s);if(m.some(e=>e.resourceName!==s)){let e=a,s=o;for(let a of m){p.beginText(),u!==0&&p.setTextRenderingMode(u),p.setFont(a.resourceName,c),p.setTextMatrix(t,n,r,i,e,s),Up(p,l,a.text,a.resourceName,f,c),p.endText();let o=a.width*c+Jp(a.text,d,f);e+=t*o,s+=n*o}return p.toString()}if(!l.hasType3Fonts()&&!l.hasFallbackFont()||l.hasEmbeddedFont()&&!l.hasFallbackFont()){let d=l.resolveRenderResourceName(s);return p.beginText(),u!==0&&p.setTextRenderingMode(u),p.setFont(d,c),p.setTextMatrix(t,n,r,i,a,o),Up(p,l,e,d,f,c),p.endText(),p.toString()}let h=Zp(e,l),g=a,_=o;for(let e of h){let a=e.resourceName??s;p.beginText(),u!==0&&p.setTextRenderingMode(u),p.setFont(a,c),p.setTextMatrix(t,n,r,i,g,_),e.type3Hex===null?Up(p,l,e.text,a,f,c):p.showTextHex(e.type3Hex),p.endText();let o=l.measureText(e.text,a,c)+Jp(e.text,d,f);g+=t*o,_+=n*o}return p.toString()}function Xp(e){let t=``;for(let n of e)Jr(n.codePointAt(0))||(t+=n);return t}function Zp(e,t){let n=[],r=``,i=null,a=!1,o=[],s=()=>{if(!r)return;let e=a&&i!==null?t.encodeType3Run(o,i):null,s=!a||e!==null;n.push({text:r,resourceName:s?i:null,type3Hex:e}),r=``,i=null,a=!1,o=[]};for(let n of Lr(e)){let e=n.codePointAt(0);for(let t of n){let n=t.codePointAt(0);if(!Jr(n)){e=n;break}}let c=t.fallbackResourceFor(e),l=c===null&&t.needsType3(e),u=c??(l?t.resolveType3(e)?.resourceName??null:null);if((u!==i||u!==null&&l!==a)&&(s(),i=u,a=u!==null&&l),r+=u===null?Xp(n):n,a)for(let e of n){let t=e.codePointAt(0);Jr(t)||o.push(t)}}return s(),n}function Qp(e,t,n,r,i,a,o,s){return Gp(e,o,{text:t,matrix:[1,0,0,1,n,r],resourceName:i,fontSize:a}),o.measureText(t,i,a)}function $p(e,t,n,r,i=1){let{rect:a,text:o,fontSize:s,horizontalAlign:c,verticalAlign:l}=t,u=Tp(t,i),d=n.resolveFont(t.fontFamily,t.bold,t.italic),f=s*Dm.CHAR_ADVANCE,{ascent:p,descent:m}=n.measureTextMetrics(o,d,s),h=o.split(/\r?\n/),g=s*Dm.COLUMN_PITCH,_=h.length*g,v;v=c===`center`?a.x+a.width/2-_/2+g/2:c===`right`?a.x+a.width-u.right-_+g/2:a.x+u.left+g/2,e.setFillColor(t.textColor);for(let t=0;t<h.length;t++){let r=h[t],i=v+t*g,o=tm(l,a,nm(r.length,f,p,m),p,u.top,u.bottom);for(let t of r){if(o<a.y+u.bottom)break;Gp(e,n,{text:t,matrix:[1,0,0,1,i-n.measureText(t,d,s)/2,o],resourceName:d,fontSize:s}),o-=f}}}function em(e,t=``){return`${t}GS${Math.round(e*1e4)}`}function tm(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 nm(e,t,n,r){return Math.max(0,e-1)*t+(n-r)}function rm(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 im(e,t,n,r,i,a,o,s,c,l){if(t.strike){let u=i+s.measureTextMetrics(n[0]??``,o,t.fontSize).descent+t.fontSize*.3;for(let i=0;i<n.length;i++){let o=u-i*r,s=a(n[i]),d=rm(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.measureTextMetrics(n[0]??``,o,t.fontSize).descent*.5;for(let o=0;o<n.length;o++){let s=i-o*r+u,d=a(n[o]),f=rm(t.horizontalAlign,t.rect,d,c,l?.left,l?.right);e.drawLine(f,s,f+d,s,t.textColor,.5)}}}function am(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=Kr(e),a=``,o=0;for(let e of r){let r=e.trimEnd(),s=t(r),c=r.length===e.length?s:t(e);if(!a){a=e,o=c;continue}o+s<=n?(a+=e,o+=c):(i.push(a.trimEnd()),r===``?(a=``,o=0):(a=e,o=c))}a&&i.push(a.trimEnd())}return i.length>0?i:[``]}function om(e,t,n,r,i,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=e.slice(c,u);s+=i.measureText(t,r[l],n[l]),c=u,l=a}}return s}function sm(e,t,n,r,i,a){if(!e)return[{start:0,end:0}];let o=(a,o)=>om(e,t,n,r,i,a,o),s=[],c=0,l=e.length;for(;c<=l;){let t=e.indexOf(`
|
|
47
47
|
`,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=ni(e.slice(c,n)),i=r.map(e=>e.start),u=r.map(e=>e.visibleEnd),d=c,f=c,p=0;for(let e=0;e<i.length;e++){let t=c+i[e],n=c+u[e];if(f===d){f=n,p=o(t,n);continue}let r=o(f,n);p+r<=a?(f=n,p+=r):(s.push({start:d,end:f}),d=t,f=n,p=o(t,n))}if((f>d||i.length===0)&&s.push({start:d,end:Math.max(f,d)}),c=t+1,t===l)break}return s.length>0?s:[{start:0,end:0}]}function cm(e,t,n,r,i,a){let o=t.headerFooter?.alignWithMargins!==!1,s=o?n.margins.left:Om.UNPINNED_EDGE_INSET,c=o?t.width-n.margins.right:t.width-Om.UNPINNED_EDGE_INSET,l=t.width/2,u=a===`header`?t.height-n.headerMargin-lm(i)*Om.ASCENT_RATIO:n.footerMargin-lm(i)*Om.DESCENT_RATIO;um(e,t,r,i.left,s,u,`left`,a),um(e,t,r,i.center,l,u,`center`,a),um(e,t,r,i.right,c,u,`right`,a)}function lm(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 um(e,t,n,r,i,a,o,s){let c=[[]];for(let e of r.filter(e=>e.field!==`image`)){let n=Op(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,lm({left:r,center:[],right:[]}))*Wf,u=s===`footer`?a+(c.length-1)*l:a;for(let r=0;r<c.length;r++){let a=dm(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*Om.SUPERSCRIPT_RISE:i.subscript?-s*Om.SUBSCRIPT_DROP:0,u=t.options.blackAndWhite,p=i.color??{r:0,g:0,b:0},m=u?fp(p):p;e.save(),e.setFillColor(m),e.setStrokeColor(m),e.setLineWidth(Math.max(.25,s*Om.OUTLINE_WIDTH_RATIO)),i.shadow&&(e.setFillColor(km),Gp(e,n,{text:a,matrix:[1,0,0,1,d+1,f+l-1],resourceName:o,fontSize:s}),e.setFillColor(m)),Gp(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*Om.STRIKE_RATIO;e.drawLine(d,t,d+c,t,m,h)}e.restore(),d+=c}}}function dm(e,t,n){return e.map(({run:e,text:r})=>{let i=n.resolveFont(kp(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 fm(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 pm(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.resolveFont(n.defaultFontFamily,!1,!1),l=Kf,u=qf,d=Jf,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=r.getFontAscent(c,s),y=r.getFontDescent(c,s),b=(e,t)=>e+t/2-(v+y)/2;for(let n=0;n<t.sheetCols.length;n++){let i=fm(t.sheetCols[n]),a=r.measureText(i,c,s);Gp(e,r,{text:i,matrix:[1,0,0,1,t.columnOffsets[n]+(t.columnWidths[n]-a)/2,b(h,o)],resourceName:c,fontSize:s})}for(let n=0;n<t.sheetRows.length;n++){let i=String(t.sheetRows[n]),o=r.measureText(i,c,s),l=t.rowHeights[n];Gp(e,r,{text:i,matrix:[1,0,0,1,f-a+(a-o)/2,b(t.rowYPositions[n]-l,l)],resourceName:c,fontSize:s})}e.restore()}function mm(e,t,n,r){let i=t.commentBoxes;if(!i?.length)return;let a=n.blackAndWhite,o=a?fp(Xf):Xf,s=a?fp(Zf):Zf,c=a?fp(Qf):Qf,l=r.resolveFont(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*Wf,u=Math.max(n.width-6,1),d=e=>r.measureText(e,l,t.fontSize),f=t.text.split(`
|
|
48
48
|
`).flatMap(e=>am(e,d,u));e.setFillColor(a?fp({r:0,g:0,b:0}):{r:0,g:0,b:0});let p=r.measureTextMetrics(f[0]??``,l,t.fontSize).ascent,m=n.y+n.height-2-p;e.save(),e.rect(n.x,n.y,n.width,n.height).clip().endPath();for(let a of f){let o=r.measureTextMetrics(a,l,t.fontSize).descent;if(m+o<n.y+2)break;Gp(e,r,{text:a,matrix:[1,0,0,1,n.x+3,m],resourceName:l,fontSize:t.fontSize}),m-=i}if(e.restore(),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 hm(e,t,n,r){let i=t.sheetName,a=r.resolveFont(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}),Gp(e,r,{text:i,matrix:[1,0,0,1,s,c],resourceName:a,fontSize:10}),e.restore()}function gm(e,t,n,r,i){let a=`Page ${t.pageNumber} of ${i}`,o=r.resolveFont(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}),Gp(e,r,{text:a,matrix:[1,0,0,1,c,l],resourceName:o,fontSize:9}),e.restore()}function _m(e,t,n,r){return n.type===`text`?xm(e,t,vm(n),r):Sm(e,t,ym(n))}function vm(e){return{...e,opacity:bm(e.opacity??Am.opacity),fontSize:Math.max(1,e.fontSize??Am.fontSize),repeatSpacingX:Math.max(Mm,e.repeatSpacingX??Am.repeatSpacingX),repeatSpacingY:Math.max(Mm,e.repeatSpacingY??Am.repeatSpacingY)}}function ym(e){return{...e,opacity:bm(e.opacity??jm.opacity),scale:Math.max(.01,e.scale??jm.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(Mm,e.repeatSpacingX??jm.repeatSpacingX),repeatSpacingY:Math.max(Mm,e.repeatSpacingY??jm.repeatSpacingY)}}function bm(e){return Math.max(0,Math.min(1,e))}function xm(e,t,n,r){let i=n.fontSize??Am.fontSize,a=n.color??Am.color,o=t.options.blackAndWhite?fp(a):a,s=n.opacity??Am.opacity,c=n.rotation??Am.rotation,l=n.fontFamily??Am.fontFamily,u=n.bold??Am.bold,d=n.italic??Am.italic,f=r.resolveFont(l,u,d),p=r.measureTextMetrics(n.text,f,i),m=p.width,h=(p.ascent+p.descent)/2,g=c*Math.PI/180,_=Math.cos(g),v=Math.sin(g),y=s<1,b=y?em(s):``,x=(t,a)=>{let s=m/2,c=t-s*_+h*v,l=a-s*v-h*_;e.save(),y&&e.setGraphicsState(b),e.setFillColor(o),Gp(e,r,{text:n.text,matrix:[_,v,-v,_,c,l],resourceName:f,fontSize:i}),e.restore()};if(n.repeat){let e=n.repeatSpacingX??Am.repeatSpacingX,r=n.repeatSpacingY??Am.repeatSpacingY;wm(t.width,t.height,e,r,x)}else{let{cx:e,cy:r}=Cm(t,n.position);x(e,r)}return{alphaValues:y?[s]:[],imageXObjects:[]}}function Sm(e,t,n){let r=n.opacity??jm.opacity,i=n.rotation??jm.rotation,a=n.scale??jm.scale,o=r<1,s,c;if(n.width!==void 0&&n.height!==void 0)s=n.width,c=n.height;else{let e=ct(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?em(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??jm.repeatSpacingX,r=n.repeatSpacingY??jm.repeatSpacingY;wm(t.width,t.height,e,r,m)}else{let{cx:e,cy:r}=Cm(t,n.position);m(e,r)}return{alphaValues:o?[r]:[],imageXObjects:[{name:p,data:n.data,format:n.format}]}}function Cm(e,t){return!t||t===`center`?{cx:e.width/2,cy:e.height/2}:{cx:t.x,cy:t.y}}function wm(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 Tm,Em,Dm,Om,km,Am,jm,Mm,Nm=n((()=>{gt(),m(),mn(),ep(),wp(),li(),zr(),Tm={year:`numeric`,month:`numeric`,day:`numeric`},Em={hour:`numeric`,minute:`2-digit`},Dm={CHAR_ADVANCE:1.3,COLUMN_PITCH:1.4},Om={ASCENT_RATIO:.75,DESCENT_RATIO:.25,SUPERSCRIPT_RISE:.35,SUBSCRIPT_DROP:.2,STRIKE_RATIO:.3,OUTLINE_WIDTH_RATIO:1/30,UNPINNED_EDGE_INSET:18},km={r:.5,g:.5,b:.5},Am={fontSize:54,color:{r:.75,g:.75,b:.75},opacity:.15,rotation:-45,fontFamily:`Helvetica`,bold:!1,italic:!1,repeatSpacingX:200,repeatSpacingY:200},jm={opacity:.15,rotation:0,scale:.5,repeatSpacingX:200,repeatSpacingY:200},Mm=10}));function Pm(e){let t={},n=e.length,r=0;for(;r<n;){for(;r<n&&!Fm(e.charCodeAt(r));)r++;if(r>=n)break;let i=r;for(;r<n&&Fm(e.charCodeAt(r));)r++;let a=e.slice(i,r),o=r;for(;o<n&&Im(e.charCodeAt(o));)o++;if(o>=n||e.charCodeAt(o)!==61)continue;for(o++;o<n&&Im(e.charCodeAt(o));)o++;let s=e.charCodeAt(o);if(s!==34&&s!==39){r=o;continue}o++;let c=o;for(;o<n&&e.charCodeAt(o)!==s;)o++;t[a]=e.slice(c,o),r=o<n?o+1:o}return t}function Fm(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===95||e===58||e===45}function Im(e){return e===32||e===9||e===10||e===13}function Lm(e){if(!e)return[];let t=[];for(let n of e.trim().split(/[\s,]+/)){if(n===``)continue;let e=Number(n);Number.isFinite(e)&&t.push(e)}return t}function Rm(e){if(!e)return;let t=e.trim();if(t===``||t===`none`||t===`transparent`)return;let n=/^rgba?\(([^)]*)\)$/i.exec(t);if(n)return zm(n[1]);let r=t.startsWith(`#`)?t.slice(1):t;if(!/^[0-9a-fA-F]+$/.test(r))return;let i=e=>Number.parseInt(r[e]+r[e],16)/255,a=e=>Number.parseInt(r.slice(e,e+2),16)/255;switch(r.length){case 3:return{r:i(0),g:i(1),b:i(2),a:1};case 4:return{r:i(0),g:i(1),b:i(2),a:i(3)};case 6:return{r:a(0),g:a(2),b:a(4),a:1};case 8:return{r:a(0),g:a(2),b:a(4),a:a(6)};default:return}}function zm(e){let t=e.trim().split(/[\s,/]+/).filter(e=>e!==``);if(t.length<3||t.length>4)return;let n=e=>{let t=Number.parseFloat(e);if(Number.isFinite(t))return Bm(e.endsWith(`%`)?t/100:t/255)},r=n(t[0]),i=n(t[1]),a=n(t[2]);if(r===void 0||i===void 0||a===void 0)return;let o=1;if(t.length===4){let e=Number.parseFloat(t[3]);if(!Number.isFinite(e))return;o=Bm(t[3].endsWith(`%`)?e/100:e)}return{r,g:i,b:a,a:o}}function Bm(e){return e<0?0:e>1?1:e}function Vm(e){if(!e)return;let t=/rotate\(([^)]*)\)/i.exec(e);if(!t)return;let n=Lm(t[1]);if(n.length!==0)return{angle:n[0],cx:n[1]??0,cy:n[2]??0}}function Hm(e,t=0){if(!e.includes(`<tspan`))return[{text:Wm(e),dy:0}];let n=[],r=/<tspan\b([^>]*)>([\s\S]*?)<\/tspan>/g,i,a=0,o=0,s=e=>{let t=Wm(e);t.trim()!==``&&n.push({text:t,dy:a})};for(;(i=r.exec(e))!==null;){s(e.slice(o,i.index)),o=i.index+i[0].length;let r=Pm(i[1]);a+=Um(r.dy,t);let c=r.x===void 0?NaN:Number.parseFloat(r.x);n.push({text:Wm(i[2]),...Number.isFinite(c)?{x:c}:{},dy:a})}return s(e.slice(o)),n.length>0?n:[{text:Wm(e),dy:0}]}function Um(e,t){if(e===void 0)return 0;let n=Number.parseFloat(e);if(!Number.isFinite(n))return 0;let r=e.trim();return r.endsWith(`em`)?n*t:r.endsWith(`%`)?n/100*t:n}function Wm(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 Gm(t)}function Gm(e){return e.includes(`&`)?e.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}let i=n===void 0?Number.parseInt(r,10):Number.parseInt(n,16),a=i>=55296&&i<=57343;return Number.isFinite(i)&&i>=0&&i<=1114111&&!a?String.fromCodePoint(i):e}):e}var Km=n((()=>{})),qm=/* @__PURE__ */ r({asn1Parse:()=>Ym,buildCmsSignedData:()=>ch,buildSignatureDictPlaceholder:()=>uh,parseCmsSignedData:()=>sh,signPdf:()=>dh,verifyPdfSignature:()=>lh});function Jm(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&Sh)!==0){let t=i;for(;t<a;){let n=Jm(e,t);s.push(n.node),t=n.end}}return{node:{tag:n,bytes:o,children:s},end:a}}function Ym(e){return Jm(e,0).node}function Xm(e){let t=[],n=0;for(;n<e.length;){let r=Jm(e,n);t.push(r.node),n=r.end}return t}function Zm(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 Qm(e,t){let n=Zm(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 $m(...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 Qm(Dh,n)}function eh(...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 Qm(Oh,n)}function th(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 Qm(Eh,new Uint8Array(n))}function nh(e){if(e.length>0&&e[0]&128){let t=new Uint8Array(e.length+1);return t.set(e,1),Qm(Ch,t)}return Qm(Ch,e)}function rh(e){return Qm(wh,e)}function ih(e,t){return Qm(160|e,t)}function ah(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 oh(e){let t=Ym(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!==Dh)throw Error(`Invalid X.509 certificate: missing SubjectPublicKeyInfo`);return Qm(r.tag,r.bytes)}function sh(e){let t=Ym(e);if(t.tag!==Dh||t.children.length<2)throw Error(`Invalid PKCS#7: not a ContentInfo SEQUENCE`);let n=t.children[0],r=ah(n.bytes);if(r!==kh)throw Error(`Invalid PKCS#7: expected SignedData OID, got ${r}`);let i=t.children[1].children[0];if(!i||i.tag!==Dh)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=Qm(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===Oh){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?ah(l.children[0]?.bytes??/* @__PURE__ */ new Uint8Array):``,d=/* @__PURE__ */ new Uint8Array,f=/* @__PURE__ */ new Uint8Array;for(let e of c)if((e.tag&240)==160&&!(e.tag&15)){d=Qm(Oh,e.bytes);let t=Xm(e.bytes);for(let e of t)if(!(e.tag!==Dh||e.children.length<2)&&ah(e.children[0].bytes)===Ph){let t=e.children[1];t.children.length>0&&(f=new Uint8Array(t.children[0].bytes))}break}let p=/* @__PURE__ */ new Uint8Array;for(let e=c.length-1;e>=0;e--)if(c[e].tag===wh){p=new Uint8Array(c[e].bytes);break}return{certificate:o,signature:p,digestAlgorithmOid:u,signedAttrsRaw:d,messageDigest:f}}async function ch(e){let{certificate:t,privateKey:n,data:r}=e,i=jt(r),a=bh(/* @__PURE__ */ new Date),o=$m(th(Nh),eh(th(Ah))),s=$m(th(Ph),eh(rh(i))),c=vh(o,$m(th(Fh),eh(Qm(23,new TextEncoder().encode(a)))),s),l=await Rt(n,Qm(Oh,c)),u=Qm(160,c),d=Ym(t),f=d.children[0],p,m;f.children[0]&&(f.children[0].tag&224)==160?(m=Qm(f.children[1].tag,f.children[1].bytes),p=Qm(f.children[3].tag,f.children[3].bytes)):(m=Qm(f.children[0].tag,f.children[0].bytes),p=Qm(f.children[2].tag,f.children[2].bytes));let h=$m(nh(new Uint8Array([1])),$m(p,m),$m(th(jh),Qm(Th,/* @__PURE__ */ new Uint8Array)),u,$m(th(Mh),Qm(Th,/* @__PURE__ */ new Uint8Array)),rh(l)),g=$m(nh(new Uint8Array([1])),eh($m(th(jh),Qm(Th,/* @__PURE__ */ new Uint8Array))),$m(th(Ah)),ih(0,Qm(d.tag,d.bytes)),eh(h));return $m(th(kh),ih(0,g))}async function lh(e,t,n){try{let r=sh(fh(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),!mh(gh(r.digestAlgorithmOid,u),r.messageDigest))return{valid:!1,coversWholeFile:hh(n,e.length),digestAlgorithm:r.digestAlgorithmOid,reason:`Message digest mismatch — PDF content was modified after signing`};let d=await Lt(oh(r.certificate),r.signature,r.signedAttrsRaw);return{valid:d,coversWholeFile:hh(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 uh(e){let t=`0`.repeat(Ih*2),n=`<< /Type /Sig /Filter /Adobe.PPKLite /SubFilter /adbe.pkcs7.detached`;n+=` /Contents <${t}>`,n+=` /ByteRange [0 0000000000 0000000000 0000000000]`,e?.name&&(n+=` /Name (${yh(e.name)})`),e?.reason&&(n+=` /Reason (${yh(e.reason)})`),e?.location&&(n+=` /Location (${yh(e.location)})`),e?.contactInfo&&(n+=` /ContactInfo (${yh(e.contactInfo)})`);let r=xh(/* @__PURE__ */ new Date);return n+=` /M (${r})`,n+=` >>`,{dictString:n,placeholder:t}}async function dh(e,t,n){let r=new Uint8Array(e),i=_h(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=ph(await ch({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 fh(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 ph(e){let t=``;for(let n=0;n<e.length;n++)t+=e[n].toString(16).padStart(2,`0`);return t}function mh(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 hh(e,t){return e[0]===0&&e[2]+e[3]===t}function gh(e,t){switch(e){case`1.3.14.3.2.26`:return It(`SHA-1`,t);case jh:return jt(t);case`2.16.840.1.101.3.4.2.2`:return It(`SHA-384`,t);case`2.16.840.1.101.3.4.2.3`:return It(`SHA-512`,t);case`1.2.840.113549.2.5`:return Nt(t);default:return jt(t)}}function _h(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 vh(...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 yh(e){return e.replace(/\\/g,`\\\\`).replace(/\(/g,`\\(`).replace(/\)/g,`\\)`)}function bh(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 xh(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 Sh,Ch,wh,Th,Eh,Dh,Oh,kh,Ah,jh,Mh,Nh,Ph,Fh,Ih,Lh=n((()=>{Yt(),Sh=32,Ch=2,wh=4,Th=5,Eh=6,Dh=48,Oh=49,kh=`1.2.840.113549.1.7.2`,Ah=`1.2.840.113549.1.7.1`,jh=`2.16.840.1.101.3.4.2.1`,Mh=`1.2.840.113549.1.1.11`,Nh=`1.2.840.113549.1.9.3`,Ph=`1.2.840.113549.1.9.4`,Fh=`1.2.840.113549.1.9.5`,Ih=8192}));function Rh(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();Yh(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 zh(e,t,n){let r=e.userWidth>0?t/e.userWidth:1,i=e.userHeight>0?n/e.userHeight:1,a=(e.preserveAspectRatio??``).trim().replace(/^defer\s+/i,``).split(/\s+/).filter(e=>e!==``),o=a[0]??`xMidYMid`;if(o===`none`)return{scaleX:r,scaleY:i,offsetX:0,offsetY:0};let s=a[1]===`slice`?Math.max(r,i):Math.min(r,i),c=(e,t,n,r)=>{let i=e-t;return o.includes(r)?i:o.includes(n)?i/2:0};return{scaleX:s,scaleY:s,offsetX:c(t,e.userWidth*s,`xMid`,`xMax`),offsetY:c(n,e.userHeight*s,`YMid`,`YMax`)}}function Bh(e){let t=Pm(/<svg\b([^>]*)>/i.exec(e)?.[1]??``),n=Lm(t.viewBox),r=n.length>=4&&n[2]>0&&n[3]>0,i=Uh(t.width,r?n[2]:void 0,300),a=Uh(t.height,r?n[3]:void 0,150),o=r?n[0]:0,s=r?n[1]:0,c=r?n[2]:i,l=r?n[3]:a,u=[],d=/<(rect|line|circle|ellipse|polyline|polygon|path)\b([^>]*)\/?>|<text\b([^>]*)>([\s\S]*?)<\/text>/gi,f;for(;(f=d.exec(e))!==null;)f[1]?u.push({name:f[1],attrs:Pm(f[2]??``),text:``}):u.push({name:`text`,attrs:Pm(f[3]??``),text:f[4]??``});return{width:i,height:a,userMinX:o,userMinY:s,userWidth:c,userHeight:l,preserveAspectRatio:t.preserveAspectRatio,elements:u}}function Vh(e,t,n){let r=parseFloat(e.attrs[t]??``);return Number.isFinite(r)?r:n}function Hh(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 Uh(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 Wh(e){let t=Rm(e);if(!t)return;let n={r:t.r,g:t.g,b:t.b};return t.a>=1?n:{...n,a:t.a}}function Gh(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 Kh(e,t){let n=Lm(e),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 qh(e,t,n){let r=n.angle*Math.PI/180,i=Math.cos(r),a=Math.sin(r),o=e-n.cx,s=t-n.cy;return{x:n.cx+o*i-s*a,y:n.cy+o*a+s*i}}function Jh(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 Yh(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,T=u*C-d*w+(t+c)/2,E=d*C+u*w+(n+l)/2,ee=(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},te=ee(1,0,(m-C)/r,(h-w)/i),ne=ee((m-C)/r,(h-w)/i,(-m-C)/r,(-h-w)/i);!s&&ne>0&&(ne-=2*Math.PI),s&&ne<0&&(ne+=2*Math.PI);let re=Math.ceil(Math.abs(ne)/(Math.PI/2)),ie=ne/re;for(let t=0;t<re;t++){let n=te+t*ie,a=te+(t+1)*ie,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+T,y1:d*_+u*v+E,x2:u*y-d*b+T,y2:d*y+u*b+E,x3:u*h-d*g+T,y3:d*h+u*g+E})}}var Xh,Zh,Qh,$h,eg,tg,ng,rg=n((()=>{gt(),on(),m(),mn(),On(),Wn(),Sn(),Ar(),zf(),Uf(),Cr(),Nm(),Km(),Xh=595.28,Zh=841.89,Qh=12,$h=1.2,eg={r:0,g:0,b:0},tg=class{constructor(e,t,n,r=``){this._stream=new fn,this._images=[],this._annotations=[],this._builderAnnotations=[],this._formFields=[],this._hasText=!1,this._alphaValues=/* @__PURE__ */ new Set,this._width=e,this._height=t,this._fontManager=n,this._resourcePrefix=r}get width(){return this._width}get height(){return this._height}drawText(e,t){if(e.length===0)return this;this._hasText=!0;let n=t.fontSize??Qh,r=t.color??eg,i=t.lineHeight??$h,a=t.bold??!1,o=t.italic??!1,s=t.fontFamily??`Helvetica`;return this._stream.save(),this._applyAlpha(r.a),this._stream.setFillColor(r),Kp(this._stream,{text:e,x:t.x,y:t.y,fontFamily:s,bold:a,italic:o,fontSize:n,anchor:t.anchor??`start`,maxWidth:t.maxWidth,lineHeightFactor:i,rotation:t.rotation??0,charSpacing:t.charSpacing,wordSpacing:t.wordSpacing},this._fontManager),this._stream.restore(),this}measureText(e,t){let n=t?.fontSize??Qh,r=t?.fontFamily??`Helvetica`,i=t?.bold??!1,a=t?.italic??!1;return this._fontManager.measureTextRequest(e,r,i,a,n)}drawRect(e){this._stream.save();let t=()=>{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)};return t(),this._paintPath(e.fill,e.stroke,e.lineWidth,`nonzero`,t),this._stream.restore(),this}drawCircle(e){this._stream.save();let t=()=>{this._stream.circle(e.cx,e.cy,e.r)};return t(),this._paintPath(e.fill,e.stroke,e.lineWidth,`nonzero`,t),this._stream.restore(),this}drawEllipse(e){this._stream.save();let t=()=>{this._stream.ellipse(e.cx,e.cy,e.rx,e.ry)};return t(),this._paintPath(e.fill,e.stroke,e.lineWidth,`nonzero`,t),this._stream.restore(),this}drawLine(e){let t=e.color??eg,n=e.lineWidth??1;return this._stream.save(),this._applyAlpha(t.a),this._stream.setStrokeColor(t),this._stream.setLineWidth(n),this._applyStrokeShape(e),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();let n=()=>{t&&(this._applyStrokeShape(t),t.dashPattern&&t.dashPattern.length>0&&this._stream.setDashPattern(t.dashPattern))},r=()=>{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 n(),r(),t?.closePath&&this._stream.closePath(),this._paintPath(t?.fill,t?.stroke,t?.lineWidth,t?.fillRule??`nonzero`,()=>{n(),r(),t?.closePath&&this._stream.closePath()}),this._stream.restore(),this}drawImage(e){this._images.push(e);let t=`${this._resourcePrefix}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??eg;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=Rh(e);return this.drawPath(n,t)}drawSvg(e){let t=Bh(e.svg),n=e.width??t.width,r=e.height??t.height,i=zh(t,n,r),{scaleX:a,scaleY:o}=i,s=n=>e.x+i.offsetX+(n-t.userMinX)*a,c=n=>e.y+r-i.offsetY-(n-t.userMinY)*o,l=e=>Gh(Gh(e.fill===void 0?eg:Wh(e.fill),e[`fill-opacity`]),e.opacity),u=e=>Gh(Gh(e.stroke===void 0?void 0:Wh(e.stroke),e[`stroke-opacity`]),e.opacity),d=Math.sqrt(Math.abs(a*o))||1,f=e=>{let t=e[`stroke-width`];if(t===void 0)return;let n=Number.parseFloat(t);return Number.isFinite(n)&&n>=0?n*d:void 0};for(let e of t.elements)if(e.name===`rect`){let n=Hh(e,`width`,t.userWidth,0),r=Hh(e,`height`,t.userHeight,0);this.drawRect({x:s(Hh(e,`x`,t.userWidth,0)),y:c(Hh(e,`y`,t.userHeight,0)+r),width:n*a,height:r*o,fill:l(e.attrs),stroke:u(e.attrs),lineWidth:f(e.attrs)})}else if(e.name===`line`){let t=u(e.attrs);if(!t)continue;this.drawLine({x1:s(Vh(e,`x1`,0)),y1:c(Vh(e,`y1`,0)),x2:s(Vh(e,`x2`,0)),y2:c(Vh(e,`y2`,0)),color:t,lineWidth:f(e.attrs)})}else if(e.name===`circle`||e.name===`ellipse`){let t=e.name===`circle`?Vh(e,`r`,0):Vh(e,`rx`,0),n=e.name===`circle`?Vh(e,`r`,0):Vh(e,`ry`,0);this.drawEllipse({cx:s(Vh(e,`cx`,0)),cy:c(Vh(e,`cy`,0)),rx:t*a,ry:n*o,fill:l(e.attrs),stroke:u(e.attrs),lineWidth:f(e.attrs)})}else if(e.name===`polyline`||e.name===`polygon`){let t=Kh(e.attrs.points??``,e.name===`polygon`).map(e=>Jh(e,s,c)),n=u(e.attrs),r=l(e.attrs);if(!r&&!n)continue;this.drawPath(t,{fill:r,stroke:n,lineWidth:f(e.attrs),closePath:e.name===`polygon`})}else if(e.name===`path`&&e.attrs.d){let t=Rh(e.attrs.d).map(e=>Jh(e,s,c)),n=l(e.attrs),r=u(e.attrs);if(!n&&!r)continue;this.drawPath(t,{fill:n,stroke:r,lineWidth:f(e.attrs)})}else e.name===`text`&&this._drawSvgText(e,s,c,a,o,l);return this}_drawSvgText(e,t,n,r,i,a){let o=Vh(e,`x`,0),s=Vh(e,`y`,0),c=Vh(e,`font-size`,12)*Math.max(r,i),l=e.attrs[`text-anchor`],u=l===`middle`?`middle`:l===`end`?`end`:`start`,d=e.attrs[`font-family`]?.split(`,`)[0]?.trim().replace(/^['"]|['"]$/g,``),f=e.attrs[`font-weight`]===`bold`||Number(e.attrs[`font-weight`])>=600,p=e.attrs[`font-style`]===`italic`||e.attrs[`font-style`]===`oblique`,m=Vm(e.attrs.transform),h=Vh(e,`font-size`,12),g=a(e.attrs);for(let r of Hm(e.text,h)){if(r.text===``)continue;let e=r.x??o,i=s+r.dy,a=m?qh(e,i,m):{x:e,y:i};g&&this.drawText(r.text,{x:t(a.x),y:n(a.y),fontSize:c,color:g,anchor:u,...d?{fontFamily:d}:{},...f?{bold:f}:{},...p?{italic:p}:{},...m?{rotation:-m.angle}:{}})}}getContentStream(){return this._stream}_applyStrokeShape(e){e.lineJoin!==void 0&&e.lineJoin!==`miter`&&this._stream.setLineJoin(e.lineJoin===`round`?1:2),e.lineCap!==void 0&&e.lineCap!==`butt`&&this._stream.setLineCap(e.lineCap===`round`?1:2)}_paintPath(e,t,n,r=`nonzero`,i){let a=e!==void 0,o=t!==void 0;if(!a&&!o){this._stream.setStrokeColor(eg),this._stream.setLineWidth(1),this._stream.stroke();return}let s=()=>{this._applyAlpha(e.a),this._stream.setFillColor(e),r===`evenodd`?this._stream.fillEvenOdd():this._stream.fill()},c=()=>{this._applyAlpha(t.a),this._stream.setStrokeColor(t),this._stream.setLineWidth(n??1),this._stream.stroke()};if(a&&o&&(e.a??1)!==(t.a??1)&&i!==void 0){s(),this._stream.restore(),this._stream.save(),i(),c();return}a&&this._applyAlpha(e.a),o&&this._applyAlpha(t.a),a&&o?(this._stream.setFillColor(e),this._stream.setStrokeColor(t),this._stream.setLineWidth(n??1),r===`evenodd`?this._stream.fillEvenOddAndStroke():this._stream.fillAndStroke()):a?s():c()}_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(em(t,this._resourcePrefix))}},ng=class{constructor(e={}){this._pages=[],this._bookmarks=[],this._metadata={},this._pdfA=!1,this._signatureOptions=null,this._disableFontAutoDiscovery=!1,this._preferSystemFonts=[],this._buildQueue=Promise.resolve(),this._fontManager=e.fontManager??(e.fonts?new Rf(wr(e.fonts)):new Rf),e.preferSystemFonts&&(this._preferSystemFonts=[...e.preferSystemFonts]),this._textLanguage=e.textLanguage,this._disableFontAutoDiscovery=e.disableFontAutoDiscovery===!0}addPage(e){let t=e?.width??Xh,n=e?.height??Zh,r=new tg(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,t){this._assertFontsMutable();let n=new Rf;return n.registerEmbeddedFont(Sr(e,t)),this._replaceFontManager(n),this}embedFonts(e){return this._assertFontsMutable(),this._replaceFontManager(new Rf(wr(e))),this}onWarning(e){return this._onWarning=e,this}disableFontAutoDiscovery(){return this._disableFontAutoDiscovery=!0,this}preferSystemFonts(e){return this._preferSystemFonts=[...e],this}textLanguage(e){return this._textLanguage=e,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??Qh,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=this._snapshot(),t,n=this._buildQueue;this._buildQueue=new Promise(e=>{t=e}),await n;try{return await this._build(e)}finally{t()}}async _build(e){for(let t of e.pages)t._stream.preflight();let t=this._fontManager.hasEmbeddedFont();this._fontManager.beginBuild();try{return await this._buildWithFontSession(e)}finally{!t&&this._fontManager.hasEmbeddedFont()&&this._fontManager.clearAutoDiscoveredFont(),this._fontManager.endBuild()}}async _buildWithFontSession(e){let t=new Dn;e.pdfA&&t.setVersion(`1.4`);let n=this._fontManager.hasFallbackFont()?this._fontManager.getUncoveredFallbackCodePoints():null;if(!this._fontManager.hasEmbeddedFont()||(n?.size??0)>0){let t=this._fontManager.getType3CodePoints();if(t.size>0&&!e.disableFontAutoDiscovery){let n=Hf(t,e.preferSystemFonts,e.textLanguage??this._fontManager.getTextLanguage());n&&this._fontManager.widenFallbackFont(n)&&this._fontManager.noteAutoDiscoveredFont(n.familyName,t.size)}}if(e.onWarning&&this._fontManager.reportDiagnostics(e.onWarning),!this._fontManager.hasEmbeddedFont()){let t=this._fontManager.getUnknownFontFamilies();if(t.size>0){let n=[...t].slice(0,5).join(`, `),r=t.size>5?` (and ${t.size-5} more)`:``;e.onWarning?.(`Font family ${t.size>1?`names`:`name`} '${n}'${r} not recognised; falling back to Helvetica metrics. Add the typeface to the font-family map or call embedFont(bytes).`)}}let r=await this._fontManager.writeFontResources(t),a=this._fontManager.buildFontDictString(r),o=[],c=t.allocObject();for(let n=0;n<e.pages.length;n++)o.push(t.allocObject());let u=[],d=[],f=[];for(let n=0;n<e.pages.length;n++){let r=e.pages[n],i=/* @__PURE__ */ new Map;for(let e=0;e<r._images.length;e++){let n=r._images[e],a=`${r._resourcePrefix}Im${e+1}`,o=this._writeImageXObject(t,n);i.set(a,o)}let m=``;i.size>0&&(m=`<< ${[...i.entries()].map(([e,t])=>`/${e} ${l(t)}`).join(` `)} >>`);let h=t.allocObject(),g=new p;t.addStreamObject(h,g,r._stream),u.push(h);let _=t.allocObject(),v=`<< `;if(a&&(v+=`/Font ${a} `),m&&(v+=`/XObject ${m} `),r._alphaValues.size>0){let e=[`<<`];for(let n of r._alphaValues){let i=t.allocObject(),a=new p().set(`Type`,`/ExtGState`).set(`ca`,s(n)).set(`CA`,s(n));t.addObject(i,a),e.push(`/${em(n,r._resourcePrefix)} ${l(i)}`)}e.push(`>>`),v+=`/ExtGState ${e.join(`
|
|
49
|
-
`)} `}v+=`>>`,t.addObject(_,v),d.push(_);let y=[];for(let e of r._annotations){let n=o[e.destPageIndex];if(n===void 0)continue;let r=t.allocObject(),i=`[${s(e.rect[0])} ${s(e.rect[1])} ${s(e.rect[2])} ${s(e.rect[3])}]`,a=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Link`).set(`Rect`,i).set(`Border`,`[0 0 0]`).set(`Dest`,`[${l(n)} /Fit]`);t.addObject(r,a),y.push(r)}for(let e of r._builderAnnotations){let n=t.allocObject(),r=`[${s(e.rect[0])} ${s(e.rect[1])} ${s(e.rect[2])} ${s(e.rect[3])}]`,i=new p().set(`Type`,`/Annot`).set(`Subtype`,`/${e.subtype}`).set(`Rect`,r).set(`F`,`4`);for(let[t,n]of e.entries)i.set(t,n);t.addObject(n,i),y.push(n)}for(let e of r._formFields){let{fieldRefs:r,annotRefs:i}=this._writeFormFieldAnnotation(t,e.options,o[n]);y.push(...i),f.push(...r)}let b=o[n],x=`[0 0 ${s(r._width)} ${s(r._height)}]`,S=new p().set(`Type`,`/Page`).set(`Parent`,l(c)).set(`MediaBox`,x).set(`Contents`,l(h)).set(`Resources`,l(_));y.length>0&&S.set(`Annots`,`[`+y.map(e=>l(e)).join(` `)+`]`),t.addObject(b,S)}if(o.length===0){let e=t.allocObject();t.addStreamObject(e,new p,/* @__PURE__ */ new Uint8Array);let n=t.allocObject();t.addObject(n,`<< >>`);let r=t.allocObject(),i=new p().set(`Type`,`/Page`).set(`Parent`,l(c)).set(`MediaBox`,`[0 0 ${s(Xh)} ${s(Zh)}]`).set(`Contents`,l(e)).set(`Resources`,l(n));t.addObject(r,i),o.push(r)}let m=o.map(e=>l(e)).join(` `);t.addObject(c,new p().set(`Type`,`/Pages`).set(`Kids`,`[${m}]`).set(`Count`,String(o.length)));let h;e.bookmarks.length>0&&(h=this._buildOutlines(t,o,e.bookmarks));let g=[];if(e.pdfA){let n=Vn(t,e.metadata);g.push([`Metadata`,l(n)]);let r=Hn(t);g.push([`OutputIntents`,`[${l(r)}]`]),g.push([`MarkInfo`,`<< /Marked true >>`])}if(f.length>0||e.signatureOptions||t.addCatalog(c,{outlinesRef:h,extraEntries:g.length>0?g:void 0}),f.length>0&&!e.signatureOptions){let e=t.allocObject(),n=new p().set(`Type`,`/Catalog`).set(`Pages`,l(c));h&&(n.set(`Outlines`,l(h)),n.set(`PageMode`,`/UseOutlines`));for(let[e,t]of g)n.set(e,t);let r=`<< /Fields [${f.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),t.addObject(e,n),t.setCatalog(e)}if((e.metadata.title||e.metadata.author||e.metadata.subject||e.metadata.creator||e.metadata.creationDate||e.metadata.modDate)&&t.addInfoDict(e.metadata),e.encryption){let n=tn(e.encryption);t.setEncryption(n)}if(e.signatureOptions){let{buildSignatureDictPlaceholder:n,signPdf:r}=await Promise.resolve().then(()=>(Lh(),qm)),{dictString:a}=n({name:e.signatureOptions.name,reason:e.signatureOptions.reason,location:e.signatureOptions.location,contactInfo:e.signatureOptions.contactInfo}),o=t.allocObject();t.addObject(o,a);let s=t.allocObject(),u=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`);t.addObject(s,u);let d=t.allocObject(),m=new p().set(`Type`,`/Catalog`).set(`Pages`,l(c));h&&(m.set(`Outlines`,l(h)),m.set(`PageMode`,`/UseOutlines`));for(let[e,t]of g)m.set(e,t);let _=[...f,s].map(e=>l(e)).join(` `),v=f.length>0,y=[`/Fields [${_}]`,`/SigFlags 3`];return v&&(y.push(`/NeedAppearances true`),y.push(`/DR << /Font << /Helv << /Type /Font /Subtype /Type1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> >> >>`),y.push(`/DA (/Helv 0 Tf 0 g)`)),m.set(`AcroForm`,`<< ${y.join(` `)} >>`),t.addObject(d,m),t.setCatalog(d),r(t.build(),e.signatureOptions.certificate,e.signatureOptions.privateKey)}return t.build()}_assertFontsMutable(){if(this._pages.some(e=>e._hasText))throw new gn(`Fonts must be configured before drawing the first PDF text command`)}_replaceFontManager(e){this._fontManager=e;for(let t of this._pages)t._fontManager=e}_snapshot(){return{pages:this._pages.map(e=>({_stream:e._stream.snapshot(),_width:e._width,_height:e._height,_images:[...e._images],_annotations:[...e._annotations],_builderAnnotations:[...e._builderAnnotations],_formFields:[...e._formFields],_alphaValues:new Set(e._alphaValues),_resourcePrefix:e._resourcePrefix})),bookmarks:[...this._bookmarks],metadata:{...this._metadata},encryption:this._encryption,pdfA:this._pdfA,signatureOptions:this._signatureOptions?{...this._signatureOptions}:null,disableFontAutoDiscovery:this._disableFontAutoDiscovery,preferSystemFonts:this._preferSystemFonts,textLanguage:this._textLanguage,onWarning:this._onWarning}}_writeImageXObject(e,t){return dt(e,t.data,t.format)}_buildOutlines(e,t,n){let r=e.allocObject(),a=[],o=(t,n,r)=>{for(let i of t){let t=e.allocObject();a.push({node:i,objNum:t,parentObjNum:n,depth:r}),o(i.children,t,r+1)}};o(n,r,0);let s=/* @__PURE__ */ new Map;for(let e of a){let t=s.get(e.parentObjNum);t?t.push(e):s.set(e.parentObjNum,[e])}let c=e=>{let t=1;for(let n of e.children)t+=c(n);return t};for(let n of a){let{node:r,objNum:a,parentObjNum:o}=n,u=t[r.pageIndex];if(u===void 0)continue;let d=new p().set(`Title`,i(r.title)).set(`Parent`,l(o)).set(`Dest`,`[${l(u)} /Fit]`),f=s.get(o)??[],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=s.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+c(t),0);d.set(`Count`,String(-e))}e.addObject(a,d)}let u=s.get(r)??[],d=this._bookmarks.length,f=new p().set(`Type`,`/Outlines`).set(`Count`,String(d));return u.length>0&&(f.set(`First`,l(u[0].objNum)),f.set(`Last`,l(u[u.length-1].objNum))),e.addObject(r,f),r}_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 ig(e,t,n,r=!1){let i=e=>r&&e?fp(e):e,a=t=>{t?.a!==void 0&&t.a<1&&(n.add(t.a),e.setGraphicsState(em(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,p=t.resolveFont(u,c,l);return t.trackText(n,p),e.save(),e.setFillColor(s),a(s),Kp(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}}}var ag=n((()=>{Nm(),wp()}));function og(e){return e.kind===`chartsheet`}var sg,cg,lg=n((()=>{sg={Empty:0,String:1,Number:2,Boolean:3,Date:4,RichText:5,Error:6,Formula:7,Hyperlink:8,Merge:9},cg={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 ug(e){return Math.round(e*20)}function dg(e){return e/20}function fg(e){return e/yg}function pg(e){return e/bg}function mg(e){return 2*Math.ceil(e/4)+1}function hg(e,t){if(t<=0||e===0)return 0;let n=mg(t);return e<1?Math.round(e*(t+n)):Math.round(e*t)+n}var gg,_g,vg,yg,bg,xg=n((()=>{gg=1440,_g=gg/2.54,_g/10,vg=914400,yg=12700,bg=9525,6*vg,Math.round(3.5*vg),4*vg}));function Sg(){return typeof process<`u`&&!!process.versions?.node}var Cg=n((()=>{}));function wg(e,t,n){let r=e-+(t<=2),i=Math.floor(r/400),a=r-i*400,o=Math.floor((153*(t+(t>2?-3:9))+2)/5)+n-1,s=a*365+Math.floor(a/4)-Math.floor(a/100)+o;return i*146097+s-719468}function Tg(e){let t=e+719468,n=Math.floor(t/146097),r=t-n*146097,i=Math.floor((r-Math.floor(r/1460)+Math.floor(r/36524)-Math.floor(r/146096))/365),a=i+n*400,o=r-(365*i+Math.floor(i/4)-Math.floor(i/100)),s=Math.floor((5*o+2)/153),c=o-Math.floor((153*s+2)/5)+1,l=s+(s<10?3:-9);return{year:a+ +(l<=2),month:l,day:c}}function Eg(e,t){return Ng+e-(t?Pg:0)}function Dg(e,t){return e-Ng+(t?Pg:0)}function Og(e,t,n,r){return!r&&e===1900&&t===2&&n===29}function kg(e,t){let n=Math.round(Dg(e,t)*Fg),r=Math.floor(n/Fg),i=n-r*Fg,a=!1;t!==!0&&(r===Ig?a=!0:r<Ig&&(r+=1));let{year:o,month:s,day:c}=a?{year:1900,month:2,day:29}:Tg(r),l=i%1e3;i=(i-l)/1e3;let u=i%60;i=(i-u)/60;let d=i%60;return{year:o,month:s,day:c,hour:(i-d)/60,minute:d,second:u,millisecond:l}}function Ag(e,t){let{year:n,month:r,day:i,hour:a=0,minute:o=0,second:s=0,millisecond:c=0}=e,l=((a*60+o)*60+s)*1e3+c;if(Og(n,r,i,t))return Eg((Ig*Fg+l)/Fg,t);let u=r-1,d=Math.floor(u/12),f=wg(n+d,u-d*12+1,i);return t!==!0&&f<=Ig&&--f,Eg((f*Fg+l)/Fg,t)}function jg(e){let t=/* @__PURE__ */ new Date(0);return t.setUTCFullYear(e.year,e.month-1,e.day),t.setUTCHours(e.hour,e.minute,e.second,e.millisecond),t}function Mg(e){return{year:e.getUTCFullYear(),month:e.getUTCMonth()+1,day:e.getUTCDate(),hour:e.getUTCHours(),minute:e.getUTCMinutes(),second:e.getUTCSeconds(),millisecond:e.getUTCMilliseconds()}}var Ng,Pg,Fg,Ig,Lg=n((()=>{Ng=25569,Pg=1462,Fg=864e5,Ig=-25509}));function Rg(e){if(Sg())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 zg(e,t){return Ag(Mg(e),t)}function Bg(e,t){return jg(kg(e,t))}function Vg(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 Hg(){return new Promise(e=>setTimeout(e,0))}var Ug=n((()=>{Cg(),Lg(),new TextDecoder(`utf-8`)}));function Wg(e,t,n){if(e?.horizontal&&e.horizontal!==`general`)return bp(e);if(t!==void 0)switch(t){case sg.Number:case sg.Date:return`right`;case sg.Boolean:case sg.Error:return`center`;case sg.Formula:return typeof n==`number`||n instanceof Date?`right`:typeof n==`boolean`?`center`:`left`;default:return`left`}return`left`}async function Gg(e,t,n){let r=Yg(e,t,n);if(!r)return[r_(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(e_(r,c,u,i.length,e,t,n)),i.length<a&&await Hg()}i.length>0&&e.images&&!t.draft&&E_(e.images,i,r.scaleFactor),i.length>0&&e.charts&&!t.draft&&D_(e.charts,i,r.scaleFactor),t.cellComments===`atEnd`&&e.comments?.length&&i.push(...$g(e,e.comments,t,n));for(let e=0;e<i.length;e++)i[e].sheetPageIndex=e+1;return i}function Kg(e,t){let n=e.orientation??t.orientation,r={...t,orientation:n},{width:i,height:a}=qg(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[{...Jg(e,r),charts:r.draft?[]:[p]}]}function qg(e){let{width:t,height:n}=e.pageSize;return e.orientation===`landscape`?{width:n,height:t}:{width:t,height:n}}function Jg(e,t){let{width:n,height:r}=qg(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 Yg(e,t,n){let{margins:r}=t,{width:i,height:a}=qg(t),o=t.showSheetNames?20:0,s=o_(e,t),c=t.showRowColHeaders?Xg(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}=s_(e,s,t.repeatCols);if(m.length===0)return null;let g=c_(e,s,n,t,t.repeatRows),_=h_(e.rowBreaks??[],g.visibleRows),v=h_(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,Yf/S);if(t.fitToWidth>0&&y>0&&(e=Math.min(e,d*t.fitToWidth/(y*S)),e=Qg(e=>b_(p.map(t=>t*S*e),d,h,v,$f).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=Qg(e=>b_(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,Yf))}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:T,repeatRowIndices:E}=g,ee=g_(e),te=b_(w,x,E,_),ne=b_(C,d,h,v,$f);return{pageWidth:i,pageHeight:a,contentWidth:d,availableHeight:x,headerHeight:o,scaleFactor:S,scaledColumnWidths:C,rowHeights:w,visibleRows:T,visibleCols:m,mergeMap:ee,rowPages:te,colGroups:ne,margins:r,headings:c}}function Xg(e,t,n,r){let i=n.resolveFont(r.defaultFontFamily,!1,!1),a=t?.endRow??e.bounds.bottom,o=String(Math.max(1,a));return n.trackText(o,i),{gutterWidth:n.measureText(o,i,8)+6,bandHeight:14,fontSize:8}}function Zg(e){let t=e,n=``;for(;t>0;)n=String.fromCharCode(65+(t-1)%26)+n,t=Math.floor((t-1)/26);return n}function Qg(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 $g(e,t,n,r){let{width:i,height:a}=qg(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=f*Wf,m={r:0,g:0,b:0},h=[],g=[],_=u,v=()=>{g.length>0&&(h.push({...Jg(e,n),cells:g}),g=[],_=u)},y=(e,t)=>{let i=r.resolveFont(n.defaultFontFamily,t,!1);r.trackText(e,i);let a=am(e,e=>r.measureText(e,i,f),Math.max(l-6,1)),s=Math.max(a.length,1)*p+4;_-s<d&&v(),g.push({text:e,rect:{x:o.left,y:_-s,width:l,height:s},fontFamily:n.defaultFontFamily,fontSize:f,bold:t,italic:!1,strike:!1,underline:!1,textColor:m,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}),_-=s};y(`${e.name} — comments`,!0);for(let e of t){let t=e.author?` (${e.author})`:``;y(`${e.ref}${t}: ${e.text}`,!1)}return v(),h}function e_(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),T=[],E=x;a.horizontalCentered&&w<m&&(E=x+(m-w)/2);for(let e of C)T.push(E),E+=e;let ee=[],te=[],ne=S;if(a.verticalCentered){let e=t.reduce((e,t)=>e+(c[t]??M_*_),0);e<h&&(ne-=(h-e)/2)}for(let e of t){let t=c[e]??M_*_;ee.push(ne),te.push(t),ne-=t}let re=/* @__PURE__ */ new Map;for(let e=0;e<t.length;e++){let r=l[t[e]];for(let s=0;s<n.length;s++){let c=u[n[s]],f=d.get(`${r}:${c}`),p;if(f){let r=y_(f,e,s,t,n,l,u);if(!r)continue;p=x_(r,i)}else{let e=i.rows.get(r)?.cells.get(c);p={styleCell:e,valueCell:e,colSpan:1,rowSpan:1}}let m=T[s],h=ee[e],g=0;for(let e=0;e<p.colSpan;e++)g+=C[s+e];let v=0;for(let t=0;t<p.rowSpan;t++)v+=te[e+t];let y=S_({...p,rect:{x:m,y:h-v,width:g,height:v}},a,o,_);b.push(y),re.set(`${e}:${s}`,y)}}if(w_(re,t.length,n.length),O_(re,t,n,l,u,C,d,o),y){let e=o.resolveFont(a.defaultFontFamily,!1,!1);for(let t of n)o.trackText(Zg(u[t]),e);for(let n of t)o.trackText(String(l[n]),e)}return{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:T,columnWidths:C,sheetRows:t.map(e=>l[e]),rowYPositions:ee,rowHeights:te,images:[],charts:[],scaleFactor:_,headings:y,commentBoxes:a.cellComments===`asDisplayed`?t_(i,n.map(e=>u[e]),T,C,t.map(e=>l[e]),ee,te,a,_,o):void 0,headerFooter:a.includeHeadersFooters?i.headerFooter:void 0}}function t_(e,t,n,r,i,a,o,s,c,l){let u=e.comments;if(!u?.length||t.length===0||i.length===0)return;let d=e=>{let i=t.indexOf(Math.floor(e)+1);if(!(i<0))return n[i]+(e-Math.floor(e))*r[i]},f=e=>{let t=i.indexOf(Math.floor(e)+1);if(!(t<0))return a[t]-(e-Math.floor(e))*o[t]},p=[];for(let e of u){let o=e.anchor??n_(e.ref);if(!o)continue;let u=d(o.left),m=d(o.right),h=f(o.top),g=f(o.bottom);if(u===void 0||m===void 0||h===void 0||g===void 0)continue;let _=m-u,v=h-g;if(_<=0||v<=0)continue;let y=i_(e.ref),b=t.indexOf(y.c+1),x=i.indexOf(y.r+1),S=`${e.author?`${e.author}:\n`:``}${e.text}`,C=l.resolveFont(s.defaultFontFamily,!1,!1);l.trackText(S,C),p.push({rect:{x:u,y:g,width:_,height:v},text:S,fontSize:s.defaultFontSize*c,marker:b>=0&&x>=0?{x:n[b]+r[b],y:a[x],size:4*c}:void 0})}return p.length>0?p:void 0}function n_(e){let t;try{t=i_(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 r_(e,t){return Jg(e,t)}function i_(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 a_(e){let t=e.indexOf(`:`);if(t===-1){let t=i_(e);return{s:t,e:{...t}}}return{s:i_(e.slice(0,t)),e:i_(e.slice(t+1))}}function o_(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=a_(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 s_(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=/* @__PURE__ */ new Set,l=t=>{if(c.has(t))return;let n=e.columns.get(t);if(n?.hidden)return;c.add(t);let r=hg(n?.width??j_,7),i=Math.max(r*Gf,N_);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 c_(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=/* @__PURE__ */ 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,l_(i,e,n,r)):l_(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 l_(e,t,n,r){let i=M_;if(e)for(let a of e.cells.values()){let e=f_(a),o=p_(a,e,t,n,r),s=u_(a,e,n,r),c=a.type===sg.RichText?Math.max(e*Wf,s):e*Wf,l=a.style?.border?.top?.style?gp(a.style.border.top.style)/2:0,u=a.style?.border?.bottom?.style?gp(a.style.border.bottom.style)/2:0,d=Math.max(e,s)+(o-1)*c+(2+l+u)*2;d>i&&(i=d)}return i}function u_(e,t,n,r){let i=0,a=0;for(let o of d_(e,t,r)){let e=n.measureTextMetrics(o.text,n.resolveFont(o.fontFamily,o.bold,o.italic),o.fontSize);i=Math.max(i,e.ascent),a=Math.min(a,e.descent)}return i-a}function d_(e,t,n){let r=e.style?.font;if(e.type===sg.RichText){let t=e.value;if(t&&typeof t==`object`&&`richText`in t){let e=t.richText;if(e.length>0)return e.map(e=>({text:e.text,...mp(e.font?{name:e.font.name??r?.name,size:e.font.size??r?.size,bold:e.font.bold??!1,italic:e.font.italic??!1}:r,n.defaultFontFamily,n.defaultFontSize)}))}}let i=mp(r,n.defaultFontFamily,n.defaultFontSize);return[{text:typeof e.text==`string`?e.text:String(e.text??``),...i,fontSize:t}]}function f_(e){let t=e.style?.font?.size??11;if(e.type===sg.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 p_(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=hg(n.columns.get(e.col)?.width??j_,7)*Gf,c=e.style.alignment.indent??0,l=e.style?.border?.left?.style?gp(e.style.border.left.style)/2:0,u=e.style?.border?.right?.style?gp(e.style.border.right.style)/2:0,d=3+l+(3+u)+c*10,f=Math.max(s-d,1);if(e.type===sg.RichText){let t=e.value;if(t&&typeof t==`object`&&`richText`in t){let n=t.richText;if(n.length>0){let t=m_(a,n,f,r,i,e.style?.font);return Math.max(o,t)}}}let p=mp(e.style.font,i.defaultFontFamily,i.defaultFontSize),m=r.resolveFont(p.fontFamily,p.bold,p.italic),h=am(a,e=>r.measureText(e,m,t),f);return Math.max(o,h.length)}function m_(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=mp(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);return r.resolveFont(t.fontFamily,t.bold,t.italic)}),u=t.map(e=>mp(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);return Math.max(1,sm(e,c,u,l,r,n).length)}function h_(e,t){let n=/* @__PURE__ */ new Set;if(e.length===0)return n;let r=/* @__PURE__ */ 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 g_(e){let t=/* @__PURE__ */ new Map,n=e.merges;if(!n||n.length===0)return t;for(let r of n){let n=a_(r),i=n.s.r+1,a=n.s.c+1,o=n.e.r+1,s=n.e.c+1,c=t=>!e.rows.get(t)?.hidden,l=t=>!e.columns.get(t)?.hidden,[u,d]=__(i,o,c),[f,p]=__(a,s,l),m={top:i,left:a,bottom:o,right:s,shownTop:u,shownLeft:f,shownBottom:d,shownRight:p};for(let e=m.top;e<=m.bottom;e++)for(let n=m.left;n<=m.right;n++)t.set(`${e}:${n}`,m)}return t}function __(e,t,n){let r=e;for(;r<t&&!n(r);)r++;let i=t;for(;i>r&&!n(i);)i--;return n(r)?[r,i]:[e,t]}function v_(e,t,n,r,i){let a=t[e],o=e=>n[e]>=r&&n[e]<=i;if(e>0&&t[e-1]===a-1&&o(a-1))return;let s=1;for(;e+s<t.length&&t[e+s]===a+s&&o(a+s);)s++;return{span:s,first:n[a],last:n[a+s-1]}}function y_(e,t,n,r,i,a,o){let s=v_(t,r,a,e.top,e.bottom),c=v_(n,i,o,e.left,e.right);if(s&&c)return{region:e,top:s.first,bottom:s.last,left:c.first,right:c.last,rowSpan:s.span,colSpan:c.span}}function b_(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 x_(e,t){let{region:n}=e,r=(e,n)=>t.rows.get(e)?.cells.get(n)?.style?.border,i=t.rows.get(n.top)?.cells.get(n.left);return{styleCell:i,valueCell:e.top===n.shownTop&&e.left===n.shownLeft?i:void 0,colSpan:e.colSpan,rowSpan:e.rowSpan,borders:{top:e.top===n.shownTop?r(n.top,e.left)?.top:void 0,bottom:e.bottom===n.shownBottom?r(n.bottom,e.left)?.bottom:void 0,left:e.left===n.shownLeft?r(e.top,n.left)?.left:void 0,right:e.right===n.shownRight?r(e.top,n.right)?.right:void 0}}}function S_(e,t,n,r){let{styleCell:i,valueCell:a,rect:o,colSpan:s,rowSpan:c}=e,l=A_(a,t.errors),u=i?.style??{},d=mp(u.font,t.defaultFontFamily,t.defaultFontSize),f=d.fontSize*r,p=n.resolveFont(d.fontFamily,d.bold,d.italic);n.trackText(l,p);let m=k_(a,t,n,r,u.font),h=yp(e.borders??u.border),g=t.blackAndWhite?pp(h):h,_=hp(u.fill);return{text:l,rect:o,fontFamily:d.fontFamily,fontSize:f,bold:d.bold,italic:d.italic,strike:d.strike,underline:d.underline,textColor:t.blackAndWhite?fp(d.textColor):d.textColor,fillColor:t.blackAndWhite&&_!==null?fp(_):_,horizontalAlign:Wg(u.alignment,a?.type,a?.result),verticalAlign:xp(u.alignment),wrapText:u.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:s,rowSpan:c,hyperlink:a?.hyperlink??null,richText:m,indent:u.alignment?.indent??0,textRotation:u.alignment?.textRotation===255?`vertical`:u.alignment?.textRotation??0,textOverflowWidth:0}}function C_(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 w_(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=C_(n.borders.right);C_(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=C_(n.borders.bottom);C_(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 T_(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=(fg(r.nativeColOff??0)||0)*n,f=(fg(r.nativeRowOff??0)||0)*n,p=l+d,m=u-f,h=100,g=100,_=e.extUnit??`px`;if(e.ext)_===`emu`?(h=fg(e.ext.width)*n,g=fg(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 E_(e,t,n){for(let r of e){let e=T_(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 D_(e,t,n){for(let r of e){let e=T_(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 O_(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;for(let e of u.richText){let t=s.resolveFont(e.fontFamily,e.bold,e.italic);d+=s.measureText(e.text,t,e.fontSize)}}else{let e=s.resolveFont(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 k_(e,t,n,r,i){if(!e||e.type!==sg.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=mp(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),o=n.resolveFont(a.fontFamily,a.bold,a.italic);return n.trackText(e.text,o),{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?fp(a.textColor):a.textColor}})}function A_(e,t){let n=e?.text??``;if(t===`displayed`||!e||!(e.type===sg.Error||e.type===sg.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 j_,M_,N_,P_=n((()=>{ep(),Nm(),wp(),lg(),xg(),Ug(),j_=8.43,M_=15,N_=3}));async function F_(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??/* @__PURE__ */ new Date}},i=await I_(e,r);for(let e of i.sheets)await L_(i,e,r);return R_(i,e,r)}async function I_(e,t){let n=Z_(e,t?.sheets);if(n.length===0)throw new gn(`No sheets to export. The workbook is empty or no sheets matched.`);if(t?.font&&t.fonts)throw new vn("`font` and `fonts` cannot be used together");let r;if(t?.fonts)try{r=new Rf(wr(t.fonts))}catch(e){throw e instanceof vn?e:new _n(`Failed to configure PDF fonts`,{cause:e})}else r=new Rf;let i=new Dn,a=t?.font??null,o,s=()=>o??=uv(n);if(!a&&!t?.fonts&&t?.disableFontAutoDiscovery!==!0){let e=s();V_(r,e.codePoints,t?.preferSystemFonts,t?.textLanguage,ti(e.evidence))}if(a)try{let e=Sr(a);r.registerEmbeddedFont(e)}catch(e){if(t?.font)throw e instanceof vn?e:new vn(`Failed to parse TrueType font`,{cause:e})}let c=r.hasEmbeddedFont()&&!r.hasFallbackFont();if(!r.hasConfiguredFonts()&&!c){for(let e of s().codePoints)r.trackText(String.fromCodePoint(e));await r.prepare()}return{sheets:n,fontManager:r,writer:i,allPages:[]}}async function L_(e,t,n){try{let r=av(n,t),i=og(t)?Kg(t,r):await Gg(t,r,e.fontManager);for(let t of i)e.allPages.push(t)}catch(e){throw new _n(`Failed to layout sheet "${t.name}"`,{cause:e})}}async function R_(e,t,n){let{allPages:r,fontManager:i,writer:a,sheets:o}=e,s=av(n,o[0]);if(H_(r,s,o),!i.hasConfiguredFonts()&&(!i.hasEmbeddedFont()||i.hasFallbackFont()))for(let e of uv(o).codePoints)i.trackText(String.fromCodePoint(e));U_(r),W_(r,i);let c=z_(r,i),l=s.watermark;if(l&&l.type===`text`){let e=l.fontFamily??`Helvetica`,t=l.bold??!1,n=l.italic??!1,r=i.resolveFont(e,t,n);i.trackText(l.text,r)}n?.disableFontAutoDiscovery!==!0&&B_(i,n?.preferSystemFonts,n?.textLanguage);let{pageObjNums:u,sheetFirstPage:d,pagesTreeObjNum:f}=await G_(r,i,a,await i.writeFontResources(a),c,l);return n?.onWarning&&i.reportDiagnostics(n.onWarning),X_(a,u,f,d,s,t,n)}function z_(e,t){let n=/* @__PURE__ */ new WeakMap;for(let r of e)for(let e of r.charts){if(!e.drawVector)continue;let i=new fn,a=/* @__PURE__ */ new Set,o=ig(i,t,a,r.options.blackAndWhite);e.drawVector(o,fv(e.rect)),n.set(e,{stream:i,alphaValues:a})}return n}function B_(e,t,n){let r=e.hasFallbackFont()?e.getUncoveredFallbackCodePoints():null;if(e.hasEmbeddedFont()&&(r?.size??0)===0)return;let i=e.getType3CodePoints();i.size!==0&&V_(e,i,t,n,e.getTextLanguage(),!0)}function V_(e,t,n,r,i,a=!1){let o=Hf(t,n??[],r??i);if(o){if(a){if(!e.widenFallbackFont(o))return}else e.registerFallbackFont(o);e.noteAutoDiscoveredFont(o.familyName,t.size)}}function H_(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 U_(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 W_(e,t){for(let n of e){if(n.options.showSheetNames){let e=t.resolveFont(n.options.defaultFontFamily,!0,!1);t.trackText(n.sheetName,e)}if(n.options.showPageNumbers){let r=t.resolveFont(n.options.defaultFontFamily,!1,!1);t.trackText(`Page ${n.pageNumber} of ${e.length}`,r)}}for(let n of e)for(let e of[Dp(n,`header`),Dp(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=Op(e,n),i=t.resolveFont(e.fontFamily||n.options.defaultFontFamily,e.bold,e.italic);t.trackText(r,i)}}async function G_(e,t,n,r,i,a){let o=[],s=n.allocObject(),c=/* @__PURE__ */ new Map,l=e.length,u=/* @__PURE__ */ new WeakMap;for(let d=0;d<e.length;d++)K_(e[d],t,n,r,i,u,l,o,s,c,a),d<e.length-1&&await Hg();return{pageObjNums:o,sheetFirstPage:c,pagesTreeObjNum:s}}function K_(e,t,n,r,i,a,o,c,u,d,f){try{let{stream:m,alphaValues:h}=Ep(e,e.options,t,o),g=/* @__PURE__ */ new Map,_=e.options.blackAndWhite,v,y=Dp(e,`header`),b=Dp(e,`footer`),x=e.headerFooter?.images??[],S=/* @__PURE__ */ new Set([...J_(y,`H`),...J_(b,`F`)]);if(x.length>0&&S.size>0){let t=new fn,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,q_(n,a,c.data,c.format,_));let u=c.width*s,d=c.height*s,f=Y_(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=q_(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 _n(`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=q_(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&&lv(f,e)){let r=new fn,i=_m(r,e,f,t);for(let e of i.alphaValues)h.add(e);for(let e of i.imageXObjects){let t=q_(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 T;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)}`:``;T=`[${v?`${l(v)} `:``}${l(w)}${e}]`}else T=`[${t.join(` `)} ${l(w)}]`}else T=l(w);let E=n.allocObject(),ee=t.buildFontDictString(r),te=new p().set(`Font`,ee);if(g.size>0){let e=[`<<`];for(let[t,n]of g)e.push(`/${t} ${l(n)}`);e.push(`>>`),te.set(`XObject`,e.join(`
|
|
49
|
+
`)} `}v+=`>>`,t.addObject(_,v),d.push(_);let y=[];for(let e of r._annotations){let n=o[e.destPageIndex];if(n===void 0)continue;let r=t.allocObject(),i=`[${s(e.rect[0])} ${s(e.rect[1])} ${s(e.rect[2])} ${s(e.rect[3])}]`,a=new p().set(`Type`,`/Annot`).set(`Subtype`,`/Link`).set(`Rect`,i).set(`Border`,`[0 0 0]`).set(`Dest`,`[${l(n)} /Fit]`);t.addObject(r,a),y.push(r)}for(let e of r._builderAnnotations){let n=t.allocObject(),r=`[${s(e.rect[0])} ${s(e.rect[1])} ${s(e.rect[2])} ${s(e.rect[3])}]`,i=new p().set(`Type`,`/Annot`).set(`Subtype`,`/${e.subtype}`).set(`Rect`,r).set(`F`,`4`);for(let[t,n]of e.entries)i.set(t,n);t.addObject(n,i),y.push(n)}for(let e of r._formFields){let{fieldRefs:r,annotRefs:i}=this._writeFormFieldAnnotation(t,e.options,o[n]);y.push(...i),f.push(...r)}let b=o[n],x=`[0 0 ${s(r._width)} ${s(r._height)}]`,S=new p().set(`Type`,`/Page`).set(`Parent`,l(c)).set(`MediaBox`,x).set(`Contents`,l(h)).set(`Resources`,l(_));y.length>0&&S.set(`Annots`,`[`+y.map(e=>l(e)).join(` `)+`]`),t.addObject(b,S)}if(o.length===0){let e=t.allocObject();t.addStreamObject(e,new p,/* @__PURE__ */ new Uint8Array);let n=t.allocObject();t.addObject(n,`<< >>`);let r=t.allocObject(),i=new p().set(`Type`,`/Page`).set(`Parent`,l(c)).set(`MediaBox`,`[0 0 ${s(Xh)} ${s(Zh)}]`).set(`Contents`,l(e)).set(`Resources`,l(n));t.addObject(r,i),o.push(r)}let m=o.map(e=>l(e)).join(` `);t.addObject(c,new p().set(`Type`,`/Pages`).set(`Kids`,`[${m}]`).set(`Count`,String(o.length)));let h;e.bookmarks.length>0&&(h=this._buildOutlines(t,o,e.bookmarks));let g=[];if(e.pdfA){let n=Vn(t,e.metadata);g.push([`Metadata`,l(n)]);let r=Hn(t);g.push([`OutputIntents`,`[${l(r)}]`]),g.push([`MarkInfo`,`<< /Marked true >>`])}if(f.length>0||e.signatureOptions||t.addCatalog(c,{outlinesRef:h,extraEntries:g.length>0?g:void 0}),f.length>0&&!e.signatureOptions){let e=t.allocObject(),n=new p().set(`Type`,`/Catalog`).set(`Pages`,l(c));h&&(n.set(`Outlines`,l(h)),n.set(`PageMode`,`/UseOutlines`));for(let[e,t]of g)n.set(e,t);let r=`<< /Fields [${f.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),t.addObject(e,n),t.setCatalog(e)}if((e.metadata.title||e.metadata.author||e.metadata.subject||e.metadata.creator||e.metadata.creationDate||e.metadata.modDate)&&t.addInfoDict(e.metadata),e.encryption){let n=tn(e.encryption);t.setEncryption(n)}if(e.signatureOptions){let{buildSignatureDictPlaceholder:n,signPdf:r}=await Promise.resolve().then(()=>(Lh(),qm)),{dictString:a}=n({name:e.signatureOptions.name,reason:e.signatureOptions.reason,location:e.signatureOptions.location,contactInfo:e.signatureOptions.contactInfo}),o=t.allocObject();t.addObject(o,a);let s=t.allocObject(),u=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`);t.addObject(s,u);let d=t.allocObject(),m=new p().set(`Type`,`/Catalog`).set(`Pages`,l(c));h&&(m.set(`Outlines`,l(h)),m.set(`PageMode`,`/UseOutlines`));for(let[e,t]of g)m.set(e,t);let _=[...f,s].map(e=>l(e)).join(` `),v=f.length>0,y=[`/Fields [${_}]`,`/SigFlags 3`];return v&&(y.push(`/NeedAppearances true`),y.push(`/DR << /Font << /Helv << /Type /Font /Subtype /Type1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> >> >>`),y.push(`/DA (/Helv 0 Tf 0 g)`)),m.set(`AcroForm`,`<< ${y.join(` `)} >>`),t.addObject(d,m),t.setCatalog(d),r(t.build(),e.signatureOptions.certificate,e.signatureOptions.privateKey)}return t.build()}_assertFontsMutable(){if(this._pages.some(e=>e._hasText))throw new gn(`Fonts must be configured before drawing the first PDF text command`)}_replaceFontManager(e){this._fontManager=e;for(let t of this._pages)t._fontManager=e}_snapshot(){return{pages:this._pages.map(e=>({_stream:e._stream.snapshot(),_width:e._width,_height:e._height,_images:[...e._images],_annotations:[...e._annotations],_builderAnnotations:[...e._builderAnnotations],_formFields:[...e._formFields],_alphaValues:new Set(e._alphaValues),_resourcePrefix:e._resourcePrefix})),bookmarks:[...this._bookmarks],metadata:{...this._metadata},encryption:this._encryption,pdfA:this._pdfA,signatureOptions:this._signatureOptions?{...this._signatureOptions}:null,disableFontAutoDiscovery:this._disableFontAutoDiscovery,preferSystemFonts:this._preferSystemFonts,textLanguage:this._textLanguage,onWarning:this._onWarning}}_writeImageXObject(e,t){return dt(e,t.data,t.format)}_buildOutlines(e,t,n){let r=e.allocObject(),a=[],o=(t,n,r)=>{for(let i of t){let t=e.allocObject();a.push({node:i,objNum:t,parentObjNum:n,depth:r}),o(i.children,t,r+1)}};o(n,r,0);let s=/* @__PURE__ */ new Map;for(let e of a){let t=s.get(e.parentObjNum);t?t.push(e):s.set(e.parentObjNum,[e])}let c=e=>{let t=1;for(let n of e.children)t+=c(n);return t};for(let n of a){let{node:r,objNum:a,parentObjNum:o}=n,u=t[r.pageIndex];if(u===void 0)continue;let d=new p().set(`Title`,i(r.title)).set(`Parent`,l(o)).set(`Dest`,`[${l(u)} /Fit]`),f=s.get(o)??[],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=s.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+c(t),0);d.set(`Count`,String(-e))}e.addObject(a,d)}let u=s.get(r)??[],d=this._bookmarks.length,f=new p().set(`Type`,`/Outlines`).set(`Count`,String(d));return u.length>0&&(f.set(`First`,l(u[0].objNum)),f.set(`Last`,l(u[u.length-1].objNum))),e.addObject(r,f),r}_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 ig(e,t,n,r=!1){let i=e=>r&&e?fp(e):e,a=t=>{t?.a!==void 0&&t.a<1&&(n.add(t.a),e.setGraphicsState(em(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,p=t.resolveFont(u,c,l);return t.trackText(n,p),e.save(),e.setFillColor(s),a(s),Kp(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}}}var ag=n((()=>{Nm(),wp()}));function og(e){return e.kind===`chartsheet`}var sg,cg,lg=n((()=>{sg={Empty:0,String:1,Number:2,Boolean:3,Date:4,RichText:5,Error:6,Formula:7,Hyperlink:8,Merge:9},cg={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 ug(e){return Math.round(e*20)}function dg(e){return e/20}function fg(e){return e/yg}function pg(e){return e/bg}function mg(e){return 2*Math.ceil(e/4)+1}function hg(e,t){if(t<=0||e===0)return 0;let n=mg(t);return e<1?Math.round(e*(t+n)):Math.round(e*t)+n}var gg,_g,vg,yg,bg,xg=n((()=>{gg=1440,_g=gg/2.54,_g/10,vg=914400,yg=12700,bg=9525,6*vg,Math.round(3.5*vg),4*vg}));function Sg(){return typeof process<`u`&&!!process.versions?.node}var Cg=n((()=>{}));function wg(e,t,n){let r=e-+(t<=2),i=Math.floor(r/400),a=r-i*400,o=Math.floor((153*(t+(t>2?-3:9))+2)/5)+n-1,s=a*365+Math.floor(a/4)-Math.floor(a/100)+o;return i*146097+s-719468}function Tg(e){let t=e+719468,n=Math.floor(t/146097),r=t-n*146097,i=Math.floor((r-Math.floor(r/1460)+Math.floor(r/36524)-Math.floor(r/146096))/365),a=i+n*400,o=r-(365*i+Math.floor(i/4)-Math.floor(i/100)),s=Math.floor((5*o+2)/153),c=o-Math.floor((153*s+2)/5)+1,l=s+(s<10?3:-9);return{year:a+ +(l<=2),month:l,day:c}}function Eg(e,t){return Ng+e-(t?Pg:0)}function Dg(e,t){return e-Ng+(t?Pg:0)}function Og(e,t,n,r){return!r&&e===1900&&t===2&&n===29}function kg(e,t){let n=Math.round(Dg(e,t)*Fg),r=Math.floor(n/Fg),i=n-r*Fg,a=!1;t!==!0&&(r===Ig?a=!0:r<Ig&&(r+=1));let{year:o,month:s,day:c}=a?{year:1900,month:2,day:29}:Tg(r),l=i%1e3;i=(i-l)/1e3;let u=i%60;i=(i-u)/60;let d=i%60;return{year:o,month:s,day:c,hour:(i-d)/60,minute:d,second:u,millisecond:l}}function Ag(e,t){let{year:n,month:r,day:i,hour:a=0,minute:o=0,second:s=0,millisecond:c=0}=e,l=((a*60+o)*60+s)*1e3+c;if(Og(n,r,i,t))return Eg((Ig*Fg+l)/Fg,t);let u=r-1,d=Math.floor(u/12),f=wg(n+d,u-d*12+1,i);return t!==!0&&f<=Ig&&--f,Eg((f*Fg+l)/Fg,t)}function jg(e){let t=/* @__PURE__ */ new Date(0);return t.setUTCFullYear(e.year,e.month-1,e.day),t.setUTCHours(e.hour,e.minute,e.second,e.millisecond),t}function Mg(e){return{year:e.getUTCFullYear(),month:e.getUTCMonth()+1,day:e.getUTCDate(),hour:e.getUTCHours(),minute:e.getUTCMinutes(),second:e.getUTCSeconds(),millisecond:e.getUTCMilliseconds()}}var Ng,Pg,Fg,Ig,Lg=n((()=>{Ng=25569,Pg=1462,Fg=864e5,Ig=-25509}));function Rg(e){let t=[],n=0,r=!1,i=!1;for(let a=0;a<e.length;a++){let o=e[a];r?o===`"`&&(r=!1):i?o===`]`&&(i=!1):o===`\\`||o===`_`||o===`*`?a++:o===`"`?r=!0:o===`[`?i=!0:o===`;`&&(t.push(e.slice(n,a)),n=a+1)}return t.push(e.slice(n)),t}function zg(e){if($g.test(e))return{kind:`elapsed`,unit:e[0].toLowerCase(),width:e.length,fraction:0};let t=Qg.exec(e);if(t)return{kind:`condition`,op:t[1],value:Number(t[2])};if(e.startsWith(`$`)){let t=e.indexOf(`-`);return{kind:`locale`,symbol:e.slice(1,t===-1?e.length:t)}}return Zg.test(e)?{kind:`color`,name:e}:{kind:`bracket`,text:e}}function Bg(e,t,n){let r=t;for(;r<e.length&&e[r].toLowerCase()===n;)r++;return r-t}function Vg(e,t,n){return e.slice(t,t+n.length).toLowerCase()===n.toLowerCase()}function Hg(e){let t=[],n=0;for(;n<e.length;){let r=e[n],i=r.toLowerCase();if(r===`"`){let r=e.indexOf(`"`,n+1),i=r===-1?e.length:r;t.push({kind:`literal`,text:e.slice(n+1,i)}),n=i+1;continue}if(r===`\\`){n+1<e.length&&t.push({kind:`literal`,text:e[n+1]}),n+=2;continue}if(r===`_`||r===`*`){n+1<e.length&&t.push(r===`_`?{kind:`pad`,char:e[n+1]}:{kind:`fill`,char:e[n+1]}),n+=2;continue}if(r===`[`){let r=e.indexOf(`]`,n+1);if(r===-1){t.push({kind:`literal`,text:e.slice(n)});break}t.push(zg(e.slice(n+1,r))),n=r+1;continue}if(Vg(e,n,`General`)){t.push({kind:`general`}),n+=7;continue}if(Vg(e,n,`AM/PM`)){t.push({kind:`ampm`,short:!1,lower:r===`a`}),n+=5;continue}if(Vg(e,n,`A/P`)){t.push({kind:`ampm`,short:!0,lower:r===`a`}),n+=3;continue}if(i===`e`&&(e[n+1]===`+`||e[n+1]===`-`)){t.push({kind:`exponent`,sign:e[n+1],upper:r===`E`}),n+=2;continue}if(i===`b`&&(e[n+1]===`1`||e[n+1]===`2`)){t.push({kind:`bracket`,text:e.slice(n,n+2)}),n+=2;continue}if(i===`y`||i===`d`||i===`h`||i===`s`||i===`b`){let r=Bg(e,n,i),a=i===`y`?`year`:i===`b`?`buddhistYear`:i===`d`?`day`:i===`h`?`hour`:`second`;t.push({kind:`date`,part:a,width:r,fraction:0}),n+=r;continue}if(i===`m`){let r=Bg(e,n,`m`);t.push({kind:`m`,width:r}),n+=r;continue}switch(r){case`0`:case`#`:case`?`:t.push({kind:`digit`,char:r});break;case`.`:t.push({kind:`decimal`});break;case`,`:t.push({kind:`thousands`});break;case`%`:t.push({kind:`percent`});break;case`/`:t.push({kind:`slash`});break;case`@`:t.push({kind:`text`});break;case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:case`8`:case`9`:t.push({kind:`numeral`,text:r});break;default:t.push({kind:`literal`,text:r})}n++}return Ug(Wg(t))}function Ug(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(!(r.kind===`date`&&r.part===`second`||r.kind===`elapsed`&&r.unit===`s`)||e[n+1]?.kind!==`decimal`){t.push(r);continue}let i=0;for(let t=n+2;t<e.length;t++){let n=e[t];if(n.kind!==`digit`||n.char!==`0`)break;i++}if(i===0){t.push(r);continue}t.push({...r,fraction:i}),n+=1+i}return t}function Wg(e){let t=e=>e.kind===`m`||e.kind===`date`||e.kind===`elapsed`,n=e=>e.kind===`m`&&e.width>=3||e.kind===`date`&&e.part!==`hour`&&e.part!==`minute`&&e.part!==`second`,r=!1,i=[];return e.forEach((a,o)=>{if(a.kind!==`m`){i.push(a);return}if(a.width>=3){i.push({kind:`date`,part:`month`,width:a.width,fraction:0});return}let s;for(let r=o-1;r>=0;r--)if(t(e[r])&&!n(e[r])){s=e[r];break}let c;for(let n=o+1;n<e.length;n++)if(t(e[n])){c=e[n];break}let l=(e,t)=>e?.kind===`date`&&e.part===t,u=l(s,`hour`)||s?.kind===`elapsed`&&s.unit===`h`||l(c,`second`)||l(s,`second`)&&!r;r||=u,i.push({kind:`date`,part:u?`minute`:`month`,width:a.width,fraction:0})}),i}function Gg(e){let t=Hg(e),n=!1,r=!1,i=!1,a=!1,o=!1,s;for(let e of t)switch(e.kind){case`date`:e.part===`hour`||e.part===`minute`||e.part===`second`?r=!0:n=!0;break;case`ampm`:r=!0;break;case`elapsed`:i=!0;break;case`text`:a=!0;break;case`general`:o=!0;break;case`condition`:s??={op:e.op,value:e.value}}return{source:e,tokens:t,hasDate:n,hasTime:r,hasElapsed:i,hasText:a,hasGeneral:o,condition:s}}function Kg(e){let t=t_.get(e);if(t!==void 0)return t;let n=Rg(e).map(Gg),r,i=n;n.length>=4?(r=n[3],i=n.slice(0,3)):n[n.length-1].hasText&&(r=n[n.length-1],i=n.length>1?n.slice(0,-1):[]);let a={source:e,sections:n,numberSections:i,textSection:r};return t_.size>=e_&&t_.clear(),t_.set(e,a),a}function qg(e){if(e==null||e.trim()===``)return{date:!1,time:!1,elapsed:!1,text:!1,general:!0};let t=Kg(e).sections[0];return{date:t.hasDate,time:t.hasTime,elapsed:t.hasElapsed,text:t.hasText,general:t.hasGeneral}}function Jg(e){if(e==null||e.trim()===``)return!0;let{sections:t}=Kg(e);return t.length===1&&t[0].hasGeneral&&t[0].tokens.every(e=>e.kind===`general`||e.kind===`color`||e.kind===`locale`&&e.symbol===``||e.kind===`literal`&&e.text.trim()===``)}var Yg,Xg,Zg,Qg,$g,e_,t_,n_=n((()=>{Yg=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Xg=[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],Zg=/^(?:black|blue|cyan|green|magenta|red|white|yellow|color\s*\d+)$/i,Qg=/^(<>|<=|>=|=|<|>)\s*(-?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?)$/i,$g=/^(h+|m+|s+)$/i,e_=1024,t_=/* @__PURE__ */ new Map}));function r_(e){if(Sg())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 i_(e,t){return Ag(Mg(e),t)}function a_(){return new Promise(e=>setTimeout(e,0))}var o_=n((()=>{Cg(),Lg(),n_(),new TextDecoder(`utf-8`)}));function s_(e,t,n){if(e?.horizontal&&e.horizontal!==`general`)return bp(e);if(t!==void 0)switch(t){case sg.Number:case sg.Date:return`right`;case sg.Boolean:case sg.Error:return`center`;case sg.Formula:return typeof n==`number`||n instanceof Date?`right`:typeof n==`boolean`?`center`:`left`;default:return`left`}return`left`}async function c_(e,t,n){let r=f_(e,t,n);if(!r)return[b_(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(__(r,c,u,i.length,e,t,n)),i.length<a&&await a_()}i.length>0&&e.images&&!t.draft&&U_(e.images,i,r.scaleFactor),i.length>0&&e.charts&&!t.draft&&W_(e.charts,i,r.scaleFactor),t.cellComments===`atEnd`&&e.comments?.length&&i.push(...g_(e,e.comments,t,n));for(let e=0;e<i.length;e++)i[e].sheetPageIndex=e+1;return i}function l_(e,t){let n=e.orientation??t.orientation,r={...t,orientation:n},{width:i,height:a}=u_(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[{...d_(e,r),charts:r.draft?[]:[p]}]}function u_(e){let{width:t,height:n}=e.pageSize;return e.orientation===`landscape`?{width:n,height:t}:{width:t,height:n}}function d_(e,t){let{width:n,height:r}=u_(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 f_(e,t,n){let{margins:r}=t,{width:i,height:a}=u_(t),o=t.showSheetNames?20:0,s=C_(e,t),c=t.showRowColHeaders?p_(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}=w_(e,s,t.repeatCols);if(m.length===0)return null;let g=T_(e,s,n,t,t.repeatRows),_=M_(e.rowBreaks??[],g.visibleRows),v=M_(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,Yf/S);if(t.fitToWidth>0&&y>0&&(e=Math.min(e,d*t.fitToWidth/(y*S)),e=h_(e=>L_(p.map(t=>t*S*e),d,h,v,$f).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=h_(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,Yf))}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:T,repeatRowIndices:E}=g,ee=N_(e),te=L_(w,x,E,_),ne=L_(C,d,h,v,$f);return{pageWidth:i,pageHeight:a,contentWidth:d,availableHeight:x,headerHeight:o,scaleFactor:S,scaledColumnWidths:C,rowHeights:w,visibleRows:T,visibleCols:m,mergeMap:ee,rowPages:te,colGroups:ne,margins:r,headings:c}}function p_(e,t,n,r){let i=n.resolveFont(r.defaultFontFamily,!1,!1),a=t?.endRow??e.bounds.bottom,o=String(Math.max(1,a));return n.trackText(o,i),{gutterWidth:n.measureText(o,i,8)+6,bandHeight:14,fontSize:8}}function m_(e){let t=e,n=``;for(;t>0;)n=String.fromCharCode(65+(t-1)%26)+n,t=Math.floor((t-1)/26);return n}function h_(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 g_(e,t,n,r){let{width:i,height:a}=u_(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=f*Wf,m={r:0,g:0,b:0},h=[],g=[],_=u,v=()=>{g.length>0&&(h.push({...d_(e,n),cells:g}),g=[],_=u)},y=(e,t)=>{let i=r.resolveFont(n.defaultFontFamily,t,!1);r.trackText(e,i);let a=am(e,e=>r.measureText(e,i,f),Math.max(l-6,1)),s=Math.max(a.length,1)*p+4;_-s<d&&v(),g.push({text:e,rect:{x:o.left,y:_-s,width:l,height:s},fontFamily:n.defaultFontFamily,fontSize:f,bold:t,italic:!1,strike:!1,underline:!1,textColor:m,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}),_-=s};y(`${e.name} — comments`,!0);for(let e of t){let t=e.author?` (${e.author})`:``;y(`${e.ref}${t}: ${e.text}`,!1)}return v(),h}function __(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),T=[],E=x;a.horizontalCentered&&w<m&&(E=x+(m-w)/2);for(let e of C)T.push(E),E+=e;let ee=[],te=[],ne=S;if(a.verticalCentered){let e=t.reduce((e,t)=>e+(c[t]??Y_*_),0);e<h&&(ne-=(h-e)/2)}for(let e of t){let t=c[e]??Y_*_;ee.push(ne),te.push(t),ne-=t}let re=/* @__PURE__ */ new Map;for(let e=0;e<t.length;e++){let r=l[t[e]];for(let s=0;s<n.length;s++){let c=u[n[s]],f=d.get(`${r}:${c}`),p;if(f){let r=I_(f,e,s,t,n,l,u);if(!r)continue;p=R_(r,i)}else{let e=i.rows.get(r)?.cells.get(c);p={styleCell:e,valueCell:e,colSpan:1,rowSpan:1}}let m=T[s],h=ee[e],g=0;for(let e=0;e<p.colSpan;e++)g+=C[s+e];let v=0;for(let t=0;t<p.rowSpan;t++)v+=te[e+t];let y=z_({...p,rect:{x:m,y:h-v,width:g,height:v}},a,o,_);b.push(y),re.set(`${e}:${s}`,y)}}if(V_(re,t.length,n.length),G_(re,t,n,l,u,C,d,o),y){let e=o.resolveFont(a.defaultFontFamily,!1,!1);for(let t of n)o.trackText(m_(u[t]),e);for(let n of t)o.trackText(String(l[n]),e)}return{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:T,columnWidths:C,sheetRows:t.map(e=>l[e]),rowYPositions:ee,rowHeights:te,images:[],charts:[],scaleFactor:_,headings:y,commentBoxes:a.cellComments===`asDisplayed`?v_(i,n.map(e=>u[e]),T,C,t.map(e=>l[e]),ee,te,a,_,o):void 0,headerFooter:a.includeHeadersFooters?i.headerFooter:void 0}}function v_(e,t,n,r,i,a,o,s,c,l){let u=e.comments;if(!u?.length||t.length===0||i.length===0)return;let d=e=>{let i=t.indexOf(Math.floor(e)+1);if(!(i<0))return n[i]+(e-Math.floor(e))*r[i]},f=e=>{let t=i.indexOf(Math.floor(e)+1);if(!(t<0))return a[t]-(e-Math.floor(e))*o[t]},p=[];for(let e of u){let o=e.anchor??y_(e.ref);if(!o)continue;let u=d(o.left),m=d(o.right),h=f(o.top),g=f(o.bottom);if(u===void 0||m===void 0||h===void 0||g===void 0)continue;let _=m-u,v=h-g;if(_<=0||v<=0)continue;let y=x_(e.ref),b=t.indexOf(y.c+1),x=i.indexOf(y.r+1),S=`${e.author?`${e.author}:\n`:``}${e.text}`,C=l.resolveFont(s.defaultFontFamily,!1,!1);l.trackText(S,C),p.push({rect:{x:u,y:g,width:_,height:v},text:S,fontSize:s.defaultFontSize*c,marker:b>=0&&x>=0?{x:n[b]+r[b],y:a[x],size:4*c}:void 0})}return p.length>0?p:void 0}function y_(e){let t;try{t=x_(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 b_(e,t){return d_(e,t)}function x_(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 S_(e){let t=e.indexOf(`:`);if(t===-1){let t=x_(e);return{s:t,e:{...t}}}return{s:x_(e.slice(0,t)),e:x_(e.slice(t+1))}}function C_(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=S_(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 w_(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=/* @__PURE__ */ new Set,l=t=>{if(c.has(t))return;let n=e.columns.get(t);if(n?.hidden)return;c.add(t);let r=hg(n?.width??J_,7),i=Math.max(r*Gf,X_);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 T_(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=/* @__PURE__ */ 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,E_(i,e,n,r)):E_(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 E_(e,t,n,r){let i=Y_;if(e)for(let a of e.cells.values()){let e=k_(a),o=A_(a,e,t,n,r),s=D_(a,e,n,r),c=a.type===sg.RichText?Math.max(e*Wf,s):e*Wf,l=a.style?.border?.top?.style?gp(a.style.border.top.style)/2:0,u=a.style?.border?.bottom?.style?gp(a.style.border.bottom.style)/2:0,d=Math.max(e,s)+(o-1)*c+(2+l+u)*2;d>i&&(i=d)}return i}function D_(e,t,n,r){let i=0,a=0;for(let o of O_(e,t,r)){let e=n.measureTextMetrics(o.text,n.resolveFont(o.fontFamily,o.bold,o.italic),o.fontSize);i=Math.max(i,e.ascent),a=Math.min(a,e.descent)}return i-a}function O_(e,t,n){let r=e.style?.font;if(e.type===sg.RichText){let t=e.value;if(t&&typeof t==`object`&&`richText`in t){let e=t.richText;if(e.length>0)return e.map(e=>({text:e.text,...mp(e.font?{name:e.font.name??r?.name,size:e.font.size??r?.size,bold:e.font.bold??!1,italic:e.font.italic??!1}:r,n.defaultFontFamily,n.defaultFontSize)}))}}let i=mp(r,n.defaultFontFamily,n.defaultFontSize);return[{text:typeof e.text==`string`?e.text:String(e.text??``),...i,fontSize:t}]}function k_(e){let t=e.style?.font?.size??11;if(e.type===sg.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 A_(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=hg(n.columns.get(e.col)?.width??J_,7)*Gf,c=e.style.alignment.indent??0,l=e.style?.border?.left?.style?gp(e.style.border.left.style)/2:0,u=e.style?.border?.right?.style?gp(e.style.border.right.style)/2:0,d=3+l+(3+u)+c*10,f=Math.max(s-d,1);if(e.type===sg.RichText){let t=e.value;if(t&&typeof t==`object`&&`richText`in t){let n=t.richText;if(n.length>0){let t=j_(a,n,f,r,i,e.style?.font);return Math.max(o,t)}}}let p=mp(e.style.font,i.defaultFontFamily,i.defaultFontSize),m=r.resolveFont(p.fontFamily,p.bold,p.italic),h=am(a,e=>r.measureText(e,m,t),f);return Math.max(o,h.length)}function j_(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=mp(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);return r.resolveFont(t.fontFamily,t.bold,t.italic)}),u=t.map(e=>mp(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);return Math.max(1,sm(e,c,u,l,r,n).length)}function M_(e,t){let n=/* @__PURE__ */ new Set;if(e.length===0)return n;let r=/* @__PURE__ */ 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 N_(e){let t=/* @__PURE__ */ new Map,n=e.merges;if(!n||n.length===0)return t;for(let r of n){let n=S_(r),i=n.s.r+1,a=n.s.c+1,o=n.e.r+1,s=n.e.c+1,c=t=>!e.rows.get(t)?.hidden,l=t=>!e.columns.get(t)?.hidden,[u,d]=P_(i,o,c),[f,p]=P_(a,s,l),m={top:i,left:a,bottom:o,right:s,shownTop:u,shownLeft:f,shownBottom:d,shownRight:p};for(let e=m.top;e<=m.bottom;e++)for(let n=m.left;n<=m.right;n++)t.set(`${e}:${n}`,m)}return t}function P_(e,t,n){let r=e;for(;r<t&&!n(r);)r++;let i=t;for(;i>r&&!n(i);)i--;return n(r)?[r,i]:[e,t]}function F_(e,t,n,r,i){let a=t[e],o=e=>n[e]>=r&&n[e]<=i;if(e>0&&t[e-1]===a-1&&o(a-1))return;let s=1;for(;e+s<t.length&&t[e+s]===a+s&&o(a+s);)s++;return{span:s,first:n[a],last:n[a+s-1]}}function I_(e,t,n,r,i,a,o){let s=F_(t,r,a,e.top,e.bottom),c=F_(n,i,o,e.left,e.right);if(s&&c)return{region:e,top:s.first,bottom:s.last,left:c.first,right:c.last,rowSpan:s.span,colSpan:c.span}}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 R_(e,t){let{region:n}=e,r=(e,n)=>t.rows.get(e)?.cells.get(n)?.style?.border,i=t.rows.get(n.top)?.cells.get(n.left);return{styleCell:i,valueCell:e.top===n.shownTop&&e.left===n.shownLeft?i:void 0,colSpan:e.colSpan,rowSpan:e.rowSpan,borders:{top:e.top===n.shownTop?r(n.top,e.left)?.top:void 0,bottom:e.bottom===n.shownBottom?r(n.bottom,e.left)?.bottom:void 0,left:e.left===n.shownLeft?r(e.top,n.left)?.left:void 0,right:e.right===n.shownRight?r(e.top,n.right)?.right:void 0}}}function z_(e,t,n,r){let{styleCell:i,valueCell:a,rect:o,colSpan:s,rowSpan:c}=e,l=q_(a,t.errors),u=i?.style??{},d=mp(u.font,t.defaultFontFamily,t.defaultFontSize),f=d.fontSize*r,p=n.resolveFont(d.fontFamily,d.bold,d.italic);n.trackText(l,p);let m=K_(a,t,n,r,u.font),h=yp(e.borders??u.border),g=t.blackAndWhite?pp(h):h,_=hp(u.fill);return{text:l,rect:o,fontFamily:d.fontFamily,fontSize:f,bold:d.bold,italic:d.italic,strike:d.strike,underline:d.underline,textColor:t.blackAndWhite?fp(d.textColor):d.textColor,fillColor:t.blackAndWhite&&_!==null?fp(_):_,horizontalAlign:s_(u.alignment,a?.type,a?.result),verticalAlign:xp(u.alignment),wrapText:u.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:s,rowSpan:c,hyperlink:a?.hyperlink??null,richText:m,indent:u.alignment?.indent??0,textRotation:u.alignment?.textRotation===255?`vertical`:u.alignment?.textRotation??0,textOverflowWidth:0}}function B_(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 V_(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=B_(n.borders.right);B_(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=B_(n.borders.bottom);B_(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 H_(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=(fg(r.nativeColOff??0)||0)*n,f=(fg(r.nativeRowOff??0)||0)*n,p=l+d,m=u-f,h=100,g=100,_=e.extUnit??`px`;if(e.ext)_===`emu`?(h=fg(e.ext.width)*n,g=fg(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 U_(e,t,n){for(let r of e){let e=H_(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 W_(e,t,n){for(let r of e){let e=H_(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 G_(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;for(let e of u.richText){let t=s.resolveFont(e.fontFamily,e.bold,e.italic);d+=s.measureText(e.text,t,e.fontSize)}}else{let e=s.resolveFont(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 K_(e,t,n,r,i){if(!e||e.type!==sg.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=mp(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),o=n.resolveFont(a.fontFamily,a.bold,a.italic);return n.trackText(e.text,o),{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?fp(a.textColor):a.textColor}})}function q_(e,t){let n=e?.text??``;if(t===`displayed`||!e||!(e.type===sg.Error||e.type===sg.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 J_,Y_,X_,Z_=n((()=>{ep(),Nm(),wp(),lg(),xg(),o_(),J_=8.43,Y_=15,X_=3}));async function Q_(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??/* @__PURE__ */ new Date}},i=await $_(e,r);for(let e of i.sheets)await ev(i,e,r);return tv(i,e,r)}async function $_(e,t){let n=mv(e,t?.sheets);if(n.length===0)throw new gn(`No sheets to export. The workbook is empty or no sheets matched.`);if(t?.font&&t.fonts)throw new vn("`font` and `fonts` cannot be used together");let r;if(t?.fonts)try{r=new Rf(wr(t.fonts))}catch(e){throw e instanceof vn?e:new _n(`Failed to configure PDF fonts`,{cause:e})}else r=new Rf;let i=new Dn,a=t?.font??null,o,s=()=>o??=Dv(n);if(!a&&!t?.fonts&&t?.disableFontAutoDiscovery!==!0){let e=s();iv(r,e.codePoints,t?.preferSystemFonts,t?.textLanguage,ti(e.evidence))}if(a)try{let e=Sr(a);r.registerEmbeddedFont(e)}catch(e){if(t?.font)throw e instanceof vn?e:new vn(`Failed to parse TrueType font`,{cause:e})}let c=r.hasEmbeddedFont()&&!r.hasFallbackFont();if(!r.hasConfiguredFonts()&&!c){for(let e of s().codePoints)r.trackText(String.fromCodePoint(e));await r.prepare()}return{sheets:n,fontManager:r,writer:i,allPages:[]}}async function ev(e,t,n){try{let r=Sv(n,t),i=og(t)?l_(t,r):await c_(t,r,e.fontManager);for(let t of i)e.allPages.push(t)}catch(e){throw new _n(`Failed to layout sheet "${t.name}"`,{cause:e})}}async function tv(e,t,n){let{allPages:r,fontManager:i,writer:a,sheets:o}=e,s=Sv(n,o[0]);if(av(r,s,o),!i.hasConfiguredFonts()&&(!i.hasEmbeddedFont()||i.hasFallbackFont()))for(let e of Dv(o).codePoints)i.trackText(String.fromCodePoint(e));ov(r),sv(r,i);let c=nv(r,i),l=s.watermark;if(l&&l.type===`text`){let e=l.fontFamily??`Helvetica`,t=l.bold??!1,n=l.italic??!1,r=i.resolveFont(e,t,n);i.trackText(l.text,r)}n?.disableFontAutoDiscovery!==!0&&rv(i,n?.preferSystemFonts,n?.textLanguage);let{pageObjNums:u,sheetFirstPage:d,pagesTreeObjNum:f}=await cv(r,i,a,await i.writeFontResources(a),c,l);return n?.onWarning&&i.reportDiagnostics(n.onWarning),pv(a,u,f,d,s,t,n)}function nv(e,t){let n=/* @__PURE__ */ new WeakMap;for(let r of e)for(let e of r.charts){if(!e.drawVector)continue;let i=new fn,a=/* @__PURE__ */ new Set,o=ig(i,t,a,r.options.blackAndWhite);e.drawVector(o,kv(e.rect)),n.set(e,{stream:i,alphaValues:a})}return n}function rv(e,t,n){let r=e.hasFallbackFont()?e.getUncoveredFallbackCodePoints():null;if(e.hasEmbeddedFont()&&(r?.size??0)===0)return;let i=e.getType3CodePoints();i.size!==0&&iv(e,i,t,n,e.getTextLanguage(),!0)}function iv(e,t,n,r,i,a=!1){let o=Hf(t,n??[],r??i);if(o){if(a){if(!e.widenFallbackFont(o))return}else e.registerFallbackFont(o);e.noteAutoDiscoveredFont(o.familyName,t.size)}}function av(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 ov(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 sv(e,t){for(let n of e){if(n.options.showSheetNames){let e=t.resolveFont(n.options.defaultFontFamily,!0,!1);t.trackText(n.sheetName,e)}if(n.options.showPageNumbers){let r=t.resolveFont(n.options.defaultFontFamily,!1,!1);t.trackText(`Page ${n.pageNumber} of ${e.length}`,r)}}for(let n of e)for(let e of[Dp(n,`header`),Dp(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=Op(e,n),i=t.resolveFont(e.fontFamily||n.options.defaultFontFamily,e.bold,e.italic);t.trackText(r,i)}}async function cv(e,t,n,r,i,a){let o=[],s=n.allocObject(),c=/* @__PURE__ */ new Map,l=e.length,u=/* @__PURE__ */ new WeakMap;for(let d=0;d<e.length;d++)lv(e[d],t,n,r,i,u,l,o,s,c,a),d<e.length-1&&await a_();return{pageObjNums:o,sheetFirstPage:c,pagesTreeObjNum:s}}function lv(e,t,n,r,i,a,o,c,u,d,f){try{let{stream:m,alphaValues:h}=Ep(e,e.options,t,o),g=/* @__PURE__ */ new Map,_=e.options.blackAndWhite,v,y=Dp(e,`header`),b=Dp(e,`footer`),x=e.headerFooter?.images??[],S=/* @__PURE__ */ new Set([...dv(y,`H`),...dv(b,`F`)]);if(x.length>0&&S.size>0){let t=new fn,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,uv(n,a,c.data,c.format,_));let u=c.width*s,d=c.height*s,f=fv(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=uv(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 _n(`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=uv(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&&Ev(f,e)){let r=new fn,i=_m(r,e,f,t);for(let e of i.alphaValues)h.add(e);for(let e of i.imageXObjects){let t=uv(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 T;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)}`:``;T=`[${v?`${l(v)} `:``}${l(w)}${e}]`}else T=`[${t.join(` `)} ${l(w)}]`}else T=l(w);let E=n.allocObject(),ee=t.buildFontDictString(r),te=new p().set(`Font`,ee);if(g.size>0){let e=[`<<`];for(let[t,n]of g)e.push(`/${t} ${l(n)}`);e.push(`>>`),te.set(`XObject`,e.join(`
|
|
50
50
|
`))}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(`/${em(t)} ${l(r)}`)}e.push(`>>`),te.set(`ExtGState`,e.join(`
|
|
51
|
-
`))}n.addObject(E,te);let ne=[];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),ne.push(e)}let re=n.addPage({parentRef:u,width:e.width,height:e.height,contentsRef:T,resourcesRef:E,transparencyGroup:h.size>0,annotRefs:ne.length>0?ne:void 0});c.push(re),d.has(e.sheetName)||d.set(e.sheetName,c.length-1)}catch(t){throw new _n(`Failed to render page ${e.pageNumber} of "${e.sheetName}"`,{cause:t})}}function q_(e,t,n,r,i=!1){let a=t.get(n);a===void 0&&(a=/* @__PURE__ */ new Map,t.set(n,a));let o=a.get(i);if(o!==void 0)return o;let s=dt(e,n,r,i);return a.set(i,s),s}function J_(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 Y_(e){return{section:e[0]===`L`?`left`:e[0]===`R`?`right`:`center`,kind:e[1]===`H`?`header`:`footer`}}function X_(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=cv(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,creationDate:o?.creationDate,modDate:o?.modDate}),o?.encryption){let t=tn(o.encryption);e.setEncryption(t)}return e.build()}function Z_(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 Q_(e){let t=e.replace(/\$/g,``).toUpperCase().match(/^([A-Z]+)(?::([A-Z]+))?$/);if(!t)return null;let n=ev(t[1]),r=t[2]?ev(t[2]):n;return r<n?null:{first:n,last:r}}function $_(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 ev(e){let t=0;for(let n=0;n<e.length;n++)t=t*26+(e.charCodeAt(n)-64);return t}function tv(e){return e===`overThenDown`?`overThenDown`:`downThenOver`}function nv(e){return e===`atEnd`||e===`asDisplayed`?e:`none`}function rv(e){switch(e){case`blank`:case`dash`:case`NA`:return e;default:return`displayed`}}function iv(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 av(e,t){let n=t?.pageSetup,r=ov(e?.pageSize,n?.paperSize),i=t&&og(t)?t.orientation:void 0,a=e?.orientation??i??(n?.orientation===`landscape`?`landscape`:`portrait`),o=sv(e?.margins,n?.margins),s=e?.blackAndWhite??n?.blackAndWhite??!1,c=sp(e?.gridLineColor??`FFD0D0D0`)??{r:.816,g:.816,b:.816},l=s?fp(c):c,u=!!t&&!og(t),d=e=>typeof e==`number`&&e>0&&{first:1,last:e},f=!1;e?.repeatRows===void 0?u&&n?.printTitlesRow&&(f=$_(n.printTitlesRow)??!1):f=d(e.repeatRows);let p=!1;e?.repeatCols===void 0?u&&n?.printTitlesColumn&&(p=Q_(n.printTitlesColumn)??!1):p=d(e.repeatCols);let{fitToPage:m,scale:h,fitToWidth:g,fitToHeight:_}=iv(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??tv(n?.pageOrder),blackAndWhite:s,draft:e?.draft??n?.draft??!1,errors:e?.errors??rv(n?.errors),cellComments:e?.cellComments??nv(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??/* @__PURE__ */ new Date,headerFooterLocale:e?.headerFooter?.locale,title:e?.title??``,author:e?.author??``,subject:e?.subject??``,creator:e?.creator??`documonster`,watermark:e?.watermark}}function ov(e,t){return e?typeof e==`string`?cg[e]??cg.A4:e:t===void 0?cg.A4:pv[t]??cg.A4}function sv(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 cv(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 lv(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 uv(e){let t=/* @__PURE__ */ new Set,n=$r();for(let r of e){let e=r.headerFooter;if(e){for(let r of[e.oddHeader,e.oddFooter,e.evenHeader,e.evenFooter,e.firstHeader,e.firstFooter])if(r)for(let e of[r.left,r.center,r.right])for(let r of e)dv(r.text,t,n)}if(!og(r)){for(let e of r.rows.values())for(let r of e.cells.values())if(dv(r.text,t,n),r.type===sg.RichText&&r.value&&typeof r.value==`object`&&`richText`in r.value){let e=r.value.richText;for(let r of e)dv(r.text,t,n)}}}return{codePoints:t,evidence:n}}function dv(e,t,n){if(e){ei(n,e);for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++,un(r)||t.add(r)}}}function fv(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 pv,mv=n((()=>{gt(),on(),m(),mn(),On(),Sn(),Ar(),zf(),Uf(),Cr(),ag(),P_(),Nm(),wp(),lg(),li(),Ug(),pv={1:cg.LETTER,5:cg.LEGAL,9:cg.A4,8:cg.A3,11:cg.A5,17:cg.TABLOID}}));rg(),mv(),lg();async function hv(e,t){return F_(gv(e),t)}function gv(e){return Array.isArray(e)?{sheets:[_v({data:e})]}:`sheets`in e?{title:e.title,creator:e.author,sheets:e.sheets.map((e,t)=>_v(e,t))}:{sheets:[_v(e)]}}function _v(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:/* @__PURE__ */ new Map,rows:/* @__PURE__ */ new Map};let l=/* @__PURE__ */ 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=/* @__PURE__ */ new Map,d=1;if(a&&i){let e=/* @__PURE__ */ new Map;for(let t=0;t<i.length;t++){let n=i[t];n!==void 0&&e.set(t+1,{type:sg.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=/* @__PURE__ */ new Map;for(let e=0;e<r.length;e++){let t=vv(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:/* @__PURE__ */ new Map})}return{name:r,bounds:{top:1,left:1,bottom:c,right:s},columns:l,rows:u,images:f}}function vv(e,t){if(e==null)return null;if(typeof e==`object`&&!(e instanceof Date)&&`value`in e){let n=e,r=vv(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:sg.String,value:e,text:e,col:t}:typeof e==`number`?{type:sg.Number,value:e,text:String(e),col:t}:typeof e==`boolean`?{type:sg.Boolean,value:e,text:e?`TRUE`:`FALSE`,col:t}:e instanceof Date?{type:sg.Date,value:e,text:e.toLocaleDateString(),col:t}:null}Sn();function yv(e){return e===0||e===9||e===10||e===13||e===12||e===32}function bv(e){return e===40||e===41||e===60||e===62||e===91||e===93||e===123||e===125||e===47||e===37}function xv(e){return e>=48&&e<=57}function Sv(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Cv(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-65+10:e-97+10}let wv=new Uint8Array([101,110,100,115,116,114,101,97,109]);var Tv=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):xv(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(yv(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(yv(e)){this.pos++;continue}Sv(e)&&(n<0?n=Cv(e):(t.push(n<<4|Cv(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(yv(e)||bv(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(Sv(e)&&Sv(n)){t.push(Cv(e)<<4|Cv(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(xv(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(yv(e)||bv(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(wv,this.pos);if(e<0)throw new yn(`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+wv.length,n}let t=this.data.subarray(this.pos,this.pos+e);if(this.pos+=e,this.skipWhitespaceAndComments(),this.pos+wv.length<=this.data.length){let e=!0;for(let t=0;t<wv.length;t++)if(this.data[this.pos+t]!==wv[t]){e=!1;break}e&&(this.pos+=wv.length)}return t}};Sn();function Ev(e){return typeof e==`object`&&!!e&&`type`in e&&e.type===`ref`}function Dv(e){return typeof e==`object`&&!!e&&`type`in e&&e.type===`stream`}function Ov(e){return e instanceof Map}function kv(e){return Array.isArray(e)}function Av(e,t){let n=e.get(t);return typeof n==`string`?n:void 0}function jv(e,t){let n=e.get(t);return typeof n==`number`?n:void 0}function Mv(e,t){let n=e.get(t);return typeof n==`boolean`?n:void 0}function Nv(e,t){let n=e.get(t);return kv(n)?n:void 0}function Pv(e,t){let n=e.get(t);return Ev(n)?n:void 0}function Fv(e,t){let n=e.get(t);return n instanceof Uint8Array?n:void 0}function Iv(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)):Lv(e)}function Lv(e){let t=``;for(let n=0;n<e.length;n++){let r=e[n],i=Rv[r];t+=i===void 0?String.fromCharCode(r):String.fromCodePoint(i)}return t}let Rv={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 zv(e,t=0){return Bv(e,e.next(),t)}function Bv(e,t,n=0){switch(t.type){case 0:{let r=t.numValue,i=e.pos,a=e.next();if(a.type===0){let t=a.numValue,o=e.next();if(o.type===6&&o.strValue===`R`)return{type:`ref`,objNum:r,gen:t};if(o.type===6&&o.strValue===`obj`){let t=zv(e,n);if(Ov(t)){e.skipWhitespaceAndComments();let n=e.pos,r=e.next();if(r.type===6&&r.strValue===`stream`){let n=jv(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 r=e.pos,i=e.next();return(i.type!==6||i.strValue!==`endobj`)&&(e.pos=r),t}return e.pos=i,r}return e.pos=i,r}case 1:case 2:return t.rawBytes??/* @__PURE__ */ new Uint8Array;case 3:return t.strValue;case 4:return t.boolValue;case 5:return null;case 7:return Hv(e,Vv(n,t));case 9:return Uv(e,Vv(n,t));case 11:throw new yn(`Unexpected end of input while parsing PDF object`);default:return t.strValue??null}}function Vv(e,t){let n=e+1;if(n>512)throw new bn(`PDF objects nested deeper than 512 levels at offset ${t.offset}`);return n}function Hv(e,t){let n=/* @__PURE__ */ new Map;for(;;){let r=e.next();if(r.type===8)break;if(r.type===11)throw new yn(`Unexpected EOF in dictionary`);if(r.type!==3)continue;let i=r.strValue,a=zv(e,t);n.set(i,a)}return n}function Uv(e,t){let n=[];for(;;){let r=e.next();if(r.type===10)break;if(r.type===11)throw new yn(`Unexpected EOF in array`);n.push(Bv(e,r,t))}return n}function Wv(e,t,n){let r=e.get(t);if(!r)return``;let i=n.deref(r);return typeof i==`string`?i:i instanceof Uint8Array?Iv(i):``}function Gv(e,t){let n=e.get(`Annots`);if(!n)return[];let r=t.deref(n);if(!kv(r))return[];let i=[];for(let e of r)try{let n=t.derefDict(e);if(!n)continue;let r=Av(n,`Subtype`)??``;if(r===`Widget`||r===`Popup`)continue;let a=Kv(n,r,t);a&&i.push(a)}catch{}return i}function Kv(e,t,n){let r=qv(e.get(`Rect`),n);if(!r)return null;let i=Wv(e,`Contents`,n),a=Wv(e,`T`,n),o=Wv(e,`Subj`,n),s=Wv(e,`M`,n),c=jv(e,`F`)??0,l=Jv(e.get(`C`),n),u=``,d=``;if(t===`Link`){let t=n.derefDict(e.get(`A`));if(t){let e=Av(t,`S`);if(e===`URI`)u=Wv(t,`URI`,n);else if(e===`GoTo`){let e=t.get(`D`);typeof e==`string`&&(d=e)}else e===`GoToR`&&(u=Wv(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=Iv(e))}}}return{subtype:t,rect:r,contents:i,author:a,subject:o,modifiedDate:s,uri:u,destination:d,flags:c,color:l}}function qv(e,t){if(!e)return null;let n=t.deref(e);if(!kv(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 Jv(e,t){if(!e)return[];let n=t.deref(e);return kv(n)?n.map(e=>typeof e==`number`?e:0):[]}function Yv(e){try{let t=e.getCatalog().get(`Outlines`);if(!t)return[];let n=e.derefDict(t);return n?Zv(n,e,Xv(e),/* @__PURE__ */ new Set,0):[]}catch{return[]}}function Xv(e){let t=e.getPagesWithObjInfo(),n=/* @__PURE__ */ new Map;for(let e=0;e<t.length;e++){let{objNum:r}=t[e];r!==0&&n.set(r,e)}return n}function Zv(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++,Ev(s)){if(r.has(s.objNum))break;r.add(s.objNum)}let e=t.derefDict(s);if(!e)break;let a=Qv(e,t,n,r,i);a&&o.push(a),s=e.get(`Next`)}return o}function Qv(e,t,n,r,i){let a=$v(e,t);return a?{title:a,pageIndex:ey(e,t,n),children:Zv(e,t,n,r,i+1)}:null}function $v(e,t){return Wv(e,`Title`,t)}function ey(e,t,n){let r=e.get(`Dest`);if(r!=null){let e=ty(r,t,n);if(e>=0)return e}let i=e.get(`A`);if(i!=null){let e=t.derefDict(i);if(e&&Av(e,`S`)===`GoTo`){let r=e.get(`D`);if(r!=null)return ty(r,t,n)}}return-1}function ty(e,t,n){let r=t.deref(e);return r==null?-1:kv(r)&&r.length>=1?ny(r[0],t,n):typeof r==`string`?ry(r,t,n):r instanceof Uint8Array?ry(Iv(r),t,n):-1}function ny(e,t,n){if(Ev(e)){let t=n.get(e.objNum);return t===void 0?-1:t}return typeof e==`number`&&Number.isInteger(e)?e:-1}function ry(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 iy(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=ay(i,e,t);if(r!=null)return iy(r,t,n)}}}return-1}function iy(e,t,n){let r=t.deref(e);if(r==null)return-1;if(kv(r)&&r.length>=1)return ny(r[0],t,n);if(r instanceof Map){let e=r.get(`D`);if(e!=null)return ty(e,t,n)}return-1}function ay(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(kv(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=Iv(i)),a===t)return e[r+1]}}let o=i.get(`Kids`);if(o!=null){let e=n.deref(o);if(kv(e))for(let i of e){let e=ay(i,t,n,r+1);if(e!=null)return e}}return null}var oy=class{constructor(){this.codeSpaceRanges=[],this.bfChars=/* @__PURE__ */ 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`)return py(a.mapping,e-a.low);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 sy(e){let t=new oy,n=new Tv(e);for(;;){let e=n.next();if(e.type===11)break;if(e.type===6){let r=e.strValue;r===`begincodespacerange`?cy(n,t):r===`beginbfchar`?ly(n,t):r===`beginbfrange`&&uy(n,t)}}return t.sortRanges(),t}function cy(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=dy(r),a=dy(e);t.addCodeSpaceRange(n,a,r.length)}}}}function ly(e,t){for(;;){let n=e.next();if(n.type===11||n.type===6&&n.strValue===`endbfchar`)break;if(n.type===2){let r=dy(n.rawBytes),i=e.next();if(i.type===2){let e=fy(i.rawBytes);t.addBfChar(r,e)}}}}function uy(e,t){for(;;){let n=e.next();if(n.type===11||n.type===6&&n.strValue===`endbfrange`)break;if(n.type===2){let r=dy(n.rawBytes),i=e.next();if(i.type!==2)continue;let a=dy(i.rawBytes),o=e.next();if(o.type===2){let e=fy(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(fy(t.rawBytes))}t.addBfRange(r,a,n)}}}}function dy(e){let t=0;for(let n=0;n<e.length;n++)t=t*256+e[n];return t}function fy(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 py(e,t){if(e.length===0)return;if(t===0)return e;let n=e.length-1,r=e.charCodeAt(n)+t;if(r<0||r>65535)return;let i=n>0?e.charCodeAt(n-1):0,a=i>=55296&&i<=56319;if(!(a&&(r<56320||r>57343))&&!(!a&&r>=55296&&r<=57343))return e.slice(0,n)+String.fromCharCode(r)}Cr();let my={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 hy(e){let t=e.includes(`+`)?e.substring(e.indexOf(`+`)+1):e,n=my[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 gy(e,t){let n=Av(e,`Subtype`)??`Type1`,r=Av(e,`BaseFont`)??`Unknown`,i=Av(e,`Name`)??r,a=by(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(Ev(n)){let e=t.derefDict(n);e&&(s=jv(e,`WMode`)??0)}}let c=Sy(e,n,r,t),l=1;n===`Type0`&&(l=a?.bytesPerCode??2);let u=Dy(e,t),d=!!((u?jv(u,`Flags`)??0:0)&4),{widths:f,defaultWidth:p,missingWidth:m}=Ay(e,n,u,t),h=!a&&o?ky(e,u,t):null;return{name:i,subtype:n,toUnicode:a,encoding:c,bytesPerCode:l,baseFontName:r,isSymbolic:d,widths:f,defaultWidth:p,missingWidth:m,isIdentityEncoding:o,cidToUnicode:h,wmode:s}}function _y(e,t){let n=``;for(let r of vy(e,t))n+=yy(r,t);return n}function vy(e,t){if(t.subtype!==`Type0`&&t.bytesPerCode!==2)return e;let n=[],r=0;for(;r<e.length;){let i=t.toUnicode?.hasCodeSpaceRanges?t.toUnicode.getCodeLength(e[r]):0;i<1&&(i=Math.min(Math.max(t.bytesPerCode,1),4)),i=Math.min(i,e.length-r);let a=0;for(let t=0;t<i;t++)a=a<<8|e[r+t];n.push(a),r+=i}return n}function yy(e,t){if(t.toUnicode){let n=t.toUnicode.lookup(e);if(n!==void 0)return n}if(t.cidToUnicode){let n=t.cidToUnicode.get(e);if(n!==void 0)return n}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 by(e,t){let n=e.get(`ToUnicode`);if(!n){let n=Ey(e,t)?.get(`ToUnicode`);return n?xy(n,t):null}return xy(n,t)}function xy(e,t){let n=t.derefStreamWithObjNum(e);if(!n)return null;try{return sy(t.getStreamData(n.stream,n.objNum,n.gen))}catch{return null}}function Sy(e,t,n,r){let i=/* @__PURE__ */ new Map;if(t===`Type0`)return i;let a=e.get(`Encoding`);if(typeof a==`string`)wy(i,a);else if(Ov(a)){let e=Av(a,`BaseEncoding`);e?wy(i,e):Cy(i,t,n);let r=Nv(a,`Differences`);r&&Ty(i,r)}else if(Ev(a)){let e=r.derefDict(a);if(e){let r=Av(e,`BaseEncoding`);r?wy(i,r):Cy(i,t,n);let a=Nv(e,`Differences`);a&&Ty(i,a)}}else Cy(i,t,n);return i}function Cy(e,t,n){let r=hy(n);r===`symbol`?wy(e,`SymbolEncoding`):r===`zapf`?wy(e,`ZapfDingbatsEncoding`):t===`TrueType`||r===`winansi`?wy(e,`WinAnsiEncoding`):wy(e,`StandardEncoding`)}function wy(e,t){let n;switch(t){case`WinAnsiEncoding`:n=Py;break;case`MacRomanEncoding`:n=Fy;break;case`StandardEncoding`:n=Iy;break;case`MacExpertEncoding`:n=Ly;break;case`SymbolEncoding`:n=Ry;break;case`ZapfDingbatsEncoding`:n=zy;break;default:n=Py}for(let[t,r]of Object.entries(n))e.set(Number(t),r)}function Ty(e,t){let n=0;for(let r of t)if(typeof r==`number`)n=r;else if(typeof r==`string`){let t=Ny(r);t&&e.set(n,t),n++}}function Ey(e,t){if(Av(e,`Subtype`)!==`Type0`)return null;let n=Nv(e,`DescendantFonts`);return!n||n.length===0?null:t.derefDict(n[0])}function Dy(e,t){let n=e.get(`FontDescriptor`);if(n)return t.derefDict(n);let r=Ey(e,t)?.get(`FontDescriptor`);return r?t.derefDict(r):null}function Oy(e,t){let n=Ey(e,t)?.get(`CIDToGIDMap`);if(!n||typeof n==`string`)return null;let r=t.derefStreamWithObjNum(n);if(!r)return null;let i=t.getStreamData(r.stream,r.objNum,r.gen),a=Math.floor(i.length/2),o=new Uint16Array(a);for(let e=0;e<a;e++)o[e]=i[e*2]<<8|i[e*2+1];return a>0?o:null}function ky(e,t,n){if(!t)return null;let r=t.get(`FontFile2`);if(!r)return null;try{let t=n.derefStreamWithObjNum(r);if(!t)return null;let i=n.getStreamData(t.stream,t.objNum,t.gen);if(i.length===0)return null;let a=Sr(i),o=/* @__PURE__ */ new Map;for(let[e,t]of a.cmap)t>0&&!o.has(t)&&o.set(t,String.fromCodePoint(e));if(o.size===0)return null;let s=Oy(e,n);if(!s)return o;let c=/* @__PURE__ */ new Map;for(let e=0;e<s.length;e++){let t=o.get(s[e]);t!==void 0&&c.set(e,t)}return c.size>0?c:null}catch{return null}}function Ay(e,t,n,r){let i=/* @__PURE__ */ new Map,a=1e3,o=0;n&&(o=jv(n,`MissingWidth`)??0);let s=Ey(e,r);if(s){a=jv(s,`DW`)??1e3;let e=Nv(s,`W`);e&&jy(e,i,r)}else{let t=jv(e,`FirstChar`)??0,n=Nv(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 jy(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(kv(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 My(e,t){let n=t.widths.get(e);return n===void 0?t.missingWidth||t.defaultWidth:n}function Ny(e){let t=By[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 Py=/* @__PURE__ */ (()=>{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})(),Fy=/* @__PURE__ */ (()=>{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})(),Iy=/* @__PURE__ */ (()=>{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})(),Ly=/* @__PURE__ */ (()=>{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})(),Ry=/* @__PURE__ */ (()=>{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})(),zy=/* @__PURE__ */ (()=>{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})(),By={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},Vy=new TextEncoder;function Hy(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 Uy(e){if(e.length===0)return!1;let t=e.codePointAt(0);return t!==void 0&&Hy(t)}function Wy(e,t){let n=t.resolvePageResources(e),r=Gy(n,t),i=Ky(e,t);if(i.length===0)return[];let a=[],o=new Jy(r,t,n);for(let e of i)o.process(e,a);return a}function Gy(e,t){let n=/* @__PURE__ */ 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,gy(i,t))}catch{}}return n}function Ky(e,t){let n=e.get(`Contents`);if(!n)return[];if(Ev(n)){let e=t.derefStreamWithObjNum(n);if(e)return[t.getStreamData(e.stream,e.objNum,e.gen)];let r=t.deref(n);return kv(r)?qy(r,t):[]}return kv(n)?qy(n,t):[]}function qy(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 Jy=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 Tv(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(Zy(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&&Yy(t[n-1])&&(n+2>=t.length||Yy(t[n+2])||Xy(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(Zy(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($y(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=Qy(t,0);break;case`Tw`:this.textState.wordSpacing=Qy(t,0);break;case`Tz`:this.textState.horizontalScaling=Qy(t,0);break;case`TL`:this.textState.leading=Qy(t,0);break;case`Tf`:this.setFont(t);break;case`Tr`:this.textState.renderMode=Qy(t,0);break;case`Ts`:this.textState.rise=Qy(t,0);break;case`BT`:this.beginText();break;case`ET`:this.inTextObject=!1;break;case`Td`:this.moveText(Qy(t,0),Qy(t,1));break;case`TD`:this.textState.leading=-Qy(t,1),this.moveText(Qy(t,0),Qy(t,1));break;case`Tm`:t.length>=6&&this.setTextMatrix($y(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=Qy(t,0),this.textState.charSpacing=Qy(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=eb(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=eb(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=Vy.encode(e);else return;let r=this.textState.font,i=_y(n,r);if(i.length===0)return;let a=eb(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=Uy(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);for(let i of vy(e,t))n+=My(i,t)/1e3*r+this.textState.charSpacing,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(Av(c,`Subtype`)!==`Form`)return;let l=c.get(`Resources`),u=Gy(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=Nv(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 Yy(e){return e===0||e===9||e===10||e===13||e===12||e===32}function Xy(e){return e===40||e===41||e===60||e===62||e===91||e===93||e===123||e===125||e===47||e===37}function Zy(e){switch(e.type){case 0:return e.numValue??0;case 3:return e.strValue??``;case 1:case 2:return e.rawBytes??/* @__PURE__ */ new Uint8Array;case 4:return e.boolValue??!1;case 5:return null;case 9:return[];default:return e.strValue??null}}function Qy(e,t){let n=e[t];return typeof n==`number`?n:0}function $y(e,t){let n=[];for(let r=0;r<t;r++)n.push(Qy(e,r));return n}function eb(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 tb(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(!kv(i))return[];let a=[],o=/* @__PURE__ */ new Set;for(let t of i)ib(t,e,``,a,o);return a}catch{return[]}}let nb=65536,rb=32768;function ib(e,t,n,r,i){if(Ev(e)){if(i.has(e.objNum))return;i.add(e.objNum)}let a=t.derefDict(e);if(!a)return;let o=Wv(a,`T`,t),s=n?o?`${n}.${o}`:n:o,c=a.get(`Kids`);if(c){let e=t.deref(c);if(kv(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)ib(n,t,s,r,i);return}if(ab(a,t)===`Btn`){let n=ob(a,t);if(n&rb&&!(n&nb)){let i=cb(a,e,s,n,t);i&&r.push(i);return}}}}let l=ab(a,t);if(!l)return;let u=sb(a,s,l,t);u&&r.push(u)}function ab(e,t,n=0){let r=Av(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 ab(e,t,n+1)}}function ob(e,t,n=0){let r=jv(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 ob(e,t,n+1)}return 0}function sb(e,t,n,r){let i=ob(e,r),a=fb(e,r),o=Wv(e,`DV`,r),s=lb(n,i),c=[],l=``;return n===`Ch`&&(c=ub(e,r)),n===`Btn`&&!(i&nb)&&!(i&rb)&&(l=db(e,r)),{name:t||`(unnamed)`,type:s,value:a,defaultValue:o,readOnly:!!(i&1),required:!!(i&2),options:c,exportValue:l,flags:i}}function cb(e,t,n,r,i){let a=fb(e,i),o=Wv(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 lb(e,t){switch(e){case`Tx`:return`text`;case`Btn`:return t&nb?`button`:t&rb?`radio`:`checkbox`;case`Ch`:return t&131072?`dropdown`:`listbox`;case`Sig`:return`signature`;default:return`unknown`}}function ub(e,t){let n=e.get(`Opt`);if(!n)return[];let r=t.deref(n);if(!kv(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(Iv(n));else if(kv(n)&&n.length>=2){let e=t.deref(n[1]);typeof e==`string`?i.push(e):e instanceof Uint8Array&&i.push(Iv(e))}}return i}function db(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 fb(e,t,n=0){let r=e.get(`V`);if(r!==void 0)return pb(r,t);if(n>=20)return``;let i=e.get(`Parent`);if(i){let e=t.derefDict(i);if(e)return fb(e,t,n+1)}return``}function pb(e,t){let n=t.deref(e);return typeof n==`string`?n:n instanceof Uint8Array?Iv(n):typeof n==`number`?String(n):typeof n==`boolean`?n?`true`:`false`:``}function mb(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(Av(o,`Subtype`)!==`Image`)continue;let s=hb(e,i.stream,o,t,a,i.objNum,i.gen);s&&(n.push(s),a++)}return n}function hb(e,t,n,r,i,a=0,o=0){let s=jv(n,`Width`)??jv(n,`W`)??0,c=jv(n,`Height`)??jv(n,`H`)??0,l=jv(n,`BitsPerComponent`)??jv(n,`BPC`)??8;if(s===0||c===0)return null;let{colorSpace:u,components:d}=gb(n,r),f=vb(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 gb(e,t){let n=e.get(`ColorSpace`)??e.get(`CS`);if(typeof n==`string`)return _b(n);if(kv(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:jv(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:kv(n[1])?n[1].length:1}:_b(e)}}if(Ev(n)){let e=t.deref(n);if(typeof e==`string`)return _b(e);if(kv(e)&&e.length>0&&typeof e[0]==`string`)return gb(/* @__PURE__ */ new Map([[`ColorSpace`,e]]),t)}return{colorSpace:`DeviceRGB`,components:3}}function _b(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 vb(e){let t=e.get(`Filter`)??e.get(`F`);if(typeof t==`string`)return t;if(kv(t)&&t.length>0){let e=/* @__PURE__ */ 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 yb(e){let t={title:``,author:``,subject:``,keywords:``,creator:``,producer:``,creationDate:null,modDate:null,pdfVersion:bb(e),pageCount:0,encrypted:e.trailer.has(`Encrypt`),pageSize:null,xmpXml:null,custom:{}};xb(e,t),Sb(e,t);try{let n=e.getPages();t.pageCount=n.length,n.length>0&&(t.pageSize=Tb(n[0],e))}catch{}return t}function bb(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 xb(e,t){let n=Pv(e.trailer,`Info`);if(!n)return;let r=e.derefDict(n);if(!r)return;let i=/* @__PURE__ */ new Set([`Title`,`Author`,`Subject`,`Keywords`,`Creator`,`Producer`,`CreationDate`,`ModDate`]);for(let[e,n]of r){let r=n instanceof Uint8Array?Iv(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=Eb(r);break;case`ModDate`:t.modDate=Eb(r);break;default:i.has(e)||(t.custom[e]=r)}}}function Sb(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||=Cb(a,`dc:title`)??``,t.author||=Cb(a,`dc:creator`)??``,t.subject||=Cb(a,`dc:description`)??``,t.keywords||=Cb(a,`pdf:Keywords`)??``,t.creator||=Cb(a,`xmp:CreatorTool`)??``,t.producer||=Cb(a,`pdf:Producer`)??``,!t.creationDate){let e=Cb(a,`xmp:CreateDate`);e&&(t.creationDate=new Date(e))}if(!t.modDate){let e=Cb(a,`xmp:ModifyDate`);e&&(t.modDate=new Date(e))}}catch{}}function Cb(e,t){let n=RegExp(`<${t}[^>]*>([^<]+)</${t}>`,`i`).exec(e);if(n)return wb(n[1].trim());let r=RegExp(`<${t}[^>]*>.*?<rdf:li[^>]*>([^<]+)</rdf:li>`,`is`).exec(e);return r?wb(r[1].trim()):null}function wb(e){return e.replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/&/g,`&`)}function Tb(e,t){return t.resolvePageBox(e)}function Eb(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}en(),Sn(),he(),Yt();let Db=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]),Ob=new TextEncoder;function kb(e,t=``){let n=e.derefDict(e.trailer.get(`Encrypt`));if(!n)return!0;let r=Av(n,`Filter`);if(r!==`Standard`)throw new yn(`Unsupported encryption filter: ${r}`);let i=jv(n,`V`)??0,a=jv(n,`R`)??0,o=(jv(n,`Length`)??40)/8,s=jv(n,`P`)??0,c=Fv(n,`O`),l=Fv(n,`U`);if(!c||!l)throw new yn(`Missing /O or /U values in Encrypt dictionary`);let u=Nv(e.trailer,`ID`),d=u&&u.length>0&&u[0]instanceof Uint8Array?u[0]:/* @__PURE__ */ new Uint8Array,f=qb(n);if(i===5)return jb(e,n,t,a,c,l,s,d);let p=Jb(n,i,`StrF`),m=Jb(n,i,`StmF`),h=Rb(t,c,s,d,a,o,l,f);return h||=Rb(Bb(t,c,a,o),c,s,d,a,o,l,f),h||t!==``&&(h=Rb(``,c,s,d,a,o,l,f)),h?(Xb(e,Yb(p,h),Yb(m,h),i>=4?f:!0),!0):!1}function Ab(e){return e.trailer.has(`Encrypt`)}function jb(e,t,n,r,i,a,o,s){if(r!==5&&r!==6)throw new yn(`Unsupported revision ${r} for V=5 encryption`);let c=Fv(t,`OE`),l=Fv(t,`UE`);if(!c||!l)throw new yn(`Missing /OE or /UE values in V=5 Encrypt dictionary`);if(i.length<48||a.length<48)throw new yn(`Invalid /O or /U length for V=5 encryption`);let u=Mb(n),d=r===6?Ib:(e,t,n)=>Zt(pe([e,t,n])),f=Nb(u,a,l,d);if(f||=Pb(u,i,c,a,d),!f&&n!==``){let e=/* @__PURE__ */ new Uint8Array;f=Nb(e,a,l,d),f||=Pb(e,i,c,a,d)}return f?(Xb(e,Yb(Jb(t,5,`StrF`),f),Yb(Jb(t,5,`StmF`),f),qb(t)),!0):!1}function Mb(e){let t=Ob.encode(e);return t.length>127?t.subarray(0,127):t}function Nb(e,t,n,r){let i=t.subarray(0,32),a=t.subarray(32,40),o=t.subarray(40,48);if(!Kb(r(e,a,Fb),i))return null;let s=r(e,o,Fb),c=/* @__PURE__ */ new Uint8Array(16);return wt(n.subarray(0,32),s,c)}function Pb(e,t,n,r,i){let a=t.subarray(0,32),o=t.subarray(32,40),s=t.subarray(40,48),c=r.subarray(0,48);if(!Kb(i(e,o,c),a))return null;let l=i(e,s,c),u=/* @__PURE__ */ new Uint8Array(16);return wt(n.subarray(0,32),l,u)}let Fb=/* @__PURE__ */ new Uint8Array;function Ib(e,t,n){let r=Zt(pe([e,t,n]));for(let t=0;;t++){let i=pe([e,r,n]),a=new Uint8Array(i.length*64);for(let e=0;e<64;e++)a.set(i,e*i.length);let o=Tt(a,r.subarray(0,16),r.subarray(16,32)),s=0;for(let e=0;e<16;e++)s+=o[e];let c=s%3;if(r=c===0?Zt(o):c===1?Qt(o):$t(o),t>=63&&o[o.length-1]<=t-31)break}return r.subarray(0,32)}function Lb(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:Ct(r,t,n)}function Rb(e,t,n,r,i,a,o,s){let c=zb(e,t,n,r,i,a,s);if(i===2){if(Kb(Pt(c,Db),o.subarray(0,32)))return c}else if(i>=3){let e=new Uint8Array(32+r.length);e.set(Db),e.set(r,32);let t=Pt(c,Xt(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=Pt(n,t)}if(Kb(t.subarray(0,16),o.subarray(0,16)))return c}return null}function zb(e,t,n,r,i,a,o){let s=Gb(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=Xt(l.subarray(0,u));if(i>=3)for(let e=0;e<50;e++)d=Xt(d.subarray(0,a));return d.subarray(0,a)}function Bb(e,t,n,r){let i=Xt(Gb(e));if(n>=3)for(let e=0;e<50;e++)i=Xt(i.subarray(0,r));let a=i.subarray(0,r),o=new Uint8Array(t.subarray(0,32));if(n===2)o=Pt(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=Pt(t,o)}let s=``;for(let e=0;e<32&&!(o[e]===Db[0]&&Kb(o.subarray(e,e+Math.min(32-e,32)),Db.subarray(0,Math.min(32-e,32))));e++)s+=String.fromCharCode(o[e]);return s}function Vb(e,t,n,r){let i=e.length,a=new Uint8Array(i+5+(r?4:0));return a.set(e),a[i]=t&255,a[i+1]=t>>8&255,a[i+2]=t>>16&255,a[i+3]=n&255,a[i+4]=n>>8&255,r&&a.set([115,65,108,84],i+5),Xt(a).subarray(0,Math.min(i+5,16))}function Hb(e,t,n,r){return Pt(Vb(r,t,n,!1),e)}function Ub(e,t,n,r){if(e.length<16)return e;let i=e.subarray(0,16),a=e.subarray(16);return a.length===0||a.length%16!=0?e:Ct(a,Vb(r,t,n,!0),i)}function Wb(e,t){let n=Ft(16);return pe([n,St(e,t,n)])}function Gb(e){let t=/* @__PURE__ */ new Uint8Array(32),n=Ob.encode(e),r=Math.min(n.length,32);return t.set(n.subarray(0,r)),t.set(Db.subarray(0,32-r),r),t}function Kb(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 qb(e){let t=Mv(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 Jb(e,t,n){if(t<4)return`rc4`;let r=Av(e,n)??`Identity`;if(r===`Identity`)return`identity`;let i=e.get(`CF`),a=i instanceof Map?i.get(r):void 0;if(!(a instanceof Map))throw new yn(`/${n} names crypt filter /${r}, which /CF does not define`);let o=a.get(`CFM`)??`None`;switch(o){case`None`:return`identity`;case`V2`:return`rc4`;case`AESV2`:return`aesv2`;case`AESV3`:return`aesv3`;default:throw new yn(`Unsupported crypt filter method: ${String(o)}`)}}function Yb(e,t){switch(e){case`identity`:return;case`rc4`:{let e=(e,n,r)=>Hb(e,n,r,t);return{decrypt:e,encrypt:e}}case`aesv2`:return{decrypt:(e,n,r)=>Ub(e,n,r,t),encrypt:(e,n,r)=>Wb(e,Vb(t,n,r,!0))};case`aesv3`:return{decrypt:e=>Lb(e,t),encrypt:e=>Wb(e,t)}}}function Xb(e,t,n,r){let i=e=>e===`string`?t:n;e.decryptFn=(e,t,n,r)=>i(r)?.decrypt(e,t,n)??e,e.encryptFn=(e,t,n,r)=>i(r)?.encrypt(e,t,n)??e,e.encryptMetadata=r}Qe(),Ge(),x(),tt(),Sn();function Zb(e,t,n=268435456){let r=t.get(`Filter`);if(r==null)return e;let i=t.get(`DecodeParms`)??t.get(`DP`);if(typeof r==`string`)return ex(e,r,Ov(i)?i:void 0,n);if(kv(r)){if(r.length>16)throw new bn(`Stream filter chain has ${r.length} filters; the limit is 16`);let t=e,a=kv(i)?i:[];for(let e=0;e<r.length;e++){let i=r[e],o=a[e],s=Ov(o)?o:void 0;t=ex(t,i,s,n)}return t}return e}function Qb(e,t){return new bn(`Decoded ${e} stream exceeds the limit of ${t} bytes (maxDecodedBytes)`)}function $b(e,t,n){let r=new Uint8Array(Math.min(Math.max(n,64),t)),i=0;return{reserve(n){let a=i+n;if(a>t)throw Qb(e,t);if(a>r.length){let e=new Uint8Array(Math.min(Math.max(a,r.length*2),t));e.set(r.subarray(0,i)),r=e}let o=i;return i=a,o},get buffer(){return r},result:()=>r.subarray(0,i)}}function ex(e,t,n,r){switch(t){case`FlateDecode`:case`Fl`:return tx(e,n,r);case`ASCII85Decode`:case`A85`:return ox(e,r);case`ASCIIHexDecode`:case`AHx`:return sx(e,r);case`LZWDecode`:case`LZW`:return cx(e,n,r);case`RunLengthDecode`:case`RL`:return lx(e,r);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 tx(e,t,n){if(e.length===0)return e;let r={maxOutputLength:n},i;try{i=Ze(e,r)}catch(t){if(t instanceof b)throw Qb(`FlateDecode`,n);try{i=ye(e,n)}catch(t){if(t instanceof b)throw Qb(`FlateDecode`,n);return e}}return t&&(jv(t,`Predictor`)??1)>1&&(i=nx(i,t)),i}function nx(e,t){let n=jv(t,`Predictor`)??1,r=jv(t,`Columns`)??1,i=jv(t,`Colors`)??1,a=jv(t,`BitsPerComponent`)??8;return n===1?e:n===2?rx(e,r,i,a):n>=10&&n<=15?ix(e,r,i,a):e}function rx(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 ix(e,t,n,r){let i=Math.max(1,Math.ceil(n*r/8)),a=Math.ceil(t*n*r/8);return $e(e,Math.floor(e.length/(a+1)),a,i)}function ax(e){return e===32||e===9||e===10||e===13||e===12||e===0}function ox(e,t){let n=new Uint8Array(Math.min(4*e.length,t+4)),r=0,i=[0,0,0,0,0],a=0;for(;a<e.length;){let o=e[a];if(ax(o)){a++;continue}if(o===126)break;if(o===122){if(r+4>t)throw Qb(`ASCII85Decode`,t);r+=4,a++;continue}let s=0;for(;s<5&&a<e.length;){let t=e[a];if(t===126)break;a++,!(t<33||t>117)&&(i[s++]=t-33)}if(s===0)break;let c=s-1;for(let e=s;e<5;e++)i[e]=84;if(r+c>t)throw Qb(`ASCII85Decode`,t);let l=(((i[0]*85+i[1])*85+i[2])*85+i[3])*85+i[4];for(let e=0;e<c;e++)n[r++]=l>>>24-8*e&255}return n.subarray(0,r)}function sx(e,t){let n=new Uint8Array(Math.min(Math.ceil(e.length/2),t+1)),r=0,i=-1;for(let a=0;a<e.length;a++){let o=e[a];if(o===62)break;let s;if(o>=48&&o<=57)s=o-48;else if(o>=65&&o<=70)s=o-65+10;else if(o>=97&&o<=102)s=o-97+10;else continue;if(i<0)i=s;else{if(r>=t)throw Qb(`ASCIIHexDecode`,t);n[r++]=i<<4|s,i=-1}}if(i>=0){if(r>=t)throw Qb(`ASCIIHexDecode`,t);n[r++]=i<<4}return n.subarray(0,r)}function cx(e,t,n){let r=t?jv(t,`EarlyChange`)??1:1,i=$b(`LZWDecode`,n,e.length*4),a=0;function o(t){let n=0;for(let r=0;r<t;r++){let t=a+r>>3,i=7-(a+r&7);t<e.length&&(n=n<<1|e[t]>>i&1)}return a+=t,n}let s=9,c=258,l=[];function u(){l=[];for(let e=0;e<256;e++)l[e]=new Uint8Array([e]);l[256]=/* @__PURE__ */ new Uint8Array,l[257]=/* @__PURE__ */ new Uint8Array,c=258,s=9}u();let d=null;for(;a<e.length*8;){let e=o(s);if(e===257)break;if(e===256){u(),d=null;continue}let t;if(e<c&&l[e])t=l[e];else if(e===c&&d)t=new Uint8Array(d.length+1),t.set(d),t[d.length]=d[0];else break;if(i.buffer.set(t,i.reserve(t.length)),d!==null){let e=new Uint8Array(d.length+1);e.set(d),e[d.length]=t[0],l[c]=e,c++,(r?c:c+1)>=1<<s&&s<12&&s++}d=t}let f=i.result();return t&&(jv(t,`Predictor`)??1)>1&&(f=nx(f,t)),f}function lx(e,t){let n=$b(`RunLengthDecode`,t,e.length*2),r=0;for(;r<e.length;){let t=e[r];if(r++,t===128)break;if(t<128){let i=e.subarray(r,r+t+1);n.buffer.set(i,n.reserve(i.length)),r+=i.length}else if(r<e.length){let i=257-t,a=n.reserve(i);n.buffer.fill(e[r],a,a+i),r++}}return n.result()}Sn(),_e();let ux=new TextEncoder;var dx=class{constructor(e,t){this.xref=/* @__PURE__ */ new Map,this.cache=/* @__PURE__ */ new Map,this.objStmCache=/* @__PURE__ */ new Map,this.decryptFn=null,this.encryptFn=null,this.encryptMetadata=!0,this.limitError=null,this.xrefRecovered=!1,this.startxrefOffset=null,ge(`maxDecodedBytes`,t),this.maxDecodedBytes=t,this.tokenizer=new Tv(e);try{this.trailer=this.parseFileStructure()}catch(e){throw this.limitError??e}this.throwIfLimitExceeded()}get objectNumberBound(){let e=jv(this.trailer,`Size`)??1;for(let t of this.xref.keys())t+1>e&&(e=t+1);return e}throwIfLimitExceeded(){if(this.limitError)throw this.limitError}recordLimit(e){throw e instanceof bn&&(this.limitError??=e),e}parse(e){this.throwIfLimitExceeded();try{return zv(e)}catch(e){return this.recordLimit(e)}}decode(e,t){this.throwIfLimitExceeded();try{return Zb(e,t,this.maxDecodedBytes)}catch(e){return this.recordLimit(e)}}get data(){return this.tokenizer.bytes}parseFileStructure(){try{let e=this.findStartxref(),t=this.parseXrefChain(e);return this.startxrefOffset=e,t}catch{return this.throwIfLimitExceeded(),this.xrefRecovered=!0,this.startxrefOffset=null,this.reconstructXref()}}findStartxref(){let e=this.tokenizer.bytes,t=ux.encode(`startxref`),n=this.tokenizer.findSequenceBackward(t);if(n<0)throw new yn(`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 yn(`Invalid startxref offset`);return i}parseXrefChain(e){let t=null,n=e,r=/* @__PURE__ */ 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(),i=jv(e,`XRefStm`);i!==void 0&&!r.has(i)&&(r.add(i),this.parseXrefStream(i)),t?this.mergeTrailer(t,e):t=e,n=jv(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=jv(r,`Prev`)??null}else throw new yn(`Invalid xref at offset ${n}: expected 'xref' keyword or xref stream`)}if(!t)throw new yn(`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 yn(`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=this.parse(this.tokenizer);if(!Ov(e))throw new yn(`Expected dictionary after 'trailer' keyword`);return e}parseXrefStream(e){this.tokenizer.pos=e;let t=this.parse(this.tokenizer);if(!Dv(t))throw new yn(`Expected xref stream object`);let n=t.dict,r=Av(n,`Type`);if(r!==`XRef`)throw new yn(`Expected /Type /XRef, got /Type /${r}`);let i=this.decode(t.data,n),a=Nv(n,`W`);if(!a||a.length<3)throw new yn(`Invalid /W array in xref stream`);let o=a[0],s=a[1],c=a[2],l=o+s+c,u=jv(n,`Size`)??0,d=Nv(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?fx(i,f,o):1,a=fx(i,f+o,s),u=c>0?fx(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=ux.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.set(e,{offset:r,gen:t,type:1})}}n=r+1}if(this.xref.size===0)throw new yn(`Could not reconstruct xref: no objects found`);let r=[...this.xref].sort((e,t)=>e[1].offset-t[1].offset),i=[],a=null,o=null;for(let[e,t]of r){let n;try{this.tokenizer.pos=t.offset,n=this.parse(this.tokenizer)}catch{this.throwIfLimitExceeded();continue}let r=Dv(n)?n.dict:Ov(n)?n:null,s=r?Av(r,`Type`):void 0;s===`Catalog`?o??={type:`ref`,objNum:e,gen:t.gen}:Dv(n)&&s===`ObjStm`?i.push(e):Dv(n)&&s===`XRef`&&n.dict.has(`Root`)&&(a=n.dict)}let s=this.findClassicTrailer();if(!s&&a){s=/* @__PURE__ */ new Map;for(let e of[`Root`,`Info`,`ID`,`Encrypt`]){let t=a.get(e);t!==void 0&&s.set(e,t)}}if(!s?.has(`Encrypt`))for(let e of i)this.getObjectStreamMembers(e)?.forEach(({objNum:t},n)=>{let r=this.xref.get(t);(!r||r.type===2)&&this.xref.set(t,{offset:e,gen:n,type:2})});if(s?.has(`Root`))return s.has(`Size`)||s.set(`Size`,this.objectNumberBoundOf(this.xref)),s;let c=s??/* @__PURE__ */ new Map;c.set(`Size`,this.objectNumberBoundOf(this.xref));let l=o;if(!l)for(let[e,t]of this.xref){if(t.type!==2)continue;let n=this.resolve(e,0);if(Ov(n)&&Av(n,`Type`)===`Catalog`){l={type:`ref`,objNum:e,gen:0};break}}return l&&c.set(`Root`,l),c}objectNumberBoundOf(e){let t=1;for(let n of e.keys())t=Math.max(t,n+1);return t}findClassicTrailer(){let e=ux.encode(`trailer`),t=this.tokenizer.findSequenceBackward(e);if(t<0)return null;this.tokenizer.pos=t+e.length,this.tokenizer.skipWhitespaceAndComments();try{let e=this.parse(this.tokenizer);return Ov(e)?e:null}catch{return this.throwIfLimitExceeded(),null}}mergeTrailer(e,t){for(let[n,r]of t)e.has(n)||e.set(n,r)}resolve(e,t=0){this.throwIfLimitExceeded();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&&r.type===1&&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 this.throwIfLimitExceeded(),e==null?null:Ev(e)?this.resolve(e.objNum,e.gen):e}derefDict(e){let t=this.deref(e);return t===null?null:Ov(t)?t:Dv(t)?t.dict:null}derefStream(e){let t=this.deref(e);return t===null?null:Dv(t)?t:null}derefStreamWithObjNum(e){if(e==null)return null;let t=0,n=0;Ev(e)&&(t=e.objNum,n=e.gen);let r=this.deref(e);return r===null?null:Dv(r)?{stream:r,objNum:t,gen:n}:null}getStreamData(e,t=0,n=0){this.throwIfLimitExceeded();let r=e.data;return this.decryptFn&&this.isStreamEncrypted(e.dict)&&(r=this.decryptFn(r,t,n,`stream`)),this.decode(r,e.dict)}decryptString(e,t,n){return this.decryptFn?this.decryptFn(e,t,n,`string`):e}isStreamEncrypted(e){if(!this.encryptMetadata&&Av(e,`Type`)===`Metadata`)return!1;let t=e.get(`Filter`);if((Array.isArray(t)?t[0]:t)===`Crypt`){let t=e.get(`DecodeParms`),n=Array.isArray(t)?t[0]:t,r=n instanceof Map?n.get(`Name`):void 0;return r!==void 0&&r!==`Identity`}return!0}decodeString(e,t=0,n=0){return Iv(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,`string`);if(Ov(e)){let r=/* @__PURE__ */ new Map;for(let[i,a]of e)r.set(i,this.decryptObjectStrings(a,t,n));return r}return kv(e)?e.map(e=>this.decryptObjectStrings(e,t,n)):Dv(e)?{type:`stream`,dict:this.decryptObjectStrings(e.dict,t,n),data:e.data}:e}getCatalog(){let e=Pv(this.trailer,`Root`);if(!e)throw new yn(`No /Root in trailer`);let t=this.derefDict(e);if(!t)throw new yn(`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 yn(`Could not resolve /Pages`);let n=[],r=/* @__PURE__ */ new Set;return this.collectPages(t,n,r),n}collectPages(e,t,n){if(n.has(e))return;if(n.add(e),Av(e,`Type`)===`Page`){t.push({dict:e,objNum:0,gen:0});return}let r=Nv(e,`Kids`);if(r)for(let e of r){let r=0,i=0;Ev(e)&&(r=e.objNum,i=e.gen);let a=this.derefDict(e);a&&(Av(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 this.parse(this.tokenizer)}catch{return this.throwIfLimitExceeded(),null}}parseCompressedObject(e,t){return this.getObjectStreamMembers(e)?.[t]?.obj??null}getObjectStreamMembers(e){let t=this.objStmCache.get(e);if(!t){if(t=this.parseObjectStream(e)??void 0,!t)return null;this.objStmCache.set(e,t)}return t}parseObjectStream(e){let t=this.xref.get(e);if(!t||t.type!==1)return null;this.tokenizer.pos=t.offset;let n;try{n=this.parse(this.tokenizer)}catch{return this.throwIfLimitExceeded(),null}if(!Dv(n))return null;let r=n.dict,i=jv(r,`N`)??0,a=jv(r,`First`)??0,o=this.getStreamData(n,e,t.gen);if(!Number.isInteger(a)||a<0||a>o.length)return null;let s=Number.isInteger(i)&&i>0?Math.min(i,Math.ceil(a/4)):0,c=new Tv(o.subarray(0,a)),l=[];for(let e=0;e<s;e++){let e=c.next(),t=c.next();if(e.type!==0||t.type!==0)break;let n=e.numValue,r=t.numValue;if(!Number.isInteger(n)||n<=0||!Number.isInteger(r))break;let i=null;if(r>=0&&a+r<o.length)try{i=this.parse(new Tv(o,a+r))}catch{this.throwIfLimitExceeded()}l.push({objNum:n,obj:i})}return l}resolvePageBox(e,t){let n=t??/* @__PURE__ */ 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??/* @__PURE__ */ new Set;if(n.has(e))return/* @__PURE__ */ 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/* @__PURE__ */ new Map}};function fx(e,t,n){let r=0;for(let i=0;i<n;i++)r=r*256+(e[t+i]??0);return r}function px(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=mx(r);if(i.length<2)return[];let a=hx(i,t);if(a.length<2)return[];let o=gx(i,a),s=[];for(let e of o){let t=vx(i,a,e.start,e.end,n);t&&s.push(t)}return s}function mx(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 hx(e,t){let n=e.map(e=>e.fragments.length),r=/* @__PURE__ */ 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 gx(e,t){let n=[];for(let r of e){let e=/* @__PURE__ */ new Set;for(let n of r.fragments){let r=_x(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 _x(e,t){for(let n=t.length-1;n>=0;n--)if(e>=t[n].left-1)return n;return-1}function vx(e,t,n,r,i){let a=[];for(let i=n;i<=r;i++){let o=e[i],s=yx(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 yx(e,t,n,r,i,a){let o=/* @__PURE__ */ new Map;for(let n of e.fragments){let e=_x(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 bx(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(Sx(n)),t.length>0&&r.push(Dx(t)),r.join(`
|
|
51
|
+
`))}n.addObject(E,te);let ne=[];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),ne.push(e)}let re=n.addPage({parentRef:u,width:e.width,height:e.height,contentsRef:T,resourcesRef:E,transparencyGroup:h.size>0,annotRefs:ne.length>0?ne:void 0});c.push(re),d.has(e.sheetName)||d.set(e.sheetName,c.length-1)}catch(t){throw new _n(`Failed to render page ${e.pageNumber} of "${e.sheetName}"`,{cause:t})}}function uv(e,t,n,r,i=!1){let a=t.get(n);a===void 0&&(a=/* @__PURE__ */ new Map,t.set(n,a));let o=a.get(i);if(o!==void 0)return o;let s=dt(e,n,r,i);return a.set(i,s),s}function dv(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 fv(e){return{section:e[0]===`L`?`left`:e[0]===`R`?`right`:`center`,kind:e[1]===`H`?`header`:`footer`}}function pv(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=Tv(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,creationDate:o?.creationDate,modDate:o?.modDate}),o?.encryption){let t=tn(o.encryption);e.setEncryption(t)}return e.build()}function mv(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 hv(e){let t=e.replace(/\$/g,``).toUpperCase().match(/^([A-Z]+)(?::([A-Z]+))?$/);if(!t)return null;let n=_v(t[1]),r=t[2]?_v(t[2]):n;return r<n?null:{first:n,last:r}}function gv(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 _v(e){let t=0;for(let n=0;n<e.length;n++)t=t*26+(e.charCodeAt(n)-64);return t}function vv(e){return e===`overThenDown`?`overThenDown`:`downThenOver`}function yv(e){return e===`atEnd`||e===`asDisplayed`?e:`none`}function bv(e){switch(e){case`blank`:case`dash`:case`NA`:return e;default:return`displayed`}}function xv(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 Sv(e,t){let n=t?.pageSetup,r=Cv(e?.pageSize,n?.paperSize),i=t&&og(t)?t.orientation:void 0,a=e?.orientation??i??(n?.orientation===`landscape`?`landscape`:`portrait`),o=wv(e?.margins,n?.margins),s=e?.blackAndWhite??n?.blackAndWhite??!1,c=sp(e?.gridLineColor??`FFD0D0D0`)??{r:.816,g:.816,b:.816},l=s?fp(c):c,u=!!t&&!og(t),d=e=>typeof e==`number`&&e>0&&{first:1,last:e},f=!1;e?.repeatRows===void 0?u&&n?.printTitlesRow&&(f=gv(n.printTitlesRow)??!1):f=d(e.repeatRows);let p=!1;e?.repeatCols===void 0?u&&n?.printTitlesColumn&&(p=hv(n.printTitlesColumn)??!1):p=d(e.repeatCols);let{fitToPage:m,scale:h,fitToWidth:g,fitToHeight:_}=xv(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??vv(n?.pageOrder),blackAndWhite:s,draft:e?.draft??n?.draft??!1,errors:e?.errors??bv(n?.errors),cellComments:e?.cellComments??yv(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??/* @__PURE__ */ new Date,headerFooterLocale:e?.headerFooter?.locale,title:e?.title??``,author:e?.author??``,subject:e?.subject??``,creator:e?.creator??`documonster`,watermark:e?.watermark}}function Cv(e,t){return e?typeof e==`string`?cg[e]??cg.A4:e:t===void 0?cg.A4:Av[t]??cg.A4}function wv(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 Tv(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 Ev(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 Dv(e){let t=/* @__PURE__ */ new Set,n=$r();for(let r of e){let e=r.headerFooter;if(e){for(let r of[e.oddHeader,e.oddFooter,e.evenHeader,e.evenFooter,e.firstHeader,e.firstFooter])if(r)for(let e of[r.left,r.center,r.right])for(let r of e)Ov(r.text,t,n)}if(!og(r)){for(let e of r.rows.values())for(let r of e.cells.values())if(Ov(r.text,t,n),r.type===sg.RichText&&r.value&&typeof r.value==`object`&&`richText`in r.value){let e=r.value.richText;for(let r of e)Ov(r.text,t,n)}}}return{codePoints:t,evidence:n}}function Ov(e,t,n){if(e){ei(n,e);for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++,un(r)||t.add(r)}}}function kv(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 Av,jv=n((()=>{gt(),on(),m(),mn(),On(),Sn(),Ar(),zf(),Uf(),Cr(),ag(),Z_(),Nm(),wp(),lg(),li(),o_(),Av={1:cg.LETTER,5:cg.LEGAL,9:cg.A4,8:cg.A3,11:cg.A5,17:cg.TABLOID}}));rg(),jv(),lg();async function Mv(e,t){return Q_(Nv(e),t)}function Nv(e){return Array.isArray(e)?{sheets:[Pv({data:e})]}:`sheets`in e?{title:e.title,creator:e.author,sheets:e.sheets.map((e,t)=>Pv(e,t))}:{sheets:[Pv(e)]}}function Pv(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:/* @__PURE__ */ new Map,rows:/* @__PURE__ */ new Map};let l=/* @__PURE__ */ 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=/* @__PURE__ */ new Map,d=1;if(a&&i){let e=/* @__PURE__ */ new Map;for(let t=0;t<i.length;t++){let n=i[t];n!==void 0&&e.set(t+1,{type:sg.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=/* @__PURE__ */ new Map;for(let e=0;e<r.length;e++){let t=Fv(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:/* @__PURE__ */ new Map})}return{name:r,bounds:{top:1,left:1,bottom:c,right:s},columns:l,rows:u,images:f}}function Fv(e,t){if(e==null)return null;if(typeof e==`object`&&!(e instanceof Date)&&`value`in e){let n=e,r=Fv(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:sg.String,value:e,text:e,col:t}:typeof e==`number`?{type:sg.Number,value:e,text:String(e),col:t}:typeof e==`boolean`?{type:sg.Boolean,value:e,text:e?`TRUE`:`FALSE`,col:t}:e instanceof Date?{type:sg.Date,value:e,text:e.toLocaleDateString(),col:t}:null}Sn();function Iv(e){return e===0||e===9||e===10||e===13||e===12||e===32}function Lv(e){return e===40||e===41||e===60||e===62||e===91||e===93||e===123||e===125||e===47||e===37}function Rv(e){return e>=48&&e<=57}function zv(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Bv(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-65+10:e-97+10}let Vv=new Uint8Array([101,110,100,115,116,114,101,97,109]);var Hv=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):Rv(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(Iv(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(Iv(e)){this.pos++;continue}zv(e)&&(n<0?n=Bv(e):(t.push(n<<4|Bv(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(Iv(e)||Lv(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(zv(e)&&zv(n)){t.push(Bv(e)<<4|Bv(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(Rv(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(Iv(e)||Lv(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(Vv,this.pos);if(e<0)throw new yn(`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+Vv.length,n}let t=this.data.subarray(this.pos,this.pos+e);if(this.pos+=e,this.skipWhitespaceAndComments(),this.pos+Vv.length<=this.data.length){let e=!0;for(let t=0;t<Vv.length;t++)if(this.data[this.pos+t]!==Vv[t]){e=!1;break}e&&(this.pos+=Vv.length)}return t}};Sn();function Uv(e){return typeof e==`object`&&!!e&&`type`in e&&e.type===`ref`}function Wv(e){return typeof e==`object`&&!!e&&`type`in e&&e.type===`stream`}function Gv(e){return e instanceof Map}function Kv(e){return Array.isArray(e)}function qv(e,t){let n=e.get(t);return typeof n==`string`?n:void 0}function Jv(e,t){let n=e.get(t);return typeof n==`number`?n:void 0}function Yv(e,t){let n=e.get(t);return typeof n==`boolean`?n:void 0}function Xv(e,t){let n=e.get(t);return Kv(n)?n:void 0}function Zv(e,t){let n=e.get(t);return Uv(n)?n:void 0}function Qv(e,t){let n=e.get(t);return n instanceof Uint8Array?n:void 0}function $v(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)):ey(e)}function ey(e){let t=``;for(let n=0;n<e.length;n++){let r=e[n],i=ty[r];t+=i===void 0?String.fromCharCode(r):String.fromCodePoint(i)}return t}let ty={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 ny(e,t=0){return ry(e,e.next(),t)}function ry(e,t,n=0){switch(t.type){case 0:{let r=t.numValue,i=e.pos,a=e.next();if(a.type===0){let t=a.numValue,o=e.next();if(o.type===6&&o.strValue===`R`)return{type:`ref`,objNum:r,gen:t};if(o.type===6&&o.strValue===`obj`){let t=ny(e,n);if(Gv(t)){e.skipWhitespaceAndComments();let n=e.pos,r=e.next();if(r.type===6&&r.strValue===`stream`){let n=Jv(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 r=e.pos,i=e.next();return(i.type!==6||i.strValue!==`endobj`)&&(e.pos=r),t}return e.pos=i,r}return e.pos=i,r}case 1:case 2:return t.rawBytes??/* @__PURE__ */ new Uint8Array;case 3:return t.strValue;case 4:return t.boolValue;case 5:return null;case 7:return ay(e,iy(n,t));case 9:return oy(e,iy(n,t));case 11:throw new yn(`Unexpected end of input while parsing PDF object`);default:return t.strValue??null}}function iy(e,t){let n=e+1;if(n>512)throw new bn(`PDF objects nested deeper than 512 levels at offset ${t.offset}`);return n}function ay(e,t){let n=/* @__PURE__ */ new Map;for(;;){let r=e.next();if(r.type===8)break;if(r.type===11)throw new yn(`Unexpected EOF in dictionary`);if(r.type!==3)continue;let i=r.strValue,a=ny(e,t);n.set(i,a)}return n}function oy(e,t){let n=[];for(;;){let r=e.next();if(r.type===10)break;if(r.type===11)throw new yn(`Unexpected EOF in array`);n.push(ry(e,r,t))}return n}function sy(e,t,n){let r=e.get(t);if(!r)return``;let i=n.deref(r);return typeof i==`string`?i:i instanceof Uint8Array?$v(i):``}function cy(e,t){let n=e.get(`Annots`);if(!n)return[];let r=t.deref(n);if(!Kv(r))return[];let i=[];for(let e of r)try{let n=t.derefDict(e);if(!n)continue;let r=qv(n,`Subtype`)??``;if(r===`Widget`||r===`Popup`)continue;let a=ly(n,r,t);a&&i.push(a)}catch{}return i}function ly(e,t,n){let r=uy(e.get(`Rect`),n);if(!r)return null;let i=sy(e,`Contents`,n),a=sy(e,`T`,n),o=sy(e,`Subj`,n),s=sy(e,`M`,n),c=Jv(e,`F`)??0,l=dy(e.get(`C`),n),u=``,d=``;if(t===`Link`){let t=n.derefDict(e.get(`A`));if(t){let e=qv(t,`S`);if(e===`URI`)u=sy(t,`URI`,n);else if(e===`GoTo`){let e=t.get(`D`);typeof e==`string`&&(d=e)}else e===`GoToR`&&(u=sy(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=$v(e))}}}return{subtype:t,rect:r,contents:i,author:a,subject:o,modifiedDate:s,uri:u,destination:d,flags:c,color:l}}function uy(e,t){if(!e)return null;let n=t.deref(e);if(!Kv(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 dy(e,t){if(!e)return[];let n=t.deref(e);return Kv(n)?n.map(e=>typeof e==`number`?e:0):[]}function fy(e){try{let t=e.getCatalog().get(`Outlines`);if(!t)return[];let n=e.derefDict(t);return n?my(n,e,py(e),/* @__PURE__ */ new Set,0):[]}catch{return[]}}function py(e){let t=e.getPagesWithObjInfo(),n=/* @__PURE__ */ new Map;for(let e=0;e<t.length;e++){let{objNum:r}=t[e];r!==0&&n.set(r,e)}return n}function my(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++,Uv(s)){if(r.has(s.objNum))break;r.add(s.objNum)}let e=t.derefDict(s);if(!e)break;let a=hy(e,t,n,r,i);a&&o.push(a),s=e.get(`Next`)}return o}function hy(e,t,n,r,i){let a=gy(e,t);return a?{title:a,pageIndex:_y(e,t,n),children:my(e,t,n,r,i+1)}:null}function gy(e,t){return sy(e,`Title`,t)}function _y(e,t,n){let r=e.get(`Dest`);if(r!=null){let e=vy(r,t,n);if(e>=0)return e}let i=e.get(`A`);if(i!=null){let e=t.derefDict(i);if(e&&qv(e,`S`)===`GoTo`){let r=e.get(`D`);if(r!=null)return vy(r,t,n)}}return-1}function vy(e,t,n){let r=t.deref(e);return r==null?-1:Kv(r)&&r.length>=1?yy(r[0],t,n):typeof r==`string`?by(r,t,n):r instanceof Uint8Array?by($v(r),t,n):-1}function yy(e,t,n){if(Uv(e)){let t=n.get(e.objNum);return t===void 0?-1:t}return typeof e==`number`&&Number.isInteger(e)?e:-1}function by(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 xy(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=Sy(i,e,t);if(r!=null)return xy(r,t,n)}}}return-1}function xy(e,t,n){let r=t.deref(e);if(r==null)return-1;if(Kv(r)&&r.length>=1)return yy(r[0],t,n);if(r instanceof Map){let e=r.get(`D`);if(e!=null)return vy(e,t,n)}return-1}function Sy(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(Kv(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=$v(i)),a===t)return e[r+1]}}let o=i.get(`Kids`);if(o!=null){let e=n.deref(o);if(Kv(e))for(let i of e){let e=Sy(i,t,n,r+1);if(e!=null)return e}}return null}var Cy=class{constructor(){this.codeSpaceRanges=[],this.bfChars=/* @__PURE__ */ 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`)return Ay(a.mapping,e-a.low);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 wy(e){let t=new Cy,n=new Hv(e);for(;;){let e=n.next();if(e.type===11)break;if(e.type===6){let r=e.strValue;r===`begincodespacerange`?Ty(n,t):r===`beginbfchar`?Ey(n,t):r===`beginbfrange`&&Dy(n,t)}}return t.sortRanges(),t}function Ty(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=Oy(r),a=Oy(e);t.addCodeSpaceRange(n,a,r.length)}}}}function Ey(e,t){for(;;){let n=e.next();if(n.type===11||n.type===6&&n.strValue===`endbfchar`)break;if(n.type===2){let r=Oy(n.rawBytes),i=e.next();if(i.type===2){let e=ky(i.rawBytes);t.addBfChar(r,e)}}}}function Dy(e,t){for(;;){let n=e.next();if(n.type===11||n.type===6&&n.strValue===`endbfrange`)break;if(n.type===2){let r=Oy(n.rawBytes),i=e.next();if(i.type!==2)continue;let a=Oy(i.rawBytes),o=e.next();if(o.type===2){let e=ky(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(ky(t.rawBytes))}t.addBfRange(r,a,n)}}}}function Oy(e){let t=0;for(let n=0;n<e.length;n++)t=t*256+e[n];return t}function ky(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 Ay(e,t){if(e.length===0)return;if(t===0)return e;let n=e.length-1,r=e.charCodeAt(n)+t;if(r<0||r>65535)return;let i=n>0?e.charCodeAt(n-1):0,a=i>=55296&&i<=56319;if(!(a&&(r<56320||r>57343))&&!(!a&&r>=55296&&r<=57343))return e.slice(0,n)+String.fromCharCode(r)}Cr();let jy={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 My(e){let t=e.includes(`+`)?e.substring(e.indexOf(`+`)+1):e,n=jy[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 Ny(e,t){let n=qv(e,`Subtype`)??`Type1`,r=qv(e,`BaseFont`)??`Unknown`,i=qv(e,`Name`)??r,a=Ly(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(Uv(n)){let e=t.derefDict(n);e&&(s=Jv(e,`WMode`)??0)}}let c=zy(e,n,r,t),l=1;n===`Type0`&&(l=a?.bytesPerCode??2);let u=Wy(e,t),d=!!((u?Jv(u,`Flags`)??0:0)&4),{widths:f,defaultWidth:p,missingWidth:m}=qy(e,n,u,t),h=!a&&o?Ky(e,u,t):null;return{name:i,subtype:n,toUnicode:a,encoding:c,bytesPerCode:l,baseFontName:r,isSymbolic:d,widths:f,defaultWidth:p,missingWidth:m,isIdentityEncoding:o,cidToUnicode:h,wmode:s}}function Py(e,t){let n=``;for(let r of Fy(e,t))n+=Iy(r,t);return n}function Fy(e,t){if(t.subtype!==`Type0`&&t.bytesPerCode!==2)return e;let n=[],r=0;for(;r<e.length;){let i=t.toUnicode?.hasCodeSpaceRanges?t.toUnicode.getCodeLength(e[r]):0;i<1&&(i=Math.min(Math.max(t.bytesPerCode,1),4)),i=Math.min(i,e.length-r);let a=0;for(let t=0;t<i;t++)a=a<<8|e[r+t];n.push(a),r+=i}return n}function Iy(e,t){if(t.toUnicode){let n=t.toUnicode.lookup(e);if(n!==void 0)return n}if(t.cidToUnicode){let n=t.cidToUnicode.get(e);if(n!==void 0)return n}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 Ly(e,t){let n=e.get(`ToUnicode`);if(!n){let n=Uy(e,t)?.get(`ToUnicode`);return n?Ry(n,t):null}return Ry(n,t)}function Ry(e,t){let n=t.derefStreamWithObjNum(e);if(!n)return null;try{return wy(t.getStreamData(n.stream,n.objNum,n.gen))}catch{return null}}function zy(e,t,n,r){let i=/* @__PURE__ */ new Map;if(t===`Type0`)return i;let a=e.get(`Encoding`);if(typeof a==`string`)Vy(i,a);else if(Gv(a)){let e=qv(a,`BaseEncoding`);e?Vy(i,e):By(i,t,n);let r=Xv(a,`Differences`);r&&Hy(i,r)}else if(Uv(a)){let e=r.derefDict(a);if(e){let r=qv(e,`BaseEncoding`);r?Vy(i,r):By(i,t,n);let a=Xv(e,`Differences`);a&&Hy(i,a)}}else By(i,t,n);return i}function By(e,t,n){let r=My(n);r===`symbol`?Vy(e,`SymbolEncoding`):r===`zapf`?Vy(e,`ZapfDingbatsEncoding`):t===`TrueType`||r===`winansi`?Vy(e,`WinAnsiEncoding`):Vy(e,`StandardEncoding`)}function Vy(e,t){let n;switch(t){case`WinAnsiEncoding`:n=Zy;break;case`MacRomanEncoding`:n=Qy;break;case`StandardEncoding`:n=$y;break;case`MacExpertEncoding`:n=eb;break;case`SymbolEncoding`:n=tb;break;case`ZapfDingbatsEncoding`:n=nb;break;default:n=Zy}for(let[t,r]of Object.entries(n))e.set(Number(t),r)}function Hy(e,t){let n=0;for(let r of t)if(typeof r==`number`)n=r;else if(typeof r==`string`){let t=Xy(r);t&&e.set(n,t),n++}}function Uy(e,t){if(qv(e,`Subtype`)!==`Type0`)return null;let n=Xv(e,`DescendantFonts`);return!n||n.length===0?null:t.derefDict(n[0])}function Wy(e,t){let n=e.get(`FontDescriptor`);if(n)return t.derefDict(n);let r=Uy(e,t)?.get(`FontDescriptor`);return r?t.derefDict(r):null}function Gy(e,t){let n=Uy(e,t)?.get(`CIDToGIDMap`);if(!n||typeof n==`string`)return null;let r=t.derefStreamWithObjNum(n);if(!r)return null;let i=t.getStreamData(r.stream,r.objNum,r.gen),a=Math.floor(i.length/2),o=new Uint16Array(a);for(let e=0;e<a;e++)o[e]=i[e*2]<<8|i[e*2+1];return a>0?o:null}function Ky(e,t,n){if(!t)return null;let r=t.get(`FontFile2`);if(!r)return null;try{let t=n.derefStreamWithObjNum(r);if(!t)return null;let i=n.getStreamData(t.stream,t.objNum,t.gen);if(i.length===0)return null;let a=Sr(i),o=/* @__PURE__ */ new Map;for(let[e,t]of a.cmap)t>0&&!o.has(t)&&o.set(t,String.fromCodePoint(e));if(o.size===0)return null;let s=Gy(e,n);if(!s)return o;let c=/* @__PURE__ */ new Map;for(let e=0;e<s.length;e++){let t=o.get(s[e]);t!==void 0&&c.set(e,t)}return c.size>0?c:null}catch{return null}}function qy(e,t,n,r){let i=/* @__PURE__ */ new Map,a=1e3,o=0;n&&(o=Jv(n,`MissingWidth`)??0);let s=Uy(e,r);if(s){a=Jv(s,`DW`)??1e3;let e=Xv(s,`W`);e&&Jy(e,i,r)}else{let t=Jv(e,`FirstChar`)??0,n=Xv(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 Jy(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(Kv(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 Yy(e,t){let n=t.widths.get(e);return n===void 0?t.missingWidth||t.defaultWidth:n}function Xy(e){let t=rb[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 Zy=/* @__PURE__ */ (()=>{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})(),Qy=/* @__PURE__ */ (()=>{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})(),$y=/* @__PURE__ */ (()=>{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})(),eb=/* @__PURE__ */ (()=>{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})(),tb=/* @__PURE__ */ (()=>{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})(),nb=/* @__PURE__ */ (()=>{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})(),rb={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},ib=new TextEncoder;function ab(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 ob(e){if(e.length===0)return!1;let t=e.codePointAt(0);return t!==void 0&&ab(t)}function sb(e,t){let n=t.resolvePageResources(e),r=cb(n,t),i=lb(e,t);if(i.length===0)return[];let a=[],o=new db(r,t,n);for(let e of i)o.process(e,a);return a}function cb(e,t){let n=/* @__PURE__ */ 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,Ny(i,t))}catch{}}return n}function lb(e,t){let n=e.get(`Contents`);if(!n)return[];if(Uv(n)){let e=t.derefStreamWithObjNum(n);if(e)return[t.getStreamData(e.stream,e.objNum,e.gen)];let r=t.deref(n);return Kv(r)?ub(r,t):[]}return Kv(n)?ub(n,t):[]}function ub(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 db=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 Hv(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(mb(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&&fb(t[n-1])&&(n+2>=t.length||fb(t[n+2])||pb(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(mb(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(gb(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=hb(t,0);break;case`Tw`:this.textState.wordSpacing=hb(t,0);break;case`Tz`:this.textState.horizontalScaling=hb(t,0);break;case`TL`:this.textState.leading=hb(t,0);break;case`Tf`:this.setFont(t);break;case`Tr`:this.textState.renderMode=hb(t,0);break;case`Ts`:this.textState.rise=hb(t,0);break;case`BT`:this.beginText();break;case`ET`:this.inTextObject=!1;break;case`Td`:this.moveText(hb(t,0),hb(t,1));break;case`TD`:this.textState.leading=-hb(t,1),this.moveText(hb(t,0),hb(t,1));break;case`Tm`:t.length>=6&&this.setTextMatrix(gb(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=hb(t,0),this.textState.charSpacing=hb(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=_b(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=_b(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=ib.encode(e);else return;let r=this.textState.font,i=Py(n,r);if(i.length===0)return;let a=_b(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=ob(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);for(let i of Fy(e,t))n+=Yy(i,t)/1e3*r+this.textState.charSpacing,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(qv(c,`Subtype`)!==`Form`)return;let l=c.get(`Resources`),u=cb(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=Xv(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 fb(e){return e===0||e===9||e===10||e===13||e===12||e===32}function pb(e){return e===40||e===41||e===60||e===62||e===91||e===93||e===123||e===125||e===47||e===37}function mb(e){switch(e.type){case 0:return e.numValue??0;case 3:return e.strValue??``;case 1:case 2:return e.rawBytes??/* @__PURE__ */ new Uint8Array;case 4:return e.boolValue??!1;case 5:return null;case 9:return[];default:return e.strValue??null}}function hb(e,t){let n=e[t];return typeof n==`number`?n:0}function gb(e,t){let n=[];for(let r=0;r<t;r++)n.push(hb(e,r));return n}function _b(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 vb(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(!Kv(i))return[];let a=[],o=/* @__PURE__ */ new Set;for(let t of i)xb(t,e,``,a,o);return a}catch{return[]}}let yb=65536,bb=32768;function xb(e,t,n,r,i){if(Uv(e)){if(i.has(e.objNum))return;i.add(e.objNum)}let a=t.derefDict(e);if(!a)return;let o=sy(a,`T`,t),s=n?o?`${n}.${o}`:n:o,c=a.get(`Kids`);if(c){let e=t.deref(c);if(Kv(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)xb(n,t,s,r,i);return}if(Sb(a,t)===`Btn`){let n=Cb(a,t);if(n&bb&&!(n&yb)){let i=Tb(a,e,s,n,t);i&&r.push(i);return}}}}let l=Sb(a,t);if(!l)return;let u=wb(a,s,l,t);u&&r.push(u)}function Sb(e,t,n=0){let r=qv(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 Sb(e,t,n+1)}}function Cb(e,t,n=0){let r=Jv(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 Cb(e,t,n+1)}return 0}function wb(e,t,n,r){let i=Cb(e,r),a=kb(e,r),o=sy(e,`DV`,r),s=Eb(n,i),c=[],l=``;return n===`Ch`&&(c=Db(e,r)),n===`Btn`&&!(i&yb)&&!(i&bb)&&(l=Ob(e,r)),{name:t||`(unnamed)`,type:s,value:a,defaultValue:o,readOnly:!!(i&1),required:!!(i&2),options:c,exportValue:l,flags:i}}function Tb(e,t,n,r,i){let a=kb(e,i),o=sy(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 Eb(e,t){switch(e){case`Tx`:return`text`;case`Btn`:return t&yb?`button`:t&bb?`radio`:`checkbox`;case`Ch`:return t&131072?`dropdown`:`listbox`;case`Sig`:return`signature`;default:return`unknown`}}function Db(e,t){let n=e.get(`Opt`);if(!n)return[];let r=t.deref(n);if(!Kv(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($v(n));else if(Kv(n)&&n.length>=2){let e=t.deref(n[1]);typeof e==`string`?i.push(e):e instanceof Uint8Array&&i.push($v(e))}}return i}function Ob(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 kb(e,t,n=0){let r=e.get(`V`);if(r!==void 0)return Ab(r,t);if(n>=20)return``;let i=e.get(`Parent`);if(i){let e=t.derefDict(i);if(e)return kb(e,t,n+1)}return``}function Ab(e,t){let n=t.deref(e);return typeof n==`string`?n:n instanceof Uint8Array?$v(n):typeof n==`number`?String(n):typeof n==`boolean`?n?`true`:`false`:``}function jb(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(qv(o,`Subtype`)!==`Image`)continue;let s=Mb(e,i.stream,o,t,a,i.objNum,i.gen);s&&(n.push(s),a++)}return n}function Mb(e,t,n,r,i,a=0,o=0){let s=Jv(n,`Width`)??Jv(n,`W`)??0,c=Jv(n,`Height`)??Jv(n,`H`)??0,l=Jv(n,`BitsPerComponent`)??Jv(n,`BPC`)??8;if(s===0||c===0)return null;let{colorSpace:u,components:d}=Nb(n,r),f=Fb(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 Nb(e,t){let n=e.get(`ColorSpace`)??e.get(`CS`);if(typeof n==`string`)return Pb(n);if(Kv(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:Jv(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:Kv(n[1])?n[1].length:1}:Pb(e)}}if(Uv(n)){let e=t.deref(n);if(typeof e==`string`)return Pb(e);if(Kv(e)&&e.length>0&&typeof e[0]==`string`)return Nb(/* @__PURE__ */ new Map([[`ColorSpace`,e]]),t)}return{colorSpace:`DeviceRGB`,components:3}}function Pb(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 Fb(e){let t=e.get(`Filter`)??e.get(`F`);if(typeof t==`string`)return t;if(Kv(t)&&t.length>0){let e=/* @__PURE__ */ 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 Ib(e){let t={title:``,author:``,subject:``,keywords:``,creator:``,producer:``,creationDate:null,modDate:null,pdfVersion:Lb(e),pageCount:0,encrypted:e.trailer.has(`Encrypt`),pageSize:null,xmpXml:null,custom:{}};Rb(e,t),zb(e,t);try{let n=e.getPages();t.pageCount=n.length,n.length>0&&(t.pageSize=Hb(n[0],e))}catch{}return t}function Lb(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 Rb(e,t){let n=Zv(e.trailer,`Info`);if(!n)return;let r=e.derefDict(n);if(!r)return;let i=/* @__PURE__ */ new Set([`Title`,`Author`,`Subject`,`Keywords`,`Creator`,`Producer`,`CreationDate`,`ModDate`]);for(let[e,n]of r){let r=n instanceof Uint8Array?$v(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=Ub(r);break;case`ModDate`:t.modDate=Ub(r);break;default:i.has(e)||(t.custom[e]=r)}}}function zb(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||=Bb(a,`dc:title`)??``,t.author||=Bb(a,`dc:creator`)??``,t.subject||=Bb(a,`dc:description`)??``,t.keywords||=Bb(a,`pdf:Keywords`)??``,t.creator||=Bb(a,`xmp:CreatorTool`)??``,t.producer||=Bb(a,`pdf:Producer`)??``,!t.creationDate){let e=Bb(a,`xmp:CreateDate`);e&&(t.creationDate=new Date(e))}if(!t.modDate){let e=Bb(a,`xmp:ModifyDate`);e&&(t.modDate=new Date(e))}}catch{}}function Bb(e,t){let n=RegExp(`<${t}[^>]*>([^<]+)</${t}>`,`i`).exec(e);if(n)return Vb(n[1].trim());let r=RegExp(`<${t}[^>]*>.*?<rdf:li[^>]*>([^<]+)</rdf:li>`,`is`).exec(e);return r?Vb(r[1].trim()):null}function Vb(e){return e.replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/&/g,`&`)}function Hb(e,t){return t.resolvePageBox(e)}function Ub(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}en(),Sn(),he(),Yt();let Wb=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]),Gb=new TextEncoder;function Kb(e,t=``){let n=e.derefDict(e.trailer.get(`Encrypt`));if(!n)return!0;let r=qv(n,`Filter`);if(r!==`Standard`)throw new yn(`Unsupported encryption filter: ${r}`);let i=Jv(n,`V`)??0,a=Jv(n,`R`)??0,o=(Jv(n,`Length`)??40)/8,s=Jv(n,`P`)??0,c=Qv(n,`O`),l=Qv(n,`U`);if(!c||!l)throw new yn(`Missing /O or /U values in Encrypt dictionary`);let u=Xv(e.trailer,`ID`),d=u&&u.length>0&&u[0]instanceof Uint8Array?u[0]:/* @__PURE__ */ new Uint8Array,f=ux(n);if(i===5)return Jb(e,n,t,a,c,l,s,d);let p=dx(n,i,`StrF`),m=dx(n,i,`StmF`),h=tx(t,c,s,d,a,o,l,f);return h||=tx(rx(t,c,a,o),c,s,d,a,o,l,f),h||t!==``&&(h=tx(``,c,s,d,a,o,l,f)),h?(px(e,fx(p,h),fx(m,h),i>=4?f:!0),!0):!1}function qb(e){return e.trailer.has(`Encrypt`)}function Jb(e,t,n,r,i,a,o,s){if(r!==5&&r!==6)throw new yn(`Unsupported revision ${r} for V=5 encryption`);let c=Qv(t,`OE`),l=Qv(t,`UE`);if(!c||!l)throw new yn(`Missing /OE or /UE values in V=5 Encrypt dictionary`);if(i.length<48||a.length<48)throw new yn(`Invalid /O or /U length for V=5 encryption`);let u=Yb(n),d=r===6?$b:(e,t,n)=>Zt(pe([e,t,n])),f=Xb(u,a,l,d);if(f||=Zb(u,i,c,a,d),!f&&n!==``){let e=/* @__PURE__ */ new Uint8Array;f=Xb(e,a,l,d),f||=Zb(e,i,c,a,d)}return f?(px(e,fx(dx(t,5,`StrF`),f),fx(dx(t,5,`StmF`),f),ux(t)),!0):!1}function Yb(e){let t=Gb.encode(e);return t.length>127?t.subarray(0,127):t}function Xb(e,t,n,r){let i=t.subarray(0,32),a=t.subarray(32,40),o=t.subarray(40,48);if(!lx(r(e,a,Qb),i))return null;let s=r(e,o,Qb),c=/* @__PURE__ */ new Uint8Array(16);return wt(n.subarray(0,32),s,c)}function Zb(e,t,n,r,i){let a=t.subarray(0,32),o=t.subarray(32,40),s=t.subarray(40,48),c=r.subarray(0,48);if(!lx(i(e,o,c),a))return null;let l=i(e,s,c),u=/* @__PURE__ */ new Uint8Array(16);return wt(n.subarray(0,32),l,u)}let Qb=/* @__PURE__ */ new Uint8Array;function $b(e,t,n){let r=Zt(pe([e,t,n]));for(let t=0;;t++){let i=pe([e,r,n]),a=new Uint8Array(i.length*64);for(let e=0;e<64;e++)a.set(i,e*i.length);let o=Tt(a,r.subarray(0,16),r.subarray(16,32)),s=0;for(let e=0;e<16;e++)s+=o[e];let c=s%3;if(r=c===0?Zt(o):c===1?Qt(o):$t(o),t>=63&&o[o.length-1]<=t-31)break}return r.subarray(0,32)}function ex(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:Ct(r,t,n)}function tx(e,t,n,r,i,a,o,s){let c=nx(e,t,n,r,i,a,s);if(i===2){if(lx(Pt(c,Wb),o.subarray(0,32)))return c}else if(i>=3){let e=new Uint8Array(32+r.length);e.set(Wb),e.set(r,32);let t=Pt(c,Xt(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=Pt(n,t)}if(lx(t.subarray(0,16),o.subarray(0,16)))return c}return null}function nx(e,t,n,r,i,a,o){let s=cx(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=Xt(l.subarray(0,u));if(i>=3)for(let e=0;e<50;e++)d=Xt(d.subarray(0,a));return d.subarray(0,a)}function rx(e,t,n,r){let i=Xt(cx(e));if(n>=3)for(let e=0;e<50;e++)i=Xt(i.subarray(0,r));let a=i.subarray(0,r),o=new Uint8Array(t.subarray(0,32));if(n===2)o=Pt(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=Pt(t,o)}let s=``;for(let e=0;e<32&&!(o[e]===Wb[0]&&lx(o.subarray(e,e+Math.min(32-e,32)),Wb.subarray(0,Math.min(32-e,32))));e++)s+=String.fromCharCode(o[e]);return s}function ix(e,t,n,r){let i=e.length,a=new Uint8Array(i+5+(r?4:0));return a.set(e),a[i]=t&255,a[i+1]=t>>8&255,a[i+2]=t>>16&255,a[i+3]=n&255,a[i+4]=n>>8&255,r&&a.set([115,65,108,84],i+5),Xt(a).subarray(0,Math.min(i+5,16))}function ax(e,t,n,r){return Pt(ix(r,t,n,!1),e)}function ox(e,t,n,r){if(e.length<16)return e;let i=e.subarray(0,16),a=e.subarray(16);return a.length===0||a.length%16!=0?e:Ct(a,ix(r,t,n,!0),i)}function sx(e,t){let n=Ft(16);return pe([n,St(e,t,n)])}function cx(e){let t=/* @__PURE__ */ new Uint8Array(32),n=Gb.encode(e),r=Math.min(n.length,32);return t.set(n.subarray(0,r)),t.set(Wb.subarray(0,32-r),r),t}function lx(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 ux(e){let t=Yv(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 dx(e,t,n){if(t<4)return`rc4`;let r=qv(e,n)??`Identity`;if(r===`Identity`)return`identity`;let i=e.get(`CF`),a=i instanceof Map?i.get(r):void 0;if(!(a instanceof Map))throw new yn(`/${n} names crypt filter /${r}, which /CF does not define`);let o=a.get(`CFM`)??`None`;switch(o){case`None`:return`identity`;case`V2`:return`rc4`;case`AESV2`:return`aesv2`;case`AESV3`:return`aesv3`;default:throw new yn(`Unsupported crypt filter method: ${String(o)}`)}}function fx(e,t){switch(e){case`identity`:return;case`rc4`:{let e=(e,n,r)=>ax(e,n,r,t);return{decrypt:e,encrypt:e}}case`aesv2`:return{decrypt:(e,n,r)=>ox(e,n,r,t),encrypt:(e,n,r)=>sx(e,ix(t,n,r,!0))};case`aesv3`:return{decrypt:e=>ex(e,t),encrypt:e=>sx(e,t)}}}function px(e,t,n,r){let i=e=>e===`string`?t:n;e.decryptFn=(e,t,n,r)=>i(r)?.decrypt(e,t,n)??e,e.encryptFn=(e,t,n,r)=>i(r)?.encrypt(e,t,n)??e,e.encryptMetadata=r}Qe(),Ge(),x(),tt(),Sn();function mx(e,t,n=268435456){let r=t.get(`Filter`);if(r==null)return e;let i=t.get(`DecodeParms`)??t.get(`DP`);if(typeof r==`string`)return _x(e,r,Gv(i)?i:void 0,n);if(Kv(r)){if(r.length>16)throw new bn(`Stream filter chain has ${r.length} filters; the limit is 16`);let t=e,a=Kv(i)?i:[];for(let e=0;e<r.length;e++){let i=r[e],o=a[e],s=Gv(o)?o:void 0;t=_x(t,i,s,n)}return t}return e}function hx(e,t){return new bn(`Decoded ${e} stream exceeds the limit of ${t} bytes (maxDecodedBytes)`)}function gx(e,t,n){let r=new Uint8Array(Math.min(Math.max(n,64),t)),i=0;return{reserve(n){let a=i+n;if(a>t)throw hx(e,t);if(a>r.length){let e=new Uint8Array(Math.min(Math.max(a,r.length*2),t));e.set(r.subarray(0,i)),r=e}let o=i;return i=a,o},get buffer(){return r},result:()=>r.subarray(0,i)}}function _x(e,t,n,r){switch(t){case`FlateDecode`:case`Fl`:return vx(e,n,r);case`ASCII85Decode`:case`A85`:return Cx(e,r);case`ASCIIHexDecode`:case`AHx`:return wx(e,r);case`LZWDecode`:case`LZW`:return Tx(e,n,r);case`RunLengthDecode`:case`RL`:return Ex(e,r);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 vx(e,t,n){if(e.length===0)return e;let r={maxOutputLength:n},i;try{i=Ze(e,r)}catch(t){if(t instanceof b)throw hx(`FlateDecode`,n);try{i=ye(e,n)}catch(t){if(t instanceof b)throw hx(`FlateDecode`,n);return e}}return t&&(Jv(t,`Predictor`)??1)>1&&(i=yx(i,t)),i}function yx(e,t){let n=Jv(t,`Predictor`)??1,r=Jv(t,`Columns`)??1,i=Jv(t,`Colors`)??1,a=Jv(t,`BitsPerComponent`)??8;return n===1?e:n===2?bx(e,r,i,a):n>=10&&n<=15?xx(e,r,i,a):e}function bx(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 xx(e,t,n,r){let i=Math.max(1,Math.ceil(n*r/8)),a=Math.ceil(t*n*r/8);return $e(e,Math.floor(e.length/(a+1)),a,i)}function Sx(e){return e===32||e===9||e===10||e===13||e===12||e===0}function Cx(e,t){let n=new Uint8Array(Math.min(4*e.length,t+4)),r=0,i=[0,0,0,0,0],a=0;for(;a<e.length;){let o=e[a];if(Sx(o)){a++;continue}if(o===126)break;if(o===122){if(r+4>t)throw hx(`ASCII85Decode`,t);r+=4,a++;continue}let s=0;for(;s<5&&a<e.length;){let t=e[a];if(t===126)break;a++,!(t<33||t>117)&&(i[s++]=t-33)}if(s===0)break;let c=s-1;for(let e=s;e<5;e++)i[e]=84;if(r+c>t)throw hx(`ASCII85Decode`,t);let l=(((i[0]*85+i[1])*85+i[2])*85+i[3])*85+i[4];for(let e=0;e<c;e++)n[r++]=l>>>24-8*e&255}return n.subarray(0,r)}function wx(e,t){let n=new Uint8Array(Math.min(Math.ceil(e.length/2),t+1)),r=0,i=-1;for(let a=0;a<e.length;a++){let o=e[a];if(o===62)break;let s;if(o>=48&&o<=57)s=o-48;else if(o>=65&&o<=70)s=o-65+10;else if(o>=97&&o<=102)s=o-97+10;else continue;if(i<0)i=s;else{if(r>=t)throw hx(`ASCIIHexDecode`,t);n[r++]=i<<4|s,i=-1}}if(i>=0){if(r>=t)throw hx(`ASCIIHexDecode`,t);n[r++]=i<<4}return n.subarray(0,r)}function Tx(e,t,n){let r=t?Jv(t,`EarlyChange`)??1:1,i=gx(`LZWDecode`,n,e.length*4),a=0;function o(t){let n=0;for(let r=0;r<t;r++){let t=a+r>>3,i=7-(a+r&7);t<e.length&&(n=n<<1|e[t]>>i&1)}return a+=t,n}let s=9,c=258,l=[];function u(){l=[];for(let e=0;e<256;e++)l[e]=new Uint8Array([e]);l[256]=/* @__PURE__ */ new Uint8Array,l[257]=/* @__PURE__ */ new Uint8Array,c=258,s=9}u();let d=null;for(;a<e.length*8;){let e=o(s);if(e===257)break;if(e===256){u(),d=null;continue}let t;if(e<c&&l[e])t=l[e];else if(e===c&&d)t=new Uint8Array(d.length+1),t.set(d),t[d.length]=d[0];else break;if(i.buffer.set(t,i.reserve(t.length)),d!==null){let e=new Uint8Array(d.length+1);e.set(d),e[d.length]=t[0],l[c]=e,c++,(r?c:c+1)>=1<<s&&s<12&&s++}d=t}let f=i.result();return t&&(Jv(t,`Predictor`)??1)>1&&(f=yx(f,t)),f}function Ex(e,t){let n=gx(`RunLengthDecode`,t,e.length*2),r=0;for(;r<e.length;){let t=e[r];if(r++,t===128)break;if(t<128){let i=e.subarray(r,r+t+1);n.buffer.set(i,n.reserve(i.length)),r+=i.length}else if(r<e.length){let i=257-t,a=n.reserve(i);n.buffer.fill(e[r],a,a+i),r++}}return n.result()}Sn(),_e();let Dx=new TextEncoder;var Ox=class{constructor(e,t){this.xref=/* @__PURE__ */ new Map,this.cache=/* @__PURE__ */ new Map,this.objStmCache=/* @__PURE__ */ new Map,this.decryptFn=null,this.encryptFn=null,this.encryptMetadata=!0,this.limitError=null,this.xrefRecovered=!1,this.startxrefOffset=null,ge(`maxDecodedBytes`,t),this.maxDecodedBytes=t,this.tokenizer=new Hv(e);try{this.trailer=this.parseFileStructure()}catch(e){throw this.limitError??e}this.throwIfLimitExceeded()}get objectNumberBound(){let e=Jv(this.trailer,`Size`)??1;for(let t of this.xref.keys())t+1>e&&(e=t+1);return e}throwIfLimitExceeded(){if(this.limitError)throw this.limitError}recordLimit(e){throw e instanceof bn&&(this.limitError??=e),e}parse(e){this.throwIfLimitExceeded();try{return ny(e)}catch(e){return this.recordLimit(e)}}decode(e,t){this.throwIfLimitExceeded();try{return mx(e,t,this.maxDecodedBytes)}catch(e){return this.recordLimit(e)}}get data(){return this.tokenizer.bytes}parseFileStructure(){try{let e=this.findStartxref(),t=this.parseXrefChain(e);return this.startxrefOffset=e,t}catch{return this.throwIfLimitExceeded(),this.xrefRecovered=!0,this.startxrefOffset=null,this.reconstructXref()}}findStartxref(){let e=this.tokenizer.bytes,t=Dx.encode(`startxref`),n=this.tokenizer.findSequenceBackward(t);if(n<0)throw new yn(`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 yn(`Invalid startxref offset`);return i}parseXrefChain(e){let t=null,n=e,r=/* @__PURE__ */ 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(),i=Jv(e,`XRefStm`);i!==void 0&&!r.has(i)&&(r.add(i),this.parseXrefStream(i)),t?this.mergeTrailer(t,e):t=e,n=Jv(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=Jv(r,`Prev`)??null}else throw new yn(`Invalid xref at offset ${n}: expected 'xref' keyword or xref stream`)}if(!t)throw new yn(`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 yn(`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=this.parse(this.tokenizer);if(!Gv(e))throw new yn(`Expected dictionary after 'trailer' keyword`);return e}parseXrefStream(e){this.tokenizer.pos=e;let t=this.parse(this.tokenizer);if(!Wv(t))throw new yn(`Expected xref stream object`);let n=t.dict,r=qv(n,`Type`);if(r!==`XRef`)throw new yn(`Expected /Type /XRef, got /Type /${r}`);let i=this.decode(t.data,n),a=Xv(n,`W`);if(!a||a.length<3)throw new yn(`Invalid /W array in xref stream`);let o=a[0],s=a[1],c=a[2],l=o+s+c,u=Jv(n,`Size`)??0,d=Xv(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?kx(i,f,o):1,a=kx(i,f+o,s),u=c>0?kx(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=Dx.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.set(e,{offset:r,gen:t,type:1})}}n=r+1}if(this.xref.size===0)throw new yn(`Could not reconstruct xref: no objects found`);let r=[...this.xref].sort((e,t)=>e[1].offset-t[1].offset),i=[],a=null,o=null;for(let[e,t]of r){let n;try{this.tokenizer.pos=t.offset,n=this.parse(this.tokenizer)}catch{this.throwIfLimitExceeded();continue}let r=Wv(n)?n.dict:Gv(n)?n:null,s=r?qv(r,`Type`):void 0;s===`Catalog`?o??={type:`ref`,objNum:e,gen:t.gen}:Wv(n)&&s===`ObjStm`?i.push(e):Wv(n)&&s===`XRef`&&n.dict.has(`Root`)&&(a=n.dict)}let s=this.findClassicTrailer();if(!s&&a){s=/* @__PURE__ */ new Map;for(let e of[`Root`,`Info`,`ID`,`Encrypt`]){let t=a.get(e);t!==void 0&&s.set(e,t)}}if(!s?.has(`Encrypt`))for(let e of i)this.getObjectStreamMembers(e)?.forEach(({objNum:t},n)=>{let r=this.xref.get(t);(!r||r.type===2)&&this.xref.set(t,{offset:e,gen:n,type:2})});if(s?.has(`Root`))return s.has(`Size`)||s.set(`Size`,this.objectNumberBoundOf(this.xref)),s;let c=s??/* @__PURE__ */ new Map;c.set(`Size`,this.objectNumberBoundOf(this.xref));let l=o;if(!l)for(let[e,t]of this.xref){if(t.type!==2)continue;let n=this.resolve(e,0);if(Gv(n)&&qv(n,`Type`)===`Catalog`){l={type:`ref`,objNum:e,gen:0};break}}return l&&c.set(`Root`,l),c}objectNumberBoundOf(e){let t=1;for(let n of e.keys())t=Math.max(t,n+1);return t}findClassicTrailer(){let e=Dx.encode(`trailer`),t=this.tokenizer.findSequenceBackward(e);if(t<0)return null;this.tokenizer.pos=t+e.length,this.tokenizer.skipWhitespaceAndComments();try{let e=this.parse(this.tokenizer);return Gv(e)?e:null}catch{return this.throwIfLimitExceeded(),null}}mergeTrailer(e,t){for(let[n,r]of t)e.has(n)||e.set(n,r)}resolve(e,t=0){this.throwIfLimitExceeded();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&&r.type===1&&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 this.throwIfLimitExceeded(),e==null?null:Uv(e)?this.resolve(e.objNum,e.gen):e}derefDict(e){let t=this.deref(e);return t===null?null:Gv(t)?t:Wv(t)?t.dict:null}derefStream(e){let t=this.deref(e);return t===null?null:Wv(t)?t:null}derefStreamWithObjNum(e){if(e==null)return null;let t=0,n=0;Uv(e)&&(t=e.objNum,n=e.gen);let r=this.deref(e);return r===null?null:Wv(r)?{stream:r,objNum:t,gen:n}:null}getStreamData(e,t=0,n=0){this.throwIfLimitExceeded();let r=e.data;return this.decryptFn&&this.isStreamEncrypted(e.dict)&&(r=this.decryptFn(r,t,n,`stream`)),this.decode(r,e.dict)}decryptString(e,t,n){return this.decryptFn?this.decryptFn(e,t,n,`string`):e}isStreamEncrypted(e){if(!this.encryptMetadata&&qv(e,`Type`)===`Metadata`)return!1;let t=e.get(`Filter`);if((Array.isArray(t)?t[0]:t)===`Crypt`){let t=e.get(`DecodeParms`),n=Array.isArray(t)?t[0]:t,r=n instanceof Map?n.get(`Name`):void 0;return r!==void 0&&r!==`Identity`}return!0}decodeString(e,t=0,n=0){return $v(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,`string`);if(Gv(e)){let r=/* @__PURE__ */ new Map;for(let[i,a]of e)r.set(i,this.decryptObjectStrings(a,t,n));return r}return Kv(e)?e.map(e=>this.decryptObjectStrings(e,t,n)):Wv(e)?{type:`stream`,dict:this.decryptObjectStrings(e.dict,t,n),data:e.data}:e}getCatalog(){let e=Zv(this.trailer,`Root`);if(!e)throw new yn(`No /Root in trailer`);let t=this.derefDict(e);if(!t)throw new yn(`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 yn(`Could not resolve /Pages`);let n=[],r=/* @__PURE__ */ new Set;return this.collectPages(t,n,r),n}collectPages(e,t,n){if(n.has(e))return;if(n.add(e),qv(e,`Type`)===`Page`){t.push({dict:e,objNum:0,gen:0});return}let r=Xv(e,`Kids`);if(r)for(let e of r){let r=0,i=0;Uv(e)&&(r=e.objNum,i=e.gen);let a=this.derefDict(e);a&&(qv(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 this.parse(this.tokenizer)}catch{return this.throwIfLimitExceeded(),null}}parseCompressedObject(e,t){return this.getObjectStreamMembers(e)?.[t]?.obj??null}getObjectStreamMembers(e){let t=this.objStmCache.get(e);if(!t){if(t=this.parseObjectStream(e)??void 0,!t)return null;this.objStmCache.set(e,t)}return t}parseObjectStream(e){let t=this.xref.get(e);if(!t||t.type!==1)return null;this.tokenizer.pos=t.offset;let n;try{n=this.parse(this.tokenizer)}catch{return this.throwIfLimitExceeded(),null}if(!Wv(n))return null;let r=n.dict,i=Jv(r,`N`)??0,a=Jv(r,`First`)??0,o=this.getStreamData(n,e,t.gen);if(!Number.isInteger(a)||a<0||a>o.length)return null;let s=Number.isInteger(i)&&i>0?Math.min(i,Math.ceil(a/4)):0,c=new Hv(o.subarray(0,a)),l=[];for(let e=0;e<s;e++){let e=c.next(),t=c.next();if(e.type!==0||t.type!==0)break;let n=e.numValue,r=t.numValue;if(!Number.isInteger(n)||n<=0||!Number.isInteger(r))break;let i=null;if(r>=0&&a+r<o.length)try{i=this.parse(new Hv(o,a+r))}catch{this.throwIfLimitExceeded()}l.push({objNum:n,obj:i})}return l}resolvePageBox(e,t){let n=t??/* @__PURE__ */ 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??/* @__PURE__ */ new Set;if(n.has(e))return/* @__PURE__ */ 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/* @__PURE__ */ new Map}};function kx(e,t,n){let r=0;for(let i=0;i<n;i++)r=r*256+(e[t+i]??0);return r}function Ax(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=jx(r);if(i.length<2)return[];let a=Mx(i,t);if(a.length<2)return[];let o=Nx(i,a),s=[];for(let e of o){let t=Fx(i,a,e.start,e.end,n);t&&s.push(t)}return s}function jx(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 Mx(e,t){let n=e.map(e=>e.fragments.length),r=/* @__PURE__ */ 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 Nx(e,t){let n=[];for(let r of e){let e=/* @__PURE__ */ new Set;for(let n of r.fragments){let r=Px(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 Px(e,t){for(let n=t.length-1;n>=0;n--)if(e>=t[n].left-1)return n;return-1}function Fx(e,t,n,r,i){let a=[];for(let i=n;i<=r;i++){let o=e[i],s=Ix(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 Ix(e,t,n,r,i,a){let o=/* @__PURE__ */ new Map;for(let n of e.fragments){let e=Px(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 Lx(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(zx(n)),t.length>0&&r.push(Wx(t)),r.join(`
|
|
52
52
|
|
|
53
|
-
`)}function
|
|
53
|
+
`)}function Rx(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=Bx(n);for(let t of e){let e=Hx(Vx(t));for(let t of e)r.push({text:Jx(t),y:t[0].y,x:t[0].x,fontSize:t[0].fontSize})}}if(t.length>0){let e=Gx(t);for(let t of e)r.push({text:Kx(t),y:t[0].y,x:t[0].x,fontSize:t[0].fontSize})}return r}function zx(e){let t=Bx(e);if(t.length<=1)return qx(Hx(Vx(e)));let n=[];for(let e of t){let t=qx(Hx(Vx(e)));t.length>0&&n.push(t)}return n.join(`
|
|
54
54
|
|
|
55
|
-
`)}function
|
|
56
|
-
`)}function
|
|
57
|
-
`)}function
|
|
55
|
+
`)}function Bx(e){if(e.length<4||new Set(e.map(e=>Math.round(e.x))).size<2)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 Vx(e){return[...e].sort((e,t)=>{let n=t.y-e.y;return Math.abs(n)>1?n:e.x-t.x})}function Hx(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)Ux(e);return t}function Ux(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 Wx(e){let t=Gx(e),n=[];for(let e of t)n.push(Kx(e));return n.join(`
|
|
56
|
+
`)}function Gx(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 Kx(e){return e.map(e=>e.text).join(``)}function qx(e){let t=[];for(let n=0;n<e.length;n++)if(t.push(Jx(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(`
|
|
57
|
+
`)}function Jx(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}Sn(),o_();async function Yx(e,t){let{doc:n,opts:r,metadata:i,pagesInfo:a,pageIndicesToProcess:o}=Xx(e,t),s=[];for(let e=0;e<o.length;e++){let t=o[e];s.push(Zx(a[t].dict,t,n,r)),n.throwIfLimitExceeded(),e<o.length-1&&await a_()}return Qx(s,a.length,i,r,n)}function Xx(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 Ox(e,t?.maxDecodedBytes);if(qb(r)&&!Kb(r,n.password))throw new yn(`Failed to decrypt PDF: incorrect password`);let i=n.extractMetadata?Ib(r):eS(),a=r.getPagesWithObjInfo(),o=n.pages?n.pages.map(e=>e-1).filter(e=>e>=0&&e<a.length):Array.from({length:a.length},(e,t)=>t);return r.throwIfLimitExceeded(),{doc:r,opts:n,metadata:i,pagesInfo:a,pageIndicesToProcess:o}}function Zx(e,t,n,r){let i=t+1,a=[],o=``,s=[],c=[];if(r.extractText)try{c=sb(e,n),o=Lx(c),s=Rx(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=jb(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=cy(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}=$x(e,n),p=[];if(r.extractTables)try{p=Ax(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 Qx(e,t,n,r,i){let a=e.map(e=>e.text).join(`
|
|
58
58
|
|
|
59
|
-
`);r.extractMetadata&&(n.pageCount=t);let o=[];if(r.extractFormFields)try{o=
|
|
60
|
-
`||e===`\r`||e===`\f`}function Kx(e){return Gx(e)||e===`/`||e===`<`||e===`>`||e===`[`||e===`]`||e===`(`||e===`)`}function qx(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 Jx(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 Yx(e,t,n){for(;t<e.length&&!(e[t]===`/`&&t>n&&Gx(e[t-1])||e[t]===`<`&&t+1<e.length&&e[t+1]===`<`);)t++;return t}gt(),m(),On(),Sn(),zf(),Cr(),Nm();var Xx=class{constructor(e,t,n,r,i=``){this._pageIndex=e,this._width=t,this._height=n,this._overlay=new tg(t,n,r,i)}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}},Zx=class e{constructor(e,t){if(this._pages=[],this._newPages=[],this._formFieldUpdates=/* @__PURE__ */ new Map,this._copiedPages=[],this._removedPageIndices=/* @__PURE__ */ new Set,this._isIncrementalSave=!1,this._rotationOverrides=/* @__PURE__ */ new Map,this._signaturePlaceholder=null,this._writerForSave=null,this._clonedRefs=/* @__PURE__ */ new Map,this._doc=new dx(e),this._password=t,Ab(this._doc)&&!kb(this._doc,t))throw new yn(`Failed to decrypt PDF: incorrect password`);this._overlayResourcePrefix=this._chooseOverlayResourcePrefix(),this._fontManager=new Rf(void 0,this._overlayResourcePrefix);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 Xx(e,r.width,r.height,this._fontManager,this._overlayResourcePrefix))}this._doc.throwIfLimitExceeded()}static load(t,n){return new e(t,n?.password??``)}get hasSignatures(){return this._hasSignatures??=this._detectSignatures(),this._hasSignatures}get pageCount(){return this._pages.length}getPage(e){if(e<0||e>=this._pages.length)throw new yn(`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 tg(t,n,this._fontManager,this._overlayResourcePrefix);return this._newPages.push(r),r}removePage(e){if(e<0||e>=this._pages.length)throw new yn(`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 yn(`Page index ${e} out of range (0-${this._pages.length-1})`);if(t!==0&&t!==90&&t!==180&&t!==270)throw new yn(`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}_chooseOverlayResourcePrefix(){let e=/* @__PURE__ */ new Set;for(let{dict:t}of this._doc.getPagesWithObjInfo()){let n=this._doc.resolvePageResources(t);for(let t of[`Font`,`XObject`,`ExtGState`]){let r=n.get(t),i=r?this._doc.derefDict(r):null;if(i)for(let t of i.keys())e.add(t)}}let t=1;for(;[...e].some(e=>e.startsWith(`DMO${t}_`));)t++;return`DMO${t}_`}embedFont(e,t){let n=Sr(e,t);return this._fontManager.registerEmbeddedFont(n),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 tb(this._doc)}copyPagesFrom(e,t,n){let r=new dx(e);if(Ab(r)&&!kb(r,n?.password??``))throw new yn(`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 r.throwIfLimitExceeded(),this}async save(e){this._guardSignatures(e,`save() rewrites the whole file`);let t=new Dn;this._writerForSave=t,this._clonedRefs=/* @__PURE__ */ new Map,this._fontManager.beginBuild();try{return await this._buildFullSave(t)}finally{this._fontManager.endBuild(),this._writerForSave=null,this._clonedRefs.clear()}}async _buildFullSave(e){for(let e of this._pages)e._overlay._stream.preflight();for(let e of this._newPages)e._stream.preflight();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=Ux(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(`/${em(r,this._overlayResourcePrefix)} ${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=yb(this._doc);return e.addInfoDict({title:f.title||void 0,author:f.author||void 0,subject:f.subject||void 0,creator:f.creator||`documonster`,creationDate:f.creationDate??void 0}),this._throwIfLimitExceeded(),e.build()}async saveIncremental(e){if(this._newPages.length>0||this._copiedPages.length>0||this._removedPageIndices.size>0||this._rotationOverrides.size>0)return this._guardSignatures(e,`saveIncremental() must fall back to a full rewrite for page additions, removals or rotations`),this.save({invalidateSignatures:!0});let t=this._pages.some(e=>e._hasOverlay()),n=this._formFieldUpdates.size>0;if(!t&&!n)return this._doc.data;if(this._doc.xrefRecovered||this._doc.startxrefOffset===null)return this._guardSignatures(e,`saveIncremental() must fall back to a full rewrite because the cross-reference data was recovered`),this.save({invalidateSignatures:!0});this._isIncrementalSave=!0,this._fontManager.beginBuild();try{return await this._buildIncrementalUpdate(e)}finally{this._fontManager.endBuild(),this._isIncrementalSave=!1,this._writerForSave=null,this._clonedRefs.clear()}}async _buildIncrementalUpdate(e){let t=this._doc.objectNumberBound,n=/* @__PURE__ */ new Map,r=this._pages.some(e=>e._hasOverlay()),i=new Dn;this._writerForSave=i,this._clonedRefs=/* @__PURE__ */ new Map;let a=``,o=/* @__PURE__ */ new Map;if(r){for(let e of this._pages)e._overlay._stream.preflight();let e=await this._fontManager.writeFontResources(i),r=i.getObjects();for(let e of r)o.has(e.objectNumber)||o.set(e.objectNumber,t++);for(let e of r){let t=o.get(e.objectNumber),r=this._remapRefsInString(e.content,o);e.streamData?n.set(t,{gen:0,body:{dict:p.fromRawString(r),data:e.streamData}}):n.set(t,{gen:0,body:r})}let s=this._fontManager.buildFontDictString(e);a=this._remapRefsInString(s,o)}let s=this._doc.getPagesWithObjInfo();for(let r=0;r<s.length;r++){let i=this._pages[r],{dict:o,objNum:c,gen:u}=s[r];if(c===0)return this._guardSignatures(e,`saveIncremental() must fall back to a full rewrite for a page without an object number`),this._isIncrementalSave=!1,this.save({invalidateSignatures:!0});let d=i._hasOverlay(),f=this._hasFormUpdatesForPage(o);if(!d&&!f)continue;let m=new p;for(let[e,t]of o.entries())e===`Contents`&&d||e===`Resources`&&d||e===`Annots`&&f||m.set(e,this._serializeOriginalValue(t));if(d){let e=i._overlay._stream.toUint8Array(),r=t++;n.set(r,{gen:0,body:{dict:new p,data:e}});let s=o.get(`Contents`),c=this._collectOriginalContentRefs(s);c.push(l(r));let u=c.length===1?c[0]:`[${c.join(` `)}]`;m.set(`Contents`,u);let d=this._serializeOriginalResources(this._doc,o),f=/* @__PURE__ */ new Map;for(let e=0;e<i._overlay._images.length;e++){let r=i._overlay._images[e],a=`${this._overlayResourcePrefix}Im${e+1}`,o=t++;f.set(a,o),n.set(o,{gen:0,body:this._buildImageXObjectForIncremental(r.data,r.format)})}let h=`<< `;if(a&&(h+=`/Font ${a} `),f.size>0){let e=[...f.entries()].map(([e,t])=>`/${e} ${l(t)}`).join(` `);h+=`/XObject << ${e} >> `}h+=`>>`;let g=this._mergeResourceStrings(d,h),_=t++;n.set(_,{gen:0,body:g||`<< >>`}),m.set(`Resources`,l(_))}if(f){let e=this._buildIncrementalAnnots(o,n,t);t=e.nextObjNum,e.annotRefs.length>0&&m.set(`Annots`,`[${e.annotRefs.map(e=>l(e.objNum,e.gen)).join(` `)}]`)}n.set(c,{gen:u,body:m.toString()})}if(this._throwIfLimitExceeded(),n.size===0)return this._doc.data;let c=this._doc.startxrefOffset;if(c===null)throw new yn(`saveIncremental(): the original startxref offset is unknown`);return En(this._doc.data,n,this._serializeTrailerEntries(),{xrefStream:this._doc.trailer.get(`Type`)===`XRef`,prevXrefOffset:c,encrypt:this._doc.encryptFn??void 0,encryptMetadata:this._doc.encryptMetadata})}_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(!kv(n))return!1;for(let e of n){let t=this._doc.derefDict(e);if(t&&Av(t,`Subtype`)===`Widget`){let e=this._resolveFieldName(t);if(e&&this._formFieldUpdates.has(e))return!0}}return!1}_collectOriginalContentRefs(e){if(!e)return[];if(Ev(e)){let t=this._doc.deref(e);return kv(t)?t.filter(e=>Ev(e)).map(e=>l(e.objNum,e.gen)):[l(e.objNum,e.gen)]}return kv(e)?e.filter(e=>Ev(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(Ev(e))return l(e.objNum,e.gen);if(kv(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=ct(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(!kv(i))return{annotRefs:[],nextObjNum:n};let a=[];for(let e of i){let r=this._doc.derefDict(e);if(!r){Ev(e)&&a.push(e);continue}if(Av(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=Ev(e)?e:{objNum:n++,gen:0},s=this._buildModifiedWidgetDict(r,o,(e,r)=>{let i=n++;return t.set(i,{gen:0,body:{dict:e,data:r}}),i});t.set(i.objNum,{gen:i.gen,body:s}),a.push(i);continue}}if(Ev(e))a.push(e);else{let e=n++,i=this._serializeAnnotDict(r);t.set(e,{gen:0,body:i}),a.push({objNum:e,gen:0})}}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){this._guardSignatures(e,`sign() rewrites the whole file`);let{buildSignatureDictPlaceholder:t,signPdf:n}=await Promise.resolve().then(()=>(Lh(),qm)),{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({invalidateSignatures:!0})}finally{this._signaturePlaceholder=null}return n(i,e.certificate,e.privateKey)}_throwIfLimitExceeded(){this._doc.throwIfLimitExceeded();for(let e of this._copiedPages)e.sourceDoc.throwIfLimitExceeded()}_guardSignatures(e,t){if(this.hasSignatures&&!e?.invalidateSignatures)throw new xn(`The document is digitally signed and ${t}, which would invalidate its signatures. Pass { invalidateSignatures: true } to proceed anyway.`)}_detectSignatures(){let e=this._doc.deref(this._doc.trailer.get(`Root`)??null);if(!(e instanceof Map))return!1;let t=this._doc.deref(e.get(`AcroForm`)??null);if(!(t instanceof Map))return!1;let n=/* @__PURE__ */ new Set,r=[],i=this._doc.deref(t.get(`Fields`)??null);if(kv(i))for(let e of i)r.push({item:e,inheritedFt:void 0});for(;r.length>0;){let{item:e,inheritedFt:t}=r.pop();if(Ev(e)){let t=`${e.objNum}:${e.gen}`;if(n.has(t))continue;n.add(t)}let i=this._doc.deref(e);if(!(i instanceof Map))continue;let a=Av(i,`FT`)??t;if(a===`Sig`){let e=this._doc.deref(i.get(`V`)??null);if(e instanceof Map&&e.has(`ByteRange`)&&e.has(`Contents`))return!0}let o=this._doc.deref(i.get(`Kids`)??null);if(kv(o))for(let e of o)r.push({item:e,inheritedFt:a})}return!1}_serializeTrailerEntries(){let e=/* @__PURE__ */ new Map;for(let t of[`Root`,`Info`,`Encrypt`,`ID`]){let n=this._doc.trailer.get(t);n!=null&&e.set(t,this._serializeOriginalValue(n))}return e.set(`Size`,String(this._doc.objectNumberBound)),e}_collectContentStreams(e,t){let n=t.get(`Contents`);if(!n)return[];if(Ev(n)){let t=e.derefStreamWithObjNum(n);if(t)return[e.getStreamData(t.stream,t.objNum,t.gen)];let r=e.deref(n);return kv(r)?this._resolveStreamArray(e,r):[]}return kv(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(Ev(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 kv(t)?`[${t.map(t=>this._deepSerialize(e,t)).join(` `)}]`:t instanceof Map?this._serializeDictToWriter(e,t):``}_writeOverlayImages(e,t){let n=/* @__PURE__ */ new Map;for(let r=0;r<t._images.length;r++){let i=t._images[r],a=`${this._overlayResourcePrefix}Im${r+1}`,o=dt(e,i.data,i.format);n.set(a,o)}return n}_buildOverlayResourceDict(e,t,n,r){let i=/* @__PURE__ */ new Map;if(n){let e=n.trim();if(e.startsWith(`<<`)&&e.endsWith(`>>`)){let t=Hx(`<< /Font ${e} >>`).get(`Font`);t&&i.set(`Font`,t)}}if(r.size>0){let e=/* @__PURE__ */ 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=/* @__PURE__ */ 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(em(r,this._overlayResourcePrefix),l(t))}i.set(`ExtGState`,n)}return i}_mergeResourceStrings(e,t){return!t||t===`<< >>`?e:!e||e===`<< >>`?t:Ux(Vx(Hx(e),Hx(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(!kv(r))return[];let i=[];for(let t of r){let n=this._doc.derefDict(t);if(!n)continue;let r=Av(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=/* @__PURE__ */ 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=Iv(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,n){if(this._resolveFieldType(e)===`Tx`&&(n||this._writerForSave))return this._buildTextFieldWidgetDict(e,t,n??((e,t)=>{let n=this._writerForSave,r=n.allocObject();return n.addStreamObject(r,e,t,{compress:!1}),r}));let r=[`<<`];for(let[t,n]of e.entries()){if(t===`V`||t===`AP`)continue;let e=this._serializePdfValue(n);e&&r.push(`/${t} ${e}`)}return r.push(`/V ${i(t)}`),r.push(`>>`),r.join(` `)}_buildTextFieldWidgetDict(e,t,n){let r=this._resolveWidgetRect(e),a=e.get(`Q`),o=`left`;a===1?o=`center`:a===2&&(o=`right`);let{stream:s,resources:c}=Rx({value:t,rect:r,alignment:o}),u=n(new p().set(`Type`,`/XObject`).set(`Subtype`,`/Form`).set(`BBox`,zx(r)).set(`Resources`,c),s),d=[`<<`];for(let[t,n]of e.entries()){if(t===`V`||t===`AP`)continue;let e=this._serializePdfValue(n);e&&d.push(`/${t} ${e}`)}return d.push(`/V ${i(t)}`),d.push(`/AP << /N ${l(u)} >>`),d.push(`>>`),d.join(` `)}_resolveFieldType(e){let t=e,n=/* @__PURE__ */ new Set;for(;t;){let e=Av(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&&kv(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(Ev(e))return this._writerForSave&&!this._isIncrementalSave?this._deepSerialize(this._doc,e):`${e.objNum} ${e.gen} R`;if(kv(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 Qx(e,t){return`${e}:${t}`}var $x=n((()=>{})),eS,tS,nS,rS,iS,aS,oS=n((()=>{v(),eS=class extends g{constructor(e,t){super(e,t),this.name=`ExcelError`}},tS=class extends eS{constructor(e,t,n){super(t?`Invalid address "${e}": ${t}`:`Invalid address: ${e}`,n),this.address=e,this.name=`InvalidAddressError`}},nS=class extends eS{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`}},rS=class extends eS{constructor(e,t,n){super(t??`Cannot process value of type: ${e}`,n),this.valueType=e,this.name=`InvalidValueTypeError`}},iS=class extends eS{constructor(...e){super(...e),this.name=`ChartOptionsError`}},aS=class extends eS{constructor(...e){super(...e),this.name=`ImageError`}}})),sS,cS=n((()=>{oS(),sS={_dictionary:/* @__PURE__ */ `ABCDEFGHIJKLMNOPQRSTUVWXYZ`.split(``),_l2nFill:0,_l2n:Object.create(null),_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 nS(e,`Excel supports columns from 1 to 16384`);this._fill(e.length)}if(!this._l2n[e])throw new nS(e,`Invalid column letter: ${e}`);return this._l2n[e]},n2l(e){if(e<1||e>16384)throw new nS(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},decodePlainRow(e){let t=e.length,n=0,r=0;for(;n<t;){let t=e.charCodeAt(n);if(t<65||t>90)break;r=r*26+t-64,n++}if(n===0||n>3||r>16384||n===t||e.charCodeAt(n)===48)return 0;let i=0;for(;n<t;n++){let t=e.charCodeAt(n);if(t<48||t>57)return 0;i=i*10+t-48}return i<=1048576?i:0},validateAddress(e){let t=e.length,n=0;for(;n<t;){let t=e.charCodeAt(n);if(t<65||t>90)break;n++}let r=n>0&&n<t;for(;r&&n<t;n++){let t=e.charCodeAt(n);r=t>=48&&t<=57}if(!r)throw new tS(e);return!0},decodeAddress(e){if(!e||typeof e!=`string`)throw new tS(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 nS(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 tS(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 tS(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 sS.n2l(t)+e},encode(...e){switch(e.length){case 2:return sS.encodeAddress(e[0],e[1]);case 4:return`${sS.encodeAddress(e[0],e[1])}:${sS.encodeAddress(e[2],e[3])}`;default:throw new tS(String(e.length),`Can only encode with 2 or 4 arguments`)}},compareAddress(e,t){let n=sS.decodeAddress(e),r=sS.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 lS(e,t){let n=/* @__PURE__ */ new Map,r=bS(t,[],n);for(let t of e)if(!xS(t,r)&&!NS(t,r))return;return n}function uS(e,t,n={}){let r=[];return fS(e,t,r,n),{writes:r,diagnostics:[]}}function dS(e){gS(e.writes)}function fS(e,t,n,r){let i=e.chartSpace?.chartData?.data,a=bS(t,n),o=e.chartSpace?.chart?.title?.strRef;if(o?.formula&&(o.cache?.points?.length??0)===0){let e=xS(o.formula,a);if(e){let t=e.cells.find(e=>RS(e.value)!==void 0);if(t){let e=RS(t.value);e!==void 0&&_S(o,{points:[{index:0,value:e}]},a)}}}if(i&&i.length!==0)for(let e of i){if(e.strDim?.formula&&(r.includeSkippedDimensions||!pS(e.strDim))){let t=xS(e.strDim.formula,a);if(t&&t.cells.length>0){let n=[],r=0;for(let e of t.cells){let t=RS(e.value);t!==void 0&&t!==``&&n.push({index:r,value:t}),r++}vS(e.strDim,[{ptCount:r,points:n}],`chart-ex-string-levels`,a)}}if(e.numDim?.formula&&(r.includeSkippedDimensions||!mS(e.numDim))){let n=xS(e.numDim.formula,a);if(n&&n.cells.length>0){let r=[],i=0;for(let e of n.cells){let n=LS(e.value,t.date1904);n!==void 0&&r.push({index:i,value:n}),i++}let o=e.numDim.levels?.[0];vS(e.numDim,[{ptCount:i,points:r,...o?.formatCode?{formatCode:o.formatCode}:{}}],`chart-ex-number-levels`,a)}}}}function pS(e){return e._skipCache?!0:e.levels?.some(e=>e.points.length>0)??!1}function mS(e){return e._skipCache?!0:e.levels?.some(e=>e.points.length>0)??!1}function hS(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];yS(t)&&yS(r)&&Array.isArray(t)===Array.isArray(r)?hS(t,r):e[n]=structuredClone(r)}}function gS(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];yS(r)&&yS(t.value)?hS(r,t.value):n[e]=structuredClone(t.value)}}function _S(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 vS(e,t,n,r){e.formula&&r.writes.push({kind:n,target:e,expectedFormula:e.formula,value:t})}function yS(e){return typeof e==`object`&&!!e}function bS(e,t,n){return{snapshot:e,writes:t,requestedCells:n,localSheetId:e.contextLocalSheetId,visitedDefinedNames:/* @__PURE__ */ new Set,definedNameDepth:0}}function xS(e,t){let n=OS(e,t);if(n)return n;let r=SS(e,t);if(r)return r;let i=PS(e),a,o=[];for(let e of i){let n=e.trim();if(!n)continue;let r;try{r=sS.decodeEx(n)}catch{return}if(`error`in r)return;let i=r.sheetName;if(!i)return;let s=IS(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:FS(s,r,e,t)})}else if(`row`in r&&`col`in r){let e=r.row,n=r.col;o.push({value:FS(s,e,n,t)})}}if(a)return{worksheet:a,cells:o}}function SS(e,t){let n=CS(e,t);if(!n)return;let r=TS(n.name,n.localSheetId);if(!t.visitedDefinedNames.has(r)&&!(t.definedNameDepth>=zS)){t.visitedDefinedNames.add(r),t.definedNameDepth+=1;try{let e=[],r;for(let i of n.ranges){if(!i)continue;let n=xS(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 CS(e,t){let n=e.trim();if(!n)return;let r=ES(n);if(r){let e=IS(t.snapshot,r.sheetName);if(e){let n=typeof e.orderNo==`number`?e.orderNo:t.snapshot.worksheets.indexOf(e);if(n>=0){let e=wS(t.snapshot,r.name,n);if(e)return{name:r.name,localSheetId:n,ranges:e}}}let n=wS(t.snapshot,r.name,void 0);return n?{name:r.name,ranges:n}:void 0}if(!BS.test(n))return;if(t.localSheetId!==void 0){let e=wS(t.snapshot,n,t.localSheetId);if(e)return{name:n,localSheetId:t.localSheetId,ranges:e}}let i=wS(t.snapshot,n,void 0);if(i)return{name:n,ranges:i}}function wS(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 TS(e,t){return t===void 0?e:`${e}\0${t}`}function ES(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(BS.test(r))return{sheetName:n,name:r}}function DS(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 OS(e,t){let n=DS(e.trim()),r=n?n.remainder:e.trim(),i=n?.sheetName,a=kS(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=sS.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:FS(e,n,c,t)});return{worksheet:e,cells:l}}}function kS(e){let t=AS(e);if(!t||e[t.end]!==`[`||!e.endsWith(`]`))return;let n=e.slice(t.end+1,-1);if(n.length===0)return;let r=jS(n);return r?{tableName:t.name,columnName:r}:void 0}function AS(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 jS(e){if(e.startsWith(`@`))return MS(`${e.slice(1).replace(/^\[(.*)\]$/,`$1`)}]`,0).value;if(!e.startsWith(`[`))return e.startsWith(`#`)?void 0:MS(`${e}]`,0).value;let t=[],n=0;for(;n<e.length;){if(e[n]!==`[`){n++;continue}let r=MS(e,n+1);t.push(r.value),n=r.end}return t.filter(e=>e&&!e.startsWith(`#`)).pop()}function MS(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 NS(e,t){let n=CS(e,t);if(n){let e=TS(n.name,n.localSheetId);if(t.visitedDefinedNames.has(e)||t.definedNameDepth>=zS)return;t.visitedDefinedNames.add(e),t.definedNameDepth+=1;try{let e,r=[],i=0;for(let a of n.ranges){let n=NS(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=PS(e),i,a=[],o=0;for(let e of r){let n=e.trim();if(!n)continue;let r;try{r=sS.decodeEx(n)}catch{return}if(`error`in r)return;let s=r.sheetName;if(!s)return;let c=IS(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(FS(c,r,i,t));a.push(e)}}else`row`in r&&`col`in r&&(o=Math.max(o,1),a.push([FS(c,r.row,r.col,t)]))}if(i)return{worksheet:i,values:a,rowCount:a.length,columnCount:o}}function PS(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 FS(e,t,n,r){if(r.requestedCells){let i=e.name.toLowerCase(),a=r.requestedCells.get(i);a||(a=/* @__PURE__ */ new Set,r.requestedCells.set(i,a)),a.add(Qx(t,n))}return e.cells.get(Qx(t,n))}function IS(e,t){return e.worksheetsByName.get(t.toLowerCase())}function LS(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 zg(e,t);if(typeof e==`string`){let t=Number(e);if(Number.isFinite(t)&&e.trim()!==``)return t}}}function RS(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 zS,BS,VS=n((()=>{$x(),cS(),Ug(),zS=128,BS=/^[A-Za-z_\\\u00A0-\uFFFF][\w.?\\\u00A0-\uFFFF]*$/}));function HS(e){let{sheetName:t}=e;return t?/^[a-zA-Z0-9]*$/.test(t)?`${t}!`:`'${t.replace(/'/g,`''`)}'!`:``}function US(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`&&WS(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`&&WS(e,t[0],t[1],t[2],t[3]);break;case 3:typeof t[0]==`string`&&typeof t[1]==`string`&&typeof t[2]==`string`&&WS(e,t[0],t[1],t[2]);break;case 2:typeof t[0]==`string`&&typeof t[1]==`string`&&WS(e,t[0],t[1]);break;case 1:{let n=t[0];if(Array.isArray(n))US(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=sS.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 eS(`Invalid number of arguments to Range.create() - ${t.length}`)}}function WS(e,t,n,r,i,a){if(typeof t==`string`&&typeof n==`string`){let i=sS.decodeAddress(t),a=sS.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 GS(...e){let t={top:0,left:0,bottom:0,right:0};return US(t,e),t}function KS(e){return e.top||1}function qS(e){return e.left||1}function JS(e){return e.bottom||1}function YS(e){return e.right||1}function XS(e,t,n,r,i){(!e.top||t<KS(e))&&(e.top=t),(!e.left||n<qS(e))&&(e.left=n),(!e.bottom||r>JS(e))&&(e.bottom=r),(!e.right||i>YS(e))&&(e.right=i)}function ZS(e){return sS.n2l(qS(e))+KS(e)}function QS(e){return`$${sS.n2l(qS(e))}$${KS(e)}`}function $S(e){return sS.n2l(YS(e))+JS(e)}function eC(e){return`$${sS.n2l(YS(e))}$${JS(e)}`}function tC(e){return`${HS(e)+ZS(e)}:${$S(e)}`}function nC(e){return`${HS(e)+QS(e)}:${eC(e)}`}function rC(e){return iC(e)>1?nC(e):HS(e)+QS(e)}function iC(e){return(1+JS(e)-KS(e))*(1+YS(e)-qS(e))}var aC=n((()=>{oS(),cS()}));function oC(e){let t=[],n=/* @__PURE__ */ new Set;for(let r of Object.keys(e.matrixMap)){if(n.has(r))continue;n.add(r);let i=cC(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=cC(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 sC(e,t,n){n.mark=!1;let r=n.sheetName,i=GS(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 cC(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&&sC(e,n,t)).filter(e=>!!e).map(e=>rC(e))}):r?{name:i,ranges:[r],formulaExpression:r}:{name:i,ranges:[]}}var lC=n((()=>{aC()})),uC,dC,fC,pC,mC,hC,gC=n((()=>{uC={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},dC={None:0,Master:1,Shared:2},fC={None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},pC={LeftToRight:1,RightToLeft:2},mC={NotApplicable:`#N/A`,Ref:`#REF!`,Name:`#NAME?`,DivZero:`#DIV/0!`,Null:`#NULL!`,Value:`#VALUE!`,Num:`#NUM!`,Spill:`#SPILL!`,Calc:`#CALC!`},hC={ValueType:uC,FormulaType:dC,RelationshipType:fC,ReadingOrder:pC,ErrorValue:mC}}));function _C(e){return xC.has(e)}function vC(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(!vC(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)||!vC(i[t],a[t]))return!1}return!0}function yC(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function bC(...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]=bC(Array.isArray(i)?i:[],r):yC(r)?e[t]=bC(yC(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)?bC(Array.isArray(o)?o:[],a):yC(a)?bC(yC(o)?o:{},a):a}}}}return t}var xC,SC=n((()=>{xC=/* @__PURE__ */ new Set([`__proto__`,`constructor`,`prototype`,`__defineGetter__`,`__defineSetter__`,`__lookupGetter__`,`__lookupSetter__`])}));function CC(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=bC({},wC,t);return e.author!==void 0&&(n.author=e.author),n}var wC,TC=n((()=>{SC(),wC={note:{margins:{insetmode:`auto`,inset:[.13,.13,.25,.25]},protection:{locked:`True`,lockText:`True`},editAs:`absolute`},type:`note`}}));function EC(e,t){let n={...e};for(let r=0;r<t.length;r++){let i=t[r];e[i]&&(n[i]={...e[i]})}return n}function DC(e,t){if(!t||typeof t!=`object`)return t;let n=t;switch(e){case`font`:return EC(n,jC);case`alignment`:case`protection`:return{...n};case`border`:return OC(n);case`fill`:return kC(n);default:return t}}function OC(e){let t={...e};for(let n of AC)e[n]&&(t[n]=EC(e[n],jC));return t}function kC(e){let t=EC(e,MC);return e.stops&&(t.stops=e.stops.map(e=>EC(e,jC))),t}var AC,jC,MC,NC=n((()=>{AC=[`top`,`left`,`bottom`,`right`,`diagonal`],jC=[`color`],MC=[`fgColor`,`bgColor`,`center`]}));function PC(e){if(e&&typeof e==`object`&&!Object.isFrozen(e)){Object.freeze(e);for(let t of Object.keys(e))PC(e[t])}}function FC(e,t){let n=e[t];if(!n||typeof n!=`object`)return n;let r=IC.get(e);r||(r={},IC.set(e,r));let i=r[t];return i===void 0&&(i=DC(t,n),PC(i),r[t]=i),i}var IC,LC=n((()=>{NC(),IC=/* @__PURE__ */ new WeakMap,Object.freeze({})}));function RC(e){if(typeof e==`object`&&e)try{let t=e[Symbol.toStringTag];return typeof t==`string`?t:void 0}catch{return}}function zC(e){if(typeof e!=`object`||!e)return XC;let t=BC(e);if(t!==void 0)return{kind:t};let n=RC(e);if(n===void 0)return XC;let r=JC.get(n);if(r!==void 0)return{refusal:r};let i=qC.get(n);return i===void 0?XC:VC(e,YC[i])?{kind:i}:XC}function BC(e){let t=globalThis.Temporal;if(typeof t==`object`&&t)for(let[n,r]of[[`PlainDate`,`date`],[`PlainTime`,`time`],[`PlainDateTime`,`dateTime`]]){let i=t[n];if(typeof i==`function`&&e instanceof i)return r}}function VC(e,t){try{for(let n of t)if(!Number.isFinite(e[n]))return!1;return!0}catch{return!1}}function HC(e){return zC(e).kind!==void 0}function UC(e){return zC(e).kind}function WC(e){return zC(e).refusal}function GC(e,t){let n=e[t];return typeof n==`number`?n:0}function KC(e,t=!1){let n=UC(e);if(n===void 0)throw new eS(`Not a Temporal PlainDate, PlainTime or PlainDateTime`);let r=e.withCalendar,i=typeof r==`function`?r.call(e,`iso8601`):e,a=t?QC:ZC,o=((GC(i,`hour`)*60+GC(i,`minute`))*60+GC(i,`second`))*1e9+GC(i,`millisecond`)*1e6+GC(i,`microsecond`)*1e3+GC(i,`nanosecond`),s=Math.round(o/1e6),c=0;s>=864e5&&(s-=Fg,c=1);let l=s%1e3,u=(s-l)/1e3,d=u%60,f=(u-d)/60,p=f%60,m=(f-p)/60;if(n===`time`)return{...a,hour:m,minute:p,second:d,millisecond:l};let h={year:GC(i,`year`),month:GC(i,`month`),day:GC(i,`day`)},g=c===0?h:kg(Ag({...h,day:h.day+1},t),t);return{year:g.year,month:g.month,day:g.day,hour:m,minute:p,second:d,millisecond:l}}var qC,JC,YC,XC,ZC,QC,$C=n((()=>{oS(),Lg(),qC=/* @__PURE__ */ new Map([[`Temporal.PlainDate`,`date`],[`Temporal.PlainTime`,`time`],[`Temporal.PlainDateTime`,`dateTime`]]),JC=/* @__PURE__ */ new Map([[`Temporal.Instant`,`an Instant is a point in time, not a calendar value; call .toZonedDateTimeISO(timeZone).toPlainDateTime() to choose the timezone explicitly`],[`Temporal.ZonedDateTime`,`a ZonedDateTime carries a timezone that a spreadsheet cell cannot store; call .toPlainDateTime(), .toPlainDate() or .toPlainTime()`],[`Temporal.PlainYearMonth`,`a PlainYearMonth has no day; call .toPlainDate({ day: 1 })`],[`Temporal.PlainMonthDay`,`a PlainMonthDay has no year; call .toPlainDate({ year })`],[`Temporal.Duration`,`a Duration is a length of time, not a date; store .total({ unit: 'days' })`]]),YC={date:[`year`,`month`,`day`],time:[`hour`,`minute`,`second`],dateTime:[`year`,`month`,`day`,`hour`,`minute`,`second`]},XC={},ZC=kg(0,!1),QC=kg(0,!0)})),ew=n((()=>{Ug()}));function tw(e,t){let n=Math.round(e).toString();for(;n.length<t;)n=`0`+n;return n}function nw(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 rw(e,t){let n=10**t;return Math.round(e*n)/n}function iw(e){let t=e.replace(/_./g,` `);return t=t.replace(/\*./g,``),t}function aw(e){return/^General$/i.test(e.trim())}function ow(e){let t=e.replace(/\[[^\]]*\]/g,``);return/[ymdhs]/i.test(t)&&!/^[#0.,E%$\s()\-+]+$/i.test(t)}function sw(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 cw(e,t){let n=Math.round(e*86400)%86400,r=Math.floor(n/3600),i=Math.floor(n%3600/60),a=n%60,o=Bg(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=iw(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=sw(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,Dw[c]).replace(/\x00MN4\x00/g,Ew[c]).replace(/\x00MN3\x00/g,Tw[c]).replace(/\x00M2\x00/g,(c+1).toString().padStart(2,`0`)).replace(/\x00M1\x00/g,(c+1).toString()).replace(/\x00DN4\x00/g,kw[u]).replace(/\x00DN3\x00/g,Ow[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 lw(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 uw(e,t){let n=(t.match(/%/g)??[]).length;return hw(e*100**n,t.replace(/%/g,``)||`0`)+`%`.repeat(n)}function dw(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=rw(r/10**s,a).toFixed(a),l=s>=0?o?`+`:``:`-`,u=tw(Math.abs(s),2);return n+c+`E`+l+u}function fw(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 pw(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]=fw(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 mw(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 hw(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=rw(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=nw(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 gw(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 _w(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 vw(e,t){if(typeof t==`string`){let n=Vg(e);return n.length>=4&&n[3]?gw(n[3]).replace(/@/g,t):t}if(typeof t==`boolean`)return t?`TRUE`:`FALSE`;let n=Vg(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&&_w(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 yw(e,t){let n=Vg(e);return n.length>=2&&n[1]===t}function bw(e,t){if(t==null)return``;if(aw(e))return lw(t);if(typeof t==`string`)return vw(e,t);if(typeof t==`boolean`)return t?`TRUE`:`FALSE`;let n=t,r=vw(e,n);n<0&&yw(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=iw(i),i=gw(i),/\[[hms]+\]/i.test(i))return mw(n,i);if(ow(i))return cw(n,i);if(i.includes(`%`))return uw(n,i);if(/E[+-]?/i.test(i))return dw(n,i);if(/\?+\s*\/\s*[\d?]+/.test(i))return pw(n,i);if(i.includes(`(`)&&i.includes(`)`)&&n<0){let e=i.replace(/\(|\)/g,``);return`(`+hw(-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=hw(n,i);return a+l+o}function xw(e){let t=(Vg(e)[0]??``).replace(/"[^"]*"/g,``).replace(/\\./g,``),n=/\[[hms]+\]/i.test(t),r=t.replace(/\[[^\]]*\]/g,``),i=/[hs]/i.test(r)||/AM\/PM|A\/P/i.test(r);return{elapsed:n,hasTime:i,hasYearOrDay:/[yd]/i.test(r),monthM:/m/i.test(r)&&!i}}function Sw(e){let{elapsed:t,hasTime:n,hasYearOrDay:r,monthM:i}=xw(e);return!t&&!r&&!i&&n}function Cw(e){let{elapsed:t,hasYearOrDay:n,monthM:r}=xw(e);return!t&&(n||r)}function ww(e,t,n){if(e instanceof Date){let r=zg(e);if(Sw(t))return r%=1,r<0&&(r+=1),bw(t,r);let i;return i=n&&Cw(t)?n:!t||aw(t)?r%1==0?Aw:jw:t,bw(i,r)}return bw(t,e)}var Tw,Ew,Dw,Ow,kw,Aw,jw,Mw=n((()=>{ew(),Tw=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],Ew=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Dw=[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],Ow=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],kw=[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],Aw=`yyyy-mm-dd`,jw=`yyyy-mm-dd hh:mm:ss`}));function Nw(e,t,n){let r=sS.decodeAddress(t),i=sS.decodeAddress(n),a={col:i.col-r.col,row:i.row-r.row},o=``,s=0,c=0;for(;c<e.length;){let t=e[c];if(t!==`"`&&t!==`'`&&t!==`[`){c++;continue}o+=Iw(e.slice(s,c),a);let n=c;c=t===`[`?Fw(e,c):Pw(e,c,t),o+=e.slice(n,c),s=c}return o+Iw(e.slice(s),a)}function Pw(e,t,n){let r=t+1;for(;r<e.length;){if(e[r]===n){if(e[r+1]!==n)return r+1;r++}r++}return r}function Fw(e,t){let n=0,r=t;for(;r<e.length;){let t=e[r];if(t===`'`){r+=2;continue}if(t===`[`)n++;else if(t===`]`&&--n===0)return r+1;r++}return r}function Iw(e,t){let n=``,r=0;Uw.lastIndex=0;for(let i=Uw.exec(e);i!==null;i=Uw.exec(e)){let a=i.index,o=a+i[0].length;if(!Lw(e,a,o))continue;let s;if(e[o]===`:`){Uw.lastIndex=o+1;let n=Uw.exec(e);if(n!==null&&n.index===o+1){let r=n.index+n[0].length;Lw(e,n.index,r)&&(s=zw(i[0],n[0],t),s!==void 0&&(o=r))}Uw.lastIndex=o}s??=Rw(i[0],t),s!==void 0&&(n+=e.slice(r,a)+s,r=o)}return n+e.slice(r)}function Lw(e,t,n){let r=e.charCodeAt(n);return r!==40&&r!==33&&!(r>127)&&!(e.charCodeAt(t-1)>127)}function Rw(e,t){let n=Ww.exec(e);if(n===null)return;let r=sS.decodeCol(n[2].toUpperCase());if(r>Hw)return;let i=n[1]?r:r+t.col,a=n[3]?Number(n[4]):Number(n[4])+t.row;return i<1||i>Hw||a<1||a>Vw?`#REF!`:n[1]+sS.n2l(i)+n[3]+a}function zw(e,t,n){let r=Rw(e,n),i=Rw(t,n);if(r!==void 0&&i!==void 0)return r===`#REF!`||i===`#REF!`?`#REF!`:`${r}:${i}`;let a=Gw.exec(e),o=Gw.exec(t);if(a&&o){let e=Bw(a,n.col,Hw,e=>sS.decodeCol(e.toUpperCase())),t=Bw(o,n.col,Hw,e=>sS.decodeCol(e.toUpperCase()));return e===void 0||t===void 0?void 0:e===null||t===null?`#REF!`:`${e.dollar}${sS.n2l(e.n)}:${t.dollar}${sS.n2l(t.n)}`}let s=Kw.exec(e),c=Kw.exec(t);if(s&&c){let e=Bw(s,n.row,Vw,Number),t=Bw(c,n.row,Vw,Number);return e===void 0||t===void 0?void 0:e===null||t===null?`#REF!`:`${e.dollar}${e.n}:${t.dollar}${t.n}`}}function Bw(e,t,n,r){let i=r(e[2]);if(i>n)return;let a=e[1]?i:i+t;return a<1||a>n?null:{dollar:e[1],n:a}}var Vw,Hw,Uw,Ww,Gw,Kw,qw=n((()=>{cS(),Vw=1048576,Hw=16384,Uw=/[A-Za-z0-9_.\\?$]+/g,Ww=/^(\$?)([A-Za-z]{1,3})(\$?)([1-9]\d*)$/,Gw=/^(\$?)([A-Za-z]{1,3})$/,Kw=/^(\$?)([1-9]\d*)$/}));function Jw(e){return!!e&&(typeof e!=`object`||Object.keys(e).length>0)}function Yw(e){let t=``;for(let n of e)n&&typeof n.text==`string`&&(t+=n.text);return t}function Xw(e){let t,n;Array.isArray(e.richText)&&e.richText.length>0?(n=e.richText,t=Yw(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 Zw(e,t,n){let r=e&&e.styleName||t&&t.styleName;r&&(n.styleName=r);let i=e&&e.numFmt||t&&t.numFmt;return i&&(n.numFmt=i),Jw(e.font)?n.font=FC(e,`font`):Jw(t.font)&&(n.font=FC(t,`font`)),Jw(e.alignment)?n.alignment=FC(e,`alignment`):Jw(t.alignment)&&(n.alignment=FC(t,`alignment`)),Jw(e.border)?n.border=FC(e,`border`):Jw(t.border)&&(n.border=FC(t,`border`)),Jw(e.fill)?n.fill=FC(e,`fill`):Jw(t.fill)&&(n.fill=FC(t,`fill`)),Jw(e.protection)?n.protection=FC(e,`protection`):Jw(t.protection)&&(n.protection=FC(t,`protection`)),n}function Qw(e){return Object.isFrozen(e.style)&&(e.style={...e.style}),e.style}function $w(e){return e.column.number}function eT(e){return e._value.type}function tT(e){return e._value.effectiveType}function nT(e){return e._value.value}function rT(e){switch(e){case`date`:return`yyyy-mm-dd`;case`time`:return`hh:mm:ss`;case`dateTime`:return`yyyy-mm-dd hh:mm:ss`}}function iT(e,t){return e==null||e instanceof Date?e:jg(KC(e,t))}function aT(e){return(e.row?.worksheet?._workbook)?.properties?.date1904===!0}function oT(e,t){if(eT(e)===X.Merge){oT(e._value.master,t);return}let n=WC(t);if(n!==void 0)throw new rS(String(t[Symbol.toStringTag]),n);e._formulaGhostOwner=void 0,e._value.release(),e._value=AT.create(AT.getType(t),e,t);let r=UC(t);r!==void 0&&e.style.numFmt===void 0&&(Qw(e).numFmt=rT(r))}function sT(e){e._mergeCount++}function cT(e){e._mergeCount--}function lT(e){return e._value.hyperlink}function uT(e){return e._comment}function dT(e){return e._value.toString()}function fT(e){return e._value.formula}function pT(e){return e._value.result}function mT(e){let{model:t}=e._value;return t.style=e.style,e._comment&&(t.comment=CC(e._comment)),t}function hT(e,t){return e==null?``:e instanceof Date?t?e.toISOString():e.toString():typeof e==`object`?e.error:String(e)}function gT(e){return!!e&&typeof e==`object`&&`_value`in e&&`row`in e&&`column`in e}var X,_T,vT,yT,bT,xT,ST,CT,wT,TT,ET,DT,OT,kT,AT,jT=n((()=>{gC(),TC(),LC(),$C(),oS(),cS(),qw(),Lg(),X=hC.ValueType,_T=class{constructor(e){this.model={address:e.address,type:X.Null}}get value(){return null}set value(e){}get type(){return X.Null}get effectiveType(){return X.Null}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return``}release(){}toString(){return``}},vT=class{constructor(e,t){this.model={address:e.address,type:X.Number,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return X.Number}get effectiveType(){return X.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()}},yT=class{constructor(e,t){this.model={address:e.address,type:X.String,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return X.String}get effectiveType(){return X.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}},bT=class{constructor(e,t){this.model={address:e.address,type:X.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 X.RichText}get effectiveType(){return X.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(){}},xT=class{constructor(e,t){this.model={address:e.address,type:X.Date,value:iT(t,aT(e))}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return X.Date}get effectiveType(){return X.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()}},ST=class{constructor(e,t){if(this.model={address:e.address,type:X.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=Xw(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=Xw(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=Yw(e)):delete this.model.richText}get hyperlink(){return this.model.hyperlink}set hyperlink(e){this.model.hyperlink=e}get type(){return X.Hyperlink}get effectiveType(){return X.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??``}},CT=class{constructor(e,t){this.model={address:e.address,type:X.Merge,master:t?t.address:void 0},this._master=t,t&&sT(t)}get value(){return nT(this._master)}set value(e){gT(e)?(this._master&&cT(this._master),sT(e),this._master=e):oT(this._master,e)}isMergedTo(e){return e===this._master}get master(){return this._master}get type(){return X.Merge}get effectiveType(){return tT(this._master)}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return``}release(){cT(this._master)}toString(){return this.value==null?``:this.value.toString()}},wT=class{constructor(e,t){this.cell=e,this.model={address:e.address,type:X.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(AT.getType(e)){case X.Null:case X.String:case X.Number:case X.Date:break;case X.Hyperlink:case X.Formula:default:throw new rS(String(AT.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?hC.FormulaType.Master:this.model.sharedFormula?hC.FormulaType.Shared:hC.FormulaType.None}get result(){return this.model.result}set result(e){this.model.result=e}get type(){return X.Formula}get effectiveType(){let e=this.model.result;return e==null?hC.ValueType.Null:typeof e==`string`?hC.ValueType.String:typeof e==`number`?hC.ValueType.Number:typeof e==`boolean`?hC.ValueType.Boolean:e instanceof Date?hC.ValueType.Date:typeof e==`object`&&`error`in e?hC.ValueType.Error:hC.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=sS.getAddress(this.model.sharedFormula),n=e._rows[t.row-1],r=n?n.cells[t.col-1]:void 0;this._translatedFormula=r&&fT(r)?Nw(fT(r),r.address,this.model.address):void 0}return this._translatedFormula}toCsvString(){return hT(this.model.result,!0)}release(){}toString(){return hT(this.model.result,!1)}},TT=class{constructor(e,t){this.model={address:e.address,type:X.SharedString,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return X.SharedString}get effectiveType(){return X.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()}},ET=class{constructor(e,t){this.model={address:e.address,type:X.Boolean,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return X.Boolean}get effectiveType(){return X.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()}},DT=class{constructor(e,t){this.model={address:e.address,type:X.Checkbox,value:t.checkbox}}get value(){return{checkbox:this.model.value}}set value(e){this.model.value=e.checkbox}get type(){return X.Checkbox}get effectiveType(){return X.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()}},OT=class{constructor(e,t){this.model={address:e.address,type:X.Error,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return X.Error}get effectiveType(){return X.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()}},kT=class{constructor(e,t){this.model={address:e.address,type:X.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 X.String}get effectiveType(){return X.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}},AT={getType(e){if(e==null)return X.Null;if(typeof e==`string`)return X.String;if(typeof e==`number`)return X.Number;if(typeof e==`boolean`)return X.Boolean;if(e instanceof Date||HC(e))return X.Date;if(typeof e==`object`){if(`checkbox`in e&&typeof e.checkbox==`boolean`)return X.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 X.Hyperlink}if(`formula`in e&&e.formula||`sharedFormula`in e&&e.sharedFormula)return X.Formula;if(`richText`in e&&Array.isArray(e.richText)&&e.richText.length>0)return X.RichText;if(`sharedString`in e&&e.sharedString)return X.SharedString;if(`error`in e&&e.error)return X.Error}return X.JSON},types:[{t:X.Null,f:_T},{t:X.Number,f:vT},{t:X.String,f:yT},{t:X.Date,f:xT},{t:X.Hyperlink,f:ST},{t:X.Formula,f:wT},{t:X.Merge,f:CT},{t:X.JSON,f:kT},{t:X.SharedString,f:TT},{t:X.RichText,f:bT},{t:X.Boolean,f:ET},{t:X.Error,f:OT},{t:X.Checkbox,f:DT}].reduce((e,t)=>(e[t.t]=t.f,e),[]),create(e,t,n){let r=this.types[e];if(!r)throw new rS(String(e),`Could not create Value`);return new r(t,n)}}}));function MT(e){return e.width!==void 0&&e.width!==zT}function NT(e){return!!e.hidden}function PT(e){return e.outlineLevel??0}function FT(e){return!!(e.outlineLevel&&e.outlineLevel>=(e.worksheet.properties.outlineLevelCol??0))}function IT(e,t){return e.width===t.width&&NT(e)===t.hidden&&PT(e)===t.outlineLevel&&e.bestFit===t.bestFit&&vC(e.style,t.style)}function LT(e){if(MT(e)||NT(e)||PT(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 RT(e){let t=[],n=null;return e.forEach((e,r)=>{LT(e)?n&&=null:!n||!IT(e,n)?(n={min:r+1,max:r+1,width:e.width===void 0?zT:e.width,style:e.style,isCustomWidth:MT(e),hidden:NT(e),outlineLevel:PT(e),collapsed:FT(e),bestFit:e.bestFit},t.push(n)):n.max=r+1}),t.length?t:void 0}var zT,BT=n((()=>{SC(),zT=9}));function VT(e,t){return{worksheet:e,number:t,cells:[],style:{},outlineLevel:0}}function HT(e,t){return e.cells[t-1]}function UT(e){return e.cells.some(e=>e&&eT(e)!==hC.ValueType.Null)}function WT(e){let t=0,n=0;return e.cells.forEach(e=>{e&&eT(e)!==hC.ValueType.Null&&((!t||t>$w(e))&&(t=$w(e)),n<$w(e)&&(n=$w(e)))}),t>0?{min:t,max:n}:null}function GT(e){return!!e.hidden}function KT(e){return e.outlineLevel??0}function qT(e){return!!(e.outlineLevel&&e.outlineLevel>=(e.worksheet.properties.outlineLevelRow??0))}function JT(e){let t=[],n=0,r=0;return e.cells.forEach(e=>{if(e){let i=mT(e),a=e._formulaGhostOwner===void 0?i:{address:i.address,type:hC.ValueType.Null,style:i.style,comment:i.comment};a&&((!n||n>$w(e))&&(n=$w(e)),r<$w(e)&&(r=$w(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:GT(e),outlineLevel:KT(e),collapsed:qT(e),dyDescent:e.dyDescent}:null}var YT=n((()=>{jT(),gC()}));function XT(e){return e._name}function ZT(e){return e._workbook}function QT(e,t){return e._rows[t-1]}function $T(e,t){let n=e._rows[t-1];return n||=e._rows[t-1]=VT(e,t),n}function eE(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($T(e,n),n)}else e._rows.forEach(e=>{e&&UT(e)&&i(e,e.number)})}function tE(e,t,n){let r=sS.getAddress(t,n),i=e._rows[r.row-1];return i?HT(i,r.col):void 0}function nE(e){return Object.values(e.tables)}var rE=n((()=>{YT(),cS()}));function iE(e){return e.table}function aE(e){return e.table.name}function oE(e){return e.table.displayName||e.table.name}var sE=n((()=>{}));function cE(e,t){return e.media[Number(t)]}function lE(e,t){return e._chartEntries[t]}function uE(e,t){return e._chartExStructuredEntries?.[t]}function dE(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&&XT(e).toLowerCase()===n)}}function fE(e){return e._worksheets.slice(1).sort((e,t)=>e.orderNo-t.orderNo).filter(Boolean)}var pE=n((()=>{rE()}));function mE(e,t,n){let r=fE(e),i=e._definedNames?oC(e._definedNames).map(e=>({name:e.name,ranges:[...e.ranges],localSheetId:e.localSheetId})):[],a=t?XT(t):void 0,o=t?t.orderNo??r.indexOf(t):void 0,s=r.map(e=>({name:XT(e),orderNo:e.orderNo,cells:/* @__PURE__ */ new Map,tables:hE(e)})),c=u(s),l=n?lS(n,c):void 0;return u(r.map((e,t)=>{let n=/* @__PURE__ */ new Map,r=l?.get(XT(e).toLowerCase());if(l)for(let t of r??[]){let[r,i]=t.split(`:`).map(Number),a=tE(e,r,i);a&&n.set(t,vE(nT(a)))}else eE(e,e=>{e.cells.forEach((t,r)=>{t&&n.set(Qx(e.number,r+1),vE(nT(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 hE(e){return nE(e).map(e=>{let t=iE(e);return{name:aE(e),displayName:oE(e),ref:t.tableRef??t.ref,columns:t.columns.map(e=>e.name),headerRow:t.headerRow!==!1,totalsRow:t.totalsRow===!0}})}function gE(e,t,n){dS(uS(e,mE(t,n,_E(e)),{includeSkippedDimensions:!0}))}function _E(e){let t=/* @__PURE__ */ 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 vE(e){if(e!=null){if(typeof e==`object`&&`result`in e)return vE(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 yE=n((()=>{VS(),$x(),jT(),lC(),sE(),pE(),rE()}));function bE(e,t){return{a:e.a*t.a+e.c*t.b,b:e.b*t.a+e.d*t.b,c:e.a*t.c+e.c*t.d,d:e.b*t.c+e.d*t.d,e:e.a*t.e+e.c*t.f+e.e,f:e.b*t.e+e.d*t.f+e.f}}function xE(e,t,n){return{x:e.a*t+e.c*n+e.e,y:e.b*t+e.d*n+e.f}}function SE(e){let t=Math.abs(e.a*e.d-e.b*e.c);return t>0?Math.sqrt(t):1}function CE(e){return Math.atan2(e.b,e.a)*180/Math.PI}function wE(e,t,n,r,i,a,o){let s=Math.abs(t),c=Math.abs(n);if(s===0||c===0||e.x===o.x&&e.y===o.y)return[{op:`line`,x:o.x,y:o.y}];let l=r*Math.PI/180,u=Math.cos(l),d=Math.sin(l),f=(e.x-o.x)/2,p=(e.y-o.y)/2,m=u*f+d*p,h=-d*f+u*p,g=m*m/(s*s)+h*h/(c*c);if(g>1){let e=Math.sqrt(g);s*=e,c*=e}let _=s*s,v=c*c,y=Math.max(0,_*v-_*h*h-v*m*m),b=_*h*h+v*m*m,x=(i===a?-1:1)*Math.sqrt(y/b),S=x*s*h/c,C=-x*c*m/s,w=u*S-d*C+(e.x+o.x)/2,T=d*S+u*C+(e.y+o.y)/2,E=(e,t,n,r)=>{let i=e*n+t*r,a=Math.hypot(e,t)*Math.hypot(n,r);return(e*r-t*n<0?-1:1)*Math.acos(Math.max(-1,Math.min(1,i/a)))},ee=(m-S)/s,te=(h-C)/c,ne=(-m-S)/s,re=(-h-C)/c,ie=E(1,0,ee,te),ae=E(ee,te,ne,re);!a&&ae>0?ae-=2*Math.PI:a&&ae<0&&(ae+=2*Math.PI);let oe=Math.max(1,Math.ceil(Math.abs(ae)/(Math.PI/2))),se=ae/oe,ce=4/3*Math.tan(se/4),le=[],ue=ie,de=e.x,fe=e.y;for(let e=0;e<oe;e++){let e=ue+se,t=e=>{let t=Math.cos(e),n=Math.sin(e);return{x:w+s*u*t-c*d*n,y:T+s*d*t+c*u*n}},n=e=>{let t=Math.cos(e),n=Math.sin(e);return{x:-s*u*n-c*d*t,y:-s*d*n+c*u*t}},r=n(ue),i=t(e),a=n(e);le.push({op:`cubic`,x1:de+ce*r.x,y1:fe+ce*r.y,x2:i.x-ce*a.x,y2:i.y-ce*a.y,x:i.x,y:i.y}),ue=e,de=i.x,fe=i.y}return le}function TE(e,t,n,r,i,a){let o=(n,r)=>({x:e+Math.cos(n)*r,y:t+Math.sin(n)*r}),s=Math.abs(a-i),c=s>=Math.PI*2-1e-9,l=(e,t)=>{let n=o(i,e),r=o(i+Math.PI,e);return[{op:`move`,x:n.x,y:n.y},...wE(n,e,e,0,!1,t,r),...wE(r,e,e,0,!1,t,n),{op:`close`}]};if(c)return r>0?[...l(n,!0),...l(r,!1)]:l(n,!0);let u=o(i,n),d=o(a,n),f=s>Math.PI,p=a>i;if(r>0){let e=o(a,r),t=o(i,r);return[{op:`move`,x:u.x,y:u.y},...wE(u,n,n,0,f,p,d),{op:`line`,x:e.x,y:e.y},...wE(e,r,r,0,f,!p,t),{op:`close`}]}return[{op:`move`,x:e,y:t},{op:`line`,x:u.x,y:u.y},...wE(u,n,n,0,f,p,d),{op:`close`}]}function EE(e,t=1){let n=[],r=[],i={x:0,y:0},a=e=>{r.length>=2&&n.push({points:r,closed:e}),r=[]};for(let n of e)switch(n.op){case`move`:a(!1),i={x:n.x,y:n.y},r=[{x:i.x*t,y:i.y*t}];break;case`line`:i={x:n.x,y:n.y},r.push({x:i.x*t,y:i.y*t});break;case`cubic`:{let e=Math.hypot(n.x1-i.x,n.y1-i.y)+Math.hypot(n.x2-n.x1,n.y2-n.y1)+Math.hypot(n.x-n.x2,n.y-n.y2),a=Math.max(4,Math.min(64,Math.ceil(e*t/3)));for(let e=1;e<=a;e++){let o=e/a,s=1-o,c=s*s*s*i.x+3*s*s*o*n.x1+3*s*o*o*n.x2+o*o*o*n.x,l=s*s*s*i.y+3*s*s*o*n.y1+3*s*o*o*n.y2+o*o*o*n.y;r.push({x:c*t,y:l*t})}i={x:n.x,y:n.y};break}case`close`:a(!0)}return a(!1),n}function DE(e,t,n,r,i){let a=Math.max(0,Math.min(i,Math.min(n,r)/2));if(a===0)return[{op:`move`,x:e,y:t},{op:`line`,x:e+n,y:t},{op:`line`,x:e+n,y:t+r},{op:`line`,x:e,y:t+r},{op:`close`}];let o=a*AE,s=e+n,c=t+r;return[{op:`move`,x:e+a,y:t},{op:`line`,x:s-a,y:t},{op:`cubic`,x1:s-a+o,y1:t,x2:s,y2:t+a-o,x:s,y:t+a},{op:`line`,x:s,y:c-a},{op:`cubic`,x1:s,y1:c-a+o,x2:s-a+o,y2:c,x:s-a,y:c},{op:`line`,x:e+a,y:c},{op:`cubic`,x1:e+a-o,y1:c,x2:e,y2:c-a+o,x:e,y:c-a},{op:`line`,x:e,y:t+a},{op:`cubic`,x1:e,y1:t+a-o,x2:e+a-o,y2:t,x:e+a,y:t},{op:`close`}]}function OE(e,t,n){return{kind:`rect`,x:e.x,y:e.y,width:e.width,height:e.height,paint:t,...n===void 0?{}:{rx:n}}}var kE,AE,jE=n((()=>{kE={a:1,b:0,c:0,d:1,e:0,f:0},AE=.5522847498307936}));function ME(e,t,n){ZE[e.toLowerCase()]=t,n&&(QE[e.toLowerCase()]=n)}function NE(e){let t=eD.get(e);if(t)return t;t=/* @__PURE__ */ new Map;for(let[n,r,i]of e.advances)for(let e=0;e<r;e++)t.set(n+e,i);return eD.set(e,t),t}function PE(e,t){let n=e.toLowerCase();return t?QE[n]??ZE[n]:ZE[n]}function FE(e){return Object.hasOwn(QE,e.toLowerCase())}function IE(){return HE}function LE(e,t){return BE(t)?e.cjkAdvance:NE(e).get(t)??e.defaultAdvance}function RE(e){return VE[e]}function zE(e){return $E[e.toLowerCase()]}function BE(e){return Oi(e)}var VE,HE,UE,WE,GE,KE,qE,JE,YE,XE,ZE,QE,$E,eD,tD=n((()=>{Ki(),VE={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},HE={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]]},UE={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]]},WE={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]]},GE={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]]},KE={header:{unitsPerEm:2048,usWinAscent:1705,usWinDescent:615,maxDigitAdvance:1229,sTypoAscender:1255,sTypoDescender:-386,sTypoLineGap:0},defaultAdvance:1229,cjkAdvance:2048,advances:[[32,95,1229]]},qE={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]]},JE={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]]},YE={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]]},XE={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]]},ZE={},QE={},ME(`calibri`,HE),ME(`arial`,UE,WE),ME(`times new roman`,GE),ME(`courier new`,KE),ME(`verdana`,qE),ME(`georgia`,JE),ME(`tahoma`,YE),ME(`trebuchet ms`,XE),$E={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],微软雅黑:[1.18,1.3,1.18],"微软雅黑 ui":[1.18,1.3,1.18],微軟正黑體:[1.12,1.28,1.14],"microsoft jhenghei":[1.12,1.28,1.14],"microsoft jhenghei ui":[1.12,1.28,1.14],新細明體:[1.1,1.1,1.1],pmingliu:[1.1,1.1,1.1],細明體:[1.1,1.1,1.1],mingliu:[1.1,1.1,1.1],標楷體:[1.1,1.1,1.1],"dfkai-sb":[1.1,1.1,1.1],华文细黑:[1.1,1.1,1.1],stheiti:[1.1,1.1,1.1],华文宋体:[1.1,1.1,1.1],stsong:[1.1,1.1,1.1],华文楷体:[1.1,1.1,1.1],stkaiti:[1.1,1.1,1.1],华文仿宋:[1.1,1.1,1.1],stfangsong:[1.1,1.1,1.1],"pingfang sc":[1.05,1.24,1.1],"pingfang tc":[1.05,1.24,1.1],"pingfang hk":[1.05,1.24,1.1],"苹方-简":[1.05,1.24,1.1],"蘋方-繁":[1.05,1.24,1.1],"heiti sc":[1.1,1.1,1.1],"heiti tc":[1.1,1.1,1.1],"songti sc":[1.1,1.1,1.1],"songti tc":[1.1,1.1,1.1],"kaiti sc":[1.1,1.1,1.1],"kaiti tc":[1.1,1.1,1.1],"hiragino sans gb":[1.1,1.24,1.1],"hiragino kaku gothic pron":[1.1,1.24,1.18],"ヒラギノ角ゴ pron":[1.1,1.24,1.18],"noto sans cjk sc":[1.05,1.28,1.1],"noto sans cjk tc":[1.05,1.28,1.1],"noto sans cjk jp":[1.05,1.28,1.18],"noto sans cjk kr":[1.05,1.28,1.14],"noto sans sc":[1.05,1.28,1.1],"noto sans tc":[1.05,1.28,1.1],"noto sans jp":[1.05,1.28,1.18],"noto sans kr":[1.05,1.28,1.14],"source han sans sc":[1.05,1.28,1.1],"source han sans cn":[1.05,1.28,1.1],思源黑体:[1.05,1.28,1.1],"source han serif sc":[1.1,1.1,1.1],思源宋体:[1.1,1.1,1.1],"wenquanyi micro hei":[1.1,1.24,1.1],"wenquanyi zen hei":[1.1,1.24,1.1],文泉驿微米黑:[1.1,1.24,1.1],"droid sans fallback":[1.1,1.2,1.1],游ゴシック:[1.17,1.32,1.18],nanumgothic:[1.12,1.28,1.14],"nanum gothic":[1.12,1.28,1.14],나눔고딕:[1.12,1.28,1.14],"apple sd gothic neo":[1.1,1.24,1.14],applegothic:[1.1,1.24,1.14]},eD=/* @__PURE__ */ new Map}));function nD(e,t,n,r){if(t===`calibri`&&n===hD){let t=RE(e);if(t!==void 0)return t}let i=LE(r,e),a=Math.round(n/72*pD);return Math.round(i/r.header.unitsPerEm*a)}function rD(e){let t=(e?.name??gD).toLowerCase(),n=e?.size??hD;if(t===`calibri`&&n===hD)return _D;let r=PE(t);if(r){let e=Math.round(n/72*pD);return Math.round(r.header.maxDigitAdvance/r.header.unitsPerEm*e)}return Math.max(1,Math.round(n/hD*_D))}function iD(e){return{name:(e?.name??gD).toLowerCase(),size:e?.size??hD,bold:e?.bold??!1,italic:e?.italic??!1,vertAlign:e?.vertAlign===`baseline`?void 0:e?.vertAlign}}function aD(e,t){if(!e)return 0;let n=iD(t),r=PE(n.name,n.bold),i=e.split(/\r\n|\r|\n/),a=0;for(let e of i){let t=sD(e,n,r);t>a&&(a=t)}return a}function oD(e,t){let n=t!==void 0||e.name===`calibri`&&e.size===hD,r=n?void 0:zE(e.name),i=r?.[0]??1,a=r?.[1]??1.3,o=rD({name:e.name,size:e.size}),s=e.size/mD*pD,c=Math.ceil(s),l=!!e.bold&&!FE(e.name),u=!!e.italic,d=t??IE(),f={advance:0,lower:0,upper:0,wide:0},p=t=>{if(BE(t))return c;let n=nD(t,e.name,e.size,d);return l&&(n=Math.ceil(n*1.05)),u&&(n=Math.ceil(n*1.02)),n},m=e=>{let t=uD(e);return ki(t)?0:!BE(t)&&dD(e)?c:p(t)},h=t=>{if(n)return e.vertAlign?Math.ceil(t.advance*.6):t.advance;let r=(t.lower*i+t.upper*a)*(e.size/hD);e.bold&&(r*=1.05),e.italic&&(r*=1.02),e.vertAlign&&(r*=.6);let c=r*o;return t.wide>0&&(c+=t.wide/2*s*(e.vertAlign?.6:1)),Math.ceil(c)};return{create:()=>({advance:0,lower:0,upper:0,wide:0}),reset(e){e.advance=0,e.lower=0,e.upper=0,e.wide=0},addCluster(e,t){if(n){e.advance+=m(t);return}let r=uD(t);ki(r)||(BE(r)||dD(t)?e.wide+=2:t>=`A`&&t<=`Z`?e.upper++:e.lower++)},addAscii(e,t){if(!ki(t)){if(n){e.advance+=p(t);return}t>=65&&t<=90?e.upper++:e.lower++}},addParts(e,t){e.advance+=t.advance,e.lower+=t.lower,e.upper+=t.upper,e.wide+=t.wide},px:h,pxOfSum(e,t){return f.advance=e.advance+t.advance,f.lower=e.lower+t.lower,f.upper=e.upper+t.upper,f.wide=e.wide+t.wide,h(f)}}}function sD(e,t,n){if(!e)return 0;let r=oD(t,n),i=r.create();return cD(r,i,e),r.px(i)}function cD(e,t,n){if(lD(n)){for(let r=0;r<n.length;r++)e.addAscii(t,n.charCodeAt(r));return}for(let r of Lr(n))e.addCluster(t,r)}function lD(e){for(let t=0;t<e.length;t++)if(e.charCodeAt(t)>127)return!1;return!0}function uD(e){return e.codePointAt(0)??0}function dD(e){return e.includes(`️`)}function fD(e){return e.includes(`\r`)?e.replace(/\r(?!\n)/gu,`
|
|
61
|
-
`):e}var pD,mD,hD,gD,_D,vD=n((()=>{tD(),Ki(),zr(),pD=96,mD=72,hD=11,gD=`Calibri`,_D=7}));function yD(e,t){return e?aD(e,{name:t.family??`arial`,size:t.size,bold:t.bold??!1,italic:t.italic??!1})*bD:0}var bD,xD=n((()=>{jE(),vD(),bD=72/96})),SD,CD,wD=n((()=>{v(),SD=class extends g{constructor(...e){super(...e),this.name=`XmlError`}},CD=class extends SD{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,this.limit=t?.limit}}})),TD=n((()=>{Pn()}));function ED(e){return/[\r\n]/.test(e)?e.split(/\r\n|[\r\n]/).map((e,t)=>({index:t,text:e})):[{index:0,text:e}]}function DD(e){return/[\r\n]/.test(e)?e.split(/\r\n|[\r\n]/).join(` `):e}function OD(e){return!Number.isFinite(e)||e<0?0:e>1?1:e}function kD(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 AD(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 jD(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 MD(e){return Number.isFinite(e)?e.toFixed(2).replace(/\.00$/,``):`0`}function ND(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 PD(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?FD(e):e).replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`)}function FD(e){return jn(e)}function ID(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 LD(e,t){let n=ID(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 RD(e,t,n){let r=ID(e),i=ID(t),a=OD(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 zD(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<YD.length)return YD[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=XD[e.prstClr];return t?`#${t}`:void 0}}}}function BD(e,t){return zD(e?.solid)??t}function VD(e){return zD(e?.color)}function HD(e){return typeof e?.width==`number`?Math.max(.5,fg(e.width)):void 0}function UD(e,t,n={}){return yD(e,{size:t,family:n.fontName??`arial`,...n.bold===void 0?{}:{bold:n.bold},...n.italic===void 0?{}:{italic:n.italic}})}function WD(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,ZD),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}var GD,KD,qD,JD,YD,XD,ZD,QD=n((()=>{xD(),op(),xg(),TD(),GD=[`#${rp.accent1}`,`#${rp.accent2}`,`#${rp.accent3}`,`#${rp.accent4}`,`#${rp.accent5}`,`#${rp.accent6}`],KD=`#444444`,qD=`#D9D9D9`,JD=1.2,YD=Object.freeze(ip.map(e=>`#${e}`)),Object.freeze([`dk1`,`lt1`,`dk2`,`lt2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`]),XD=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`}),ZD=2097152}));function $D(e){return e?._rawXml}function eO(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 tO(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 nO(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 rO(e){let t=TO.exec(e);if(t){let n={srgb:t[1].toUpperCase()};return nO(tO(e,t,`</a:srgbClr`),n),n}let n=EO.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 nO(tO(e,n,`</a:schemeClr`),a),a}let r=OO.exec(e);if(r){let t={sysClr:r[1]};return nO(tO(e,r,`</a:sysClr`),t),t}let i=kO.exec(e);if(i){let t={prstClr:i[1]};return nO(tO(e,i,`</a:prstClr`),t),t}}function iO(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=rO(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 aO(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?rO(s):void 0,background:c?rO(c):void 0}}}function oO(e,t){let n=RegExp(`<${t}\\b[^>]*?(/?)>`),r=RegExp(`</${t}>`),i=e;for(let e=0;e<8;e++){let e=n.exec(i);if(!e)break;let t=e.index+e[0].length;if(e[1]===`/`){i=i.slice(0,e.index)+i.slice(t);continue}let a=r.exec(i.slice(t));if(!a)break;i=i.slice(0,e.index)+i.slice(t+a.index+a[0].length)}return i}function sO(e){let t=$D(e);if(!t)return e;let n={},r=oO(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=rO(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=iO(r):r.includes(`<a:pattFill`)&&(n.fill=aO(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=rO(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=pO(t);e&&(n.effectList=e)}if(t.includes(`<a:scene3d`)){let e=hO(t);e&&(n.scene3d=e)}if(t.includes(`<a:sp3d`)){let e=gO(t);e&&(n.sp3d=e)}if(t.includes(`<a:xfrm`)){let e=cO(t);e&&(n.transform=e)}if(t.includes(`<a:prstGeom`)){let e=lO(t);e&&(n.presetGeometry=e)}if(t.includes(`<a:custGeom`)){let e=uO(t);e&&(n.customGeometry=e)}return n}function cO(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 lO(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=dO(r);return o.length>0&&(a.adjustments=o),a}function uO(e){let t=/<a:custGeom\b[^>]*>([\s\S]*?)<\/a:custGeom>/.exec(e);if(!t)return;let n=t[1],r={},i=dO(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=fO(t),a.push(n)}return a.length>0&&(r.paths=a),Object.keys(r).length>0?r:void 0}function dO(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 fO(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 pO(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=vO(a[0]);i.blur={},e.rad&&(i.blur.radius=parseInt(e.rad,10)),e.grow===`1`&&(i.blur.grow=!0)}let o=mO(r,`a:outerShdw`);o&&(i.outerShadow=o);let s=mO(r,`a:innerShdw`);s&&(i.innerShadow=s);let c=/<a:prstShdw\s+([^>]*)>([\s\S]*?)<\/a:prstShdw>/.exec(r);if(c){let e=vO(c[0]),t=rO(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=vO(l[0]),t=rO(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=vO(u[0]);e.rad&&(i.softEdge={radius:parseInt(e.rad,10)})}let d=/<a:reflection\s+([^/>]*)\s*\/>/.exec(r);if(d){let e=vO(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 mO(e,t){let n=(DO[t]??RegExp(`<${t}\\s+([^>]*)>([\\s\\S]*?)<\\/${t}>`)).exec(e);if(!n)return;let r=vO(n[0]),i=rO(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 hO(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=vO(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=vO(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=vO(o[0]);e.rig&&e.dir&&(i.lightRig={rig:e.rig,direction:e.dir})}if(i.camera||i.lightRig)return i}function gO(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=vO(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=_O(a.slice(l,e+2)))}let u=a.indexOf(`<a:bevelB`);if(u>=0){let e=a.indexOf(`/>`,u);e>=0&&(c.bevelBottom=_O(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=rO(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=rO(a.slice(t+14,e));n&&(c.contourColor=n)}}}return c}function _O(e){let t=vO(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 vO(e){let t={},n=0,r=e.length;for(;n<r;){for(;n<r&&!yO(e.charCodeAt(n));)n++;if(n>=r)break;let i=n;for(;n<r&&yO(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 yO(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===95}function bO(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 xO(e){return(eO(e)?sO(e):e).fill}function SO(e){return(eO(e)?sO(e):e).line}function CO(e){let t=$D(e);if(!t)return e;let n={},r=bO(t,`a:defRPr`,`sz`)??bO(t,`a:rPr`,`sz`);r&&(n.size=parseInt(r,10));let i=bO(t,`a:defRPr`,`b`)??bO(t,`a:rPr`,`b`);i&&(n.bold=i===`1`||i===`true`);let a=bO(t,`a:defRPr`,`i`)??bO(t,`a:rPr`,`i`);a&&(n.italic=a===`1`||a===`true`);let o=bO(t,`a:defRPr`,`u`)??bO(t,`a:rPr`,`u`);o&&(n.underline=o);let s=bO(t,`a:defRPr`,`strike`)??bO(t,`a:rPr`,`strike`);s&&(n.strike=s);let c=bO(t,`a:defRPr`,`cap`)??bO(t,`a:rPr`,`cap`);c&&(n.cap=c);let l=bO(t,`a:defRPr`,`baseline`)??bO(t,`a:rPr`,`baseline`);l&&(n.baseline=parseInt(l,10));let u=bO(t,`a:defRPr`,`kern`)??bO(t,`a:rPr`,`kern`);u&&(n.kern=parseInt(u,10));let d=bO(t,`a:defRPr`,`spc`)??bO(t,`a:rPr`,`spc`);d&&(n.spacing=parseInt(d,10));let f=bO(t,`a:defRPr`,`lang`)??bO(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 rO(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 _=bO(t,`a:bodyPr`,`rot`);return _&&(n.rotation=parseInt(_,10)),n}function wO(e){let t=eO(e)?CO(e):e;return t.size===void 0?void 0:t.size/100}var TO,EO,DO,OO,kO,AO=n((()=>{TO=/<a:srgbClr\s+val="([0-9A-Fa-f]{6})"/i,EO=/<a:schemeClr\s+val="([^"]+)"/i,DO={"a:outerShdw":/<a:outerShdw\s+([^>]*)>([\s\S]*?)<\/a:outerShdw>/,"a:innerShdw":/<a:innerShdw\s+([^>]*)>([\s\S]*?)<\/a:innerShdw>/},OO=/<a:sysClr\s+val="([^"]+)"/i,kO=/<a:prstClr\s+val="([^"]+)"/i}));function jO(e){return typeof e==`object`&&`nativeCol`in e&&`nativeRow`in e&&`nativeColOff`in e&&`nativeRowOff`in e}function MO(e){return typeof e==`object`&&`col`in e&&`row`in e}function NO(e){let t=e.worksheet?._columns[e.nativeCol];return t&&MT(t)?Math.floor(t.width*1e4):64e4}function PO(e){let t=e.worksheet?._rows[e.nativeRow]?.height;return t?Math.floor(t*1e4):18e4}function FO(e){return e.nativeColOff===0?e.nativeCol:e.nativeCol+Math.min(NO(e)-1,e.nativeColOff)/NO(e)}function IO(e,t){e.nativeCol=Math.floor(t);let n=t-e.nativeCol;e.nativeColOff=n===0?0:Math.floor(n*NO(e))}function LO(e){return e.nativeRowOff===0?e.nativeRow:e.nativeRow+Math.min(PO(e)-1,e.nativeRowOff)/PO(e)}function RO(e,t){e.nativeRow=Math.floor(t);let n=t-e.nativeRow;e.nativeRowOff=n===0?0:Math.floor(n*PO(e))}function zO(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=sS.decodeAddress(t);r.nativeCol=e.col+n,r.nativeRow=e.row+n}else jO(t)?(r.nativeCol=t.nativeCol??0,r.nativeColOff=t.nativeColOff??0,r.nativeRow=t.nativeRow??0,r.nativeRowOff=t.nativeRowOff??0):MO(t)&&(IO(r,t.col+n),RO(r,t.row+n));return r}function BO(e){return{nativeCol:e.nativeCol,nativeColOff:e.nativeColOff,nativeRow:e.nativeRow,nativeRowOff:e.nativeRowOff}}var VO=n((()=>{BT(),cS()}));function HO(e){if(!(e.chartNumber<=0))return lE(ZT(e.worksheet),e.chartNumber)?.model}function UO(e){if(!(e.chartExNumber<=0))return uE(ZT(e.worksheet),e.chartExNumber)?.model}var WO=n((()=>{pE(),rE()}));function Z(e){return Rm(e)??KO}function GO(e,t){return{...Z(e),a:t}}var KO,qO=n((()=>{Km(),KO={r:0,g:0,b:0,a:1}}));function JO(e,t){for(let n of e.children)YO(n,kE,t)}function YO(e,t,n){switch(e.kind){case`group`:{let r=e.transform?bE(t,e.transform):t,i=e.clip?XO(e.clip,r):void 0,a=i!==void 0&&n.pushClip!==void 0;a&&n.pushClip(i);let o=e.svgFilterId!==void 0&&n.pushFilter!==void 0;o&&n.pushFilter(e.svgFilterId);for(let t of e.children)YO(t,r,n);o&&n.popFilter?.(),a&&n.popClip?.();return}case`rect`:{if(e.width<=0||e.height<=0)return;let r=$O(e.paint,t);if(ZO(t)){let i=xE(t,e.x,e.y),a=xE(t,e.x+e.width,e.y+e.height);n.rect(Math.min(i.x,a.x),Math.min(i.y,a.y),Math.abs(a.x-i.x),Math.abs(a.y-i.y),(e.rx??0)*SE(t),r);return}n.polyline([xE(t,e.x,e.y),xE(t,e.x+e.width,e.y),xE(t,e.x+e.width,e.y+e.height),xE(t,e.x,e.y+e.height)],!0,r);return}case`ellipse`:{if(e.rx<=0||e.ry<=0)return;let r=$O(e.paint,t);if(ZO(t)){let i=xE(t,e.cx,e.cy);n.ellipse(i.x,i.y,Math.abs(e.rx*t.a),Math.abs(e.ry*t.d),r);return}n.path(tk(e.cx,e.cy,e.rx,e.ry,t),r);return}case`sector`:{let r=$O(e.paint,t);if(!QO(t)){n.path(ek(TE(e.cx,e.cy,e.radius,e.innerRadius,e.startAngle,e.endAngle),t),r);return}let i=xE(t,e.cx,e.cy),a=SE(t),o=CE(t)*Math.PI/180;n.sector(i.x,i.y,e.radius*a,e.innerRadius*a,e.startAngle+o,e.endAngle+o,r);return}case`line`:{let r=xE(t,e.x1,e.y1),i=xE(t,e.x2,e.y2);n.polyline([r,i],!1,$O(e.paint,t));return}case`polyline`:n.polyline(e.points.map(e=>xE(t,e.x,e.y)),e.closed??!1,$O(e.paint,t));return;case`path`:n.path(ek(e.commands,t),$O(e.paint,t));return;case`text`:{let r=xE(t,e.x,e.y),i=SE(t);n.text(r.x,r.y,e.lines.map(n=>({text:n.text,dy:n.dy*i,...n.x===void 0?{}:{x:xE(t,n.x,e.y).x}})),{...e.style,size:e.style.size*i},(e.rotate??0)+CE(t));return}}}function XO(e,t){let n=[xE(t,e.x,e.y),xE(t,e.x+e.width,e.y),xE(t,e.x+e.width,e.y+e.height),xE(t,e.x,e.y+e.height)],r=n[0].x,i=n[0].x,a=n[0].y,o=n[0].y;for(let e of n)r=Math.min(r,e.x),i=Math.max(i,e.x),a=Math.min(a,e.y),o=Math.max(o,e.y);return{x:r,y:a,width:i-r,height:o-a}}function ZO(e){return Math.abs(e.b)<1e-9&&Math.abs(e.c)<1e-9}function QO(e){if(e.a*e.d-e.b*e.c<=0)return!1;let t=e.a*e.a+e.b*e.b,n=e.c*e.c+e.d*e.d,r=1e-9*Math.max(1,t,n);return Math.abs(t-n)<r&&Math.abs(e.a*e.c+e.b*e.d)<r}function $O(e,t){if(e.stroke!==void 0&&e.strokeWidth!==void 0&&!(e.strokeWidth>0)){let{stroke:t,strokeWidth:n,dash:r,...i}=e;return i}let n=SE(t),r=e.dash===void 0||e.dash.length===0?void 0:e.dash.length%2==0?e.dash:[...e.dash,...e.dash];return n===1&&r===e.dash?e:{...e,...e.strokeWidth===void 0?{}:{strokeWidth:e.strokeWidth*n},...r===void 0?{}:{dash:r.map(e=>e*n)}}}function ek(e,t){return e.map(e=>{switch(e.op){case`move`:case`line`:{let n=xE(t,e.x,e.y);return{op:e.op,x:n.x,y:n.y}}case`cubic`:{let n=xE(t,e.x1,e.y1),r=xE(t,e.x2,e.y2),i=xE(t,e.x,e.y);return{op:`cubic`,x1:n.x,y1:n.y,x2:r.x,y2:r.y,x:i.x,y:i.y}}case`close`:return e}})}function tk(e,t,n,r,i){let a=n*AE,o=r*AE,s=(e,t)=>xE(i,e,t),c=s(e+n,t),l=[{op:`move`,x:c.x,y:c.y}],u=(e,t,n,r,i,a)=>{let o=s(e,t),c=s(n,r),u=s(i,a);l.push({op:`cubic`,x1:o.x,y1:o.y,x2:c.x,y2:c.y,x:u.x,y:u.y})};return u(e+n,t+o,e+a,t+r,e,t+r),u(e-a,t+r,e-n,t+o,e-n,t),u(e-n,t-o,e-a,t-r,e,t-r),u(e+a,t-r,e+n,t-o,e+n,t),l.push({op:`close`}),l}var nk=n((()=>{jE()}));function rk(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`)}function ik(e){return rk(e).replace(/"/g,`"`).replace(/'/g,`'`)}var ak=n((()=>{}));function ok(e,t={}){let n=new lk;e.svgDefs&&e.svgDefs.length>0&&n.addDefs(e.svgDefs),JO(e,n);let r=t.width??e.width,i=t.height??e.height,a=[`<svg xmlns="http://www.w3.org/2000/svg" width="${Q(r)}" height="${Q(i)}" viewBox="0 0 ${Q(e.width)} ${Q(e.height)}">`];return t.comment!==void 0&&a.push(`<!-- ${t.comment.replace(/-{2,}/g,`-`)} -->`),t.background!==void 0&&a.push(`<rect x="0" y="0" width="${Q(e.width)}" height="${Q(e.height)}" fill="${ik(t.background)}"/>`),a.push(n.markup()),a.push(`</svg>`),a.join(``)}function Q(e){if(!Number.isFinite(e))return`0`;let t=Math.round(e*100)/100;return Object.is(t,-0)?`0`:String(t)}function sk(e){let t=e=>Math.max(0,Math.min(255,Math.round(e*255))).toString(16).padStart(2,`0`);return`#${t(e.r)}${t(e.g)}${t(e.b)}`}function ck(e,t=!1){let n=[];return e.fill&&!t?(n.push(` fill="${sk(e.fill)}"`),e.fill.a<1&&n.push(` fill-opacity="${Q(e.fill.a)}"`)):n.push(` fill="none"`),e.stroke&&(n.push(` stroke="${sk(e.stroke)}"`),e.stroke.a<1&&n.push(` stroke-opacity="${Q(e.stroke.a)}"`),e.strokeWidth!==void 0&&e.strokeWidth!==1&&n.push(` stroke-width="${Q(e.strokeWidth)}"`),e.dash&&e.dash.length>0&&n.push(` stroke-dasharray="${e.dash.map(Q).join(` `)}"`),e.lineJoin!==void 0&&e.lineJoin!==`miter`&&n.push(` stroke-linejoin="${e.lineJoin}"`),e.lineCap!==void 0&&e.lineCap!==`butt`&&n.push(` stroke-linecap="${e.lineCap}"`)),e.fillRule===`evenodd`&&n.push(` fill-rule="evenodd"`),n.join(``)}var lk,uk=n((()=>{ak(),nk(),jE(),lk=class{constructor(){this.parts=[],this.defs=[],this.clipDepth=0,this.filterDepth=0}markup(){let e=`</g>`.repeat(this.clipDepth+this.filterDepth);return(this.defs.length>0?`<defs>${this.defs.join(``)}</defs>`:``)+this.parts.join(``)+e}pushClip(e){let t=`dc${this.defs.length}`;this.defs.push(`<clipPath id="${t}"><rect x="${Q(e.x)}" y="${Q(e.y)}" width="${Q(e.width)}" height="${Q(e.height)}"/></clipPath>`),this.parts.push(`<g clip-path="url(#${t})">`),this.clipDepth++}popClip(){this.clipDepth>0&&(this.parts.push(`</g>`),this.clipDepth--)}pushFilter(e){this.parts.push(`<g filter="url(#${ik(e)})">`),this.filterDepth++}popFilter(){this.filterDepth>0&&(this.parts.push(`</g>`),this.filterDepth--)}addDefs(e){this.defs.push(...e)}rect(e,t,n,r,i,a){n<=0||r<=0||this.parts.push(`<rect x="${Q(e)}" y="${Q(t)}" width="${Q(n)}" height="${Q(r)}"`+(i>0?` rx="${Q(i)}"`:``)+ck(a)+`/>`)}ellipse(e,t,n,r,i){n<=0||r<=0||this.parts.push(n===r?`<circle cx="${Q(e)}" cy="${Q(t)}" r="${Q(n)}"${ck(i)}/>`:`<ellipse cx="${Q(e)}" cy="${Q(t)}" rx="${Q(n)}" ry="${Q(r)}"${ck(i)}/>`)}sector(e,t,n,r,i,a,o){if(n<=0)return;let s=a-i,c=Math.abs(s);if(c>=Math.PI*2-1e-9){if(r>0){let i=(n,r)=>`A ${Q(n)} ${Q(n)} 0 1 ${r} ${Q(e+n)} ${Q(t)} A ${Q(n)} ${Q(n)} 0 1 ${r} ${Q(e-n)} ${Q(t)}`;this.parts.push(`<path d="M ${Q(e-n)} ${Q(t)} ${i(n,1)} M ${Q(e-r)} ${Q(t)} ${i(r,0)} Z"`+ck({...o,fillRule:`evenodd`})+`/>`);return}this.parts.push(`<circle cx="${Q(e)}" cy="${Q(t)}" r="${Q(n)}"${ck(o)}/>`);return}let l=+(c>Math.PI),u=+(s>=0),d=(n,r)=>({x:e+Math.cos(n)*r,y:t+Math.sin(n)*r}),f=d(i,n),p=d(a,n);if(r>0){let e=d(a,r),t=d(i,r);this.parts.push(`<path d="M ${Q(f.x)} ${Q(f.y)} A ${Q(n)} ${Q(n)} 0 ${l} ${u} ${Q(p.x)} ${Q(p.y)} L ${Q(e.x)} ${Q(e.y)} A ${Q(r)} ${Q(r)} 0 ${l} ${u===1?0:1} ${Q(t.x)} ${Q(t.y)} Z"`+ck(o)+`/>`);return}this.parts.push(`<path d="M ${Q(e)} ${Q(t)} L ${Q(f.x)} ${Q(f.y)} A ${Q(n)} ${Q(n)} 0 ${l} ${u} ${Q(p.x)} ${Q(p.y)} Z"`+ck(o)+`/>`)}polyline(e,t,n){if(e.length<2)return;let r=e.map(e=>`${Q(e.x)},${Q(e.y)}`).join(` `);this.parts.push(`<${t?`polygon`:`polyline`} points="${r}"${ck(n,!t)}/>`)}path(e,t){if(e.length===0)return;let n=e.map(e=>{switch(e.op){case`move`:return`M ${Q(e.x)} ${Q(e.y)}`;case`line`:return`L ${Q(e.x)} ${Q(e.y)}`;case`cubic`:return`C ${Q(e.x1)} ${Q(e.y1)} ${Q(e.x2)} ${Q(e.y2)} ${Q(e.x)} ${Q(e.y)}`;case`close`:return`Z`}}).join(` `);this.parts.push(`<path d="${n}"${ck(t)}/>`)}text(e,t,n,r,i){let a=n.filter(e=>e.text!==``);if(a.length===0||!r.fill)return;let o=` font-size="${Q(r.size)}" fill="${sk(r.fill)}"`+(r.fill.a<1?` fill-opacity="${Q(r.fill.a)}"`:``)+` text-anchor="${r.anchor??`start`}" font-family="${ik(r.family??`arial`)}"`+(r.bold?` font-weight="bold"`:``)+(r.italic?` font-style="italic"`:``)+(i===0?``:` transform="rotate(${Q(i)} ${Q(e)} ${Q(t)})"`);if(a.length===1&&a[0].dy===0&&a[0].x===void 0){this.parts.push(`<text x="${Q(e)}" y="${Q(t)}"${o}>${rk(a[0].text)}</text>`);return}let s=a.map(n=>`<tspan x="${Q(n.x??e)}" y="${Q(t+n.dy)}">${rk(n.text)}</tspan>`).join(``);this.parts.push(`<text x="${Q(e)}" y="${Q(t)}"${o}>${s}</text>`)}}}));function dk(e){return{fill:Z(e)}}function fk(e){return{fill:Z(e),stroke:Z(Nk),strokeWidth:1}}function pk(e,t=1){return{stroke:Z(e),strokeWidth:t}}function mk(e,t,n,r,i){return{kind:`polyline`,points:[{x:e,y:t},{x:n,y:r}],paint:i}}function hk(e,t,n,r,i,a){return{kind:`text`,x:e,y:t,lines:[{text:n,dy:0}],style:{size:r,fill:Z(i),anchor:a,family:`Arial`}}}function gk(e,t){return{kind:`polyline`,points:e,closed:!0,paint:t}}function _k(e,t){let n=[];for(let r=1;r<5;r++){let i=r/5,a=e.y+e.height*i;n.push(mk(e.x,a,e.x+e.width,a,pk(Ak)));let o=t.max+(t.min-t.max)*i;n.push(hk(e.x-8,a+3,ND(o),10,Mk,`end`))}n.push(mk(e.x,e.y+e.height,e.x+e.width,e.y+e.height,pk(jk))),n.push(mk(e.x,e.y,e.x,e.y+e.height,pk(jk)));for(let r of[t.max,t.min])n.push(hk(e.x-8,kD(r,t.min,t.max,e)+3,ND(r),10,Mk,`end`));return n}function vk(e,t,n,r,i){let a=[..._k(n,i)],o=Math.max(1,e.length),s=n.width/o,c=kD(0,i.min,i.max,n);return e.forEach((e,o)=>{let l=kD(e,i.min,i.max,n);a.push(OE({x:n.x+o*s+s*.18,y:Math.min(l,c),width:s*.64,height:Math.abs(c-l)},dk(r))),a.push(hk(n.x+o*s+s/2,n.y+n.height+18,t[o]??String(o+1),10,Mk,`middle`))}),a}function yk(e){let t=[];for(let n of e)t.push(OE(n.rect,fk(n.color))),n.label&&t.push(hk(n.rect.x+4,n.rect.y+14,n.label,10,Nk,`start`));return t}function bk(e,t,n,r,i,a,o){return{kind:`sector`,cx:e,cy:t,radius:n,innerRadius:r,startAngle:i,endAngle:a,paint:fk(o)}}function xk(e){return e.map(e=>bk(e.cx,e.cy,e.outer,e.inner,e.start,e.end,e.color))}function Sk(e,t,n,r){let i=e.reduce((e,t)=>Number.isFinite(t)?Math.max(e,Math.abs(t)):e,0),a=i>0?i:1,o=Math.max(1,e.length),s=t.height/o,c=[];return e.forEach((i,o)=>{let l=Number.isFinite(i)?Math.abs(i):0,u=e[o+1],d=Number.isFinite(u)?Math.abs(u):l,f=l/a*t.width,p=d/a*t.width,m=t.y+o*s,h=t.x+t.width/2;c.push(gk([{x:h-f/2,y:m},{x:h+f/2,y:m},{x:h+p/2,y:m+s*.88},{x:h-p/2,y:m+s*.88}],fk(n(o))));let g=r(o,i);g!==void 0&&c.push(hk(h,m+s*.55,g,11,Nk,`middle`))}),c}function Ck(e){return GD[e%GD.length]}function wk(e,t,n,r){let i=[..._k(n,r)],a=Math.max(1,e.length),o=n.width/a,s=o*.64;return e.forEach((e,a)=>{let c=kD(e.start,r.min,r.max,n),l=kD(e.end,r.min,r.max,n),u=n.x+a*o+o*.18,d=e.gap?0:Math.max(1,Math.abs(c-l));i.push(OE({x:u,y:Math.min(c,l),width:s,height:d},dk(e.colour))),i.push(hk(n.x+a*o+o/2,n.y+n.height+18,t[a]??String(a+1),10,Mk,`middle`))}),i}function Tk(e,t,n){let r=Math.max(1,e.length),i=t.width/r,a=i*.64,o=e.map((e,r)=>({x:t.x+r*i+i*.18+a,y:kD(e.end,n.min,n.max,t)})),s=[];for(let e=0;e<o.length-1;e++)s.push(mk(o[e].x,o[e].y,o[e+1].x-a,o[e].y,{stroke:Z(`#888`),strokeWidth:1,dash:[3,3]}));return s}function Ek(e,t){let n=e.reduce((e,t)=>e+(Number.isFinite(t)?Math.max(0,t):0),0);if(!(n>0))return[];let r=Math.max(1,e.length),i=t.width/r,a=0,o=e.map((e,r)=>(a+=Number.isFinite(e)?Math.max(0,e):0,{x:t.x+r*i+i/2,y:t.y+t.height-a/n*t.height})),s=Ck(1);return[{kind:`polyline`,points:o,paint:pk(s,2)},...o.map(e=>({kind:`ellipse`,cx:e.x,cy:e.y,rx:3,ry:3,paint:dk(s)})),hk(t.x+t.width-4,t.y+12,`Cumulative %`,10,s,`end`)]}function Dk(e,t,n,r){let i=[..._k(t,n)],a=t.width/Math.max(1,e.length),o=e=>kD(e,n.min,n.max,t);return e.forEach(({key:e,stats:n},s)=>{let c=t.x+s*a+a/2,l=a*.38,u=Ck(s),d=o(n.q1),f=o(n.q3);i.push(mk(c,o(n.high),c,o(n.low),pk(Mk))),i.push(OE({x:c-l/2,y:Math.min(d,f),width:l,height:Math.abs(f-d)},{fill:GO(u,.35),stroke:Z(u),strokeWidth:1}));let p=o(n.median);if(i.push(mk(c-l/2,p,c+l/2,p,pk(`#333`))),r.showMeanMarker&&i.push({kind:`ellipse`,cx:c,cy:o(n.mean),rx:3,ry:3,paint:dk(`#333`)}),r.showMeanLine){let e=o(n.mean);i.push(mk(c-l/2,e,c+l/2,e,{stroke:Z(`#333`),strokeWidth:1,dash:[3,2]}))}if(r.showInnerPoints)for(let e of n.nonOutliers)i.push({kind:`ellipse`,cx:c-l*.62,cy:o(e),rx:1.6,ry:1.6,paint:{fill:GO(u,.55)}});if(r.showOutlierPoints)for(let e of n.outliers)i.push({kind:`ellipse`,cx:c+l*.62,cy:o(e),rx:2,ry:2,paint:pk(`#333`)});i.push(hk(c,t.y+t.height+18,e,10,Mk,`middle`))}),i}function Ok(e,t,n){return Array.from({length:6},(r,i)=>{let a=Math.PI/6+Math.PI*2*i/6;return{x:e+Math.cos(a)*n,y:t+Math.sin(a)*n}})}function kk(e,t,n,r,i,a,o){return{kind:`text`,x:e,y:t,lines:n.map((e,t)=>({text:e,dy:t*o})),style:{size:r,fill:Z(i),anchor:a,family:`Arial`}}}var Ak,jk,Mk,Nk,Pk=n((()=>{qO(),jE(),QD(),Ak=`#D9D9D9`,jk=`#444`,Mk=`#555`,Nk=`#fff`}));function Fk(e){if(e)return e.a>=1?{r:e.r,g:e.g,b:e.b}:{r:e.r,g:e.g,b:e.b,a:e.a}}function Ik(e,t){return{...e.fill?{fill:Fk(e.fill)}:{},...e.stroke?{stroke:Fk(e.stroke)}:{},...e.strokeWidth===void 0?{}:{lineWidth:e.strokeWidth},...e.dash&&e.dash.length>0?{dashPattern:[...e.dash]}:{},...t===void 0?{}:{closePath:t}}}function Lk(e){return{...e.fill?{fill:Fk(e.fill)}:{},...e.stroke?{stroke:Fk(e.stroke)}:{},...e.strokeWidth===void 0?{}:{lineWidth:e.strokeWidth}}}function Rk(e,t,n,r,i=!0){let a=e=>t+e,o=e=>i?n+r-e:n+e,s=e=>({x:a(e.x),y:o(e.y)}),c=(t,n,r,i=!1)=>{if(t.length<2)return;let a=t.map(s);if(e.drawPath){let t=a.map((e,t)=>t===0?{op:`move`,x:e.x,y:e.y}:{op:`line`,x:e.x,y:e.y});n&&t.push({op:`close`}),e.drawPath(t,Ik(r,n));return}if(i&&n&&r.fill){let t=a.map(e=>e.x),n=a.map(e=>e.y),i=Math.min(...t),o=Math.min(...n);e.drawRect({x:i,y:o,width:Math.max(...t)-i,height:Math.max(...n)-o,fill:Fk(r.fill)})}let o=r.stroke??r.fill;if(!o)return;let c=n?[...a,a[0]]:a;for(let t=1;t<c.length;t++)e.drawLine({x1:c[t-1].x,y1:c[t-1].y,x2:c[t].x,y2:c[t].y,color:Fk(o),...r.strokeWidth===void 0?{}:{lineWidth:r.strokeWidth},...r.dash&&r.dash.length>0?{dashPattern:[...r.dash]}:{}})};return{rect(t,n,r,s,c,l){if(c>0&&e.drawPath){e.drawPath(DE(t,n,r,s,c).map(e=>zk(e,a,o)),Ik(l));return}e.drawRect({x:a(t),y:o(i?n+s:n),width:r,height:s,...Lk(l)})},ellipse(t,n,r,i,c){if(e.drawCircle&&Math.abs(r-i)<1e-9){e.drawCircle({cx:a(t),cy:o(n),r,...Lk(c)});return}let l=s({x:t-r,y:n-i}),u=s({x:t+r,y:n+i});e.drawRect({x:Math.min(l.x,u.x),y:Math.min(l.y,u.y),width:Math.abs(u.x-l.x),height:Math.abs(u.y-l.y),...Lk(c)})},sector(t,n,r,i,s,l,u){if(r<=0)return;if(e.drawPath){let c=TE(t,n,r,i,s,l);e.drawPath(c.map(e=>zk(e,a,o)),Ik(u));return}let d=l-s,f=[];for(let e=0;e<=Bk;e++){let i=s+d*e/Bk;f.push({x:t+r*Math.cos(i),y:n+r*Math.sin(i)})}if(i>0)for(let e=Bk;e>=0;e--){let r=s+d*e/Bk;f.push({x:t+i*Math.cos(r),y:n+i*Math.sin(r)})}else f.push({x:t,y:n});c(f,!0,u)},polyline(t,n,r){if(!n&&t.length===2&&!r.fill){if(!r.stroke)return;let n=s(t[0]),i=s(t[1]);e.drawLine({x1:n.x,y1:n.y,x2:i.x,y2:i.y,color:Fk(r.stroke),...r.strokeWidth===void 0?{}:{lineWidth:r.strokeWidth},...r.dash&&r.dash.length>0?{dashPattern:[...r.dash]}:{}});return}c(t,n,r,!0)},path(t,n){if(e.drawPath){e.drawPath(t.map(e=>zk(e,a,o)),Ik(n));return}for(let e of EE(t))c(e.points,e.closed,n,!0)},text(t,n,r,s,c){if(!s.fill)return;let l=Fk(s.fill);for(let u of r){if(u.text===``)continue;let r=(i?-c:c)*Math.PI/180,d=(u.x??t)+Math.sin(r)*u.dy,f=n+Math.cos(r)*u.dy;e.drawText(u.text,{x:a(d),y:o(f),fontSize:s.size,color:l,anchor:s.anchor??`start`,...c===0?{}:{rotation:i?-c:c},...s.family===void 0?{}:{fontFamily:s.family},...s.bold?{bold:!0}:{},...s.italic?{italic:!0}:{}})}}}}function zk(e,t,n){switch(e.op){case`move`:return{op:`move`,x:t(e.x),y:n(e.y)};case`line`:return{op:`line`,x:t(e.x),y:n(e.y)};case`cubic`:return{op:`curve`,x1:t(e.x1),y1:n(e.y1),x2:t(e.x2),y2:n(e.y2),x3:t(e.x),y3:n(e.y)};case`close`:return{op:`close`}}}var Bk,Vk=n((()=>{jE(),Bk=48}));function Hk(e,t,n,r={}){if(!Number.isInteger(t)||!Number.isInteger(n)||t<=0||n<=0)throw Error(`PNG dimensions must be positive integers, got ${t}x${n}`);let i=t*n*4;if(e.length!==i)throw Error(`PNG pixel buffer is ${e.length} bytes but ${t}x${n} RGBA needs ${i}`);let a=[Jk,Wk(`IHDR`,pe([Gk(t),Gk(n),new Uint8Array([8,6,0,0,0])]))];if(r.dpi!==void 0&&Number.isFinite(r.dpi)&&r.dpi>0){let e=Math.max(1,Math.round(r.dpi/Xk));a.push(Wk(`pHYs`,pe([Gk(e),Gk(e),new Uint8Array([1])])))}return a.push(Wk(`IDAT`,Xe(Uk(e,t,n),{level:Yk}))),a.push(Wk(`IEND`,/* @__PURE__ */ new Uint8Array)),pe(a)}function Uk(e,t,n){let r=t*4,i=r+1,a=new Uint8Array(i*n);for(let t=0;t<n;t++){let n=t*r,o=t*i;a[o]=0,a.set(e.subarray(n,n+r),o+1)}return a}function Wk(e,t){let n=me.encode(e),r=pe([n,t]);return pe([Gk(t.length),n,t,Gk(le(r))])}function Gk(e){return new Uint8Array([e>>>24&255,e>>>16&255,e>>>8&255,e&255])}function Kk(e,t){if(t===void 0||!Number.isFinite(t)||t<=0||e.length<8||!Jk.every((t,n)=>e[n]===t))return e;let n=Math.max(1,Math.round(t/Xk)),r=Wk(`pHYs`,pe([Gk(n),Gk(n),new Uint8Array([1])])),i=[Jk],a=[],o=8,s=!1,c=!1,l=!1;for(;o+12<=e.length;){let t=qk(e,o),n=o+12+t;if(n>e.length)return e;let u=String.fromCharCode(e[o+4],e[o+5],e[o+6],e[o+7]);u===`IHDR`?c=!0:u===`IEND`&&(l=!0);let d=e.subarray(o,n);if(u===`pHYs`){o=n;continue}!s&&u!==`IHDR`&&(i.push(r),s=!0),(s?a:i).push(d),o=n}if(!c||!l)return e;let u=e.subarray(o);return s||i.push(r),pe([...i,...a,u])}function qk(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}var Jk,Yk,Xk,Zk=n((()=>{Qe(),fe(),he(),Jk=new Uint8Array([137,80,78,71,13,10,26,10]),Yk=6,Xk=.0254}));function Qk(e,t){return e.hasGlyph===void 0?e.getOutline(t)!==void 0:e.hasGlyph(t)}function $k(e,t){return e[t]<<8|e[t+1]}function eA(e,t){let n=e[t]<<8|e[t+1];return n>=32768?n-65536:n}function tA(e,t,n){let r=t+10,i=[];for(let t=0;t<n;t++)i.push($k(e,r)),r+=2;let a=i[i.length-1]+1,o=$k(e,r);r+=2+o;let s=[];for(;s.length<a;){let t=e[r++];if(s.push(t),t&gA){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&mA){let t=e[r++];l+=n&_A?t:-t}else n&_A||(l+=eA(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&hA){let t=e[r++];d+=n&vA?t:-t}else n&vA||(d+=eA(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]&pA)});f.push(n),p=t+1}return f}function nA(e,t,n,r,i=0){if(i>yA)return t;let a=t;for(let o of sr(e,n+r[t],n+r[t+1]))o.flags&512&&(a=nA(e,o.glyphId,n,r,i+1));return a}function rA(e,t,n,r,i,a){let o=[];for(let s of sr(e,t,n)){let[t,n,c,l]=s.transform,u=iA(e,s.glyphId,r,i,a+1);for(let e of u)o.push(e.map(e=>({x:t*e.x+c*e.y+s.dx,y:n*e.x+l*e.y+s.dy,onCurve:e.onCurve})))}return o}function iA(e,t,n,r,i=0){let a=r[t],o=r[t+1];if(o-a<10||i>yA)return[];let s=n+a,c=eA(e,s);return c>=0?tA(e,s,c):rA(e,s,n+o,n,r,i)}function aA(e,t=0){try{return sA(Gn(e,oA(e,t)))}catch{return fA}}function oA(e,t){if(!Number.isInteger(t)||t<0)return 0;try{return t<Kn(e)?t:0}catch{return 0}}function sA(e){let t=e.tables.get(`glyf`).offset,{data:n,cmap:r,advanceWidths:i,leftSideBearings:a,glyphOffsets:o}=e;function s(e){let s=r.get(e);if(s===void 0||s===0)return;let c=nA(n,s,t,o),l=i[c],u=iA(n,s,t,o);if(u.length===0)return{contours:u,advanceWidth:l};let d=a[c]-eA(n,t+o[c]+2);return{contours:d===0?u:u.map(e=>e.map(e=>({...e,x:e.x+d}))),advanceWidth:l}}let c=/* @__PURE__ */ new Map;return{unitsPerEm:e.unitsPerEm,ascent:e.ascent,descent:e.descent,familyName:e.familyName,hasGlyph(e){let t=r.get(e);return t!==void 0&&t!==0},getOutline(e){return c.has(e)||c.set(e,s(e)),c.get(e)}}}function cA(e){return e.map(lA).filter(e=>e!==fA)}function lA(e){return uA(e)?aA(dA(e)):`data`in e?uA(e.data)?aA(dA(e.data),e.collectionIndex??0):fA:e}function uA(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.BYTES_PER_ELEMENT===1}function dA(e){return e instanceof Uint8Array?e:new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}var fA,pA,mA,hA,gA,_A,vA,yA,bA=n((()=>{br(),fA={unitsPerEm:1e3,ascent:800,descent:-200,familyName:``,hasGlyph:()=>!1,getOutline:()=>void 0},pA=1,mA=2,hA=4,gA=8,_A=16,vA=32,yA=5}));function xA(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},SA(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 SA(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 CA(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:/* @__PURE__ */ 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:/* @__PURE__ */ 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(...xA(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}}var wA=n((()=>{}));function TA(e,t,n){return t}var EA=n((()=>{}));function DA(e,t){return Fa(e,e=>t.some(t=>Qk(t,e))).map(e=>e.visual).join(``)}function OA(e,t,n){let r=NA.get(e);r||(r=/* @__PURE__ */ new Map,NA.set(e,r));let i=r.get(t);return i||(i=CA(e,t,n),r.set(t,i)),i}function kA(e,t,n){return Math.max(t,Math.min(n,Math.round(e)))}function AA(e){let t=Rm(e);if(t)return[Math.round(t.r*255),Math.round(t.g*255),Math.round(t.b*255),Math.round(t.a*255)]}var jA,MA,NA,PA,FA=n((()=>{bA(),wA(),to(),EA(),xD(),jE(),Sa(),Ki(),Km(),Ya(),jA=9,MA=.5,NA=/* @__PURE__ */ new WeakMap,PA=class{constructor(e,t){this.width=e,this.height=t,this.maskAlpha=0,this.maskX0=0,this.maskY0=0,this.maskX1=0,this.maskY1=0,this.clips=[],this.uncoveredCodePoints=/* @__PURE__ */ new Set,this.textFeatures=new xa,this.ownFonts=[],this.ownUseSystemFonts=!0,this.data=new Uint8Array(e*t*4)}fillRoundRect(e,t,n,r,i,a){let o=Math.min(i,n/2,r/2);if(!(o>0)){this.fillRect(e,t,n,r,a);return}this.fillRect(e,t+o,n,r-2*o,a);for(let i=0;i<o;i++){let s=o-Math.sqrt(Math.max(0,o*o-(o-i-.5)*(o-i-.5))),c=e+s,l=n-2*s;this.fillRect(c,t+i,l,1,a),this.fillRect(c,t+r-i-1,l,1,a)}}fillRect(e,t,n,r,i){let a=AA(i);if(!a||n<=0||r<=0)return;let o=kA(Math.floor(e),0,this.width),s=kA(Math.floor(t),0,this.height),c=kA(Math.ceil(e+n),0,this.width),l=kA(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,r,i={}){if(e.length<2)return;if(r&&r.length>0){let a=0;for(let o=1;o<e.length;o++)a=this.drawDashedSegment(e[o-1],e[o],t,n,r,a,i.cap??`butt`);return}let a=n/2;if(a<=.5){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);return}let o=AA(t);if(!o)return;let s=i.cap??`butt`;this.withCoverage(o,()=>{for(let n=1;n<e.length;n++)this.fillSegment(e[n-1],e[n],a,t,{start:n===1?s:`butt`,end:n===e.length-1?s:`butt`});let n=i.join??`miter`;for(let r=1;r<e.length-1;r++){if(n===`round`){this.fillEllipse(e[r].x,e[r].y,a,a,t);continue}this.fillJoinBevel(e[r-1],e[r],e[r+1],a,t),n===`miter`&&this.fillJoinMiter(e[r-1],e[r],e[r+1],a,t)}})}fillSegment(e,t,n,r,i){let a=t.x-e.x,o=t.y-e.y,s=Math.hypot(a,o);if(s===0){(i.start===`round`||i.end===`round`)&&this.fillEllipse(e.x,e.y,n,n,r);return}let c=a/s,l=o/s,u=-l*n,d=c*n,f=i.start===`square`?n:0,p=i.end===`square`?n:0,m=e.x-c*f,h=e.y-l*f,g=t.x+c*p,_=t.y+l*p;this.fillPolygon([{x:m+u,y:h+d},{x:g+u,y:_+d},{x:g-u,y:_-d},{x:m-u,y:h-d}],r),i.start===`round`&&this.fillEllipse(e.x,e.y,n,n,r),i.end===`round`&&this.fillEllipse(t.x,t.y,n,n,r)}fillJoinMiter(e,t,n,r,i){let a=(e,t)=>{let n=t.x-e.x,r=t.y-e.y,i=Math.hypot(n,r);return i===0?void 0:{x:n/i,y:r/i}},o=a(e,t),s=a(t,n);if(!o||!s)return;let c=o.x-s.x,l=o.y-s.y,u=Math.hypot(c,l);if(u<1e-9)return;let d=o.x*s.y-o.y*s.x,f=o.x*s.x+o.y*s.y,p=Math.cos(Math.atan2(Math.abs(d),f)/2);if(p<1e-9)return;let m=r/p;if(m/(r*2)>4)return;let h=t.x+c/u*m,g=t.y+l/u*m,_=(e,n)=>({x:t.x+-e.y*r*n,y:t.y+e.x*r*n});for(let e of[1,-1])this.fillPolygon([_(o,e),{x:h,y:g},_(s,e)],i)}fillJoinBevel(e,t,n,r,i){let a=(e,t)=>{let n=t.x-e.x,i=t.y-e.y,a=Math.hypot(n,i);return a===0?void 0:{x:-i/a*r,y:n/a*r}},o=a(e,t),s=a(t,n);if(o&&s)for(let e of[1,-1])this.fillPolygon([{x:t.x+o.x*e,y:t.y+o.y*e},{x:t.x+s.x*e,y:t.y+s.y*e},{x:t.x,y:t.y}],i)}drawDashedSegment(e,t,n,r,i,a,o=`butt`){let s=t.x-e.x,c=t.y-e.y,l=Math.hypot(s,c);if(l===0)return a;let u=i.reduce((e,t)=>e+t,0);if(u<=0)return this.drawLine(e.x,e.y,t.x,t.y,n,r),a;if(!AA(n))return a;let d=s/l,f=c/l,p=a%u,m=0,h=0,g=i[0];for(;p>0;){let e=Math.min(p,g);g-=e,p-=e,g<=0&&(h=(h+1)%i.length,g=i[h])}let _=r/2;for(;m<l;){let t=Math.min(g,l-m);if(h%2==0&&t>0){let i={x:e.x+d*m,y:e.y+f*m},a={x:e.x+d*(m+t),y:e.y+f*(m+t)};_<=.5?this.drawLine(i.x,i.y,a.x,a.y,n,r):this.fillSegment(i,a,_,n,{start:o,end:o})}m+=t,g-=t,g<=0&&(h=(h+1)%i.length,g=i[h])}return a+l}drawLine(e,t,n,r,i,a=1){let o=AA(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=AA(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)}fillEllipse(e,t,n,r,i){let a=AA(i);if(!a||n<=0||r<=0)return;let o=Math.floor(t-r),s=Math.ceil(t+r);for(let i=o;i<=s;i++){let o=(i-t)/r,s=o*o;if(s>1)continue;let c=n*Math.sqrt(1-s),l=Math.ceil(e-c),u=Math.floor(e+c);for(let e=l;e<=u;e++)this.setPixel(e,i,a)}}strokeEllipse(e,t,n,r,i,a=1,o,s={}){let c=[],l=Math.max(16,Math.ceil((n+r)*1.5));for(let i=0;i<=l;i++){let a=i/l*Math.PI*2;c.push({x:e+Math.cos(a)*n,y:t+Math.sin(a)*r})}this.drawPolyline(c,i,a,o,s)}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=AA(o);if(!s||n<=0)return;let c=kA(Math.floor(e-n),0,this.width),l=kA(Math.ceil(e+n),0,this.width),u=kA(Math.floor(t-n),0,this.height),d=kA(Math.ceil(t+n),0,this.height),f=n*n,p=r*r,m=Math.abs(a-i)>=Math.PI*2-1e-9,h=i%(Math.PI*2);h<0&&(h+=Math.PI*2);let g=a%(Math.PI*2);g<0&&(g+=Math.PI*2);let _=g<h;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),(m||(_?o>=h||o<=g:o>=h&&o<=g))&&this.setPixel(t,n,s)}}}fillPolygon(e,t){this.fillRings([e],t,`nonzero`)}fillRings(e,t,n){let r=AA(t);if(!r)return;let i=e.filter(e=>e.length>=3);if(i.length===0)return;let a=i[0][0].y,o=i[0][0].y;for(let e of i)for(let t of e)t.y<a&&(a=t.y),t.y>o&&(o=t.y);let s=kA(Math.floor(a),0,this.height-1),c=kA(Math.ceil(o),0,this.height-1);for(let e=s;e<=c;e++){let t=[];for(let n of i)for(let r=0,i=n.length-1;r<n.length;i=r++){let a=n[r],o=n[i];a.y>e!=o.y>e&&t.push({x:(o.x-a.x)*(e-a.y)/(o.y-a.y)+a.x,direction:o.y>a.y?1:-1})}if(t.length<2)continue;t.sort((e,t)=>e.x-t.x);let a=0;for(let i=0;i<t.length-1;i++){if(a+=n===`evenodd`?1:t[i].direction,!(n===`evenodd`?a%2!=0:a!==0))continue;let o=kA(Math.round(t[i].x),0,this.width),s=kA(Math.round(t[i+1].x),0,this.width);for(let t=o;t<s;t++)this.setPixel(t,e,r)}}}drawText(e,t,n,r,i,a,o,s={}){if(!n)return;this.textFeatures.note(n);let c=yD(n,{size:r,family:s.family??`arial`,...s.bold===void 0?{}:{bold:s.bold},...s.italic===void 0?{}:{italic:s.italic}}),l=c>0?c:Math.max(1,r*.5)*n.length,u=a===`middle`?e-l/2:a===`end`?e-l:e,d=this.fontChain(n,s),f=ha(n)||d.length===0?n:DA(n,d),p=!ga(n);if(d.length>0){let n=p?this.naturalWidth(d,f,r,/* @__PURE__ */ new Map):l,s=a===`middle`?e-n/2:a===`end`?e-n:e;this.drawTextWithFonts(d,s,t,f,r,p?void 0:l,i,o);return}this.drawTextStroke(u,t,f,r,l,i,o)}textWarnings(){return this.textFeatures.warnings(`This rasteriser`,{contextualForms:!0,visualOrder:!0})}setFonts(e,t={}){this.ownFonts=cA(e),this.ownUseSystemFonts=t.useSystemFonts??!0}fontChain(e,t){return TA(e,this.ownFonts,this.ownUseSystemFonts,t)}resolveGlyph(e,t,n){if(n.has(t))return n.get(t);let r;for(let n of e){if(!Qk(n,t))continue;let e=n.getOutline(t);if(e){r={font:n,outline:e};break}}return n.set(t,r),r}missingAdvance(e,t){return ki(e)?0:Oi(e)?t:t*.5}naturalWidth(e,t,n,r){let i=0;for(let a of t){let t=a.codePointAt(0);if(Ai(t))continue;let o=this.resolveGlyph(e,t,r);i+=o?o.outline.advanceWidth*(n/o.font.unitsPerEm):this.missingAdvance(t,n)}return i}drawTextWithFonts(e,t,n,r,i,a,o,s){let c=AA(o);if(!c)return;let l=/* @__PURE__ */ new Map,u=0;for(let t of r){let n=t.codePointAt(0);if(Ai(n))continue;let r=this.resolveGlyph(e,n,l);u+=r?r.outline.advanceWidth*(i/r.font.unitsPerEm):this.missingAdvance(n,i)}let d=a!==void 0&&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);if(Ai(r))continue;let a=this.resolveGlyph(e,r,l);if(!a){r!==jA&&this.uncoveredCodePoints.add(r),_+=this.missingAdvance(r,i)*d;continue}let{font:o,outline:s}=a,u=i/o.unitsPerEm,v=OA(s,i,o.unitsPerEm);if(v.pixels.length===0){_+=s.advanceWidth*u*d;continue}let y=_+v.offsetX,b=n+v.offsetY;for(let e=0;e<v.height;e++)for(let t=0;t<v.width;t++){let n=v.pixels[e*v.width+t];if(n>0){let r=y+t,i=b+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],Math.round(n*c[3]/255)];this.setPixel(Math.round(r),Math.round(i),a)}}_+=s.advanceWidth*u*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);if(Ai(t))continue;if(eo[t]===void 0&&t!==jA&&this.uncoveredCodePoints.add(t),t===jA){c+=MA;continue}let n=eo[t]??eo[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);if(Ai(n))continue;if(n===jA){i+=MA*r*l;continue}let o=eo[n]??eo[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);if(Ai(n))continue;if(n===jA){g+=MA*r*l;continue}let i=eo[n]??eo[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}}}pushClip(e,t,n,r){let i={x0:Math.floor(e),y0:Math.floor(t),x1:Math.ceil(e+n),y1:Math.ceil(t+r)},a=this.clips.at(-1);this.clips.push(a?{x0:Math.max(a.x0,i.x0),y0:Math.max(a.y0,i.y0),x1:Math.min(a.x1,i.x1),y1:Math.min(a.y1,i.y1)}:i)}popClip(){this.clips.pop()}withCoverage(e,t){if(e[3]<=0)return;this.mask??=new Uint8Array(this.width*this.height),this.maskAlpha=e[3],this.maskX0=this.width,this.maskY0=this.height,this.maskX1=0,this.maskY1=0;let n=this.mask;t(),this.mask=void 0;let r=e[3]/255;for(let t=this.maskY0;t<this.maskY1;t++)for(let i=this.maskX0;i<this.maskX1;i++){let a=t*this.width+i,o=n[a];o!==0&&(n[a]=0,this.setPixel(i,t,[e[0],e[1],e[2],Math.round(o*r)]))}}setPixel(e,t,n){if(e<0||t<0||e>=this.width||t>=this.height)return;let r=this.clips.at(-1);if(r&&(e<r.x0||t<r.y0||e>=r.x1||t>=r.y1))return;if(this.mask){let r=t*this.width+e,i=this.maskAlpha<=0?0:Math.min(255,Math.round(n[3]*255/this.maskAlpha));i>this.mask[r]&&(this.mask[r]=i),this.maskX0=Math.min(this.maskX0,e),this.maskY0=Math.min(this.maskY0,t),this.maskX1=Math.max(this.maskX1,e+1),this.maskY1=Math.max(this.maskY1,t+1);return}let i=(t*this.width+e)*4,a=n[3]/255;if(a<=0)return;let o=this.data[i+3]/255,s=a+o*(1-a);if(s<=0)return;let c=(e,t)=>Math.round((e*a+t*o*(1-a))/s);this.data[i]=c(n[0],this.data[i]),this.data[i+1]=c(n[1],this.data[i+1]),this.data[i+2]=c(n[2],this.data[i+2]),this.data[i+3]=Math.round(s*255)}}}));function IA(e,t={}){let n=Math.max(1,Math.round(t.width??e.width)),r=Math.max(1,Math.round(t.height??e.height)),i=WA(t.scale),a=Math.min(n/e.width,r/e.height),o=Math.max(1,Math.round(n*i)),s=Math.max(1,Math.round(r*i));if(o*s>KA)throw Error(`raster output ${o}x${s} is ${Math.round(o*s/1e6)}M pixels, over the ${Math.round(KA/1e6)}M limit — reduce width/height or scale`);let c=RA(t.samples,o,s),l=new PA(o*c,s*c);return t.background&&l.fillRect(0,0,o*c,s*c,UA(t.background)),l.setFonts(t.fonts??[],{useSystemFonts:t.useSystemFonts??!0}),JO(e,zA(l,a*i*c)),{width:o,height:s,data:c===1?l.data:LA(l.data,o,s,c),uncoveredCodePoints:[...l.uncoveredCodePoints].sort((e,t)=>e-t),textWarnings:l.textWarnings()}}function LA(e,t,n,r){let i=new Uint8Array(t*n*4),a=t*r,o=r*r;for(let s=0;s<n;s++)for(let n=0;n<t;n++){let c=0,l=0,u=0,d=0;for(let t=0;t<r;t++){let i=(s*r+t)*a;for(let t=0;t<r;t++){let a=(i+n*r+t)*4,o=e[a+3];o!==0&&(c+=o,l+=e[a]*o,u+=e[a+1]*o,d+=e[a+2]*o)}}let f=(s*t+n)*4;c!==0&&(i[f]=Math.round(l/c),i[f+1]=Math.round(u/c),i[f+2]=Math.round(d/c),i[f+3]=Math.round(c/o))}return i}function RA(e,t,n){let r=e===void 0?3:e;if(!Number.isFinite(r)||r<1)throw Error(`raster samples must be a finite number >= 1`);let i=Math.max(1,Math.min(4,Math.floor(r)));for(;i>1&&t*i*n*i>GA;)i--;return i}function zA(e,t=1){let n=e=>e*t,r=e=>e.map(e=>({x:n(e.x),y:n(e.y)}));return{pushClip(t){e.pushClip(n(t.x),n(t.y),n(t.width),n(t.height))},popClip(){e.popClip()},rect(r,i,a,o,s,c){let l=UA(c.fill);l!==void 0&&(s>0?e.fillRoundRect(n(r),n(i),n(a),n(o),n(s),l):e.fillRect(n(r),n(i),n(a),n(o),l));let u=UA(c.stroke);if(u!==void 0){if(s>0){for(let n of EE(DE(r,i,a,o,s),t))e.drawPolyline(n.closed?[...n.points,n.points[0]]:[...n.points],u,HA(c,t),c.dash?.map(e=>e*t),VA(c,n.closed));return}e.drawPolyline([{x:n(r),y:n(i)},{x:n(r+a),y:n(i)},{x:n(r+a),y:n(i+o)},{x:n(r),y:n(i+o)},{x:n(r),y:n(i)}],u,HA(c,t),c.dash?.map(e=>e*t),VA(c,!0))}},ellipse(r,i,a,o,s){let c=UA(s.fill);c!==void 0&&e.fillEllipse(n(r),n(i),n(a),n(o),c);let l=UA(s.stroke);l!==void 0&&e.strokeEllipse(n(r),n(i),n(a),n(o),l,HA(s,t),s.dash?.map(e=>e*t),VA(s,!0))},sector(r,i,a,o,s,c,l){let u=UA(l.fill);u!==void 0&&e.fillSector(n(r),n(i),n(a),n(o),s,c,u);let d=UA(l.stroke);if(d!==void 0)for(let n of EE(TE(r,i,a,o,s,c),t))e.drawPolyline(n.closed?[...n.points,n.points[0]]:[...n.points],d,HA(l,t),l.dash?.map(e=>e*t),VA(l,n.closed))},polyline(n,i,a){BA(e,r(n),i,a,t)},path(n,r){let i=EE(n,t),a=UA(r.fill);a!==void 0&&e.fillRings(i.filter(e=>e.closed).map(e=>[...e.points]),a,r.fillRule??`nonzero`);let o=UA(r.stroke);if(o!==void 0)for(let n of i)e.drawPolyline(n.closed?[...n.points,n.points[0]]:[...n.points],o,HA(r,t),r.dash?.map(e=>e*t),VA(r,n.closed))},text(t,r,i,a,o){let s=UA(a.fill);if(s!==void 0)for(let c of i)c.text!==``&&e.drawText(n(c.x??t),n(r+c.dy),c.text,n(a.size),s,a.anchor??`start`,o===0?void 0:{angle:o,originX:n(t),originY:n(r)},{family:a.family??`arial`,...a.bold===void 0?{}:{bold:a.bold},...a.italic===void 0?{}:{italic:a.italic}})}}}function BA(e,t,n,r,i){if(t.length<2)return;let a=UA(r.fill);n&&a!==void 0&&e.fillPolygon([...t],a);let o=UA(r.stroke);o!==void 0&&e.drawPolyline(n?[...t,t[0]]:[...t],o,HA(r,i),r.dash?.map(e=>e*i),VA(r,n))}function VA(e,t){return{...e.lineJoin===void 0?{}:{join:e.lineJoin},...t?e.lineJoin===`round`?{cap:`round`}:{}:e.lineCap===void 0?{}:{cap:e.lineCap}}}function HA(e,t){return Math.max(1,(e.strokeWidth??1)*t)}function UA(e){if(!e)return;let t=e=>Math.max(0,Math.min(255,Math.round(e*255))).toString(16).padStart(2,`0`);return`#${t(e.r)}${t(e.g)}${t(e.b)}${t(e.a)}`}function WA(e){if(e===void 0)return 1;if(!Number.isFinite(e)||e<=0)throw Error(`raster scale must be a positive finite number`);return Math.min(8,e)}var GA,KA,qA=n((()=>{FA(),nk(),jE(),GA=64e6,KA=64e6}));function JA(e,t={}){let n=IA(e,t);return Hk(n.data,n.width,n.height,t.dpi===void 0?{}:{dpi:t.dpi})}var YA=n((()=>{Zk(),qA()}));function XA(e){let t={size:e.fontSize,fill:Z(e.color),anchor:e.anchor??`start`,family:e.fontFamily??`Arial`,...e.bold?{bold:!0}:{},...e.italic?{italic:!0}:{}},n=ED(e.text).map(t=>({text:t.text,dy:t.index*1.2*e.fontSize}));return{kind:`text`,x:e.x,y:e.y,lines:n,style:t,...e.rotate?{rotate:e.rotate}:{}}}function ZA(e){return{kind:`polyline`,points:[{x:e.x1,y:e.y1},{x:e.x2,y:e.y2}],paint:{stroke:Z(e.color),strokeWidth:e.width??1}}}function QA(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 $A(e){return{kind:`sector`,cx:e.cx,cy:e.cy,radius:e.radius,innerRadius:e.innerRadius,startAngle:e.startAngle,endAngle:e.endAngle,paint:{fill:Z(e.color)}}}function ej(e,t,n){let r=e.x+e.width,i=e.y,a=e.y+e.height,{dx:o,dy:s}=t,c=e=>({fill:Z(LD(n,e))});return[{kind:`polyline`,closed:!0,points:[{x:e.x,y:i},{x:e.x+o,y:i-s},{x:r+o,y:i-s},{x:r,y:i}],paint:c(.92)},{kind:`polyline`,closed:!0,points:[{x:r,y:i},{x:r+o,y:i-s},{x:r+o,y:a-s},{x:r,y:a}],paint:c(.75)},OE(e,{fill:Z(n)})]}function tj(e){let t=e.size/2,n={fill:Z(e.color)},r={stroke:Z(e.color),strokeWidth:2};switch(e.symbol){case`square`:return[OE({x:e.x-t,y:e.y-t,width:e.size,height:e.size},n)];case`diamond`:return[{kind:`polyline`,closed:!0,points:[{x:e.x,y:e.y-t},{x:e.x+t,y:e.y},{x:e.x,y:e.y+t},{x:e.x-t,y:e.y}],paint:n}];case`triangle`:return[{kind:`polyline`,closed:!0,points:[{x:e.x,y:e.y-t},{x:e.x+t,y:e.y+t},{x:e.x-t,y:e.y+t}],paint:n}];case`x`:return[{kind:`polyline`,points:[{x:e.x-t,y:e.y-t},{x:e.x+t,y:e.y+t}],paint:r},{kind:`polyline`,points:[{x:e.x+t,y:e.y-t},{x:e.x-t,y:e.y+t}],paint:r}];case`plus`:return[{kind:`polyline`,points:[{x:e.x-t,y:e.y},{x:e.x+t,y:e.y}],paint:r},{kind:`polyline`,points:[{x:e.x,y:e.y-t},{x:e.x,y:e.y+t}],paint:r}];default:return[{kind:`ellipse`,cx:e.x,cy:e.y,rx:t,ry:t,paint:n}]}}function nj(e){let t=[];switch(e.type){case`bar`:for(let n of e.bars)e.depth&&e.projection3D?t.push(...ej(n,e.projection3D,e.color)):t.push(OE(n,{fill:Z(e.color)}));return t;case`area`:{let n=e.lowerPoints??e.points.map(t=>({x:t.x,y:e.baselineY}));for(let r of QA(e.points)){if(r.length<2)continue;let i=r[0].x,a=r[r.length-1].x,o=n.filter(e=>e.x>=i&&e.x<=a);o.length!==0&&(t.push({kind:`polyline`,closed:!0,points:[...r,...o.slice().reverse()],paint:{fill:GO(e.color,.35)}}),t.push({kind:`polyline`,points:r,paint:{stroke:Z(e.color),strokeWidth:2}}))}return t}case`line`:case`scatter`:if(e.showLine!==!1){let n={stroke:Z(e.color),strokeWidth:2,...e.smooth?{lineJoin:`round`,lineCap:`round`}:{}};for(let r of QA(e.points))r.length<2||t.push(e.smooth&&r.length>2?{kind:`path`,commands:sj(r),paint:n}:{kind:`polyline`,points:r,paint:n})}for(let n of e.points)Number.isFinite(n.x)&&Number.isFinite(n.y)&&t.push({kind:`ellipse`,cx:n.x,cy:n.y,rx:3,ry:3,paint:{fill:Z(e.color)}});return t;case`bubble`:for(let n of e.bubbles)t.push({kind:`ellipse`,cx:n.x,cy:n.y,rx:n.radius,ry:n.radius,paint:{fill:GO(e.color,.55),stroke:Z(e.color),strokeWidth:1}});return t;case`pie`:case`doughnut`:return e.slices.map($A);case`ofPie`:return[...e.slices.map($A),...(e.connectors??[]).map(ZA),...(e.secondarySlices??[]).map($A)];case`radar`:{t.push({kind:`ellipse`,cx:e.center.x,cy:e.center.y,rx:e.radius,ry:e.radius,paint:{stroke:Z(qD),strokeWidth:1}});let n=QA(e.points),r=e.filled?GO(e.color,.35):void 0,i=n.length===1&&n[0].length===e.points.length;for(let a of n)!i&&a.length<2||t.push({kind:`polyline`,points:a,...i?{closed:!0}:{},paint:{...r?{fill:r}:{},stroke:Z(e.color),strokeWidth:2}});return t}case`stock`:for(let n of e.candles)t.push({kind:`polyline`,points:[{x:n.x,y:n.highY},{x:n.x,y:n.lowY}],paint:{stroke:Z(`#555`),strokeWidth:1}}),n.openY!==void 0&&n.closeY!==void 0&&t.push(OE({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:Z(n.up?`#70AD47`:`#C00000`),stroke:Z(`#555`),strokeWidth:1}));return t;case`surface`:for(let n of e.cells)t.push(OE(n,e.wireframe?{fill:Z(n.color),stroke:Z(`#555`),strokeWidth:1}:{fill:Z(n.color)}));return t}}function rj(e){let t=[];for(let n of e.errorBars??[])t.push(ZA(n.line)),n.cap1&&t.push(ZA(n.cap1)),n.cap2&&t.push(ZA(n.cap2));for(let n of e.trendlines??[]){for(let e of QA(n.points))e.length<2||t.push({kind:`polyline`,points:e,paint:{stroke:Z(n.color),strokeWidth:n.width??1.5,...n.dash?{dash:[4,3]}:{}}});n.label&&t.push(XA(n.label))}for(let n of e.markers??[])t.push(...tj(n));for(let n of e.leaderLines??[])t.push(ZA(n));for(let n of e.labels??[])t.push(XA(n));return t}function ij(e){return[...e.borders.map(ZA),...e.legendSwatches.map(e=>OE(e,{fill:Z(e.color)})),...e.cells.map(XA)]}function aj(e){if(!e.visible||e.items.length===0)return[];let t=e.textStyle?.fontSize??10,n=e.textStyle?.fontFamily??`Arial`,r=Z(e.textStyle?.color??`#555`),i=e.textStyle?.bold,a=e.textStyle?.italic,o=[],s=e.rect.x;return e.items.forEach((c,l)=>{let u=e.orientation===`horizontal`?s:e.rect.x,d=e.orientation===`horizontal`?e.rect.y:e.rect.y+l*18;o.push(OE({x:u,y:d,width:10,height:10},{fill:Z(c.color)})),o.push({kind:`text`,x:u+10+4,y:d+9,lines:[{text:c.label,dy:0}],style:{size:t,fill:r,anchor:`start`,family:n,...i?{bold:!0}:{},...a?{italic:!0}:{}}}),e.orientation===`horizontal`&&(s+=14+UD(c.label,t,{bold:i,italic:a,fontName:n})+16)}),o}function oj(e,t=`#fff`){let n=[];t!==`transparent`&&n.push(OE({x:0,y:0,width:e.width,height:e.height},{fill:Z(t)})),e.title&&n.push(XA(e.title));for(let t of e.gridlines)n.push(ZA(t));for(let t of[e.axes.x,e.axes.y,e.axes.x2,e.axes.y2])t&&n.push(ZA(t));for(let t of[e.xLabels,e.yLabels,e.secondaryXLabels,e.secondaryYLabels,e.axisTitles])for(let e of t)n.push(XA(e));for(let t of e.series){let e=nj(t),r=t.effectFilterId;r?n.push({kind:`group`,svgFilterId:r,children:e}):n.push(...e)}for(let t of e.series)n.push(...rj(t));return e.dataTable&&n.push(...ij(e.dataTable)),n.push(...aj(e.legend)),{width:e.width,height:e.height,children:n,...e.effectFilters.length>0?{svgDefs:e.effectFilters.map(e=>e.xml)}:{}}}function sj(e){let t=[{op:`move`,x:e[0].x,y:e[0].y}],n=t=>{let n=e[t-1]??e[t],r=e[t+1]??e[t],i=(r.y-n.y)/2,a=e[t].y-n.y,o=r.y-e[t].y;if(a*o<=0)return 0;let s=3*Math.min(Math.abs(a),Math.abs(o));return Math.sign(i)*Math.min(Math.abs(i),s)};for(let r=0;r<e.length-1;r++){let i=e[r],a=e[r+1],o=(a.x-i.x)/3;t.push({op:`cubic`,x1:i.x+o,y1:i.y+n(r)/3,x2:a.x-o,y2:a.y-n(r+1)/3,x:a.x,y:a.y})}return t}var cj=n((()=>{qO(),jE(),QD()}));function lj(e){let t=1;for(let n of e)n.values.length>t&&(t=n.values.length);return t}function uj(e,t={}){let n=t.width??640,r=t.height??360,i=t.title??lN(e),a=e.chart.title?.overlay===!0,o=!!i&&!a,s=e.chart.plotArea.chartTypes,c=aM(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=TM(e.chart.legend,c,n,r,o,u),f=e.chart.plotArea.dataTable,p=f?yj(f,c,u):0,m=_j(n,r,o,d,e,p,u.length),h=fM(e,c),g=Dj(s,c,m,h,u,e.chart.view3D),_=JM(c,g),v=f?Sj(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=kM(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?PM(e.chart.title.txPr):void 0)??`#222222`,anchor:`middle`,...FM(e.chart.title?.txPr)}:void 0,plot:m,gridlines:w?[]:Kj(m,h.primaryYAxis,y,h.primaryXAxis,x,u),xLabels:w||v?[]:nM(u,m,h.primaryXAxis,x),yLabels:w?[]:iM(y.min,y.max,m,h.primaryYAxis,!1,u),secondaryXLabels:w?[]:h.secondaryXAxis?nM(C,m,h.secondaryXAxis,S,!0):[],secondaryYLabels:w?[]:h.secondaryYAxis&&b?iM(b.min,b.max,m,h.secondaryYAxis,!0,u):[],axisTitles:w?[]:DM(h,m),series:g,legend:d,dataTable:v,effectFilters:_,axes:w?{x:void 0,y:void 0,x2:void 0,y2:void 0}:{x:tN({x1:m.x,y1:m.y+m.height,x2:m.x+m.width,y2:m.y+m.height,color:KD},h.primaryXAxis),y:tN({x1:m.x,y1:m.y,x2:m.x,y2:m.y+m.height,color:KD},h.primaryYAxis),x2:h.secondaryXAxis?tN({x1:m.x,y1:m.y,x2:m.x+m.width,y2:m.y,color:KD},h.secondaryXAxis):void 0,y2:h.secondaryYAxis?tN({x1:m.x+m.width,y1:m.y,x2:m.x+m.width,y2:m.y+m.height,color:KD},h.secondaryYAxis):void 0}}}function dj(e,t={}){return ok(oj(uj(e,t),t.backgroundColor??`#fff`),{comment:`deterministic preview; not an Excel-identical layout`})}async function fj(e,t={}){let n=t.width??640,r=t.height??360;return typeof document<`u`&&typeof Image<`u`?pj(dj(e,{...t,width:n,height:r}),{width:n,height:r,scale:mj(t.scale),dpi:t.dpi}):JA(oj(uj(e,{...t,width:n,height:r}),t.backgroundColor??`#fff`),{width:n,height:r,...t.scale===void 0?{}:{scale:mj(t.scale)},...t.dpi===void 0?{}:{dpi:t.dpi}})}async function pj(e,t){let n=Math.max(1,Math.round(t.width)),r=Math.max(1,Math.round(t.height)),i=mj(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`)throw Error(`renderSvgToPng needs a DOM: use renderChartPng or renderChartExPng, which rasterise a display list directly on Node.`);let s=new Blob([e],{type:`image/svg+xml;charset=utf-8`}),c=URL.createObjectURL(s);try{let e=await fN(c),n=document.createElement(`canvas`);n.width=a,n.height=o;let r=n.getContext(`2d`);if(!r)throw Error(`Canvas 2D context is unavailable`);r.drawImage(e,0,0,a,o);let i=await new Promise((e,t)=>{n.toBlob(n=>{n?e(n):t(/* @__PURE__ */ Error(`Canvas PNG encoding failed`))},`image/png`)});return Kk(new Uint8Array(await i.arrayBuffer()),t.dpi)}finally{URL.revokeObjectURL(c)}}function mj(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 hj(e,t,n){let r=uj(t,n),i=n.trace;i?.push(`canvas:${MD(r.width)}x${MD(r.height)}@${MD(n.x)},${MD(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}});let a=oj(r,`transparent`);return i&&gj(r,i),JO(a,Rk(e,n.x,n.y,r.height)),e}function gj(e,t){e.title&&t.push(`text:title:${e.title.text}:${MD(e.title.x)},${MD(e.title.y)}`);for(let n of e.gridlines)t.push(`line:grid:${MD(n.x1)},${MD(n.y1)}-${MD(n.x2)},${MD(n.y2)}`);for(let[n,r]of[[`x`,e.axes.x],[`y`,e.axes.y],[`x2`,e.axes.x2],[`y2`,e.axes.y2]])r&&t.push(`line:axis-${n}:${MD(r.x1)},${MD(r.y1)}-${MD(r.x2)},${MD(r.y2)}`);for(let n of[e.xLabels,e.yLabels,e.secondaryXLabels,e.secondaryYLabels,e.axisTitles])for(let e of n)t.push(`text:label:${e.text}:${MD(e.x)},${MD(e.y)}`);for(let n of e.series){t.push(`series:${n.type}`);for(let e of n.trendlines??[])t.push(`trendline:${e.points.length}pts`);for(let e of n.leaderLines??[])t.push(`leader:${MD(e.x1)},${MD(e.y1)}-${MD(e.x2)},${MD(e.y2)}`);for(let e of n.labels??[])t.push(`label:${e.text}:${MD(e.x)},${MD(e.y)}`)}if(e.dataTable){for(let n of e.dataTable.borders)t.push(`line:dTable:${MD(n.x1)},${MD(n.y1)}-${MD(n.x2)},${MD(n.y2)}`);for(let n of e.dataTable.cells)t.push(`text:dTable:${n.text}:${MD(n.x)},${MD(n.y)}`)}t.push(`legend:${e.legend.visible?e.legend.items.length:0}@${MD(e.legend.rect.x)},${MD(e.legend.rect.y)}`)}function _j(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+TN:0,m=f&&(r.position===`r`||r.position===`tr`)?r.rect.width+EN:0,h=pN+(c?.title?gN:0)+p,g=mN+(l?hN:0)+(l?.title?gN:0)+m,_=(n?vN:_N)+(u?yN:0)+(u?.title?bN:0)+(f&&r.position===`t`?xN:0),v=d&&a===0?o>6?Math.min(Math.max(CN,t*.15),t*.2):CN:0,y=SN+v+(d?.title?gN:0)+(f&&r.position===`b`?wN:0)+a,b={x:h,y:_,width:Math.max(DN,e-h-g),height:Math.max(DN,t-_-y)},x=i.chart.plotArea.layout?.manualLayout;return x?vj(b,x,e,t):b}function vj(e,t,n,r){let i=(t,r)=>t!==void 0&&r!==`factor`?OD(t)*n:e.x,a=(t,n)=>t!==void 0&&n!==`factor`?OD(t)*r:e.y,o=(t,r)=>t!==void 0&&r!==`factor`?OD(t)*n:e.width,s=(t,n)=>t!==void 0&&n!==`factor`?OD(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 yj(e,t,n){if(t.length===0||n.length===0)return 0;let r=bj(e),i=Math.max(zN,Math.round(r*1.6));return(1+t.length)*i+WN}function bj(e){return xj(e.txPr)??BN}function xj(e){if(!e)return;let t=wO(e);if(typeof t==`number`)return 4/3*t}function Sj(e,t,n,r,i){if(t.length===0||n.length===0||i<=0)return;let a=bj(e),o=(i-WN)/(1+t.length),s=PM(e.txPr)??`#444444`,c=FM(e.txPr),l=e.showKeys!==!1,u=l?16:0,d=t.reduce((e,t)=>Math.max(e,UD(t.label||``,a,{bold:c.bold,italic:c.italic,fontName:c.fontFamily})),0),f=Math.ceil(d+u+HN),p=Math.max(4,r.x-f),m=r.x+r.width,h=r.y+r.height+WN,g={x:p,y:h,width:m-p,height:i-WN},_=[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+UN,n=y[e+1]+(o-VN)/2;x.push({x:t,y:n,width:VN,height:VN,color:r.color})}let d=p+UN+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:Cj(t),fontSize:a,color:s,anchor:`middle`,...c})}}let S=[],C=Ej(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 Cj(e){return e===void 0||!Number.isFinite(e)?``:Number.isInteger(e)?e.toString():Number.parseFloat(e.toPrecision(6)).toString()}function wj(e){let t=Tj(e?.rotX??15),n=Tj(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 Tj(e){return e*Math.PI/180}function Ej(e){if(e)return zD(SO(e)?.color)}function Dj(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=gM(t,r);o.push(qj(Rj(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=gM(t,r);o.push(qj(zj(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=gM(t,r);o.push(qj(Bj(t,n,e.min,e.max,s.radarStyle===`filled`),t,n,e.min,e.max,i))}continue}if(s.type===`stock`){let t=vM(s,r);o.push(Vj(e,n,t.min,t.max,i));continue}if(s.type===`surface`||s.type===`surface3D`){let t=vM(s,r);o.push(Hj(e,n,t.min,t.max,s.wireframe));continue}if(s.type===`area`||s.type===`area3D`){let t=vM(s,r),a=kD(kj(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:gM(t,r),f=c?Mj(e,t.seriesIndex,n,d.min,d.max,l):{upper:Ij(t.values,n,d.min,d.max),lower:void 0};o.push(qj({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=gM(a,r),s=_M(a,r);o.push(qj({type:`bubble`,color:a.color,label:a.label,bubbles:Lj(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?Nj(e,lj(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:gM(d,r),p=_M(d,r),m=s.type===`scatter`?Fj(d,n,f.min,f.max,p.min,p.max):Ij(a&&l?Array.from({length:lj(e)},(t,n)=>Pj(e,d.seriesIndex,n,l,!0)):d.values,n,f.min,f.max);o.push(qj({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`?wj(a):void 0;for(let a of e){let d=s.barDir===`bar`,f=c?l:gM(a,r),p=t?jj(e,a.seriesIndex,d,n,f.min,f.max,c):d?Aj(a.values,a.seriesIndex,e.length,i,n,f.min,f.max):Oj(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(qj({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 Oj(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=kD(kj(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=kD(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 kj(e,t){let n=Math.min(e,t),r=Math.max(e,t);return n<=0&&r>=0?0:n>0?n:r}function Aj(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=AD(kj(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=AD(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 jj(e,t,n,r,i,a,o){let s=lj(e),c=n?r.height/s:r.width/s,l=c*.72,u=Nj(e,s,o);return Array.from({length:s},(o,s)=>{let d=Pj(e,t,s,u,!1),f=Pj(e,t,s,u,!0);if(n){let e=AD(d,i,a,r),t=AD(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=kD(d,i,a,r),m=kD(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 Mj(e,t,n,r,i,a){let o=lj(e),s=Nj(e,o,a),c=Array.from({length:o},(n,r)=>Pj(e,t,r,s,!1)),l=Array.from({length:o},(n,r)=>Pj(e,t,r,s,!0));return{lower:Ij(c,n,r,i),upper:Ij(l,n,r,i)}}function Nj(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 Pj(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 Fj(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:AD(o[i]??i+1,l,u<=l?l+1:u,t),y:kD(e,n,r,t)}))}function Ij(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:kD(e,n,r,t)}))}function Lj(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:AD(a,p,m<=p?p+1:m,t),y:kD(d,n,r,t),radius:4+Math.sqrt(f)/h*16})}return g}function Rj(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=cM(i),f=lM(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]??GD[t%GD.length],cx:c+Math.cos(h)*m,cy:l+Math.sin(h)*m,radius:s,innerRadius:r?s*uM(o):0,startAngle:p,endAngle:i};return p=i,g}),label:i?.label}}function zj(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=Rj(`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=cM(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]??GD[(i+t)%GD.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:qD},{x1:s.slices[0]?.cx??t.x,y1:u+c,x2:l-c,y2:u+c,color:qD}];return{type:`ofPie`,slices:s.slices,secondarySlices:m,connectors:h}}function Bj(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 Vj(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:kD(h,n,r,t),lowY:kD(g,n,r,t),openY:i===void 0?void 0:kD(i,n,r,t),closeY:p===void 0?void 0:kD(p,n,r,t),width:s,up:i===void 0||p===void 0||p>=i})}return{type:`stock`,color:GD[0],candles:d,label:e[0]?.label}}function Hj(e,t,n,r,i){let a=Math.max(1,e.length),o=lj(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:RD(`#5B9BD5`,`#ED7D31`,Math.max(0,Math.min(1,u)))})}}return{type:`surface`,cells:l,wireframe:i,label:e[0]?.label}}function Uj(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(GN(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 Wj(e){let t=e?.scaling?.logBase;if(!(typeof t!=`number`||!Number.isFinite(t)||t<=1))return t}function Gj(e,t){let n=t**+e;return uN(Number.isFinite(n)?n:e)}function Kj(e,t,n,r,i,a=[]){let o=[];if(t?.majorGridlines!==void 0){let r=VD(SO(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=Uj(n.min,n.max,t);for(let t=i.length-1;t>=0;t--){let a=kD(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=VD(SO(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=Uj(i.min,i.max,r);for(let r of n){let n=AD(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 qj(e,t,n,r,i,a,o){let s=Xj(e),c=t.values,l=Zj(s,t.rawValues??c,a,t,n,e),u=$j(s,t),d=eM(s,c,t,n,r,i),f;if(l.length>0&&(e.type===`pie`||e.type===`doughnut`||e.type===`ofPie`)){let r=IM(t.group,t.series)?.position??`outEnd`;if(r===`outEnd`||r===`bestFit`){let t=Yj(e,l,n);l=t.labels,f=t.leaderLines}}else l.length>1&&(l=Jj(l,n));let p=tM(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 Jj(e,t){let n=t.y+4,r=t.y+t.height-4,i=e.map(e=>{let t=UD(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 Yj(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 Xj(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 Zj(e,t,n,r,i,a){let o=IM(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=FM(o.txPr),_=PM(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}=Qj(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:LM(o,r,l[t],c[t]??0,y),fontSize:10,color:_,anchor:u,...g}})}function Qj(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 $j(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 eM(e,t,n,r,i,a){return!n.trendlines||e.length<2?[]:n.trendlines.map(o=>{let s=RM(o,e,t,n,r,i,a),c=s.length>0?s[s.length-1]:void 0;return{color:VD(o.spPr?SO(o.spPr):void 0)??`#666666`,width:HD(o.spPr?SO(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 tM(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=VD(u.spPr?SO(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}=GM(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,AD(e+_,t,d===t?t+1:d,r))):h.x,b=p?Math.max(r.x,Math.min(r.x+r.width,AD(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,kD(g+_,i,a,r))):h.y,b=p?Math.max(r.y,Math.min(r.y+r.height,kD(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 nM(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 rM(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=FM(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:dN(e),fontSize:10,color:MM(n),anchor:f?`end`:`middle`,rotate:f?-90:void 0,...d}))}function rM(e,t,n,r,i){let a=[],o=MM(r),s=FM(r?.txPr),c=GN(r);for(let l of Uj(e,t,r))a.push({x:AD(l,e,t,n),y:i?n.y-10:n.y+n.height+18,text:c?Gj(l,c):uN(l),fontSize:10,color:o,anchor:`middle`,...s});return a}function iM(e,t,n,r,i=!1,a=[]){if(r?.delete||r?.tickLblPos===`none`)return[];let o=[],s=MM(r),c=FM(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:dN(e),fontSize:10,color:s,anchor:i?`start`:`end`,...c});return o}let l=GN(r);for(let a of Uj(e,t,r))o.push({x:i?n.x+n.width+8:n.x-8,y:kD(a,e,t,n)+3,text:l?Gj(a,l):uN(a),fontSize:10,color:s,anchor:i?`start`:`end`,...c});return o}function aM(e,t){let n=t?.chart?.plotArea?.axes,r=/* @__PURE__ */ new Map;if(n)for(let e of n)r.set(e.axId,e);let i=/* @__PURE__ */ new Map,a=e=>{let t=i.get(e);if(t)return t;let n=e.axisIds??[],a=yM(e,n,r),o=bM(e,n,r),s={yLogBase:Wj(a===void 0?void 0:r.get(a)),xLogBase:Wj(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=nN(n),{yLogBase:i,xLogBase:c}=a(n);for(let e=0;e<r.length;e++){let a=r[e],l=rN(a),u=aN(a.xVal);o.push({group:n,groupIndex:t,series:a,seriesIndex:e,globalIndex:s,label:cN(a,s),color:oM(a,s),values:i?l.map(e=>typeof e==`number`?qM(e,i):e):l,categories:sN(a),xValues:c?u.map(e=>typeof e==`number`?qM(e,c):e):u,rawValues:l,rawXValues:u.length>0?u:void 0,yLogBase:i,xLogBase:c,bubbleSizes:iN(a.bubbleSize?.numRef),dataLabels:a.dataLabels,trendlines:a.trendlines,errorBars:dM(a.errorBars),marker:a.marker}),s++}}return o}function oM(e,t){return BD(e.spPr?xO(e.spPr):void 0,void 0)??GD[t%GD.length]}function sM(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 cM(e){return sM(e,e=>BD(e.spPr?xO(e.spPr):void 0,void 0)||void 0)}function lM(e){return sM(e,e=>typeof e.explosion==`number`&&Number.isFinite(e.explosion)&&e.explosion>0?e.explosion:void 0)}function uM(e){return(typeof e==`number`&&Number.isFinite(e)?Math.max(0,Math.min(90,e)):45)/100}function dM(e){if(e)return Array.isArray(e)?e:[e]}function fM(e,t){let n=e.chart.plotArea.axes,r=new Map(n.map(e=>[e.axId,e])),i=/* @__PURE__ */ new Map;for(let t of e.chart.plotArea.chartTypes)i.set(t,t.axisIds??[]);let a=KM(t.map(e=>e.values),void 0),o=KM(t.map(e=>CM(e)),void 0,{includeZero:!1,padding:.05}),s=/* @__PURE__ */ new Map,c=/* @__PURE__ */ new Map,l=/* @__PURE__ */ 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=SM(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=yM(e.group,n,r),i=bM(e.group,n,r);t!==void 0&&!a&&pM(s,t,e.values),i!==void 0&&xM(e.group)&&pM(c,i,CM(e))}if(a){let e=yM(t[0].group,n,r);if(e!==void 0){let n=lj(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)}pM(s,e,r)}}}let u=/* @__PURE__ */ new Map;for(let[e,t]of s)u.set(e,KM(t,r.get(e)));let d=/* @__PURE__ */ new Map;for(let[e,t]of c)d.set(e,KM(t,r.get(e),{includeZero:!1}));return{axesById:r,primaryXAxis:mM(n,`x`,!1),primaryYAxis:mM(n,`y`,!1),secondaryXAxis:hM(n,`x`,mM(n,`x`,!1)),secondaryYAxis:hM(n,`y`,mM(n,`y`,!1)),yRangesByAxisId:u,xRangesByAxisId:d,defaultYRange:a,defaultXRange:o}}function pM(e,t,n){let r=e.get(t);r?r.push(n):e.set(t,[n])}function mM(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 hM(e,t,n){let r=mM(e,t,!0);return r&&r!==n?r:void 0}function gM(e,t){let n=yM(e.group,e.group.axisIds??[],t.axesById);return n===void 0?t.defaultYRange:t.yRangesByAxisId.get(n)??t.defaultYRange}function _M(e,t){let n=bM(e.group,e.group.axisIds??[],t.axesById);return n===void 0?t.defaultXRange:t.xRangesByAxisId.get(n)??t.defaultXRange}function vM(e,t){let n=yM(e,e.axisIds??[],t.axesById);return n===void 0?t.defaultYRange:t.yRangesByAxisId.get(n)??t.defaultYRange}function yM(e,t,n){if(t.length!==0)return xM(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 bM(e,t,n){if(t.length!==0)return xM(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 xM(e){return e.type===`scatter`||e.type===`bubble`}function SM(e){return e.type===`bar`||e.type===`bar3D`||e.type===`line`||e.type===`line3D`||e.type===`area`||e.type===`area3D`}function CM(e){return e.xValues&&e.xValues.length>0?e.xValues:e.values.map((e,t)=>t+1)}function wM(e){return e.type===`pie`||e.type===`pie3D`||e.type===`doughnut`||e.type===`ofPie`||e.varyColors===!0}function TM(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=t.every(e=>wM(e.group)),d;d=u&&t.length===1&&a.length>1?a.map((e,t)=>({label:DD(e),color:GD[t%GD.length]})):t.filter((e,t)=>!l.has(t)).map(e=>({label:DD(e.label),color:e.color}));let f=EM(s,c,n,r,i,d.map(e=>e.label)),p=FM(e?.txPr),m=e?.txPr?PM(e.txPr):void 0,h=p.fontFamily!==void 0||p.bold||p.italic||p.fontSize!==void 0||m?{...p,color:m}:void 0;return{rect:f,visible:o,position:s,orientation:c,items:d,textStyle:h}}function EM(e,t,n,r,i,a){let o=a.map(e=>kN+UD(e,AN)+ON);if(t===`horizontal`){let t=o.reduce((e,t)=>e+t,0),a=Math.min(n-PN,Math.max(MN,Math.ceil(t)));return{x:(n-a)/2,y:e===`t`?i?IN:LN:r-26,width:a,height:jN}}let s=o.reduce((e,t)=>t>e?t:e,0),c=Math.min(Math.max(MN,Math.ceil(s)),Math.max(MN,n-64)),l=Math.min(r-FN,Math.max(jN,a.length*jN));return{x:e===`l`?NN:n-c-NN,y:e===`tr`?i?RN:LN:Math.max(i?vN:_N,(r-l)/2),width:c,height:l}}function DM(e,t){let n=[];return OM(n,e.primaryXAxis,t),OM(n,e.primaryYAxis,t),OM(n,e.secondaryXAxis,t),OM(n,e.secondaryYAxis,t),n}function OM(e,t,n){if(!t||t.delete||!t.title)return;let r=AM(t.title);if(!r)return;let i={text:r,fontSize:11,color:NM(t.title),anchor:`middle`,...FM(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 kM(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 AM(e){return e.text?.paragraphs.map(e=>(e.runs??[]).map(e=>e.text).join(``)).join(`
|
|
62
|
-
`)??e.strRef?.cache?.points?.map(e=>e.value).join(``)}function jM(e){return VD(e?.spPr?SO(e.spPr):void 0)??`#444444`}function MM(e){return PM(e?.txPr)??`#555555`}function NM(e){return PM(e.txPr)??`#333333`}function PM(e){return e?zD((typeof e._rawXml==`string`&&e.color===void 0?CO(e):e).color):void 0}function FM(e){if(!e)return{};let t=typeof e._rawXml==`string`&&e.fontFamily===void 0?CO(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 IM(e,t){let n=e.dataLabels,r=t.dataLabels;return n||r?{...n??{},...r??{}}:void 0}function LM(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(uN(r)),e.showPercent&&Number.isFinite(r)&&Number.isFinite(i)&&i>0&&o.push(`${Math.round(Math.abs(r)/i*100)}%`),o.join(a)}function RM(e,t,n,r,i,a,o){if(e.type===`movingAvg`)return WM(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=zM(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?UM(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?qM(c,r.yLogBase):c;if(!Number.isFinite(l))continue;let u;if(y&&S){let e=r.xLogBase?qM(s,r.xLogBase):s;if(!Number.isFinite(e))continue;u=AD(e,S.min,S.max,i)}else u=x(s);let d=kD(l,a,o,i);Number.isFinite(u)&&Number.isFinite(d)&&v.push({x:u,y:d})}return v}function zM(e,t){switch(e.type){case`linear`:{let{slope:e,intercept:n}=BM(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}=BM(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}=BM(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}=BM(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}=BM(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=VM(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 BM(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 VM(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*HM(e,n)*(-a)**+(e-n)}return p}function HM(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 UM(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 WM(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:kD(l,i,a,r)}})}function GM(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 KM(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:qM(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 qM(e,t){return!t||t<=0||t===1||!Number.isFinite(e)||e<=0?e:Math.log(e)/Math.log(t)}function JM(e,t){let n=[],r=/* @__PURE__ */ 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=YM(i);if(!o)continue;let s=JSON.stringify(o),c=r.get(s);if(!c){let e=XM(`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 YM(e){if(e.effectList)return e.effectList;if(typeof e._rawXml==`string`)return sO(e).effectList}function XM(e,t){if(!t)return``;let n=[],r=`SourceGraphic`;if(t.blur&&(n.push(`<feGaussianBlur in="${r}" stdDeviation="${ZM(t.blur.radius??0)}" result="blur0"/>`),r=`blur0`),t.softEdge){let e=ZM(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=ZM(i.blurRadius??38100),[t,a]=QM(i.distance??0,i.direction??0),o=$M(i.color)??`#000000`,s=eN(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=ZM(t.glow.radius),i=$M(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=ZM(t.innerShadow.blurRadius??0),[i,a]=QM(t.innerShadow.distance??0,t.innerShadow.direction??0),o=$M(t.innerShadow.color)??`#000000`,s=eN(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 ZM(e){return e/12700}function QM(e,t){let n=ZM(e),r=t/6e4*(Math.PI/180);return[n*Math.cos(r),n*Math.sin(r)]}function $M(e){let t=zD(e);if(!t)return;let n=ID(t);return n?`#${n}`:t}function eN(e){return!e||e.alpha===void 0?1:Math.max(0,Math.min(1,e.alpha/1e5))}function tN(e,t){return{...e,color:jM(t),width:HD(t?.spPr?SO(t.spPr):void 0)??e.width}}function nN(e){return e?.series??[]}function rN(e){let t=e,n=t.val?.numRef??t.yVal?.numRef;return n?iN(n):oN(t.val?.numLit??t.yVal?.numLit)}function iN(e){return WD(e?.cache?.points??[],e?.cache?.pointCount,NaN,e=>typeof e==`number`&&Number.isFinite(e)?e:NaN)}function aN(e){return e?e.numRef?iN(e.numRef):oN(e.numLit):[]}function oN(e){return e?WD(e.points,e.pointCount,NaN,e=>typeof e==`number`&&Number.isFinite(e)?e:NaN):[]}function sN(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 WD(s.points,s.cache?.pointCount,``,e=>typeof e==`string`?e:typeof e==`number`&&Number.isFinite(e)?uN(e):``)}function cN(e,t){let n=e?.tx;return n?.value??n?.strRef?.cache?.points?.map(e=>e.value).join(``)??`Series ${t+1}`}function lN(e){let t=e.chart.title;if(!t)return;let n=AM(t);return n&&n.length>0?n:void 0}function uN(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 dN(e){if(e.length<=12)return e;let t=Array.from(e);return t.length<=12?e:`${t.slice(0,9).join(``)}\u2026`}function fN(e){return new Promise((t,n)=>{let r=new Image;r.onload=()=>t(r),r.onerror=()=>n(/* @__PURE__ */ Error(`Failed to load chart SVG image`)),r.src=e})}var pN,mN,hN,gN,_N,vN,yN,bN,xN,SN,CN,wN,TN,EN,DN,ON,kN,AN,jN,MN,NN,PN,FN,IN,LN,RN,zN,BN,VN,HN,UN,WN,GN,KN=n((()=>{Zk(),nk(),uk(),Vk(),YA(),cj(),QD(),AO(),pN=58,mN=24,hN=42,gN=18,_N=24,vN=52,yN=22,bN=16,xN=30,SN=24,CN=22,wN=28,TN=12,EN=16,DN=10,ON=32,kN=16,AN=11,jN=18,MN=96,NN=20,PN=48,FN=48,IN=48,LN=20,RN=44,zN=18,BN=10,VN=10,HN=16,UN=6,WN=8,GN=Wj}));function qN(e,t){let n=e.objects?.[t];if(!n)throw new iS(`resolveTopologyObject: topology.objects['${t}'] not found (available: ${Object.keys(e.objects??{}).join(`, `)||`<none>`}).`);if(!Array.isArray(e.arcs))throw new iS(`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=/* @__PURE__ */ 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=YN(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(JN(n,l));break;case`MultiPolygon`:for(let n of e.arcs)for(let e of n)t.push(JN(e,l));break;case`LineString`:t.push(JN(e.arcs,l));break;case`MultiLineString`:for(let n of e.arcs)t.push(JN(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 JN(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 YN(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 XN=n((()=>{oS()}));function ZN(e,t,n,r){let i=t.title??eF(e.chartSpace.chart.title),a=i?ED(i).length:0,o=e.chartSpace.chart.legend,s=ZP(n,r,!!i,a,o!==void 0,o?.legendPos??`r`),c=e.chartSpace.chart.plotArea,l=c.plotAreaRegion?.series??c.series??[],u=$P(e),d=new Map(e.chartSpace.chartData.data.map(e=>[e.id,e])),f=[];return l.forEach((n,r)=>{let i=aP(e,n,s,r,d,u);if(i){f.push({nodes:i});return}let a=oP(n,d),o=a.values,c=a.categories.length>0?a.categories:o.map((e,t)=>String(t+1));for(let e of xP(o,c,n,s,t.regionMap,u))f.push({nodes:e.nodes,mode:e.mode})}),{width:n,height:r,backgroundColor:t.backgroundColor??`#fff`,...i?{title:vP(i,n)}:{},series:f,legend:o?yP(l,n,r,a,o.legendPos):[]}}function QN(e,t={}){let n=t.width??640,r=t.height??360,i=ZN(e,t,n,r),a=[`<svg xmlns="http://www.w3.org/2000/svg" width="${n}" height="${r}" viewBox="0 0 ${n} ${r}">`];i.backgroundColor!==`transparent`&&a.push(`<rect width="100%" height="100%" fill="${An(i.backgroundColor)}"/>`),i.title&&a.push(iP([i.title]));for(let e of i.series)a.push(e.mode===void 0?iP(e.nodes):`<g data-region-map-mode="${An(e.mode)}">${iP(e.nodes)}</g>`);return a.push(iP(i.legend)),a.push(`</svg>`),a.join(``)}async function $N(e,t={}){let n=t.width??640,r=t.height??360;return typeof document<`u`&&typeof Image<`u`?pj(QN(e,{...t,width:n,height:r}),{width:n,height:r,scale:t.scale,dpi:t.dpi}):JA(eP(e,{...t,width:n,height:r}),{width:n,height:r,...t.scale===void 0?{}:{scale:t.scale},...t.dpi===void 0?{}:{dpi:t.dpi}})}function eP(e,t){let n=t.width??640,r=t.height??360,i=ZN(e,t,n,r),a=[];i.backgroundColor!==`transparent`&&a.push(OE({x:0,y:0,width:n,height:r},{fill:Z(i.backgroundColor)})),i.title&&a.push(i.title);for(let e of i.series)a.push(...e.nodes);return a.push(...i.legend),{width:n,height:r,children:a}}function tP(e){let t=e.chartSpace.chart.plotArea,n=t.plotAreaRegion?.series??t.series??[];if(n.length===0)return!1;let r=new Set(nF);return n.every(e=>r.has(e.layoutId))}function nP(e,t,n,r={}){let i=ZN(t,{...r.title===void 0?{}:{title:r.title},...r.regionMap===void 0?{}:{regionMap:r.regionMap}},n.width,n.height);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}});let a=Rk(e,n.x,n.y,n.height);i.title&&rP(a,[i.title]);for(let e of i.series)rP(a,e.nodes);return rP(a,i.legend),e}function rP(e,t){for(let n of t)YO(n,kE,e)}function iP(e){let t=new lk;for(let n of e)YO(n,kE,t);return t.markup()}function aP(e,t,n,r,i,a){let o=oP(t,i),s=o.values,c=o.categories.length>0?o.categories:s.map((e,t)=>String(t+1));switch(t.layoutId){case`funnel`:return pP(s,c,t,n);case`waterfall`:return fP(s,c,t,n,a);case`clusteredColumn`:return t.layoutPr?.paretoLine?dP(s,c,n,a,{drawColumns:!0}):uP(s,t,n,a);case`paretoLine`:return dP(s,c,n,a,{drawColumns:!1});case`boxWhisker`:return mP(s,c,t,n,a);case`treemap`:return yk(hP(HP(o.hierarchy,c,s),n));case`sunburst`:return xk(gP(HP(o.hierarchy,c,s),n));case`regionMap`:return;default:return lP(s,c,n,GD[r%GD.length],a)}}function oP(e,t){let n=(e.dataRefs??[]).map(e=>e.dataId===void 0?void 0:t.get(e.dataId)).filter(e=>!!e),r=()=>{let e=n.find(e=>e.numDim&&(e.numDim.type===`val`||e.numDim.type===`y`));if(e)return cP(e);let t=n.find(e=>e.numDim?.type===`size`);if(t)return cP(t);let r=n.find(e=>e.numDim);return r?cP(r):[]},i=()=>{let e=n.find(e=>e.strDim?.type===`cat`);if(e)return sP(e);let t=n.find(e=>e.strDim);return t?sP(t):[]},a=n.find(e=>e.strDim?.type===`cat`)??n.find(e=>e.strDim),o=n.filter(e=>e.strDim&&e!==a).map(e=>sP(e));return{values:r(),categories:i(),hierarchy:o}}function sP(e){let t=(e.strDim?.levels??[])[0];return t?WD(t.points,t.ptCount,void 0,e=>typeof e==`string`?e:void 0).map((e,t)=>e??String(t+1)):[]}function cP(e){let t=(e.numDim?.levels??[])[0];return t?WD(t.points,t.ptCount,NaN,e=>typeof e==`number`&&Number.isFinite(e)?e:NaN):[]}function lP(e,t,n,r,i){return vk(e,t,n,r,QP(e,i))}function uP(e,t,n,r){let i=RP(e,t.layoutPr?.binning);return lP(i.map(e=>e.count),i.map(e=>e.label),n,GD[0],r)}function dP(e,t,n,r,i={}){let{drawColumns:a=!0}=i,o=e.map((e,n)=>({value:e,category:t[n]??String(n+1)})).filter(e=>Number.isFinite(e.value)).sort((e,t)=>t.value-e.value),s=o.map(e=>e.value),c=[];return a&&c.push(...lP(s,o.map(e=>e.category),n,GD[0],r)),c.push(...Ek(s,n)),c}function fP(e,t,n,r,i){let a=new Set(n.layoutPr?.subtotals?.map(e=>e.idx)??[]),o=0,s=e.map((e,t)=>{if(a.has(t)){let e=o;return{start:0,end:e,value:e,total:!0,gap:!1}}if(!Number.isFinite(e))return{start:o,end:o,value:0,total:!1,gap:!0};let n=o,r=o+e;return o=r,{start:n,end:r,value:e,total:!1,gap:!1}}),c=QP(s.flatMap(e=>[e.start,e.end]),i),l=s.map(e=>({start:e.start,end:e.end,gap:e.gap,colour:e.gap?`#BFBFBF`:e.total?tF(n.layoutPr?.totalSpPr,GD[2]):e.value>=0?tF(n.layoutPr?.increaseSpPr,`#70AD47`):tF(n.layoutPr?.decreaseSpPr,`#C00000`)})),u=wk(l,t,r,c);return n.layoutPr?.connectorLines!==!1&&u.push(...Tk(l,r,c)),u}function pP(e,t,n,r){let i=/* @__PURE__ */ new Map;for(let e of n.dataPt??[])e.spPr&&i.set(e.idx,tF(e.spPr,GD[e.idx%GD.length]));return Sk(e,r,e=>i.get(e)??GD[e%GD.length],(e,r)=>qP(n,{category:t[e]??String(e+1),value:r,seriesName:YP(n)}))}function mP(e,t,n,r,i){let a=t.length>0?zP(e,t):/* @__PURE__ */ new Map([[`Values`,e]]),o=QP(Array.from(a.values()).flat(),i),s=n.layoutPr?.quartileMethod??`exclusive`;return Dk(Array.from(a.keys()).map(e=>({key:e,stats:BP(a.get(e)??[],s)})),r,o,{showMeanMarker:n.layoutPr?.showMeanMarker!==!1,showMeanLine:!!n.layoutPr?.showMeanLine,showInnerPoints:!!n.layoutPr?.showInnerPoints,showOutlierPoints:n.layoutPr?.showOutlierPoints!==!1})}function hP(e,t){return UP(e.children.length>0?e.children:[{...e,name:`Values`}],t).filter(e=>e.rect.width>.5&&e.rect.height>.5).map((e,t)=>({rect:e.rect,color:GD[t%GD.length],label:e.rect.width>40&&e.rect.height>18?e.node.name:void 0}))}function gP(e,t){let n=[],r=t.x+t.width/2,i=t.y+t.height/2,a=Math.max(1,KP(e)-1),o=Math.min(t.width,t.height)/2.25;return _P(n,e,r,i,0,Math.PI*2,0,a,o,-1),n}function _P(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:GD[l%GD.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=_P(e,u,n,r,p,m,o+1,s,c,d+1),p=m}return d}function vP(e,t){return kk(t/2,vF,ED(e).map(e=>e.text),_F,`#222222`,`middle`,_F*JD)}function yP(e,t,n,r,i){let a=[];for(let o of JP(e,t,n,r,i))a.push(OE({x:o.swatchX,y:o.swatchY,width:o.swatchSize,height:o.swatchSize},{fill:Z(o.color)})),a.push(hk(o.labelX,o.labelBaselineY,o.label,xF,SF,`start`));return a}function bP(e){return OE(e,{fill:Z(`#F7FBFF`),stroke:Z(`#C7DFF2`),strokeWidth:1},14)}function xP(e,t,n,r,i,a){let o=QP(e,a);if(i?.topology){let a=SP(e,t,n,r,o,i);if(a)return[{mode:`topojson`,nodes:a}]}let s=e.map((e,n)=>({value:e,label:t[n]??String(n+1),coord:kP(t[n]??String(n+1))})),c=s.filter(e=>!!e.coord);if(c.length===0)return[{mode:`tile-fallback`,nodes:LP(s,o,r)}];let l=[bP(r),...jP(r)],u=n.layoutPr?.regionLabels??`bestFit`,d=n.layoutPr?.projection??`miller`,f=MP(NP(c.filter(e=>Number.isFinite(e.value)).map(e=>wP(e.coord.lon,e.coord.lat,d))),r);for(let e of c){let t=CP(e.coord.lon,e.coord.lat,d,r,f);if(!Number.isFinite(e.value))continue;let n=OD((e.value-o.min)/Math.max(1e-9,o.max-o.min)),i=6+Math.sqrt(n)*14;l.push({kind:`ellipse`,cx:t.x,cy:t.y,rx:i,ry:i,paint:{fill:{...Z(RD(`#D9EAF7`,`#2F75B5`,n)),a:.92},stroke:{...Z(`#FFFFFF`),a:.92},strokeWidth:1.5}}),(u===`showAll`||u===`bestFit`&&i>=9)&&l.push(hk(t.x,t.y+3,e.label,9,`#1F3B53`,`middle`))}let p=[{mode:`geographic-preview`,nodes:l}],m=s.filter(e=>!e.coord);if(m.length>0){let e=Math.min(52,r.height*.25);p.push({mode:`unmatched`,nodes:LP(m,o,{x:r.x+8,y:r.y+r.height-e-8,width:r.width-16,height:e})})}return p}function SP(e,t,n,r,i,a){let o;try{o=qN(a.topology,a.objectName)}catch{return}if(o.length===0)return;let s=(()=>{let e=a.match??`id`;return Array.isArray(e)?e.length>0?e:[`id`]:[e]})(),c=e=>{let t=[];for(let n of s){let r=n.startsWith(`property:`)?e.properties?.[n.slice(9)]:e.id;r!=null&&t.push(String(r).trim().toLowerCase())}return t},l=/* @__PURE__ */ new Map;if(t.forEach((t,n)=>{let r=OP(t);r&&l.set(r,e[n])}),l.size===0)return;let u=a.projection??n.layoutPr?.projection??`miller`,d=TP(o,u);if(!d)return;let f=MP(d,r),p=[bP(r)],m=/* @__PURE__ */ new Map;for(let e of o){let t=c(e),n;for(let e of t){let t=l.get(e);if(t!==void 0){n={key:e,value:t};break}}m.set(e,n)}let h=a.strokeColor??`#FFFFFF`,g=0;for(let e of o){let t=m.get(e),n=t?(()=>{g++;let e=(t.value-i.min)/Math.max(1e-9,i.max-i.min);return RD(`#D9EAF7`,`#2F75B5`,Math.max(0,Math.min(1,e)))})():`#E9EEF3`,a=EP(e.rings,u,r,f);a&&p.push({kind:`path`,commands:a,paint:{fill:Z(n),stroke:Z(h),strokeWidth:.5}})}if(g===0)return;let _=/* @__PURE__ */ new Map;t.forEach(e=>{let t=OP(e);t&&_.set(t,e)});let v=n.layoutPr?.regionLabels??`bestFit`;if(v===`showAll`||v===`bestFit`)for(let e of o){let t=m.get(e);if(!t||e.rings.length===0)continue;let n=DP(e.rings[0]);if(!n)continue;let i=CP(n[0],n[1],u,r,f),a=_.get(t.key)??(typeof e.id==`string`?e.id:String(e.id??``));p.push(hk(i.x,i.y+3,a,9,`#1F3B53`,`middle`))}return p}function CP(e,t,n,r,i){let a=wP(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 wP(e,t,n){let r=Math.max(-180,Math.min(180,e)),i=n===`mercator`||n===`miller`?Math.max(-aF,Math.min(aF,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}=PP(r,i);return{x:e,y:t}}case`robinson`:{let{nx:e,ny:t}=IP(r,i);return{x:e-.5,y:t-.5}}default:return{x:r/360,y:-i/180}}}function TP(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}=wP(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 EP(e,t,n,r){let i=[];for(let a of e){if(a.length<2)continue;let e=a.map(([e,i])=>CP(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.length>0?i:void 0}function DP(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 OP(e){return e.trim().toLowerCase()}function kP(e){return iF.get(AP(e))}function AP(e){return e.trim().toLowerCase().replace(/\b(the|republic of)\b/g,``).replace(/[^a-z0-9]+/g,` `).trim()}function jP(e){let t={stroke:Z(`#E5F0FA`),strokeWidth:1},n=[];for(let r=1;r<4;r++){let i=e.x+e.width*r/4;n.push(mk(i,e.y+8,i,e.y+e.height-8,t))}for(let r=1;r<3;r++){let i=e.y+e.height*r/3;n.push(mk(e.x+8,i,e.x+e.width-8,i,t))}return n}function MP(e,t){let n=Math.max(1,t.width-28),r=Math.max(1,t.height-28),i=e.maxX-e.minX,a=e.maxY-e.minY;if(i<=0||a<=0)return e;let o=n/r,s=i/a;if(Math.abs(s-o)<1e-9)return e;if(s<o){let t=(a*o-i)/2;return{...e,minX:e.minX-t,maxX:e.maxX+t}}let c=(i/o-a)/2;return{...e,minY:e.minY-c,maxY:e.maxY+c}}function NP(e){let t=1/0,n=-1/0,r=1/0,i=-1/0;for(let a of e)t=Math.min(t,a.x),n=Math.max(n,a.x),r=Math.min(r,a.y),i=Math.max(i,a.y);if(!Number.isFinite(t)||!Number.isFinite(r))return{minX:-.5,maxX:.5,minY:-.5,maxY:.5};let a=(e,t)=>{let n=(e+t)/2,r=Math.max(.05,(t-e)/2*1.2);return{low:n-r,high:n+r}},o=a(t,n),s=a(r,i);return{minX:o.low,maxX:o.high,minY:s.low,maxY:s.high}}function PP(e,t){let n=t*Math.PI/180,r=e*Math.PI/180,i=Math.sqrt(Math.max(0,cF-2*sF*Math.sin(n)))/sF,a=sF*r;return{rawX:i*Math.sin(a),rawY:lF-i*Math.cos(a)}}function FP(e){let t=Math.min(uF.length-1,e/5),n=Math.floor(t),r=Math.min(uF.length-1,n+1),i=t-n;return{plen:uF[n]+(uF[r]-uF[n])*i,pdfe:dF[n]+(dF[r]-dF[n])*i}}function IP(e,t){let{plen:n,pdfe:r}=FP(Math.abs(t)),i=t>=0?-1:1;return{nx:.5+e/180*n*.5,ny:.5+i*r*.5072*.5}}function LP(e,t,n){let r=Math.max(1,e.length),i=Math.ceil(Math.sqrt(r)),a=Math.ceil(r/i),o=n.width/i,s=n.height/a,c=Math.min(o,s)*.38,l=[];return e.forEach((e,r)=>{if(!Number.isFinite(e.value))return;let a=n.x+r%i*o+o/2,u=n.y+Math.floor(r/i)*s+s/2,d=OD((e.value-t.min)/Math.max(1e-9,t.max-t.min));l.push(gk(Ok(a,u,c),{fill:Z(RD(`#D9EAF7`,`#2F75B5`,d)),stroke:Z(`#FFFFFF`),strokeWidth:1})),o>34&&s>22&&l.push(hk(a,u+3,e.label,9,`#1F3B53`,`middle`))}),l}function RP(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=/* @__PURE__ */ 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 iS(`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:`<=${ND(t.underflow)}`,count:0});let f=1e3,p=Math.ceil((u-l)/c);if(p>f)throw new iS(`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:`${ND(t)}-${ND(n)}`,count:0})}t?.overflow!==void 0&&d.push({low:t.overflow,high:1/0,label:`>${ND(t.overflow)}`,count:0}),d.length===0&&d.push({low:l,high:l+c,label:`${ND(l)}-${ND(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 zP(e,t){let n=/* @__PURE__ */ 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 BP(e,t){let n=e.slice().filter(Number.isFinite).sort((e,t)=>e-t),r=n.length>0?n:[0],i=VP(r,.25,t),a=VP(r,.5,t),o=VP(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 VP(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 HP(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 UP(e,t){let n=[];WP(e.filter(e=>Math.max(0,e.value)>0),t,n);let r=n.filter(e=>e.node.children.length>0&&e.rect.width>18&&e.rect.height>18);for(let e of r)for(let t of UP(e.node.children,jD(e.rect,4)))n.push(t);return n}function WP(e,t,n){if(e.length===0||t.width<=0||t.height<=0)return;let r=[...e].sort((e,t)=>Math.max(0,t.value)-Math.max(0,e.value)),i=r.reduce((e,t)=>e+Math.max(0,t.value),0);if(i<=0)return;let a=t.width*t.height/i,o={...t},s=0;for(;s<r.length;){let e=Math.min(o.width,o.height),t=[r[s]],i=Math.max(0,r[s].value)*a;for(s++;s<r.length;){let n=Math.max(0,r[s].value)*a;if(GP(t,i,e,a)<=GP([...t,r[s]],i+n,e,a))break;t.push(r[s]),i+=n,s++}let c=e>0?i/e:0,l=o.width<o.height,u=0;for(let e of t){let t=Math.max(0,e.value)*a,r=c>0?t/c:0;n.push({node:e,rect:l?{x:o.x+u,y:o.y,width:r,height:c}:{x:o.x,y:o.y+u,width:c,height:r}}),u+=r}if(o=l?{x:o.x,y:o.y+c,width:o.width,height:o.height-c}:{x:o.x+c,y:o.y,width:o.width-c,height:o.height},o.width<=0||o.height<=0)break}}function GP(e,t,n,r){if(t<=0||n<=0)return 1/0;let i=t/n,a=0;for(let t of e){let e=Math.max(0,t.value)*r;if(e<=0)return 1/0;let n=e/i;a=Math.max(a,Math.max(i/n,n/i))}return a}function KP(e){let t=0;for(let n of e.children){let e=KP(n);e>t&&(t=e)}return 1+t}function qP(e,t){let n=e.dataLabels;if(!n)return;let r=n.visibility??{},i=[];if(r.seriesName&&t.seriesName&&i.push(t.seriesName),r.categoryName&&t.category!==void 0&&i.push(t.category),r.value&&t.value!==void 0&&Number.isFinite(t.value)&&i.push(ND(t.value)),i.length!==0)return i.join(n.separator??`, `)}function JP(e,t,n,r,i){let a=i??`r`,o=r>0,s=Math.max(0,r-1),c=XP(t,n,o,r,!0,a),l=e=>18+Math.max(28,e.length*6)+14,u=e.map((e,t)=>DD(YP(e)??`Series ${t+1}`)),d=e=>GD[e%GD.length];if(a===`b`||a===`t`){let e=u.reduce((e,t)=>e+l(t),0)-14,r=Math.max(6,(t-e)/2),i=a===`b`?n-22:o?40+s*yF:10,c=[],f=r;return u.forEach((e,t)=>{c.push({swatchX:f,swatchY:i,swatchSize:10,labelX:f+10+8,labelBaselineY:i+10-1,label:e,color:d(t)}),f+=l(e)}),c}if(a===`l`){let e=Math.min(8,c.left*.14);return u.map((t,n)=>{let r=(o?44:20)+n*18;return{swatchX:e,swatchY:r,swatchSize:10,labelX:e+10+4,labelBaselineY:r+9,label:t,color:d(n)}})}let f=a===`tr`?o?44:16:o?44:20,p=t-c.right+Math.min(12,c.right*.09);return u.map((e,t)=>{let n=f+t*18;return{swatchX:p,swatchY:n,swatchSize:10,labelX:p+10+8,labelBaselineY:n+9,label:e,color:d(t)}})}function YP(e){let t=e.tx;if(t){if(t.rich)return t.rich.paragraphs.map(e=>(e.runs??[]).map(e=>e.text).join(``)).join(`
|
|
63
|
-
`);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
|
|
64
|
-
`);if(t)return t;let n=e.strRef?.cache?.points?.[0]?.value;if(typeof n==`string`&&n.length>0)return n}function tF(e,t){return BD(e?xO(e):void 0,t)}var nF,rF,iF,aF,oF,sF,cF,lF,uF,dF,fF,pF,mF,hF,gF,_F,vF,yF,bF,xF,SF,CF=n((()=>{qO(),nk(),uk(),jE(),Pk(),Vk(),KN(),YA(),XN(),QD(),AO(),oS(),nF=[`sunburst`,`treemap`,`funnel`,`waterfall`,`boxWhisker`,`clusteredColumn`,`paretoLine`,`regionMap`],rF={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}},iF=new Map(Object.entries(rF).map(([e,t])=>[AP(e),t])),aF=85,oF=20*Math.PI/180,sF=(Math.sin(oF)+Math.sin(60*Math.PI/180))/2,cF=Math.cos(oF)*Math.cos(oF)+2*sF*Math.sin(oF),lF=Math.sqrt(cF)/sF,uF=[1,.9986,.9954,.99,.9822,.973,.96,.9427,.9216,.8962,.8679,.835,.7986,.7597,.7186,.6732,.6213,.5722,.5322],dF=[0,.062,.124,.186,.248,.31,.372,.434,.4958,.5571,.6176,.6769,.7346,.7903,.8435,.8936,.9394,.9761,1],fF=58,pF=128,mF=46,hF=12,gF=44,_F=18,vF=26,yF=22,bF=24,xF=10,SF=`#555`}));function wF(e,t){return{_model:e,_workbook:t}}function TF(e){return e._model.name}function EF(e){return e._model.state}function DF(e){return e._model.chartNumber?(e._workbook?lE(e._workbook,e._model.chartNumber):void 0)?.model:void 0}function OF(e){return e._model.chartExNumber?(e._workbook?uE(e._workbook,e._model.chartExNumber):void 0)?.model:void 0}function kF(e){return e._model}function AF(e){return e._model.pageMargins}function jF(e){return e._model.pageSetup}var MF=n((()=>{pE()}));function NF(e,t,n){let r=[],{width:i,height:a,padding:o}=n,s=zF(e.colorSeries)??`#376091`,c=zF(e.colorNegative)??`#D00000`,l=zF(e.colorAxis)??`#000000`,u=zF(e.colorMarkers)??s,d=zF(e.colorHigh)??u,f=zF(e.colorLow)??u,p=zF(e.colorFirst)??u,m=zF(e.colorLast)??u,h=t;if(h.length===0)return r;let{min:g,max:_}=PF(e,h,n.groupMin??LF([h]),n.groupMax??RF([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},T=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,E;if(e.type===`stacked`){let e=x/2;v>=0?(C=y+e-e,E=e):(C=y+e,E=e)}else{let e=g<=0&&_>=0?T(0):y+x,t=T(v);C=Math.min(e,t),E=Math.abs(e-t)}r.push({kind:`rect`,x:b,y:C,width:n,height:Math.max(E,1),color:S})}}else{let t=e.displayEmptyCellsAs??`gap`,n=[];for(let e=0;e<h.length;e++){let r=h[e],i=w(e,h.length);Number.isFinite(r)?n.push({x:i,y:T(r),v:r}):t===`zero`?n.push({x:i,y:T(0),v:0}):n.push(void 0)}let i=n.filter(e=>!!e),a=t===`gap`?n.reduce((e,t)=>t?(e.length===0&&e.push([]),e[e.length-1].push(t),e):(e.length>0&&e[e.length-1].length>0&&e.push([]),e),[]):[i];for(let t of a)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});if(e.markers)for(let e of i)r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.5,color:u});if(i.length>0){if(e.first){let e=i[0];r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:p})}if(e.last){let e=i[i.length-1];r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:m})}if(e.high){let e=i.reduce((e,t)=>t.v>e.v?t:e,i[0]);r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:d})}if(e.low){let e=i.reduce((e,t)=>t.v<e.v?t:e,i[0]);r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:f})}if(e.negative)for(let e of i)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=T(0)),t!==void 0&&r.push({kind:`axis`,x1:v,y1:t,x2:v+b,y2:t,color:l})}return r}function PF(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=FF(t),e.maxAxisType===`group`?a=r:e.maxAxisType===`custom`&&e.manualMax!==void 0?(a=e.manualMax,s=!0):a=IF(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 FF(e){let t=1/0;for(let n of e)Number.isFinite(n)&&n<t&&(t=n);return t}function IF(e){let t=-1/0;for(let n of e)Number.isFinite(n)&&n>t&&(t=n);return t}function LF(e){let t=1/0;for(let n of e){let e=FF(n);e<t&&(t=e)}return Number.isFinite(t)?t:NaN}function RF(e){let t=-1/0;for(let n of e){let e=IF(n);e>t&&(t=e)}return Number.isFinite(t)?t:NaN}function zF(e){if(e){if(e.rgb)return`#${e.rgb.length===8?e.rgb.slice(2):e.rgb}`;if(e.theme!==void 0){let t=ip[e.theme];return t?`#${t}`:`#000000`}}}var BF=n((()=>{op()}));function VF(e,t){let n={worksheet:e};return t&&UF(n,t),n}function HF(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 aS(`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:BO(t.tl),br:t.br?BO(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 aS(`Invalid Image Type`)}}function UF(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=sS.decode(r);`top`in t&&(e.range={tl:zO(e.worksheet,{col:t.left,row:t.top},-1),br:zO(e.worksheet,{col:t.right,row:t.bottom},0),editAs:`oneCell`})}else if(r&&`pos`in r&&r.pos)e.range={tl:zO(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:zO(e.worksheet,t,typeof t==`string`?-1:0),br:n?zO(e.worksheet,n,0):void 0,ext:r.ext,editAs:r.editAs,hyperlinks:i||(`hyperlinks`in r?r.hyperlinks:void 0)}}}}var WF=n((()=>{VO(),oS(),cS()}));function GF(e,t){let n;try{n=HF(VF(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 KF(e){return e._media.filter(e=>e.type===`image`)}function qF(e){return[...e._charts]}function JF(e){return[...e._sparklineGroups]}function YF(e){return e._watermark}function XF(e){let t=GS();return e._rows.forEach(e=>{if(e){let n=WT(e);n&&XS(t,e.number,n.min,e.number,n.max)}}),t}function ZF(e){return Object.values(e._merges).some(Boolean)}function QF(e){let t={id:e.id,name:XT(e),orderNo:e.orderNo,retainedComments:e._retainedComments,styledBlankRanges:e._styledBlankRanges,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,opaqueRels:e._opaqueRels,chartsheetPlaceholder:e._chartsheetPlaceholder,xlsbDrawingRelationshipId:e._xlsbDrawingRelationshipId,worksheetNamespaceAttributes:e._worksheetNamespaceAttributes,worksheetMcIgnorable:e._worksheetMcIgnorable,sortStateAutoFilterRef:e._sortStateAutoFilterRef,media:e._media.map(e=>HF(e)),shapes:e._shapes.map(t=>GF(e,t)),sheetProtection:e.sheetProtection,tables:Object.values(e.tables).map(e=>iE(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=RT(e._columns);let n=t.rows=[],r=t.dimensions=GS();return(e._rows??[]).forEach(e=>{let t=e&&JT(e);t&&(XS(r,t.number,t.min,t.number,t.max),n.push(t))}),t.mergeCells=Object.values(e._merges).map(e=>tC(e)),t}var $F=n((()=>{BT(),WF(),aC(),YT(),sE(),rE()}));function eI(e){return e<128?EI[e]:String.fromCodePoint(e)}function tI(e){return e===lI||e===sI||e===cI||e===oI}function nI(e){return e===dI||e===mI}function rI(e){return e<128?DI[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 iI(e){return e<128?OI[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 aI(e){return e>=lI&&e<=55295||e===sI||e===cI||e===oI||e>=57344&&e<=65533||e>=65536&&e<=1114111}var oI,sI,cI,lI,uI,dI,fI,pI,mI,hI,gI,_I,vI,yI,bI,xI,SI,CI,wI,TI,EI,DI,OI,kI,AI,jI,MI,NI,PI,FI,II,LI,RI,zI,BI,VI,HI,UI,WI,GI,KI,qI,JI,YI,XI,ZI,QI,$I,eL,tL,nL,rL=n((()=>{wD(),oI=9,sI=10,cI=13,lI=32,uI=33,dI=34,fI=35,pI=38,mI=39,hI=45,gI=47,_I=59,vI=60,yI=61,bI=62,xI=63,SI=91,CI=93,wI=65533,TI=`�`,EI=/* @__PURE__ */ (()=>{let e=Array(128);for(let t=0;t<128;t++)e[t]=String.fromCharCode(t);return e})(),DI=/* @__PURE__ */ (()=>{let e=/* @__PURE__ */ 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})(),OI=/* @__PURE__ */ (()=>{let e=/* @__PURE__ */ 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})(),kI={amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`},AI=0,jI=1,MI=2,NI=3,PI=4,FI=5,II=6,LI=7,RI=8,zI=9,BI=10,VI=11,HI=12,UI=13,WI=14,GI=15,KI=16,qI=17,JI=18,YI=19,XI=20,ZI=21,QI=22,$I=23,eL=24,tL=25,nL=class{constructor(e){this._entityExpansionCount=0,this._nsStack=[],this.state=AI,this.chunk=``,this.i=0,this.prevI=0,this.text=``,this.name=``,this.q=null,this.tags=[],this.tag=null,this.duplicateAttributes=null,this.entity=``,this.entityReturnState=AI,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={...kI},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=AI,this.text=``,this.name=``,this.q=null,this.tags=[],this.tag=null,this.duplicateAttributes=null,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,t){return new CD(e,{line:this.trackPosition?this.line:void 0,column:this.trackPosition?this.column:void 0,fileName:this.fileName,limit:t})}fail(e,t){let n=this.makeError(e,t);if(this._handlers.error)this._handlers.error(n);else throw n;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===cI||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 wI;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+=TI),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+=TI,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===oI)return this.trackPosition&&this.column++,n;if(n===cI)return e.charCodeAt(t+1)===sI&&(this.i=t+2),this.trackPosition&&(this.line++,this.column=0,this.positionAtNewLine=this.position),sI;if(n===sI)return this.trackPosition&&(this.line++,this.column=0,this.positionAtNewLine=this.position),sI;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 AI:this.sText();break;case jI:this.sOpenWaka();break;case MI:this.sOpenWakaBang();break;case NI:this.sOpenTag();break;case PI:this.sOpenTagSlash();break;case FI:this.sAttrib();break;case II:this.sAttribName();break;case LI:this.sAttribNameSawWhite();break;case RI:this.sAttribValue();break;case zI:this.sAttribValueQuoted();break;case BI:this.sAttribValueClosed();break;case VI:this.sCloseTag();break;case HI:this.sCloseTagSawWhite();break;case UI:this.sComment();break;case WI:this.sCommentEnding();break;case GI:this.sCommentEnded();break;case KI:this.sCData();break;case qI:this.sCDataEnding();break;case JI:this.sCDataEnding2();break;case YI:this.sPI();break;case XI:this.sPIEnding();break;case ZI:this.sDoctype();break;case QI:this.sDoctypeQuote();break;case $I:this.sDoctypeDTD();break;case eL:this.sDoctypeDTDQuoted();break;case tL: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!==vI&&r!==pI){this.i++,this.trackPosition&&this.column++;continue}if(r===oI){this.i++,this.trackPosition&&this.column++;continue}if(r===vI){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=jI;return}if(r===pI){this.prevI=this.i,this.i++,this.trackPosition&&this.column++,n&&(this.text+=e.slice(t,this.prevI)),this.state=tL,this.entityReturnState=AI,this.entity=``;return}if(r===sI){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)+`
|
|
65
|
-
`),t=this.i;continue}if(r===
|
|
66
|
-
`),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===
|
|
67
|
-
`),t=this.i):tI(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(rI(e)){this.closedRoot&&!this.fragment&&this.fail(`documents may contain only one root element`),this.state=NI,this.name=eI(e);return}switch(e){case gI:this.state=VI,this.name=``;break;case uI:this.state=MI,this.openWakaBang=``;break;case xI:this.state=YI,this.text=``;break;default:this.fail(`unexpected character in tag`),this.state=AI}}}sOpenWakaBang(){let e=this.getCode();if(e!==-1)switch(this.openWakaBang+=eI(e),this.openWakaBang){case`[CDATA[`:this.state=KI,this.text=``,this.openWakaBang=``;break;case`--`:this.state=UI,this.text=``,this.openWakaBang=``;break;case`DOCTYPE`:this.state=ZI,this.text=``,this.openWakaBang=``;break;default:this.openWakaBang.length>=7&&(this.fail(`incorrect syntax`),this.state=AI)}}sOpenTag(){let{chunk:e}=this,t=this.i,n=this.i;for(;n<e.length;){let t=e.charCodeAt(n);if(t<128?OI[t]===1:iI(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.duplicateAttributes=null,this.sawRoot=!0,r===bI?this.openTag():r===gI?this.state=PI:tI(r)?this.scanAttributes():(this.fail(`unexpected character in tag`),this.state=FI))}scanAttributes(){let{chunk:e,trackPosition:t}=this,n=e.length,r=this.i,i=r;for(;;){for(;i<n;){let n=e.charCodeAt(i);if(n===lI||n===oI||!t&&(n===sI||n===cI))i++;else break}if(i>=n)break;let a=e.charCodeAt(i);if(a===bI){this.finishScan(r,i+1),this.openTag();return}if(a===gI){if(i+1<n&&e.charCodeAt(i+1)===bI){this.finishScan(r,i+2),this.openSelfClosingTag();return}break}if(a>=128||DI[a]!==1)break;let o=i;for(i++;i<n&&(a=e.charCodeAt(i),a<128&&OI[a]===1);)i++;let s=i+1<n&&e.charCodeAt(i)===yI?e.charCodeAt(i+1):-1;if(s!==dI&&s!==mI){i=o;break}let c=i+2,l=c;for(;l<n&&(a=e.charCodeAt(l),a>=32&&a<=126&&a!==s&&a!==pI&&a!==vI);)l++;if(l>=n||a!==s){i=o;break}if(this.addAttribute(e.slice(o,i),e.slice(c,l)),i=l+1,a=i<n?e.charCodeAt(i):-1,a!==lI&&a!==oI&&a!==sI&&a!==cI&&a!==bI&&a!==gI){this.finishScan(r,i),this.state=BI;return}}this.finishScan(r,i),this.state=FI}finishScan(e,t){this.i=t,this.trackPosition&&(this.column+=t-e)}sOpenTagSlash(){let e=this.getCode();e!==-1&&(e===bI?this.openSelfClosingTag():(this.fail(`expected >`),this.state=FI))}sAttrib(){let e=this.skipSpaces();e!==-1&&(rI(e)?(this.name=eI(e),this.state=II):e===bI?this.openTag():e===gI?this.state=PI: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?OI[t]===1:iI(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===yI?this.state=RI:tI(r)?this.state=LI:r===bI?(this.fail(`attribute without value`),this.addAttribute(this.name,this.name),this.name=``,this.openTag()):this.fail(`unexpected character in attribute name`))}sAttribNameSawWhite(){let e=this.skipSpaces();e!==-1&&(e===yI?this.state=RI:(this.fail(`attribute without value`),this.name=``,this.text=``,e===bI?this.openTag():rI(e)?(this.name=eI(e),this.state=II):(this.fail(`unexpected character`),this.state=FI)))}sAttribValue(){let e=this.skipSpaces();e!==-1&&(nI(e)?(this.q=e,this.text=``,this.state=zI):(this.fail(`unquoted attribute value`),this.state=AI))}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!==pI&&r!==vI){this.i++,this.trackPosition&&this.column++;continue}if(r===e){this.prevI=this.i,this.i++,this.trackPosition&&this.column++,this.addAttribute(this.name,this.text+t.slice(n,this.prevI)),this.name=``,this.text=``,this.q=null,this.state=BI;return}if(r===pI){this.prevI=this.i,this.i++,this.trackPosition&&this.column++,this.text+=t.slice(n,this.prevI),this.state=tL,this.entityReturnState=zI,this.entity=``;return}if(r===vI){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.addAttribute(this.name,this.text),this.name=``,this.text=``,this.q=null,this.unget(),this.state=AI;return}if(r===oI||r===sI){this.prevI=this.i,this.i++,r===sI&&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===cI){this.prevI=this.i,this.i++,t.charCodeAt(this.i)===sI&&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&&(tI(e)?this.state=FI:e===bI?this.openTag():e===gI?this.state=PI:rI(e)?(this.fail(`no whitespace between attributes`),this.name=eI(e),this.state=II):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;rI(e)?this.name=eI(e):this.fail(`unexpected character in close tag`);return}let n=e.charCodeAt(t);if(n<128?DI[n]!==1:!rI(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?OI[n]===1:iI(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===bI?this.closeTag():tI(r)?this.state=HI:this.fail(`unexpected character in close tag`))}sCloseTagSawWhite(){let e=this.skipSpaces();e!==-1&&(e===bI?this.closeTag():this.fail(`unexpected character in close tag`))}sComment(){let e=this.getCode();e!==-1&&(e===hI?this.state=WI:this.text+=eI(e))}sCommentEnding(){let e=this.getCode();e!==-1&&(e===hI?this.state=GI:(this.text+=`-`+eI(e),this.state=UI))}sCommentEnded(){let e=this.getCode();e!==-1&&(e===bI?(this._handlers.comment?.(this.text),this.text=``,this.state=AI):e===hI?this.text+=`-`:(this.fail(`malformed comment`),this.text+=`--`+eI(e),this.state=UI))}sCData(){let e=this.getCode();e!==-1&&(e===CI?this.state=qI:this.text+=eI(e))}sCDataEnding(){let e=this.getCode();e!==-1&&(e===CI?this.state=JI:(this.text+=`]`+eI(e),this.state=KI))}sCDataEnding2(){let e=this.getCode();e!==-1&&(e===bI?(this._handlers.cdata?this._handlers.cdata(this.text):this._handlers.text&&this.text.length>0&&this._handlers.text(this.text),this.text=``,this.state=AI):e===CI?this.text+=`]`:(this.text+=`]]`+eI(e),this.state=KI))}sPI(){let e=this.getCode();e!==-1&&(e===xI?this.state=XI:this.text+=eI(e))}sPIEnding(){let e=this.getCode();if(e!==-1){if(e===bI){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=AI}else e===xI?this.text+=`?`:(this.text+=`?`+eI(e),this.state=YI)}}sDoctype(){let e=this.getCode();e!==-1&&(e===bI?(this.text=``,this.state=AI):nI(e)?(this.q=e,this.state=QI):e===SI?this.state=$I:this.text+=eI(e))}sDoctypeQuote(){let e=this.getCode();e!==-1&&(e===this.q?(this.q=null,this.state=ZI):this.text+=eI(e))}sDoctypeDTD(){let e=this.getCode();e!==-1&&(e===CI?this.state=ZI:nI(e)&&(this.q=e,this.state=eL))}sDoctypeDTDQuoted(){let e=this.getCode();e!==-1&&e===this.q&&(this.q=null,this.state=$I)}sEntity(){let e=this.getCode();if(e!==-1){if(e===_I){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 iI(e)||e===fI?(this.entity+=eI(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+eI(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`,`entityExpansions`),``):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)+`;`),``):aI(t)?String.fromCodePoint(t):(this.fail(`invalid character entity`),``)}skipSpaces(){for(;;){let e=this.getCode();if(e===-1||!tI(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=/* @__PURE__ */ 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)}}}addAttribute(e,t){let n=this.tag.attributes;e in n&&(this.duplicateAttributes??=[]).push(e),n[e]=t}reportDuplicateAttributes(){let e=this.duplicateAttributes;if(e!==null){this.duplicateAttributes=null;for(let t of e)this.fail(`duplicate attribute: ${t}`)}}openTag(){let e=this.tag;e.isSelfClosing=!1,this.reportDuplicateAttributes(),this.xmlns&&this.applyNamespaces(e),this.maxDepth>0&&this.tags.length>=this.maxDepth&&this.fail(`maximum element nesting depth (${this.maxDepth}) exceeded`,`depth`),this._handlers.opentag?.(e),this.tags.push(e),this.name=``,this.state=AI}openSelfClosingTag(){let e=this.tag;e.isSelfClosing=!0,this.reportDuplicateAttributes(),this.xmlns&&this.applyNamespaces(e),this.maxDepth>0&&this.tags.length>=this.maxDepth&&this.fail(`maximum element nesting depth (${this.maxDepth}) exceeded`,`depth`),this._handlers.opentag?.(e),this._handlers.closetag?.(e),this.xmlns&&this._nsStack.pop(),this.tags.length===0&&(this.closedRoot=!0),this.name=``,this.state=AI}closeTag(){let{tags:e,name:t}=this;if(this.state=AI,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 iL(e){let t=Object.create(null);for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&!_C(n)&&(t[n]=e[n]);return t}function aL(e,t){return{type:`element`,name:e,attributes:iL(t),children:[]}}function oL(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 sL(e,t){let n=t?.comments??!1,r=t?.processingInstructions??!1,i=t?.cdataAsNodes??!1,a=t?.fragment??!1,o=new nL({position:!0,fragment:t?.fragment??!1,xmlns:t?.xmlns??!1,maxDepth:t?.maxDepth,maxEntityExpansions:t?.maxEntityExpansions,invalidCharHandling:t?.invalidCharHandling}),s=aL(`__root__`,{}),c=[s],l;o.on(`error`,e=>{throw e instanceof CD?e:new CD(e.message)}),o.on(`opentag`,e=>{let t=aL(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&&oL(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 oL(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();let u=s.children.filter(e=>e.type===`element`);if(u.length===0)throw new CD(`document has no root element`);if(!a&&u.length>1)throw new CD(`document has multiple root elements`);let d=s.children.filter(e=>e.type===`comment`||e.type===`processing-instruction`);return{declaration:l,root:u[0],roots:u,prologue:d}}function $(e,t){for(let n of e.children)if(n.type===`element`&&n.name===t)return n}function cL(e,t){let n=[];for(let r of e.children)r.type===`element`&&r.name===t&&n.push(r);return n}function lL(e){switch(e.type){case`text`:case`cdata`:return e.value;case`element`:{let t=``;for(let n of e.children)t+=lL(n);return t}default:return``}}var uL=n((()=>{SC(),wD(),rL()}));function dL(e){return e._chartsheets.map(t=>wF(t,e))}var fL=n((()=>{MF(),lC(),pE(),$F()})),pL=/* @__PURE__ */ r({chartToPdf:()=>hL,excelToPdf:()=>mL});async function mL(e,t){return t?.recalculate?.(e),F_(await gL(e,t),t)}async function hL(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 ng({fonts:t.fonts,preferSystemFonts:t.preferSystemFonts,textLanguage:t.textLanguage,disableFontAutoDiscovery:t.disableFontAutoDiscovery});t.onWarning&&s.onWarning(t.onWarning),(t.title||t.author)&&s.setMetadata({title:t.title,author:t.author});let c=s.addPage({width:a,height:o}),l=UO(e)!==void 0,u=UO(e),d=l&&u!==void 0&&tP(u);if(!(t.forceRaster===!0||l&&!d)){if(l&&u!==void 0)return nP(c,u,{x:i,y:o-i-r,width:n,height:r},{title:t.title,regionMap:t.regionMap}),s.build();let a=HO(e);if(!a)throw Error(`chartToPdf: Chart has neither a classic model nor a ChartEx model to render`);return hj(c,a,{x:i,y:o-i-r,width:n,height:r}),s.build()}let f=t.rasterScale??2,p=l?await $N(UO(e),{width:n,height:r,scale:f}):await fj(HO(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 gL(e,t){let n=await Promise.all(fE(e).map(n=>_L(n,e,t))),r=await Promise.all(dL(e).map(n=>QL(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?EL(e.sourceFilePath):void 0,sourceFileName:e.sourceFilePath?TL(e.sourceFilePath):void 0,locale:e.language,sheets:i}}async function _L(e,t,n){let r=XF(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(kL(i?i.style:OL(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=/* @__PURE__ */ 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=/* @__PURE__ */ new Map;if(o)for(let t=a.top;t<=a.bottom;t++){let n=QT(e,t);if(!n)continue;let r=/* @__PURE__ */ new Map;for(let t=1;t<=n.cells.length;t++){let i=n.cells[t-1];if(i)(eT(i)!==uC.Null&&eT(i)!==uC.Merge||kL(i.style))&&r.set(t,DL(i));else{let i=OL(e,n,t);kL(i)&&r.set(t,AL(t,i))}}c.set(t,{hidden:n.hidden||void 0,height:n.height??void 0,customHeight:n.customHeight||void 0,cells:r})}let l=ZF(e)?QF(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=vL(e),g=n?.draft??e.pageSetup?.draft??!1,_=g?void 0:UL(e,t),v=g?void 0:await WL(e),y=g?void 0:GL(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:/* @__PURE__ */ new Map})}return{kind:`worksheet`,name:XT(e),state:e.state??`visible`,orderNo:e.orderNo,bounds:a,columns:s,rows:c,merges:u,pageSetup:f,headerFooter:xL(e,t,g),rowBreaks:p,colBreaks:m,images:_,charts:b,comments:h}}function vL(e){let t=[];for(let n of e._rows??[])if(n)for(let e of n.cells??[]){if(!e)continue;let n=uT(e),r=bL(n?.note);r&&t.push({ref:e.address,text:r,author:n?.author,anchor:yL(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 yL(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 bL(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 xL(e,t,n=!1){let r=e.headerFooter,i=[r.oddHeader,r.oddFooter,r.evenHeader,r.evenFooter,r.firstHeader,r.firstFooter],a=n?[]:CL(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:wL(r.oddHeader),oddFooter:wL(r.oddFooter),evenHeader:wL(r.evenHeader),evenFooter:wL(r.evenFooter),firstHeader:wL(r.firstHeader),firstFooter:wL(r.firstFooter),images:a}}function SL(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:wL(e.oddHeader??null),oddFooter:wL(e.oddFooter??null),evenHeader:wL(e.evenHeader??null),evenFooter:wL(e.evenFooter??null),firstHeader:wL(e.firstHeader??null),firstFooter:wL(e.firstFooter??null),images:t}}function CL(e,t){let n=QF(e).media.filter(e=>e.type===`headerImage`),r=YF(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=cE(t,e.imageId),r=n?.extension===`jpg`?`jpeg`:n?.extension,i=n?.buffer instanceof Uint8Array?n.buffer:n?.base64?Rg(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 wL(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:tp(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 TL(e){let t=e.replace(/\\/g,`/`);return t.slice(t.lastIndexOf(`/`)+1)}function EL(e){let t=Math.max(e.lastIndexOf(`/`),e.lastIndexOf(`\\`));return t>=0?e.slice(0,t+1):``}function DL(e){let t=jL(eT(e)),n=ML(e),r=IL(e.style);return{type:t,value:FL(e),text:n,style:r,hyperlink:lT(e)||void 0,result:pT(e)??void 0,col:$w(e)}}function OL(e,t,n){return Zw(t.style,e._columns[n-1]?.style??{},{})}function kL(e){return!!(e.border&&(e.border.top||e.border.right||e.border.bottom||e.border.left)||e.fill||e.font)}function AL(e,t){return{type:sg.Empty,value:null,text:``,style:IL(t),col:e}}function jL(e){switch(e){case uC.Null:return sg.Empty;case uC.Merge:return sg.Merge;case uC.Number:return sg.Number;case uC.String:case uC.SharedString:return sg.String;case uC.Date:return sg.Date;case uC.Hyperlink:return sg.Hyperlink;case uC.Formula:return sg.Formula;case uC.RichText:return sg.RichText;case uC.Boolean:return sg.Boolean;case uC.Error:return sg.Error;default:return sg.String}}function ML(e){return fD(NL(e))}function NL(e){if(!e)return``;switch(eT(e)){case uC.Null:case uC.Merge:return``;case uC.RichText:case uC.Hyperlink:return dT(e)??``;case uC.Error:return nT(e)?.error??dT(e)??``;case uC.Formula:{let t=pT(e);return t==null?dT(e)??``:typeof t==`object`&&`error`in t?t.error:PL(t,e.style?.numFmt)}default:{let t=nT(e);return t==null?``:PL(t,e.style?.numFmt)}}}function PL(e,t){let n=typeof t==`string`?t:t?.formatCode;if(n&&(typeof e==`number`||e instanceof Date||typeof e==`boolean`))try{return ww(e,n)}catch{}return e instanceof Date?e.toLocaleDateString():String(e)}function FL(e){if(eT(e)===uC.RichText){let t=nT(e);if(t?.richText)return{richText:t.richText.map(e=>({text:fD(e.text),font:e.font?LL(e.font):void 0}))}}return nT(e)}function IL(e){if(e)return{font:e.font?LL(e.font):void 0,numFmt:e.numFmt,fill:e.fill?zL(e.fill):void 0,border:e.border?VL(e.border):void 0,alignment:e.alignment?HL(e.alignment):void 0}}function LL(e){return{name:e.name,size:e.size,bold:e.bold,italic:e.italic,strike:e.strike,underline:e.underline,color:e.color?RL(e.color):void 0}}function RL(e){return{argb:e.argb,theme:e.theme,tint:e.tint,indexed:e.indexed}}function zL(e){return e.type===`gradient`?{type:`gradient`,stops:e.stops.map(e=>({position:e.position,color:RL(e.color)}))}:{type:`pattern`,pattern:e.pattern,fgColor:e.fgColor?RL(e.fgColor):void 0}}function BL(e){return{style:e.style,color:e.color?RL(e.color):void 0}}function VL(e){return{top:e.top?BL(e.top):void 0,right:e.right?BL(e.right):void 0,bottom:e.bottom?BL(e.bottom):void 0,left:e.left?BL(e.left):void 0}}function HL(e){return{horizontal:e.horizontal,vertical:e.vertical,wrapText:e.wrapText,indent:e.indent,textRotation:e.textRotation===`vertical`?255:e.textRotation}}function UL(e,t){let n=KF(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=cE(t,Number(n));if(!i)continue;let a;if(i.buffer instanceof Uint8Array?a=i.buffer:i.base64&&(a=Rg(i.base64)),!a||a.length===0)continue;let o=i.extension;(o===`jpeg`||o===`png`)&&r.push({data:a,format:o,range:{tl:{col:FO(e.range.tl),row:LO(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:FO(e.range.br),row:LO(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 WL(e){let t=qF(e);if(t.length===0)return;let n=[];for(let r of t){let t=YL(r);if(!t)continue;let i=HO(r),a=UO(r);if(i){n.push({range:t,drawVector:(e,t)=>{hj(e,i,{x:t.x,y:t.y,width:t.width,height:t.height})}});continue}if(a){if(XL(a,e),tP(a))n.push({range:t,drawVector:(e,t)=>{nP(e,a,{x:t.x,y:t.y,width:t.width,height:t.height})}});else{let{widthPx:e,heightPx:r}=ZL(t),i=await $N(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 GL(e){let t=JF(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=KL(o[1]),c=parseInt(o[2],10),l=qL(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)=>{JL(e,r,l,t)}})}return n.length>0?n:void 0}function KL(e){let t=0;for(let n=0;n<e.length;n++)t=t*26+(e.charCodeAt(n)&31);return t}function qL(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=dE(ZT(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=KL(o[1]),l=parseInt(o[2],10),u=KL(s[1]),d=parseInt(s[2],10),f=(e,t)=>{let n=tE(i,e,t);if(!n)return NaN;let r=nT(n),a=typeof r==`number`?r:pT(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 JL(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=NF(t,n,{width:o,height:s,padding:2}),l=e=>i+e,u=e=>a+(s-e),d=e=>{let t=tp(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 YL(e){let t=e.range;if(!t?.tl)return;let n=t.tl,r=t.br;return{tl:{col:FO(n),row:LO(n),nativeCol:n.nativeCol,nativeRow:n.nativeRow,nativeColOff:n.nativeColOff,nativeRowOff:n.nativeRowOff},br:r?{col:FO(r),row:LO(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 XL(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{gE(e,ZT(t),t)}catch{}}function ZL(e){if(e.ext&&e.extUnit===`emu`){let t=pg(e.ext.width),n=pg(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 QL(e,t,n){let r=DF(e),i=OF(e),a=n?.draft??jF(e)?.draft??!1,o={};if(!a&&r){let e=r;o={drawVector:(t,n)=>{hj(t,e,{x:n.x,y:n.y,width:n.width,height:n.height})}}}else if(!a&&i){if(tP(i)){let e=i;o={drawVector:(t,n)=>{nP(t,e,{x:n.x,y:n.y,width:n.width,height:n.height})}}}else o={raster:{data:await $N(i,{width:eR.width,height:eR.height,scale:2}),format:`png`}}}let s=jF(e)?.orientation,c=s===`portrait`||s===`landscape`?s:`landscape`,l=jF(e),u=AF(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:TF(e),state:EF(e),orderNo:kF(e).orderNo,orientation:c,chart:o,pageSetup:d,headerFooter:SL(kF(e).headerFooter,a?[]:$L(kF(e).headerImages,t))}}function $L(e,t){return(e??[]).flatMap(e=>{let n=cE(t,e.imageId),r=n?.extension===`jpg`?`jpeg`:n?.extension,i=n?.buffer instanceof Uint8Array?n.buffer:n?.base64?Rg(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 eR,tR=n((()=>{yE(),WO(),CF(),KN(),VO(),jT(),MF(),gC(),BF(),fL(),pE(),$F(),Mw(),rg(),mv(),lg(),vD(),op(),xg(),Ug(),eR={width:1280,height:720}}));function nR(e,t){if(e)return e.type===`nil`?0:e.type===`dxa`?e.value:t}function rR(e,t){let n=e?.cellMargins,r=t?.margins,i=(e,t,n)=>nR(e,n)??nR(t,n)??n;return{top:i(r?.top,n?.top,pR.top),left:i(r?.left??r?.start,n?.left??n?.start,pR.left),bottom:i(r?.bottom,n?.bottom,pR.bottom),right:i(r?.right??r?.end,n?.right??n?.end,pR.right)}}function iR(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 aR(e,t,n){if(n!=null)return 1;let r=e.heading(t);return r?iR(r.level):1}function oR(e,t){if(!e)return t;if(!t)return e;let n={...e,...t};if(e.font!==void 0&&t.font!==void 0){let r=typeof e.font==`string`?{ascii:e.font}:e.font,i=typeof t.font==`string`?{ascii:t.font}:t.font;return{...n,font:{...r,...i}}}return n}function sR(e,t,n){return t.properties?.style?e.run(t,n).runProperties:oR(n,t.properties)}function cR(e,t,n){if(t<=0)return[];let r=e.columnWidths;if(r&&r.length>=t){let e=r.slice(0,t),i=e.reduce((e,t)=>e+t,0);if(i>0){let t=n/i;return e.map(e=>e*t)}}return Array(t).fill(n/t)}function lR(e,t){let n=rR(e,void 0);return t*uR+(n.top+n.bottom)/20}var uR,dR,fR,pR,mR,hR=n((()=>{uR=1.2,dR=.65,fR=.33,pR={top:0,right:108,bottom:0,left:108},mR=.01}));function gR(e,t={}){let n=new ng(t.fontManager?{fontManager:t.fontManager,preferSystemFonts:t.preferSystemFonts,textLanguage:t.textLanguage,disableFontAutoDiscovery:t.disableFontAutoDiscovery}:{fonts:t.fonts,preferSystemFonts:t.preferSystemFonts,textLanguage:t.textLanguage,disableFontAutoDiscovery:t.disableFontAutoDiscovery});t.onWarning&&n.onWarning(t.onWarning),(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)_R(n.addPage({width:r.geometry.width,height:r.geometry.height}),r,t);return n}function _R(e,t,n){let r={...t.geometry,marginTop:0};if(t.header)for(let i of t.header)vR(e,i,r,n);for(let r of t.content)yR(e,r,t.geometry,n);if(t.footer)for(let i of t.footer)vR(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=bR({...t.geometry,marginTop:0},n.y);e.drawLine({x1:r,y1:a,x2:r+i,y2:a,color:VR,lineWidth:.5})}if(t.footnoteArea)for(let i of t.footnoteArea)CR(e,i,r,n)}function vR(e,t,n,r){t.type===`paragraph`?CR(e,t,n,r):OR(e,t,n,r)}function yR(e,t,n,r){switch(t.type){case`paragraph`:CR(e,t,n,r);break;case`table`:OR(e,t,n,r);break;case`image`:kR(e,t,n);break;case`float`:jR(e,t,n,r);break;case`textBox`:MR(e,t,n,r);break;case`shape`:NR(e,t,n,r);break;case`chart`:PR(e,t,n,r);break;case`sdt`:FR(e,t,n,r);break;case`math`:IR(e,t,n,r);break;case`checkBox`:LR(e,t,n);break;case`tableOfContents`:RR(e,t,n,r);break;case`altChunk`:zR(e,t,n);break;case`opaqueDrawing`:BR(e,t,n);break;default:throw Error(`renderLayoutDocumentToPdf: unhandled PageContent ${t.type}`)}}function bR(e,t){return e.height-e.marginTop-t}function xR(e,t){return e.marginLeft+t}function SR(e){return tp(e)??void 0}function CR(e,t,n,r){wR(e,t,n);for(let i of t.lines)TR(e,t,i,n,r)}function wR(e,t,n){let r=t.decorationInsets;if(!r)return;let i={x:t.rect.x+r.left,y:t.rect.y+r.top,width:Math.max(0,t.rect.width-r.left-r.right),height:Math.max(0,t.rect.height-r.top-r.bottom)};if(t.backgroundColor){let r=SR(t.backgroundColor);if(r){let a=t.borders?.left?.space??0;e.drawRect({x:xR(n,i.x-a),y:bR(n,i.y+i.height),width:i.width+a*2,height:i.height,fill:r})}}let a=t.borders;if(!a)return;let o=xR(n,i.x),s=xR(n,i.x+i.width),c=bR(n,i.y),l=bR(n,i.y+i.height),u=(t,n,r,i,a)=>{let o=SR(t.color)??VR;e.drawLine({x1:n,y1:r,x2:i,y2:a,color:o,lineWidth:t.width})};if(a.top){let e=c+a.top.space;u(a.top,o,e,s,e)}if(a.bottom){let e=l-a.bottom.space;u(a.bottom,o,e,s,e)}if(a.left){let e=o-a.left.space;u(a.left,e,l,e,c)}if(a.right){let e=s+a.right.space;u(a.right,e,l,e,c)}}function TR(e,t,n,r,i){let a=bR(r,t.rect.y+n.y+n.baseline),o=t.rect.y+n.y;for(let s of n.runs)s.type===`image`?ER(e,s,t.rect.x,o,n.baseline,r):DR(e,s,t.rect.x,a,r,i)}function ER(e,t,n,r,i,a){if(t.data.length===0)return;let o=AR(t.mimeType);if(!o)return;let s=xR(a,n+t.x),c=bR(a,r+i);e.drawImage({data:t.data,format:o,x:s,y:c,width:t.width,height:t.height})}function DR(e,t,n,r,i,a){let o=xR(i,n+t.x),s=t.font||a.defaultFont||`Helvetica`,c=t.fontSize||a.defaultFontSize||11,l=SR(t.color)??VR,u=r;if(t.verticalAlign===`superscript`?u=r+c*fR:t.verticalAlign===`subscript`&&(u=r-c*fR),t.text.length>0&&e.drawText(t.text,{x:o,y:u,fontFamily:s,fontSize:c,bold:t.bold,italic:t.italic,color:l,charSpacing:t.charSpacing,wordSpacing:t.wordSpacing}),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 OR(e,t,n,r){for(let i of t.cells){let a=xR(n,t.rect.x+i.rect.x),o=bR(n,t.rect.y+i.rect.y+i.rect.height),s=i.rect.width,c=i.rect.height;if(i.backgroundColor){let t=SR(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=SR(l.top.color)??VR;e.drawLine({x1:a,y1:o+c,x2:a+s,y2:o+c,color:t,lineWidth:l.top.width})}if(l.bottom){let t=SR(l.bottom.color)??VR;e.drawLine({x1:a,y1:o,x2:a+s,y2:o,color:t,lineWidth:l.bottom.width})}if(l.left){let t=SR(l.left.color)??VR;e.drawLine({x1:a,y1:o,x2:a,y2:o+c,color:t,lineWidth:l.left.width})}if(l.right){let t=SR(l.right.color)??VR;e.drawLine({x1:a+s,y1:o,x2:a+s,y2:o+c,color:t,lineWidth:l.right.width})}}let u=e.getContentStream();i.clipToBounds&&(u.save(),u.rect(a,o,s,c).clip().endPath());for(let a of i.content)a.type===`paragraph`?CR(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):OR(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);i.clipToBounds&&u.restore()}}function kR(e,t,n){if(t.data.length===0)return;let r=AR(t.mimeType);if(!r)return;let i=xR(n,t.rect.x),a=bR(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 AR(e){let t=e.toLowerCase();return t===`image/jpeg`?`jpeg`:t===`image/png`?`png`:null}function jR(e,t,n,r){t.content.type===`image`?kR(e,t.content,n):CR(e,t.content,n,r)}function MR(e,t,n,r){let i=xR(n,t.rect.x),a=bR(n,t.rect.y+t.rect.height),o=t.background?SR(t.background):void 0,s=t.border?SR(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)yR(e,n,c,r)}function NR(e,t,n,r){let i=xR(n,t.rect.x),a=bR(n,t.rect.y+t.rect.height),o=t.fillColor?SR(t.fillColor):void 0,s=t.strokeColor?SR(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??VR,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)yR(e,n,i,r)}}function PR(e,t,n,r){let i={x:xR(n,t.rect.x),y:bR(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 FR(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)yR(e,n,i,r)}function IR(e,t,n,r){let i=xR(n,t.rect.x),a=bR(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 LR(e,t,n){let r=xR(n,t.rect.x),i=bR(n,t.rect.y+t.rect.height),a=t.rect.height*.85;if(e.drawRect({x:r,y:i,width:a,height:a,stroke:VR,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:VR,lineWidth:1}),e.drawLine({x1:o,y1:s,x2:c,y2:l,color:VR,lineWidth:1})}}function RR(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)CR(e,n,i,r)}function zR(e,t,n){let r=xR(n,t.rect.x),i=bR(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 BR(e,t,n){let r=xR(n,t.rect.x),i=bR(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 VR,HR=n((()=>{rg(),op(),hR(),VR={r:0,g:0,b:0}}));function UR(e){return`type`in e?!1:`content`in e&&Array.isArray(e.content)}function WR(e){return`type`in e&&e.type===`hyperlink`}function GR(e){let t=/^[0-9a-f]+$/i.test(e.char)?parseInt(e.char,16):NaN;return Number.isInteger(t)&&t<=1114111?String.fromCodePoint(t):``}function KR(e){let t=``;for(let n of e)switch(n.type){case`mathRun`:t+=n.text;break;case`mathFraction`:t+=`(${KR(n.numerator)})/(${KR(n.denominator)})`;break;case`mathRadical`:n.hideDegree?t+=`√(${KR(n.content)})`:n.degree?t+=`${KR(n.degree)}√(${KR(n.content)})`:t+=`√(${KR(n.content)})`;break;case`mathSuperScript`:t+=`${KR(n.base)}^(${KR(n.superScript)})`;break;case`mathSubScript`:t+=`${KR(n.base)}_(${KR(n.subScript)})`;break;case`mathSubSuperScript`:t+=`${KR(n.base)}_(${KR(n.subScript)})^(${KR(n.superScript)})`;break;case`mathPreSubSuperScript`:t+=`_(${KR(n.preSubScript)})^(${KR(n.preSuperScript)})${KR(n.base)}`;break;case`mathDelimiter`:t+=n.beginChar??`(`,t+=n.content.map(e=>KR(e)).join(n.separatorChar??`,`),t+=n.endChar??`)`;break;case`mathNary`:t+=n.char??`∑`,n.sub&&(t+=`_(${KR(n.sub)})`),n.sup&&(t+=`^(${KR(n.sup)})`),t+=KR(n.content);break;case`mathFunction`:t+=KR(n.name),t+=KR(n.content);break;case`mathLimit`:t+=KR(n.base),t+=n.limitType===`upper`?`^`:`_`,t+=`(${KR(n.limit)})`;break;case`mathMatrix`:t+=`[`,t+=n.rows.map(e=>e.map(e=>KR(e)).join(`,`)).join(`;`),t+=`]`;break;case`mathAccent`:t+=KR(n.content),n.char&&(t+=n.char);break;case`mathBar`:t+=KR(n.content);break;case`mathBox`:t+=KR(n.content);break;case`mathEquationArray`:t+=n.rows.map(e=>KR(e)).join(`
|
|
68
|
-
`);break;case`mathGroupChar`:t+=KR(n.base);break;case`mathPhantom`:t+=KR(n.content);break;case`mathBorderBox`:t+=KR(n.content)}return t}var qR=n((()=>{}));function JR(e,t,n){let r={includeHeaders:n?.includeHeaders??!0,includeFooters:n?.includeFooters??!0,includeFootnotes:n?.includeFootnotes??!0,includeEndnotes:n?.includeEndnotes??!0,includeComments:n?.includeComments??!1},i={section:0,depth:0,inHeader:!1,inFooter:!1,inFootnote:!1,inEndnote:!1,inComment:!1,index:0};if(YR(e.body,t,i)!==`stop`){if(r.includeHeaders&&e.headers)for(let[,n]of e.headers){let e={...i,inHeader:!0};if(YR(n.content.children,t,e)===`stop`)return}if(r.includeFooters&&e.footers)for(let[,n]of e.footers){let e={...i,inFooter:!0};if(YR(n.content.children,t,e)===`stop`)return}if(r.includeFootnotes&&e.footnotes)for(let n of e.footnotes){if(n.id<=0)continue;let e={...i,inFootnote:!0};if(YR(n.content,t,e)===`stop`)return}if(r.includeEndnotes&&e.endnotes)for(let n of e.endnotes){if(n.id<=0)continue;let e={...i,inEndnote:!0};if(YR(n.content,t,e)===`stop`)return}if(r.includeComments&&e.comments)for(let n of e.comments){let e={...i,inComment:!0};if(YR(n.content,t,e)===`stop`)return}}}function YR(e,t,n){let r=n??{section:0,depth:0,inHeader:!1,inFooter:!1,inFootnote:!1,inEndnote:!1,inComment:!1,index:0},i=r.section;for(let n=0;n<e.length;n++){let a=e[n];if(XR(a,t,{...r,section:i,index:n})===`stop`)return`stop`;a.type===`paragraph`&&a.properties?.sectionProperties&&r.depth===0&&i++}return`continue`}function XR(e,t,n){if(n.depth>az)return`continue`;switch(e.type){case`paragraph`:return ZR(e,t,n);case`table`:return tz(e,t,n);case`sdt`:return nz(e,t,n);case`math`:return rz(e,t,n);case`floatingImage`:return t.visitFloatingImage?.(e,n),`continue`;case`textBox`:{let r=e,i=t.visitTextBox?.(r,n);if(i===`stop`)return`stop`;if(i===`skip`)return`continue`;if(r.content){let e={...n,depth:n.depth+1};if(YR(r.content,t,e)===`stop`)return`stop`}return`continue`}case`tableOfContents`:{let r=e;if(t.visitTableOfContents?.(r,n),r.cachedParagraphs&&r.cachedParagraphs.length>0){let e={...n,depth:n.depth+1};if(YR(r.cachedParagraphs,t,e)===`stop`)return`stop`}return`continue`}case`altChunk`:return t.visitAltChunk?.(e,n),`continue`;case`chart`:return t.visitChart?.(e,n),`continue`;case`chartEx`:return t.visitChartEx?.(e,n),`continue`;case`checkBox`:return t.visitCheckBox?.(e,n),`continue`;case`drawingShape`:{let r=e;if(t.visitDrawingShape?.(r,n),r.textContent&&r.textContent.length>0){let e={...n,depth:n.depth+1};if(YR(r.textContent,t,e)===`stop`)return`stop`}return`continue`}case`opaqueDrawing`:return t.visitOpaqueDrawing?.(e,n),`continue`;default:return`continue`}}function ZR(e,t,n){let r=t.enterParagraph?.(e,n);if(r===`stop`)return`stop`;if(r===`skip`)return t.leaveParagraph?.(e,n),`continue`;for(let r=0;r<e.children.length;r++){let i=e.children[r];if(QR(i,t,{...n,index:r,depth:n.depth+1})===`stop`)return`stop`}return t.leaveParagraph?.(e,n),`continue`}function QR(e,t,n){if(`type`in e)switch(e.type){case`hyperlink`:return ez(e,t,n);case`insertedRun`:{let r=e,i=t.visitInsertedRun?.(r,n);return i===`stop`?`stop`:i===`skip`?`continue`:$R(r.run,t,n)}case`deletedRun`:return t.visitDeletedRun?.(e,n),`continue`;case`movedFromRun`:return t.visitMovedFromRun?.(e,n),`continue`;case`movedToRun`:{let r=e,i=t.visitMovedToRun?.(r,n);return i===`stop`?`stop`:i===`skip`?`continue`:$R(r.run,t,n)}case`bookmarkStart`:return t.visitBookmarkStart?.(e,n),`continue`;case`bookmarkEnd`:return t.visitBookmarkEnd?.(e.id,n),`continue`;case`commentRangeStart`:return t.visitCommentRangeStart?.(e,n),`continue`;case`commentRangeEnd`:return t.visitCommentRangeEnd?.(e,n),`continue`}return UR(e)?$R(e,t,n):`continue`}function $R(e,t,n){let r=t.enterRun?.(e,n);if(r===`stop`)return`stop`;if(r===`skip`)return t.leaveRun?.(e,n),`continue`;if(t.visitRunContent)for(let r of e.content)t.visitRunContent(r,e,n);return t.leaveRun?.(e,n),`continue`}function ez(e,t,n){let r=t.enterHyperlink?.(e,n);if(r===`stop`)return`stop`;if(r===`skip`)return t.leaveHyperlink?.(e,n),`continue`;for(let r=0;r<e.children.length;r++){let i=e.children[r];if(QR(i,t,{...n,index:r,depth:n.depth+1})===`stop`)return`stop`}return t.leaveHyperlink?.(e,n),`continue`}function tz(e,t,n){let r=t.enterTable?.(e,n);if(r===`stop`)return`stop`;if(r===`skip`)return t.leaveTable?.(e,n),`continue`;for(let r=0;r<e.rows.length;r++){let i=e.rows[r],a={...n,index:r,depth:n.depth+1},o=t.enterTableRow?.(i,a);if(o===`stop`)return`stop`;if(o===`skip`){t.leaveTableRow?.(i,a);continue}for(let e=0;e<i.cells.length;e++){let n=i.cells[e],r={...a,index:e,depth:a.depth+1},o=t.enterTableCell?.(n,r);if(o===`stop`)return`stop`;if(o===`skip`){t.leaveTableCell?.(n,r);continue}if(YR(n.content,t,{...r,depth:r.depth+1})===`stop`)return`stop`;t.leaveTableCell?.(n,r)}t.leaveTableRow?.(i,a)}return t.leaveTable?.(e,n),`continue`}function nz(e,t,n){let r=t.enterSdt?.(e,n);if(r===`stop`)return`stop`;if(r===`skip`)return t.leaveSdt?.(e,n),`continue`;let i={...n,depth:n.depth+1};for(let n=0;n<e.content.length;n++){let r=e.content[n],a={...i,index:n};if(`type`in r&&(r.type===`paragraph`||r.type===`table`)){if(XR(r,t,a)===`stop`)return`stop`}else if(`type`in r&&r.type===`sdt`){if(nz(r,t,a)===`stop`)return`stop`}else if(!(`type`in r)&&UR(r)&&$R(r,t,a)===`stop`)return`stop`}return t.leaveSdt?.(e,n),`continue`}function rz(e,t,n){let r=t.enterMathBlock?.(e,n);return r===`stop`?`stop`:r===`skip`?(t.leaveMathBlock?.(e,n),`continue`):(t.visitMathContent&&iz(e.content,t,n),t.leaveMathBlock?.(e,n),`continue`)}function iz(e,t,n){for(let r of e)switch(t.visitMathContent(r,n),r.type){case`mathFraction`:iz(r.numerator,t,n),iz(r.denominator,t,n);break;case`mathRadical`:r.degree&&iz(r.degree,t,n),iz(r.content,t,n);break;case`mathSuperScript`:iz(r.base,t,n),iz(r.superScript,t,n);break;case`mathSubScript`:iz(r.base,t,n),iz(r.subScript,t,n);break;case`mathSubSuperScript`:iz(r.base,t,n),iz(r.subScript,t,n),iz(r.superScript,t,n);break;case`mathPreSubSuperScript`:iz(r.base,t,n),iz(r.preSubScript,t,n),iz(r.preSuperScript,t,n);break;case`mathDelimiter`:for(let e of r.content)iz(e,t,n);break;case`mathNary`:r.sub&&iz(r.sub,t,n),r.sup&&iz(r.sup,t,n),iz(r.content,t,n);break;case`mathFunction`:iz(r.name,t,n),iz(r.content,t,n);break;case`mathLimit`:iz(r.base,t,n),iz(r.limit,t,n);break;case`mathMatrix`:for(let e of r.rows)for(let r of e)iz(r,t,n);break;case`mathAccent`:case`mathBar`:case`mathBox`:case`mathPhantom`:case`mathBorderBox`:iz(r.content,t,n);break;case`mathGroupChar`:iz(r.base,t,n);break;case`mathEquationArray`:for(let e of r.rows)iz(e,t,n)}}var az,oz=n((()=>{qR(),az=1e3}));function sz(e){return`<math xmlns="http://www.w3.org/1998/Math/MathML">${e.map(e=>cz(e)).join(``)}</math>`}function cz(e){switch(e.type){case`mathRun`:return lz(e);case`mathFraction`:return mz(e);case`mathSuperScript`:return hz(e);case`mathSubScript`:return gz(e);case`mathSubSuperScript`:return _z(e);case`mathPreSubSuperScript`:return vz(e);case`mathRadical`:return yz(e);case`mathDelimiter`:return bz(e);case`mathNary`:return xz(e);case`mathFunction`:return`<mrow><mo>${Cz(e.name)}</mo><mrow>${Cz(e.content)}</mrow></mrow>`;case`mathLimit`:return e.limitType===`lower`?`<munder><mrow>${Cz(e.base)}</mrow><mrow>${Cz(e.limit)}</mrow></munder>`:`<mover><mrow>${Cz(e.base)}</mrow><mrow>${Cz(e.limit)}</mrow></mover>`;case`mathMatrix`:return Sz(e);case`mathAccent`:return`<mover accent="true"><mrow>${Cz(e.content)}</mrow><mo>${kn(e.char??`̂`)}</mo></mover>`;case`mathBar`:return e.position===`bottom`?`<munder><mrow>${Cz(e.content)}</mrow><mo>̲</mo></munder>`:`<mover><mrow>${Cz(e.content)}</mrow><mo>¯</mo></mover>`;case`mathBox`:return`<mrow>${Cz(e.content)}</mrow>`;case`mathPhantom`:return`<mphantom><mrow>${Cz(e.content)}</mrow></mphantom>`;case`mathGroupChar`:return e.position===`top`?`<mover><mrow>${Cz(e.base)}</mrow><mo>${kn(e.char??`⏞`)}</mo></mover>`:`<munder><mrow>${Cz(e.base)}</mrow><mo>${kn(e.char??`⏟`)}</mo></munder>`;case`mathBorderBox`:return`<menclose notation="box"><mrow>${Cz(e.content)}</mrow></menclose>`;case`mathEquationArray`:return`<mtable>${e.rows.map(e=>`<mtr><mtd><mrow>${Cz(e)}</mrow></mtd></mtr>`).join(``)}</mtable>`;default:return``}}function lz(e){let t=e.text,n=e.properties?.italic===!1;return dz(t).map(e=>pz(e,n)).join(``)}function uz(e){return/\s/.test(e)?`text`:wz(e)?`operator`:/[0-9.]/.test(e)?`number`:(/[A-Za-z]/.test(e),`identifier`)}function dz(e){let t=[],n=Array.from(e);for(let e of n){let n=uz(e),r=t[t.length-1];r&&r.kind===n&&n!==`operator`?r.value+=e:t.push({kind:n,value:e})}return fz(t)}function fz(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 pz(e,t){let n=kn(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 mz(e){let t=Cz(e.numerator),n=Cz(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 hz(e){return`<msup><mrow>${Cz(e.base)}</mrow><mrow>${Cz(e.superScript)}</mrow></msup>`}function gz(e){return`<msub><mrow>${Cz(e.base)}</mrow><mrow>${Cz(e.subScript)}</mrow></msub>`}function _z(e){return`<msubsup><mrow>${Cz(e.base)}</mrow><mrow>${Cz(e.subScript)}</mrow><mrow>${Cz(e.superScript)}</mrow></msubsup>`}function vz(e){return e.type===`mathPreSubSuperScript`?`<mmultiscripts><mrow>${Cz(e.base)}</mrow><mprescripts/><mrow>${Cz(e.preSubScript)}</mrow><mrow>${Cz(e.preSuperScript)}</mrow></mmultiscripts>`:``}function yz(e){return e.degree&&e.degree.length>0?`<mroot><mrow>${Cz(e.content)}</mrow><mrow>${Cz(e.degree)}</mrow></mroot>`:`<msqrt><mrow>${Cz(e.content)}</mrow></msqrt>`}function bz(e){let t=kn(e.beginChar??`(`),n=kn(e.endChar??`)`);return`<mrow><mo>${t}</mo>${e.content.map(e=>`<mrow>${Cz(e)}</mrow>`).join(`<mo>${kn(e.separatorChar??`|`)}</mo>`)}<mo>${n}</mo></mrow>`}function xz(e){let t=kn(e.char??`∑`),n=Cz(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>${Cz(e.sub)}</mrow><mrow>${Cz(e.sup)}</mrow></munderover><mrow>${n}</mrow>`:r?`<munder><mo>${t}</mo><mrow>${Cz(e.sub)}</mrow></munder><mrow>${n}</mrow>`:i?`<mover><mo>${t}</mo><mrow>${Cz(e.sup)}</mrow></mover><mrow>${n}</mrow>`:`<mo>${t}</mo><mrow>${n}</mrow>`}function Sz(e){return`<mtable>${e.rows.map(e=>`<mtr>${e.map(e=>`<mtd><mrow>${Cz(e)}</mrow></mtd>`).join(``)}</mtr>`).join(``)}</mtable>`}function Cz(e){return e.map(e=>cz(e)).join(``)}function wz(e){return Tz.has(e)}var Tz,Ez=n((()=>{TD(),Tz=/* @__PURE__ */ new Set(/* @__PURE__ */ `+ - = < > ≤ ≥ × ÷ − ± ≠ ≈ ∞ ( ) [ ] { } | , . : ; ! ∑ ∏ ∫ ∬ ∭`.split(` `))}));function Dz(e){let t=Math.max(0,e.nominalHeight);if(e.ascent-e.descent<=0&&(e.imageAscent??0)<=0)return{baseline:t*Oz,height:t};let n=Math.max(0,e.ascent,e.imageAscent??0),r=Math.min(0,e.descent),i=n-r,a=Math.max(0,(t-i)/2)+n;return{baseline:a,height:e.exact?t:Math.max(t,a-r)}}var Oz,kz=n((()=>{Oz=.8}));function Az(e){if(UR(e))return e;switch(e.type){case`insertedRun`:case`movedToRun`:return e.run;default:return}}function jz(e){return e?.vanish===!0}function*Mz(e){for(let t of e){let e=Az(t);e?yield e:WR(t)&&(yield*Mz(t.children))}}var Nz=n((()=>{qR()}));function Pz(e){let t=e.trim().split(/\s+/),n=t[0]?.toUpperCase();if(n!==`PAGE`&&n!==`NUMPAGES`&&n!==`SECTIONPAGES`)return;let r;for(let e=1;e<t.length;e++){if(t[e]!==`\\*`||e+1>=t.length)return;let n=t[++e],i=Wz[n];if(i)r=i;else if(!/^(MERGEFORMAT|CHARFORMAT)$/i.test(n))return}return{name:n,format:r}}function Fz(e){switch(e){case void 0:case`decimal`:return`decimal`;case`upperRoman`:case`lowerRoman`:case`upperLetter`:case`lowerLetter`:return e;default:return}}function Iz(e,t,n){let r=e.format??(e.name===`PAGE`?Fz(n):`decimal`);return r===void 0?void 0:Vz(t,r)}function Lz(e){let t=[];for(let n of e.body)n.type===`paragraph`&&n.properties?.sectionProperties&&t.push(n.properties.sectionProperties);return t.push(e.sectionProperties),t}function Rz(e,t){let n=t?.pageNumbering?.start,r=n??e+1,i=t?.breakType===`oddPage`?1:t?.breakType===`evenPage`?0:void 0;return i===void 0||r%2===i?{blankPage:!1,firstShown:r}:{blankPage:n===void 0,firstShown:r+1}}function zz(e,t,n,r){if(n.pageInSection!==1)return t+1;let i=r[n.sectionIndex];return e===void 0?i?.pageNumbering?.start??1:Rz(t,i).firstShown}function Bz(e){let t=/* @__PURE__ */ new Map;for(let{sectionIndex:n,pageInSection:r}of e)r!==0&&t.set(n,(t.get(n)??0)+1);return t}function Vz(e,t){switch(t){case`lowerLetter`:return Hz(e).toLowerCase();case`upperLetter`:return Hz(e).toUpperCase();case`lowerRoman`:return Uz(e).toLowerCase();case`upperRoman`:return Uz(e).toUpperCase();case`decimalZero`:return e<10?`0${e}`:String(e);default:return String(e)}}function Hz(e){if(e<=0)return`A`;let t=Math.ceil(e/26);return t>Gz?String(e):String.fromCharCode(65+(e-1)%26).repeat(t)}function Uz(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}var Wz,Gz,Kz=n((()=>{Wz={Arabic:`decimal`,arabic:`decimal`,roman:`lowerRoman`,ROMAN:`upperRoman`,Roman:`upperRoman`,alphabetic:`lowerLetter`,ALPHABETIC:`upperLetter`},Gz=64}));function qz(e){let t=/* @__PURE__ */ new Map;for(let n of e.styles??[])t.set(n.styleId,n);return t}function Jz(e,t,n,r){let i=r??qz(e),a=[],o=t.properties?.style;if(o){let e=o,t=/* @__PURE__ */ new Set;for(;e&&!t.has(e);)t.add(e),a.push(e),e=i.get(e)?.basedOn}let s={},c={};e.docDefaults&&(e.docDefaults.paragraphProperties&&(s=Xz({},e.docDefaults.paragraphProperties)),e.docDefaults.runProperties&&(c=Xz({},e.docDefaults.runProperties)));let l=c,u={},d={};for(let e=a.length-1;e>=0;e--){let t=i.get(a[e]);if(t&&(t.paragraphProperties&&(s=Xz(s,t.paragraphProperties)),t.runProperties&&(c=Xz(c,t.runProperties),u=Xz(u,t.runProperties)),t.type===`paragraph`&&t.link)){let e=i.get(t.link);e?.type===`character`&&e.runProperties&&(c=Xz(c,e.runProperties),u=Xz(u,e.runProperties))}}if(n?.tableContext?.tableStyleId){let e=n.tableContext,t=e.tableStyleId,r=i.get(t);if(r?.tableStyleConditions){let t=Zz(r.tableStyleConditions,e.tblLook,e.rowIndex,e.colIndex,e.totalRows,e.totalCols,{row:e.rowBandSize??r.tableProperties?.rowBandSize,column:e.colBandSize??r.tableProperties?.colBandSize});for(let e of t)e.paragraphProperties&&(s=Xz(s,e.paragraphProperties)),e.runProperties&&(c=Xz(c,e.runProperties),d=Xz(d,e.runProperties))}}if(iB(c,l,[u,d]),t.properties){let{style:e,sectionProperties:n,...r}=t.properties;s=Xz(s,r)}return{chain:a,paragraphProperties:s,runProperties:c}}function Yz(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Xz(e,t){let n={...e};for(let[e,r]of Object.entries(t)){if(r===void 0)continue;let t=n[e];if(cB.has(e)&&Yz(t)&&Yz(r)){n[e]=Xz(t,r);continue}n[e]=r}return n}function Zz(e,t,n,r,i,a,o){let s=t?.noHBand!==!0,c=t?.noVBand!==!0,l=Math.max(1,Math.trunc(o?.row??1)),u=Math.max(1,Math.trunc(o?.column??1)),d=/* @__PURE__ */ new Set;s&&(Math.floor(n/l)%2==0?d.add(`oddRowBanding`):d.add(`evenRowBanding`)),c&&(Math.floor(r/u)%2==0?d.add(`oddColumnBanding`):d.add(`evenColumnBanding`)),n===0&&t?.firstRow!==!1&&d.add(`firstRow`),n===i-1&&t?.lastRow!==!1&&d.add(`lastRow`),r===0&&t?.firstColumn!==!1&&d.add(`firstColumn`),r===a-1&&t?.lastColumn!==!1&&d.add(`lastColumn`),n===0&&r===0&&t?.firstRow!==!1&&t?.firstColumn!==!1&&d.add(`topLeftCell`),n===0&&r===a-1&&t?.firstRow!==!1&&t?.lastColumn!==!1&&d.add(`topRightCell`),n===i-1&&r===0&&t?.lastRow!==!1&&t?.firstColumn!==!1&&d.add(`bottomLeftCell`),n===i-1&&r===a-1&&t?.lastRow!==!1&&t?.lastColumn!==!1&&d.add(`bottomRightCell`);let f=[`oddRowBanding`,`evenRowBanding`,`oddColumnBanding`,`evenColumnBanding`,`firstRow`,`lastRow`,`firstColumn`,`lastColumn`,`topLeftCell`,`topRightCell`,`bottomLeftCell`,`bottomRightCell`],p=/* @__PURE__ */ new Map;for(let e=0;e<f.length;e++)p.set(f[e],e);return e.filter(e=>d.has(e.type)).sort((e,t)=>(p.get(e.type)??0)-(p.get(t.type)??0))}function Qz(e,t,n,r,i,a){if(!t||!e.styles)return{};let o=a??qz(e),s=[],c=t,l=/* @__PURE__ */ new Set;for(;c&&!l.has(c);){l.add(c);let e=o.get(c);if(!e)break;s.push(e),c=e.basedOn}let u,d=i?.row,f=i?.column;for(let e=s.length-1;e>=0;e--)d??=s[e].tableProperties?.rowBandSize,f??=s[e].tableProperties?.colBandSize;for(let e=s.length-1;e>=0;e--){let t=s[e];if(t.tableProperties?.shading&&(u=t.tableProperties.shading),!t.tableStyleConditions)continue;let i=Zz(t.tableStyleConditions,n,r.rowIndex,r.colIndex,r.totalRows,r.totalCols,{row:d,column:f});for(let e of i)e.cellProperties?.shading&&(u=e.cellProperties.shading)}return u?{shading:u}:{}}function $z(e,t,n,r,i){if(n.properties?.shading)return rB(n.properties.shading);if(t.properties?.shading)return rB(t.properties.shading);let a=Qz(e,t.properties?.style,t.properties?.look,r,{row:t.properties?.rowBandSize,column:t.properties?.colBandSize},i).shading;return rB(a)}function eB(e){if(!e||e===`auto`)return;let t=e.replace(/^#/,``);if(/^[0-9a-fA-F]{6}$/.test(t))return t.toUpperCase();if(/^[0-9a-fA-F]{3}$/.test(t))return t.split(``).map(e=>e+e).join(``).toUpperCase()}function tB(e){if(!e||e===`clear`)return 0;if(e===`solid`)return 1;let t=/^pct(\d+)$/.exec(e);return t?Math.min(100,Math.max(0,Number.parseInt(t[1],10)))/100:e.startsWith(`thin`)?e.includes(`Cross`)?.25:.15:e.endsWith(`Cross`)?.5:e.endsWith(`Stripe`)?.3:0}function nB(e,t,n){let r=``;for(let i=0;i<6;i+=2){let a=Number.parseInt(e.slice(i,i+2),16),o=Number.parseInt(t.slice(i,i+2),16);r+=Math.round(a+(o-a)*n).toString(16).toUpperCase().padStart(2,`0`)}return r}function rB(e){if(!e||e.pattern===`nil`)return;let t=eB(e.fill),n=eB(e.color),r=tB(e.pattern);return n===void 0||r===0?t:t===void 0?r>=1?n:nB(`FFFFFF`,n,r):r>=1?n:nB(t,n,r)}function iB(e,t,n){for(let r of lB){let i=t[r]===!0,a=i,o=typeof t[r]==`boolean`;for(let e of n){let t=e[r];typeof t==`boolean`&&(o=!0,t!==i&&(a=!a))}o&&(e[r]=a)}}function aB(e,t,n,r){let i=r??qz(e),a=[],o=t.properties?.style;if(o){let e=o,t=/* @__PURE__ */ new Set;for(;e&&!t.has(e);)t.add(e),a.push(e),e=i.get(e)?.basedOn}let s={};e.docDefaults?.runProperties&&(s=Xz({},e.docDefaults.runProperties)),n&&(s=Xz(s,n));let c={};for(let e=a.length-1;e>=0;e--){let t=i.get(a[e]);t?.runProperties&&(c=Xz(c,t.runProperties))}let l=s;s=Xz(s,c);let u=e.docDefaults?.runProperties??{};for(let e of lB){let t=c[e];if(typeof t!=`boolean`)continue;let n=u[e]===!0,r=l[e],i=typeof r==`boolean`?r:n;s[e]=t===n?i:!i}if(t.properties){let{style:e,...n}=t.properties;s=Xz(s,n)}return{chain:a,runProperties:s}}function oB(e,t,n){if(t===0)return;let r=e.numberingInstances?.find(e=>e.numId===t);if(!r)return;let i=r.overrides?.find(e=>e.level===n),a=i?.levelDef;if(a||=(e.abstractNumberings?.find(e=>e.abstractNumId===r.abstractNumId))?.levels.find(e=>e.level===n),a)return i?.startOverride===void 0?a:{...a,start:i.startOverride}}function sB(e,t,n){let r=t.properties?.numbering;if(r)return r.numId===0?void 0:r;let i=t.properties?.style;if(!i||!e.styles)return;let a=n??qz(e),o=/* @__PURE__ */ new Set;for(;i&&!o.has(i);){o.add(i);let e=a.get(i),t=e?.paragraphProperties?.numbering;if(t)return t.numId===0?void 0:t;i=e?.basedOn}}var cB,lB,uB=n((()=>{cB=/* @__PURE__ */ new Set([`spacing`,`indent`,`borders`,`cellMargins`,`shading`,`font`,`language`,`color`,`underline`,`look`,`float`,`frame`,`markRunProperties`]),lB=[`bold`,`boldCs`,`italic`,`italicCs`,`caps`,`smallCaps`,`strike`,`outline`,`shadow`,`emboss`,`imprint`,`vanish`]}));function dB(e,t,n){let r=t.properties?.outlineLevel;if(r!==void 0)return fB(r);let i=t.properties?.style;if(!i)return;let a=n??qz(e),o=[],s=/* @__PURE__ */ new Set;for(;i&&!s.has(i);)s.add(i),o.push(i),i=a.get(i)?.basedOn;for(let e of o){let t=a.get(e),n=t?.paragraphProperties?.outlineLevel??t?.outlineLevel;if(n!==void 0)return fB(n)}for(let e of o){let t=pB(e)??pB(a.get(e)?.name);if(t)return t}}function fB(e){if(!(!Number.isInteger(e)||e<0||e>=mB))return{level:e+1,kind:`heading`}}function pB(e){if(typeof e!=`string`)return;let t=hB.exec(e.trim());if(t)return{level:Number(t[1]),kind:`heading`};if(e.trim().toLowerCase()===`title`)return{level:1,kind:`title`}}var mB,hB,gB=n((()=>{uB(),mB=9,hB=/^heading\s*([1-9])$/i}));function _B(e){let t=qz(e);return{doc:e,styles:t,paragraph:(n,r)=>Jz(e,n,r,t),run:(n,r)=>aB(e,n,r,t),numbering:n=>sB(e,n,t),heading:n=>dB(e,n,t),tableCellFill:(n,r,i)=>$z(e,n,r,i,t)}}var vB=n((()=>{gB(),uB()}));function yB(e){let t=mV,n=pV,r=n.get(e);if(!r){let i=t.paragraph(e),a=i.runProperties,o=[];for(let n of Mz(e.children)){let e=sR(t,n,a);jz(e)||o.push({run:n,props:e})}r={properties:e.properties?.style?{...i.paragraphProperties,style:e.properties.style}:i.paragraphProperties,runProperties:a,runs:o},n.set(e,r)}return r}function bB(e,t){return e.runProperties?.size??t}function xB(e){let t=e.runProperties?.font;if(t)return typeof t==`string`?t:t.ascii??t.hAnsi}function SB(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 CB(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 wB(e){let t=e/2;return Math.round(t*uR*20)}function TB(e,t){let n=wB(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 EB(e,t){return e?.markRunProperties?.size??t}function DB(e,t,n){let r=e>0?e:120;return t<=0||n<=0||t===n?r:r*t/n}function OB(e,t){let n=e?.font;if(!n){let e=t??`Calibri`;return{ascii:e,eastAsia:e}}if(typeof n==`string`)return{ascii:n,eastAsia:n};let r=n,i=r.ascii??r.hAnsi??t??`Calibri`;return{ascii:i,eastAsia:r.eastAsia??i}}function kB(e,t,n,r,i){let a=OB(t,n);if(a.ascii===a.eastAsia)return i(e,a.ascii,r,t?.bold,t?.italic);let o=0;for(let n of qr(e))o+=i(n.text,n.cjk?a.eastAsia:a.ascii,r,t?.bold,t?.italic);return o}function AB(e,t,n,r,i){let a=OB(t,n);if(a.ascii===a.eastAsia)return i(e,a.ascii,r,t?.bold,t?.italic);let o=-1/0,s=1/0;for(let n of qr(e)){let e=i(n.text,n.cjk?a.eastAsia:a.ascii,r,t?.bold,t?.italic);o=Math.max(o,e.ascent),s=Math.min(s,e.descent)}return o===-1/0?i(e,a.ascii,r,t?.bold,t?.italic):{ascent:o,descent:s}}function jB(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+=GR(n);break;case`field`:t+=n.cachedValue??``;break;case`noBreakHyphen`:case`softHyphen`:t+=`-`}return t}function MB(e){return Oi(e)}function NB(e){let t=0;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++,t+=MB(r)?2:1}return t}function PB(e,t,n,r,i){let a=FB(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=RB(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 FB(e){let t=[];for(let{run:n}of e)IB(n,t);return t}function IB(e,t){for(let n of e.content)switch(n.type){case`text`:{let e=LB(n.text);for(let n of e)n.length>0&&t.push({type:`word`,width:NB(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($B(e.width)/120):10;t.push({type:`image`,width:r});break}case`symbol`:{let e=GR(n);e.length>0&&t.push({type:`word`,width:NB(e)});break}case`field`:for(let e of LB(n.cachedValue??``))e.length>0&&t.push({type:`word`,width:NB(e)});break;case`noBreakHyphen`:t.push({type:`word`,width:1})}}function LB(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=``):MB(i)?(n.length>0&&(t.push(n),n=``),t.push(a)):n+=a}return n.length>0&&t.push(n),t}function RB(e,t){if(t&&t.length>0){for(let n of t)if(n>e)return n;let n=t[t.length-1],r=uV;return n+Math.ceil((e-n)/r)*r+r}return(Math.floor(e/uV)+1)*uV}function zB(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 BB(e){let t=0;for(let{run:n}of e)for(let e of n.content)if(e.type===`image`){let n=e;if(n.height){let e=$B(n.height);e>t&&(t=e)}}return t}function VB(e){let t=0;for(let{run:n}of e)for(let e of n.content)(e.type===`footnoteRef`||e.type===`endnoteRef`)&&t++;return t}function HB(e){let t=0;for(let{run:n}of e)for(let e of n.content)if(e.type===`break`){let n=e.breakType;(!n||n===`textWrapping`)&&t++}return t}function UB(e,t,n,r){let i=0;for(let{run:a,props:o}of e){let e=jB(a);if(e.length>0){let a=GB(o,t);i+=kB(e,o,r,a,n)}}return i}function WB(e,t,n=t){let r=0;for(let{props:n}of e){let e=GB(n,t)*2;e>r&&(r=e)}return r||n}function GB(e,t){let n=(e?.size??t)/2;return e?.vertAlign===`superscript`||e?.vertAlign===`subscript`?n*dR:n}function KB(e){for(let{run:t}of e)for(let e of t.content)if(e.type===`break`&&e.breakType===`page`)return!0;return!1}function qB(e){for(let{run:t}of e)for(let e of t.content){if(e.type===`break`){if(e.breakType===`page`)return!0;continue}if(e.type!==`text`||e.text.length!==0)return!1}return!1}function JB(e){for(let{run:t}of e)for(let e of t.content)if(e.type===`break`&&e.breakType===`column`)return!0;return!1}function YB(e,t,n,r,i,a,o){let s=yB(e),c=s.properties,l=c?.spacing,u=bB(s,n),d=xB(s),f=0;l?.beforeAutoSpacing?f=lV:l?.before!=null&&(f=l.before);let p=0;l?.afterAutoSpacing?p=lV:l?.after!=null&&(p=l.after);let m=aR(mV,e,s.runProperties?.size),h=WB(s.runs,u,EB(c,u)),g=TB(l,h)*m,_=BB(s.runs),v=XB(s.runs,u,d,g,_,l?.lineRule===`exact`,o),y;if(a){let[e,r]=zB(c,t),o=UB(s.runs,u,a,d)*20;if(HB(s.runs)>0){let t=DB(i,h,n),a=c?.tabs?.map(e=>e.position).filter(e=>e!=null);y=PB(s.runs,e,r,t,a)}else if(o<=e)y=1;else{let t=o-e;y=1+Math.max(1,Math.ceil(t/r))}}else{let[e,r]=zB(c,t),a=DB(i,h,n),o=c?.tabs?.map(e=>e.position).filter(e=>e!=null);y=PB(s.runs,e,r,a,o)}return f+y*v+p}function XB(e,t,n,r,i,a,o){let s=0,c=0;for(let{run:r,props:i}of e){let e=jB(r),a=GB(i,t),l=AB(e,i,n,a,o??((e,t,n,r,i)=>({ascent:Ni(Li(t,r,i),n),descent:Pi(Li(t,r,i),n)}))),u=i?.vertAlign===`superscript`?a*fR:i?.vertAlign===`subscript`?-a*fR:0;s=Math.max(s,l.ascent+u),c=Math.min(c,l.descent+u)}let l=Dz({nominalHeight:r/20,ascent:s,descent:c,imageAscent:i/20,exact:a});return Math.ceil(l.height*20)}function ZB(e,t,n,r,i,a,o,s){let c=e.rows[t];if(c.properties?.height?.value&&c.properties.height.rule===`exact`)return c.properties.height.value;let l=c.cells.length,u=cR(e,l,r),d=0;for(let t=0;t<l;t++){let r=c.cells[t],l=r.properties?.gridSpan??1,f=0;for(let e=0;e<l&&t+e<u.length;e++)f+=u[t+e];let p=rR(e.properties,r.properties),m=Math.max(1,f-p.left-p.right),h=0;for(let e of r.content)e.type===`paragraph`?h+=YB(e,m,n,i,a,o,s):e.type===`table`&&(h+=QB(e,n,m,i,a,o,s));h+=p.top+p.bottom,h>d&&(d=h)}if(c.properties?.height?.value)return Math.max(c.properties.height.value,d);let f=lR(e.properties,n/2)*20;return Math.max(f,d)}function QB(e,t,n,r,i,a,o){let s=0;for(let c=0;c<e.rows.length;c++)s+=ZB(e,c,t,n,r,i,a,o);return s}function $B(e){return Math.round(e/635)}function eV(e){return e.wrap?.style===`topAndBottom`?$B(e.height):0}function tV(e){let t=e.wrap?.style;return t===`topAndBottom`||!t||t===`none`?$B(e.height):0}function nV(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 rV(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 iV(e,t){let n=mV,r=pV;mV=_B(e),pV=/* @__PURE__ */ new Map;try{return aV(e,t)}finally{mV=n,pV=r}}function aV(e,t){let n=t?.defaultFontSize??22,r=t?.defaultCharsPerLine??cV,i=t?.averageCharWidth??Math.round(n/2*.5*20),a=t?.measureText,o=t?.measureTextMetrics,s=e.body,c=[],l=[],u=[],d=/* @__PURE__ */ new Map,f=[],p=1,m=0,h=1,g=(oV(s)??e.sectionProperties)?.pageNumbering?.start??1,_=0,v=0,y=1,b=oV(s)??e.sectionProperties,x=SB(b),S=CB(b),C=nV(S,b?.columns);function w(){y=b?.columns?.count??1,y<1&&(y=1),C=nV(S,b?.columns)}w();function T(){p++,g++,_=0,v=0}function E(){y>1&&v<y-1?(v++,_=0):T()}function ee(t){f.push(p-h+1),m++;let n=t??e.sectionProperties;switch(n?.breakType??`nextPage`){case`nextPage`:case`evenPage`:case`oddPage`:{let e=Rz(g,n);T(),e.blankPage&&T(),g=e.firstShown;break}case`continuous`:{let e=b?.pageSize?.width??12240,t=b?.pageSize?.height??15840,r=n?.pageSize?.width??12240,i=n?.pageSize?.height??15840;(e!==r||t!==i)&&T();break}case`nextColumn`:E()}h=p,b=n,x=SB(b),S=CB(b),w()}function te(e){_+e>x&&_>0&&(y>1&&v<y-1?E():T()),_+=e}function ne(e){let t=QB(e,n,C,r,i,a,o);if(_+t<=x){_+=t;return}let s=ZB(e,0,n,C,r,i,a,o);_>0&&_+s>x&&(y>1&&v<y-1?E():T());let c=0,l=[];for(let t=0;t<e.rows.length&&e.rows[t].properties?.tableHeader;t++)l.push(t),c+=ZB(e,t,n,C,r,i,a,o);for(let t=0;t<e.rows.length;t++){let s=e.rows[t],u=ZB(e,t,n,C,r,i,a,o);if(l.includes(t)){_+=u;continue}(s.properties?.cantSplit??!1)||u<=x?_+u>x&&(y>1&&v<y-1?E():T(),_+=c):_+u>x&&_>0&&(y>1&&v<y-1?E():T(),_+=c),_+=u}}for(let t=0;t<s.length;t++){let f=s[t];switch(f.type){case`paragraph`:{let h=f,g=h.properties;if(rV(h.children,p,d),g?.sectionProperties){let d=yB(h).properties?.pageBreakBefore===!0||qB(yB(h).runs);d&&_>0&&T(),re(h,YB(h,C,n,r,i,a,o),t,s),c.push(p),l.push(m),u.push(d),ee(sV(s,t+1)??e.sectionProperties);break}let v=yB(h).properties?.pageBreakBefore===!0||qB(yB(h).runs);v&&_>0&&T();let y=!v&&KB(yB(h).runs);JB(yB(h).runs)&&_>0&&E(),re(h,YB(h,C,n,r,i,a,o),t,s),y&&T(),c.push(p),l.push(m),u.push(v);break}case`table`:{let e=p;ne(f),c.push(e),l.push(m),u.push(!1);break}default:{let e=wB(n);if(f.type===`tableOfContents`){let t=f.cachedParagraphs;te(t?t.length*wB(n):e*5)}else if(f.type===`floatingImage`){let e=eV(f);e>0&&te(e)}else if(f.type===`drawingShape`){let t=tV(f);te(t>0?t:e)}else te(e);c.push(p),l.push(m),u.push(!1);break}}}return f.push(p-h+1),{pageCount:p,sectionPageCounts:f,contentPages:c,contentSections:l,bookmarkPages:d,forcedBreakBefore:u};function re(e,t,s,c){let l=yB(e),u=l.properties,d=u?.spacing,f=bB(l,n),p=xB(l),m=WB(l.runs,f,EB(u,f)),h=TB(d,m),g;if(a){let[e,t]=zB(u,C),r=UB(l.runs,f,a,p)*20;if(HB(l.runs)>0){let r=DB(i,m,n),a=u?.tabs?.map(e=>e.position).filter(e=>e!=null);g=PB(l.runs,e,t,r,a)}else g=r<=e?1:1+Math.max(1,Math.ceil((r-e)/t))}else{let[e,t]=zB(u,C),r=DB(i,m,n),a=u?.tabs?.map(e=>e.position).filter(e=>e!=null);g=PB(l.runs,e,t,r,a)}if(u?.contextualSpacing&&s>0){let e=c[s-1];if(e.type===`paragraph`&&e.properties?.style===u.style){let e=d?.before??0;e>0&&(_-=Math.min(e,_))}}if(u?.keepLines){_+t>x&&_>0&&(y>1&&v<y-1?E():T()),_+=t,ie(e);return}if(u?.widowControl!==!1&&g>1){let e=0;d?.beforeAutoSpacing?e=lV:d?.before!=null&&(e=d.before);let t=x-_,n=Math.floor(Math.max(0,t-e)/h);n===1&&g>1?_>0&&(y>1&&v<y-1?E():T()):n>0&&n===g-1&&n>2&&_>0&&(y>1&&v<y-1?E():T())}if(u?.keepNext&&s+1<c.length){let e=c[s+1];if(e.type===`paragraph`){let s=YB(e,C,n,r,i,a,o);_+t+s>x&&_>0&&(y>1&&v<y-1?E():T())}}te(t),ie(e)}function ie(e){let t=VB(yB(e).runs);if(t>0){let e=dV+t*fV;_+=e,_>x&&T()}}}function oV(e){for(let t of e)if(t.type===`paragraph`&&t.properties?.sectionProperties)return t.properties.sectionProperties}function sV(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 cV,lV,uV,dV,fV,pV,mV,hV=n((()=>{li(),Ki(),qR(),hR(),kz(),Nz(),Kz(),vB(),cV=80,lV=100,uV=720,dV=200,fV=300}));function gV(e){let t=/* @__PURE__ */ new Map,n=/* @__PURE__ */ new Map,r=new Map(e.numberingInstances?.map(e=>[e.numId,e])),i=/* @__PURE__ */ new Set,a=(t,r)=>{let i=`${t}:${r}`;if(n.has(i))return n.get(i);let a=oB(e,t,r);return n.set(i,a),a},o=e=>{let n=r.get(e),i=n?`a:${n.abstractNumId}`:`n:${e}`,a=t.get(i);return a||(a=/* @__PURE__ */ new Map,t.set(i,a)),a},s=(e,t)=>r.get(e)?.overrides?.find(e=>e.level===t)?.startOverride,c=(e,t,n)=>{let r=a(e,t)?.restartAfterLevel;return r===void 0||r>0&&n<=r-1};return{next(e,t){let n=o(e),r=n.get(t),l=s(e,t),u=`${e}:${t}`,d;l!==void 0&&!i.has(u)?(i.add(u),d=l):d=r===void 0?l??a(e,t)?.start??1:r+1,n.set(t,d);for(let r of n.keys())r>t&&c(e,r,t)&&n.delete(r);return d},current(e,t){return o(e).get(t)??s(e,t)??a(e,t)?.start??1},levelDef:a}}function _V(e,t,n,r){return n.isLegalNumberingStyle?`decimal`:r===n.level?n.format:e.levelDef(t,r)?.format??`decimal`}var vV=n((()=>{uB()})),yV=n((()=>{xg()}));function bV(e,t){let n=iV(e,t),r=_B(e),i=KV(e,r),a=YH,o=ZH,s=QH,c=XH;YH=i,ZH=e,QH=r,XH=GV(e,r);try{return CV(e,t,n,i)}finally{YH=a,ZH=o,QH=s,XH=c}}function xV(e,t){return{page:e.displayedPage,format:e.props?.pageNumbering?.format,...t}}function SV(e,t){let n=$H;$H=e;try{return t()}finally{$H=n}}function CV(e,t,n,r){let i=[],a=[],o=[],s=[],c={nextItem:0},l=MH(e.images),u=Lz(e),d=e=>n.contentSections[e]??u.length-1,f=e.body.length>0?d(0):u.length-1,p=1,m=(e,t)=>{let n=a.at(-1),r={sectionIndex:e,pageInSection:t};return{...r,props:u[e],displayedPage:zz(n,n?.displayedPage??0,r,u)}},h=2e4;do{let g=m(f,p),_=PV(e,i.length+1,n,t,o,r,s,c,g,l);if(i.push(_.page),a.push(g),o=_.deferredFootnoteIds,_.page.content.length===0&&s.length>0)break;s=_.carriedContent;let v=s.length===0&&c.nextItem<e.body.length?d(c.nextItem):f;if(v!==f){if(f=v,p=1,Rz(a.at(-1)?.displayedPage??0,u[f]).blankPage&&i.length<h){let o=m(f,0),s=PV(e,i.length+1,n,t,[],r,[],void 0,o,l);i.push(s.page),a.push(o)}}else p++}while((c.nextItem<e.body.length||s.length>0)&&i.length<h);for(;o.length>0&&i.length>0&&i.length<h;){let s=a[a.length-1],c=m(s.sectionIndex,s.pageInSection+1),u=PV(e,i.length+1,n,t,o,r,[],void 0,c,l);i.push(u.page),a.push(c);let d=u.deferredFootnoteIds;if(d.length>=o.length)break;o=d}wV(e,i,a,t,l);let g=/* @__PURE__ */ new Map;for(let e of i)for(let t of e.content)t.sourceIndex>=0&&!g.has(t.sourceIndex)&&g.set(t.sourceIndex,e.pageNumber);return{pages:i,totalPages:i.length,bookmarkPages:EV(i,n),sectionBreaks:WV(n,g)}}function wV(e,t,n,r,i){if(!TV(e))return;let a=Bz(n);for(let o=0;o<t.length;o++){let s=n[o],c=UV(s.props,r?.pageGeometry),l={numPages:t.length,sectionPages:a.get(s.sectionIndex)??t.length},u=BV(e,s,c,r,i,l),d=VV(e,s,c,r,i,l),{header:f,footer:p,...m}=t[o];t[o]={...m,...u.length>0?{header:u}:{},...d.length>0?{footer:d}:{}}}}function TV(e){return[...e.headers?.values()??[],...e.footers?.values()??[]].some(e=>{let t=!1;return YR(e.content.children,{visitRunContent(e){if(e.type===`field`){let n=Pz(e.instruction)?.name;t||=n===`NUMPAGES`||n===`SECTIONPAGES`}},enterParagraph:()=>t?`stop`:void 0}),t})}function EV(e,t){let n=/* @__PURE__ */ new Map;for(let t of e){let e=r=>{for(let i of r)if(i.type===`paragraph`)for(let e of i.lineBookmarks??[])for(let r of e)n.has(r)||n.set(r,t.pageNumber);else if(i.type===`table`)for(let t of i.cells)e(t.content)};e(t.content)}for(let[e,r]of t.bookmarkPages)n.has(e)||n.set(e,r);return n}function DV(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 OV(e,t,n,r){let i=e.lines;if(i.length===0)return r?{head:e,tail:null}:{head:null,tail:e};let a=0;for(;a<i.length;){let e=i[a];if(e.y+e.height>t)break;a++}let o=e.pageBreakAfterLines?.find(e=>e+1<=a);if(o!==void 0&&o+1<i.length)return kV(e,o+1);if(a>=i.length){let n=i[i.length-1],r=n.y+n.height;return{head:e.rect.height>t?{...e,rect:{...e.rect,height:r},...e.decorationInsets?{decorationInsets:{...e.decorationInsets,bottom:0}}:{}}:e,tail:null}}if(a===0){if(!r)return{head:null,tail:e};if(i.length===1)return{head:e,tail:null};a=1}else{let t=r||e.rect.height>n;if(!(a>=2&&i.length-a>=2)&&!t)return{head:null,tail:e}}return kV(e,a)}function kV(e,t){let n=e.lines.slice(0,t),r=e.lines.slice(t),i=n[n.length-1].y+n[n.length-1].height,a=r[0].y,o=e.decorationInsets,s=e.lineNoteIds,c=e.lineBookmarks,l=e.pageBreakAfterLines;return{head:{...e,rect:{...e.rect,height:i},lines:n,...s?{lineNoteIds:s.slice(0,t)}:{},...c?{lineBookmarks:c.slice(0,t)}:{},...l?{pageBreakAfterLines:l.filter(e=>e<t)}:{},...o?{decorationInsets:{...o,bottom:0}}:{}},tail:{...e,rect:{...e.rect,y:0,height:e.rect.height-a},lines:r.map(e=>({...e,y:e.y-a})),...s?{lineNoteIds:s.slice(t)}:{},...c?{lineBookmarks:c.slice(t)}:{},...l?{pageBreakAfterLines:l.filter(e=>e>=t).map(e=>e-t)}:{},...o?{decorationInsets:{...o,top:0}}:{}}}}function AV(e,t,n,r){if(e.cells.length===0)return{head:e,tail:null};let i=/* @__PURE__ */ new Map,a=/* @__PURE__ */ new Map,o=0;for(let t of e.cells){let e=t.rect.y,n=e+t.rect.height;i.set(t.row,Math.min(i.get(t.row)??e,e)),a.set(t.row,Math.max(a.get(t.row)??n,n)),o=Math.max(o,t.row)}let s=[...i.keys()].sort((e,t)=>e-t),c=0;for(;c<s.length&&(a.get(s[c])??0)<=t+.01;)c++;if(c>=s.length)return{head:e,tail:null};if(c===0||c<=n&&!r){if(!r)return{head:null,tail:e};c=Math.max(1,Math.min(n+1,s.length))}let l=s[c],u=e.cells.filter(e=>e.row<l),d=a.get(s[c-1])??e.rect.height,f=e.cells.filter(e=>e.row<n&&e.row<l),p=f.length>0?Math.max(...f.map(e=>e.rect.y+e.rect.height)):0,m=(i.get(l)??0)-p,h=[...f,...e.cells.filter(e=>e.row>=l).map(e=>({...e,rect:{...e.rect,y:e.rect.y-m}}))];return{head:{...e,rect:{...e.rect,height:d},cells:u},tail:{...e,rect:{...e.rect,y:0,height:e.rect.height-m},cells:h}}}function jV(e){let t=0;for(let n of e.rows){if(n.properties?.tableHeader!==!0)break;t++}return t}function MV(e,t){if((t?.breakType??`nextPage`)===`continuous`){let n=(e?.pageSize?.width??12240)===(t?.pageSize?.width??12240),r=(e?.pageSize?.height??15840)===(t?.pageSize?.height??15840);return!(n&&r)}return!0}function NV(e,t){return Lz(e)[t]??e.sectionProperties}function PV(e,t,n,r,i,a,o,s,c,l){let u=c.props,d=UV(u,r?.pageGeometry),f=[],p=[...i],m=[],h=[],g=0,_=[],v=e=>{let t=e.lines[0]?.y??0;return t<=0?e:{...e,rect:{...e.rect,height:e.rect.height-t},lines:e.lines.map(e=>({...e,y:e.y-t})),...e.decorationInsets?{decorationInsets:{...e.decorationInsets,top:0}}:{}}},y=e=>{if(_.length>0)return _.push({kind:`paragraph`,block:e}),!1;let t=d.contentHeight-e.rect.y,n=e.pageBreakAfterLines?.[0],r=n!==void 0&&n+1<e.lines.length;if(e.rect.height<=t+.01&&!r)return f.push(e),g=e.rect.y+e.rect.height,!0;if(r&&e.lines[n].y+e.lines[n].height<=t+.01){let t=kV(e,n+1);return f.push(t.head),g=t.head.rect.y+t.head.rect.height,_.push({kind:`paragraph`,block:t.tail}),!1}let i=f.length===0&&e.rect.y<=.01,{head:a,tail:o}=OV(e,t,d.contentHeight,i);return a&&(f.push(a),g=a.rect.y+a.rect.height),!o||(_.push({kind:`paragraph`,block:o}),!1)},b=(e,t)=>{if(_.length>0)return _.push({kind:`table`,block:e,headerRows:t}),!1;let n=d.contentHeight-e.rect.y;if(e.rect.height<=n+.01)return f.push(e),g=e.rect.y+e.rect.height,!0;let{head:r,tail:i}=AV(e,n,t,f.length===0&&e.rect.y<=.01);return r&&(f.push(r),g=r.rect.y+r.rect.height),!i||(_.push({kind:`table`,block:i,headerRows:t}),!1)},x=!1,S=!1;for(let e of o)if(e.kind===`paragraph`){let t={...e.block,rect:{...e.block.rect,y:g}};if(!y(t))break;S||=t.endPageWhenComplete===!0}else{if(!b({...e.block,rect:{...e.block.rect,y:g}},e.headerRows))break;x=!0}let C=s!==void 0,w=C?s.nextItem:0,T=0;S&&s!==void 0&&delete s.endPageAfterItem;let E=s===void 0?void 0:e.body[s.nextItem],ee=x&&E?.type===`paragraph`&&E.properties?.style===`Quote`,te=s?.endPageAfterItem??-1;if(ee&&s!==void 0){te=s.nextItem;let t=e.body[te+1];for(;t?.type===`paragraph`&&t.properties?.style===`Quote`;)te++,t=e.body[te+1];s.endPageAfterItem=te}let ne=S,re=t=>{let n=e.body[t];return!n||n.type!==`paragraph`||!QH?!1:QH.paragraph(n).paragraphProperties.keepNext===!0};for(let i=w;i<e.body.length;i++){if(C){if(ne||_.length>0||n.forcedBreakBefore[i]&&(f.length>0||T>0)||n.contentSections[i]!==c.sectionIndex&&(f.length>0||T>0)&&MV(c.props,NV(e,n.contentSections[i])))break}else if(n.contentPages[i]!==t)continue;let o=e.body[i],u=[];IV(o,u);let x=f.length,S=o.type===`paragraph`&&u.length>0,E={exclusions:h,contentWidth:d.contentWidth};switch(o.type){case`paragraph`:{let e={...YV(o,g,d.contentWidth,r,E,l,a),sourceIndex:i,...i===te?{endPageWhenComplete:!0}:{}};y(t===1&&f.length===0&&w===0?v(e):e)||(ne=!0);break}case`table`:b(QV(o,g,d.contentWidth,i,r,l),jV(o))||(ne=!0);break;case`floatingImage`:{let e=IH(o,g,d.contentWidth,d.contentHeight,d,i,l);f.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?AH(o.wrap.margins.bottom):0;g=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;h.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=RH(o,g,d.contentWidth,i,r,l);f.push(e),g=e.rect.y+e.rect.height;break}case`drawingShape`:{let e=zH(o,g,d.contentWidth,i,r,l);f.push(e),g=e.rect.y+e.rect.height;break}case`chart`:case`chartEx`:{let e=BH(o,g,d.contentWidth,i);f.push(e),g=e.rect.y+e.rect.height;break}case`sdt`:{let e=VH(o,g,d.contentWidth,i,r,l);f.push(e),g=e.rect.y+e.rect.height;break}case`math`:{let e=HH(o,g,d.contentWidth,i,r);f.push(e),g=e.rect.y+e.rect.height;break}case`checkBox`:{let e=UH(o,g,i,r);f.push(e),g=e.rect.y+e.rect.height;break}case`tableOfContents`:{let e=WH(o,g,d.contentWidth,i,r,l);f.push(e),g=e.rect.y+e.rect.height;break}case`altChunk`:{let e=GH(o,g,d.contentWidth,i);f.push(e),g=e.rect.y+e.rect.height;break}case`opaqueDrawing`:{let e=KH(o,g,d.contentWidth,i);f.push(e),g=e.rect.y+e.rect.height;break}default:throw Error(`layoutDocumentFull: unhandled BodyContent variant ${o.type}`)}if(u.length>0){if(!(f.length>x))m.push(...u);else if(S){let e=f[f.length-1],t=e.type===`paragraph`&&e.lineNoteIds?e.lineNoteIds.flat():u;p.push(...t);let n=new Set(t);for(let e of u)n.has(e)||m.push(e)}else p.push(...u)}C&&(s.nextItem=i+1,T++,i===te&&_.length===0&&(ne=!0,delete s.endPageAfterItem))}if(C&&(s.nextItem<e.body.length||_.length>0)){let e=0;for(;e<f.length;){let t=f[f.length-1-e];if(t.type!==`paragraph`||t.sourceIndex<0||!re(t.sourceIndex))break;e++}if(e>0&&e<f.length){let t=f.splice(f.length-e,e);g=t[0].rect.y;for(let e=t.length-1;e>=0;e--)_.unshift({kind:`paragraph`,block:t[e]})}}let ie=BV(e,c,d,r,l),ae=VV(e,c,d,r,l),oe=FV(e,p,d,r,d.marginTop+g,l),se;if(oe.laid.length>0){let e=p.length>i.length?`separator`:`continuationSeparator`;se={y:oe.laid[0].rect.y-4,kind:e}}return{page:{pageNumber:t,geometry:d,content:f,...ie.length>0?{header:ie}:{},...ae.length>0?{footer:ae}:{},...oe.laid.length>0?{footnoteArea:oe.laid}:{},...se?{footnoteSeparator:se}:{}},deferredFootnoteIds:[...oe.deferred,...m],carriedContent:_}}function FV(e,t,n,r,i,a){if(t.length===0||!e.footnotes||e.footnotes.length===0)return{laid:[],deferred:[]};let o=/* @__PURE__ */ 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=/* @__PURE__ */ 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=YV(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+mR,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 IV(e,t){switch(e.type){case`paragraph`:LV(e,t);return;case`table`:for(let n of e.rows)for(let e of n.cells)for(let n of e.content)IV(n,t);return;case`textBox`:for(let n of e.content)IV(n,t);return;case`drawingShape`:if(e.textContent)for(let n of e.textContent)IV(n,t);return;case`sdt`:for(let n of e.content)n&&typeof n==`object`&&`type`in n&&IV(n,t);return;case`tableOfContents`:if(e.cachedParagraphs)for(let n of e.cachedParagraphs)IV(n,t);return;case`floatingImage`:case`math`:case`checkBox`:case`chart`:case`chartEx`:case`altChunk`:case`opaqueDrawing`:return}}function LV(e,t){for(let n of Mz(e.children))RV(n,t)}function RV(e,t){if(e&&Array.isArray(e.content))for(let n of e.content)n.type===`footnoteRef`&&t.push(n.id)}function zV(e,t,n,r,i){let a=t=>e.find(e=>e.type===t);if(r&&n===1){let e=a(`first`);if(e)return e}if(i&&t%2==0){let e=a(`even`);if(e)return e}return a(`default`)??e[0]}function BV(e,t,n,r,i,a){let o=t.props,s=o?.headers;if(!s||s.length===0||t.pageInSection===0)return[];let c=o?.titlePage===!0,l=e.settings?.evenAndOddHeaders===!0,u=zV(s,t.displayedPage,t.pageInSection,c,l);if(!u)return[];let d=e.headers?.get(u.rId);if(!d)return[];let f=n.headerOffset;return SV(xV(t,a),()=>HV(d.content.children,f,n,r,i))}function VV(e,t,n,r,i,a){let o=t.props,s=o?.footers;if(!s||s.length===0||t.pageInSection===0)return[];let c=o?.titlePage===!0,l=e.settings?.evenAndOddHeaders===!0,u=zV(s,t.displayedPage,t.pageInSection,c,l);if(!u)return[];let d=e.footers?.get(u.rId);if(!d)return[];let f=n.height-n.footerOffset;return SV(xV(t,a),()=>HV(d.content.children,f,n,r,i))}function HV(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=YV(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=QV(s,o,n.contentWidth,t,r,i);a.push(e),o=e.rect.y+e.rect.height}}return a}function UV(e,t){let n=e?.pageSize?.width??12240,r=e?.pageSize?.height??15840,i=dg(n),a=dg(r),o=dg(e?.margins?.top??1440),s=dg(e?.margins?.bottom??1440),c=dg(e?.margins?.left??1440),l=dg(e?.margins?.right??1440),u=dg(e?.margins?.header??720),d=dg(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 WV(e,t){let n=[0],r=0;for(let i=0;i<e.contentPages.length;i++){let a=e.contentSections[i];if(a>r){let o=t.get(i)??e.contentPages[i];n.push(o-1),r=a}}return n}function GV(e,t){let n=/* @__PURE__ */ new Map,r=e=>{if(!e||e.type!==`paragraph`)return``;let n=t.paragraph(e).paragraphProperties,r=ZV(n.borders),i=rB(n.shading);return!r&&!i?``:JSON.stringify({borders:r??null,fill:i??null})},i=e=>{for(let a=0;a<e.length;a++){let o=e[a];if(o.type===`table`){for(let e of o.rows)for(let t of e.cells)i(t.content);continue}if(o.type!==`paragraph`)continue;let s=e[a-1],c=e[a+1],l=t.paragraph(o).paragraphProperties,u=o.properties?.style,d=e=>e?.type===`paragraph`&&e.properties?.style===u,f=l.contextualSpacing===!0,p=r(o),m=p!==``&&r(s)===p,h=p!==``&&r(c)===p;(f||m||h)&&n.set(o,{before:f&&d(s),after:f&&d(c),mergeDecorationTop:m,mergeDecorationBottom:h})}};return i(e.body),n}function KV(e,t){let n=/* @__PURE__ */ new Map;if(!e.numberingInstances?.length||!e.abstractNumberings?.length)return n;let r=gV(e),i=e=>{let i=t.numbering(e);if(!i)return;let{numId:a,level:o}=i,s=r.levelDef(a,o);if(!s)return;let c=r.next(a,o),l=s.paragraphProperties?.indent?.left,u=l==null?(o+1)*36:dg(l);if(s.format===`bullet`){n.set(e,{text:`${JV(s.text)} `,indentPt:u});return}let d=s.text?s.text.replace(/%([1-9])/g,(e,t)=>{let n=Number(t)-1;return Vz(n===o?c:r.current(a,n),_V(r,a,s,n))}):`${Vz(c,_V(r,a,s,o))}.`;n.set(e,{text:`${d} `,indentPt:u})},a=e=>{for(let t of e)if(t.type===`paragraph`)i(t);else if(t.type===`table`)for(let e of t.rows)for(let t of e.cells)a(t.content)};return a(e.body),n}function qV(e){let t=[];for(let n of e.abstractNumberings??[])for(let e of n.levels??[])e.format===`bullet`&&t.push(JV(e.text));return t}function JV(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 YV(e,t,n,r,i,a,o,s){let c=e.properties,l=QH?.paragraph(e,s),u=l?.runProperties,d=l?c?.style?{...l.paragraphProperties,style:c.style}:l.paragraphProperties:c,f=d?.spacing,p=QH?aR(QH,e,u?.size):1,m=XH?.get(e),h=0;m?.before?h=0:f?.beforeAutoSpacing?h=5:f?.before!=null&&(h=dg(f.before));let g=d?.indent,_=(o??YH)?.get(e),v=_?_.indentPt:0,y=Math.max(g?.left?dg(g.left):0,v),b=d?.alignment??`left`,x=iH(e,u),S=0;if(_){let e;for(let t of x)if(rH(t)){e=t.properties;break}x.unshift({text:_.text,properties:e}),S=EH(_.text,e,_H(e)*p,r,e?.bold,e?.italic)}let C=g?.hanging?dg(g.hanging):_?S:0,w=C>0?-C:g?.firstLine?dg(g.firstLine):0,T=vH(x,c,u)*p,E=T;if(f?.line)switch(f.lineRule??`auto`){case`exact`:E=dg(f.line);break;case`atLeast`:E=Math.max(dg(f.line),T);break;case`auto`:E=T*(f.line/240)}let ee=g?.right?dg(g.right):0,te=Math.max(1,n-y-ee),ne,re;if(i&&i.exclusions.length>0){let e=pH(x,y,w,p,E,t+h,i,r);ne=e.lines,re=e.slots}else ne=gH(x,te,w,p,r);let ie=[],ae=[],oe=[],se=[],ce=h;for(let e=0;e<ne.length;e++){let t=ne[e],n=[],i=re?.[e]??{xOffset:0,width:te},o=re?i.xOffset:y,s=re?i.width:te,c=e===0?w:0,l=0,u=0,d=0,m=0;for(let e of t)if(!(`type`in e&&e.type===`break`)){if(`type`in e&&e.type===`image`){let t=AH(e.content.width),n=AH(e.content.height);l+=t,n>m&&(m=n)}else{let t=_H(e.properties)*p;l+=EH(e.text,e.properties,t,r,e.properties?.bold,e.properties?.italic);let n=DH(e.text,e.properties,t,r,e.properties?.bold,e.properties?.italic),i=e.properties?.vertAlign===`superscript`?t*fR:e.properties?.vertAlign===`subscript`?-t*fR:0;u=Math.max(u,n.ascent+i),d=Math.min(d,n.descent+i)}}b===`center`?c=(s-l)/2:(b===`right`||b===`end`)&&(c=s-l);let h=0,g=0;if(b===`both`&&!xH(ne,e)){let e=s-c-l;if(e>0){let{spaces:n,ideographs:r}=SH(t),i=n+r;if(i>0){let t=e/i;n>0&&(g=t),r>0&&(h=t)}}}c+=o;for(let e of t){if(`type`in e&&e.type===`break`)continue;if(`type`in e&&e.type===`image`){let t=AH(e.content.width),r=AH(e.content.height),i=e.content.rId?a?.get(e.content.rId):void 0;n.push({type:`image`,x:c,width:t,height:r,data:i?.data??/* @__PURE__ */ new Uint8Array,mimeType:jH(i?.mediaType),altText:e.content.altText}),c+=t;continue}let t=_H(e.properties)*p,i=yH(e.properties),o=i.ascii===i.eastAsia&&h===0?[{text:e.text,cjk:!1}]:qr(e.text);for(let a of o){let o=a.cjk?i.eastAsia:i.ascii,s=a.cjk?h:0,l=a.cjk?0:g,u=bH(a.text,o,t,r,e.properties?.bold,e.properties?.italic)+TH(a.text,s,l);n.push({text:a.text,x:c,width:u,font:o,fontSize:t,charSpacing:s>0?s:void 0,wordSpacing:l>0?l:void 0,bold:e.properties?.bold||void 0,italic:e.properties?.italic||void 0,color:kH(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}),c+=u}}let _=b===`both`?`justify`:b===`end`?`right`:b===`start`?`left`:b,{baseline:v,height:x}=Dz({nominalHeight:E,ascent:u,descent:d,imageAscent:m,exact:f?.lineRule===`exact`});ie.push({y:ce,height:x,baseline:v,runs:n,alignment:_}),ae.push(t.flatMap(e=>rH(e)?e.noteIds??[]:[])),oe.push(t.flatMap(e=>rH(e)?e.bookmarks??[]:[])),t.some(e=>`type`in e&&e.type===`break`&&e.pageBreak===!0)&&se.push(e),ce+=x}ie.length===0&&d?.thematicBreak!==!0&&(ce+=E);let le=0;m?.after?le=0:f?.afterAutoSpacing?le=5:f?.after!=null&&(le=dg(f.after));let ue=ce+le,de=ZV(d?.borders),fe=rB(d?.shading),pe=de!==void 0||fe!==void 0;if(de&&(m?.mergeDecorationTop||m?.mergeDecorationBottom)){let{top:e,bottom:t,...n}=de,r=XV(d?.borders?.between);de={...n,...m.mergeDecorationTop?r?{top:r}:{}:e?{top:e}:{},...m.mergeDecorationBottom?{}:t?{bottom:t}:{}}}return{type:`paragraph`,rect:{x:0,y:t,width:n,height:ue},lines:ie,...de?{borders:de}:{},...fe?{backgroundColor:fe}:{},...ae.some(e=>e.length>0)?{lineNoteIds:ae}:{},...oe.some(e=>e.length>0)?{lineBookmarks:oe}:{},...se.length>0?{pageBreakAfterLines:se}:{},...pe?{decorationInsets:{left:y,right:ee,top:m?.mergeDecorationTop?0:h,bottom:m?.mergeDecorationBottom?0:le}}:{},sourceIndex:0}}function XV(e){if(!e||e.style===`none`||e.style===`nil`)return;let t=e.size==null?.5:e.size/8,n=!e.color||e.color===`auto`?`000000`:e.color.replace(/^#/,``);return{width:Math.max(.25,t),color:n,space:e.space??0}}function ZV(e){if(!e)return;let t=XV(e.top),n=XV(e.bottom),r=XV(e.left??e.bar),i=XV(e.right);if(t||n||r||i)return{...t?{top:t}:{},...n?{bottom:n}:{},...r?{left:r}:{},...i?{right:i}:{}}}function QV(e,t,n,r,i,a){let o=e.rows.length>0?e.rows[0].cells.length:0,s=nH(e,o,n),c=[0];for(let e=0;e<s.length;e++)c.push(c[e]+s[e]);let l=[],u=0,d=e.rows.length,f=e.properties?.style,p=e.properties?.look;for(let t=0;t<e.rows.length;t++){let r=e.rows[t],m=lR(e.properties,11),h=[],g=r.properties?.height,_=g?.value==null?void 0:dg(g.value);_!==void 0&&g?.rule!==`auto`&&(m=Math.max(m,_));let v=0;for(let g=0;g<r.cells.length;g++){let _=r.cells[g],y=Math.max(1,_.properties?.gridSpan??1),b=Math.min(v,s.length-1),x=Math.min(v+y,s.length),S=c[b]??0,C=(c[x]??n)-S,w=[],T=tH(e.properties,_.properties),E=Math.max(1,C-T.left-T.right),ee=T.top,te=f?{tableContext:{tableStyleId:f,tblLook:p,rowIndex:t,colIndex:b,totalRows:d,totalCols:Math.max(o,s.length),rowBandSize:e.properties?.rowBandSize,colBandSize:e.properties?.colBandSize}}:void 0;for(let e of _.content)if(e.type===`paragraph`){let t=YV(e,ee,E,i,void 0,a,void 0,te);w.push({...t,rect:{...t.rect,x:t.rect.x+T.left},sourceIndex:-1}),ee=t.rect.y+t.rect.height}else if(e.type===`table`){let t=QV(e,ee,E,-1,i,a);w.push({...t,rect:{...t.rect,x:t.rect.x+T.left}}),ee=t.rect.y+t.rect.height}let ne=ee+T.bottom;ne>m&&(m=ne);let re=QH?QH.tableCellFill(e,_,{rowIndex:t,colIndex:b,totalRows:d,totalCols:Math.max(o,s.length)}):void 0;l.push({rect:{x:S,y:u,width:C,height:ne},row:t,col:g,content:w,...re?{backgroundColor:re}:{},borders:eH(e.properties?.borders,_.properties?.borders,t===0,t===e.rows.length-1,b===0,x>=s.length)}),h.push({cell:l[l.length-1],verticalAlign:_.properties?.verticalAlign}),v+=y}_!==void 0&&g?.rule===`exact`&&(m=_);for(let{cell:e,verticalAlign:t}of h)e.rect.height>m&&(e.clipToBounds=!0),$V(e,t,m),e.rect.height=m;u+=m}return{type:`table`,rect:{x:0,y:t,width:n,height:u},cells:l,sourceIndex:r}}function $V(e,t,n){if(!t||t===`top`)return;let r=n-e.rect.height;if(r<=0)return;let i=t===`center`?r/2:r;for(let t of e.content)t.rect.y+=i}function eH(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=n?o(t?.top,e?.top,e?.insideH,!0):o(t?.top,void 0,void 0,!1),c=o(t?.bottom,e?.bottom,e?.insideH,r),l=i?o(t?.left,e?.left,e?.insideV,!0):o(t?.left,void 0,void 0,!1),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 tH(e,t){let n=rR(e,t);return{top:dg(n.top),right:dg(n.right),bottom:dg(n.bottom),left:dg(n.left)}}function nH(e,t,n){return cR(e,t,ug(n)).map(dg)}function rH(e){return!(`type`in e)||e.type===void 0}function iH(e,t){let n=[],r=e=>{let r=QH?sR(QH,e,t):oR(t,e.properties);jz(r)||aH(e,n,r)};for(let t of e.children){let e=Az(t);if(e)r(e);else if(WR(t))for(let e of Mz(t.children))r(e);else`type`in t&&t.type===`bookmarkStart`&&`name`in t&&n.push({text:``,properties:void 0,bookmarks:[t.name]})}return n}function aH(e,t,n){let r=``,i=()=>{r.length>0&&(t.push({text:r,properties:n}),r=``)};for(let a of e.content)if(a.type===`text`)r+=a.text;else if(a.type===`tab`)r+=` `;else if(a.type===`break`){i();let e=a.breakType===`page`;t.push({type:`break`,properties:n,...e?{pageBreak:!0}:{}})}else if(a.type===`image`)i(),t.push({type:`image`,content:a,properties:n});else if(a.type===`symbol`)r+=GR(a);else if(a.type===`field`)r+=oH(a);else if(a.type===`footnoteRef`||a.type===`endnoteRef`){i();let e=sH(a.type,a.id);e.length>0&&t.push({text:e,properties:n,noteIds:[a.id]})}i()}function oH(e){let t=$H;if(t){let n=Pz(e.instruction),r=n?.name===`PAGE`?t.page:n?.name===`NUMPAGES`?t.numPages:t.sectionPages,i=n&&r!==void 0?Iz(n,r,t.format):void 0;if(i!==void 0)return i}return e.cachedValue??``}function sH(e,t){let n=e===`footnoteRef`?ZH?.footnotes:ZH?.endnotes;if(!n)return``;let r=n.filter(e=>e.id>0).findIndex(e=>e.id===t);return r>=0?String(r+1):``}function cH(e,t,n){let r=[],i=/* @__PURE__ */ new Map,a=e=>{let r=_H(e)*t,a=yH(e),o=e?.bold===!0,s=e?.italic===!0,c=`${a.ascii}\u0000${a.eastAsia}|${r}|${o?`b`:``}${s?`i`:``}`,l=i.get(c);if(l===void 0){let e=mH(a.ascii,r,n,o,s);if(a.eastAsia===a.ascii)l=e;else{let t=mH(a.eastAsia,r,n,o,s);l=n=>{let r=0;for(let i of qr(n))r+=i.cjk?t(i.text):e(i.text);return r}}i.set(c,l)}return l},o=e=>{let t=r[r.length-1];if(t===void 0||t.kind===`space`||t.kind===`break`)return!1;if(e!==void 0&&e.length>0&&t.text.length>0){let n=[...t.text];if(Gr(n[n.length-1].codePointAt(0),e.codePointAt(0)))return!1}return!0};for(let t of e){if(`type`in t&&t.type===`break`){r.push({kind:`break`,width:0,glued:!1,text:``,segment:t,measure:eU});continue}if(`type`in t&&t.type===`image`){r.push({kind:`image`,width:AH(t.content.width),glued:o(),text:``,segment:t,measure:eU});continue}let e=a(t.properties);if(t.text.length===0){r.push({kind:`word`,width:0,glued:o(),text:``,segment:t,measure:e});continue}for(let n of t.text.split(/(\s+)/)){if(n.length===0)continue;if(/^\s/.test(n)){r.push({kind:`space`,width:e(n),glued:!1,text:n,segment:t,measure:e});continue}let i=!0;for(let a of Kr(n))r.push({kind:`word`,width:e(a),glued:i?o(a):!1,text:a,segment:t,measure:e}),i=!1}}return r}function lH(e){let t=e.segment;return`type`in t&&t.type===`break`&&t.pageBreak===!0}function uH(e,t){if(!t.glued)return 0;let n=0;for(;n<e.length;){let t=e[e.length-1-n];if(n++,!t.glued)break}return n>=e.length?0:n}function dH(e,t,n){let r=n;for(let n=0;n<t;n++)r-=e[e.length-1-n].width;return r}function fH(e){let t=[],n,r=``,i=()=>{n!==void 0&&rH(n)&&t.push(r===n.text?n:{...n,text:r}),n=void 0,r=``};for(let a of e){if(a.kind===`break`||a.kind===`image`){i(),t.push(a.segment);continue}a.segment!==n&&(i(),n=a.segment),r+=a.text}for(i();t.length>0;){let e=t[t.length-1];if(!rH(e))break;let n=e.text.replace(/\s+$/,``);if(n===e.text)break;if(t.pop(),n.length>0){t.push({...e,text:n});break}if(e.noteIds!==void 0||e.bookmarks!==void 0){t.push({...e,text:``});break}}return t}function pH(e,t,n,r,i,a,o,s){let c=cH(e,r,s),l=[],u=[];if(c.length===0)return{lines:l,slots:u};let d=0,f=0,p=!1;for(;d<c.length;){let e=DV(o,a+f*i,i),r=f===0?n:0,s=e.width-r,m=e.xOffset+r;if(e.xOffset===0&&t>0&&(s-=t,m+=t),s<=0){if(l.push([]),u.push({xOffset:m,width:Math.max(0,s)}),f++,f>1e3)break;continue}if(p&&c[d].kind===`space`&&(d++,d>=c.length))break;p=!0;let h=[],g=0;for(;d<c.length;){let e=c[d];if(e.kind===`break`){if(lH(e)&&l.length===0&&h.length===0){d++,p=!1;continue}h.push(e),d++,p=!1;break}if(g+e.width<=s){h.push(e),g+=e.width,d++;continue}let t=uH(h,e);if(t>0&&dH(h,t,g)>0){h.length-=t,d-=t;break}if(g>0)break;if(e.kind===`word`&&e.text.length>0){let{head:t,tail:n}=hH(e.text,e.measure,s);if(n.length>0){c[d]={...e,text:n,width:e.measure(n),glued:!0};let r=e.measure(t);h.push({...e,text:t,width:r}),g+=r;break}}h.push(e),g+=e.width,d++}if(l.push(fH(h)),u.push({xOffset:m,width:s}),f++,f>1e5)break}return{lines:l,slots:u}}function mH(e,t,n,r,i){let a=/* @__PURE__ */ new Map;return o=>{if(o.length>8)return bH(o,e,t,n,r,i);let s=a.get(o);if(s!==void 0)return s;let c=bH(o,e,t,n,r,i);return a.set(o,c),c}}function hH(e,t,n){let r=``,i=0,a=0;for(let o of e){let e=t(o);if(r.length>0&&i+e>n)break;r+=o,i+=e,a+=o.length}return{head:r,tail:e.slice(a)}}function gH(e,t,n,r,i){let a=cH(e,r,i),o=[],s=[],c=0,l=!0,u=t-n,d=!1,f=()=>{o.push(fH(s)),s=[],c=0,l&&(l=!1,u=t)},p=0;for(;p<a.length;){let e=a[p];if(e.kind===`break`){if(lH(e)&&o.length===0&&s.length===0){d=!1,p++;continue}s.push(e),f(),d=!1,p++;continue}if(e.kind===`space`){if(d&&c===0){p++;continue}s.push(e),c+=e.width,p++;continue}if(c+e.width<=u){s.push(e),c+=e.width,p++;continue}let t=uH(s,e);if(t>0&&dH(s,t,c)>0){s.length-=t,p-=t,f(),d=!0;continue}if(c>0){f(),d=!0;continue}if(e.kind===`image`||e.text.length===0){s.push(e),c+=e.width,p++;continue}let{head:n,tail:r}=hH(e.text,e.measure,u);if(r.length===0){s.push(e),c+=e.width,p++;continue}let i=e.measure(n);s.push({...e,text:n,width:i}),c+=i,a[p]={...e,text:r,width:e.measure(r),glued:!0},f(),d=!0}return s.length>0&&f(),o.length===0&&e.length>0&&o.push(e),o}function _H(e){let t=e?.size?e.size/2:11;return e?.vertAlign===`superscript`||e?.vertAlign===`subscript`?t*dR:t}function vH(e,t,n){let r=0;for(let t of e){if(!rH(t))continue;let e=_H(t.properties);e>r&&(r=e)}if(r===0){let i=e.find(e=>`type`in e&&e.type===`break`)?.properties;r=_H(t?.markRunProperties??n??i)}return r*uR}function yH(e){let t=e?.font;if(!t)return{ascii:`Calibri`,eastAsia:`Calibri`};if(typeof t==`string`)return{ascii:t,eastAsia:t};let n=t,r=n.ascii??n.hAnsi??`Calibri`;return{ascii:r,eastAsia:n.eastAsia??r}}function bH(e,t,n,r,i,a){return r?.measureText?r.measureText(e,t,n,i,a):Mi(e,Li(t,i,a),n)}function xH(e,t){if(t>=e.length-1)return!0;let n=e[t+1];return e[t].some(e=>`type`in e&&e.type===`break`)||n.length===0}function SH(e){let t={spaces:0,ideographs:0};for(let n of e)if(rH(n)){let e=CH(n.text);t.spaces+=e.spaces,t.ideographs+=e.ideographs}return t}function CH(e){let t=0,n=0;for(let r of qr(e)){if(r.cjk){n+=Yr(r.text);continue}for(let e of r.text)wH(e)&&t++}return{spaces:t,ideographs:n}}function wH(e){return e===` `}function TH(e,t,n){if(t===0&&n===0)return 0;let{spaces:r,ideographs:i}=CH(e);return r*n+i*t}function EH(e,t,n,r,i,a){let o=yH(t);if(o.ascii===o.eastAsia)return bH(e,o.ascii,n,r,i,a);let s=0;for(let t of qr(e))s+=bH(t.text,t.cjk?o.eastAsia:o.ascii,n,r,i,a);return s}function DH(e,t,n,r,i,a){let o=yH(t);if(o.ascii===o.eastAsia)return OH(e,o.ascii,n,r,i,a);let s=-1/0,c=1/0;for(let t of qr(e)){let e=OH(t.text,t.cjk?o.eastAsia:o.ascii,n,r,i,a);s=Math.max(s,e.ascent),c=Math.min(c,e.descent)}return s===-1/0?OH(e,o.ascii,n,r,i,a):{ascent:s,descent:c}}function OH(e,t,n,r,i,a){if(r?.measureTextMetrics)return r.measureTextMetrics(e,t,n,i,a);let o=Li(t,i,a);return{ascent:Ni(o,n),descent:Pi(o,n)}}function kH(e){if(e){if(typeof e==`string`)return e;if(typeof e==`object`&&`value`in e)return e.value}}function AH(e){return e/yg}function jH(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 MH(e){let t=/* @__PURE__ */ 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 NH(e,t,n,r,i,a,o){if(e.simplePos!==void 0){let t=AH(e.simplePos.x??0),n=AH(e.simplePos.y??0);return{x:t-i.marginLeft,y:n-i.marginTop}}return{x:PH(e,n,i,a)??0,y:FH(e,t,r,i,o)??t}}function PH(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+AH(i.offset)}function FH(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+AH(a.offset)}function IH(e,t,n,r,i,a,o){let s=AH(e.width),c=AH(e.height),{x:l,y:u}=NH(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:jH(d.mediaType),altText:e.altText,sourceIndex:a}:{type:`image`,rect:{x:l,y:u,width:s,height:c},data:/* @__PURE__ */ 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:LH(e.wrap)}:{},sourceIndex:a}}function LH(e){let t={style:e.style};if(e.side&&(t.side=e.side),e.margins){let n={};e.margins.top!=null&&(n.top=AH(e.margins.top)),e.margins.bottom!=null&&(n.bottom=AH(e.margins.bottom)),e.margins.left!=null&&(n.left=AH(e.margins.left)),e.margins.right!=null&&(n.right=AH(e.margins.right)),Object.keys(n).length>0&&(t.margins=n)}return t}function RH(e,t,n,r,i,a){let o=e.width==null?n:dg(e.width),s=[],c=0;for(let t of e.content){let e=YV(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):dg(e.height)},content:s,border:e.stroke&&e.strokeColor?{width:.75,color:qH(e.strokeColor)}:void 0,background:e.fill&&e.fillColor?qH(e.fillColor):void 0,sourceIndex:r}}function zH(e,t,n,r,i,a){let o=AH(e.width),s=AH(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=YV(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:JH(e.fillColor),strokeColor:e.noOutline?void 0:JH(e.outlineColor),strokeWidth:e.outlineWidth==null?void 0:AH(e.outlineWidth),textContent:l.length>0?l:void 0,sourceIndex:r}}function BH(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(AH(i),n),s=AH(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 VH(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=YV(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=QV(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 HH(e,t,n,r,i){let a=KR(e.content),o;try{o=sz(e.content)}catch{o=void 0}let s=i?.fonts?.get(`Cambria Math`)??`Cambria Math`;return{type:`math`,rect:{x:0,y:t,width:Math.min(bH(a,s,11,i),n),height:13.2},text:a,mathML:o,sourceIndex:r}}function UH(e,t,n,r){let i=e.checked===!0,a=i?e.checkedState?.value??`☑`:e.uncheckedState?.value??`☐`;return{type:`checkBox`,rect:{x:0,y:t,width:bH(a,e.checkedState?.font??r?.fonts?.get(`MS Gothic`)??`MS Gothic`,11,r),height:13.2},checked:i,glyph:a,fontSize:11,sourceIndex:n}}function WH(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=YV(t,s,n,i,void 0,a);o.push({...e,sourceIndex:r}),s=e.rect.y+e.rect.height}else{let e=YV({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 GH(e,t,n,r){return{type:`altChunk`,rect:{x:0,y:t,width:n,height:33},contentType:e.contentType??`application/octet-stream`,fileName:e.fileName,sourceIndex:r}}function KH(e,t,n,r){return{type:`opaqueDrawing`,rect:{x:0,y:t,width:n,height:132},rawXml:e.rawXml,sourceIndex:r}}function qH(e){return e.startsWith(`#`)?e.slice(1):e}function JH(e){return e?qH(e):void 0}var YH,XH,ZH,QH,$H,eU,tU=n((()=>{li(),Ki(),Ez(),qR(),oz(),hV(),hR(),kz(),Nz(),vV(),Kz(),uB(),vB(),yV(),eU=()=>0}));function nU(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 rU(e){let t=sL(e).root,n=$(t,`cx:chartData`),r=$(t,`cx:chart`),i={entries:[]};if(nU(t,zU,`cx:chartSpace`,i),r){nU(r,BU,`cx:chartSpace/cx:chart`,i);let e=$(r,`cx:plotArea`);if(e){nU(e,VU,`cx:chartSpace/cx:chart/cx:plotArea`,i);let t=$(e,`cx:plotAreaRegion`);if(t){nU(t,HU,`cx:chartSpace/cx:chart/cx:plotArea/cx:plotAreaRegion`,i);for(let e of cL(t,`cx:series`))nU(e,UU,`cx:chartSpace/cx:chart/cx:plotArea/cx:plotAreaRegion/cx:series`,i)}for(let t of cL(e,`cx:series`))nU(t,UU,`cx:chartSpace/cx:chart/cx:plotArea/cx:series`,i);for(let t of cL(e,`cx:axis`))nU(t,WU,`cx:chartSpace/cx:chart/cx:plotArea/cx:axis`,i)}}let a=SU(r?$(r,`cx:spPr`):void 0),o=SU($(t,`cx:spPr`))??a,s=cL(t,`cx:externalData`).map(e=>({id:e.attributes[`r:id`]??``,autoUpdate:AU(e,`autoUpdate`)})),c=n?cL(n,`cx:externalData`).map(e=>({id:e.attributes[`r:id`]??``,autoUpdate:AU(e,`autoUpdate`)})):[],l=s.length>0?s:c;return{chartSpace:{chartData:iU(n,i),chart:lU(r,i),clrMapOvr:wU(t,`cx:clrMapOvr`),spPr:o,txPr:CU(t,`cx:txPr`),protection:wU(t,`cx:protection`),printSettings:wU(t,`cx:printSettings`),extLst:wU(t,`cx:extLst`),...l.length>0?{externalData:l}:{}},rawXml:e,...i.entries.length>0?{unknownElements:i.entries}:{}}}function iU(e,t){return e?{data:cL(e,`cx:data`).flatMap(e=>oU(e,t))}:{data:[]}}function aU(e,t){let n=$(e,`cx:strDim`),r=$(e,`cx:numDim`);return{id:FU(e.attributes.id),...n?{strDim:sU(n,t)}:{},...r?{numDim:cU(r,t)}:{}}}function oU(e,t){let n=FU(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[aU(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:sU(a,t)}):i.push({id:o,numDim:cU(a,t)})}return i}function sU(e,t){return{type:LU(e.attributes.type,t,`cx:strDim/@type`),formula:OU(e,`cx:f`),levels:cL(e,`cx:lvl`).map(e=>({ptCount:PU(e.attributes.ptCount),points:cL(e,`cx:pt`).map(e=>({index:FU(e.attributes.idx),value:lL(e)}))}))}}function cU(e,t){return{type:LU(e.attributes.type,t,`cx:numDim/@type`),formula:OU(e,`cx:f`),levels:cL(e,`cx:lvl`).map(e=>({ptCount:PU(e.attributes.ptCount),formatCode:e.attributes.formatCode,points:cL(e,`cx:pt`).map(e=>{let t=parseFloat(lL(e));if(Number.isFinite(t))return{index:FU(e.attributes.idx),value:t}}).filter(e=>e!==void 0)}))}}function lU(e,t){let n=e?$(e,`cx:plotArea`):void 0;return{title:e?yU($(e,`cx:title`)):void 0,autoTitleDeleted:e?AU($(e,`cx:autoTitleDeleted`),`val`):void 0,plotArea:uU(n,t),legend:e?vU($(e,`cx:legend`),t):void 0}}function uU(e,t){if(!e)return{};let n=$(e,`cx:plotAreaRegion`),r=cL(e,`cx:axis`).map(e=>_U(e,t));if(n){let i=$(n,`cx:plotSurface`);return{plotAreaRegion:{layout:xU($(n,`cx:layout`)),plotSurface:i?SU($(i,`cx:spPr`)):void 0,series:cL(n,`cx:series`).map(e=>fU(e,t,`cx:chartSpace/cx:chart/cx:plotArea/cx:plotAreaRegion/cx:series`)),extLst:wU(n,`cx:extLst`)},spPr:SU($(e,`cx:spPr`)),extLst:wU(e,`cx:extLst`),...r.length>0?{axis:r}:{}}}let i=cL(e,`cx:series`).map(e=>fU(e,t,`cx:chartSpace/cx:chart/cx:plotArea/cx:series`));return{...i.length>0?{series:i}:{},spPr:SU($(e,`cx:spPr`)),extLst:wU(e,`cx:extLst`),...r.length>0?{axis:r}:{}}}function dU(e,t,n){return e!==void 0&&GU.has(e)?{layoutId:e}:(t?.entries.push({name:e===void 0?`@layoutId(missing)`:`@layoutId=${e}`,path:n}),{layoutId:`clusteredColumn`,rawLayoutId:e})}function fU(e,t,n){let r=cL(e,`cx:dataId`).map(e=>({dataId:FU(e.attributes.val)})),i=cL(e,`cx:axisId`).map(e=>{let t=e.attributes.val;if(t!==void 0&&t!==``)return FU(t);let n=lL(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=pU($(e,`cx:tx`)),o=mU($(e,`cx:layoutPr`)),s=dU(e.attributes.layoutId,t,n??`cx:series`);return{layoutId:s.layoutId,...s.rawLayoutId===void 0?{}:{rawLayoutId:s.rawLayoutId},hidden:AU(e,`hidden`),ownerIdx:PU(e.attributes.ownerIdx),...a?{tx:a}:{},spPr:SU($(e,`cx:spPr`)),txPr:CU(e,`cx:txPr`),valueColors:wU(e,`cx:valueColors`),valueColorPositions:wU(e,`cx:valueColorPositions`),...r.length>0?{dataRefs:r}:{},...o?{layoutPr:o}:{},...i.length>0?{axisId:i}:{},dataLabels:hU($(e,`cx:dataLabels`),t,n),dataPt:cL(e,`cx:dataPt`).map(e=>({idx:FU(e.attributes.idx),spPr:SU($(e,`cx:spPr`))})),extLst:wU(e,`cx:extLst`)}}function pU(e){if(!e)return;let t=$(e,`cx:rich`);if(t){let e=bU(t);if(e)return{rich:e}}let n=$(e,`cx:txData`);if(!n)return;let r=OU(n,`cx:f`);if(r){let e=OU(n,`cx:v`);return{strRef:e===void 0?{formula:r}:{formula:r,cached:e}}}let i=OU(n,`cx:v`);return i===void 0?void 0:{value:i}}function mU(e){if(!e)return;let t=$(e,`cx:binning`),n=$(e,`cx:subtotals`),r=n?[...cL(n,`cx:idx`).map(e=>({idx:FU(e.attributes.val)})),...cL(n,`cx:subtotal`).map(e=>({idx:FU(e.attributes.idx)}))]:void 0,i=kU(e,`cx:parentLabelLayout`),a=$(e,`cx:visibility`),o=$(e,`cx:statistics`),s=$(e,`cx:geography`),c=$(e,`cx:regionLabelLayout`),l=o?.attributes.quartileMethod??kU(e,`cx:quartileMethod`),u=s?.attributes.projectionType??kU(e,`cx:projection`),d=c?.attributes.val??kU(e,`cx:regionLabels`),f=d===`bestFitOnly`?`bestFit`:d,p=s?.attributes.viewedRegionType??kU(e,`cx:geoMappingLevel`),m=p===`countryRegion`?`country`:p===`dataOnly`?`automatic`:p;return{_rawXml:EU(e),...i===void 0?{}:{parentLabelLayout:i},...r===void 0?{}:{subtotals:r},...(()=>{let t=a?.attributes.connectorLines;if(t!==void 0){let e=jU(t);return e===void 0?{}:{connectorLines:e}}let n=MU($(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:IU(t.attributes.underflow),overflow:IU(t.attributes.overflow),binSize:IU((OU(t,`cx:binSize`)||void 0)??kU(t,`cx:binSize`)),binCount:PU((OU(t,`cx:binCount`)||void 0)??kU(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=MU($(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=jU(t);return e===void 0?{}:{showMeanLine:e}}let n=MU($(e,`cx:showMeanLine`));return n===void 0?{}:{showMeanLine:n}})(),...(()=>{let t=a?.attributes.meanMarker;if(t!==void 0){let e=jU(t);return e===void 0?{}:{showMeanMarker:e}}let n=MU($(e,`cx:showMeanMarker`));return n===void 0?{}:{showMeanMarker:n}})(),...(()=>{let t=a?.attributes.nonoutliers;if(t!==void 0){let e=jU(t);return e===void 0?{}:{showInnerPoints:e}}let n=MU($(e,`cx:showInnerPoints`));return n===void 0?{}:{showInnerPoints:n}})(),...(()=>{let t=a?.attributes.outliers;if(t!==void 0){let e=jU(t);return e===void 0?{}:{showOutlierPoints:e}}let n=MU($(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:wU(e,`cx:extLst`)}}function hU(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:AU(r,`seriesName`),categoryName:AU(r,`categoryName`),value:AU(r,`value`),numFmt:AU(r,`numFmt`)}:void 0,position:NU($(e,`cx:dataLabel`)?.attributes.pos,i,t,`${a}/cx:dataLabel/@pos`),separator:OU(e,`cx:separator`),numFmt:$(e,`cx:numFmt`)?.attributes.formatCode,spPr:SU($(e,`cx:spPr`)),txPr:CU(e,`cx:txPr`)}}function gU(e){if(!e)return;let t=$(e,`cx:spPr`);return t?SU(t):{}}function _U(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:FU(e.attributes.id),type:$(e,`cx:valScaling`)?`val`:`cat`,hidden:AU(e,`hidden`)??MU($(e,`cx:hidden`)),majorTickMark:o(NU($(e,`cx:majorTickMarks`)?.attributes.type??$(e,`cx:majorTickMark`)?.attributes.type??kU(e,`cx:majorTickMarks`)??kU(e,`cx:majorTickMark`),a,t,`cx:axis/cx:majorTickMarks/@type`)),minorTickMark:o(NU($(e,`cx:minorTickMarks`)?.attributes.type??$(e,`cx:minorTickMark`)?.attributes.type??kU(e,`cx:minorTickMarks`)??kU(e,`cx:minorTickMark`),a,t,`cx:axis/cx:minorTickMarks/@type`)),numFmt:n?{formatCode:n.attributes.formatCode||`General`,sourceLinked:AU(n,`sourceLinked`)}:void 0,title:yU($(e,`cx:title`)),majorGridlines:gU($(e,`cx:majorGridlines`)),minorGridlines:gU($(e,`cx:minorGridlines`)),spPr:SU($(e,`cx:spPr`)),txPr:CU(e,`cx:txPr`),valScaling:r?{min:IU(r.attributes.min),max:IU(r.attributes.max),majorUnit:IU(r.attributes.majorUnit),minorUnit:IU(r.attributes.minorUnit)}:void 0,catScaling:i?{gapWidth:IU(i.attributes.gapWidth)}:void 0,units:wU(e,`cx:units`),extLst:wU(e,`cx:extLst`)}}function vU(e,t){if(e)return{legendPos:NU(e.attributes.pos,[`b`,`l`,`r`,`t`,`tr`],t,`cx:legend/@pos`),align:NU(e.attributes.align,[`ctr`,`l`,`r`,`t`,`b`],t,`cx:legend/@align`),overlay:AU(e,`overlay`),spPr:SU($(e,`cx:spPr`)),txPr:CU(e,`cx:txPr`),extLst:wU(e,`cx:extLst`),legendEntries:cL(e,`cx:legendEntry`).map(e=>({index:FU(e.attributes.idx),delete:AU(e,`delete`),txPr:CU(e,`cx:txPr`),extLst:wU(e,`cx:extLst`)}))}}function yU(e){if(!e)return;let t=$(e,`cx:tx`),n=bU($(t??RU(),`cx:rich`)),r=$(t??RU(),`cx:txData`),i=r?OU(r,`cx:f`):void 0,a=r?OU(r,`cx:v`):void 0,o=i?{formula:i,cache:a===void 0?{points:[]}:{points:[{index:0,value:a}]}}:void 0,s=AU($(e,`cx:overlay`),`val`),c=SU($(e,`cx:spPr`)),l=CU(e,`cx:txPr`),u=wU(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 bU(e){if(!e)return;let t=cL(e,`a:p`).map(e=>({runs:cL(e,`a:r`).map(e=>{let t=OU(e,`a:t`)??``,n=$(e,`a:rPr`);if(!n)return{text:t};let r=TU(n);if(!r)return{text:t};let i=CO({_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 xU(e){let t=TU(e);return t?{_rawXml:t}:void 0}function SU(e){let t=TU(e);if(t)return{...sO({_rawXml:t}),_rawXml:t}}function CU(e,t){let n=wU(e,t);if(n)return{...CO({_rawXml:n}),_rawXml:n}}function wU(e,t){return TU($(e,t))}function TU(e){if(e)return EU(e)}function EU(e){let t=Object.entries(e.attributes??{}).map(([e,t])=>` ${e}="${An(t)}"`).join(``),n=e.children??[];return n.length===0?`<${e.name}${t}/>`:`<${e.name}${t}>${n.map(DU).join(``)}</${e.name}>`}function DU(e){return e.type===`text`?PD(e.value??``):e.type===`element`?EU(e):e.type===`cdata`?`<![CDATA[${e.value??``}]]>`:e.type===`comment`?`<!--${e.value??``}-->`:e.type===`processing-instruction`?`<?${e.target}${e.body?` ${e.body}`:``}?>`:``}function OU(e,t){let n=$(e,t);return n?lL(n):void 0}function kU(e,t){return $(e,t)?.attributes.val}function AU(e,t){let n=e?.attributes[t];if(n!==void 0)return jU(n)}function jU(e){if(e!==void 0){if(e===`1`||e===`true`)return!0;if(e===`0`||e===`false`)return!1}}function MU(e){if(e)return e.attributes.val===void 0||AU(e,`val`)}function NU(e,t,n,r){if(e!==void 0){if(t.includes(e))return e;n?.entries.push({name:`${r}=${e}`,path:r})}}function PU(e){if(e===void 0)return;let t=parseInt(e,10);return Number.isFinite(t)?t:void 0}function FU(e){if(e===void 0||e===``)return 0;let t=parseInt(e,10);return!Number.isFinite(t)||t<0?0:t}function IU(e){if(e===void 0)return;let t=parseFloat(e);return Number.isFinite(t)?t:void 0}function LU(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 RU(){return{type:`element`,name:``,attributes:{},children:[]}}var zU,BU,VU,HU,UU,WU,GU,KU=n((()=>{QD(),AO(),uL(),zU=/* @__PURE__ */ new Set([`cx:chartData`,`cx:chart`,`cx:clrMapOvr`,`cx:spPr`,`cx:txPr`,`cx:protection`,`cx:printSettings`,`cx:externalData`,`cx:extLst`]),BU=/* @__PURE__ */ new Set([`cx:title`,`cx:autoTitleDeleted`,`cx:plotArea`,`cx:legend`,`cx:spPr`,`cx:extLst`]),VU=/* @__PURE__ */ new Set([`cx:plotAreaRegion`,`cx:series`,`cx:axis`,`cx:spPr`,`cx:extLst`]),HU=/* @__PURE__ */ new Set([`cx:layout`,`cx:plotSurface`,`cx:spPr`,`cx:series`,`cx:extLst`]),UU=/* @__PURE__ */ new Set([`cx:tx`,`cx:spPr`,`cx:txPr`,`cx:valueColors`,`cx:valueColorPositions`,`cx:dataPt`,`cx:dataLabels`,`cx:dataId`,`cx:layoutPr`,`cx:axisId`,`cx:extLst`]),WU=/* @__PURE__ */ 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`]),GU=/* @__PURE__ */ new Set([`clusteredColumn`,`waterfall`,`funnel`,`boxWhisker`,`paretoLine`,`regionMap`,`sunburst`,`treemap`])}));function qU(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 JU(e){return{strLit:{pointCount:e.length,points:e.map((e,t)=>({index:t,value:e}))}}}function YU(e){return{numLit:{pointCount:e.length,points:e.map((e,t)=>({index:t,value:e}))}}}function XU(e){if(e&&e!==`none`)return{b:`b`,l:`l`,r:`r`,t:`t`,tr:`tr`}[e]??`r`}function ZU(e){let t=qU(e.type),n=QU(e,t),r=$U(t,e),i=e.legend&&e.legend!==`none`?{legendPos:XU(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 QU(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:JU(e.categories),val:YU(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:JU(e.categories),val:YU(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:JU(e.categories),val:YU(e.values)}))};case`doughnut`:return{type:`doughnut`,varyColors:!0,series:e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:JU(e.categories),val:YU(e.values)})),holeSize:50};case`area`:case`area3D`:{let r=e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:JU(e.categories),val:YU(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:JU(e.categories),yVal:YU(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:JU(e.categories),val:YU(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:JU(e.categories),val:YU(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:JU(e.categories),yVal:YU(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:JU(e.categories),val:YU(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:JU(e.categories),val:YU(e.values)})),axisIds:[1,2]}}}function $U(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 eW=n((()=>{})),tW=/* @__PURE__ */ r({createWordChartPdfRenderer:()=>nW,createWordLayoutChartPdfRenderer:()=>rW});function nW(){return(e,t,n)=>{hj(t,ZU(e),n)}}function rW(){return(e,t,n)=>{let r=e.source;if(e.chartKind===`chart`){if(r&&r.type===`chart`){hj(t,ZU(r.chart),n);return}return!1}if(r&&r.type===`chartEx`&&r.chartExXml){let i;try{i=rU(r.chartExXml)}catch{return!1}if(i&&tP(i)){nP(t,i,n,{title:e.title});return}}return!1}}var iW=n((()=>{CF(),KN(),KU(),eW()})),aW=/* @__PURE__ */ r({docxToPdf:()=>oW});async function oW(e,t){let n=dW(t),r=e=>({...n,measureText:(t,n,r,i=!1,a=!1)=>{let o=e.resolveFont(n,i,a);return e.measureText(t,o,r)},measureTextMetrics:(t,n,r,i=!1,a=!1)=>{let o=e.resolveFont(n,i,a);return e.measureTextMetrics(t,o,r)}}),i;try{let e=await Promise.resolve().then(()=>(iW(),tW));typeof e.createWordLayoutChartPdfRenderer==`function`&&(i=e.createWordLayoutChartPdfRenderer())}catch{}let a=t?.disableFontAutoDiscovery===!0,o=t?.fonts||a?void 0:cW(e),s=t?.fonts?new Rf(wr(t.fonts)):a?new Rf:await sW(o.codePoints,t?.preferSystemFonts,t?.textLanguage,ti(o.evidence)),c=bV(e,s?r(s):n);if(o){let i=uW(c);lW(i.codePoints,o.codePoints)||(s=await sW(i.codePoints,t?.preferSystemFonts,t?.textLanguage,ti(i.evidence)),c=bV(e,s?r(s):n))}let l=t?.chartRenderer,u={title:e.coreProperties?.title,author:e.coreProperties?.creator,subject:e.coreProperties?.subject,defaultFont:t?.defaultFont??`Helvetica`,defaultFontSize:t?.defaultFontSize??11,fonts:t?.fonts,fontManager:s,preferSystemFonts:t?.preferSystemFonts,textLanguage:t?.textLanguage,disableFontAutoDiscovery:t?.disableFontAutoDiscovery,onWarning:t?.onWarning,chartRenderer:l||i?(e,t,n)=>{let r=e.source;if(l&&r&&r.type===`chart`){let e=l(r.chart,t,n);if(e!==!1)return e}return i?i(e,t,n):!1}:void 0};return gR(c,u).build()}async function sW(e,t,n,r){if(e.size===0)return;let i=new Rf,a=Hf(e,t??[],n??r);a&&(i.registerFallbackFont(a),i.noteAutoDiscoveredFont(a.familyName,e.size));for(let t of e)i.trackText(String.fromCodePoint(t));return await i.prepare(),i}function cW(e){let t=/* @__PURE__ */ new Set,n=$r(),r=e=>{ei(n,e);for(let n of e){let e=n.codePointAt(0);un(e)||t.add(e)}};JR(e,{visitRunContent(e){e.type===`text`?r(e.text):e.type===`symbol`?r(GR(e)):e.type===`field`&&e.cachedValue&&r(e.cachedValue)}});for(let t of qV(e))r(t);return{codePoints:t,evidence:n}}function lW(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function uW(e){let t=/* @__PURE__ */ new Set,n=$r(),r=e=>{ei(n,e);for(let n of e){let e=n.codePointAt(0);un(e)||t.add(e)}},i=e=>{for(let t of e)switch(t.type){case`paragraph`:for(let e of t.lines)for(let t of e.runs)t.type!==`image`&&r(t.text);break;case`table`:for(let e of t.cells)i(e.content);break;case`textBox`:case`sdt`:i(t.content);break;case`shape`:t.textContent&&i(t.textContent);break;case`float`:i([t.content]);break;case`tableOfContents`:i(t.entries);break;case`math`:r(t.text);break;case`chart`:t.title&&r(t.title)}};for(let t of e.pages)i(t.content),t.header&&i(t.header),t.footer&&i(t.footer),t.footnoteArea&&i(t.footnoteArea);return{codePoints:t,evidence:n}}function dW(e){let t={pageWidth:e?.pageWidth,pageHeight:e?.pageHeight,marginTop:e?.marginTop,marginBottom:e?.marginBottom,marginLeft:e?.marginLeft,marginRight:e?.marginRight,headerMargin:e?.headerMargin,footerMargin:e?.footerMargin};return Object.values(t).some(e=>e!==void 0)?{pageGeometry:t}:{}}var fW=n((()=>{mn(),Ar(),zf(),Uf(),HR(),li(),qR(),oz(),tU()})),pW=/* @__PURE__ */ r({Builder:()=>ng,Editor:()=>Zx,EditorPage:()=>Xx,PageBuilder:()=>tg,PageSizes:()=>cg,asn1Parse:()=>Ym,buildSignatureDictPlaceholder:()=>uh,create:()=>hv,fromChart:()=>hW,fromDocx:()=>gW,fromExcel:()=>mW,parseSvgPath:()=>Rh,read:()=>Mx,sign:()=>dh,verifySignature:()=>lh,wordChartRenderer:()=>_W});rg(),Lh(),lg();async function mW(e,t){let{excelToPdf:n}=await Promise.resolve().then(()=>(tR(),pL));return n(e,t)}async function hW(e,t){let{chartToPdf:n}=await Promise.resolve().then(()=>(tR(),pL));return n(e,t)}async function gW(e,t){let{docxToPdf:n}=await Promise.resolve().then(()=>(fW(),aW));return n(e,t)}async function _W(){let{createWordChartPdfRenderer:e}=await Promise.resolve().then(()=>(iW(),tW));return e()}jE();function vW(e,t,n=1){let r=e=>t.x+e*n,i=e=>t.y+t.height-e*n,a=e=>e.map(e=>({x:r(e.x),y:i(e.y)})),o=e=>e.fill!==void 0||e.stroke!==void 0;return{pushClip(t){let a=e.getContentStream();a.save(),a.rect(r(t.x),i(t.y+t.height),t.width*n,t.height*n),a.clip(),a.endPath()},popClip(){e.getContentStream().restore()},rect(t,a,s,c,l,u){if(o(u)){if(l>0){e.drawRect({x:r(t),y:i(a+c),width:s*n,height:c*n,borderRadius:l*n,...xW(u,n)});return}e.drawRect({x:r(t),y:i(a+c),width:s*n,height:c*n,...xW(u,n)})}},ellipse(t,a,s,c,l){o(l)&&e.drawEllipse({cx:r(t),cy:i(a),rx:s*n,ry:c*n,...xW(l,n)})},sector(t,a,s,c,l,u,d){if(!o(d))return;let f=TE(t,a,s,c,l,u);f.length!==0&&e.drawPath(yW(f,r,i),xW(d,n))},polyline(t,r,i){if(!o(i))return;let s=a(t);if(s.length<2)return;if(!r&&s.length===2){let t=i.stroke;if(!t)return;e.drawLine({x1:s[0].x,y1:s[0].y,x2:s[1].x,y2:s[1].y,color:bW(t),lineWidth:(i.strokeWidth??1)*n,...i.lineJoin===void 0?{}:{lineJoin:i.lineJoin},...i.lineCap===void 0?{}:{lineCap:i.lineCap},...i.dash&&i.dash.length>0?{dashPattern:i.dash.map(e=>e*n)}:{}});return}let c=s.map((e,t)=>t===0?{op:`move`,x:e.x,y:e.y}:{op:`line`,x:e.x,y:e.y});e.drawPath(r?[...c,{op:`close`}]:c,{...xW(i,n),closePath:r})},path(t,a){o(a)&&e.drawPath(yW(t,r,i),xW(a,n))},text(t,a,o,s,c){if(!s.fill)return;let l=bW(s.fill);for(let u of o){if(u.text===``)continue;let o=-c*Math.PI/180,d=(u.x??t)+Math.sin(o)*u.dy,f=a+Math.cos(o)*u.dy;e.drawText(u.text,{x:r(d),y:i(f),fontSize:s.size*n,color:l,anchor:s.anchor??`start`,...c===0?{}:{rotation:-c},fontFamily:s.family??`arial`,...s.bold?{bold:!0}:{},...s.italic?{italic:!0}:{}})}}}}function yW(e,t,n){let r=[];for(let i of e)switch(i.op){case`move`:r.push({op:`move`,x:t(i.x),y:n(i.y)});break;case`line`:r.push({op:`line`,x:t(i.x),y:n(i.y)});break;case`cubic`:r.push({op:`curve`,x1:t(i.x1),y1:n(i.y1),x2:t(i.x2),y2:n(i.y2),x3:t(i.x),y3:n(i.y)});break;case`close`:r.push({op:`close`})}return r}function bW(e){return e.a>=1?{r:e.r,g:e.g,b:e.b}:{r:e.r,g:e.g,b:e.b,a:e.a}}function xW(e,t){return{...e.fill?{fill:bW(e.fill)}:{},...e.stroke?{stroke:bW(e.stroke)}:{},...e.strokeWidth===void 0?{}:{lineWidth:e.strokeWidth*t},...e.lineJoin===void 0?{}:{lineJoin:e.lineJoin},...e.lineCap===void 0?{}:{lineCap:e.lineCap},...e.fillRule===void 0?{}:{fillRule:e.fillRule},...e.dash&&e.dash.length>0?{dashPattern:e.dash.map(e=>e*t)}:{}}}Sn(),Object.defineProperty(e,"Pdf",{enumerable:!0,get:function(){return pW}}),e.PdfError=gn,e.PdfFontError=vn,e.PdfLimitExceededError=bn,e.PdfRenderError=_n,e.PdfSignatureInvalidationError=xn,e.PdfStructureError=yn,e.createPdfDrawSurface=vW,e.isPdfError=hn})(this.Documonster.Pdf=this.Documonster.Pdf||{})}).call(globalThis);
|
|
59
|
+
`);r.extractMetadata&&(n.pageCount=t);let o=[];if(r.extractFormFields)try{o=vb(i)}catch{}let s=[];if(r.extractBookmarks)try{s=fy(i)}catch{}return i.throwIfLimitExceeded(),{text:a,pages:e,metadata:n,formFields:o,bookmarks:s}}function $x(e,t){return t.resolvePageBox(e)??{width:612,height:792}}function eS(){return{title:``,author:``,subject:``,keywords:``,creator:``,producer:``,creationDate:null,modDate:null,pdfVersion:``,pageCount:0,encrypted:!1,pageSize:null,xmpXml:null,custom:{}}}m(),mn();function tS(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 fn;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 nS(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 rS=/* @__PURE__ */ new Set([`Font`,`XObject`,`ExtGState`,`ColorSpace`,`Pattern`,`Shading`,`Properties`]);function iS(e,t){let n=/* @__PURE__ */ 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&&rS.has(e))for(let[e,n]of r)t.set(e,n);else t&&rS.has(e),n.set(e,new Map(r))}return n}function aS(e){let t=/* @__PURE__ */ 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=sS(r);for(let[e,n]of i){let r=n.trim();if(rS.has(e)&&r.startsWith(`<<`)){let n=sS(r.slice(2,-2).trim()),i=/* @__PURE__ */ new Map;for(let[e,t]of n)i.set(e,t.trim());t.set(e,i)}else{let n=/* @__PURE__ */ new Map;n.set(``,r),t.set(e,n)}}return t}function oS(e){if(e.size===0)return`<< >>`;let t=[`<<`];for(let[n,r]of e)if(rS.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 sS(e){let t=/* @__PURE__ */ new Map,n=0;for(;n<e.length;){for(;n<e.length&&cS(e[n]);)n++;if(n>=e.length||e[n]!==`/`)break;n++;let r=n;for(;n<e.length&&!lS(e[n]);)n++;let i=e.slice(r,n);for(;n<e.length&&cS(e[n]);)n++;let a=n;n=n<e.length&&e[n]===`<`&&n+1<e.length&&e[n+1]===`<`?uS(e,n):n<e.length&&e[n]===`[`?dS(e,n):fS(e,n,a);let o=e.slice(a,n).trim();i&&o&&t.set(i,o)}return t}function cS(e){return e===` `||e===` `||e===`
|
|
60
|
+
`||e===`\r`||e===`\f`}function lS(e){return cS(e)||e===`/`||e===`<`||e===`>`||e===`[`||e===`]`||e===`(`||e===`)`}function uS(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 dS(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 fS(e,t,n){for(;t<e.length&&!(e[t]===`/`&&t>n&&cS(e[t-1])||e[t]===`<`&&t+1<e.length&&e[t+1]===`<`);)t++;return t}gt(),m(),On(),Sn(),zf(),Cr(),Nm();var pS=class{constructor(e,t,n,r,i=``){this._pageIndex=e,this._width=t,this._height=n,this._overlay=new tg(t,n,r,i)}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}},mS=class e{constructor(e,t){if(this._pages=[],this._newPages=[],this._formFieldUpdates=/* @__PURE__ */ new Map,this._copiedPages=[],this._removedPageIndices=/* @__PURE__ */ new Set,this._isIncrementalSave=!1,this._rotationOverrides=/* @__PURE__ */ new Map,this._signaturePlaceholder=null,this._writerForSave=null,this._clonedRefs=/* @__PURE__ */ new Map,this._doc=new Ox(e),this._password=t,qb(this._doc)&&!Kb(this._doc,t))throw new yn(`Failed to decrypt PDF: incorrect password`);this._overlayResourcePrefix=this._chooseOverlayResourcePrefix(),this._fontManager=new Rf(void 0,this._overlayResourcePrefix);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 pS(e,r.width,r.height,this._fontManager,this._overlayResourcePrefix))}this._doc.throwIfLimitExceeded()}static load(t,n){return new e(t,n?.password??``)}get hasSignatures(){return this._hasSignatures??=this._detectSignatures(),this._hasSignatures}get pageCount(){return this._pages.length}getPage(e){if(e<0||e>=this._pages.length)throw new yn(`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 tg(t,n,this._fontManager,this._overlayResourcePrefix);return this._newPages.push(r),r}removePage(e){if(e<0||e>=this._pages.length)throw new yn(`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 yn(`Page index ${e} out of range (0-${this._pages.length-1})`);if(t!==0&&t!==90&&t!==180&&t!==270)throw new yn(`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}_chooseOverlayResourcePrefix(){let e=/* @__PURE__ */ new Set;for(let{dict:t}of this._doc.getPagesWithObjInfo()){let n=this._doc.resolvePageResources(t);for(let t of[`Font`,`XObject`,`ExtGState`]){let r=n.get(t),i=r?this._doc.derefDict(r):null;if(i)for(let t of i.keys())e.add(t)}}let t=1;for(;[...e].some(e=>e.startsWith(`DMO${t}_`));)t++;return`DMO${t}_`}embedFont(e,t){let n=Sr(e,t);return this._fontManager.registerEmbeddedFont(n),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 vb(this._doc)}copyPagesFrom(e,t,n){let r=new Ox(e);if(qb(r)&&!Kb(r,n?.password??``))throw new yn(`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 r.throwIfLimitExceeded(),this}async save(e){this._guardSignatures(e,`save() rewrites the whole file`);let t=new Dn;this._writerForSave=t,this._clonedRefs=/* @__PURE__ */ new Map,this._fontManager.beginBuild();try{return await this._buildFullSave(t)}finally{this._fontManager.endBuild(),this._writerForSave=null,this._clonedRefs.clear()}}async _buildFullSave(e){for(let e of this._pages)e._overlay._stream.preflight();for(let e of this._newPages)e._stream.preflight();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=oS(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(`/${em(r,this._overlayResourcePrefix)} ${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=Ib(this._doc);return e.addInfoDict({title:f.title||void 0,author:f.author||void 0,subject:f.subject||void 0,creator:f.creator||`documonster`,creationDate:f.creationDate??void 0}),this._throwIfLimitExceeded(),e.build()}async saveIncremental(e){if(this._newPages.length>0||this._copiedPages.length>0||this._removedPageIndices.size>0||this._rotationOverrides.size>0)return this._guardSignatures(e,`saveIncremental() must fall back to a full rewrite for page additions, removals or rotations`),this.save({invalidateSignatures:!0});let t=this._pages.some(e=>e._hasOverlay()),n=this._formFieldUpdates.size>0;if(!t&&!n)return this._doc.data;if(this._doc.xrefRecovered||this._doc.startxrefOffset===null)return this._guardSignatures(e,`saveIncremental() must fall back to a full rewrite because the cross-reference data was recovered`),this.save({invalidateSignatures:!0});this._isIncrementalSave=!0,this._fontManager.beginBuild();try{return await this._buildIncrementalUpdate(e)}finally{this._fontManager.endBuild(),this._isIncrementalSave=!1,this._writerForSave=null,this._clonedRefs.clear()}}async _buildIncrementalUpdate(e){let t=this._doc.objectNumberBound,n=/* @__PURE__ */ new Map,r=this._pages.some(e=>e._hasOverlay()),i=new Dn;this._writerForSave=i,this._clonedRefs=/* @__PURE__ */ new Map;let a=``,o=/* @__PURE__ */ new Map;if(r){for(let e of this._pages)e._overlay._stream.preflight();let e=await this._fontManager.writeFontResources(i),r=i.getObjects();for(let e of r)o.has(e.objectNumber)||o.set(e.objectNumber,t++);for(let e of r){let t=o.get(e.objectNumber),r=this._remapRefsInString(e.content,o);e.streamData?n.set(t,{gen:0,body:{dict:p.fromRawString(r),data:e.streamData}}):n.set(t,{gen:0,body:r})}let s=this._fontManager.buildFontDictString(e);a=this._remapRefsInString(s,o)}let s=this._doc.getPagesWithObjInfo();for(let r=0;r<s.length;r++){let i=this._pages[r],{dict:o,objNum:c,gen:u}=s[r];if(c===0)return this._guardSignatures(e,`saveIncremental() must fall back to a full rewrite for a page without an object number`),this._isIncrementalSave=!1,this.save({invalidateSignatures:!0});let d=i._hasOverlay(),f=this._hasFormUpdatesForPage(o);if(!d&&!f)continue;let m=new p;for(let[e,t]of o.entries())e===`Contents`&&d||e===`Resources`&&d||e===`Annots`&&f||m.set(e,this._serializeOriginalValue(t));if(d){let e=i._overlay._stream.toUint8Array(),r=t++;n.set(r,{gen:0,body:{dict:new p,data:e}});let s=o.get(`Contents`),c=this._collectOriginalContentRefs(s);c.push(l(r));let u=c.length===1?c[0]:`[${c.join(` `)}]`;m.set(`Contents`,u);let d=this._serializeOriginalResources(this._doc,o),f=/* @__PURE__ */ new Map;for(let e=0;e<i._overlay._images.length;e++){let r=i._overlay._images[e],a=`${this._overlayResourcePrefix}Im${e+1}`,o=t++;f.set(a,o),n.set(o,{gen:0,body:this._buildImageXObjectForIncremental(r.data,r.format)})}let h=`<< `;if(a&&(h+=`/Font ${a} `),f.size>0){let e=[...f.entries()].map(([e,t])=>`/${e} ${l(t)}`).join(` `);h+=`/XObject << ${e} >> `}h+=`>>`;let g=this._mergeResourceStrings(d,h),_=t++;n.set(_,{gen:0,body:g||`<< >>`}),m.set(`Resources`,l(_))}if(f){let e=this._buildIncrementalAnnots(o,n,t);t=e.nextObjNum,e.annotRefs.length>0&&m.set(`Annots`,`[${e.annotRefs.map(e=>l(e.objNum,e.gen)).join(` `)}]`)}n.set(c,{gen:u,body:m.toString()})}if(this._throwIfLimitExceeded(),n.size===0)return this._doc.data;let c=this._doc.startxrefOffset;if(c===null)throw new yn(`saveIncremental(): the original startxref offset is unknown`);return En(this._doc.data,n,this._serializeTrailerEntries(),{xrefStream:this._doc.trailer.get(`Type`)===`XRef`,prevXrefOffset:c,encrypt:this._doc.encryptFn??void 0,encryptMetadata:this._doc.encryptMetadata})}_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(!Kv(n))return!1;for(let e of n){let t=this._doc.derefDict(e);if(t&&qv(t,`Subtype`)===`Widget`){let e=this._resolveFieldName(t);if(e&&this._formFieldUpdates.has(e))return!0}}return!1}_collectOriginalContentRefs(e){if(!e)return[];if(Uv(e)){let t=this._doc.deref(e);return Kv(t)?t.filter(e=>Uv(e)).map(e=>l(e.objNum,e.gen)):[l(e.objNum,e.gen)]}return Kv(e)?e.filter(e=>Uv(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(Uv(e))return l(e.objNum,e.gen);if(Kv(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=ct(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(!Kv(i))return{annotRefs:[],nextObjNum:n};let a=[];for(let e of i){let r=this._doc.derefDict(e);if(!r){Uv(e)&&a.push(e);continue}if(qv(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=Uv(e)?e:{objNum:n++,gen:0},s=this._buildModifiedWidgetDict(r,o,(e,r)=>{let i=n++;return t.set(i,{gen:0,body:{dict:e,data:r}}),i});t.set(i.objNum,{gen:i.gen,body:s}),a.push(i);continue}}if(Uv(e))a.push(e);else{let e=n++,i=this._serializeAnnotDict(r);t.set(e,{gen:0,body:i}),a.push({objNum:e,gen:0})}}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){this._guardSignatures(e,`sign() rewrites the whole file`);let{buildSignatureDictPlaceholder:t,signPdf:n}=await Promise.resolve().then(()=>(Lh(),qm)),{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({invalidateSignatures:!0})}finally{this._signaturePlaceholder=null}return n(i,e.certificate,e.privateKey)}_throwIfLimitExceeded(){this._doc.throwIfLimitExceeded();for(let e of this._copiedPages)e.sourceDoc.throwIfLimitExceeded()}_guardSignatures(e,t){if(this.hasSignatures&&!e?.invalidateSignatures)throw new xn(`The document is digitally signed and ${t}, which would invalidate its signatures. Pass { invalidateSignatures: true } to proceed anyway.`)}_detectSignatures(){let e=this._doc.deref(this._doc.trailer.get(`Root`)??null);if(!(e instanceof Map))return!1;let t=this._doc.deref(e.get(`AcroForm`)??null);if(!(t instanceof Map))return!1;let n=/* @__PURE__ */ new Set,r=[],i=this._doc.deref(t.get(`Fields`)??null);if(Kv(i))for(let e of i)r.push({item:e,inheritedFt:void 0});for(;r.length>0;){let{item:e,inheritedFt:t}=r.pop();if(Uv(e)){let t=`${e.objNum}:${e.gen}`;if(n.has(t))continue;n.add(t)}let i=this._doc.deref(e);if(!(i instanceof Map))continue;let a=qv(i,`FT`)??t;if(a===`Sig`){let e=this._doc.deref(i.get(`V`)??null);if(e instanceof Map&&e.has(`ByteRange`)&&e.has(`Contents`))return!0}let o=this._doc.deref(i.get(`Kids`)??null);if(Kv(o))for(let e of o)r.push({item:e,inheritedFt:a})}return!1}_serializeTrailerEntries(){let e=/* @__PURE__ */ new Map;for(let t of[`Root`,`Info`,`Encrypt`,`ID`]){let n=this._doc.trailer.get(t);n!=null&&e.set(t,this._serializeOriginalValue(n))}return e.set(`Size`,String(this._doc.objectNumberBound)),e}_collectContentStreams(e,t){let n=t.get(`Contents`);if(!n)return[];if(Uv(n)){let t=e.derefStreamWithObjNum(n);if(t)return[e.getStreamData(t.stream,t.objNum,t.gen)];let r=e.deref(n);return Kv(r)?this._resolveStreamArray(e,r):[]}return Kv(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(Uv(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 Kv(t)?`[${t.map(t=>this._deepSerialize(e,t)).join(` `)}]`:t instanceof Map?this._serializeDictToWriter(e,t):``}_writeOverlayImages(e,t){let n=/* @__PURE__ */ new Map;for(let r=0;r<t._images.length;r++){let i=t._images[r],a=`${this._overlayResourcePrefix}Im${r+1}`,o=dt(e,i.data,i.format);n.set(a,o)}return n}_buildOverlayResourceDict(e,t,n,r){let i=/* @__PURE__ */ new Map;if(n){let e=n.trim();if(e.startsWith(`<<`)&&e.endsWith(`>>`)){let t=aS(`<< /Font ${e} >>`).get(`Font`);t&&i.set(`Font`,t)}}if(r.size>0){let e=/* @__PURE__ */ 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=/* @__PURE__ */ 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(em(r,this._overlayResourcePrefix),l(t))}i.set(`ExtGState`,n)}return i}_mergeResourceStrings(e,t){return!t||t===`<< >>`?e:!e||e===`<< >>`?t:oS(iS(aS(e),aS(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(!Kv(r))return[];let i=[];for(let t of r){let n=this._doc.derefDict(t);if(!n)continue;let r=qv(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=/* @__PURE__ */ 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=$v(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,n){if(this._resolveFieldType(e)===`Tx`&&(n||this._writerForSave))return this._buildTextFieldWidgetDict(e,t,n??((e,t)=>{let n=this._writerForSave,r=n.allocObject();return n.addStreamObject(r,e,t,{compress:!1}),r}));let r=[`<<`];for(let[t,n]of e.entries()){if(t===`V`||t===`AP`)continue;let e=this._serializePdfValue(n);e&&r.push(`/${t} ${e}`)}return r.push(`/V ${i(t)}`),r.push(`>>`),r.join(` `)}_buildTextFieldWidgetDict(e,t,n){let r=this._resolveWidgetRect(e),a=e.get(`Q`),o=`left`;a===1?o=`center`:a===2&&(o=`right`);let{stream:s,resources:c}=tS({value:t,rect:r,alignment:o}),u=n(new p().set(`Type`,`/XObject`).set(`Subtype`,`/Form`).set(`BBox`,nS(r)).set(`Resources`,c),s),d=[`<<`];for(let[t,n]of e.entries()){if(t===`V`||t===`AP`)continue;let e=this._serializePdfValue(n);e&&d.push(`/${t} ${e}`)}return d.push(`/V ${i(t)}`),d.push(`/AP << /N ${l(u)} >>`),d.push(`>>`),d.join(` `)}_resolveFieldType(e){let t=e,n=/* @__PURE__ */ new Set;for(;t;){let e=qv(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&&Kv(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(Uv(e))return this._writerForSave&&!this._isIncrementalSave?this._deepSerialize(this._doc,e):`${e.objNum} ${e.gen} R`;if(Kv(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 hS(e,t){return`${e}:${t}`}var gS=n((()=>{})),_S,vS,yS,bS,xS,SS,CS=n((()=>{v(),_S=class extends g{constructor(e,t){super(e,t),this.name=`ExcelError`}},vS=class extends _S{constructor(e,t,n){super(t?`Invalid address "${e}": ${t}`:`Invalid address: ${e}`,n),this.address=e,this.name=`InvalidAddressError`}},yS=class extends _S{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`}},bS=class extends _S{constructor(e,t,n){super(t??`Cannot process value of type: ${e}`,n),this.valueType=e,this.name=`InvalidValueTypeError`}},xS=class extends _S{constructor(...e){super(...e),this.name=`ChartOptionsError`}},SS=class extends _S{constructor(...e){super(...e),this.name=`ImageError`}}})),wS,TS=n((()=>{CS(),wS={_dictionary:/* @__PURE__ */ `ABCDEFGHIJKLMNOPQRSTUVWXYZ`.split(``),_l2nFill:0,_l2n:Object.create(null),_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 yS(e,`Excel supports columns from 1 to 16384`);this._fill(e.length)}if(!this._l2n[e])throw new yS(e,`Invalid column letter: ${e}`);return this._l2n[e]},n2l(e){if(e<1||e>16384)throw new yS(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},decodePlainRow(e){let t=e.length,n=0,r=0;for(;n<t;){let t=e.charCodeAt(n);if(t<65||t>90)break;r=r*26+t-64,n++}if(n===0||n>3||r>16384||n===t||e.charCodeAt(n)===48)return 0;let i=0;for(;n<t;n++){let t=e.charCodeAt(n);if(t<48||t>57)return 0;i=i*10+t-48}return i<=1048576?i:0},validateAddress(e){let t=e.length,n=0;for(;n<t;){let t=e.charCodeAt(n);if(t<65||t>90)break;n++}let r=n>0&&n<t;for(;r&&n<t;n++){let t=e.charCodeAt(n);r=t>=48&&t<=57}if(!r)throw new vS(e);return!0},decodeAddress(e){if(!e||typeof e!=`string`)throw new vS(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 yS(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 vS(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 vS(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 wS.n2l(t)+e},encode(...e){switch(e.length){case 2:return wS.encodeAddress(e[0],e[1]);case 4:return`${wS.encodeAddress(e[0],e[1])}:${wS.encodeAddress(e[2],e[3])}`;default:throw new vS(String(e.length),`Can only encode with 2 or 4 arguments`)}},compareAddress(e,t){let n=wS.decodeAddress(e),r=wS.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 ES(e,t){let n=/* @__PURE__ */ new Map,r=LS(t,[],n);for(let t of e)if(!RS(t,r)&&!XS(t,r))return;return n}function DS(e,t,n={}){let r=[];return kS(e,t,r,n),{writes:r,diagnostics:[]}}function OS(e){NS(e.writes)}function kS(e,t,n,r){let i=e.chartSpace?.chartData?.data,a=LS(t,n),o=e.chartSpace?.chart?.title?.strRef;if(o?.formula&&(o.cache?.points?.length??0)===0){let e=RS(o.formula,a);if(e){let t=e.cells.find(e=>tC(e.value)!==void 0);if(t){let e=tC(t.value);e!==void 0&&PS(o,{points:[{index:0,value:e}]},a)}}}if(i&&i.length!==0)for(let e of i){if(e.strDim?.formula&&(r.includeSkippedDimensions||!AS(e.strDim))){let t=RS(e.strDim.formula,a);if(t&&t.cells.length>0){let n=[],r=0;for(let e of t.cells){let t=tC(e.value);t!==void 0&&t!==``&&n.push({index:r,value:t}),r++}FS(e.strDim,[{ptCount:r,points:n}],`chart-ex-string-levels`,a)}}if(e.numDim?.formula&&(r.includeSkippedDimensions||!jS(e.numDim))){let n=RS(e.numDim.formula,a);if(n&&n.cells.length>0){let r=[],i=0;for(let e of n.cells){let n=eC(e.value,t.date1904);n!==void 0&&r.push({index:i,value:n}),i++}let o=e.numDim.levels?.[0];FS(e.numDim,[{ptCount:i,points:r,...o?.formatCode?{formatCode:o.formatCode}:{}}],`chart-ex-number-levels`,a)}}}}function AS(e){return e._skipCache?!0:e.levels?.some(e=>e.points.length>0)??!1}function jS(e){return e._skipCache?!0:e.levels?.some(e=>e.points.length>0)??!1}function MS(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];IS(t)&&IS(r)&&Array.isArray(t)===Array.isArray(r)?MS(t,r):e[n]=structuredClone(r)}}function NS(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];IS(r)&&IS(t.value)?MS(r,t.value):n[e]=structuredClone(t.value)}}function PS(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 FS(e,t,n,r){e.formula&&r.writes.push({kind:n,target:e,expectedFormula:e.formula,value:t})}function IS(e){return typeof e==`object`&&!!e}function LS(e,t,n){return{snapshot:e,writes:t,requestedCells:n,localSheetId:e.contextLocalSheetId,visitedDefinedNames:/* @__PURE__ */ new Set,definedNameDepth:0}}function RS(e,t){let n=GS(e,t);if(n)return n;let r=zS(e,t);if(r)return r;let i=ZS(e),a,o=[];for(let e of i){let n=e.trim();if(!n)continue;let r;try{r=wS.decodeEx(n)}catch{return}if(`error`in r)return;let i=r.sheetName;if(!i)return;let s=$S(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:QS(s,r,e,t)})}else if(`row`in r&&`col`in r){let e=r.row,n=r.col;o.push({value:QS(s,e,n,t)})}}if(a)return{worksheet:a,cells:o}}function zS(e,t){let n=BS(e,t);if(!n)return;let r=HS(n.name,n.localSheetId);if(!t.visitedDefinedNames.has(r)&&!(t.definedNameDepth>=nC)){t.visitedDefinedNames.add(r),t.definedNameDepth+=1;try{let e=[],r;for(let i of n.ranges){if(!i)continue;let n=RS(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 BS(e,t){let n=e.trim();if(!n)return;let r=US(n);if(r){let e=$S(t.snapshot,r.sheetName);if(e){let n=typeof e.orderNo==`number`?e.orderNo:t.snapshot.worksheets.indexOf(e);if(n>=0){let e=VS(t.snapshot,r.name,n);if(e)return{name:r.name,localSheetId:n,ranges:e}}}let n=VS(t.snapshot,r.name,void 0);return n?{name:r.name,ranges:n}:void 0}if(!rC.test(n))return;if(t.localSheetId!==void 0){let e=VS(t.snapshot,n,t.localSheetId);if(e)return{name:n,localSheetId:t.localSheetId,ranges:e}}let i=VS(t.snapshot,n,void 0);if(i)return{name:n,ranges:i}}function VS(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 HS(e,t){return t===void 0?e:`${e}\0${t}`}function US(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(rC.test(r))return{sheetName:n,name:r}}function WS(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 GS(e,t){let n=WS(e.trim()),r=n?n.remainder:e.trim(),i=n?.sheetName,a=KS(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=wS.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:QS(e,n,c,t)});return{worksheet:e,cells:l}}}function KS(e){let t=qS(e);if(!t||e[t.end]!==`[`||!e.endsWith(`]`))return;let n=e.slice(t.end+1,-1);if(n.length===0)return;let r=JS(n);return r?{tableName:t.name,columnName:r}:void 0}function qS(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 JS(e){if(e.startsWith(`@`))return YS(`${e.slice(1).replace(/^\[(.*)\]$/,`$1`)}]`,0).value;if(!e.startsWith(`[`))return e.startsWith(`#`)?void 0:YS(`${e}]`,0).value;let t=[],n=0;for(;n<e.length;){if(e[n]!==`[`){n++;continue}let r=YS(e,n+1);t.push(r.value),n=r.end}return t.filter(e=>e&&!e.startsWith(`#`)).pop()}function YS(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 XS(e,t){let n=BS(e,t);if(n){let e=HS(n.name,n.localSheetId);if(t.visitedDefinedNames.has(e)||t.definedNameDepth>=nC)return;t.visitedDefinedNames.add(e),t.definedNameDepth+=1;try{let e,r=[],i=0;for(let a of n.ranges){let n=XS(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=ZS(e),i,a=[],o=0;for(let e of r){let n=e.trim();if(!n)continue;let r;try{r=wS.decodeEx(n)}catch{return}if(`error`in r)return;let s=r.sheetName;if(!s)return;let c=$S(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(QS(c,r,i,t));a.push(e)}}else`row`in r&&`col`in r&&(o=Math.max(o,1),a.push([QS(c,r.row,r.col,t)]))}if(i)return{worksheet:i,values:a,rowCount:a.length,columnCount:o}}function ZS(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 QS(e,t,n,r){if(r.requestedCells){let i=e.name.toLowerCase(),a=r.requestedCells.get(i);a||(a=/* @__PURE__ */ new Set,r.requestedCells.set(i,a)),a.add(hS(t,n))}return e.cells.get(hS(t,n))}function $S(e,t){return e.worksheetsByName.get(t.toLowerCase())}function eC(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 i_(e,t);if(typeof e==`string`){let t=Number(e);if(Number.isFinite(t)&&e.trim()!==``)return t}}}function tC(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 nC,rC,iC=n((()=>{gS(),TS(),o_(),nC=128,rC=/^[A-Za-z_\\\u00A0-\uFFFF][\w.?\\\u00A0-\uFFFF]*$/}));function aC(e){let{sheetName:t}=e;return t?/^[a-zA-Z0-9]*$/.test(t)?`${t}!`:`'${t.replace(/'/g,`''`)}'!`:``}function oC(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`&&sC(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`&&sC(e,t[0],t[1],t[2],t[3]);break;case 3:typeof t[0]==`string`&&typeof t[1]==`string`&&typeof t[2]==`string`&&sC(e,t[0],t[1],t[2]);break;case 2:typeof t[0]==`string`&&typeof t[1]==`string`&&sC(e,t[0],t[1]);break;case 1:{let n=t[0];if(Array.isArray(n))oC(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=wS.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 _S(`Invalid number of arguments to Range.create() - ${t.length}`)}}function sC(e,t,n,r,i,a){if(typeof t==`string`&&typeof n==`string`){let i=wS.decodeAddress(t),a=wS.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 cC(...e){let t={top:0,left:0,bottom:0,right:0};return oC(t,e),t}function lC(e){return e.top||1}function uC(e){return e.left||1}function dC(e){return e.bottom||1}function fC(e){return e.right||1}function pC(e,t,n,r,i){(!e.top||t<lC(e))&&(e.top=t),(!e.left||n<uC(e))&&(e.left=n),(!e.bottom||r>dC(e))&&(e.bottom=r),(!e.right||i>fC(e))&&(e.right=i)}function mC(e){return wS.n2l(uC(e))+lC(e)}function hC(e){return`$${wS.n2l(uC(e))}$${lC(e)}`}function gC(e){return wS.n2l(fC(e))+dC(e)}function _C(e){return`$${wS.n2l(fC(e))}$${dC(e)}`}function vC(e){return`${aC(e)+mC(e)}:${gC(e)}`}function yC(e){return`${aC(e)+hC(e)}:${_C(e)}`}function bC(e){return xC(e)>1?yC(e):aC(e)+hC(e)}function xC(e){return(1+dC(e)-lC(e))*(1+fC(e)-uC(e))}var SC=n((()=>{CS(),TS()}));function CC(e){let t=[],n=/* @__PURE__ */ new Set;for(let r of Object.keys(e.matrixMap)){if(n.has(r))continue;n.add(r);let i=TC(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=TC(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 wC(e,t,n){n.mark=!1;let r=n.sheetName,i=cC(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 TC(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&&wC(e,n,t)).filter(e=>!!e).map(e=>bC(e))}):r?{name:i,ranges:[r],formulaExpression:r}:{name:i,ranges:[]}}var EC=n((()=>{SC()})),DC,OC,kC,AC,jC,MC,NC=n((()=>{DC={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},OC={None:0,Master:1,Shared:2},kC={None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},AC={LeftToRight:1,RightToLeft:2},jC={NotApplicable:`#N/A`,Ref:`#REF!`,Name:`#NAME?`,DivZero:`#DIV/0!`,Null:`#NULL!`,Value:`#VALUE!`,Num:`#NUM!`,Spill:`#SPILL!`,Calc:`#CALC!`},MC={ValueType:DC,FormulaType:OC,RelationshipType:kC,ReadingOrder:AC,ErrorValue:jC}}));function PC(e){return RC.has(e)}function FC(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(!FC(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)||!FC(i[t],a[t]))return!1}return!0}function IC(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function LC(...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]=LC(Array.isArray(i)?i:[],r):IC(r)?e[t]=LC(IC(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)?LC(Array.isArray(o)?o:[],a):IC(a)?LC(IC(o)?o:{},a):a}}}}return t}var RC,zC=n((()=>{RC=/* @__PURE__ */ new Set([`__proto__`,`constructor`,`prototype`,`__defineGetter__`,`__defineSetter__`,`__lookupGetter__`,`__lookupSetter__`])}));function BC(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=LC({},VC,t);return e.author!==void 0&&(n.author=e.author),n}var VC,HC=n((()=>{zC(),VC={note:{margins:{insetmode:`auto`,inset:[.13,.13,.25,.25]},protection:{locked:`True`,lockText:`True`},editAs:`absolute`},type:`note`}}));function UC(e,t){let n={...e};for(let r=0;r<t.length;r++){let i=t[r];e[i]&&(n[i]={...e[i]})}return n}function WC(e,t){if(!t||typeof t!=`object`)return t;let n=t;switch(e){case`font`:return UC(n,JC);case`alignment`:case`protection`:return{...n};case`border`:return GC(n);case`fill`:return KC(n);default:return t}}function GC(e){let t={...e};for(let n of qC)e[n]&&(t[n]=UC(e[n],JC));return t}function KC(e){let t=UC(e,YC);return e.stops&&(t.stops=e.stops.map(e=>UC(e,JC))),t}var qC,JC,YC,XC=n((()=>{qC=[`top`,`left`,`bottom`,`right`,`diagonal`],JC=[`color`],YC=[`fgColor`,`bgColor`,`center`]}));function ZC(e){if(e&&typeof e==`object`&&!Object.isFrozen(e)){Object.freeze(e);for(let t of Object.keys(e))ZC(e[t])}}function QC(e,t){let n=e[t];if(!n||typeof n!=`object`)return n;let r=$C.get(e);r||(r={},$C.set(e,r));let i=r[t];return i===void 0&&(i=WC(t,n),ZC(i),r[t]=i),i}var $C,ew=n((()=>{XC(),$C=/* @__PURE__ */ new WeakMap,Object.freeze({})}));function tw(e){if(typeof e==`object`&&e)try{let t=e[Symbol.toStringTag];return typeof t==`string`?t:void 0}catch{return}}function nw(e){if(typeof e!=`object`||!e)return pw;let t=rw(e);if(t!==void 0)return{kind:t};let n=tw(e);if(n===void 0)return pw;let r=dw.get(n);if(r!==void 0)return{refusal:r};let i=uw.get(n);return i===void 0?pw:iw(e,fw[i])?{kind:i}:pw}function rw(e){let t=globalThis.Temporal;if(typeof t==`object`&&t)for(let[n,r]of[[`PlainDate`,`date`],[`PlainTime`,`time`],[`PlainDateTime`,`dateTime`]]){let i=t[n];if(typeof i==`function`&&e instanceof i)return r}}function iw(e,t){try{for(let n of t)if(!Number.isFinite(e[n]))return!1;return!0}catch{return!1}}function aw(e){return nw(e).kind!==void 0}function ow(e){return nw(e).kind}function sw(e){return nw(e).refusal}function cw(e,t){let n=e[t];return typeof n==`number`?n:0}function lw(e,t=!1){let n=ow(e);if(n===void 0)throw new _S(`Not a Temporal PlainDate, PlainTime or PlainDateTime`);let r=e.withCalendar,i=typeof r==`function`?r.call(e,`iso8601`):e,a=t?hw:mw,o=((cw(i,`hour`)*60+cw(i,`minute`))*60+cw(i,`second`))*1e9+cw(i,`millisecond`)*1e6+cw(i,`microsecond`)*1e3+cw(i,`nanosecond`),s=Math.round(o/1e6),c=0;s>=864e5&&(s-=Fg,c=1);let l=s%1e3,u=(s-l)/1e3,d=u%60,f=(u-d)/60,p=f%60,m=(f-p)/60;if(n===`time`)return{...a,hour:m,minute:p,second:d,millisecond:l};let h={year:cw(i,`year`),month:cw(i,`month`),day:cw(i,`day`)},g=c===0?h:kg(Ag({...h,day:h.day+1},t),t);return{year:g.year,month:g.month,day:g.day,hour:m,minute:p,second:d,millisecond:l}}var uw,dw,fw,pw,mw,hw,gw=n((()=>{CS(),Lg(),uw=/* @__PURE__ */ new Map([[`Temporal.PlainDate`,`date`],[`Temporal.PlainTime`,`time`],[`Temporal.PlainDateTime`,`dateTime`]]),dw=/* @__PURE__ */ new Map([[`Temporal.Instant`,`an Instant is a point in time, not a calendar value; call .toZonedDateTimeISO(timeZone).toPlainDateTime() to choose the timezone explicitly`],[`Temporal.ZonedDateTime`,`a ZonedDateTime carries a timezone that a spreadsheet cell cannot store; call .toPlainDateTime(), .toPlainDate() or .toPlainTime()`],[`Temporal.PlainYearMonth`,`a PlainYearMonth has no day; call .toPlainDate({ day: 1 })`],[`Temporal.PlainMonthDay`,`a PlainMonthDay has no year; call .toPlainDate({ year })`],[`Temporal.Duration`,`a Duration is a length of time, not a date; store .total({ unit: 'days' })`]]),fw={date:[`year`,`month`,`day`],time:[`hour`,`minute`,`second`],dateTime:[`year`,`month`,`day`,`hour`,`minute`,`second`]},pw={},mw=kg(0,!1),hw=kg(0,!0)}));function _w(e,t,n={}){return vw(e,t,n)??Hw}function vw(e,t,n={}){if(typeof t==`boolean`)return t?`TRUE`:`FALSE`;let r=Kg(e.trim()===``?`General`:e);if(typeof t==`string`)return r.textSection?ww(r.textSection.tokens,t):t;if(!Number.isFinite(t))return String(t);let i=r.numberSections;if(i.length===0)return Ew(t);let a=Sw(i,t);if(a===void 0)return;let{section:o,signed:s}=a,c=s?t:Math.abs(t);return o.hasGeneral?Dw(o.tokens,c):o.hasDate||o.hasTime||o.hasElapsed?t<0&&!yw(o.tokens)?void 0:Bw(o.tokens,c,n.date1904===!0):Nw(o.tokens,c)}function yw(e){return e.filter(e=>e.kind===`elapsed`).length===1&&!e.some(e=>e.kind===`date`||e.kind===`ampm`)}function bw(e,t,n){switch(t){case`=`:return e===n;case`<>`:return e!==n;case`<`:return e<n;case`<=`:return e<=n;case`>`:return e>n;case`>=`:return e>=n}}function xw(e){return e.op===`<`&&e.value<=0||(e.op===`<=`||e.op===`=`)&&e.value<0}function Sw(e,t){let[n,r,i]=e;if(n.condition===void 0&&r?.condition===void 0)return e.length===1?{section:n,signed:!0}:t<0?{section:r,signed:!1}:{section:t===0&&i?i:n,signed:!0};let a=n.condition??{op:`>`,value:0};if(bw(t,a.op,a.value))return{section:n,signed:!xw(a)};if(r===void 0)return{section:n,signed:!0};let o=r.condition;if(o)return bw(t,o.op,o.value)?{section:r,signed:!xw(o)}:i?{section:i,signed:!0}:void 0;if(i)return t<0?{section:r,signed:!1}:{section:i,signed:!0};let s=(a.op===`>`||a.op===`>=`)&&a.value<=0;return{section:r,signed:!(t<0&&(s||a.op!==`=`&&xw(a)))}}function Cw(e){switch(e.kind){case`literal`:case`numeral`:return e.text;case`pad`:return` `;case`locale`:return e.symbol;case`digit`:return e.char===`0`?`0`:e.char===`?`?` `:``;case`decimal`:return`.`;case`thousands`:return`,`;case`percent`:return`%`;case`slash`:return`/`;case`exponent`:return(e.upper?`E`:`e`)+e.sign;default:return``}}function ww(e,t){let n=``;for(let r of e)n+=r.kind===`text`?t:Cw(r);return n}function Tw(e){return e.includes(`.`)?e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,`$1`):e}function Ew(e){if(e===0)return`0`;let t=e<0?`-`:``,n=Math.abs(e),r=e=>{let{int:t,frac:r}=Ow(n,e);return(t||`0`)+(e>0?`.`+r:``)},i=Math.floor(Math.log10(n)),a;if(i>=-4&&i<=-1)a=r(9);else if(Math.abs(i)<=9){if(a=Tw(r(12)),a.length>11){if(a=r(9-i),a.split(`.`)[0].length>Math.max(i,0)+1)return t+Ew(Number(a));Tw(a).length>11&&(a=n.toExponential(5))}}else if(i===10){let e=Number(Ow(n,0).int);return t+(e>=1e11?Ew(e):String(e))}else a=Tw(r(11)),(a.length>11||a===`0`)&&(a=n.toExponential(5));return a=a.toUpperCase(),a.includes(`E`)&&(a=a.replace(/(?:\.0*|(\.\d*[1-9])0+)E/,`$1E`).replace(/E([+-])(\d)$/,`E$10$2`)),t+Tw(a)}function Dw(e,t){let n=``;for(let r of e)n+=r.kind===`general`?Ew(t):Cw(r);return n}function Ow(e,t,n=0){if(e===0)return{int:``,frac:`0`.repeat(t)};let[r,i]=e.toExponential(14).split(`e`),a=r.replace(`.`,``),o=Number(i)+1-n,s=o+t;if(s<0)return{int:``,frac:`0`.repeat(t)};if(s<a.length){let e=a.charCodeAt(s)>=53,t=a.slice(0,s).split(``);if(e){let e=t.length-1;for(;e>=0&&t[e]===`9`;)t[e]=`0`,e--;e>=0?t[e]=String(Number(t[e])+1):(t.unshift(`1`),o++)}a=t.join(``)}let c=o<=0?`0`.repeat(-o)+a:a,l=Math.max(o,0);return{int:c.slice(0,l).padEnd(l,`0`).replace(/^0+/,``),frac:c.slice(l).padEnd(t,`0`).slice(0,t)}}function kw(e){return e!==void 0&&e>=`0`&&e<=`9`}function Aw(e,t,n){let r=t.length,i=n=>{if(n<e.length)return e[e.length-1-n];if(n>=r)return``;let i=t[r-1-n];return i===`0`?`0`:i===`?`?` `:``},a=e=>{let t=i(e);return n&&e>0&&e%3==0&&kw(t)&&kw(i(e-1))?t+`,`:t},o=[];for(let t=0;t<r;t++){let n=``;if(t===0)for(let t=e.length-1;t>=r;t--)n+=a(t);n+=a(r-1-t),o.push(n)}return o}function jw(e,t){let n=t.map((t,n)=>e[n]??`0`);for(let e=t.length-1;e>=0&&n[e]===`0`&&t[e]!==`0`;e--)n[e]=t[e]===`?`?` `:``;return n}function Mw(e){return e.kind===`digit`?e.char:`0`}function Nw(e,t){let n=t<0,r=Math.abs(t),i=e.findIndex(e=>e.kind===`exponent`),a=i===-1?Fw(e):void 0,o=i===-1?e.length:i,s=-1;for(let t=0;t<o;t++)if(e[t].kind===`decimal`){s=t;break}let c=s===-1?o:s,l=(t,n)=>{for(let r=t-1;r>=n;r--)if(e[r].kind===`digit`)return r;return-1},u=l(c,0),d=s===-1?-1:l(o,s+1),f=!1,p=0;for(let t=0;t<o;t++){if(e[t].kind!==`thousands`)continue;if(a){f||=a.integer.length>0&&t<a.numerator[0];continue}let n=t<c?u:d;n!==-1&&t>n?p++:t<c&&(f=!0)}if(r!==0&&(r=r*100**e.filter(e=>e.kind===`percent`).length/1e3**p),!Number.isFinite(r))return;if(a)return Rw(e,a,r,n,f);if(i!==-1)return Pw(e,i,s,r,n);let m=[],h=[];e.forEach((e,t)=>{e.kind===`digit`&&(s!==-1&&t>s?h:m).push(e.char)});let g=Ow(r,h.length),_=(m.length>0||h.length>0)&&g.int===``&&!/[1-9]/.test(g.frac),v=Aw(g.int,m,f),y=jw(g.frac,h),b=n&&!_?`-`:``,x=0,S=0;return e.forEach((e,n)=>{switch(e.kind){case`digit`:b+=s!==-1&&n>s?y[S++]:v[x++];break;case`decimal`:n===s&&m.length===0&&(b+=f?g.int.replace(/\B(?=(\d{3})+$)/g,`,`):g.int),b+=`.`;break;case`thousands`:break;case`text`:b+=Ew(Math.abs(t));break;default:b+=Cw(e)}}),b}function Pw(e,t,n,r,i){let a=[],o=[],s=[];e.forEach((e,r)=>{e.kind===`digit`&&(r>t?s.push(e.char):n!==-1&&n<t&&r>n?o.push(e.char):a.push(e.char))});let c=Math.max(a.length,1),l=0,u={int:``,frac:`0`.repeat(o.length)};if(r!==0){let e=Number(r.toExponential(14).split(`e`)[1]);l=a.length===0?e+1:Math.floor(e/c)*c,u=Ow(r,o.length,l),u.int.length>(a.length===0?0:c)&&(l+=a.length===0?1:c,u=Ow(r,o.length,l))}let d=u.int===``&&!/[1-9]/.test(u.frac),f=Aw(u.int,a,!1),p=jw(u.frac,o),m=Aw(String(Math.abs(l)).replace(/^0$/,``),s,!1),h=i&&!d?`-`:``,g=0,_=0,v=0;return e.forEach((e,r)=>{switch(e.kind){case`digit`:h+=r>t?m[v++]:n!==-1&&n<t&&r>n?p[_++]:f[g++];break;case`exponent`:h+=r===t?(e.upper?`E`:`e`)+(l<0?`-`:e.sign===`+`?`+`:``):Cw(e);break;case`thousands`:break;default:h+=Cw(e)}}),h}function Fw(e){for(let t=1;t<e.length;t++){if(e[t].kind!==`slash`||e[t-1].kind!==`digit`)continue;let n=t-1;for(;n>0&&e[n-1].kind===`digit`;)n--;let r=[];for(let e=n;e<t;e++)r.push(e);let i=[],a;if(e[t+1]?.kind===`numeral`){let n=``;for(let r=t+1;r<e.length;r++){let t=e[r];if(t.kind===`numeral`)n+=t.text;else if(t.kind===`digit`&&t.char===`0`)n+=`0`;else break;i.push(r)}a=Number(n)}else for(let n=t+1;n<e.length&&e[n].kind===`digit`;n++)i.push(n);if(i.length===0)continue;let o=[];for(let t=0;t<n;t++)e[t].kind===`digit`&&o.push(t);return{integer:o,numerator:r,slash:t,denominator:i,fixedDenominator:a}}}function Iw(e,t){let n=0,r=1,i=1,a=0,o=e;for(let s=0;s<64;s++){let s=Math.floor(o),c=r+s*a;if(c>t)break;let l=n+s*i;n=i,r=a,i=l,a=c;let u=o-s;if(u===0||i/a===e)break;o=1/u}return{n:i,d:a}}function Lw(e){return e===0?`0`:Ow(e,0).int}function Rw(e,t,n,r,i){let a=t.integer.length>0,o=a?Math.floor(n):0,s=a?n-o:n,c,l;t.fixedDenominator===void 0?{n:c,d:l}=Iw(s,10**t.denominator.length-1):(l=t.fixedDenominator,c=Math.round(s*l)),a&&c===l&&(o++,c=0);let u=o===0&&c===0,d=c===0&&a,f=Aw(o>0?Lw(o):c===0?`0`:``,t.integer.map(t=>Mw(e[t])),i),p=Aw(Lw(c),t.numerator.map(t=>Mw(e[t])),!1),m=t.denominator.map(t=>Mw(e[t])),h=Lw(l);t.fixedDenominator===void 0&&h.length<m.length&&(m[0]===`0`?h=h.padStart(m.length,`0`):m[0]===`?`&&(h=h.padEnd(m.length,` `)));let g=t.numerator[0],_=t.denominator[0],v=t.denominator[t.denominator.length-1],y=r&&!u?`-`:``,b=0,x=0;return e.forEach((e,n)=>{if(n>=g&&n<t.slash){y+=d?` `.repeat(Math.max(p[x].length,1)):p[x],x++;return}if(n===t.slash){y+=d?` `:`/`;return}if(n>=_&&n<=v){n===_&&(y+=d?` `.repeat(Math.max(h.length,t.denominator.length)):h);return}if(t.integer.includes(n)){y+=f[b++];return}e.kind!==`thousands`&&(y+=Cw(e))}),y}function zw(e){return String(e).padStart(2,`0`)}function Bw(e,t,n){if(t<0){let r=Bw(e,-t,n);return r===void 0?void 0:`-`+r}let r=0;for(let t of e)if(t.kind===`date`||t.kind===`elapsed`){if(t.fraction>Gw)return;r=Math.max(r,t.fraction)}let i=10**r,a=86400*i,o=Math.floor(t),s=Math.round((t-o)*a);s>=a&&(o++,s-=a);let c=String(s%i).padStart(r,`0`),l=Math.floor(s/i),u=o*86400+l;if(!yw(e)&&o>=Uw-(n?Ww:0))return;let d=o===0&&!n?{year:1900,month:1,day:0}:kg(o,n),f=(o+(n?5:6))%7,p=Math.floor(l/3600),m=Math.floor(l%3600/60),h=l%60,g=e.some(e=>e.kind===`ampm`)?p%12||12:p,_=e=>e===0?``:`.`+c.padEnd(e,`0`).slice(0,e),v=``,y=!1;for(let t of e)switch(t.kind){case`date`:y||=t.part!==`hour`&&t.part!==`minute`&&t.part!==`second`,v+=Vw(t.part,t.width,d.year,d.month,d.day,f,g,m,h),v+=t.part===`second`?_(t.fraction):``;break;case`elapsed`:{let e=y?p*3600:u,n=t.unit===`h`?Math.floor(e/3600):t.unit===`m`?Math.floor(e/60):e;v+=String(n).padStart(t.width,`0`),v+=t.unit===`s`?_(t.fraction):``;break}case`ampm`:{let e=p>=12,n=t.short?e?`P`:`A`:e?`PM`:`AM`;v+=t.lower?n.toLowerCase():n;break}default:v+=Cw(t)}return v}function Vw(e,t,n,r,i,a,o,s,c){switch(e){case`year`:case`buddhistYear`:{let r=e===`year`?n:n+543;return t<=2?zw((r%100+100)%100):String(r).padStart(4,`0`)}case`month`:return t===1?String(r):t===2?zw(r):t===3?Yg[r-1].slice(0,3):t===5?Yg[r-1][0]:Yg[r-1];case`day`:return t===1?String(i):t===2?zw(i):t===3?Xg[a].slice(0,3):Xg[a];case`hour`:return t===1?String(o):zw(o);case`minute`:return t===1?String(s):zw(s);default:return t===1?String(c):zw(c)}}var Hw,Uw,Ww,Gw,Kw=n((()=>{Lg(),n_(),Hw=`########`,Uw=2958466,Ww=1462,Gw=3})),qw=n((()=>{o_()}));function Jw(e){let{elapsed:t,date:n,time:r,text:i}=qg(e);return!i&&!t&&!n&&r}function Yw(e){let{elapsed:t,date:n,text:r}=qg(e);return!r&&!t&&n}function Xw(e,t,n,r=!1){if(e instanceof Date){let i=i_(e,r);if(Jw(t))return i%=1,i<0&&(i+=1),_w(t,i,{date1904:r});let a;return a=n&&Yw(t)?n:Jg(t)?i%1==0?Zw:Qw:t,_w(a,i,{date1904:r})}return _w(t,e,{date1904:r})}var Zw,Qw,$w=n((()=>{n_(),Kw(),qw(),Zw=`yyyy-mm-dd`,Qw=`yyyy-mm-dd hh:mm:ss`}));function eT(e,t,n){let r=wS.decodeAddress(t),i=wS.decodeAddress(n),a={col:i.col-r.col,row:i.row-r.row},o=``,s=0,c=0;for(;c<e.length;){let t=e[c];if(t!==`"`&&t!==`'`&&t!==`[`){c++;continue}o+=rT(e.slice(s,c),a);let n=c;c=t===`[`?nT(e,c):tT(e,c,t),o+=e.slice(n,c),s=c}return o+rT(e.slice(s),a)}function tT(e,t,n){let r=t+1;for(;r<e.length;){if(e[r]===n){if(e[r+1]!==n)return r+1;r++}r++}return r}function nT(e,t){let n=0,r=t;for(;r<e.length;){let t=e[r];if(t===`'`){r+=2;continue}if(t===`[`)n++;else if(t===`]`&&--n===0)return r+1;r++}return r}function rT(e,t){let n=``,r=0;uT.lastIndex=0;for(let i=uT.exec(e);i!==null;i=uT.exec(e)){let a=i.index,o=a+i[0].length;if(!iT(e,a,o))continue;let s;if(e[o]===`:`){uT.lastIndex=o+1;let n=uT.exec(e);if(n!==null&&n.index===o+1){let r=n.index+n[0].length;iT(e,n.index,r)&&(s=oT(i[0],n[0],t),s!==void 0&&(o=r))}uT.lastIndex=o}s??=aT(i[0],t),s!==void 0&&(n+=e.slice(r,a)+s,r=o)}return n+e.slice(r)}function iT(e,t,n){let r=e.charCodeAt(n);return r!==40&&r!==33&&!(r>127)&&!(e.charCodeAt(t-1)>127)}function aT(e,t){let n=dT.exec(e);if(n===null)return;let r=wS.decodeCol(n[2].toUpperCase());if(r>lT)return;let i=n[1]?r:r+t.col,a=n[3]?Number(n[4]):Number(n[4])+t.row;return i<1||i>lT||a<1||a>cT?`#REF!`:n[1]+wS.n2l(i)+n[3]+a}function oT(e,t,n){let r=aT(e,n),i=aT(t,n);if(r!==void 0&&i!==void 0)return r===`#REF!`||i===`#REF!`?`#REF!`:`${r}:${i}`;let a=fT.exec(e),o=fT.exec(t);if(a&&o){let e=sT(a,n.col,lT,e=>wS.decodeCol(e.toUpperCase())),t=sT(o,n.col,lT,e=>wS.decodeCol(e.toUpperCase()));return e===void 0||t===void 0?void 0:e===null||t===null?`#REF!`:`${e.dollar}${wS.n2l(e.n)}:${t.dollar}${wS.n2l(t.n)}`}let s=pT.exec(e),c=pT.exec(t);if(s&&c){let e=sT(s,n.row,cT,Number),t=sT(c,n.row,cT,Number);return e===void 0||t===void 0?void 0:e===null||t===null?`#REF!`:`${e.dollar}${e.n}:${t.dollar}${t.n}`}}function sT(e,t,n,r){let i=r(e[2]);if(i>n)return;let a=e[1]?i:i+t;return a<1||a>n?null:{dollar:e[1],n:a}}var cT,lT,uT,dT,fT,pT,mT=n((()=>{TS(),cT=1048576,lT=16384,uT=/[A-Za-z0-9_.\\?$]+/g,dT=/^(\$?)([A-Za-z]{1,3})(\$?)([1-9]\d*)$/,fT=/^(\$?)([A-Za-z]{1,3})$/,pT=/^(\$?)([1-9]\d*)$/}));function hT(e){return!!e&&(typeof e!=`object`||Object.keys(e).length>0)}function gT(e){let t=``;for(let n of e)n&&typeof n.text==`string`&&(t+=n.text);return t}function _T(e){let t,n;Array.isArray(e.richText)&&e.richText.length>0?(n=e.richText,t=gT(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 vT(e,t,n){let r=e&&e.styleName||t&&t.styleName;r&&(n.styleName=r);let i=e&&e.numFmt||t&&t.numFmt;return i&&(n.numFmt=i),hT(e.font)?n.font=QC(e,`font`):hT(t.font)&&(n.font=QC(t,`font`)),hT(e.alignment)?n.alignment=QC(e,`alignment`):hT(t.alignment)&&(n.alignment=QC(t,`alignment`)),hT(e.border)?n.border=QC(e,`border`):hT(t.border)&&(n.border=QC(t,`border`)),hT(e.fill)?n.fill=QC(e,`fill`):hT(t.fill)&&(n.fill=QC(t,`fill`)),hT(e.protection)?n.protection=QC(e,`protection`):hT(t.protection)&&(n.protection=QC(t,`protection`)),n}function yT(e){return Object.isFrozen(e.style)&&(e.style={...e.style}),e.style}function bT(e){return e.column.number}function xT(e){return e._value.type}function ST(e){return e._value.effectiveType}function CT(e){return e._value.value}function wT(e){switch(e){case`date`:return`yyyy-mm-dd`;case`time`:return`hh:mm:ss`;case`dateTime`:return`yyyy-mm-dd hh:mm:ss`}}function TT(e,t){return e==null||e instanceof Date?e:jg(lw(e,t))}function ET(e){return(e.row?.worksheet?._workbook)?.properties?.date1904===!0}function DT(e,t){if(xT(e)===X.Merge){DT(e._value.master,t);return}let n=sw(t);if(n!==void 0)throw new bS(String(t[Symbol.toStringTag]),n);e._formulaGhostOwner=void 0,e._value.release(),e._value=ZT.create(ZT.getType(t),e,t);let r=ow(t);r!==void 0&&e.style.numFmt===void 0&&(yT(e).numFmt=wT(r))}function OT(e){e._mergeCount++}function kT(e){e._mergeCount--}function AT(e){return e._value.hyperlink}function jT(e){return e._comment}function MT(e){return e._value.toString()}function NT(e){return e._value.formula}function PT(e){return e._value.result}function FT(e){let{model:t}=e._value;return t.style=e.style,e._comment&&(t.comment=BC(e._comment)),t}function IT(e,t){return e==null?``:e instanceof Date?t?e.toISOString():e.toString():typeof e==`object`?e.error:String(e)}function LT(e){return!!e&&typeof e==`object`&&`_value`in e&&`row`in e&&`column`in e}var X,RT,zT,BT,VT,HT,UT,WT,GT,KT,qT,JT,YT,XT,ZT,QT=n((()=>{NC(),HC(),ew(),gw(),CS(),TS(),mT(),Lg(),X=MC.ValueType,RT=class{constructor(e){this.model={address:e.address,type:X.Null}}get value(){return null}set value(e){}get type(){return X.Null}get effectiveType(){return X.Null}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return``}release(){}toString(){return``}},zT=class{constructor(e,t){this.model={address:e.address,type:X.Number,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return X.Number}get effectiveType(){return X.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()}},BT=class{constructor(e,t){this.model={address:e.address,type:X.String,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return X.String}get effectiveType(){return X.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}},VT=class{constructor(e,t){this.model={address:e.address,type:X.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 X.RichText}get effectiveType(){return X.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(){}},HT=class{constructor(e,t){this.model={address:e.address,type:X.Date,value:TT(t,ET(e))}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return X.Date}get effectiveType(){return X.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()}},UT=class{constructor(e,t){if(this.model={address:e.address,type:X.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=_T(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=_T(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=gT(e)):delete this.model.richText}get hyperlink(){return this.model.hyperlink}set hyperlink(e){this.model.hyperlink=e}get type(){return X.Hyperlink}get effectiveType(){return X.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??``}},WT=class{constructor(e,t){this.model={address:e.address,type:X.Merge,master:t?t.address:void 0},this._master=t,t&&OT(t)}get value(){return CT(this._master)}set value(e){LT(e)?(this._master&&kT(this._master),OT(e),this._master=e):DT(this._master,e)}isMergedTo(e){return e===this._master}get master(){return this._master}get type(){return X.Merge}get effectiveType(){return ST(this._master)}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return``}release(){kT(this._master)}toString(){return this.value==null?``:this.value.toString()}},GT=class{constructor(e,t){this.cell=e,this.model={address:e.address,type:X.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(ZT.getType(e)){case X.Null:case X.String:case X.Number:case X.Date:break;case X.Hyperlink:case X.Formula:default:throw new bS(String(ZT.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?MC.FormulaType.Master:this.model.sharedFormula?MC.FormulaType.Shared:MC.FormulaType.None}get result(){return this.model.result}set result(e){this.model.result=e}get type(){return X.Formula}get effectiveType(){let e=this.model.result;return e==null?MC.ValueType.Null:typeof e==`string`?MC.ValueType.String:typeof e==`number`?MC.ValueType.Number:typeof e==`boolean`?MC.ValueType.Boolean:e instanceof Date?MC.ValueType.Date:typeof e==`object`&&`error`in e?MC.ValueType.Error:MC.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=wS.getAddress(this.model.sharedFormula),n=e._rows[t.row-1],r=n?n.cells[t.col-1]:void 0;this._translatedFormula=r&&NT(r)?eT(NT(r),r.address,this.model.address):void 0}return this._translatedFormula}toCsvString(){return IT(this.model.result,!0)}release(){}toString(){return IT(this.model.result,!1)}},KT=class{constructor(e,t){this.model={address:e.address,type:X.SharedString,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return X.SharedString}get effectiveType(){return X.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()}},qT=class{constructor(e,t){this.model={address:e.address,type:X.Boolean,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return X.Boolean}get effectiveType(){return X.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()}},JT=class{constructor(e,t){this.model={address:e.address,type:X.Checkbox,value:t.checkbox}}get value(){return{checkbox:this.model.value}}set value(e){this.model.value=e.checkbox}get type(){return X.Checkbox}get effectiveType(){return X.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()}},YT=class{constructor(e,t){this.model={address:e.address,type:X.Error,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return X.Error}get effectiveType(){return X.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()}},XT=class{constructor(e,t){this.model={address:e.address,type:X.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 X.String}get effectiveType(){return X.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}},ZT={getType(e){if(e==null)return X.Null;if(typeof e==`string`)return X.String;if(typeof e==`number`)return X.Number;if(typeof e==`boolean`)return X.Boolean;if(e instanceof Date||aw(e))return X.Date;if(typeof e==`object`){if(`checkbox`in e&&typeof e.checkbox==`boolean`)return X.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 X.Hyperlink}if(`formula`in e&&e.formula||`sharedFormula`in e&&e.sharedFormula)return X.Formula;if(`richText`in e&&Array.isArray(e.richText)&&e.richText.length>0)return X.RichText;if(`sharedString`in e&&e.sharedString)return X.SharedString;if(`error`in e&&e.error)return X.Error}return X.JSON},types:[{t:X.Null,f:RT},{t:X.Number,f:zT},{t:X.String,f:BT},{t:X.Date,f:HT},{t:X.Hyperlink,f:UT},{t:X.Formula,f:GT},{t:X.Merge,f:WT},{t:X.JSON,f:XT},{t:X.SharedString,f:KT},{t:X.RichText,f:VT},{t:X.Boolean,f:qT},{t:X.Error,f:YT},{t:X.Checkbox,f:JT}].reduce((e,t)=>(e[t.t]=t.f,e),[]),create(e,t,n){let r=this.types[e];if(!r)throw new bS(String(e),`Could not create Value`);return new r(t,n)}}}));function $T(e){return e.width!==void 0&&e.width!==oE}function eE(e){return!!e.hidden}function tE(e){return e.outlineLevel??0}function nE(e){return!!(e.outlineLevel&&e.outlineLevel>=(e.worksheet.properties.outlineLevelCol??0))}function rE(e,t){return e.width===t.width&&eE(e)===t.hidden&&tE(e)===t.outlineLevel&&e.bestFit===t.bestFit&&FC(e.style,t.style)}function iE(e){if($T(e)||eE(e)||tE(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 aE(e){let t=[],n=null;return e.forEach((e,r)=>{iE(e)?n&&=null:!n||!rE(e,n)?(n={min:r+1,max:r+1,width:e.width===void 0?oE:e.width,style:e.style,isCustomWidth:$T(e),hidden:eE(e),outlineLevel:tE(e),collapsed:nE(e),bestFit:e.bestFit},t.push(n)):n.max=r+1}),t.length?t:void 0}var oE,sE=n((()=>{zC(),oE=9}));function cE(e,t){return{worksheet:e,number:t,cells:[],style:{},outlineLevel:0}}function lE(e,t){return e.cells[t-1]}function uE(e){return e.cells.some(e=>e&&xT(e)!==MC.ValueType.Null)}function dE(e){let t=0,n=0;return e.cells.forEach(e=>{e&&xT(e)!==MC.ValueType.Null&&((!t||t>bT(e))&&(t=bT(e)),n<bT(e)&&(n=bT(e)))}),t>0?{min:t,max:n}:null}function fE(e){return!!e.hidden}function pE(e){return e.outlineLevel??0}function mE(e){return!!(e.outlineLevel&&e.outlineLevel>=(e.worksheet.properties.outlineLevelRow??0))}function hE(e){let t=[],n=0,r=0;return e.cells.forEach(e=>{if(e){let i=FT(e),a=e._formulaGhostOwner===void 0?i:{address:i.address,type:MC.ValueType.Null,style:i.style,comment:i.comment};a&&((!n||n>bT(e))&&(n=bT(e)),r<bT(e)&&(r=bT(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:fE(e),outlineLevel:pE(e),collapsed:mE(e),dyDescent:e.dyDescent}:null}var gE=n((()=>{QT(),NC()}));function _E(e){return e._name}function vE(e){return e._workbook}function yE(e,t){return e._rows[t-1]}function bE(e,t){let n=e._rows[t-1];return n||=e._rows[t-1]=cE(e,t),n}function xE(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(bE(e,n),n)}else e._rows.forEach(e=>{e&&uE(e)&&i(e,e.number)})}function SE(e,t,n){let r=wS.getAddress(t,n),i=e._rows[r.row-1];return i?lE(i,r.col):void 0}function CE(e){return Object.values(e.tables)}var wE=n((()=>{gE(),TS()}));function TE(e){return e.table}function EE(e){return e.table.name}function DE(e){return e.table.displayName||e.table.name}var OE=n((()=>{}));function kE(e,t){return e.media[Number(t)]}function AE(e,t){return e._chartEntries[t]}function jE(e,t){return e._chartExStructuredEntries?.[t]}function ME(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&&_E(e).toLowerCase()===n)}}function NE(e){return e._worksheets.slice(1).sort((e,t)=>e.orderNo-t.orderNo).filter(Boolean)}var PE=n((()=>{wE()}));function FE(e,t,n){let r=NE(e),i=e._definedNames?CC(e._definedNames).map(e=>({name:e.name,ranges:[...e.ranges],localSheetId:e.localSheetId})):[],a=t?_E(t):void 0,o=t?t.orderNo??r.indexOf(t):void 0,s=r.map(e=>({name:_E(e),orderNo:e.orderNo,cells:/* @__PURE__ */ new Map,tables:IE(e)})),c=u(s),l=n?ES(n,c):void 0;return u(r.map((e,t)=>{let n=/* @__PURE__ */ new Map,r=l?.get(_E(e).toLowerCase());if(l)for(let t of r??[]){let[r,i]=t.split(`:`).map(Number),a=SE(e,r,i);a&&n.set(t,zE(CT(a)))}else xE(e,e=>{e.cells.forEach((t,r)=>{t&&n.set(hS(e.number,r+1),zE(CT(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 IE(e){return CE(e).map(e=>{let t=TE(e);return{name:EE(e),displayName:DE(e),ref:t.tableRef??t.ref,columns:t.columns.map(e=>e.name),headerRow:t.headerRow!==!1,totalsRow:t.totalsRow===!0}})}function LE(e,t,n){OS(DS(e,FE(t,n,RE(e)),{includeSkippedDimensions:!0}))}function RE(e){let t=/* @__PURE__ */ 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 zE(e){if(e!=null){if(typeof e==`object`&&`result`in e)return zE(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 BE=n((()=>{iC(),gS(),QT(),EC(),OE(),PE(),wE()}));function VE(e,t){return{a:e.a*t.a+e.c*t.b,b:e.b*t.a+e.d*t.b,c:e.a*t.c+e.c*t.d,d:e.b*t.c+e.d*t.d,e:e.a*t.e+e.c*t.f+e.e,f:e.b*t.e+e.d*t.f+e.f}}function HE(e,t,n){return{x:e.a*t+e.c*n+e.e,y:e.b*t+e.d*n+e.f}}function UE(e){let t=Math.abs(e.a*e.d-e.b*e.c);return t>0?Math.sqrt(t):1}function WE(e){return Math.atan2(e.b,e.a)*180/Math.PI}function GE(e,t,n,r,i,a,o){let s=Math.abs(t),c=Math.abs(n);if(s===0||c===0||e.x===o.x&&e.y===o.y)return[{op:`line`,x:o.x,y:o.y}];let l=r*Math.PI/180,u=Math.cos(l),d=Math.sin(l),f=(e.x-o.x)/2,p=(e.y-o.y)/2,m=u*f+d*p,h=-d*f+u*p,g=m*m/(s*s)+h*h/(c*c);if(g>1){let e=Math.sqrt(g);s*=e,c*=e}let _=s*s,v=c*c,y=Math.max(0,_*v-_*h*h-v*m*m),b=_*h*h+v*m*m,x=(i===a?-1:1)*Math.sqrt(y/b),S=x*s*h/c,C=-x*c*m/s,w=u*S-d*C+(e.x+o.x)/2,T=d*S+u*C+(e.y+o.y)/2,E=(e,t,n,r)=>{let i=e*n+t*r,a=Math.hypot(e,t)*Math.hypot(n,r);return(e*r-t*n<0?-1:1)*Math.acos(Math.max(-1,Math.min(1,i/a)))},ee=(m-S)/s,te=(h-C)/c,ne=(-m-S)/s,re=(-h-C)/c,ie=E(1,0,ee,te),ae=E(ee,te,ne,re);!a&&ae>0?ae-=2*Math.PI:a&&ae<0&&(ae+=2*Math.PI);let oe=Math.max(1,Math.ceil(Math.abs(ae)/(Math.PI/2))),se=ae/oe,ce=4/3*Math.tan(se/4),le=[],ue=ie,de=e.x,fe=e.y;for(let e=0;e<oe;e++){let e=ue+se,t=e=>{let t=Math.cos(e),n=Math.sin(e);return{x:w+s*u*t-c*d*n,y:T+s*d*t+c*u*n}},n=e=>{let t=Math.cos(e),n=Math.sin(e);return{x:-s*u*n-c*d*t,y:-s*d*n+c*u*t}},r=n(ue),i=t(e),a=n(e);le.push({op:`cubic`,x1:de+ce*r.x,y1:fe+ce*r.y,x2:i.x-ce*a.x,y2:i.y-ce*a.y,x:i.x,y:i.y}),ue=e,de=i.x,fe=i.y}return le}function KE(e,t,n,r,i,a){let o=(n,r)=>({x:e+Math.cos(n)*r,y:t+Math.sin(n)*r}),s=Math.abs(a-i),c=s>=Math.PI*2-1e-9,l=(e,t)=>{let n=o(i,e),r=o(i+Math.PI,e);return[{op:`move`,x:n.x,y:n.y},...GE(n,e,e,0,!1,t,r),...GE(r,e,e,0,!1,t,n),{op:`close`}]};if(c)return r>0?[...l(n,!0),...l(r,!1)]:l(n,!0);let u=o(i,n),d=o(a,n),f=s>Math.PI,p=a>i;if(r>0){let e=o(a,r),t=o(i,r);return[{op:`move`,x:u.x,y:u.y},...GE(u,n,n,0,f,p,d),{op:`line`,x:e.x,y:e.y},...GE(e,r,r,0,f,!p,t),{op:`close`}]}return[{op:`move`,x:e,y:t},{op:`line`,x:u.x,y:u.y},...GE(u,n,n,0,f,p,d),{op:`close`}]}function qE(e,t=1){let n=[],r=[],i={x:0,y:0},a=e=>{r.length>=2&&n.push({points:r,closed:e}),r=[]};for(let n of e)switch(n.op){case`move`:a(!1),i={x:n.x,y:n.y},r=[{x:i.x*t,y:i.y*t}];break;case`line`:i={x:n.x,y:n.y},r.push({x:i.x*t,y:i.y*t});break;case`cubic`:{let e=Math.hypot(n.x1-i.x,n.y1-i.y)+Math.hypot(n.x2-n.x1,n.y2-n.y1)+Math.hypot(n.x-n.x2,n.y-n.y2),a=Math.max(4,Math.min(64,Math.ceil(e*t/3)));for(let e=1;e<=a;e++){let o=e/a,s=1-o,c=s*s*s*i.x+3*s*s*o*n.x1+3*s*o*o*n.x2+o*o*o*n.x,l=s*s*s*i.y+3*s*s*o*n.y1+3*s*o*o*n.y2+o*o*o*n.y;r.push({x:c*t,y:l*t})}i={x:n.x,y:n.y};break}case`close`:a(!0)}return a(!1),n}function JE(e,t,n,r,i){let a=Math.max(0,Math.min(i,Math.min(n,r)/2));if(a===0)return[{op:`move`,x:e,y:t},{op:`line`,x:e+n,y:t},{op:`line`,x:e+n,y:t+r},{op:`line`,x:e,y:t+r},{op:`close`}];let o=a*ZE,s=e+n,c=t+r;return[{op:`move`,x:e+a,y:t},{op:`line`,x:s-a,y:t},{op:`cubic`,x1:s-a+o,y1:t,x2:s,y2:t+a-o,x:s,y:t+a},{op:`line`,x:s,y:c-a},{op:`cubic`,x1:s,y1:c-a+o,x2:s-a+o,y2:c,x:s-a,y:c},{op:`line`,x:e+a,y:c},{op:`cubic`,x1:e+a-o,y1:c,x2:e,y2:c-a+o,x:e,y:c-a},{op:`line`,x:e,y:t+a},{op:`cubic`,x1:e,y1:t+a-o,x2:e+a-o,y2:t,x:e+a,y:t},{op:`close`}]}function YE(e,t,n){return{kind:`rect`,x:e.x,y:e.y,width:e.width,height:e.height,paint:t,...n===void 0?{}:{rx:n}}}var XE,ZE,QE=n((()=>{XE={a:1,b:0,c:0,d:1,e:0,f:0},ZE=.5522847498307936}));function $E(e,t,n){vD[e.toLowerCase()]=t,n&&(yD[e.toLowerCase()]=n)}function eD(e){let t=xD.get(e);if(t)return t;t=/* @__PURE__ */ new Map;for(let[n,r,i]of e.advances)for(let e=0;e<r;e++)t.set(n+e,i);return xD.set(e,t),t}function tD(e,t){let n=e.toLowerCase();return t?yD[n]??vD[n]:vD[n]}function nD(e){return Object.hasOwn(yD,e.toLowerCase())}function rD(){return lD}function iD(e,t){return sD(t)?e.cjkAdvance:eD(e).get(t)??e.defaultAdvance}function aD(e){return cD[e]}function oD(e){return bD[e.toLowerCase()]}function sD(e){return Oi(e)}var cD,lD,uD,dD,fD,pD,mD,hD,gD,_D,vD,yD,bD,xD,SD=n((()=>{Ki(),cD={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},lD={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]]},uD={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]]},dD={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]]},fD={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]]},pD={header:{unitsPerEm:2048,usWinAscent:1705,usWinDescent:615,maxDigitAdvance:1229,sTypoAscender:1255,sTypoDescender:-386,sTypoLineGap:0},defaultAdvance:1229,cjkAdvance:2048,advances:[[32,95,1229]]},mD={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]]},hD={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]]},gD={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]]},_D={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]]},vD={},yD={},$E(`calibri`,lD),$E(`arial`,uD,dD),$E(`times new roman`,fD),$E(`courier new`,pD),$E(`verdana`,mD),$E(`georgia`,hD),$E(`tahoma`,gD),$E(`trebuchet ms`,_D),bD={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],微软雅黑:[1.18,1.3,1.18],"微软雅黑 ui":[1.18,1.3,1.18],微軟正黑體:[1.12,1.28,1.14],"microsoft jhenghei":[1.12,1.28,1.14],"microsoft jhenghei ui":[1.12,1.28,1.14],新細明體:[1.1,1.1,1.1],pmingliu:[1.1,1.1,1.1],細明體:[1.1,1.1,1.1],mingliu:[1.1,1.1,1.1],標楷體:[1.1,1.1,1.1],"dfkai-sb":[1.1,1.1,1.1],华文细黑:[1.1,1.1,1.1],stheiti:[1.1,1.1,1.1],华文宋体:[1.1,1.1,1.1],stsong:[1.1,1.1,1.1],华文楷体:[1.1,1.1,1.1],stkaiti:[1.1,1.1,1.1],华文仿宋:[1.1,1.1,1.1],stfangsong:[1.1,1.1,1.1],"pingfang sc":[1.05,1.24,1.1],"pingfang tc":[1.05,1.24,1.1],"pingfang hk":[1.05,1.24,1.1],"苹方-简":[1.05,1.24,1.1],"蘋方-繁":[1.05,1.24,1.1],"heiti sc":[1.1,1.1,1.1],"heiti tc":[1.1,1.1,1.1],"songti sc":[1.1,1.1,1.1],"songti tc":[1.1,1.1,1.1],"kaiti sc":[1.1,1.1,1.1],"kaiti tc":[1.1,1.1,1.1],"hiragino sans gb":[1.1,1.24,1.1],"hiragino kaku gothic pron":[1.1,1.24,1.18],"ヒラギノ角ゴ pron":[1.1,1.24,1.18],"noto sans cjk sc":[1.05,1.28,1.1],"noto sans cjk tc":[1.05,1.28,1.1],"noto sans cjk jp":[1.05,1.28,1.18],"noto sans cjk kr":[1.05,1.28,1.14],"noto sans sc":[1.05,1.28,1.1],"noto sans tc":[1.05,1.28,1.1],"noto sans jp":[1.05,1.28,1.18],"noto sans kr":[1.05,1.28,1.14],"source han sans sc":[1.05,1.28,1.1],"source han sans cn":[1.05,1.28,1.1],思源黑体:[1.05,1.28,1.1],"source han serif sc":[1.1,1.1,1.1],思源宋体:[1.1,1.1,1.1],"wenquanyi micro hei":[1.1,1.24,1.1],"wenquanyi zen hei":[1.1,1.24,1.1],文泉驿微米黑:[1.1,1.24,1.1],"droid sans fallback":[1.1,1.2,1.1],游ゴシック:[1.17,1.32,1.18],nanumgothic:[1.12,1.28,1.14],"nanum gothic":[1.12,1.28,1.14],나눔고딕:[1.12,1.28,1.14],"apple sd gothic neo":[1.1,1.24,1.14],applegothic:[1.1,1.24,1.14]},xD=/* @__PURE__ */ new Map}));function CD(e,t,n,r){if(t===`calibri`&&n===ID){let t=aD(e);if(t!==void 0)return t}let i=iD(r,e),a=Math.round(n/72*PD);return Math.round(i/r.header.unitsPerEm*a)}function wD(e){let t=(e?.name??LD).toLowerCase(),n=e?.size??ID;if(t===`calibri`&&n===ID)return RD;let r=tD(t);if(r){let e=Math.round(n/72*PD);return Math.round(r.header.maxDigitAdvance/r.header.unitsPerEm*e)}return Math.max(1,Math.round(n/ID*RD))}function TD(e){return{name:(e?.name??LD).toLowerCase(),size:e?.size??ID,bold:e?.bold??!1,italic:e?.italic??!1,vertAlign:e?.vertAlign===`baseline`?void 0:e?.vertAlign}}function ED(e,t){if(!e)return 0;let n=TD(t),r=tD(n.name,n.bold),i=e.split(/\r\n|\r|\n/),a=0;for(let e of i){let t=OD(e,n,r);t>a&&(a=t)}return a}function DD(e,t){let n=t!==void 0||e.name===`calibri`&&e.size===ID,r=n?void 0:oD(e.name),i=r?.[0]??1,a=r?.[1]??1.3,o=wD({name:e.name,size:e.size}),s=e.size/FD*PD,c=Math.ceil(s),l=!!e.bold&&!nD(e.name),u=!!e.italic,d=t??rD(),f={advance:0,lower:0,upper:0,wide:0},p=t=>{if(sD(t))return c;let n=CD(t,e.name,e.size,d);return l&&(n=Math.ceil(n*1.05)),u&&(n=Math.ceil(n*1.02)),n},m=e=>{let t=jD(e);return ki(t)?0:!sD(t)&&MD(e)?c:p(t)},h=t=>{if(n)return e.vertAlign?Math.ceil(t.advance*.6):t.advance;let r=(t.lower*i+t.upper*a)*(e.size/ID);e.bold&&(r*=1.05),e.italic&&(r*=1.02),e.vertAlign&&(r*=.6);let c=r*o;return t.wide>0&&(c+=t.wide/2*s*(e.vertAlign?.6:1)),Math.ceil(c)};return{create:()=>({advance:0,lower:0,upper:0,wide:0}),reset(e){e.advance=0,e.lower=0,e.upper=0,e.wide=0},addCluster(e,t){if(n){e.advance+=m(t);return}let r=jD(t);ki(r)||(sD(r)||MD(t)?e.wide+=2:t>=`A`&&t<=`Z`?e.upper++:e.lower++)},addAscii(e,t){if(!ki(t)){if(n){e.advance+=p(t);return}t>=65&&t<=90?e.upper++:e.lower++}},addParts(e,t){e.advance+=t.advance,e.lower+=t.lower,e.upper+=t.upper,e.wide+=t.wide},px:h,pxOfSum(e,t){return f.advance=e.advance+t.advance,f.lower=e.lower+t.lower,f.upper=e.upper+t.upper,f.wide=e.wide+t.wide,h(f)}}}function OD(e,t,n){if(!e)return 0;let r=DD(t,n),i=r.create();return kD(r,i,e),r.px(i)}function kD(e,t,n){if(AD(n)){for(let r=0;r<n.length;r++)e.addAscii(t,n.charCodeAt(r));return}for(let r of Lr(n))e.addCluster(t,r)}function AD(e){for(let t=0;t<e.length;t++)if(e.charCodeAt(t)>127)return!1;return!0}function jD(e){return e.codePointAt(0)??0}function MD(e){return e.includes(`️`)}function ND(e){return e.includes(`\r`)?e.replace(/\r(?!\n)/gu,`
|
|
61
|
+
`):e}var PD,FD,ID,LD,RD,zD=n((()=>{SD(),Ki(),zr(),PD=96,FD=72,ID=11,LD=`Calibri`,RD=7}));function BD(e,t){return e?ED(e,{name:t.family??`arial`,size:t.size,bold:t.bold??!1,italic:t.italic??!1})*VD:0}var VD,HD=n((()=>{QE(),zD(),VD=72/96})),UD,WD,GD=n((()=>{v(),UD=class extends g{constructor(...e){super(...e),this.name=`XmlError`}},WD=class extends UD{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,this.limit=t?.limit}}})),KD=n((()=>{Pn()}));function qD(e){return/[\r\n]/.test(e)?e.split(/\r\n|[\r\n]/).map((e,t)=>({index:t,text:e})):[{index:0,text:e}]}function JD(e){return/[\r\n]/.test(e)?e.split(/\r\n|[\r\n]/).join(` `):e}function YD(e){return!Number.isFinite(e)||e<0?0:e>1?1:e}function XD(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 ZD(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 QD(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 $D(e){return Number.isFinite(e)?e.toFixed(2).replace(/\.00$/,``):`0`}function eO(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 tO(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?nO(e):e).replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`)}function nO(e){return jn(e)}function rO(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 iO(e,t){let n=rO(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 aO(e,t,n){let r=rO(e),i=rO(t),a=YD(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 oO(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<gO.length)return gO[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=_O[e.prstClr];return t?`#${t}`:void 0}}}}function sO(e,t){return oO(e?.solid)??t}function cO(e){return oO(e?.color)}function lO(e){return typeof e?.width==`number`?Math.max(.5,fg(e.width)):void 0}function uO(e,t,n={}){return BD(e,{size:t,family:n.fontName??`arial`,...n.bold===void 0?{}:{bold:n.bold},...n.italic===void 0?{}:{italic:n.italic}})}function dO(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,vO),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}var fO,pO,mO,hO,gO,_O,vO,yO=n((()=>{HD(),op(),xg(),KD(),fO=[`#${rp.accent1}`,`#${rp.accent2}`,`#${rp.accent3}`,`#${rp.accent4}`,`#${rp.accent5}`,`#${rp.accent6}`],pO=`#444444`,mO=`#D9D9D9`,hO=1.2,gO=Object.freeze(ip.map(e=>`#${e}`)),Object.freeze([`dk1`,`lt1`,`dk2`,`lt2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`]),_O=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`}),vO=2097152}));function bO(e){return e?._rawXml}function xO(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 SO(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 CO(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 wO(e){let t=KO.exec(e);if(t){let n={srgb:t[1].toUpperCase()};return CO(SO(e,t,`</a:srgbClr`),n),n}let n=qO.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 CO(SO(e,n,`</a:schemeClr`),a),a}let r=YO.exec(e);if(r){let t={sysClr:r[1]};return CO(SO(e,r,`</a:sysClr`),t),t}let i=XO.exec(e);if(i){let t={prstClr:i[1]};return CO(SO(e,i,`</a:prstClr`),t),t}}function TO(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=wO(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 EO(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?wO(s):void 0,background:c?wO(c):void 0}}}function DO(e,t){let n=RegExp(`<${t}\\b[^>]*?(/?)>`),r=RegExp(`</${t}>`),i=e;for(let e=0;e<8;e++){let e=n.exec(i);if(!e)break;let t=e.index+e[0].length;if(e[1]===`/`){i=i.slice(0,e.index)+i.slice(t);continue}let a=r.exec(i.slice(t));if(!a)break;i=i.slice(0,e.index)+i.slice(t+a.index+a[0].length)}return i}function OO(e){let t=bO(e);if(!t)return e;let n={},r=DO(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=wO(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=TO(r):r.includes(`<a:pattFill`)&&(n.fill=EO(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=wO(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=PO(t);e&&(n.effectList=e)}if(t.includes(`<a:scene3d`)){let e=IO(t);e&&(n.scene3d=e)}if(t.includes(`<a:sp3d`)){let e=LO(t);e&&(n.sp3d=e)}if(t.includes(`<a:xfrm`)){let e=kO(t);e&&(n.transform=e)}if(t.includes(`<a:prstGeom`)){let e=AO(t);e&&(n.presetGeometry=e)}if(t.includes(`<a:custGeom`)){let e=jO(t);e&&(n.customGeometry=e)}return n}function kO(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 AO(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=MO(r);return o.length>0&&(a.adjustments=o),a}function jO(e){let t=/<a:custGeom\b[^>]*>([\s\S]*?)<\/a:custGeom>/.exec(e);if(!t)return;let n=t[1],r={},i=MO(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=NO(t),a.push(n)}return a.length>0&&(r.paths=a),Object.keys(r).length>0?r:void 0}function MO(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 NO(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 PO(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=zO(a[0]);i.blur={},e.rad&&(i.blur.radius=parseInt(e.rad,10)),e.grow===`1`&&(i.blur.grow=!0)}let o=FO(r,`a:outerShdw`);o&&(i.outerShadow=o);let s=FO(r,`a:innerShdw`);s&&(i.innerShadow=s);let c=/<a:prstShdw\s+([^>]*)>([\s\S]*?)<\/a:prstShdw>/.exec(r);if(c){let e=zO(c[0]),t=wO(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=zO(l[0]),t=wO(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=zO(u[0]);e.rad&&(i.softEdge={radius:parseInt(e.rad,10)})}let d=/<a:reflection\s+([^/>]*)\s*\/>/.exec(r);if(d){let e=zO(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 FO(e,t){let n=(JO[t]??RegExp(`<${t}\\s+([^>]*)>([\\s\\S]*?)<\\/${t}>`)).exec(e);if(!n)return;let r=zO(n[0]),i=wO(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 IO(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=zO(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=zO(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=zO(o[0]);e.rig&&e.dir&&(i.lightRig={rig:e.rig,direction:e.dir})}if(i.camera||i.lightRig)return i}function LO(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=zO(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=RO(a.slice(l,e+2)))}let u=a.indexOf(`<a:bevelB`);if(u>=0){let e=a.indexOf(`/>`,u);e>=0&&(c.bevelBottom=RO(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=wO(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=wO(a.slice(t+14,e));n&&(c.contourColor=n)}}}return c}function RO(e){let t=zO(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 zO(e){let t={},n=0,r=e.length;for(;n<r;){for(;n<r&&!BO(e.charCodeAt(n));)n++;if(n>=r)break;let i=n;for(;n<r&&BO(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 BO(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===95}function VO(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 HO(e){return(xO(e)?OO(e):e).fill}function UO(e){return(xO(e)?OO(e):e).line}function WO(e){let t=bO(e);if(!t)return e;let n={},r=VO(t,`a:defRPr`,`sz`)??VO(t,`a:rPr`,`sz`);r&&(n.size=parseInt(r,10));let i=VO(t,`a:defRPr`,`b`)??VO(t,`a:rPr`,`b`);i&&(n.bold=i===`1`||i===`true`);let a=VO(t,`a:defRPr`,`i`)??VO(t,`a:rPr`,`i`);a&&(n.italic=a===`1`||a===`true`);let o=VO(t,`a:defRPr`,`u`)??VO(t,`a:rPr`,`u`);o&&(n.underline=o);let s=VO(t,`a:defRPr`,`strike`)??VO(t,`a:rPr`,`strike`);s&&(n.strike=s);let c=VO(t,`a:defRPr`,`cap`)??VO(t,`a:rPr`,`cap`);c&&(n.cap=c);let l=VO(t,`a:defRPr`,`baseline`)??VO(t,`a:rPr`,`baseline`);l&&(n.baseline=parseInt(l,10));let u=VO(t,`a:defRPr`,`kern`)??VO(t,`a:rPr`,`kern`);u&&(n.kern=parseInt(u,10));let d=VO(t,`a:defRPr`,`spc`)??VO(t,`a:rPr`,`spc`);d&&(n.spacing=parseInt(d,10));let f=VO(t,`a:defRPr`,`lang`)??VO(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 wO(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 _=VO(t,`a:bodyPr`,`rot`);return _&&(n.rotation=parseInt(_,10)),n}function GO(e){let t=xO(e)?WO(e):e;return t.size===void 0?void 0:t.size/100}var KO,qO,JO,YO,XO,ZO=n((()=>{KO=/<a:srgbClr\s+val="([0-9A-Fa-f]{6})"/i,qO=/<a:schemeClr\s+val="([^"]+)"/i,JO={"a:outerShdw":/<a:outerShdw\s+([^>]*)>([\s\S]*?)<\/a:outerShdw>/,"a:innerShdw":/<a:innerShdw\s+([^>]*)>([\s\S]*?)<\/a:innerShdw>/},YO=/<a:sysClr\s+val="([^"]+)"/i,XO=/<a:prstClr\s+val="([^"]+)"/i}));function QO(e){return typeof e==`object`&&`nativeCol`in e&&`nativeRow`in e&&`nativeColOff`in e&&`nativeRowOff`in e}function $O(e){return typeof e==`object`&&`col`in e&&`row`in e}function ek(e){let t=e.worksheet?._columns[e.nativeCol];return t&&$T(t)?Math.floor(t.width*1e4):64e4}function tk(e){let t=e.worksheet?._rows[e.nativeRow]?.height;return t?Math.floor(t*1e4):18e4}function nk(e){return e.nativeColOff===0?e.nativeCol:e.nativeCol+Math.min(ek(e)-1,e.nativeColOff)/ek(e)}function rk(e,t){e.nativeCol=Math.floor(t);let n=t-e.nativeCol;e.nativeColOff=n===0?0:Math.floor(n*ek(e))}function ik(e){return e.nativeRowOff===0?e.nativeRow:e.nativeRow+Math.min(tk(e)-1,e.nativeRowOff)/tk(e)}function ak(e,t){e.nativeRow=Math.floor(t);let n=t-e.nativeRow;e.nativeRowOff=n===0?0:Math.floor(n*tk(e))}function ok(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=wS.decodeAddress(t);r.nativeCol=e.col+n,r.nativeRow=e.row+n}else QO(t)?(r.nativeCol=t.nativeCol??0,r.nativeColOff=t.nativeColOff??0,r.nativeRow=t.nativeRow??0,r.nativeRowOff=t.nativeRowOff??0):$O(t)&&(rk(r,t.col+n),ak(r,t.row+n));return r}function sk(e){return{nativeCol:e.nativeCol,nativeColOff:e.nativeColOff,nativeRow:e.nativeRow,nativeRowOff:e.nativeRowOff}}var ck=n((()=>{sE(),TS()}));function lk(e){if(!(e.chartNumber<=0))return AE(vE(e.worksheet),e.chartNumber)?.model}function uk(e){if(!(e.chartExNumber<=0))return jE(vE(e.worksheet),e.chartExNumber)?.model}var dk=n((()=>{PE(),wE()}));function Z(e){return Rm(e)??pk}function fk(e,t){return{...Z(e),a:t}}var pk,mk=n((()=>{Km(),pk={r:0,g:0,b:0,a:1}}));function hk(e,t){for(let n of e.children)gk(n,XE,t)}function gk(e,t,n){switch(e.kind){case`group`:{let r=e.transform?VE(t,e.transform):t,i=e.clip?_k(e.clip,r):void 0,a=i!==void 0&&n.pushClip!==void 0;a&&n.pushClip(i);let o=e.svgFilterId!==void 0&&n.pushFilter!==void 0;o&&n.pushFilter(e.svgFilterId);for(let t of e.children)gk(t,r,n);o&&n.popFilter?.(),a&&n.popClip?.();return}case`rect`:{if(e.width<=0||e.height<=0)return;let r=bk(e.paint,t);if(vk(t)){let i=HE(t,e.x,e.y),a=HE(t,e.x+e.width,e.y+e.height);n.rect(Math.min(i.x,a.x),Math.min(i.y,a.y),Math.abs(a.x-i.x),Math.abs(a.y-i.y),(e.rx??0)*UE(t),r);return}n.polyline([HE(t,e.x,e.y),HE(t,e.x+e.width,e.y),HE(t,e.x+e.width,e.y+e.height),HE(t,e.x,e.y+e.height)],!0,r);return}case`ellipse`:{if(e.rx<=0||e.ry<=0)return;let r=bk(e.paint,t);if(vk(t)){let i=HE(t,e.cx,e.cy);n.ellipse(i.x,i.y,Math.abs(e.rx*t.a),Math.abs(e.ry*t.d),r);return}n.path(Sk(e.cx,e.cy,e.rx,e.ry,t),r);return}case`sector`:{let r=bk(e.paint,t);if(!yk(t)){n.path(xk(KE(e.cx,e.cy,e.radius,e.innerRadius,e.startAngle,e.endAngle),t),r);return}let i=HE(t,e.cx,e.cy),a=UE(t),o=WE(t)*Math.PI/180;n.sector(i.x,i.y,e.radius*a,e.innerRadius*a,e.startAngle+o,e.endAngle+o,r);return}case`line`:{let r=HE(t,e.x1,e.y1),i=HE(t,e.x2,e.y2);n.polyline([r,i],!1,bk(e.paint,t));return}case`polyline`:n.polyline(e.points.map(e=>HE(t,e.x,e.y)),e.closed??!1,bk(e.paint,t));return;case`path`:n.path(xk(e.commands,t),bk(e.paint,t));return;case`text`:{let r=HE(t,e.x,e.y),i=UE(t);n.text(r.x,r.y,e.lines.map(n=>({text:n.text,dy:n.dy*i,...n.x===void 0?{}:{x:HE(t,n.x,e.y).x}})),{...e.style,size:e.style.size*i},(e.rotate??0)+WE(t));return}}}function _k(e,t){let n=[HE(t,e.x,e.y),HE(t,e.x+e.width,e.y),HE(t,e.x+e.width,e.y+e.height),HE(t,e.x,e.y+e.height)],r=n[0].x,i=n[0].x,a=n[0].y,o=n[0].y;for(let e of n)r=Math.min(r,e.x),i=Math.max(i,e.x),a=Math.min(a,e.y),o=Math.max(o,e.y);return{x:r,y:a,width:i-r,height:o-a}}function vk(e){return Math.abs(e.b)<1e-9&&Math.abs(e.c)<1e-9}function yk(e){if(e.a*e.d-e.b*e.c<=0)return!1;let t=e.a*e.a+e.b*e.b,n=e.c*e.c+e.d*e.d,r=1e-9*Math.max(1,t,n);return Math.abs(t-n)<r&&Math.abs(e.a*e.c+e.b*e.d)<r}function bk(e,t){if(e.stroke!==void 0&&e.strokeWidth!==void 0&&!(e.strokeWidth>0)){let{stroke:t,strokeWidth:n,dash:r,...i}=e;return i}let n=UE(t),r=e.dash===void 0||e.dash.length===0?void 0:e.dash.length%2==0?e.dash:[...e.dash,...e.dash];return n===1&&r===e.dash?e:{...e,...e.strokeWidth===void 0?{}:{strokeWidth:e.strokeWidth*n},...r===void 0?{}:{dash:r.map(e=>e*n)}}}function xk(e,t){return e.map(e=>{switch(e.op){case`move`:case`line`:{let n=HE(t,e.x,e.y);return{op:e.op,x:n.x,y:n.y}}case`cubic`:{let n=HE(t,e.x1,e.y1),r=HE(t,e.x2,e.y2),i=HE(t,e.x,e.y);return{op:`cubic`,x1:n.x,y1:n.y,x2:r.x,y2:r.y,x:i.x,y:i.y}}case`close`:return e}})}function Sk(e,t,n,r,i){let a=n*ZE,o=r*ZE,s=(e,t)=>HE(i,e,t),c=s(e+n,t),l=[{op:`move`,x:c.x,y:c.y}],u=(e,t,n,r,i,a)=>{let o=s(e,t),c=s(n,r),u=s(i,a);l.push({op:`cubic`,x1:o.x,y1:o.y,x2:c.x,y2:c.y,x:u.x,y:u.y})};return u(e+n,t+o,e+a,t+r,e,t+r),u(e-a,t+r,e-n,t+o,e-n,t),u(e-n,t-o,e-a,t-r,e,t-r),u(e+a,t-r,e+n,t-o,e+n,t),l.push({op:`close`}),l}var Ck=n((()=>{QE()}));function wk(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`)}function Tk(e){return wk(e).replace(/"/g,`"`).replace(/'/g,`'`)}var Ek=n((()=>{}));function Dk(e,t={}){let n=new Ak;e.svgDefs&&e.svgDefs.length>0&&n.addDefs(e.svgDefs),hk(e,n);let r=t.width??e.width,i=t.height??e.height,a=[`<svg xmlns="http://www.w3.org/2000/svg" width="${Q(r)}" height="${Q(i)}" viewBox="0 0 ${Q(e.width)} ${Q(e.height)}">`];return t.comment!==void 0&&a.push(`<!-- ${t.comment.replace(/-{2,}/g,`-`)} -->`),t.background!==void 0&&a.push(`<rect x="0" y="0" width="${Q(e.width)}" height="${Q(e.height)}" fill="${Tk(t.background)}"/>`),a.push(n.markup()),a.push(`</svg>`),a.join(``)}function Q(e){if(!Number.isFinite(e))return`0`;let t=Math.round(e*100)/100;return Object.is(t,-0)?`0`:String(t)}function Ok(e){let t=e=>Math.max(0,Math.min(255,Math.round(e*255))).toString(16).padStart(2,`0`);return`#${t(e.r)}${t(e.g)}${t(e.b)}`}function kk(e,t=!1){let n=[];return e.fill&&!t?(n.push(` fill="${Ok(e.fill)}"`),e.fill.a<1&&n.push(` fill-opacity="${Q(e.fill.a)}"`)):n.push(` fill="none"`),e.stroke&&(n.push(` stroke="${Ok(e.stroke)}"`),e.stroke.a<1&&n.push(` stroke-opacity="${Q(e.stroke.a)}"`),e.strokeWidth!==void 0&&e.strokeWidth!==1&&n.push(` stroke-width="${Q(e.strokeWidth)}"`),e.dash&&e.dash.length>0&&n.push(` stroke-dasharray="${e.dash.map(Q).join(` `)}"`),e.lineJoin!==void 0&&e.lineJoin!==`miter`&&n.push(` stroke-linejoin="${e.lineJoin}"`),e.lineCap!==void 0&&e.lineCap!==`butt`&&n.push(` stroke-linecap="${e.lineCap}"`)),e.fillRule===`evenodd`&&n.push(` fill-rule="evenodd"`),n.join(``)}var Ak,jk=n((()=>{Ek(),Ck(),QE(),Ak=class{constructor(){this.parts=[],this.defs=[],this.clipDepth=0,this.filterDepth=0}markup(){let e=`</g>`.repeat(this.clipDepth+this.filterDepth);return(this.defs.length>0?`<defs>${this.defs.join(``)}</defs>`:``)+this.parts.join(``)+e}pushClip(e){let t=`dc${this.defs.length}`;this.defs.push(`<clipPath id="${t}"><rect x="${Q(e.x)}" y="${Q(e.y)}" width="${Q(e.width)}" height="${Q(e.height)}"/></clipPath>`),this.parts.push(`<g clip-path="url(#${t})">`),this.clipDepth++}popClip(){this.clipDepth>0&&(this.parts.push(`</g>`),this.clipDepth--)}pushFilter(e){this.parts.push(`<g filter="url(#${Tk(e)})">`),this.filterDepth++}popFilter(){this.filterDepth>0&&(this.parts.push(`</g>`),this.filterDepth--)}addDefs(e){this.defs.push(...e)}rect(e,t,n,r,i,a){n<=0||r<=0||this.parts.push(`<rect x="${Q(e)}" y="${Q(t)}" width="${Q(n)}" height="${Q(r)}"`+(i>0?` rx="${Q(i)}"`:``)+kk(a)+`/>`)}ellipse(e,t,n,r,i){n<=0||r<=0||this.parts.push(n===r?`<circle cx="${Q(e)}" cy="${Q(t)}" r="${Q(n)}"${kk(i)}/>`:`<ellipse cx="${Q(e)}" cy="${Q(t)}" rx="${Q(n)}" ry="${Q(r)}"${kk(i)}/>`)}sector(e,t,n,r,i,a,o){if(n<=0)return;let s=a-i,c=Math.abs(s);if(c>=Math.PI*2-1e-9){if(r>0){let i=(n,r)=>`A ${Q(n)} ${Q(n)} 0 1 ${r} ${Q(e+n)} ${Q(t)} A ${Q(n)} ${Q(n)} 0 1 ${r} ${Q(e-n)} ${Q(t)}`;this.parts.push(`<path d="M ${Q(e-n)} ${Q(t)} ${i(n,1)} M ${Q(e-r)} ${Q(t)} ${i(r,0)} Z"`+kk({...o,fillRule:`evenodd`})+`/>`);return}this.parts.push(`<circle cx="${Q(e)}" cy="${Q(t)}" r="${Q(n)}"${kk(o)}/>`);return}let l=+(c>Math.PI),u=+(s>=0),d=(n,r)=>({x:e+Math.cos(n)*r,y:t+Math.sin(n)*r}),f=d(i,n),p=d(a,n);if(r>0){let e=d(a,r),t=d(i,r);this.parts.push(`<path d="M ${Q(f.x)} ${Q(f.y)} A ${Q(n)} ${Q(n)} 0 ${l} ${u} ${Q(p.x)} ${Q(p.y)} L ${Q(e.x)} ${Q(e.y)} A ${Q(r)} ${Q(r)} 0 ${l} ${u===1?0:1} ${Q(t.x)} ${Q(t.y)} Z"`+kk(o)+`/>`);return}this.parts.push(`<path d="M ${Q(e)} ${Q(t)} L ${Q(f.x)} ${Q(f.y)} A ${Q(n)} ${Q(n)} 0 ${l} ${u} ${Q(p.x)} ${Q(p.y)} Z"`+kk(o)+`/>`)}polyline(e,t,n){if(e.length<2)return;let r=e.map(e=>`${Q(e.x)},${Q(e.y)}`).join(` `);this.parts.push(`<${t?`polygon`:`polyline`} points="${r}"${kk(n,!t)}/>`)}path(e,t){if(e.length===0)return;let n=e.map(e=>{switch(e.op){case`move`:return`M ${Q(e.x)} ${Q(e.y)}`;case`line`:return`L ${Q(e.x)} ${Q(e.y)}`;case`cubic`:return`C ${Q(e.x1)} ${Q(e.y1)} ${Q(e.x2)} ${Q(e.y2)} ${Q(e.x)} ${Q(e.y)}`;case`close`:return`Z`}}).join(` `);this.parts.push(`<path d="${n}"${kk(t)}/>`)}text(e,t,n,r,i){let a=n.filter(e=>e.text!==``);if(a.length===0||!r.fill)return;let o=` font-size="${Q(r.size)}" fill="${Ok(r.fill)}"`+(r.fill.a<1?` fill-opacity="${Q(r.fill.a)}"`:``)+` text-anchor="${r.anchor??`start`}" font-family="${Tk(r.family??`arial`)}"`+(r.bold?` font-weight="bold"`:``)+(r.italic?` font-style="italic"`:``)+(i===0?``:` transform="rotate(${Q(i)} ${Q(e)} ${Q(t)})"`);if(a.length===1&&a[0].dy===0&&a[0].x===void 0){this.parts.push(`<text x="${Q(e)}" y="${Q(t)}"${o}>${wk(a[0].text)}</text>`);return}let s=a.map(n=>`<tspan x="${Q(n.x??e)}" y="${Q(t+n.dy)}">${wk(n.text)}</tspan>`).join(``);this.parts.push(`<text x="${Q(e)}" y="${Q(t)}"${o}>${s}</text>`)}}}));function Mk(e){return{fill:Z(e)}}function Nk(e){return{fill:Z(e),stroke:Z(eA),strokeWidth:1}}function Pk(e,t=1){return{stroke:Z(e),strokeWidth:t}}function Fk(e,t,n,r,i){return{kind:`polyline`,points:[{x:e,y:t},{x:n,y:r}],paint:i}}function Ik(e,t,n,r,i,a){return{kind:`text`,x:e,y:t,lines:[{text:n,dy:0}],style:{size:r,fill:Z(i),anchor:a,family:`Arial`}}}function Lk(e,t){return{kind:`polyline`,points:e,closed:!0,paint:t}}function Rk(e,t){let n=[];for(let r=1;r<5;r++){let i=r/5,a=e.y+e.height*i;n.push(Fk(e.x,a,e.x+e.width,a,Pk(Zk)));let o=t.max+(t.min-t.max)*i;n.push(Ik(e.x-8,a+3,eO(o),10,$k,`end`))}n.push(Fk(e.x,e.y+e.height,e.x+e.width,e.y+e.height,Pk(Qk))),n.push(Fk(e.x,e.y,e.x,e.y+e.height,Pk(Qk)));for(let r of[t.max,t.min])n.push(Ik(e.x-8,XD(r,t.min,t.max,e)+3,eO(r),10,$k,`end`));return n}function zk(e,t,n,r,i){let a=[...Rk(n,i)],o=Math.max(1,e.length),s=n.width/o,c=XD(0,i.min,i.max,n);return e.forEach((e,o)=>{let l=XD(e,i.min,i.max,n);a.push(YE({x:n.x+o*s+s*.18,y:Math.min(l,c),width:s*.64,height:Math.abs(c-l)},Mk(r))),a.push(Ik(n.x+o*s+s/2,n.y+n.height+18,t[o]??String(o+1),10,$k,`middle`))}),a}function Bk(e){let t=[];for(let n of e)t.push(YE(n.rect,Nk(n.color))),n.label&&t.push(Ik(n.rect.x+4,n.rect.y+14,n.label,10,eA,`start`));return t}function Vk(e,t,n,r,i,a,o){return{kind:`sector`,cx:e,cy:t,radius:n,innerRadius:r,startAngle:i,endAngle:a,paint:Nk(o)}}function Hk(e){return e.map(e=>Vk(e.cx,e.cy,e.outer,e.inner,e.start,e.end,e.color))}function Uk(e,t,n,r){let i=e.reduce((e,t)=>Number.isFinite(t)?Math.max(e,Math.abs(t)):e,0),a=i>0?i:1,o=Math.max(1,e.length),s=t.height/o,c=[];return e.forEach((i,o)=>{let l=Number.isFinite(i)?Math.abs(i):0,u=e[o+1],d=Number.isFinite(u)?Math.abs(u):l,f=l/a*t.width,p=d/a*t.width,m=t.y+o*s,h=t.x+t.width/2;c.push(Lk([{x:h-f/2,y:m},{x:h+f/2,y:m},{x:h+p/2,y:m+s*.88},{x:h-p/2,y:m+s*.88}],Nk(n(o))));let g=r(o,i);g!==void 0&&c.push(Ik(h,m+s*.55,g,11,eA,`middle`))}),c}function Wk(e){return fO[e%fO.length]}function Gk(e,t,n,r){let i=[...Rk(n,r)],a=Math.max(1,e.length),o=n.width/a,s=o*.64;return e.forEach((e,a)=>{let c=XD(e.start,r.min,r.max,n),l=XD(e.end,r.min,r.max,n),u=n.x+a*o+o*.18,d=e.gap?0:Math.max(1,Math.abs(c-l));i.push(YE({x:u,y:Math.min(c,l),width:s,height:d},Mk(e.colour))),i.push(Ik(n.x+a*o+o/2,n.y+n.height+18,t[a]??String(a+1),10,$k,`middle`))}),i}function Kk(e,t,n){let r=Math.max(1,e.length),i=t.width/r,a=i*.64,o=e.map((e,r)=>({x:t.x+r*i+i*.18+a,y:XD(e.end,n.min,n.max,t)})),s=[];for(let e=0;e<o.length-1;e++)s.push(Fk(o[e].x,o[e].y,o[e+1].x-a,o[e].y,{stroke:Z(`#888`),strokeWidth:1,dash:[3,3]}));return s}function qk(e,t){let n=e.reduce((e,t)=>e+(Number.isFinite(t)?Math.max(0,t):0),0);if(!(n>0))return[];let r=Math.max(1,e.length),i=t.width/r,a=0,o=e.map((e,r)=>(a+=Number.isFinite(e)?Math.max(0,e):0,{x:t.x+r*i+i/2,y:t.y+t.height-a/n*t.height})),s=Wk(1);return[{kind:`polyline`,points:o,paint:Pk(s,2)},...o.map(e=>({kind:`ellipse`,cx:e.x,cy:e.y,rx:3,ry:3,paint:Mk(s)})),Ik(t.x+t.width-4,t.y+12,`Cumulative %`,10,s,`end`)]}function Jk(e,t,n,r){let i=[...Rk(t,n)],a=t.width/Math.max(1,e.length),o=e=>XD(e,n.min,n.max,t);return e.forEach(({key:e,stats:n},s)=>{let c=t.x+s*a+a/2,l=a*.38,u=Wk(s),d=o(n.q1),f=o(n.q3);i.push(Fk(c,o(n.high),c,o(n.low),Pk($k))),i.push(YE({x:c-l/2,y:Math.min(d,f),width:l,height:Math.abs(f-d)},{fill:fk(u,.35),stroke:Z(u),strokeWidth:1}));let p=o(n.median);if(i.push(Fk(c-l/2,p,c+l/2,p,Pk(`#333`))),r.showMeanMarker&&i.push({kind:`ellipse`,cx:c,cy:o(n.mean),rx:3,ry:3,paint:Mk(`#333`)}),r.showMeanLine){let e=o(n.mean);i.push(Fk(c-l/2,e,c+l/2,e,{stroke:Z(`#333`),strokeWidth:1,dash:[3,2]}))}if(r.showInnerPoints)for(let e of n.nonOutliers)i.push({kind:`ellipse`,cx:c-l*.62,cy:o(e),rx:1.6,ry:1.6,paint:{fill:fk(u,.55)}});if(r.showOutlierPoints)for(let e of n.outliers)i.push({kind:`ellipse`,cx:c+l*.62,cy:o(e),rx:2,ry:2,paint:Pk(`#333`)});i.push(Ik(c,t.y+t.height+18,e,10,$k,`middle`))}),i}function Yk(e,t,n){return Array.from({length:6},(r,i)=>{let a=Math.PI/6+Math.PI*2*i/6;return{x:e+Math.cos(a)*n,y:t+Math.sin(a)*n}})}function Xk(e,t,n,r,i,a,o){return{kind:`text`,x:e,y:t,lines:n.map((e,t)=>({text:e,dy:t*o})),style:{size:r,fill:Z(i),anchor:a,family:`Arial`}}}var Zk,Qk,$k,eA,tA=n((()=>{mk(),QE(),yO(),Zk=`#D9D9D9`,Qk=`#444`,$k=`#555`,eA=`#fff`}));function nA(e){if(e)return e.a>=1?{r:e.r,g:e.g,b:e.b}:{r:e.r,g:e.g,b:e.b,a:e.a}}function rA(e,t){return{...e.fill?{fill:nA(e.fill)}:{},...e.stroke?{stroke:nA(e.stroke)}:{},...e.strokeWidth===void 0?{}:{lineWidth:e.strokeWidth},...e.dash&&e.dash.length>0?{dashPattern:[...e.dash]}:{},...t===void 0?{}:{closePath:t}}}function iA(e){return{...e.fill?{fill:nA(e.fill)}:{},...e.stroke?{stroke:nA(e.stroke)}:{},...e.strokeWidth===void 0?{}:{lineWidth:e.strokeWidth}}}function aA(e,t,n,r,i=!0){let a=e=>t+e,o=e=>i?n+r-e:n+e,s=e=>({x:a(e.x),y:o(e.y)}),c=(t,n,r,i=!1)=>{if(t.length<2)return;let a=t.map(s);if(e.drawPath){let t=a.map((e,t)=>t===0?{op:`move`,x:e.x,y:e.y}:{op:`line`,x:e.x,y:e.y});n&&t.push({op:`close`}),e.drawPath(t,rA(r,n));return}if(i&&n&&r.fill){let t=a.map(e=>e.x),n=a.map(e=>e.y),i=Math.min(...t),o=Math.min(...n);e.drawRect({x:i,y:o,width:Math.max(...t)-i,height:Math.max(...n)-o,fill:nA(r.fill)})}let o=r.stroke??r.fill;if(!o)return;let c=n?[...a,a[0]]:a;for(let t=1;t<c.length;t++)e.drawLine({x1:c[t-1].x,y1:c[t-1].y,x2:c[t].x,y2:c[t].y,color:nA(o),...r.strokeWidth===void 0?{}:{lineWidth:r.strokeWidth},...r.dash&&r.dash.length>0?{dashPattern:[...r.dash]}:{}})};return{rect(t,n,r,s,c,l){if(c>0&&e.drawPath){e.drawPath(JE(t,n,r,s,c).map(e=>oA(e,a,o)),rA(l));return}e.drawRect({x:a(t),y:o(i?n+s:n),width:r,height:s,...iA(l)})},ellipse(t,n,r,i,c){if(e.drawCircle&&Math.abs(r-i)<1e-9){e.drawCircle({cx:a(t),cy:o(n),r,...iA(c)});return}let l=s({x:t-r,y:n-i}),u=s({x:t+r,y:n+i});e.drawRect({x:Math.min(l.x,u.x),y:Math.min(l.y,u.y),width:Math.abs(u.x-l.x),height:Math.abs(u.y-l.y),...iA(c)})},sector(t,n,r,i,s,l,u){if(r<=0)return;if(e.drawPath){let c=KE(t,n,r,i,s,l);e.drawPath(c.map(e=>oA(e,a,o)),rA(u));return}let d=l-s,f=[];for(let e=0;e<=sA;e++){let i=s+d*e/sA;f.push({x:t+r*Math.cos(i),y:n+r*Math.sin(i)})}if(i>0)for(let e=sA;e>=0;e--){let r=s+d*e/sA;f.push({x:t+i*Math.cos(r),y:n+i*Math.sin(r)})}else f.push({x:t,y:n});c(f,!0,u)},polyline(t,n,r){if(!n&&t.length===2&&!r.fill){if(!r.stroke)return;let n=s(t[0]),i=s(t[1]);e.drawLine({x1:n.x,y1:n.y,x2:i.x,y2:i.y,color:nA(r.stroke),...r.strokeWidth===void 0?{}:{lineWidth:r.strokeWidth},...r.dash&&r.dash.length>0?{dashPattern:[...r.dash]}:{}});return}c(t,n,r,!0)},path(t,n){if(e.drawPath){e.drawPath(t.map(e=>oA(e,a,o)),rA(n));return}for(let e of qE(t))c(e.points,e.closed,n,!0)},text(t,n,r,s,c){if(!s.fill)return;let l=nA(s.fill);for(let u of r){if(u.text===``)continue;let r=(i?-c:c)*Math.PI/180,d=(u.x??t)+Math.sin(r)*u.dy,f=n+Math.cos(r)*u.dy;e.drawText(u.text,{x:a(d),y:o(f),fontSize:s.size,color:l,anchor:s.anchor??`start`,...c===0?{}:{rotation:i?-c:c},...s.family===void 0?{}:{fontFamily:s.family},...s.bold?{bold:!0}:{},...s.italic?{italic:!0}:{}})}}}}function oA(e,t,n){switch(e.op){case`move`:return{op:`move`,x:t(e.x),y:n(e.y)};case`line`:return{op:`line`,x:t(e.x),y:n(e.y)};case`cubic`:return{op:`curve`,x1:t(e.x1),y1:n(e.y1),x2:t(e.x2),y2:n(e.y2),x3:t(e.x),y3:n(e.y)};case`close`:return{op:`close`}}}var sA,cA=n((()=>{QE(),sA=48}));function lA(e,t,n,r={}){if(!Number.isInteger(t)||!Number.isInteger(n)||t<=0||n<=0)throw Error(`PNG dimensions must be positive integers, got ${t}x${n}`);let i=t*n*4;if(e.length!==i)throw Error(`PNG pixel buffer is ${e.length} bytes but ${t}x${n} RGBA needs ${i}`);let a=[hA,dA(`IHDR`,pe([fA(t),fA(n),new Uint8Array([8,6,0,0,0])]))];if(r.dpi!==void 0&&Number.isFinite(r.dpi)&&r.dpi>0){let e=Math.max(1,Math.round(r.dpi/_A));a.push(dA(`pHYs`,pe([fA(e),fA(e),new Uint8Array([1])])))}return a.push(dA(`IDAT`,Xe(uA(e,t,n),{level:gA}))),a.push(dA(`IEND`,/* @__PURE__ */ new Uint8Array)),pe(a)}function uA(e,t,n){let r=t*4,i=r+1,a=new Uint8Array(i*n);for(let t=0;t<n;t++){let n=t*r,o=t*i;a[o]=0,a.set(e.subarray(n,n+r),o+1)}return a}function dA(e,t){let n=me.encode(e),r=pe([n,t]);return pe([fA(t.length),n,t,fA(le(r))])}function fA(e){return new Uint8Array([e>>>24&255,e>>>16&255,e>>>8&255,e&255])}function pA(e,t){if(t===void 0||!Number.isFinite(t)||t<=0||e.length<8||!hA.every((t,n)=>e[n]===t))return e;let n=Math.max(1,Math.round(t/_A)),r=dA(`pHYs`,pe([fA(n),fA(n),new Uint8Array([1])])),i=[hA],a=[],o=8,s=!1,c=!1,l=!1;for(;o+12<=e.length;){let t=mA(e,o),n=o+12+t;if(n>e.length)return e;let u=String.fromCharCode(e[o+4],e[o+5],e[o+6],e[o+7]);u===`IHDR`?c=!0:u===`IEND`&&(l=!0);let d=e.subarray(o,n);if(u===`pHYs`){o=n;continue}!s&&u!==`IHDR`&&(i.push(r),s=!0),(s?a:i).push(d),o=n}if(!c||!l)return e;let u=e.subarray(o);return s||i.push(r),pe([...i,...a,u])}function mA(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}var hA,gA,_A,vA=n((()=>{Qe(),fe(),he(),hA=new Uint8Array([137,80,78,71,13,10,26,10]),gA=6,_A=.0254}));function yA(e,t){return e.hasGlyph===void 0?e.getOutline(t)!==void 0:e.hasGlyph(t)}function bA(e,t){return e[t]<<8|e[t+1]}function xA(e,t){let n=e[t]<<8|e[t+1];return n>=32768?n-65536:n}function SA(e,t,n){let r=t+10,i=[];for(let t=0;t<n;t++)i.push(bA(e,r)),r+=2;let a=i[i.length-1]+1,o=bA(e,r);r+=2+o;let s=[];for(;s.length<a;){let t=e[r++];if(s.push(t),t&LA){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&FA){let t=e[r++];l+=n&RA?t:-t}else n&RA||(l+=xA(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&IA){let t=e[r++];d+=n&zA?t:-t}else n&zA||(d+=xA(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]&PA)});f.push(n),p=t+1}return f}function CA(e,t,n,r,i=0){if(i>BA)return t;let a=t;for(let o of sr(e,n+r[t],n+r[t+1]))o.flags&512&&(a=CA(e,o.glyphId,n,r,i+1));return a}function wA(e,t,n,r,i,a){let o=[];for(let s of sr(e,t,n)){let[t,n,c,l]=s.transform,u=TA(e,s.glyphId,r,i,a+1);for(let e of u)o.push(e.map(e=>({x:t*e.x+c*e.y+s.dx,y:n*e.x+l*e.y+s.dy,onCurve:e.onCurve})))}return o}function TA(e,t,n,r,i=0){let a=r[t],o=r[t+1];if(o-a<10||i>BA)return[];let s=n+a,c=xA(e,s);return c>=0?SA(e,s,c):wA(e,s,n+o,n,r,i)}function EA(e,t=0){try{return OA(Gn(e,DA(e,t)))}catch{return NA}}function DA(e,t){if(!Number.isInteger(t)||t<0)return 0;try{return t<Kn(e)?t:0}catch{return 0}}function OA(e){let t=e.tables.get(`glyf`).offset,{data:n,cmap:r,advanceWidths:i,leftSideBearings:a,glyphOffsets:o}=e;function s(e){let s=r.get(e);if(s===void 0||s===0)return;let c=CA(n,s,t,o),l=i[c],u=TA(n,s,t,o);if(u.length===0)return{contours:u,advanceWidth:l};let d=a[c]-xA(n,t+o[c]+2);return{contours:d===0?u:u.map(e=>e.map(e=>({...e,x:e.x+d}))),advanceWidth:l}}let c=/* @__PURE__ */ new Map;return{unitsPerEm:e.unitsPerEm,ascent:e.ascent,descent:e.descent,familyName:e.familyName,hasGlyph(e){let t=r.get(e);return t!==void 0&&t!==0},getOutline(e){return c.has(e)||c.set(e,s(e)),c.get(e)}}}function kA(e){return e.map(AA).filter(e=>e!==NA)}function AA(e){return jA(e)?EA(MA(e)):`data`in e?jA(e.data)?EA(MA(e.data),e.collectionIndex??0):NA:e}function jA(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.BYTES_PER_ELEMENT===1}function MA(e){return e instanceof Uint8Array?e:new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}var NA,PA,FA,IA,LA,RA,zA,BA,VA=n((()=>{br(),NA={unitsPerEm:1e3,ascent:800,descent:-200,familyName:``,hasGlyph:()=>!1,getOutline:()=>void 0},PA=1,FA=2,IA=4,LA=8,RA=16,zA=32,BA=5}));function HA(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},UA(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 UA(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 WA(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:/* @__PURE__ */ 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:/* @__PURE__ */ 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(...HA(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}}var GA=n((()=>{}));function KA(e,t,n){return t}var qA=n((()=>{}));function JA(e,t){return Fa(e,e=>t.some(t=>yA(t,e))).map(e=>e.visual).join(``)}function YA(e,t,n){let r=ej.get(e);r||(r=/* @__PURE__ */ new Map,ej.set(e,r));let i=r.get(t);return i||(i=WA(e,t,n),r.set(t,i)),i}function XA(e,t,n){return Math.max(t,Math.min(n,Math.round(e)))}function ZA(e){let t=Rm(e);if(t)return[Math.round(t.r*255),Math.round(t.g*255),Math.round(t.b*255),Math.round(t.a*255)]}var QA,$A,ej,tj,nj=n((()=>{VA(),GA(),to(),qA(),HD(),QE(),Sa(),Ki(),Km(),Ya(),QA=9,$A=.5,ej=/* @__PURE__ */ new WeakMap,tj=class{constructor(e,t){this.width=e,this.height=t,this.maskAlpha=0,this.maskX0=0,this.maskY0=0,this.maskX1=0,this.maskY1=0,this.clips=[],this.uncoveredCodePoints=/* @__PURE__ */ new Set,this.textFeatures=new xa,this.ownFonts=[],this.ownUseSystemFonts=!0,this.data=new Uint8Array(e*t*4)}fillRoundRect(e,t,n,r,i,a){let o=Math.min(i,n/2,r/2);if(!(o>0)){this.fillRect(e,t,n,r,a);return}this.fillRect(e,t+o,n,r-2*o,a);for(let i=0;i<o;i++){let s=o-Math.sqrt(Math.max(0,o*o-(o-i-.5)*(o-i-.5))),c=e+s,l=n-2*s;this.fillRect(c,t+i,l,1,a),this.fillRect(c,t+r-i-1,l,1,a)}}fillRect(e,t,n,r,i){let a=ZA(i);if(!a||n<=0||r<=0)return;let o=XA(Math.floor(e),0,this.width),s=XA(Math.floor(t),0,this.height),c=XA(Math.ceil(e+n),0,this.width),l=XA(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,r,i={}){if(e.length<2)return;if(r&&r.length>0){let a=0;for(let o=1;o<e.length;o++)a=this.drawDashedSegment(e[o-1],e[o],t,n,r,a,i.cap??`butt`);return}let a=n/2;if(a<=.5){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);return}let o=ZA(t);if(!o)return;let s=i.cap??`butt`;this.withCoverage(o,()=>{for(let n=1;n<e.length;n++)this.fillSegment(e[n-1],e[n],a,t,{start:n===1?s:`butt`,end:n===e.length-1?s:`butt`});let n=i.join??`miter`;for(let r=1;r<e.length-1;r++){if(n===`round`){this.fillEllipse(e[r].x,e[r].y,a,a,t);continue}this.fillJoinBevel(e[r-1],e[r],e[r+1],a,t),n===`miter`&&this.fillJoinMiter(e[r-1],e[r],e[r+1],a,t)}})}fillSegment(e,t,n,r,i){let a=t.x-e.x,o=t.y-e.y,s=Math.hypot(a,o);if(s===0){(i.start===`round`||i.end===`round`)&&this.fillEllipse(e.x,e.y,n,n,r);return}let c=a/s,l=o/s,u=-l*n,d=c*n,f=i.start===`square`?n:0,p=i.end===`square`?n:0,m=e.x-c*f,h=e.y-l*f,g=t.x+c*p,_=t.y+l*p;this.fillPolygon([{x:m+u,y:h+d},{x:g+u,y:_+d},{x:g-u,y:_-d},{x:m-u,y:h-d}],r),i.start===`round`&&this.fillEllipse(e.x,e.y,n,n,r),i.end===`round`&&this.fillEllipse(t.x,t.y,n,n,r)}fillJoinMiter(e,t,n,r,i){let a=(e,t)=>{let n=t.x-e.x,r=t.y-e.y,i=Math.hypot(n,r);return i===0?void 0:{x:n/i,y:r/i}},o=a(e,t),s=a(t,n);if(!o||!s)return;let c=o.x-s.x,l=o.y-s.y,u=Math.hypot(c,l);if(u<1e-9)return;let d=o.x*s.y-o.y*s.x,f=o.x*s.x+o.y*s.y,p=Math.cos(Math.atan2(Math.abs(d),f)/2);if(p<1e-9)return;let m=r/p;if(m/(r*2)>4)return;let h=t.x+c/u*m,g=t.y+l/u*m,_=(e,n)=>({x:t.x+-e.y*r*n,y:t.y+e.x*r*n});for(let e of[1,-1])this.fillPolygon([_(o,e),{x:h,y:g},_(s,e)],i)}fillJoinBevel(e,t,n,r,i){let a=(e,t)=>{let n=t.x-e.x,i=t.y-e.y,a=Math.hypot(n,i);return a===0?void 0:{x:-i/a*r,y:n/a*r}},o=a(e,t),s=a(t,n);if(o&&s)for(let e of[1,-1])this.fillPolygon([{x:t.x+o.x*e,y:t.y+o.y*e},{x:t.x+s.x*e,y:t.y+s.y*e},{x:t.x,y:t.y}],i)}drawDashedSegment(e,t,n,r,i,a,o=`butt`){let s=t.x-e.x,c=t.y-e.y,l=Math.hypot(s,c);if(l===0)return a;let u=i.reduce((e,t)=>e+t,0);if(u<=0)return this.drawLine(e.x,e.y,t.x,t.y,n,r),a;if(!ZA(n))return a;let d=s/l,f=c/l,p=a%u,m=0,h=0,g=i[0];for(;p>0;){let e=Math.min(p,g);g-=e,p-=e,g<=0&&(h=(h+1)%i.length,g=i[h])}let _=r/2;for(;m<l;){let t=Math.min(g,l-m);if(h%2==0&&t>0){let i={x:e.x+d*m,y:e.y+f*m},a={x:e.x+d*(m+t),y:e.y+f*(m+t)};_<=.5?this.drawLine(i.x,i.y,a.x,a.y,n,r):this.fillSegment(i,a,_,n,{start:o,end:o})}m+=t,g-=t,g<=0&&(h=(h+1)%i.length,g=i[h])}return a+l}drawLine(e,t,n,r,i,a=1){let o=ZA(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=ZA(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)}fillEllipse(e,t,n,r,i){let a=ZA(i);if(!a||n<=0||r<=0)return;let o=Math.floor(t-r),s=Math.ceil(t+r);for(let i=o;i<=s;i++){let o=(i-t)/r,s=o*o;if(s>1)continue;let c=n*Math.sqrt(1-s),l=Math.ceil(e-c),u=Math.floor(e+c);for(let e=l;e<=u;e++)this.setPixel(e,i,a)}}strokeEllipse(e,t,n,r,i,a=1,o,s={}){let c=[],l=Math.max(16,Math.ceil((n+r)*1.5));for(let i=0;i<=l;i++){let a=i/l*Math.PI*2;c.push({x:e+Math.cos(a)*n,y:t+Math.sin(a)*r})}this.drawPolyline(c,i,a,o,s)}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=ZA(o);if(!s||n<=0)return;let c=XA(Math.floor(e-n),0,this.width),l=XA(Math.ceil(e+n),0,this.width),u=XA(Math.floor(t-n),0,this.height),d=XA(Math.ceil(t+n),0,this.height),f=n*n,p=r*r,m=Math.abs(a-i)>=Math.PI*2-1e-9,h=i%(Math.PI*2);h<0&&(h+=Math.PI*2);let g=a%(Math.PI*2);g<0&&(g+=Math.PI*2);let _=g<h;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),(m||(_?o>=h||o<=g:o>=h&&o<=g))&&this.setPixel(t,n,s)}}}fillPolygon(e,t){this.fillRings([e],t,`nonzero`)}fillRings(e,t,n){let r=ZA(t);if(!r)return;let i=e.filter(e=>e.length>=3);if(i.length===0)return;let a=i[0][0].y,o=i[0][0].y;for(let e of i)for(let t of e)t.y<a&&(a=t.y),t.y>o&&(o=t.y);let s=XA(Math.floor(a),0,this.height-1),c=XA(Math.ceil(o),0,this.height-1);for(let e=s;e<=c;e++){let t=[];for(let n of i)for(let r=0,i=n.length-1;r<n.length;i=r++){let a=n[r],o=n[i];a.y>e!=o.y>e&&t.push({x:(o.x-a.x)*(e-a.y)/(o.y-a.y)+a.x,direction:o.y>a.y?1:-1})}if(t.length<2)continue;t.sort((e,t)=>e.x-t.x);let a=0;for(let i=0;i<t.length-1;i++){if(a+=n===`evenodd`?1:t[i].direction,!(n===`evenodd`?a%2!=0:a!==0))continue;let o=XA(Math.round(t[i].x),0,this.width),s=XA(Math.round(t[i+1].x),0,this.width);for(let t=o;t<s;t++)this.setPixel(t,e,r)}}}drawText(e,t,n,r,i,a,o,s={}){if(!n)return;this.textFeatures.note(n);let c=BD(n,{size:r,family:s.family??`arial`,...s.bold===void 0?{}:{bold:s.bold},...s.italic===void 0?{}:{italic:s.italic}}),l=c>0?c:Math.max(1,r*.5)*n.length,u=a===`middle`?e-l/2:a===`end`?e-l:e,d=this.fontChain(n,s),f=ha(n)||d.length===0?n:JA(n,d),p=!ga(n);if(d.length>0){let n=p?this.naturalWidth(d,f,r,/* @__PURE__ */ new Map):l,s=a===`middle`?e-n/2:a===`end`?e-n:e;this.drawTextWithFonts(d,s,t,f,r,p?void 0:l,i,o);return}this.drawTextStroke(u,t,f,r,l,i,o)}textWarnings(){return this.textFeatures.warnings(`This rasteriser`,{contextualForms:!0,visualOrder:!0})}setFonts(e,t={}){this.ownFonts=kA(e),this.ownUseSystemFonts=t.useSystemFonts??!0}fontChain(e,t){return KA(e,this.ownFonts,this.ownUseSystemFonts,t)}resolveGlyph(e,t,n){if(n.has(t))return n.get(t);let r;for(let n of e){if(!yA(n,t))continue;let e=n.getOutline(t);if(e){r={font:n,outline:e};break}}return n.set(t,r),r}missingAdvance(e,t){return ki(e)?0:Oi(e)?t:t*.5}naturalWidth(e,t,n,r){let i=0;for(let a of t){let t=a.codePointAt(0);if(Ai(t))continue;let o=this.resolveGlyph(e,t,r);i+=o?o.outline.advanceWidth*(n/o.font.unitsPerEm):this.missingAdvance(t,n)}return i}drawTextWithFonts(e,t,n,r,i,a,o,s){let c=ZA(o);if(!c)return;let l=/* @__PURE__ */ new Map,u=0;for(let t of r){let n=t.codePointAt(0);if(Ai(n))continue;let r=this.resolveGlyph(e,n,l);u+=r?r.outline.advanceWidth*(i/r.font.unitsPerEm):this.missingAdvance(n,i)}let d=a!==void 0&&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);if(Ai(r))continue;let a=this.resolveGlyph(e,r,l);if(!a){r!==QA&&this.uncoveredCodePoints.add(r),_+=this.missingAdvance(r,i)*d;continue}let{font:o,outline:s}=a,u=i/o.unitsPerEm,v=YA(s,i,o.unitsPerEm);if(v.pixels.length===0){_+=s.advanceWidth*u*d;continue}let y=_+v.offsetX,b=n+v.offsetY;for(let e=0;e<v.height;e++)for(let t=0;t<v.width;t++){let n=v.pixels[e*v.width+t];if(n>0){let r=y+t,i=b+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],Math.round(n*c[3]/255)];this.setPixel(Math.round(r),Math.round(i),a)}}_+=s.advanceWidth*u*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);if(Ai(t))continue;if(eo[t]===void 0&&t!==QA&&this.uncoveredCodePoints.add(t),t===QA){c+=$A;continue}let n=eo[t]??eo[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);if(Ai(n))continue;if(n===QA){i+=$A*r*l;continue}let o=eo[n]??eo[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);if(Ai(n))continue;if(n===QA){g+=$A*r*l;continue}let i=eo[n]??eo[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}}}pushClip(e,t,n,r){let i={x0:Math.floor(e),y0:Math.floor(t),x1:Math.ceil(e+n),y1:Math.ceil(t+r)},a=this.clips.at(-1);this.clips.push(a?{x0:Math.max(a.x0,i.x0),y0:Math.max(a.y0,i.y0),x1:Math.min(a.x1,i.x1),y1:Math.min(a.y1,i.y1)}:i)}popClip(){this.clips.pop()}withCoverage(e,t){if(e[3]<=0)return;this.mask??=new Uint8Array(this.width*this.height),this.maskAlpha=e[3],this.maskX0=this.width,this.maskY0=this.height,this.maskX1=0,this.maskY1=0;let n=this.mask;t(),this.mask=void 0;let r=e[3]/255;for(let t=this.maskY0;t<this.maskY1;t++)for(let i=this.maskX0;i<this.maskX1;i++){let a=t*this.width+i,o=n[a];o!==0&&(n[a]=0,this.setPixel(i,t,[e[0],e[1],e[2],Math.round(o*r)]))}}setPixel(e,t,n){if(e<0||t<0||e>=this.width||t>=this.height)return;let r=this.clips.at(-1);if(r&&(e<r.x0||t<r.y0||e>=r.x1||t>=r.y1))return;if(this.mask){let r=t*this.width+e,i=this.maskAlpha<=0?0:Math.min(255,Math.round(n[3]*255/this.maskAlpha));i>this.mask[r]&&(this.mask[r]=i),this.maskX0=Math.min(this.maskX0,e),this.maskY0=Math.min(this.maskY0,t),this.maskX1=Math.max(this.maskX1,e+1),this.maskY1=Math.max(this.maskY1,t+1);return}let i=(t*this.width+e)*4,a=n[3]/255;if(a<=0)return;let o=this.data[i+3]/255,s=a+o*(1-a);if(s<=0)return;let c=(e,t)=>Math.round((e*a+t*o*(1-a))/s);this.data[i]=c(n[0],this.data[i]),this.data[i+1]=c(n[1],this.data[i+1]),this.data[i+2]=c(n[2],this.data[i+2]),this.data[i+3]=Math.round(s*255)}}}));function rj(e,t={}){let n=Math.max(1,Math.round(t.width??e.width)),r=Math.max(1,Math.round(t.height??e.height)),i=dj(t.scale),a=Math.min(n/e.width,r/e.height),o=Math.max(1,Math.round(n*i)),s=Math.max(1,Math.round(r*i));if(o*s>pj)throw Error(`raster output ${o}x${s} is ${Math.round(o*s/1e6)}M pixels, over the ${Math.round(pj/1e6)}M limit — reduce width/height or scale`);let c=aj(t.samples,o,s),l=new tj(o*c,s*c);return t.background&&l.fillRect(0,0,o*c,s*c,uj(t.background)),l.setFonts(t.fonts??[],{useSystemFonts:t.useSystemFonts??!0}),hk(e,oj(l,a*i*c)),{width:o,height:s,data:c===1?l.data:ij(l.data,o,s,c),uncoveredCodePoints:[...l.uncoveredCodePoints].sort((e,t)=>e-t),textWarnings:l.textWarnings()}}function ij(e,t,n,r){let i=new Uint8Array(t*n*4),a=t*r,o=r*r;for(let s=0;s<n;s++)for(let n=0;n<t;n++){let c=0,l=0,u=0,d=0;for(let t=0;t<r;t++){let i=(s*r+t)*a;for(let t=0;t<r;t++){let a=(i+n*r+t)*4,o=e[a+3];o!==0&&(c+=o,l+=e[a]*o,u+=e[a+1]*o,d+=e[a+2]*o)}}let f=(s*t+n)*4;c!==0&&(i[f]=Math.round(l/c),i[f+1]=Math.round(u/c),i[f+2]=Math.round(d/c),i[f+3]=Math.round(c/o))}return i}function aj(e,t,n){let r=e===void 0?3:e;if(!Number.isFinite(r)||r<1)throw Error(`raster samples must be a finite number >= 1`);let i=Math.max(1,Math.min(4,Math.floor(r)));for(;i>1&&t*i*n*i>fj;)i--;return i}function oj(e,t=1){let n=e=>e*t,r=e=>e.map(e=>({x:n(e.x),y:n(e.y)}));return{pushClip(t){e.pushClip(n(t.x),n(t.y),n(t.width),n(t.height))},popClip(){e.popClip()},rect(r,i,a,o,s,c){let l=uj(c.fill);l!==void 0&&(s>0?e.fillRoundRect(n(r),n(i),n(a),n(o),n(s),l):e.fillRect(n(r),n(i),n(a),n(o),l));let u=uj(c.stroke);if(u!==void 0){if(s>0){for(let n of qE(JE(r,i,a,o,s),t))e.drawPolyline(n.closed?[...n.points,n.points[0]]:[...n.points],u,lj(c,t),c.dash?.map(e=>e*t),cj(c,n.closed));return}e.drawPolyline([{x:n(r),y:n(i)},{x:n(r+a),y:n(i)},{x:n(r+a),y:n(i+o)},{x:n(r),y:n(i+o)},{x:n(r),y:n(i)}],u,lj(c,t),c.dash?.map(e=>e*t),cj(c,!0))}},ellipse(r,i,a,o,s){let c=uj(s.fill);c!==void 0&&e.fillEllipse(n(r),n(i),n(a),n(o),c);let l=uj(s.stroke);l!==void 0&&e.strokeEllipse(n(r),n(i),n(a),n(o),l,lj(s,t),s.dash?.map(e=>e*t),cj(s,!0))},sector(r,i,a,o,s,c,l){let u=uj(l.fill);u!==void 0&&e.fillSector(n(r),n(i),n(a),n(o),s,c,u);let d=uj(l.stroke);if(d!==void 0)for(let n of qE(KE(r,i,a,o,s,c),t))e.drawPolyline(n.closed?[...n.points,n.points[0]]:[...n.points],d,lj(l,t),l.dash?.map(e=>e*t),cj(l,n.closed))},polyline(n,i,a){sj(e,r(n),i,a,t)},path(n,r){let i=qE(n,t),a=uj(r.fill);a!==void 0&&e.fillRings(i.filter(e=>e.closed).map(e=>[...e.points]),a,r.fillRule??`nonzero`);let o=uj(r.stroke);if(o!==void 0)for(let n of i)e.drawPolyline(n.closed?[...n.points,n.points[0]]:[...n.points],o,lj(r,t),r.dash?.map(e=>e*t),cj(r,n.closed))},text(t,r,i,a,o){let s=uj(a.fill);if(s!==void 0)for(let c of i)c.text!==``&&e.drawText(n(c.x??t),n(r+c.dy),c.text,n(a.size),s,a.anchor??`start`,o===0?void 0:{angle:o,originX:n(t),originY:n(r)},{family:a.family??`arial`,...a.bold===void 0?{}:{bold:a.bold},...a.italic===void 0?{}:{italic:a.italic}})}}}function sj(e,t,n,r,i){if(t.length<2)return;let a=uj(r.fill);n&&a!==void 0&&e.fillPolygon([...t],a);let o=uj(r.stroke);o!==void 0&&e.drawPolyline(n?[...t,t[0]]:[...t],o,lj(r,i),r.dash?.map(e=>e*i),cj(r,n))}function cj(e,t){return{...e.lineJoin===void 0?{}:{join:e.lineJoin},...t?e.lineJoin===`round`?{cap:`round`}:{}:e.lineCap===void 0?{}:{cap:e.lineCap}}}function lj(e,t){return Math.max(1,(e.strokeWidth??1)*t)}function uj(e){if(!e)return;let t=e=>Math.max(0,Math.min(255,Math.round(e*255))).toString(16).padStart(2,`0`);return`#${t(e.r)}${t(e.g)}${t(e.b)}${t(e.a)}`}function dj(e){if(e===void 0)return 1;if(!Number.isFinite(e)||e<=0)throw Error(`raster scale must be a positive finite number`);return Math.min(8,e)}var fj,pj,mj=n((()=>{nj(),Ck(),QE(),fj=64e6,pj=64e6}));function hj(e,t={}){let n=rj(e,t);return lA(n.data,n.width,n.height,t.dpi===void 0?{}:{dpi:t.dpi})}var gj=n((()=>{vA(),mj()}));function _j(e){let t={size:e.fontSize,fill:Z(e.color),anchor:e.anchor??`start`,family:e.fontFamily??`Arial`,...e.bold?{bold:!0}:{},...e.italic?{italic:!0}:{}},n=qD(e.text).map(t=>({text:t.text,dy:t.index*1.2*e.fontSize}));return{kind:`text`,x:e.x,y:e.y,lines:n,style:t,...e.rotate?{rotate:e.rotate}:{}}}function vj(e){return{kind:`polyline`,points:[{x:e.x1,y:e.y1},{x:e.x2,y:e.y2}],paint:{stroke:Z(e.color),strokeWidth:e.width??1}}}function yj(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 bj(e){return{kind:`sector`,cx:e.cx,cy:e.cy,radius:e.radius,innerRadius:e.innerRadius,startAngle:e.startAngle,endAngle:e.endAngle,paint:{fill:Z(e.color)}}}function xj(e,t,n){let r=e.x+e.width,i=e.y,a=e.y+e.height,{dx:o,dy:s}=t,c=e=>({fill:Z(iO(n,e))});return[{kind:`polyline`,closed:!0,points:[{x:e.x,y:i},{x:e.x+o,y:i-s},{x:r+o,y:i-s},{x:r,y:i}],paint:c(.92)},{kind:`polyline`,closed:!0,points:[{x:r,y:i},{x:r+o,y:i-s},{x:r+o,y:a-s},{x:r,y:a}],paint:c(.75)},YE(e,{fill:Z(n)})]}function Sj(e){let t=e.size/2,n={fill:Z(e.color)},r={stroke:Z(e.color),strokeWidth:2};switch(e.symbol){case`square`:return[YE({x:e.x-t,y:e.y-t,width:e.size,height:e.size},n)];case`diamond`:return[{kind:`polyline`,closed:!0,points:[{x:e.x,y:e.y-t},{x:e.x+t,y:e.y},{x:e.x,y:e.y+t},{x:e.x-t,y:e.y}],paint:n}];case`triangle`:return[{kind:`polyline`,closed:!0,points:[{x:e.x,y:e.y-t},{x:e.x+t,y:e.y+t},{x:e.x-t,y:e.y+t}],paint:n}];case`x`:return[{kind:`polyline`,points:[{x:e.x-t,y:e.y-t},{x:e.x+t,y:e.y+t}],paint:r},{kind:`polyline`,points:[{x:e.x+t,y:e.y-t},{x:e.x-t,y:e.y+t}],paint:r}];case`plus`:return[{kind:`polyline`,points:[{x:e.x-t,y:e.y},{x:e.x+t,y:e.y}],paint:r},{kind:`polyline`,points:[{x:e.x,y:e.y-t},{x:e.x,y:e.y+t}],paint:r}];default:return[{kind:`ellipse`,cx:e.x,cy:e.y,rx:t,ry:t,paint:n}]}}function Cj(e){let t=[];switch(e.type){case`bar`:for(let n of e.bars)e.depth&&e.projection3D?t.push(...xj(n,e.projection3D,e.color)):t.push(YE(n,{fill:Z(e.color)}));return t;case`area`:{let n=e.lowerPoints??e.points.map(t=>({x:t.x,y:e.baselineY}));for(let r of yj(e.points)){if(r.length<2)continue;let i=r[0].x,a=r[r.length-1].x,o=n.filter(e=>e.x>=i&&e.x<=a);o.length!==0&&(t.push({kind:`polyline`,closed:!0,points:[...r,...o.slice().reverse()],paint:{fill:fk(e.color,.35)}}),t.push({kind:`polyline`,points:r,paint:{stroke:Z(e.color),strokeWidth:2}}))}return t}case`line`:case`scatter`:if(e.showLine!==!1){let n={stroke:Z(e.color),strokeWidth:2,...e.smooth?{lineJoin:`round`,lineCap:`round`}:{}};for(let r of yj(e.points))r.length<2||t.push(e.smooth&&r.length>2?{kind:`path`,commands:Oj(r),paint:n}:{kind:`polyline`,points:r,paint:n})}for(let n of e.points)Number.isFinite(n.x)&&Number.isFinite(n.y)&&t.push({kind:`ellipse`,cx:n.x,cy:n.y,rx:3,ry:3,paint:{fill:Z(e.color)}});return t;case`bubble`:for(let n of e.bubbles)t.push({kind:`ellipse`,cx:n.x,cy:n.y,rx:n.radius,ry:n.radius,paint:{fill:fk(e.color,.55),stroke:Z(e.color),strokeWidth:1}});return t;case`pie`:case`doughnut`:return e.slices.map(bj);case`ofPie`:return[...e.slices.map(bj),...(e.connectors??[]).map(vj),...(e.secondarySlices??[]).map(bj)];case`radar`:{t.push({kind:`ellipse`,cx:e.center.x,cy:e.center.y,rx:e.radius,ry:e.radius,paint:{stroke:Z(mO),strokeWidth:1}});let n=yj(e.points),r=e.filled?fk(e.color,.35):void 0,i=n.length===1&&n[0].length===e.points.length;for(let a of n)!i&&a.length<2||t.push({kind:`polyline`,points:a,...i?{closed:!0}:{},paint:{...r?{fill:r}:{},stroke:Z(e.color),strokeWidth:2}});return t}case`stock`:for(let n of e.candles)t.push({kind:`polyline`,points:[{x:n.x,y:n.highY},{x:n.x,y:n.lowY}],paint:{stroke:Z(`#555`),strokeWidth:1}}),n.openY!==void 0&&n.closeY!==void 0&&t.push(YE({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:Z(n.up?`#70AD47`:`#C00000`),stroke:Z(`#555`),strokeWidth:1}));return t;case`surface`:for(let n of e.cells)t.push(YE(n,e.wireframe?{fill:Z(n.color),stroke:Z(`#555`),strokeWidth:1}:{fill:Z(n.color)}));return t}}function wj(e){let t=[];for(let n of e.errorBars??[])t.push(vj(n.line)),n.cap1&&t.push(vj(n.cap1)),n.cap2&&t.push(vj(n.cap2));for(let n of e.trendlines??[]){for(let e of yj(n.points))e.length<2||t.push({kind:`polyline`,points:e,paint:{stroke:Z(n.color),strokeWidth:n.width??1.5,...n.dash?{dash:[4,3]}:{}}});n.label&&t.push(_j(n.label))}for(let n of e.markers??[])t.push(...Sj(n));for(let n of e.leaderLines??[])t.push(vj(n));for(let n of e.labels??[])t.push(_j(n));return t}function Tj(e){return[...e.borders.map(vj),...e.legendSwatches.map(e=>YE(e,{fill:Z(e.color)})),...e.cells.map(_j)]}function Ej(e){if(!e.visible||e.items.length===0)return[];let t=e.textStyle?.fontSize??10,n=e.textStyle?.fontFamily??`Arial`,r=Z(e.textStyle?.color??`#555`),i=e.textStyle?.bold,a=e.textStyle?.italic,o=[],s=e.rect.x;return e.items.forEach((c,l)=>{let u=e.orientation===`horizontal`?s:e.rect.x,d=e.orientation===`horizontal`?e.rect.y:e.rect.y+l*18;o.push(YE({x:u,y:d,width:10,height:10},{fill:Z(c.color)})),o.push({kind:`text`,x:u+10+4,y:d+9,lines:[{text:c.label,dy:0}],style:{size:t,fill:r,anchor:`start`,family:n,...i?{bold:!0}:{},...a?{italic:!0}:{}}}),e.orientation===`horizontal`&&(s+=14+uO(c.label,t,{bold:i,italic:a,fontName:n})+16)}),o}function Dj(e,t=`#fff`){let n=[];t!==`transparent`&&n.push(YE({x:0,y:0,width:e.width,height:e.height},{fill:Z(t)})),e.title&&n.push(_j(e.title));for(let t of e.gridlines)n.push(vj(t));for(let t of[e.axes.x,e.axes.y,e.axes.x2,e.axes.y2])t&&n.push(vj(t));for(let t of[e.xLabels,e.yLabels,e.secondaryXLabels,e.secondaryYLabels,e.axisTitles])for(let e of t)n.push(_j(e));for(let t of e.series){let e=Cj(t),r=t.effectFilterId;r?n.push({kind:`group`,svgFilterId:r,children:e}):n.push(...e)}for(let t of e.series)n.push(...wj(t));return e.dataTable&&n.push(...Tj(e.dataTable)),n.push(...Ej(e.legend)),{width:e.width,height:e.height,children:n,...e.effectFilters.length>0?{svgDefs:e.effectFilters.map(e=>e.xml)}:{}}}function Oj(e){let t=[{op:`move`,x:e[0].x,y:e[0].y}],n=t=>{let n=e[t-1]??e[t],r=e[t+1]??e[t],i=(r.y-n.y)/2,a=e[t].y-n.y,o=r.y-e[t].y;if(a*o<=0)return 0;let s=3*Math.min(Math.abs(a),Math.abs(o));return Math.sign(i)*Math.min(Math.abs(i),s)};for(let r=0;r<e.length-1;r++){let i=e[r],a=e[r+1],o=(a.x-i.x)/3;t.push({op:`cubic`,x1:i.x+o,y1:i.y+n(r)/3,x2:a.x-o,y2:a.y-n(r+1)/3,x:a.x,y:a.y})}return t}var kj=n((()=>{mk(),QE(),yO()}));function Aj(e){let t=1;for(let n of e)n.values.length>t&&(t=n.values.length);return t}function jj(e,t={}){let n=t.width??640,r=t.height??360,i=t.title??AN(e),a=e.chart.title?.overlay===!0,o=!!i&&!a,s=e.chart.plotArea.chartTypes,c=EM(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=KM(e.chart.legend,c,n,r,o,u),f=e.chart.plotArea.dataTable,p=f?Bj(f,c,u):0,m=Rj(n,r,o,d,e,p,u.length),h=NM(e,c),g=Jj(s,c,m,h,u,e.chart.view3D),_=hN(c,g),v=f?Uj(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=XM(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?tN(e.chart.title.txPr):void 0)??`#222222`,anchor:`middle`,...nN(e.chart.title?.txPr)}:void 0,plot:m,gridlines:w?[]:pM(m,h.primaryYAxis,y,h.primaryXAxis,x,u),xLabels:w||v?[]:CM(u,m,h.primaryXAxis,x),yLabels:w?[]:TM(y.min,y.max,m,h.primaryYAxis,!1,u),secondaryXLabels:w?[]:h.secondaryXAxis?CM(C,m,h.secondaryXAxis,S,!0):[],secondaryYLabels:w?[]:h.secondaryYAxis&&b?TM(b.min,b.max,m,h.secondaryYAxis,!0,u):[],axisTitles:w?[]:JM(h,m),series:g,legend:d,dataTable:v,effectFilters:_,axes:w?{x:void 0,y:void 0,x2:void 0,y2:void 0}:{x:SN({x1:m.x,y1:m.y+m.height,x2:m.x+m.width,y2:m.y+m.height,color:pO},h.primaryXAxis),y:SN({x1:m.x,y1:m.y,x2:m.x,y2:m.y+m.height,color:pO},h.primaryYAxis),x2:h.secondaryXAxis?SN({x1:m.x,y1:m.y,x2:m.x+m.width,y2:m.y,color:pO},h.secondaryXAxis):void 0,y2:h.secondaryYAxis?SN({x1:m.x+m.width,y1:m.y,x2:m.x+m.width,y2:m.y+m.height,color:pO},h.secondaryYAxis):void 0}}}function Mj(e,t={}){return Dk(Dj(jj(e,t),t.backgroundColor??`#fff`),{comment:`deterministic preview; not an Excel-identical layout`})}async function Nj(e,t={}){let n=t.width??640,r=t.height??360;return typeof document<`u`&&typeof Image<`u`?Pj(Mj(e,{...t,width:n,height:r}),{width:n,height:r,scale:Fj(t.scale),dpi:t.dpi}):hj(Dj(jj(e,{...t,width:n,height:r}),t.backgroundColor??`#fff`),{width:n,height:r,...t.scale===void 0?{}:{scale:Fj(t.scale)},...t.dpi===void 0?{}:{dpi:t.dpi}})}async function Pj(e,t){let n=Math.max(1,Math.round(t.width)),r=Math.max(1,Math.round(t.height)),i=Fj(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`)throw Error(`renderSvgToPng needs a DOM: use renderChartPng or renderChartExPng, which rasterise a display list directly on Node.`);let s=new Blob([e],{type:`image/svg+xml;charset=utf-8`}),c=URL.createObjectURL(s);try{let e=await NN(c),n=document.createElement(`canvas`);n.width=a,n.height=o;let r=n.getContext(`2d`);if(!r)throw Error(`Canvas 2D context is unavailable`);r.drawImage(e,0,0,a,o);let i=await new Promise((e,t)=>{n.toBlob(n=>{n?e(n):t(/* @__PURE__ */ Error(`Canvas PNG encoding failed`))},`image/png`)});return pA(new Uint8Array(await i.arrayBuffer()),t.dpi)}finally{URL.revokeObjectURL(c)}}function Fj(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 Ij(e,t,n){let r=jj(t,n),i=n.trace;i?.push(`canvas:${$D(r.width)}x${$D(r.height)}@${$D(n.x)},${$D(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}});let a=Dj(r,`transparent`);return i&&Lj(r,i),hk(a,aA(e,n.x,n.y,r.height)),e}function Lj(e,t){e.title&&t.push(`text:title:${e.title.text}:${$D(e.title.x)},${$D(e.title.y)}`);for(let n of e.gridlines)t.push(`line:grid:${$D(n.x1)},${$D(n.y1)}-${$D(n.x2)},${$D(n.y2)}`);for(let[n,r]of[[`x`,e.axes.x],[`y`,e.axes.y],[`x2`,e.axes.x2],[`y2`,e.axes.y2]])r&&t.push(`line:axis-${n}:${$D(r.x1)},${$D(r.y1)}-${$D(r.x2)},${$D(r.y2)}`);for(let n of[e.xLabels,e.yLabels,e.secondaryXLabels,e.secondaryYLabels,e.axisTitles])for(let e of n)t.push(`text:label:${e.text}:${$D(e.x)},${$D(e.y)}`);for(let n of e.series){t.push(`series:${n.type}`);for(let e of n.trendlines??[])t.push(`trendline:${e.points.length}pts`);for(let e of n.leaderLines??[])t.push(`leader:${$D(e.x1)},${$D(e.y1)}-${$D(e.x2)},${$D(e.y2)}`);for(let e of n.labels??[])t.push(`label:${e.text}:${$D(e.x)},${$D(e.y)}`)}if(e.dataTable){for(let n of e.dataTable.borders)t.push(`line:dTable:${$D(n.x1)},${$D(n.y1)}-${$D(n.x2)},${$D(n.y2)}`);for(let n of e.dataTable.cells)t.push(`text:dTable:${n.text}:${$D(n.x)},${$D(n.y)}`)}t.push(`legend:${e.legend.visible?e.legend.items.length:0}@${$D(e.legend.rect.x)},${$D(e.legend.rect.y)}`)}function Rj(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+KN:0,m=f&&(r.position===`r`||r.position===`tr`)?r.rect.width+qN:0,h=PN+(c?.title?LN:0)+p,g=FN+(l?IN:0)+(l?.title?LN:0)+m,_=(n?zN:RN)+(u?BN:0)+(u?.title?VN:0)+(f&&r.position===`t`?HN:0),v=d&&a===0?o>6?Math.min(Math.max(WN,t*.15),t*.2):WN:0,y=UN+v+(d?.title?LN:0)+(f&&r.position===`b`?GN:0)+a,b={x:h,y:_,width:Math.max(JN,e-h-g),height:Math.max(JN,t-_-y)},x=i.chart.plotArea.layout?.manualLayout;return x?zj(b,x,e,t):b}function zj(e,t,n,r){let i=(t,r)=>t!==void 0&&r!==`factor`?YD(t)*n:e.x,a=(t,n)=>t!==void 0&&n!==`factor`?YD(t)*r:e.y,o=(t,r)=>t!==void 0&&r!==`factor`?YD(t)*n:e.width,s=(t,n)=>t!==void 0&&n!==`factor`?YD(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 Bj(e,t,n){if(t.length===0||n.length===0)return 0;let r=Vj(e),i=Math.max(oP,Math.round(r*1.6));return(1+t.length)*i+dP}function Vj(e){return Hj(e.txPr)??sP}function Hj(e){if(!e)return;let t=GO(e);if(typeof t==`number`)return 4/3*t}function Uj(e,t,n,r,i){if(t.length===0||n.length===0||i<=0)return;let a=Vj(e),o=(i-dP)/(1+t.length),s=tN(e.txPr)??`#444444`,c=nN(e.txPr),l=e.showKeys!==!1,u=l?16:0,d=t.reduce((e,t)=>Math.max(e,uO(t.label||``,a,{bold:c.bold,italic:c.italic,fontName:c.fontFamily})),0),f=Math.ceil(d+u+lP),p=Math.max(4,r.x-f),m=r.x+r.width,h=r.y+r.height+dP,g={x:p,y:h,width:m-p,height:i-dP},_=[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+uP,n=y[e+1]+(o-cP)/2;x.push({x:t,y:n,width:cP,height:cP,color:r.color})}let d=p+uP+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:Wj(t),fontSize:a,color:s,anchor:`middle`,...c})}}let S=[],C=qj(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 Wj(e){return e===void 0||!Number.isFinite(e)?``:Number.isInteger(e)?e.toString():Number.parseFloat(e.toPrecision(6)).toString()}function Gj(e){let t=Kj(e?.rotX??15),n=Kj(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 Kj(e){return e*Math.PI/180}function qj(e){if(e)return oO(UO(e)?.color)}function Jj(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=LM(t,r);o.push(mM(aM(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=LM(t,r);o.push(mM(oM(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=LM(t,r);o.push(mM(sM(t,n,e.min,e.max,s.radarStyle===`filled`),t,n,e.min,e.max,i))}continue}if(s.type===`stock`){let t=zM(s,r);o.push(cM(e,n,t.min,t.max,i));continue}if(s.type===`surface`||s.type===`surface3D`){let t=zM(s,r);o.push(lM(e,n,t.min,t.max,s.wireframe));continue}if(s.type===`area`||s.type===`area3D`){let t=zM(s,r),a=XD(Xj(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:LM(t,r),f=c?$j(e,t.seriesIndex,n,d.min,d.max,l):{upper:rM(t.values,n,d.min,d.max),lower:void 0};o.push(mM({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=LM(a,r),s=RM(a,r);o.push(mM({type:`bubble`,color:a.color,label:a.label,bubbles:iM(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?eM(e,Aj(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:LM(d,r),p=RM(d,r),m=s.type===`scatter`?nM(d,n,f.min,f.max,p.min,p.max):rM(a&&l?Array.from({length:Aj(e)},(t,n)=>tM(e,d.seriesIndex,n,l,!0)):d.values,n,f.min,f.max);o.push(mM({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`?Gj(a):void 0;for(let a of e){let d=s.barDir===`bar`,f=c?l:LM(a,r),p=t?Qj(e,a.seriesIndex,d,n,f.min,f.max,c):d?Zj(a.values,a.seriesIndex,e.length,i,n,f.min,f.max):Yj(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(mM({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 Yj(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=XD(Xj(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=XD(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 Xj(e,t){let n=Math.min(e,t),r=Math.max(e,t);return n<=0&&r>=0?0:n>0?n:r}function Zj(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=ZD(Xj(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=ZD(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 Qj(e,t,n,r,i,a,o){let s=Aj(e),c=n?r.height/s:r.width/s,l=c*.72,u=eM(e,s,o);return Array.from({length:s},(o,s)=>{let d=tM(e,t,s,u,!1),f=tM(e,t,s,u,!0);if(n){let e=ZD(d,i,a,r),t=ZD(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=XD(d,i,a,r),m=XD(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 $j(e,t,n,r,i,a){let o=Aj(e),s=eM(e,o,a),c=Array.from({length:o},(n,r)=>tM(e,t,r,s,!1)),l=Array.from({length:o},(n,r)=>tM(e,t,r,s,!0));return{lower:rM(c,n,r,i),upper:rM(l,n,r,i)}}function eM(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 tM(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 nM(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:ZD(o[i]??i+1,l,u<=l?l+1:u,t),y:XD(e,n,r,t)}))}function rM(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:XD(e,n,r,t)}))}function iM(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:ZD(a,p,m<=p?p+1:m,t),y:XD(d,n,r,t),radius:4+Math.sqrt(f)/h*16})}return g}function aM(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=kM(i),f=AM(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]??fO[t%fO.length],cx:c+Math.cos(h)*m,cy:l+Math.sin(h)*m,radius:s,innerRadius:r?s*jM(o):0,startAngle:p,endAngle:i};return p=i,g}),label:i?.label}}function oM(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=aM(`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=kM(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]??fO[(i+t)%fO.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:mO},{x1:s.slices[0]?.cx??t.x,y1:u+c,x2:l-c,y2:u+c,color:mO}];return{type:`ofPie`,slices:s.slices,secondarySlices:m,connectors:h}}function sM(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 cM(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:XD(h,n,r,t),lowY:XD(g,n,r,t),openY:i===void 0?void 0:XD(i,n,r,t),closeY:p===void 0?void 0:XD(p,n,r,t),width:s,up:i===void 0||p===void 0||p>=i})}return{type:`stock`,color:fO[0],candles:d,label:e[0]?.label}}function lM(e,t,n,r,i){let a=Math.max(1,e.length),o=Aj(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:aO(`#5B9BD5`,`#ED7D31`,Math.max(0,Math.min(1,u)))})}}return{type:`surface`,cells:l,wireframe:i,label:e[0]?.label}}function uM(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(fP(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 dM(e){let t=e?.scaling?.logBase;if(!(typeof t!=`number`||!Number.isFinite(t)||t<=1))return t}function fM(e,t){let n=t**+e;return jN(Number.isFinite(n)?n:e)}function pM(e,t,n,r,i,a=[]){let o=[];if(t?.majorGridlines!==void 0){let r=cO(UO(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=uM(n.min,n.max,t);for(let t=i.length-1;t>=0;t--){let a=XD(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=cO(UO(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=uM(i.min,i.max,r);for(let r of n){let n=ZD(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 mM(e,t,n,r,i,a,o){let s=_M(e),c=t.values,l=vM(s,t.rawValues??c,a,t,n,e),u=bM(s,t),d=xM(s,c,t,n,r,i),f;if(l.length>0&&(e.type===`pie`||e.type===`doughnut`||e.type===`ofPie`)){let r=rN(t.group,t.series)?.position??`outEnd`;if(r===`outEnd`||r===`bestFit`){let t=gM(e,l,n);l=t.labels,f=t.leaderLines}}else l.length>1&&(l=hM(l,n));let p=SM(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 hM(e,t){let n=t.y+4,r=t.y+t.height-4,i=e.map(e=>{let t=uO(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 gM(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 _M(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 vM(e,t,n,r,i,a){let o=rN(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=nN(o.txPr),_=tN(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}=yM(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:iN(o,r,l[t],c[t]??0,y),fontSize:10,color:_,anchor:u,...g}})}function yM(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 bM(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 xM(e,t,n,r,i,a){return!n.trendlines||e.length<2?[]:n.trendlines.map(o=>{let s=aN(o,e,t,n,r,i,a),c=s.length>0?s[s.length-1]:void 0;return{color:cO(o.spPr?UO(o.spPr):void 0)??`#666666`,width:lO(o.spPr?UO(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 SM(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=cO(u.spPr?UO(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}=fN(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,ZD(e+_,t,d===t?t+1:d,r))):h.x,b=p?Math.max(r.x,Math.min(r.x+r.width,ZD(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,XD(g+_,i,a,r))):h.y,b=p?Math.max(r.y,Math.min(r.y+r.height,XD(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 CM(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 wM(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=nN(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:MN(e),fontSize:10,color:$M(n),anchor:f?`end`:`middle`,rotate:f?-90:void 0,...d}))}function wM(e,t,n,r,i){let a=[],o=$M(r),s=nN(r?.txPr),c=fP(r);for(let l of uM(e,t,r))a.push({x:ZD(l,e,t,n),y:i?n.y-10:n.y+n.height+18,text:c?fM(l,c):jN(l),fontSize:10,color:o,anchor:`middle`,...s});return a}function TM(e,t,n,r,i=!1,a=[]){if(r?.delete||r?.tickLblPos===`none`)return[];let o=[],s=$M(r),c=nN(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:MN(e),fontSize:10,color:s,anchor:i?`start`:`end`,...c});return o}let l=fP(r);for(let a of uM(e,t,r))o.push({x:i?n.x+n.width+8:n.x-8,y:XD(a,e,t,n)+3,text:l?fM(a,l):jN(a),fontSize:10,color:s,anchor:i?`start`:`end`,...c});return o}function EM(e,t){let n=t?.chart?.plotArea?.axes,r=/* @__PURE__ */ new Map;if(n)for(let e of n)r.set(e.axId,e);let i=/* @__PURE__ */ new Map,a=e=>{let t=i.get(e);if(t)return t;let n=e.axisIds??[],a=BM(e,n,r),o=VM(e,n,r),s={yLogBase:dM(a===void 0?void 0:r.get(a)),xLogBase:dM(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=CN(n),{yLogBase:i,xLogBase:c}=a(n);for(let e=0;e<r.length;e++){let a=r[e],l=wN(a),u=EN(a.xVal);o.push({group:n,groupIndex:t,series:a,seriesIndex:e,globalIndex:s,label:kN(a,s),color:DM(a,s),values:i?l.map(e=>typeof e==`number`?mN(e,i):e):l,categories:ON(a),xValues:c?u.map(e=>typeof e==`number`?mN(e,c):e):u,rawValues:l,rawXValues:u.length>0?u:void 0,yLogBase:i,xLogBase:c,bubbleSizes:TN(a.bubbleSize?.numRef),dataLabels:a.dataLabels,trendlines:a.trendlines,errorBars:MM(a.errorBars),marker:a.marker}),s++}}return o}function DM(e,t){return sO(e.spPr?HO(e.spPr):void 0,void 0)??fO[t%fO.length]}function OM(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 kM(e){return OM(e,e=>sO(e.spPr?HO(e.spPr):void 0,void 0)||void 0)}function AM(e){return OM(e,e=>typeof e.explosion==`number`&&Number.isFinite(e.explosion)&&e.explosion>0?e.explosion:void 0)}function jM(e){return(typeof e==`number`&&Number.isFinite(e)?Math.max(0,Math.min(90,e)):45)/100}function MM(e){if(e)return Array.isArray(e)?e:[e]}function NM(e,t){let n=e.chart.plotArea.axes,r=new Map(n.map(e=>[e.axId,e])),i=/* @__PURE__ */ new Map;for(let t of e.chart.plotArea.chartTypes)i.set(t,t.axisIds??[]);let a=pN(t.map(e=>e.values),void 0),o=pN(t.map(e=>WM(e)),void 0,{includeZero:!1,padding:.05}),s=/* @__PURE__ */ new Map,c=/* @__PURE__ */ new Map,l=/* @__PURE__ */ 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=UM(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=BM(e.group,n,r),i=VM(e.group,n,r);t!==void 0&&!a&&PM(s,t,e.values),i!==void 0&&HM(e.group)&&PM(c,i,WM(e))}if(a){let e=BM(t[0].group,n,r);if(e!==void 0){let n=Aj(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)}PM(s,e,r)}}}let u=/* @__PURE__ */ new Map;for(let[e,t]of s)u.set(e,pN(t,r.get(e)));let d=/* @__PURE__ */ new Map;for(let[e,t]of c)d.set(e,pN(t,r.get(e),{includeZero:!1}));return{axesById:r,primaryXAxis:FM(n,`x`,!1),primaryYAxis:FM(n,`y`,!1),secondaryXAxis:IM(n,`x`,FM(n,`x`,!1)),secondaryYAxis:IM(n,`y`,FM(n,`y`,!1)),yRangesByAxisId:u,xRangesByAxisId:d,defaultYRange:a,defaultXRange:o}}function PM(e,t,n){let r=e.get(t);r?r.push(n):e.set(t,[n])}function FM(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 IM(e,t,n){let r=FM(e,t,!0);return r&&r!==n?r:void 0}function LM(e,t){let n=BM(e.group,e.group.axisIds??[],t.axesById);return n===void 0?t.defaultYRange:t.yRangesByAxisId.get(n)??t.defaultYRange}function RM(e,t){let n=VM(e.group,e.group.axisIds??[],t.axesById);return n===void 0?t.defaultXRange:t.xRangesByAxisId.get(n)??t.defaultXRange}function zM(e,t){let n=BM(e,e.axisIds??[],t.axesById);return n===void 0?t.defaultYRange:t.yRangesByAxisId.get(n)??t.defaultYRange}function BM(e,t,n){if(t.length!==0)return HM(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 VM(e,t,n){if(t.length!==0)return HM(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 HM(e){return e.type===`scatter`||e.type===`bubble`}function UM(e){return e.type===`bar`||e.type===`bar3D`||e.type===`line`||e.type===`line3D`||e.type===`area`||e.type===`area3D`}function WM(e){return e.xValues&&e.xValues.length>0?e.xValues:e.values.map((e,t)=>t+1)}function GM(e){return e.type===`pie`||e.type===`pie3D`||e.type===`doughnut`||e.type===`ofPie`||e.varyColors===!0}function KM(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=t.every(e=>GM(e.group)),d;d=u&&t.length===1&&a.length>1?a.map((e,t)=>({label:JD(e),color:fO[t%fO.length]})):t.filter((e,t)=>!l.has(t)).map(e=>({label:JD(e.label),color:e.color}));let f=qM(s,c,n,r,i,d.map(e=>e.label)),p=nN(e?.txPr),m=e?.txPr?tN(e.txPr):void 0,h=p.fontFamily!==void 0||p.bold||p.italic||p.fontSize!==void 0||m?{...p,color:m}:void 0;return{rect:f,visible:o,position:s,orientation:c,items:d,textStyle:h}}function qM(e,t,n,r,i,a){let o=a.map(e=>XN+uO(e,ZN)+YN);if(t===`horizontal`){let t=o.reduce((e,t)=>e+t,0),a=Math.min(n-tP,Math.max($N,Math.ceil(t)));return{x:(n-a)/2,y:e===`t`?i?rP:iP:r-26,width:a,height:QN}}let s=o.reduce((e,t)=>t>e?t:e,0),c=Math.min(Math.max($N,Math.ceil(s)),Math.max($N,n-64)),l=Math.min(r-nP,Math.max(QN,a.length*QN));return{x:e===`l`?eP:n-c-eP,y:e===`tr`?i?aP:iP:Math.max(i?zN:RN,(r-l)/2),width:c,height:l}}function JM(e,t){let n=[];return YM(n,e.primaryXAxis,t),YM(n,e.primaryYAxis,t),YM(n,e.secondaryXAxis,t),YM(n,e.secondaryYAxis,t),n}function YM(e,t,n){if(!t||t.delete||!t.title)return;let r=ZM(t.title);if(!r)return;let i={text:r,fontSize:11,color:eN(t.title),anchor:`middle`,...nN(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 XM(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 ZM(e){return e.text?.paragraphs.map(e=>(e.runs??[]).map(e=>e.text).join(``)).join(`
|
|
62
|
+
`)??e.strRef?.cache?.points?.map(e=>e.value).join(``)}function QM(e){return cO(e?.spPr?UO(e.spPr):void 0)??`#444444`}function $M(e){return tN(e?.txPr)??`#555555`}function eN(e){return tN(e.txPr)??`#333333`}function tN(e){return e?oO((typeof e._rawXml==`string`&&e.color===void 0?WO(e):e).color):void 0}function nN(e){if(!e)return{};let t=typeof e._rawXml==`string`&&e.fontFamily===void 0?WO(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 rN(e,t){let n=e.dataLabels,r=t.dataLabels;return n||r?{...n??{},...r??{}}:void 0}function iN(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(jN(r)),e.showPercent&&Number.isFinite(r)&&Number.isFinite(i)&&i>0&&o.push(`${Math.round(Math.abs(r)/i*100)}%`),o.join(a)}function aN(e,t,n,r,i,a,o){if(e.type===`movingAvg`)return dN(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=oN(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?uN(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?mN(c,r.yLogBase):c;if(!Number.isFinite(l))continue;let u;if(y&&S){let e=r.xLogBase?mN(s,r.xLogBase):s;if(!Number.isFinite(e))continue;u=ZD(e,S.min,S.max,i)}else u=x(s);let d=XD(l,a,o,i);Number.isFinite(u)&&Number.isFinite(d)&&v.push({x:u,y:d})}return v}function oN(e,t){switch(e.type){case`linear`:{let{slope:e,intercept:n}=sN(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}=sN(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}=sN(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}=sN(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}=sN(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=cN(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 sN(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 cN(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*lN(e,n)*(-a)**+(e-n)}return p}function lN(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 uN(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 dN(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:XD(l,i,a,r)}})}function fN(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 pN(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:mN(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 mN(e,t){return!t||t<=0||t===1||!Number.isFinite(e)||e<=0?e:Math.log(e)/Math.log(t)}function hN(e,t){let n=[],r=/* @__PURE__ */ 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=gN(i);if(!o)continue;let s=JSON.stringify(o),c=r.get(s);if(!c){let e=_N(`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 gN(e){if(e.effectList)return e.effectList;if(typeof e._rawXml==`string`)return OO(e).effectList}function _N(e,t){if(!t)return``;let n=[],r=`SourceGraphic`;if(t.blur&&(n.push(`<feGaussianBlur in="${r}" stdDeviation="${vN(t.blur.radius??0)}" result="blur0"/>`),r=`blur0`),t.softEdge){let e=vN(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=vN(i.blurRadius??38100),[t,a]=yN(i.distance??0,i.direction??0),o=bN(i.color)??`#000000`,s=xN(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=vN(t.glow.radius),i=bN(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=vN(t.innerShadow.blurRadius??0),[i,a]=yN(t.innerShadow.distance??0,t.innerShadow.direction??0),o=bN(t.innerShadow.color)??`#000000`,s=xN(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 vN(e){return e/12700}function yN(e,t){let n=vN(e),r=t/6e4*(Math.PI/180);return[n*Math.cos(r),n*Math.sin(r)]}function bN(e){let t=oO(e);if(!t)return;let n=rO(t);return n?`#${n}`:t}function xN(e){return!e||e.alpha===void 0?1:Math.max(0,Math.min(1,e.alpha/1e5))}function SN(e,t){return{...e,color:QM(t),width:lO(t?.spPr?UO(t.spPr):void 0)??e.width}}function CN(e){return e?.series??[]}function wN(e){let t=e,n=t.val?.numRef??t.yVal?.numRef;return n?TN(n):DN(t.val?.numLit??t.yVal?.numLit)}function TN(e){return dO(e?.cache?.points??[],e?.cache?.pointCount,NaN,e=>typeof e==`number`&&Number.isFinite(e)?e:NaN)}function EN(e){return e?e.numRef?TN(e.numRef):DN(e.numLit):[]}function DN(e){return e?dO(e.points,e.pointCount,NaN,e=>typeof e==`number`&&Number.isFinite(e)?e:NaN):[]}function ON(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 dO(s.points,s.cache?.pointCount,``,e=>typeof e==`string`?e:typeof e==`number`&&Number.isFinite(e)?jN(e):``)}function kN(e,t){let n=e?.tx;return n?.value??n?.strRef?.cache?.points?.map(e=>e.value).join(``)??`Series ${t+1}`}function AN(e){let t=e.chart.title;if(!t)return;let n=ZM(t);return n&&n.length>0?n:void 0}function jN(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 MN(e){if(e.length<=12)return e;let t=Array.from(e);return t.length<=12?e:`${t.slice(0,9).join(``)}\u2026`}function NN(e){return new Promise((t,n)=>{let r=new Image;r.onload=()=>t(r),r.onerror=()=>n(/* @__PURE__ */ Error(`Failed to load chart SVG image`)),r.src=e})}var PN,FN,IN,LN,RN,zN,BN,VN,HN,UN,WN,GN,KN,qN,JN,YN,XN,ZN,QN,$N,eP,tP,nP,rP,iP,aP,oP,sP,cP,lP,uP,dP,fP,pP=n((()=>{vA(),Ck(),jk(),cA(),gj(),kj(),yO(),ZO(),PN=58,FN=24,IN=42,LN=18,RN=24,zN=52,BN=22,VN=16,HN=30,UN=24,WN=22,GN=28,KN=12,qN=16,JN=10,YN=32,XN=16,ZN=11,QN=18,$N=96,eP=20,tP=48,nP=48,rP=48,iP=20,aP=44,oP=18,sP=10,cP=10,lP=16,uP=6,dP=8,fP=dM}));function mP(e,t){let n=e.objects?.[t];if(!n)throw new xS(`resolveTopologyObject: topology.objects['${t}'] not found (available: ${Object.keys(e.objects??{}).join(`, `)||`<none>`}).`);if(!Array.isArray(e.arcs))throw new xS(`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=/* @__PURE__ */ 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=gP(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(hP(n,l));break;case`MultiPolygon`:for(let n of e.arcs)for(let e of n)t.push(hP(e,l));break;case`LineString`:t.push(hP(e.arcs,l));break;case`MultiLineString`:for(let n of e.arcs)t.push(hP(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 hP(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 gP(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 _P=n((()=>{CS()}));function vP(e,t,n,r){let i=t.title??xF(e.chartSpace.chart.title),a=i?qD(i).length:0,o=e.chartSpace.chart.legend,s=vF(n,r,!!i,a,o!==void 0,o?.legendPos??`r`),c=e.chartSpace.chart.plotArea,l=c.plotAreaRegion?.series??c.series??[],u=bF(e),d=new Map(e.chartSpace.chartData.data.map(e=>[e.id,e])),f=[];return l.forEach((n,r)=>{let i=EP(e,n,s,r,d,u);if(i){f.push({nodes:i});return}let a=DP(n,d),o=a.values,c=a.categories.length>0?a.categories:o.map((e,t)=>String(t+1));for(let e of HP(o,c,n,s,t.regionMap,u))f.push({nodes:e.nodes,mode:e.mode})}),{width:n,height:r,backgroundColor:t.backgroundColor??`#fff`,...i?{title:zP(i,n)}:{},series:f,legend:o?BP(l,n,r,a,o.legendPos):[]}}function yP(e,t={}){let n=t.width??640,r=t.height??360,i=vP(e,t,n,r),a=[`<svg xmlns="http://www.w3.org/2000/svg" width="${n}" height="${r}" viewBox="0 0 ${n} ${r}">`];i.backgroundColor!==`transparent`&&a.push(`<rect width="100%" height="100%" fill="${An(i.backgroundColor)}"/>`),i.title&&a.push(TP([i.title]));for(let e of i.series)a.push(e.mode===void 0?TP(e.nodes):`<g data-region-map-mode="${An(e.mode)}">${TP(e.nodes)}</g>`);return a.push(TP(i.legend)),a.push(`</svg>`),a.join(``)}async function bP(e,t={}){let n=t.width??640,r=t.height??360;return typeof document<`u`&&typeof Image<`u`?Pj(yP(e,{...t,width:n,height:r}),{width:n,height:r,scale:t.scale,dpi:t.dpi}):hj(xP(e,{...t,width:n,height:r}),{width:n,height:r,...t.scale===void 0?{}:{scale:t.scale},...t.dpi===void 0?{}:{dpi:t.dpi}})}function xP(e,t){let n=t.width??640,r=t.height??360,i=vP(e,t,n,r),a=[];i.backgroundColor!==`transparent`&&a.push(YE({x:0,y:0,width:n,height:r},{fill:Z(i.backgroundColor)})),i.title&&a.push(i.title);for(let e of i.series)a.push(...e.nodes);return a.push(...i.legend),{width:n,height:r,children:a}}function SP(e){let t=e.chartSpace.chart.plotArea,n=t.plotAreaRegion?.series??t.series??[];if(n.length===0)return!1;let r=new Set(CF);return n.every(e=>r.has(e.layoutId))}function CP(e,t,n,r={}){let i=vP(t,{...r.title===void 0?{}:{title:r.title},...r.regionMap===void 0?{}:{regionMap:r.regionMap}},n.width,n.height);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}});let a=aA(e,n.x,n.y,n.height);i.title&&wP(a,[i.title]);for(let e of i.series)wP(a,e.nodes);return wP(a,i.legend),e}function wP(e,t){for(let n of t)gk(n,XE,e)}function TP(e){let t=new Ak;for(let n of e)gk(n,XE,t);return t.markup()}function EP(e,t,n,r,i,a){let o=DP(t,i),s=o.values,c=o.categories.length>0?o.categories:s.map((e,t)=>String(t+1));switch(t.layoutId){case`funnel`:return PP(s,c,t,n);case`waterfall`:return NP(s,c,t,n,a);case`clusteredColumn`:return t.layoutPr?.paretoLine?MP(s,c,n,a,{drawColumns:!0}):jP(s,t,n,a);case`paretoLine`:return MP(s,c,n,a,{drawColumns:!1});case`boxWhisker`:return FP(s,c,t,n,a);case`treemap`:return Bk(IP(lF(o.hierarchy,c,s),n));case`sunburst`:return Hk(LP(lF(o.hierarchy,c,s),n));case`regionMap`:return;default:return AP(s,c,n,fO[r%fO.length],a)}}function DP(e,t){let n=(e.dataRefs??[]).map(e=>e.dataId===void 0?void 0:t.get(e.dataId)).filter(e=>!!e),r=()=>{let e=n.find(e=>e.numDim&&(e.numDim.type===`val`||e.numDim.type===`y`));if(e)return kP(e);let t=n.find(e=>e.numDim?.type===`size`);if(t)return kP(t);let r=n.find(e=>e.numDim);return r?kP(r):[]},i=()=>{let e=n.find(e=>e.strDim?.type===`cat`);if(e)return OP(e);let t=n.find(e=>e.strDim);return t?OP(t):[]},a=n.find(e=>e.strDim?.type===`cat`)??n.find(e=>e.strDim),o=n.filter(e=>e.strDim&&e!==a).map(e=>OP(e));return{values:r(),categories:i(),hierarchy:o}}function OP(e){let t=(e.strDim?.levels??[])[0];return t?dO(t.points,t.ptCount,void 0,e=>typeof e==`string`?e:void 0).map((e,t)=>e??String(t+1)):[]}function kP(e){let t=(e.numDim?.levels??[])[0];return t?dO(t.points,t.ptCount,NaN,e=>typeof e==`number`&&Number.isFinite(e)?e:NaN):[]}function AP(e,t,n,r,i){return zk(e,t,n,r,yF(e,i))}function jP(e,t,n,r){let i=aF(e,t.layoutPr?.binning);return AP(i.map(e=>e.count),i.map(e=>e.label),n,fO[0],r)}function MP(e,t,n,r,i={}){let{drawColumns:a=!0}=i,o=e.map((e,n)=>({value:e,category:t[n]??String(n+1)})).filter(e=>Number.isFinite(e.value)).sort((e,t)=>t.value-e.value),s=o.map(e=>e.value),c=[];return a&&c.push(...AP(s,o.map(e=>e.category),n,fO[0],r)),c.push(...qk(s,n)),c}function NP(e,t,n,r,i){let a=new Set(n.layoutPr?.subtotals?.map(e=>e.idx)??[]),o=0,s=e.map((e,t)=>{if(a.has(t)){let e=o;return{start:0,end:e,value:e,total:!0,gap:!1}}if(!Number.isFinite(e))return{start:o,end:o,value:0,total:!1,gap:!0};let n=o,r=o+e;return o=r,{start:n,end:r,value:e,total:!1,gap:!1}}),c=yF(s.flatMap(e=>[e.start,e.end]),i),l=s.map(e=>({start:e.start,end:e.end,gap:e.gap,colour:e.gap?`#BFBFBF`:e.total?SF(n.layoutPr?.totalSpPr,fO[2]):e.value>=0?SF(n.layoutPr?.increaseSpPr,`#70AD47`):SF(n.layoutPr?.decreaseSpPr,`#C00000`)})),u=Gk(l,t,r,c);return n.layoutPr?.connectorLines!==!1&&u.push(...Kk(l,r,c)),u}function PP(e,t,n,r){let i=/* @__PURE__ */ new Map;for(let e of n.dataPt??[])e.spPr&&i.set(e.idx,SF(e.spPr,fO[e.idx%fO.length]));return Uk(e,r,e=>i.get(e)??fO[e%fO.length],(e,r)=>mF(n,{category:t[e]??String(e+1),value:r,seriesName:gF(n)}))}function FP(e,t,n,r,i){let a=t.length>0?oF(e,t):/* @__PURE__ */ new Map([[`Values`,e]]),o=yF(Array.from(a.values()).flat(),i),s=n.layoutPr?.quartileMethod??`exclusive`;return Jk(Array.from(a.keys()).map(e=>({key:e,stats:sF(a.get(e)??[],s)})),r,o,{showMeanMarker:n.layoutPr?.showMeanMarker!==!1,showMeanLine:!!n.layoutPr?.showMeanLine,showInnerPoints:!!n.layoutPr?.showInnerPoints,showOutlierPoints:n.layoutPr?.showOutlierPoints!==!1})}function IP(e,t){return uF(e.children.length>0?e.children:[{...e,name:`Values`}],t).filter(e=>e.rect.width>.5&&e.rect.height>.5).map((e,t)=>({rect:e.rect,color:fO[t%fO.length],label:e.rect.width>40&&e.rect.height>18?e.node.name:void 0}))}function LP(e,t){let n=[],r=t.x+t.width/2,i=t.y+t.height/2,a=Math.max(1,pF(e)-1),o=Math.min(t.width,t.height)/2.25;return RP(n,e,r,i,0,Math.PI*2,0,a,o,-1),n}function RP(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:fO[l%fO.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=RP(e,u,n,r,p,m,o+1,s,c,d+1),p=m}return d}function zP(e,t){return Xk(t/2,zF,qD(e).map(e=>e.text),RF,`#222222`,`middle`,RF*hO)}function BP(e,t,n,r,i){let a=[];for(let o of hF(e,t,n,r,i))a.push(YE({x:o.swatchX,y:o.swatchY,width:o.swatchSize,height:o.swatchSize},{fill:Z(o.color)})),a.push(Ik(o.labelX,o.labelBaselineY,o.label,HF,UF,`start`));return a}function VP(e){return YE(e,{fill:Z(`#F7FBFF`),stroke:Z(`#C7DFF2`),strokeWidth:1},14)}function HP(e,t,n,r,i,a){let o=yF(e,a);if(i?.topology){let a=UP(e,t,n,r,o,i);if(a)return[{mode:`topojson`,nodes:a}]}let s=e.map((e,n)=>({value:e,label:t[n]??String(n+1),coord:XP(t[n]??String(n+1))})),c=s.filter(e=>!!e.coord);if(c.length===0)return[{mode:`tile-fallback`,nodes:iF(s,o,r)}];let l=[VP(r),...QP(r)],u=n.layoutPr?.regionLabels??`bestFit`,d=n.layoutPr?.projection??`miller`,f=$P(eF(c.filter(e=>Number.isFinite(e.value)).map(e=>GP(e.coord.lon,e.coord.lat,d))),r);for(let e of c){let t=WP(e.coord.lon,e.coord.lat,d,r,f);if(!Number.isFinite(e.value))continue;let n=YD((e.value-o.min)/Math.max(1e-9,o.max-o.min)),i=6+Math.sqrt(n)*14;l.push({kind:`ellipse`,cx:t.x,cy:t.y,rx:i,ry:i,paint:{fill:{...Z(aO(`#D9EAF7`,`#2F75B5`,n)),a:.92},stroke:{...Z(`#FFFFFF`),a:.92},strokeWidth:1.5}}),(u===`showAll`||u===`bestFit`&&i>=9)&&l.push(Ik(t.x,t.y+3,e.label,9,`#1F3B53`,`middle`))}let p=[{mode:`geographic-preview`,nodes:l}],m=s.filter(e=>!e.coord);if(m.length>0){let e=Math.min(52,r.height*.25);p.push({mode:`unmatched`,nodes:iF(m,o,{x:r.x+8,y:r.y+r.height-e-8,width:r.width-16,height:e})})}return p}function UP(e,t,n,r,i,a){let o;try{o=mP(a.topology,a.objectName)}catch{return}if(o.length===0)return;let s=(()=>{let e=a.match??`id`;return Array.isArray(e)?e.length>0?e:[`id`]:[e]})(),c=e=>{let t=[];for(let n of s){let r=n.startsWith(`property:`)?e.properties?.[n.slice(9)]:e.id;r!=null&&t.push(String(r).trim().toLowerCase())}return t},l=/* @__PURE__ */ new Map;if(t.forEach((t,n)=>{let r=YP(t);r&&l.set(r,e[n])}),l.size===0)return;let u=a.projection??n.layoutPr?.projection??`miller`,d=KP(o,u);if(!d)return;let f=$P(d,r),p=[VP(r)],m=/* @__PURE__ */ new Map;for(let e of o){let t=c(e),n;for(let e of t){let t=l.get(e);if(t!==void 0){n={key:e,value:t};break}}m.set(e,n)}let h=a.strokeColor??`#FFFFFF`,g=0;for(let e of o){let t=m.get(e),n=t?(()=>{g++;let e=(t.value-i.min)/Math.max(1e-9,i.max-i.min);return aO(`#D9EAF7`,`#2F75B5`,Math.max(0,Math.min(1,e)))})():`#E9EEF3`,a=qP(e.rings,u,r,f);a&&p.push({kind:`path`,commands:a,paint:{fill:Z(n),stroke:Z(h),strokeWidth:.5}})}if(g===0)return;let _=/* @__PURE__ */ new Map;t.forEach(e=>{let t=YP(e);t&&_.set(t,e)});let v=n.layoutPr?.regionLabels??`bestFit`;if(v===`showAll`||v===`bestFit`)for(let e of o){let t=m.get(e);if(!t||e.rings.length===0)continue;let n=JP(e.rings[0]);if(!n)continue;let i=WP(n[0],n[1],u,r,f),a=_.get(t.key)??(typeof e.id==`string`?e.id:String(e.id??``));p.push(Ik(i.x,i.y+3,a,9,`#1F3B53`,`middle`))}return p}function WP(e,t,n,r,i){let a=GP(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 GP(e,t,n){let r=Math.max(-180,Math.min(180,e)),i=n===`mercator`||n===`miller`?Math.max(-EF,Math.min(EF,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}=tF(r,i);return{x:e,y:t}}case`robinson`:{let{nx:e,ny:t}=rF(r,i);return{x:e-.5,y:t-.5}}default:return{x:r/360,y:-i/180}}}function KP(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}=GP(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 qP(e,t,n,r){let i=[];for(let a of e){if(a.length<2)continue;let e=a.map(([e,i])=>WP(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.length>0?i:void 0}function JP(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 YP(e){return e.trim().toLowerCase()}function XP(e){return TF.get(ZP(e))}function ZP(e){return e.trim().toLowerCase().replace(/\b(the|republic of)\b/g,``).replace(/[^a-z0-9]+/g,` `).trim()}function QP(e){let t={stroke:Z(`#E5F0FA`),strokeWidth:1},n=[];for(let r=1;r<4;r++){let i=e.x+e.width*r/4;n.push(Fk(i,e.y+8,i,e.y+e.height-8,t))}for(let r=1;r<3;r++){let i=e.y+e.height*r/3;n.push(Fk(e.x+8,i,e.x+e.width-8,i,t))}return n}function $P(e,t){let n=Math.max(1,t.width-28),r=Math.max(1,t.height-28),i=e.maxX-e.minX,a=e.maxY-e.minY;if(i<=0||a<=0)return e;let o=n/r,s=i/a;if(Math.abs(s-o)<1e-9)return e;if(s<o){let t=(a*o-i)/2;return{...e,minX:e.minX-t,maxX:e.maxX+t}}let c=(i/o-a)/2;return{...e,minY:e.minY-c,maxY:e.maxY+c}}function eF(e){let t=1/0,n=-1/0,r=1/0,i=-1/0;for(let a of e)t=Math.min(t,a.x),n=Math.max(n,a.x),r=Math.min(r,a.y),i=Math.max(i,a.y);if(!Number.isFinite(t)||!Number.isFinite(r))return{minX:-.5,maxX:.5,minY:-.5,maxY:.5};let a=(e,t)=>{let n=(e+t)/2,r=Math.max(.05,(t-e)/2*1.2);return{low:n-r,high:n+r}},o=a(t,n),s=a(r,i);return{minX:o.low,maxX:o.high,minY:s.low,maxY:s.high}}function tF(e,t){let n=t*Math.PI/180,r=e*Math.PI/180,i=Math.sqrt(Math.max(0,kF-2*OF*Math.sin(n)))/OF,a=OF*r;return{rawX:i*Math.sin(a),rawY:AF-i*Math.cos(a)}}function nF(e){let t=Math.min(jF.length-1,e/5),n=Math.floor(t),r=Math.min(jF.length-1,n+1),i=t-n;return{plen:jF[n]+(jF[r]-jF[n])*i,pdfe:MF[n]+(MF[r]-MF[n])*i}}function rF(e,t){let{plen:n,pdfe:r}=nF(Math.abs(t)),i=t>=0?-1:1;return{nx:.5+e/180*n*.5,ny:.5+i*r*.5072*.5}}function iF(e,t,n){let r=Math.max(1,e.length),i=Math.ceil(Math.sqrt(r)),a=Math.ceil(r/i),o=n.width/i,s=n.height/a,c=Math.min(o,s)*.38,l=[];return e.forEach((e,r)=>{if(!Number.isFinite(e.value))return;let a=n.x+r%i*o+o/2,u=n.y+Math.floor(r/i)*s+s/2,d=YD((e.value-t.min)/Math.max(1e-9,t.max-t.min));l.push(Lk(Yk(a,u,c),{fill:Z(aO(`#D9EAF7`,`#2F75B5`,d)),stroke:Z(`#FFFFFF`),strokeWidth:1})),o>34&&s>22&&l.push(Ik(a,u+3,e.label,9,`#1F3B53`,`middle`))}),l}function aF(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=/* @__PURE__ */ 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 xS(`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:`<=${eO(t.underflow)}`,count:0});let f=1e3,p=Math.ceil((u-l)/c);if(p>f)throw new xS(`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:`${eO(t)}-${eO(n)}`,count:0})}t?.overflow!==void 0&&d.push({low:t.overflow,high:1/0,label:`>${eO(t.overflow)}`,count:0}),d.length===0&&d.push({low:l,high:l+c,label:`${eO(l)}-${eO(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 oF(e,t){let n=/* @__PURE__ */ 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 sF(e,t){let n=e.slice().filter(Number.isFinite).sort((e,t)=>e-t),r=n.length>0?n:[0],i=cF(r,.25,t),a=cF(r,.5,t),o=cF(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 cF(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 lF(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 uF(e,t){let n=[];dF(e.filter(e=>Math.max(0,e.value)>0),t,n);let r=n.filter(e=>e.node.children.length>0&&e.rect.width>18&&e.rect.height>18);for(let e of r)for(let t of uF(e.node.children,QD(e.rect,4)))n.push(t);return n}function dF(e,t,n){if(e.length===0||t.width<=0||t.height<=0)return;let r=[...e].sort((e,t)=>Math.max(0,t.value)-Math.max(0,e.value)),i=r.reduce((e,t)=>e+Math.max(0,t.value),0);if(i<=0)return;let a=t.width*t.height/i,o={...t},s=0;for(;s<r.length;){let e=Math.min(o.width,o.height),t=[r[s]],i=Math.max(0,r[s].value)*a;for(s++;s<r.length;){let n=Math.max(0,r[s].value)*a;if(fF(t,i,e,a)<=fF([...t,r[s]],i+n,e,a))break;t.push(r[s]),i+=n,s++}let c=e>0?i/e:0,l=o.width<o.height,u=0;for(let e of t){let t=Math.max(0,e.value)*a,r=c>0?t/c:0;n.push({node:e,rect:l?{x:o.x+u,y:o.y,width:r,height:c}:{x:o.x,y:o.y+u,width:c,height:r}}),u+=r}if(o=l?{x:o.x,y:o.y+c,width:o.width,height:o.height-c}:{x:o.x+c,y:o.y,width:o.width-c,height:o.height},o.width<=0||o.height<=0)break}}function fF(e,t,n,r){if(t<=0||n<=0)return 1/0;let i=t/n,a=0;for(let t of e){let e=Math.max(0,t.value)*r;if(e<=0)return 1/0;let n=e/i;a=Math.max(a,Math.max(i/n,n/i))}return a}function pF(e){let t=0;for(let n of e.children){let e=pF(n);e>t&&(t=e)}return 1+t}function mF(e,t){let n=e.dataLabels;if(!n)return;let r=n.visibility??{},i=[];if(r.seriesName&&t.seriesName&&i.push(t.seriesName),r.categoryName&&t.category!==void 0&&i.push(t.category),r.value&&t.value!==void 0&&Number.isFinite(t.value)&&i.push(eO(t.value)),i.length!==0)return i.join(n.separator??`, `)}function hF(e,t,n,r,i){let a=i??`r`,o=r>0,s=Math.max(0,r-1),c=_F(t,n,o,r,!0,a),l=e=>18+Math.max(28,e.length*6)+14,u=e.map((e,t)=>JD(gF(e)??`Series ${t+1}`)),d=e=>fO[e%fO.length];if(a===`b`||a===`t`){let e=u.reduce((e,t)=>e+l(t),0)-14,r=Math.max(6,(t-e)/2),i=a===`b`?n-22:o?40+s*BF:10,c=[],f=r;return u.forEach((e,t)=>{c.push({swatchX:f,swatchY:i,swatchSize:10,labelX:f+10+8,labelBaselineY:i+10-1,label:e,color:d(t)}),f+=l(e)}),c}if(a===`l`){let e=Math.min(8,c.left*.14);return u.map((t,n)=>{let r=(o?44:20)+n*18;return{swatchX:e,swatchY:r,swatchSize:10,labelX:e+10+4,labelBaselineY:r+9,label:t,color:d(n)}})}let f=a===`tr`?o?44:16:o?44:20,p=t-c.right+Math.min(12,c.right*.09);return u.map((e,t)=>{let n=f+t*18;return{swatchX:p,swatchY:n,swatchSize:10,labelX:p+10+8,labelBaselineY:n+9,label:e,color:d(t)}})}function gF(e){let t=e.tx;if(t){if(t.rich)return t.rich.paragraphs.map(e=>(e.runs??[]).map(e=>e.text).join(``)).join(`
|
|
63
|
+
`);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 _F(e,t,n,r,i,a=`r`){let o=i&&a===`l`,s=i&&(a===`r`||a===`tr`),c=i&&a===`b`,l=o?NF:LF,u=s?PF:IF,d=l+u,f=e*.55,p=d>f?f/d:1,m=Math.max(0,r-1);return{left:l*p,right:u*p,top:n?52+m*BF:24,bottom:Math.min(c?FF:VF,t*.25)}}function vF(e,t,n,r=1,i=!0,a=`r`){let o=_F(e,t,n,r,i,a);return{x:o.left,y:o.top,width:Math.max(10,e-o.left-o.right),height:Math.max(10,t-o.top-o.bottom)}}function yF(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 bF(e){let t=e.chartSpace.chart.plotArea.axis;if(t&&t.length!==0)return t.find(e=>e.type===`val`)}function xF(e){if(!e)return;let t=e.text?.paragraphs.map(e=>(e.runs??[]).map(e=>e.text).join(``)).join(`
|
|
64
|
+
`);if(t)return t;let n=e.strRef?.cache?.points?.[0]?.value;if(typeof n==`string`&&n.length>0)return n}function SF(e,t){return sO(e?HO(e):void 0,t)}var CF,wF,TF,EF,DF,OF,kF,AF,jF,MF,NF,PF,FF,IF,LF,RF,zF,BF,VF,HF,UF,WF=n((()=>{mk(),Ck(),jk(),QE(),tA(),cA(),pP(),gj(),_P(),yO(),ZO(),CS(),CF=[`sunburst`,`treemap`,`funnel`,`waterfall`,`boxWhisker`,`clusteredColumn`,`paretoLine`,`regionMap`],wF={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}},TF=new Map(Object.entries(wF).map(([e,t])=>[ZP(e),t])),EF=85,DF=20*Math.PI/180,OF=(Math.sin(DF)+Math.sin(60*Math.PI/180))/2,kF=Math.cos(DF)*Math.cos(DF)+2*OF*Math.sin(DF),AF=Math.sqrt(kF)/OF,jF=[1,.9986,.9954,.99,.9822,.973,.96,.9427,.9216,.8962,.8679,.835,.7986,.7597,.7186,.6732,.6213,.5722,.5322],MF=[0,.062,.124,.186,.248,.31,.372,.434,.4958,.5571,.6176,.6769,.7346,.7903,.8435,.8936,.9394,.9761,1],NF=58,PF=128,FF=46,IF=12,LF=44,RF=18,zF=26,BF=22,VF=24,HF=10,UF=`#555`}));function GF(e,t){return{_model:e,_workbook:t}}function KF(e){return e._model.name}function qF(e){return e._model.state}function JF(e){return e._model.chartNumber?(e._workbook?AE(e._workbook,e._model.chartNumber):void 0)?.model:void 0}function YF(e){return e._model.chartExNumber?(e._workbook?jE(e._workbook,e._model.chartExNumber):void 0)?.model:void 0}function XF(e){return e._model}function ZF(e){return e._model.pageMargins}function QF(e){return e._model.pageSetup}var $F=n((()=>{PE()}));function eI(e,t,n){let r=[],{width:i,height:a,padding:o}=n,s=oI(e.colorSeries)??`#376091`,c=oI(e.colorNegative)??`#D00000`,l=oI(e.colorAxis)??`#000000`,u=oI(e.colorMarkers)??s,d=oI(e.colorHigh)??u,f=oI(e.colorLow)??u,p=oI(e.colorFirst)??u,m=oI(e.colorLast)??u,h=t;if(h.length===0)return r;let{min:g,max:_}=tI(e,h,n.groupMin??iI([h]),n.groupMax??aI([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},T=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,E;if(e.type===`stacked`){let e=x/2;v>=0?(C=y+e-e,E=e):(C=y+e,E=e)}else{let e=g<=0&&_>=0?T(0):y+x,t=T(v);C=Math.min(e,t),E=Math.abs(e-t)}r.push({kind:`rect`,x:b,y:C,width:n,height:Math.max(E,1),color:S})}}else{let t=e.displayEmptyCellsAs??`gap`,n=[];for(let e=0;e<h.length;e++){let r=h[e],i=w(e,h.length);Number.isFinite(r)?n.push({x:i,y:T(r),v:r}):t===`zero`?n.push({x:i,y:T(0),v:0}):n.push(void 0)}let i=n.filter(e=>!!e),a=t===`gap`?n.reduce((e,t)=>t?(e.length===0&&e.push([]),e[e.length-1].push(t),e):(e.length>0&&e[e.length-1].length>0&&e.push([]),e),[]):[i];for(let t of a)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});if(e.markers)for(let e of i)r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.5,color:u});if(i.length>0){if(e.first){let e=i[0];r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:p})}if(e.last){let e=i[i.length-1];r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:m})}if(e.high){let e=i.reduce((e,t)=>t.v>e.v?t:e,i[0]);r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:d})}if(e.low){let e=i.reduce((e,t)=>t.v<e.v?t:e,i[0]);r.push({kind:`circle`,cx:e.x,cy:e.y,r:1.8,color:f})}if(e.negative)for(let e of i)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=T(0)),t!==void 0&&r.push({kind:`axis`,x1:v,y1:t,x2:v+b,y2:t,color:l})}return r}function tI(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=nI(t),e.maxAxisType===`group`?a=r:e.maxAxisType===`custom`&&e.manualMax!==void 0?(a=e.manualMax,s=!0):a=rI(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 nI(e){let t=1/0;for(let n of e)Number.isFinite(n)&&n<t&&(t=n);return t}function rI(e){let t=-1/0;for(let n of e)Number.isFinite(n)&&n>t&&(t=n);return t}function iI(e){let t=1/0;for(let n of e){let e=nI(n);e<t&&(t=e)}return Number.isFinite(t)?t:NaN}function aI(e){let t=-1/0;for(let n of e){let e=rI(n);e>t&&(t=e)}return Number.isFinite(t)?t:NaN}function oI(e){if(e){if(e.rgb)return`#${e.rgb.length===8?e.rgb.slice(2):e.rgb}`;if(e.theme!==void 0){let t=ip[e.theme];return t?`#${t}`:`#000000`}}}var sI=n((()=>{op()}));function cI(e,t){let n={worksheet:e};return t&&uI(n,t),n}function lI(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 SS(`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:sk(t.tl),br:t.br?sk(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 SS(`Invalid Image Type`)}}function uI(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=wS.decode(r);`top`in t&&(e.range={tl:ok(e.worksheet,{col:t.left,row:t.top},-1),br:ok(e.worksheet,{col:t.right,row:t.bottom},0),editAs:`oneCell`})}else if(r&&`pos`in r&&r.pos)e.range={tl:ok(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:ok(e.worksheet,t,typeof t==`string`?-1:0),br:n?ok(e.worksheet,n,0):void 0,ext:r.ext,editAs:r.editAs,hyperlinks:i||(`hyperlinks`in r?r.hyperlinks:void 0)}}}}var dI=n((()=>{ck(),CS(),TS()}));function fI(e,t){let n;try{n=lI(cI(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 pI(e){return e._media.filter(e=>e.type===`image`)}function mI(e){return[...e._charts]}function hI(e){return[...e._sparklineGroups]}function gI(e){return e._watermark}function _I(e){let t=cC();return e._rows.forEach(e=>{if(e){let n=dE(e);n&&pC(t,e.number,n.min,e.number,n.max)}}),t}function vI(e){return Object.values(e._merges).some(Boolean)}function yI(e){let t={id:e.id,name:_E(e),orderNo:e.orderNo,retainedComments:e._retainedComments,styledBlankRanges:e._styledBlankRanges,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,opaqueRels:e._opaqueRels,chartsheetPlaceholder:e._chartsheetPlaceholder,xlsbDrawingRelationshipId:e._xlsbDrawingRelationshipId,worksheetNamespaceAttributes:e._worksheetNamespaceAttributes,worksheetMcIgnorable:e._worksheetMcIgnorable,sortStateAutoFilterRef:e._sortStateAutoFilterRef,media:e._media.map(e=>lI(e)),shapes:e._shapes.map(t=>fI(e,t)),sheetProtection:e.sheetProtection,tables:Object.values(e.tables).map(e=>TE(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=aE(e._columns);let n=t.rows=[],r=t.dimensions=cC();return(e._rows??[]).forEach(e=>{let t=e&&hE(e);t&&(pC(r,t.number,t.min,t.number,t.max),n.push(t))}),t.mergeCells=Object.values(e._merges).map(e=>vC(e)),t}var bI=n((()=>{sE(),dI(),SC(),gE(),OE(),wE()}));function xI(e){return e<128?qI[e]:String.fromCodePoint(e)}function SI(e){return e===AI||e===OI||e===kI||e===DI}function CI(e){return e===MI||e===FI}function wI(e){return e<128?JI[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 TI(e){return e<128?YI[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 EI(e){return e>=AI&&e<=55295||e===OI||e===kI||e===DI||e>=57344&&e<=65533||e>=65536&&e<=1114111}var DI,OI,kI,AI,jI,MI,NI,PI,FI,II,LI,RI,zI,BI,VI,HI,UI,WI,GI,KI,qI,JI,YI,XI,ZI,QI,$I,eL,tL,nL,rL,iL,aL,oL,sL,cL,lL,uL,dL,fL,pL,mL,hL,gL,_L,vL,yL,bL,xL,SL,CL,wL=n((()=>{GD(),DI=9,OI=10,kI=13,AI=32,jI=33,MI=34,NI=35,PI=38,FI=39,II=45,LI=47,RI=59,zI=60,BI=61,VI=62,HI=63,UI=91,WI=93,GI=65533,KI=`�`,qI=/* @__PURE__ */ (()=>{let e=Array(128);for(let t=0;t<128;t++)e[t]=String.fromCharCode(t);return e})(),JI=/* @__PURE__ */ (()=>{let e=/* @__PURE__ */ 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})(),YI=/* @__PURE__ */ (()=>{let e=/* @__PURE__ */ 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})(),XI={amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`},ZI=0,QI=1,$I=2,eL=3,tL=4,nL=5,rL=6,iL=7,aL=8,oL=9,sL=10,cL=11,lL=12,uL=13,dL=14,fL=15,pL=16,mL=17,hL=18,gL=19,_L=20,vL=21,yL=22,bL=23,xL=24,SL=25,CL=class{constructor(e){this._entityExpansionCount=0,this._nsStack=[],this.state=ZI,this.chunk=``,this.i=0,this.prevI=0,this.text=``,this.name=``,this.q=null,this.tags=[],this.tag=null,this.duplicateAttributes=null,this.entity=``,this.entityReturnState=ZI,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={...XI},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=ZI,this.text=``,this.name=``,this.q=null,this.tags=[],this.tag=null,this.duplicateAttributes=null,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,t){return new WD(e,{line:this.trackPosition?this.line:void 0,column:this.trackPosition?this.column:void 0,fileName:this.fileName,limit:t})}fail(e,t){let n=this.makeError(e,t);if(this._handlers.error)this._handlers.error(n);else throw n;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===kI||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 GI;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+=KI),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+=KI,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===DI)return this.trackPosition&&this.column++,n;if(n===kI)return e.charCodeAt(t+1)===OI&&(this.i=t+2),this.trackPosition&&(this.line++,this.column=0,this.positionAtNewLine=this.position),OI;if(n===OI)return this.trackPosition&&(this.line++,this.column=0,this.positionAtNewLine=this.position),OI;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 ZI:this.sText();break;case QI:this.sOpenWaka();break;case $I:this.sOpenWakaBang();break;case eL:this.sOpenTag();break;case tL:this.sOpenTagSlash();break;case nL:this.sAttrib();break;case rL:this.sAttribName();break;case iL:this.sAttribNameSawWhite();break;case aL:this.sAttribValue();break;case oL:this.sAttribValueQuoted();break;case sL:this.sAttribValueClosed();break;case cL:this.sCloseTag();break;case lL:this.sCloseTagSawWhite();break;case uL:this.sComment();break;case dL:this.sCommentEnding();break;case fL:this.sCommentEnded();break;case pL:this.sCData();break;case mL:this.sCDataEnding();break;case hL:this.sCDataEnding2();break;case gL:this.sPI();break;case _L:this.sPIEnding();break;case vL:this.sDoctype();break;case yL:this.sDoctypeQuote();break;case bL:this.sDoctypeDTD();break;case xL:this.sDoctypeDTDQuoted();break;case SL: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!==zI&&r!==PI){this.i++,this.trackPosition&&this.column++;continue}if(r===DI){this.i++,this.trackPosition&&this.column++;continue}if(r===zI){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=QI;return}if(r===PI){this.prevI=this.i,this.i++,this.trackPosition&&this.column++,n&&(this.text+=e.slice(t,this.prevI)),this.state=SL,this.entityReturnState=ZI,this.entity=``;return}if(r===OI){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)+`
|
|
65
|
+
`),t=this.i;continue}if(r===kI){this.prevI=this.i,this.i++,e.charCodeAt(this.i)===OI&&this.i++,this.trackPosition&&(this.line++,this.column=0,this.positionAtNewLine=this.position),n&&(this.text+=e.slice(t,this.prevI)+`
|
|
66
|
+
`),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===GI&&e.charCodeAt(this.prevI)!==GI){n&&(t<this.prevI&&(this.text+=e.slice(t,this.prevI)),this.text+=KI),t=this.i,r=!0;continue}if(s===zI){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=QI;break}if(s===PI){n&&(this.text+=e.slice(t,this.prevI)),this.state=SL,this.entityReturnState=ZI,this.entity=``,r=!0;break}s===OI?(n&&(this.text+=e.slice(t,this.prevI)+`
|
|
67
|
+
`),t=this.i):SI(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(wI(e)){this.closedRoot&&!this.fragment&&this.fail(`documents may contain only one root element`),this.state=eL,this.name=xI(e);return}switch(e){case LI:this.state=cL,this.name=``;break;case jI:this.state=$I,this.openWakaBang=``;break;case HI:this.state=gL,this.text=``;break;default:this.fail(`unexpected character in tag`),this.state=ZI}}}sOpenWakaBang(){let e=this.getCode();if(e!==-1)switch(this.openWakaBang+=xI(e),this.openWakaBang){case`[CDATA[`:this.state=pL,this.text=``,this.openWakaBang=``;break;case`--`:this.state=uL,this.text=``,this.openWakaBang=``;break;case`DOCTYPE`:this.state=vL,this.text=``,this.openWakaBang=``;break;default:this.openWakaBang.length>=7&&(this.fail(`incorrect syntax`),this.state=ZI)}}sOpenTag(){let{chunk:e}=this,t=this.i,n=this.i;for(;n<e.length;){let t=e.charCodeAt(n);if(t<128?YI[t]===1:TI(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.duplicateAttributes=null,this.sawRoot=!0,r===VI?this.openTag():r===LI?this.state=tL:SI(r)?this.scanAttributes():(this.fail(`unexpected character in tag`),this.state=nL))}scanAttributes(){let{chunk:e,trackPosition:t}=this,n=e.length,r=this.i,i=r;for(;;){for(;i<n;){let n=e.charCodeAt(i);if(n===AI||n===DI||!t&&(n===OI||n===kI))i++;else break}if(i>=n)break;let a=e.charCodeAt(i);if(a===VI){this.finishScan(r,i+1),this.openTag();return}if(a===LI){if(i+1<n&&e.charCodeAt(i+1)===VI){this.finishScan(r,i+2),this.openSelfClosingTag();return}break}if(a>=128||JI[a]!==1)break;let o=i;for(i++;i<n&&(a=e.charCodeAt(i),a<128&&YI[a]===1);)i++;let s=i+1<n&&e.charCodeAt(i)===BI?e.charCodeAt(i+1):-1;if(s!==MI&&s!==FI){i=o;break}let c=i+2,l=c;for(;l<n&&(a=e.charCodeAt(l),a>=32&&a<=126&&a!==s&&a!==PI&&a!==zI);)l++;if(l>=n||a!==s){i=o;break}if(this.addAttribute(e.slice(o,i),e.slice(c,l)),i=l+1,a=i<n?e.charCodeAt(i):-1,a!==AI&&a!==DI&&a!==OI&&a!==kI&&a!==VI&&a!==LI){this.finishScan(r,i),this.state=sL;return}}this.finishScan(r,i),this.state=nL}finishScan(e,t){this.i=t,this.trackPosition&&(this.column+=t-e)}sOpenTagSlash(){let e=this.getCode();e!==-1&&(e===VI?this.openSelfClosingTag():(this.fail(`expected >`),this.state=nL))}sAttrib(){let e=this.skipSpaces();e!==-1&&(wI(e)?(this.name=xI(e),this.state=rL):e===VI?this.openTag():e===LI?this.state=tL: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?YI[t]===1:TI(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===BI?this.state=aL:SI(r)?this.state=iL:r===VI?(this.fail(`attribute without value`),this.addAttribute(this.name,this.name),this.name=``,this.openTag()):this.fail(`unexpected character in attribute name`))}sAttribNameSawWhite(){let e=this.skipSpaces();e!==-1&&(e===BI?this.state=aL:(this.fail(`attribute without value`),this.name=``,this.text=``,e===VI?this.openTag():wI(e)?(this.name=xI(e),this.state=rL):(this.fail(`unexpected character`),this.state=nL)))}sAttribValue(){let e=this.skipSpaces();e!==-1&&(CI(e)?(this.q=e,this.text=``,this.state=oL):(this.fail(`unquoted attribute value`),this.state=ZI))}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!==PI&&r!==zI){this.i++,this.trackPosition&&this.column++;continue}if(r===e){this.prevI=this.i,this.i++,this.trackPosition&&this.column++,this.addAttribute(this.name,this.text+t.slice(n,this.prevI)),this.name=``,this.text=``,this.q=null,this.state=sL;return}if(r===PI){this.prevI=this.i,this.i++,this.trackPosition&&this.column++,this.text+=t.slice(n,this.prevI),this.state=SL,this.entityReturnState=oL,this.entity=``;return}if(r===zI){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.addAttribute(this.name,this.text),this.name=``,this.text=``,this.q=null,this.unget(),this.state=ZI;return}if(r===DI||r===OI){this.prevI=this.i,this.i++,r===OI&&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===kI){this.prevI=this.i,this.i++,t.charCodeAt(this.i)===OI&&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&&(SI(e)?this.state=nL:e===VI?this.openTag():e===LI?this.state=tL:wI(e)?(this.fail(`no whitespace between attributes`),this.name=xI(e),this.state=rL):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;wI(e)?this.name=xI(e):this.fail(`unexpected character in close tag`);return}let n=e.charCodeAt(t);if(n<128?JI[n]!==1:!wI(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?YI[n]===1:TI(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===VI?this.closeTag():SI(r)?this.state=lL:this.fail(`unexpected character in close tag`))}sCloseTagSawWhite(){let e=this.skipSpaces();e!==-1&&(e===VI?this.closeTag():this.fail(`unexpected character in close tag`))}sComment(){let e=this.getCode();e!==-1&&(e===II?this.state=dL:this.text+=xI(e))}sCommentEnding(){let e=this.getCode();e!==-1&&(e===II?this.state=fL:(this.text+=`-`+xI(e),this.state=uL))}sCommentEnded(){let e=this.getCode();e!==-1&&(e===VI?(this._handlers.comment?.(this.text),this.text=``,this.state=ZI):e===II?this.text+=`-`:(this.fail(`malformed comment`),this.text+=`--`+xI(e),this.state=uL))}sCData(){let e=this.getCode();e!==-1&&(e===WI?this.state=mL:this.text+=xI(e))}sCDataEnding(){let e=this.getCode();e!==-1&&(e===WI?this.state=hL:(this.text+=`]`+xI(e),this.state=pL))}sCDataEnding2(){let e=this.getCode();e!==-1&&(e===VI?(this._handlers.cdata?this._handlers.cdata(this.text):this._handlers.text&&this.text.length>0&&this._handlers.text(this.text),this.text=``,this.state=ZI):e===WI?this.text+=`]`:(this.text+=`]]`+xI(e),this.state=pL))}sPI(){let e=this.getCode();e!==-1&&(e===HI?this.state=_L:this.text+=xI(e))}sPIEnding(){let e=this.getCode();if(e!==-1){if(e===VI){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=ZI}else e===HI?this.text+=`?`:(this.text+=`?`+xI(e),this.state=gL)}}sDoctype(){let e=this.getCode();e!==-1&&(e===VI?(this.text=``,this.state=ZI):CI(e)?(this.q=e,this.state=yL):e===UI?this.state=bL:this.text+=xI(e))}sDoctypeQuote(){let e=this.getCode();e!==-1&&(e===this.q?(this.q=null,this.state=vL):this.text+=xI(e))}sDoctypeDTD(){let e=this.getCode();e!==-1&&(e===WI?this.state=vL:CI(e)&&(this.q=e,this.state=xL))}sDoctypeDTDQuoted(){let e=this.getCode();e!==-1&&e===this.q&&(this.q=null,this.state=bL)}sEntity(){let e=this.getCode();if(e!==-1){if(e===RI){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 TI(e)||e===NI?(this.entity+=xI(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+xI(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`,`entityExpansions`),``):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)+`;`),``):EI(t)?String.fromCodePoint(t):(this.fail(`invalid character entity`),``)}skipSpaces(){for(;;){let e=this.getCode();if(e===-1||!SI(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=/* @__PURE__ */ 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)}}}addAttribute(e,t){let n=this.tag.attributes;e in n&&(this.duplicateAttributes??=[]).push(e),n[e]=t}reportDuplicateAttributes(){let e=this.duplicateAttributes;if(e!==null){this.duplicateAttributes=null;for(let t of e)this.fail(`duplicate attribute: ${t}`)}}openTag(){let e=this.tag;e.isSelfClosing=!1,this.reportDuplicateAttributes(),this.xmlns&&this.applyNamespaces(e),this.maxDepth>0&&this.tags.length>=this.maxDepth&&this.fail(`maximum element nesting depth (${this.maxDepth}) exceeded`,`depth`),this._handlers.opentag?.(e),this.tags.push(e),this.name=``,this.state=ZI}openSelfClosingTag(){let e=this.tag;e.isSelfClosing=!0,this.reportDuplicateAttributes(),this.xmlns&&this.applyNamespaces(e),this.maxDepth>0&&this.tags.length>=this.maxDepth&&this.fail(`maximum element nesting depth (${this.maxDepth}) exceeded`,`depth`),this._handlers.opentag?.(e),this._handlers.closetag?.(e),this.xmlns&&this._nsStack.pop(),this.tags.length===0&&(this.closedRoot=!0),this.name=``,this.state=ZI}closeTag(){let{tags:e,name:t}=this;if(this.state=ZI,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 TL(e){let t=Object.create(null);for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&!PC(n)&&(t[n]=e[n]);return t}function EL(e,t){return{type:`element`,name:e,attributes:TL(t),children:[]}}function DL(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 OL(e,t){let n=t?.comments??!1,r=t?.processingInstructions??!1,i=t?.cdataAsNodes??!1,a=t?.fragment??!1,o=new CL({position:!0,fragment:t?.fragment??!1,xmlns:t?.xmlns??!1,maxDepth:t?.maxDepth,maxEntityExpansions:t?.maxEntityExpansions,invalidCharHandling:t?.invalidCharHandling}),s=EL(`__root__`,{}),c=[s],l;o.on(`error`,e=>{throw e instanceof WD?e:new WD(e.message)}),o.on(`opentag`,e=>{let t=EL(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&&DL(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 DL(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();let u=s.children.filter(e=>e.type===`element`);if(u.length===0)throw new WD(`document has no root element`);if(!a&&u.length>1)throw new WD(`document has multiple root elements`);let d=s.children.filter(e=>e.type===`comment`||e.type===`processing-instruction`);return{declaration:l,root:u[0],roots:u,prologue:d}}function $(e,t){for(let n of e.children)if(n.type===`element`&&n.name===t)return n}function kL(e,t){let n=[];for(let r of e.children)r.type===`element`&&r.name===t&&n.push(r);return n}function AL(e){switch(e.type){case`text`:case`cdata`:return e.value;case`element`:{let t=``;for(let n of e.children)t+=AL(n);return t}default:return``}}var jL=n((()=>{zC(),GD(),wL()}));function ML(e){return e._chartsheets.map(t=>GF(t,e))}var NL=n((()=>{$F(),EC(),PE(),bI()})),PL=/* @__PURE__ */ r({chartToPdf:()=>IL,excelToPdf:()=>FL});async function FL(e,t){return t?.recalculate?.(e),Q_(await LL(e,t),t)}async function IL(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 ng({fonts:t.fonts,preferSystemFonts:t.preferSystemFonts,textLanguage:t.textLanguage,disableFontAutoDiscovery:t.disableFontAutoDiscovery});t.onWarning&&s.onWarning(t.onWarning),(t.title||t.author)&&s.setMetadata({title:t.title,author:t.author});let c=s.addPage({width:a,height:o}),l=uk(e)!==void 0,u=uk(e),d=l&&u!==void 0&&SP(u);if(!(t.forceRaster===!0||l&&!d)){if(l&&u!==void 0)return CP(c,u,{x:i,y:o-i-r,width:n,height:r},{title:t.title,regionMap:t.regionMap}),s.build();let a=lk(e);if(!a)throw Error(`chartToPdf: Chart has neither a classic model nor a ChartEx model to render`);return Ij(c,a,{x:i,y:o-i-r,width:n,height:r}),s.build()}let f=t.rasterScale??2,p=l?await bP(uk(e),{width:n,height:r,scale:f}):await Nj(lk(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 LL(e,t){let n=await Promise.all(NE(e).map(n=>RL(n,e,t))),r=await Promise.all(ML(e).map(n=>yR(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?qL(e.sourceFilePath):void 0,sourceFileName:e.sourceFilePath?KL(e.sourceFilePath):void 0,locale:e.language,sheets:i}}async function RL(e,t,n){let r=_I(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(XL(i?i.style:YL(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=/* @__PURE__ */ 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=/* @__PURE__ */ new Map;if(o)for(let t=a.top;t<=a.bottom;t++){let n=yE(e,t);if(!n)continue;let r=/* @__PURE__ */ new Map;for(let t=1;t<=n.cells.length;t++){let i=n.cells[t-1];if(i)(xT(i)!==DC.Null&&xT(i)!==DC.Merge||XL(i.style))&&r.set(t,JL(i));else{let i=YL(e,n,t);XL(i)&&r.set(t,ZL(t,i))}}c.set(t,{hidden:n.hidden||void 0,height:n.height??void 0,customHeight:n.customHeight||void 0,cells:r})}let l=vI(e)?yI(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=zL(e),g=n?.draft??e.pageSetup?.draft??!1,_=g?void 0:uR(e,t),v=g?void 0:await dR(e),y=g?void 0:fR(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:/* @__PURE__ */ new Map})}return{kind:`worksheet`,name:_E(e),state:e.state??`visible`,orderNo:e.orderNo,bounds:a,columns:s,rows:c,merges:u,pageSetup:f,headerFooter:HL(e,t,g),rowBreaks:p,colBreaks:m,images:_,charts:b,comments:h}}function zL(e){let t=[];for(let n of e._rows??[])if(n)for(let e of n.cells??[]){if(!e)continue;let n=jT(e),r=VL(n?.note);r&&t.push({ref:e.address,text:r,author:n?.author,anchor:BL(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 BL(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 VL(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 HL(e,t,n=!1){let r=e.headerFooter,i=[r.oddHeader,r.oddFooter,r.evenHeader,r.evenFooter,r.firstHeader,r.firstFooter],a=n?[]:WL(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:GL(r.oddHeader),oddFooter:GL(r.oddFooter),evenHeader:GL(r.evenHeader),evenFooter:GL(r.evenFooter),firstHeader:GL(r.firstHeader),firstFooter:GL(r.firstFooter),images:a}}function UL(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:GL(e.oddHeader??null),oddFooter:GL(e.oddFooter??null),evenHeader:GL(e.evenHeader??null),evenFooter:GL(e.evenFooter??null),firstHeader:GL(e.firstHeader??null),firstFooter:GL(e.firstFooter??null),images:t}}function WL(e,t){let n=yI(e).media.filter(e=>e.type===`headerImage`),r=gI(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=kE(t,e.imageId),r=n?.extension===`jpg`?`jpeg`:n?.extension,i=n?.buffer instanceof Uint8Array?n.buffer:n?.base64?r_(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 GL(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:tp(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 KL(e){let t=e.replace(/\\/g,`/`);return t.slice(t.lastIndexOf(`/`)+1)}function qL(e){let t=Math.max(e.lastIndexOf(`/`),e.lastIndexOf(`\\`));return t>=0?e.slice(0,t+1):``}function JL(e){let t=QL(xT(e)),n=$L(e),r=rR(e.style);return{type:t,value:nR(e),text:n,style:r,hyperlink:AT(e)||void 0,result:PT(e)??void 0,col:bT(e)}}function YL(e,t,n){return vT(t.style,e._columns[n-1]?.style??{},{})}function XL(e){return!!(e.border&&(e.border.top||e.border.right||e.border.bottom||e.border.left)||e.fill||e.font)}function ZL(e,t){return{type:sg.Empty,value:null,text:``,style:rR(t),col:e}}function QL(e){switch(e){case DC.Null:return sg.Empty;case DC.Merge:return sg.Merge;case DC.Number:return sg.Number;case DC.String:case DC.SharedString:return sg.String;case DC.Date:return sg.Date;case DC.Hyperlink:return sg.Hyperlink;case DC.Formula:return sg.Formula;case DC.RichText:return sg.RichText;case DC.Boolean:return sg.Boolean;case DC.Error:return sg.Error;default:return sg.String}}function $L(e){return ND(eR(e))}function eR(e){if(!e)return``;switch(xT(e)){case DC.Null:case DC.Merge:return``;case DC.RichText:case DC.Hyperlink:return MT(e)??``;case DC.Error:return CT(e)?.error??MT(e)??``;case DC.Formula:{let t=PT(e);return t==null?MT(e)??``:typeof t==`object`&&`error`in t?t.error:tR(t,e.style?.numFmt,ET(e))}default:{let t=CT(e);return t==null?``:tR(t,e.style?.numFmt,ET(e))}}}function tR(e,t,n){let r=typeof t==`string`?t:t?.formatCode;if(r&&(typeof e==`number`||e instanceof Date||typeof e==`boolean`))try{return Xw(e,r,void 0,n)}catch{}return e instanceof Date?e.toLocaleDateString():String(e)}function nR(e){if(xT(e)===DC.RichText){let t=CT(e);if(t?.richText)return{richText:t.richText.map(e=>({text:ND(e.text),font:e.font?iR(e.font):void 0}))}}return CT(e)}function rR(e){if(e)return{font:e.font?iR(e.font):void 0,numFmt:e.numFmt,fill:e.fill?oR(e.fill):void 0,border:e.border?cR(e.border):void 0,alignment:e.alignment?lR(e.alignment):void 0}}function iR(e){return{name:e.name,size:e.size,bold:e.bold,italic:e.italic,strike:e.strike,underline:e.underline,color:e.color?aR(e.color):void 0}}function aR(e){return{argb:e.argb,theme:e.theme,tint:e.tint,indexed:e.indexed}}function oR(e){return e.type===`gradient`?{type:`gradient`,stops:e.stops.map(e=>({position:e.position,color:aR(e.color)}))}:{type:`pattern`,pattern:e.pattern,fgColor:e.fgColor?aR(e.fgColor):void 0}}function sR(e){return{style:e.style,color:e.color?aR(e.color):void 0}}function cR(e){return{top:e.top?sR(e.top):void 0,right:e.right?sR(e.right):void 0,bottom:e.bottom?sR(e.bottom):void 0,left:e.left?sR(e.left):void 0}}function lR(e){return{horizontal:e.horizontal,vertical:e.vertical,wrapText:e.wrapText,indent:e.indent,textRotation:e.textRotation===`vertical`?255:e.textRotation}}function uR(e,t){let n=pI(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=kE(t,Number(n));if(!i)continue;let a;if(i.buffer instanceof Uint8Array?a=i.buffer:i.base64&&(a=r_(i.base64)),!a||a.length===0)continue;let o=i.extension;(o===`jpeg`||o===`png`)&&r.push({data:a,format:o,range:{tl:{col:nk(e.range.tl),row:ik(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:nk(e.range.br),row:ik(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 dR(e){let t=mI(e);if(t.length===0)return;let n=[];for(let r of t){let t=gR(r);if(!t)continue;let i=lk(r),a=uk(r);if(i){n.push({range:t,drawVector:(e,t)=>{Ij(e,i,{x:t.x,y:t.y,width:t.width,height:t.height})}});continue}if(a){if(_R(a,e),SP(a))n.push({range:t,drawVector:(e,t)=>{CP(e,a,{x:t.x,y:t.y,width:t.width,height:t.height})}});else{let{widthPx:e,heightPx:r}=vR(t),i=await bP(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 fR(e){let t=hI(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=pR(o[1]),c=parseInt(o[2],10),l=mR(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)=>{hR(e,r,l,t)}})}return n.length>0?n:void 0}function pR(e){let t=0;for(let n=0;n<e.length;n++)t=t*26+(e.charCodeAt(n)&31);return t}function mR(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=ME(vE(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=pR(o[1]),l=parseInt(o[2],10),u=pR(s[1]),d=parseInt(s[2],10),f=(e,t)=>{let n=SE(i,e,t);if(!n)return NaN;let r=CT(n),a=typeof r==`number`?r:PT(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 hR(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=eI(t,n,{width:o,height:s,padding:2}),l=e=>i+e,u=e=>a+(s-e),d=e=>{let t=tp(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 gR(e){let t=e.range;if(!t?.tl)return;let n=t.tl,r=t.br;return{tl:{col:nk(n),row:ik(n),nativeCol:n.nativeCol,nativeRow:n.nativeRow,nativeColOff:n.nativeColOff,nativeRowOff:n.nativeRowOff},br:r?{col:nk(r),row:ik(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 _R(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{LE(e,vE(t),t)}catch{}}function vR(e){if(e.ext&&e.extUnit===`emu`){let t=pg(e.ext.width),n=pg(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 yR(e,t,n){let r=JF(e),i=YF(e),a=n?.draft??QF(e)?.draft??!1,o={};if(!a&&r){let e=r;o={drawVector:(t,n)=>{Ij(t,e,{x:n.x,y:n.y,width:n.width,height:n.height})}}}else if(!a&&i){if(SP(i)){let e=i;o={drawVector:(t,n)=>{CP(t,e,{x:n.x,y:n.y,width:n.width,height:n.height})}}}else o={raster:{data:await bP(i,{width:xR.width,height:xR.height,scale:2}),format:`png`}}}let s=QF(e)?.orientation,c=s===`portrait`||s===`landscape`?s:`landscape`,l=QF(e),u=ZF(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:KF(e),state:qF(e),orderNo:XF(e).orderNo,orientation:c,chart:o,pageSetup:d,headerFooter:UL(XF(e).headerFooter,a?[]:bR(XF(e).headerImages,t))}}function bR(e,t){return(e??[]).flatMap(e=>{let n=kE(t,e.imageId),r=n?.extension===`jpg`?`jpeg`:n?.extension,i=n?.buffer instanceof Uint8Array?n.buffer:n?.base64?r_(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 xR,SR=n((()=>{BE(),dk(),WF(),pP(),ck(),QT(),$F(),NC(),sI(),NL(),PE(),bI(),$w(),rg(),jv(),lg(),zD(),op(),xg(),o_(),xR={width:1280,height:720}}));function CR(e,t){if(e)return e.type===`nil`?0:e.type===`dxa`?e.value:t}function wR(e,t){let n=e?.cellMargins,r=t?.margins,i=(e,t,n)=>CR(e,n)??CR(t,n)??n;return{top:i(r?.top,n?.top,PR.top),left:i(r?.left??r?.start,n?.left??n?.start,PR.left),bottom:i(r?.bottom,n?.bottom,PR.bottom),right:i(r?.right??r?.end,n?.right??n?.end,PR.right)}}function TR(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 ER(e,t,n){if(n!=null)return 1;let r=e.heading(t);return r?TR(r.level):1}function DR(e,t){if(!e)return t;if(!t)return e;let n={...e,...t};if(e.font!==void 0&&t.font!==void 0){let r=typeof e.font==`string`?{ascii:e.font}:e.font,i=typeof t.font==`string`?{ascii:t.font}:t.font;return{...n,font:{...r,...i}}}return n}function OR(e,t,n){return t.properties?.style?e.run(t,n).runProperties:DR(n,t.properties)}function kR(e,t,n){if(t<=0)return[];let r=e.columnWidths;if(r&&r.length>=t){let e=r.slice(0,t),i=e.reduce((e,t)=>e+t,0);if(i>0){let t=n/i;return e.map(e=>e*t)}}return Array(t).fill(n/t)}function AR(e,t){let n=wR(e,void 0);return t*jR+(n.top+n.bottom)/20}var jR,MR,NR,PR,FR,IR=n((()=>{jR=1.2,MR=.65,NR=.33,PR={top:0,right:108,bottom:0,left:108},FR=.01}));function LR(e,t={}){let n=new ng(t.fontManager?{fontManager:t.fontManager,preferSystemFonts:t.preferSystemFonts,textLanguage:t.textLanguage,disableFontAutoDiscovery:t.disableFontAutoDiscovery}:{fonts:t.fonts,preferSystemFonts:t.preferSystemFonts,textLanguage:t.textLanguage,disableFontAutoDiscovery:t.disableFontAutoDiscovery});t.onWarning&&n.onWarning(t.onWarning),(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)RR(n.addPage({width:r.geometry.width,height:r.geometry.height}),r,t);return n}function RR(e,t,n){let r={...t.geometry,marginTop:0};if(t.header)for(let i of t.header)zR(e,i,r,n);for(let r of t.content)BR(e,r,t.geometry,n);if(t.footer)for(let i of t.footer)zR(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=VR({...t.geometry,marginTop:0},n.y);e.drawLine({x1:r,y1:a,x2:r+i,y2:a,color:cz,lineWidth:.5})}if(t.footnoteArea)for(let i of t.footnoteArea)WR(e,i,r,n)}function zR(e,t,n,r){t.type===`paragraph`?WR(e,t,n,r):YR(e,t,n,r)}function BR(e,t,n,r){switch(t.type){case`paragraph`:WR(e,t,n,r);break;case`table`:YR(e,t,n,r);break;case`image`:XR(e,t,n);break;case`float`:QR(e,t,n,r);break;case`textBox`:$R(e,t,n,r);break;case`shape`:ez(e,t,n,r);break;case`chart`:tz(e,t,n,r);break;case`sdt`:nz(e,t,n,r);break;case`math`:rz(e,t,n,r);break;case`checkBox`:iz(e,t,n);break;case`tableOfContents`:az(e,t,n,r);break;case`altChunk`:oz(e,t,n);break;case`opaqueDrawing`:sz(e,t,n);break;default:throw Error(`renderLayoutDocumentToPdf: unhandled PageContent ${t.type}`)}}function VR(e,t){return e.height-e.marginTop-t}function HR(e,t){return e.marginLeft+t}function UR(e){return tp(e)??void 0}function WR(e,t,n,r){GR(e,t,n);for(let i of t.lines)KR(e,t,i,n,r)}function GR(e,t,n){let r=t.decorationInsets;if(!r)return;let i={x:t.rect.x+r.left,y:t.rect.y+r.top,width:Math.max(0,t.rect.width-r.left-r.right),height:Math.max(0,t.rect.height-r.top-r.bottom)};if(t.backgroundColor){let r=UR(t.backgroundColor);if(r){let a=t.borders?.left?.space??0;e.drawRect({x:HR(n,i.x-a),y:VR(n,i.y+i.height),width:i.width+a*2,height:i.height,fill:r})}}let a=t.borders;if(!a)return;let o=HR(n,i.x),s=HR(n,i.x+i.width),c=VR(n,i.y),l=VR(n,i.y+i.height),u=(t,n,r,i,a)=>{let o=UR(t.color)??cz;e.drawLine({x1:n,y1:r,x2:i,y2:a,color:o,lineWidth:t.width})};if(a.top){let e=c+a.top.space;u(a.top,o,e,s,e)}if(a.bottom){let e=l-a.bottom.space;u(a.bottom,o,e,s,e)}if(a.left){let e=o-a.left.space;u(a.left,e,l,e,c)}if(a.right){let e=s+a.right.space;u(a.right,e,l,e,c)}}function KR(e,t,n,r,i){let a=VR(r,t.rect.y+n.y+n.baseline),o=t.rect.y+n.y;for(let s of n.runs)s.type===`image`?qR(e,s,t.rect.x,o,n.baseline,r):JR(e,s,t.rect.x,a,r,i)}function qR(e,t,n,r,i,a){if(t.data.length===0)return;let o=ZR(t.mimeType);if(!o)return;let s=HR(a,n+t.x),c=VR(a,r+i);e.drawImage({data:t.data,format:o,x:s,y:c,width:t.width,height:t.height})}function JR(e,t,n,r,i,a){let o=HR(i,n+t.x),s=t.font||a.defaultFont||`Helvetica`,c=t.fontSize||a.defaultFontSize||11,l=UR(t.color)??cz,u=r;if(t.verticalAlign===`superscript`?u=r+c*NR:t.verticalAlign===`subscript`&&(u=r-c*NR),t.text.length>0&&e.drawText(t.text,{x:o,y:u,fontFamily:s,fontSize:c,bold:t.bold,italic:t.italic,color:l,charSpacing:t.charSpacing,wordSpacing:t.wordSpacing}),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 YR(e,t,n,r){for(let i of t.cells){let a=HR(n,t.rect.x+i.rect.x),o=VR(n,t.rect.y+i.rect.y+i.rect.height),s=i.rect.width,c=i.rect.height;if(i.backgroundColor){let t=UR(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=UR(l.top.color)??cz;e.drawLine({x1:a,y1:o+c,x2:a+s,y2:o+c,color:t,lineWidth:l.top.width})}if(l.bottom){let t=UR(l.bottom.color)??cz;e.drawLine({x1:a,y1:o,x2:a+s,y2:o,color:t,lineWidth:l.bottom.width})}if(l.left){let t=UR(l.left.color)??cz;e.drawLine({x1:a,y1:o,x2:a,y2:o+c,color:t,lineWidth:l.left.width})}if(l.right){let t=UR(l.right.color)??cz;e.drawLine({x1:a+s,y1:o,x2:a+s,y2:o+c,color:t,lineWidth:l.right.width})}}let u=e.getContentStream();i.clipToBounds&&(u.save(),u.rect(a,o,s,c).clip().endPath());for(let a of i.content)a.type===`paragraph`?WR(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):YR(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);i.clipToBounds&&u.restore()}}function XR(e,t,n){if(t.data.length===0)return;let r=ZR(t.mimeType);if(!r)return;let i=HR(n,t.rect.x),a=VR(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 ZR(e){let t=e.toLowerCase();return t===`image/jpeg`?`jpeg`:t===`image/png`?`png`:null}function QR(e,t,n,r){t.content.type===`image`?XR(e,t.content,n):WR(e,t.content,n,r)}function $R(e,t,n,r){let i=HR(n,t.rect.x),a=VR(n,t.rect.y+t.rect.height),o=t.background?UR(t.background):void 0,s=t.border?UR(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)BR(e,n,c,r)}function ez(e,t,n,r){let i=HR(n,t.rect.x),a=VR(n,t.rect.y+t.rect.height),o=t.fillColor?UR(t.fillColor):void 0,s=t.strokeColor?UR(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??cz,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)BR(e,n,i,r)}}function tz(e,t,n,r){let i={x:HR(n,t.rect.x),y:VR(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 nz(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)BR(e,n,i,r)}function rz(e,t,n,r){let i=HR(n,t.rect.x),a=VR(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 iz(e,t,n){let r=HR(n,t.rect.x),i=VR(n,t.rect.y+t.rect.height),a=t.rect.height*.85;if(e.drawRect({x:r,y:i,width:a,height:a,stroke:cz,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:cz,lineWidth:1}),e.drawLine({x1:o,y1:s,x2:c,y2:l,color:cz,lineWidth:1})}}function az(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)WR(e,n,i,r)}function oz(e,t,n){let r=HR(n,t.rect.x),i=VR(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 sz(e,t,n){let r=HR(n,t.rect.x),i=VR(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 cz,lz=n((()=>{rg(),op(),IR(),cz={r:0,g:0,b:0}}));function uz(e){return`type`in e?!1:`content`in e&&Array.isArray(e.content)}function dz(e){return`type`in e&&e.type===`hyperlink`}function fz(e){let t=/^[0-9a-f]+$/i.test(e.char)?parseInt(e.char,16):NaN;return Number.isInteger(t)&&t<=1114111?String.fromCodePoint(t):``}function pz(e){let t=``;for(let n of e)switch(n.type){case`mathRun`:t+=n.text;break;case`mathFraction`:t+=`(${pz(n.numerator)})/(${pz(n.denominator)})`;break;case`mathRadical`:n.hideDegree?t+=`√(${pz(n.content)})`:n.degree?t+=`${pz(n.degree)}√(${pz(n.content)})`:t+=`√(${pz(n.content)})`;break;case`mathSuperScript`:t+=`${pz(n.base)}^(${pz(n.superScript)})`;break;case`mathSubScript`:t+=`${pz(n.base)}_(${pz(n.subScript)})`;break;case`mathSubSuperScript`:t+=`${pz(n.base)}_(${pz(n.subScript)})^(${pz(n.superScript)})`;break;case`mathPreSubSuperScript`:t+=`_(${pz(n.preSubScript)})^(${pz(n.preSuperScript)})${pz(n.base)}`;break;case`mathDelimiter`:t+=n.beginChar??`(`,t+=n.content.map(e=>pz(e)).join(n.separatorChar??`,`),t+=n.endChar??`)`;break;case`mathNary`:t+=n.char??`∑`,n.sub&&(t+=`_(${pz(n.sub)})`),n.sup&&(t+=`^(${pz(n.sup)})`),t+=pz(n.content);break;case`mathFunction`:t+=pz(n.name),t+=pz(n.content);break;case`mathLimit`:t+=pz(n.base),t+=n.limitType===`upper`?`^`:`_`,t+=`(${pz(n.limit)})`;break;case`mathMatrix`:t+=`[`,t+=n.rows.map(e=>e.map(e=>pz(e)).join(`,`)).join(`;`),t+=`]`;break;case`mathAccent`:t+=pz(n.content),n.char&&(t+=n.char);break;case`mathBar`:t+=pz(n.content);break;case`mathBox`:t+=pz(n.content);break;case`mathEquationArray`:t+=n.rows.map(e=>pz(e)).join(`
|
|
68
|
+
`);break;case`mathGroupChar`:t+=pz(n.base);break;case`mathPhantom`:t+=pz(n.content);break;case`mathBorderBox`:t+=pz(n.content)}return t}var mz=n((()=>{}));function hz(e,t,n){let r={includeHeaders:n?.includeHeaders??!0,includeFooters:n?.includeFooters??!0,includeFootnotes:n?.includeFootnotes??!0,includeEndnotes:n?.includeEndnotes??!0,includeComments:n?.includeComments??!1},i={section:0,depth:0,inHeader:!1,inFooter:!1,inFootnote:!1,inEndnote:!1,inComment:!1,index:0};if(gz(e.body,t,i)!==`stop`){if(r.includeHeaders&&e.headers)for(let[,n]of e.headers){let e={...i,inHeader:!0};if(gz(n.content.children,t,e)===`stop`)return}if(r.includeFooters&&e.footers)for(let[,n]of e.footers){let e={...i,inFooter:!0};if(gz(n.content.children,t,e)===`stop`)return}if(r.includeFootnotes&&e.footnotes)for(let n of e.footnotes){if(n.id<=0)continue;let e={...i,inFootnote:!0};if(gz(n.content,t,e)===`stop`)return}if(r.includeEndnotes&&e.endnotes)for(let n of e.endnotes){if(n.id<=0)continue;let e={...i,inEndnote:!0};if(gz(n.content,t,e)===`stop`)return}if(r.includeComments&&e.comments)for(let n of e.comments){let e={...i,inComment:!0};if(gz(n.content,t,e)===`stop`)return}}}function gz(e,t,n){let r=n??{section:0,depth:0,inHeader:!1,inFooter:!1,inFootnote:!1,inEndnote:!1,inComment:!1,index:0},i=r.section;for(let n=0;n<e.length;n++){let a=e[n];if(_z(a,t,{...r,section:i,index:n})===`stop`)return`stop`;a.type===`paragraph`&&a.properties?.sectionProperties&&r.depth===0&&i++}return`continue`}function _z(e,t,n){if(n.depth>Ez)return`continue`;switch(e.type){case`paragraph`:return vz(e,t,n);case`table`:return Sz(e,t,n);case`sdt`:return Cz(e,t,n);case`math`:return wz(e,t,n);case`floatingImage`:return t.visitFloatingImage?.(e,n),`continue`;case`textBox`:{let r=e,i=t.visitTextBox?.(r,n);if(i===`stop`)return`stop`;if(i===`skip`)return`continue`;if(r.content){let e={...n,depth:n.depth+1};if(gz(r.content,t,e)===`stop`)return`stop`}return`continue`}case`tableOfContents`:{let r=e;if(t.visitTableOfContents?.(r,n),r.cachedParagraphs&&r.cachedParagraphs.length>0){let e={...n,depth:n.depth+1};if(gz(r.cachedParagraphs,t,e)===`stop`)return`stop`}return`continue`}case`altChunk`:return t.visitAltChunk?.(e,n),`continue`;case`chart`:return t.visitChart?.(e,n),`continue`;case`chartEx`:return t.visitChartEx?.(e,n),`continue`;case`checkBox`:return t.visitCheckBox?.(e,n),`continue`;case`drawingShape`:{let r=e;if(t.visitDrawingShape?.(r,n),r.textContent&&r.textContent.length>0){let e={...n,depth:n.depth+1};if(gz(r.textContent,t,e)===`stop`)return`stop`}return`continue`}case`opaqueDrawing`:return t.visitOpaqueDrawing?.(e,n),`continue`;default:return`continue`}}function vz(e,t,n){let r=t.enterParagraph?.(e,n);if(r===`stop`)return`stop`;if(r===`skip`)return t.leaveParagraph?.(e,n),`continue`;for(let r=0;r<e.children.length;r++){let i=e.children[r];if(yz(i,t,{...n,index:r,depth:n.depth+1})===`stop`)return`stop`}return t.leaveParagraph?.(e,n),`continue`}function yz(e,t,n){if(`type`in e)switch(e.type){case`hyperlink`:return xz(e,t,n);case`insertedRun`:{let r=e,i=t.visitInsertedRun?.(r,n);return i===`stop`?`stop`:i===`skip`?`continue`:bz(r.run,t,n)}case`deletedRun`:return t.visitDeletedRun?.(e,n),`continue`;case`movedFromRun`:return t.visitMovedFromRun?.(e,n),`continue`;case`movedToRun`:{let r=e,i=t.visitMovedToRun?.(r,n);return i===`stop`?`stop`:i===`skip`?`continue`:bz(r.run,t,n)}case`bookmarkStart`:return t.visitBookmarkStart?.(e,n),`continue`;case`bookmarkEnd`:return t.visitBookmarkEnd?.(e.id,n),`continue`;case`commentRangeStart`:return t.visitCommentRangeStart?.(e,n),`continue`;case`commentRangeEnd`:return t.visitCommentRangeEnd?.(e,n),`continue`}return uz(e)?bz(e,t,n):`continue`}function bz(e,t,n){let r=t.enterRun?.(e,n);if(r===`stop`)return`stop`;if(r===`skip`)return t.leaveRun?.(e,n),`continue`;if(t.visitRunContent)for(let r of e.content)t.visitRunContent(r,e,n);return t.leaveRun?.(e,n),`continue`}function xz(e,t,n){let r=t.enterHyperlink?.(e,n);if(r===`stop`)return`stop`;if(r===`skip`)return t.leaveHyperlink?.(e,n),`continue`;for(let r=0;r<e.children.length;r++){let i=e.children[r];if(yz(i,t,{...n,index:r,depth:n.depth+1})===`stop`)return`stop`}return t.leaveHyperlink?.(e,n),`continue`}function Sz(e,t,n){let r=t.enterTable?.(e,n);if(r===`stop`)return`stop`;if(r===`skip`)return t.leaveTable?.(e,n),`continue`;for(let r=0;r<e.rows.length;r++){let i=e.rows[r],a={...n,index:r,depth:n.depth+1},o=t.enterTableRow?.(i,a);if(o===`stop`)return`stop`;if(o===`skip`){t.leaveTableRow?.(i,a);continue}for(let e=0;e<i.cells.length;e++){let n=i.cells[e],r={...a,index:e,depth:a.depth+1},o=t.enterTableCell?.(n,r);if(o===`stop`)return`stop`;if(o===`skip`){t.leaveTableCell?.(n,r);continue}if(gz(n.content,t,{...r,depth:r.depth+1})===`stop`)return`stop`;t.leaveTableCell?.(n,r)}t.leaveTableRow?.(i,a)}return t.leaveTable?.(e,n),`continue`}function Cz(e,t,n){let r=t.enterSdt?.(e,n);if(r===`stop`)return`stop`;if(r===`skip`)return t.leaveSdt?.(e,n),`continue`;let i={...n,depth:n.depth+1};for(let n=0;n<e.content.length;n++){let r=e.content[n],a={...i,index:n};if(`type`in r&&(r.type===`paragraph`||r.type===`table`)){if(_z(r,t,a)===`stop`)return`stop`}else if(`type`in r&&r.type===`sdt`){if(Cz(r,t,a)===`stop`)return`stop`}else if(!(`type`in r)&&uz(r)&&bz(r,t,a)===`stop`)return`stop`}return t.leaveSdt?.(e,n),`continue`}function wz(e,t,n){let r=t.enterMathBlock?.(e,n);return r===`stop`?`stop`:r===`skip`?(t.leaveMathBlock?.(e,n),`continue`):(t.visitMathContent&&Tz(e.content,t,n),t.leaveMathBlock?.(e,n),`continue`)}function Tz(e,t,n){for(let r of e)switch(t.visitMathContent(r,n),r.type){case`mathFraction`:Tz(r.numerator,t,n),Tz(r.denominator,t,n);break;case`mathRadical`:r.degree&&Tz(r.degree,t,n),Tz(r.content,t,n);break;case`mathSuperScript`:Tz(r.base,t,n),Tz(r.superScript,t,n);break;case`mathSubScript`:Tz(r.base,t,n),Tz(r.subScript,t,n);break;case`mathSubSuperScript`:Tz(r.base,t,n),Tz(r.subScript,t,n),Tz(r.superScript,t,n);break;case`mathPreSubSuperScript`:Tz(r.base,t,n),Tz(r.preSubScript,t,n),Tz(r.preSuperScript,t,n);break;case`mathDelimiter`:for(let e of r.content)Tz(e,t,n);break;case`mathNary`:r.sub&&Tz(r.sub,t,n),r.sup&&Tz(r.sup,t,n),Tz(r.content,t,n);break;case`mathFunction`:Tz(r.name,t,n),Tz(r.content,t,n);break;case`mathLimit`:Tz(r.base,t,n),Tz(r.limit,t,n);break;case`mathMatrix`:for(let e of r.rows)for(let r of e)Tz(r,t,n);break;case`mathAccent`:case`mathBar`:case`mathBox`:case`mathPhantom`:case`mathBorderBox`:Tz(r.content,t,n);break;case`mathGroupChar`:Tz(r.base,t,n);break;case`mathEquationArray`:for(let e of r.rows)Tz(e,t,n)}}var Ez,Dz=n((()=>{mz(),Ez=1e3}));function Oz(e){return`<math xmlns="http://www.w3.org/1998/Math/MathML">${e.map(e=>kz(e)).join(``)}</math>`}function kz(e){switch(e.type){case`mathRun`:return Az(e);case`mathFraction`:return Fz(e);case`mathSuperScript`:return Iz(e);case`mathSubScript`:return Lz(e);case`mathSubSuperScript`:return Rz(e);case`mathPreSubSuperScript`:return zz(e);case`mathRadical`:return Bz(e);case`mathDelimiter`:return Vz(e);case`mathNary`:return Hz(e);case`mathFunction`:return`<mrow><mo>${Wz(e.name)}</mo><mrow>${Wz(e.content)}</mrow></mrow>`;case`mathLimit`:return e.limitType===`lower`?`<munder><mrow>${Wz(e.base)}</mrow><mrow>${Wz(e.limit)}</mrow></munder>`:`<mover><mrow>${Wz(e.base)}</mrow><mrow>${Wz(e.limit)}</mrow></mover>`;case`mathMatrix`:return Uz(e);case`mathAccent`:return`<mover accent="true"><mrow>${Wz(e.content)}</mrow><mo>${kn(e.char??`̂`)}</mo></mover>`;case`mathBar`:return e.position===`bottom`?`<munder><mrow>${Wz(e.content)}</mrow><mo>̲</mo></munder>`:`<mover><mrow>${Wz(e.content)}</mrow><mo>¯</mo></mover>`;case`mathBox`:return`<mrow>${Wz(e.content)}</mrow>`;case`mathPhantom`:return`<mphantom><mrow>${Wz(e.content)}</mrow></mphantom>`;case`mathGroupChar`:return e.position===`top`?`<mover><mrow>${Wz(e.base)}</mrow><mo>${kn(e.char??`⏞`)}</mo></mover>`:`<munder><mrow>${Wz(e.base)}</mrow><mo>${kn(e.char??`⏟`)}</mo></munder>`;case`mathBorderBox`:return`<menclose notation="box"><mrow>${Wz(e.content)}</mrow></menclose>`;case`mathEquationArray`:return`<mtable>${e.rows.map(e=>`<mtr><mtd><mrow>${Wz(e)}</mrow></mtd></mtr>`).join(``)}</mtable>`;default:return``}}function Az(e){let t=e.text,n=e.properties?.italic===!1;return Mz(t).map(e=>Pz(e,n)).join(``)}function jz(e){return/\s/.test(e)?`text`:Gz(e)?`operator`:/[0-9.]/.test(e)?`number`:(/[A-Za-z]/.test(e),`identifier`)}function Mz(e){let t=[],n=Array.from(e);for(let e of n){let n=jz(e),r=t[t.length-1];r&&r.kind===n&&n!==`operator`?r.value+=e:t.push({kind:n,value:e})}return Nz(t)}function Nz(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 Pz(e,t){let n=kn(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 Fz(e){let t=Wz(e.numerator),n=Wz(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 Iz(e){return`<msup><mrow>${Wz(e.base)}</mrow><mrow>${Wz(e.superScript)}</mrow></msup>`}function Lz(e){return`<msub><mrow>${Wz(e.base)}</mrow><mrow>${Wz(e.subScript)}</mrow></msub>`}function Rz(e){return`<msubsup><mrow>${Wz(e.base)}</mrow><mrow>${Wz(e.subScript)}</mrow><mrow>${Wz(e.superScript)}</mrow></msubsup>`}function zz(e){return e.type===`mathPreSubSuperScript`?`<mmultiscripts><mrow>${Wz(e.base)}</mrow><mprescripts/><mrow>${Wz(e.preSubScript)}</mrow><mrow>${Wz(e.preSuperScript)}</mrow></mmultiscripts>`:``}function Bz(e){return e.degree&&e.degree.length>0?`<mroot><mrow>${Wz(e.content)}</mrow><mrow>${Wz(e.degree)}</mrow></mroot>`:`<msqrt><mrow>${Wz(e.content)}</mrow></msqrt>`}function Vz(e){let t=kn(e.beginChar??`(`),n=kn(e.endChar??`)`);return`<mrow><mo>${t}</mo>${e.content.map(e=>`<mrow>${Wz(e)}</mrow>`).join(`<mo>${kn(e.separatorChar??`|`)}</mo>`)}<mo>${n}</mo></mrow>`}function Hz(e){let t=kn(e.char??`∑`),n=Wz(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>${Wz(e.sub)}</mrow><mrow>${Wz(e.sup)}</mrow></munderover><mrow>${n}</mrow>`:r?`<munder><mo>${t}</mo><mrow>${Wz(e.sub)}</mrow></munder><mrow>${n}</mrow>`:i?`<mover><mo>${t}</mo><mrow>${Wz(e.sup)}</mrow></mover><mrow>${n}</mrow>`:`<mo>${t}</mo><mrow>${n}</mrow>`}function Uz(e){return`<mtable>${e.rows.map(e=>`<mtr>${e.map(e=>`<mtd><mrow>${Wz(e)}</mrow></mtd>`).join(``)}</mtr>`).join(``)}</mtable>`}function Wz(e){return e.map(e=>kz(e)).join(``)}function Gz(e){return Kz.has(e)}var Kz,qz=n((()=>{KD(),Kz=/* @__PURE__ */ new Set(/* @__PURE__ */ `+ - = < > ≤ ≥ × ÷ − ± ≠ ≈ ∞ ( ) [ ] { } | , . : ; ! ∑ ∏ ∫ ∬ ∭`.split(` `))}));function Jz(e){let t=Math.max(0,e.nominalHeight);if(e.ascent-e.descent<=0&&(e.imageAscent??0)<=0)return{baseline:t*Yz,height:t};let n=Math.max(0,e.ascent,e.imageAscent??0),r=Math.min(0,e.descent),i=n-r,a=Math.max(0,(t-i)/2)+n;return{baseline:a,height:e.exact?t:Math.max(t,a-r)}}var Yz,Xz=n((()=>{Yz=.8}));function Zz(e){if(uz(e))return e;switch(e.type){case`insertedRun`:case`movedToRun`:return e.run;default:return}}function Qz(e){return e?.vanish===!0}function*$z(e){for(let t of e){let e=Zz(t);e?yield e:dz(t)&&(yield*$z(t.children))}}var eB=n((()=>{mz()}));function tB(e){let t=e.trim().split(/\s+/),n=t[0]?.toUpperCase();if(n!==`PAGE`&&n!==`NUMPAGES`&&n!==`SECTIONPAGES`)return;let r;for(let e=1;e<t.length;e++){if(t[e]!==`\\*`||e+1>=t.length)return;let n=t[++e],i=dB[n];if(i)r=i;else if(!/^(MERGEFORMAT|CHARFORMAT)$/i.test(n))return}return{name:n,format:r}}function nB(e){switch(e){case void 0:case`decimal`:return`decimal`;case`upperRoman`:case`lowerRoman`:case`upperLetter`:case`lowerLetter`:return e;default:return}}function rB(e,t,n){let r=e.format??(e.name===`PAGE`?nB(n):`decimal`);return r===void 0?void 0:cB(t,r)}function iB(e){let t=[];for(let n of e.body)n.type===`paragraph`&&n.properties?.sectionProperties&&t.push(n.properties.sectionProperties);return t.push(e.sectionProperties),t}function aB(e,t){let n=t?.pageNumbering?.start,r=n??e+1,i=t?.breakType===`oddPage`?1:t?.breakType===`evenPage`?0:void 0;return i===void 0||r%2===i?{blankPage:!1,firstShown:r}:{blankPage:n===void 0,firstShown:r+1}}function oB(e,t,n,r){if(n.pageInSection!==1)return t+1;let i=r[n.sectionIndex];return e===void 0?i?.pageNumbering?.start??1:aB(t,i).firstShown}function sB(e){let t=/* @__PURE__ */ new Map;for(let{sectionIndex:n,pageInSection:r}of e)r!==0&&t.set(n,(t.get(n)??0)+1);return t}function cB(e,t){switch(t){case`lowerLetter`:return lB(e).toLowerCase();case`upperLetter`:return lB(e).toUpperCase();case`lowerRoman`:return uB(e).toLowerCase();case`upperRoman`:return uB(e).toUpperCase();case`decimalZero`:return e<10?`0${e}`:String(e);default:return String(e)}}function lB(e){if(e<=0)return`A`;let t=Math.ceil(e/26);return t>fB?String(e):String.fromCharCode(65+(e-1)%26).repeat(t)}function uB(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}var dB,fB,pB=n((()=>{dB={Arabic:`decimal`,arabic:`decimal`,roman:`lowerRoman`,ROMAN:`upperRoman`,Roman:`upperRoman`,alphabetic:`lowerLetter`,ALPHABETIC:`upperLetter`},fB=64}));function mB(e){let t=/* @__PURE__ */ new Map;for(let n of e.styles??[])t.set(n.styleId,n);return t}function hB(e,t,n,r){let i=r??mB(e),a=[],o=t.properties?.style;if(o){let e=o,t=/* @__PURE__ */ new Set;for(;e&&!t.has(e);)t.add(e),a.push(e),e=i.get(e)?.basedOn}let s={},c={};e.docDefaults&&(e.docDefaults.paragraphProperties&&(s=_B({},e.docDefaults.paragraphProperties)),e.docDefaults.runProperties&&(c=_B({},e.docDefaults.runProperties)));let l=c,u={},d={};for(let e=a.length-1;e>=0;e--){let t=i.get(a[e]);if(t&&(t.paragraphProperties&&(s=_B(s,t.paragraphProperties)),t.runProperties&&(c=_B(c,t.runProperties),u=_B(u,t.runProperties)),t.type===`paragraph`&&t.link)){let e=i.get(t.link);e?.type===`character`&&e.runProperties&&(c=_B(c,e.runProperties),u=_B(u,e.runProperties))}}if(n?.tableContext?.tableStyleId){let e=n.tableContext,t=e.tableStyleId,r=i.get(t);if(r?.tableStyleConditions){let t=vB(r.tableStyleConditions,e.tblLook,e.rowIndex,e.colIndex,e.totalRows,e.totalCols,{row:e.rowBandSize??r.tableProperties?.rowBandSize,column:e.colBandSize??r.tableProperties?.colBandSize});for(let e of t)e.paragraphProperties&&(s=_B(s,e.paragraphProperties)),e.runProperties&&(c=_B(c,e.runProperties),d=_B(d,e.runProperties))}}if(TB(c,l,[u,d]),t.properties){let{style:e,sectionProperties:n,...r}=t.properties;s=_B(s,r)}return{chain:a,paragraphProperties:s,runProperties:c}}function gB(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function _B(e,t){let n={...e};for(let[e,r]of Object.entries(t)){if(r===void 0)continue;let t=n[e];if(kB.has(e)&&gB(t)&&gB(r)){n[e]=_B(t,r);continue}n[e]=r}return n}function vB(e,t,n,r,i,a,o){let s=t?.noHBand!==!0,c=t?.noVBand!==!0,l=Math.max(1,Math.trunc(o?.row??1)),u=Math.max(1,Math.trunc(o?.column??1)),d=/* @__PURE__ */ new Set;s&&(Math.floor(n/l)%2==0?d.add(`oddRowBanding`):d.add(`evenRowBanding`)),c&&(Math.floor(r/u)%2==0?d.add(`oddColumnBanding`):d.add(`evenColumnBanding`)),n===0&&t?.firstRow!==!1&&d.add(`firstRow`),n===i-1&&t?.lastRow!==!1&&d.add(`lastRow`),r===0&&t?.firstColumn!==!1&&d.add(`firstColumn`),r===a-1&&t?.lastColumn!==!1&&d.add(`lastColumn`),n===0&&r===0&&t?.firstRow!==!1&&t?.firstColumn!==!1&&d.add(`topLeftCell`),n===0&&r===a-1&&t?.firstRow!==!1&&t?.lastColumn!==!1&&d.add(`topRightCell`),n===i-1&&r===0&&t?.lastRow!==!1&&t?.firstColumn!==!1&&d.add(`bottomLeftCell`),n===i-1&&r===a-1&&t?.lastRow!==!1&&t?.lastColumn!==!1&&d.add(`bottomRightCell`);let f=[`oddRowBanding`,`evenRowBanding`,`oddColumnBanding`,`evenColumnBanding`,`firstRow`,`lastRow`,`firstColumn`,`lastColumn`,`topLeftCell`,`topRightCell`,`bottomLeftCell`,`bottomRightCell`],p=/* @__PURE__ */ new Map;for(let e=0;e<f.length;e++)p.set(f[e],e);return e.filter(e=>d.has(e.type)).sort((e,t)=>(p.get(e.type)??0)-(p.get(t.type)??0))}function yB(e,t,n,r,i,a){if(!t||!e.styles)return{};let o=a??mB(e),s=[],c=t,l=/* @__PURE__ */ new Set;for(;c&&!l.has(c);){l.add(c);let e=o.get(c);if(!e)break;s.push(e),c=e.basedOn}let u,d=i?.row,f=i?.column;for(let e=s.length-1;e>=0;e--)d??=s[e].tableProperties?.rowBandSize,f??=s[e].tableProperties?.colBandSize;for(let e=s.length-1;e>=0;e--){let t=s[e];if(t.tableProperties?.shading&&(u=t.tableProperties.shading),!t.tableStyleConditions)continue;let i=vB(t.tableStyleConditions,n,r.rowIndex,r.colIndex,r.totalRows,r.totalCols,{row:d,column:f});for(let e of i)e.cellProperties?.shading&&(u=e.cellProperties.shading)}return u?{shading:u}:{}}function bB(e,t,n,r,i){if(n.properties?.shading)return wB(n.properties.shading);if(t.properties?.shading)return wB(t.properties.shading);let a=yB(e,t.properties?.style,t.properties?.look,r,{row:t.properties?.rowBandSize,column:t.properties?.colBandSize},i).shading;return wB(a)}function xB(e){if(!e||e===`auto`)return;let t=e.replace(/^#/,``);if(/^[0-9a-fA-F]{6}$/.test(t))return t.toUpperCase();if(/^[0-9a-fA-F]{3}$/.test(t))return t.split(``).map(e=>e+e).join(``).toUpperCase()}function SB(e){if(!e||e===`clear`)return 0;if(e===`solid`)return 1;let t=/^pct(\d+)$/.exec(e);return t?Math.min(100,Math.max(0,Number.parseInt(t[1],10)))/100:e.startsWith(`thin`)?e.includes(`Cross`)?.25:.15:e.endsWith(`Cross`)?.5:e.endsWith(`Stripe`)?.3:0}function CB(e,t,n){let r=``;for(let i=0;i<6;i+=2){let a=Number.parseInt(e.slice(i,i+2),16),o=Number.parseInt(t.slice(i,i+2),16);r+=Math.round(a+(o-a)*n).toString(16).toUpperCase().padStart(2,`0`)}return r}function wB(e){if(!e||e.pattern===`nil`)return;let t=xB(e.fill),n=xB(e.color),r=SB(e.pattern);return n===void 0||r===0?t:t===void 0?r>=1?n:CB(`FFFFFF`,n,r):r>=1?n:CB(t,n,r)}function TB(e,t,n){for(let r of AB){let i=t[r]===!0,a=i,o=typeof t[r]==`boolean`;for(let e of n){let t=e[r];typeof t==`boolean`&&(o=!0,t!==i&&(a=!a))}o&&(e[r]=a)}}function EB(e,t,n,r){let i=r??mB(e),a=[],o=t.properties?.style;if(o){let e=o,t=/* @__PURE__ */ new Set;for(;e&&!t.has(e);)t.add(e),a.push(e),e=i.get(e)?.basedOn}let s={};e.docDefaults?.runProperties&&(s=_B({},e.docDefaults.runProperties)),n&&(s=_B(s,n));let c={};for(let e=a.length-1;e>=0;e--){let t=i.get(a[e]);t?.runProperties&&(c=_B(c,t.runProperties))}let l=s;s=_B(s,c);let u=e.docDefaults?.runProperties??{};for(let e of AB){let t=c[e];if(typeof t!=`boolean`)continue;let n=u[e]===!0,r=l[e],i=typeof r==`boolean`?r:n;s[e]=t===n?i:!i}if(t.properties){let{style:e,...n}=t.properties;s=_B(s,n)}return{chain:a,runProperties:s}}function DB(e,t,n){if(t===0)return;let r=e.numberingInstances?.find(e=>e.numId===t);if(!r)return;let i=r.overrides?.find(e=>e.level===n),a=i?.levelDef;if(a||=(e.abstractNumberings?.find(e=>e.abstractNumId===r.abstractNumId))?.levels.find(e=>e.level===n),a)return i?.startOverride===void 0?a:{...a,start:i.startOverride}}function OB(e,t,n){let r=t.properties?.numbering;if(r)return r.numId===0?void 0:r;let i=t.properties?.style;if(!i||!e.styles)return;let a=n??mB(e),o=/* @__PURE__ */ new Set;for(;i&&!o.has(i);){o.add(i);let e=a.get(i),t=e?.paragraphProperties?.numbering;if(t)return t.numId===0?void 0:t;i=e?.basedOn}}var kB,AB,jB=n((()=>{kB=/* @__PURE__ */ new Set([`spacing`,`indent`,`borders`,`cellMargins`,`shading`,`font`,`language`,`color`,`underline`,`look`,`float`,`frame`,`markRunProperties`]),AB=[`bold`,`boldCs`,`italic`,`italicCs`,`caps`,`smallCaps`,`strike`,`outline`,`shadow`,`emboss`,`imprint`,`vanish`]}));function MB(e,t,n){let r=t.properties?.outlineLevel;if(r!==void 0)return NB(r);let i=t.properties?.style;if(!i)return;let a=n??mB(e),o=[],s=/* @__PURE__ */ new Set;for(;i&&!s.has(i);)s.add(i),o.push(i),i=a.get(i)?.basedOn;for(let e of o){let t=a.get(e),n=t?.paragraphProperties?.outlineLevel??t?.outlineLevel;if(n!==void 0)return NB(n)}for(let e of o){let t=PB(e)??PB(a.get(e)?.name);if(t)return t}}function NB(e){if(!(!Number.isInteger(e)||e<0||e>=FB))return{level:e+1,kind:`heading`}}function PB(e){if(typeof e!=`string`)return;let t=IB.exec(e.trim());if(t)return{level:Number(t[1]),kind:`heading`};if(e.trim().toLowerCase()===`title`)return{level:1,kind:`title`}}var FB,IB,LB=n((()=>{jB(),FB=9,IB=/^heading\s*([1-9])$/i}));function RB(e){let t=mB(e);return{doc:e,styles:t,paragraph:(n,r)=>hB(e,n,r,t),run:(n,r)=>EB(e,n,r,t),numbering:n=>OB(e,n,t),heading:n=>MB(e,n,t),tableCellFill:(n,r,i)=>bB(e,n,r,i,t)}}var zB=n((()=>{LB(),jB()}));function BB(e){let t=FV,n=PV,r=n.get(e);if(!r){let i=t.paragraph(e),a=i.runProperties,o=[];for(let n of $z(e.children)){let e=OR(t,n,a);Qz(e)||o.push({run:n,props:e})}r={properties:e.properties?.style?{...i.paragraphProperties,style:e.properties.style}:i.paragraphProperties,runProperties:a,runs:o},n.set(e,r)}return r}function VB(e,t){return e.runProperties?.size??t}function HB(e){let t=e.runProperties?.font;if(t)return typeof t==`string`?t:t.ascii??t.hAnsi}function UB(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 WB(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 GB(e){let t=e/2;return Math.round(t*jR*20)}function KB(e,t){let n=GB(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 qB(e,t){return e?.markRunProperties?.size??t}function JB(e,t,n){let r=e>0?e:120;return t<=0||n<=0||t===n?r:r*t/n}function YB(e,t){let n=e?.font;if(!n){let e=t??`Calibri`;return{ascii:e,eastAsia:e}}if(typeof n==`string`)return{ascii:n,eastAsia:n};let r=n,i=r.ascii??r.hAnsi??t??`Calibri`;return{ascii:i,eastAsia:r.eastAsia??i}}function XB(e,t,n,r,i){let a=YB(t,n);if(a.ascii===a.eastAsia)return i(e,a.ascii,r,t?.bold,t?.italic);let o=0;for(let n of qr(e))o+=i(n.text,n.cjk?a.eastAsia:a.ascii,r,t?.bold,t?.italic);return o}function ZB(e,t,n,r,i){let a=YB(t,n);if(a.ascii===a.eastAsia)return i(e,a.ascii,r,t?.bold,t?.italic);let o=-1/0,s=1/0;for(let n of qr(e)){let e=i(n.text,n.cjk?a.eastAsia:a.ascii,r,t?.bold,t?.italic);o=Math.max(o,e.ascent),s=Math.min(s,e.descent)}return o===-1/0?i(e,a.ascii,r,t?.bold,t?.italic):{ascent:o,descent:s}}function QB(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+=fz(n);break;case`field`:t+=n.cachedValue??``;break;case`noBreakHyphen`:case`softHyphen`:t+=`-`}return t}function $B(e){return Oi(e)}function eV(e){let t=0;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++,t+=$B(r)?2:1}return t}function tV(e,t,n,r,i){let a=nV(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=aV(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 nV(e){let t=[];for(let{run:n}of e)rV(n,t);return t}function rV(e,t){for(let n of e.content)switch(n.type){case`text`:{let e=iV(n.text);for(let n of e)n.length>0&&t.push({type:`word`,width:eV(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(bV(e.width)/120):10;t.push({type:`image`,width:r});break}case`symbol`:{let e=fz(n);e.length>0&&t.push({type:`word`,width:eV(e)});break}case`field`:for(let e of iV(n.cachedValue??``))e.length>0&&t.push({type:`word`,width:eV(e)});break;case`noBreakHyphen`:t.push({type:`word`,width:1})}}function iV(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=``):$B(i)?(n.length>0&&(t.push(n),n=``),t.push(a)):n+=a}return n.length>0&&t.push(n),t}function aV(e,t){if(t&&t.length>0){for(let n of t)if(n>e)return n;let n=t[t.length-1],r=jV;return n+Math.ceil((e-n)/r)*r+r}return(Math.floor(e/jV)+1)*jV}function oV(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 sV(e){let t=0;for(let{run:n}of e)for(let e of n.content)if(e.type===`image`){let n=e;if(n.height){let e=bV(n.height);e>t&&(t=e)}}return t}function cV(e){let t=0;for(let{run:n}of e)for(let e of n.content)(e.type===`footnoteRef`||e.type===`endnoteRef`)&&t++;return t}function lV(e){let t=0;for(let{run:n}of e)for(let e of n.content)if(e.type===`break`){let n=e.breakType;(!n||n===`textWrapping`)&&t++}return t}function uV(e,t,n,r){let i=0;for(let{run:a,props:o}of e){let e=QB(a);if(e.length>0){let a=fV(o,t);i+=XB(e,o,r,a,n)}}return i}function dV(e,t,n=t){let r=0;for(let{props:n}of e){let e=fV(n,t)*2;e>r&&(r=e)}return r||n}function fV(e,t){let n=(e?.size??t)/2;return e?.vertAlign===`superscript`||e?.vertAlign===`subscript`?n*MR:n}function pV(e){for(let{run:t}of e)for(let e of t.content)if(e.type===`break`&&e.breakType===`page`)return!0;return!1}function mV(e){for(let{run:t}of e)for(let e of t.content){if(e.type===`break`){if(e.breakType===`page`)return!0;continue}if(e.type!==`text`||e.text.length!==0)return!1}return!1}function hV(e){for(let{run:t}of e)for(let e of t.content)if(e.type===`break`&&e.breakType===`column`)return!0;return!1}function gV(e,t,n,r,i,a,o){let s=BB(e),c=s.properties,l=c?.spacing,u=VB(s,n),d=HB(s),f=0;l?.beforeAutoSpacing?f=AV:l?.before!=null&&(f=l.before);let p=0;l?.afterAutoSpacing?p=AV:l?.after!=null&&(p=l.after);let m=ER(FV,e,s.runProperties?.size),h=dV(s.runs,u,qB(c,u)),g=KB(l,h)*m,_=sV(s.runs),v=_V(s.runs,u,d,g,_,l?.lineRule===`exact`,o),y;if(a){let[e,r]=oV(c,t),o=uV(s.runs,u,a,d)*20;if(lV(s.runs)>0){let t=JB(i,h,n),a=c?.tabs?.map(e=>e.position).filter(e=>e!=null);y=tV(s.runs,e,r,t,a)}else if(o<=e)y=1;else{let t=o-e;y=1+Math.max(1,Math.ceil(t/r))}}else{let[e,r]=oV(c,t),a=JB(i,h,n),o=c?.tabs?.map(e=>e.position).filter(e=>e!=null);y=tV(s.runs,e,r,a,o)}return f+y*v+p}function _V(e,t,n,r,i,a,o){let s=0,c=0;for(let{run:r,props:i}of e){let e=QB(r),a=fV(i,t),l=ZB(e,i,n,a,o??((e,t,n,r,i)=>({ascent:Ni(Li(t,r,i),n),descent:Pi(Li(t,r,i),n)}))),u=i?.vertAlign===`superscript`?a*NR:i?.vertAlign===`subscript`?-a*NR:0;s=Math.max(s,l.ascent+u),c=Math.min(c,l.descent+u)}let l=Jz({nominalHeight:r/20,ascent:s,descent:c,imageAscent:i/20,exact:a});return Math.ceil(l.height*20)}function vV(e,t,n,r,i,a,o,s){let c=e.rows[t];if(c.properties?.height?.value&&c.properties.height.rule===`exact`)return c.properties.height.value;let l=c.cells.length,u=kR(e,l,r),d=0;for(let t=0;t<l;t++){let r=c.cells[t],l=r.properties?.gridSpan??1,f=0;for(let e=0;e<l&&t+e<u.length;e++)f+=u[t+e];let p=wR(e.properties,r.properties),m=Math.max(1,f-p.left-p.right),h=0;for(let e of r.content)e.type===`paragraph`?h+=gV(e,m,n,i,a,o,s):e.type===`table`&&(h+=yV(e,n,m,i,a,o,s));h+=p.top+p.bottom,h>d&&(d=h)}if(c.properties?.height?.value)return Math.max(c.properties.height.value,d);let f=AR(e.properties,n/2)*20;return Math.max(f,d)}function yV(e,t,n,r,i,a,o){let s=0;for(let c=0;c<e.rows.length;c++)s+=vV(e,c,t,n,r,i,a,o);return s}function bV(e){return Math.round(e/635)}function xV(e){return e.wrap?.style===`topAndBottom`?bV(e.height):0}function SV(e){let t=e.wrap?.style;return t===`topAndBottom`||!t||t===`none`?bV(e.height):0}function CV(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 wV(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 TV(e,t){let n=FV,r=PV;FV=RB(e),PV=/* @__PURE__ */ new Map;try{return EV(e,t)}finally{FV=n,PV=r}}function EV(e,t){let n=t?.defaultFontSize??22,r=t?.defaultCharsPerLine??kV,i=t?.averageCharWidth??Math.round(n/2*.5*20),a=t?.measureText,o=t?.measureTextMetrics,s=e.body,c=[],l=[],u=[],d=/* @__PURE__ */ new Map,f=[],p=1,m=0,h=1,g=(DV(s)??e.sectionProperties)?.pageNumbering?.start??1,_=0,v=0,y=1,b=DV(s)??e.sectionProperties,x=UB(b),S=WB(b),C=CV(S,b?.columns);function w(){y=b?.columns?.count??1,y<1&&(y=1),C=CV(S,b?.columns)}w();function T(){p++,g++,_=0,v=0}function E(){y>1&&v<y-1?(v++,_=0):T()}function ee(t){f.push(p-h+1),m++;let n=t??e.sectionProperties;switch(n?.breakType??`nextPage`){case`nextPage`:case`evenPage`:case`oddPage`:{let e=aB(g,n);T(),e.blankPage&&T(),g=e.firstShown;break}case`continuous`:{let e=b?.pageSize?.width??12240,t=b?.pageSize?.height??15840,r=n?.pageSize?.width??12240,i=n?.pageSize?.height??15840;(e!==r||t!==i)&&T();break}case`nextColumn`:E()}h=p,b=n,x=UB(b),S=WB(b),w()}function te(e){_+e>x&&_>0&&(y>1&&v<y-1?E():T()),_+=e}function ne(e){let t=yV(e,n,C,r,i,a,o);if(_+t<=x){_+=t;return}let s=vV(e,0,n,C,r,i,a,o);_>0&&_+s>x&&(y>1&&v<y-1?E():T());let c=0,l=[];for(let t=0;t<e.rows.length&&e.rows[t].properties?.tableHeader;t++)l.push(t),c+=vV(e,t,n,C,r,i,a,o);for(let t=0;t<e.rows.length;t++){let s=e.rows[t],u=vV(e,t,n,C,r,i,a,o);if(l.includes(t)){_+=u;continue}(s.properties?.cantSplit??!1)||u<=x?_+u>x&&(y>1&&v<y-1?E():T(),_+=c):_+u>x&&_>0&&(y>1&&v<y-1?E():T(),_+=c),_+=u}}for(let t=0;t<s.length;t++){let f=s[t];switch(f.type){case`paragraph`:{let h=f,g=h.properties;if(wV(h.children,p,d),g?.sectionProperties){let d=BB(h).properties?.pageBreakBefore===!0||mV(BB(h).runs);d&&_>0&&T(),re(h,gV(h,C,n,r,i,a,o),t,s),c.push(p),l.push(m),u.push(d),ee(OV(s,t+1)??e.sectionProperties);break}let v=BB(h).properties?.pageBreakBefore===!0||mV(BB(h).runs);v&&_>0&&T();let y=!v&&pV(BB(h).runs);hV(BB(h).runs)&&_>0&&E(),re(h,gV(h,C,n,r,i,a,o),t,s),y&&T(),c.push(p),l.push(m),u.push(v);break}case`table`:{let e=p;ne(f),c.push(e),l.push(m),u.push(!1);break}default:{let e=GB(n);if(f.type===`tableOfContents`){let t=f.cachedParagraphs;te(t?t.length*GB(n):e*5)}else if(f.type===`floatingImage`){let e=xV(f);e>0&&te(e)}else if(f.type===`drawingShape`){let t=SV(f);te(t>0?t:e)}else te(e);c.push(p),l.push(m),u.push(!1);break}}}return f.push(p-h+1),{pageCount:p,sectionPageCounts:f,contentPages:c,contentSections:l,bookmarkPages:d,forcedBreakBefore:u};function re(e,t,s,c){let l=BB(e),u=l.properties,d=u?.spacing,f=VB(l,n),p=HB(l),m=dV(l.runs,f,qB(u,f)),h=KB(d,m),g;if(a){let[e,t]=oV(u,C),r=uV(l.runs,f,a,p)*20;if(lV(l.runs)>0){let r=JB(i,m,n),a=u?.tabs?.map(e=>e.position).filter(e=>e!=null);g=tV(l.runs,e,t,r,a)}else g=r<=e?1:1+Math.max(1,Math.ceil((r-e)/t))}else{let[e,t]=oV(u,C),r=JB(i,m,n),a=u?.tabs?.map(e=>e.position).filter(e=>e!=null);g=tV(l.runs,e,t,r,a)}if(u?.contextualSpacing&&s>0){let e=c[s-1];if(e.type===`paragraph`&&e.properties?.style===u.style){let e=d?.before??0;e>0&&(_-=Math.min(e,_))}}if(u?.keepLines){_+t>x&&_>0&&(y>1&&v<y-1?E():T()),_+=t,ie(e);return}if(u?.widowControl!==!1&&g>1){let e=0;d?.beforeAutoSpacing?e=AV:d?.before!=null&&(e=d.before);let t=x-_,n=Math.floor(Math.max(0,t-e)/h);n===1&&g>1?_>0&&(y>1&&v<y-1?E():T()):n>0&&n===g-1&&n>2&&_>0&&(y>1&&v<y-1?E():T())}if(u?.keepNext&&s+1<c.length){let e=c[s+1];if(e.type===`paragraph`){let s=gV(e,C,n,r,i,a,o);_+t+s>x&&_>0&&(y>1&&v<y-1?E():T())}}te(t),ie(e)}function ie(e){let t=cV(BB(e).runs);if(t>0){let e=MV+t*NV;_+=e,_>x&&T()}}}function DV(e){for(let t of e)if(t.type===`paragraph`&&t.properties?.sectionProperties)return t.properties.sectionProperties}function OV(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 kV,AV,jV,MV,NV,PV,FV,IV=n((()=>{li(),Ki(),mz(),IR(),Xz(),eB(),pB(),zB(),kV=80,AV=100,jV=720,MV=200,NV=300}));function LV(e){let t=/* @__PURE__ */ new Map,n=/* @__PURE__ */ new Map,r=new Map(e.numberingInstances?.map(e=>[e.numId,e])),i=/* @__PURE__ */ new Set,a=(t,r)=>{let i=`${t}:${r}`;if(n.has(i))return n.get(i);let a=DB(e,t,r);return n.set(i,a),a},o=e=>{let n=r.get(e),i=n?`a:${n.abstractNumId}`:`n:${e}`,a=t.get(i);return a||(a=/* @__PURE__ */ new Map,t.set(i,a)),a},s=(e,t)=>r.get(e)?.overrides?.find(e=>e.level===t)?.startOverride,c=(e,t,n)=>{let r=a(e,t)?.restartAfterLevel;return r===void 0||r>0&&n<=r-1};return{next(e,t){let n=o(e),r=n.get(t),l=s(e,t),u=`${e}:${t}`,d;l!==void 0&&!i.has(u)?(i.add(u),d=l):d=r===void 0?l??a(e,t)?.start??1:r+1,n.set(t,d);for(let r of n.keys())r>t&&c(e,r,t)&&n.delete(r);return d},current(e,t){return o(e).get(t)??s(e,t)??a(e,t)?.start??1},levelDef:a}}function RV(e,t,n,r){return n.isLegalNumberingStyle?`decimal`:r===n.level?n.format:e.levelDef(t,r)?.format??`decimal`}var zV=n((()=>{jB()})),BV=n((()=>{xg()}));function VV(e,t){let n=TV(e,t),r=RB(e),i=pH(e,r),a=gU,o=vU,s=yU,c=_U;gU=i,vU=e,yU=r,_U=fH(e,r);try{return WV(e,t,n,i)}finally{gU=a,vU=o,yU=s,_U=c}}function HV(e,t){return{page:e.displayedPage,format:e.props?.pageNumbering?.format,...t}}function UV(e,t){let n=bU;bU=e;try{return t()}finally{bU=n}}function WV(e,t,n,r){let i=[],a=[],o=[],s=[],c={nextItem:0},l=$H(e.images),u=iB(e),d=e=>n.contentSections[e]??u.length-1,f=e.body.length>0?d(0):u.length-1,p=1,m=(e,t)=>{let n=a.at(-1),r={sectionIndex:e,pageInSection:t};return{...r,props:u[e],displayedPage:oB(n,n?.displayedPage??0,r,u)}},h=2e4;do{let g=m(f,p),_=tH(e,i.length+1,n,t,o,r,s,c,g,l);if(i.push(_.page),a.push(g),o=_.deferredFootnoteIds,_.page.content.length===0&&s.length>0)break;s=_.carriedContent;let v=s.length===0&&c.nextItem<e.body.length?d(c.nextItem):f;if(v!==f){if(f=v,p=1,aB(a.at(-1)?.displayedPage??0,u[f]).blankPage&&i.length<h){let o=m(f,0),s=tH(e,i.length+1,n,t,[],r,[],void 0,o,l);i.push(s.page),a.push(o)}}else p++}while((c.nextItem<e.body.length||s.length>0)&&i.length<h);for(;o.length>0&&i.length>0&&i.length<h;){let s=a[a.length-1],c=m(s.sectionIndex,s.pageInSection+1),u=tH(e,i.length+1,n,t,o,r,[],void 0,c,l);i.push(u.page),a.push(c);let d=u.deferredFootnoteIds;if(d.length>=o.length)break;o=d}GV(e,i,a,t,l);let g=/* @__PURE__ */ new Map;for(let e of i)for(let t of e.content)t.sourceIndex>=0&&!g.has(t.sourceIndex)&&g.set(t.sourceIndex,e.pageNumber);return{pages:i,totalPages:i.length,bookmarkPages:qV(i,n),sectionBreaks:dH(n,g)}}function GV(e,t,n,r,i){if(!KV(e))return;let a=sB(n);for(let o=0;o<t.length;o++){let s=n[o],c=uH(s.props,r?.pageGeometry),l={numPages:t.length,sectionPages:a.get(s.sectionIndex)??t.length},u=sH(e,s,c,r,i,l),d=cH(e,s,c,r,i,l),{header:f,footer:p,...m}=t[o];t[o]={...m,...u.length>0?{header:u}:{},...d.length>0?{footer:d}:{}}}}function KV(e){return[...e.headers?.values()??[],...e.footers?.values()??[]].some(e=>{let t=!1;return gz(e.content.children,{visitRunContent(e){if(e.type===`field`){let n=tB(e.instruction)?.name;t||=n===`NUMPAGES`||n===`SECTIONPAGES`}},enterParagraph:()=>t?`stop`:void 0}),t})}function qV(e,t){let n=/* @__PURE__ */ new Map;for(let t of e){let e=r=>{for(let i of r)if(i.type===`paragraph`)for(let e of i.lineBookmarks??[])for(let r of e)n.has(r)||n.set(r,t.pageNumber);else if(i.type===`table`)for(let t of i.cells)e(t.content)};e(t.content)}for(let[e,r]of t.bookmarkPages)n.has(e)||n.set(e,r);return n}function JV(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 YV(e,t,n,r){let i=e.lines;if(i.length===0)return r?{head:e,tail:null}:{head:null,tail:e};let a=0;for(;a<i.length;){let e=i[a];if(e.y+e.height>t)break;a++}let o=e.pageBreakAfterLines?.find(e=>e+1<=a);if(o!==void 0&&o+1<i.length)return XV(e,o+1);if(a>=i.length){let n=i[i.length-1],r=n.y+n.height;return{head:e.rect.height>t?{...e,rect:{...e.rect,height:r},...e.decorationInsets?{decorationInsets:{...e.decorationInsets,bottom:0}}:{}}:e,tail:null}}if(a===0){if(!r)return{head:null,tail:e};if(i.length===1)return{head:e,tail:null};a=1}else{let t=r||e.rect.height>n;if(!(a>=2&&i.length-a>=2)&&!t)return{head:null,tail:e}}return XV(e,a)}function XV(e,t){let n=e.lines.slice(0,t),r=e.lines.slice(t),i=n[n.length-1].y+n[n.length-1].height,a=r[0].y,o=e.decorationInsets,s=e.lineNoteIds,c=e.lineBookmarks,l=e.pageBreakAfterLines;return{head:{...e,rect:{...e.rect,height:i},lines:n,...s?{lineNoteIds:s.slice(0,t)}:{},...c?{lineBookmarks:c.slice(0,t)}:{},...l?{pageBreakAfterLines:l.filter(e=>e<t)}:{},...o?{decorationInsets:{...o,bottom:0}}:{}},tail:{...e,rect:{...e.rect,y:0,height:e.rect.height-a},lines:r.map(e=>({...e,y:e.y-a})),...s?{lineNoteIds:s.slice(t)}:{},...c?{lineBookmarks:c.slice(t)}:{},...l?{pageBreakAfterLines:l.filter(e=>e>=t).map(e=>e-t)}:{},...o?{decorationInsets:{...o,top:0}}:{}}}}function ZV(e,t,n,r){if(e.cells.length===0)return{head:e,tail:null};let i=/* @__PURE__ */ new Map,a=/* @__PURE__ */ new Map,o=0;for(let t of e.cells){let e=t.rect.y,n=e+t.rect.height;i.set(t.row,Math.min(i.get(t.row)??e,e)),a.set(t.row,Math.max(a.get(t.row)??n,n)),o=Math.max(o,t.row)}let s=[...i.keys()].sort((e,t)=>e-t),c=0;for(;c<s.length&&(a.get(s[c])??0)<=t+.01;)c++;if(c>=s.length)return{head:e,tail:null};if(c===0||c<=n&&!r){if(!r)return{head:null,tail:e};c=Math.max(1,Math.min(n+1,s.length))}let l=s[c],u=e.cells.filter(e=>e.row<l),d=a.get(s[c-1])??e.rect.height,f=e.cells.filter(e=>e.row<n&&e.row<l),p=f.length>0?Math.max(...f.map(e=>e.rect.y+e.rect.height)):0,m=(i.get(l)??0)-p,h=[...f,...e.cells.filter(e=>e.row>=l).map(e=>({...e,rect:{...e.rect,y:e.rect.y-m}}))];return{head:{...e,rect:{...e.rect,height:d},cells:u},tail:{...e,rect:{...e.rect,y:0,height:e.rect.height-m},cells:h}}}function QV(e){let t=0;for(let n of e.rows){if(n.properties?.tableHeader!==!0)break;t++}return t}function $V(e,t){if((t?.breakType??`nextPage`)===`continuous`){let n=(e?.pageSize?.width??12240)===(t?.pageSize?.width??12240),r=(e?.pageSize?.height??15840)===(t?.pageSize?.height??15840);return!(n&&r)}return!0}function eH(e,t){return iB(e)[t]??e.sectionProperties}function tH(e,t,n,r,i,a,o,s,c,l){let u=c.props,d=uH(u,r?.pageGeometry),f=[],p=[...i],m=[],h=[],g=0,_=[],v=e=>{let t=e.lines[0]?.y??0;return t<=0?e:{...e,rect:{...e.rect,height:e.rect.height-t},lines:e.lines.map(e=>({...e,y:e.y-t})),...e.decorationInsets?{decorationInsets:{...e.decorationInsets,top:0}}:{}}},y=e=>{if(_.length>0)return _.push({kind:`paragraph`,block:e}),!1;let t=d.contentHeight-e.rect.y,n=e.pageBreakAfterLines?.[0],r=n!==void 0&&n+1<e.lines.length;if(e.rect.height<=t+.01&&!r)return f.push(e),g=e.rect.y+e.rect.height,!0;if(r&&e.lines[n].y+e.lines[n].height<=t+.01){let t=XV(e,n+1);return f.push(t.head),g=t.head.rect.y+t.head.rect.height,_.push({kind:`paragraph`,block:t.tail}),!1}let i=f.length===0&&e.rect.y<=.01,{head:a,tail:o}=YV(e,t,d.contentHeight,i);return a&&(f.push(a),g=a.rect.y+a.rect.height),!o||(_.push({kind:`paragraph`,block:o}),!1)},b=(e,t)=>{if(_.length>0)return _.push({kind:`table`,block:e,headerRows:t}),!1;let n=d.contentHeight-e.rect.y;if(e.rect.height<=n+.01)return f.push(e),g=e.rect.y+e.rect.height,!0;let{head:r,tail:i}=ZV(e,n,t,f.length===0&&e.rect.y<=.01);return r&&(f.push(r),g=r.rect.y+r.rect.height),!i||(_.push({kind:`table`,block:i,headerRows:t}),!1)},x=!1,S=!1;for(let e of o)if(e.kind===`paragraph`){let t={...e.block,rect:{...e.block.rect,y:g}};if(!y(t))break;S||=t.endPageWhenComplete===!0}else{if(!b({...e.block,rect:{...e.block.rect,y:g}},e.headerRows))break;x=!0}let C=s!==void 0,w=C?s.nextItem:0,T=0;S&&s!==void 0&&delete s.endPageAfterItem;let E=s===void 0?void 0:e.body[s.nextItem],ee=x&&E?.type===`paragraph`&&E.properties?.style===`Quote`,te=s?.endPageAfterItem??-1;if(ee&&s!==void 0){te=s.nextItem;let t=e.body[te+1];for(;t?.type===`paragraph`&&t.properties?.style===`Quote`;)te++,t=e.body[te+1];s.endPageAfterItem=te}let ne=S,re=t=>{let n=e.body[t];return!n||n.type!==`paragraph`||!yU?!1:yU.paragraph(n).paragraphProperties.keepNext===!0};for(let i=w;i<e.body.length;i++){if(C){if(ne||_.length>0||n.forcedBreakBefore[i]&&(f.length>0||T>0)||n.contentSections[i]!==c.sectionIndex&&(f.length>0||T>0)&&$V(c.props,eH(e,n.contentSections[i])))break}else if(n.contentPages[i]!==t)continue;let o=e.body[i],u=[];rH(o,u);let x=f.length,S=o.type===`paragraph`&&u.length>0,E={exclusions:h,contentWidth:d.contentWidth};switch(o.type){case`paragraph`:{let e={...gH(o,g,d.contentWidth,r,E,l,a),sourceIndex:i,...i===te?{endPageWhenComplete:!0}:{}};y(t===1&&f.length===0&&w===0?v(e):e)||(ne=!0);break}case`table`:b(yH(o,g,d.contentWidth,i,r,l),QV(o))||(ne=!0);break;case`floatingImage`:{let e=rU(o,g,d.contentWidth,d.contentHeight,d,i,l);f.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?ZH(o.wrap.margins.bottom):0;g=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;h.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=aU(o,g,d.contentWidth,i,r,l);f.push(e),g=e.rect.y+e.rect.height;break}case`drawingShape`:{let e=oU(o,g,d.contentWidth,i,r,l);f.push(e),g=e.rect.y+e.rect.height;break}case`chart`:case`chartEx`:{let e=sU(o,g,d.contentWidth,i);f.push(e),g=e.rect.y+e.rect.height;break}case`sdt`:{let e=cU(o,g,d.contentWidth,i,r,l);f.push(e),g=e.rect.y+e.rect.height;break}case`math`:{let e=lU(o,g,d.contentWidth,i,r);f.push(e),g=e.rect.y+e.rect.height;break}case`checkBox`:{let e=uU(o,g,i,r);f.push(e),g=e.rect.y+e.rect.height;break}case`tableOfContents`:{let e=dU(o,g,d.contentWidth,i,r,l);f.push(e),g=e.rect.y+e.rect.height;break}case`altChunk`:{let e=fU(o,g,d.contentWidth,i);f.push(e),g=e.rect.y+e.rect.height;break}case`opaqueDrawing`:{let e=pU(o,g,d.contentWidth,i);f.push(e),g=e.rect.y+e.rect.height;break}default:throw Error(`layoutDocumentFull: unhandled BodyContent variant ${o.type}`)}if(u.length>0){if(!(f.length>x))m.push(...u);else if(S){let e=f[f.length-1],t=e.type===`paragraph`&&e.lineNoteIds?e.lineNoteIds.flat():u;p.push(...t);let n=new Set(t);for(let e of u)n.has(e)||m.push(e)}else p.push(...u)}C&&(s.nextItem=i+1,T++,i===te&&_.length===0&&(ne=!0,delete s.endPageAfterItem))}if(C&&(s.nextItem<e.body.length||_.length>0)){let e=0;for(;e<f.length;){let t=f[f.length-1-e];if(t.type!==`paragraph`||t.sourceIndex<0||!re(t.sourceIndex))break;e++}if(e>0&&e<f.length){let t=f.splice(f.length-e,e);g=t[0].rect.y;for(let e=t.length-1;e>=0;e--)_.unshift({kind:`paragraph`,block:t[e]})}}let ie=sH(e,c,d,r,l),ae=cH(e,c,d,r,l),oe=nH(e,p,d,r,d.marginTop+g,l),se;if(oe.laid.length>0){let e=p.length>i.length?`separator`:`continuationSeparator`;se={y:oe.laid[0].rect.y-4,kind:e}}return{page:{pageNumber:t,geometry:d,content:f,...ie.length>0?{header:ie}:{},...ae.length>0?{footer:ae}:{},...oe.laid.length>0?{footnoteArea:oe.laid}:{},...se?{footnoteSeparator:se}:{}},deferredFootnoteIds:[...oe.deferred,...m],carriedContent:_}}function nH(e,t,n,r,i,a){if(t.length===0||!e.footnotes||e.footnotes.length===0)return{laid:[],deferred:[]};let o=/* @__PURE__ */ 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=/* @__PURE__ */ 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=gH(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+FR,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 rH(e,t){switch(e.type){case`paragraph`:iH(e,t);return;case`table`:for(let n of e.rows)for(let e of n.cells)for(let n of e.content)rH(n,t);return;case`textBox`:for(let n of e.content)rH(n,t);return;case`drawingShape`:if(e.textContent)for(let n of e.textContent)rH(n,t);return;case`sdt`:for(let n of e.content)n&&typeof n==`object`&&`type`in n&&rH(n,t);return;case`tableOfContents`:if(e.cachedParagraphs)for(let n of e.cachedParagraphs)rH(n,t);return;case`floatingImage`:case`math`:case`checkBox`:case`chart`:case`chartEx`:case`altChunk`:case`opaqueDrawing`:return}}function iH(e,t){for(let n of $z(e.children))aH(n,t)}function aH(e,t){if(e&&Array.isArray(e.content))for(let n of e.content)n.type===`footnoteRef`&&t.push(n.id)}function oH(e,t,n,r,i){let a=t=>e.find(e=>e.type===t);if(r&&n===1){let e=a(`first`);if(e)return e}if(i&&t%2==0){let e=a(`even`);if(e)return e}return a(`default`)??e[0]}function sH(e,t,n,r,i,a){let o=t.props,s=o?.headers;if(!s||s.length===0||t.pageInSection===0)return[];let c=o?.titlePage===!0,l=e.settings?.evenAndOddHeaders===!0,u=oH(s,t.displayedPage,t.pageInSection,c,l);if(!u)return[];let d=e.headers?.get(u.rId);if(!d)return[];let f=n.headerOffset;return UV(HV(t,a),()=>lH(d.content.children,f,n,r,i))}function cH(e,t,n,r,i,a){let o=t.props,s=o?.footers;if(!s||s.length===0||t.pageInSection===0)return[];let c=o?.titlePage===!0,l=e.settings?.evenAndOddHeaders===!0,u=oH(s,t.displayedPage,t.pageInSection,c,l);if(!u)return[];let d=e.footers?.get(u.rId);if(!d)return[];let f=n.height-n.footerOffset;return UV(HV(t,a),()=>lH(d.content.children,f,n,r,i))}function lH(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=gH(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=yH(s,o,n.contentWidth,t,r,i);a.push(e),o=e.rect.y+e.rect.height}}return a}function uH(e,t){let n=e?.pageSize?.width??12240,r=e?.pageSize?.height??15840,i=dg(n),a=dg(r),o=dg(e?.margins?.top??1440),s=dg(e?.margins?.bottom??1440),c=dg(e?.margins?.left??1440),l=dg(e?.margins?.right??1440),u=dg(e?.margins?.header??720),d=dg(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 dH(e,t){let n=[0],r=0;for(let i=0;i<e.contentPages.length;i++){let a=e.contentSections[i];if(a>r){let o=t.get(i)??e.contentPages[i];n.push(o-1),r=a}}return n}function fH(e,t){let n=/* @__PURE__ */ new Map,r=e=>{if(!e||e.type!==`paragraph`)return``;let n=t.paragraph(e).paragraphProperties,r=vH(n.borders),i=wB(n.shading);return!r&&!i?``:JSON.stringify({borders:r??null,fill:i??null})},i=e=>{for(let a=0;a<e.length;a++){let o=e[a];if(o.type===`table`){for(let e of o.rows)for(let t of e.cells)i(t.content);continue}if(o.type!==`paragraph`)continue;let s=e[a-1],c=e[a+1],l=t.paragraph(o).paragraphProperties,u=o.properties?.style,d=e=>e?.type===`paragraph`&&e.properties?.style===u,f=l.contextualSpacing===!0,p=r(o),m=p!==``&&r(s)===p,h=p!==``&&r(c)===p;(f||m||h)&&n.set(o,{before:f&&d(s),after:f&&d(c),mergeDecorationTop:m,mergeDecorationBottom:h})}};return i(e.body),n}function pH(e,t){let n=/* @__PURE__ */ new Map;if(!e.numberingInstances?.length||!e.abstractNumberings?.length)return n;let r=LV(e),i=e=>{let i=t.numbering(e);if(!i)return;let{numId:a,level:o}=i,s=r.levelDef(a,o);if(!s)return;let c=r.next(a,o),l=s.paragraphProperties?.indent?.left,u=l==null?(o+1)*36:dg(l);if(s.format===`bullet`){n.set(e,{text:`${hH(s.text)} `,indentPt:u});return}let d=s.text?s.text.replace(/%([1-9])/g,(e,t)=>{let n=Number(t)-1;return cB(n===o?c:r.current(a,n),RV(r,a,s,n))}):`${cB(c,RV(r,a,s,o))}.`;n.set(e,{text:`${d} `,indentPt:u})},a=e=>{for(let t of e)if(t.type===`paragraph`)i(t);else if(t.type===`table`)for(let e of t.rows)for(let t of e.cells)a(t.content)};return a(e.body),n}function mH(e){let t=[];for(let n of e.abstractNumberings??[])for(let e of n.levels??[])e.format===`bullet`&&t.push(hH(e.text));return t}function hH(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 gH(e,t,n,r,i,a,o,s){let c=e.properties,l=yU?.paragraph(e,s),u=l?.runProperties,d=l?c?.style?{...l.paragraphProperties,style:c.style}:l.paragraphProperties:c,f=d?.spacing,p=yU?ER(yU,e,u?.size):1,m=_U?.get(e),h=0;m?.before?h=0:f?.beforeAutoSpacing?h=5:f?.before!=null&&(h=dg(f.before));let g=d?.indent,_=(o??gU)?.get(e),v=_?_.indentPt:0,y=Math.max(g?.left?dg(g.left):0,v),b=d?.alignment??`left`,x=TH(e,u),S=0;if(_){let e;for(let t of x)if(wH(t)){e=t.properties;break}x.unshift({text:_.text,properties:e}),S=qH(_.text,e,RH(e)*p,r,e?.bold,e?.italic)}let C=g?.hanging?dg(g.hanging):_?S:0,w=C>0?-C:g?.firstLine?dg(g.firstLine):0,T=zH(x,c,u)*p,E=T;if(f?.line)switch(f.lineRule??`auto`){case`exact`:E=dg(f.line);break;case`atLeast`:E=Math.max(dg(f.line),T);break;case`auto`:E=T*(f.line/240)}let ee=g?.right?dg(g.right):0,te=Math.max(1,n-y-ee),ne,re;if(i&&i.exclusions.length>0){let e=PH(x,y,w,p,E,t+h,i,r);ne=e.lines,re=e.slots}else ne=LH(x,te,w,p,r);let ie=[],ae=[],oe=[],se=[],ce=h;for(let e=0;e<ne.length;e++){let t=ne[e],n=[],i=re?.[e]??{xOffset:0,width:te},o=re?i.xOffset:y,s=re?i.width:te,c=e===0?w:0,l=0,u=0,d=0,m=0;for(let e of t)if(!(`type`in e&&e.type===`break`)){if(`type`in e&&e.type===`image`){let t=ZH(e.content.width),n=ZH(e.content.height);l+=t,n>m&&(m=n)}else{let t=RH(e.properties)*p;l+=qH(e.text,e.properties,t,r,e.properties?.bold,e.properties?.italic);let n=JH(e.text,e.properties,t,r,e.properties?.bold,e.properties?.italic),i=e.properties?.vertAlign===`superscript`?t*NR:e.properties?.vertAlign===`subscript`?-t*NR:0;u=Math.max(u,n.ascent+i),d=Math.min(d,n.descent+i)}}b===`center`?c=(s-l)/2:(b===`right`||b===`end`)&&(c=s-l);let h=0,g=0;if(b===`both`&&!HH(ne,e)){let e=s-c-l;if(e>0){let{spaces:n,ideographs:r}=UH(t),i=n+r;if(i>0){let t=e/i;n>0&&(g=t),r>0&&(h=t)}}}c+=o;for(let e of t){if(`type`in e&&e.type===`break`)continue;if(`type`in e&&e.type===`image`){let t=ZH(e.content.width),r=ZH(e.content.height),i=e.content.rId?a?.get(e.content.rId):void 0;n.push({type:`image`,x:c,width:t,height:r,data:i?.data??/* @__PURE__ */ new Uint8Array,mimeType:QH(i?.mediaType),altText:e.content.altText}),c+=t;continue}let t=RH(e.properties)*p,i=BH(e.properties),o=i.ascii===i.eastAsia&&h===0?[{text:e.text,cjk:!1}]:qr(e.text);for(let a of o){let o=a.cjk?i.eastAsia:i.ascii,s=a.cjk?h:0,l=a.cjk?0:g,u=VH(a.text,o,t,r,e.properties?.bold,e.properties?.italic)+KH(a.text,s,l);n.push({text:a.text,x:c,width:u,font:o,fontSize:t,charSpacing:s>0?s:void 0,wordSpacing:l>0?l:void 0,bold:e.properties?.bold||void 0,italic:e.properties?.italic||void 0,color:XH(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}),c+=u}}let _=b===`both`?`justify`:b===`end`?`right`:b===`start`?`left`:b,{baseline:v,height:x}=Jz({nominalHeight:E,ascent:u,descent:d,imageAscent:m,exact:f?.lineRule===`exact`});ie.push({y:ce,height:x,baseline:v,runs:n,alignment:_}),ae.push(t.flatMap(e=>wH(e)?e.noteIds??[]:[])),oe.push(t.flatMap(e=>wH(e)?e.bookmarks??[]:[])),t.some(e=>`type`in e&&e.type===`break`&&e.pageBreak===!0)&&se.push(e),ce+=x}ie.length===0&&d?.thematicBreak!==!0&&(ce+=E);let le=0;m?.after?le=0:f?.afterAutoSpacing?le=5:f?.after!=null&&(le=dg(f.after));let ue=ce+le,de=vH(d?.borders),fe=wB(d?.shading),pe=de!==void 0||fe!==void 0;if(de&&(m?.mergeDecorationTop||m?.mergeDecorationBottom)){let{top:e,bottom:t,...n}=de,r=_H(d?.borders?.between);de={...n,...m.mergeDecorationTop?r?{top:r}:{}:e?{top:e}:{},...m.mergeDecorationBottom?{}:t?{bottom:t}:{}}}return{type:`paragraph`,rect:{x:0,y:t,width:n,height:ue},lines:ie,...de?{borders:de}:{},...fe?{backgroundColor:fe}:{},...ae.some(e=>e.length>0)?{lineNoteIds:ae}:{},...oe.some(e=>e.length>0)?{lineBookmarks:oe}:{},...se.length>0?{pageBreakAfterLines:se}:{},...pe?{decorationInsets:{left:y,right:ee,top:m?.mergeDecorationTop?0:h,bottom:m?.mergeDecorationBottom?0:le}}:{},sourceIndex:0}}function _H(e){if(!e||e.style===`none`||e.style===`nil`)return;let t=e.size==null?.5:e.size/8,n=!e.color||e.color===`auto`?`000000`:e.color.replace(/^#/,``);return{width:Math.max(.25,t),color:n,space:e.space??0}}function vH(e){if(!e)return;let t=_H(e.top),n=_H(e.bottom),r=_H(e.left??e.bar),i=_H(e.right);if(t||n||r||i)return{...t?{top:t}:{},...n?{bottom:n}:{},...r?{left:r}:{},...i?{right:i}:{}}}function yH(e,t,n,r,i,a){let o=e.rows.length>0?e.rows[0].cells.length:0,s=CH(e,o,n),c=[0];for(let e=0;e<s.length;e++)c.push(c[e]+s[e]);let l=[],u=0,d=e.rows.length,f=e.properties?.style,p=e.properties?.look;for(let t=0;t<e.rows.length;t++){let r=e.rows[t],m=AR(e.properties,11),h=[],g=r.properties?.height,_=g?.value==null?void 0:dg(g.value);_!==void 0&&g?.rule!==`auto`&&(m=Math.max(m,_));let v=0;for(let g=0;g<r.cells.length;g++){let _=r.cells[g],y=Math.max(1,_.properties?.gridSpan??1),b=Math.min(v,s.length-1),x=Math.min(v+y,s.length),S=c[b]??0,C=(c[x]??n)-S,w=[],T=SH(e.properties,_.properties),E=Math.max(1,C-T.left-T.right),ee=T.top,te=f?{tableContext:{tableStyleId:f,tblLook:p,rowIndex:t,colIndex:b,totalRows:d,totalCols:Math.max(o,s.length),rowBandSize:e.properties?.rowBandSize,colBandSize:e.properties?.colBandSize}}:void 0;for(let e of _.content)if(e.type===`paragraph`){let t=gH(e,ee,E,i,void 0,a,void 0,te);w.push({...t,rect:{...t.rect,x:t.rect.x+T.left},sourceIndex:-1}),ee=t.rect.y+t.rect.height}else if(e.type===`table`){let t=yH(e,ee,E,-1,i,a);w.push({...t,rect:{...t.rect,x:t.rect.x+T.left}}),ee=t.rect.y+t.rect.height}let ne=ee+T.bottom;ne>m&&(m=ne);let re=yU?yU.tableCellFill(e,_,{rowIndex:t,colIndex:b,totalRows:d,totalCols:Math.max(o,s.length)}):void 0;l.push({rect:{x:S,y:u,width:C,height:ne},row:t,col:g,content:w,...re?{backgroundColor:re}:{},borders:xH(e.properties?.borders,_.properties?.borders,t===0,t===e.rows.length-1,b===0,x>=s.length)}),h.push({cell:l[l.length-1],verticalAlign:_.properties?.verticalAlign}),v+=y}_!==void 0&&g?.rule===`exact`&&(m=_);for(let{cell:e,verticalAlign:t}of h)e.rect.height>m&&(e.clipToBounds=!0),bH(e,t,m),e.rect.height=m;u+=m}return{type:`table`,rect:{x:0,y:t,width:n,height:u},cells:l,sourceIndex:r}}function bH(e,t,n){if(!t||t===`top`)return;let r=n-e.rect.height;if(r<=0)return;let i=t===`center`?r/2:r;for(let t of e.content)t.rect.y+=i}function xH(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=n?o(t?.top,e?.top,e?.insideH,!0):o(t?.top,void 0,void 0,!1),c=o(t?.bottom,e?.bottom,e?.insideH,r),l=i?o(t?.left,e?.left,e?.insideV,!0):o(t?.left,void 0,void 0,!1),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 SH(e,t){let n=wR(e,t);return{top:dg(n.top),right:dg(n.right),bottom:dg(n.bottom),left:dg(n.left)}}function CH(e,t,n){return kR(e,t,ug(n)).map(dg)}function wH(e){return!(`type`in e)||e.type===void 0}function TH(e,t){let n=[],r=e=>{let r=yU?OR(yU,e,t):DR(t,e.properties);Qz(r)||EH(e,n,r)};for(let t of e.children){let e=Zz(t);if(e)r(e);else if(dz(t))for(let e of $z(t.children))r(e);else`type`in t&&t.type===`bookmarkStart`&&`name`in t&&n.push({text:``,properties:void 0,bookmarks:[t.name]})}return n}function EH(e,t,n){let r=``,i=()=>{r.length>0&&(t.push({text:r,properties:n}),r=``)};for(let a of e.content)if(a.type===`text`)r+=a.text;else if(a.type===`tab`)r+=` `;else if(a.type===`break`){i();let e=a.breakType===`page`;t.push({type:`break`,properties:n,...e?{pageBreak:!0}:{}})}else if(a.type===`image`)i(),t.push({type:`image`,content:a,properties:n});else if(a.type===`symbol`)r+=fz(a);else if(a.type===`field`)r+=DH(a);else if(a.type===`footnoteRef`||a.type===`endnoteRef`){i();let e=OH(a.type,a.id);e.length>0&&t.push({text:e,properties:n,noteIds:[a.id]})}i()}function DH(e){let t=bU;if(t){let n=tB(e.instruction),r=n?.name===`PAGE`?t.page:n?.name===`NUMPAGES`?t.numPages:t.sectionPages,i=n&&r!==void 0?rB(n,r,t.format):void 0;if(i!==void 0)return i}return e.cachedValue??``}function OH(e,t){let n=e===`footnoteRef`?vU?.footnotes:vU?.endnotes;if(!n)return``;let r=n.filter(e=>e.id>0).findIndex(e=>e.id===t);return r>=0?String(r+1):``}function kH(e,t,n){let r=[],i=/* @__PURE__ */ new Map,a=e=>{let r=RH(e)*t,a=BH(e),o=e?.bold===!0,s=e?.italic===!0,c=`${a.ascii}\u0000${a.eastAsia}|${r}|${o?`b`:``}${s?`i`:``}`,l=i.get(c);if(l===void 0){let e=FH(a.ascii,r,n,o,s);if(a.eastAsia===a.ascii)l=e;else{let t=FH(a.eastAsia,r,n,o,s);l=n=>{let r=0;for(let i of qr(n))r+=i.cjk?t(i.text):e(i.text);return r}}i.set(c,l)}return l},o=e=>{let t=r[r.length-1];if(t===void 0||t.kind===`space`||t.kind===`break`)return!1;if(e!==void 0&&e.length>0&&t.text.length>0){let n=[...t.text];if(Gr(n[n.length-1].codePointAt(0),e.codePointAt(0)))return!1}return!0};for(let t of e){if(`type`in t&&t.type===`break`){r.push({kind:`break`,width:0,glued:!1,text:``,segment:t,measure:xU});continue}if(`type`in t&&t.type===`image`){r.push({kind:`image`,width:ZH(t.content.width),glued:o(),text:``,segment:t,measure:xU});continue}let e=a(t.properties);if(t.text.length===0){r.push({kind:`word`,width:0,glued:o(),text:``,segment:t,measure:e});continue}for(let n of t.text.split(/(\s+)/)){if(n.length===0)continue;if(/^\s/.test(n)){r.push({kind:`space`,width:e(n),glued:!1,text:n,segment:t,measure:e});continue}let i=!0;for(let a of Kr(n))r.push({kind:`word`,width:e(a),glued:i?o(a):!1,text:a,segment:t,measure:e}),i=!1}}return r}function AH(e){let t=e.segment;return`type`in t&&t.type===`break`&&t.pageBreak===!0}function jH(e,t){if(!t.glued)return 0;let n=0;for(;n<e.length;){let t=e[e.length-1-n];if(n++,!t.glued)break}return n>=e.length?0:n}function MH(e,t,n){let r=n;for(let n=0;n<t;n++)r-=e[e.length-1-n].width;return r}function NH(e){let t=[],n,r=``,i=()=>{n!==void 0&&wH(n)&&t.push(r===n.text?n:{...n,text:r}),n=void 0,r=``};for(let a of e){if(a.kind===`break`||a.kind===`image`){i(),t.push(a.segment);continue}a.segment!==n&&(i(),n=a.segment),r+=a.text}for(i();t.length>0;){let e=t[t.length-1];if(!wH(e))break;let n=e.text.replace(/\s+$/,``);if(n===e.text)break;if(t.pop(),n.length>0){t.push({...e,text:n});break}if(e.noteIds!==void 0||e.bookmarks!==void 0){t.push({...e,text:``});break}}return t}function PH(e,t,n,r,i,a,o,s){let c=kH(e,r,s),l=[],u=[];if(c.length===0)return{lines:l,slots:u};let d=0,f=0,p=!1;for(;d<c.length;){let e=JV(o,a+f*i,i),r=f===0?n:0,s=e.width-r,m=e.xOffset+r;if(e.xOffset===0&&t>0&&(s-=t,m+=t),s<=0){if(l.push([]),u.push({xOffset:m,width:Math.max(0,s)}),f++,f>1e3)break;continue}if(p&&c[d].kind===`space`&&(d++,d>=c.length))break;p=!0;let h=[],g=0;for(;d<c.length;){let e=c[d];if(e.kind===`break`){if(AH(e)&&l.length===0&&h.length===0){d++,p=!1;continue}h.push(e),d++,p=!1;break}if(g+e.width<=s){h.push(e),g+=e.width,d++;continue}let t=jH(h,e);if(t>0&&MH(h,t,g)>0){h.length-=t,d-=t;break}if(g>0)break;if(e.kind===`word`&&e.text.length>0){let{head:t,tail:n}=IH(e.text,e.measure,s);if(n.length>0){c[d]={...e,text:n,width:e.measure(n),glued:!0};let r=e.measure(t);h.push({...e,text:t,width:r}),g+=r;break}}h.push(e),g+=e.width,d++}if(l.push(NH(h)),u.push({xOffset:m,width:s}),f++,f>1e5)break}return{lines:l,slots:u}}function FH(e,t,n,r,i){let a=/* @__PURE__ */ new Map;return o=>{if(o.length>8)return VH(o,e,t,n,r,i);let s=a.get(o);if(s!==void 0)return s;let c=VH(o,e,t,n,r,i);return a.set(o,c),c}}function IH(e,t,n){let r=``,i=0,a=0;for(let o of e){let e=t(o);if(r.length>0&&i+e>n)break;r+=o,i+=e,a+=o.length}return{head:r,tail:e.slice(a)}}function LH(e,t,n,r,i){let a=kH(e,r,i),o=[],s=[],c=0,l=!0,u=t-n,d=!1,f=()=>{o.push(NH(s)),s=[],c=0,l&&(l=!1,u=t)},p=0;for(;p<a.length;){let e=a[p];if(e.kind===`break`){if(AH(e)&&o.length===0&&s.length===0){d=!1,p++;continue}s.push(e),f(),d=!1,p++;continue}if(e.kind===`space`){if(d&&c===0){p++;continue}s.push(e),c+=e.width,p++;continue}if(c+e.width<=u){s.push(e),c+=e.width,p++;continue}let t=jH(s,e);if(t>0&&MH(s,t,c)>0){s.length-=t,p-=t,f(),d=!0;continue}if(c>0){f(),d=!0;continue}if(e.kind===`image`||e.text.length===0){s.push(e),c+=e.width,p++;continue}let{head:n,tail:r}=IH(e.text,e.measure,u);if(r.length===0){s.push(e),c+=e.width,p++;continue}let i=e.measure(n);s.push({...e,text:n,width:i}),c+=i,a[p]={...e,text:r,width:e.measure(r),glued:!0},f(),d=!0}return s.length>0&&f(),o.length===0&&e.length>0&&o.push(e),o}function RH(e){let t=e?.size?e.size/2:11;return e?.vertAlign===`superscript`||e?.vertAlign===`subscript`?t*MR:t}function zH(e,t,n){let r=0;for(let t of e){if(!wH(t))continue;let e=RH(t.properties);e>r&&(r=e)}if(r===0){let i=e.find(e=>`type`in e&&e.type===`break`)?.properties;r=RH(t?.markRunProperties??n??i)}return r*jR}function BH(e){let t=e?.font;if(!t)return{ascii:`Calibri`,eastAsia:`Calibri`};if(typeof t==`string`)return{ascii:t,eastAsia:t};let n=t,r=n.ascii??n.hAnsi??`Calibri`;return{ascii:r,eastAsia:n.eastAsia??r}}function VH(e,t,n,r,i,a){return r?.measureText?r.measureText(e,t,n,i,a):Mi(e,Li(t,i,a),n)}function HH(e,t){if(t>=e.length-1)return!0;let n=e[t+1];return e[t].some(e=>`type`in e&&e.type===`break`)||n.length===0}function UH(e){let t={spaces:0,ideographs:0};for(let n of e)if(wH(n)){let e=WH(n.text);t.spaces+=e.spaces,t.ideographs+=e.ideographs}return t}function WH(e){let t=0,n=0;for(let r of qr(e)){if(r.cjk){n+=Yr(r.text);continue}for(let e of r.text)GH(e)&&t++}return{spaces:t,ideographs:n}}function GH(e){return e===` `}function KH(e,t,n){if(t===0&&n===0)return 0;let{spaces:r,ideographs:i}=WH(e);return r*n+i*t}function qH(e,t,n,r,i,a){let o=BH(t);if(o.ascii===o.eastAsia)return VH(e,o.ascii,n,r,i,a);let s=0;for(let t of qr(e))s+=VH(t.text,t.cjk?o.eastAsia:o.ascii,n,r,i,a);return s}function JH(e,t,n,r,i,a){let o=BH(t);if(o.ascii===o.eastAsia)return YH(e,o.ascii,n,r,i,a);let s=-1/0,c=1/0;for(let t of qr(e)){let e=YH(t.text,t.cjk?o.eastAsia:o.ascii,n,r,i,a);s=Math.max(s,e.ascent),c=Math.min(c,e.descent)}return s===-1/0?YH(e,o.ascii,n,r,i,a):{ascent:s,descent:c}}function YH(e,t,n,r,i,a){if(r?.measureTextMetrics)return r.measureTextMetrics(e,t,n,i,a);let o=Li(t,i,a);return{ascent:Ni(o,n),descent:Pi(o,n)}}function XH(e){if(e){if(typeof e==`string`)return e;if(typeof e==`object`&&`value`in e)return e.value}}function ZH(e){return e/yg}function QH(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 $H(e){let t=/* @__PURE__ */ 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 eU(e,t,n,r,i,a,o){if(e.simplePos!==void 0){let t=ZH(e.simplePos.x??0),n=ZH(e.simplePos.y??0);return{x:t-i.marginLeft,y:n-i.marginTop}}return{x:tU(e,n,i,a)??0,y:nU(e,t,r,i,o)??t}}function tU(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+ZH(i.offset)}function nU(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+ZH(a.offset)}function rU(e,t,n,r,i,a,o){let s=ZH(e.width),c=ZH(e.height),{x:l,y:u}=eU(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:QH(d.mediaType),altText:e.altText,sourceIndex:a}:{type:`image`,rect:{x:l,y:u,width:s,height:c},data:/* @__PURE__ */ 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:iU(e.wrap)}:{},sourceIndex:a}}function iU(e){let t={style:e.style};if(e.side&&(t.side=e.side),e.margins){let n={};e.margins.top!=null&&(n.top=ZH(e.margins.top)),e.margins.bottom!=null&&(n.bottom=ZH(e.margins.bottom)),e.margins.left!=null&&(n.left=ZH(e.margins.left)),e.margins.right!=null&&(n.right=ZH(e.margins.right)),Object.keys(n).length>0&&(t.margins=n)}return t}function aU(e,t,n,r,i,a){let o=e.width==null?n:dg(e.width),s=[],c=0;for(let t of e.content){let e=gH(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):dg(e.height)},content:s,border:e.stroke&&e.strokeColor?{width:.75,color:mU(e.strokeColor)}:void 0,background:e.fill&&e.fillColor?mU(e.fillColor):void 0,sourceIndex:r}}function oU(e,t,n,r,i,a){let o=ZH(e.width),s=ZH(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=gH(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:hU(e.fillColor),strokeColor:e.noOutline?void 0:hU(e.outlineColor),strokeWidth:e.outlineWidth==null?void 0:ZH(e.outlineWidth),textContent:l.length>0?l:void 0,sourceIndex:r}}function sU(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(ZH(i),n),s=ZH(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 cU(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=gH(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=yH(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 lU(e,t,n,r,i){let a=pz(e.content),o;try{o=Oz(e.content)}catch{o=void 0}let s=i?.fonts?.get(`Cambria Math`)??`Cambria Math`;return{type:`math`,rect:{x:0,y:t,width:Math.min(VH(a,s,11,i),n),height:13.2},text:a,mathML:o,sourceIndex:r}}function uU(e,t,n,r){let i=e.checked===!0,a=i?e.checkedState?.value??`☑`:e.uncheckedState?.value??`☐`;return{type:`checkBox`,rect:{x:0,y:t,width:VH(a,e.checkedState?.font??r?.fonts?.get(`MS Gothic`)??`MS Gothic`,11,r),height:13.2},checked:i,glyph:a,fontSize:11,sourceIndex:n}}function dU(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=gH(t,s,n,i,void 0,a);o.push({...e,sourceIndex:r}),s=e.rect.y+e.rect.height}else{let e=gH({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 fU(e,t,n,r){return{type:`altChunk`,rect:{x:0,y:t,width:n,height:33},contentType:e.contentType??`application/octet-stream`,fileName:e.fileName,sourceIndex:r}}function pU(e,t,n,r){return{type:`opaqueDrawing`,rect:{x:0,y:t,width:n,height:132},rawXml:e.rawXml,sourceIndex:r}}function mU(e){return e.startsWith(`#`)?e.slice(1):e}function hU(e){return e?mU(e):void 0}var gU,_U,vU,yU,bU,xU,SU=n((()=>{li(),Ki(),qz(),mz(),Dz(),IV(),IR(),Xz(),eB(),zV(),pB(),jB(),zB(),BV(),xU=()=>0}));function CU(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 wU(e){let t=OL(e).root,n=$(t,`cx:chartData`),r=$(t,`cx:chart`),i={entries:[]};if(CU(t,oW,`cx:chartSpace`,i),r){CU(r,sW,`cx:chartSpace/cx:chart`,i);let e=$(r,`cx:plotArea`);if(e){CU(e,cW,`cx:chartSpace/cx:chart/cx:plotArea`,i);let t=$(e,`cx:plotAreaRegion`);if(t){CU(t,lW,`cx:chartSpace/cx:chart/cx:plotArea/cx:plotAreaRegion`,i);for(let e of kL(t,`cx:series`))CU(e,uW,`cx:chartSpace/cx:chart/cx:plotArea/cx:plotAreaRegion/cx:series`,i)}for(let t of kL(e,`cx:series`))CU(t,uW,`cx:chartSpace/cx:chart/cx:plotArea/cx:series`,i);for(let t of kL(e,`cx:axis`))CU(t,dW,`cx:chartSpace/cx:chart/cx:plotArea/cx:axis`,i)}}let a=UU(r?$(r,`cx:spPr`):void 0),o=UU($(t,`cx:spPr`))??a,s=kL(t,`cx:externalData`).map(e=>({id:e.attributes[`r:id`]??``,autoUpdate:ZU(e,`autoUpdate`)})),c=n?kL(n,`cx:externalData`).map(e=>({id:e.attributes[`r:id`]??``,autoUpdate:ZU(e,`autoUpdate`)})):[],l=s.length>0?s:c;return{chartSpace:{chartData:TU(n,i),chart:AU(r,i),clrMapOvr:GU(t,`cx:clrMapOvr`),spPr:o,txPr:WU(t,`cx:txPr`),protection:GU(t,`cx:protection`),printSettings:GU(t,`cx:printSettings`),extLst:GU(t,`cx:extLst`),...l.length>0?{externalData:l}:{}},rawXml:e,...i.entries.length>0?{unknownElements:i.entries}:{}}}function TU(e,t){return e?{data:kL(e,`cx:data`).flatMap(e=>DU(e,t))}:{data:[]}}function EU(e,t){let n=$(e,`cx:strDim`),r=$(e,`cx:numDim`);return{id:nW(e.attributes.id),...n?{strDim:OU(n,t)}:{},...r?{numDim:kU(r,t)}:{}}}function DU(e,t){let n=nW(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[EU(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:OU(a,t)}):i.push({id:o,numDim:kU(a,t)})}return i}function OU(e,t){return{type:iW(e.attributes.type,t,`cx:strDim/@type`),formula:YU(e,`cx:f`),levels:kL(e,`cx:lvl`).map(e=>({ptCount:tW(e.attributes.ptCount),points:kL(e,`cx:pt`).map(e=>({index:nW(e.attributes.idx),value:AL(e)}))}))}}function kU(e,t){return{type:iW(e.attributes.type,t,`cx:numDim/@type`),formula:YU(e,`cx:f`),levels:kL(e,`cx:lvl`).map(e=>({ptCount:tW(e.attributes.ptCount),formatCode:e.attributes.formatCode,points:kL(e,`cx:pt`).map(e=>{let t=parseFloat(AL(e));if(Number.isFinite(t))return{index:nW(e.attributes.idx),value:t}}).filter(e=>e!==void 0)}))}}function AU(e,t){let n=e?$(e,`cx:plotArea`):void 0;return{title:e?BU($(e,`cx:title`)):void 0,autoTitleDeleted:e?ZU($(e,`cx:autoTitleDeleted`),`val`):void 0,plotArea:jU(n,t),legend:e?zU($(e,`cx:legend`),t):void 0}}function jU(e,t){if(!e)return{};let n=$(e,`cx:plotAreaRegion`),r=kL(e,`cx:axis`).map(e=>RU(e,t));if(n){let i=$(n,`cx:plotSurface`);return{plotAreaRegion:{layout:HU($(n,`cx:layout`)),plotSurface:i?UU($(i,`cx:spPr`)):void 0,series:kL(n,`cx:series`).map(e=>NU(e,t,`cx:chartSpace/cx:chart/cx:plotArea/cx:plotAreaRegion/cx:series`)),extLst:GU(n,`cx:extLst`)},spPr:UU($(e,`cx:spPr`)),extLst:GU(e,`cx:extLst`),...r.length>0?{axis:r}:{}}}let i=kL(e,`cx:series`).map(e=>NU(e,t,`cx:chartSpace/cx:chart/cx:plotArea/cx:series`));return{...i.length>0?{series:i}:{},spPr:UU($(e,`cx:spPr`)),extLst:GU(e,`cx:extLst`),...r.length>0?{axis:r}:{}}}function MU(e,t,n){return e!==void 0&&fW.has(e)?{layoutId:e}:(t?.entries.push({name:e===void 0?`@layoutId(missing)`:`@layoutId=${e}`,path:n}),{layoutId:`clusteredColumn`,rawLayoutId:e})}function NU(e,t,n){let r=kL(e,`cx:dataId`).map(e=>({dataId:nW(e.attributes.val)})),i=kL(e,`cx:axisId`).map(e=>{let t=e.attributes.val;if(t!==void 0&&t!==``)return nW(t);let n=AL(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=PU($(e,`cx:tx`)),o=FU($(e,`cx:layoutPr`)),s=MU(e.attributes.layoutId,t,n??`cx:series`);return{layoutId:s.layoutId,...s.rawLayoutId===void 0?{}:{rawLayoutId:s.rawLayoutId},hidden:ZU(e,`hidden`),ownerIdx:tW(e.attributes.ownerIdx),...a?{tx:a}:{},spPr:UU($(e,`cx:spPr`)),txPr:WU(e,`cx:txPr`),valueColors:GU(e,`cx:valueColors`),valueColorPositions:GU(e,`cx:valueColorPositions`),...r.length>0?{dataRefs:r}:{},...o?{layoutPr:o}:{},...i.length>0?{axisId:i}:{},dataLabels:IU($(e,`cx:dataLabels`),t,n),dataPt:kL(e,`cx:dataPt`).map(e=>({idx:nW(e.attributes.idx),spPr:UU($(e,`cx:spPr`))})),extLst:GU(e,`cx:extLst`)}}function PU(e){if(!e)return;let t=$(e,`cx:rich`);if(t){let e=VU(t);if(e)return{rich:e}}let n=$(e,`cx:txData`);if(!n)return;let r=YU(n,`cx:f`);if(r){let e=YU(n,`cx:v`);return{strRef:e===void 0?{formula:r}:{formula:r,cached:e}}}let i=YU(n,`cx:v`);return i===void 0?void 0:{value:i}}function FU(e){if(!e)return;let t=$(e,`cx:binning`),n=$(e,`cx:subtotals`),r=n?[...kL(n,`cx:idx`).map(e=>({idx:nW(e.attributes.val)})),...kL(n,`cx:subtotal`).map(e=>({idx:nW(e.attributes.idx)}))]:void 0,i=XU(e,`cx:parentLabelLayout`),a=$(e,`cx:visibility`),o=$(e,`cx:statistics`),s=$(e,`cx:geography`),c=$(e,`cx:regionLabelLayout`),l=o?.attributes.quartileMethod??XU(e,`cx:quartileMethod`),u=s?.attributes.projectionType??XU(e,`cx:projection`),d=c?.attributes.val??XU(e,`cx:regionLabels`),f=d===`bestFitOnly`?`bestFit`:d,p=s?.attributes.viewedRegionType??XU(e,`cx:geoMappingLevel`),m=p===`countryRegion`?`country`:p===`dataOnly`?`automatic`:p;return{_rawXml:qU(e),...i===void 0?{}:{parentLabelLayout:i},...r===void 0?{}:{subtotals:r},...(()=>{let t=a?.attributes.connectorLines;if(t!==void 0){let e=QU(t);return e===void 0?{}:{connectorLines:e}}let n=$U($(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:rW(t.attributes.underflow),overflow:rW(t.attributes.overflow),binSize:rW((YU(t,`cx:binSize`)||void 0)??XU(t,`cx:binSize`)),binCount:tW((YU(t,`cx:binCount`)||void 0)??XU(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=$U($(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=QU(t);return e===void 0?{}:{showMeanLine:e}}let n=$U($(e,`cx:showMeanLine`));return n===void 0?{}:{showMeanLine:n}})(),...(()=>{let t=a?.attributes.meanMarker;if(t!==void 0){let e=QU(t);return e===void 0?{}:{showMeanMarker:e}}let n=$U($(e,`cx:showMeanMarker`));return n===void 0?{}:{showMeanMarker:n}})(),...(()=>{let t=a?.attributes.nonoutliers;if(t!==void 0){let e=QU(t);return e===void 0?{}:{showInnerPoints:e}}let n=$U($(e,`cx:showInnerPoints`));return n===void 0?{}:{showInnerPoints:n}})(),...(()=>{let t=a?.attributes.outliers;if(t!==void 0){let e=QU(t);return e===void 0?{}:{showOutlierPoints:e}}let n=$U($(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:GU(e,`cx:extLst`)}}function IU(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:ZU(r,`seriesName`),categoryName:ZU(r,`categoryName`),value:ZU(r,`value`),numFmt:ZU(r,`numFmt`)}:void 0,position:eW($(e,`cx:dataLabel`)?.attributes.pos,i,t,`${a}/cx:dataLabel/@pos`),separator:YU(e,`cx:separator`),numFmt:$(e,`cx:numFmt`)?.attributes.formatCode,spPr:UU($(e,`cx:spPr`)),txPr:WU(e,`cx:txPr`)}}function LU(e){if(!e)return;let t=$(e,`cx:spPr`);return t?UU(t):{}}function RU(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:nW(e.attributes.id),type:$(e,`cx:valScaling`)?`val`:`cat`,hidden:ZU(e,`hidden`)??$U($(e,`cx:hidden`)),majorTickMark:o(eW($(e,`cx:majorTickMarks`)?.attributes.type??$(e,`cx:majorTickMark`)?.attributes.type??XU(e,`cx:majorTickMarks`)??XU(e,`cx:majorTickMark`),a,t,`cx:axis/cx:majorTickMarks/@type`)),minorTickMark:o(eW($(e,`cx:minorTickMarks`)?.attributes.type??$(e,`cx:minorTickMark`)?.attributes.type??XU(e,`cx:minorTickMarks`)??XU(e,`cx:minorTickMark`),a,t,`cx:axis/cx:minorTickMarks/@type`)),numFmt:n?{formatCode:n.attributes.formatCode||`General`,sourceLinked:ZU(n,`sourceLinked`)}:void 0,title:BU($(e,`cx:title`)),majorGridlines:LU($(e,`cx:majorGridlines`)),minorGridlines:LU($(e,`cx:minorGridlines`)),spPr:UU($(e,`cx:spPr`)),txPr:WU(e,`cx:txPr`),valScaling:r?{min:rW(r.attributes.min),max:rW(r.attributes.max),majorUnit:rW(r.attributes.majorUnit),minorUnit:rW(r.attributes.minorUnit)}:void 0,catScaling:i?{gapWidth:rW(i.attributes.gapWidth)}:void 0,units:GU(e,`cx:units`),extLst:GU(e,`cx:extLst`)}}function zU(e,t){if(e)return{legendPos:eW(e.attributes.pos,[`b`,`l`,`r`,`t`,`tr`],t,`cx:legend/@pos`),align:eW(e.attributes.align,[`ctr`,`l`,`r`,`t`,`b`],t,`cx:legend/@align`),overlay:ZU(e,`overlay`),spPr:UU($(e,`cx:spPr`)),txPr:WU(e,`cx:txPr`),extLst:GU(e,`cx:extLst`),legendEntries:kL(e,`cx:legendEntry`).map(e=>({index:nW(e.attributes.idx),delete:ZU(e,`delete`),txPr:WU(e,`cx:txPr`),extLst:GU(e,`cx:extLst`)}))}}function BU(e){if(!e)return;let t=$(e,`cx:tx`),n=VU($(t??aW(),`cx:rich`)),r=$(t??aW(),`cx:txData`),i=r?YU(r,`cx:f`):void 0,a=r?YU(r,`cx:v`):void 0,o=i?{formula:i,cache:a===void 0?{points:[]}:{points:[{index:0,value:a}]}}:void 0,s=ZU($(e,`cx:overlay`),`val`),c=UU($(e,`cx:spPr`)),l=WU(e,`cx:txPr`),u=GU(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 VU(e){if(!e)return;let t=kL(e,`a:p`).map(e=>({runs:kL(e,`a:r`).map(e=>{let t=YU(e,`a:t`)??``,n=$(e,`a:rPr`);if(!n)return{text:t};let r=KU(n);if(!r)return{text:t};let i=WO({_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 HU(e){let t=KU(e);return t?{_rawXml:t}:void 0}function UU(e){let t=KU(e);if(t)return{...OO({_rawXml:t}),_rawXml:t}}function WU(e,t){let n=GU(e,t);if(n)return{...WO({_rawXml:n}),_rawXml:n}}function GU(e,t){return KU($(e,t))}function KU(e){if(e)return qU(e)}function qU(e){let t=Object.entries(e.attributes??{}).map(([e,t])=>` ${e}="${An(t)}"`).join(``),n=e.children??[];return n.length===0?`<${e.name}${t}/>`:`<${e.name}${t}>${n.map(JU).join(``)}</${e.name}>`}function JU(e){return e.type===`text`?tO(e.value??``):e.type===`element`?qU(e):e.type===`cdata`?`<![CDATA[${e.value??``}]]>`:e.type===`comment`?`<!--${e.value??``}-->`:e.type===`processing-instruction`?`<?${e.target}${e.body?` ${e.body}`:``}?>`:``}function YU(e,t){let n=$(e,t);return n?AL(n):void 0}function XU(e,t){return $(e,t)?.attributes.val}function ZU(e,t){let n=e?.attributes[t];if(n!==void 0)return QU(n)}function QU(e){if(e!==void 0){if(e===`1`||e===`true`)return!0;if(e===`0`||e===`false`)return!1}}function $U(e){if(e)return e.attributes.val===void 0||ZU(e,`val`)}function eW(e,t,n,r){if(e!==void 0){if(t.includes(e))return e;n?.entries.push({name:`${r}=${e}`,path:r})}}function tW(e){if(e===void 0)return;let t=parseInt(e,10);return Number.isFinite(t)?t:void 0}function nW(e){if(e===void 0||e===``)return 0;let t=parseInt(e,10);return!Number.isFinite(t)||t<0?0:t}function rW(e){if(e===void 0)return;let t=parseFloat(e);return Number.isFinite(t)?t:void 0}function iW(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 aW(){return{type:`element`,name:``,attributes:{},children:[]}}var oW,sW,cW,lW,uW,dW,fW,pW=n((()=>{yO(),ZO(),jL(),oW=/* @__PURE__ */ new Set([`cx:chartData`,`cx:chart`,`cx:clrMapOvr`,`cx:spPr`,`cx:txPr`,`cx:protection`,`cx:printSettings`,`cx:externalData`,`cx:extLst`]),sW=/* @__PURE__ */ new Set([`cx:title`,`cx:autoTitleDeleted`,`cx:plotArea`,`cx:legend`,`cx:spPr`,`cx:extLst`]),cW=/* @__PURE__ */ new Set([`cx:plotAreaRegion`,`cx:series`,`cx:axis`,`cx:spPr`,`cx:extLst`]),lW=/* @__PURE__ */ new Set([`cx:layout`,`cx:plotSurface`,`cx:spPr`,`cx:series`,`cx:extLst`]),uW=/* @__PURE__ */ new Set([`cx:tx`,`cx:spPr`,`cx:txPr`,`cx:valueColors`,`cx:valueColorPositions`,`cx:dataPt`,`cx:dataLabels`,`cx:dataId`,`cx:layoutPr`,`cx:axisId`,`cx:extLst`]),dW=/* @__PURE__ */ 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`]),fW=/* @__PURE__ */ new Set([`clusteredColumn`,`waterfall`,`funnel`,`boxWhisker`,`paretoLine`,`regionMap`,`sunburst`,`treemap`])}));function mW(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 hW(e){return{strLit:{pointCount:e.length,points:e.map((e,t)=>({index:t,value:e}))}}}function gW(e){return{numLit:{pointCount:e.length,points:e.map((e,t)=>({index:t,value:e}))}}}function _W(e){if(e&&e!==`none`)return{b:`b`,l:`l`,r:`r`,t:`t`,tr:`tr`}[e]??`r`}function vW(e){let t=mW(e.type),n=yW(e,t),r=bW(t,e),i=e.legend&&e.legend!==`none`?{legendPos:_W(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 yW(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:hW(e.categories),val:gW(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:hW(e.categories),val:gW(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:hW(e.categories),val:gW(e.values)}))};case`doughnut`:return{type:`doughnut`,varyColors:!0,series:e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:hW(e.categories),val:gW(e.values)})),holeSize:50};case`area`:case`area3D`:{let r=e.series.map((e,t)=>({index:t,order:t,tx:{value:e.name},cat:hW(e.categories),val:gW(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:hW(e.categories),yVal:gW(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:hW(e.categories),val:gW(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:hW(e.categories),val:gW(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:hW(e.categories),yVal:gW(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:hW(e.categories),val:gW(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:hW(e.categories),val:gW(e.values)})),axisIds:[1,2]}}}function bW(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 xW=n((()=>{})),SW=/* @__PURE__ */ r({createWordChartPdfRenderer:()=>CW,createWordLayoutChartPdfRenderer:()=>wW});function CW(){return(e,t,n)=>{Ij(t,vW(e),n)}}function wW(){return(e,t,n)=>{let r=e.source;if(e.chartKind===`chart`){if(r&&r.type===`chart`){Ij(t,vW(r.chart),n);return}return!1}if(r&&r.type===`chartEx`&&r.chartExXml){let i;try{i=wU(r.chartExXml)}catch{return!1}if(i&&SP(i)){CP(t,i,n,{title:e.title});return}}return!1}}var TW=n((()=>{WF(),pP(),pW(),xW()})),EW=/* @__PURE__ */ r({docxToPdf:()=>DW});async function DW(e,t){let n=MW(t),r=e=>({...n,measureText:(t,n,r,i=!1,a=!1)=>{let o=e.resolveFont(n,i,a);return e.measureText(t,o,r)},measureTextMetrics:(t,n,r,i=!1,a=!1)=>{let o=e.resolveFont(n,i,a);return e.measureTextMetrics(t,o,r)}}),i;try{let e=await Promise.resolve().then(()=>(TW(),SW));typeof e.createWordLayoutChartPdfRenderer==`function`&&(i=e.createWordLayoutChartPdfRenderer())}catch{}let a=t?.disableFontAutoDiscovery===!0,o=t?.fonts||a?void 0:kW(e),s=t?.fonts?new Rf(wr(t.fonts)):a?new Rf:await OW(o.codePoints,t?.preferSystemFonts,t?.textLanguage,ti(o.evidence)),c=VV(e,s?r(s):n);if(o){let i=jW(c);AW(i.codePoints,o.codePoints)||(s=await OW(i.codePoints,t?.preferSystemFonts,t?.textLanguage,ti(i.evidence)),c=VV(e,s?r(s):n))}let l=t?.chartRenderer,u={title:e.coreProperties?.title,author:e.coreProperties?.creator,subject:e.coreProperties?.subject,defaultFont:t?.defaultFont??`Helvetica`,defaultFontSize:t?.defaultFontSize??11,fonts:t?.fonts,fontManager:s,preferSystemFonts:t?.preferSystemFonts,textLanguage:t?.textLanguage,disableFontAutoDiscovery:t?.disableFontAutoDiscovery,onWarning:t?.onWarning,chartRenderer:l||i?(e,t,n)=>{let r=e.source;if(l&&r&&r.type===`chart`){let e=l(r.chart,t,n);if(e!==!1)return e}return i?i(e,t,n):!1}:void 0};return LR(c,u).build()}async function OW(e,t,n,r){if(e.size===0)return;let i=new Rf,a=Hf(e,t??[],n??r);a&&(i.registerFallbackFont(a),i.noteAutoDiscoveredFont(a.familyName,e.size));for(let t of e)i.trackText(String.fromCodePoint(t));return await i.prepare(),i}function kW(e){let t=/* @__PURE__ */ new Set,n=$r(),r=e=>{ei(n,e);for(let n of e){let e=n.codePointAt(0);un(e)||t.add(e)}};hz(e,{visitRunContent(e){e.type===`text`?r(e.text):e.type===`symbol`?r(fz(e)):e.type===`field`&&e.cachedValue&&r(e.cachedValue)}});for(let t of mH(e))r(t);return{codePoints:t,evidence:n}}function AW(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function jW(e){let t=/* @__PURE__ */ new Set,n=$r(),r=e=>{ei(n,e);for(let n of e){let e=n.codePointAt(0);un(e)||t.add(e)}},i=e=>{for(let t of e)switch(t.type){case`paragraph`:for(let e of t.lines)for(let t of e.runs)t.type!==`image`&&r(t.text);break;case`table`:for(let e of t.cells)i(e.content);break;case`textBox`:case`sdt`:i(t.content);break;case`shape`:t.textContent&&i(t.textContent);break;case`float`:i([t.content]);break;case`tableOfContents`:i(t.entries);break;case`math`:r(t.text);break;case`chart`:t.title&&r(t.title)}};for(let t of e.pages)i(t.content),t.header&&i(t.header),t.footer&&i(t.footer),t.footnoteArea&&i(t.footnoteArea);return{codePoints:t,evidence:n}}function MW(e){let t={pageWidth:e?.pageWidth,pageHeight:e?.pageHeight,marginTop:e?.marginTop,marginBottom:e?.marginBottom,marginLeft:e?.marginLeft,marginRight:e?.marginRight,headerMargin:e?.headerMargin,footerMargin:e?.footerMargin};return Object.values(t).some(e=>e!==void 0)?{pageGeometry:t}:{}}var NW=n((()=>{mn(),Ar(),zf(),Uf(),lz(),li(),mz(),Dz(),SU()})),PW=/* @__PURE__ */ r({Builder:()=>ng,Editor:()=>mS,EditorPage:()=>pS,PageBuilder:()=>tg,PageSizes:()=>cg,asn1Parse:()=>Ym,buildSignatureDictPlaceholder:()=>uh,create:()=>Mv,fromChart:()=>IW,fromDocx:()=>LW,fromExcel:()=>FW,parseSvgPath:()=>Rh,read:()=>Yx,sign:()=>dh,verifySignature:()=>lh,wordChartRenderer:()=>RW});rg(),Lh(),lg();async function FW(e,t){let{excelToPdf:n}=await Promise.resolve().then(()=>(SR(),PL));return n(e,t)}async function IW(e,t){let{chartToPdf:n}=await Promise.resolve().then(()=>(SR(),PL));return n(e,t)}async function LW(e,t){let{docxToPdf:n}=await Promise.resolve().then(()=>(NW(),EW));return n(e,t)}async function RW(){let{createWordChartPdfRenderer:e}=await Promise.resolve().then(()=>(TW(),SW));return e()}QE();function zW(e,t,n=1){let r=e=>t.x+e*n,i=e=>t.y+t.height-e*n,a=e=>e.map(e=>({x:r(e.x),y:i(e.y)})),o=e=>e.fill!==void 0||e.stroke!==void 0;return{pushClip(t){let a=e.getContentStream();a.save(),a.rect(r(t.x),i(t.y+t.height),t.width*n,t.height*n),a.clip(),a.endPath()},popClip(){e.getContentStream().restore()},rect(t,a,s,c,l,u){if(o(u)){if(l>0){e.drawRect({x:r(t),y:i(a+c),width:s*n,height:c*n,borderRadius:l*n,...HW(u,n)});return}e.drawRect({x:r(t),y:i(a+c),width:s*n,height:c*n,...HW(u,n)})}},ellipse(t,a,s,c,l){o(l)&&e.drawEllipse({cx:r(t),cy:i(a),rx:s*n,ry:c*n,...HW(l,n)})},sector(t,a,s,c,l,u,d){if(!o(d))return;let f=KE(t,a,s,c,l,u);f.length!==0&&e.drawPath(BW(f,r,i),HW(d,n))},polyline(t,r,i){if(!o(i))return;let s=a(t);if(s.length<2)return;if(!r&&s.length===2){let t=i.stroke;if(!t)return;e.drawLine({x1:s[0].x,y1:s[0].y,x2:s[1].x,y2:s[1].y,color:VW(t),lineWidth:(i.strokeWidth??1)*n,...i.lineJoin===void 0?{}:{lineJoin:i.lineJoin},...i.lineCap===void 0?{}:{lineCap:i.lineCap},...i.dash&&i.dash.length>0?{dashPattern:i.dash.map(e=>e*n)}:{}});return}let c=s.map((e,t)=>t===0?{op:`move`,x:e.x,y:e.y}:{op:`line`,x:e.x,y:e.y});e.drawPath(r?[...c,{op:`close`}]:c,{...HW(i,n),closePath:r})},path(t,a){o(a)&&e.drawPath(BW(t,r,i),HW(a,n))},text(t,a,o,s,c){if(!s.fill)return;let l=VW(s.fill);for(let u of o){if(u.text===``)continue;let o=-c*Math.PI/180,d=(u.x??t)+Math.sin(o)*u.dy,f=a+Math.cos(o)*u.dy;e.drawText(u.text,{x:r(d),y:i(f),fontSize:s.size*n,color:l,anchor:s.anchor??`start`,...c===0?{}:{rotation:-c},fontFamily:s.family??`arial`,...s.bold?{bold:!0}:{},...s.italic?{italic:!0}:{}})}}}}function BW(e,t,n){let r=[];for(let i of e)switch(i.op){case`move`:r.push({op:`move`,x:t(i.x),y:n(i.y)});break;case`line`:r.push({op:`line`,x:t(i.x),y:n(i.y)});break;case`cubic`:r.push({op:`curve`,x1:t(i.x1),y1:n(i.y1),x2:t(i.x2),y2:n(i.y2),x3:t(i.x),y3:n(i.y)});break;case`close`:r.push({op:`close`})}return r}function VW(e){return e.a>=1?{r:e.r,g:e.g,b:e.b}:{r:e.r,g:e.g,b:e.b,a:e.a}}function HW(e,t){return{...e.fill?{fill:VW(e.fill)}:{},...e.stroke?{stroke:VW(e.stroke)}:{},...e.strokeWidth===void 0?{}:{lineWidth:e.strokeWidth*t},...e.lineJoin===void 0?{}:{lineJoin:e.lineJoin},...e.lineCap===void 0?{}:{lineCap:e.lineCap},...e.fillRule===void 0?{}:{fillRule:e.fillRule},...e.dash&&e.dash.length>0?{dashPattern:e.dash.map(e=>e*t)}:{}}}Sn(),Object.defineProperty(e,"Pdf",{enumerable:!0,get:function(){return PW}}),e.PdfError=gn,e.PdfFontError=vn,e.PdfLimitExceededError=bn,e.PdfRenderError=_n,e.PdfSignatureInvalidationError=xn,e.PdfStructureError=yn,e.createPdfDrawSurface=zW,e.isPdfError=hn})(this.Documonster.Pdf=this.Documonster.Pdf||{})}).call(globalThis);
|