@silurus/ooxml 0.78.0 → 0.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -1
- package/THIRD_PARTY_NOTICES.md +13 -0
- package/dist/{canvas-viewer-mechanics-ChxLdOJg.js → canvas-viewer-mechanics-D9tsuHnG.js} +1 -1
- package/dist/chart-number-format-tjYUR9eS.js +435 -0
- package/dist/dash-Cyc-sevN.js +786 -0
- package/dist/{document-pull-client-xsdVDuVD.js → document-pull-client-YiU8M4LO.js} +3283 -3156
- package/dist/{docx-CZC3j4s4.js → docx-a1UpmRf8.js} +65 -56
- package/dist/docx.mjs +4 -4
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/index.mjs +3 -3
- package/dist/{line-distribute-HuZyTARz.js → line-distribute-pDqovJpT.js} +1 -1
- package/dist/{line-metrics-z9AdgPaZ.js → line-metrics-DjKxiIUD.js} +4097 -3184
- package/dist/math.mjs +1 -1
- package/dist/node.mjs +322 -322
- package/dist/{pptx-c3UgGKIs.js → pptx-t5ABdzfd.js} +192 -183
- package/dist/pptx.mjs +5 -5
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/region-map.mjs +12708 -0
- package/dist/{render-yhFUeiYl.js → render-BjIEuFIG.js} +1 -1
- package/dist/render-worker-host-BB320snY.js +27 -0
- package/dist/render-worker-host-BjEPZBwf.js +27 -0
- package/dist/render-worker-host-hZ0o4OD7.js +27 -0
- package/dist/{resource-measurement-5g27Av6n.js → resource-measurement-D8EiTm_E.js} +1 -1
- package/dist/{session-BOuXp10X.js → session-Bhe_eY-s.js} +10 -10
- package/dist/{slide-pull-client-DKckZrLx.js → slide-pull-client-BQ8gJPTq.js} +626 -563
- package/dist/three-d.mjs +2158 -0
- package/dist/types/docx.d.ts +189 -16
- package/dist/types/index.d.ts +205 -20
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +166 -1
- package/dist/types/pptx.d.ts +191 -16
- package/dist/types/region-map.d.ts +520 -0
- package/dist/types/three-d.d.ts +520 -0
- package/dist/types/xlsx.d.ts +195 -16
- package/dist/{worksheet-pull-client-CMDRPZ5E.js → worksheet-pull-client-T0EzdEEQ.js} +13 -13
- package/dist/{xlsx-BAScjxlC.js → xlsx-CsDDMJIK.js} +833 -770
- package/dist/xlsx.mjs +5 -5
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +13 -1
- package/dist/render-worker-host-BzxTAscX.js +0 -27
- package/dist/render-worker-host-CBjWHxMb.js +0 -27
- package/dist/render-worker-host-Ivhx3KII.js +0 -27
- /package/dist/{highlight-rect-CAkCWJ37.js → highlight-rect-cCvVU-MW.js} +0 -0
- /package/dist/{mathjax-CMjda8Ip.js → mathjax-Dqo857oC.js} +0 -0
- /package/dist/{transfer-DCu4c2BL.js → transfer-3QEJrsJa.js} +0 -0
- /package/dist/{visible-index-CgyJLAS_.js → visible-index-CKvgpUrf.js} +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
//#region packages/xlsx/src/render-worker.ts?worker&inline
|
|
2
|
+
var e = "var e=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,n.unregister(this),e}free(){let e=this.__destroy_into_raw();v.__wbg_xlsxarchive_free(e,0)}acknowledge_sheet_cursor_terminal(){let e=v.xlsxarchive_acknowledge_sheet_cursor_terminal(this.__wbg_ptr);if(e[1])throw f(e[0])}assert_healthy(){let e=v.xlsxarchive_assert_healthy(this.__wbg_ptr);if(e[1])throw f(e[0])}cancel_sheet_cursor(){v.xlsxarchive_cancel_sheet_cursor(this.__wbg_ptr)}close_sheet_cursor(){v.xlsxarchive_close_sheet_cursor(this.__wbg_ptr)}extract_image(e){let t=d(e,v.__wbindgen_malloc,v.__wbindgen_realloc),n=_,i=v.xlsxarchive_extract_image(this.__wbg_ptr,t,n);if(i[3])throw f(i[2]);var a=r(i[0],i[1]).slice();return v.__wbindgen_free(i[0],i[1]*1,1),a}constructor(e,t,r,i){let a=u(e,v.__wbindgen_malloc),o=_,s=v.xlsxarchive_new(a,o,!l(t),l(t)?BigInt(0):t,!l(r),l(r)?BigInt(0):r,!l(i),l(i)?BigInt(0):i);if(s[2])throw f(s[1]);return this.__wbg_ptr=s[0]>>>0,n.register(this,this.__wbg_ptr,this),this}open_sheet_cursor(e,t){let n=d(t,v.__wbindgen_malloc,v.__wbindgen_realloc),r=_,i=v.xlsxarchive_open_sheet_cursor(this.__wbg_ptr,e,n,r);if(i[1])throw f(i[0])}parse(){let e=v.xlsxarchive_parse(this.__wbg_ptr);if(e[3])throw f(e[2]);var t=r(e[0],e[1]).slice();return v.__wbindgen_free(e[0],e[1]*1,1),t}pull_sheet_cursor(e){let t=v.xlsxarchive_pull_sheet_cursor(this.__wbg_ptr,e);if(t[3])throw f(t[2]);var n=r(t[0],t[1]).slice();return v.__wbindgen_free(t[0],t[1]*1,1),n}resource_usage(){let e=v.xlsxarchive_resource_usage(this.__wbg_ptr);if(e[3])throw f(e[2]);var t=r(e[0],e[1]).slice();return v.__wbindgen_free(e[0],e[1]*1,1),t}sheet_cursor_pull_finished(){return v.xlsxarchive_sheet_cursor_pull_finished(this.__wbg_ptr)!==0}sheet_cursor_resource_usage(){let e=v.xlsxarchive_sheet_cursor_resource_usage(this.__wbg_ptr);if(e[3])throw f(e[2]);var t=r(e[0],e[1]).slice();return v.__wbindgen_free(e[0],e[1]*1,1),t}to_markdown(){let e,t;try{let i=v.xlsxarchive_to_markdown(this.__wbg_ptr);var n=i[0],r=i[1];if(i[3])throw n=0,r=0,f(i[2]);return e=n,t=r,o(n,r)}finally{v.__wbindgen_free(e,t,1)}}};Symbol.dispose&&(e.prototype[Symbol.dispose]=e.prototype.free);function t(){return{__proto__:null,\"./xlsx_parser_bg.js\":{__proto__:null,__wbg___wbindgen_throw_6b64449b9b9ed33c:function(e,t){throw Error(o(e,t))},__wbg_error_a6fa202b58aa1cd3:function(e,t){let n,r;try{n=e,r=t,console.error(o(e,t))}finally{v.__wbindgen_free(n,r,1)}},__wbg_new_227d7c05414eb861:function(){return Error()},__wbg_stack_3b0d974bbf31e44f:function(e,t){let n=t.stack,r=d(n,v.__wbindgen_malloc,v.__wbindgen_realloc),i=_;a().setInt32(e+4,i,!0),a().setInt32(e+0,r,!0)},__wbindgen_cast_0000000000000001:function(e,t){return o(e,t)},__wbindgen_init_externref_table:function(){let e=v.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}}}}const n=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>v.__wbg_xlsxarchive_free(e>>>0,1));function r(e,t){return e>>>=0,c().subarray(e/1,e/1+t)}let i=null;function a(){return(i===null||i.buffer.detached===!0||i.buffer.detached===void 0&&i.buffer!==v.memory.buffer)&&(i=new DataView(v.memory.buffer)),i}function o(e,t){return e>>>=0,h(e,t)}let s=null;function c(){return(s===null||s.byteLength===0)&&(s=new Uint8Array(v.memory.buffer)),s}function l(e){return e==null}function u(e,t){let n=t(e.length*1,1)>>>0;return c().set(e,n/1),_=e.length,n}function d(e,t,n){if(n===void 0){let n=g.encode(e),r=t(n.length,1)>>>0;return c().subarray(r,r+n.length).set(n),_=n.length,r}let r=e.length,i=t(r,1)>>>0,a=c(),o=0;for(;o<r;o++){let t=e.charCodeAt(o);if(t>127)break;a[i+o]=t}if(o!==r){o!==0&&(e=e.slice(o)),i=n(i,r,r=o+e.length*3,1)>>>0;let t=c().subarray(i+o,i+r),a=g.encodeInto(e,t);o+=a.written,i=n(i,r,o,1)>>>0}return _=o,i}function f(e){let t=v.__wbindgen_externrefs.get(e);return v.__externref_table_dealloc(e),t}let p=new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0});p.decode();let m=0;function h(e,t){return m+=t,m>=2146435072&&(p=new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0}),p.decode(),m=t),p.decode(c().subarray(e,e+t))}const g=new TextEncoder;`encodeInto`in g||(g.encodeInto=function(e,t){let n=g.encode(e);return t.set(n),{read:e.length,written:n.length}});let _=0,v;function y(e,t){return v=e.exports,i=null,s=null,v.__wbindgen_start(),v}async function b(e,t){if(typeof Response==`function`&&e instanceof Response){if(typeof WebAssembly.instantiateStreaming==`function`)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(e.ok&&n(e.type)&&e.headers.get(`Content-Type`)!==`application/wasm`)console.warn(\"`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n\",t);else throw t}let r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}else{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}function n(e){switch(e){case`basic`:case`cors`:case`default`:return!0}return!1}}async function x(e){if(v!==void 0)return v;e!==void 0&&(Object.getPrototypeOf(e)===Object.prototype?{module_or_path:e}=e:console.warn(`using deprecated parameters for the initialization function; pass a single object instead`));let n=t();(typeof e==`string`||typeof Request==`function`&&e instanceof Request||typeof URL==`function`&&e instanceof URL)&&(e=fetch(e));let{instance:r,module:i}=await b(await e,n);return y(r,i)}async function S(e){return v=void 0,i=null,s=null,x(e)}var C=class e extends Error{code;constructor(t,n){super(n),this.name=`OoxmlError`,this.code=t,Object.setPrototypeOf(this,e.prototype)}},w=class e extends Error{code=`ooxml-resource-limit`;details;constructor(t,n){super(t),this.name=`OoxmlResourceLimitError`;let r=n.violation,i=Object.freeze({format:r.format,operation:r.operation,resource:r.resource,metric:r.metric,...r.part===void 0?{}:{part:r.part},limit:r.limit,observed:r.observed,configurable:r.configurable,usage:Object.freeze({archiveEntryCount:r.usage.archiveEntryCount,declaredInflatedBytes:r.usage.declaredInflatedBytes,...r.usage.largestInflatedEntryBytes===void 0?{}:{largestInflatedEntryBytes:r.usage.largestInflatedEntryBytes},distinctInflatedBytes:r.usage.distinctInflatedBytes,operationInflatedBytes:r.usage.operationInflatedBytes})});this.details=Object.freeze({stage:n.stage,violation:i}),Object.setPrototypeOf(this,e.prototype)}};const T=new Map;function E(e,t,n){let r=T.get(e),i=r?.get(t);if(i)return i.refs++,{face:i.face,isNew:!1};let a=n(),o=r??new Map;return o.set(t,{face:a,set:t,refs:1}),T.set(e,o),{face:a,isNew:!0}}function D(e){return Promise.race([e,new Promise(e=>setTimeout(e,15e3))])}const O=new Map;function k(e){let t=[],n=/@font-face\\s*\\{([^}]*)\\}/g,r;for(;r=n.exec(e);){let e=r[1],n=t=>e.match(RegExp(`(?:^|;|\\\\n)\\\\s*${t}\\\\s*:\\\\s*([^;]+)`,`i`))?.[1].trim(),i=n(`font-family`),a=n(`src`);if(!i||!a)continue;let o={},s=n(`font-style`);s&&(o.style=s);let c=n(`font-weight`);c&&(o.weight=c);let l=n(`font-stretch`);l&&(o.stretch=l);let u=n(`unicode-range`);u&&(o.unicodeRange=u),t.push({family:i.replace(/^['\"]|['\"]$/g,``),src:a,descriptors:o})}return t}function A(){return typeof document<`u`&&document&&document.fonts?document.fonts:typeof self<`u`&&self&&`fonts`in self?self.fonts:null}function j(e,t){let n=t.descriptors;return[`gfonts`,e,t.family.toLowerCase(),n.style??``,n.weight??``,n.stretch??``,n.unicodeRange??``,t.src].join(`|`)}async function ee(e,t,n=A()){let r=n;if(!r||typeof FontFace>`u`||typeof fetch>`u`)return[];let i=new Set,a=new Set,o=new Set,s=new Map,c=new Set;for(let n of e){if(!n)continue;let e=n.toLowerCase();if(i.has(e))continue;i.add(e);let r=t[e];if(!r)continue;o.add(r.url);let c=(r.loadFamily??n).toLowerCase();a.add(c);let l=s.get(r.url);l||(l=new Set,s.set(r.url,l)),l.add(c)}if(a.size===0)return[];let l=await D(Promise.all([...o].map(async e=>{let t=O.get(e);if(t)return{url:e,rules:await t};let n=(async()=>{try{let t=await fetch(e);if(!t.ok)throw Error(`HTTP ${t.status}`);return k(await t.text())}catch{O.delete(e);for(let t of s.get(e)??[])c.add(t);return[]}})();return O.set(e,n),{url:e,rules:await n}}))),u=[],d=[];for(let e of Array.isArray(l)?l:[])for(let t of e.rules){let{face:n,isNew:i}=E(j(e.url,t),r,()=>{let e=new FontFace(t.family,t.src,t.descriptors);return r.add(e),e});u.push(n),i&&d.push(n)}return d.length>0&&await D(Promise.allSettled(d.map(e=>e.load())).then(e=>(e.forEach((e,t)=>{e.status===`rejected`&&c.add(d[t].family.replace(/['\"]/g,``).toLowerCase())}),r.ready))),c.size>0&&console.warn(`[ooxml] failed to preload web font(s): ${[...c].join(`, `)}; falling back to system fonts (text may shift or differ).`),u}const M=`https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;700&display=swap`,N=`https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;700&display=swap`,P=`https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap`,te={calibri:{url:`https://fonts.googleapis.com/css2?family=Carlito:ital,wght@0,400;0,700;1,400;1,700&display=swap`,loadFamily:`Carlito`},\"calibri light\":{url:`https://fonts.googleapis.com/css2?family=Carlito:ital,wght@0,400;0,700;1,400;1,700&display=swap`,loadFamily:`Carlito`},cambria:{url:`https://fonts.googleapis.com/css2?family=Caladea:ital,wght@0,400;0,700;1,400;1,700&display=swap`,loadFamily:`Caladea`},\"cambria math\":{url:`https://fonts.googleapis.com/css2?family=Caladea:ital,wght@0,400;0,700;1,400;1,700&display=swap`,loadFamily:`Caladea`},\"franklin gothic book\":{url:P,loadFamily:`Libre Franklin`},\"franklin gothic medium\":{url:P,loadFamily:`Libre Franklin`},\"nunito sans\":{url:`https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap`},nunito:{url:`https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,700;1,400;1,700&display=swap`},\"open sans\":{url:`https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap`},roboto:{url:`https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap`},lato:{url:`https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap`},montserrat:{url:`https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap`},poppins:{url:`https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,700;1,400;1,700&display=swap`},raleway:{url:`https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,700;1,400;1,700&display=swap`},\"playfair display\":{url:`https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap`},ubuntu:{url:`https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap`},\"sakkal majalla\":{url:M,loadFamily:`Noto Naskh Arabic`},\"traditional arabic\":{url:M,loadFamily:`Noto Naskh Arabic`},\"simplified arabic\":{url:M,loadFamily:`Noto Naskh Arabic`},\"arabic typesetting\":{url:M,loadFamily:`Noto Naskh Arabic`},\"univers next arabic\":{url:N,loadFamily:`Noto Sans Arabic`},\"noto naskh arabic\":{url:M,loadFamily:`Noto Naskh Arabic`},\"noto sans arabic\":{url:N,loadFamily:`Noto Sans Arabic`}};function F(e){if(!e)return null;let t=e.toLowerCase();return/[ᄀ-ᇿ-가-]/.test(e)?`kr`:/[-ヿ]/.test(e)?`jp`:/jhenghei|微軟正黑|新細明|細明|pmingliu|mingliu|dfkai|標楷|華康|cns11643|kaiti tc|ming\\s*liu/.test(t)||/新細明體|細明體|標楷體|微軟正黑體|華康/.test(e)?`tc`:/simsun|nsimsun|simhei|simkai|simfang|yahei|dengxian|fangsong|kaiti|youyuan|lisu|stsong|stkaiti|stfangsong|stheiti|stxihei|stzhongsong|songti sc|heiti sc|微软雅黑/.test(t)||/宋体|黑体|楷体|仿宋|等线|微软雅黑|隶书|幼圆/.test(e)?`sc`:/malgun|batang|gulim|dotum|gungsuh|nanum|new gulim|hancom|hy(gothic|graphic|namu)?/.test(t)?`kr`:/\\bmeiryo\\b|\\byu\\s*(gothic|mincho)\\b|yugothic|yumincho|hiragino|\\bms\\s*(gothic|mincho|pgothic|pmincho|ui\\s*gothic)\\b|\\bms[pg]?(gothic|mincho)\\b|ipa(ex)?(gothic|mincho)|noto\\s+(sans|serif)\\s+jp|游ゴシック|游明朝|MS|メイリオ|ヒラギノ/.test(t)||/游ゴシック|游明朝|MS ゴシック|MS 明朝|MS Pゴシック|メイリオ|ヒラギノ/.test(e)?`jp`:null}function I(e){if(!e)return`sans`;let t=e.toLowerCase();return/mono|courier|consolas|等幅|gothic_m/.test(t)?`mono`:/roman|times|cambria|caladea|georgia|garamond|century(?!\\s*gothic)|palatino|antiqua|didot|bodoni|playfair|source serif|noto serif|min\\s*cho|明朝体|明朝|song|sung|simsun|nsimsun|batang|gungsuh|ming\\s*liu|mingliu|pmingliu|fang\\s*song|fangsong|kai\\s*ti|kaiti|simkai|simfang|stsong|stkaiti|stfangsong|stzhongsong|新細明|細明|宋体|楷体|楷體|仿宋|標楷|游明朝|MS 明朝|ms mincho|yu mincho|hiragino mincho|ヒラギノ明朝/.test(t)||/新細明體|細明體|宋体|明朝|楷体|楷體|仿宋|標楷體|游明朝|MS 明朝/.test(e)?`serif`:`sans`}function L(e,t){let n=t===`serif`?`Noto Serif`:`Noto Sans`,r={jp:[`jp`,`sc`,`tc`,`kr`],sc:[`sc`,`tc`,`jp`,`kr`],tc:[`tc`,`sc`,`jp`,`kr`],kr:[`kr`,`jp`,`sc`,`tc`]},i={kr:`KR`,sc:`SC`,tc:`TC`,jp:`JP`};return r[e].map(e=>`${n} ${i[e]}`)}const R=[`Noto Sans`,`Noto Sans Hebrew`,`Noto Sans Thai`,`Noto Sans Devanagari`],z=[`Noto Serif`,`Noto Serif Hebrew`],B=e=>`https://fonts.googleapis.com/css2?family=${e}:wght@400;700&display=swap`,V={\"noto sans kr\":{url:B(`Noto+Sans+KR`)},\"noto sans sc\":{url:B(`Noto+Sans+SC`)},\"noto sans tc\":{url:B(`Noto+Sans+TC`)},\"noto sans jp\":{url:B(`Noto+Sans+JP`)},\"noto serif kr\":{url:B(`Noto+Serif+KR`)},\"noto serif sc\":{url:B(`Noto+Serif+SC`)},\"noto serif tc\":{url:B(`Noto+Serif+TC`)},\"noto serif jp\":{url:B(`Noto+Serif+JP`)},\"noto sans\":{url:B(`Noto+Sans`)},\"noto serif\":{url:B(`Noto+Serif`)},\"noto sans devanagari\":{url:B(`Noto+Sans+Devanagari`)},\"noto sans thai\":{url:B(`Noto+Sans+Thai`)},\"noto sans hebrew\":{url:B(`Noto+Sans+Hebrew`)},\"noto serif hebrew\":{url:B(`Noto+Serif+Hebrew`)}};var ne=class e{hasHan=!1;hasHangul=!1;hasKana=!1;hasArabic=!1;hasThai=!1;hasHebrew=!1;hasDevanagari=!1;hasCyrGreek=!1;constructor(e){this.cjkLang=e}clone(){let t=new e(this.cjkLang);return t.hasHan=this.hasHan,t.hasHangul=this.hasHangul,t.hasKana=this.hasKana,t.hasArabic=this.hasArabic,t.hasThai=this.hasThai,t.hasHebrew=this.hasHebrew,t.hasDevanagari=this.hasDevanagari,t.hasCyrGreek=this.hasCyrGreek,t}addText(e){let t=()=>this.hasHan&&this.hasHangul&&this.hasKana&&this.hasArabic&&this.hasThai&&this.hasHebrew&&this.hasDevanagari&&this.hasCyrGreek;outer:for(let n of e)if(n)for(let e of n){let n=e.codePointAt(0);if(n!==void 0&&!(n<=591)&&(n>=4352&&n<=4607||n>=12592&&n<=12687||n>=44032&&n<=55215?this.hasHangul=!0:n>=12352&&n<=12543?this.hasKana=!0:n>=13312&&n<=19903||n>=19968&&n<=40959||n>=63744&&n<=64255||n>=131072&&n<=195103?this.hasHan=!0:n>=1536&&n<=1791||n>=1872&&n<=1919||n>=2208&&n<=2303||n>=64336&&n<=65023||n>=65136&&n<=65279?this.hasArabic=!0:n>=3584&&n<=3711?this.hasThai=!0:n>=1424&&n<=1535||n>=64285&&n<=64335?this.hasHebrew=!0:n>=2304&&n<=2431?this.hasDevanagari=!0:(n>=1024&&n<=1279||n>=880&&n<=1023)&&(this.hasCyrGreek=!0),t()))break outer}}names(){let e=[],t=new Set;this.hasHangul&&t.add(`kr`),this.hasKana&&t.add(`jp`),this.hasHan&&t.size===0&&t.add(this.cjkLang??`jp`);for(let n of[`kr`,`sc`,`tc`,`jp`])if(t.has(n)){let t={kr:`KR`,sc:`SC`,tc:`TC`,jp:`JP`}[n];e.push(`Noto Sans ${t}`,`Noto Serif ${t}`)}return this.hasCyrGreek&&e.push(`Noto Sans`,`Noto Serif`),this.hasArabic&&e.push(`Noto Naskh Arabic`,`Noto Sans Arabic`),this.hasThai&&e.push(`Noto Sans Thai`),this.hasHebrew&&e.push(`Noto Sans Hebrew`,`Noto Serif Hebrew`),this.hasDevanagari&&e.push(`Noto Sans Devanagari`),e}};function H(e,t){let n=new ne(t);return n.addText(e),n.names()}function re(e,t,n){let r=Math.max(1,t),i=[],a=[],o=0;for(let t=0;t<e.length;t++){let s=Math.min(r,Math.max(0,e[t])),c=a.length===0?s:o+n+s;a.length>0&&c>r?(i.push(a),a=[t],o=s):(a.push(t),o=c)}return a.length>0&&i.push(a),i}function U(e,t){return typeof e==`number`&&Number.isFinite(e)&&e>=100&&e<=4e5?e/100*t:null}function ie(e,t,n){return U(e.titleFontSizeHpt,n)??14*n}const W=.62;function G(e,t,n,r,i){if(!e.title&&!e.titlePresent)return{fontPx:0,topPad:0,bottomPad:0,bandH:0};let a=ie(e,t,n),o=a+t*r+t*i,s=Math.min(Math.max(0,o-a),a*W);return{fontPx:a,topPad:s,bottomPad:o-a-s,bandH:o}}function K(e,t,n,r,i){if(!e.showLegend)return null;let a=e.legendPos??`r`,o=a===`l`?`l`:a===`t`?`t`:a===`b`?`b`:`r`;if(o===`r`||o===`l`){if(i){let e=Math.min(80,t*.3),n=t*.3,r=Math.max(0,...i.itemWidths)+i.horizontalPadding;return{side:o,reserveW:Math.min(n,Math.max(e,r)),reserveH:0}}return{side:o,reserveW:Math.max(80,t*r),reserveH:0}}if(i){let e=Math.max(1,t-i.horizontalPadding),r=re(i.itemWidths,e,i.itemGap).length*i.rowHeight+i.verticalPadding;return{side:o,reserveW:0,reserveH:Math.min(n*.3,r)}}return{side:o,reserveW:0,reserveH:Math.max(18,n*.08)}}function ae(e){return{legRightW:e?.side===`r`?e.reserveW:0,legLeftW:e?.side===`l`?e.reserveW:0,legTopH:e?.side===`t`?e.reserveH:0,legBottomH:e?.side===`b`?e.reserveH:0}}function oe(e,t){return U(e,t)??10*t}function q(e,t,n){let r=0,i=!1;if(n!=null)switch(i=!0,n){case`horz`:break;case`vert270`:r-=90;break;case`vert`:case`wordArtVert`:case`eaVert`:case`mongolianVert`:case`wordArtVertRtl`:r+=90;break}return t!=null&&Number.isFinite(t)&&(r+=t/6e4,i=!0),i?r*Math.PI/180:e===`left`?-Math.PI/2:e===`right`?Math.PI/2:0}function se(e){return Math.max(8,e*.02)}function ce(e,t,n,r){let i=oe(e.catAxisTitleFontSizeHpt,r),a=oe(e.valAxisTitleFontSizeHpt,r);return{catFontPx:i,valFontPx:a,catBandH:e.catAxisTitle?i+se(n)+4:0,valBandW:e.valAxisTitle?a+se(t)+4:0}}function le(e,t,n){if(!e.title&&!e.titlePresent)return{fontPx:0,topPad:0,bottomPad:0,bandH:0};let r=ie(e,t,n),i=r*2.25,a=Math.min(Math.max(0,i-r),r*W);return{fontPx:r,topPad:a,bottomPad:i-r-a,bandH:i}}function ue(e){return e*2.75}function de(e){return 5/6*e}function fe(e){return e}const pe=1.5;function me(e){let t=e.outerTextMarginPx??0;return{t:e.valAxisHidden?0:e.valLabelFontPx/2+t,r:(e.secondaryBandW??0)>0?(e.secondaryBandW??0)+t:0,b:e.catAxisHidden?0:e.catLabelFontPx+(e.catLabelGapPx??de(e.catLabelFontPx))+e.catTitleBandH+t,l:e.valAxisHidden?0:e.valLabelWidth+(e.valLabelGapPx??fe(e.valLabelFontPx))+e.valTitleBandW+t}}function J(e,t,n){let r=e.xMode||`factor`,i=e.yMode||`factor`,a=e.wMode||`factor`,o=e.hMode||`factor`,s=r===`edge`?t.x+e.x*t.w:n.x+e.x*t.w,c=i===`edge`?t.y+e.y*t.h:n.y+e.y*t.h,l=e.w==null?n.w:a===`edge`?t.x+e.w*t.w-s:e.w*t.w,u=e.h==null?n.h:o===`edge`?t.y+e.h*t.h-c:e.h*t.h;return![s,c,l,u].every(Number.isFinite)||l<=0||u<=0?null:{x:s,y:c,w:l,h:u}}function he(e,t,n,r,i,a,o){let s=o.titleBand??G(e,i,a,o.titleTopPadFrac??0,o.titleBottomPadFrac??0),c=o.legendReserve===void 0?K(e,r,i,o.legendSideReserveFrac):o.legendReserve,l=ae(c),u=ce(e,r,i,a),d,f,p,m;if(o.radialGapFrac!=null){let e=i*o.radialGapFrac;p=r-l.legRightW-l.legLeftW,m=i-s.bandH-l.legTopH-l.legBottomH-e,d=t+l.legLeftW,f=n+s.bandH+l.legTopH+e}else{let e=o.pad;if(!e)throw Error(`computeChartFrame: cartesian frame requires params.pad`);d=t+e.l,f=n+e.t,p=r-e.l-e.r,m=i-e.t-e.b}let h=o.honorPlotAreaManualLayout?e.plotAreaManualLayout:null;if(h){let e=h.layoutTarget===`inner`?{t:0,r:0,b:0,l:0}:o.manualOuterInsets??{t:0,r:0,b:0,l:0},a=h.layoutTarget===`inner`?{x:d,y:f,w:p,h:m}:{x:d-e.l,y:f-e.t,w:p+e.l+e.r,h:m+e.t+e.b},s=J(h,{x:t,y:n,w:r,h:i},a);s&&s.w>e.l+e.r&&s.h>e.t+e.b&&(d=s.x+e.l,f=s.y+e.t,p=s.w-e.l-e.r,m=s.h-e.t-e.b)}return{title:s,legend:c,legendBands:l,axisTitles:u,plotRect:{px0:d,py0:f,pw:p,ph:m},center:{cx:d+p/2,cy:f+m/2}}}function ge(e,t={min:0,max:1}){let n=1/0,r=-1/0;for(let t of e)t==null||!Number.isFinite(t)||(t<n&&(n=t),t>r&&(r=t));return Number.isFinite(n)&&Number.isFinite(r)?{min:n,max:r}:t}function _e(e,t=5){if(e===0)return 1;let n=e/t,r=10**Math.floor(Math.log10(n)),i=n/r;return(i<1.5?1:i<3.5?2:i<7.5?5:10)*r}function ve(e,t,n,r){let i=Number.isFinite(e)?e:0,a=Number.isFinite(t)?t:100,o=a>i?a-i:100,s=i<0&&a>0,c=n===`horizontal`||r==null||!Number.isFinite(r)||r<120?s?4:5:10;return be(a>i?Ce(i,a,c):o/c)}function ye(e,t,n){let r=Number.isFinite(e)?e:0,i=Number.isFinite(t)?t:1,a=i>r?null:1,o=n!=null&&Number.isFinite(n)?n<45?4:n<90?8:10:8;return be(i>r?Ce(r,i,o):(a??1)/o)}function be(e){if(!(e>0)||!isFinite(e))return 1;let t=10**Math.floor(Math.log10(e));if(!(t>0)||!isFinite(t))return e;let n=e/t,r=n<=1?1:n<=2?2:n<=5?5:10;return Math.min(Number.MAX_VALUE,r*t)}function xe(e){return e!=null&&isFinite(e)?e:null}function Se(e){return e!=null&&isFinite(e)&&e>0?e:null}function Ce(e,t,n){let r=t-e,i=isFinite(r)?r/n:t/n-e/n;return i>0&&isFinite(i)?i:r>0&&isFinite(r)?Number.MIN_VALUE:Number.MAX_VALUE}function we(e,t,n){if(!isFinite(e)||!isFinite(t)||!(t>=e)||!(n>0)||!isFinite(n))return 0;let r=t-e,i=isFinite(r)?r/n:t/n-e/n;return!isFinite(i)||i>2**53-1?1/0:Math.max(1,Math.floor(i+1e-9)+1)}function Te(e,t,n,r,i){let a=we(e,t,n);if(a===0||a>512&&r===`skip`)return[];let o=Math.min(a,512),s=[],c=t-e,l=Math.max(Math.abs(n),isFinite(c)?Math.abs(c):Math.max(Math.abs(e),Math.abs(t)))*1e-9,u=-1/0;for(let r=0;r<o;r++){let a=r*n,o=e+a;if((!isFinite(a)||!isFinite(o)||r>0&&!(o>u))&&(o=(e/n+r)*n),!isFinite(o)||o>t+l||r>0&&!(o>u))break;if(u=o,i!=null){if(o>=t-l)break;let n=o-e,r=isFinite(n)?n/i:o/i-e/i;if(isFinite(r)&&Math.abs(r-Math.round(r))<=1e-8)continue}s.push(o)}return s}function Ee(e){let t=isFinite(e.dataMin)?e.dataMin:0,n=isFinite(e.dataMax)?e.dataMax:1;t>n&&([t,n]=[n,t]);let r,i,a;if(t===0&&n===0)r=0,i=1,a=.1;else{t===n&&(t=Math.min(0,t),n=Math.max(0,n));let e=n-t,o=isFinite(e)?e*.05:n*.05-t*.05,s=t-o,c=n+o;t>=0&&(t===0||n>1.2*t)&&(s=0),n<=0&&(n===0||Math.abs(t)>1.2*Math.abs(n))&&(c=0),a=be(c/10-s/10),r=Math.floor(s/a)*a,i=Math.ceil(c/a)*a,(!isFinite(r)||!isFinite(i)||!(i>r))&&(r=Math.min(t,0),i=Math.max(n,r+a))}let o=xe(e.explicitMin),s=xe(e.explicitMax),c=Se(e.majorUnit),l=o??(c==null?r:Math.floor(r/c)*c),u=s??(c==null?i:Math.ceil(i/c)*c),d=a;if(c==null&&o!=null&&s!=null&&s>o){if(e.axisOrientation===`horizontal`)d=be(Ce(o,s,e.axisLenPt!=null&&isFinite(e.axisLenPt)&&e.axisLenPt>0?Math.max(5,Math.round(e.axisLenPt/38)):8));else if(e.axisOrientation===`vertical`){let t=e.axisLenPt!=null&&isFinite(e.axisLenPt)&&e.axisLenPt>0?Math.max(5,Math.round(e.axisLenPt/28)):7;d=Math.max(be(Ce(o,s,10)),Math.min(Number.MAX_VALUE,_e(Ce(o,s,t),1)))}}let f=c??d;c==null&&we(l,u,f)>512&&(f=be(u/511-l/511));let p=Se(e.minorUnit);e.needMinor&&c==null&&p==null&&we(l,u,f/5)>512&&(f=be(u/102-l/102));let m=f/5,h=e.needMinor?p??(m>0&&isFinite(m)?m:f):null,g=Te(l,u,f,c==null?`skip`:`truncate`),_=h==null?[]:Te(l,u,h,`skip`,f);return{min:l,max:u,majorUnit:f,minorUnit:h,majorTicks:g,minorTicks:_}}function De(e,t,n,r){let i,a=r?.logBase;if(a!=null&&isFinite(a)&&a>=2&&t>0&&n>0){let r=Math.log(t),a=Math.log(n)-r;i=a===0?0:(Math.log(Math.max(e,Number.MIN_VALUE))-r)/a}else{let r=n-t;if(r===0)i=0;else if(Number.isFinite(r)&&Number.isFinite(e-t))i=(e-t)/r;else{let r=Math.max(Math.abs(e),Math.abs(t),Math.abs(n)),a=n/r-t/r;i=a===0?0:(e/r-t/r)/a}}return r?.reversed?1-i:i}function Oe(e,t,n,r,i){let a=isFinite(n)&&n>=2?n:10,o=e=>Math.log(e)/Math.log(a),s=t>0?t:1,c=Math.floor(o(e>0?e:s)),l=Math.ceil(o(s)),u=e=>{let t=a**+e;return t===0?Number.MIN_VALUE:isFinite(t)?t:Number.MAX_VALUE},d=r??u(c),f=i??u(Math.max(l,c+1)),p=[],m=Math.ceil(o(d)-1e-9),h=Math.floor(o(f)+1e-9);if(!isFinite(m)||!isFinite(h)||h<m)return{min:d,max:f,lines:p};let g=h-m+1,_=Math.max(1,Math.ceil((g-1)/511)),v=Math.min(512,Math.floor((g-1)/_)+1);for(let e=0;e<v;e++){let t=u(m+e*_);t>=d&&t<=f&&(p.length===0||t>p[p.length-1])&&p.push(t)}let y=u(h);return p.length<512&&y>=d&&y<=f&&y>(p[p.length-1]??0)&&p.push(y),{min:d,max:f,lines:p}}function ke(e){let t=e.logBase;if(t!=null&&Number.isFinite(t)&&t>=2){let{min:n,max:r,lines:i}=Oe(e.dataMin,e.dataMax,t,xe(e.explicitMin),xe(e.explicitMax));return{min:n,max:r,majorUnit:i.length>1?i[1]-i[0]:r-n,minorUnit:null,majorTicks:i,minorTicks:[],fraction:i=>De(i,n,r,{logBase:t,reversed:e.reversed})}}let n=Ee(e);return{...n,fraction:t=>De(t,n.min,n.max,{reversed:e.reversed})}}function Y(e,t,n){let r=Math.min(e.length,t.length);if(r<2)return null;let i=0,a=0,o=0,s=0;for(let n=0;n<r;n++)i+=e[n],a+=t[n],o+=e[n]*e[n],s+=e[n]*t[n];let c,l;if(n!=null&&isFinite(n))c=o===0?0:(s-n*i)/o,l=n;else{let e=r*o-i*i;c=e===0?0:(r*s-i*a)/e,l=(a-c*i)/r}let u=a/r,d=0,f=0;for(let n=0;n<r;n++){let r=t[n]-(c*e[n]+l);d+=r*r;let i=t[n]-u;f+=i*i}let p=f===0?+(d===0):1-d/f;return{slope:c,intercept:l,rSquared:p}}function Ae(e,t,n,r){let i=Math.min(e.length,t.length);if(i<2)return{xs:[],ys:[]};if(n===`linear`){let n=Y(e,t,r?.intercept);if(!n)return{xs:[],ys:[]};let a=e[0],o=e[i-1];return{xs:[a,o],ys:[n.slope*a+n.intercept,n.slope*o+n.intercept]}}if(n===`movingAvg`){let n=Math.max(2,Math.round(r?.period??2));if(i<n)return{xs:[],ys:[]};let a=[],o=[];for(let r=n-1;r<i;r++){let i=0;for(let e=0;e<n;e++)i+=t[r-e];a.push(e[r]),o.push(i/n)}return{xs:a,ys:o}}let a=[];for(let r=0;r<i;r++){let i=e[r],o=t[r];!Number.isFinite(i)||!Number.isFinite(o)||n===`log`&&i<=0||n===`exp`&&o<=0||n===`power`&&(i<=0||o<=0)||a.push({x:i,y:o})}if(a.length<2)return{xs:[],ys:[]};let o=1/0,s=-1/0;for(let e of a)o=Math.min(o,e.x),s=Math.max(s,e.x);if(!Number.isFinite(o)||!Number.isFinite(s)||s<=o)return{xs:[],ys:[]};let c=Number.isFinite(r?.backward)?Math.max(0,r?.backward??0):0,l=Number.isFinite(r?.forward)?Math.max(0,r?.forward??0):0,u=o-c,d=s+l;if((n===`log`||n===`power`)&&(u=Math.max(Number.MIN_VALUE,u)),!Number.isFinite(u)||!Number.isFinite(d)||d<=u)return{xs:[],ys:[]};let f=e=>{let t=[],n=[];for(let r=0;r<=64;r++){let i=r/64,a=u*(1-i)+d*i,o=e(a);if(!Number.isFinite(a)||!Number.isFinite(o))return{xs:[],ys:[]};t.push(a),n.push(o)}return{xs:t,ys:n}};if(n===`exp`||n===`log`||n===`power`){let e=Y(a.map(e=>n===`log`||n===`power`?Math.log(e.x):e.x),a.map(e=>n===`exp`||n===`power`?Math.log(e.y):e.y));if(!e||![e.slope,e.intercept].every(Number.isFinite))return{xs:[],ys:[]};if(n===`exp`){let t=Math.exp(e.intercept);return f(n=>t*Math.exp(e.slope*n))}if(n===`log`)return f(t=>e.slope*Math.log(t)+e.intercept);let t=Math.exp(e.intercept);return f(n=>t*n**e.slope)}if(n===`poly`){let e=Math.min(6,a.length-1,Math.max(2,Math.round(r?.order??2)));if(e<2)return{xs:[],ys:[]};let t=o/2+s/2,n=Math.max(Math.abs(o-t),Math.abs(s-t));if(!Number.isFinite(t)||!Number.isFinite(n)||n<=0)return{xs:[],ys:[]};let i=a.length,c=e+1,l=Array.from({length:c},()=>Array(i).fill(0));for(let e=0;e<i;e++){let r=(a[e].x-t)/n,i=1;for(let t=0;t<c;t++)l[t][e]=i,i*=r}let u=[],d=Array.from({length:c},()=>Array(c).fill(0)),p=Array(c).fill(0);for(let e=0;e<c;e++){let t=l[e].slice();for(let n=0;n<e;n++){let r=0;for(let e=0;e<i;e++)r+=u[n][e]*t[e];d[n][e]=r;for(let e=0;e<i;e++)t[e]-=r*u[n][e]}let n=0;for(let e of t)n+=e*e;let r=Math.sqrt(n);if(!Number.isFinite(r)||r<=2**-52*Math.sqrt(i))return{xs:[],ys:[]};d[e][e]=r;let o=t.map(e=>e/r);u.push(o);let s=0;for(let e=0;e<i;e++)s+=o[e]*a[e].y;if(!Number.isFinite(s))return{xs:[],ys:[]};p[e]=s}let m=Array(c).fill(0);for(let e=c-1;e>=0;e--){let t=p[e];for(let n=e+1;n<c;n++)t-=d[e][n]*m[n];if(m[e]=t/d[e][e],!Number.isFinite(m[e]))return{xs:[],ys:[]}}return f(r=>{let i=(r-t)/n,a=m[e];for(let t=e-1;t>=0;t--)a=a*i+m[t];return a})}return{xs:[],ys:[]}}const X=12700,je=9525,Me=4/3;function Ne(e,t){return e?Math.max(.5,e/X)*t:1}function Pe(e,t,n){return{color:e?`#${e}`:`#aaa`,width:Ne(t,n)}}function Fe(e,t,n){return{color:e?`#${e}`:`#e0e0e0`,width:t?Ne(t,n):.5}}function Ie(e){return e.catAxisCrossBetween!==`midCat`}const Le=864e5,Re=Date.UTC(1899,11,30),ze=Date.UTC(1904,0,1);function Be(e,t=!1){if(t)return new Date(ze+e*Le);let n=e<60?e+1:e;return new Date(Re+n*Le)}function Ve(e,t=!1){if(t)return(e.getTime()-ze)/Le;let n=(e.getTime()-Re)/Le;return n<=60?n-1:n}function He(e,t){if(!Number.isFinite(e))return String(e);let n=Math.max(0,Math.trunc(t)),r=e<0,[i,a=``]=Ue(Math.abs(e).toString()).split(`.`),o=a.padEnd(n+1,`0`),s=o.slice(0,n),c=o.charCodeAt(n)-48,l=(i+s).split(``).map(e=>e.charCodeAt(0)-48);if(c>=5){let e=l.length-1;for(;e>=0;e--)if(l[e]===9)l[e]=0;else{l[e]+=1;break}e<0&&l.unshift(1)}let u=l.map(e=>String(e)).join(``),d=n,f=(d>0?u.slice(0,u.length-d):u)||`0`,p=d>0?u.slice(u.length-d):``,m=f.replace(/^0+(?=\\d)/,``),h=p.length>0?`${m}.${p}`:m,g=/^[0.]*$/.test(h)&&!/[1-9]/.test(h);return r&&!g?`-${h}`:h}function Ue(e){let t=/^(\\d+)(?:\\.(\\d+))?[eE]([+-]?\\d+)$/.exec(e);if(!t)return e;let[,n,r=``,i]=t,a=parseInt(i,10),o=n+r,s=n.length+a;return s<=0?`0.`+`0`.repeat(-s)+o:s>=o.length?o+`0`.repeat(s-o.length):o.slice(0,s)+`.`+o.slice(s)}function We(e){return Number.isInteger(e)?String(e):He(e,6).replace(/\\.?0+$/,``)}function Ge(e,t,n=!1){if(!t||t.trim().toLowerCase()===`general`)return We(e);if(qe(t))return Je(e,t,n);let r=Ye(t),i;return i=e>0?r[0]??t:e<0?r[1]??r[0]??t:r[2]??r[0]??t,i===``?``:(e<0&&r.length<2?`-`:``)+Xe(Math.abs(e),i)}function Ke(e,t,n=!1){if(!t||e.trim()===``)return e;let r=Number(e);return Number.isFinite(r)?Ge(r,t,n):e}function qe(e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];if(r===`\"`){t=!t;continue}if(!t){if(r===`\\\\`){n++;continue}if(r===`[`){for(;n<e.length&&e[n]!==`]`;)n++;continue}if(r===`y`||r===`Y`||r===`d`||r===`D`||r===`m`||r===`M`||r===`h`||r===`H`||r===`s`||r===`S`)return!0}}return!1}function Je(e,t,n=!1){let r=Be(Math.floor(e),n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,o=r.getUTCDate(),s=(e-Math.floor(e))*86400,c=Math.floor(s/3600),l=Math.floor(s%3600/60),u=Math.floor(s%60),d=``,f=!1,p=0;for(;p<t.length;){let e=t[p];if(e===`\"`){f=!f,p++;continue}if(f){d+=e,p++;continue}if(e===`\\\\`&&p+1<t.length){d+=t[p+1],p+=2;continue}if(e===`[`){for(;p<t.length&&t[p]!==`]`;)p++;p<t.length&&p++;continue}if(e===`y`||e===`Y`){let e=0;for(;p<t.length&&(t[p]===`y`||t[p]===`Y`);)e++,p++;d+=e>=3?String(i):String(i%100).padStart(2,`0`);continue}if(e===`m`||e===`M`){let e=0;for(;p<t.length&&(t[p]===`m`||t[p]===`M`);)e++,p++;d.match(/[Hh]+\\W*$/)?d+=e>=2?String(l).padStart(2,`0`):String(l):d+=e>=2?String(a).padStart(2,`0`):String(a);continue}if(e===`d`||e===`D`){let e=0;for(;p<t.length&&(t[p]===`d`||t[p]===`D`);)e++,p++;d+=e>=2?String(o).padStart(2,`0`):String(o);continue}if(e===`h`||e===`H`){let e=0;for(;p<t.length&&(t[p]===`h`||t[p]===`H`);)e++,p++;d+=e>=2?String(c).padStart(2,`0`):String(c);continue}if(e===`s`||e===`S`){let e=0;for(;p<t.length&&(t[p]===`s`||t[p]===`S`);)e++,p++;d+=e>=2?String(u).padStart(2,`0`):String(u);continue}d+=e,p++}return d}function Ye(e){let t=[],n=``;for(let r=0;r<e.length;r++){let i=e[r];if(i===`\\\\`&&r+1<e.length){n+=i+e[r+1],r++;continue}if(i===`\"`){for(n+=i,r++;r<e.length&&e[r]!==`\"`;)n+=e[r],r++;r<e.length&&(n+=e[r]);continue}if(i===`[`){for(n+=i,r++;r<e.length&&e[r]!==`]`;)n+=e[r],r++;r<e.length&&(n+=e[r]);continue}if(i===`;`){t.push(n),n=``;continue}n+=i}return t.push(n),t}function Xe(e,t){let n=[],r=0,i=!1,a=!1;for(;r<t.length;){let e=t[r];if(e===`\"`){r++;let e=``;for(;r<t.length&&t[r]!==`\"`;)e+=t[r],r++;r<t.length&&r++,n.push({kind:`lit`,text:e});continue}if(e===`\\\\`&&r+1<t.length){n.push({kind:`lit`,text:t[r+1]}),r+=2;continue}if(e===`_`&&r+1<t.length){n.push({kind:`lit`,text:` `}),r+=2;continue}if(e===`*`&&r+1<t.length){r+=2;continue}if(e===`[`){for(r++;r<t.length&&t[r]!==`]`;)r++;r<t.length&&r++;continue}if(e===`%`){a=!0,n.push({kind:`lit`,text:`%`}),r++;continue}if(e===`#`||e===`0`||e===`.`||e===`,`||e===`?`){let e=``;for(;r<t.length&&(t[r]===`#`||t[r]===`0`||t[r]===`.`||t[r]===`,`||t[r]===`?`);)e+=t[r],r++;n.push({kind:`num`,text:e}),i=!0;continue}n.push({kind:`lit`,text:e}),r++}if(!i)return n.map(e=>e.text).join(``);let o=a?e*100:e,s=``;for(let e of n)e.kind===`num`&&(s+=e.text);let c=Ze(o,s),l=!1;return n.map(e=>e.kind===`lit`?e.text:l?``:(l=!0,c)).join(``)}function Ze(e,t){let n=t.indexOf(`.`),r=n>=0?t.slice(0,n):t,i=n>=0?t.slice(n+1):``,a=/,/.test(r),o=(i.match(/[#0?]/g)??[]).length,s=(r.replace(/,/g,``).match(/0/g)??[]).length,[c,l=``]=He(e,o).split(`.`),u=c.padStart(s,`0`),d=a?u.replace(/\\B(?=(\\d{3})+(?!\\d))/g,`,`):u;return o===0?d:`${d}.${l.padEnd(o,`0`)}`}function Qe(e,t,n){if(t===``||n<=0)return``;if(e.measureText(t).width<=n)return t;if(e.measureText(`…`).width>n)return``;let r=0,i=t.length-1,a=0;for(;r<=i;){let o=r+i>>1;e.measureText(t.slice(0,o)+`…`).width<=n?(a=o,r=o+1):i=o-1}let o=a>0?t.charCodeAt(a-1):0;return o>=55296&&o<=56319&&a--,t.slice(0,a)+`…`}function $e(e,t){return e??(t===`legacy`?150:33)}function et(e){return e!=null&&Number.isFinite(e)?e:null}function tt(e){return Object.is(e,-0)?`0`:String(Number.isInteger(e)?e:Number(e.toPrecision(6)))}function nt(e,t){if(e.length>1048576)return{kind:`tooManyInputPoints`};let n=t.intervalClosed===`r`?`r`:`l`,r=et(t.underflow),i=et(t.overflow);r!=null&&i!=null&&r>=i&&(r=null,i=null);let a=e=>r!=null&&(n===`r`?e<=r:e<r),o=e=>i!=null&&(n===`r`?e>i:e>=i),s=1/0,c=-1/0,l=0,u=0,d=0;for(let t of e){let e=et(t);e!=null&&(a(e)?u++:o(e)?d++:(l++,s=Math.min(s,e),c=Math.max(c,e)))}if(l+u+d===0)return{kind:`bins`,categories:[],counts:[]};let f=[],p=[];if(r!=null&&(f.push(`${n===`r`?`≤`:`<`} ${tt(r)}`),p.push(u)),l>0){let u=r??s,d=i??c,m=d-u;if(!Number.isFinite(m))f.push(`${tt(u)} – ${tt(d)}`),p.push(l);else{let s=et(t.binSize),c;c=s!=null&&s>0&&m>0?Math.max(1,Math.ceil(m/s)):t.binCount!=null&&Number.isFinite(t.binCount)&&t.binCount>0?Math.max(1,Math.floor(t.binCount)):Math.max(1,Math.ceil(Math.sqrt(l)));let d=m<=0?1:Math.min(512,c),h=m>0&&s!=null&&s>0&&c<=512,g=m===0?1:h?s:m/d,_=Array(d).fill(0);for(let t of e){let e=et(t);if(e==null||a(e)||o(e))continue;let r=h?(e-u)/g:m===0?0:(e-u)/m*d,i=n===`r`?Math.ceil(r)-1:Math.floor(r),s=Math.max(0,Math.min(d-1,i));_[s]++}for(let e=0;e<d;e++){let t=h?u+g*e:u+e/d*m,a=h?t+g:u+m*((e+1)/d),o=i==null?a:Math.min(a,i),s=n===`r`&&(r!=null||e>0)?`>`:`≥`,c=n===`l`&&(i!=null||e<d-1)?`<`:`≤`;f.push(`${s} ${tt(t)} – ${c} ${tt(o)}`),p.push(_[e])}}}return i!=null&&(f.push(`${n===`r`?`>`:`≥`} ${tt(i)}`),p.push(d)),{kind:`bins`,categories:f,counts:p}}function rt(e){let t=Math.floor(e.length/2);return e.length%2==1?e[t]:e[t-1]/2+e[t]/2}function it(e){let t=0;for(let n of e)t=Math.max(t,Math.abs(n));if(t===0)return 0;let n=0;for(let r of e)n+=r/t;return n/e.length*t}function at(e,t,n){if(!Number.isFinite(t))return n<0?-Number.MAX_VALUE:Number.MAX_VALUE;let r=e+n*t;return Number.isFinite(r)?r:n<0?-Number.MAX_VALUE:Number.MAX_VALUE}function ot(e,t){let n=e.filter(e=>typeof e==`number`&&Number.isFinite(e)).sort((e,t)=>e-t);if(n.length===0)return null;let r=Math.floor(n.length/2),i=rt(n),a=t===`inclusive`&&n.length%2==1,o=n.slice(0,r+ +!!a),s=n.slice(r+ +(n.length%2==1&&!a)),c=rt(o.length>0?o:n),l=rt(s.length>0?s:n),u=(l-c)*1.5,d=at(c,u,-1),f=at(l,u,1),p=[],m=[];for(let e of n)e<d||e>f?m.push(e):p.push(e);return{q1:c,median:i,q3:l,lowerFence:d,upperFence:f,whiskerLo:p[0]??n[0],whiskerHi:p[p.length-1]??n[n.length-1],mean:it(n),outliers:m,inner:p}}function st(e,t){let n=0;for(let r of e)for(let e of r)if(n+=e.length,!Number.isSafeInteger(n)||n>t)return t+1;return n}function ct(e,t,n,r,i,a,o){if(!Number.isFinite(e)||!Number.isFinite(t)||t<=0||!Number.isInteger(n)||n<=0||!Number.isInteger(r)||r<=0||!Number.isInteger(i)||i<0||i>=n||!Number.isInteger(a)||a<0||a>=r||!Number.isFinite(o)||o<0)return null;let s=t/n,c=s/(r+o/100),l=c*r,u=c*.06,d=c-u,f=e+s*(i+.5)-l/2+a*c+u/2;return{boxX:f,boxWidth:d,centerX:f+d/2}}function lt(e,t){return e==null?e:e.flatMap(e=>{let n=t.get(e.idx);return n==null?[]:[{...e,idx:n}]})}function ut(e,t){return e==null?e:t.map(t=>e[t]??null)}function dt(e,t){let n=e.values.map((e,t)=>({value:e,sourceIndex:t})).filter(e=>e.value!=null&&Number.isFinite(e.value)&&e.value>=0).sort((e,t)=>t.value-e.value||e.sourceIndex-t.sourceIndex),r=n[0]?.value??0,i=r>0?n.reduce((e,t)=>e+t.value/r,0):0,a=0,o=n.map(n=>(r>0&&(a+=n.value/r),{sourceIndex:n.sourceIndex,category:e.categories?.[n.sourceIndex]??t[n.sourceIndex]??String(n.sourceIndex+1),value:n.value,cumulativeFraction:i>0?a>=i?1:a/i:0})),s=o.map(e=>e.sourceIndex),c=new Map(s.map((e,t)=>[e,t])),l=o.map(e=>e.category),u={...e,categories:l,catFormatCodes:ut(e.catFormatCodes,s),dataPointColors:ut(e.dataPointColors,s),dataLabelColors:ut(e.dataLabelColors,s),dataPointOverrides:lt(e.dataPointOverrides,c),dataLabelOverrides:lt(e.dataLabelOverrides,c)};return{points:o,categories:l,orderedSeries:{...u,values:o.map(e=>e.value)},series:{...u,values:o.map(e=>e.cumulativeFraction)}}}function ft(e,t,n,r){let i=[[]],a=0,o=e=>{if(!e)return null;let t=e.startsWith(`#`)?e.slice(1):e;return/^[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$/.test(t)?`#${t}`:null};outer:for(let s=0;s<t.runs.length&&s<4096;s++){let c=t.runs[s],l=U(c.fontSizeHpt,t.ptToPx)??n,u=c.fontFace?.trim().replaceAll(`\"`,``),d=u&&!u.startsWith(`+`)?u:null,f=u&&t.fontFamilyForFace?t.fontFamilyForFace(u):d?`\"${d}\", Calibri, Arial, sans-serif`:t.fontFamily,p=`${c.bold??t.fallbackBold?`bold `:``}${l}px ${f}`,m=o(c.color)??r,h=``,g=()=>{h&&=(e.font=p,i[i.length-1].push({text:h,font:p,fillStyle:m,width:e.measureText(h).width,fontSizePx:l}),``)},_=!1;for(let e of c.text){if(_&&e===`\n`){_=!1;continue}_=!1;let t=e===`\\r`?`\n`:e;if(e===`\\r`&&(_=!0),a>=4096){g();break outer}if(a++,t===`\n`){if(g(),i.length>=4)break outer;i.push([])}else h+=t}g()}if(!i.some(e=>e.length>0))return null;let s=i.map(e=>Math.max(n,...e.map(e=>e.fontSizePx))*1.15),c=i.map(e=>e.reduce((e,t)=>e+t.width,0));return{lines:i,lineHeights:s,lineWidths:c,width:Math.max(0,...c),height:s.reduce((e,t)=>e+t,0)}}function pt(e,t,n,r,i=`center`,a=`middle`){let o=a===`top`?r:a===`bottom`?r-t.height:r-t.height/2;for(let r=0;r<t.lines.length;r++){let s=t.lines[r],c=t.lineWidths[r],l=i===`left`?n:i===`right`?n-c:n-c/2,u=a===`top`?o:a===`bottom`?o+t.lineHeights[r]:o+t.lineHeights[r]/2;for(let t of s)e.font=t.font,e.fillStyle=t.fillStyle,e.textAlign=`left`,e.textBaseline=a,e.fillText(t.text,l,u),l+=t.width;o+=t.lineHeights[r]}}function mt(e){if(e.customText)return e.customText;let t=[];return e.showCategory&&e.category&&t.push(e.category),e.showSeries&&e.seriesName&&t.push(e.seriesName),e.showValue&&e.sourceValue!=null&&t.push(Ge(e.sourceValue,e.formatCode??null,e.date1904)),e.showPercent&&e.percentRatio!=null&&t.push(Ge(e.percentRatio,e.percentFormatCode??e.formatCode??`0%`,e.date1904)),t.filter(e=>e!==``).join(e.separator??e.defaultSeparator??` `)}function ht(e,t,n,r,i,a){if(![n,r,i].every(Number.isFinite)||n<=0||r<=0||t.w<=0||t.h<=0)return null;let o=Math.max(4,i*.5),s=Math.min(n,Math.max(0,t.w-o*2)),c=Math.min(r,t.h),l={x:Math.max(t.x,t.x+t.w-o-s),y:Math.min(t.y+t.h-c,t.y+o),w:s,h:c};if(a){let t=J(a,e,l);if(t)return{...t,automatic:!1}}return{...l,automatic:!0}}const gt=e=>[e.x,e.y,e.w,e.h].every(Number.isFinite)&&e.w>0&&e.h>0;function _t(e,t){let n=Math.max(e.x,t.x),r=Math.max(e.y,t.y),i=Math.min(e.x+e.w,t.x+t.w),a=Math.min(e.y+e.h,t.y+t.h);return i>n&&a>r?{x:n,y:r,w:i-n,h:a-r}:null}function vt(e,t,n){return Math.min(Math.max(e,t),n)}function yt(e,t,n,r,i,a=t){if(!gt(t)||!gt(a)||!Number.isFinite(r)||r<=0||![n.w,n.h].every(Number.isFinite)||n.w<0||n.h<=0)return null;let o=r*.5,s=t,c,l,u=!1,d=`center`,f=`middle`;if(e.kind===`point`){if(![e.x,e.y,e.markerGap??0].every(Number.isFinite))return null;let t=o+Math.max(0,e.markerGap??0);switch(c=e.x,l=e.y,e.position??`r`){case`l`:c-=t+n.w/2,d=`right`;break;case`t`:l-=t+n.h/2,f=`bottom`;break;case`b`:l+=t+n.h/2,f=`top`;break;case`ctr`:case`inEnd`:case`bestFit`:break;default:c+=t+n.w/2,d=`left`;break}}else if(e.kind===`box`){if(![e.rect.x,e.rect.y,e.rect.w,e.rect.h].every(Number.isFinite)||e.rect.w<=0||e.rect.h<=0)return null;let r=_t(e.rect,t);if(!r)return null;let i=e.position??`ctr`;c=r.x+r.w/2,l=r.y+r.h/2,i===`inBase`?(s={x:r.x+o,y:r.y+o,w:r.w-o,h:r.h-o},c=s.x+n.w/2,l=s.y+n.h/2,d=`left`,f=`top`):i===`inEnd`?(s={x:r.x+o,y:r.y,w:r.w-o,h:r.h-o},c=s.x+n.w/2,l=s.y+s.h-n.h/2,d=`left`,f=`bottom`):i===`l`?(s={x:r.x+o,y:r.y+o,w:r.w-o,h:r.h-o*2},c=s.x+n.w/2,d=`left`):i===`r`||i===`outEnd`?(s={x:r.x,y:r.y+o,w:r.w-o,h:r.h-o*2},c=s.x+s.w-n.w/2,d=`right`):i===`t`?(s={x:r.x+o,y:r.y+o,w:r.w-o*2,h:r.h-o},l=s.y+n.h/2,f=`top`):i===`b`?(s={x:r.x+o,y:r.y,w:r.w-o*2,h:r.h-o},l=s.y+s.h-n.h/2,f=`bottom`):s={x:r.x+o,y:r.y+o,w:r.w-o*2,h:r.h-o*2}}else{if(![e.rect.x,e.rect.y,e.rect.w,e.rect.h].every(Number.isFinite)||e.rect.w<0||e.rect.h<0)return null;let r=e.position??`outEnd`,i=r===`inBase`||r===`inEnd`||r===`ctr`;if(u=!i,i){let n=_t(e.rect,t);if(!n)return null;s=n}else if(e.orientation===`vertical`&&e.rect.w<=0||e.orientation===`horizontal`&&e.rect.h<=0)return null;let a=e.rect.x+e.rect.w/2,p=e.rect.y+e.rect.h/2;if(c=a,l=p,e.orientation===`vertical`){let t=e.negative?e.rect.y+e.rect.h:e.rect.y,i=e.negative?e.rect.y:e.rect.y+e.rect.h;r===`inBase`?(l=i+(e.negative?1:-1)*(o+n.h/2),f=e.negative?`top`:`bottom`):r===`inEnd`?(l=t+(e.negative?-1:1)*(o+n.h/2),f=e.negative?`bottom`:`top`):r!==`ctr`&&(l=t+(e.negative?1:-1)*(o+n.h/2),f=e.negative?`top`:`bottom`)}else{let t=e.negative?e.rect.x:e.rect.x+e.rect.w,i=e.negative?e.rect.x+e.rect.w:e.rect.x;r===`inBase`?(c=i+(e.negative?-1:1)*(o+n.w/2),d=e.negative?`right`:`left`):r===`inEnd`?(c=t+(e.negative?1:-1)*(o+n.w/2),d=e.negative?`left`:`right`):r!==`ctr`&&(c=t+(e.negative?-1:1)*(o+n.w/2),d=e.negative?`right`:`left`)}}let p=Math.max(2,r*.5),m=Math.max(2,r*.9);if(s.w<p||s.h<m)return null;let h={x:c-Math.min(n.w,s.w)/2,y:l-Math.min(n.h,s.h)/2,w:Math.min(n.w,s.w),h:Math.min(n.h,s.h)};if(i){let e=J(i,a,h);if(!e)return null;h=e,d=`center`,f=`middle`;let n=_t(e,t);if(!n||(s=n,s.w<p||s.h<m))return null}let g=Math.min(Math.max(p,h.w),s.w),_=Math.min(Math.max(m,h.h),s.h),v=g/2,y=_/2,b=u||i?h.x+h.w/2:vt(h.x+h.w/2,s.x+v,s.x+s.w-v),x=u||i?h.y+h.h/2:vt(h.y+h.h/2,s.y+y,s.y+s.h-y);return[b,x].every(Number.isFinite)?{x:d===`left`?b-v:d===`right`?b+v:b,y:f===`top`?x-y:f===`bottom`?x+y:x,textAlign:d,textBaseline:f,maxWidth:s.w,maxHeight:s.h,clip:s,rect:h}:null}function bt(e,t,n){if(n(e)<=t)return e;if(n(`…`)>t)return``;let r=0,i=Array.from(e),a=i.length;for(;r<a;){let e=Math.ceil((r+a)/2);n(`${i.slice(0,e).join(``)}…`)<=t?r=e:a=e-1}return`${i.slice(0,r).join(``)}…`}function xt(e){let t=``,n=0;for(let r of e){if(n>=4096)return{value:t,truncated:!0};t+=r,n++}return{value:t,truncated:!1}}function St(e,t,n,r,i){if(![t,n,r].every(Number.isFinite)||t<=0||n<r||r<=0)return[];let a=Math.max(1,Math.min(4,Math.floor(n/r))),o=xt(e),s=o.value.split(/\\r?\\n/),c=[],l=o.truncated,u=e=>{let n=[],r=``;for(let a of Array.from(e)){let e=`${r}${a}`;r&&i(e)>t?(n.push(r),r=a):r=e}return r&&n.push(r),n.filter(e=>i(e)<=t)};for(let e of s){if(i(e)<=t){c.push(e);continue}let n=e.match(/\\S+\\s*|\\s+/g)??[];if(n.length<=1)c.push(...u(e));else{let e=``;for(let r of n){let n=`${e}${r}`;if(i(n)<=t)e=n;else{e&&c.push(e);let t=u(r);e=t.pop()??``,c.push(...t)}}e&&c.push(e)}}l||=c.length>a;let d=c.slice(0,a);return l&&d.length>0&&!d[d.length-1].endsWith(`…`)&&(d[d.length-1]=bt(`${d[d.length-1]}…`,t,i)),d}function Ct(e,t){return[Math.max(1,Math.ceil(e)),Math.max(1,Math.ceil(t))]}function wt(e,t){let[n,r]=Ct(e,t);if(typeof OffscreenCanvas<`u`)return new OffscreenCanvas(n,r);if(typeof document<`u`){let e=document.createElement(`canvas`);return e.width=n,e.height=r,e}return null}function Tt(e,t,n){let[r,i]=Ct(t,n);if(typeof OffscreenCanvas<`u`)try{return new OffscreenCanvas(r,i)}catch{}if(typeof document<`u`)try{let e=document.createElement(`canvas`);return e.width=r,e.height=i,e}catch{}try{let t=e.canvas?.constructor;return typeof t==`function`?new t(r,i):null}catch{return null}}const Et={pct5:[0,16,0,0,0,1,0,0],pct10:[136,0,34,0,136,0,34,0],pct20:[136,34,136,34,136,34,136,34],pct25:[136,85,34,85,136,85,34,85],pct30:[170,85,170,85,170,85,170,85],pct40:[170,119,170,221,170,119,170,221],pct50:[170,85,170,85,170,85,170,85],pct60:[221,85,119,85,221,85,119,85],pct70:[238,85,187,85,238,85,187,85],pct75:[238,170,187,170,238,170,187,170],pct80:[254,239,251,191,254,239,251,191],pct90:[255,239,255,251,255,239,255,251],horz:[255,0,0,0,255,0,0,0],vert:[136,136,136,136,136,136,136,136],ltHorz:[0,255,0,0,0,0,0,0],ltVert:[32,32,32,32,32,32,32,32],dkHorz:[255,255,0,0,255,255,0,0],dkVert:[204,204,204,204,204,204,204,204],narHorz:[255,0,255,0,255,0,255,0],narVert:[170,170,170,170,170,170,170,170],cross:[255,136,136,136,255,136,136,136],lgGrid:[255,128,128,128,128,128,128,128],smGrid:[255,136,136,136,255,136,136,136],dotGrid:[136,0,0,0,136,0,0,0],dnDiag:[128,64,32,16,8,4,2,1],upDiag:[1,2,4,8,16,32,64,128],ltDnDiag:[136,68,34,17,136,68,34,17],ltUpDiag:[17,34,68,136,17,34,68,136],dkDnDiag:[195,129,0,129,195,129,0,129],dkUpDiag:[195,129,0,129,195,129,0,129],wdDnDiag:[128,64,32,16,8,4,2,129],wdUpDiag:[1,2,4,8,16,32,64,129],diagCross:[129,66,36,24,24,36,66,129],horzBrick:[255,16,16,16,255,1,1,1],diagBrick:[129,66,36,24,36,66,129,0],lgCheck:[240,240,240,240,15,15,15,15],smCheck:[204,204,51,51,204,204,51,51],trellis:[165,90,165,90,165,90,165,90]};function Dt(e,t,n){let r=Et[e];if(!r)return null;let i=wt(8,8);if(!i)return null;let a=i.getContext(`2d`);if(!a)return null;a.fillStyle=Ot(n),a.fillRect(0,0,8,8),a.fillStyle=Ot(t);for(let e=0;e<8;e++){let t=r[e];for(let n=0;n<8;n++)t&1<<7-n&&a.fillRect(n,e,1,1)}return i}function Ot(e){return`rgba(${parseInt(e.slice(0,2),16)},${parseInt(e.slice(2,4),16)},${parseInt(e.slice(4,6),16)},${e.length>=8?parseInt(e.slice(6,8),16)/255:1})`}function kt(e,t){return e.map(e=>e*t)}const At={hair:[1,1],dashed:[4,3],mediumDashed:[4,3],dotted:[2,2],dashDot:[4,2,1,2],mediumDashDot:[4,2,1,2],dashDotDot:[4,2,1,2,1,2],mediumDashDotDot:[4,2,1,2,1,2],slantDashDot:[5,3,1,3]};function jt(e){let t=At[e];return t?kt(t,1):[]}const Mt={dash:[6,3],dot:[1.5,3],dashDot:[6,3,1.5,3],lgDash:[10,4],lgDashDot:[10,4,1.5,4],lgDashDotDot:[10,4,1.5,4,1.5,4],sysDash:[4,2],sysDot:[1,2],sysDashDot:[4,2,1,2],sysDashDotDot:[4,2,1,2,1,2]};function Nt(e,t){let n=Mt[e];return n?kt(n,t):[]}function Pt(e,t){let n=Nt(e,t);if(n.length>0)return n;let r=e.trim().split(/[\\s,]+/).map(Number);return r.length>=2&&r.every(e=>Number.isFinite(e)&&e>=0)&&r.some(e=>e>0)?(r.length%2!=0&&r.pop(),kt(r,t)):[]}function Ft(e,t,n,r,i,a,o){let s=e.tileRect;if(!s||(s.l??0)===0&&(s.t??0)===0&&(s.r??0)===0&&(s.b??0)===0)return null;let c=n+i*(s.l??0),l=r+a*(s.t??0),u=i*(1-(s.l??0)-(s.r??0)),d=a*(1-(s.t??0)-(s.b??0));if(!Number.isFinite(u)||!Number.isFinite(d)||Math.abs(u)<1e-9||Math.abs(d)<1e-9)return null;let f=Math.min(1,512/Math.abs(u),512/Math.abs(d)),p=Math.max(1,Math.ceil(Math.abs(u)*f)),m=Math.max(1,Math.ceil(Math.abs(d)*f)),h=Tt(t,p,m),g=h?.getContext(`2d`);if(!h||!g)return null;let _=Lt({...e,tileRect:void 0,flip:void 0},g,0,0,p,m,o);if(!_)return null;g.fillStyle=_,g.fillRect(0,0,p,m);let v=e.flip===`x`||e.flip===`xy`,y=e.flip===`y`||e.flip===`xy`,b=h;if(v||y){let e=Tt(t,p*(v?2:1),m*(y?2:1)),n=e?.getContext(`2d`);if(!e||!n)return null;for(let e=0;e<(y?2:1);e+=1)for(let t=0;t<(v?2:1);t+=1)n.save(),n.translate(t*p,e*m),n.scale(t===1?-1:1,e===1?-1:1),n.drawImage(h,t===1?-p:0,e===1?-m:0),n.restore();b=e}let x=t.createPattern(b,`repeat`);return!x||typeof x.setTransform!=`function`?null:(x.setTransform({a:u/p,b:0,c:0,d:d/m,e:c,f:l}),x)}function It(e,t=1){let n=e.charCodeAt(0)===35?e.slice(1):e;return`rgba(${parseInt(n.slice(0,2),16)},${parseInt(n.slice(2,4),16)},${parseInt(n.slice(4,6),16)},${n.length>=8?parseInt(n.slice(6,8),16)/255:t})`}function Lt(e,t,n,r,i,a,o=0){if(!e||e.fillType===`none`)return null;if(e.fillType===`solid`)return It(e.color);if(e.fillType===`pattern`)return zt(e,t);if(e.fillType===`gradient`){let s=e.stops;if(s.length===0)return null;if(s.length===1)return It(s[0].color);let c=Ft(e,t,n,r,i,a,o);if(c)return c;let l,u=e.tileRect,d=n+i*(u?.l??0),f=r+a*(u?.t??0),p=i*(1-(u?.l??0)-(u?.r??0)),m=a*(1-(u?.t??0)-(u?.b??0));if(e.gradType===`radial`){let n=e.fillToRect,r=d+p*(n?.l??0),i=f+m*(n?.t??0),a=p*(1-(n?.l??0)-(n?.r??0)),o=m*(1-(n?.t??0)-(n?.b??0)),s=r+a/2,c=i+o/2,u=Math.max(Math.abs(s-d),Math.abs(d+p-s)),h=Math.max(Math.abs(c-f),Math.abs(f+m-c)),g=e.path===`rect`?Math.max(u,h):Math.sqrt(u*u+h*h);l=t.createRadialGradient(s,c,0,s,c,Math.max(g,1e-9))}else{let n=(e.rotWithShape===!1?e.angle-o:e.angle)*Math.PI/180,r=Math.cos(n),i=Math.sin(n);if(e.scaled===!0){r*=p,i*=m;let e=Math.hypot(r,i);e>0&&(r/=e,i/=e)}let a=d+p/2,s=f+m/2,c=(Math.abs(r)*p+Math.abs(i)*m)/2;l=t.createLinearGradient(a-r*c,s-i*c,a+r*c,s+i*c)}for(let e of s)l.addColorStop(Math.min(1,Math.max(0,e.position)),It(e.color));return l}return null}const Rt=new WeakMap;function zt(e,t){let n=`${e.preset}|${e.fg}|${e.bg}`,r=Rt.get(t);r||(r=new Map,Rt.set(t,r));let i=r.get(n);if(i)return i;let a=Dt(e.preset,e.fg,e.bg);if(!a)return It(e.fg);let o=t.createPattern(a,`repeat`);return o?(r.set(n,o),o):It(e.fg)}function Bt(e,t,n){if(!t){e.strokeStyle=`transparent`,e.lineWidth=0,e.setLineDash([]),e.lineCap=`butt`,e.lineJoin=`miter`,e.miterLimit=10;return}e.strokeStyle=It(t.color);let r=Math.max(.5,t.width*n);e.lineWidth=r;let i=t.customDash?t.customDash.flatMap(e=>[Math.max(0,e.dash)*r,Math.max(0,e.space)*r]):t.dashStyle?Pt(t.dashStyle,r):[],a=t.lineCap??`butt`,o=i.some((e,t)=>t%2==0&&e===0);e.lineCap=a===`butt`&&o?`square`:a,e.lineJoin=t.lineJoin??`miter`,e.miterLimit=t.miterLimit??10,e.setLineDash(i)}const Vt=[`4472C4`,`ED7D31`,`A9D18E`,`FF0000`,`70AD47`,`4BACC6`,`FFC000`,`9E480E`,`843C0C`,`636363`,`255E91`,`967300`],Ht=[`5B9BD5`,`ED7D31`,`A5A5A5`,`FFC000`,`4472C4`,`70AD47`];function Ut(e,t){return t?.color?`#${t.color}`:`#${Vt[e%Vt.length]}`}function Wt(e){let t=new Map;for(let n of e??[])t.has(n.idx)||t.set(n.idx,n);return t}function Gt(e,t,n=!0){let r=t.dataPointColors?.[e];return r?`#${r}`:t.color===`00000000`?`#00000000`:n?`#${Vt[e%Vt.length]}`:Ut(e,t)}function Kt(e,t){return t&&(t.startsWith(`+mj`)?e.themeMajorFontLatin??null:t.startsWith(`+mn`)?e.themeMinorFontLatin??null:t)}function Z(e,t,n){let r=n===`major`?e.themeMajorFontLatin:e.themeMinorFontLatin,i=Kt(e,t)??r;return i?`\"${i}\", Calibri, Arial, sans-serif`:`sans-serif`}function qt(e,t,n=!1,r=!1){return`${r?`italic `:``}${n?`bold `:``}${e}px ${t}`}function Jt(e){return e===`pie`||e===`doughnut`}function Yt(e){return!!e.varyColors&&e.series.length===1&&typeof e.chartType==`string`&&/Bar/.test(e.chartType)}function Xt(e,t,n,r=!1){if(r||Jt(e)){let e=t[0];return e?Gt(n,e):`#${Vt[n%Vt.length]}`}return Ut(n,t[n])}function Zt(e,t,n,r,i,a,o,s,c,l,u=`sans-serif`,d,f,p,m){e.save(),e.font=qt(a,u,o,s),e.fillStyle=c;let h=p?t:Qe(e,t,l),g=q(i,d,f),_=n,v=r;if(p&&m){let t=e.measureText(h).width,i=Math.abs(Math.cos(g)),o=Math.abs(Math.sin(g)),s=t*i+a*o,c=t*o+a*i,l={x:n-s/2,y:r-c/2,w:s,h:c},u=J({...p,w:void 0,h:void 0},m,l);u&&(_=u.x+u.w/2,v=u.y+u.h/2)}e.translate(_,v),g!==0&&e.rotate(g),e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(h,0,0),e.restore()}function Qt(e){return e?`#${e}`:`#555`}function $t(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m=!1){let h=(t,f,p,m,h,g,_,v,y,b)=>{if(f===`left`){Zt(e,t,n+u+se(i)+p/2,s+l/2,f,p,m,h,g,l,_,v,y,b,{x:n,y:r,w:i,h:a});return}Zt(e,t,o+c/2,r+a-d-se(a)-p/2,f,p,m,h,g,c,_,v,y,b,{x:n,y:r,w:i,h:a})};t.valAxisTitle&&h(t.valAxisTitle,m?`horizontal`:`left`,p,t.valAxisTitleFontBold??!0,t.valAxisTitleFontItalic??!1,Qt(t.valAxisTitleFontColor),Z(t,t.valAxisTitleFontFace,`major`),t.valAxisTitleRotation,t.valAxisTitleVerticalMode,t.valAxisTitleManualLayout),t.catAxisTitle&&h(t.catAxisTitle,m?`left`:`horizontal`,f,t.catAxisTitleFontBold??!0,t.catAxisTitleFontItalic??!1,Qt(t.catAxisTitleFontColor),Z(t,t.catAxisTitleFontFace,`major`),t.catAxisTitleRotation,t.catAxisTitleVerticalMode,t.catAxisTitleManualLayout)}function en(e){return e&&(e===`line`||e===`stackedLine`||e===`stackedLinePct`||e===`radar`||e===`scatter`||e===`stock`)?`line`:`fill`}function tn(e,t,n){if(e!==`scatter`)return!1;let r=t??`marker`;return(r===`line`||r===`lineMarker`||r===`lineNoMarker`||r===`smooth`||r===`smoothMarker`||r===`smoothNoMarker`)&&n.lineHidden!==!0}function nn(e,t,n,r){let i=n[r];if(!i)return null;let a=i.seriesType??e,o=a===`line`||a===`stackedLine`||a===`stackedLinePct`,s=a===`scatter`;if(!o&&!s||s&&(t===`lineNoMarker`||t===`smoothNoMarker`))return null;let c=i.markerSymbol??`circle`;if(c===`none`||i.showMarker===!1)return null;let l=Ut(r,i),u=i.markerFill??l.replace(/^#/,``),d=s?tn(`scatter`,t,i):i.lineHidden!==!0;return{symbol:c,fill:u,line:i.markerLine??null,lineWidthEmu:i.markerLineWidthEmu??null,withLine:d}}function rn(e,t,n,r,i,a,o,s=null,c=void 0,l=null,u=null,d=null,f=null,p=null,m=1,h=0){if(s&&!s.withLine){yr(e,r+a/2,i+o/2,s.symbol,o*.58,s.fill,s.line,1,s.lineWidthEmu==null?void 0:Ne(s.lineWidthEmu,m));return}if(e.fillStyle=n,t===`line`){if(!(l!=null||u!=null||d!=null||f!=null||p!=null)){e.strokeStyle=n;let t=e.lineWidth;e.lineWidth=Math.max(1.5,o*.15),e.beginPath();let c=i+o/2;e.moveTo(r,c),e.lineTo(r+a,c),e.stroke(),e.lineWidth=t,s&&yr(e,r+a/2,i+o/2,s.symbol,o*.58,s.fill,s.line,1,s.lineWidthEmu==null?void 0:Ne(s.lineWidthEmu,m));return}e.save(),e.strokeStyle=l?`#${l}`:n,e.lineWidth=u==null?Math.max(1.5,o*.15):Ne(u,m),e.setLineDash(Dr(d??void 0)),e.lineCap=f===`rnd`?`round`:f===`sq`?`square`:`butt`,e.lineJoin=p===`round`||p===`bevel`?p:`miter`,e.beginPath();let t=i+o/2;e.moveTo(r,t),e.lineTo(r+a,t),e.stroke(),s&&yr(e,r+a/2,i+o/2,s.symbol,o*.58,s.fill,s.line,1,s.lineWidthEmu==null?void 0:Ne(s.lineWidthEmu,m)),e.restore()}else if(c!==null&&(c&&(e.fillStyle=c.fillType===`solid`?c.color.startsWith(`#`)?c.color:`#${c.color}`:Lt(c,e,r,i,a,o,h)??n),e.fillRect(r,i,a,o)),l){let t=Ne(u,m);e.save(),e.strokeStyle=`#${l}`,e.lineWidth=t,e.setLineDash(Dr(d??void 0)),e.lineCap=f===`rnd`?`round`:f===`sq`?`square`:`butt`,e.lineJoin=p===`round`||p===`bevel`?p:`miter`,e.strokeRect(r+t/2,i+t/2,Math.max(0,a-t),Math.max(0,o-t)),e.restore()}}function an(e,t,n,r=!1,i=[],a=[],o=!0){if(r||Jt(t)){let n=e[0],s=n?n.values.length:0,c=n?.categories??i,l=new Map(n?.dataPointOverrides?.map(e=>[e.idx,e])??[]);return Array.from({length:s},(i,s)=>{let u=l.get(s),d=(u?.lineHidden??n?.lineHidden)!==!0;return{label:(c[s]??`Item ${s+1}`).toString(),color:Jt(t)&&n?Gt(s,n,o):Xt(t,e,s,r),marker:null,swatchStyle:en(t),fillPaint:u?.fillHidden===!0?null:s<a.length?a[s]:void 0,outlineColor:d?u?.lineColor??n?.lineColor??null:null,outlineWidthEmu:d?u?.lineWidthEmu??n?.lineWidthEmu??null:null,outlineDash:d?u?.lineDash??n?.chartexStyle?.lineDash??null:null,outlineCap:d?n?.chartexStyle?.lineCap??null:null,outlineJoin:d?n?.chartexStyle?.lineJoin??null:null}})}return e.map((r,i)=>{let o=en(r.seriesType??t),s=r.lineHidden!==!0,c=s?r.lineColor??null:null;return{label:r.name||`Series ${i+1}`,color:o===`line`&&c?`#${c}`:Xt(t,e,i),marker:nn(t,n,e,i),swatchStyle:o,fillPaint:i<a.length?a[i]:r.fillPattern??void 0,outlineColor:c,outlineWidthEmu:s?r.lineWidthEmu??null:null,outlineDash:s?r.chartexStyle?.lineDash??null:null,outlineCap:s?r.chartexStyle?.lineCap??null:null,outlineJoin:s?r.chartexStyle?.lineJoin??null:null}})}const on={fontFamily:`sans-serif`,color:`#333`,bold:!1,sizePx:null};function sn(e,t){return e.sizePx??10*t}function cn(e,t,n){return e.map(e=>e.swatchStyle===`line`?t*1.6:7*n)}function ln(e,t,n){return e.swatchStyle===`line`?t:7*n}function un(e,t,n){if(!(n>0))return[];let r=In(e,t,n);return r.length<=2?r:[r[0],Qe(e,r.slice(1).join(` `),n)]}function dn(e,t,n,r,i,a){if(!t.showLegend)return null;let o=pn(t,a),s=an(t.series,t.chartType,t.scatterStyle,Yt(t),t.categories,[],t.varyColors!==!1),c=sn(o,a),l=cn(s,c,a);e.save(),e.font=`${o.bold?`bold `:``}${c}px ${o.fontFamily}`;let u=s.map((t,n)=>l[n]+4+e.measureText(t.label).width);return e.restore(),t.legendPos,K(t,n,r,i,{itemWidths:u,rowHeight:c+4,itemGap:12,horizontalPadding:8,verticalPadding:4})}function fn(e,t,n,r,i,a,o=`vertical`,s,c=on,l,u=!1,d=[],f=1,p=[],m=0,h=!0){let g=an(t,s,l,u,d,p,h),_=c.bold?`bold `:``,v=sn(c,f);e.font=`${_}${v}px ${c.fontFamily}`,e.textBaseline=`middle`;let y=v+4,b=cn(g,v,f),x=g.map((t,n)=>b[n]+4+e.measureText(t.label).width);if(o===`horizontal`){let t=re(x,i,12).slice(0,Math.max(0,Math.floor((a-4)/y))),o=r+4/2;for(let r=0;r<t.length;r++){let a=t[r],s=a.map(e=>Math.min(i,x[e])),l=s.reduce((e,t)=>e+t,0)+12*Math.max(0,a.length-1),u=n+Math.max(0,(i-l)/2),d=o+r*y+y/2;for(let t=0;t<a.length;t++){let n=a[t],r=b[n],i=s[t];if(i<r){u+=i+12;continue}let o=Math.max(0,i-r-4+.01),l=Qe(e,g[n].label,o),p=ln(g[n],v,f);rn(e,g[n].swatchStyle,g[n].color,u,d-p/2,r,p,g[n].marker,g[n].fillPaint,g[n].outlineColor,g[n].outlineWidthEmu,g[n].outlineDash,g[n].outlineCap,g[n].outlineJoin,f,m),e.fillStyle=c.color,e.textAlign=`left`,e.fillText(l,u+r+4,d),u+=i+12}}return}let S=i-Math.max(...b,0)-4,C=!u&&!Jt(s),w=g.map(t=>C?un(e,t.label,S):[Qe(e,t.label,S)]),T=w.map(e=>e.length*v+4),E=0,D=0;for(;E<g.length&&D+T[E]<=a;)D+=T[E],E++;let O=E===g.length?r+(a-D)/2:r;for(let t=0;t<E;t++){let r=b[t],a=T[t];if(i<r){O+=a;continue}let o=ln(g[t],v,f);rn(e,g[t].swatchStyle,g[t].color,n,O+(a-o)/2,r,o,g[t].marker,g[t].fillPaint,g[t].outlineColor,g[t].outlineWidthEmu,g[t].outlineDash,g[t].outlineCap,g[t].outlineJoin,f,m),e.fillStyle=c.color,e.textAlign=`left`,w[t].forEach((t,i)=>e.fillText(t,n+r+4,O+v*(i+.5))),O+=a}}function pn(e,t){let n=Kt(e,e.legendFontFace)??e.themeMinorFontLatin;return{fontFamily:n?`\"${n}\", Calibri, Arial, sans-serif`:`sans-serif`,color:e.legendFontColor?`#${e.legendFontColor}`:`#333`,bold:e.legendFontBold??!1,sizePx:U(e.legendFontSizeHpt,t)}}function mn(e,t,n,r,i,a,o,s,c,l,u,d,f,p=[],m=0){if(!n)return;let h=pn(t,f),g=Yt(t),_=Math.min(8/2,Math.max(0,n.reserveW)/2),v=Math.max(0,n.reserveW-_*2),y=n.side===`r`?{x:r+a-n.reserveW+_,y:c,w:v,h:u}:n.side===`l`?{x:r+_,y:c,w:v,h:u}:n.side===`t`?{x:r+4,y:i+d,w:Math.max(0,a-8),h:n.reserveH}:{x:r+4,y:i+o-n.reserveH,w:Math.max(0,a-8),h:n.reserveH},b=n.side===`t`||n.side===`b`?`horizontal`:`vertical`,x=t.legendManualLayout,S=x&&x.w>0&&x.h>0?J(x,{x:r,y:i,w:a,h:o},y):null;if(S){let n=S.w>=S.h?`horizontal`:`vertical`;fn(e,t.series,S.x,S.y,S.w,S.h,n,t.chartType,h,t.scatterStyle,g,t.categories,f,p,m,t.varyColors!==!1);return}fn(e,t.series,y.x,y.y,y.w,y.h,b,t.chartType,h,t.scatterStyle,g,t.categories,f,p,m,t.varyColors!==!1)}function hn(e,t,n,r,i,a,o,s=!1,c=!1,l=`major`,u=1){if(c||t===`none`||!t)return;let d=(l===`minor`?4:6)*u,f=o?Math.max(d,o+2*u):d,p=t===`cross`?f/2:f,m=e.strokeStyle,h=e.lineWidth;if(e.strokeStyle=a??`#888`,e.lineWidth=o??1,e.beginPath(),n===`val`){let n=r,a=i,o=s?1:-1,c=t===`out`||t===`cross`?o*p:0,l=t===`in`||t===`cross`?-o*p:0;e.moveTo(n+c,a),e.lineTo(n+l,a)}else{let n=r,a=i,o=t===`out`||t===`cross`?p:0,s=t===`in`||t===`cross`?-p:0;e.moveTo(a,n+o),e.lineTo(a,n+s)}e.stroke(),e.strokeStyle=m,e.lineWidth=h}function gn(e,t,n,r,i,a){a&&a.explicit?(e.strokeStyle=a.color,e.lineWidth=a.width):(e.strokeStyle=i?`#aaa`:a?.color??`#e0e0e0`,e.lineWidth=i?1:a?.width??.5);let o=a?.dash??[],s=o.length>0&&e.getLineDash?e.getLineDash():[];o.length>0&&e.setLineDash(o),e.beginPath(),e.moveTo(t,r),e.lineTo(t+n,r),e.stroke(),o.length>0&&e.setLineDash(s)}function _n(e,t){let{color:n,width:r}=Fe(e.valAxisGridlineColor,e.valAxisGridlineWidthEmu,t);return{color:n,width:r,explicit:e.valAxisGridlineColor!=null||e.valAxisGridlineWidthEmu!=null||e.valAxisGridlineDash!=null,dash:Dr(e.valAxisGridlineDash??void 0)}}function vn(e,t){let{color:n,width:r}=Fe(e.valAxisMinorGridlineColor,e.valAxisMinorGridlineWidthEmu,t);return{color:n,width:r,explicit:e.valAxisMinorGridlineColor!=null,dash:Dr(e.valAxisMinorGridlineDash??void 0)}}function yn(e,t){let{color:n,width:r}=Fe(e.minorGridlineColor,e.minorGridlineWidthEmu,t);return{color:n,width:r,explicit:e.minorGridlineColor!=null||e.minorGridlineWidthEmu!=null||e.minorGridlineDash!=null,dash:Dr(e.minorGridlineDash??void 0)}}function bn(e,t){let{color:n,width:r}=Fe(e.majorGridlineColor,e.majorGridlineWidthEmu,t);return{color:n,width:r,explicit:e.majorGridlineColor!=null||e.majorGridlineWidthEmu!=null||e.majorGridlineDash!=null,dash:Dr(e.majorGridlineDash??void 0)}}function xn(e){return e.catAxisMajorGridlines===!0}function Sn(e,t){return{...Fe(e.catAxisGridlineColor,e.catAxisGridlineWidthEmu,t),dash:Dr(e.catAxisGridlineDash??void 0)}}function Cn(e,t){return{...Fe(e.catAxisMinorGridlineColor,e.catAxisMinorGridlineWidthEmu,t),dash:Dr(e.catAxisMinorGridlineDash??void 0)}}function wn(e,t){if(t<=0)return[];let n=Ie(e),r=[],i=n?t:t-1;for(let e=0;e<=i;e++)r.push(n?e/t:t===1?.5:e/(t-1));return r}function Tn(e){return e.valAxisOrientation===`maxMin`}function En(e){return e.catAxisOrientation===`maxMin`}function Dn(e){return e.valAxisMajorGridlines!==!1}function On(e,t){return e==null||!t?e:e*100}function kn(e,t,n){return Ge(n?t/100:t,n?e.valAxisFormatCode??`0%`:e.valAxisFormatCode,e.date1904)}function An(e,t,n,r,i=!1,a=`vertical`){let o=Tn(e),s=e.valAxisLogBase,c=On(e.valMin,i)??(i?t:e.valMin),l=On(e.valMax,i)??(i?n:e.valMax),u=On(e.valAxisMajorUnit,i),d=i&&!(s!=null&&isFinite(s)&&s>=2)&&!(u!=null&&isFinite(u)&&u>0)?ve(t,n,a,r):u,f=e.valAxisMinorTickMark!=null&&e.valAxisMinorTickMark!==`none`,p=ke({dataMin:t,dataMax:n,explicitMin:c,explicitMax:l,axisLenPt:r,axisOrientation:a,majorUnit:d,minorUnit:On(e.valAxisMinorUnit,i),needMinor:e.valAxisMinorGridlines===!0||f,logBase:s,reversed:o}),{min:m,max:h,majorUnit:g,majorTicks:_}=p;return{min:m,max:h,step:g,majorLines:_,minorLines:e.valAxisMinorGridlines?p.minorTicks:[],minorTicks:p.minorTicks,frac:p.fraction}}function jn(e){return We(Number(e.toPrecision(6)))}function Mn(e,t){if(e.labelText)return e.labelText.split(/\\r?\\n/);if(!t)return[];let n=[];if(e.dispEq){let e=t.intercept<0?`−`:`+`;n.push(`y = ${jn(t.slope)}x ${e} ${jn(Math.abs(t.intercept))}`)}return e.dispRSqr&&n.push(`R² = ${jn(t.rSquared)}`),n}function Nn(e,t,n,r,i){if(!i)return;let a=Mn(t,n);if(a.length===0)return;let{chart:o,chartRect:s,plotRect:c}=i,l=U(t.labelFontSizeHpt,r)??U(o.dataLabelFontSizeHpt,r)??10*r,u=Z(o,t.labelFontFace??o.dataLabelFontFace,`minor`);e.font=`${t.labelFontBold??o.dataLabelFontBold??!1?`bold `:``}${l}px ${u}`;let d=l*1.2,f=ht(s,c,Math.max(...a.map(t=>e.measureText(t).width)),a.length*d,l,t.labelManualLayout);if(!f)return;e.save(),f.automatic&&(e.beginPath(),e.rect(c.x,c.y,c.w,c.h),e.clip());let p=t.labelTextAlign;e.textAlign=p===`r`?`right`:p===`ctr`?`center`:`left`,e.textBaseline=`top`;let m=t.labelFontColor??o.dataLabelFontColor;e.fillStyle=m?`#${m}`:`#595959`;let h=e.textAlign===`right`?f.x+f.w:e.textAlign===`center`?f.x+f.w/2:f.x,g=f.automatic?a.length:Math.min(a.length,Math.floor(f.h/d));for(let t=0;t<g;t++)e.fillText(Qe(e,a[t],f.w),h,f.y+t*d);e.restore()}function Pn(e,t,n,r,i,a,o,s){let c=t.trendLines;if(!c||c.length===0)return;let l=[],u=[];for(let e=0;e<t.values.length;e++){let n=t.values[e],r=o?o[e]:e;n!=null&&r!=null&&Number.isFinite(n)&&Number.isFinite(r)&&(l.push(r),u.push(n))}if(l.length<2)return;let d=e.getLineDash?e.getLineDash():[];for(let t of c){let o=Ae(l,u,t.trendlineType,{period:t.period,order:t.order,intercept:t.intercept,forward:t.forward,backward:t.backward});if(o.xs.length<2||![...o.xs,...o.ys].every(Number.isFinite))continue;let c=t.trendlineType===`linear`?Y(l,u,t.intercept):null,d=c&&[c.slope,c.intercept,c.rSquared].every(Number.isFinite)?c:null,f=o.xs,p=o.ys;if(t.trendlineType===`linear`){let e=(o.ys[1]-o.ys[0])/(o.xs[1]-o.xs[0]||1),n=t.backward??0,r=t.forward??0;f=[o.xs[0]-n,o.xs[1]+r],p=[o.ys[0]-e*n,o.ys[1]+e*r]}if([...f,...p].every(Number.isFinite)){if(!t.lineHidden){s?.clipLineToPlot&&(e.save(),e.beginPath(),e.rect(s.plotRect.x,s.plotRect.y,s.plotRect.w,s.plotRect.h),e.clip()),e.strokeStyle=t.lineColor?`#${t.lineColor}`:n,e.lineWidth=t.lineWidthEmu?Ne(t.lineWidthEmu,a):1.5,e.setLineDash(Dr(t.lineDash??void 0)),e.beginPath();let o=f.map((e,t)=>({x:r(e),y:i(p[t])}));if(!o.every(e=>Number.isFinite(e.x)&&Number.isFinite(e.y))){s?.clipLineToPlot&&e.restore();continue}for(let t=0;t<o.length;t++){let{x:n,y:r}=o[t];t===0?e.moveTo(n,r):e.lineTo(n,r)}e.stroke(),s?.clipLineToPlot&&e.restore()}Nn(e,t,d,a,s)}}e.setLineDash(d)}function Fn(e,t,n){return U(e,n)??Math.max(8,t*.045)}function In(e,t,n,r=0){let i=t.trim().split(/\\s+/).filter(Boolean);if(i.length===0)return[``];let a=[],o=``,s=t=>{let i=o?`${o} ${t}`:t;if(e.measureText(i).width<=n){o=i;return}if(o&&=(a.push(o),``),e.measureText(t).width<=n+r){o=t;return}let s=Array.from(t),c=0;for(;c<s.length;){let t=c+1,r=s.length,i=c+1;for(;t<=r;){let a=Math.floor((t+r)/2);e.measureText(s.slice(c,a).join(``)).width<=n?(i=a,t=a+1):r=a-1}let l=s.slice(c,i).join(``);c=i,c<s.length?a.push(l):o=l}};for(let e of i)s(e);return o&&a.push(o),a.length?a:[``]}function Ln(e,t){return/^[+-]?(?:\\d+(?:[.,]\\d*)?|[.,]\\d+)%?$/.test(e)?t*.15:0}function Rn(e){return e.catAxisTickLabelPos!==`none`}function zn(e){let t=e.catAxisLabelRotation;return t==null||t===0||Math.abs(t)>54e5?0:t/6e4*(Math.PI/180)}function Bn(e,t,n,r,i){if(i===0){e.fillText(t,n,r);return}e.save(),e.translate(n,r),e.rotate(i),e.textAlign=`right`,e.textBaseline=`middle`,e.fillText(t,0,0),e.restore()}function Vn(e,t,n){if(!e)return null;function*r(){for(let e of t)e.useSecondaryAxis===!0&&(yield*e.values)}let{min:i,max:a}=ge(r()),o=ke({dataMin:i,dataMax:a,explicitMin:e.min,explicitMax:e.max,axisLenPt:n,axisOrientation:`vertical`,majorUnit:e.majorUnit,minorUnit:e.minorUnit,needMinor:e.minorGridlines===!0||e.minorTickMark!=null&&e.minorTickMark!==`none`,logBase:e.logBase,reversed:e.orientation===`maxMin`}),{min:s,max:c,majorUnit:l}=o;return{min:s,max:c,step:l,majorLines:o.majorTicks,minorTicks:o.minorTicks,makeToY:(e,t)=>n=>e+t-o.fraction(n)*t}}function Hn(e,t,n,r,i,a,o){if(!t.hidden){if(e.save(),t.minorGridlines){let s=yn(t,o);for(let t of n.minorTicks)gn(e,i,a,r(t),!1,s)}if(t.majorGridlines){let s=bn(t,o);for(let t of n.majorLines)gn(e,i,a,r(t),!1,s)}e.restore()}}function Un(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){let h=o+c,{color:g,width:_}=Pe(n.lineColor,n.lineWidthEmu,u);if(n.lineHidden||(e.strokeStyle=g,e.lineWidth=_,e.beginPath(),e.moveTo(h,s),e.lineTo(h,s+l),e.stroke()),!n.hidden){e.font=`${n.fontItalic?`italic `:``}${n.fontBold?`bold `:``}${d}px ${Z(t,n.fontFace,`minor`)}`,e.fillStyle=n.fontColor?`#${n.fontColor}`:p,e.textAlign=`left`,e.textBaseline=`middle`;for(let t of r.majorLines){let r=i(t);hn(e,n.majorTickMark,`val`,h,r,g,_,!0,n.lineHidden,`major`,u),n.tickLabelPos!==`none`&&e.fillText(Ge(t,n.formatCode??null,m),h+14,r)}if(n.minorTickMark&&n.minorTickMark!==`none`)for(let t of r.minorTicks)hn(e,n.minorTickMark,`val`,h,i(t),g,_,!0,n.lineHidden,`minor`,u)}n.title&&Wn(e,t,n,a,o,s,c,l,f,u)}function Wn(e,t,n,r,i,a,o,s,c,l){if(!n.title)return;let u=oe(n.titleFontSizeHpt,l),d=n.titleFontColor?`#${n.titleFontColor}`:n.fontColor?`#${n.fontColor}`:`#555`;Zt(e,n.title,i+o+c+u*.6,a+s/2,`right`,u,n.titleFontBold??!0,n.titleFontItalic??!1,d,s,Z(t,n.titleFontFace,`major`),n.titleRotation,n.titleVerticalMode,n.titleManualLayout,r)}function Gn(e,t,n,r,i,a){if(!t.title)return;let o=Kt(t,t.titleFontFace),s=o?`\"${o}\", Calibri, Arial, sans-serif`:`Calibri, Arial, sans-serif`;e.font=`${t.titleFontBold??!0?`bold `:``}${a}px ${s}`,e.fillStyle=t.titleFontColor?`#${t.titleFontColor}`:`#333`,e.textAlign=`center`,e.textBaseline=`top`,e.fillText(t.title,n+i/2,r)}function Kn(e,t,n,r,i,a,o,s){if(!t.title)return;let c=t.titleManualLayout;if(c){let l=Kt(t,t.titleFontFace),u=l?`\"${l}\", Calibri, Arial, sans-serif`:`Calibri, Arial, sans-serif`;e.font=`${t.titleFontBold??!0?`bold `:``}${s}px ${u}`;let d=e.measureText(t.title).width,f={x:n+(i-d)/2,y:o,w:d,h:s},p=J({...c,w:void 0,h:void 0},{x:n,y:r,w:i,h:a},f);if(p){Gn(e,t,p.x,p.y,p.w,s);return}}Gn(e,t,n,o,i,s)}function qn(e){if(e.categories.length>0)return e.categories;let t=e.series[0];if(t?.categories&&t.categories.length>0)return t.categories;let n=0;for(let t of e.series)t.values.length>n&&(n=t.values.length);return n>0?Array.from({length:n},(e,t)=>String(t+1)):[]}function Jn(e,t){let n=Math.max(e.x,t.x),r=Math.max(e.y,t.y),i=Math.min(e.x+e.w,t.x+t.w),a=Math.min(e.y+e.h,t.y+t.h);return i>n&&a>r?{x:n,y:r,w:i-n,h:a-r}:null}function Yn(e,t,n,r,i,a,o,s,c,l,u,d,f,p=!1,m){wr(e,t,{kind:`bar`,rect:o===`vertical`?{x:n,y:r,w:a,h:i}:{x:n,y:r,w:i,h:a},orientation:o,negative:p,position:s??`outEnd`},u,l,c?`#${c}`:`#333`,f,d,m)}function Xn(e,t,n,r,i={}){let{x:a,y:o,w:s,h:c}=n,l=t.chartType===`clusteredBarH`||t.chartType===`stackedBarH`||t.chartType===`stackedBarHPct`,u=t.chartType.startsWith(`stacked`),d=t.chartType===`stackedBarPct`||t.chartType===`stackedBarHPct`,f=t.series.filter(e=>e.seriesType!==`line`&&e.seriesType!==`scatter`),p=t.series.filter(e=>e.seriesType===`line`),m=t.series.filter(e=>e.seriesType===`scatter`),h=new Map(t.series.map((e,t)=>[e,t])),g=!l&&t.secondaryValAxis&&p.some(e=>e.useSecondaryAxis===!0)?t.secondaryValAxis:null,_=qn(t),v=_.length;if(v===0)return;let y=Yt(t),b=f.map(e=>new Map((e.dataPointOverrides??[]).map(e=>[e.idx,e]))),x=f.map(e=>new Map((e.dataLabelOverrides??[]).map(e=>[e.idx,e]))),S=f.map((e,t)=>jr(e,t)),C=t.chartexDataPointStyle!=null||t.chartexColorPalette!=null||f.some(e=>e.chartexStyle!=null),w=C?{...t,series:f.map((e,n)=>{let r=S[n],i=e.color??Ir(t,r,f.length,e.chartexStyle);return Wr(t,e.name,e,t.chartexDataPointStyle,r,f.length,i)})}:t,T=le(t,c,r),E=T.fontPx,D=T.topPad,O=T.bandH,k=Fn(t.catAxisFontSizeHpt,c,r),A=Fn(t.valAxisFontSizeHpt,c,r),j=dn(e,w,s,c,.22,r),{legRightW:ee,legLeftW:M,legTopH:N,legBottomH:P}=ae(j),te=ce(t,s,c,r),F=te.catFontPx,I=te.valFontPx,L=l?t.valAxisTitle?I+se(c)+4:0:te.catBandH,R=l?t.catAxisTitle?F+se(s)+4:0:te.valBandW,z=O+N+A/2+2,B=l?(t.valAxisHidden?c*.02:ue(A))+L+P:ue(k)+L+P,V=c-z-B,ne=0;if(l&&!t.catAxisHidden&&Rn(t)){let n=t.catAxisFontSizeHpt==null?Math.max(8,Math.min(11,V/v*.5)):k;e.save(),e.font=`${n}px ${Z(t,t.catAxisFontFace,`minor`)}`;for(let n of _)ne=Math.max(ne,e.measureText(Ke(n,t.catAxisFormatCode,t.date1904)).width);e.restore(),ne+=(t.catAxisFontSizeHpt==null?4:fe(n))+pe*r}let H=Math.min(ne,Math.max(0,s/2-R-M)),re=l?s-((t.catAxisHidden?s*.03:H)+R+M)-(ee+s*.03):0,ie=t.valAxisHidden?void 0:(l?re:V)/r,W=0,G=0;for(let e=0;e<v;e++){let t=0,n=0;for(let r of f){let i=r.values[e]??0;u?i>=0?t+=i:n+=i:(W=Math.max(W,i),G=Math.min(G,i))}u&&(W=Math.max(W,t),G=Math.min(G,n))}if(!d){for(let e of p)if(!(g&&e.useSecondaryAxis===!0))for(let t=0;t<v;t++){let n=e.values[t];n!=null&&(W=Math.max(W,n),G=Math.min(G,n))}}d&&(W=W>0?100:0,G=G<0?-100:0),t.valMax!=null&&(W=d?t.valMax*100:t.valMax),t.valMin!=null&&(G=d?t.valMin*100:t.valMin),W===0&&G===0&&(W=1);let K=An(t,G,W,ie,d,l?`horizontal`:`vertical`),{step:q}=K,J=Vn(g,p,V/r),_e=Math.max(8,Math.min(11,c/20)),ve=t.valAxisFontSizeHpt==null?Math.max(8,Math.min(11,V/20)):A,ye=e.font,be=0,xe=0;if(!l&&!t.valAxisHidden){e.font=`${ve}px ${Z(t,t.valAxisFontFace,`minor`)}`;let n=0;for(let r of K.majorLines){let i=kn(t,r,d);n=Math.max(n,e.measureText(i).width)}be=n,xe=be+16}let Se=U(g?.fontSizeHpt,r)??_e,Ce=0;if(g&&!g.hidden){e.font=`${Se}px ${Z(t,g.fontFace,`minor`)}`;let n=0;for(let r of J?.majorLines??[])n=Math.max(n,e.measureText(Ge(r,g.formatCode??null,t.date1904)).width);Ce=n+18}e.font=ye;let we=g&&g.title?oe(g.titleFontSizeHpt,r)+8:0,Te={t:z,r:ee+s*.03+Ce+we,b:B,l:l?(t.catAxisHidden?s*.03:H)+R+M:M+R+xe},Ee=l?{t:0,r:t.valAxisHidden?0:ve/2,b:t.valAxisHidden?0:ve+L,l:t.catAxisHidden?0:ne+R}:me({valAxisHidden:t.valAxisHidden,catAxisHidden:t.catAxisHidden,valLabelWidth:be,valLabelFontPx:ve,catLabelFontPx:k,valLabelGapPx:t.valAxisFontSizeHpt==null?12:fe(ve),catLabelGapPx:t.catAxisFontSizeHpt==null?3:de(k),outerTextMarginPx:pe*r,valTitleBandW:R,catTitleBandH:L,secondaryBandW:Ce+we});Kn(e,t,a,o,s,c,o+D,E);let De=he(t,a,o,s,c,r,{titleBand:T,legendSideReserveFrac:.22,legendReserve:j,pad:Te,honorPlotAreaManualLayout:!0,manualOuterInsets:Ee}),{px0:Oe,py0:Y,pw:Ae}=De.plotRect,{ph:X}=De.plotRect;if(Ae<=0||X<=0)return;let je=zn(t),Me=[];if(!l&&!t.catAxisHidden&&Rn(t)&&je===0){let n=Ae/v,r=t.catAxisFontSizeHpt==null?Math.max(8,Math.min(11,n*.5)):k;e.save(),e.font=qt(r,Z(t,t.catAxisFontFace,`minor`),t.catAxisFontBold??!1,t.catAxisFontItalic??!1);for(let i of _){let a=Ke(i,t.catAxisFormatCode,t.date1904);Me.push(In(e,a,Math.max(1,n),Ln(a,r)))}e.restore();let i=Math.max(1,...Me.map(e=>e.length));!(t.plotAreaManualLayout?.layoutTarget===`inner`&&t.plotAreaManualLayout.w!=null&&t.plotAreaManualLayout.h!=null)&&i>1&&(X=Math.max(1,X-(i-1)*(r+2)))}t.plotAreaBg&&(e.fillStyle=`#${t.plotAreaBg}`,e.fillRect(Oe,Y,Ae,X));let Fe=e=>Y+X-K.frac(e)*X,Le=e=>Oe+K.frac(e)*Ae,Re=Fe(0),ze=Le(0),Be=Fe,Ve=J?J.makeToY(Y,X):Fe,He=_n(t,r);e.textBaseline=`middle`;let Ue=t.valAxisFontSizeHpt==null?Math.max(8,Math.min(11,X/20)):A;e.font=`${Ue}px ${Z(t,t.valAxisFontFace,`minor`)}`;let We=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`;if(e.fillStyle=We,!t.valAxisHidden){let n=vn(t,r);for(let t of K.minorLines)if(!l)gn(e,Oe,Ae,Fe(t),!1,n);else{let r=Le(t);e.strokeStyle=n.color,e.lineWidth=n.width;let i=n.dash.length>0&&e.getLineDash?e.getLineDash():[];n.dash.length>0&&e.setLineDash(n.dash),e.beginPath(),e.moveTo(r,Y),e.lineTo(r,Y+X),e.stroke(),n.dash.length>0&&e.setLineDash(i)}let i=Dn(t),a=t.valAxisTickLabelPos!==`none`;for(let n of K.majorLines){let r=Math.abs(n)<q*1e-9,o=kn(t,n,d);if(l){let s=Le(n);if(i){e.strokeStyle=He.explicit?He.color:r?`#aaa`:He.color,e.lineWidth=He.explicit?He.width:r?1:He.width;let t=He.dash.length>0&&e.getLineDash?e.getLineDash():[];He.dash.length>0&&e.setLineDash(He.dash),e.beginPath(),e.moveTo(s,Y),e.lineTo(s,Y+X),e.stroke(),He.dash.length>0&&e.setLineDash(t)}if(a){e.textAlign=`center`;let n=t.valAxisFontSizeHpt==null?10:de(Ue);e.fillText(o,s,Y+X+n)}}else{let s=Fe(n);if(i&&gn(e,Oe,Ae,s,r,He),a){e.textAlign=`right`;let n=t.valAxisFontSizeHpt==null?12:fe(Ue);e.fillText(o,Oe-n,s)}}}}if(g&&J&&Hn(e,g,J,Ve,Oe,Ae,r),!t.catAxisHidden&&xn(t)){let n=Sn(t,r);e.strokeStyle=n.color,e.lineWidth=n.width;let i=n.dash.length>0&&e.getLineDash?e.getLineDash():[];n.dash.length>0&&e.setLineDash(n.dash);for(let n of wn(t,v)){if(e.beginPath(),l){let t=Y+n*X;e.moveTo(Oe,t),e.lineTo(Oe+Ae,t)}else{let t=Oe+n*Ae;e.moveTo(t,Y),e.lineTo(t,Y+X)}e.stroke()}n.dash.length>0&&e.setLineDash(i)}let{color:qe,width:Je}=Pe(t.catAxisLineColor,t.catAxisLineWidthEmu,r),{color:Ye,width:Xe}=Pe(t.valAxisLineColor,t.valAxisLineWidthEmu,r),Ze=(t,n,r,i,a,o)=>{e.strokeStyle=a,e.lineWidth=o,e.beginPath(),e.moveTo(t,n),e.lineTo(r,i),e.stroke()},et=!t.catAxisHidden&&!t.catAxisLineHidden,tt=!t.valAxisHidden&&!t.valAxisLineHidden&&t.valAxisLineColor!=null,nt=()=>{if(l?(et&&Ze(Oe,Y,Oe,Y+X,qe,Je),tt&&Ze(Oe,Y+X,Oe+Ae,Y+X,Ye,Xe)):(et&&Ze(Oe,Y+X,Oe+Ae,Y+X,qe,Je),tt&&Ze(Oe,Y,Oe,Y+X,Ye,Xe)),!t.valAxisHidden&&t.valAxisMajorTickMark&&t.valAxisMajorTickMark!==`none`)for(let n of K.majorLines)l?hn(e,t.valAxisMajorTickMark,`cat`,Y+X,Le(n),Ye,Xe,!1,t.valAxisLineHidden,`major`,r):hn(e,t.valAxisMajorTickMark,`val`,Oe,Fe(n),Ye,Xe,!1,t.valAxisLineHidden,`major`,r);if(!t.valAxisHidden&&t.valAxisMinorTickMark&&t.valAxisMinorTickMark!==`none`)for(let n of K.minorTicks)l?hn(e,t.valAxisMinorTickMark,`cat`,Y+X,Le(n),Ye,Xe,!1,t.valAxisLineHidden,`minor`,r):hn(e,t.valAxisMinorTickMark,`val`,Oe,Fe(n),Ye,Xe,!1,t.valAxisLineHidden,`minor`,r);if(!t.catAxisHidden&&t.catAxisMajorTickMark&&t.catAxisMajorTickMark!==`none`){let n=Ie(t),i=n?v:v-1;for(let a=0;a<=i;a++){let i=n?a/v:v===1?.5:a/(v-1);l?hn(e,t.catAxisMajorTickMark,`val`,Oe,Y+i*X,qe,Je,!1,t.catAxisLineHidden,`major`,r):hn(e,t.catAxisMajorTickMark,`cat`,Y+X,Oe+i*Ae,qe,Je,!1,t.catAxisLineHidden,`major`,r)}}},rt=l?X/v:Ae/v,it=En(t),at=e=>l?it?e:v-1-e:it?v-1-e:e,ot=u?1:Math.max(1,f.length),st=u?0:t.barOverlap??0,ct=$e(t.barGapWidth,i.gapPolicy??`legacy`),lt=rt/(1+(ot-1)*(1-st/100)+ct/100),ut=u?0:lt*(1-st/100),dt=(rt-(lt+(ot-1)*ut))/2;for(let n=0;n<v;n++){let i=0,p=0,m=0;if(d){for(let e of f)m+=Math.abs(e.values[n]??0);m===0&&(m=1)}for(let h=0;h<f.length;h++){let g=f[h],v=g.values[n]??0,w=d?v/m*100:v,T=w<0,E=b[h].get(n),D=E?.color??g.dataPointColors?.[n],O=D?`#${D}`:y?Gt(n,g):Ut(h,g),k=E?.fillHidden?null:E?.color?{fillType:`solid`,color:E.color}:C?zr(t,S[h],f.length,g.chartexStyle,g.color):void 0,A=()=>{if(E?.lineHidden!=null||E?.lineColor!=null||E?.lineWidthEmu!=null||E?.lineDash!=null){if(E?.lineHidden)return!1;let n=Nr(t,t.chartexDataPointStyle,`line`,S[h],f.length)??g.lineColor??O;return e.strokeStyle=`#${E?.lineColor??n.replace(/^#/,``)}`,e.lineWidth=E?.lineWidthEmu==null?g.lineWidthEmu==null?1:Ne(g.lineWidthEmu,r):Ne(E.lineWidthEmu,r),e.setLineDash(Dr(E?.lineDash)),!0}return C?Ur(e,t,t.chartexDataPointStyle,g,S[h],f.length,O,r):!g.lineColor||g.lineHidden?!1:(e.strokeStyle=`#${g.lineColor}`,e.lineWidth=Ne(g.lineWidthEmu,r),e.setLineDash([]),!0)};if(l){let l=h,f=u?Y+at(n)*rt+dt:Y+at(n)*rt+dt+l*ut,m=u?Le(T?p:i):ze,y=Le(u?(T?p:i)+w:w),b=Tr(Math.min(m,y),Oe,Oe+Ae),S=Tr(Math.max(m,y),Oe,Oe+Ae),C=Math.max(0,S-b);if(k!==null&&(e.fillStyle=k?Br(e,k,b,f,C,lt,O):g.fillPattern?Lt(g.fillPattern,e,b,f,C,lt)??O:O,e.fillRect(b,f,C,lt)),C>0&<>0&&A()){let t=e.lineWidth;e.strokeRect(b+t/2,f+t/2,Math.max(0,C-t),Math.max(0,lt-t))}let E=g.seriesDataLabels,D=Mr(t,g,n,g.categories?.[n]??_[n]??``,v,{visible:t.showDataLabels,showVal:t.showDataLabels&&!d,showPercent:t.showDataLabels&&d,showCatName:!1},x[h],d?w/100:void 0);if(D){let i=U(D.fontSizeHpt??t.dataLabelFontSizeHpt,r)??Math.max(7,Math.min(11,lt*.6)),l=x[h].get(n),d=D.fontBold||E?.fontBold==null&&l?.fontBold==null;e.font=`${d?`bold `:``}${i}px ${Z(t,t.dataLabelFontFace,`minor`)}`,Yn(e,D.text,b,f,C,lt,`horizontal`,D.position??t.dataLabelPosition??(u?`ctr`:null),g.dataLabelColors?.[n]??D.fontColor??g.labelColor??t.dataLabelFontColor??null,i,{x:Oe,y:Y,w:Ae,h:X},{x:a,y:o,w:s,h:c},l?.manualLayout,T,Cr(t,l,r,Z(t,t.dataLabelFontFace,`minor`),d))}}else{let l=u?Oe+at(n)*rt+dt:Oe+at(n)*rt+dt+h*ut,f=u?Fe(T?p:i):Re,m=Fe(u?(T?p:i)+w:w),y=Tr(Math.min(f,m),Y,Y+X),b=Tr(Math.max(f,m),Y,Y+X),S=Math.max(0,b-y);if(k!==null&&(e.fillStyle=k?Br(e,k,l,y,lt,S,O):g.fillPattern?Lt(g.fillPattern,e,l,y,lt,S)??O:O,e.fillRect(l,y,lt,S)),lt>0&&S>0&&A()){let t=e.lineWidth;e.strokeRect(l+t/2,y+t/2,Math.max(0,lt-t),Math.max(0,S-t))}let C=g.seriesDataLabels,E=Mr(t,g,n,g.categories?.[n]??_[n]??``,v,{visible:t.showDataLabels,showVal:t.showDataLabels&&!d,showPercent:t.showDataLabels&&d,showCatName:!1},x[h],d?w/100:void 0);if(E){let i=U(E.fontSizeHpt??t.dataLabelFontSizeHpt,r)??Math.max(7,Math.min(11,lt*.6)),d=x[h].get(n),f=E.fontBold||C?.fontBold==null&&d?.fontBold==null;e.font=`${f?`bold `:``}${i}px ${Z(t,t.dataLabelFontFace,`minor`)}`,Yn(e,E.text,l,y,S,lt,`vertical`,E.position??t.dataLabelPosition??(u?`ctr`:null),g.dataLabelColors?.[n]??E.fontColor??g.labelColor??t.dataLabelFontColor??null,i,{x:Oe,y:Y,w:Ae,h:X},{x:a,y:o,w:s,h:c},d?.manualLayout,T,Cr(t,d,r,Z(t,t.dataLabelFontFace,`minor`),f))}}u&&(T?p+=w:i+=w)}}if(!t.catAxisHidden&&Rn(t)){e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#555`;let n=t.catAxisFontSizeHpt==null?Math.max(8,Math.min(11,rt*.5)):k;e.font=`${n}px ${Z(t,t.catAxisFontFace,`minor`)}`;let r=rt-4,i=Oe-4-(a+M+R),o=je;for(let a=0;a<v;a++){let s=Ke((_[a]??``).toString(),t.catAxisFormatCode,t.date1904);if(l){let r=Y+at(a)*rt+rt/2;e.textAlign=`right`,e.textBaseline=`middle`;let o=t.catAxisFontSizeHpt==null?4:fe(n);e.fillText(Qe(e,s,i),Oe-o,r)}else{let i=Oe+at(a)*rt+rt/2;e.textAlign=`center`,e.textBaseline=`top`;let c=o===0?r:X*.4,l=t.catAxisFontSizeHpt==null?3:de(n);o===0?(Me[a]??[s]).forEach((t,r)=>{e.fillText(t,i,Y+X+l+r*(n+2))}):Bn(e,Qe(e,s,c),i,Y+X+l,o)}}}if(p.length>0&&!l)for(let a=0;a<p.length;a++){let o=p[a],s=Ut(f.length+a,o),c=g&&o.useSecondaryAxis===!0?Ve:Be,l=o.chartexStyle!=null||o.lineHidden!=null||o.lineColor!=null||o.lineWidthEmu!=null||t.chartexDataPointLineStyle!=null,u=l?Ur(e,t,t.chartexDataPointLineStyle,o,jr(o,h.get(o)??a),p.length,s,r,{linkedNoStyleFallback:i.semanticLineNoStyleFallback}):!0;l||(e.strokeStyle=s,e.lineWidth=2,e.setLineDash([])),e.beginPath();let d=!1;for(let t=0;t<v;t++){let n=o.values[t];if(n==null){d=!1;continue}let r=Oe+at(t)*rt+rt/2,i=c(n);d?e.lineTo(r,i):(e.moveTo(r,i),d=!0)}if(u&&e.stroke(),o.showMarker!==!1)for(let t=0;t<v;t++){let n=o.values[t];if(n==null)continue;let r=Oe+at(t)*rt+rt/2,i=c(n);e.fillStyle=s,e.beginPath(),e.arc(r,i,3,0,Math.PI*2),e.fill()}Pn(e,o,s,e=>Oe+at(e)*rt+rt/2,c,r,void 0,{chart:t,chartRect:n,plotRect:{x:Oe,y:Y,w:Ae,h:X}})}if(m.length>0){let i=[],l=[];for(let e of m){let t=e.categories??[];for(let n=0;n<e.values.length;n++){let r=dr(t,n,!1),a=e.values[n];r==null||a==null||(i.push(r),l.push(a))}}if(i.length&&l.length){let u=t.secondaryCatAxis,d=t.secondaryValAxis,f=ge(i),p=ge(l),g=e=>e?.minorGridlines===!0||e?.minorTickMark!=null&&e.minorTickMark!==`none`,_=ke({dataMin:f.min,dataMax:f.max,explicitMin:u?.min,explicitMax:u?.max,axisLenPt:Ae/r,axisOrientation:`horizontal`,majorUnit:u?.majorUnit,minorUnit:u?.minorUnit,needMinor:g(u),logBase:u?.logBase,reversed:u?.orientation===`maxMin`}),v=ke({dataMin:p.min,dataMax:p.max,explicitMin:d?.min,explicitMax:d?.max,axisLenPt:X/r,axisOrientation:`vertical`,majorUnit:d?.majorUnit,minorUnit:d?.minorUnit,needMinor:g(d),logBase:d?.logBase,reversed:d?.orientation===`maxMin`});_r(e,t,m.map((e,t)=>({series:e,index:h.get(e)??t})),!1,e=>Oe+_.fraction(e)*Ae,e=>Y+X-v.fraction(e)*X,n,Oe,Y,Ae,X,r,!1,t.scatterStyle??`marker`,{x:a,y:o,w:s,h:c})}}nt(),g&&J&&Un(e,t,g,J,Ve,n,Oe,Y,Ae,X,r,Se,Ce,We,t.date1904);let ft=C?f.map((e,n)=>zr(t,S[n],f.length,e.chartexStyle,e.color)):[];mn(e,w,j,a,o,s,c,Oe,Y,Ae,X,O+2,r,ft),$t(e,t,a,o,s,c,Oe,Y,Ae,X,M,P,F,I,l)}function Zn(e,t,n,r){let{x:i,y:a,w:o,h:s}=n,c=qn(t),l=c.length;if(l===0)return;let u=t.chartType===`stackedLine`||t.chartType===`stackedLinePct`,d=t.chartType===`stackedLinePct`,f=d?c.map((e,n)=>{let r=0;for(let e of t.series)r+=Math.abs(e.values[n]??0);return r||1}):null,p=t.dispBlanksAs??`gap`,m=(e,n)=>{if(!u)return t.series[e].values[n]??0;let r=0;for(let i=0;i<=e;i++)r+=t.series[i].values[n]??0;return d&&f?r/f[n]*100:r},h=!u&&t.secondaryValAxis&&t.series.some(e=>e.useSecondaryAxis===!0)?t.secondaryValAxis:null,g=e=>h!=null&&e.useSecondaryAxis===!0,_=1/0,v=-1/0;for(let e=0;e<l;e++)for(let n=0;n<t.series.length;n++){if(g(t.series[n])||!u&&t.series[n].values[e]==null)continue;let r=m(n,e);_=Math.min(_,r),v=Math.max(v,r)}isFinite(_)||(_=0,v=1);let y=t.valAxisLogBase!=null&&t.valAxisLogBase>=2;t.valMin==null?d&&_>0&&!y&&(_=0):_=d?t.valMin*100:t.valMin,t.valMax==null?d&&v<0&&(v=0):v=d?t.valMax*100:t.valMax;let b=le(t,s,r),x=b.fontPx,S=b.topPad,C=b.bandH,w=dn(e,t,o,s,.22,r),{legRightW:T,legLeftW:E,legTopH:D,legBottomH:O}=ae(w),k=Fn(t.catAxisFontSizeHpt,s,r),A=Fn(t.valAxisFontSizeHpt,s,r),j=ce(t,o,s,r),ee=j.catFontPx,M=j.valFontPx,N=j.catBandH,P=j.valBandW,te=C+D+A/2+2,F=ue(k)+N+O,I=s-te-F,L=Vn(h,t.series,I/r),R=Math.max(8,Math.min(11,s/20)),z=U(h?.fontSizeHpt,r)??R,B=0;if(h&&L&&!h.hidden){let n=e.font;e.font=qt(z,Z(t,h.fontFace,`minor`),!1,h.fontItalic??!1);let r=0;for(let n of L.majorLines)r=Math.max(r,e.measureText(Ge(n,h.formatCode??null,t.date1904)).width);B=r+18,e.font=n}let V=h&&h.title?oe(h.titleFontSizeHpt,r)+8:0,ne=An(t,_,v,I/r,d),H=0;if(!t.valAxisHidden&&t.valAxisTickLabelPos!==`none`&&t.plotAreaManualLayout!=null&&t.plotAreaManualLayout.layoutTarget!==`inner`){let n=e.font;e.font=`${A}px ${Z(t,t.valAxisFontFace,`minor`)}`;for(let n of ne.majorLines)H=Math.max(H,e.measureText(kn(t,n,d)).width);e.font=n}let re={t:te,r:T+o*.05+B+V,b:F,l:A*2.2+10+P+E},ie=me({valAxisHidden:t.valAxisHidden,catAxisHidden:t.catAxisHidden,valLabelWidth:H,valLabelFontPx:A,catLabelFontPx:k,valLabelGapPx:t.valAxisFontSizeHpt==null?6:fe(A),catLabelGapPx:t.catAxisFontSizeHpt==null?5:de(k),outerTextMarginPx:pe*r,valTitleBandW:P,catTitleBandH:N,secondaryBandW:B+V});Kn(e,t,i,a,o,s,a+S,x);let{plotRect:{px0:W,py0:G,pw:K,ph:q}}=he(t,i,a,o,s,r,{titleBand:b,legendSideReserveFrac:.22,legendReserve:w,pad:re,honorPlotAreaManualLayout:!0,manualOuterInsets:ie});if(K<=0||q<=0)return;t.plotAreaBg&&(e.fillStyle=`#${t.plotAreaBg}`,e.fillRect(W,G,K,q));let se=An(t,_,v,q/r,d);if(se.max-se.min===0)return;let J=e=>G+q-se.frac(e)*q,ge=L?L.makeToY(G,q):J,_e=e=>g(e)?ge:J,ve=Pe(t.catAxisLineColor,t.catAxisLineWidthEmu,r),ye=Pe(t.valAxisLineColor,t.valAxisLineWidthEmu,r),be=t.catAxisLineColor==null?void 0:ve.color,xe=t.catAxisLineWidthEmu==null?void 0:ve.width,Se=t.valAxisLineColor==null?void 0:ye.color,Ce=t.valAxisLineWidthEmu==null?void 0:ye.width,we=Ie(t),Te=En(t),Ee=we?e=>W+((Te?l-1-e:e)+.5)/l*K:e=>{let t=Te?l-1-e:e;return W+(l===1?K/2:t/(l-1)*K)};if(!t.valAxisHidden){e.font=`${A}px ${Z(t,t.valAxisFontFace,`minor`)}`,e.textBaseline=`middle`;let n=_n(t,r),i=vn(t,r);for(let t of se.minorLines)gn(e,W,K,J(t),!1,i);let a=Dn(t),o=t.valAxisTickLabelPos!==`none`;for(let i of se.majorLines){let s=J(i);if(a&&gn(e,W,K,s,i===0,n),hn(e,t.valAxisMajorTickMark,`val`,W,s,Se,Ce,!1,t.valAxisLineHidden,`major`,r),o){e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`,e.textAlign=`right`;let n=t.valAxisFontSizeHpt==null?6:fe(A);e.fillText(kn(t,i,d),W-n,s)}}if(t.valAxisMinorTickMark&&t.valAxisMinorTickMark!==`none`)for(let n of se.minorTicks)hn(e,t.valAxisMinorTickMark,`val`,W,J(n),Se,Ce,!1,t.valAxisLineHidden,`minor`,r)}if(h&&L&&Hn(e,h,L,ge,W,K,r),!t.catAxisHidden&&xn(t)){let n=Sn(t,r);e.strokeStyle=n.color,e.lineWidth=n.width;let i=n.dash.length>0&&e.getLineDash?e.getLineDash():[];n.dash.length>0&&e.setLineDash(n.dash);for(let n of wn(t,l)){let t=W+n*K;e.beginPath(),e.moveTo(t,G),e.lineTo(t,G+q),e.stroke()}n.dash.length>0&&e.setLineDash(i)}!t.catAxisHidden&&!t.catAxisLineHidden&&(e.strokeStyle=ve.color,e.lineWidth=ve.width,e.beginPath(),e.moveTo(W,G+q),e.lineTo(W+K,G+q),e.stroke()),!t.valAxisHidden&&!t.valAxisLineHidden&&(e.strokeStyle=ye.color,e.lineWidth=ye.width,e.beginPath(),e.moveTo(W,G),e.lineTo(W,G+q),e.stroke());let De=Math.max(1,2.25*r),Oe=Math.max(2,2.5*r),ke=Fn(t.dataLabelFontSizeHpt,s,r),Y=[];for(let h=0;h<t.series.length;h++){let g=t.series[h],_=Wt(g.dataPointOverrides),v=Ut(h,g),y=_e(g);e.strokeStyle=g.lineColor?`#${g.lineColor}`:v,e.lineWidth=g.lineWidthEmu==null?De:Ne(g.lineWidthEmu,r),e.setLineDash(Dr(g.chartexStyle?.lineDash??void 0)),e.lineCap=g.chartexStyle?.lineCap===`rnd`?`round`:g.chartexStyle?.lineCap===`sq`?`square`:`butt`,e.lineJoin=g.chartexStyle?.lineJoin===`round`||g.chartexStyle?.lineJoin===`bevel`?g.chartexStyle.lineJoin:`miter`,e.beginPath();let b=g.smooth===!0,x=[],S=()=>{x.length!==0&&(e.moveTo(x[0].x,x[0].y),Er(e,x,b),x=[])};for(let e=0;e<l;e++){if(!u&&g.values[e]==null){if(p===`gap`){S();continue}if(p===`span`)continue}x.push({x:Ee(e),y:y(m(h,e))})}S(),g.lineHidden!==!0&&e.stroke();let C=e=>m(h,e);for(let t of g.errBars??[])kr(e,g,t,l,Ee,y,C,v);e.fillStyle=v;let w=g.showMarker!==!1,T=Or(g),E=(g.dataLabelOverrides?.length??0)>0||g.seriesDataLabels!=null;E&&Y.push(()=>{Ar(e,g,c,l,Ee,y,C,q,r,t.date1904??!1,u||p===`zero`,Z(t,t.dataLabelFontFace,`minor`),t.dataLabelPosition??`r`,{x:i,y:G,w:o,h:q},{x:i,y:a,w:o,h:s},d&&f?e=>(g.values[e]??0)/f[e]:void 0,e=>{if(!w)return 0;if(!T)return Oe;let t=_.get(e);return(t?.markerSymbol??g.markerSymbol??`circle`)===`none`?0:(t?.markerSize??g.markerSize??5)/2*r},e=>Z(t,e,`minor`))});for(let t=0;t<l;t++){if(!u&&g.values[t]==null&&p!==`zero`)continue;let n=m(h,t);if(w)if(T){let i=_.get(t),a=i?.markerSymbol??g.markerSymbol??`circle`;if(a!==`none`){let o=i?.markerSize??g.markerSize??5,s=i?.markerFill??i?.color??g.markerFill??v,c=i?.markerLine??g.markerLine??null,l=i?.markerLineWidthEmu??g.markerLineWidthEmu;yr(e,Ee(t),y(n),a,o,s,c,r,l==null?void 0:Ne(l,r))}}else e.beginPath(),e.arc(Ee(t),y(n),Oe,0,Math.PI*2),e.fill()}t.showDataLabels&&!E&&Y.push(()=>{for(let n=0;n<l;n++){if(!u&&g.values[n]==null&&p!==`zero`)continue;let r=m(h,n);Sr(e,Ee(n),y(r),We(g.values[n]??0),t.dataLabelPosition??`r`,ke,void 0,!1,Z(t,t.dataLabelFontFace,`minor`),w?Oe+1:2,{x:W,y:G,w:K,h:q})}}),Pn(e,g,v,Ee,y,r,void 0,{chart:t,chartRect:n,plotRect:{x:W,y:G,w:K,h:q}})}for(let e of Y)e();if(!t.catAxisHidden){let n=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#555`;e.fillStyle=n,e.textAlign=`center`,e.textBaseline=`top`,e.font=`${k}px ${Z(t,t.catAxisFontFace,`minor`)}`;let i=Math.max(1,Math.floor(t.catAxisTickMarkSkip??1));for(let n=0;n<l;n+=i)hn(e,t.catAxisMajorTickMark,`cat`,G+q,Ee(n),be,xe,!1,t.catAxisLineHidden,`major`,r);let a=Rn(t),o=Math.max(1,Math.floor(t.catAxisTickLabelSkip??1)),s=zn(t);for(let r=0;r<l;r+=o){let i=Ee(r);if(!a)continue;e.fillStyle=n;let o=Ke((c[r]??``).toString(),t.catAxisFormatCode,t.date1904);if(!o)continue;let l=t.catAxisFontSizeHpt==null?5:de(k);Bn(e,o,i,G+q+l,s)}}if(h&&L){let i=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`;Un(e,t,h,L,ge,n,W,G,K,q,r,z,B,i,t.date1904)}mn(e,t,w,i,a,o,s,W,G,K,q,C+2,r),$t(e,t,i,a,o,s,W,G,K,q,E,O,ee,M)}function Qn(e,t,n,r){let{x:i,y:a,w:o,h:s}=n,c=qn(t),l=c.length;if(l===0)return;let u=t.series,d=u.length>=4,f=d?0:-1,p=+!!d,m=d?2:1,h=d?3:2,g=u[p],_=u[m],v=u[h],y=f>=0?u[f]:void 0,b=le(t,s,r),x=b.fontPx,S=b.topPad,C=b.bandH,w=dn(e,t,o,s,.22,r),{legRightW:T,legLeftW:E,legBottomH:D,legTopH:O}=ae(w),k=Fn(t.catAxisFontSizeHpt,s,r),A=Fn(t.valAxisFontSizeHpt,s,r),j=ce(t,o,s,r),ee=j.catFontPx,M=j.valFontPx,N=j.catBandH,P=j.valBandW,te=C+O+A/2+2,F=ue(k)+N+D,I={t:te,r:T+o*.05,b:F,l:A*2.2+10+P+E};Kn(e,t,i,a,o,s,a+S,x);let{plotRect:{px0:L,py0:R,pw:z,ph:B}}=he(t,i,a,o,s,r,{titleBand:b,legendSideReserveFrac:.22,legendReserve:w,pad:I,honorPlotAreaManualLayout:!0});if(z<=0||B<=0)return;t.plotAreaBg&&(e.fillStyle=`#${t.plotAreaBg}`,e.fillRect(L,R,z,B));let V=1/0,ne=-1/0;for(let e of u)for(let t=0;t<l;t++){let n=e.values[t];n!=null&&(V=Math.min(V,n),ne=Math.max(ne,n))}isFinite(V)||(V=0,ne=1),t.valMin!=null&&(V=t.valMin),t.valMax!=null&&(ne=t.valMax);let H=An(t,V,ne,B/r);if(H.max-H.min===0)return;let re=e=>R+B-H.frac(e)*B,U=Ie(t),ie=En(t),W=U?e=>L+((ie?l-1-e:e)+.5)/l*z:e=>{let t=ie?l-1-e:e;return L+(l===1?z/2:t/(l-1)*z)};if(!t.valAxisHidden){e.font=`${A}px ${Z(t,t.valAxisFontFace,`minor`)}`,e.textBaseline=`middle`;let n=_n(t,r),i=vn(t,r);for(let t of H.minorLines)gn(e,L,z,re(t),!1,i);let a=Dn(t),o=t.valAxisTickLabelPos!==`none`;for(let i of H.majorLines){let s=re(i);a&&gn(e,L,z,s,i===0,n),hn(e,t.valAxisMajorTickMark,`val`,L,s,void 0,void 0,!1,t.valAxisLineHidden,`major`,r),o&&(e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`,e.textAlign=`right`,e.fillText(Ge(i,t.valAxisFormatCode,t.date1904),L-6,s))}for(let n of H.minorTicks)hn(e,t.valAxisMinorTickMark,`val`,L,re(n),void 0,void 0,!1,t.valAxisLineHidden,`minor`,r)}if(e.strokeStyle=`#aaa`,e.lineWidth=1,!t.catAxisHidden&&!t.catAxisLineHidden&&(e.beginPath(),e.moveTo(L,R+B),e.lineTo(L+z,R+B),e.stroke()),!t.valAxisHidden&&!t.valAxisLineHidden&&(e.beginPath(),e.moveTo(L,R),e.lineTo(L,R+B),e.stroke()),t.stockUpDownBars&&y&&v){let n=t.stockUpDownBarStyle,i=n?.gapWidthPercent!=null&&Number.isFinite(n.gapWidthPercent)&&n.gapWidthPercent>=0?n.gapWidthPercent:150,a=U?z/l:l>1?z/(l-1):z,o=Math.max(0,a/(1+i/100));for(let t=0;t<l;t++){let i=y.values[t],a=v.values[t];if(i==null||a==null||!Number.isFinite(i)||!Number.isFinite(a))continue;let s=re(i),c=re(a),l=Math.abs(c-s);if(!(o>0)||!(l>0)||!Number.isFinite(l))continue;let u=a>=i?n?.up:n?.down,d=a>=i?`FFFFFF`:`000000`,f=W(t)-o/2,p=Math.min(s,c);u?.fillHidden||(e.fillStyle=`#${u?.fillColor??d}`,e.fillRect(f,p,o,l)),u?.lineHidden||(e.strokeStyle=`#${u?.lineColor??`000000`}`,e.lineWidth=u?.lineWidthEmu==null?Math.max(1,.75*r):Ne(u.lineWidthEmu,r),e.setLineDash([]),e.strokeRect(f,p,o,l))}}if((t.stockHiLowLines??!0)&&g!=null&&_!=null&&g&&_){e.strokeStyle=t.stockHiLowLineColor?`#${t.stockHiLowLineColor}`:`#595959`,e.lineWidth=Math.max(1,.75*r),e.setLineDash([]);for(let t=0;t<l;t++){let n=g.values[t],r=_.values[t];if(n==null||r==null)continue;let i=W(t);e.beginPath(),e.moveTo(i,re(n)),e.lineTo(i,re(r)),e.stroke()}}let G=(t,n,i)=>{if(!t)return;let a=Ut(n,t),o=t.markerSymbol??null,s=o!=null&&o!==`none`&&Or(t),c=Math.max(3,z/l*.22);for(let n=0;n<l;n++){let l=t.values[n];if(l==null)continue;let u=W(n),d=re(l);if(s){yr(e,u,d,o,t.markerSize??3,t.markerFill??a,t.markerLine??null,r,t.markerLineWidthEmu==null?void 0:Ne(t.markerLineWidthEmu,r));continue}e.strokeStyle=a,e.lineWidth=Math.max(1,.75*r),e.beginPath();let f=i===`right`?u:i===`left`?u-c:u-c/2,p=i===`right`?u+c:i===`left`?u:u+c/2;e.moveTo(f,d),e.lineTo(p,d),e.stroke()}};if(G(y,f,`left`),G(v,h,`right`),u.length<3)for(let e=0;e<u.length;e++)G(u[e],e,`both`);if(!t.catAxisHidden){let n=Math.max(1,Math.ceil(l/8)),i=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#555`;e.fillStyle=i,e.textAlign=`center`,e.textBaseline=`top`,e.font=`${k}px ${Z(t,t.catAxisFontFace,`minor`)}`;let a=z/l*n-4,o=Rn(t),s=zn(t);for(let u=0;u<l;u+=n){let n=W(u);hn(e,t.catAxisMajorTickMark,`cat`,R+B,n,void 0,void 0,!1,t.catAxisLineHidden,`major`,r),o&&(e.fillStyle=i,Bn(e,Qe(e,Ke((c[u]??``).toString(),t.catAxisFormatCode,t.date1904),s===0?a:B*.4),n,R+B+5,s))}}mn(e,t,w,i,a,o,s,L,R,z,B,C+2,r),$t(e,t,i,a,o,s,L,R,z,B,E,D,ee,M)}function $n(e,t,n,r){let{x:i,y:a,w:o,h:s}=n,c=qn(t),l=c.length;if(l===0)return;let u=t.series.map((e,t)=>({series:e,chartIndex:t})).filter(({series:e})=>e.seriesType==null||e.seriesType===`area`),d=t.series.map((e,t)=>({series:e,chartIndex:t})).filter(({series:e})=>e.seriesType===`line`);if(u.length===0&&d.length===0)return;let f=t.chartType===`stackedArea`||t.chartType===`stackedAreaPct`,p=t.chartType===`stackedAreaPct`,m=p?c.map((e,t)=>{let n=0;for(let{series:e}of u)n+=Math.abs(e.values[t]??0);return n||1}):null,h=(e,t)=>{let n=u[e].series.values[t]??0;return p&&m?n/m[t]*100:n},g=!f&&t.secondaryValAxis&&t.series.some(e=>e.useSecondaryAxis===!0)?t.secondaryValAxis:null,_=e=>g!=null&&e.useSecondaryAxis===!0,v=le(t,s,r),y=v.fontPx,b=v.topPad,x=v.bandH,S=Fn(t.catAxisFontSizeHpt,s,r),C=Fn(t.valAxisFontSizeHpt,s,r),w=dn(e,t,o,s,.22,r),{legRightW:T,legLeftW:E,legTopH:D,legBottomH:O}=ae(w),k=ce(t,o,s,r),A=k.catFontPx,j=k.valFontPx,ee=k.catBandH,M=k.valBandW,N=x+D+C/2+2,P=ue(S)+ee+O,te=s-N-P,F=Vn(g,t.series,te/r),I=Math.max(8,Math.min(11,s/20)),L=U(g?.fontSizeHpt,r)??I,R=0;if(g&&F&&!g.hidden){let n=e.font;e.font=`${L}px ${Z(t,g.fontFace,`minor`)}`;let r=0;for(let n of F.majorLines)r=Math.max(r,e.measureText(Ge(n,g.formatCode??null,t.date1904)).width);R=r+18,e.font=n}let z=g&&g.title?oe(g.titleFontSizeHpt,r)+8:0,B=(()=>{let e=1/0,t=-1/0;for(let n=0;n<l;n++){if(f){let r=0,i=0;for(let e=0;e<u.length;e++){let t=h(e,n);t>=0?r+=t:i+=t}e=Math.min(e,i),t=Math.max(t,r)}else for(let{series:r}of u){if(_(r))continue;let i=r.values[n];i!=null&&(e=Math.min(e,i),t=Math.max(t,i))}for(let{series:r}of d){if(_(r))continue;let i=r.values[n];i!=null&&(e=Math.min(e,i),t=Math.max(t,i))}}return!isFinite(e)||!isFinite(t)?{min:0,max:1}:p?{min:e<0?-100:0,max:t>0?100:0}:{min:e,max:t}})(),V=An(t,B.min,B.max,te/r,p),ne=t.valAxisFontSizeHpt==null?Math.max(8,Math.min(11,te/20)):C,H=0;if(!t.valAxisHidden&&t.plotAreaManualLayout!=null&&t.plotAreaManualLayout.layoutTarget!==`inner`){let n=e.font;e.font=`${ne}px ${Z(t,t.valAxisFontFace,`minor`)}`;for(let n of V.majorLines)H=Math.max(H,e.measureText(kn(t,n,p)).width);e.font=n}let re=me({valAxisHidden:t.valAxisHidden,catAxisHidden:t.catAxisHidden,valLabelWidth:H,valLabelFontPx:ne,catLabelFontPx:S,valLabelGapPx:t.valAxisFontSizeHpt==null?6:fe(ne),catLabelGapPx:t.catAxisFontSizeHpt==null?3:de(S),outerTextMarginPx:pe*r,valTitleBandW:M,catTitleBandH:ee,secondaryBandW:R+z}),ie={t:N,r:T+o*.05+R+z,b:P,l:o*.12+M+E};Kn(e,t,i,a,o,s,a+b,y);let{plotRect:{px0:W,py0:G,pw:K,ph:q}}=he(t,i,a,o,s,r,{titleBand:v,legendSideReserveFrac:.22,legendReserve:w,pad:ie,honorPlotAreaManualLayout:!0,manualOuterInsets:re});if(K<=0||q<=0)return;t.plotAreaBg&&(e.fillStyle=`#${t.plotAreaBg}`,e.fillRect(W,G,K,q));let se=An(t,B.min,B.max,q/r,p),J=Ie(t),ge=En(t),_e=J?e=>W+((ge?l-1-e:e)+.5)/l*K:e=>{let t=ge?l-1-e:e;return W+(l===1?K/2:t/(l-1)*K)},ve=e=>G+q-se.frac(e)*q,ye=F?F.makeToY(G,q):ve,be=e=>_(e)?ye:ve,{color:xe,width:Se}=Pe(t.catAxisLineColor,t.catAxisLineWidthEmu,r),{color:Ce,width:we}=Pe(t.valAxisLineColor,t.valAxisLineWidthEmu,r);if(!t.valAxisHidden){let n=_n(t,r),i=vn(t,r);if(t.valAxisMinorGridlines)for(let t of se.minorLines)gn(e,W,K,ve(t),!1,i);if(Dn(t))for(let t of se.majorLines)gn(e,W,K,ve(t),t===0,n)}if(g&&F&&Hn(e,g,F,ye,W,K,r),!t.catAxisHidden&&xn(t)){let n=Sn(t,r);e.strokeStyle=n.color,e.lineWidth=n.width;let i=n.dash.length>0&&e.getLineDash?e.getLineDash():[];n.dash.length>0&&e.setLineDash(n.dash);for(let n of wn(t,l)){let t=W+n*K;e.beginPath(),e.moveTo(t,G),e.lineTo(t,G+q),e.stroke()}n.dash.length>0&&e.setLineDash(i)}let Te=f?Array(l).fill(0):null,Ee=f?u.map((e,t)=>t):u.map((e,t)=>u.length-1-t);for(let t of Ee){let{series:n,chartIndex:i}=u[t],a=Ut(i,n),o=G+q,s=be(n),c=n.smooth===!0;if(e.beginPath(),f&&Te){let n=[];for(let e=0;e<l;e++)n.push({x:_e(e),y:ve(h(t,e)+Te[e])});e.moveTo(n[0].x,n[0].y),Er(e,n,c);for(let t=l-1;t>=0;t--)e.lineTo(_e(t),ve(Te[t]));for(let e=0;e<l;e++)Te[e]+=h(t,e)}else{let t=[];for(let e=0;e<l;e++)t.push({x:_e(e),y:s(n.values[e]??0)});e.moveTo(_e(0),o),e.lineTo(t[0].x,t[0].y),Er(e,t,c),e.lineTo(_e(l-1),o)}e.closePath(),e.fillStyle=a,e.fill(),n.lineHidden!==!0&&(e.strokeStyle=n.lineColor?`#${n.lineColor}`:a,e.lineWidth=n.lineWidthEmu?Ne(n.lineWidthEmu,r):1.5,e.setLineDash([]),e.stroke())}{let n=Math.max(2,2.5*r),d=(e,t)=>{if(f){let n=0;for(let r=0;r<=e;r++)n+=h(r,t);return n}return u[e].series.values[t]??0};for(let f=0;f<u.length;f++){let{series:h,chartIndex:g}=u[f],_=Wt(h.dataPointOverrides),v=Ut(g,h),y=be(h),b=e=>d(f,e);for(let t of h.errBars??[])kr(e,h,t,l,_e,y,b,v);if(h.showMarker===!0||Or(h))for(let t=0;t<l;t++){if(h.values[t]==null)continue;let i=_.get(t),a=i?.markerSymbol??h.markerSymbol??`circle`;if(a===`none`)continue;let o=_e(t),s=y(b(t));if(Or(h)){let t=i?.markerSize??h.markerSize??5,n=i?.markerFill??i?.color??h.markerFill??v,c=i?.markerLine??h.markerLine??null,l=i?.markerLineWidthEmu??h.markerLineWidthEmu;yr(e,o,s,a,t,n,c,r,l==null?void 0:Ne(l,r))}else e.fillStyle=v,e.beginPath(),e.arc(o,s,n,0,Math.PI*2),e.fill()}Ar(e,h,c,l,_e,y,b,q,r,t.date1904??!1,!0,Z(t,t.dataLabelFontFace,`minor`),t.dataLabelPosition??`ctr`,{x:W,y:G,w:K,h:q},{x:i,y:a,w:o,h:s},p&&m?e=>(h.values[e]??0)/m[e]:void 0,void 0,e=>Z(t,e,`minor`))}}for(let{series:u,chartIndex:f}of d){let d=Wt(u.dataPointOverrides),p=Ut(f,u),m=u.lineColor?`#${u.lineColor}`:p,h=be(u);if(u.lineHidden!==!0){e.strokeStyle=m,e.lineWidth=u.lineWidthEmu?Ne(u.lineWidthEmu,r):Math.max(1,2.25*r),e.setLineDash([]),e.beginPath();let n=[],i=()=>{n.length!==0&&(e.moveTo(n[0].x,n[0].y),Er(e,n,u.smooth===!0),n=[])};for(let e=0;e<l;e++){let r=u.values[e];r==null&&((t.dispBlanksAs??`gap`)===`gap`&&i(),(t.dispBlanksAs??`gap`)!==`zero`)||n.push({x:_e(e),y:h(r??0)})}i(),e.stroke()}let g=e=>u.values[e]??0;for(let t of u.errBars??[])kr(e,u,t,l,_e,h,g,m);if(u.showMarker===!0||Or(u))for(let t=0;t<l;t++){let n=u.values[t];if(n==null)continue;let i=d.get(t),a=i?.markerSymbol??u.markerSymbol??`circle`;a!==`none`&&yr(e,_e(t),h(n),a,i?.markerSize??u.markerSize??5,i?.markerFill??i?.color??u.markerFill??m,i?.markerLine??u.markerLine??null,r,(i?.markerLineWidthEmu??u.markerLineWidthEmu)==null?void 0:Ne(i?.markerLineWidthEmu??u.markerLineWidthEmu,r))}Ar(e,u,c,l,_e,h,g,q,r,t.date1904??!1,!1,Z(t,t.dataLabelFontFace,`minor`),t.dataLabelPosition??`r`,{x:W,y:G,w:K,h:q},{x:i,y:a,w:o,h:s},void 0,void 0,e=>Z(t,e,`minor`)),Pn(e,u,m,_e,h,r,void 0,{chart:t,chartRect:n,plotRect:{x:W,y:G,w:K,h:q}})}if(!t.valAxisHidden){let n=t.valAxisFontSizeHpt==null?Math.max(8,Math.min(11,q/20)):C;e.font=`${n}px ${Z(t,t.valAxisFontFace,`minor`)}`,e.textBaseline=`middle`;for(let i of se.majorLines){let a=ve(i);hn(e,t.valAxisMajorTickMark,`val`,W,a,Ce,we,!1,t.valAxisLineHidden,`major`,r),e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`,e.textAlign=`right`;let o=t.valAxisFontSizeHpt==null?6:fe(n);e.fillText(kn(t,i,p),W-o,a)}if(t.valAxisMinorTickMark&&t.valAxisMinorTickMark!==`none`)for(let n of se.minorTicks)hn(e,t.valAxisMinorTickMark,`val`,W,ve(n),Ce,we,!1,t.valAxisLineHidden,`minor`,r)}if(!t.catAxisHidden&&!t.catAxisLineHidden&&(e.strokeStyle=xe,e.lineWidth=Se,e.beginPath(),e.moveTo(W,G+q),e.lineTo(W+K,G+q),e.stroke()),!t.valAxisHidden&&!t.valAxisLineHidden&&t.valAxisLineColor!=null&&(e.strokeStyle=Ce,e.lineWidth=we,e.beginPath(),e.moveTo(W,G),e.lineTo(W,G+q),e.stroke()),!t.catAxisHidden&&t.catAxisMajorTickMark&&t.catAxisMajorTickMark!==`none`){let n=Math.max(1,Math.floor(t.catAxisTickMarkSkip??1));if(J)for(let i=0;i<=l;i+=n)hn(e,t.catAxisMajorTickMark,`cat`,G+q,W+i/l*K,xe,Se,!1,t.catAxisLineHidden,`major`,r);else for(let i=0;i<l;i+=n)hn(e,t.catAxisMajorTickMark,`cat`,G+q,_e(i),xe,Se,!1,t.catAxisLineHidden,`major`,r)}if(!t.catAxisHidden){let n=t.catAxisFontSizeHpt==null?Math.max(8,Math.min(11,K/l*.8)):S;e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#555`,e.textAlign=`center`,e.textBaseline=`top`,e.font=`${n}px ${Z(t,t.catAxisFontFace,`minor`)}`;let r=c.map(e=>Ke((e??``).toString(),t.catAxisFormatCode,t.date1904)),i=Math.max(1,Math.floor(t.catAxisTickLabelSkip??1));for(let a=0;a<l;a+=i){let i=r[a]??``;if(!i)continue;let o=t.catAxisFontSizeHpt==null?3:de(n);e.fillText(i,_e(a),G+q+o)}}if(g&&F){let i=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`;Un(e,t,g,F,ye,n,W,G,K,q,r,L,R,i,t.date1904)}mn(e,t,w,i,a,o,s,W,G,K,q,x+2,r),$t(e,t,i,a,o,s,W,G,K,q,E,O,A,j)}const er=.88;function tr(e,t){let n=e.ofPie,r=t.map((e,t)=>({value:e,sourceIndex:t})).filter(e=>Number.isFinite(e.value)&&e.value>0),i=new Set;if(r.length<2)return i;let a=n?.splitType??`auto`,o=n?.splitPos;if(a===`cust`)for(let e of n?.customSplitIndices??[])r.some(t=>t.sourceIndex===e)&&i.add(e);else if(a===`val`&&o!=null&&Number.isFinite(o))for(let e of r)e.value<=o&&i.add(e.sourceIndex);else if(a===`percent`&&o!=null&&Number.isFinite(o)){let e=r.reduce((e,t)=>e+t.value,0);for(let t of r)e>0&&t.value/e*100<=o&&i.add(t.sourceIndex)}else{let e=a===`pos`&&o!=null&&Number.isFinite(o)?Math.max(0,Math.floor(o)):3;for(let t of r.slice(-e))i.add(t.sourceIndex)}return i.size>=r.length&&i.delete(r[0].sourceIndex),i}function nr(e,t,n,r){let i=t.series[0];if(!i)return;let a=i.values.map(e=>e==null?0:Math.abs(e)),o=tr(t,a);if(o.size===0){rr(e,{...t,chartType:`pie`},n,!1,r);return}let s=[],c=[];for(let e=0;e<a.length;e++){let t=a[e];!(t>0)||!Number.isFinite(t)||(o.has(e)?c:s).push({sourceIndex:e,value:t})}if(s.length===0||c.length===0)return;let l={...t,chartType:`pie`},u=dn(e,l,n.w,n.h,.28,r),d=he(t,n.x,n.y,n.w,n.h,r,{titleTopPadFrac:.035,titleBottomPadFrac:.035,legendSideReserveFrac:.28,legendReserve:u,radialGapFrac:.02,honorPlotAreaManualLayout:!0});Kn(e,t,n.x,n.y,n.w,n.h,n.y+d.title.topPad,d.title.fontPx);let{px0:f,py0:p,pw:m,ph:h}=d.plotRect;if(!(m>0)||!(h>0))return;let g=t.ofPie,_=Math.max(.05,Math.min(2,(g?.secondPieSizePercent??75)/100)),v=Math.max(0,g?.gapWidthPercent??150)/100,y=Math.min(h*.44,m*.9/(2+2*_+v)),b=y*_;if(!(y>0)||!(b>0))return;let x=f+(m-(2*y+v*y+2*b))/2,S=x+y,C=x+2*y+v*y+b,w=p+h/2,T=c.reduce((e,t)=>e+t.value,0),E=[...s,{sourceIndex:c[0].sourceIndex,value:T}],D=(n,r,a)=>{let o=n.reduce((e,t)=>e+t.value,0),s=-Math.PI/2,c=s,l=s;for(let u=0;u<n.length;u++){let d=n[u],f=o>0?d.value/o*Math.PI*2:0;e.beginPath(),e.moveTo(r,w),e.arc(r,w,a,s,s+f),e.closePath(),e.fillStyle=Gt(d.sourceIndex,i,t.varyColors!==!1),e.fill(),e.strokeStyle=`#fff`,e.lineWidth=1,e.stroke(),u===n.length-1&&(c=s,l=s+f),s+=f}return{aggregateStart:c,aggregateEnd:l}},O=D(E,S,y),k=w-b,A=w+b;if((g?.type??`pie`)===`bar`){let n=w-b,r=b;for(let a of c){let o=T>0?2*b*a.value/T:0;e.fillStyle=Gt(a.sourceIndex,i,t.varyColors!==!1),e.fillRect(C-r/2,n,r,o),e.strokeStyle=`#fff`,e.lineWidth=1,e.strokeRect(C-r/2,n,r,o),n+=o}k=w-b,A=w+b}else D(c,C,b);if(g?.seriesLines??!0){e.strokeStyle=`#808080`,e.lineWidth=Math.max(1,.75*r),e.setLineDash([]);let t={x:S+Math.cos(O.aggregateStart)*y,y:w+Math.sin(O.aggregateStart)*y},n={x:S+Math.cos(O.aggregateEnd)*y,y:w+Math.sin(O.aggregateEnd)*y};e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(C-b,k),e.stroke(),e.beginPath(),e.moveTo(n.x,n.y),e.lineTo(C-b,A),e.stroke()}u&&mn(e,l,u,n.x,n.y,n.w,n.h,f,p,m,h,d.title.bandH+2,r)}function rr(e,t,n,r,i){let{x:a,y:o,w:s,h:c}=n,l=t.series[0];if(!l)return;let u=l.categories&&l.categories.length>0?l.categories:t.categories,d=l.values.map(e=>Math.abs(e??0)),f=d.reduce((e,t)=>e+t,0);if(f===0)return;let p={...t,series:[{...l,categories:u}]},m=dn(e,p,s,c,.28,i),h=he(t,a,o,s,c,i,{titleTopPadFrac:.035,titleBottomPadFrac:.035,legendSideReserveFrac:.28,legendReserve:m,radialGapFrac:.02,honorPlotAreaManualLayout:!0}),g=h.title.fontPx,_=h.title.bandH;Kn(e,t,a,o,s,c,o+h.title.topPad,g);let{px0:v,py0:y,pw:b,ph:x}=h.plotRect,S=h.center.cx,C=h.center.cy,w=Math.min(b,x)*.42,T=-Math.PI/2+(t.firstSliceAngle??0)*Math.PI/180,E=r?Math.max(1,Math.min(90,t.holeSize??50)):0,D=r?t.series:[l],O=new Map(D.map(e=>[e,Wt(e.dataPointOverrides)])),k=(w-E/100*w)/D.length,A=(e,t)=>{let n=O.get(e)?.get(t)?.explosion??0;return n>0?n/100*w:0},j=l.seriesDataLabels??{showVal:!1,showCatName:!1,showSerName:!1,showPercent:!1},ee=l.seriesDataLabels!=null||(l.dataLabelOverrides?.length??0)>0,M=t.showDataLabels&&!ee,N=Z(t,t.dataLabelFontFace,`minor`);for(let n=0;n<D.length;n++){let a=D[n],o=a.values.map(e=>Math.abs(e??0)),s=o.reduce((e,t)=>e+t,0);if(s===0)continue;let c=w-n*k,l=c-k,u=T;for(let d=0;d<o.length;d++){let f=o[d]/s*Math.PI*2,p=Gt(d,a,t.varyColors!==!1),m=u+f/2,h=A(a,d),g=h>0?Math.cos(m)*h:0,_=h>0?Math.sin(m)*h:0;e.beginPath(),l>.01?(e.arc(S+g,C+_,c,u,u+f),e.arc(S+g,C+_,l,u+f,u,!0)):(e.moveTo(S+g,C+_),e.arc(S+g,C+_,c,u,u+f)),e.closePath(),e.fillStyle=p,e.fill();let v=O.get(a)?.get(d),y=v?.lineHidden??a.lineHidden,b=v?.lineColor??a.lineColor;if(y!==!0&&b){let t=v?.lineWidthEmu??a.lineWidthEmu,n=t==null?Math.max(.5,i*.75):Ne(t,i);e.save(),e.strokeStyle=`#${b}`,e.lineWidth=n,e.setLineDash(Dr(v?.lineDash??a.chartexStyle?.lineDash??void 0)),e.lineCap=a.chartexStyle?.lineCap===`rnd`?`round`:a.chartexStyle?.lineCap===`sq`?`square`:`butt`,e.lineJoin=a.chartexStyle?.lineJoin===`round`||a.chartexStyle?.lineJoin===`bevel`?a.chartexStyle.lineJoin:`miter`,e.stroke(),e.restore()}if(M&&n===0&&f>.15){let t=w*(r?.75:.6),n=S+g+Math.cos(m)*t,i=C+_+Math.sin(m)*t,a=Math.round(o[d]/s*100);e.font=`bold ${Math.max(8,w*.1)}px ${N}`,e.fillStyle=`#fff`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(`${a}%`,n,i)}u+=f}}ee&&ir(e,t,j,l,u,d,f,S,C,w,r?w-k:0,T,N,i,v,y,b,x,a,o,s,c),m&&mn(e,p,m,a,o,s,c,v,y,b,x,_+2,i)}function ir(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x){let S=Wt(r.dataLabelOverrides??[]),C=new Set;for(let e=0;e<a.length;e++)(S.get(e)?.labelBox||n.labelBox)&&C.add(e);C.size>0&&lr(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,g,h,_,v,y,b,x,C,S);let w=[],T=d;for(let d=0;d<a.length;d++){let E=a[d]/o*Math.PI*2,D=T+E/2;if(T+=E,C.has(d))continue;let O=S.get(d);if(O?.deleted)continue;let k=O?.showCatName??n.showCatName,A=O?.showSerName??n.showSerName,j=O?.showVal??n.showVal,ee=O?.showPercent??n.showPercent,M=mt({customText:O?.text,showCategory:k,showSeries:A,showValue:j,showPercent:ee,category:(i[d]??``).toString(),seriesName:r.name,sourceValue:a[d],percentRatio:a[d]/o,formatCode:O?.formatCode??n.formatCode??r.valFormatCode??null,percentFormatCode:O?.formatCode??n.formatCode??`0%`,date1904:t.date1904??!1,separator:O?.separator??n.separator});if(!M)continue;let N=(O?.position??n.position??`bestFit`)===`outEnd`,P=U(O?.fontSizeHpt??n.fontSizeHpt,p)??Math.max(8,l*.1),te=O?.fontBold??n.fontBold,F=O?.fontColor??n.fontColor,I=Cr(t,O,p,f,te??!1),L=u>.01?(u+l)/2:l*er;if(O?.manualLayout){e.font=`${te?`bold `:``}${P}px ${f}`,wr(e,M,{kind:`point`,x:s+Math.cos(D)*L,y:c+Math.sin(D)*L,position:`ctr`},{x:m,y:h,w:g,h:_},P,F?`#${F}`:`#fff`,O.manualLayout,{x:v,y,w:b,h:x},I);continue}if(N){e.font=`${te?`bold `:``}${P}px ${f}`;let t=I?ft(e,I,P,F?`#${F}`:`#333`):null,n=P*1.15,r=t?[]:St(M,Math.max(0,b-P),Math.max(0,x-P),n,t=>e.measureText(t).width);if(I&&!t||!t&&r.length===0)continue;let i=t?.width??r.reduce((t,n)=>Math.max(t,e.measureText(n).width),0),a=t?.height??P+Math.max(0,r.length-1)*n;w.push(sr(r,D,s,c,l,Math.min(i,Math.max(0,b-P)),Math.min(a,Math.max(0,x-P)),n,P,te??!1,F?`#${F}`:`#333`,t??void 0));continue}let R=L,z=s+Math.cos(D)*R,B=c+Math.sin(D)*R;e.font=`${te?`bold `:``}${P}px ${f}`;let V=2*R*Math.sin(Math.min(Math.PI,Math.abs(E))/2)-P,ne=u>.01?l-u-P:l-P;if(!(V>0)||!(ne>0))continue;let H=Jn({x:z-V/2,y:B-ne/2,w:V,h:ne},{x:m,y:h,w:g,h:_});H&&wr(e,M,{kind:`point`,x:z,y:B,position:`ctr`},H,P,F?`#${F}`:`#fff`,void 0,{x:v,y,w:b,h:x},I)}cr(e,n,w,s,c,l,f,p,v,y,b,x)}function ar(e,t,n,r,i,a){let o=Math.max(Math.abs(n-e)-i,0),s=Math.max(Math.abs(r-t)-a,0);return Math.hypot(o,s)}function or(e,t,n,r,i){let a=Math.cos(e),o=Math.sin(e),s=t+i,c=0,l=s+Math.hypot(n,r);for(let e=0;e<32;e++){let e=(c+l)/2;ar(0,0,a*e,o*e,n,r)>=s?l=e:c=e}return l}function sr(e,t,n,r,i,a,o,s,c,l,u,d){let f=c*.5,p=or(t,i,a/2,o/2,f),m=n+Math.cos(t)*p,h=r+Math.sin(t)*p;return{lines:e,rich:d,rimX:n+Math.cos(t)*i,rimY:r+Math.sin(t)*i,boxW:a,boxH:o,lineHeight:s,fontPx:c,bold:l,fontColor:u,cxBox:m,cyBox:h,initialCx:m,initialCy:h,leftSide:Math.cos(t)<0}}function cr(e,t,n,r,i,a,o,s,c,l,u,d){if(n.length===0)return;let f=l,p=l+d,m=e=>{e.sort((e,t)=>e.cyBox-t.cyBox);for(let t=1;t<e.length;t++){let n=e[t-1],r=e[t],i=n.cyBox+(n.boxH+r.boxH)/2;r.cyBox<i&&(r.cyBox=i)}if(e.length===0)return;let t=e[e.length-1].cyBox+e[e.length-1].boxH/2-p;if(t>0)for(let n of e)n.cyBox-=t;let n=f-(e[0].cyBox-e[0].boxH/2);if(n>0)for(let t of e)t.cyBox+=n};m(n.filter(e=>!e.leftSide)),m(n.filter(e=>e.leftSide));for(let e of n){let t=a+e.fontPx*.5,n=e.boxW/2,o=e.boxH/2,s=Math.max(Math.abs(e.cyBox-i)-o,0);if(s<t){let i=Math.sqrt(Math.max(0,t*t-s*s));e.cxBox=e.leftSide?Math.min(e.cxBox,r-i-n):Math.max(e.cxBox,r+i+n)}let l=Tr(e.cxBox,c+n,c+u-n);ar(r,i,l,e.cyBox,n,o)>=t&&(e.cxBox=l)}e.save(),e.beginPath(),e.rect(c,l,u,d),e.clip();let h=t.leaderLineColor?`#${t.leaderLineColor}`:`#a6a6a6`,g=t.leaderLineWidthEmu?Math.max(.5,t.leaderLineWidthEmu/X*s):1;for(let r of n){let n=Math.abs(r.cxBox-r.initialCx)>.5||Math.abs(r.cyBox-r.initialCy)>.5;if(!t.showLeaderLines||!n)continue;let i=Tr(r.rimX,r.cxBox-r.boxW/2,r.cxBox+r.boxW/2),a=Tr(r.rimY,r.cyBox-r.boxH/2,r.cyBox+r.boxH/2);e.beginPath(),e.moveTo(r.rimX,r.rimY),e.lineTo(i,a),e.strokeStyle=h,e.lineWidth=g,e.stroke()}for(let t of n){if(t.rich){pt(e,t.rich,t.cxBox,t.cyBox);continue}e.font=`${t.bold?`bold `:``}${t.fontPx}px ${o}`,e.fillStyle=t.fontColor,e.textAlign=`center`,e.textBaseline=`middle`;let n=t.cyBox-(t.lines.length-1)*t.lineHeight/2;for(let r=0;r<t.lines.length;r++)e.fillText(t.lines[r],t.cxBox,n+r*t.lineHeight)}e.restore()}function lr(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C){let w=e=>C.get(e),T=U(n.fontSizeHpt,p)??Math.max(9,l*.09),E=n.labelBox,D=[],O=d;for(let d=0;d<a.length;d++){let C=a[d]/o*Math.PI*2,k=O+C/2;if(O+=C,C<=0||!S.has(d))continue;let A=w(d);if(A?.deleted)continue;let j=A?.showCatName??n.showCatName,ee=A?.showSerName??n.showSerName,M=A?.showVal??n.showVal,N=A?.showPercent??n.showPercent,P=U(A?.fontSizeHpt,p)??T,te=A?.fontBold??n.fontBold??!1,F=A?.fontColor?`#${A.fontColor}`:n.fontColor?`#${n.fontColor}`:`#000`,I=A?.labelBox??E,L=I?.fill?`#${I.fill}`:null,R=I?.borderColor?`#${I.borderColor}`:null,z=I?.borderWidthEmu?Math.max(.75,I.borderWidthEmu/X*p):1,B=A?.position??n.position??`bestFit`,V=mt({customText:A?.text,showCategory:j,showSeries:ee,showValue:M,showPercent:N,category:(i[d]??``).toString(),seriesName:r.name,sourceValue:a[d],percentRatio:a[d]/o,formatCode:A?.formatCode??n.formatCode??r.valFormatCode??null,percentFormatCode:A?.formatCode??n.formatCode??`0%`,date1904:t.date1904??!1,separator:A?.separator??n.separator,defaultSeparator:`\n`});if(!V)continue;let ne=Cr(t,A,p,f,te),H=Math.max(4,P*.45),re=Math.max(2,P*.28),ie=P*.22,W=P+ie;e.font=`${te?`bold `:``}${P}px ${f}`;let G=ne?ft(e,ne,P,F):null;if(ne&&!G)continue;let K=G?[]:St(V,Math.max(0,h-H*2),Math.max(0,_-re*2),W,t=>e.measureText(t).width);if(!G&&K.length===0)continue;let ae=G?.width??0;if(!G)for(let t of K)ae=Math.max(ae,e.measureText(t).width);let oe=Math.min(ae+H*2,h),q=G?.height??K.length*W-ie;q=Math.min(q+re*2,_);let se=s+Math.cos(k)*l,ce=c+Math.sin(k)*l,le=Math.cos(k)<0,ue=Math.max(oe,q)*.55+l*.06,de=se+Math.cos(k)*ue,fe=ce+Math.sin(k)*ue,pe,me=!1;if(A?.manualLayout){let t=yt({kind:`point`,x:de,y:fe,position:`ctr`},{x:m,y:g,w:h,h:_},{w:oe,h:q},P,A.manualLayout,{x:v,y,w:b,h:x});if(!t||(oe=t.rect.w,q=t.rect.h,!G&&(K=St(V,Math.max(0,oe-H*2),Math.max(0,q-re*2),W,t=>e.measureText(t).width),K.length===0)))continue;de=t.rect.x+t.rect.w/2,fe=t.rect.y+t.rect.h/2,le=de<s,pe=t.clip}else if(B!==`bestFit`&&B!==`outEnd`){let t=u>.01?(u+l)/2:l*er,n=s+Math.cos(k)*t,r=c+Math.sin(k)*t,i=2*t*Math.sin(Math.min(Math.PI,Math.abs(C))/2)-P,a=u>.01?l-u-P:l-P,o=Jn({x:n-i/2,y:r-a/2,w:i,h:a},{x:m,y:g,w:h,h:_});if(!o)continue;if(G)oe=Math.min(oe,o.w),q=Math.min(q,o.h);else{if(K=St(V,Math.max(0,o.w-H*2),Math.max(0,o.h-re*2),W,t=>e.measureText(t).width),K.length===0)continue;ae=K.reduce((t,n)=>Math.max(t,e.measureText(n).width),0),oe=ae+H*2,q=K.length*W-ie+re*2}let d=yt({kind:`point`,x:n,y:r,position:B===`inBase`||B===`inEnd`?`ctr`:B},o,{w:oe,h:q},P);if(!d)continue;de=d.textAlign===`left`?d.x+oe/2:d.textAlign===`right`?d.x-oe/2:d.x,fe=d.textBaseline===`top`?d.y+q/2:d.textBaseline===`bottom`?d.y-q/2:d.y,le=de<s,pe=d.clip,me=!0}D.push({lines:K,rich:G??void 0,lineHeight:W,midAngle:k,rimX:se,rimY:ce,boxW:oe,boxH:q,cxBox:de,cyBox:fe,leftSide:le,fontColor:F,boxFill:L,boxBorder:R,boxBorderPx:z,fontPx:P,bold:te,inside:me,manualClip:pe})}let k=g+2,A=g+_-2,j=A-k,ee=e=>{if(e.length===0)return;e.sort((e,t)=>e.cyBox-t.cyBox);let t=0;for(let n of e)t+=n.boxH;if(t+=(e.length-1)*3,t>j){let t=e.reduce((e,t)=>e+t.boxH,0),n=e.length;if(n===1){e[0].cyBox=Math.min(Math.max(e[0].cyBox,k+e[0].boxH/2),A-e[0].boxH/2);return}let r=(j-t)/(n-1),i=k;for(let t of e)t.cyBox=i+t.boxH/2,i+=t.boxH+r;return}for(let t=1;t<e.length;t++){let n=e[t-1],r=e[t],i=(n.boxH+r.boxH)/2+3;r.cyBox-n.cyBox<i&&(r.cyBox=n.cyBox+i)}let n=e[e.length-1].cyBox+e[e.length-1].boxH/2-A;if(n>0)for(let t of e)t.cyBox-=n;let r=k-(e[0].cyBox-e[0].boxH/2);if(r>0)for(let t of e)t.cyBox+=r};ee(D.filter(e=>!e.manualClip&&!e.leftSide)),ee(D.filter(e=>!e.manualClip&&e.leftSide));for(let e of D)e.manualClip||(e.cyBox=Math.max(k+e.boxH/2,e.cyBox),e.cyBox=Math.min(A-e.boxH/2,e.cyBox));let M=m+2,N=m+h-2;for(let e of D){if(e.manualClip)continue;let t=e.boxW/2;e.cxBox-t<M&&(e.cxBox=M+t),e.cxBox+t>N&&(e.cxBox=N-t)}e.save(),e.beginPath(),e.rect(m,g,h,_),e.clip();let P=n.leaderLineColor?`#${n.leaderLineColor}`:`#a6a6a6`,te=n.leaderLineWidthEmu?Math.max(.5,n.leaderLineWidthEmu/X*p):1;for(let t of D){let r=t.cxBox+(t.leftSide?t.boxW/2:-t.boxW/2),i=t.cyBox,a=r-t.rimX,o=i-t.rimY,s=Math.hypot(a,o);!t.inside&&n.showLeaderLines&&s>t.fontPx*.9&&(e.beginPath(),e.moveTo(t.rimX,t.rimY),e.lineTo(r,i),e.strokeStyle=P,e.lineWidth=te,e.stroke())}for(let t of D){t.manualClip&&(e.save(),e.beginPath(),e.rect(t.manualClip.x,t.manualClip.y,t.manualClip.w,t.manualClip.h),e.clip());let n=t.cxBox-t.boxW/2,r=t.cyBox-t.boxH/2;if(t.boxFill&&(e.fillStyle=t.boxFill,e.fillRect(n,r,t.boxW,t.boxH)),t.boxBorder&&(e.strokeStyle=t.boxBorder,e.lineWidth=t.boxBorderPx,e.strokeRect(n,r,t.boxW,t.boxH)),t.rich){e.save(),e.beginPath(),e.rect(n,r,t.boxW,t.boxH),e.clip(),pt(e,t.rich,t.cxBox,t.cyBox),e.restore(),t.manualClip&&e.restore();continue}e.font=`${t.bold?`bold `:``}${t.fontPx}px ${f}`,e.fillStyle=t.fontColor,e.textAlign=`center`,e.textBaseline=`middle`;let i=t.lineHeight-t.fontPx,a=t.cyBox-(t.lines.length*t.lineHeight-i)/2+t.fontPx/2;for(let n=0;n<t.lines.length;n++)e.fillText(t.lines[n],t.cxBox,a+n*t.lineHeight);t.manualClip&&e.restore()}e.restore()}function ur(e,t,n,r){let{x:i,y:a,w:o,h:s}=n,c=qn(t),l=c.length;if(l<3)return;let u=dn(e,t,o,s,.22,r),d=he(t,i,a,o,s,r,{titleTopPadFrac:.035,titleBottomPadFrac:.035,legendSideReserveFrac:.22,legendReserve:u,radialGapFrac:.02}),f=d.title.fontPx;Kn(e,t,i,a,o,s,a+d.title.topPad,f);let{px0:p,py0:m,pw:h,ph:g}=d.plotRect,_=d.center.cx,v=d.center.cy,y=Math.min(h,g)*.38,b=1/0,x=-1/0;for(let e of t.series)for(let t of e.values)t!=null&&(b=Math.min(b,t),x=Math.max(x,t));isFinite(b)||(b=0,x=1),x===0&&(x=1);let S=t.valAxisMinorTickMark!=null&&t.valAxisMinorTickMark!==`none`,C=t.valAxisLogBase!=null&&Number.isFinite(t.valAxisLogBase)&&t.valAxisLogBase>=2,w=t.valAxisMajorUnit??(C?null:ye(t.valMin??b,t.valMax??x,y/r)),T=ke({dataMin:b,dataMax:x,explicitMin:t.valMin,explicitMax:t.valMax,axisLenPt:y/r,axisOrientation:`vertical`,majorUnit:w,minorUnit:t.valAxisMinorUnit,needMinor:t.valAxisMinorGridlines===!0||S,logBase:t.valAxisLogBase,reversed:Tn(t)}),E=e=>Tr(T.fraction(e),0,1),D=-Math.PI/2,O=e=>D+e/l*Math.PI*2,k=T.majorTicks.filter(e=>E(e)>0),A=t=>{let n=E(t)*y;e.beginPath();for(let t=0;t<l;t++){let r=O(t),i=_+Math.cos(r)*n,a=v+Math.sin(r)*n;t===0?e.moveTo(i,a):e.lineTo(i,a)}e.closePath(),e.stroke()};if(t.valAxisMinorGridlines){let n=vn(t,r);e.strokeStyle=n.color,e.lineWidth=n.width;let i=n.dash.length>0&&e.getLineDash?e.getLineDash():[];n.dash.length>0&&e.setLineDash(n.dash);for(let e of T.minorTicks)A(e);n.dash.length>0&&e.setLineDash(i)}if(!t.valAxisHidden&&Dn(t)){let n=_n(t,r);e.strokeStyle=n.color,e.lineWidth=n.width;let i=n.dash.length>0&&e.getLineDash?e.getLineDash():[];n.dash.length>0&&e.setLineDash(n.dash);for(let e of k)A(e);n.dash.length>0&&e.setLineDash(i)}e.strokeStyle=`#bbb`,e.lineWidth=.5;for(let t=0;t<l;t++){let n=O(t);e.beginPath(),e.moveTo(_,v),e.lineTo(_+Math.cos(n)*y,v+Math.sin(n)*y),e.stroke()}if(!t.valAxisHidden){let n=Fn(t.valAxisFontSizeHpt,s,r);e.font=`${t.valAxisFontItalic?`italic `:``}${t.valAxisFontBold?`bold `:``}${n}px ${Z(t,t.valAxisFontFace,`minor`)}`,e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`,e.textAlign=`right`,e.textBaseline=`middle`;for(let n of k){let i=v-E(n)*y,a=Pe(t.valAxisLineColor,t.valAxisLineWidthEmu,r);hn(e,t.valAxisMajorTickMark,`val`,_,i,a.color,a.width,!1,t.valAxisLineHidden,`major`,r),t.valAxisTickLabelPos!==`none`&&e.fillText(Ge(n,t.valAxisFormatCode,t.date1904),_-3,i)}if(S){let n=Pe(t.valAxisLineColor,t.valAxisLineWidthEmu,r);for(let i of T.minorTicks)hn(e,t.valAxisMinorTickMark,`val`,_,v-E(i)*y,n.color,n.width,!1,t.valAxisLineHidden,`minor`,r)}}let j=t.catAxisFontSizeHpt==null?Math.max(8,Math.min(11,y*.2)):Fn(t.catAxisFontSizeHpt,s,r);e.font=`${t.catAxisFontItalic?`italic `:``}${t.catAxisFontBold?`bold `:``}${j}px ${Z(t,t.catAxisFontFace,`minor`)}`,e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#444`,e.textBaseline=`middle`;let ee=_-h/2,M=_+h/2;if(!t.catAxisHidden&&Rn(t))for(let n=0;n<l;n++){let r=O(n),i=_+Math.cos(r)*(y+12),a=v+Math.sin(r)*(y+12),o=Math.cos(r)<-.1?`right`:Math.cos(r)>.1?`left`:`center`;e.textAlign=o;let s=o===`right`?i-ee:o===`left`?M-i:2*Math.min(M-i,i-ee),l=Ke((c[n]??``).toString(),t.catAxisFormatCode,t.date1904);e.fillText(Qe(e,l,s),i,a)}let N=t.radarStyle===`filled`,P=Math.max(2,y*.025);for(let n=0;n<t.series.length;n++){let i=t.series[n],a=Ut(n,i),o=[];for(let e=0;e<l;e++){let t=i.values[e];if(t==null){o.push(null);continue}let n=E(t),r=O(e);o.push([_+Math.cos(r)*y*n,v+Math.sin(r)*y*n])}e.beginPath();let s=!1;for(let t of o){if(t==null){s=!1;continue}s?e.lineTo(t[0],t[1]):(e.moveTo(t[0],t[1]),s=!0)}let c=o.every(e=>e!=null);if(N&&c?(e.closePath(),e.fillStyle=It(a,.25),e.fill()):c&&e.closePath(),i.lineHidden!==!0){let t=e.getLineDash?e.getLineDash():[],n=e.lineCap,o=e.lineJoin;e.strokeStyle=i.lineColor?`#${i.lineColor}`:a,e.lineWidth=i.lineWidthEmu==null?2:Ne(i.lineWidthEmu,r),e.setLineDash(Dr(i.chartexStyle?.lineDash??void 0)),e.lineCap=i.chartexStyle?.lineCap===`rnd`?`round`:i.chartexStyle?.lineCap===`sq`?`square`:`butt`,e.lineJoin=i.chartexStyle?.lineJoin===`round`||i.chartexStyle?.lineJoin===`bevel`?i.chartexStyle.lineJoin:`miter`,e.stroke(),e.setLineDash(t),e.lineCap=n,e.lineJoin=o}if(!N&&i.showMarker!==!1&&i.markerSymbol!==`none`){let t=Wt(i.dataPointOverrides);for(let n=0;n<o.length;n++){let s=o[n];if(s==null)continue;let c=t.get(n),l=c?.markerSymbol??i.markerSymbol??`circle`;if(l===`none`)continue;let u=c?.markerSize??i.markerSize??Math.max(4,P*2/r),d=c?.markerFill??i.markerFill??a,f=c?.markerLine??i.markerLine??null,p=c?.markerLineWidthEmu??i.markerLineWidthEmu;yr(e,s[0],s[1],l,u,d,f,r,p==null?1:Ne(p,r))}}}mn(e,t,u,i,a,o,s,p,m,h,g,d.title.bandH+2,r)}function dr(e,t,n){if(n)return t;let r=e[t];if(r==null)return null;let i=parseFloat(r);return Number.isNaN(i)?null:i}function fr(e,t){return e.bubbleSizeRepresents===`w`?t:Math.sqrt(t)}function pr(e,t){return t==null||!Number.isFinite(t)||t===0||t<0&&e.showNegativeBubbles!==!0?null:Math.abs(t)}function mr(e,t,n,r){return t?.markerFill??t?.color??e.dataPointColors?.[n]??e.markerFill??r}function hr(e,t,n){return{series:t,fallbackColor:Ut(n,t),cats:t.categories??e.categories,pointOverrides:new Map((t.dataPointOverrides??[]).map(e=>[e.idx,e]))}}function gr(e,t,n,r,i){let a=Tr(e.bubbleScale??100,0,300);if(a<=0)return 0;let o=0;for(let{series:r,cats:i,pointOverrides:a}of t)if(!(r.showMarker===!1||r.markerSymbol===`none`))for(let t=0;t<r.values.length;t++){if(r.values[t]==null||dr(i,t,n)==null||a.get(t)?.markerSymbol===`none`)continue;let s=pr(e,r.bubbleSizes?.[t]);s!=null&&(o=Math.max(o,fr(e,s)))}return o<=0?0:Math.min(r,i)*a/(300+a)/o}function _r(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){let h=p===`line`||p===`lineMarker`||p===`lineNoMarker`,g=p===`smooth`||p===`smoothMarker`||p===`smoothNoMarker`,_=p===`lineNoMarker`||p===`smoothNoMarker`,v=n.map(({series:e,index:n})=>hr(t,e,n)),y=f?gr(t,v,r,l,u):0;for(let{series:t,fallbackColor:n,cats:o}of v)for(let s of t.errBars??[])br(e,t,s,o,r,i,a,n);for(let{series:t,fallbackColor:n,cats:o}of v)if((h||g)&&t.lineHidden!==!0){let s=[];for(let e=0;e<t.values.length;e++){let n=t.values[e];if(n==null)continue;let c=dr(o,e,r);c!=null&&s.push({x:i(c),y:a(n)})}if(s.length>=2){if(e.save(),e.strokeStyle=t.color?`#${t.color}`:n,e.lineWidth=1.5,e.beginPath(),e.moveTo(s[0].x,s[0].y),g&&s.length>=3)for(let t=0;t<s.length-1;t++){let n=s[t-1]??s[t],r=s[t],i=s[t+1],a=s[t+2]??i;e.bezierCurveTo(r.x+(i.x-n.x)/6,r.y+(i.y-n.y)/6,i.x-(a.x-r.x)/6,i.y-(a.y-r.y)/6,i.x,i.y)}else for(let t=1;t<s.length;t++)e.lineTo(s[t].x,s[t].y);e.stroke(),e.restore()}}for(let{series:n,fallbackColor:o,cats:s,pointOverrides:c}of v)if(!(_||n.showMarker===!1||typeof n.markerSymbol==`string`&&n.markerSymbol===`none`))for(let l=0;l<n.values.length;l++){let u=n.values[l];if(u==null)continue;let p=dr(s,l,r);if(p==null)continue;let m=c.get(l),h=m?.markerSymbol??n.markerSymbol??`circle`;if(h===`none`)continue;let g=m?.markerSize??n.markerSize??5;if(f){if(y<=0)continue;let e=pr(t,n.bubbleSizes?.[l]);if(e==null)continue;g=fr(t,e)*y/d}let _=mr(n,m,l,o),v=m?.markerLine??n.markerLine??(f?n.lineColor:null)??null,b=m?.markerLineWidthEmu??n.markerLineWidthEmu,x=m?.lineWidthEmu??n.lineWidthEmu,S=f?x:b,C=S==null?void 0:Ne(S,d);yr(e,i(p),a(u),h,g,_,v,d,C)}for(let{series:n,cats:o}of v)xr(e,n,o,r,i,a,u,d,t.date1904,Z(t,t.dataLabelFontFace,`minor`),t.dataLabelPosition??`r`,{x:s,y:c,w:l,h:u},m,e=>Z(t,e,`minor`));for(let{series:n,fallbackColor:f,cats:p}of v)Pn(e,n,f,i,a,d,n.values.map((e,t)=>dr(p,t,r)),{chart:t,chartRect:o,plotRect:{x:s,y:c,w:l,h:u}})}function vr(e,t,n,r){let{x:i,y:a,w:o,h:s}=n,c=le(t,s,r),l=c.fontPx,u=c.topPad,d=Fn(t.catAxisFontSizeHpt,s,r),f=Fn(t.valAxisFontSizeHpt,s,r),p=dn(e,t,o,s,.22,r),{legRightW:m,legLeftW:h,legTopH:g,legBottomH:_}=ae(p),v=ce(t,o,s,r),y=v.catFontPx,b=v.valFontPx,x=v.catBandH,S=v.valBandW;Kn(e,t,i,a,o,s,a+u,l);let{plotRect:{px0:C,py0:w,pw:T,ph:E}}=he(t,i,a,o,s,r,{titleBand:c,legendSideReserveFrac:.22,legendReserve:p,pad:{t:c.bandH+g+f/2+2,r:m+o*.05,b:(t.catAxisHidden?s*.04:ue(d))+x+_,l:(t.valAxisHidden?o*.04:o*.12)+S+h},honorPlotAreaManualLayout:!0});if(T<=0||E<=0)return;t.plotAreaBg&&(e.fillStyle=`#${t.plotAreaBg}`,e.fillRect(C,w,T,E));let D=[],O=[];for(let e of t.series){let n=e.categories??t.categories;for(let e of n){let t=parseFloat(e);isNaN(t)||D.push(t)}}let k=D.length===0;if(k){let e=0;for(let n of t.series)e=Math.max(e,n.values.length);for(let t=0;t<e;t++)D.push(t);for(let e of t.series)for(let t of e.values)t!=null&&O.push(t)}else{D.length=0;for(let e of t.series){let n=e.categories??t.categories;for(let t=0;t<e.values.length;t++){let r=e.values[t];if(r==null)continue;let i=dr(n,t,!1);i!=null&&(D.push(i),O.push(r))}}}let{min:A,max:j}=ge(D),{min:ee,max:M}=ge(O);t.valMin!=null&&(ee=t.valMin),t.valMax!=null&&(M=t.valMax);let N=t.valAxisMinorGridlines===!0||t.valAxisMinorTickMark!=null&&t.valAxisMinorTickMark!==`none`,P=ke({dataMin:ee,dataMax:M,explicitMin:t.valMin,explicitMax:t.valMax,axisLenPt:E/r,axisOrientation:`vertical`,majorUnit:t.valAxisMajorUnit,minorUnit:t.valAxisMinorUnit,needMinor:N,logBase:t.valAxisLogBase,reversed:Tn(t)});ee=P.min,M=P.max;let te=t.catAxisMinorGridlines===!0||t.catAxisMinorTickMark!=null&&t.catAxisMinorTickMark!==`none`,F=ke({dataMin:A,dataMax:j,explicitMin:t.catAxisMin,explicitMax:t.catAxisMax,axisLenPt:T/r,axisOrientation:`horizontal`,majorUnit:t.catAxisMajorUnit,minorUnit:t.catAxisMinorUnit,needMinor:te,logBase:t.catAxisLogBase,reversed:En(t)});A=F.min,j=F.max;let I=e=>C+F.fraction(e)*T,L=e=>w+E-P.fraction(e)*E,R=F.majorUnit,z=P.majorTicks,B=P.minorTicks,V=F.majorTicks,ne=F.minorTicks,H=w+E;if(t.catAxisCrossesAt!=null)H=Tr(L(t.catAxisCrossesAt),w,w+E);else{let e=t.catAxisCrosses??`autoZero`;e===`autoZero`&&ee<0&&M>0?H=Tr(L(0),w,w+E):e===`max`&&(H=w)}let re=C;if(t.valAxisCrossesAt!=null)re=Tr(I(t.valAxisCrossesAt),C,C+T);else{let e=t.valAxisCrosses??`autoZero`;e===`autoZero`&&A<0&&j>0?re=Tr(I(0),C,C+T):e===`max`&&(re=C+T)}let U=_n(t,r);if(!t.valAxisHidden){let n=t.valAxisFontSizeHpt==null?Math.max(8,Math.min(11,E/20)):Fn(t.valAxisFontSizeHpt,s,r),i=t.valAxisFontSizeHpt==null?4:fe(n);if(e.font=qt(n,Z(t,t.valAxisFontFace,`minor`),t.valAxisFontBold??!1,t.valAxisFontItalic??!1),t.valAxisMinorGridlines){let n=vn(t,r);for(let t of B)gn(e,C,T,L(t),!1,n)}for(let n of z){let a=L(n);if(e.strokeStyle=U.color,e.lineWidth=U.width,Dn(t)){let t=U.dash.length>0&&e.getLineDash?e.getLineDash():[];U.dash.length>0&&e.setLineDash(U.dash),e.beginPath(),e.moveTo(C,a),e.lineTo(C+T,a),e.stroke(),U.dash.length>0&&e.setLineDash(t)}if(t.valAxisTickLabelPos!==`none`){e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`;let r=t.valAxisTickLabelPos??`nextTo`,o;r===`high`?(e.textAlign=`left`,o=C+T+i):r===`low`?(e.textAlign=`right`,o=C-i):(e.textAlign=`right`,o=re-i),e.textBaseline=`middle`,e.fillText(Ge(n,t.valAxisFormatCode,t.date1904),o,a)}let o=t.valAxisLineColor?`#${t.valAxisLineColor}`:void 0;hn(e,t.valAxisMajorTickMark,`val`,re,a,o,Ne(t.valAxisLineWidthEmu,r),!1,t.valAxisLineHidden,`major`,r)}if(t.valAxisMinorTickMark&&t.valAxisMinorTickMark!==`none`){let n=t.valAxisLineColor?`#${t.valAxisLineColor}`:void 0;for(let i of B)hn(e,t.valAxisMinorTickMark,`val`,re,L(i),n,Ne(t.valAxisLineWidthEmu,r),!1,t.valAxisLineHidden,`minor`,r)}}if(!t.catAxisHidden&&xn(t)&&R>0){let n=Sn(t,r);e.strokeStyle=n.color,e.lineWidth=n.width;let i=n.dash.length>0&&e.getLineDash?e.getLineDash():[];n.dash.length>0&&e.setLineDash(n.dash);for(let t of V){let n=I(t);e.beginPath(),e.moveTo(n,w),e.lineTo(n,w+E),e.stroke()}n.dash.length>0&&e.setLineDash(i)}if(!t.catAxisHidden&&t.catAxisMinorGridlines&&R>0){let n=Cn(t,r),i=n.dash.length>0&&e.getLineDash?e.getLineDash():[];e.strokeStyle=n.color,e.lineWidth=n.width,n.dash.length>0&&e.setLineDash(n.dash);for(let t of ne){let n=I(t);e.beginPath(),e.moveTo(n,w),e.lineTo(n,w+E),e.stroke()}n.dash.length>0&&e.setLineDash(i)}if(!t.catAxisHidden&&!t.catAxisLineHidden&&(e.save(),e.strokeStyle=t.catAxisLineColor?`#${t.catAxisLineColor}`:`#888`,e.lineWidth=Ne(t.catAxisLineWidthEmu,r),e.lineCap=`butt`,e.beginPath(),e.moveTo(C,H),e.lineTo(C+T,H),e.stroke(),e.restore()),!t.valAxisHidden&&!t.valAxisLineHidden&&(e.save(),e.strokeStyle=t.valAxisLineColor?`#${t.valAxisLineColor}`:`#888`,e.lineWidth=Ne(t.valAxisLineWidthEmu,r),e.beginPath(),e.moveTo(re,w),e.lineTo(re,w+E),e.stroke(),e.restore()),!t.catAxisHidden){let n=t.catAxisFontSizeHpt==null?Math.max(8,Math.min(11,E/20)):Fn(t.catAxisFontSizeHpt,s,r),i=t.catAxisFontSizeHpt==null?4:de(n);e.font=qt(n,Z(t,t.catAxisFontFace,`minor`),t.catAxisFontBold??!1,t.catAxisFontItalic??!1),e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#555`,e.textAlign=`center`;let a=t.catAxisTickLabelPos??`nextTo`,o=a===`low`?w+E+i:a===`high`?w-i:H+i;e.textBaseline=a===`high`?`bottom`:`top`;for(let n of V){let i=I(n);a!==`none`&&e.fillText(Ge(n,t.catAxisFormatCode,t.date1904),i,o);let s=t.catAxisLineColor?`#${t.catAxisLineColor}`:void 0;hn(e,t.catAxisMajorTickMark,`cat`,H,i,s,Ne(t.catAxisLineWidthEmu,r),!1,t.catAxisLineHidden,`major`,r)}if(t.catAxisMinorTickMark&&t.catAxisMinorTickMark!==`none`){let n=t.catAxisLineColor?`#${t.catAxisLineColor}`:void 0;for(let i of ne)hn(e,t.catAxisMinorTickMark,`cat`,H,I(i),n,Ne(t.catAxisLineWidthEmu,r),!1,t.catAxisLineHidden,`minor`,r)}}let ie=t.chartType===`bubble`,W=ie?`marker`:t.scatterStyle??`marker`,G=W===`line`||W===`lineMarker`||W===`lineNoMarker`,K=W===`smooth`||W===`smoothMarker`||W===`smoothNoMarker`,oe=W===`lineNoMarker`||W===`smoothNoMarker`,q=t.series.map((e,n)=>hr(t,e,n)),se=ie?gr(t,q,k,T,E):0;for(let{series:c,fallbackColor:l,cats:u,pointOverrides:d}of q){for(let t of c.errBars??[])br(e,c,t,u,k,I,L,l);if((G||K)&&c.lineHidden!==!0){let t=[];for(let e=0;e<c.values.length;e++){let n=c.values[e];if(n==null)continue;let r=dr(u,e,k);r!=null&&t.push({x:I(r),y:L(n)})}if(t.length>=2){if(e.save(),e.strokeStyle=c.color?`#${c.color}`:l,e.lineWidth=1.5,e.beginPath(),e.moveTo(t[0].x,t[0].y),K&&t.length>=3)for(let n=0;n<t.length-1;n++){let r=t[n-1]??t[n],i=t[n],a=t[n+1],o=t[n+2]??a,s=i.x+(a.x-r.x)/6,c=i.y+(a.y-r.y)/6,l=a.x-(o.x-i.x)/6,u=a.y-(o.y-i.y)/6;e.bezierCurveTo(s,c,l,u,a.x,a.y)}else for(let n=1;n<t.length;n++)e.lineTo(t[n].x,t[n].y);e.stroke(),e.restore()}}if(!(oe||c.showMarker===!1||typeof c.markerSymbol==`string`&&c.markerSymbol===`none`))for(let n=0;n<c.values.length;n++){let i=c.values[n];if(i==null)continue;let a=dr(u,n,k);if(a==null)continue;let o=d.get(n),s=o?.markerSymbol??c.markerSymbol??`circle`;if(s===`none`)continue;let f=o?.markerSize??c.markerSize??5;if(ie){if(se<=0)continue;let e=pr(t,c.bubbleSizes?.[n]);if(e==null)continue;f=fr(t,e)*se/r}let p=mr(c,o,n,l),m=o?.markerLine??c.markerLine??(ie?c.lineColor:null)??null,h=o?.markerLineWidthEmu??c.markerLineWidthEmu,g=o?.lineWidthEmu??c.lineWidthEmu,_=ie?g:h,v=_==null?void 0:Ne(_,r);yr(e,I(a),L(i),s,f,p,m,r,v)}xr(e,c,u,k,I,L,E,r,t.date1904,Z(t,t.dataLabelFontFace,`minor`),t.dataLabelPosition??`r`,{x:C,y:w,w:T,h:E},{x:i,y:a,w:o,h:s},e=>Z(t,e,`minor`)),c.trendLines&&c.trendLines.length>0&&Pn(e,c,l,I,L,r,c.values.map((e,t)=>dr(u,t,k)),{chart:t,chartRect:n,plotRect:{x:C,y:w,w:T,h:E},clipLineToPlot:!0})}mn(e,t,p,i,a,o,s,C,w,T,E,c.bandH+2,r),$t(e,t,i,a,o,s,C,w,T,E,h,_,y,b)}function yr(e,t,n,r,i,a,o,s,c=1){let l=Math.max(2,i*s),u=l/2,d=a.startsWith(`#`)?a:`#${a}`,f=o?o.startsWith(`#`)?o:`#${o}`:null;switch(e.save(),e.fillStyle=d,f&&(e.strokeStyle=f,e.lineWidth=c),r){case`square`:e.fillRect(t-u,n-u,l,l),o&&e.strokeRect(t-u,n-u,l,l);break;case`diamond`:e.beginPath(),e.moveTo(t,n-u),e.lineTo(t+u,n),e.lineTo(t,n+u),e.lineTo(t-u,n),e.closePath(),e.fill(),o&&e.stroke();break;case`triangle`:e.beginPath(),e.moveTo(t,n-u),e.lineTo(t+u,n+u),e.lineTo(t-u,n+u),e.closePath(),e.fill(),o&&e.stroke();break;case`x`:e.strokeStyle=d,e.lineWidth=Math.max(1,l*.18),e.beginPath(),e.moveTo(t-u,n-u),e.lineTo(t+u,n+u),e.moveTo(t-u,n+u),e.lineTo(t+u,n-u),e.stroke();break;case`plus`:e.strokeStyle=d,e.lineWidth=Math.max(1,l*.18),e.beginPath(),e.moveTo(t-u,n),e.lineTo(t+u,n),e.moveTo(t,n-u),e.lineTo(t,n+u),e.stroke();break;case`star`:e.beginPath();for(let r=0;r<10;r++){let i=r%2==0?u:u*.45,a=-Math.PI/2+r*Math.PI/5,o=t+Math.cos(a)*i,s=n+Math.sin(a)*i;r===0?e.moveTo(o,s):e.lineTo(o,s)}e.closePath(),e.fill(),o&&e.stroke();break;case`dot`:e.beginPath(),e.arc(t,n,Math.max(1,l*.25),0,Math.PI*2),e.fill();break;case`dash`:{let r=Math.max(1,l*.25);e.fillRect(t-u,n-r/2,l,r);break}default:e.beginPath(),e.arc(t,n,u,0,Math.PI*2),e.fill(),o&&e.stroke();break}e.restore()}function br(e,t,n,r,i,a,o,s){e.save(),e.strokeStyle=n.color?`#${n.color}`:s,e.lineWidth=n.lineWidthEmu?Math.max(.5,n.lineWidthEmu/X):1,e.setLineDash(Dr(n.dash));let c=n.barType===`plus`||n.barType===`both`,l=n.barType===`minus`||n.barType===`both`,u=n.dir===`x`,d=e.lineWidth/2;for(let s=0;s<t.values.length;s++){let f=t.values[s];if(f==null)continue;let p=dr(r,s,i);if(p==null)continue;let m=a(p),h=o(f),g=t=>{let r=m,i=h;u?r=a(p+t):i=o(f+t),e.beginPath(),e.moveTo(m,h),e.lineTo(r,i),e.stroke(),n.noEndCap||(e.save(),e.setLineDash([]),e.beginPath(),u?(e.moveTo(r,i-d),e.lineTo(r,i+d)):(e.moveTo(r-d,i),e.lineTo(r+d,i)),e.stroke(),e.restore())};if(c){let e=n.plus[s];e!=null&&g(e)}if(l){let e=n.minus[s];e!=null&&g(-e)}}e.restore()}function xr(e,t,n,r,i,a,o,s,c=!1,l=`sans-serif`,u=`r`,d={x:-1e6,y:-1e6,w:2e6,h:2e6},f=d,p){let m=t.dataLabelOverrides??[],h=Wt(m);if(m.length===0&&!t.seriesDataLabels)return;let g=t.seriesDataLabels;for(let m=0;m<t.values.length;m++){let _=t.values[m];if(_==null)continue;let v=dr(n,m,r);if(v==null)continue;let y=h.get(m);if(y?.deleted)continue;let b=y?.showCatName??g?.showCatName,x=y?.showSerName??g?.showSerName,S=y?.showVal??g?.showVal,C=mt({customText:y?.text,showCategory:b&&!r,showSeries:x,showValue:S,category:Ge(v,t.catFormatCodes?.[m]??t.catFormatCode??null,c),seriesName:t.name,sourceValue:_,formatCode:y?.formatCode??g?.formatCode??null,date1904:c,separator:y?.separator??g?.separator});if(!C)continue;let w=y?.position??g?.position??u,T=U(y?.fontSizeHpt??g?.fontSizeHpt,s)??Math.max(9,Math.min(11,o/25)),E=y?.fontColor??g?.fontColor,D=y?.fontBold??g?.fontBold??!1;Sr(e,i(v),a(_),C,w,T,E,D,l,0,d,y?.manualLayout,f,y?.richRuns,s,p)}}function Sr(e,t,n,r,i,a,o,s,c=`sans-serif`,l=0,u={x:-1e6,y:-1e6,w:2e6,h:2e6},d,f=u,p,m=1,h){e.save(),e.font=`${s?`bold `:``}${a}px ${c}`,wr(e,r,{kind:`point`,x:t,y:n,position:i,markerGap:l},u,a,o?`#${o}`:`#333`,d,f,p&&p.length>0?{runs:p,ptToPx:m,fontFamily:c,fallbackBold:s,fontFamilyForFace:h}:void 0),e.restore()}function Cr(e,t,n,r,i){if(!(!t?.text||!t.richRuns||t.richRuns.length===0))return{runs:t.richRuns,ptToPx:n,fontFamily:r,fallbackBold:i,fontFamilyForFace:t=>Z(e,t,`minor`)}}function wr(e,t,n,r,i,a,o,s=r,c){if(!t||!Number.isFinite(i)||i<=0)return;if(c){let t=ft(e,c,i,a);if(!t)return;let l=yt(n,r,{w:t.width,h:t.height},i,o,s);if(!l)return;e.save(),e.beginPath(),e.rect(l.clip.x,l.clip.y,l.clip.w,l.clip.h),e.clip(),pt(e,t,l.x,l.y,l.textAlign,l.textBaseline),e.restore();return}let l=i*1.15,u=xt(t).value.split(/\\r?\\n/),d=yt(n,r,{w:u.reduce((t,n)=>Math.max(t,e.measureText(n).width),0),h:Math.max(l,u.length*l)},i,o,s);if(!d)return;let f=t=>e.measureText(t).width,p=St(t,d.maxWidth,d.maxHeight,l,f);if(p.length===0||(d=yt(n,r,{w:p.reduce((e,t)=>Math.max(e,f(t)),0),h:p.length*l},i,o,s),!d))return;e.save(),e.beginPath(),e.rect(d.clip.x,d.clip.y,d.clip.w,d.clip.h),e.clip(),e.fillStyle=a,e.textAlign=d.textAlign,e.textBaseline=d.textBaseline;let m=d.textBaseline===`middle`?d.y-(p.length-1)*l/2:d.textBaseline===`bottom`?d.y-(p.length-1)*l:d.y;for(let t=0;t<p.length;t++)e.fillText(p[t],d.x,m+t*l);e.restore()}function Tr(e,t,n){return e<t?t:e>n?n:e}function Er(e,t,n){if(t.length!==0)if(n&&t.length>=3)for(let n=0;n<t.length-1;n++){let r=t[n-1]??t[n],i=t[n],a=t[n+1],o=t[n+2]??a,s=i.x+(a.x-r.x)/6,c=i.y+(a.y-r.y)/6,l=a.x-(o.x-i.x)/6,u=a.y-(o.y-i.y)/6;e.bezierCurveTo(s,c,l,u,a.x,a.y)}else for(let n=1;n<t.length;n++)e.lineTo(t[n].x,t[n].y)}function Dr(e){if(!e)return[];switch(e){case`solid`:return[];case`dot`:case`sysDot`:return[1,2];case`dash`:case`sysDash`:return[4,2];case`lgDash`:return[8,3];case`dashDot`:case`sysDashDot`:return[4,2,1,2];case`lgDashDot`:return[8,3,1,3];case`dashDotDot`:case`sysDashDotDot`:case`lgDashDotDot`:return[4,2,1,2,1,2];default:return[]}}function Or(e){return e.markerSymbol!=null||e.markerSize!=null||e.markerFill!=null||e.markerLine!=null||e.markerLineWidthEmu!=null||e.dataPointOverrides!=null&&e.dataPointOverrides.length>0}function kr(e,t,n,r,i,a,o,s){if(n.dir===`x`)return;let c=n.barType===`plus`||n.barType===`both`,l=n.barType===`minus`||n.barType===`both`;e.save(),e.strokeStyle=n.color?`#${n.color}`:s,e.lineWidth=n.lineWidthEmu?Math.max(.5,n.lineWidthEmu/X):1,e.setLineDash(Dr(n.dash));let u=e.lineWidth/2;for(let s=0;s<r;s++){if(t.values[s]==null)continue;let r=o(s),d=i(s),f=a(r),p=t=>{let i=a(r+t);e.beginPath(),e.moveTo(d,f),e.lineTo(d,i),e.stroke(),n.noEndCap||(e.save(),e.setLineDash([]),e.beginPath(),e.moveTo(d-u,i),e.lineTo(d+u,i),e.stroke(),e.restore())};if(c){let e=n.plus[s];e!=null&&p(e)}if(l){let e=n.minus[s];e!=null&&p(-e)}}e.restore()}function Ar(e,t,n,r,i,a,o,s,c,l,u,d=`sans-serif`,f=`t`,p={x:-1e6,y:-1e6,w:2e6,h:2e6},m=p,h,g,_){let v=t.dataLabelOverrides??[],y=Wt(v),b=t.seriesDataLabels;if(v.length===0&&!b)return!1;for(let v=0;v<r;v++){if(t.values[v]==null&&!u)continue;let r=o(v),x=t.values[v]??0,S=y.get(v);if(S?.deleted)continue;let C=S?.showCatName??b?.showCatName,w=S?.showSerName??b?.showSerName,T=S?.showVal??b?.showVal,E=S?.showPercent??b?.showPercent,D=mt({customText:S?.text,showCategory:C,showSeries:w,showValue:T,showPercent:E,category:n[v]??``,seriesName:t.name,sourceValue:x,percentRatio:h?.(v),formatCode:S?.formatCode??b?.formatCode??null,date1904:l,separator:S?.separator??b?.separator});if(!D)continue;let O=S?.position??b?.position??f,k=U(S?.fontSizeHpt??b?.fontSizeHpt,c)??Math.max(9,Math.min(11,s/25)),A=S?.fontColor??b?.fontColor,j=S?.fontBold??b?.fontBold??!1;Sr(e,i(v),a(r),D,O,k,A,j,d,g?.(v)??0,p,S?.manualLayout,m,S?.richRuns,c,_)}return!0}function jr(e,t){return e?.chartexFormatIdx??t}function Mr(e,t,n,r,i,a,o,s){if(!t)return null;let c=t.seriesDataLabels,l=o.get(n);if(l?.deleted||!c&&!l&&!a.visible)return null;let u=typeof s==`boolean`?s:!1,d=typeof s==`number`?s:void 0,f=!u&&(l?.showVal??c?.showVal??a.showVal),p=l?.showCatName??c?.showCatName??a.showCatName,m=l?.showSerName??c?.showSerName??a.showSerName??!1,h=l?.showPercent??c?.showPercent??a.showPercent??!1,g=l?.formatCode??c?.formatCode??e.dataLabelFormatCode??null,_=mt({customText:l?.text,showCategory:p,showSeries:m,showValue:f,showPercent:h,category:r,seriesName:t.name,sourceValue:i,percentRatio:d,formatCode:g??t.valFormatCode??null,percentFormatCode:g??`0%`,date1904:e.date1904,separator:l?.separator??c?.separator});return _?{text:_,position:l?.position??c?.position,fontColor:l?.fontColor??c?.fontColor,fontSizeHpt:l?.fontSizeHpt??c?.fontSizeHpt,fontBold:l?.fontBold??c?.fontBold,manualLayout:l?.manualLayout}:null}function Nr(e,t,n,r,i){let a=n===`fill`?t?.fillColors:t?.lineColors;return a?.length?a[((n===`fill`?t?.fillColorIndex:t?.lineColorIndex)??r)%a.length]??null:null}function Pr(e,t,n,r){if(!t.length)return null;let i=e.chartexColorStyleMethod;return i===`withinLinear`||i===`acrossLinear`||i===`withinLinearReversed`||i===`acrossLinearReversed`?t[i===`withinLinear`||i===`withinLinearReversed`?0:n%t.length]??null:t[n%t.length]??null}function Fr(e,t,n){return(e.chartexColorPalette?Pr(e,e.chartexColorPalette,t,n):null)??e.chartexAccents?.[t%(e.chartexAccents.length||1)]??Ht[t%Ht.length]}function Ir(e,t,n,r){return Nr(e,r,`fill`,t,n)??Nr(e,e.chartexDataPointStyle,`fill`,t,n)??Fr(e,t,n)}function Lr(e,t){let n=e?.fillPaints;return n?.length?n[(e?.fillColorIndex??t)%n.length]??null:null}function Rr(e,t,n,r){if(!t)return;if(t.fillHidden)return t.fillNoStyle?void 0:null;let i=Lr(t,n);if(i)return i;let a=Nr(e,t,`fill`,n,r);return a?{fillType:`solid`,color:a}:void 0}function zr(e,t,n,r,i,a=e.chartexDataPointStyle){let o=r?.fillHidden?void 0:Rr(e,r,t,n);if(o!==void 0)return o;if(r&&i)return{fillType:`solid`,color:i};let s=Rr(e,a,t,n);return s===void 0?i?{fillType:`solid`,color:i}:{fillType:`solid`,color:Fr(e,t,n)}:s}function Br(e,t,n,r,i,a,o,s=0){return t.fillType===`solid`?t.color.startsWith(`#`)?t.color:`#${t.color}`:Lt(t,e,n,r,i,a,s)??o}function Vr(e,t,n,r,i,a,o={}){let s=(t,n)=>({visible:t?.lineHidden!==!0,color:Nr(e,t,`line`,r,i)??n,widthEmu:t?.lineWidthEmu??null,dash:t?.lineDash??null,cap:t?.lineCap??null,join:t?.lineJoin??null}),c=n?.chartexStyle;return(c?.lineHidden!=null||c?.lineColors?.some(Boolean)||c?.lineWidthEmu!=null||c?.lineDash!=null||c?.lineCap!=null||c?.lineJoin!=null)&&!(c?.lineHidden&&c.lineNoStyle)?s(c,a):n?.lineHidden!=null||n?.lineColor!=null||n?.lineWidthEmu!=null?{visible:n?.lineHidden!==!0,color:n?.lineColor??a,widthEmu:n?.lineWidthEmu??null,dash:null,cap:null,join:null}:t?.lineNoStyle&&o.linkedNoStyleFallback?s(null,a):s(t,a)}function Hr(e,t,n){return t.visible?(e.strokeStyle=t.color.startsWith(`#`)?t.color:`#${t.color}`,e.lineWidth=t.widthEmu==null?1:Ne(t.widthEmu,n),e.setLineDash(Dr(t.dash??void 0)),e.lineCap=t.cap===`rnd`?`round`:t.cap===`sq`?`square`:`butt`,e.lineJoin=t.join===`round`||t.join===`bevel`?t.join:`miter`,!0):!1}function Ur(e,t,n,r,i,a,o,s,c={}){return Hr(e,Vr(t,n,r,i,a,o,c),s)}function Wr(e,t,n,r,i,a,o,s=!1,c=!0){let l=Vr(e,r,n,i,a,o,{linkedNoStyleFallback:s});return{name:t,values:[],color:o.replace(/^#/,``),lineHidden:!c||!l.visible,lineColor:c&&l.visible?l.color.replace(/^#/,``):null,lineWidthEmu:c?l.widthEmu:null,chartexStyle:{lineDash:c?l.dash:null,lineCap:c?l.cap:null,lineJoin:c?l.join:null}}}const Gr=1e4,Kr=new Set([`clusteredBar`,`clusteredBarH`,`stackedBar`,`stackedBarH`,`stackedBarPct`,`stackedBarHPct`,`clusteredColumn`,`line`,`stackedLine`,`stackedLinePct`,`area`,`stackedArea`,`stackedAreaPct`,`pie`,`doughnut`,`radar`,`scatter`,`bubble`,`stock`]);function qr(e){if(!Kr.has(e.chartType))return null;let t=0;for(let n of e.series){let r=0;for(let e of n.errBars??[])r=Math.max(r,e.plus.length,e.minus.length);let i=Math.max(1,e.categories.length,n.categories?.length??0,n.values.length,n.bubbleSizes?.length??0,n.dataPointOverrides?.length??0,n.dataLabelOverrides?.length??0,n.trendLines?.length??0,r);if(!Number.isSafeInteger(i)||i>Gr-t)return Gr+1;t+=i}return t}function Jr(e,t){if(!e.threeD||!t||!new Set([`pie`,`line`,`stackedLine`,`stackedLinePct`,`area`,`stackedArea`,`stackedAreaPct`,`clusteredBar`,`clusteredBarH`,`stackedBar`,`stackedBarH`,`stackedBarPct`,`stackedBarHPct`]).has(e.chartType))return null;let n=0;for(let t of e.series){let r=Math.max(1,t.values.length,t.categories?.length??0),i=t.threeDShape??e.threeD.shape??`box`,a=e.chartType===`pie`?36:e.chartType.toLowerCase().includes(`bar`)?i===`box`?4:36:e.chartType.toLowerCase().includes(`area`)?4:t.smooth===!0?25:3;if(!Number.isSafeInteger(r)||r>Math.floor(Gr/a)||(n+=r*a,n>Gr))return Gr+1}return n}function Yr(e,t,n){return n<=Gr?!1:(e.fillStyle=`#888`,e.font=`12px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(`(too many data points)`,t.x+t.w/2,t.y+t.h/2),!0)}function Xr(e,t,n,r){let i=t.series[0];if(!i)return;let a=nt(i.values,t.chartexHistogramBinning??{});if(a.kind===`tooManyInputPoints`){Yr(e,n,Gr+1);return}Xn(e,{...t,chartType:`clusteredBar`,categories:a.categories,series:[{...i,categories:void 0,values:a.counts}]},n,r,{gapPolicy:`chartex`})}function Zr(e,t,n,r,i){let{x:a,y:o,w:s,h:c}=n,l=t.series[0]?.values??[],u=t.categories,d=Math.max(l.length,u.length);if(d===0||Yr(e,n,d))return;let f=new Set(t.subtotalIndices),p=!1,m=(e,t)=>{let n=e+t;return Number.isFinite(n)?n:(p=!0,n<0?-Number.MAX_VALUE:Number.MAX_VALUE)},h=0,g=[],_=-1/0,v=0;for(let e=0;e<d;e++){let t=l[e],n=t!=null&&Number.isFinite(t),r=t==null||n,i=n?t:0;if(f.has(e)){let e={start:0,end:i,isSub:!0,isPos:!0,hasValue:n,paintSlot:r};g.push(e),r&&(_=Math.max(_,e.start,e.end),v=Math.min(v,e.start,e.end)),n&&(h=i)}else{let e=m(h,i),t={start:i>=0?h:e,end:i>=0?e:h,isSub:!1,isPos:i>=0,hasValue:n,paintSlot:r};g.push(t),r&&(_=Math.max(_,t.start,t.end),v=Math.min(v,t.start,t.end)),n&&(h=e)}}if(p){e.fillStyle=`#888`,e.font=`12px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(`(chart values out of range)`,a+s/2,o+c/2);return}if(_<=v)return;let y=f.size===0&&g.every((e,t)=>!e.hasValue||l[t]>=0),b=!t.valAxisHidden&&t.valAxisTickLabelPos!==`none`&&!y,x=le(t,c,r),S=ce(t,s,c,r),C=Fn(t.valAxisFontSizeHpt,c,r),w=Fn(t.catAxisFontSizeHpt,c,r),T=Z(t,t.valAxisFontFace,`minor`),E=Z(t,t.catAxisFontFace,`minor`),D=An(t,v,_,c/r);e.save();let O=0;if(b){e.font=qt(C,T,t.valAxisFontBold??!1,t.valAxisFontItalic??!1);let n=0;for(let r of D.majorLines)n=Math.max(n,e.measureText(Ge(r,t.valAxisFormatCode,t.date1904)).width);O=n+8}let k=Math.max(1,s-S.valBandW-O-s*.02)/d;e.font=qt(w,E,t.catAxisFontBold??!1,t.catAxisFontItalic??!1);let A=u.slice(0,d).map(n=>In(e,Ke(n,t.catAxisFormatCode,t.date1904),Math.max(1,k-8))),j=0;for(let e of A)e.some(Boolean)&&(j=Math.max(j,e.length));let ee=t.catAxisHidden||j===0?0:j*(w+2)+4,M=t.series[0],N=Wt(M?.dataLabelOverrides),P=M?.chartexStyle,te=`#${M?.color??Ir(t,0,3,P)}`,F=`#${Ir(t,1,3,P)}`,I=`#${Ir(t,2,3,P)}`,L=zr(t,0,3,P,M?.color),R=zr(t,1,3,P),z=zr(t,2,3,P),B={...t,chartType:`clusteredBar`,series:[Wr(t,`Increase`,M,t.chartexDataPointStyle,0,3,te),Wr(t,`Decrease`,M,t.chartexDataPointStyle,1,3,F),Wr(t,`Total`,M,t.chartexDataPointStyle,2,3,I)]},V=dn(e,B,s,c,.22,r),{legRightW:ne,legLeftW:H,legTopH:re,legBottomH:ie}=ae(V),W=he(t,a,o,s,c,r,{titleBand:x,legendSideReserveFrac:0,legendReserve:V,pad:{t:x.bandH+re+C/2+2,r:ne+s*.02,b:ie+S.catBandH+ee,l:H+S.valBandW+(t.valAxisHidden?s*.02:Math.max(s*.03,O))}});Kn(e,t,a,o,s,c,o+W.title.topPad,W.title.fontPx);let{px0:G,py0:K,pw:oe,ph:q}=W.plotRect,se=An(t,v,_,q/r),ue=e=>K+q-se.frac(e)*q,de=Pe(t.valAxisLineColor,t.valAxisLineWidthEmu,r),fe=Pe(t.catAxisLineColor,t.catAxisLineWidthEmu,r),pe=_n(t,r);if(!t.valAxisHidden){e.font=qt(C,T,t.valAxisFontBold??!1,t.valAxisFontItalic??!1),e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#595959`,e.textAlign=`right`,e.textBaseline=`middle`;let n=vn(t,r);for(let t of se.minorLines)gn(e,G,oe,ue(t),!1,n);for(let n of se.majorLines){let i=ue(n);if(Dn(t)){e.strokeStyle=pe.color,e.lineWidth=pe.width;let t=pe.dash.length>0&&e.getLineDash?e.getLineDash():[];pe.dash.length>0&&e.setLineDash(pe.dash),e.beginPath(),e.moveTo(G,i),e.lineTo(G+oe,i),e.stroke(),pe.dash.length>0&&e.setLineDash(t)}b&&e.fillText(Ge(n,t.valAxisFormatCode,t.date1904),G-4,i),hn(e,t.valAxisMajorTickMark,`val`,G,i,de.color,de.width,!1,t.valAxisLineHidden,`major`,r)}for(let n of se.minorTicks)hn(e,t.valAxisMinorTickMark,`val`,G,ue(n),de.color,de.width,!1,t.valAxisLineHidden,`minor`,r)}let me=!t.valAxisHidden&&!t.valAxisLineHidden,J=!t.catAxisHidden&&!t.catAxisLineHidden;me&&(e.strokeStyle=de.color,e.lineWidth=de.width,e.beginPath(),e.moveTo(G,K),e.lineTo(G,K+q),e.stroke()),J&&(e.strokeStyle=fe.color,e.lineWidth=fe.width,e.beginPath(),e.moveTo(G,K+q),e.lineTo(G+oe,K+q),e.stroke());let ge=oe/d,_e=ge/(1+$e(t.barGapWidth,`chartex`)/100);g.forEach((n,f)=>{let p=G+ge*f+(ge-_e)/2,m=Math.min(ue(n.start),ue(n.end)),h=Math.max(ue(n.start),ue(n.end)),_=Math.max(1,h-m),v=n.isSub?z:n.isPos?L:R,y=n.isSub?I:n.isPos?te:F;n.paintSlot&&v&&(e.fillStyle=Br(e,v,p,m,_e,_,y,i),e.fillRect(p,m,_e,_));let b=n.isSub?2:+!n.isPos,x=Nr(t,t.chartexDataPointStyle,`line`,b,3);if(n.paintSlot&&Ur(e,t,t.chartexDataPointStyle,M,b,3,x?`#${x}`:y,r)&&e.strokeRect(p,m,_e,_),n.paintSlot&&g[f+1]?.paintSlot&&f<d-1&&t.chartexConnectorLines!==!1){let i=G+ge*(f+1)+(ge-_e)/2,a=n.isPos?m:h;e.save();let o=Vr(t,t.chartexSeriesLineStyle,M,b,3,`#000000`,{linkedNoStyleFallback:!0});Hr(e,o,r)&&(o.widthEmu??(e.lineWidth=.75*r),e.beginPath(),e.moveTo(p+_e,a),e.lineTo(i,a),e.stroke()),e.restore()}let S=n.hasValue?l[f]:0,C=Mr(t,M,f,u[f]??``,S,{visible:t.showDataLabels,showVal:!0,showCatName:!1},N,!n.hasValue);if(C){let n=M?.dataLabelColors?.[f]??C.fontColor??null,i=n?`#${n}`:t.dataLabelFontColor?`#${t.dataLabelFontColor}`:`#595959`,l=U(C.fontSizeHpt,r)??Fn(t.dataLabelFontSizeHpt,c,r);e.font=`${C.fontBold??t.dataLabelFontBold??!1?`bold `:``}${l}px ${Z(t,t.dataLabelFontFace,`minor`)}`,wr(e,C.text,{kind:`bar`,rect:{x:p,y:m,w:_e,h:_},orientation:`vertical`,negative:S<0,position:C.position??`outEnd`},{x:G,y:K,w:oe,h:q},l,i,C.manualLayout,{x:a,y:o,w:s,h:c})}}),e.textAlign=`center`,e.textBaseline=`top`,e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#595959`,e.font=qt(w,E,t.catAxisFontBold??!1,t.catAxisFontItalic??!1);let ve=K+q+4;for(let n=0;n<d&&!t.catAxisHidden;n++){let t=G+ge*n+ge/2;(A[n]??[]).forEach((n,r)=>n&&e.fillText(n,t,ve+r*(w+2)))}$t(e,t,a,o,s,c,G,K,oe,q,H,ie,S.catFontPx,S.valFontPx),mn(e,B,V,a,o,s,c,G,K,oe,q,x.bandH+2,r,[L,R,z],i),e.restore()}function Qr(e,t,n,r,i){let a=t.series[0]?.values??[],o=Math.max(a.length,t.categories.length);if(o===0||Yr(e,n,o))return;let s=0;for(let e=0;e<o;e++)s=Math.max(s,a[e]??0);if(!(s>0))return;let{x:c,y:l,w:u,h:d}=n,f=le(t,d,r),p=t.series[0],m=Wt(p?.dataLabelOverrides),h=`#${p?.color??Ir(t,0,1,p?.chartexStyle)}`,g=zr(t,0,1,p?.chartexStyle,p?.color),_={...t,series:[Wr(t,p?.name??``,p,t.chartexDataPointStyle,0,1,h)]},v=dn(e,_,u,d,.22,r),{legRightW:y,legLeftW:b,legTopH:x,legBottomH:S}=ae(v),C=Fn(t.catAxisFontSizeHpt,d,r);e.save(),e.font=qt(C,Z(t,t.catAxisFontFace,`minor`),t.catAxisFontBold??!1,t.catAxisFontItalic??!1);let w=0;if(!t.catAxisHidden){for(let n=0;n<Math.min(o,t.categories.length);n++)w=Math.max(w,e.measureText(t.categories[n]).width);t.categories.length>0&&(w+=10)}let T=he(t,c,l,u,d,r,{titleBand:f,legendSideReserveFrac:.22,legendReserve:v,pad:{t:f.bandH+x+2,r:y+u*.02,b:S+d*.02,l:b+w+u*.02}});Kn(e,t,c,l,u,d,l+T.title.topPad,T.title.fontPx);let{px0:E,py0:D,pw:O,ph:k}=T.plotRect,A=k/o,j=A/(1+$e(t.barGapWidth,`chartex`)/100);for(let n=0;n<o;n++){let o=Math.max(0,a[n]??0),f=O*o/s,_=E+(O-f)/2,v=D+A*n+(A-j)/2;g&&(e.fillStyle=Br(e,g,_,v,f,j,h,i),e.fillRect(_,v,f,j)),Ur(e,t,t.chartexDataPointStyle,p,0,1,h,r)&&e.strokeRect(_,v,f,j);let y=t.categories[n];!t.catAxisHidden&&y!=null&&(e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#595959`,e.textAlign=`right`,e.textBaseline=`middle`,e.fillText(y,E-6,v+j/2));let b=Mr(t,p,n,y??``,o,{visible:!1,showVal:!1,showCatName:!1},m);if(b){let n=U(b.fontSizeHpt,r)??Fn(t.dataLabelFontSizeHpt,d,r);e.font=`${b.fontBold?`bold `:``}${n}px ${Z(t,t.dataLabelFontFace,`minor`)}`,wr(e,b.text,{kind:`bar`,rect:{x:_,y:v,w:f,h:j},orientation:`horizontal`,negative:!1,position:b.position??`ctr`},{x:E,y:D,w:O,h:k},n,b.fontColor?`#${b.fontColor}`:`#ffffff`,b.manualLayout,{x:c,y:l,w:u,h:d})}}if(!t.catAxisHidden&&!t.catAxisLineHidden){let n=Pe(t.catAxisLineColor,t.catAxisLineWidthEmu,r);e.strokeStyle=n.color,e.lineWidth=n.width,e.beginPath(),e.moveTo(E,D),e.lineTo(E,D+k),e.stroke()}mn(e,_,v,c,l,u,d,E,D,O,k,f.bandH+2,r,[g],i),e.restore()}function $r(e,t,n,r){let i=t.series[0];if(!i||Yr(e,n,Math.max(t.categories.length,i.categories?.length??0,i.values.length)))return;let a=dt(i,t.categories);if(a.points.length===0)return;let o=jr(i,0),s=Vr(t,t.chartexDataPointLineStyle,i,o,1,Ut(0,i),{linkedNoStyleFallback:!0});Zn(e,{...t,chartType:`line`,categories:a.categories,series:[{...a.series,showMarker:!1,lineHidden:!s.visible,lineColor:s.color.replace(/^#/,``),lineWidthEmu:s.widthEmu,chartexStyle:{lineDash:s.dash,lineCap:s.cap,lineJoin:s.join}}],catAxisHidden:!1,catAxisTickLabelPos:`none`,showLegend:!1,valMin:t.valMin??0,valMax:t.valMax??1.2,valAxisMajorUnit:t.valAxisMajorUnit??.2},n,r)}function ei(e,t,n,r){let i=t.series[0];if(!i||Yr(e,n,Math.max(t.categories.length,i.categories?.length??0,i.values.length)))return;let a=dt(i,t.categories);if(a.points.length===0)return;let o=t.series.find(e=>e.seriesType===`line`),s=o?.chartexFormatIdx??i.chartexFormatIdx??0,c={...o??a.series,name:o?.name||`Cumulative %`,values:a.series.values,categories:a.categories,color:o?.color??Nr(t,t.chartexDataPointLineStyle,`line`,s,1)??i.lineColor??i.color,seriesType:`line`,useSecondaryAxis:!0,showMarker:!1},l={min:t.secondaryValAxis?.min??0,max:t.secondaryValAxis?.max??1,title:t.secondaryValAxis?.title??null,hidden:t.secondaryValAxis?.hidden??!1,formatCode:t.secondaryValAxis?.formatCode??`0%`,fontColor:t.secondaryValAxis?.fontColor??null,fontSizeHpt:t.secondaryValAxis?.fontSizeHpt??null,fontFace:t.secondaryValAxis?.fontFace??null,lineColor:t.secondaryValAxis?.lineColor??null,lineWidthEmu:t.secondaryValAxis?.lineWidthEmu??null,lineHidden:t.secondaryValAxis?.lineHidden??!1,majorTickMark:t.secondaryValAxis?.majorTickMark??`out`,minorTickMark:t.secondaryValAxis?.minorTickMark??null,majorUnit:t.secondaryValAxis?.majorUnit??null,minorUnit:t.secondaryValAxis?.minorUnit??null,titleFontSizeHpt:t.secondaryValAxis?.titleFontSizeHpt??null,titleFontBold:t.secondaryValAxis?.titleFontBold??null,titleFontColor:t.secondaryValAxis?.titleFontColor??null,titleFontFace:t.secondaryValAxis?.titleFontFace??null};Xn(e,{...t,chartType:`clusteredBar`,categories:a.categories,series:[{...a.orderedSeries,seriesType:null,useSecondaryAxis:!1},c],secondaryValAxis:l},n,r,{gapPolicy:`chartex`,semanticLineNoStyleFallback:!0})}function ti(e,t,n,r){let i=(r??t)-(n??e);if(!(i>0)||!Number.isFinite(i))return null;let a=_e(i,7);if(!(a>0)||!Number.isFinite(a))return null;let o=e-i*.05,s=t+i*.05;e>=0&&(e===0||t>1.2*e)&&(o=0),t<=0&&(t===0||Math.abs(e)>1.2*Math.abs(t))&&(s=0);let c=n??Math.floor(o/a)*a,l=r??Math.ceil(s/a)*a;return![c,l].every(Number.isFinite)||!(l>c)?null:{min:c,max:l,majorUnit:a}}function ni(e,t,n,r,i){let a=3*r/2,o=3*r,s=t.chartexBox;if(!s||s.categories.length===0||s.series.length===0)return;let{x:c,y:l,w:u,h:d}=n;if(Yr(e,n,st(s.series.map(e=>e.valuesByCategory),Gr)))return;let f=()=>{e.fillStyle=`#888`,e.font=`12px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(`(chart values out of range)`,c+u/2,l+d/2)},p=e=>{let t=e.max-e.min,n=t/e.step;return Number.isFinite(e.min)&&Number.isFinite(e.max)&&Number.isFinite(e.step)&&Number.isFinite(t)&&Number.isFinite(n)&&e.max>e.min&&e.step>0&&n<=1e3&&e.min+e.step>e.min},m=1/0,h=-1/0;for(let e of s.series)for(let t of e.valuesByCategory)for(let e of t)Number.isFinite(e)&&(e<m&&(m=e),e>h&&(h=e));if(!isFinite(m)||!isFinite(h))return;if(!Number.isFinite(h-m)){f();return}let g=t.valAxisMajorUnit==null?ti(m,h,t.valMin,t.valMax):null,_=g?{...t,valMin:g.min,valMax:g.max,valAxisMajorUnit:g.majorUnit}:t,v=Z(t,t.valAxisFontFace,`minor`),y=Fn(t.valAxisFontSizeHpt,d,r),b=fe(y),x=Ee({dataMin:m,dataMax:h,explicitMin:_.valMin,explicitMax:_.valMax,axisLenPt:d/r,majorUnit:_.valAxisMajorUnit});if(!p({min:x.min,max:x.max,step:x.majorUnit})){f();return}let S=0;if(!t.valAxisHidden){let n=e.font;e.font=qt(y,v,t.valAxisFontBold??!1,t.valAxisFontItalic??!1);let i=0;for(let n of x.majorTicks){let r=Ge(n,t.valAxisFormatCode,t.date1904);i=Math.max(i,e.measureText(r).width)}e.font=n,S=i+b+pe*r}let C=le(t,d,r),w=Fn(t.catAxisFontSizeHpt,d,r),T=Fn(t.valAxisFontSizeHpt,d,r),E=ce(t,u,d,r),D=s.series.length,O=s.series.map((e,t)=>jr(e,t)),k=s.series.map((e,n)=>{let r=O[n],i=e.color??Ir(t,r,D,e.chartexStyle);return Wr(t,e.name,e,t.chartexDataPointStyle,r,D,i,!0)}),A={...t,series:k},j=dn(e,A,u,d,.22,r),{legRightW:ee,legLeftW:M,legTopH:N,legBottomH:P}=ae(j),te=he(t,c,l,u,d,r,{titleBand:C,legendSideReserveFrac:.22,legendReserve:j,pad:{t:C.bandH+N+T/2+2,r:ee+u*.02,b:P+E.catBandH+(t.catAxisHidden?d*.02:ue(w)),l:M+E.valBandW+(t.valAxisHidden?u*.02:S)}}),{px0:F,py0:I,pw:L,ph:R}=te.plotRect,z=s.categories,B=z.length,V=An(_,m,h,R/r);if(!p(V)){f();return}Kn(e,t,c,l,u,d,l+te.title.topPad,te.title.fontPx);let{min:ne,max:H}=V,re=H-ne,U=e=>I+R*(1-(e-ne)/re),ie=Pe(t.valAxisLineColor,t.valAxisLineWidthEmu,r),W=_n(t,r);if(e.save(),!t.valAxisHidden){if(e.font=qt(y,v,t.valAxisFontBold??!1,t.valAxisFontItalic??!1),e.textAlign=`right`,e.textBaseline=`middle`,t.valAxisMinorGridlines){let n=vn(t,r);for(let t of V.minorLines)gn(e,F,L,U(t),!1,n)}for(let n of V.majorLines){let i=U(n);if(t.valAxisMajorGridlines!==!1){e.strokeStyle=W.color,e.lineWidth=W.width;let t=W.dash.length>0&&e.getLineDash?e.getLineDash():[];W.dash.length>0&&e.setLineDash(W.dash),e.beginPath(),e.moveTo(F,i),e.lineTo(F+L,i),e.stroke(),W.dash.length>0&&e.setLineDash(t)}e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#595959`,e.fillText(Ge(n,t.valAxisFormatCode,t.date1904),F-b,i),hn(e,t.valAxisMajorTickMark,`val`,F,i,ie.color,ie.width,!1,t.valAxisLineHidden,`major`,r)}for(let n of V.minorTicks)hn(e,t.valAxisMinorTickMark,`val`,F,U(n),ie.color,ie.width,!1,t.valAxisLineHidden,`minor`,r);t.valAxisLineHidden||(e.strokeStyle=ie.color,e.lineWidth=ie.width,e.beginPath(),e.moveTo(F,I),e.lineTo(F,I+R),e.stroke())}let G=Pe(t.catAxisLineColor,t.catAxisLineWidthEmu,r);!t.catAxisHidden&&!t.catAxisLineHidden&&(e.strokeStyle=G.color,e.lineWidth=G.width,e.beginPath(),e.moveTo(F,I+R),e.lineTo(F+L,I+R),e.stroke());let K=L/B,oe=$e(t.barGapWidth,`chartex`),q=e=>`#${s.series[e].color??Ir(t,O[e],D,s.series[e].chartexStyle)}`,se=e=>zr(t,O[e],D,s.series[e].chartexStyle,s.series[e].color),me=s.series.map(e=>e.valuesByCategory.map(t=>ot(t,e.quartileMethod))),J=(e,t)=>{let n=ct(F,L,s.oneBoxPerSeries?1:B,D,s.oneBoxPerSeries?0:e,t,oe);return n?{bx:n.boxX,boxW:n.boxWidth,cx:n.centerX}:{bx:F,boxW:0,cx:F}};for(let n=0;n<D;n++){let i=s.series[n];if(!i.meanLine)continue;let a=t.chartexDataPointLineStyle??t.chartexDataPointStyle,o=i.lineColor?`#${i.lineColor}`:q(n);if(e.save(),Ur(e,t,a,i,O[n],D,o,r)||i.lineColor!=null){i.lineColor&&(e.strokeStyle=o),i.lineWidthEmu&&(e.lineWidth=Ne(i.lineWidthEmu,r));let t=!1;e.beginPath();for(let r=0;r<B;r++){let i=me[n][r];if(!i){t=!1;continue}let{cx:a}=J(r,n),o=U(i.mean);t?e.lineTo(a,o):e.moveTo(a,o),t=!0}e.stroke()}e.restore()}let ge=Fn(t.catAxisFontSizeHpt,d,r),_e=de(ge);for(let n=0;n<B;n++){let c=F+K*(n+.5);t.catAxisHidden||hn(e,t.catAxisMajorTickMark,`cat`,I+R,c,G.color,G.width,!1,t.catAxisLineHidden,`major`,r);for(let c=0;c<D;c++){let l=s.series[c],u=me[c][n];if(!u)continue;let{bx:d,boxW:f,cx:p}=J(n,c),m=q(c),h=se(c),g=t.chartexDataPointStyle,_=t.chartexDataPointLineStyle??g,v=t.chartexDataPointMarkerStyle??g,y=O[c],b=Nr(t,g,`line`,y,D),x=l.lineColor?`#${l.lineColor}`:b?`#${b}`:m,S=l.lineWidthEmu?Ne(l.lineWidthEmu,r):g?.lineWidthEmu==null?1:Ne(g.lineWidthEmu,r),C=Nr(t,_,`line`,y,D),w=Nr(t,v,`fill`,y,D),T=zr(t,y,D,l.chartexStyle,l.color,v),E=Nr(t,v,`line`,y,D),k=(n,i)=>{let a=l.chartexStyle,o=a?.lineHidden!=null||a?.lineColors?.some(Boolean)||a?.lineWidthEmu!=null||a?.lineDash!=null||a?.lineCap!=null||a?.lineJoin!=null,s=Ur(e,t,n,l,y,D,i,r),c=n?.lineNoStyle===!0&&!o&&l.lineColor==null&&l.lineWidthEmu==null;return!s&&c&&(e.strokeStyle=i,e.lineWidth=1,e.setLineDash([])),l.lineColor&&(e.strokeStyle=x),l.lineWidthEmu&&(e.lineWidth=S),s||c||l.lineColor!=null},A=U(u.q1),j=U(u.q3),ee=Math.min(A,j),M=Math.max(1,Math.abs(A-j)),N=f*.4;k(_,C??x)&&(e.beginPath(),e.moveTo(p,U(u.whiskerHi)),e.lineTo(p,j),e.moveTo(p,A),e.lineTo(p,U(u.whiskerLo)),e.moveTo(p-N/2,U(u.whiskerHi)),e.lineTo(p+N/2,U(u.whiskerHi)),e.moveTo(p-N/2,U(u.whiskerLo)),e.lineTo(p+N/2,U(u.whiskerLo)),e.stroke()),h&&(e.fillStyle=Br(e,h,d,ee,f,M,m,i),e.fillRect(d,ee,f,M)),k(g,x)&&e.strokeRect(d+S/2,ee+S/2,f-S,M-S);let P=U(u.median);if(k(_,C??x)&&(e.beginPath(),e.moveTo(d,P),e.lineTo(d+f,P),e.stroke()),l.showNonoutliers){let n=a,o=t.chartexMarkerSymbol??`circle`;for(let t of u.inner){if(o===`none`)continue;let a=k(v,E??x),s=U(t);T&&(e.fillStyle=Br(e,T,p-n,s-n,n*2,n*2,w?`#${w}`:m,i)),o===`circle`?(e.beginPath(),e.arc(p,s,n,0,Math.PI*2),T&&e.fill(),a&&e.stroke()):yr(e,p,s,o,3,T?w?`#${w}`:m:`transparent`,a?E?`#${E}`:x:null,r,e.lineWidth)}}if(l.meanMarker){let t=U(u.mean),n=o;k(v,E??x)&&(e.beginPath(),e.moveTo(p-n,t-n),e.lineTo(p+n,t+n),e.moveTo(p+n,t-n),e.lineTo(p-n,t+n),e.stroke())}if(l.showOutliers){let n=t.chartexMarkerSymbol??`circle`,o=a;for(let t of u.outliers){if(n===`none`)continue;let a=k(v,E??x),s=U(t);T&&(e.fillStyle=Br(e,T,p-o,s-o,o*2,o*2,w?`#${w}`:m,i)),n===`circle`?(e.beginPath(),e.arc(p,s,o,0,Math.PI*2),T&&e.fill(),a&&e.stroke()):yr(e,p,s,n,3,T?w?`#${w}`:m:`transparent`,a?E?`#${E}`:x:null,r,e.lineWidth)}}}if(!t.catAxisHidden){e.font=`${ge}px ${Z(t,t.catAxisFontFace,`minor`)}`,e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#595959`,e.textAlign=`center`,e.textBaseline=`top`;let r=z[n];e.fillText(r,c,I+R+_e)}}e.restore(),$t(e,t,c,l,u,d,F,I,L,R,M,P,E.catFontPx,E.valFontPx),mn(e,A,j,c,l,u,d,F,I,L,R,C.bandH+2,r,s.series.map((e,t)=>se(t)),i)}function ri(e){if(e.length>Gr)return!0;let t=0;for(let n of e){if(n.path.length>512||t>Gr-n.path.length)return!0;t+=n.path.length}return!1}function ii(e,t=!1){let n={label:``,layoutWeight:0,value:0,depth:-1,children:[],branchIndex:-1,labelIndex:-1,a0:0,a1:0},r=e.reduce((e,t)=>Number.isFinite(t.size)&&t.size>e?t.size:e,0),i=(e,t)=>e>Number.MAX_VALUE-t?Number.MAX_VALUE:e+t,a=new WeakMap;for(let o of e){let e=Number.isFinite(o.size)&&o.size>0?o.size:0,s=r>0?e/r:0,c=n;for(let n=0;n<o.path.length;n++){let r=o.path[n],l=a.get(c);l||(l=new Map,a.set(c,l));let u=t&&n===o.path.length-1,d=u?void 0:l.get(r);d||(d={label:r,layoutWeight:0,value:0,depth:n,children:[],branchIndex:n===0?c.children.length:c.branchIndex,labelIndex:-1,a0:0,a1:0},c.children.push(d),u||l.set(r,d)),d.layoutWeight+=s,d.value=i(d.value,e),c=d}}n.layoutWeight=n.children.reduce((e,t)=>e+t.layoutWeight,0),n.value=n.children.reduce((e,t)=>i(e,t.value),0);let o=0,s=[...n.children].reverse();for(;s.length>0;){let e=s.pop();e.labelIndex=o++;for(let t=e.children.length-1;t>=0;t--)s.push(e.children[t])}return n}function ai(e){let t=[e];for(;t.length>0;){let e=t.pop(),n=0;for(let t of e.children)n+=t.layoutWeight;if(n<=0)continue;let r=e.a0;for(let i of e.children){let a=(e.a1-e.a0)*i.layoutWeight/n;i.a0=r,i.a1=r+a,r=i.a1,t.push(i)}}}function oi(e){let t=e.depth,n=[e];for(;n.length>0;){let e=n.pop();t=Math.max(t,e.depth);for(let t=e.children.length-1;t>=0;t--)n.push(e.children[t])}return t}function si(e,t,n,r,i){let a=t.chartexSunburst;if(!a||a.rows.length===0)return;let{x:o,y:s,w:c,h:l}=n;if(ri(a.rows)){Yr(e,n,Gr+1);return}let u=ii(a.rows);if(u.layoutWeight<=0||u.children.length===0)return;let d=t.series[0],f=Wt(d?.dataLabelOverrides),p=u.children.map((e,n)=>zr(t,n,u.children.length,d?.chartexStyle,d?.color)),m={...t,chartType:`clusteredBar`,series:u.children.map(e=>{let n=Ir(t,e.branchIndex,u.children.length,d?.chartexStyle);return Wr(t,e.label,d,t.chartexDataPointStyle,e.branchIndex,u.children.length,n,!1,!1)})},h=he(t,o,s,c,l,r,{titleTopPadFrac:.035,titleBottomPadFrac:.035,legendSideReserveFrac:0,legendReserve:dn(e,m,c,l,.22,r),radialGapFrac:.02});Kn(e,t,o,s,c,l,s+h.title.topPad,h.title.fontPx);let{px0:g,py0:_,pw:v,ph:y}=h.plotRect,b=g+v/2,x=_+y/2,S=Math.min(v,y)*.46;u.a0=-Math.PI/2,u.a1=-Math.PI/2+Math.PI*2,ai(u);let C=oi(u)+1,w=S*.18,T=(S-w)/C,E=e=>`#${Ir(t,e,u.children.length,d?.chartexStyle)}`,D=e=>zr(t,e,u.children.length,d?.chartexStyle,d?.color),O=d?.seriesDataLabels,k=Z(t,t.dataLabelFontFace,`minor`),A=U(O?.fontSizeHpt,r)??Math.max(7,Math.min(13,S*.075)),j=O?.fontColor?`#${O.fontColor}`:`#ffffff`,ee=Array.from({length:C},()=>[]),M=[u];for(;M.length>0;){let e=M.pop();e.depth>=0&&ee[e.depth].push(e);for(let t=e.children.length-1;t>=0;t--)M.push(e.children[t])}e.save();for(let n=0;n<C;n++){let a=w+n*T,p=a+T;for(let m of ee[n]){let n=m.a1-m.a0;if(n<=1e-4)continue;e.beginPath(),e.arc(b,x,p,m.a0,m.a1),e.arc(b,x,a,m.a1,m.a0,!0),e.closePath();let h=D(m.branchIndex);h&&(e.fillStyle=Br(e,h,b-p,x-p,p*2,p*2,E(m.branchIndex),i),e.fill()),Ur(e,t,t.chartexDataPointStyle,t.series[0],m.branchIndex,u.children.length,`#ffffff`,r)&&e.stroke();let S=Mr(t,d,m.labelIndex,m.label,m.value,{visible:!1,showVal:!1,showCatName:!1},f);if(!S)continue;let C=S.text,w=U(S.fontSizeHpt,r)??A,O=S.fontColor?`#${S.fontColor}`:j,ee=(m.a0+m.a1)/2,M=(a+p)/2,N=T-4,P=n*M;if(!S.manualLayout&&N<w*.9&&P<w*.9)continue;let te=b+Math.cos(ee)*M,F=x+Math.sin(ee)*M;if(e.font=`${S.fontBold?`bold `:``}${w}px ${k}`,S.manualLayout){wr(e,C,{kind:`point`,x:te,y:F,position:S.position??`ctr`},{x:g,y:_,w:v,h:y},w,O,S.manualLayout,{x:o,y:s,w:c,h:l});continue}e.save(),e.translate(te,F);let I=ee,L=I*180/Math.PI%360;(L>90||L<-90)&&(I+=Math.PI),e.rotate(I),e.font=`${S.fontBold?`bold `:``}${w}px ${k}`,wr(e,C,{kind:`point`,x:0,y:0,position:S.position??`ctr`},{x:-N/2,y:-P/2,w:N,h:P},w,O),e.restore()}}e.restore(),mn(e,m,h.legend,o,s,c,l,g,_,v,y,h.title.bandH+2,r,p,i)}function ci(e,t){let n=e.map((e,t)=>({node:e,index:t,value:e.layoutWeight})).filter(e=>e.value>0).sort((e,t)=>t.value-e.value||e.index-t.index),r=n.reduce((e,t)=>e+t.value,0);if(r<=0||t.w<=0||t.h<=0)return[];let i=t.w*t.h/r,a=n.map(e=>({...e,area:e.value*i})),o=[],s={...t},c=[],l=0,u=1/0,d=0,f=(e,t,n,r)=>{if(e<=0||t<=0||r<=0)return 1/0;let i=r*r;return Math.max(i*n/(e*e),e*e/(i*t))},p=(e,t)=>{if(e.length!==0)if(s.w>=s.h){let n=s.h>0?t/s.h:0,r=s.y;for(let t=0;t<e.length;t++){let i=t===e.length-1?s.y+s.h-r:e[t].area/n;o.push({node:e[t].node,rect:{x:s.x,y:r,w:n,h:i}}),r+=i}s={x:s.x+n,y:s.y,w:Math.max(0,s.w-n),h:s.h}}else{let n=s.w>0?t/s.w:0,r=s.x;for(let t=0;t<e.length;t++){let i=t===e.length-1?s.x+s.w-r:e[t].area/n;o.push({node:e[t].node,rect:{x:r,y:s.y,w:i,h:n}}),r+=i}s={x:s.x,y:s.y+n,w:s.w,h:Math.max(0,s.h-n)}}},m=0;for(;m<a.length;){let e=a[m],t=Math.min(s.w,s.h),n=l+e.area,r=Math.min(u,e.area),i=Math.max(d,e.area);c.length===0||f(n,r,i,t)<=f(l,u,d,t)?(c.push(e),l=n,u=r,d=i,m++):(p(c,l),c=[],l=0,u=1/0,d=0)}return p(c,l),o}function li(e,t,n,r,i){let a=t.chartexTreemap;if(!a||a.rows.length===0)return;if(ri(a.rows)){Yr(e,n,Gr+1);return}let o=ii(a.rows,!0);if(o.layoutWeight<=0||o.children.length===0)return;let s=t.series[0],c=o.children.map(e=>zr(t,e.branchIndex,o.children.length,s?.chartexStyle,s?.color)),l={...t,chartType:`clusteredBar`,series:o.children.map(e=>{let n=Ir(t,e.branchIndex,o.children.length,s?.chartexStyle);return Wr(t,e.label,s,t.chartexDataPointStyle,e.branchIndex,o.children.length,n,!0,!1)})},u=dn(e,l,n.w,n.h,.22,r),d=he(t,n.x,n.y,n.w,n.h,r,{titleTopPadFrac:.035,titleBottomPadFrac:.035,legendSideReserveFrac:0,legendReserve:u,radialGapFrac:.015});Kn(e,t,n.x,n.y,n.w,n.h,n.y+d.title.topPad,d.title.fontPx);let{px0:f,py0:p,pw:m,ph:h}=d.plotRect,g={x:f,y:p,w:m,h},_=Z(t,t.dataLabelFontFace,`minor`),v=a.parentLabelLayout??`overlapping`,y=t.series[0]?.seriesDataLabels,b=U(y?.fontSizeHpt,r)??Math.max(8,Math.min(13,d.plotRect.ph*.025)),x=y?.fontColor?`#${y.fontColor}`:`#ffffff`,S=new Map((t.series[0]?.dataLabelOverrides??[]).map(e=>[e.idx,e])),C=t.chartBg?t.chartBg.startsWith(`#`)?t.chartBg:`#${t.chartBg}`:`#ffffff`,w=(a,c)=>{if(c.w<.5||c.h<.5)return;let l=`#${Ir(t,a.branchIndex,o.children.length,s?.chartexStyle)}`,u=zr(t,a.branchIndex,o.children.length,s?.chartexStyle,s?.color),d=S.get(a.labelIndex),f=d?.fontColor?`#${d.fontColor}`:x,p=U(d?.fontSizeHpt,r)??b,m=d?.fontBold??y?.fontBold??!1;if(a.children.length>0){let r=Mr(t,s,a.labelIndex,a.label,a.value,{visible:v!==`none`,showVal:!1,showCatName:!0},S),o=r!=null&&(v!==`overlapping`||a.depth===0),h=p,y=v===`banner`&&o?Math.min(c.h*.28,h+7):0;y>0&&u&&(e.fillStyle=Br(e,u,c.x,c.y,c.w,y,l,i),e.fillRect(c.x,c.y,c.w,y));let b={x:c.x,y:c.y+y,w:c.w,h:Math.max(0,c.h-y)};for(let e of ci(a.children,b))w(e.node,e.rect);if(o&&(r.manualLayout||c.w>h*2&&c.h>h+4)){e.font=`${m?`bold `:``}${h}px ${_}`;let t=y>0?{x:c.x,y:c.y,w:c.w,h:y}:c,i=d?.position??`inBase`;wr(e,r.text,r.manualLayout?{kind:`point`,x:c.x+c.w/2,y:c.y+c.h/2,position:i}:{kind:`box`,rect:t,position:i},r.manualLayout?g:t,h,f,r.manualLayout,n)}return}u&&(e.fillStyle=Br(e,u,c.x,c.y,c.w,c.h,l,i),e.fillRect(c.x,c.y,c.w,c.h)),Ur(e,t,t.chartexDataPointStyle,t.series[0],a.branchIndex,o.children.length,C,r,{linkedNoStyleFallback:!0})&&e.strokeRect(c.x,c.y,c.w,c.h);let h=Mr(t,s,a.labelIndex,a.label,a.value,{visible:!1,showVal:!1,showCatName:!1},S);if(!h)return;let T=U(h.fontSizeHpt,r)??p;if(!h.manualLayout&&(c.w<=T*1.2||c.h<=T*1.2))return;e.font=`${h.fontBold?`bold `:``}${T}px ${_}`;let E=c,D=h.position===`outEnd`?`inEnd`:h.position??`ctr`;wr(e,h.text,h.manualLayout?{kind:`point`,x:c.x+c.w/2,y:c.y+c.h/2,position:D}:{kind:`box`,rect:E,position:D},h.manualLayout?g:E,T,h.fontColor?`#${h.fontColor}`:f,h.manualLayout,n)};e.save(),e.beginPath(),e.rect(f,p,m,h),e.clip();for(let e of ci(o.children,{x:f,y:p,w:m,h}))w(e.node,e.rect);e.restore(),mn(e,l,d.legend,n.x,n.y,n.w,n.h,f,p,m,h,d.title.bandH+2,r,c,i)}function ui(e,t,n,r){let i=t.chartTextBoxes;if(i?.length)for(let a of i){let i=n.x+a.x*n.w,o=n.y+a.y*n.h,s=a.w*n.w,c=a.h*n.h;if(!(s>0&&c>0))continue;let l=i+(a.lIns??91440)/X*r,u=o+(a.tIns??45720)/X*r,d=i+s-(a.rIns??91440)/X*r,f=o+c-(a.bIns??45720)/X*r,p=d-l,m=f-u;if(!(p>0&&m>0))continue;let h=(e,t)=>{let n=Math.max(1,...t.map(e=>e.fontPx));return{paragraph:e,runs:t,width:t.reduce((e,t)=>e+t.width,0),height:n*1.2,baseline:n*.9}},g=a.paragraphs.flatMap(n=>{let i=n.runs.map(n=>{let i=Math.max(1,(n.fontSizeHpt??1e3)/100*r),a=`${n.bold?`bold `:``}${i}px ${Z(t,n.fontFace,`minor`)}`;return e.font=a,{run:n,text:n.text,fontPx:i,font:a,width:e.measureText(n.text).width}}),o=i.reduce((e,t)=>e+t.width,0);if(a.wrap===`none`||o<=p)return[h(n,i)];let s=[],c=[],l=0,u=()=>{c.length&&(s.push(h(n,c)),c=[],l=0)};for(let t of i){let n=t.text.match(/\\s+|\\S+/g)??[];for(let r of n){let n=/^\\s+$/.test(r);e.font=t.font;let i=e.measureText(r).width;c.length&&l+i>p&&u(),!(n&&!c.length)&&(c.push({...t,text:r,width:i}),l+=i)}}return u(),s.length?s:[h(n,i)]}),_=g.reduce((e,t)=>e+t.height,0),v=a.verticalAnchor===`b`?f-_:a.verticalAnchor===`ctr`?u+(m-_)/2:u;e.save(),e.beginPath(),e.rect(i,o,s,c),e.clip(),e.textAlign=`left`,e.textBaseline=`alphabetic`;let y=v;for(let t of g){let n=t.paragraph.align,r=n===`ctr`?l+(p-t.width)/2:n===`r`?d-t.width:l;for(let n of t.runs)e.font=n.font,e.fillStyle=n.run.color?`#${n.run.color}`:`#000000`,e.fillText(n.text,r,y+t.baseline),r+=n.width;y+=t.height}e.restore()}}function di(e,t,n,r=Me,i=0,a,o){e.save();try{let{x:s,y:c,w:l,h:u}=n;if(t.chartBg&&(e.fillStyle=`#${t.chartBg}`,e.fillRect(s,c,l,u)),t.chartBorderColor){e.save(),e.strokeStyle=`#${t.chartBorderColor}`,e.lineWidth=t.chartBorderWidthEmu?Math.max(.5,t.chartBorderWidthEmu/X)*r:1;let n=e.lineWidth;e.strokeRect(s+n/2,c+n/2,l-n,u-n),e.restore()}let d=t.chartexBox!=null||t.chartexSunburst!=null||t.chartexTreemap!=null||t.chartexRegionMap!=null;if(t.series.length===0&&!d){e.fillStyle=`#888`,e.font=`12px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(`(no data)`,s+l/2,c+u/2),ui(e,t,n,r);return}let f=qr(t),p=Jr(t,a);if((f!=null||p!=null)&&Yr(e,n,Math.max(f??0,p??0))){ui(e,t,n,r);return}if(a?.render(e,t,n,r)){ui(e,t,n,r);return}if(o?.render(e,t,n,r)){ui(e,t,n,r);return}switch(t.chartType){case`clusteredBar`:case`clusteredBarH`:case`stackedBar`:case`stackedBarH`:case`stackedBarPct`:case`stackedBarHPct`:Xn(e,t,n,r);break;case`line`:case`stackedLine`:case`stackedLinePct`:Zn(e,t,n,r);break;case`area`:case`stackedArea`:case`stackedAreaPct`:$n(e,t,n,r);break;case`pie`:rr(e,t,n,!1,r);break;case`ofPie`:nr(e,t,n,r);break;case`doughnut`:rr(e,t,n,!0,r);break;case`radar`:ur(e,t,n,r);break;case`scatter`:case`bubble`:vr(e,t,n,r);break;case`waterfall`:Zr(e,t,n,r,i);break;case`clusteredColumn`:Xn(e,{...t,chartType:`clusteredBar`},n,r,{gapPolicy:`chartex`});break;case`histogram`:Xr(e,t,n,r);break;case`funnel`:Qr(e,t,n,r,i);break;case`paretoLine`:$r(e,t,n,r);break;case`pareto`:ei(e,t,n,r);break;case`stock`:Qn(e,t,n,r);break;case`boxWhisker`:ni(e,t,n,r,i);break;case`sunburst`:si(e,t,n,r,i);break;case`treemap`:li(e,t,n,r,i);break;default:e.fillStyle=`#888`,e.font=`11px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(`Chart: ${t.chartType}`,s+l/2,c+u/2)}ui(e,t,n,r)}finally{e.restore()}}var fi={accentbordercallout1:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 112500`],[`adj4`,`val -38333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`t`],[`c`],[`l`,`x1`,`b`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`]]}]},accentbordercallout2:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 112500`],[`adj6`,`val -46667`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`t`],[`c`],[`l`,`x1`,`b`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`]]}]},accentbordercallout3:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 100000`],[`adj6`,`val -16667`],[`adj7`,`val 112963`],[`adj8`,`val -8333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`],[`y4`,`*/ h adj7 100000`],[`x4`,`*/ w adj8 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`t`],[`c`],[`l`,`x1`,`b`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`],[`l`,`x4`,`y4`]]}]},accentcallout1:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 112500`],[`adj4`,`val -38333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`t`],[`c`],[`l`,`x1`,`b`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`]]}]},accentcallout2:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 112500`],[`adj6`,`val -46667`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`t`],[`c`],[`l`,`x1`,`b`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`]]}]},accentcallout3:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 100000`],[`adj6`,`val -16667`],[`adj7`,`val 112963`],[`adj8`,`val -8333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`],[`y4`,`*/ h adj7 100000`],[`x4`,`*/ w adj8 100000`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`t`],[`c`],[`l`,`x1`,`b`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`],[`l`,`x4`,`y4`]]}]},actionbuttonbackprevious:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g11`,`vc`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g11`,`vc`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g11`,`vc`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonbeginning:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 1 8`],[`g15`,`*/ g13 1 4`],[`g16`,`+- g11 g14 0`],[`g17`,`+- g11 g15 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g17`,`vc`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`c`],[`m`,`g16`,`g9`],[`l`,`g11`,`g9`],[`l`,`g11`,`g10`],[`l`,`g16`,`g10`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g17`,`vc`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`c`],[`m`,`g16`,`g9`],[`l`,`g11`,`g9`],[`l`,`g11`,`g10`],[`l`,`g16`,`g10`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g17`,`vc`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`c`],[`m`,`g16`,`g9`],[`l`,`g16`,`g10`],[`l`,`g11`,`g10`],[`l`,`g11`,`g9`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonblank:{adj:[],gd:[],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttondocument:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`dx1`,`*/ ss 9 32`],[`g11`,`+- hc 0 dx1`],[`g12`,`+- hc dx1 0`],[`g13`,`*/ ss 3 16`],[`g14`,`+- g12 0 g13`],[`g15`,`+- g9 g13 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g11`,`g9`],[`l`,`g14`,`g9`],[`l`,`g12`,`g15`],[`l`,`g12`,`g10`],[`l`,`g11`,`g10`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g11`,`g9`],[`l`,`g14`,`g9`],[`l`,`g14`,`g15`],[`l`,`g12`,`g15`],[`l`,`g12`,`g10`],[`l`,`g11`,`g10`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g14`,`g9`],[`l`,`g14`,`g15`],[`l`,`g12`,`g15`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g11`,`g9`],[`l`,`g14`,`g9`],[`l`,`g12`,`g15`],[`l`,`g12`,`g10`],[`l`,`g11`,`g10`],[`c`],[`m`,`g12`,`g15`],[`l`,`g14`,`g15`],[`l`,`g14`,`g9`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonend:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 3 4`],[`g15`,`*/ g13 7 8`],[`g16`,`+- g11 g14 0`],[`g17`,`+- g11 g15 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g16`,`vc`],[`l`,`g11`,`g9`],[`l`,`g11`,`g10`],[`c`],[`m`,`g17`,`g9`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`l`,`g17`,`g10`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g16`,`vc`],[`l`,`g11`,`g9`],[`l`,`g11`,`g10`],[`c`],[`m`,`g17`,`g9`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`l`,`g17`,`g10`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g16`,`vc`],[`l`,`g11`,`g10`],[`l`,`g11`,`g9`],[`c`],[`m`,`g17`,`g9`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`l`,`g17`,`g10`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonforwardnext:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g12`,`vc`],[`l`,`g11`,`g9`],[`l`,`g11`,`g10`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g12`,`vc`],[`l`,`g11`,`g9`],[`l`,`g11`,`g10`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g12`,`vc`],[`l`,`g11`,`g10`],[`l`,`g11`,`g9`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonhelp:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g11`,`+- hc 0 dx2`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 1 7`],[`g15`,`*/ g13 3 14`],[`g16`,`*/ g13 2 7`],[`g19`,`*/ g13 3 7`],[`g20`,`*/ g13 4 7`],[`g21`,`*/ g13 17 28`],[`g23`,`*/ g13 21 28`],[`g24`,`*/ g13 11 14`],[`g27`,`+- g9 g16 0`],[`g29`,`+- g9 g21 0`],[`g30`,`+- g9 g23 0`],[`g31`,`+- g9 g24 0`],[`g33`,`+- g11 g15 0`],[`g36`,`+- g11 g19 0`],[`g37`,`+- g11 g20 0`],[`g41`,`*/ g13 1 14`],[`g42`,`*/ g13 3 28`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g33`,`g27`],[`a`,`g16`,`g16`,`cd2`,`cd2`],[`a`,`g14`,`g15`,`0`,`cd4`],[`a`,`g41`,`g42`,`3cd4`,`-5400000`],[`l`,`g37`,`g30`],[`l`,`g36`,`g30`],[`l`,`g36`,`g29`],[`a`,`g14`,`g15`,`cd2`,`cd4`],[`a`,`g41`,`g42`,`cd4`,`-5400000`],[`a`,`g14`,`g14`,`0`,`-10800000`],[`c`],[`m`,`hc`,`g31`],[`a`,`g42`,`g42`,`3cd4`,`21600000`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g33`,`g27`],[`a`,`g16`,`g16`,`cd2`,`cd2`],[`a`,`g14`,`g15`,`0`,`cd4`],[`a`,`g41`,`g42`,`3cd4`,`-5400000`],[`l`,`g37`,`g30`],[`l`,`g36`,`g30`],[`l`,`g36`,`g29`],[`a`,`g14`,`g15`,`cd2`,`cd4`],[`a`,`g41`,`g42`,`cd4`,`-5400000`],[`a`,`g14`,`g14`,`0`,`-10800000`],[`c`],[`m`,`hc`,`g31`],[`a`,`g42`,`g42`,`3cd4`,`21600000`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g33`,`g27`],[`a`,`g16`,`g16`,`cd2`,`cd2`],[`a`,`g14`,`g15`,`0`,`cd4`],[`a`,`g41`,`g42`,`3cd4`,`-5400000`],[`l`,`g37`,`g30`],[`l`,`g36`,`g30`],[`l`,`g36`,`g29`],[`a`,`g14`,`g15`,`cd2`,`cd4`],[`a`,`g41`,`g42`,`cd4`,`-5400000`],[`a`,`g14`,`g14`,`0`,`-10800000`],[`c`],[`m`,`hc`,`g31`],[`a`,`g42`,`g42`,`3cd4`,`21600000`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonhome:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 1 16`],[`g15`,`*/ g13 1 8`],[`g16`,`*/ g13 3 16`],[`g17`,`*/ g13 5 16`],[`g18`,`*/ g13 7 16`],[`g19`,`*/ g13 9 16`],[`g20`,`*/ g13 11 16`],[`g21`,`*/ g13 3 4`],[`g22`,`*/ g13 13 16`],[`g23`,`*/ g13 7 8`],[`g24`,`+- g9 g14 0`],[`g25`,`+- g9 g16 0`],[`g26`,`+- g9 g17 0`],[`g27`,`+- g9 g21 0`],[`g28`,`+- g11 g15 0`],[`g29`,`+- g11 g18 0`],[`g30`,`+- g11 g19 0`],[`g31`,`+- g11 g20 0`],[`g32`,`+- g11 g22 0`],[`g33`,`+- g11 g23 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`hc`,`g9`],[`l`,`g11`,`vc`],[`l`,`g28`,`vc`],[`l`,`g28`,`g10`],[`l`,`g33`,`g10`],[`l`,`g33`,`vc`],[`l`,`g12`,`vc`],[`l`,`g32`,`g26`],[`l`,`g32`,`g24`],[`l`,`g31`,`g24`],[`l`,`g31`,`g25`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g32`,`g26`],[`l`,`g32`,`g24`],[`l`,`g31`,`g24`],[`l`,`g31`,`g25`],[`c`],[`m`,`g28`,`vc`],[`l`,`g28`,`g10`],[`l`,`g29`,`g10`],[`l`,`g29`,`g27`],[`l`,`g30`,`g27`],[`l`,`g30`,`g10`],[`l`,`g33`,`g10`],[`l`,`g33`,`vc`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`hc`,`g9`],[`l`,`g11`,`vc`],[`l`,`g12`,`vc`],[`c`],[`m`,`g29`,`g27`],[`l`,`g30`,`g27`],[`l`,`g30`,`g10`],[`l`,`g29`,`g10`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`hc`,`g9`],[`l`,`g31`,`g25`],[`l`,`g31`,`g24`],[`l`,`g32`,`g24`],[`l`,`g32`,`g26`],[`l`,`g12`,`vc`],[`l`,`g33`,`vc`],[`l`,`g33`,`g10`],[`l`,`g28`,`g10`],[`l`,`g28`,`vc`],[`l`,`g11`,`vc`],[`c`],[`m`,`g31`,`g25`],[`l`,`g32`,`g26`],[`m`,`g33`,`vc`],[`l`,`g28`,`vc`],[`m`,`g29`,`g10`],[`l`,`g29`,`g27`],[`l`,`g30`,`g27`],[`l`,`g30`,`g10`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttoninformation:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g11`,`+- hc 0 dx2`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 1 32`],[`g17`,`*/ g13 5 16`],[`g18`,`*/ g13 3 8`],[`g19`,`*/ g13 13 32`],[`g20`,`*/ g13 19 32`],[`g22`,`*/ g13 11 16`],[`g23`,`*/ g13 13 16`],[`g24`,`*/ g13 7 8`],[`g25`,`+- g9 g14 0`],[`g28`,`+- g9 g17 0`],[`g29`,`+- g9 g18 0`],[`g30`,`+- g9 g23 0`],[`g31`,`+- g9 g24 0`],[`g32`,`+- g11 g17 0`],[`g34`,`+- g11 g19 0`],[`g35`,`+- g11 g20 0`],[`g37`,`+- g11 g22 0`],[`g38`,`*/ g13 3 32`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`hc`,`g9`],[`a`,`dx2`,`dx2`,`3cd4`,`21600000`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`hc`,`g9`],[`a`,`dx2`,`dx2`,`3cd4`,`21600000`],[`c`],[`m`,`hc`,`g25`],[`a`,`g38`,`g38`,`3cd4`,`21600000`],[`m`,`g32`,`g28`],[`l`,`g32`,`g29`],[`l`,`g34`,`g29`],[`l`,`g34`,`g30`],[`l`,`g32`,`g30`],[`l`,`g32`,`g31`],[`l`,`g37`,`g31`],[`l`,`g37`,`g30`],[`l`,`g35`,`g30`],[`l`,`g35`,`g28`],[`c`]]},{w:null,h:null,fill:`lighten`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`hc`,`g25`],[`a`,`g38`,`g38`,`3cd4`,`21600000`],[`m`,`g32`,`g28`],[`l`,`g35`,`g28`],[`l`,`g35`,`g30`],[`l`,`g37`,`g30`],[`l`,`g37`,`g31`],[`l`,`g32`,`g31`],[`l`,`g32`,`g30`],[`l`,`g34`,`g30`],[`l`,`g34`,`g29`],[`l`,`g32`,`g29`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`hc`,`g9`],[`a`,`dx2`,`dx2`,`3cd4`,`21600000`],[`c`],[`m`,`hc`,`g25`],[`a`,`g38`,`g38`,`3cd4`,`21600000`],[`m`,`g32`,`g28`],[`l`,`g35`,`g28`],[`l`,`g35`,`g30`],[`l`,`g37`,`g30`],[`l`,`g37`,`g31`],[`l`,`g32`,`g31`],[`l`,`g32`,`g30`],[`l`,`g34`,`g30`],[`l`,`g34`,`g29`],[`l`,`g32`,`g29`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonmovie:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 1455 21600`],[`g15`,`*/ g13 1905 21600`],[`g16`,`*/ g13 2325 21600`],[`g17`,`*/ g13 16155 21600`],[`g18`,`*/ g13 17010 21600`],[`g19`,`*/ g13 19335 21600`],[`g20`,`*/ g13 19725 21600`],[`g21`,`*/ g13 20595 21600`],[`g22`,`*/ g13 5280 21600`],[`g23`,`*/ g13 5730 21600`],[`g24`,`*/ g13 6630 21600`],[`g25`,`*/ g13 7492 21600`],[`g26`,`*/ g13 9067 21600`],[`g27`,`*/ g13 9555 21600`],[`g28`,`*/ g13 13342 21600`],[`g29`,`*/ g13 14580 21600`],[`g30`,`*/ g13 15592 21600`],[`g31`,`+- g11 g14 0`],[`g32`,`+- g11 g15 0`],[`g33`,`+- g11 g16 0`],[`g34`,`+- g11 g17 0`],[`g35`,`+- g11 g18 0`],[`g36`,`+- g11 g19 0`],[`g37`,`+- g11 g20 0`],[`g38`,`+- g11 g21 0`],[`g39`,`+- g9 g22 0`],[`g40`,`+- g9 g23 0`],[`g41`,`+- g9 g24 0`],[`g42`,`+- g9 g25 0`],[`g43`,`+- g9 g26 0`],[`g44`,`+- g9 g27 0`],[`g45`,`+- g9 g28 0`],[`g46`,`+- g9 g29 0`],[`g47`,`+- g9 g30 0`],[`g48`,`+- g9 g31 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g11`,`g39`],[`l`,`g11`,`g44`],[`l`,`g31`,`g44`],[`l`,`g32`,`g43`],[`l`,`g33`,`g43`],[`l`,`g33`,`g47`],[`l`,`g35`,`g47`],[`l`,`g35`,`g45`],[`l`,`g36`,`g45`],[`l`,`g38`,`g46`],[`l`,`g12`,`g46`],[`l`,`g12`,`g41`],[`l`,`g38`,`g41`],[`l`,`g37`,`g42`],[`l`,`g35`,`g42`],[`l`,`g35`,`g41`],[`l`,`g34`,`g40`],[`l`,`g32`,`g40`],[`l`,`g31`,`g39`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g11`,`g39`],[`l`,`g11`,`g44`],[`l`,`g31`,`g44`],[`l`,`g32`,`g43`],[`l`,`g33`,`g43`],[`l`,`g33`,`g47`],[`l`,`g35`,`g47`],[`l`,`g35`,`g45`],[`l`,`g36`,`g45`],[`l`,`g38`,`g46`],[`l`,`g12`,`g46`],[`l`,`g12`,`g41`],[`l`,`g38`,`g41`],[`l`,`g37`,`g42`],[`l`,`g35`,`g42`],[`l`,`g35`,`g41`],[`l`,`g34`,`g40`],[`l`,`g32`,`g40`],[`l`,`g31`,`g39`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g11`,`g39`],[`l`,`g31`,`g39`],[`l`,`g32`,`g40`],[`l`,`g34`,`g40`],[`l`,`g35`,`g41`],[`l`,`g35`,`g42`],[`l`,`g37`,`g42`],[`l`,`g38`,`g41`],[`l`,`g12`,`g41`],[`l`,`g12`,`g46`],[`l`,`g38`,`g46`],[`l`,`g36`,`g45`],[`l`,`g35`,`g45`],[`l`,`g35`,`g47`],[`l`,`g33`,`g47`],[`l`,`g33`,`g43`],[`l`,`g32`,`g43`],[`l`,`g31`,`g44`],[`l`,`g11`,`g44`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonreturn:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 7 8`],[`g15`,`*/ g13 3 4`],[`g16`,`*/ g13 5 8`],[`g17`,`*/ g13 3 8`],[`g18`,`*/ g13 1 4`],[`g19`,`+- g9 g15 0`],[`g20`,`+- g9 g16 0`],[`g21`,`+- g9 g18 0`],[`g22`,`+- g11 g14 0`],[`g23`,`+- g11 g15 0`],[`g24`,`+- g11 g16 0`],[`g25`,`+- g11 g17 0`],[`g26`,`+- g11 g18 0`],[`g27`,`*/ g13 1 8`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g12`,`g21`],[`l`,`g23`,`g9`],[`l`,`hc`,`g21`],[`l`,`g24`,`g21`],[`l`,`g24`,`g20`],[`a`,`g27`,`g27`,`0`,`cd4`],[`l`,`g25`,`g19`],[`a`,`g27`,`g27`,`cd4`,`cd4`],[`l`,`g26`,`g21`],[`l`,`g11`,`g21`],[`l`,`g11`,`g20`],[`a`,`g17`,`g17`,`cd2`,`-5400000`],[`l`,`hc`,`g10`],[`a`,`g17`,`g17`,`cd4`,`-5400000`],[`l`,`g22`,`g21`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g12`,`g21`],[`l`,`g23`,`g9`],[`l`,`hc`,`g21`],[`l`,`g24`,`g21`],[`l`,`g24`,`g20`],[`a`,`g27`,`g27`,`0`,`cd4`],[`l`,`g25`,`g19`],[`a`,`g27`,`g27`,`cd4`,`cd4`],[`l`,`g26`,`g21`],[`l`,`g11`,`g21`],[`l`,`g11`,`g20`],[`a`,`g17`,`g17`,`cd2`,`-5400000`],[`l`,`hc`,`g10`],[`a`,`g17`,`g17`,`cd4`,`-5400000`],[`l`,`g22`,`g21`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g12`,`g21`],[`l`,`g22`,`g21`],[`l`,`g22`,`g20`],[`a`,`g17`,`g17`,`0`,`cd4`],[`l`,`g25`,`g10`],[`a`,`g17`,`g17`,`cd4`,`cd4`],[`l`,`g11`,`g21`],[`l`,`g26`,`g21`],[`l`,`g26`,`g20`],[`a`,`g27`,`g27`,`cd2`,`-5400000`],[`l`,`hc`,`g19`],[`a`,`g27`,`g27`,`cd4`,`-5400000`],[`l`,`g24`,`g21`],[`l`,`hc`,`g21`],[`l`,`g23`,`g9`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonsound:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 1 8`],[`g15`,`*/ g13 5 16`],[`g16`,`*/ g13 5 8`],[`g17`,`*/ g13 11 16`],[`g18`,`*/ g13 3 4`],[`g19`,`*/ g13 7 8`],[`g20`,`+- g9 g14 0`],[`g21`,`+- g9 g15 0`],[`g22`,`+- g9 g17 0`],[`g23`,`+- g9 g19 0`],[`g24`,`+- g11 g15 0`],[`g25`,`+- g11 g16 0`],[`g26`,`+- g11 g18 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g11`,`g21`],[`l`,`g11`,`g22`],[`l`,`g24`,`g22`],[`l`,`g25`,`g10`],[`l`,`g25`,`g9`],[`l`,`g24`,`g21`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g11`,`g21`],[`l`,`g11`,`g22`],[`l`,`g24`,`g22`],[`l`,`g25`,`g10`],[`l`,`g25`,`g9`],[`l`,`g24`,`g21`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g11`,`g21`],[`l`,`g24`,`g21`],[`l`,`g25`,`g9`],[`l`,`g25`,`g10`],[`l`,`g24`,`g22`],[`l`,`g11`,`g22`],[`c`],[`m`,`g26`,`g21`],[`l`,`g12`,`g20`],[`m`,`g26`,`vc`],[`l`,`g12`,`vc`],[`m`,`g26`,`g22`],[`l`,`g12`,`g23`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},arc:{adj:[[`adj1`,`val 16200000`],[`adj2`,`val 0`]],gd:[[`stAng`,`pin 0 adj1 21599999`],[`enAng`,`pin 0 adj2 21599999`],[`sw11`,`+- enAng 0 stAng`],[`sw12`,`+- sw11 21600000 0`],[`swAng`,`?: sw11 sw11 sw12`],[`wt1`,`sin wd2 stAng`],[`ht1`,`cos hd2 stAng`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`wt2`,`sin wd2 enAng`],[`ht2`,`cos hd2 enAng`],[`dx2`,`cat2 wd2 ht2 wt2`],[`dy2`,`sat2 hd2 ht2 wt2`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`],[`sw0`,`+- 21600000 0 stAng`],[`da1`,`+- swAng 0 sw0`],[`g1`,`max x1 x2`],[`ir`,`?: da1 r g1`],[`sw1`,`+- cd4 0 stAng`],[`sw2`,`+- 27000000 0 stAng`],[`sw3`,`?: sw1 sw1 sw2`],[`da2`,`+- swAng 0 sw3`],[`g5`,`max y1 y2`],[`ib`,`?: da2 b g5`],[`sw4`,`+- cd2 0 stAng`],[`sw5`,`+- 32400000 0 stAng`],[`sw6`,`?: sw4 sw4 sw5`],[`da3`,`+- swAng 0 sw6`],[`g9`,`min x1 x2`],[`il`,`?: da3 l g9`],[`sw7`,`+- 3cd4 0 stAng`],[`sw8`,`+- 37800000 0 stAng`],[`sw9`,`?: sw7 sw7 sw8`],[`da4`,`+- swAng 0 sw9`],[`g13`,`min y1 y2`],[`it`,`?: da4 t g13`],[`cang1`,`+- stAng 0 cd4`],[`cang2`,`+- enAng cd4 0`],[`cang3`,`+/ cang1 cang2 2`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stAng`,`swAng`],[`l`,`hc`,`vc`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stAng`,`swAng`]]}]},bentarrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 43750`]],gd:[[`a2`,`pin 0 adj2 50000`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`a3`,`pin 0 adj3 50000`],[`th`,`*/ ss a1 100000`],[`aw2`,`*/ ss a2 100000`],[`th2`,`*/ th 1 2`],[`dh2`,`+- aw2 0 th2`],[`ah`,`*/ ss a3 100000`],[`bw`,`+- r 0 ah`],[`bh`,`+- b 0 dh2`],[`bs`,`min bw bh`],[`maxAdj4`,`*/ 100000 bs ss`],[`a4`,`pin 0 adj4 maxAdj4`],[`bd`,`*/ ss a4 100000`],[`bd3`,`+- bd 0 th`],[`bd2`,`max bd3 0`],[`x3`,`+- th bd2 0`],[`x4`,`+- r 0 ah`],[`y3`,`+- dh2 th 0`],[`y4`,`+- y3 dh2 0`],[`y5`,`+- dh2 bd 0`],[`y6`,`+- y3 bd2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`l`,`y5`],[`a`,`bd`,`bd`,`cd2`,`cd4`],[`l`,`x4`,`dh2`],[`l`,`x4`,`t`],[`l`,`r`,`aw2`],[`l`,`x4`,`y4`],[`l`,`x4`,`y3`],[`l`,`x3`,`y3`],[`a`,`bd2`,`bd2`,`3cd4`,`-5400000`],[`l`,`th`,`b`],[`c`]]}]},bentconnector2:{adj:[],gd:[],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`]]}]},bentconnector3:{adj:[[`adj1`,`val 50000`]],gd:[[`x1`,`*/ w adj1 100000`]],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`l`,`x1`,`b`],[`l`,`r`,`b`]]}]},bentconnector4:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`x1`,`*/ w adj1 100000`],[`x2`,`+/ x1 r 2`],[`y2`,`*/ h adj2 100000`],[`y1`,`+/ t y2 2`]],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`l`,`x1`,`y2`],[`l`,`r`,`y2`],[`l`,`r`,`b`]]}]},bentconnector5:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`],[`adj3`,`val 50000`]],gd:[[`x1`,`*/ w adj1 100000`],[`x3`,`*/ w adj3 100000`],[`x2`,`+/ x1 x3 2`],[`y2`,`*/ h adj2 100000`],[`y1`,`+/ t y2 2`],[`y3`,`+/ b y2 2`]],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`l`,`x1`,`y2`],[`l`,`x3`,`y2`],[`l`,`x3`,`b`],[`l`,`r`,`b`]]}]},bentuparrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`]],gd:[[`a1`,`pin 0 adj1 50000`],[`a2`,`pin 0 adj2 50000`],[`a3`,`pin 0 adj3 50000`],[`y1`,`*/ ss a3 100000`],[`dx1`,`*/ ss a2 50000`],[`x1`,`+- r 0 dx1`],[`dx3`,`*/ ss a2 100000`],[`x3`,`+- r 0 dx3`],[`dx2`,`*/ ss a1 200000`],[`x2`,`+- x3 0 dx2`],[`x4`,`+- x3 dx2 0`],[`dy2`,`*/ ss a1 100000`],[`y2`,`+- b 0 dy2`],[`x0`,`*/ x4 1 2`],[`y3`,`+/ y2 b 2`],[`y15`,`+/ y1 b 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`y1`],[`l`,`x1`,`y1`],[`l`,`x3`,`t`],[`l`,`r`,`y1`],[`l`,`x4`,`y1`],[`l`,`x4`,`b`],[`l`,`l`,`b`],[`c`]]}]},bevel:{adj:[[`adj`,`val 12500`]],gd:[[`a`,`pin 0 adj 50000`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`y2`,`+- b 0 x1`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x1`,`x1`],[`l`,`x2`,`x1`],[`l`,`x2`,`y2`],[`l`,`x1`,`y2`],[`c`]]},{w:null,h:null,fill:`lightenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`x2`,`x1`],[`l`,`x1`,`x1`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`b`],[`l`,`x1`,`y2`],[`l`,`x2`,`y2`],[`l`,`r`,`b`],[`c`]]},{w:null,h:null,fill:`lighten`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`x1`],[`l`,`x1`,`y2`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`r`,`t`],[`l`,`r`,`b`],[`l`,`x2`,`y2`],[`l`,`x2`,`x1`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`x1`,`x1`],[`l`,`x2`,`x1`],[`l`,`x2`,`y2`],[`l`,`x1`,`y2`],[`c`],[`m`,`l`,`t`],[`l`,`x1`,`x1`],[`m`,`l`,`b`],[`l`,`x1`,`y2`],[`m`,`r`,`t`],[`l`,`x2`,`x1`],[`m`,`r`,`b`],[`l`,`x2`,`y2`]]}]},blockarc:{adj:[[`adj1`,`val 10800000`],[`adj2`,`val 0`],[`adj3`,`val 25000`]],gd:[[`stAng`,`pin 0 adj1 21599999`],[`istAng`,`pin 0 adj2 21599999`],[`a3`,`pin 0 adj3 50000`],[`sw11`,`+- istAng 0 stAng`],[`sw12`,`+- sw11 21600000 0`],[`swAng`,`?: sw11 sw11 sw12`],[`iswAng`,`+- 0 0 swAng`],[`wt1`,`sin wd2 stAng`],[`ht1`,`cos hd2 stAng`],[`wt3`,`sin wd2 istAng`],[`ht3`,`cos hd2 istAng`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`dx3`,`cat2 wd2 ht3 wt3`],[`dy3`,`sat2 hd2 ht3 wt3`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`x3`,`+- hc dx3 0`],[`y3`,`+- vc dy3 0`],[`dr`,`*/ ss a3 100000`],[`iwd2`,`+- wd2 0 dr`],[`ihd2`,`+- hd2 0 dr`],[`wt2`,`sin iwd2 istAng`],[`ht2`,`cos ihd2 istAng`],[`wt4`,`sin iwd2 stAng`],[`ht4`,`cos ihd2 stAng`],[`dx2`,`cat2 iwd2 ht2 wt2`],[`dy2`,`sat2 ihd2 ht2 wt2`],[`dx4`,`cat2 iwd2 ht4 wt4`],[`dy4`,`sat2 ihd2 ht4 wt4`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`],[`x4`,`+- hc dx4 0`],[`y4`,`+- vc dy4 0`],[`sw0`,`+- 21600000 0 stAng`],[`da1`,`+- swAng 0 sw0`],[`g1`,`max x1 x2`],[`g2`,`max x3 x4`],[`g3`,`max g1 g2`],[`ir`,`?: da1 r g3`],[`sw1`,`+- cd4 0 stAng`],[`sw2`,`+- 27000000 0 stAng`],[`sw3`,`?: sw1 sw1 sw2`],[`da2`,`+- swAng 0 sw3`],[`g5`,`max y1 y2`],[`g6`,`max y3 y4`],[`g7`,`max g5 g6`],[`ib`,`?: da2 b g7`],[`sw4`,`+- cd2 0 stAng`],[`sw5`,`+- 32400000 0 stAng`],[`sw6`,`?: sw4 sw4 sw5`],[`da3`,`+- swAng 0 sw6`],[`g9`,`min x1 x2`],[`g10`,`min x3 x4`],[`g11`,`min g9 g10`],[`il`,`?: da3 l g11`],[`sw7`,`+- 3cd4 0 stAng`],[`sw8`,`+- 37800000 0 stAng`],[`sw9`,`?: sw7 sw7 sw8`],[`da4`,`+- swAng 0 sw9`],[`g13`,`min y1 y2`],[`g14`,`min y3 y4`],[`g15`,`min g13 g14`],[`it`,`?: da4 t g15`],[`x5`,`+/ x1 x4 2`],[`y5`,`+/ y1 y4 2`],[`x6`,`+/ x3 x2 2`],[`y6`,`+/ y3 y2 2`],[`cang1`,`+- stAng 0 cd4`],[`cang2`,`+- istAng cd4 0`],[`cang3`,`+/ cang1 cang2 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stAng`,`swAng`],[`l`,`x2`,`y2`],[`a`,`iwd2`,`ihd2`,`istAng`,`iswAng`],[`c`]]}]},bordercallout1:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 112500`],[`adj4`,`val -38333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`]]}]},bordercallout2:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 112500`],[`adj6`,`val -46667`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`]]}]},bordercallout3:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 100000`],[`adj6`,`val -16667`],[`adj7`,`val 112963`],[`adj8`,`val -8333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`],[`y4`,`*/ h adj7 100000`],[`x4`,`*/ w adj8 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`],[`l`,`x4`,`y4`]]}]},bracepair:{adj:[[`adj`,`val 8333`]],gd:[[`a`,`pin 0 adj 25000`],[`x1`,`*/ ss a 100000`],[`x2`,`*/ ss a 50000`],[`x3`,`+- r 0 x2`],[`x4`,`+- r 0 x1`],[`y2`,`+- vc 0 x1`],[`y3`,`+- vc x1 0`],[`y4`,`+- b 0 x1`],[`it`,`*/ x1 29289 100000`],[`il`,`+- x1 it 0`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 it`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x2`,`b`],[`a`,`x1`,`x1`,`cd4`,`cd4`],[`l`,`x1`,`y3`],[`a`,`x1`,`x1`,`0`,`-5400000`],[`a`,`x1`,`x1`,`cd4`,`-5400000`],[`l`,`x1`,`x1`],[`a`,`x1`,`x1`,`cd2`,`cd4`],[`l`,`x3`,`t`],[`a`,`x1`,`x1`,`3cd4`,`cd4`],[`l`,`x4`,`y2`],[`a`,`x1`,`x1`,`cd2`,`-5400000`],[`a`,`x1`,`x1`,`3cd4`,`-5400000`],[`l`,`x4`,`y4`],[`a`,`x1`,`x1`,`0`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x2`,`b`],[`a`,`x1`,`x1`,`cd4`,`cd4`],[`l`,`x1`,`y3`],[`a`,`x1`,`x1`,`0`,`-5400000`],[`a`,`x1`,`x1`,`cd4`,`-5400000`],[`l`,`x1`,`x1`],[`a`,`x1`,`x1`,`cd2`,`cd4`],[`m`,`x3`,`t`],[`a`,`x1`,`x1`,`3cd4`,`cd4`],[`l`,`x4`,`y2`],[`a`,`x1`,`x1`,`cd2`,`-5400000`],[`a`,`x1`,`x1`,`3cd4`,`-5400000`],[`l`,`x4`,`y4`],[`a`,`x1`,`x1`,`0`,`cd4`]]}]},bracketpair:{adj:[[`adj`,`val 16667`]],gd:[[`a`,`pin 0 adj 50000`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`y2`,`+- b 0 x1`],[`il`,`*/ x1 29289 100000`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`x1`],[`a`,`x1`,`x1`,`cd2`,`cd4`],[`l`,`x2`,`t`],[`a`,`x1`,`x1`,`3cd4`,`cd4`],[`l`,`r`,`y2`],[`a`,`x1`,`x1`,`0`,`cd4`],[`l`,`x1`,`b`],[`a`,`x1`,`x1`,`cd4`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`b`],[`a`,`x1`,`x1`,`cd4`,`cd4`],[`l`,`l`,`x1`],[`a`,`x1`,`x1`,`cd2`,`cd4`],[`m`,`x2`,`t`],[`a`,`x1`,`x1`,`3cd4`,`cd4`],[`l`,`r`,`y2`],[`a`,`x1`,`x1`,`0`,`cd4`]]}]},callout1:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 112500`],[`adj4`,`val -38333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`]]}]},callout2:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 112500`],[`adj6`,`val -46667`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`]]}]},callout3:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 100000`],[`adj6`,`val -16667`],[`adj7`,`val 112963`],[`adj8`,`val -8333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`],[`y4`,`*/ h adj7 100000`],[`x4`,`*/ w adj8 100000`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`],[`l`,`x4`,`y4`]]}]},can:{adj:[[`adj`,`val 25000`]],gd:[[`maxAdj`,`*/ 50000 h ss`],[`a`,`pin 0 adj maxAdj`],[`y1`,`*/ ss a 200000`],[`y2`,`+- y1 y1 0`],[`y3`,`+- b 0 y1`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`y1`],[`a`,`wd2`,`y1`,`cd2`,`-10800000`],[`l`,`r`,`y3`],[`a`,`wd2`,`y1`,`0`,`cd2`],[`c`]]},{w:null,h:null,fill:`lighten`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`y1`],[`a`,`wd2`,`y1`,`cd2`,`cd2`],[`a`,`wd2`,`y1`,`0`,`cd2`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`r`,`y1`],[`a`,`wd2`,`y1`,`0`,`cd2`],[`a`,`wd2`,`y1`,`cd2`,`cd2`],[`l`,`r`,`y3`],[`a`,`wd2`,`y1`,`0`,`cd2`],[`l`,`l`,`y1`]]}]},chartplus:{adj:[],gd:[],paths:[{w:10,h:10,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`5`,`0`],[`l`,`5`,`10`],[`m`,`0`,`5`],[`l`,`10`,`5`]]},{w:10,h:10,fill:null,stroke:!1,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`0`,`10`],[`l`,`10`,`10`],[`l`,`10`,`0`],[`c`]]}]},chartstar:{adj:[],gd:[],paths:[{w:10,h:10,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`0`,`0`],[`l`,`10`,`10`],[`m`,`0`,`10`],[`l`,`10`,`0`],[`m`,`5`,`0`],[`l`,`5`,`10`]]},{w:10,h:10,fill:null,stroke:!1,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`0`,`10`],[`l`,`10`,`10`],[`l`,`10`,`0`],[`c`]]}]},chartx:{adj:[],gd:[],paths:[{w:10,h:10,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`0`,`0`],[`l`,`10`,`10`],[`m`,`0`,`10`],[`l`,`10`,`0`]]},{w:10,h:10,fill:null,stroke:!1,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`0`,`10`],[`l`,`10`,`10`],[`l`,`10`,`0`],[`c`]]}]},chevron:{adj:[[`adj`,`val 50000`]],gd:[[`maxAdj`,`*/ 100000 w ss`],[`a`,`pin 0 adj maxAdj`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`x3`,`*/ x2 1 2`],[`dx`,`+- x2 0 x1`],[`il`,`?: dx x1 l`],[`ir`,`?: dx x2 r`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x2`,`t`],[`l`,`r`,`vc`],[`l`,`x2`,`b`],[`l`,`l`,`b`],[`l`,`x1`,`vc`],[`c`]]}]},chord:{adj:[[`adj1`,`val 2700000`],[`adj2`,`val 16200000`]],gd:[[`stAng`,`pin 0 adj1 21599999`],[`enAng`,`pin 0 adj2 21599999`],[`sw1`,`+- enAng 0 stAng`],[`sw2`,`+- sw1 21600000 0`],[`swAng`,`?: sw1 sw1 sw2`],[`wt1`,`sin wd2 stAng`],[`ht1`,`cos hd2 stAng`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`wt2`,`sin wd2 enAng`],[`ht2`,`cos hd2 enAng`],[`dx2`,`cat2 wd2 ht2 wt2`],[`dy2`,`sat2 hd2 ht2 wt2`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`],[`x3`,`+/ x1 x2 2`],[`y3`,`+/ y1 y2 2`],[`midAng0`,`*/ swAng 1 2`],[`midAng`,`+- stAng midAng0 cd2`],[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stAng`,`swAng`],[`c`]]}]},circulararrow:{adj:[[`adj1`,`val 12500`],[`adj2`,`val 1142319`],[`adj3`,`val 20457681`],[`adj4`,`val 10800000`],[`adj5`,`val 12500`]],gd:[[`a5`,`pin 0 adj5 25000`],[`maxAdj1`,`*/ a5 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`enAng`,`pin 1 adj3 21599999`],[`stAng`,`pin 0 adj4 21599999`],[`th`,`*/ ss a1 100000`],[`thh`,`*/ ss a5 100000`],[`th2`,`*/ th 1 2`],[`rw1`,`+- wd2 th2 thh`],[`rh1`,`+- hd2 th2 thh`],[`rw2`,`+- rw1 0 th`],[`rh2`,`+- rh1 0 th`],[`rw3`,`+- rw2 th2 0`],[`rh3`,`+- rh2 th2 0`],[`wtH`,`sin rw3 enAng`],[`htH`,`cos rh3 enAng`],[`dxH`,`cat2 rw3 htH wtH`],[`dyH`,`sat2 rh3 htH wtH`],[`xH`,`+- hc dxH 0`],[`yH`,`+- vc dyH 0`],[`rI`,`min rw2 rh2`],[`u1`,`*/ dxH dxH 1`],[`u2`,`*/ dyH dyH 1`],[`u3`,`*/ rI rI 1`],[`u4`,`+- u1 0 u3`],[`u5`,`+- u2 0 u3`],[`u6`,`*/ u4 u5 u1`],[`u7`,`*/ u6 1 u2`],[`u8`,`+- 1 0 u7`],[`u9`,`sqrt u8`],[`u10`,`*/ u4 1 dxH`],[`u11`,`*/ u10 1 dyH`],[`u12`,`+/ 1 u9 u11`],[`u13`,`at2 1 u12`],[`u14`,`+- u13 21600000 0`],[`u15`,`?: u13 u13 u14`],[`u16`,`+- u15 0 enAng`],[`u17`,`+- u16 21600000 0`],[`u18`,`?: u16 u16 u17`],[`u19`,`+- u18 0 cd2`],[`u20`,`+- u18 0 21600000`],[`u21`,`?: u19 u20 u18`],[`maxAng`,`abs u21`],[`aAng`,`pin 0 adj2 maxAng`],[`ptAng`,`+- enAng aAng 0`],[`wtA`,`sin rw3 ptAng`],[`htA`,`cos rh3 ptAng`],[`dxA`,`cat2 rw3 htA wtA`],[`dyA`,`sat2 rh3 htA wtA`],[`xA`,`+- hc dxA 0`],[`yA`,`+- vc dyA 0`],[`wtE`,`sin rw1 stAng`],[`htE`,`cos rh1 stAng`],[`dxE`,`cat2 rw1 htE wtE`],[`dyE`,`sat2 rh1 htE wtE`],[`xE`,`+- hc dxE 0`],[`yE`,`+- vc dyE 0`],[`dxG`,`cos thh ptAng`],[`dyG`,`sin thh ptAng`],[`xG`,`+- xH dxG 0`],[`yG`,`+- yH dyG 0`],[`dxB`,`cos thh ptAng`],[`dyB`,`sin thh ptAng`],[`xB`,`+- xH 0 dxB 0`],[`yB`,`+- yH 0 dyB 0`],[`sx1`,`+- xB 0 hc`],[`sy1`,`+- yB 0 vc`],[`sx2`,`+- xG 0 hc`],[`sy2`,`+- yG 0 vc`],[`rO`,`min rw1 rh1`],[`x1O`,`*/ sx1 rO rw1`],[`y1O`,`*/ sy1 rO rh1`],[`x2O`,`*/ sx2 rO rw1`],[`y2O`,`*/ sy2 rO rh1`],[`dxO`,`+- x2O 0 x1O`],[`dyO`,`+- y2O 0 y1O`],[`dO`,`mod dxO dyO 0`],[`q1`,`*/ x1O y2O 1`],[`q2`,`*/ x2O y1O 1`],[`DO`,`+- q1 0 q2`],[`q3`,`*/ rO rO 1`],[`q4`,`*/ dO dO 1`],[`q5`,`*/ q3 q4 1`],[`q6`,`*/ DO DO 1`],[`q7`,`+- q5 0 q6`],[`q8`,`max q7 0`],[`sdelO`,`sqrt q8`],[`ndyO`,`*/ dyO -1 1`],[`sdyO`,`?: ndyO -1 1`],[`q9`,`*/ sdyO dxO 1`],[`q10`,`*/ q9 sdelO 1`],[`q11`,`*/ DO dyO 1`],[`dxF1`,`+/ q11 q10 q4`],[`q12`,`+- q11 0 q10`],[`dxF2`,`*/ q12 1 q4`],[`adyO`,`abs dyO`],[`q13`,`*/ adyO sdelO 1`],[`q14`,`*/ DO dxO -1`],[`dyF1`,`+/ q14 q13 q4`],[`q15`,`+- q14 0 q13`],[`dyF2`,`*/ q15 1 q4`],[`q16`,`+- x2O 0 dxF1`],[`q17`,`+- x2O 0 dxF2`],[`q18`,`+- y2O 0 dyF1`],[`q19`,`+- y2O 0 dyF2`],[`q20`,`mod q16 q18 0`],[`q21`,`mod q17 q19 0`],[`q22`,`+- q21 0 q20`],[`dxF`,`?: q22 dxF1 dxF2`],[`dyF`,`?: q22 dyF1 dyF2`],[`sdxF`,`*/ dxF rw1 rO`],[`sdyF`,`*/ dyF rh1 rO`],[`xF`,`+- hc sdxF 0`],[`yF`,`+- vc sdyF 0`],[`x1I`,`*/ sx1 rI rw2`],[`y1I`,`*/ sy1 rI rh2`],[`x2I`,`*/ sx2 rI rw2`],[`y2I`,`*/ sy2 rI rh2`],[`dxI`,`+- x2I 0 x1I`],[`dyI`,`+- y2I 0 y1I`],[`dI`,`mod dxI dyI 0`],[`v1`,`*/ x1I y2I 1`],[`v2`,`*/ x2I y1I 1`],[`DI`,`+- v1 0 v2`],[`v3`,`*/ rI rI 1`],[`v4`,`*/ dI dI 1`],[`v5`,`*/ v3 v4 1`],[`v6`,`*/ DI DI 1`],[`v7`,`+- v5 0 v6`],[`v8`,`max v7 0`],[`sdelI`,`sqrt v8`],[`v9`,`*/ sdyO dxI 1`],[`v10`,`*/ v9 sdelI 1`],[`v11`,`*/ DI dyI 1`],[`dxC1`,`+/ v11 v10 v4`],[`v12`,`+- v11 0 v10`],[`dxC2`,`*/ v12 1 v4`],[`adyI`,`abs dyI`],[`v13`,`*/ adyI sdelI 1`],[`v14`,`*/ DI dxI -1`],[`dyC1`,`+/ v14 v13 v4`],[`v15`,`+- v14 0 v13`],[`dyC2`,`*/ v15 1 v4`],[`v16`,`+- x1I 0 dxC1`],[`v17`,`+- x1I 0 dxC2`],[`v18`,`+- y1I 0 dyC1`],[`v19`,`+- y1I 0 dyC2`],[`v20`,`mod v16 v18 0`],[`v21`,`mod v17 v19 0`],[`v22`,`+- v21 0 v20`],[`dxC`,`?: v22 dxC1 dxC2`],[`dyC`,`?: v22 dyC1 dyC2`],[`sdxC`,`*/ dxC rw2 rI`],[`sdyC`,`*/ dyC rh2 rI`],[`xC`,`+- hc sdxC 0`],[`yC`,`+- vc sdyC 0`],[`ist0`,`at2 sdxC sdyC`],[`ist1`,`+- ist0 21600000 0`],[`istAng`,`?: ist0 ist0 ist1`],[`isw1`,`+- stAng 0 istAng`],[`isw2`,`+- isw1 0 21600000`],[`iswAng`,`?: isw1 isw2 isw1`],[`p1`,`+- xF 0 xC`],[`p2`,`+- yF 0 yC`],[`p3`,`mod p1 p2 0`],[`p4`,`*/ p3 1 2`],[`p5`,`+- p4 0 thh`],[`xGp`,`?: p5 xF xG`],[`yGp`,`?: p5 yF yG`],[`xBp`,`?: p5 xC xB`],[`yBp`,`?: p5 yC yB`],[`en0`,`at2 sdxF sdyF`],[`en1`,`+- en0 21600000 0`],[`en2`,`?: en0 en0 en1`],[`sw0`,`+- en2 0 stAng`],[`sw1`,`+- sw0 21600000 0`],[`swAng`,`?: sw0 sw0 sw1`],[`wtI`,`sin rw3 stAng`],[`htI`,`cos rh3 stAng`],[`dxI`,`cat2 rw3 htI wtI`],[`dyI`,`sat2 rh3 htI wtI`],[`xI`,`+- hc dxI 0`],[`yI`,`+- vc dyI 0`],[`aI`,`+- stAng 0 cd4`],[`aA`,`+- ptAng cd4 0`],[`aB`,`+- ptAng cd2 0`],[`idx`,`cos rw1 2700000`],[`idy`,`sin rh1 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xE`,`yE`],[`a`,`rw1`,`rh1`,`stAng`,`swAng`],[`l`,`xGp`,`yGp`],[`l`,`xA`,`yA`],[`l`,`xBp`,`yBp`],[`l`,`xC`,`yC`],[`a`,`rw2`,`rh2`,`istAng`,`iswAng`],[`c`]]}]},cloud:{adj:[],gd:[[`il`,`*/ w 2977 21600`],[`it`,`*/ h 3262 21600`],[`ir`,`*/ w 17087 21600`],[`ib`,`*/ h 17337 21600`],[`g27`,`*/ w 67 21600`],[`g28`,`*/ h 21577 21600`],[`g29`,`*/ w 21582 21600`],[`g30`,`*/ h 1235 21600`]],paths:[{w:43200,h:43200,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`3900`,`14370`],[`a`,`6753`,`9190`,`-11429249`,`7426832`],[`a`,`5333`,`7267`,`-8646143`,`5396714`],[`a`,`4365`,`5945`,`-8748475`,`5983381`],[`a`,`4857`,`6595`,`-7859164`,`7034504`],[`a`,`5333`,`7273`,`-4722533`,`6541615`],[`a`,`6775`,`9220`,`-2776035`,`7816140`],[`a`,`5785`,`7867`,`37501`,`6842000`],[`a`,`6752`,`9215`,`1347096`,`6910353`],[`a`,`7720`,`10543`,`3974558`,`4542661`],[`a`,`4360`,`5918`,`-16496525`,`8804134`],[`a`,`4345`,`5945`,`-14809710`,`9151131`],[`c`]]},{w:43200,h:43200,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`4693`,`26177`],[`a`,`4345`,`5945`,`5204520`,`1585770`],[`m`,`6928`,`34899`],[`a`,`4360`,`5918`,`4416628`,`686848`],[`m`,`16478`,`39090`],[`a`,`6752`,`9215`,`8257449`,`844866`],[`m`,`28827`,`34751`],[`a`,`6752`,`9215`,`387196`,`959901`],[`m`,`34129`,`22954`],[`a`,`5785`,`7867`,`-4217541`,`4255042`],[`m`,`41798`,`15354`],[`a`,`5333`,`7273`,`1819082`,`1665090`],[`m`,`38324`,`5426`],[`a`,`4857`,`6595`,`-824660`,`891534`],[`m`,`29078`,`3952`],[`a`,`4857`,`6595`,`-8950887`,`1091722`],[`m`,`22141`,`4720`],[`a`,`4365`,`5945`,`-9809656`,`1061181`],[`m`,`14000`,`5192`],[`a`,`6753`,`9190`,`-4002417`,`739161`],[`m`,`4127`,`15789`],[`a`,`6753`,`9190`,`9459261`,`711490`]]}]},cloudcallout:{adj:[[`adj1`,`val -20833`],[`adj2`,`val 62500`]],gd:[[`dxPos`,`*/ w adj1 100000`],[`dyPos`,`*/ h adj2 100000`],[`xPos`,`+- hc dxPos 0`],[`yPos`,`+- vc dyPos 0`],[`ht`,`cat2 hd2 dxPos dyPos`],[`wt`,`sat2 wd2 dxPos dyPos`],[`g2`,`cat2 wd2 ht wt`],[`g3`,`sat2 hd2 ht wt`],[`g4`,`+- hc g2 0`],[`g5`,`+- vc g3 0`],[`g6`,`+- g4 0 xPos`],[`g7`,`+- g5 0 yPos`],[`g8`,`mod g6 g7 0`],[`g9`,`*/ ss 6600 21600`],[`g10`,`+- g8 0 g9`],[`g11`,`*/ g10 1 3`],[`g12`,`*/ ss 1800 21600`],[`g13`,`+- g11 g12 0`],[`g14`,`*/ g13 g6 g8`],[`g15`,`*/ g13 g7 g8`],[`g16`,`+- g14 xPos 0`],[`g17`,`+- g15 yPos 0`],[`g18`,`*/ ss 4800 21600`],[`g19`,`*/ g11 2 1`],[`g20`,`+- g18 g19 0`],[`g21`,`*/ g20 g6 g8`],[`g22`,`*/ g20 g7 g8`],[`g23`,`+- g21 xPos 0`],[`g24`,`+- g22 yPos 0`],[`g25`,`*/ ss 1200 21600`],[`g26`,`*/ ss 600 21600`],[`x23`,`+- xPos g26 0`],[`x24`,`+- g16 g25 0`],[`x25`,`+- g23 g12 0`],[`il`,`*/ w 2977 21600`],[`it`,`*/ h 3262 21600`],[`ir`,`*/ w 17087 21600`],[`ib`,`*/ h 17337 21600`],[`g27`,`*/ w 67 21600`],[`g28`,`*/ h 21577 21600`],[`g29`,`*/ w 21582 21600`],[`g30`,`*/ h 1235 21600`],[`pang`,`at2 dxPos dyPos`]],paths:[{w:43200,h:43200,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`3900`,`14370`],[`a`,`6753`,`9190`,`-11429249`,`7426832`],[`a`,`5333`,`7267`,`-8646143`,`5396714`],[`a`,`4365`,`5945`,`-8748475`,`5983381`],[`a`,`4857`,`6595`,`-7859164`,`7034504`],[`a`,`5333`,`7273`,`-4722533`,`6541615`],[`a`,`6775`,`9220`,`-2776035`,`7816140`],[`a`,`5785`,`7867`,`37501`,`6842000`],[`a`,`6752`,`9215`,`1347096`,`6910353`],[`a`,`7720`,`10543`,`3974558`,`4542661`],[`a`,`4360`,`5918`,`-16496525`,`8804134`],[`a`,`4345`,`5945`,`-14809710`,`9151131`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x23`,`yPos`],[`a`,`g26`,`g26`,`0`,`21600000`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x24`,`g17`],[`a`,`g25`,`g25`,`0`,`21600000`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x25`,`g24`],[`a`,`g12`,`g12`,`0`,`21600000`],[`c`]]},{w:43200,h:43200,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`4693`,`26177`],[`a`,`4345`,`5945`,`5204520`,`1585770`],[`m`,`6928`,`34899`],[`a`,`4360`,`5918`,`4416628`,`686848`],[`m`,`16478`,`39090`],[`a`,`6752`,`9215`,`8257449`,`844866`],[`m`,`28827`,`34751`],[`a`,`6752`,`9215`,`387196`,`959901`],[`m`,`34129`,`22954`],[`a`,`5785`,`7867`,`-4217541`,`4255042`],[`m`,`41798`,`15354`],[`a`,`5333`,`7273`,`1819082`,`1665090`],[`m`,`38324`,`5426`],[`a`,`4857`,`6595`,`-824660`,`891534`],[`m`,`29078`,`3952`],[`a`,`4857`,`6595`,`-8950887`,`1091722`],[`m`,`22141`,`4720`],[`a`,`4365`,`5945`,`-9809656`,`1061181`],[`m`,`14000`,`5192`],[`a`,`6753`,`9190`,`-4002417`,`739161`],[`m`,`4127`,`15789`],[`a`,`6753`,`9190`,`9459261`,`711490`]]}]},corner:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj1`,`*/ 100000 h ss`],[`maxAdj2`,`*/ 100000 w ss`],[`a1`,`pin 0 adj1 maxAdj1`],[`a2`,`pin 0 adj2 maxAdj2`],[`x1`,`*/ ss a2 100000`],[`dy1`,`*/ ss a1 100000`],[`y1`,`+- b 0 dy1`],[`cx1`,`*/ x1 1 2`],[`cy1`,`+/ y1 b 2`],[`d`,`+- w 0 h`],[`it`,`?: d y1 t`],[`ir`,`?: d r x1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`l`,`x1`,`y1`],[`l`,`r`,`y1`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},cornertabs:{adj:[],gd:[[`md`,`mod w h 0`],[`dx`,`*/ 1 md 20`],[`y1`,`+- 0 b dx`],[`x1`,`+- 0 r dx`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`dx`,`t`],[`l`,`l`,`dx`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`dx`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`t`],[`l`,`r`,`t`],[`l`,`r`,`dx`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`r`,`y1`],[`l`,`r`,`b`],[`l`,`x1`,`b`],[`c`]]}]},cube:{adj:[[`adj`,`val 25000`]],gd:[[`a`,`pin 0 adj 100000`],[`y1`,`*/ ss a 100000`],[`y4`,`+- b 0 y1`],[`y2`,`*/ y4 1 2`],[`y3`,`+/ y1 b 2`],[`x4`,`+- r 0 y1`],[`x2`,`*/ x4 1 2`],[`x3`,`+/ y1 r 2`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`y1`],[`l`,`x4`,`y1`],[`l`,`x4`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x4`,`y1`],[`l`,`r`,`t`],[`l`,`r`,`y4`],[`l`,`x4`,`b`],[`c`]]},{w:null,h:null,fill:`lightenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`y1`],[`l`,`y1`,`t`],[`l`,`r`,`t`],[`l`,`x4`,`y1`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`y1`],[`l`,`y1`,`t`],[`l`,`r`,`t`],[`l`,`r`,`y4`],[`l`,`x4`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`l`,`y1`],[`l`,`x4`,`y1`],[`l`,`r`,`t`],[`m`,`x4`,`y1`],[`l`,`x4`,`b`]]}]},curvedconnector2:{adj:[],gd:[],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`C`,`wd2`,`t`,`r`,`hd2`,`r`,`b`]]}]},curvedconnector3:{adj:[[`adj1`,`val 50000`]],gd:[[`x2`,`*/ w adj1 100000`],[`x1`,`+/ l x2 2`],[`x3`,`+/ r x2 2`],[`y3`,`*/ h 3 4`]],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`C`,`x1`,`t`,`x2`,`hd4`,`x2`,`vc`],[`C`,`x2`,`y3`,`x3`,`b`,`r`,`b`]]}]},curvedconnector4:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`x2`,`*/ w adj1 100000`],[`x1`,`+/ l x2 2`],[`x3`,`+/ r x2 2`],[`x4`,`+/ x2 x3 2`],[`x5`,`+/ x3 r 2`],[`y4`,`*/ h adj2 100000`],[`y1`,`+/ t y4 2`],[`y2`,`+/ t y1 2`],[`y3`,`+/ y1 y4 2`],[`y5`,`+/ b y4 2`]],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`C`,`x1`,`t`,`x2`,`y2`,`x2`,`y1`],[`C`,`x2`,`y3`,`x4`,`y4`,`x3`,`y4`],[`C`,`x5`,`y4`,`r`,`y5`,`r`,`b`]]}]},curvedconnector5:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`],[`adj3`,`val 50000`]],gd:[[`x3`,`*/ w adj1 100000`],[`x6`,`*/ w adj3 100000`],[`x1`,`+/ x3 x6 2`],[`x2`,`+/ l x3 2`],[`x4`,`+/ x3 x1 2`],[`x5`,`+/ x6 x1 2`],[`x7`,`+/ x6 r 2`],[`y4`,`*/ h adj2 100000`],[`y1`,`+/ t y4 2`],[`y2`,`+/ t y1 2`],[`y3`,`+/ y1 y4 2`],[`y5`,`+/ b y4 2`],[`y6`,`+/ y5 y4 2`],[`y7`,`+/ y5 b 2`]],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`C`,`x2`,`t`,`x3`,`y2`,`x3`,`y1`],[`C`,`x3`,`y3`,`x4`,`y4`,`x1`,`y4`],[`C`,`x5`,`y4`,`x6`,`y6`,`x6`,`y5`],[`C`,`x6`,`y7`,`x7`,`b`,`r`,`b`]]}]},curveddownarrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 50000`],[`adj3`,`val 25000`]],gd:[[`maxAdj2`,`*/ 50000 w ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`a1`,`pin 0 adj1 100000`],[`th`,`*/ ss a1 100000`],[`aw`,`*/ ss a2 100000`],[`q1`,`+/ th aw 4`],[`wR`,`+- wd2 0 q1`],[`q7`,`*/ wR 2 1`],[`q8`,`*/ q7 q7 1`],[`q9`,`*/ th th 1`],[`q10`,`+- q8 0 q9`],[`q11`,`sqrt q10`],[`idy`,`*/ q11 h q7`],[`maxAdj3`,`*/ 100000 idy ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`ah`,`*/ ss adj3 100000`],[`x3`,`+- wR th 0`],[`q2`,`*/ h h 1`],[`q3`,`*/ ah ah 1`],[`q4`,`+- q2 0 q3`],[`q5`,`sqrt q4`],[`dx`,`*/ q5 wR h`],[`x5`,`+- wR dx 0`],[`x7`,`+- x3 dx 0`],[`q6`,`+- aw 0 th`],[`dh`,`*/ q6 1 2`],[`x4`,`+- x5 0 dh`],[`x8`,`+- x7 dh 0`],[`aw2`,`*/ aw 1 2`],[`x6`,`+- r 0 aw2`],[`y1`,`+- b 0 ah`],[`swAng`,`at2 ah dx`],[`mswAng`,`+- 0 0 swAng`],[`iy`,`+- b 0 idy`],[`ix`,`+/ wR x3 2`],[`q12`,`*/ th 1 2`],[`dang2`,`at2 idy q12`],[`stAng`,`+- 3cd4 swAng 0`],[`stAng2`,`+- 3cd4 0 dang2`],[`swAng2`,`+- dang2 0 cd4`],[`swAng3`,`+- cd4 dang2 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x6`,`b`],[`l`,`x4`,`y1`],[`l`,`x5`,`y1`],[`a`,`wR`,`h`,`stAng`,`mswAng`],[`l`,`x3`,`t`],[`a`,`wR`,`h`,`3cd4`,`swAng`],[`l`,`x8`,`y1`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`ix`,`iy`],[`a`,`wR`,`h`,`stAng2`,`swAng2`],[`l`,`l`,`b`],[`a`,`wR`,`h`,`cd2`,`swAng3`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`ix`,`iy`],[`a`,`wR`,`h`,`stAng2`,`swAng2`],[`l`,`l`,`b`],[`a`,`wR`,`h`,`cd2`,`cd4`],[`l`,`x3`,`t`],[`a`,`wR`,`h`,`3cd4`,`swAng`],[`l`,`x8`,`y1`],[`l`,`x6`,`b`],[`l`,`x4`,`y1`],[`l`,`x5`,`y1`],[`a`,`wR`,`h`,`stAng`,`mswAng`]]}]},curvedleftarrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 50000`],[`adj3`,`val 25000`]],gd:[[`maxAdj2`,`*/ 50000 h ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`a1`,`pin 0 adj1 a2`],[`th`,`*/ ss a1 100000`],[`aw`,`*/ ss a2 100000`],[`q1`,`+/ th aw 4`],[`hR`,`+- hd2 0 q1`],[`q7`,`*/ hR 2 1`],[`q8`,`*/ q7 q7 1`],[`q9`,`*/ th th 1`],[`q10`,`+- q8 0 q9`],[`q11`,`sqrt q10`],[`idx`,`*/ q11 w q7`],[`maxAdj3`,`*/ 100000 idx ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`ah`,`*/ ss a3 100000`],[`y3`,`+- hR th 0`],[`q2`,`*/ w w 1`],[`q3`,`*/ ah ah 1`],[`q4`,`+- q2 0 q3`],[`q5`,`sqrt q4`],[`dy`,`*/ q5 hR w`],[`y5`,`+- hR dy 0`],[`y7`,`+- y3 dy 0`],[`q6`,`+- aw 0 th`],[`dh`,`*/ q6 1 2`],[`y4`,`+- y5 0 dh`],[`y8`,`+- y7 dh 0`],[`aw2`,`*/ aw 1 2`],[`y6`,`+- b 0 aw2`],[`x1`,`+- l ah 0`],[`swAng`,`at2 ah dy`],[`mswAng`,`+- 0 0 swAng`],[`ix`,`+- l idx 0`],[`iy`,`+/ hR y3 2`],[`q12`,`*/ th 1 2`],[`dang2`,`at2 idx q12`],[`swAng2`,`+- dang2 0 swAng`],[`swAng3`,`+- swAng dang2 0`],[`stAng3`,`+- 0 0 dang2`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`y6`],[`l`,`x1`,`y4`],[`l`,`x1`,`y5`],[`a`,`w`,`hR`,`swAng`,`swAng2`],[`a`,`w`,`hR`,`stAng3`,`swAng3`],[`l`,`x1`,`y8`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`r`,`y3`],[`a`,`w`,`hR`,`0`,`-5400000`],[`l`,`l`,`t`],[`a`,`w`,`hR`,`3cd4`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`r`,`y3`],[`a`,`w`,`hR`,`0`,`-5400000`],[`l`,`l`,`t`],[`a`,`w`,`hR`,`3cd4`,`cd4`],[`l`,`r`,`y3`],[`a`,`w`,`hR`,`0`,`swAng`],[`l`,`x1`,`y8`],[`l`,`l`,`y6`],[`l`,`x1`,`y4`],[`l`,`x1`,`y5`],[`a`,`w`,`hR`,`swAng`,`swAng2`]]}]},curvedrightarrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 50000`],[`adj3`,`val 25000`]],gd:[[`maxAdj2`,`*/ 50000 h ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`a1`,`pin 0 adj1 a2`],[`th`,`*/ ss a1 100000`],[`aw`,`*/ ss a2 100000`],[`q1`,`+/ th aw 4`],[`hR`,`+- hd2 0 q1`],[`q7`,`*/ hR 2 1`],[`q8`,`*/ q7 q7 1`],[`q9`,`*/ th th 1`],[`q10`,`+- q8 0 q9`],[`q11`,`sqrt q10`],[`idx`,`*/ q11 w q7`],[`maxAdj3`,`*/ 100000 idx ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`ah`,`*/ ss a3 100000`],[`y3`,`+- hR th 0`],[`q2`,`*/ w w 1`],[`q3`,`*/ ah ah 1`],[`q4`,`+- q2 0 q3`],[`q5`,`sqrt q4`],[`dy`,`*/ q5 hR w`],[`y5`,`+- hR dy 0`],[`y7`,`+- y3 dy 0`],[`q6`,`+- aw 0 th`],[`dh`,`*/ q6 1 2`],[`y4`,`+- y5 0 dh`],[`y8`,`+- y7 dh 0`],[`aw2`,`*/ aw 1 2`],[`y6`,`+- b 0 aw2`],[`x1`,`+- r 0 ah`],[`swAng`,`at2 ah dy`],[`stAng`,`+- cd2 0 swAng`],[`mswAng`,`+- 0 0 swAng`],[`ix`,`+- r 0 idx`],[`iy`,`+/ hR y3 2`],[`q12`,`*/ th 1 2`],[`dang2`,`at2 idx q12`],[`swAng2`,`+- dang2 0 cd4`],[`swAng3`,`+- cd4 dang2 0`],[`stAng3`,`+- cd2 0 dang2`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`hR`],[`a`,`w`,`hR`,`cd2`,`mswAng`],[`l`,`x1`,`y4`],[`l`,`r`,`y6`],[`l`,`x1`,`y8`],[`l`,`x1`,`y7`],[`a`,`w`,`hR`,`stAng`,`swAng`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`r`,`th`],[`a`,`w`,`hR`,`3cd4`,`swAng2`],[`a`,`w`,`hR`,`stAng3`,`swAng3`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`hR`],[`a`,`w`,`hR`,`cd2`,`mswAng`],[`l`,`x1`,`y4`],[`l`,`r`,`y6`],[`l`,`x1`,`y8`],[`l`,`x1`,`y7`],[`a`,`w`,`hR`,`stAng`,`swAng`],[`l`,`l`,`hR`],[`a`,`w`,`hR`,`cd2`,`cd4`],[`l`,`r`,`th`],[`a`,`w`,`hR`,`3cd4`,`swAng2`]]}]},curveduparrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 50000`],[`adj3`,`val 25000`]],gd:[[`maxAdj2`,`*/ 50000 w ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`a1`,`pin 0 adj1 100000`],[`th`,`*/ ss a1 100000`],[`aw`,`*/ ss a2 100000`],[`q1`,`+/ th aw 4`],[`wR`,`+- wd2 0 q1`],[`q7`,`*/ wR 2 1`],[`q8`,`*/ q7 q7 1`],[`q9`,`*/ th th 1`],[`q10`,`+- q8 0 q9`],[`q11`,`sqrt q10`],[`idy`,`*/ q11 h q7`],[`maxAdj3`,`*/ 100000 idy ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`ah`,`*/ ss adj3 100000`],[`x3`,`+- wR th 0`],[`q2`,`*/ h h 1`],[`q3`,`*/ ah ah 1`],[`q4`,`+- q2 0 q3`],[`q5`,`sqrt q4`],[`dx`,`*/ q5 wR h`],[`x5`,`+- wR dx 0`],[`x7`,`+- x3 dx 0`],[`q6`,`+- aw 0 th`],[`dh`,`*/ q6 1 2`],[`x4`,`+- x5 0 dh`],[`x8`,`+- x7 dh 0`],[`aw2`,`*/ aw 1 2`],[`x6`,`+- r 0 aw2`],[`y1`,`+- t ah 0`],[`swAng`,`at2 ah dx`],[`mswAng`,`+- 0 0 swAng`],[`iy`,`+- t idy 0`],[`ix`,`+/ wR x3 2`],[`q12`,`*/ th 1 2`],[`dang2`,`at2 idy q12`],[`swAng2`,`+- dang2 0 swAng`],[`mswAng2`,`+- 0 0 swAng2`],[`stAng3`,`+- cd4 0 swAng`],[`swAng3`,`+- swAng dang2 0`],[`stAng2`,`+- cd4 0 dang2`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x6`,`t`],[`l`,`x8`,`y1`],[`l`,`x7`,`y1`],[`a`,`wR`,`h`,`stAng3`,`swAng3`],[`a`,`wR`,`h`,`stAng2`,`swAng2`],[`l`,`x4`,`y1`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`wR`,`b`],[`a`,`wR`,`h`,`cd4`,`cd4`],[`l`,`th`,`t`],[`a`,`wR`,`h`,`cd2`,`-5400000`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`ix`,`iy`],[`a`,`wR`,`h`,`stAng2`,`swAng2`],[`l`,`x4`,`y1`],[`l`,`x6`,`t`],[`l`,`x8`,`y1`],[`l`,`x7`,`y1`],[`a`,`wR`,`h`,`stAng3`,`swAng`],[`l`,`wR`,`b`],[`a`,`wR`,`h`,`cd4`,`cd4`],[`l`,`th`,`t`],[`a`,`wR`,`h`,`cd2`,`-5400000`]]}]},decagon:{adj:[[`vf`,`val 105146`]],gd:[[`shd2`,`*/ hd2 vf 100000`],[`dx1`,`cos wd2 2160000`],[`dx2`,`cos wd2 4320000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`dy1`,`sin shd2 4320000`],[`dy2`,`sin shd2 2160000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`],[`y4`,`+- vc dy1 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`x1`,`y2`],[`l`,`x2`,`y1`],[`l`,`x3`,`y1`],[`l`,`x4`,`y2`],[`l`,`r`,`vc`],[`l`,`x4`,`y3`],[`l`,`x3`,`y4`],[`l`,`x2`,`y4`],[`l`,`x1`,`y3`],[`c`]]}]},diagstripe:{adj:[[`adj`,`val 50000`]],gd:[[`a`,`pin 0 adj 100000`],[`x2`,`*/ w a 100000`],[`x1`,`*/ x2 1 2`],[`x3`,`+/ x2 r 2`],[`y2`,`*/ h a 100000`],[`y1`,`*/ y2 1 2`],[`y3`,`+/ y2 b 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`x2`,`t`],[`l`,`r`,`t`],[`l`,`l`,`b`],[`c`]]}]},diamond:{adj:[],gd:[[`ir`,`*/ w 3 4`],[`ib`,`*/ h 3 4`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`hc`,`t`],[`l`,`r`,`vc`],[`l`,`hc`,`b`],[`c`]]}]},dodecagon:{adj:[],gd:[[`x1`,`*/ w 2894 21600`],[`x2`,`*/ w 7906 21600`],[`x3`,`*/ w 13694 21600`],[`x4`,`*/ w 18706 21600`],[`y1`,`*/ h 2894 21600`],[`y2`,`*/ h 7906 21600`],[`y3`,`*/ h 13694 21600`],[`y4`,`*/ h 18706 21600`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`x1`,`y1`],[`l`,`x2`,`t`],[`l`,`x3`,`t`],[`l`,`x4`,`y1`],[`l`,`r`,`y2`],[`l`,`r`,`y3`],[`l`,`x4`,`y4`],[`l`,`x3`,`b`],[`l`,`x2`,`b`],[`l`,`x1`,`y4`],[`l`,`l`,`y3`],[`c`]]}]},donut:{adj:[[`adj`,`val 25000`]],gd:[[`a`,`pin 0 adj 50000`],[`dr`,`*/ ss a 100000`],[`iwd2`,`+- wd2 0 dr`],[`ihd2`,`+- hd2 0 dr`],[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`],[`m`,`dr`,`vc`],[`a`,`iwd2`,`ihd2`,`cd2`,`-5400000`],[`a`,`iwd2`,`ihd2`,`cd4`,`-5400000`],[`a`,`iwd2`,`ihd2`,`0`,`-5400000`],[`a`,`iwd2`,`ihd2`,`3cd4`,`-5400000`],[`c`]]}]},doublewave:{adj:[[`adj1`,`val 6250`],[`adj2`,`val 0`]],gd:[[`a1`,`pin 0 adj1 12500`],[`a2`,`pin -10000 adj2 10000`],[`y1`,`*/ h a1 100000`],[`dy2`,`*/ y1 10 3`],[`y2`,`+- y1 0 dy2`],[`y3`,`+- y1 dy2 0`],[`y4`,`+- b 0 y1`],[`y5`,`+- y4 0 dy2`],[`y6`,`+- y4 dy2 0`],[`dx1`,`*/ w a2 100000`],[`of2`,`*/ w a2 50000`],[`x1`,`abs dx1`],[`dx2`,`?: of2 0 of2`],[`x2`,`+- l 0 dx2`],[`dx8`,`?: of2 of2 0`],[`x8`,`+- r 0 dx8`],[`dx3`,`+/ dx2 x8 6`],[`x3`,`+- x2 dx3 0`],[`dx4`,`+/ dx2 x8 3`],[`x4`,`+- x2 dx4 0`],[`x5`,`+/ x2 x8 2`],[`x6`,`+- x5 dx3 0`],[`x7`,`+/ x6 x8 2`],[`x9`,`+- l dx8 0`],[`x15`,`+- r dx2 0`],[`x10`,`+- x9 dx3 0`],[`x11`,`+- x9 dx4 0`],[`x12`,`+/ x9 x15 2`],[`x13`,`+- x12 dx3 0`],[`x14`,`+/ x13 x15 2`],[`x16`,`+- r 0 x1`],[`xAdj`,`+- hc dx1 0`],[`il`,`max x2 x9`],[`ir`,`min x8 x15`],[`it`,`*/ h a1 50000`],[`ib`,`+- b 0 it`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x2`,`y1`],[`C`,`x3`,`y2`,`x4`,`y3`,`x5`,`y1`],[`C`,`x6`,`y2`,`x7`,`y3`,`x8`,`y1`],[`l`,`x15`,`y4`],[`C`,`x14`,`y6`,`x13`,`y5`,`x12`,`y4`],[`C`,`x11`,`y6`,`x10`,`y5`,`x9`,`y4`],[`c`]]}]},downarrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 100000 h ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`dy1`,`*/ ss a2 100000`],[`y1`,`+- b 0 dy1`],[`dx1`,`*/ w a1 200000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc dx1 0`],[`dy2`,`*/ x1 dy1 wd2`],[`y2`,`+- y1 dy2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`x1`,`y1`],[`l`,`x1`,`t`],[`l`,`x2`,`t`],[`l`,`x2`,`y1`],[`l`,`r`,`y1`],[`l`,`hc`,`b`],[`c`]]}]},downarrowcallout:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 64977`]],gd:[[`maxAdj2`,`*/ 50000 w ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`*/ 100000 h ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`q2`,`*/ a3 ss h`],[`maxAdj4`,`+- 100000 0 q2`],[`a4`,`pin 0 adj4 maxAdj4`],[`dx1`,`*/ ss a2 100000`],[`dx2`,`*/ ss a1 200000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`dy3`,`*/ ss a3 100000`],[`y3`,`+- b 0 dy3`],[`y2`,`*/ h a4 100000`],[`y1`,`*/ y2 1 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`y2`],[`l`,`x3`,`y2`],[`l`,`x3`,`y3`],[`l`,`x4`,`y3`],[`l`,`hc`,`b`],[`l`,`x1`,`y3`],[`l`,`x2`,`y3`],[`l`,`x2`,`y2`],[`l`,`l`,`y2`],[`c`]]}]},ellipse:{adj:[],gd:[[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`]]}]},ellipseribbon:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 50000`],[`adj3`,`val 12500`]],gd:[[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 25000 adj2 75000`],[`q10`,`+- 100000 0 a1`],[`q11`,`*/ q10 1 2`],[`q12`,`+- a1 0 q11`],[`minAdj3`,`max 0 q12`],[`a3`,`pin minAdj3 adj3 a1`],[`dx2`,`*/ w a2 200000`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- x2 wd8 0`],[`x4`,`+- r 0 x3`],[`x5`,`+- r 0 x2`],[`x6`,`+- r 0 wd8`],[`dy1`,`*/ h a3 100000`],[`f1`,`*/ 4 dy1 w`],[`q1`,`*/ x3 x3 w`],[`q2`,`+- x3 0 q1`],[`y1`,`*/ f1 q2 1`],[`cx1`,`*/ x3 1 2`],[`cy1`,`*/ f1 cx1 1`],[`cx2`,`+- r 0 cx1`],[`q1`,`*/ h a1 100000`],[`dy3`,`+- q1 0 dy1`],[`q3`,`*/ x2 x2 w`],[`q4`,`+- x2 0 q3`],[`q5`,`*/ f1 q4 1`],[`y3`,`+- q5 dy3 0`],[`q6`,`+- dy1 dy3 y3`],[`q7`,`+- q6 dy1 0`],[`cy3`,`+- q7 dy3 0`],[`rh`,`+- b 0 q1`],[`q8`,`*/ dy1 14 16`],[`y2`,`+/ q8 rh 2`],[`y5`,`+- q5 rh 0`],[`y6`,`+- y3 rh 0`],[`cx4`,`*/ x2 1 2`],[`q9`,`*/ f1 cx4 1`],[`cy4`,`+- q9 rh 0`],[`cx5`,`+- r 0 cx4`],[`cy6`,`+- cy3 rh 0`],[`y7`,`+- y1 dy3 0`],[`cy7`,`+- q1 q1 y7`],[`y8`,`+- b 0 dy1`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`Q`,`cx1`,`cy1`,`x3`,`y1`],[`l`,`x2`,`y3`],[`Q`,`hc`,`cy3`,`x5`,`y3`],[`l`,`x4`,`y1`],[`Q`,`cx2`,`cy1`,`r`,`t`],[`l`,`x6`,`y2`],[`l`,`r`,`rh`],[`Q`,`cx5`,`cy4`,`x5`,`y5`],[`l`,`x5`,`y6`],[`Q`,`hc`,`cy6`,`x2`,`y6`],[`l`,`x2`,`y5`],[`Q`,`cx4`,`cy4`,`l`,`rh`],[`l`,`wd8`,`y2`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x3`,`y7`],[`l`,`x3`,`y1`],[`l`,`x2`,`y3`],[`Q`,`hc`,`cy3`,`x5`,`y3`],[`l`,`x4`,`y1`],[`l`,`x4`,`y7`],[`Q`,`hc`,`cy7`,`x3`,`y7`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`Q`,`cx1`,`cy1`,`x3`,`y1`],[`l`,`x2`,`y3`],[`Q`,`hc`,`cy3`,`x5`,`y3`],[`l`,`x4`,`y1`],[`Q`,`cx2`,`cy1`,`r`,`t`],[`l`,`x6`,`y2`],[`l`,`r`,`rh`],[`Q`,`cx5`,`cy4`,`x5`,`y5`],[`l`,`x5`,`y6`],[`Q`,`hc`,`cy6`,`x2`,`y6`],[`l`,`x2`,`y5`],[`Q`,`cx4`,`cy4`,`l`,`rh`],[`l`,`wd8`,`y2`],[`c`],[`m`,`x2`,`y5`],[`l`,`x2`,`y3`],[`m`,`x5`,`y3`],[`l`,`x5`,`y5`],[`m`,`x3`,`y1`],[`l`,`x3`,`y7`],[`m`,`x4`,`y7`],[`l`,`x4`,`y1`]]}]},ellipseribbon2:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 50000`],[`adj3`,`val 12500`]],gd:[[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 25000 adj2 75000`],[`q10`,`+- 100000 0 a1`],[`q11`,`*/ q10 1 2`],[`q12`,`+- a1 0 q11`],[`minAdj3`,`max 0 q12`],[`a3`,`pin minAdj3 adj3 a1`],[`dx2`,`*/ w a2 200000`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- x2 wd8 0`],[`x4`,`+- r 0 x3`],[`x5`,`+- r 0 x2`],[`x6`,`+- r 0 wd8`],[`dy1`,`*/ h a3 100000`],[`f1`,`*/ 4 dy1 w`],[`q1`,`*/ x3 x3 w`],[`q2`,`+- x3 0 q1`],[`u1`,`*/ f1 q2 1`],[`y1`,`+- b 0 u1`],[`cx1`,`*/ x3 1 2`],[`cu1`,`*/ f1 cx1 1`],[`cy1`,`+- b 0 cu1`],[`cx2`,`+- r 0 cx1`],[`q1`,`*/ h a1 100000`],[`dy3`,`+- q1 0 dy1`],[`q3`,`*/ x2 x2 w`],[`q4`,`+- x2 0 q3`],[`q5`,`*/ f1 q4 1`],[`u3`,`+- q5 dy3 0`],[`y3`,`+- b 0 u3`],[`q6`,`+- dy1 dy3 u3`],[`q7`,`+- q6 dy1 0`],[`cu3`,`+- q7 dy3 0`],[`cy3`,`+- b 0 cu3`],[`rh`,`+- b 0 q1`],[`q8`,`*/ dy1 14 16`],[`u2`,`+/ q8 rh 2`],[`y2`,`+- b 0 u2`],[`u5`,`+- q5 rh 0`],[`y5`,`+- b 0 u5`],[`u6`,`+- u3 rh 0`],[`y6`,`+- b 0 u6`],[`cx4`,`*/ x2 1 2`],[`q9`,`*/ f1 cx4 1`],[`cu4`,`+- q9 rh 0`],[`cy4`,`+- b 0 cu4`],[`cx5`,`+- r 0 cx4`],[`cu6`,`+- cu3 rh 0`],[`cy6`,`+- b 0 cu6`],[`u7`,`+- u1 dy3 0`],[`y7`,`+- b 0 u7`],[`cu7`,`+- q1 q1 u7`],[`cy7`,`+- b 0 cu7`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`b`],[`Q`,`cx1`,`cy1`,`x3`,`y1`],[`l`,`x2`,`y3`],[`Q`,`hc`,`cy3`,`x5`,`y3`],[`l`,`x4`,`y1`],[`Q`,`cx2`,`cy1`,`r`,`b`],[`l`,`x6`,`y2`],[`l`,`r`,`q1`],[`Q`,`cx5`,`cy4`,`x5`,`y5`],[`l`,`x5`,`y6`],[`Q`,`hc`,`cy6`,`x2`,`y6`],[`l`,`x2`,`y5`],[`Q`,`cx4`,`cy4`,`l`,`q1`],[`l`,`wd8`,`y2`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x3`,`y7`],[`l`,`x3`,`y1`],[`l`,`x2`,`y3`],[`Q`,`hc`,`cy3`,`x5`,`y3`],[`l`,`x4`,`y1`],[`l`,`x4`,`y7`],[`Q`,`hc`,`cy7`,`x3`,`y7`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`b`],[`l`,`wd8`,`y2`],[`l`,`l`,`q1`],[`Q`,`cx4`,`cy4`,`x2`,`y5`],[`l`,`x2`,`y6`],[`Q`,`hc`,`cy6`,`x5`,`y6`],[`l`,`x5`,`y5`],[`Q`,`cx5`,`cy4`,`r`,`q1`],[`l`,`x6`,`y2`],[`l`,`r`,`b`],[`Q`,`cx2`,`cy1`,`x4`,`y1`],[`l`,`x5`,`y3`],[`Q`,`hc`,`cy3`,`x2`,`y3`],[`l`,`x3`,`y1`],[`Q`,`cx1`,`cy1`,`l`,`b`],[`c`],[`m`,`x2`,`y3`],[`l`,`x2`,`y5`],[`m`,`x5`,`y5`],[`l`,`x5`,`y3`],[`m`,`x3`,`y7`],[`l`,`x3`,`y1`],[`m`,`x4`,`y1`],[`l`,`x4`,`y7`]]}]},flowchartalternateprocess:{adj:[],gd:[[`x2`,`+- r 0 ssd6`],[`y2`,`+- b 0 ssd6`],[`il`,`*/ ssd6 29289 100000`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`ssd6`],[`a`,`ssd6`,`ssd6`,`cd2`,`cd4`],[`l`,`x2`,`t`],[`a`,`ssd6`,`ssd6`,`3cd4`,`cd4`],[`l`,`r`,`y2`],[`a`,`ssd6`,`ssd6`,`0`,`cd4`],[`l`,`ssd6`,`b`],[`a`,`ssd6`,`ssd6`,`cd4`,`cd4`],[`c`]]}]},flowchartcollate:{adj:[],gd:[[`ir`,`*/ w 3 4`],[`ib`,`*/ h 3 4`]],paths:[{w:2,h:2,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`2`,`0`],[`l`,`1`,`1`],[`l`,`2`,`2`],[`l`,`0`,`2`],[`l`,`1`,`1`],[`c`]]}]},flowchartconnector:{adj:[],gd:[[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`]]}]},flowchartdecision:{adj:[],gd:[[`ir`,`*/ w 3 4`],[`ib`,`*/ h 3 4`]],paths:[{w:2,h:2,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`1`],[`l`,`1`,`0`],[`l`,`2`,`1`],[`l`,`1`,`2`],[`c`]]}]},flowchartdelay:{adj:[],gd:[[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`hc`,`t`],[`a`,`wd2`,`hd2`,`3cd4`,`cd2`],[`l`,`l`,`b`],[`c`]]}]},flowchartdisplay:{adj:[],gd:[[`x2`,`*/ w 5 6`]],paths:[{w:6,h:6,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`3`],[`l`,`1`,`0`],[`l`,`5`,`0`],[`a`,`1`,`3`,`3cd4`,`cd2`],[`l`,`1`,`6`],[`c`]]}]},flowchartdocument:{adj:[],gd:[[`y1`,`*/ h 17322 21600`],[`y2`,`*/ h 20172 21600`]],paths:[{w:21600,h:21600,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`21600`,`0`],[`l`,`21600`,`17322`],[`C`,`10800`,`17322`,`10800`,`23922`,`0`,`20172`],[`c`]]}]},flowchartextract:{adj:[],gd:[[`x2`,`*/ w 3 4`]],paths:[{w:2,h:2,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`2`],[`l`,`1`,`0`],[`l`,`2`,`2`],[`c`]]}]},flowchartinputoutput:{adj:[],gd:[[`x3`,`*/ w 2 5`],[`x4`,`*/ w 3 5`],[`x5`,`*/ w 4 5`],[`x6`,`*/ w 9 10`]],paths:[{w:5,h:5,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`5`],[`l`,`1`,`0`],[`l`,`5`,`0`],[`l`,`4`,`5`],[`c`]]}]},flowchartinternalstorage:{adj:[],gd:[],paths:[{w:1,h:1,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`0`,`0`],[`l`,`1`,`0`],[`l`,`1`,`1`],[`l`,`0`,`1`],[`c`]]},{w:8,h:8,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`1`,`0`],[`l`,`1`,`8`],[`m`,`0`,`1`],[`l`,`8`,`1`]]},{w:1,h:1,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`1`,`0`],[`l`,`1`,`1`],[`l`,`0`,`1`],[`c`]]}]},flowchartmagneticdisk:{adj:[],gd:[[`y3`,`*/ h 5 6`]],paths:[{w:6,h:6,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`0`,`1`],[`a`,`3`,`1`,`cd2`,`cd2`],[`l`,`6`,`5`],[`a`,`3`,`1`,`0`,`cd2`],[`c`]]},{w:6,h:6,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`6`,`1`],[`a`,`3`,`1`,`0`,`cd2`]]},{w:6,h:6,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`1`],[`a`,`3`,`1`,`cd2`,`cd2`],[`l`,`6`,`5`],[`a`,`3`,`1`,`0`,`cd2`],[`c`]]}]},flowchartmagneticdrum:{adj:[],gd:[[`x2`,`*/ w 2 3`]],paths:[{w:6,h:6,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`1`,`0`],[`l`,`5`,`0`],[`a`,`1`,`3`,`3cd4`,`cd2`],[`l`,`1`,`6`],[`a`,`1`,`3`,`cd4`,`cd2`],[`c`]]},{w:6,h:6,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`5`,`6`],[`a`,`1`,`3`,`cd4`,`cd2`]]},{w:6,h:6,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`1`,`0`],[`l`,`5`,`0`],[`a`,`1`,`3`,`3cd4`,`cd2`],[`l`,`1`,`6`],[`a`,`1`,`3`,`cd4`,`cd2`],[`c`]]}]},flowchartmagnetictape:{adj:[],gd:[[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`],[`ang1`,`at2 w h`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`hc`,`b`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`ang1`],[`l`,`r`,`ib`],[`l`,`r`,`b`],[`c`]]}]},flowchartmanualinput:{adj:[],gd:[],paths:[{w:5,h:5,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`1`],[`l`,`5`,`0`],[`l`,`5`,`5`],[`l`,`0`,`5`],[`c`]]}]},flowchartmanualoperation:{adj:[],gd:[[`x3`,`*/ w 4 5`],[`x4`,`*/ w 9 10`]],paths:[{w:5,h:5,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`5`,`0`],[`l`,`4`,`5`],[`l`,`1`,`5`],[`c`]]}]},flowchartmerge:{adj:[],gd:[[`x2`,`*/ w 3 4`]],paths:[{w:2,h:2,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`2`,`0`],[`l`,`1`,`2`],[`c`]]}]},flowchartmultidocument:{adj:[],gd:[[`y2`,`*/ h 3675 21600`],[`y8`,`*/ h 20782 21600`],[`x3`,`*/ w 9298 21600`],[`x4`,`*/ w 12286 21600`],[`x5`,`*/ w 18595 21600`]],paths:[{w:21600,h:21600,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`0`,`20782`],[`C`,`9298`,`23542`,`9298`,`18022`,`18595`,`18022`],[`l`,`18595`,`3675`],[`l`,`0`,`3675`],[`c`],[`m`,`1532`,`3675`],[`l`,`1532`,`1815`],[`l`,`20000`,`1815`],[`l`,`20000`,`16252`],[`C`,`19298`,`16252`,`18595`,`16352`,`18595`,`16352`],[`l`,`18595`,`3675`],[`c`],[`m`,`2972`,`1815`],[`l`,`2972`,`0`],[`l`,`21600`,`0`],[`l`,`21600`,`14392`],[`C`,`20800`,`14392`,`20000`,`14467`,`20000`,`14467`],[`l`,`20000`,`1815`],[`c`]]},{w:21600,h:21600,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`0`,`3675`],[`l`,`18595`,`3675`],[`l`,`18595`,`18022`],[`C`,`9298`,`18022`,`9298`,`23542`,`0`,`20782`],[`c`],[`m`,`1532`,`3675`],[`l`,`1532`,`1815`],[`l`,`20000`,`1815`],[`l`,`20000`,`16252`],[`C`,`19298`,`16252`,`18595`,`16352`,`18595`,`16352`],[`m`,`2972`,`1815`],[`l`,`2972`,`0`],[`l`,`21600`,`0`],[`l`,`21600`,`14392`],[`C`,`20800`,`14392`,`20000`,`14467`,`20000`,`14467`]]},{w:21600,h:21600,fill:`none`,stroke:!1,extrusionOk:!0,cmds:[[`m`,`0`,`20782`],[`C`,`9298`,`23542`,`9298`,`18022`,`18595`,`18022`],[`l`,`18595`,`16352`],[`C`,`18595`,`16352`,`19298`,`16252`,`20000`,`16252`],[`l`,`20000`,`14467`],[`C`,`20000`,`14467`,`20800`,`14392`,`21600`,`14392`],[`l`,`21600`,`0`],[`l`,`2972`,`0`],[`l`,`2972`,`1815`],[`l`,`1532`,`1815`],[`l`,`1532`,`3675`],[`l`,`0`,`3675`],[`c`]]}]},flowchartofflinestorage:{adj:[],gd:[[`x4`,`*/ w 3 4`]],paths:[{w:2,h:2,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`0`,`0`],[`l`,`2`,`0`],[`l`,`1`,`2`],[`c`]]},{w:5,h:5,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`2`,`4`],[`l`,`3`,`4`]]},{w:2,h:2,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`2`,`0`],[`l`,`1`,`2`],[`c`]]}]},flowchartoffpageconnector:{adj:[],gd:[[`y1`,`*/ h 4 5`]],paths:[{w:10,h:10,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`10`,`0`],[`l`,`10`,`8`],[`l`,`5`,`10`],[`l`,`0`,`8`],[`c`]]}]},flowchartonlinestorage:{adj:[],gd:[[`x2`,`*/ w 5 6`]],paths:[{w:6,h:6,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`1`,`0`],[`l`,`6`,`0`],[`a`,`1`,`3`,`3cd4`,`-10800000`],[`l`,`1`,`6`],[`a`,`1`,`3`,`cd4`,`cd2`],[`c`]]}]},flowchartor:{adj:[],gd:[[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`hc`,`t`],[`l`,`hc`,`b`],[`m`,`l`,`vc`],[`l`,`r`,`vc`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`]]}]},flowchartpredefinedprocess:{adj:[],gd:[[`x2`,`*/ w 7 8`]],paths:[{w:1,h:1,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`0`,`0`],[`l`,`1`,`0`],[`l`,`1`,`1`],[`l`,`0`,`1`],[`c`]]},{w:8,h:8,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`1`,`0`],[`l`,`1`,`8`],[`m`,`7`,`0`],[`l`,`7`,`8`]]},{w:1,h:1,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`1`,`0`],[`l`,`1`,`1`],[`l`,`0`,`1`],[`c`]]}]},flowchartpreparation:{adj:[],gd:[[`x2`,`*/ w 4 5`]],paths:[{w:10,h:10,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`5`],[`l`,`2`,`0`],[`l`,`8`,`0`],[`l`,`10`,`5`],[`l`,`8`,`10`],[`l`,`2`,`10`],[`c`]]}]},flowchartprocess:{adj:[],gd:[],paths:[{w:1,h:1,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`1`,`0`],[`l`,`1`,`1`],[`l`,`0`,`1`],[`c`]]}]},flowchartpunchedcard:{adj:[],gd:[],paths:[{w:5,h:5,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`1`],[`l`,`1`,`0`],[`l`,`5`,`0`],[`l`,`5`,`5`],[`l`,`0`,`5`],[`c`]]}]},flowchartpunchedtape:{adj:[],gd:[[`y2`,`*/ h 9 10`],[`ib`,`*/ h 4 5`]],paths:[{w:20,h:20,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`2`],[`a`,`5`,`2`,`cd2`,`-10800000`],[`a`,`5`,`2`,`cd2`,`cd2`],[`l`,`20`,`18`],[`a`,`5`,`2`,`0`,`-10800000`],[`a`,`5`,`2`,`0`,`cd2`],[`c`]]}]},flowchartsort:{adj:[],gd:[[`ir`,`*/ w 3 4`],[`ib`,`*/ h 3 4`]],paths:[{w:2,h:2,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`0`,`1`],[`l`,`1`,`0`],[`l`,`2`,`1`],[`l`,`1`,`2`],[`c`]]},{w:2,h:2,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`0`,`1`],[`l`,`2`,`1`]]},{w:2,h:2,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`1`],[`l`,`1`,`0`],[`l`,`2`,`1`],[`l`,`1`,`2`],[`c`]]}]},flowchartsummingjunction:{adj:[],gd:[[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`il`,`it`],[`l`,`ir`,`ib`],[`m`,`ir`,`it`],[`l`,`il`,`ib`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`]]}]},flowchartterminator:{adj:[],gd:[[`il`,`*/ w 1018 21600`],[`ir`,`*/ w 20582 21600`],[`it`,`*/ h 3163 21600`],[`ib`,`*/ h 18437 21600`]],paths:[{w:21600,h:21600,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`3475`,`0`],[`l`,`18125`,`0`],[`a`,`3475`,`10800`,`3cd4`,`cd2`],[`l`,`3475`,`21600`],[`a`,`3475`,`10800`,`cd4`,`cd2`],[`c`]]}]},foldedcorner:{adj:[[`adj`,`val 16667`]],gd:[[`a`,`pin 0 adj 50000`],[`dy2`,`*/ ss a 100000`],[`dy1`,`*/ dy2 1 5`],[`x1`,`+- r 0 dy2`],[`x2`,`+- x1 dy1 0`],[`y2`,`+- b 0 dy2`],[`y1`,`+- y2 dy1 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`y2`],[`l`,`x1`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x1`,`b`],[`l`,`x2`,`y1`],[`l`,`r`,`y2`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`b`],[`l`,`x2`,`y1`],[`l`,`r`,`y2`],[`l`,`x1`,`b`],[`l`,`l`,`b`],[`l`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`y2`]]}]},frame:{adj:[[`adj1`,`val 12500`]],gd:[[`a1`,`pin 0 adj1 50000`],[`x1`,`*/ ss a1 100000`],[`x4`,`+- r 0 x1`],[`y4`,`+- b 0 x1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`x1`,`x1`],[`l`,`x1`,`y4`],[`l`,`x4`,`y4`],[`l`,`x4`,`x1`],[`c`]]}]},funnel:{adj:[],gd:[[`d`,`*/ ss 1 20`],[`rw2`,`+- wd2 0 d`],[`rh2`,`+- hd4 0 d`],[`t1`,`cos wd2 480000`],[`t2`,`sin hd4 480000`],[`da`,`at2 t1 t2`],[`2da`,`*/ da 2 1`],[`stAng1`,`+- cd2 0 da`],[`swAng1`,`+- cd2 2da 0`],[`swAng3`,`+- cd2 0 2da`],[`rw3`,`*/ wd2 1 4`],[`rh3`,`*/ hd4 1 4`],[`ct1`,`cos hd4 stAng1`],[`st1`,`sin wd2 stAng1`],[`m1`,`mod ct1 st1 0`],[`n1`,`*/ wd2 hd4 m1`],[`dx1`,`cos n1 stAng1`],[`dy1`,`sin n1 stAng1`],[`x1`,`+- hc dx1 0`],[`y1`,`+- hd4 dy1 0`],[`ct3`,`cos rh3 da`],[`st3`,`sin rw3 da`],[`m3`,`mod ct3 st3 0`],[`n3`,`*/ rw3 rh3 m3`],[`dx3`,`cos n3 da`],[`dy3`,`sin n3 da`],[`x3`,`+- hc dx3 0`],[`vc3`,`+- b 0 rh3`],[`y2`,`+- vc3 dy3 0`],[`x2`,`+- wd2 0 rw2`],[`cd`,`*/ cd2 2 1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd4`,`stAng1`,`swAng1`],[`l`,`x3`,`y2`],[`a`,`rw3`,`rh3`,`da`,`swAng3`],[`c`],[`m`,`x2`,`hd4`],[`a`,`rw2`,`rh2`,`cd2`,`-21600000`],[`c`]]}]},gear6:{adj:[[`adj1`,`val 15000`],[`adj2`,`val 3526`]],gd:[[`a1`,`pin 0 adj1 20000`],[`a2`,`pin 0 adj2 5358`],[`th`,`*/ ss a1 100000`],[`lFD`,`*/ ss a2 100000`],[`th2`,`*/ th 1 2`],[`l2`,`*/ lFD 1 2`],[`l3`,`+- th2 l2 0`],[`rh`,`+- hd2 0 th`],[`rw`,`+- wd2 0 th`],[`dr`,`+- rw 0 rh`],[`maxr`,`?: dr rh rw`],[`ha`,`at2 maxr l3`],[`aA1`,`+- 19800000 0 ha`],[`aD1`,`+- 19800000 ha 0`],[`ta11`,`cos rw aA1`],[`ta12`,`sin rh aA1`],[`bA1`,`at2 ta11 ta12`],[`cta1`,`cos rh bA1`],[`sta1`,`sin rw bA1`],[`ma1`,`mod cta1 sta1 0`],[`na1`,`*/ rw rh ma1`],[`dxa1`,`cos na1 bA1`],[`dya1`,`sin na1 bA1`],[`xA1`,`+- hc dxa1 0`],[`yA1`,`+- vc dya1 0`],[`td11`,`cos rw aD1`],[`td12`,`sin rh aD1`],[`bD1`,`at2 td11 td12`],[`ctd1`,`cos rh bD1`],[`std1`,`sin rw bD1`],[`md1`,`mod ctd1 std1 0`],[`nd1`,`*/ rw rh md1`],[`dxd1`,`cos nd1 bD1`],[`dyd1`,`sin nd1 bD1`],[`xD1`,`+- hc dxd1 0`],[`yD1`,`+- vc dyd1 0`],[`xAD1`,`+- xA1 0 xD1`],[`yAD1`,`+- yA1 0 yD1`],[`lAD1`,`mod xAD1 yAD1 0`],[`a1`,`at2 yAD1 xAD1`],[`dxF1`,`sin lFD a1`],[`dyF1`,`cos lFD a1`],[`xF1`,`+- xD1 dxF1 0`],[`yF1`,`+- yD1 dyF1 0`],[`xE1`,`+- xA1 0 dxF1`],[`yE1`,`+- yA1 0 dyF1`],[`yC1t`,`sin th a1`],[`xC1t`,`cos th a1`],[`yC1`,`+- yF1 yC1t 0`],[`xC1`,`+- xF1 0 xC1t`],[`yB1`,`+- yE1 yC1t 0`],[`xB1`,`+- xE1 0 xC1t`],[`aD6`,`+- 3cd4 ha 0`],[`td61`,`cos rw aD6`],[`td62`,`sin rh aD6`],[`bD6`,`at2 td61 td62`],[`ctd6`,`cos rh bD6`],[`std6`,`sin rw bD6`],[`md6`,`mod ctd6 std6 0`],[`nd6`,`*/ rw rh md6`],[`dxd6`,`cos nd6 bD6`],[`dyd6`,`sin nd6 bD6`],[`xD6`,`+- hc dxd6 0`],[`yD6`,`+- vc dyd6 0`],[`xA6`,`+- hc 0 dxd6`],[`xF6`,`+- xD6 0 lFD`],[`xE6`,`+- xA6 lFD 0`],[`yC6`,`+- yD6 0 th`],[`swAng1`,`+- bA1 0 bD6`],[`aA2`,`+- 1800000 0 ha`],[`aD2`,`+- 1800000 ha 0`],[`ta21`,`cos rw aA2`],[`ta22`,`sin rh aA2`],[`bA2`,`at2 ta21 ta22`],[`yA2`,`+- h 0 yD1`],[`td21`,`cos rw aD2`],[`td22`,`sin rh aD2`],[`bD2`,`at2 td21 td22`],[`yD2`,`+- h 0 yA1`],[`yC2`,`+- h 0 yB1`],[`yB2`,`+- h 0 yC1`],[`xB2`,`val xC1`],[`swAng2`,`+- bA2 0 bD1`],[`aD3`,`+- cd4 ha 0`],[`td31`,`cos rw aD3`],[`td32`,`sin rh aD3`],[`bD3`,`at2 td31 td32`],[`yD3`,`+- h 0 yD6`],[`yB3`,`+- h 0 yC6`],[`aD4`,`+- 9000000 ha 0`],[`td41`,`cos rw aD4`],[`td42`,`sin rh aD4`],[`bD4`,`at2 td41 td42`],[`xD4`,`+- w 0 xD1`],[`xC4`,`+- w 0 xC1`],[`xB4`,`+- w 0 xB1`],[`aD5`,`+- 12600000 ha 0`],[`td51`,`cos rw aD5`],[`td52`,`sin rh aD5`],[`bD5`,`at2 td51 td52`],[`xD5`,`+- w 0 xA1`],[`xC5`,`+- w 0 xB1`],[`xB5`,`+- w 0 xC1`],[`xCxn1`,`+/ xB1 xC1 2`],[`yCxn1`,`+/ yB1 yC1 2`],[`yCxn2`,`+- b 0 yCxn1`],[`xCxn4`,`+/ r 0 xCxn1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xA1`,`yA1`],[`l`,`xB1`,`yB1`],[`l`,`xC1`,`yC1`],[`l`,`xD1`,`yD1`],[`a`,`rw`,`rh`,`bD1`,`swAng2`],[`l`,`xC1`,`yB2`],[`l`,`xB1`,`yC2`],[`l`,`xA1`,`yD2`],[`a`,`rw`,`rh`,`bD2`,`swAng1`],[`l`,`xF6`,`yB3`],[`l`,`xE6`,`yB3`],[`l`,`xA6`,`yD3`],[`a`,`rw`,`rh`,`bD3`,`swAng1`],[`l`,`xB4`,`yC2`],[`l`,`xC4`,`yB2`],[`l`,`xD4`,`yA2`],[`a`,`rw`,`rh`,`bD4`,`swAng2`],[`l`,`xB5`,`yC1`],[`l`,`xC5`,`yB1`],[`l`,`xD5`,`yA1`],[`a`,`rw`,`rh`,`bD5`,`swAng1`],[`l`,`xE6`,`yC6`],[`l`,`xF6`,`yC6`],[`l`,`xD6`,`yD6`],[`a`,`rw`,`rh`,`bD6`,`swAng1`],[`c`]]}]},gear9:{adj:[[`adj1`,`val 10000`],[`adj2`,`val 1763`]],gd:[[`a1`,`pin 0 adj1 20000`],[`a2`,`pin 0 adj2 2679`],[`th`,`*/ ss a1 100000`],[`lFD`,`*/ ss a2 100000`],[`th2`,`*/ th 1 2`],[`l2`,`*/ lFD 1 2`],[`l3`,`+- th2 l2 0`],[`rh`,`+- hd2 0 th`],[`rw`,`+- wd2 0 th`],[`dr`,`+- rw 0 rh`],[`maxr`,`?: dr rh rw`],[`ha`,`at2 maxr l3`],[`aA1`,`+- 18600000 0 ha`],[`aD1`,`+- 18600000 ha 0`],[`ta11`,`cos rw aA1`],[`ta12`,`sin rh aA1`],[`bA1`,`at2 ta11 ta12`],[`cta1`,`cos rh bA1`],[`sta1`,`sin rw bA1`],[`ma1`,`mod cta1 sta1 0`],[`na1`,`*/ rw rh ma1`],[`dxa1`,`cos na1 bA1`],[`dya1`,`sin na1 bA1`],[`xA1`,`+- hc dxa1 0`],[`yA1`,`+- vc dya1 0`],[`td11`,`cos rw aD1`],[`td12`,`sin rh aD1`],[`bD1`,`at2 td11 td12`],[`ctd1`,`cos rh bD1`],[`std1`,`sin rw bD1`],[`md1`,`mod ctd1 std1 0`],[`nd1`,`*/ rw rh md1`],[`dxd1`,`cos nd1 bD1`],[`dyd1`,`sin nd1 bD1`],[`xD1`,`+- hc dxd1 0`],[`yD1`,`+- vc dyd1 0`],[`xAD1`,`+- xA1 0 xD1`],[`yAD1`,`+- yA1 0 yD1`],[`lAD1`,`mod xAD1 yAD1 0`],[`a1`,`at2 yAD1 xAD1`],[`dxF1`,`sin lFD a1`],[`dyF1`,`cos lFD a1`],[`xF1`,`+- xD1 dxF1 0`],[`yF1`,`+- yD1 dyF1 0`],[`xE1`,`+- xA1 0 dxF1`],[`yE1`,`+- yA1 0 dyF1`],[`yC1t`,`sin th a1`],[`xC1t`,`cos th a1`],[`yC1`,`+- yF1 yC1t 0`],[`xC1`,`+- xF1 0 xC1t`],[`yB1`,`+- yE1 yC1t 0`],[`xB1`,`+- xE1 0 xC1t`],[`aA2`,`+- 21000000 0 ha`],[`aD2`,`+- 21000000 ha 0`],[`ta21`,`cos rw aA2`],[`ta22`,`sin rh aA2`],[`bA2`,`at2 ta21 ta22`],[`cta2`,`cos rh bA2`],[`sta2`,`sin rw bA2`],[`ma2`,`mod cta2 sta2 0`],[`na2`,`*/ rw rh ma2`],[`dxa2`,`cos na2 bA2`],[`dya2`,`sin na2 bA2`],[`xA2`,`+- hc dxa2 0`],[`yA2`,`+- vc dya2 0`],[`td21`,`cos rw aD2`],[`td22`,`sin rh aD2`],[`bD2`,`at2 td21 td22`],[`ctd2`,`cos rh bD2`],[`std2`,`sin rw bD2`],[`md2`,`mod ctd2 std2 0`],[`nd2`,`*/ rw rh md2`],[`dxd2`,`cos nd2 bD2`],[`dyd2`,`sin nd2 bD2`],[`xD2`,`+- hc dxd2 0`],[`yD2`,`+- vc dyd2 0`],[`xAD2`,`+- xA2 0 xD2`],[`yAD2`,`+- yA2 0 yD2`],[`lAD2`,`mod xAD2 yAD2 0`],[`a2`,`at2 yAD2 xAD2`],[`dxF2`,`sin lFD a2`],[`dyF2`,`cos lFD a2`],[`xF2`,`+- xD2 dxF2 0`],[`yF2`,`+- yD2 dyF2 0`],[`xE2`,`+- xA2 0 dxF2`],[`yE2`,`+- yA2 0 dyF2`],[`yC2t`,`sin th a2`],[`xC2t`,`cos th a2`],[`yC2`,`+- yF2 yC2t 0`],[`xC2`,`+- xF2 0 xC2t`],[`yB2`,`+- yE2 yC2t 0`],[`xB2`,`+- xE2 0 xC2t`],[`swAng1`,`+- bA2 0 bD1`],[`aA3`,`+- 1800000 0 ha`],[`aD3`,`+- 1800000 ha 0`],[`ta31`,`cos rw aA3`],[`ta32`,`sin rh aA3`],[`bA3`,`at2 ta31 ta32`],[`cta3`,`cos rh bA3`],[`sta3`,`sin rw bA3`],[`ma3`,`mod cta3 sta3 0`],[`na3`,`*/ rw rh ma3`],[`dxa3`,`cos na3 bA3`],[`dya3`,`sin na3 bA3`],[`xA3`,`+- hc dxa3 0`],[`yA3`,`+- vc dya3 0`],[`td31`,`cos rw aD3`],[`td32`,`sin rh aD3`],[`bD3`,`at2 td31 td32`],[`ctd3`,`cos rh bD3`],[`std3`,`sin rw bD3`],[`md3`,`mod ctd3 std3 0`],[`nd3`,`*/ rw rh md3`],[`dxd3`,`cos nd3 bD3`],[`dyd3`,`sin nd3 bD3`],[`xD3`,`+- hc dxd3 0`],[`yD3`,`+- vc dyd3 0`],[`xAD3`,`+- xA3 0 xD3`],[`yAD3`,`+- yA3 0 yD3`],[`lAD3`,`mod xAD3 yAD3 0`],[`a3`,`at2 yAD3 xAD3`],[`dxF3`,`sin lFD a3`],[`dyF3`,`cos lFD a3`],[`xF3`,`+- xD3 dxF3 0`],[`yF3`,`+- yD3 dyF3 0`],[`xE3`,`+- xA3 0 dxF3`],[`yE3`,`+- yA3 0 dyF3`],[`yC3t`,`sin th a3`],[`xC3t`,`cos th a3`],[`yC3`,`+- yF3 yC3t 0`],[`xC3`,`+- xF3 0 xC3t`],[`yB3`,`+- yE3 yC3t 0`],[`xB3`,`+- xE3 0 xC3t`],[`swAng2`,`+- bA3 0 bD2`],[`aA4`,`+- 4200000 0 ha`],[`aD4`,`+- 4200000 ha 0`],[`ta41`,`cos rw aA4`],[`ta42`,`sin rh aA4`],[`bA4`,`at2 ta41 ta42`],[`cta4`,`cos rh bA4`],[`sta4`,`sin rw bA4`],[`ma4`,`mod cta4 sta4 0`],[`na4`,`*/ rw rh ma4`],[`dxa4`,`cos na4 bA4`],[`dya4`,`sin na4 bA4`],[`xA4`,`+- hc dxa4 0`],[`yA4`,`+- vc dya4 0`],[`td41`,`cos rw aD4`],[`td42`,`sin rh aD4`],[`bD4`,`at2 td41 td42`],[`ctd4`,`cos rh bD4`],[`std4`,`sin rw bD4`],[`md4`,`mod ctd4 std4 0`],[`nd4`,`*/ rw rh md4`],[`dxd4`,`cos nd4 bD4`],[`dyd4`,`sin nd4 bD4`],[`xD4`,`+- hc dxd4 0`],[`yD4`,`+- vc dyd4 0`],[`xAD4`,`+- xA4 0 xD4`],[`yAD4`,`+- yA4 0 yD4`],[`lAD4`,`mod xAD4 yAD4 0`],[`a4`,`at2 yAD4 xAD4`],[`dxF4`,`sin lFD a4`],[`dyF4`,`cos lFD a4`],[`xF4`,`+- xD4 dxF4 0`],[`yF4`,`+- yD4 dyF4 0`],[`xE4`,`+- xA4 0 dxF4`],[`yE4`,`+- yA4 0 dyF4`],[`yC4t`,`sin th a4`],[`xC4t`,`cos th a4`],[`yC4`,`+- yF4 yC4t 0`],[`xC4`,`+- xF4 0 xC4t`],[`yB4`,`+- yE4 yC4t 0`],[`xB4`,`+- xE4 0 xC4t`],[`swAng3`,`+- bA4 0 bD3`],[`aA5`,`+- 6600000 0 ha`],[`aD5`,`+- 6600000 ha 0`],[`ta51`,`cos rw aA5`],[`ta52`,`sin rh aA5`],[`bA5`,`at2 ta51 ta52`],[`td51`,`cos rw aD5`],[`td52`,`sin rh aD5`],[`bD5`,`at2 td51 td52`],[`xD5`,`+- w 0 xA4`],[`xC5`,`+- w 0 xB4`],[`xB5`,`+- w 0 xC4`],[`swAng4`,`+- bA5 0 bD4`],[`aD6`,`+- 9000000 ha 0`],[`td61`,`cos rw aD6`],[`td62`,`sin rh aD6`],[`bD6`,`at2 td61 td62`],[`xD6`,`+- w 0 xA3`],[`xC6`,`+- w 0 xB3`],[`xB6`,`+- w 0 xC3`],[`aD7`,`+- 11400000 ha 0`],[`td71`,`cos rw aD7`],[`td72`,`sin rh aD7`],[`bD7`,`at2 td71 td72`],[`xD7`,`+- w 0 xA2`],[`xC7`,`+- w 0 xB2`],[`xB7`,`+- w 0 xC2`],[`aD8`,`+- 13800000 ha 0`],[`td81`,`cos rw aD8`],[`td82`,`sin rh aD8`],[`bD8`,`at2 td81 td82`],[`xA8`,`+- w 0 xD1`],[`xD8`,`+- w 0 xA1`],[`xC8`,`+- w 0 xB1`],[`xB8`,`+- w 0 xC1`],[`aA9`,`+- 3cd4 0 ha`],[`aD9`,`+- 3cd4 ha 0`],[`td91`,`cos rw aD9`],[`td92`,`sin rh aD9`],[`bD9`,`at2 td91 td92`],[`ctd9`,`cos rh bD9`],[`std9`,`sin rw bD9`],[`md9`,`mod ctd9 std9 0`],[`nd9`,`*/ rw rh md9`],[`dxd9`,`cos nd9 bD9`],[`dyd9`,`sin nd9 bD9`],[`xD9`,`+- hc dxd9 0`],[`yD9`,`+- vc dyd9 0`],[`ta91`,`cos rw aA9`],[`ta92`,`sin rh aA9`],[`bA9`,`at2 ta91 ta92`],[`xA9`,`+- hc 0 dxd9`],[`xF9`,`+- xD9 0 lFD`],[`xE9`,`+- xA9 lFD 0`],[`yC9`,`+- yD9 0 th`],[`swAng5`,`+- bA9 0 bD8`],[`xCxn1`,`+/ xB1 xC1 2`],[`yCxn1`,`+/ yB1 yC1 2`],[`xCxn2`,`+/ xB2 xC2 2`],[`yCxn2`,`+/ yB2 yC2 2`],[`xCxn3`,`+/ xB3 xC3 2`],[`yCxn3`,`+/ yB3 yC3 2`],[`xCxn4`,`+/ xB4 xC4 2`],[`yCxn4`,`+/ yB4 yC4 2`],[`xCxn5`,`+/ r 0 xCxn4`],[`xCxn6`,`+/ r 0 xCxn3`],[`xCxn7`,`+/ r 0 xCxn2`],[`xCxn8`,`+/ r 0 xCxn1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xA1`,`yA1`],[`l`,`xB1`,`yB1`],[`l`,`xC1`,`yC1`],[`l`,`xD1`,`yD1`],[`a`,`rw`,`rh`,`bD1`,`swAng1`],[`l`,`xB2`,`yB2`],[`l`,`xC2`,`yC2`],[`l`,`xD2`,`yD2`],[`a`,`rw`,`rh`,`bD2`,`swAng2`],[`l`,`xB3`,`yB3`],[`l`,`xC3`,`yC3`],[`l`,`xD3`,`yD3`],[`a`,`rw`,`rh`,`bD3`,`swAng3`],[`l`,`xB4`,`yB4`],[`l`,`xC4`,`yC4`],[`l`,`xD4`,`yD4`],[`a`,`rw`,`rh`,`bD4`,`swAng4`],[`l`,`xB5`,`yC4`],[`l`,`xC5`,`yB4`],[`l`,`xD5`,`yA4`],[`a`,`rw`,`rh`,`bD5`,`swAng3`],[`l`,`xB6`,`yC3`],[`l`,`xC6`,`yB3`],[`l`,`xD6`,`yA3`],[`a`,`rw`,`rh`,`bD6`,`swAng2`],[`l`,`xB7`,`yC2`],[`l`,`xC7`,`yB2`],[`l`,`xD7`,`yA2`],[`a`,`rw`,`rh`,`bD7`,`swAng1`],[`l`,`xB8`,`yC1`],[`l`,`xC8`,`yB1`],[`l`,`xD8`,`yA1`],[`a`,`rw`,`rh`,`bD8`,`swAng5`],[`l`,`xE9`,`yC9`],[`l`,`xF9`,`yC9`],[`l`,`xD9`,`yD9`],[`a`,`rw`,`rh`,`bD9`,`swAng5`],[`c`]]}]},halfframe:{adj:[[`adj1`,`val 33333`],[`adj2`,`val 33333`]],gd:[[`maxAdj2`,`*/ 100000 w ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`x1`,`*/ ss a2 100000`],[`g1`,`*/ h x1 w`],[`g2`,`+- h 0 g1`],[`maxAdj1`,`*/ 100000 g2 ss`],[`a1`,`pin 0 adj1 maxAdj1`],[`y1`,`*/ ss a1 100000`],[`dx2`,`*/ y1 w h`],[`x2`,`+- r 0 dx2`],[`dy2`,`*/ x1 h w`],[`y2`,`+- b 0 dy2`],[`cx1`,`*/ x1 1 2`],[`cy1`,`+/ y2 b 2`],[`cx2`,`+/ x2 r 2`],[`cy2`,`*/ y1 1 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`x2`,`y1`],[`l`,`x1`,`y1`],[`l`,`x1`,`y2`],[`l`,`l`,`b`],[`c`]]}]},heart:{adj:[],gd:[[`dx1`,`*/ w 49 48`],[`dx2`,`*/ w 10 48`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`y1`,`+- t 0 hd3`],[`il`,`*/ w 1 6`],[`ir`,`*/ w 5 6`],[`ib`,`*/ h 2 3`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`hc`,`hd4`],[`C`,`x3`,`y1`,`x4`,`hd4`,`hc`,`b`],[`C`,`x1`,`hd4`,`x2`,`y1`,`hc`,`hd4`],[`c`]]}]},heptagon:{adj:[[`hf`,`val 102572`],[`vf`,`val 105210`]],gd:[[`swd2`,`*/ wd2 hf 100000`],[`shd2`,`*/ hd2 vf 100000`],[`svc`,`*/ vc vf 100000`],[`dx1`,`*/ swd2 97493 100000`],[`dx2`,`*/ swd2 78183 100000`],[`dx3`,`*/ swd2 43388 100000`],[`dy1`,`*/ shd2 62349 100000`],[`dy2`,`*/ shd2 22252 100000`],[`dy3`,`*/ shd2 90097 100000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc 0 dx3`],[`x4`,`+- hc dx3 0`],[`x5`,`+- hc dx2 0`],[`x6`,`+- hc dx1 0`],[`y1`,`+- svc 0 dy1`],[`y2`,`+- svc dy2 0`],[`y3`,`+- svc dy3 0`],[`ib`,`+- b 0 y1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y2`],[`l`,`x2`,`y1`],[`l`,`hc`,`t`],[`l`,`x5`,`y1`],[`l`,`x6`,`y2`],[`l`,`x4`,`y3`],[`l`,`x3`,`y3`],[`c`]]}]},hexagon:{adj:[[`adj`,`val 25000`],[`vf`,`val 115470`]],gd:[[`maxAdj`,`*/ 50000 w ss`],[`a`,`pin 0 adj maxAdj`],[`shd2`,`*/ hd2 vf 100000`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`dy1`,`sin shd2 3600000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc dy1 0`],[`q1`,`*/ maxAdj -1 2`],[`q2`,`+- a q1 0`],[`q3`,`?: q2 4 2`],[`q4`,`?: q2 3 2`],[`q5`,`?: q2 q1 0`],[`q6`,`+/ a q5 q1`],[`q7`,`*/ q6 q4 -1`],[`q8`,`+- q3 q7 0`],[`il`,`*/ w q8 24`],[`it`,`*/ h q8 24`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 it`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`x1`,`y1`],[`l`,`x2`,`y1`],[`l`,`r`,`vc`],[`l`,`x2`,`y2`],[`l`,`x1`,`y2`],[`c`]]}]},homeplate:{adj:[[`adj`,`val 50000`]],gd:[[`maxAdj`,`*/ 100000 w ss`],[`a`,`pin 0 adj maxAdj`],[`dx1`,`*/ ss a 100000`],[`x1`,`+- r 0 dx1`],[`ir`,`+/ x1 r 2`],[`x2`,`*/ x1 1 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`l`,`r`,`vc`],[`l`,`x1`,`b`],[`l`,`l`,`b`],[`c`]]}]},horizontalscroll:{adj:[[`adj`,`val 12500`]],gd:[[`a`,`pin 0 adj 25000`],[`ch`,`*/ ss a 100000`],[`ch2`,`*/ ch 1 2`],[`ch4`,`*/ ch 1 4`],[`y3`,`+- ch ch2 0`],[`y4`,`+- ch ch 0`],[`y6`,`+- b 0 ch`],[`y7`,`+- b 0 ch2`],[`y5`,`+- y6 0 ch2`],[`x3`,`+- r 0 ch`],[`x4`,`+- r 0 ch2`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`r`,`ch2`],[`a`,`ch2`,`ch2`,`0`,`cd4`],[`l`,`x4`,`ch2`],[`a`,`ch4`,`ch4`,`0`,`cd2`],[`l`,`x3`,`ch`],[`l`,`ch2`,`ch`],[`a`,`ch2`,`ch2`,`3cd4`,`-5400000`],[`l`,`l`,`y7`],[`a`,`ch2`,`ch2`,`cd2`,`-10800000`],[`l`,`ch`,`y6`],[`l`,`x4`,`y6`],[`a`,`ch2`,`ch2`,`cd4`,`-5400000`],[`c`],[`m`,`ch2`,`y4`],[`a`,`ch2`,`ch2`,`cd4`,`-5400000`],[`a`,`ch4`,`ch4`,`0`,`-10800000`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`ch2`,`y4`],[`a`,`ch2`,`ch2`,`cd4`,`-5400000`],[`a`,`ch4`,`ch4`,`0`,`-10800000`],[`c`],[`m`,`x4`,`ch`],[`a`,`ch2`,`ch2`,`cd4`,`-16200000`],[`a`,`ch4`,`ch4`,`cd2`,`-10800000`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`y3`],[`a`,`ch2`,`ch2`,`cd2`,`cd4`],[`l`,`x3`,`ch`],[`l`,`x3`,`ch2`],[`a`,`ch2`,`ch2`,`cd2`,`cd2`],[`l`,`r`,`y5`],[`a`,`ch2`,`ch2`,`0`,`cd4`],[`l`,`ch`,`y6`],[`l`,`ch`,`y7`],[`a`,`ch2`,`ch2`,`0`,`cd2`],[`c`],[`m`,`x3`,`ch`],[`l`,`x4`,`ch`],[`a`,`ch2`,`ch2`,`cd4`,`-5400000`],[`m`,`x4`,`ch`],[`l`,`x4`,`ch2`],[`a`,`ch4`,`ch4`,`0`,`cd2`],[`m`,`ch2`,`y4`],[`l`,`ch2`,`y3`],[`a`,`ch4`,`ch4`,`cd2`,`cd2`],[`a`,`ch2`,`ch2`,`0`,`cd2`],[`m`,`ch`,`y3`],[`l`,`ch`,`y6`]]}]},irregularseal1:{adj:[],gd:[[`x5`,`*/ w 4627 21600`],[`x12`,`*/ w 8485 21600`],[`x21`,`*/ w 16702 21600`],[`x24`,`*/ w 14522 21600`],[`y3`,`*/ h 6320 21600`],[`y6`,`*/ h 8615 21600`],[`y9`,`*/ h 13937 21600`],[`y18`,`*/ h 13290 21600`]],paths:[{w:21600,h:21600,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`10800`,`5800`],[`l`,`14522`,`0`],[`l`,`14155`,`5325`],[`l`,`18380`,`4457`],[`l`,`16702`,`7315`],[`l`,`21097`,`8137`],[`l`,`17607`,`10475`],[`l`,`21600`,`13290`],[`l`,`16837`,`12942`],[`l`,`18145`,`18095`],[`l`,`14020`,`14457`],[`l`,`13247`,`19737`],[`l`,`10532`,`14935`],[`l`,`8485`,`21600`],[`l`,`7715`,`15627`],[`l`,`4762`,`17617`],[`l`,`5667`,`13937`],[`l`,`135`,`14587`],[`l`,`3722`,`11775`],[`l`,`0`,`8615`],[`l`,`4627`,`7617`],[`l`,`370`,`2295`],[`l`,`7312`,`6320`],[`l`,`8352`,`2295`],[`c`]]}]},irregularseal2:{adj:[],gd:[[`x2`,`*/ w 9722 21600`],[`x5`,`*/ w 5372 21600`],[`x16`,`*/ w 11612 21600`],[`x19`,`*/ w 14640 21600`],[`y2`,`*/ h 1887 21600`],[`y3`,`*/ h 6382 21600`],[`y8`,`*/ h 12877 21600`],[`y14`,`*/ h 19712 21600`],[`y16`,`*/ h 18842 21600`],[`y17`,`*/ h 15935 21600`],[`y24`,`*/ h 6645 21600`]],paths:[{w:21600,h:21600,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`11462`,`4342`],[`l`,`14790`,`0`],[`l`,`14525`,`5777`],[`l`,`18007`,`3172`],[`l`,`16380`,`6532`],[`l`,`21600`,`6645`],[`l`,`16985`,`9402`],[`l`,`18270`,`11290`],[`l`,`16380`,`12310`],[`l`,`18877`,`15632`],[`l`,`14640`,`14350`],[`l`,`14942`,`17370`],[`l`,`12180`,`15935`],[`l`,`11612`,`18842`],[`l`,`9872`,`17370`],[`l`,`8700`,`19712`],[`l`,`7527`,`18125`],[`l`,`4917`,`21600`],[`l`,`4805`,`18240`],[`l`,`1285`,`17825`],[`l`,`3330`,`15370`],[`l`,`0`,`12877`],[`l`,`3935`,`11592`],[`l`,`1172`,`8270`],[`l`,`5372`,`7817`],[`l`,`4502`,`3625`],[`l`,`8550`,`6382`],[`l`,`9722`,`1887`],[`c`]]}]},leftarrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 100000 w ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`dx2`,`*/ ss a2 100000`],[`x2`,`+- l dx2 0`],[`dy1`,`*/ h a1 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc dy1 0`],[`dx1`,`*/ y1 dx2 hd2`],[`x1`,`+- x2 0 dx1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`x2`,`t`],[`l`,`x2`,`y1`],[`l`,`r`,`y1`],[`l`,`r`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`b`],[`c`]]}]},leftarrowcallout:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 64977`]],gd:[[`maxAdj2`,`*/ 50000 h ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`*/ 100000 w ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`q2`,`*/ a3 ss w`],[`maxAdj4`,`+- 100000 0 q2`],[`a4`,`pin 0 adj4 maxAdj4`],[`dy1`,`*/ ss a2 100000`],[`dy2`,`*/ ss a1 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`],[`y4`,`+- vc dy1 0`],[`x1`,`*/ ss a3 100000`],[`dx2`,`*/ w a4 100000`],[`x2`,`+- r 0 dx2`],[`x3`,`+/ x2 r 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`x1`,`y1`],[`l`,`x1`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`x2`,`b`],[`l`,`x2`,`y3`],[`l`,`x1`,`y3`],[`l`,`x1`,`y4`],[`c`]]}]},leftbrace:{adj:[[`adj1`,`val 8333`],[`adj2`,`val 50000`]],gd:[[`a2`,`pin 0 adj2 100000`],[`q1`,`+- 100000 0 a2`],[`q2`,`min q1 a2`],[`q3`,`*/ q2 1 2`],[`maxAdj1`,`*/ q3 h ss`],[`a1`,`pin 0 adj1 maxAdj1`],[`y1`,`*/ ss a1 100000`],[`y3`,`*/ h a2 100000`],[`y4`,`+- y3 y1 0`],[`dx1`,`cos wd2 2700000`],[`dy1`,`sin y1 2700000`],[`il`,`+- r 0 dx1`],[`it`,`+- y1 0 dy1`],[`ib`,`+- b dy1 y1`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`r`,`b`],[`a`,`wd2`,`y1`,`cd4`,`cd4`],[`l`,`hc`,`y4`],[`a`,`wd2`,`y1`,`0`,`-5400000`],[`a`,`wd2`,`y1`,`cd4`,`-5400000`],[`l`,`hc`,`y1`],[`a`,`wd2`,`y1`,`cd2`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`r`,`b`],[`a`,`wd2`,`y1`,`cd4`,`cd4`],[`l`,`hc`,`y4`],[`a`,`wd2`,`y1`,`0`,`-5400000`],[`a`,`wd2`,`y1`,`cd4`,`-5400000`],[`l`,`hc`,`y1`],[`a`,`wd2`,`y1`,`cd2`,`cd4`]]}]},leftbracket:{adj:[[`adj`,`val 8333`]],gd:[[`maxAdj`,`*/ 50000 h ss`],[`a`,`pin 0 adj maxAdj`],[`y1`,`*/ ss a 100000`],[`y2`,`+- b 0 y1`],[`dx1`,`cos w 2700000`],[`dy1`,`sin y1 2700000`],[`il`,`+- r 0 dx1`],[`it`,`+- y1 0 dy1`],[`ib`,`+- b dy1 y1`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`r`,`b`],[`a`,`w`,`y1`,`cd4`,`cd4`],[`l`,`l`,`y1`],[`a`,`w`,`y1`,`cd2`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`r`,`b`],[`a`,`w`,`y1`,`cd4`,`cd4`],[`l`,`l`,`y1`],[`a`,`w`,`y1`,`cd2`,`cd4`]]}]},leftcirculararrow:{adj:[[`adj1`,`val 12500`],[`adj2`,`val -1142319`],[`adj3`,`val 1142319`],[`adj4`,`val 10800000`],[`adj5`,`val 12500`]],gd:[[`a5`,`pin 0 adj5 25000`],[`maxAdj1`,`*/ a5 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`enAng`,`pin 1 adj3 21599999`],[`stAng`,`pin 0 adj4 21599999`],[`th`,`*/ ss a1 100000`],[`thh`,`*/ ss a5 100000`],[`th2`,`*/ th 1 2`],[`rw1`,`+- wd2 th2 thh`],[`rh1`,`+- hd2 th2 thh`],[`rw2`,`+- rw1 0 th`],[`rh2`,`+- rh1 0 th`],[`rw3`,`+- rw2 th2 0`],[`rh3`,`+- rh2 th2 0`],[`wtH`,`sin rw3 enAng`],[`htH`,`cos rh3 enAng`],[`dxH`,`cat2 rw3 htH wtH`],[`dyH`,`sat2 rh3 htH wtH`],[`xH`,`+- hc dxH 0`],[`yH`,`+- vc dyH 0`],[`rI`,`min rw2 rh2`],[`u1`,`*/ dxH dxH 1`],[`u2`,`*/ dyH dyH 1`],[`u3`,`*/ rI rI 1`],[`u4`,`+- u1 0 u3`],[`u5`,`+- u2 0 u3`],[`u6`,`*/ u4 u5 u1`],[`u7`,`*/ u6 1 u2`],[`u8`,`+- 1 0 u7`],[`u9`,`sqrt u8`],[`u10`,`*/ u4 1 dxH`],[`u11`,`*/ u10 1 dyH`],[`u12`,`+/ 1 u9 u11`],[`u13`,`at2 1 u12`],[`u14`,`+- u13 21600000 0`],[`u15`,`?: u13 u13 u14`],[`u16`,`+- u15 0 enAng`],[`u17`,`+- u16 21600000 0`],[`u18`,`?: u16 u16 u17`],[`u19`,`+- u18 0 cd2`],[`u20`,`+- u18 0 21600000`],[`u21`,`?: u19 u20 u18`],[`u22`,`abs u21`],[`minAng`,`*/ u22 -1 1`],[`u23`,`abs adj2`],[`a2`,`*/ u23 -1 1`],[`aAng`,`pin minAng a2 0`],[`ptAng`,`+- enAng aAng 0`],[`wtA`,`sin rw3 ptAng`],[`htA`,`cos rh3 ptAng`],[`dxA`,`cat2 rw3 htA wtA`],[`dyA`,`sat2 rh3 htA wtA`],[`xA`,`+- hc dxA 0`],[`yA`,`+- vc dyA 0`],[`wtE`,`sin rw1 stAng`],[`htE`,`cos rh1 stAng`],[`dxE`,`cat2 rw1 htE wtE`],[`dyE`,`sat2 rh1 htE wtE`],[`xE`,`+- hc dxE 0`],[`yE`,`+- vc dyE 0`],[`wtD`,`sin rw2 stAng`],[`htD`,`cos rh2 stAng`],[`dxD`,`cat2 rw2 htD wtD`],[`dyD`,`sat2 rh2 htD wtD`],[`xD`,`+- hc dxD 0`],[`yD`,`+- vc dyD 0`],[`dxG`,`cos thh ptAng`],[`dyG`,`sin thh ptAng`],[`xG`,`+- xH dxG 0`],[`yG`,`+- yH dyG 0`],[`dxB`,`cos thh ptAng`],[`dyB`,`sin thh ptAng`],[`xB`,`+- xH 0 dxB 0`],[`yB`,`+- yH 0 dyB 0`],[`sx1`,`+- xB 0 hc`],[`sy1`,`+- yB 0 vc`],[`sx2`,`+- xG 0 hc`],[`sy2`,`+- yG 0 vc`],[`rO`,`min rw1 rh1`],[`x1O`,`*/ sx1 rO rw1`],[`y1O`,`*/ sy1 rO rh1`],[`x2O`,`*/ sx2 rO rw1`],[`y2O`,`*/ sy2 rO rh1`],[`dxO`,`+- x2O 0 x1O`],[`dyO`,`+- y2O 0 y1O`],[`dO`,`mod dxO dyO 0`],[`q1`,`*/ x1O y2O 1`],[`q2`,`*/ x2O y1O 1`],[`DO`,`+- q1 0 q2`],[`q3`,`*/ rO rO 1`],[`q4`,`*/ dO dO 1`],[`q5`,`*/ q3 q4 1`],[`q6`,`*/ DO DO 1`],[`q7`,`+- q5 0 q6`],[`q8`,`max q7 0`],[`sdelO`,`sqrt q8`],[`ndyO`,`*/ dyO -1 1`],[`sdyO`,`?: ndyO -1 1`],[`q9`,`*/ sdyO dxO 1`],[`q10`,`*/ q9 sdelO 1`],[`q11`,`*/ DO dyO 1`],[`dxF1`,`+/ q11 q10 q4`],[`q12`,`+- q11 0 q10`],[`dxF2`,`*/ q12 1 q4`],[`adyO`,`abs dyO`],[`q13`,`*/ adyO sdelO 1`],[`q14`,`*/ DO dxO -1`],[`dyF1`,`+/ q14 q13 q4`],[`q15`,`+- q14 0 q13`],[`dyF2`,`*/ q15 1 q4`],[`q16`,`+- x2O 0 dxF1`],[`q17`,`+- x2O 0 dxF2`],[`q18`,`+- y2O 0 dyF1`],[`q19`,`+- y2O 0 dyF2`],[`q20`,`mod q16 q18 0`],[`q21`,`mod q17 q19 0`],[`q22`,`+- q21 0 q20`],[`dxF`,`?: q22 dxF1 dxF2`],[`dyF`,`?: q22 dyF1 dyF2`],[`sdxF`,`*/ dxF rw1 rO`],[`sdyF`,`*/ dyF rh1 rO`],[`xF`,`+- hc sdxF 0`],[`yF`,`+- vc sdyF 0`],[`x1I`,`*/ sx1 rI rw2`],[`y1I`,`*/ sy1 rI rh2`],[`x2I`,`*/ sx2 rI rw2`],[`y2I`,`*/ sy2 rI rh2`],[`dxI`,`+- x2I 0 x1I`],[`dyI`,`+- y2I 0 y1I`],[`dI`,`mod dxI dyI 0`],[`v1`,`*/ x1I y2I 1`],[`v2`,`*/ x2I y1I 1`],[`DI`,`+- v1 0 v2`],[`v3`,`*/ rI rI 1`],[`v4`,`*/ dI dI 1`],[`v5`,`*/ v3 v4 1`],[`v6`,`*/ DI DI 1`],[`v7`,`+- v5 0 v6`],[`v8`,`max v7 0`],[`sdelI`,`sqrt v8`],[`v9`,`*/ sdyO dxI 1`],[`v10`,`*/ v9 sdelI 1`],[`v11`,`*/ DI dyI 1`],[`dxC1`,`+/ v11 v10 v4`],[`v12`,`+- v11 0 v10`],[`dxC2`,`*/ v12 1 v4`],[`adyI`,`abs dyI`],[`v13`,`*/ adyI sdelI 1`],[`v14`,`*/ DI dxI -1`],[`dyC1`,`+/ v14 v13 v4`],[`v15`,`+- v14 0 v13`],[`dyC2`,`*/ v15 1 v4`],[`v16`,`+- x1I 0 dxC1`],[`v17`,`+- x1I 0 dxC2`],[`v18`,`+- y1I 0 dyC1`],[`v19`,`+- y1I 0 dyC2`],[`v20`,`mod v16 v18 0`],[`v21`,`mod v17 v19 0`],[`v22`,`+- v21 0 v20`],[`dxC`,`?: v22 dxC1 dxC2`],[`dyC`,`?: v22 dyC1 dyC2`],[`sdxC`,`*/ dxC rw2 rI`],[`sdyC`,`*/ dyC rh2 rI`],[`xC`,`+- hc sdxC 0`],[`yC`,`+- vc sdyC 0`],[`ist0`,`at2 sdxC sdyC`],[`ist1`,`+- ist0 21600000 0`],[`istAng0`,`?: ist0 ist0 ist1`],[`isw1`,`+- stAng 0 istAng0`],[`isw2`,`+- isw1 21600000 0`],[`iswAng0`,`?: isw1 isw1 isw2`],[`istAng`,`+- istAng0 iswAng0 0`],[`iswAng`,`+- 0 0 iswAng0`],[`p1`,`+- xF 0 xC`],[`p2`,`+- yF 0 yC`],[`p3`,`mod p1 p2 0`],[`p4`,`*/ p3 1 2`],[`p5`,`+- p4 0 thh`],[`xGp`,`?: p5 xF xG`],[`yGp`,`?: p5 yF yG`],[`xBp`,`?: p5 xC xB`],[`yBp`,`?: p5 yC yB`],[`en0`,`at2 sdxF sdyF`],[`en1`,`+- en0 21600000 0`],[`en2`,`?: en0 en0 en1`],[`sw0`,`+- en2 0 stAng`],[`sw1`,`+- sw0 0 21600000`],[`swAng`,`?: sw0 sw1 sw0`],[`stAng0`,`+- stAng swAng 0`],[`swAng0`,`+- 0 0 swAng`],[`wtI`,`sin rw3 stAng`],[`htI`,`cos rh3 stAng`],[`dxI`,`cat2 rw3 htI wtI`],[`dyI`,`sat2 rh3 htI wtI`],[`xI`,`+- hc dxI 0`],[`yI`,`+- vc dyI 0`],[`aI`,`+- stAng cd4 0`],[`aA`,`+- ptAng 0 cd4`],[`aB`,`+- ptAng cd2 0`],[`idx`,`cos rw1 2700000`],[`idy`,`sin rh1 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xE`,`yE`],[`l`,`xD`,`yD`],[`a`,`rw2`,`rh2`,`istAng`,`iswAng`],[`l`,`xBp`,`yBp`],[`l`,`xA`,`yA`],[`l`,`xGp`,`yGp`],[`l`,`xF`,`yF`],[`a`,`rw1`,`rh1`,`stAng0`,`swAng0`],[`c`]]}]},leftrightarrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 50000 w ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`x2`,`*/ ss a2 100000`],[`x3`,`+- r 0 x2`],[`dy`,`*/ h a1 200000`],[`y1`,`+- vc 0 dy`],[`y2`,`+- vc dy 0`],[`dx1`,`*/ y1 x2 hd2`],[`x1`,`+- x2 0 dx1`],[`x4`,`+- x3 dx1 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`x2`,`t`],[`l`,`x2`,`y1`],[`l`,`x3`,`y1`],[`l`,`x3`,`t`],[`l`,`r`,`vc`],[`l`,`x3`,`b`],[`l`,`x3`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`b`],[`c`]]}]},leftrightarrowcallout:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 48123`]],gd:[[`maxAdj2`,`*/ 50000 h ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`*/ 50000 w ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`q2`,`*/ a3 ss wd2`],[`maxAdj4`,`+- 100000 0 q2`],[`a4`,`pin 0 adj4 maxAdj4`],[`dy1`,`*/ ss a2 100000`],[`dy2`,`*/ ss a1 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`],[`y4`,`+- vc dy1 0`],[`x1`,`*/ ss a3 100000`],[`x4`,`+- r 0 x1`],[`dx2`,`*/ w a4 200000`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`x1`,`y1`],[`l`,`x1`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`t`],[`l`,`x3`,`t`],[`l`,`x3`,`y2`],[`l`,`x4`,`y2`],[`l`,`x4`,`y1`],[`l`,`r`,`vc`],[`l`,`x4`,`y4`],[`l`,`x4`,`y3`],[`l`,`x3`,`y3`],[`l`,`x3`,`b`],[`l`,`x2`,`b`],[`l`,`x2`,`y3`],[`l`,`x1`,`y3`],[`l`,`x1`,`y4`],[`c`]]}]},leftrightcirculararrow:{adj:[[`adj1`,`val 12500`],[`adj2`,`val 1142319`],[`adj3`,`val 20457681`],[`adj4`,`val 11942319`],[`adj5`,`val 12500`]],gd:[[`a5`,`pin 0 adj5 25000`],[`maxAdj1`,`*/ a5 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`enAng`,`pin 1 adj3 21599999`],[`stAng`,`pin 0 adj4 21599999`],[`th`,`*/ ss a1 100000`],[`thh`,`*/ ss a5 100000`],[`th2`,`*/ th 1 2`],[`rw1`,`+- wd2 th2 thh`],[`rh1`,`+- hd2 th2 thh`],[`rw2`,`+- rw1 0 th`],[`rh2`,`+- rh1 0 th`],[`rw3`,`+- rw2 th2 0`],[`rh3`,`+- rh2 th2 0`],[`wtH`,`sin rw3 enAng`],[`htH`,`cos rh3 enAng`],[`dxH`,`cat2 rw3 htH wtH`],[`dyH`,`sat2 rh3 htH wtH`],[`xH`,`+- hc dxH 0`],[`yH`,`+- vc dyH 0`],[`rI`,`min rw2 rh2`],[`u1`,`*/ dxH dxH 1`],[`u2`,`*/ dyH dyH 1`],[`u3`,`*/ rI rI 1`],[`u4`,`+- u1 0 u3`],[`u5`,`+- u2 0 u3`],[`u6`,`*/ u4 u5 u1`],[`u7`,`*/ u6 1 u2`],[`u8`,`+- 1 0 u7`],[`u9`,`sqrt u8`],[`u10`,`*/ u4 1 dxH`],[`u11`,`*/ u10 1 dyH`],[`u12`,`+/ 1 u9 u11`],[`u13`,`at2 1 u12`],[`u14`,`+- u13 21600000 0`],[`u15`,`?: u13 u13 u14`],[`u16`,`+- u15 0 enAng`],[`u17`,`+- u16 21600000 0`],[`u18`,`?: u16 u16 u17`],[`u19`,`+- u18 0 cd2`],[`u20`,`+- u18 0 21600000`],[`u21`,`?: u19 u20 u18`],[`maxAng`,`abs u21`],[`aAng`,`pin 0 adj2 maxAng`],[`ptAng`,`+- enAng aAng 0`],[`wtA`,`sin rw3 ptAng`],[`htA`,`cos rh3 ptAng`],[`dxA`,`cat2 rw3 htA wtA`],[`dyA`,`sat2 rh3 htA wtA`],[`xA`,`+- hc dxA 0`],[`yA`,`+- vc dyA 0`],[`dxG`,`cos thh ptAng`],[`dyG`,`sin thh ptAng`],[`xG`,`+- xH dxG 0`],[`yG`,`+- yH dyG 0`],[`dxB`,`cos thh ptAng`],[`dyB`,`sin thh ptAng`],[`xB`,`+- xH 0 dxB 0`],[`yB`,`+- yH 0 dyB 0`],[`sx1`,`+- xB 0 hc`],[`sy1`,`+- yB 0 vc`],[`sx2`,`+- xG 0 hc`],[`sy2`,`+- yG 0 vc`],[`rO`,`min rw1 rh1`],[`x1O`,`*/ sx1 rO rw1`],[`y1O`,`*/ sy1 rO rh1`],[`x2O`,`*/ sx2 rO rw1`],[`y2O`,`*/ sy2 rO rh1`],[`dxO`,`+- x2O 0 x1O`],[`dyO`,`+- y2O 0 y1O`],[`dO`,`mod dxO dyO 0`],[`q1`,`*/ x1O y2O 1`],[`q2`,`*/ x2O y1O 1`],[`DO`,`+- q1 0 q2`],[`q3`,`*/ rO rO 1`],[`q4`,`*/ dO dO 1`],[`q5`,`*/ q3 q4 1`],[`q6`,`*/ DO DO 1`],[`q7`,`+- q5 0 q6`],[`q8`,`max q7 0`],[`sdelO`,`sqrt q8`],[`ndyO`,`*/ dyO -1 1`],[`sdyO`,`?: ndyO -1 1`],[`q9`,`*/ sdyO dxO 1`],[`q10`,`*/ q9 sdelO 1`],[`q11`,`*/ DO dyO 1`],[`dxF1`,`+/ q11 q10 q4`],[`q12`,`+- q11 0 q10`],[`dxF2`,`*/ q12 1 q4`],[`adyO`,`abs dyO`],[`q13`,`*/ adyO sdelO 1`],[`q14`,`*/ DO dxO -1`],[`dyF1`,`+/ q14 q13 q4`],[`q15`,`+- q14 0 q13`],[`dyF2`,`*/ q15 1 q4`],[`q16`,`+- x2O 0 dxF1`],[`q17`,`+- x2O 0 dxF2`],[`q18`,`+- y2O 0 dyF1`],[`q19`,`+- y2O 0 dyF2`],[`q20`,`mod q16 q18 0`],[`q21`,`mod q17 q19 0`],[`q22`,`+- q21 0 q20`],[`dxF`,`?: q22 dxF1 dxF2`],[`dyF`,`?: q22 dyF1 dyF2`],[`sdxF`,`*/ dxF rw1 rO`],[`sdyF`,`*/ dyF rh1 rO`],[`xF`,`+- hc sdxF 0`],[`yF`,`+- vc sdyF 0`],[`x1I`,`*/ sx1 rI rw2`],[`y1I`,`*/ sy1 rI rh2`],[`x2I`,`*/ sx2 rI rw2`],[`y2I`,`*/ sy2 rI rh2`],[`dxI`,`+- x2I 0 x1I`],[`dyI`,`+- y2I 0 y1I`],[`dI`,`mod dxI dyI 0`],[`v1`,`*/ x1I y2I 1`],[`v2`,`*/ x2I y1I 1`],[`DI`,`+- v1 0 v2`],[`v3`,`*/ rI rI 1`],[`v4`,`*/ dI dI 1`],[`v5`,`*/ v3 v4 1`],[`v6`,`*/ DI DI 1`],[`v7`,`+- v5 0 v6`],[`v8`,`max v7 0`],[`sdelI`,`sqrt v8`],[`v9`,`*/ sdyO dxI 1`],[`v10`,`*/ v9 sdelI 1`],[`v11`,`*/ DI dyI 1`],[`dxC1`,`+/ v11 v10 v4`],[`v12`,`+- v11 0 v10`],[`dxC2`,`*/ v12 1 v4`],[`adyI`,`abs dyI`],[`v13`,`*/ adyI sdelI 1`],[`v14`,`*/ DI dxI -1`],[`dyC1`,`+/ v14 v13 v4`],[`v15`,`+- v14 0 v13`],[`dyC2`,`*/ v15 1 v4`],[`v16`,`+- x1I 0 dxC1`],[`v17`,`+- x1I 0 dxC2`],[`v18`,`+- y1I 0 dyC1`],[`v19`,`+- y1I 0 dyC2`],[`v20`,`mod v16 v18 0`],[`v21`,`mod v17 v19 0`],[`v22`,`+- v21 0 v20`],[`dxC`,`?: v22 dxC1 dxC2`],[`dyC`,`?: v22 dyC1 dyC2`],[`sdxC`,`*/ dxC rw2 rI`],[`sdyC`,`*/ dyC rh2 rI`],[`xC`,`+- hc sdxC 0`],[`yC`,`+- vc sdyC 0`],[`wtI`,`sin rw3 stAng`],[`htI`,`cos rh3 stAng`],[`dxI`,`cat2 rw3 htI wtI`],[`dyI`,`sat2 rh3 htI wtI`],[`xI`,`+- hc dxI 0`],[`yI`,`+- vc dyI 0`],[`lptAng`,`+- stAng 0 aAng`],[`wtL`,`sin rw3 lptAng`],[`htL`,`cos rh3 lptAng`],[`dxL`,`cat2 rw3 htL wtL`],[`dyL`,`sat2 rh3 htL wtL`],[`xL`,`+- hc dxL 0`],[`yL`,`+- vc dyL 0`],[`dxK`,`cos thh lptAng`],[`dyK`,`sin thh lptAng`],[`xK`,`+- xI dxK 0`],[`yK`,`+- yI dyK 0`],[`dxJ`,`cos thh lptAng`],[`dyJ`,`sin thh lptAng`],[`xJ`,`+- xI 0 dxJ 0`],[`yJ`,`+- yI 0 dyJ 0`],[`p1`,`+- xF 0 xC`],[`p2`,`+- yF 0 yC`],[`p3`,`mod p1 p2 0`],[`p4`,`*/ p3 1 2`],[`p5`,`+- p4 0 thh`],[`xGp`,`?: p5 xF xG`],[`yGp`,`?: p5 yF yG`],[`xBp`,`?: p5 xC xB`],[`yBp`,`?: p5 yC yB`],[`en0`,`at2 sdxF sdyF`],[`en1`,`+- en0 21600000 0`],[`en2`,`?: en0 en0 en1`],[`od0`,`+- en2 0 enAng`],[`od1`,`+- od0 21600000 0`],[`od2`,`?: od0 od0 od1`],[`st0`,`+- stAng 0 od2`],[`st1`,`+- st0 21600000 0`],[`st2`,`?: st0 st0 st1`],[`sw0`,`+- en2 0 st2`],[`sw1`,`+- sw0 21600000 0`],[`swAng`,`?: sw0 sw0 sw1`],[`ist0`,`at2 sdxC sdyC`],[`ist1`,`+- ist0 21600000 0`],[`istAng`,`?: ist0 ist0 ist1`],[`id0`,`+- istAng 0 enAng`],[`id1`,`+- id0 0 21600000`],[`id2`,`?: id0 id1 id0`],[`ien0`,`+- stAng 0 id2`],[`ien1`,`+- ien0 0 21600000`],[`ien2`,`?: ien1 ien1 ien0`],[`isw1`,`+- ien2 0 istAng`],[`isw2`,`+- isw1 0 21600000`],[`iswAng`,`?: isw1 isw2 isw1`],[`wtE`,`sin rw1 st2`],[`htE`,`cos rh1 st2`],[`dxE`,`cat2 rw1 htE wtE`],[`dyE`,`sat2 rh1 htE wtE`],[`xE`,`+- hc dxE 0`],[`yE`,`+- vc dyE 0`],[`wtD`,`sin rw2 ien2`],[`htD`,`cos rh2 ien2`],[`dxD`,`cat2 rw2 htD wtD`],[`dyD`,`sat2 rh2 htD wtD`],[`xD`,`+- hc dxD 0`],[`yD`,`+- vc dyD 0`],[`xKp`,`?: p5 xE xK`],[`yKp`,`?: p5 yE yK`],[`xJp`,`?: p5 xD xJ`],[`yJp`,`?: p5 yD yJ`],[`aL`,`+- lptAng 0 cd4`],[`aA`,`+- ptAng cd4 0`],[`aB`,`+- ptAng cd2 0`],[`aJ`,`+- lptAng cd2 0`],[`idx`,`cos rw1 2700000`],[`idy`,`sin rh1 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xL`,`yL`],[`l`,`xKp`,`yKp`],[`l`,`xE`,`yE`],[`a`,`rw1`,`rh1`,`st2`,`swAng`],[`l`,`xGp`,`yGp`],[`l`,`xA`,`yA`],[`l`,`xBp`,`yBp`],[`l`,`xC`,`yC`],[`a`,`rw2`,`rh2`,`istAng`,`iswAng`],[`l`,`xJp`,`yJp`],[`c`]]}]},leftrightribbon:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`],[`adj3`,`val 16667`]],gd:[[`a3`,`pin 0 adj3 33333`],[`maxAdj1`,`+- 100000 0 a3`],[`a1`,`pin 0 adj1 maxAdj1`],[`w1`,`+- wd2 0 wd32`],[`maxAdj2`,`*/ 100000 w1 ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`x1`,`*/ ss a2 100000`],[`x4`,`+- r 0 x1`],[`dy1`,`*/ h a1 200000`],[`dy2`,`*/ h a3 -200000`],[`ly1`,`+- vc dy2 dy1`],[`ry4`,`+- vc dy1 dy2`],[`ly2`,`+- ly1 dy1 0`],[`ry3`,`+- b 0 ly2`],[`ly4`,`*/ ly2 2 1`],[`ry1`,`+- b 0 ly4`],[`ly3`,`+- ly4 0 ly1`],[`ry2`,`+- b 0 ly3`],[`hR`,`*/ a3 ss 400000`],[`x2`,`+- hc 0 wd32`],[`x3`,`+- hc wd32 0`],[`y1`,`+- ly1 hR 0`],[`y2`,`+- ry2 0 hR`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`ly2`],[`l`,`x1`,`t`],[`l`,`x1`,`ly1`],[`l`,`hc`,`ly1`],[`a`,`wd32`,`hR`,`3cd4`,`cd2`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`x4`,`ry2`],[`l`,`x4`,`ry1`],[`l`,`r`,`ry3`],[`l`,`x4`,`b`],[`l`,`x4`,`ry4`],[`l`,`hc`,`ry4`],[`a`,`wd32`,`hR`,`cd4`,`cd4`],[`l`,`x2`,`ly3`],[`l`,`x1`,`ly3`],[`l`,`x1`,`ly4`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x3`,`y1`],[`a`,`wd32`,`hR`,`0`,`cd4`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`x3`,`ry2`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`ly2`],[`l`,`x1`,`t`],[`l`,`x1`,`ly1`],[`l`,`hc`,`ly1`],[`a`,`wd32`,`hR`,`3cd4`,`cd2`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`x4`,`ry2`],[`l`,`x4`,`ry1`],[`l`,`r`,`ry3`],[`l`,`x4`,`b`],[`l`,`x4`,`ry4`],[`l`,`hc`,`ry4`],[`a`,`wd32`,`hR`,`cd4`,`cd4`],[`l`,`x2`,`ly3`],[`l`,`x1`,`ly3`],[`l`,`x1`,`ly4`],[`c`],[`m`,`x3`,`y1`],[`l`,`x3`,`ry2`],[`m`,`x2`,`y2`],[`l`,`x2`,`ly3`]]}]},leftrightuparrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`]],gd:[[`a2`,`pin 0 adj2 50000`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`q1`,`+- 100000 0 maxAdj1`],[`maxAdj3`,`*/ q1 1 2`],[`a3`,`pin 0 adj3 maxAdj3`],[`x1`,`*/ ss a3 100000`],[`dx2`,`*/ ss a2 100000`],[`x2`,`+- hc 0 dx2`],[`x5`,`+- hc dx2 0`],[`dx3`,`*/ ss a1 200000`],[`x3`,`+- hc 0 dx3`],[`x4`,`+- hc dx3 0`],[`x6`,`+- r 0 x1`],[`dy2`,`*/ ss a2 50000`],[`y2`,`+- b 0 dy2`],[`y4`,`+- b 0 dx2`],[`y3`,`+- y4 0 dx3`],[`y5`,`+- y4 dx3 0`],[`il`,`*/ dx3 x1 dx2`],[`ir`,`+- r 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y4`],[`l`,`x1`,`y2`],[`l`,`x1`,`y3`],[`l`,`x3`,`y3`],[`l`,`x3`,`x1`],[`l`,`x2`,`x1`],[`l`,`hc`,`t`],[`l`,`x5`,`x1`],[`l`,`x4`,`x1`],[`l`,`x4`,`y3`],[`l`,`x6`,`y3`],[`l`,`x6`,`y2`],[`l`,`r`,`y4`],[`l`,`x6`,`b`],[`l`,`x6`,`y5`],[`l`,`x1`,`y5`],[`l`,`x1`,`b`],[`c`]]}]},leftuparrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`]],gd:[[`a2`,`pin 0 adj2 50000`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`+- 100000 0 maxAdj1`],[`a3`,`pin 0 adj3 maxAdj3`],[`x1`,`*/ ss a3 100000`],[`dx2`,`*/ ss a2 50000`],[`x2`,`+- r 0 dx2`],[`y2`,`+- b 0 dx2`],[`dx4`,`*/ ss a2 100000`],[`x4`,`+- r 0 dx4`],[`y4`,`+- b 0 dx4`],[`dx3`,`*/ ss a1 200000`],[`x3`,`+- x4 0 dx3`],[`x5`,`+- x4 dx3 0`],[`y3`,`+- y4 0 dx3`],[`y5`,`+- y4 dx3 0`],[`il`,`*/ dx3 x1 dx4`],[`cx1`,`+/ x1 x5 2`],[`cy1`,`+/ x1 y5 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y4`],[`l`,`x1`,`y2`],[`l`,`x1`,`y3`],[`l`,`x3`,`y3`],[`l`,`x3`,`x1`],[`l`,`x2`,`x1`],[`l`,`x4`,`t`],[`l`,`r`,`x1`],[`l`,`x5`,`x1`],[`l`,`x5`,`y5`],[`l`,`x1`,`y5`],[`l`,`x1`,`b`],[`c`]]}]},lightningbolt:{adj:[],gd:[[`x1`,`*/ w 5022 21600`],[`x3`,`*/ w 8472 21600`],[`x4`,`*/ w 8757 21600`],[`x5`,`*/ w 10012 21600`],[`x8`,`*/ w 12860 21600`],[`x9`,`*/ w 13917 21600`],[`x11`,`*/ w 16577 21600`],[`y1`,`*/ h 3890 21600`],[`y2`,`*/ h 6080 21600`],[`y4`,`*/ h 7437 21600`],[`y6`,`*/ h 9705 21600`],[`y7`,`*/ h 12007 21600`],[`y10`,`*/ h 14277 21600`],[`y11`,`*/ h 14915 21600`]],paths:[{w:21600,h:21600,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`8472`,`0`],[`l`,`12860`,`6080`],[`l`,`11050`,`6797`],[`l`,`16577`,`12007`],[`l`,`14767`,`12877`],[`l`,`21600`,`21600`],[`l`,`10012`,`14915`],[`l`,`12222`,`13987`],[`l`,`5022`,`9705`],[`l`,`7602`,`8382`],[`l`,`0`,`3890`],[`c`]]}]},line:{adj:[],gd:[],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`b`]]}]},lineinv:{adj:[],gd:[],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`r`,`t`]]}]},mathdivide:{adj:[[`adj1`,`val 23520`],[`adj2`,`val 5880`],[`adj3`,`val 11760`]],gd:[[`a1`,`pin 1000 adj1 36745`],[`ma1`,`+- 0 0 a1`],[`ma3h`,`+/ 73490 ma1 4`],[`ma3w`,`*/ 36745 w h`],[`maxAdj3`,`min ma3h ma3w`],[`a3`,`pin 1000 adj3 maxAdj3`],[`m4a3`,`*/ -4 a3 1`],[`maxAdj2`,`+- 73490 m4a3 a1`],[`a2`,`pin 0 adj2 maxAdj2`],[`dy1`,`*/ h a1 200000`],[`yg`,`*/ h a2 100000`],[`rad`,`*/ h a3 100000`],[`dx1`,`*/ w 73490 200000`],[`y3`,`+- vc 0 dy1`],[`y4`,`+- vc dy1 0`],[`a`,`+- yg rad 0`],[`y2`,`+- y3 0 a`],[`y1`,`+- y2 0 rad`],[`y5`,`+- b 0 y1`],[`x1`,`+- hc 0 dx1`],[`x3`,`+- hc dx1 0`],[`x2`,`+- hc 0 rad`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`hc`,`y1`],[`a`,`rad`,`rad`,`3cd4`,`21600000`],[`c`],[`m`,`hc`,`y5`],[`a`,`rad`,`rad`,`cd4`,`21600000`],[`c`],[`m`,`x1`,`y3`],[`l`,`x3`,`y3`],[`l`,`x3`,`y4`],[`l`,`x1`,`y4`],[`c`]]}]},mathequal:{adj:[[`adj1`,`val 23520`],[`adj2`,`val 11760`]],gd:[[`a1`,`pin 0 adj1 36745`],[`2a1`,`*/ a1 2 1`],[`mAdj2`,`+- 100000 0 2a1`],[`a2`,`pin 0 adj2 mAdj2`],[`dy1`,`*/ h a1 100000`],[`dy2`,`*/ h a2 200000`],[`dx1`,`*/ w 73490 200000`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`],[`y1`,`+- y2 0 dy1`],[`y4`,`+- y3 dy1 0`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc dx1 0`],[`yC1`,`+/ y1 y2 2`],[`yC2`,`+/ y3 y4 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y1`],[`l`,`x2`,`y2`],[`l`,`x1`,`y2`],[`c`],[`m`,`x1`,`y3`],[`l`,`x2`,`y3`],[`l`,`x2`,`y4`],[`l`,`x1`,`y4`],[`c`]]}]},mathminus:{adj:[[`adj1`,`val 23520`]],gd:[[`a1`,`pin 0 adj1 100000`],[`dy1`,`*/ h a1 200000`],[`dx1`,`*/ w 73490 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc dy1 0`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc dx1 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y1`],[`l`,`x2`,`y2`],[`l`,`x1`,`y2`],[`c`]]}]},mathmultiply:{adj:[[`adj1`,`val 23520`]],gd:[[`a1`,`pin 0 adj1 51965`],[`th`,`*/ ss a1 100000`],[`a`,`at2 w h`],[`sa`,`sin 1 a`],[`ca`,`cos 1 a`],[`ta`,`tan 1 a`],[`dl`,`mod w h 0`],[`rw`,`*/ dl 51965 100000`],[`lM`,`+- dl 0 rw`],[`xM`,`*/ ca lM 2`],[`yM`,`*/ sa lM 2`],[`dxAM`,`*/ sa th 2`],[`dyAM`,`*/ ca th 2`],[`xA`,`+- xM 0 dxAM`],[`yA`,`+- yM dyAM 0`],[`xB`,`+- xM dxAM 0`],[`yB`,`+- yM 0 dyAM`],[`xBC`,`+- hc 0 xB`],[`yBC`,`*/ xBC ta 1`],[`yC`,`+- yBC yB 0`],[`xD`,`+- r 0 xB`],[`xE`,`+- r 0 xA`],[`yFE`,`+- vc 0 yA`],[`xFE`,`*/ yFE 1 ta`],[`xF`,`+- xE 0 xFE`],[`xL`,`+- xA xFE 0`],[`yG`,`+- b 0 yA`],[`yH`,`+- b 0 yB`],[`yI`,`+- b 0 yC`],[`xC2`,`+- r 0 xM`],[`yC3`,`+- b 0 yM`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xA`,`yA`],[`l`,`xB`,`yB`],[`l`,`hc`,`yC`],[`l`,`xD`,`yB`],[`l`,`xE`,`yA`],[`l`,`xF`,`vc`],[`l`,`xE`,`yG`],[`l`,`xD`,`yH`],[`l`,`hc`,`yI`],[`l`,`xB`,`yH`],[`l`,`xA`,`yG`],[`l`,`xL`,`vc`],[`c`]]}]},mathnotequal:{adj:[[`adj1`,`val 23520`],[`adj2`,`val 6600000`],[`adj3`,`val 11760`]],gd:[[`a1`,`pin 0 adj1 50000`],[`crAng`,`pin 4200000 adj2 6600000`],[`2a1`,`*/ a1 2 1`],[`maxAdj3`,`+- 100000 0 2a1`],[`a3`,`pin 0 adj3 maxAdj3`],[`dy1`,`*/ h a1 100000`],[`dy2`,`*/ h a3 200000`],[`dx1`,`*/ w 73490 200000`],[`x1`,`+- hc 0 dx1`],[`x8`,`+- hc dx1 0`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`],[`y1`,`+- y2 0 dy1`],[`y4`,`+- y3 dy1 0`],[`cadj2`,`+- crAng 0 cd4`],[`xadj2`,`tan hd2 cadj2`],[`len`,`mod xadj2 hd2 0`],[`bhw`,`*/ len dy1 hd2`],[`bhw2`,`*/ bhw 1 2`],[`x7`,`+- hc xadj2 bhw2`],[`dx67`,`*/ xadj2 y1 hd2`],[`x6`,`+- x7 0 dx67`],[`dx57`,`*/ xadj2 y2 hd2`],[`x5`,`+- x7 0 dx57`],[`dx47`,`*/ xadj2 y3 hd2`],[`x4`,`+- x7 0 dx47`],[`dx37`,`*/ xadj2 y4 hd2`],[`x3`,`+- x7 0 dx37`],[`dx27`,`*/ xadj2 2 1`],[`x2`,`+- x7 0 dx27`],[`rx7`,`+- x7 bhw 0`],[`rx6`,`+- x6 bhw 0`],[`rx5`,`+- x5 bhw 0`],[`rx4`,`+- x4 bhw 0`],[`rx3`,`+- x3 bhw 0`],[`rx2`,`+- x2 bhw 0`],[`dx7`,`*/ dy1 hd2 len`],[`rxt`,`+- x7 dx7 0`],[`lxt`,`+- rx7 0 dx7`],[`rx`,`?: cadj2 rxt rx7`],[`lx`,`?: cadj2 x7 lxt`],[`dy3`,`*/ dy1 xadj2 len`],[`dy4`,`+- 0 0 dy3`],[`ry`,`?: cadj2 dy3 t`],[`ly`,`?: cadj2 t dy4`],[`dlx`,`+- w 0 rx`],[`drx`,`+- w 0 lx`],[`dly`,`+- h 0 ry`],[`dry`,`+- h 0 ly`],[`xC1`,`+/ rx lx 2`],[`xC2`,`+/ drx dlx 2`],[`yC1`,`+/ ry ly 2`],[`yC2`,`+/ y1 y2 2`],[`yC3`,`+/ y3 y4 2`],[`yC4`,`+/ dry dly 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`l`,`x6`,`y1`],[`l`,`lx`,`ly`],[`l`,`rx`,`ry`],[`l`,`rx6`,`y1`],[`l`,`x8`,`y1`],[`l`,`x8`,`y2`],[`l`,`rx5`,`y2`],[`l`,`rx4`,`y3`],[`l`,`x8`,`y3`],[`l`,`x8`,`y4`],[`l`,`rx3`,`y4`],[`l`,`drx`,`dry`],[`l`,`dlx`,`dly`],[`l`,`x3`,`y4`],[`l`,`x1`,`y4`],[`l`,`x1`,`y3`],[`l`,`x4`,`y3`],[`l`,`x5`,`y2`],[`l`,`x1`,`y2`],[`c`]]}]},mathplus:{adj:[[`adj1`,`val 23520`]],gd:[[`a1`,`pin 0 adj1 73490`],[`dx1`,`*/ w 73490 200000`],[`dy1`,`*/ h 73490 200000`],[`dx2`,`*/ ss a1 200000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dx2`],[`y3`,`+- vc dx2 0`],[`y4`,`+- vc dy1 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`y1`],[`l`,`x3`,`y1`],[`l`,`x3`,`y2`],[`l`,`x4`,`y2`],[`l`,`x4`,`y3`],[`l`,`x3`,`y3`],[`l`,`x3`,`y4`],[`l`,`x2`,`y4`],[`l`,`x2`,`y3`],[`l`,`x1`,`y3`],[`c`]]}]},moon:{adj:[[`adj`,`val 50000`]],gd:[[`a`,`pin 0 adj 87500`],[`g0`,`*/ ss a 100000`],[`g0w`,`*/ g0 w ss`],[`g1`,`+- ss 0 g0`],[`g2`,`*/ g0 g0 g1`],[`g3`,`*/ ss ss g1`],[`g4`,`*/ g3 2 1`],[`g5`,`+- g4 0 g2`],[`g6`,`+- g5 0 g0`],[`g6w`,`*/ g6 w ss`],[`g7`,`*/ g5 1 2`],[`g8`,`+- g7 0 g0`],[`dy1`,`*/ g8 hd2 ss`],[`g10h`,`+- vc 0 dy1`],[`g11h`,`+- vc dy1 0`],[`g12`,`*/ g0 9598 32768`],[`g12w`,`*/ g12 w ss`],[`g13`,`+- ss 0 g12`],[`q1`,`*/ ss ss 1`],[`q2`,`*/ g13 g13 1`],[`q3`,`+- q1 0 q2`],[`q4`,`sqrt q3`],[`dy4`,`*/ q4 hd2 ss`],[`g15h`,`+- vc 0 dy4`],[`g16h`,`+- vc dy4 0`],[`g17w`,`+- g6w 0 g0w`],[`g18w`,`*/ g17w 1 2`],[`dx2p`,`+- g0w g18w w`],[`dx2`,`*/ dx2p -1 1`],[`dy2`,`*/ hd2 -1 1`],[`stAng1`,`at2 dx2 dy2`],[`enAngp1`,`at2 dx2 hd2`],[`enAng1`,`+- enAngp1 0 21600000`],[`swAng1`,`+- enAng1 0 stAng1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`r`,`b`],[`a`,`w`,`hd2`,`cd4`,`cd2`],[`a`,`g18w`,`dy1`,`stAng1`,`swAng1`],[`c`]]}]},nonisoscelestrapezoid:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`]],gd:[[`maxAdj`,`*/ 50000 w ss`],[`a1`,`pin 0 adj1 maxAdj`],[`a2`,`pin 0 adj2 maxAdj`],[`x1`,`*/ ss a1 200000`],[`x2`,`*/ ss a1 100000`],[`dx3`,`*/ ss a2 100000`],[`x3`,`+- r 0 dx3`],[`x4`,`+/ r x3 2`],[`il`,`*/ wd3 a1 maxAdj`],[`adjm`,`max a1 a2`],[`it`,`*/ hd3 adjm maxAdj`],[`irt`,`*/ wd3 a2 maxAdj`],[`ir`,`+- r 0 irt`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`x2`,`t`],[`l`,`x3`,`t`],[`l`,`r`,`b`],[`c`]]}]},nosmoking:{adj:[[`adj`,`val 18750`]],gd:[[`a`,`pin 0 adj 50000`],[`dr`,`*/ ss a 100000`],[`iwd2`,`+- wd2 0 dr`],[`ihd2`,`+- hd2 0 dr`],[`ang`,`at2 w h`],[`ct`,`cos ihd2 ang`],[`st`,`sin iwd2 ang`],[`m`,`mod ct st 0`],[`n`,`*/ iwd2 ihd2 m`],[`drd2`,`*/ dr 1 2`],[`dang`,`at2 n drd2`],[`dang2`,`*/ dang 2 1`],[`swAng`,`+- -10800000 dang2 0`],[`t3`,`at2 w h`],[`stAng1`,`+- t3 0 dang`],[`stAng2`,`+- stAng1 0 cd2`],[`ct1`,`cos ihd2 stAng1`],[`st1`,`sin iwd2 stAng1`],[`m1`,`mod ct1 st1 0`],[`n1`,`*/ iwd2 ihd2 m1`],[`dx1`,`cos n1 stAng1`],[`dy1`,`sin n1 stAng1`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`x2`,`+- hc 0 dx1`],[`y2`,`+- vc 0 dy1`],[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`],[`m`,`x1`,`y1`],[`a`,`iwd2`,`ihd2`,`stAng1`,`swAng`],[`c`],[`m`,`x2`,`y2`],[`a`,`iwd2`,`ihd2`,`stAng2`,`swAng`],[`c`]]}]},notchedrightarrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 100000 w ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`dx2`,`*/ ss a2 100000`],[`x2`,`+- r 0 dx2`],[`dy1`,`*/ h a1 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc dy1 0`],[`x1`,`*/ dy1 dx2 hd2`],[`x3`,`+- r 0 x1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`x2`,`y1`],[`l`,`x2`,`t`],[`l`,`r`,`vc`],[`l`,`x2`,`b`],[`l`,`x2`,`y2`],[`l`,`l`,`y2`],[`l`,`x1`,`vc`],[`c`]]}]},octagon:{adj:[[`adj`,`val 29289`]],gd:[[`a`,`pin 0 adj 50000`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`y2`,`+- b 0 x1`],[`il`,`*/ x1 1 2`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`x1`],[`l`,`x1`,`t`],[`l`,`x2`,`t`],[`l`,`r`,`x1`],[`l`,`r`,`y2`],[`l`,`x2`,`b`],[`l`,`x1`,`b`],[`l`,`l`,`y2`],[`c`]]}]},parallelogram:{adj:[[`adj`,`val 25000`]],gd:[[`maxAdj`,`*/ 100000 w ss`],[`a`,`pin 0 adj maxAdj`],[`x1`,`*/ ss a 200000`],[`x2`,`*/ ss a 100000`],[`x6`,`+- r 0 x1`],[`x5`,`+- r 0 x2`],[`x3`,`*/ x5 1 2`],[`x4`,`+- r 0 x3`],[`il`,`*/ wd2 a maxAdj`],[`q1`,`*/ 5 a maxAdj`],[`q2`,`+/ 1 q1 12`],[`il`,`*/ q2 w 1`],[`it`,`*/ q2 h 1`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 it`],[`q3`,`*/ h hc x2`],[`y1`,`pin 0 q3 h`],[`y2`,`+- b 0 y1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`x2`,`t`],[`l`,`r`,`t`],[`l`,`x5`,`b`],[`c`]]}]},pentagon:{adj:[[`hf`,`val 105146`],[`vf`,`val 110557`]],gd:[[`swd2`,`*/ wd2 hf 100000`],[`shd2`,`*/ hd2 vf 100000`],[`svc`,`*/ vc vf 100000`],[`dx1`,`cos swd2 1080000`],[`dx2`,`cos swd2 18360000`],[`dy1`,`sin shd2 1080000`],[`dy2`,`sin shd2 18360000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`y1`,`+- svc 0 dy1`],[`y2`,`+- svc 0 dy2`],[`it`,`*/ y1 dx2 dx1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`l`,`hc`,`t`],[`l`,`x4`,`y1`],[`l`,`x3`,`y2`],[`l`,`x2`,`y2`],[`c`]]}]},pie:{adj:[[`adj1`,`val 0`],[`adj2`,`val 16200000`]],gd:[[`stAng`,`pin 0 adj1 21599999`],[`enAng`,`pin 0 adj2 21599999`],[`sw1`,`+- enAng 0 stAng`],[`sw2`,`+- sw1 21600000 0`],[`swAng`,`?: sw1 sw1 sw2`],[`wt1`,`sin wd2 stAng`],[`ht1`,`cos hd2 stAng`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`wt2`,`sin wd2 enAng`],[`ht2`,`cos hd2 enAng`],[`dx2`,`cat2 wd2 ht2 wt2`],[`dy2`,`sat2 hd2 ht2 wt2`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`],[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stAng`,`swAng`],[`l`,`hc`,`vc`],[`c`]]}]},piewedge:{adj:[],gd:[[`g1`,`cos w 13500000`],[`g2`,`sin h 13500000`],[`x1`,`+- r g1 0`],[`y1`,`+- b g2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`a`,`w`,`h`,`cd2`,`cd4`],[`l`,`r`,`b`],[`c`]]}]},plaque:{adj:[[`adj`,`val 16667`]],gd:[[`a`,`pin 0 adj 50000`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`y2`,`+- b 0 x1`],[`il`,`*/ x1 70711 100000`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`x1`],[`a`,`x1`,`x1`,`cd4`,`-5400000`],[`l`,`x2`,`t`],[`a`,`x1`,`x1`,`cd2`,`-5400000`],[`l`,`r`,`y2`],[`a`,`x1`,`x1`,`3cd4`,`-5400000`],[`l`,`x1`,`b`],[`a`,`x1`,`x1`,`0`,`-5400000`],[`c`]]}]},plaquetabs:{adj:[],gd:[[`md`,`mod w h 0`],[`dx`,`*/ 1 md 20`],[`y1`,`+- 0 b dx`],[`x1`,`+- 0 r dx`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`dx`,`t`],[`a`,`dx`,`dx`,`0`,`cd4`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`a`,`dx`,`dx`,`3cd4`,`cd4`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`r`,`t`],[`l`,`r`,`dx`],[`a`,`dx`,`dx`,`cd4`,`cd4`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`b`],[`a`,`dx`,`dx`,`cd2`,`cd4`],[`l`,`r`,`b`],[`c`]]}]},plus:{adj:[[`adj`,`val 25000`]],gd:[[`a`,`pin 0 adj 50000`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`y2`,`+- b 0 x1`],[`d`,`+- w 0 h`],[`il`,`?: d l x1`],[`ir`,`?: d r x2`],[`it`,`?: d x1 t`],[`ib`,`?: d y2 b`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`x1`],[`l`,`x1`,`x1`],[`l`,`x1`,`t`],[`l`,`x2`,`t`],[`l`,`x2`,`x1`],[`l`,`r`,`x1`],[`l`,`r`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`b`],[`l`,`x1`,`b`],[`l`,`x1`,`y2`],[`l`,`l`,`y2`],[`c`]]}]},quadarrow:{adj:[[`adj1`,`val 22500`],[`adj2`,`val 22500`],[`adj3`,`val 22500`]],gd:[[`a2`,`pin 0 adj2 50000`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`q1`,`+- 100000 0 maxAdj1`],[`maxAdj3`,`*/ q1 1 2`],[`a3`,`pin 0 adj3 maxAdj3`],[`x1`,`*/ ss a3 100000`],[`dx2`,`*/ ss a2 100000`],[`x2`,`+- hc 0 dx2`],[`x5`,`+- hc dx2 0`],[`dx3`,`*/ ss a1 200000`],[`x3`,`+- hc 0 dx3`],[`x4`,`+- hc dx3 0`],[`x6`,`+- r 0 x1`],[`y2`,`+- vc 0 dx2`],[`y5`,`+- vc dx2 0`],[`y3`,`+- vc 0 dx3`],[`y4`,`+- vc dx3 0`],[`y6`,`+- b 0 x1`],[`il`,`*/ dx3 x1 dx2`],[`ir`,`+- r 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`x1`,`y2`],[`l`,`x1`,`y3`],[`l`,`x3`,`y3`],[`l`,`x3`,`x1`],[`l`,`x2`,`x1`],[`l`,`hc`,`t`],[`l`,`x5`,`x1`],[`l`,`x4`,`x1`],[`l`,`x4`,`y3`],[`l`,`x6`,`y3`],[`l`,`x6`,`y2`],[`l`,`r`,`vc`],[`l`,`x6`,`y5`],[`l`,`x6`,`y4`],[`l`,`x4`,`y4`],[`l`,`x4`,`y6`],[`l`,`x5`,`y6`],[`l`,`hc`,`b`],[`l`,`x2`,`y6`],[`l`,`x3`,`y6`],[`l`,`x3`,`y4`],[`l`,`x1`,`y4`],[`l`,`x1`,`y5`],[`c`]]}]},quadarrowcallout:{adj:[[`adj1`,`val 18515`],[`adj2`,`val 18515`],[`adj3`,`val 18515`],[`adj4`,`val 48123`]],gd:[[`a2`,`pin 0 adj2 50000`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`+- 50000 0 a2`],[`a3`,`pin 0 adj3 maxAdj3`],[`q2`,`*/ a3 2 1`],[`maxAdj4`,`+- 100000 0 q2`],[`a4`,`pin a1 adj4 maxAdj4`],[`dx2`,`*/ ss a2 100000`],[`dx3`,`*/ ss a1 200000`],[`ah`,`*/ ss a3 100000`],[`dx1`,`*/ w a4 200000`],[`dy1`,`*/ h a4 200000`],[`x8`,`+- r 0 ah`],[`x2`,`+- hc 0 dx1`],[`x7`,`+- hc dx1 0`],[`x3`,`+- hc 0 dx2`],[`x6`,`+- hc dx2 0`],[`x4`,`+- hc 0 dx3`],[`x5`,`+- hc dx3 0`],[`y8`,`+- b 0 ah`],[`y2`,`+- vc 0 dy1`],[`y7`,`+- vc dy1 0`],[`y3`,`+- vc 0 dx2`],[`y6`,`+- vc dx2 0`],[`y4`,`+- vc 0 dx3`],[`y5`,`+- vc dx3 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`ah`,`y3`],[`l`,`ah`,`y4`],[`l`,`x2`,`y4`],[`l`,`x2`,`y2`],[`l`,`x4`,`y2`],[`l`,`x4`,`ah`],[`l`,`x3`,`ah`],[`l`,`hc`,`t`],[`l`,`x6`,`ah`],[`l`,`x5`,`ah`],[`l`,`x5`,`y2`],[`l`,`x7`,`y2`],[`l`,`x7`,`y4`],[`l`,`x8`,`y4`],[`l`,`x8`,`y3`],[`l`,`r`,`vc`],[`l`,`x8`,`y6`],[`l`,`x8`,`y5`],[`l`,`x7`,`y5`],[`l`,`x7`,`y7`],[`l`,`x5`,`y7`],[`l`,`x5`,`y8`],[`l`,`x6`,`y8`],[`l`,`hc`,`b`],[`l`,`x3`,`y8`],[`l`,`x4`,`y8`],[`l`,`x4`,`y7`],[`l`,`x2`,`y7`],[`l`,`x2`,`y5`],[`l`,`ah`,`y5`],[`l`,`ah`,`y6`],[`c`]]}]},ribbon:{adj:[[`adj1`,`val 16667`],[`adj2`,`val 50000`]],gd:[[`a1`,`pin 0 adj1 33333`],[`a2`,`pin 25000 adj2 75000`],[`x10`,`+- r 0 wd8`],[`dx2`,`*/ w a2 200000`],[`x2`,`+- hc 0 dx2`],[`x9`,`+- hc dx2 0`],[`x3`,`+- x2 wd32 0`],[`x8`,`+- x9 0 wd32`],[`x5`,`+- x2 wd8 0`],[`x6`,`+- x9 0 wd8`],[`x4`,`+- x5 0 wd32`],[`x7`,`+- x6 wd32 0`],[`y1`,`*/ h a1 200000`],[`y2`,`*/ h a1 100000`],[`y4`,`+- b 0 y2`],[`y3`,`*/ y4 1 2`],[`hR`,`*/ h a1 400000`],[`y5`,`+- b 0 hR`],[`y6`,`+- y2 0 hR`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`x4`,`t`],[`a`,`wd32`,`hR`,`3cd4`,`cd2`],[`l`,`x3`,`y1`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`x8`,`y2`],[`a`,`wd32`,`hR`,`cd4`,`-10800000`],[`l`,`x7`,`y1`],[`a`,`wd32`,`hR`,`cd4`,`cd2`],[`l`,`r`,`t`],[`l`,`x10`,`y3`],[`l`,`r`,`y4`],[`l`,`x9`,`y4`],[`l`,`x9`,`y5`],[`a`,`wd32`,`hR`,`0`,`cd4`],[`l`,`x3`,`b`],[`a`,`wd32`,`hR`,`cd4`,`cd4`],[`l`,`x2`,`y4`],[`l`,`l`,`y4`],[`l`,`wd8`,`y3`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x5`,`hR`],[`a`,`wd32`,`hR`,`0`,`cd4`],[`l`,`x3`,`y1`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`x5`,`y2`],[`c`],[`m`,`x6`,`hR`],[`a`,`wd32`,`hR`,`cd2`,`-5400000`],[`l`,`x8`,`y1`],[`a`,`wd32`,`hR`,`3cd4`,`cd2`],[`l`,`x6`,`y2`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`x4`,`t`],[`a`,`wd32`,`hR`,`3cd4`,`cd2`],[`l`,`x3`,`y1`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`x8`,`y2`],[`a`,`wd32`,`hR`,`cd4`,`-10800000`],[`l`,`x7`,`y1`],[`a`,`wd32`,`hR`,`cd4`,`cd2`],[`l`,`r`,`t`],[`l`,`x10`,`y3`],[`l`,`r`,`y4`],[`l`,`x9`,`y4`],[`l`,`x9`,`y5`],[`a`,`wd32`,`hR`,`0`,`cd4`],[`l`,`x3`,`b`],[`a`,`wd32`,`hR`,`cd4`,`cd4`],[`l`,`x2`,`y4`],[`l`,`l`,`y4`],[`l`,`wd8`,`y3`],[`c`],[`m`,`x5`,`hR`],[`l`,`x5`,`y2`],[`m`,`x6`,`y2`],[`l`,`x6`,`hR`],[`m`,`x2`,`y4`],[`l`,`x2`,`y6`],[`m`,`x9`,`y6`],[`l`,`x9`,`y4`]]}]},ribbon2:{adj:[[`adj1`,`val 16667`],[`adj2`,`val 50000`]],gd:[[`a1`,`pin 0 adj1 33333`],[`a2`,`pin 25000 adj2 75000`],[`x10`,`+- r 0 wd8`],[`dx2`,`*/ w a2 200000`],[`x2`,`+- hc 0 dx2`],[`x9`,`+- hc dx2 0`],[`x3`,`+- x2 wd32 0`],[`x8`,`+- x9 0 wd32`],[`x5`,`+- x2 wd8 0`],[`x6`,`+- x9 0 wd8`],[`x4`,`+- x5 0 wd32`],[`x7`,`+- x6 wd32 0`],[`dy1`,`*/ h a1 200000`],[`y1`,`+- b 0 dy1`],[`dy2`,`*/ h a1 100000`],[`y2`,`+- b 0 dy2`],[`y4`,`+- t dy2 0`],[`y3`,`+/ y4 b 2`],[`hR`,`*/ h a1 400000`],[`y6`,`+- b 0 hR`],[`y7`,`+- y1 0 hR`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`b`],[`l`,`x4`,`b`],[`a`,`wd32`,`hR`,`cd4`,`-10800000`],[`l`,`x3`,`y1`],[`a`,`wd32`,`hR`,`cd4`,`cd2`],[`l`,`x8`,`y2`],[`a`,`wd32`,`hR`,`3cd4`,`cd2`],[`l`,`x7`,`y1`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`r`,`b`],[`l`,`x10`,`y3`],[`l`,`r`,`y4`],[`l`,`x9`,`y4`],[`l`,`x9`,`hR`],[`a`,`wd32`,`hR`,`0`,`-5400000`],[`l`,`x3`,`t`],[`a`,`wd32`,`hR`,`3cd4`,`-5400000`],[`l`,`x2`,`y4`],[`l`,`l`,`y4`],[`l`,`wd8`,`y3`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x5`,`y6`],[`a`,`wd32`,`hR`,`0`,`-5400000`],[`l`,`x3`,`y1`],[`a`,`wd32`,`hR`,`cd4`,`cd2`],[`l`,`x5`,`y2`],[`c`],[`m`,`x6`,`y6`],[`a`,`wd32`,`hR`,`cd2`,`cd4`],[`l`,`x8`,`y1`],[`a`,`wd32`,`hR`,`cd4`,`-10800000`],[`l`,`x6`,`y2`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`b`],[`l`,`wd8`,`y3`],[`l`,`l`,`y4`],[`l`,`x2`,`y4`],[`l`,`x2`,`hR`],[`a`,`wd32`,`hR`,`cd2`,`cd4`],[`l`,`x8`,`t`],[`a`,`wd32`,`hR`,`3cd4`,`cd4`],[`l`,`x9`,`y4`],[`l`,`x9`,`y4`],[`l`,`r`,`y4`],[`l`,`x10`,`y3`],[`l`,`r`,`b`],[`l`,`x7`,`b`],[`a`,`wd32`,`hR`,`cd4`,`cd2`],[`l`,`x8`,`y1`],[`a`,`wd32`,`hR`,`cd4`,`-10800000`],[`l`,`x3`,`y2`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`x4`,`y1`],[`a`,`wd32`,`hR`,`3cd4`,`cd2`],[`c`],[`m`,`x5`,`y2`],[`l`,`x5`,`y6`],[`m`,`x6`,`y6`],[`l`,`x6`,`y2`],[`m`,`x2`,`y7`],[`l`,`x2`,`y4`],[`m`,`x9`,`y4`],[`l`,`x9`,`y7`]]}]},rightarrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 100000 w ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`dx1`,`*/ ss a2 100000`],[`x1`,`+- r 0 dx1`],[`dy1`,`*/ h a1 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc dy1 0`],[`dx2`,`*/ y1 dx1 hd2`],[`x2`,`+- x1 dx2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`x1`,`y1`],[`l`,`x1`,`t`],[`l`,`r`,`vc`],[`l`,`x1`,`b`],[`l`,`x1`,`y2`],[`l`,`l`,`y2`],[`c`]]}]},rightarrowcallout:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 64977`]],gd:[[`maxAdj2`,`*/ 50000 h ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`*/ 100000 w ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`q2`,`*/ a3 ss w`],[`maxAdj4`,`+- 100000 0 q2`],[`a4`,`pin 0 adj4 maxAdj4`],[`dy1`,`*/ ss a2 100000`],[`dy2`,`*/ ss a1 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`],[`y4`,`+- vc dy1 0`],[`dx3`,`*/ ss a3 100000`],[`x3`,`+- r 0 dx3`],[`x2`,`*/ w a4 100000`],[`x1`,`*/ x2 1 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x2`,`t`],[`l`,`x2`,`y2`],[`l`,`x3`,`y2`],[`l`,`x3`,`y1`],[`l`,`r`,`vc`],[`l`,`x3`,`y4`],[`l`,`x3`,`y3`],[`l`,`x2`,`y3`],[`l`,`x2`,`b`],[`l`,`l`,`b`],[`c`]]}]},rightbrace:{adj:[[`adj1`,`val 8333`],[`adj2`,`val 50000`]],gd:[[`a2`,`pin 0 adj2 100000`],[`q1`,`+- 100000 0 a2`],[`q2`,`min q1 a2`],[`q3`,`*/ q2 1 2`],[`maxAdj1`,`*/ q3 h ss`],[`a1`,`pin 0 adj1 maxAdj1`],[`y1`,`*/ ss a1 100000`],[`y3`,`*/ h a2 100000`],[`y2`,`+- y3 0 y1`],[`y4`,`+- b 0 y1`],[`dx1`,`cos wd2 2700000`],[`dy1`,`sin y1 2700000`],[`ir`,`+- l dx1 0`],[`it`,`+- y1 0 dy1`],[`ib`,`+- b dy1 y1`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`a`,`wd2`,`y1`,`3cd4`,`cd4`],[`l`,`hc`,`y2`],[`a`,`wd2`,`y1`,`cd2`,`-5400000`],[`a`,`wd2`,`y1`,`3cd4`,`-5400000`],[`l`,`hc`,`y4`],[`a`,`wd2`,`y1`,`0`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`a`,`wd2`,`y1`,`3cd4`,`cd4`],[`l`,`hc`,`y2`],[`a`,`wd2`,`y1`,`cd2`,`-5400000`],[`a`,`wd2`,`y1`,`3cd4`,`-5400000`],[`l`,`hc`,`y4`],[`a`,`wd2`,`y1`,`0`,`cd4`]]}]},rightbracket:{adj:[[`adj`,`val 8333`]],gd:[[`maxAdj`,`*/ 50000 h ss`],[`a`,`pin 0 adj maxAdj`],[`y1`,`*/ ss a 100000`],[`y2`,`+- b 0 y1`],[`dx1`,`cos w 2700000`],[`dy1`,`sin y1 2700000`],[`ir`,`+- l dx1 0`],[`it`,`+- y1 0 dy1`],[`ib`,`+- b dy1 y1`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`a`,`w`,`y1`,`3cd4`,`cd4`],[`l`,`r`,`y2`],[`a`,`w`,`y1`,`0`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`a`,`w`,`y1`,`3cd4`,`cd4`],[`l`,`r`,`y2`],[`a`,`w`,`y1`,`0`,`cd4`]]}]},round1rect:{adj:[[`adj`,`val 16667`]],gd:[[`a`,`pin 0 adj 50000`],[`dx1`,`*/ ss a 100000`],[`x1`,`+- r 0 dx1`],[`idx`,`*/ dx1 29289 100000`],[`ir`,`+- r 0 idx`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`a`,`dx1`,`dx1`,`3cd4`,`cd4`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},round2diagrect:{adj:[[`adj1`,`val 16667`],[`adj2`,`val 0`]],gd:[[`a1`,`pin 0 adj1 50000`],[`a2`,`pin 0 adj2 50000`],[`x1`,`*/ ss a1 100000`],[`y1`,`+- b 0 x1`],[`a`,`*/ ss a2 100000`],[`x2`,`+- r 0 a`],[`y2`,`+- b 0 a`],[`dx1`,`*/ x1 29289 100000`],[`dx2`,`*/ a 29289 100000`],[`d`,`+- dx1 0 dx2`],[`dx`,`?: d dx1 dx2`],[`ir`,`+- r 0 dx`],[`ib`,`+- b 0 dx`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`t`],[`l`,`x2`,`t`],[`a`,`a`,`a`,`3cd4`,`cd4`],[`l`,`r`,`y1`],[`a`,`x1`,`x1`,`0`,`cd4`],[`l`,`a`,`b`],[`a`,`a`,`a`,`cd4`,`cd4`],[`l`,`l`,`x1`],[`a`,`x1`,`x1`,`cd2`,`cd4`],[`c`]]}]},round2samerect:{adj:[[`adj1`,`val 16667`],[`adj2`,`val 0`]],gd:[[`a1`,`pin 0 adj1 50000`],[`a2`,`pin 0 adj2 50000`],[`tx1`,`*/ ss a1 100000`],[`tx2`,`+- r 0 tx1`],[`bx1`,`*/ ss a2 100000`],[`bx2`,`+- r 0 bx1`],[`by1`,`+- b 0 bx1`],[`d`,`+- tx1 0 bx1`],[`tdx`,`*/ tx1 29289 100000`],[`bdx`,`*/ bx1 29289 100000`],[`il`,`?: d tdx bdx`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 bdx`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`tx1`,`t`],[`l`,`tx2`,`t`],[`a`,`tx1`,`tx1`,`3cd4`,`cd4`],[`l`,`r`,`by1`],[`a`,`bx1`,`bx1`,`0`,`cd4`],[`l`,`bx1`,`b`],[`a`,`bx1`,`bx1`,`cd4`,`cd4`],[`l`,`l`,`tx1`],[`a`,`tx1`,`tx1`,`cd2`,`cd4`],[`c`]]}]},roundrect:{adj:[[`adj`,`val 16667`]],gd:[[`a`,`pin 0 adj 50000`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`y2`,`+- b 0 x1`],[`il`,`*/ x1 29289 100000`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`x1`],[`a`,`x1`,`x1`,`cd2`,`cd4`],[`l`,`x2`,`t`],[`a`,`x1`,`x1`,`3cd4`,`cd4`],[`l`,`r`,`y2`],[`a`,`x1`,`x1`,`0`,`cd4`],[`l`,`x1`,`b`],[`a`,`x1`,`x1`,`cd4`,`cd4`],[`c`]]}]},rttriangle:{adj:[],gd:[[`it`,`*/ h 7 12`],[`ir`,`*/ w 7 12`],[`ib`,`*/ h 11 12`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`l`,`t`],[`l`,`r`,`b`],[`c`]]}]},smileyface:{adj:[[`adj`,`val 4653`]],gd:[[`a`,`pin -4653 adj 4653`],[`x1`,`*/ w 4969 21699`],[`x2`,`*/ w 6215 21600`],[`x3`,`*/ w 13135 21600`],[`x4`,`*/ w 16640 21600`],[`y1`,`*/ h 7570 21600`],[`y3`,`*/ h 16515 21600`],[`dy2`,`*/ h a 100000`],[`y2`,`+- y3 0 dy2`],[`y4`,`+- y3 dy2 0`],[`dy3`,`*/ h a 50000`],[`y5`,`+- y4 dy3 0`],[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`],[`wR`,`*/ w 1125 21600`],[`hR`,`*/ h 1125 21600`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`21600000`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x2`,`y1`],[`a`,`wR`,`hR`,`cd2`,`21600000`],[`m`,`x3`,`y1`],[`a`,`wR`,`hR`,`cd2`,`21600000`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y2`],[`Q`,`hc`,`y5`,`x4`,`y2`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`21600000`],[`c`]]}]},snip1rect:{adj:[[`adj`,`val 16667`]],gd:[[`a`,`pin 0 adj 50000`],[`dx1`,`*/ ss a 100000`],[`x1`,`+- r 0 dx1`],[`it`,`*/ dx1 1 2`],[`ir`,`+/ x1 r 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`l`,`r`,`dx1`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},snip2diagrect:{adj:[[`adj1`,`val 0`],[`adj2`,`val 16667`]],gd:[[`a1`,`pin 0 adj1 50000`],[`a2`,`pin 0 adj2 50000`],[`lx1`,`*/ ss a1 100000`],[`lx2`,`+- r 0 lx1`],[`ly1`,`+- b 0 lx1`],[`rx1`,`*/ ss a2 100000`],[`rx2`,`+- r 0 rx1`],[`ry1`,`+- b 0 rx1`],[`d`,`+- lx1 0 rx1`],[`dx`,`?: d lx1 rx1`],[`il`,`*/ dx 1 2`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`lx1`,`t`],[`l`,`rx2`,`t`],[`l`,`r`,`rx1`],[`l`,`r`,`ly1`],[`l`,`lx2`,`b`],[`l`,`rx1`,`b`],[`l`,`l`,`ry1`],[`l`,`l`,`lx1`],[`c`]]}]},snip2samerect:{adj:[[`adj1`,`val 16667`],[`adj2`,`val 0`]],gd:[[`a1`,`pin 0 adj1 50000`],[`a2`,`pin 0 adj2 50000`],[`tx1`,`*/ ss a1 100000`],[`tx2`,`+- r 0 tx1`],[`bx1`,`*/ ss a2 100000`],[`bx2`,`+- r 0 bx1`],[`by1`,`+- b 0 bx1`],[`d`,`+- tx1 0 bx1`],[`dx`,`?: d tx1 bx1`],[`il`,`*/ dx 1 2`],[`ir`,`+- r 0 il`],[`it`,`*/ tx1 1 2`],[`ib`,`+/ by1 b 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`tx1`,`t`],[`l`,`tx2`,`t`],[`l`,`r`,`tx1`],[`l`,`r`,`by1`],[`l`,`bx2`,`b`],[`l`,`bx1`,`b`],[`l`,`l`,`by1`],[`l`,`l`,`tx1`],[`c`]]}]},sniproundrect:{adj:[[`adj1`,`val 16667`],[`adj2`,`val 16667`]],gd:[[`a1`,`pin 0 adj1 50000`],[`a2`,`pin 0 adj2 50000`],[`x1`,`*/ ss a1 100000`],[`dx2`,`*/ ss a2 100000`],[`x2`,`+- r 0 dx2`],[`il`,`*/ x1 29289 100000`],[`ir`,`+/ x2 r 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`t`],[`l`,`x2`,`t`],[`l`,`r`,`dx2`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`l`,`l`,`x1`],[`a`,`x1`,`x1`,`cd2`,`cd4`],[`c`]]}]},squaretabs:{adj:[],gd:[[`md`,`mod w h 0`],[`dx`,`*/ 1 md 20`],[`y1`,`+- 0 b dx`],[`x1`,`+- 0 r dx`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`dx`,`t`],[`l`,`dx`,`dx`],[`l`,`l`,`dx`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`dx`,`y1`],[`l`,`dx`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`t`],[`l`,`r`,`t`],[`l`,`r`,`dx`],[`l`,`x1`,`dx`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`l`,`r`,`y1`],[`l`,`r`,`b`],[`l`,`x1`,`b`],[`c`]]}]},star10:{adj:[[`adj`,`val 42533`],[`hf`,`val 105146`]],gd:[[`a`,`pin 0 adj 50000`],[`swd2`,`*/ wd2 hf 100000`],[`dx1`,`*/ swd2 95106 100000`],[`dx2`,`*/ swd2 58779 100000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`dy1`,`*/ hd2 80902 100000`],[`dy2`,`*/ hd2 30902 100000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`],[`y4`,`+- vc dy1 0`],[`iwd2`,`*/ swd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx1`,`*/ iwd2 80902 100000`],[`sdx2`,`*/ iwd2 30902 100000`],[`sdy1`,`*/ ihd2 95106 100000`],[`sdy2`,`*/ ihd2 58779 100000`],[`sx1`,`+- hc 0 iwd2`],[`sx2`,`+- hc 0 sdx1`],[`sx3`,`+- hc 0 sdx2`],[`sx4`,`+- hc sdx2 0`],[`sx5`,`+- hc sdx1 0`],[`sx6`,`+- hc iwd2 0`],[`sy1`,`+- vc 0 sdy1`],[`sy2`,`+- vc 0 sdy2`],[`sy3`,`+- vc sdy2 0`],[`sy4`,`+- vc sdy1 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y2`],[`l`,`sx2`,`sy2`],[`l`,`x2`,`y1`],[`l`,`sx3`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx4`,`sy1`],[`l`,`x3`,`y1`],[`l`,`sx5`,`sy2`],[`l`,`x4`,`y2`],[`l`,`sx6`,`vc`],[`l`,`x4`,`y3`],[`l`,`sx5`,`sy3`],[`l`,`x3`,`y4`],[`l`,`sx4`,`sy4`],[`l`,`hc`,`b`],[`l`,`sx3`,`sy4`],[`l`,`x2`,`y4`],[`l`,`sx2`,`sy3`],[`l`,`x1`,`y3`],[`l`,`sx1`,`vc`],[`c`]]}]},star12:{adj:[[`adj`,`val 37500`]],gd:[[`a`,`pin 0 adj 50000`],[`dx1`,`cos wd2 1800000`],[`dy1`,`sin hd2 3600000`],[`x1`,`+- hc 0 dx1`],[`x3`,`*/ w 3 4`],[`x4`,`+- hc dx1 0`],[`y1`,`+- vc 0 dy1`],[`y3`,`*/ h 3 4`],[`y4`,`+- vc dy1 0`],[`iwd2`,`*/ wd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx1`,`cos iwd2 900000`],[`sdx2`,`cos iwd2 2700000`],[`sdx3`,`cos iwd2 4500000`],[`sdy1`,`sin ihd2 4500000`],[`sdy2`,`sin ihd2 2700000`],[`sdy3`,`sin ihd2 900000`],[`sx1`,`+- hc 0 sdx1`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc 0 sdx3`],[`sx4`,`+- hc sdx3 0`],[`sx5`,`+- hc sdx2 0`],[`sx6`,`+- hc sdx1 0`],[`sy1`,`+- vc 0 sdy1`],[`sy2`,`+- vc 0 sdy2`],[`sy3`,`+- vc 0 sdy3`],[`sy4`,`+- vc sdy3 0`],[`sy5`,`+- vc sdy2 0`],[`sy6`,`+- vc sdy1 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`sx1`,`sy3`],[`l`,`x1`,`hd4`],[`l`,`sx2`,`sy2`],[`l`,`wd4`,`y1`],[`l`,`sx3`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx4`,`sy1`],[`l`,`x3`,`y1`],[`l`,`sx5`,`sy2`],[`l`,`x4`,`hd4`],[`l`,`sx6`,`sy3`],[`l`,`r`,`vc`],[`l`,`sx6`,`sy4`],[`l`,`x4`,`y3`],[`l`,`sx5`,`sy5`],[`l`,`x3`,`y4`],[`l`,`sx4`,`sy6`],[`l`,`hc`,`b`],[`l`,`sx3`,`sy6`],[`l`,`wd4`,`y4`],[`l`,`sx2`,`sy5`],[`l`,`x1`,`y3`],[`l`,`sx1`,`sy4`],[`c`]]}]},star16:{adj:[[`adj`,`val 37500`]],gd:[[`a`,`pin 0 adj 50000`],[`dx1`,`*/ wd2 92388 100000`],[`dx2`,`*/ wd2 70711 100000`],[`dx3`,`*/ wd2 38268 100000`],[`dy1`,`*/ hd2 92388 100000`],[`dy2`,`*/ hd2 70711 100000`],[`dy3`,`*/ hd2 38268 100000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc 0 dx3`],[`x4`,`+- hc dx3 0`],[`x5`,`+- hc dx2 0`],[`x6`,`+- hc dx1 0`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc 0 dy3`],[`y4`,`+- vc dy3 0`],[`y5`,`+- vc dy2 0`],[`y6`,`+- vc dy1 0`],[`iwd2`,`*/ wd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx1`,`*/ iwd2 98079 100000`],[`sdx2`,`*/ iwd2 83147 100000`],[`sdx3`,`*/ iwd2 55557 100000`],[`sdx4`,`*/ iwd2 19509 100000`],[`sdy1`,`*/ ihd2 98079 100000`],[`sdy2`,`*/ ihd2 83147 100000`],[`sdy3`,`*/ ihd2 55557 100000`],[`sdy4`,`*/ ihd2 19509 100000`],[`sx1`,`+- hc 0 sdx1`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc 0 sdx3`],[`sx4`,`+- hc 0 sdx4`],[`sx5`,`+- hc sdx4 0`],[`sx6`,`+- hc sdx3 0`],[`sx7`,`+- hc sdx2 0`],[`sx8`,`+- hc sdx1 0`],[`sy1`,`+- vc 0 sdy1`],[`sy2`,`+- vc 0 sdy2`],[`sy3`,`+- vc 0 sdy3`],[`sy4`,`+- vc 0 sdy4`],[`sy5`,`+- vc sdy4 0`],[`sy6`,`+- vc sdy3 0`],[`sy7`,`+- vc sdy2 0`],[`sy8`,`+- vc sdy1 0`],[`idx`,`cos iwd2 2700000`],[`idy`,`sin ihd2 2700000`],[`il`,`+- hc 0 idx`],[`it`,`+- vc 0 idy`],[`ir`,`+- hc idx 0`],[`ib`,`+- vc idy 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`sx1`,`sy4`],[`l`,`x1`,`y3`],[`l`,`sx2`,`sy3`],[`l`,`x2`,`y2`],[`l`,`sx3`,`sy2`],[`l`,`x3`,`y1`],[`l`,`sx4`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx5`,`sy1`],[`l`,`x4`,`y1`],[`l`,`sx6`,`sy2`],[`l`,`x5`,`y2`],[`l`,`sx7`,`sy3`],[`l`,`x6`,`y3`],[`l`,`sx8`,`sy4`],[`l`,`r`,`vc`],[`l`,`sx8`,`sy5`],[`l`,`x6`,`y4`],[`l`,`sx7`,`sy6`],[`l`,`x5`,`y5`],[`l`,`sx6`,`sy7`],[`l`,`x4`,`y6`],[`l`,`sx5`,`sy8`],[`l`,`hc`,`b`],[`l`,`sx4`,`sy8`],[`l`,`x3`,`y6`],[`l`,`sx3`,`sy7`],[`l`,`x2`,`y5`],[`l`,`sx2`,`sy6`],[`l`,`x1`,`y4`],[`l`,`sx1`,`sy5`],[`c`]]}]},star24:{adj:[[`adj`,`val 37500`]],gd:[[`a`,`pin 0 adj 50000`],[`dx1`,`cos wd2 900000`],[`dx2`,`cos wd2 1800000`],[`dx3`,`cos wd2 2700000`],[`dx4`,`val wd4`],[`dx5`,`cos wd2 4500000`],[`dy1`,`sin hd2 4500000`],[`dy2`,`sin hd2 3600000`],[`dy3`,`sin hd2 2700000`],[`dy4`,`val hd4`],[`dy5`,`sin hd2 900000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc 0 dx3`],[`x4`,`+- hc 0 dx4`],[`x5`,`+- hc 0 dx5`],[`x6`,`+- hc dx5 0`],[`x7`,`+- hc dx4 0`],[`x8`,`+- hc dx3 0`],[`x9`,`+- hc dx2 0`],[`x10`,`+- hc dx1 0`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc 0 dy3`],[`y4`,`+- vc 0 dy4`],[`y5`,`+- vc 0 dy5`],[`y6`,`+- vc dy5 0`],[`y7`,`+- vc dy4 0`],[`y8`,`+- vc dy3 0`],[`y9`,`+- vc dy2 0`],[`y10`,`+- vc dy1 0`],[`iwd2`,`*/ wd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx1`,`*/ iwd2 99144 100000`],[`sdx2`,`*/ iwd2 92388 100000`],[`sdx3`,`*/ iwd2 79335 100000`],[`sdx4`,`*/ iwd2 60876 100000`],[`sdx5`,`*/ iwd2 38268 100000`],[`sdx6`,`*/ iwd2 13053 100000`],[`sdy1`,`*/ ihd2 99144 100000`],[`sdy2`,`*/ ihd2 92388 100000`],[`sdy3`,`*/ ihd2 79335 100000`],[`sdy4`,`*/ ihd2 60876 100000`],[`sdy5`,`*/ ihd2 38268 100000`],[`sdy6`,`*/ ihd2 13053 100000`],[`sx1`,`+- hc 0 sdx1`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc 0 sdx3`],[`sx4`,`+- hc 0 sdx4`],[`sx5`,`+- hc 0 sdx5`],[`sx6`,`+- hc 0 sdx6`],[`sx7`,`+- hc sdx6 0`],[`sx8`,`+- hc sdx5 0`],[`sx9`,`+- hc sdx4 0`],[`sx10`,`+- hc sdx3 0`],[`sx11`,`+- hc sdx2 0`],[`sx12`,`+- hc sdx1 0`],[`sy1`,`+- vc 0 sdy1`],[`sy2`,`+- vc 0 sdy2`],[`sy3`,`+- vc 0 sdy3`],[`sy4`,`+- vc 0 sdy4`],[`sy5`,`+- vc 0 sdy5`],[`sy6`,`+- vc 0 sdy6`],[`sy7`,`+- vc sdy6 0`],[`sy8`,`+- vc sdy5 0`],[`sy9`,`+- vc sdy4 0`],[`sy10`,`+- vc sdy3 0`],[`sy11`,`+- vc sdy2 0`],[`sy12`,`+- vc sdy1 0`],[`idx`,`cos iwd2 2700000`],[`idy`,`sin ihd2 2700000`],[`il`,`+- hc 0 idx`],[`it`,`+- vc 0 idy`],[`ir`,`+- hc idx 0`],[`ib`,`+- vc idy 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`sx1`,`sy6`],[`l`,`x1`,`y5`],[`l`,`sx2`,`sy5`],[`l`,`x2`,`y4`],[`l`,`sx3`,`sy4`],[`l`,`x3`,`y3`],[`l`,`sx4`,`sy3`],[`l`,`x4`,`y2`],[`l`,`sx5`,`sy2`],[`l`,`x5`,`y1`],[`l`,`sx6`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx7`,`sy1`],[`l`,`x6`,`y1`],[`l`,`sx8`,`sy2`],[`l`,`x7`,`y2`],[`l`,`sx9`,`sy3`],[`l`,`x8`,`y3`],[`l`,`sx10`,`sy4`],[`l`,`x9`,`y4`],[`l`,`sx11`,`sy5`],[`l`,`x10`,`y5`],[`l`,`sx12`,`sy6`],[`l`,`r`,`vc`],[`l`,`sx12`,`sy7`],[`l`,`x10`,`y6`],[`l`,`sx11`,`sy8`],[`l`,`x9`,`y7`],[`l`,`sx10`,`sy9`],[`l`,`x8`,`y8`],[`l`,`sx9`,`sy10`],[`l`,`x7`,`y9`],[`l`,`sx8`,`sy11`],[`l`,`x6`,`y10`],[`l`,`sx7`,`sy12`],[`l`,`hc`,`b`],[`l`,`sx6`,`sy12`],[`l`,`x5`,`y10`],[`l`,`sx5`,`sy11`],[`l`,`x4`,`y9`],[`l`,`sx4`,`sy10`],[`l`,`x3`,`y8`],[`l`,`sx3`,`sy9`],[`l`,`x2`,`y7`],[`l`,`sx2`,`sy8`],[`l`,`x1`,`y6`],[`l`,`sx1`,`sy7`],[`c`]]}]},star32:{adj:[[`adj`,`val 37500`]],gd:[[`a`,`pin 0 adj 50000`],[`dx1`,`*/ wd2 98079 100000`],[`dx2`,`*/ wd2 92388 100000`],[`dx3`,`*/ wd2 83147 100000`],[`dx4`,`cos wd2 2700000`],[`dx5`,`*/ wd2 55557 100000`],[`dx6`,`*/ wd2 38268 100000`],[`dx7`,`*/ wd2 19509 100000`],[`dy1`,`*/ hd2 98079 100000`],[`dy2`,`*/ hd2 92388 100000`],[`dy3`,`*/ hd2 83147 100000`],[`dy4`,`sin hd2 2700000`],[`dy5`,`*/ hd2 55557 100000`],[`dy6`,`*/ hd2 38268 100000`],[`dy7`,`*/ hd2 19509 100000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc 0 dx3`],[`x4`,`+- hc 0 dx4`],[`x5`,`+- hc 0 dx5`],[`x6`,`+- hc 0 dx6`],[`x7`,`+- hc 0 dx7`],[`x8`,`+- hc dx7 0`],[`x9`,`+- hc dx6 0`],[`x10`,`+- hc dx5 0`],[`x11`,`+- hc dx4 0`],[`x12`,`+- hc dx3 0`],[`x13`,`+- hc dx2 0`],[`x14`,`+- hc dx1 0`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc 0 dy3`],[`y4`,`+- vc 0 dy4`],[`y5`,`+- vc 0 dy5`],[`y6`,`+- vc 0 dy6`],[`y7`,`+- vc 0 dy7`],[`y8`,`+- vc dy7 0`],[`y9`,`+- vc dy6 0`],[`y10`,`+- vc dy5 0`],[`y11`,`+- vc dy4 0`],[`y12`,`+- vc dy3 0`],[`y13`,`+- vc dy2 0`],[`y14`,`+- vc dy1 0`],[`iwd2`,`*/ wd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx1`,`*/ iwd2 99518 100000`],[`sdx2`,`*/ iwd2 95694 100000`],[`sdx3`,`*/ iwd2 88192 100000`],[`sdx4`,`*/ iwd2 77301 100000`],[`sdx5`,`*/ iwd2 63439 100000`],[`sdx6`,`*/ iwd2 47140 100000`],[`sdx7`,`*/ iwd2 29028 100000`],[`sdx8`,`*/ iwd2 9802 100000`],[`sdy1`,`*/ ihd2 99518 100000`],[`sdy2`,`*/ ihd2 95694 100000`],[`sdy3`,`*/ ihd2 88192 100000`],[`sdy4`,`*/ ihd2 77301 100000`],[`sdy5`,`*/ ihd2 63439 100000`],[`sdy6`,`*/ ihd2 47140 100000`],[`sdy7`,`*/ ihd2 29028 100000`],[`sdy8`,`*/ ihd2 9802 100000`],[`sx1`,`+- hc 0 sdx1`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc 0 sdx3`],[`sx4`,`+- hc 0 sdx4`],[`sx5`,`+- hc 0 sdx5`],[`sx6`,`+- hc 0 sdx6`],[`sx7`,`+- hc 0 sdx7`],[`sx8`,`+- hc 0 sdx8`],[`sx9`,`+- hc sdx8 0`],[`sx10`,`+- hc sdx7 0`],[`sx11`,`+- hc sdx6 0`],[`sx12`,`+- hc sdx5 0`],[`sx13`,`+- hc sdx4 0`],[`sx14`,`+- hc sdx3 0`],[`sx15`,`+- hc sdx2 0`],[`sx16`,`+- hc sdx1 0`],[`sy1`,`+- vc 0 sdy1`],[`sy2`,`+- vc 0 sdy2`],[`sy3`,`+- vc 0 sdy3`],[`sy4`,`+- vc 0 sdy4`],[`sy5`,`+- vc 0 sdy5`],[`sy6`,`+- vc 0 sdy6`],[`sy7`,`+- vc 0 sdy7`],[`sy8`,`+- vc 0 sdy8`],[`sy9`,`+- vc sdy8 0`],[`sy10`,`+- vc sdy7 0`],[`sy11`,`+- vc sdy6 0`],[`sy12`,`+- vc sdy5 0`],[`sy13`,`+- vc sdy4 0`],[`sy14`,`+- vc sdy3 0`],[`sy15`,`+- vc sdy2 0`],[`sy16`,`+- vc sdy1 0`],[`idx`,`cos iwd2 2700000`],[`idy`,`sin ihd2 2700000`],[`il`,`+- hc 0 idx`],[`it`,`+- vc 0 idy`],[`ir`,`+- hc idx 0`],[`ib`,`+- vc idy 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`sx1`,`sy8`],[`l`,`x1`,`y7`],[`l`,`sx2`,`sy7`],[`l`,`x2`,`y6`],[`l`,`sx3`,`sy6`],[`l`,`x3`,`y5`],[`l`,`sx4`,`sy5`],[`l`,`x4`,`y4`],[`l`,`sx5`,`sy4`],[`l`,`x5`,`y3`],[`l`,`sx6`,`sy3`],[`l`,`x6`,`y2`],[`l`,`sx7`,`sy2`],[`l`,`x7`,`y1`],[`l`,`sx8`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx9`,`sy1`],[`l`,`x8`,`y1`],[`l`,`sx10`,`sy2`],[`l`,`x9`,`y2`],[`l`,`sx11`,`sy3`],[`l`,`x10`,`y3`],[`l`,`sx12`,`sy4`],[`l`,`x11`,`y4`],[`l`,`sx13`,`sy5`],[`l`,`x12`,`y5`],[`l`,`sx14`,`sy6`],[`l`,`x13`,`y6`],[`l`,`sx15`,`sy7`],[`l`,`x14`,`y7`],[`l`,`sx16`,`sy8`],[`l`,`r`,`vc`],[`l`,`sx16`,`sy9`],[`l`,`x14`,`y8`],[`l`,`sx15`,`sy10`],[`l`,`x13`,`y9`],[`l`,`sx14`,`sy11`],[`l`,`x12`,`y10`],[`l`,`sx13`,`sy12`],[`l`,`x11`,`y11`],[`l`,`sx12`,`sy13`],[`l`,`x10`,`y12`],[`l`,`sx11`,`sy14`],[`l`,`x9`,`y13`],[`l`,`sx10`,`sy15`],[`l`,`x8`,`y14`],[`l`,`sx9`,`sy16`],[`l`,`hc`,`b`],[`l`,`sx8`,`sy16`],[`l`,`x7`,`y14`],[`l`,`sx7`,`sy15`],[`l`,`x6`,`y13`],[`l`,`sx6`,`sy14`],[`l`,`x5`,`y12`],[`l`,`sx5`,`sy13`],[`l`,`x4`,`y11`],[`l`,`sx4`,`sy12`],[`l`,`x3`,`y10`],[`l`,`sx3`,`sy11`],[`l`,`x2`,`y9`],[`l`,`sx2`,`sy10`],[`l`,`x1`,`y8`],[`l`,`sx1`,`sy9`],[`c`]]}]},star4:{adj:[[`adj`,`val 12500`]],gd:[[`a`,`pin 0 adj 50000`],[`iwd2`,`*/ wd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx`,`cos iwd2 2700000`],[`sdy`,`sin ihd2 2700000`],[`sx1`,`+- hc 0 sdx`],[`sx2`,`+- hc sdx 0`],[`sy1`,`+- vc 0 sdy`],[`sy2`,`+- vc sdy 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`sx1`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx2`,`sy1`],[`l`,`r`,`vc`],[`l`,`sx2`,`sy2`],[`l`,`hc`,`b`],[`l`,`sx1`,`sy2`],[`c`]]}]},star5:{adj:[[`adj`,`val 19098`],[`hf`,`val 105146`],[`vf`,`val 110557`]],gd:[[`a`,`pin 0 adj 50000`],[`swd2`,`*/ wd2 hf 100000`],[`shd2`,`*/ hd2 vf 100000`],[`svc`,`*/ vc vf 100000`],[`dx1`,`cos swd2 1080000`],[`dx2`,`cos swd2 18360000`],[`dy1`,`sin shd2 1080000`],[`dy2`,`sin shd2 18360000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`y1`,`+- svc 0 dy1`],[`y2`,`+- svc 0 dy2`],[`iwd2`,`*/ swd2 a 50000`],[`ihd2`,`*/ shd2 a 50000`],[`sdx1`,`cos iwd2 20520000`],[`sdx2`,`cos iwd2 3240000`],[`sdy1`,`sin ihd2 3240000`],[`sdy2`,`sin ihd2 20520000`],[`sx1`,`+- hc 0 sdx1`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc sdx2 0`],[`sx4`,`+- hc sdx1 0`],[`sy1`,`+- svc 0 sdy1`],[`sy2`,`+- svc 0 sdy2`],[`sy3`,`+- svc ihd2 0`],[`yAdj`,`+- svc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`l`,`sx2`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx3`,`sy1`],[`l`,`x4`,`y1`],[`l`,`sx4`,`sy2`],[`l`,`x3`,`y2`],[`l`,`hc`,`sy3`],[`l`,`x2`,`y2`],[`l`,`sx1`,`sy2`],[`c`]]}]},star6:{adj:[[`adj`,`val 28868`],[`hf`,`val 115470`]],gd:[[`a`,`pin 0 adj 50000`],[`swd2`,`*/ wd2 hf 100000`],[`dx1`,`cos swd2 1800000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc dx1 0`],[`y2`,`+- vc hd4 0`],[`iwd2`,`*/ swd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx2`,`*/ iwd2 1 2`],[`sx1`,`+- hc 0 iwd2`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc sdx2 0`],[`sx4`,`+- hc iwd2 0`],[`sdy1`,`sin ihd2 3600000`],[`sy1`,`+- vc 0 sdy1`],[`sy2`,`+- vc sdy1 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`hd4`],[`l`,`sx2`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx3`,`sy1`],[`l`,`x2`,`hd4`],[`l`,`sx4`,`vc`],[`l`,`x2`,`y2`],[`l`,`sx3`,`sy2`],[`l`,`hc`,`b`],[`l`,`sx2`,`sy2`],[`l`,`x1`,`y2`],[`l`,`sx1`,`vc`],[`c`]]}]},star7:{adj:[[`adj`,`val 34601`],[`hf`,`val 102572`],[`vf`,`val 105210`]],gd:[[`a`,`pin 0 adj 50000`],[`swd2`,`*/ wd2 hf 100000`],[`shd2`,`*/ hd2 vf 100000`],[`svc`,`*/ vc vf 100000`],[`dx1`,`*/ swd2 97493 100000`],[`dx2`,`*/ swd2 78183 100000`],[`dx3`,`*/ swd2 43388 100000`],[`dy1`,`*/ shd2 62349 100000`],[`dy2`,`*/ shd2 22252 100000`],[`dy3`,`*/ shd2 90097 100000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc 0 dx3`],[`x4`,`+- hc dx3 0`],[`x5`,`+- hc dx2 0`],[`x6`,`+- hc dx1 0`],[`y1`,`+- svc 0 dy1`],[`y2`,`+- svc dy2 0`],[`y3`,`+- svc dy3 0`],[`iwd2`,`*/ swd2 a 50000`],[`ihd2`,`*/ shd2 a 50000`],[`sdx1`,`*/ iwd2 97493 100000`],[`sdx2`,`*/ iwd2 78183 100000`],[`sdx3`,`*/ iwd2 43388 100000`],[`sx1`,`+- hc 0 sdx1`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc 0 sdx3`],[`sx4`,`+- hc sdx3 0`],[`sx5`,`+- hc sdx2 0`],[`sx6`,`+- hc sdx1 0`],[`sdy1`,`*/ ihd2 90097 100000`],[`sdy2`,`*/ ihd2 22252 100000`],[`sdy3`,`*/ ihd2 62349 100000`],[`sy1`,`+- svc 0 sdy1`],[`sy2`,`+- svc 0 sdy2`],[`sy3`,`+- svc sdy3 0`],[`sy4`,`+- svc ihd2 0`],[`yAdj`,`+- svc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y2`],[`l`,`sx1`,`sy2`],[`l`,`x2`,`y1`],[`l`,`sx3`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx4`,`sy1`],[`l`,`x5`,`y1`],[`l`,`sx6`,`sy2`],[`l`,`x6`,`y2`],[`l`,`sx5`,`sy3`],[`l`,`x4`,`y3`],[`l`,`hc`,`sy4`],[`l`,`x3`,`y3`],[`l`,`sx2`,`sy3`],[`c`]]}]},star8:{adj:[[`adj`,`val 37500`]],gd:[[`a`,`pin 0 adj 50000`],[`dx1`,`cos wd2 2700000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc dx1 0`],[`dy1`,`sin hd2 2700000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc dy1 0`],[`iwd2`,`*/ wd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx1`,`*/ iwd2 92388 100000`],[`sdx2`,`*/ iwd2 38268 100000`],[`sdy1`,`*/ ihd2 92388 100000`],[`sdy2`,`*/ ihd2 38268 100000`],[`sx1`,`+- hc 0 sdx1`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc sdx2 0`],[`sx4`,`+- hc sdx1 0`],[`sy1`,`+- vc 0 sdy1`],[`sy2`,`+- vc 0 sdy2`],[`sy3`,`+- vc sdy2 0`],[`sy4`,`+- vc sdy1 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`sx1`,`sy2`],[`l`,`x1`,`y1`],[`l`,`sx2`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx3`,`sy1`],[`l`,`x2`,`y1`],[`l`,`sx4`,`sy2`],[`l`,`r`,`vc`],[`l`,`sx4`,`sy3`],[`l`,`x2`,`y2`],[`l`,`sx3`,`sy4`],[`l`,`hc`,`b`],[`l`,`sx2`,`sy4`],[`l`,`x1`,`y2`],[`l`,`sx1`,`sy3`],[`c`]]}]},straightconnector1:{adj:[],gd:[],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`b`]]}]},stripedrightarrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 84375 w ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`x4`,`*/ ss 5 32`],[`dx5`,`*/ ss a2 100000`],[`x5`,`+- r 0 dx5`],[`dy1`,`*/ h a1 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc dy1 0`],[`dx6`,`*/ dy1 dx5 hd2`],[`x6`,`+- r 0 dx6`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`ssd32`,`y1`],[`l`,`ssd32`,`y2`],[`l`,`l`,`y2`],[`c`],[`m`,`ssd16`,`y1`],[`l`,`ssd8`,`y1`],[`l`,`ssd8`,`y2`],[`l`,`ssd16`,`y2`],[`c`],[`m`,`x4`,`y1`],[`l`,`x5`,`y1`],[`l`,`x5`,`t`],[`l`,`r`,`vc`],[`l`,`x5`,`b`],[`l`,`x5`,`y2`],[`l`,`x4`,`y2`],[`c`]]}]},sun:{adj:[[`adj`,`val 25000`]],gd:[[`a`,`pin 12500 adj 46875`],[`g0`,`+- 50000 0 a`],[`g1`,`*/ g0 30274 32768`],[`g2`,`*/ g0 12540 32768`],[`g3`,`+- g1 50000 0`],[`g4`,`+- g2 50000 0`],[`g5`,`+- 50000 0 g1`],[`g6`,`+- 50000 0 g2`],[`g7`,`*/ g0 23170 32768`],[`g8`,`+- 50000 g7 0`],[`g9`,`+- 50000 0 g7`],[`g10`,`*/ g5 3 4`],[`g11`,`*/ g6 3 4`],[`g12`,`+- g10 3662 0`],[`g13`,`+- g11 3662 0`],[`g14`,`+- g11 12500 0`],[`g15`,`+- 100000 0 g10`],[`g16`,`+- 100000 0 g12`],[`g17`,`+- 100000 0 g13`],[`g18`,`+- 100000 0 g14`],[`ox1`,`*/ w 18436 21600`],[`oy1`,`*/ h 3163 21600`],[`ox2`,`*/ w 3163 21600`],[`oy2`,`*/ h 18436 21600`],[`x8`,`*/ w g8 100000`],[`x9`,`*/ w g9 100000`],[`x10`,`*/ w g10 100000`],[`x12`,`*/ w g12 100000`],[`x13`,`*/ w g13 100000`],[`x14`,`*/ w g14 100000`],[`x15`,`*/ w g15 100000`],[`x16`,`*/ w g16 100000`],[`x17`,`*/ w g17 100000`],[`x18`,`*/ w g18 100000`],[`x19`,`*/ w a 100000`],[`wR`,`*/ w g0 100000`],[`hR`,`*/ h g0 100000`],[`y8`,`*/ h g8 100000`],[`y9`,`*/ h g9 100000`],[`y10`,`*/ h g10 100000`],[`y12`,`*/ h g12 100000`],[`y13`,`*/ h g13 100000`],[`y14`,`*/ h g14 100000`],[`y15`,`*/ h g15 100000`],[`y16`,`*/ h g16 100000`],[`y17`,`*/ h g17 100000`],[`y18`,`*/ h g18 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`r`,`vc`],[`l`,`x15`,`y18`],[`l`,`x15`,`y14`],[`c`],[`m`,`ox1`,`oy1`],[`l`,`x16`,`y13`],[`l`,`x17`,`y12`],[`c`],[`m`,`hc`,`t`],[`l`,`x18`,`y10`],[`l`,`x14`,`y10`],[`c`],[`m`,`ox2`,`oy1`],[`l`,`x13`,`y12`],[`l`,`x12`,`y13`],[`c`],[`m`,`l`,`vc`],[`l`,`x10`,`y14`],[`l`,`x10`,`y18`],[`c`],[`m`,`ox2`,`oy2`],[`l`,`x12`,`y17`],[`l`,`x13`,`y16`],[`c`],[`m`,`hc`,`b`],[`l`,`x14`,`y15`],[`l`,`x18`,`y15`],[`c`],[`m`,`ox1`,`oy2`],[`l`,`x17`,`y16`],[`l`,`x16`,`y17`],[`c`],[`m`,`x19`,`vc`],[`a`,`wR`,`hR`,`cd2`,`21600000`],[`c`]]}]},swoosharrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 16667`]],gd:[[`a1`,`pin 1 adj1 75000`],[`maxAdj2`,`*/ 70000 w ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`ad1`,`*/ h a1 100000`],[`ad2`,`*/ ss a2 100000`],[`xB`,`+- r 0 ad2`],[`yB`,`+- t ssd8 0`],[`alfa`,`*/ cd4 1 14`],[`dx0`,`tan ssd8 alfa`],[`xC`,`+- xB 0 dx0`],[`dx1`,`tan ad1 alfa`],[`yF`,`+- yB ad1 0`],[`xF`,`+- xB dx1 0`],[`xE`,`+- xF dx0 0`],[`yE`,`+- yF ssd8 0`],[`dy2`,`+- yE 0 t`],[`dy22`,`*/ dy2 1 2`],[`dy3`,`*/ h 1 20`],[`yD`,`+- t dy22 dy3`],[`dy4`,`*/ hd6 1 1`],[`yP1`,`+- hd6 dy4 0`],[`xP1`,`val wd6`],[`dy5`,`*/ hd6 1 2`],[`yP2`,`+- yF dy5 0`],[`xP2`,`val wd4`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`Q`,`xP1`,`yP1`,`xB`,`yB`],[`l`,`xC`,`t`],[`l`,`r`,`yD`],[`l`,`xE`,`yE`],[`l`,`xF`,`yF`],[`Q`,`xP2`,`yP2`,`l`,`b`],[`c`]]}]},teardrop:{adj:[[`adj`,`val 100000`]],gd:[[`a`,`pin 0 adj 200000`],[`r2`,`sqrt 2`],[`tw`,`*/ wd2 r2 1`],[`th`,`*/ hd2 r2 1`],[`sw`,`*/ tw a 100000`],[`sh`,`*/ th a 100000`],[`dx1`,`cos sw 2700000`],[`dy1`,`sin sh 2700000`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc 0 dy1`],[`x2`,`+/ hc x1 2`],[`y2`,`+/ vc y1 2`],[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`Q`,`x2`,`t`,`x1`,`y1`],[`Q`,`r`,`y2`,`r`,`vc`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`]]}]},trapezoid:{adj:[[`adj`,`val 25000`]],gd:[[`maxAdj`,`*/ 50000 w ss`],[`a`,`pin 0 adj maxAdj`],[`x1`,`*/ ss a 200000`],[`x2`,`*/ ss a 100000`],[`x3`,`+- r 0 x2`],[`x4`,`+- r 0 x1`],[`il`,`*/ wd3 a maxAdj`],[`it`,`*/ hd3 a maxAdj`],[`ir`,`+- r 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`x2`,`t`],[`l`,`x3`,`t`],[`l`,`r`,`b`],[`c`]]}]},triangle:{adj:[[`adj`,`val 50000`]],gd:[[`a`,`pin 0 adj 100000`],[`x1`,`*/ w a 200000`],[`x2`,`*/ w a 100000`],[`x3`,`+- x1 wd2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`x2`,`t`],[`l`,`r`,`b`],[`c`]]}]},uparrowcallout:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 64977`]],gd:[[`maxAdj2`,`*/ 50000 w ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`*/ 100000 h ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`q2`,`*/ a3 ss h`],[`maxAdj4`,`+- 100000 0 q2`],[`a4`,`pin 0 adj4 maxAdj4`],[`dx1`,`*/ ss a2 100000`],[`dx2`,`*/ ss a1 200000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`y1`,`*/ ss a3 100000`],[`dy2`,`*/ h a4 100000`],[`y2`,`+- b 0 dy2`],[`y3`,`+/ y2 b 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`y1`],[`l`,`x1`,`y1`],[`l`,`hc`,`t`],[`l`,`x4`,`y1`],[`l`,`x3`,`y1`],[`l`,`x3`,`y2`],[`l`,`r`,`y2`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},updownarrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 50000 h ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`y2`,`*/ ss a2 100000`],[`y3`,`+- b 0 y2`],[`dx1`,`*/ w a1 200000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc dx1 0`],[`dy1`,`*/ x1 y2 wd2`],[`y1`,`+- y2 0 dy1`],[`y4`,`+- y3 dy1 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`hc`,`t`],[`l`,`r`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`y3`],[`l`,`r`,`y3`],[`l`,`hc`,`b`],[`l`,`l`,`y3`],[`l`,`x1`,`y3`],[`l`,`x1`,`y2`],[`c`]]}]},uparrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 100000 h ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`dy2`,`*/ ss a2 100000`],[`y2`,`+- t dy2 0`],[`dx1`,`*/ w a1 200000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc dx1 0`],[`dy1`,`*/ x1 dy2 wd2`],[`y1`,`+- y2 0 dy1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`hc`,`t`],[`l`,`r`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`b`],[`l`,`x1`,`b`],[`l`,`x1`,`y2`],[`c`]]}]},updownarrowcallout:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 48123`]],gd:[[`maxAdj2`,`*/ 50000 w ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`*/ 50000 h ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`q2`,`*/ a3 ss hd2`],[`maxAdj4`,`+- 100000 0 q2`],[`a4`,`pin 0 adj4 maxAdj4`],[`dx1`,`*/ ss a2 100000`],[`dx2`,`*/ ss a1 200000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`y1`,`*/ ss a3 100000`],[`y4`,`+- b 0 y1`],[`dy2`,`*/ h a4 200000`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`y1`],[`l`,`x1`,`y1`],[`l`,`hc`,`t`],[`l`,`x4`,`y1`],[`l`,`x3`,`y1`],[`l`,`x3`,`y2`],[`l`,`r`,`y2`],[`l`,`r`,`y3`],[`l`,`x3`,`y3`],[`l`,`x3`,`y4`],[`l`,`x4`,`y4`],[`l`,`hc`,`b`],[`l`,`x1`,`y4`],[`l`,`x2`,`y4`],[`l`,`x2`,`y3`],[`l`,`l`,`y3`],[`c`]]}]},uturnarrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 43750`],[`adj5`,`val 75000`]],gd:[[`a2`,`pin 0 adj2 25000`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`q2`,`*/ a1 ss h`],[`q3`,`+- 100000 0 q2`],[`maxAdj3`,`*/ q3 h ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`q1`,`+- a3 a1 0`],[`minAdj5`,`*/ q1 ss h`],[`a5`,`pin minAdj5 adj5 100000`],[`th`,`*/ ss a1 100000`],[`aw2`,`*/ ss a2 100000`],[`th2`,`*/ th 1 2`],[`dh2`,`+- aw2 0 th2`],[`y5`,`*/ h a5 100000`],[`ah`,`*/ ss a3 100000`],[`y4`,`+- y5 0 ah`],[`x9`,`+- r 0 dh2`],[`bw`,`*/ x9 1 2`],[`bs`,`min bw y4`],[`maxAdj4`,`*/ bs 100000 ss`],[`a4`,`pin 0 adj4 maxAdj4`],[`bd`,`*/ ss a4 100000`],[`bd3`,`+- bd 0 th`],[`bd2`,`max bd3 0`],[`x3`,`+- th bd2 0`],[`x8`,`+- r 0 aw2`],[`x6`,`+- x8 0 aw2`],[`x7`,`+- x6 dh2 0`],[`x4`,`+- x9 0 bd`],[`x5`,`+- x7 0 bd2`],[`cx`,`+/ th x7 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`l`,`bd`],[`a`,`bd`,`bd`,`cd2`,`cd4`],[`l`,`x4`,`t`],[`a`,`bd`,`bd`,`3cd4`,`cd4`],[`l`,`x9`,`y4`],[`l`,`r`,`y4`],[`l`,`x8`,`y5`],[`l`,`x6`,`y4`],[`l`,`x7`,`y4`],[`l`,`x7`,`x3`],[`a`,`bd2`,`bd2`,`0`,`-5400000`],[`l`,`x3`,`th`],[`a`,`bd2`,`bd2`,`3cd4`,`-5400000`],[`l`,`th`,`b`],[`c`]]}]},verticalscroll:{adj:[[`adj`,`val 12500`]],gd:[[`a`,`pin 0 adj 25000`],[`ch`,`*/ ss a 100000`],[`ch2`,`*/ ch 1 2`],[`ch4`,`*/ ch 1 4`],[`x3`,`+- ch ch2 0`],[`x4`,`+- ch ch 0`],[`x6`,`+- r 0 ch`],[`x7`,`+- r 0 ch2`],[`x5`,`+- x6 0 ch2`],[`y3`,`+- b 0 ch`],[`y4`,`+- b 0 ch2`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`ch2`,`b`],[`a`,`ch2`,`ch2`,`cd4`,`-5400000`],[`l`,`ch2`,`y4`],[`a`,`ch4`,`ch4`,`cd4`,`-10800000`],[`l`,`ch`,`y3`],[`l`,`ch`,`ch2`],[`a`,`ch2`,`ch2`,`cd2`,`cd4`],[`l`,`x7`,`t`],[`a`,`ch2`,`ch2`,`3cd4`,`cd2`],[`l`,`x6`,`ch`],[`l`,`x6`,`y4`],[`a`,`ch2`,`ch2`,`0`,`cd4`],[`c`],[`m`,`x4`,`ch2`],[`a`,`ch2`,`ch2`,`0`,`cd4`],[`a`,`ch4`,`ch4`,`cd4`,`cd2`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x4`,`ch2`],[`a`,`ch2`,`ch2`,`0`,`cd4`],[`a`,`ch4`,`ch4`,`cd4`,`cd2`],[`c`],[`m`,`ch`,`y4`],[`a`,`ch2`,`ch2`,`0`,`3cd4`],[`a`,`ch4`,`ch4`,`3cd4`,`cd2`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`ch`,`y3`],[`l`,`ch`,`ch2`],[`a`,`ch2`,`ch2`,`cd2`,`cd4`],[`l`,`x7`,`t`],[`a`,`ch2`,`ch2`,`3cd4`,`cd2`],[`l`,`x6`,`ch`],[`l`,`x6`,`y4`],[`a`,`ch2`,`ch2`,`0`,`cd4`],[`l`,`ch2`,`b`],[`a`,`ch2`,`ch2`,`cd4`,`cd2`],[`c`],[`m`,`x3`,`t`],[`a`,`ch2`,`ch2`,`3cd4`,`cd2`],[`a`,`ch4`,`ch4`,`cd4`,`cd2`],[`l`,`x4`,`ch2`],[`m`,`x6`,`ch`],[`l`,`x3`,`ch`],[`m`,`ch2`,`y3`],[`a`,`ch4`,`ch4`,`3cd4`,`cd2`],[`l`,`ch`,`y4`],[`m`,`ch2`,`b`],[`a`,`ch2`,`ch2`,`cd4`,`-5400000`],[`l`,`ch`,`y3`]]}]},wave:{adj:[[`adj1`,`val 12500`],[`adj2`,`val 0`]],gd:[[`a1`,`pin 0 adj1 20000`],[`a2`,`pin -10000 adj2 10000`],[`y1`,`*/ h a1 100000`],[`dy2`,`*/ y1 10 3`],[`y2`,`+- y1 0 dy2`],[`y3`,`+- y1 dy2 0`],[`y4`,`+- b 0 y1`],[`y5`,`+- y4 0 dy2`],[`y6`,`+- y4 dy2 0`],[`dx1`,`*/ w a2 100000`],[`of2`,`*/ w a2 50000`],[`x1`,`abs dx1`],[`dx2`,`?: of2 0 of2`],[`x2`,`+- l 0 dx2`],[`dx5`,`?: of2 of2 0`],[`x5`,`+- r 0 dx5`],[`dx3`,`+/ dx2 x5 3`],[`x3`,`+- x2 dx3 0`],[`x4`,`+/ x3 x5 2`],[`x6`,`+- l dx5 0`],[`x10`,`+- r dx2 0`],[`x7`,`+- x6 dx3 0`],[`x8`,`+/ x7 x10 2`],[`x9`,`+- r 0 x1`],[`xAdj`,`+- hc dx1 0`],[`xAdj2`,`+- hc 0 dx1`],[`il`,`max x2 x6`],[`ir`,`min x5 x10`],[`it`,`*/ h a1 50000`],[`ib`,`+- b 0 it`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x2`,`y1`],[`C`,`x3`,`y2`,`x4`,`y3`,`x5`,`y1`],[`l`,`x10`,`y4`],[`C`,`x8`,`y6`,`x7`,`y5`,`x6`,`y4`],[`c`]]}]},wedgeellipsecallout:{adj:[[`adj1`,`val -20833`],[`adj2`,`val 62500`]],gd:[[`dxPos`,`*/ w adj1 100000`],[`dyPos`,`*/ h adj2 100000`],[`xPos`,`+- hc dxPos 0`],[`yPos`,`+- vc dyPos 0`],[`sdx`,`*/ dxPos h 1`],[`sdy`,`*/ dyPos w 1`],[`pang`,`at2 sdx sdy`],[`stAng`,`+- pang 660000 0`],[`enAng`,`+- pang 0 660000`],[`dx1`,`cos wd2 stAng`],[`dy1`,`sin hd2 stAng`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`dx2`,`cos wd2 enAng`],[`dy2`,`sin hd2 enAng`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`],[`stAng1`,`at2 dx1 dy1`],[`enAng1`,`at2 dx2 dy2`],[`swAng1`,`+- enAng1 0 stAng1`],[`swAng2`,`+- swAng1 21600000 0`],[`swAng`,`?: swAng1 swAng1 swAng2`],[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xPos`,`yPos`],[`l`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stAng1`,`swAng`],[`c`]]}]},wedgerectcallout:{adj:[[`adj1`,`val -20833`],[`adj2`,`val 62500`]],gd:[[`dxPos`,`*/ w adj1 100000`],[`dyPos`,`*/ h adj2 100000`],[`xPos`,`+- hc dxPos 0`],[`yPos`,`+- vc dyPos 0`],[`dx`,`+- xPos 0 hc`],[`dy`,`+- yPos 0 vc`],[`dq`,`*/ dxPos h w`],[`ady`,`abs dyPos`],[`adq`,`abs dq`],[`dz`,`+- ady 0 adq`],[`xg1`,`?: dxPos 7 2`],[`xg2`,`?: dxPos 10 5`],[`x1`,`*/ w xg1 12`],[`x2`,`*/ w xg2 12`],[`yg1`,`?: dyPos 7 2`],[`yg2`,`?: dyPos 10 5`],[`y1`,`*/ h yg1 12`],[`y2`,`*/ h yg2 12`],[`t1`,`?: dxPos l xPos`],[`xl`,`?: dz l t1`],[`t2`,`?: dyPos x1 xPos`],[`xt`,`?: dz t2 x1`],[`t3`,`?: dxPos xPos r`],[`xr`,`?: dz r t3`],[`t4`,`?: dyPos xPos x1`],[`xb`,`?: dz t4 x1`],[`t5`,`?: dxPos y1 yPos`],[`yl`,`?: dz y1 t5`],[`t6`,`?: dyPos t yPos`],[`yt`,`?: dz t6 t`],[`t7`,`?: dxPos yPos y1`],[`yr`,`?: dz y1 t7`],[`t8`,`?: dyPos yPos b`],[`yb`,`?: dz t8 b`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`l`,`xt`,`yt`],[`l`,`x2`,`t`],[`l`,`r`,`t`],[`l`,`r`,`y1`],[`l`,`xr`,`yr`],[`l`,`r`,`y2`],[`l`,`r`,`b`],[`l`,`x2`,`b`],[`l`,`xb`,`yb`],[`l`,`x1`,`b`],[`l`,`l`,`b`],[`l`,`l`,`y2`],[`l`,`xl`,`yl`],[`l`,`l`,`y1`],[`c`]]}]},wedgeroundrectcallout:{adj:[[`adj1`,`val -20833`],[`adj2`,`val 62500`],[`adj3`,`val 16667`]],gd:[[`dxPos`,`*/ w adj1 100000`],[`dyPos`,`*/ h adj2 100000`],[`xPos`,`+- hc dxPos 0`],[`yPos`,`+- vc dyPos 0`],[`dq`,`*/ dxPos h w`],[`ady`,`abs dyPos`],[`adq`,`abs dq`],[`dz`,`+- ady 0 adq`],[`xg1`,`?: dxPos 7 2`],[`xg2`,`?: dxPos 10 5`],[`x1`,`*/ w xg1 12`],[`x2`,`*/ w xg2 12`],[`yg1`,`?: dyPos 7 2`],[`yg2`,`?: dyPos 10 5`],[`y1`,`*/ h yg1 12`],[`y2`,`*/ h yg2 12`],[`t1`,`?: dxPos l xPos`],[`xl`,`?: dz l t1`],[`t2`,`?: dyPos x1 xPos`],[`xt`,`?: dz t2 x1`],[`t3`,`?: dxPos xPos r`],[`xr`,`?: dz r t3`],[`t4`,`?: dyPos xPos x1`],[`xb`,`?: dz t4 x1`],[`t5`,`?: dxPos y1 yPos`],[`yl`,`?: dz y1 t5`],[`t6`,`?: dyPos t yPos`],[`yt`,`?: dz t6 t`],[`t7`,`?: dxPos yPos y1`],[`yr`,`?: dz y1 t7`],[`t8`,`?: dyPos yPos b`],[`yb`,`?: dz t8 b`],[`u1`,`*/ ss adj3 100000`],[`u2`,`+- r 0 u1`],[`v2`,`+- b 0 u1`],[`il`,`*/ u1 29289 100000`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`u1`],[`a`,`u1`,`u1`,`cd2`,`cd4`],[`l`,`x1`,`t`],[`l`,`xt`,`yt`],[`l`,`x2`,`t`],[`l`,`u2`,`t`],[`a`,`u1`,`u1`,`3cd4`,`cd4`],[`l`,`r`,`y1`],[`l`,`xr`,`yr`],[`l`,`r`,`y2`],[`l`,`r`,`v2`],[`a`,`u1`,`u1`,`0`,`cd4`],[`l`,`x2`,`b`],[`l`,`xb`,`yb`],[`l`,`x1`,`b`],[`l`,`u1`,`b`],[`a`,`u1`,`u1`,`cd4`,`cd4`],[`l`,`l`,`y2`],[`l`,`xl`,`yl`],[`l`,`l`,`y1`],[`c`]]}]}};const pi=216e5,mi=Math.PI*2/pi;function hi(e){let t=e.trim().split(/\\s+/);return{op:t[0],argTokens:t.slice(1)}}function gi(e,t,n){let{w:r,h:i,adj:a}=e,o=Math.min(r,i),s=Math.max(r,i),c=Object.create(null);Object.assign(c,{w:r,h:i,l:0,t:0,r,b:i,hc:r/2,vc:i/2,wd2:r/2,wd3:r/3,wd4:r/4,wd5:r/5,wd6:r/6,wd8:r/8,wd10:r/10,wd12:r/12,wd16:r/16,wd32:r/32,hd2:i/2,hd3:i/3,hd4:i/4,hd5:i/5,hd6:i/6,hd8:i/8,hd10:i/10,hd12:i/12,hd16:i/16,hd32:i/32,ss:o,ssd2:o/2,ssd4:o/4,ssd6:o/6,ssd8:o/8,ssd16:o/16,ssd32:o/32,ls:s,lsd2:s/2,lsd4:s/4,lsd6:s/6,lsd8:s/8,lsd16:s/16,lsd32:s/32,cd:pi,cd2:pi/2,cd4:pi/4,cd8:pi/8,\"3cd4\":3*pi/4,\"3cd8\":3*pi/8,\"5cd8\":5*pi/8,\"7cd8\":7*pi/8}),t.forEach(([e,t],n)=>{let r=a[n];c[e]=typeof r==`number`?r:u(t),e===`adj`&&(c.adj1=c.adj),e===`adj1`&&(c.adj=c.adj1)});for(let[e,t]of n)c[e]=u(t);return{v:e=>{if(e in c)return c[e];throw Error(`preset-shape: unknown name \"${e}\"`)},fmla:u,resolve:l};function l(e){if(e in c)return c[e];let t=Number(e);if(Number.isFinite(t))return t;throw Error(`preset-shape: cannot resolve \"${e}\"`)}function u(e){let t=e.argTokens.map(l);return d(e.op,t,e)}function d(e,t,n){switch(e){case`val`:return t[0];case`*/`:return t[0]*t[1]/t[2];case`+-`:return t[0]+t[1]-t[2];case`+/`:return(t[0]+t[1])/t[2];case`?:`:return t[0]>0?t[1]:t[2];case`abs`:return Math.abs(t[0]);case`min`:return Math.min(t[0],t[1]);case`max`:return Math.max(t[0],t[1]);case`pin`:return t[1]<t[0]?t[0]:t[1]>t[2]?t[2]:t[1];case`sqrt`:return Math.sqrt(Math.max(0,t[0]));case`mod`:return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);case`sin`:return t[0]*Math.sin(t[1]*mi);case`cos`:return t[0]*Math.cos(t[1]*mi);case`tan`:return t[0]*Math.tan(t[1]*mi);case`at2`:return Math.atan2(t[1],t[0])/mi;case`cat2`:return t[0]*Math.cos(Math.atan2(t[2],t[1]));case`sat2`:return t[0]*Math.sin(Math.atan2(t[2],t[1]));default:throw Error(`preset-shape: unknown operator \"${e}\" in \"${[n.op,...n.argTokens].join(` `)}\"`)}}}const _i=Math.PI*2/216e5;function vi(e,t,n,r,i,a,o){let s=t.w==null?1:a/t.w,c=t.h==null?1:o/t.h,l=e=>r+e*s,u=e=>i+e*c,d=0,f=0;for(let r of t.cmds)switch(r[0]){case`m`:{let t=l(n.resolve(r[1])),i=u(n.resolve(r[2]));e.moveTo(t,i),d=t,f=i;break}case`l`:{let t=l(n.resolve(r[1])),i=u(n.resolve(r[2]));e.lineTo(t,i),d=t,f=i;break}case`C`:{let t=l(n.resolve(r[1])),i=u(n.resolve(r[2])),a=l(n.resolve(r[3])),o=u(n.resolve(r[4])),s=l(n.resolve(r[5])),c=u(n.resolve(r[6]));e.bezierCurveTo(t,i,a,o,s,c),d=s,f=c;break}case`Q`:{let t=l(n.resolve(r[1])),i=u(n.resolve(r[2])),a=l(n.resolve(r[3])),o=u(n.resolve(r[4]));e.quadraticCurveTo(t,i,a,o),d=a,f=o;break}case`a`:{let t=n.resolve(r[1]),i=n.resolve(r[2]),a=t*s,o=i*c,l=n.resolve(r[3])*_i,u=n.resolve(r[4])*_i,p=Math.PI*2,m=e=>Math.atan2(t*Math.sin(e),i*Math.cos(e)),h=m(l),g=Math.trunc(u/p),_=u-g*p,v=m(l+_)-h;_>0&&v<0?v+=p:_<0&&v>0&&(v-=p);let y=h+v+g*p,b=d-a*Math.cos(h),x=f-o*Math.sin(h);Math.abs(a)>1e-6&&Math.abs(o)>1e-6&&(e.ellipse(b,x,Math.abs(a),Math.abs(o),0,h,y,u<0),d=b+a*Math.cos(y),f=x+o*Math.sin(y));break}case`c`:e.closePath();break}}const yi=fi,bi=new WeakMap;function xi(e){let t=bi.get(e);return t||(t={adj:e.adj.map(([e,t])=>[e,hi(t)]),gd:e.gd.map(([e,t])=>[e,hi(t)])},bi.set(e,t)),t}function Si(e,t,n,r){let i=xi(e);return gi({w:t,h:n,adj:r},i.adj,i.gd)}const Ci={wedgeroundrectcallout:`roundrect`,wedgeellipsecallout:`ellipse`,wedgerectcallout:null},wi={adj:[],gd:[],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]};function Ti(e,t,n){let r=e[n];if(typeof r==`number`)return r;let i=t.adj[n];return i&&Number(i[1].replace(/^val\\s+/,``))||0}function Ei(e,t,n,r){let i=yi[e];if(!i)return null;if(e in Ci){let a=Ti(r,i,0),o=Ti(r,i,1),s=t/2+t*a/1e5,c=n/2+n*o/1e5;if(s>=0&&s<=t&&c>=0&&c<=n){let t=Ci[e];t===`roundrect`?(i=yi.roundrect,r=[Ti(r,yi[e],2)]):t&&yi[t]?(i=yi[t],r=[]):(i=wi,r=[])}}return{def:i,adj:r}}function Di(e,t,n,r,i,a,o,s,c,l,u){let d=Ei(t.toLowerCase(),i,a,o);if(!d)return!1;let{def:f}=d;o=d.adj;let p=Si(f,i,a,o),m=!1,h=f.paths.length-1;for(let t=0;t<f.paths.length;t++){let o=f.paths[t];e.beginPath(),vi(e,o,p,n,r,i,a);let d=o.fill;if(d!==`none`&&s!=null){e.save(),e.fillStyle=s,e.fill();let t=Oi(d);t&&(e.fillStyle=t,e.fill()),e.restore(),m||=(l(),!0)}if(o.stroke&&c){let e=t===h&&(o.fill===`none`||o.fill==null);u?.skipTrailingStroke&&e||c()}}return!0}function Oi(e){switch(e){case`lighten`:return`rgba(255,255,255,0.30)`;case`lightenLess`:return`rgba(255,255,255,0.15)`;case`darken`:return`rgba(0,0,0,0.30)`;case`darkenLess`:return`rgba(0,0,0,0.15)`;default:return null}}const ki=1<<25,Ai=ki*4;var ji=class e extends RangeError{code=`ooxml-decoded-image-limit`;constructor(t,n,r){super(`OOXML decoded image limit exceeded: ${t} ${r} > ${n}`),this.metric=t,this.limit=n,this.observed=r,this.name=`OoxmlDecodedImageLimitError`,Object.setPrototypeOf(this,e.prototype)}};function Mi(e){return e instanceof ji||!!e&&typeof e==`object`&&e.code===`ooxml-decoded-image-limit`}const Ni=32767;function Pi(e,t,n,r,i){if(n<40||t+40>e.byteLength)return null;let a=e.getUint32(t,!0);if(a<40)return null;let o=e.getInt32(t+4,!0),s=e.getInt32(t+8,!0),c=e.getUint16(t+14,!0);if(e.getUint32(t+16,!0)!==0)return null;let l=s<0,u=Math.abs(o),d=Math.abs(s);if(u<=0||d<=0||u>Ni||d>Ni||u*d>33554432)return null;let f=new Uint8ClampedArray(u*d*4),p=u*c+31>>5<<2>>>0;if(r+p*d>r+i+p&&r+p*d>e.byteLength)return null;let m=null;if(c<=8){let n=e.getUint32(t+32,!0);n===0&&(n=1<<c);let r=t+a;m=[];for(let t=0;t<n;t++){let n=r+t*4;if(n+4>e.byteLength)break;let i=e.getUint8(n),a=e.getUint8(n+1),o=e.getUint8(n+2);m.push(o<<16|a<<8|i)}}let h=(e,t,n,r,i,a)=>{let o=(e*u+t)*4;f[o]=n,f[o+1]=r,f[o+2]=i,f[o+3]=a},g=!1;for(let t=0;t<d;t++){let n=l?t:d-1-t,i=t,a=r+n*p;if(a+p>e.byteLength)break;if(c===32)for(let t=0;t<u;t++){let n=a+t*4,r=e.getUint8(n),o=e.getUint8(n+1),s=e.getUint8(n+2),c=e.getUint8(n+3);c!==0&&(g=!0),h(i,t,s,o,r,c)}else if(c===24){for(let t=0;t<u;t++){let n=a+t*3;h(i,t,e.getUint8(n+2),e.getUint8(n+1),e.getUint8(n),255)}g=!0}else if(c===8&&m){for(let t=0;t<u;t++){let n=e.getUint8(a+t),r=m[n]??0;h(i,t,r>>16&255,r>>8&255,r&255,255)}g=!0}else if(c===4&&m){for(let t=0;t<u;t++){let n=e.getUint8(a+(t>>1)),r=t&1?n&15:n>>4&15,o=m[r]??0;h(i,t,o>>16&255,o>>8&255,o&255,255)}g=!0}else if(c===1&&m){for(let t=0;t<u;t++){let n=e.getUint8(a+(t>>3))>>7-(t&7)&1,r=m[n]??0;h(i,t,r>>16&255,r>>8&255,r&255,255)}g=!0}else return null}if(c===32&&!g)for(let e=3;e<f.length;e+=4)f[e]=255;return{width:u,height:d,data:f}}function Fi(e,t,n){if(n<40||t+40>e.byteLength)return null;let r=e.getUint32(t,!0);if(r<40)return null;let i=e.getUint16(t+14,!0),a=0;if(i<=8){let n=e.getUint32(t+32,!0);n===0&&(n=1<<i),a=n}else a=e.getUint32(t+32,!0);let o=r+a*4,s=t+o,c=n-o;return c<=0?null:Pi(e,t,o,s,c)}function Ii(e,t,n,r,i,a){try{let o=wt(t.width,t.height);if(!o)return!1;let s=o.getContext(`2d`);if(!s)return!1;let c=s.createImageData(t.width,t.height);c.data.set(t.data),s.putImageData(c,0,0);let l=Math.min(n,i),u=Math.min(r,a),d=Math.abs(i-n),f=Math.abs(a-r);return e.drawImage(o,l,u,d,f),!0}catch{return!1}}const Q={HEADER:1,POLYBEZIER:2,POLYGON:3,POLYLINE:4,POLYBEZIERTO:5,POLYLINETO:6,POLYPOLYLINE:7,POLYPOLYGON:8,SETWINDOWEXTEX:9,SETWINDOWORGEX:10,SETVIEWPORTEXTEX:11,SETVIEWPORTORGEX:12,EOF:14,SETMAPMODE:17,SETPOLYFILLMODE:19,SETBKMODE:18,SETTEXTALIGN:22,SETTEXTCOLOR:24,MOVETOEX:27,SCALEVIEWPORTEXTEX:31,SCALEWINDOWEXTEX:32,SAVEDC:33,RESTOREDC:34,SETWORLDTRANSFORM:35,MODIFYWORLDTRANSFORM:36,SELECTOBJECT:37,CREATEPEN:38,CREATEBRUSHINDIRECT:39,DELETEOBJECT:40,ELLIPSE:42,RECTANGLE:43,LINETO:54,BEGINPATH:59,ENDPATH:60,CLOSEFIGURE:61,SELECTCLIPPATH:67,EXTCREATEFONTINDIRECTW:82,EXTTEXTOUTW:84,POLYBEZIER16:85,POLYGON16:86,POLYLINE16:87,POLYBEZIERTO16:88,POLYLINETO16:89,POLYPOLYLINE16:90,POLYPOLYGON16:91,CREATEMONOBRUSH:93,CREATEDIBPATTERNBRUSHPT:94,EXTCREATEPEN:95,BITBLT:76,STRETCHDIBITS:81},Li={WHITE_BRUSH:2147483648,LTGRAY_BRUSH:2147483649,GRAY_BRUSH:2147483650,DKGRAY_BRUSH:2147483651,BLACK_BRUSH:2147483652,NULL_BRUSH:2147483653,WHITE_PEN:2147483654,BLACK_PEN:2147483655,NULL_PEN:2147483656,DC_BRUSH:2147483666,DC_PEN:2147483662},Ri={TEXT:1,LOMETRIC:2,HIMETRIC:3,LOENGLISH:4,HIENGLISH:5,TWIPS:6,ISOTROPIC:7,ANISOTROPIC:8},zi=()=>({m11:1,m12:0,m21:0,m22:1,dx:0,dy:0});function Bi(e,t){return{m11:e.m11*t.m11+e.m21*t.m12,m12:e.m12*t.m11+e.m22*t.m12,m21:e.m11*t.m21+e.m21*t.m22,m22:e.m12*t.m21+e.m22*t.m22,dx:e.m11*t.dx+e.m21*t.dy+e.dx,dy:e.m12*t.dx+e.m22*t.dy+e.dy}}var Vi=class{p;constructor(e,t,n){this.dv=e,this.end=n,this.p=t}get pos(){return this.p}set pos(e){this.p=e}get remaining(){return this.end-this.p}i16(){let e=this.dv.getInt16(this.p,!0);return this.p+=2,e}i32(){let e=this.dv.getInt32(this.p,!0);return this.p+=4,e}u32(){let e=this.dv.getUint32(this.p,!0);return this.p+=4,e}f32(){let e=this.dv.getFloat32(this.p,!0);return this.p+=4,e}xform(){return{m11:this.f32(),m12:this.f32(),m21:this.f32(),m22:this.f32(),dx:this.f32(),dy:this.f32()}}skip(e){this.p+=e}};function Hi(e,t,n){return e.wt.m11*t+e.wt.m21*n+e.wt.dx}function Ui(e,t,n){return e.wt.m12*t+e.wt.m22*n+e.wt.dy}function Wi(e){return e.winExtX===0?1:e.vpExtX/e.winExtX}function Gi(e){return e.winExtY===0?1:e.vpExtY/e.winExtY}function Ki(e){return Math.min(Math.abs(Wi(e)),Math.abs(Gi(e)))}function qi(e){return e.mapMode===Ri.ISOTROPIC?Wi(e)<0?-Ki(e):Ki(e):Wi(e)}function Ji(e){return e.mapMode===Ri.ISOTROPIC?Gi(e)<0?-Ki(e):Ki(e):Gi(e)}function Yi(e,t){return(t-e.winOrgX)*qi(e)+e.vpOrgX}function Xi(e,t){return(t-e.winOrgY)*Ji(e)+e.vpOrgY}function Zi(e,t,n){let r=Yi(e,Hi(e,t,n)),i=Xi(e,Ui(e,t,n));return[(r-e.left)*e.W/e.boundsW,(i-e.top)*e.H/e.boundsH]}function Qi(e){return(Math.hypot(e.wt.m11,e.wt.m12)+Math.hypot(e.wt.m21,e.wt.m22))/2}function $i(e){return(Math.abs(qi(e))+Math.abs(Ji(e)))/2}function ea(e){return(e.W/e.boundsW+e.H/e.boundsH)/2}function ta(e){return Math.hypot(e.wt.m21,e.wt.m22)}function na(e){return e.H/e.boundsH}function ra(e,t){let n=t*Qi(e)*$i(e)*ea(e);return Math.max(.75,n)}function ia(e,t){if(e.mapMode=t,t===Ri.TEXT){e.winOrgX=0,e.winOrgY=0,e.vpOrgX=0,e.vpOrgY=0,e.winExtX=1,e.winExtY=1,e.vpExtX=1,e.vpExtY=1;return}if(t===Ri.ANISOTROPIC||t===Ri.ISOTROPIC||e.devPxPerMmX<=0||e.devPxPerMmY<=0)return;let n=25.4,r=t===Ri.LOMETRIC?.1:t===Ri.HIMETRIC?.01:t===Ri.LOENGLISH?.01*n:t===Ri.HIENGLISH?.001*n:t===Ri.TWIPS?n/1440:0;r<=0||(e.winOrgX=0,e.winOrgY=0,e.vpOrgX=0,e.vpOrgY=0,e.winExtX=1,e.winExtY=1,e.vpExtX=r*e.devPxPerMmX,e.vpExtY=-(r*e.devPxPerMmY))}const aa={[Li.WHITE_BRUSH]:{kind:`brush`,fill:`#ffffff`},[Li.LTGRAY_BRUSH]:{kind:`brush`,fill:`#c0c0c0`},[Li.GRAY_BRUSH]:{kind:`brush`,fill:`#808080`},[Li.DKGRAY_BRUSH]:{kind:`brush`,fill:`#404040`},[Li.BLACK_BRUSH]:{kind:`brush`,fill:`#000000`},[Li.NULL_BRUSH]:{kind:`brush`,fill:null}},oa={[Li.WHITE_PEN]:{kind:`pen`,stroke:`#ffffff`,width:1},[Li.BLACK_PEN]:{kind:`pen`,stroke:`#000000`,width:1},[Li.NULL_PEN]:{kind:`pen`,stroke:null,width:1},[Li.DC_PEN]:{kind:`pen`,stroke:`#000000`,width:1}};function sa(e,t){let n=aa[t];if(n){e.curBrush=n;return}let r=oa[t];if(r){e.curPen=r;return}t===Li.DC_BRUSH&&(e.curBrush=e.curBrush??{kind:`brush`,fill:`#000000`})}function ca(e){let t=0,n=0,r=0,i=0;for(let a=0;a<e.data.length;a+=4)e.data[a+3]!==0&&(t+=e.data[a],n+=e.data[a+1],r+=e.data[a+2],i++);if(i===0)return`#808080`;let a=e=>Math.round(e/i).toString(16).padStart(2,`0`);return`#${a(t)}${a(n)}${a(r)}`}const la=e=>[e.i16(),e.i16()],ua=e=>[e.i32(),e.i32()];function da(e,t,n){t.skip(16);let r=t.u32();if(r<2||r>1048576||!e.curPen||e.curPen.stroke==null)return;let{ctx:i}=e;i.beginPath();let a=0,o=0;for(let s=0;s<r&&!(t.remaining<4);s++){let[r,c]=n(t),[l,u]=Zi(e,r,c);s===0?i.moveTo(l,u):i.lineTo(l,u),a=r,o=c}i.strokeStyle=e.curPen.stroke,i.lineWidth=ra(e,e.curPen.width),i.stroke(),e.drew=!0,e.curX=a,e.curY=o}function fa(e,t,n){t.skip(16);let r=t.u32();if(r<1||r>1048576)return;let{ctx:i}=e,a=e.curPen!=null&&e.curPen.stroke!=null;if(a){i.beginPath();let[t,n]=Zi(e,e.curX,e.curY);i.moveTo(t,n)}for(let o=0;o<r&&!(t.remaining<4);o++){let[r,o]=n(t);if(a){let[t,n]=Zi(e,r,o);i.lineTo(t,n)}e.curX=r,e.curY=o}a&&e.curPen&&(i.strokeStyle=e.curPen.stroke,i.lineWidth=ra(e,e.curPen.width),i.stroke(),e.drew=!0)}function pa(e,t,n){t.skip(16);let r=t.u32();if(r<2||r>1048576)return;let{ctx:i}=e;e.inPath||i.beginPath();let a=!1;for(let o=0;o<r&&!(t.remaining<4);o++){let[r,o]=n(t),[s,c]=Zi(e,r,o);a?i.lineTo(s,c):(i.moveTo(s,c),a=!0)}a&&(i.closePath(),!e.inPath&&(e.curBrush&&e.curBrush.fill!=null&&(i.fillStyle=e.curBrush.fill,i.fill(e.fillRule),e.drew=!0),e.curPen&&e.curPen.stroke!=null&&(i.strokeStyle=e.curPen.stroke,i.lineWidth=ra(e,e.curPen.width),i.stroke(),e.drew=!0)))}function ma(e,t,n,r){t.skip(16);let i=t.u32();if(i<1||i>1048576)return;let a=[];for(let e=0;e<i&&!(t.remaining<4);e++)a.push(n(t));if(a.length<(r?3:4)){a.length&&(e.curX=a[a.length-1][0],e.curY=a[a.length-1][1]);return}let o=e.curPen!=null&&e.curPen.stroke!=null,{ctx:s}=e;if(o){s.beginPath();let t=r?Zi(e,e.curX,e.curY):Zi(e,a[0][0],a[0][1]);s.moveTo(t[0],t[1])}let c=+!r;for(;c+2<a.length+ +!!r;c+=3){let t=a[c],n=a[c+1],r=a[c+2];if(!t||!n||!r)break;if(o){let i=Zi(e,t[0],t[1]),a=Zi(e,n[0],n[1]),o=Zi(e,r[0],r[1]);s.bezierCurveTo(i[0],i[1],a[0],a[1],o[0],o[1])}e.curX=r[0],e.curY=r[1]}o&&e.curPen&&(s.strokeStyle=e.curPen.stroke,s.lineWidth=ra(e,e.curPen.width),s.stroke(),e.drew=!0)}function ha(e,t,n,r){t.skip(16);let i=t.u32(),a=t.u32();if(i<=0||i>65536||a<=0||a>2097152)return;let o=[];for(let e=0;e<i;e++){if(t.remaining<4)return;o.push(t.u32())}let{ctx:s}=e;e.inPath||s.beginPath();let c=!1;for(let i of o){if(i<2){for(let e=0;e<i&&t.remaining>=4;e++)n(t);continue}for(let r=0;r<i&&!(t.remaining<4);r++){let[i,a]=n(t),[o,c]=Zi(e,i,a);r===0?s.moveTo(o,c):s.lineTo(o,c)}r&&s.closePath(),c=!0}!c||e.inPath||(r&&e.curBrush&&e.curBrush.fill!=null&&(s.fillStyle=e.curBrush.fill,s.fill(e.fillRule),e.drew=!0),e.curPen&&e.curPen.stroke!=null&&(s.strokeStyle=e.curPen.stroke,s.lineWidth=ra(e,e.curPen.width),s.stroke(),e.drew=!0))}function ga(e,t,n,r,i){let{ctx:a}=e,o=Zi(e,t,n),s=Zi(e,r,n),c=Zi(e,r,i),l=Zi(e,t,i);e.inPath||a.beginPath(),a.moveTo(o[0],o[1]),a.lineTo(s[0],s[1]),a.lineTo(c[0],c[1]),a.lineTo(l[0],l[1]),a.closePath(),!e.inPath&&(e.curBrush&&e.curBrush.fill!=null&&(a.fillStyle=e.curBrush.fill,a.fill(e.fillRule),e.drew=!0),e.curPen&&e.curPen.stroke!=null&&(a.strokeStyle=e.curPen.stroke,a.lineWidth=ra(e,e.curPen.width),a.stroke(),e.drew=!0))}function _a(e){let t=e.u32(),n=e.u32(),r=e.i32();e.i32();let i=e.u32();return[t,{kind:`pen`,stroke:(n&255)==5?null:Wa(i),width:Math.abs(r)}]}function va(e){let t=e.u32();e.skip(16);let n=e.u32(),r=e.u32();e.u32();let i=e.u32();return[t,{kind:`pen`,stroke:(n&255)==5?null:Wa(i),width:Math.abs(r)}]}function ya(e){let t=e.u32(),n=e.u32(),r=e.u32();return e.u32(),[t,{kind:`brush`,fill:n===1?null:Wa(r)}]}function ba(e,t,n){let r=e.u32();e.u32();let i=e.u32(),a=e.u32(),o=e.u32(),s=e.u32(),c=`#808080`;try{let e=Pi(t,n+i,a,n+o,s);e&&(c=ca(e))}catch{}return[r,{kind:`brush`,fill:c}]}function xa(e,t,n){let r=e.u32(),i=n+12,a=t.getInt32(i,!0),o=t.getInt32(i+8,!0),s=t.getInt32(i+16,!0),c=t.getUint8(i+20),l=``;for(let e=0;e<32;e++){let n=i+28+e*2;if(n+2>t.byteLength)break;let r=t.getUint16(n,!0);if(r===0)break;l+=String.fromCharCode(r)}return[r,{kind:`font`,height:Math.abs(a),weight:s,italic:c!==0,face:l,escapement:o}]}function Sa(e,t,n,r){t.skip(16),t.u32(),t.f32(),t.f32();let i=t.i32(),a=t.i32(),o=t.u32(),s=t.u32();if(t.u32(),o<=0||o>65536)return;let c=``;for(let e=0;e<o;e++){let t=r+s+e*2;if(t+2>n.byteLength)break;c+=String.fromCharCode(n.getUint16(t,!0))}if(c.length===0)return;let l=e.curFont,u=Math.abs(l?.height??0)*ta(e)*Math.abs(Ji(e))*na(e);if(!Number.isFinite(u)||u<1)return;let{ctx:d}=e,[f,p]=Zi(e,i,a);d.fillStyle=e.textColor;let m=l&&l.weight>=700?`bold `:``;d.font=`${l?.italic?`italic `:``}${m}${u}px ${l?.face||`sans-serif`}`;let h=e.textAlign&6;d.textAlign=h===2?`right`:h===6?`center`:`left`,d.textBaseline=(e.textAlign&24)==24?`alphabetic`:`top`;let g=l?.escapement??0;try{if(g!==0){d.save();try{d.translate(f,p),d.rotate(-g/10*(Math.PI/180)),d.fillText(c,0,0)}finally{d.restore()}}else d.fillText(c,f,p);e.drew=!0}catch{}}function Ca(e,t,n,r,i,a,o,s,c,l,u){if(i===0||o===0)return;let d=Pi(t,n+r,i,n+a,o);if(!d)return;let[f,p]=Zi(e,s,c),[m,h]=Zi(e,l,u);Ii(e.ctx,d,f,p,m,h)&&(e.drew=!0)}function wa(e,t,n,r){t.skip(16);let i=t.i32(),a=t.i32(),o=t.i32(),s=t.i32();t.u32(),t.i32(),t.i32(),t.skip(24),t.u32(),t.u32(),Ca(e,n,r,t.u32(),t.u32(),t.u32(),t.u32(),i,a,i+o,a+s)}function Ta(e,t,n,r){t.skip(16);let i=t.i32(),a=t.i32();t.i32(),t.i32(),t.i32(),t.i32();let o=t.u32(),s=t.u32(),c=t.u32(),l=t.u32();t.u32(),t.u32();let u=t.i32(),d=t.i32();Ca(e,n,r,o,s,c,l,i,a,i+u,a+d)}function Ea(e,t,n,r){if(!Ha(e)||n<=0||r<=0)return!1;let i=new DataView(e.buffer,e.byteOffset,e.byteLength),a={ctx:t,W:n,H:r,left:0,top:0,boundsW:n,boundsH:r,wt:zi(),mapMode:Ri.TEXT,winOrgX:0,winOrgY:0,winExtX:1,winExtY:1,vpOrgX:0,vpOrgY:0,vpExtX:1,vpExtY:1,devPxPerMmX:0,devPxPerMmY:0,objects:new Map,curPen:null,curBrush:null,curFont:null,textColor:`#000000`,bkMode:1,textAlign:0,fillRule:`nonzero`,curX:0,curY:0,stack:[],drew:!1,inPath:!1},o=0;for(;o+8<=e.length;){let n=i.getUint32(o,!0),r=i.getUint32(o+4,!0);if(r<8||r&3)break;let s=o+r;if(s>e.length||n===Q.EOF)break;let c=new Vi(i,o+8,s);try{switch(n){case Q.HEADER:{let e=i.getInt32(o+8,!0),t=i.getInt32(o+12,!0),n=i.getInt32(o+16,!0),r=i.getInt32(o+20,!0);if(a.left=e,a.top=t,a.boundsW=Math.max(1,n-e),a.boundsH=Math.max(1,r-t),s>=o+88){let e=i.getInt32(o+24,!0),t=i.getInt32(o+28,!0),n=i.getInt32(o+32,!0),r=i.getInt32(o+36,!0),s=i.getInt32(o+72,!0),c=i.getInt32(o+76,!0),l=i.getInt32(o+80,!0),u=i.getInt32(o+84,!0),d=n-e,f=r-t;if(d>0&&f>0&&s>0&&c>0&&l>0&&u>0){let n=s/(l*100),r=c/(u*100);a.left=e*n,a.top=t*r,a.boundsW=Math.max(1,d*n),a.boundsH=Math.max(1,f*r),a.devPxPerMmX=s/l,a.devPxPerMmY=c/u}}break}case Q.SETWORLDTRANSFORM:a.wt=c.xform();break;case Q.MODIFYWORLDTRANSFORM:{let e=c.xform(),t=c.u32();t===1?a.wt=zi():t===2?a.wt=Bi(e,a.wt):t===3?a.wt=Bi(a.wt,e):t===4&&(a.wt=e);break}case Q.SETMAPMODE:ia(a,c.u32());break;case Q.SETWINDOWORGEX:a.winOrgX=c.i32(),a.winOrgY=c.i32();break;case Q.SETWINDOWEXTEX:{let e=c.i32(),t=c.i32();e!==0&&(a.winExtX=e),t!==0&&(a.winExtY=t);break}case Q.SETVIEWPORTORGEX:a.vpOrgX=c.i32(),a.vpOrgY=c.i32();break;case Q.SETVIEWPORTEXTEX:{let e=c.i32(),t=c.i32();e!==0&&(a.vpExtX=e),t!==0&&(a.vpExtY=t);break}case Q.SCALEWINDOWEXTEX:{let e=c.i32(),t=c.i32(),n=c.i32(),r=c.i32();t!==0&&(a.winExtX=a.winExtX*e/t),r!==0&&(a.winExtY=a.winExtY*n/r);break}case Q.SCALEVIEWPORTEXTEX:{let e=c.i32(),t=c.i32(),n=c.i32(),r=c.i32();t!==0&&(a.vpExtX=a.vpExtX*e/t),r!==0&&(a.vpExtY=a.vpExtY*n/r);break}case Q.SAVEDC:a.ctx.save(),a.stack.push({wt:{...a.wt},mapMode:a.mapMode,winOrgX:a.winOrgX,winOrgY:a.winOrgY,winExtX:a.winExtX,winExtY:a.winExtY,vpOrgX:a.vpOrgX,vpOrgY:a.vpOrgY,vpExtX:a.vpExtX,vpExtY:a.vpExtY,curPen:a.curPen,curBrush:a.curBrush,curFont:a.curFont,textColor:a.textColor,bkMode:a.bkMode,textAlign:a.textAlign,fillRule:a.fillRule,curX:a.curX,curY:a.curY});break;case Q.RESTOREDC:{let e=c.i32(),t=Math.min(Math.abs(e)||1,a.stack.length),n;for(let e=0;e<t;e++)n=a.stack.pop(),a.ctx.restore();n&&(a.wt=n.wt,a.mapMode=n.mapMode,a.winOrgX=n.winOrgX,a.winOrgY=n.winOrgY,a.winExtX=n.winExtX,a.winExtY=n.winExtY,a.vpOrgX=n.vpOrgX,a.vpOrgY=n.vpOrgY,a.vpExtX=n.vpExtX,a.vpExtY=n.vpExtY,a.curPen=n.curPen,a.curBrush=n.curBrush,a.curFont=n.curFont,a.textColor=n.textColor,a.bkMode=n.bkMode,a.textAlign=n.textAlign,a.fillRule=n.fillRule,a.curX=n.curX,a.curY=n.curY);break}case Q.BEGINPATH:a.ctx.beginPath(),a.inPath=!0;break;case Q.CLOSEFIGURE:a.inPath&&a.ctx.closePath();break;case Q.ENDPATH:a.inPath=!1;break;case Q.SELECTCLIPPATH:try{a.ctx.clip(a.fillRule)}catch{}break;case Q.SELECTOBJECT:{let e=c.u32();if(e&2147483648)sa(a,e>>>0);else{let t=a.objects.get(e);t?.kind===`pen`?a.curPen=t:t?.kind===`brush`?a.curBrush=t:t?.kind===`font`&&(a.curFont=t)}break}case Q.DELETEOBJECT:{let e=c.u32(),t=a.objects.get(e);t&&(t===a.curPen&&(a.curPen=null),t===a.curBrush&&(a.curBrush=null),t===a.curFont&&(a.curFont=null),a.objects.delete(e));break}case Q.CREATEPEN:{let[e,t]=_a(c);a.objects.set(e,t);break}case Q.EXTCREATEPEN:{let[e,t]=va(c);a.objects.set(e,t);break}case Q.CREATEBRUSHINDIRECT:{let[e,t]=ya(c);a.objects.set(e,t);break}case Q.CREATEMONOBRUSH:case Q.CREATEDIBPATTERNBRUSHPT:{let[e,t]=ba(c,i,o);a.objects.set(e,t);break}case Q.EXTCREATEFONTINDIRECTW:{let[e,t]=xa(c,i,o);a.objects.set(e,t);break}case Q.POLYLINE16:da(a,c,la);break;case Q.POLYLINE:da(a,c,ua);break;case Q.POLYLINETO16:fa(a,c,la);break;case Q.POLYLINETO:fa(a,c,ua);break;case Q.POLYGON16:pa(a,c,la);break;case Q.POLYGON:pa(a,c,ua);break;case Q.POLYBEZIER16:ma(a,c,la,!1);break;case Q.POLYBEZIER:ma(a,c,ua,!1);break;case Q.POLYBEZIERTO16:ma(a,c,la,!0);break;case Q.POLYBEZIERTO:ma(a,c,ua,!0);break;case Q.POLYPOLYGON16:ha(a,c,la,!0);break;case Q.POLYPOLYGON:ha(a,c,ua,!0);break;case Q.POLYPOLYLINE16:ha(a,c,la,!1);break;case Q.POLYPOLYLINE:ha(a,c,ua,!1);break;case Q.MOVETOEX:a.curX=c.i32(),a.curY=c.i32();break;case Q.LINETO:{let e=c.i32(),n=c.i32();if(a.curPen&&a.curPen.stroke!=null){let[r,i]=Zi(a,a.curX,a.curY),[o,s]=Zi(a,e,n);t.beginPath(),t.moveTo(r,i),t.lineTo(o,s),t.strokeStyle=a.curPen.stroke,t.lineWidth=ra(a,a.curPen.width),t.stroke(),a.drew=!0}a.curX=e,a.curY=n;break}case Q.RECTANGLE:ga(a,c.i32(),c.i32(),c.i32(),c.i32());break;case Q.ELLIPSE:{let e=c.i32(),n=c.i32(),r=c.i32(),i=c.i32(),[o,s]=[(e+r)/2,(n+i)/2],[l,u]=Zi(a,o,s),[d]=Zi(a,r,s),[,f]=Zi(a,o,i),p=Math.abs(d-l),m=Math.abs(f-u);t.beginPath(),t.ellipse(l,u,p,m,0,0,Math.PI*2),a.curBrush&&a.curBrush.fill!=null&&(t.fillStyle=a.curBrush.fill,t.fill(a.fillRule),a.drew=!0),a.curPen&&a.curPen.stroke!=null&&(t.strokeStyle=a.curPen.stroke,t.lineWidth=ra(a,a.curPen.width),t.stroke(),a.drew=!0);break}case Q.SETPOLYFILLMODE:a.fillRule=c.u32()===1?`evenodd`:`nonzero`;break;case Q.SETTEXTCOLOR:a.textColor=Wa(c.u32());break;case Q.SETTEXTALIGN:a.textAlign=c.u32();break;case Q.SETBKMODE:a.bkMode=c.u32();break;case Q.EXTTEXTOUTW:Sa(a,c,i,o);break;case Q.BITBLT:wa(a,c,i,o);break;case Q.STRETCHDIBITS:Ta(a,c,i,o);break;default:break}}catch{}o=s}return a.drew}async function Da(e,t,n){if(!Ha(e)||t<=0||n<=0)return null;let r=wt(t,n);if(!r)return null;let i=r.getContext(`2d`);return!i||(i.lineJoin=`round`,i.lineCap=`round`,!Ea(e,i,t,n))?null:createImageBitmap(r)}function Oa(e,t){return e[t]<<8|e[t+1]}function ka(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function Aa(e,t){return e[t]|e[t+1]<<8}function ja(e,t){return e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24|0}function Ma(e){let t=e.length;return t>=24&&e[0]===137&&e[1]===80&&e[2]===78&&e[3]===71&&e[4]===13&&e[5]===10&&e[6]===26&&e[7]===10?e[12]===73&&e[13]===72&&e[14]===68&&e[15]===82?{width:ka(e,16),height:ka(e,20)}:null:t>=10&&e[0]===71&&e[1]===73&&e[2]===70&&e[3]===56&&(e[4]===55||e[4]===57)&&e[5]===97?{width:Aa(e,6),height:Aa(e,8)}:t>=26&&e[0]===66&&e[1]===77?Na(e,14)===12?{width:Aa(e,18),height:Aa(e,20)}:{width:Math.abs(ja(e,18)),height:Math.abs(ja(e,22))}:t>=16&&e[0]===82&&e[1]===73&&e[2]===70&&e[3]===70&&e[8]===87&&e[9]===69&&e[10]===66&&e[11]===80?Pa(e):t>=4&&e[0]===255&&e[1]===216?Fa(e):null}function Na(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function Pa(e){let t=e.length,n=e[12],r=e[13],i=e[14],a=e[15];if(n===86&&r===80&&i===56&&a===32)return t<30?null:{width:Aa(e,26)&16383,height:Aa(e,28)&16383};if(n===86&&r===80&&i===56&&a===76){if(t<25||e[20]!==47)return null;let n=Na(e,21);return{width:(n&16383)+1,height:(n>>>14&16383)+1}}return n===86&&r===80&&i===56&&a===88?t<30?null:{width:(e[24]|e[25]<<8|e[26]<<16)+1,height:(e[27]|e[28]<<8|e[29]<<16)+1}:null}function Fa(e){let t=e.length,n=2;for(;n+1<t;){if(e[n]!==255){n+=1;continue}let r=e[n+1];if(r===255){n+=1;continue}if(r===216||r===1||r>=208&&r<=215){n+=2;continue}if(r===217||n+3>=t)return null;let i=Oa(e,n+2);if(r>=192&&r<=207&&r!==196&&r!==200&&r!==204){if(n+8>=t)return null;let r=Oa(e,n+5);return{width:Oa(e,n+7),height:r}}if(i<2)return null;n+=2+i}return null}function Ia(e){let{width:t,height:n}=e;return!Number.isFinite(t)||!Number.isFinite(n)||t<=0||n<=0||t>32767||n>32767?!0:t*n>ki}function La(e){let t=e.close;typeof t==`function`&&t.call(e)}const Ra={EOF:0,SETBKMODE:258,SETTEXTALIGN:302,SETTEXTCOLOR:521,SETPOLYFILLMODE:262,SETWINDOWORG:523,SETWINDOWEXT:524,SELECTOBJECT:301,DELETEOBJECT:496,TEXTOUT:1313,POLYGON:804,POLYLINE:805,POLYPOLYGON:1336,RECTANGLE:1051,CREATEPENINDIRECT:762,CREATEFONTINDIRECT:763,CREATEBRUSHINDIRECT:764,DIBBITBLT:2368,DIBSTRETCHBLT:2881,STRETCHDIBITS:3907},za=2596720087;function Ba(e,t){if(e.length<t+18)return!1;let n=e[t]|e[t+1]<<8,r=e[t+2]|e[t+3]<<8;return(n===1||n===2)&&r===9}function Va(e){return e.length<4?!1:(e[0]|e[1]<<8|e[2]<<16|e[3]<<24)>>>0===za?!0:Ba(e,0)}function Ha(e){if(e.length<44)return!1;let t=new DataView(e.buffer,e.byteOffset,e.byteLength);return t.getUint32(0,!0)===1&&t.getUint32(40,!0)===1179469088}function Ua(e){return e===`image/wmf`||e===`image/emf`}function Wa(e){let t=e&255,n=e>>>8&255,r=e>>>16&255,i=e=>e.toString(16).padStart(2,`0`);return`#${i(t)}${i(n)}${i(r)}`}function Ga(e,t){for(let n=0;n<e.length;n++)if(e[n]==null){e[n]=t;return}e.push(t)}var Ka=class{p=0;constructor(e,t,n){this.b=e,this.end=n,this.p=t}get remaining(){return this.end-this.p}i16(){let e=this.u16();return e>=32768?e-65536:e}u16(){let e=this.b[this.p]|this.b[this.p+1]<<8;return this.p+=2,e}u8(){return this.b[this.p++]}u32(){let e=(this.b[this.p]|this.b[this.p+1]<<8|this.b[this.p+2]<<16|this.b[this.p+3]<<24)>>>0;return this.p+=4,e}bytes(e){let t=Math.min(this.p+Math.max(0,e),this.end),n=this.b.subarray(this.p,t);return this.p=t,n}skip(e){this.p=Math.min(this.p+Math.max(0,e),this.end)}};function qa(e,t){return(t-e.orgX)*(e.W/e.extX)}function Ja(e,t){return(t-e.orgY)*(e.H/e.extY)}function Ya(e,t){let n=t*Math.abs(e.W/e.extX);return n>=1?n:1}const Xa=.001;function Za(e,t,n){return Math.abs(e-t)<=Xa||Math.abs(e-n)<=Xa}function Qa(e,t,n){let r=[],i=n?t.length:t.length-1;for(let n=0;n<i;n++){let i=t[n],a=t[(n+1)%t.length],o=Math.abs(i[0]-a[0])<=Xa&&Za(i[0],0,e.W)&&Za(a[0],0,e.W),s=Math.abs(i[1]-a[1])<=Xa&&Za(i[1],0,e.H)&&Za(a[1],0,e.H);o||s||r.push([i,a])}return r}function $a(e,t,n){if(!e.curPen||e.curPen.stroke==null||t.length<2)return;let{ctx:r}=e;if(r.strokeStyle=e.curPen.stroke,r.lineWidth=Ya(e,e.curPen.width),!e.suppressBoundaryFrame){r.beginPath(),r.moveTo(t[0][0],t[0][1]);for(let e=1;e<t.length;e++)r.lineTo(t[e][0],t[e][1]);n&&r.closePath(),r.stroke(),e.drew=!0;return}let i=Qa(e,t,n);if(i.length===0)return;r.beginPath();let a=null;for(let[e,t]of i)(!a||a[0]!==e[0]||a[1]!==e[1])&&r.moveTo(e[0],e[1]),r.lineTo(t[0],t[1]),a=t;r.stroke(),e.drew=!0}function eo(e,t,n){let r=[];for(let i=0;i<n&&!(t.remaining<4);i++){let n=t.i16(),i=t.i16();r.push([qa(e,n),Ja(e,i)])}return r}function to(e,t){t.length<2||!e.curPen||e.curPen.stroke==null||$a(e,t,!1)}function no(e,t){if(t.length<2)return;let{ctx:n}=e;if(e.curBrush&&e.curBrush.fill!=null){n.beginPath(),n.moveTo(t[0][0],t[0][1]);for(let e=1;e<t.length;e++)n.lineTo(t[e][0],t[e][1]);n.closePath(),n.fillStyle=e.curBrush.fill,n.fill(e.fillRule),e.drew=!0}$a(e,t,!0)}function ro(e,t){let n=t.u16();if(n<=0||n>65536)return;let r=[];for(let e=0;e<n;e++){if(t.remaining<2)return;r.push(t.u16())}let{ctx:i}=e;i.beginPath();let a=!1;for(let n of r){if(n<2){for(let e=0;e<n&&t.remaining>=4;e++)t.i16(),t.i16();continue}let r=eo(e,t,n);if(!(r.length<2)){i.moveTo(r[0][0],r[0][1]);for(let e=1;e<r.length;e++)i.lineTo(r[e][0],r[e][1]);i.closePath(),a=!0}}a&&(e.curBrush&&e.curBrush.fill!=null&&(i.fillStyle=e.curBrush.fill,i.fill(e.fillRule),e.drew=!0),e.curPen&&e.curPen.stroke!=null&&(i.strokeStyle=e.curPen.stroke,i.lineWidth=Ya(e,e.curPen.width),i.stroke(),e.drew=!0))}function io(e){let t=e.u16(),n=e.i16();e.i16();let r=e.u32();return{kind:`pen`,stroke:(t&255)==5?null:Wa(r),width:Math.abs(n)}}function ao(e){let t=e.u16(),n=e.u32();return e.u16(),{kind:`brush`,fill:t===1?null:Wa(n)}}function oo(e){let t=e.indexOf(0),n=t>=0?e.subarray(0,t):e;if(n.length===0)return``;try{return new TextDecoder(`shift_jis`).decode(n)}catch{return String.fromCharCode(...n)}}function so(e){let t=Math.abs(e.i16());e.i16(),e.i16(),e.i16();let n=e.i16(),r=e.u8()!==0;return e.u8(),e.u8(),e.u8(),e.u8(),e.u8(),e.u8(),e.u8(),{kind:`font`,height:t,weight:n,italic:r,face:oo(e.bytes(Math.min(32,e.remaining)))}}function co(e,t,n,r){if(t.length===0)return;let i=e.curFont,a=i?.height||12,o=Math.abs(Ja(e,e.orgY+a)-Ja(e,e.orgY));if(!Number.isFinite(o)||o<1)return;let{ctx:s}=e;try{s.fillStyle=e.textColor;let a=i&&i.weight>=700?`bold `:``;s.font=`${i?.italic?`italic `:``}${a}${o}px ${i?.face||`sans-serif`}`;let c=e.textAlign&6;s.textAlign=c===2?`right`:c===6?`center`:`left`,s.textBaseline=(e.textAlign&24)==24?`alphabetic`:`top`,s.fillText(t,qa(e,n),Ja(e,r)),e.drew=!0}catch{}}function lo(e,t,n,r,i=!1){if(!Va(e))return!1;let a=0;(e.length>=4?(e[0]|e[1]<<8|e[2]<<16|e[3]<<24)>>>0:0)===za&&(a=22);let o=a+18;if(o>e.length)return!1;let s={ctx:t,W:n,H:r,orgX:0,orgY:0,extX:n||1,extY:r||1,haveExt:!1,objects:[],curPen:null,curBrush:null,curFont:null,textColor:`#000000`,textAlign:0,fillRule:`nonzero`,drew:!1,suppressBoundaryFrame:i},c=new DataView(e.buffer,e.byteOffset,e.byteLength);for(;o+6<=e.length;){let t=c.getUint32(o,!0),n=c.getUint16(o+4,!0);if(t<3)break;let r=t*2,i=o+r;if(i>e.length||n===Ra.EOF)break;let a=o+6,l=new Ka(e,a,i);switch(n){case Ra.SETWINDOWORG:s.orgY=l.i16(),s.orgX=l.i16();break;case Ra.SETWINDOWEXT:{let e=l.i16(),t=l.i16();s.extY=e||1,s.extX=t||1,s.haveExt=!0;break}case Ra.SETPOLYFILLMODE:s.fillRule=l.u16()===1?`evenodd`:`nonzero`;break;case Ra.SETTEXTCOLOR:s.textColor=Wa(l.u32());break;case Ra.SETTEXTALIGN:s.textAlign=l.u16();break;case Ra.CREATEPENINDIRECT:Ga(s.objects,io(l));break;case Ra.CREATEBRUSHINDIRECT:Ga(s.objects,ao(l));break;case Ra.CREATEFONTINDIRECT:Ga(s.objects,so(l));break;case Ra.SELECTOBJECT:{let e=l.u16(),t=s.objects[e];t?.kind===`pen`?s.curPen=t:t?.kind===`brush`?s.curBrush=t:t?.kind===`font`&&(s.curFont=t);break}case Ra.DELETEOBJECT:{let e=l.u16(),t=s.objects[e];t&&(t===s.curPen&&(s.curPen=null),t===s.curBrush&&(s.curBrush=null),t===s.curFont&&(s.curFont=null),s.objects[e]=null);break}case Ra.POLYLINE:to(s,eo(s,l,l.i16()));break;case Ra.POLYGON:no(s,eo(s,l,l.i16()));break;case Ra.POLYPOLYGON:ro(s,l);break;case Ra.RECTANGLE:{let e=l.i16(),t=l.i16(),n=l.i16(),r=l.i16();no(s,[[qa(s,r),Ja(s,n)],[qa(s,t),Ja(s,n)],[qa(s,t),Ja(s,e)],[qa(s,r),Ja(s,e)]]);break}case Ra.TEXTOUT:{let e=l.u16(),t=oo(l.bytes(e));e%2!=0&&l.skip(1);let n=l.i16();co(s,t,l.i16(),n);break}case Ra.STRETCHDIBITS:{l.u32(),l.i16(),l.i16(),l.i16(),l.i16(),l.u16();let e=l.i16(),t=l.i16(),n=l.i16(),r=l.i16(),o=a+22,u=Fi(c,o,i-o);if(u){let i=qa(s,r),a=Ja(s,n),o=qa(s,r+t),c=Ja(s,n+e);Ii(s.ctx,u,i,a,o,c)&&(s.drew=!0)}break}case Ra.DIBSTRETCHBLT:case Ra.DIBBITBLT:case Ra.SETBKMODE:break;default:break}o=i}return s.drew}function uo(e,t){let n=e>0?e:300,r=t>0?t:300,i=e=>Math.max(1,Math.min(2e3,Math.round(e)));return{w:i(n*2),h:i(r*2)}}async function fo(e,t,n,r=!1){if(!Va(e)||t<=0||n<=0)return null;let i=wt(t,n);if(!i)return null;let a=i.getContext(`2d`);return!a||(a.lineJoin=`round`,a.lineCap=`round`,!lo(e,a,t,n,r))?null:createImageBitmap(i)}async function po(e,t={}){let{widthPt:n=0,heightPt:r=0,suppressBoundaryFrame:i=!1}=t,a=new Uint8Array(await e.slice(0,64*1024).arrayBuffer());if(Va(a)){let{w:t,h:a}=uo(n,r);return mo(await fo(new Uint8Array(await e.arrayBuffer()),t,a,i))}if(Ha(a)){let{w:t,h:i}=uo(n,r);return mo(await Da(new Uint8Array(await e.arrayBuffer()),t,i))}let o=Ma(a);if(o&&Ia(o))throw new ji(`image-pixels`,ki,o.width*o.height);return mo(await createImageBitmap(e))}function mo(e){if(!e)return null;let t=Number(e.width),n=Number(e.height);if(!Ia({width:t,height:n}))return e;let r=t*n;throw La(e),new ji(`image-pixels`,ki,Number.isSafeInteger(r)&&r>=0?r:2**53-1)}const ho=new WeakMap;async function go(e,t){let n=ho.get(e);n||(n={active:0,waiters:[]},ho.set(e,n)),n.active>=2||n.waiters.length>0?await new Promise(e=>n.waiters.push(e)):n.active++;try{return await Promise.resolve(),await t()}finally{let t=n.waiters.shift();t?t():(n.active--,n.active===0&&ho.delete(e))}}const _o=new WeakMap;function vo(e){let t=_o.get(e);return t||(t={entries:new Map,retainedBytes:0},_o.set(e,t)),t}const yo=new WeakMap,bo=new WeakSet;function xo(e){!e||bo.has(e)||(bo.add(e),La(e))}function So(e){let t=yo.get(e);t||(t={count:0,deferred:[],activeBytes:0,activeBitmaps:new WeakSet},yo.set(e,t));let n=t;n.count++;let r=!1;return()=>{if(!r&&(r=!0,n.count--,!(n.count>0))){for(let e of n.deferred)e.then(e=>xo(e)).catch(()=>{});n.deferred=[],n.activeBytes=0,n.activeBitmaps=new WeakSet,yo.delete(e)}}}function Co(e){if(!e)return 0;let t=Number(e.width),n=Number(e.height);return Number.isSafeInteger(t)&&t>0&&Number.isSafeInteger(n)&&n>0?t*n*4:0}function wo(e,t){if(!t)return;let n=yo.get(e);if(!n||n.count===0||n.activeBitmaps.has(t))return;let r=n.activeBytes+Co(t);if(r>134217728)throw new ji(`active-decoded-bytes`,Ai,r);n.activeBitmaps.add(t),n.activeBytes=r}function To(e,t,n){let r=[...t.entries].find(([e])=>e!==n);if(!r)return!1;let[i,a]=r;return t.entries.delete(i),t.retainedBytes-=a.weight,Eo(e,a.ownedPromise),!0}function Eo(e,t){let n=yo.get(e);if(n&&n.count>0){n.deferred.push(t);return}t.then(e=>xo(e)).catch(()=>{})}function Do(e,t,n){let r=vo(t),i=r.entries,a=i.get(e);if(a)return i.delete(e),i.set(e,a),a.promise.then(e=>(wo(t,e),e));let o=go(t,n),s=o.then(({bitmap:e,owned:t})=>t?e:null),c=o.then(({bitmap:e,owned:n})=>{try{return wo(t,e),e}catch(t){throw n&&xo(e),t}}),l={promise:c,ownedPromise:s,weight:0};for(o.then(({bitmap:n,owned:a})=>{if(i.get(e)===l){if(l.bitmap=n,!a){i.delete(e);return}for(l.weight=Co(n),r.retainedBytes+=l.weight;r.retainedBytes>Ai&&To(t,r,e););}}).catch(()=>{}),c.catch(()=>{i.get(e)===l&&(i.delete(e),r.retainedBytes-=l.weight,Eo(t,s))}),i.set(e,l);i.size>256&&To(t,r,e););return c}const Oo=`base`;`${Oo}`;function ko(e,t,n,r){return Do(`${e}:${t}`,n,r)}function Ao(e,t,n,r){return ko(`derived:${e}`,t,n,r)}function jo(e,t,n,r={}){let{widthPt:i=0,heightPt:a=0,suppressBoundaryFrame:o=!1}=r;return ko(Oo,e,n,async()=>({bitmap:await po(await n(e,t),{widthPt:i,heightPt:a,suppressBoundaryFrame:o}),owned:!0}))}function Mo(e){let t=_o.get(e);if(t){for(let n of t.entries.values())Eo(e,n.ownedPromise);t.entries.clear(),t.retainedBytes=0,_o.delete(e)}}const No=new WeakMap;function Po(e){let t=No.get(e);return t||(t={imgs:new Map},No.set(e,t)),t}function Fo(e,t){if(typeof Image>`u`)return jo(e,`image/svg+xml`,t).then(t=>{if(!t)throw Error(`svg decode failed: ${e}`);return t});let n=Po(t),r=n.imgs.get(e);if(r)return n.imgs.delete(e),n.imgs.set(e,r),r.promise;let i={};if(i.promise=go(t,async()=>{if(n.imgs.get(e)!==i)throw Error(`SVG decode was superseded before it started`);let r=await t(e,`image/svg+xml`),a=URL.createObjectURL(r);try{let t=new Image;return await new Promise((n,r)=>{t.onload=()=>{typeof t.decode==`function`?t.decode().then(n).catch(n):n()},t.onerror=()=>r(Error(`svg load failed: ${e}`)),t.src=a}),t}finally{URL.revokeObjectURL(a)}}),i.promise.catch(()=>{n.imgs.get(e)===i&&n.imgs.delete(e)}),n.imgs.set(e,i),n.imgs.size>256){let e=n.imgs.keys().next().value;n.imgs.delete(e)}return i.promise}function Io(e){let t=No.get(e);t&&(t.imgs.clear(),No.delete(e))}function Lo(e){let t=e;return{w:t.naturalWidth||(typeof t.width==`number`?t.width:0)||0,h:t.naturalHeight||(typeof t.height==`number`?t.height:0)||0}}function Ro(e,t){if(!t||!(t.l||t.t||t.r||t.b))return null;let{w:n,h:r}=Lo(e);if(n<=0||r<=0)return null;let i=e=>Math.max(0,Math.min(1,e)),a=i(t.l)*n,o=i(t.t)*r;return{sx:a,sy:o,sw:Math.max(1,n-a-i(t.r)*n),sh:Math.max(1,r-o-i(t.b)*r)}}function zo(e,t,n,r,i,a,o){let s=Ro(t,n);s?e.drawImage(t,s.sx,s.sy,s.sw,s.sh,r,i,a,o):e.drawImage(t,r,i,a,o)}function Bo(e,t,n,r){if(!t||!Ua(e))return{widthPt:n,heightPt:r};let i=Math.max(.01,1-t.l-t.r),a=Math.max(.01,1-t.t-t.b);return{widthPt:n/i,heightPt:r/a}}function Vo(e){return/^[0-9a-fA-F]{6}$/.test(e)?[parseInt(e.slice(0,2),16),parseInt(e.slice(2,4),16),parseInt(e.slice(4,6),16)]:null}function Ho(e,t,n){return(.299*e+.587*t+.114*n)/255}function Uo(e,t,n){let r=Vo(t),i=Vo(n);if(!r||!i)return e;let[a,o,s]=r,[c,l,u]=i,d=e.data;for(let e=0;e<d.length;e+=4){if(d[e+3]===0)continue;let t=Ho(d[e],d[e+1],d[e+2]);d[e]=Math.round(a+(c-a)*t),d[e+1]=Math.round(o+(l-o)*t),d[e+2]=Math.round(s+(u-s)*t)}return e}const Wo=(e,t)=>typeof OffscreenCanvas>`u`?null:new OffscreenCanvas(e,t);async function Go(e,t,n){let{width:r,height:i}=n;if(r<=0||i<=0||typeof createImageBitmap>`u`)return e;let a=(n.offscreenFactory??Wo)(r,i);if(!a)return e;let o=a.getContext(`2d`);if(!o)return e;o.drawImage(e,0,0);let s;try{s=o.getImageData(0,0,r,i)}catch{return e}return Uo(s,t.clr1,t.clr2),o.putImageData(s,0,0),createImageBitmap(a)}function Ko(e,t){return t?`${e}|duo:${t.clr1}:${t.clr2}`:e}async function qo(e,t,n,r,i={}){let{offscreenFactory:a,...o}=i,s=await jo(e,t,r,o);return!n||!s?s:Ao(`duotone`,Ko(e,n),r,async()=>{let{w:e,h:t}=Lo(s);if(e<=0||t<=0)return{bitmap:s,owned:!1};let r=await Go(s,n,{width:e,height:t,offscreenFactory:a});return{bitmap:r,owned:r!==s}})}function Jo(e){return e.svgImagePath!=null&&e.srcRect==null}function Yo(e,t,n){let{values:r}=n;if(r.length===0||t.w<=0||t.h<=0)return;let i=n.colorSeries??`#5B9BD5`,a=Math.min(2,t.w*.08),o=Math.max(2,t.h*.2),s=t.x+a,c=t.y+o,l=Math.max(1,t.w-a*2),u=Math.max(1,t.h-o*2),d=r.filter(e=>typeof e==`number`);if(d.length===0)return;let f=Math.min(...d),p=Math.max(...d),m=n.min??f,h=n.max??p;m===h&&(h=m+1,--m);let g=h-m,_=e=>c+u-(e-m)/g*u;if(n.kind===`stem`){Qo(e,n,s,c,l,u);return}if(n.kind===`column`){Zo(e,n,r,s,c,l,u,m,h);return}if(n.displayXAxis&&m<0&&h>0){e.save(),e.strokeStyle=n.colorAxis??`#000000`,e.lineWidth=1,e.beginPath();let t=_(0);e.moveTo(s,t),e.lineTo(s+l,t),e.stroke(),e.restore()}let v=r.length,y=e=>v===1?s+l/2:s+e/(v-1)*l;e.save(),e.strokeStyle=i,e.lineCap=`round`,e.lineJoin=`round`,e.lineWidth=(n.lineWeight??.75)*Me,e.beginPath();let b=!1,x=n.displayEmptyCellsAs??`gap`;for(let t=0;t<v;t++){let n=r[t];if(n==null){if(x===`zero`){let n=y(t),r=_(0);b?e.lineTo(n,r):(e.moveTo(n,r),b=!0)}else x===`gap`&&(b=!1);continue}let i=y(t),a=_(n);b?e.lineTo(i,a):(e.moveTo(i,a),b=!0)}e.stroke(),e.restore();let S=Math.max(1,Math.min(2.5,u*.12)),C=Xo(r,n);for(let t=0;t<v;t++){let a=r[t];if(a==null)continue;let o=C[t];(n.markers||o!=null)&&(e.save(),e.fillStyle=o??n.colorMarkers??i,e.beginPath(),e.arc(y(t),_(a),S,0,Math.PI*2),e.fill(),e.restore())}}function Xo(e,t){let n=e.map(()=>null),r=e.map(e=>typeof e==`number`?e:null),i=r.findIndex(e=>e!=null),a=-1;for(let e=r.length-1;e>=0;e--)if(r[e]!=null){a=e;break}let o=r.filter(e=>e!=null),s=NaN,c=NaN;if(o.length>0&&(s=Math.max(...o),c=Math.min(...o)),t.negative&&t.colorNegative)for(let e=0;e<r.length;e++){let i=r[e];i!=null&&i<0&&(n[e]=t.colorNegative)}if(t.first&&t.colorFirst&&i>=0&&(n[i]=t.colorFirst),t.last&&t.colorLast&&a>=0&&(n[a]=t.colorLast),t.high&&t.colorHigh&&!Number.isNaN(s))for(let e=0;e<r.length;e++)r[e]===s&&(n[e]=t.colorHigh);if(t.low&&t.colorLow&&!Number.isNaN(c))for(let e=0;e<r.length;e++)r[e]===c&&(n[e]=t.colorLow);return n}function Zo(e,t,n,r,i,a,o,s,c){let l=n.length;if(l===0)return;let u=s<0&&c>0?0:s,d=c-s,f=e=>i+o-(e-s)/d*o,p=f(u),m=a/l,h=Math.min(1.5,m*.15),g=Xo(n,t);for(let i=0;i<l;i++){let a=n[i];if(a==null)continue;let o=g[i]??(a<0&&t.colorNegative?t.colorNegative:t.colorSeries??`#5B9BD5`),s=f(a),c=r+m*i+h/2,l=Math.max(1,m-h);e.save(),e.fillStyle=o,e.fillRect(c,Math.min(p,s),l,Math.abs(p-s)),e.restore()}}function Qo(e,t,n,r,i,a){let o=t.values.length;if(o===0)return;let s=r+a/2,c=a/2,l=i/o,u=Math.min(1.5,l*.15),d=Xo(t.values,t);for(let r=0;r<o;r++){let i=t.values[r];if(i==null||i===0)continue;let a=i<0,o=d[r]??(a&&t.colorNegative?t.colorNegative:t.colorSeries??`#5B9BD5`),f=n+l*r+u/2,p=Math.max(1,l-u);e.save(),e.fillStyle=o,a?e.fillRect(f,s,p,c):e.fillRect(f,s-c,p,c),e.restore()}}const $o={\"&\":`&`,\"<\":`<`,\">\":`>`,'\"':`"`},es=e=>e.replace(/[&<>\"]/g,e=>$o[e]);function ts(e,t=`roman`){if(t===`double-struck`||t===`monospace`)return t;if(t===`fraktur`)return e===`bold`||e===`boldItalic`?`bold-fraktur`:`fraktur`;if(t===`script`)return e===`bold`||e===`boldItalic`?`bold-script`:`script`;if(t===`sans-serif`)switch(e){case`roman`:return`sans-serif`;case`italic`:return`sans-serif-italic`;case`bold`:return`bold-sans-serif`;case`boldItalic`:return`sans-serif-bold-italic`}switch(e){case`roman`:return`normal`;case`bold`:return`bold`;case`boldItalic`:return`bold-italic`;case`italic`:return null}}const ns=new Set([...`⏞⏟⎴⎵︷︸⏜⏝{}[]()¯_‾`]);function rs(e,t,n){let r=ts(t,n),i=r?` mathvariant=\"${r}\"`:``,a=``,o=``,s=()=>{o&&=(a+=`<mn${i}>${es(o)}</mn>`,``)};for(let t of e){if(t===` `){s();continue}if(t>=`0`&&t<=`9`){o+=t;continue}s(),`+−±∓×÷·∗⋅∘∙*/`.includes(t)||`=≠<>≤≥≈≡∼≅≃→←↔⇒∈∉⊂⊆⊃⊇∝≪≫⊥≔`.includes(t)||`,;`.includes(t)?a+=`<mo>${es(t)}</mo>`:`([{⟨⌈⌊`.includes(t)||`)]}⟩⌉⌋`.includes(t)?a+=`<mo fence=\"true\" stretchy=\"false\">${es(t)}</mo>`:a+=`<mi${i}>${es(t)}</mi>`}return s(),a}function is(e){return e.map(os).join(``)}function as(e){return`<mrow>${is(e)}</mrow>`}function os(e){switch(e.kind){case`run`:return rs(e.text,e.style,e.__script);case`group`:return as(e.items);case`fraction`:return`<mfrac${e.bar===!1?` linethickness=\"0\"`:``}>${as(e.num)}${as(e.den)}</mfrac>`;case`sup`:return`<msup>${as(e.base)}${as(e.sup??[])}</msup>`;case`sub`:return`<msub>${as(e.base)}${as(e.sub??[])}</msub>`;case`subSup`:return`<msubsup>${as(e.base)}${as(e.sub??[])}${as(e.sup??[])}</msubsup>`;case`nary`:return hs(e);case`delimiter`:return gs(e);case`radical`:return e.index&&e.index.length?`<mroot>${as(e.radicand)}${as(e.index)}</mroot>`:`<msqrt>${is(e.radicand)}</msqrt>`;case`limit`:return fs(e);case`array`:return ps(e);case`groupChr`:{let t=as(e.base),n=ns.has(e.char),r=e.pos===`top`?`mover`:`munder`,i=`<mo stretchy=\"${n}\">${es(e.char)}</mo>`;return n?`<${r}>${t}${i}</${r}>`:`<${r} accent=\"true\">${t}${i}</${r}>`}case`bar`:{let t=as(e.base),n=`<mo stretchy=\"true\">―</mo>`;return e.pos===`bot`?`<munder>${t}${n}</munder>`:`<mover>${t}${n}</mover>`}case`accent`:return ds(e);case`func`:return`<mrow>${as(e.name)}<mo>⁡</mo>${as(e.arg)}</mrow>`;case`phant`:return ss(e);case`sPre`:return`<mmultiscripts>${as(e.base)}<mprescripts/>${as(e.sub)}${as(e.sup)}</mmultiscripts>`;case`box`:return as(e.base);case`borderBox`:return cs(e)}}function ss(e){let t=e.show?is(e.base):`<mphantom>${is(e.base)}</mphantom>`,n=[];return e.zeroWid&&n.push(`width=\"0\"`),e.zeroAsc&&n.push(`height=\"0\"`),e.zeroDesc&&n.push(`depth=\"0\"`),n.length?`<mpadded ${n.join(` `)}>${t}</mpadded>`:`<mrow>${t}</mrow>`}function cs(e){let t=[],n=!e.hideTop,r=!e.hideBot,i=!e.hideLeft,a=!e.hideRight;n&&r&&i&&a?t.push(`box`):(n&&t.push(`top`),r&&t.push(`bottom`),i&&t.push(`left`),a&&t.push(`right`)),e.strikeH&&t.push(`horizontalstrike`),e.strikeV&&t.push(`verticalstrike`),e.strikeBltr&&t.push(`updiagonalstrike`),e.strikeTlbr&&t.push(`downdiagonalstrike`);let o=is(e.base);return t.length?`<menclose notation=\"${t.join(` `)}\">${o}</menclose>`:`<mrow>${o}</mrow>`}const ls={\"̀\":\"`\",\"́\":`´`,\"̂\":`^`,\"̃\":`~`,\"̆\":`˘`,\"̇\":`˙`,\"̈\":`¨`,\"̌\":`ˇ`,\"⃗\":`→`,\"⃖\":`←`},us=new Set([`̅`,`̄`,`¯`,`‾`,`̲`,`̳`]);function ds(e){let t=as(e.base);if(us.has(e.char))return`<mover>${t}<mo stretchy=\"true\">―</mo></mover>`;let n=ls[e.char]??e.char;return`<mover accent=\"true\">${t}<mo stretchy=\"${n===`→`||n===`←`?`true`:`false`}\">${es(n)}</mo></mover>`}function fs(e){let t=as(e.base),n=e.lower&&e.lower.length?as(e.lower):null,r=e.upper&&e.upper.length?as(e.upper):null;return n&&r?`<munderover>${t}${n}${r}</munderover>`:n?`<munder>${t}${n}</munder>`:r?`<mover>${t}${r}</mover>`:t}function ps(e){let t=Math.max(1,...e.rows.map(e=>e.length)),n;n=e.align===`eq`?Array.from({length:t},(e,t)=>t%2==0?`right`:`left`).join(` `):e.align===`left`?`left`:`center`;let r=e.rows.map(e=>`<mtr>${e.map(e=>`<mtd>${is(e)}</mtd>`).join(``)}</mtr>`).join(``);return`<mtable columnalign=\"${n}\" rowspacing=\"0.2em\" columnspacing=\"0.3em\">${r}</mtable>`}const ms=new Set([...`∫∬∭∮∯∰∱∲∳⨌⨍⨎⨏⨐⨑⨒⨓⨔⨕⨖⨗`]);function hs(e){let t=e.limLoc===`subSup`?!0:e.limLoc===`undOvr`?!1:ms.has(e.op),n=`<mo largeop=\"true\">${es(e.op)}</mo>`,r=e.sub??[],i=e.sup??[],a;return a=t?r.length&&i.length?`<msubsup>${n}${as(r)}${as(i)}</msubsup>`:r.length?`<msub>${n}${as(r)}</msub>`:i.length?`<msup>${n}${as(i)}</msup>`:n:r.length&&i.length?`<munderover>${n}${as(r)}${as(i)}</munderover>`:r.length?`<munder>${n}${as(r)}</munder>`:i.length?`<mover>${n}${as(i)}</mover>`:n,`<mrow>${a}${is(e.body)}</mrow>`}function gs(e){let t=e=>`<mo fence=\"true\" stretchy=\"true\">${es(e)}</mo>`,n=e.items.map(e=>as(e)).join(`<mo separator=\"true\">,</mo>`);return`<mrow>${t(e.begChar)}${n}${t(e.endChar)}</mrow>`}function _s(e,t){return`<math xmlns=\"http://www.w3.org/1998/Math/MathML\" display=\"${t?`block`:`inline`}\">${is(e)}</math>`}function vs(e,t){return e.replace(/currentColor/g,t)}function ys(e){return typeof HTMLCanvasElement<`u`&&e instanceof HTMLCanvasElement}function bs(e=1){return typeof window<`u`&&window.devicePixelRatio||e}function xs(e,t,n){let r=Math.round(t*n)%2==1?.5:0,i=e*n;return(Math.round(i-r)+r)/n-e}const Ss=32767;function Cs(e,t){let n=Number.isFinite(e)&&e>0?Math.max(1,Math.round(e)):1,r=Number.isFinite(t)&&t>0?Math.max(1,Math.round(t)):1,i=Math.min(1,Ss/n,Ss/r),a=n*r,o=a>16777216?Math.sqrt(16777216/a):1,s=Math.min(i,o);return s>=1?{width:n,height:r,scale:1,clamped:!1}:{width:Math.max(1,Math.floor(n*s)),height:Math.max(1,Math.floor(r*s)),scale:s,clamped:!0}}function ws(e){if(!e.startsWith(`data:`))return null;let t=e.indexOf(`,`);if(t===-1)return null;let n=atob(e.slice(t+1)),r=new Uint8Array(n.length);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return r.buffer}var Ts=class{state=`uninitialized`;generationValue=0;readiness;poisonListeners=new Set;constructor(e,t,n){this.initialize=e,this.reinitialize=t,this.normalizeFailure=n}get generation(){return this.generationValue}get poisoned(){return this.state===`poisoned`}onPoison(e){return this.poisonListeners.add(e),()=>this.poisonListeners.delete(e)}async ensureReady(){if(this.state!==`ready`){if(!this.readiness){let e=this.state===`uninitialized`?this.initialize:this.reinitialize;this.readiness=Promise.resolve().then(e).then(()=>{this.generationValue+=1,this.state=`ready`,this.readiness=void 0},e=>{throw this.readiness=void 0,e})}await this.readiness}}run(e){try{return e()}catch(e){let t=this.normalizeFailure(e);throw t?(this.poison(t),t):e}}tryRunReady(e){if(this.state!==`ready`)return{current:!1};let t=this.generationValue,n=this.run(e);return this.state!==`ready`||t!==this.generationValue?{current:!1}:{current:!0,generation:t,value:n}}poison(e){this.state=`poisoned`,this.readiness=void 0;for(let t of this.poisonListeners)t(e)}assertCurrent(e){if(this.state!==`ready`||e!==this.generationValue)throw Error(`WASM archive session belongs to a discarded runtime generation`)}},Es=class e extends Error{code=`parser-crashed`;constructor(t){super(t),this.name=`WasmTrapError`,Object.setPrototypeOf(this,e.prototype)}};function Ds(e){let t=globalThis.WebAssembly?.RuntimeError;return t&&e instanceof t||e instanceof RangeError?!0:e instanceof Error?e.name===`RuntimeError`||e.name===`CompileError`||e.name===`LinkError`||e.name===`InternalError`||e.name===`OOMError`:!1}function Os(e){try{if((typeof e!=`object`||!e)&&typeof e!=`function`)return;let t=Reflect.get(e,`__destroy_into_raw`);typeof t==`function`&&Reflect.apply(t,e,[])}catch{}}function ks(e,t){return e({module_or_path:t})}var As=class{runtime;wasmInput=null;currentArchive=null;constructor(e,t={}){this.init=e,this.options=t,this.runtime=new Ts(()=>this.invokeConfigured(this.init),()=>this.invokeConfigured(this.options.reinit??this.init),js),this.runtime.onPoison(()=>this.dropPoisonedArchive())}setWasmInput(e){this.wasmInput=e,this.runtime.ensureReady().catch(()=>void 0)}setWasmUrl(e){this.setWasmInput(e)}get archive(){return this.currentArchive}setArchive(e){this.freeArchive(),this.currentArchive=e}disposeArchive(){this.freeArchive()}get poisoned(){return this.runtime.poisoned}async ensureReady(){await this.runtime.ensureReady()}run(e){return this.runtime.run(e)}poison(){this.runtime.poison(new Es(`WASM parser was recycled`))}invokeConfigured(e){return this.wasmInput===null?Promise.reject(Error(`WasmParserHost: setWasmInput was never called`)):ks(e,this.wasmInput)}freeArchive(){this.currentArchive!==null&&this.options.freeArchive&&this.options.freeArchive(this.currentArchive),this.currentArchive=null}dropPoisonedArchive(){let e=this.currentArchive;this.currentArchive=null,Os(e)}};function js(e){return Ds(e)?new Es(`WASM parser trapped and was recycled: ${e instanceof Error?e.message:String(e)}`):null}function Ms(e){return typeof e==`number`&&Number.isSafeInteger(e)&&e>0}function Ns(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e;return Ms(t.requiredBytes)&&Ms(t.offeredBytes)&&t.requiredBytes>t.offeredBytes}var Ps=class e extends RangeError{code=`ooxml-insufficient-credit`;requiredBytes;offeredBytes;constructor(t){super(`Pull unit requires ${t.requiredBytes} bytes but credit is ${t.offeredBytes}`),this.name=`PullSessionInsufficientCreditError`,this.requiredBytes=t.requiredBytes,this.offeredBytes=t.offeredBytes,Object.setPrototypeOf(this,e.prototype)}};function Fs(e){if(e instanceof Ps)return e;let t=e instanceof Error?e.message:String(e);if(!t.startsWith(`OOXML_INSUFFICIENT_CREDIT:`))return;let n;try{n=JSON.parse(t.slice(26))}catch{return}if(!n||typeof n!=`object`||Array.isArray(n))return;let r=n;if(!(r.code!==`ooxml-insufficient-credit`||!Ns(r)))return new Ps(r)}const Is=`OOXML_RESOURCE_LIMIT:`;function Ls(e){return typeof e==`number`&&Number.isSafeInteger(e)&&e>=0}function Rs(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e;return Ls(t.archiveEntryCount)&&Ls(t.declaredInflatedBytes)&&(t.largestInflatedEntryBytes===void 0||Ls(t.largestInflatedEntryBytes))&&Ls(t.distinctInflatedBytes)&&Ls(t.operationInflatedBytes)}function zs(e){let t;try{t=JSON.parse(new TextDecoder().decode(e))}catch{throw TypeError(`OOXML resource usage checkpoint is not valid JSON`)}if(!Rs(t))throw TypeError(`OOXML resource usage checkpoint is invalid`);return t}function Bs(e){return e===`docx`||e===`xlsx`||e===`pptx`}function Vs(e){return e===`container`||e===`decompression`||e===`parsing`||e===`serialization`||e===`layout`||e===`rendering`||e===`worker`}function Hs(e,t){return typeof e==`string`&&e.length>0&&e.length<=t&&!/[\\u0000-\\u001f\\u007f]/u.test(e)}function Us(e){return Hs(e,128)&&/^[a-z0-9][a-z0-9-]*$/u.test(e)}function Ws(e){return!Hs(e,4096)||e.startsWith(`/`)||e.startsWith(`\\\\`)||e.includes(`\\\\`)||e.includes(`?`)||e.includes(`#`)||e.includes(`://`)||/^[a-z]:/iu.test(e)?!1:e.split(`/`).every(e=>e!==``&&e!==`.`&&e!==`..`)}const Gs=new Map([[`archive-entry:declared-inflated-bytes`,{stage:`container`,part:`required`}],[`archive-entry:actual-inflated-bytes`,{stage:`decompression`,part:`required`}],[`archive:entry-count`,{stage:`container`,part:`forbidden`}],[`archive:central-directory-bytes`,{stage:`container`,part:`forbidden`,configurable:!1}],[`archive:distinct-inflated-bytes`,{stage:`decompression`,part:`required`}],[`xml-event:bytes`,{stage:`parsing`,part:`optional`,configurable:!1}],[`xml-context:bytes`,{stage:`parsing`,part:`optional`,configurable:!1}],[`xml-tree:depth`,{stage:`parsing`,part:`optional`,configurable:!1}],[`worksheet-row:projected-bytes`,{stage:`parsing`,part:`optional`,configurable:!1}],[`worksheet-shell:projected-bytes`,{stage:`parsing`,part:`optional`,configurable:!1}]]),Ks=new Set([...Gs.keys()].map(e=>e.slice(0,e.indexOf(`:`)))),qs=new Set([...Gs.keys()].map(e=>e.slice(e.indexOf(`:`)+1)));function Js(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e;return!Bs(t.format)||!Hs(t.operation,256)||!Us(t.resource)||!Us(t.metric)||!Ls(t.limit)||!Ls(t.observed)||typeof t.configurable!=`boolean`||!Rs(t.usage)?!1:!(`part`in t)||Ws(t.part)}function Ys(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e;if(!Vs(t.stage)||!Js(t.violation))return!1;let n=t.violation,r=Gs.get(`${n.resource}:${n.metric}`);return r?t.stage!==r.stage||r.configurable===!1&&n.configurable!==!1?!1:r.part===`required`?n.part!==void 0:r.part===`forbidden`?n.part===void 0:!0:!(Ks.has(n.resource)&&qs.has(n.metric))}function Xs(e){return{archiveEntryCount:e.archiveEntryCount,declaredInflatedBytes:e.declaredInflatedBytes,...e.largestInflatedEntryBytes===void 0?{}:{largestInflatedEntryBytes:e.largestInflatedEntryBytes},distinctInflatedBytes:e.distinctInflatedBytes,operationInflatedBytes:e.operationInflatedBytes}}function Zs(e){if(!Ys(e))return;let t=e.violation,n={stage:e.stage,violation:{format:t.format,operation:t.operation,resource:t.resource,metric:t.metric,...t.part===void 0?{}:{part:t.part},limit:t.limit,observed:t.observed,configurable:t.configurable,usage:Xs(t.usage)}};return Ys(n)?n:void 0}function Qs(e){let t=e.violation;return`OOXML resource limit exceeded${t.part?` for ${t.part}`:``}: ${t.metric} ${t.observed} > ${t.limit}`}function $s(e){let t=e instanceof Error?e.message:String(e);if(!t.startsWith(Is))return;let n;try{n=JSON.parse(t.slice(21))}catch{return}if(!n||typeof n!=`object`)return;let r=n;if(!(r.code!==`ooxml-resource-limit`||!Ys(r.details)))return new w(Qs(r.details),r.details)}function ec(e){if(e instanceof ji)return{message:e.message,errorName:e.name,code:e.code,decodedImage:{metric:e.metric,limit:e.limit,observed:e.observed}};let t=Fs(e);if(t)return{message:t.message,errorName:t.name,code:t.code,insufficientCredit:{requiredBytes:t.requiredBytes,offeredBytes:t.offeredBytes}};let n=e instanceof C||e instanceof w?e:$s(e);if(n instanceof w){let e=Zs(n.details);return e?{message:typeof n.message==`string`?n.message:Qs(e),errorName:`OoxmlResourceLimitError`,code:`ooxml-resource-limit`,resourceLimit:e}:{message:`Invalid OOXML resource-limit error payload`,errorName:`Error`}}if(n instanceof C)return{message:typeof n.message==`string`?n.message:String(n.message),errorName:Hs(n.name,128)?n.name:`OoxmlError`,...Us(n.code)?{code:n.code}:{}};let r=e instanceof Error?e.message:String(e);if(typeof r==`string`&&r.startsWith(Is))return{message:`Invalid OOXML resource-limit payload`,errorName:`Error`};let i=e instanceof Error?e:Error(r),a=i;return{message:typeof i.message==`string`?i.message:String(i.message),errorName:Hs(i.name,128)?i.name:`Error`,...typeof a.code==`string`?{code:a.code}:{}}}function tc(e){try{return ec(e)}catch{return{message:`Worker operation failed with an unreadable error`,errorName:`Error`}}}function nc(e){return e.byteOffset===0&&e.byteLength===e.buffer.byteLength&&e.buffer instanceof ArrayBuffer?e.buffer:e.slice().buffer}Object.freeze({maxArchiveEntryBytes:134217728,maxTotalInflatedBytes:268435456,maxArchiveEntries:4096});function rc(e){return[e.maxArchiveEntryBytes===null?0n:BigInt(e.maxArchiveEntryBytes),e.maxTotalInflatedBytes===null?0n:BigInt(e.maxTotalInflatedBytes),e.maxArchiveEntries===null?0n:BigInt(e.maxArchiveEntries)]}const ic=`ooxml-pull-v1`;function ac(e,t){if(!Number.isSafeInteger(e)||e<=0)throw RangeError(`${t} must be a positive safe integer`)}function oc(e){if(!(typeof e==`string`&&e.length>0||typeof e==`number`&&Number.isSafeInteger(e)&&e>0))throw RangeError(`session id must be a non-empty string or positive safe integer`)}var sc=class{owner;queue=Promise.resolve();leases=new Map;retainedBytes=0;retainedCount=0;maxRetainedBytes;maxRetainedCount;cleanups=new Set;pendingFatalCleanups=[];poisonRunning=!1;fatal;constructor(e){this.maxRetainedBytes=e?.maxRetainedBytes??64*1024*1024,this.maxRetainedCount=e?.maxRetainedCount??256,ac(this.maxRetainedBytes,`max retained lease bytes`),ac(this.maxRetainedCount,`max retained lease count`)}enqueue(e){let t=this.queue.then(e,e);return this.queue=t.then(()=>void 0,()=>void 0),t}acquire(e){return this.owner===void 0?(this.owner=e,!0):this.owner===e}release(e){this.owner===e&&(this.owner=void 0)}retainLease(e,t,n){if(!Number.isSafeInteger(n)||n<0)throw RangeError(`retained lease bytes are invalid`);let r=this.leases.get(e)??new Map;if(r.has(t))throw Error(`driver returned a duplicate lease id`);if(this.retainedCount+1>this.maxRetainedCount)throw RangeError(`retained lease count exceeds limit`);if(this.retainedBytes+n>this.maxRetainedBytes)throw RangeError(`retained lease bytes exceed limit`);r.set(t,n),this.leases.set(e,r),this.retainedCount++,this.retainedBytes+=n}releaseLease(e,t){let n=this.leases.get(e),r=n?.get(t);r!==void 0&&(n?.delete(t),n?.size===0&&this.leases.delete(e),this.retainedCount--,this.retainedBytes-=r)}registerCleanup(e){return this.fatal?(this.poisonRunning?this.pendingFatalCleanups.push(e):this.enqueue(e).catch(()=>void 0),()=>void 0):(this.cleanups.add(e),()=>this.cleanups.delete(e))}get fatalError(){return this.fatal}get registeredHostCount(){return this.cleanups.size}async poison(e){if(this.fatal??=e,this.poisonRunning)return this.fatal;this.poisonRunning=!0,this.pendingFatalCleanups.push(...this.cleanups);try{let e;for(;(e=this.pendingFatalCleanups.shift())!==void 0;)await e().catch(()=>void 0)}finally{this.poisonRunning=!1}return this.fatal}},cc=class{options;coordinator;coordinatorOwner=Symbol(`pull-session-host`);unregisterCleanup;sequence=0;unacked;leases=new Map;activeDriverLeases=new Set;nextWireLeaseId;cancelRequested=!1;cancelComplete=!1;closeRequested=!1;closeComplete=!1;driverCancelComplete=!1;driverCloseComplete=!1;completed=!1;constructor(e){oc(e.sessionId),ac(e.operationId,`operation id`),ac(e.generation,`generation`),ac(e.maxByteCredit,`max byte credit`),e.wireLeaseIdStart!==void 0&&ac(e.wireLeaseIdStart,`wire lease id start`),this.options=e,this.coordinator=e.coordinator,this.nextWireLeaseId=e.wireLeaseIdStart??1,this.unregisterCleanup=this.coordinator.registerCleanup(()=>this.forceFatalCleanup())}dispatch(e,t){return this.coordinator.enqueue(async()=>{let n=await this.execute(e);try{t(n.response,n.transfer)}catch(e){throw await this.rollbackFailedPost(n),e}})}async rollbackFailedPost(e){let t=e.response;if(t.kind===`chunk`){let n=t.leaseId===void 0?void 0:this.leases.get(t.leaseId);try{await this.options.driver.disposeInvalidChunk?.({payload:t.payload,byteLength:t.byteLength,done:t.done,leaseId:n?.driverLeaseId,retainedBytes:n?.retainedBytes,transfer:e.transfer})}catch{}}this.unacked=void 0,this.coordinator.release(this.coordinatorOwner);for(let[e,t]of[...this.leases])try{await this.options.driver.releaseLease?.(t.driverLeaseId)}catch{}finally{this.leases.delete(e),this.activeDriverLeases.delete(t.driverLeaseId),this.coordinator.releaseLease(this.coordinatorOwner,e)}if(this.cancelRequested=!0,!this.driverCancelComplete)try{await this.options.driver.cancel?.(),this.driverCancelComplete=!0}catch{}this.unregisterCleanup()}async execute(e){try{if(this.isStaleLifecycle(e)){let t=e.kind===`cancel`?`cancel`:`close`;return this.sameOperationIdentity(e)?{response:this.accepted(e,t,!0)}:{response:this.errorResponse(e,{message:`stale lifecycle targets another session or operation`,errorName:`PullSessionProtocolError`,code:`ooxml-stale-lifecycle`})}}this.validateCommandIdentity(e);let t=this.coordinator.fatalError;if(t)return e.kind===`pull`?{response:this.errorResponse(e,t)}:(e.kind===`cancel`?await this.cancel():e.kind===`close`?await this.close():e.kind===`release`&&await this.release(e.leaseId),{response:this.accepted(e,e.kind)});switch(e.kind){case`pull`:return await this.pull(e);case`ack`:return await this.ack(e.sequence),{response:this.accepted(e,`ack`)};case`release`:return await this.release(e.leaseId),{response:this.accepted(e,`release`)};case`cancel`:return await this.cancel(),{response:this.accepted(e,`cancel`)};case`close`:return await this.close(),{response:this.accepted(e,`close`)}}}catch(t){let n=tc(t);return n.code===`ooxml-resource-limit`&&(n=await this.coordinator.poison(n)),{response:this.errorResponse(e,n)}}}async pull(e){if(this.closeRequested||this.cancelRequested||this.completed)throw Error(`pull session is closed`);if(this.unacked)throw Error(`previous chunk is not acknowledged`);if(!Number.isSafeInteger(e.sequence)||e.sequence<0||e.sequence!==this.sequence)throw Error(`pull command sequence mismatch`);if(this.validateHostCredit(e.byteCredit),!this.coordinator.acquire(this.coordinatorOwner))throw Error(`another operation has an unacknowledged package chunk`);let t;try{t=await this.options.driver.pull(e.byteCredit)}catch(e){throw this.coordinator.release(this.coordinatorOwner),e}let n=!1,r=!1,i,a;try{let o=this.options.driver.measureChunk(t),s=this.arrayBufferTransferBytes(t.transfer);if(o<s)throw RangeError(`measured chunk bytes are below ArrayBuffer transfer bytes`);if(a=Math.max(o,s),t.leaseId!==void 0){if(ac(t.leaseId,`lease id`),t.retainedBytes===void 0)throw Error(`retained lease bytes are required`);if(this.activeDriverLeases.has(t.leaseId))throw r=!0,Error(`driver returned an active duplicate lease id`);i=this.allocateWireLeaseId(),this.coordinator.retainLease(this.coordinatorOwner,i,t.retainedBytes),this.leases.set(i,{driverLeaseId:t.leaseId,retainedBytes:t.retainedBytes}),this.activeDriverLeases.add(t.leaseId),n=!0}else if(t.retainedBytes!==void 0)throw Error(`retained lease bytes require a lease id`);if(!Number.isSafeInteger(a)||a<0)throw RangeError(`host chunk byte length must be a non-negative safe integer`);if(a>e.byteCredit)throw RangeError(`host chunk exceeds byte credit`)}catch(e){let a;try{await this.options.driver.disposeInvalidChunk?.(t)}catch(e){a=e}if(n&&i!==void 0)try{await this.release(i)}catch(e){a??=e}else if(t.leaseId!==void 0&&!r)try{await this.options.driver.releaseLease?.(t.leaseId)}catch(e){a??=e}if(r)try{await this.cancel()}catch(e){a??=e}throw this.coordinator.release(this.coordinatorOwner),a||e}return this.unacked={sequence:this.sequence,done:t.done},{response:{kind:`chunk`,protocol:ic,...this.identity(),requestId:e.requestId,sequence:this.sequence,byteLength:a,done:t.done,payload:t.payload,leaseId:i,usage:this.resourceUsage()},transfer:t.transfer}}async ack(e){if(!Number.isSafeInteger(e)||e<0)throw RangeError(`invalid ack sequence`);if(e<this.sequence)return;if(!this.unacked||e!==this.sequence)throw Error(`ack sequence mismatch`);let t=this.unacked.done;await this.options.driver.acknowledge?.(e),this.unacked=void 0,this.coordinator.release(this.coordinatorOwner),this.sequence++,t&&(this.completed=!0,this.maybeUnregisterCompleted())}async release(e){ac(e,`wire lease id`);let t=this.leases.get(e);t&&(await this.options.driver.releaseLease?.(t.driverLeaseId),this.leases.delete(e),this.activeDriverLeases.delete(t.driverLeaseId),this.coordinator.releaseLease(this.coordinatorOwner,e),this.maybeUnregisterCompleted())}async cancel(){if(this.cancelComplete)return;this.cancelRequested=!0,this.unacked=void 0,this.coordinator.release(this.coordinatorOwner);let e;try{await this.releaseAllLeases()}catch(t){e=t}if(!this.driverCancelComplete)try{await this.options.driver.cancel?.(),this.driverCancelComplete=!0}catch(t){e??=t}if(e)throw e;this.cancelComplete=!0,this.unregisterCleanup()}async close(){if(this.closeComplete)return;this.closeRequested=!0,this.unacked=void 0,this.coordinator.release(this.coordinatorOwner);let e;try{await this.releaseAllLeases()}catch(t){e=t}if(!this.driverCloseComplete)try{await this.options.driver.close?.(),this.driverCloseComplete=!0}catch(t){e??=t}if(e)throw e;this.closeComplete=!0,this.unregisterCleanup()}async releaseAllLeases(){let e;for(let t of[...this.leases.keys()])try{await this.release(t)}catch(t){e??=t}if(e)throw e}validateCommandIdentity(e){if(e.protocol!==`ooxml-pull-v1`||e.sessionId!==this.options.sessionId||e.operationId!==this.options.operationId||e.generation!==this.options.generation||!Number.isSafeInteger(e.requestId)||e.requestId<=0)throw Error(`stale or mismatched pull session command`)}validateHostCredit(e){if(ac(e,`byte credit`),e>this.options.maxByteCredit)throw RangeError(`byte credit exceeds host maximum`)}accepted(e,t,n=!1){return{kind:`accepted`,protocol:ic,...n?{sessionId:e.sessionId,operationId:e.operationId,generation:e.generation}:this.identity(),requestId:e.requestId,command:t,usage:this.resourceUsage()}}identity(){return{sessionId:this.options.sessionId,operationId:this.options.operationId,generation:this.options.generation}}isStaleLifecycle(e){return(e.kind===`cancel`||e.kind===`close`)&&e.protocol===`ooxml-pull-v1`&&Number.isSafeInteger(e.requestId)&&e.requestId>0&&Number.isSafeInteger(e.generation)&&e.generation>0&&e.generation<this.options.generation}sameOperationIdentity(e){return e.sessionId===this.options.sessionId&&e.operationId===this.options.operationId}errorResponse(e,t){return{kind:`error`,protocol:ic,sessionId:e.sessionId,operationId:e.operationId,generation:e.generation,requestId:e.requestId,error:t,usage:this.errorResourceUsage()}}async forceFatalCleanup(){this.cancelRequested=!0,this.unacked=void 0,this.coordinator.release(this.coordinatorOwner);let e;for(let t of[...this.leases.keys()])try{await this.release(t)}catch(t){e??=t}if(!this.driverCancelComplete)try{await this.options.driver.cancel?.(),this.driverCancelComplete=!0}catch(t){e??=t}if(e)throw e;this.unregisterCleanup()}allocateWireLeaseId(){if(!Number.isSafeInteger(this.nextWireLeaseId)||this.nextWireLeaseId<=0)throw RangeError(`wire lease id space exhausted`);return this.nextWireLeaseId++}arrayBufferTransferBytes(e){let t=0;for(let n of e??[])if(n instanceof ArrayBuffer&&(t+=n.byteLength,!Number.isSafeInteger(t)))throw RangeError(`ArrayBuffer transfer bytes overflow`);return t}maybeUnregisterCompleted(){this.completed&&this.leases.size===0&&this.unregisterCleanup()}resourceUsage(){return this.options.driver.resourceUsage?.()}errorResourceUsage(){try{return this.resourceUsage()}catch{return}}};const lc=[`L`,`R`,`AL`,`EN`,`ES`,`ET`,`AN`,`CS`,`NSM`,`BN`,`B`,`S`,`WS`,`ON`,`LRE`,`LRO`,`RLE`,`RLO`,`PDF`,`LRI`,`RLI`,`FSI`,`PDI`],uc=[0,9,10,11,12,13,14,28,31,32,33,35,38,43,44,45,46,48,58,59,65,91,97,123,127,133,134,160,161,162,166,170,171,173,174,176,178,180,181,182,185,186,187,192,215,216,247,248,697,699,706,720,722,736,741,750,751,768,880,884,886,894,895,900,902,903,904,1014,1015,1155,1162,1418,1419,1421,1423,1424,1425,1470,1471,1472,1473,1475,1476,1478,1479,1480,1536,1542,1544,1545,1547,1548,1549,1550,1552,1563,1611,1632,1642,1643,1645,1648,1649,1750,1757,1758,1759,1765,1767,1769,1770,1774,1776,1786,1809,1810,1840,1867,1958,1969,1984,2027,2036,2038,2042,2045,2046,2070,2074,2075,2084,2085,2088,2089,2094,2137,2140,2144,2192,2194,2199,2208,2250,2274,2275,2307,2362,2363,2364,2365,2369,2377,2381,2382,2385,2392,2402,2404,2433,2434,2492,2493,2497,2501,2509,2510,2530,2532,2546,2548,2555,2556,2558,2559,2561,2563,2620,2621,2625,2627,2631,2633,2635,2638,2641,2642,2672,2674,2677,2678,2689,2691,2748,2749,2753,2758,2759,2761,2765,2766,2786,2788,2801,2802,2810,2816,2817,2818,2876,2877,2879,2880,2881,2885,2893,2894,2901,2903,2914,2916,2946,2947,3008,3009,3021,3022,3059,3065,3066,3067,3072,3073,3076,3077,3132,3133,3134,3137,3142,3145,3146,3150,3157,3159,3170,3172,3192,3199,3201,3202,3260,3261,3276,3278,3298,3300,3328,3330,3387,3389,3393,3397,3405,3406,3426,3428,3457,3458,3530,3531,3538,3541,3542,3543,3633,3634,3636,3643,3647,3648,3655,3663,3761,3762,3764,3773,3784,3791,3864,3866,3893,3894,3895,3896,3897,3898,3902,3953,3967,3968,3973,3974,3976,3981,3992,3993,4029,4038,4039,4141,4145,4146,4152,4153,4155,4157,4159,4184,4186,4190,4193,4209,4213,4226,4227,4229,4231,4237,4238,4253,4254,4957,4960,5008,5018,5120,5121,5760,5761,5787,5789,5906,5909,5938,5940,5970,5972,6002,6004,6068,6070,6071,6078,6086,6087,6089,6100,6107,6108,6109,6110,6128,6138,6144,6155,6158,6159,6160,6277,6279,6313,6314,6432,6435,6439,6441,6450,6451,6457,6460,6464,6465,6468,6470,6622,6656,6679,6681,6683,6684,6742,6743,6744,6751,6752,6753,6754,6755,6757,6765,6771,6781,6783,6784,6832,6878,6880,6892,6912,6916,6964,6965,6966,6971,6972,6973,6978,6979,7019,7028,7040,7042,7074,7078,7080,7082,7083,7086,7142,7143,7144,7146,7149,7150,7151,7154,7212,7220,7222,7224,7376,7379,7380,7393,7394,7401,7405,7406,7412,7413,7416,7418,7616,7680,8125,8126,8127,8130,8141,8144,8157,8160,8173,8176,8189,8191,8192,8203,8206,8207,8208,8232,8233,8234,8235,8236,8237,8238,8239,8240,8245,8260,8261,8287,8288,8294,8295,8296,8297,8298,8304,8305,8308,8314,8316,8319,8320,8330,8332,8335,8352,8400,8433,8448,8450,8451,8455,8456,8458,8468,8469,8470,8473,8478,8484,8485,8486,8487,8488,8489,8490,8494,8495,8506,8508,8512,8517,8522,8526,8528,8544,8585,8588,8592,8722,8723,8724,9014,9083,9109,9110,9258,9280,9291,9312,9352,9372,9450,9900,9901,10240,10496,11124,11126,11264,11493,11499,11503,11506,11513,11520,11647,11648,11744,11776,11870,11904,11930,11931,12020,12032,12246,12272,12288,12289,12293,12296,12321,12330,12334,12336,12337,12342,12344,12349,12352,12441,12443,12445,12448,12449,12539,12540,12736,12774,12783,12784,12829,12831,12880,12896,12924,12927,12977,12992,13004,13008,13175,13179,13278,13280,13311,13312,19904,19968,42128,42183,42509,42512,42607,42611,42612,42622,42624,42654,42656,42736,42738,42752,42786,42888,42889,43010,43011,43014,43015,43019,43020,43045,43047,43048,43052,43053,43064,43066,43124,43128,43204,43206,43232,43250,43263,43264,43302,43310,43335,43346,43392,43395,43443,43444,43446,43450,43452,43454,43493,43494,43561,43567,43569,43571,43573,43575,43587,43588,43596,43597,43644,43645,43696,43697,43698,43701,43703,43705,43710,43712,43713,43714,43756,43758,43766,43767,43882,43884,44005,44006,44008,44009,44013,44014,64285,64286,64287,64297,64298,64336,64451,64467,64830,64848,64912,64914,64968,64976,65008,65021,65024,65040,65050,65056,65072,65104,65105,65106,65107,65108,65109,65110,65119,65120,65122,65124,65127,65128,65129,65131,65132,65136,65279,65280,65281,65283,65286,65291,65292,65293,65294,65296,65306,65307,65313,65339,65345,65371,65382,65504,65506,65509,65511,65512,65519,65520,65529,65534,65536,65793,65794,65856,65933,65936,65949,65952,65953,66045,66046,66272,66273,66300,66422,66427,67584,67871,67872,68097,68100,68101,68103,68108,68112,68152,68155,68159,68160,68325,68327,68409,68416,68864,68900,68904,68912,68922,68928,68938,68969,68974,68975,69216,69247,69291,69293,69312,69328,69337,69370,69376,69424,69446,69457,69488,69506,69510,69632,69633,69634,69688,69703,69714,69734,69744,69745,69747,69749,69759,69762,69811,69815,69817,69819,69826,69827,69888,69891,69927,69932,69933,69941,70003,70004,70016,70018,70070,70079,70089,70093,70095,70096,70191,70194,70196,70197,70198,70200,70206,70207,70209,70210,70367,70368,70371,70379,70400,70402,70459,70461,70464,70465,70502,70509,70512,70517,70587,70593,70606,70607,70608,70609,70610,70611,70625,70627,70712,70720,70722,70725,70726,70727,70750,70751,70835,70841,70842,70843,70847,70849,70850,70852,71090,71094,71100,71102,71103,71105,71132,71134,71219,71227,71229,71230,71231,71233,71264,71277,71339,71340,71341,71342,71344,71350,71351,71352,71453,71454,71455,71456,71458,71462,71463,71468,71727,71736,71737,71739,71995,71997,71998,71999,72003,72004,72148,72152,72154,72156,72160,72161,72193,72199,72201,72203,72243,72249,72251,72255,72263,72264,72273,72279,72281,72284,72330,72343,72344,72346,72544,72545,72546,72549,72550,72551,72752,72759,72760,72766,72850,72872,72874,72881,72882,72884,72885,72887,73009,73015,73018,73019,73020,73022,73023,73030,73031,73032,73104,73106,73109,73110,73111,73112,73459,73461,73472,73474,73526,73531,73536,73537,73538,73539,73562,73563,73685,73693,73697,73714,78912,78913,78919,78934,90398,90410,90413,90416,92912,92917,92976,92983,94031,94032,94095,94099,94178,94179,94180,94181,113821,113823,113824,113828,117760,117974,118e3,118010,118013,118016,118452,118458,118481,118496,118513,118528,118574,118576,118599,119143,119146,119155,119163,119171,119173,119180,119210,119214,119273,119275,119296,119362,119365,119366,119552,119639,120513,120514,120539,120540,120571,120572,120597,120598,120629,120630,120655,120656,120687,120688,120713,120714,120745,120746,120771,120772,120782,120832,121344,121399,121403,121453,121461,121462,121476,121477,121499,121504,121505,121520,122880,122887,122888,122905,122907,122914,122915,122917,122918,122923,123023,123024,123184,123191,123566,123567,123628,123632,123647,123648,124140,124144,124398,124400,124643,124644,124646,124647,124654,124656,124661,124662,124928,125136,125143,125252,125259,126064,126144,126208,126288,126464,126704,126706,126720,126976,127020,127024,127124,127136,127151,127153,127168,127169,127184,127185,127222,127232,127243,127248,127279,127280,127338,127344,127405,127406,127584,127590,127744,128729,128732,128749,128752,128765,128768,128986,128992,129004,129008,129009,129024,129036,129040,129096,129104,129114,129120,129160,129168,129198,129200,129212,129216,129218,129232,129241,129280,129624,129632,129646,129648,129661,129664,129675,129678,129735,129736,129737,129741,129757,129759,129771,129775,129785,129792,129939,129940,130032,130042,130043,131070,131072,196606,196608,262142,262144,327678,327680,393214,393216,458750,458752,524286,524288,589822,589824,655358,655360,720894,720896,786430,786432,851966,851968,917502,917760,918e3,921600,983038,983040,1048574,1048576,1114110],dc=[9,11,10,11,12,10,9,10,11,12,13,5,13,4,7,4,7,3,7,13,0,13,0,13,9,10,9,7,13,5,13,0,13,9,13,5,3,13,0,13,3,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,8,0,13,0,13,0,13,0,13,0,13,0,8,0,13,0,13,5,1,8,1,8,1,8,1,8,1,8,1,6,13,2,5,2,7,2,13,8,2,8,6,5,6,2,8,2,8,6,13,8,2,8,13,8,2,3,2,8,2,8,2,8,2,1,8,1,13,1,8,1,8,1,8,1,8,1,8,1,8,1,2,6,2,8,2,8,6,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,5,0,5,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,5,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,5,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,5,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,0,13,0,12,0,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,5,0,8,0,13,0,13,8,9,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,0,13,0,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,0,13,0,13,0,13,0,13,0,13,0,12,9,0,1,13,12,10,14,16,18,15,17,7,5,13,7,13,12,9,19,20,21,22,9,3,0,3,4,13,0,3,4,13,0,5,8,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,5,0,13,0,13,0,13,0,13,0,13,0,13,4,5,13,0,13,0,13,0,13,0,13,3,0,13,0,13,0,13,0,13,0,13,0,8,0,13,0,8,0,8,13,0,13,0,13,0,13,0,13,12,13,0,13,0,8,0,13,0,13,0,13,0,8,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,8,13,8,13,0,8,0,8,0,13,0,13,0,8,0,8,0,8,0,8,0,13,8,0,5,0,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,0,8,0,8,0,8,0,1,8,1,4,1,2,13,2,13,2,13,2,13,9,2,13,8,13,0,8,13,7,13,7,0,13,7,13,5,13,4,13,0,13,5,13,0,2,9,0,13,5,13,4,7,4,7,3,7,13,0,13,0,13,0,5,13,5,0,13,0,9,13,9,0,13,0,13,0,13,0,13,0,8,0,8,3,0,8,0,1,13,1,8,1,8,1,8,1,8,1,8,1,8,1,13,1,2,8,2,6,2,6,1,8,13,1,6,1,8,1,2,13,2,8,1,2,8,2,1,8,1,0,8,0,8,0,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,5,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,0,8,0,8,0,9,0,13,0,3,13,0,13,0,13,0,13,0,8,0,8,0,8,0,9,8,0,8,0,8,0,13,0,13,8,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,3,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,5,0,8,0,8,0,8,0,8,0,8,0,8,0,1,8,1,8,1,2,1,2,1,2,13,2,1,13,0,13,0,13,0,13,0,13,0,13,0,3,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,3,13,0,9,0,9,0,9,0,9,0,9,0,9,0,9,0,9,0,9,0,9,0,9,0,9,0,9,8,9,0,9,0,9,0,9],fc=[40,41,41,40,60,62,62,60,91,93,93,91,123,125,125,123,171,187,187,171,3898,3899,3899,3898,3900,3901,3901,3900,5787,5788,5788,5787,8249,8250,8250,8249,8261,8262,8262,8261,8317,8318,8318,8317,8333,8334,8334,8333,8712,8715,8713,8716,8714,8717,8715,8712,8716,8713,8717,8714,8725,10741,8735,11262,8736,10659,8737,10651,8738,10656,8740,10990,8764,8765,8765,8764,8771,8909,8773,8780,8780,8773,8786,8787,8787,8786,8788,8789,8789,8788,8804,8805,8805,8804,8806,8807,8807,8806,8808,8809,8809,8808,8810,8811,8811,8810,8814,8815,8815,8814,8816,8817,8817,8816,8818,8819,8819,8818,8820,8821,8821,8820,8822,8823,8823,8822,8824,8825,8825,8824,8826,8827,8827,8826,8828,8829,8829,8828,8830,8831,8831,8830,8832,8833,8833,8832,8834,8835,8835,8834,8836,8837,8837,8836,8838,8839,8839,8838,8840,8841,8841,8840,8842,8843,8843,8842,8847,8848,8848,8847,8849,8850,8850,8849,8856,10680,8866,8867,8867,8866,8870,10974,8872,10980,8873,10979,8875,10981,8880,8881,8881,8880,8882,8883,8883,8882,8884,8885,8885,8884,8886,8887,8887,8886,8888,10204,8905,8906,8906,8905,8907,8908,8908,8907,8909,8771,8912,8913,8913,8912,8918,8919,8919,8918,8920,8921,8921,8920,8922,8923,8923,8922,8924,8925,8925,8924,8926,8927,8927,8926,8928,8929,8929,8928,8930,8931,8931,8930,8932,8933,8933,8932,8934,8935,8935,8934,8936,8937,8937,8936,8938,8939,8939,8938,8940,8941,8941,8940,8944,8945,8945,8944,8946,8954,8947,8955,8948,8956,8950,8957,8951,8958,8954,8946,8955,8947,8956,8948,8957,8950,8958,8951,8968,8969,8969,8968,8970,8971,8971,8970,9001,9002,9002,9001,10088,10089,10089,10088,10090,10091,10091,10090,10092,10093,10093,10092,10094,10095,10095,10094,10096,10097,10097,10096,10098,10099,10099,10098,10100,10101,10101,10100,10179,10180,10180,10179,10181,10182,10182,10181,10184,10185,10185,10184,10187,10189,10189,10187,10197,10198,10198,10197,10204,8888,10205,10206,10206,10205,10210,10211,10211,10210,10212,10213,10213,10212,10214,10215,10215,10214,10216,10217,10217,10216,10218,10219,10219,10218,10220,10221,10221,10220,10222,10223,10223,10222,10627,10628,10628,10627,10629,10630,10630,10629,10631,10632,10632,10631,10633,10634,10634,10633,10635,10636,10636,10635,10637,10640,10638,10639,10639,10638,10640,10637,10641,10642,10642,10641,10643,10644,10644,10643,10645,10646,10646,10645,10647,10648,10648,10647,10651,8737,10656,8738,10659,8736,10660,10661,10661,10660,10664,10665,10665,10664,10666,10667,10667,10666,10668,10669,10669,10668,10670,10671,10671,10670,10680,8856,10688,10689,10689,10688,10692,10693,10693,10692,10703,10704,10704,10703,10705,10706,10706,10705,10708,10709,10709,10708,10712,10713,10713,10712,10714,10715,10715,10714,10728,10729,10729,10728,10741,8725,10744,10745,10745,10744,10748,10749,10749,10748,10795,10796,10796,10795,10797,10798,10798,10797,10804,10805,10805,10804,10812,10813,10813,10812,10852,10853,10853,10852,10873,10874,10874,10873,10875,10876,10876,10875,10877,10878,10878,10877,10879,10880,10880,10879,10881,10882,10882,10881,10883,10884,10884,10883,10885,10886,10886,10885,10887,10888,10888,10887,10889,10890,10890,10889,10891,10892,10892,10891,10893,10894,10894,10893,10895,10896,10896,10895,10897,10898,10898,10897,10899,10900,10900,10899,10901,10902,10902,10901,10903,10904,10904,10903,10905,10906,10906,10905,10907,10908,10908,10907,10909,10910,10910,10909,10911,10912,10912,10911,10913,10914,10914,10913,10918,10919,10919,10918,10920,10921,10921,10920,10922,10923,10923,10922,10924,10925,10925,10924,10927,10928,10928,10927,10929,10930,10930,10929,10931,10932,10932,10931,10933,10934,10934,10933,10935,10936,10936,10935,10937,10938,10938,10937,10939,10940,10940,10939,10941,10942,10942,10941,10943,10944,10944,10943,10945,10946,10946,10945,10947,10948,10948,10947,10949,10950,10950,10949,10951,10952,10952,10951,10953,10954,10954,10953,10955,10956,10956,10955,10957,10958,10958,10957,10959,10960,10960,10959,10961,10962,10962,10961,10963,10964,10964,10963,10965,10966,10966,10965,10974,8870,10979,8873,10980,8872,10981,8875,10988,10989,10989,10988,10990,8740,10999,11e3,11e3,10999,11001,11002,11002,11001,11262,8735,11778,11779,11779,11778,11780,11781,11781,11780,11785,11786,11786,11785,11788,11789,11789,11788,11804,11805,11805,11804,11808,11809,11809,11808,11810,11811,11811,11810,11812,11813,11813,11812,11814,11815,11815,11814,11816,11817,11817,11816,11861,11862,11862,11861,11863,11864,11864,11863,11865,11866,11866,11865,11867,11868,11868,11867,12296,12297,12297,12296,12298,12299,12299,12298,12300,12301,12301,12300,12302,12303,12303,12302,12304,12305,12305,12304,12308,12309,12309,12308,12310,12311,12311,12310,12312,12313,12313,12312,12314,12315,12315,12314,65113,65114,65114,65113,65115,65116,65116,65115,65117,65118,65118,65117,65124,65125,65125,65124,65288,65289,65289,65288,65308,65310,65310,65308,65339,65341,65341,65339,65371,65373,65373,65371,65375,65376,65376,65375,65378,65379,65379,65378],pc=[40,41,0,41,40,1,91,93,0,93,91,1,123,125,0,125,123,1,3898,3899,0,3899,3898,1,3900,3901,0,3901,3900,1,5787,5788,0,5788,5787,1,8261,8262,0,8262,8261,1,8317,8318,0,8318,8317,1,8333,8334,0,8334,8333,1,8968,8969,0,8969,8968,1,8970,8971,0,8971,8970,1,9001,9002,0,9002,9001,1,10088,10089,0,10089,10088,1,10090,10091,0,10091,10090,1,10092,10093,0,10093,10092,1,10094,10095,0,10095,10094,1,10096,10097,0,10097,10096,1,10098,10099,0,10099,10098,1,10100,10101,0,10101,10100,1,10181,10182,0,10182,10181,1,10214,10215,0,10215,10214,1,10216,10217,0,10217,10216,1,10218,10219,0,10219,10218,1,10220,10221,0,10221,10220,1,10222,10223,0,10223,10222,1,10627,10628,0,10628,10627,1,10629,10630,0,10630,10629,1,10631,10632,0,10632,10631,1,10633,10634,0,10634,10633,1,10635,10636,0,10636,10635,1,10637,10640,0,10638,10639,1,10639,10638,0,10640,10637,1,10641,10642,0,10642,10641,1,10643,10644,0,10644,10643,1,10645,10646,0,10646,10645,1,10647,10648,0,10648,10647,1,10712,10713,0,10713,10712,1,10714,10715,0,10715,10714,1,10748,10749,0,10749,10748,1,11810,11811,0,11811,11810,1,11812,11813,0,11813,11812,1,11814,11815,0,11815,11814,1,11816,11817,0,11817,11816,1,11861,11862,0,11862,11861,1,11863,11864,0,11864,11863,1,11865,11866,0,11866,11865,1,11867,11868,0,11868,11867,1,12296,12297,0,12297,12296,1,12298,12299,0,12299,12298,1,12300,12301,0,12301,12300,1,12302,12303,0,12303,12302,1,12304,12305,0,12305,12304,1,12308,12309,0,12309,12308,1,12310,12311,0,12311,12310,1,12312,12313,0,12313,12312,1,12314,12315,0,12315,12314,1,65113,65114,0,65114,65113,1,65115,65116,0,65116,65115,1,65117,65118,0,65118,65117,1,65288,65289,0,65289,65288,1,65339,65341,0,65341,65339,1,65371,65373,0,65373,65371,1,65375,65376,0,65376,65375,1,65378,65379,0,65379,65378,1];function mc(e){let t=0,n=uc.length-1;for(;t<n;){let r=t+n+1>>1;uc[r]<=e?t=r:n=r-1}return dc[t]}function hc(e){return lc[mc(e)]}const gc=(()=>{let e=new Map;for(let t=0;t<fc.length;t+=2)e.set(fc[t],fc[t+1]);return e})();function _c(e){return gc.get(e)??null}const vc=(()=>{let e=new Map;for(let t=0;t<pc.length;t+=3)e.set(pc[t],{pair:pc[t+1],type:pc[t+2]===0?`o`:`c`});return e})();function yc(e){return vc.get(e)??null}const bc=e=>e===`RLE`||e===`LRE`||e===`RLO`||e===`LRO`||e===`PDF`||e===`BN`,xc=e=>e===`LRI`||e===`RLI`||e===`FSI`,Sc=e=>e===`B`||e===`S`||e===`WS`||e===`ON`||e===`FSI`||e===`LRI`||e===`RLI`||e===`PDI`,Cc=e=>e&1?e+2:e+1,wc=e=>e&1?e+1:e+2;function Tc(e,t,n){let r=0;for(let i=t;i<n;i++){let t=e[i];if(xc(t))r++;else if(t===`PDI`)r>0&&r--;else if(r===0){if(t===`L`)return 0;if(t===`R`||t===`AL`)return 1}}return 0}function Ec(e){let t=e.length,n=new Int32Array(t).fill(t),r=new Int32Array(t).fill(-1),i=[];for(let a=0;a<t;a++){let t=e[a];if(xc(t))i.push(a);else if(t===`PDI`&&i.length){let e=i.pop();n[e]=a,r[a]=e}}return{pdiOf:n,initOf:r}}function Dc(e,t,n){let r=e.length,i=Array(r).fill(t),a=e.slice(),o=[{level:t,override:`neutral`,isolate:!1}],s=0,c=0,l=0,u=()=>o[o.length-1];for(let d=0;d<r;d++){let r=e[d];switch(r){case`RLE`:case`LRE`:case`RLO`:case`LRO`:{i[d]=u().level;let e=r===`RLE`||r===`RLO`?Cc(u().level):wc(u().level);e<=125&&s===0&&c===0?o.push({level:e,override:r===`RLO`?`R`:r===`LRO`?`L`:`neutral`,isolate:!1}):s===0&&c++;break}case`RLI`:case`LRI`:case`FSI`:{i[d]=u().level;let t=u().override;t!==`neutral`&&(a[d]=t);let f;f=r===`RLI`?`R`:r===`LRI`?`L`:Tc(e,d+1,n[d])===1?`R`:`L`;let p=f===`R`?Cc(u().level):wc(u().level);p<=125&&s===0&&c===0?(l++,o.push({level:p,override:`neutral`,isolate:!0})):s++;break}case`PDI`:if(s>0)s--;else if(l>0){for(c=0;!u().isolate;)o.pop();o.pop(),l--}{i[d]=u().level;let e=u().override;e!==`neutral`&&(a[d]=e)}break;case`PDF`:i[d]=u().level,s>0||(c>0?c--:!u().isolate&&o.length>=2&&o.pop());break;case`B`:o.length=1,s=0,c=0,l=0,i[d]=t;break;case`BN`:i[d]=u().level;break;default:{i[d]=u().level;let e=u().override;e!==`neutral`&&(a[d]=e);break}}}return{levels:i,types:a}}function Oc(e){return e===9001?12296:e===9002?12297:e}function kc(e,t,n,r,i,a){let o=e.length,s=[];for(let e=0;e<o;e++)n[e]||s.push(e);let c=[];for(let e=0;e<s.length;e++){let n=s[e];e===0||t[n]!==t[s[e-1]]?c.push([n]):c[c.length-1].push(n)}let l=new Map;for(let e of c)l.set(e[0],e);let u=e=>e&1?`R`:`L`,d=[];for(let s of c){let c=s[0];if(e[c]===`PDI`&&a[c]!==-1)continue;let f=[],p=s;for(;;){for(let e of p)f.push(e);let t=p[p.length-1];if(xc(e[t])&&i[t]!==o){let e=l.get(i[t]);if(e){p=e;continue}}break}let m=t[f[0]],h=r;for(let e=f[0]-1;e>=0;e--)if(!n[e]){h=t[e];break}let g=u(Math.max(m,h)),_=f[f.length-1],v=r;if(!(xc(e[_])&&i[_]===o)){for(let e=_+1;e<o;e++)if(!n[e]){v=t[e];break}}let y=u(Math.max(m,v));d.push({indices:f,level:m,sos:g,eos:y})}return d}const Ac=e=>e===`L`?`L`:e===`R`||e===`EN`||e===`AN`?`R`:null;function jc(e,t,n,r,i){let a=e.indices,o=a.length,{sos:s,eos:c,level:l}=e;for(let e=0;e<o;e++){let t=a[e];if(r[t]===`NSM`)if(e===0)r[t]=s;else{let n=r[a[e-1]];r[t]=n===`LRI`||n===`RLI`||n===`FSI`||n===`PDI`?`ON`:n}}{let e=s;for(let t=0;t<o;t++){let n=r[a[t]];n===`R`||n===`L`||n===`AL`?e=n:n===`EN`&&e===`AL`&&(r[a[t]]=`AN`)}}for(let e=0;e<o;e++)r[a[e]]===`AL`&&(r[a[e]]=`R`);for(let e=1;e<o-1;e++){let t=r[a[e]],n=r[a[e-1]],i=r[a[e+1]];t===`ES`&&n===`EN`&&i===`EN`||t===`CS`&&n===`EN`&&i===`EN`?r[a[e]]=`EN`:t===`CS`&&n===`AN`&&i===`AN`&&(r[a[e]]=`AN`)}for(let e=0;e<o;e++){if(r[a[e]]!==`ET`)continue;let t=e;for(;t<o&&r[a[t]]===`ET`;)t++;let n=e>0?r[a[e-1]]:s,i=t<o?r[a[t]]:c;if(n===`EN`||i===`EN`)for(let n=e;n<t;n++)r[a[n]]=`EN`;e=t-1}for(let e=0;e<o;e++){let t=r[a[e]];(t===`ES`||t===`ET`||t===`CS`)&&(r[a[e]]=`ON`)}{let e=s;for(let t=0;t<o;t++){let n=r[a[t]];n===`R`||n===`L`?e=n:n===`EN`&&e===`L`&&(r[a[t]]=`L`)}}let u=l&1?`R`:`L`,d=u===`R`?`L`:`R`,f=[];{let e=[];outer:for(let n=0;n<o;n++){let i=a[n];if(r[i]!==`ON`)continue;let o=yc(t[i]);if(o)if(o.type===`o`){if(e.length===63)break outer;e.push({expect:Oc(o.pair),pos:n})}else{let r=Oc(t[i]);for(let t=e.length-1;t>=0;t--)if(e[t].expect===r){f.push({open:e[t].pos,close:n}),e.length=t;break}}}f.sort((e,t)=>e.open-t.open)}let p=(e,t)=>{for(let i=e+1;i<o&&n[a[i]]===`NSM`;i++)r[a[i]]=t};for(let{open:e,close:t}of f){let n=!1,i=!1;for(let o=e+1;o<t;o++){let e=Ac(r[a[o]]);e===u?n=!0:e===d&&(i=!0)}let o=null;if(n)o=u;else if(i){let t=s;for(let n=e-1;n>=0;n--){let e=Ac(r[a[n]]);if(e){t=e;break}}o=t===d?d:u}o&&(r[a[e]]=o,r[a[t]]=o,p(e,o),p(t,o))}for(let e=0;e<o;e++){if(!Sc(r[a[e]]))continue;let t=e;for(;t<o&&Sc(r[a[t]]);)t++;let n=e>0?Ac(r[a[e-1]]):s,i=t<o?Ac(r[a[t]]):c;if(n&&i&&n===i)for(let i=e;i<t;i++)r[a[i]]=n;e=t-1}for(let e=0;e<o;e++)Sc(r[a[e]])&&(r[a[e]]=u);for(let e=0;e<o;e++){let t=a[e],n=r[t];l&1?(n===`L`||n===`EN`||n===`AN`)&&(i[t]+=1):n===`R`?i[t]+=1:(n===`AN`||n===`EN`)&&(i[t]+=2)}}function Mc(e,t,n){let r=e.length,i=Array(r);for(let t=0;t<r;t++)i[t]=n?.[t]??hc(e[t]);let a=t===`rtl`?1:t===`ltr`?0:Tc(i,0,r),{pdiOf:o,initOf:s}=Ec(i),{levels:c,types:l}=Dc(i,a,o),u=Array(r);for(let e=0;e<r;e++)u[e]=bc(i[e]);let d=kc(i,c,u,a,o,s),f=l.slice();for(let t of d)jc(t,e,i,f,c);let p=e=>{let t=i[e];return t===`WS`||xc(t)||t===`PDI`||u[e]};for(let e=0;e<r;e++){let t=i[e];if(t===`B`||t===`S`){c[e]=a;for(let t=e-1;t>=0&&p(t);t--)u[t]||(c[t]=a)}}for(let e=r-1;e>=0&&p(e);e--)u[e]||(c[e]=a);for(let e=0;e<r;e++)u[e]&&(c[e]=-1);return{levels:c,paragraphLevel:a}}function Nc(e,t,n){let r=[];for(let i=t;i<n;i++){let t=e[i];t>=0&&t<=126&&r.push(i)}if(r.length===0)return r;let i=0,a=127;for(let t of r){let n=e[t];n>i&&(i=n),n&1&&n<a&&(a=n)}for(let t=i;t>=a;t--){let n=0;for(;n<r.length;)if(e[r[n]]>=t){let i=n+1;for(;i<r.length&&e[r[i]]>=t;)i++;for(let e=n,t=i-1;e<t;e++,t--){let n=r[e];r[e]=r[t],r[t]=n}n=i}else n++}return r}function Pc(e){let t=[],n=[],r=[];for(let i=0;i<e.length;){let a=e.codePointAt(i),o=a>65535?2:1;t.push(a),n.push(o),r.push(i),i+=o}return{cps:t,units:n,starts:r}}var Fc=class{computeLevels(e,t,n){let{cps:r,units:i,starts:a}=Pc(e),{levels:o,paragraphLevel:s}=Mc(r,t,n?r.map((e,t)=>n[a[t]]??null):void 0),c=new Uint8Array(e.length),l=0;for(let e=0;e<o.length;e++){let t=o[e]===-1?255:o[e];for(let n=0;n<i[e];n++)c[l++]=t}return{levels:c,paragraphLevel:s}}reorderVisual(e,t,n){return Nc(e,t,n)}getMirror(e){return _c(e)}};function Ic(){return new Fc}let Lc=null;function Rc(){return Lc===null&&(Lc=Ic()),Lc}function zc(e,t){return e===!0?`rtl`:e===!1?`ltr`:Rc().computeLevels(t,`auto`).paragraphLevel===1?`rtl`:`ltr`}const Bc=/[\\u0590-\\u08FF\\uFB1D-\\uFDFF\\uFE70-\\uFEFF\\u200F\\u202B\\u202E\\u2067]|[\\u{10800}-\\u{10FFF}\\u{1E800}-\\u{1EFFF}]/u;function Vc(e){return Bc.test(e)}function Hc(e,t,n){let r=n.length,i=new Uint8Array(r);for(let a=0;a<r;a++){let r=e[n[a]];i[a]=r===255?t:r}return{order:Rc().reorderVisual(i,0,r),segLevels:i}}function Uc(e){let t=new Set;for(let n of e)t.add(n.codePointAt(0));return t}function Wc(e){return{enabled:e?.kinsoku!==!1,lineStartForbidden:Uc(e?.noLineBreaksBefore??`”’)〕]}〉》」』】〙〗〟⦆»、。,.・:;/?!‐ー゠–〜~ぁぃぅぇぉっゃゅょゎゕゖァィゥェォッャュョヮヵヶㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ゝゞヽヾ゛゜%‰℃°′″。」、・ー゙゚!),.:;?]}⦆`),lineEndForbidden:Uc(e?.noLineBreaksAfter??`“‘(〔[{〈《「『【〘〖〝⦅«$¥#£¢([{⦅`)}}const Gc=Wc();function Kc(e,t,n,r=1){if(!n.enabled||t<=0||t>=e.length)return t;let i=t=>t<e.length&&n.lineStartForbidden.has(e[t].codePointAt(0)),a=t=>t>=0&&n.lineEndForbidden.has(e[t].codePointAt(0)),o=t;for(;o>r&&(i(o)||a(o-1));)o--;return o<=r&&(i(o)||a(o-1))?t:o}function qc(e){return e>=12288&&e<=40959||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65280&&e<=65519}function Jc(e){return e===32||e===9||e===10||e===13?!1:!qc(e)}const Yc=`BK.CM.CR.GL.LF.NL.SP.WJ.ZW.ZWJ.AK.AL.AP.AS.B2.BA.BB.CB.CL.CP.EB.EM.EX.H2.H3.HL.HH.HY.ID.IN.IS.JL.JT.JV.NS.NU.OP.PO.PR.QU.RI.SY.VF.VI`.split(`.`),Xc=[0,9,10,11,13,14,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,58,60,63,64,91,92,93,94,123,124,125,126,127,133,134,160,161,162,163,166,171,172,173,174,176,177,178,180,181,187,188,191,192,712,713,716,717,735,736,768,860,867,880,894,895,1155,1162,1417,1418,1419,1423,1424,1425,1470,1471,1472,1473,1475,1476,1478,1479,1480,1488,1515,1519,1523,1536,1542,1545,1548,1550,1552,1563,1564,1565,1568,1611,1632,1642,1643,1645,1648,1649,1748,1749,1750,1757,1758,1759,1765,1767,1769,1770,1774,1776,1786,1809,1810,1840,1867,1958,1969,1984,1994,2027,2036,2040,2041,2042,2045,2046,2048,2070,2074,2075,2084,2085,2088,2089,2094,2137,2140,2192,2194,2199,2208,2250,2274,2275,2308,2362,2365,2366,2384,2385,2392,2402,2404,2406,2416,2433,2436,2492,2493,2494,2501,2503,2505,2507,2510,2519,2520,2530,2532,2534,2544,2546,2548,2553,2554,2555,2556,2558,2559,2561,2564,2620,2621,2622,2627,2631,2633,2635,2638,2641,2642,2662,2672,2674,2677,2678,2689,2692,2748,2749,2750,2758,2759,2762,2763,2766,2786,2788,2790,2800,2801,2802,2810,2816,2817,2820,2876,2877,2878,2885,2887,2889,2891,2894,2901,2904,2914,2916,2918,2928,2946,2947,3006,3011,3014,3017,3018,3022,3031,3032,3046,3056,3065,3066,3072,3077,3132,3133,3134,3141,3142,3145,3146,3150,3157,3159,3170,3172,3174,3184,3191,3192,3201,3204,3205,3260,3261,3262,3269,3270,3273,3274,3278,3285,3287,3298,3300,3302,3312,3315,3316,3328,3332,3387,3389,3390,3397,3398,3401,3402,3406,3415,3416,3426,3428,3430,3440,3449,3450,3457,3460,3530,3531,3535,3541,3542,3543,3544,3552,3558,3568,3570,3572,3633,3634,3636,3643,3647,3648,3655,3663,3664,3674,3676,3761,3762,3764,3773,3784,3791,3792,3802,3841,3845,3846,3848,3849,3851,3852,3853,3858,3859,3860,3861,3864,3866,3872,3882,3892,3893,3894,3895,3896,3897,3898,3899,3900,3901,3902,3904,3953,3967,3968,3973,3974,3976,3981,3992,3993,4029,4030,4032,4038,4039,4048,4050,4051,4052,4057,4059,4139,4159,4160,4170,4172,4182,4186,4190,4193,4194,4197,4199,4206,4209,4213,4226,4238,4239,4240,4250,4254,4352,4448,4520,4608,4957,4960,4961,4962,5120,5121,5760,5761,5787,5788,5789,5867,5870,5906,5910,5938,5941,5943,5970,5972,6002,6004,6068,6100,6102,6103,6104,6105,6106,6107,6108,6109,6110,6112,6122,6146,6148,6150,6151,6152,6154,6155,6158,6159,6160,6170,6277,6279,6313,6314,6432,6444,6448,6460,6468,6470,6480,6608,6619,6679,6684,6741,6751,6752,6781,6783,6784,6794,6800,6810,6832,6878,6880,6891,6892,6912,6917,6964,6980,6981,6989,6990,6992,7002,7004,7005,7009,7019,7028,7037,7040,7043,7073,7086,7088,7098,7104,7142,7154,7156,7204,7224,7227,7232,7242,7248,7258,7294,7296,7376,7379,7380,7401,7405,7406,7412,7413,7415,7418,7616,7629,7630,7676,7677,7680,8189,8190,8192,8199,8200,8203,8204,8205,8206,8208,8209,8210,8212,8213,8216,8218,8219,8222,8223,8224,8228,8231,8232,8234,8239,8240,8248,8249,8251,8252,8254,8260,8261,8262,8263,8266,8278,8279,8280,8284,8285,8288,8289,8294,8304,8317,8318,8319,8333,8334,8335,8352,8359,8360,8374,8375,8379,8380,8382,8383,8384,8385,8400,8433,8451,8452,8457,8458,8470,8471,8722,8724,8943,8944,8968,8969,8970,8971,8972,8986,8988,9001,9002,9003,9200,9204,9728,9732,9748,9750,9752,9753,9754,9757,9758,9760,9785,9788,9832,9833,9855,9856,9917,9929,9933,9934,9935,9938,9939,9941,9944,9946,9948,9949,9951,9954,9962,9963,9969,9974,9975,9977,9978,9979,9981,9989,9992,9994,9998,10075,10081,10082,10084,10085,10088,10089,10090,10091,10092,10093,10094,10095,10096,10097,10098,10099,10100,10101,10102,10181,10182,10183,10214,10215,10216,10217,10218,10219,10220,10221,10222,10223,10224,10240,10241,10627,10628,10629,10630,10631,10632,10633,10634,10635,10636,10637,10638,10639,10640,10641,10642,10643,10644,10645,10646,10647,10648,10649,10712,10713,10714,10715,10716,10748,10749,10750,11503,11506,11513,11514,11517,11518,11519,11520,11632,11633,11647,11648,11744,11776,11790,11798,11799,11800,11801,11802,11804,11806,11808,11810,11811,11812,11813,11814,11815,11816,11817,11818,11822,11823,11824,11826,11827,11829,11834,11836,11839,11840,11841,11842,11843,11851,11852,11853,11854,11856,11859,11861,11862,11863,11864,11865,11866,11867,11868,11869,11870,11904,11930,11931,12020,12032,12246,12272,12288,12289,12291,12293,12294,12296,12297,12298,12299,12300,12301,12302,12303,12304,12305,12306,12308,12309,12310,12311,12312,12313,12314,12315,12316,12317,12318,12320,12330,12336,12341,12342,12347,12349,12352,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12387,12388,12419,12420,12421,12422,12423,12424,12430,12431,12437,12439,12441,12443,12447,12448,12450,12451,12452,12453,12454,12455,12456,12457,12458,12483,12484,12515,12516,12517,12518,12519,12520,12526,12527,12533,12535,12539,12543,12544,12549,12592,12593,12687,12688,12774,12783,12784,12800,12831,12832,12872,12880,19904,19968,40981,40982,42125,42128,42183,42238,42240,42509,42510,42511,42512,42528,42538,42607,42611,42612,42622,42654,42656,42736,42738,42739,42744,43010,43011,43014,43015,43019,43020,43043,43048,43052,43053,43064,43065,43124,43126,43128,43136,43138,43188,43206,43214,43216,43226,43232,43250,43260,43261,43263,43264,43274,43302,43310,43312,43335,43348,43360,43389,43392,43396,43443,43456,43457,43463,43466,43470,43471,43472,43482,43486,43488,43493,43494,43504,43514,43520,43561,43575,43584,43587,43588,43596,43598,43600,43610,43612,43613,43616,43643,43646,43696,43697,43698,43701,43703,43705,43710,43712,43713,43714,43755,43760,43762,43765,43767,44003,44011,44012,44014,44016,44026,44032,44033,44060,44061,44088,44089,44116,44117,44144,44145,44172,44173,44200,44201,44228,44229,44256,44257,44284,44285,44312,44313,44340,44341,44368,44369,44396,44397,44424,44425,44452,44453,44480,44481,44508,44509,44536,44537,44564,44565,44592,44593,44620,44621,44648,44649,44676,44677,44704,44705,44732,44733,44760,44761,44788,44789,44816,44817,44844,44845,44872,44873,44900,44901,44928,44929,44956,44957,44984,44985,45012,45013,45040,45041,45068,45069,45096,45097,45124,45125,45152,45153,45180,45181,45208,45209,45236,45237,45264,45265,45292,45293,45320,45321,45348,45349,45376,45377,45404,45405,45432,45433,45460,45461,45488,45489,45516,45517,45544,45545,45572,45573,45600,45601,45628,45629,45656,45657,45684,45685,45712,45713,45740,45741,45768,45769,45796,45797,45824,45825,45852,45853,45880,45881,45908,45909,45936,45937,45964,45965,45992,45993,46020,46021,46048,46049,46076,46077,46104,46105,46132,46133,46160,46161,46188,46189,46216,46217,46244,46245,46272,46273,46300,46301,46328,46329,46356,46357,46384,46385,46412,46413,46440,46441,46468,46469,46496,46497,46524,46525,46552,46553,46580,46581,46608,46609,46636,46637,46664,46665,46692,46693,46720,46721,46748,46749,46776,46777,46804,46805,46832,46833,46860,46861,46888,46889,46916,46917,46944,46945,46972,46973,47e3,47001,47028,47029,47056,47057,47084,47085,47112,47113,47140,47141,47168,47169,47196,47197,47224,47225,47252,47253,47280,47281,47308,47309,47336,47337,47364,47365,47392,47393,47420,47421,47448,47449,47476,47477,47504,47505,47532,47533,47560,47561,47588,47589,47616,47617,47644,47645,47672,47673,47700,47701,47728,47729,47756,47757,47784,47785,47812,47813,47840,47841,47868,47869,47896,47897,47924,47925,47952,47953,47980,47981,48008,48009,48036,48037,48064,48065,48092,48093,48120,48121,48148,48149,48176,48177,48204,48205,48232,48233,48260,48261,48288,48289,48316,48317,48344,48345,48372,48373,48400,48401,48428,48429,48456,48457,48484,48485,48512,48513,48540,48541,48568,48569,48596,48597,48624,48625,48652,48653,48680,48681,48708,48709,48736,48737,48764,48765,48792,48793,48820,48821,48848,48849,48876,48877,48904,48905,48932,48933,48960,48961,48988,48989,49016,49017,49044,49045,49072,49073,49100,49101,49128,49129,49156,49157,49184,49185,49212,49213,49240,49241,49268,49269,49296,49297,49324,49325,49352,49353,49380,49381,49408,49409,49436,49437,49464,49465,49492,49493,49520,49521,49548,49549,49576,49577,49604,49605,49632,49633,49660,49661,49688,49689,49716,49717,49744,49745,49772,49773,49800,49801,49828,49829,49856,49857,49884,49885,49912,49913,49940,49941,49968,49969,49996,49997,50024,50025,50052,50053,50080,50081,50108,50109,50136,50137,50164,50165,50192,50193,50220,50221,50248,50249,50276,50277,50304,50305,50332,50333,50360,50361,50388,50389,50416,50417,50444,50445,50472,50473,50500,50501,50528,50529,50556,50557,50584,50585,50612,50613,50640,50641,50668,50669,50696,50697,50724,50725,50752,50753,50780,50781,50808,50809,50836,50837,50864,50865,50892,50893,50920,50921,50948,50949,50976,50977,51004,51005,51032,51033,51060,51061,51088,51089,51116,51117,51144,51145,51172,51173,51200,51201,51228,51229,51256,51257,51284,51285,51312,51313,51340,51341,51368,51369,51396,51397,51424,51425,51452,51453,51480,51481,51508,51509,51536,51537,51564,51565,51592,51593,51620,51621,51648,51649,51676,51677,51704,51705,51732,51733,51760,51761,51788,51789,51816,51817,51844,51845,51872,51873,51900,51901,51928,51929,51956,51957,51984,51985,52012,52013,52040,52041,52068,52069,52096,52097,52124,52125,52152,52153,52180,52181,52208,52209,52236,52237,52264,52265,52292,52293,52320,52321,52348,52349,52376,52377,52404,52405,52432,52433,52460,52461,52488,52489,52516,52517,52544,52545,52572,52573,52600,52601,52628,52629,52656,52657,52684,52685,52712,52713,52740,52741,52768,52769,52796,52797,52824,52825,52852,52853,52880,52881,52908,52909,52936,52937,52964,52965,52992,52993,53020,53021,53048,53049,53076,53077,53104,53105,53132,53133,53160,53161,53188,53189,53216,53217,53244,53245,53272,53273,53300,53301,53328,53329,53356,53357,53384,53385,53412,53413,53440,53441,53468,53469,53496,53497,53524,53525,53552,53553,53580,53581,53608,53609,53636,53637,53664,53665,53692,53693,53720,53721,53748,53749,53776,53777,53804,53805,53832,53833,53860,53861,53888,53889,53916,53917,53944,53945,53972,53973,54e3,54001,54028,54029,54056,54057,54084,54085,54112,54113,54140,54141,54168,54169,54196,54197,54224,54225,54252,54253,54280,54281,54308,54309,54336,54337,54364,54365,54392,54393,54420,54421,54448,54449,54476,54477,54504,54505,54532,54533,54560,54561,54588,54589,54616,54617,54644,54645,54672,54673,54700,54701,54728,54729,54756,54757,54784,54785,54812,54813,54840,54841,54868,54869,54896,54897,54924,54925,54952,54953,54980,54981,55008,55009,55036,55037,55064,55065,55092,55093,55120,55121,55148,55149,55176,55177,55204,55216,55239,55243,55292,63744,64256,64285,64286,64287,64297,64298,64311,64312,64317,64318,64319,64320,64322,64323,64325,64326,64336,64830,64831,64832,65020,65021,65024,65040,65043,65045,65047,65048,65049,65050,65056,65057,65058,65059,65060,65061,65062,65064,65065,65066,65067,65068,65069,65071,65072,65077,65078,65079,65080,65081,65082,65083,65084,65085,65086,65087,65088,65089,65090,65091,65092,65093,65095,65096,65097,65104,65105,65106,65107,65108,65110,65112,65113,65114,65115,65116,65117,65118,65119,65127,65128,65129,65130,65131,65132,65279,65280,65281,65282,65284,65285,65286,65288,65289,65290,65292,65293,65294,65295,65306,65308,65311,65312,65339,65340,65341,65342,65371,65372,65373,65374,65375,65376,65378,65379,65381,65382,65383,65393,65438,65440,65471,65474,65480,65482,65488,65490,65496,65498,65501,65504,65505,65506,65509,65511,65529,65532,65533,65792,65795,66045,66046,66272,66273,66422,66427,66463,66464,66512,66513,66720,66730,67671,67672,67871,67872,68097,68100,68101,68103,68108,68112,68152,68155,68159,68160,68176,68184,68325,68327,68336,68342,68343,68409,68416,68900,68904,68912,68922,68928,68938,68969,68974,68975,69291,69293,69294,69328,69329,69370,69376,69446,69457,69506,69510,69632,69635,69637,69688,69702,69703,69705,69710,69714,69734,69744,69745,69747,69749,69750,69759,69760,69763,69808,69819,69821,69822,69826,69827,69837,69838,69872,69882,69888,69891,69927,69941,69942,69952,69956,69957,69959,70003,70004,70005,70006,70016,70019,70067,70081,70085,70087,70088,70089,70093,70094,70096,70106,70107,70108,70109,70112,70188,70200,70202,70203,70205,70206,70207,70209,70210,70313,70314,70367,70379,70384,70394,70400,70404,70405,70413,70415,70417,70419,70441,70442,70449,70450,70452,70453,70458,70459,70461,70462,70469,70471,70473,70475,70477,70478,70480,70481,70487,70488,70493,70494,70496,70498,70500,70502,70509,70512,70517,70528,70538,70539,70540,70542,70543,70544,70546,70582,70583,70584,70593,70594,70595,70597,70598,70599,70603,70604,70608,70609,70610,70611,70614,70615,70617,70625,70627,70709,70727,70731,70735,70736,70746,70748,70750,70751,70832,70852,70864,70874,71087,71094,71096,71105,71106,71108,71110,71113,71128,71132,71134,71216,71233,71235,71248,71258,71264,71277,71339,71352,71360,71370,71376,71396,71453,71468,71472,71482,71484,71487,71724,71739,71904,71914,71936,71943,71945,71946,71948,71956,71957,71959,71960,71984,71990,71991,71993,71995,71998,71999,72e3,72001,72002,72004,72007,72016,72026,72145,72152,72154,72161,72162,72163,72164,72165,72193,72203,72243,72250,72251,72255,72256,72257,72261,72262,72263,72264,72273,72284,72330,72346,72349,72350,72353,72355,72448,72458,72544,72552,72688,72698,72751,72759,72760,72768,72769,72774,72784,72794,72816,72817,72818,72850,72872,72873,72887,73009,73015,73018,73019,73020,73022,73023,73030,73031,73032,73040,73050,73098,73103,73104,73106,73107,73112,73120,73130,73184,73194,73440,73458,73459,73463,73465,73472,73474,73475,73476,73489,73490,73524,73531,73534,73538,73539,73541,73552,73562,73563,73693,73697,73727,73728,74864,74869,78424,78427,78430,78466,78467,78470,78471,78472,78473,78474,78713,78714,78716,78895,78896,78903,78904,78905,78908,78909,78910,78911,78912,78913,78919,78934,83406,83407,83408,90368,90398,90416,90426,92768,92778,92782,92784,92864,92874,92912,92917,92918,92976,92983,92986,92996,92997,93008,93018,93550,93552,93562,93847,93849,94031,94032,94033,94088,94095,94099,94176,94180,94181,94192,94194,94196,94199,94208,101120,101632,101663,101760,101875,110592,110883,110898,110899,110928,110931,110933,110934,110948,110952,110960,111356,113821,113823,113824,113828,118e3,118010,118528,118574,118576,118599,119141,119146,119149,119171,119173,119180,119210,119214,119362,119365,120782,120832,121344,121399,121403,121453,121461,121462,121476,121477,121479,121483,121499,121504,121505,121520,122880,122887,122888,122905,122907,122914,122915,122917,122918,122923,123023,123024,123184,123191,123200,123210,123566,123567,123628,123632,123642,123647,123648,124140,124144,124154,124398,124400,124401,124411,124643,124644,124646,124647,124654,124656,124661,124662,125136,125143,125252,125259,125264,125274,125278,125280,126124,126125,126128,126129,126976,127232,127406,127462,127488,127877,127878,127900,127902,127925,127927,127932,127933,127938,127941,127943,127944,127946,127949,127995,128e3,128066,128068,128070,128081,128102,128121,128124,128125,128129,128132,128133,128136,128143,128144,128145,128146,128160,128161,128162,128163,128164,128165,128170,128171,128175,128176,128177,128179,128256,128263,128279,128293,128306,128330,128372,128374,128378,128379,128400,128401,128405,128407,128468,128476,128500,128506,128581,128584,128587,128592,128630,128633,128636,128640,128675,128676,128692,128695,128704,128705,128716,128717,128768,128884,128887,128891,128896,128981,129024,129292,129293,129295,129296,129304,129312,129318,129319,129328,129338,129340,129343,129399,129400,129461,129463,129464,129466,129467,129468,129485,129488,129489,129502,129536,129624,129731,129734,129776,129785,129792,130032,130042,130048,131070,131072,196606,196608,262142,917505,917506,917536,917632,917760,918e3],Zc=[1,15,4,0,2,1,6,22,39,11,38,37,11,39,36,19,11,38,30,27,30,41,35,30,11,22,11,36,38,19,11,36,15,18,11,1,5,1,3,36,37,38,11,39,11,15,11,37,38,11,16,11,39,11,36,11,16,11,16,11,16,11,1,3,1,11,30,11,1,11,30,26,11,38,11,1,26,1,11,1,11,1,22,1,11,25,11,25,11,35,11,37,30,11,1,22,1,22,11,1,35,37,35,11,1,11,22,11,1,35,11,1,11,1,11,1,11,35,11,1,11,1,11,1,11,35,11,1,11,30,22,11,1,38,11,1,11,1,11,1,11,1,11,1,11,35,11,1,11,1,35,1,11,1,11,1,11,1,11,1,15,35,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,37,11,37,11,38,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,38,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,1,11,1,11,1,11,1,11,1,11,35,11,38,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,16,11,1,16,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,37,11,1,11,1,11,1,11,1,11,1,11,35,11,1,11,1,11,1,11,38,11,1,11,35,15,11,1,11,1,11,1,11,35,11,16,11,16,3,16,15,3,22,3,11,22,11,1,11,35,11,15,1,11,1,11,1,36,18,36,18,1,11,1,15,1,15,1,11,1,11,1,11,15,11,1,11,16,15,16,11,3,11,1,11,35,15,11,1,11,1,11,1,11,1,11,1,11,1,11,1,35,1,11,31,33,32,11,1,11,15,11,26,11,15,11,36,18,11,15,11,1,11,1,15,11,1,11,1,11,1,15,34,11,15,11,15,38,11,1,11,35,11,22,15,16,11,22,11,1,3,1,35,11,1,11,1,11,1,11,1,11,22,35,11,35,11,1,11,1,11,1,11,1,35,11,35,11,1,11,1,3,11,1,10,1,43,10,11,15,13,15,28,15,28,1,28,15,1,11,1,11,35,11,13,1,42,11,1,11,15,35,11,35,11,15,11,1,11,1,11,1,11,1,11,1,11,1,3,1,3,1,11,16,11,15,3,15,8,1,9,1,26,3,26,14,11,39,36,39,36,39,11,29,15,0,1,3,37,11,39,11,34,11,30,36,18,34,11,15,37,15,11,15,7,11,1,11,36,18,11,36,18,11,38,37,38,37,38,37,38,37,38,37,38,1,11,37,11,37,11,38,11,38,11,29,11,36,18,36,18,11,28,11,36,18,11,28,11,28,11,28,11,28,11,28,20,28,11,28,11,28,11,28,11,28,11,28,11,28,11,28,11,28,11,28,11,28,11,28,11,28,11,28,20,28,11,28,11,28,20,11,39,11,22,28,11,36,18,36,18,36,18,36,18,36,18,36,18,36,18,11,36,18,11,36,18,36,18,36,18,36,18,36,18,11,15,11,36,18,36,18,36,18,36,18,36,18,36,18,36,18,36,18,36,18,36,18,36,18,11,36,18,36,18,11,36,18,11,1,11,22,15,11,22,15,11,15,11,1,11,1,39,15,11,26,36,15,11,39,11,39,36,18,36,18,36,18,36,18,15,22,11,15,11,15,11,14,15,11,26,15,36,15,11,15,11,15,11,22,36,19,36,19,36,19,36,19,26,11,28,11,28,11,28,11,28,15,18,28,34,28,36,18,36,18,36,18,36,18,36,18,28,36,18,36,18,36,18,36,18,34,36,18,28,1,28,1,28,34,28,11,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,11,1,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,11,28,11,28,11,28,11,28,34,28,11,28,11,28,11,28,34,28,11,28,11,15,11,15,22,15,11,35,11,1,11,1,11,1,11,1,11,15,11,1,11,1,11,1,11,1,11,1,11,37,11,16,22,11,1,11,1,11,15,35,11,1,11,16,11,1,35,11,1,15,11,1,11,31,11,1,10,1,43,28,15,28,11,15,13,11,28,11,1,11,35,11,13,1,11,15,1,15,1,11,13,11,28,15,11,1,11,1,11,1,11,1,11,1,11,1,11,1,15,11,1,11,1,15,1,11,35,11,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,11,33,11,32,11,28,11,25,1,25,11,25,11,25,11,25,11,25,11,25,11,25,11,18,36,11,37,11,1,18,34,22,36,18,29,11,3,1,3,1,3,1,3,1,3,1,3,1,3,1,28,36,18,36,18,36,18,36,18,36,18,36,18,36,18,36,18,28,36,18,28,18,28,18,11,34,22,28,36,18,36,18,36,18,28,11,28,38,37,28,11,7,11,22,28,38,37,28,36,18,28,18,28,18,28,34,28,22,28,36,28,18,28,36,28,18,28,36,18,36,18,34,28,34,28,34,28,11,28,11,28,11,28,11,28,11,37,38,28,38,11,1,17,11,15,11,1,11,1,11,1,11,15,11,15,11,35,11,15,11,15,11,1,11,1,11,1,11,1,11,1,11,15,11,1,11,15,29,11,15,11,1,11,35,11,35,11,1,26,11,1,26,11,15,11,1,11,1,11,1,11,1,12,10,1,43,15,28,11,28,13,1,10,1,10,11,3,1,11,1,11,35,15,1,11,35,11,35,11,1,11,1,11,35,15,11,1,11,1,11,16,11,1,11,1,11,15,11,15,1,11,1,35,11,16,11,15,11,1,15,11,15,11,1,11,1,11,15,11,1,11,35,11,1,11,10,11,10,11,10,11,10,11,10,11,10,11,1,15,1,11,1,11,1,43,11,13,11,1,11,15,13,10,1,11,1,11,1,11,13,11,13,11,13,11,13,10,11,28,1,11,1,11,1,11,1,11,1,43,12,1,28,11,28,11,1,11,1,11,15,11,35,15,11,1,11,1,11,35,11,1,11,1,16,15,22,11,15,11,1,11,1,15,11,35,11,16,11,1,11,35,11,35,11,1,11,35,11,15,11,1,11,35,11,10,11,10,11,10,11,10,11,10,1,11,1,11,1,43,12,1,12,1,15,11,13,11,1,11,1,11,16,11,1,11,1,11,1,11,1,16,11,15,16,11,1,11,1,11,1,15,11,16,15,11,16,11,1,11,35,11,1,11,1,11,15,11,35,11,16,22,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,1,11,1,11,1,11,35,11,35,11,13,15,1,15,11,1,12,1,10,11,10,1,11,1,43,15,28,13,1,11,37,11,15,11,15,11,36,18,11,18,11,36,18,36,18,11,36,18,11,36,3,36,18,3,36,18,36,18,1,11,1,11,36,18,11,13,1,13,11,35,11,15,11,35,11,1,15,11,1,15,11,15,11,35,11,15,35,11,15,11,1,11,1,11,1,11,34,3,11,1,34,28,11,28,11,28,11,28,11,28,11,34,11,34,11,34,11,34,11,28,11,1,15,1,11,35,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,1,11,1,11,1,11,1,11,15,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,1,11,1,35,11,38,11,1,35,11,1,11,35,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,36,11,37,11,37,11,28,11,28,40,28,20,28,11,28,11,28,11,28,20,28,20,28,20,28,21,28,20,28,20,28,20,28,20,28,20,28,20,28,20,28,20,28,11,28,11,28,11,28,20,28,11,28,11,28,11,28,11,28,11,28,20,28,20,28,20,28,20,28,11,28,11,28,20,28,20,11,39,34,11,28,20,28,20,28,20,28,20,28,11,28,11,28,11,28,11,20,28,20,28,20,28,20,28,20,28,20,28,20,28,20,28,20,28,20,28,20,28,20,28,11,28,20,28,20,28,11,35,11,28,11,28,11,28,11,1,11,1,11,1,11],Qc=[4352,8361,8986,9001,9193,9200,9203,9725,9748,9776,9800,9855,9866,9875,9889,9898,9917,9924,9934,9940,9962,9970,9973,9978,9981,9989,9994,10024,10060,10062,10067,10071,10133,10160,10175,11035,11088,11093,11904,11931,12032,12272,12353,12441,12549,12593,12688,12783,12832,12880,42128,43360,44032,63744,65040,65072,65108,65128,65281,65474,65482,65490,65498,65504,65512,94176,94192,94208,101631,101760,110576,110581,110589,110592,110898,110928,110933,110948,110960,119552,119648,126980,127183,127374,127377,127488,127504,127552,127568,127584,127744,127789,127799,127870,127904,127951,127968,127988,127992,128064,128066,128255,128331,128336,128378,128405,128420,128507,128640,128716,128720,128725,128732,128747,128756,128992,129008,129292,129340,129351,129648,129664,129678,129736,129741,129759,129775,131072,196608],$c=[4448,8362,8988,9003,9197,9201,9204,9727,9750,9784,9812,9856,9872,9876,9890,9900,9919,9926,9935,9941,9963,9972,9974,9979,9982,9990,9996,10025,10061,10063,10070,10072,10136,10161,10176,11037,11089,11094,11930,12020,12246,12351,12439,12544,12592,12687,12774,12831,12872,42125,42183,43389,55204,64256,65050,65107,65127,65132,65471,65480,65488,65496,65501,65511,65519,94181,94199,101590,101663,101875,110580,110588,110591,110883,110899,110931,110934,110952,111356,119639,119671,126981,127184,127375,127387,127491,127548,127561,127570,127590,127777,127798,127869,127892,127947,127956,127985,127989,128063,128065,128253,128318,128335,128360,128379,128407,128421,128592,128710,128717,128723,128729,128736,128749,128765,129004,129009,129339,129350,129536,129661,129675,129735,129737,129757,129771,129785,196606,262142];function el(e){let t=0,n=Xc.length-1;for(;t<n;){let r=t+n+1>>1;Xc[r]<=e?t=r:n=r-1}return Yc[Zc[t]]}function tl(e){let t=0,n=Qc.length-1;if(n<0||e<Qc[0])return!1;for(;t<n;){let r=t+n+1>>1;Qc[r]<=e?t=r:n=r-1}return e<$c[t]}function nl(e,t){let n=el(e);if(n===`OP`)return!0;let r=el(t),i=n===`AL`||n===`HL`,a=r===`AL`||r===`HL`;return!!(i&&(a||r===`NU`||r===`PR`||r===`PO`)||a&&(n===`NU`||n===`PR`||n===`PO`)||n===`PR`&&(r===`ID`||r===`EB`||r===`EM`)||(n===`ID`||n===`EB`||n===`EM`)&&r===`PO`||n===`NU`&&(r===`NU`||r===`PO`||r===`PR`)||r===`NU`&&(n===`PO`||n===`PR`||n===`HY`||n===`IS`)||(i||n===`NU`)&&r===`OP`&&!tl(t)||n===`CP`&&!tl(e)&&(a||r===`NU`))}function rl(e){return e===`my`||e===`bo`}function il(e){return e>=3584&&e<=3711||e>=3712&&e<=3839||e>=6016&&e<=6143||e>=4096&&e<=4255||e>=43616&&e<=43647||e>=43488&&e<=43519||e>=3840&&e<=4095}function al(e){return e<=3711?`th`:e<=3839?`lo`:e<=4095?`bo`:e<=4255?`my`:e<=6143?`km`:`my`}function ol(e){for(let t of e)if(il(t.codePointAt(0)))return!0;return!1}function sl(e){for(let t of e){let e=t.codePointAt(0);if(il(e))return rl(al(e))}return!1}const cl=new Map;function ll(e){let t=cl.get(e);if(t!==void 0)return t;let n=null;try{typeof Intl<`u`&&typeof Intl.Segmenter==`function`&&(n=new Intl.Segmenter(e,{granularity:`word`}))}catch{n=null}return cl.set(e,n),n}function ul(e){let t=ll(e);return t?e=>t.segment(e):null}function dl(e){if(!ol(e))return[];let t=[],n=e.length,r=0;for(;r<n;){let i=e.codePointAt(r),a=i>65535?2:1;if(!il(i)){r+=a;continue}let o=al(i),s=rl(o),c=r+a;for(;c<n;){let t=e.codePointAt(c);if(!il(t)||rl(al(t))!==s)break;c+=t>65535?2:1}let l=e.slice(r,c);if(s)for(let e of yl(l))t.push(r+e);else{let e=ul(o);if(e){let n=[];try{for(let t of e(l))t.index>0&&(t.isWordLike??!0)&&n.push(r+t.index);for(let e of n)t.push(e)}catch{}}}r=c}return t}function fl(e){if(!ol(e))return[];let t=[],n=e.length,r=e.codePointAt(0),i=r>65535?2:1;for(;i<n;){let n=e.codePointAt(i),a=n>65535?2:1;il(r)!==il(n)&&!pl(r)&&!pl(n)&&t.push(i),r=n,i+=a}return t}function pl(e){return e===32||e===9||e===10||e===13||e===12288||e===160||e===8199||e===8239||e===8288||e===65279}function ml(e,t){if(!ol(e))return[];let n=e.length,r=new Set(dl(e)),i=new Set(yl(e)),a=e=>{i.has(e)&&r.add(e)};for(let t of fl(e))a(t);if(t?.cjk){let t=e.codePointAt(0),r=t>65535?2:1;for(;r<n;){let n=e.codePointAt(r);(qc(n)||qc(t))&&a(r),t=n,r+=n>65535?2:1}}let o=t?.kinsoku,s=o!=null&&o.enabled!==!1,c=[];for(let t of r)if(!(t<=0||t>=n)){if(s){let n=e.codePointAt(t),r=hl(e,t);if(r!==void 0&&o.lineEndForbidden.has(r)||o.lineStartForbidden.has(n))continue}c.push(t)}return c.sort((e,t)=>e-t),c}function hl(e,t){if(t<=0)return;let n=e.charCodeAt(t-1);if(n>=56320&&n<=57343&&t>=2){let n=e.charCodeAt(t-2);if(n>=55296&&n<=56319)return e.codePointAt(t-2)}return n}function gl(e,t,n,r,i,a=!1){let o=e.length;if(n>=o)return n;if(a){if(i(e.slice(n,o))<=r)return o;let a=0,s=t.length-1,c=n;for(;a<=s;){let l=a+s>>1,u=t[l];u<=n?a=l+1:u>=o?s=l-1:i(e.slice(n,u))<=r?(c=u,a=l+1):s=l-1}return c}let s=n;for(let a of t)a<=n||a>=o||i(e.slice(n,a))<=r&&(s=a);return i(e.slice(n,o))<=r&&(s=o),s}let _l;function vl(){if(_l!==void 0)return _l;let e=null;try{typeof Intl<`u`&&typeof Intl.Segmenter==`function`&&(e=new Intl.Segmenter(void 0,{granularity:`grapheme`}))}catch{e=null}return _l=e,e}function yl(e){let t=vl();if(t)try{let n=[];for(let r of t.segment(e))r.index>0&&n.push(r.index);return n}catch{}let n=[];for(let t=0;t<e.length;){let r=e.codePointAt(t);t+=r>65535?2:1,t<e.length&&n.push(t)}return n}const bl=[`U`,`R`,`Tu`,`Tr`],xl=[0,167,168,169,170,174,175,177,178,188,191,215,216,247,248,746,748,4352,4608,5121,5760,6320,6400,8214,8215,8216,8218,8220,8222,8224,8226,8240,8242,8251,8253,8258,8259,8263,8266,8273,8274,8293,8294,8413,8417,8418,8421,8448,8450,8451,8458,8463,8464,8467,8469,8470,8472,8478,8484,8485,8486,8487,8488,8489,8490,8494,8495,8501,8512,8517,8523,8524,8526,8527,8586,8588,8592,8734,8735,8756,8758,8960,8968,8972,8992,8996,9001,9003,9004,9085,9115,9150,9166,9167,9168,9169,9180,9186,9251,9252,9472,9632,9754,9760,10088,10102,10132,11026,11056,11088,11098,11159,11160,11192,11218,11219,11244,11248,11264,11856,11858,11904,12289,12291,12296,12306,12308,12320,12336,12337,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12387,12388,12419,12420,12421,12422,12423,12424,12430,12431,12437,12439,12443,12445,12448,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12483,12484,12515,12516,12517,12518,12519,12520,12526,12527,12533,12535,12540,12541,12583,12584,12724,12728,12731,12732,12784,12800,13055,13144,13179,13184,42192,43360,43392,44032,55296,57344,64256,65040,65056,65072,65097,65104,65107,65112,65113,65119,65123,65127,65136,65281,65282,65288,65290,65292,65293,65294,65295,65306,65308,65311,65312,65339,65340,65341,65342,65343,65344,65371,65377,65504,65507,65508,65512,65520,65529,65532,65534,67968,68e3,71040,71168,72192,72384,77824,83584,94176,101888,110576,110898,110899,110928,110931,110933,110934,110948,110952,111360,118464,118736,118784,119296,119520,119680,120832,121520,126976,127488,127490,129024,129280,129792,131072,196606,196608,262142,983040,1048574,1048576,1114110],Sl=[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,3,1,3,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,3,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,2,0,3,0,3,0,3,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,3,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,3,0,2,0,2,0,2,0,2,0,2,0,2,0,1,0,1,0,1,0,1,0,1,0,1,2,0,1,3,0,1,0,1,2,0,3,0,2,1,2,0,3,1,2,0,3,0,3,0,3,0,3,1,0,3,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,2,0,2,0,2,0,2,0,1,0,1,0,1,0,1,0,1,0,2,0,1,0,1,0,1,0,1,0,1,0,1];function Cl(e){let t=0,n=xl.length-1;for(;t<n;){let r=t+n+1>>1;xl[r]<=e?t=r:n=r-1}return Sl[t]}function wl(e){return bl[Cl(e)]}function Tl(e){return El.get(e)??null}const El=new Map([[65292,65040],[12289,65041],[12290,65042]]);function Dl(e){return Ol.get(e)??null}const Ol=new Map([[65288,65077],[65289,65078],[65371,65079],[65373,65080],[12308,65081],[12309,65082],[12304,65083],[12305,65084],[12298,65085],[12299,65086],[12296,65087],[12297,65088],[12300,65089],[12301,65090],[12302,65091],[12303,65092],[12310,65047],[12311,65048]]),kl=new Set([65307]);function Al(e){return kl.has(e)}const jl=new Set([12540,12316,65374]);function Ml(e){return jl.has(e)}const Nl=new WeakMap;function Pl(e){let t=e.canvas,n=t?.ownerDocument?.defaultView?.HTMLCanvasElement;return typeof n==`function`&&t instanceof n||typeof HTMLCanvasElement<`u`&&t instanceof HTMLCanvasElement?t:null}function Fl(e,t){return e.replace(/(^|\\s)\\d*\\.?\\d+(?:px|pt|pc|in|cm|mm|q|em|rem|%)(?:\\/[^\\s]+)?(?=\\s)/i,`$1${t}`)}function Il(e,t=!0){let n=e.trim();return[...n===``||n.toLowerCase()===`normal`?[]:n.split(`,`).map(e=>e.trim()).filter(e=>!/^([\"'])vert\\1(?:\\s+(?:on|off|\\d+))?$/i.test(e)),`\"vert\" ${+!!t}`].join(`, `)}function Ll(e){try{let t=e.ownerDocument?.defaultView,n=t?.getComputedStyle?t.getComputedStyle(e):typeof getComputedStyle==`function`?getComputedStyle(e):null;if(n?.fontFeatureSettings)return n.fontFeatureSettings}catch{}return e.style.fontFeatureSettings}function Rl(e,t){if(e.isConnected)return t();let n=e.ownerDocument??(typeof document>`u`?null:document),r=n?.body??n?.documentElement;if(!r)return t();let i=e.parentNode,a=e.nextSibling,o=e.style,s={position:o.position,left:o.left,top:o.top,opacity:o.opacity,pointerEvents:o.pointerEvents};Object.assign(o,{position:`fixed`,left:`-99999px`,top:`0`,opacity:`0`,pointerEvents:`none`}),r.appendChild(e);let c=!1;try{return t()}catch(e){throw c=!0,e}finally{let t;try{if(i){let t=a?.parentNode===i?a:null;i.insertBefore(e,t)}else e.remove()}catch(n){t=n;try{e.remove()}catch{}}finally{Object.assign(o,s)}if(t!==void 0&&!c)throw t}}function zl(e,t){let n=Pl(e);return n===null?t():Rl(n,t)}function Bl(e){let t=Nl.get(e);if(t)return t;let n=e.createElement(`canvas`);n.width=256,n.height=256,n.setAttribute(`aria-hidden`,`true`),Object.assign(n.style,{position:`fixed`,left:`-99999px`,top:`0`,opacity:`0`,pointerEvents:`none`});let r={canvas:n,cache:new Map,epoch:0},i=()=>{r.epoch+=1,r.cache.clear()};return e.fonts?.addEventListener?.(`loadingdone`,i),e.fonts?.addEventListener?.(`loadingerror`,i),Nl.set(e,r),r}function Vl(e,t){let{width:n,height:r}=e.canvas,i=e.getImageData(0,0,n,r).data,a=new Uint8ClampedArray(n*r),o=n,s=r,c=-1,l=-1,u=0,d=0,f=0;for(let e=0;e<r;e+=1)for(let t=0;t<n;t+=1){let r=i[(e*n+t)*4+3];a[e*n+t]=r,r!==0&&(o=Math.min(o,t),s=Math.min(s,e),c=Math.max(c,t),l=Math.max(l,e),u+=r,d+=t*r,f+=e*r)}if(c<o||l<s||u===0)return null;let p=e.measureText(t),m=e=>typeof e==`number`&&Number.isFinite(e)?e:0;return{alpha:a,geometry:[o,s,c,l,d/u,f/u],metrics:[m(p.width),m(p.actualBoundingBoxLeft),m(p.actualBoundingBoxRight),m(p.actualBoundingBoxAscent),m(p.actualBoundingBoxDescent)]}}function Hl(e,t,n){let r=e.canvas;r.style.fontFeatureSettings=n,e.font=e.font,e.clearRect(0,0,r.width,r.height);let i=String.fromCodePoint(t);return e.fillText(i,r.width/2,r.height/2),Vl(e,i)}function Ul(e,t){let n=0,r=Math.min(e.length,t.length);for(let i=0;i<r;i+=1)n+=Math.abs(e[i]-t[i]);return n}function Wl(e,t,n,r){let i=(e,t,n,r)=>{let i=Math.max(Ul(e,t),Ul(n,r));return Math.min(Ul(e,n),Ul(e,r),Ul(t,n),Ul(t,r))>i};return i(e.alpha,t.alpha,n.alpha,r.alpha)||i(e.geometry,t.geometry,n.geometry,r.geometry)||i(e.metrics,t.metrics,n.metrics,r.metrics)}function Gl(e,t){let n=Pl(e);if(n===null||typeof document>`u`)return!1;let r=n.ownerDocument??document,i=Bl(r),a=Ll(n),o=`${i.epoch}:${Fl(e.font,`<size>`)}:${a}:${t}`,s=i.cache.get(o);if(s!==void 0)return s;let c=!1,l=r.body??r.documentElement;if(!l)return!1;let u=i.canvas.isConnected;u||l.appendChild(i.canvas);let d=i.canvas.getContext(`2d`,{willReadFrequently:!0});if(d!==null){let n=i.canvas.style.fontFeatureSettings;try{d.font=Fl(e.font,`200px`),d.fillStyle=`#000`,d.textAlign=`center`,d.textBaseline=`middle`;let n=Il(a,!1),r=Il(a,!0),i=Hl(d,t,n),o=Hl(d,t,n),s=Hl(d,t,r),l=Hl(d,t,r);c=i!==null&&o!==null&&s!==null&&l!==null&&Wl(i,o,s,l)}catch{c=!1}finally{i.canvas.style.fontFeatureSettings=n,d.font=d.font,d.clearRect(0,0,i.canvas.width,i.canvas.height),u||i.canvas.remove()}}return i.cache.set(o,c),c}function Kl(e,t){let n=e.canvas;return n?.style?zl(e,()=>{let r=n.style,i=r.fontFeatureSettings;r.fontFeatureSettings=Il(Ll(n)),e.font=e.font;try{return t()}finally{r.fontFeatureSettings=i,e.font=e.font}}):t()}const ql=[[e=>e.includes(`meiryo ui`)||e.includes(`meiryoui`)||e.includes(`メイリオ`)&&e.includes(`ui`),{asc:2171*1.3/2048,desc:430*1.3/2048,eaOnly:!0}],[e=>e.includes(`meiryo`)||e.includes(`メイリオ`),{asc:2210/2048,desc:1059/2048}],[e=>!e.includes(`ui`)&&(e.includes(`yu mincho`)||e.includes(`yumincho`)||e.includes(`游明朝`)||e.includes(`yu gothic`)||e.includes(`yugothic`)||e.includes(`游ゴシック`)),{asc:1802*1.3/2048,desc:455*1.3/2048,eaOnly:!0}],[e=>e.includes(`sakkal majalla`)||e.includes(`majalla`),{asc:1810/2048,desc:1050/2048}],[e=>e===`times new roman`,{asc:1825/2048,desc:530/2048}],[e=>e===`arial`,{asc:1854/2048,desc:501/2048}]];function Jl(e,t){if(!e)return null;let n=e.toLowerCase();for(let[e,r]of ql)if(e(n)&&(t||!r.eaOnly))return r;return null}function Yl(e,t=!1){let n=Jl(e,t);return n===null?null:n.asc+n.desc}function Xl(e,t,n=!1){let r=Yl(e,n);return r===null?0:r*t}function Zl(e,t){if(!Number.isSafeInteger(e)||e<=0)throw TypeError(`${t} must be a positive safe integer`)}function Ql(e){if(!Number.isSafeInteger(e)||e<0)throw TypeError(`cache entry weight must be a non-negative safe integer`)}var $l=class{#e;#t;#n;#r;#i=new Map;#a=new Map;#o=0;constructor(e){Zl(e.maxEntries,`maxEntries`),Zl(e.maxWeight,`maxWeight`),this.#e=e.maxEntries,this.#t=e.maxWeight,this.#n=e.measure,this.#r=e.onRemove}get usage(){return{entries:this.#i.size,weight:this.#o,pending:this.#a.size}}has(e){return this.#i.has(e)}get(e){let t=this.#i.get(e);if(t!==void 0)return this.#i.delete(e),this.#i.set(e,t),t.value}getOrLoad(e,t){let n=this.get(e);if(n!==void 0||this.#i.has(e))return Promise.resolve(n);let r=this.#a.get(e);if(r!==void 0)return r.promise;let i={},a=Promise.resolve().then(t).then(t=>this.#c(e,i,t),t=>{throw this.#s(e,i),t});return this.#a.set(e,{token:i,promise:a}),a}delete(e){let t=this.#a.delete(e),n=this.#i.get(e);return n===void 0?t:(this.#i.delete(e),this.#o-=n.weight,this.#l(n.value,e,`deleted`),!0)}clear(){this.#a.clear();let e=[...this.#i];this.#i.clear(),this.#o=0;for(let[t,n]of e)this.#l(n.value,t,`cleared`)}#s(e,t){this.#a.get(e)?.token===t&&this.#a.delete(e)}#c(e,t,n){if(this.#a.get(e)?.token!==t)return n;let r;try{r=this.#n(n),Ql(r)}catch(n){throw this.#s(e,t),n}if(this.#a.get(e)?.token!==t||(this.#a.delete(e),r>this.#t))return n;let i=[];for(;this.#i.size>=this.#e||r>this.#t-this.#o;){let e=this.#i.entries().next().value;if(e===void 0)break;let[t,n]=e;this.#i.delete(t),this.#o-=n.weight,i.push([t,n])}this.#i.set(e,{value:n,weight:r}),this.#o+=r;for(let[e,t]of i)this.#l(t.value,e,`evicted`);return n}#l(e,t,n){try{this.#r?.(e,t,n)}catch{}}},eu=class{#e;constructor(e){this.#e=new $l({maxEntries:e.maxEntries,maxWeight:e.maxBytes,measure:e=>e.size})}get usage(){let e=this.#e.usage;return{entries:e.entries,bytes:e.weight,pending:e.pending}}async get(e,t,n){if(typeof e!=`string`||e.length===0)throw TypeError(`raw package part path must be a non-empty string`);if(typeof t!=`string`)throw TypeError(`raw package part MIME type must be a string`);let r=await this.#e.getOrLoad(e,async()=>{let e=await n();if(!(e instanceof Blob))throw TypeError(`raw package part loader must return a Blob`);return e});return t===``||r.type===t?r:r.slice(0,r.size,t)}clear(){this.#e.clear()}};function tu(e){return Array.from(e)}function nu(e,t,n,r,i){let a=tu(t),o=a.length,s=[];for(let t of e){let e=t.sb,c=t.eb;if(!(e<c)||e>=o)continue;let l=Math.min(c,o),u=n+i(a.slice(0,e).join(``)),d=i(a.slice(e,l).join(``)),f=r===`center`?`center`:r===`distributed`?`distribute`:`start`;s.push({text:t.text,x:u,width:d,spread:f})}return s}function ru(e){return Array.isArray(e)?e:[e]}function iu(e){return Array.isArray(e)?e[0]??0:e}function au(e,t){try{return ou(pu(e,t))}catch{return!1}}function ou(e){let t=iu(e);return typeof t==`boolean`?t:typeof t==`number`?t!==0:typeof t==`string`?t.length>0&&t.toUpperCase()!==`FALSE`:!1}function $(e){let t=iu(e);if(typeof t==`number`)return t;if(typeof t==`boolean`)return+!!t;if(t==null)return 0;let n=parseFloat(String(t));return isNaN(n)?0:n}function su(e){let t=iu(e);return t==null?``:typeof t==`boolean`?t?`TRUE`:`FALSE`:String(t)}const cu=new Set([`<`,`>`,`=`,`+`,`-`,`*`,`/`,`&`,`^`,`%`]);function lu(e){let t=[],n=0,r=e;for(;n<r.length;){let e=r[n];if(e===` `||e===` `||e===`\n`||e===`\\r`){n++;continue}if(e===`(`){t.push({kind:`lparen`,text:e}),n++;continue}if(e===`)`){t.push({kind:`rparen`,text:e}),n++;continue}if(e===`,`){t.push({kind:`comma`,text:e}),n++;continue}if(e===`:`){t.push({kind:`colon`,text:e}),n++;continue}if(e===`\"`){let e=n+1,i=``;for(;e<r.length;){if(r[e]===`\"`&&r[e+1]===`\"`){i+=`\"`,e+=2;continue}if(r[e]===`\"`)break;i+=r[e],e++}t.push({kind:`str`,text:i}),n=e+1;continue}if(e>=`0`&&e<=`9`){let e=n;for(;e<r.length&&(r[e]>=`0`&&r[e]<=`9`||r[e]===`.`);)e++;t.push({kind:`num`,text:r.slice(n,e)}),n=e;continue}if(cu.has(e)){(e===`<`||e===`>`)&&(r[n+1]===`=`||e===`<`&&r[n+1]===`>`)?(t.push({kind:`op`,text:r.slice(n,n+2)}),n+=2):(t.push({kind:`op`,text:e}),n++);continue}if(e===`$`||uu(e)){let e=n;for(;e<r.length&&(r[e]===`$`||du(r[e]));)e++;let i=r.slice(n,e);n=e;let a=fu(i);if(a)t.push({kind:`ref`,text:i,ref:a});else{let e=i.toUpperCase();e===`TRUE`||e===`FALSE`?t.push({kind:`bool`,text:e}):t.push({kind:`name`,text:i})}continue}n++}return t}function uu(e){return e>=`A`&&e<=`Z`||e>=`a`&&e<=`z`||e===`_`}function du(e){return uu(e)||e>=`0`&&e<=`9`||e===`.`}function fu(e){let t=0,n=!1,r=!1;e[t]===`$`&&(n=!0,t++);let i=t;for(;t<e.length&&e[t]>=`A`&&e[t].toUpperCase()<=`Z`&&!(!(e[t]>=`A`&&e[t]<=`Z`)&&!(e[t]>=`a`&&e[t]<=`z`));)t++;if(t===i)return null;let a=e.slice(i,t).toUpperCase();e[t]===`$`&&(r=!0,t++);let o=t;for(;t<e.length&&e[t]>=`0`&&e[t]<=`9`;)t++;if(t===o||t!==e.length)return null;let s=parseInt(e.slice(o,t),10),c=0;for(let e=0;e<a.length;e++)c=c*26+(a.charCodeAt(e)-64);return{colAbs:n,col:c,rowAbs:r,row:s}}function pu(e,t){return gu({toks:lu(e),pos:0},t)}function mu(e){return e.toks[e.pos]}function hu(e){return e.toks[e.pos++]}function gu(e,t){return _u(e,t)}function _u(e,t){let n=vu(e,t),r=mu(e);if(r&&r.kind===`op`&&(r.text===`<`||r.text===`>`||r.text===`<=`||r.text===`>=`||r.text===`=`||r.text===`<>`)){hu(e);let i=vu(e,t);return yu(r.text,n,i)}return n}function vu(e,t){let n=bu(e,t);for(;;){let r=mu(e);if(!r||r.kind!==`op`||r.text!==`&`)break;hu(e);let i=bu(e,t);n=su(n)+su(i)}return n}function yu(e,t,n){let r=typeof t==`string`&&isNaN(parseFloat(t))?null:$(t),i=typeof n==`string`&&isNaN(parseFloat(n))?null:$(n);if(r!==null&&i!==null)switch(e){case`<`:return r<i;case`>`:return r>i;case`<=`:return r<=i;case`>=`:return r>=i;case`=`:return r===i;case`<>`:return r!==i}let a=String(t??``),o=String(n??``);switch(e){case`<`:return a<o;case`>`:return a>o;case`<=`:return a<=o;case`>=`:return a>=o;case`=`:return a===o;case`<>`:return a!==o}return!1}function bu(e,t){let n=xu(e,t);for(;;){let r=mu(e);if(!r||r.kind!==`op`||r.text!==`+`&&r.text!==`-`)break;hu(e);let i=xu(e,t);n=r.text===`+`?$(n)+$(i):$(n)-$(i)}return n}function xu(e,t){let n=Su(e,t);for(;;){let r=mu(e);if(!r||r.kind!==`op`||r.text!==`*`&&r.text!==`/`)break;hu(e);let i=Su(e,t);if(r.text===`*`)n=$(n)*$(i);else{let e=$(i);n=e===0?0:$(n)/e}}return n}function Su(e,t){let n=mu(e);return n&&n.kind===`op`&&n.text===`-`?(hu(e),-$(Su(e,t))):n&&n.kind===`op`&&n.text===`+`?(hu(e),$(Su(e,t))):Cu(e,t)}function Cu(e,t){let n=hu(e);if(!n)return 0;if(n.kind===`num`)return parseFloat(n.text);if(n.kind===`str`)return n.text;if(n.kind===`bool`)return n.text===`TRUE`;if(n.kind===`lparen`){let n=gu(e,t),r=hu(e);if(!r||r.kind!==`rparen`)throw Error(`missing )`);return n}if(n.kind===`ref`){if(mu(e)?.kind===`colon`){hu(e);let r=hu(e);if(r?.kind!==`ref`||!r.ref)throw Error(`range: expected ref after :`);return Eu(n.ref,r.ref,t)}return Tu(n.ref,t)}if(n.kind===`name`){if(mu(e)?.kind===`lparen`){hu(e);let r=[];if(mu(e)?.kind!==`rparen`)for(r.push(gu(e,t));mu(e)?.kind===`comma`;)hu(e),r.push(gu(e,t));let i=hu(e);if(!i||i.kind!==`rparen`)throw Error(`missing )`);return Ou(n.text,r,t)}let r=t.definedNames.get(n.text);return r&&t.depth<8?pu(wu(r.formula),{...t,anchorRow:1,anchorCol:1,depth:t.depth+1}):0}return 0}function wu(e){let t=e.match(/^(?:'[^']*'|[A-Za-z_][A-Za-z0-9_.]*)!(.*)$/);return t?t[1]:e}function Tu(e,t){let n=e.colAbs?e.col:e.col+(t.col-t.anchorCol),r=e.rowAbs?e.row:e.row+(t.row-t.anchorRow);return Du(t.cellIndex.get(`${r}:${n}`))}function Eu(e,t,n){let r=e.colAbs?e.col:e.col+(n.col-n.anchorCol),i=e.rowAbs?e.row:e.row+(n.row-n.anchorRow),a=t.colAbs?t.col:t.col+(n.col-n.anchorCol),o=t.rowAbs?t.row:t.row+(n.row-n.anchorRow),s=Math.min(r,a),c=Math.max(r,a),l=Math.min(i,o),u=Math.max(i,o),d=[],f=4096;for(let e=l;e<=u&&d.length<f;e++)for(let t=s;t<=c&&d.length<f;t++)d.push(Du(n.cellIndex.get(`${e}:${t}`)));return d}function Du(e){if(!e)return null;switch(e.value.type){case`number`:return e.value.number;case`bool`:return e.value.bool;case`text`:return e.value.text;case`error`:return null;default:return null}}function Ou(e,t,n){switch(e.toUpperCase()){case`AND`:return t.flatMap(ru).every(e=>ou(e));case`OR`:return t.flatMap(ru).some(e=>ou(e));case`NOT`:return!ou(t[0]);case`IF`:return ou(t[0])?t[1]??!0:t[2]??!1;case`IFERROR`:return t[0]==null?t[1]??0:t[0];case`IFS`:for(let e=0;e+1<t.length;e+=2)if(ou(t[e]))return t[e+1];return null;case`TRUE`:return!0;case`FALSE`:return!1;case`ISBLANK`:{let e=iu(t[0]);return e==null||e===``}case`ISNUMBER`:return typeof iu(t[0])==`number`;case`ISTEXT`:return typeof iu(t[0])==`string`;case`ISNONTEXT`:return typeof iu(t[0])!=`string`;case`ISERROR`:case`ISERR`:case`ISNA`:return iu(t[0])==null;case`ISLOGICAL`:return typeof iu(t[0])==`boolean`;case`ROUNDDOWN`:{let e=$(t[0]),n=10**$(t[1]);return(e>=0?Math.floor(e*n):Math.ceil(e*n))/n}case`ROUNDUP`:{let e=$(t[0]),n=10**$(t[1]);return(e>=0?Math.ceil(e*n):Math.floor(e*n))/n}case`ROUND`:{let e=$(t[0]),n=10**$(t[1]);return Math.round(e*n)/n}case`INT`:return Math.floor($(t[0]));case`TRUNC`:{let e=$(t[0]),n=10**$(t[1]??0);return(e>=0?Math.floor(e*n):Math.ceil(e*n))/n}case`CEILING`:{let e=$(t[0]),n=$(t[1]??1);return n===0?0:Math.ceil(e/n)*n}case`FLOOR`:{let e=$(t[0]),n=$(t[1]??1);return n===0?0:Math.floor(e/n)*n}case`MOD`:{let e=$(t[0]),n=$(t[1]);return n===0?null:e-Math.floor(e/n)*n}case`POWER`:return $(t[0])**+$(t[1]);case`SQRT`:{let e=$(t[0]);return e<0?null:Math.sqrt(e)}case`ABS`:return Math.abs($(t[0]));case`SIGN`:{let e=$(t[0]);return e>0?1:e<0?-1:0}case`EXP`:return Math.exp($(t[0]));case`LN`:{let e=$(t[0]);return e<=0?null:Math.log(e)}case`LOG10`:{let e=$(t[0]);return e<=0?null:Math.log10(e)}case`MIN`:{let e=t.flatMap(ru).filter(e=>typeof e==`number`);return e.length?Math.min(...e):0}case`MAX`:{let e=t.flatMap(ru).filter(e=>typeof e==`number`);return e.length?Math.max(...e):0}case`SUM`:return t.flatMap(ru).reduce((e,t)=>e+(typeof t==`number`?t:0),0);case`AVERAGE`:{let e=t.flatMap(ru).filter(e=>typeof e==`number`);return e.length?e.reduce((e,t)=>e+t,0)/e.length:null}case`COUNT`:return t.flatMap(ru).filter(e=>typeof e==`number`).length;case`COUNTA`:return t.flatMap(ru).filter(e=>e!=null&&e!==``).length;case`COUNTBLANK`:return t.flatMap(ru).filter(e=>e==null||e===``).length;case`COUNTIF`:return ku(ru(t[0]),t[1]);case`SUMIF`:return Au(ru(t[0]),t[1],t[2]===void 0?null:ru(t[2]));case`AVERAGEIF`:{let e=ru(t[0]),n=Au(e,t[1],t[2]===void 0?null:ru(t[2])),r=ku(e,t[1]);return r===0?null:$(n)/r}case`LEN`:return su(t[0]).length;case`LEFT`:return su(t[0]).slice(0,Math.max(0,$(t[1]??1)));case`RIGHT`:{let e=su(t[0]),n=Math.max(0,$(t[1]??1));return n>=e.length?e:e.slice(e.length-n)}case`MID`:{let e=su(t[0]),n=Math.max(1,$(t[1]))-1,r=Math.max(0,$(t[2]));return e.slice(n,n+r)}case`UPPER`:return su(t[0]).toUpperCase();case`LOWER`:return su(t[0]).toLowerCase();case`TRIM`:return su(t[0]).replace(/\\s+/g,` `).trim();case`EXACT`:return su(t[0])===su(t[1]);case`FIND`:{let e=su(t[0]),n=su(t[1]),r=Math.max(1,$(t[2]??1))-1,i=n.indexOf(e,r);return i<0?null:i+1}case`SEARCH`:{let e=su(t[0]).toLowerCase(),n=su(t[1]).toLowerCase(),r=Math.max(1,$(t[2]??1))-1,i=n.indexOf(e,r);return i<0?null:i+1}case`CONCATENATE`:case`CONCAT`:return t.flatMap(ru).map(e=>e==null?``:typeof e==`boolean`?e?`TRUE`:`FALSE`:String(e)).join(``);case`T`:{let e=iu(t[0]);return typeof e==`string`?e:``}case`N`:{let e=iu(t[0]);return typeof e==`number`?e:typeof e==`boolean`?+!!e:0}case`VALUE`:return $(t[0]);case`ROW`:return n.row;case`COLUMN`:return n.col;case`TODAY`:return Mu();case`NOW`:return Nu();case`DATE`:return Pu($(t[0]),$(t[1]),$(t[2]));case`YEAR`:return Iu($(t[0])).y;case`MONTH`:return Iu($(t[0])).m;case`DAY`:return Iu($(t[0])).d;case`WEEKDAY`:{let e=Fu($(t[0])).getUTCDay(),n=$(t[1]??1);return n===2?e===0?7:e:n===3?e===0?6:e-1:e+1}default:return 0}}function ku(e,t){let n=ju(t),r=0;for(let t of e)n(t)&&r++;return r}function Au(e,t,n){let r=ju(t),i=n??e,a=0;for(let t=0;t<e.length;t++)if(r(e[t])){let e=i[t];typeof e==`number`&&(a+=e)}return a}function ju(e){let t=iu(e);if(typeof t!=`string`){let e=typeof t==`number`?t:null;return n=>e!==null&&typeof n==`number`?n===e:n===t}let n=t.match(/^(<=|>=|<>|<|>|=)(.*)$/),r=n?n[1]:`=`,i=n?n[2]:t,a=i.trim()===``?NaN:parseFloat(i),o=!isNaN(a)&&/^-?\\d+(\\.\\d+)?$/.test(i.trim());return e=>{if(o&&typeof e==`number`)switch(r){case`<`:return e<a;case`>`:return e>a;case`<=`:return e<=a;case`>=`:return e>=a;case`<>`:return e!==a;default:return e===a}let t=e==null?``:typeof e==`boolean`?e?`TRUE`:`FALSE`:String(e);switch(r){case`<>`:return t!==i;case`<`:return t<i;case`>`:return t>i;case`<=`:return t<=i;case`>=`:return t>=i;default:return t===i}}}function Mu(){let e=new Date;return Ve(new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),!1)}function Nu(){return Ve(new Date(Date.now()),!1)}function Pu(e,t,n){return Math.floor(Ve(new Date(Date.UTC(e,t-1,n)),!1))}function Fu(e){return Be(Math.floor(e),!1)}function Iu(e){let t=Fu(e);return{y:t.getUTCFullYear(),m:t.getUTCMonth()+1,d:t.getUTCDate()}}const Lu=new Map;function Ru(e){let t=e??``,n=Lu.get(t);if(n)return n;let r=new Intl.DateTimeFormat(e,{year:`numeric`,month:`numeric`,day:`numeric`,timeZone:`UTC`});return Lu.set(t,r),r}function zu(e){switch(e.type){case`empty`:return``;case`text`:return e.text;case`number`:return String(e.number);case`bool`:return e.bool?`TRUE`:`FALSE`;case`error`:return e.error;case`shared`:return``}}function Bu(e,t,n,r=!1){let i=t.cellXfs[e.styleIndex??0]?.numFmtId??0,a=t.numFmts?.find(e=>e.numFmtId===i)?.formatCode??null,o=n?.numFmtId??i,s=n?.formatCode??a;if(e.value.type!==`number`){let t=zu(e.value);return{text:s?Vu(t,s):t}}let c=Hu(e.formula);return nd(c??e.value.number,o,s,c===null?r:!1)}function Vu(e,t){let n=ad(t),r;if(n.length>=4)r=n[3];else{let t=n[n.length-1];if(!t.includes(`@`))return e;r=t}if(r===``)return``;let i=``,a=0;for(;a<r.length;){let t=r[a];if(t===`\"`){for(a++;a<r.length&&r[a]!==`\"`;)i+=r[a++];a<r.length&&a++}else if(t===`\\\\`)a+1<r.length&&(i+=r[a+1]),a+=2;else if(t===`[`){for(;a<r.length&&r[a]!==`]`;)a++;a<r.length&&a++}else t===`@`?(i+=e,a++):t===`_`||t===`*`?a+=2:(i+=t,a++)}return i}function Hu(e){if(!e)return null;let t=e.trim().replace(/^=/,``).toUpperCase().replace(/\\s+/g,``);return t===`TODAY()`?Mu():t===`NOW()`?Nu():null}const Uu={15:`d-mmm-yy`,16:`d-mmm`,17:`mmm-yy`,18:`h:mm AM/PM`,19:`h:mm:ss AM/PM`,20:`h:mm`,21:`h:mm:ss`,22:`m/d/yyyy h:mm`,27:`[$-411]ge.m.d`,28:`[$-411]ggge\"年\"m\"月\"d\"日\"`,29:`[$-411]ggge\"年\"m\"月\"d\"日\"`,30:`m/d/yy`,31:`yyyy\"年\"m\"月\"d\"日\"`,50:`[$-411]ge.m.d`,51:`[$-411]ggge\"年\"m\"月\"d\"日\"`,52:`yyyy\"年\"m\"月\"`,53:`m\"月\"d\"日\"`,54:`[$-411]ggge\"年\"m\"月\"d\"日\"`,55:`yyyy\"年\"m\"月\"`,56:`m\"月\"d\"日\"`,57:`[$-411]ge.m.d`,58:`[$-411]ggge\"年\"m\"月\"d\"日\"`},Wu=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Gu=[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],Ku=[`日`,`月`,`火`,`水`,`木`,`金`,`土`],qu=[`日曜日`,`月曜日`,`火曜日`,`水曜日`,`木曜日`,`金曜日`,`土曜日`],Ju=[{start:new Date(Date.UTC(2019,4,1)),abbr:`R`,short:`令`,long:`令和`},{start:new Date(Date.UTC(1989,0,8)),abbr:`H`,short:`平`,long:`平成`},{start:new Date(Date.UTC(1926,11,25)),abbr:`S`,short:`昭`,long:`昭和`},{start:new Date(Date.UTC(1912,6,30)),abbr:`T`,short:`大`,long:`大正`},{start:new Date(Date.UTC(1868,0,25)),abbr:`M`,short:`明`,long:`明治`}];function Yu(e){for(let t of Ju)if(e.getTime()>=t.start.getTime())return{abbr:t.abbr,short:t.short,long:t.long,year:e.getUTCFullYear()-t.start.getUTCFullYear()+1};let t=Ju[Ju.length-1];return{abbr:t.abbr,short:t.short,long:t.long,year:e.getUTCFullYear()}}function Xu(e,t,n=!1){let r=Be(e,n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,o=r.getUTCDate(),s=r.getUTCDay(),c=r.getUTCHours(),l=r.getUTCMinutes(),u=r.getUTCSeconds(),d=t.split(`;`)[0],f=/am\\/pm|a\\/p/i.test(d),p=null,m=()=>p??=Yu(r),h=``,g=0,_=!1;for(;g<d.length;){let t=d[g];if(t===`\"`){for(g++;g<d.length&&d[g]!==`\"`;)h+=d[g++];g<d.length&&g++,_=!1}else if(t===`[`){let t=d.indexOf(`]`,g),n=t>g?d.slice(g+1,t):``,r=n.match(/^([hms])\\1*$/i);if(r){let i=r[1].toLowerCase(),a=e<0?`-`:``,o=Math.floor(Math.abs(e)*86400),s;s=i===`h`?Math.floor(o/3600):i===`m`?Math.floor(o/60):o;let c=n.length>=2?String(s).padStart(n.length,`0`):String(s);h+=a+c,g=t+1,_=i===`h`}else{for(;g<d.length&&d[g]!==`]`;)g++;g<d.length&&g++}}else if(t===`_`)g+=2;else if(t===`*`)g+=2;else if(t===`\\\\`)g+1<d.length&&(h+=d[g+1]),g+=2,_=!1;else if(t===`y`||t===`Y`){let e=0;for(;g<d.length&&d[g].toLowerCase()===`y`;)e++,g++;h+=e<=2?String(i).slice(-2):String(i).padStart(4,`0`),_=!1}else if(t===`m`||t===`M`){let e=0;for(;g<d.length&&d[g].toLowerCase()===`m`;)e++,g++;let t=d.slice(g).replace(/\\[[^\\]]*\\]/g,``);_||/^:s/i.test(t)?h+=e>=2?String(l).padStart(2,`0`):String(l):e===1?h+=String(a):e===2?h+=String(a).padStart(2,`0`):e===3?h+=Wu[a-1].slice(0,3):e===4?h+=Wu[a-1]:h+=Wu[a-1][0],_=!1}else if(t===`d`||t===`D`){let e=0;for(;g<d.length&&d[g].toLowerCase()===`d`;)e++,g++;e===1?h+=String(o):e===2?h+=String(o).padStart(2,`0`):e===3?h+=Gu[s].slice(0,3):h+=Gu[s],_=!1}else if(t===`h`||t===`H`){let e=0;for(;g<d.length&&d[g].toLowerCase()===`h`;)e++,g++;let t=f?c%12||12:c;h+=e>=2?String(t).padStart(2,`0`):String(t),_=!0}else if(t===`s`||t===`S`){let e=0;for(;g<d.length&&d[g].toLowerCase()===`s`;)e++,g++;h+=e>=2?String(u).padStart(2,`0`):String(u),_=!1}else if(t===`g`||t===`G`){let e=0;for(;g<d.length&&d[g].toLowerCase()===`g`;)e++,g++;let t=m();e===1?h+=t.abbr:e===2?h+=t.short:h+=t.long,_=!1}else if(t===`e`||t===`E`){let e=0;for(;g<d.length&&d[g].toLowerCase()===`e`;)e++,g++;let t=m().year;h+=e>=2?String(t).padStart(2,`0`):String(t),_=!1}else if(t===`r`||t===`R`){let e=0;for(;g<d.length&&d[g].toLowerCase()===`r`;)e++,g++;let t=m().year;h+=e>=2?String(t).padStart(2,`0`):String(t),_=!1}else if(t===`A`||t===`a`){let e=d.slice(g).toUpperCase();e.startsWith(`AAAA`)?(h+=qu[s],g+=4):e.startsWith(`AAA`)?(h+=Ku[s],g+=3):e.startsWith(`AM/PM`)?(h+=c<12?`AM`:`PM`,g+=5):e.startsWith(`A/P`)?(h+=c<12?`A`:`P`,g+=3):(h+=t,g++),_=!1}else h+=t,g++,t!==`:`&&t!==`/`&&t!==`-`&&t!==`.`&&t!==` `&&(_=!1)}return h}function Zu(e){if(/\\[[hms]+\\]/i.test(e))return!0;let t=e.replace(/\"[^\"]*\"/g,``).replace(/\\[[^\\]]*\\]/g,``);return/[yd]/i.test(t)||/a{3,}/i.test(t)}function Qu(e){return e.includes(`.`)?e.replace(/0+$/,``).replace(/\\.$/,``):e}function $u(e){return`${e>=0?`+`:`-`}${Math.abs(e).toString().padStart(2,`0`)}`}function ed(e){let[t,n]=e.toExponential(5).split(`e`);return`${Qu(t)}E${$u(Number(n))}`}function td(e){if(!Number.isFinite(e))return String(e);if(e===0)return`0`;let t=e<0,n=Math.abs(e),r=Number(n.toExponential(10).split(`e`)[1]),i=r>=11||r<-5?ed(n):Qu(n.toPrecision(11));return t?`-${i}`:i}function nd(e,t,n,r=!1){if(t===14&&!n){let t=typeof navigator>`u`?void 0:navigator.language,n=Be(e,r);return{text:Ru(t).format(n)}}let i=Uu[t];if(i)return{text:Xu(e,i,r)};if(n&&n.trim().toLowerCase()===`general`)return{text:td(e)};if(n)return Zu(n)?{text:Xu(e,n,r)}:hd(e,n);switch(t){case 0:return{text:td(e)};case 1:return hd(e,`0`);case 2:return hd(e,`0.00`);case 3:return hd(e,`#,##0`);case 4:return hd(e,`#,##0.00`);case 9:return hd(e,`0%`);case 10:return hd(e,`0.00%`);case 11:return hd(e,`0.00E+00`);case 37:return hd(e,`#,##0 ;(#,##0)`);case 38:return hd(e,`#,##0 ;[Red](#,##0)`);case 39:return hd(e,`#,##0.00;(#,##0.00)`);case 40:return hd(e,`#,##0.00;[Red](#,##0.00)`);case 48:return hd(e,`##0.0E+0`);case 49:return{text:String(e)};default:return{text:td(e)}}}const rd={black:`#000000`,blue:`#0000FF`,cyan:`#00FFFF`,green:`#008000`,magenta:`#FF00FF`,red:`#FF0000`,white:`#FFFFFF`,yellow:`#FFFF00`},id=`#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(`.`);function ad(e){let t=[],n=``,r=0;for(;r<e.length;){let i=e[r];if(i===`\"`){for(n+=i,r++;r<e.length&&e[r]!==`\"`;)n+=e[r++];r<e.length&&(n+=e[r++])}else if(i===`\\\\`)n+=i,r+1<e.length&&(n+=e[r+1]),r+=2;else if(i===`[`){for(n+=i,r++;r<e.length&&e[r]!==`]`;)n+=e[r++];r<e.length&&(n+=e[r++])}else i===`;`?(t.push(n),n=``,r++):(n+=i,r++)}return t.push(n),t}function od(e){let t=``,n,r,i=0;for(;i<e.length;){let a=e[i];if(a===`\"`){for(t+=a,i++;i<e.length&&e[i]!==`\"`;)t+=e[i++];i<e.length&&(t+=e[i++])}else if(a===`\\\\`)t+=a,i+1<e.length&&(t+=e[i+1]),i+=2;else if(a===`[`){let o=e.indexOf(`]`,i);if(o<0){t+=a,i++;continue}let s=e.slice(i+1,o),c=s.toLowerCase(),l=c.match(/^color(\\d{1,2})$/),u=s.match(/^(<=|>=|<>|<|>|=)\\s*(-?[0-9.]+(?:[eE][-+]?\\d+)?)$/);if(c in rd)n=rd[c];else if(l){let e=parseInt(l[1],10);e>=1&&e<=56&&(n=id[e+7]??n)}else u?r={op:u[1],value:Number(u[2])}:t+=e.slice(i,o+1);i=o+1}else t+=a,i++}return{body:t,color:n,condition:r}}function sd(e,t){switch(e.op){case`<`:return t<e.value;case`<=`:return t<=e.value;case`>`:return t>e.value;case`>=`:return t>=e.value;case`=`:return t===e.value;case`<>`:return t!==e.value}}function cd(e){let t=[],n=``,r=``,i=!1,a=!1,o,s=!1,c=0,l=0,u=e=>{if(!e)return;!a&&!s&&(c=n.replace(/,/g,``).length);let r=t[t.length-1];r&&r.kind===`lit`?r.text+=e:t.push({kind:`lit`,text:e})},d=0;for(;d<e.length;){let c=e[d];if(c===`\"`){d++;let t=``;for(;d<e.length&&e[d]!==`\"`;)t+=e[d++];d<e.length&&d++,u(t)}else if(c===`\\\\`)d+1<e.length&&u(e[d+1]),d+=2;else if(c===`[`){let t=e.indexOf(`]`,d),n=t>d?e.slice(d+1,t):``;if(n.startsWith(`$`)){let e=n.slice(1),t=e.indexOf(`-`);u(t>=0?e.slice(0,t):e)}d=t<0?e.length:t+1}else if(c===`_`)u(` `),d+=2;else if(c===`*`)u(e[d+1]??``),d+=2;else if(c===`#`||c===`0`||c===`?`)a?(r+=c,t.push({kind:`fracph`,ph:c})):(n+=c,t.push({kind:`intph`,ph:c})),l=0,d++;else if(c===`.`)a=!0,t.push({kind:`dot`}),d++;else if(c===`,`)a||(n+=`,`),l++,d++;else if(c===`/`&&n.replace(/,/g,``).length>0){s=!0,t.push({kind:`fraction`}),d++;let n=``;for(;d<e.length&&/[0-9#?]/.test(e[d]);)n+=e[d++];t[t.length-1].den=n}else if(c===`%`)i=!0,t.push({kind:`percent`}),d++;else if((c===`E`||c===`e`)&&(e[d+1]===`+`||e[d+1]===`-`)){let n=e[d+1]===`+`;d+=2;let r=0;for(;d<e.length&&(e[d]===`0`||e[d]===`#`||e[d]===`?`);)r++,d++;o={plus:n,width:Math.max(r,1)},t.push({kind:`exp`})}else u(c),d++}let f=l,p=/,(?=[#0?])/.test(n),m=n.replace(/,/g,``),h;if(s){let e=t.find(e=>e.kind===`fraction`)?.den??`?`,n=e.match(/[0-9]+/);h={wholeSpec:m.slice(0,c),numSpec:m.slice(c)||`?`,denSpec:e.replace(/[^0#?]/g,``),fixedDen:n?parseInt(n[0],10):null}}return{parts:t,intSpec:m,fracSpec:r,hasPercent:i,commaScale:f,grouping:p,exp:o,fraction:h}}function ld(e){return e.replace(/\\B(?=(\\d{3})+(?!\\d))/g,`,`)}function ud(e,t,n){let r=t.split(``),i=e.split(``),a=[],o=i.length-1,s=[];for(let e=r.length-1;e>=0;e--)o>=0?(a.unshift(i[o]),s.unshift(i[o]),o--):r[e]===`0`?(a.unshift(`0`),s.unshift(`0`)):r[e]===`?`&&a.unshift(` `);for(;o>=0;)a.unshift(i[o]),s.unshift(i[o]),o--;if(n){let e=ld(s.join(``));return(a.length-s.length>0?a.slice(0,a.length-s.length).join(``):``)+e}return a.join(``)}function dd(e,t){let n=t.length;if(n===0)return``;let r=e.padEnd(n,`0`).slice(0,n).split(``);for(let e=n-1;e>=0;e--){let n=t[e]??`#`;if(r[e]===`0`&&n===`#`)r[e]=``;else if(r[e]===`0`&&n===`?`)r[e]=` `;else break}return r.join(``)}function fd(e,t,n){if(n!==null)return[Math.round(e*n),n];let r=10**Math.max(t,1)-1,i=0,a=1,o=Math.abs(e),s=[0,1],c=[1,1];for(let t=0;t<100;t++){let t=s[0]+c[0],n=s[1]+c[1];if(n>r)break;let l=t/n,u=Math.abs(l-e);if(u<o&&(o=u,i=t,a=n),l<e)s=[t,n];else if(l>e)c=[t,n];else break}return[i,a]}function pd(e,t,n){let r=cd(t),i=n?Math.abs(e):e;r.hasPercent&&(i*=100),r.commaScale>0&&(i/=1e3**r.commaScale);let a=i<0?`-`:``,o=Math.abs(i);if(r.fraction){let e=Math.floor(o),t=o-e,{wholeSpec:n,numSpec:i,denSpec:s,fixedDen:c}=r.fraction,l=n.length>0,[u,d]=fd(t,s.length,c),f=(e,t)=>{let n=String(e),r=t.includes(`0`)?`0`:` `;for(;n.length<t.length;)n=r+n;return n},p=(e,t)=>{let n=String(e),r=t.includes(`0`)?`0`:` `;for(;n.length<t.length;)n+=r;return n},m=a;if(l){let t=e>0?String(e):n.includes(`0`)?`0`:``;if(u===0){let e=c===null?s.length||1:String(c).length;m+=t+` `.repeat(1+i.length+1+e)}else{let e=c===null?p(d,s):String(c);m+=t+` `+f(u,i)+`/`+e}}else{let t=u+e*d,n=c===null?p(d,s):String(c);m+=f(t,i)+`/`+n}return m}if(r.exp){let e=Math.max(r.intSpec.length,1),t=r.fracSpec.length,n=0,i=0;o!==0&&(i=Math.floor(Math.log10(o)),i=Math.floor(i/e)*e,n=o/10**i,parseFloat(He(n,t))>=10**e&&(i+=e,n=o/10**i));let[s,c=``]=He(n,t).split(`.`);return a+md(r,ud(s,r.intSpec,!1),dd(c,r.fracSpec),`E`+(i<0?`-`:r.exp.plus?`+`:``)+String(Math.abs(i)).padStart(r.exp.width,`0`))}let s=r.fracSpec.length,[c,l=``]=He(o,s).split(`.`),u=c.replace(/^0+/,``),d=/[0]/.test(r.intSpec)||r.intSpec===``&&!1;return u===``&&d&&(u=`0`),a+md(r,ud(u,r.intSpec,r.grouping),dd(l,r.fracSpec),``)}function md(e,t,n,r){let i=t.split(``),a=[];e.parts.forEach((e,t)=>{e.kind===`intph`&&a.push(t)});let o=n.split(``),s=[];e.parts.forEach((e,t)=>{e.kind===`fracph`&&s.push(t)});let c=new Map,l=i.length-1;for(let e=a.length-1;e>=0;e--)if(e===0){let t=``;for(;l>=0;)t=i[l--]+t;c.set(a[e],t)}else l>=0?c.set(a[e],i[l--]):c.set(a[e],``);let u=new Map;for(let e=0;e<s.length;e++)u.set(s[e],o[e]??``);let d=e.fracSpec.length>0&&(n.length>0||/[0?]/.test(e.fracSpec)),f=``;for(let t=0;t<e.parts.length;t++){let n=e.parts[t];n.kind===`lit`?f+=n.text:n.kind===`intph`?f+=c.get(t)??``:n.kind===`fracph`?f+=u.get(t)??``:n.kind===`dot`?f+=d?`.`:``:n.kind===`percent`?f+=`%`:n.kind===`exp`&&(f+=r)}return f}function hd(e,t){let n=ad(t).map(od),r=n.some(e=>e.condition),i,a=!1;if(r){let t=!1;for(let r of n)if(r.condition){if(sd(r.condition,e)){i=r,t=!0;break}}else if(i??=r,i===r)break;if(!i)return{text:`#`};a=t&&e<0}else e>0?i=n[0]:e<0?n.length>1?(i=n[1],a=!0):i=n[0]:i=n.length>2?n[2]:n[0];let o=pd(e,i.body,a);return i.color?{text:o,color:i.color}:{text:o}}const gd=25e4;function _d(e,t){let n=gd;return new w(`XLSX renderer ${e.resource} exceeded its hard limit of ${n} entries`,{stage:`rendering`,violation:{format:`xlsx`,operation:e.operation,resource:e.resource,metric:`entry-count`,limit:n,observed:t,configurable:!1,usage:{archiveEntryCount:0,declaredInflatedBytes:0,distinctInflatedBytes:0,operationInflatedBytes:0}}})}function vd(e,t,n=0){let{top:r,bottom:i,left:a,right:o}=e;if(i<r||o<a)return 0;if(![r,i,a,o].every(Number.isSafeInteger)||!Number.isSafeInteger(n)||n<0)throw _d(t,gd+1);let s=i-r+1,c=o-a+1,l=gd+n;if(!Number.isSafeInteger(s)||!Number.isSafeInteger(c)||s>l||c>Math.floor(l/s))throw _d(t,gd+1);let u=s*c-n;if(u>gd)throw _d(t,u);return u}function yd(e,t,n,r){if(!e.has(t)&&e.size>=gd)throw _d(r,e.size+1);e.set(t,n)}function bd(e,t){let n=new Map;for(let r of e)for(let e of r.cells)yd(n,`${e.row}:${e.col}`,e,t);return n}function xd(e,t,n){if(!e.has(t)&&e.size>=gd)throw _d(n,e.size+1);e.add(t)}function Sd(e,t,n){for(let r of e)if(t>=r.top&&t<=r.bottom&&n>=r.left&&n<=r.right)return!0;return!1}function Cd(e){return e&&e.value.type===`number`?e.value.number:null}function wd(e){return e&&e.value.type===`text`?e.value.text:null}function Td(e,t){let n=[];for(let r of e.rows)for(let e of r.cells)e.value.type===`number`&&Sd(t,e.row,e.col)&&n.push(e.value.number);return n}function Ed(e,t){let n=t.length?Math.min(...t):0,r=t.length?Math.max(...t):0,i=e.value==null?NaN:parseFloat(e.value);switch(e.kind){case`min`:return n;case`max`:return r;case`num`:return isNaN(i)?0:i;case`percent`:{let e=isNaN(i)?50:i;return n+(r-n)*(e/100)}case`percentile`:{if(!t.length)return 0;let e=[...t].sort((e,t)=>e-t),n=(isNaN(i)?50:i)/100;return e[Math.max(0,Math.min(e.length-1,Math.round(n*(e.length-1))))]}default:return isNaN(i)?0:i}}function Dd(e,t=Od(e)){let n=[],r=new Map;for(let t of e.definedNames??[])r.set(t.name,t);for(let t of e.conditionalFormats??[]){let r=Td(e,t.sqref);for(let e of t.rules){let i={rule:e,sqref:t.sqref};if(e.type===`colorScale`)i.scaleStops=e.stops.map(e=>Ed(e,r));else if(e.type===`dataBar`)i.barMin=Ed(e.min,r),i.barMax=Ed(e.max,r);else if(e.type===`top10`){let t=[...r].sort((e,t)=>e-t),n=t.length;if(n>0){let r=Math.min(e.rank,n);if(e.percent){let a=e.top?1-r/100:r/100;i.top10Threshold=t[Math.max(0,Math.min(n-1,Math.round(a*(n-1))))]}else i.top10Threshold=e.top?t[Math.max(0,n-r)]:t[Math.min(n-1,r-1)];i.top10IsTop=e.top}}else if(e.type===`aboveAverage`){if(r.length>0){let t=r.reduce((e,t)=>e+t,0)/r.length;if(i.avgValue=t,i.avgIsAbove=e.aboveAverage,e.stdDev&&e.stdDev>0){let e=r.reduce((e,n)=>e+(n-t)*(n-t),0)/r.length;i.avgStdDev=Math.sqrt(e)}}}else e.type===`iconSet`&&(i.iconThresholds=e.cfvos.map(e=>Ed(e,r)));n.push(i)}}return n.sort((e,t)=>(e.rule.priority??0)-(t.rule.priority??0)),{compiled:n,worksheet:e,cellIndex:t,definedNames:r}}function Od(e){return bd(e.rows,{resource:`worksheet-cell-index`,operation:`index-worksheet-cells`})}function kd(e,t,n){switch(t){case`greaterThan`:return e>(n[0]??0);case`greaterThanOrEqual`:return e>=(n[0]??0);case`lessThan`:return e<(n[0]??0);case`lessThanOrEqual`:return e<=(n[0]??0);case`equal`:return e===(n[0]??0);case`notEqual`:return e!==(n[0]??0);case`between`:return e>=(n[0]??0)&&e<=(n[1]??0);case`notBetween`:return e<(n[0]??0)||e>(n[1]??0);default:return!1}}function Ad(e){let t=e.trim();if(t.length>=2&&t.startsWith(`\"`)&&t.endsWith(`\"`))return{text:t.slice(1,-1).replace(/\"\"/g,`\"`)};let n=parseFloat(t);return isNaN(n)?{text:t}:{num:n}}function jd(e,t,n){let r=n[0]??``,i=n[1]??``,a=e=>e.toLowerCase();switch(t){case`equal`:return a(e)===a(r);case`notEqual`:return a(e)!==a(r);case`containsText`:return a(e).includes(a(r));case`notContains`:return!a(e).includes(a(r));case`beginsWith`:return a(e).startsWith(a(r));case`endsWith`:return a(e).endsWith(a(r));case`between`:return a(e)>=a(r)&&a(e)<=a(i);case`notBetween`:return a(e)<a(r)||a(e)>a(i);default:return!1}}function Md(e,t,n){let r=e.replace(`#`,``),i=t.replace(`#`,``),a=parseInt(r.slice(0,2),16),o=parseInt(r.slice(2,4),16),s=parseInt(r.slice(4,6),16),c=parseInt(i.slice(0,2),16),l=parseInt(i.slice(2,4),16),u=parseInt(i.slice(4,6),16),d=Math.round(a+(c-a)*n),f=Math.round(o+(l-o)*n),p=Math.round(s+(u-s)*n);return`#${d.toString(16).padStart(2,`0`).toUpperCase()}${f.toString(16).padStart(2,`0`).toUpperCase()}${p.toString(16).padStart(2,`0`).toUpperCase()}`}function Nd(e,t,n){if(!t.length)return`#FFFFFF`;if(e<=n[0])return t[0].color;if(e>=n[n.length-1])return t[t.length-1].color;for(let r=1;r<n.length;r++)if(e<=n[r]){let i=n[r-1],a=n[r],o=a===i?0:(e-i)/(a-i);return Md(t[r-1].color,t[r].color,o)}return t[t.length-1].color}function Pd(e,t){if(t&&(t.fill&&!e.fill&&(e.fill=t.fill),t.font?.color&&e.fontColor==null&&(e.fontColor=t.font.color),t.font?.bold&&e.fontBold==null&&(e.fontBold=!0),t.font?.italic&&e.fontItalic==null&&(e.fontItalic=!0),t.font?.underline&&e.fontUnderline==null&&(e.fontUnderline=!0),t.font?.strike&&e.fontStrike==null&&(e.fontStrike=!0),t.numFmt&&e.numFmt==null&&(e.numFmt={numFmtId:t.numFmt.numFmtId,formatCode:t.numFmt.formatCode||null}),t.border)){let n=e.border??{};e.border={left:n.left??t.border.left,right:n.right??t.border.right,top:n.top??t.border.top,bottom:n.bottom??t.border.bottom,diagonalUp:n.diagonalUp??t.border.diagonalUp,diagonalDown:n.diagonalDown??t.border.diagonalDown}}}function Fd(e,t,n,r,i){let a={};if(!r.compiled.length)return a;for(let o of r.compiled){if(!Sd(o.sqref,t,n))continue;let s=o.rule,c=Cd(e);if(s.type===`expression`){let e=o.sqref[0];if(!e)continue;if(au(s.formula,{row:t,col:n,anchorRow:e.top,anchorCol:e.left,cellIndex:r.cellIndex,definedNames:r.definedNames,depth:0})&&(Pd(a,s.dxfId==null?null:i[s.dxfId]),s.stopIfTrue))break;continue}if(s.type===`cellIs`){let t=s.formulas.map(Ad),n=wd(e),r=!1;c!=null&&t.every(e=>e.num!=null)?r=kd(c,s.operator,t.map(e=>e.num)):n!=null&&t.every(e=>e.text!=null)&&(r=jd(n,s.operator,t.map(e=>e.text))),r&&Pd(a,s.dxfId==null?null:i[s.dxfId])}else if(s.type===`top10`){if(c==null||o.top10Threshold==null)continue;(o.top10IsTop?c>=o.top10Threshold:c<=o.top10Threshold)&&Pd(a,s.dxfId==null?null:i[s.dxfId])}else if(s.type===`aboveAverage`){if(c==null||o.avgValue==null)continue;let e=o.avgStdDev==null?0:o.avgStdDev*(s.stdDev??1),t=o.avgIsAbove?o.avgValue+e:o.avgValue-e,n=s.equalAverage===!0;(o.avgIsAbove?n?c>=t:c>t:n?c<=t:c<t)&&Pd(a,s.dxfId==null?null:i[s.dxfId])}else if(s.type===`iconSet`){if(c==null||!o.iconThresholds?.length)continue;let e=o.iconThresholds,t=e.length,n=0;for(let r=1;r<t;r++)c>=e[r]&&(n=r);if(s.reverse&&(n=t-1-n),s.customIcons&&s.customIcons[n]){let e=s.customIcons[n];e.iconSet!==`NoIcons`&&(a.iconSet={name:e.iconSet,index:e.iconId})}else a.iconSet={name:s.iconSet,index:n}}else if(s.type===`colorScale`){if(c==null||!o.scaleStops||a.fill)continue;let e=Nd(c,s.stops,o.scaleStops);a.fill={patternType:`solid`,fgColor:e,bgColor:e}}else if(s.type===`dataBar`){if(c==null||o.barMin==null||o.barMax==null||a.dataBar)continue;let e=o.barMax-o.barMin,t=e===0?0:Math.max(0,Math.min(1,(c-o.barMin)/e));a.dataBar={color:s.color,ratio:t,gradient:s.gradient}}}return a}function Id(e,t){return e===2?!0:e===1?!1:zc(void 0,t)===`rtl`}const Ld=e=>{let t=e.text;return typeof t==`string`?t:void 0};function Rd(e,t){let n=e===2||Vc(t);return{needBidi:n,baseRtl:n&&Id(e,t)}}function zd(e,t){let n=e.length;if(n===0)return{order:[],rtl:[]};let r=``,i=Array(n);for(let t=0;t<n;t++){i[t]=r.length;let n=Ld(e[t])??``;r+=n.length>0?n:``}let{levels:a,paragraphLevel:o}=Rc().computeLevels(r,t?`rtl`:`ltr`),{order:s,segLevels:c}=Hc(a,o,i),l=Array(n);for(let e=0;e<n;e++)l[e]=(c[e]&1)==1;return{order:s,rtl:l}}function Bd(e,t=8){return Math.trunc((256*e+Math.trunc(128/t))/256*t)}function Vd(e){return Math.round(e*Me)}var Hd=class e{indices;cumulativeDelta;customPx;defaultPx;constructor(e,t,n,r,i){this.maxIndex=r,this.defaultPx=Number.isFinite(t)&&t>=0?t:0,this.indices=i?i.map(e=>e.index):Object.keys(e).map(Number).filter(e=>e>=1&&e<=r).sort((e,t)=>e-t),this.cumulativeDelta=Array(this.indices.length),this.customPx=Array(this.indices.length);let a=0;for(let t=0;t<this.indices.length;t++){let r=i?.[t]?.px??n(e[this.indices[t]]),o=Number.isFinite(r)&&r>=0?r:this.defaultPx;this.customPx[t]=o,a+=o-this.defaultPx,this.cumulativeDelta[t]=a}}deltaBefore(e){let t=0,n=this.indices.length;for(;t<n;){let r=t+n>>1;this.indices[r]<e?t=r+1:n=r}return t===0?0:this.cumulativeDelta[t-1]}offsetOf(e){return(e-1)*this.defaultPx+this.deltaBefore(e)}indexAt(e){if(e<0)return{index:1,partial:0};let t=1,n=this.maxIndex;for(;t<n;){let r=t+n+1>>1;this.offsetOf(r)<=e?t=r:n=r-1}return{index:t,partial:e-this.offsetOf(t)}}scrollableIndexAt(e,t){let n=e+this.offsetOf(t);return n>=this.offsetOf(this.maxIndex)+this.sizeOf(this.maxIndex)?null:this.indexAt(n).index}sizeOf(e){return this.offsetOf(e+1)-this.offsetOf(e)}scaled(t){return new e({},Math.round(this.defaultPx*t),e=>e,this.maxIndex,this.indices.map((e,n)=>({index:e,px:Math.round(this.customPx[n]*t)})))}countToCover(e,t){if(e>this.maxIndex||t<=0)return 0;let n=this.offsetOf(e)+t;if(n>=this.offsetOf(this.maxIndex)+this.sizeOf(this.maxIndex))return this.maxIndex-e+1;let r=this.indexAt(n);return r.index-e+ +(r.partial>0)}bandsToCover(e,t,n=1/0){let r=Math.max(1,e),i=Math.min(this.maxIndex,t);if(r>i||n<=0)return[];let a=[],o=0,s=Math.max(r,this.indexAt(this.offsetOf(r)).index);for(;s<=i&&o<n;){let e=this.sizeOf(s);if(Number.isFinite(e)&&e>0&&(a.push({index:s,size:e}),o+=e),s>=i)break;let t=this.offsetOf(s+1),n=this.indexAt(t).index;s=Math.max(s+1,n)}return a}};const Ud=1048576,Wd=16384;var Gd=class e{static cache=new WeakMap;static forWorksheet(t,n){let r=this.cache.get(t);if(r&&Object.is(r.mdw,n))return r.geometry;let i=new e(t,n);return this.cache.set(t,{mdw:n,geometry:i}),i}static forWorksheetMeasured(e,t){let n=this.cache.get(e);return n?n.geometry:this.forWorksheet(e,t())}static invalidate(e){this.cache.delete(e)}col;row;maximumDigitWidth;freezeRows;freezeCols;scaledCache=null;constructor(e,t){this.maximumDigitWidth=t,this.freezeRows=Math.min(Ud,Math.max(0,e.freezeRows??0)),this.freezeCols=Math.min(Wd,Math.max(0,e.freezeCols??0));let n=Bd(e.defaultColWidth,t),r=new Float64Array(Wd+1);r.fill(NaN);let i=new Int32Array(Wd+2);for(let e=1;e<i.length;e++)i[e]=e;let a=e=>{let t=e;for(;i[t]!==t;)t=i[t];let n=e;for(;i[n]!==n;){let e=i[n];i[n]=t,n=e}return t},o=e.colWidthRanges??[];for(let e=o.length-1;e>=0;e--){let t=o[e],n=Math.max(1,Math.min(Wd,Math.trunc(t.min))),s=Math.max(1,Math.min(Wd,Math.trunc(t.max)));if(s<n||!Number.isFinite(t.width)||t.width<0)continue;let c=a(n);for(;c<=s;)r[c]=t.width,i[c]=a(c+1),c=i[c]}for(let[t,n]of Object.entries(e.colWidths)){let e=Number(t);Number.isInteger(e)&&e>=1&&e<=16384&&(r[e]=n)}let s=[];for(let e=1;e<=Wd;e++){let i=r[e];if(!Number.isFinite(i)||i<0)continue;let a=Bd(i,t);a!==n&&s.push({index:e,px:a})}this.col=new Hd({},n,e=>Bd(e,t),Wd,s),this.row=new Hd(e.rowHeights,Vd(e.defaultRowHeight),Vd,Ud)}logicalFrozenExtent(){return{width:this.col.offsetOf(this.freezeCols+1),height:this.row.offsetOf(this.freezeRows+1)}}roundedFrozenExtent(e){let t=this.axesAtScale(e);return{width:t.col.offsetOf(this.freezeCols+1),height:t.row.offsetOf(this.freezeRows+1)}}effectiveFrozenBands(e){let t=this.axesAtScale(e.scale),n=t.row.bandsToCover(1,Math.max(0,e.rows),Math.max(0,e.height-Math.round(e.headerHeight*e.scale))),r=t.col.bandsToCover(1,Math.max(0,e.cols),Math.max(0,e.width-Math.round(e.headerWidth*e.scale)));return{rows:n.at(-1)?.index??0,cols:r.at(-1)?.index??0}}logicalContentExtent(e,t,n,r){return{width:n+this.col.offsetOf(Math.min(Wd,t)+1),height:r+this.row.offsetOf(Math.min(Ud,e)+1)}}roundedContentExtent(e,t,n,r,i){let a=this.axesAtScale(n);return{width:Math.round(r*n)+a.col.offsetOf(Math.min(Wd,t)+1),height:Math.round(i*n)+a.row.offsetOf(Math.min(Ud,e)+1)}}cellAt(e,t,n){if(e<0||t<0)return null;let r=this.rowAt(t,n.scrollY,n.scale);if(r===null)return null;let i=this.colAt(e,n.scrollX,n.scale);return i===null?null:{row:r,col:i}}rowAt(e,t,n=1){if(e<0)return null;let r=this.axesAtScale(n).row,i=r.offsetOf(this.freezeRows+1);return e<i?this.indexWithinFrozen(r,e,this.freezeRows):r.scrollableIndexAt(e-i+t,this.freezeRows+1)}colAt(e,t,n=1){if(e<0)return null;let r=this.axesAtScale(n).col,i=r.offsetOf(this.freezeCols+1);return e<i?this.indexWithinFrozen(r,e,this.freezeCols):r.scrollableIndexAt(e-i+t,this.freezeCols+1)}cellRect(e,t,n){if(e<1||e>1048576||t<1||t>16384)return null;let r=this.axesAtScale(n.scale),i=Math.round(n.headerWidth*n.scale),a=Math.round(n.headerHeight*n.scale),o=this.roundedFrozenExtent(n.scale);return{x:t<=this.freezeCols?i+r.col.offsetOf(t):this.scrollableCellPosition(r.col,t,this.freezeCols,n.scrollX,i+o.width),y:e<=this.freezeRows?a+r.row.offsetOf(e):this.scrollableCellPosition(r.row,e,this.freezeRows,n.scrollY,a+o.height),w:r.col.sizeOf(t),h:r.row.sizeOf(e)}}visibleRange(e){let t=this.axesAtScale(e.scale),n=this.roundedFrozenExtent(e.scale),r=t.col.indexAt(e.scrollX+t.col.offsetOf(this.freezeCols+1)),i=t.row.indexAt(e.scrollY+t.row.offsetOf(this.freezeRows+1)),a=e.width-Math.round(e.headerWidth*e.scale)-n.width,o=e.height-Math.round(e.headerHeight*e.scale)-n.height,s=e.buffer??0;return{range:{row:i.index,col:r.index,rows:t.row.countToCover(i.index,o+i.partial*2)+s,cols:t.col.countToCover(r.index,a+r.partial*2)+s},offsetX:r.partial/e.scale,offsetY:i.partial/e.scale,frozenWidth:n.width/e.scale,frozenHeight:n.height/e.scale}}scrollOffsetForCell(e,t,n){let r=this.roundedFrozenExtent(n.scale),i=Math.round(n.headerHeight*n.scale)+r.height,a=Math.round(n.headerWidth*n.scale)+r.width,o=n.currentY,s=this.axesAtScale(n.scale);if(e>this.freezeRows&&e<=1048576){let t=s.row.offsetOf(e)-s.row.offsetOf(this.freezeRows+1),r=s.row.sizeOf(e);o=this.alignedOffset(t,r,n.currentY,i,n.viewportHeight,n.align)}let c=n.currentX;if(t>this.freezeCols&&t<=16384){let e=s.col.offsetOf(t)-s.col.offsetOf(this.freezeCols+1),r=s.col.sizeOf(t);c=this.alignedOffset(e,r,n.currentX,a,n.viewportWidth,n.align)}return{x:Math.max(0,c),y:Math.max(0,o)}}axesAtScale(e){if(this.scaledCache?.scale===e)return this.scaledCache;let t={scale:e,row:this.row.scaled(e),col:this.col.scaled(e)};return this.scaledCache=t,t}indexWithinFrozen(e,t,n){if(n===0)return null;let r=e.indexAt(t).index;return r<=n?r:null}scrollableCellPosition(e,t,n,r,i){let a=e.indexAt(r+e.offsetOf(n+1));return i-a.partial+e.offsetOf(t)-e.offsetOf(a.index)}alignedOffset(e,t,n,r,i,a){let o=r+e-n;return a===`start`?e:a===`center`?e-(i-r-t)/2:a===`end`?e-(i-r-t):o<r?e:o+t>i?e-(i-r-t):n}};function Kd(e){let t=/^\\$?([A-Z]+)\\$?(\\d+)$/.exec(e.trim());if(!t)return null;let n=t[1],r=0;for(let e=0;e<n.length;e++)r=r*26+(n.charCodeAt(e)-64);let i=parseInt(t[2],10);return i<1||i>1048576||r>16384?null:{row:i,col:r}}function qd(e,t){let n=``,r=t;for(;r>0;){let e=(r-1)%26;n=String.fromCharCode(65+e)+n,r=Math.floor((r-1)/26)}return`${n}${e}`}function Jd(e,t,n,r,i,a=!1){let o=t.codePointAt(0)??0,s=wl(o);if(a&&Ml(o)){e.save(),e.translate(n,r+i/2),e.textAlign=`center`,e.textBaseline=`middle`,Kl(e,()=>e.fillText(t,0,0)),e.restore();return}if(s===`Tr`){let a=Dl(o);if(a!==null){e.fillText(String.fromCodePoint(a),n,r);return}if(Al(o)){e.fillText(t,n,r);return}e.save(),e.translate(n,r+i/2),e.rotate(Math.PI/2),e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(t,0,0),e.restore();return}let c=s===`Tu`?Tl(o):null;e.fillText(c===null?t:String.fromCodePoint(c),n,r)}function Yd(e){return e.editAs===`oneCell`&&(e.nativeExtCx??0)>0&&(e.nativeExtCy??0)>0}function Xd(e,t){return t?`${e}|duo:${t.clr1}:${t.clr2}`:e}const Zd=R.map(e=>`\"${e}\"`).join(`, `),Qd=z.map(e=>`\"${e}\"`).join(`, `),$d=`\"Calibri\", \"Carlito\", \"Cambria\", \"Caladea\", Arial, \"Noto Naskh Arabic\", \"Noto Sans Arabic\", ${Zd}, sans-serif`,ef=`\"Cambria\", \"Caladea\", \"Times New Roman\", \"Liberation Serif\", \"Noto Naskh Arabic\", \"Noto Sans Arabic\", ${Qd}, serif`;function tf(e){let t=e?F(e):null,n=I(e);if(!t)return n===`serif`?ef:n===`mono`?`\"Courier New\", \"Liberation Mono\", monospace`:$d;let r=n===`serif`;return`${L(t,r?`serif`:`sans`).map(e=>`\"${e}\"`).join(`, `)}, \"Calibri\", \"Carlito\", \"Cambria\", \"Caladea\", Arial, \"Noto Naskh Arabic\", \"Noto Sans Arabic\", ${r?Qd:Zd}, ${r?`serif`:`sans-serif`}`}function nf(e){return e?`\"${e}\", ${tf(e)}`:$d}function rf(e,t,n){return n-e-t}function af(e,t,n,r){return r?rf(e,t,n):e}const of=`#7a7a7a`;function sf(e,t){let n=t*Me,r=typeof OffscreenCanvas<`u`?new OffscreenCanvas(1,1):typeof document<`u`?document.createElement(`canvas`):null;if(!r)return 8;let i=r.getContext(`2d`);if(!i)return 8;i.font=`${n}px ${nf(e)}`;let a=0;for(let e of`0123456789`){let t=i.measureText(e).width;t>a&&(a=t)}return Math.round(a)||8}function cf(e){return!e.defaultFontFamily||!e.defaultFontSize?8:sf(e.defaultFontFamily,e.defaultFontSize)}function lf(e){return Gd.forWorksheetMeasured(e,()=>cf(e))}function uf(e,t,n,r,i,a,o){if(!(i<=0||a<=0)){if(o){let a=e.createLinearGradient(n,r,n+i,r);a.addColorStop(0,It(t,.85)),a.addColorStop(1,It(t,.15)),e.fillStyle=a}else e.fillStyle=It(t);e.fillRect(n,r,i,a)}}function df(e){switch(e){case`solid`:return 1;case`darkGray`:return .75;case`mediumGray`:return .5;case`lightGray`:return .25;case`gray125`:return .125;case`gray0625`:return .0625;case`darkHorizontal`:case`darkVertical`:case`darkDown`:case`darkUp`:case`darkGrid`:case`darkTrellis`:return .5;case`lightHorizontal`:case`lightVertical`:case`lightDown`:case`lightUp`:case`lightGrid`:case`lightTrellis`:return .25;default:return 1}}const ff=new Map,pf={gray0625:[128,0,8,0,128,0,8,0],gray125:[136,0,34,0,136,0,34,0],lightGray:[170,0,85,0,170,0,85,0],mediumGray:[170,85,170,85,170,85,170,85],darkGray:[119,221,119,221,119,221,119,221],darkHorizontal:[4095,4095,0,4095,4095,0,4095,4095,0,4095,4095,0],lightHorizontal:[4095,0,0,4095,0,0,4095,0,0,4095,0,0],darkVertical:Array(12).fill(3510),lightVertical:Array(12).fill(2340),darkGrid:[204,204,51,51,204,204,51,51],lightGrid:[255,136,136,136,255,136,136,136],darkDown:[204,102,51,153,204,102,51,153],lightDown:[136,68,34,17,136,68,34,17],darkUp:[51,102,204,153,51,102,204,153],lightUp:[17,34,68,136,17,34,68,136],darkTrellis:[255,102,255,153,255,102,255,153],lightTrellis:[153,102,102,153,153,102,102,153]};function mf(e,t,n,r){let i=e.getTransform(),a=Math.max(1,Math.round(Math.hypot(i.a,i.b))),o=Math.max(1,Math.round(Math.hypot(i.c,i.d))),s=`${t}|${n}|${r}|${a}|${o}`;if(ff.has(s))return ff.get(s);let c=pf[t];if(!c)return ff.set(s,null),null;let l=c.length,u=wt(l,l);if(!u)return ff.set(s,null),null;let d=u.getContext(`2d`);if(!d)return ff.set(s,null),null;d.fillStyle=It(r),d.fillRect(0,0,l,l),d.fillStyle=It(n);for(let e=0;e<l;e++){let t=c[e];for(let n=0;n<l;n++)t&1<<l-1-n&&d.fillRect(n,e,1,1)}let f=e.createPattern(u,`repeat`);if(f&&typeof DOMMatrix<`u`&&(a>=2||o>=2)){let e=new DOMMatrix;e.scaleSelf(1/a,1/o),f.setTransform(e)}return ff.set(s,f),f}function hf(e,t,n,r,i,a){if(t.gradient&&t.gradient.stops.length>0)return e.fillStyle=gf(e,t.gradient,n,r,i,a),e.fillRect(n,r,i,a),!0;let o=t.patternType;if(!o||o===`none`)return!1;let s=t.fgColor??`000000`,c=t.bgColor??`FFFFFF`;if(o===`solid`)return e.fillStyle=It(s),e.fillRect(n,r,i,a),!0;let l=mf(e,o,s,c);if(l)e.fillStyle=l;else{let t=df(o);e.fillStyle=t>=1?It(s):yf(s,c,t)}return e.fillRect(n,r,i,a),!0}function gf(e,t,n,r,i,a){let o;if(t.gradientType===`path`){let s=n+i*(t.left+(1-t.right-t.left)/2),c=r+a*(t.top+(1-t.bottom-t.top)/2),l=Math.hypot(Math.max(s-n,n+i-s),Math.max(c-r,r+a-c));o=e.createRadialGradient(s,c,0,s,c,l)}else{let s=t.degree*Math.PI/180,c=n+i/2,l=r+a/2,u=(Math.abs(Math.cos(s))*i+Math.abs(Math.sin(s))*a)/2;o=e.createLinearGradient(c-Math.cos(s)*u,l-Math.sin(s)*u,c+Math.cos(s)*u,l+Math.sin(s)*u)}for(let e of t.stops){let t=Math.min(1,Math.max(0,e.position));o.addColorStop(t,It(e.color))}return o}const _f=Kd;function vf(e,t,n,r,i){let a=Math.max(4,Math.min(8,Math.min(r,i)*.18));e.save(),e.fillStyle=`#D40000`,e.beginPath(),e.moveTo(t+r-a,n),e.lineTo(t+r,n),e.lineTo(t+r,n+a),e.closePath(),e.fill(),e.restore()}function yf(e,t,n){let r=e.replace(`#`,``),i=t.replace(`#`,``),a=parseInt(r.slice(0,2),16),o=parseInt(r.slice(2,4),16),s=parseInt(r.slice(4,6),16),c=parseInt(i.slice(0,2),16),l=parseInt(i.slice(2,4),16),u=parseInt(i.slice(4,6),16),d=Math.min(1,Math.max(0,n));return`rgb(${Math.round(a*d+c*(1-d))},${Math.round(o*d+l*(1-d))},${Math.round(s*d+u*(1-d))})`}function bf(e,t,n=1,r){let i=Math.round(e*Me*n*t);return r?Math.max(i,Math.round(Xl(r,e*Me*t))):i}function xf(e,t=1){return`${e.italic?`italic `:``}${e.bold?`bold `:``}${Math.max(1,Math.round(e.size*Me*t))}px ${nf(e.name)}`}function Sf(e,t,n,r,i,a,o,s,c,l){if(t.length===0)return;let u=n?.fontId??0,d=a.fonts[u]??a.fonts[0];if(!d)return;let f=n?.alignment??`left`;e.save(),e.font=xf(d,c),e.textBaseline=`top`,e.textAlign=`left`,e.fillStyle=l;let p=s+Math.round(2*c);if(f===`noControl`){let n=o;for(let r of t)e.fillText(r.text,n,p),n+=e.measureText(r.text).width;e.restore();return}let m=nu(t,r,o,f,t=>Cf(e,t,i));for(let t of m){let n=e.measureText(t.text).width,r=[...t.text];if(t.spread===`distribute`&&r.length>1&&n<t.width){let i=(t.width-n)/(r.length-1);try{e.letterSpacing=`${i}px`}catch{}e.fillText(t.text,t.x,p);try{e.letterSpacing=`0px`}catch{}}else t.spread===`center`?e.fillText(t.text,t.x+(t.width-n)/2,p):e.fillText(t.text,t.x,p)}e.restore()}function Cf(e,t,n){let r=e.font;e.font=n;let i=e.measureText(t).width;return e.font=r,i}function wf(e,t,n,r,i,a,o=1){if(e.save(),e.strokeStyle=i,e.lineWidth=.5,e.beginPath(),a){let i=r-1,a=r+1,s=i+xs(i,.5,o),c=a+xs(a,.5,o);e.moveTo(t,s),e.lineTo(n,s),e.moveTo(t,c),e.lineTo(n,c)}else{let i=r+xs(r,.5,o);e.moveTo(t,i),e.lineTo(n,i)}e.stroke(),e.restore()}function Tf(e,t){let n=t.font;return n?{bold:n.bold,italic:n.italic,underline:n.underline,underlineStyle:n.underlineStyle,strike:n.strike,size:n.size??e.size,color:n.color??e.color,name:n.name??e.name,vertAlign:n.vertAlign}:e}function Ef(e,t){let n=e.cellXfs[t]??e.cellXfs[0]??{fontId:0,fillId:0,borderId:0,numFmtId:0,alignH:null,alignV:null,wrapText:!1};return{font:e.fonts[n.fontId]??{bold:!1,italic:!1,underline:!1,strike:!1,size:11,color:null,name:null},fill:e.fills[n.fillId]??{patternType:`none`,fgColor:null,bgColor:null},border:e.borders[n.borderId]??{left:null,right:null,top:null,bottom:null},xf:n}}function Df(e,t,n){let r=[];for(let i of t.split(`\n`))r.push(...jf(e,i,n));return r}function Of(e,t){if(e.length===0||t.length===0)return 0;let n=[...e,...t],r=e.length;return r-Kc(n,r,Gc,1)}function kf(e,t){let n=t;for(;n<e.length;){let t=e[e.length-n-1],r=e[e.length-n],i=t?.codePointAt(0),a=r?.codePointAt(0);if(i!==void 0&&a!==void 0&&Jc(i)&&Jc(a))n++;else break}return n>=e.length?t:n}function Af(e,t){if(e.length===0||t.length===0)return 0;let n=t[0].codePointAt(0),r=e.length-1,i=e[r].codePointAt(0);if(i===void 0||n===void 0||i===8203||n===8203||!nl(i,n))return 0;for(;r>0;){let t=e[r-1].codePointAt(0),n=e[r].codePointAt(0);if(t===void 0||n===void 0||!nl(t,n))break;r--}return r===0?0:e.length-r}function jf(e,t,n){let r=[],i=[],a=0;for(;a<t.length;){let e=t[a],n=e.codePointAt(0)??0;if(qc(n))i.push(e),a+=n>65535?2:1;else if(e===` `){let e=a;for(;e<t.length&&t[e]===` `;)e++;i.push(t.slice(a,e)),a=e}else{let e=a;for(;e<t.length;){let n=t[e],r=n.codePointAt(0)??0;if(n===` `||qc(r))break;e+=r>65535?2:1}let n=t.slice(a,e),r=ol(n)?ml(n):null;if(r&&r.length>0){let e=0;for(let t of r)i.push(n.slice(e,t)),e=t;i.push(n.slice(e))}else i.push(n);a=e}}let o=``;for(let t of i){if(o===``){o=t;continue}let i=o+t;if(e.measureText(i).width<=n)o=i;else{let e=t.replace(/^ +/,``);e===``&&(e=t);let n=[...o],i=Of(n,[...e]);if(i>0){let t=n.length-i;r.push(n.slice(0,t).join(``)),o=n.slice(t).join(``)+e}else r.push(o),o=e}}return r.push(o),r}function Mf(e,t,n,r,i){let a=[],o=[],s=0,c=0,l=null,u=n.size,d=n.name,f=0,p=()=>{o.length!==0&&(a.push({segments:o,maxFontSize:c,maxFontFamily:l,para:f}),o=[],s=0,c=0,l=null)},m=()=>{if(o.length===0){a.push({segments:[],maxFontSize:u||11,maxFontFamily:d,para:f});return}p()},h=(t,n)=>{if(!t)return;u=n.size,d=n.name,e.font=xf(Ff(n),r);let a=e.measureText(t).width;if(o.length>0&&s+a>i){let i=o.flatMap(e=>[...e.text]),a=Of(i,[...t]);a>0?a=kf(i,a):!ol(t)&&!ol(o[o.length-1]?.text??``)&&!/^\\s/u.test(t)&&!/\\s$/u.test(i.at(-1)??``)&&(a=Af(i,[...t]));let u=o[o.length-1],d=[...u.text];a>d.length&&(a=d.length);let f=null;if(a>0){let t=d.slice(0,d.length-a),n=d.slice(d.length-a);if(e.font=xf(Ff(u.font),r),t.length===0)o.pop();else{let n=t.join(``);u.text=n,u.width=e.measureText(n).width}let i=n.join(``);f={text:i,font:u.font,width:e.measureText(i).width}}p(),f&&(o.push(f),s+=f.width,f.font.size>c&&(c=f.font.size,l=f.font.name)),e.font=xf(Ff(n),r)}o.push({text:t,font:n,width:a}),s+=a,n.size>c&&(c=n.size,l=n.name)},g=(t,n)=>{let a=ml(t);if(a.length===0){h(t,n);return}e.font=xf(Ff(n),r);let o=t=>e.measureText(t).width,c=sl(t),l=t.length,u=0;for(;u<l;){let e=i-s,r=gl(t,a,u,e,o,c);if(r<=u){if(s>0){p();continue}let n=a.find(e=>e>u)??l,i=t.slice(u,n),d=yl(i),f=gl(i,d,0,e,o,c);f<=0&&(f=d.length>0?d[0]:i.length),r=u+f}h(t.slice(u,r),n),u=r,u<l&&p()}};for(let e of t){let t=Tf(n,e),r=[],i=0;for(;i<e.text.length;){let t=e.text[i],n=t.codePointAt(0)??0;if(n===10)r.push(`\n`),i+=1;else if(qc(n))r.push(t),i+=n>65535?2:1;else if(t===` `){let t=i;for(;t<e.text.length&&e.text[t]===` `;)t++;r.push(e.text.slice(i,t)),i=t}else{let t=i;for(;t<e.text.length;){let n=e.text[t],r=n.codePointAt(0)??0;if(n===` `||n===`\n`||qc(r))break;t+=r>65535?2:1}r.push(e.text.slice(i,t)),i=t}}for(let e of r)e===`\n`?(m(),f++):ol(e)?g(e,t):h(e,t)}return(o.length>0||a.length>0)&&m(),a}function Nf(e,t,n){return e===`middle`?{underline:t+Math.round(n*.55),strike:t}:e===`bottom`?{underline:t+1,strike:t-Math.round(n*.35)}:{underline:t+n+1,strike:t+Math.round(n*.5)}}function Pf(e){let{alignV:t,cy:n,cellH:r,paddingY:i}=e;return t===`top`?{baseline:`top`,textY:n+i}:t===`center`?{baseline:`middle`,textY:n+r/2}:{baseline:`bottom`,textY:n+r-i}}function Ff(e){return e.vertAlign===`superscript`||e.vertAlign===`subscript`?{...e,size:e.size*.65}:e}function If(e,t,n,r,i,a,o,s){e.textAlign=`left`,e.textBaseline=i;let c=s.needBidi?zd(t,s.baseRtl??!1):null,l=e,u=n;for(let n=0;n<t.length;n++){let d=c?c.order[n]:n;if(c)try{l.direction=c.rtl[d]?`rtl`:`ltr`}catch{}let f=t[d],p=Ff(f.font);e.font=xf(p,a);let m=s.fontColor??f.font.color;e.fillStyle=m?It(m):`#000000`;let h=bf(f.font.size,a),g=0;f.font.vertAlign===`superscript`?g=-Math.round(h*.35):f.font.vertAlign===`subscript`&&(g=Math.round(h*.1)),e.fillText(f.text,u,r+g);let _=bf(p.size,a);if(f.font.underline||f.font.strike){let t=Nf(i,r,_);if(f.font.underline){let n=m?It(m):`#000000`,r=f.font.underlineStyle===`double`||f.font.underlineStyle===`doubleAccounting`;wf(e,u,u+f.width,t.underline+g,n,r,o)}if(f.font.strike){let n=t.strike+g,r=n+xs(n,.5,o);e.save(),e.strokeStyle=m?It(m):`#000000`,e.lineWidth=.5,e.beginPath(),e.moveTo(u,r),e.lineTo(u+f.width,r),e.stroke(),e.restore()}}u+=f.width}if(c)try{l.direction=`ltr`}catch{}}function Lf(e,t,n,r,i,a,o,s){let{alignH:c,cx:l,cellW:u,leftPad:d,paddingX:f}=n,p=t.reduce((e,t)=>e+t.width,0),m;m=c===`right`?l+u-f-p:c===`center`?l+u/2-p/2:l+d;let{needBidi:h,baseRtl:g}=Rd(a.readingOrder,t.map(e=>e.text).join(``));If(e,t,m,o,s,r,i,{fontColor:a.fontColor,needBidi:h,baseRtl:g})}function Rf(e,t,n,r,i,a,o,s,c){Lf(e,t.map(t=>{let r=Tf(n,t);return e.font=xf(Ff(r),i),{text:t.text,font:r,width:e.measureText(t.text).width}}),r,i,a,o,s,c)}function zf(e,t,n,r,i,a,o={}){let{baseline:s,textY:c}=Pf(r);Rf(e,t,n,r,i,a,o,c,s)}function Bf(e,t,n,r,i,a,o={}){let{alignV:s,cy:c,cellH:l,paddingY:u}=r,d=[[]];for(let e of t){let t=e.text.split(`\n`);for(let n=0;n<t.length;n++)n>0&&d.push([]),t[n]!==``&&d[d.length-1].push({...e,text:t[n]})}let f=n.size,p=n.name,m=d.map(e=>{if(e.length===0)return{pt:f||11,family:p};let t=0,r=null;for(let i of e){let e=Tf(n,i);e.size>t&&(t=e.size,r=e.name),f=e.size,p=e.name}return{pt:t,family:r}}).map(e=>bf(e.pt,i,1.2,e.family??void 0)),h=m.reduce((e,t)=>e+t,0),g;g=s===`top`?c+u:s===`center`?c+(l-h)/2:c+l-h-u;for(let t=0;t<d.length;t++){let s=d[t];s.length>0&&Rf(e,s,n,r,i,a,o,g,`top`),g+=m[t]}}function Vf(e,t,n,r,i,a,o={}){t.some(e=>e.text.includes(`\n`))?Bf(e,t,n,r,i,a,o):zf(e,t,n,r,i,a,o)}function Hf(e,t,n,r,i,a){let{alignV:o,cy:s,cellH:c,leftPad:l,paddingX:u,paddingY:d}=i,f=Df(e,t,i.cellW-l-u);if(f.length===1){let{baseline:t,textY:r}=Pf(i);e.textBaseline=t,e.fillText(f[0],n,r);return}let p=bf(r.size,a,1.2,r.name??void 0),m=f.length*p,h;h=o===`top`?s+d:o===`center`?s+(c-m)/2:s+c-m-d,e.textBaseline=`top`;for(let t=0;t<f.length;t++)e.fillText(f[t],n,h+t*p)}function Uf(e,t,n,r,i,a,o={}){let{alignH:s,alignV:c,cx:l,cy:u,cellW:d,cellH:f,leftPad:p,paddingX:m,paddingY:h}=r,g=Mf(e,t,n,i,d-p-m);if(g.length===1){let{baseline:t,textY:n}=Pf(r);Lf(e,g[0].segments,r,i,a,o,n,t);return}let _=g.reduce((e,t)=>e+bf(t.maxFontSize,i,1.2,t.maxFontFamily??void 0),0),v;v=c===`top`?u+h:c===`center`?u+(f-_)/2:u+f-_-h;let y=t.map(e=>e.text).join(``).split(`\n`).map(e=>Rd(o.readingOrder,e));for(let t of g){let n=t.segments.reduce((e,t)=>e+t.width,0),r;r=s===`right`?l+d-m-n:s===`center`?l+d/2-n/2:l+p;let{needBidi:c,baseRtl:u}=y[t.para];If(e,t.segments,r,v,`top`,i,a,{fontColor:o.fontColor,needBidi:c,baseRtl:u}),v+=bf(t.maxFontSize,i,1.2,t.maxFontFamily??void 0)}}function Wf(e){let t=``;for(;e>0;){let n=(e-1)%26;t=String.fromCharCode(65+n)+t,e=Math.floor((e-1)/26)}return t}const Gf=[`#FF0000`,`#FFFF00`,`#00B050`],Kf=[`#FF0000`,`#FF6600`,`#FFFF00`,`#00B050`],qf=[`#FF0000`,`#FF6600`,`#FFFF00`,`#92D050`,`#00B050`];function Jf(e,t,n,r,i,a){if(t===`NoIcons`)return;let o=t||`3TrafficLights1`,s=parseInt(o[0])||3,c=s===5?qf:s===4?Kf:Gf,l=c[Math.max(0,Math.min(n,c.length-1))];if(e.save(),e.fillStyle=l,o.includes(`Arrow`)){let t=a/2;e.beginPath(),n===s-1?(e.moveTo(r+t,i),e.lineTo(r+a,i+a),e.lineTo(r,i+a)):n===0?(e.moveTo(r,i),e.lineTo(r+a,i),e.lineTo(r+t,i+a)):(e.moveTo(r,i+a*.3),e.lineTo(r+a,i+t),e.lineTo(r,i+a*.7)),e.closePath(),e.fill()}else o.includes(`Flag`)?(e.beginPath(),e.moveTo(r,i),e.lineTo(r+a,i),e.lineTo(r,i+a),e.closePath(),e.fill()):(e.beginPath(),e.arc(r+a/2,i+a/2,a/2,0,Math.PI*2),e.fill());e.restore()}function Yf(e,t,n,r,i){let a=Math.max(6,Math.round(Math.min(r,i)*.45)),o=t+r-a-1,s=n+i-a-1;e.save(),e.fillStyle=`#D0D0D0`,e.fillRect(o,s,a,a),e.fillStyle=`#444444`;let c=a*.55,l=o+(a-c)/2,u=s+(a-c*.5)/2;e.beginPath(),e.moveTo(l,u),e.lineTo(l+c,u),e.lineTo(l+c/2,u+c*.5),e.closePath(),e.fill(),e.restore()}function Xf(e){let t=new Map,n=np(`worksheet-table-style-index`,`expand-styled-table-coordinates`);for(let r of e.tables??[]){if(!r.styleName)continue;let{top:e,bottom:i,left:a,right:o}=r.range;vd(r.range,n);let s=r.accentColor||`#808080`,c=!!r.isCustom,l=Math.max(0,r.headerRowCount??1),u=Math.max(0,r.totalsRowCount??0),d=e+l-1,f=i-u+1;for(let p=e;p<=i;p++){let m=l>0&&p<=d,h=u>0&&p>=f,g=!m&&!h?p-d-1:-1,_=r.showRowStripes&&g>=0?g%2==1?r.band1HorizontalDxf:r.band2HorizontalDxf:void 0;for(let l=a;l<=o;l++)yd(t,`${p}:${l}`,{accent:s,isCustom:c,isHeader:m,isTotals:h,isBanded:r.showRowStripes&&g>=0&&g%2==1,isFirstCol:r.showFirstColumn&&l===a,isLastCol:r.showLastColumn&&l===o,isTopEdge:p===e,isBottomEdge:p===i,wholeTableDxf:r.wholeTableDxf,headerRowDxf:r.headerRowDxf,totalRowDxf:r.totalRowDxf,firstColumnDxf:r.firstColumnDxf,lastColumnDxf:r.lastColumnDxf,stripeDxf:_},n)}}return t}function Zf(e,t,n,r){let i=t?.border?.horizontal,a=t?.border?.top,o=t?.border?.bottom,s=t?.border?.left,c=t?.border?.right,l=n?.border?.bottom,u=n?.border?.top;if(i||a||o||s||c||l||u){let t={left:null,right:null,top:null,bottom:null};return e.isTopEdge?t.top=a??null:i&&(t.top=i),e.isHeader&&l?t.bottom=l:e.isBottomEdge?t.bottom=o??null:i&&(t.bottom=i),(e.isFirstCol||r===0)&&(t.left=s??null),e.isLastCol&&(t.right=c??null),{kind:`dxf`,border:t}}return e.isCustom?{kind:`none`}:{kind:`accent`,color:e.accent,lineWidth:e.isHeader?1.5:1,topEdge:e.isTopEdge}}function Qf(e){let t=new Map,n=np(`worksheet-sparkline-index`,`index-sparkline-coordinates`);for(let r of e.sparklineGroups??[]){let e=1/0,i=-1/0;if(r.minAxisType===`group`||r.maxAxisType===`group`){for(let t of r.sparklines)for(let n of t.values)typeof n==`number`&&(n<e&&(e=n),n>i&&(i=n));(!isFinite(e)||!isFinite(i))&&(e=0,i=1)}for(let a of r.sparklines){let o=a.values.filter(e=>typeof e==`number`),s=o.length?Math.min(...o):0,c=o.length?Math.max(...o):1,l=r.minAxisType===`custom`&&typeof r.manualMin==`number`?r.manualMin:r.minAxisType===`group`?e:s,u=r.maxAxisType===`custom`&&typeof r.manualMax==`number`?r.manualMax:r.maxAxisType===`group`?i:c;yd(t,`${a.row}:${a.col}`,{kind:r.kind,values:a.values,min:l,max:u,displayEmptyCellsAs:r.displayEmptyCellsAs===`zero`||r.displayEmptyCellsAs===`span`?r.displayEmptyCellsAs:`gap`,displayXAxis:r.displayXAxis,lineWeight:r.lineWeight,markers:r.markers,high:r.high,low:r.low,first:r.first,last:r.last,negative:r.negative,colorSeries:r.colorSeries,colorNegative:r.colorNegative,colorAxis:r.colorAxis,colorMarkers:r.colorMarkers,colorFirst:r.colorFirst,colorLast:r.colorLast,colorHigh:r.colorHigh,colorLow:r.colorLow},n)}}return t}function $f(e){let t=e.replace(`#`,``);if(t.length<6)return`#F2F2F2`;let n=parseInt(t.slice(0,2),16),r=parseInt(t.slice(2,4),16),i=parseInt(t.slice(4,6),16),a=e=>Math.round(e*.2+255*.8),o=e=>e.toString(16).padStart(2,`0`).toUpperCase();return`#${o(a(n))}${o(a(r))}${o(a(i))}`}function ep(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h){if(m<=0||h<=0)return;let{styles:g,cellMap:_,mergeAnchorMap:v,mergeSkipSet:y,cfContext:b,cs:x,dpr:S}=t,C=i.length,w=a.length,T=new Set(s),E=new Set(o),D=(e,n)=>t.rtl?rf(e,n,t.canvasW):e,O=[],k=-c;for(let e=0;e<C;e++)O.push(k),k+=i[e];let A=[],j=-l;for(let e=0;e<w;e++)A.push(j),j+=a[e];e.save(),e.beginPath(),e.rect(D(f,m),p,m,h),e.clip();let ee=[],M=[],N=[];for(let i of t.worksheet.mergeCells??[]){let a=i.top,f=i.left;if(T.has(a)&&E.has(f)||!s.some(e=>e>=i.top&&e<=i.bottom)||!o.some(e=>e>=i.left&&e<=i.right))continue;let p=t.mergeAnchorMap.get(`${a}:${f}`);if(!p)continue;let m=u-c+t.colAxis.offsetOf(f)-t.colAxis.offsetOf(r),h=d-l+t.rowAxis.offsetOf(a)-t.rowAxis.offsetOf(n),_=p.totalW,v=p.totalH;m=D(m,_);let y=`${a}:${f}`,C=t.cellMap.get(y),{font:w,fill:O,border:k,xf:A}=Ef(g,C?.styleIndex??0),j=Fd(C,a,f,b,g.dxfs??[]);if(hf(e,j.fill??O,m,h,_,v),j.dataBar&&j.dataBar.ratio>0){let t=Math.max(0,(_-4)*j.dataBar.ratio);uf(e,j.dataBar.color,m+2,h+2,t,v-4,j.dataBar.gradient)}let ee=kp(Op(k,a,f,p.right,p.bottom,t.cellMap,g),j.border);if(M.push(()=>jp(e,ee,m,h,_,v,S)),!C)continue;let N=Bu(C,g,j.numFmt,t.worksheet.date1904),P=N.text;if(!P||P===`0`&&t.worksheet.showZeros===!1)continue;let te=w.bold||!!j.fontBold,F=w.italic||!!j.fontItalic,I=w.underline||!!j.fontUnderline,L=w.strike||!!j.fontStrike,R=te!==w.bold||F!==w.italic||I!==w.underline||L!==w.strike?{...w,bold:te,italic:F,underline:I,strike:L}:w;e.font=xf(R,x);let z=t.hyperlinkMap.get(y)?`#0563C1`:j.fontColor??N.color??w.color;e.fillStyle=z?It(z):`#000000`;let B=C.value.type===`number`,V=A.alignH??(B?`right`:`left`),ne=A.alignV??`bottom`,H=A.indent?Math.round(A.indent*3*t.mdw):0,re=3+(V===`left`||!A.alignH?H:0);e.save(),e.beginPath(),e.rect(m,h,_,v),e.clip();let U;V===`right`?(U=m+_-3,e.textAlign=`right`):V===`center`?(U=m+_/2,e.textAlign=`center`):(U=m+re,e.textAlign=`left`);let ie=C.value.type===`text`?C.value.runs:void 0,W=ie&&ie.length>0;if(A.wrapText&&W)Uf(e,ie,R,{alignH:V,alignV:ne,cx:m,cy:h,cellW:_,cellH:v,leftPad:re,paddingX:3,paddingY:2},x,S,{fontColor:j.fontColor,readingOrder:A.readingOrder});else if(A.wrapText)Hf(e,P,U,R,{alignH:V,alignV:ne,cx:m,cy:h,cellW:_,cellH:v,leftPad:re,paddingX:3,paddingY:2},x);else if(W)Vf(e,ie,R,{alignH:V,alignV:ne,cx:m,cy:h,cellW:_,cellH:v,leftPad:re,paddingX:3,paddingY:2},x,S,{fontColor:j.fontColor,readingOrder:A.readingOrder});else{let{baseline:t,textY:n}=Pf({alignH:V,alignV:ne,cx:m,cy:h,cellW:_,cellH:v,leftPad:re,paddingX:3,paddingY:2});e.textBaseline=t,e.fillText(P,U,n)}e.restore()}for(let n=0;n<w;n++){let r=s[n],c=d+A[n],l=a[n];if((c+l<=p||c>=p+h)&&!o.some(e=>{let t=v.get(`${r}:${e}`);return t!=null&&c+t.totalH>p&&c<p+h}))continue;let w=new Set,T=new Set,E=-1,k=e=>{if(E>=0&&e-E>=2){for(let t=E;t<e-1;t++)w.add(t);for(let t=E+1;t<e;t++)T.add(t)}E=-1};for(let e=0;e<=C;e++){let t=!1,n=!1;if(e<C){let i=`${r}:${o[e]}`;if(!y.has(i)&&!v.has(i)){let e=_.get(i);t=Ef(g,e?.styleIndex??0).xf.alignH===`centerContinuous`,n=!!(e&&e.value&&e.value.type!==`empty`)}}t?n&&E>=0&&e>E?(k(e),E=e):E<0&&(E=e):k(e)}for(let a=0;a<C;a++){let s=o[a],d=u+O[a],E=i[a],k=`${r}:${s}`;if(y.has(k))continue;let A=v.get(k),j=A?A.totalW:E,P=A?A.totalH:l,te=d+j<=f||d>=f+m;if(c+P<=p||c>=p+h||te&&!t.overflowTextAnchors.has(k))continue;let F=D(d,j),I=_.get(k),{font:L,fill:R,border:z,xf:B}=Ef(g,I?.styleIndex??0),V=Fd(I,r,s,b,g.dxfs??[]),ne=V.fill??R,H=t.tableStyleMap.get(k),re=g.dxfs??[],U=e=>e==null?void 0:re[e],ie=U(H?.wholeTableDxf),W=U(H?.headerRowDxf),G=U(H?.totalRowDxf),K=U(H?.firstColumnDxf),ae=U(H?.lastColumnDxf),oe=U(H?.stripeDxf),q=H?.isHeader&&W?.fill?.fgColor?W:H?.isTotals&&G?.fill?.fgColor?G:H?.isLastCol&&ae?.fill?.fgColor?ae:H?.isFirstCol&&K?.fill?.fgColor?K:oe?.fill?.fgColor?oe:!H?.isHeader&&!H?.isTotals&&ie?.fill?.fgColor?ie:void 0;if(hf(e,ne,F,c,j,P)||(H&&q?.fill?.fgColor?(e.fillStyle=It(q.fill.fgColor),e.fillRect(F,c,j,P)):H&&!H.isCustom&&H.isBanded&&(e.fillStyle=$f(H.accent),e.fillRect(F,c,j,P))),t.commentCells.has(k)&&vf(e,F,c,j,P),V.dataBar&&V.dataBar.ratio>0){let t=Math.max(0,(j-4)*V.dataBar.ratio);uf(e,V.dataBar.color,F+2,c+2,t,P-4,V.dataBar.gradient)}let se=t.sparklineMap.get(k);if(se&&Yo(e,{x:F,y:c,w:j,h:P},se),t.worksheet.isChartSheet!==!0&&t.worksheet.showGridlines!==!1){if(e.strokeStyle=`#d0d0d0`,e.lineWidth=.5,e.beginPath(),!w.has(a)){let t=F+j+xs(F+j,.5,S);e.moveTo(t,c),e.lineTo(t,c+P)}let t=c+P+xs(c+P,.5,S);if(e.moveTo(F,t),e.lineTo(F+j,t),n===0){let t=c+xs(c,.5,S);e.moveTo(F,t),e.lineTo(F+j,t)}if(a===0){let t=F+xs(F,.5,S);e.moveTo(t,c),e.lineTo(t,c+P)}e.stroke()}let ce=kp(A?Op(z,r,s,A.right,A.bottom,_,g):z,V.border);(w.has(a)||T.has(a))&&(ce={...ce,left:T.has(a)?null:ce.left,right:w.has(a)?null:ce.right});let le=_.get(`${r-1}:${s}`),ue=le?Ef(g,le.styleIndex??0).border.bottom:null;if(ue?.style&&(n===0||ce.top?.style)&&(ce={...ce,top:Fp(ce.top,ue)}),!T.has(a)){let e=_.get(`${r}:${s-1}`),t=e?Ef(g,e.styleIndex??0).border.right:null;t?.style&&(a===0||ce.left?.style)&&(ce={...ce,left:Fp(ce.left,t)})}let de=H?Zf(H,ie,W,s):null,fe=t.autoFilterCells.has(k),pe=()=>{if(de){if(de.kind===`dxf`)jp(e,de.border,F,c,j,P,S);else if(de.kind===`accent`){let t=.5/S;if(e.strokeStyle=de.color,e.lineWidth=de.lineWidth,e.beginPath(),e.moveTo(F,c+P-t),e.lineTo(F+j,c+P-t),de.topEdge){let t=c+xs(c,de.lineWidth,S);e.moveTo(F,t),e.lineTo(F+j,t)}e.stroke()}}fe&&Yf(e,F,c,E,P)};if(A){let t=ce;M.push(()=>jp(e,t,F,c,j,P,S)),pe()}else{let t=ce;N.push(()=>{jp(e,t,F,c,j,P,S),pe()})}if(!I)continue;let me=Bu(I,g,V.numFmt,t.worksheet.date1904),J=me.text;!J||J===`0`&&t.worksheet.showZeros===!1||ee.push(()=>{let n=H?.isHeader?W:H?.isTotals?G:H?.isLastCol&&ae?ae:H?.isFirstCol&&K?K:oe||(H?ie:void 0),l=H?H.isCustom?!!n?.font?.bold:H.isHeader||H.isTotals:!1,u=L.bold||!!V.fontBold||l,d=L.italic||!!V.fontItalic,f=L.underline||!!V.fontUnderline,p=L.strike||!!V.fontStrike,m=u!==L.bold||d!==L.italic||f!==L.underline||p!==L.strike?{...L,bold:u,italic:d,underline:f,strike:p}:L;e.font=xf(m,x);let h=t.hyperlinkMap.get(k),b=n?.font?.color??null,w=h?`#0563C1`:V.fontColor??me.color??b??L.color;e.fillStyle=w?It(w):`#000000`;let T=I.value.type===`number`,E=B.alignH??(T?`right`:`left`),D=B.alignV??`bottom`,O=B.indent?Math.round(B.indent*3*t.mdw):0,ee=V.iconSet?Math.max(8,Math.round(Math.min(j,P)*.55)):0,M=ee>0?ee+4:0,N=3+(E===`left`||!B.alignH?O:0)+M,te=j,R=a;if(E===`centerContinuous`&&!A)for(let e=a+1;e<C;e++){let t=`${r}:${o[e]}`;if(y.has(t)||v.has(t))break;let n=_.get(t);if(n&&n.value.type!==`empty`||Ef(g,n?.styleIndex??0).xf.alignH!==`centerContinuous`)break;te+=i[e],R=e}let z=t.rtl?F-(te-j):F,ne=E===`centerContinuous`?z:F,re=E===`centerContinuous`?te:j,U=J.includes(`\n`);if(!A&&!B.wrapText&&!B.textRotation&&!T&&!U){let n=e.measureText(J).width,s=E===`centerContinuous`,c=s?n+6:n+N+3,l=s?te:j;if(c>l){let e=c-l,n=0,u=0;E===`right`?u=e:E===`center`||s?(u=e/2,n=e/2):n=e;let d=t.rtl?-1:1,f=t.rtl?a-1:R+1,p=t.rtl?1:-1,m=t.rtl?R+1:a-1;if(n>0){let e=n;for(let t=f;t>=0&&t<C&&e>0;t+=d){let n=`${r}:${o[t]}`;if(y.has(n)||v.has(n))break;let a=_.get(n);if(a&&a.value.type!==`empty`)break;re+=i[t],e-=i[t]}}if(u>0){let e=u;for(let t=m;t>=0&&t<C&&e>0;t+=p){let n=`${r}:${o[t]}`;if(y.has(n)||v.has(n))break;let a=_.get(n);if(a&&a.value.type!==`empty`)break;ne-=i[t],re+=i[t],e-=i[t]}}}}let q=J,se=0;if(E===`fill`&&!T&&J.length>0){let t=Math.max(1,j-6),n=e.measureText(J).width;if(n>0&&n<t){let e=Math.max(1,Math.floor(t/n));q=J.repeat(e)}}if(E===`distributed`||E===`justify`&&!B.wrapText&&!U){let t=Math.max(1,j-6),n=e.measureText(q).width,r=Math.max(1,[...q].length-1);n<t&&(se=Math.max(0,(t-n)/r))}let ce,le;E===`right`?(ce=F+j-3,le=`right`):E===`center`?(ce=F+j/2,le=`center`):E===`centerContinuous`?(ce=z+te/2,le=`center`):E===`distributed`||E===`justify`&&!B.wrapText&&!U?(ce=F+3,le=`left`):(ce=F+N,le=`left`);let ue=B.textRotation??0,de=ue===255,fe=ue>0&&ue!==255;if(V.iconSet&&ee>0&&(e.save(),e.beginPath(),e.rect(F,c,j,P),e.clip(),Jf(e,V.iconSet.name,V.iconSet.index,F+2,c+(P-ee)/2,ee),e.restore()),e.save(),e.beginPath(),e.rect(ne,c,re,P),e.clip(),de){let t=bf(L.size,x,1.1),n=[...J].length*t,r=D===`top`?c+2:D===`center`?c+(P-n)/2:c+P-n-2;e.textAlign=`center`,e.textBaseline=`top`;for(let n of J){let i=n.codePointAt(0)??0,a=Ml(i)&&Gl(e,i);Jd(e,n,F+j/2,r,t,a),r+=t}e.restore();return}if(fe){let t=ue<=90?-(ue*Math.PI/180):(ue-90)*Math.PI/180;e.translate(F+j/2,c+P/2),e.rotate(t),e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(J,0,0),e.restore();return}if(B.shrinkToFit){let t=e.measureText(J).width,n=j-N-3;if(t>n&&t>0){let r=n/t,i=E===`right`?F+j-3:E===`center`?F+j/2:F+N;e.transform(r,0,0,1,i*(1-r),0)}}if(e.textAlign=le,se>0)try{e.letterSpacing=`${se}px`}catch{}try{e.direction=Id(B.readingOrder,J)?`rtl`:`ltr`}catch{}let pe=I.value.type===`text`?I.value.runs:void 0,he=pe&&pe.length>0;if(B.wrapText&&he)Uf(e,pe,m,{alignH:E,alignV:D,cx:F,cy:c,cellW:j,cellH:P,leftPad:N,paddingX:3,paddingY:2},x,S,{fontColor:V.fontColor,readingOrder:B.readingOrder});else if(B.wrapText)Hf(e,J,ce,m,{alignH:E,alignV:D,cx:F,cy:c,cellW:j,cellH:P,leftPad:N,paddingX:3,paddingY:2},x);else if(he)Vf(e,pe,m,{alignH:E,alignV:D,cx:F,cy:c,cellW:j,cellH:P,leftPad:N,paddingX:3,paddingY:2},x,S,{fontColor:V.fontColor,readingOrder:B.readingOrder});else{let t=m.vertAlign,n=bf(L.size,x),r=0;t===`superscript`?r=-Math.round(n*.35):t===`subscript`&&(r=Math.round(n*.1));let i=t?{...m,size:m.size*.65}:m;t&&(e.font=xf(i,x));let a=null,o=()=>a??=e.measureText(J),s=()=>{let e=Math.min(o().width,re-N-3);return{x:E===`right`?F+j-3-e:E===`center`?F+j/2-e/2:F+N,width:e}},l=bf(i.size,x);if(m.underline||h){let{x:t,width:n}=s(),i=(D===`top`?c+2+l+1:D===`center`?c+P/2+Math.round(l*.55):c+P-2+1)+r,a=h?`#0563C1`:w?It(w):`#000000`,o=m.underlineStyle===`double`||m.underlineStyle===`doubleAccounting`;wf(e,t,t+n,i,a,o,S)}if(m.strike){let{x:t,width:n}=s(),i=(D===`top`?c+2+Math.round(l*.5):D===`center`?c+P/2:c+P-2-Math.round(l*.35))+r,a=i+xs(i,.5,S);e.save(),e.strokeStyle=w?It(w):`#000000`,e.lineWidth=.5,e.beginPath(),e.moveTo(t,a),e.lineTo(t+n,a),e.stroke(),e.restore()}if(J.includes(`\n`)){let t=J.split(`\n`),n=bf(L.size,x,1.2,L.name??void 0),i=t.length*n,a;D===`top`?(a=c+2,e.textBaseline=`top`):D===`center`?(a=c+(P-i)/2,e.textBaseline=`top`):(a=c+P-i-2,e.textBaseline=`top`);for(let i=0;i<t.length;i++)e.fillText(t[i],ce,a+i*n+r)}else{let{baseline:t,textY:n}=Pf({alignH:E,alignV:D,cx:F,cy:c,cellW:j,cellH:P,leftPad:N,paddingX:3,paddingY:2});e.textBaseline=t,e.fillText(q,ce,n+r)}}let ge=I.value.type===`text`?I.value.phoneticRuns:void 0;if(I.showPhonetic&&ge&&ge.length>0&&!J.includes(`\n`)){let t=xf(m,x),n=Cf(e,J,t),r;r=E===`right`?F+j-3-n:E===`center`?F+j/2-n/2:F+N;let i=w?It(w):`#000000`;Sf(e,ge,I.value.type===`text`?I.value.phoneticPr:void 0,J,t,g,r,c,x,i)}e.restore(),J&&t.onTextRun&&t.onTextRun({sheetName:t.worksheet.name,cellRef:qd(r,s),text:J,x:F,y:c,width:j,height:P,row:r,col:s})})}}for(let e of N)e();for(let e of M)e();for(let e of ee)e();e.restore()}const tp=new WeakMap;function np(e,t){return{resource:e,operation:t}}function rp(e){let t=tp.get(e);if(t)return t;let n=np(`worksheet-cell-index`,`index-worksheet-cells`),r=bd(e.rows,n),i=new Map;for(let t of e.rows){let e=t.cells.filter(e=>e.value.type!==`empty`).map(e=>e.col).sort((e,t)=>e-t);e.length>0&&i.set(t.index,e)}let a=new Set,o=np(`worksheet-merge-skip-index`,`expand-merged-cell-coordinates`);for(let t of e.mergeCells??[]){vd(t,o,1);for(let e=t.top;e<=t.bottom;e++)for(let n=t.left;n<=t.right;n++)e===t.top&&n===t.left||xd(a,`${e}:${n}`,o)}let s=new Set;if(e.autoFilter){let t=e.autoFilter,n=np(`worksheet-auto-filter-index`,`expand-auto-filter-coordinates`);vd({top:t.top,bottom:t.top,left:t.left,right:t.right},n);for(let e=t.left;e<=t.right;e++)xd(s,`${t.top}:${e}`,n)}let c=new Map,l=np(`worksheet-hyperlink-index`,`index-hyperlink-coordinates`);for(let t of e.hyperlinks??[])t.url&&yd(c,`${t.row}:${t.col}`,t.url,l);let u=new Set,d=np(`worksheet-comment-index`,`index-comment-coordinates`);for(let t of e.commentRefs??[]){let e=_f(t);e&&xd(u,`${e.row}:${e.col}`,d)}let f={cellMap:r,nonEmptyColsByRow:i,cfContext:Dd(e,r),mergeSkipSet:a,autoFilterCells:s,hyperlinkMap:c,commentCells:u,tableStyleMap:Xf(e),sparklineMap:Qf(e)};return tp.set(e,f),f}function ip(e,t){let n=0,r=e.length;for(;n<r;){let i=n+r>>1;e[i]<t?n=i+1:r=i}return n>0?e[n-1]:void 0}function ap(e,t){let n=0,r=e.length;for(;n<r;){let i=n+r>>1;e[i]<=t?n=i+1:r=i}return n<e.length?e[n]:void 0}function op(e,t,n,r){return(e.mergeCells??[]).some(e=>t>=e.top&&t<=e.bottom&&e.right>=n&&e.left<=r)}function sp(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g){let _=d,v=f,y=new Set,b=(i,u,d,f)=>{let p=`${i}:${u}`,_=r.get(p);if(!_||_.value.type===`empty`||s.has(p))return!1;let{font:v,xf:y}=Ef(n,_.styleIndex??0),b=Fd(_,i,u,a,n.dxfs??[]),x=Bu(_,n,b.numFmt,t.date1904).text;if(!x||x===`0`&&t.showZeros===!1||_.value.type===`number`||y.wrapText||y.textRotation||x.includes(`\n`))return!1;let S=o.get(p),C=S?.isHeader?S.headerRowDxf:S?.isTotals?S.totalRowDxf:S?.isLastCol&&S.lastColumnDxf!=null?S.lastColumnDxf:S?.isFirstCol&&S.firstColumnDxf!=null?S.firstColumnDxf:S?.stripeDxf??S?.wholeTableDxf,w=C==null?void 0:n.dxfs?.[C],T=!!S&&!S.isCustom&&(S.isHeader||S.isTotals),E=v.bold||!!b.fontBold||T||!!w?.font?.bold,D=v.italic||!!b.fontItalic;e.font=xf(E!==v.bold||D!==v.italic?{...v,bold:E,italic:D}:v,m);let O=y.alignH??`left`,k=y.indent?Math.round(y.indent*3*h):0,A=c.sizeOf(u),j=l.sizeOf(i),ee=b.iconSet?Math.max(8,Math.round(Math.min(A,j)*.55)):0,M=ee>0?ee+4:0,N=3+(O===`left`||!y.alignH?k:0)+M,P=e.measureText(x).width+N+3,te=Math.max(0,P-A);return te<=0?!1:(O===`center`||O===`centerContinuous`?te/2:((g?d===`higher`?`left`:`right`:d===`higher`?`right`:`left`)==`left`?O===`right`:O!==`right`)?te:0)>f};for(let e of u){let n=i.get(e);if(!n)continue;let a=ip(n,d),o=r.get(`${e}:${d}`);a!=null&&a>=p&&(!o||o.value.type===`empty`)&&!op(t,e,a+1,d)&&b(e,a,`higher`,c.offsetOf(d)-c.offsetOf(a+1))&&(_=Math.min(_,a),y.add(`${e}:${a}`));let s=ap(n,f),l=r.get(`${e}:${f}`);s!=null&&s<=16384&&(!l||l.value.type===`empty`)&&!op(t,e,f,s-1)&&b(e,s,`lower`,c.offsetOf(s)-c.offsetOf(f+1))&&(v=Math.max(v,s),y.add(`${e}:${s}`))}return{startCol:_,endCol:v,anchorKeys:y}}function cp(e,t){tp.set(t,rp(e))}function lp(e,t,n,r,i={}){let a=i.dpr??1,o=i.cellScale??1,s=t.isChartSheet===!0,c=lf(t),l=c.maximumDigitWidth,u=e.canvas.width/a,d=e.canvas.height/a;e.clearRect(0,0,u,d),e.fillStyle=`#ffffff`,e.fillRect(0,0,u,d);let f=e=>Math.round(e*o),p=s?0:f(50),m=s?0:f(22),{row:h,col:g,rows:_,cols:v}=r,y=(i.scrollOffsetX??0)*o,b=(i.scrollOffsetY??0)*o,{col:x,row:S}=c.axesAtScale(o),C=x.bandsToCover(1,s?0:i.freezeCols??0,Math.max(0,u-p)),w=S.bandsToCover(1,s?0:i.freezeRows??0,Math.max(0,d-m)),T=w.at(-1)?.index??0,E=C.at(-1)?.index??0,D=C.map(({index:e})=>e),O=w.map(({index:e})=>e),k=C.map(({size:e})=>e),A=w.map(({size:e})=>e),j=k.reduce((e,t)=>e+t,0),ee=A.reduce((e,t)=>e+t,0),M=x.bandsToCover(g,Math.min(16384,g+v-1)),N=S.bandsToCover(h,Math.min(1048576,h+_-1)),P=M.map(({index:e})=>e),te=N.map(({index:e})=>e),F=M.map(({size:e})=>e),I=N.map(({size:e})=>e),{cellMap:L,cfContext:R,mergeSkipSet:z,autoFilterCells:B,hyperlinkMap:V,commentCells:ne,tableStyleMap:H,sparklineMap:re,nonEmptyColsByRow:U}=rp(t),ie=new Map,W=np(`worksheet-merge-anchor-index`,`index-merge-anchor-coordinates`);for(let e of t.mergeCells??[]){let t=x.offsetOf(e.right+1)-x.offsetOf(e.left),n=S.offsetOf(e.bottom+1)-S.offsetOf(e.top);yd(ie,`${e.top}:${e.left}`,{totalW:t,totalH:n,right:e.right,bottom:e.bottom},W)}let G=P[0]??g,K=P.at(-1)??Math.min(16384,g+v-1),ae=sp(e,t,n,L,U,R,H,ie,x,S,[...new Set([...O,...te])],G,K,E+1,o,l,t.rightToLeft===!0),oe=x.bandsToCover(ae.startCol,ae.endCol),q=oe.map(({index:e})=>e),se=oe.map(({size:e})=>e),ce=y+x.offsetOf(G)-x.offsetOf(ae.startCol),le={worksheet:t,styles:n,cellMap:L,mergeAnchorMap:ie,mergeSkipSet:z,cfContext:R,colWidths:se,rowHeights:I,colAxis:x,rowAxis:S,frozenColWidths:k,frozenRowHeights:A,frozenW:j,frozenH:ee,startRow:h,startCol:g,cs:o,dpr:a,autoFilterCells:B,hyperlinkMap:V,commentCells:ne,tableStyleMap:H,sparklineMap:re,overflowTextAnchors:ae.anchorKeys,mdw:l,onTextRun:i.onTextRun,rtl:t.rightToLeft===!0,canvasW:u,threeD:i.threeD},ue=p,de=m,fe=ue+j,pe=de+ee,me=Math.max(0,u-fe),J=Math.max(0,d-pe);T>0&&E>0&&ep(e,le,1,1,k,A,D,O,0,0,ue,de,ue,de,j,ee),T>0&&ep(e,le,1,ae.startCol,se,A,q,O,ce,0,fe,de,fe,de,me,ee),E>0&&ep(e,le,h,1,k,I,D,te,0,b,ue,pe,ue,pe,j,J),s||ep(e,le,h,ae.startCol,se,I,q,te,ce,b,fe,pe,fe,pe,me,J),dp(e,t,x,S,i.loadedImages,o,h,g,y,b,fe,pe,me,J,t.rightToLeft===!0,u,i.threeD,i.regionMap),!s&&t.slicers&&t.slicers.length>0&&Rp(e,t,x,S,o,h,g,y,b,fe,pe,me,J,t.rightToLeft===!0,u),s||up(e,u,d,h,g,_,v,F,I,P,te,y,b,k,A,D,O,j,ee,p,m,o,a,i.selectedRowRange??null,i.selectedColRange??null,t.rightToLeft===!0);let he=t.rightToLeft===!0;if(T>0){e.save(),e.strokeStyle=of,e.lineWidth=.5,e.beginPath();let t=pe+xs(pe,.5,a);e.moveTo(0,t),e.lineTo(u,t),e.stroke(),e.restore()}if(E>0){e.save(),e.strokeStyle=of,e.lineWidth=.5,e.beginPath();let t=he?u-fe:fe,n=t+xs(t,.5,a);e.moveTo(n,m),e.lineTo(n,d),e.stroke(),e.restore()}}function up(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T){let E=`#f8f9fa`,D=`#e8eaed`,O=`#caddf6`,k=`#c8ccd0`,A=`#5b9bd5`,j=`#444`,ee=e=>!w||e<w.start||e>w.end?E:w.strong?O:D,M=e=>!w||e<w.start||e>w.end?k:w.strong?A:k,N=e=>!C||e<C.start||e>C.end?E:C.strong?O:D,P=e=>!C||e<C.start||e>C.end?k:C.strong?A:k,te=`${Math.max(1,Math.round(11*x))}px ${$d}`,F=y+_,I=b+v,L=.5/S,R=(e,n)=>T?rf(e,n,t):e,z=T?t-y:0;e.fillStyle=E,e.fillRect(z,0,y,b),e.strokeStyle=k,e.lineWidth=.5,e.beginPath();let B=T?z+xs(z,.5,S):z+y-L;e.moveTo(B,0),e.lineTo(B,b),e.moveTo(z,b-L),e.lineTo(z+y,b-L),e.stroke(),e.font=te,e.fillStyle=j;let V=(t,n,r)=>{let i=R(n,r);e.fillStyle=ee(t),e.fillRect(i,0,r,b),e.strokeStyle=M(t),e.lineWidth=.5,e.beginPath();let a=i+xs(i,.5,S);e.moveTo(a,0),e.lineTo(a,b),e.moveTo(i,b-L),e.lineTo(i+r,b-L),e.stroke(),e.fillStyle=j,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(Wf(t),i+r/2,b/2)},ne=(t,n,r)=>{let i=z;e.fillStyle=N(t),e.fillRect(i,n,y,r),e.strokeStyle=P(t),e.lineWidth=.5,e.beginPath();let a=n+xs(n,.5,S),o=T?i+xs(i,.5,S):i+y-L;e.moveTo(o,n),e.lineTo(o,n+r),e.moveTo(i,a),e.lineTo(i+y,a),e.stroke(),e.fillStyle=j,e.textBaseline=`middle`;let s=Math.max(2,Math.round(4*x));T?(e.textAlign=`left`,e.fillText(String(t),i+s,n+r/2)):(e.textAlign=`right`,e.fillText(String(t),i+y-s,n+r/2))};if(p.length>0){e.save(),e.beginPath(),e.rect(R(y,_),0,_,b),e.clip();let t=y;for(let e=0;e<p.length;e++)V(h[e],t,p[e]),t+=p[e];e.restore()}e.save(),e.beginPath(),e.rect(R(F,t-F),0,t-F,b),e.clip();let H=F-d;for(let e=0;e<s.length;e++){let n=s[e];H+n>F&&H<t&&V(l[e],H,n),H+=n}if(e.restore(),m.length>0){e.save(),e.beginPath(),e.rect(z,b,y,v),e.clip();let t=b;for(let e=0;e<m.length;e++)ne(g[e],t,m[e]),t+=m[e];e.restore()}e.save(),e.beginPath(),e.rect(z,I,y,n-I),e.clip();let re=I-f;for(let e=0;e<c.length;e++){let t=c[e];re+t>I&&re<n&&ne(u[e],re,t),re+=t}e.restore()}function dp(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_){let v=[],y=0;if(i)for(let e of t.images??[])v.push({kind:`image`,zOrder:e.zOrder??2**53-1,fallbackOrder:y++,anchor:e});for(let e of t.shapeGroups??[])for(let t of e.shapes)v.push({kind:`shape`,zOrder:t.zOrder??2**53-1,fallbackOrder:y++,anchor:e,shape:t});for(let e of t.charts??[])v.push({kind:`chart`,zOrder:e.zOrder??2**53-1,fallbackOrder:y++,anchor:e});v.sort((e,t)=>e.zOrder-t.zOrder||e.fallbackOrder-t.fallbackOrder);for(let y of v)y.kind===`image`?mp(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,[y.anchor]):y.kind===`shape`?hp(e,t,n,r,a,o,s,c,l,u,d,f,p,i,m,h,[{...y.anchor,shapes:[y.shape]}]):Ip(e,t,n,r,a,o,s,c,l,u,d,f,p,m,h,[y.anchor],g,_)}function fp(e,t){return e.offsetOf(t)}function pp(e,t){return e.offsetOf(t)}function mp(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g=t.images){if(f<=0||p<=0)return;let _=fp(n,s),v=pp(r,o);e.save(),e.beginPath();let y=af(u,f,h,m);e.rect(y,d,f,p),e.clip();for(let t of g){let o=i.get(Xd(t.imagePath,t.duotone));if(!o)continue;let s=t.fromCol+1,g=t.fromRow+1,b=fp(n,s)+t.fromColOff*a/je,x=pp(r,g)+t.fromRowOff*a/je,S,C;if(Yd(t))S=t.nativeExtCx*a/je,C=t.nativeExtCy*a/je;else{let e=t.toCol+1,i=t.toRow+1,o=fp(n,e)+t.toColOff*a/je,s=pp(r,i)+t.toRowOff*a/je;S=o-b,C=s-x}if(S<=0||C<=0)continue;let w=af(u+(b-_)-c,S,h,m),T=d+(x-v)-l;w+S<y||w>y+f||T+C<d||T>d+p||(t.alpha!=null&&t.alpha<1?(e.save(),e.globalAlpha=t.alpha,zo(e,o,t.srcRect,w,T,S,C),e.restore()):zo(e,o,t.srcRect,w,T,S,C))}e.restore()}function hp(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g=t.shapeGroups??[]){if(d<=0||f<=0||g.length===0)return;let _=fp(n,o),v=pp(r,a);e.save(),e.beginPath();let y=af(l,d,h,m);e.rect(y,u,d,f),e.clip();for(let t of g){let a=t.fromCol+1,o=t.fromRow+1,g=fp(n,a)+t.fromColOff*i/je,b=pp(r,o)+t.fromRowOff*i/je,x,S;if(Yd(t))x=t.nativeExtCx*i/je,S=t.nativeExtCy*i/je;else{let e=t.toCol+1,a=t.toRow+1,o=fp(n,e)+t.toColOff*i/je,s=pp(r,a)+t.toRowOff*i/je;x=o-g,S=s-b}if(x<=0||S<=0)continue;let C=af(l+(g-_)-s,x,h,m),w=u+(b-v)-c;if(!(C+x<y||C>y+d)&&!(w+S<u||w>u+f))for(let n of t.shapes){let t=C+n.x*x,r=w+n.y*S,a=n.w*x,o=n.h*S;a<=0||o<=0||gp(e,n,t,r,a,o,i,p)}}e.restore()}function gp(e,t,n,r,i,a,o,s){if(e.save(),t.rot!==0||t.flipH||t.flipV?(e.translate(n+i/2,r+a/2),e.rotate(t.rot*Math.PI/180),e.scale(t.flipH?-1:1,t.flipV?-1:1),e.translate(-i/2,-a/2)):e.translate(n,r),t.geom.type===`custom`)for(let n of t.geom.paths){if(n.w<=0||n.h<=0)continue;let r=i/n.w,o=a/n.h;e.beginPath();let s=0,c=0,l=0,u=0;for(let t of n.commands)switch(t.op){case`moveTo`:{let n=t.x*r,i=t.y*o;e.moveTo(n,i),s=l=n,c=u=i;break}case`lineTo`:{let n=t.x*r,i=t.y*o;e.lineTo(n,i),s=n,c=i;break}case`cubicBezTo`:{let n=t.x3*r,i=t.y3*o;e.bezierCurveTo(t.x1*r,t.y1*o,t.x2*r,t.y2*o,n,i),s=n,c=i;break}case`quadBezTo`:{let n=t.x2*r,i=t.y2*o;e.quadraticCurveTo(t.x1*r,t.y1*o,n,i),s=n,c=i;break}case`arcTo`:{let n=t.wr*r,i=t.hr*o;if(n<=0||i<=0)break;let a=t.stAng/6e4*(Math.PI/180),l=t.swAng/6e4*(Math.PI/180),u=s-Math.cos(a)*n,d=c-Math.sin(a)*i,f=a+l;e.ellipse(u,d,n,i,0,a,f,l<0),s=u+Math.cos(f)*n,c=d+Math.sin(f)*i;break}case`close`:e.closePath(),s=l,c=u;break}Tp(e,t,i,a)}else if(t.geom.type===`preset`){let n=Lt(t.fill??(t.fillColor?{fillType:`solid`,color:t.fillColor}:null),e,0,0,i,a,t.rot),r=t.strokeColor&&t.strokeWidth>0?()=>Dp(e,t,i,a):null;Di(e,t.geom.name,0,0,i,a,t.geom.adj??[],n,r,()=>{})||(e.beginPath(),e.rect(0,0,i,a),Tp(e,t,i,a))}else if(t.geom.type===`image`){let n=s?.get(Xd(t.geom.imagePath,t.geom.duotone));if(n){let r=t.geom.alpha;r!=null&&r<1?(e.save(),e.globalAlpha=r,zo(e,n,t.geom.srcRect,0,0,i,a),e.restore()):zo(e,n,t.geom.srcRect,0,0,i,a)}}t.text&&wp(e,t.text,i,a,o),e.restore()}const _p=new WeakMap;function vp(e,t){let n=e.tinted.get(t);if(n)return n;let r=e.img.naturalWidth||1,i=e.img.naturalHeight||1,a=document.createElement(`canvas`);a.width=r,a.height=i;let o=a.getContext(`2d`);return o?(o.drawImage(e.img,0,0,r,i),o.globalCompositeOperation=`source-in`,o.fillStyle=t,o.fillRect(0,0,r,i),e.tinted.set(t,a),a):e.img}function yp(e){let t=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(e)}`,n=new Image;return new Promise((e,r)=>{n.onload=()=>e(n),n.onerror=r,n.src=t})}function bp(e,t,n){let r=Math.max(1,Math.round(t*256)),i=Math.max(1,Math.round(n*256));return e.replace(/<svg([^>]*?)>/,(e,t)=>`<svg${t.replace(/\\s(?:width|height)=\"[^\"]*\"/g,``)} width=\"${r}\" height=\"${i}\">`)}function xp(e){let t=[];for(let n of e.shapeGroups??[])for(let e of n.shapes)for(let n of e.text?.paragraphs??[])for(let e of n.runs)e.type===`math`&&t.push({nodes:e.nodes,display:e.display});return t}function Sp(e){for(let t of e.shapeGroups??[])for(let e of t.shapes)for(let t of e.text?.paragraphs??[])for(let e of t.runs)if(e.type===`math`&&!_p.has(e.nodes))return!0;return!1}async function Cp(e,t){let n=xp(e).filter(e=>!_p.has(e.nodes));if(n.length!==0){await t.loadMathJax();for(let e of n)if(!_p.has(e.nodes))try{let n=await t.mathMLToSvg(_s(e.nodes,e.display)),r=await yp(bp(vs(n.svg,`#000000`),n.widthEm,n.ascentEm+n.descentEm));_p.set(e.nodes,{img:r,widthEm:n.widthEm,ascentEm:n.ascentEm,descentEm:n.descentEm,tinted:new Map})}catch{}}}function wp(e,t,n,r,i){if(n<=0||r<=0||t.paragraphs.length===0)return;let a=t.lIns/je*i,o=t.rIns/je*i,s=t.tIns/je*i,c=t.bIns/je*i,l=Math.max(0,n-a-o),u=Math.max(0,r-s-c);if(l<=0||u<=0)return;let d=e=>{let t=(e.size>0?e.size:11)*Me*i,n=nf(e.fontFace);return{font:`${e.italic?`italic `:``}${e.bold?`bold `:``}${t}px ${n}`,px:t}},f=(t,n)=>{let r=e.font;e.font=t;let i=e.measureText(`M`).actualBoundingBoxAscent;return e.font=r,i>0?i:n*.85},p=t.wrap!==`none`,m=[];for(let n of t.paragraphs){let r=n.align||`l`,a=(n.marL??0)/je*i,o=(n.marR??0)/je*i,s=(n.indent??0)/je*i,c=Math.max(0,s),u=Math.max(0,l-a-o),h=!1,g=()=>h?a:a+c,_=()=>h?u:u-c,v=[],y=0,b=0,x=0,S=!1,C=n.spaceLine?.type===`pct`,w=e=>{let r=e;return n.spaceLine&&(n.spaceLine.type===`pct`?r*=n.spaceLine.val/1e5:r=n.spaceLine.val*Me*i),t.autoFit===`norm`&&t.lnSpcReduction!=null&&n.spaceLine?.type!==`pts`&&(r*=1-t.lnSpcReduction),r},T=()=>{if(b===0){let e=(E||11)*Me*i,t=Math.max(Xl(D,e),Xl(O,e)),n=e*1.2;b=C?n:Math.max(n,t),x=f(`${e}px ${nf(D)}`,e)}b=w(b),m.push({segs:v,align:r,height:b,ascent:x,hasMath:S,leftInset:g(),availW:_()}),h=!0,v=[],y=0,b=0,x=0,S=!1},E=0,D,O;for(let t of n.runs){if(t.type===`break`){T();continue}if(t.type===`math`){let e=_p.get(t.nodes);if(!e)continue;let n=(t.fontSize??(E||11))*Me*i,o=e.widthEm*n,s=e.ascentEm*n,c=e.descentEm*n,l=t.color??`#000000`;if(t.display){T(),m.push({segs:[{kind:`math`,render:e,color:l,w:o,ascent:s,descent:c}],align:r,height:w(s+c),ascent:s,hasMath:!0,leftInset:a,availW:u}),h=!0;continue}p&&y+o>_()&&v.length>0&&T(),v.push({kind:`math`,render:e,color:l,w:o,ascent:s,descent:c}),y+=o,b=Math.max(b,s+c),x=Math.max(x,s),S=!0;continue}E=t.size>0?t.size:11,D=t.fontFace,O=t.fontFaceEa;let{font:n,px:o}=d(t),s=t.color??`#000000`,c=Math.max(Xl(t.fontFace,o),Xl(t.fontFaceEa,o)),l=o*1.2,g=C?l:Math.max(l,c);b=Math.max(b,g),x=Math.max(x,f(n,o)),e.font=n;let k=t.text.split(`\n`);for(let t=0;t<k.length;t++){t>0&&T();let r=k[t];if(!r)continue;if(!p){let t=e.measureText(r).width;v.push({kind:`text`,text:r,font:n,color:s,w:t}),y+=t;continue}let i=``;for(let t of r){let r=i+t,a=e.measureText(r).width;if(y+a>_()&&(i.length>0||v.length>0)){if(i){let t=e.measureText(i).width;v.push({kind:`text`,text:i,font:n,color:s,w:t}),y+=t}T(),i=t,e.font=n,b=Math.max(b,g),x=Math.max(x,f(n,o))}else i=r}if(i){let t=e.measureText(i).width;v.push({kind:`text`,text:i,font:n,color:s,w:t}),y+=t}}}T()}let h=m.reduce((e,t)=>e+t.height,0),g=s;t.anchor===`ctr`?g=s+(u-h)/2:t.anchor===`b`&&(g=s+Math.max(0,u-h));let _=g;for(let t of m){let n=t.segs.reduce((e,t)=>e+t.w,0),r=a+t.leftInset,i=r;if(t.align===`ctr`?i=r+Math.max(0,(t.availW-n)/2):t.align===`r`&&(i=r+Math.max(0,t.availW-n)),t.hasMath){e.textBaseline=`alphabetic`;let n=_+t.ascent;for(let r of t.segs){if(r.kind===`text`)e.font=r.font,e.fillStyle=r.color,e.fillText(r.text,i,n);else{let t=vp(r.render,r.color);e.drawImage(t,i,n-r.ascent,r.w,r.ascent+r.descent)}i+=r.w}}else{e.textBaseline=`middle`;let n=_+t.height/2;for(let r of t.segs)r.kind===`text`&&(e.font=r.font,e.fillStyle=r.color,e.fillText(r.text,i,n)),i+=r.w}_+=t.height}}function Tp(e,t,n,r){let i=Lt(t.fill??(t.fillColor?{fillType:`solid`,color:t.fillColor}:null),e,0,0,n,r,t.rot);i&&(e.fillStyle=i,e.fill()),Dp(e,t,n,r)}function Ep(e){return!e.strokeColor||e.strokeWidth<=0?null:{color:e.strokeColor,width:e.strokeWidth,...e.strokeFill?{fill:e.strokeFill}:{},...e.strokeDashStyle?{dashStyle:e.strokeDashStyle}:{},...e.strokeCustomDash?.length?{customDash:e.strokeCustomDash}:{},...e.strokeLineCap?{lineCap:e.strokeLineCap}:{},...e.strokeLineJoin?{lineJoin:e.strokeLineJoin}:{},...e.strokeMiterLimit===void 0?{}:{miterLimit:e.strokeMiterLimit},...e.strokeAlignment?{alignment:e.strokeAlignment}:{},...e.strokeCmpd?{cmpd:e.strokeCmpd}:{},...e.strokeHeadEnd?{headEnd:e.strokeHeadEnd}:{},...e.strokeTailEnd?{tailEnd:e.strokeTailEnd}:{}}}function Dp(e,t,n,r){let i=Ep(t);if(i){if(Bt(e,i,1/je),i.fill){let a=Lt(i.fill,e,0,0,n,r,t.rot);a&&(e.strokeStyle=a)}e.stroke()}}function Op(e,t,n,r,i,a,o){if(r===n&&i===t)return e;let s=(e,r)=>{if(e===t&&r===n)return null;let i=a.get(`${e}:${r}`);return i?Ef(o,i.styleIndex??0).border:null},c=s(t,r),l=s(i,n),u=s(i,r),d=(e,...t)=>{if(e?.style)return e;for(let e of t)if(e?.style)return e;return e??null};return{left:e.left,top:e.top,right:d(c?.right,u?.right,e.right),bottom:d(l?.bottom,u?.bottom,e.bottom),diagonalUp:e.diagonalUp??null,diagonalDown:e.diagonalDown??null}}function kp(e,t){if(!t)return e;let n=(e,t)=>t&&t.style?t:e??null;return{left:n(e.left,t.left),right:n(e.right,t.right),top:n(e.top,t.top),bottom:n(e.bottom,t.bottom),diagonalUp:n(e.diagonalUp,t.diagonalUp),diagonalDown:n(e.diagonalDown,t.diagonalDown)}}function Ap(e,t,n,r,i=1){return{outerStart:n?e-i:e,outerEnd:r?t+i:t,innerStart:n?e+i:e,innerEnd:r?t-i:t}}function jp(e,t,n,r,i,a,o=1){let s=[{edge:t.top,x1:n,y1:r,x2:n+i,y2:r,kind:`h`},{edge:t.bottom,x1:n,y1:r+a,x2:n+i,y2:r+a,kind:`h`},{edge:t.left,x1:n,y1:r,x2:n,y2:r+a,kind:`v`},{edge:t.right,x1:n+i,y1:r,x2:n+i,y2:r+a,kind:`v`},{edge:t.diagonalUp,x1:n,y1:r+a,x2:n+i,y2:r,kind:`d`},{edge:t.diagonalDown,x1:n,y1:r,x2:n+i,y2:r+a,kind:`d`}];for(let{edge:c,x1:l,y1:u,x2:d,y2:f,kind:p}of s){if(!c||!c.style||c.style===`none`)continue;let s=c.color?It(c.color):`#000000`;if(c.style===`double`&&p===`d`){e.strokeStyle=s,e.lineWidth=1,e.setLineDash([]);let t=d-l,n=f-u,r=Math.hypot(t,n),i=-n/r*1,a=t/r*1;e.beginPath(),e.moveTo(l+i,u+a),e.lineTo(d+i,f+a),e.moveTo(l-i,u-a),e.lineTo(d-i,f-a),e.stroke();continue}if(c.style===`double`&&p!==`d`){if(e.strokeStyle=s,e.lineWidth=1,e.setLineDash([]),e.beginPath(),p===`h`){let o=u===r,s=o?r-1:r+a+1,c=o?r+1:r+a-1,l=Ap(n,n+i,!!t.left?.style&&t.left.style!==`none`,!!t.right?.style&&t.right.style!==`none`,1);e.moveTo(l.outerStart,s),e.lineTo(l.outerEnd,s),e.moveTo(l.innerStart,c),e.lineTo(l.innerEnd,c)}else{let o=l===n,s=o?n-1:n+i+1,c=o?n+1:n+i-1,u=Ap(r,r+a,!!t.top?.style&&t.top.style!==`none`,!!t.bottom?.style&&t.bottom.style!==`none`,1);e.moveTo(s,u.outerStart),e.lineTo(s,u.outerEnd),e.moveTo(c,u.innerStart),e.lineTo(c,u.innerEnd)}e.stroke();continue}e.beginPath(),e.strokeStyle=s;let m=Mp(c.style);e.lineWidth=m;let h=Np(c.style);e.setLineDash(h);let g=p===`v`?xs(l,m,o):0,_=p===`h`?xs(u,m,o):0;e.moveTo(l+g,u+_),e.lineTo(d+g,f+_),e.stroke(),e.setLineDash([])}}function Mp(e){switch(e){case`thick`:return 3;case`medium`:case`mediumDashed`:case`mediumDashDot`:case`mediumDashDotDot`:case`slantDashDot`:return 2;case`hair`:return .5;default:return 1}}function Np(e){return jt(e)}function Pp(e){switch(e){case`double`:return 13;case`thick`:return 12;case`medium`:return 11;case`mediumDashed`:return 10;case`mediumDashDot`:return 9;case`slantDashDot`:return 8;case`mediumDashDotDot`:return 7;case`thin`:return 6;case`dashed`:return 5;case`dashDot`:return 4;case`dashDotDot`:return 3;case`dotted`:return 2;case`hair`:return 1;default:return 0}}function Fp(e,t){let n=Pp(e?.style),r=Pp(t?.style);return n===0&&r===0?null:n>=r?e??null:t??null}function Ip(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h=t.charts,g,_){if(d<=0||f<=0)return;let v=fp(n,o),y=pp(r,a),b=af(l,d,m,p);for(let t of h){let a=t.fromCol+1,o=t.fromRow+1,h=t.toCol+1,x=t.toRow+1,S=fp(n,a)+t.fromColOff*i/je,C=pp(r,o)+t.fromRowOff*i/je,w=fp(n,h)+t.toColOff*i/je,T=pp(r,x)+t.toRowOff*i/je,E=w-S,D=T-C;if(E<=0||D<=0)continue;let O=af(l+(S-v)-s,E,m,p),k=u+(C-y)-c;if(O+E<b||O>b+d||k+D<u||k>u+f)continue;e.save(),e.beginPath(),e.rect(b,u,d,f),e.clip();let A=Me*i;di(e,t.chart,{x:O,y:k,w:E,h:D},A,0,g,_),e.restore()}}const Lp=`11px \"Meiryo UI\", \"Segoe UI\", sans-serif`;function Rp(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){if(d<=0||f<=0)return;let h=t.slicers;if(!h)return;let g=fp(n,o),_=pp(r,a),v=af(l,d,m,p);for(let t of h){let a=t.fromCol+1,o=t.fromRow+1,h=t.toCol+1,y=t.toRow+1,b=fp(n,a)+t.fromColOff*i/je,x=pp(r,o)+t.fromRowOff*i/je,S=fp(n,h)+t.toColOff*i/je,C=pp(r,y)+t.toRowOff*i/je,w=S-b,T=C-x;if(w<=0||T<=0)continue;let E=af(l+(b-g)-s,w,m,p),D=u+(x-_)-c;E+w<v||E>v+d||D+T<u||D>u+f||(e.save(),e.beginPath(),e.rect(v,u,d,f),e.clip(),zp(e,t.caption,t.items,E,D,w,T,i,t.style),e.restore())}}function zp(e,t,n,r,i,a,o,s,c){let l=c!=null;e.fillStyle=c?.whole?.fillColor??`#FFFFFF`,e.fillRect(r,i,a,o);let u=l?c.whole?.borderColor:`#BFBFBF`;u&&(e.strokeStyle=u,e.lineWidth=1,e.strokeRect(r+.5,i+.5,a-1,o-1));let d=Math.max(20*s,14),f=l?c.header?.fillColor:`#F2F2F2`;f&&(e.fillStyle=f,e.fillRect(r+1,i+1,a-2,d)),e.fillStyle=c?.header?.fontColor??`#404040`,e.font=Vp(c?.header,`600 12px \"Meiryo UI\", \"Segoe UI\", sans-serif`,s),e.textBaseline=`middle`,e.textAlign=`left`;let p=6*s;if(Up(e,t,r+p,i+d/2+1,a-2*p),n.length===0)return;let m=Math.max(1,Math.round(2*s)),h=4*s,g=r+h,_=i+d+h,v=a-2*h,y=o-d-2*h;if(v<=0||y<=0)return;let b=Math.max(18*s,16),x=Math.max(1,Math.floor((y+m)/(b+m))),S=Math.min(n.length,x),C=Math.min(b,(y-m*(S-1))/S);if(C<=0)return;e.font=Hp(Lp,s);let w=8*s;for(let t=0;t<S;t++){let r=n[t],i=_+t*(C+m),a=r.selected,o=a?c?.selectedItemWithData:c?.unselectedItemWithData,u=o?.fillColor??(a?`#FFFFFF`:`#E7E6E6`),d=l?o?.borderColor:a?`#A5A5A5`:`#C6C6C6`;e.fillStyle=u,l?(Bp(e,g,i,v,C,Math.min(4*s,C/4)),e.fill(),d&&(e.strokeStyle=d,e.lineWidth=1,e.stroke())):(e.fillRect(g,i,v,C),d&&(e.strokeStyle=d,e.lineWidth=1,e.strokeRect(g+.5,i+.5,v-1,C-1))),e.font=Vp(o,Lp,s),e.fillStyle=o?.fontColor??(a?`#000000`:`#A6A6A6`),Up(e,r.name,g+w,i+C/2+1,v-2*w)}}function Bp(e,t,n,r,i,a){let o=Math.max(0,Math.min(a,r/2,i/2));e.beginPath(),e.moveTo(t+o,n),e.lineTo(t+r-o,n),e.quadraticCurveTo(t+r,n,t+r,n+o),e.lineTo(t+r,n+i-o),e.quadraticCurveTo(t+r,n+i,t+r-o,n+i),e.lineTo(t+o,n+i),e.quadraticCurveTo(t,n+i,t,n+i-o),e.lineTo(t,n+o),e.quadraticCurveTo(t,n,t+o,n),e.closePath()}function Vp(e,t,n){if(!e)return Hp(t,n);let r=Math.round((e.fontSize??11)*n);return`${e.fontBold?`bold `:``}${r}px ${e.fontFamily?`\"${e.fontFamily}\", \"Segoe UI\", sans-serif`:`\"Meiryo UI\", \"Segoe UI\", sans-serif`}`}function Hp(e,t){return e.replace(/(\\d+(?:\\.\\d+)?)px/,(e,n)=>`${Math.round(Number(n)*t)}px`)}function Up(e,t,n,r,i){if(i<=0)return;let a=t;if(e.measureText(a).width>i){for(;a.length>0&&e.measureText(a+`…`).width>i;)a=a.slice(0,-1);a=a.length>0?a+`…`:``}e.fillText(a,n,r)}const Wp=Symbol(`xlsx-render-commit-guard`);function Gp(e,t,n,r,i){if(!n)return!0;let a=r??lf(t),o=i?.scale??1,{col:s,row:c}=a.axesAtScale(o),l=(e,t,n)=>e.offsetOf(t+1)+n*o/je,u=l(s,e.fromCol,e.fromColOff),d=l(c,e.fromRow,e.fromRowOff),f=Yd(e),p=f?u+e.nativeExtCx*o/je:l(s,e.toCol,e.toColOff),m=f?d+e.nativeExtCy*o/je:l(c,e.toRow,e.toRowOff);if(p<=u||m<=d)return!1;let h=i?a.effectiveFrozenBands({scale:o,width:i.width,height:i.height,headerWidth:50,headerHeight:22,rows:i.freezeRows,cols:i.freezeCols}):{rows:t.freezeRows??0,cols:t.freezeCols??0},g=(e,t,n,r,i)=>{let a=Math.min(e,t),o=Math.max(e,t);return a<n&&o>0||a<i&&o>r};return g(u,p,s.offsetOf(h.cols+1),s.offsetOf(n.col),s.offsetOf(n.col+n.cols))&&g(d,m,c.offsetOf(h.rows+1),c.offsetOf(n.row),c.offsetOf(n.row+n.rows))}async function Kp(e,t,n,r,i=0,a=0,o=null,s=null,c){let l=t===`image/svg+xml`,u=Bo(t,o,i,a),d=()=>qo(e,t,s,r,{widthPt:u.widthPt,heightPt:u.heightPt,offscreenFactory:c}),f={svgImagePath:n,srcRect:o};if(Jo(f))try{return await Fo(f.svgImagePath,r)}catch{return l?Fo(e,r):d()}return l?Fo(e,r):d()}async function qp(e,t,n,r){if(t.clear(),!n)return;let i=n,a=new Map,o=r?.viewport?lf(e):void 0,s=r?.viewport&&r.width!==void 0&&r.height!==void 0?{width:r.width,height:r.height,scale:r.cellScale??1,freezeRows:r.freezeRows??e.freezeRows??0,freezeCols:r.freezeCols??e.freezeCols??0}:void 0;if(e.images)for(let t of e.images)Gp(t,e,r?.viewport,o,s)&&a.set(Xd(t.imagePath,t.duotone),{imagePath:t.imagePath,mimeType:t.mimeType,svgImagePath:t.svgImagePath,widthPt:t.nativeExtCx>0?t.nativeExtCx/X:0,heightPt:t.nativeExtCy>0?t.nativeExtCy/X:0,srcRect:t.srcRect??null,duotone:t.duotone??null});if(e.shapeGroups){for(let t of e.shapeGroups)if(Gp(t,e,r?.viewport,o,s))for(let e of t.shapes)e.geom.type===`image`&&a.set(Xd(e.geom.imagePath,e.geom.duotone),{imagePath:e.geom.imagePath,mimeType:e.geom.mimeType,svgImagePath:e.geom.svgImagePath,widthPt:t.nativeExtCx>0?t.nativeExtCx*e.w/X:0,heightPt:t.nativeExtCy>0?t.nativeExtCy*e.h/X:0,srcRect:e.geom.srcRect??null,duotone:e.geom.duotone??null})}a.size!==0&&await Promise.all([...a.entries()].map(async([e,n])=>{try{let a=await Kp(n.imagePath,n.mimeType,n.svgImagePath,i,n.widthPt,n.heightPt,n.srcRect,n.duotone,r?.offscreenFactory);t.set(e,a)}catch(n){if(Mi(n))throw n;t.delete(e)}}))}async function Jp(e,t,n,r={}){let i=r.fetchImage?So(r.fetchImage):void 0;try{await Yp(e,t,n,r)}finally{i?.()}}async function Yp(e,t,n,r={}){let{ws:i,styles:a}=e,o=ys(t)?t.clientWidth||800:t.width,s=ys(t)?t.clientHeight||600:t.height,c=r.width??o,l=r.height??s,u=new Map;if(await qp(i,u,r.fetchImage,{viewport:n,width:c,height:l,cellScale:r.cellScale,freezeRows:r.freezeRows,freezeCols:r.freezeCols}),e.math&&Sp(i)&&await Cp(i,e.math),r[Wp]?.()===!1)return;let d=r.dpr??bs(),f=Cs(c*d,l*d),p=f.clamped?d*f.scale:d,m=f.width,h=f.height;if(t.width!==m&&(t.width=m),t.height!==h&&(t.height=h),ys(t)){let e=`${c}px`,n=`${l}px`;t.style.width!==e&&(t.style.width=e),t.style.height!==n&&(t.style.height=n)}let g=t.getContext(`2d`);if(g.setTransform(p,0,0,p,0,0),i.parseError){Xp(g,c,l,i.name,i.parseError);return}lp(g,i,a,n,{...r,dpr:p,loadedImages:u,threeD:e.threeD,regionMap:e.regionMap})}function Xp(e,t,n,r,i){e.save(),e.fillStyle=`#f7f7f8`,e.fillRect(0,0,t,n);let a=t/2,o=Math.min(t,n),s=Math.max(20,o*.1);e.fillStyle=`#b23b3b`,e.textAlign=`center`,e.textBaseline=`middle`,e.font=`${s}px sans-serif`,e.fillText(`⚠`,a,n*.32);let c=Math.max(13,o*.035);e.fillStyle=`#333333`,e.font=`600 ${c}px sans-serif`,e.fillText(`Sheet \"${r}\" could not be displayed`,a,n*.46);let l=Math.max(10,o*.022);e.fillStyle=`#666666`,e.font=`${l}px sans-serif`;let u=Math.min(t*.8,640),d=i.split(/\\s+/),f=[],p=``;for(let t of d){let n=p?`${p} ${t}`:t;if(e.measureText(n).width>u&&p?(f.push(p),p=t):p=n,f.length>=4)break}p&&f.length<4&&f.push(p);let m=l*1.4,h=n*.52+m;for(let t of f.slice(0,4))e.fillText(t,a,h),h+=m;e.restore()}const Zp={...te,...V};function*Qp(e){for(let t of e?.sharedStrings??[])if(t.runs&&t.runs.length>0)for(let e of t.runs)yield e.text;else yield t.text}function $p(e){let t=new Set,n=null;for(let r of e?.styles?.fonts??[])r.name&&(t.add(r.name),n??=F(r.name));for(let r of H(Qp(e),n))t.add(r);return t}function em(e,t){for(let n of e)for(let e of n.cells){let n=e.value;if(n.type===`shared`){let r=t[n.si];if(r){let t={type:`text`,text:r.text};r.runs!==void 0&&(t.runs=r.runs),r.phoneticRuns!==void 0&&(t.phoneticRuns=r.phoneticRuns),r.phoneticPr!==void 0&&(t.phoneticPr=r.phoneticPr),e.value=t}else e.value={type:`text`,text:``}}}return e}function tm(e,t){if(!Number.isSafeInteger(e)||e<0)throw Error(`${t} must be a non-negative safe integer`)}function nm(e,t,n){return tm(e,`resource measurement`),tm(t,`resource measurement`),tm(n,`resource measurement limit`),e>n||t>n||t>n-e?n===2**53-1?n:n+1:e+t}function rm(e,t=2**53-1){tm(t,`resource measurement limit`);let n=0;for(let r=0;r<e.length;r+=1){let i=e.charCodeAt(r),a;if(i<=127)a=1;else if(i<=2047)a=2;else if(i>=55296&&i<=56319&&r+1<e.length){let t=e.charCodeAt(r+1);t>=56320&&t<=57343?(a=4,r+=1):a=3}else a=3;if(n=nm(n,a,t),n>t)return n}return n}function im(e,t=2**53-1){tm(t,`resource measurement limit`);let n=nm(0,2,t);if(n>t)return n;for(let r=0;r<e.length;r+=1){let i=e.charCodeAt(r),a;if(i===34||i===92||i===8||i===9||i===10||i===12||i===13)a=2;else if(i<=31)a=6;else if(i<=127)a=1;else if(i<=2047)a=2;else if(i>=55296&&i<=56319&&r+1<e.length){let t=e.charCodeAt(r+1);t>=56320&&t<=57343?(a=4,r+=1):a=6}else a=i>=55296&&i<=57343?6:3;if(n=nm(n,a,t),n>t)return n}return n}function am(e,t){return nm(0,e,t)}function om(e,t=2**53-1,n=!1){if(tm(t,`resource measurement limit`),e===null)return{jsonBytes:am(4,t),stringValueUtf8Bytes:0};if(typeof e==`string`)return{jsonBytes:im(e,t),stringValueUtf8Bytes:rm(e,t)};if(typeof e==`boolean`)return{jsonBytes:am(e?4:5,t),stringValueUtf8Bytes:0};if(typeof e==`number`)return{jsonBytes:am((Number.isFinite(e)?String(Object.is(e,-0)?0:e):`null`).length,t),stringValueUtf8Bytes:0};if(typeof e==`bigint`)throw TypeError(`BigInt values cannot be serialized to JSON`);if(Array.isArray(e)){let n=am(2,t),r=0;for(let i=0;i<e.length;i+=1){i!==0&&(n=nm(n,1,t));let a=om(e[i],t,!0);n=nm(n,a.jsonBytes,t),r=nm(r,a.stringValueUtf8Bytes,t)}return{jsonBytes:n,stringValueUtf8Bytes:r}}if(typeof e==`object`){let n=am(2,t),r=0,i=0;for(let[a,o]of Object.entries(e)){if(o===void 0||typeof o==`function`||typeof o==`symbol`)continue;i++!==0&&(n=nm(n,1,t)),n=nm(n,im(a,t),t),n=nm(n,1,t);let e=om(o,t);n=nm(n,e.jsonBytes,t),r=nm(r,e.stringValueUtf8Bytes,t)}return{jsonBytes:n,stringValueUtf8Bytes:r}}return{jsonBytes:n?am(4,t):0,stringValueUtf8Bytes:0}}const sm=1e5,cm=25e4,lm=33554432,um=67108864,dm=2e5,fm=5e5,pm=67108864,mm=134217728,hm=Object.freeze({archiveEntryCount:0,declaredInflatedBytes:0,distinctInflatedBytes:0,operationInflatedBytes:0});function gm(e){let t=e.reduce((e,t)=>nm(e,t.cells.length,cm),0);return{rows:e.length,cells:t,ownedUtf8Bytes:e.reduce((e,t)=>t.cells.reduce((e,t)=>{let n=om(t.value,lm).stringValueUtf8Bytes;return nm(e,nm(n,t.formula===void 0?0:rm(t.formula,lm),lm),lm)},e),0)}}function _m(e,t){let n=om(e,67108864);return{...t,jsonBytes:n.jsonBytes}}function vm(e,t){return{rows:nm(e.rows,t.rows,sm),cells:nm(e.cells,t.cells,cm),ownedUtf8Bytes:nm(e.ownedUtf8Bytes,t.ownedUtf8Bytes,lm)}}function ym(e,t,n={}){let r=e.rows-(n.rows??0),i=e.cells-(n.cells??0),a=e.ownedUtf8Bytes-(n.ownedUtf8Bytes??0),o=e.jsonBytes-(n.jsonBytes??0);if(r<0||i<0||a<0||o<0)throw Error(`worksheet cache accounting underflow`);return{rows:nm(r,t.rows,dm),cells:nm(i,t.cells,fm),ownedUtf8Bytes:nm(a,t.ownedUtf8Bytes,pm),jsonBytes:nm(o,t.jsonBytes,mm)}}function bm(e,t,n,r,i,a,o){let s=n===`worksheet-json`?`serialization`:`parsing`;return new w(`OOXML resource limit exceeded${t?` for ${t}`:``}: ${r} ${a} > ${i}`,{stage:s,violation:{format:`xlsx`,operation:e,resource:n,metric:r,...t===void 0?{}:{part:t},limit:i,observed:Math.min(a,i+1),configurable:!1,usage:o??hm}})}function xm(e,t,n,r){let i=[[`rows`,e.rows,sm],[`cells`,e.cells,cm],[`owned-utf8-bytes`,e.ownedUtf8Bytes,lm]];for(let[e,a,o]of i)if(a>o)throw bm(t,n,e===`owned-utf8-bytes`?`worksheet-cell-content`:`worksheet-model`,e,o,a,r)}function Sm(e,t,n,r){if(e>um)throw bm(t,n,`worksheet-json`,`bytes`,um,e,r)}function Cm(e,t,n,r){if(e.rows>dm)throw bm(t,n,`worksheet-cache`,`rows`,dm,e.rows,r);if(e.cells>fm)throw bm(t,n,`worksheet-cache`,`cells`,fm,e.cells,r);if(e.ownedUtf8Bytes>pm)throw bm(t,n,`worksheet-cache`,`owned-utf8-bytes`,pm,e.ownedUtf8Bytes,r);if(e.jsonBytes>mm)throw bm(t,n,`worksheet-cache`,`bytes`,mm,e.jsonBytes,r)}function wm(e,t){if(!t)return;let n=!1;if(t.rows)for(let[r,i]of Object.entries(t.rows)){let t=Number(r);i===null?Object.hasOwn(e.rowHeights,t)&&(delete e.rowHeights[t],n=!0):e.rowHeights[t]!==i&&(e.rowHeights[t]=i,n=!0)}if(t.cols)for(let[r,i]of Object.entries(t.cols)){let t=Number(r);i===null?Object.hasOwn(e.colWidths,t)&&(delete e.colWidths[t],n=!0):e.colWidths[t]!==i&&(e.colWidths[t]=i,n=!0)}n&&Gd.invalidate(e)}function Tm(e,t){if(!t)return e;let n={...e,rowHeights:{...e.rowHeights},colWidths:{...e.colWidths}};return wm(n,t),n}var Em=class{entries=new Map;releasedProjectionIds=new Set;resolve(e,t,n,r){if(!n){let t=Tm(e,r);return{worksheet:t,created:t!==e}}let i=!this.releasedProjectionIds.has(n.id),a=`${n.id}:${t}`,o=i?this.entries.get(a):void 0;if(o&&o.revision===n.revision&&o.source===e)return{worksheet:o.worksheet,created:!1};let s=Tm(e,r);return s!==e&&i?(this.entries.set(a,{revision:n.revision,source:e,worksheet:s}),{worksheet:s,created:!0}):(this.entries.delete(a),{worksheet:s,created:s!==e})}release(e){this.releasedProjectionIds.add(e);let t=`${e}:`;for(let e of this.entries.keys())e.startsWith(t)&&this.entries.delete(e)}clear(){this.entries.clear(),this.releasedProjectionIds.clear()}};function Dm(e,t,n,r){let i=e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength),a=JSON.parse(new TextDecoder().decode(i));if(!a||typeof a!=`object`||!(`kind`in a))throw Error(`worksheet cursor returned an invalid unit`);let o=a;if(t!==(o.kind===`finished`))throw Error(`worksheet cursor terminal marker mismatch`);if(o.kind===`rows`){if(!Array.isArray(o.rows))throw Error(`worksheet row unit is missing rows`);return n&&em(o.rows,n),r?.(o.rows),{kind:`rows`,rows:o.rows}}if(o.kind===`finished`){if(!o.worksheet||typeof o.worksheet!=`object`)throw Error(`worksheet terminal unit is missing its worksheet`);return o.worksheet.rows=[],{kind:`finished`,worksheet:o.worksheet}}throw Error(`worksheet cursor returned an unknown unit kind`)}var Om=class{coordinator=new sc;sessions=new Map;operationTail=Promise.resolve();pendingOpens=new Map;resourceFailure;constructor(e,t,n=e=>e(this.requireArchive()),r){this.archive=e,this.acceptWorksheet=t,this.executeArchive=n,this.prepareRows=r}reserveOpen(e){this.pendingOpens.set(e.sessionId,{identity:e,canceled:!1})}abandonOpen(e){this.pendingOpens.delete(e)}get pendingOpenCount(){return this.pendingOpens.size}async open(e,t,n){if(this.resourceFailure)throw this.resourceFailure;let r=this.pendingOpens.get(n.sessionId);if(!r||r.identity.operationId!==n.operationId||r.identity.generation!==n.generation)throw Error(`worksheet pull session open reservation is stale or missing`);let i,a=new Promise(e=>{i=e}),o=this.operationTail.then(()=>this.coordinator.enqueue(async()=>{if(r.canceled)throw Error(`worksheet pull session open was canceled`);this.executeArchive(n=>n.open_sheet_cursor(e,t));let a=[],o={rows:0,cells:0,ownedUtf8Bytes:0},s,c=!1,l=new cc({...n,maxByteCredit:67108864,coordinator:this.coordinator,driver:{pull:()=>{let e=this.executeArchive(e=>e.pull_sheet_cursor(128)),t=this.executeArchive(e=>e.sheet_cursor_pull_finished());if(this.acceptWorksheet){let n=Dm(e,t,void 0,this.prepareRows);try{if(n.kind===`rows`){let e=vm(o,gm(n.rows));xm(e,`get-worksheet-worker`,void 0,this.readResourceUsage()),a.push(...n.rows),o=e}else s=n.worksheet}catch(e){throw e instanceof w&&(this.resourceFailure??=e),e}}c=t;let n=nc(e);return{payload:n,byteLength:n.byteLength,done:t,transfer:[n]}},measureChunk:({payload:e})=>e.byteLength,acknowledge:()=>{if(!c)return;let t,r;try{if(this.acceptWorksheet){if(!s)throw Error(`worksheet terminal payload is missing`);s.rows=s.parseError?[]:a;let n=s.parseError?{rows:0,cells:0,ownedUtf8Bytes:0}:o,i=_m(s,n),c=this.readResourceUsage();xm(i,`get-worksheet-worker`,void 0,c),Sm(i.jsonBytes,`get-worksheet-worker`,void 0,c);let l=this.acceptWorksheet(e,s,i,c);typeof l==`function`?t=l:l&&({rollback:t,commit:r}=l)}this.executeArchive(e=>e.acknowledge_sheet_cursor_terminal()),r?.()}catch(e){throw t?.(),e instanceof w&&(this.resourceFailure??=e),e}c=!1,this.sessions.delete(n.sessionId),i()},cancel:()=>{try{this.archive()&&this.executeArchive(e=>e.cancel_sheet_cursor())}finally{this.sessions.delete(n.sessionId),i()}},close:()=>{try{this.archive()&&this.executeArchive(e=>e.close_sheet_cursor())}finally{this.sessions.delete(n.sessionId),i()}},resourceUsage:()=>this.readResourceUsage()}});this.sessions.set(n.sessionId,{host:l,identity:n}),this.pendingOpens.delete(n.sessionId)}));this.operationTail=o.then(()=>a,()=>void 0);try{await o}catch(e){throw this.pendingOpens.delete(n.sessionId),i(),e}}async postOpenedSafely(e,t,n){try{t()}catch(t){await this.closeIdentity(e);try{n(t)}catch{}}}dispatch(e,t){let n=this.sessions.get(e.sessionId);if(n)return n.host.dispatch(e,t);let r=this.pendingOpens.get(e.sessionId);if(r&&(e.kind===`cancel`||e.kind===`close`)){let n=r.identity.operationId===e.operationId&&r.identity.generation===e.generation;return n&&(r.canceled=!0),t(n?{protocol:ic,kind:`accepted`,sessionId:e.sessionId,operationId:e.operationId,generation:e.generation,requestId:e.requestId,command:e.kind}:{protocol:ic,kind:`error`,sessionId:e.sessionId,operationId:e.operationId,generation:e.generation,requestId:e.requestId,error:{message:`stale lifecycle targets another pending worksheet operation`,errorName:`PullSessionProtocolError`,code:`ooxml-stale-lifecycle`}}),Promise.resolve()}return e.kind===`cancel`||e.kind===`close`?(t({protocol:ic,kind:`accepted`,sessionId:e.sessionId,operationId:e.operationId,generation:e.generation,requestId:e.requestId,command:e.kind}),Promise.resolve()):(t({protocol:ic,kind:`error`,sessionId:e.sessionId,operationId:e.operationId,generation:e.generation,requestId:e.requestId,error:tc(Error(`worksheet pull session is not open`))}),Promise.resolve())}async dispatchSafely(e,t){try{await this.dispatch(e,t)}catch(n){try{t({protocol:ic,kind:`error`,sessionId:e.sessionId,operationId:e.operationId,generation:e.generation,requestId:e.requestId,error:tc(n)})}catch{}}}run(e){let t=this.operationTail.then(()=>this.coordinator.enqueue(async()=>{if(this.resourceFailure)throw this.resourceFailure;return e()})).catch(e=>{throw e instanceof w&&(this.resourceFailure??=e),e});return this.operationTail=t.then(()=>void 0,()=>void 0),t}async reset(){for(let e of this.pendingOpens.values())e.canceled=!0;let e=1;for(let{host:t,identity:n}of[...this.sessions.values()])await t.dispatch({protocol:ic,kind:`close`,...n,requestId:e++},()=>void 0);this.sessions.clear(),await this.operationTail,this.pendingOpens.clear(),this.resourceFailure=void 0}requireArchive(){let e=this.archive();if(!e)throw Error(`Workbook not loaded`);return e}async closeIdentity(e){let t=this.sessions.get(e.sessionId);if(t){await t.host.dispatch({protocol:ic,kind:`close`,...e,requestId:1},()=>void 0);return}let n=this.pendingOpens.get(e.sessionId);n&&n.identity.operationId===e.operationId&&n.identity.generation===e.generation&&(n.canceled=!0)}readResourceUsage(){try{return zs(this.executeArchive(e=>e.sheet_cursor_resource_usage()))}catch(e){if(String(e).includes(`worksheet cursor usage is unavailable`))return;throw e}}};function km(e){return!!e&&typeof e==`object`&&e.protocol===`ooxml-pull-v1`}const Am=new As(x,{freeArchive:e=>e.free(),reinit:S});let jm=null,Mm=Promise.resolve();const Nm=new Map,Pm=new Em,Fm=new Map;let Im={rows:0,cells:0,ownedUtf8Bytes:0,jsonBytes:0};const Lm=new eu({maxEntries:64,maxBytes:134217728}),Rm=new Om(()=>Am.archive,(e,t,n,r)=>{let i=Nm.get(e),a=Fm.get(e),o=ym(Im,n,a);return Cm(o,`get-worksheet-worker`,void 0,r),Nm.set(e,t),{commit:()=>{Im=o,Fm.set(e,n)},rollback:()=>{Nm.get(e)===t&&(i?Nm.set(e,i):Nm.delete(e))}}},e=>{let t=Am.archive;if(!t)throw Error(`Workbook not loaded`);return Am.run(()=>e(t))},e=>{jm&&em(e,jm.sharedStrings)}),zm=(e,t)=>self.postMessage(e,t);function Bm(e,t){return Lm.get(e,t,async()=>{let n=Am.archive;if(!n)throw Error(`Workbook not loaded`);let r=Am.run(()=>n.extract_image(e));return new Blob([r],{type:t})})}self.onmessage=async t=>{let n=t.data;if(km(n)){await Rm.dispatchSafely(n,zm);return}if(n.type===`init`){Am.setWasmInput(ws(n.wasmUrl)??n.wasmUrl);return}if(n.type===`releaseViewProjection`){Pm.release(n.projectionId);return}let r=n.id;n.type===`openSheetSession`&&Rm.reserveOpen(n);try{if(n.type===`openSheetSession`){if(await Am.ensureReady(),Am.archive){let e=Am.archive;Am.run(()=>e.assert_healthy())}await Rm.open(n.sheetIndex,n.sheetName,n),await Rm.postOpenedSafely(n,()=>zm({type:`sheetSessionOpened`,id:r,sessionId:n.sessionId,operationId:n.operationId,generation:n.generation}),e=>zm({type:`error`,id:r,...tc(e)}));return}n.type===`parse`&&await Rm.reset(),await Rm.run(async()=>{if(await Am.ensureReady(),n.type!==`parse`&&Am.archive){let e=Am.archive;Am.run(()=>e.assert_healthy())}if(n.type===`parse`){Nm.clear(),Pm.clear(),Fm.clear(),Im={rows:0,cells:0,ownedUtf8Bytes:0,jsonBytes:0},Mo(Bm),Io(Bm),Lm.clear();let[t,i,a]=rc(n.resourcePolicy);jm=Am.run(()=>{let r=new e(new Uint8Array(n.data),t,i,a);return Am.setArchive(r),JSON.parse(new TextDecoder().decode(r.parse()))}),n.useGoogleFonts&&(Mm=ee($p(jm),Zp));let o=Am.run(()=>zs(Am.archive.resource_usage()));zm({type:`parsed`,id:r,workbook:jm,usage:o});return}if(n.type===`renderViewport`){if(!jm)throw Error(`Workbook not loaded`);await Mm;let e=Nm.get(n.sheetIndex);if(!e)throw Error(`Worksheet is not loaded through its pull session`);let{sizeOverrides:t,...i}=n.opts,a=Pm.resolve(e,n.sheetIndex,n.viewProjection,t),o=a.worksheet;a.created&&cp(e,o);let s=n.layoutMetrics?.maximumDigitWidth;if(s!==void 0){if(!Number.isFinite(s)||s<=0)throw Error(`XLSX maximum digit width must be a finite positive number`);Gd.forWorksheet(o,s)}let c=new OffscreenCanvas(1,1);await Jp({ws:o,styles:jm.styles},c,n.viewport,{...i,fetchImage:Bm});let l=c.transferToImageBitmap();zm({type:`viewportRendered`,id:r,bitmap:l},[l]);return}if(n.type===`extractImage`){let e=Am.archive;if(!e)throw Error(`Workbook not loaded`);let t=Am.run(()=>e.extract_image(n.path).buffer);zm({type:`imageExtracted`,id:r,bytes:t},[t]);return}if(n.type===`resourceUsage`){let e=Am.archive;if(!e)throw Error(`Workbook not loaded`);zm({type:`resourceUsage`,id:r,usage:Am.run(()=>zs(e.resource_usage()))});return}if(n.type===`toMarkdown`){let e=Am.archive;if(!e)throw Error(`Workbook not loaded`);zm({type:`markdownRendered`,id:r,markdown:Am.run(()=>e.to_markdown())});return}})}catch(e){n.type===`openSheetSession`&&Rm.abandonOpen(n.sessionId);try{zm({type:`error`,id:r,...tc(e)})}catch{}}};", t = typeof self < "u" && self.Blob && new Blob(["URL.revokeObjectURL(import.meta.url);", e], { type: "text/javascript;charset=utf-8" });
|
|
3
|
+
function n(n) {
|
|
4
|
+
let r;
|
|
5
|
+
try {
|
|
6
|
+
if (r = t && (self.URL || self.webkitURL).createObjectURL(t), !r) throw "";
|
|
7
|
+
let e = new Worker(r, {
|
|
8
|
+
type: "module",
|
|
9
|
+
name: n?.name
|
|
10
|
+
});
|
|
11
|
+
return e.addEventListener("error", () => {
|
|
12
|
+
(self.URL || self.webkitURL).revokeObjectURL(r);
|
|
13
|
+
}), e;
|
|
14
|
+
} catch {
|
|
15
|
+
return new Worker("data:text/javascript;charset=utf-8," + encodeURIComponent(e), {
|
|
16
|
+
type: "module",
|
|
17
|
+
name: n?.name
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region packages/xlsx/src/render-worker-host.ts
|
|
23
|
+
function r() {
|
|
24
|
+
return new n();
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { r as createRenderWorker };
|