@silurus/ooxml 0.87.0 → 0.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/render-worker-1uPAxMZr.js +31 -0
- package/dist/assets/render-worker-BlvJybji.js +10 -0
- package/dist/assets/render-worker-CzmiJfFL.js +11 -0
- package/dist/{canvas-viewer-mechanics-Cpk0YFvM.js → canvas-viewer-mechanics-DbLz0rYW.js} +2 -2
- package/dist/chart-ex.mjs +581 -616
- package/dist/{comment-ui-runtime-BfE7MJZn.js → comment-ui-runtime-CWGqn5Vr.js} +1 -1
- package/dist/{document-pull-client-yKxI8aDH.js → document-pull-client-B9PTM-pL.js} +3824 -3795
- package/dist/{docx-BkSRiy07.js → docx-BF9WXrYH.js} +428 -320
- package/dist/docx.mjs +4 -4
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/{dom-interaction-boundary-CBUQJsIM.js → dom-interaction-boundary-Cnm8DSBN.js} +2 -2
- package/dist/{hyperlink-ArrU3ArU.js → hyperlink-Cxzhet30.js} +93 -94
- package/dist/index.mjs +3 -3
- package/dist/{line-distribute-Dtudnqhs.js → line-distribute-D1WNHKz_.js} +2 -2
- package/dist/node.mjs +8 -8
- package/dist/plot-area-frame-DLTYKHNP.js +4354 -0
- package/dist/{pptx-62MmVbYB.js → pptx-DkyYBYoL.js} +13 -11
- package/dist/pptx.mjs +5 -5
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/region-map.mjs +4 -4
- package/dist/{render-8Zo7dnds.js → render-D3iqVKCo.js} +1 -1
- package/dist/{render-worker-host-BfbnEChF.js → render-worker-host-B5wQfB7U.js} +1 -1
- package/dist/{render-worker-host-DNL9dWRh.js → render-worker-host-D4123J27.js} +1 -1
- package/dist/{render-worker-host-IkHrYOci.js → render-worker-host-Di3LxLc0.js} +1 -1
- package/dist/renderer-B4GZb5We.js +6492 -0
- package/dist/{resource-measurement-CJsgolre.js → resource-measurement-SHQCbkh2.js} +3 -3
- package/dist/{session-CrU8f8DI.js → session-BGq81gRQ.js} +2 -2
- package/dist/{slide-pull-client-B9KA8bU6.js → slide-pull-client-DiPnm240.js} +46 -46
- package/dist/{three-d-YYghQndN.js → three-d-DJBl8g8M.js} +251 -435
- package/dist/three-d.mjs +998 -906
- package/dist/tiff.mjs +1 -1
- package/dist/types/chart-ex.d.ts +142 -4
- package/dist/types/docx.d.ts +148 -10
- package/dist/types/index.d.ts +122 -16
- package/dist/types/node.d.ts +113 -7
- package/dist/types/pptx.d.ts +116 -10
- package/dist/types/region-map.d.ts +142 -4
- package/dist/types/three-d.d.ts +142 -4
- package/dist/types/xlsx.d.ts +148 -10
- package/dist/{worksheet-pull-client-eIcQ-xlD.js → worksheet-pull-client-BM8ywvbu.js} +2 -2
- package/dist/{xlsx-CRcSzZNq.js → xlsx-C9NVjgaV.js} +122 -120
- package/dist/xlsx.mjs +5 -5
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/assets/render-worker-CeK_iqK3.js +0 -10
- package/dist/assets/render-worker-DusrDhPk.js +0 -11
- package/dist/assets/render-worker-n2ZG0lrQ.js +0 -31
- package/dist/plot-area-frame-D5hEOgkJ.js +0 -2903
- package/dist/renderer-XFSCOT6m.js +0 -5857
- /package/dist/{pixel-budget-Dgjw269h.js → pixel-budget-9P63Bsk5.js} +0 -0
- /package/dist/{units-EJdC96r6.js → units-BzZ0gAxs.js} +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=(e,t)=>()=>(e&&(t=e(e=0)),t),n=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},r=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,a.unregister(this),e}free(){let e=this.__destroy_into_raw();x.__wbg_pptxarchive_free(e,0)}acknowledge_slide(e,t){let n=x.pptxarchive_acknowledge_slide(this.__wbg_ptr,e,t);if(n[1])throw h(n[0])}assert_healthy(){let e=x.pptxarchive_assert_healthy(this.__wbg_ptr);if(e[1])throw h(e[0])}cancel_slide(){x.pptxarchive_cancel_slide(this.__wbg_ptr)}close_presentation_session(){x.pptxarchive_close_presentation_session(this.__wbg_ptr)}extract_font(e){let t=m(e,x.__wbindgen_malloc,x.__wbindgen_realloc),n=b,r=x.pptxarchive_extract_font(this.__wbg_ptr,t,n);if(r[3])throw h(r[2]);var i=o(r[0],r[1]).slice();return x.__wbindgen_free(r[0],r[1]*1,1),i}extract_image(e){let t=m(e,x.__wbindgen_malloc,x.__wbindgen_realloc),n=b,r=x.pptxarchive_extract_image(this.__wbg_ptr,t,n);if(r[3])throw h(r[2]);var i=o(r[0],r[1]).slice();return x.__wbindgen_free(r[0],r[1]*1,1),i}extract_media(e){let t=m(e,x.__wbindgen_malloc,x.__wbindgen_realloc),n=b,r=x.pptxarchive_extract_media(this.__wbg_ptr,t,n);if(r[3])throw h(r[2]);var i=o(r[0],r[1]).slice();return x.__wbindgen_free(r[0],r[1]*1,1),i}constructor(e,t,n,r){let i=p(e,x.__wbindgen_malloc),o=b,s=x.pptxarchive_new(i,o,!f(t),f(t)?BigInt(0):t,!f(n),f(n)?BigInt(0):n,!f(r),f(r)?BigInt(0):r);if(s[2])throw h(s[1]);return this.__wbg_ptr=s[0]>>>0,a.register(this,this.__wbg_ptr,this),this}parse(){let e=x.pptxarchive_parse(this.__wbg_ptr);if(e[3])throw h(e[2]);var t=o(e[0],e[1]).slice();return x.__wbindgen_free(e[0],e[1]*1,1),t}presentation_bootstrap(){let e=x.pptxarchive_presentation_bootstrap(this.__wbg_ptr);if(e[3])throw h(e[2]);var t=o(e[0],e[1]).slice();return x.__wbindgen_free(e[0],e[1]*1,1),t}pull_slide(e,t,n,r){let i=x.pptxarchive_pull_slide(this.__wbg_ptr,e,t,n,r);if(i[3])throw h(i[2]);var a=o(i[0],i[1]).slice();return x.__wbindgen_free(i[0],i[1]*1,1),a}resource_usage(){let e=x.pptxarchive_resource_usage(this.__wbg_ptr);if(e[3])throw h(e[2]);var t=o(e[0],e[1]).slice();return x.__wbindgen_free(e[0],e[1]*1,1),t}slide_cursor_resource_usage(){let e=x.pptxarchive_slide_cursor_resource_usage(this.__wbg_ptr);if(e[3])throw h(e[2]);var t=o(e[0],e[1]).slice();return x.__wbindgen_free(e[0],e[1]*1,1),t}to_markdown(){let e,t;try{let i=x.pptxarchive_to_markdown(this.__wbg_ptr);var n=i[0],r=i[1];if(i[3])throw n=0,r=0,h(i[2]);return e=n,t=r,l(n,r)}finally{x.__wbindgen_free(e,t,1)}}};Symbol.dispose&&(r.prototype[Symbol.dispose]=r.prototype.free);function i(){return{__proto__:null,"./pptx_parser_bg.js":{__proto__:null,__wbg___wbindgen_throw_6b64449b9b9ed33c:function(e,t){throw Error(l(e,t))},__wbg_error_a6fa202b58aa1cd3:function(e,t){let n,r;try{n=e,r=t,console.error(l(e,t))}finally{x.__wbindgen_free(n,r,1)}},__wbg_new_227d7c05414eb861:function(){return Error()},__wbg_stack_3b0d974bbf31e44f:function(e,t){let n=t.stack,r=m(n,x.__wbindgen_malloc,x.__wbindgen_realloc),i=b;c().setInt32(e+4,i,!0),c().setInt32(e+0,r,!0)},__wbindgen_cast_0000000000000001:function(e,t){return l(e,t)},__wbindgen_init_externref_table:function(){let e=x.__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 a=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>x.__wbg_pptxarchive_free(e>>>0,1));function o(e,t){return e>>>=0,d().subarray(e/1,e/1+t)}let s=null;function c(){return(s===null||s.buffer.detached===!0||s.buffer.detached===void 0&&s.buffer!==x.memory.buffer)&&(s=new DataView(x.memory.buffer)),s}function l(e,t){return e>>>=0,v(e,t)}let u=null;function d(){return(u===null||u.byteLength===0)&&(u=new Uint8Array(x.memory.buffer)),u}function f(e){return e==null}function p(e,t){let n=t(e.length*1,1)>>>0;return d().set(e,n/1),b=e.length,n}function m(e,t,n){if(n===void 0){let n=y.encode(e),r=t(n.length,1)>>>0;return d().subarray(r,r+n.length).set(n),b=n.length,r}let r=e.length,i=t(r,1)>>>0,a=d(),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=d().subarray(i+o,i+r),a=y.encodeInto(e,t);o+=a.written,i=n(i,r,o,1)>>>0}return b=o,i}function h(e){let t=x.__wbindgen_externrefs.get(e);return x.__externref_table_dealloc(e),t}let g=new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0});g.decode();let _=0;function v(e,t){return _+=t,_>=2146435072&&(g=new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0}),g.decode(),_=t),g.decode(d().subarray(e,e+t))}const y=new TextEncoder;`encodeInto`in y||(y.encodeInto=function(e,t){let n=y.encode(e);return t.set(n),{read:e.length,written:n.length}});let b=0,x;function S(e,t){return x=e.exports,s=null,u=null,x.__wbindgen_start(),x}async function C(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 w(e){if(x!==void 0)return x;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 t=i();(typeof e==`string`||typeof Request==`function`&&e instanceof Request||typeof URL==`function`&&e instanceof URL)&&(e=fetch(e));let{instance:n,module:r}=await C(await e,t);return S(n,r)}async function T(e){return x=void 0,s=null,u=null,w(e)}var E,D,O=t((()=>{E=class e extends Error{code;constructor(t,n){super(n),this.name=`OoxmlError`,this.code=t,Object.setPrototypeOf(this,e.prototype)}},D=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)}}}));function k(e,t,n){let r=j.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}),j.set(e,o),{face:a,isNew:!0}}function A(e){let t=new Set;for(let n of e)if(!t.has(n)){t.add(n);for(let[e,t]of j){let r=!1;for(let[i,a]of t)if(a.face===n){if(r=!0,a.refs--,a.refs<=0){try{a.set.delete(n)}catch{}t.delete(i),t.size===0&&j.delete(e)}break}if(r)break}}}var j,M=t((()=>{j=new Map}));function N(e){return Promise.race([e,new Promise(e=>setTimeout(e,R))])}function P(e,t){let n=[],r=/@font-face\s*\{([^}]*)\}/g,i;for(;i=r.exec(e);){let e=i[1],r=t=>e.match(RegExp(`(?:^|;|\\n)\\s*${t}\\s*:\\s*([^;]+)`,`i`))?.[1].trim(),a=r(`font-family`),o=r(`src`);if(!a||!o)continue;let s=t?o.replace(/url\(\s*(?:(['"])(.*?)\1|([^)]*?))\s*\)/gi,(e,n,r,i)=>{let a=(r??i??``).trim();if(!a)return e;try{return`url("${new URL(a,t).href}")`}catch{return e}}):o,c={},l=r(`font-style`);l&&(c.style=l);let u=r(`font-weight`);u&&(c.weight=u);let d=r(`font-stretch`);d&&(c.stretch=d);let f=r(`unicode-range`);f&&(c.unicodeRange=f),n.push({family:a.replace(/^['"]|['"]$/g,``),src:s,descriptors:c})}return n}function F(){return typeof document<`u`&&document&&document.fonts?document.fonts:typeof self<`u`&&self&&`fonts`in self?self.fonts:null}function I(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 L(e,t,n=F()){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.trim();if(!e)continue;let r=e.toLowerCase();if(i.has(r))continue;i.add(r);let c=t[r];if(!c)continue;let l=c.url;o.add(l);let u=(c.loadFamily??e).toLowerCase();a.add(u);let d=s.get(l);d||(d=new Set,s.set(l,d)),d.add(u)}if(a.size===0)return[];let l=await N(Promise.all([...o].map(async e=>{let t=z.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 P(await t.text(),t.url||e)}catch{z.delete(e);for(let t of s.get(e)??[])c.add(t);return[]}})();return z.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}=k(I(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 N(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}var R,z,B=t((()=>{M(),R=15e3,z=new Map})),V,H,ee,U,W,te,G,ne,re=t((()=>{V=134217728,H=268435456,ee=4096,U=67108864,W=67108864,te=134217728,G=134217728,ne=31457280}));function ie(e,t=ne){return e.byteLength>0&&e.byteLength<=t}function ae(e,t){let n=oe(t),r=e.slice(),i=Math.min(32,r.length);for(let e=0;e<i;e++)r[e]^=n[e%16];return r}function oe(e){let t=e.replace(/[{}\-\s]/g,``);if(t.length!==32||/[^0-9a-fA-F]/.test(t))throw Error(`invalid fontKey GUID: ${e}`);let n=new Uint8Array(16);for(let e=0;e<16;e++)n[e]=parseInt(t.slice(e*2,e*2+2),16);return n.reverse()}function se(e,t,n,r){let i=2166136261;for(let e=0;e<r.length;e++)i^=r[e],i=Math.imul(i,16777619);return`${e}|${t}|${n}|${r.length}|${(i>>>0).toString(16)}`}async function ce(e,t=ne){let n=F();if(!n||typeof FontFace>`u`)return[];let r=[],i=new Set,a=[];for(let o of e)try{if(!ie(o.bytes,t)){a.push(o.family);continue}let e=o.odttf?ae(o.bytes,o.fontKey??``):o.bytes,s=`embedded:${se(o.family,o.weight,o.style,e)}`;if(i.has(s))continue;i.add(s);let{face:c}=k(s,n,()=>{let t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength),r=new FontFace(o.family,t,{weight:o.weight,style:o.style});return n.add(r),r});r.push(c)}catch{a.push(o.family)}let o=r;if(r.length>0){let e=await N(Promise.allSettled(r.map(e=>Promise.resolve().then(()=>e.load()))));Array.isArray(e)?(o=[],e.forEach((e,t)=>{let n=r[t];e.status===`fulfilled`?o.push(n):(a.push(n.family),A([n]))}),await N(n.ready)):(a.push(...r.map(e=>e.family)),A(r),o=[])}return a.length>0&&console.warn(`[ooxml] failed to register embedded font(s): ${[...new Set(a)].join(`, `)}; falling back to substitute fonts (text may shift or differ).`),o}function le(e){A(e)}var ue=t((()=>{B(),M(),re()})),de,fe,pe,me,he=t((()=>{de=`https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;700&display=swap`,fe=`https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;700&display=swap`,pe=`https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap`,me={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:pe,loadFamily:`Libre Franklin`},"franklin gothic medium":{url:pe,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:de,loadFamily:`Noto Naskh Arabic`},"traditional arabic":{url:de,loadFamily:`Noto Naskh Arabic`},"simplified arabic":{url:de,loadFamily:`Noto Naskh Arabic`},"arabic typesetting":{url:de,loadFamily:`Noto Naskh Arabic`},"univers next arabic":{url:fe,loadFamily:`Noto Sans Arabic`},"noto naskh arabic":{url:de,loadFamily:`Noto Naskh Arabic`},"noto sans arabic":{url:fe,loadFamily:`Noto Sans Arabic`}}}));function ge(e){return e?K[e.trim().toLowerCase()]??null:null}function _e(e){if(!e)return null;let t=ge(e)??e.trim(),n=t.toLowerCase(),r=n.match(/^noto\s+(?:sans|serif)\s+(?:cjk\s+)?(sc|tc|hk|jp|kr)$/);return r?r[1]:/[ᄀ-ᇿ-가-]/.test(t)?`kr`:/[-ヿ]/.test(t)?`jp`:/jhenghei|微軟正黑|新細明|細明|pmingliu|mingliu|dfkai|標楷|華康|cns11643|kaiti tc|ming\s*liu/.test(n)||/新細明體|細明體|標楷體|微軟正黑體|華康/.test(t)?`tc`:/simsun|nsimsun|simhei|simkai|simfang|yahei|dengxian|fangsong|kaiti|youyuan|lisu|stsong|stkaiti|stfangsong|stheiti|stxihei|stzhongsong|songti sc|heiti sc|微软雅黑/.test(n)||/宋体|黑体|楷体|仿宋|等线|微软雅黑|隶书|幼圆/.test(t)?`sc`:/malgun|batang|gulim|dotum|gungsuh|nanum|new gulim|hancom|hy(gothic|graphic|namu)?/.test(n)?`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(n)||/游ゴシック|游明朝|MS ゴシック|MS 明朝|MS Pゴシック|メイリオ|ヒラギノ/.test(t)?`jp`:null}function ve(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 ye(e,t){if(e===`hk`&&t===`serif`)return[];let n=t===`serif`?`Noto Serif`:`Noto Sans`,r={jp:[`jp`,`sc`,`tc`,`kr`],sc:[`sc`,`tc`,`jp`,`kr`],tc:[`tc`,`sc`,`jp`,`kr`],hk:[`hk`,`tc`,`sc`,`jp`,`kr`],kr:[`kr`,`jp`,`sc`,`tc`]},i={kr:`KR`,sc:`SC`,tc:`TC`,hk:`HK`,jp:`JP`};return r[e].map(e=>`${n} ${i[e]}`)}function be(e){return/\p{Script=Han}/u.test(e)}function xe(e,t,n=!1){let r=new Y(t);return r.addText(e),r.names(n)}function Se(e,t){let n=new Y(t);return n.addText(e),n.preferredCjkLanguage()}var K,q,Ce,J,we,Te,Ee,Y,De=t((()=>{K={"noto sans cjk sc":`Noto Sans SC`,"noto serif cjk sc":`Noto Serif SC`,"noto sans cjk tc":`Noto Sans TC`,"noto serif cjk tc":`Noto Serif TC`,"noto sans cjk jp":`Noto Sans JP`,"noto serif cjk jp":`Noto Serif JP`,"noto sans cjk kr":`Noto Sans KR`,"noto serif cjk kr":`Noto Serif KR`,"noto sans cjk hk":`Noto Sans HK`},q=[`Noto Sans`,`Noto Sans Hebrew`,`Noto Sans Thai`,`Noto Sans Devanagari`],Ce=[`Noto Serif`,`Noto Serif Hebrew`],J=e=>`https://fonts.googleapis.com/css2?family=${e}:wght@400;700&display=swap`,we={"noto sans kr":{url:J(`Noto+Sans+KR`)},"noto sans sc":{url:J(`Noto+Sans+SC`)},"noto sans tc":{url:J(`Noto+Sans+TC`)},"noto sans hk":{url:J(`Noto+Sans+HK`)},"noto sans jp":{url:J(`Noto+Sans+JP`)},"noto serif kr":{url:J(`Noto+Serif+KR`)},"noto serif sc":{url:J(`Noto+Serif+SC`)},"noto serif tc":{url:J(`Noto+Serif+TC`)},"noto serif jp":{url:J(`Noto+Serif+JP`)}},Te=Object.fromEntries(Object.entries(K).map(([e,t])=>[e,{...we[t.toLowerCase()],loadFamily:t}])),Ee={...we,...Te,"noto sans":{url:J(`Noto+Sans`)},"noto serif":{url:J(`Noto+Serif`)},"noto sans devanagari":{url:J(`Noto+Sans+Devanagari`)},"noto sans thai":{url:J(`Noto+Sans+Thai`)},"noto sans hebrew":{url:J(`Noto+Sans+Hebrew`)},"noto serif hebrew":{url:J(`Noto+Serif+Hebrew`)}},Y=class e{hasHan=!1;hasHangul=!1;hasKana=!1;hasArabic=!1;hasThai=!1;hasHebrew=!1;hasDevanagari=!1;hasCyrGreek=!1;constructor(e){this.cjkLang=e}scriptCjkLanguage(){return this.hasHangul?`kr`:this.hasKana?`jp`:null}preferredCjkLanguage(){return this.scriptCjkLanguage()??this.cjkLang??`jp`}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:be(e)?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(e=!1){let t=[],n=new Set;this.hasHangul&&n.add(`kr`),this.hasKana&&n.add(`jp`),this.hasHan&&(n.size===0||e)&&n.add(this.cjkLang??`jp`);for(let e of[`kr`,`sc`,`tc`,`hk`,`jp`])if(n.has(e)){let n={kr:`KR`,sc:`SC`,tc:`TC`,hk:`HK`,jp:`JP`}[e];t.push(`Noto Sans ${n}`),e!==`hk`&&t.push(`Noto Serif ${n}`)}return this.hasCyrGreek&&t.push(`Noto Sans`,`Noto Serif`),this.hasArabic&&t.push(`Noto Naskh Arabic`,`Noto Sans Arabic`),this.hasThai&&t.push(`Noto Sans Thai`),this.hasHebrew&&t.push(`Noto Sans Hebrew`,`Noto Serif Hebrew`),this.hasDevanagari&&t.push(`Noto Sans Devanagari`),t}}}));function X(e){let t={};for(let n of Object.keys(e)){let r=Number(n);t[r]=e[r],t[61440+r]=e[r]}return t}function Oe(e,t){if(!t)return e;let n=t.trim().toLowerCase(),r=n===`wingdings`?Ne:n===`symbol`?Me:null;return r?r[e.charCodeAt(0)]??e:e}function ke(e){if(!e)return!1;let t=e.toLowerCase();return t===`symbol`||t.includes(`wingdings`)}var Ae,je,Me,Ne,Pe=t((()=>{Ae={167:`♣`,168:`♦`,169:`♥`,170:`♠`,171:`↔`,172:`←`,173:`↑`,174:`→`,175:`↓`,183:`•`,184:`÷`,185:`≠`,180:`×`,176:`°`,177:`±`,163:`≤`,179:`≥`},je={33:`✏`,34:`✂`,36:`👓`,74:`☺`,75:`😐`,76:`☹`,118:`❖`,167:`▪`,108:`●`,110:`■`,116:`◆`,119:`◆`,251:`✗`,252:`✓`,253:`☒`,254:`☑`,223:`←`,224:`→`,225:`↑`,226:`↓`,227:`↖`,228:`↗`,229:`↙`,230:`↘`},Me=X(Ae),Ne=X(je)}));function Fe(e){if(et)return e();et=new WeakMap;try{return e()}finally{et=void 0}}function Ie(e){let t=et?.get(e);if(t)return t;let n=new WeakMap;for(let t=0;t<e.series.length;t++)n.set(e.series[t],t);let r=new Int32Array(e.series.length);r.fill(-1);for(let t=0;t<(e.plotGroups?.length??0);t++){let n=e.plotGroups[t],i=Math.min(e.series.length,n.seriesStart+n.seriesCount);for(let e=Math.max(0,n.seriesStart);e<i;e++)r[e]=t}let i={series:n,groupBySeries:r};return et?.set(e,i),i}function Le(e,t,n=-1){return Ie(e).series.get(t)??n}function Re(e,t){return t>=0&&t<e.series.length?Ie(e).groupBySeries[t]??-1:-1}function ze(e,t){let n=Re(e,t);return n>=0?e.plotGroups?.[n]:void 0}function Be(...e){for(let t of e)if(t!=null&&(t.lineDashAuthored===!0||t.lineDash!=null||t.lineCustomDash!=null))return t}function Ve(e,t,n){if(!t)return;let r=e,i=t;for(let e of n){let t=i[e];t!=null&&(r[e]=t)}}function He(e,t){let n=e;return t.some(e=>n[e]!==void 0&&n[e]!==null)}function Ue(e,t){if(!e)return t??void 0;if(!t)return e;let n={};if(Ve(n,e,qe),Ve(n,t,qe),Ve(n,e,Je),He(t,Je)){for(let e of Je)delete n[e];Ve(n,t,Je)}if(Ve(n,e,Ye),t.fillNoStyle!==!0&&He(t,Ye)){for(let e of Ye)delete n[e];Ve(n,t,Ye)}if(Ve(n,e,Xe),Ve(n,e,Qe),Ve(n,e,$e),t.lineNoStyle!==!0&&He(t,Xe)){for(let e of Xe)delete n[e];Ve(n,t,Xe)}if(Ve(n,t,Qe),He(t,$e)){for(let e of $e)delete n[e];Ve(n,t,$e)}if(Ve(n,e,tt),t.effectNoStyle!==!0&&He(t,tt)){for(let e of tt)delete n[e];Ve(n,t,tt)}return Ve(n,t,Ze),n}function We(e){let t=e.classicChartStyleRoles,n=e.linkedChartStyleRoles??e.chartStyleRoles;if(!t)return e;let r=new Set([...Object.keys(t),...Object.keys(n??{})]),i={};for(let e of r){let r=Ue(t[e],n?.[e]);r&&(i[e]=r)}let a={};for(let r of[`dataPoint`,`dataPoint3D`,`dataPointLine`,`dataPointMarker`]){let i=Ue(e.classicVaryingPointChartStyleRoles?.[r]??t[r],n?.[r]);i&&(a[r]=i)}let o=e.classicVaryingPointChartStyleRolesByGroup?.map(e=>{if(!e)return null;let t={};for(let r of[`dataPoint`,`dataPoint3D`,`dataPointLine`,`dataPointMarker`]){let i=Ue(e[r],n?.[r]);i&&(t[r]=i)}return t});return{...e,linkedChartStyleRoles:n,chartStyleRoles:i,varyingPointChartStyleRoles:Object.keys(a).length>0?a:void 0,varyingPointChartStyleRolesByGroup:o,chartexDataPointStyle:i.dataPoint,chartexDataPointLineStyle:i.dataPointLine,chartexSeriesLineStyle:i.seriesLine,chartexDataPointMarkerStyle:i.dataPointMarker}}function Z(e,t){return e.linkedChartStyleRoles?.[t]??(e.classicChartStyleRoles==null?e.chartStyleRoles?.[t]:void 0)}function Ge(e,t){let n=ze(e,t);return n?n.kind===`pie`||n.kind===`pie3D`||n.kind===`doughnut`||n.kind===`ofPie`?n.varyColors!==!1:n.kind===`bubble`?n.seriesCount===1&&n.varyColors!==!1:n.kind===`line`||n.kind===`scatter`?n.seriesCount===1&&n.varyColors===!0:n.kind===`radar`?n.radarStyle!==`filled`&&n.seriesCount===1&&n.varyColors===!0:(n.kind===`bar`||n.kind===`bar3D`)&&n.seriesCount===1&&n.varyColors===!0:e.chartType===`pie`||e.chartType===`pie3D`||e.chartType===`doughnut`||e.chartType===`ofPie`?e.varyColors!==!1:e.chartType===`bubble`?e.series.length===1&&e.varyColors!==!1:e.varyColors===!0&&e.series.length===1&&(e.chartType.includes(`Bar`)||e.chartType===`line`||e.chartType===`stackedLine`||e.chartType===`stackedLinePct`||e.chartType===`scatter`||e.chartType===`radar`&&e.radarStyle!==`filled`)}function Ke(e,t,n){if(!Ge(e,n))return e.chartStyleRoles?.[t];let r=Re(e,n),i=r>=0?e.varyingPointChartStyleRolesByGroup?.[r]:void 0;return i==null?e.varyingPointChartStyleRoles?.[t]??e.chartStyleRoles?.[t]:i[t]}var qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt=t((()=>{qe=[`fontSizeHpt`,`fontBold`,`fontItalic`,`fontFace`,`fontLanguage`,`fontBaseline`,`textRotation`,`textWrap`,`textVerticalAnchor`,`textVerticalMode`,`textLInsEmu`,`textTInsEmu`,`textRInsEmu`,`textBInsEmu`,`textBodyAuthored`],Je=[`fontColor`,`fontColors`,`fontColorIndex`,`fontFormattingIndices`,`fontPaintAuthored`,`fontHidden`],Ye=[`fillPaints`,`fillColors`,`fillHidden`,`fillPaintAuthored`,`fillNoStyle`,`fillColorIndex`,`fillFormattingIndices`,`fillSemanticFallbackIndices`],Xe=[`lineColors`,`linePaints`,`linePaintAuthored`,`lineHidden`,`lineNoStyle`,`lineColorIndex`,`lineFormattingIndices`,`lineSemanticFallbackIndices`],Ze=[`shapePropertiesPresent`,`allowNoFillOverride`,`allowNoLineOverride`],Qe=[`lineWidthEmu`,`lineCap`,`lineJoin`,`lineCompound`],$e=[`lineDash`,`lineDashAuthored`,`lineCustomDash`],tt=[`shadows`,`innerShadows`,`glows`,`softEdges`,`reflections`,`effectAuthored`,`effectNoStyle`,`effectUnsupported`,`effectFormattingIndices`,`effectColorIndex`]}));function rt(e){if(ot)return e();ot={compact:new WeakMap,membership:new WeakMap};try{return e()}finally{ot=void 0}}function it(e,t){if(!ot)return e.indexOf(t);let n=ot.compact.get(e);if(!n){let t=new Map;for(let n=0;n<e.length;n++){let r=e[n];t.has(r)||t.set(r,n)}n=t,ot.compact.set(e,n)}return n.get(t)??-1}function at(e,t){if(!e)return!1;if(!ot)return e.includes(t);let n=ot.membership.get(e);return n||(n=new Set(e),ot.membership.set(e,n)),n.has(t)}var ot,st=t((()=>{}));function ct(e,t,n){let r=t===`font`?e.fontFormattingIndices:t===`fill`?e.fillFormattingIndices:t===`line`?e.lineFormattingIndices:e.effectFormattingIndices,i=r?it(r,n):-1;return i>=0?i:n}function lt(e,t){if(!e)return null;if(!e.fontColors?.length)return e.fontColor??null;let n=e.fontColorIndex??ct(e,`font`,t);return e.fontColors[n%e.fontColors.length]??null}function ut(e,t,n){if(!e)return null;let r=t===`fill`?e.fillColors:e.lineColors;return r?.length?r[((t===`fill`?e?.fillColorIndex:e?.lineColorIndex)??ct(e,t,n))%r.length]??null:null}function dt(e,t){if(!e)return null;let n=e.fillPaints;return n?.length?n[(e.fillColorIndex??ct(e,`fill`,t))%n.length]??null:null}function ft(e,t){if(!e)return null;let n=e.linePaints;return n?.length?n[(e.lineColorIndex??ct(e,`line`,t))%n.length]??null:null}function Q(e,t){if(!e)return;if(e.fillHidden)return e.fillNoStyle?void 0:null;if(at(e.fillSemanticFallbackIndices,t))return;let n=dt(e,t);if(n)return n;let r=ut(e,`fill`,t);return r?{fillType:`solid`,color:r}:e.fillPaintAuthored===!0?null:void 0}function pt(e,t){if(!e)return;if(e.lineHidden)return e.lineNoStyle?void 0:null;if(at(e.lineSemanticFallbackIndices,t))return;let n=ft(e,t);if(n)return n;let r=ut(e,`line`,t);return r?{fillType:`solid`,color:r}:e.linePaintAuthored===!0?null:void 0}function mt(e,t){return e==null?!0:t===`fill`?e.fillNoStyle===!0||e.allowNoFillOverride===!0:e.lineNoStyle===!0||e.allowNoLineOverride===!0}function ht(e,t,n){let r=Q(e,n);return r===null&&e?.fillHidden===!0&&!mt(t,`fill`)?void 0:r}function gt(e,t,n){let r=pt(e,n);return r===null&&e?.lineHidden===!0&&!mt(t,`line`)?void 0:r}function _t(e){return mt(e,`fill`)?null:void 0}function vt(e){return mt(e,`line`)?null:void 0}function yt(e,t,n,...r){for(let e of r){let r=ht(e,t,n);if(r!==void 0)return r}return Q(e,n)}function bt(e,t,n,...r){for(let e of r){let r=gt(e,t,n);if(r!==void 0)return r}return pt(e,n)}function xt(e,t,n){let r=Z(e,n);if(t.fillHidden===!0){let e=_t(r);if(e!==void 0)return e}if(t.fill!=null)return t.fill;if(t.fillColor!=null)return{fillType:`solid`,color:t.fillColor};let i=ht(t.style,r,0);return i===void 0?t.fillPaintAuthored===!0&&t.fillHidden!==!0?null:yt(e.chartStyleRoles?.[n],r,0,t.style):i}function St(e,t,n){let r=t?.style,i=e.chartStyleRoles?.[n],a=Z(e,n),o;t?.fillHidden===!0?(o=_t(a),o===void 0&&(o=Q(i,0))):o=t?.fillColor?{fillType:`solid`,color:t.fillColor}:yt(i,a,0,r);let s;t?.lineHidden===!0?(s=vt(a),s===void 0&&(s=pt(i,0))):s=t?.lineColor?{fillType:`solid`,color:t.lineColor}:bt(i,a,0,r);let c=i,l=Be(t?.lineDash==null?void 0:{lineDash:t.lineDash,lineDashAuthored:!0},r,c);return{fill:o,line:s,lineWidthEmu:t?.lineWidthEmu??r?.lineWidthEmu??c?.lineWidthEmu,lineDash:l?.lineDash,lineCustomDash:l?.lineCustomDash,lineCap:r?.lineCap??c?.lineCap,lineJoin:r?.lineJoin??c?.lineJoin}}var Ct=t((()=>{nt(),st()}));function wt(e,t,n,r,i){let a=r?.chartexStyle,o=n.chartexStyle,s=Le(e,n),c=Ke(e,t,s>=0?s:i)??(t===`dataPoint`?e.chartexDataPointStyle:e.chartexDataPointLineStyle),l=Z(e,t),u=r?.lineHidden===!0?null:gt(a,l,r?.idx??i);u===void 0&&r?.lineColor&&(u={fillType:`solid`,color:r.lineColor}),u===void 0&&(u=n.lineHidden===!0?null:gt(o,l,i)),u===void 0&&n.lineColor&&(u={fillType:`solid`,color:n.lineColor}),u===void 0&&(u=pt(c,i));let d=Be(r?.lineDash==null?void 0:{lineDash:r.lineDash,lineDashAuthored:!0},a,o,c);return{paint:u,widthEmu:r?.lineWidthEmu??a?.lineWidthEmu??n.lineWidthEmu??o?.lineWidthEmu??c?.lineWidthEmu,dash:d?.lineDash,customDash:d?.lineCustomDash,cap:a?.lineCap??o?.lineCap??c?.lineCap,join:a?.lineJoin??o?.lineJoin??c?.lineJoin}}function Tt(e,t,n,r,i){let a=Le(e,t),o=Ke(e,`dataPoint`,a>=0?a:r)??e.chartexDataPointStyle,s=Z(e,`dataPoint`),c=ht(n?.chartexStyle,s,n?.idx??r);if(c!==void 0)return c;if(n?.fillHidden===!0){let e=_t(s);if(e!==void 0)return e}if(n?.color===`00000000`)return null;if(n?.color)return{fillType:`solid`,color:n.color};let l=i==null?null:t.dataPointColors?.[i];if(l===`00000000`)return null;if(l)return{fillType:`solid`,color:l};let u=ht(t.chartexStyle,s,r);return u===void 0?t.color===`00000000`?null:t.fillPattern?t.fillPattern:Q(o,r):u}var Et=t((()=>{nt(),Ct()})),Dt,Ot,kt,At,jt=t((()=>{Dt=12700,Ot=4/3,kt=91440,At=45720}));function Mt(e,t){return t==null||!Number.isFinite(t)?e:e*Math.max(0,Math.min(1e3,t))/100}function Nt(e,t,n,r=!1){let i=Math.max(0,t-1),a=Number.isFinite(e)?Math.max(0,Math.min(i,e)):0,o=n?(a+.5)/Math.max(1,t):t===1?.5:a/i;return r?1-o:o}function Pt(e,t){if(e<=0)return[];let n=[],r=t?e:e-1;for(let i=0;i<=r;i++)n.push(t?i/e:e===1?.5:i/(e-1));return n}function Ft(e,t){return e<=0?[]:t?Array.from({length:e},(t,n)=>(n+.5)/e):e<=1?[]:Array.from({length:e-1},(t,n)=>(n+.5)/(e-1))}function It(e,t,n,r,i){if(i==null)return{fraction:Nt(e,t,n,r),textAlign:`center`};let a=Math.max(0,t-1),o=Number.isFinite(e)?Math.max(0,Math.min(a,e)):0,s,c;if(t<=1?(s=0,c=1):n?(s=o/t,c=(o+1)/t):(s=o===0?0:(o-.5)/a,c=o===a?1:(o+.5)/a),r){let e=1-c;c=1-s,s=e}return i===`l`?{fraction:s,textAlign:`left`}:i===`r`?{fraction:c,textAlign:`right`}:{fraction:(s+c)/2,textAlign:`center`}}function Lt(e,t){return e!=null&&Number.isFinite(e)?Math.max(0,Math.min(500,e)):t===`legacy`?150:33}var Rt=t((()=>{}));function zt(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 Bt(e,t){return typeof e==`number`&&Number.isFinite(e)&&e>=100&&e<=4e5?e/100*t:null}function Vt(e,t,n){return Bt(e.titleFontSizeHpt,n)??rn*n}function Ht(e,t,n,r,i){if(!e.title&&!e.titlePresent)return{fontPx:0,topPad:0,bottomPad:0,bandH:0};let a=Vt(e,t,n),o=a+t*r+t*i,s=Math.min(Math.max(0,o-a),a*an);return{fontPx:a,topPad:s,bottomPad:o-a-s,bandH:o}}function Ut(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=zt(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 Wt(e,t=!1){return t?{legRightW:0,legLeftW:0,legTopH:0,legBottomH:0}:{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 Gt(e,t){return Bt(e,t)??10*t}function Kt(e,t){return Math.max(0,e!=null&&Number.isFinite(e)?e:0)/Dt*t}function qt(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`||e===`right`?-Math.PI/2:0}function Jt(e){return Math.max(8,e*.02)}function Yt(e,t,n,r){let i=Gt(e.catAxisTitleFontSizeHpt,r),a=Gt(e.valAxisTitleFontSizeHpt,r),o=Kt(e.catAxisTitleTextVerticalInsetEmu,r),s=Kt(e.valAxisTitleTextVerticalInsetEmu,r);return{catFontPx:i,valFontPx:a,catBandH:e.catAxisTitle?i+o+Jt(n)+4:0,valBandW:e.valAxisTitle?a+s+Jt(t)+4:0}}function Xt(e,t,n){if(!e.title&&!e.titlePresent)return{fontPx:0,topPad:0,bottomPad:0,bandH:0};let r=Vt(e,t,n),i=r*(e.cartesianAutoLayoutProfile===`wordClassicColumn`?cn:on),a=Math.min(Math.max(0,i-r),r*an);return{fontPx:r,topPad:a,bottomPad:i-r-a,bandH:i}}function Zt(e,t,n){let r=Qt(e),i=Mt(r,t);return e*(n===`wordClassicColumn`?ln:sn)+i-r}function Qt(e){return 5/6*e}function $t(e){return e}function en(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??Qt(e.catLabelFontPx))+e.catTitleBandH+t,l:e.valAxisHidden?0:e.valLabelWidth+(e.valLabelGapPx??$t(e.valLabelFontPx))+e.valTitleBandW+t}}function tn(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 nn(e,t,n,r,i,a,o){let s=o.titleBand??Ht(e,i,a,o.titleTopPadFrac??0,o.titleBottomPadFrac??0),c=o.legendReserve===void 0?Ut(e,r,i,o.legendSideReserveFrac):o.legendReserve,l=Wt(c,e.legendOverlay===!0),u=Yt(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=!1,g=o.honorPlotAreaManualLayout?e.plotAreaManualLayout:null;if(g){let e=g.layoutTarget===`inner`?{t:0,r:0,b:0,l:0}:o.manualOuterInsets??{t:0,r:0,b:0,l:0},a=g.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=tn(g,{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,h=!0)}return{title:s,legend:c,legendBands:l,axisTitles:u,plotRect:{px0:d,py0:f,pw:p,ph:m},plotAreaManualLayoutApplied:h,center:{cx:d+p/2,cy:f+m/2}}}var rn,an,on,sn,cn,ln,un,dn=t((()=>{jt(),Rt(),rn=14,an=.62,on=2.25,sn=2.75,cn=2.15,ln=3.05,un=1.5}));function fn(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 pn(e,t,n){return Math.min(Math.max(e,t),n)}function mn(e,t,n,r,i,a=t){if(!vn(t)||!vn(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=fn(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=fn(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=tn(i,a,h);if(!e)return null;h=e,d=`center`,f=`middle`;let n=fn(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:pn(h.x+h.w/2,s.x+v,s.x+s.w-v),x=u||i?h.y+h.h/2:pn(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 hn(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 gn(e){let t=``,n=0;for(let r of e){if(n>=yn)return{value:t,truncated:!0};t+=r,n++}return{value:t,truncated:!1}}function _n(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(bn,Math.floor(n/r))),o=gn(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]=hn(`${d[d.length-1]}…`,t,i)),d}var vn,yn,bn,xn=t((()=>{dn(),vn=e=>[e.x,e.y,e.w,e.h].every(Number.isFinite)&&e.w>0&&e.h>0,yn=4096,bn=4}));function Sn(e,t){return(t?.deleted??e?.deleted)===!0}function Cn(e,t){let n=e?.fontPaintAuthored===!0||e?.fontColor!=null||e?.fontHidden===!0,r=t?.fontPaintAuthored===!0||t?.fontColor!=null||t?.fontHidden===!0;return{fontColor:n?e.fontColor:e?.fontColor??t?.fontColor,fontItalic:e?.fontItalic??t?.fontItalic,fontLanguage:e?.fontLanguage??t?.fontLanguage,fontBaseline:e?.fontBaseline??t?.fontBaseline,fontPaintAuthored:n?!0:r||void 0,fontHidden:n?e.fontHidden:t?.fontHidden,textRotation:e?.textRotation??t?.textRotation,textWrap:e?.textWrap??t?.textWrap,textVerticalAnchor:e?.textVerticalAnchor??t?.textVerticalAnchor,textVerticalMode:e?.textVerticalMode??t?.textVerticalMode,textLInsEmu:e?.textLInsEmu??t?.textLInsEmu,textTInsEmu:e?.textTInsEmu??t?.textTInsEmu,textRInsEmu:e?.textRInsEmu??t?.textRInsEmu,textBInsEmu:e?.textBInsEmu??t?.textBInsEmu,textBodyAuthored:e?.textBodyAuthored===!0||t?.textBodyAuthored===!0||void 0,textAlign:e?.textAlign??t?.textAlign}}function wn(e,t){return e?.textAlign===`l`?`left`:e?.textAlign===`r`?`right`:e?.textAlign===`ctr`?`center`:t}function Tn(e,t){let n=t/Dt,r=e?.textBodyAuthored===!0?kt:0,i=e?.textBodyAuthored===!0?At:0;return{left:(e?.textLInsEmu??r)*n,top:(e?.textTInsEmu??i)*n,right:(e?.textRInsEmu??r)*n,bottom:(e?.textBInsEmu??i)*n}}function En(e,t){let n=Number.isFinite(e)?e/6e4*Math.PI/180:0;return t===`vert`?n+Math.PI/2:t===`vert270`?n+Math.PI*3/2:n}function Dn(e,t,n,r){let i=En(n,r);if(i===0)return{w:e,h:t,radians:i};let a=Math.abs(Math.cos(i)),o=Math.abs(Math.sin(i));return{w:e*a+t*o,h:e*o+t*a,radians:i}}function On(e,t,n,r,i,a,o){return r!==0&&(e.translate(t,n),e.rotate(r),e.translate(-t,-n)),{x:t+(i===`left`?o.left:i===`right`?-o.right:(o.left-o.right)/2),y:n+(a===`top`?o.top:a===`bottom`?-o.bottom:(o.top-o.bottom)/2)}}function kn(e,t,n,r,i,a){return a?.textWrap===`none`?![t,n,r].every(Number.isFinite)||t<=0||n<=0||r<=0?[]:gn(e).value.split(/\r?\n/):_n(e,t,n,r,i)}function An(e,t,n,r,i,a,o=`center`,s=`center`,c=n.w,l=0){if(!a){let n=Math.max(0,c)/2,r=e=>e===`left`?-n:e===`right`?n:0,i=r(o)-r(s);return{x:e+Math.cos(l)*i,y:t+Math.sin(l)*i}}let u=o===`left`?n.x:o===`right`?n.x+n.w:n.x+n.w/2,d=i?.textVerticalAnchor??(i?.textBodyAuthored===!0?`t`:`ctr`);return d===`t`?{x:u,y:n.y+Math.min(r,n.h)/2}:d===`b`?{x:u,y:n.y+n.h-Math.min(r,n.h)/2}:{x:u,y:n.y+n.h/2}}var jn=t((()=>{jt(),xn()}));function Mn(e,t=1,n=!0){return e===`pie`||e===`ofPie`?!0:e===`doughnut`&&(t<=1||n)}function Nn(e){return e.chartType===`bubble`&&e.series.length===1&&e.series[0]?.bubbleXSourceIsString===!0?!0:!!e.varyColors&&e.series.length===1&&typeof e.chartType==`string`&&(/Bar/.test(e.chartType)||e.chartType===`line`||e.chartType===`stackedLine`||e.chartType===`stackedLinePct`||e.chartType===`scatter`||e.chartType===`radar`&&e.radarStyle!==`filled`)}function Pn(e,t){let n=0;for(let r of e.series[t]?.trendLines??[])r.lineHidden===!0||r.linePaintAuthored===!0&&r.lineColor==null||n++;return n}function Fn(e,t=!1){let n=e.series.map(()=>({firstIndex:-1,count:0,pointDriven:!1}));if(e.series.length===0)return n;let r=Mn(e.chartType,e.series.length,e.varyColors!==!1),i=Nn(e);if(r||i)return n[0]={firstIndex:0,count:e.series[0]?.values.length??0,pointDriven:!0},n;let a=0;for(let r=0;r<e.series.length;r++){let i=ze(e,r),o=i?.kind!==`pie`&&i?.kind!==`pie3D`&&i?.kind!==`doughnut`&&i?.kind!==`ofPie`&&Ge(e,r),s=o?e.series[r].values.length:1;n[r]={firstIndex:a,count:s,pointDriven:o},a+=s+(t?Pn(e,r):0)}return n}function In(e,t,n=0){let r=e[t];if(!r||r.firstIndex<0||r.count===0)return null;let i=r.pointDriven?n:0;return i>=0&&i<r.count?r.firstIndex+i:null}function Ln(e){let t=new Set;for(let n of e.legendEntries??[])n.deleted===!0&&t.add(n.idx);return t}function Rn(e,t,n,r=0){let i=In(e,n,r);return i!=null&&!t.has(i)}function zn(e,t,n){let r=e[n];if(!r||r.firstIndex<0)return!1;for(let e=0;e<r.count;e++)if(!t.has(r.firstIndex+e))return!0;return!1}var Bn=t((()=>{nt()}));function Vn(e){return e.markerSymbol!=null||e.markerSize!=null||e.markerFill!=null||e.markerFillPaint!==void 0||e.markerFillPaintAuthored===!0||e.markerStyle!=null||e.markerLine!=null||e.markerLinePaintAuthored===!0||e.markerLineWidthEmu!=null}function Hn(e){return e!=null&&(e.markerSymbol!=null||e.markerSize!=null||e.markerFill!=null||e.color!=null||e.markerFillPaint!==void 0||e.markerFillPaintAuthored===!0||e.chartexStyle!=null||e.markerStyle!=null||e.markerLine!=null||e.markerLinePaintAuthored===!0||e.markerLineWidthEmu!=null)}function Un(e,t){return t==null||!Number.isFinite(t)||t===0||t<0&&e.showNegativeBubbles!==!0?null:Math.abs(t)}function Wn(e,t){return e.bubble3D??e.bubble3DGroupDefault??!1}function Gn(e){return e!==`none`&&e!==`x`&&e!==`plus`}function Kn(e,t,n,r,i,a){if(t.sourceHidden?.[r]===!0)return!1;let o=a?.chartType??e.chartType,s=t.values[r]!=null;if(!s&&(n===`line`||n===`stackedLine`||n===`stackedLinePct`)&&(s=(o===`line`||o===`stackedLine`||o===`stackedLinePct`)&&(o!==`line`||e.dispBlanksAs===`zero`)),!s)return!1;if(n===`scatter`&&i){let n=(t.categories??e.categories)[r];if(n==null||!Number.isFinite(Number.parseFloat(n)))return!1}if(n===`scatter`&&o===`bubble`){let n=t.bubbleSizes?.[r];if(n==null||!Number.isFinite(n)||n===0)return!1;let i=a?.showNegativeBubbles??e.showNegativeBubbles;return n<0&&i!==!0?!1:(a?.bubbleScale??e.bubbleScale??100)>0}return!0}function qn(e,t,n,r,i,a=0){if(t.sourceHidden?.[r]===!0||n===`surface`||n===`ofPie`||n===`doughnut`&&a>0)return!1;if(n===`area`||n===`stackedArea`||n===`stackedAreaPct`)return r<Math.max(e.categories.length,t.categories?.length??0,t.values.length);let o=t.values[r];if((n===`line`||n===`stackedLine`||n===`stackedLinePct`)&&o==null)return(e.chartType===`line`||e.chartType===`stackedLine`||e.chartType===`stackedLinePct`)&&(e.chartType!==`line`||e.dispBlanksAs===`zero`);if(o==null||!Number.isFinite(o))return!1;if(n===`pie`||n===`doughnut`||n===`ofPie`)return t.values.some(e=>e!=null&&Number.isFinite(e)&&Math.abs(e)>0);if(n===`scatter`){if(!i)return!0;let n=(t.categories??e.categories)[r];return n!=null&&Number.isFinite(Number.parseFloat(n))}return!0}function Jn(e,t,n,r,i,a,o=0){if(n===`radar`||!t.seriesDataLabels&&!t.dataLabelOverrides?.length)return 0;let s=new Map((t.dataLabelOverrides??[]).map(e=>[e.idx,e])),c=0;for(let a=0;a<r;a++){let r=s.get(a);Sn(t.seriesDataLabels,r)||(r?.showLegendKey??t.seriesDataLabels?.showLegendKey??!1)===!0&&qn(e,t,n,a,i,o)&&c++}return c}function Yn(e){return e===`line`||e===`stackedLine`||e===`stackedLinePct`||e===`area`||e===`stackedArea`||e===`stackedAreaPct`||e===`stock`||e===`clusteredBar`||e===`clusteredBarH`||e===`stackedBar`||e===`stackedBarH`||e===`stackedBarPct`||e===`stackedBarHPct`}function Xn(e){return e.dataPointOverrides?.some(e=>e.markerSymbol!=null&&e.markerSymbol!==`none`)===!0}function Zn(e,t,n,r){return e===`radar`?r===`filled`:e===`scatter`&&t!==`bubble`&&(n===`lineNoMarker`||n===`smoothNoMarker`)}function Qn(e,t,n,r){let i=n.seriesType??e;return!(i===`line`||i===`stackedLine`||i===`stackedLinePct`||i===`stock`||i===`radar`)&&i!==`scatter`&&i!==`bubble`||i===`radar`&&r===`filled`||i===`scatter`&&(t===`lineNoMarker`||t===`smoothNoMarker`)?!1:(n.markerSymbol??(i===`stock`?`none`:`circle`))!==`none`&&n.showMarker!==!1}function $n(e,t,n,r){return t?.markerSymbol==null?!r||e.markerSymbol===`none`?`none`:e.markerSymbol??n:t.markerSymbol}function er(e,t,n){if(t?.markerFillPaint!==void 0)return t.markerFillPaint;if(!(t?.markerFill!=null||t?.color!=null||t?.markerFillPaintAuthored===!0)&&e.dataPointColors?.[n]==null&&e.markerFillPaint!==void 0)return e.markerFillPaint}function tr(e,t,n,r){return t?.markerFill==null?t?.color==null?e.dataPointColors?.[n]??(t?.markerFillPaintAuthored===!0?`00000000`:e.markerFill==null?e.markerFillPaintAuthored===!0?`00000000`:r:e.markerFill):t.color:t.markerFill}function nr(e){return e.markerFillPaint}function rr(e,t){return e.markerFill==null?e.markerFillPaintAuthored===!0?`00000000`:t:e.markerFill}function ir(e){return e?.fillType===`gradient`?e.stops.length:e==null?0:1}var ar=t((()=>{jn(),Bn()}));function or(e,t){return t===`bar`||t===`bar3D`?e.includes(`Bar`):t===`line`||t===`line3D`?e.includes(`Line`):t===`area`||t===`area3D`?e.includes(`Area`):t===`pie`||t===`pie3D`?e===`pie`:t===`surface`||t===`surface3D`?e===`surface`||e===`surface3D`:e===t}function sr(e){if(e.plotGroups==null)return!0;let t=0;for(let n of e.plotGroups){if(!Number.isSafeInteger(n.seriesStart)||n.seriesStart!==t||!Number.isSafeInteger(n.seriesCount)||n.seriesCount<0||n.seriesCount>e.series.length-t)return!1;t+=n.seriesCount}return t===e.series.length}function cr(e){let t=Array(e.series.length);for(let n of e.plotGroups??[]){let r=Math.min(e.series.length,n.seriesStart+n.seriesCount);for(let e=n.seriesStart;e<r;e++)t[e]=n}return t}function lr(e,t){return t?t.kind===`bubble`?`bubble`:t.kind===`line`?t.grouping===`percentStacked`?`stackedLinePct`:t.grouping===`stacked`?`stackedLine`:`line`:t.kind===`area`?t.grouping===`percentStacked`?`stackedAreaPct`:t.grouping===`stacked`?`stackedArea`:`area`:t.kind:e}function ur(e){if(e.plotGroups==null||e.plotGroups.length<=1)return`legacy`;if(!sr(e))return`unsupported`;let t=e.plotGroups.filter(e=>e.seriesCount>0);if(t.length===0)return`legacy`;if(t.length===1)return or(e.chartType,t[0].kind)?`legacy`:`unsupported`;if(t.some(e=>e.categoryAxis===`none`||e.valueAxis===`none`)||t.some(t=>t.categoryAxis===`secondary`&&e.secondaryCatAxis==null||t.valueAxis===`secondary`&&e.secondaryValAxis==null))return`unsupported`;let n=new Set(t.map(e=>e.kind));if(t.some(e=>dr.has(e.kind)))return`unsupported`;if(t.length===2&&t[0].kind===`bar`&&t[1].kind===`scatter`){let[n,r]=t,i=e.series.slice(n.seriesStart,n.seriesStart+n.seriesCount),a=e.series.slice(r.seriesStart,r.seriesStart+r.seriesCount);return n.categoryAxis===`primary`&&(n.valueAxis===`primary`||n.valueAxis===`unresolved`)&&(r.categoryAxis===`secondary`||r.categoryAxis===`unresolved`)&&r.valueAxis===`secondary`&&e.secondaryCatAxis!=null&&e.secondaryValAxis!=null&&i.every(e=>e.useSecondaryAxis!==!0)&&a.every(e=>e.useSecondaryAxis===!0)?`bar-combo`:`unsupported`}if(t.some(e=>e.categoryAxis===`unresolved`||e.valueAxis===`unresolved`||e.seriesAxis===`unresolved`))return`unsupported`;if(n.size===1){let n=t[0].kind;if(n===`line`||n===`area`)return t.some(e=>e.categoryAxis!==`primary`)?`unsupported`:n===`line`?`line-groups`:`area-groups`;if(n===`scatter`||n===`bubble`)return`scatter-bubble`;if(n===`bar`){let n=e.chartType.endsWith(`H`)?`bar`:`col`;return new Set(t.map(e=>e.barDirection??n)).size>1&&(t.length!==2||t.some(e=>e.categoryAxis!==`primary`||e.valueAxis!==`primary`))?`unsupported`:`bar-combo`}return`unsupported`}if(t.length===2&&n.has(`bar`)&&n.has(`area`))return t.find(e=>e.kind===`line`||e.kind===`area`)?.categoryAxis===`primary`?`bar-combo`:`unsupported`;if(t.length===2&&t[0].kind===`area`&&t[1].kind===`line`&&t.every(e=>e.categoryAxis===`primary`&&e.valueAxis===`primary`))return`area-groups`;if(n.size===2&&n.has(`bar`)&&n.has(`line`)){let n=t.filter(e=>e.kind===`bar`),r=t.filter(e=>e.kind===`line`),i=e.chartType.endsWith(`H`)?`bar`:`col`,a=new Set(n.map(e=>e.barDirection??i));return n.length<=2&&r.length===1&&t.length<=3&&a.size===1&&t.every(e=>e.categoryAxis===`primary`)?`bar-combo`:`unsupported`}return[...n].every(e=>e===`scatter`||e===`bubble`)?t.length>2?`unsupported`:`scatter-bubble`:t.length===2&&t[0].kind===`stock`&&t[1].kind===`line`&&(t[0].seriesCount===3||t[0].seriesCount===4)&&(t[1].grouping==null||t[1].grouping===`standard`)&&t.every(e=>e.categoryAxis===`primary`&&e.valueAxis===`primary`)?`stock-line`:`unsupported`}var dr,fr=t((()=>{dr=new Set([`area3D`,`line3D`,`pie3D`,`bar3D`,`surface3D`])}));function pr(e,t){let n=e?.splitType??`auto`,r=e?.splitPos,i=new Set;if((e?.splitPosAuthored===!0||r!=null)&&(![`percent`,`pos`,`val`].includes(n)||r==null||!Number.isFinite(r)))return null;if(n===`auto`){if(e?.splitTypeAuthored===!0)return null;let n=Math.ceil(t.length/3);for(let e=Math.max(0,t.length-n);e<t.length;e++)i.add(e);return i}if(n===`cust`){if(e?.customSplitIndices==null)return null;for(let n of e.customSplitIndices)Number.isSafeInteger(n)&&n>=0&&n<t.length&&i.add(n);return i}if(r==null||!Number.isFinite(r))return null;if(n===`pos`){if(!Number.isInteger(r)||r<0||r>32e3)return null;let e=Math.min(t.length,r);for(let n=t.length-e;n<t.length;n++)i.add(n);return i}if(n===`val`){for(let e=0;e<t.length;e++){let n=t[e];n!=null&&Number.isFinite(n)&&n<r&&i.add(e)}return i}if(r<0||r>100)return null;let a=0;for(let e of t)e!=null&&Number.isFinite(e)&&(a+=Math.abs(e));if(!(a>0))return i;for(let e=0;e<t.length;e++){let n=t[e];n!=null&&Number.isFinite(n)&&Math.abs(n)/a*100<r&&i.add(e)}return i}var mr=t((()=>{}));function hr(e,t){return[Math.max(1,Math.ceil(e)),Math.max(1,Math.ceil(t))]}function gr(e,t){let[n,r]=hr(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 _r(e,t,n){let[r,i]=hr(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}}var vr=t((()=>{}));function yr(e){return e===`image-dimension`||e===`image-pixels`||e===`active-decoded-bytes`}function br(e){return typeof e==`number`&&Number.isSafeInteger(e)&&e>=0}function xr(e){if(!(!e||typeof e!=`object`))try{let t=e,n=t.code,r=t.metric,i=t.limit,a=t.observed;return n!==`ooxml-decoded-image-limit`||!yr(r)||!br(i)||!br(a)||a<=i?void 0:{metric:r,limit:i,observed:a}}catch{return}}function Sr(e){if(!xr(e))return!1;try{let t=e;return typeof t.name==`string`&&typeof t.message==`string`}catch{return!1}}var Cr,wr,Tr,Er,Dr,Or,kr,Ar=t((()=>{Cr=32767,wr=1<<25,Tr=1<<27,Er=Tr,Dr=wr*4,Or=Tr*4,kr=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 jr(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>Pr||d>Pr||u*d>Fr)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 Mr(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:jr(e,t,o,s,c)}function Nr(e,t,n,r,i,a){try{let o=gr(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}}var Pr,Fr,Ir=t((()=>{vr(),Ar(),Pr=Cr,Fr=wr}));function Lr(e,t){if(e.length<t+ui)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 Rr(e){return e.length<4?!1:(e[0]|e[1]<<8|e[2]<<16|e[3]<<24)>>>0===ci?!0:Lr(e,0)}function zr(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)===di}function Br(e){return e===`image/wmf`||e===`image/emf`}function Vr(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 Hr(e,t){for(let n=0;n<e.length;n++)if(e[n]==null){e[n]=t;return}e.push(t)}function Ur(e,t){return(t-e.orgX)*(e.W/e.extX)}function Wr(e,t){return(t-e.orgY)*(e.H/e.extY)}function Gr(e,t){let n=t*Math.abs(e.W/e.extX);return n>=1?n:1}function Kr(e,t,n){return Math.abs(e-t)<=pi||Math.abs(e-n)<=pi}function qr(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])<=pi&&Kr(i[0],0,e.W)&&Kr(a[0],0,e.W),s=Math.abs(i[1]-a[1])<=pi&&Kr(i[1],0,e.H)&&Kr(a[1],0,e.H);o||s||r.push([i,a])}return r}function Jr(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=Gr(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=qr(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 Yr(e,t,n){let r=[];for(let i=0;i<n&&!(t.remaining<4);i++){let n=t.i16(),i=t.i16();r.push([Ur(e,n),Wr(e,i)])}return r}function Xr(e,t){t.length<2||!e.curPen||e.curPen.stroke==null||Jr(e,t,!1)}function Zr(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}Jr(e,t,!0)}function Qr(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=Yr(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=Gr(e,e.curPen.width),i.stroke(),e.drew=!0))}function $r(e){let t=e.u16(),n=e.i16();e.i16();let r=e.u32();return{kind:`pen`,stroke:(t&255)==5?null:Vr(r),width:Math.abs(n)}}function ei(e){let t=e.u16(),n=e.u32();return e.u16(),{kind:`brush`,fill:t===1?null:Vr(n)}}function ti(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 ni(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:ti(e.bytes(Math.min(32,e.remaining)))}}function ri(e,t,n,r){if(t.length===0)return;let i=e.curFont,a=i?.height||12,o=Math.abs(Wr(e,e.orgY+a)-Wr(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,Ur(e,n),Wr(e,r)),e.drew=!0}catch{}}function ii(e,t,n,r,i=!1){if(!Rr(e))return!1;let a=0;(e.length>=4?(e[0]|e[1]<<8|e[2]<<16|e[3]<<24)>>>0:0)===ci&&(a=li);let o=a+ui;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===si.EOF)break;let a=o+6,l=new fi(e,a,i);switch(n){case si.SETWINDOWORG:s.orgY=l.i16(),s.orgX=l.i16();break;case si.SETWINDOWEXT:{let e=l.i16(),t=l.i16();s.extY=e||1,s.extX=t||1,s.haveExt=!0;break}case si.SETPOLYFILLMODE:s.fillRule=l.u16()===1?`evenodd`:`nonzero`;break;case si.SETTEXTCOLOR:s.textColor=Vr(l.u32());break;case si.SETTEXTALIGN:s.textAlign=l.u16();break;case si.CREATEPENINDIRECT:Hr(s.objects,$r(l));break;case si.CREATEBRUSHINDIRECT:Hr(s.objects,ei(l));break;case si.CREATEFONTINDIRECT:Hr(s.objects,ni(l));break;case si.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 si.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 si.POLYLINE:Xr(s,Yr(s,l,l.i16()));break;case si.POLYGON:Zr(s,Yr(s,l,l.i16()));break;case si.POLYPOLYGON:Qr(s,l);break;case si.RECTANGLE:{let e=l.i16(),t=l.i16(),n=l.i16(),r=l.i16();Zr(s,[[Ur(s,r),Wr(s,n)],[Ur(s,t),Wr(s,n)],[Ur(s,t),Wr(s,e)],[Ur(s,r),Wr(s,e)]]);break}case si.TEXTOUT:{let e=l.u16(),t=ti(l.bytes(e));e%2!=0&&l.skip(1);let n=l.i16();ri(s,t,l.i16(),n);break}case si.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=Mr(c,o,i-o);if(u){let i=Ur(s,r),a=Wr(s,n),o=Ur(s,r+t),c=Wr(s,n+e);Nr(s.ctx,u,i,a,o,c)&&(s.drew=!0)}break}case si.DIBSTRETCHBLT:case si.DIBBITBLT:case si.SETBKMODE:break;default:break}o=i}return s.drew}function ai(e,t){let n=e>0?e:300,r=t>0?t:300,i=e=>Math.max(1,Math.min(mi,Math.round(e)));return{w:i(n*hi),h:i(r*hi)}}async function oi(e,t,n,r=!1){if(!Rr(e)||t<=0||n<=0)return null;let i=gr(t,n);if(!i)return null;let a=i.getContext(`2d`);return!a||(a.lineJoin=`round`,a.lineCap=`round`,!ii(e,a,t,n,r))?null:createImageBitmap(i)}var si,ci,li,ui,di,fi,pi,mi,hi,gi=t((()=>{Ir(),vr(),si={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},ci=2596720087,li=22,ui=18,di=1179469088,fi=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)}},pi=.001,mi=2e3,hi=2}));function _i(e){if(!e)return!0;if(![e.l,e.t,e.r,e.b].every(Number.isFinite))return!1;let t=e.l,n=e.t,r=1-e.r,i=1-e.b;return r>t&&i>n&&Math.min(1,r)>Math.max(0,t)&&Math.min(1,i)>Math.max(0,n)}function vi(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 yi(e,t){if(!t||!(t.l||t.t||t.r||t.b)||![t.l,t.t,t.r,t.b].every(Number.isFinite))return null;let{w:n,h:r}=vi(e);if(n<=0||r<=0)return null;let i=t.l,a=t.t,o=1-t.r,s=1-t.b,c=o-i,l=s-a;if(!(c>0)||!(l>0))return{sx:0,sy:0,sw:0,sh:0,dxFraction:0,dyFraction:0,dwFraction:0,dhFraction:0};let u=Math.max(0,i),d=Math.max(0,a),f=Math.min(1,o),p=Math.min(1,s),m=Math.max(0,f-u),h=Math.max(0,p-d);return{sx:u*n,sy:d*r,sw:m*n,sh:h*r,dxFraction:(u-i)/c,dyFraction:(d-a)/l,dwFraction:m/c,dhFraction:h/l}}function bi(e,t,n,r,i,a,o){let s=yi(t,n);s?s.sw>0&&s.sh>0&&s.dwFraction>0&&s.dhFraction>0&&e.drawImage(t,s.sx,s.sy,s.sw,s.sh,r+s.dxFraction*a,i+s.dyFraction*o,s.dwFraction*a,s.dhFraction*o):e.drawImage(t,r,i,a,o)}function xi(e,t,n){if(!Number.isFinite(e)||!Number.isFinite(t)||!(e>0)||!(t>0))return null;let r=n?1-n.l-n.r:1,i=n?1-n.t-n.b:1;if(!Number.isFinite(r)||!Number.isFinite(i)||!(r>0)||!(i>0)||!_i(n))return null;let a=Math.ceil(e/r),o=Math.ceil(t/i);return Number.isFinite(a)&&Number.isFinite(o)?{width:a,height:o}:null}function Si(e,t,n,r){if(!t||!Br(e))return{widthPt:n,heightPt:r};if(!_i(t))return null;let i=1-t.l-t.r,a=1-t.t-t.b;return{widthPt:n/i,heightPt:r/a}}var Ci=t((()=>{gi()}));function wi(e,t,n){let r=Ei[e];if(!r)return null;let i=gr(8,8);if(!i)return null;let a=i.getContext(`2d`);if(!a)return null;a.fillStyle=Ti(n),a.fillRect(0,0,8,8),a.fillStyle=Ti(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 Ti(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})`}var Ei,Di=t((()=>{vr(),Ei={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 Oi(e,t){return e.map(e=>e*t)}function ki(e,t){let n=Ni[e];return n?Oi(n,t):[]}function Ai(e,t,n){if(e!=null){let t=[];for(let r=0;r<Math.min(e.length,Pi);r+=1){let i=e[r];!Number.isFinite(i.dash)||!Number.isFinite(i.space)||i.dash<0||i.space<0||i.dash===0&&i.space===0||t.push(i.dash*n,i.space*n)}return t}return ki(t??`solid`,n)}function ji(e,t){let n=ki(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(),Oi(r,t)):[]}function Mi(e,t){let n=Fi[e];return n?Oi(n,t):[]}var Ni,Pi,Fi,Ii=t((()=>{Ni={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]},Pi=512,Fi={dotted:[1.5,3],dottedHeavy:[1.5,3],dash:[6,3],dashHeavy:[6,3],dashLong:[10,4],dashLongHeavy:[10,4],dotDash:[6,3,1.5,3],dotDashHeavy:[6,3,1.5,3],dotDotDash:[6,3,1.5,3,1.5,3],dotDotDashHeavy:[6,3,1.5,3,1.5,3]}}));function Li(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,Wi/Math.abs(u),Wi/Math.abs(d)),p=Math.max(1,Math.ceil(Math.abs(u)*f)),m=Math.max(1,Math.ceil(Math.abs(d)*f)),h=_r(t,p,m),g=h?.getContext(`2d`);if(!h||!g)return null;let _=Vi({...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=_r(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 Ri(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 zi(e){let t=e.startsWith(`#`)?e.slice(1):e;if(t.length<8)return!0;let n=Number.parseInt(t.slice(6,8),16);return!Number.isFinite(n)||n!==0}function Bi(e){return!e||e.fillType===`none`?!1:e.fillType===`solid`?zi(e.color):e.fillType===`gradient`?e.stops.some(e=>zi(e.color)):e.fillType===`pattern`?zi(e.fg)||zi(e.bg):e.alpha==null||!Number.isFinite(e.alpha)||e.alpha>0}function Vi(e,t,n,r,i,a,o=0){if(!e||e.fillType===`none`)return null;if(e.fillType===`solid`)return Ri(e.color);if(e.fillType===`pattern`)return Hi(e,t);if(e.fillType===`gradient`){let s=e.stops;if(s.length===0)return null;if(s.length===1)return Ri(s[0].color);let c=Li(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)),Ri(e.color));return l}return null}function Hi(e,t){let n=`${e.preset}|${e.fg}|${e.bg}`,r=Gi.get(t);r||(r=new Map,Gi.set(t,r));let i=r.get(n);if(i)return i;let a=wi(e.preset,e.fg,e.bg);if(!a)return Ri(e.fg);let o=t.createPattern(a,`repeat`);return o?(r.set(n,o),o):Ri(e.fg)}function Ui(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=Ri(t.color);let r=Math.max(.5,t.width*n);e.lineWidth=r;let i=t.customDash==null?t.dashStyle?ji(t.dashStyle,r):[]:Ai(t.customDash,null,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)}var Wi,Gi,Ki=t((()=>{Di(),Ii(),vr(),Wi=512,Gi=new WeakMap}));function qi(e){let t=Math.floor(e.length/2);return e.length%2==1?e[t]:e[t-1]/2+e[t]/2}function Ji(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 Yi(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 Xi(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=qi(n),a=t===`inclusive`&&n.length%2==1,o=n.slice(0,r+ +!!a),s=n.slice(r+ +(n.length%2==1&&!a)),c=qi(o.length>0?o:n),l=qi(s.length>0?s:n),u=(l-c)*1.5,d=Yi(c,u,-1),f=Yi(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:Ji(n),outliers:m,inner:p}}function Zi(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 Qi(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*$i,d=c-u,f=e+s*(i+.5)-l/2+a*c+u/2;return{boxX:f,boxWidth:d,centerX:f+d/2}}var $i,ea=t((()=>{$i=.06}));function ta(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,na/n,na/r),a=n*r,o=a>16777216?Math.sqrt(ra/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}}var na,ra,ia=t((()=>{na=32767,ra=1<<24}));function aa(e,t){return[t===`tl`||t===`l`||t===`bl`?e.x:t===`tr`||t===`r`||t===`br`?e.x+e.w:e.x+e.w/2,t===`tl`||t===`t`||t===`tr`?e.y:t===`l`||t===`ctr`||t===`r`?e.y+e.h/2:e.y+e.h]}function oa(e,t){return e*t}function sa(e){return e.getContext(`2d`)??null}function ca(e,t,n,r){let i=Math.max(0,Math.floor(e.x-t)),a=Math.max(0,Math.floor(e.y-t)),o=Math.min(n,Math.ceil(e.x+e.w+t)),s=Math.min(r,Math.ceil(e.y+e.h+t));return{x:i,y:a,w:Math.max(1,o-i),h:Math.max(1,s-a)}}function la(e,t){if(t.x===0&&t.y===0)return e;let n=t.x,r=t.y;return new Proxy(e,{get(e,t){if(t===`setTransform`)return t=>{e.setTransform(t.a,t.b,t.c,t.d,t.e-n,t.f-r)};let i=Reflect.get(e,t);return typeof i==`function`?i.bind(e):i},set(e,t,n){return e[t]=n,!0}})}function ua(e,t,n,r,i,a,o,s=0,c){let l=Math.max(0,oa(r.blur,i)),u=oa(r.dist,i),d=r.rotWithShape===!1?0:s,f=(r.dir+d)*Math.PI/180,p=Math.cos(f)*u,m=Math.sin(f)*u,h=ca(n,Math.ceil(l*3+Math.max(Math.abs(p),Math.abs(m)))+2,a,o),g=gr(h.w,h.h);if(!g)return!1;let _=sa(g);if(!_)return!1;t(la(_,h)),_.save(),_.setTransform(1,0,0,1,0,0),_.globalCompositeOperation=`source-in`,_.fillStyle=Ri(r.color,r.alpha),_.fillRect(0,0,h.w,h.h),_.restore(),e.save(),l>0&&(e.filter=`blur(${l}px)`);let[v,y]=c??aa(n,r.algn??`b`),b=r.sx??1,x=r.sy??1,S=Math.tan((r.kx??0)*Math.PI/180),C=Math.tan((r.ky??0)*Math.PI/180);return e.translate(p,m),e.translate(v,y),d!==0&&e.rotate(d*Math.PI/180),e.transform(b,C,S,x,0,0),d!==0&&e.rotate(-d*Math.PI/180),e.translate(-v,-y),e.drawImage(g,h.x,h.y),e.restore(),!0}function da(e,t,n,r,i,a,o){let s=oa(r.blur,i),c=oa(r.dist,i),l=r.dir*Math.PI/180,u=Math.cos(l)*c,d=Math.sin(l)*c,f=ca(n,Math.ceil(3*s+Math.abs(c))+2,a,o),p=gr(f.w,f.h);if(!p)return;let m=sa(p);if(!m)return;let h=la(m,f);h.save(),h.fillStyle=Ri(r.color,r.alpha),t(h),h.restore(),h.save(),h.globalCompositeOperation=`destination-out`,h.filter=s>0?`blur(${s}px)`:`none`,h.translate(u,d),h.fillStyle=`#000`,t(h),h.restore(),h.save(),h.globalCompositeOperation=`destination-in`,h.filter=`none`,h.fillStyle=`#000`,t(h),h.restore(),e.save(),e.drawImage(p,f.x,f.y),e.restore()}function fa(e,t,n,r,i,a,o,s){let c=oa(r.radius,i);if(c<=0){t(e);return}let l=ca(n,Math.ceil(c)+2,a,o),u=n.x-l.x,d=n.y-l.y,f=gr(l.w,l.h);if(!f){t(e);return}let p=sa(f);if(!p){t(e);return}let m=la(p,l),h=s??t;t(m);let g=gr(l.w,l.h),_=gr(l.w,l.h),v=g?sa(g):null,y=_?sa(_):null;if(g&&v&&_&&y){let t=la(v,l);t.fillStyle=`#000`,h(t),y.drawImage(f,u,d,n.w,n.h,u-c,d-c,n.w+c*2,n.h+c*2),y.drawImage(f,0,0),y.globalCompositeOperation=`destination-in`,y.filter=`blur(${c/3}px)`,y.drawImage(g,0,0),y.filter=`none`,y.globalCompositeOperation=`source-over`,e.save(),e.drawImage(_,l.x,l.y),e.restore();return}e.save(),e.drawImage(f,0,0),e.restore()}function pa(e,t,n,r,i,a,o){let s=gr(a,o);if(!s)return;let c=sa(s);if(!c)return;let l=oa(r.blur,i);c.save(),l>0&&(c.filter=`blur(${l}px)`),t(c),c.restore(),c.save(),c.globalCompositeOperation=`destination-in`;let u=n.y,d=n.y+n.h,f=c.createLinearGradient(0,d,0,u),p=ma(r.stPos),m=ma(r.endPos);f.addColorStop(0,`rgba(0,0,0,${r.stA})`),p>0&&f.addColorStop(p,`rgba(0,0,0,${r.stA})`),m<1&&m>p&&f.addColorStop(m,`rgba(0,0,0,${r.endA})`),f.addColorStop(1,`rgba(0,0,0,${r.endA})`),c.fillStyle=f,c.fillRect(0,0,a,o),c.restore();let h=oa(r.dist,i),g=r.dir*Math.PI/180,_=Math.cos(g)*h,v=Math.sin(g)*h;e.save(),e.translate(n.x+_,d+v),e.scale(r.sx,r.sy),e.translate(-n.x,-d),e.drawImage(s,0,0),e.restore()}function ma(e){return e<0?0:e>1?1:e}var ha=t((()=>{Ki(),vr()}));function ga(e,t,n=Ma,r=1){let i=Na.get(e),a=Number.isSafeInteger(r)&&r>0?r:1;Na.set(e,{perConsumerMaximum:Math.floor(Math.max(0,n)/a)});try{return t()}finally{i?Na.set(e,i):Na.delete(e)}}function _a(e){return e?.effectAuthored===!0||e?.effectUnsupported===!0||e?.effectNoStyle===!0||e?.shadows!=null||e?.innerShadows!=null||e?.glows!=null||e?.softEdges!=null||e?.reflections!=null}function va(...e){return e.find(_a)??void 0}function ya(e,t){if(e?.length)return e[t%e.length]??void 0}function ba(e,t,n,r=n){let i=_a(e),a=i?e:t;if(!a||a.effectNoStyle===!0||a.effectUnsupported===!0)return;let o=i?n:r,s=a.effectFormattingIndices?it(a.effectFormattingIndices,o):-1,c=a.effectColorIndex??(s>=0?s:o),l={shadow:ya(a.shadows,c),innerShadow:ya(a.innerShadows,c),glow:ya(a.glows,c),softEdge:ya(a.softEdges,c),reflection:ya(a.reflections,c)};return Object.values(l).some(Boolean)?l:void 0}function xa(e){if(typeof e.getTransform==`function`){let t=e.getTransform();if([t.a,t.b,t.c,t.d,t.e,t.f].every(Number.isFinite))return t}return{a:1,b:0,c:0,d:1,e:0,f:0}}function Sa(e,t,n){return[e.a*t+e.c*n+e.e,e.b*t+e.d*n+e.f]}function Ca(e,t){let n=[Sa(e,t.x,t.y),Sa(e,t.x+t.w,t.y),Sa(e,t.x,t.y+t.h),Sa(e,t.x+t.w,t.y+t.h)],r=n.map(e=>e[0]),i=n.map(e=>e[1]),a=Math.min(...r),o=Math.max(...r),s=Math.min(...i),c=Math.max(...i);return{x:a,y:s,w:o-a,h:c-s}}function wa(e,t,n){let r=Math.max(1,Math.ceil(e.w+t*2))*Math.max(1,Math.ceil(e.h+t*2))*n;return Number.isSafeInteger(r)?r:1/0}function Ta(e,t,n,r,i){let a=e.softEdge?Math.ceil(e.softEdge.radius*3*n)+2:0,o=e.innerShadow?Math.ceil((e.innerShadow.blur*3+Math.abs(e.innerShadow.dist))*n)+2:0,s=e.shadow?Math.ceil((e.shadow.blur*3+Math.abs(e.shadow.dist))*n)+2:0;return(e.reflection?r*i:0)+(e.shadow?wa(t,s,1):0)+(e.softEdge?wa(t,a,2):0)+(e.innerShadow?wa(t,o,2):0)}function Ea(e,t,n){let r=t.dir*Math.PI/180,i=t.dist/ja*n;e.shadowColor=Ri(t.color,t.alpha),e.shadowBlur=Math.max(0,t.blur/ja*n),e.shadowOffsetX=Math.cos(r)*i,e.shadowOffsetY=Math.sin(r)*i}function Da(e,t,n){e.shadowColor=Ri(t.color,t.alpha),e.shadowBlur=Math.max(0,t.radius/ja*n),e.shadowOffsetX=0,e.shadowOffsetY=0}function Oa(e,t,n,r,i,a,o=r){let s=ba(t,n,r,o),c=s?.shadow??s?.glow;c&&(e.save(),e.globalCompositeOperation=`destination-over`,`radius`in c?Da(e,c,i):Ea(e,c,i),a(e),e.restore())}function ka(e){let t=e.canvas;return[t?.width??0,t?.height??0]}function Aa(e,t,n,r,i,a,o,s=r){let c=ba(t,n,r,s);if(!c){o(e);return}let l=xa(e),u=Ca(l,i),d=Math.max(Math.hypot(l.a,l.b),Math.hypot(l.c,l.d)),f=Math.max(0,a*d/ja),[p,m]=ka(e),h=p>0&&m>0,g=e=>{e.setTransform(l),o(e)},_=()=>e.setTransform(1,0,0,1,0,0),v=Ta(c,u,f,p,m),y=Na.get(e),b=h&&Number.isSafeInteger(v)&&v<=(y?.perConsumerMaximum??0),x=!1;b&&c.shadow&&(e.save(),_(),x=ua(e,g,u,c.shadow,f,p,m,Math.atan2(l.b,l.a)*180/Math.PI),e.restore());let S=x?c.glow:c.shadow??c.glow;b&&c.reflection&&(e.save(),_(),pa(e,g,u,c.reflection,f,p,m),e.restore());let C=!1;!S&&b&&c.softEdge&&(e.save(),_(),fa(e,g,u,c.softEdge,f,p,m),e.restore(),C=!0),C||(e.save(),S&&(`radius`in S?Da(e,S,a):Ea(e,S,a)),o(e),e.restore()),b&&c.innerShadow&&(e.save(),_(),da(e,g,u,c.innerShadow,f,p,m),e.restore())}var ja,Ma,Na,Pa=t((()=>{ia(),Ki(),ha(),st(),ja=12700,Ma=ra,Na=new WeakMap}));function Fa(e){if(e.length>1e4)return!0;let t=0;for(let n of e){if(n.path.length>512||t>1e4-n.path.length)return!0;t+=n.path.length}return!1}function Ia(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 La(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 Ra(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}var za=t((()=>{Bo()}));function Ba(e,t=!1){if(t)return new Date(Wa+e*Ha);let n=e<60?e+1:e;return new Date(Ua+n*Ha)}function Va(e,t=!1){if(t)return(e.getTime()-Wa)/Ha;let n=(e.getTime()-Ua)/Ha;return n<=60?n-1:n}var Ha,Ua,Wa,Ga=t((()=>{Ha=864e5,Ua=Date.UTC(1899,11,30),Wa=Date.UTC(1904,0,1)}));function Ka(e,t){if(!Number.isFinite(e))return String(e);let n=Math.max(0,Math.trunc(t)),r=e<0,[i,a=``]=qa(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 qa(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)}var Ja=t((()=>{}));function Ya(e,t=!1,n=typeof navigator>`u`?void 0:navigator.language){let r=n??``,i=io.get(r);return i||(i=new Intl.DateTimeFormat(n,{year:`numeric`,month:`numeric`,day:`numeric`,timeZone:`UTC`}),io.set(r,i)),i.format(Ba(e,t))}function Xa(e){return Number.isInteger(e)?String(e):Ka(e,6).replace(/\.?0+$/,``)}function Za(e,t,n=!1){if(!t||t.trim().toLowerCase()===`general`)return Xa(e);if($a(t))return eo(e,t,n);let r=to(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?`-`:``)+no(Math.abs(e),i)}function Qa(e,t,n=!1){if(!t||e.trim()===``)return e;let r=Number(e);return Number.isFinite(r)?Za(r,t,n):e}function $a(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 eo(e,t,n=!1){let r=Ba(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++;if(d.match(/[Hh]+\W*$/))d+=e>=2?String(l).padStart(2,`0`):String(l);else{let t=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],n=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`];d+=e>=5?n[a-1][0]:e===4?n[a-1]:e===3?t[a-1]: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 to(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 no(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=ro(o,s),l=!1;return n.map(e=>e.kind===`lit`?e.text:l?``:(l=!0,c)).join(``)}function ro(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=``]=Ka(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`)}`}var io,ao=t((()=>{Ga(),Ja(),io=new Map}));function oo(e){if(e.customText)return e.customText;let t=[];if(e.showCategory&&e.category&&t.push(e.category),e.showSeries&&e.seriesName&&t.push(e.seriesName),e.showValue&&e.sourceValue!=null){let n=e.valueDivisor!=null&&Number.isFinite(e.valueDivisor)&&e.valueDivisor>0?e.valueDivisor:1;t.push(Za(e.sourceValue/n,e.formatCode??null,e.date1904))}return e.showPercent&&e.percentRatio!=null&&t.push(Za(e.percentRatio,e.percentFormatCode??e.formatCode??`0%`,e.date1904)),e.showBubbleSize&&e.bubbleSize!=null&&t.push(Za(e.bubbleSize,e.formatCode??null,e.date1904)),t.filter(e=>e!==``).join(e.separator??e.defaultSeparator??` `)}var so=t((()=>{ao()}));function co(e,t){let n=uo;uo=e;try{return t()}finally{uo=n}}function lo(e,t,n,r,i,a,o,s=0){return uo?.(e,t,n,r,i,a,o,s)??!1}var uo,fo=t((()=>{}));function po(e,t,n,r,i=0,a=i){if(!t||!e&&!r)return e??void 0;let o=e??{},s=t.fillNoStyle!==!0&&(t.fillPaintAuthored===!0||t.fillHidden===!0||t.fillPaints!=null||t.fillColors!=null),c=o.fillHidden===!0?_t(n):void 0,l=ht(o.style,n,i),u=o.fillPaint!=null||o.fill!=null||l!==void 0||o.fillHidden===!0&&c!==void 0||o.fillPaintAuthored===!0&&o.fillHidden!==!0,d=c===void 0?o.fillPaint??(o.fill?{fillType:`solid`,color:o.fill}:l===void 0?o.fillPaintAuthored===!0&&o.fillHidden!==!0?null:Q(t,a):l):c;return{fill:d?.fillType===`solid`?d.color:void 0,fillPaint:d!=null&&d.fillType!==`solid`?d:void 0,fillHidden:d===null?!0:void 0,fillPaintAuthored:u||s?!0:o.fillPaintAuthored}}function mo(e){if(!e)return!1;let t=e.fillHidden!==!0&&(e.fillPaint==null?e.fill!=null&&Bi({fillType:`solid`,color:e.fill}):Bi(e.fillPaint)),n=e.borderHidden!==!0&&(e.borderFill==null?e.borderColor!=null&&Bi({fillType:`solid`,color:e.borderColor}):Bi(e.borderFill));return t||n}function ho(e,t){if(!e)return t??void 0;if(!t)return e;let n=e.fillPaintAuthored===!0||e.fill!=null||e.fillPaint!=null||e.fillHidden===!0,r=e.borderPaintAuthored===!0||e.borderColor!=null||e.borderFill!=null||e.borderHidden===!0,i=e.borderDashAuthored===!0||e.borderDash!=null||e.borderCustomDash!=null;return{...t,...e,fill:n?e.fill:t.fill,fillPaint:n?e.fillPaint:t.fillPaint,fillHidden:n?e.fillHidden:t.fillHidden,fillPaintAuthored:n?e.fillPaintAuthored:t.fillPaintAuthored,borderColor:r?e.borderColor:t.borderColor,borderFill:r?e.borderFill:t.borderFill,borderHidden:r?e.borderHidden:t.borderHidden,borderPaintAuthored:r?e.borderPaintAuthored:t.borderPaintAuthored,borderWidthEmu:e.borderWidthEmu??t.borderWidthEmu,borderDash:i?e.borderDash:t.borderDash,borderCustomDash:i?e.borderCustomDash:t.borderCustomDash,borderDashAuthored:i?e.borderDashAuthored:t.borderDashAuthored,borderCap:e.borderCap??t.borderCap,borderJoin:e.borderJoin??t.borderJoin,borderCompound:e.borderCompound??t.borderCompound,style:va(e.style,t.style),effectFallbackStyle:e.effectFallbackStyle??t.effectFallbackStyle,effectStyleIndex:e.effectStyleIndex??t.effectStyleIndex,effectFallbackIndex:e.effectFallbackIndex??t.effectFallbackIndex}}function go(e,t,n,r,i=0){t&&Aa(e,t.style,t.effectFallbackStyle,t.effectStyleIndex??0,n,r,e=>{if(t.fillHidden!==!0){let a=t.fillPaint?.fillType===`image`&&lo(e,t.fillPaint,n.x,n.y,n.w,n.h,r,i)?null:t.fillPaint?Vi(t.fillPaint,e,n.x,n.y,n.w,n.h,i):t.fill?`#${t.fill}`:null;a&&(e.fillStyle=a,e.fillRect(n.x,n.y,n.w,n.h))}if(t.borderHidden===!0)return;let a=t.borderFill?Vi(t.borderFill,e,n.x,n.y,n.w,n.h,i):t.borderColor?`#${t.borderColor}`:null;a&&(e.save(),e.strokeStyle=a,e.lineWidth=t.borderWidthEmu==null?Math.max(.25,.75*r):Math.max(.25,t.borderWidthEmu/Dt*r),e.setLineDash(Ai(t.borderCustomDash,t.borderDash,e.lineWidth)),t.borderCap===`rnd`?e.lineCap=`round`:t.borderCap===`sq`?e.lineCap=`square`:t.borderCap===`flat`&&(e.lineCap=`butt`),t.borderJoin===`round`?e.lineJoin=`round`:t.borderJoin===`bevel`?e.lineJoin=`bevel`:t.borderJoin===`miter`&&(e.lineJoin=`miter`),e.strokeRect(n.x,n.y,n.w,n.h),e.restore())},t.effectFallbackIndex??t.effectStyleIndex??0)}var _o=t((()=>{Ii(),Ki(),jt(),Pa(),Ct(),fo()}));function vo(e){let t=e?.divisor;return t!=null&&Number.isFinite(t)&&t>0?t:1}function yo(e,t,n,r,i,a,o,s,c){if(!t)return null;let l=t.seriesDataLabels,u=o.get(n);if(Sn(l,u)||!l&&!u&&!a.visible)return null;let d=typeof s==`boolean`?s:!1,f=typeof s==`number`?s:void 0,p=!d&&(u?.showVal??l?.showVal??a.showVal),m=u?.showCatName??l?.showCatName??a.showCatName,h=u?.showSerName??l?.showSerName??a.showSerName??!1,g=u?.showPercent??l?.showPercent??a.showPercent??!1,_=u?.showLegendKey??l?.showLegendKey??!1,v=u?.formatCode??l?.formatCode??e.dataLabelFormatCode??null,y=oo({customText:u?.text,showCategory:m,showSeries:h,showValue:p,showPercent:g,category:r,seriesName:t.name,sourceValue:i,valueDivisor:vo(c),percentRatio:f,formatCode:v??t.valFormatCode??null,percentFormatCode:v??`0%`,date1904:e.date1904,separator:u?.separator??l?.separator});return!y&&!_?null:{text:y,showLegendKey:_,position:u?.position??l?.position,fontColor:u?.fontColor??l?.fontColor,fontSizeHpt:u?.fontSizeHpt??l?.fontSizeHpt,fontBold:u?.fontBold??l?.fontBold,fontFace:u?.fontFace??l?.fontFace,manualLayout:u?.manualLayout,labelBox:ho(u?.labelBox,l?.labelBox),richRuns:u?.text?u.richRuns:void 0,textStyle:Cn(u,l)}}var bo=t((()=>{so(),jn(),_o()}));function xo(e,t){let n=e.chartexSunburst?{rows:e.chartexSunburst.rows,kind:`sunburst`}:e.chartexTreemap?{rows:e.chartexTreemap.rows,kind:`treemap`}:void 0;if(!n)return`not-hierarchy`;if(n.rows.length===0)return`ok`;if(Fa(n.rows))return`too-large`;let r=Ia(n.rows,n.kind===`treemap`);if(r.layoutWeight<=0||r.children.length===0)return`ok`;n.kind===`sunburst`&&(r.a0=-Math.PI/2,r.a1=r.a0+Math.PI*2,La(r));let i=e.chartexTreemap?.parentLabelLayout??`overlapping`,a=e.series[0],o=new Map((a?.dataLabelOverrides??[]).map(e=>[e.idx,e])),s=[...r.children];for(;s.length>0;){let r=s.pop();for(let e of r.children)s.push(e);if(r.layoutWeight<=0||n.kind===`sunburst`&&r.a1-r.a0<=1e-4)continue;let c=n.kind===`treemap`&&r.children.length>0&&i===`banner`?yo(e,a,r.labelIndex,r.label,r.value,{visible:!0,showVal:!1,showCatName:!0},o,!0):null;t({node:r,kind:n.kind,paintsBody:n.kind===`sunburst`||r.children.length===0||c!=null})}return`ok`}function So(e,t){let n=e.chartexSunburst?{rows:e.chartexSunburst.rows,kind:`sunburst`}:e.chartexTreemap?{rows:e.chartexTreemap.rows,kind:`treemap`}:void 0;if(!n)return`not-hierarchy`;if(n.rows.length===0)return`ok`;if(Fa(n.rows))return`too-large`;let r=Ia(n.rows,n.kind===`treemap`);if(r.layoutWeight<=0||r.children.length===0)return`ok`;n.kind===`sunburst`&&(r.a0=-Math.PI/2,r.a1=r.a0+Math.PI*2,La(r));let i=e.series[0],a=new Map((i?.dataLabelOverrides??[]).map(e=>[e.idx,e])),o=e.chartexTreemap?.parentLabelLayout??`overlapping`,s=[...r.children];for(;s.length>0;){let r=s.pop();for(let e of r.children)s.push(e);if(r.layoutWeight<=0||n.kind===`sunburst`&&r.a1-r.a0<=1e-4)continue;let c;n.kind===`sunburst`?c=yo(e,i,r.labelIndex,r.label,r.value,{visible:!1,showVal:!1,showCatName:!1},a):r.children.length>0?(c=yo(e,i,r.labelIndex,r.label,r.value,{visible:o!==`none`,showVal:!1,showCatName:!0},a),o===`overlapping`&&r.depth!==0&&(c=null)):c=yo(e,i,r.labelIndex,r.label,r.value,{visible:!1,showVal:!1,showCatName:!1},a),c&&t({label:c,styleIndex:r.labelIndex,linkedStyleIndex:a.has(r.labelIndex)?r.labelIndex:i?.chartexFormatIdx??0})}return`ok`}var Co=t((()=>{za(),bo()}));function wo(e,t,n){let r=Math.max(e.length,t),i=new Set(n),a=!1,o=(e,t)=>{let n=e+t;return Number.isFinite(n)?n:(a=!0,n<0?-Number.MAX_VALUE:Number.MAX_VALUE)},s=0,c=-1/0,l=0,u=[];for(let t=0;t<r;t++){let n=e[t],r=n!=null&&Number.isFinite(n),a=n==null||r,d=r?n:0;if(i.has(t)){let e={start:0,end:d,isSub:!0,isPos:!0,hasValue:r,paintSlot:a,semanticIndex:2};u.push(e),a&&(c=Math.max(c,e.start,e.end),l=Math.min(l,e.start,e.end)),r&&(s=d)}else{let e=o(s,d),t=d>=0?s:e,n=d>=0?e:s,i={start:t,end:n,isSub:!1,isPos:d>=0,hasValue:r,paintSlot:a,semanticIndex:d>=0?0:1};u.push(i),a&&(c=Math.max(c,t,n),l=Math.min(l,t,n)),r&&(s=e)}}return{bars:u,rawMin:l,rawMax:c,cumulativeOverflow:a}}var To=t((()=>{}));function Eo(e,t,n,r=n){return ba(e,t,n,r)!=null}function Do(e,t,n,r){let i=r[n];return i?.kind===`bubble`||i?.kind===`scatter`?`scatter`:i?.kind===`line`?e.chartType===`stackedLinePct`?`stackedLinePct`:e.chartType===`stackedLine`?`stackedLine`:`line`:i?.kind===`area`?e.chartType===`stackedAreaPct`?`stackedAreaPct`:e.chartType===`stackedArea`?`stackedArea`:`area`:i?.kind??t.seriesType??(e.chartType===`bubble`?`scatter`:e.chartType)}function Oo(e,t){let n=e.series.filter(e=>e.lineGroupIndex===t);return n.length>0||t!==0||![`line`,`stackedLine`,`stackedLinePct`].includes(e.chartType)?n:e.series.filter(e=>e.seriesType==null||e.seriesType===`line`)}function ko(e,t,n){return!!(n?.text||(n?.showVal??t.seriesDataLabels?.showVal??e.showDataLabels)||(n?.showCatName??t.seriesDataLabels?.showCatName)||(n?.showSerName??t.seriesDataLabels?.showSerName)||(n?.showPercent??t.seriesDataLabels?.showPercent)||(n?.showBubbleSize??t.seriesDataLabels?.showBubbleSize)||(n?.showLegendKey??t.seriesDataLabels?.showLegendKey))}function Ao(e,t,n,r){return e.threeD||r[t]?.kind.endsWith(`3D`)===!0||Ge(e,t)?null:n===`line`||n===`stackedLine`||n===`stackedLinePct`?`dataPointLine`:n===`area`||n===`stackedArea`||n===`stackedAreaPct`?`dataPoint`:n===`radar`?(r[t]?.radarStyle??e.radarStyle)===`filled`?`dataPoint`:`dataPointLine`:null}function jo(e){let t=Mo(e.chartType),n=cr(e),r=e.series.map((t,r)=>Do(e,t,r,n)),i=e.series.some((t,n)=>r[n]===`scatter`&&(t.categories??e.categories).some(e=>Number.isFinite(Number.parseFloat(e)))),a=0,o=(e,t,n=0,r=n)=>{Eo(e,t,n,r)&&a++};o(e.chartAreaStyle,e.chartStyleRoles?.chartArea),o(e.plotAreaStyle,e.chartStyleRoles?.[e.threeD?`plotArea3D`:`plotArea`]),e.showLegend&&o(e.legendStyle,e.chartStyleRoles?.legend),(e.titlePresent===!0||e.title!=null||(e.titleRichRuns?.length??0)>0)&&o(e.titleStyle,e.chartStyleRoles?.title),e.catAxisTitle!=null&&o(e.catAxisTitleStyle,e.chartStyleRoles?.axisTitle),e.valAxisTitle!=null&&o(e.valAxisTitleStyle,e.chartStyleRoles?.axisTitle);for(let t of[e.secondaryValAxis,e.secondaryCatAxis])t?.title!=null&&o(t.titleStyle,e.chartStyleRoles?.axisTitle),t?.displayUnits?.label!=null&&o(t.displayUnits.label.boxStyle?.style,e.chartStyleRoles?.axisTitle);if(e.threeD?.seriesAxis?.title!=null&&o(e.threeD.seriesAxis.titleStyle,e.chartStyleRoles?.axisTitle),e.valAxisDisplayUnits?.label!=null&&o(e.valAxisDisplayUnits.label.boxStyle?.style,e.chartStyleRoles?.axisTitle),e.catAxisDisplayUnits?.label!=null&&o(e.catAxisDisplayUnits.label.boxStyle?.style,e.chartStyleRoles?.axisTitle),So(e,({label:t,linkedStyleIndex:n})=>{let r=t.labelBox,i=mo(r)?e.chartStyleRoles?.dataLabelCallout??e.chartStyleRoles?.dataLabel:e.chartStyleRoles?.dataLabel;o(r?.style,i,0,n)}),e.chartType===`waterfall`){let t=e.series[0],n=new Map((t?.dataPointOverrides??[]).map(e=>[e.idx,e])),r=wo(t?.values??[],e.categories.length,e.subtotalIndices);if(!r.cumulativeOverflow&&r.rawMax>r.rawMin)for(let i=0;i<r.bars.length;i++){let a=r.bars[i];a.paintSlot&&o(va(n.get(i)?.chartexStyle,t?.chartexStyle),e.chartexDataPointStyle,a.semanticIndex,a.semanticIndex)}}else if(e.chartType===`funnel`){let t=e.series[0],n=t?.values??[];if(n.some(e=>e!=null&&e>0)){let r=Math.max(n.length,e.categories.length);for(let i=0;i<r;i++)(n[i]??0)>0&&o(t?.chartexStyle,e.chartexDataPointStyle,0,0)}}for(let t=0;t<(e.chartexBox?.series.length??0);t++){let n=e.chartexBox.series[t],r=n.chartexFormatIdx??t;for(let t of n.valuesByCategory)Xi(t,n.quartileMethod)&&o(n.chartexStyle,e.chartexDataPointStyle,r,r)}let s=e.series[0];xo(e,({node:t,paintsBody:n})=>{n&&o(s?.chartexStyle,e.chartexDataPointStyle,s?.chartexFormatIdx??0,t.branchIndex)});let c=Fn(e),l=Ln(e);for(let a=0;a<e.series.length;a++){let s=e.series[a],u=r[a],d=n[a],f=lr(e.chartType,d),p=s.chartexFormatIdx??a,m=new Map((s.dataPointOverrides??[]).map(e=>[e.idx,e])),h=Ao(e,a,u,n),g=Ge(e,a),_=e.threeD!=null||d?.kind.endsWith(`3D`)===!0,v=d?.kind===`bubble`||d==null&&e.chartType===`bubble`,y=u===`radar`&&(d?.radarStyle??e.radarStyle)===`filled`,b=u===`scatter`&&!v,x=g&&(u===`line`||u===`stackedLine`||u===`stackedLinePct`||u===`radar`&&!y||b),S=new Set;if(x)if(u===`scatter`){let t=[];for(let n=0;n<s.values.length;n++)Kn(e,s,u,n,i,{chartType:f})&&t.push(n);for(let e=1;e<t.length;e++)S.add(t[e])}else{let t=u===`stackedLine`||u===`stackedLinePct`||d?.kind===`line`&&(d.grouping===`stacked`||d.grouping===`percentStacked`)||u===`line`&&e.dispBlanksAs===`zero`,n=u!==`radar`&&!t&&e.dispBlanksAs===`span`,r=[],i=()=>{for(let e=1;e<r.length;e++)S.add(r[e]);u===`radar`&&r.length===s.values.length&&r.length>1&&S.add(r[0]),r=[]};for(let e=0;e<s.values.length;e++){if(s.sourceHidden?.[e]===!0){i();continue}let a=s.values[e];a!=null&&Number.isFinite(a)||t?r.push(e):n||i()}i()}if(t&&h&&(!g||h===`dataPoint`&&(u===`area`||u===`stackedArea`||u===`stackedAreaPct`))&&o(va(s.chartexStyle),Ke(e,h,a),p),t&&g&&y&&s.values.length>=3&&s.values.every((e,t)=>e!=null&&Number.isFinite(e)&&s.sourceHidden?.[t]!==!0)&&o(va(m.get(0)?.chartexStyle,s.chartexStyle),Ke(e,`dataPoint`,a),0,0),t&&u===`scatter`&&!g&&b){let t=0;for(let n=0;n<s.values.length;n++)Kn(e,s,u,n,i,{chartType:f})&&t++;t>=2&&o(va(s.chartexStyle),Ke(e,`dataPointLine`,a),p)}let C=Math.max(s.values.length,s.categories?.length??0,s.bubbleSizes?.length??0,e.categories.length);if(t&&!e.threeD&&d?.kind.endsWith(`3D`)!==!0)for(let t=0;t<C;t++){let n=m.get(t),r=Kn(e,s,u,t,i,{chartType:f,bubbleScale:d?.bubbleScale??e.bubbleScale,showNegativeBubbles:d?.showNegativeBubbles??e.showNegativeBubbles}),c=v?`bubble`:u,l=c===`area`||c===`stackedArea`||c===`stackedAreaPct`,_=c===`line`||c===`stackedLine`||c===`stackedLinePct`||l||c===`scatter`||c===`bubble`||c===`radar`||c===`stock`,y=Zn(c,f,d?.scatterStyle??e.scatterStyle,d?.radarStyle??e.radarStyle),b=l?(s.showMarker===!0||Vn(s))&&s.markerSymbol!==`none`:c===`stock`?s.markerSymbol!=null&&s.markerSymbol!==`none`:s.showMarker!==!1&&s.markerSymbol!==`none`,C=r&&_&&!y&&$n(s,n,`circle`,b)!==`none`,w=s.values[t],T=r&&(!(u===`pie`||u===`doughnut`||u===`ofPie`)||w!=null&&Number.isFinite(w)&&Math.abs(w)>0),E=d?.kind===`stock`?d.seriesStart:0,D=d?.kind===`stock`?d.seriesCount:e.series.length,O=u===`stock`&&(a===E+D-1||D>=4&&a===E);if((x?S.has(t):h==null&&(v||u!==`scatter`&&u!==`radar`))&&T&&(u!==`stock`||O&&!C)){let r=v?Wn(s,n)?`dataPoint3D`:`dataPoint`:u===`line`||u===`stackedLine`||u===`stackedLinePct`||u===`stock`||u===`scatter`||u===`radar`?`dataPointLine`:`dataPoint`;o(va(n?.chartexStyle,s.chartexStyle),Ke(e,r,a),u===`stock`?p:n?.chartexStyle?t:p,u===`stock`?p:g?t:p)}C&&!v&&o(va(n?.markerStyle,n?.chartexStyle,s.markerStyle),Ke(e,`dataPointMarker`,a),n?.markerStyle||n?.chartexStyle?t:p,g?t:p)}if(t&&u===`ofPie`){let t=pr(e.ofPie,s.values),n=t==null?void 0:[...t].find(e=>{let t=s.values[e];return t!=null&&Number.isFinite(t)&&Math.abs(t)>0});n!=null&&o(va(m.get(n)?.chartexStyle,s.chartexStyle),Ke(e,`dataPoint`,a),g?n:p)}if(t&&_&&(d?.kind===`line3D`||d?.kind===`area3D`||u===`line`||u===`stackedLine`||u===`stackedLinePct`||u===`area`||u===`stackedArea`||u===`stackedAreaPct`)){let t=(d?.kind===`area3D`||u===`area`||u===`stackedArea`||u===`stackedAreaPct`?s.showMarker===!0||Vn(s):s.showMarker===!0)&&s.markerSymbol!==`none`;for(let n=0;n<C;n++){let r=m.get(n),i=t||r?.markerSymbol!=null&&r.markerSymbol!==`none`,c=s.values[n];!i||s.sourceHidden?.[n]===!0||c==null||!Number.isFinite(c)||o(va(r?.markerStyle,r?.chartexStyle,s.markerStyle),Ke(e,`dataPointMarker`,a),r?.markerStyle||r?.chartexStyle?n:p,p)}}let w=u===`scatter`&&!v&&s.lineHidden!==!0,T=d?.kind===`line3D`||u===`line`||u===`stackedLine`||u===`stackedLinePct`||u===`stock`||w||u===`radar`&&!y,E=v||u===`scatter`&&!w,D=_?`dataPoint3D`:T?`dataPointLine`:`dataPoint`,O=(t,n)=>{let r=n?m.get(t):void 0,i=n?t:a;if(!E){let c=va(r?.chartexStyle,s.chartexStyle);o(c,Ke(e,D,a),_?c===r?.chartexStyle?t:p:r?.chartexStyle?t:p,_?g?i:p:n?t:p)}if(!((_?T&&s.showMarker===!0&&s.markerSymbol!==`none`:Qn(f,d?.scatterStyle??e.scatterStyle,s,d?.radarStyle??e.radarStyle))||r?.markerSymbol!=null&&r.markerSymbol!==`none`))return;let c=v&&Wn(s,r)?`dataPoint3D`:v?`dataPoint`:`dataPointMarker`;o(va(r?.markerStyle,r?.chartexStyle,v?s.chartexStyle:s.markerStyle),Ke(e,c,a),r?.markerStyle||r?.chartexStyle?t:p,_?p:n?t:p)};if(e.showLegend){let e=c[a];if(e)for(let t=0;t<e.count;t++)l.has(e.firstIndex+t)||O(e.pointDriven?t:0,e.pointDriven)}if(e.dataTable?.showKeys===!0&&Yn(e.chartType)&&O(0,c[a]?.pointDriven===!0),Jn(e,s,u,C,i,{chartType:f,bubbleScale:d?.bubbleScale??e.bubbleScale,showNegativeBubbles:d?.showNegativeBubbles??e.showNegativeBubbles},a)>0){let t=new Map((s.dataLabelOverrides??[]).map(e=>[e.idx,e]));for(let n=0;n<C;n++){let r=t.get(n);Sn(s.seriesDataLabels,r)||(r?.showLegendKey??s.seriesDataLabels?.showLegendKey)!==!0||!qn(e,s,u,n,i,a)||O(n,c[a]?.pointDriven===!0)}}for(let t of s.dataLabelOverrides??[]){if(s.sourceHidden?.[t.idx]===!0||Sn(s.seriesDataLabels,t)||!ko(e,s,t)||!qn(e,s,u,t.idx,i,a))continue;let n=ho(t.labelBox,s.seriesDataLabels?.labelBox);o(va(t.labelBox?.style,s.seriesDataLabels?.labelBox?.style),mo(n)?e.chartStyleRoles?.dataLabelCallout??e.chartStyleRoles?.dataLabel:e.chartStyleRoles?.dataLabel,0,t.idx)}let k=new Set((s.dataLabelOverrides??[]).map(e=>e.idx));if(s.seriesDataLabels?.labelBox!=null||e.chartStyleRoles?.dataLabel!=null){let t=Math.max(s.values.length,s.categories?.length??0,e.categories.length);for(let n=0;n<t;n++)k.has(n)||qn(e,s,u,n,i,a)&&ko(e,s,void 0)&&o(s.seriesDataLabels?.labelBox?.style,mo(s.seriesDataLabels?.labelBox)?e.chartStyleRoles?.dataLabelCallout??e.chartStyleRoles?.dataLabel:e.chartStyleRoles?.dataLabel,0,s.chartexFormatIdx??a)}for(let n of t?s.trendLines??[]:[])(n.dispEq===!0||n.dispRSqr===!0||n.labelText||n.labelRichRuns?.some(e=>e.text.length>0)===!0)&&o(n.labelBox?.style,e.chartStyleRoles?.trendlineLabel,0,s.chartexFormatIdx??a)}for(let t=0;t<(e.chartexBox?.series.length??0);t++){let n=e.chartexBox.series[t];if((e.chartStyleMarkerSymbol??e.chartexMarkerSymbol??`circle`)===`none`||!n.showNonoutliers&&!n.showOutliers)continue;let r=n.chartexFormatIdx??t;for(let t of n.valuesByCategory){let i=Xi(t,n.quartileMethod);if(!i)continue;let a=(n.showNonoutliers?i.inner.length:0)+(n.showOutliers?i.outliers.length:0);for(let t=0;t<a;t++)o(va(n.chartexStyle),e.chartStyleRoles?.dataPointMarker,r)}}let u=(t,n)=>{let r=t[0],i=t.at(-1);if(!r||!i)return;let a=Math.max(r.values.length,i.values.length);for(let t=0;t<a;t++){let a=r.values[t],s=i.values[t];if(a==null||s==null||!Number.isFinite(a)||!Number.isFinite(s)||a===s)continue;let c=s>a?`upBar`:`downBar`;o((c===`upBar`?n.up:n.down).style,e.chartStyleRoles?.[c],t)}};if(e.stockUpDownBars){let t=e.plotGroups?.find(e=>e.kind===`stock`);u(t?e.series.slice(t.seriesStart,t.seriesStart+t.seriesCount):e.series,e.stockUpDownBarStyle??{gapWidthPercent:150,up:{},down:{}})}for(let t of e.lineGroupDecorations??[])t.upDownBars&&u(Oo(e,t.groupIndex),t.upDownBars);return Math.max(1,a)}function Mo(e){return zo.has(e)}function No(e){let t=0,n=e=>!Number.isSafeInteger(e)||e<0||e>1e4-t?!1:(t+=e,!0),r=(e,n)=>!Number.isSafeInteger(e)||e<0||!Number.isSafeInteger(n)||n<0||e!==0&&n>Math.floor((1e4-t)/e)?!1:(t+=e*n,!0);if(!n(e.legendEntries?.length??0)||!n(e.plotGroups?.length??0))return Fo+1;if(e.plotGroups!=null){let t=0;for(let n of e.plotGroups){if(!Number.isSafeInteger(n.seriesStart)||n.seriesStart<0||!Number.isSafeInteger(n.seriesCount)||n.seriesCount<0||n.seriesStart!==t||n.seriesCount>e.series.length-t)return Fo+1;t+=n.seriesCount}if(t!==e.series.length)return Fo+1}for(let t of e.series){let i=Math.max(1,e.categories.length,t.values.length,t.categories?.length??0,t.bubbleSizes?.length??0,t.dataPointOverrides?.length??0,t.dataLabelOverrides?.length??0);if(!n(i)||!r(t.trendLines?.length??0,Math.max(1,t.values.length))||!n(t.errBars?.length??0))return Fo+1;for(let e of t.errBars??[])if(!n(Math.max(i,e.plus.length,e.minus.length)))return Fo+1}if(!n(e.chartexSunburst?.rows.length??0)||!n(e.chartexTreemap?.rows.length??0)||!n(e.chartexRegionMap?.rows.length??0)||!n(e.chartexBox?.categories.length??0)||!n(e.chartexBox?.series.length??0))return Fo+1;for(let t of e.chartexBox?.series??[])for(let e of t.valuesByCategory)if(!n(e.length))return Fo+1;return n(e.ofPie?.customSplitIndices?.length??0)?t:Fo+1}function Po(e){if(!Mo(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>1e4-t)return Fo+1;t+=i}return t}var Fo,Io,Lo,Ro,zo,Bo=t((()=>{jn(),Bn(),ar(),fr(),nt(),Pa(),ea(),mr(),Co(),To(),_o(),Fo=1e4,Io=4096,Lo=1048576,Ro=4096,zo=new Set([`clusteredBar`,`clusteredBarH`,`stackedBar`,`stackedBarH`,`stackedBarPct`,`stackedBarHPct`,`clusteredColumn`,`line`,`stackedLine`,`stackedLinePct`,`area`,`stackedArea`,`stackedAreaPct`,`pie`,`doughnut`,`ofPie`,`radar`,`scatter`,`bubble`,`stock`,`surface`,`surface3D`])}));function Vo(e,t){return!Number.isSafeInteger(t)||t<0?!1:e.slabFaces?t===0?e.slabFaces.front:t===1||t>=6?!1:t%2==0?e.slabFaces.end:e.slabFaces.sides:t===0}function Ho(e,t){return e.mode!==`stack`&&e.mode!==`stackScale`||!Vo(e,t)?!1:!e.slabFaces||t===0||t%2==1}function Uo(e,t){return Vo(e,t)?Wo(e,t)?e.repetitions:1:0}function Wo(e,t){return e.mode===`stackScale`&&Ho(e,t)}function Go(e){let t=0;for(let n=0;n<6;n++)if(t+=Uo(e,n),t>4096)return null;return e}function Ko(e){return e==null||[e.l,e.t,e.r,e.b].every(e=>(e??0)===0)}function qo(e){if(!e)return!0;let t=e.l??0,n=e.t??0,r=e.r??0,i=e.b??0,a=[t,n,r,i],o=1-r,s=1-i;return a.every(Number.isFinite)&&o>t&&s>n&&Math.min(1,o)>Math.max(0,t)&&Math.min(1,s)>Math.max(0,n)}function Jo(e,t,n,r){if(e.tile!=null==(e.stretch===!0)||!qo(e.srcRect)||!qo(e.fillRect)||e.rotWithShape===!1||e.alpha!=null&&(!Number.isFinite(e.alpha)||e.alpha<0||e.alpha>1))return null;let i=t?.pictureOptions;if(i?.pictureFormatAuthored===!0&&i.pictureFormat==null||i?.pictureStackUnitAuthored===!0&&i.pictureStackUnit==null)return null;let a=i?.pictureFormat??`stretch`;if((!Ko(e.srcRect)||!Ko(e.fillRect))&&a!==`stretch`)return null;let o=t?.thicknessPercent??0;if(!Number.isFinite(o)||o<0)return null;let s=o===0?void 0:{front:i?.applyToFront!==!1,sides:i?.applyToSides!==!1,end:i?.applyToEnd!==!1};if(s&&!Object.values(s).some(Boolean)||!s&&(n===`backWall`&&i?.applyToFront===!1||(n===`floor`||n===`sideWall`)&&i?.applyToSides===!1)||(i?.pictureStackUnitAuthored===!0||i?.pictureStackUnit!=null)&&a!==`stackScale`)return null;if(e.tile)return a!==`stretch`||!Ko(e.fillRect)?null:Go({mode:`tile`,repetitions:1,slabFaces:s});if(a===`stretch`)return Go({mode:`stretch`,repetitions:1,slabFaces:s});if(a===`stack`)return Go({mode:`stack`,repetitions:1,slabFaces:s});if(a!==`stackScale`)return null;let c=i?.pictureStackUnit;if(!(c!=null&&Number.isFinite(c)&&c>0))return null;if(n===`floor`)return Go({mode:`stretch`,repetitions:1,slabFaces:s});if(r==null)return Go({mode:`stackScale`,repetitions:1,stackUnit:c,slabFaces:s});if(!(Number.isFinite(r)&&r>0))return null;let l=Math.ceil(r/c);return!Number.isSafeInteger(l)||l<1||l>4096?null:Go({mode:`stackScale`,repetitions:l,stackUnit:c,slabFaces:s})}var Yo=t((()=>{Bo()}));function Xo(e,t){return e?Math.max(.5,e/Dt)*t:1}function Zo(e,t,n){return{color:e?`#${e}`:`#aaa`,width:Xo(t,n)}}function Qo(e,t,n){return{color:e?`#${e}`:`#e0e0e0`,width:t?Xo(t,n):.5}}function $o(e){return e.catAxisCrossBetween!==`midCat`}var es=t((()=>{jt()}));function ts(e,t){if(!Number.isFinite(e)||e<=0)return[];let n=t===`dbl`?[1,1,1]:t===`thinThick`?[1,1,3]:t===`thickThin`?[3,1,1]:t===`tri`?[1,1,2,1,1]:[1],r=e/n.reduce((e,t)=>e+t,0),i=[],a=0;for(let e=0;e<n.length;e+=2){let t=n[e]*r;i.push({center:a+t/2,width:t}),a+=t+(n[e+1]??0)*r}return i}function ns(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 rs(e,t,n,r,i,a,o,s=0){if(r>0&&i>0)for(let c of ts(a,o)){let a=Math.max(0,r-c.center*2),o=Math.max(0,i-c.center*2);a>0&&o>0&&(e.lineWidth=c.width,s>0?(ns(e,t+c.center,n+c.center,a,o,Math.max(0,s-c.center)),e.stroke()):e.strokeRect(t+c.center,n+c.center,a,o))}}var is=t((()=>{}));function as(e){let t=Z(e,`legend`),n=e.legendFillHidden===!0&&_t(t)===void 0;if(!(e.legendFillHidden===!0&&!n)){if(e.legendFill!=null)return e.legendFill;if(!(e.legendFillColor!=null||e.legendFillPaintAuthored===!0&&!n))return yt(e.chartStyleRoles?.legend,t,0,e.legendStyle)??void 0}}function os(e,t,n,r,i=0){(!t.legendFill&&!t.legendFillColor||t.legendFillHidden===!0)&&(!t.legendLineFill&&!t.legendLineColor||t.legendLineHidden===!0)||Aa(e,t.legendStyle,t.chartStyleRoles?.legend,0,n,r,e=>{if(e.save(),t.legendFillHidden!==!0&&(t.legendFill||t.legendFillColor)){let a=t.legendFill?.fillType===`image`&&lo(e,t.legendFill,n.x,n.y,n.w,n.h,r,i)?null:t.legendFill?Vi(t.legendFill,e,n.x,n.y,n.w,n.h,i):t.legendFillColor?`#${t.legendFillColor}`:null;a&&(e.fillStyle=a),a&&e.fillRect(n.x,n.y,n.w,n.h)}if(t.legendLineHidden!==!0&&(t.legendLineFill||t.legendLineColor)&&n.w>0&&n.h>0){let a=Xo(t.legendLineWidthEmu,r),o=t.legendLineFill?Vi(t.legendLineFill,e,n.x,n.y,n.w,n.h,i):t.legendLineColor?`#${t.legendLineColor}`:null;o&&(e.strokeStyle=o,e.lineCap=t.legendLineCap===`rnd`?`round`:t.legendLineCap===`sq`?`square`:`butt`,e.lineJoin=t.legendLineJoin===`round`||t.legendLineJoin===`bevel`?t.legendLineJoin:`miter`,e.setLineDash(Ai(t.legendLineCustomDash,t.legendLineDash,a)),rs(e,n.x,n.y,n.w,n.h,a,t.legendLineCompound))}e.restore()})}var ss=t((()=>{Ii(),Ki(),es(),is(),Pa(),nt(),Ct(),fo()}));function cs(e,t){if(!e.some(Boolean))return null;let n=Math.max(t,e.length),r=[],i=new Int32Array(n);i.fill(-1);for(let t=0;t<n;t++)e[t]!==!0&&(i[t]=r.length,r.push(t));return{keep:r,remap:i}}function ls(e,t){if(e==null)return e;let n=[];for(let r of t.keep)r<e.length&&n.push(e[r]);return n}function us(e,t){if(e==null)return e;let n=[];for(let r of e){if(r.idx>=t.remap.length)continue;let e=t.remap[r.idx];e>=0&&n.push({...r,idx:e})}return n}function ds(e){return Math.max(e.values.length,e.categories?.length??0,e.sourceHidden?.length??0,e.dataPointColors?.length??0,e.dataLabelColors?.length??0,e.catFormatCodes?.length??0,e.bubbleSizes?.length??0,...(e.errBars??[]).flatMap(e=>[e.plus.length,e.minus.length]))}function fs(e,t){return{...e,values:ls(e.values,t)??[],categories:ls(e.categories,t),sourceHidden:ls(e.sourceHidden,t),dataPointColors:ls(e.dataPointColors,t),dataLabelColors:ls(e.dataLabelColors,t),catFormatCodes:ls(e.catFormatCodes,t),bubbleSizes:ls(e.bubbleSizes,t),dataPointOverrides:us(e.dataPointOverrides,t),dataLabelOverrides:us(e.dataLabelOverrides,t),errBars:e.errBars?.map(e=>({...e,plus:ls(e.plus,t)??[],minus:ls(e.minus,t)??[]}))}}function ps(e){let t=e.sourceHidden;if(!t?.some(Boolean))return e;let n=(e,n)=>e==null?e:e.map((e,r)=>t[r]===!0?n:e);return{...e,values:n(e.values,null)??[],bubbleSizes:n(e.bubbleSizes,null),errBars:e.errBars?.map(e=>({...e,plus:n(e.plus,null)??[],minus:n(e.minus,null)??[]}))}}function ms(e){return e.chartType===`scatter`||e.chartType===`bubble`}function hs(e){let t=e.sourceHidden;return t!=null&&t.length>0&&t.every(Boolean)}function gs(e,t){if(e.plotGroups==null)return e.plotGroups;let n=new Set(t),r=0;return e.plotGroups.map(e=>{let t=0,i=e.seriesStart+e.seriesCount;for(let r=e.seriesStart;r<i;r++)n.has(r)&&t++;let a={...e,seriesStart:r,seriesCount:t};return r+=t,a})}function _s(e){return xs.has(e)}function vs(e,t){let n=e.themeAccentColors,r=t.dataPointColors?.some(e=>e!=null)===!0||(t.dataPointOverrides?.length??0)>0,i=t.markerSymbol!=null||t.markerFill!=null||t.markerFillPaintAuthored===!0||t.markerLine!=null||t.markerLinePaintAuthored===!0;if(e.scatterStyle!==`marker`||!n?.length||r||i||t.lineHidden===!0)return t;let a={...t,dataPointColors:t.values.map((e,t)=>n[t%n.length]),dataPointOverrides:t.values.map((e,t)=>({idx:t,markerSymbol:bs[t%bs.length]}))};return xs.add(a),a}function ys(e){if(e.plotVisibleOnly!==!0)return e;if(ms(e)){let t=[];return{...e,series:e.series.flatMap((n,r)=>{let i=n.categories==null?{...n,categories:e.categories}:n,a=i.sourceHidden,o=a&&cs(a,ds(i));if(!o)return t.push(r),[i];if(o.keep.length===0)return[];t.push(r);let s=fs(i,o);return e.chartType===`scatter`?[vs(e,s)]:[s]}),plotGroups:gs(e,t)}}let t=Math.max(e.categories.length,...e.categoryLevels?.map(e=>e.length)??[],...e.series.map(ds)),n=e.categorySourceHidden?cs(e.categorySourceHidden,t):null,r=[],i=e.series.flatMap((e,t)=>{let i=n?fs(e,n):e;return n?.keep.length===0||hs(i)?[]:(r.push(t),[ps(i)])}),a=gs(e,r);if(!n)return{...e,series:i,plotGroups:a};let o=e.subtotalIndices.flatMap(e=>{if(e>=n.remap.length)return[];let t=n.remap[e];return t>=0?[t]:[]});return{...e,categories:ls(e.categories,n)??[],categoryLevels:e.categoryLevels?.map(e=>ls(e,n)??[]),categorySourceHidden:ls(e.categorySourceHidden,n),subtotalIndices:o,series:i,plotGroups:a}}var bs,xs,Ss=t((()=>{bs=[`diamond`,`square`,`triangle`,`x`,`star`,`circle`],xs=new WeakSet}));function Cs(e){return JSON.stringify([e.imagePath,e.svgImagePath??null,e.duotone?.clr1??null,e.duotone?.clr2??null])}function ws(e,t){let n=Hs;Hs=e;try{return co(Bs,t)}finally{Hs=n}}function Ts(e,t,n,r,i){let a=e;return{x:a.endsWith(`r`)||a===`r`?t-r:a===`t`||a===`ctr`||a===`b`?(t-r)/2:0,y:a.startsWith(`b`)||a===`b`?n-i:a===`l`||a===`ctr`||a===`r`?(n-i)/2:0}}function Es(e){return e.tile!=null!=(e.stretch===!0)&&_i(e.srcRect)}function Ds(e){let t=e.tile;if(!t)return null;let{algn:n,tx:r,ty:i,sx:a,sy:o}=t,s=t.flip??`none`,c=e.dpi;return!n||!Us.has(n)||!Ws.has(s)||!Number.isFinite(r)||!Number.isFinite(i)||!(c!=null&&Number.isFinite(c)&&c>0)||!(Number.isFinite(a)&&a>0)||!(Number.isFinite(o)&&o>0)?null:{alignment:n,tx:r,ty:i,sx:a,sy:o,dpi:c,flipX:s===`x`||s===`xy`,flipY:s===`y`||s===`xy`}}function Os(e){return!Bi(e)||!Es(e)?null:Hs?.(e)??null}function ks(e,t,n=Ot){let r=Ds(e);if(!r)return null;let i=vi(t);if(!(Number.isFinite(i.w)&&i.w>0)||!(Number.isFinite(i.h)&&i.h>0))return null;let a=96/r.dpi*(n/Ot),o=i.w*r.sx*a,s=i.h*r.sy*a;return!(o>0)||!(s>0)?null:{alignment:r.alignment,tileW:o,tileH:s,offsetX:r.tx/Dt*n,offsetY:r.ty/Dt*n,flipX:r.flipX,flipY:r.flipY}}function As(e,t,n){let r=Ts(e.alignment,t,n,e.tileW,e.tileH);return{x:r.x+e.offsetX,y:r.y+e.offsetY}}function js(e,t,n,r,i){let a=ks(e,t,i);if(!a)return null;let{tileW:o,tileH:s}=a,c=Math.ceil(n/o)+2,l=Math.ceil(r/s)+2,u=c*l;return Number.isSafeInteger(u)?{...a,columns:c,rows:l,repetitions:u}:null}function Ms(e,t,n,r,i=Ot){if(!(n>0)||!(r>0)||!Bi(e)||!Es(e))return 0;let a=(t??Hs)?.(e);if(!a)return 0;if(!e.tile)return 1;let o=js(e,a,n,r,i);return o?Math.min(o.repetitions,Ro):0}function Ns(e){return Number.isFinite(e)&&e>0}function Ps(e,t){if(!Ns(t.widthPt)||!Ns(t.heightPt)||!Ns(e.metafileWidthFactor)||!Ns(e.metafileHeightFactor)||!Number.isFinite(e.targetWidthFactor)||e.targetWidthFactor<0||!Number.isFinite(e.targetHeightFactor)||e.targetHeightFactor<0)return null;let n=t.widthPt*e.metafileWidthFactor,r=t.heightPt*e.metafileHeightFactor;if(!Ns(n)||!Ns(r))return null;let i=t.targetWidthPx,a=t.targetHeightPx;if(i!=null!=(a!=null))return null;if(i==null||a==null)return{widthPt:n,heightPt:r};if(!Ns(i)||!Ns(a))return null;let o=i*e.targetWidthFactor,s=a*e.targetHeightFactor;if(!Number.isFinite(o)||o<0||e.targetWidthFactor>0&&o===0||!Number.isFinite(s)||s<0||e.targetHeightFactor>0&&s===0)return null;let c=Math.ceil(o),l=Math.ceil(s);return!Number.isFinite(c)||!Number.isFinite(l)?null:{widthPt:n,heightPt:r,targetWidthPx:c,targetHeightPx:l}}function Fs(e){if(!Bi(e)||!Es(e))return null;let t=e.srcRect?1-e.srcRect.l-e.srcRect.r:1,n=e.srcRect?1-e.srcRect.t-e.srcRect.b:1;if(!(Number.isFinite(t)&&t>0)||!(Number.isFinite(n)&&n>0))return null;let r=e.srcRect!=null;if(e.tile){if(!Ds(e))return null;let i=1/t,a=1/n;return!Ns(i)||!Ns(a)?null:{preserveNaturalSize:!0,hasSourceCrop:r,targetWidthFactor:0,targetHeightFactor:0,metafileWidthFactor:i,metafileHeightFactor:a}}let i=e.fillRect,a=i?.l??0,o=i?.t??0,s=i?.r??0,c=i?.b??0;if(![a,o,s,c].every(Number.isFinite))return null;let l=1-a-s,u=1-o-c;if(!Ns(l)||!Ns(u))return null;let d=l/t,f=u/n;return!Ns(d)||!Ns(f)?null:{preserveNaturalSize:!1,hasSourceCrop:r,targetWidthFactor:d,targetHeightFactor:f,metafileWidthFactor:d,metafileHeightFactor:f}}function Is(e,t){return{fill:e.fill,preserveNaturalSize:e.preserveNaturalSize||t.preserveNaturalSize,hasSourceCrop:e.hasSourceCrop||t.hasSourceCrop,targetWidthFactor:Math.max(e.targetWidthFactor,t.targetWidthFactor),targetHeightFactor:Math.max(e.targetHeightFactor,t.targetHeightFactor),metafileWidthFactor:Math.max(e.metafileWidthFactor,t.metafileWidthFactor),metafileHeightFactor:Math.max(e.metafileHeightFactor,t.metafileHeightFactor)}}function Ls(e,t){if(No(e)>1e4)return{usages:[],sourceLimitExceeded:!1,usageRejected:!1};e=ys(e),e=We(e);let n=new Map,r=!1,i=!1,a=e=>{if(i||!e||typeof e!=`object`||e.fillType!==`image`)return;let a=e,o=Fs(a);if(!o)return;let s=Cs(a),c={fill:a,...o};if(t&&!t(c)){i=!0;return}let l=n.get(s);if(l){n.set(s,Is(l,c));return}if(n.size>=256){r=!0;return}n.set(s,c)},o=(e,t)=>{let n=Q(e,t);return n?.fillType===`image`||n==null?n:null},s=(e,t,n)=>{let r=ht(e,t,n);return r?.fillType===`image`||r==null?r:null},c=(e,t,n,r,i)=>{let a=e?.fillHidden?_t(r):ht(e,r,i);if(a!==void 0)return a?.fillType===`image`?a:null;if(t)return null;let o=Q(n,i);return o?.fillType===`image`||o==null?o:null},l=(t,n,r)=>t?.fillHidden===!0||t?.color!=null||t?.chartexStyle?.fillPaintAuthored===!0||t?.chartexStyle?.fillHidden!=null||t?.chartexStyle?.fillColors?.some(e=>e!=null)===!0||t?.chartexStyle?.fillPaints?.some(e=>e!=null)===!0?c(t?.fillHidden===!0?{...t.chartexStyle,fillHidden:!0,fillPaintAuthored:!0}:t?.chartexStyle,t?.color,e.chartexDataPointStyle,Z(e,`dataPoint`)??(e.classicChartStyleRoles==null?e.chartexDataPointStyle:void 0),r):n?.chartexStyle?.fillPaintAuthored===!0?c(n.chartexStyle,n.color,e.chartexDataPointStyle,Z(e,`dataPoint`)??(e.classicChartStyleRoles==null?e.chartexDataPointStyle:void 0),r):c(n?.chartexStyle,n?.color,e.chartexDataPointStyle,Z(e,`dataPoint`),r),u=(e,t,n,r,i,a,o)=>{if(n===!0){let e=_t(a);if(e!==void 0)return e}if(e?.fillType===`image`)return e;if(e!=null||t!=null||r===!0&&n!==!0)return null;if(i?.fillNoStyle===!0)return;let s=yt(i,a,0,o);return s?.fillType===`image`||s==null?s:null},d=u(e.chartFill,void 0,e.chartFillHidden,e.chartFillPaintAuthored,e.chartStyleRoles?.chartArea,Z(e,`chartArea`),e.chartAreaStyle);d&&a(d);let f=u(e.plotAreaFill,e.plotAreaBg,e.plotAreaFillHidden,e.plotAreaFillPaintAuthored,e.threeD?e.chartStyleRoles?.plotArea3D:e.chartStyleRoles?.plotArea,Z(e,e.threeD?`plotArea3D`:`plotArea`),e.plotAreaStyle);f&&a(f),e.showLegend&&a(as(e));let p=(e,t,n,r=0)=>{a(po(e,t,n,!0,0,r)?.fillPaint)};e.title&&p(e.titleStyle?{style:e.titleStyle}:void 0,e.chartStyleRoles?.title,Z(e,`title`)),e.catAxisTitle&&p(e.catAxisTitleStyle?{style:e.catAxisTitleStyle}:void 0,e.chartStyleRoles?.axisTitle,Z(e,`axisTitle`)),e.valAxisTitle&&p(e.valAxisTitleStyle?{style:e.valAxisTitleStyle}:void 0,e.chartStyleRoles?.axisTitle,Z(e,`axisTitle`));for(let t of[e.secondaryValAxis,e.secondaryCatAxis])t?.title&&p(t.titleStyle?{style:t.titleStyle}:void 0,e.chartStyleRoles?.axisTitle,Z(e,`axisTitle`)),t?.displayUnits?.label&&p(t.displayUnits.label.boxStyle,e.chartStyleRoles?.axisTitle,Z(e,`axisTitle`));e.threeD?.seriesAxis?.title&&p(e.threeD.seriesAxis.titleStyle?{style:e.threeD.seriesAxis.titleStyle}:void 0,e.chartStyleRoles?.axisTitle,Z(e,`axisTitle`));for(let t of[e.valAxisDisplayUnits,e.catAxisDisplayUnits])t?.label&&p(t.label.boxStyle,e.chartStyleRoles?.axisTitle,Z(e,`axisTitle`));let m=e.series.some(e=>e.values.some(e=>e!=null&&Number.isFinite(e))),h=Math.max(e.categories.length,...e.series.map(e=>e.categories?.length??e.values.length)),g=e.chartType===`surface`||e.chartType===`surface3D`?e.series.length>=2&&h>=2&&m:m;if(e.threeD&&Vs.has(e.chartType)&&g){let t=e.valMin!=null&&Number.isFinite(e.valMin)&&e.valMax!=null&&Number.isFinite(e.valMax)?e.valMax-e.valMin:void 0;for(let[n,r]of[[`floor`,`floor`],[`sideWall`,`wall`],[`backWall`,`wall`]]){let i=e.threeD[n],o=St(e,i,r).fill;o?.fillType===`image`&&Jo(o,i,n,t)&&a(o)}}let _=cr(e),v=(t,n)=>{let r=xt(e,t,n);return r?.fillType===`image`||r==null?r:null},y=(e,t,n)=>{if(!e||!t)return;let r=!1,i=!1,o=Math.max(e.values.length,t.values.length);for(let n=0;n<o&&!(r&&i);n++){let a=e.values[n],o=t.values[n];a==null||o==null||!Number.isFinite(a)||!Number.isFinite(o)||a===o||(o>a?r=!0:i=!0)}r&&a(v(n.up,`upBar`)),i&&a(v(n.down,`downBar`))};for(let t of e.lineGroupDecorations??[]){if(!t.upDownBars)continue;let n=e.series.filter(e=>e.lineGroupIndex===t.groupIndex);n.length===0&&t.groupIndex===0&&[`line`,`stackedLine`,`stackedLinePct`].includes(e.chartType)&&(n=e.series.filter(e=>e.seriesType==null||e.seriesType===`line`)),y(n[0],n.at(-1),t.upDownBars)}if(e.stockUpDownBars){let t=e.plotGroups?.find(e=>e.kind===`stock`),n=t?e.series.slice(t.seriesStart,t.seriesStart+t.seriesCount):e.series;y(n[0],n.at(-1),e.stockUpDownBarStyle??{gapWidthPercent:150,up:{},down:{}})}let b=e.series.some((t,n)=>{let r=_[n];return(r?.kind===`bubble`||r?.kind===`scatter`?`scatter`:t.seriesType??(e.chartType===`bubble`?`scatter`:e.chartType))===`scatter`&&(t.categories??e.categories).some(e=>Number.isFinite(Number.parseFloat(e)))}),x=Ln(e),S=Fn(e,!0),C=e.categories.length>0||(e.series[0]?.categories?.length??0)>0||e.series.some(e=>e.values.length>0);for(let t=0;t<e.series.length;t++){let n=e.series[t],r=n.chartexFormatIdx??t,i=Ge(e,t),c=Ke(e,`dataPointMarker`,t),l=_[t],u=l?.kind===`bubble`||l==null&&e.chartType===`bubble`,d=l?.kind===`bubble`||l?.kind===`scatter`?`scatter`:n.seriesType??(e.chartType===`bubble`?`scatter`:e.chartType),f=lr(e.chartType,l),m=l?.scatterStyle??e.scatterStyle,h=l?.radarStyle??e.radarStyle,g={chartType:f,bubbleScale:l?.bubbleScale??e.bubbleScale,showNegativeBubbles:l?.showNegativeBubbles??e.showNegativeBubbles},v=d===`line`||d===`stackedLine`||d===`stackedLinePct`||d===`area`||d===`stackedArea`||d===`stackedAreaPct`||d===`scatter`||d===`radar`||d===`stock`,y=d===`area`||d===`stackedArea`||d===`stackedAreaPct`,w=y?(n.showMarker===!0||Vn(n))&&n.markerSymbol!==`none`:d===`stock`?n.markerSymbol!=null&&n.markerSymbol!==`none`:n.showMarker!==!1&&n.markerSymbol!==`none`,T=zn(S,x,t),E=Math.max(n.values.length,n.categories?.length??0,e.categories.length),D=new Map((n.dataLabelOverrides??[]).map(e=>[e.idx,e]));for(let i=0;i<E;i++){let a=D.get(i);if(Sn(n.seriesDataLabels,a)||!(a?.text||(a?.showVal??n.seriesDataLabels?.showVal??e.showDataLabels)||(a?.showCatName??n.seriesDataLabels?.showCatName)||(a?.showSerName??n.seriesDataLabels?.showSerName)||(a?.showPercent??n.seriesDataLabels?.showPercent)||(a?.showBubbleSize??n.seriesDataLabels?.showBubbleSize)||(a?.showLegendKey??n.seriesDataLabels?.showLegendKey))||!qn(e,n,d,i,b,t))continue;let o=ho(a?.labelBox,n.seriesDataLabels?.labelBox),s=mo(o);p(o,s?e.chartStyleRoles?.dataLabelCallout??e.chartStyleRoles?.dataLabel:e.chartStyleRoles?.dataLabel,s?Z(e,`dataLabelCallout`)??Z(e,`dataLabel`):Z(e,`dataLabel`),a?i:r)}for(let t of n.trendLines??[])(t.dispEq===!0||t.dispRSqr===!0||t.labelText||t.labelRichRuns?.some(e=>e.text.length>0)===!0)&&p(t.labelBox,e.chartStyleRoles?.trendlineLabel,Z(e,`trendlineLabel`),r);let O=Jn(e,n,d,E,b,g,t)>0,k=new Map((n.dataLabelOverrides??[]).map(e=>[e.idx,e])),A=r=>{let i=k.get(r);return!Sn(n.seriesDataLabels,i)&&(i?.showLegendKey??n.seriesDataLabels?.showLegendKey??!1)===!0&&qn(e,n,d,r,b,t)},j=S[t]?.pointDriven===!0,M=!j&&Qn(f,m,n,h)&&(e.showLegend&&T||e.dataTable?.showKeys===!0&&Yn(e.chartType)&&C||O),N=n.markerSymbol??(d===`stock`?`none`:`circle`);if(!(l?.kind===`bar3D`||l?.kind===`pie3D`||l?.kind===`area3D`||l?.kind===`line3D`||l?.kind===`surface3D`)&&(l?.kind===`bar`||d===`bar`||d===`clusteredBar`||d===`clusteredBarH`||d===`stackedBar`||d===`stackedBarH`||d===`stackedBarPct`||d===`stackedBarHPct`||d===`pie`||d===`doughnut`||d===`ofPie`||y||d===`radar`&&h===`filled`)){let o=new Map((n.dataPointOverrides??[]).map(e=>[e.idx,e])),s=y?n.values.length>0:d===`radar`?E>2&&Array.from({length:E},(e,t)=>n.values[t]!=null&&Number.isFinite(n.values[t])).every(Boolean):n.values.some(e=>e!=null&&Number.isFinite(e)&&e!==0),c=e.showLegend&&T||e.dataTable?.showKeys===!0&&Yn(e.chartType)&&C||O,l=i||d===`pie`||d===`doughnut`||d===`ofPie`;if(s||c)if(y||d===`radar`&&!i){let t=Tt(e,n,void 0,r);t?.fillType===`image`&&a(t)}else if(d===`radar`){let t=o.get(0),r=Tt(e,n,t,0,0);r?.fillType===`image`&&a(r)}else{if(c&&!l){let t=Tt(e,n,void 0,r);t?.fillType===`image`&&a(t)}for(let s=0;s<E;s++){let c=n.values[s],u=c!=null&&Number.isFinite(c)&&c!==0,d=l&&(e.showLegend&&Rn(S,x,t,s)||e.dataTable?.showKeys===!0&&Yn(e.chartType)&&C&&s===0||A(s));if(!u&&!d)continue;let f=o.get(s),p=Tt(e,n,f,i?s:r,s);p?.fillType===`image`&&a(p)}}}if(!v||Zn(d,f,m,h))continue;if(M&&Gn(N)){if(u){let i=Z(e,`dataPoint`),c=s(n.chartexStyle,i,r);if(c&&a(c),c===void 0&&n.color==null){let n=o(Ke(e,`dataPoint`,t),r);n&&a(n)}}else a(n.markerFillPaint);if(!u&&n.markerFillPaint===void 0&&n.markerFill==null&&!(n.markerFillPaintAuthored===!0&&n.markerStyle?.fillHidden!==!0)&&!i){let t=yt(c,Z(e,`dataPointMarker`),r,n.markerStyle);t?.fillType===`image`&&a(t)}}if(!w&&!Xn(n))continue;let P=new Map((n.dataPointOverrides??[]).map(e=>[e.idx,e]));for(let f=0;f<E;f++){let p=Kn(e,n,d,f,b,g)&&(!u||(l?.bubbleScale??e.bubbleScale??100)>0&&Un({showNegativeBubbles:l?.showNegativeBubbles??e.showNegativeBubbles},n.bubbleSizes?.[f])!=null),m=j&&e.showLegend&&Rn(S,x,t,f),h=j&&e.dataTable?.showKeys===!0&&Yn(e.chartType)&&C&&f===0,_=j&&A(f);if(!p&&!m&&!h&&!_)continue;let v=P.get(f);if(!Gn($n(n,v,`circle`,w)))continue;if(u){if((n.bubbleSizes?.[f]??0)<0)continue;let i=Ke(e,`dataPoint`,t),c=Ge(e,t)?f:r,l=Z(e,`dataPoint`),u=ht(v?.chartexStyle,l,f),d=u?.fillType===`image`||u==null?u:null;d&&a(d);let p=v?.fillHidden===!0?_t(l):void 0;if(d!==void 0||p!==void 0||v?.color!=null||n.dataPointColors?.[f]!=null)continue;let m=s(n.chartexStyle,l,r);if(m&&a(m),m!==void 0||n.color!=null)continue;let h=o(i,c);h&&a(h);continue}let y=er(n,v,f);if(a(y),y===void 0&&v?.markerFill==null&&v?.color==null&&n.dataPointColors?.[f]==null&&n.markerFill==null&&!(v?.markerFillPaintAuthored===!0&&v.markerStyle?.fillHidden!==!0)&&!(n.markerFillPaintAuthored===!0&&n.markerStyle?.fillHidden!==!0)){let t=v?.markerStyle?.shapePropertiesPresent===!0?v.markerStyle:n.markerStyle,o=yt(c,Z(e,`dataPointMarker`),i?f:r,t);o?.fillType===`image`&&a(o)}}}for(let t=0;t<(e.chartexBox?.series.length??0);t++){let n=e.chartexBox.series[t];if(!Gn(e.chartStyleMarkerSymbol??e.chartexMarkerSymbol??`circle`)||!(n.showNonoutliers||n.showOutliers))continue;let r=0;for(let e of n.valuesByCategory){let t=Xi(e,n.quartileMethod);t&&(n.showNonoutliers&&(r+=t.inner.length),n.showOutliers&&(r+=t.outliers.length))}if(r===0)continue;let i=n.chartexFormatIdx??t,c=n.chartexStyle,l=e.chartexDataPointMarkerStyle??e.chartexDataPointStyle??void 0,u=s(c,e.chartexDataPointMarkerStyle==null?Z(e,`dataPoint`)??(e.classicChartStyleRoles==null?l:void 0):Z(e,`dataPointMarker`)??(e.classicChartStyleRoles==null?l:void 0),i);if(u&&a(u),u!==void 0||n.color!=null)continue;let d=o(l,i);d&&a(d)}if(e.chartType===`waterfall`){let t=e.series[0],n=new Map((t?.dataPointOverrides??[]).map(e=>[e.idx,e])),r=wo(t?.values??[],e.categories.length,e.subtotalIndices);if(!r.cumulativeOverflow&&r.rawMax>r.rawMin)for(let e=0;e<r.bars.length;e++){let i=r.bars[e];i.paintSlot&&a(l(n.get(e),t,i.semanticIndex))}}else if(e.chartType===`funnel`){let t=e.series[0];(t?.values??[]).some(e=>e!=null&&e>0)&&a(c(t?.chartexStyle,t?.color,e.chartexDataPointStyle,Z(e,`dataPoint`),0))}for(let t=0;t<(e.chartexBox?.series.length??0);t++){let n=e.chartexBox.series[t];n.valuesByCategory.some(e=>Xi(e,n.quartileMethod)!=null)&&a(c(n.chartexStyle,n.color,e.chartexDataPointStyle,Z(e,`dataPoint`),n.chartexFormatIdx??t))}let w=e.series[0];return xo(e,({node:t,paintsBody:n})=>{n&&a(c(w?.chartexStyle,w?.color,e.chartexDataPointStyle,Z(e,`dataPoint`),t.branchIndex))}),So(e,({label:t,linkedStyleIndex:n})=>{let r=t.labelBox,i=mo(r),o=i?e.chartStyleRoles?.dataLabelCallout??e.chartStyleRoles?.dataLabel:e.chartStyleRoles?.dataLabel,s=po(r,o,i?Z(e,`dataLabelCallout`)??Z(e,`dataLabel`):Z(e,`dataLabel`),o!=null,0,n);s?.fillPaint?.fillType===`image`&&a(s.fillPaint)}),{usages:r||i?[]:[...n.values()],sourceLimitExceeded:r,usageRejected:i}}function Rs(e){return Fe(()=>rt(()=>Ls(e).usages))}function zs(e,t){return Fe(()=>rt(()=>{let n=new Map;for(let r=0;r<e.length;r++){let i=e[r],a=Ls(i,t?e=>t(e,r):void 0);if(!a.usageRejected){if(a.sourceLimitExceeded)return[];for(let e of a.usages){let t=Cs(e.fill),r=n.get(t);if(r){n.set(t,Is(r,e));continue}if(n.size>=256)return[];n.set(t,e)}}}return[...n.values()]}))}function Bs(e,t,n,r,i,a,o=Ot,s=0){if(!Bi(t)||!(i>0)||!(a>0)||!Es(t))return!1;let c=Hs?.(t);if(!c||s!==0&&t.rotWithShape==null)return!1;if(e.save(),e.beginPath(),e.rect(n,r,i,a),e.clip(),t.rotWithShape===!1&&s!==0&&(e.translate(n+i/2,r+a/2),e.rotate(-s*Math.PI/180),e.translate(-(n+i/2),-(r+a/2))),t.alpha!=null&&(e.globalAlpha*=Math.max(0,Math.min(1,t.alpha))),!t.tile){let o=t.fillRect,s=n+(o?.l??0)*i,l=r+(o?.t??0)*a,u=(1-(o?.l??0)-(o?.r??0))*i,d=(1-(o?.t??0)-(o?.b??0))*a;return u>0&&d>0&&bi(e,c,t.srcRect,s,l,u,d),e.restore(),u>0&&d>0}let l=js(t,c,i,a,o);if(!l||l.repetitions>4096)return e.restore(),!1;let{tileW:u,tileH:d,flipX:f,flipY:p,columns:m,rows:h}=l,g=As(l,i,a),_=n+g.x,v=r+g.y,y=Math.floor((n-_)/u)-1,b=Math.floor((r-v)/d)-1;for(let n=b;n<b+h;n++)for(let r=y;r<y+m;r++){let i=_+r*u,a=v+n*d,o=f&&Math.abs(r)%2==1,s=p&&Math.abs(n)%2==1;e.save(),e.translate(i+(o?u:0),a+(s?d:0)),e.scale(o?-1:1,s?-1:1),bi(e,c,t.srcRect,0,0,u,d),e.restore()}return e.restore(),!0}var Vs,Hs,Us,Ws,Gs=t((()=>{Ci(),Ki(),jt(),ea(),ar(),Bn(),Bo(),fr(),Ct(),nt(),st(),Yo(),Et(),jn(),_o(),ss(),Ss(),fo(),Co(),To(),Vs=new Set([`line`,`stackedLine`,`stackedLinePct`,`area`,`stackedArea`,`stackedAreaPct`,`clusteredBar`,`clusteredBarH`,`stackedBar`,`stackedBarH`,`stackedBarPct`,`stackedBarHPct`,`surface`,`surface3D`]),Us=new Set([`tl`,`t`,`tr`,`l`,`ctr`,`r`,`bl`,`b`,`br`]),Ws=new Set([`none`,`x`,`y`,`xy`])}));function Ks(e){let t=new Map;for(let n of e.dataPointOverrides??[])t.has(n.idx)||t.set(n.idx,n);return t}function qs(e,t){return e.chartexFormatIdx??t}function Js(e){return e!=null&&Number.isFinite(e)&&e!==0}function Ys(e){return e===`line`||e===`stackedLine`||e===`stackedLinePct`||e===`scatter`||e===`radar`||e===`stock`}function Xs(e,t,n=4/3,r,i=!1){if(i||e.series.length===0)return null;let a=cr(e),o=Ln(e),s=Fn(e,!0),c=e.series.some((t,n)=>lr(e.chartType,a[n])===`scatter`&&(t.categories??e.categories).some(e=>Number.isFinite(Number.parseFloat(e)))),l=e.dataTable?.showKeys===!0&&Yn(e.chartType)&&(e.categories.length>0||e.series.some(e=>(e.categories?.length??e.values.length)>0)),u=0,d=(e,i=r?.w??1,a=r?.h??1)=>{if(e==null)return!0;let o=e.fillType===`image`?Ms(e,t,i,a,n):ir(e);return e.fillType===`gradient`&&o>4096||o>1048576-u?!1:(u+=o,!0)},f=(t,n,i,a,o=`dataPoint`,s=o===`dataPoint`,c=r?.w??1,l=r?.h??1)=>(!s||d(Tt(e,t,n,i,a),c,l))&&d(wt(e,o,t,n,i).paint,c,l),p=(t,r,i,a,o)=>{let s=Bt(e.dataTable?.fontSizeHpt,n)??9*n,c=Bt(t.seriesDataLabels?.fontSizeHpt??e.dataLabelFontSizeHpt,n)??10*n;for(let e of t.dataLabelOverrides??[])c=Math.max(c,Bt(e.fontSizeHpt,n)??c);let l=a===`table`?s:a===`label`?c:Bt(e.legendFontSizeHpt,n)??10*n;if(a===`table`)return{width:Math.max(12*n,l*1.7),height:l};if(o!==`dataPointLine`){let e=Qs*n;return{width:e,height:e}}let u=wt(e,o,t,r,i),d=Xo(u.widthEmu,n),f=ki(u.dash??`solid`,d),p=f.length>0?f.reduce((e,t)=>e+t,0)+f[0]:0;return{width:Math.max(l*1.6,p),height:l}};for(let t=0;t<e.series.length;t++){let n=e.series[t],i=a[t],u=lr(n.seriesType??e.chartType,i);i?.kind===`bar3D`||i?.kind===`area3D`||i?.kind===`line3D`?u=e.chartType:i?.kind===`pie3D`&&(u=`pie`);let d=Ks(n),m=Ge(e,t),h=qs(n,t),g=e=>m?e:h,_=i?.kind===`bar`||i?.kind===`bar3D`||i==null&&(u===`clusteredBar`||u===`clusteredBarH`||u===`stackedBar`||u===`stackedBarH`||u===`stackedBarPct`||u===`stackedBarHPct`),v=i?.kind===`pie`||i?.kind===`pie3D`||i?.kind===`doughnut`||i?.kind===`ofPie`||i==null&&(u===`pie`||u===`doughnut`||u===`ofPie`),y=i?.kind===`area`||i?.kind===`area3D`||i==null&&(u===`area`||u===`stackedArea`||u===`stackedAreaPct`),b=u===`radar`&&(i?.radarStyle??e.radarStyle)===`filled`;if(_||v){let t=Math.max(1,n.values.length,e.categories.length),a=i?.barDirection===`bar`||u.endsWith(`BarH`)||u.endsWith(`BarHPct`),o=_&&!a?(r?.w??1)/t:r?.w??1,s=_&&a?(r?.h??1)/t:r?.h??1;for(let e=0;e<n.values.length;e++)if(Js(n.values[e])&&!f(n,d.get(e),g(e),e,`dataPoint`,!0,o,s))return Lo+1;if(u===`ofPie`){let t=pr(e.ofPie,n.values),i=t==null?void 0:[...t].find(e=>Js(n.values[e]));if(i!=null&&!f(n,d.get(i),g(i),i,`dataPoint`,!0,r?.w??1,r?.h??1))return Lo+1}}else if((y||b)&&(b?n.values.length>=3&&n.values.every(e=>e!=null&&Number.isFinite(e)):n.values.length>0)&&!f(n,void 0,h,void 0))return Lo+1;let x=i?.kind===`bubble`||i==null&&e.chartType===`bubble`,S=u!==`scatter`||!x;if(Ys(u)&&!b&&S){if(m&&u!==`stock`){let t=u===`stackedLine`||u===`stackedLinePct`||i?.kind===`line`&&(i.grouping===`stacked`||i.grouping===`percentStacked`)||u===`line`&&e.dispBlanksAs===`zero`,r=!t&&e.dispBlanksAs===`span`,a=[],o=()=>{for(let e=1;e<a.length;e++){let t=a[e];if(!f(n,d.get(t),t,t,`dataPointLine`,!1))return!1}if(u===`radar`&&a.length>1){let e=a[0];if(!f(n,d.get(e),e,e,`dataPointLine`,!1))return!1}return a=[],!0};for(let e=0;e<n.values.length;e++){if(n.sourceHidden?.[e]===!0){if(!o())return Lo+1;continue}let i=n.values[e];if(i!=null&&Number.isFinite(i)||t)a.push(e);else if(!r&&!o())return Lo+1}if(!o())return Lo+1}else if(!f(n,void 0,h,void 0,`dataPointLine`,!1))return Lo+1}let C=v||m,w=Jn(e,n,u,Math.max(n.values.length,n.categories?.length??0,e.categories.length),c,{chartType:lr(e.chartType,i),bubbleScale:i?.bubbleScale??e.bubbleScale,showNegativeBubbles:i?.showNegativeBubbles??e.showNegativeBubbles},t),T=zn(s,o,t);if(u!==`bubble`&&(e.showLegend&&T||l||w>0)){let r=Ys(u)?`dataPointLine`:`dataPoint`,a=r===`dataPoint`,m=(e,t,i,o)=>{let s=p(n,t,i,e,r);return f(n,t,i,o,r,a,s.width,s.height)};if(C){let r=Math.max(n.values.length,n.categories?.length??0,e.categories.length),a=new Map((n.dataLabelOverrides??[]).map(e=>[e.idx,e]));for(let l=0;l<r;l++){let r=g(l),f=d.get(l),p=a.get(l),h=!Sn(n.seriesDataLabels,p)&&(p?.showLegendKey??n.seriesDataLabels?.showLegendKey??!1)===!0&&Kn(e,n,u,l,c,{chartType:lr(e.chartType,i),bubbleScale:i?.bubbleScale??e.bubbleScale,showNegativeBubbles:i?.showNegativeBubbles??e.showNegativeBubbles});if(e.showLegend&&Rn(s,o,t,l)&&!m(`legend`,f,r,l)||h&&!m(`label`,f,r,l))return Lo+1}let f=d.get(0);if(l&&!m(`table`,f,g(0),0))return Lo+1}else{if(e.showLegend&&T&&!m(`legend`,void 0,h,void 0)||l&&!m(`table`,void 0,h,void 0))return Lo+1;for(let e=0;e<w;e++)if(!m(`label`,void 0,h,void 0))return Lo+1}}}let m=(t,n)=>{let i=t[0],a=t.at(-1);if(!i||!a)return!0;let o=Math.max(i.values.length,a.values.length);for(let t=0;t<o;t++){let s=i.values[t],c=a.values[t];if(s==null||c==null||!Number.isFinite(s)||!Number.isFinite(c)||s===c)continue;let l=c>s?`upBar`:`downBar`,u=c>s?n.up:n.down,f=e.chartType.endsWith(`BarH`)||e.chartType.endsWith(`BarHPct`),p=f?r?.w??1:(r?.w??1)/o,m=f?(r?.h??1)/o:r?.h??1;if(!d(xt(e,u,l),p,m))return!1}return!0};for(let t of e.lineGroupDecorations??[]){if(!t.upDownBars)continue;let n=e.series.filter(e=>e.lineGroupIndex===t.groupIndex);if(n.length===0&&t.groupIndex===0&&(n=e.series),!m(n,t.upDownBars))return Lo+1}if(e.stockUpDownBars){let t=e.plotGroups?.find(e=>e.kind===`stock`);if(!m(t?e.series.slice(t.seriesStart,t.seriesStart+t.seriesCount):e.series,e.stockUpDownBarStyle??{gapWidthPercent:150,up:{},down:{}}))return Lo+1}return u}function Zs(e,t,n=4/3,r,i=!1){return Fe(()=>rt(()=>Xs(e,t,n,r,i)))}var Qs,$s=t((()=>{Et(),nt(),st(),ar(),Bn(),jn(),fr(),mr(),Gs(),Bo(),dn(),es(),Ii(),Ct(),Qs=7}));function ec(e,t,n,r){let i=e.x,a=e.y,o=t.x,s=t.y,c=n.x,l=n.y,u=r.x,d=r.y,f=o-c,p=u-c,m=i-o+c-u,h=s-l,g=d-l,_=a-s+l-d,v,y;if(Math.abs(m)<1e-12&&Math.abs(_)<1e-12)v=0,y=0;else{let e=f*g-p*h;if(Math.abs(e)<1e-12)return null;v=(m*g-p*_)/e,y=(f*_-m*h)/e}return[o-i+v*o,u-i+y*u,i,s-a+v*s,d-a+y*d,a,v,y,1]}function tc(e,t,n){let r=e[6]*t+e[7]*n+e[8];return{x:(e[0]*t+e[1]*n+e[2])/r,y:(e[3]*t+e[4]*n+e[5])/r}}function nc(e,t){let[n,r,i,a,o,s]=e,[c,l,u,d,f,p]=t;return[n*c+i*l,r*c+a*l,n*u+i*d,r*u+a*d,n*f+i*p+o,r*f+a*p+s]}function rc(e,t,n,r,i,a,o,s,c,l,u,d,f){let p=c-o,m=l-s;if(p<=0||m<=0)return;let h=(d.x-u.x)/p,g=(d.y-u.y)/p,_=(f.x-u.x)/m,v=(f.y-u.y)/m,y=(Math.hypot(d.x-u.x,d.y-u.y)||1)*a,b=(Math.hypot(f.x-u.x,f.y-u.y)||1)*a,x=dc*p/y,S=dc*m/b,C=Math.max(0,o-x),w=Math.max(0,s-S),T=Math.min(n,c+x),E=Math.min(r,l+S),D=T-C,O=E-w;if(D<=0||O<=0)return;e.save();let[k,A,j,M,N,P]=nc(i,[h,g,_,v,u.x-o*h-s*_,u.y-o*g-s*v]);e.setTransform(k,A,j,M,N,P),e.drawImage(t,C,w,D,O,C,w,D,O),e.restore()}function ic(e,t,n,r,i,a,o,s,c,l,u,d,f,p){let m=tc(o,c,l),h=tc(o,u,l),g=tc(o,c,d),_=tc(o,u,d),v=(c+u)/2,y=(l+d)/2,b=tc(o,v,y),x={x:(m.x+h.x+g.x+_.x)/4,y:(m.y+h.y+g.y+_.y)/4},S=oc(i),C=Math.hypot(b.x-x.x,b.y-x.y)*S;if(p<=0||C<=f){let o=s.x1-s.x0,f=s.y1-s.y0;rc(e,t,n,r,i,a,s.x0+c*o,s.y0+l*f,s.x0+u*o,s.y0+d*f,m,h,g);return}u-c>=d-l?(ic(e,t,n,r,i,a,o,s,c,l,v,d,f,p-1),ic(e,t,n,r,i,a,o,s,v,l,u,d,f,p-1)):(ic(e,t,n,r,i,a,o,s,c,l,u,y,f,p-1),ic(e,t,n,r,i,a,o,s,c,y,u,d,f,p-1))}function ac(e,t,n,r,i,a=.5,o){if(n<=0||r<=0)return;let s=o??{x0:0,y0:0,x1:n,y1:r};if(![s.x0,s.y0,s.x1,s.y1].every(Number.isFinite)||s.x0<0||s.y0<0||s.x1>n||s.y1>r||s.x1<=s.x0||s.y1<=s.y0)return;let[c,l,u,d]=i;if(Math.abs(c.x*l.y-l.x*c.y+l.x*u.y-u.x*l.y+u.x*d.y-d.x*u.y+d.x*c.y-c.x*d.y)/2<1e-6)return;let f=ec(i[0],i[1],i[2],i[3]);if(!f)return;let p=t.getTransform(),m=[p.a,p.b,p.c,p.d,p.e,p.f],h=oc(m);uc(e,t,n,r,i,m,h,f,s,a,14)||(lc(),t.save(),t.beginPath(),t.moveTo(i[0].x,i[0].y),t.lineTo(i[1].x,i[1].y),t.lineTo(i[2].x,i[2].y),t.lineTo(i[3].x,i[3].y),t.closePath(),t.clip(),ic(t,e,n,r,m,h,f,s,0,0,1,1,a,14),t.restore())}function oc(e){return Math.sqrt(Math.abs(e[0]*e[3]-e[1]*e[2]))||1}function sc(e,t,n){let r=ec(e[0],e[1],e[2],e[3]);if(!r)return null;let i=[[-t,-n],[1+t,-n],[1+t,1+n],[-t,1+n]],a=[];for(let[e,t]of i){if(!(r[6]*e+r[7]*t+r[8]>1e-9))return null;a.push(tc(r,e,t))}return a}function cc(e,t,n){let r=ec(e[0],e[1],e[2],e[3]);return r&&r[6]*t+r[7]*n+r[8]>1e-9?tc(r,t,n):null}function lc(){fc||(fc=!0,typeof console<`u`&&typeof console.warn==`function`&&console.warn(`[ooxml] scene3d: no offscreen canvas available — using the direct warp fallback (per-cell bleed only, no supersample). Textured-source seams may be faintly visible; the silhouette and geometry are unaffected.`))}function uc(e,t,n,r,i,a,o,s,c,l,u){let d=i.map(e=>({x:a[0]*e.x+a[2]*e.y+a[4],y:a[1]*e.x+a[3]*e.y+a[5]})),f=1/0,p=1/0,m=-1/0,h=-1/0;for(let e of d)e.x<f&&(f=e.x),e.y<p&&(p=e.y),e.x>m&&(m=e.x),e.y>h&&(h=e.y);f=Math.floor(f)-1,p=Math.floor(p)-1,m=Math.ceil(m)+1,h=Math.ceil(h)+1;let g=m-f,_=h-p;if(g<=0||_<=0)return!1;let v=Math.max(1,Math.ceil(g*pc)),y=Math.max(1,Math.ceil(_*pc)),b=gr(v,y);if(!b||b.width!==v||b.height!==y)return!1;let x=b.getContext(`2d`)??null;if(!x)return!1;let S=pc,C=[a[0]*S,a[1]*S,a[2]*S,a[3]*S,(a[4]-f)*S,(a[5]-p)*S];x.save(),x.setTransform(C[0],C[1],C[2],C[3],C[4],C[5]),x.beginPath(),x.moveTo(i[0].x,i[0].y),x.lineTo(i[1].x,i[1].y),x.lineTo(i[2].x,i[2].y),x.lineTo(i[3].x,i[3].y),x.closePath(),x.clip(),ic(x,e,n,r,C,o,s,c,0,0,1,1,l*S,u),x.restore(),t.save(),t.setTransform(1,0,0,1,0,0);let w=t.imageSmoothingEnabled,T=t.imageSmoothingQuality;return t.imageSmoothingEnabled=!0,t.imageSmoothingQuality=`high`,t.drawImage(b,0,0,g*S,_*S,f,p,g,_),t.imageSmoothingEnabled=w,t.imageSmoothingQuality=T,t.restore(),!0}var dc,fc,pc,mc=t((()=>{ha(),dc=1,fc=!1,pc=2}));function hc(e,t){if(!t||![t.l,t.t,t.r,t.b].some(e=>(e??0)!==0))return e;let n=t.l??0,r=t.t??0,i=1-(t.r??0),a=1-(t.b??0),o=[cc(e,n,r),cc(e,i,r),cc(e,i,a),cc(e,n,a)];return o.every(e=>e!=null)?o:null}function gc(e,t){if(e.length!==4)return null;let n=e.map((e,n)=>({scenePoint:e,projected:t(e),index:n})).sort((e,t)=>e.projected.y-t.projected.y||e.projected.x-t.projected.x),r=n.slice(0,2).sort((e,t)=>e.projected.x-t.projected.x),i=n.slice(2).sort((e,t)=>e.projected.x-t.projected.x);return new Set([...r,...i].map(e=>e.index)).size===4?[r[0].scenePoint,r[1].scenePoint,i[1].scenePoint,i[0].scenePoint]:null}function _c(e,t,n,r){if(e.thickness===0&&n===0)return[e.inner[3],e.inner[2],e.inner[1],e.inner[0]];let i=gc(e.faces[n]??[],r);return!i||t!==`backWall`||n!==4?i:[i[1],i[2],i[3],i[0]]}function vc(e,t,n){if(!(e!=null&&Number.isFinite(e)&&e>0)||!(t>0)||!(n>0))return null;let r=e*n/t;return Number.isFinite(r)&&r>0?r:null}function yc(e,t,n){return Math.hypot(e.x-t.x,e.y-t.y,(e.depth-t.depth)*n)}function bc(e,t,n,r,i,a,o,s,c){let l=Jo(t,r,i,c);if(!l||a.inner.length!==4)return!1;let u=vi(n);if(!(u.w>0)||!(u.h>0))return!1;let d=yi(n,t.srcRect),f=d?{x0:d.sx,y0:d.sy,x1:d.sx+d.sw,y1:d.sy+d.sh}:void 0,p=[s(a.inner[3]),s(a.inner[2]),s(a.inner[1]),s(a.inner[0])],m=(e,t,n)=>({x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n,depth:e.depth+(t.depth-e.depth)*n}),h=(e,t,n)=>[s(m(e[3],e[0],n)),s(m(e[2],e[1],n)),s(m(e[2],e[1],t)),s(m(e[3],e[0],t))],g=l.mode===`stack`?vc(a.pictureStackAspect,u.w,u.h):null,_=l.mode===`tile`?ks(t,n):null,v=[];if(l.mode===`stack`){if(g==null)return!1;let e=0,t=!1;for(let n of o){if(!Vo(l,n)||!_c(a,i,n,s))continue;let r=Ho(l,n)?Math.ceil(1/g):1;if(!Number.isSafeInteger(r)||r<1||(e+=r,e>4096))return!1;t=!0}if(!t)return!1}if(l.mode===`tile`){if(!_)return!1;let t=0,n=0,r=!1;for(let c of o){if(!Vo(l,c))continue;let o=_c(a,i,c,s);if(!o)continue;let u=yc(o[0],o[1],a.modelDepth),d=yc(o[0],o[3],a.modelDepth);if(!(u>0)||!(d>0))continue;let f=As(_,u,d),p=Math.floor(-f.x/_.tileW),m=Math.floor(-f.y/_.tileH),h=Math.ceil((u-f.x)/_.tileW),g=Math.ceil((d-f.y)/_.tileH),y=Math.max(0,h-p)*Math.max(0,g-m);if(!Number.isSafeInteger(y)||(t+=y,t>4096))return!1;if(y===0)continue;let b=Math.ceil(u),x=Math.ceil(d);if(!(b>0&&b<=32767)||!(x>0&&x<=32767)||b>Math.floor((16777216-n)/x))return!1;n+=b*x;let S=_r(e,b,x),C=S?.getContext(`2d`);if(!S||!C)return!1;v.push({faceIndex:c,width:u,height:d,origin:f,firstColumn:p,firstRow:m,lastColumn:h,lastRow:g,canvas:S,context:C}),r=!0}if(!r)return!1}if(e.save(),t.alpha!=null&&(e.globalAlpha*=t.alpha),l.mode===`stretch`)for(let r of o){if(!Vo(l,r))continue;let o=_c(a,i,r,s),c=a.thickness===0&&r===0?p:o?.map(s);if(!c)continue;let m=hc(c,t.fillRect);if(!m)continue;let h=d?hc(m,{l:d.dxFraction,t:d.dyFraction,r:1-d.dxFraction-d.dwFraction,b:1-d.dyFraction-d.dhFraction}):m;if(h){e.save(),e.beginPath(),e.moveTo(c[0].x,c[0].y);for(let t=1;t<c.length;t++)e.lineTo(c[t].x,c[t].y);e.closePath(),e.clip(),ac(n,e,u.w,u.h,h,.5,f),e.restore()}}else for(let r of o){if(!Vo(l,r))continue;let o=_c(a,i,r,s);if(!o)continue;let d=o.map(s);e.save(),e.beginPath(),e.moveTo(d[0].x,d[0].y);for(let t=1;t<d.length;t++)e.lineTo(d[t].x,d[t].y);e.closePath(),e.clip();let p=Uo(l,r);if(l.mode===`tile`){if(!_)continue;let i=v.find(e=>e.faceIndex===r);if(!i)continue;let a=i.canvas.width/i.width,o=i.canvas.height/i.height;i.context.save(),i.context.scale(a,o);for(let e=i.firstRow;e<i.lastRow;e++)for(let r=i.firstColumn;r<i.lastColumn;r++){let a=i.origin.x+r*_.tileW,o=i.origin.y+e*_.tileH,s=_.flipX&&Math.abs(r)%2==1,c=_.flipY&&Math.abs(e)%2==1;i.context.save(),i.context.translate(a+(s?_.tileW:0),o+(c?_.tileH:0)),i.context.scale(s?-1:1,c?-1:1),bi(i.context,n,t.srcRect,0,0,_.tileW,_.tileH),i.context.restore()}i.context.restore(),ac(i.canvas,e,i.canvas.width,i.canvas.height,d,.5)}else if(l.mode===`stack`){if(g==null)continue;if(Ho(l,r))for(let t=0;t<Math.ceil(1/g);t++)ac(n,e,u.w,u.h,h(o,t*g,(t+1)*g),.5,f);else ac(n,e,u.w,u.h,d,.5,f)}else if(l.stackUnit!=null&&Wo(l,r))for(let t=0;t<p;t++){let r=t*l.stackUnit/c,i=(t+1)*l.stackUnit/c;ac(n,e,u.w,u.h,h(o,r,i),.5,f)}else l.stackUnit!=null&&ac(n,e,u.w,u.h,d,.5,f);e.restore()}return e.restore(),!0}var xc=t((()=>{vr(),ia(),Ci(),mc(),Gs(),Yo(),Bo()}));function Sc(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 Cc(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 wc(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 Dc(a>i?Ac(i,a,c):o/c)}function Tc(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 Dc(i>r?Ac(r,i,o):(a??1)/o)}function Ec(e,t,n){let r=Number.isFinite(e)?e:0,i=Number.isFinite(t)?t:1;return Dc((i>r?i-r:1)/(n!=null&&Number.isFinite(n)&&n>0?Math.max(5,Math.round(n/28)):5))}function Dc(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 Oc(e){return e!=null&&isFinite(e)?e:null}function kc(e){return e!=null&&isFinite(e)&&e>0?e:null}function Ac(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 jc(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 Mc(e,t,n,r,i){let a=jc(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 Nc(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=t>=0&&(t===0||n>1.2*t),o=n<=0&&(n===0||Math.abs(t)>1.2*Math.abs(n)),s=e?0:t,c=o?0:n,l=c-s,u=isFinite(l)?l*.05:c*.05-s*.05,d=e?0:t-u,f=o?0:n+u;a=Dc(f/10-d/10),r=Math.floor(d/a)*a,i=Math.ceil(f/a)*a,(!isFinite(r)||!isFinite(i)||!(i>r))&&(r=Math.min(t,0),i=Math.max(n,r+a))}let o=Oc(e.explicitMin),s=Oc(e.explicitMax),c=kc(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=Dc(Ac(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(Dc(Ac(o,s,10)),Math.min(Number.MAX_VALUE,Cc(Ac(o,s,t),1)))}}let f=c??d;c==null&&jc(l,u,f)>512&&(f=Dc(u/511-l/511));let p=kc(e.minorUnit);e.needMinor&&c==null&&p==null&&jc(l,u,f/5)>512&&(f=Dc(u/102-l/102));let m=f/5,h=e.needMinor?p??(m>0&&isFinite(m)?m:f):null,g=Mc(l,u,f,c==null?`skip`:`truncate`),_=h==null?[]:Mc(l,u,h,`skip`,f);return{min:l,max:u,majorUnit:f,minorUnit:h,majorTicks:g,minorTicks:_}}function Pc(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 Fc(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 Ic(e){let t=e.logBase;if(t!=null&&Number.isFinite(t)&&t>=2){let{min:n,max:r,lines:i}=Fc(e.dataMin,e.dataMax,t,Oc(e.explicitMin),Oc(e.explicitMax));return{min:n,max:r,majorUnit:i.length>1?i[1]-i[0]:r-n,minorUnit:null,majorTicks:i,minorTicks:[],fraction:i=>Pc(i,n,r,{logBase:t,reversed:e.reversed})}}let n=Nc(e);return{...n,fraction:t=>Pc(t,n.min,n.max,{reversed:e.reversed})}}function Lc(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 Rc(e,t,n,r){let i=Math.min(e.length,t.length);if(i<2)return{xs:[],ys:[]};if(n===`linear`){let n=Lc(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=[],s=0;for(let e=0;e<n;e++)s+=t[e];for(let r=n-1;r<i;r++){a.push(e[r]),o.push(s/n);let c=r+1;c<i&&(s+=t[c]-t[c-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=Lc(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:[]}}var zc=t((()=>{}));function Bc(e,t,n){if(t===``||n<=0)return``;if(e.measureText(t).width<=n)return t;if(e.measureText(Vc).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)+Vc).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)+Vc}var Vc,Hc=t((()=>{Vc=`…`}));function Uc(e){return e===`days`||e===`months`||e===`years`?e:null}function Wc(e,t){switch(t){case`years`:return new Date(Date.UTC(e.getUTCFullYear(),0,1));case`months`:return new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),1));case`days`:return new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()))}}function Gc(e,t,n){if(n===`days`)return new Date(e.getTime()+t*864e5);let r=new Date(e.getTime());return n===`months`?r.setUTCMonth(r.getUTCMonth()+t):r.setUTCFullYear(r.getUTCFullYear()+t),r}function Kc(e,t){switch(t){case`years`:return e.getUTCFullYear();case`months`:return e.getUTCFullYear()*12+e.getUTCMonth();case`days`:return Math.floor(e.getTime()/864e5)}}function qc(e){let t=e.categories.map(e=>Number(e));if(t.length===0||t.some(e=>!Number.isFinite(e)))return null;let n=e.date1904===!0,r=Uc(e.baseTimeUnit)??`days`,i=Uc(e.majorTimeUnit)??r,a=Uc(e.minorTimeUnit)??r,o=(e,t)=>e==null||!(e>0)||!Number.isFinite(e)?null:t===`days`||e>=1&&Number.isInteger(e)?e:null,s=o(e.majorUnit,i),c=o(e.minorUnit,a),l=e=>Kc(Ba(e,n),r),u=Array(t.length),d=1/0,f=-1/0,p=1/0,m=-1/0;for(let e=0;e<t.length;e++){let n=t[e],r=l(n);u[e]=r,d=Math.min(d,r),f=Math.max(f,r),p=Math.min(p,n),m=Math.max(m,n)}let h=e.explicitMin,g=e.explicitMax,_=h!=null&&Number.isFinite(h)?l(h):null,v=g!=null&&Number.isFinite(g)?l(g):null,y=e.crossBetween!==!1,b=_??d,x=(v??f)+ +!!y;x>b||(b-=.5,x+=.5);let S=x-b,C=e=>(l(e)-b)/S,w=e.reversed?e=>1-C(e):C,T=e=>(l(e)+(y?.5:0)-b)/S,E=e.reversed?e=>1-T(e):T,D=t.map(E),O=t.map(()=>1/S),k=h!=null&&Number.isFinite(h)?h:p,A=g!=null&&Number.isFinite(g)?g:m,j=(e,t)=>{if(t==null)return[];let r=Wc(Ba(k,n),e),i=Va(r,n);for(let a=0;i<k&&a<512;a++){let a=Gc(r,t,e),o=Va(a,n);if(!(o>i))return[];r=a,i=o}if(i<k)return[];let a=[];for(;i<=A;){if(a.length===512)return[];a.push({serial:i,fraction:w(i)});let o=Gc(r,t,e),s=Va(o,n);if(!(s>i))break;r=o,i=s}return a},M=j(i,s),N=new Set(M.map(e=>l(e.serial)));return{positions:D,categoryBandFractions:O,majorTicks:M,minorTicks:c==null?[]:j(a,c).filter(e=>!N.has(l(e.serial)))}}var Jc=t((()=>{Ga(),zc()})),Yc=t((()=>{}));function Xc(e,t,n,r){let i=[[]],a=[null],o=0,s=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 c=0;c<t.runs.length&&c<el;c++){let l=t.runs[c];l.text!==`
|
|
2
|
+
`&&a[i.length-1]==null&&(a[i.length-1]=l.paragraphAlign??null);let u=Bt(l.fontSizeHpt,t.ptToPx)??n,d=l.fontFace?.trim().replaceAll(`"`,``),f=d&&!d.startsWith(`+`)?d:null,p=d&&t.fontFamilyForFace?t.fontFamilyForFace(d):f?`"${f}", Calibri, Arial, sans-serif`:t.fontFamily,m=`${l.italic??t.fallbackItalic??!1?`italic `:``}${l.bold??t.fallbackBold?`bold `:``}${u}px ${p}`,h=(l.baseline??t.fallbackBaseline??0)*u,g=l.colorPaintAuthored===!0||l.color!=null||l.colorHidden===!0?l.colorHidden===!0?null:s(l.color):t.fallbackColorHidden===!0?null:r,_=``,v=()=>{_&&=(e.font=m,i[i.length-1].push({text:_,font:m,fillStyle:g,width:e.measureText(_).width,fontSizePx:u,baselineShiftPx:h}),``)},y=!1;for(let e of l.text){if(y&&e===`
|
|
3
|
+
`){y=!1;continue}y=!1;let t=e===`\r`?`
|
|
4
|
+
`:e;if(e===`\r`&&(y=!0),o>=Qc){v();break outer}if(o++,t===`
|
|
5
|
+
`){if(v(),i.length>=$c)break outer;i.push([]),a.push(l.paragraphAlign??null)}else _+=t}v()}if(!i.some(e=>e.length>0))return null;let c=i.map(e=>Math.max(n*1.15,...e.map(e=>e.fontSizePx*1.15+Math.abs(e.baselineShiftPx)))),l=i.map(e=>e.reduce((e,t)=>e+t.width,0));return{lines:i,lineAligns:a,lineHeights:c,lineWidths:l,width:Math.max(0,...l),height:c.reduce((e,t)=>e+t,0)}}function Zc(e,t,n,r,i=`center`,a=`middle`,o=t.width){let s=a===`top`?r:a===`bottom`?r-t.height:r-t.height/2;for(let r=0;r<t.lines.length;r++){let c=t.lines[r],l=t.lineWidths[r],u=t.lineAligns[r],d=u===`l`?`left`:u===`r`?`right`:u===`ctr`?`center`:i,f=i===`left`?n:i===`right`?n-o:n-o/2,p=f+o,m=d===`left`?f:d===`right`?p-l:f+(o-l)/2,h=a===`top`?s:a===`bottom`?s+t.lineHeights[r]:s+t.lineHeights[r]/2;for(let t of c){if(e.font=t.font,t.fillStyle==null){m+=t.width;continue}e.fillStyle=t.fillStyle,e.textAlign=`left`,e.textBaseline=a,e.fillText(t.text,m,h-t.baselineShiftPx),m+=t.width}s+=t.lineHeights[r]}}var Qc,$c,el,tl=t((()=>{dn(),Qc=4096,$c=4,el=Qc}));function nl(e,t,n,r,i,a,o){if(![n,r,i].every(Number.isFinite)||n<=0||r<=0||t.w<=0||t.h<=0)return null;let s=Math.max(4,i*.5),c=Math.min(n,Math.max(0,t.w-s*2)),l=Math.min(r,t.h),u=t.x+t.w*.75,d={x:o?Math.max(t.x,Math.min(t.x+t.w-c,u-c)):Math.max(t.x,t.x+t.w-s-c),y:o?Math.max(t.y,Math.min(t.y+t.h-l,o.y-l+i*.25)):Math.min(t.y+t.h-l,t.y+s),w:c,h:l};if(a){let t=tn(a,e,d);if(t)return{...t,automatic:!1}}return{...d,automatic:!0}}var rl=t((()=>{dn()}));function il(e,t,n,r,i,a,o,s=0){Aa(e,t.plotAreaStyle,t.threeD?t.chartStyleRoles?.plotArea3D:t.chartStyleRoles?.plotArea,0,{x:n,y:r,w:i,h:a},o,e=>{if(t.plotAreaFillHidden!==!0)if(t.plotAreaFill?.fillType===`image`)Bs(e,t.plotAreaFill,n,r,i,a,o,s);else{let o=t.plotAreaFill?Vi(t.plotAreaFill,e,n,r,i,a,s):t.plotAreaBg?`#${t.plotAreaBg}`:null;o&&(e.fillStyle=o,e.fillRect(n,r,i,a))}if(t.plotAreaLineHidden===!0||!t.plotAreaLineFill&&!t.plotAreaLineColor)return;let c=t.plotAreaLineWidthEmu?Math.max(.5,t.plotAreaLineWidthEmu/Dt)*o:1;e.save();let l=t.plotAreaLineFill?Vi(t.plotAreaLineFill,e,n,r,i,a,s):t.plotAreaLineColor?`#${t.plotAreaLineColor}`:null;l&&(e.strokeStyle=l,e.setLineDash(Ai(t.plotAreaLineCustomDash,t.plotAreaLineDash,c)),e.lineCap=t.plotAreaLineCap===`rnd`?`round`:t.plotAreaLineCap===`sq`?`square`:`butt`,e.lineJoin=t.plotAreaLineJoin===`round`||t.plotAreaLineJoin===`bevel`?t.plotAreaLineJoin:`miter`,rs(e,n,r,i,a,c,t.plotAreaLineCompound)),e.restore()})}var al=t((()=>{Ii(),Ki(),jt(),is(),Gs(),Pa()}));function ol(e){return e.rotationX===15&&e.rotationY===20&&e.rightAngleAxes===!1&&e.perspective===30}function sl(e){return ol(e)?2:1}function cl(e,t){let n=e.replace(/^#/,``);if(!/^[0-9a-f]{6}$/i.test(n)||!Number.isFinite(t))return e;let r=Math.max(0,t),i=e=>Math.max(0,Math.min(255,Math.round(Number.parseInt(n.slice(e,e+2),16)*r))).toString(16).padStart(2,`0`);return`#${i(0)}${i(2)}${i(4)}`.toUpperCase()}function ll(e){if(!e)return 1;let t=e.z<0?{x:-e.x,y:-e.y,z:-e.z}:e,n={x:.24,y:.42,z:.88},r=Math.hypot(n.x,n.y,n.z),i=Math.max(0,(t.x*n.x+t.y*n.y+t.z*n.z)/r);return Math.max(.48,Math.min(1.22,.48+.78*i))}var ul=t((()=>{}));function dl(e,t,n,r,i){let a=Number.isFinite(e)&&e>0?e:0,o=Number.isFinite(t)?Sl(t,0,500):150,s=Math.max(1,Math.trunc(r)),c=Sl(Math.trunc(n),0,s-1),l=i?1:s,u=a/(l+o/100);return{offset:(a-u*l)/2+(i?0:c*u),size:u}}function fl(e,t,n){if(![e,t,n].every(Number.isFinite))return 1;let r=e>=0?n:t;return 1-Math.min(1,Math.abs(e)/Math.max(Number.MIN_VALUE,Math.abs(r)))}function pl(e){return!(e.heightPercentAuthored??e.heightPercent!=null)||e.heightPercent==null||!Number.isFinite(e.heightPercent)||e.heightPercent<5||e.heightPercent>500?1:e.heightPercent/100}function ml(e,t,n,r){if(!t.length||t.length>1e5||![n.x,n.y,n.w,n.h].every(Number.isFinite)||n.w<=0||n.h<=0||!t.every(e=>Number.isFinite(e.x)&&Number.isFinite(e.y)))return e;let i=1/0,a=-1/0,o=1/0,s=-1/0;for(let e of t)i=Math.min(i,e.x),a=Math.max(a,e.x),o=Math.min(o,e.y),s=Math.max(s,e.y);let c=a-i,l=s-o;if(!(c>2**-52)||!(l>2**-52))return e;let u=Sl(xl(r,.06),0,.45),d=n.w*(1-2*u),f=n.h*(1-2*u),p=Math.min(d/c,f/l);if(!(p>0)||!Number.isFinite(p))return e;let m={x:(i+a)/2,y:(o+s)/2},h={x:n.x+n.w/2,y:n.y+n.h/2},g=e=>(t,n,r)=>{let i=e(t,n,r);return{x:h.x+(i.x-m.x)*p,y:h.y+(i.y-m.y)*p}};return{...e,project:g(e.project),projectUnbounded:g(e.projectUnbounded),depthX:e.depthX*p,depthY:e.depthY*p}}function hl(e,t,n,r=.06){return!t.length||t.length>1e5?e:ml(e,t.map(t=>e.project(t.x,t.y,t.depth)),n,r)}function gl(e,t,n){let{front:r}=e,i=r.x,a=r.x+r.w,o=e.topology.farX===`min`?i:a,s=e.topology.axisY===`min`?r.y:r.y+r.h,c=s===r.y?r.y+r.h:r.y,{nearDepth:l,farDepth:u}=e.topology,d=[e.projectUnbounded(i,c,u),e.projectUnbounded(a,c,u),e.projectUnbounded(i,s,u)],f=[i,a].flatMap(t=>[c,s].flatMap(n=>[l,u].map(r=>e.projectUnbounded(t,n,r).x))),p=Math.max(...f)-Math.min(...f),m=Math.hypot(d[0].x-d[2].x,d[0].y-d[2].y),h=p>0&&m>0?p/m:null,g=n??0,_=Number.isFinite(g)&&g>=0&&g<=bl?g:0,v=Math.max(r.w,r.h,e.modelDepth)*_/100,y,b;if(t===`floor`){y=[{x:i,y:s,depth:l},{x:a,y:s,depth:l},{x:a,y:s,depth:u},{x:i,y:s,depth:u}];let e=s+(s===r.y?-v:v);b=y.map(t=>({...t,y:e}))}else if(t===`sideWall`){y=[{x:o,y:s,depth:l},{x:o,y:s,depth:u},{x:o,y:c,depth:u},{x:o,y:c,depth:l}];let e=o+(o===i?-v:v);b=y.map(t=>({...t,x:e}))}else{y=[{x:i,y:s,depth:u},{x:a,y:s,depth:u},{x:a,y:c,depth:u},{x:i,y:c,depth:u}];let t=e.modelDepth>0?v/e.modelDepth:0,n=u===0?-t:1+t;b=y.map(e=>({...e,depth:n}))}if(!(v>0))return{thickness:0,inner:y,outer:[...y],faces:[y],pictureStackAspect:h,modelDepth:e.modelDepth};let x=y.map((e,t)=>[e,y[(t+1)%y.length],b[(t+1)%b.length],b[t]]),S=[y,b,...x],C=[...y,...b].reduce((e,t)=>({x:e.x+t.x/8,y:e.y+t.y/8,depth:e.depth+t.depth/8}),{x:0,y:0,depth:0}),w=S.map(e=>{let[t,n,r]=e,i={x:n.x-t.x,y:n.y-t.y,depth:n.depth-t.depth},a={x:r.x-t.x,y:r.y-t.y,depth:r.depth-t.depth},o={x:i.y*a.depth-i.depth*a.y,y:i.depth*a.x-i.x*a.depth,depth:i.x*a.y-i.y*a.x},s=e.reduce((t,n)=>({x:t.x+n.x/e.length,y:t.y+n.y/e.length,depth:t.depth+n.depth/e.length}),{x:0,y:0,depth:0}),c={x:s.x-C.x,y:s.y-C.y,depth:s.depth-C.depth};return o.x*c.x+o.y*c.y+o.depth*c.depth<0?[...e].reverse():e});return{thickness:v,inner:y,outer:b,faces:w,pictureStackAspect:h,modelDepth:e.modelDepth}}function _l(e,t,n,r){if(!Number.isFinite(r)||r<0||r>1||n===`x`&&t===`sideWall`||n===`y`&&t===`floor`)return[];let i=(e,t)=>({x:e.x+(t.x-e.x)*r,y:e.y+(t.y-e.y)*r,depth:e.depth+(t.depth-e.depth)*r}),a,o,s,c,l,u;n===`x`?(a=i(e.inner[0],e.inner[1]),o=i(e.inner[3],e.inner[2]),s=i(e.outer[0],e.outer[1]),c=i(e.outer[3],e.outer[2]),l=2,u=4):(a=i(e.inner[0],e.inner[3]),o=i(e.inner[1],e.inner[2]),s=i(e.outer[0],e.outer[3]),c=i(e.outer[1],e.outer[2]),l=5,u=3);let d=[{faceIndex:0,scenePoints:[a,o]}];return e.thickness>0&&d.push({faceIndex:1,scenePoints:[s,c]},{faceIndex:l,scenePoints:[a,s]},{faceIndex:u,scenePoints:[o,c]}),d}function vl(e,t,n){let r=[[`floor`,t.floor?.thicknessPercent],[`sideWall`,t.sideWall?.thicknessPercent],[`backWall`,t.backWall?.thicknessPercent]].map(([t,n])=>gl(e,t,n));return r.some(e=>e.thickness>0)?ml(e,r.flatMap(e=>e.faces.flat()).map(t=>e.projectUnbounded(t.x,t.y,t.depth)),n,.03):e}function yl(e,t,n={}){if(![t.x,t.y,t.w,t.h].every(Number.isFinite)||t.w<=0||t.h<=0)return null;let r=Sl(xl(e.rotationX,15),-90,90),i=(Sl(xl(e.rotationY,20),0,360)+180)%360-180,a=Sl(xl(e.depthPercent,100),20,2e3),o=Sl(xl(e.perspective,30),0,240),s=Sl(xl(e.gapDepthPercent,150),0,500),c=(e.heightPercentAuthored??e.heightPercent!=null)&&e.heightPercent!=null&&Number.isFinite(e.heightPercent)?Sl(e.heightPercent,5,500):null,l=n.sceneHeightScale!=null&&Number.isFinite(n.sceneHeightScale)?Sl(n.sceneHeightScale*100,5,500):null,u=c??l,d=t;if(u!=null){let e=u/100,n=Math.min(t.w,t.h/e),r=n*e;d={x:t.x+(t.w-n)/2,y:t.y+(t.h-r)/2,w:n,h:r}}let f=Math.PI/180,p=Sl(xl(n.sceneDepthScale,.1),.01,2),m=d.w*p*(a/100),h=d.x+d.w/2,g=d.y+d.h/2,_=-i*f,v=r*f,y=Math.cos(_),b=Math.sin(_),x=Math.cos(v),S=Math.sin(v),C=e.rightAngleAxes!==!0&&o>0,w=Sl(o*.25,.25,60)*f,T=Sl(xl(n.perspectiveTangentGain,2),.25,4),E=Math.atan(T*Math.tan(w)),D=Math.hypot(d.w,d.h,m),O=C?D*.5/Math.tan(E):1/0,k=(e,t,n,r=!0)=>{let i=e-h,a=g-t,o=Number.isFinite(n)?n:0,s=(.5-(r?Sl(o,0,1):o))*m,c=y*i+b*s,l=-b*i+y*s;return{x:c,y:x*a-S*l,z:S*a+x*l}},A=e=>{if(e.length<3)return null;let t=e.map(e=>k(e.x,e.y,e.depth,!1)),n=t[0],r=null;for(let e=1;e+1<t.length&&!r;e++)for(let i=e+1;i<t.length;i++){let a=t[e],o=t[i],s={x:a.x-n.x,y:a.y-n.y,z:a.z-n.z},c={x:o.x-n.x,y:o.y-n.y,z:o.z-n.z},l={x:s.y*c.z-s.z*c.y,y:s.z*c.x-s.x*c.z,z:s.x*c.y-s.y*c.x},u=Math.hypot(l.x,l.y,l.z);if(u>2**-52){r={x:l.x/u,y:l.y/u,z:l.z/u};break}}return r?{normal:r,centroid:t.reduce((e,n)=>({x:e.x+n.x/t.length,y:e.y+n.y/t.length,z:e.z+n.z/t.length}),{x:0,y:0,z:0})}:null},j=-1/0;for(let e of[d.x,d.x+d.w])for(let t of[d.y,d.y+d.h])for(let n of[0,1])j=Math.max(j,k(e,t,n).z);let M=C?Math.max(O,j+D*.01):1/0,N=(e,t,n,r=!0)=>{let i=k(e,t,n,r);if(!C)return{x:i.x,y:-i.y};let a=M/Math.max(M*1e-9,M-i.z);return{x:i.x*a,y:-i.y*a}},P=[];for(let e of[d.x,d.x+d.w])for(let t of[d.y,d.y+d.h])for(let n of[0,1])P.push(N(e,t,n));let F=Math.min(...P.map(e=>e.x)),I=Math.max(...P.map(e=>e.x)),L=Math.min(...P.map(e=>e.y)),R=Math.max(...P.map(e=>e.y)),z=Math.max(Number.MIN_VALUE,I-F),B=Math.max(Number.MIN_VALUE,R-L),V=Math.min(t.w/z,t.h/B)*.94,H=t.x+(t.w-z*V)/2-F*V,ee=t.y+(t.h-B*V)/2-L*V,U=(e,t,n)=>{let r=N(e,t,n);return{x:H+r.x*V,y:ee+r.y*V}},W=(e,t,n)=>{let r=N(e,t,n,!1);return{x:H+r.x*V,y:ee+r.y*V}},te={...d},G=U(h,g,0),ne=U(h,g,1),re=ne.x-G.x,ie=ne.y-G.y,ae=(e,t)=>k(e===`x`?t===`min`?d.x:d.x+d.w:h,e===`y`?t===`min`?d.y:d.y+d.h:g,e===`depth`?t===`min`?0:1:.5).z,oe=ae(`x`,`min`)<=ae(`x`,`max`)?`min`:`max`,se=ae(`y`,`min`)<=ae(`y`,`max`)?`min`:`max`,ce=ae(`depth`,`min`)>=ae(`depth`,`max`)?0:1,le=+(ce===0),ue=e=>{let t=e===`min`?d.x:d.x+d.w,n=U(t,d.y,ce),r=U(t,d.y+d.h,ce);return(n.x+r.x)/2},de=e=>{let t=e===`min`?d.y:d.y+d.h,n=U(d.x,t,ce),r=U(d.x+d.w,t,ce);return(n.y+r.y)/2},fe=ue(`min`)<=ue(`max`)?`min`:`max`,pe=de(`min`)>=de(`max`)?`min`:`max`,me=e=>1/Math.max(1,Math.trunc(e))/(1+s/100),he=(e,t,n=!1)=>n||t<=1?.5:(Sl(Math.trunc(e),0,Math.max(0,t-1))+.5)/t;return{scene:d,front:te,depthX:re,depthY:ie,modelDepth:m,pieScaleY:Sl(Math.sin(Math.max(1,Math.abs(r))*f)**1.15,.2,1),pieThicknessFraction:.3*Math.max(0,Math.cos(Math.abs(r)*f)),project:U,projectUnbounded:W,cameraDepth(e,t,n){return k(e,t,n,!1).z},cameraProjectionWeight(e,t,n){if(!C)return 1;let r=k(e,t,n,!1).z;return 1/Math.max(M*1e-9,M-r)},cameraFacing(e){let t=A(e);if(!t)return!1;let{normal:n,centroid:r}=t,i=C?{x:-r.x,y:-r.y,z:M-r.z}:{x:0,y:0,z:1},a=n.x*i.x+n.y*i.y+n.z*i.z,o=Math.hypot(i.x,i.y,i.z);return o>0&&a>o*1e-10},cameraNormal(e){return A(e)?.normal??null},topology:{farX:oe,farY:se,axisX:fe,axisY:pe,nearDepth:ce,farDepth:le},seriesDepth:he,prismDepth:me,prismInterval(e,t,n=!1){let r=he(e,t,n),i=me(n?1:t)/2;return{near:Sl(r-i,0,1),far:Sl(r+i,0,1)}}}}var bl,xl,Sl,Cl=t((()=>{bl=4294967295,xl=(e,t)=>typeof e==`number`&&Number.isFinite(e)?e:t,Sl=(e,t,n)=>Math.min(n,Math.max(t,e))}));function wl(e,t){return t?.color?`#${t.color}`:`#${rp[e%rp.length]}`}function Tl(e){let t=new Map;for(let n of e??[])t.has(n.idx)||t.set(n.idx,n);return t}function El(e,t,n=!0,r=e){let i=t.dataPointColors?.[e];return i?`#${i}`:t.color===`00000000`?`#00000000`:n?`#${rp[e%rp.length]}`:wl(r,t)}function Dl(e,t,n,r){return Ge(e,n)?r:Af(t,n)}function Ol(e,t,n,r,i,a,o,s,c,l,u,d=!0,f=!0){let p=wt(t,n,r,i,a),{paint:m}=p;if(m===void 0&&!d||(m===void 0&&(m={fillType:`solid`,color:o.replace(/^#/,``)}),m===null))return!1;let h=m.fillType===`solid`?m.color.startsWith(`#`)?m.color:`#${m.color}`:Vi(m,e,l.x,l.y,l.w,l.h,u);if(!h)return!1;e.strokeStyle=h,e.lineWidth=p.widthEmu==null?s:Xo(p.widthEmu,c);let g=Ai(p.customDash,p.dash,e.lineWidth),_=typeof e.getLineDash==`function`?e.getLineDash()??[]:[];return(f||g.length>0||_.length>0)&&e.setLineDash(g),e.lineCap=p.cap===`rnd`?`round`:p.cap===`sq`?`square`:`butt`,e.lineJoin=p.join===`round`||p.join===`bevel`?p.join:`miter`,!0}function kl(e,t,n,r,i,a,o,s,c,l,u,d=!0){let f=Math.max(0,Le(t,n)),p=Tl(n.dataPointOverrides),m=Ke(t,`dataPointLine`,f),h=(r,a,f,h,g=!1)=>{let _=p.get(a.index);Aa(e,va(_?.chartexStyle,n.chartexStyle),m,a.index,l,c,e=>{if(e.save(),Ol(e,t,`dataPointLine`,n,_,a.index,o,s,c,l,u,d)){if(e.beginPath(),e.moveTo(r.x,r.y),i&&!g){let t=f[h-1]??r,n=f[h+2]??a;e.bezierCurveTo(r.x+(a.x-t.x)/6,r.y+(a.y-t.y)/6,a.x-(n.x-r.x)/6,a.y-(n.y-r.y)/6,a.x,a.y)}else e.lineTo(a.x,a.y);e.stroke()}e.restore()},a.index)};for(let e of r){for(let t=0;t+1<e.length;t++)h(e[t],e[t+1],e,t);a&&e.length>1&&h(e[e.length-1],e[0],e,e.length-1,!0)}}function Al(e,t,n,r,i,a,o,s,c){let l=r?.chartexStyle,u=Le(t,n),d=Ke(t,`dataPoint`,u>=0?u:i),f=n.chartexStyle,p=pt(l,r?.idx??i)!==void 0||r?.lineHidden===!0||r?.lineColor!=null,m=pt(f,i)!==void 0||n.lineHidden===!0||n.lineColor!=null,h=pt(d,i)!==void 0;!p&&!m&&!h||(e.save(),Ol(e,t,`dataPoint`,n,r,i,a,Math.max(.5,o*.75),o,s,c,!1)&&e.stroke(),e.restore())}function jl(e,t){return t&&(t.startsWith(`+mj`)?e.themeMajorFontLatin??null:t.startsWith(`+mn`)?e.themeMinorFontLatin??null:t)}function Ml(e,t,n){let r=n===`major`?e.themeMajorFontLatin:e.themeMinorFontLatin,i=jl(e,t)??r;return i?`"${i}", Calibri, Arial, sans-serif`:`sans-serif`}function Nl(e,t,n=!1,r=!1){return`${r?`italic `:``}${n?`bold `:``}${e}px ${t}`}function Pl(e,t,n,r=!1,i=!0){if(r||Mn(e,t.length,i)){let e=t[0];return e?El(n,e,i,0):`#${rp[n%rp.length]}`}return wl(n,t[n])}function Fl(e,t,n,r,i,a,o,s,c,l,u=`sans-serif`,d,f,p,m,h,g=1){e.save(),e.font=Nl(a,u,o,s),e.fillStyle=c;let _=p?t:Bc(e,t,l),v=qt(i,d,f),y=n,b=r;if(p&&m){let t=e.measureText(_).width,i=Math.abs(Math.cos(v)),o=Math.abs(Math.sin(v)),s=t*i+a*o,c=t*o+a*i,l={x:n-s/2,y:r-c/2,w:s,h:c},u=tn({...p,w:void 0,h:void 0},m,l);u&&(y=u.x+u.w/2,b=u.y+u.h/2)}e.translate(y,b),v!==0&&e.rotate(v);let x=e.measureText(_).width;go(e,h,{x:-x/2,y:-a/2,w:x,h:a},g),e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(_,0,0),e.restore()}function Il(e){return e?`#${e}`:`#555`}function Ll(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m=!1){let h=(f,p,m,h,g,_,v,y,b,x,S)=>{let C=Dd(t,S?{style:S}:void 0,t.chartStyleRoles?.axisTitle,Z(t,`axisTitle`),!0);if(p===`left`){Fl(e,f,n+u+Jt(i)+m/2,s+l/2,p,m,h,g,_,l,v,y,b,x,{x:n,y:r,w:i,h:a},C,m/10);return}Fl(e,f,o+c/2,r+a-d-Jt(a)-m/2,p,m,h,g,_,c,v,y,b,x,{x:n,y:r,w:i,h:a},C,m/10)};t.valAxisTitle&&h(t.valAxisTitle,m?`horizontal`:`left`,p,t.valAxisTitleFontBold??!0,t.valAxisTitleFontItalic??!1,Il(t.valAxisTitleFontColor),Ml(t,t.valAxisTitleFontFace,`major`),t.valAxisTitleRotation,t.valAxisTitleVerticalMode,t.valAxisTitleManualLayout,t.valAxisTitleStyle),t.catAxisTitle&&h(t.catAxisTitle,m?`left`:`horizontal`,f,t.catAxisTitleFontBold??!0,t.catAxisTitleFontItalic??!1,Il(t.catAxisTitleFontColor),Ml(t,t.catAxisTitleFontFace,`major`),t.catAxisTitleRotation,t.catAxisTitleVerticalMode,t.catAxisTitleManualLayout,t.catAxisTitleStyle)}function Rl(e){return e.dataTable!=null&&Yn(e.chartType)}function zl(e){let t=e.chartType===`clusteredBarH`||e.chartType===`stackedBarH`||e.chartType===`stackedBarHPct`,n=e.series.map((e,t)=>({series:e,sourceIndex:t}));return t?n.reverse():n}function Bl(e,t){let n=Rl(e)?e.dataTable:null;if(!n)return 0;let r=Bt(n.fontSizeHpt,t)??9*t,i=Math.max(1,r*1.2)+4*t;return(e.series.length+1)*i}function Vl(e,t,n){let r=Rl(t)?t.dataTable:null;if(!r)return 0;let i=Bt(r.fontSizeHpt,n)??9*n,a=Ml(t,r.fontFace,`minor`);e.save(),e.font=Nl(i,a,r.fontBold??!1,r.fontItalic??!1);let o=t.series.reduce((t,n)=>Math.max(t,e.measureText(n.name).width),0);e.restore();let s=r.showKeys?Math.max(12*n,i*1.7):0,c=r.showKeys?4*n:0;return o+s+c+6*n}function Hl(e,t,n,r){let i=Rl(t)?t.dataTable:null;if(!i)return null;let a=Bt(i.fontSizeHpt,r)??9*r,o=Math.max(1,a*1.2),s=o+4*r,c=Ml(t,i.fontFace,`minor`);e.save(),e.font=Nl(a,c,i.fontBold??!1,i.fontItalic??!1);let l=t.series.find(e=>e.catFormatCode)?.catFormatCode??t.catAxisFormatCode,u=t.series.find(e=>e.catFormatBuiltinId!=null)?.catFormatBuiltinId,d=id(t).map(i=>{let a=i.trim()===``?NaN:Number(i);return Vu(e,u===14&&Number.isFinite(a)?Ya(a,t.date1904):Qa(i,l,t.date1904),Math.max(1,n-4*r))});e.restore();let f=Math.max(1,...d.map(e=>e.length))*o+4*r;return{fontPx:a,lineHeight:o,headerLines:d,headerHeight:f,rowHeight:s,totalHeight:f+zl(t).length*s}}function Ul(e,t,n,r,i,a,o,s){let c=t.dataTable;if(!c||!n)return;let l=id(t);if(l.length===0)return;let u=a/l.length,d=Ml(t,c.fontFace,`minor`),f=Nl(n.fontPx,d,c.fontBold??!1,c.fontItalic??!1),p=c.showKeys?Math.max(12*s,n.fontPx*1.7):0,m=c.showKeys?4*s:0;e.save(),e.font=f;let h=t.series.reduce((t,n)=>Math.max(t,e.measureText(n.name).width),0)+p+m+6*s,g=Math.min(Math.max(0,r-o),h),_=r-g,v=g+a,y=i+n.totalHeight,b=zl(t),x=Ql(t.series,t.chartType,t.scatterStyle,!1,t.categories,[],!0,[],t.radarStyle,t),S=Fn(t),C=c.fillColor??null;e.beginPath(),e.rect(_,i,v,n.totalHeight),e.clip();let w=c.fontHidden===!0||c.fontPaintAuthored===!0&&c.fontColor==null?`transparent`:c.fontColor?`#${c.fontColor}`:`#000000`,T=(t,r,i)=>{if(C&&t!==``){let a=e.measureText(t).width;e.fillStyle=`#${C}`,e.fillRect(r-a/2,i-n.lineHeight/2,a,n.lineHeight)}e.fillStyle=w,e.textAlign=`center`,e.fillText(t,r,i)};e.fillStyle=w,e.textAlign=`center`,e.textBaseline=`middle`;for(let e=0;e<l.length;e++){let t=r+(e+.5)*u,a=n.headerLines[e]??[``],o=a.length*n.lineHeight,s=i+(n.headerHeight-o)/2+n.lineHeight/2;a.forEach((e,r)=>{T(e,t,s+r*n.lineHeight)})}for(let t=0;t<b.length;t++){let{series:a,sourceIndex:o}=b[t],d=i+n.headerHeight+t*n.rowHeight+n.rowHeight/2;if(g>0){let t=_+3*s+p+m;if(e.textAlign=`left`,e.fillText(Bc(e,a.name,Math.max(0,r-t-2*s)),t,d),c.showKeys&&p>0){let t=_+3*s,r=In(S,o),i=r==null?void 0:x[r];if(i){let r=Math.min(n.fontPx,n.rowHeight-2*s);Yl(e,i.swatchStyle,i.color,t,d-r/2,p,r,i.marker,i.fillPaint,i.outlinePaint,i.outlineColor,i.outlineWidthEmu,i.outlineDash,i.outlineCustomDash,i.outlineCap,i.outlineJoin,s,0,i.directEffect,i.fallbackEffect,i.directEffectIndex,i.fallbackEffectIndex)}e.fillStyle=w}}for(let e=0;e<l.length;e++){let t=a.values[e];T(t==null?``:Za(t,a.valFormatCode),r+(e+.5)*u,d)}}if(c.lineHidden!==!0&&(c.linePaintAuthored!==!0||c.lineColor!=null)){if(e.strokeStyle=c.lineColor?`#${c.lineColor}`:`#808080`,e.lineWidth=c.lineWidthEmu==null?Math.max(.5,s*.75):Xo(c.lineWidthEmu,s),e.setLineDash(Tf(c.lineDash??void 0,e.lineWidth)),c.showHorizontalBorder){let t=i+n.headerHeight;for(let r=0;r<b.length;r++)e.beginPath(),e.moveTo(_,t),e.lineTo(_+v,t),e.stroke(),t+=n.rowHeight}if(c.showVerticalBorder){e.beginPath(),e.moveTo(r,i),e.lineTo(r,y),e.stroke();for(let t=1;t<l.length;t++){let n=r+t*u;e.beginPath(),e.moveTo(n,i),e.lineTo(n,y),e.stroke()}}if(c.showOutline){let t=e.lineWidth/2;e.strokeRect(_+t,i+t,Math.max(0,v-e.lineWidth),Math.max(0,n.totalHeight-e.lineWidth))}}e.restore()}function Wl(e){return e&&(e===`line`||e===`stackedLine`||e===`stackedLinePct`||e===`radar`||e===`scatter`||e===`stock`)?`line`:`fill`}function Gl(e,t,n){if(e!==`scatter`)return!1;let r=t??`marker`;return(r===`marker`||r===`line`||r===`lineMarker`||r===`lineNoMarker`||r===`smooth`||r===`smoothMarker`||r===`smoothNoMarker`)&&n.lineHidden!==!0}function Kl(e,t,n,r,i,a){let o=r[i];if(!o)return null;let s=a?Math.max(0,Le(a,o)):i,c=a?ze(a,s):void 0,l=a&&c?lr(a.chartType,c):o.seriesType??e,u=c?.scatterStyle??t,d=c?.radarStyle??n,f=c?.kind===`bubble`?`bubble`:l,p=f===`stock`,m=f===`line`||f===`stackedLine`||f===`stackedLinePct`||f===`radar`||p,h=f===`bubble`,g=f===`scatter`||h;if(!m&&!g||!Qn(l,u,c?{...o,seriesType:l}:o,d))return null;let _=o.markerSymbol??o.automaticMarkerSymbol??(p?`none`:`circle`),v=wl(s,o),y=rr(o,v.replace(/^#/,``)),b=h?!1:g?Gl(`scatter`,u,o):o.lineHidden!==!0;if(h&&a){let e=Af(o,s),t=of(a,o,void 0,0,e,v),n=sf(a,o,void 0,0,e);return{symbol:`circle`,fill:t.color,fillPaint:t.paint,line:n.color,lineWidthEmu:n.widthEmu??null,linePaint:n.paint,lineDash:n.dash,lineCustomDash:n.customDash,lineCap:n.cap,lineJoin:n.join,bubble3D:Wn(o,void 0),withLine:!1,directEffect:va(o.chartexStyle),fallbackEffect:Ke(a,Wn(o,void 0)?`dataPoint3D`:`dataPoint`,s),directEffectIndex:e,fallbackEffectIndex:Ge(a,s)?0:e}}return a?Jl(a,o,void 0,0,s,f,u,d):{symbol:_,fill:y,fillPaint:nr(o),line:o.markerLine??null,lineWidthEmu:o.markerLineWidthEmu??null,withLine:b}}function ql(e,t,n,r){let i=Math.max(0,Le(e,t)),a=wl(i,t),o=Af(t,i),s=of(e,t,n,r,o,a),c=sf(e,t,n,r,o),l=va(n?.chartexStyle),u=va(t.chartexStyle),d=Wn(t,n);return{symbol:`circle`,fill:s.color,fillPaint:s.paint,line:c.color,lineWidthEmu:c.widthEmu??null,linePaint:c.paint,lineDash:c.dash,lineCustomDash:c.customDash,lineCap:c.cap,lineJoin:c.join,bubble3D:d,withLine:!1,directEffect:l??u,fallbackEffect:Ke(e,d?`dataPoint3D`:`dataPoint`,i),directEffectIndex:l?r:o,fallbackEffectIndex:Ge(e,i)?r:o}}function Jl(e,t,n,r,i,a,o,s){let c=a===`line`||a===`stackedLine`||a===`stackedLinePct`||a===`radar`||a===`stock`;if(!c&&a!==`scatter`)return null;let l=$n(t,n,`circle`,Qn(a,o,t,s));if(l===`none`)return null;let u=wl(i,t).replace(/^#/,``),d=t.chartexFormatIdx??i,f=Ke(e,`dataPointMarker`,i),p=Z(e,`dataPointMarker`),m=Ge(e,i)?r:d,h=ht(n?.markerStyle,p,r),g=ht(t.markerStyle,p,d),_=h!==void 0||n?.markerFill!=null||n?.markerFillPaint!==void 0||n?.markerFillPaintAuthored===!0&&n.markerStyle?.fillHidden!==!0,v=g!==void 0||t.markerFill!=null||t.markerFillPaint!==void 0||t.markerFillPaintAuthored===!0&&t.markerStyle?.fillHidden!==!0,y=n?tr(t,n,r,u):rr(t,u),b=n?er(t,n,r):nr(t);if(h===null||h===void 0&&g===null)y=`00000000`,b=null;else if(!_&&!v){let e=Q(f,m);e===null?(y=`00000000`,b=null):e?.fillType===`solid`?(y=e.color,b=void 0):e!==void 0&&(b=e)}let x=gt(n?.markerStyle,p,r),S=gt(t.markerStyle,p,d),C=n?.markerLine??t.markerLine??null,w;if(x!==void 0)x?.fillType===`solid`?C=x.color:w=x;else if(n?.markerLinePaintAuthored===!0&&n.markerStyle?.lineHidden!==!0&&n.markerLine==null)w=null;else if(S!==void 0)S?.fillType===`solid`?C=S.color:w=S;else if(t.markerLinePaintAuthored===!0&&t.markerStyle?.lineHidden!==!0&&t.markerLine==null)w=null;else if(n?.markerLine==null&&t.markerLine==null){let e=pt(f,m);e?.fillType===`solid`?C=e.color:(w=e,e===null&&(C=null))}let T=f,E=Be(n?.markerStyle,t.markerStyle,T),D=va(n?.markerStyle,n?.chartexStyle),O=va(t.markerStyle);return{symbol:l,fill:y,fillPaint:b,line:C,linePaint:w,lineWidthEmu:n?.markerLineWidthEmu??n?.markerStyle?.lineWidthEmu??t.markerLineWidthEmu??t.markerStyle?.lineWidthEmu??T?.lineWidthEmu??null,lineDash:E?.lineDash,lineCustomDash:E?.lineCustomDash,lineCap:n?.markerStyle?.lineCap??t.markerStyle?.lineCap??T?.lineCap,lineJoin:n?.markerStyle?.lineJoin??t.markerStyle?.lineJoin??T?.lineJoin,withLine:c||Gl(`scatter`,o,t),directEffect:D??O,fallbackEffect:f,directEffectIndex:D?r:d,fallbackEffectIndex:m}}function Yl(e,t,n,r,i,a,o,s=null,c=void 0,l=void 0,u=null,d=null,f=null,p=void 0,m=null,h=null,g=1,_=0,v,y,b=0,x=b){if(t!==`none`){if(s&&!s.withLine){hf(e,r+a/2,i+o/2,s.symbol,o*.58/g,s.fill,s.line,g,s.lineWidthEmu==null?void 0:Xo(s.lineWidthEmu,g),s.fillPaint,_,s.linePaint,s.lineDash,s.lineCustomDash,s.lineCap,s.lineJoin,s.bubble3D,s.directEffect,s.fallbackEffect,s.directEffectIndex,s.fallbackEffectIndex);return}Aa(e,v,y,b,{x:r,y:i,w:a,h:o},g,e=>Xl(e,t,n,r,i,a,o,c,l,u,d,f,p,m,h,g,_),x),s&&hf(e,r+a/2,i+o/2,s.symbol,o*.58/g,s.fill,s.line,g,s.lineWidthEmu==null?void 0:Xo(s.lineWidthEmu,g),s.fillPaint,_,s.linePaint,s.lineDash,s.lineCustomDash,s.lineCap,s.lineJoin,s.bubble3D,s.directEffect,s.fallbackEffect,s.directEffectIndex,s.fallbackEffectIndex)}}function Xl(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g){if(e.fillStyle=n,t===`line`){if(!(c!==void 0||l!=null||u!=null||d!=null||p!=null||m!=null)){e.strokeStyle=n;let t=e.lineWidth;e.lineWidth=Math.max(1.5,o*.15),e.beginPath();let s=i+o/2;e.moveTo(r,s),e.lineTo(r+a,s),e.stroke(),e.lineWidth=t;return}if(c===null)return;e.save();let t=c?Vi(c,e,r,i,a,o,g):l?`#${l}`:n;if(!t){e.restore();return}e.strokeStyle=t,e.lineWidth=u==null?Math.max(1.5,o*.15):Xo(u,h),e.setLineDash(Ai(f,d,e.lineWidth)),e.lineCap=p===`rnd`?`round`:p===`sq`?`square`:`butt`,e.lineJoin=m===`round`||m===`bevel`?m:`miter`,e.beginPath();let s=i+o/2;e.moveTo(r,s),e.lineTo(r+a,s),e.stroke(),e.restore()}else{Vf(e,s,{x:r,y:i,w:a,h:o},n,h,g);let t=c===null?null:c?Vi(c,e,r,i,a,o,g):l?`#${l}`:null;if(t){let n=Xo(u,h);e.save(),e.strokeStyle=t,e.lineWidth=n,e.setLineDash(Ai(f,d,e.lineWidth)),e.lineCap=p===`rnd`?`round`:p===`sq`?`square`:`butt`,e.lineJoin=m===`round`||m===`bevel`?m:`miter`,e.strokeRect(r+n/2,i+n/2,Math.max(0,a-n),Math.max(0,o-n)),e.restore()}}}function Zl(e,t){if(t.length===0)return[...e];let n=new Map;for(let e of t)n.set(e.idx,e);let r=[];for(let t=0;t<e.length;t++){let i=n.get(t);i?.deleted!==!0&&r.push({...e[t],textOverride:i??null})}return r}function Ql(e,t,n,r=!1,i=[],a=[],o=!0,s=[],c,l){let u=Mn(t,e.length,o);if(r||u){let d=e[0],f=d?d.values.length:0,p=d?.categories??i,m=l&&d?Math.max(0,Le(l,d)):0,h=l?ze(l,m):void 0,g=h?.kind===`bubble`?`bubble`:d?.seriesType??t,_=h?.scatterStyle??n,v=h?.radarStyle??c,y=new Map(d?.dataPointOverrides?.map(e=>[e.idx,e])??[]);return Zl(Array.from({length:f},(n,i)=>{let s=y.get(i),c=l&&d?Dl(l,d,m,i):i,f=Wl(g),h=l&&d?wt(l,f===`line`?`dataPointLine`:`dataPoint`,d,s,c):void 0,b=i<a.length?a[i]:l&&d?Tt(l,d,s,c,i):s?.fillHidden===!0?null:s?.color||d?.dataPointColors?.[i]?void 0:d?.fillPattern??void 0,x=(g===`bubble`&&l&&d?ql(l,d,s,i):null)??(l&&d?Jl(l,d,s,i,m,g,_,v):null),S=va(s?.chartexStyle),C=va(d?.chartexStyle),w=l&&d?Ke(l,f===`line`?`dataPointLine`:`dataPoint`,m):void 0,T=u&&d?El(i,d,o,0):Pl(t,e,i,r,o);return{label:(p[i]??`Item ${i+1}`).toString(),color:b?.fillType===`solid`?b.color.startsWith(`#`)?b.color:`#${b.color}`:T,marker:x,swatchStyle:f,fillPaint:b,outlinePaint:h?.paint?.fillType===`solid`?void 0:h?.paint,outlineColor:h?.paint?.fillType===`solid`?h.paint.color:s?.lineColor??d?.lineColor??null,outlineWidthEmu:h?.widthEmu??null,outlineDash:h?.dash??null,outlineCustomDash:h?.customDash,outlineCap:h?.cap??null,outlineJoin:h?.join??null,directEffect:S??C,fallbackEffect:w,directEffectIndex:S?i:d?Af(d,m):c,fallbackEffectIndex:c,textOverride:null}}),s)}return l&&e.some(e=>{let t=Le(l,e),n=ze(l,t);return t>=0&&n?.kind!==`pie`&&n?.kind!==`pie3D`&&n?.kind!==`doughnut`&&n?.kind!==`ofPie`&&Ge(l,t)})?Zl(e.flatMap(e=>{let r=Le(l,e),a=ze(l,r),s=a?.kind===`bubble`?`bubble`:e.seriesType??t;return r>=0&&a?.kind!==`pie`&&a?.kind!==`pie3D`&&a?.kind!==`doughnut`&&a?.kind!==`ofPie`&&Ge(l,r)?Ql([e],s,a?.scatterStyle??n,!0,e.categories??i,[],o,[],a?.radarStyle??c,l):Ql([e],s,a?.scatterStyle??n,!1,e.categories??i,[],o,[],a?.radarStyle??c,l)}),s):Zl(e.map((r,i)=>{let s=l?Le(l,r,i):i,u=(l?ze(l,s):void 0)?.kind===`bubble`?`bubble`:r.seriesType??t,d=r.lineHidden!==!0,f=d?r.lineColor??null:null,p=Kl(t,n,c,e,i,l),m=u===`stock`&&!d&&!p?`none`:Wl(u),h=Af(r,s>=0?s:i),g=i<a.length?a[i]:l?Tt(l,r,void 0,h):Q(r.chartexStyle,r.chartexFormatIdx??i)??r.fillPattern??void 0,_=l?wt(l,m===`line`?`dataPointLine`:`dataPoint`,r,void 0,h):void 0,v=l?Ke(l,m===`line`?`dataPointLine`:`dataPoint`,s):void 0;return{label:r.name||`Series ${i+1}`,color:m===`line`&&_?.paint?.fillType===`solid`?_.paint.color.startsWith(`#`)?_.paint.color:`#${_.paint.color}`:m===`line`&&f?`#${f}`:g?.fillType===`solid`?g.color.startsWith(`#`)?g.color:`#${g.color}`:Pl(t,e,i,!1,o),marker:p,swatchStyle:m,fillPaint:g,outlinePaint:_?.paint?.fillType===`solid`?void 0:_?.paint,outlineColor:_?.paint?.fillType===`solid`?_.paint.color:f,outlineWidthEmu:_?.widthEmu??(d?r.lineWidthEmu??null:null),outlineDash:_?.dash??(d?r.chartexStyle?.lineDash??null:null),outlineCustomDash:_?.customDash,outlineCap:_?.cap??(d?r.chartexStyle?.lineCap??null:null),outlineJoin:_?.join??(d?r.chartexStyle?.lineJoin??null:null),directEffect:va(r.chartexStyle),fallbackEffect:v,directEffectIndex:h,fallbackEffectIndex:h,textOverride:null}}),s)}function $l(e,t,n=0){let r=Nn(e)||Mn(e.chartType,e.series.length,e.varyColors!==!1),i=Ql(e.series,e.chartType,e.scatterStyle,Nn(e),e.categories,[],e.varyColors!==!1,[],e.radarStyle,e),a=Fn(e);return(o,s)=>{let c=r||Ge(e,o),l=r?s:In(a,o,c?s:0),u=l==null?void 0:i[l];return u?{entry:u,ptToPx:t,shapeRotationDeg:n}:void 0}}function eu(e,t,n,r){if(!n)return t;let i=jl(e,n.fontFace)??n.fontFace;return{fontFamily:i?`"${i}", Calibri, Arial, sans-serif`:t.fontFamily,color:n.fontColor?`#${n.fontColor}`:t.color,bold:n.fontBold??t.bold,italic:n.fontItalic??t.italic,sizePx:Bt(n.fontSizeHpt,r)??t.sizePx}}function tu(e,t,n){let r=nu(t,n);return e.font=`${t.italic?`italic `:``}${t.bold?`bold `:``}${r}px ${t.fontFamily}`,r}function nu(e,t){return e.sizePx??10*t}function ru(e,t,n){return e.map(e=>{if(e.swatchStyle===`fill`)return mp*n;let r=t*1.6;if(e.swatchStyle!==`line`||!e.outlineDash)return r;let i=e.outlineWidthEmu==null?Math.max(1.5,t*.15):Xo(e.outlineWidthEmu,n),a=Tf(e.outlineDash,i),o=a.length>0?a.reduce((e,t)=>e+t,0)+a[0]:0;return Math.max(r,o)})}function iu(e,t,n){return e.swatchStyle===`fill`?mp*n:t}function au(e,t,n){if(!(n>0))return[];let r=Vu(e,t,n);return r.length<=2?r:[r[0],Bc(e,r.slice(1).join(` `),n)]}function ou(e,t,n,r,i,a){if(!t.showLegend)return null;let o=cu(t,a),s=Ql(zu(t),t.chartType,t.scatterStyle,Nn(t),t.categories,[],t.varyColors!==!1,t.legendEntries??[],t.radarStyle,t),c=s.map(e=>eu(t,o,e.textOverride,a)),l=c.map(e=>nu(e,a)),u=s.map((e,t)=>ru([e],l[t],a)[0]);e.save();let d=s.map((t,n)=>(tu(e,c[n],a),u[n]+op+e.measureText(t.label).width));e.restore();let f=t.legendPos??`r`,p=f===`t`||f===`b`,m=Ut(t,n,r,i,{itemWidths:d,rowHeight:Math.max(0,...l)+cp,itemGap:sp,horizontalPadding:p?up:fp,verticalPadding:dp});return m?{...m,measuredLabels:s.map(e=>e.label),entryStyles:c,fontSizes:l,swatches:u,itemWidths:d}:null}function su(e,t,n,r,i,a,o=`vertical`,s,c=ap,l,u=!1,d=[],f=1,p=[],m=0,h=!0,g,_){let v=op,y=Ql(t,s,l,u,d,p,h,g?.legendEntries??[],g?.radarStyle,g),b=_!=null&&_.measuredLabels.length===y.length&&_.measuredLabels.every((e,t)=>e===y[t].label),x=b?_.entryStyles:y.map(e=>g?eu(g,c,e.textOverride,f):c),S=b?_.fontSizes:x.map(e=>nu(e,f));x[0]&&tu(e,x[0],f),e.textBaseline=`middle`;let C=Math.max(0,...S)+cp,w=b?_.swatches:y.map((e,t)=>ru([e],S[t],f)[0]),T=b?_.itemWidths:y.map((t,n)=>(tu(e,x[n],f),w[n]+v+e.measureText(t.label).width));if(o===`horizontal`){let t=zt(T,i,sp).slice(0,Math.max(0,Math.floor((a-dp)/C))),o=r+dp/2;for(let r=0;r<t.length;r++){let a=t[r],s=a.map(e=>Math.min(i,T[e])),c=s.reduce((e,t)=>e+t,0)+sp*Math.max(0,a.length-1),l=n+Math.max(0,(i-c)/2),u=o+r*C+C/2;for(let t=0;t<a.length;t++){let n=a[t],r=w[n],i=s[t];if(i<r){l+=i+sp;continue}let o=Math.max(0,i-r-v+pp);tu(e,x[n],f);let c=Bc(e,y[n].label,o),d=iu(y[n],S[n],f);Yl(e,y[n].swatchStyle,y[n].color,l,u-d/2,r,d,y[n].marker,y[n].fillPaint,y[n].outlinePaint,y[n].outlineColor,y[n].outlineWidthEmu,y[n].outlineDash,y[n].outlineCustomDash,y[n].outlineCap,y[n].outlineJoin,f,m,y[n].directEffect,y[n].fallbackEffect,y[n].directEffectIndex,y[n].fallbackEffectIndex),e.fillStyle=x[n].color,e.textAlign=`left`,e.fillText(c,l+r+v,u),l+=i+sp}}return}let E=i-Math.max(...w,0)-v,D=!u&&!Mn(s,t.length,h),O=y.map((t,n)=>(tu(e,x[n],f),D?au(e,t.label,E):[Bc(e,t.label,E)])),k=O.map((e,t)=>e.length*S[t]+cp),A=0,j=0;for(;A<y.length&&j+k[A]<=a;)j+=k[A],A++;let M=A===y.length?r+(a-j)/2:r;for(let t=0;t<A;t++){let r=w[t],a=k[t];if(i<r){M+=a;continue}let o=iu(y[t],S[t],f);Yl(e,y[t].swatchStyle,y[t].color,n,M+(a-o)/2,r,o,y[t].marker,y[t].fillPaint,y[t].outlinePaint,y[t].outlineColor,y[t].outlineWidthEmu,y[t].outlineDash,y[t].outlineCustomDash,y[t].outlineCap,y[t].outlineJoin,f,m,y[t].directEffect,y[t].fallbackEffect,y[t].directEffectIndex,y[t].fallbackEffectIndex),tu(e,x[t],f),e.fillStyle=x[t].color,e.textAlign=`left`,O[t].forEach((i,a)=>e.fillText(i,n+r+v,M+S[t]*(a+.5))),M+=a}}function cu(e,t){let n=jl(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,italic:e.legendFontItalic??!1,sizePx:Bt(e.legendFontSizeHpt,t)}}function lu(e,t,n,r,i,a,o,s,c,l,u,d,f,p=[],m=0){if(!n)return;let h=cu(t,f),g=zu(t),_=Nn(t),v=Math.min(fp/2,Math.max(0,n.reserveW)/2),y=Math.max(0,n.reserveW-v*2),b=n.side===`r`?{x:r+a-n.reserveW+v,y:c,w:y,h:u}:n.side===`l`?{x:r+v,y:c,w:y,h:u}:n.side===`t`?{x:r+lp,y:i+d,w:Math.max(0,a-up),h:n.reserveH}:{x:r+lp,y:i+o-n.reserveH,w:Math.max(0,a-up),h:n.reserveH},x=n.side===`t`||n.side===`b`?`horizontal`:`vertical`,S=t.legendManualLayout,C=S?tn(S,{x:r,y:i,w:a,h:o},b):null;if(C){let r=C.w>=C.h?`horizontal`:`vertical`;os(e,t,C,f,m),su(e,g,C.x,C.y,C.w,C.h,r,t.chartType,h,t.scatterStyle,_,t.categories,f,p,m,t.varyColors!==!1,t,n);return}os(e,t,b,f,m),su(e,g,b.x,b.y,b.w,b.h,x,t.chartType,h,t.scatterStyle,_,t.categories,f,p,m,t.varyColors!==!1,t,n)}function uu(e,t,n,r,i,a,o,s){if(!t||t.side!==`t`||e.legendOverlay===!0||e.legendManualLayout==null)return s;let c={x:n+lp,y:r+o+2,w:Math.max(0,i-up),h:t.reserveH},l=tn(e.legendManualLayout,{x:n,y:r,w:i,h:a},c);if(!l)return s;let u=Math.max(0,r+s-(c.y+c.h));return Math.max(s,l.y+l.h-r+u)}function du(e,t,n,r,i,a,o,s=!1,c=!1,l=`major`,u=1,d){if(c||t===`none`||!t)return;let f=pu(l,o,u),p=t===`cross`?f/2:f,m=e.strokeStyle,h=e.lineWidth,g=e.getLineDash?.()??[];if(e.strokeStyle=a??`#888`,e.lineWidth=o??1,e.setLineDash(Tf(d??void 0,e.lineWidth)),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=s?-1:1,c=t===`out`||t===`cross`?o*p:0,l=t===`in`||t===`cross`?-o*p:0;e.moveTo(a,n+c),e.lineTo(a,n+l)}e.stroke(),e.strokeStyle=m,e.lineWidth=h,e.setLineDash(g)}function fu(e,t,n,r,i,a,o,s){let c=e.getLineDash?.()??[],l=Tf(s??void 0,o),u=l.length!==c.length||l.some((e,t)=>e!==c[t]);e.strokeStyle=a,e.lineWidth=o,u&&e.setLineDash(l),e.beginPath(),e.moveTo(t,n),e.lineTo(r,i),e.stroke(),u&&e.setLineDash(c)}function pu(e,t,n){let r=(e===`minor`?4:6)*n;return t?Math.max(r,t+2*n):r}function mu(e,t,n,r){if(e!==`out`&&e!==`cross`)return 0;let i=pu(t,n,r);return e===`cross`?i/2:i}function hu(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 gu(e,t){let{color:n,width:r}=Qo(e.valAxisGridlineColor,e.valAxisGridlineWidthEmu,t);return{color:n,width:r,explicit:e.valAxisGridlineColor!=null||e.valAxisGridlineWidthEmu!=null||e.valAxisGridlineDash!=null,dash:Tf(e.valAxisGridlineDash??void 0,r)}}function _u(e,t){let{color:n,width:r}=Qo(e.valAxisMinorGridlineColor,e.valAxisMinorGridlineWidthEmu,t);return{color:n,width:r,explicit:e.valAxisMinorGridlineColor!=null,dash:Tf(e.valAxisMinorGridlineDash??void 0,r)}}function vu(e,t){let{color:n,width:r}=Qo(e.minorGridlineColor,e.minorGridlineWidthEmu,t);return{color:n,width:r,explicit:e.minorGridlineColor!=null||e.minorGridlineWidthEmu!=null||e.minorGridlineDash!=null,dash:Tf(e.minorGridlineDash??void 0,r)}}function yu(e,t){let{color:n,width:r}=Qo(e.majorGridlineColor,e.majorGridlineWidthEmu,t);return{color:n,width:r,explicit:e.majorGridlineColor!=null||e.majorGridlineWidthEmu!=null||e.majorGridlineDash!=null,dash:Tf(e.majorGridlineDash??void 0,r)}}function bu(e){return e.catAxisMajorGridlines===!0}function xu(e,t){let n=Qo(e.catAxisGridlineColor,e.catAxisGridlineWidthEmu,t);return{...n,dash:Tf(e.catAxisGridlineDash??void 0,n.width)}}function Su(e,t){let n=Qo(e.catAxisMinorGridlineColor,e.catAxisMinorGridlineWidthEmu,t);return{...n,dash:Tf(e.catAxisMinorGridlineDash??void 0,n.width)}}function Cu(e,t){if(t<=0)return[];let n=$o(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 wu(e){return e.valAxisOrientation===`maxMin`}function Tu(e){return e.catAxisOrientation===`maxMin`}function Eu(e){return e.valAxisMajorGridlines!==!1}function Du(e,t){return e==null||!t?e:e*100}function Ou(e,t,n){return Za((n?t/100:t)/ku(e.valAxisDisplayUnits),n?e.valAxisFormatCode??`0%`:e.valAxisFormatCode,e.date1904)}function ku(e){let t=e?.divisor;return t!=null&&Number.isFinite(t)&&t>0?t:1}function Au(e,t,n,r){return Za(e/ku(r),t,n)}function ju(e){return e.builtInUnit?{hundreds:`Hundreds`,thousands:`Thousands`,tenThousands:`Ten Thousands`,hundredThousands:`Hundred Thousands`,millions:`Millions`,tenMillions:`Ten Millions`,hundredMillions:`Hundred Millions`,billions:`Billions`,trillions:`Trillions`}[e.builtInUnit]??e.builtInUnit:Xa(e.divisor)}function Mu(e,t,n,r){let i=[{units:t.valAxisDisplayUnits,vertical:!0,fallbackX:n.x+n.w*.08,fallbackY:n.y+n.h*.12,axis:{size:t.valAxisFontSizeHpt,bold:t.valAxisFontBold,italic:t.valAxisFontItalic,color:t.valAxisFontColor,paintAuthored:t.valAxisFontPaintAuthored,face:t.valAxisFontFace}},{units:t.catAxisDisplayUnits,vertical:!1,fallbackX:n.x+n.w*.82,fallbackY:n.y+n.h*.82,axis:{size:t.catAxisFontSizeHpt,bold:t.catAxisFontBold,italic:t.catAxisFontItalic,color:t.catAxisFontColor,paintAuthored:t.catAxisFontPaintAuthored,face:t.catAxisFontFace}},{units:t.secondaryValAxis?.displayUnits,vertical:!0,fallbackX:n.x+n.w*.92,fallbackY:n.y+n.h*.12,axis:{size:t.secondaryValAxis?.fontSizeHpt,bold:t.secondaryValAxis?.fontBold,italic:t.secondaryValAxis?.fontItalic,color:t.secondaryValAxis?.fontColor,paintAuthored:t.secondaryValAxis?.fontPaintAuthored,face:t.secondaryValAxis?.fontFace}},{units:t.secondaryCatAxis?.displayUnits,vertical:!1,fallbackX:n.x+n.w*.82,fallbackY:n.y+n.h*.08,axis:{size:t.secondaryCatAxis?.fontSizeHpt,bold:t.secondaryCatAxis?.fontBold,italic:t.secondaryCatAxis?.fontItalic,color:t.secondaryCatAxis?.fontColor,paintAuthored:t.secondaryCatAxis?.fontPaintAuthored,face:t.secondaryCatAxis?.fontFace}}];for(let{units:a,vertical:o,fallbackX:s,fallbackY:c,axis:l}of i){let i=a?.label;if(!a||!i)continue;let u=i.text??ju(a),d=t.chartTextStyle,f=Bt(i.fontSizeHpt??l.size??d?.fontSizeHpt,r)??10*r,p=i.fontBold??l.bold??d?.fontBold??!1,m=i.fontItalic??l.italic??d?.fontItalic??!1,h=i.fontPaintAuthored===!0?{color:i.fontColor,hidden:i.fontHidden===!0||i.fontColor==null}:l.paintAuthored===!0?{color:l.color,hidden:l.color==null}:d?.fontPaintAuthored===!0?{color:d.fontColor,hidden:d.fontColor==null}:{color:i.fontColor??l.color??d?.fontColor,hidden:!1};if(h.hidden)continue;let g=h.color,_=i.fontFace??l.face??d?.fontFace;e.save(),e.font=Nl(f,Ml(t,_,`minor`),p,m);let v=i.rotation==null?o?-Math.PI/2:0:i.rotation/6e4*Math.PI/180,y=e.measureText(u).width,b=Math.abs(Math.cos(v))*y+Math.abs(Math.sin(v))*f,x=Math.abs(Math.sin(v))*y+Math.abs(Math.cos(v))*f,S={x:s-b/2,y:c-x/2,w:b,h:x},C=i.manualLayout?tn({...i.manualLayout,w:void 0,h:void 0},n,S):S;if(!C){e.restore();continue}let w=C.x+C.w/2,T=C.y+C.h/2;go(e,Dd(t,i.boxStyle,t.chartStyleRoles?.axisTitle,Z(t,`axisTitle`),!0),C,r),e.translate(w,T),v!==0&&e.rotate(v),e.fillStyle=g?`#${g}`:`#595959`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(u,0,0),e.restore()}}function Nu(e,t,n,r,i=!1,a=`vertical`){let o=wu(e),s=e.valAxisLogBase,c=Du(e.valMin,i)??(i?t:e.valMin),l=Du(e.valMax,i)??(i?n:e.valMax),u=Du(e.valAxisMajorUnit,i),d=i&&!(s!=null&&isFinite(s)&&s>=2)&&!(u!=null&&isFinite(u)&&u>0)?wc(t,n,a,r):u,f=e.valAxisMinorTickMark!=null&&e.valAxisMinorTickMark!==`none`,p=Ic({dataMin:t,dataMax:n,explicitMin:c,explicitMax:l,axisLenPt:r,axisOrientation:a,majorUnit:d,minorUnit:Du(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 Pu(e,t){return t&&t.trim().toLowerCase()!==`general`?Za(e,t):Xa(Number(e.toPrecision(6)))}function Fu(e,t,n){if(e.labelText)return e.labelText.split(/\r?\n/);if(!t)return[];let r=e.labelFormatSourceLinked===!0?n:e.labelFormatCode,i=[];if(e.dispEq){let e=t.intercept<0?`−`:`+`;i.push(`y = ${Pu(t.slope,r)}x ${e} ${Pu(Math.abs(t.intercept),r)}`)}return e.dispRSqr&&i.push(`R² = ${Pu(t.rSquared,r)}`),i}function Iu(e,t,n,r,i,a){if(!i)return;let o=Fu(t,n,a);if(o.length===0)return;let{chart:s,chartRect:c,plotRect:l}=i,u=Bt(t.labelFontSizeHpt,r)??Bt(s.dataLabelFontSizeHpt,r)??10*r,d=Ml(s,t.labelFontFace??s.dataLabelFontFace,`minor`),f=t.labelFontBold??s.dataLabelFontBold??!1,p=t.labelFontItalic??!1;e.font=Nl(u,d,f,p);let m=u*1.2,h=t.labelFontColor??s.dataLabelFontColor,g=t.labelRichRuns?.length?Xc(e,{runs:t.labelRichRuns,ptToPx:r,fontFamily:d,fallbackBold:f,fallbackItalic:p,fallbackBaseline:t.labelFontBaseline??void 0,fallbackColorHidden:t.labelFontPaintAuthored===!0&&(t.labelFontHidden===!0||t.labelFontColor==null),fontFamilyForFace:e=>Ml(s,e,`minor`)},u,h?`#${h}`:`#595959`):null,_=g?.width??Math.max(...o.map(t=>e.measureText(t).width)),v={fontColor:t.labelFontColor??void 0,fontItalic:p,fontPaintAuthored:t.labelFontPaintAuthored??void 0,fontHidden:t.labelFontHidden??void 0,fontLanguage:t.labelFontLanguage??void 0,fontBaseline:t.labelFontBaseline??void 0,textRotation:t.labelTextRotation??void 0,textWrap:t.labelTextWrap??void 0,textVerticalAnchor:t.labelTextVerticalAnchor??void 0,textVerticalMode:t.labelTextVerticalMode??void 0,textLInsEmu:t.labelTextLInsEmu??void 0,textTInsEmu:t.labelTextTInsEmu??void 0,textRInsEmu:t.labelTextRInsEmu??void 0,textBInsEmu:t.labelTextBInsEmu??void 0,textBodyAuthored:t.labelTextBodyAuthored??void 0},y=Tn(v,r),b=_+y.left+y.right,x=(g?.height??o.length*m)+y.top+y.bottom,S=Dn(b,x,t.labelTextRotation??void 0,t.labelTextVerticalMode??void 0),C=nl(c,l,S.w,S.h,u,t.labelManualLayout,i.automaticAnchor);if(!C)return;e.save(),C.automatic&&(e.beginPath(),e.rect(l.x,l.y,l.w,l.h),e.clip());let w=C.x+C.w/2,T=C.y+C.h/2,E=t.labelTextBodyAuthored===!0||t.labelTextRotation!=null||t.labelTextWrap!=null||t.labelTextVerticalAnchor!=null||t.labelTextVerticalMode!=null||t.labelTextLInsEmu!=null||t.labelTextTInsEmu!=null||t.labelTextRInsEmu!=null||t.labelTextBInsEmu!=null,D=C.automatic?{x:w-b/2,y:T-x/2,w:b,h:x}:{x:C.x,y:C.y,w:C.w,h:C.h},O=t.labelBox;go(e,O,D,r,i.shapeRotationDeg??0);let k=t.labelTextAlign;e.textAlign=k===`r`?`right`:k===`ctr`?`center`:`left`,e.textBaseline=`top`,e.fillStyle=h?`#${h}`:`#595959`;let A=Math.max(0,D.w-y.left-y.right),j=Math.max(0,D.h-y.top-y.bottom),M=C.automatic&&S.radians===0&&C.w===S.w&&C.h===S.h&&(t.labelTextWrap==null||t.labelTextWrap===`none`),N=g?[]:E&&!M?kn(o.join(`
|
|
6
|
+
`),A,j,m,t=>e.measureText(t).width,v):o;if(!g&&N.length===0){e.restore();return}let P=E?e.textAlign===`right`?D.x+D.w-y.right:e.textAlign===`center`?D.x+(D.w+y.left-y.right)/2:D.x+y.left:e.textAlign===`right`?C.x+C.w:e.textAlign===`center`?C.x+C.w/2:C.x,F=(t.labelFontBaseline??0)*u,I=E?t.labelTextVerticalAnchor===`b`?D.y+D.h-y.bottom-(g?.height??N.length*m):t.labelTextVerticalAnchor===`ctr`?D.y+(D.h-(g?.height??N.length*m)+y.top-y.bottom)/2:D.y+y.top:C.y,L=C.automatic?N.length:Math.min(N.length,Math.floor(j/m));if(S.radians!==0&&(e.translate(w,T),e.rotate(S.radians),e.translate(-w,-T)),g)Zc(e,g,P,I,e.textAlign,`top`,Math.max(g.width,A));else if(!(t.labelFontPaintAuthored===!0&&(t.labelFontHidden===!0||t.labelFontColor==null)))for(let t=0;t<L;t++)e.fillText(E&&v.textWrap===`none`?N[t]:Bc(e,N[t],Math.max(0,A||_)),P,I+t*m-F);e.restore()}function Lu(e,t,n,r,i,a,o,s,c){let l=t.trendLines;if(!l||l.length===0)return;let u=[],d=[];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)&&(u.push(r),d.push(n))}if(u.length<2)return;let f=e.getLineDash?e.getLineDash():[];for(let o of l){let l=Rc(u,d,o.trendlineType,{period:o.period,order:o.order,intercept:o.intercept,forward:o.forward,backward:o.backward});if(l.xs.length<2||![...l.xs,...l.ys].every(Number.isFinite))continue;let f=o.trendlineType===`linear`?Lc(u,d,o.intercept):null,p=f&&[f.slope,f.intercept,f.rSquared].every(Number.isFinite)?f:null,m=l.xs,h=l.ys;if(o.trendlineType===`linear`){let e=(l.ys[1]-l.ys[0])/(l.xs[1]-l.xs[0]||1),t=o.backward??0,n=o.forward??0;m=[l.xs[0]-t,l.xs[1]+n],h=[l.ys[0]-e*t,l.ys[1]+e*n]}if(![...m,...h].every(Number.isFinite))continue;let g=m.map((e,t)=>c?c(e,h[t]):{x:r(e),y:i(h[t])});if(g.every(e=>Number.isFinite(e.x)&&Number.isFinite(e.y))){if(!o.lineHidden&&(o.linePaintAuthored!==!0||o.lineColor!=null)){s?.clipLineToPlot&&(e.save(),e.beginPath(),e.rect(s.plotRect.x,s.plotRect.y,s.plotRect.w,s.plotRect.h),e.clip()),e.strokeStyle=o.lineColor?`#${o.lineColor}`:n,e.lineWidth=o.lineWidthEmu?Xo(o.lineWidthEmu,a):1.5,e.setLineDash(Tf(o.lineDash??void 0,e.lineWidth)),e.beginPath();for(let t=0;t<g.length;t++){let{x:n,y:r}=g[t];t===0?e.moveTo(n,r):e.lineTo(n,r)}e.stroke(),s?.clipLineToPlot&&e.restore()}Iu(e,o,p,a,s?{...s,automaticAnchor:g.at(-1)}:void 0,t.valFormatCode)}}e.setLineDash(f)}function Ru(e){let t=e=>{switch(e){case`exp`:return`Exponential`;case`log`:return`Logarithmic`;case`poly`:return`Polynomial`;case`power`:return`Power`;case`movingAvg`:return`Moving Average`;default:return`Linear`}},n=[];for(let r of e)for(let e of r.trendLines??[]){if(e.lineHidden===!0||e.linePaintAuthored===!0&&e.lineColor==null)continue;let i=r.lineColor??r.color;n.push({name:e.name??`${t(e.trendlineType)} (${r.name||`Series`})`,color:e.lineColor??i,lineColor:e.lineColor??i,lineWidthEmu:e.lineWidthEmu,lineHidden:!1,chartexStyle:{lineDash:e.lineDash},values:[],seriesType:`line`,showMarker:!1})}return n}function zu(e){return Mn(e.chartType,e.series.length,e.varyColors!==!1)||Nn(e)?e.series:e.series.flatMap(e=>[e,...Ru([e])])}function Bu(e,t,n){return Bt(e,n)??Math.max(8,t*.045)}function Vu(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 Hu(e,t){return/^[+-]?(?:\d+(?:[.,]\d*)?|[.,]\d+)%?$/.test(e)?t*.15:0}function Uu(e){return e.catAxisTickLabelPos!==`none`}function Wu(e){let t=e.catAxisLabelRotation;return t==null||t===0||Math.abs(t)>hp?0:t/6e4*(Math.PI/180)}function Gu(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 Ku(e,t,n=Tu(e)){return e.catAxisIsDate===!0?qc({categories:t,date1904:e.date1904,baseTimeUnit:e.catAxisBaseTimeUnit,majorTimeUnit:e.catAxisMajorTimeUnit,majorUnit:e.catAxisMajorUnit,minorTimeUnit:e.catAxisMinorTimeUnit,minorUnit:e.catAxisMinorUnit,explicitMin:e.catAxisMin,explicitMax:e.catAxisMax,crossBetween:$o(e),reversed:n}):null}function qu(e,t,n,r){for(let i of e.errBars??[]){if(i.dir!==t)continue;let a=i.barType===`plus`||i.barType===`both`,o=i.barType===`minus`||i.barType===`both`,s=Math.max(e.values.length,i.plus.length,i.minus.length);for(let e=0;e<s;e++){let t=n(e);if(t==null||!Number.isFinite(t))continue;let s=i.plus[e],c=i.minus[e];a&&s!=null&&Number.isFinite(s)&&r(t+s),o&&c!=null&&Number.isFinite(c)&&r(t-c)}}}function Ju(e,t,n,r=`y`,i=!1,a=!1,o=e=>e.useSecondaryAxis===!0,s=()=>null){if(!e)return null;let c=1/0,l=-1/0,u=e=>{Number.isFinite(e)&&(c=Math.min(c,e),l=Math.max(l,e))};a&&u(0);for(let e=0;e<t.length;e++){let n=t[e];if(o(n,e)){for(let t=0;t<n.values.length;t++){let r=s(n,t,e)??n.values[t];r!=null&&u(r)}qu(n,r,t=>s(n,t,e)??n.values[t]??null,u)}}(!Number.isFinite(c)||!Number.isFinite(l))&&(c=0,l=1);let d=Ic({dataMin:c,dataMax:l,explicitMin:Du(e.min,i),explicitMax:Du(e.max,i),axisLenPt:n,axisOrientation:`vertical`,majorUnit:Du(e.majorUnit,i),minorUnit:Du(e.minorUnit,i),needMinor:e.minorGridlines===!0||e.minorTickMark!=null&&e.minorTickMark!==`none`,logBase:e.logBase,reversed:e.orientation===`maxMin`}),{min:f,max:p,majorUnit:m}=d;return{min:f,max:p,step:m,majorLines:d.majorTicks,minorTicks:d.minorTicks,makeToY:(e,t)=>n=>e+t-d.fraction(n)*t}}function Yu(e,t,n,r,i,a,o){if(!t.hidden){if(e.save(),t.minorGridlines){let s=vu(t,o);for(let t of n.minorTicks)hu(e,i,a,r(t),!1,s)}if(t.majorGridlines){let s=yu(t,o);for(let t of n.majorLines)hu(e,i,a,r(t),!1,s)}e.restore()}}function Xu(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h=!1){let g=o+c,{color:_,width:v}=Zo(n.lineColor,n.lineWidthEmu,u);if(n.lineHidden||fu(e,g,s,g,s+l,_,v,n.lineDash),!n.hidden){e.font=`${n.fontItalic?`italic `:``}${n.fontBold?`bold `:``}${d}px ${Ml(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);du(e,n.majorTickMark,`val`,g,r,_,v,!0,n.lineHidden,`major`,u,n.lineDash),n.tickLabelPos!==`none`&&e.fillText(Au(h?t/100:t,n.formatCode??null,m,n.displayUnits),g+14,r)}if(n.minorTickMark&&n.minorTickMark!==`none`)for(let t of r.minorTicks)du(e,n.minorTickMark,`val`,g,i(t),_,v,!0,n.lineHidden,`minor`,u,n.lineDash)}n.title&&Zu(e,t,n,a,o,s,c,l,f,u)}function Zu(e,t,n,r,i,a,o,s,c,l){if(!n.title)return;let u=Gt(n.titleFontSizeHpt,l),d=n.titleFontColor?`#${n.titleFontColor}`:n.fontColor?`#${n.fontColor}`:`#555`;Fl(e,n.title,i+o+c+u*.6,a+s/2,`right`,u,n.titleFontBold??!0,n.titleFontItalic??!1,d,s,Ml(t,n.titleFontFace,`major`),n.titleRotation,n.titleVerticalMode,n.titleManualLayout,r,Dd(t,n.titleStyle?{style:n.titleStyle}:void 0,t.chartStyleRoles?.axisTitle,Z(t,`axisTitle`),!0),l)}function Qu(e,t,n,r,i,a,o,s,c){if(n.hidden||r.length===0)return;let{color:l,width:u}=Zo(n.lineColor,n.lineWidthEmu,c);n.lineHidden||fu(e,a,o,a+s,o,l,u,n.lineDash);let d=n.orientation===`maxMin`,f=Math.max(1,Math.floor(n.tickLabelSkip??1)),p=Math.max(1,Math.floor(n.tickMarkSkip??1)),m=r.length,h=e=>It(e,m,$o(t),d,n.labelAlignment);if(!n.lineHidden&&n.majorTickMark!==`none`){let r=$o(t),i=r?m:m-1;for(let t=0;t<=i;t+=p){let f=d?i-t:t,p=r?f/m:m===1?.5:f/(m-1);du(e,n.majorTickMark,`cat`,o,a+p*s,l,u,!0,n.lineHidden,`major`,c,n.lineDash)}}let g=Bt(n.fontSizeHpt,c)??9*c;if(n.tickLabelPos!==`none`){e.font=Nl(g,Ml(t,n.fontFace,`minor`),n.fontBold??!1,n.fontItalic??!1),e.fillStyle=n.fontColor?`#${n.fontColor}`:`#555`,e.textBaseline=`bottom`;let i=Math.max(1,s/m-4),c=Mt(Qt(g),n.labelOffsetPercent);for(let l=0;l<m;l+=f){let u=h(l);e.textAlign=u.textAlign,e.fillText(Bc(e,Qa(r[l],n.formatCode,t.date1904),i),a+u.fraction*s,o-c)}}if(n.title){let r=Gt(n.titleFontSizeHpt,c);Fl(e,n.title,a+s/2,o-(n.tickLabelPos===`none`?0:g+Mt(Qt(g),n.labelOffsetPercent))-r/2-4,`horizontal`,r,n.titleFontBold??!0,n.titleFontItalic??!1,n.titleFontColor?`#${n.titleFontColor}`:`#555`,s,Ml(t,n.titleFontFace,`major`),n.titleRotation,n.titleVerticalMode,n.titleManualLayout,i,Dd(t,n.titleStyle?{style:n.titleStyle}:void 0,t.chartStyleRoles?.axisTitle,Z(t,`axisTitle`),!0),c)}}function $u(e,t,n){let r=n/(e.titleFontSizeHpt!=null&&e.titleFontSizeHpt>=100&&e.titleFontSizeHpt<=4e5?e.titleFontSizeHpt/100:14),i=Bt(t.fontSizeHpt,r)??n,a=jl(e,t.fontFace??e.titleFontFace);return{font:Nl(i,a?`"${a}", Calibri, Arial, sans-serif`:`Calibri, Arial, sans-serif`,t.bold??e.titleFontBold??!1,t.italic??e.titleFontItalic??!1),fontSize:i,color:t.colorPaintAuthored===!0?t.colorHidden===!0||!t.color?`transparent`:`#${t.color}`:t.color?`#${t.color}`:e.titleFontPaintAuthored===!0?e.titleFontColor?`#${e.titleFontColor}`:`transparent`:e.titleFontColor?`#${e.titleFontColor}`:`#333`}}function ed(e,t,n,r){let i=t.titleRichRuns?.length?t.titleRichRuns:t.title?[{text:t.title}]:[],a=[{pieces:[],width:0,height:r}],o=()=>{let e={pieces:[],width:0,height:r};return a.push(e),e},s=a[0];for(let a of i){let i=$u(t,a,r);for(let t of a.text.split(/(\n|[\t ]+)/).filter(e=>e.length>0)){if(t===`
|
|
7
|
+
`){s=o();continue}e.font=i.font;let r=e.measureText(t).width,a=/^[\t ]+$/.test(t);!a&&s.pieces.length>0&&s.width+r>n&&(s=o()),!(a&&s.pieces.length===0)&&(s.pieces.push({text:t,width:r,font:i.font,color:i.color}),s.width+=r,s.height=Math.max(s.height,i.fontSize))}}return a}function td(e,t,n,r,i){let a=Xt(t,r,i);if(a.bandH===0||!t.titleRichRuns?.length)return a;let o=e.font,s=ed(e,t,Math.max(1,n),a.fontPx);e.font=o;let c=s.reduce((e,t)=>e+t.height,0);return{...a,bandH:a.topPad+c+a.bottomPad}}function nd(e,t,n,r,i,a){if(!t.title)return;let o=Dd(t,t.titleStyle?{style:t.titleStyle}:void 0,t.chartStyleRoles?.title,Z(t,`title`),!0),s=a/Math.max(1,(t.titleFontSizeHpt??1400)/100);if(!t.titleRichRuns?.length){let c=jl(t,t.titleFontFace);e.font=Nl(a,c?`"${c}", Calibri, Arial, sans-serif`:`Calibri, Arial, sans-serif`,t.titleFontBold??!0,t.titleFontItalic??!1),e.fillStyle=t.titleFontColor?`#${t.titleFontColor}`:`#333`,e.textAlign=`center`,e.textBaseline=`top`;let l=Math.min(i,e.measureText(t.title).width);go(e,o,{x:n+(i-l)/2,y:r,w:l,h:a*1.2},s),e.fillText(t.title,n+i/2,r);return}e.save();let c=ed(e,t,Math.max(1,i),a),l=Math.min(i,Math.max(...c.map(e=>e.width),0)),u=c.reduce((e,t)=>e+t.height,0);go(e,o,{x:n+(i-l)/2,y:r,w:l,h:u},s),e.textAlign=`left`,e.textBaseline=`top`;let d=r;for(let t of c){let r=n+(i-t.width)/2;for(let n of t.pieces)e.font=n.font,e.fillStyle=n.color,e.fillText(n.text,r,d),r+=n.width;d+=t.height}e.restore()}function rd(e,t,n,r,i,a,o,s){if(!t.title)return;let c=t.titleManualLayout;if(c){let l=jl(t,t.titleFontFace);e.font=Nl(s,l?`"${l}", Calibri, Arial, sans-serif`:`Calibri, Arial, sans-serif`,t.titleFontBold??!0,t.titleFontItalic??!1);let u=ed(e,t,Math.max(1,i),s),d=Math.min(i,Math.max(...u.map(e=>e.width),0)),f={x:n+(i-d)/2,y:o,w:d,h:s},p=tn({...c,w:void 0,h:void 0},{x:n,y:r,w:i,h:a},f);if(p){nd(e,t,p.x,p.y,p.w,s);return}}nd(e,t,n,o,i,s)}function id(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 ad(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 od(e,t,n){return e.showDataLabelsOverMax===!0||!Number.isFinite(n)||t<=n}function sd(e,t,n,r,i,a,o,s,c,l,u,d,f,p=!1,m,h,g,_=1,v,y=0){xf(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,h,g,_,v,y)}function cd(e){return 7*e}function ld(e,t,n,r,i={},a=0){let{x:o,y:s,w:c,h:l}=n,u=t.chartType===`clusteredBarH`||t.chartType===`stackedBarH`||t.chartType===`stackedBarHPct`,d=t.chartType.startsWith(`stacked`),f=t.chartType===`stackedBarPct`||t.chartType===`stackedBarHPct`,p=t.series.filter(e=>e.seriesType!==`line`&&e.seriesType!==`scatter`&&e.seriesType!==`area`),m=e=>e.barGroupDirection==null?u:e.barGroupDirection===`bar`,h=p,g=e=>e.useSecondaryAxis===!0?`secondary-default`:`primary-default`,_=e=>e.barGroupIndex==null?g(e):`group-${e.barGroupIndex}`,v=e=>e.barGroupGrouping??(f?`percentStacked`:d?`stacked`:`clustered`),y=e=>{let t=v(e);return t===`stacked`||t===`percentStacked`},b=e=>v(e)===`percentStacked`,x=t.series.filter(e=>e.seriesType===`line`),S=t.series.filter(e=>e.seriesType===`area`),C=t.series.filter(e=>e.seriesType===`scatter`),w=new Map(t.series.map((e,t)=>[e,t])),T=new Map;for(let e of t.plotGroups??[])for(let n=e.seriesStart;n<e.seriesStart+e.seriesCount;n++){let r=t.series[n];r&&T.set(r,e)}let E=new Map;for(let e of t.plotGroups??[]){if(e.seriesCount===0)continue;let t=E.get(e.valueAxis)??{count:0,percentCount:0};t.count++,e.grouping===`percentStacked`&&t.percentCount++,E.set(e.valueAxis,t)}let D=e=>{let t=E.get(e.valueAxis);return t!=null&&t.count===t.percentCount},O=$l(t,r),k=t.series.some(e=>e.useSecondaryAxis===!0),A=!u&&t.secondaryValAxis&&k?t.secondaryValAxis:null,j=A?h.filter(e=>e.useSecondaryAxis===!0):[],M=A?h.filter(e=>e.useSecondaryAxis!==!0):h,N=j.length>0?t.secondaryCatAxis:null,P=j[0]?.categories?.length?j[0].categories:t.categories,F=id(t),I=F.length;if(I===0)return;let L=new Map;for(let e of h){let t=_(e),n=L.get(t);n?n.push(e):L.set(t,[e])}let R=e=>L.get(_(e))??[e],z=new Map;for(let[e,t]of L){let n=Array(I).fill(0);for(let e of t)for(let t=0;t<I;t++)n[t]+=Math.abs(e.values[t]??0);z.set(e,n)}let B=(e,t)=>z.get(_(e))?.[t]||1,V=e=>{let t=T.get(e);return t==null||D(t)?100:1},H=(e,t)=>b(e)?V(e)/B(e,t):1,ee=new Map,U=new Map;for(let e of[...x,...S])ee.set(e,Array.from({length:I},(t,n)=>e.values[n]??0)),U.set(e,Array(I).fill(0));for(let e of t.plotGroups??[]){if(e.kind!==`line`&&e.kind!==`area`)continue;let n=t.series.slice(e.seriesStart,e.seriesStart+e.seriesCount),r=e.grouping===`stacked`||e.grouping===`percentStacked`,i=e.grouping===`percentStacked`,a=i&&D(e)?100:1;for(let e=0;e<I;e++){let t=i&&n.reduce((t,n)=>t+Math.abs(n.values[e]??0),0)||1,o=0;for(let s of n){let n=s.values[e]??0,c=i?n/t*a:n,l=U.get(s),u=ee.get(s);l==null||u==null||(l[e]=r?o:0,o=r?o+c:c,u[e]=o)}}}let W=(e,t)=>ee.get(e)?.[t]??e.values[t]??0,te=(e,t)=>U.get(e)?.[t]??0,G=e=>b(e)?(e.errBars??[]).map(t=>({...t,plus:t.plus.map((t,n)=>t==null?t:t*H(e,n)),minus:t.minus.map((t,n)=>t==null?t:t*H(e,n))})):e.errBars??[],ne=e=>{let n=T.get(e);return n?.kind===`bar`||n?.kind===`bar3D`?n.seriesCount===1&&n.varyColors===!0:Nn(t)},re=h.map(e=>new Map((e.dataPointOverrides??[]).map(e=>[e.idx,e]))),ie=h.map(e=>new Map((e.dataLabelOverrides??[]).map(e=>[e.idx,e]))),ae=h.map((e,t)=>Af(e,t)),oe=t.classicChartStyleRoles==null&&(t.chartexDataPointStyle!=null||t.chartexColorPalette!=null),se=new Map;oe&&h.forEach((e,n)=>{let r=ae[n],i=e.color??Pf(t,r,h.length,e.chartexStyle);se.set(e,Gf(t,e.name,e,t.chartexDataPointStyle,r,h.length,i))});let ce=h.findIndex(ne),le=ce>=0?h[ce]:void 0,ue={...t,series:(oe?h:t.series).map(e=>se.get(e)??e)},de=td(e,t,c,l,r),fe=de.fontPx,pe=de.topPad,me=de.bandH,he=Bu(t.catAxisFontSizeHpt,l,r),ge=Bu(t.valAxisFontSizeHpt,l,r),_e=!u&&!Rl(t)&&t.catAxisNoMultiLevelLabels!==!0&&(t.categoryLevels?.length??0)>1?t.categoryLevels:null,ve=_e?(_e.length-1)*(he+4):0,ye=Rl(t),be=Bl(t,r),xe=Vl(e,t,r),Se=ou(e,ue,c,l,.22,r),{legRightW:K,legLeftW:q,legTopH:Ce,legBottomH:J}=Wt(Se,t.legendOverlay===!0),we=Yt(t,c,l,r),Te=we.catFontPx,Ee=we.valFontPx,Y=u?t.valAxisTitle?Ee+Jt(l)+4:0:we.catBandH,De=u?t.catAxisTitle?Te+Jt(c)+4:0:we.valBandW,X=Bt(N?.fontSizeHpt,r)??9*r,Oe=N&&!N.hidden&&N.tickLabelPos!==`none`?X+Mt(Qt(X),N.labelOffsetPercent)+2:0,ke=N?.title?Gt(N.titleFontSizeHpt,r)+6:0,Ae=me+Ce+ge/2+2+Oe+ke,je=u?(t.valAxisHidden?l*.02:Zt(ge))+be+Y+J:(ye?0:Zt(he,t.catAxisLabelOffsetPercent,t.cartesianAutoLayoutProfile))+ve+be+Y+J,Me=l-Ae-je,Ne=0;if(u&&!t.catAxisHidden&&Uu(t)){let n=t.catAxisFontSizeHpt==null?Math.max(8,Math.min(11,Me/I*.5)):he;e.save(),e.font=Nl(n,Ml(t,t.catAxisFontFace,`minor`),t.catAxisFontBold??!1,t.catAxisFontItalic??!1);for(let n of F)Ne=Math.max(Ne,e.measureText(Qa(n,t.catAxisFormatCode,t.date1904)).width);e.restore(),Ne+=Mt(t.catAxisFontSizeHpt==null?4:$t(n),t.catAxisLabelOffsetPercent)+un*r}let Pe=Math.min(Ne,Math.max(0,c/2-De-q)),Fe=u?c-((t.catAxisHidden?c*.03:Pe)+De+q)-(K+c*.03):0,Ie=t.valAxisHidden?void 0:(u?Fe:Me)/r,Le=(e,t)=>{let n=h[e],r=n?.values[t]??0;if(!n||!y(n))return r;let i=R(n),a=b(n),o=1;a&&(o=i.reduce((e,n)=>e+Math.abs(n.values[t]??0),0)||1);let s=a?H(n,t)*o:1,c=a?r/o*s:r,l=0,u=i.indexOf(n);for(let e=0;e<=u;e++){let n=i[e]?.values[t]??0,r=a?n/o*s:n;c<0==r<0&&(l+=r)}return l},Re=(t.plotGroups??[]).filter(e=>e.seriesCount>0&&e.valueAxis!==`secondary`),ze=Re.length>0?Re.every(e=>e.grouping===`percentStacked`):M.some(b),Be=0,Ve=0;for(let e=0;e<I;e++){let t=new Map;for(let e of M){let n=_(e),r=t.get(n);r?r.push(e):t.set(n,[e])}for(let n of t.values()){let t=n[0],r=y(t),i=b(t),a=i&&n.reduce((t,n)=>t+Math.abs(n.values[e]??0),0)||1,o=0,s=0;for(let t of n){let n=t.values[e]??0,c=i?n/a*V(t):n;r?c>=0?o+=c:s+=c:(Be=Math.max(Be,c),Ve=Math.min(Ve,c))}r&&(Be=Math.max(Be,o),Ve=Math.min(Ve,s))}}for(let e of[...x,...S])if(!(A&&e.useSecondaryAxis===!0))for(let t=0;t<I;t++){if(e.values[t]==null)continue;let n=W(e,t);Be=Math.max(Be,n),Ve=Math.min(Ve,n)}for(let e of M){let t=h.indexOf(e);for(let n of G(e))qu({...e,errBars:[n]},u?`x`:`y`,n=>e.values[n]==null?null:Le(t,n),e=>{Be=Math.max(Be,e),Ve=Math.min(Ve,e)})}for(let e of[...x,...S])A&&e.useSecondaryAxis===!0||qu(e,`y`,t=>e.values[t]??null,e=>{let t=e;Be=Math.max(Be,t),Ve=Math.min(Ve,t)});ze&&(M.some(e=>e.values.some(e=>e!=null&&e>0))&&(Be=Math.max(Be,100)),M.some(e=>e.values.some(e=>e!=null&&e<0))&&(Ve=Math.min(Ve,-100))),t.valMax!=null&&(Be=ze?t.valMax*100:t.valMax),t.valMin!=null&&(Ve=ze?t.valMin*100:t.valMin),Be===0&&Ve===0&&(Be=1);let He=Nu(t,Ve,Be,Ie,ze,u?`horizontal`:`vertical`),{step:Ue}=He,We=new Set(h),qe=new Set(p),Je=(t.plotGroups??[]).filter(e=>e.seriesCount>0&&e.valueAxis===`secondary`),Ye=Je.length>0?Je.every(e=>e.grouping===`percentStacked`):j.some(b),Xe=t.series.filter(e=>!qe.has(e)||We.has(e)).map(e=>{if(e.useSecondaryAxis!==!0)return e;if(We.has(e)){let t=h.indexOf(e);return{...e,values:e.values.map((e,n)=>e==null?e:Le(t,n)),errBars:G(e)}}return Ye?{...e,values:e.values.map(e=>e==null?e:e*100),errBars:(e.errBars??[]).map(e=>({...e,plus:e.plus.map(e=>e==null?e:e*100),minus:e.minus.map(e=>e==null?e:e*100)}))}:e});if(Ye&&j[0]){let e=[];j.some(e=>e.values.some(e=>e!=null&&e>0))&&e.push(100),j.some(e=>e.values.some(e=>e!=null&&e<0))&&e.push(-100),Xe.push({...j[0],values:e,errBars:[]})}let Ze=Ju(A,Xe,Me/r,u?`x`:`y`,Ye,j.length>0),Qe=Math.max(8,Math.min(11,l/20)),$e=t.valAxisFontSizeHpt==null?Math.max(8,Math.min(11,Me/20)):ge,et=e.font,tt=0,nt=0;if(!u&&!t.valAxisHidden){e.font=Nl($e,Ml(t,t.valAxisFontFace,`minor`),t.valAxisFontBold??!1,t.valAxisFontItalic??!1);let n=0;for(let r of He.majorLines){let i=Ou(t,r,ze);n=Math.max(n,e.measureText(i).width)}tt=n,nt=tt+16}let rt=Bt(A?.fontSizeHpt,r)??Qe,it=0;if(A&&!A.hidden){e.font=`${rt}px ${Ml(t,A.fontFace,`minor`)}`;let n=0;for(let r of Ze?.majorLines??[])n=Math.max(n,e.measureText(Au(Ye?r/100:r,A.formatCode??null,t.date1904,A.displayUnits)).width);it=n+18}e.font=et;let at=A&&A.title?Gt(A.titleFontSizeHpt,r)+8:0,ot={t:Ae,r:K+c*.03+it+at,b:je,l:u?q+Math.max((t.catAxisHidden?c*.03:Pe)+De,xe):q+Math.max(De+nt,xe)};ot.t=uu(t,Se,o,s,c,l,me,ot.t);let st=u?{t:0,r:t.valAxisHidden?0:$e/2,b:t.valAxisHidden?0:$e+Y,l:t.catAxisHidden?0:Ne+De}:en({valAxisHidden:t.valAxisHidden,catAxisHidden:t.catAxisHidden,valLabelWidth:tt,valLabelFontPx:$e,catLabelFontPx:he,valLabelGapPx:t.valAxisFontSizeHpt==null?12:$t($e),catLabelGapPx:t.catAxisFontSizeHpt==null?Mt(3,t.catAxisLabelOffsetPercent):Mt(Qt(he),t.catAxisLabelOffsetPercent),outerTextMarginPx:un*r,valTitleBandW:De,catTitleBandH:Y,secondaryBandW:it+at}),ct=nn(t,o,s,c,l,r,{titleBand:de,legendSideReserveFrac:.22,legendReserve:Se,pad:ot,honorPlotAreaManualLayout:!0,manualOuterInsets:st}),lt=td(e,t,ct.plotRect.pw,l,r);Math.abs(lt.bandH-de.bandH)>.01&&(de=lt,fe=de.fontPx,pe=de.topPad,me=de.bandH,Ae=me+Ce+ge/2+2+Oe+ke,ot.t=uu(t,Se,o,s,c,l,me,Ae),ct=nn(t,o,s,c,l,r,{titleBand:de,legendSideReserveFrac:.22,legendReserve:Se,pad:ot,honorPlotAreaManualLayout:!0,manualOuterInsets:st}));let{px0:ut,py0:dt,pw:ft}=ct.plotRect,{ph:Q}=ct.plotRect;if(rd(e,t,t.titleManualLayout||!t.titleRichRuns?.length?o:ut,s,t.titleManualLayout||!t.titleRichRuns?.length?c:ft,l,s+pe,fe),ft<=0||Q<=0)return;let mt=Ku(t,F,u?!Tu(t):Tu(t)),gt=Wu(t),vt=[],yt=0;if(!ye&&!u&&!mt&&!t.catAxisHidden&&Uu(t)&>===0){let n=ft/I,r=t.catAxisFontSizeHpt==null?Math.max(8,Math.min(11,n*.5)):he;e.save(),e.font=Nl(r,Ml(t,t.catAxisFontFace,`minor`),t.catAxisFontBold??!1,t.catAxisFontItalic??!1);for(let i of F){let a=Qa(i,t.catAxisFormatCode,t.date1904);vt.push(Vu(e,a,Math.max(1,n),Hu(a,r)))}e.restore();let i=Math.max(1,...vt.map(e=>e.length));!(t.plotAreaManualLayout?.layoutTarget===`inner`&&t.plotAreaManualLayout.w!=null&&t.plotAreaManualLayout.h!=null)&&i>1&&(yt=(i-1)*(r+2),Q=Math.max(1,Q-yt))}let bt=ye?Hl(e,t,ft/I,r):null;bt&&bt.totalHeight>be&&(Q=Math.max(1,Q-(bt.totalHeight-be))),il(e,t,ut,dt,ft,Q,r,a);let xt=e=>dt+Q-He.frac(e)*Q,St=e=>ut+He.frac(e)*ft,Ct=xt(0),wt=St(0),Et=e=>xt(e),Dt=Ze?Ze.makeToY(dt,Q):xt,Ot=e=>Dt(e),kt=gu(t,r);e.textBaseline=`middle`;let At=t.valAxisFontSizeHpt==null?Math.max(8,Math.min(11,Q/20)):ge;e.font=Nl(At,Ml(t,t.valAxisFontFace,`minor`),t.valAxisFontBold??!1,t.valAxisFontItalic??!1);let jt=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`;if(e.fillStyle=jt,!t.valAxisHidden){let n=_u(t,r);for(let t of He.minorLines)if(!u)hu(e,ut,ft,xt(t),!1,n);else{let r=St(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,dt),e.lineTo(r,dt+Q),e.stroke(),n.dash.length>0&&e.setLineDash(i)}let a=Eu(t),o=t.valAxisTickLabelPos!==`none`;for(let n of He.majorLines){let s=Math.abs(n)<Ue*1e-9,c=Ou(t,n,ze);if(u){let r=St(n);if(a){e.strokeStyle=kt.explicit?kt.color:s?`#aaa`:kt.color,e.lineWidth=kt.explicit?kt.width:s?1:kt.width;let t=kt.dash.length>0&&e.getLineDash?e.getLineDash():[];kt.dash.length>0&&e.setLineDash(kt.dash),e.beginPath(),e.moveTo(r,dt),e.lineTo(r,dt+Q),e.stroke(),kt.dash.length>0&&e.setLineDash(t)}if(o){e.textAlign=`center`;let n=t.valAxisFontSizeHpt==null?10:Qt(At);e.fillText(c,r,dt+Q+n)}}else{let l=xt(n);if(a&&hu(e,ut,ft,l,s,kt),o){e.textAlign=`right`;let n=i.gapPolicy===`chartex`?cd(r):t.valAxisFontSizeHpt==null?12:$t(At);e.fillText(c,ut-n,l)}}}}if(A&&Ze&&Yu(e,A,Ze,Dt,ut,ft,r),!t.catAxisHidden&&bu(t)){let n=xu(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);let a=mt?mt.majorTicks.map(e=>e.fraction):Cu(t,I);for(let t of a){if(e.beginPath(),u){let n=dt+t*Q;e.moveTo(ut,n),e.lineTo(ut+ft,n)}else{let n=ut+t*ft;e.moveTo(n,dt),e.lineTo(n,dt+Q)}e.stroke()}n.dash.length>0&&e.setLineDash(i)}let{color:Nt,width:Pt}=Zo(t.catAxisLineColor,t.catAxisLineWidthEmu,r),{color:Ft,width:Rt}=Zo(t.valAxisLineColor,t.valAxisLineWidthEmu,r),zt=!t.catAxisHidden&&!t.catAxisLineHidden,Vt=!t.valAxisHidden&&!t.valAxisLineHidden&&t.valAxisLineColor!=null,Ht=Vd(t,He.min,He.max),Ut=u?dt+Q:xt(Ht),Kt=u?St(Ht):ut,qt=!u&&(t.catAxisTickLabelPos??`nextTo`)===`nextTo`?Ut:dt+Q,Xt=Math.max(1,Math.floor(t.catAxisTickMarkSkip??1)),tn=!u&&_e!=null&&mt==null&&!t.catAxisLineHidden&&$o(t)&&Math.abs(qt-Ut)<.01,rn=()=>{if(u?(zt&&fu(e,Kt,dt,Kt,dt+Q,Nt,Pt,t.catAxisLineDash),Vt&&fu(e,ut,dt+Q,ut+ft,dt+Q,Ft,Rt,t.valAxisLineDash)):(zt&&fu(e,ut,Ut,ut+ft,Ut,Nt,Pt,t.catAxisLineDash),Vt&&fu(e,ut,dt,ut,dt+Q,Ft,Rt,t.valAxisLineDash)),!t.valAxisHidden&&t.valAxisMajorTickMark&&t.valAxisMajorTickMark!==`none`)for(let n of He.majorLines)u?du(e,t.valAxisMajorTickMark,`cat`,dt+Q,St(n),Ft,Rt,!1,t.valAxisLineHidden,`major`,r,t.valAxisLineDash):du(e,t.valAxisMajorTickMark,`val`,ut,xt(n),Ft,Rt,!1,t.valAxisLineHidden,`major`,r,t.valAxisLineDash);if(!t.valAxisHidden&&t.valAxisMinorTickMark&&t.valAxisMinorTickMark!==`none`)for(let n of He.minorTicks)u?du(e,t.valAxisMinorTickMark,`cat`,dt+Q,St(n),Ft,Rt,!1,t.valAxisLineHidden,`minor`,r,t.valAxisLineDash):du(e,t.valAxisMinorTickMark,`val`,ut,xt(n),Ft,Rt,!1,t.valAxisLineHidden,`minor`,r,t.valAxisLineDash);if(!t.catAxisHidden&&t.catAxisMajorTickMark&&t.catAxisMajorTickMark!==`none`){let n=tn?[]:Cu(t,I),i=mt?mt.majorTicks.map(e=>e.fraction):n.filter((e,t)=>t%Xt===0);for(let n of i)u?du(e,t.catAxisMajorTickMark,`val`,Kt,dt+n*Q,Nt,Pt,!1,t.catAxisLineHidden,`major`,r,t.catAxisLineDash):du(e,t.catAxisMajorTickMark,`cat`,Ut,ut+n*ft,Nt,Pt,!1,t.catAxisLineHidden,`major`,r,t.catAxisLineDash)}if(!t.catAxisHidden&&t.catAxisMinorTickMark&&t.catAxisMinorTickMark!==`none`){let n=$o(t)?Array.from({length:I},(e,t)=>(t+.5)/I):Array.from({length:Math.max(0,I-1)},(e,t)=>(t+.5)/(I-1)),i=mt?mt.minorTicks.map(e=>e.fraction):n;for(let n of i)u?du(e,t.catAxisMinorTickMark,`val`,Kt,dt+n*Q,Nt,Pt,!1,t.catAxisLineHidden,`minor`,r,t.catAxisLineDash):du(e,t.catAxisMinorTickMark,`cat`,Ut,ut+n*ft,Nt,Pt,!1,t.catAxisLineHidden,`minor`,r,t.catAxisLineDash)}},an=e=>e?Q/I:ft/I,on=an(u),sn=Tu(t),cn=(e,t)=>t?sn?e:I-1-e:sn?I-1-e:e,ln=(e,t=u)=>mt?mt.categoryBandFractions[e]*(t?Q:ft):an(t),dn=(e,t=u)=>mt?(t?dt:ut)+mt.positions[e]*(t?Q:ft)-ln(e,t)/2:(t?dt:ut)+cn(e,t)*an(t),fn=e=>mt?ut+mt.positions[e]*ft:ut+cn(e,!1)*an(!1)+an(!1)/2,pn=(e,n)=>{let r=e[0],a=r?y(r):d,o=a?1:Math.max(1,e.length),s=r?.barGroupOverlap??t.barOverlap??0,c=a||!Number.isFinite(s)?0:Math.max(-100,Math.min(100,s)),l=Lt(r?.barGroupGapWidth??t.barGapWidth,i.gapPolicy??`legacy`),u=n/(1+(o-1)*(1-c/100)+l/100),f=a?0:u*(1-c/100);return{barW:u,clusterGap:f,catStart:(n-(u+(o-1)*f))/2}},mn=(t.barGroupDecorations??[]).some(e=>e.seriesLines?.length===1)?h.map(()=>Array(I).fill(null)):null;for(let n=0;n<S.length;n++){let i=S[n],o=Tl(i.dataPointOverrides),s=w.get(i)??n,c=Af(i,s),l=wl(s,i),u=Tt(t,i,void 0,c),d=A&&i.useSecondaryAxis===!0?Ot:Et,f=t.dispBlanksAs??`zero`,p=[],m=()=>{if(p.length!==0){mt&&(e.save(),e.beginPath(),e.rect(ut,dt,ft,Q),e.clip()),e.beginPath(),e.moveTo(p[0].x,p[0].baseY),e.lineTo(p[0].x,p[0].y),wf(e,p,!1);for(let t=p.length-1;t>=0;t--)e.lineTo(p[t].x,p[t].baseY);e.closePath(),Bf(e,u,{x:p[0].x,y:dt,w:Math.max(1,p[p.length-1].x-p[0].x),h:Q},l,r,a),Ol(e,t,`dataPoint`,i,void 0,c,l,1.5,r,{x:ut,y:dt,w:ft,h:Q},a)&&e.stroke(),mt&&e.restore(),p=[]}};for(let e=0;e<I;e++){if(i.sourceHidden?.[e]===!0){m();continue}i.values[e]==null&&(f===`gap`&&m(),f!==`zero`)||p.push({x:fn(e),y:d(W(i,e)),baseY:d(te(i,e))})}m();let h=mf(t,i,s),g=(i.showMarker===!0||Vn(i))&&i.markerSymbol!==`none`;if(g||Xn(i)){let n=Math.max(2,2.5*r);for(let s=0;s<I;s++){if(i.sourceHidden?.[s]===!0||i.values[s]==null)continue;let c=o.get(s),u=$n(i,c,`circle`,g);if(u===`none`)continue;let f=fn(s),p=d(W(i,s));if(h||Hn(c)){let n=c?.markerLineWidthEmu??i.markerLineWidthEmu;pf(e,t,i,c,s,f,p,u,c?.markerSize??i.markerSize??5,tr(i,c,s,l),c?.markerLine??i.markerLine??null,r,n==null?void 0:Xo(n,r),er(i,c,s),a)}else e.fillStyle=l,e.beginPath(),e.arc(f,p,n,0,Math.PI*2),e.fill()}}}for(let n=0;n<I;n++){let i=new Map,u=new Map;for(let d=0;d<h.length;d++){let f=h[d],p=m(f),g=ln(n,p),v=A!=null&&f.useSecondaryAxis===!0,x=R(f),S=_(f),C=y(f),T=b(f),E=T&&x.reduce((e,t)=>e+Math.abs(t.values[n]??0),0)||1,D=i.get(S)??0,k=u.get(S)??0,j=Math.max(0,x.indexOf(f)),{barW:M,clusterGap:P,catStart:I}=pn(x,g),L=v&&Ze?Ze.makeToY(dt,Q):xt,z=Ze?N?.crossesAt!=null&&Number.isFinite(N.crossesAt)?Math.max(Ze.min,Math.min(Ze.max,N.crossesAt)):N?.crosses===`max`?Ze.max:N?.crosses===`min`?Ze.min:Math.max(Ze.min,Math.min(Ze.max,0)):0,B=v?L(z):Ct,H=f.values[n]??0,ee=T?H/E*V(f):H,U=ee<0,W=v&&Ze?Ze.max:He.max,te=U&&(f.invertIfNegative===!0||f.automaticNegativeStyle===!0),G=re[d].get(n),se=G?.color??f.dataPointColors?.[n],ce=ne(f),le=ce?n:ae[d],ue=Tt(t,f,G,le,n),de=ue?.fillType===`solid`?ue.color.startsWith(`#`)?ue.color:`#${ue.color}`:se?`#${se}`:ce?El(n,f):wl(d,f),fe=te?f.automaticNegativeStyle===!0||f.invertedFillHidden===!0?null:f.invertedFill:void 0,pe=Z(t,`dataPoint`),me=ht(G?.chartexStyle,pe,le),he=G?.fillHidden===!0?_t(pe):void 0,ge=me!==void 0||he!==void 0||G?.color!=null||fe===void 0?ue:fe,_e=e=>{if(G?.lineHidden!=null||G?.lineColor!=null||G?.lineWidthEmu!=null||G?.lineDash!=null||G?.chartexStyle?.linePaintAuthored===!0||G?.chartexStyle?.lineHidden===!0)return Ol(e,t,`dataPoint`,f,G,le,de,1,r,{x:ut,y:dt,w:ft,h:Q},a,!1);if(te&&(f.invertedLineHidden!=null||f.invertedLineColor!=null||f.invertedLineWidthEmu!=null))return f.invertedLineHidden?!1:(e.strokeStyle=`#${f.invertedLineColor??`000000`}`,e.lineWidth=Xo(f.invertedLineWidthEmu,r),e.setLineDash([]),!0);if(f.automaticNegativeStyle===!0)return e.strokeStyle=`#000000`,e.lineWidth=.75*r,e.setLineDash([]),!0;let n=te&&t.chartType===`clusteredBar`&&t.legacyChartStyle===2&&f.invertedFillAuthored===!0&&f.invertedFill!=null&&f.invertedLineAuthored===!1,i=f.lineHidden===!0||f.lineColor!=null||f.lineWidthEmu!=null;if(n&&i)return f.lineHidden||!f.lineColor?!1:(e.strokeStyle=`#${f.lineColor}`,e.lineWidth=Xo(f.lineWidthEmu,r),e.setLineDash([]),!0);if(n)return e.strokeStyle=`#000000`,e.lineWidth=.75*r,e.setLineDash([]),!0;let o=Ke(t,`dataPoint`,w.get(f)??d)??t.chartexDataPointStyle,s=pt(G?.chartexStyle,le),c=s===void 0?pt(f.chartexStyle,le):s;return!o&&!oe&&c===void 0&&!f.lineColor&&f.lineHidden!==!0?!1:Ol(e,t,`dataPoint`,f,G,le,de,1,r,{x:ut,y:dt,w:ft,h:Q},a,!1)},ve=va(G?.chartexStyle,f.chartexStyle),ye=(e,t,n,i,o)=>{if(Vf(e,ge===void 0?f.fillPattern:ge,{x:t,y:n,w:i,h:o},de,r,a),i>0&&o>0&&_e(e)){let r=e.lineWidth;e.strokeRect(t+r/2,n+r/2,Math.max(0,i-r),Math.max(0,o-r))}};if(p){let i=j,u=C?dn(n,!0)+I:dn(n,!0)+I+i*P,p=C?St(U?k:D):wt,m=St(C?(U?k:D)+ee:ee),h=Cf(Math.min(p,m),ut,ut+ft),g=Cf(Math.max(p,m),ut,ut+ft),_=Math.max(0,g-h);mn&&f.values[n]!=null&&(mn[d][n]={categoryStart:u,categoryEnd:u+M,valueEnd:Cf(m,ut,ut+ft)}),Aa(e,ve,Ke(t,`dataPoint`,w.get(f)??d),le,{x:h,y:u,w:_,h:M},r,e=>ye(e,h,u,_,M));let v=f.seriesDataLabels,y=yo(t,f,n,f.categories?.[n]??F[n]??``,H,{visible:t.showDataLabels,showVal:t.showDataLabels&&!T,showPercent:t.showDataLabels&&T,showCatName:!1},ie[d],T?ee/100:void 0,f.useSecondaryAxis&&A?A.displayUnits:t.valAxisDisplayUnits);if(y&&od(t,H,W)){let i=Bt(y.fontSizeHpt??t.dataLabelFontSizeHpt,r)??Math.max(7,Math.min(11,M*.6)),p=ie[d].get(n),m=y.fontBold||v?.fontBold==null&&p?.fontBold==null,g=Ml(t,y.fontFace??t.dataLabelFontFace,`minor`);e.font=`${y.textStyle.fontItalic?`italic `:``}${m?`bold `:``}${i}px ${g}`,sd(e,y.text,h,u,_,M,`horizontal`,y.position??t.dataLabelPosition??(C?`ctr`:null),f.dataLabelColors?.[n]??y.fontColor??f.labelColor??t.dataLabelFontColor??null,i,{x:ut,y:dt,w:ft,h:Q},{x:o,y:s,w:c,h:l},p?.manualLayout,U,yf(t,p,r,g,m,y.textStyle),y.showLegendKey?O(w.get(f)??d,n):void 0,y.textStyle,r,ho(p?.labelBox,v?.labelBox),a)}}else{let i=C?dn(n,!1)+I:dn(n,!1)+I+j*P;if(i+M<=ut||i>=ut+ft)continue;let u=C?L(U?k:D):B,p=L(C?(U?k:D)+ee:ee),m=Cf(Math.min(u,p),dt,dt+Q),h=Cf(Math.max(u,p),dt,dt+Q),g=Math.max(0,h-m);mn&&f.values[n]!=null&&(mn[d][n]={categoryStart:i,categoryEnd:i+M,valueEnd:Cf(p,dt,dt+Q)}),Aa(e,ve,Ke(t,`dataPoint`,w.get(f)??d),le,{x:i,y:m,w:M,h:g},r,e=>ye(e,i,m,M,g));let _=f.seriesDataLabels,v=yo(t,f,n,f.categories?.[n]??F[n]??``,H,{visible:t.showDataLabels,showVal:t.showDataLabels&&!T,showPercent:t.showDataLabels&&T,showCatName:!1},ie[d],T?ee/100:void 0,f.useSecondaryAxis&&A?A.displayUnits:t.valAxisDisplayUnits);if(v&&od(t,H,W)){let u=Bt(v.fontSizeHpt??t.dataLabelFontSizeHpt,r)??Math.max(7,Math.min(11,M*.6)),p=ie[d].get(n),h=v.fontBold||_?.fontBold==null&&p?.fontBold==null,y=Ml(t,v.fontFace??t.dataLabelFontFace,`minor`);e.font=`${v.textStyle.fontItalic?`italic `:``}${h?`bold `:``}${u}px ${y}`,sd(e,v.text,i,m,g,M,`vertical`,v.position??t.dataLabelPosition??(C?`ctr`:null),f.dataLabelColors?.[n]??v.fontColor??f.labelColor??t.dataLabelFontColor??null,u,{x:ut,y:dt,w:ft,h:Q},{x:o,y:s,w:c,h:l},p?.manualLayout,U,yf(t,p,r,y,h,v.textStyle),v.showLegendKey?O(w.get(f)??d,n):void 0,v.textStyle,r,ho(p?.labelBox,_?.labelBox),a)}}C&&(U?u.set(S,k+ee):i.set(S,D+ee))}}if(mn){let n=new Map;for(let e=0;e<h.length;e++){let t=h[e].barGroupIndex??0,r=n.get(t);r?r.push(e):n.set(t,[e])}for(let i of t.barGroupDecorations??[])if(i.seriesLines?.length===1){if(e.save(),!ud(e,dd(t,i.seriesLines[0],`seriesLine`),r)){e.restore();continue}e.beginPath(),e.rect(ut,dt,ft,Q),e.clip();for(let t of n.get(i.groupIndex)??[]){let n=mn[t],r=m(h[t]);for(let t=0;t+1<I;t++){let i=n[t],a=n[t+1];if(!i||!a)continue;let o=(i.categoryStart+i.categoryEnd)/2,s=(a.categoryStart+a.categoryEnd)/2>=o;e.beginPath(),r?(e.moveTo(i.valueEnd,s?i.categoryEnd:i.categoryStart),e.lineTo(a.valueEnd,s?a.categoryStart:a.categoryEnd)):(e.moveTo(s?i.categoryEnd:i.categoryStart,i.valueEnd),e.lineTo(s?a.categoryStart:a.categoryEnd,a.valueEnd)),e.stroke()}}e.restore()}}let hn=(e,t)=>{let n=R(e),r=Math.max(0,n.indexOf(e)),i=m(e),a=pn(n,ln(t,i)),o=dn(t,i)+a.catStart;return y(e)?o+a.barW/2:o+r*a.clusterGap+a.barW/2},gn=(e,t)=>{if(Number.isInteger(t)&&t>=0&&t<I)return hn(e,t);let n=R(e),r=Math.max(0,n.indexOf(e)),i=m(e),a=an(i),o=pn(n,a),s=i?sn?t:I-1-t:sn?I-1-t:t;return(i?dt:ut)+s*a+o.catStart+(y(e)?0:r)*o.clusterGap+o.barW/2};for(let i=0;i<h.length;i++){let o=h[i],s=m(o),c=A!=null&&o.useSecondaryAxis===!0,l=s?St:c&&Ze?Ze.makeToY(dt,Q):xt,u=wl(i,o),d=e=>Le(i,e);for(let n of G(o))Of(e,o,md(t,n),I,s,e=>hn(o,e),l,d,u,r);Lu(e,o,u,e=>gn(o,e-1),l,r,o.values.map((e,t)=>t+1),{chart:t,chartRect:n,plotRect:{x:ut,y:dt,w:ft,h:Q},shapeRotationDeg:a},(e,t)=>s?{x:l(t),y:gn(o,e-1)}:{x:gn(o,e-1),y:l(t)})}if((!ye||u)&&!t.catAxisHidden&&Uu(t)){e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#555`;let n=t.catAxisFontSizeHpt==null?Math.max(8,Math.min(11,on*.5)):he;e.font=Nl(n,Ml(t,t.catAxisFontFace,`minor`),t.catAxisFontBold??!1,t.catAxisFontItalic??!1);let i=on-4,a=ut-4-(o+q+De),s=gt,c=mt?mt.majorTicks.map(e=>({raw:Qa(String(e.serial),t.catAxisFormatCode,t.date1904),fraction:e.fraction,categoryIndex:-1})):F.map((e,n)=>({raw:Qa(e.toString(),t.catAxisFormatCode,t.date1904),fraction:null,categoryIndex:n}));for(let r of c){let{raw:c}=r;if(u){let i=r.fraction==null?dt+cn(r.categoryIndex,!0)*on+on/2:dt+r.fraction*Q,s=Mt(t.catAxisFontSizeHpt==null?4:$t(n),t.catAxisLabelOffsetPercent),l=o+q+De,u=ut-s,d=t.catAxisLabelAlignment,f=d===`l`?l:d===`ctr`?(l+u)/2:u;e.textAlign=d===`l`?`left`:d===`ctr`?`center`:`right`,e.textBaseline=`middle`,e.fillText(Bc(e,c,a),f,i)}else{let a=r.fraction!=null||r.categoryIndex<0?{fraction:r.fraction??.5,textAlign:`center`}:It(r.categoryIndex,I,$o(t),sn,t.catAxisLabelAlignment),o=ut+a.fraction*ft;e.textAlign=a.textAlign,e.textBaseline=`top`;let l=s===0?i:Q*.4,u=Mt(t.catAxisFontSizeHpt==null?3:Qt(n),t.catAxisLabelOffsetPercent);s===0?(r.categoryIndex>=0?vt[r.categoryIndex]??[c]:[c]).forEach((t,r)=>{e.fillText(t,o,qt+u+r*(n+2))}):Gu(e,Bc(e,c,l),o,qt+u,s)}}if(!u&&_e){let i=Mt(t.catAxisFontSizeHpt==null?3:Qt(n),t.catAxisLabelOffsetPercent),a=n+4;e.textAlign=`center`,e.textBaseline=`top`,e.strokeStyle=Nt,e.lineWidth=Pt,e.setLineDash([]);let o=e=>{if(!tn||e%Xt!==0)return qt;let n=pu(`major`,Pt,r);return t.catAxisMajorTickMark===`cross`?qt-n/2:t.catAxisMajorTickMark===`in`?qt-n:qt},s=new Set;for(let e=1;e<_e.length;e++){let t=_e[e]??[];for(let e=0;e<I;e++)(t[e]??``)!==``&&s.add(e);s.add(I)}let c=qt+i+n+2;for(let t=0;t<=I;t++){if(s.has(t))continue;let n=ut+t/I*ft;e.beginPath(),e.moveTo(n,o(t)),e.lineTo(n,c),e.stroke()}let l=new Map;for(let r=1;r<_e.length;r++){let o=_e[r]??[],s=[];for(let e=0;e<I;e++)(o[e]??``)!==``&&s.push(e);for(let c=0;c<s.length;c++){let u=s[c],d=s[c+1]??I,f=o[u]??``,p=ut+u/I*ft,m=ut+d/I*ft,h=qt+i+r*a,g=t.catAxisLabelAlignment,_=g===`l`?p:g===`r`?m:(p+m)/2;e.textAlign=g===`l`?`left`:g===`r`?`right`:`center`,e.fillText(Bc(e,f,Math.max(0,m-p-4)),_,h);let v=h+n+2;for(let e of[u,d])l.set(e,Math.max(l.get(e)??qt,v))}}for(let[t,n]of l){let r=ut+t/I*ft;e.beginPath(),e.moveTo(r,o(t)),e.lineTo(r,n),e.stroke()}}}if(x.length>0&&!u){zd(e,t,I,fn,e=>A&&e.useSecondaryAxis===!0?Ot:Et,()=>Ut,(e,t)=>e.values[t]==null?null:W(e,t),on,r,a,`background`),mt&&(e.save(),e.beginPath(),e.rect(ut,dt,ft,Q),e.clip());for(let o=0;o<x.length;o++){let s=x[o],c=Tl(s.dataPointOverrides),l=wl(h.length+o,s),u=A&&s.useSecondaryAxis===!0?Ot:Et,d=w.get(s)??o,f=Ge(t,d),p=Af(s,d),m=s.chartexStyle!=null||s.lineHidden!=null||s.lineColor!=null||s.lineWidthEmu!=null||t.chartexDataPointLineStyle!=null,g=s.smooth===!0,_=t.dispBlanksAs??`gap`,v=[],y=[],b=()=>{y.length!==0&&(v.push(y),y=[])};for(let e=0;e<I;e++){let t=s.values[e];if(s.sourceHidden?.[e]===!0){b();continue}if(t==null&&(_===`gap`&&b(),_!==`zero`))continue;let n=fn(e);y.push({x:n,y:u(W(s,e)),index:e})}b(),f?kl(e,t,s,v,g,!1,l,2,r,{x:ut,y:dt,w:ft,h:Q},a,i.semanticLineNoStyleFallback!==!1):Aa(e,va(s.chartexStyle),t.chartStyleRoles?.dataPointLine,p,{x:ut,y:dt,w:ft,h:Q},r,e=>{if(!m||Wf(e,t,t.chartexDataPointLineStyle,s,p,x.length,l,r,{linkedNoStyleFallback:i.semanticLineNoStyleFallback})){m||(e.strokeStyle=l,e.lineWidth=2,e.setLineDash([])),e.beginPath();for(let t of v)e.moveTo(t[0].x,t[0].y),wf(e,t,g);e.stroke()}});let S=s.showMarker!==!1&&s.markerSymbol!==`none`,C=S||Xn(s),T=mf(t,s,d);if(C)for(let n=0;n<I;n++){if(s.sourceHidden?.[n]===!0||s.values[n]==null)continue;let i=fn(n),o=u(W(s,n)),d=c.get(n),f=$n(s,d,`circle`,S);if(f!==`none`)if(T||Hn(d)){let c=d?.markerLineWidthEmu??s.markerLineWidthEmu;pf(e,t,s,d,n,i,o,f,d?.markerSize??s.markerSize??5,tr(s,d,n,l),d?.markerLine??s.markerLine??null,r,c==null?void 0:Xo(c,r),er(s,d,n),a)}else e.fillStyle=l,e.beginPath(),e.arc(i,o,3,0,Math.PI*2),e.fill()}Lu(e,s,l,e=>fn(e),u,r,void 0,{chart:t,chartRect:n,plotRect:{x:ut,y:dt,w:ft,h:Q},shapeRotationDeg:a})}zd(e,t,I,fn,e=>A&&e.useSecondaryAxis===!0?Ot:Et,()=>Ut,(e,t)=>e.values[t]==null?null:W(e,t),on,r,a,`foreground`),mt&&e.restore()}if(C.length>0){let i=[],u=[];for(let e of C){let t=e.categories??[];for(let n=0;n<e.values.length;n++){let r=nf(t,n,!1),a=e.values[n];r==null||a==null||(i.push(r),u.push(a))}}if(i.length&&u.length){let d=t.secondaryCatAxis,f=t.secondaryValAxis,p=Sc(i),m=Sc(u),h=e=>e?.minorGridlines===!0||e?.minorTickMark!=null&&e.minorTickMark!==`none`,g=Ic({dataMin:p.min,dataMax:p.max,explicitMin:d?.min,explicitMax:d?.max,axisLenPt:ft/r,axisOrientation:`horizontal`,majorUnit:d?.majorUnit,minorUnit:d?.minorUnit,needMinor:h(d),logBase:d?.logBase,reversed:d?.orientation===`maxMin`}),_=Ic({dataMin:m.min,dataMax:m.max,explicitMin:f?.min,explicitMax:f?.max,axisLenPt:Q/r,axisOrientation:`vertical`,majorUnit:f?.majorUnit,minorUnit:f?.minorUnit,needMinor:h(f),logBase:f?.logBase,reversed:f?.orientation===`maxMin`});uf(e,t,C.map((e,t)=>({series:e,index:w.get(e)??t})),!1,e=>ut+g.fraction(e)*ft,e=>dt+Q-_.fraction(e)*Q,n,ut,dt,ft,Q,r,!1,t.scatterStyle??`marker`,{x:o,y:s,w:c,h:l},_.max,void 0,a)}}rn(),N&&!u&&Qu(e,t,N,P,n,ut,dt,ft,r),A&&Ze&&Xu(e,t,A,Ze,Dt,n,ut,dt,ft,Q,r,rt,it,jt,t.date1904,Ye),bt&&Ul(e,t,bt,ut,dt+Q+(u?t.valAxisHidden?l*.02:Zt(ge):0),ft,o+q,r);let _n=le&&t.series.length===1?le.values.map((e,n)=>Tt(t,le,re[ce].get(n),n,n)):oe?h.flatMap((e,n)=>[Rf(t,ae[n],h.length,e.chartexStyle,e.color),...Ru([e]).map(()=>void 0)]):[];lu(e,ue,Se,o,s,c,l,ut,dt,ft,Q,me+2,r,_n),Ll(e,t,o,s,c,l,ut,dt,ft,Q,q,J,Te,Ee,u)}function ud(e,t,n,r={x:0,y:0,w:Math.max(1,e.canvas?.width??1),h:Math.max(1,e.canvas?.height??1)},i=0){if(t.hidden===!0||t.paintAuthored===!0&&t.color==null&&t.fill==null)return!1;let a=t.fill==null?t.color==null?`#000000`:`#${t.color}`:Vi(t.fill,e,r.x,r.y,r.w,r.h,i);return a==null?!1:(e.strokeStyle=a,e.lineWidth=t.widthEmu==null?Math.max(1,.75*n):Xo(t.widthEmu,n),e.setLineDash(Tf(t.dash??void 0,e.lineWidth)),e.lineCap=t.cap===`rnd`?`round`:t.cap===`sq`?`square`:`butt`,e.lineJoin=t.join===`round`||t.join===`bevel`?t.join:`miter`,!0)}function dd(e,t,n,r){let i=r?Ue(Ue(e.classicChartStyleRoles?.[n],r),e.linkedChartStyleRoles?.[n]??(e.classicChartStyleRoles==null?e.chartStyleRoles?.[n]:void 0)):e.chartStyleRoles?.[n],a=Z(e,n),o=t.paintAuthored===!0||t.fill!=null||t.color!=null||t.hidden===!0,s=gt(t.style,a,0),c=t.hidden===!0?vt(a):void 0,l=c===void 0?t.fill??(t.color?{fillType:`solid`,color:t.color}:s===void 0?t.paintAuthored===!0&&t.hidden!==!0?null:bt(i,a,0,t.style):s):c,u=Be(t.dash==null?void 0:{lineDash:t.dash,lineDashAuthored:!0},t.style,i);return{style:va(t.style,i),fill:l!=null&&l.fillType!==`solid`?l:null,color:l?.fillType===`solid`?l.color:null,paintAuthored:o?t.paintAuthored:l===void 0?void 0:!0,widthEmu:t.widthEmu??t.style?.lineWidthEmu??i?.lineWidthEmu??null,dash:u?.lineDash??null,cap:t.cap??t.style?.lineCap??i?.lineCap??null,join:t.join??t.style?.lineJoin??i?.lineJoin??null,hidden:l===null?!0:null}}function fd(e,t,n,r){let i=r?{fillColors:[n===`upBar`?r.upFillColor:r.downFillColor],fillPaintAuthored:!0,lineColors:[r.lineColor],linePaintAuthored:!0,lineWidthEmu:r.lineWidthEmu}:void 0,a=i?Ue(Ue(e.classicChartStyleRoles?.[n],i),e.linkedChartStyleRoles?.[n]??(e.classicChartStyleRoles==null?e.chartStyleRoles?.[n]:void 0)):e.chartStyleRoles?.[n],o=Z(e,n),s=t.fillPaintAuthored===!0||t.fillColor!=null||t.fill!=null||t.fillHidden===!0,c=t.linePaintAuthored===!0||t.lineColor!=null||t.lineHidden===!0,l=ht(t.style,o,0),u=gt(t.style,o,0),d=t.fillHidden===!0?_t(o):void 0,f=t.lineHidden===!0?vt(o):void 0,p=d===void 0?t.fill==null?t.fillColor==null?l===void 0?t.fillPaintAuthored===!0&&t.fillHidden!==!0?null:yt(a,o,0,t.style):l:{fillType:`solid`,color:t.fillColor}:t.fill:d,m=f===void 0?t.lineColor?{fillType:`solid`,color:t.lineColor}:u===void 0?t.linePaintAuthored===!0&&t.lineHidden!==!0?null:bt(a,o,0,t.style):u:f;return{style:va(t.style,a),fillColor:p?.fillType===`solid`?p.color:null,fill:p!=null&&p.fillType!==`solid`&&p.fillType!==`none`?p:null,fillPaintAuthored:s?t.fillPaintAuthored:p===void 0?void 0:!0,fillHidden:p===null?!0:null,lineColor:m?.fillType===`solid`?m.color:null,linePaintAuthored:c?t.linePaintAuthored:m===void 0?void 0:!0,lineWidthEmu:t.lineWidthEmu??a?.lineWidthEmu??null,lineDash:t.lineDash??a?.lineDash??null,lineCap:t.lineCap??a?.lineCap??null,lineJoin:t.lineJoin??a?.lineJoin??null,lineHidden:m===null?!0:null}}function pd(e,t,n,r,i,a,o){for(let s=0;s<n;s++){let n=1/0,c=-1/0,l=!1;for(let e of t){let t=o(e,s);if(t==null||!Number.isFinite(t))continue;let r=i(e)(t),u=a(e);!Number.isFinite(r)||!Number.isFinite(u)||(n=Math.min(n,r,u),c=Math.max(c,r,u),l=!0)}!l||Math.abs(c-n)<.01||(e.beginPath(),e.moveTo(r(s),n),e.lineTo(r(s),c),e.stroke())}}function md(e,t){let n=dd(e,{style:t.style,color:t.color,paintAuthored:t.linePaintAuthored,widthEmu:t.lineWidthEmu,dash:t.dash,hidden:t.hidden},`errorBar`);return{...t,color:n.color??void 0,lineWidthEmu:n.widthEmu??void 0,dash:n.dash??void 0,hidden:n.hidden??void 0,linePaintAuthored:n.paintAuthored}}function hd(e,t){return dd(e,{style:t.leaderLineStyle,color:t.leaderLineColor,paintAuthored:t.leaderLinePaintAuthored,widthEmu:t.leaderLineWidthEmu,dash:t.leaderLineDash,hidden:t.leaderLineHidden},`leaderLine`)}function gd(e,t){let n=dd(e,{style:t.style,color:t.lineColor,paintAuthored:t.linePaintAuthored,widthEmu:t.lineWidthEmu,dash:t.lineDash,hidden:t.lineHidden},`trendline`);return{...t,lineColor:n.color??void 0,lineWidthEmu:n.widthEmu??void 0,lineDash:n.dash??void 0,lineHidden:n.hidden??void 0,linePaintAuthored:n.paintAuthored}}function _d(e,t){let n=e.chartStyleRoles?.dataTable,r=Z(e,`dataTable`),i=dd(e,{style:t.style,color:t.lineColor,paintAuthored:t.linePaintAuthored,widthEmu:t.lineWidthEmu,dash:t.lineDash,hidden:t.lineHidden},`dataTable`),a=ht(t.style,r,0),o=t.fillHidden===!0?_t(r):void 0,s=o===void 0?t.fill??(t.fillColor?{fillType:`solid`,color:t.fillColor}:a===void 0?t.fillPaintAuthored===!0&&t.fillHidden!==!0?null:yt(n,r,0,t.style):a):o,c=s!=null&&s.fillType!==`solid`&&s.fillType!==`image`&&s.fillType!==`none`?s:null,l=s?.fillType===`solid`?s.color:null,u=s===null?!0:null,d=t.fillPaintAuthored??(s===void 0?void 0:!0),f=Nd(e,t.fontColor,t.fontPaintAuthored,n);return{...t,fontSizeHpt:t.fontSizeHpt??e.chartTextStyle?.fontSizeHpt??n?.fontSizeHpt,fontBold:t.fontBold??e.chartTextStyle?.fontBold??n?.fontBold,fontItalic:t.fontItalic??e.chartTextStyle?.fontItalic??n?.fontItalic,fontColor:f.color??void 0,fontPaintAuthored:f.authored,fontHidden:t.fontPaintAuthored===!0?t.fontHidden:n?.fontHidden,fontFace:t.fontFace??e.chartTextStyle?.fontFace??n?.fontFace,fill:c,fillColor:l,fillHidden:u,fillPaintAuthored:d,lineColor:i.color??void 0,lineWidthEmu:i.widthEmu??void 0,lineDash:i.dash??void 0,lineHidden:i.hidden??void 0,linePaintAuthored:i.paintAuthored}}function vd(e,t,n,r,i,a,o,s){if(n!==!0)return{visible:n,color:r,widthEmu:i,dash:a,paintAuthored:o};let c=dd(e,{style:s,color:r,widthEmu:i,dash:a,paintAuthored:o},t);return{visible:c.hidden!==!0&&!(c.paintAuthored===!0&&c.color==null),color:c.color,widthEmu:c.widthEmu,dash:c.dash,paintAuthored:c.paintAuthored}}function yd(e,t){if(!t||!e.chartStyleRoles?.gridlineMajor&&!e.chartStyleRoles?.gridlineMinor)return t;let n=vd(e,`gridlineMajor`,t.majorGridlines,t.majorGridlineColor,t.majorGridlineWidthEmu,t.majorGridlineDash,t.majorGridlinePaintAuthored,t.majorGridlineStyle),r=vd(e,`gridlineMinor`,t.minorGridlines,t.minorGridlineColor,t.minorGridlineWidthEmu,t.minorGridlineDash,t.minorGridlinePaintAuthored,t.minorGridlineStyle);return n.visible!==t.majorGridlines||n.color!==t.majorGridlineColor||n.widthEmu!==t.majorGridlineWidthEmu||n.dash!==t.majorGridlineDash||n.paintAuthored!==t.majorGridlinePaintAuthored||r.visible!==t.minorGridlines||r.color!==t.minorGridlineColor||r.widthEmu!==t.minorGridlineWidthEmu||r.dash!==t.minorGridlineDash||r.paintAuthored!==t.minorGridlinePaintAuthored?{...t,majorGridlines:n.visible??void 0,majorGridlineColor:n.color,majorGridlineWidthEmu:n.widthEmu,majorGridlineDash:n.dash,majorGridlinePaintAuthored:n.paintAuthored,minorGridlines:r.visible??void 0,minorGridlineColor:r.color,minorGridlineWidthEmu:r.widthEmu,minorGridlineDash:r.dash,minorGridlinePaintAuthored:r.paintAuthored}:t}function bd(e,t,n,r,i,a,o,s){return dd(e,{style:s,color:n,widthEmu:r,dash:i,paintAuthored:o,hidden:a?!0:void 0},t)}function xd(e){return e.hidden===!0||e.paintAuthored===!0&&e.color==null}function Sd(e,t,n){let r=e.chartStyleRoles?.[n];if(!t||!r&&!e.chartTextStyle)return t;let i=bd(e,n,t.lineColor,t.lineWidthEmu,t.lineDash,t.lineHidden,t.linePaintAuthored,t.style),a=xd(i),o=t.fontSizeHpt??e.chartTextStyle?.fontSizeHpt??r?.fontSizeHpt,s=t.fontBold??e.chartTextStyle?.fontBold??r?.fontBold,c=t.fontItalic??e.chartTextStyle?.fontItalic??r?.fontItalic,l=Nd(e,t.fontColor,t.fontPaintAuthored,r),u=l.color,d=t.fontFace??e.chartTextStyle?.fontFace??r?.fontFace,f=e.chartStyleRoles?.axisTitle,p=t.titleFontSizeHpt??e.chartTextStyle?.fontSizeHpt??f?.fontSizeHpt,m=t.titleFontBold??e.chartTextStyle?.fontBold??f?.fontBold,h=t.titleFontItalic??e.chartTextStyle?.fontItalic??f?.fontItalic,g=Nd(e,t.titleFontColor,t.titleFontPaintAuthored,f),_=g.color,v=t.titleFontFace??e.chartTextStyle?.fontFace??f?.fontFace;return i.color===t.lineColor&&i.widthEmu===t.lineWidthEmu&&i.dash===t.lineDash&&a===t.lineHidden&&o===t.fontSizeHpt&&s===t.fontBold&&c===t.fontItalic&&u===t.fontColor&&l.authored===t.fontPaintAuthored&&d===t.fontFace&&p===t.titleFontSizeHpt&&m===t.titleFontBold&&h===t.titleFontItalic&&_===t.titleFontColor&&g.authored===t.titleFontPaintAuthored&&v===t.titleFontFace?t:{...t,lineColor:i.color,lineWidthEmu:i.widthEmu,lineDash:i.dash,linePaintAuthored:i.paintAuthored,lineHidden:a,fontSizeHpt:o,fontBold:s,fontItalic:c,fontColor:u,fontPaintAuthored:l.authored,fontFace:d,titleFontSizeHpt:p,titleFontBold:m,titleFontItalic:h,titleFontColor:_,titleFontPaintAuthored:g.authored,titleFontFace:v}}function Cd(e){let t=e.threeD?.seriesAxis,n=e.chartStyleRoles?.seriesAxis;if(!t||!n&&!e.chartTextStyle)return e;let r=dd(e,{style:t.style,color:t.lineColor,widthEmu:t.lineWidthEmu,dash:t.lineDash,hidden:t.lineHidden?!0:void 0,paintAuthored:t.linePaintAuthored},`seriesAxis`),i=xd(r),a=t.fontSizeHpt??e.chartTextStyle?.fontSizeHpt??n?.fontSizeHpt,o=t.fontBold??e.chartTextStyle?.fontBold??n?.fontBold,s=t.fontItalic??e.chartTextStyle?.fontItalic??n?.fontItalic,c=Nd(e,t.fontColor,t.fontPaintAuthored,n),l=c.color,u=t.fontFace??e.chartTextStyle?.fontFace??n?.fontFace,d=e.chartStyleRoles?.axisTitle,f=t.titleFontSizeHpt??e.chartTextStyle?.fontSizeHpt??d?.fontSizeHpt,p=t.titleFontBold??e.chartTextStyle?.fontBold??d?.fontBold,m=t.titleFontItalic??e.chartTextStyle?.fontItalic??d?.fontItalic,h=Nd(e,t.titleFontColor,t.titleFontPaintAuthored,d),g=h.color,_=t.titleFontFace??e.chartTextStyle?.fontFace??d?.fontFace;return r.color===t.lineColor&&r.widthEmu===t.lineWidthEmu&&r.dash===t.lineDash&&i===t.lineHidden&&a===t.fontSizeHpt&&o===t.fontBold&&s===t.fontItalic&&l===t.fontColor&&c.authored===t.fontPaintAuthored&&u===t.fontFace&&f===t.titleFontSizeHpt&&p===t.titleFontBold&&m===t.titleFontItalic&&g===t.titleFontColor&&h.authored===t.titleFontPaintAuthored&&_===t.titleFontFace?e:{...e,threeD:{...e.threeD,seriesAxis:{...t,lineColor:r.color,lineWidthEmu:r.widthEmu,lineDash:r.dash,lineHidden:i,fontSizeHpt:a,fontBold:o,fontItalic:s,fontColor:l,fontPaintAuthored:c.authored,fontFace:u,titleFontSizeHpt:f,titleFontBold:p,titleFontItalic:m,titleFontColor:g,titleFontPaintAuthored:h.authored,titleFontFace:_}}}}function wd(e,t,n){if(n?.kind===`bubble`||n==null&&e.chartType===`bubble`)return!1;let r=n?.kind===`scatter`?`scatter`:t.seriesType??e.chartType;return r===`line`||r===`stackedLine`||r===`stackedLinePct`||r===`area`||r===`stackedArea`||r===`stackedAreaPct`||r===`scatter`||r===`radar`||r===`stock`}function Td(e,t,n,r,i){let a=Ge(e,n)?void 0:e.chartStyleRoles?.dataPointMarker,o=Ge(e,n)?void 0:Z(e,`dataPointMarker`);if(!wd(e,t,i)||(t.showMarker===!1||t.markerSymbol===`none`)&&!Xn(t))return t;let s=Af(t,n),c=ht(t.markerStyle,o,s),l=t.markerFillPaintAuthored===!0&&t.markerStyle?.fillHidden!==!0||t.markerFill!=null||t.markerFillPaint!==void 0||c!==void 0,u=l?c:yt(a,o,s,t.markerStyle),d=t.markerFill??(u?.fillType===`solid`?u.color:u===null?`00000000`:null),f=t.markerFillPaint===void 0?u?.fillType===`gradient`||u?.fillType===`pattern`||u?.fillType===`image`?u:void 0:t.markerFillPaint,p=l?t.markerFillPaintAuthored:u===void 0?void 0:!0,m=gt(t.markerStyle,o,s),h=t.markerLine!=null||t.markerLinePaintAuthored===!0&&t.markerStyle?.lineHidden!==!0||m!==void 0,g=h?m:bt(a,o,s,t.markerStyle),_=t.markerLine??(g?.fillType===`solid`?g.color:g===null||h?`00000000`:null),v=t.markerLineWidthEmu??t.markerStyle?.lineWidthEmu??a?.lineWidthEmu??null,y=t.markerSize??e.chartStyleMarkerSizePt,b=t.markerSymbol??e.chartStyleMarkerSymbol,x=t.dataPointOverrides?.map(e=>{if(!Hn(e))return e;let n=ht(e.markerStyle,o,e.idx),r=gt(e.markerStyle,o,e.idx),i=e.markerFillPaintAuthored===!0&&e.markerStyle?.fillHidden!==!0||e.markerFill!=null||e.markerFillPaint!==void 0||n!==void 0,c=e.markerLine!=null||e.markerLinePaintAuthored===!0&&e.markerStyle?.lineHidden!==!0||r!==void 0,d=i?void 0:l?u:yt(a,o,s,t.markerStyle),f=e.markerFill??(n?.fillType===`solid`?n.color:n===null?`00000000`:void 0)??(d?.fillType===`solid`?d.color:d===null?`00000000`:void 0),p=e.markerFillPaint===void 0?n?.fillType===`gradient`||n?.fillType===`pattern`||n?.fillType===`image`?n:d?.fillType===`gradient`||d?.fillType===`pattern`||d?.fillType===`image`?d:void 0:e.markerFillPaint,m=e.markerLine??(r?.fillType===`solid`?r.color:r===null?`00000000`:void 0)??(c?`00000000`:g?.fillType===`solid`?g.color:g===null?`00000000`:void 0),_=e.markerLineWidthEmu??e.markerStyle?.lineWidthEmu??(!c&&!h?a?.lineWidthEmu??void 0:void 0);return f===e.markerFill&&p===e.markerFillPaint&&m===e.markerLine&&_===e.markerLineWidthEmu?e:{...e,markerFill:f,markerFillPaint:p,markerFillPaintAuthored:e.markerFillPaintAuthored??(d===void 0?void 0:!0),markerLine:m,markerLinePaintAuthored:c?e.markerLinePaintAuthored:void 0,markerLineWidthEmu:_}});return d===t.markerFill&&f===t.markerFillPaint&&p===t.markerFillPaintAuthored&&_===t.markerLine&&v===t.markerLineWidthEmu&&y===t.markerSize&&b===t.markerSymbol&&x?.every((e,n)=>e===t.dataPointOverrides?.[n])!==!1?t:{...t,markerFill:d,markerFillPaint:f,markerFillPaintAuthored:p,markerLine:_,markerLinePaintAuthored:h?t.markerLinePaintAuthored:void 0,markerLineWidthEmu:v,markerSize:y,markerSymbol:b,dataPointOverrides:x}}function Ed(e,t,n,r,i=0,a=i){if(!n)return t;let{color:o,fill:s,hidden:c}=t,l=c===!0?vt(r):void 0,u=gt(t.style,r,i),d=s!=null||o!=null||l!==void 0||u!==void 0||t.paintAuthored===!0&&c!==!0,f=n.lineNoStyle!==!0&&(n.linePaintAuthored===!0||n.lineHidden===!0||n.linePaints!=null||n.lineColors!=null);if(!d){let e=pt(n,a);e===null?c=!0:e?.fillType===`solid`?(o=e.color,s=null,c=null):e!==void 0&&(s=e,o=null,c=null)}else if(l!==void 0)c=!0,o=null,s=null;else if(s!=null||o!=null)c=null;else if(s==null&&o==null){let e=u===void 0?t.paintAuthored===!0?null:void 0:u;e===null?c=!0:e?.fillType===`solid`?(o=e.color,s=null,c=null):e!==void 0&&(s=e,o=null,c=null)}let p=t.dash,m=t.customDash,h=t.dashAuthored;return h!==!0&&p==null&&m==null&&(p=n.lineDash,m=n.lineCustomDash,h=n.lineDashAuthored),{color:o,fill:s,hidden:c,paintAuthored:d||f?!0:t.paintAuthored,widthEmu:t.widthEmu??t.style?.lineWidthEmu??n.lineWidthEmu,dash:p,dashAuthored:h,customDash:m,cap:t.cap??t.style?.lineCap??n.lineCap,join:t.join??t.style?.lineJoin??n.lineJoin,compound:t.compound??t.style?.lineCompound??n.lineCompound}}function Dd(e,t,n,r,i,a=0){if(!n||!t&&!i)return t??void 0;let o=t??{},s=po(o,n,r,i,0,a),c=Ed(e,{style:o.style,color:o.borderColor,fill:o.borderFill,widthEmu:o.borderWidthEmu,dash:o.borderDash,dashAuthored:o.borderDashAuthored,customDash:o.borderCustomDash,cap:o.borderCap,join:o.borderJoin,compound:o.borderCompound,hidden:o.borderHidden,paintAuthored:o.borderPaintAuthored},n,r,0,a);return{...o,style:o.style,effectFallbackStyle:n,effectStyleIndex:0,effectFallbackIndex:a,...s,borderColor:c.color??void 0,borderFill:c.fill??void 0,borderWidthEmu:c.widthEmu??void 0,borderDash:c.dash??void 0,borderDashAuthored:c.dashAuthored??void 0,borderCustomDash:c.customDash??void 0,borderCap:c.cap??void 0,borderJoin:c.join??void 0,borderCompound:c.compound??void 0,borderHidden:c.hidden??void 0,borderPaintAuthored:c.paintAuthored??void 0}}function Od(e,t,n){let r=mo(t.labelBox),i=r?e.chartStyleRoles?.dataLabelCallout??e.chartStyleRoles?.dataLabel:e.chartStyleRoles?.dataLabel,a=r?Z(e,`dataLabelCallout`)??Z(e,`dataLabel`):Z(e,`dataLabel`),o=i?Dd(e,t.labelBox,i,a,!0,n):t.labelBox,s=t.fontPaintAuthored===!0||t.fontColor!=null||t.fontHidden===!0,c=Nd(e,t.fontColor,t.fontPaintAuthored,i,n);return{...t,fontSizeHpt:t.fontSizeHpt??e.chartTextStyle?.fontSizeHpt??i?.fontSizeHpt??void 0,fontBold:t.fontBold??e.chartTextStyle?.fontBold??i?.fontBold??void 0,fontItalic:t.fontItalic??e.chartTextStyle?.fontItalic??i?.fontItalic??void 0,fontColor:c.color??void 0,fontPaintAuthored:c.authored,fontHidden:s?t.fontHidden:e.chartTextStyle?.fontHidden??i?.fontHidden??void 0,fontFace:t.fontFace??e.chartTextStyle?.fontFace??i?.fontFace??void 0,fontLanguage:t.fontLanguage??e.chartTextStyle?.fontLanguage??i?.fontLanguage??void 0,fontBaseline:t.fontBaseline??e.chartTextStyle?.fontBaseline??i?.fontBaseline??void 0,textRotation:t.textRotation??e.chartTextStyle?.textRotation??i?.textRotation??void 0,textWrap:t.textWrap??e.chartTextStyle?.textWrap??i?.textWrap??void 0,textVerticalAnchor:t.textVerticalAnchor??e.chartTextStyle?.textVerticalAnchor??i?.textVerticalAnchor??void 0,textVerticalMode:t.textVerticalMode??e.chartTextStyle?.textVerticalMode??i?.textVerticalMode??void 0,textLInsEmu:t.textLInsEmu??e.chartTextStyle?.textLInsEmu??i?.textLInsEmu??void 0,textTInsEmu:t.textTInsEmu??e.chartTextStyle?.textTInsEmu??i?.textTInsEmu??void 0,textRInsEmu:t.textRInsEmu??e.chartTextStyle?.textRInsEmu??i?.textRInsEmu??void 0,textBInsEmu:t.textBInsEmu??e.chartTextStyle?.textBInsEmu??i?.textBInsEmu??void 0,textBodyAuthored:t.textBodyAuthored===!0||e.chartTextStyle?.textBodyAuthored===!0||i?.textBodyAuthored===!0||void 0,labelBox:o}}function kd(e,t,n){let r=e.chartStyleRoles?.trendlineLabel,i=Z(e,`trendlineLabel`),a=t.labelFontPaintAuthored===!0||t.labelFontColor!=null||t.labelFontHidden===!0,o=Nd(e,t.labelFontColor,t.labelFontPaintAuthored,r,n);return{...t,labelBox:r?Dd(e,t.labelBox,r,i,!0,n):t.labelBox,labelFontSizeHpt:t.labelFontSizeHpt??e.chartTextStyle?.fontSizeHpt??r?.fontSizeHpt??void 0,labelFontBold:t.labelFontBold??e.chartTextStyle?.fontBold??r?.fontBold??void 0,labelFontItalic:t.labelFontItalic??e.chartTextStyle?.fontItalic??r?.fontItalic??void 0,labelFontColor:o.color??void 0,labelFontPaintAuthored:o.authored,labelFontHidden:a?t.labelFontHidden:e.chartTextStyle?.fontHidden??r?.fontHidden??void 0,labelFontFace:t.labelFontFace??e.chartTextStyle?.fontFace??r?.fontFace??void 0,labelFontLanguage:t.labelFontLanguage??e.chartTextStyle?.fontLanguage??r?.fontLanguage??void 0,labelFontBaseline:t.labelFontBaseline??e.chartTextStyle?.fontBaseline??r?.fontBaseline??void 0,labelTextRotation:t.labelTextRotation??e.chartTextStyle?.textRotation??r?.textRotation??void 0,labelTextWrap:t.labelTextWrap??e.chartTextStyle?.textWrap??r?.textWrap??void 0,labelTextVerticalAnchor:t.labelTextVerticalAnchor??e.chartTextStyle?.textVerticalAnchor??r?.textVerticalAnchor??void 0,labelTextVerticalMode:t.labelTextVerticalMode??e.chartTextStyle?.textVerticalMode??r?.textVerticalMode??void 0,labelTextLInsEmu:t.labelTextLInsEmu??e.chartTextStyle?.textLInsEmu??r?.textLInsEmu??void 0,labelTextTInsEmu:t.labelTextTInsEmu??e.chartTextStyle?.textTInsEmu??r?.textTInsEmu??void 0,labelTextRInsEmu:t.labelTextRInsEmu??e.chartTextStyle?.textRInsEmu??r?.textRInsEmu??void 0,labelTextBInsEmu:t.labelTextBInsEmu??e.chartTextStyle?.textBInsEmu??r?.textBInsEmu??void 0,labelTextBodyAuthored:t.labelTextBodyAuthored===!0||e.chartTextStyle?.textBodyAuthored===!0||r?.textBodyAuthored===!0||void 0}}function Ad(e,t,n){let r=ho(t.labelBox,n?.labelBox),i=mo(r),a=i?e.chartStyleRoles?.dataLabelCallout??e.chartStyleRoles?.dataLabel:e.chartStyleRoles?.dataLabel,o=i?Z(e,`dataLabelCallout`)??Z(e,`dataLabel`):Z(e,`dataLabel`),s=a?Dd(e,r,a,o,!0,t.idx):r,c=t.fontPaintAuthored===!0||t.fontColor!=null||t.fontHidden===!0,l=n?.fontPaintAuthored===!0||n?.fontColor!=null||n?.fontHidden===!0,u=Nd(e,c?t.fontColor:l?n?.fontColor:void 0,c?t.fontPaintAuthored:n?.fontPaintAuthored,a,t.idx);return{...t,fontSizeHpt:t.fontSizeHpt??n?.fontSizeHpt??e.chartTextStyle?.fontSizeHpt??a?.fontSizeHpt??void 0,fontBold:t.fontBold??n?.fontBold??e.chartTextStyle?.fontBold??a?.fontBold??void 0,fontItalic:t.fontItalic??n?.fontItalic??e.chartTextStyle?.fontItalic??a?.fontItalic??void 0,fontColor:u.color??void 0,fontPaintAuthored:u.authored,fontHidden:c?t.fontHidden:l?n?.fontHidden:e.chartTextStyle?.fontHidden??a?.fontHidden??void 0,fontFace:t.fontFace??n?.fontFace??e.chartTextStyle?.fontFace??a?.fontFace??void 0,fontLanguage:t.fontLanguage??n?.fontLanguage??e.chartTextStyle?.fontLanguage??a?.fontLanguage??void 0,fontBaseline:t.fontBaseline??n?.fontBaseline??e.chartTextStyle?.fontBaseline??a?.fontBaseline??void 0,textRotation:t.textRotation??n?.textRotation??e.chartTextStyle?.textRotation??a?.textRotation??void 0,textWrap:t.textWrap??n?.textWrap??e.chartTextStyle?.textWrap??a?.textWrap??void 0,textVerticalAnchor:t.textVerticalAnchor??n?.textVerticalAnchor??e.chartTextStyle?.textVerticalAnchor??a?.textVerticalAnchor??void 0,textVerticalMode:t.textVerticalMode??n?.textVerticalMode??e.chartTextStyle?.textVerticalMode??a?.textVerticalMode??void 0,textLInsEmu:t.textLInsEmu??n?.textLInsEmu??e.chartTextStyle?.textLInsEmu??a?.textLInsEmu??void 0,textTInsEmu:t.textTInsEmu??n?.textTInsEmu??e.chartTextStyle?.textTInsEmu??a?.textTInsEmu??void 0,textRInsEmu:t.textRInsEmu??n?.textRInsEmu??e.chartTextStyle?.textRInsEmu??a?.textRInsEmu??void 0,textBInsEmu:t.textBInsEmu??n?.textBInsEmu??e.chartTextStyle?.textBInsEmu??a?.textBInsEmu??void 0,textBodyAuthored:t.textBodyAuthored===!0||n?.textBodyAuthored===!0||e.chartTextStyle?.textBodyAuthored===!0||a?.textBodyAuthored===!0||void 0,textAlign:t.textAlign??n?.textAlign,labelBox:s}}function jd(e){let t=e.chartStyleRoles?.legend,n=Z(e,`legend`);if(!t&&!e.chartTextStyle)return e;let r=e.legendFill,i=e.legendFillColor,a=e.legendFillHidden,o=e.legendFillPaintAuthored,s=a===!0?_t(n):void 0;if(!(r!=null||i!=null||s!==void 0||e.legendFillPaintAuthored===!0&&a!==!0)){let s=yt(t,n,0,e.legendStyle);s===null?a=!0:s?.fillType===`solid`?(i=s.color,r=null,a=null):s!==void 0&&(r=s,i=null,a=null),s!==void 0&&(o=!0)}let c=Ed(e,{style:e.legendStyle,color:e.legendLineColor,fill:e.legendLineFill,widthEmu:e.legendLineWidthEmu,dash:e.legendLineDash,dashAuthored:e.legendLineDashAuthored,customDash:e.legendLineCustomDash,cap:e.legendLineCap,join:e.legendLineJoin,compound:e.legendLineCompound,hidden:e.legendLineHidden,paintAuthored:e.legendLinePaintAuthored},t,Z(e,`legend`)),l=Nd(e,e.legendFontColor,e.legendFontPaintAuthored,t);return r===e.legendFill&&i===e.legendFillColor&&a===e.legendFillHidden&&o===e.legendFillPaintAuthored&&c.color===e.legendLineColor&&c.fill===e.legendLineFill&&c.widthEmu===e.legendLineWidthEmu&&c.dash===e.legendLineDash&&c.dashAuthored===e.legendLineDashAuthored&&c.customDash===e.legendLineCustomDash&&c.cap===e.legendLineCap&&c.join===e.legendLineJoin&&c.compound===e.legendLineCompound&&c.hidden===e.legendLineHidden&&c.paintAuthored===e.legendLinePaintAuthored&&(e.legendFontSizeHpt??e.chartTextStyle?.fontSizeHpt??t?.fontSizeHpt)===e.legendFontSizeHpt&&(e.legendFontBold??e.chartTextStyle?.fontBold??t?.fontBold)===e.legendFontBold&&(e.legendFontItalic??e.chartTextStyle?.fontItalic??t?.fontItalic)===e.legendFontItalic&&(e.legendFontLanguage??e.chartTextStyle?.fontLanguage??t?.fontLanguage)===e.legendFontLanguage&&(e.legendFontBaseline??e.chartTextStyle?.fontBaseline??t?.fontBaseline)===e.legendFontBaseline&&l.color===e.legendFontColor&&l.authored===e.legendFontPaintAuthored&&(e.legendFontFace??e.chartTextStyle?.fontFace??t?.fontFace)===e.legendFontFace?e:{...e,legendFontSizeHpt:e.legendFontSizeHpt??e.chartTextStyle?.fontSizeHpt??t?.fontSizeHpt,legendFontBold:e.legendFontBold??e.chartTextStyle?.fontBold??t?.fontBold,legendFontItalic:e.legendFontItalic??e.chartTextStyle?.fontItalic??t?.fontItalic,legendFontLanguage:e.legendFontLanguage??e.chartTextStyle?.fontLanguage??t?.fontLanguage,legendFontBaseline:e.legendFontBaseline??e.chartTextStyle?.fontBaseline??t?.fontBaseline,legendFontColor:l.color,legendFontPaintAuthored:l.authored,legendFontFace:e.legendFontFace??e.chartTextStyle?.fontFace??t?.fontFace,legendFill:r,legendFillColor:i,legendFillHidden:a,legendFillPaintAuthored:o,legendLineColor:c.color,legendLineFill:c.fill,legendLineWidthEmu:c.widthEmu,legendLineDash:c.dash,legendLineDashAuthored:c.dashAuthored,legendLineCustomDash:c.customDash,legendLineCap:c.cap,legendLineJoin:c.join,legendLineCompound:c.compound,legendLineHidden:c.hidden,legendLinePaintAuthored:c.paintAuthored}}function Md(e,t,n,r=0){return t===!0||e!=null?{color:e??`00000000`,authored:!0}:n&&(n.fontPaintAuthored===!0||n.fontColor!=null||n.fontColors!=null||n.fontHidden===!0)?{color:n.fontHidden===!0?`00000000`:lt(n,r)??`00000000`,authored:!0}:{color:e,authored:void 0}}function Nd(e,t,n,r,i=0){let a=Md(t,n,e.chartTextStyle,i);return a.authored===!0||a.color!=null?a:Md(t,n,r,i)}function Pd(e){let t=e.threeD?e.chartStyleRoles?.plotArea3D:e.chartStyleRoles?.plotArea,n=Z(e,e.threeD?`plotArea3D`:`plotArea`);if(!t)return e;let r=e.plotAreaFill,i=e.plotAreaBg,a=e.plotAreaFillHidden,o=e.plotAreaFillPaintAuthored,s=a===!0?_t(n):void 0;if(!((r!=null||i!=null)&&e.plotAreaFillAutomatic!==!0||s!==void 0||e.plotAreaFillPaintAuthored===!0&&a!==!0)){let s=yt(t,n,0,e.plotAreaStyle);s===null?a=!0:s?.fillType===`solid`?(i=s.color,r=null,a=null):s!==void 0&&(r=s,i=null,a=null),s!==void 0&&(o=!0)}let c=Ed(e,{style:e.plotAreaStyle,color:e.plotAreaLineColor,fill:e.plotAreaLineFill,widthEmu:e.plotAreaLineWidthEmu,dash:e.plotAreaLineDash,dashAuthored:e.plotAreaLineDashAuthored,customDash:e.plotAreaLineCustomDash,cap:e.plotAreaLineCap,join:e.plotAreaLineJoin,compound:e.plotAreaLineCompound,hidden:e.plotAreaLineHidden,paintAuthored:e.plotAreaLinePaintAuthored},t,Z(e,e.threeD?`plotArea3D`:`plotArea`));return r===e.plotAreaFill&&i===e.plotAreaBg&&a===e.plotAreaFillHidden&&o===e.plotAreaFillPaintAuthored&&c.color===e.plotAreaLineColor&&c.fill===e.plotAreaLineFill&&c.widthEmu===e.plotAreaLineWidthEmu&&c.dash===e.plotAreaLineDash&&c.dashAuthored===e.plotAreaLineDashAuthored&&c.customDash===e.plotAreaLineCustomDash&&c.cap===e.plotAreaLineCap&&c.join===e.plotAreaLineJoin&&c.compound===e.plotAreaLineCompound&&c.hidden===e.plotAreaLineHidden&&c.paintAuthored===e.plotAreaLinePaintAuthored?e:{...e,plotAreaFill:r,plotAreaBg:i,plotAreaFillHidden:a,plotAreaFillPaintAuthored:o,plotAreaLineColor:c.color,plotAreaLineFill:c.fill,plotAreaLineWidthEmu:c.widthEmu,plotAreaLineDash:c.dash,plotAreaLineDashAuthored:c.dashAuthored,plotAreaLineCustomDash:c.customDash,plotAreaLineCap:c.cap,plotAreaLineJoin:c.join,plotAreaLineCompound:c.compound,plotAreaLineHidden:c.hidden,plotAreaLinePaintAuthored:c.paintAuthored}}function Fd(e){let t=e.chartStyleRoles?.chartArea,n=Z(e,`chartArea`);if(!t)return e;let r=e.chartFill,i=e.chartBg,a=e.chartFillHidden,o=e.chartFillPaintAuthored,s=a===!0?_t(n):void 0;if(!(r!=null||s!==void 0||e.chartFillPaintAuthored===!0&&a!==!0)){let s=yt(t,n,0,e.chartAreaStyle);s===null?(r=null,i=null,a=!0):s?.fillType===`solid`?(i=s.color,r=null,a=null):s!==void 0&&(r=s,i=null,a=null),s!==void 0&&(o=!0)}let c=Ed(e,{style:e.chartAreaStyle,color:e.chartBorderColor,fill:e.chartBorderLineFill,widthEmu:e.chartBorderWidthEmu,dash:e.chartBorderDash,dashAuthored:e.chartBorderDashAuthored,customDash:e.chartBorderCustomDash,cap:e.chartBorderCap,join:e.chartBorderJoin,compound:e.chartBorderCompound,hidden:e.chartBorderHidden,paintAuthored:e.chartBorderPaintAuthored},t,Z(e,`chartArea`));return r===e.chartFill&&i===e.chartBg&&a===e.chartFillHidden&&o===e.chartFillPaintAuthored&&c.color===e.chartBorderColor&&c.fill===e.chartBorderLineFill&&c.widthEmu===e.chartBorderWidthEmu&&c.dash===e.chartBorderDash&&c.dashAuthored===e.chartBorderDashAuthored&&c.customDash===e.chartBorderCustomDash&&c.cap===e.chartBorderCap&&c.join===e.chartBorderJoin&&c.compound===e.chartBorderCompound&&c.hidden===e.chartBorderHidden&&c.paintAuthored===e.chartBorderPaintAuthored?e:{...e,chartFill:r,chartBg:i,chartFillHidden:a,chartFillPaintAuthored:o,chartBorderColor:c.color,chartBorderLineFill:c.fill,chartBorderWidthEmu:c.widthEmu,chartBorderDash:c.dash,chartBorderDashAuthored:c.dashAuthored,chartBorderCustomDash:c.customDash,chartBorderCap:c.cap,chartBorderJoin:c.join,chartBorderCompound:c.compound,chartBorderHidden:c.hidden,chartBorderPaintAuthored:c.paintAuthored}}function Id(e,t){let n=e.chartStyleRoles;if(!n||!(Number.isFinite(t)&&t>0))return e;let r=Dt/t,i=!1,a=new Set([`categoryAxis`,`seriesAxis`,`valueAxis`,`gridlineMajor`,`gridlineMinor`]),o=Object.fromEntries(Object.entries(n).map(([e,t])=>!a.has(e)||!t||t.lineWidthEmu==null||!Number.isFinite(t.lineWidthEmu)||t.lineWidthEmu<=0||t.lineWidthEmu>=r?[e,t]:(i=!0,[e,{...t,lineWidthEmu:r}])));return i?{...e,chartStyleRoles:o}:e}function Ld(e,t){if(e=Id(e,t),!e.chartStyleRoles?.errorBar&&!e.chartStyleRoles?.leaderLine&&!e.chartStyleRoles?.trendline&&!e.chartStyleRoles?.trendlineLabel&&!e.chartStyleRoles?.dataLabel&&!e.chartStyleRoles?.dataLabelCallout&&!e.chartStyleRoles?.dataTable&&!e.chartStyleRoles?.gridlineMajor&&!e.chartStyleRoles?.gridlineMinor&&!e.chartStyleRoles?.categoryAxis&&!e.chartStyleRoles?.valueAxis&&!e.chartStyleRoles?.seriesAxis&&!e.chartStyleRoles?.dataPointMarker&&!e.chartStyleRoles?.legend&&!e.chartStyleRoles?.plotArea&&!e.chartStyleRoles?.plotArea3D&&!e.chartStyleRoles?.chartArea&&!e.chartStyleRoles?.title&&!e.chartStyleRoles?.axisTitle&&e.chartTextStyle==null&&e.chartStyleMarkerSizePt==null&&e.chartStyleMarkerSymbol==null)return e;let n=!1,r=cr(e),i=e.series.map((t,i)=>{let a=Td(e,t,i,e.series.length,r[i]);n||=a!==t;let o=e.chartStyleRoles?.errorBar?a.errBars?.map(t=>{let r=md(e,t);return n||=r.color!==t.color||r.lineWidthEmu!==t.lineWidthEmu||r.dash!==t.dash||r.hidden!==t.hidden,r}):a.errBars,s=a.seriesDataLabels;if(s&&(e.chartTextStyle||e.chartStyleRoles?.dataLabel||e.chartStyleRoles?.dataLabelCallout)){let t=Od(e,s,Af(a,i));n||=t!==s,s=t}let c=e.chartTextStyle||e.chartStyleRoles?.dataLabelCallout||e.chartStyleRoles?.dataLabel?a.dataLabelOverrides?.map(r=>{let i=Ad(e,r,t.seriesDataLabels);return n||=i!==r,i}):a.dataLabelOverrides;if(s&&e.chartStyleRoles?.leaderLine){let t=hd(e,s),r={...s,leaderLineColor:t.color??void 0,leaderLineWidthEmu:t.widthEmu??void 0,leaderLineDash:t.dash??void 0,leaderLineHidden:t.hidden??void 0,leaderLinePaintAuthored:t.paintAuthored};n||=r.leaderLineColor!==s.leaderLineColor||r.leaderLineWidthEmu!==s.leaderLineWidthEmu||r.leaderLineDash!==s.leaderLineDash||r.leaderLineHidden!==s.leaderLineHidden||r.leaderLinePaintAuthored!==s.leaderLinePaintAuthored,s=r}let l=e.chartStyleRoles?.trendline||e.chartTextStyle||e.chartStyleRoles?.trendlineLabel?a.trendLines?.map(t=>{let r=e.chartStyleRoles?.trendline?gd(e,t):t;return(e.chartTextStyle||e.chartStyleRoles?.trendlineLabel)&&(r=kd(e,r,Af(a,i))),n||=r.lineColor!==t.lineColor||r.lineWidthEmu!==t.lineWidthEmu||r.lineDash!==t.lineDash||r.lineHidden!==t.lineHidden||r!==t,r}):a.trendLines;return o===a.errBars&&s===a.seriesDataLabels&&c===a.dataLabelOverrides&&l===a.trendLines?a:{...a,errBars:o,seriesDataLabels:s,dataLabelOverrides:c,trendLines:l}}),a=e.dataTable;if(a&&(e.chartStyleRoles?.dataTable||e.chartTextStyle)){let t=_d(e,a);n||=t!==a,a=t}let o=vd(e,`gridlineMajor`,e.valAxisMajorGridlines,e.valAxisGridlineColor,e.valAxisGridlineWidthEmu,e.valAxisGridlineDash,e.valAxisGridlinePaintAuthored,e.valAxisMajorGridlineStyle),s=vd(e,`gridlineMajor`,e.catAxisMajorGridlines,e.catAxisGridlineColor,e.catAxisGridlineWidthEmu,e.catAxisGridlineDash,e.catAxisGridlinePaintAuthored,e.catAxisMajorGridlineStyle),c=vd(e,`gridlineMinor`,e.valAxisMinorGridlines,e.valAxisMinorGridlineColor,e.valAxisMinorGridlineWidthEmu,e.valAxisMinorGridlineDash,e.valAxisMinorGridlinePaintAuthored,e.valAxisMinorGridlineStyle),l=vd(e,`gridlineMinor`,e.catAxisMinorGridlines,e.catAxisMinorGridlineColor,e.catAxisMinorGridlineWidthEmu,e.catAxisMinorGridlineDash,e.catAxisMinorGridlinePaintAuthored,e.catAxisMinorGridlineStyle),u=yd(e,e.secondaryValAxis),d=yd(e,e.secondaryCatAxis),f=Sd(e,u,`valueAxis`),p=Sd(e,d,`categoryAxis`),m=bd(e,`categoryAxis`,e.catAxisLineColor,e.catAxisLineWidthEmu,e.catAxisLineDash,e.catAxisLineHidden,e.catAxisLinePaintAuthored,e.catAxisStyle),h=bd(e,`valueAxis`,e.valAxisLineColor,e.valAxisLineWidthEmu,e.valAxisLineDash,e.valAxisLineHidden,e.valAxisLinePaintAuthored,e.valAxisStyle),g=xd(m),_=xd(h),v=e.chartStyleRoles?.categoryAxis,y=e.chartStyleRoles?.valueAxis,b=e.chartStyleRoles?.title,x=e.chartStyleRoles?.axisTitle,S=e.chartStyleRoles?.dataLabel,C=e.catAxisFontSizeHpt??e.chartTextStyle?.fontSizeHpt??v?.fontSizeHpt??null,w=e.catAxisFontBold??e.chartTextStyle?.fontBold??v?.fontBold,T=e.catAxisFontItalic??e.chartTextStyle?.fontItalic??v?.fontItalic,E=Nd(e,e.catAxisFontColor,e.catAxisFontPaintAuthored,v),D=E.color,O=e.catAxisFontFace??e.chartTextStyle?.fontFace??v?.fontFace,k=e.valAxisFontSizeHpt??e.chartTextStyle?.fontSizeHpt??y?.fontSizeHpt??null,A=e.valAxisFontBold??e.chartTextStyle?.fontBold??y?.fontBold,j=e.valAxisFontItalic??e.chartTextStyle?.fontItalic??y?.fontItalic,M=Nd(e,e.valAxisFontColor,e.valAxisFontPaintAuthored,y),N=M.color,P=e.valAxisFontFace??e.chartTextStyle?.fontFace??y?.fontFace,F=e.titleFontSizeHpt??e.chartTextStyle?.fontSizeHpt??b?.fontSizeHpt??null,I=e.titleFontBold??e.chartTextStyle?.fontBold??b?.fontBold,L=e.titleFontItalic??e.chartTextStyle?.fontItalic??b?.fontItalic,R=e.titleFontLanguage??e.chartTextStyle?.fontLanguage??b?.fontLanguage,z=e.titleFontBaseline??e.chartTextStyle?.fontBaseline??b?.fontBaseline,B=Nd(e,e.titleFontColor,e.titleFontPaintAuthored,b),V=B.color??null,H=e.titleFontFace??e.chartTextStyle?.fontFace??b?.fontFace??null,ee=e.catAxisTitleFontSizeHpt??e.chartTextStyle?.fontSizeHpt??x?.fontSizeHpt,U=e.catAxisTitleFontBold??e.chartTextStyle?.fontBold??x?.fontBold,W=e.catAxisTitleFontItalic??e.chartTextStyle?.fontItalic??x?.fontItalic,te=Nd(e,e.catAxisTitleFontColor,e.catAxisTitleFontPaintAuthored,x),G=te.color,ne=e.catAxisTitleFontFace??e.chartTextStyle?.fontFace??x?.fontFace,re=e.valAxisTitleFontSizeHpt??e.chartTextStyle?.fontSizeHpt??x?.fontSizeHpt,ie=e.valAxisTitleFontBold??e.chartTextStyle?.fontBold??x?.fontBold,ae=e.valAxisTitleFontItalic??e.chartTextStyle?.fontItalic??x?.fontItalic,oe=Nd(e,e.valAxisTitleFontColor,e.valAxisTitleFontPaintAuthored,x),se=oe.color,ce=e.valAxisTitleFontFace??e.chartTextStyle?.fontFace??x?.fontFace,le=e.dataLabelFontSizeHpt??e.chartTextStyle?.fontSizeHpt??S?.fontSizeHpt??null,ue=e.dataLabelFontBold??e.chartTextStyle?.fontBold??S?.fontBold,de=e.dataLabelFontItalic??e.chartTextStyle?.fontItalic??S?.fontItalic,fe=e.dataLabelFontLanguage??e.chartTextStyle?.fontLanguage??S?.fontLanguage,pe=e.dataLabelFontBaseline??e.chartTextStyle?.fontBaseline??S?.fontBaseline,me=Nd(e,e.dataLabelFontColor,e.dataLabelFontPaintAuthored,S),he=me.color,ge=e.dataLabelFontFace??e.chartTextStyle?.fontFace??S?.fontFace;return n||=o.visible!==e.valAxisMajorGridlines||o.color!==e.valAxisGridlineColor||o.widthEmu!==e.valAxisGridlineWidthEmu||o.dash!==e.valAxisGridlineDash||o.paintAuthored!==e.valAxisGridlinePaintAuthored||s.visible!==e.catAxisMajorGridlines||s.color!==e.catAxisGridlineColor||s.widthEmu!==e.catAxisGridlineWidthEmu||s.dash!==e.catAxisGridlineDash||s.paintAuthored!==e.catAxisGridlinePaintAuthored||c.visible!==e.valAxisMinorGridlines||c.color!==e.valAxisMinorGridlineColor||c.widthEmu!==e.valAxisMinorGridlineWidthEmu||c.dash!==e.valAxisMinorGridlineDash||c.paintAuthored!==e.valAxisMinorGridlinePaintAuthored||l.visible!==e.catAxisMinorGridlines||l.color!==e.catAxisMinorGridlineColor||l.widthEmu!==e.catAxisMinorGridlineWidthEmu||l.dash!==e.catAxisMinorGridlineDash||l.paintAuthored!==e.catAxisMinorGridlinePaintAuthored||f!==e.secondaryValAxis||p!==e.secondaryCatAxis||m.color!==e.catAxisLineColor||m.widthEmu!==e.catAxisLineWidthEmu||m.dash!==e.catAxisLineDash||g!==e.catAxisLineHidden||m.paintAuthored!==e.catAxisLinePaintAuthored||h.color!==e.valAxisLineColor||h.widthEmu!==e.valAxisLineWidthEmu||h.dash!==e.valAxisLineDash||_!==e.valAxisLineHidden||h.paintAuthored!==e.valAxisLinePaintAuthored||C!==e.catAxisFontSizeHpt||w!==e.catAxisFontBold||T!==e.catAxisFontItalic||D!==e.catAxisFontColor||E.authored!==e.catAxisFontPaintAuthored||O!==e.catAxisFontFace||k!==e.valAxisFontSizeHpt||A!==e.valAxisFontBold||j!==e.valAxisFontItalic||N!==e.valAxisFontColor||M.authored!==e.valAxisFontPaintAuthored||P!==e.valAxisFontFace||F!==e.titleFontSizeHpt||I!==e.titleFontBold||L!==e.titleFontItalic||R!==e.titleFontLanguage||z!==e.titleFontBaseline||V!==e.titleFontColor||B.authored!==e.titleFontPaintAuthored||H!==e.titleFontFace||ee!==e.catAxisTitleFontSizeHpt||U!==e.catAxisTitleFontBold||W!==e.catAxisTitleFontItalic||G!==e.catAxisTitleFontColor||te.authored!==e.catAxisTitleFontPaintAuthored||ne!==e.catAxisTitleFontFace||re!==e.valAxisTitleFontSizeHpt||ie!==e.valAxisTitleFontBold||ae!==e.valAxisTitleFontItalic||se!==e.valAxisTitleFontColor||oe.authored!==e.valAxisTitleFontPaintAuthored||ce!==e.valAxisTitleFontFace||le!==e.dataLabelFontSizeHpt||ue!==e.dataLabelFontBold||de!==e.dataLabelFontItalic||fe!==e.dataLabelFontLanguage||pe!==e.dataLabelFontBaseline||he!==e.dataLabelFontColor||me.authored!==e.dataLabelFontPaintAuthored||ge!==e.dataLabelFontFace,jd(Pd(Fd(Cd(n?{...e,series:i,dataTable:a,valAxisMajorGridlines:o.visible,valAxisGridlineColor:o.color,valAxisGridlineWidthEmu:o.widthEmu,valAxisGridlineDash:o.dash,valAxisGridlinePaintAuthored:o.paintAuthored,catAxisMajorGridlines:s.visible,catAxisGridlineColor:s.color,catAxisGridlineWidthEmu:s.widthEmu,catAxisGridlineDash:s.dash,catAxisGridlinePaintAuthored:s.paintAuthored,valAxisMinorGridlines:c.visible,valAxisMinorGridlineColor:c.color,valAxisMinorGridlineWidthEmu:c.widthEmu,valAxisMinorGridlineDash:c.dash,valAxisMinorGridlinePaintAuthored:c.paintAuthored,catAxisMinorGridlines:l.visible,catAxisMinorGridlineColor:l.color,catAxisMinorGridlineWidthEmu:l.widthEmu,catAxisMinorGridlineDash:l.dash,catAxisMinorGridlinePaintAuthored:l.paintAuthored,secondaryValAxis:f,secondaryCatAxis:p,catAxisLineColor:m.color,catAxisLineWidthEmu:m.widthEmu,catAxisLineDash:m.dash,catAxisLineHidden:g,catAxisLinePaintAuthored:m.paintAuthored,valAxisLineColor:h.color,valAxisLineWidthEmu:h.widthEmu,valAxisLineDash:h.dash,valAxisLineHidden:_,valAxisLinePaintAuthored:h.paintAuthored,catAxisFontSizeHpt:C,catAxisFontBold:w,catAxisFontItalic:T,catAxisFontColor:D,catAxisFontPaintAuthored:E.authored,catAxisFontFace:O,valAxisFontSizeHpt:k,valAxisFontBold:A,valAxisFontItalic:j,valAxisFontColor:N,valAxisFontPaintAuthored:M.authored,valAxisFontFace:P,titleFontSizeHpt:F,titleFontBold:I,titleFontItalic:L,titleFontLanguage:R,titleFontBaseline:z,titleFontColor:V,titleFontPaintAuthored:B.authored,titleFontFace:H,catAxisTitleFontSizeHpt:ee,catAxisTitleFontBold:U,catAxisTitleFontItalic:W,catAxisTitleFontColor:G,catAxisTitleFontPaintAuthored:te.authored,catAxisTitleFontFace:ne,valAxisTitleFontSizeHpt:re,valAxisTitleFontBold:ie,valAxisTitleFontItalic:ae,valAxisTitleFontColor:se,valAxisTitleFontPaintAuthored:oe.authored,valAxisTitleFontFace:ce,dataLabelFontSizeHpt:le,dataLabelFontBold:ue,dataLabelFontItalic:de,dataLabelFontLanguage:fe,dataLabelFontBaseline:pe,dataLabelFontColor:he,dataLabelFontPaintAuthored:me.authored,dataLabelFontFace:ge}:e))))}function Rd(e,t,n,r,i,a,o,s,c,l,u,d=0){let f=Number.isFinite(c.gapWidthPercent)&&c.gapWidthPercent>=0?c.gapWidthPercent:150,p=Math.max(0,s/(1+f/100));for(let s=0;s<r;s++){let r=t(s),f=n(s);if(r==null||f==null||!Number.isFinite(r)||!Number.isFinite(f))continue;let m=a(r),h=o(f),g=Math.abs(h-m);if(!(p>0)||!(g>0)||!Number.isFinite(g))continue;let _=f>=r?c.up:c.down,v=_.fillPaintAuthored===!0||_.fill!=null||_.fillColor!=null||_.fillHidden===!0?void 0:f>=r?u?.upFillColor:u?.downFillColor,y=_.fillColor??v,b=i(s)-p/2,x=Math.min(m,h),S=_.linePaintAuthored===!0||_.lineColor!=null||_.lineHidden===!0,C=_.lineColor??(S?void 0:u?.lineColor),w=_.lineWidthEmu??(S?void 0:u?.lineWidthEmu);Aa(e,_.style,void 0,s,{x:b,y:x,w:p,h:g},l,e=>{if(!_.fillHidden&&(_.fill!=null||y!=null)&&Vf(e,_.fill??(y?{fillType:`solid`,color:y}:null),{x:b,y:x,w:p,h:g},y?`#${y}`:`rgba(0,0,0,0)`,l,d),!_.lineHidden&&(_.linePaintAuthored!==!0||C!=null)&&(C!=null||w!=null)){let t=e.getLineDash(),n=e.lineCap,r=e.lineJoin;e.strokeStyle=`#${C??`000000`}`,e.lineWidth=w==null?Math.max(1,.75*l):Xo(w,l),e.setLineDash(Tf(_.lineDash??void 0,e.lineWidth)),e.lineCap=_.lineCap===`rnd`?`round`:_.lineCap===`sq`?`square`:`butt`,e.lineJoin=_.lineJoin===`round`||_.lineJoin===`bevel`?_.lineJoin:`miter`,e.strokeRect(b,x,p,g),e.setLineDash(t),e.lineCap=n,e.lineJoin=r}})}}function zd(e,t,n,r,i,a,o,s,c,l,u){for(let d of t.lineGroupDecorations??[]){let f=t.series.filter(e=>e.lineGroupIndex===d.groupIndex);if(f.length===0&&d.groupIndex===0&&[`line`,`stackedLine`,`stackedLinePct`].includes(t.chartType)&&(f=t.series.filter(e=>e.seriesType==null||e.seriesType===`line`)),f.length===0)continue;if(u===`foreground`&&d.upDownBars&&f.length>=2){let a=f[0],u=f[f.length-1],p=t.legacyChartStyle===2?{lineColor:`000000`,lineWidthEmu:9525,upFillColor:`FFFFFF`,downFillColor:`000000`}:void 0,m={...d.upDownBars,up:fd(t,d.upDownBars.up,`upBar`,p),down:fd(t,d.upDownBars.down,`downBar`,p)};Rd(e,e=>o(a,e),e=>o(u,e),n,r,i(a),i(u),s,m,c,void 0,l)}if(u===`foreground`)continue;let p=d.dropLines?dd(t,d.dropLines,`dropLine`):null;p&&ud(e,p,c)&&pd(e,f,n,r,i,a,o);let m=d.hiLowLines?dd(t,d.hiLowLines,`hiLoLine`):null;if(m&&f.length>=2&&ud(e,m,c)){let t=i(f[0]);for(let i=0;i<n;i++){let n=1/0,a=-1/0;for(let e of f){let t=o(e,i);t==null||!Number.isFinite(t)||(n=Math.min(n,t),a=Math.max(a,t))}!Number.isFinite(n)||!Number.isFinite(a)||(e.beginPath(),e.moveTo(r(i),t(n)),e.lineTo(r(i),t(a)),e.stroke())}}}}function Bd(e,t,n,r){return e!=null&&Number.isFinite(e)?Cf(e,n,r):t===`max`?r:t===`min`?n:Cf(0,n,r)}function Vd(e,t,n){return Bd(e.catAxisCrossesAt,e.catAxisCrosses,t,n)}function Hd(e,t,n,r,i=0){let{x:a,y:o,w:s,h:c}=n,l=id(t),u=l.length;if(u===0)return;let d=$l(t,r),f=t.chartType===`stackedLinePct`?`percentStacked`:t.chartType===`stackedLine`?`stacked`:`standard`,p=t.plotGroups?.filter(e=>e.kind===`line`)??[{kind:`line`,seriesStart:0,seriesCount:t.series.length,categoryAxis:`primary`,valueAxis:`primary`,seriesAxis:`none`,grouping:f}],m=Array(t.series.length).fill(!1),h=Array(t.series.length).fill(!1),g=Array(t.series.length).fill(!1),_=Array(t.series.length).fill(null),v=t.series.map(()=>Array(u).fill(0)),y=new Map;for(let e of p){let t=e.valueAxis;y.set(t,(y.get(t)??!0)&&e.grouping===`percentStacked`)}for(let e of p){let n=e.grouping??`standard`,r=n===`stacked`||n===`percentStacked`,i=n===`percentStacked`,a=t.series.slice(e.seriesStart,e.seriesStart+e.seriesCount),o=i&&y.get(e.valueAxis)===!0?100:1,s=i?l.map((e,t)=>a.reduce((e,n)=>e+Math.abs(n.values[t]??0),0)||1):null;for(let t=0;t<a.length;t++){let n=e.seriesStart+t;m[n]=r,h[n]=i,g[n]=e.valueAxis===`secondary`,_[n]=s;for(let e=0;e<u;e++){let c=a[t].values[e]??0;if(!r){v[n][e]=c;continue}let l=t===0?0:v[n-1][e],u=i&&s?c/s[e]*o:c;v[n][e]=l+u}}}let b=(e,t)=>v[e]?.[t]??0,x=p.filter(e=>e.valueAxis!==`secondary`),S=x.length>0&&x.every(e=>e.grouping===`percentStacked`),C=t.dispBlanksAs??`gap`,w=p.filter(e=>e.valueAxis===`secondary`),T=w.length>0&&w.every(e=>e.grouping===`percentStacked`),E=t.secondaryValAxis&&t.series.some((e,n)=>g[n]||t.plotGroups==null&&e.useSecondaryAxis===!0)?t.secondaryValAxis:null,D=new Map(t.series.map((e,t)=>[e,t])),O=e=>{let n=D.get(e)??-1;return E!=null&&(g[n]||t.plotGroups==null&&e.useSecondaryAxis===!0)},k=1/0,A=-1/0;for(let e=0;e<u;e++)for(let n=0;n<t.series.length;n++){if(O(t.series[n])||!m[n]&&t.series[n].values[e]==null)continue;let r=b(n,e);k=Math.min(k,r),A=Math.max(A,r)}for(let e=0;e<t.series.length;e++){let n=t.series[e];O(n)||qu(n,`y`,t=>n.values[t]==null?null:b(e,t),e=>{k=Math.min(k,e),A=Math.max(A,e)})}isFinite(k)||(k=0,A=1);let j=t.valAxisLogBase!=null&&t.valAxisLogBase>=2;t.valMin==null?S&&k>0&&!j&&(k=0):k=S?t.valMin*100:t.valMin,t.valMax==null?S&&A<0&&(A=0):A=S?t.valMax*100:t.valMax;let M=td(e,t,s,c,r),N=M.fontPx,P=M.topPad,F=M.bandH,I=ou(e,t,s,c,.22,r),{legRightW:L,legLeftW:R,legTopH:z,legBottomH:B}=Wt(I,t.legendOverlay===!0),V=Bu(t.catAxisFontSizeHpt,c,r),H=Bu(t.valAxisFontSizeHpt,c,r),ee=Yt(t,s,c,r),U=ee.catFontPx,W=ee.valFontPx,te=ee.catBandH,G=ee.valBandW,ne=Rl(t),re=Bl(t,r),ie=Vl(e,t,r),ae=F+z+H/2+2,oe=(ne?re:Zt(V,t.catAxisLabelOffsetPercent))+te+B,se=c-ae-oe,ce=Ju(E,t.series,se/r,`y`,T,!1,(e,n)=>g[n]||t.plotGroups==null&&t.series[n].useSecondaryAxis===!0,(e,t,n)=>!m[n]&&e.values[t]==null?null:b(n,t)),le=Math.max(8,Math.min(11,c/20)),ue=Bt(E?.fontSizeHpt,r)??le,de=0;if(E&&ce&&!E.hidden){let n=e.font;e.font=Nl(ue,Ml(t,E.fontFace,`minor`),!1,E.fontItalic??!1);let r=0;for(let n of ce.majorLines)r=Math.max(r,e.measureText(Au(n,E.formatCode??null,t.date1904,E.displayUnits)).width);de=r+18,e.font=n}let fe=E&&E.title?Gt(E.titleFontSizeHpt,r)+8:0,pe=R+Math.max(H*2.2+10+G,ie),me=L+s*.05+de+fe,he=Nu(t,k,A,se/r,S),ge=0;if(!t.valAxisHidden&&t.valAxisTickLabelPos!==`none`&&t.plotAreaManualLayout!=null&&t.plotAreaManualLayout.layoutTarget!==`inner`){let n=e.font;e.font=Nl(H,Ml(t,t.valAxisFontFace,`minor`),t.valAxisFontBold??!1,t.valAxisFontItalic??!1);for(let n of he.majorLines)ge=Math.max(ge,e.measureText(Ou(t,n,S)).width);e.font=n}let _e={t:ae,r:me,b:oe,l:pe},ve=en({valAxisHidden:t.valAxisHidden,catAxisHidden:t.catAxisHidden,valLabelWidth:ge,valLabelFontPx:H,catLabelFontPx:V,valLabelGapPx:t.valAxisFontSizeHpt==null?6:$t(H),catLabelGapPx:t.catAxisFontSizeHpt==null?Mt(5,t.catAxisLabelOffsetPercent):Mt(Qt(V),t.catAxisLabelOffsetPercent),outerTextMarginPx:un*r,valTitleBandW:G,catTitleBandH:te,secondaryBandW:de+fe}),ye=nn(t,a,o,s,c,r,{titleBand:M,legendSideReserveFrac:.22,legendReserve:I,pad:_e,honorPlotAreaManualLayout:!0,manualOuterInsets:ve}),be=td(e,t,ye.plotRect.pw,c,r);Math.abs(be.bandH-M.bandH)>.01&&(M=be,N=M.fontPx,P=M.topPad,F=M.bandH,ae=F+z+H/2+2,_e.t=ae,ye=nn(t,a,o,s,c,r,{titleBand:M,legendSideReserveFrac:.22,legendReserve:I,pad:_e,honorPlotAreaManualLayout:!0,manualOuterInsets:ve}));let{px0:xe,py0:Se,pw:K}=ye.plotRect,{ph:q}=ye.plotRect;if(rd(e,t,t.titleManualLayout||!t.titleRichRuns?.length?a:xe,o,t.titleManualLayout||!t.titleRichRuns?.length?s:K,c,o+P,N),K<=0||q<=0)return;let Ce=ne?Hl(e,t,K/u,r):null;Ce&&Ce.totalHeight>re&&(q=Math.max(1,q-(Ce.totalHeight-re))),il(e,t,xe,Se,K,q,r,i);let J=Nu(t,k,A,q/r,S);if(J.max-J.min===0)return;let we=e=>Se+q-J.frac(e)*q,Te=ce?ce.makeToY(Se,q):we,Ee=e=>O(e)?Te:we,Y=we(Vd(t,J.min,J.max)),De=E&&ce?Te(Bd(t.secondaryCatAxis?.crossesAt,t.secondaryCatAxis?.crosses,ce.min,ce.max)):Y,X=e=>O(e)?De:Y,Oe=Zo(t.catAxisLineColor,t.catAxisLineWidthEmu,r),ke=Zo(t.valAxisLineColor,t.valAxisLineWidthEmu,r),Ae=t.catAxisLineColor==null?void 0:Oe.color,je=t.catAxisLineWidthEmu==null?void 0:Oe.width,Me=t.valAxisLineColor==null?void 0:ke.color,Ne=t.valAxisLineWidthEmu==null?void 0:ke.width,Pe=Ku(t,l),Fe=$o(t),Ie=Tu(t),Le=Pe?e=>xe+Pe.positions[e]*K:Fe?e=>xe+((Ie?u-1-e:e)+.5)/u*K:e=>{let t=Ie?u-1-e:e;return xe+(u===1?K/2:t/(u-1)*K)};if(!t.valAxisHidden){e.font=Nl(H,Ml(t,t.valAxisFontFace,`minor`),t.valAxisFontBold??!1,t.valAxisFontItalic??!1),e.textBaseline=`middle`;let n=gu(t,r),i=_u(t,r);for(let t of J.minorLines)hu(e,xe,K,we(t),!1,i);let a=Eu(t),o=t.valAxisTickLabelPos!==`none`;for(let i of J.majorLines){let s=we(i);if(a&&hu(e,xe,K,s,i===0,n),du(e,t.valAxisMajorTickMark,`val`,xe,s,Me,Ne,!1,t.valAxisLineHidden,`major`,r,t.valAxisLineDash),o){e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`,e.textAlign=`right`;let n=t.valAxisFontSizeHpt==null?6:$t(H);e.fillText(Ou(t,i,S),xe-n,s)}}if(t.valAxisMinorTickMark&&t.valAxisMinorTickMark!==`none`)for(let n of J.minorTicks)du(e,t.valAxisMinorTickMark,`val`,xe,we(n),Me,Ne,!1,t.valAxisLineHidden,`minor`,r,t.valAxisLineDash)}if(E&&ce&&Yu(e,E,ce,Te,xe,K,r),!t.catAxisHidden&&bu(t)){let n=xu(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);let a=Pe?Pe.majorTicks.map(e=>e.fraction):Cu(t,u);for(let t of a){let n=xe+t*K;e.beginPath(),e.moveTo(n,Se),e.lineTo(n,Se+q),e.stroke()}n.dash.length>0&&e.setLineDash(i)}!t.catAxisHidden&&!t.catAxisLineHidden&&fu(e,xe,Y,xe+K,Y,Oe.color,Oe.width,t.catAxisLineDash),!t.valAxisHidden&&!t.valAxisLineHidden&&fu(e,xe,Se,xe,Se+q,ke.color,ke.width,t.valAxisLineDash);let Re=Pe?(Pe.categoryBandFractions[0]??0)*K:Fe?K/u:u>1?K/(u-1):K,ze=new Map(t.series.map((e,t)=>[e,t]));zd(e,t,u,Le,Ee,X,(e,t)=>{let n=ze.get(e);return n==null?null:b(n,t)},Re,r,i,`background`);let Be=Math.max(1,2.25*r),Ve=Math.max(2,2.5*r),He=Bu(t.dataLabelFontSizeHpt,c,r),Ue=[];for(let f=0;f<t.series.length;f++){let p=t.series[f],g=m[f],v=_[f],y=Tl(p.dataPointOverrides),x=wl(f,p),S=Af(p,f),w=Ee(p),T=p.smooth===!0,D=[],k=[],A=()=>{k.length>0&&D.push(k),k=[]};for(let e=0;e<u;e++){if(p.sourceHidden?.[e]===!0){A();continue}if(!g&&p.values[e]==null){if(C===`gap`){A();continue}if(C===`span`)continue}k.push({x:Le(e),y:w(b(f,e)),index:e})}A();let j={x:xe,y:Se,w:K,h:q};Ge(t,f)?kl(e,t,p,D,T,!1,x,Be,r,j,i):Aa(e,va(p.chartexStyle),t.chartStyleRoles?.dataPointLine,S,j,r,e=>{if(Ol(e,t,`dataPointLine`,p,void 0,S,x,Be,r,j,i)){e.beginPath();for(let t of D)t.length!==0&&(e.moveTo(t[0].x,t[0].y),wf(e,t,T));e.stroke()}});let M=e=>b(f,e);for(let n of p.errBars??[])Df(e,p,md(t,n),u,Le,w,M,x);e.fillStyle=x;let N=p.showMarker!==!1&&p.markerSymbol!==`none`,P=N||Xn(p),F=mf(t,p,f),I=(p.dataLabelOverrides?.length??0)>0||p.seriesDataLabels!=null;I&&Ue.push(()=>{kf(e,p,l,u,Le,w,M,q,r,t.date1904??!1,g||C===`zero`,Ml(t,t.dataLabelFontFace,`minor`),t.dataLabelPosition??`r`,{x:a,y:Se,w:s,h:q},{x:a,y:o,w:s,h:c},h[f]&&v?e=>(p.values[e]??0)/v[e]:void 0,e=>{if(!P)return 0;let t=y.get(e);return!F&&!Hn(t)?Ve:$n(p,t,`circle`,N)===`none`?0:(t?.markerSize??p.markerSize??5)/2*r},e=>Ml(t,e,`minor`),O(p)?E?.displayUnits:t.valAxisDisplayUnits,e=>d(f,e),e=>od(t,e,O(p)&&ce?ce.max:J.max),i)});for(let n=0;n<u;n++){if(p.sourceHidden?.[n]===!0||!g&&p.values[n]==null&&C!==`zero`)continue;let a=b(f,n);if(P){let o=y.get(n);if(F||Hn(o)){let s=$n(p,o,`circle`,N);if(s!==`none`){let c=o?.markerSize??p.markerSize??5,l=tr(p,o,n,x),u=o?.markerLine??p.markerLine??null,d=o?.markerLineWidthEmu??p.markerLineWidthEmu;pf(e,t,p,o,n,Le(n),w(a),s,c,l,u,r,d==null?void 0:Xo(d,r),er(p,o,n),i)}}else e.beginPath(),e.arc(Le(n),w(a),Ve,0,Math.PI*2),e.fill()}}t.showDataLabels&&!I&&Ue.push(()=>{for(let n=0;n<u;n++){if(p.sourceHidden?.[n]===!0||!g&&p.values[n]==null&&C!==`zero`)continue;let r=b(f,n),i=oo({showValue:!0,sourceValue:p.values[n]??0,valueDivisor:ku(O(p)?E?.displayUnits:t.valAxisDisplayUnits),formatCode:t.dataLabelFormatCode??p.valFormatCode??null,date1904:t.date1904});vf(e,Le(n),w(r),i,t.dataLabelPosition??`r`,He,t.dataLabelFontColor??void 0,t.dataLabelFontBold??!1,Ml(t,t.dataLabelFontFace,`minor`),P?Ve+1:2,{x:xe,y:Se,w:K,h:q})}}),Lu(e,p,x,Le,w,r,void 0,{chart:t,chartRect:n,plotRect:{x:xe,y:Se,w:K,h:q},shapeRotationDeg:i})}zd(e,t,u,Le,Ee,X,(e,t)=>{let n=ze.get(e);return n==null?null:b(n,t)},Re,r,i,`foreground`);for(let e of Ue)e();if(!t.catAxisHidden){let n=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#555`;e.fillStyle=n,e.textAlign=`center`,e.textBaseline=`top`,e.font=Nl(V,Ml(t,t.catAxisFontFace,`minor`),t.catAxisFontBold??!1,t.catAxisFontItalic??!1);let i=Math.max(1,Math.floor(t.catAxisTickMarkSkip??1)),a=Pe?Pe.majorTicks.map(e=>xe+e.fraction*K):Array.from({length:Math.ceil(u/i)},(e,t)=>Le(t*i));for(let n of a)du(e,t.catAxisMajorTickMark,`cat`,Y,n,Ae,je,!1,t.catAxisLineHidden,`major`,r,t.catAxisLineDash);if(t.catAxisMinorTickMark&&t.catAxisMinorTickMark!==`none`&&Pe)for(let n of Pe.minorTicks)du(e,t.catAxisMinorTickMark,`cat`,Y,xe+n.fraction*K,Ae,je,!1,t.catAxisLineHidden,`minor`,r,t.catAxisLineDash);let o=!ne&&Uu(t),s=Math.max(1,Math.floor(t.catAxisTickLabelSkip??1)),c=Wu(t),d=Pe?Pe.majorTicks.map(e=>({label:Qa(String(e.serial),t.catAxisFormatCode,t.date1904),x:xe+e.fraction*K,categoryIndex:-1})):Array.from({length:Math.ceil(u/s)},(e,n)=>{let r=n*s;return{label:Qa((l[r]??``).toString(),t.catAxisFormatCode,t.date1904),x:Le(r),categoryIndex:r}});for(let r of d){let i=r.categoryIndex<0?null:It(r.categoryIndex,u,$o(t),Tu(t),t.catAxisLabelAlignment),a=i?xe+i.fraction*K:r.x;if(!o)continue;e.textAlign=i?.textAlign??`center`,e.fillStyle=n;let s=r.label;if(!s)continue;let l=Mt(t.catAxisFontSizeHpt==null?5:Qt(V),t.catAxisLabelOffsetPercent),d=t.catAxisTickLabelPos??`nextTo`;Gu(e,s,a,(d===`nextTo`?Y:d===`high`?Se:Se+q)+l,c)}}if(E&&ce){let i=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`;Xu(e,t,E,ce,Te,n,xe,Se,K,q,r,ue,de,i,t.date1904)}Ce&&Ul(e,t,Ce,xe,Se+q,K,a+R,r),lu(e,t,I,a,o,s,c,xe,Se,K,q,F+2,r),Ll(e,t,a,o,s,c,xe,Se,K,q,R,B,U,W)}function Ud(e,t,n,r,i=0){let{x:a,y:o,w:s,h:c}=n,l=id(t),u=l.length;if(u===0)return;let d=$l(t,r),f=t.plotGroups?.find(e=>e.kind===`stock`),p=f?t.series.slice(f.seriesStart,f.seriesStart+f.seriesCount):t.series,m=t.plotGroups==null?[]:t.plotGroups.filter(e=>e.kind===`line`).flatMap(e=>t.series.slice(e.seriesStart,e.seriesStart+e.seriesCount)),h=[...p,...m],g=new Map(t.series.map((e,t)=>[e,t])),_=p.length>=4,v=_?0:-1,y=+!!_,b=_?2:1,x=_?3:2,S=p[y],C=p[b],w=p[x],T=v>=0?p[v]:void 0,E=p[0],D=p.at(-1),O=t.secondaryValAxis&&h.some(e=>e.useSecondaryAxis===!0)?t.secondaryValAxis:null,k=e=>O!=null&&e.useSecondaryAxis===!0,A=td(e,t,s,c,r),j=A.fontPx,M=A.topPad,N=A.bandH,P=ou(e,t,s,c,.22,r),{legRightW:F,legLeftW:I,legBottomH:L,legTopH:R}=Wt(P,t.legendOverlay===!0),z=Bu(t.catAxisFontSizeHpt,c,r),B=Bu(t.valAxisFontSizeHpt,c,r),V=Yt(t,s,c,r),H=V.catFontPx,ee=V.valFontPx,U=V.catBandH,W=V.valBandW,te=Rl(t),G=Bl(t,r),ne=Vl(e,t,r),re=N+R+B/2+2,ie=(te?G:Zt(z,t.catAxisLabelOffsetPercent))+U+L,ae=Ju(O,h,(c-re-ie)/r),oe=Math.max(8,Math.min(11,c/20)),se=Bt(O?.fontSizeHpt,r)??oe,ce=0;if(O&&ae&&!O.hidden){let n=e.font;e.font=Nl(se,Ml(t,O.fontFace,`minor`),O.fontBold??!1,O.fontItalic??!1);let r=0;for(let n of ae.majorLines)r=Math.max(r,e.measureText(Au(n,O.formatCode??null,t.date1904,O.displayUnits)).width);ce=r+18,e.font=n}let le=O?.title?Gt(O.titleFontSizeHpt,r)+8:0,ue={t:re,r:F+s*.05+ce+le,b:ie,l:I+Math.max(B*2.2+10+W,ne)};rd(e,t,a,o,s,c,o+M,j);let de=nn(t,a,o,s,c,r,{titleBand:A,legendSideReserveFrac:.22,legendReserve:P,pad:ue,honorPlotAreaManualLayout:!0}),{px0:fe,py0:pe,pw:me}=de.plotRect,{ph:he}=de.plotRect;if(me<=0||he<=0)return;let ge=te?Hl(e,t,me/u,r):null;ge&&ge.totalHeight>G&&(he=Math.max(1,he-(ge.totalHeight-G))),il(e,t,fe,pe,me,he,r,i);let _e=1/0,ve=-1/0;for(let e of h)if(!k(e))for(let t=0;t<u;t++){let n=e.values[t];n!=null&&(_e=Math.min(_e,n),ve=Math.max(ve,n))}for(let e of h)k(e)||qu(e,`y`,t=>e.values[t]??null,e=>{_e=Math.min(_e,e),ve=Math.max(ve,e)});isFinite(_e)||(_e=0,ve=1),t.valMin!=null&&(_e=t.valMin),t.valMax!=null&&(ve=t.valMax);let ye=Nu(t,_e,ve,he/r);if(ye.max-ye.min===0)return;let be=e=>pe+he-ye.frac(e)*he,xe=ae?.makeToY(pe,he)??be,Se=e=>k(e)?xe:be,K=$o(t),q=Tu(t),Ce=Ku(t,l),J=Ce?e=>fe+Ce.positions[e]*me:K?e=>fe+((q?u-1-e:e)+.5)/u*me:e=>{let t=q?u-1-e:e;return fe+(u===1?me/2:t/(u-1)*me)};if(!t.valAxisHidden){e.font=Nl(B,Ml(t,t.valAxisFontFace,`minor`),t.valAxisFontBold??!1,t.valAxisFontItalic??!1),e.textBaseline=`middle`;let n=gu(t,r),i=_u(t,r);for(let t of ye.minorLines)hu(e,fe,me,be(t),!1,i);let a=Eu(t),o=t.valAxisTickLabelPos!==`none`;for(let i of ye.majorLines){let s=be(i);a&&hu(e,fe,me,s,i===0,n),du(e,t.valAxisMajorTickMark,`val`,fe,s,void 0,void 0,!1,t.valAxisLineHidden,`major`,r,t.valAxisLineDash),o&&(e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`,e.textAlign=`right`,e.fillText(Ou(t,i,!1),fe-6,s))}for(let n of ye.minorTicks)du(e,t.valAxisMinorTickMark,`val`,fe,be(n),void 0,void 0,!1,t.valAxisLineHidden,`minor`,r,t.valAxisLineDash)}O&&ae&&Yu(e,O,ae,xe,fe,me,r);let we=Zo(t.catAxisLineColor,t.catAxisLineWidthEmu,r),Te=Zo(t.valAxisLineColor,t.valAxisLineWidthEmu,r);if(!t.catAxisHidden&&!t.catAxisLineHidden&&fu(e,fe,pe+he,fe+me,pe+he,we.color,we.width,t.catAxisLineDash),!t.valAxisHidden&&!t.valAxisLineHidden&&fu(e,fe,pe,fe,pe+he,Te.color,Te.width,t.valAxisLineDash),t.stockDropLines){let n=t.stockAutomaticStyle?{lineColors:[t.stockAutomaticStyle.lineColor],linePaintAuthored:!0,lineWidthEmu:t.stockAutomaticStyle.lineWidthEmu}:void 0,i=dd(t,t.stockDropLines,`dropLine`,n);(i.paintAuthored!==!0||i.color!=null)&&(i.color!=null||i.widthEmu!=null||i.dash!=null)&&ud(e,i,r)&&pd(e,p,u,J,e=>Se(e),()=>pe+he,(e,t)=>e.values[t]??null)}if(t.stockHiLowLines===!0&&S!=null&&C!=null&&S&&C){let n=dd(t,t.stockHiLowLineStyle??{color:t.stockHiLowLineColor??null},`hiLoLine`,t.stockAutomaticStyle?{lineColors:[t.stockAutomaticStyle.lineColor],linePaintAuthored:!0,lineWidthEmu:t.stockAutomaticStyle.lineWidthEmu}:void 0);if((n.paintAuthored!==!0||n.color!=null)&&(n.color!=null||n.widthEmu!=null||n.dash!=null)&&ud(e,n,r))for(let t=0;t<u;t++){let n=S.values[t],r=C.values[t];if(n==null||r==null)continue;let i=J(t),a=Se(S),o=Se(C);e.beginPath(),e.moveTo(i,a(n)),e.lineTo(i,o(r)),e.stroke()}}let Ee=(n,a,o)=>{if(!n)return;let s=g.get(n)??a,c=wl(s,n),l=Af(n,s),d=Tl(n.dataPointOverrides),f=n.markerSymbol!=null&&n.markerSymbol!==`none`&&Vn(n),p=Math.max(3,me/u*.22);for(let a=0;a<u;a++){let s=n.values[a];if(s==null)continue;let u=J(a),m=Se(n)(s),h=d.get(a);if(h?.markerSymbol===`none`||h?.markerSymbol==null&&n.markerSymbol===`none`)continue;if(f||h?.markerSymbol!=null&&h.markerSymbol!==`none`){let o=h?.markerSymbol??n.markerSymbol??`circle`;pf(e,t,n,h,a,u,m,o,h?.markerSize??n.markerSize??3,tr(n,h,a,c),h?.markerLine??n.markerLine??null,r,(h?.markerLineWidthEmu??n.markerLineWidthEmu)==null?void 0:Xo(h?.markerLineWidthEmu??n.markerLineWidthEmu,r),er(n,h,a),i);continue}let g=o===`right`?u:o===`left`?u-p:u-p/2,_=o===`right`?u+p:o===`left`?u:u+p/2;Aa(e,va(h?.chartexStyle,n.chartexStyle),t.chartStyleRoles?.dataPointLine,l,{x:g,y:m,w:_-g,h:0},r,e=>{Ol(e,t,`dataPointLine`,n,h,l,c,Math.max(1,.75*r),r,{x:fe,y:pe,w:me,h:he},i)&&(e.beginPath(),e.moveTo(g,m),e.lineTo(_,m),e.stroke())})}};for(let a of m){let o=g.get(a)??0,s=wl(Math.max(0,o),a),c=Se(a),l=Tl(a.dataPointOverrides),d=Af(a,o),f=Ge(t,o),p=[],m=[],h=()=>{m.length>0&&p.push(m),m=[]};for(let e=0;e<u;e++){let t=a.values[e];if(t==null){h();continue}m.push({x:J(e),y:c(t),index:e})}h(),f?kl(e,t,a,p,a.smooth===!0,!1,s,Math.max(1,2.25*r),r,{x:fe,y:pe,w:me,h:he},i):Aa(e,va(a.chartexStyle),t.chartStyleRoles?.dataPointLine,d,{x:fe,y:pe,w:me,h:he},r,e=>{if(e.save(),Ol(e,t,`dataPointLine`,a,void 0,d,s,Math.max(1,2.25*r),r,{x:fe,y:pe,w:me,h:he},i)){e.beginPath();for(let t of p)e.moveTo(t[0].x,t[0].y),wf(e,t,a.smooth===!0);e.stroke()}e.restore()});let _=a.showMarker!==!1&&a.markerSymbol!==`none`;if(_||Xn(a))for(let n=0;n<u;n++){let o=a.values[n];if(o==null)continue;let u=l.get(n),d=$n(a,u,`circle`,_);d!==`none`&&pf(e,t,a,u,n,J(n),c(o),d,u?.markerSize??a.markerSize??5,tr(a,u,n,s),u?.markerLine??a.markerLine??null,r,(u?.markerLineWidthEmu??a.markerLineWidthEmu)==null?void 0:Xo(u?.markerLineWidthEmu??a.markerLineWidthEmu,r),er(a,u,n),i)}Lu(e,a,s,J,c,r,void 0,{chart:t,chartRect:n,plotRect:{x:fe,y:pe,w:me,h:he},shapeRotationDeg:i})}if(t.stockUpDownBars&&E&&D){let n=t.stockUpDownBarStyle??{gapWidthPercent:150,up:{},down:{}},a={...n,up:fd(t,n.up,`upBar`,t.stockAutomaticStyle??void 0),down:fd(t,n.down,`downBar`,t.stockAutomaticStyle??void 0)},o=Ce?(Ce.categoryBandFractions[0]??0)*me:K?me/u:u>1?me/(u-1):me;Rd(e,e=>E.values[e]??null,e=>D.values[e]??null,u,J,Se(E),Se(D),o,a,r,void 0,i)}Ee(T,v,`left`),(S?.markerSymbol!=null||S&&Xn(S))&&Ee(S,y,`both`),(C?.markerSymbol!=null||C&&Xn(C))&&Ee(C,b,`both`),Ee(w,x,`right`);for(let n of h){let r=wl(g.get(n)??0,n);for(let i of n.errBars??[])Df(e,n,md(t,i),u,J,Se(n),e=>n.values[e]??0,r)}if(p.length<3)for(let e=0;e<p.length;e++)Ee(p[e],e,`both`);for(let a of h){let o=g.get(a)??0;_f(e,a,l,!0,J,Se(a),he,r,t.date1904,Ml(t,t.dataLabelFontFace,`minor`),t.dataLabelPosition??`r`,{x:fe,y:pe,w:me,h:he},n,e=>Ml(t,e,`minor`),k(a)?O?.displayUnits:t.valAxisDisplayUnits,e=>d(o,e),e=>od(t,e,k(a)?ae?.max??ye.max:ye.max),i)}if(!t.catAxisHidden){let n=Math.max(1,Math.floor(t.catAxisTickLabelSkip??1)),i=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#555`;e.fillStyle=i,e.textAlign=`center`,e.textBaseline=`top`,e.font=Nl(z,Ml(t,t.catAxisFontFace,`minor`),t.catAxisFontBold??!1,t.catAxisFontItalic??!1);let a=Ce?(Ce.categoryBandFractions[0]??0)*me-4:me/u*n-4,o=!te&&Uu(t),s=Wu(t),c=Ce&&Ce.majorTicks.length>0?Ce.majorTicks.map(e=>({label:Qa(String(e.serial),t.catAxisFormatCode,t.date1904),x:fe+e.fraction*me,categoryIndex:-1})):Array.from({length:Math.ceil(u/n)},(e,r)=>{let i=r*n;return{label:Qa((l[i]??``).toString(),t.catAxisFormatCode,t.date1904),x:J(i),categoryIndex:i}});for(let n of c){let c=n.categoryIndex<0?null:It(n.categoryIndex,u,$o(t),Tu(t),t.catAxisLabelAlignment),l=c?fe+c.fraction*me:n.x;if(du(e,t.catAxisMajorTickMark,`cat`,pe+he,l,we.color,we.width,!1,t.catAxisLineHidden,`major`,r,t.catAxisLineDash),!o)continue;e.textAlign=c?.textAlign??`center`,e.fillStyle=i;let d=n.label;Gu(e,Bc(e,d,s===0?a:he*.4),l,pe+he+Mt(5,t.catAxisLabelOffsetPercent),s)}if(t.catAxisMinorTickMark&&t.catAxisMinorTickMark!==`none`&&Ce)for(let n of Ce.minorTicks)du(e,t.catAxisMinorTickMark,`cat`,pe+he,fe+n.fraction*me,void 0,void 0,!1,t.catAxisLineHidden,`minor`,r,t.catAxisLineDash)}if(O&&ae){let i=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`;Xu(e,t,O,ae,xe,n,fe,pe,me,he,r,se,ce,i,t.date1904)}ge&&Ul(e,t,ge,fe,pe+he,me,a+I,r),lu(e,t,P,a,o,s,c,fe,pe,me,he,N+2,r),Ll(e,t,a,o,s,c,fe,pe,me,he,I,L,H,ee)}function Wd(e,t,n){if(e.length===0)return[];let r=[],i=e=>n?e.value>=t:e.value<=t,a=e[e.length-1],o=i(a);for(let n of e){let e=i(n);if(e!==o){let e=n.value-a.value,i=e===0?0:(t-a.value)/e;r.push({x:a.x+(n.x-a.x)*i,y:a.y+(n.y-a.y)*i,depth:a.depth+(n.depth-a.depth)*i,value:t})}e&&r.push(n),a=n,o=e}return r}function Gd(e,t,n,r,i=0){let{x:a,y:o,w:s,h:c}=n,l=id(t),u=t.series,d=l.length,f=u.length;if(d<2||f<2)return;let p=1/0,m=-1/0;for(let e of u)for(let t=0;t<d;t++){let n=e.values[t];n==null||!Number.isFinite(n)||(p=Math.min(p,n),m=Math.max(m,n))}if(!Number.isFinite(p)||!Number.isFinite(m))return;t.valMin!=null&&(p=t.valMin),t.valMax!=null&&(m=t.valMax);let h={...t.threeD??{},rotationX:t.threeD?.rotationX??15,rotationY:t.threeD?.rotationY??20,rightAngleAxes:t.threeD?.rightAngleAxes??!1,perspective:t.threeD?.perspective??30},g=ol(h),_=sl(h),v=yl(h,n,{sceneDepthScale:vp,perspectiveTangentGain:_}),y;if(v){let e=v.topology.axisX===`min`?v.front.x:v.front.x+v.front.w,t=v.project(e,v.front.y+v.front.h,v.topology.nearDepth),n=v.project(e,v.front.y,v.topology.nearDepth);y=Math.hypot(n.x-t.x,n.y-t.y)/r}let b=t.valAxisMajorUnit==null?Ec(p,m,y):null,x=Nu(b==null?t:{...t,valAxisMajorUnit:b},p,m,y),S=x.step;if(!(S>0)||!Number.isFinite(S))return;let C=t.valMin??x.min,w=t.valMax??Math.max(C+S,C+Math.ceil((m-C)/S)*S),T=w-C;if(!(T>0)||!Number.isFinite(T))return;let E=Math.ceil(T/S),D=Math.floor(T/S+1e-9)+1,O=(d-1)*(f-1)*2;if(!Number.isSafeInteger(E)||!Number.isSafeInteger(D)||E<1||D<2||O<1||E>512||D>512||E>Math.floor(_p/O)||D>_p)return;let k=E,A=wu(t)?e=>1-(e-C)/T:e=>(e-C)/T,j=Array.from({length:D},(e,t)=>C+t*S),M=(e,t)=>{let n=Math.min(e,t),r=Math.max(e,t),i=Math.max(1,Math.floor((n-C)/S)+1),a=Math.min(k-1,Math.ceil((r-C)/S)-1),o=[0];if(e!==t)for(let n=i;n<=a;n++)o.push((C+n*S-e)/(t-e));return o.push(1),o.sort((e,t)=>e-t),o},N=Array.from({length:k},(e,n)=>t.themeAccentColors?.[n%6]?`#${t.themeAccentColors[n%6]}`:u[n]?.color?`#${u[n].color}`:wl(n,u[n])),P=new Map((t.surfaceBandFormats??[]).map(e=>[e.idx,e])),F=t.linkedChartStyleRoles?.dataPoint3D??(t.classicChartStyleRoles==null?t.chartStyleRoles?.dataPoint3D:void 0),I=k<=48?t.classicSurfaceBandStyles?.byBandCount?.[k-1]??t.classicSurfaceBandStyles?.fixed:void 0,L=Ue(I,F),R=t.linkedChartStyleRoles?.dataPointWireframe??(t.classicChartStyleRoles==null?t.chartStyleRoles?.dataPointWireframe:void 0),z=Ue(I,R),B=e=>e?.lineNoStyle!==!0&&(e?.linePaintAuthored===!0||e?.lineHidden===!0||(e?.lineColors?.length??0)>0||(e?.linePaints?.length??0)>0),V=t.surfaceWireframe===!0?[]:Array.from({length:k},(e,t)=>{let n=P.get(t),r,i=!0;if(n?.fillHidden===!0)r=_t(F),r!==void 0&&(i=!1);else if(n?.fill)r=n.fill,i=!1;else{let e=ht(n?.style,F,t);e===void 0?r=Q(F,t):(r=e,i=!1)}return r===void 0&&n?.fillHidden===!0&&(r=Q(F,t)),r===void 0&&(r=Q(I,t)),{recipe:r,fromRole:i}}),H=V.map(e=>e.recipe),ee=t.surfaceWireframe===!0?[]:Array.from({length:k},(e,t)=>{let n=P.get(t),r;return r=n?.lineHidden===!0?vt(F):n?.lineColor?{fillType:`solid`,color:n.lineColor}:bt(F,F,t,n?.style),r===void 0&&n?.lineHidden===!0&&(r=pt(F,t)),r===void 0&&(r=pt(I,t)),r}),U=(e,t)=>{let n=e,r=n?.lineDashAuthored===!0||n?.lineDash!=null||n?.lineCustomDash!=null;return{lineWidthEmu:n?.lineWidthEmu??t.lineWidthEmu,lineDash:r?n?.lineDash:t.lineDash,lineCustomDash:r?n?.lineCustomDash:t.lineCustomDash,lineCap:n?.lineCap??t.lineCap,lineJoin:n?.lineJoin??t.lineJoin,lineCompound:n?.lineCompound??t.lineCompound}},W=z?.lineColorIndex,te;te=B(z)?z?.lineHidden===!0?pt(z,0):W==null?void 0:W==null?null:pt(z,W):void 0;let G=W==null&&B(z)&&z?.lineHidden!==!0?Array.from({length:k},(e,t)=>pt(z,t)):[],ne=z==null?{paint:void 0,lineWidthEmu:void 0,lineDash:void 0,lineCustomDash:void 0,lineCap:void 0,lineJoin:void 0,lineCompound:void 0}:{paint:te,lineWidthEmu:z?.lineWidthEmu,lineDash:z?.lineDash,lineCustomDash:z?.lineCustomDash,lineCap:z?.lineCap,lineJoin:z?.lineJoin,lineCompound:z?.lineCompound},re=u[0],ie;ie=re?.lineHidden===!0?vt(R):re?.lineColor==null?gt(re?.chartexStyle,R,0):{fillType:`solid`,color:re.lineColor};let ae=U(re?.chartexStyle,ne),oe={paint:ie===void 0?te:ie,...ae,lineWidthEmu:re?.lineWidthEmu??ae.lineWidthEmu};oe.lineCompound!=null&&oe.lineCompound!==`sng`&&(oe.paint=null);let se=Array.from({length:k},(e,t)=>{let n=P.get(t);if(n)return n.lineHidden===!0?vt(R):n.lineColor==null?gt(n.style,R,t):{fillType:`solid`,color:n.lineColor}}),ce=se.map((e,t)=>{let n=P.get(t),r=U(n?.style,oe),i=ie===void 0?G[t]??oe.paint:ie,a={paint:e===void 0?i:e,...r,lineWidthEmu:n?.lineWidthEmu??r.lineWidthEmu};return a.lineCompound!=null&&a.lineCompound!==`sng`&&(a.paint=null),a}),le=(e,t)=>e.paint!==void 0&&e.paint===t.paint&&e.lineWidthEmu===t.lineWidthEmu&&e.lineDash===t.lineDash&&e.lineCustomDash===t.lineCustomDash&&e.lineCap===t.lineCap&&e.lineJoin===t.lineJoin&&e.lineCompound===t.lineCompound,ue=(e,t)=>{let n=M(e,t),r=[];for(let i=0;i<n.length-1;i++){let a=n[i],o=n[i+1],s=e+(t-e)*((a+o)/2),c=Math.max(0,Math.min(k-1,Math.floor((s-C)/S))),l=r[r.length-1];l&&se[l.band]===void 0&&se[c]===void 0&&le(ce[l.band],ce[c])?l.to=o:r.push({from:a,to:o,band:c})}return r};if(t.surfaceWireframe===!0){let e=0,t=(t,n)=>t==null||n==null||!Number.isFinite(t)||!Number.isFinite(n)?!0:(e+=ue(t,n).length,e<=_p);for(let e=0;e<f;e++)for(let n=0;n<d-1;n++)if(!t(u[e].values[n],u[e].values[n+1]))return;for(let e=0;e<d;e++)for(let n=0;n<f-1;n++)if(!t(u[n].values[e],u[n+1].values[e]))return;for(let t=0;t<f-1;t++)for(let n=0;n<d-1;n++){let r=[u[t].values[n],u[t].values[n+1],u[t+1].values[n+1],u[t+1].values[n]];if(r.some(e=>e==null||!Number.isFinite(e)))continue;let i=r;for(let t of gp(i)){let n=Math.min(...t.map(e=>i[e])),r=Math.max(...t.map(e=>i[e])),a=Math.max(1,Math.floor((n-C)/S)+1),o=Math.min(k-1,Math.ceil((r-C)/S)-1);if(!(o<a)&&(e+=o-a+1,e>_p))return}}}let de=se.some(e=>e===void 0)&&(ie!==void 0||G.length===0),fe=[{surface:t.threeD?.floor,role:`floor`},{surface:t.threeD?.sideWall,role:`wall`},{surface:t.threeD?.backWall,role:`wall`}].map(({surface:e,role:n})=>St(t,e,n)),pe=0;for(let e of[...H,...ee,...t.surfaceWireframe===!0&&de?[oe.paint]:[],...t.surfaceWireframe===!0?G:[],...t.surfaceWireframe===!0?se.filter(e=>e!==void 0):[],...fe.flatMap(e=>[e.fill,e.line])]){if(e==null)continue;let t=ir(e);if(e.fillType===`gradient`&&t>xp||t>Sp-pe)return;pe+=t}let me=Array.from({length:k},(e,t)=>{let n=C+t*S,r=Math.min(w,n+S);return`${Xa(n)}-${Xa(r)}`}),he={...t,series:me.map((e,t)=>{let n=H[t],r=ee[t];return{name:e,color:n===null?`00000000`:n?.fillType===`solid`?n.color.replace(/^#/,``):N[t].replace(/^#/,``),...r?.fillType===`solid`?{lineColor:r.color.replace(/^#/,``)}:r===null?{lineHidden:!0}:{},values:[]}})},ge=[...H];Math.abs(h.rotationX)===90&&(he.series.reverse(),ge.reverse());let _e=ou(e,he,s,c,.22,r),{legRightW:ve,legLeftW:ye,legTopH:be,legBottomH:xe}=Wt(_e,t.legendOverlay===!0),Se=td(e,t,s,c,r),K=Bu(t.catAxisFontSizeHpt,c,r),q=t.threeD?.seriesAxis,Ce=Bt(q?.fontSizeHpt,r)??K,{px0:J,py0:we,pw:Te,ph:Ee}=nn(t,a,o,s,c,r,{titleBand:Se,legendSideReserveFrac:.22,legendReserve:_e,pad:{t:Se.bandH+be+Ce/2,r:ve+Ce*3.2+12,b:Zt(K,t.catAxisLabelOffsetPercent)+xe,l:ye+K*1.5},honorPlotAreaManualLayout:!0}).plotRect;if(!(Te>0)||!(Ee>0))return;rd(e,t,t.titleManualLayout||!t.titleRichRuns?.length?a:J,o,t.titleManualLayout||!t.titleRichRuns?.length?s:Te,c,o+Se.topPad,Se.fontPx),il(e,t,J,we,Te,Ee,r,i);let Y=yl(h,{x:J,y:we,w:Te,h:Ee},{sceneDepthScale:vp,perspectiveTangentGain:_});if(!Y)return;Y=vl(Y,t.threeD??{},{x:J,y:we,w:Te,h:Ee});let De=g||Math.abs(h.rotationX)===90&&h.rotationY===0&&h.rightAngleAxes===!1&&h.perspective===0,{front:X}=Y,Oe=t.catAxisOrientation===`maxMin`,ke=$o(t),Ae=e=>X.x+Nt(e,d,ke,Oe)*X.w,je=q?.orientation===`maxMin`,Me=e=>Nt(e,f,!1,je),Ne=e=>X.y+X.h-A(e)*X.h,Pe=[],Fe=[],Ie=(e,t)=>{let n=n=>({x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n,depth:e.depth+(t.depth-e.depth)*n,value:e.value+(t.value-e.value)*n});for(let r of ue(e.value,t.value)){let e=n(r.from),t=n(r.to);Fe.push({points:[Y.project(e.x,e.y,e.depth),Y.project(t.x,t.y,t.depth)],band:r.band})}},Le=e=>{let t=Math.min(...e.map(e=>e.value)),n=Math.max(...e.map(e=>e.value)),r=Math.max(1,Math.floor((t-C)/S)+1),i=Math.min(k-1,Math.ceil((n-C)/S)-1);for(let t=r;t<=i;t++){let n=C+t*S,r=[],i=e=>{r.some(t=>Math.abs(t.x-e.x)<1e-9&&Math.abs(t.y-e.y)<1e-9&&Math.abs(t.depth-e.depth)<1e-9)||r.push(e)};for(let t=0;t<e.length;t++){let r=e[t],a=e[(t+1)%e.length];if(r.value===n&&i(r),r.value<n&&a.value>n||r.value>n&&a.value<n){let e=(n-r.value)/(a.value-r.value);i({x:r.x+(a.x-r.x)*e,y:r.y+(a.y-r.y)*e,depth:r.depth+(a.depth-r.depth)*e,value:n})}}r.length===2&&Fe.push({points:[Y.project(r[0].x,r[0].y,r[0].depth),Y.project(r[1].x,r[1].y,r[1].depth)],band:t-1})}},Re=e=>{if(t.surfaceWireframe===!0){Le(e);return}let n=Math.min(...e.map(e=>e.value)),r=Math.max(...e.map(e=>e.value)),i=Math.max(0,Math.floor((n-C)/S)),a=Math.min(k-1,Math.floor((r-C)/S));for(let t=i;t<=a;t++){let n=C+t*S,r=t===k-1?w:n+S,i=Wd(e,n,!0);if(i=Wd(i,r,!1),i.length<3)continue;let a=i.map(e=>Y.project(e.x,e.y,e.depth));Pe.push({points:a,scenePoints:i,band:t,depth:i.reduce((e,t)=>e+Y.cameraDepth(t.x,t.y,t.depth),0)/i.length})}};e.save(),e.beginPath(),e.rect(J,we,Te,Ee),e.clip();let ze=(t,n,r,i,a=!1)=>{if(t.length<2)return;let o=a?t.map(e=>Y.projectUnbounded(e.x,e.y,e.depth)):t.map(e=>Y.project(e.x,e.y,e.depth));e.beginPath(),e.moveTo(o[0].x,o[0].y);for(let t=1;t<o.length;t++)e.lineTo(o[t].x,o[t].y);e.strokeStyle=n,e.lineWidth=r,e.setLineDash(ki(i??`solid`,r)),e.stroke()},Be=Y.topology.farDepth,Ve=Y.topology.nearDepth,He=X.y+X.h,We=X.y,Z=Y.topology.farX===`min`?X.x:X.x+X.w,Ge=[`floor`,`sideWall`,`backWall`].map(e=>{let n=t.threeD?.[e];return gl(Y,e,n?.thicknessPercent)}),Ke=[`floor`,`sideWall`,`backWall`],qe=(e,t,n,r,i,a)=>{let o=Ge[e],s=Ke[e];for(let e of _l(o,s,t,n))o.thickness>0&&!Y.cameraFacing(o.faces[e.faceIndex])||ze(e.scenePoints,r,i,a,!0)},Je=(e,t,n,r)=>{for(let i of e){let e=A(i);qe(1,`y`,e,t,n,r),qe(2,`y`,e,t,n,r)}},Ye=(e,t,n,r)=>{for(let i of e)qe(0,`x`,i,t,n,r),qe(2,`x`,i,t,n,r)},Xe=Ge.some(e=>e.thickness>0)?Ge.map(e=>e.faces.filter(t=>e.thickness===0||Y.cameraFacing(t)).map(e=>e.map(e=>Y.projectUnbounded(e.x,e.y,e.depth)))):[[Y.project(X.x,He,Ve),Y.project(X.x+X.w,He,Ve),Y.project(X.x+X.w,He,Be),Y.project(X.x,He,Be)],[Y.project(Z,He,Ve),Y.project(Z,He,Be),Y.project(Z,We,Be),Y.project(Z,We,Ve)],[Y.project(X.x,He,Be),Y.project(X.x+X.w,He,Be),Y.project(X.x+X.w,We,Be),Y.project(X.x,We,Be)]].map(e=>[e]);for(let n=0;n<Xe.length;n++){let i=Xe[n];if(!i.length)continue;let a=i.flat(),o=fe[n],s=o.fill?.fillType===`image`?o.fill:null;if(s){let r=Os(s),i=t.threeD?.[Ke[n]];r&&bc(e,s,r,i,Ke[n],Ge[n],Ge[n].faces.map((e,t)=>({face:e,faceIndex:t})).filter(({face:e})=>Ge[n].thickness===0||Y.cameraFacing(e)).map(({faceIndex:e})=>e),e=>Y.projectUnbounded(e.x,e.y,e.depth),T)}let c=Math.min(...a.map(e=>e.x)),l=Math.max(...a.map(e=>e.x)),u=Math.min(...a.map(e=>e.y)),d=Math.max(...a.map(e=>e.y)),f=s?null:o.fill?.fillType===`solid`?`#${o.fill.color}`:o.fill?Vi(o.fill,e,c,u,l-c,d-u):null,p=o.line?.fillType===`solid`?`#${o.line.color}`:o.line?Vi(o.line,e,c,u,l-c,d-u):null,m=o.lineWidthEmu==null?1:Xo(o.lineWidthEmu,r);for(let t of i){e.beginPath(),e.moveTo(t[0].x,t[0].y);for(let n=1;n<t.length;n++)e.lineTo(t[n].x,t[n].y);e.closePath(),f&&(e.fillStyle=f,e.fill()),p&&(e.strokeStyle=p,e.lineWidth=m,e.setLineDash(Ai(o.lineCustomDash,o.lineDash,m)),e.lineCap=o.lineCap===`rnd`?`round`:o.lineCap===`sq`?`square`:`butt`,e.lineJoin=o.lineJoin===`round`||o.lineJoin===`bevel`?o.lineJoin:`miter`,e.stroke())}}if(t.valAxisMinorGridlines===!0){let e=_u(t,r);Je(x.minorLines.filter(e=>e>=C&&e<=w),e.color,e.width,t.valAxisMinorGridlineDash)}if(Eu(t)){let e=Qo(t.valAxisGridlineColor,t.valAxisGridlineWidthEmu,r);if(t.valAxisMajorGridlines===!0)Je(j,e.color,e.width,t.valAxisGridlineDash);else for(let n of j){let r=A(n),i=Ne(n);Ge[2].thickness>0?qe(2,`y`,r,e.color,e.width,t.valAxisGridlineDash):ze([{x:X.x,y:i,depth:Be},{x:X.x+X.w,y:i,depth:Be}],e.color,e.width,t.valAxisGridlineDash),Ge[1].thickness>0?qe(1,`y`,r,e.color,e.width,t.valAxisGridlineDash):ze([{x:Z,y:i,depth:Ve},{x:Z,y:i,depth:Be}],e.color,e.width,t.valAxisGridlineDash)}}if(t.catAxisMinorGridlines===!0){let e=Su(t,r);Ye(Ft(d,ke),e.color,e.width,t.catAxisMinorGridlineDash)}if(t.catAxisMajorGridlines){let e=Qo(t.catAxisGridlineColor,t.catAxisGridlineWidthEmu,r);Ye(Cu(t,d),e.color,e.width,t.catAxisGridlineDash)}for(let e=0;e<f-1;e++)for(let t=0;t<d-1;t++){let n=[u[e].values[t],u[e].values[t+1],u[e+1].values[t+1],u[e+1].values[t]];if(n.some(e=>e==null||!Number.isFinite(e)))continue;let r=[{x:Ae(t),y:Ne(n[0]),depth:Me(e),value:n[0]},{x:Ae(t+1),y:Ne(n[1]),depth:Me(e),value:n[1]},{x:Ae(t+1),y:Ne(n[2]),depth:Me(e+1),value:n[2]},{x:Ae(t),y:Ne(n[3]),depth:Me(e+1),value:n[3]}];for(let e of gp(n))Re(e.map(e=>r[e]))}if(t.surfaceWireframe===!0){for(let e=0;e<f;e++)for(let t=0;t<d-1;t++){let n=u[e].values[t],r=u[e].values[t+1];n==null||r==null||!Number.isFinite(n)||!Number.isFinite(r)||Ie({x:Ae(t),y:Ne(n),depth:Me(e),value:n},{x:Ae(t+1),y:Ne(r),depth:Me(e),value:r})}for(let e=0;e<d;e++)for(let t=0;t<f-1;t++){let n=u[t].values[e],r=u[t+1].values[e];n==null||r==null||!Number.isFinite(n)||!Number.isFinite(r)||Ie({x:Ae(e),y:Ne(n),depth:Me(t),value:n},{x:Ae(e),y:Ne(r),depth:Me(t+1),value:r})}}Pe.sort((e,t)=>e.depth-t.depth);let Ze=Array.from({length:k},()=>({minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0})),Qe=Array.from({length:k},()=>[]);for(let e of Pe){Qe[e.band].push(e);let t=Ze[e.band];for(let n of e.points)t.minX=Math.min(t.minX,n.x),t.minY=Math.min(t.minY,n.y),t.maxX=Math.max(t.maxX,n.x),t.maxY=Math.max(t.maxY,n.y)}for(let e of Fe){let t=Ze[e.band];for(let n of e.points)t.minX=Math.min(t.minX,n.x),t.minY=Math.min(t.minY,n.y),t.maxX=Math.max(t.maxX,n.x),t.maxY=Math.max(t.maxY,n.y)}let $e=(t,n)=>{if(t==null)return t;if(t.fillType===`solid`)return`#${t.color}`;let r=Ze[n];return!Number.isFinite(r.minX)||!Number.isFinite(r.minY)||!Number.isFinite(r.maxX)||!Number.isFinite(r.maxY)?null:Vi(t,e,r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY)},et=H.map($e),tt=ee.map($e);for(let t=0;t<k;t++){if(et[t]===null)continue;let n=Qe[t].filter(e=>e.points.length>=3);n.length&&Oa(e,P.get(t)?.style,L,0,r,e=>{e.beginPath();for(let t of n){e.moveTo(t.points[0].x,t.points[0].y);for(let n=1;n<t.points.length;n++)e.lineTo(t.points[n].x,t.points[n].y);e.closePath()}e.fillStyle=`#000000`,e.fill()},t)}for(let t of Pe){let n=P.get(t.band);e.beginPath(),e.moveTo(t.points[0].x,t.points[0].y);for(let n=1;n<t.points.length;n++)e.lineTo(t.points[n].x,t.points[n].y);e.closePath();let i=et[t.band];if(i!==null){let n=De?ll(Y.cameraNormal(t.scenePoints)):1;e.fillStyle=typeof i==`string`&&V[t.band]?.fromRole?cl(i,n):i??cl(N[t.band],n),e.fill()}let a=tt[t.band];if(a!=null){let t=n?.style,i=F,o=I;e.strokeStyle=a;let s=n?.lineWidthEmu??t?.lineWidthEmu??i?.lineWidthEmu??o?.lineWidthEmu;e.lineWidth=s==null?1:Xo(s,r),e.setLineDash(Ai(t?.lineCustomDash??i?.lineCustomDash??o?.lineCustomDash,t?.lineDash??i?.lineDash??o?.lineDash,e.lineWidth));let c=t?.lineCap??i?.lineCap??o?.lineCap,l=t?.lineJoin??i?.lineJoin??o?.lineJoin;e.lineCap=c===`rnd`?`round`:c===`sq`?`square`:`butt`,e.lineJoin=l===`round`||l===`bevel`?l:`miter`,e.stroke()}}if(t.surfaceWireframe===!0){let t=de?oe.paint?.fillType===`solid`?`#${oe.paint.color}`:oe.paint?Vi(oe.paint,e,J,we,Te,Ee):oe.paint:void 0,n=se.map((e,n)=>e===void 0?ie!==void 0||G.length===0?t:$e(G[n],n):$e(e,n));for(let t of Fe){let i=ce[t.band],a=n[t.band];if(a===null)continue;e.beginPath(),e.moveTo(t.points[0].x,t.points[0].y),e.lineTo(t.points[1].x,t.points[1].y),e.strokeStyle=a??N[t.band],e.lineWidth=i.lineWidthEmu==null?Math.max(1,.75*r):Xo(i.lineWidthEmu,r),e.setLineDash(Ai(i.lineCustomDash,i.lineDash,e.lineWidth));let o=i.lineCap,s=i.lineJoin;e.lineCap=o===`rnd`?`round`:o===`sq`?`square`:`butt`,e.lineJoin=s===`round`||s===`bevel`?s:`miter`,e.stroke()}}e.restore();let nt=Y.project(X.x+X.w/2,X.y+X.h/2,.5),rt=(t,n,i,a,o,s,c,l,u)=>{if(c||t==null||t===`none`)return;let d=a.x-i.x,f=a.y-i.y,p=Math.hypot(d,f);if(!(p>1e-6))return;let m=-f/p,h=d/p,g=(i.x+a.x)/2,_=(i.y+a.y)/2;(g-nt.x)*m+(_-nt.y)*h<0&&(m=-m,h=-h);let v=pu(l,s,r),y=t===`cross`?v/2:v,b=t===`out`||t===`cross`?y:0,x=t===`in`||t===`cross`?y:0;fu(e,n.x+m*b,n.y+h*b,n.x-m*x,n.y-h*x,o,s,u)},it=Y.project(X.x,He,Ve),at=Y.project(X.x+X.w,He,Ve),ot=t.catAxisLineWidthEmu==null?1:Xo(t.catAxisLineWidthEmu,r);fu(e,it.x,it.y,at.x,at.y,t.catAxisLineColor?`#${t.catAxisLineColor}`:`#000000`,ot,t.catAxisLineDash);let st=t.catAxisLineColor?`#${t.catAxisLineColor}`:`#000000`,ct=t.catAxisHidden||t.catAxisLineHidden===!0,lt=Math.max(1,Math.floor(t.catAxisTickMarkSkip??1));for(let e=0;e<d;e+=lt)rt(t.catAxisMajorTickMark,Y.project(Ae(e),He,Ve),it,at,st,ot,ct,`major`,t.catAxisLineDash);if(t.catAxisMinorTickMark!=null&&t.catAxisMinorTickMark!==`none`)for(let e=0;e<d-1;e++){let n=(Nt(e,d,ke,Oe)+Nt(e+1,d,ke,Oe))/2;rt(t.catAxisMinorTickMark,Y.project(X.x+n*X.w,He,Ve),it,at,st,ot,ct,`minor`,t.catAxisLineDash)}e.font=Nl(K,Ml(t,t.catAxisFontFace,`minor`),t.catAxisFontBold??!1,t.catAxisFontItalic??!1),e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#000000`,e.textBaseline=`top`;for(let n=0;n<d;n++){let r=It(n,d,$o(t),Tu(t),t.catAxisLabelAlignment),i=Y.project(X.x+r.fraction*X.w,He,Ve);e.textAlign=r.textAlign,e.fillText(l[n]??``,i.x,i.y+Mt(8,t.catAxisLabelOffsetPercent))}if(!q?.hidden){let n=q?.lineWidthEmu==null?1:Xo(q.lineWidthEmu,r),i=Y.project(X.x,He,.5),a=Y.project(X.x+X.w,He,.5),o=i.x>=a.x?X.x:X.x+X.w,s=Y.project(o,He,Ve),c=Y.project(o,He,Be);fu(e,s.x,s.y,c.x,c.y,q?.lineColor?`#${q.lineColor}`:`#000000`,n,q?.lineDash);let l=q?.lineColor?`#${q.lineColor}`:`#000000`,d=Math.max(1,Math.floor(q?.tickMarkSkip??1));for(let e=0;e<f;e+=d)rt(q?.majorTickMark,Y.project(o,He,Me(e)),s,c,l,n,q?.lineHidden===!0,`major`,q?.lineDash);if(q?.minorTickMark!=null&&q.minorTickMark!==`none`)for(let e=0;e<f-1;e++)rt(q.minorTickMark,Y.project(o,He,(Me(e)+Me(e+1))/2),s,c,l,n,q.lineHidden===!0,`minor`,q.lineDash);e.font=Nl(Ce,Ml(t,q?.fontFace,`minor`),q?.fontBold??!1,q?.fontItalic??!1),e.fillStyle=q?.fontColor?`#${q.fontColor}`:`#000000`,e.textAlign=`left`,e.textBaseline=`middle`;for(let t=0;t<f;t++){let n=Y.project(o,He,Me(t));e.fillText(u[t].name,n.x+8,n.y)}}if(!t.valAxisHidden){let n=Y.topology.axisX===`min`?X.x:X.x+X.w,i=Y.project(n,X.y+X.h,Ve),a=Y.project(n,X.y,Ve);if(Math.hypot(a.x-i.x,a.y-i.y)>4){let o=t.valAxisLineWidthEmu==null?1:Xo(t.valAxisLineWidthEmu,r);fu(e,i.x,i.y,a.x,a.y,t.valAxisLineColor?`#${t.valAxisLineColor}`:`#000000`,o,t.valAxisLineDash),e.font=Nl(Bu(t.valAxisFontSizeHpt,c,r),Ml(t,t.valAxisFontFace,`minor`),t.valAxisFontBold??!1,t.valAxisFontItalic??!1),e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#000000`;let s=(i.x+a.x)/2<J+Te/2;e.textAlign=s?`right`:`left`,e.textBaseline=`middle`;for(let r of j){let i=Y.project(n,Ne(r),Ve);e.fillText(Za(r,t.valAxisFormatCode,t.date1904),i.x+(s?-6:6),i.y)}}}lu(e,he,_e,a,o,s,c,J,we,Te,Ee,Se.bandH+2,r,ge)}function Kd(e,t,n,r,i=0){let{x:a,y:o,w:s,h:c}=n,l=id(t),u=l.length;if(u===0)return;let d=$l(t,r),f=t.series.map((e,t)=>({series:e,chartIndex:t})).filter(({series:e})=>e.seriesType==null||e.seriesType===`area`),p=t.series.map((e,t)=>({series:e,chartIndex:t})).filter(({series:e})=>e.seriesType===`line`);if(f.length===0&&p.length===0)return;let m=cr(t),h=t.chartType===`stackedAreaPct`?`percentStacked`:t.chartType===`stackedArea`?`stacked`:`standard`,g=t.plotGroups?.filter(e=>e.kind===`area`)??[{kind:`area`,seriesStart:0,seriesCount:f.length,categoryAxis:`primary`,valueAxis:`primary`,seriesAxis:`none`,grouping:h}],_=Array(t.series.length).fill(-1);for(let e=0;e<f.length;e++)_[f[e].chartIndex]=e;let v=g.map(e=>{let n=[],r=Math.min(t.series.length,e.seriesStart+e.seriesCount);for(let t=e.seriesStart;t<r;t++){let e=_[t];e>=0&&n.push(e)}return{group:e,areaIndices:n}}),y=Array(f.length).fill(!1),b=Array(f.length).fill(!1),x=Array(f.length).fill(null),S=f.map(()=>Array(u).fill(0)),C=f.map(()=>Array(u).fill(0)),w=t.plotGroups?.filter(e=>(e.kind===`area`||e.kind===`line`)&&e.seriesCount>0)??g,T=new Map;for(let e of w){let t=e.valueAxis;T.set(t,(T.get(t)??!0)&&e.grouping===`percentStacked`)}for(let{group:e,areaIndices:t}of v){let n=e.grouping??`standard`,r=n===`stacked`||n===`percentStacked`,i=n===`percentStacked`,a=i&&T.get(e.valueAxis)===!0?100:1,o=i?l.map((e,n)=>t.reduce((e,t)=>e+Math.abs(f[t].series.values[n]??0),0)||1):null;for(let e of t)y[e]=r,b[e]=i,x[e]=o;for(let e=0;e<u;e++){let n=0,s=0;for(let c of t){let t=f[c].series.values[e]??0,l=i&&o?t/o[e]*a:t,u=l>=0?n:s;S[c][e]=r?u:0,C[c][e]=r?u+l:l,r&&(l>=0?n+=l:s+=l)}}}let E=w.filter(e=>e.valueAxis!==`secondary`),D=E.length>0&&E.every(e=>e.grouping===`percentStacked`),O=new Map(f.map((e,t)=>[e.series,t])),k=new Map(t.series.map((e,t)=>[e,t])),A=e=>m[k.get(e)??-1]?.valueAxis===`secondary`||t.plotGroups==null&&e.useSecondaryAxis===!0,j=w.filter(e=>e.valueAxis===`secondary`),M=j.length>0&&j.every(e=>e.grouping===`percentStacked`),N=t.secondaryValAxis&&t.series.some(e=>A(e))?t.secondaryValAxis:null,P=e=>N!=null&&A(e),F=td(e,t,s,c,r),I=F.fontPx,L=F.topPad,R=F.bandH,z=Bu(t.catAxisFontSizeHpt,c,r),B=Bu(t.valAxisFontSizeHpt,c,r),V=ou(e,t,s,c,.22,r),{legRightW:H,legLeftW:ee,legTopH:U,legBottomH:W}=Wt(V,t.legendOverlay===!0),te=Yt(t,s,c,r),G=te.catFontPx,ne=te.valFontPx,re=te.catBandH,ie=te.valBandW,ae=Rl(t),oe=Bl(t,r),se=Vl(e,t,r),ce=R+U+B/2+2,le=(ae?oe:Zt(z,t.catAxisLabelOffsetPercent))+re+W,ue=c-ce-le,de=Ju(N,t.series,ue/r,`y`,M,!1,e=>A(e),(e,t)=>{let n=O.get(e);return n==null?e.values[t]??null:e.values[t]==null?null:C[n][t]??null}),fe=Math.max(8,Math.min(11,c/20)),pe=Bt(N?.fontSizeHpt,r)??fe,me=0;if(N&&de&&!N.hidden){let n=e.font;e.font=`${pe}px ${Ml(t,N.fontFace,`minor`)}`;let r=0;for(let n of de.majorLines)r=Math.max(r,e.measureText(Au(n,N.formatCode??null,t.date1904,N.displayUnits)).width);me=r+18,e.font=n}let he=N&&N.title?Gt(N.titleFontSizeHpt,r)+8:0,ge=(()=>{let e=1/0,t=-1/0;for(let n=0;n<u;n++){for(let r=0;r<f.length;r++){let{series:i}=f[r];P(i)||i.values[n]==null||(e=Math.min(e,S[r][n],C[r][n]),t=Math.max(t,S[r][n],C[r][n]))}for(let{series:r}of p){if(P(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}:D?{min:e<0?-100:0,max:t>0?100:0}:{min:e,max:t}})();if(!D){let e=e=>{ge={min:Math.min(ge.min,e),max:Math.max(ge.max,e)}};for(let t=0;t<f.length;t++){let{series:n}=f[t];P(n)||qu(n,`y`,e=>n.values[e]==null?null:C[t][e],e)}for(let{series:t}of p)P(t)||qu(t,`y`,e=>t.values[e]??null,e)}let _e=Nu(t,ge.min,ge.max,ue/r,D),ve=t.valAxisFontSizeHpt==null?Math.max(8,Math.min(11,ue/20)):B,ye=0;if(!t.valAxisHidden&&t.plotAreaManualLayout!=null&&t.plotAreaManualLayout.layoutTarget!==`inner`){let n=e.font;e.font=Nl(ve,Ml(t,t.valAxisFontFace,`minor`),t.valAxisFontBold??!1,t.valAxisFontItalic??!1);for(let n of _e.majorLines)ye=Math.max(ye,e.measureText(Ou(t,n,D)).width);e.font=n}let be=en({valAxisHidden:t.valAxisHidden,catAxisHidden:t.catAxisHidden,valLabelWidth:ye,valLabelFontPx:ve,catLabelFontPx:z,valLabelGapPx:t.valAxisFontSizeHpt==null?6:$t(ve),catLabelGapPx:t.catAxisFontSizeHpt==null?Mt(3,t.catAxisLabelOffsetPercent):Mt(Qt(z),t.catAxisLabelOffsetPercent),outerTextMarginPx:un*r,valTitleBandW:ie,catTitleBandH:re,secondaryBandW:me+he}),xe={t:ce,r:H+s*.05+me+he,b:le,l:ee+Math.max(s*.12+ie,se)};rd(e,t,a,o,s,c,o+L,I);let Se=nn(t,a,o,s,c,r,{titleBand:F,legendSideReserveFrac:.22,legendReserve:V,pad:xe,honorPlotAreaManualLayout:!0,manualOuterInsets:be}),{px0:K,py0:q,pw:Ce}=Se.plotRect,{ph:J}=Se.plotRect;if(Ce<=0||J<=0)return;let we=ae?Hl(e,t,Ce/u,r):null;we&&we.totalHeight>oe&&(J=Math.max(1,J-(we.totalHeight-oe))),il(e,t,K,q,Ce,J,r,i);let Te=Nu(t,ge.min,ge.max,J/r,D),Ee=$o(t),Y=Tu(t),De=Ku(t,l),X=De?e=>K+De.positions[e]*Ce:Ee?e=>K+((Y?u-1-e:e)+.5)/u*Ce:e=>{let t=Y?u-1-e:e;return K+(u===1?Ce/2:t/(u-1)*Ce)},Oe=e=>q+J-Te.frac(e)*J,ke=de?de.makeToY(q,J):Oe,Ae=e=>P(e)?ke:Oe,je=Oe(Vd(t,Te.min,Te.max)),Me=N&&de?ke(Bd(t.secondaryCatAxis?.crossesAt,t.secondaryCatAxis?.crosses,de.min,de.max)):je,Ne=e=>P(e)?Me:je,{color:Pe,width:Fe}=Zo(t.catAxisLineColor,t.catAxisLineWidthEmu,r),{color:Ie,width:Re}=Zo(t.valAxisLineColor,t.valAxisLineWidthEmu,r);if(!t.valAxisHidden){let n=gu(t,r),i=_u(t,r);if(t.valAxisMinorGridlines)for(let t of Te.minorLines)hu(e,K,Ce,Oe(t),!1,i);if(Eu(t))for(let t of Te.majorLines)hu(e,K,Ce,Oe(t),t===0,n)}if(N&&de&&Yu(e,N,de,ke,K,Ce,r),!t.catAxisHidden&&bu(t)){let n=xu(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);let a=De?De.majorTicks.map(e=>e.fraction):Cu(t,u);for(let t of a){let n=K+t*Ce;e.beginPath(),e.moveTo(n,q),e.lineTo(n,q+J),e.stroke()}n.dash.length>0&&e.setLineDash(i)}let ze=v.flatMap(({areaIndices:e})=>e),Be=(e,t)=>C[e]?.[t]??0;for(let n of ze){let{series:a,chartIndex:o}=f[n],s=wl(o,a),c=Af(a,o),l=Tt(t,a,void 0,c),d=q+J,p=Ae(a),m=a.smooth===!0;Aa(e,va(a.chartexStyle),Ke(t,`dataPoint`,Le(t,a)),c,{x:K,y:q,w:Ce,h:J},r,e=>{if(e.beginPath(),y[n]){let t=[];for(let e=0;e<u;e++)t.push({x:X(e),y:Oe(C[n][e])});e.moveTo(t[0].x,t[0].y),wf(e,t,m);for(let t=u-1;t>=0;t--)e.lineTo(X(t),Oe(S[n][t]))}else{let t=[];for(let e=0;e<u;e++)t.push({x:X(e),y:p(a.values[e]??0)});e.moveTo(X(0),d),e.lineTo(t[0].x,t[0].y),wf(e,t,m),e.lineTo(X(u-1),d)}e.closePath(),Bf(e,l,{x:K,y:q,w:Ce,h:J},s,r,i),Ol(e,t,`dataPoint`,a,void 0,c,s,1.5,r,{x:K,y:q,w:Ce,h:J},i)&&e.stroke()})}let Ve=new Map;for(let e=0;e<f.length;e++){let t=f[e].series,n=t.areaGroupIndex??0,r=Ve.get(n)??[];r.push({series:t,areaIndex:e}),Ve.set(n,r)}for(let n of t.areaGroupDecorations??[]){if(!n.dropLines||!ud(e,dd(t,n.dropLines,`dropLine`),r))continue;let i=Ve.get(n.groupIndex)??[];for(let t=0;t<u;t++){let n=1/0,r=-1/0,a=!1;for(let e of i){if(e.series.values[t]==null)continue;let i=Ae(e.series)(Be(e.areaIndex,t)),o=Ne(e.series);!Number.isFinite(i)||!Number.isFinite(o)||(n=Math.min(n,i,o),r=Math.max(r,i,o),a=!0)}!a||Math.abs(r-n)<.01||(e.beginPath(),e.moveTo(X(t),n),e.lineTo(X(t),r),e.stroke())}}{let n=Math.max(2,2.5*r);for(let p=0;p<f.length;p++){let{series:m,chartIndex:h}=f[p],g=Tl(m.dataPointOverrides),_=wl(h,m),v=Ae(m),y=e=>Be(p,e),S=x[p];for(let n of m.errBars??[])Df(e,m,md(t,n),u,X,v,y,_);let C=(m.showMarker===!0||Vn(m))&&m.markerSymbol!==`none`,w=mf(t,m,h);if(C||Xn(m))for(let a=0;a<u;a++){if(m.sourceHidden?.[a]===!0||m.values[a]==null)continue;let o=g.get(a),s=$n(m,o,`circle`,C);if(s===`none`)continue;let c=X(a),l=v(y(a));if(w||Hn(o)){let n=o?.markerSize??m.markerSize??5,u=tr(m,o,a,_),d=o?.markerLine??m.markerLine??null,f=o?.markerLineWidthEmu??m.markerLineWidthEmu;pf(e,t,m,o,a,c,l,s,n,u,d,r,f==null?void 0:Xo(f,r),er(m,o,a),i)}else e.fillStyle=_,e.beginPath(),e.arc(c,l,n,0,Math.PI*2),e.fill()}kf(e,m,l,u,X,v,y,J,r,t.date1904??!1,!0,Ml(t,t.dataLabelFontFace,`minor`),t.dataLabelPosition??`ctr`,{x:K,y:q,w:Ce,h:J},{x:a,y:o,w:s,h:c},b[p]&&S?e=>(m.values[e]??0)/S[e]:void 0,void 0,e=>Ml(t,e,`minor`),P(m)?N?.displayUnits:t.valAxisDisplayUnits,e=>d(h,e),e=>od(t,e,P(m)&&de?de.max:Te.max),i)}}for(let{series:f,chartIndex:m}of p){let p=Tl(f.dataPointOverrides),h=wl(m,f),g=f.lineColor?`#${f.lineColor}`:h,_=Af(f,m),v=Ae(f),y=Ge(t,m),b=[],x=[],S=()=>{x.length>0&&b.push(x),x=[]};for(let e=0;e<u;e++){let n=f.values[e];if(f.sourceHidden?.[e]===!0){S();continue}n==null&&((t.dispBlanksAs??`gap`)===`gap`&&S(),(t.dispBlanksAs??`gap`)!==`zero`)||x.push({x:X(e),y:v(n??0),index:e})}S(),y?kl(e,t,f,b,f.smooth===!0,!1,h,Math.max(1,2.25*r),r,{x:K,y:q,w:Ce,h:J},i):Aa(e,va(f.chartexStyle),t.chartStyleRoles?.dataPointLine,_,{x:K,y:q,w:Ce,h:J},r,e=>{if(Ol(e,t,`dataPointLine`,f,void 0,_,h,Math.max(1,2.25*r),r,{x:K,y:q,w:Ce,h:J},i)){e.beginPath();for(let t of b)e.moveTo(t[0].x,t[0].y),wf(e,t,f.smooth===!0);e.stroke()}});let C=e=>f.values[e]??0;for(let n of f.errBars??[])Df(e,f,md(t,n),u,X,v,C,g);let w=(f.showMarker===!0||Vn(f))&&f.markerSymbol!==`none`;if(w||Xn(f))for(let n=0;n<u;n++){if(f.sourceHidden?.[n]===!0)continue;let a=f.values[n];if(a==null)continue;let o=p.get(n),s=$n(f,o,`circle`,w);s!==`none`&&pf(e,t,f,o,n,X(n),v(a),s,o?.markerSize??f.markerSize??5,tr(f,o,n,g),o?.markerLine??f.markerLine??null,r,(o?.markerLineWidthEmu??f.markerLineWidthEmu)==null?void 0:Xo(o?.markerLineWidthEmu??f.markerLineWidthEmu,r),er(f,o,n),i)}kf(e,f,l,u,X,v,C,J,r,t.date1904??!1,!1,Ml(t,t.dataLabelFontFace,`minor`),t.dataLabelPosition??`r`,{x:K,y:q,w:Ce,h:J},{x:a,y:o,w:s,h:c},void 0,void 0,e=>Ml(t,e,`minor`),P(f)?N?.displayUnits:t.valAxisDisplayUnits,e=>d(m,e),e=>od(t,e,P(f)&&de?de.max:Te.max),i),Lu(e,f,g,X,v,r,void 0,{chart:t,chartRect:n,plotRect:{x:K,y:q,w:Ce,h:J},shapeRotationDeg:i})}if(!t.valAxisHidden){let n=t.valAxisFontSizeHpt==null?Math.max(8,Math.min(11,J/20)):B;e.font=Nl(n,Ml(t,t.valAxisFontFace,`minor`),t.valAxisFontBold??!1,t.valAxisFontItalic??!1),e.textBaseline=`middle`;for(let i of Te.majorLines){let a=Oe(i);du(e,t.valAxisMajorTickMark,`val`,K,a,Ie,Re,!1,t.valAxisLineHidden,`major`,r,t.valAxisLineDash),e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`,e.textAlign=`right`;let o=t.valAxisFontSizeHpt==null?6:$t(n);e.fillText(Ou(t,i,D),K-o,a)}if(t.valAxisMinorTickMark&&t.valAxisMinorTickMark!==`none`)for(let n of Te.minorTicks)du(e,t.valAxisMinorTickMark,`val`,K,Oe(n),Ie,Re,!1,t.valAxisLineHidden,`minor`,r,t.valAxisLineDash)}if(!t.catAxisHidden&&!t.catAxisLineHidden&&fu(e,K,je,K+Ce,je,Pe,Fe,t.catAxisLineDash),!t.valAxisHidden&&!t.valAxisLineHidden&&t.valAxisLineColor!=null&&fu(e,K,q,K,q+J,Ie,Re,t.valAxisLineDash),!t.catAxisHidden&&t.catAxisMajorTickMark&&t.catAxisMajorTickMark!==`none`){let n=Math.max(1,Math.floor(t.catAxisTickMarkSkip??1));if(De)for(let n of De.majorTicks)du(e,t.catAxisMajorTickMark,`cat`,je,K+n.fraction*Ce,Pe,Fe,!1,t.catAxisLineHidden,`major`,r,t.catAxisLineDash);else if(Ee)for(let i=0;i<=u;i+=n)du(e,t.catAxisMajorTickMark,`cat`,je,K+i/u*Ce,Pe,Fe,!1,t.catAxisLineHidden,`major`,r,t.catAxisLineDash);else for(let i=0;i<u;i+=n)du(e,t.catAxisMajorTickMark,`cat`,je,X(i),Pe,Fe,!1,t.catAxisLineHidden,`major`,r,t.catAxisLineDash)}if(!t.catAxisHidden&&t.catAxisMinorTickMark&&t.catAxisMinorTickMark!==`none`&&De)for(let n of De.minorTicks)du(e,t.catAxisMinorTickMark,`cat`,je,K+n.fraction*Ce,Pe,Fe,!1,t.catAxisLineHidden,`minor`,r,t.catAxisLineDash);if(!ae&&!t.catAxisHidden){let n=t.catAxisFontSizeHpt==null?Math.max(8,Math.min(11,Ce/u*.8)):z;e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#555`,e.textAlign=`center`,e.textBaseline=`top`,e.font=Nl(n,Ml(t,t.catAxisFontFace,`minor`),t.catAxisFontBold??!1,t.catAxisFontItalic??!1);let r=Math.max(1,Math.floor(t.catAxisTickLabelSkip??1)),i=De?De.majorTicks.map(e=>({label:Qa(String(e.serial),t.catAxisFormatCode,t.date1904),x:K+e.fraction*Ce,categoryIndex:-1})):Array.from({length:Math.ceil(u/r)},(e,n)=>{let i=n*r;return{label:Qa((l[i]??``).toString(),t.catAxisFormatCode,t.date1904),x:X(i),categoryIndex:i}});for(let r of i){let i=r.label;if(!i)continue;let a=r.categoryIndex<0?null:It(r.categoryIndex,u,$o(t),Tu(t),t.catAxisLabelAlignment),o=Mt(t.catAxisFontSizeHpt==null?3:Qt(n),t.catAxisLabelOffsetPercent);e.textAlign=a?.textAlign??`center`;let s=t.catAxisTickLabelPos??`nextTo`,c=s===`nextTo`?je:s===`high`?q:q+J;e.fillText(i,a?K+a.fraction*Ce:r.x,c+o)}}if(N&&de){let i=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`;Xu(e,t,N,de,ke,n,K,q,Ce,J,r,pe,me,i,t.date1904)}we&&Ul(e,t,we,K,q+J,Ce,a+ee,r),lu(e,t,V,a,o,s,c,K,q,Ce,J,R+2,r),Ll(e,t,a,o,s,c,K,q,Ce,J,ee,W,G,ne)}function qd(e,t,n,r,i=0){let a=t.series[0];if(!a)return;let o=pr(t.ofPie,a.values);if(o==null||o.size===0){Jd(e,{...t,chartType:`pie`},n,!1,r,i);return}let s=[],c=[];for(let e=0;e<a.values.length;e++){let t=a.values[e],n=t==null?0:Math.abs(t);!(n>0)||!Number.isFinite(n)||(o.has(e)?c:s).push({sourceIndex:e,value:n})}if(c.length===0){Jd(e,{...t,chartType:`pie`},n,!1,r,i);return}let l={...t,chartType:`pie`},u=ou(e,l,n.w,n.h,.28,r),d=nn(t,n.x,n.y,n.w,n.h,r,{titleTopPadFrac:.035,titleBottomPadFrac:.035,legendSideReserveFrac:.28,legendReserve:u,radialGapFrac:.02,honorPlotAreaManualLayout:!0});rd(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;il(e,t,f,p,m,h,r,i);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=Tl(a.dataPointOverrides),D=[...s,{sourceIndex:c[0].sourceIndex,value:T}],O=(n,o,s)=>{let c=n.reduce((e,t)=>e+t.value,0),l=-Math.PI/2,u=l,d=l;for(let f=0;f<n.length;f++){let p=n[f],m=c>0?p.value/c*Math.PI*2:0,h=E.get(p.sourceIndex),g=Dl(t,a,0,p.sourceIndex),_=El(p.sourceIndex,a,t.varyColors!==!1,0),v=Tt(t,a,h,g,p.sourceIndex),y=l,b=l+m;Aa(e,va(h?.chartexStyle,a.chartexStyle),Ke(t,`dataPoint`,0),g,{x:o-s,y:w-s,w:s*2,h:s*2},r,e=>{e.beginPath(),e.moveTo(o,w),e.arc(o,w,s,y,b),e.closePath(),Bf(e,v,{x:o-s,y:w-s,w:s*2,h:s*2},_,r,i),Al(e,t,a,h,g,`#FFFFFF`,r,{x:o-s,y:w-s,w:s*2,h:s*2},i)}),f===n.length-1&&(u=l,d=l+m),l+=m}return{aggregateStart:u,aggregateEnd:d}},k=O(D,S,y),A=w-b,j=w+b;if((g?.type??`pie`)===`bar`){let n=w-b,o=b;for(let s of c){let c=T>0?2*b*s.value/T:0,l=C-o/2,u=E.get(s.sourceIndex),d=Dl(t,a,0,s.sourceIndex),f=El(s.sourceIndex,a,t.varyColors!==!1,0),p=Tt(t,a,u,d,s.sourceIndex);Aa(e,va(u?.chartexStyle,a.chartexStyle),Ke(t,`dataPoint`,0),d,{x:l,y:n,w:o,h:c},r,e=>{Vf(e,p,{x:l,y:n,w:o,h:c},f,r,i),e.beginPath(),e.rect(l,n,o,c),Al(e,t,a,u,d,`#FFFFFF`,r,{x:l,y:n,w:o,h:c},i)}),n+=c}A=w-b,j=w+b}else O(c,C,b);if(g?.seriesLines??!0){let n=dd(t,g?.seriesLineStyle??{},`seriesLine`),i=ud(e,{...n,color:n.color??`808080`},r),a={x:S+Math.cos(k.aggregateStart)*y,y:w+Math.sin(k.aggregateStart)*y},o={x:S+Math.cos(k.aggregateEnd)*y,y:w+Math.sin(k.aggregateEnd)*y};i&&(e.beginPath(),e.moveTo(a.x,a.y),e.lineTo(C-b,A),e.stroke(),e.beginPath(),e.moveTo(o.x,o.y),e.lineTo(C-b,j),e.stroke())}u&&lu(e,l,u,n.x,n.y,n.w,n.h,f,p,m,h,d.title.bandH+2,r)}function Jd(e,t,n,r,i,a=0){let{x:o,y:s,w:c,h:l}=n,u=t.series[0];if(!u)return;let d=u.categories&&u.categories.length>0?u.categories:t.categories,f=u.values.map(e=>Math.abs(e??0)),p=f.reduce((e,t)=>e+t,0);if(p===0)return;let m=r&&t.varyColors===!1&&t.series.length>1?t:{...t,series:[{...u,categories:d}]},h=ou(e,m,c,l,.28,i),g=nn(t,o,s,c,l,i,{titleTopPadFrac:.035,titleBottomPadFrac:.035,legendSideReserveFrac:.28,legendReserve:h,radialGapFrac:.02,honorPlotAreaManualLayout:!0}),_=g.title.fontPx,v=g.title.bandH;rd(e,t,o,s,c,l,s+g.title.topPad,_);let{px0:y,py0:b,pw:x,ph:S}=g.plotRect;il(e,t,y,b,x,S,i,a);let C=g.center.cx,w=g.center.cy,T=Math.min(x,S)*.42,E=-Math.PI/2+(t.firstSliceAngle??0)*Math.PI/180,D=r?Math.max(1,Math.min(90,t.holeSize??50)):0,O=r?t.series:[u],k=new Map(O.map(e=>[e,Tl(e.dataPointOverrides)])),A=(T-D/100*T)/O.length,j=(e,t)=>{let n=k.get(e)?.get(t)?.explosion??e.explosion??0;return n>0?n/100*T:0},M=u.seriesDataLabels??{showVal:!1,showCatName:!1,showSerName:!1,showPercent:!1},N=u.seriesDataLabels!=null||(u.dataLabelOverrides?.length??0)>0,P=t.showDataLabels&&!N,F=Ml(t,M.fontFace??t.dataLabelFontFace,`minor`);for(let n=0;n<O.length;n++){let o=O[n],s=o.values.map(e=>Math.abs(e??0)),c=s.reduce((e,t)=>e+t,0);if(c===0)continue;let l=T-n*A,u=l-A,d=E;for(let f=0;f<s.length;f++){let p=s[f]/c*Math.PI*2;if(!(p>0))continue;let m=Dl(t,o,n,f),h=El(f,o,t.varyColors!==!1,n),g=k.get(o)?.get(f),_=d+p/2,v=j(o,f),y=v>0?Math.cos(_)*v:0,b=v>0?Math.sin(_)*v:0,x=Tt(t,o,g,m,f),S={x:C+y-l,y:w+b-l,w:l*2,h:l*2};if(Aa(e,va(g?.chartexStyle,o.chartexStyle),Ke(t,`dataPoint`,Le(t,o)),m,S,i,e=>{e.beginPath(),u>.01?(e.arc(C+y,w+b,l,d,d+p),e.arc(C+y,w+b,u,d+p,d,!0)):(e.moveTo(C+y,w+b),e.arc(C+y,w+b,l,d,d+p)),e.closePath(),Bf(e,x,S,h,i,a),Al(e,t,o,g,m,h,i,S,a)}),P&&n===0&&p>.15){let t=T*(r?.75:.6),n=C+y+Math.cos(_)*t,i=w+b+Math.sin(_)*t,a=Math.round(s[f]/c*100);e.font=`bold ${Math.max(8,T*.1)}px ${F}`,e.fillStyle=`#fff`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(`${a}%`,n,i)}d+=p}}N&&Yd(e,t,M,u,d,f,p,C,w,T,r?T-A:0,E,F,i,y,b,x,S,o,s,c,l,a),h&&lu(e,m,h,o,s,c,l,y,b,x,S,v+2,i)}function Yd(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S){let C=Tl(r.dataLabelOverrides??[]),w=$l({...t,series:[{...r,categories:i}]},p),T=new Set;for(let e=0;e<a.length;e++){if(r.sourceHidden?.[e]===!0)continue;let t=C.get(e);if(Sn(n,t))continue;let i=ho(t?.labelBox,n.labelBox);i?.fillHidden!==!0&&(i?.fill!=null||i?.fillPaint!=null)&&T.add(e)}T.size>0&&ef(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,g,h,_,v,y,b,x,T,C,S);let E=[],D=d;for(let d=0;d<a.length;d++){let O=a[d]/o*Math.PI*2,k=D+O/2;if(D+=O,r.sourceHidden?.[d]===!0||T.has(d))continue;let A=C.get(d);if(Sn(n,A))continue;let j=A?.showCatName??n.showCatName,M=A?.showSerName??n.showSerName,N=A?.showVal??n.showVal,P=A?.showPercent??n.showPercent,F=A?.showLegendKey??n.showLegendKey??!1,I=oo({customText:A?.text,showCategory:j,showSeries:M,showValue:N,showPercent:P,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}),L=F?w(0,d):void 0;if(!I&&!L)continue;let R=(A?.position??n.position??`bestFit`)===`outEnd`,z=Bt(A?.fontSizeHpt??n.fontSizeHpt,p)??Math.max(8,l*.1),B=A?.fontBold??n.fontBold,V=A?.fontColor??n.fontColor,H=A?.fontFace??n.fontFace?Ml(t,A?.fontFace??n.fontFace,`minor`):f,ee=Cn(A,n),U=yf(t,A,p,H,B??!1,ee),W=u>.01?(u+l)/2:l*yp;if(A?.manualLayout){e.font=`${ee.fontItalic?`italic `:``}${B?`bold `:``}${z}px ${H}`,xf(e,I,{kind:`point`,x:s+Math.cos(k)*W,y:c+Math.sin(k)*W,position:`ctr`},{x:m,y:h,w:g,h:_},z,V?`#${V}`:`#fff`,A.manualLayout,{x:v,y,w:b,h:x},U,L,ee,p,ho(A?.labelBox,n.labelBox),S);continue}if(R){e.font=`${ee.fontItalic?`italic `:``}${B?`bold `:``}${z}px ${H}`;let t=U?Xc(e,U,z,V?`#${V}`:`#333`):null,n=z*1.15,r=t?[]:kn(I,Math.max(0,b-z),Math.max(0,x-z),n,t=>e.measureText(t).width,ee);if(U&&!t||!t&&r.length===0&&!L)continue;let i=t?.width??r.reduce((t,n)=>Math.max(t,e.measureText(n).width),0),a=t?.height??z+Math.max(0,r.length-1)*n,o=L?ru([L.entry],z,p)[0]??0:0,u=L?iu(L.entry,z,p):0;E.push(Qd(r,k,s,c,l,Math.min(o+(I?op:0)+i,Math.max(0,b-z)),Math.min(Math.max(u,a),Math.max(0,x-z)),n,z,B??!1,V?`#${V}`:`#333`,H,t??void 0,L,ee,p));continue}let te=W,G=s+Math.cos(k)*te,ne=c+Math.sin(k)*te;e.font=`${ee.fontItalic?`italic `:``}${B?`bold `:``}${z}px ${H}`;let re=2*te*Math.sin(Math.min(Math.PI,Math.abs(O))/2)-z,ie=u>.01?l-u-z:l-z;if(!(re>0)||!(ie>0))continue;let ae=ad({x:G-re/2,y:ne-ie/2,w:re,h:ie},{x:m,y:h,w:g,h:_});ae&&xf(e,I,{kind:`point`,x:G,y:ne,position:`ctr`},ae,z,V?`#${V}`:`#fff`,void 0,{x:v,y,w:b,h:x},U,L,ee,p,ho(A?.labelBox,n.labelBox),S)}$d(e,E,v,y,b,x)}function Xd(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 Zd(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;Xd(0,0,a*e,o*e,n,r)>=s?l=e:c=e}return l}function Qd(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m={},h=1){let g=Dn(a,o,m.textRotation,m.textVerticalMode),_=Tn(m,h),v=a+_.left+_.right,y=o+_.top+_.bottom,b=Dn(v,y,m.textRotation,m.textVerticalMode);a=b.w,o=b.h;let x=Zd(t,i,g.w/2,g.h/2,c*.5),S=n+Math.cos(t)*x,C=r+Math.sin(t)*x;return{lines:e,rich:f,legendKey:p,boxW:a,boxH:o,unrotatedW:v,unrotatedH:y,textStyle:m,ptToPx:h,lineHeight:s,fontPx:c,bold:l,fontColor:u,font:d,cxBox:S,cyBox:C}}function $d(e,t,n,r,i,a){if(t.length!==0){e.save(),e.beginPath(),e.rect(n,r,i,a),e.clip();for(let n of t){let t=Tn(n.textStyle,n.ptToPx),r=Dn(n.unrotatedW,n.unrotatedH,n.textStyle.textRotation,n.textStyle.textVerticalMode),i=n.cxBox+(t.left-t.right)/2,a=n.cyBox+(t.top-t.bottom)/2,o=Math.max(0,n.unrotatedW-t.left-t.right),s=wn(n.textStyle,`center`),c=s===`left`?n.cxBox-n.unrotatedW/2+t.left:s===`right`?n.cxBox+n.unrotatedW/2-t.right:i;if(e.save(),r.radians!==0&&(e.translate(n.cxBox,n.cyBox),e.rotate(r.radians),e.translate(-n.cxBox,-n.cyBox)),!n.legendKey){if(n.rich){Zc(e,n.rich,c,a,s,`middle`,o),e.restore();continue}e.font=`${n.textStyle.fontItalic?`italic `:``}${n.bold?`bold `:``}${n.fontPx}px ${n.font}`,e.fillStyle=n.fontColor,e.textAlign=s,e.textBaseline=`middle`;let t=(n.textStyle.fontBaseline??0)*n.fontPx,r=a-(n.lines.length-1)*n.lineHeight/2-t;if(!(n.textStyle.fontPaintAuthored===!0&&(n.textStyle.fontHidden===!0||n.textStyle.fontColor==null)))for(let t=0;t<n.lines.length;t++)e.fillText(n.lines[t],c,r+t*n.lineHeight);e.restore();continue}e.font=`${n.textStyle.fontItalic?`italic `:``}${n.bold?`bold `:``}${n.fontPx}px ${n.font}`;let l=n.legendKey?ru([n.legendKey.entry],n.fontPx,n.legendKey.ptToPx)[0]??0:0,u=n.legendKey?iu(n.legendKey.entry,n.fontPx,n.legendKey.ptToPx):0,d=n.rich?.width??n.lines.reduce((t,n)=>Math.max(t,e.measureText(n).width),0),f=n.legendKey&&(n.rich||n.lines.length>0)?op:0,p=i-(l+f+d)/2;if(n.legendKey&&Yl(e,n.legendKey.entry.swatchStyle,n.legendKey.entry.color,p,a-u/2,l,u,n.legendKey.entry.marker,n.legendKey.entry.fillPaint,n.legendKey.entry.outlinePaint,n.legendKey.entry.outlineColor,n.legendKey.entry.outlineWidthEmu,n.legendKey.entry.outlineDash,n.legendKey.entry.outlineCustomDash,n.legendKey.entry.outlineCap,n.legendKey.entry.outlineJoin,n.legendKey.ptToPx,n.legendKey.shapeRotationDeg,n.legendKey.entry.directEffect,n.legendKey.entry.fallbackEffect,n.legendKey.entry.directEffectIndex,n.legendKey.entry.fallbackEffectIndex),n.rich){Zc(e,n.rich,p+l+f,a,`left`,`middle`),e.restore();continue}e.fillStyle=n.fontColor,e.textAlign=`left`,e.textBaseline=`middle`;let m=(n.textStyle.fontBaseline??0)*n.fontPx,h=a-(n.lines.length-1)*n.lineHeight/2-m;if(!(n.textStyle.fontPaintAuthored===!0&&(n.textStyle.fontHidden===!0||n.textStyle.fontColor==null)))for(let t=0;t<n.lines.length;t++)e.fillText(n.lines[t],p+l+f,h+t*n.lineHeight);e.restore()}e.restore()}}function ef(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w){let T=$l(t,p),E=e=>C.get(e),D=Bt(n.fontSizeHpt,p)??Math.max(9,l*.09),O=n.labelBox,k=[],A=d;for(let d=0;d<a.length;d++){let C=a[d]/o*Math.PI*2,w=A+C/2;if(A+=C,C<=0||!S.has(d))continue;let j=E(d);if(Sn(n,j))continue;let M=j?.showCatName??n.showCatName,N=j?.showSerName??n.showSerName,P=j?.showVal??n.showVal,F=j?.showPercent??n.showPercent,I=j?.showLegendKey??n.showLegendKey??!1,L=Bt(j?.fontSizeHpt,p)??D,R=j?.fontBold??n.fontBold??!1,z=j?.fontFace??n.fontFace?Ml(t,j?.fontFace??n.fontFace,`minor`):f,B=j?.fontColor?`#${j.fontColor}`:n.fontColor?`#${n.fontColor}`:`#000`,V=ho(j?.labelBox,O),H=j?.position??n.position??`bestFit`,ee=oo({customText:j?.text,showCategory:M,showSeries:N,showValue:P,showPercent:F,category:(i[d]??``).toString(),seriesName:r.name,sourceValue:a[d],percentRatio:a[d]/o,formatCode:j?.formatCode??n.formatCode??r.valFormatCode??null,percentFormatCode:j?.formatCode??n.formatCode??`0%`,date1904:t.date1904??!1,separator:j?.separator??n.separator,defaultSeparator:`
|
|
8
|
+
`}),U=I?T(0,d):void 0;if(!ee&&!U)continue;let W=Cn(j,n),te=yf(t,j,p,z,R,W),G=W.textBodyAuthored===!0||W.textLInsEmu!=null||W.textTInsEmu!=null||W.textRInsEmu!=null||W.textBInsEmu!=null,ne=Tn(W,p),re=G?ne.left:Math.max(4,L*.45),ie=G?ne.right:Math.max(4,L*.45),ae=G?ne.top:Math.max(2,L*.28),oe=G?ne.bottom:Math.max(2,L*.28),se=L*.22,ce=L+se;e.font=`${W.fontItalic?`italic `:``}${R?`bold `:``}${L}px ${z}`;let le=te?Xc(e,te,L,B):null;if(te&&!le)continue;let ue=le?[]:kn(ee,Math.max(0,h-re-ie),Math.max(0,_-ae-oe),ce,t=>e.measureText(t).width,W);if(!le&&ue.length===0&&!U)continue;let de=le?.width??0;if(!le)for(let t of ue)de=Math.max(de,e.measureText(t).width);let fe=U?ru([U.entry],L,p)[0]??0:0,pe=U?iu(U.entry,L,p):0,me=U&&ee?op:0,he=fe+me+de+re+ie,ge=Math.max(pe,le?.height??(ue.length>0?ue.length*ce-se:0))+ae+oe,_e=Dn(he,ge,W.textRotation,W.textVerticalMode),ve=Math.min(_e.w,h),ye=Math.max(pe,le?.height??(ue.length>0?ue.length*ce-se:0));ye=Math.min(_e.h,_);let be=s+Math.cos(w)*l,xe=c+Math.sin(w)*l,Se=Math.cos(w)<0,K=Math.max(ve,ye)*.55+l*.06,q=be+Math.cos(w)*K,Ce=xe+Math.sin(w)*K,J,we=!1;if(j?.manualLayout){let t=mn({kind:`point`,x:q,y:Ce,position:`ctr`},{x:m,y:g,w:h,h:_},{w:ve,h:ye},L,j.manualLayout,{x:v,y,w:b,h:x});if(!t||(ve=t.rect.w,ye=t.rect.h,he=ve,ge=ye,!le&&(ue=kn(ee,Math.max(0,ve-re-ie-fe-me),Math.max(0,ye-ae-oe),ce,t=>e.measureText(t).width,W),ue.length===0&&!U)))continue;q=t.rect.x+t.rect.w/2,Ce=t.rect.y+t.rect.h/2,Se=q<s,J=t.clip}else if(H!==`bestFit`&&H!==`outEnd`){let t=u>.01?(u+l)/2:l*yp,n=s+Math.cos(w)*t,r=c+Math.sin(w)*t,i=2*t*Math.sin(Math.min(Math.PI,Math.abs(C))/2)-L,a=u>.01?l-u-L:l-L,o=ad({x:n-i/2,y:r-a/2,w:i,h:a},{x:m,y:g,w:h,h:_});if(!o)continue;if(le)ve=Math.min(ve,o.w),ye=Math.min(ye,o.h);else{if(ue=kn(ee,Math.max(0,o.w-re-ie-fe-me),Math.max(0,o.h-ae-oe),ce,t=>e.measureText(t).width,W),ue.length===0&&!U)continue;de=ue.reduce((t,n)=>Math.max(t,e.measureText(n).width),0),he=fe+me+de+re+ie,ge=Math.max(pe,ue.length>0?ue.length*ce-se:0)+ae+oe,_e=Dn(he,ge,W.textRotation,W.textVerticalMode),ve=_e.w,ye=_e.h}let d=mn({kind:`point`,x:n,y:r,position:H===`inBase`||H===`inEnd`?`ctr`:H},o,{w:ve,h:ye},L);if(!d)continue;q=d.textAlign===`left`?d.x+ve/2:d.textAlign===`right`?d.x-ve/2:d.x,Ce=d.textBaseline===`top`?d.y+ye/2:d.textBaseline===`bottom`?d.y-ye/2:d.y,Se=q<s,J=d.clip,we=!0}k.push({lines:ue,rich:le??void 0,legendKey:U,lineHeight:ce,midAngle:w,rimX:be,rimY:xe,boxW:ve,boxH:ye,unrotatedW:he,unrotatedH:ge,cxBox:q,cyBox:Ce,leftSide:Se,fontColor:B,box:V,fontPx:L,bold:R,font:z,textStyle:W,ptToPx:p,inside:we,manualClip:J})}let j=g+2,M=g+_-2,N=M-j,P=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>N){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,j+e[0].boxH/2),M-e[0].boxH/2);return}let r=(N-t)/(n-1),i=j;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-M;if(n>0)for(let t of e)t.cyBox-=n;let r=j-(e[0].cyBox-e[0].boxH/2);if(r>0)for(let t of e)t.cyBox+=r};P(k.filter(e=>!e.manualClip&&!e.leftSide)),P(k.filter(e=>!e.manualClip&&e.leftSide));for(let e of k)e.manualClip||(e.cyBox=Math.max(j+e.boxH/2,e.cyBox),e.cyBox=Math.min(M-e.boxH/2,e.cyBox));let F=m+2,I=m+h-2;for(let e of k){if(e.manualClip)continue;let t=e.boxW/2;e.cxBox-t<F&&(e.cxBox=F+t),e.cxBox+t>I&&(e.cxBox=I-t)}e.save(),e.beginPath(),e.rect(m,g,h,_),e.clip();let L=hd(t,n),R=L.color?`#${L.color}`:`#a6a6a6`,z=L.widthEmu?Math.max(.5,L.widthEmu/Dt*p):1;e.setLineDash(Tf(L.dash??void 0,z));for(let t of k){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&&L.hidden!==!0&&(L.paintAuthored!==!0||L.color!=null)&&s>t.fontPx*.9&&(e.beginPath(),e.moveTo(t.rimX,t.rimY),e.lineTo(r,i),e.strokeStyle=R,e.lineWidth=z,e.stroke())}for(let t of k){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;go(e,t.box,{x:n,y:r,w:t.boxW,h:t.boxH},p,w);let i=t.textStyle.textBodyAuthored===!0||t.textStyle.textLInsEmu!=null||t.textStyle.textTInsEmu!=null||t.textStyle.textRInsEmu!=null||t.textStyle.textBInsEmu!=null,a=Tn(t.textStyle,t.ptToPx),o=i?a.left:Math.max(4,t.fontPx*.45),s=i?a.right:Math.max(4,t.fontPx*.45),c=i?a.top:Math.max(2,t.fontPx*.28),l=i?a.bottom:Math.max(2,t.fontPx*.28),u=Dn(t.unrotatedW,t.unrotatedH,t.textStyle.textRotation,t.textStyle.textVerticalMode),d=t.cxBox+(o-s)/2,f=t.cyBox+(c-l)/2,m=n+o,h=n+t.boxW-s,g=Math.max(0,h-m),_=wn(t.textStyle,`center`),v=_===`left`?m:_===`right`?h:d,y=e=>(t.textStyle.textVerticalAnchor??(t.textStyle.textBodyAuthored===!0?`t`:`ctr`))===`t`?r+c+e/2:(t.textStyle.textVerticalAnchor??(t.textStyle.textBodyAuthored===!0?`t`:`ctr`))===`b`?r+t.boxH-l-e/2:f,b=e=>_===`left`?m:_===`right`?h-e:d-e/2;if(e.save(),e.beginPath(),e.rect(n,r,t.boxW,t.boxH),e.clip(),u.radians!==0&&(e.translate(t.cxBox,t.cyBox),e.rotate(u.radians),e.translate(-t.cxBox,-t.cyBox)),!t.legendKey){let n=y(t.rich?.height??Math.max(0,t.lines.length*t.lineHeight-(t.lineHeight-t.fontPx)));if(t.rich){Zc(e,t.rich,v,n,_,`middle`,g),e.restore(),t.manualClip&&e.restore();continue}e.font=`${t.textStyle.fontItalic?`italic `:``}${t.bold?`bold `:``}${t.fontPx}px ${t.font}`,e.fillStyle=t.fontColor,e.textAlign=_,e.textBaseline=`middle`;let r=t.lineHeight-t.fontPx,i=(t.textStyle.fontBaseline??0)*t.fontPx,a=n-(t.lines.length*t.lineHeight-r)/2+t.fontPx/2-i;if(!(t.textStyle.fontPaintAuthored===!0&&(t.textStyle.fontHidden===!0||t.textStyle.fontColor==null)))for(let n=0;n<t.lines.length;n++)e.fillText(t.lines[n],v,a+n*t.lineHeight);e.restore(),t.manualClip&&e.restore();continue}let x=t.legendKey?ru([t.legendKey.entry],t.fontPx,t.legendKey.ptToPx)[0]??0:0,S=t.legendKey?iu(t.legendKey.entry,t.fontPx,t.legendKey.ptToPx):0,C=t.legendKey&&(t.rich||t.lines.length>0)?op:0,T=t.rich?.width??t.lines.reduce((t,n)=>Math.max(t,e.measureText(n).width),0),E=x+C+T,D=y(Math.max(S,t.rich?.height??Math.max(0,t.lines.length*t.lineHeight-(t.lineHeight-t.fontPx)))),O=b(E);if(t.legendKey&&Yl(e,t.legendKey.entry.swatchStyle,t.legendKey.entry.color,O,D-S/2,x,S,t.legendKey.entry.marker,t.legendKey.entry.fillPaint,t.legendKey.entry.outlinePaint,t.legendKey.entry.outlineColor,t.legendKey.entry.outlineWidthEmu,t.legendKey.entry.outlineDash,t.legendKey.entry.outlineCustomDash,t.legendKey.entry.outlineCap,t.legendKey.entry.outlineJoin,t.legendKey.ptToPx,t.legendKey.shapeRotationDeg,t.legendKey.entry.directEffect,t.legendKey.entry.fallbackEffect,t.legendKey.entry.directEffectIndex,t.legendKey.entry.fallbackEffectIndex),t.rich){Zc(e,t.rich,O+x+C,D,`left`,`middle`,T),e.restore(),t.manualClip&&e.restore();continue}e.font=`${t.textStyle.fontItalic?`italic `:``}${t.bold?`bold `:``}${t.fontPx}px ${t.font}`,e.fillStyle=t.fontColor,e.textAlign=`left`,e.textBaseline=`middle`;let k=t.lineHeight-t.fontPx,A=(t.textStyle.fontBaseline??0)*t.fontPx,j=D-(t.lines.length*t.lineHeight-k)/2+t.fontPx/2-A;if(!(t.textStyle.fontPaintAuthored===!0&&(t.textStyle.fontHidden===!0||t.textStyle.fontColor==null)))for(let n=0;n<t.lines.length;n++)e.fillText(t.lines[n],O+x+C,j+n*t.lineHeight);e.restore(),t.manualClip&&e.restore()}e.restore()}function tf(e,t,n,r,i=0){let{x:a,y:o,w:s,h:c}=n,l=id(t),u=l.length;if(u<3)return;let d=ou(e,t,s,c,.22,r),f=nn(t,a,o,s,c,r,{titleTopPadFrac:.035,titleBottomPadFrac:.035,legendSideReserveFrac:.22,legendReserve:d,radialGapFrac:.02,honorPlotAreaManualLayout:!0}),p=f.title.fontPx;rd(e,t,a,o,s,c,o+f.title.topPad,p);let{px0:m,py0:h,pw:g,ph:_}=f.plotRect;il(e,t,m,h,g,_,r,i);let v=f.center.cx,y=f.center.cy,b=t.plotAreaManualLayout,x=b?.layoutTarget===`inner`&&b.w!=null&&b.h!=null&&Number.isFinite(b.w)&&Number.isFinite(b.h)&&f.plotAreaManualLayoutApplied?Math.min(g,_)/2:Math.min(g,_)*.38,S=1/0,C=-1/0;for(let e of t.series)for(let t of e.values)t!=null&&(S=Math.min(S,t),C=Math.max(C,t));isFinite(S)||(S=0,C=1),C===0&&(C=1);let w=t.valAxisMinorTickMark!=null&&t.valAxisMinorTickMark!==`none`,T=t.valAxisLogBase!=null&&Number.isFinite(t.valAxisLogBase)&&t.valAxisLogBase>=2,E=t.valAxisMajorUnit??(T?null:Tc(t.valMin??S,t.valMax??C,x/r)),D=Ic({dataMin:S,dataMax:C,explicitMin:t.valMin,explicitMax:t.valMax,axisLenPt:x/r,axisOrientation:`vertical`,majorUnit:E,minorUnit:t.valAxisMinorUnit,needMinor:t.valAxisMinorGridlines===!0||w,logBase:t.valAxisLogBase,reversed:wu(t)}),O=e=>Cf(D.fraction(e),0,1),k=-Math.PI/2,A=e=>k+e/u*Math.PI*2,j=D.majorTicks.filter(e=>O(e)>0),M=t=>{let n=O(t)*x;e.beginPath();for(let t=0;t<u;t++){let r=A(t),i=v+Math.cos(r)*n,a=y+Math.sin(r)*n;t===0?e.moveTo(i,a):e.lineTo(i,a)}e.closePath(),e.stroke()};if(t.valAxisMinorGridlines){let n=_u(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 D.minorTicks)M(e);n.dash.length>0&&e.setLineDash(i)}if(!t.valAxisHidden&&Eu(t)){let n=gu(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 j)M(e);n.dash.length>0&&e.setLineDash(i)}e.strokeStyle=`#bbb`,e.lineWidth=.5;for(let t=0;t<u;t++){let n=A(t);e.beginPath(),e.moveTo(v,y),e.lineTo(v+Math.cos(n)*x,y+Math.sin(n)*x),e.stroke()}if(!t.valAxisHidden){e.font=Nl(Bu(t.valAxisFontSizeHpt,c,r),Ml(t,t.valAxisFontFace,`minor`),t.valAxisFontBold??!1,t.valAxisFontItalic??!1),e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`,e.textAlign=`right`,e.textBaseline=`middle`;for(let n of j){let i=y-O(n)*x,a=Zo(t.valAxisLineColor,t.valAxisLineWidthEmu,r);du(e,t.valAxisMajorTickMark,`val`,v,i,a.color,a.width,!1,t.valAxisLineHidden,`major`,r,t.valAxisLineDash),t.valAxisTickLabelPos!==`none`&&e.fillText(Ou(t,n,!1),v-3,i)}if(w){let n=Zo(t.valAxisLineColor,t.valAxisLineWidthEmu,r);for(let i of D.minorTicks)du(e,t.valAxisMinorTickMark,`val`,v,y-O(i)*x,n.color,n.width,!1,t.valAxisLineHidden,`minor`,r,t.valAxisLineDash)}}e.font=Nl(t.catAxisFontSizeHpt==null?Math.max(8,Math.min(11,x*.2)):Bu(t.catAxisFontSizeHpt,c,r),Ml(t,t.catAxisFontFace,`minor`),t.catAxisFontBold??!1,t.catAxisFontItalic??!1),e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#444`,e.textBaseline=`middle`;let N=v-g/2,P=v+g/2;if(!t.catAxisHidden&&Uu(t))for(let n=0;n<u;n++){let r=A(n),i=Mt(12,t.catAxisLabelOffsetPercent),a=v+Math.cos(r)*(x+i),o=y+Math.sin(r)*(x+i),s=t.catAxisLabelAlignment,c=s===`l`?`left`:s===`r`?`right`:s===`ctr`?`center`:Math.cos(r)<-.1?`right`:Math.cos(r)>.1?`left`:`center`;e.textAlign=c;let u=c===`right`?a-N:c===`left`?P-a:2*Math.min(P-a,a-N),d=Qa((l[n]??``).toString(),t.catAxisFormatCode,t.date1904);e.fillText(Bc(e,d,u),a,o)}let F=Zn(`radar`,t.chartType,t.scatterStyle,t.radarStyle),I=Math.max(2,x*.025);for(let n=0;n<t.series.length;n++){let a=t.series[n],o=wl(n,a),s=Af(a,n),c=[];for(let e=0;e<u;e++){let t=a.values[e];if(t==null){c.push(null);continue}let n=O(t),r=A(e);c.push([v+Math.cos(r)*x*n,y+Math.sin(r)*x*n])}let l=c.every(e=>e!=null),d=[],f=[];for(let e=0;e<c.length;e++){let t=c[e];t==null?(f.length>0&&d.push(f),f=[]):f.push({x:t[0],y:t[1],index:e})}f.length>0&&d.push(f);let p={x:m,y:h,w:g,h:_},b=e=>{let n=e.getLineDash?e.getLineDash():[],u=e.lineCap,d=e.lineJoin;e.beginPath();let f=!1;for(let t of c){if(t==null){f=!1;continue}f?e.lineTo(t[0],t[1]):(e.moveTo(t[0],t[1]),f=!0)}l&&e.closePath(),F&&l&&Bf(e,Tt(t,a,void 0,s),p,Ri(o,.25),r,i),Ol(e,t,`dataPointLine`,a,void 0,s,o,2,r,p,i)&&e.stroke(),e.setLineDash(n),e.lineCap=u,e.lineJoin=d};if(Ge(t,n)){if(F&&l){let s=Tl(a.dataPointOverrides).get(0);Aa(e,va(s?.chartexStyle,a.chartexStyle),Ke(t,`dataPoint`,n),0,p,r,e=>{let n=Tt(t,a,s,0,0);if(n!==null){e.beginPath();for(let t=0;t<c.length;t++){let n=c[t];t===0?e.moveTo(n[0],n[1]):e.lineTo(n[0],n[1])}e.closePath(),Bf(e,n,p,Ri(o,.25),r,i)}},0)}kl(e,t,a,d,!1,l,o,2,r,p,i)}else Aa(e,va(a.chartexStyle),t.chartStyleRoles?.[F?`dataPoint`:`dataPointLine`],s,p,r,b);let S=!F&&a.showMarker!==!1&&a.markerSymbol!==`none`;if(!F&&(S||Xn(a))){let n=Tl(a.dataPointOverrides);for(let s=0;s<c.length;s++){let l=c[s];if(l==null)continue;let u=n.get(s),d=$n(a,u,`circle`,S);if(d===`none`)continue;let f=u?.markerSize??a.markerSize??Math.max(4,I*2/r),p=tr(a,u,s,o),m=u?.markerLine??a.markerLine??null,h=u?.markerLineWidthEmu??a.markerLineWidthEmu;pf(e,t,a,u,s,l[0],l[1],d,f,p,m,r,h==null?1:Xo(h,r),er(a,u,s),i)}}}lu(e,t,d,a,o,s,c,m,h,g,_,f.title.bandH+2,r)}function nf(e,t,n){if(n)return t+1;let r=e[t];if(r==null)return null;let i=parseFloat(r);return Number.isNaN(i)?null:i}function rf(e,t){return e.bubbleSizeRepresents===`w`?t:Math.sqrt(t)}function af(e,t,n,r){return tr(e,t,n,r)}function of(e,t,n,r,i,a,o=Wn(t,n)){let s=t.bubbleSizes?.[r];if(s!=null&&Number.isFinite(s)&&s<0)return t.invertedFillHidden===!0?{color:`00000000`,paint:null}:t.invertedFill?{color:t.invertedFill.fillType===`solid`?t.invertedFill.color:a,paint:t.invertedFill}:o?{color:`FFFFFF`,paint:void 0}:{color:`00000000`,paint:null};let c=Z(e,`dataPoint`),l=ht(n?.chartexStyle,c,r);if(l!==void 0)return{color:l?.fillType===`solid`?l.color:a,paint:l};let u=Math.max(0,Le(e,t)),d=Ke(e,`dataPoint`,u),f=Ge(e,u)?r:i;if(n?.fillHidden===!0){let e=_t(c);if(e!==void 0)return{color:`00000000`,paint:e}}if(n?.color!=null)return{color:n.color,paint:void 0};let p=t.dataPointColors?.[r];if(p!=null)return{color:p,paint:void 0};let m=ht(t.chartexStyle,c,i);if(m!==void 0)return{color:m?.fillType===`solid`?m.color:a,paint:m};if(t.color!=null)return{color:t.color,paint:void 0};let h=If(e,d,f,t.values.length);return h===void 0?{color:af(t,n,r,a),paint:er(t,n,r)}:{color:h?.fillType===`solid`?h.color:a,paint:h}}function sf(e,t,n,r,i){let a=n?.chartexStyle,o=t.chartexStyle,s=Math.max(0,Le(e,t)),c=Ke(e,`dataPoint`,s),l=Z(e,`dataPoint`),u=Ge(e,s)?r:i,d=c,f=[a,o,d],p=n?.lineDash,m;if(p==null){for(let e of f)if(e?.lineDash!=null||e?.lineCustomDash!=null||e?.lineDashAuthored===!0){p=e.lineDash,m=e.lineCustomDash??void 0;break}}let h={widthEmu:n?.lineWidthEmu??a?.lineWidthEmu??t.lineWidthEmu??o?.lineWidthEmu??d?.lineWidthEmu??n?.markerLineWidthEmu??t.markerLineWidthEmu,dash:p,customDash:m,cap:a?.lineCap??o?.lineCap??d?.lineCap,join:a?.lineJoin??o?.lineJoin??d?.lineJoin},g=gt(a,l,r);if(g!==void 0)return{color:g?.fillType===`solid`?g.color:n?.lineColor??null,paint:g,...h};if(n?.lineHidden===!0){let e=vt(l);if(e!==void 0)return{color:null,paint:e,...h}}if(n?.lineColor!=null)return{color:n.lineColor,paint:void 0,...h};let _=gt(o,l,i);if(_!==void 0)return{color:_?.fillType===`solid`?_.color:t.lineColor??null,paint:_,...h};if(t.lineHidden===!0){let e=vt(l);if(e!==void 0)return{color:null,paint:e,...h}}if(t.lineColor!=null)return{color:t.lineColor,paint:void 0,...h};let v=Ff(e,c,u,t.values.length);if(v!==void 0)return{color:v?.fillType===`solid`?v.color:null,paint:v,...h};let y=t.bubbleSizes?.[r],b=y!=null&&Number.isFinite(y)&&y<0&&Wn(t,n)?`000000`:null;return{color:n?.markerLine??t.markerLine??t.lineColor??b,paint:void 0,...h}}function cf(e,t,n){return{series:t,seriesIndex:n,fallbackColor:wl(n,t),cats:t.categories??e.categories,pointOverrides:new Map((t.dataPointOverrides??[]).map(e=>[e.idx,e]))}}function lf(e,t,n,r,i){let a=Cf(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||nf(i,t,n)==null||a.get(t)?.markerSymbol===`none`)continue;let s=Un(e,r.bubbleSizes?.[t]);s!=null&&(o=Math.max(o,rf(e,s)))}return o<=0?0:Math.min(r,i)*a/(300+a)/o}function uf(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_=0,v){let y=p===`line`||p===`lineMarker`||p===`lineNoMarker`,b=p===`smooth`||p===`smoothMarker`||p===`smoothNoMarker`,x=Zn(`scatter`,t.chartType,p,t.radarStyle),S=n.map(({series:e,index:n})=>cf(t,e,n)),C=$l(t,d),w=v??t,T=f?lf(w,S,r,l,u):0;for(let{series:n,fallbackColor:o,cats:s}of S)for(let c of n.errBars??[])gf(e,n,md(t,c),s,r,i,a,o);for(let{series:n,seriesIndex:o,fallbackColor:m,cats:h}of S){let g=p===`marker`&&_s(n),v=g||y,x=!g&&p===`marker`&&!f||b;if(v||x){let f=[];for(let e=0;e<n.values.length;e++){let t=n.values[e];if(t==null)continue;let o=nf(h,e,r);o!=null&&f.push({x:i(o),y:a(t),index:e})}if(f.length>=2){let r=Af(n,o),i={x:s,y:c,w:l,h:u};if(Ge(t,o)){kl(e,t,n,[f],x,!1,m,1.5,d,i,_,!0);continue}Aa(e,va(n.chartexStyle),t.chartStyleRoles?.dataPointLine,r,i,d,e=>{e.save();let a=Ol(e,t,`dataPointLine`,n,void 0,r,m,1.5,d,i,_,!0,!1);if(a&&g&&n.dataPointColors?.some(Boolean)){e.lineWidth=1.5;for(let t=1;t<f.length;t++)e.strokeStyle=`#${n.dataPointColors[t]??n.color??m.replace(/^#/,``)}`,e.beginPath(),e.moveTo(f[t-1].x,f[t-1].y),e.lineTo(f[t].x,f[t].y),e.stroke()}else if(a){if(e.beginPath(),e.moveTo(f[0].x,f[0].y),x&&f.length>=3)for(let t=0;t<f.length-1;t++){let n=f[t-1]??f[t],r=f[t],i=f[t+1],a=f[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<f.length;t++)e.lineTo(f[t].x,f[t].y);e.stroke()}e.restore()})}}}for(let{series:n,seriesIndex:o,fallbackColor:s,cats:c,pointOverrides:l}of S){let u=!x&&n.showMarker!==!1&&n.markerSymbol!==`none`;if(u||!x&&Xn(n))for(let p=0;p<n.values.length;p++){let m=n.values[p];if(m==null)continue;let h=nf(c,p,r);if(h==null)continue;let g=l.get(p),v=$n(n,g,f?`circle`:n.automaticMarkerSymbol??`circle`,u);if(v===`none`)continue;let y=g?.markerSize??n.markerSize??5;if(f){if(T<=0)continue;let e=Un(w,n.bubbleSizes?.[p]);if(e==null)continue;y=rf(w,e)*T/d}let b=f?of(t,n,g,p,Af(n,o),s):null,x=b?.color??af(n,g,p,s),S=f?sf(t,n,g,p,Af(n,o)):null,C=f?S.color:g?.markerLine??n.markerLine??null,E=g?.markerLineWidthEmu??n.markerLineWidthEmu,D=S?.widthEmu,O=f?D:E,k=O==null?void 0:Xo(O,d),A=f?Wn(n,g):!1;pf(e,t,n,g,p,i(h),a(m),v,y,x,C,d,k,f?b.paint:er(n,g,p),_,f?S.paint:void 0,f?S.dash:void 0,f?S.customDash:void 0,f?S.cap:void 0,f?S.join:void 0,A,f)}}for(let{series:n,seriesIndex:s,cats:l,pointOverrides:p}of S)_f(e,n,l,r,i,a,u,d,t.date1904,Ml(t,t.dataLabelFontFace,`minor`),t.dataLabelPosition??`r`,{x:o.x,y:c,w:o.w,h:u},m,e=>Ml(t,e,`minor`),g,e=>C(s,e),e=>od(t,e,h),_,e=>{if(x)return 0;let t=n.showMarker!==!1&&n.markerSymbol!==`none`,r=p.get(e);if($n(n,r,`circle`,t)===`none`)return 0;let i=r?.markerSize??n.markerSize??5;if(f){if(T<=0)return 0;let t=Un(w,n.bubbleSizes?.[e]);if(t==null)return 0;i=rf(w,t)*T/d}return Math.max(0,i*d/2)});for(let{series:n,fallbackColor:f,cats:p}of S)Lu(e,n,f,i,a,d,n.values.map((e,t)=>nf(p,t,r)),{chart:t,chartRect:o,plotRect:{x:s,y:c,w:l,h:u},clipLineToPlot:!0,shapeRotationDeg:_})}function df(e,t,n,r,i=0){let{x:a,y:o,w:s,h:c}=n,l=t.series.map((e,t)=>({series:e,index:t})),u=cr(t),d=({series:e,index:n})=>u[n]?.categoryAxis===`secondary`||t.plotGroups==null&&e.useSecondaryAxis===!0,f=({series:e,index:n})=>u[n]?.valueAxis===`secondary`||t.plotGroups==null&&e.useSecondaryAxis===!0,p=l.filter(e=>!d(e)),m=l.filter(d),h=l.filter(e=>!f(e)),g=l.filter(f),_=l.filter(e=>!d(e)&&!f(e)),v=l.filter(e=>d(e)&&f(e)),y=m.length>0?t.secondaryCatAxis:null,b=g.length>0?t.secondaryValAxis:null,x=(e=>{let n=[];for(let{series:r}of e){let e=r.categories??t.categories;for(let t of e){let e=parseFloat(t);Number.isFinite(e)&&n.push(e)}}return n})(l).length===0,S=l.length===1&&l[0].series.bubbleXSourceIsString===!0?l[0].series.values.length+1:null,C=e=>{let n=[],r=[];for(let{series:i}of e){let e=i.categories??t.categories;for(let t=0;t<i.values.length;t++){let a=i.values[t];if(a==null)continue;let o=nf(e,t,x);o!=null&&(n.push(o),r.push(a))}qu(i,`x`,t=>i.values[t]==null?null:nf(e,t,x),e=>n.push(e)),qu(i,`y`,t=>nf(e,t,x)==null?null:i.values[t]??null,e=>r.push(e))}if(x&&n.length===0){let t=0;for(let{series:n}of e)t=Math.max(t,n.values.length);for(let e=0;e<t;e++)n.push(e)}return{x:Sc(n),y:Sc(r)}},w={x:C(p.length>0?p:m).x,y:C(h.length>0?h:g).y},T={x:C(m).x,y:C(g).y},E=td(e,t,s,c,r),D=E.fontPx,O=E.topPad,k=Bu(t.catAxisFontSizeHpt,c,r),A=Bu(t.valAxisFontSizeHpt,c,r),j=ou(e,t,s,c,.22,r),{legRightW:M,legLeftW:N,legTopH:P,legBottomH:F}=Wt(j,t.legendOverlay===!0),I=Yt(t,s,c,r),L=I.catFontPx,R=I.valFontPx,z=I.catBandH,B=I.valBandW;rd(e,t,a,o,s,c,o+O,D);let V=b?Ic({dataMin:T.y.min,dataMax:T.y.max,explicitMin:b.min,explicitMax:b.max,axisLenPt:Math.max(1,c*.7/r),axisOrientation:`vertical`,majorUnit:b.majorUnit,minorUnit:b.minorUnit,needMinor:b.minorGridlines===!0||b.minorTickMark!=null&&b.minorTickMark!==`none`,logBase:b.logBase,reversed:b.orientation===`maxMin`}):null,H=0;if(b&&V&&!b.hidden&&b.tickLabelPos!==`none`){let n=e.font;e.font=Nl(Bt(b.fontSizeHpt,r)??A,Ml(t,b.fontFace,`minor`),b.fontBold??!1,b.fontItalic??!1);for(let n of V.majorTicks)H=Math.max(H,e.measureText(Au(n,b.formatCode,t.date1904,b.displayUnits)).width);H+=$t(A)+4,e.font=n}let ee=y&&!y.hidden&&y.tickLabelPos!==`none`?(Bt(y.fontSizeHpt,r)??k)+Qt(k)+2:0,{plotRect:{px0:U,py0:W,pw:te,ph:G}}=nn(t,a,o,s,c,r,{titleBand:E,legendSideReserveFrac:.22,legendReserve:j,pad:{t:E.bandH+P+A/2+2+ee,r:M+s*.05+H,b:(t.catAxisHidden?c*.04:Zt(k))+z+F,l:(t.valAxisHidden?s*.04:s*.12)+B+N},honorPlotAreaManualLayout:!0});if(te<=0||G<=0)return;il(e,t,U,W,te,G,r,i);let{min:ne,max:re}=w.x,{min:ie,max:ae}=w.y;t.valMin!=null&&(ie=t.valMin),t.valMax!=null&&(ae=t.valMax);let oe=t.valAxisMinorGridlines===!0||t.valAxisMinorTickMark!=null&&t.valAxisMinorTickMark!==`none`,se=Ic({dataMin:ie,dataMax:ae,explicitMin:t.valMin,explicitMax:t.valMax,axisLenPt:G/r,axisOrientation:`vertical`,majorUnit:t.valAxisMajorUnit,minorUnit:t.valAxisMinorUnit,needMinor:oe,logBase:t.valAxisLogBase,reversed:wu(t)});ie=se.min,ae=se.max;let ce=t.catAxisMinorGridlines===!0||t.catAxisMinorTickMark!=null&&t.catAxisMinorTickMark!==`none`,le=Ic({dataMin:ne,dataMax:re,explicitMin:t.catAxisMin??(S==null?null:0),explicitMax:t.catAxisMax??S,axisLenPt:te/r,axisOrientation:`horizontal`,majorUnit:t.catAxisMajorUnit,minorUnit:t.catAxisMinorUnit,needMinor:ce,logBase:t.catAxisLogBase,reversed:Tu(t)});ne=le.min,re=le.max;let ue=y?Ic({dataMin:T.x.min,dataMax:T.x.max,explicitMin:y.min,explicitMax:y.max,axisLenPt:te/r,axisOrientation:`horizontal`,majorUnit:y.majorUnit,minorUnit:y.minorUnit,needMinor:y.minorGridlines===!0||y.minorTickMark!=null&&y.minorTickMark!==`none`,logBase:y.logBase,reversed:y.orientation===`maxMin`}):null,de=b?Ic({dataMin:T.y.min,dataMax:T.y.max,explicitMin:b.min,explicitMax:b.max,axisLenPt:G/r,axisOrientation:`vertical`,majorUnit:b.majorUnit,minorUnit:b.minorUnit,needMinor:b.minorGridlines===!0||b.minorTickMark!=null&&b.minorTickMark!==`none`,logBase:b.logBase,reversed:b.orientation===`maxMin`}):null,fe=e=>U+le.fraction(e)*te,pe=e=>W+G-se.fraction(e)*G,me=e=>U+(ue?.fraction(e)??0)*te,he=e=>W+G-(de?.fraction(e)??0)*G,ge=le.majorUnit,_e=se.majorTicks,ve=se.minorTicks,ye=le.majorTicks,be=le.minorTicks,xe=W+G;if(t.catAxisCrossesAt!=null)xe=Cf(pe(t.catAxisCrossesAt),W,W+G);else{let e=t.catAxisCrosses??`autoZero`;e===`autoZero`&&ie<0&&ae>0?xe=Cf(pe(0),W,W+G):e===`max`&&(xe=W)}let Se=U;if(t.valAxisCrossesAt!=null)Se=Cf(fe(t.valAxisCrossesAt),U,U+te);else{let e=t.valAxisCrosses??`autoZero`;e===`autoZero`&&ne<0&&re>0?Se=Cf(fe(0),U,U+te):e===`max`&&(Se=U+te)}let K=gu(t,r);if(!t.valAxisHidden){let n=t.valAxisFontSizeHpt==null?Math.max(8,Math.min(11,G/20)):Bu(t.valAxisFontSizeHpt,c,r),i=t.valAxisFontSizeHpt==null?4:$t(n);e.font=Nl(n,Ml(t,t.valAxisFontFace,`minor`),t.valAxisFontBold??!1,t.valAxisFontItalic??!1);let a=t.valAxisLineColor?`#${t.valAxisLineColor}`:void 0,o=Xo(t.valAxisLineWidthEmu,r),s=t.valAxisLineHidden?0:mu(t.valAxisMajorTickMark,`major`,o,r);if(t.valAxisMinorGridlines){let n=_u(t,r);for(let t of ve)hu(e,U,te,pe(t),!1,n)}for(let n of _e){let c=pe(n);if(e.strokeStyle=K.color,e.lineWidth=K.width,Eu(t)){let t=K.dash.length>0&&e.getLineDash?e.getLineDash():[];K.dash.length>0&&e.setLineDash(K.dash),e.beginPath(),e.moveTo(U,c),e.lineTo(U+te,c),e.stroke(),K.dash.length>0&&e.setLineDash(t)}if(t.valAxisTickLabelPos!==`none`){e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`;let r=t.valAxisTickLabelPos??`nextTo`,a;r===`high`?(e.textAlign=`left`,a=U+te+i):r===`low`?(e.textAlign=`right`,a=U-i):(e.textAlign=`right`,a=Se-s-i),e.textBaseline=`middle`,e.fillText(Ou(t,n,!1),a,c)}du(e,t.valAxisMajorTickMark,`val`,Se,c,a,o,!1,t.valAxisLineHidden,`major`,r,t.valAxisLineDash)}if(t.valAxisMinorTickMark&&t.valAxisMinorTickMark!==`none`)for(let n of ve)du(e,t.valAxisMinorTickMark,`val`,Se,pe(n),a,o,!1,t.valAxisLineHidden,`minor`,r,t.valAxisLineDash)}if(!t.catAxisHidden&&bu(t)&&ge>0){let n=xu(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 ye){let n=fe(t);e.beginPath(),e.moveTo(n,W),e.lineTo(n,W+G),e.stroke()}n.dash.length>0&&e.setLineDash(i)}if(!t.catAxisHidden&&t.catAxisMinorGridlines&&ge>0){let n=Su(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 be){let n=fe(t);e.beginPath(),e.moveTo(n,W),e.lineTo(n,W+G),e.stroke()}n.dash.length>0&&e.setLineDash(i)}if(!t.catAxisHidden&&!t.catAxisLineHidden&&(e.save(),e.lineCap=`butt`,fu(e,U,xe,U+te,xe,t.catAxisLineColor?`#${t.catAxisLineColor}`:`#888`,Xo(t.catAxisLineWidthEmu,r),t.catAxisLineDash),e.restore()),!t.valAxisHidden&&!t.valAxisLineHidden&&(e.save(),fu(e,Se,W,Se,W+G,t.valAxisLineColor?`#${t.valAxisLineColor}`:`#888`,Xo(t.valAxisLineWidthEmu,r),t.valAxisLineDash),e.restore()),!t.catAxisHidden){let n=t.catAxisFontSizeHpt==null?Math.max(8,Math.min(11,G/20)):Bu(t.catAxisFontSizeHpt,c,r),i=t.catAxisFontSizeHpt==null?4:Qt(n);e.font=Nl(n,Ml(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=Xo(t.catAxisLineWidthEmu,r),s=t.catAxisLineColor?`#${t.catAxisLineColor}`:void 0,l=t.catAxisLineHidden?0:mu(t.catAxisMajorTickMark,`major`,o,r),u=a===`low`?W+G+i:a===`high`?W-i:xe+l+i;e.textBaseline=a===`high`?`bottom`:`top`;for(let n of ye){let i=fe(n);a!==`none`&&e.fillText(Au(n,t.catAxisFormatCode,t.date1904,t.catAxisDisplayUnits),i,u),du(e,t.catAxisMajorTickMark,`cat`,xe,i,s,o,!1,t.catAxisLineHidden,`major`,r,t.catAxisLineDash)}if(t.catAxisMinorTickMark&&t.catAxisMinorTickMark!==`none`)for(let n of be)du(e,t.catAxisMinorTickMark,`cat`,xe,fe(n),s,o,!1,t.catAxisLineHidden,`minor`,r,t.catAxisLineDash)}let q=(l,u,d,f,p,m,h,g)=>{l.length!==0&&uf(e,t,l,x,f,p,n,U,W,te,G,r,u,d,{x:a,y:o,w:s,h:c},m,h,i,g)};if(t.plotGroups==null){let e=t.chartType===`bubble`,n=e?`marker`:t.scatterStyle??`marker`;q(_,e,n,fe,pe,se.max,t.valAxisDisplayUnits),v.length>0&&ue&&de&&q(v,e,n,me,he,de.max,b?.displayUnits)}else for(let e of t.plotGroups){if(e.kind!==`scatter`&&e.kind!==`bubble`)continue;let n=t.series.slice(e.seriesStart,e.seriesStart+e.seriesCount).map((t,n)=>({series:t,index:e.seriesStart+n}));if(n.length===0)continue;let r=e.kind===`bubble`,i=e.categoryAxis===`secondary`,a=e.valueAxis===`secondary`;q(n,r,r?`marker`:e.scatterStyle??t.scatterStyle??`marker`,i?me:fe,a?he:pe,a&&de?de.max:se.max,a?b?.displayUnits:t.valAxisDisplayUnits,r?{bubbleScale:e.bubbleScale??t.bubbleScale,bubbleSizeRepresents:e.bubbleSizeRepresents??t.bubbleSizeRepresents,showNegativeBubbles:e.showNegativeBubbles??t.showNegativeBubbles}:void 0)}if(y&&ue&&!y.hidden){let n=Zo(y.lineColor,y.lineWidthEmu,r);y.lineHidden||fu(e,U,W,U+te,W,n.color,n.width,y.lineDash);let i=Bt(y.fontSizeHpt,r)??k;e.font=Nl(i,Ml(t,y.fontFace,`minor`),y.fontBold??!1,y.fontItalic??!1),e.fillStyle=y.fontColor?`#${y.fontColor}`:`#555`,e.textAlign=`center`,e.textBaseline=`bottom`;let a=y.lineHidden?0:mu(y.majorTickMark,`major`,n.width,r);for(let o of ue.majorTicks){let s=me(o);y.tickLabelPos!==`none`&&e.fillText(Au(o,y.formatCode,t.date1904,y.displayUnits),s,W-a-Qt(i)),du(e,y.majorTickMark,`cat`,W,s,n.color,n.width,!0,y.lineHidden,`major`,r,y.lineDash)}if(y.minorTickMark&&y.minorTickMark!==`none`)for(let t of ue.minorTicks)du(e,y.minorTickMark,`cat`,W,me(t),n.color,n.width,!0,y.lineHidden,`minor`,r,y.lineDash)}b&&de&&Xu(e,t,b,{min:de.min,max:de.max,step:de.majorUnit,majorLines:de.majorTicks,minorTicks:de.minorTicks,makeToY:()=>he},he,n,U,W,te,G,r,Bt(b.fontSizeHpt,r)??A,H,t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`,t.date1904),lu(e,t,j,a,o,s,c,U,W,te,G,E.bandH+2,r),Ll(e,t,a,o,s,c,U,W,te,G,N,F,L,R)}function ff(e,t,n,r){let i=e.globalCompositeOperation,a=e.fillStyle;e.save(),e.clip();let o=i=>{e.globalCompositeOperation=`source-atop`,e.fillStyle=i,e.fillRect(t-r/2,n-r/2,r,r)},s=t-r*.08,c=n-r*.17,l=e.createRadialGradient(s,c,0,s,c,r*.55);l.addColorStop(0,`rgba(255,255,255,0.72)`),l.addColorStop(.14,`rgba(255,255,255,0.48)`),l.addColorStop(.38,`rgba(255,255,255,0.1)`),l.addColorStop(1,`rgba(255,255,255,0)`),o(l);let u=t-r*.08,d=n-r*.18,f=e.createRadialGradient(u,d,0,u,d,r*.78);f.addColorStop(0,`rgba(0,0,0,0)`),f.addColorStop(.3,`rgba(0,0,0,0)`),f.addColorStop(.46,`rgba(0,0,0,0.22)`),f.addColorStop(.66,`rgba(0,0,0,0.48)`),f.addColorStop(1,`rgba(0,0,0,0.62)`),o(f);let p=t-r*.2,m=n-r*.45,h=e.createRadialGradient(p,m,0,p,m,r);h.addColorStop(0,`rgba(255,255,255,0)`),h.addColorStop(.76,`rgba(255,255,255,0)`),h.addColorStop(.82,`rgba(255,255,255,0.05)`),h.addColorStop(.87,`rgba(255,255,255,0.12)`),h.addColorStop(.95,`rgba(255,255,255,0.28)`),h.addColorStop(1,`rgba(255,255,255,0)`),o(h),e.globalCompositeOperation=i,e.fillStyle=a,e.restore()}function pf(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h=void 0,g=void 0,_=void 0,v=void 0,y=void 0,b=!1,x=!1){let S=x?va(r?.chartexStyle):va(r?.markerStyle,r?.chartexStyle),C=va(x?n.chartexStyle:n.markerStyle),w=S??C,T=Math.max(0,Le(t,n)),E=n.chartexFormatIdx??T,D=Ge(t,T),O=S?i:E,k=Ke(t,`dataPointMarker`,T),A=Z(t,`dataPointMarker`),j=D?i:E,M=ht(r?.markerStyle,A,i),N=ht(n.markerStyle,A,E),P=M!==void 0||r?.markerFill!=null||r?.markerFillPaintAuthored===!0&&r.markerStyle?.fillHidden!==!0,F=N!==void 0||n.markerFill!=null||n.markerFillPaintAuthored===!0&&n.markerStyle?.fillHidden!==!0,I=l,L=p;if(!x&&!P&&!F){let e=yt(k,A,j,r?.markerStyle?.shapePropertiesPresent===!0?r.markerStyle:n.markerStyle);e===null?(I=`00000000`,L=null):e?.fillType===`solid`?(I=e.color,L=void 0):e!==void 0&&(L=e)}let R=gt(r?.markerStyle,A,i),z=gt(n.markerStyle,A,E),B=u,V=h;if(!x&&V===void 0)if(R!==void 0)V=R?.fillType===`solid`?void 0:R;else if(r?.markerLine!=null)V=void 0;else if(r?.markerLinePaintAuthored===!0&&r.markerStyle?.lineHidden!==!0&&(r.markerLine==null||r.markerLine===`00000000`))V=null;else if(z!==void 0)V=z?.fillType===`solid`?void 0:z;else if(n.markerLine!=null)V=void 0;else if(n.markerLinePaintAuthored===!0&&n.markerStyle?.lineHidden!==!0&&(n.markerLine==null||n.markerLine===`00000000`))V=null;else{let e=bt(k,A,j,r?.markerStyle?.shapePropertiesPresent===!0?r.markerStyle:n.markerStyle);e?.fillType===`solid`?(B=e.color,V=void 0):(V=e,e===null&&(B=null))}let H=x?void 0:k,ee=f??(()=>{let e=r?.markerStyle?.lineWidthEmu??n.markerStyle?.lineWidthEmu??H?.lineWidthEmu;return e==null?void 0:Xo(e,d)})(),U=Be(g!=null||_!=null?{lineDash:g,lineCustomDash:_,lineDashAuthored:!0}:void 0,r?.markerStyle,n.markerStyle,H),W=U?.lineDash,te=U?.lineCustomDash,G=v??r?.markerStyle?.lineCap??n.markerStyle?.lineCap??H?.lineCap,ne=y??r?.markerStyle?.lineJoin??n.markerStyle?.lineJoin??H?.lineJoin,re=x?Ke(t,b?`dataPoint3D`:`dataPoint`,T):k,ie=x&&Ge(t,T)||D?i:E;hf(e,a,o,s,c,I,B,d,ee,L,m,V,W,te,G,ne,b,w,re,O,ie)}function mf(e,t,n=Math.max(0,Le(e,t))){return Vn(t)||Ke(e,`dataPointMarker`,n)!=null}function hf(e,t,n,r,i,a,o,s,c=1,l=void 0,u=0,d=void 0,f=void 0,p=void 0,m=void 0,h=void 0,g=!1,_=void 0,v=void 0,y=0,b=y){let x=Math.max(2,i*s),S=x/2;if(_!==void 0||v!==void 0){Aa(e,_,v,y,{x:t-S,y:n-S,w:x,h:x},s,e=>hf(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g),b);return}let C=a.startsWith(`#`)?a:`#${a}`,w=o?o.startsWith(`#`)?o:`#${o}`:null;e.save(),e.fillStyle=l===void 0?C:l==null?`rgba(0,0,0,0)`:Vi(l,e,t-S,n-S,x,x,u)??`rgba(0,0,0,0)`;let T=d===void 0?w:d==null?null:Vi(d,e,t-S,n-S,x,x,u),E=T!=null;T&&(e.strokeStyle=T,e.lineWidth=c,e.setLineDash(Ef(p,f,c)),e.lineCap=m===`rnd`?`round`:m===`sq`?`square`:`butt`,e.lineJoin=h===`round`||h===`bevel`?h:`miter`);let D=l?.fillType===`image`?l:void 0,O=()=>{if(!D){l!==null&&e.fill();return}e.save(),e.clip(),Bs(e,D,t-S,n-S,x,x,s,u),e.restore()},k=()=>{g&&l!==null&&ff(e,t,n,x)};switch(r){case`square`:D||g?(e.beginPath(),e.rect(t-S,n-S,x,x),O(),k()):l!==null&&e.fillRect(t-S,n-S,x,x),E&&e.strokeRect(t-S,n-S,x,x);break;case`diamond`:e.beginPath(),e.moveTo(t,n-S),e.lineTo(t+S,n),e.lineTo(t,n+S),e.lineTo(t-S,n),e.closePath(),O(),k(),E&&e.stroke();break;case`triangle`:e.beginPath(),e.moveTo(t,n-S),e.lineTo(t+S,n+S),e.lineTo(t-S,n+S),e.closePath(),O(),k(),E&&e.stroke();break;case`x`:e.strokeStyle=T??e.fillStyle,e.lineWidth=Math.max(1,x*.18),e.beginPath(),e.moveTo(t-S,n-S),e.lineTo(t+S,n+S),e.moveTo(t-S,n+S),e.lineTo(t+S,n-S),e.stroke();break;case`plus`:e.strokeStyle=T??e.fillStyle,e.lineWidth=Math.max(1,x*.18),e.beginPath(),e.moveTo(t-S,n),e.lineTo(t+S,n),e.moveTo(t,n-S),e.lineTo(t,n+S),e.stroke();break;case`star`:e.beginPath();for(let r=0;r<10;r++){let i=r%2==0?S:S*.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(),O(),k(),E&&e.stroke();break;case`dot`:e.beginPath(),e.ellipse(t,n,x*.25,x*.1,0,0,Math.PI*2),O(),k(),E&&e.stroke();break;case`dash`:{let r=x*.2;D||g?(e.beginPath(),e.rect(t-S,n-r/2,x,r),O(),k()):l!==null&&e.fillRect(t-S,n-r/2,x,r),E&&e.strokeRect(t-S,n-r/2,x,r);break}case`picture`:e.beginPath(),e.rect(t-S,n-S,x,x),D&&Bs(e,D,t-S,n-S,x,x,s,u),k(),E&&e.strokeRect(t-S,n-S,x,x),e.restore();return;default:e.beginPath(),e.arc(t,n,S,0,Math.PI*2),O(),k(),E&&e.stroke();break}e.restore()}function gf(e,t,n,r,i,a,o,s){if(n.hidden===!0||n.linePaintAuthored===!0&&n.color==null)return;e.save(),e.strokeStyle=n.color?`#${n.color}`:s,e.lineWidth=n.lineWidthEmu?Math.max(.5,n.lineWidthEmu/Dt):1,e.setLineDash(Tf(n.dash,e.lineWidth));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=nf(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 _f(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,m,h,g,_=0,v){let y=t.dataLabelOverrides??[],b=Tl(y);if(y.length===0&&!t.seriesDataLabels)return;let x=t.seriesDataLabels;for(let y=0;y<t.values.length;y++){let S=t.values[y];if(S==null||g&&!g(S))continue;let C=nf(n,y,r);if(C==null)continue;let w=b.get(y);if(Sn(x,w))continue;let T=w?.showCatName??x?.showCatName,E=w?.showSerName??x?.showSerName,D=w?.showVal??x?.showVal,O=w?.showBubbleSize??x?.showBubbleSize,k=w?.showLegendKey??x?.showLegendKey??!1,A=oo({customText:w?.text,showCategory:T,showSeries:E,showValue:D,showBubbleSize:O,category:r?Qa((n[y]??String(C)).toString(),t.catFormatCodes?.[y]??t.catFormatCode??null,c):Za(C,t.catFormatCodes?.[y]??t.catFormatCode??null,c),seriesName:t.name,sourceValue:S,bubbleSize:t.bubbleSizes?.[y]??void 0,valueDivisor:ku(m),formatCode:w?.formatCode??x?.formatCode??null,date1904:c,separator:w?.separator??x?.separator}),j=k?h?.(y):void 0;if(!A&&!j)continue;let M=w?.position??x?.position??u,N=Bt(w?.fontSizeHpt??x?.fontSizeHpt,s)??Math.max(9,Math.min(11,o/25)),P=w?.fontColor??x?.fontColor,F=w?.fontBold??x?.fontBold??!1,I=w?.fontFace??x?.fontFace,L=I&&p?p(I):l;vf(e,i(C),a(S),A,M,N,P,F,L,v?.(y)??0,d,w?.manualLayout,f,w?.richRuns,s,p,j,Cn(w,x),ho(w?.labelBox,x?.labelBox),_)}}function vf(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,g,_,v,y=0){e.save(),e.font=`${_?.fontItalic?`italic `:``}${s?`bold `:``}${a}px ${c}`,xf(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,fallbackItalic:_?.fontItalic,fallbackBaseline:_?.fontBaseline,fallbackColorHidden:_?.fontPaintAuthored===!0&&(_.fontHidden===!0||_.fontColor==null),fontFamilyForFace:h}:void 0,g,_,m,v,y),e.restore()}function yf(e,t,n,r,i,a){if(!(!t?.text||!t.richRuns||t.richRuns.length===0))return bf(e,t.richRuns,n,r,i,a)}function bf(e,t,n,r,i,a){if(!(!t||t.length===0))return{runs:t,ptToPx:n,fontFamily:r,fallbackBold:i,fallbackItalic:a?.fontItalic,fallbackBaseline:a?.fontBaseline,fallbackColorHidden:a?.fontPaintAuthored===!0&&(a.fontHidden===!0||a.fontColor==null),fontFamilyForFace:t=>Ml(e,t,`minor`)}}function xf(e,t,n,r,i,a,o,s=r,c,l,u,d=1,f,p=0){if(!t&&!l||!Number.isFinite(i)||i<=0)return;if(l){Sf(e,t,n,r,i,a,o,s,c,l,u,f);return}if(c){let t=Xc(e,c,i,a);if(!t)return;let l=Tn(u,d),m=Dn(t.width+l.left+l.right,t.height+l.top+l.bottom,u?.textRotation,u?.textVerticalMode),h=mn(n,r,{w:m.w,h:m.h},i,o,s);if(!h)return;e.save(),e.beginPath(),e.rect(h.clip.x,h.clip.y,h.clip.w,h.clip.h),e.clip(),go(e,f,h.rect,d,p);let g=wn(u,h.textAlign),_=An(h.x,h.y,h.rect,t.height+l.top+l.bottom,u,o!=null,g,h.textAlign,t.width+l.left+l.right,m.radians),v=On(e,_.x,_.y,m.radians,g,h.textBaseline,l);Zc(e,t,v.x,v.y,g,h.textBaseline,o?Math.max(0,h.rect.w-l.left-l.right):t.width),e.restore();return}let m=i*1.15,h=gn(t).value.split(/\r?\n/),g=h.reduce((t,n)=>Math.max(t,e.measureText(n).width),0),_=Math.max(m,h.length*m),v=Tn(u,d),y=Dn(g+v.left+v.right,_+v.top+v.bottom,u?.textRotation,u?.textVerticalMode),b=mn(n,r,{w:y.w,h:y.h},i,o,s);if(!b)return;let x=t=>e.measureText(t).width,S=kn(t,b.maxWidth,b.maxHeight,m,x,u);if(S.length===0)return;let C=S.reduce((e,t)=>Math.max(e,x(t)),0),w=S.length*m,T=Dn(C+v.left+v.right,w+v.top+v.bottom,u?.textRotation,u?.textVerticalMode);if(b=mn(n,r,{w:T.w,h:T.h},i,o,s),!b)return;e.save(),e.beginPath(),e.rect(b.clip.x,b.clip.y,b.clip.w,b.clip.h),e.clip(),go(e,f,b.rect,d,p);let E=u?.fontPaintAuthored===!0&&(u.fontHidden===!0||u.fontColor==null);e.fillStyle=a;let D=wn(u,b.textAlign);e.textAlign=D,e.textBaseline=b.textBaseline;let O=An(b.x,b.y,b.rect,w+v.top+v.bottom,u,o!=null,D,b.textAlign,C+v.left+v.right,T.radians),k=On(e,O.x,O.y,T.radians,D,b.textBaseline,v),A=(u?.fontBaseline??0)*i,j=b.textBaseline===`middle`?k.y-(S.length-1)*m/2:b.textBaseline===`bottom`?k.y-(S.length-1)*m:k.y;if(!E)for(let t=0;t<S.length;t++)e.fillText(S[t],k.x,j+t*m-A);e.restore()}function Sf(e,t,n,r,i,a,o,s,c,l,u,d){let{entry:f,ptToPx:p,shapeRotationDeg:m}=l,h=ru([f],i,p)[0]??0,g=iu(f,i,p),_=t?op:0,v=t&&c?Xc(e,c,i,a):null;if(t&&c&&!v)return;let y=i*1.15,b=t&&!v?gn(t).value.split(/\r?\n/):[],x=v?.width??b.reduce((t,n)=>Math.max(t,e.measureText(n).width),0),S=v?.height??(b.length>0?Math.max(y,b.length*y):0),C=Tn(u,p),w=Dn(h+_+x+C.left+C.right,Math.max(g,S)+C.top+C.bottom,u?.textRotation,u?.textVerticalMode),T=mn(n,r,{w:w.w,h:w.h},i,o,s);if(!T)return;let E=b;if(t&&!v&&(E=kn(t,Math.max(0,T.maxWidth-h-_),T.maxHeight,y,t=>e.measureText(t).width,u),E.length===0))return;let D=v?.width??E.reduce((t,n)=>Math.max(t,e.measureText(n).width),0),O=v?.height??E.length*y,k=h+_+D,A=Math.max(g,O),j=k+C.left+C.right,M=A+C.top+C.bottom,N=Dn(j,M,u?.textRotation,u?.textVerticalMode);if(T=mn(n,r,{w:N.w,h:N.h},i,o,s),!T)return;let P=T.textAlign===`left`?T.x+N.w/2:T.textAlign===`right`?T.x-N.w/2:T.x,F=T.textBaseline===`top`?T.y+N.h/2:T.textBaseline===`bottom`?T.y-N.h/2:T.y;if(o){let e=wn(u,`center`),t=An(P,F,T.rect,M,u,!0,e);P=e===`left`?t.x+j/2:e===`right`?t.x-j/2:t.x,F=t.y}let I=P-j/2+C.left,L=F-M/2+C.top;if(e.save(),e.beginPath(),e.rect(T.clip.x,T.clip.y,T.clip.w,T.clip.h),e.clip(),go(e,d,T.rect,p,m),N.radians!==0&&(e.translate(P,F),e.rotate(N.radians),e.translate(-P,-F)),Yl(e,f.swatchStyle,f.color,I,L+(A-g)/2,h,g,f.marker,f.fillPaint,f.outlinePaint,f.outlineColor,f.outlineWidthEmu,f.outlineDash,f.outlineCustomDash,f.outlineCap,f.outlineJoin,p,m,f.directEffect,f.fallbackEffect,f.directEffectIndex,f.fallbackEffectIndex),t){let t=I+h+_;if(v)Zc(e,v,t,L+(A-O)/2,`left`,`top`);else if(!(u?.fontPaintAuthored===!0&&(u.fontHidden===!0||u.fontColor==null))){e.fillStyle=a,e.textAlign=`left`,e.textBaseline=`top`;let n=(u?.fontBaseline??0)*i,r=L+(A-O)/2-n;for(let n=0;n<E.length;n++)e.fillText(E[n],t,r+n*y)}}e.restore()}function Cf(e,t,n){return e<t?t:e>n?n:e}function wf(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 Tf(e,t=1){return ki(e??`solid`,Number.isFinite(t)&&t>0?t:1)}function Ef(e,t,n=1){return Ai(e,t,Number.isFinite(n)&&n>0?n:1)}function Df(e,t,n,r,i,a,o,s){if(n.hidden===!0||n.linePaintAuthored===!0&&n.color==null||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/Dt):1,e.setLineDash(Tf(n.dash,e.lineWidth));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 Of(e,t,n,r,i,a,o,s,c,l){if(n.hidden===!0||n.linePaintAuthored===!0&&n.color==null||!i&&n.dir===`x`||i&&n.dir===`y`)return;let u=n.barType===`plus`||n.barType===`both`,d=n.barType===`minus`||n.barType===`both`;e.save(),e.strokeStyle=n.color?`#${n.color}`:c,e.lineWidth=n.lineWidthEmu?Math.max(.5,n.lineWidthEmu/Dt*l):Math.max(.5,l*.75),e.setLineDash(Tf(n.dash,e.lineWidth));let f=Math.max(e.lineWidth/2,2*l);for(let c=0;c<r;c++){if(t.values[c]==null)continue;let r=s(c),l=a(c),p=o(r),m=t=>{let a=o(r+t);e.beginPath(),i?(e.moveTo(p,l),e.lineTo(a,l)):(e.moveTo(l,p),e.lineTo(l,a)),e.stroke(),n.noEndCap||(e.save(),e.setLineDash([]),e.beginPath(),i?(e.moveTo(a,l-f),e.lineTo(a,l+f)):(e.moveTo(l-f,a),e.lineTo(l+f,a)),e.stroke(),e.restore())};if(u){let e=n.plus[c];e!=null&&m(e)}if(d){let e=n.minus[c];e!=null&&m(-e)}}e.restore()}function kf(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,_,v,y,b,x=0){let S=t.dataLabelOverrides??[],C=Tl(S),w=t.seriesDataLabels;if(S.length===0&&!w)return!1;for(let S=0;S<r;S++){if(t.sourceHidden?.[S]===!0||t.values[S]==null&&!u)continue;let r=o(S);if(b&&!b(r))continue;let T=t.values[S]??0,E=C.get(S);if(Sn(w,E))continue;let D=E?.showCatName??w?.showCatName,O=E?.showSerName??w?.showSerName,k=E?.showVal??w?.showVal,A=E?.showPercent??w?.showPercent,j=E?.showLegendKey??w?.showLegendKey??!1,M=oo({customText:E?.text,showCategory:D,showSeries:O,showValue:k,showPercent:A,category:n[S]??``,seriesName:t.name,sourceValue:T,valueDivisor:ku(v),percentRatio:h?.(S),formatCode:E?.formatCode??w?.formatCode??null,date1904:l,separator:E?.separator??w?.separator}),N=j?y?.(S):void 0;if(!M&&!N)continue;let P=E?.position??w?.position??f,F=Bt(E?.fontSizeHpt??w?.fontSizeHpt,c)??Math.max(9,Math.min(11,s/25)),I=E?.fontColor??w?.fontColor,L=E?.fontBold??w?.fontBold??!1,R=E?.fontFace??w?.fontFace,z=R&&_?_(R):d;vf(e,i(S),a(r),M,P,F,I,L,z,g?.(S)??0,p,E?.manualLayout,m,E?.richRuns,c,_,N,Cn(E,w),ho(E?.labelBox,w?.labelBox),x)}return!0}function Af(e,t){return e?.chartexFormatIdx??t}function jf(e,t,n,r,i){return ut(t,n,r)}function Mf(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 Nf(e,t,n){return(e.chartexColorPalette?Mf(e,e.chartexColorPalette,t,n):null)??e.chartexAccents?.[t%(e.chartexAccents.length||1)]??ip[t%ip.length]}function Pf(e,t,n,r){return jf(e,r,`fill`,t,n)??jf(e,e.chartexDataPointStyle,`fill`,t,n)??Nf(e,t,n)}function Ff(e,t,n,r){return pt(t,n)}function If(e,t,n,r){return Q(t,n)}function Lf(e,t,n,r,i,a){let o=a===e.chartexDataPointMarkerStyle?`dataPointMarker`:a===e.chartexDataPointStyle?`dataPoint`:Object.entries(e.chartStyleRoles??{}).find(([,e])=>e===a)?.[0],s=ht(r,o?Z(e,o)??(e.classicChartStyleRoles==null?a:void 0):a,t);if(s!==void 0)return s;if(i)return{fillType:`solid`,color:i};let c=If(e,a,t,n);return c===void 0?{fillType:`solid`,color:Nf(e,t,n)}:c}function Rf(e,t,n,r,i,a=e.chartexDataPointStyle){let o=a===e.chartexDataPointStyle?Z(e,`dataPoint`)??(e.classicChartStyleRoles==null?a:void 0):a,s=r?.fillHidden?_t(o):ht(r,o,t);if(s!==void 0)return s;if(r&&i||i)return{fillType:`solid`,color:i};let c=Q(a,t);return c===void 0?{fillType:`solid`,color:Nf(e,t,n)}:c}function zf(e,t,n,r,i,a,o,s=0){return t.fillType===`solid`?t.color.startsWith(`#`)?t.color:`#${t.color}`:Vi(t,e,n,r,i,a,s)??o}function Bf(e,t,n,r,i,a=0){if(t===null)return!1;if(t?.fillType===`image`){e.save(),e.clip();let r=Bs(e,t,n.x,n.y,n.w,n.h,i,a);return e.restore(),r}return e.fillStyle=t?zf(e,t,n.x,n.y,n.w,n.h,r,a):r,e.fill(),!0}function Vf(e,t,n,r,i,a=0){return t===null||!(n.w>0)||!(n.h>0)?!1:t?.fillType===`image`?(e.beginPath(),e.rect(n.x,n.y,n.w,n.h),Bf(e,t,n,r,i,a)):(e.fillStyle=t?zf(e,t,n.x,n.y,n.w,n.h,r,a):r,e.fillRect(n.x,n.y,n.w,n.h),!0)}function Hf(e,t,n,r,i,a,o={}){let s=n?.chartexStyle,c=t===e.chartexSeriesLineStyle?`seriesLine`:t===e.chartexDataPointLineStyle?`dataPointLine`:t===e.chartexDataPointMarkerStyle?`dataPointMarker`:Object.entries(e.chartStyleRoles??{}).find(([,e])=>e===t)?.[0],l=c?Z(e,c):t,u=gt(s,l,r),d=n?.lineHidden===!0?vt(l):void 0,f=n?.lineColor!=null||d!==void 0,p=pt(t,r),m=u===void 0?f?d===void 0?{fillType:`solid`,color:n?.lineColor??a}:d:p===void 0?void 0:p:u,h=m===void 0&&t?.lineNoStyle===!0&&o.linkedNoStyleFallback!==!0;return{visible:m!==null&&!h,color:m?.fillType===`solid`?m.color:a,paint:m?.fillType===`solid`?void 0:m,widthEmu:s?.lineWidthEmu??n?.lineWidthEmu??t?.lineWidthEmu??null,dash:s?.lineCustomDash==null?s?.lineDash??t?.lineDash??null:null,customDash:s?.lineCustomDash??t?.lineCustomDash??null,cap:s?.lineCap??t?.lineCap??null,join:s?.lineJoin??t?.lineJoin??null}}function Uf(e,t,n){return t.visible?(e.strokeStyle=t.color.startsWith(`#`)?t.color:`#${t.color}`,e.lineWidth=t.widthEmu==null?1:Xo(t.widthEmu,n),e.setLineDash(Ef(t.customDash,t.dash,e.lineWidth)),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 Wf(e,t,n,r,i,a,o,s,c={}){return Uf(e,Hf(t,n,r,i,a,o,c),s)}function Gf(e,t,n,r,i,a,o,s=!1,c=!0){let l=Hf(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:{linePaints:c&&l.paint!==void 0?[l.paint]:null,linePaintAuthored:c&&l.paint!==void 0?!0:null,lineDash:c?l.dash:null,lineCustomDash:c?l.customDash:null,lineCap:c?l.cap:null,lineJoin:c?l.join:null}}}function Kf(e,t,n){let r=Bt(e.legendFontSizeHpt,n)??10*n,i=Bt(e.dataTable?.fontSizeHpt,n)??9*n,a=Bt(t.seriesDataLabels?.fontSizeHpt??e.dataLabelFontSizeHpt,n)??10*n;for(let e of t.dataLabelOverrides??[])a=Math.max(a,Bt(e.fontSizeHpt,n)??a);return{legend:Math.max(2,(2*r+cp)*.58),table:Math.max(2,i),labels:Math.max(2,a)}}function qf(e,t,n=Ot,r){let i=Mo(e.chartType),a=e.chartexBox!=null;if(!i&&!a)return null;let o=cr(e),s=e.series.some((t,n)=>{let r=o[n];return(r?.kind===`bubble`||r?.kind===`scatter`?`scatter`:t.seriesType??(e.chartType===`bubble`?`scatter`:e.chartType))===`scatter`?(t.categories??e.categories).some(e=>Number.isFinite(Number.parseFloat(e))):!1}),c=Rl(e)&&id(e).length>0&&e.dataTable?.showKeys===!0,l=Ln(e),u=Fn(e,!0),d=e.chartType===`bubble`&&r?lf(e,e.series.map((t,n)=>cf(e,t,n)),!s,r.w,r.h):0,f=new Map;if(r)for(let t of e.plotGroups??[]){if(t.kind!==`bubble`||t.seriesCount===0)continue;let n=e.series.slice(t.seriesStart,t.seriesStart+t.seriesCount).map((n,r)=>cf(e,n,t.seriesStart+r));f.set(t,lf({bubbleScale:t.bubbleScale??e.bubbleScale,bubbleSizeRepresents:t.bubbleSizeRepresents??e.bubbleSizeRepresents,showNegativeBubbles:t.showNegativeBubbles??e.showNegativeBubbles},n,!s,r.w,r.h))}let p=0,m=(e,t=1)=>t<=0||e<=0?!0:!Number.isSafeInteger(t)||e>Math.floor((Sp-p)/t)?!1:(p+=e*t,!0),h=(e,r=1,i=Math.max(2,5*n))=>{if(r<=0||e==null)return!0;let a=e.fillType===`image`?Ms(e,t,i,i,n):ir(e);return e.fillType===`gradient`&&a>xp?!1:m(a,r)};if(i)for(let t=0;t<e.series.length;t++){let i=e.series[t],a=o[t],p=a?.kind===`bubble`||a==null&&e.chartType===`bubble`,g=a?.kind===`bubble`||a?.kind===`scatter`?`scatter`:i.seriesType??(e.chartType===`bubble`?`scatter`:e.chartType),_=lr(e.chartType,a),v=a?.scatterStyle??e.scatterStyle,y=a?.radarStyle??e.radarStyle,b={chartType:_,bubbleScale:a?.bubbleScale??e.bubbleScale,showNegativeBubbles:a?.showNegativeBubbles??e.showNegativeBubbles},x=p?{bubbleScale:b.bubbleScale,bubbleSizeRepresents:a?.bubbleSizeRepresents??e.bubbleSizeRepresents,showNegativeBubbles:b.showNegativeBubbles}:void 0,S=a?.kind===`bubble`?f.get(a)??0:d;if(!(g===`line`||g===`stackedLine`||g===`stackedLinePct`||g===`area`||g===`stackedArea`||g===`stackedAreaPct`||g===`scatter`||g===`radar`||g===`stock`)||Zn(g,_,v,y))continue;let C=g===`area`||g===`stackedArea`||g===`stackedAreaPct`?(i.showMarker===!0||Vn(i))&&i.markerSymbol!==`none`:g===`stock`?i.markerSymbol!=null&&i.markerSymbol!==`none`:i.showMarker!==!1&&i.markerSymbol!==`none`;if(!C&&!Xn(i))continue;let w=Math.max(i.values.length,i.categories?.length??0,e.categories.length),T=Tl(i.dataPointOverrides),E=new Map((i.dataLabelOverrides??[]).map(e=>[e.idx,e])),D=Kf(e,i,n),O=u[t]?.pointDriven===!0;for(let a=0;a<w;a++){let o=Kn(e,i,g,a,s,b)&&(!p||S>0&&Un(x,i.bubbleSizes?.[a])!=null),d=O&&e.showLegend&&Rn(u,l,t,a),f=E.get(a),_=O&&o&&!Sn(i.seriesDataLabels,f)&&(f?.showLegendKey??i.seriesDataLabels?.showLegendKey??!1)===!0,w=O&&c&&a===0;if(!o&&!d&&!_&&!w||p&&o&&(S<=0||Un(x,i.bubbleSizes?.[a])==null))continue;let k=T.get(a),A=$n(i,k,`circle`,C);if(A===`none`)continue;let j=p?ql(e,i,k,a):Jl(e,i,k,a,t,g,v,y),M=j?j.fillPaint:p?void 0:er(i,k,a),N=j?.linePaint,P=Gn(j?.symbol??A),F=e=>(!P||h(M,1,e))&&h(N,1,e)&&(!p||j?.bubble3D!==!0||M===null||m(bp)),I=Math.max(2,(k?.markerSize??i.markerSize??5)*n);if(g===`scatter`&&p){let e=Un(x,i.bubbleSizes?.[a]);I=e==null?0:rf(x,e)*S}else g===`radar`&&k?.markerSize==null&&i.markerSize==null&&r&&(I=Math.max(4*n,Math.min(r.w,r.h)*.025));if(o&&!F(I)||d&&!F(D.legend)||w&&!F(D.table)||_&&!F(D.labels))return Sp+1}let k=i.markerSymbol??(g===`stock`?`none`:`circle`);if(!O&&Gn(k)&&Qn(_,v,i,y)){let n=Rn(u,l,t),r=Jn(e,i,g,w,s,b),a=p?of(e,i,void 0,t,Af(i,t),wl(t,i)):null,o=p?a.paint:nr(i),d=p?sf(e,i,void 0,t,Af(i,t)):null,f=(e,t)=>h(o,e,t)&&(!p||h(d.paint,e,t))&&(!p||!Wn(i,void 0)||a.paint===null||m(bp,e));if(e.showLegend&&n&&!f(1,D.legend)||c&&!f(1,D.table)||!f(r,D.labels))return Sp+1}}let g=e.chartexBox;if(g){let t=g.series.length,r=e.chartexDataPointMarkerStyle??e.chartexDataPointStyle;if(Gn(e.chartStyleMarkerSymbol??e.chartexMarkerSymbol??`circle`))for(let i=0;i<t;i++){let a=g.series[i];if(!a.showNonoutliers&&!a.showOutliers)continue;let o=0;for(let e of a.valuesByCategory){let t=Xi(e,a.quartileMethod);t&&(a.showNonoutliers&&(o+=t.inner.length),a.showOutliers&&(o+=t.outliers.length))}if(!h(Lf(e,Af(a,i),t,a.chartexStyle,a.color,r),o,Math.max(2,3*n)))return Sp+1}}return p}function Jf(e,t,n,r,i){let a=0;for(let o of[e?.fillPaint,e?.borderFill]){if(!o)continue;let e=o.fillType===`image`?Ms(o,t,n,r,i):ir(o);if(o.fillType===`gradient`&&e>Cp)return null;a+=e}return a}function Yf(e,t,n,r){let i=t.seriesDataLabels;return Sn(i,r)?!1:!!(r?.text||(r?.showVal??i?.showVal??e.showDataLabels)||(r?.showCatName??i?.showCatName)||(r?.showSerName??i?.showSerName)||(r?.showPercent??i?.showPercent)||(r?.showBubbleSize??i?.showBubbleSize)||(r?.showLegendKey??i?.showLegendKey))&&n<Math.max(t.values.length,t.categories?.length??0,e.categories.length)}function Xf(e,t,n,r=Ot,i){if(e.chartexSunburst||e.chartexTreemap)return null;let a=0,o=Math.max(1,i?.w??32*r),s=Math.max(1,i?.h??16*r),c=e=>{let t=Jf(e,n,o,s,r);return t==null||t>wp-a?!1:(a+=t,!0)},l=e.threeD!=null&&t!=null&&Tp.has(e.chartType),u=e.series.some(t=>(t.seriesType??e.chartType)===`scatter`&&(t.categories??e.categories).some(e=>Number.isFinite(Number.parseFloat(e))));for(let t=0;t<e.series.length;t++){let n=e.series[t],r=Tl(n.dataLabelOverrides),i=n.seriesType??e.chartType,a=Math.max(n.values.length,n.categories?.length??0,e.categories.length);for(let o=0;o<a;o++){let a=n.values[o];if(l){if(a==null||!Number.isFinite(a))continue;if(e.showDataLabelsOverMax!==!0){let t=n.useSecondaryAxis?e.secondaryValAxis?.max:e.valMax;if(t!=null&&Number.isFinite(t)&&a>t)continue}}else if(!qn(e,n,i,o,u,t))continue;let s=r.get(o);if(!Yf(e,n,o,s))continue;let d=ho(s?.labelBox,n.seriesDataLabels?.labelBox);if(d&&!c(d))return wp+1}if(!l){for(let e of n.trendLines??[])if((e.dispEq===!0||e.dispRSqr===!0||e.labelText||e.labelRichRuns?.some(e=>e.text.length>0)===!0)&&e.labelBox&&!c(e.labelBox))return wp+1}}return a}function Zf(e,t){if(!e.threeD||!t||!Tp.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(1e4/a)||(n+=r*a,n>1e4))return Fo+1}return n}function Qf(e,t,n){return n<=1e4?!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 $f(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)/Dt*r,u=o+(a.tIns??45720)/Dt*r,d=i+s-(a.rIns??91440)/Dt*r,f=o+c-(a.bIns??45720)/Dt*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 ${Ml(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 ep(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 tp(e,t,n,r=Ot,i=0,a,o,s,c,l=No(t)){e.save();try{if(Qf(e,n,l))return;t=Ld(t,r);let{x:u,y:d,w:f,h:p}=n,m=t.roundedCorners===!0,h=m?Ep*r:0,g=e=>{m?(ep(e,u,d,f,p,h),e.fill()):e.fillRect(u,d,f,p)};Aa(e,t.chartAreaStyle,t.chartStyleRoles?.chartArea,0,n,r,e=>{if(t.chartFillHidden!==!0)if(t.chartFill?.fillType===`image`)m?(e.save(),ep(e,u,d,f,p,h),e.clip(),Bs(e,t.chartFill,u,d,f,p,r,i),e.restore()):Bs(e,t.chartFill,u,d,f,p,r,i);else if(t.chartFill){let n=Vi(t.chartFill,e,u,d,f,p,i);n&&(e.fillStyle=n),n&&g(e)}else t.chartBg&&(e.fillStyle=`#${t.chartBg}`,g(e));if(t.chartBorderHidden!==!0&&(t.chartBorderLineFill||t.chartBorderColor)){e.save();let n=t.chartBorderLineFill?Vi(t.chartBorderLineFill,e,u,d,f,p,i):t.chartBorderColor?`#${t.chartBorderColor}`:null;if(!n)e.restore();else{e.strokeStyle=n;let i=t.chartBorderWidthEmu?Math.max(.5,t.chartBorderWidthEmu/Dt)*r:1;e.setLineDash(Ef(t.chartBorderCustomDash,t.chartBorderDash,i)),e.lineCap=t.chartBorderCap===`rnd`?`round`:t.chartBorderCap===`sq`?`square`:`butt`,e.lineJoin=t.chartBorderJoin===`round`||t.chartBorderJoin===`bevel`?t.chartBorderJoin:`miter`,rs(e,u,d,f,p,i,t.chartBorderCompound,m?h:0),e.restore()}}});let _=t.chartexBox!=null||t.chartexSunburst!=null||t.chartexTreemap!=null||t.chartexRegionMap!=null;if(t.series.length===0&&!_){e.fillStyle=`#888`,e.font=`12px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(`(no data)`,u+f/2,d+p/2),$f(e,t,n,r);return}let v=Po(t),y=(v!=null||t.chartexBox!=null)&&(v??0)<=1e4?qf(t,s,r,n):null,b=Zf(t,a),x=v!=null&&v<=1e4?Zs(t,s,r,n,b!=null):null,S=Xf(t,a,s,r,n);if((v!=null||y!=null||x!=null||b!=null||S!=null)&&Qf(e,n,Math.max(v??0,y!=null&&y+(x??0)>Sp?10001:0,x!=null&&x>Sp?10001:0,b??0,S!=null&&S>wp?10001:0))){$f(e,t,n,r);return}let C=ur(t);if(C===`unsupported`){e.fillStyle=`#888`,e.font=`11px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(`Unsupported chart`,u+f/2,d+p/2),$f(e,t,n,r);return}if(C!==`legacy`){switch(C){case`bar-combo`:ld(e,t,n,r,{},i);break;case`line-groups`:Hd(e,t,n,r,i);break;case`area-groups`:Kd(e,t,n,r,i);break;case`scatter-bubble`:df(e,t,n,r,i);break;case`stock-line`:Ud(e,t,n,r,i);break}Mu(e,t,n,r),$f(e,t,n,r);return}if(a?.render(e,t,n,r,i)){Mu(e,t,n,r),$f(e,t,n,r);return}if(o?.render(e,t,n,r,i)){$f(e,t,n,r);return}if(c?.render(e,t,n,r,i)){Mu(e,t,n,r),$f(e,t,n,r);return}switch(t.chartType){case`clusteredBar`:case`clusteredBarH`:case`stackedBar`:case`stackedBarH`:case`stackedBarPct`:case`stackedBarHPct`:ld(e,t,n,r,{},i);break;case`line`:case`stackedLine`:case`stackedLinePct`:Hd(e,t,n,r,i);break;case`area`:case`stackedArea`:case`stackedAreaPct`:Kd(e,t,n,r,i);break;case`pie`:Jd(e,t,n,!1,r,i);break;case`ofPie`:qd(e,t,n,r,i);break;case`doughnut`:Jd(e,t,n,!0,r,i);break;case`radar`:tf(e,t,n,r,i);break;case`scatter`:case`bubble`:df(e,t,n,r,i);break;case`stock`:Ud(e,t,n,r,i);break;case`surface`:case`surface3D`:Gd(e,t,n,r,i);break;default:e.fillStyle=`#888`,e.font=`11px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(`Unsupported chart`,u+f/2,d+p/2)}Mu(e,t,n,r),$f(e,t,n,r)}finally{e.restore()}}function np(e,t,n,r=Ot,i=0,a,o,s,c){Fe(()=>{rt(()=>{ws(s,()=>{let l=No(t),u=l<=1e4?We(ys(t)):t;ga(e,()=>{tp(e,u,n,r,i,a,o,s,c,l)},void 0,l<=1e4?jo(u):1)})})})}var rp,ip,ap,op,sp,cp,lp,up,dp,fp,pp,mp,hp,gp,_p,vp,yp,bp,xp,Sp,Cp,wp,Tp,Ep,Dp=t((()=>{Et(),$s(),Gs(),xc(),Pa(),_o(),is(),jn(),ar(),Bn(),dn(),zc(),es(),ao(),Hc(),Rt(),mr(),ea(),Jc(),Bo(),fr(),Yc(),tl(),so(),bo(),nt(),st(),rl(),ss(),al(),Ct(),Ss(),xn(),Ki(),Ii(),ul(),Cl(),jt(),rp=[`4472C4`,`ED7D31`,`A9D18E`,`FF0000`,`70AD47`,`4BACC6`,`FFC000`,`9E480E`,`843C0C`,`636363`,`255E91`,`967300`],ip=[`5B9BD5`,`ED7D31`,`A5A5A5`,`FFC000`,`4472C4`,`70AD47`],ap={fontFamily:`sans-serif`,color:`#333`,bold:!1,italic:!1,sizePx:null},op=4,sp=12,cp=4,lp=4,up=lp*2,dp=4,fp=8,pp=.01,mp=7,hp=54e5,gp=e=>e[0]+e[2]>e[1]+e[3]?[[0,1,2],[0,2,3]]:[[0,1,3],[1,2,3]],_p=2e5,vp=1.25,yp=.88,bp=15,xp=Io,Sp=Lo,Cp=xp,wp=Sp,Tp=new Set([`pie`,`line`,`stackedLine`,`stackedLinePct`,`area`,`stackedArea`,`stackedAreaPct`,`clusteredBar`,`clusteredBarH`,`stackedBar`,`stackedBarH`,`stackedBarPct`,`stackedBarHPct`]),Ep=10}));function Op(e,t,n,r,i){let a=1/0,o=1/0,s=-1/0,c=-1/0,l=(e,t)=>{!Number.isFinite(e)||!Number.isFinite(t)||(a=Math.min(a,e),o=Math.min(o,t),s=Math.max(s,e),c=Math.max(c,t))};for(let a of e){let e=0,o=0;for(let s of a)switch(s.cmd){case`moveTo`:case`lineTo`:e=s.x,o=s.y,l(t+e*r,n+o*i);break;case`cubicBezTo`:l(t+s.x1*r,n+s.y1*i),l(t+s.x2*r,n+s.y2*i),e=s.x,o=s.y,l(t+e*r,n+o*i);break;case`quadBezTo`:l(t+s.x1*r,n+s.y1*i),e=s.x,o=s.y,l(t+e*r,n+o*i);break;case`arcTo`:{let a=Math.abs(s.wr*r),c=Math.abs(s.hr*i);if(a<=0||c<=0)break;let u=s.stAng*Math.PI/180,d=s.swAng*Math.PI/180,f=t+e*r,p=n+o*i,m=f-a*Math.cos(u),h=p-c*Math.sin(u);l(m-a,h-c),l(m+a,h+c);let g=u+d;e=(m+a*Math.cos(g)-t)/r,o=(h+c*Math.sin(g)-n)/i;break}case`close`:break}}return Number.isFinite(a)?{x:a,y:o,w:s-a,h:c-o}:null}function kp(e,t,n,r,i,a){for(let o of t){let t=0,s=0;for(let c of o)switch(c.cmd){case`moveTo`:e.moveTo(n+c.x*i,r+c.y*a),t=c.x,s=c.y;break;case`lineTo`:e.lineTo(n+c.x*i,r+c.y*a),t=c.x,s=c.y;break;case`cubicBezTo`:e.bezierCurveTo(n+c.x1*i,r+c.y1*a,n+c.x2*i,r+c.y2*a,n+c.x*i,r+c.y*a),t=c.x,s=c.y;break;case`quadBezTo`:e.quadraticCurveTo(n+c.x1*i,r+c.y1*a,n+c.x*i,r+c.y*a),t=c.x,s=c.y;break;case`arcTo`:{let o=c.wr*i,l=c.hr*a;if(o<=0||l<=0)break;let u=c.stAng*Math.PI/180,d=c.swAng*Math.PI/180,f=n+t*i,p=r+s*a,m=f-o*Math.cos(u),h=p-l*Math.sin(u),g=u+d;e.ellipse(m,h,o,l,0,u,g,d<0),t=(m+o*Math.cos(g)-n)/i,s=(h+l*Math.sin(g)-r)/a;break}case`close`:e.closePath();break}}}var Ap=t((()=>{}));function jp(e){return e.cmd===`lineTo`||e.cmd===`cubicBezTo`||e.cmd===`quadBezTo`||e.cmd===`arcTo`}function Mp(e,t,n,r){let i=n===0?0:n,a=r===0?0:r;return{x:e,y:t,dx:i,dy:a,angle:Math.atan2(a,i)}}function Np(e,t,n){switch(n.cmd){case`lineTo`:return{dx:n.x-e,dy:n.y-t};case`cubicBezTo`:{let r=n.x1-e,i=n.y1-t;return Math.abs(r)<zp&&Math.abs(i)<zp&&(r=n.x2-e,i=n.y2-t),Math.abs(r)<zp&&Math.abs(i)<zp&&(r=n.x-e,i=n.y-t),{dx:r,dy:i}}case`quadBezTo`:{let r=n.x1-e,i=n.y1-t;return Math.abs(r)<zp&&Math.abs(i)<zp&&(r=n.x-e,i=n.y-t),{dx:r,dy:i}}case`arcTo`:{let e=n.stAng*Math.PI/180,t=n.swAng<0?-1:1;return{dx:-n.wr*Math.sin(e)*t,dy:n.hr*Math.cos(e)*t}}default:return{dx:0,dy:0}}}function Pp(e,t,n){switch(n.cmd){case`moveTo`:case`lineTo`:case`cubicBezTo`:case`quadBezTo`:return{x:n.x,y:n.y};case`arcTo`:{if(n.wr<=0||n.hr<=0)return{x:e,y:t};let r=n.stAng*Math.PI/180,i=r+n.swAng*Math.PI/180,a=e-n.wr*Math.cos(r),o=t-n.hr*Math.sin(r);return{x:a+n.wr*Math.cos(i),y:o+n.hr*Math.sin(i)}}default:return{x:e,y:t}}}function Fp(e,t,n){let{x:r,y:i}=Pp(e,t,n);switch(n.cmd){case`lineTo`:return{dx:n.x-e,dy:n.y-t,x:r,y:i};case`cubicBezTo`:{let a=n.x-n.x2,o=n.y-n.y2;return Math.abs(a)<zp&&Math.abs(o)<zp&&(a=n.x-n.x1,o=n.y-n.y1),Math.abs(a)<zp&&Math.abs(o)<zp&&(a=n.x-e,o=n.y-t),{dx:a,dy:o,x:r,y:i}}case`quadBezTo`:{let a=n.x-n.x1,o=n.y-n.y1;return Math.abs(a)<zp&&Math.abs(o)<zp&&(a=n.x-e,o=n.y-t),{dx:a,dy:o,x:r,y:i}}case`arcTo`:{if(n.wr<=0||n.hr<=0)return{dx:0,dy:0,x:r,y:i};let e=n.stAng*Math.PI/180+n.swAng*Math.PI/180,t=n.swAng<0?-1:1;return{dx:-n.wr*Math.sin(e)*t,dy:n.hr*Math.cos(e)*t,x:r,y:i}}default:return{dx:0,dy:0,x:r,y:i}}}function Ip(e){let t=0,n=0,r=!1;for(let i of e)i.cmd===`moveTo`&&(r=!0),{x:t,y:n}=Pp(t,n,i);return r?{x:t,y:n}:null}function Lp(e){if(e.some(e=>e.cmd===`close`))return!0;let t=e.find(e=>e.cmd===`moveTo`);if(!t)return!1;let n=Ip(e);return!n||!e.some(jp)?!1:Math.abs(n.x-t.x)<zp&&Math.abs(n.y-t.y)<zp}function Rp(e){let t={start:null,end:null};if(!e||e.length===0)return t;let n=e[0];if(n&&n.length>0&&!Lp(n)){let e=n.find(e=>e.cmd===`moveTo`),r=n.find(jp);if(e&&r){let n=Np(e.x,e.y,r);(Math.abs(n.dx)>zp||Math.abs(n.dy)>zp)&&(t.start=Mp(e.x,e.y,-n.dx,-n.dy))}}let r=e[e.length-1];if(r&&r.length>0&&!Lp(r)){let e=0,n=0,i=-1;for(let e=0;e<r.length;e++)jp(r[e])&&(i=e);if(i>=0){for(let t=0;t<i;t++)({x:e,y:n}=Pp(e,n,r[t]));let a=Fp(e,n,r[i]);(Math.abs(a.dx)>zp||Math.abs(a.dy)>zp)&&(t.end=Mp(a.x,a.y,a.dx,a.dy))}}return t}var zp,Bp=t((()=>{zp=1e-9})),Vp,Hp,Up,Wp,Gp,Kp,qp,Jp,Yp,Xp,Zp,Qp,$p,em,tm,nm,rm,im,am,om,sm,cm,lm,um,dm,fm,pm,mm,hm,gm,_m,vm,ym,bm,xm,Sm,Cm,wm,Tm,Em,Dm,Om,km,Am,jm,Mm,Nm,Pm,Fm,Im,Lm,Rm,zm,Bm,Vm,Hm,Um,Wm,Gm,Km,qm,Jm,Ym,Xm,Zm,Qm,$m,eh,th,nh,rh,ih,ah,oh,sh,ch,lh,uh,dh,fh,ph,mh,hh,gh,_h,vh,yh,bh,xh,Sh,Ch,wh,Th,Eh,Dh,Oh,kh,Ah,jh,Mh,Nh,Ph,Fh,Ih,Lh,Rh,zh,Bh,Vh,Hh,Uh,Wh,Gh,Kh,qh,Jh,Yh,Xh,Zh,Qh,$h,eg,tg,ng,rg,ig,ag,og,sg,cg,lg,ug,dg,fg,pg,mg,hg,gg,_g,vg,yg,bg,xg,Sg,Cg,wg,Tg,Eg,Dg,Og,kg,Ag,jg,Mg,Ng,Pg,Fg,Ig,Lg,Rg,zg,Bg,Vg,Hg,Ug,Wg,Gg,Kg,qg,Jg,Yg,Xg,Zg,Qg,$g,e_,t_,n_,r_,i_,a_,o_,s_,c_,l_,u_,d_,f_=t((()=>{Vp={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`]]}]},Hp={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`]]}]},Up={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`]]}]},Wp={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`]]}]},Gp={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`]]}]},Kp={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`]]}]},qp={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`]]}]},Jp={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`]]}]},Yp={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`]]}]},Xp={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`]]}]},Zp={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`]]}]},Qp={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`]]}]},$p={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`]]}]},em={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`]]}]},tm={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`]]}]},nm={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`]]}]},rm={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`]]}]},im={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`]]}]},am={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`]]}]},om={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`]]}]},sm={adj:[],gd:[],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`]]}]},cm={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`]]}]},lm={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`]]}]},um={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`]]}]},dm={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`]]}]},fm={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`]]}]},pm={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`]]}]},mm={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`]]}]},hm={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`]]}]},gm={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`]]}]},_m={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`]]}]},vm={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`]]}]},ym={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`]]}]},bm={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`]]}]},xm={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`]]}]},Sm={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`]]}]},Cm={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`]]}]},wm={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`]]}]},Tm={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`]]}]},Em={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`]]}]},Dm={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`]]}]},Om={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`]]}]},km={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`]]}]},Am={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`]]}]},jm={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`]]}]},Mm={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`]]}]},Nm={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`]]}]},Pm={adj:[],gd:[],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`C`,`wd2`,`t`,`r`,`hd2`,`r`,`b`]]}]},Fm={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`]]}]},Im={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`]]}]},Lm={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`]]}]},Rm={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`]]}]},zm={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`]]}]},Bm={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`]]}]},Vm={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`]]}]},Hm={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`]]}]},Um={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`]]}]},Wm={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`]]}]},Gm={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`]]}]},Km={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`]]}]},qm={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`]]}]},Jm={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`]]}]},Ym={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`]]}]},Xm={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`]]}]},Zm={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`]]}]},Qm={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`]]}]},$m={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`]]}]},eh={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`]]}]},th={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`]]}]},nh={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`]]}]},rh={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`]]}]},ih={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`]]}]},ah={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`]]}]},oh={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`]]}]},sh={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`]]}]},ch={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`]]}]},lh={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`]]}]},uh={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`]]}]},dh={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`]]}]},fh={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`]]}]},ph={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`]]}]},mh={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`]]}]},hh={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`]]}]},gh={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`]]}]},_h={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`]]}]},vh={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`]]}]},yh={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`]]}]},bh={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`]]}]},xh={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`]]}]},Sh={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`]]}]},Ch={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`]]}]},wh={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`]]}]},Th={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`]]}]},Eh={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`]]}]},Dh={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`]]}]},Oh={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`]]}]},kh={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`]]}]},Ah={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`]]}]},jh={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`]]}]},Mh={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`]]}]},Nh={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`]]}]},Ph={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`]]}]},Fh={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`]]}]},Ih={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`]]}]},Lh={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`]]}]},Rh={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`]]}]},zh={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`]]}]},Bh={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`]]}]},Vh={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`]]}]},Hh={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`]]}]},Uh={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`]]}]},Wh={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`]]}]},Gh={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`]]}]},Kh={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`]]}]},qh={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`]]}]},Jh={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`]]}]},Yh={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`]]}]},Xh={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`]]}]},Zh={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`]]}]},Qh={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`]]}]},$h={adj:[],gd:[],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`b`]]}]},eg={adj:[],gd:[],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`r`,`t`]]}]},tg={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`]]}]},ng={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`]]}]},rg={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`]]}]},ig={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`]]}]},ag={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`]]}]},og={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`]]}]},sg={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`]]}]},cg={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`]]}]},lg={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`]]}]},ug={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`]]}]},dg={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`]]}]},fg={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`]]}]},pg={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`]]}]},mg={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`]]}]},hg={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`]]}]},gg={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`]]}]},_g={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`]]}]},vg={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`]]}]},yg={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`]]}]},bg={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`]]}]},xg={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`]]}]},Sg={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`]]}]},Cg={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`]]}]},wg={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`]]}]},Tg={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`]]}]},Eg={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`]]}]},Dg={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`]]}]},Og={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`]]}]},kg={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`]]}]},Ag={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`]]}]},jg={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`]]}]},Mg={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`]]}]},Ng={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`]]}]},Pg={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`]]}]},Fg={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`]]}]},Ig={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`]]}]},Lg={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`]]}]},Rg={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`]]}]},zg={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`]]}]},Bg={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`]]}]},Vg={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`]]}]},Hg={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`]]}]},Ug={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`]]}]},Wg={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`]]}]},Gg={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`]]}]},Kg={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`]]}]},qg={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`]]}]},Jg={adj:[],gd:[],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`b`]]}]},Yg={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`]]}]},Xg={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`]]}]},Zg={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`]]}]},Qg={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`]]}]},$g={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`]]}]},e_={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`]]}]},t_={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`]]}]},n_={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`]]}]},r_={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`]]}]},i_={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`]]}]},a_={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`]]}]},o_={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`]]}]},s_={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`]]}]},c_={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`]]}]},l_={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`]]}]},u_={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`]]}]},d_={accentbordercallout1:Vp,accentbordercallout2:Hp,accentbordercallout3:Up,accentcallout1:Wp,accentcallout2:Gp,accentcallout3:Kp,actionbuttonbackprevious:qp,actionbuttonbeginning:Jp,actionbuttonblank:Yp,actionbuttondocument:Xp,actionbuttonend:Zp,actionbuttonforwardnext:Qp,actionbuttonhelp:$p,actionbuttonhome:em,actionbuttoninformation:tm,actionbuttonmovie:nm,actionbuttonreturn:rm,actionbuttonsound:im,arc:am,bentarrow:om,bentconnector2:sm,bentconnector3:cm,bentconnector4:lm,bentconnector5:um,bentuparrow:dm,bevel:fm,blockarc:pm,bordercallout1:mm,bordercallout2:hm,bordercallout3:gm,bracepair:_m,bracketpair:vm,callout1:ym,callout2:bm,callout3:xm,can:Sm,chartplus:Cm,chartstar:wm,chartx:Tm,chevron:Em,chord:Dm,circulararrow:Om,cloud:km,cloudcallout:Am,corner:jm,cornertabs:Mm,cube:Nm,curvedconnector2:Pm,curvedconnector3:Fm,curvedconnector4:Im,curvedconnector5:Lm,curveddownarrow:Rm,curvedleftarrow:zm,curvedrightarrow:Bm,curveduparrow:Vm,decagon:Hm,diagstripe:Um,diamond:Wm,dodecagon:Gm,donut:Km,doublewave:qm,downarrow:Jm,downarrowcallout:Ym,ellipse:Xm,ellipseribbon:Zm,ellipseribbon2:Qm,flowchartalternateprocess:$m,flowchartcollate:eh,flowchartconnector:th,flowchartdecision:nh,flowchartdelay:rh,flowchartdisplay:ih,flowchartdocument:ah,flowchartextract:oh,flowchartinputoutput:sh,flowchartinternalstorage:ch,flowchartmagneticdisk:lh,flowchartmagneticdrum:uh,flowchartmagnetictape:dh,flowchartmanualinput:fh,flowchartmanualoperation:ph,flowchartmerge:mh,flowchartmultidocument:hh,flowchartofflinestorage:gh,flowchartoffpageconnector:_h,flowchartonlinestorage:vh,flowchartor:yh,flowchartpredefinedprocess:bh,flowchartpreparation:xh,flowchartprocess:Sh,flowchartpunchedcard:Ch,flowchartpunchedtape:wh,flowchartsort:Th,flowchartsummingjunction:Eh,flowchartterminator:Dh,foldedcorner:Oh,frame:kh,funnel:Ah,gear6:jh,gear9:Mh,halfframe:Nh,heart:Ph,heptagon:Fh,hexagon:Ih,homeplate:Lh,horizontalscroll:Rh,irregularseal1:zh,irregularseal2:Bh,leftarrow:Vh,leftarrowcallout:Hh,leftbrace:Uh,leftbracket:Wh,leftcirculararrow:Gh,leftrightarrow:Kh,leftrightarrowcallout:qh,leftrightcirculararrow:Jh,leftrightribbon:Yh,leftrightuparrow:Xh,leftuparrow:Zh,lightningbolt:Qh,line:$h,lineinv:eg,mathdivide:tg,mathequal:ng,mathminus:rg,mathmultiply:ig,mathnotequal:ag,mathplus:og,moon:sg,nonisoscelestrapezoid:cg,nosmoking:lg,notchedrightarrow:ug,octagon:dg,parallelogram:fg,pentagon:pg,pie:mg,piewedge:hg,plaque:gg,plaquetabs:_g,plus:vg,quadarrow:yg,quadarrowcallout:bg,ribbon:xg,ribbon2:Sg,rightarrow:Cg,rightarrowcallout:wg,rightbrace:Tg,rightbracket:Eg,round1rect:Dg,round2diagrect:Og,round2samerect:kg,roundrect:Ag,rttriangle:jg,smileyface:Mg,snip1rect:Ng,snip2diagrect:Pg,snip2samerect:Fg,sniproundrect:Ig,squaretabs:Lg,star10:Rg,star12:zg,star16:Bg,star24:Vg,star32:Hg,star4:Ug,star5:Wg,star6:Gg,star7:Kg,star8:qg,straightconnector1:Jg,stripedrightarrow:Yg,sun:Xg,swoosharrow:Zg,teardrop:Qg,trapezoid:$g,triangle:e_,uparrowcallout:t_,updownarrow:n_,uparrow:r_,updownarrowcallout:i_,uturnarrow:a_,verticalscroll:o_,wave:s_,wedgeellipsecallout:c_,wedgerectcallout:l_,wedgeroundrectcallout:u_}}));function p_(e){let t=e.trim().split(/\s+/);return{op:t[0],argTokens:t.slice(1)}}function m_(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:h_,cd2:h_/2,cd4:h_/4,cd8:h_/8,"3cd4":3*h_/4,"3cd8":3*h_/8,"5cd8":5*h_/8,"7cd8":7*h_/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]*g_);case`cos`:return t[0]*Math.cos(t[1]*g_);case`tan`:return t[0]*Math.tan(t[1]*g_);case`at2`:return Math.atan2(t[1],t[0])/g_;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(` `)}"`)}}}var h_,g_,__=t((()=>{h_=216e5,g_=Math.PI*2/h_}));function v_(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])*y_,u=n.resolve(r[4])*y_,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}}var y_,b_=t((()=>{y_=Math.PI*2/216e5}));function x_(e){let t=N_.get(e);return t||(t={adj:e.adj.map(([e,t])=>[e,p_(t)]),gd:e.gd.map(([e,t])=>[e,p_(t)])},N_.set(e,t)),t}function S_(e,t,n,r){let i=x_(e);return m_({w:t,h:n,adj:r},i.adj,i.gd)}function C_(e){return e.toLowerCase()in M_}function w_(e,t,n,r,i,a,o=[]){let s=M_[t.toLowerCase()];if(!s)return!1;let c=S_(s,i,a,o);for(let t of s.paths)v_(e,t,c,n,r,i,a);return!0}function T_(e,t,n,r,i,a,o=[]){let s=M_[t.toLowerCase()];if(!s)return!1;let c=S_(s,i,a,o);for(let t of s.paths)t.fill!==`none`&&v_(e,t,c,n,r,i,a);return!0}function E_(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 D_(e,t,n,r){let i=M_[e];if(!i)return null;if(e in P_){let a=E_(r,i,0),o=E_(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=P_[e];t===`roundrect`?(i=M_.roundrect,r=[E_(r,M_[e],2)]):t&&M_[t]?(i=M_[t],r=[]):(i=F_,r=[])}}return{def:i,adj:r}}function O_(e,t,n,r,i,a=[]){let o=D_(e.toLowerCase(),r,i,a);if(!o)return null;let s=1/0,c=1/0,l=-1/0,u=-1/0,d=(e,t)=>{!Number.isFinite(e)||!Number.isFinite(t)||(s=Math.min(s,e),c=Math.min(c,t),l=Math.max(l,e),u=Math.max(u,t))},f={moveTo:d,lineTo:d,bezierCurveTo(e,t,n,r,i,a){d(e,t),d(n,r),d(i,a)},quadraticCurveTo(e,t,n,r){d(e,t),d(n,r)},ellipse(e,t,n,r){d(e-Math.abs(n),t-Math.abs(r)),d(e+Math.abs(n),t+Math.abs(r))},closePath(){}},p=S_(o.def,r,i,o.adj);for(let e of o.def.paths)v_(f,e,p,t,n,r,i);return Number.isFinite(s)?{x:s,y:c,w:l-s,h:u-c}:{x:t,y:n,w:r,h:i}}function k_(e,t,n,r,i,a,o,s,c,l,u){let d=D_(t.toLowerCase(),i,a,o);if(!d)return!1;let{def:f}=d;o=d.adj;let p=S_(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(),v_(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=j_(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 A_(e,t,n,r,i,a){let o=M_[e.toLowerCase()];if(!o||o.paths.length===0)return null;let s=o.paths[o.paths.length-1],c=S_(o,r,i,a),l=s.w==null?1:r/s.w,u=s.h==null?1:i/s.h,d=e=>t+e*l,f=e=>n+e*u,p=0,m=0,h=0,g=0,_=0,v=0,y=!1,b=0,x=0,S=[];for(let e of s.cmds)switch(e[0]){case`m`:h=d(c.resolve(e[1])),g=f(c.resolve(e[2])),p=h,m=g,S.push({x:h,y:g});break;case`l`:{let t=d(c.resolve(e[1])),n=f(c.resolve(e[2]));y||=(_=t-h,v=n-g,!0),b=t-h,x=n-g,h=t,g=n,S.push({x:h,y:g});break}case`C`:{let t=d(c.resolve(e[1])),n=f(c.resolve(e[2])),r=d(c.resolve(e[3])),i=f(c.resolve(e[4])),a=d(c.resolve(e[5])),o=f(c.resolve(e[6]));y||=(_=t-h,v=n-g,!0),b=a-r,x=o-i,h=a,g=o,S.push({x:h,y:g});break}}let C=Math.atan2(v,_)+Math.PI;return{start:{x:p,y:m,angle:C},end:{x:h,y:g,angle:Math.atan2(x,b)},vertices:S}}function j_(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}}var M_,N_,P_,F_,I_=t((()=>{f_(),__(),b_(),M_=d_,N_=new WeakMap,P_={wedgeroundrectcallout:`roundrect`,wedgeellipsecallout:`ellipse`,wedgerectcallout:null},F_={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 L_(e,t,n,r,i,a,o,s=-Math.PI/2){let c=a*2;for(let l=0;l<c;l++){let c=s+l*Math.PI/a,u=l%2==0?1:o,d=t+r*u*Math.cos(c),f=n+i*u*Math.sin(c);l===0?e.moveTo(d,f):e.lineTo(d,f)}e.closePath()}function R_(e,t,n,r,i,a,o=-Math.PI/2){for(let s=0;s<a;s++){let c=o+s*2*Math.PI/a,l=t+r*Math.cos(c),u=n+i*Math.sin(c);s===0?e.moveTo(l,u):e.lineTo(l,u)}e.closePath()}function z_(e,t,n,r,i,a,o){let s=e=>Math.atan2(r*Math.sin(e),i*Math.cos(e)),c=s(a),l=s(a+o),u=t-r*Math.cos(c),d=n-i*Math.sin(c);return e.ellipse(u,d,Math.abs(r),Math.abs(i),0,c,l,o<0),{x:u+r*Math.cos(l),y:d+i*Math.sin(l)}}function B_(e,t,n,r,i,a,o=null,s=null,c=null,l=null){let u=n+i/2,d=r+a/2;{let u=t.toLowerCase(),d=V_[u]??u;if((H_.has(d)||U_.has(d)||W_.has(d))&&w_(e,d,n,r,i,a,[o,s,c,l]))return}switch(t.toLowerCase()){case`parallelogram`:{let t=i*Math.min(.5,(o??25e3)/1e5);e.moveTo(n+t,r),e.lineTo(n+i,r),e.lineTo(n+i-t,r+a),e.lineTo(n,r+a),e.closePath();break}case`pentagon`:R_(e,u,d,i/2,a/2,5);break;case`hexagon`:R_(e,u,d,i/2,a/2,6,0);break;case`heptagon`:R_(e,u,d,i/2,a/2,7);break;case`octagon`:R_(e,u,d,i/2,a/2,8,-Math.PI/8);break;case`decagon`:R_(e,u,d,i/2,a/2,10);break;case`star5`:case`star`:L_(e,u,d,i/2,a/2,5,(o??19098)/5e4);break;case`star6`:L_(e,u,d,i/2,a/2,6,(o??28868)/5e4,0);break;case`star7`:L_(e,u,d,i/2,a/2,7,(o??34142)/5e4);break;case`rightarrow`:{let t=a*Math.min(1,(o??5e4)/1e5),c=i*Math.min(1,(s??5e4)/1e5),l=r+(a-t)/2;e.moveTo(n,l),e.lineTo(n+i-c,l),e.lineTo(n+i-c,r),e.lineTo(n+i,d),e.lineTo(n+i-c,r+a),e.lineTo(n+i-c,l+t),e.lineTo(n,l+t),e.closePath();break}case`leftarrow`:{let t=a*Math.min(1,(o??5e4)/1e5),c=i*Math.min(1,(s??5e4)/1e5),l=r+(a-t)/2;e.moveTo(n+i,l),e.lineTo(n+c,l),e.lineTo(n+c,r),e.lineTo(n,d),e.lineTo(n+c,r+a),e.lineTo(n+c,l+t),e.lineTo(n+i,l+t),e.closePath();break}case`uparrow`:{let t=i*Math.min(1,(o??5e4)/1e5),c=a*Math.min(1,(s??5e4)/1e5),l=n+(i-t)/2;e.moveTo(u,r),e.lineTo(n+i,r+c),e.lineTo(l+t,r+c),e.lineTo(l+t,r+a),e.lineTo(l,r+a),e.lineTo(l,r+c),e.lineTo(n,r+c),e.closePath();break}case`downarrow`:{let t=i*Math.min(1,(o??5e4)/1e5),c=a*Math.min(1,(s??5e4)/1e5),l=n+(i-t)/2;e.moveTo(u,r+a),e.lineTo(n+i,r+a-c),e.lineTo(l+t,r+a-c),e.lineTo(l+t,r),e.lineTo(l,r),e.lineTo(l,r+a-c),e.lineTo(n,r+a-c),e.closePath();break}case`leftrightarrow`:{let t=a*Math.min(1,(o??5e4)/1e5),c=i*Math.min(.5,(s??25e3)/1e5),l=r+(a-t)/2;e.moveTo(n,d),e.lineTo(n+c,r),e.lineTo(n+c,l),e.lineTo(n+i-c,l),e.lineTo(n+i-c,r),e.lineTo(n+i,d),e.lineTo(n+i-c,r+a),e.lineTo(n+i-c,l+t),e.lineTo(n+c,l+t),e.lineTo(n+c,r+a),e.closePath();break}case`updownarrow`:{let t=i*Math.min(1,(o??5e4)/1e5),c=a*Math.min(.5,(s??25e3)/1e5),l=n+(i-t)/2;e.moveTo(u,r),e.lineTo(n+i,r+c),e.lineTo(l+t,r+c),e.lineTo(l+t,r+a-c),e.lineTo(n+i,r+a-c),e.lineTo(u,r+a),e.lineTo(n,r+a-c),e.lineTo(l,r+a-c),e.lineTo(l,r+c),e.lineTo(n,r+c),e.closePath();break}case`notchedrightarrow`:{let t=a*Math.min(1,(o??5e4)/1e5),c=i*Math.min(1,(s??35e3)/1e5),l=r+(a-t)/2,u=c*.43;e.moveTo(n,l),e.lineTo(n+i-c,l),e.lineTo(n+i-c,r),e.lineTo(n+i,d),e.lineTo(n+i-c,r+a),e.lineTo(n+i-c,l+t),e.lineTo(n,l+t),e.lineTo(n+u,d),e.closePath();break}case`chevron`:{let t=i*Math.min(1,Math.max(0,(o??5e4)/1e5));e.moveTo(n,r),e.lineTo(n+t,r),e.lineTo(n+i,d),e.lineTo(n+t,r+a),e.lineTo(n,r+a),t>0&&e.lineTo(n+t,d),e.closePath();break}case`homeplate`:{let t=a*.4;e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a-t),e.lineTo(u,r+a),e.lineTo(n,r+a-t),e.closePath();break}case`leftbracket`:{let t=Math.min(a*Math.min(5e4,Math.max(0,o??8333))/1e5,a/2);e.moveTo(n+i,r),e.quadraticCurveTo(n,r,n,r+t),a-2*t>.5&&e.lineTo(n,r+a-t),e.quadraticCurveTo(n,r+a,n+i,r+a);break}case`rightbracket`:{let t=Math.min(a*Math.min(5e4,Math.max(0,o??8333))/1e5,a/2);e.moveTo(n,r),e.quadraticCurveTo(n+i,r,n+i,r+t),a-2*t>.5&&e.lineTo(n+i,r+a-t),e.quadraticCurveTo(n+i,r+a,n,r+a);break}case`leftbrace`:{let t=d,o=i*.45;e.moveTo(n+i,r),e.bezierCurveTo(n+i-o,r,n+i-o,t-a*.08,n,t),e.bezierCurveTo(n+i-o,t+a*.08,n+i-o,r+a,n+i,r+a);break}case`rightbrace`:{let t=d,o=i*.45;e.moveTo(n,r),e.bezierCurveTo(n+o,r,n+o,t-a*.08,n+i,t),e.bezierCurveTo(n+o,t+a*.08,n+o,r+a,n,r+a);break}case`wedgerectcallout`:{e.rect(n,r,i,a*.8);let t=n+i*.2,o=r+a;e.moveTo(n+i*.1,r+a*.8),e.lineTo(t,o),e.lineTo(n+i*.3,r+a*.8),e.closePath();break}case`wedgeellipsecallout`:{let t=(o??-2e4)/1e5*i,n=(s??12e4)/1e5*a,r=u+t,c=d+n;e.ellipse(u,d,i/2,a/2,0,0,Math.PI*2);let l=Math.atan2(n,t),f=Math.PI/10,p=i/2,m=a/2,h=u+p*Math.cos(l-f),g=d+m*Math.sin(l-f),_=u+p*Math.cos(l+f),v=d+m*Math.sin(l+f);e.moveTo(h,g),e.lineTo(r,c),e.lineTo(_,v),e.closePath();break}case`cloudcallout`:{let t=Math.min(i,a)*.22,n=[[u-i*.25,r+a*.35],[u-i*.1,r+a*.15],[u+i*.1,r+a*.1],[u+i*.28,r+a*.2],[u+i*.35,r+a*.4]];e.moveTo(n[0][0]-t,n[0][1]);for(let[r,i]of n)e.arc(r,i,t,Math.PI,0);e.arc(u,r+a*.65,i*.45,0,Math.PI),e.closePath();let c=u+(o??-2e4)/1e5*i,l=d+(s??12e4)/1e5*a;e.moveTo(u+i*.05,r+a*.8),e.arc(c,l,Math.min(i,a)*.07,0,Math.PI*2);break}case`bentconnector2`:case`bentconnector3`:case`bentconnector4`:case`bentconnector5`:case`curvedconnector2`:case`curvedconnector3`:case`curvedconnector4`:case`curvedconnector5`:e.moveTo(n,r),e.lineTo(n+i,r+a);break;case`heart`:e.moveTo(u,r+a*.32),e.bezierCurveTo(u,r,n+i*.05,r,n,r+a*.3),e.bezierCurveTo(n,r+a*.68,u-i*.05,r+a*.78,u,r+a),e.bezierCurveTo(u+i*.05,r+a*.78,n+i,r+a*.68,n+i,r+a*.3),e.bezierCurveTo(n+i-i*.05,r,u,r,u,r+a*.32);break;case`donut`:{let t=i/2,n=a/2,r=Math.min(t,n)*(o??25e3)/1e5,s=t-r,c=n-r;e.ellipse(u,d,t,n,0,0,Math.PI*2,!1),e.moveTo(u+s,d),e.ellipse(u,d,s,c,0,0,Math.PI*2,!0);break}case`nosmoking`:case`nosmokingsign`:{let t=(o??18750)/1e5,n=i/2,r=a/2,s=n*(1-2*t),c=r*(1-2*t);e.ellipse(u,d,n,r,0,0,Math.PI*2,!1),e.moveTo(u+s,d),e.ellipse(u,d,s,c,0,0,Math.PI*2,!0),e.moveTo(u+s,d),e.ellipse(u,d,s,c,0,0,Math.PI/2,!1),e.lineTo(u-s,d),e.ellipse(u,d,s,c,0,Math.PI,3*Math.PI/2,!1),e.closePath();break}case`pie`:{let t=(o??0)/216e5*Math.PI*2,n=(s??162e5)/216e5*Math.PI*2;e.moveTo(u,d),e.arc(u,d,Math.min(i,a)/2,t,n),e.closePath();break}case`cloud`:{let t=a*.28;e.arc(n+i*.25,r+a*.55,t,Math.PI,Math.PI*1.8),e.arc(n+i*.45,r+a*.35,t*1.1,Math.PI*1.3,Math.PI*1.9),e.arc(n+i*.65,r+a*.4,t,Math.PI*1.5,Math.PI*2),e.arc(n+i*.8,r+a*.6,t*.9,Math.PI*1.6,Math.PI*.1),e.arc(n+i*.55,r+a*.75,t,0,Math.PI*.7),e.arc(n+i*.25,r+a*.7,t*.9,0,Math.PI),e.closePath();break}case`funnel`:e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(u+i*.15,r+a),e.lineTo(u-i*.15,r+a),e.closePath();break;case`smileyface`:{e.ellipse(u,d,i/2,a/2,0,0,Math.PI*2),e.closePath();let t=i*.05,n=a*.05,r=d-a*.12;e.moveTo(u-i*.2+t,r),e.ellipse(u-i*.2,r,t,n,0,0,Math.PI*2),e.moveTo(u+i*.2+t,r),e.ellipse(u+i*.2,r,t,n,0,0,Math.PI*2),e.moveTo(u-i*.25,d+a*.05),e.quadraticCurveTo(u,d+a*.3,u+i*.25,d+a*.05);break}case`document`:case`foldedcorner`:{let t=Math.min(i,a)*.15;e.moveTo(n,r),e.lineTo(n+i-t,r),e.lineTo(n+i,r+t),e.lineTo(n+i,r+a),e.lineTo(n,r+a),e.closePath(),e.moveTo(n+i-t,r),e.lineTo(n+i-t,r+t),e.lineTo(n+i,r+t);break}case`snip2samerect`:{let t=Math.min(i,a)*Math.min(5e4,Math.max(0,o??16667))/1e5;e.moveTo(n,r),e.lineTo(n+i-t,r),e.lineTo(n+i,r+t),e.lineTo(n+i,r+a),e.lineTo(n+t,r+a),e.lineTo(n,r+a-t),e.closePath();break}case`snip2diagrect`:{let t=Math.min(i,a)*Math.min(5e4,Math.max(0,o??16667))/1e5;e.moveTo(n+t,r),e.lineTo(n+i-t,r),e.lineTo(n+i,r+t),e.lineTo(n+i,r+a-t),e.lineTo(n+i-t,r+a),e.lineTo(n+t,r+a),e.lineTo(n,r+a-t),e.lineTo(n,r+t),e.closePath();break}case`sniproundrect`:{let t=Math.min(i,a)*Math.min(5e4,Math.max(0,o??16667))/1e5;e.moveTo(n+t,r),e.lineTo(n+i-t,r),e.lineTo(n+i,r+t),e.lineTo(n+i,r+a),e.lineTo(n,r+a),e.quadraticCurveTo(n,r,n+t,r),e.closePath();break}case`round1rect`:{let t=Math.min(i,a)*Math.min(5e4,Math.max(0,o??16667))/1e5;e.moveTo(n+t,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a),e.lineTo(n,r+a),e.lineTo(n,r+t),e.quadraticCurveTo(n,r,n+t,r),e.closePath();break}case`plaque`:{let t=Math.min(i,a)*.25;e.moveTo(n+t,r),e.lineTo(n+i-t,r),e.quadraticCurveTo(n+i,r,n+i,r+t),e.lineTo(n+i,r+a-t),e.quadraticCurveTo(n+i,r+a,n+i-t,r+a),e.lineTo(n+t,r+a),e.quadraticCurveTo(n,r+a,n,r+a-t),e.lineTo(n,r+t),e.quadraticCurveTo(n,r,n+t,r),e.closePath();break}case`can`:{let t=a*.1;e.ellipse(u,r+t,i/2,t,0,0,Math.PI*2),e.moveTo(n,r+t),e.lineTo(n,r+a-t),e.ellipse(u,r+a-t,i/2,t,0,Math.PI,2*Math.PI),e.lineTo(n+i,r+t);break}case`cube`:{let t=Math.min(i,a)*.2;e.moveTo(n+t,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a-t),e.lineTo(n+i-t,r+a),e.lineTo(n,r+a),e.lineTo(n,r+t),e.closePath(),e.moveTo(n+t,r),e.lineTo(n+t,r+t),e.lineTo(n+i-t,r+t),e.moveTo(n+t,r+t),e.lineTo(n,r+t);break}case`bevel`:{let t=Math.min(i,a)*.1;e.rect(n,r,i,a),e.moveTo(n,r),e.lineTo(n+t,r+t),e.lineTo(n+i-t,r+t),e.lineTo(n+i,r),e.moveTo(n+i-t,r+t),e.lineTo(n+i-t,r+a-t),e.lineTo(n+i,r+a),e.moveTo(n+i-t,r+a-t),e.lineTo(n+t,r+a-t),e.lineTo(n,r+a),e.moveTo(n+t,r+a-t),e.lineTo(n+t,r+t);break}case`halfframe`:{let t=Math.min(i,a)*.25;e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(n+i,r+t),e.lineTo(n+t,r+t),e.lineTo(n+t,r+a),e.lineTo(n,r+a),e.closePath();break}case`corner`:{let t=Math.min(i,a)*.25;e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(n+i,r+t),e.lineTo(n+t,r+t),e.lineTo(n+t,r+a),e.lineTo(n,r+a),e.closePath();break}case`flowchartalternateprocess`:case`flowchartprocess`:{let t=Math.min(i,a)*Math.min(5e4,Math.max(0,o??16667))/1e5;e.roundRect(n,r,i,a,[{x:t,y:t}]);break}case`flowchartterminator`:{let t=Math.min(i,a)/2;e.roundRect(n,r,i,a,[{x:t,y:t}]);break}case`flowchartdocument`:{let t=a*.1;e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a-t),e.bezierCurveTo(n+i*.75,r+a,n+i*.25,r+a-t*2,n,r+a-t),e.closePath();break}case`moon`:e.arc(u,d,Math.min(i,a)/2,-Math.PI/2,Math.PI/2),e.arc(u-i*.2,d,Math.min(i,a)/2,Math.PI/2,-Math.PI/2,!0),e.closePath();break;case`arc`:{let t=216e5,n=(o??162e5)/t*Math.PI*2,r=(s??54e5)/t*Math.PI*2;e.ellipse(u,d,i/2,a/2,0,n,n+r,r<0);break}case`mathmultiply`:{let t=Math.min(i,a)*Math.min(51965,Math.max(0,o??23520))/1e5,s=Math.atan2(a,i),c=Math.sin(s),l=Math.cos(s),u=t/2*c,d=t/2*l;e.moveTo(n+u,r-d),e.lineTo(n-u,r+d),e.lineTo(n+i-u,r+a+d),e.lineTo(n+i+u,r+a-d),e.closePath(),e.moveTo(n+i-u,r-d),e.lineTo(n+i+u,r+d),e.lineTo(n+u,r+a+d),e.lineTo(n-u,r+a-d),e.closePath();break}case`mathdivide`:{let t=Math.min(36745,Math.max(1e3,o??23520)),n=(73490+-t)/4,l=36745*i/a,f=Math.min(Math.min(n,l),Math.max(1e3,c??11760)),p=73490+4*f-t,m=Math.min(p,Math.max(0,s??5880)),h=a*t/2e5,g=a*m/1e5,_=a*f/1e5,v=i*73490/2e5,y=d-h,b=d+h,x=y-(g+_)-_,S=r+a-x,C=u-v,w=u+v;e.rect(C,y,w-C,b-y),e.moveTo(u+_,x+_),e.arc(u,x+_,_,0,Math.PI*2),e.moveTo(u+_,S-_),e.arc(u,S-_,_,0,Math.PI*2);break}case`quadarrow`:{let t=i*(o??23e3)/1e5,c=i*(s??3e4)/1e5,l=n+(i-t)/2,f=r+(a-t)/2;e.moveTo(u,r),e.lineTo(n+i-c,r+c),e.lineTo(n+i-c,f),e.lineTo(l+t,f),e.lineTo(l+t,r+c),e.lineTo(n+c,r+c),e.lineTo(n+i,d),e.lineTo(n+i-c,r+a-c),e.lineTo(l+t,r+a-c),e.lineTo(l+t,f+t),e.lineTo(n+i-c,f+t),e.lineTo(n+i-c,r+a-c),e.lineTo(u,r+a),e.lineTo(n+c,r+a-c),e.lineTo(n+c,f+t),e.lineTo(l,f+t),e.lineTo(l,r+a-c),e.lineTo(n,d),e.lineTo(n+c,r+c),e.lineTo(l,r+c),e.lineTo(l,f),e.lineTo(n+c,f),e.closePath();break}case`wave`:{let t=a*(o??12500)/1e5,s=r+t,c=r+a-t;e.moveTo(n,s),e.bezierCurveTo(n+i*.25,r,n+i*.25,r+t*2,n+i*.5,s),e.bezierCurveTo(n+i*.75,r+t*2,n+i*.75,r,n+i,s),e.lineTo(n+i,c),e.bezierCurveTo(n+i*.75,r+a,n+i*.75,r+a-t*2,n+i*.5,c),e.bezierCurveTo(n+i*.25,r+a-t*2,n+i*.25,r+a,n,c),e.closePath();break}case`doublewave`:{let t=a*(o??6250)/1e5,s=r+t,c=r+a-t;e.moveTo(n,s),e.bezierCurveTo(n+i*.25,r,n+i*.25,r+t*2,n+i*.5,s),e.bezierCurveTo(n+i*.75,r+t*2,n+i*.75,r,n+i,s),e.lineTo(n+i,c),e.bezierCurveTo(n+i*.75,r+a,n+i*.75,r+a-t*2,n+i*.5,c),e.bezierCurveTo(n+i*.25,r+a-t*2,n+i*.25,r+a,n,c),e.closePath();break}case`sun`:{let t=Math.min(i,a)/2,n=t*((o??25e3)/1e5+.5),r=Math.min(n,t*.9),s=Math.PI/16;for(let n=0;n<8;n++){let i=n/8*Math.PI*2;e.moveTo(u+r*Math.cos(i-s),d+r*Math.sin(i-s)),e.lineTo(u+t*Math.cos(i),d+t*Math.sin(i)),e.lineTo(u+r*Math.cos(i+s),d+r*Math.sin(i+s)),e.closePath()}e.moveTo(u+r,d),e.arc(u,d,r,0,Math.PI*2);break}case`lightningbolt`:e.moveTo(u+i*.1,r),e.lineTo(n,d-a*.05),e.lineTo(u+i*.05,d-a*.05),e.lineTo(u-i*.1,r+a),e.lineTo(n+i,d+a*.05),e.lineTo(u-i*.05,d+a*.05),e.closePath();break;case`bracketpair`:{let t=a*Math.min(5e4,Math.max(0,o??8333))/1e5;e.moveTo(n+i*.4,r),e.quadraticCurveTo(n,r,n,r+t),a-2*t>0&&e.lineTo(n,r+a-t),e.quadraticCurveTo(n,r+a,n+i*.4,r+a),e.moveTo(n+i*.6,r),e.quadraticCurveTo(n+i,r,n+i,r+t),a-2*t>0&&e.lineTo(n+i,r+a-t),e.quadraticCurveTo(n+i,r+a,n+i*.6,r+a);break}case`bracepair`:{let t=i*.2;e.moveTo(n+i*.4,r),e.bezierCurveTo(n+i*.4-t,r,n+i*.4-t,d-a*.08,n,d),e.bezierCurveTo(n+i*.4-t,d+a*.08,n+i*.4-t,r+a,n+i*.4,r+a),e.moveTo(n+i*.6,r),e.bezierCurveTo(n+i*.6+t,r,n+i*.6+t,d-a*.08,n+i,d),e.bezierCurveTo(n+i*.6+t,d+a*.08,n+i*.6+t,r+a,n+i*.6,r+a);break}case`chord`:{let t=(o??27e5)/216e5*Math.PI*2,n=(s??162e5)/216e5*Math.PI*2;e.ellipse(u,d,i/2,a/2,0,t,n),e.closePath();break}case`blockarc`:{let t=Math.min(i,a)/2,n=o??108e5,r=s??0,l=t*(1-(c??25e3)/1e5),f=n/216e5*Math.PI*2,p=r/216e5*Math.PI*2;e.arc(u,d,t,f,p,!1),e.arc(u,d,l,p,f,!0),e.closePath();break}case`teardrop`:{let t=Math.min(i,a)*.4,o=n+t,s=r+a-t;e.arc(o,s,t,0,Math.PI*2*.75),e.bezierCurveTo(o-t*.1,s-t,n+i-t,r+t,n+i,r),e.bezierCurveTo(n+i-t*.2,r+t*.5,o+t,s-t*1.1,o+t,s),e.closePath();break}case`diagstripe`:{let t=a*(o??5e4)/1e5*i/a;e.moveTo(n+t,r),e.lineTo(n+i,r),e.lineTo(n+i-t,r+a),e.lineTo(n,r+a),e.closePath();break}case`wedgeroundrectcallout`:{let t=Math.min(i,a)*.1;e.roundRect(n,r,i,a*.85,t),e.moveTo(n+i*.1,r+a*.85),e.lineTo(n+i*.2,r+a),e.lineTo(n+i*.3,r+a*.85),e.closePath();break}case`rightarrowcallout`:{let t=a*(o??5e4)/1e5,c=i*(s??5e4)/1e5,l=r+(a-t)/2;e.rect(n,l,c,t),e.moveTo(n+c,r),e.lineTo(n+i,d),e.lineTo(n+c,r+a),e.closePath();break}case`leftarrowcallout`:{let t=a*(o??5e4)/1e5,c=i*(s??5e4)/1e5,l=r+(a-t)/2;e.rect(n+i-c,l,c,t),e.moveTo(n+i-c,r),e.lineTo(n,d),e.lineTo(n+i-c,r+a),e.closePath();break}case`uparrowcallout`:{let t=i*(o??5e4)/1e5,c=a*(s??5e4)/1e5,l=n+(i-t)/2;e.rect(l,r+c,t,a-c),e.moveTo(n,r+c),e.lineTo(u,r),e.lineTo(n+i,r+c),e.closePath();break}case`downarrowcallout`:{let t=i*(o??5e4)/1e5,c=a*(s??5e4)/1e5,l=n+(i-t)/2;e.rect(l,r,t,a-c),e.moveTo(n,r+a-c),e.lineTo(u,r+a),e.lineTo(n+i,r+a-c),e.closePath();break}case`leftrightarrowcallout`:{let t=a*(o??5e4)/1e5,c=i*(s??25e3)/1e5,l=r+(a-t)/2;e.rect(n+c,l,i-2*c,t),e.moveTo(n+c,r),e.lineTo(n,d),e.lineTo(n+c,r+a),e.closePath(),e.moveTo(n+i-c,r),e.lineTo(n+i,d),e.lineTo(n+i-c,r+a),e.closePath();break}case`leftrightuparrow`:{let t=i*(o??25e3)/1e5,c=a*(s??3e4)/1e5,l=n+(i-t)/2;e.moveTo(u,r),e.lineTo(n+i,r+c),e.lineTo(l+t,r+c),e.lineTo(l+t,r+a),e.lineTo(l,r+a),e.lineTo(l,r+c),e.lineTo(n,r+c),e.closePath();break}case`uturnarrow`:{let t=i*(o??25e3)/1e5,s=(i-t)/2,c=Math.max(0,s-t),l=n+t+s,u=r+t+s,d=t*2,f=r+a-t*2.5;e.moveTo(n,r+a),e.lineTo(n,u),e.arc(l,u,s,Math.PI,0),e.lineTo(n+i,f),e.lineTo(n+i+(d-t)/2,f),e.lineTo(l+t/2,r+a),e.lineTo(n+i-(d-t)/2-t,f),e.lineTo(n+i-t,f),e.lineTo(n+i-t,u),e.arc(l,u,c,0,Math.PI,!0),e.lineTo(n+t,r+a),e.closePath();break}case`bentarrow`:case`bentuparrow`:{let t=Math.min(i,a)*.25;e.moveTo(n,d-t/2),e.lineTo(n+i-t*2,d-t/2),e.lineTo(n+i-t*2,r+t),e.lineTo(n+i,d),e.lineTo(n+i-t*2,r+a-t),e.lineTo(n+i-t*2,d+t/2),e.lineTo(n,d+t/2),e.closePath();break}case`plus`:{let t=Math.min(i,a)*(o??25e3)/1e5;e.rect(u-t,r,2*t,a),e.rect(n,d-t,i,2*t);break}case`mathnotequal`:{let t=Math.min(5e4,Math.max(0,o??23520)),n=Math.min(66e5,Math.max(42e5,s??66e5)),l=Math.min(1e5-2*t,Math.max(0,c??11760)),f=a*t/1e5,p=a*l/2e5,m=i*73490/2e5,h=a/2,g=(n/6e4-90)*Math.PI/180,_=h*Math.tan(g),v=Math.hypot(_,h)*f/h;e.rect(u-m,d-p-f,2*m,f),e.rect(u-m,d+p,2*m,f),e.moveTo(u+_-v/2,r),e.lineTo(u+_+v/2,r),e.lineTo(u-_+v/2,r+a),e.lineTo(u-_-v/2,r+a),e.closePath();break}case`flowchartdelay`:{let t=a/2;e.moveTo(n,r),e.lineTo(n+i-t,r),e.arc(n+i-t,d,t,-Math.PI/2,Math.PI/2),e.lineTo(n,r+a),e.closePath();break}case`flowchartdisplay`:{let t=i*.2,o=i*.15;e.moveTo(n+t,r),e.lineTo(n+i-o,r),e.arc(n+i-o,d,a/2,-Math.PI/2,Math.PI/2),e.lineTo(n+t,r+a),e.lineTo(n,d),e.closePath();break}case`flowchartpunchedcard`:{let t=i*.2;e.moveTo(n+t,r),e.lineTo(n+i,r),e.lineTo(n+i-t,r+a),e.lineTo(n,r+a),e.closePath();break}case`flowchartoffpageconnector`:{let t=a*.3;e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a-t),e.lineTo(u,r+a),e.lineTo(n,r+a-t),e.closePath();break}case`flowchartonlinestorage`:case`flowchartmanuallabel`:case`flowchartpuncheddisk`:e.rect(n,r,i,a);break;case`horizontalscroll`:{let t=Math.min(i,a)*.15;e.roundRect(n+t,r,i-t,a,t),e.moveTo(n+t,r+t*2),e.arc(n+t,r+t,t,Math.PI/2,Math.PI*2.5);break}case`verticalscroll`:{let t=Math.min(i,a)*.15;e.roundRect(n,r+t,i,a-t,t),e.moveTo(n+t*2,r+t),e.arc(n+t,r+t,t,0,Math.PI*2);break}case`ribbon`:{let t=Math.min(33333,Math.max(0,o??16667)),c=i*Math.min(75e3,Math.max(25e3,s??5e4))/2e5,l=i/8,u=i/32,d=i/2-c,f=i/2+c,p=d+u,m=f-u,h=d+l,g=f-l,_=h-u,v=g+u,y=i-l,b=a*t/2e5,x=a*t/1e5,S=a-x,C=S/2;e.moveTo(n,r),e.lineTo(n+_,r),e.lineTo(n+p,r+b),e.lineTo(n+m,r+x),e.lineTo(n+v,r+b),e.lineTo(n+i,r),e.lineTo(n+y,r+C),e.lineTo(n+i,r+S),e.lineTo(n+f,r+S),e.lineTo(n+f,r+a),e.lineTo(n+p,r+a),e.lineTo(n+d,r+S),e.lineTo(n,r+S),e.lineTo(n+l,r+C),e.closePath();break}case`ribbon2`:{let t=Math.min(33333,Math.max(0,o??16667)),c=i*Math.min(75e3,Math.max(25e3,s??5e4))/2e5,l=i/8,u=i/32,d=i/2-c,f=i/2+c,p=d+u,m=f-u,h=d+l,g=f-l,_=h-u,v=g+u,y=i-l,b=a*t/2e5,x=a*t/1e5,S=a-b,C=a-x,w=x,T=(w+a)/2;e.moveTo(n,r+a),e.lineTo(n+_,r+a),e.lineTo(n+p,r+S),e.lineTo(n+m,r+C),e.lineTo(n+v,r+S),e.lineTo(n+i,r+a),e.lineTo(n+y,r+T),e.lineTo(n+i,r+w),e.lineTo(n+f,r+w),e.lineTo(n+f,r),e.lineTo(n+p,r),e.lineTo(n+d,r+w),e.lineTo(n,r+w),e.lineTo(n+l,r+T),e.closePath();break}case`ellipseribbon`:{let t=Math.min(1e5,Math.max(0,o??25e3)),l=Math.min(75e3,Math.max(25e3,s??5e4)),u=Math.max(0,t-(1e5-t)/2),d=Math.min(t,Math.max(u,c??12500)),f=i/8,p=i*l/2e5,m=i/2-p,h=m+f,g=i-h,_=i-m,v=i-f,y=a*d/1e5,b=4*y/i,x=b*(h-h*h/i),S=h/2,C=b*S,w=i-S,T=a*t/1e5,E=T-y,D=b*(m-m*m/i),O=D+E,k=y+E-O+y+E,A=a-T,j=(y*14/16+A)/2,M=D+A,N=O+A,P=m/2,F=b*P+A,I=i-P,L=k+A;e.moveTo(n,r),e.quadraticCurveTo(n+S,r+C,n+h,r+x),e.lineTo(n+m,r+O),e.quadraticCurveTo(n+i/2,r+k,n+_,r+O),e.lineTo(n+g,r+x),e.quadraticCurveTo(n+w,r+C,n+i,r),e.lineTo(n+v,r+j),e.lineTo(n+i,r+A),e.quadraticCurveTo(n+I,r+F,n+_,r+M),e.lineTo(n+_,r+N),e.quadraticCurveTo(n+i/2,r+L,n+m,r+N),e.lineTo(n+m,r+M),e.quadraticCurveTo(n+P,r+F,n,r+A),e.lineTo(n+f,r+j),e.closePath();break}case`ellipseribbon2`:{let t=Math.min(1e5,Math.max(0,o??25e3)),l=Math.min(75e3,Math.max(25e3,s??5e4)),u=Math.max(0,t-(1e5-t)/2),d=Math.min(t,Math.max(u,c??12500)),f=i/8,p=i*l/2e5,m=i/2-p,h=m+f,g=i-h,_=i-m,v=i-f,y=a*d/1e5,b=4*y/i,x=a-b*(h-h*h/i),S=h/2,C=a-b*S,w=i-S,T=a*t/1e5,E=T-y,D=b*(m-m*m/i),O=D+E,k=a-O,A=y+E-O+y+E,j=a-A,M=a-T,N=a-(y*14/16+M)/2,P=a-(D+M),F=a-(O+M),I=m/2,L=a-(b*I+M),R=i-I,z=a-(A+M);e.moveTo(n,r+a),e.quadraticCurveTo(n+S,r+C,n+h,r+x),e.lineTo(n+m,r+k),e.quadraticCurveTo(n+i/2,r+j,n+_,r+k),e.lineTo(n+g,r+x),e.quadraticCurveTo(n+w,r+C,n+i,r+a),e.lineTo(n+v,r+N),e.lineTo(n+i,r+T),e.quadraticCurveTo(n+R,r+L,n+_,r+P),e.lineTo(n+_,r+F),e.quadraticCurveTo(n+i/2,r+z,n+m,r+F),e.lineTo(n+m,r+P),e.quadraticCurveTo(n+I,r+L,n,r+T),e.lineTo(n+f,r+N),e.closePath();break}case`circulararrow`:{let t=(s??0)/6e4*Math.PI/180,n=(o??162e5)/6e4*Math.PI/180,r=(c??5e4)/1e5,l=Math.min(i,a)/2,f=l*(1-r),p=(l+f)/2,m=l-f,h=t+n;e.arc(u,d,l,t,h,!1),e.arc(u,d,f,h,t,!0),e.closePath();let g=Math.sin(h),_=-Math.cos(h),v=m*1.5,y=u+p*Math.cos(h)+v*g,b=d+p*Math.sin(h)+v*_;e.moveTo(y,b),e.lineTo(u+l*Math.cos(h),d+l*Math.sin(h)),e.lineTo(u+f*Math.cos(h),d+f*Math.sin(h)),e.closePath();break}case`curvedrightarrow`:{let t=Math.min(i,a),l=a/2,u=5e4*a/t,d=Math.min(u,Math.max(0,s??5e4)),f=t*Math.min(d,Math.max(0,o??25e3))/1e5,p=t*d/1e5,m=l-(f+p)/4,h=(2*m)**2-f**2,g=1e5*(Math.sqrt(Math.max(0,h))*i/(2*m))/t,_=t*Math.min(g,Math.max(0,c??25e3))/1e5,v=Math.sqrt(Math.max(0,i*i-_*_))*m/i,y=m+f,b=m+v,x=y+v,S=(p-f)/2,C=b-S,w=x+S,T=a-p/2,E=i-_,D=Math.atan2(_,v),O=-D,k=Math.PI-D;e.moveTo(n,r+m),z_(e,n,r+m,i,m,Math.PI,O),e.lineTo(n+E,r+C),e.lineTo(n+i,r+T),e.lineTo(n+E,r+w),e.lineTo(n+E,r+x),z_(e,n+E,r+x,i,m,k,D),e.closePath();break}case`curvedleftarrow`:{let t=Math.min(i,a),l=a/2,u=5e4*a/t,d=Math.min(u,Math.max(0,s??5e4)),f=t*Math.min(d,Math.max(0,o??25e3))/1e5,p=t*d/1e5,m=l-(f+p)/4,h=(2*m)**2-f**2,g=Math.sqrt(Math.max(0,h))*i/(2*m),_=1e5*g/t,v=t*Math.min(_,Math.max(0,c??25e3))/1e5,y=Math.sqrt(Math.max(0,i*i-v*v))*m/i,b=m+f,x=m+y,S=b+y,C=(p-f)/2,w=x-C,T=S+C,E=a-p/2,D=v,O=Math.atan2(v,y),k=f/2,A=Math.atan2(k,g),j=A-O,M=O-A,N=-A;e.moveTo(n,r+E),e.lineTo(n+D,r+w),e.lineTo(n+D,r+x);let P=z_(e,n+D,r+x,i,m,O,j);z_(e,P.x,P.y,i,m,N,M),e.lineTo(n+D,r+T),e.closePath();break}case`curveduparrow`:{let t=Math.min(i,a),l=i/2,u=5e4*i/t,d=Math.min(u,Math.max(0,s??5e4)),f=t*Math.min(1e5,Math.max(0,o??25e3))/1e5,p=t*d/1e5,m=l-(f+p)/4,h=(2*m)**2-f**2,g=Math.sqrt(Math.max(0,h))*a/(2*m),_=1e5*g/t,v=t*Math.min(_,Math.max(0,c??25e3))/1e5,y=Math.sqrt(Math.max(0,a*a-v*v))*m/a,b=m+f,x=m+y,S=b+y,C=(p-f)/2,w=x-C,T=S+C,E=i-p/2,D=v,O=Math.atan2(v,y),k=f/2,A=Math.atan2(k,g),j=A-O,M=O-A,N=Math.PI/2-O,P=Math.PI/2-A;e.moveTo(n+E,r),e.lineTo(n+T,r+D),e.lineTo(n+S,r+D);let F=z_(e,n+S,r+D,m,a,N,M);z_(e,F.x,F.y,m,a,P,j),e.lineTo(n+w,r+D),e.closePath();break}case`curveddownarrow`:{let t=Math.min(i,a),l=i/2,u=5e4*i/t,d=Math.min(u,Math.max(0,s??5e4)),f=t*Math.min(1e5,Math.max(0,o??25e3))/1e5,p=t*d/1e5,m=l-(f+p)/4,h=(2*m)**2-f**2,g=Math.sqrt(Math.max(0,h))*a/(2*m),_=1e5*g/t,v=t*Math.min(_,Math.max(0,c??25e3))/1e5,y=Math.sqrt(Math.max(0,a*a-v*v))*m/a,b=m+f,x=m+y,S=b+y,C=(p-f)/2,w=x-C,T=S+C,E=i-p/2,D=a-v,O=Math.atan2(v,y),k=f/2,A=Math.atan2(k,g),j=3*Math.PI/2+O;3*Math.PI/2-A,A-Math.PI/2,Math.PI/2-A,e.moveTo(n+E,r+a),e.lineTo(n+w,r+D),e.lineTo(n+x,r+D),z_(e,n+x,r+D,m,a,j,-O),e.lineTo(n+b,r),z_(e,n+b,r,m,a,3*Math.PI/2,O),e.lineTo(n+T,r+D),e.closePath();break}case`stripedrightarrow`:{let t=Math.min(i,a),c=t/32,l=t/16,u=t/8,f=t*(o??5e4)/1e5,p=i*(s??5e4)/1e5,m=d-f/2,h=d+f/2,g=n+i-p;e.rect(n,m,c,f),e.rect(n+l,m,l,f),e.rect(n+u,m,u,f),e.moveTo(g,m),e.lineTo(g,r),e.lineTo(n+i,d),e.lineTo(g,r+a),e.lineTo(g,h),e.lineTo(n+u*2,h),e.lineTo(n+u*2,m),e.closePath();break}case`flowchartmagneticdisk`:{let t=a*.15;e.moveTo(n,r+t),e.ellipse(u,r+t,i/2,t,0,Math.PI,0),e.lineTo(n+i,r+a-t),e.ellipse(u,r+a-t,i/2,t,0,0,Math.PI),e.lineTo(n,r+t),e.closePath(),e.moveTo(n+i,r+t),e.ellipse(u,r+t,i/2,t,0,0,Math.PI);break}case`flowchartmagneticdrum`:{let t=i*.15;e.moveTo(n+t,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a),e.lineTo(n+t,r+a),e.ellipse(n+t,d,t,a/2,0,Math.PI/2,-Math.PI/2,!0),e.closePath(),e.moveTo(n+i,r),e.ellipse(n+i,d,t,a/2,0,-Math.PI/2,Math.PI/2);break}case`flowchartmagnetictape`:{let t=Math.min(i,a)/2,n=u+t*.5;e.moveTo(u,r+a),e.arc(u,d,t,Math.PI/2,Math.PI/2+Math.PI*2*.875),e.lineTo(n,d+t*.5),e.lineTo(n,r+a),e.closePath();break}case`flowchartpunchedtape`:{let t=a*.12;e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a-t),e.bezierCurveTo(n+i*.75,r+a,n+i*.25,r+a-t*2,n,r+a-t),e.closePath(),e.moveTo(n,r+t),e.bezierCurveTo(n+i*.25,r,n+i*.75,r+t*2,n+i,r+t);break}case`flowchartmanualoperation`:{let t=i*.15;e.moveTo(n+t,r),e.lineTo(n+i-t,r),e.lineTo(n+i,r+a),e.lineTo(n,r+a),e.closePath();break}case`flowchartmultidocument`:{let t=a*.1,o=i*.04;e.rect(n+o*2,r-a*.08,i-o*2,a*.1),e.rect(n+o,r-a*.04,i-o,a*.06),e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a-t),e.bezierCurveTo(n+i*.75,r+a,n+i*.25,r+a-t*2,n,r+a-t),e.closePath();break}case`rttriangle`:e.moveTo(n,r),e.lineTo(n,r+a),e.lineTo(n+i,r+a),e.closePath();break;default:e.rect(n,r,i,a);break}}var V_,H_,U_,W_,G_=t((()=>{I_(),V_={oval:`ellipse`,rtriangle:`rttriangle`,roundrectangle:`roundrect`,flowchartsumingjunction:`flowchartsummingjunction`},H_=new Set(`ellipse.rttriangle.triangle.diamond.trapezoid.roundrect.snip1rect.frame.irregularseal1.irregularseal2.star4.star8.star12.star16.star24.star32.line.straightconnector1.callout1.bordercallout1.leftuparrow.quadarrowcallout.mathequal.mathplus.mathminus.flowchartdecision.flowchartmanualinput.flowchartconnector.flowchartinputoutput.flowchartmerge.flowchartextract.flowchartpreparation.flowchartcollate`.split(`.`)),U_=new Set([`accentcallout1`,`accentbordercallout1`,`flowchartpredefinedprocess`,`flowchartsort`,`flowchartinternalstorage`,`flowchartsummingjunction`]),W_=new Set([`round2samerect`,`round2diagrect`,`dodecagon`,`star10`])}));function K_(e,t,n){let r=Math.max(.5,t.width*n),i=e.w===`sm`?4:e.w===`lg`?8:6,a=e.len===`sm`?4:e.len===`lg`?8:6;return{lw:r,halfW:r*i/2,len:r*a}}function q_(e,t,n){return Z_.has(e.type)?K_(e,t,n).len:0}function J_(e,t,n){if(e.type===`none`)return 0;let{lw:r,halfW:i,len:a}=K_(e,t,n);return Math.max(a,i)+r/2}function Y_(e,t,n){if(n<=0)return{x:e.x,y:e.y};let r=t.x-e.x,i=t.y-e.y,a=Math.hypot(r,i);if(a<1e-9)return{x:e.x,y:e.y};let o=Math.min(n,a)/a;return{x:e.x+r*o,y:e.y+i*o}}function X_(e,t,n,r,i,a,o,s){if(i.type===`none`)return;let{lw:c,halfW:l,len:u}=K_(i,a,o),d=s??Ri(a.color);switch(e.save(),e.translate(t,n),e.rotate(r),e.fillStyle=d,e.strokeStyle=d,e.lineWidth=c,e.setLineDash([]),e.beginPath(),i.type){case`triangle`:case`stealth`:e.moveTo(0,0),e.lineTo(-u,-l),e.lineTo(-u,l),e.closePath(),e.fill();break;case`arrow`:e.lineCap=`round`,e.lineJoin=`round`,e.moveTo(-u,-l),e.lineTo(0,0),e.lineTo(-u,l),e.stroke();break;case`diamond`:e.moveTo(0,0),e.lineTo(-u/2,-l),e.lineTo(-u,0),e.lineTo(-u/2,l),e.closePath(),e.fill();break;case`oval`:e.ellipse(-u/2,0,u/2,l,0,0,Math.PI*2),e.fill();break}e.restore()}var Z_,Q_=t((()=>{Ki(),Z_=new Set([`triangle`,`stealth`,`diamond`,`oval`])}));function $_(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}}function ev(e,t){if(!e.inPath)return!0;if(e.pathDiscarded)return!1;let n=e.pathCommandCount+t;return!Number.isSafeInteger(n)||t<0||n>e.maxPathCommands?(e.ctx.beginPath(),e.pathDiscarded=!0,!1):(e.pathCommandCount=n,!0)}function tv(e,t,n){let r=n===qv?4:8;return Math.min(t,Math.floor(e.remaining/r))}function nv(e,t,n){return e.wt.m11*t+e.wt.m21*n+e.wt.dx}function rv(e,t,n){return e.wt.m12*t+e.wt.m22*n+e.wt.dy}function iv(e){return e.winExtX===0?1:e.vpExtX/e.winExtX}function av(e){return e.winExtY===0?1:e.vpExtY/e.winExtY}function ov(e){return Math.min(Math.abs(iv(e)),Math.abs(av(e)))}function sv(e){return e.mapMode===Vv.ISOTROPIC?iv(e)<0?-ov(e):ov(e):iv(e)}function cv(e){return e.mapMode===Vv.ISOTROPIC?av(e)<0?-ov(e):ov(e):av(e)}function lv(e,t){return(t-e.winOrgX)*sv(e)+e.vpOrgX}function uv(e,t){return(t-e.winOrgY)*cv(e)+e.vpOrgY}function dv(e,t,n){let r=lv(e,nv(e,t,n)),i=uv(e,rv(e,t,n));return[(r-e.left)*e.W/e.boundsW,(i-e.top)*e.H/e.boundsH]}function fv(e){return(Math.hypot(e.wt.m11,e.wt.m12)+Math.hypot(e.wt.m21,e.wt.m22))/2}function pv(e){return(Math.abs(sv(e))+Math.abs(cv(e)))/2}function mv(e){return(e.W/e.boundsW+e.H/e.boundsH)/2}function hv(e){return Math.hypot(e.wt.m21,e.wt.m22)}function gv(e){return e.H/e.boundsH}function _v(e,t){let n=t*fv(e)*pv(e)*mv(e);return Math.max(.75,n)}function vv(e,t){if(e.mapMode=t,t===Vv.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===Vv.ANISOTROPIC||t===Vv.ISOTROPIC||e.devPxPerMmX<=0||e.devPxPerMmY<=0)return;let n=25.4,r=t===Vv.LOMETRIC?.1:t===Vv.HIMETRIC?.01:t===Vv.LOENGLISH?.01*n:t===Vv.HIENGLISH?.001*n:t===Vv.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))}function yv(e,t){let n=Gv[t];if(n){e.curBrush=n;return}let r=Kv[t];if(r){e.curPen=r;return}t===Bv.DC_BRUSH&&(e.curBrush=e.curBrush??{kind:`brush`,fill:`#000000`})}function bv(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)}`}function xv(e,t,n){t.skip(16);let r=t.u32();if(r<2||r>1048576||!e.inPath&&(!e.curPen||e.curPen.stroke==null))return;let{ctx:i}=e,a=ev(e,tv(t,r,n));e.inPath||i.beginPath();let o=0,s=0;for(let c=0;c<r&&!(t.remaining<4);c++){let[r,l]=n(t),[u,d]=dv(e,r,l);a&&(c===0?i.moveTo(u,d):i.lineTo(u,d)),o=r,s=l}!e.inPath&&e.curPen?.stroke!=null&&(i.strokeStyle=e.curPen.stroke,i.lineWidth=_v(e,e.curPen.width),i.stroke(),e.drew=!0),e.curX=o,e.curY=s}function Sv(e,t,n){t.skip(16);let r=t.u32();if(r<1||r>1048576)return;let{ctx:i}=e,a=e.inPath||e.curPen!=null&&e.curPen.stroke!=null,o=!e.inPath||ev(e,tv(t,r,n));if(a&&!e.inPath){i.beginPath();let[t,n]=dv(e,e.curX,e.curY);i.moveTo(t,n)}for(let s=0;s<r&&!(t.remaining<4);s++){let[r,s]=n(t);if(a&&o){let[t,n]=dv(e,r,s);i.lineTo(t,n)}e.curX=r,e.curY=s}a&&!e.inPath&&e.curPen&&(i.strokeStyle=e.curPen.stroke,i.lineWidth=_v(e,e.curPen.width),i.stroke(),e.drew=!0)}function Cv(e,t,n){t.skip(16);let r=t.u32();if(r<2||r>1048576)return;let{ctx:i}=e,a=ev(e,tv(t,r,n)+1);e.inPath||i.beginPath();let o=!1;for(let s=0;s<r&&!(t.remaining<4);s++){let[r,s]=n(t),[c,l]=dv(e,r,s);o?a&&i.lineTo(c,l):(a&&i.moveTo(c,l),o=!0)}o&&(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=_v(e,e.curPen.width),i.stroke(),e.drew=!0)))}function wv(e,t,n,r){t.skip(16);let i=t.u32();if(i<1||i>1048576)return;let a=tv(t,i,n),o=!e.inPath||ev(e,a);if(e.inPath&&!o){for(let r=0;r<a;r++){let[r,i]=n(t);e.curX=r,e.curY=i}return}let s=[];for(let e=0;e<i&&!(t.remaining<4);e++)s.push(n(t));if(s.length<(r?3:4)){s.length&&(e.curX=s[s.length-1][0],e.curY=s[s.length-1][1]);return}let c=e.inPath||e.curPen!=null&&e.curPen.stroke!=null,{ctx:l}=e;if(c){e.inPath||l.beginPath();let t=r?dv(e,e.curX,e.curY):dv(e,s[0][0],s[0][1]);(!r||!e.inPath)&&l.moveTo(t[0],t[1])}let u=+!r;for(;u+2<s.length+ +!!r;u+=3){let t=s[u],n=s[u+1],r=s[u+2];if(!t||!n||!r)break;if(c){let i=dv(e,t[0],t[1]),a=dv(e,n[0],n[1]),o=dv(e,r[0],r[1]);l.bezierCurveTo(i[0],i[1],a[0],a[1],o[0],o[1])}e.curX=r[0],e.curY=r[1]}c&&!e.inPath&&e.curPen&&(l.strokeStyle=e.curPen.stroke,l.lineWidth=_v(e,e.curPen.width),l.stroke(),e.drew=!0)}function Tv(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=[],s=0;for(let e=0;e<i;e++){if(t.remaining<4)return;let e=t.u32();if(s+=e,!Number.isSafeInteger(s)||s>2097152)return;o.push(e)}if(s!==a)return;let{ctx:c}=e,l=ev(e,tv(t,a,n)+(r?i:0));e.inPath||c.beginPath();let u=!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);if(l){let[t,n]=dv(e,i,a);r===0?c.moveTo(t,n):c.lineTo(t,n)}}r&&l&&c.closePath(),u=!0}!u||e.inPath||(r&&e.curBrush&&e.curBrush.fill!=null&&(c.fillStyle=e.curBrush.fill,c.fill(e.fillRule),e.drew=!0),e.curPen&&e.curPen.stroke!=null&&(c.strokeStyle=e.curPen.stroke,c.lineWidth=_v(e,e.curPen.width),c.stroke(),e.drew=!0))}function Ev(e,t,n,r,i){let{ctx:a}=e,o=dv(e,t,n),s=dv(e,r,n),c=dv(e,r,i),l=dv(e,t,i),u=ev(e,5);e.inPath||a.beginPath(),u&&(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=_v(e,e.curPen.width),a.stroke(),e.drew=!0))}function Dv(e,t,n){!e.pathDiscarded&&t&&e.curBrush?.fill!=null&&(e.ctx.fillStyle=e.curBrush.fill,e.ctx.fill(e.fillRule),e.drew=!0),!e.pathDiscarded&&n&&e.curPen?.stroke!=null&&(e.ctx.strokeStyle=e.curPen.stroke,e.ctx.lineWidth=_v(e,e.curPen.width),e.ctx.stroke(),e.drew=!0),e.ctx.beginPath(),e.pathCommandCount=0,e.pathDiscarded=!1}function Ov(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:Vr(i),width:Math.abs(r)}]}function kv(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:Vr(i),width:Math.abs(r)}]}function Av(e){let t=e.u32(),n=e.u32(),r=e.u32();return e.u32(),[t,{kind:`brush`,fill:n===1?null:Vr(r)}]}function jv(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=jr(t,n+i,a,n+o,s);e&&(c=bv(e))}catch{}return[r,{kind:`brush`,fill:c}]}function Mv(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 Nv(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)*hv(e)*Math.abs(cv(e))*gv(e);if(!Number.isFinite(u)||u<1)return;let{ctx:d}=e,[f,p]=dv(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 Pv(e,t,n,r,i,a,o,s,c,l,u){if(i===0||o===0)return;let d=jr(t,n+r,i,n+a,o);if(!d)return;let[f,p]=dv(e,s,c),[m,h]=dv(e,l,u);Nr(e.ctx,d,f,p,m,h)&&(e.drew=!0)}function Fv(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(),Pv(e,n,r,t.u32(),t.u32(),t.u32(),t.u32(),i,a,i+o,a+s)}function Iv(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();Pv(e,n,r,o,s,c,l,i,a,i+u,a+d)}function Lv(e,t,n,r,i={}){if(!zr(e)||n<=0||r<=0)return!1;let a=new DataView(e.buffer,e.byteOffset,e.byteLength),o={ctx:t,W:n,H:r,left:0,top:0,boundsW:n,boundsH:r,wt:Hv(),mapMode:Vv.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,pathCommandCount:0,pathDiscarded:!1,maxPathCommands:Number.isSafeInteger(i.maxPathCommands)&&i.maxPathCommands>0?Math.min(i.maxPathCommands,Wv):Wv},s=0;for(;s+8<=e.length;){let n=a.getUint32(s,!0),r=a.getUint32(s+4,!0);if(r<8||r&3)break;let i=s+r;if(i>e.length||n===zv.EOF)break;let c=new Uv(a,s+8,i);try{switch(n){case zv.HEADER:{let e=a.getInt32(s+8,!0),t=a.getInt32(s+12,!0),n=a.getInt32(s+16,!0),r=a.getInt32(s+20,!0);if(o.left=e,o.top=t,o.boundsW=Math.max(1,n-e),o.boundsH=Math.max(1,r-t),i>=s+88){let e=a.getInt32(s+24,!0),t=a.getInt32(s+28,!0),n=a.getInt32(s+32,!0),r=a.getInt32(s+36,!0),i=a.getInt32(s+72,!0),c=a.getInt32(s+76,!0),l=a.getInt32(s+80,!0),u=a.getInt32(s+84,!0),d=n-e,f=r-t;if(d>0&&f>0&&i>0&&c>0&&l>0&&u>0){let n=i/(l*100),r=c/(u*100);o.left=e*n,o.top=t*r,o.boundsW=Math.max(1,d*n),o.boundsH=Math.max(1,f*r),o.devPxPerMmX=i/l,o.devPxPerMmY=c/u}}break}case zv.SETWORLDTRANSFORM:o.wt=c.xform();break;case zv.MODIFYWORLDTRANSFORM:{let e=c.xform(),t=c.u32();t===1?o.wt=Hv():t===2?o.wt=$_(e,o.wt):t===3?o.wt=$_(o.wt,e):t===4&&(o.wt=e);break}case zv.SETMAPMODE:vv(o,c.u32());break;case zv.SETWINDOWORGEX:o.winOrgX=c.i32(),o.winOrgY=c.i32();break;case zv.SETWINDOWEXTEX:{let e=c.i32(),t=c.i32();e!==0&&(o.winExtX=e),t!==0&&(o.winExtY=t);break}case zv.SETVIEWPORTORGEX:o.vpOrgX=c.i32(),o.vpOrgY=c.i32();break;case zv.SETVIEWPORTEXTEX:{let e=c.i32(),t=c.i32();e!==0&&(o.vpExtX=e),t!==0&&(o.vpExtY=t);break}case zv.SCALEWINDOWEXTEX:{let e=c.i32(),t=c.i32(),n=c.i32(),r=c.i32();t!==0&&(o.winExtX=o.winExtX*e/t),r!==0&&(o.winExtY=o.winExtY*n/r);break}case zv.SCALEVIEWPORTEXTEX:{let e=c.i32(),t=c.i32(),n=c.i32(),r=c.i32();t!==0&&(o.vpExtX=o.vpExtX*e/t),r!==0&&(o.vpExtY=o.vpExtY*n/r);break}case zv.SAVEDC:o.ctx.save(),o.stack.push({wt:{...o.wt},mapMode:o.mapMode,winOrgX:o.winOrgX,winOrgY:o.winOrgY,winExtX:o.winExtX,winExtY:o.winExtY,vpOrgX:o.vpOrgX,vpOrgY:o.vpOrgY,vpExtX:o.vpExtX,vpExtY:o.vpExtY,curPen:o.curPen,curBrush:o.curBrush,curFont:o.curFont,textColor:o.textColor,bkMode:o.bkMode,textAlign:o.textAlign,fillRule:o.fillRule,curX:o.curX,curY:o.curY});break;case zv.RESTOREDC:{let e=c.i32(),t=Math.min(Math.abs(e)||1,o.stack.length),n;for(let e=0;e<t;e++)n=o.stack.pop(),o.ctx.restore();n&&(o.wt=n.wt,o.mapMode=n.mapMode,o.winOrgX=n.winOrgX,o.winOrgY=n.winOrgY,o.winExtX=n.winExtX,o.winExtY=n.winExtY,o.vpOrgX=n.vpOrgX,o.vpOrgY=n.vpOrgY,o.vpExtX=n.vpExtX,o.vpExtY=n.vpExtY,o.curPen=n.curPen,o.curBrush=n.curBrush,o.curFont=n.curFont,o.textColor=n.textColor,o.bkMode=n.bkMode,o.textAlign=n.textAlign,o.fillRule=n.fillRule,o.curX=n.curX,o.curY=n.curY);break}case zv.BEGINPATH:o.ctx.beginPath(),o.inPath=!0,o.pathCommandCount=0,o.pathDiscarded=!1;break;case zv.CLOSEFIGURE:o.inPath&&ev(o,1)&&o.ctx.closePath();break;case zv.ENDPATH:o.inPath=!1;break;case zv.FILLPATH:Dv(o,!0,!1);break;case zv.STROKEANDFILLPATH:Dv(o,!0,!0);break;case zv.STROKEPATH:Dv(o,!1,!0);break;case zv.SELECTCLIPPATH:if(!o.pathDiscarded)try{o.ctx.clip(o.fillRule)}catch{}o.pathCommandCount=0,o.pathDiscarded=!1;break;case zv.SELECTOBJECT:{let e=c.u32();if(e&2147483648)yv(o,e>>>0);else{let t=o.objects.get(e);t?.kind===`pen`?o.curPen=t:t?.kind===`brush`?o.curBrush=t:t?.kind===`font`&&(o.curFont=t)}break}case zv.DELETEOBJECT:{let e=c.u32(),t=o.objects.get(e);t&&(t===o.curPen&&(o.curPen=null),t===o.curBrush&&(o.curBrush=null),t===o.curFont&&(o.curFont=null),o.objects.delete(e));break}case zv.CREATEPEN:{let[e,t]=Ov(c);o.objects.set(e,t);break}case zv.EXTCREATEPEN:{let[e,t]=kv(c);o.objects.set(e,t);break}case zv.CREATEBRUSHINDIRECT:{let[e,t]=Av(c);o.objects.set(e,t);break}case zv.CREATEMONOBRUSH:case zv.CREATEDIBPATTERNBRUSHPT:{let[e,t]=jv(c,a,s);o.objects.set(e,t);break}case zv.EXTCREATEFONTINDIRECTW:{let[e,t]=Mv(c,a,s);o.objects.set(e,t);break}case zv.POLYLINE16:xv(o,c,qv);break;case zv.POLYLINE:xv(o,c,Jv);break;case zv.POLYLINETO16:Sv(o,c,qv);break;case zv.POLYLINETO:Sv(o,c,Jv);break;case zv.POLYGON16:Cv(o,c,qv);break;case zv.POLYGON:Cv(o,c,Jv);break;case zv.POLYBEZIER16:wv(o,c,qv,!1);break;case zv.POLYBEZIER:wv(o,c,Jv,!1);break;case zv.POLYBEZIERTO16:wv(o,c,qv,!0);break;case zv.POLYBEZIERTO:wv(o,c,Jv,!0);break;case zv.POLYPOLYGON16:Tv(o,c,qv,!0);break;case zv.POLYPOLYGON:Tv(o,c,Jv,!0);break;case zv.POLYPOLYLINE16:Tv(o,c,qv,!1);break;case zv.POLYPOLYLINE:Tv(o,c,Jv,!1);break;case zv.MOVETOEX:if(o.curX=c.i32(),o.curY=c.i32(),o.inPath&&ev(o,1)){let[e,t]=dv(o,o.curX,o.curY);o.ctx.moveTo(e,t)}break;case zv.LINETO:{let e=c.i32(),t=c.i32();if(o.inPath&&ev(o,1)){let[n,r]=dv(o,e,t);o.ctx.lineTo(n,r)}else if(o.curPen&&o.curPen.stroke!=null){let[n,r]=dv(o,o.curX,o.curY),[i,a]=dv(o,e,t);o.ctx.beginPath(),o.ctx.moveTo(n,r),o.ctx.lineTo(i,a),o.ctx.strokeStyle=o.curPen.stroke,o.ctx.lineWidth=_v(o,o.curPen.width),o.ctx.stroke(),o.drew=!0}o.curX=e,o.curY=t;break}case zv.RECTANGLE:Ev(o,c.i32(),c.i32(),c.i32(),c.i32());break;case zv.ELLIPSE:{let e=c.i32(),n=c.i32(),r=c.i32(),i=c.i32(),[a,s]=[(e+r)/2,(n+i)/2],[l,u]=dv(o,a,s),[d]=dv(o,r,s),[,f]=dv(o,a,i),p=Math.abs(d-l),m=Math.abs(f-u);t.beginPath(),t.ellipse(l,u,p,m,0,0,Math.PI*2),o.curBrush&&o.curBrush.fill!=null&&(t.fillStyle=o.curBrush.fill,t.fill(o.fillRule),o.drew=!0),o.curPen&&o.curPen.stroke!=null&&(t.strokeStyle=o.curPen.stroke,t.lineWidth=_v(o,o.curPen.width),t.stroke(),o.drew=!0);break}case zv.SETPOLYFILLMODE:o.fillRule=c.u32()===1?`evenodd`:`nonzero`;break;case zv.SETTEXTCOLOR:o.textColor=Vr(c.u32());break;case zv.SETTEXTALIGN:o.textAlign=c.u32();break;case zv.SETBKMODE:o.bkMode=c.u32();break;case zv.EXTTEXTOUTW:Nv(o,c,a,s);break;case zv.BITBLT:Fv(o,c,a,s);break;case zv.STRETCHDIBITS:Iv(o,c,a,s);break;default:break}}catch{}s=i}return o.drew}async function Rv(e,t,n){if(!zr(e)||t<=0||n<=0)return null;let r=gr(t,n);if(!r)return null;let i=r.getContext(`2d`);return!i||(i.lineJoin=`round`,i.lineCap=`round`,!Lv(e,i,t,n))?null:createImageBitmap(r)}var zv,Bv,Vv,Hv,Uv,Wv,Gv,Kv,qv,Jv,Yv=t((()=>{Ir(),gi(),vr(),zv={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,FILLPATH:62,STROKEANDFILLPATH:63,STROKEPATH:64,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},Bv={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},Vv={TEXT:1,LOMETRIC:2,HIMETRIC:3,LOENGLISH:4,HIENGLISH:5,TWIPS:6,ISOTROPIC:7,ANISOTROPIC:8},Hv=()=>({m11:1,m12:0,m21:0,m22:1,dx:0,dy:0}),Uv=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}},Wv=2162688,Gv={[Bv.WHITE_BRUSH]:{kind:`brush`,fill:`#ffffff`},[Bv.LTGRAY_BRUSH]:{kind:`brush`,fill:`#c0c0c0`},[Bv.GRAY_BRUSH]:{kind:`brush`,fill:`#808080`},[Bv.DKGRAY_BRUSH]:{kind:`brush`,fill:`#404040`},[Bv.BLACK_BRUSH]:{kind:`brush`,fill:`#000000`},[Bv.NULL_BRUSH]:{kind:`brush`,fill:null}},Kv={[Bv.WHITE_PEN]:{kind:`pen`,stroke:`#ffffff`,width:1},[Bv.BLACK_PEN]:{kind:`pen`,stroke:`#000000`,width:1},[Bv.NULL_PEN]:{kind:`pen`,stroke:null,width:1},[Bv.DC_PEN]:{kind:`pen`,stroke:`#000000`,width:1}},qv=e=>[e.i16(),e.i16()],Jv=e=>[e.i32(),e.i32()]}));function Xv(e){let t=e.close;typeof t==`function`&&t.call(e)}var Zv=t((()=>{}));function Qv(e){if(!(typeof e!=`object`||!e))try{let t=e,n=t.code,r=t.message;return n===`ooxml-tiff-decode`&&typeof r==`string`?{message:r}:void 0}catch{return}}function $v(e){if(!Qv(e))return!1;try{return typeof e.name==`string`}catch{return!1}}function ey(e){if(e.length<4)return!1;let t=e[0]===73&&e[1]===73,n=e[0]===77&&e[1]===77;return!t&&!n?!1:new DataView(e.buffer,e.byteOffset,e.byteLength).getUint16(2,t)===42}function ty(e){if(!ey(e)||e.length<8)return null;let t=e[0]===73,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r=(e,t)=>Number.isSafeInteger(e)&&e>=0&&t>=0&&e<=n.byteLength-t,i=n.getUint32(4,t);if(!r(i,2))return null;let a=n.getUint16(i,t);if(!r(i+2,a*12+4))return null;let o,s;for(let e=0;e<a;e++){let r=i+2+e*12,a=n.getUint16(r,t);if(a!==256&&a!==257)continue;let c=n.getUint16(r+2,t);if(n.getUint32(r+4,t)!==1||c!==1&&c!==3&&c!==4)return null;let l=c===1?n.getUint8(r+8):c===3?n.getUint16(r+8,t):n.getUint32(r+8,t);a===256?o=l:s=l}return o===void 0||s===void 0?null:{width:o,height:s}}var ny,ry=t((()=>{ny=class e extends Error{code=`ooxml-tiff-decode`;constructor(t,n){super(t,n),this.name=`TiffDecodeError`,Object.setPrototypeOf(this,e.prototype)}}}));function iy(e,t){return e[t]<<8|e[t+1]}function ay(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function oy(e,t){return e[t]|e[t+1]<<8}function sy(e,t){return e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24|0}function cy(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:ay(e,16),height:ay(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:oy(e,6),height:oy(e,8)}:t>=26&&e[0]===66&&e[1]===77?ly(e,14)===12?{width:oy(e,18),height:oy(e,20)}:{width:Math.abs(sy(e,18)),height:Math.abs(sy(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?uy(e):t>=4&&e[0]===255&&e[1]===216?my(e):t>=4&&(e[0]===73&&e[1]===73||e[0]===77&&e[1]===77)?ty(e):null}function ly(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function uy(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:oy(e,26)&16383,height:oy(e,28)&16383};if(n===86&&r===80&&i===56&&a===76){if(t<25||e[20]!==47)return null;let n=ly(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 dy(e){return e.length>=6&&e[0]===69&&e[1]===120&&e[2]===105&&e[3]===102&&e[4]===0&&e[5]===0}function fy(e){if(e.length<14||!dy(e))return null;let t=e[6]===73&&e[7]===73,n=e[6]===77&&e[7]===77;if(!t&&!n)return null;let r=new DataView(e.buffer,e.byteOffset,e.byteLength);if(r.getUint16(8,t)!==42)return null;let i=r.getUint32(10,t),a=6+i;if(i<8||a+2>e.length)return null;let o=r.getUint16(a,t),s=a+2,c=Math.min(o,Math.floor((e.length-s)/12));for(let e=0;e<c;e++){let n=s+e*12;if(r.getUint16(n,t)!==274||r.getUint16(n+2,t)!==3||r.getUint32(n+4,t)!==1)continue;let i=r.getUint16(n+8,t);if(i>=1&&i<=8)return i}return null}function py(e,t){return t!==null&&t>=5&&t<=8?{width:e.height,height:e.width}:e}function my(e){let t=e.length,n=2,r=null,i=!1,a=null;for(;n+1<t;){if(e[n]!==255){n+=1;continue}let o=e[n+1];if(o===255){n+=1;continue}if(o===216||o===1||o>=208&&o<=215){n+=2;continue}if(o===217||o===218)return a?py(a,r):null;if(n+3>=t)return null;let s=iy(e,n+2);if(o>=192&&o<=207&&o!==196&&o!==200&&o!==204){if(s<7||n+8>=t)return null;let r=iy(e,n+5),i=iy(e,n+7);a??={width:i,height:r}}if(s<2)return null;let c=n+2+s;if(c>t)return a?py(a,r):null;if(o===225&&!i){let t=e.subarray(n+4,c);dy(t)&&(i=!0,r=fy(t))}n=c}return a?py(a,r):null}function hy(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>wr}function gy(e){let{width:t,height:n}=e;return!Number.isFinite(t)||!Number.isFinite(n)||t<=0||n<=0||t>134217728||n>134217728?!0:t*n>Tr}var _y=t((()=>{Ar(),ry()}));function vy(e){switch(e.split(`;`,1)[0]?.trim().toLowerCase()){case`image/png`:case`image/jpeg`:case`image/jpg`:case`image/gif`:case`image/bmp`:case`image/x-ms-bmp`:case`image/webp`:return!0;default:return!1}}function yy(e,t=!1){return e!==null&&e!==`wmf`&&e!==`emf`&&(e!==`tiff`||t)}function by(e){return Rr(e)?`wmf`:zr(e)?`emf`:e.length>=8&&e[0]===137&&e[1]===80&&e[2]===78&&e[3]===71&&e[4]===13&&e[5]===10&&e[6]===26&&e[7]===10?`png`:e.length>=2&&e[0]===255&&e[1]===216?`jpeg`:e.length>=6&&e[0]===71&&e[1]===73&&e[2]===70&&e[3]===56&&(e[4]===55||e[4]===57)&&e[5]===97?`gif`:e.length>=2&&e[0]===66&&e[1]===77?`bmp`:e.length>=12&&e[0]===82&&e[1]===73&&e[2]===70&&e[3]===70&&e[8]===87&&e[9]===69&&e[10]===66&&e[11]===80?`webp`:ey(e)?`tiff`:null}function xy(e){return e>=192&&e<=207&&e!==196&&e!==200&&e!==204}async function Sy(e){let t=e.slice(2).stream().getReader(),n=!1,r=-1,i=-1,a=0,o=null,s=0,c=0,l=null,u=null,d=0,f=null,p=!1;try{for(;;){let{value:e,done:m}=await t.read();if(m)return l?py(l,f):null;for(let m of e){if(o){if(o[s++]=m,s===o.length){let e=o[1]<<8|o[2],n=o[3]<<8|o[4];if(l??={width:n,height:e},o=null,s=0,p)return await t.cancel(),py(l,f);a=c,c=0}continue}if(u){if(u[d++]=m,d===u.length&&(dy(u)&&(p=!0,f=fy(u)),u=null,d=0,p&&l))return await t.cancel(),py(l,f);continue}if(a>0){a--;continue}if(r>=0){if(i<0){i=m;continue}let e=i<<8|m;if(e<2)return null;if(xy(r)){if(e<7)return null;l?a=e-2:(o=new Uint8Array(5),s=0,c=e-7)}else r===225&&!p&&e>2?(u=new Uint8Array(e-2),d=0):a=e-2;r=-1,i=-1;continue}if(!n){m===255&&(n=!0);continue}if(m!==255&&(n=!1,m!==0)){if(m===217||m===218)return await t.cancel(),l?py(l,f):null;m===216||m===1||m>=208&&m<=215||(r=m)}}}}finally{t.releaseLock()}}async function Cy(e,t){if(t.length<8||!ey(t))return null;let n=t[0]===73,r=new DataView(t.buffer,t.byteOffset,t.byteLength).getUint32(4,n);if(!Number.isSafeInteger(r)||r<8||r>e.size-2)return null;let i=new Uint8Array(await e.slice(r,r+2).arrayBuffer());if(i.length!==2)return null;let a=new DataView(i.buffer,i.byteOffset,2).getUint16(0,n),o=a*12;if(r+2+o>e.size)return null;let s=new Uint8Array(await e.slice(r+2,r+2+o).arrayBuffer()),c=new DataView(s.buffer,s.byteOffset,s.byteLength),l,u;for(let e=0;e<a;e++){let t=e*12,r=c.getUint16(t,n);if(r!==256&&r!==257)continue;let i=c.getUint16(t+2,n);if(c.getUint32(t+4,n)!==1||i!==1&&i!==3&&i!==4)return null;let a=i===1?c.getUint8(t+8):i===3?c.getUint16(t+8,n):c.getUint32(t+8,n);r===256?l=a:u=a}return l===void 0||u===void 0?null:{width:l,height:u}}async function wy(e,t){let n=t??new Uint8Array(await e.slice(0,Ty).arrayBuffer()),r=by(n);if(!r)return{format:null,dimensions:null};let i=cy(n);return r===`jpeg`?{format:r,dimensions:await Sy(e)??i}:i?{format:r,dimensions:i}:r===`tiff`?{format:r,dimensions:await Cy(e,n)}:{format:r,dimensions:null}}var Ty,Ey=t((()=>{_y(),ry(),gi(),Ty=64*1024}));function Dy(e){return typeof e==`number`&&Number.isFinite(e)&&e>0?e:void 0}function Oy(e,t,n,r=!1){if(!Number.isFinite(e.width)||!Number.isFinite(e.height)||!(e.width>0)||!(e.height>0))return null;let i=Dy(t),a=Dy(n);if((r?i===void 0&&a===void 0:i===void 0||a===void 0)||i!==void 0&&!(i<e.width)||a!==void 0&&!(a<e.height))return null;let o=i===void 0?0:i/e.width,s=a===void 0?0:a/e.height,c,l;if(i!==void 0&&o>=s)c=Math.max(1,Math.ceil(i)),l=Math.max(1,Math.ceil(e.height*c/e.width));else if(a!==void 0)l=Math.max(1,Math.ceil(a)),c=Math.max(1,Math.ceil(e.width*l/e.height));else return null;return c<e.width&&l<e.height?{width:c,height:l}:null}function ky(e,t,n,r=!1){if(!Number.isFinite(e.width)||!Number.isFinite(e.height)||!(e.width>0)||!(e.height>0))return null;let i=Dy(t),a=Dy(n);if(i!==void 0&&a!==void 0){let t=Math.min(e.width,Math.max(1,Math.ceil(i))),n=Math.min(e.height,Math.max(1,Math.ceil(a)));return t<e.width||n<e.height?{width:t,height:n}:null}return Oy(e,i,a,r)}function Ay(e,t,n,r){let i=ky({width:e,height:t},n,r,!0);return i?{resizeWidth:i.width,resizeHeight:i.height,resizeQuality:`high`}:void 0}var jy=t((()=>{}));function My(e,t){if(typeof e!=`object`||!e)return!1;try{let n=e;return n.code===`ooxml-optional-image-codec-unavailable`&&n.codec===`tiff`&&(t===void 0||n.codec===t)}catch{return!1}}function Ny(e,t,n){if(!(![n.x,n.y,n.width,n.height].every(Number.isFinite)||n.width<=0||n.height<=0)){e.save();try{e.fillStyle=`#888`,e.font=`11px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`;let r=Fy[t];e.fillText(r,n.x+n.width/2,n.y+n.height/2,n.width)}finally{e.restore()}}}var Py,Fy,Iy=t((()=>{Py=class e extends Error{code=`ooxml-optional-image-codec-unavailable`;constructor(t){super(`${t.toUpperCase()} image requires an optional codec`),this.codec=t,this.name=`OptionalImageCodecUnavailableError`,Object.setPrototypeOf(this,e.prototype)}},Fy={tiff:`TIFF image unavailable`}}));function Ly(e,t){return e.width<=0||e.height<=0||e.width>32767||e.height>32767||e.width*e.height>t}function Ry(e){let t=e.split(`;`,1)[0]?.trim().toLowerCase();return t===`image/tiff`||t===`image/x-tiff`}function zy(e,t,n,r=!1){let i={retainedDimensions:e,resizeOptions:null},a=ky(e,typeof t==`number`&&Number.isFinite(t)&&t>0?t:void 0,typeof n==`number`&&Number.isFinite(n)&&n>0?n:void 0,r);return a?{retainedDimensions:a,resizeOptions:{resizeWidth:a.width,resizeHeight:a.height,resizeQuality:`high`}}:i}function By(e,t,n){let r=Math.max(e.width,e.height);if(!Number.isFinite(r)||r>t)return new kr(`image-dimension`,t,Number.isFinite(r)?r:2**53-1);let i=e.width*e.height;return new kr(`image-pixels`,n,Number.isSafeInteger(i)&&i>=0?i:2**53-1)}async function Vy(e,t={}){return Hy(e,t)}async function Hy(e,t={},n){let{widthPt:r=0,heightPt:i=0,suppressBoundaryFrame:a=!1,tiff:o,targetWidthPx:s,targetHeightPx:c,maxRetainedPixels:l=wr}=t,u=Number.isSafeInteger(l)&&l>0?Math.min(l,wr):wr,d=new Uint8Array(await e.slice(0,64*1024).arrayBuffer());if(Rr(d)){let{w:t,h:n}=ai(r,i);return Uy(await oi(new Uint8Array(await e.arrayBuffer()),t,n,a),u)}if(zr(d)){let{w:t,h:n}=ai(r,i);return Uy(await Rv(new Uint8Array(await e.arrayBuffer()),t,n),u)}let f=(n??await wy(e,d)).dimensions;if(f&&gy(f))throw By(f,Er,Tr);let p=ey(d)||Ry(e.type),m=f?zy(f,s,c,p):null;if(m&&Ly(m.retainedDimensions,u))throw By(m.retainedDimensions,Cr,u);if(p){if(!o)throw new Py(`tiff`);let t;try{t=await o.render(new Uint8Array(await e.arrayBuffer()),{targetWidthPx:s,targetHeightPx:c,maxRetainedPixels:u})}catch(e){throw Sr(e)||$v(e)?e:new ny(`TIFF codec failed to decode the image`,{cause:e})}if(!t)throw new ny(`TIFF codec failed to decode the image`);return Uy(t,u)}return Uy(m?.resizeOptions?await createImageBitmap(e,m.resizeOptions):await createImageBitmap(e),u)}function Uy(e,t=wr){if(!e)return null;let n={width:Number(e.width),height:Number(e.height)};if(!Ly(n,t))return e;throw Xv(e),By(n,Cr,t)}var Wy=t((()=>{Yv(),Zv(),Ar(),Ey(),_y(),jy(),ry(),Iy(),gi()}));async function Gy(e,t){let n=Ky.get(e);n||(n={active:0,waiters:[]},Ky.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&&Ky.delete(e))}}var Ky,qy=t((()=>{Ar(),Ky=new WeakMap}));function Jy(e=void 0){if(e!==void 0&&(typeof e!=`object`||!e||Array.isArray(e)))throw TypeError(`imageResources must be an object when provided`);let t=e?.decodedByteBudget??134217728;if(!Number.isSafeInteger(t)||t<4||t>536870912)throw RangeError(`imageResources.decodedByteBudget must be a safe integer from 4 to ${Or} bytes`);let n=e?.strategy??`adaptive`;if(n!==`adaptive`&&n!==`strict`)throw TypeError(`imageResources.strategy must be 'adaptive' or 'strict'`);let r=e?.resolution??`native-if-fit`;if(r!==`native-if-fit`&&r!==`display`)throw TypeError(`imageResources.resolution must be 'native-if-fit' or 'display'`);return Object.freeze({decodedByteBudget:t,strategy:n,resolution:r})}function Yy(e){return Number.isFinite(e)&&e>0?Math.max(1,Math.ceil(e)):1}function Xy(e){return Number.isSafeInteger(e)&&(e??0)>0?e:1}function Zy(e,t){let n=0;for(let r of e.values()){let e=t(r),i=e.width*e.height*r.surfaces*4;n=Math.min(2**53-1,n+i)}return n}function Qy(e,t){let n=new Map;for(let t of e){let e=Yy(t.targetWidthPx),r=Yy(t.targetHeightPx),i=t.sourceWidthPx!==void 0&&t.sourceHeightPx!==void 0,a=i?Yy(t.sourceWidthPx):void 0,o=i?Yy(t.sourceHeightPx):void 0,s=Xy(t.retainedSurfaceCount),c=n.get(t.key);c?(c.targetWidth=Math.max(c.targetWidth,e),c.targetHeight=Math.max(c.targetHeight,r),a!==void 0&&o!==void 0&&(c.sourceWidth=Math.max(c.sourceWidth??0,a),c.sourceHeight=Math.max(c.sourceHeight??0,o)),c.surfaces=Math.max(c.surfaces,s)):n.set(t.key,{targetWidth:e,targetHeight:r,sourceWidth:a,sourceHeight:o,surfaces:s})}let r=e=>({width:e.sourceWidth??e.targetWidth,height:e.sourceHeight??e.targetHeight}),i=(e,t)=>({width:Math.max(1,Math.floor(e.targetWidth*t)),height:Math.max(1,Math.floor(e.targetHeight*t))}),a=(e,t)=>{let n=i(e,t);return e.sourceWidth===void 0||e.sourceHeight===void 0?n:ky({width:e.sourceWidth,height:e.sourceHeight},n.width,n.height)??{width:e.sourceWidth,height:e.sourceHeight}},o=(e,t,n)=>{let r=i(e,t),o=a(e,t),s=o.width*o.height;return Object.freeze({...r,retainedWidth:o.width,retainedHeight:o.height,retainedPixels:s,maxRetainedPixels:n??s})},s=Zy(n,r),c=[...n.values()].every(e=>{let t=r(e);return t.width*t.height<=wr}),l=[...n.values()].some(e=>e.sourceWidth===void 0||e.sourceHeight===void 0),u=t.resolution===`native-if-fit`&&!l&&c&&s<=t.decodedByteBudget,d=Zy(n,e=>a(e,1));if(u){let e=new Map;for(let[t,i]of n){let n=r(i);e.set(t,Object.freeze({width:n.width,height:n.height,retainedWidth:n.width,retainedHeight:n.height,retainedPixels:n.width*n.height,maxRetainedPixels:n.width*n.height}))}return Object.freeze({targets:e,idealBytes:d,plannedBytes:s,qualityScale:1,degraded:!1})}if(t.resolution===`native-if-fit`&&t.strategy===`adaptive`&&l&&d<=t.decodedByteBudget){let e=Math.sqrt(t.decodedByteBudget/Math.max(1,d));for(let t of n.values()){let n=a(t,1);e=Math.min(e,Math.sqrt(wr/(n.width*n.height)))}let r=new Map,i=Math.floor(t.decodedByteBudget/4),s=0;for(let[t,c]of n){let n=a(c,1),l=n.width*n.height,u=Math.max(l,Math.floor(l*e*e)),d=Math.max(1,Math.min(u,Math.floor(i/c.surfaces))),f=Math.min(2,Math.sqrt(d/l));r.set(t,o(c,f,d));let p=d*c.surfaces;i-=p,s+=p*4}return Object.freeze({targets:r,idealBytes:d,plannedBytes:s,qualityScale:1,degraded:!1})}if(t.strategy===`strict`&&d>t.decodedByteBudget)throw new kr(`active-decoded-bytes`,t.decodedByteBudget,d);if(t.strategy===`adaptive`){let e=Zy(n,e=>a(e,0));if(e>t.decodedByteBudget)throw new kr(`active-decoded-bytes`,t.decodedByteBudget,e)}let f=1;if(t.strategy===`adaptive`&&d>t.decodedByteBudget){let e=0,r=1;for(let i=0;i<40;i++){let i=(e+r)/2;Zy(n,e=>a(e,i))<=t.decodedByteBudget?e=i:r=i}f=e}let p=new Map;for(let[e,t]of n)p.set(e,o(t,f));let m=Zy(n,e=>a(e,f)),h=f<1&&n.size>0?Math.min(...[...n.entries()].flatMap(([e,t])=>{let n=p.get(e);return[n.width/t.targetWidth,n.height/t.targetHeight]})):f;return Object.freeze({targets:p,idealBytes:d,plannedBytes:m,qualityScale:h,degraded:f<1})}var $y=t((()=>{Ar(),jy()}));function eb(e){return typeof e==`object`&&!!e||typeof e==`function`}function tb(e){return Wb.get(e)??0}function nb(e,t){return Gb.get(e)?.get(t)??0}function rb(e,t){let n=Gb.get(e);n||(n=new Map,Gb.set(e,n)),n.set(t,nb(e,t)+1)}function ib(e,t){if(tb(e)!==t)throw Error(`Decoded bitmap cache was dropped during raster inspection`)}function ab(e,t){return{owner:e,ownerGeneration:tb(e),namespace:t,namespaceGeneration:nb(e,t)}}function ob(e,t){if(t.owner!==e||tb(e)!==t.ownerGeneration)throw Error(`Decoded bitmap cache was dropped during a derived image operation`)}function sb(e,t,n){if(ob(e,n),n.namespace!==t||nb(e,t)!==n.namespaceGeneration)throw Error(`Decoded bitmap cache namespace was dropped during a derived image operation`)}function cb(e){let t=Ub.get(e);if(t)for(let e of t.values())e.then(e=>{e.initialBlob=void 0}).catch(()=>{})}function lb(e,t,n,r){let i=Ub.get(e);i||(i=new Map,Ub.set(e,i));let a=i.get(t);if(a)return a;let o=Gy(e,async()=>{let e=await r(t,n);return{inspection:await wy(e),initialBlob:e}}).catch(e=>{throw i?.delete(t),e});return i.set(t,o),o}async function ub(e,t,n,r=n){return(await lb(r,e,t,n)).inspection}function db(e){let t=Hb.get(e);return t||(t={entries:new Map,retainedBytes:0,retainedLimit:Dr},Hb.set(e,t)),t}async function fb(e,t,n){let r=qb.get(e);if(!r){let i;r={tail:new Promise(e=>{i=e}),pending:1},qb.set(e,r);let a;try{return a=hb(e,t),await n()}finally{cb(e),a?.(),i(),r.pending--,r.pending===0&&qb.delete(e)}}let i=r,a=i.tail.catch(()=>{}),o,s=new Promise(e=>{o=e});i.pending++,i.tail=a.then(()=>s),await a;let c;try{return c=hb(e,t),await n()}finally{cb(e),c?.(),o(),i.pending--,i.pending===0&&qb.delete(e)}}function pb(e){!e||Jb.has(e)||(Jb.add(e),Xv(e))}function mb(e){try{pb(e)}catch{}}function hb(e,t){let n=Jy(t),r=Kb.get(e);r||(r={count:0,deferred:[],activeBytes:0,activeBitmaps:new WeakSet,limits:new Map,activeLimit:n.decodedByteBudget},Kb.set(e,r));let i=r,a=Symbol(`decoded-image-lease`);i.limits.set(a,n.decodedByteBudget),i.activeLimit=Math.min(...i.limits.values());let o=db(e);for(o.retainedLimit=i.activeLimit;o.retainedBytes>o.retainedLimit&&vb(e,o););i.count++;let s=!1;return()=>{if(s)return;if(s=!0,i.count--,i.limits.delete(a),i.count>0){i.activeLimit=Math.min(...i.limits.values());let t=Hb.get(e);t&&(t.retainedLimit=i.activeLimit);return}for(let e of i.deferred)e.then(e=>pb(e)).catch(()=>{});i.deferred=[],i.activeBytes=0,i.activeBitmaps=new WeakSet,Kb.delete(e);let t=Hb.get(e);t&&(t.retainedLimit=Dr)}}function gb(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 _b(e,t){if(!t)return;let n=Kb.get(e);if(!n||n.count===0||n.activeBitmaps.has(t))return;let r=n.activeBytes+gb(t);if(r>n.activeLimit)throw new kr(`active-decoded-bytes`,n.activeLimit,r);n.activeBitmaps.add(t),n.activeBytes=r}function vb(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,yb(e,a.ownedPromise),!0}function yb(e,t){let n=Kb.get(e);if(n&&n.count>0){n.deferred.push(t);return}t.then(e=>pb(e)).catch(()=>{})}function bb(e){if(!(typeof e!=`number`||!Number.isFinite(e)||!(e>0)))return Math.ceil(e)}function xb(e){return{...e,targetWidthPx:bb(e.targetWidthPx),targetHeightPx:bb(e.targetHeightPx)}}function Sb(e){let t=e.maxRetainedPixels;return typeof t==`number`&&Number.isSafeInteger(t)&&t>0?Math.min(t,Dr/4):Dr/4}function Cb(e){return Sb(e)<Dr/4}function wb(e,t){if(!e)return null;let n=Sb(t),r=Number(e.width),i=Number(e.height),a=Math.max(r,i);if(!Number.isFinite(a)||a>32767)throw new kr(`image-dimension`,Cr,Number.isFinite(a)?a:2**53-1);let o=r*i;if(!(r>0)||!(i>0)||o>n)throw new kr(`image-pixels`,n,Number.isSafeInteger(o)&&o>=0?o:2**53-1);return e}function Tb(e,t={}){let n=bb(t.targetWidthPx),r=bb(t.targetHeightPx),i=`${e.length}:${e}`,a=Sb(t);return n||r?`raster:${i}:${n??0}x${r??0}:p${a}`:`native:${i}`}function Eb(e){return e.inspection.format===`wmf`||e.inspection.format===`emf`}function Db(e){let t=ai(e.widthPt??0,e.heightPt??0);return{width:t.w,height:t.h,suppressBoundaryFrame:e.suppressBoundaryFrame===!0,pixelLimit:Sb(e)}}function Ob(e,t){return`metafile:${`${e.length}:${e}`}:s${+!!t.suppressBoundaryFrame}:p${t.pixelLimit}:`}function kb(e,t,n){let r=Db(t),i=bb(n?.width)??r.width,a=bb(n?.height)??r.height;return`${Ob(e,r)}${i}x${a}`}function Ab(e,t,n){let r=Db(n),i=`${Xb}${Ob(t,r)}`,a;for(let t of Hb.get(e)?.entries.keys()??[]){if(!t.startsWith(i))continue;let e=/^(\d+)x(\d+)$/.exec(t.slice(i.length));if(!e)continue;let n=Number(e[1]),o=Number(e[2]);if(n<r.width||o<r.height)continue;let s=n*o;(!a||s<a.pixels)&&(a={key:t.slice(Xb.length),pixels:s})}return a?.key}function jb(e,t,n,r){let i=bb(n.targetWidthPx),a=bb(n.targetHeightPx);if(!i&&!a)return;let o=Sb(n),s=`${Xb}raster:${`${t.length}:${t}`}:`,c;for(let[t,n]of Hb.get(e)?.entries??[]){if(!t.startsWith(s))continue;let e=/^(\d+)x(\d+):p(\d+)$/.exec(t.slice(s.length));if(!e)continue;let l=Number(e[1]),u=Number(e[2]);if(Number(e[3])!==o||l<(i??0)||u<(a??0))continue;let d=Number(n.bitmap?.width),f=Number(n.bitmap?.height),p=Number.isFinite(d)&&d>0&&Number.isFinite(f)&&f>0,m=r?ky(r,l,u)??r:void 0,h=p?d*f:m?m.width*m.height:l*u;(!c||h<c.pixels)&&(c={key:t.slice(Xb.length),pixels:h})}return c?.key}function Mb(e,t={}){let n=Sb(t),r=e.inspection.dimensions;if(!r)return!1;let i=r.width*r.height;if(t.maxRetainedPixels!==void 0&&!hy(r)&&i<=n)return!1;let a=bb(t.targetWidthPx),o=bb(t.targetHeightPx);return(e.inspection.format===`tiff`?(a!==void 0||o!==void 0)&&(a===void 0||a<r.width)&&(o===void 0||o<r.height):a!==void 0&&o!==void 0&&(a<r.width||o<r.height))||hy(r)||i>n}async function Nb(e,t,n,r={},i,a){i&&ob(n,i);let o=xb(r),s=i?.ownerGeneration??tb(n),c=await lb(n,e,t,n);i?ob(n,i):ib(n,s);let l=Eb(c);if(a)return l?kb(e,o,{width:Number(a.width),height:Number(a.height)}):Tb(e,{targetWidthPx:Number(a.width),targetHeightPx:Number(a.height),maxRetainedPixels:o.maxRetainedPixels});if(l)return Ab(n,e,o)??kb(e,o);if(!o.targetWidthPx&&!o.targetHeightPx)return Tb(e);let u=`${Xb}${Tb(e)}`;return!Cb(o)&&Hb.get(n)?.entries.has(u)?Tb(e):Mb(c,o)?jb(n,e,o,c.inspection.dimensions)??Tb(e,o):Tb(e)}function Pb(e,t,n){let r=db(t),i=r.entries,a=i.get(e);if(a)return i.delete(e),i.set(e,a),a.promise.then(e=>(_b(t,e),e));let o=Gy(t,n),s=o.then(({bitmap:e,owned:t})=>t?e:null).catch(()=>null),c=o.then(({bitmap:e,owned:n})=>{try{return _b(t,e),e}catch(t){throw n&&pb(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=gb(n),r.retainedBytes+=l.weight;r.retainedBytes>r.retainedLimit&&vb(t,r,e););}}).catch(()=>{}),c.catch(()=>{i.get(e)===l&&(i.delete(e),r.retainedBytes-=l.weight,yb(t,s))}),i.set(e,l);i.size>Vb&&vb(t,r,e););return c}function Fb(e,t,n,r){return Pb(`${e}:${t}`,n,r)}function Ib(e,t,n,r,i){return i&&sb(n,e,i),Fb(`${Zb}${e}`,t,n,r)}function Lb(e,t){if(!eb(e))return;rb(e,t);let n=Hb.get(e);if(!n)return;let r=`${Zb}${t}:`;for(let[t,i]of n.entries)t.startsWith(r)&&(n.entries.delete(t),n.retainedBytes-=i.weight,yb(e,i.ownedPromise))}function Rb(e,t,n,r={},i=n){let a=xb(r),{widthPt:o=0,heightPt:s=0,suppressBoundaryFrame:c=!1,tiff:l,targetWidthPx:u,targetHeightPx:d,maxRetainedPixels:f,svgDecoder:p}=a;if(t===`image/svg+xml`&&p)return Fb(Yb,Tb(e,a),i,async()=>({bitmap:await p(await n(e,t),{targetWidthPx:u,targetHeightPx:d}),owned:!0}));let m=(r,p,m=!0)=>{let h=p?.initialBlob;return p&&(p.initialBlob=void 0),Fb(Yb,r,i,async()=>{let r=h??await n(e,t),i={widthPt:o,heightPt:s,suppressBoundaryFrame:c,tiff:l,targetWidthPx:m?u:void 0,targetHeightPx:m?d:void 0,maxRetainedPixels:f};return{bitmap:p?await Hy(r,i,p.inspection):await Vy(r,i),owned:!0}}).then(e=>wb(e,a))},h=tb(i);return lb(i,e,t,n).then(t=>{if(ib(i,h),Eb(t))return m(Ab(i,e,a)??kb(e,a),t);if(!u&&!d)return m(Tb(e),t,!1);let n=`${Xb}${Tb(e)}`;if(!Cb(a)&&Hb.get(i)?.entries.has(n))return m(Tb(e),t,!1);let r=Mb(t,a);return m(r?jb(i,e,a,t.inspection.dimensions)??Tb(e,a):Tb(e),t,r)})}function zb(e,t){return Hb.get(t)?.entries.get(`${Xb}${Tb(e)}`)?.bitmap}function Bb(e){if(!eb(e))return;Wb.set(e,tb(e)+1),Gb.delete(e),Ub.delete(e);let t=Hb.get(e);if(t){for(let n of t.entries.values())yb(e,n.ownedPromise);t.entries.clear(),t.retainedBytes=0,Hb.delete(e)}}var Vb,Hb,Ub,Wb,Gb,Kb,qb,Jb,Yb,Xb,Zb,Qb=t((()=>{Wy(),Ey(),_y(),jy(),Zv(),qy(),Ar(),$y(),gi(),Vb=256,Hb=new WeakMap,Ub=new WeakMap,Wb=new WeakMap,Gb=new WeakMap,Kb=new WeakMap,qb=new WeakMap,Jb=new WeakSet,Yb=`base`,Xb=`${Yb}:`,Zb=`derived:`}));function $b(e){let t=nx.get(e);return t||(t={imgs:new Map},nx.set(e,t)),t}function ex(e,t,n={}){if(typeof Image>`u`)return Rb(e,`image/svg+xml`,t,{targetWidthPx:n.targetWidthPx,targetHeightPx:n.targetHeightPx,maxRetainedPixels:n.maxRetainedPixels,svgDecoder:n.workerDecoder}).then(t=>{if(!t)throw Error(`svg decode failed: ${e}`);return t});let r=$b(t),i=r.imgs.get(e);if(i)return r.imgs.delete(e),r.imgs.set(e,i),i.promise;let a={};if(a.promise=Gy(t,async()=>{if(r.imgs.get(e)!==a)throw Error(`SVG decode was superseded before it started`);let n=await t(e,`image/svg+xml`),i=URL.createObjectURL(n);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=i}),t}finally{URL.revokeObjectURL(i)}}),a.promise.catch(()=>{r.imgs.get(e)===a&&r.imgs.delete(e)}),r.imgs.set(e,a),r.imgs.size>rx){let e=r.imgs.keys().next().value;r.imgs.delete(e)}return a.promise}function tx(e){let t=nx.get(e);t&&(t.imgs.clear(),nx.delete(e))}var nx,rx,ix=t((()=>{Qb(),qy(),nx=new WeakMap,rx=256}));function ax(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 ox(e,t,n){return(.299*e+.587*t+.114*n)/255}function sx(e,t,n){let r=ax(t),i=ax(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=ox(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}async function cx(e,t,n){let{width:r,height:i}=n;if(r<=0||i<=0||typeof createImageBitmap>`u`)return e;let a=(n.offscreenFactory??lx)(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}sx(s,t.clr1,t.clr2),o.putImageData(s,0,0);let c=Ay(r,i,n.targetWidthPx,n.targetHeightPx);return c?createImageBitmap(a,c):createImageBitmap(a)}var lx,ux=t((()=>{jy(),lx=(e,t)=>typeof OffscreenCanvas>`u`?null:new OffscreenCanvas(e,t)}));function dx(e,t){return t?`${e}|duo:${t.clr1}:${t.clr2}`:e}async function fx(e,t,n,r,i={}){let{offscreenFactory:a,failClosedOnDuotoneFailure:o=!1,...s}=i,c=n?{...s,maxRetainedPixels:Math.min(s.maxRetainedPixels??33554432,Math.floor(wr/4))}:s,l=n?{...c,targetWidthPx:void 0,targetHeightPx:void 0}:c,u=n?ab(r,mx):void 0,d=await Rb(e,t,r,l);if(!n||!d)return d;let f=await Nb(e,t,r,l,u,d),p=Ay(Number(d.width),Number(d.height),s.targetWidthPx,s.targetHeightPx),m=p?`|resize:${p.resizeWidth}x${p.resizeHeight}`:``;return Ib(mx,`${dx(f,n)}${m}${o?`|strict`:``}`,r,async()=>{let{w:e,h:t}=vi(d);if(e<=0||t<=0)return{bitmap:o?null:d,owned:!1};let r=await cx(d,n,{width:e,height:t,offscreenFactory:a,targetWidthPx:s.targetWidthPx,targetHeightPx:s.targetHeightPx});if(r===d){if(o)return{bitmap:null,owned:!1};if(!p)return{bitmap:d,owned:!1};if(typeof createImageBitmap>`u`)throw Error(`createImageBitmap is unavailable for duotone fallback resampling`);let e=await createImageBitmap(d,p);return{bitmap:e,owned:e!==d}}let i=r;return{bitmap:i,owned:i!==d}},u)}function px(e){Lb(e,mx)}var mx,hx=t((()=>{Qb(),ux(),Ci(),Ar(),jy(),mx=`duotone`}));function gx(e){return e.svgImagePath!=null&&e.srcRect==null}var _x=t((()=>{})),vx,yx,bx,xx,Sx,Cx,wx,Tx,Ex,Dx,Ox,kx,Ax,jx,Mx,Nx,Px,Fx,Ix,Lx,Rx,zx,Bx,Vx,Hx,Ux,Wx,Gx,Kx,qx,Jx,Yx,Xx,Zx,Qx,$x,eS,tS,nS,rS,iS,aS=t((()=>{vx={adj:[[`adj`,`val 0`]],gd:[[`adval`,`pin 0 adj 21599999`],[`v1`,`+- 10800000 0 adval`],[`v2`,`+- 32400000 0 adval`],[`nv1`,`+- 0 0 v1`],[`stAng`,`?: nv1 v2 v1`],[`w1`,`+- 5400000 0 adval`],[`w2`,`+- 16200000 0 adval`],[`d1`,`+- adval 0 stAng`],[`d2`,`+- d1 0 21600000`],[`v3`,`+- 0 0 10800000`],[`c2`,`?: w2 d1 d2`],[`c1`,`?: v1 d2 c2`],[`c0`,`?: w1 d1 c1`],[`swAng`,`?: stAng c0 v3`],[`wt1`,`sin wd2 adj`],[`ht1`,`cos hd2 adj`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`wt2`,`sin wd2 stAng`],[`ht2`,`cos hd2 stAng`],[`dx2`,`cat2 wd2 ht2 wt2`],[`dy2`,`sat2 hd2 ht2 wt2`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x2`,`y2`],[`a`,`wd2`,`hd2`,`stAng`,`swAng`]]}]},yx={adj:[[`adj1`,`val 0`],[`adj2`,`val 25000`]],gd:[[`adval`,`pin 0 adj1 21599999`],[`v1`,`+- 10800000 0 adval`],[`v2`,`+- 32400000 0 adval`],[`nv1`,`+- 0 0 v1`],[`stAng`,`?: nv1 v2 v1`],[`w1`,`+- 5400000 0 adval`],[`w2`,`+- 16200000 0 adval`],[`d1`,`+- adval 0 stAng`],[`d2`,`+- d1 0 21600000`],[`v3`,`+- 0 0 10800000`],[`c2`,`?: w2 d1 d2`],[`c1`,`?: v1 d2 c2`],[`c0`,`?: w1 d1 c1`],[`swAng`,`?: stAng c0 v3`],[`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`],[`adval2`,`pin 0 adj2 99000`],[`ratio`,`*/ adval2 1 100000`],[`iwd2`,`*/ wd2 ratio 1`],[`ihd2`,`*/ hd2 ratio 1`],[`wt2`,`sin iwd2 adval`],[`ht2`,`cos ihd2 adval`],[`dx2`,`cat2 iwd2 ht2 wt2`],[`dy2`,`sat2 ihd2 ht2 wt2`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`],[`wt3`,`sin iwd2 stAng`],[`ht3`,`cos ihd2 stAng`],[`dx3`,`cat2 iwd2 ht3 wt3`],[`dy3`,`sat2 ihd2 ht3 wt3`],[`x3`,`+- hc dx3 0`],[`y3`,`+- vc dy3 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x3`,`y3`],[`a`,`iwd2`,`ihd2`,`stAng`,`swAng`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stAng`,`swAng`]]}]},bx={adj:[[`adj`,`val cd2`]],gd:[[`adval`,`pin 0 adj 21599999`],[`v1`,`+- 10800000 0 adval`],[`v2`,`+- 32400000 0 adval`],[`end`,`?: v1 v1 v2`],[`w1`,`+- 5400000 0 adval`],[`w2`,`+- 16200000 0 adval`],[`d1`,`+- end 0 adval`],[`d2`,`+- 21600000 d1 0`],[`c2`,`?: w2 d1 d2`],[`c1`,`?: v1 d2 c2`],[`swAng`,`?: w1 d1 c1`],[`wt1`,`sin wd2 adj`],[`ht1`,`cos hd2 adj`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`adval`,`swAng`]]}]},xx={adj:[[`adj1`,`val cd2`],[`adj2`,`val 50000`]],gd:[[`adval`,`pin 0 adj1 21599999`],[`v1`,`+- 10800000 0 adval`],[`v2`,`+- 32400000 0 adval`],[`end`,`?: v1 v1 v2`],[`w1`,`+- 5400000 0 adval`],[`w2`,`+- 16200000 0 adval`],[`d1`,`+- end 0 adval`],[`d2`,`+- 21600000 d1 0`],[`c2`,`?: w2 d1 d2`],[`c1`,`?: v1 d2 c2`],[`swAng`,`?: w1 d1 c1`],[`wt1`,`sin wd2 adval`],[`ht1`,`cos hd2 adval`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`adval2`,`pin 0 adj2 99000`],[`ratio`,`*/ adval2 1 100000`],[`iwd2`,`*/ wd2 ratio 1`],[`ihd2`,`*/ hd2 ratio 1`],[`wt2`,`sin iwd2 adval`],[`ht2`,`cos ihd2 adval`],[`dx2`,`cat2 iwd2 ht2 wt2`],[`dy2`,`sat2 ihd2 ht2 wt2`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`adval`,`swAng`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x2`,`y2`],[`a`,`iwd2`,`ihd2`,`adval`,`swAng`]]}]},Sx={adj:[[`adj`,`val 10800000`]],gd:[[`adval`,`pin 0 adj 21599999`],[`bot`,`+- 5400000 0 adval`],[`lef`,`+- 10800000 0 adval`],[`top`,`+- 16200000 0 adval`],[`rig`,`+- 21600000 0 adval`],[`c3`,`?: top adval 0`],[`c2`,`?: lef 10800000 c3`],[`c1`,`?: bot rig c2`],[`stAng`,`?: adval c1 0`],[`w1`,`+- 21600000 0 stAng`],[`stAngB`,`?: stAng w1 0`],[`td1`,`*/ bot 2 1`],[`td2`,`*/ top 2 1`],[`ntd2`,`+- 0 0 td2`],[`w2`,`+- 0 0 10800000`],[`c6`,`?: top ntd2 w2`],[`c5`,`?: lef 10800000 c6`],[`c4`,`?: bot td1 c5`],[`v1`,`?: adval c4 10800000`],[`swAngT`,`+- 0 0 v1`],[`stT`,`?: lef stAngB stAng`],[`stB`,`?: lef stAng stAngB`],[`swT`,`?: lef v1 swAngT`],[`swB`,`?: lef swAngT v1`],[`wt1`,`sin wd2 stT`],[`ht1`,`cos hd2 stT`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`wt2`,`sin wd2 stB`],[`ht2`,`cos hd2 stB`],[`dx2`,`cat2 wd2 ht2 wt2`],[`dy2`,`sat2 hd2 ht2 wt2`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`],[`wt3`,`sin wd2 adj`],[`ht3`,`cos hd2 adj`],[`dx3`,`cat2 wd2 ht3 wt3`],[`dy3`,`sat2 hd2 ht3 wt3`],[`x3`,`+- hc dx3 0`],[`y3`,`+- vc dy3 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stT`,`swT`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`r`,`vc`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x2`,`y2`],[`a`,`wd2`,`hd2`,`stB`,`swB`]]}]},Cx={adj:[[`adj1`,`val cd2`],[`adj2`,`val 50000`]],gd:[[`adval`,`pin 0 adj1 21599999`],[`bot`,`+- 5400000 0 adval`],[`lef`,`+- 10800000 0 adval`],[`top`,`+- 16200000 0 adval`],[`rig`,`+- 21600000 0 adval`],[`c3`,`?: top adval 0`],[`c2`,`?: lef 10800000 c3`],[`c1`,`?: bot rig c2`],[`stAng`,`?: adval c1 0`],[`w1`,`+- 21600000 0 stAng`],[`stAngB`,`?: stAng w1 0`],[`td1`,`*/ bot 2 1`],[`td2`,`*/ top 2 1`],[`ntd2`,`+- 0 0 td2`],[`w2`,`+- 0 0 10800000`],[`c6`,`?: top ntd2 w2`],[`c5`,`?: lef 10800000 c6`],[`c4`,`?: bot td1 c5`],[`v1`,`?: adval c4 10800000`],[`swAngT`,`+- 0 0 v1`],[`stT`,`?: lef stAngB stAng`],[`stB`,`?: lef stAng stAngB`],[`swT`,`?: lef v1 swAngT`],[`swB`,`?: lef swAngT v1`],[`wt1`,`sin wd2 stT`],[`ht1`,`cos hd2 stT`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`wt6`,`sin wd2 stB`],[`ht6`,`cos hd2 stB`],[`dx6`,`cat2 wd2 ht6 wt6`],[`dy6`,`sat2 hd2 ht6 wt6`],[`x6`,`+- hc dx6 0`],[`y6`,`+- vc dy6 0`],[`adval2`,`pin 40000 adj2 99000`],[`ratio`,`*/ adval2 1 100000`],[`iwd2`,`*/ wd2 ratio 1`],[`ihd2`,`*/ hd2 ratio 1`],[`wt2`,`sin iwd2 stT`],[`ht2`,`cos ihd2 stT`],[`dx2`,`cat2 iwd2 ht2 wt2`],[`dy2`,`sat2 ihd2 ht2 wt2`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`],[`wt5`,`sin iwd2 stB`],[`ht5`,`cos ihd2 stB`],[`dx5`,`cat2 iwd2 ht5 wt5`],[`dy5`,`sat2 ihd2 ht5 wt5`],[`x5`,`+- hc dx5 0`],[`y5`,`+- vc dy5 0`],[`d1`,`+- hd2 0 ihd2`],[`d12`,`*/ d1 1 2`],[`yu`,`+- vc 0 d12`],[`yd`,`+- vc d12 0`],[`v1`,`*/ d12 d12 1`],[`v2`,`*/ ihd2 ihd2 1`],[`v3`,`*/ v1 1 v2`],[`v4`,`+- 1 0 v3`],[`v5`,`*/ iwd2 iwd2 1`],[`v6`,`*/ v4 v5 1`],[`v7`,`sqrt v6`],[`xl`,`+- hc 0 v7`],[`xr`,`+- hc v7 0`],[`wtadj`,`sin iwd2 adj1`],[`htadj`,`cos ihd2 adj1`],[`dxadj`,`cat2 iwd2 htadj wtadj`],[`dyadj`,`sat2 ihd2 htadj wtadj`],[`xadj`,`+- hc dxadj 0`],[`yadj`,`+- vc dyadj 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stT`,`swT`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x2`,`y2`],[`a`,`iwd2`,`ihd2`,`stT`,`swT`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xl`,`yu`],[`l`,`xr`,`yu`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xl`,`yd`],[`l`,`xr`,`yd`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x5`,`y5`],[`a`,`iwd2`,`ihd2`,`stB`,`swB`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x6`,`y6`],[`a`,`wd2`,`hd2`,`stB`,`swB`]]}]},wx={adj:[[`adj`,`val 14286`]],gd:[[`a`,`pin 0 adj 33333`],[`dy`,`*/ a h 100000`],[`y0`,`+- t dy 0`],[`y1`,`+- b 0 dy`],[`ncd2`,`*/ cd2 -1 1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`a`,`wd2`,`dy`,`cd2`,`ncd2`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`a`,`wd2`,`dy`,`cd2`,`ncd2`]]}]},Tx={adj:[[`adj`,`val 85714`]],gd:[[`a`,`pin 66667 adj 100000`],[`dy1`,`*/ a h 100000`],[`dy`,`+- h 0 dy1`],[`y0`,`+- t dy1 0`],[`y1`,`+- t dy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`a`,`wd2`,`dy`,`cd2`,`cd2`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`a`,`wd2`,`dy`,`cd2`,`cd2`]]}]},Ex={adj:[[`adj`,`val 44444`]],gd:[[`a`,`pin 28570 adj 100000`],[`dy`,`*/ a h 100000`],[`y1`,`+- t dy 0`],[`dy2`,`+- h 0 dy`],[`dy3`,`*/ dy2 1 4`],[`y2`,`+- t dy3 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`y2`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`r`,`b`]]}]},Dx={adj:[[`adj`,`val 44444`]],gd:[[`a`,`pin 28570 adj 100000`],[`dy`,`*/ a h 100000`],[`y1`,`+- t dy 0`],[`dy2`,`+- h 0 dy`],[`dy3`,`*/ dy2 1 4`],[`y2`,`+- t dy3 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`r`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`r`,`y1`]]}]},Ox={adj:[[`adj`,`val 25000`]],gd:[[`a`,`pin 0 adj 50000`],[`y`,`*/ a h 100000`],[`y1`,`+- t b y`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y`],[`l`,`hc`,`t`],[`l`,`r`,`y`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`hc`,`y1`],[`l`,`r`,`b`]]}]},kx={adj:[[`adj`,`val 75000`]],gd:[[`a`,`pin 50000 adj 100000`],[`y`,`*/ a h 100000`],[`y1`,`+- b 0 y`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`hc`,`y1`],[`l`,`r`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y`],[`l`,`hc`,`b`],[`l`,`r`,`y`]]}]},Ax={adj:[[`adj`,`val 10800000`]],gd:[[`adval`,`pin 0 adj 21599999`],[`d0`,`+- adval 0 10800000`],[`d1`,`+- 10800000 0 adval`],[`d2`,`+- 21600000 0 adval`],[`d3`,`?: d1 d1 10799999`],[`d4`,`?: d0 d2 d3`],[`swAng`,`*/ d4 2 1`],[`wt1`,`sin wd2 adj`],[`ht1`,`cos hd2 adj`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`adval`,`swAng`]]}]},jx={adj:[[`adj1`,`val cd2`],[`adj2`,`val 50000`]],gd:[[`adval`,`pin 0 adj1 21599999`],[`d0`,`+- adval 0 10800000`],[`d1`,`+- 10800000 0 adval`],[`d2`,`+- 21600000 0 adval`],[`d3`,`?: d1 d1 10799999`],[`d4`,`?: d0 d2 d3`],[`swAng`,`*/ d4 2 1`],[`wt1`,`sin wd2 adval`],[`ht1`,`cos hd2 adval`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`adval2`,`pin 0 adj2 99000`],[`ratio`,`*/ adval2 1 100000`],[`iwd2`,`*/ wd2 ratio 1`],[`ihd2`,`*/ hd2 ratio 1`],[`wt2`,`sin iwd2 adval`],[`ht2`,`cos ihd2 adval`],[`dx2`,`cat2 iwd2 ht2 wt2`],[`dy2`,`sat2 ihd2 ht2 wt2`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`adval`,`swAng`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x2`,`y2`],[`a`,`iwd2`,`ihd2`,`adval`,`swAng`]]}]},Mx={adj:[[`adj`,`val 45977`]],gd:[[`a`,`pin 0 adj 56338`],[`dy`,`*/ a h 100000`],[`gd1`,`*/ dy 3 4`],[`gd2`,`*/ dy 5 4`],[`gd3`,`*/ dy 3 8`],[`gd4`,`*/ dy 1 8`],[`gd5`,`+- h 0 gd3`],[`gd6`,`+- gd4 h 0`],[`y0`,`+- t dy 0`],[`y1`,`+- t gd1 0`],[`y2`,`+- t gd2 0`],[`y3`,`+- t gd3 0`],[`y4`,`+- t gd4 0`],[`y5`,`+- t gd5 0`],[`y6`,`+- t gd6 0`],[`x1`,`+- l wd3 0`],[`x2`,`+- r 0 wd3`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`C`,`x1`,`y1`,`x2`,`y2`,`r`,`y0`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y5`],[`C`,`x1`,`y6`,`x2`,`y6`,`r`,`y5`]]}]},Nx={adj:[[`adj`,`val 45977`]],gd:[[`a`,`pin 0 adj 56338`],[`dy`,`*/ a h 100000`],[`gd1`,`*/ dy 3 4`],[`gd2`,`*/ dy 5 4`],[`gd3`,`*/ dy 3 8`],[`gd4`,`*/ dy 1 8`],[`gd5`,`+- h 0 gd3`],[`gd6`,`+- gd4 h 0`],[`y0`,`+- t dy 0`],[`y1`,`+- t gd1 0`],[`y2`,`+- t gd2 0`],[`y3`,`+- t gd3 0`],[`y4`,`+- t gd4 0`],[`y5`,`+- t gd5 0`],[`y6`,`+- t gd6 0`],[`x1`,`+- l wd3 0`],[`x2`,`+- r 0 wd3`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y0`],[`C`,`x1`,`y2`,`x2`,`y1`,`r`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y5`],[`C`,`x1`,`y6`,`x2`,`y6`,`r`,`y5`]]}]},Px={adj:[[`adj`,`val 18750`]],gd:[[`a`,`pin 0 adj 37500`],[`dy`,`*/ a ss 100000`],[`gd0`,`*/ dy 4 3`],[`gd1`,`+- h 0 gd0`],[`adjY`,`+- t dy 0`],[`y0`,`+- t gd0 0`],[`y1`,`+- t gd1 0`],[`x0`,`+- l wd3 0`],[`x1`,`+- r 0 wd3`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`C`,`x0`,`y0`,`x1`,`y0`,`r`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`C`,`x0`,`y1`,`x1`,`y1`,`r`,`b`]]}]},Fx={adj:[[`adj`,`val 50000`]],gd:[[`a`,`pin 6250 adj 100000`],[`dy`,`*/ a ss 100000`],[`dy2`,`+- h 0 dy`],[`y1`,`+- t dy 0`],[`cp`,`+- y1 0 dy2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`Q`,`hc`,`cp`,`r`,`b`]]}]},Ix={adj:[[`adj`,`val 35000`]],gd:[[`a`,`pin 5000 adj 95000`],[`dy`,`*/ a h 100000`],[`del`,`*/ h 5 100`],[`dh1`,`*/ h 45 100`],[`dh2`,`*/ h 55 100`],[`yh`,`+- dy 0 del`],[`yl`,`+- dy del 0`],[`y3`,`+- yh yh dh1`],[`y4`,`+- yl yl dh2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`dh1`],[`Q`,`hc`,`y3`,`r`,`dh1`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`dh2`],[`Q`,`hc`,`y4`,`r`,`dh2`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`r`,`b`]]}]},Lx={adj:[[`adj`,`val 25000`]],gd:[[`a`,`pin 3000 adj 47000`],[`dy`,`*/ a h 100000`],[`del`,`*/ h 3 100`],[`ey1`,`*/ h 30 100`],[`ey2`,`*/ h 36 100`],[`ey3`,`*/ h 63 100`],[`ey4`,`*/ h 70 100`],[`by`,`+- b 0 dy`],[`yh1`,`+- dy 0 del`],[`yl1`,`+- dy del 0`],[`yh2`,`+- by 0 del`],[`yl2`,`+- by del 0`],[`y1`,`+- yh1 yh1 ey1`],[`y2`,`+- yl1 yl1 ey2`],[`y3`,`+- yh2 yh2 ey3`],[`y4`,`+- yl2 yl2 ey4`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`ey1`],[`Q`,`hc`,`y1`,`r`,`ey1`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`ey2`],[`Q`,`hc`,`y2`,`r`,`ey2`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`ey3`],[`Q`,`hc`,`y3`,`r`,`ey3`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`ey4`],[`Q`,`hc`,`y4`,`r`,`ey4`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`r`,`b`]]}]},Rx={adj:[[`adj`,`val 50000`]],gd:[[`a`,`pin 0 adj 93750`],[`dy`,`*/ a h 100000`],[`y1`,`+- t dy 0`],[`cp`,`+- y1 dy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`Q`,`hc`,`cp`,`r`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`r`,`b`]]}]},zx={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`],[`of`,`*/ w a2 100000`],[`of2`,`*/ w a2 50000`],[`x1`,`abs of`],[`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 of 0`]],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`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x9`,`y4`],[`C`,`x10`,`y5`,`x11`,`y6`,`x12`,`y4`],[`C`,`x13`,`y5`,`x14`,`y6`,`x15`,`y4`]]}]},Bx={adj:[[`adj`,`val 33333`]],gd:[[`a`,`pin 0 adj 49999`],[`dx`,`*/ a w 100000`],[`x1`,`+- l dx 0`],[`x2`,`+- r 0 dx`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`b`],[`l`,`x2`,`b`]]}]},Vx={adj:[[`adj`,`val 33333`]],gd:[[`a`,`pin 0 adj 49999`],[`dy`,`*/ a h 100000`],[`y1`,`+- t dy 0`],[`y2`,`+- b 0 dy`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`r`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`r`,`b`]]}]},Hx={adj:[[`adj`,`val 33333`]],gd:[[`a`,`pin 0 adj 49999`],[`dy`,`*/ a h 100000`],[`y1`,`+- t dy 0`],[`y2`,`+- b 0 dy`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`y1`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`r`,`y2`]]}]},Ux={adj:[[`adj`,`val 33333`]],gd:[[`a`,`pin 0 adj 49999`],[`dx`,`*/ a w 100000`],[`x1`,`+- l dx 0`],[`x2`,`+- r 0 dx`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`t`],[`l`,`x2`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`r`,`b`]]}]},Wx={adj:[[`adj`,`val 18750`]],gd:[[`a`,`pin 0 adj 20000`],[`dy`,`*/ a h 100000`],[`gd`,`*/ dy 1 3`],[`gd0`,`+- 0 0 gd`],[`gd1`,`+- h 0 gd0`],[`ty`,`+- t dy 0`],[`by`,`+- b 0 dy`],[`y0`,`+- t gd0 0`],[`y1`,`+- t gd1 0`],[`x0`,`+- l wd3 0`],[`x1`,`+- r 0 wd3`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`ty`],[`C`,`x0`,`y0`,`x1`,`y0`,`r`,`ty`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`by`],[`C`,`x0`,`y1`,`x1`,`y1`,`r`,`by`]]}]},Gx={adj:[[`adj`,`val 60000`]],gd:[[`a`,`pin 60000 adj 100000`],[`dy`,`*/ a h 100000`],[`ty`,`+- t dy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`ty`],[`Q`,`hc`,`b`,`r`,`ty`]]}]},Kx={adj:[[`adj`,`val 40000`]],gd:[[`a`,`pin 0 adj 50000`],[`dy`,`*/ a h 100000`],[`ty`,`+- t dy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`ty`],[`Q`,`hc`,`t`,`r`,`ty`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`r`,`b`]]}]},qx={adj:[[`adj`,`val 50000`]],gd:[[`a`,`pin 30000 adj 70000`],[`mid`,`*/ a w 100000`],[`midDir`,`+- mid 0 hc`],[`dl`,`+- mid 0 l`],[`dr`,`+- r 0 mid`],[`dl2`,`*/ dl 2 1`],[`dr2`,`*/ dr 2 1`],[`dx`,`?: midDir dr2 dl2`],[`xr`,`+- l dx 0`],[`xl`,`+- r 0 dx`],[`tlx`,`?: midDir l xl`],[`trx`,`?: midDir xr r`],[`blx`,`?: midDir xl l`],[`brx`,`?: midDir r xr`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`tlx`,`t`],[`l`,`trx`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`blx`,`b`],[`l`,`brx`,`b`]]}]},Jx={adj:[[`adj`,`val 60000`]],gd:[[`a`,`pin 50000 adj 99000`],[`dy`,`*/ a h 100000`],[`y`,`+- t dy 0`],[`r`,`*/ dy 1 2`],[`y1`,`+- t r 0`],[`y2`,`+- b 0 r`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`a`,`wd2`,`r`,`10800000`,`21599999`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`a`,`wd2`,`r`,`10800000`,`21599999`]]}]},Yx={adj:[[`adj`,`val 60000`]],gd:[[`a`,`pin 50000 adj 99000`],[`dy`,`*/ a h 100000`],[`y`,`+- t dy 0`],[`r`,`*/ dy 1 2`],[`y1`,`+- t r 0`],[`y2`,`+- b 0 r`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`a`,`wd2`,`r`,`10800000`,`-21599999`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`a`,`wd2`,`r`,`10800000`,`-21599999`]]}]},Xx={adj:[[`adj`,`val 44445`]],gd:[[`a`,`pin 28569 adj 100000`],[`dy`,`*/ a h 100000`],[`y1`,`+- t dy 0`],[`y2`,`+- b 0 dy`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`y2`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`r`,`b`]]}]},Zx={adj:[[`adj`,`val 55555`]],gd:[[`a`,`pin 0 adj 71431`],[`dy`,`*/ a h 100000`],[`y1`,`+- t dy 0`],[`y2`,`+- b 0 dy`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`r`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`r`,`y2`]]}]},Qx={adj:[[`adj`,`val 25000`]],gd:[[`a`,`pin 14286 adj 50000`],[`dx`,`*/ w 1 3`],[`dy`,`*/ a h 100000`],[`x1`,`+- l dx 0`],[`x2`,`+- r 0 dx`],[`y1`,`+- t dy 0`],[`y2`,`+- b 0 dy`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`x1`,`t`],[`l`,`x2`,`t`],[`l`,`r`,`y1`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`x1`,`b`],[`l`,`x2`,`b`],[`l`,`r`,`y2`]]}]},$x={adj:[[`adj`,`val 50000`]],gd:[[`a`,`pin 0 adj 100000`],[`y`,`*/ a h 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y`],[`l`,`hc`,`t`],[`l`,`r`,`y`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`r`,`b`]]}]},eS={adj:[[`adj`,`val 50000`]],gd:[[`a`,`pin 0 adj 100000`],[`y`,`*/ a h 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y`],[`l`,`hc`,`b`],[`l`,`r`,`y`]]}]},tS={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`],[`of`,`*/ w a2 100000`],[`of2`,`*/ w a2 50000`],[`x1`,`abs of`],[`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 of 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x2`,`y1`],[`C`,`x3`,`y2`,`x4`,`y3`,`x5`,`y1`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x6`,`y4`],[`C`,`x7`,`y5`,`x8`,`y6`,`x10`,`y4`]]}]},nS={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`],[`of`,`*/ w a2 100000`],[`of2`,`*/ w a2 50000`],[`x1`,`abs of`],[`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 of 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x2`,`y1`],[`C`,`x3`,`y3`,`x4`,`y2`,`x5`,`y1`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x6`,`y4`],[`C`,`x7`,`y6`,`x8`,`y5`,`x10`,`y4`]]}]},rS={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`],[`of`,`*/ w a2 100000`],[`of2`,`*/ w a2 50000`],[`x1`,`abs of`],[`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 of 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x2`,`y1`],[`C`,`x3`,`y3`,`x4`,`y2`,`x5`,`y1`],[`C`,`x6`,`y3`,`x7`,`y2`,`x8`,`y1`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x9`,`y4`],[`C`,`x10`,`y6`,`x11`,`y5`,`x12`,`y4`],[`C`,`x13`,`y6`,`x14`,`y5`,`x15`,`y4`]]}]},iS={textarchdown:vx,textarchdownpour:yx,textarchup:bx,textarchuppour:xx,textbutton:Sx,textbuttonpour:Cx,textcandown:wx,textcanup:Tx,textcascadedown:Ex,textcascadeup:Dx,textchevron:Ox,textchevroninverted:kx,textcircle:Ax,textcirclepour:jx,textcurvedown:Mx,textcurveup:Nx,textdeflate:Px,textdeflatebottom:Fx,textdeflateinflate:Ix,textdeflateinflatedeflate:Lx,textdeflatetop:Rx,textdoublewave1:zx,textfadedown:Bx,textfadeleft:Vx,textfaderight:Hx,textfadeup:Ux,textinflate:Wx,textinflatebottom:Gx,textinflatetop:Kx,textplain:qx,textringinside:Jx,textringoutside:Yx,textslantdown:Xx,textslantup:Zx,textstop:Qx,texttriangle:$x,texttriangleinverted:eS,textwave1:tS,textwave2:nS,textwave4:rS}}));function oS(e){return e.toLowerCase()in gS}function sS(e){let t=_S.get(e);if(t)return t;let n=gS[e];return n?(t={adj:n.adj.map(([e,t])=>[e,p_(t)]),gd:n.gd.map(([e,t])=>[e,p_(t)]),paths:n.paths},_S.set(e,t),t):null}function cS(e,t,n,r){let i=e.w==null?1:n/e.w,a=e.h==null?1:r/e.h,o=e=>e*i,s=e=>e*a,c=[],l=0,u=0;for(let n of e.cmds)switch(n[0]){case`m`:l=o(t.resolve(n[1])),u=s(t.resolve(n[2])),c.push({x:l,y:u});break;case`l`:l=o(t.resolve(n[1])),u=s(t.resolve(n[2])),c.push({x:l,y:u});break;case`C`:{let e=o(t.resolve(n[1])),r=s(t.resolve(n[2])),i=o(t.resolve(n[3])),a=s(t.resolve(n[4])),d=o(t.resolve(n[5])),f=s(t.resolve(n[6]));for(let t=1;t<=vS;t++){let n=t/vS,o=1-n,s=o*o*o*l+3*o*o*n*e+3*o*n*n*i+n*n*n*d,p=o*o*o*u+3*o*o*n*r+3*o*n*n*a+n*n*n*f;c.push({x:s,y:p})}l=d,u=f;break}case`Q`:{let e=o(t.resolve(n[1])),r=s(t.resolve(n[2])),i=o(t.resolve(n[3])),a=s(t.resolve(n[4]));for(let t=1;t<=vS;t++){let n=t/vS,o=1-n,s=o*o*l+2*o*n*e+n*n*i,d=o*o*u+2*o*n*r+n*n*a;c.push({x:s,y:d})}l=i,u=a;break}case`a`:{let e=t.resolve(n[1]),r=t.resolve(n[2]),o=e*i,s=r*a,d=t.resolve(n[3])*hS,f=t.resolve(n[4])*hS,p=t=>Math.atan2(e*Math.sin(t),r*Math.cos(t)),m=Math.PI*2,h=p(d),g=Math.trunc(f/m),_=f-g*m,v=p(d+_)-h;_>0&&v<0?v+=m:_<0&&v>0&&(v-=m);let y=v+g*m,b=l-o*Math.cos(h),x=u-s*Math.sin(h),S=Math.max(vS,Math.ceil(Math.abs(y)/m*96));for(let e=1;e<=S;e++){let t=h+y*e/S;c.push({x:b+o*Math.cos(t),y:x+s*Math.sin(t)})}l=b+o*Math.cos(h+y),u=x+s*Math.sin(h+y);break}case`c`:break}return c}function lS(e){let t=[0];for(let n=1;n<e.length;n++){let r=e[n].x-e[n-1].x,i=e[n].y-e[n-1].y;t.push(t[n-1]+Math.hypot(r,i))}return t}function uS(e,t,n,r){let i=sS(e.toLowerCase());if(!i||i.paths.length===0)return null;let a=m_({w:n,h:r,adj:t},i.adj,i.gd),o=i.paths.length===1,s=cS(i.paths[0],a,n,r),c=o?s:cS(i.paths[i.paths.length-1],a,n,r);return{top:s,bottom:c,topLen:lS(s),bottomLen:lS(c),singleEdge:o}}function dS(e,t,n){let r=t[t.length-1];if(e.length===1||r===0)return{x:e[0].x,y:e[0].y,tx:1,ty:0};let i=Math.max(0,Math.min(1,n))*r,a=0,o=t.length-1;for(;a<o-1;){let e=a+o>>1;t[e]<=i?a=e:o=e}let s=t[o]-t[a]||1,c=(i-t[a])/s,l=e[a],u=e[o],d=u.x-l.x,f=u.y-l.y,p=Math.hypot(d,f)||1;return{x:l.x+d*c,y:l.y+f*c,tx:d/p,ty:f/p}}function fS(e){return e.topLen[e.topLen.length-1]??0}function pS(e,t){if(!e.singleEdge)return 1;let n=fS(e);return n<=0?1:Math.max(0,Math.min(1,t/n))}function mS(e,t,n,r){if(e.singleEdge){let i=dS(e.top,e.topLen,t),a=Math.atan2(i.ty,i.tx),o=i.ty,s=-i.tx,c=n*(1-r);return{x:i.x-o*c,y:i.y-s*c,angle:a,vScale:1,shear:0}}let i=dS(e.top,e.topLen,t),a=dS(e.bottom,e.bottomLen,t),o=a.x-i.x,s=a.y-i.y,c=i.x+o*r,l=i.y+s*r,u=i.tx+a.tx,d=i.ty+a.ty,f=Math.atan2(d,u),p=Math.cos(f),m=Math.sin(f),h=(p*o+m*s)/(n>0?n:1),g=(-m*o+p*s)/(n>0?n:1);return{x:c,y:l,angle:f,vScale:g===0?n>0?Math.hypot(o,s)/n:1:g,shear:g===0?0:h/g}}var hS,gS,_S,vS,yS=t((()=>{aS(),__(),hS=Math.PI*2/216e5,gS=iS,_S=new Map,vS=48}));function bS(e,t){let n=Array(9).fill(0);for(let r=0;r<3;r++)for(let i=0;i<3;i++){let a=0;for(let n=0;n<3;n++)a+=e[r*3+n]*t[n*3+i];n[r*3+i]=a}return n}function xS(e){let t=e*Math.PI/180,n=Math.cos(t),r=Math.sin(t);return[1,0,0,0,n,-r,0,r,n]}function SS(e){let t=e*Math.PI/180,n=Math.cos(t),r=Math.sin(t);return[n,0,r,0,1,0,-r,0,n]}function CS(e){let t=e*Math.PI/180,n=Math.cos(t),r=Math.sin(t);return[n,-r,0,r,n,0,0,0,1]}function wS(e,t,n,r){return[e[0]*t+e[1]*n+e[2]*r,e[3]*t+e[4]*n+e[5]*r,e[6]*t+e[7]*n+e[8]*r]}function TS(e,t){let n=t?t.lat:e.baseLat,r=t?t.lon:e.baseLon;return bS(CS(-(t?t.rev:e.baseRev)),bS(xS(-n),SS(-r)))}function ES(e){return jS[e]||(e.startsWith(`perspective`)?jS.perspectiveFront:jS.orthographicFront)}function DS(e,t,n){let r=ES(e.prst),i=TS(r,e.rot);if(t<=0||n<=0)return{corners:[{x:0,y:0},{x:t,y:0},{x:t,y:n},{x:0,y:n}],isAffine:!0,isIdentity:!0};let a=t/2,o=n/2,s=[[-a,-o],[a,-o],[a,o],[-a,o]],c=e.zoom??1,l=Math.max(a,o),u;if(r.kind===`perspective`){let t=e.fov??r.fovDeg,n=Math.max(1,Math.min(179,t))*Math.PI/180,a=l/Math.tan(n/2);u=s.map(([e,t])=>{let[n,r,o]=wS(i,e,t,0),s=a-o,c=a/(Math.abs(s)<1e-6?1e-6*Math.sign(s||1):s);return[n*c,r*c]})}else u=s.map(([e,t])=>{let[n,r]=wS(i,e,t,0);return[n,r]});u=u.map(([e,t])=>[e*c,t*c]);let d=u.map(([e,r])=>({x:t/2+e,y:n/2+r})),f=.001*Math.max(t,n),p=d[0].x+d[2].x-(d[1].x+d[3].x),m=d[0].y+d[2].y-(d[1].y+d[3].y),h=Math.abs(p)<f&&Math.abs(m)<f,g=[[0,0],[t,0],[t,n],[0,n]],_=!0;for(let e=0;e<4;e++)if(Math.abs(d[e].x-g[e][0])>f||Math.abs(d[e].y-g[e][1])>f){_=!1;break}return{corners:d,isAffine:h,isIdentity:_}}function OS(e){let{isIdentity:t}=DS(e,1e3,1e3);return!t}function kS(e,t,n,r){let i=ES(e.prst),a=TS(i,e.rot);if(t<=0||n<=0||r===0)return{x:0,y:0};let o=t/2,s=n/2,c=Math.max(o,s),l=e.zoom??1,u=t=>{let[n,r,o]=wS(a,0,0,t);if(i.kind===`perspective`){let t=e.fov??i.fovDeg,a=Math.max(1,Math.min(179,t))*Math.PI/180,s=c/Math.tan(a/2),u=s-o,d=s/(Math.abs(u)<1e-6?1e-6*Math.sign(u||1):u);return[n*d*l,r*d*l]}return[n*l,r*l]},[d,f]=u(0),[p,m]=u(-r);return{x:p-d,y:m-f}}var AS,jS,MS=t((()=>{AS=26,jS={orthographicFront:{kind:`orthographic`,baseLat:0,baseLon:0,baseRev:0,fovDeg:0},perspectiveFront:{kind:`perspective`,baseLat:0,baseLon:0,baseRev:0,fovDeg:AS},perspectiveRelaxed:{kind:`perspective`,baseLat:0,baseLon:0,baseRev:0,fovDeg:AS},perspectiveRelaxedModerately:{kind:`perspective`,baseLat:0,baseLon:0,baseRev:0,fovDeg:AS},perspectiveAbove:{kind:`perspective`,baseLat:-20,baseLon:0,baseRev:0,fovDeg:AS},perspectiveBelow:{kind:`perspective`,baseLat:20,baseLon:0,baseRev:0,fovDeg:AS},perspectiveLeft:{kind:`perspective`,baseLat:0,baseLon:-20,baseRev:0,fovDeg:AS},perspectiveRight:{kind:`perspective`,baseLat:0,baseLon:20,baseRev:0,fovDeg:AS}}}));function NS(e,t){if(t<=0)return()=>1;let n=e=>Math.max(0,Math.min(1,e/t));switch(e){case`hardEdge`:{let e=QS;return t=>{let r=Math.min(1,n(t)/e);return r*r*(3-2*r)}}case`angle`:case`slope`:return e=>n(e);case`circle`:case`convex`:case`softRound`:return e=>{let t=1-n(e);return Math.sqrt(Math.max(0,1-t*t))};default:return e=>{let t=n(e);return t*t*(3-2*t)}}}function PS(e){let t=e.length,n=new Float64Array(t);if(t===0)return n;let r=new Int32Array(t),i=new Float64Array(t+1),a=0;r[0]=0,i[0]=-1/0,i[1]=1/0;for(let n=1;n<t;n++){let t=(e[n]+n*n-(e[r[a]]+r[a]*r[a]))/(2*n-2*r[a]);for(;t<=i[a];)a--,t=(e[n]+n*n-(e[r[a]]+r[a]*r[a]))/(2*n-2*r[a]);a++,r[a]=n,i[a]=t,i[a+1]=1/0}a=0;for(let o=0;o<t;o++){for(;i[a+1]<o;)a++;let t=o-r[a];n[o]=t*t+e[r[a]]}return n}function FS(e,t=3){if(e<=0)return Array(t).fill(1);let n=Math.sqrt(12*e*e/t+1),r=Math.floor(n);r%2==0&&r--;let i=r+2,a=(12*e*e-t*r*r-4*t*r-3*t)/(-4*r-4),o=Math.round(a),s=[];for(let e=0;e<t;e++)s.push(e<o?r:i);return s}function IS(e,t,n,r,i,a){let o=1/(2*i+1);if(a)for(let a=0;a<r;a++){let r=a*n,s=0;for(let t=0;t<=i;t++)t<n&&(s+=e[r+t]);for(let a=0;a<n;a++){t[r+a]=s*o;let c=a+i+1,l=a-i;c<n&&(s+=e[r+c]),l>=0&&(s-=e[r+l])}}else for(let a=0;a<n;a++){let s=0;for(let t=0;t<=i;t++)t<r&&(s+=e[t*n+a]);for(let c=0;c<r;c++){t[c*n+a]=s*o;let l=c+i+1,u=c-i;l<r&&(s+=e[l*n+a]),u>=0&&(s-=e[u*n+a])}}}function LS(e,t,n,r){let i=Float64Array.from(e);if(r<=0||t<=0||n<=0)return i;let a=new Float64Array(t*n);for(let e of FS(r,3)){let r=Math.max(1,(e-1)/2);IS(i,a,t,n,r,!0),IS(a,i,t,n,r,!1)}return i}function RS(e,t,n,r=128){let i=new Float64Array(t*n);for(let a=0;a<t*n;a++)i[a]=(e[a]??0)>=r?0x56bc75e2d63100000:0;let a=new Float64Array(n);for(let e=0;e<t;e++){for(let r=0;r<n;r++)a[r]=i[r*t+e];let r=PS(a);for(let a=0;a<n;a++)i[a*t+e]=r[a]}let o=new Float64Array(t);for(let e=0;e<n;e++){for(let n=0;n<t;n++)o[n]=i[e*t+n];let n=PS(o);for(let r=0;r<t;r++)i[e*t+r]=n[r]}for(let e=0;e<n;e++)for(let r=0;r<t;r++){let a=e*t+r;if(i[a]===0)continue;let o=(e+1)*(e+1),s=(n-e)*(n-e),c=(r+1)*(r+1),l=(t-r)*(t-r),u=Math.min(o,s,c,l);u<i[a]&&(i[a]=u)}for(let e=0;e<t*n;e++)i[e]=Math.sqrt(i[e]);return i}function zS(e,t,n,r,i,a){let o=new Float32Array(t*n*3),s=new Uint8Array(t*n),c=new Float32Array(t*n);if(t<=0||n<=0)return{normals:o,bandMask:s,bandWeight:c};let l=RS(e,t,n),u=NS(i,r),d=(n,r)=>(e[r*t+n]??0)>=128,f=(r>0?a/r:0)*r,p=LS(l,t,n,Math.max(1,r*XS)),m=e=>{let t=u(Math.max(0,e-.5));return u(e+.5)-t};for(let e=0;e<n;e++)for(let i=0;i<t;i++){let a=e*t+i;if(!d(i,e)){o[a*3+2]=1;continue}let u=l[a],h=u>0&&u<r;if(s[a]=+!!h,!h){o[a*3+2]=1;continue}let g=u/r,_=1-ZS,v=1;if(g>_){let e=Math.min(1,(g-_)/ZS);v=1-e*e*(3-2*e)}c[a]=v;let y=i>0?i-1:i,b=i<t-1?i+1:i,x=e>0?e-1:e,S=e<n-1?e+1:e,C=(p[e*t+b]-p[e*t+y])/(b-y||1),w=(p[S*t+i]-p[x*t+i])/(S-x||1),T=Math.hypot(C,w),E=0,D=0;T>1e-9&&(E=-C/T,D=-w/T);let O=m(u)*f,k=O*E,A=O*D,j=1,M=Math.hypot(k,A,j)||1;k/=M,A/=M,j/=M,o[a*3]=k,o[a*3+1]=A,o[a*3+2]=j}return{normals:o,bandMask:s,bandWeight:c}}function BS(e,t,n){let r=n*Math.PI/180,i=Math.cos(r),a=Math.sin(r);return{x:e*i-t*a,y:e*a+t*i}}function VS(e,t,n){let r=tC[t]??tC.t;return n&&n.rev&&(r=BS(r.x,r.y,n.rev)),US(r.x,r.y,$S)}function HS(e){let t=Math.hypot(e.x,e.y)||1;return US(-e.x/t,-e.y/t,eC)}function US(e,t,n){let r=Math.hypot(e,t)||1,i=Math.cos(n),a=Math.sin(n),o=e/r*i,s=t/r*i,c=a,l=Math.hypot(o,s,c)||1;return{x:o/l,y:s/l,z:c/l}}function WS(e){switch(e){case`plastic`:case`metal`:case`clear`:case`softEdge`:case`shiny`:case`softmetal`:return`plastic`;default:return`matte`}}function GS(e,t,n=!0){let r=rC[e],i={light:t,material:e,ambient:r.ambient,diffuse:r.diffuse,specular:r.specular,shininess:r.shininess};return n&&(i.fillLight=HS(t),i.fillDiffuse=i.diffuse*iC),i}function KS(e,t){let n=e.x*t.light.x+e.y*t.light.y+e.z*t.light.z,r=t.diffuse*Math.max(0,n),i=0;if(t.fillLight&&t.fillDiffuse){let n=e.x*t.fillLight.x+e.y*t.fillLight.y+e.z*t.fillLight.z;i=t.fillDiffuse*Math.max(0,n)}let a=0;if(t.specular>0){let n=t.light.x,r=t.light.y,i=t.light.z+1,o=Math.hypot(n,r,i)||1,s=(e.x*n+e.y*r+e.z*i)/o;a=t.specular*Math.max(0,s)**+t.shininess}return Math.max(0,t.ambient+r+i+a)}function qS(e,t,n){if(!e)return{x:0,y:0,w:t,h:n};let r=Math.max(0,Math.floor(e.x)),i=Math.max(0,Math.floor(e.y)),a=Math.min(t,Math.ceil(e.x+e.w)),o=Math.min(n,Math.ceil(e.y+e.h));return{x:r,y:i,w:Math.max(0,a-r),h:Math.max(0,o-i)}}function JS(e,t,n){let r=e.canvas.width,i=e.canvas.height;if(r<=0||i<=0)return;let a=t.widthPx;if(a<.75)return;let{x:o,y:s,w:c,h:l}=qS(n,r,i);if(c<=0||l<=0)return;let u=e.getImageData(o,s,c,l),d=u.data,f=new Uint8ClampedArray(c*l);for(let e=0;e<c*l;e++)f[e]=d[e*4+3];let{bandMask:p,bandWeight:m,normals:h}=zS(f,c,l,a,t.prst,t.heightPx),g=GS(t.material,t.light),_=KS({x:0,y:0,z:1},g)||1;for(let e=0;e<c*l;e++){if(p[e]===0)continue;let n=m[e];if(n<=0)continue;let r=h[e*3],i=h[e*3+1],a=h[e*3+2];t.bottom&&(r=-r,i=-i);let o=1+(KS({x:r,y:i,z:a},g)/_-1)*n,s=e*4;if(o>=1){let e=Math.min(1,(o-1)*nC);for(let t=0;t<3;t++){let n=Math.min(255,d[s+t]*o);d[s+t]=n+(255-n)*e}}else d[s]=Math.max(0,d[s]*o),d[s+1]=Math.max(0,d[s+1]*o),d[s+2]=Math.max(0,d[s+2]*o)}e.putImageData(u,o,s)}function YS(e,t,n){let r=e.canvas.width,i=e.canvas.height;if(r<=0||i<=0)return;let a=t.offsetX,o=t.offsetY,s=Math.hypot(a,o);if(s<.75)return;let{x:c,y:l,w:u,h:d}=qS(n,r,i);if(u<=0||d<=0)return;let f=e.getImageData(c,l,u,d),p=f.data,m=new Uint8ClampedArray(u*d);for(let e=0;e<u*d;e++)m[e]=p[e*4+3];let h=Math.max(1,Math.ceil(s)),[g,_,v]=t.rgb;for(let e=0;e<d;e++)for(let t=0;t<u;t++){let n=e*u+t;if(m[n]>=128)continue;let r=!1;for(let n=1;n<=h;n++){let i=n/h,s=Math.round(t-a*i),c=Math.round(e-o*i);if(!(s<0||c<0||s>=u||c>=d)&&m[c*u+s]>=128){r=!0;break}}if(!r)continue;let i=n*4;p[i]=g,p[i+1]=_,p[i+2]=v,p[i+3]=255}e.putImageData(f,c,l)}var XS,ZS,QS,$S,eC,tC,nC,rC,iC,aC=t((()=>{XS=.25,ZS=.35,QS=.5,$S=35*Math.PI/180,eC=12*Math.PI/180,tC={t:{x:0,y:-1},b:{x:0,y:1},l:{x:-1,y:0},r:{x:1,y:0},tl:{x:-1,y:-1},tr:{x:1,y:-1},bl:{x:-1,y:1},br:{x:1,y:1}},nC=2,rC={matte:{ambient:.62,diffuse:.45,specular:0,shininess:8},plastic:{ambient:.55,diffuse:.5,specular:.35,shininess:22}},iC=.8}));function oC(e){if(e.protocol!==sC)throw TypeError(`Unsupported worker renderer protocol: ${String(e.protocol)}`);if(e.builtin!==`math`&&e.builtin!==`threeD`&&e.builtin!==`regionMap`&&e.builtin!==`chartEx`&&e.builtin!==`tiff`)throw TypeError(`Unsupported built-in worker renderer: ${String(e.builtin)}`);if(e.builtin===`math`&&typeof e.engineAssetUrl!=`string`)throw TypeError(`Math worker renderer requires an engine asset URL`);return e}var sC,cC=t((()=>{sC=`ooxml-worker-renderer-module/v1`}));function lC(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}}function uC(e,t,n){let r=lC(t,n),i=r?` mathvariant="${r}"`:``,a=``,o=``,s=()=>{o&&=(a+=`<mn${i}>${CC(o)}</mn>`,``)};for(let t of e){if(t===` `){s();continue}if(t>=`0`&&t<=`9`){o+=t;continue}s(),TC.includes(t)||EC.includes(t)||kC.includes(t)?a+=`<mo>${CC(t)}</mo>`:DC.includes(t)||OC.includes(t)?a+=`<mo fence="true" stretchy="false">${CC(t)}</mo>`:a+=`<mi${i}>${CC(t)}</mi>`}return s(),a}function dC(e){return e.map(pC).join(``)}function fC(e){return`<mrow>${dC(e)}</mrow>`}function pC(e){switch(e.kind){case`run`:return uC(e.text,e.style,e.__script);case`group`:return fC(e.items);case`fraction`:return`<mfrac${e.bar===!1?` linethickness="0"`:``}>${fC(e.num)}${fC(e.den)}</mfrac>`;case`sup`:return`<msup>${fC(e.base)}${fC(e.sup??[])}</msup>`;case`sub`:return`<msub>${fC(e.base)}${fC(e.sub??[])}</msub>`;case`subSup`:return`<msubsup>${fC(e.base)}${fC(e.sub??[])}${fC(e.sup??[])}</msubsup>`;case`nary`:return yC(e);case`delimiter`:return bC(e);case`radical`:return e.index&&e.index.length?`<mroot>${fC(e.radicand)}${fC(e.index)}</mroot>`:`<msqrt>${dC(e.radicand)}</msqrt>`;case`limit`:return _C(e);case`array`:return vC(e);case`groupChr`:{let t=fC(e.base),n=wC.has(e.char),r=e.pos===`top`?`mover`:`munder`,i=`<mo stretchy="${n}">${CC(e.char)}</mo>`;return n?`<${r}>${t}${i}</${r}>`:`<${r} accent="true">${t}${i}</${r}>`}case`bar`:{let t=fC(e.base),n=`<mo stretchy="true">―</mo>`;return e.pos===`bot`?`<munder>${t}${n}</munder>`:`<mover>${t}${n}</mover>`}case`accent`:return gC(e);case`func`:return`<mrow>${fC(e.name)}<mo>⁡</mo>${fC(e.arg)}</mrow>`;case`phant`:return mC(e);case`sPre`:return`<mmultiscripts>${fC(e.base)}<mprescripts/>${fC(e.sub)}${fC(e.sup)}</mmultiscripts>`;case`box`:return fC(e.base);case`borderBox`:return hC(e)}}function mC(e){let t=e.show?dC(e.base):`<mphantom>${dC(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 hC(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=dC(e.base);return t.length?`<menclose notation="${t.join(` `)}">${o}</menclose>`:`<mrow>${o}</mrow>`}function gC(e){let t=fC(e.base);if(jC.has(e.char))return`<mover>${t}<mo stretchy="true">―</mo></mover>`;let n=AC[e.char]??e.char;return`<mover accent="true">${t}<mo stretchy="${n===`→`||n===`←`?`true`:`false`}">${CC(n)}</mo></mover>`}function _C(e){let t=fC(e.base),n=e.lower&&e.lower.length?fC(e.lower):null,r=e.upper&&e.upper.length?fC(e.upper):null;return n&&r?`<munderover>${t}${n}${r}</munderover>`:n?`<munder>${t}${n}</munder>`:r?`<mover>${t}${r}</mover>`:t}function vC(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>${dC(e)}</mtd>`).join(``)}</mtr>`).join(``);return`<mtable columnalign="${n}" rowspacing="0.2em" columnspacing="0.3em">${r}</mtable>`}function yC(e){let t=e.limLoc===`subSup`?!0:e.limLoc===`undOvr`?!1:MC.has(e.op),n=`<mo largeop="true">${CC(e.op)}</mo>`,r=e.sub??[],i=e.sup??[],a;return a=t?r.length&&i.length?`<msubsup>${n}${fC(r)}${fC(i)}</msubsup>`:r.length?`<msub>${n}${fC(r)}</msub>`:i.length?`<msup>${n}${fC(i)}</msup>`:n:r.length&&i.length?`<munderover>${n}${fC(r)}${fC(i)}</munderover>`:r.length?`<munder>${n}${fC(r)}</munder>`:i.length?`<mover>${n}${fC(i)}</mover>`:n,`<mrow>${a}${dC(e.body)}</mrow>`}function bC(e){let t=e=>`<mo fence="true" stretchy="true">${CC(e)}</mo>`,n=e.items.map(e=>fC(e)).join(`<mo separator="true">,</mo>`);return`<mrow>${t(e.begChar)}${n}${t(e.endChar)}</mrow>`}function xC(e,t){return`<math xmlns="http://www.w3.org/1998/Math/MathML" display="${t?`block`:`inline`}">${dC(e)}</math>`}var SC,CC,wC,TC,EC,DC,OC,kC,AC,jC,MC,NC=t((()=>{SC={"&":`&`,"<":`<`,">":`>`,'"':`"`},CC=e=>e.replace(/[&<>"]/g,e=>SC[e]),wC=new Set([...`⏞⏟⎴⎵︷︸⏜⏝{}[]()¯_‾`]),TC=`+−±∓×÷·∗⋅∘∙*/`,EC=`=≠<>≤≥≈≡∼≅≃→←↔⇒∈∉⊂⊆⊃⊇∝≪≫⊥≔`,DC=`([{⟨⌈⌊`,OC=`)]}⟩⌉⌋`,kC=`,;`,AC={"̀":"`","́":`´`,"̂":`^`,"̃":`~`,"̆":`˘`,"̇":`˙`,"̈":`¨`,"̌":`ˇ`,"⃗":`→`,"⃖":`←`},jC=new Set([`̅`,`̄`,`¯`,`‾`,`̲`,`̳`]),MC=new Set([...`∫∬∭∮∯∰∱∲∳⨌⨍⨎⨏⨐⨑⨒⨓⨔⨕⨖⨗`])}));function PC(e){let t=/viewBox="([-\d.]+) ([-\d.]+) ([-\d.]+) ([-\d.]+)"/.exec(e);if(!t)return{widthEm:0,ascentEm:0,descentEm:0};let n=parseFloat(t[2]),r=parseFloat(t[3]),i=parseFloat(t[4]);return{widthEm:r/IC,ascentEm:Math.max(0,-n/IC),descentEm:Math.max(0,(n+i)/IC)}}function FC(e,t){return e.replace(/currentColor/g,t)}var IC,LC=t((()=>{IC=1e3}));function RC(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 zC(e,t){return RegExp(`(?:^|\\s)${t}="([^"]*)"`).exec(e)?.[1]}function BC(e,t,n=0){let r=Number.parseFloat(zC(e,t)??``);return Number.isFinite(r)?r:n}function VC(e){let t=new Map;for(let n of[`fill`,`stroke`,`stroke-width`,`stroke-linecap`,`stroke-linejoin`,`fill-rule`,`opacity`]){let r=zC(e,n);r!==void 0&&t.set(n,r)}let n=zC(e,`style`);if(n)for(let e of n.split(`;`)){let n=e.indexOf(`:`);if(n<0)continue;let r=e.slice(0,n).trim(),i=e.slice(n+1).trim();r&&i&&t.set(r,i)}return t}function HC(e,t,n){let r=VC(t),i={...n},a=r.get(`fill`);a===`none`?i.fill=!1:a&&(i.fill=!0,e.fillStyle=a);let o=r.get(`stroke`);o===`none`?i.stroke=!1:o&&(i.stroke=!0,e.strokeStyle=o);let s=Number.parseFloat(r.get(`stroke-width`)??``);Number.isFinite(s)&&(e.lineWidth=s);let c=r.get(`stroke-linecap`);(c===`butt`||c===`round`||c===`square`)&&(e.lineCap=c);let l=r.get(`stroke-linejoin`);(l===`bevel`||l===`round`||l===`miter`)&&(e.lineJoin=l);let u=r.get(`fill-rule`);(u===`evenodd`||u===`nonzero`)&&(i.fillRule=u);let d=Number.parseFloat(r.get(`opacity`)??``);return Number.isFinite(d)&&(e.globalAlpha*=Math.max(0,Math.min(1,d))),i}function UC(e,t){if(!t)return;let n=/([a-zA-Z]+)\(([^)]*)\)/g;for(let r=n.exec(t);r;r=n.exec(t)){let t=r[2].trim().split(/[\s,]+/).filter(Boolean).map(Number);if(!t.some(e=>!Number.isFinite(e)))switch(r[1]){case`matrix`:t.length>=6&&e.transform(...t.slice(0,6));break;case`translate`:e.translate(t[0]??0,t[1]??0);break;case`scale`:{let n=t[0]??1;e.scale(n,t[1]??n);break}case`rotate`:{let n=(t[0]??0)*Math.PI/180;t.length>=3?(e.translate(t[1],t[2]),e.rotate(n),e.translate(-t[1],-t[2])):e.rotate(n);break}}}}function WC(e,t,n){n.fill&&e.fill(t,n.fillRule),n.stroke&&e.lineWidth>0&&e.stroke(t)}function GC(e,t,n,r){let i=zC(t.slice(0,t.indexOf(`>`)+1),`viewBox`)?.trim().split(/[\s,]+/).map(Number);if(!i||i.length!==4||i.some(e=>!Number.isFinite(e)))throw TypeError(`MathJax SVG must contain a finite viewBox`);let[a,o,s,c]=i;if(!(s>0)||!(c>0))throw TypeError(`MathJax SVG viewBox must have positive dimensions`);e.save(),e.setTransform(n/s,0,0,r/c,-a*n/s,-o*r/c),e.fillStyle=`#000000`,e.strokeStyle=`#000000`,e.lineWidth=1;let l={fill:!0,stroke:!1,fillRule:`nonzero`},u=[],d=/<\/?([A-Za-z][\w:-]*)([^>]*)>/g;for(let n=d.exec(t);n;n=d.exec(t)){let[t,r,i=``]=n,a=r.toLowerCase(),o=t.startsWith(`</`);if(a===`svg`)continue;if(o){a===`g`&&(e.restore(),l=u.pop()??l);continue}if(a===`g`){u.push(l),e.save(),l=HC(e,i,l),UC(e,zC(i,`transform`));continue}if(a!==`path`&&a!==`rect`&&a!==`line`)continue;e.save();let s=HC(e,i,l);UC(e,zC(i,`transform`));let c=a===`path`?new Path2D(zC(i,`d`)??``):new Path2D;a===`rect`?c.rect(BC(i,`x`),BC(i,`y`),BC(i,`width`),BC(i,`height`)):a===`line`&&(c.moveTo(BC(i,`x1`),BC(i,`y1`)),c.lineTo(BC(i,`x2`),BC(i,`y2`))),WC(e,c,s),e.restore()}e.restore()}async function KC(e,t){let{width:n,height:r}=ta(e.widthEm*256,(e.ascentEm+e.descentEm)*256),i=gr(n,r),a=i?.getContext(`2d`);if(!i||!a||typeof Path2D>`u`)throw Error(`Math SVG rasterization requires Canvas 2D and Path2D support`);GC(a,RC(FC(e.svg,t),e.widthEm,e.ascentEm+e.descentEm),n,r);let o=i,s=n,c=r,l=JC/256,u=Math.max(1,Math.round(n*l)),d=Math.max(1,Math.round(r*l));for(;s>u||c>d;){let e=Math.max(u,Math.ceil(s/2)),t=Math.max(d,Math.ceil(c/2)),n=gr(e,t),r=n?.getContext(`2d`);if(!n||!r)break;r.imageSmoothingEnabled=!0,r.imageSmoothingQuality=`high`,r.drawImage(o,0,0,e,t),o=n,s=e,c=t}return{source:o,widthPx:s,heightPx:c}}function qC(e,t){let n=gr(e.widthPx,e.heightPx);if(!n)return e.source;let r=n.getContext(`2d`);return r?(r.drawImage(e.source,0,0,e.widthPx,e.heightPx),r.globalCompositeOperation=`source-in`,r.fillStyle=t,r.fillRect(0,0,e.widthPx,e.heightPx),n):e.source}var JC,YC=t((()=>{LC(),vr(),ia(),JC=64})),XC=t((()=>{NC(),LC(),YC()}));function ZC(e){return typeof HTMLCanvasElement<`u`&&e instanceof HTMLCanvasElement}function QC(e=1){return typeof window<`u`&&window.devicePixelRatio||e}var $C=t((()=>{}));function ew(e,t,n){let r=Math.round(t*n)%2==1?.5:0,i=e*n;return(Math.round(i-r)+r)/n-e}var tw=t((()=>{}));function nw(e,t){let n=Math.max(1,Math.round(e*t/3)),r=Math.max(1,Math.round(e*t/3));return{railDev:n,gapDev:r,spanDev:2*n+r}}function rw(e,t,n,r,i,a,o){let{railDev:s,gapDev:c,spanDev:l}=nw(a,o);if(n===i){let i=Math.round(n*o-l/2);e.fillRect(t,i/o,r-t,s/o),e.fillRect(t,(i+s+c)/o,r-t,s/o)}else{let r=Math.round(t*o-l/2);e.fillRect(r/o,n,s/o,i-n),e.fillRect((r+s+c)/o,n,s/o,i-n)}}var iw=t((()=>{}));function aw(e,t,n,r,i,a,o,s=1){let c=Math.max(1,i*.05),l=o===`heavy`||(o?.endsWith(`Heavy`)??!1)?c*1.8:c,u=n+Math.max(2,l),d=ew(u,l,s);if(e.strokeStyle=a,e.lineWidth=l,e.setLineDash([]),o&&o.startsWith(`wavy`)){let n=l,i=l*6;e.beginPath(),e.moveTo(t,u);let a=Math.max(1,l*.5);for(let o=0;o<=r;o+=a){let r=u+Math.sin(o/i*Math.PI*2)*n;e.lineTo(t+o,r)}if(e.stroke(),o===`wavyDbl`){e.beginPath(),e.moveTo(t,u+n*2.5);for(let o=0;o<=r;o+=a){let r=u+n*2.5+Math.sin(o/i*Math.PI*2)*n;e.lineTo(t+o,r)}e.stroke()}return}if(o===`dbl`){let n=l*1.4,i=u-n/2,a=u+n/2;e.beginPath(),e.moveTo(t,i+ew(i,l,s)),e.lineTo(t+r,i+ew(i,l,s)),e.moveTo(t,a+ew(a,l,s)),e.lineTo(t+r,a+ew(a,l,s)),e.stroke();return}e.setLineDash(Mi(o??`sng`,l)),e.beginPath(),e.moveTo(t,u+d),e.lineTo(t+r,u+d),e.stroke(),e.setLineDash([])}var ow=t((()=>{tw(),Ii()}));function sw(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 cw=t((()=>{})),lw,uw=t((()=>{lw=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`)}}}));function dw(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 fw(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 pw(e,t){return e({module_or_path:t})}function mw(e){return dw(e)?new hw(`WASM parser trapped and was recycled: ${e instanceof Error?e.message:String(e)}`):null}var hw,gw,_w=t((()=>{uw(),hw=class e extends Error{code=`parser-crashed`;constructor(t){super(t),this.name=`WasmTrapError`,Object.setPrototypeOf(this,e.prototype)}},gw=class{runtime;wasmInput=null;currentArchive=null;constructor(e,t={}){this.init=e,this.options=t,this.runtime=new lw(()=>this.invokeConfigured(this.init),()=>this.invokeConfigured(this.options.reinit??this.init),mw),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 hw(`WASM parser was recycled`))}invokeConfigured(e){return this.wasmInput===null?Promise.reject(Error(`WasmParserHost: setWasmInput was never called`)):pw(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,fw(e)}}}));function vw(e){return typeof e==`number`&&Number.isSafeInteger(e)&&e>0}function yw(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e;return vw(t.requiredBytes)&&vw(t.offeredBytes)&&t.requiredBytes>t.offeredBytes}function bw(e){if(e instanceof ww)return e;let t=e instanceof Error?e.message:String(e);if(!t.startsWith(Cw))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`||!yw(r)))return new ww(r)}function xw(e,t,n){let r=bw(e);if(!(!r||r.offeredBytes!==t||r.requiredBytes>n))return r}var Sw,Cw,ww,Tw=t((()=>{Sw=`ooxml-insufficient-credit`,Cw=`OOXML_INSUFFICIENT_CREDIT:`,ww=class e extends RangeError{code=Sw;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 Ew(e){return typeof e==`number`&&Number.isSafeInteger(e)&&e>=0}function Dw(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e;return Ew(t.archiveEntryCount)&&Ew(t.declaredInflatedBytes)&&(t.largestInflatedEntryBytes===void 0||Ew(t.largestInflatedEntryBytes))&&Ew(t.distinctInflatedBytes)&&Ew(t.operationInflatedBytes)}function Ow(e){let t;try{t=JSON.parse(new TextDecoder().decode(e))}catch{throw TypeError(`OOXML resource usage checkpoint is not valid JSON`)}if(!Dw(t))throw TypeError(`OOXML resource usage checkpoint is invalid`);return t}function kw(e){return e===`docx`||e===`xlsx`||e===`pptx`}function Aw(e){return e===`container`||e===`decompression`||e===`parsing`||e===`serialization`||e===`layout`||e===`rendering`||e===`worker`}function jw(e,t){return typeof e==`string`&&e.length>0&&e.length<=t&&!/[\u0000-\u001f\u007f]/u.test(e)}function Mw(e){return jw(e,qw)&&/^[a-z0-9][a-z0-9-]*$/u.test(e)}function Nw(e){return!jw(e,Yw)||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!==`..`)}function Pw(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e;return!kw(t.format)||!jw(t.operation,Jw)||!Mw(t.resource)||!Mw(t.metric)||!Ew(t.limit)||!Ew(t.observed)||typeof t.configurable!=`boolean`||!Dw(t.usage)?!1:!(`part`in t)||Nw(t.part)}function Fw(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e;if(!Aw(t.stage)||!Pw(t.violation))return!1;let n=t.violation,r=Xw.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:!(Zw.has(n.resource)&&Qw.has(n.metric))}function Iw(e){return{archiveEntryCount:e.archiveEntryCount,declaredInflatedBytes:e.declaredInflatedBytes,...e.largestInflatedEntryBytes===void 0?{}:{largestInflatedEntryBytes:e.largestInflatedEntryBytes},distinctInflatedBytes:e.distinctInflatedBytes,operationInflatedBytes:e.operationInflatedBytes}}function Lw(e){if(!Fw(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:Iw(t.usage)}};return Fw(n)?n:void 0}function Rw(e){let t=e.violation;return`OOXML resource limit exceeded${t.part?` for ${t.part}`:``}: ${t.metric} ${t.observed} > ${t.limit}`}function zw(e){let t=e instanceof Error?e.message:String(e);if(!t.startsWith(Kw))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`||!Fw(r.details)))return new D(Rw(r.details),r.details)}function Bw(e){let t=xr(e);if(t){let e=new kr(t.metric,t.limit,t.observed);return{message:e.message,errorName:e.name,code:e.code,decodedImage:t}}let n=Qv(e);if(n)return{message:n.message,errorName:`TiffDecodeError`,code:`ooxml-tiff-decode`};let r=bw(e);if(r)return{message:r.message,errorName:r.name,code:r.code,insufficientCredit:{requiredBytes:r.requiredBytes,offeredBytes:r.offeredBytes}};let i=e instanceof E||e instanceof D?e:zw(e);if(i instanceof D){let e=Lw(i.details);return e?{message:typeof i.message==`string`?i.message:Rw(e),errorName:`OoxmlResourceLimitError`,code:`ooxml-resource-limit`,resourceLimit:e}:{message:`Invalid OOXML resource-limit error payload`,errorName:`Error`}}if(i instanceof E)return{message:typeof i.message==`string`?i.message:String(i.message),errorName:jw(i.name,qw)?i.name:`OoxmlError`,...Mw(i.code)?{code:i.code}:{}};let a=e instanceof Error?e.message:String(e);if(typeof a==`string`&&a.startsWith(Kw))return{message:`Invalid OOXML resource-limit payload`,errorName:`Error`};let o=e instanceof Error?e:Error(a),s=o;return{message:typeof o.message==`string`?o.message:String(o.message),errorName:jw(o.name,qw)?o.name:`Error`,...typeof s.code==`string`?{code:s.code}:{}}}function Vw(e){try{return Bw(e)}catch{return{message:`Worker operation failed with an unreadable error`,errorName:`Error`}}}function Hw(e){return typeof e==`string`&&Object.prototype.hasOwnProperty.call(eT,e)}function Uw(e,t){if(e!==`ooxml-decoded-image-limit`||!t||typeof t!=`object`)return;let n=t,r=n.metric,i=n.limit,a=n.observed;if(!(!Hw(r)||!Ew(i)||!Ew(a)||a<=i))return{metric:r,limit:i,observed:a}}function Ww(e){let t=e.message,n=e.errorName,r=e.code,i=e.decodedImage,a=e.insufficientCredit,o=e.resourceLimit,s=typeof t==`string`?t:`Worker operation failed with an invalid error payload`,c=jw(n,qw)?n:void 0,l=typeof r==`string`?r:void 0,u=Uw(l,i);if(u)return new kr(u.metric,u.limit,u.observed);if(l===`ooxml-tiff-decode`)return new ny(s);if(l===`ooxml-insufficient-credit`&&yw(a))return new ww(a);if(l===`ooxml-resource-limit`&&Fw(o))return new D(s,o);if(l&&$w.has(l))return new E(l,s);let d=c===`TypeError`?TypeError(s):c===`RangeError`?RangeError(s):Error(s);return c&&(d.name=c),l!==void 0&&Object.assign(d,{code:l}),d}function Gw(e){try{return Ww(e)}catch{return Error(`Worker operation failed with an unreadable error payload`)}}var Kw,qw,Jw,Yw,Xw,Zw,Qw,$w,eT,tT=t((()=>{O(),Ar(),ry(),Tw(),Kw=`OOXML_RESOURCE_LIMIT:`,qw=128,Jw=256,Yw=4096,Xw=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}]]),Zw=new Set([...Xw.keys()].map(e=>e.slice(0,e.indexOf(`:`)))),Qw=new Set([...Xw.keys()].map(e=>e.slice(e.indexOf(`:`)+1))),$w=new Set([`encrypted`,`invalid-password`,`unsupported-encryption`,`legacy-binary-format`,`not-ooxml`]),eT={"image-dimension":!0,"image-pixels":!0,"active-decoded-bytes":!0}}));function nT(e){return e.byteOffset===0&&e.byteLength===e.buffer.byteLength&&e.buffer instanceof ArrayBuffer?e.buffer:e.slice().buffer}var rT=t((()=>{}));function iT(e,t){let{bitmap:n}=t;try{e(t,[n])}catch(e){throw mb(n),e}}var aT=t((()=>{Qb()})),oT=n({loadMathJaxFromResolvedAsset:()=>uT,mathMLToSvgFromResolvedAsset:()=>dT});function sT(e){return new Promise((t,n)=>{let r=document.createElement(`script`);r.src=e,r.async=!0,r.onload=()=>t(),r.onerror=()=>n(Error(`Failed to load math engine from ${e}`)),document.head.appendChild(r)})}async function cT(e){await import(e)}function lT(e){return fT||(fT=(async()=>{let t=globalThis.__ooxmlStix2;if(t)return t;let n=new URL(e).href;typeof document>`u`?await cT(n):await sT(n);let r=globalThis.__ooxmlStix2;if(!r)throw Error(`Math engine failed to initialize`);return r})(),fT)}async function uT(e){await lT(e)}async function dT(e,t){let n=(await lT(t)).mathml2svg(e);return{svg:n,...PC(n)}}var fT,pT=t((()=>{LC(),fT=null}));function mT(e,t,n,r){return Ge(e,r)?n:t.chartexFormatIdx??r}function hT(e,t,n,r,i){let a=mT(e,t,r,i),o=Ke(e,`dataPoint3D`,i),s=Z(e,`dataPoint3D`),c=ht(n?.chartexStyle,s,r);if(c!==void 0)return c;if(n?.fillHidden===!0){let e=_t(s);if(e!==void 0)return e}if(n?.color===`00000000`)return null;if(n?.color)return{fillType:`solid`,color:n.color};let l=ht(t.chartexStyle,s,a);return l===void 0?yt(o,s,a,n?.chartexStyle,t.chartexStyle):l}var gT=t((()=>{nt(),Ct()}));function _T(e){switch(e){case`cylinder`:case`cone`:case`coneToMax`:case`pyramid`:case`pyramidToMax`:return e;default:return`box`}}function vT(e,t){if(t.length<3)return null;let n=e[t[0]];for(let r=1;r+1<t.length;r++)for(let i=r+1;i<t.length;i++){let a=e[t[r]],o=e[t[i]],s={x:a.x-n.x,y:a.y-n.y,depth:a.depth-n.depth},c={x:o.x-n.x,y:o.y-n.y,depth:o.depth-n.depth},l={x:s.y*c.depth-s.depth*c.y,y:s.depth*c.x-s.x*c.depth,depth:s.x*c.y-s.y*c.x},u=Math.hypot(l.x,l.y,l.depth);if(u>2**-52)return{x:l.x/u,y:l.y/u,depth:l.depth/u}}return null}function yT(e,t){let n=e.reduce((t,n)=>({x:t.x+n.x/e.length,y:t.y+n.y/e.length,depth:t.depth+n.depth/e.length}),{x:0,y:0,depth:0});return t.map(t=>{let r=vT(e,t.indices);if(!r)return t;let i=t.indices.reduce((n,r)=>({x:n.x+e[r].x/t.indices.length,y:n.y+e[r].y/t.indices.length,depth:n.depth+e[r].depth/t.indices.length}),{x:0,y:0,depth:0}),a={x:i.x-n.x,y:i.y-n.y,depth:i.depth-n.depth};return r.x*a.x+r.y*a.y+r.depth*a.depth>=0?t:{...t,indices:[...t.indices].reverse()}})}function bT(e){let{horizontal:t,crossStart:n,crossSize:r,baseCoord:i,endCoord:a,nearDepth:o,farDepth:s}=e;if(![n,r,i,a,o,s].every(Number.isFinite)||r<=0||i===a||o===s)return null;let c=_T(e.shape),l=c===`cylinder`||c===`cone`||c===`coneToMax`,u=c!==`box`&&c!==`cylinder`,d=c===`coneToMax`||c===`pyramidToMax`,f=l?Math.max(8,Math.min(64,Math.trunc(e.roundSegments??32))):4,p=TT(e.baseScale??(d?e.toMaxBaseScale??1:1)),m=TT(e.endScale??(u?d?e.toMaxEndScale??0:0:1));if(p===0&&m===0)return null;let h=n+r/2,g=r/2,_=(o+s)/2,v=Math.abs(s-o)/2,y=[],b=(e,n)=>{if(n===0){let n=y.length;return y.push(t?{x:e,y:h,depth:_}:{x:h,y:e,depth:_}),[n]}let r=[];for(let i=0;i<f;i++){let a=l?i/f*Math.PI*2:Math.PI/4+i/f*Math.PI*2,o=l?1:Math.SQRT2,s=h+Math.cos(a)*g*n*o,c=_+Math.sin(a)*v*n*o;r.push(y.length),y.push(t?{x:e,y:s,depth:c}:{x:s,y:e,depth:c})}return r},x=b(i,p),S=b(a,m),C=l,w=[];x.length>1&&e.omitBaseCap!==!0&&w.push({indices:x,role:`baseCap`,smoothSurface:C}),S.length>1&&e.omitEndCap!==!0&&w.push({indices:S,role:`endCap`,smoothSurface:C});let T=[],E=Math.max(x.length,S.length);for(let e=0;e<E;e++){let t=(e+1)%E,n=x.length===1?x[0]:x[e],r=x.length===1?x[0]:x[t],i=S.length===1?S[0]:S[e],a=S.length===1?S[0]:S[t],o=x.length===1?[n,a,i]:S.length===1?[n,r,i]:[n,r,a,i];w.push({indices:o,role:`side`,smoothSurface:C,segmentIndex:e,baseRimEdge:x.length>1?[n,r]:void 0,endRimEdge:S.length>1?[i,a]:void 0}),T.push([n,i])}return{shape:c,vertices:y,faces:yT(y,w),silhouetteEdges:T}}function xT(e){let{x0:t,x1:n,lower0:r,lower1:i,upper0:a,upper1:o,nearDepth:s,farDepth:c,capStart:l,capEnd:u}=e;if(![t,n,r,i,a,o,s,c].every(Number.isFinite)||t===n||s===c)return null;n<t&&([t,n]=[n,t],[r,i]=[i,r],[a,o]=[o,a],[l,u]=[u,l]);let d=Math.min(s,c),f=Math.max(s,c),p=Math.min(r,a),m=Math.min(i,o),h=Math.max(r,a),g=Math.max(i,o);if(Math.max(h-p,g-m)<1e-9)return null;let _=[{x:t,y:p,depth:d},{x:n,y:m,depth:d},{x:n,y:g,depth:d},{x:t,y:h,depth:d},{x:t,y:p,depth:f},{x:n,y:m,depth:f},{x:n,y:g,depth:f},{x:t,y:h,depth:f}];return{shape:`areaStrip`,vertices:_,faces:yT(_,[{indices:[0,3,2,1],role:`side`,smoothSurface:!1},{indices:[4,5,6,7],role:`side`,smoothSurface:!1},{indices:[0,4,7,3],role:`baseCap`,smoothSurface:!1},{indices:[1,2,6,5],role:`endCap`,smoothSurface:!1},{indices:[0,1,5,4],role:`side`,smoothSurface:!1},{indices:[3,7,6,2],role:`side`,smoothSurface:!1}].filter(e=>(e.role!==`baseCap`||l)&&(e.role!==`endCap`||u))),silhouetteEdges:[]}}function ST(e){let t=e.upper0-e.lower0,n=e.upper1-e.lower1;if(Number.isFinite(t)&&Number.isFinite(n)&&t*n<0){let r=t/(t-n),i=e.x0+(e.x1-e.x0)*r,a=e.lower0+(e.lower1-e.lower0)*r;return[xT({...e,x1:i,lower1:a,upper1:a,capEnd:!1}),xT({...e,x0:i,lower0:a,upper0:a,capStart:!1})].filter(e=>e!=null)}let r=xT(e);return r?[r]:[]}function CT(e){let t=e.outline;if(t.length<3||t.length>64||![e.nearDepth,e.farDepth].every(Number.isFinite)||Math.abs(e.nearDepth-e.farDepth)<1e-9||!t.every(e=>Number.isFinite(e.x)&&Number.isFinite(e.y)))return null;let n=Math.min(e.nearDepth,e.farDepth),r=Math.max(e.nearDepth,e.farDepth),i=t.length,a=[...t.map(e=>({...e,depth:n})),...t.map(e=>({...e,depth:r}))],o=Array.from({length:i},(e,t)=>t),s=Array.from({length:i},(e,t)=>i+t).reverse();return{shape:`lineRibbon`,vertices:a,faces:yT(a,[{indices:o,role:`side`,smoothSurface:!1},{indices:s,role:`side`,smoothSurface:!1},...Array.from({length:i},(e,t)=>{let n=(t+1)%i;return{indices:[t,n,i+n,i+t],role:`side`,smoothSurface:!1}})]),silhouetteEdges:[]}}function wT(e){let{centerX:t,centerY:n,centerDepth:r,radius:i,modelDepth:a,thickness:o,startAngle:s,endAngle:c}=e;if(![t,n,r,i,a,o,s,c].every(Number.isFinite)||!(i>0)||!(a>0)||!(o>0)||!(c>s))return null;let l=Math.min(Math.PI*2,c-s),u=l>=Math.PI*2-1e-9,d=Math.max(2,Math.min(128,Math.trunc(e.segments??Math.ceil(32*l/(Math.PI*2))))),f=n-o/2,p=n+o/2,m=[{x:t,y:f,depth:r},{x:t,y:p,depth:r}],h=[],g=[],_=u?d:d+1;for(let e=0;e<_;e++){let n=s+l*e/d,o=t+Math.cos(n)*i,c=r+Math.sin(n)*i/a;h.push(m.length),m.push({x:o,y:f,depth:c}),g.push(m.length),m.push({x:o,y:p,depth:c})}let v=u?[{indices:[...h],role:`baseCap`,smoothSurface:!0},{indices:[...g],role:`endCap`,smoothSurface:!0}]:[{indices:[0,...h],role:`baseCap`,smoothSurface:!0},{indices:[1,...g],role:`endCap`,smoothSurface:!0},{indices:[0,1,g[0],h[0]],role:`baseCap`,smoothSurface:!1},{indices:[0,h.at(-1),g.at(-1),1],role:`endCap`,smoothSurface:!1}];for(let e=0;e<d;e++){let t=u?(e+1)%d:e+1;v.push({indices:[h[e],g[e],g[t],h[t]],role:`side`,smoothSurface:!0,segmentIndex:e,baseRimEdge:[h[e],h[t]],endRimEdge:[g[e],g[t]]})}return{shape:`pieSector`,vertices:m,faces:yT(m,v),silhouetteEdges:h.slice(0,u?void 0:-1).map((e,t)=>[e,g[t]])}}var TT,ET=t((()=>{TT=e=>Math.max(0,Math.min(1,e))}));function DT(e,t){if(![e,t].every(Number.isFinite))return null;let n=t-e;if(n===0)return e>=0&&e<=1?{startT:0,endT:1}:null;let r=-e/n,i=(1-e)/n,a=Math.max(0,Math.min(r,i)),o=Math.min(1,Math.max(r,i));return a<=o?{startT:a,endT:o}:null}function OT(e,t,n,r){if(![e,t,n,r].every(Number.isFinite))return[];let i=[0,1],a=(e,t)=>{let n=t-e;if(n!==0)for(let t of[0,1]){let r=(t-e)/n;r>0&&r<1&&Number.isFinite(r)&&i.push(r)}};a(e,t),a(n,r),i.sort((e,t)=>e-t);let o=i.filter((e,t)=>t===0||Math.abs(e-i[t-1])>1e-12),s=(e,t,n)=>e+(t-e)*n,c=e=>Math.max(0,Math.min(1,e)),l=[];for(let i=0;i+1<o.length;i++){let a=o[i],u=o[i+1],d=(a+u)/2,f=c(s(e,t,d)),p=c(s(n,r,d));Math.abs(p-f)<=1e-12||l.push({startT:a,endT:u,lowerStart:c(s(e,t,a)),lowerEnd:c(s(e,t,u)),upperStart:c(s(n,r,a)),upperEnd:c(s(n,r,u))})}return l}function kT(e,t,n,r){let i=[],a=e=>{i.length>=12||i.some(t=>Math.hypot(t.x-e.x,t.y-e.y)<1e-7)||i.push(e)},o={x:(Math.max(n.minX,r.minX)+Math.min(n.maxX,r.maxX))/2,y:(Math.max(n.minY,r.minY)+Math.min(n.maxY,r.maxY))/2};NT(e,o)&&NT(t,o)&&a(o);for(let n of e)NT(t,n)&&a(n);for(let n of t)NT(e,n)&&a(n);for(let n=0;n<e.length&&i.length<12;n++)for(let r=0;r<t.length&&i.length<12;r++){let i=PT(e[n],e[(n+1)%e.length],t[r],t[(r+1)%t.length]);i&&a(i)}return i}function AT(e,t){let n=e.cameraDepths;if(!n||n.length!==e.points.length||e.points.length<3)return e.cameraDepth;let r=e.cameraWeights?.length===e.points.length?e.cameraWeights:e.points.map(()=>1),i=e.points[0];for(let a=1;a+1<e.points.length;a++){let o=e.points[a],s=e.points[a+1],c=(o.y-s.y)*(i.x-s.x)+(s.x-o.x)*(i.y-s.y);if(Math.abs(c)<1e-12)continue;let l=((o.y-s.y)*(t.x-s.x)+(s.x-o.x)*(t.y-s.y))/c,u=((s.y-i.y)*(t.x-s.x)+(i.x-s.x)*(t.y-s.y))/c,d=1-l-u;if(Math.min(l,u,d)<-1e-7)continue;let f=l*r[0]+u*r[a]+d*r[a+1];if(Math.abs(f)>2**-52)return(l*n[0]*r[0]+u*n[a]*r[a]+d*n[a+1]*r[a+1])/f}return e.cameraDepth}function jT(e){if(e.length<2)return[...e];let t=[...e.keys()].sort((t,n)=>e[t].cameraDepth-e[n].cameraDepth||t-n),n=e.map(e=>MT(e.points)),r=[...e.keys()].sort((e,t)=>n[e].minX-n[t].minX||e-t),i=e.map(()=>new Set),a=e.map(()=>0),o=[],s=0;for(let c of r){for(let e=o.length-1;e>=0;e--)n[o[e]].maxX<n[c].minX-1e-9&&o.splice(e,1);for(let r of o){if(++s>2e5)return t.map(t=>e[t]);if(n[r].maxY<n[c].minY-1e-9||n[c].maxY<n[r].minY-1e-9)continue;let o=kT(e[r].points,e[c].points,n[r],n[c]),l=0;for(let t of o){let n=AT(e[r],t)-AT(e[c],t),i=1e-8*Math.max(1,Math.abs(e[r].cameraDepth),Math.abs(e[c].cameraDepth));if(Math.abs(n)<=i)continue;let a=n<0?-1:1;if(l!==0&&l!==a){l=0;break}l=a}if(l===0)continue;let u=l<0?r:c,d=l<0?c:r;i[u].has(d)||(i[u].add(d),a[d]++)}o.push(c)}let c=new Set(e.keys()),l=[];for(;c.size;){let n=t.find(e=>c.has(e)&&a[e]===0);if(n??=t.find(e=>c.has(e)),n==null)break;c.delete(n),l.push(e[n]);for(let e of i[n])a[e]--}return l}var MT,NT,PT,FT=t((()=>{MT=e=>({minX:Math.min(...e.map(e=>e.x)),maxX:Math.max(...e.map(e=>e.x)),minY:Math.min(...e.map(e=>e.y)),maxY:Math.max(...e.map(e=>e.y))}),NT=(e,t)=>{let n=!1;for(let r=0,i=e.length-1;r<e.length;i=r++){let a=e[r],o=e[i],s=(a.x-t.x)*(o.y-t.y)-(a.y-t.y)*(o.x-t.x),c=Math.max(1,Math.abs(a.x),Math.abs(a.y),Math.abs(o.x),Math.abs(o.y));if(Math.abs(s)<=c*1e-9&&t.x>=Math.min(a.x,o.x)-1e-9&&t.x<=Math.max(a.x,o.x)+1e-9&&t.y>=Math.min(a.y,o.y)-1e-9&&t.y<=Math.max(a.y,o.y)+1e-9)return!0;a.y>t.y!=o.y>t.y&&t.x<(o.x-a.x)*(t.y-a.y)/(o.y-a.y)+a.x&&(n=!n)}return n},PT=(e,t,n,r)=>{let i={x:t.x-e.x,y:t.y-e.y},a={x:r.x-n.x,y:r.y-n.y},o=i.x*a.y-i.y*a.x;if(Math.abs(o)<1e-12)return null;let s={x:n.x-e.x,y:n.y-e.y},c=(s.x*a.y-s.y*a.x)/o,l=(s.x*i.y-s.y*i.x)/o;return c<-1e-9||c>1.000000001||l<-1e-9||l>1.000000001?null:{x:e.x+i.x*c,y:e.y+i.y*c}}}));function IT(e,t,n=0){let r=t.filter(e=>Number.isFinite(e)&&e>zT);if(r.length===0)return e.length>=2?[[...e]]:[];r.length%2==1&&r.push(...r);let i=[],a=0,o=r[0],s=!0,c=r.reduce((e,t)=>e+t,0),l=c>zT&&Number.isFinite(n)?(n%c+c)%c:0;for(;l>zT;){let e=Math.min(l,o);l-=e,o-=e,o<=zT&&(a=(a+1)%r.length,o=r[a],s=a%2==0)}let u=null;for(let t=0;t+1<e.length;t++){let n=e[t],c=e[t+1],l=Math.hypot(c.x-n.x,c.y-n.y);if(!(l>zT))continue;let d=0;for(;d<l-zT;){let e=Math.min(o,l-d),t=VT(n,c,d/l),f=VT(n,c,(d+e)/l);if(s&&(u??=[],(u.length===0||!HT(u.at(-1),t))&&u.push(t),u.push(f)),d+=e,o-=e,o<=zT){if(s&&u&&u.length>=2){if(i.length>=1e4)return null;i.push(u)}u=null,a=(a+1)%r.length,o=r[a],s=a%2==0}}}if(s&&u&&u.length>=2){if(i.length>=1e4)return null;i.push(u)}if(i.length>1&&HT(e[0],e.at(-1))&&HT(i[0][0],e[0])&&HT(i.at(-1).at(-1),e.at(-1))){let e=i.shift(),t=i.pop();i.unshift([...t,...e.slice(1)])}return i}function LT(e,t,n){let r=Number.isFinite(n.width)?Math.max(0,n.width):0;if(!(r>zT)||t.length<3)return null;let i=r/2;if((n.lineJoin??`miter`)===`round`)return WT(e,i,`join`);let a=[];for(let n of t){let t=n.x-e.x,r=n.y-e.y,o=Math.hypot(t,r);if(!(o>zT))continue;let s=-r/o*i,c=t/o*i;a.push({...e,x:e.x+s,y:e.y+c},{...e,x:e.x-s,y:e.y-c})}if(a.length<3)return null;a.sort((e,t)=>e.x-t.x||e.y-t.y);let o=(e,t,n)=>(t.x-e.x)*(n.y-e.y)-(t.y-e.y)*(n.x-e.x),s=[];for(let e of a){for(;s.length>=2&&o(s.at(-2),s.at(-1),e)<=zT;)s.pop();s.push(e)}let c=[];for(let e of[...a].reverse()){for(;c.length>=2&&o(c.at(-2),c.at(-1),e)<=zT;)c.pop();c.push(e)}let l=[...s.slice(0,-1),...c.slice(0,-1)];return l.length>=3?UT(`join`,l):null}function RT(e,t){let n=Number.isFinite(t.width)?Math.max(0,t.width):0;if(!(n>zT)||e.length<2)return[];let r=n/2,i=t.lineCap??`butt`,a=t.lineJoin??`miter`,o=Math.max(1,t.miterLimit??10),s=[],c=IT(e,t.dash??[],t.dashOffset);if(c==null)return null;let l=e=>s.length>=1e4?!1:(s.push(e),!0);for(let n=0;n<c.length;n++){let s=c[n],u=s.length>2&&HT(s[0],s.at(-1)),d=n===0&&HT(s[0],e[0])?t.startCap??i:i,f=n+1===c.length&&HT(s.at(-1),e.at(-1))?t.endCap??i:i,p=[];for(let e=0;e+1<s.length;e++){let t=s[e],n=s[e+1],r=Math.hypot(n.x-t.x,n.y-t.y);p.push(r>zT?{x:(n.x-t.x)/r,y:(n.y-t.y)/r}:null)}for(let e=0;e+1<s.length;e++){let n=p[e];if(!n)continue;let i={x:-n.y*r,y:n.x*r},a=e===0,o=e+2===s.length,c=Math.min(.5,r/2),m=u||!a||t.overlapStart===!0,h=u||!o||t.overlapEnd===!0,g=!u&&a&&d===`square`?r:m?c:0,_=!u&&o&&f===`square`?r:h?c:0,v={...s[e],x:s[e].x-n.x*g,y:s[e].y-n.y*g},y={...s[e+1],x:s[e+1].x+n.x*_,y:s[e+1].y+n.y*_};if(!l(UT(`segment`,[{...v,x:v.x+i.x,y:v.y+i.y},{...y,x:y.x+i.x,y:y.y+i.y},{...y,x:y.x-i.x,y:y.y-i.y},{...v,x:v.x-i.x,y:v.y-i.y}])))return null}if(!u&&d===`round`&&!l(WT(s[0],r,`cap`))||!u&&f===`round`&&!l(WT(s.at(-1),r,`cap`)))return null;let m=(e,t,n)=>{if(!t||!n)return!0;let i=t.x*n.y-t.y*n.x;if(Math.abs(i)<=zT)return!0;if(a===`round`)return l(WT(e,r,`join`));let s=i>0?-1:1,c={...e,x:e.x+-t.y*r*s,y:e.y+t.x*r*s},u={...e,x:e.x+-n.y*r*s,y:e.y+n.x*r*s};if(a===`miter`){let i=GT(c,t,u,n);if(i&&Math.hypot(i.x-e.x,i.y-e.y)<=r*o)return!!l(UT(`join`,[c,{...e,...i},u]))}return l(UT(`join`,[c,e,u]))};for(let e=1;e+1<s.length;e++)if(!m(s[e],p[e-1],p[e]))return null;if(u&&!m(s[0],p.at(-1)??null,p[0]??null))return null}return s}var zT,BT,VT,HT,UT,WT,GT,KT=t((()=>{zT=1e-9,BT=1e4,VT=(e,t,n)=>({x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n,cameraDepth:e.cameraDepth+(t.cameraDepth-e.cameraDepth)*n,cameraWeight:(e.cameraWeight??1)+((t.cameraWeight??1)-(e.cameraWeight??1))*n}),HT=(e,t)=>Math.hypot(e.x-t.x,e.y-t.y)<=zT,UT=(e,t)=>({kind:e,points:t.map(({x:e,y:t})=>({x:e,y:t})),cameraDepths:t.map(e=>e.cameraDepth),cameraWeights:t.map(e=>e.cameraWeight??1),cameraDepth:t.reduce((e,t)=>e+t.cameraDepth,0)/t.length}),WT=(e,t,n)=>{let r=[];for(let n=0;n<12;n++){let i=Math.PI*2*n/12;r.push({...e,x:e.x+Math.cos(i)*t,y:e.y+Math.sin(i)*t})}return UT(n,r)},GT=(e,t,n,r)=>{let i=t.x*r.y-t.y*r.x;if(Math.abs(i)<=zT)return null;let a={x:n.x-e.x,y:n.y-e.y},o=(a.x*r.y-a.y*r.x)/i;return{x:e.x+t.x*o,y:e.y+t.y*o}}}));function qT(e){let t=[...e].reverse();return $T(e,t)<=0?e:t}function JT(e){let t=ZT(e[0],e.at(-1))?e.slice(0,-1):[...e];if(t.length===0)return[];let n=0;for(let e=1;e<t.length;e++)QT(t[e],t[n])<0&&(n=e);let r=t.map((e,r)=>t[(n+r)%t.length]),i=t.map((e,r)=>t[(n-r+t.length)%t.length]),a=$T(r,i)<=0?r:i;return[...a,a[0]]}function YT(e){let t=[],n=e=>{let n=t.find(t=>ZT(t.point,e));if(n)return QT(e,n.point)<0&&(n.point=e),n;let r={point:e,edges:[],order:-1};return t.push(r),r},r=[];for(let[t,i]of e){if(ZT(t,i))continue;let e=n(t),a=n(i);e!==a&&r.push([e,a])}t.sort((e,t)=>QT(e.point,t.point)),t.forEach((e,t)=>{e.order=t});let i=[],a=new Set;for(let[e,t]of r){let n=e.order<t.order?e:t,r=e.order<t.order?t:e,o=`${n.order}:${r.order}`;a.has(o)||(a.add(o),i.push({first:n,second:r,key:o}))}i.sort((e,t)=>e.key.localeCompare(t.key)),i.forEach((e,t)=>{e.first.edges.push(t),e.second.edges.push(t)});for(let e of t)e.edges.sort((e,t)=>e-t);let o=new Set,s=(e,t)=>{let n=[e.point],r=e,a=t;for(;!o.has(a);){o.add(a);let e=i[a],t=e.first===r?e.second:e.first;if(n.push(t.point),t.edges.length!==2)break;let s=t.edges.find(e=>!o.has(e));if(s===void 0)break;r=t,a=s}return n},c=[];for(let e of t)if(e.edges.length!==2)for(let t of e.edges)o.has(t)||c.push(qT(s(e,t)));for(let e=0;e<i.length;e++){if(o.has(e))continue;let t=i[e],n=t.first.order<=t.second.order?t.first:t.second;c.push(JT(s(n,e)))}let l=t.filter(e=>e.edges.length>2).map(e=>({point:e.point,neighbours:e.edges.map(t=>{let n=i[t];return n.first===e?n.second.point:n.first.point}).sort(QT)}));return{paths:c.sort($T),junctions:l}}var XT,ZT,QT,$T,eE=t((()=>{XT=1e-9,ZT=(e,t)=>Math.hypot(e.x-t.x,e.y-t.y,e.depth-t.depth)<=XT,QT=(e,t)=>e.x-t.x||e.y-t.y||e.depth-t.depth,$T=(e,t)=>{let n=Math.min(e.length,t.length);for(let r=0;r<n;r++){let n=QT(e[r],t[r]);if(n!==0)return n}return e.length-t.length}})),tE=n({THREE_D_IMPLEMENTATION_MARKER:()=>rD,THREE_D_ROUND_MESH_FACE_WEIGHT:()=>cD,bucketThreeDStackItems:()=>aE,renderSimpleThreeDChart:()=>nD,threeDMeshOutlineWidthPx:()=>iE,threeDPieSliceAngles:()=>zE,threeDWallGeometry:()=>BE});function nE(e){let t=new Map;for(let n of e.legendEntries??[])t.set(n.idx,n);return t}function rE(e,t,n){let r=Bt(t?.fontSizeHpt??e.legendFontSizeHpt,n)??9*n,i=t?.fontFace??e.legendFontFace,a=t?.fontBold??e.legendFontBold??!1;return{fontPx:r,font:`${t?.fontItalic??e.legendFontItalic??!1?`italic `:``}${a?`bold `:``}${r}px ${uD(i)}`,color:t?.fontColor?`#${t.fontColor}`:e.legendFontColor?`#${e.legendFontColor}`:`#595959`}}function iE(e,t){let n=Number.isFinite(t)&&t>0?t/Ot:1,r=Number.isFinite(e)&&e>=0?e/Dt:0;return Math.max(.25,r)*n}function aE(e,t){let n=Number.isSafeInteger(t)&&t>0?t:0,r=Array.from({length:n},()=>[]);for(let t of e){let e=t.categoryIndex;Number.isSafeInteger(e)&&e>=0&&e<n&&r[e].push(t)}return r}function oE(e,t,n){let r=0;for(let i of e)for(let e of[t(i),n(i)]){if(e==null)continue;let t=ir(e);if(e.fillType===`gradient`&&t>aD||t>oD-r)return!1;r+=t}return!0}function sE(e,t){let n=Array.from({length:t},()=>({maxMagnitude:0,scaledTotal:0}));for(let r of e.series)for(let e=0;e<t;e++){let t=r.values[e];t!=null&&Number.isFinite(t)&&(n[e].maxMagnitude=Math.max(n[e].maxMagnitude,Math.abs(t)))}for(let r of e.series)for(let e=0;e<t;e++){let t=r.values[e],i=n[e].maxMagnitude;t!=null&&Number.isFinite(t)&&i>0&&(n[e].scaledTotal+=Math.abs(t)/i)}return n}function cE(e,t,n,r){let i=e.series[t]?.values[n]??0;if(!Number.isFinite(i))return 0;if(!r)return i;let{maxMagnitude:a,scaledTotal:o}=r[n]??{maxMagnitude:0,scaledTotal:0};return a>0&&o>0?i/a/o*100:0}function lE(e,t){let n=e+t;return Number.isFinite(n)?n:t<0?-Number.MAX_VALUE:Number.MAX_VALUE}function uE(e){let t=[];for(let[n,r]of[[e.threeD?.floor,`floor`],[e.threeD?.sideWall,`wall`],[e.threeD?.backWall,`wall`]]){let i=St(e,n,r);t.push({fill:i.fill,line:i.line})}if(e.chartType===`pie`){let n=e.series[0];if(n){let r=new Map(n.dataPointOverrides?.map(e=>[e.idx,e])??[]);for(let i=0;i<n.values.length;i++){let a=n.values[i];if(a==null||!Number.isFinite(a)||Math.abs(a)<=0)continue;let o=fE(e,n,r.get(i),i,0);t.push({fill:o.fill,line:o.lineFill})}}}else if(e.chartType===`clusteredBar`||e.chartType===`clusteredBarH`||e.chartType.startsWith(`stackedBar`)){let n=e.chartType.startsWith(`stacked`),r=e.chartType.endsWith(`Pct`),i=n||e.dispBlanksAs===`zero`,a=e.valAxisLogBase!=null&&Number.isFinite(e.valAxisLogBase)&&e.valAxisLogBase>=2,o=Math.max(1,e.categories.length,...e.series.map(e=>Math.max(e.values.length,e.categories?.length??0))),s=r?sE(e,o):void 0,c=(t,n)=>{if(t===n)return!1;let r=Math.min(t,n),i=Math.max(t,n),o=e.valMin,s=e.valMax;return o!=null&&Number.isFinite(o)&&i<=o||s!=null&&Number.isFinite(s)&&r>=s?!1:!a||i>0},l=Array(o).fill(0),u=Array(o).fill(0);for(let r=0;r<e.series.length;r++){let d=e.series[r],f=new Map(d.dataPointOverrides?.map(e=>[e.idx,e])??[]);for(let p=0;p<o;p++){let o=d.values[p];if(!(o!=null&&Number.isFinite(o)&&(!a||o>0)||o==null&&i))continue;let m=cE(e,r,p,s),h=n?m>=0?l[p]:u[p]:0,g=lE(h,m);if(n&&(m>=0?l[p]=g:u[p]=g),!c(h,g))continue;let _=fE(e,d,f.get(p),p,r);t.push({fill:_.fill,line:_.lineFill})}}}else{let n=e.chartType.toLowerCase().includes(`area`),r=e.chartType.startsWith(`stacked`),i=e.chartType.endsWith(`Pct`),a=r||e.dispBlanksAs===`zero`,o=e.valAxisLogBase!=null&&Number.isFinite(e.valAxisLogBase)&&e.valAxisLogBase>=2,s=Math.max(e.categories.length,...e.series.map(e=>Math.max(e.categories?.length??0,e.values.length))),c=i?sE(e,s):void 0,l=e.series.map(()=>Array(s).fill(0));if(r){let t=Array(s).fill(0),n=Array(s).fill(0);for(let r=0;r<e.series.length;r++)for(let i=0;i<s;i++){let a=cE(e,r,i,c),o=lE(a>=0?t[i]:n[i],a);l[r][i]=o,a>=0?t[i]=o:n[i]=o}}for(let i=0;i<e.series.length;i++){let u=e.series[i],d=new Map(u.dataPointOverrides?.map(e=>[e.idx,e])??[]),f=s,p=0,m=null,h=!1,g=!1;for(let s=0;s<f;s++){let f=u.values[s];if(f!=null&&Number.isFinite(f)&&(!o||f>0)||f==null&&a){p++;let a=r?l[i][s]:cE(e,i,s,c),o=m==null?a:Math.min(m,a),f=m==null?a:Math.max(m,a),_=e.valMin!=null&&Number.isFinite(e.valMin)&&f<=e.valMin||e.valMax!=null&&Number.isFinite(e.valMax)&&o>=e.valMax;if(p>=2&&(n||u.smooth===!0||!_)){if(h=!0,n)break;let r=d.get(s);if(pE(r)){let n=fE(e,u,r,s,i);t.push({fill:void 0,line:n.lineFill})}else g=!0}m=a}else (e.dispBlanksAs??`gap`)===`gap`&&(p=0,m=null)}if(!h)continue;let _=fE(e,u,void 0,i,i);n?t.push({fill:_.fill,line:_.lineFill}):g&&t.push({fill:void 0,line:_.lineFill})}}return oE(t,e=>e.fill,e=>e.line)}function dE(e,t){return e?.fillType===`solid`?{color:`#${e.color}`,fill:void 0}:{color:t,fill:e}}function fE(e,t,n,r,i,a=!0){let o=a&&t.dataPointColors?.[r]?`#${t.dataPointColors[r]}`:lD(i,t),s=Ge(e,i)?r:t.chartexFormatIdx??i,c=t.seriesType??e.chartType,l=c===`line`||c===`stackedLine`||c===`stackedLinePct`,u=Ke(e,`dataPoint3D`,i),d=Z(e,`dataPoint3D`),f,p=o,m=hT(e,t,n,r,i);m!==void 0&&({color:p,fill:f}=dE(m,p));let h,g=null,_=gt(n?.chartexStyle,d,r);if(_===void 0&&n?.lineHidden===!0&&(_=vt(d)),_!==void 0)_?.fillType===`solid`?g=`#${_.color}`:h=_;else if(n?.lineColor)g=`#${n.lineColor}`;else{let e=gt(t.chartexStyle,d,s);if(e===void 0&&t.lineHidden===!0&&(e=vt(d)),e!==void 0)e?.fillType===`solid`?g=`#${e.color}`:h=e;else if(t.lineColor)g=`#${t.lineColor}`;else if(l)h=f===null?null:f;else{let e=bt(u,d,s,n?.chartexStyle,t.chartexStyle);e!==void 0&&(e?.fillType===`solid`?g=`#${e.color}`:h=e)}}let v=l?void 0:u,y=n?.chartexStyle?.lineCap??t.chartexStyle?.lineCap??v?.lineCap,b=n?.chartexStyle?.lineJoin??t.chartexStyle?.lineJoin??v?.lineJoin,x=Be(n?.lineDash==null?n?.chartexStyle:{lineDash:n.lineDash,lineDashAuthored:!0},t.chartexStyle,v);return{color:p,fill:f,lineColor:g,lineFill:h,lineWidthEmu:n?.lineWidthEmu??n?.chartexStyle?.lineWidthEmu??t.lineWidthEmu??t.chartexStyle?.lineWidthEmu??v?.lineWidthEmu,lineDash:x?.lineDash,lineCustomDash:x?.lineCustomDash,lineCap:y===`rnd`?`round`:y===`sq`?`square`:`butt`,lineJoin:b===`round`||b===`bevel`?b:`miter`}}function pE(e){if(!e)return!1;let t=e.chartexStyle;return e.lineHidden!=null||e.lineColor!=null||e.lineWidthEmu!=null||e.lineDash!=null||t?.linePaintAuthored===!0||t?.lineHidden!=null||t?.lineNoStyle===!0||t?.lineColors?.some(e=>e!=null)===!0||t?.linePaints?.some(e=>e!=null)===!0||t?.lineWidthEmu!=null||t?.lineDash!=null||t?.lineCustomDash!=null||t?.lineCap!=null||t?.lineJoin!=null}function mE(e,t){let n=e.cameraNormal(t);if(!n)return 1;let r={x:-.2,y:.25,z:1},i=Math.hypot(r.x,r.y,r.z),a=Math.max(0,(n.x*r.x+n.y*r.y+n.z*r.z)/i);return Math.max(.78,Math.min(1,.78+.24*a))}function hE(e,t){if(t.length){e.beginPath(),e.moveTo(t[0].x,t[0].y);for(let n=1;n<t.length;n++)e.lineTo(t[n].x,t[n].y);e.closePath()}}function gE(e,t,n,r){fD(n)||(hE(e,t),e.fillStyle=n,e.fill(),r>0&&(hE(e,t),e.fillStyle=`rgba(0,0,0,${r})`,e.fill()))}function _E(e,t,n,r,i,a,o,s,c,l,u,d){return ST({x0:t,x1:n,lower0:r,lower1:i,upper0:a,upper1:o,nearDepth:s,farDepth:c,capStart:u,capEnd:d}).flatMap(t=>yE(e,t,l).map(e=>({...e,outline:!1,outlineSegments:void 0})))}function vE(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m=!1,h=!1,g,_){if(![r,i,a,o,s,c,l,u].every(Number.isFinite)||a<=0||o<=0||s===c)return[];let v=bT({shape:t,horizontal:n,crossStart:n?i:r,crossSize:n?o:a,baseCoord:s,endCoord:c,nearDepth:l,farDepth:u,baseScale:f,endScale:p,omitBaseCap:m,omitEndCap:h});return v?yE(e,v,d,g,_):[]}function yE(e,t,n,r,i,a=!1){if(i?.exceeded)return[];let o=t.faces.map(r=>{let i=r.indices.map(e=>t.vertices[e]),a=e.cameraFacing(i);if(!a)return{meshFace:r,facing:a,face:null};let o=i.map(t=>e.project(t.x,t.y,t.depth)),s=o.reduce((e,t,n)=>{let r=o[(n+1)%o.length];return e+t.x*r.y-t.y*r.x},0);return!Number.isFinite(s)||Math.abs(s)<1e-7?{meshFace:r,facing:a,face:null}:{meshFace:r,facing:a,face:{points:o,color:cl(n,mE(e,i)),paintRole:`fill`,shade:0,cameraDepth:i.reduce((t,n)=>t+e.cameraDepth(n.x,n.y,n.depth),0)/i.length,cameraDepths:i.map(t=>e.cameraDepth(t.x,t.y,t.depth)),cameraWeights:i.map(t=>e.cameraProjectionWeight(t.x,t.y,t.depth)),outline:!1}}}),s=a?[]:o.map(e=>e.face).filter(e=>e!=null);if(i){if(s.length>i.remaining)return i.exceeded=!0,[];i.remaining-=s.length}let c=new Map,l=(e,t)=>{if(e===t)return;let n=e<t?`${e}:${t}`:`${t}:${e}`;c.has(n)||c.set(n,[e,t])};for(let e of o){if(!e.facing||!e.face)continue;let{indices:t,smoothSurface:n,role:r}=e.meshFace;if(!(n&&r===`side`))for(let e=0;e<t.length;e++)l(t[e],t[(e+1)%t.length])}let u=o.filter(e=>e.meshFace.role===`side`).sort((e,t)=>(e.meshFace.segmentIndex??0)-(t.meshFace.segmentIndex??0));if(t.silhouetteEdges.length===u.length&&u.length>0)for(let e=0;e<u.length;e++){let n=u[(e+u.length-1)%u.length],r=u[e];if(n.facing===r.facing||!(r.facing?r.face:n.face))continue;let[i,a]=t.silhouetteEdges[e];l(i,a)}let d=o.some(e=>e.meshFace.role===`baseCap`&&e.facing&&e.face!=null),f=o.some(e=>e.meshFace.role===`endCap`&&e.facing&&e.face!=null);for(let e of u){if(!e.facing||!e.face)continue;let t=[d?void 0:e.meshFace.baseRimEdge,f?void 0:e.meshFace.endRimEdge].filter(e=>e!=null);for(let[e,n]of t)l(e,n)}let p=YT([...c.values()].map(([e,n])=>[t.vertices[e],t.vertices[n]]));if(!r)return s;let m=(e,t)=>Math.hypot(e.x-t.x,e.y-t.y,e.depth-t.depth)<=1e-9,h=e=>p.junctions.some(t=>m(t.point,e));for(let t of p.paths){let n=t.map(t=>e.project(t.x,t.y,t.depth)),a=t.map(t=>e.cameraDepth(t.x,t.y,t.depth)),o=t.map(t=>e.cameraProjectionWeight(t.x,t.y,t.depth)),c=RT(n.map((e,t)=>({...e,cameraDepth:a[t],cameraWeight:o[t]})),{width:r.width,dash:r.dash,lineCap:r.cap,startCap:h(t[0])?`butt`:r.cap,endCap:h(t.at(-1))?`butt`:r.cap,overlapStart:h(t[0]),overlapEnd:h(t.at(-1)),lineJoin:r.join});if(!c||i&&c.length>i.remaining)return i&&(i.exceeded=!0),[];i&&(i.remaining-=c.length),s.push(...c.map(e=>{let t=1e-6*Math.max(1,Math.abs(e.cameraDepth));return{points:e.points,color:r.color,paintRole:`outline`,shade:0,cameraDepth:e.cameraDepth+t,cameraDepths:e.cameraDepths?.map(e=>e+t),cameraWeights:e.cameraWeights,outline:!1}}))}for(let t of p.junctions){let n=LT({...e.project(t.point.x,t.point.y,t.point.depth),cameraDepth:e.cameraDepth(t.point.x,t.point.y,t.point.depth),cameraWeight:e.cameraProjectionWeight(t.point.x,t.point.y,t.point.depth)},t.neighbours.map(t=>({...e.project(t.x,t.y,t.depth),cameraDepth:e.cameraDepth(t.x,t.y,t.depth),cameraWeight:e.cameraProjectionWeight(t.x,t.y,t.depth)})),{width:r.width,lineJoin:r.join});if(!n)continue;if(i&&i.remaining<1)return i.exceeded=!0,[];i&&--i.remaining;let a=1e-6*Math.max(1,Math.abs(n.cameraDepth));s.push({points:n.points,color:r.color,paintRole:`outline`,shade:0,cameraDepth:n.cameraDepth+a,cameraDepths:n.cameraDepths?.map(e=>e+a),cameraWeights:n.cameraWeights,outline:!1})}return s}function bE(e,t,n,r,i,a,o){if(!t.length||o.exceeded)return[];let s=[...t].sort((e,t)=>e.start-t.start),c=n-i/2,l=n+i/2,u=s[0],d=e.cameraDepth(u.centerX,c,u.centerDepth)>=e.cameraDepth(u.centerX,l,u.centerDepth)?c:l,f=d===c?l:c,p=(t,n,i)=>({x:t.centerX+Math.cos(n)*r,y:i,depth:t.centerDepth+Math.sin(n)*r/e.modelDepth}),m=e=>({x:e.centerX,y:d,depth:e.centerDepth}),h=[],g=(t,n=!1)=>{if(t.length<2||o.exceeded)return;let r=t[0],i=t.at(-1),s=Math.hypot(r.x-i.x,r.y-i.y,r.depth-i.depth)<=1e-9,c=RT((n&&!s?[...t,r]:[...t]).map(t=>({...e.project(t.x,t.y,t.depth),cameraDepth:e.cameraDepth(t.x,t.y,t.depth),cameraWeight:e.cameraProjectionWeight(t.x,t.y,t.depth)})),{width:a.width,dash:a.dash,lineCap:a.cap,startCap:`butt`,endCap:`butt`,lineJoin:a.join});if(!c||c.length>o.remaining){o.exceeded=!0;return}o.remaining-=c.length;for(let e of c){let t=1e-6*Math.max(1,Math.abs(e.cameraDepth));h.push({points:e.points,color:a.color,paintRole:`outline`,shade:0,cameraDepth:e.cameraDepth+t,cameraDepths:e.cameraDepths?.map(e=>e+t),cameraWeights:e.cameraWeights,outline:!1})}},_=[],v=[],y=[],b=new Set,x=e=>{let t=Math.PI*2,n=(e%t+t)%t;return(n<1e-8||t-n<1e-8?0:n).toFixed(8)},S=new Map;for(let t of s){S.set(x(t.start),{slice:t,angle:t.start}),S.set(x(t.end),{slice:t,angle:t.end});for(let n=0;n<=t.segments;n++){let r=t.start+(t.end-t.start)*n/t.segments,i=p(t,r,d);if((!_.length||Math.hypot(_.at(-1).x-i.x,_.at(-1).y-i.y,_.at(-1).depth-i.depth)>1e-9)&&_.push(i),n===t.segments)continue;let a=t.start+(t.end-t.start)*(n+1)/t.segments,o=p(t,r,c),s=p(t,r,l),u=p(t,a,l),m=p(t,a,c);if(e.cameraFacing([o,s,u,m])){let e=p(t,r,f),n=p(t,a,f);y.length||y.push(e),y.push(n),b.add(x(r)),b.add(x(a))}else y.length&&(v.push(y),y=[])}}if(y.length&&v.push(y),v.length>1){let e=v[0],t=v.at(-1),n=e[0],r=t.at(-1);Math.hypot(n.x-r.x,n.y-r.y,n.depth-r.depth)<=1e-9&&(v[0]=[...t,...e.slice(1)],v.pop())}g(_,!0);let C=new Map;for(let{slice:e,angle:t}of S.values())g([m(e),p(e,t,d)]),b.has(x(t))&&C.set(x(t),{slice:e,angle:t});for(let t of v){g(t);for(let n of[t[0],t.at(-1)]){let t=Math.atan2((n.depth-u.centerDepth)*e.modelDepth,n.x-u.centerX);C.set(x(t),{slice:u,angle:t})}}for(let{slice:e,angle:t}of C.values())g([p(e,t,d),p(e,t,f)]);return h}function xE(e,t){t.paint!==null&&(t.paint===void 0?gE(e,t.points,t.color,t.shade):(hE(e,t.points),e.fillStyle=t.paint,e.fill()),t.outline&&(e.strokeStyle=t.outlineColor??`rgba(0,0,0,0.42)`,e.lineWidth=t.outlineWidth??.75,e.setLineDash(ki(t.outlineDash??`solid`,e.lineWidth)),e.lineCap=t.outlineCap??`butt`,e.lineJoin=t.outlineJoin??`miter`,t.outline&&(hE(e,t.points),e.stroke()),e.setLineDash([])))}function SE(e,t){let n=t.filter(e=>e.paint!==null&&e.points.length>=3);if(n.length){e.beginPath();for(let t of n){e.moveTo(t.points[0].x,t.points[0].y);for(let n=1;n<t.points.length;n++)e.lineTo(t.points[n].x,t.points[n].y);e.closePath()}e.fillStyle=`#000000`,e.fill()}}function CE(e,t,n,r,i){if(r===void 0)return;let a=t.filter(e=>e.paintRole===n);if(!a.length)return;if(r===null){for(let e of a)e.paint=null;return}let o=a.flatMap(e=>e.points),s=Math.min(...o.map(e=>e.x)),c=Math.max(...o.map(e=>e.x)),l=Math.min(...o.map(e=>e.y)),u=Math.max(...o.map(e=>e.y)),d=Vi(r,e,s,l,c-s,u-l,i);for(let e of a)e.paint=d}function wE(e,t){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)}function TE(e){let t=e.catAxisLabelRotation;return t==null?null:!Number.isFinite(t)||Math.abs(t)>54e5?0:t/6e4*Math.PI/180}function EE(e,t,n,r,i,a=1,o=6){if(i||r===0){e.textAlign=i?`right`:`center`,e.textBaseline=i?`middle`:a<0?`bottom`:`top`,e.fillText(t,n.x+(i?-o:0),n.y+(i?0:a*o));return}e.save(),e.translate(n.x,n.y+a*o),e.rotate(r),e.textAlign=a<0?`left`:`right`,e.textBaseline=`middle`,e.fillText(t,0,0),e.restore()}function DE(e,t,n,r,i,a,o,s=void 0,c=0,l=Ot,u=void 0,d=void 0,f=0,p=f,m=void 0,h=void 0,g=void 0,_=void 0,v=void 0){if(!(r>0)||!Number.isFinite(t.x)||!Number.isFinite(t.y))return;let y=r/2;if(u!==void 0||d!==void 0){Aa(e,u,d,f,{x:t.x-y,y:t.y-y,w:r,h:r},l,e=>DE(e,t,n,r,i,a,o,s,c,l,void 0,void 0,0,0,m,h,g,_,v),p);return}e.beginPath();let b=m===void 0?a:m==null?null:m.fillType===`solid`?`#${m.color}`:Vi(m,e,t.x-y,t.y-y,r,r,c);switch(b&&(e.strokeStyle=b,e.lineWidth=o,e.setLineDash(Ai(g,h,o)),e.lineCap=_===`rnd`?`round`:_===`sq`?`square`:`butt`,e.lineJoin=v===`round`||v===`bevel`?v:`miter`),n){case`square`:e.rect(t.x-y,t.y-y,r,r);break;case`diamond`:e.moveTo(t.x,t.y-y),e.lineTo(t.x+y,t.y),e.lineTo(t.x,t.y+y),e.lineTo(t.x-y,t.y),e.closePath();break;case`triangle`:e.moveTo(t.x,t.y-y),e.lineTo(t.x+y,t.y+y),e.lineTo(t.x-y,t.y+y),e.closePath();break;case`x`:case`plus`:{let r=n===`x`;e.moveTo(t.x-y,t.y+(r?-y:0)),e.lineTo(t.x+y,t.y+(r?y:0)),e.moveTo(t.x+(r?-y:0),t.y+y),e.lineTo(t.x+(r?y:0),t.y-y),b&&e.stroke();return}case`dash`:e.rect(t.x-y,t.y-r*.1,r,r*.2);break;case`star`:for(let n=0;n<10;n++){let r=-Math.PI/2+n*Math.PI/5,i=n%2==0?y:y*.4,a=t.x+Math.cos(r)*i,o=t.y+Math.sin(r)*i;n?e.lineTo(a,o):e.moveTo(a,o)}e.closePath();break;case`dot`:e.ellipse(t.x,t.y,r*.25,r*.1,0,0,Math.PI*2);break;case`picture`:s?.fillType===`image`&&Bs(e,s,t.x-y,t.y-y,r,r,l,c),b&&e.strokeRect(t.x-y,t.y-y,r,r);return;default:e.arc(t.x,t.y,y,0,Math.PI*2);break}let x=s?.fillType===`image`?s:void 0,S=x?null:s===void 0?i===`transparent`?null:i:s==null?null:Vi(s,e,t.x-y,t.y-y,r,r,c);S==null?x&&(e.save(),e.clip(),Bs(e,x,t.x-y,t.y-y,r,r,l,c),e.restore()):(e.fillStyle=S,e.fill()),b&&e.stroke()}function OE(e,t,n,r,i,a,o,s,c,l=0,u,d,f=`t`,p=o,m=!0,h,g,_=a,v=0){let y=d,b=n.seriesDataLabels;if(Sn(b,y)||t.showDataLabelsOverMax!==!0&&g!=null&&Number.isFinite(g)&&_>g)return;let x=y?.showVal??b?.showVal??t.showDataLabels,S=y?.showCatName??b?.showCatName??!1,C=y?.showSerName??b?.showSerName??!1,w=y?.showPercent??b?.showPercent??!1,T=y?.text,E=oo({customText:T,showCategory:S,showSeries:C,showValue:x,showPercent:w,category:n.categories?.[i]??t.categories[i]??`${i+1}`,seriesName:n.name||`Series ${r+1}`,sourceValue:a,valueDivisor:h?.divisor,percentRatio:u!=null&&Number.isFinite(u)?u:void 0,formatCode:y?.formatCode??b?.formatCode??t.dataLabelFormatCode??n.valFormatCode,percentFormatCode:y?.formatCode??b?.formatCode??t.dataLabelFormatCode??`0%`,date1904:t.date1904,separator:y?.separator??b?.separator});if(!E)return;let D=Bt(y?.fontSizeHpt??b?.fontSizeHpt??t.dataLabelFontSizeHpt,c)??9*c,O=y?.fontBold??b?.fontBold??t.dataLabelFontBold??!1,k=Cn(y,b),A=dD(t,y?.fontFace??b?.fontFace??t.dataLabelFontFace);e.font=`${k.fontItalic?`italic `:``}${O?`bold `:``}${D}px ${A}`;let j=`#${y?.fontColor??b?.fontColor??n.labelColor??t.dataLabelFontColor??`111111`}`,M=T&&y?.richRuns?.length?Xc(e,{runs:y.richRuns,ptToPx:c,fontFamily:A,fallbackBold:O,fallbackItalic:k.fontItalic,fallbackBaseline:k.fontBaseline,fallbackColorHidden:k.fontPaintAuthored===!0&&(k.fontHidden===!0||k.fontColor==null),fontFamilyForFace:e=>dD(t,e)},D,j):null,N=M?[]:kn(E,Math.max(D,s.w*.45),Math.max(D*1.2,s.h*.35),D*1.2,t=>e.measureText(t).width,k);if(!M&&!N.length)return;let P=M?.width??Math.max(...N.map(t=>e.measureText(t).width)),F=M?.height??N.length*D*1.2,I=Tn(k,c),L=Dn(P+I.left+I.right,F+I.top+I.bottom,k.textRotation,k.textVerticalMode),R=mn({kind:`point`,x:o.x,y:o.y,position:y?.position??b?.position??t.dataLabelPosition??f,markerGap:l},s,{w:L.w,h:L.h},D,y?.manualLayout,s);if(!R)return;let z=ho(y?.labelBox,b?.labelBox);b?.showLeaderLines&&b.leaderLineHidden!==!0&&m&&(e.beginPath(),e.moveTo(p.x,p.y),e.lineTo(Math.max(R.rect.x,Math.min(p.x,R.rect.x+R.rect.w)),Math.max(R.rect.y,Math.min(p.y,R.rect.y+R.rect.h))),e.strokeStyle=`#${b.leaderLineColor??`808080`}`,e.lineWidth=b.leaderLineWidthEmu==null?.75*c:Math.max(.25,b.leaderLineWidthEmu/Dt*c),e.setLineDash(ki(b.leaderLineDash??`solid`,e.lineWidth)),e.stroke()),go(e,z,R.rect,c,v),e.save(),e.beginPath(),e.rect(R.clip.x,R.clip.y,R.clip.w,R.clip.h),e.clip();let B=wn(k,R.textAlign),V=An(R.x,R.y,R.rect,F+I.top+I.bottom,k,y?.manualLayout!=null,B,R.textAlign,P+I.left+I.right,L.radians),H=On(e,V.x,V.y,L.radians,B,R.textBaseline,I);if(M){Zc(e,M,H.x,H.y,B,R.textBaseline,y?.manualLayout?Math.max(0,R.rect.w-I.left-I.right):M.width),e.restore();return}if(!(k.fontPaintAuthored===!0&&(k.fontHidden===!0||k.fontColor==null))){e.fillStyle=j,e.textAlign=B,e.textBaseline=`middle`;let t=D*1.2,n=(k.fontBaseline??0)*D,r=H.y-(N.length-1)*t/2-n;N.forEach((n,i)=>e.fillText(n,H.x,r+i*t))}e.restore()}function kE(e,t,n){let r=t.seriesDataLabels;return Sn(r,n)?!1:n?.text?!0:(n?.showVal??r?.showVal??e.showDataLabels)||(n?.showCatName??r?.showCatName??!1)||(n?.showSerName??r?.showSerName??!1)||(n?.showPercent??r?.showPercent??!1)}function AE(e,t,n,r,i,a){let o=Xt(t,n.h,r);if(t.title){e.font=`${t.titleFontBold===!1?``:`bold `}${o.fontPx}px ${uD(t.titleFontFace)}`,e.fillStyle=t.titleFontColor?`#${t.titleFontColor}`:`#111111`,e.textAlign=`center`,e.textBaseline=`top`;let r=e.measureText(t.title).width,i={x:n.x+(n.w-r)/2,y:n.y+o.topPad,w:r,h:Math.max(1,o.fontPx)},a=t.titleManualLayout?tn({...t.titleManualLayout,w:void 0,h:void 0},n,i):null;e.fillText(t.title,a?a.x+a.w/2:n.x+n.w/2,a?.y??i.y)}let s=nE(t);e.save();let c=(t.chartType===`pie`?t.series[0]?.categories?.length?t.series[0].categories:t.categories:t.series.map((e,t)=>e.name||`Series ${t+1}`)).flatMap((e,t)=>s.get(t)?.deleted===!0?[]:[{label:e,index:t}]),l=c.map(e=>rE(t,s.get(e.index),r)),u=Math.max(0,...l.map(e=>e.fontPx)),d=c.map((t,n)=>(e.font=l[n].font,7*r+4+e.measureText(t.label).width)),f=Ut(t,n.w,n.h,.23,{itemWidths:d,rowHeight:Math.max(u*1.45,12),itemGap:12,horizontalPadding:8,verticalPadding:4});e.restore();let p=Wt(f,t.legendOverlay===!0),m=Yt(t,n.w,n.h,r),h=Kt(t.catAxisTitleTextVerticalInsetEmu,r),g=Kt(t.valAxisTitleTextVerticalInsetEmu,r),_=i===`horizontal`?t.catAxisTitle?m.catFontPx+h+Jt(n.w)+4:0:i===`vertical`?m.valBandW:0,v=i===`horizontal`?t.valAxisTitle?m.valFontPx+g+Jt(n.h)+4:0:i===`vertical`?m.catBandH:0,y=nn(t,n.x,n.y,n.w,n.h,r,{titleBand:o,legendSideReserveFrac:.23,legendReserve:f,pad:{t:o.bandH+p.legTopH+n.h*.04,r:p.legRightW+n.w*.05,b:p.legBottomH+n.h*.19+v,l:p.legLeftW+n.w*.13+_},honorPlotAreaManualLayout:!0,manualOuterInsets:{t:o.bandH,r:p.legRightW,b:p.legBottomH+v,l:p.legLeftW+_}}),b={x:y.plotRect.px0,y:y.plotRect.py0,w:Math.max(1,y.plotRect.pw),h:Math.max(1,y.plotRect.ph)};il(e,t,b.x,b.y,b.w,b.h,r,a);let x=f?f.side===`r`?{x:n.x+n.w-f.reserveW,y:b.y,w:f.reserveW,h:b.h}:f.side===`l`?{x:n.x,y:b.y,w:f.reserveW,h:b.h}:f.side===`t`?{x:n.x+4,y:n.y+o.bandH,w:Math.max(1,n.w-8),h:f.reserveH}:{x:n.x+4,y:n.y+n.h-f.reserveH,w:Math.max(1,n.w-8),h:f.reserveH}:null;return{plot:b,legend:(x&&t.legendManualLayout?tn(t.legendManualLayout,n,x):null)??x,legendMeasure:{labels:c.map(e=>e.label),styles:l,itemWidths:d}}}function jE(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.save(),e.font=`${l?`italic `:``}${c?`bold `:``}${a}px ${o}`,e.fillStyle=s?`#${s}`:`#555`;let m=f?t:Bc(e,t,p),h=qt(i,u,d),g=r;if(f){let t=e.measureText(m).width,i=Math.abs(Math.cos(h)),o=Math.abs(Math.sin(h)),s={x:r.x-(t*i+a*o)/2,y:r.y-(t*o+a*i)/2,w:t*i+a*o,h:t*o+a*i},c=tn({...f,w:void 0,h:void 0},n,s);c&&(g={x:c.x+c.w/2,y:c.y+c.h/2})}e.translate(g.x,g.y),h&&e.rotate(h),e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(m,0,0),e.restore()}function ME(e,t,n,r,i,a){if(t.valAxisTitle){let o=Gt(t.valAxisTitleFontSizeHpt,a),s=i?`horizontal`:`left`;jE(e,t.valAxisTitle,n,i?{x:r.x+r.w/2,y:r.y+r.h+Jt(n.h)+o/2}:{x:r.x-Jt(n.w)-o/2,y:r.y+r.h/2},s,o,dD(t,t.valAxisTitleFontFace,`major`),t.valAxisTitleFontColor,t.valAxisTitleFontBold??!0,t.valAxisTitleFontItalic??!1,t.valAxisTitleRotation,t.valAxisTitleVerticalMode,t.valAxisTitleManualLayout,i?r.w:r.h)}if(t.catAxisTitle){let o=Gt(t.catAxisTitleFontSizeHpt,a),s=i?`left`:`horizontal`;jE(e,t.catAxisTitle,n,i?{x:r.x-Jt(n.w)-o/2,y:r.y+r.h/2}:{x:r.x+r.w/2,y:r.y+r.h+Jt(n.h)+o/2},s,o,dD(t,t.catAxisTitleFontFace,`major`),t.catAxisTitleFontColor,t.catAxisTitleFontBold??!0,t.catAxisTitleFontItalic??!1,t.catAxisTitleRotation,t.catAxisTitleVerticalMode,t.catAxisTitleManualLayout,i?r.h:r.w)}}function NE(e,t,n,r,i,a,o,s,c,l,u){let d=t.threeD?.seriesAxis;if(!d||d.hidden||t.threeD?.barGrouping!==`standard`||t.series.length===0)return;let f=QE(t,r,i,a,o,s,c),p=BE(r),m=c===`vertical`?p.seriesAxisX:f.axisX,h=c===`horizontal`?p.floorY===r.front.y?r.front.y+r.front.h:r.front.y:p.floorY,g=r.project(m,h,r.topology.nearDepth),_=r.project(m,h,r.topology.farDepth),v=Math.hypot(_.x-g.x,_.y-g.y);if(!(v>1e-6))return;let y={x:(_.x-g.x)/v,y:(_.y-g.y)/v},b={x:-y.y,y:y.x},x=r.project(r.front.x+r.front.w/2,r.front.y+r.front.h/2,.5),S={x:(g.x+_.x)/2,y:(g.y+_.y)/2};(S.x-x.x)*b.x+(S.y-x.y)*b.y<0&&(b={x:-b.x,y:-b.y}),(d.tickLabelPos===`low`&&b.y<0||d.tickLabelPos===`high`&&b.y>0)&&(b={x:-b.x,y:-b.y}),d.lineHidden||(WE(e,HE(d.lineColor,d.lineWidthEmu,d.lineDash,u)),e.beginPath(),e.moveTo(g.x,g.y),e.lineTo(_.x,_.y),e.stroke());let C=Math.max(1,Math.floor(d.tickMarkSkip??1)),w=Math.max(1,Math.floor(d.tickLabelSkip??1)),T=d.majorTickMark??`out`,E=Bt(d.fontSizeHpt,u)??9*u;if(e.font=`${d.fontItalic?`italic `:``}${d.fontBold?`bold `:``}${E}px ${dD(t,d.fontFace)}`,e.fillStyle=d.fontColor?`#${d.fontColor}`:`#595959`,e.textAlign=Math.abs(b.x)<.2?`center`:b.x<0?`right`:`left`,e.textBaseline=Math.abs(b.y)<.2?`middle`:b.y<0?`bottom`:`top`,l&&!d.lineHidden&&T!==`none`){WE(e,UE(d.lineColor,d.lineWidthEmu,d.lineDash,u));let n=t.series.length;for(let t=0;t<=n;t+=C){let i=t/n,a=d.orientation===`maxMin`?1-i:i,o=r.project(m,h,a),s=6*u,c=T===`cross`?s/2:T===`out`?s:0,l=T===`cross`?s/2:T===`in`?s:0;e.beginPath(),e.moveTo(o.x+b.x*c,o.y+b.y*c),e.lineTo(o.x-b.x*l,o.y-b.y*l),e.stroke()}}for(let n=0;n<t.series.length;n++){let i=r.seriesDepth(n,t.series.length,!1),a=d.orientation===`maxMin`?1-i:i,o=r.project(m,h,a);if(!l&&!d.lineHidden&&n%C===0&&T!==`none`){let t=6*u,n=T===`cross`?t/2:T===`out`?t:0,r=T===`cross`?t/2:T===`in`?t:0;e.beginPath(),e.moveTo(o.x+b.x*n,o.y+b.y*n),e.lineTo(o.x-b.x*r,o.y-b.y*r),e.stroke()}d.tickLabelPos!==`none`&&n%w===0&&e.fillText(t.series[n].name||`Series ${n+1}`,o.x+b.x*(6*u+3),o.y+b.y*(6*u+3))}if(e.setLineDash([]),d.title){let i=Gt(d.titleFontSizeHpt,u);jE(e,d.title,n,{x:S.x+b.x*(E+i+12),y:S.y+b.y*(E+i+12)},`horizontal`,i,dD(t,d.titleFontFace,`major`),d.titleFontColor,d.titleFontBold??!0,d.titleFontItalic??!1,d.titleRotation,d.titleVerticalMode,d.titleManualLayout,Math.max(r.front.w,r.front.h))}}function PE(e,t,n,r,i,a,o){let s=Ke(e,`dataPointMarker`,i),c=Z(e,`dataPointMarker`),l=t.chartexFormatIdx??i,u=ht(n?.markerStyle,c,r),d=ht(t.markerStyle,c,l),f=u!==void 0||n?.markerFillPaint!==void 0||n?.markerFill!=null||n?.color!=null||n?.markerFillPaintAuthored===!0&&n.markerStyle?.fillHidden!==!0,p=d!==void 0||t.markerFillPaint!==void 0||t.markerFill!=null||t.markerFillPaintAuthored===!0&&t.markerStyle?.fillHidden!==!0,m=yt(s,c,l),h=f?u??n?.markerFillPaint:p?d??t.markerFillPaint:m,g=tr(t,n,r,a),_=h;h?.fillType===`solid`?(g=h.color,_=void 0):h===null&&(g=`00000000`);let v=gt(n?.markerStyle,c,r),y=gt(t.markerStyle,c,l),b=v!==void 0||n?.markerLine!=null||n?.markerLinePaintAuthored===!0&&n.markerStyle?.lineHidden!==!0,x=y!==void 0||t.markerLine!=null||t.markerLinePaintAuthored===!0&&t.markerStyle?.lineHidden!==!0,S=pt(s,l),C=b?v??(n?.markerLinePaintAuthored===!0?null:void 0):x?y??(t.markerLinePaintAuthored===!0?null:void 0):S,w=n?.markerLine??t.markerLine??t.lineColor??a,T=C;C?.fillType===`solid`?(w=C.color,T=void 0):C===null&&(w=`00000000`);let E=n?.markerStyle??t.markerStyle??s,D=Be(n?.markerStyle,t.markerStyle,s);return{fill:g,fillPaint:_,line:w,linePaint:T,lineWidth:(n?.markerLineWidthEmu??t.markerLineWidthEmu??E?.lineWidthEmu)==null?Math.max(.75,o):Math.max(.25,(n?.markerLineWidthEmu??t.markerLineWidthEmu??E?.lineWidthEmu??0)/Dt*o),lineDash:D?.lineDash,lineCustomDash:D?.lineCustomDash,lineCap:E?.lineCap,lineJoin:E?.lineJoin,effectDirect:va(n?.markerStyle,n?.chartexStyle,t.markerStyle),effectFallback:s,effectIndex:n?.markerStyle||n?.chartexStyle?r:l,effectFallbackIndex:l}}function FE(e,t,n,r,i,a,o,s,c,l,u,d){let f=fE(t,n,r,i,a,d),p=mT(t,n,i,a),m={x:o,y:s-c/2,w:c,h:c},h=e=>{if(f.fill!==null){let t=f.fill===void 0?f.color:f.fill.fillType===`image`?null:Vi(f.fill,e,m.x,m.y,m.w,m.h,u);t&&(e.fillStyle=t,e.fillRect(m.x,m.y,m.w,m.h))}let t=f.lineFill===void 0?f.lineColor:f.lineFill==null||f.lineFill.fillType===`image`?null:Vi(f.lineFill,e,m.x,m.y,m.w,m.h,u);t&&(e.strokeStyle=t,e.lineWidth=f.lineWidthEmu==null?.75*l:Math.max(.25,f.lineWidthEmu/Dt*l),e.setLineDash(Ai(f.lineCustomDash,f.lineDash,e.lineWidth)),e.lineCap=f.lineCap,e.lineJoin=f.lineJoin,e.strokeRect(m.x,m.y,m.w,m.h),e.setLineDash([]))},g=va(r?.chartexStyle,n.chartexStyle);Aa(e,g,Ke(t,`dataPoint3D`,a),g===r?.chartexStyle?i:p,m,l,h,p)}function IE(e,t,n,r,i,a,o,s,c,l){let u=fE(t,n,void 0,r,r,!1),d=u.lineFill===void 0?u.lineColor==null?u.fill:{fillType:`solid`,color:u.lineColor.replace(/^#/,``)}:u.lineFill;if(d!==null){let i=u.lineWidthEmu==null?Math.max(1,2*c):Math.max(.5,u.lineWidthEmu/Dt*c),f={x:a,y:o-i/2,w:s,h:i},p=d===void 0?u.color:d.fillType===`image`?null:d.fillType===`solid`?`#${d.color}`:Vi(d,e,a,o-i/2,s,i,l);if(p){let m=t=>{t.beginPath(),t.moveTo(a,o),t.lineTo(a+s,o),t.strokeStyle=t===e?p:d===void 0?u.color:d.fillType===`image`?`rgba(0,0,0,0)`:d.fillType===`solid`?`#${d.color}`:Vi(d,t,a,o-i/2,s,i,l)??`rgba(0,0,0,0)`,t.lineWidth=i,t.setLineDash(Ai(u.lineCustomDash,u.lineDash,i)),t.stroke(),t.setLineDash([])},h=mT(t,n,r,r);Aa(e,va(n.chartexStyle),Ke(t,`dataPoint3D`,r),h,f,c,m,h)}}if(n.showMarker!==!0||n.markerSymbol===`none`)return;let f=n.markerSymbol??`circle`,p=PE(t,n,void 0,r,r,i.replace(/^#/,``),c);DE(e,{x:a+s/2,y:o},f,Math.min(s,Math.max(2,(n.markerSize??5)*c)),p.fill===`00000000`?`transparent`:`#${p.fill.replace(/^#/,``)}`,p.line===`00000000`?`rgba(0,0,0,0)`:`#${p.line.replace(/^#/,``)}`,p.lineWidth,p.fillPaint,l,c,p.effectDirect,p.effectFallback,p.effectIndex,p.effectFallbackIndex,p.linePaint,p.lineDash,p.lineCustomDash,p.lineCap,p.lineJoin)}function LE(e,t,n,r,i=!1,a,o=0){if(!n)return;os(e,t,n,r,o);let s=new Map(t.series[0]?.dataPointOverrides?.map(e=>[e.idx,e])??[]),c=i?(t.series[0]?.categories?.length?t.series[0].categories:t.categories).map((e,n)=>{let r=t.series[0]?.dataPointColors?.[n];return{label:e,color:r===`00000000`?`transparent`:r?`#${r}`:lD(n),series:t.series[0],point:s.get(n),sourceIndex:n,seriesIndex:0}}):t.series.map((e,t)=>({label:e.name||`Series ${t+1}`,color:lD(t,e),series:e,point:void 0,sourceIndex:t,seriesIndex:t})),l=nE(t),u=c.filter(e=>l.get(e.sourceIndex)?.deleted!==!0),d=a!=null&&a.labels.length===u.length&&a.labels.every((e,t)=>e===u[t].label),f=d?a.styles:u.map(e=>rE(t,l.get(e.sourceIndex),r));e.textAlign=`left`,e.textBaseline=`middle`;let p=Math.max(Math.max(0,...f.map(e=>e.fontPx))*1.45,12),m=Math.min(7*r,p*.7);if(t.legendPos===`t`||t.legendPos===`b`||t.legendManualLayout!=null&&n.w>=n.h){let s=d?a.itemWidths:u.map((t,n)=>(e.font=f[n].font,m+4+e.measureText(t.label).width)),c=zt(s,Math.max(1,n.w-8),12).slice(0,Math.max(0,Math.floor((n.h-4+1e-6)/p))),l=n.y+2+p/2;for(let a of c){let c=a.map(e=>Math.min(n.w,s[e])),d=c.reduce((e,t)=>e+t,0)+Math.max(0,a.length-1)*12,h=n.x+Math.max(4,(n.w-d)/2);for(let n=0;n<a.length;n++){let s=a[n],d=u[s],p=f[s];e.font=p.font;let g=Math.max(0,c[n]-m-4);!i&&t.chartType.toLowerCase().includes(`line`)&&d.series?IE(e,t,d.series,d.seriesIndex,d.color,h,l,m,r,o):d.series&&FE(e,t,d.series,d.point,d.sourceIndex,d.seriesIndex,h,l,m,r,o,i),e.fillStyle=p.color,e.fillText(Bc(e,d.label,g),h+m+4,l),h+=c[n]+12}l+=p}return}let h=n.y;for(let a=0;a<u.length;a++){let s=u[a],c=f[a];e.font=c.font;let l=n.x+8+m,d=Math.max(0,n.x+n.w-4-l),g=Math.max(c.fontPx*1.2,10),_=_n(s.label,d,g*(i?1:2),g,t=>e.measureText(t).width);if(_.length===0)continue;let v=Math.max(p,_.length*g+2);if(h+v>n.y+n.h+1e-6)break;let y=h+v/2;!i&&t.chartType.toLowerCase().includes(`line`)&&s.series?IE(e,t,s.series,s.seriesIndex,s.color,n.x+4,y,m,r,o):s.series&&FE(e,t,s.series,s.point,s.sourceIndex,s.seriesIndex,n.x+4,y,m,r,o,i),e.fillStyle=c.color;let b=y-(_.length-1)*g/2;_.forEach((t,n)=>e.fillText(t,l,b+n*g)),h+=v}}function RE(e,t,n,r,i,a){let o=i?100:1,s=e.valAxisMinorTickMark??`none`;return Ic({dataMin:t,dataMax:n,explicitMin:e.valMin==null?i?t:null:e.valMin*o,explicitMax:e.valMax==null?i?n:null:e.valMax*o,majorUnit:e.valAxisMajorUnit==null?null:e.valAxisMajorUnit*o,minorUnit:e.valAxisMinorUnit==null?null:e.valAxisMinorUnit*o,axisLenPt:r,axisOrientation:a,logBase:e.valAxisLogBase,reversed:e.valAxisOrientation===`maxMin`,needMinor:e.valAxisMinorGridlines===!0||s!==`none`})}function zE(e,t,n){let r=e!=null&&Number.isFinite(e)?(e%360+360)%360:0,i=Number.isFinite(t)?Math.max(0,Math.min(1,t)):0,a=Number.isFinite(n)?Math.max(0,Math.min(1-i,n)):0,o=Math.PI/2-(r*Math.PI/180+i*Math.PI*2),s=o-a*Math.PI*2;return{start:Math.min(o,s),end:Math.max(o,s),middle:(o+s)/2,leading:o}}function BE(e){let{front:t}=e,n=t.x,r=t.x+t.w,i=e.topology.farX===`min`?n:r,a=i===n?r:n,o=e.topology.axisY===`min`?t.y:t.y+t.h,s=o===t.y?t.y+t.h:t.y,{nearDepth:c,farDepth:l}=e.topology,u=e.project(n,o,c),d=e.project(r,o,c),f=e.project(r,o,l),p=e.project(n,o,l),m=e.project(n,s,l),h=e.project(r,s,l),g=e.project(i,o,c),_=e.project(i,o,l),v=e.project(i,s,l),y=e.project(i,s,c);return{floor:[u,d,f,p],sideWall:[g,_,v,y],backWall:[p,f,h,m],sideX:i,seriesAxisX:a,floorY:o,oppositeFloorY:s,nearDepth:c,farDepth:l}}function VE(e,t,n,r,i=`A6A6A6`,a=.75){let o=t!=null&&Number.isFinite(t)&&t>=0?Math.max(.25,t/Dt*r):a*r;return{color:`#${e??i}`,width:o,dash:ki(n??`solid`,o)}}function HE(e,t,n,r){let i=VE(e,t,n,r,`898989`,1);if(t==null||!Number.isFinite(t)||t<0)return i;let a=t/Dt*r;if(!(a>0))return i;let o=a;return{...i,width:o,dash:ki(n??`solid`,o)}}function UE(e,t,n,r){return HE(e,t,n,r)}function WE(e,t){e.strokeStyle=t.color,e.lineWidth=t.width,e.setLineDash(t.dash)}function GE(e,t,n,r,i,a,o,s,c){let{front:l}=n,u=l.x,d=l.x+l.w,f=BE(n),{sideX:p,floorY:m,oppositeFloorY:h,nearDepth:g,farDepth:_}=f,v=QE(t,n,r,a,o,s,i),y=[],b=t.catAxisLinePaintAuthored===!0,x=t.valAxisLinePaintAuthored===!0,S=i===`vertical`?b&&!t.catAxisHidden&&!t.catAxisLineHidden:x&&!t.valAxisHidden&&!t.valAxisLineHidden,C=i===`vertical`?x&&!t.valAxisHidden&&!t.valAxisLineHidden:b&&!t.catAxisHidden&&!t.catAxisLineHidden;S&&y.push([v.horizontalStart,v.horizontalEnd]),C&&y.push([v.verticalStart,v.verticalEnd]);let w=t.threeD?.seriesAxis,T=w?.linePaintAuthored===!0;if(w&&!w.hidden&&!w.lineHidden&&T&&t.threeD?.barGrouping===`standard`&&t.series.length>0){let e=i===`vertical`?f.seriesAxisX:v.axisX,t=i===`horizontal`?m===n.front.y?n.front.y+n.front.h:n.front.y:m;y.push([n.project(e,t,g),n.project(e,t,_)])}let E=(e,t)=>Math.hypot(e.x-t.x,e.y-t.y)<=1e-6,D=(e,t)=>y.some(([n,r])=>E(e,n)&&E(t,r)||E(e,r)&&E(t,n)),O=(e,t)=>{let r=gl(n,e,t?.thicknessPercent),i=r.faces.map((e,t)=>({scenePoints:e,faceIndex:t})).filter(({scenePoints:e})=>r.thickness===0||n.cameraFacing(e)).map(({scenePoints:e,faceIndex:t})=>({faceIndex:t,scenePoints:e,points:e.map(e=>n.projectUnbounded(e.x,e.y,e.depth)),depth:e.reduce((e,t)=>e+n.cameraDepth(t.x,t.y,t.depth),0)/e.length})).sort((e,t)=>e.depth-t.depth);return{slab:r,faces:i,visibleFaceIndices:new Set(i.map(e=>e.faceIndex))}},k=O(`floor`,t.threeD?.floor),A=O(`sideWall`,t.threeD?.sideWall),j=O(`backWall`,t.threeD?.backWall),M=k.faces,N=A.faces,P=j.faces,F=(i,a,o,s)=>{let c=St(t,a,o),l=i.faces;if(!c.fill||!l.length)return;if(c.fill.fillType===`image`){let t=Os(c.fill);if(!t)return;bc(e,c.fill,t,a,s,i.slab,i.faces.map(e=>e.faceIndex),e=>n.projectUnbounded(e.x,e.y,e.depth),r.max-r.min);return}let u=l.flatMap(e=>e.points),d=Math.min(...u.map(e=>e.x)),f=Math.max(...u.map(e=>e.x)),p=Math.min(...u.map(e=>e.y)),m=Math.max(...u.map(e=>e.y)),h=c.fill.fillType===`solid`?`#${c.fill.color}`:Vi(c.fill,e,d,p,f-d,m-p);if(h)for(let t of l)t.points.length<3||(hE(e,t.points),e.fillStyle=h,e.fill())};F(k,t.threeD?.floor,`floor`,`floor`),F(A,t.threeD?.sideWall,`wall`,`sideWall`),F(j,t.threeD?.backWall,`wall`,`backWall`);let I=(t,r,i,a,o=!0)=>{for(let s of _l(t.slab,r,i,a)){if(!o&&s.faceIndex!==0||!t.visibleFaceIndices.has(s.faceIndex))continue;let[r,i]=s.scenePoints.map(e=>n.projectUnbounded(e.x,e.y,e.depth));e.beginPath(),e.moveTo(r.x,r.y),e.lineTo(i.x,i.y),e.stroke()}},L=(t,a,o)=>{WE(e,a);for(let a of t){let t=r.fraction(a);if(o){i===`horizontal`?(I(k,`floor`,`x`,t),I(j,`backWall`,`x`,t)):(I(A,`sideWall`,`y`,t),I(j,`backWall`,`y`,t));continue}if(i===`horizontal`){let r=l.x+t*l.w,i=n.project(r,m,_),a=n.project(r,h,_);e.beginPath(),e.moveTo(i.x,i.y),e.lineTo(a.x,a.y),e.stroke()}else{let r=l.y+l.h-t*l.h,i=n.project(p,r,g),a=n.project(p,r,_),o=n.project(p===u?d:u,r,_);e.beginPath(),e.moveTo(i.x,i.y),e.lineTo(a.x,a.y),e.stroke(),e.beginPath(),e.moveTo(a.x,a.y),e.lineTo(o.x,o.y),e.stroke()}}};t.valAxisMinorGridlines===!0&&L(r.minorTicks,VE(t.valAxisMinorGridlineColor,t.valAxisMinorGridlineWidthEmu,t.valAxisMinorGridlineDash,c,`D9D9D9`,.5),!0),t.valAxisMajorGridlines===!0&&L(r.majorTicks,VE(t.valAxisGridlineColor,t.valAxisGridlineWidthEmu,t.valAxisGridlineDash,c,`898989`,1),!0);let R=(t,n)=>{WE(e,n);for(let e of t)i===`vertical`?(I(k,`floor`,`x`,e),I(j,`backWall`,`x`,e)):(I(A,`sideWall`,`y`,e),I(j,`backWall`,`y`,e))};t.catAxisMinorGridlines===!0&&R(Ft(a,o),VE(t.catAxisMinorGridlineColor,t.catAxisMinorGridlineWidthEmu,t.catAxisMinorGridlineDash,c,`E0E0E0`,.5)),t.catAxisMajorGridlines===!0&&R(Pt(a,o),VE(t.catAxisGridlineColor,t.catAxisGridlineWidthEmu,t.catAxisGridlineDash,c,`E0E0E0`,.5));let z=(n,r,i)=>{if(!n.length)return;let a=St(t,r,i);if(a.line===null)return;let o=a.line??{fillType:`solid`,color:`898989`},s=n.flatMap(e=>e.points),l=Math.min(...s.map(e=>e.x)),u=Math.max(...s.map(e=>e.x)),d=Math.min(...s.map(e=>e.y)),f=Math.max(...s.map(e=>e.y)),p=o.fillType===`solid`?`#${o.color}`:Vi(o,e,l,d,u-l,f-d);if(!p)return;let m=a.lineWidthEmu==null?c:Math.max(.25,a.lineWidthEmu/Dt*c);e.strokeStyle=p,e.lineWidth=m,e.setLineDash(Ai(a.lineCustomDash,a.lineDash,m)),e.lineCap=a.lineCap===`rnd`?`round`:a.lineCap===`sq`?`square`:`butt`,e.lineJoin=a.lineJoin===`round`||a.lineJoin===`bevel`?a.lineJoin:`miter`;for(let t of n){if(t.points.length<2)continue;let n=t.points.map((e,n)=>({start:e,end:t.points[(n+1)%t.points.length]}));if(n.some(e=>D(e.start,e.end))){for(let t of n)D(t.start,t.end)||(e.beginPath(),e.moveTo(t.start.x,t.start.y),e.lineTo(t.end.x,t.end.y),e.stroke());continue}e.beginPath(),e.moveTo(t.points[0].x,t.points[0].y);for(let n=1;n<t.points.length;n++)e.lineTo(t.points[n].x,t.points[n].y);e.lineTo(t.points[0].x,t.points[0].y),e.closePath(),e.stroke()}};z(M,t.threeD?.floor,`floor`),z(N,t.threeD?.sideWall,`wall`),z(P,t.threeD?.backWall,`wall`),e.setLineDash([])}function KE(e,t,n,r,i,a,o,s,c){let l=QE(t,n,r,i,a,o,c),u=c===`vertical`?!t.catAxisHidden&&!t.catAxisLineHidden:!t.valAxisHidden&&!t.valAxisLineHidden,d=c===`vertical`?!t.valAxisHidden&&!t.valAxisLineHidden:!t.catAxisHidden&&!t.catAxisLineHidden;u&&(WE(e,HE(c===`vertical`?t.catAxisLineColor:t.valAxisLineColor,c===`vertical`?t.catAxisLineWidthEmu:t.valAxisLineWidthEmu,c===`vertical`?t.catAxisLineDash:t.valAxisLineDash,s)),e.beginPath(),e.moveTo(l.horizontalStart.x,l.horizontalStart.y),e.lineTo(l.horizontalEnd.x,l.horizontalEnd.y),e.stroke()),d&&(WE(e,HE(c===`vertical`?t.valAxisLineColor:t.catAxisLineColor,c===`vertical`?t.valAxisLineWidthEmu:t.catAxisLineWidthEmu,c===`vertical`?t.valAxisLineDash:t.catAxisLineDash,s)),e.beginPath(),e.moveTo(l.verticalStart.x,l.verticalStart.y),e.lineTo(l.verticalEnd.x,l.verticalEnd.y),e.stroke()),e.setLineDash([])}function qE(e,t,n,r){let i={x:(e.x+t.x)/2,y:(e.y+t.y)/2};return r===`horizontal`?{x:i.x<=n.x?-1:1,y:0}:{x:0,y:i.y<=n.y?-1:1}}function JE(e,t,n,r,i,a,o,s,c){if(!t||t===`none`)return;let l=qE(r,i,a,o),u=YE(s,c),d=t===`cross`?u/2:u,f=t===`out`||t===`cross`?d:0,p=t===`in`||t===`cross`?d:0;e.beginPath(),e.moveTo(n.x+l.x*f,n.y+l.y*f),e.lineTo(n.x-l.x*p,n.y-l.y*p),e.stroke()}function YE(e,t){return(e===`minor`?4:6)*t}function XE(e,t,n){if(e!==`out`&&e!==`cross`)return 0;let r=YE(t,n);return e===`cross`?r/2:r}function ZE(e,t,n,r){if(t)return r;let i=XE(e,`major`,n);return Math.max(r,i+3*n)}function QE(e,t,n,r,i,a,o){let{front:s}=t,c=e=>Math.max(0,Math.min(1,e)),l=t.topology.axisX===`min`?s.x:s.x+s.w,u=t.topology.axisY===`min`?s.y:s.y+s.h,d=()=>{if(e.catAxisCrossesAt!=null&&Number.isFinite(e.catAxisCrossesAt)){let t=e.chartType.endsWith(`Pct`)?e.catAxisCrossesAt*100:e.catAxisCrossesAt;return c(n.fraction(t))}let t=e.catAxisCrosses??`autoZero`;return c(t===`min`?n.fraction(n.min):t===`max`?n.fraction(n.max):n.fraction(0))},f=()=>{let t=e.valAxisCrossesAt;if(t!=null&&Number.isFinite(t))return Nt(t-1,r,i,a);let n=e.valAxisCrosses;if(n!==`min`&&n!==`max`)return null;let o=+(n===`max`);return a?1-o:o},p=d(),m=f(),h=o===`horizontal`?s.x+p*s.w:m==null?l:s.x+m*s.w,g=o===`vertical`?s.y+s.h-p*s.h:m==null?u:s.y+m*s.h,_=t.topology.nearDepth;return{axisX:h,axisY:g,depth:_,horizontalStart:t.project(s.x,g,_),horizontalEnd:t.project(s.x+s.w,g,_),verticalStart:t.project(h,s.y+s.h,_),verticalEnd:t.project(h,s.y,_)}}function $E(e,t,n,r,i,a,o,s,c,l){let{front:u}=n,d=QE(t,n,r,i,a,o,s),{axisX:f,axisY:p,depth:m}=d,h=n.project(u.x+u.w/2,u.y+u.h/2,m),g=t.valAxisMinorTickMark??`none`,_=c?UE:HE;if(!t.valAxisHidden&&!t.valAxisLineHidden){WE(e,_(t.valAxisLineColor,t.valAxisLineWidthEmu,t.valAxisLineDash,l));let i=e=>s===`horizontal`?n.project(u.x+r.fraction(e)*u.w,p,m):n.project(f,u.y+u.h-r.fraction(e)*u.h,m),a=s===`horizontal`?d.horizontalStart:d.verticalStart,o=s===`horizontal`?d.horizontalEnd:d.verticalEnd;for(let n of r.majorTicks)JE(e,t.valAxisMajorTickMark,i(n),a,o,h,s===`vertical`?`horizontal`:`vertical`,`major`,l);for(let t of r.minorTicks)JE(e,g,i(t),a,o,h,s===`vertical`?`horizontal`:`vertical`,`minor`,l)}if(!t.catAxisHidden&&!t.catAxisLineHidden){WE(e,_(t.catAxisLineColor,t.catAxisLineWidthEmu,t.catAxisLineDash,l));let r=s===`vertical`?d.horizontalStart:d.verticalStart,g=s===`vertical`?d.horizontalEnd:d.verticalEnd,v=Math.max(1,Math.floor(t.catAxisTickMarkSkip??1)),y=i=>{let a=s===`vertical`?n.project(u.x+i*u.w,p,m):n.project(f,u.y+i*u.h,m);JE(e,t.catAxisMajorTickMark,a,r,g,h,s===`vertical`?`vertical`:`horizontal`,`major`,l)};if(c){let e=Pt(i,a);for(let t=0;t<e.length;t+=v)y(o?1-e[t]:e[t])}else for(let e=0;e<i;e+=v)y(Nt(e,i,a,o));let b=t.catAxisMinorUnit;if(t.catAxisMinorTickMark&&t.catAxisMinorTickMark!==`none`&&b!=null&&Number.isFinite(b)&&b>0){let c=t.catAxisMajorUnit!=null&&Number.isFinite(t.catAxisMajorUnit)&&t.catAxisMajorUnit>0?t.catAxisMajorUnit:v,d=Math.min(512,Math.ceil(i/b));for(let _=1;_<d;_++){let d=_*b;if(!(d<i))break;if(Math.abs(d/c-Math.round(d/c))<1e-9)continue;let v=Nt(d,i,a,o),y=s===`vertical`?n.project(u.x+v*u.w,p,m):n.project(f,u.y+v*u.h,m);JE(e,t.catAxisMinorTickMark,y,r,g,h,s===`vertical`?`vertical`:`horizontal`,`minor`,l)}}}e.setLineDash([])}function eD(e,t,n,r,i){if(!t.threeD)return!1;let a=t.chartType===`clusteredBar`||t.chartType===`clusteredBarH`||t.chartType.startsWith(`stackedBar`),o=t.chartType.endsWith(`H`)||t.chartType.includes(`BarH`),s=t.chartType.startsWith(`stacked`),c=a&&!s&&t.threeD.barGrouping===`standard`,{plot:l,legend:u,legendMeasure:d}=AE(e,t,n,r,o?`horizontal`:`vertical`,i),f=yl(t.threeD,l,{sceneDepthScale:a?c?.65:.1:.4,perspectiveTangentGain:c?1:2,sceneHeightScale:!a&&!(t.threeD.heightPercentAuthored??t.threeD.heightPercent!=null)?1/3:void 0});if(!f)return!0;f=vl(f,t.threeD,l);let p=t.chartType.endsWith(`Pct`),m=t.series.find(e=>(e.categories?.length??0)>0)?.categories??t.categories,h=Math.max(1,m.length,...t.series.map(e=>e.values.length)),g=p?sE(t,h):void 0,_=t.catAxisOrientation===`maxMin`,v=t.catAxisCrossBetween===`between`,y=t.dispBlanksAs??`gap`,b=t.valAxisLogBase!=null&&Number.isFinite(t.valAxisLogBase)&&t.valAxisLogBase>=2,x=(e,n)=>{let r=t.series[e]?.values[n];return r!=null&&Number.isFinite(r)&&(!b||r>0)||r==null&&(s||y===`zero`)},S=(e,n)=>cE(t,e,n,g),C=0,w=0;if(s){for(let e=0;e<h;e++){let n=0,r=0;for(let i=0;i<t.series.length;i++){let t=S(i,e);t>=0?n=lE(n,t):r=lE(r,t)}C=Math.min(C,r),w=Math.max(w,n)}p&&(C=C<0?-100:0,w=w>0?100:0,C===0&&w===0&&(w=1))}else{let e=Sc(t.series.flatMap(e=>e.values).filter(e=>e!=null&&Number.isFinite(e)&&(!b||e>0)),b?{min:1,max:10}:{min:0,max:1});C=b?e.min:Math.min(0,e.min),w=b?e.max:Math.max(0,e.max)}let T=o?f.project(f.front.x,f.topology.axisY===`min`?f.front.y:f.front.y+f.front.h,f.topology.nearDepth):f.project(f.topology.axisX===`min`?f.front.x:f.front.x+f.front.w,f.front.y,f.topology.nearDepth),E=o?f.project(f.front.x+f.front.w,f.topology.axisY===`min`?f.front.y:f.front.y+f.front.h,f.topology.nearDepth):f.project(f.topology.axisX===`min`?f.front.x:f.front.x+f.front.w,f.front.y+f.front.h,f.topology.nearDepth),D=Math.hypot(E.x-T.x,E.y-T.y)/r,O=RE(t,C,w,D,p,o?`horizontal`:`vertical`),k=e=>Number.isFinite(e)?Math.max(O.min,Math.min(O.max,e)):O.min;a||GE(e,t,f,O,o?`horizontal`:`vertical`,h,v,_,r);let{front:A}=f,j=Math.max(1,t.series.length),M=[],N=t.series.map(e=>new Map(e.dataPointOverrides?.map(e=>[e.idx,e])??[])),P=t.series.map(e=>new Map(e.dataLabelOverrides?.map(e=>[e.idx,e])??[]));if(a){let a=f.prismInterval(0,1,!0),l=[],u=Array(h).fill(0),d=Array(h).fill(0),m=(o?A.h:A.w)/h,g=t.barGapWidth!=null&&Number.isFinite(t.barGapWidth)&&t.barGapWidth>=0?t.barGapWidth:150;for(let e=0;e<t.series.length;e++){let n=t.series[e],i=c?f.prismInterval(e,j,!1):a,v=dl(m,g,c?0:e,c?1:j,s||c);for(let a=0;a<h;a++){if(!x(e,a))continue;let c=S(e,a),f=fE(t,n,N[e].get(a),a,e),g=f.fill===null?`transparent`:f.color,y=f.lineFill!==null&&(f.lineColor!=null||f.lineFill!==void 0),C=s?c>=0?u[a]:d[a]:0,w=lE(C,c);s&&(c>=0?u[a]=w:d[a]=w);let T=k(C),E=k(w),D=n.threeDShape??t.threeD.shape??`box`,j=D===`cone`||D===`pyramid`,M=D===`coneToMax`||D===`pyramidToMax`,P=e=>{if(!j)return 1;let t=b&&!(C>0)?O.min:C,n=O.fraction(t),r=O.fraction(w),i=O.fraction(e),a=r-n;return a===0||!Number.isFinite(a)||!Number.isFinite(i-n)?+(e===t):Math.max(0,Math.min(1,1-(i-n)/a))},F=e=>{if(!M)return 1;let t=w>=C?O.max:O.min,n=b?O.min:0,r=O.fraction(t),i=O.fraction(n),a=O.fraction(e),o=Math.abs(r-i);return!(o>0)||![r,i,a].every(Number.isFinite)?fl(e,O.min,O.max):Math.max(0,Math.min(1,Math.abs(r-a)/o))},I=M?F(T):P(T),L=M?F(E):P(E);if(o){let t=A.x+O.fraction(T)*A.w,n=A.x+O.fraction(E)*A.w,o=_?h-1-a:a,s=A.y+o*m+v.offset;l.push({x:Math.min(t,n),y:s,width:Math.abs(n-t),height:v.size,nearDepth:i.near,farDepth:i.far,categoryIndex:a,seriesIndex:e,color:g,fillPaint:f.fill,lineFill:f.lineFill,shape:D,baseCoord:t,endCoord:n,baseScale:I,endScale:L,omitBaseCap:!1,omitEndCap:!1,outline:y,outlineColor:f.lineColor??`rgba(0,0,0,0.42)`,outlineWidth:f.lineWidthEmu==null?.75*r/Ot:iE(f.lineWidthEmu,r),outlineDash:f.lineDash??`solid`,outlineCustomDash:f.lineCustomDash,outlineCap:f.lineCap,outlineJoin:f.lineJoin,labelValue:p?c/100:c,plottedLabelValue:w})}else{let t=A.y+A.h-O.fraction(T)*A.h,n=A.y+A.h-O.fraction(E)*A.h,o=_?h-1-a:a,s=A.x+o*m+v.offset;l.push({x:s,y:Math.min(t,n),width:v.size,height:Math.abs(n-t),nearDepth:i.near,farDepth:i.far,categoryIndex:a,seriesIndex:e,color:g,fillPaint:f.fill,lineFill:f.lineFill,shape:D,baseCoord:t,endCoord:n,baseScale:I,endScale:L,omitBaseCap:!1,omitEndCap:!1,outline:y,outlineColor:f.lineColor??`rgba(0,0,0,0.42)`,outlineWidth:f.lineWidthEmu==null?.75*r/Ot:iE(f.lineWidthEmu,r),outlineDash:f.lineDash??`solid`,outlineCustomDash:f.lineCustomDash,outlineCap:f.lineCap,outlineJoin:f.lineJoin,labelValue:p?c/100:c,plottedLabelValue:w})}}}if(s){let e=aE(l,h);for(let t=0;t<h;t++){let n=e[t];for(let e of[-1,1]){let t=n.filter(t=>Math.sign(t.labelValue)===e&&!fD(t.color)&&Math.abs(t.endCoord-t.baseCoord)>1e-9).sort((e,t)=>e.seriesIndex-t.seriesIndex);for(let e=0;e+1<t.length;e++){let n=t[e],r=t[e+1],i=1e-8*Math.max(1,Math.abs(n.endCoord),Math.abs(r.baseCoord));n.shape!==r.shape||Math.abs(n.endCoord-r.baseCoord)>i||Math.abs(n.endScale-r.baseScale)>1e-9||n.nearDepth!==r.nearDepth||n.farDepth!==r.farDepth||(n.omitEndCap=!0,r.omitBaseCap=!0)}}let r=n.find(e=>e.labelValue>0&&!fD(e.color)),i=n.find(e=>e.labelValue<0&&!fD(e.color));if(r&&i){let e=1e-8*Math.max(1,Math.abs(r.baseCoord),Math.abs(i.baseCoord));r.shape===i.shape&&Math.abs(r.baseCoord-i.baseCoord)<=e&&Math.abs(r.baseScale-i.baseScale)<=1e-9&&r.nearDepth===i.nearDepth&&r.farDepth===i.farDepth&&(r.omitBaseCap=!0,i.omitBaseCap=!0)}}}GE(e,t,f,O,o?`horizontal`:`vertical`,h,v,_,r);let y={remaining:BT,exceeded:!1},C=l.map(t=>{let n=vE(f,t.shape,o,t.x,t.y,t.width,t.height,t.baseCoord,t.endCoord,t.nearDepth,t.farDepth,t.color,t.baseScale,t.endScale,t.omitBaseCap,t.omitEndCap,t.outline&&t.outlineColor?{color:t.outlineColor,width:t.outlineWidth,dash:Ai(t.outlineCustomDash,t.outlineDash,t.outlineWidth),cap:t.outlineCap,join:t.outlineJoin}:void 0,y);return CE(e,n,`fill`,t.fillPaint,i),CE(e,n,`outline`,t.lineFill,i),{item:t,faces:n}}),w=C.flatMap(e=>e.faces);if(y.exceeded)return wE(e,n),!0;for(let t of jT(w))xE(e,t);for(let{item:n,faces:i}of C){let a=t.series[n.seriesIndex],o=N[n.seriesIndex].get(n.categoryIndex),s=mT(t,a,n.categoryIndex,n.seriesIndex),c=va(o?.chartexStyle),l=va(a.chartexStyle);Oa(e,c??l,Ke(t,`dataPoint3D`,n.seriesIndex),c?n.categoryIndex:s,r,e=>SE(e,i),s)}for(let a of l){let s=t.series[a.seriesIndex],c=o?f.project(a.endCoord,a.y+a.height/2,(a.nearDepth+a.farDepth)/2):f.project(a.x+a.width/2,a.endCoord,(a.nearDepth+a.farDepth)/2),l=P[a.seriesIndex].get(a.categoryIndex);kE(t,s,l)&&M.push(()=>OE(e,t,s,a.seriesIndex,a.categoryIndex,a.labelValue,c,n,r,0,void 0,l,`t`,c,!0,t.valAxisDisplayUnits,O.max,a.plottedLabelValue,i))}}else{let a=t.series.map(()=>Array(h).fill(0)),o=t.series.map(()=>Array(h).fill(0));if(s){let e=Array(h).fill(0),n=Array(h).fill(0);for(let r=0;r<t.series.length;r++)for(let t=0;t<h;t++){let i=S(r,t),s=i>=0?e[t]:n[t];a[r][t]=s,o[r][t]=lE(s,i),i>=0?e[t]=lE(e[t],i):n[t]=lE(n[t],i)}}let c=e=>{let t=f.seriesDepth(e,j,s),n=0,r=0;for(let i=0;i<h;i++){if(!x(e,i))continue;let a=s?o[e][i]:S(e,i),c=A.x+Nt(i,h,v,_)*A.w,l=A.y+A.h-O.fraction(k(a))*A.h;n+=f.cameraDepth(c,l,t),r++}return r>0?n/r:-1/0},l=t.series.map((e,t)=>t).sort((e,t)=>c(e)-c(t)||t-e),u=t.series.map((e,n)=>fE(t,e,void 0,n,n)),d=[],m=[],g=!1;for(let c of l){if(g)break;let l=t.series[c],b=u[c],C=b.fill===null?`transparent`:b.color,w=s?f.prismInterval(0,1,!0):f.prismInterval(c,j,!1),T=A.x+A.w/2,E=A.y+A.h/2,D=f.cameraDepth(T,E,w.near)>=f.cameraDepth(T,E,w.far)?w.near:w.far,k=[],F=[],I=[],L=[],R=[],z=[],B=[],V=[],H=[],ee=[];for(let e=0;e<h;e++){if(!x(c,e)){k.push(null),F.push(null),I.push(null),L.push(null),R.push(null),z.push(null),B.push(null),V.push(null),H.push(null),ee.push(null);continue}let n=s?o[c][e]:S(c,e),r=s?a[c][e]:0,i=A.x+Nt(e,h,v,_)*A.w,l=O.fraction(n),u=O.fraction(r),d=Number.isFinite(u)?u:r<=O.min?0:1,p=Number.isFinite(l)&&l>=0&&l<=1,m=Number.isFinite(l)?Math.max(0,Math.min(1,l)):n<=O.min?0:1,g=A.y+A.h-m*A.h,y=A.y+A.h-Math.max(0,Math.min(1,d))*A.h;k.push(t.chartType.toLowerCase().includes(`area`)||p?f.project(i,g,D):null),F.push(f.project(i,y,D)),I.push(p?f.cameraDepth(i,g,D):null),L.push(f.cameraDepth(i,y,D)),R.push(n),z.push(i),B.push(g),V.push(y),H.push(l),ee.push(d)}let U=[],W=null;for(let e=0;e<k.length;e++){let t=k[e],n=F[e];if(!t||!n){y===`gap`&&(W&&U.push(W),W=null);continue}W??={upper:[],lower:[],upperDepths:[],lowerDepths:[],indices:[],sceneXs:[],upperYs:[],lowerYs:[],upperFractions:[],lowerFractions:[]},W.upper.push(t),W.lower.push(n),W.upperDepths.push(I[e]??0),W.lowerDepths.push(L[e]??0),W.indices.push(e),W.sceneXs.push(z[e]??0),W.upperYs.push(B[e]??0),W.lowerYs.push(V[e]??0),W.upperFractions.push(H[e]??0),W.lowerFractions.push(ee[e]??0)}W&&U.push(W);let te=[],G=[];if(t.chartType.toLowerCase().includes(`area`)){for(let t of U){let n=null;for(let r=0;r+1<t.upper.length;r++){let i=OT(t.lowerFractions[r],t.lowerFractions[r+1],t.upperFractions[r],t.upperFractions[r+1]);for(let a=0;a<i.length;a++){let o=i[a],s=t.sceneXs[r]+(t.sceneXs[r+1]-t.sceneXs[r])*o.startT,c=t.sceneXs[r]+(t.sceneXs[r+1]-t.sceneXs[r])*o.endT,l=A.y+A.h-o.lowerStart*A.h,u=A.y+A.h-o.lowerEnd*A.h,p=A.y+A.h-o.upperStart*A.h,m=A.y+A.h-o.upperEnd*A.h,h={...f.project(s,p,D),cameraDepth:f.cameraDepth(s,p,D),cameraWeight:f.cameraProjectionWeight(s,p,D)},_={...f.project(c,m,D),cameraDepth:f.cameraDepth(c,m,D),cameraWeight:f.cameraProjectionWeight(c,m,D)};n!=null&&Math.hypot(n.at(-1).x-h.x,n.at(-1).y-h.y)<=1e-8?n.push(_):(n&&n.length>=2&&te.push(n),n=[h,_]);let v=_E(f,s,c,l,u,p,m,w.near,w.far,C,r===0&&a===0&&o.startT===0,r+2===t.upper.length&&a+1===i.length&&o.endT===1);for(let t of v){if(d.length>=1e4){g=!0;break}d.push({points:t.points,cameraDepth:t.cameraDepth,cameraDepths:t.cameraDepths,cameraWeights:t.cameraWeights,layer:0,paint:()=>xE(e,t)}),G.push(t)}if(g)break}if(g)break}if(n&&n.length>=2&&te.push(n),g)break}CE(e,G,`fill`,b.fill,i)}let ne=[];if(!t.chartType.toLowerCase().includes(`area`)){let e=[],t=null;for(let n=0;n<h;n++){let r=R[n],i=r==null?NaN:O.fraction(r);if(r==null||!Number.isFinite(i)){y===`gap`&&t&&(e.push(t),t=null);continue}t??=[],t.push({x:A.x+Nt(n,h,v,_)*A.w,fraction:i,ownerIndex:n})}t&&e.push(t);let n=e=>{let t=Math.max(0,Math.min(1,e.fraction)),n=A.y+A.h-t*A.h;return{...f.project(e.x,n,D),cameraDepth:f.cameraDepth(e.x,n,D),cameraWeight:f.cameraProjectionWeight(e.x,n,D)}},r=e=>{e&&e.path.length>=2&&ne.push(e)};for(let t of e){if(t.length<2)continue;let e=[t[0]];for(let n=0;n+1<t.length;n++){let r=t[n-1]??t[n],i=t[n],a=t[n+1],o=t[n+2]??a;if(l.smooth!==!0||t.length<3){e.push(a);continue}let s={x:i.x+(a.x-r.x)/6,fraction:i.fraction+(a.fraction-r.fraction)/6},c={x:a.x-(o.x-i.x)/6,fraction:a.fraction-(o.fraction-i.fraction)/6};for(let t=1;t<=12;t++){let n=t/12,r=1-n;e.push({x:r*r*r*i.x+3*r*r*n*s.x+3*r*n*n*c.x+n*n*n*a.x,fraction:r*r*r*i.fraction+3*r*r*n*s.fraction+3*r*n*n*c.fraction+n*n*n*a.fraction,ownerIndex:a.ownerIndex})}}let i=null,a=0;for(let t=0;t+1<e.length;t++){let o=e[t],s=e[t+1],c=e=>f.project(e.x,A.y+A.h-e.fraction*A.h,D),l=c(o),u=c(s),d=Math.hypot(u.x-l.x,u.y-l.y),p=Number.isFinite(d)?d:Math.hypot(s.x-o.x,(s.fraction-o.fraction)*A.h),m=DT(o.fraction,s.fraction);if(!m||m.endT-m.startT<=1e-12){r(i),i=null,a+=p;continue}let h=e=>({x:o.x+(s.x-o.x)*e,fraction:o.fraction+(s.fraction-o.fraction)*e,ownerIndex:s.ownerIndex}),g=c(h(m.startT)),_=Math.hypot(g.x-l.x,g.y-l.y),v=n(h(m.startT)),y=n(h(m.endT)),b=h(m.startT),x=h(m.endT),S=e=>({x:e.x,y:A.y+A.h-Math.max(0,Math.min(1,e.fraction))*A.h});i!=null&&Math.hypot(i.path.at(-1).x-v.x,i.path.at(-1).y-v.y)<=1e-8&&i.ownerIndex===s.ownerIndex?(i.path.push(y),i.modelPath.push(S(x)),i.endClipped=t+1<e.length-1||m.endT<1):(r(i),i={path:[v,y],modelPath:[S(b),S(x)],ownerIndex:s.ownerIndex,startClipped:t>0||m.startT>0,endClipped:t+1<e.length-1||m.endT<1,dashOffset:a+(Number.isFinite(_)?_:p*m.startT)}),a+=p}r(i)}}let re=t.chartType.toLowerCase().includes(`area`),ie=l.lineHidden!=null||l.lineColor!=null||l.lineWidthEmu!=null||l.chartexStyle?.lineHidden!=null||l.chartexStyle?.lineColors?.some(Boolean)||l.chartexStyle?.lineWidthEmu!=null||l.chartexStyle?.lineDash!=null||l.chartexStyle?.lineCap!=null||l.chartexStyle?.lineJoin!=null||b.lineColor!=null||b.lineFill!==void 0;if(!re||b.lineFill!==null&&ie){let n=new Map,a=e=>{let r=N[c].get(e);if(!pE(r))return b;let i=n.get(e);return i||(i=fE(t,l,r,e,c),n.set(e,i)),i},o=new Map,s={remaining:BT,exceeded:!1},u=(t,n,i,a=i,c=0,l)=>{if(n.lineFill===null)return;let u=n===b?C:n.color,p=n.lineColor??cl(u,.7),m=n.lineWidthEmu?Math.max(.5,n.lineWidthEmu/Dt)*r:re?.75*r:Math.max(1,2*r),h={width:m,dash:Ai(n.lineCustomDash,n.lineDash,m),dashOffset:c,lineCap:n.lineCap,startCap:i,endCap:a,lineJoin:n.lineJoin};if(!re&&l&&l.length>=2){let t=RT(l.map(e=>({...e,cameraDepth:0,cameraWeight:1})),h);if(t==null){g=!0;return}let r=o.get(n)??[];for(let n of t){let t=CT({outline:n.points,nearDepth:w.near,farDepth:w.far});if(!t)continue;let i=yE(f,t,p,void 0,s).map(e=>({...e,paintRole:`outline`}));if(s.exceeded){g=!0;return}r.push(...i);for(let t of i)d.push({points:t.points,cameraDepth:t.cameraDepth,cameraDepths:t.cameraDepths,cameraWeights:t.cameraWeights,layer:1,paint:()=>xE(e,t)})}o.set(n,r);return}let _=RT(t,h);if(_==null){g=!0;return}if(d.length+_.length>1e4){g=!0;return}for(let t of _){let r={points:t.points,color:p,paintRole:`outline`,shade:0,cameraDepth:t.cameraDepth,cameraDepths:t.cameraDepths,cameraWeights:t.cameraWeights,outline:!1},i=o.get(n)??[];i.push(r),o.set(n,i),d.push({points:t.points,cameraDepth:t.cameraDepth,cameraDepths:t.cameraDepths,cameraWeights:t.cameraWeights,layer:1,paint:()=>xE(e,r)})}};if(re)for(let e of te)u(e,b,b.lineCap);else for(let e of ne){let t=a(e.ownerIndex);u(e.path,t,e.startClipped?`butt`:t.lineCap,e.endClipped?`butt`:t.lineCap,e.dashOffset,e.modelPath)}for(let[t,n]of o)CE(e,n,`outline`,t.lineFill,i)}let ae=(re?l.showMarker===!0||Vn(l):l.showMarker===!0)&&l.markerSymbol!==`none`;if((t.chartType.toLowerCase().includes(`line`)||re)&&(ae||Xn(l)))for(let n=0;n<k.length;n++){let a=k[n];if(!a)continue;let o=N[c].get(n),s=$n(l,o,`circle`,ae);if(s===`none`)continue;let u=o?.markerSize??l.markerSize??5,d=PE(t,l,o,n,c,l.color??iD[c%iD.length],r);m.push(()=>DE(e,a,s,Math.max(2,u)*r,d.fill===`00000000`?`transparent`:`#${d.fill.replace(/^#/,``)}`,d.line===`00000000`?`rgba(0,0,0,0)`:`#${d.line.replace(/^#/,``)}`,d.lineWidth,d.fillPaint,i,r,d.effectDirect,d.effectFallback,d.effectIndex,d.effectFallbackIndex,d.linePaint,d.lineDash,d.lineCustomDash,d.lineCap,d.lineJoin))}for(let a=0;a<k.length;a++){let u=k[a];if(!u)continue;let d=S(c,a),f=N[c].get(a),m=f?.markerSize??l.markerSize??5,h=P[c].get(a);kE(t,l,h)&&M.push(()=>OE(e,t,l,c,a,p?d/100:d,u,n,r,l.showMarker===!0||f?.markerSymbol!=null?m*r/2:0,void 0,h,`t`,u,!0,t.valAxisDisplayUnits,O.max,s?o[c][a]:d,i))}}if(g)return wE(e,n),!0;for(let e of jT(d))e.paint();for(let e of m)e()}KE(e,t,f,O,h,v,_,r,o?`horizontal`:`vertical`),$E(e,t,f,O,h,v,_,o?`horizontal`:`vertical`,a,r),NE(e,t,n,f,O,h,v,_,o?`horizontal`:`vertical`,a,r);let F=QE(t,f,O,h,v,_,o?`horizontal`:`vertical`),I=(e,t)=>{if(t!==`low`&&t!==`high`)return F;let n=f.topology.nearDepth,r=F.axisX,i=F.axisY;if(e===`value`===o){let e=A.y,r=A.y+A.h,a=f.project(A.x+A.w/2,e,n),o=f.project(A.x+A.w/2,r,n),s=a.y>=o.y?e:r;i=t===`low`?s:s===e?r:e}else{let e=A.x,i=A.x+A.w,a=f.project(e,A.y+A.h/2,n),o=f.project(i,A.y+A.h/2,n),s=a.x<=o.x?e:i;r=t===`low`?s:s===e?i:e}return{axisX:r,axisY:i,depth:n,horizontalStart:f.project(A.x,i,n),horizontalEnd:f.project(A.x+A.w,i,n),verticalStart:f.project(r,A.y+A.h,n),verticalEnd:f.project(r,A.y,n)}},L=I(`value`,t.valAxisTickLabelPos),R=I(`category`,t.catAxisTickLabelPos),z=Bt(t.valAxisFontSizeHpt,r)??9*r;if(e.font=`${t.valAxisFontItalic?`italic `:``}${t.valAxisFontBold?`bold `:``}${z}px ${uD(t.valAxisFontFace)}`,e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#595959`,e.textAlign=o?`center`:`right`,e.textBaseline=o?`top`:`middle`,!t.valAxisHidden&&t.valAxisTickLabelPos!==`none`){let{axisX:n,axisY:i,depth:a}=L,s=f.project(A.x+A.w/2,A.y+A.h/2,a),c=qE(o?L.horizontalStart:L.verticalStart,o?L.horizontalEnd:L.verticalEnd,s,o?`vertical`:`horizontal`);e.textAlign=Math.abs(c.x)<.2?`center`:c.x<0?`right`:`left`,e.textBaseline=Math.abs(c.y)<.2?`middle`:c.y<0?`bottom`:`top`;let l=ZE(t.valAxisMajorTickMark,t.valAxisLineHidden,r,5),u=t.valAxisDisplayUnits?.divisor;for(let r of O.majorTicks){let s=o?f.project(A.x+O.fraction(r)*A.w,i,a):f.project(n,A.y+A.h-O.fraction(r)*A.h,a);e.fillText(Za(p?r/100:u!=null&&Number.isFinite(u)&&u>0?r/u:r,p?t.valAxisFormatCode??`0%`:t.valAxisFormatCode,t.date1904),s.x+c.x*l,s.y+c.y*l)}}let B=Bt(t.catAxisFontSizeHpt,r)??9*r;if(e.font=`${t.catAxisFontItalic?`italic `:``}${t.catAxisFontBold?`bold `:``}${B}px ${uD(t.catAxisFontFace)}`,e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#595959`,!t.catAxisHidden&&t.catAxisTickLabelPos!==`none`){let n=Mt(ZE(t.catAxisMajorTickMark,t.catAxisLineHidden,r,6),t.catAxisLabelOffsetPercent),i=Array.from({length:h},(e,n)=>Qa(String(m[n]??n+1),t.catAxisFormatCode,t.date1904)),a=TE(t);if(a==null&&(a=0,!o&&h>1)){let t=1/0,n=null,r=R.axisY;for(let e=0;e<h;e++){let i=Nt(e,h,v,_),a=f.project(A.x+i*A.w,r,f.topology.nearDepth);n&&(t=Math.min(t,Math.hypot(a.x-n.x,a.y-n.y))),n=a}Math.max(0,...i.map(t=>e.measureText(t).width))>t*.9&&(a=-Math.PI/4)}let s=Math.max(1,Math.floor(t.catAxisTickLabelSkip??1));for(let t=0;t<h;t+=s){let r=Nt(t,h,v,_),{axisX:s,axisY:c,depth:l}=R,u=o?f.project(s,A.y+Nt(t,h,v,_)*A.h,l):f.project(A.x+r*A.w,c,l);if(o){let r=f.project(s,A.y+A.h/2,l),a=f.project(A.x+A.w/2,A.y+A.h/2,l),o=r.x<=a.x;e.textAlign=o?`right`:`left`,e.textBaseline=`middle`,e.fillText(i[t],u.x+(o?-n:n),u.y)}else{let r=f.project(A.x+A.w/2,A.y+A.h/2,l),s=qE(R.horizontalStart,R.horizontalEnd,r,`vertical`);EE(e,i[t],u,a,o,s.y<0?-1:1,n)}}}ME(e,t,n,l,o,r);for(let e of M)e();return LE(e,t,u,r,!1,d,i),!0}function tD(e,t,n,r,i){if(!t.threeD||t.chartType!==`pie`)return!1;let a=t.series[0];if(!a)return!0;let o=a.values.flatMap((e,t)=>e!=null&&Number.isFinite(e)?[{index:t,value:Math.abs(e)}]:[]),s=0;for(let e of o)s=Math.max(s,e.value);if(!(s>0))return!0;let c=o.reduce((e,t)=>e+t.value/s,0);if(!(c>0)||!Number.isFinite(c))return!0;let{plot:l,legend:u,legendMeasure:d}=AE(e,t,n,r,`radial`,i),f=yl({...t.threeD,rotationY:t.threeD.rotationY??0,heightPercent:void 0,depthPercent:100},l,{sceneDepthScale:1,sceneHeightScale:.15});if(!f)return!0;let p=new Map(a.dataPointOverrides?.map(e=>[e.idx,e])??[]),m=0;for(let e of p.values())e.explosion!=null&&Number.isFinite(e.explosion)&&(m=Math.max(m,Math.max(0,Math.min(100,e.explosion))/100));let{scene:h}=f,g=Math.min(h.w*.45/(1+m),f.modelDepth*.45/(1+m),h.h/.45);if(!(g>0))return!0;let _=h.x+h.w/2,v=h.y+h.h/2,y=.5,b=g*.3*pl(t.threeD),x=0,S=[],C=new Map(a.dataLabelOverrides?.map(e=>[e.idx,e])??[]),w=Math.max(48,Math.min(128,Math.ceil(Math.PI*2*g/4)));for(let e of o){let n=e.value/s/c,r=zE(t.firstSliceAngle,x,n),i=p.get(e.index),o=fE(t,a,i,e.index,0),l=r.middle,u=i?.explosion!=null&&Number.isFinite(i.explosion)?Math.max(0,Math.min(100,i.explosion))/100:0,d=_+Math.cos(l)*g*u,m=y+Math.sin(l)*g*u/f.modelDepth,h=Math.max(2,Math.ceil(w*n)),C=wT({centerX:d,centerY:v,centerDepth:m,radius:g,modelDepth:f.modelDepth,thickness:b,startAngle:r.start,endAngle:r.end,segments:h});if(!C){x+=n;continue}S.push({index:e.index,start:r.start,end:r.end,color:o.fill===null?`transparent`:o.color,fillPaint:o.fill,value:e.value,percentValue:n,centerX:d,centerDepth:m,segments:h,mesh:C,lineColor:o.lineColor,lineFill:o.lineFill,lineWidthEmu:o.lineWidthEmu??null,lineDash:o.lineDash??`solid`,lineCustomDash:o.lineCustomDash,lineCap:o.lineCap,lineJoin:o.lineJoin}),x+=n}f=hl(f,S.flatMap(e=>e.mesh.vertices),l,.08);let T=[],E={remaining:BT,exceeded:!1},D=e=>{let t=e.lineWidthEmu==null?.75*r:Math.max(.25,e.lineWidthEmu/Dt*r);return e.lineFill!==null&&(e.lineColor!=null||e.lineFill!==void 0)?{color:e.lineColor??`rgba(0,0,0,0.42)`,width:t,dash:Ai(e.lineCustomDash,e.lineDash,t),cap:e.lineCap,join:e.lineJoin}:void 0},O=S.map(t=>{let n=yE(f,t.mesh,t.color,void 0,E);return CE(e,n,`fill`,t.fillPaint,i),{slice:t,faces:n}}),k=O.flatMap(e=>e.faces),A=[],j=S.map(D),M=j[0],N=e=>e==null?null:[e.color,e.width,e.dash.join(`,`),e.cap,e.join].join(`|`),P=M!=null&&S.every(e=>e.lineFill===void 0)&&j.every(e=>N(e)===N(M))&&S.every(e=>Math.abs(e.centerX-_)<1e-9&&Math.abs(e.centerDepth-y)<1e-9);if(P)A.push(...bE(f,S,v,g,b,M,E));else for(let t=0;t<S.length;t++){let n=j[t];if(!n)continue;let r=yE(f,S[t].mesh,`transparent`,n,E,!0);CE(e,r,`outline`,S[t].lineFill,i),A.push(...r)}if(E.exceeded)return wE(e,n),!0;if(P){for(let t of jT(k))xE(e,t);for(let t of jT(A))xE(e,t)}else for(let t of jT([...k,...A]))xE(e,t);for(let{slice:n,faces:i}of O){let o=p.get(n.index),s=mT(t,a,n.index,0),c=va(o?.chartexStyle);Oa(e,c??va(a.chartexStyle),Ke(t,`dataPoint3D`,0),c?n.index:s,r,e=>SE(e,i),s)}for(let n of S){let o=(n.start+n.end)/2,s=C.get(n.index);if(kE(t,a,s)){let c=a.seriesDataLabels,u=Bt(s?.fontSizeHpt??c?.fontSizeHpt??t.dataLabelFontSizeHpt,r)??9*r;e.font=`${s?.fontBold??c?.fontBold??t.dataLabelFontBold?`bold `:``}${u}px ${dD(t,s?.fontFace??c?.fontFace??t.dataLabelFontFace)}`;let d=oo({customText:s?.text,showCategory:s?.showCatName??c?.showCatName??!1,showSeries:s?.showSerName??c?.showSerName??!1,showValue:s?.showVal??c?.showVal??t.showDataLabels,showPercent:s?.showPercent??c?.showPercent??!1,category:a.categories?.[n.index]??t.categories[n.index]??`${n.index+1}`,seriesName:a.name||`Series 1`,sourceValue:n.value,percentRatio:n.percentValue,formatCode:s?.formatCode??c?.formatCode??t.dataLabelFormatCode??a.valFormatCode,separator:s?.separator??c?.separator,date1904:t.date1904}),p=dD(t,s?.fontFace??c?.fontFace??t.dataLabelFontFace),m=s?.text&&s.richRuns?.length?Xc(e,{runs:s.richRuns,ptToPx:r,fontFamily:p,fallbackBold:s.fontBold??c?.fontBold??t.dataLabelFontBold??!1,fontFamilyForFace:e=>dD(t,e)},u,`#${s.fontColor??c?.fontColor??a.labelColor??t.dataLabelFontColor??`111111`}`):null,h=s?.position??c?.position??t.dataLabelPosition,_=v-b/2,y=v+b/2,x=f.cameraDepth(n.centerX,_,n.centerDepth)>=f.cameraDepth(n.centerX,y,n.centerDepth)?_:y,S=0,C=null;for(let e=0;e<=12;e++){let t=n.start+(n.end-n.start)*e/12,r=f.project(n.centerX+Math.cos(t)*g*.64,x,n.centerDepth+Math.sin(t)*g*.64/f.modelDepth);C&&(S+=Math.hypot(r.x-C.x,r.y-C.y)),C=r}let w=(h==null||h===`bestFit`)&&(n.percentValue===0||S<(m?.width??e.measureText(d).width))||h===`outEnd`,E=g*(w?1.12:.64),D=f.project(n.centerX+Math.cos(o)*E,x,n.centerDepth+Math.sin(o)*E/f.modelDepth),O=f.project(n.centerX+Math.cos(o)*g,x,n.centerDepth+Math.sin(o)*g/f.modelDepth);T.push(()=>OE(e,t,a,0,n.index,n.value,D,l,r,0,n.percentValue,s,`ctr`,O,w,void 0,void 0,void 0,i))}}for(let e of T)e();let F=a.categories?.length?a.categories:t.categories,I=Array.from({length:F.length},(e,n)=>{let r=p.get(n),i=hT(t,a,r,n,0);if(i===null)return`00000000`;let o=i?.fillType===`solid`?i.color:r?.color??a.dataPointColors?.[n]??a.color;return o===`00000000`?`00000000`:cl(o?`#${o}`:lD(n),.8).replace(/^#/,``)});return LE(e,{...t,categories:F,series:[{...a,categories:F,dataPointColors:I}]},u,r,!0,d,i),!0}function nD(e,t,n,r,i=0){return!t.threeD||!(t.chartType===`pie`||sD.has(t.chartType))?!1:uE(t)?tD(e,t,n,r,i)?!0:eD(e,t,n,r,i):(wE(e,n),!0)}var rD,iD,aD,oD,sD,cD,lD,uD,dD,fD,pD=t((()=>{Gs(),gT(),xc(),ar(),jn(),jt(),Ii(),zc(),ao(),dn(),Hc(),xn(),tl(),so(),_o(),Cl(),ul(),Rt(),ET(),FT(),KT(),eE(),ss(),al(),Ki(),Ct(),Bo(),Pa(),nt(),rD=`ooxml-three-d-mesh-implementation-v1`,iD=[`4472C4`,`ED7D31`,`70AD47`,`A5A5A5`,`FFC000`,`5B9BD5`],aD=Io,oD=Lo,sD=new Set([`line`,`stackedLine`,`stackedLinePct`,`area`,`stackedArea`,`stackedAreaPct`,`clusteredBar`,`clusteredBarH`,`stackedBar`,`stackedBarH`,`stackedBarPct`,`stackedBarHPct`]),cD=36,lD=(e,t)=>`#${t?.color??iD[e%iD.length]}`,uD=e=>`"${e&&!e.startsWith(`+`)?e.replace(/["\\]/g,``):`Arial`}"`,dD=(e,t,n=`minor`)=>uD((t?.startsWith(`+mj-`)?e.themeMajorFontLatin:t?.startsWith(`+mn-`)?e.themeMinorFontLatin:t)??(n===`major`?e.themeMajorFontLatin:e.themeMinorFontLatin)),fD=e=>e===`transparent`||e===`#00000000`||e===`rgba(0,0,0,0)`})),mD,hD=t((()=>{mD=[{n:`Fiji`,a2:`FJ`,a3:`FJI`,p:`FJ`,l:[177.98,-17.83],g:[[[[180,-16.07],[180,-16.56],[179.36,-16.8],[178.73,-17.01],[178.6,-16.64],[179.1,-16.43],[179.41,-16.38],[180,-16.07]]],[[[178.13,-17.5],[178.37,-17.34],[178.72,-17.63],[178.55,-18.15],[177.93,-18.29],[177.38,-18.16],[177.29,-17.72],[177.67,-17.38],[178.13,-17.5]]],[[[-179.79,-16.02],[-179.92,-16.5],[-180,-16.56],[-180,-16.07],[-179.79,-16.02]]]]},{n:`Tanzania`,a2:`TZ`,a3:`TZA`,p:`TZ`,l:[34.96,-6.05],g:[[[[33.9,-.95],[34.07,-1.06],[37.7,-3.1],[37.77,-3.68],[39.2,-4.68],[38.74,-5.91],[38.8,-6.48],[39.44,-6.84],[39.47,-7.1],[39.19,-7.7],[39.25,-8.01],[39.19,-8.49],[39.54,-9.11],[39.95,-10.1],[40.32,-10.32],[39.52,-10.9],[38.43,-11.29],[37.83,-11.27],[37.47,-11.57],[36.78,-11.59],[36.51,-11.72],[35.31,-11.44],[34.56,-11.52],[34.28,-10.16],[33.94,-9.69],[33.74,-9.42],[32.76,-9.23],[32.19,-8.93],[31.56,-8.76],[31.16,-8.59],[30.74,-8.34],[30.2,-7.08],[29.62,-6.52],[29.42,-5.94],[29.52,-5.42],[29.34,-4.5],[29.75,-4.45],[30.12,-4.09],[30.51,-3.57],[30.75,-3.36],[30.74,-3.03],[30.53,-2.81],[30.47,-2.41],[30.76,-2.29],[30.82,-1.7],[30.42,-1.13],[30.77,-1.01],[31.87,-1.03],[33.9,-.95]]]]},{n:`Western Sahara`,a2:`EH`,a3:`ESH`,p:`WS`,l:[-12.63,23.97],g:[[[[-8.67,27.66],[-8.67,27.59],[-8.68,27.4],[-8.69,25.88],[-11.97,25.93],[-11.94,23.37],[-12.87,23.28],[-13.12,22.77],[-12.93,21.33],[-16.85,21.33],[-17.06,21],[-17.02,21.42],[-17,21.42],[-14.75,21.5],[-14.63,21.86],[-14.22,22.31],[-13.89,23.69],[-12.5,24.77],[-12.03,26.03],[-11.72,26.1],[-11.39,26.88],[-10.55,26.99],[-10.19,26.86],[-9.74,26.86],[-9.41,27.09],[-8.79,27.12],[-8.82,27.66],[-8.67,27.66]]]]},{n:`Canada`,a2:`CA`,a3:`CAN`,p:`CA`,l:[-101.91,60.32],g:[[[[-122.84,49],[-122.97,49],[-124.91,49.98],[-125.62,50.42],[-127.44,50.83],[-127.99,51.72],[-127.85,52.33],[-129.13,52.76],[-129.31,53.56],[-130.51,54.29],[-130.54,54.8],[-129.98,55.29],[-130.01,55.92],[-131.71,56.55],[-132.73,57.69],[-133.36,58.41],[-134.27,58.86],[-134.94,59.27],[-135.48,59.79],[-136.48,59.46],[-137.45,58.91],[-138.34,59.56],[-139.04,60],[-140.01,60.28],[-141,60.31],[-140.99,66],[-140.99,69.71],[-139.12,69.47],[-137.55,68.99],[-136.5,68.9],[-135.63,69.32],[-134.41,69.63],[-132.93,69.51],[-131.43,69.94],[-129.79,70.19],[-129.11,69.78],[-128.36,70.01],[-128.14,70.48],[-127.45,70.38],[-125.76,69.48],[-124.42,70.16],[-124.29,69.4],[-123.06,69.56],[-122.68,69.86],[-121.47,69.8],[-119.94,69.38],[-117.6,69.01],[-116.23,68.84],[-115.25,68.91],[-113.9,68.4],[-115.3,67.9],[-113.5,67.69],[-110.8,67.81],[-109.95,67.98],[-108.88,67.38],[-107.79,67.89],[-108.81,68.31],[-108.17,68.65],[-106.95,68.7],[-106.15,68.8],[-105.34,68.56],[-104.34,68.02],[-103.22,68.1],[-101.45,67.65],[-99.9,67.81],[-98.44,67.78],[-98.56,68.4],[-97.67,68.58],[-96.12,68.24],[-96.13,67.29],[-95.49,68.09],[-94.68,68.06],[-94.23,69.07],[-95.3,69.69],[-96.47,70.09],[-96.39,71.19],[-95.21,71.92],[-93.89,71.76],[-92.88,71.32],[-91.52,70.19],[-92.41,69.7],[-90.55,69.5],[-90.55,68.47],[-89.22,69.26],[-88.02,68.62],[-88.32,67.87],[-87.35,67.2],[-86.31,67.92],[-85.58,68.78],[-85.52,69.88],[-84.1,69.81],[-82.62,69.66],[-81.28,69.16],[-81.22,68.67],[-81.96,68.13],[-81.26,67.6],[-81.39,67.11],[-83.34,66.41],[-84.74,66.26],[-85.77,66.56],[-86.07,66.06],[-87.03,65.21],[-87.32,64.78],[-88.48,64.1],[-89.91,64.03],[-90.7,63.61],[-90.77,62.96],[-91.93,62.84],[-93.16,62.02],[-94.24,60.9],[-94.63,60.11],[-94.68,58.95],[-93.22,58.78],[-92.76,57.85],[-92.3,57.09],[-90.9,57.28],[-89.04,56.85],[-88.04,56.47],[-87.32,56],[-86.07,55.72],[-85.01,55.3],[-83.36,55.24],[-82.27,55.15],[-82.44,54.28],[-82.13,53.28],[-81.4,52.16],[-79.91,51.21],[-79.14,51.53],[-78.6,52.56],[-79.12,54.14],[-79.83,54.67],[-78.23,55.14],[-77.1,55.84],[-76.54,56.53],[-76.62,57.2],[-77.3,58.05],[-78.52,58.8],[-77.34,59.85],[-77.77,60.76],[-78.11,62.32],[-77.41,62.55],[-75.7,62.28],[-74.67,62.18],[-73.84,62.44],[-72.91,62.11],[-71.68,61.53],[-71.37,61.14],[-69.59,61.06],[-69.62,60.22],[-69.29,58.96],[-68.37,58.8],[-67.65,58.21],[-66.2,58.77],[-65.25,59.87],[-64.58,60.34],[-63.8,59.44],[-62.5,58.17],[-61.4,56.97],[-61.8,56.34],[-60.47,55.78],[-59.57,55.2],[-57.98,54.95],[-57.33,54.63],[-56.94,53.78],[-56.16,53.65],[-55.76,53.27],[-55.68,52.15],[-56.41,51.77],[-57.13,51.42],[-58.77,51.06],[-60.03,50.24],[-61.72,50.08],[-63.86,50.29],[-65.36,50.3],[-66.4,50.23],[-67.24,49.51],[-68.51,49.07],[-69.95,47.74],[-71.1,46.82],[-70.26,46.99],[-68.65,48.3],[-66.55,49.13],[-65.06,49.23],[-64.17,48.74],[-65.12,48.07],[-64.8,46.99],[-64.47,46.24],[-63.17,45.74],[-61.52,45.88],[-60.52,47.01],[-60.45,46.28],[-59.8,45.92],[-61.04,45.27],[-63.25,44.67],[-64.25,44.27],[-65.36,43.55],[-66.12,43.62],[-66.16,44.47],[-64.43,45.29],[-66.03,45.26],[-67.14,45.14],[-67.79,45.7],[-67.79,47.07],[-68.23,47.35],[-68.9,47.19],[-69.24,47.45],[-70,46.69],[-70.31,45.92],[-70.66,45.46],[-71.08,45.31],[-71.4,45.26],[-71.51,45.01],[-73.35,45.01],[-74.87,45],[-75.32,44.82],[-76.37,44.1],[-76.5,44.02],[-76.82,43.63],[-77.74,43.63],[-78.72,43.63],[-79.17,43.47],[-79.01,43.27],[-78.92,42.97],[-78.94,42.86],[-80.25,42.37],[-81.28,42.21],[-82.44,41.68],[-82.69,41.68],[-83.03,41.83],[-83.14,41.98],[-83.12,42.08],[-82.9,42.43],[-82.43,42.98],[-82.14,43.57],[-82.34,44.44],[-82.55,45.35],[-83.59,45.82],[-83.47,45.99],[-83.62,46.12],[-83.89,46.12],[-84.09,46.28],[-84.14,46.51],[-84.34,46.41],[-84.6,46.44],[-84.54,46.54],[-84.78,46.64],[-84.88,46.9],[-85.65,47.22],[-86.46,47.55],[-87.44,47.94],[-88.38,48.3],[-89.27,48.02],[-89.6,48.01],[-90.83,48.27],[-91.64,48.14],[-92.61,48.45],[-93.63,48.61],[-94.33,48.67],[-94.64,48.84],[-94.82,49.39],[-95.16,49.38],[-95.16,49],[-97.23,49],[-100.65,49],[-104.05,49],[-107.05,49],[-110.05,49],[-113,49],[-116.05,49],[-117.03,49],[-120,49],[-122.84,49]]],[[[-83.99,62.45],[-83.25,62.91],[-81.88,62.9],[-81.9,62.71],[-83.07,62.16],[-83.77,62.18],[-83.99,62.45]]],[[[-79.78,72.8],[-80.88,73.33],[-80.83,73.69],[-80.35,73.76],[-78.06,73.65],[-76.34,73.1],[-76.25,72.83],[-77.31,72.86],[-78.39,72.88],[-79.49,72.74],[-79.78,72.8]]],[[[-80.32,62.09],[-79.93,62.39],[-79.52,62.36],[-79.27,62.16],[-79.66,61.63],[-80.1,61.72],[-80.36,62.02],[-80.32,62.09]]],[[[-93.61,74.98],[-94.16,74.59],[-95.61,74.67],[-96.82,74.93],[-96.29,75.38],[-94.85,75.65],[-93.98,75.3],[-93.61,74.98]]],[[[-93.84,77.52],[-94.3,77.49],[-96.17,77.56],[-96.44,77.83],[-94.42,77.82],[-93.72,77.63],[-93.84,77.52]]],[[[-96.75,78.77],[-95.56,78.42],[-95.83,78.06],[-97.31,77.85],[-98.12,78.08],[-98.55,78.46],[-98.63,78.87],[-97.34,78.83],[-96.75,78.77]]],[[[-88.15,74.39],[-89.76,74.52],[-92.42,74.84],[-92.77,75.39],[-92.89,75.88],[-93.89,76.32],[-95.96,76.44],[-97.12,76.75],[-96.75,77.16],[-94.68,77.1],[-93.57,76.78],[-91.61,76.78],[-90.74,76.45],[-90.97,76.07],[-89.82,75.85],[-89.19,75.61],[-87.84,75.57],[-86.38,75.48],[-84.79,75.7],[-82.75,75.78],[-81.13,75.71],[-80.06,75.34],[-79.83,74.92],[-80.46,74.66],[-81.95,74.44],[-83.23,74.56],[-86.1,74.41],[-88.15,74.39]]],[[[-111.26,78.15],[-109.85,78],[-110.19,77.7],[-112.05,77.41],[-113.53,77.73],[-112.72,78.05],[-111.26,78.15]]],[[[-110.96,78.8],[-109.66,78.6],[-110.88,78.41],[-112.54,78.41],[-112.53,78.55],[-111.5,78.85],[-110.96,78.8]]],[[[-55.6,51.32],[-56.13,50.69],[-56.8,49.81],[-56.14,50.15],[-55.47,49.94],[-55.82,49.59],[-54.94,49.31],[-54.47,49.56],[-53.48,49.25],[-53.79,48.52],[-53.09,48.69],[-52.96,48.16],[-52.65,47.54],[-53.07,46.66],[-53.52,46.62],[-54.18,46.81],[-53.96,47.63],[-54.24,47.75],[-55.4,46.88],[-56,46.92],[-55.29,47.39],[-56.25,47.63],[-57.33,47.57],[-59.27,47.6],[-59.42,47.9],[-58.8,48.25],[-59.23,48.52],[-58.39,49.13],[-57.36,50.72],[-56.74,51.29],[-55.87,51.63],[-55.41,51.59],[-55.6,51.32]]],[[[-83.88,65.11],[-82.79,64.77],[-81.64,64.46],[-81.55,63.98],[-80.82,64.06],[-80.1,63.73],[-80.99,63.41],[-82.55,63.65],[-83.11,64.1],[-84.1,63.57],[-85.52,63.05],[-85.87,63.64],[-87.22,63.54],[-86.35,64.04],[-86.22,64.82],[-85.88,65.74],[-85.16,65.66],[-84.98,65.22],[-84.46,65.37],[-83.88,65.11]]],[[[-78.77,72.35],[-77.82,72.75],[-75.61,72.24],[-74.23,71.77],[-74.1,71.33],[-72.24,71.56],[-71.2,70.92],[-68.79,70.53],[-67.91,70.12],[-66.97,69.19],[-68.81,68.72],[-66.45,68.07],[-64.86,67.85],[-63.42,66.93],[-61.85,66.86],[-62.16,66.16],[-63.92,65],[-65.15,65.43],[-66.72,66.39],[-68.02,66.26],[-68.14,65.69],[-67.09,65.11],[-65.73,64.65],[-65.32,64.38],[-64.67,63.39],[-65.01,62.67],[-66.28,62.95],[-68.78,63.75],[-67.37,62.88],[-66.33,62.28],[-66.17,61.93],[-68.88,62.33],[-71.02,62.91],[-72.24,63.4],[-71.89,63.68],[-73.38,64.19],[-74.83,64.68],[-74.82,64.39],[-77.71,64.23],[-78.56,64.57],[-77.9,65.31],[-76.02,65.33],[-73.96,65.45],[-74.29,65.81],[-73.94,66.31],[-72.65,67.28],[-72.93,67.73],[-73.31,68.07],[-74.84,68.55],[-76.87,68.89],[-76.23,69.15],[-77.29,69.77],[-78.17,69.83],[-78.96,70.17],[-79.49,69.87],[-81.31,69.74],[-84.94,69.97],[-87.06,70.26],[-88.68,70.41],[-89.51,70.76],[-88.47,71.22],[-89.89,71.22],[-90.21,72.24],[-89.44,73.13],[-88.41,73.54],[-85.83,73.8],[-86.56,73.16],[-85.77,72.53],[-84.85,73.34],[-82.32,73.75],[-80.6,72.72],[-80.75,72.06],[-78.77,72.35]]],[[[-94.5,74.13],[-92.42,74.1],[-90.51,73.86],[-92,72.97],[-93.2,72.77],[-94.27,72.02],[-95.41,72.06],[-96.03,72.94],[-96.02,73.44],[-95.5,73.86],[-94.5,74.13]]],[[[-122.85,76.12],[-121.16,76.86],[-119.1,77.51],[-117.57,77.5],[-116.2,77.65],[-116.34,76.88],[-117.11,76.53],[-118.04,76.48],[-119.9,76.05],[-121.5,75.9],[-122.85,76.12]]],[[[-132.71,54.04],[-131.75,54.12],[-132.05,52.98],[-131.18,52.18],[-131.58,52.18],[-132.18,52.64],[-132.55,53.1],[-133.05,53.41],[-133.24,53.85],[-133.18,54.17],[-132.71,54.04]]],[[[-105.49,79.3],[-103.53,79.17],[-100.83,78.8],[-100.06,78.32],[-99.67,77.91],[-101.3,78.02],[-102.95,78.34],[-105.18,78.38],[-104.21,78.68],[-105.42,78.92],[-105.49,79.3]]],[[[-123.51,48.51],[-124.01,48.37],[-125.66,48.83],[-125.95,49.18],[-126.85,49.53],[-127.03,49.81],[-128.06,49.99],[-128.44,50.54],[-128.36,50.77],[-127.31,50.55],[-126.7,50.4],[-125.76,50.3],[-125.42,49.95],[-124.92,49.48],[-123.92,49.06],[-123.51,48.51]]],[[[-121.54,74.45],[-120.11,74.24],[-117.56,74.19],[-116.58,73.9],[-115.51,73.48],[-116.77,73.22],[-119.22,72.52],[-120.46,71.82],[-120.46,71.38],[-123.09,70.9],[-123.62,71.34],[-125.93,71.87],[-125.5,72.29],[-124.81,73.02],[-123.94,73.68],[-124.92,74.29],[-121.54,74.45]]],[[[-107.82,75.85],[-106.93,76.01],[-105.88,75.97],[-105.7,75.48],[-106.31,75.01],[-109.7,74.85],[-112.22,74.42],[-113.74,74.39],[-113.87,74.72],[-111.79,75.16],[-116.31,75.04],[-117.71,75.22],[-116.35,76.2],[-115.4,76.48],[-112.59,76.14],[-110.81,75.55],[-109.07,75.47],[-110.5,76.43],[-109.58,76.79],[-108.55,76.68],[-108.21,76.2],[-107.82,75.85]]],[[[-106.52,73.08],[-105.4,72.67],[-104.77,71.7],[-104.46,70.99],[-102.79,70.5],[-100.98,70.02],[-101.09,69.58],[-102.73,69.5],[-102.09,69.12],[-102.43,68.75],[-104.24,68.91],[-105.96,69.18],[-107.12,69.12],[-109,68.78],[-111.53,68.63],[-113.31,68.54],[-113.85,69.01],[-115.22,69.28],[-116.11,69.17],[-117.34,69.96],[-116.67,70.07],[-115.13,70.24],[-113.72,70.19],[-112.42,70.37],[-114.35,70.6],[-116.49,70.52],[-117.9,70.54],[-118.43,70.91],[-116.11,71.31],[-117.66,71.3],[-119.4,71.56],[-118.56,72.31],[-117.87,72.71],[-115.19,73.31],[-114.17,73.12],[-114.67,72.65],[-112.44,72.96],[-111.05,72.45],[-109.92,72.96],[-109.01,72.63],[-108.19,71.65],[-107.69,72.07],[-108.4,73.09],[-107.52,73.24],[-106.52,73.08]]],[[[-100.44,72.71],[-101.54,73.36],[-100.36,73.84],[-99.16,73.63],[-97.38,73.76],[-97.12,73.47],[-98.05,72.99],[-96.54,72.56],[-96.72,71.66],[-98.36,71.27],[-99.32,71.36],[-100.01,71.74],[-102.5,72.51],[-102.48,72.83],[-100.44,72.71]]],[[[-106.6,73.6],[-105.26,73.64],[-104.5,73.42],[-105.38,72.76],[-106.94,73.46],[-106.6,73.6]]],[[[-98.5,76.72],[-97.74,76.26],[-97.7,75.74],[-98.16,75],[-99.81,74.9],[-100.88,75.06],[-100.86,75.64],[-102.5,75.56],[-102.57,76.34],[-101.49,76.31],[-99.98,76.65],[-98.58,76.59],[-98.5,76.72]]],[[[-96.02,80.6],[-95.32,80.91],[-94.3,80.98],[-94.74,81.21],[-92.41,81.26],[-91.13,80.72],[-89.45,80.51],[-87.81,80.32],[-87.02,79.66],[-85.81,79.34],[-87.19,79.04],[-89.04,78.29],[-90.8,78.22],[-92.88,78.34],[-93.95,78.75],[-93.94,79.11],[-93.15,79.38],[-94.97,79.37],[-96.08,79.71],[-96.71,80.16],[-96.02,80.6]]],[[[-91.59,81.89],[-90.1,82.09],[-88.93,82.12],[-86.97,82.28],[-85.5,82.65],[-84.26,82.6],[-83.18,82.32],[-82.42,82.86],[-81.1,83.02],[-79.31,83.13],[-76.25,83.17],[-75.72,83.06],[-72.83,83.23],[-70.67,83.17],[-68.5,83.11],[-65.83,83.03],[-63.68,82.9],[-61.85,82.63],[-61.89,82.36],[-64.33,81.93],[-66.75,81.73],[-67.66,81.5],[-65.48,81.51],[-67.84,80.9],[-69.47,80.62],[-71.18,79.8],[-73.24,79.63],[-73.88,79.43],[-76.91,79.32],[-75.53,79.2],[-76.22,79.02],[-75.39,78.53],[-76.34,78.18],[-77.89,77.9],[-78.36,77.51],[-79.76,77.21],[-79.62,76.98],[-77.91,77.02],[-77.89,76.78],[-80.56,76.18],[-83.17,76.45],[-86.11,76.3],[-87.6,76.42],[-89.49,76.47],[-89.62,76.95],[-87.77,77.18],[-88.26,77.9],[-87.65,77.97],[-84.98,77.54],[-86.34,78.18],[-87.96,78.37],[-87.15,78.76],[-85.38,79],[-85.09,79.35],[-86.51,79.74],[-86.93,80.25],[-84.2,80.21],[-83.41,80.1],[-81.85,80.46],[-84.1,80.58],[-87.6,80.52],[-89.37,80.86],[-90.2,81.26],[-91.37,81.55],[-91.59,81.89]]],[[[-75.22,67.44],[-75.87,67.15],[-76.99,67.1],[-77.24,67.59],[-76.81,68.15],[-75.9,68.29],[-75.11,68.01],[-75.1,67.58],[-75.22,67.44]]],[[[-96.26,69.49],[-95.65,69.11],[-96.27,68.76],[-97.62,69.06],[-98.43,68.95],[-99.8,69.4],[-98.92,69.71],[-98.22,70.14],[-97.16,69.86],[-96.56,69.68],[-96.26,69.49]]],[[[-64.52,49.87],[-64.17,49.96],[-62.86,49.71],[-61.84,49.29],[-61.81,49.11],[-62.29,49.09],[-63.59,49.4],[-64.52,49.87]]],[[[-64.01,47.04],[-63.66,46.55],[-62.94,46.42],[-62.01,46.44],[-62.5,46.03],[-62.87,45.97],[-64.14,46.39],[-64.39,46.73],[-64.01,47.04]]]]},{n:`United States`,a2:`US`,a3:`USA`,p:`US`,l:[-97.48,39.54],g:[[[[-122.84,49],[-120,49],[-117.03,49],[-116.05,49],[-113,49],[-110.05,49],[-107.05,49],[-104.05,49],[-100.65,49],[-97.23,49],[-95.16,49],[-95.16,49.38],[-94.82,49.39],[-94.64,48.84],[-94.33,48.67],[-93.63,48.61],[-92.61,48.45],[-91.64,48.14],[-90.83,48.27],[-89.6,48.01],[-89.27,48.02],[-88.38,48.3],[-87.44,47.94],[-86.46,47.55],[-85.65,47.22],[-84.88,46.9],[-84.78,46.64],[-84.54,46.54],[-84.6,46.44],[-84.34,46.41],[-84.14,46.51],[-84.09,46.28],[-83.89,46.12],[-83.62,46.12],[-83.47,45.99],[-83.59,45.82],[-82.55,45.35],[-82.34,44.44],[-82.14,43.57],[-82.43,42.98],[-82.9,42.43],[-83.12,42.08],[-83.14,41.98],[-83.03,41.83],[-82.69,41.68],[-82.44,41.68],[-81.28,42.21],[-80.25,42.37],[-78.94,42.86],[-78.92,42.97],[-79.01,43.27],[-79.17,43.47],[-78.72,43.63],[-77.74,43.63],[-76.82,43.63],[-76.5,44.02],[-76.37,44.1],[-75.32,44.82],[-74.87,45],[-73.35,45.01],[-71.51,45.01],[-71.4,45.26],[-71.08,45.31],[-70.66,45.46],[-70.31,45.92],[-70,46.69],[-69.24,47.45],[-68.9,47.19],[-68.23,47.35],[-67.79,47.07],[-67.79,45.7],[-67.14,45.14],[-66.96,44.81],[-68.03,44.33],[-69.06,43.98],[-70.12,43.68],[-70.65,43.09],[-70.81,42.87],[-70.82,42.34],[-70.49,41.81],[-70.08,41.78],[-70.18,42.15],[-69.88,41.92],[-69.97,41.64],[-70.64,41.48],[-71.12,41.49],[-71.86,41.32],[-72.29,41.27],[-72.88,41.22],[-73.71,40.93],[-72.24,41.12],[-71.94,40.93],[-73.34,40.63],[-73.98,40.63],[-73.95,40.75],[-74.26,40.47],[-73.96,40.43],[-74.18,39.71],[-74.91,38.94],[-74.98,39.2],[-75.2,39.25],[-75.53,39.5],[-75.32,38.96],[-75.07,38.78],[-75.06,38.4],[-75.38,38.02],[-75.94,37.22],[-76.03,37.26],[-75.72,37.94],[-76.23,38.32],[-76.35,39.15],[-76.54,38.72],[-76.33,38.08],[-76.99,38.24],[-76.3,37.92],[-76.26,36.97],[-75.97,36.9],[-75.87,36.55],[-75.73,35.55],[-76.36,34.81],[-77.4,34.51],[-78.05,33.93],[-78.55,33.86],[-79.06,33.49],[-79.2,33.16],[-80.3,32.51],[-80.86,32.03],[-81.34,31.44],[-81.49,30.73],[-81.31,30.04],[-80.98,29.18],[-80.54,28.47],[-80.53,28.04],[-80.06,26.88],[-80.09,26.21],[-80.13,25.82],[-80.38,25.21],[-80.68,25.08],[-81.17,25.2],[-81.33,25.64],[-81.71,25.87],[-82.24,26.73],[-82.71,27.5],[-82.86,27.89],[-82.65,28.55],[-82.93,29.1],[-83.71,29.94],[-84.1,30.09],[-85.11,29.64],[-85.29,29.69],[-85.77,30.15],[-86.4,30.4],[-87.53,30.27],[-88.42,30.38],[-89.18,30.32],[-89.59,30.16],[-89.41,29.89],[-89.43,29.49],[-89.22,29.29],[-89.41,29.16],[-89.78,29.31],[-90.15,29.12],[-90.88,29.15],[-91.63,29.68],[-92.5,29.55],[-93.23,29.78],[-93.85,29.71],[-94.69,29.48],[-95.6,28.74],[-96.59,28.31],[-97.14,27.83],[-97.37,27.38],[-97.38,26.69],[-97.33,26.21],[-97.14,25.87],[-97.53,25.84],[-98.24,26.06],[-99.02,26.37],[-99.3,26.84],[-99.52,27.54],[-100.11,28.11],[-100.46,28.7],[-100.96,29.38],[-101.66,29.78],[-102.48,29.76],[-103.11,28.97],[-103.94,29.27],[-104.46,29.57],[-104.71,30.12],[-105.04,30.64],[-105.63,31.08],[-106.14,31.4],[-106.51,31.75],[-108.24,31.75],[-108.24,31.34],[-109.03,31.34],[-111.02,31.33],[-113.3,32.04],[-114.81,32.53],[-114.72,32.72],[-115.99,32.61],[-117.13,32.54],[-117.3,33.05],[-117.94,33.62],[-118.41,33.74],[-118.52,34.03],[-119.08,34.08],[-119.44,34.35],[-120.37,34.45],[-120.62,34.61],[-120.74,35.16],[-121.71,36.16],[-122.55,37.55],[-122.51,37.78],[-122.95,38.11],[-123.73,38.95],[-123.87,39.77],[-124.4,40.31],[-124.18,41.14],[-124.21,42],[-124.53,42.77],[-124.14,43.71],[-124.02,44.62],[-123.9,45.52],[-124.08,46.86],[-124.4,47.72],[-124.69,48.18],[-124.57,48.38],[-123.12,48.04],[-122.59,47.1],[-122.34,47.36],[-122.5,48.18],[-122.84,49]]],[[[-155.4,20.08],[-155.22,19.99],[-155.06,19.86],[-154.81,19.51],[-154.83,19.45],[-155.22,19.24],[-155.54,19.08],[-155.69,18.92],[-155.94,19.06],[-155.91,19.34],[-156.07,19.7],[-156.02,19.81],[-155.85,19.98],[-155.92,20.17],[-155.86,20.27],[-155.79,20.25],[-155.4,20.08]]],[[[-156,20.76],[-156.08,20.64],[-156.41,20.57],[-156.59,20.78],[-156.7,20.86],[-156.71,20.93],[-156.61,21.01],[-156.26,20.92],[-156,20.76]]],[[[-156.76,21.18],[-156.79,21.07],[-157.33,21.1],[-157.25,21.22],[-156.76,21.18]]],[[[-158.03,21.72],[-157.94,21.65],[-157.65,21.32],[-157.71,21.26],[-157.78,21.28],[-158.13,21.31],[-158.25,21.54],[-158.29,21.58],[-158.03,21.72]]],[[[-159.37,22.21],[-159.35,21.98],[-159.46,21.88],[-159.8,22.07],[-159.75,22.14],[-159.6,22.24],[-159.37,22.21]]],[[[-166.47,60.38],[-165.67,60.29],[-165.58,59.91],[-166.19,59.75],[-166.85,59.94],[-167.46,60.21],[-166.47,60.38]]],[[[-153.23,57.97],[-152.56,57.9],[-152.14,57.59],[-153.01,57.12],[-154.01,56.73],[-154.52,56.99],[-154.67,57.46],[-153.76,57.82],[-153.23,57.97]]],[[[-140.99,69.71],[-140.99,66],[-141,60.31],[-140.01,60.28],[-139.04,60],[-138.34,59.56],[-137.45,58.91],[-136.48,59.46],[-135.48,59.79],[-134.94,59.27],[-134.27,58.86],[-133.36,58.41],[-132.73,57.69],[-131.71,56.55],[-130.01,55.92],[-129.98,55.29],[-130.54,54.8],[-131.09,55.18],[-131.97,55.5],[-132.25,56.37],[-133.54,57.18],[-134.08,58.12],[-135.04,58.19],[-136.63,58.21],[-137.8,58.5],[-139.87,59.54],[-140.83,59.73],[-142.57,60.08],[-143.96,60],[-145.93,60.46],[-147.11,60.88],[-148.22,60.67],[-148.02,59.98],[-148.57,59.91],[-149.73,59.71],[-150.61,59.37],[-151.72,59.16],[-151.86,59.74],[-151.41,60.73],[-150.35,61.03],[-150.62,61.28],[-151.9,60.73],[-152.58,60.06],[-154.02,59.35],[-153.29,58.86],[-154.23,58.15],[-155.31,57.73],[-156.31,57.42],[-156.56,56.98],[-158.12,56.46],[-158.43,55.99],[-159.6,55.57],[-160.29,55.64],[-161.22,55.36],[-162.24,55.02],[-163.07,54.69],[-164.79,54.4],[-164.94,54.57],[-163.85,55.04],[-162.87,55.35],[-161.8,55.89],[-160.56,56.01],[-160.07,56.42],[-158.68,57.02],[-158.46,57.22],[-157.72,57.57],[-157.55,58.33],[-157.04,58.92],[-158.19,58.62],[-158.52,58.79],[-159.06,58.42],[-159.71,58.93],[-159.98,58.57],[-160.36,59.07],[-161.36,58.67],[-161.97,58.67],[-162.05,59.27],[-161.87,59.63],[-162.52,59.99],[-163.82,59.8],[-164.66,60.27],[-165.35,60.51],[-165.35,61.07],[-166.12,61.5],[-165.73,62.07],[-164.92,62.63],[-164.56,63.15],[-163.75,63.22],[-163.07,63.06],[-162.26,63.54],[-161.53,63.46],[-160.77,63.77],[-160.96,64.22],[-161.52,64.4],[-160.78,64.79],[-161.39,64.78],[-162.45,64.56],[-162.76,64.34],[-163.55,64.56],[-164.96,64.45],[-166.43,64.69],[-166.85,65.09],[-168.11,65.67],[-166.71,66.09],[-164.47,66.58],[-163.65,66.58],[-163.79,66.08],[-161.68,66.12],[-162.49,66.74],[-163.72,67.12],[-164.43,67.62],[-165.39,68.04],[-166.76,68.36],[-166.2,68.88],[-164.43,68.92],[-163.17,69.37],[-162.93,69.86],[-161.91,70.33],[-160.93,70.45],[-159.04,70.89],[-158.12,70.82],[-156.58,71.36],[-155.07,71.15],[-154.34,70.7],[-153.9,70.89],[-152.21,70.83],[-152.27,70.6],[-150.74,70.43],[-149.72,70.53],[-147.61,70.21],[-145.69,70.12],[-144.92,69.99],[-143.59,70.15],[-142.07,69.85],[-140.99,69.71]]],[[[-171.73,63.78],[-171.11,63.59],[-170.49,63.69],[-169.68,63.43],[-168.69,63.3],[-168.77,63.19],[-169.53,62.98],[-170.29,63.19],[-170.67,63.38],[-171.55,63.32],[-171.79,63.41],[-171.73,63.78]]]]},{n:`Kazakhstan`,a2:`KZ`,a3:`KAZ`,p:`KZ`,l:[68.69,49.05],g:[[[[87.36,49.21],[86.6,48.55],[85.77,48.46],[85.72,47.45],[85.16,47],[83.18,47.33],[82.46,45.54],[81.95,45.32],[79.97,44.92],[80.87,43.18],[80.18,42.92],[80.26,42.35],[79.64,42.5],[79.14,42.86],[77.66,42.96],[76,42.99],[75.64,42.88],[74.21,43.3],[73.65,43.09],[73.49,42.5],[71.84,42.85],[71.19,42.7],[70.96,42.27],[70.39,42.08],[69.07,41.38],[68.63,40.67],[68.26,40.66],[67.99,41.14],[66.71,41.17],[66.51,41.99],[66.02,41.99],[66.1,43],[64.9,43.73],[63.19,43.65],[62.01,43.5],[61.06,44.41],[60.24,44.78],[58.69,45.5],[58.5,45.59],[55.93,45],[55.97,41.31],[55.46,41.26],[54.76,42.04],[54.08,42.32],[52.94,42.12],[52.5,41.78],[52.45,42.03],[52.69,42.44],[52.5,42.79],[51.34,43.13],[50.89,44.03],[50.34,44.28],[50.31,44.61],[51.28,44.51],[51.32,45.25],[52.17,45.41],[53.04,45.26],[53.22,46.23],[53.04,46.85],[52.04,46.8],[51.19,47.05],[50.03,46.61],[49.1,46.4],[48.59,46.56],[48.69,47.08],[48.06,47.74],[47.32,47.72],[46.47,48.39],[47.04,49.15],[46.75,49.36],[47.55,50.45],[48.58,49.87],[48.7,50.61],[50.77,51.69],[52.33,51.72],[54.53,51.03],[55.72,50.62],[56.78,51.04],[58.36,51.06],[59.64,50.55],[59.93,50.84],[61.34,50.8],[61.59,51.27],[59.97,51.96],[60.93,52.45],[60.74,52.72],[61.7,52.98],[60.98,53.66],[61.44,54.01],[65.18,54.35],[65.67,54.6],[68.17,54.97],[69.07,55.39],[70.87,55.17],[71.18,54.13],[72.22,54.38],[73.51,54.04],[73.43,53.49],[74.38,53.55],[76.89,54.49],[76.53,54.18],[77.8,53.4],[80.04,50.86],[80.57,51.39],[81.95,50.81],[83.38,51.07],[83.94,50.89],[84.42,50.31],[85.12,50.12],[85.54,49.69],[86.83,49.83],[87.36,49.21]]]]},{n:`Uzbekistan`,a2:`UZ`,a3:`UZB`,p:`UZ`,l:[64.01,41.69],g:[[[[55.97,41.31],[55.93,45],[58.5,45.59],[58.69,45.5],[60.24,44.78],[61.06,44.41],[62.01,43.5],[63.19,43.65],[64.9,43.73],[66.1,43],[66.02,41.99],[66.51,41.99],[66.71,41.17],[67.99,41.14],[68.26,40.66],[68.63,40.67],[69.07,41.38],[70.39,42.08],[70.96,42.27],[71.26,42.17],[70.42,41.52],[71.16,41.14],[71.87,41.39],[73.06,40.87],[71.77,40.15],[71.01,40.24],[70.6,40.22],[70.46,40.5],[70.67,40.96],[69.33,40.73],[69.01,40.09],[68.54,39.53],[67.7,39.58],[67.44,39.14],[68.18,38.9],[68.39,38.16],[67.83,37.14],[67.08,37.36],[66.52,37.36],[66.55,37.97],[65.22,38.4],[64.17,38.89],[63.52,39.36],[62.37,40.05],[61.88,41.08],[61.55,41.27],[60.47,41.22],[60.08,41.43],[59.98,42.22],[58.63,42.75],[57.79,42.17],[56.93,41.83],[57.1,41.32],[55.97,41.31]]]]},{n:`Papua New Guinea`,a2:`PG`,a3:`PNG`,p:`PG`,l:[143.91,-5.7],g:[[[[141,-2.6],[142.74,-3.29],[144.58,-3.86],[145.27,-4.37],[145.83,-4.88],[145.98,-5.47],[147.65,-6.08],[147.89,-6.61],[146.97,-6.72],[147.19,-7.39],[148.08,-8.04],[148.73,-9.1],[149.31,-9.07],[149.27,-9.51],[150.04,-9.68],[149.74,-9.87],[150.8,-10.29],[150.69,-10.58],[150.03,-10.65],[149.78,-10.39],[148.92,-10.28],[147.91,-10.13],[147.14,-9.49],[146.57,-8.94],[146.05,-8.07],[144.74,-7.63],[143.9,-7.92],[143.29,-8.25],[143.41,-8.98],[142.63,-9.33],[142.07,-9.16],[141.03,-9.12],[141.02,-5.86],[141,-2.6]]],[[[152.64,-3.66],[153.02,-3.98],[153.14,-4.5],[152.83,-4.77],[152.64,-4.18],[152.41,-3.79],[151.95,-3.46],[151.38,-3.04],[150.66,-2.74],[150.94,-2.5],[151.48,-2.78],[151.82,-3],[152.24,-3.24],[152.64,-3.66]]],[[[151.3,-5.84],[150.75,-6.08],[150.24,-6.32],[149.71,-6.32],[148.89,-6.03],[148.32,-5.75],[148.4,-5.44],[149.3,-5.58],[149.85,-5.51],[150,-5.03],[150.14,-5],[150.24,-5.53],[150.81,-5.46],[151.09,-5.11],[151.65,-4.76],[151.54,-4.17],[152.14,-4.15],[152.34,-4.31],[152.32,-4.87],[151.98,-5.48],[151.46,-5.56],[151.3,-5.84]]],[[[154.76,-5.34],[155.06,-5.57],[155.55,-6.2],[156.02,-6.54],[155.88,-6.82],[155.6,-6.92],[155.17,-6.54],[154.73,-5.9],[154.51,-5.14],[154.65,-5.04],[154.76,-5.34]]]]},{n:`Indonesia`,a2:`ID`,a3:`IDN`,p:`INDO`,l:[101.89,-.95],g:[[[[141,-2.6],[141.02,-5.86],[141.03,-9.12],[140.14,-8.3],[139.13,-8.1],[138.88,-8.38],[137.61,-8.41],[138.04,-7.6],[138.67,-7.32],[138.41,-6.23],[137.93,-5.39],[135.99,-4.55],[135.16,-4.46],[133.66,-3.54],[133.37,-4.02],[132.98,-4.11],[132.76,-3.75],[132.75,-3.31],[131.99,-2.82],[133.07,-2.46],[133.78,-2.48],[133.7,-2.21],[132.23,-2.21],[131.84,-1.62],[130.94,-1.43],[130.52,-.94],[131.87,-.7],[132.38,-.37],[133.99,-.78],[134.14,-1.15],[134.42,-2.77],[135.46,-3.37],[136.29,-2.31],[137.44,-1.7],[138.33,-1.7],[139.18,-2.05],[139.93,-2.41],[141,-2.6]]],[[[124.97,-8.89],[125.07,-9.09],[125.09,-9.39],[124.44,-10.14],[123.58,-10.36],[123.46,-10.24],[123.55,-9.9],[123.98,-9.29],[124.97,-8.89]]],[[[134.21,-6.9],[134.11,-6.14],[134.29,-5.78],[134.5,-5.45],[134.73,-5.74],[134.72,-6.21],[134.21,-6.9]]],[[[117.88,4.14],[117.31,3.23],[118.05,2.29],[117.88,1.83],[119,.9],[117.81,.78],[117.48,.1],[117.52,-.8],[116.56,-1.49],[116.53,-2.48],[116.15,-4.01],[116,-3.66],[114.86,-4.11],[114.47,-3.5],[113.76,-3.44],[113.26,-3.12],[112.07,-3.48],[111.7,-2.99],[111.05,-3.05],[110.22,-2.93],[110.07,-1.59],[109.57,-1.31],[109.09,-.46],[108.95,.42],[109.07,1.34],[109.66,2.01],[109.83,1.34],[110.51,.77],[111.16,.98],[111.8,.9],[112.38,1.41],[112.86,1.5],[113.81,1.22],[114.62,1.43],[115.13,2.82],[115.52,3.17],[115.87,4.31],[117.02,4.31],[117.88,4.14]]],[[[129.37,-2.8],[130.47,-3.09],[130.83,-3.86],[129.99,-3.45],[129.16,-3.36],[128.59,-3.43],[127.9,-3.39],[128.14,-2.84],[129.37,-2.8]]],[[[126.87,-3.79],[126.18,-3.61],[125.99,-3.18],[127,-3.13],[127.25,-3.46],[126.87,-3.79]]],[[[127.93,2.17],[128,1.63],[128.59,1.54],[128.69,1.13],[128.64,.26],[128.12,.36],[127.97,-.25],[128.38,-.78],[128.1,-.9],[127.7,-.27],[127.4,1.01],[127.6,1.81],[127.93,2.17]]],[[[122.93,.88],[124.08,.92],[125.07,1.64],[125.24,1.42],[124.44,.43],[123.69,.24],[122.72,.43],[121.06,.38],[120.18,.24],[120.04,-.52],[120.94,-1.41],[121.48,-.96],[123.34,-.62],[123.26,-1.08],[122.82,-.93],[122.39,-1.52],[121.51,-1.9],[122.45,-3.19],[122.27,-3.53],[123.17,-4.68],[123.16,-5.34],[122.63,-5.63],[122.24,-5.28],[122.72,-4.46],[121.74,-4.85],[121.49,-4.57],[121.62,-4.19],[120.9,-3.6],[120.97,-2.63],[120.31,-2.93],[120.39,-4.1],[120.43,-5.53],[119.8,-5.67],[119.37,-5.38],[119.65,-4.46],[119.5,-3.49],[119.08,-3.49],[118.77,-2.8],[119.18,-2.15],[119.32,-1.35],[119.83,.15],[120.04,.57],[120.89,1.31],[121.67,1.01],[122.93,.88]]],[[[120.3,-10.26],[118.97,-9.56],[119.9,-9.36],[120.43,-9.67],[120.78,-9.97],[120.72,-10.24],[120.3,-10.26]]],[[[121.34,-8.54],[122.01,-8.46],[122.9,-8.09],[122.76,-8.65],[121.25,-8.93],[119.92,-8.81],[119.92,-8.44],[120.72,-8.24],[121.34,-8.54]]],[[[118.26,-8.36],[118.88,-8.28],[119.13,-8.71],[117.97,-8.91],[117.28,-9.04],[116.74,-9.03],[117.08,-8.46],[117.63,-8.45],[117.9,-8.1],[118.26,-8.36]]],[[[108.49,-6.42],[108.62,-6.78],[110.54,-6.88],[110.76,-6.47],[112.61,-6.95],[112.98,-7.59],[114.48,-7.78],[115.71,-8.37],[114.56,-8.75],[113.46,-8.35],[112.56,-8.38],[111.52,-8.3],[110.59,-8.12],[109.43,-7.74],[108.69,-7.64],[108.28,-7.77],[106.45,-7.35],[106.28,-6.92],[105.37,-6.85],[106.05,-5.9],[107.27,-5.95],[108.07,-6.35],[108.49,-6.42]]],[[[104.37,-1.08],[104.54,-1.78],[104.89,-2.34],[105.62,-2.43],[106.11,-3.06],[105.86,-4.31],[105.82,-5.85],[104.71,-5.87],[103.87,-5.04],[102.58,-4.22],[102.16,-3.61],[101.4,-2.8],[100.9,-2.05],[100.14,-.65],[99.26,.18],[98.97,1.04],[98.6,1.82],[97.7,2.45],[97.18,3.31],[96.42,3.87],[95.38,4.97],[95.29,5.48],[95.94,5.44],[97.48,5.25],[98.37,4.27],[99.14,3.59],[99.69,3.17],[100.64,2.1],[101.66,2.08],[102.5,1.4],[103.08,.56],[103.84,.1],[103.44,-.71],[104.01,-1.06],[104.37,-1.08]]]]},{n:`Argentina`,a2:`AR`,a3:`ARG`,p:`AR`,l:[-64.17,-33.5],g:[[[[-68.63,-52.64],[-68.25,-53.1],[-67.75,-53.85],[-66.45,-54.45],[-65.05,-54.7],[-65.5,-55.2],[-66.45,-55.25],[-66.96,-54.9],[-67.56,-54.87],[-68.63,-54.87],[-68.63,-52.64]]],[[[-57.63,-30.22],[-57.87,-31.02],[-58.14,-32.04],[-58.13,-33.04],[-58.35,-33.26],[-58.43,-33.91],[-58.5,-34.43],[-57.23,-35.29],[-57.36,-35.98],[-56.74,-36.41],[-56.79,-36.9],[-57.75,-38.18],[-59.23,-38.72],[-61.24,-38.93],[-62.34,-38.83],[-62.13,-39.42],[-62.33,-40.17],[-62.15,-40.68],[-62.75,-41.03],[-63.77,-41.17],[-64.73,-40.8],[-65.12,-41.06],[-64.98,-42.06],[-64.3,-42.36],[-63.76,-42.04],[-63.46,-42.56],[-64.38,-42.87],[-65.18,-43.5],[-65.33,-44.5],[-65.57,-45.04],[-66.51,-45.04],[-67.29,-45.55],[-67.58,-46.3],[-66.6,-47.03],[-65.64,-47.24],[-65.99,-48.13],[-67.17,-48.7],[-67.82,-49.87],[-68.73,-50.26],[-69.14,-50.73],[-68.82,-51.77],[-68.15,-52.35],[-68.57,-52.3],[-69.5,-52.14],[-71.91,-52.01],[-72.33,-51.43],[-72.31,-50.68],[-72.98,-50.74],[-73.33,-50.38],[-73.42,-49.32],[-72.65,-48.88],[-72.33,-48.24],[-72.45,-47.74],[-71.92,-46.88],[-71.55,-45.56],[-71.66,-44.97],[-71.22,-44.78],[-71.33,-44.41],[-71.79,-44.21],[-71.46,-43.79],[-71.92,-43.41],[-72.15,-42.25],[-71.75,-42.05],[-71.92,-40.83],[-71.68,-39.81],[-71.41,-38.92],[-70.81,-38.55],[-71.12,-37.58],[-71.12,-36.66],[-70.36,-36.01],[-70.39,-35.17],[-69.82,-34.19],[-69.81,-33.27],[-70.07,-33.09],[-70.54,-31.37],[-69.92,-30.34],[-70.01,-29.37],[-69.66,-28.46],[-69,-27.52],[-68.3,-26.9],[-68.59,-26.51],[-68.39,-26.19],[-68.42,-24.52],[-67.33,-24.03],[-66.99,-22.99],[-67.11,-22.74],[-66.27,-21.83],[-64.96,-22.08],[-64.38,-22.8],[-63.99,-21.99],[-62.85,-22.03],[-62.69,-22.25],[-60.85,-23.88],[-60.03,-24.03],[-58.81,-24.77],[-57.78,-25.16],[-57.63,-25.6],[-58.62,-27.12],[-57.61,-27.4],[-56.49,-27.55],[-55.7,-27.39],[-54.79,-26.62],[-54.63,-25.74],[-54.13,-25.55],[-53.63,-26.12],[-53.65,-26.92],[-54.49,-27.47],[-55.16,-27.88],[-56.29,-28.85],[-57.63,-30.22]]]]},{n:`Chile`,a2:`CL`,a3:`CHL`,p:`CL`,l:[-72.32,-38.15],g:[[[[-68.63,-52.64],[-68.63,-54.87],[-67.56,-54.87],[-66.96,-54.9],[-67.29,-55.3],[-68.15,-55.61],[-68.64,-55.58],[-69.23,-55.5],[-69.96,-55.2],[-71.01,-55.05],[-72.26,-54.5],[-73.29,-53.96],[-74.66,-52.84],[-73.84,-53.05],[-72.43,-53.72],[-71.11,-54.07],[-70.59,-53.62],[-70.27,-52.93],[-69.35,-52.52],[-68.63,-52.64]]],[[[-69.59,-17.58],[-69.1,-18.26],[-68.97,-18.98],[-68.44,-19.41],[-68.76,-20.37],[-68.22,-21.49],[-67.83,-22.87],[-67.11,-22.74],[-66.99,-22.99],[-67.33,-24.03],[-68.42,-24.52],[-68.39,-26.19],[-68.59,-26.51],[-68.3,-26.9],[-69,-27.52],[-69.66,-28.46],[-70.01,-29.37],[-69.92,-30.34],[-70.54,-31.37],[-70.07,-33.09],[-69.81,-33.27],[-69.82,-34.19],[-70.39,-35.17],[-70.36,-36.01],[-71.12,-36.66],[-71.12,-37.58],[-70.81,-38.55],[-71.41,-38.92],[-71.68,-39.81],[-71.92,-40.83],[-71.75,-42.05],[-72.15,-42.25],[-71.92,-43.41],[-71.46,-43.79],[-71.79,-44.21],[-71.33,-44.41],[-71.22,-44.78],[-71.66,-44.97],[-71.55,-45.56],[-71.92,-46.88],[-72.45,-47.74],[-72.33,-48.24],[-72.65,-48.88],[-73.42,-49.32],[-73.33,-50.38],[-72.98,-50.74],[-72.31,-50.68],[-72.33,-51.43],[-71.91,-52.01],[-69.5,-52.14],[-68.57,-52.3],[-69.46,-52.29],[-69.94,-52.54],[-70.85,-52.9],[-71.01,-53.83],[-71.43,-53.86],[-72.56,-53.53],[-73.7,-52.84],[-74.95,-52.26],[-75.26,-51.63],[-74.98,-51.04],[-75.48,-50.38],[-75.61,-48.67],[-75.18,-47.71],[-74.13,-46.94],[-75.64,-46.65],[-74.69,-45.76],[-74.35,-44.1],[-73.24,-44.45],[-72.72,-42.38],[-73.39,-42.12],[-73.7,-43.37],[-74.33,-43.22],[-74.02,-41.79],[-73.68,-39.94],[-73.22,-39.26],[-73.51,-38.28],[-73.59,-37.16],[-73.17,-37.12],[-72.55,-35.51],[-71.86,-33.91],[-71.44,-32.42],[-71.67,-30.92],[-71.37,-30.1],[-71.49,-28.86],[-70.91,-27.64],[-70.72,-25.71],[-70.4,-23.63],[-70.09,-21.39],[-70.16,-19.76],[-70.37,-18.35],[-69.86,-18.09],[-69.59,-17.58]]]]},{n:`Democratic Republic of the Congo`,a2:`CD`,a3:`COD`,p:`DRC`,l:[23.46,-1.86],g:[[[[29.34,-4.5],[29.52,-5.42],[29.42,-5.94],[29.62,-6.52],[30.2,-7.08],[30.74,-8.34],[30.35,-8.24],[29,-8.41],[28.73,-8.53],[28.45,-9.16],[28.67,-9.61],[28.5,-10.79],[28.37,-11.79],[28.64,-11.97],[29.34,-12.36],[29.62,-12.18],[29.7,-13.26],[28.93,-13.25],[28.52,-12.7],[28.16,-12.27],[27.39,-12.13],[27.16,-11.61],[26.55,-11.92],[25.75,-11.78],[25.42,-11.33],[24.78,-11.24],[24.31,-11.26],[24.26,-10.95],[23.91,-10.93],[23.46,-10.87],[22.84,-11.02],[22.4,-10.99],[22.16,-11.08],[22.21,-9.89],[21.88,-9.52],[21.8,-8.91],[21.95,-8.31],[21.75,-7.92],[21.73,-7.29],[20.51,-7.3],[20.6,-6.94],[20.09,-6.94],[20.04,-7.12],[19.42,-7.16],[19.17,-7.74],[19.02,-7.99],[18.46,-7.85],[18.13,-7.99],[17.47,-8.07],[17.09,-7.55],[16.86,-7.22],[16.57,-6.62],[16.33,-5.88],[13.38,-5.86],[13.02,-5.98],[12.74,-5.97],[12.32,-6.1],[12.18,-5.79],[12.44,-5.68],[12.47,-5.25],[12.63,-4.99],[13,-4.78],[13.26,-4.88],[13.6,-4.5],[14.14,-4.51],[14.21,-4.79],[14.58,-4.97],[15.17,-4.34],[15.75,-3.86],[16.01,-3.54],[15.97,-2.71],[16.41,-1.74],[16.87,-1.23],[17.52,-.74],[17.64,-.42],[17.66,-.06],[17.83,.29],[17.77,.86],[17.9,1.74],[18.09,2.37],[18.39,2.9],[18.45,3.5],[18.54,4.2],[18.93,4.71],[19.47,5.03],[20.29,4.69],[20.93,4.32],[21.66,4.22],[22.41,4.03],[22.7,4.63],[22.84,4.71],[23.3,4.61],[24.41,5.11],[24.81,4.9],[25.13,4.93],[25.28,5.17],[25.65,5.26],[26.4,5.15],[27.04,5.13],[27.37,5.23],[27.98,4.41],[28.43,4.29],[28.7,4.46],[29.16,4.39],[29.72,4.6],[29.95,4.17],[30.83,3.51],[30.77,2.34],[31.17,2.2],[30.85,1.85],[30.47,1.58],[30.09,1.06],[29.88,.6],[29.82,-.21],[29.59,-.59],[29.58,-1.34],[29.29,-1.62],[29.25,-2.22],[29.12,-2.29],[29.02,-2.84],[29.28,-3.29],[29.34,-4.5]]]]},{n:`Somalia`,a2:`SO`,a3:`SOM`,p:`SO`,l:[45.19,3.57],g:[[[[41.59,-1.68],[40.99,-.86],[40.98,2.78],[41.86,3.92],[42.13,4.23],[42.77,4.25],[43.66,4.96],[44.96,5],[47.79,8],[48.49,8.84],[48.94,9.45],[48.94,9.97],[48.94,10.98],[48.94,11.39],[48.95,11.41],[49.27,11.43],[49.73,11.58],[50.26,11.68],[50.73,12.02],[51.11,12.02],[51.13,11.75],[51.04,11.17],[51.05,10.64],[50.83,10.28],[50.55,9.2],[50.07,8.08],[49.45,6.8],[48.59,5.34],[47.74,4.22],[46.56,2.86],[45.56,2.05],[44.07,1.05],[43.14,.29],[42.04,-.92],[41.81,-1.45],[41.59,-1.68]]]]},{n:`Kenya`,a2:`KE`,a3:`KEN`,p:`KE`,l:[37.91,.55],g:[[[[39.2,-4.68],[37.77,-3.68],[37.7,-3.1],[34.07,-1.06],[33.9,-.95],[33.89,.11],[34.18,.52],[34.67,1.18],[35.04,1.91],[34.6,3.05],[34.48,3.56],[34.01,4.25],[34.62,4.85],[35.3,5.51],[35.82,5.34],[35.82,4.78],[36.16,4.45],[36.86,4.45],[38.12,3.6],[38.44,3.59],[38.67,3.62],[38.89,3.5],[39.56,3.42],[39.85,3.84],[40.77,4.26],[41.17,3.92],[41.86,3.92],[40.98,2.78],[40.99,-.86],[41.59,-1.68],[40.88,-2.08],[40.64,-2.5],[40.26,-2.57],[40.12,-3.28],[39.8,-3.68],[39.6,-4.35],[39.2,-4.68]]]]},{n:`Sudan`,a2:`SD`,a3:`SDN`,p:`SD`,l:[29.26,16.33],g:[[[[24.57,8.23],[23.81,8.67],[23.46,8.95],[23.39,9.27],[23.56,9.68],[23.55,10.09],[22.98,10.71],[22.86,11.14],[22.88,11.38],[22.51,11.68],[22.5,12.26],[22.29,12.65],[21.94,12.59],[22.04,12.96],[22.3,13.37],[22.18,13.79],[22.51,14.09],[22.3,14.33],[22.57,14.94],[23.02,15.68],[23.89,15.61],[23.84,19.58],[23.85,20],[25,20],[25,22],[29.02,22],[32.9,22],[36.87,22],[37.19,21.02],[36.97,20.84],[37.11,19.81],[37.48,18.61],[37.86,18.37],[38.41,18],[37.9,17.43],[37.17,17.26],[36.85,16.96],[36.75,16.29],[36.32,14.82],[36.43,14.42],[36.27,13.56],[35.86,12.58],[35.26,12.08],[34.83,11.32],[34.73,10.91],[34.26,10.63],[33.96,9.58],[33.97,8.68],[33.96,9.46],[33.82,9.48],[33.84,9.98],[33.72,10.33],[33.21,10.72],[33.09,11.44],[33.21,12.18],[32.74,12.25],[32.67,12.02],[32.07,11.97],[32.31,11.68],[32.4,11.08],[31.85,10.53],[31.35,9.81],[30.84,9.71],[30,10.29],[29.62,10.08],[29.52,9.79],[29,9.6],[28.97,9.4],[27.97,9.4],[27.83,9.6],[27.11,9.64],[26.75,9.47],[26.48,9.55],[25.96,10.14],[25.79,10.41],[25.07,10.27],[24.79,9.81],[24.54,8.92],[24.19,8.73],[23.89,8.62],[24.57,8.23]]]]},{n:`Chad`,a2:`TD`,a3:`TCD`,p:`TD`,l:[18.65,15.14],g:[[[[23.84,19.58],[23.89,15.61],[23.02,15.68],[22.57,14.94],[22.3,14.33],[22.51,14.09],[22.18,13.79],[22.3,13.37],[22.04,12.96],[21.94,12.59],[22.29,12.65],[22.5,12.26],[22.51,11.68],[22.88,11.38],[22.86,11.14],[22.23,10.97],[21.72,10.57],[21,9.48],[20.06,9.01],[19.09,9.07],[18.81,8.98],[18.91,8.63],[18.39,8.28],[17.96,7.89],[16.71,7.51],[16.46,7.73],[16.29,7.75],[16.11,7.5],[15.28,7.42],[15.44,7.69],[15.12,8.38],[14.98,8.8],[14.54,8.97],[13.95,9.55],[14.17,10.02],[14.63,9.92],[14.91,9.99],[15.47,9.98],[14.92,10.89],[14.96,11.56],[14.89,12.22],[14.5,12.86],[14.6,13.33],[13.95,13.35],[13.96,14],[13.54,14.37],[13.97,15.68],[15.25,16.63],[15.3,17.93],[15.69,19.96],[15.9,20.39],[15.49,20.73],[15.47,21.05],[15.1,21.31],[14.85,22.86],[15.86,23.41],[19.85,21.5],[23.84,19.58]]]]},{n:`Haiti`,a2:`HT`,a3:`HTI`,p:`HT`,l:[-72.22,19.26],g:[[[[-71.71,19.71],[-71.62,19.17],[-71.7,18.79],[-71.95,18.62],[-71.69,18.32],[-71.71,18.04],[-72.37,18.21],[-72.84,18.15],[-73.45,18.22],[-73.92,18.03],[-74.46,18.34],[-74.37,18.66],[-73.45,18.53],[-72.69,18.45],[-72.33,18.67],[-72.79,19.1],[-72.78,19.48],[-73.42,19.64],[-73.19,19.92],[-72.58,19.87],[-71.71,19.71]]]]},{n:`Dominican Republic`,a2:`DO`,a3:`DOM`,p:`DO`,l:[-70.65,19.1],g:[[[[-71.71,18.04],[-71.69,18.32],[-71.95,18.62],[-71.7,18.79],[-71.62,19.17],[-71.71,19.71],[-71.59,19.88],[-70.81,19.88],[-70.21,19.62],[-69.95,19.65],[-69.77,19.29],[-69.22,19.31],[-69.25,19.02],[-68.81,18.98],[-68.32,18.61],[-68.69,18.21],[-69.16,18.42],[-69.62,18.38],[-69.95,18.43],[-70.13,18.25],[-70.52,18.18],[-70.67,18.43],[-71,18.28],[-71.4,17.6],[-71.66,17.76],[-71.71,18.04]]]]},{n:`Russian Federation`,a2:`RU`,a3:`RUS`,p:`RUS`,l:[44.69,58.25],g:[[[[178.73,71.1],[180,71.52],[180,70.83],[178.9,70.78],[178.73,71.1]]],[[[49.1,46.4],[48.65,45.81],[47.68,45.64],[46.68,44.61],[47.59,43.66],[47.49,42.99],[48.58,41.81],[47.99,41.41],[47.82,41.15],[47.37,41.22],[46.69,41.83],[46.4,41.86],[45.78,42.09],[45.47,42.5],[44.54,42.71],[43.93,42.55],[43.76,42.74],[42.39,43.22],[40.92,43.38],[40.08,43.55],[39.96,43.43],[38.68,44.28],[37.54,44.66],[36.68,45.24],[37.4,45.4],[38.23,46.24],[37.67,46.64],[39.15,47.04],[39.12,47.26],[38.22,47.1],[38.26,47.55],[38.77,47.83],[39.74,47.9],[39.9,48.23],[39.67,48.78],[40.08,49.31],[40.07,49.6],[38.59,49.93],[38.01,49.92],[37.39,50.38],[36.63,50.23],[35.36,50.58],[35.38,50.77],[35.02,51.21],[34.22,51.26],[34.14,51.57],[34.39,51.77],[33.75,52.34],[32.72,52.24],[32.41,52.29],[32.16,52.06],[31.79,52.1],[31.54,52.74],[31.31,53.07],[31.5,53.17],[32.3,53.13],[32.69,53.35],[32.41,53.62],[31.73,53.79],[31.79,53.97],[31.38,54.16],[30.76,54.81],[30.97,55.08],[30.87,55.55],[29.9,55.79],[29.37,55.67],[29.23,55.92],[28.18,56.17],[27.86,56.76],[27.77,57.24],[27.29,57.47],[27.72,57.79],[27.42,58.72],[28.13,59.3],[27.98,59.48],[29.12,60.03],[28.07,60.5],[30.21,61.78],[31.14,62.36],[31.52,62.87],[30.04,63.55],[30.44,64.2],[29.54,64.95],[30.22,65.81],[29.05,66.94],[29.98,67.7],[28.45,68.36],[28.59,69.06],[29.4,69.16],[31.1,69.56],[32.13,69.91],[33.78,69.3],[36.51,69.06],[40.29,67.93],[41.06,67.46],[41.13,66.79],[40.02,66.27],[38.38,66],[33.92,66.76],[33.18,66.63],[34.81,65.9],[34.88,65.44],[34.94,64.41],[36.23,64.11],[37.01,63.85],[37.14,64.33],[36.54,64.76],[37.18,65.14],[39.59,64.52],[40.44,64.76],[39.76,65.5],[42.09,66.48],[43.02,66.42],[43.95,66.07],[44.53,66.76],[43.7,67.35],[44.19,67.95],[43.45,68.57],[46.25,68.25],[46.82,67.69],[45.56,67.57],[45.56,67.01],[46.35,66.67],[47.89,66.88],[48.14,67.52],[50.23,68],[53.72,68.86],[54.47,68.81],[53.49,68.2],[54.73,68.1],[55.44,68.44],[57.32,68.47],[58.8,68.88],[59.94,68.28],[61.08,68.94],[60.03,69.52],[60.55,69.85],[63.5,69.55],[64.89,69.23],[68.51,68.09],[69.18,68.62],[68.16,69.14],[68.14,69.36],[66.93,69.45],[67.26,69.93],[66.72,70.71],[66.69,71.03],[68.54,71.93],[69.2,72.84],[69.94,73.04],[72.59,72.78],[72.8,72.22],[71.85,71.41],[72.47,71.09],[72.79,70.39],[72.56,69.02],[73.67,68.41],[73.24,67.74],[71.28,66.32],[72.42,66.17],[72.82,66.53],[73.92,66.79],[74.19,67.28],[75.05,67.76],[74.47,68.33],[74.94,68.99],[73.84,69.07],[73.6,69.63],[74.4,70.63],[73.1,71.45],[74.89,72.12],[74.66,72.83],[75.16,72.85],[75.68,72.3],[75.29,71.34],[76.36,71.15],[75.9,71.87],[77.58,72.27],[79.65,72.32],[81.5,71.75],[80.61,72.58],[80.51,73.65],[82.25,73.85],[84.66,73.81],[86.82,73.94],[86.01,74.46],[87.17,75.12],[88.32,75.14],[90.26,75.64],[92.9,75.77],[93.23,76.05],[95.86,76.14],[96.68,75.92],[98.92,76.45],[100.76,76.43],[101.04,76.86],[101.99,77.29],[104.35,77.7],[106.07,77.37],[104.71,77.13],[106.97,76.97],[107.24,76.48],[108.15,76.72],[111.08,76.71],[113.33,76.22],[114.13,75.85],[113.89,75.33],[112.78,75.03],[110.15,74.48],[109.4,74.18],[110.64,74.04],[112.12,73.79],[113.02,73.98],[113.53,73.34],[113.97,73.59],[115.57,73.75],[118.78,73.59],[119.02,73.12],[123.2,72.97],[123.26,73.74],[125.38,73.56],[126.98,73.57],[128.59,73.04],[129.05,72.4],[128.46,71.98],[129.72,71.19],[131.29,70.79],[132.25,71.84],[133.86,71.39],[135.56,71.66],[137.5,71.35],[138.23,71.63],[139.87,71.49],[139.15,72.42],[140.47,72.85],[149.5,72.2],[150.35,71.61],[152.97,70.84],[157.01,71.03],[159,70.87],[159.83,70.45],[159.71,69.72],[160.94,69.44],[162.28,69.64],[164.05,69.67],[165.94,69.47],[167.84,69.58],[169.58,68.69],[170.82,69.01],[170.01,69.65],[170.45,70.1],[173.64,69.82],[175.72,69.88],[178.6,69.4],[180,68.96],[180,64.98],[179.99,64.97],[178.71,64.53],[177.41,64.61],[178.31,64.08],[178.91,63.25],[179.37,62.98],[179.49,62.57],[179.23,62.3],[177.36,62.52],[174.57,61.77],[173.68,61.65],[172.15,60.95],[170.7,60.34],[170.33,59.88],[168.9,60.57],[166.29,59.79],[165.84,60.16],[164.88,59.73],[163.54,59.87],[163.22,59.21],[162.02,58.24],[162.05,57.84],[163.19,57.62],[163.06,56.16],[162.13,56.12],[161.7,55.29],[162.12,54.86],[160.37,54.34],[160.02,53.2],[158.53,52.96],[158.23,51.94],[156.79,51.01],[156.42,51.7],[155.99,53.16],[155.43,55.38],[155.91,56.77],[156.76,57.36],[156.81,57.83],[158.36,58.06],[160.15,59.31],[161.87,60.34],[163.67,61.14],[164.47,62.55],[163.26,62.47],[162.66,61.64],[160.12,60.54],[159.3,61.77],[156.72,61.43],[154.22,59.76],[155.04,59.14],[152.81,58.88],[151.27,58.78],[151.34,59.5],[149.78,59.66],[148.54,59.16],[145.49,59.34],[142.2,59.04],[138.96,57.09],[135.13,54.73],[136.7,54.6],[137.19,53.98],[138.16,53.76],[138.8,54.25],[139.9,54.19],[141.35,53.09],[141.38,52.24],[140.6,51.24],[140.51,50.05],[140.06,48.45],[138.55,47],[138.22,46.31],[136.86,45.14],[135.52,43.99],[134.87,43.4],[133.54,42.81],[132.91,42.8],[132.28,43.28],[130.94,42.55],[130.78,42.22],[130.64,42.4],[130.63,42.9],[131.14,42.93],[131.29,44.11],[131.03,44.97],[131.88,45.32],[133.1,45.14],[133.77,46.12],[134.11,47.21],[134.5,47.58],[135.03,48.48],[133.37,48.18],[132.51,47.79],[130.99,47.79],[130.58,48.73],[129.4,49.44],[127.66,49.76],[127.29,50.74],[126.94,51.35],[126.56,51.78],[125.95,52.79],[125.07,53.16],[123.57,53.46],[122.25,53.43],[121,53.25],[120.18,52.75],[120.73,52.52],[120.74,51.96],[120.18,51.64],[119.28,50.58],[119.29,50.14],[117.88,49.51],[116.68,49.89],[115.49,49.81],[114.96,50.14],[114.36,50.25],[112.9,49.54],[111.58,49.38],[110.66,49.13],[109.4,49.29],[108.48,49.28],[107.87,49.79],[106.89,50.27],[105.89,50.41],[104.62,50.28],[103.68,50.09],[102.26,50.51],[102.07,51.26],[100.89,51.52],[99.98,51.63],[98.86,52.05],[97.83,51.01],[98.23,50.42],[97.26,49.73],[95.81,49.98],[94.82,50.01],[94.15,50.48],[93.1,50.5],[92.23,50.8],[90.71,50.33],[88.81,49.47],[87.75,49.3],[87.36,49.21],[86.83,49.83],[85.54,49.69],[85.12,50.12],[84.42,50.31],[83.94,50.89],[83.38,51.07],[81.95,50.81],[80.57,51.39],[80.04,50.86],[77.8,53.4],[76.53,54.18],[76.89,54.49],[74.38,53.55],[73.43,53.49],[73.51,54.04],[72.22,54.38],[71.18,54.13],[70.87,55.17],[69.07,55.39],[68.17,54.97],[65.67,54.6],[65.18,54.35],[61.44,54.01],[60.98,53.66],[61.7,52.98],[60.74,52.72],[60.93,52.45],[59.97,51.96],[61.59,51.27],[61.34,50.8],[59.93,50.84],[59.64,50.55],[58.36,51.06],[56.78,51.04],[55.72,50.62],[54.53,51.03],[52.33,51.72],[50.77,51.69],[48.7,50.61],[48.58,49.87],[47.55,50.45],[46.75,49.36],[47.04,49.15],[46.47,48.39],[47.32,47.72],[48.06,47.74],[48.69,47.08],[48.59,46.56],[49.1,46.4]]],[[[93.78,81.02],[95.94,81.25],[97.88,80.75],[100.19,79.78],[99.94,78.88],[97.76,78.76],[94.97,79.04],[93.31,79.43],[92.55,80.14],[91.18,80.34],[93.78,81.02]]],[[[102.84,79.28],[105.37,78.71],[105.08,78.31],[99.44,77.92],[101.26,79.23],[102.09,79.35],[102.84,79.28]]],[[[138.83,76.14],[141.47,76.09],[145.09,75.56],[144.3,74.82],[140.61,74.85],[138.96,74.61],[136.97,75.26],[137.51,75.95],[138.83,76.14]]],[[[148.22,75.35],[150.73,75.08],[149.58,74.69],[147.98,74.78],[146.12,75.17],[146.36,75.5],[148.22,75.35]]],[[[139.86,73.37],[140.81,73.77],[142.06,73.86],[143.48,73.48],[143.6,73.21],[142.09,73.21],[140.04,73.32],[139.86,73.37]]],[[[44.85,80.59],[46.8,80.77],[48.32,80.78],[48.52,80.51],[49.1,80.75],[50.04,80.92],[51.52,80.7],[51.14,80.55],[49.79,80.42],[48.89,80.34],[48.75,80.18],[47.59,80.01],[46.5,80.25],[47.07,80.56],[44.85,80.59]]],[[[22.73,54.33],[20.89,54.31],[19.66,54.43],[19.89,54.87],[21.27,55.19],[22.32,55.02],[22.76,54.86],[22.65,54.58],[22.73,54.33]]],[[[53.51,73.75],[55.9,74.63],[55.63,75.08],[57.87,75.61],[61.17,76.25],[64.5,76.44],[66.21,76.81],[68.16,76.94],[68.85,76.54],[68.18,76.23],[64.64,75.74],[61.58,75.26],[58.48,74.31],[56.99,73.33],[55.42,72.37],[55.62,71.54],[57.54,70.72],[56.94,70.63],[53.68,70.76],[53.41,71.21],[51.6,71.47],[51.46,72.01],[52.48,72.23],[52.44,72.77],[54.43,73.63],[53.51,73.75]]],[[[142.91,53.7],[143.26,52.74],[143.24,51.76],[143.65,50.75],[144.65,48.98],[143.17,49.31],[142.56,47.86],[143.53,46.84],[143.51,46.14],[142.75,46.74],[142.09,45.97],[141.91,46.81],[142.02,47.78],[141.9,48.86],[142.14,49.62],[142.18,50.95],[141.59,51.94],[141.68,53.3],[142.61,53.76],[142.21,54.23],[142.65,54.37],[142.91,53.7]]],[[[-174.93,67.21],[-175.01,66.58],[-174.34,66.34],[-174.57,67.06],[-171.86,66.91],[-169.9,65.98],[-170.89,65.54],[-172.53,65.44],[-172.55,64.46],[-172.96,64.25],[-173.89,64.28],[-174.65,64.63],[-175.98,64.92],[-176.21,65.36],[-177.22,65.52],[-178.36,65.39],[-178.9,65.74],[-178.69,66.11],[-179.88,65.87],[-179.43,65.4],[-180,64.98],[-180,68.96],[-177.55,68.2],[-174.93,67.21]]],[[[-178.69,70.89],[-180,70.83],[-180,71.52],[-179.87,71.56],[-179.02,71.56],[-177.58,71.27],[-177.66,71.13],[-178.69,70.89]]],[[[33.44,45.97],[33.7,46.22],[34.41,46.01],[34.73,45.97],[34.86,45.77],[35.01,45.74],[35.02,45.65],[35.51,45.41],[36.53,45.47],[36.33,45.11],[35.24,44.94],[33.88,44.36],[33.33,44.56],[33.55,45.03],[32.45,45.33],[32.63,45.52],[33.59,45.85],[33.44,45.97]]]]},{n:`Bahamas`,a2:`BS`,a3:`BHS`,p:`BS`,l:[-77.15,26.4],g:[[[[-78.98,26.79],[-78.51,26.87],[-77.85,26.84],[-77.82,26.58],[-78.91,26.42],[-78.98,26.79]]],[[[-77.79,27.04],[-77,26.59],[-77.17,25.88],[-77.36,26.01],[-77.34,26.53],[-77.79,26.93],[-77.79,27.04]]],[[[-78.19,25.21],[-77.89,25.17],[-77.54,24.34],[-77.53,23.76],[-77.78,23.71],[-78.03,24.29],[-78.41,24.58],[-78.19,25.21]]]]},{n:`Falkland Islands / Malvinas`,a2:`FK`,a3:`FLK`,p:`FK`,l:[-58.74,-51.61],g:[[[[-61.2,-51.85],[-60,-51.25],[-59.15,-51.5],[-58.55,-51.1],[-57.75,-51.55],[-58.05,-51.9],[-59.4,-52.2],[-59.85,-51.85],[-60.7,-52.3],[-61.2,-51.85]]]]},{n:`Norway`,a2:``,a3:`NOR`,p:`N`,l:[9.68,61.36],g:[[[[15.14,79.67],[15.52,80.02],[16.99,80.05],[18.25,79.7],[21.54,78.96],[19.03,78.56],[18.47,77.83],[17.59,77.64],[17.12,76.81],[15.91,76.77],[13.76,77.38],[14.67,77.74],[13.17,78.02],[11.22,78.87],[10.44,79.65],[13.17,80.01],[13.72,79.66],[15.14,79.67]]],[[[31.1,69.56],[29.4,69.16],[28.59,69.06],[29.02,69.77],[27.73,70.16],[26.18,69.83],[25.69,69.09],[24.74,68.65],[23.66,68.89],[22.36,68.84],[21.24,69.37],[20.65,69.11],[20.03,69.07],[19.88,68.41],[17.99,68.57],[17.73,68.01],[16.77,68.01],[16.11,67.3],[15.11,66.19],[13.56,64.79],[13.92,64.45],[13.57,64.05],[12.58,64.07],[11.93,63.13],[11.99,61.8],[12.63,61.29],[12.3,60.12],[11.47,59.43],[11.03,58.86],[10.36,59.47],[8.38,58.31],[7.05,58.08],[5.67,58.59],[5.31,59.66],[4.99,61.97],[5.91,62.61],[8.55,63.45],[10.53,64.49],[12.36,65.88],[14.76,67.81],[16.44,68.56],[19.18,69.82],[21.38,70.26],[23.02,70.2],[24.55,71.03],[26.37,70.99],[28.17,71.19],[31.29,70.45],[30.01,70.19],[31.1,69.56]]],[[[27.41,80.06],[25.92,79.52],[23.02,79.4],[20.08,79.57],[19.9,79.84],[18.46,79.86],[17.37,80.32],[20.46,80.6],[21.91,80.36],[22.92,80.66],[25.45,80.41],[27.41,80.06]]],[[[24.72,77.85],[22.49,77.44],[20.73,77.68],[21.42,77.94],[20.81,78.25],[22.88,78.45],[23.28,78.08],[24.72,77.85]]]]},{n:`Greenland`,a2:`GL`,a3:`GRL`,p:`GL`,l:[-39.34,74.32],g:[[[[-46.76,82.63],[-43.41,83.23],[-39.9,83.18],[-38.62,83.55],[-35.09,83.65],[-27.1,83.52],[-20.85,82.73],[-22.69,82.34],[-26.52,82.3],[-31.9,82.2],[-31.4,82.02],[-27.86,82.13],[-24.84,81.79],[-22.9,82.09],[-22.07,81.73],[-23.17,81.15],[-20.62,81.52],[-15.77,81.91],[-12.77,81.72],[-12.21,81.29],[-16.29,80.58],[-16.85,80.35],[-20.05,80.18],[-17.73,80.13],[-18.9,79.4],[-19.7,78.75],[-19.67,77.64],[-18.47,76.99],[-20.04,76.94],[-21.68,76.63],[-19.83,76.1],[-19.6,75.25],[-20.67,75.16],[-19.37,74.3],[-21.59,74.22],[-20.43,73.82],[-20.76,73.46],[-22.17,73.31],[-23.57,73.31],[-22.31,72.63],[-22.3,72.18],[-24.28,72.6],[-24.79,72.33],[-23.44,72.08],[-22.13,71.47],[-21.75,70.66],[-23.54,70.47],[-24.31,70.86],[-25.54,71.43],[-25.2,70.75],[-26.36,70.23],[-23.73,70.18],[-22.35,70.13],[-25.03,69.26],[-27.75,68.47],[-30.67,68.13],[-31.78,68.12],[-32.81,67.74],[-34.2,66.68],[-36.35,65.98],[-37.04,65.94],[-38.38,65.69],[-39.81,65.46],[-40.67,64.84],[-40.68,64.14],[-41.19,63.48],[-42.82,62.68],[-42.42,61.9],[-42.87,61.07],[-43.38,60.1],[-44.79,60.04],[-46.26,60.85],[-48.26,60.86],[-49.23,61.41],[-49.9,62.38],[-51.63,63.63],[-52.14,64.28],[-52.28,65.18],[-53.66,66.1],[-53.3,66.84],[-53.97,67.19],[-52.98,68.36],[-51.48,68.73],[-51.08,69.15],[-50.87,69.93],[-52.01,69.57],[-52.56,69.43],[-53.46,69.28],[-54.68,69.61],[-54.75,70.29],[-54.36,70.82],[-53.43,70.84],[-51.39,70.57],[-53.11,71.2],[-54,71.55],[-55,71.41],[-55.83,71.65],[-54.72,72.59],[-55.33,72.96],[-56.12,73.65],[-57.32,74.71],[-58.6,75.1],[-58.59,75.52],[-61.27,76.1],[-63.39,76.18],[-66.06,76.13],[-68.5,76.06],[-69.66,76.38],[-71.4,77.01],[-68.78,77.32],[-66.76,77.38],[-71.04,77.64],[-73.3,78.04],[-73.16,78.43],[-69.37,78.91],[-65.71,79.39],[-65.32,79.76],[-68.02,80.12],[-67.15,80.52],[-63.69,81.21],[-62.23,81.32],[-62.65,81.77],[-60.28,82.03],[-57.21,82.19],[-54.13,82.2],[-53.04,81.89],[-50.39,82.44],[-48,82.06],[-46.6,81.99],[-44.52,81.66],[-46.9,82.2],[-46.76,82.63]]]]},{n:`French Southern and Antarctic Lands`,a2:`TF`,a3:`ATF`,p:`TF`,l:[69.12,-49.3],g:[[[[68.94,-48.62],[69.58,-48.94],[70.53,-49.06],[70.56,-49.25],[70.28,-49.71],[68.75,-49.77],[68.72,-49.24],[68.87,-48.83],[68.94,-48.62]]]]},{n:`Timor-Leste`,a2:`TL`,a3:`TLS`,p:`TL`,l:[125.85,-8.8],g:[[[[124.97,-8.89],[125.09,-8.66],[125.95,-8.43],[126.64,-8.4],[126.96,-8.27],[127.34,-8.4],[126.97,-8.67],[125.93,-9.11],[125.09,-9.39],[125.07,-9.09],[124.97,-8.89]]]]},{n:`South Africa`,a2:`ZA`,a3:`ZAF`,p:`ZA`,l:[23.67,-29.71],g:[[[[16.34,-28.58],[16.82,-28.08],[17.22,-28.36],[17.39,-28.78],[17.84,-28.86],[18.46,-29.05],[19,-28.97],[19.89,-28.46],[19.9,-24.77],[20.17,-24.92],[20.76,-25.87],[20.67,-26.48],[20.89,-26.83],[21.61,-26.73],[22.11,-26.28],[22.58,-25.98],[22.82,-25.5],[23.31,-25.27],[23.73,-25.39],[24.21,-25.67],[25.03,-25.72],[25.66,-25.49],[25.77,-25.17],[25.94,-24.7],[26.49,-24.62],[26.79,-24.24],[27.12,-23.57],[28.02,-22.83],[29.43,-22.09],[29.84,-22.1],[30.32,-22.27],[30.66,-22.15],[31.19,-22.25],[31.67,-23.66],[31.93,-24.37],[31.75,-25.48],[31.84,-25.84],[31.33,-25.66],[31.04,-25.73],[30.95,-26.02],[30.68,-26.4],[30.69,-26.74],[31.28,-27.29],[31.87,-27.18],[32.07,-26.73],[32.83,-26.74],[32.58,-27.47],[32.46,-28.3],[32.2,-28.75],[31.52,-29.26],[31.33,-29.4],[30.9,-29.91],[30.62,-30.42],[30.06,-31.14],[28.93,-32.17],[28.22,-32.77],[27.46,-33.23],[26.42,-33.61],[25.91,-33.67],[25.78,-33.94],[25.17,-33.8],[24.68,-33.99],[23.59,-33.79],[22.99,-33.92],[22.57,-33.86],[21.54,-34.26],[20.69,-34.42],[20.07,-34.8],[19.62,-34.82],[19.19,-34.46],[18.86,-34.44],[18.42,-34],[18.38,-34.14],[18.24,-33.87],[18.25,-33.28],[17.93,-32.61],[18.25,-32.43],[18.22,-31.66],[17.57,-30.73],[17.06,-29.88],[16.34,-28.58]],[[28.98,-28.96],[28.54,-28.65],[28.07,-28.85],[27.53,-29.24],[27,-29.88],[27.75,-30.65],[28.11,-30.55],[28.29,-30.23],[28.85,-30.07],[29.02,-29.74],[29.33,-29.26],[28.98,-28.96]]]]},{n:`Lesotho`,a2:`LS`,a3:`LSO`,p:`LS`,l:[28.25,-29.48],g:[[[[28.98,-28.96],[29.33,-29.26],[29.02,-29.74],[28.85,-30.07],[28.29,-30.23],[28.11,-30.55],[27.75,-30.65],[27,-29.88],[27.53,-29.24],[28.07,-28.85],[28.54,-28.65],[28.98,-28.96]]]]},{n:`Mexico`,a2:`MX`,a3:`MEX`,p:`MX`,l:[-102.29,23.92],g:[[[[-117.13,32.54],[-115.99,32.61],[-114.72,32.72],[-114.81,32.53],[-113.3,32.04],[-111.02,31.33],[-109.03,31.34],[-108.24,31.34],[-108.24,31.75],[-106.51,31.75],[-106.14,31.4],[-105.63,31.08],[-105.04,30.64],[-104.71,30.12],[-104.46,29.57],[-103.94,29.27],[-103.11,28.97],[-102.48,29.76],[-101.66,29.78],[-100.96,29.38],[-100.46,28.7],[-100.11,28.11],[-99.52,27.54],[-99.3,26.84],[-99.02,26.37],[-98.24,26.06],[-97.53,25.84],[-97.14,25.87],[-97.53,24.99],[-97.7,24.27],[-97.78,22.93],[-97.87,22.44],[-97.7,21.9],[-97.39,21.41],[-97.19,20.64],[-96.53,19.89],[-96.29,19.32],[-95.9,18.83],[-94.84,18.56],[-94.43,18.14],[-93.55,18.42],[-92.79,18.52],[-92.04,18.7],[-91.41,18.88],[-90.77,19.28],[-90.53,19.87],[-90.45,20.71],[-90.28,21],[-89.6,21.26],[-88.54,21.49],[-87.66,21.46],[-87.05,21.54],[-86.81,21.33],[-86.85,20.85],[-87.38,20.26],[-87.62,19.65],[-87.44,19.47],[-87.59,19.04],[-87.84,18.26],[-88.09,18.52],[-88.3,18.5],[-88.49,18.49],[-88.85,17.88],[-89.03,18],[-89.15,17.96],[-89.14,17.81],[-90.07,17.82],[-91,17.82],[-91,17.25],[-91.45,17.25],[-91.08,16.92],[-90.71,16.69],[-90.6,16.47],[-90.44,16.41],[-90.46,16.07],[-91.75,16.07],[-92.23,15.25],[-92.09,15.06],[-92.2,14.83],[-92.23,14.54],[-93.36,15.62],[-93.88,15.94],[-94.69,16.2],[-95.25,16.13],[-96.05,15.75],[-96.56,15.65],[-97.26,15.92],[-98.01,16.11],[-98.95,16.57],[-99.7,16.71],[-100.83,17.17],[-101.67,17.65],[-101.92,17.92],[-102.48,17.98],[-103.5,18.29],[-103.92,18.75],[-104.99,19.32],[-105.49,19.95],[-105.73,20.43],[-105.4,20.53],[-105.5,20.82],[-105.27,21.08],[-105.27,21.42],[-105.6,21.87],[-105.69,22.27],[-106.03,22.77],[-106.91,23.77],[-107.92,24.55],[-108.4,25.17],[-109.26,25.58],[-109.44,25.82],[-109.29,26.44],[-109.8,26.68],[-110.39,27.16],[-110.64,27.86],[-111.18,27.94],[-111.76,28.47],[-112.23,28.95],[-112.27,29.27],[-112.81,30.02],[-113.16,30.79],[-113.15,31.17],[-113.87,31.57],[-114.21,31.52],[-114.78,31.8],[-114.94,31.39],[-114.77,30.91],[-114.67,30.16],[-114.33,29.75],[-113.59,29.06],[-113.42,28.83],[-113.27,28.75],[-113.14,28.41],[-112.96,28.43],[-112.76,27.78],[-112.46,27.53],[-112.24,27.17],[-111.62,26.66],[-111.28,25.73],[-110.99,25.29],[-110.71,24.83],[-110.66,24.3],[-110.17,24.27],[-109.77,23.81],[-109.41,23.36],[-109.43,23.19],[-109.85,22.82],[-110.03,22.82],[-110.3,23.43],[-110.95,24],[-111.67,24.48],[-112.18,24.74],[-112.15,25.47],[-112.3,26.01],[-112.78,26.32],[-113.46,26.77],[-113.6,26.64],[-113.85,26.9],[-114.47,27.14],[-115.06,27.72],[-114.98,27.8],[-114.57,27.74],[-114.2,28.12],[-114.16,28.57],[-114.93,29.28],[-115.52,29.56],[-115.89,30.18],[-116.26,30.84],[-116.72,31.64],[-117.13,32.54]]]]},{n:`Uruguay`,a2:`UY`,a3:`URY`,p:`UY`,l:[-55.97,-32.96],g:[[[[-57.63,-30.22],[-56.98,-30.11],[-55.97,-30.88],[-55.6,-30.85],[-54.57,-31.49],[-53.79,-32.05],[-53.21,-32.73],[-53.65,-33.2],[-53.37,-33.77],[-53.81,-34.4],[-54.94,-34.95],[-55.67,-34.75],[-56.22,-34.86],[-57.14,-34.43],[-57.82,-34.46],[-58.43,-33.91],[-58.35,-33.26],[-58.13,-33.04],[-58.14,-32.04],[-57.87,-31.02],[-57.63,-30.22]]]]},{n:`Brazil`,a2:`BR`,a3:`BRA`,p:`BR`,l:[-49.56,-12.1],g:[[[[-53.37,-33.77],[-53.65,-33.2],[-53.21,-32.73],[-53.79,-32.05],[-54.57,-31.49],[-55.6,-30.85],[-55.97,-30.88],[-56.98,-30.11],[-57.63,-30.22],[-56.29,-28.85],[-55.16,-27.88],[-54.49,-27.47],[-53.65,-26.92],[-53.63,-26.12],[-54.13,-25.55],[-54.63,-25.74],[-54.43,-25.16],[-54.29,-24.57],[-54.29,-24.02],[-54.65,-23.84],[-55.03,-24],[-55.4,-23.96],[-55.52,-23.57],[-55.61,-22.66],[-55.8,-22.36],[-56.47,-22.09],[-56.88,-22.28],[-57.94,-22.09],[-57.87,-20.73],[-58.17,-20.18],[-57.85,-19.97],[-57.95,-19.4],[-57.68,-18.96],[-57.5,-18.17],[-57.73,-17.55],[-58.28,-17.27],[-58.39,-16.88],[-58.24,-16.3],[-60.16,-16.26],[-60.54,-15.09],[-60.25,-15.08],[-60.26,-14.65],[-60.46,-14.35],[-60.5,-13.78],[-61.08,-13.48],[-61.71,-13.49],[-62.13,-13.2],[-62.8,-13],[-63.2,-12.63],[-64.32,-12.46],[-65.4,-11.57],[-65.32,-10.9],[-65.44,-10.51],[-65.34,-9.76],[-66.65,-9.93],[-67.17,-10.31],[-68.05,-10.71],[-68.27,-11.01],[-68.79,-11.04],[-69.53,-10.95],[-70.09,-11.12],[-70.55,-11.01],[-70.48,-9.49],[-71.3,-10.08],[-72.18,-10.05],[-72.56,-9.52],[-73.23,-9.46],[-73.02,-9.03],[-73.57,-8.42],[-73.99,-7.52],[-73.72,-7.34],[-73.72,-6.92],[-73.12,-6.63],[-73.22,-6.09],[-72.96,-5.74],[-72.89,-5.27],[-71.75,-4.59],[-70.93,-4.4],[-70.79,-4.25],[-69.89,-4.3],[-69.44,-1.56],[-69.42,-1.12],[-69.58,-.55],[-70.02,-.19],[-70.02,.54],[-69.45,.71],[-69.25,.6],[-69.22,.99],[-69.8,1.09],[-69.82,1.71],[-67.87,1.69],[-67.54,2.04],[-67.26,1.72],[-67.07,1.13],[-66.88,1.25],[-66.33,.72],[-65.55,.79],[-65.35,1.1],[-64.61,1.33],[-64.2,1.49],[-64.08,1.92],[-63.37,2.2],[-63.42,2.41],[-64.27,2.5],[-64.41,3.13],[-64.37,3.8],[-64.82,4.06],[-64.63,4.15],[-63.89,4.02],[-63.09,3.77],[-62.8,4.01],[-62.09,4.16],[-60.97,4.54],[-60.6,4.92],[-60.73,5.2],[-60.21,5.24],[-59.98,5.01],[-60.11,4.57],[-59.77,4.42],[-59.54,3.96],[-59.82,3.61],[-59.97,2.76],[-59.72,2.25],[-59.65,1.79],[-59.03,1.32],[-58.54,1.27],[-58.43,1.46],[-58.11,1.51],[-57.66,1.68],[-57.34,1.95],[-56.78,1.86],[-56.54,1.9],[-56,1.82],[-55.91,2.02],[-56.07,2.22],[-55.97,2.51],[-55.57,2.42],[-55.1,2.52],[-54.52,2.31],[-54.09,2.11],[-53.78,2.38],[-53.55,2.33],[-53.42,2.05],[-52.94,2.12],[-52.56,2.5],[-52.25,3.24],[-51.66,4.16],[-51.32,4.2],[-51.07,3.65],[-50.51,1.9],[-49.97,1.74],[-49.95,1.05],[-50.7,.22],[-50.39,-.08],[-48.62,-.24],[-48.58,-1.24],[-47.82,-.58],[-46.57,-.94],[-44.91,-1.55],[-44.42,-2.14],[-44.58,-2.69],[-43.42,-2.38],[-41.47,-2.91],[-39.98,-2.87],[-38.5,-3.7],[-37.22,-4.82],[-36.45,-5.11],[-35.6,-5.15],[-35.24,-5.46],[-34.9,-6.74],[-34.73,-7.34],[-35.13,-9],[-35.64,-9.65],[-37.05,-11.04],[-37.68,-12.17],[-38.42,-13.04],[-38.67,-13.06],[-38.95,-13.79],[-38.88,-15.67],[-39.16,-17.21],[-39.27,-17.87],[-39.58,-18.26],[-39.76,-19.6],[-40.77,-20.9],[-40.94,-21.94],[-41.75,-22.37],[-41.99,-22.97],[-43.07,-22.97],[-44.65,-23.35],[-45.35,-23.8],[-46.47,-24.09],[-47.65,-24.89],[-48.5,-25.88],[-48.64,-26.62],[-48.47,-27.18],[-48.66,-28.19],[-48.89,-28.67],[-49.59,-29.22],[-50.7,-30.98],[-51.58,-31.78],[-52.26,-32.25],[-52.71,-33.2],[-53.37,-33.77]]]]},{n:`Bolivia`,a2:`BO`,a3:`BOL`,p:`BO`,l:[-64.59,-16.67],g:[[[[-69.53,-10.95],[-68.79,-11.04],[-68.27,-11.01],[-68.05,-10.71],[-67.17,-10.31],[-66.65,-9.93],[-65.34,-9.76],[-65.44,-10.51],[-65.32,-10.9],[-65.4,-11.57],[-64.32,-12.46],[-63.2,-12.63],[-62.8,-13],[-62.13,-13.2],[-61.71,-13.49],[-61.08,-13.48],[-60.5,-13.78],[-60.46,-14.35],[-60.26,-14.65],[-60.25,-15.08],[-60.54,-15.09],[-60.16,-16.26],[-58.24,-16.3],[-58.39,-16.88],[-58.28,-17.27],[-57.73,-17.55],[-57.5,-18.17],[-57.68,-18.96],[-57.95,-19.4],[-57.85,-19.97],[-58.17,-20.18],[-58.18,-19.87],[-59.12,-19.36],[-60.04,-19.34],[-61.79,-19.63],[-62.27,-20.51],[-62.29,-21.05],[-62.69,-22.25],[-62.85,-22.03],[-63.99,-21.99],[-64.38,-22.8],[-64.96,-22.08],[-66.27,-21.83],[-67.11,-22.74],[-67.83,-22.87],[-68.22,-21.49],[-68.76,-20.37],[-68.44,-19.41],[-68.97,-18.98],[-69.1,-18.26],[-69.59,-17.58],[-68.96,-16.5],[-69.39,-15.66],[-69.16,-15.32],[-69.34,-14.95],[-68.95,-14.45],[-68.93,-13.6],[-68.88,-12.9],[-68.67,-12.56],[-69.53,-10.95]]]]},{n:`Peru`,a2:`PE`,a3:`PER`,p:`PE`,l:[-72.9,-12.98],g:[[[[-69.89,-4.3],[-70.79,-4.25],[-70.93,-4.4],[-71.75,-4.59],[-72.89,-5.27],[-72.96,-5.74],[-73.22,-6.09],[-73.12,-6.63],[-73.72,-6.92],[-73.72,-7.34],[-73.99,-7.52],[-73.57,-8.42],[-73.02,-9.03],[-73.23,-9.46],[-72.56,-9.52],[-72.18,-10.05],[-71.3,-10.08],[-70.48,-9.49],[-70.55,-11.01],[-70.09,-11.12],[-69.53,-10.95],[-68.67,-12.56],[-68.88,-12.9],[-68.93,-13.6],[-68.95,-14.45],[-69.34,-14.95],[-69.16,-15.32],[-69.39,-15.66],[-68.96,-16.5],[-69.59,-17.58],[-69.86,-18.09],[-70.37,-18.35],[-71.38,-17.77],[-71.46,-17.36],[-73.44,-16.36],[-75.24,-15.27],[-76.01,-14.65],[-76.42,-13.82],[-76.26,-13.54],[-77.11,-12.22],[-78.09,-10.38],[-79.04,-8.39],[-79.45,-7.93],[-79.76,-7.19],[-80.54,-6.54],[-81.25,-6.14],[-80.93,-5.69],[-81.41,-4.74],[-81.1,-4.04],[-80.3,-3.4],[-80.18,-3.82],[-80.47,-4.06],[-80.44,-4.43],[-80.03,-4.35],[-79.62,-4.45],[-79.21,-4.96],[-78.64,-4.55],[-78.45,-3.87],[-77.84,-3],[-76.64,-2.61],[-75.54,-1.56],[-75.23,-.91],[-75.37,-.15],[-75.11,-.06],[-74.44,-.53],[-74.12,-1],[-73.66,-1.26],[-73.07,-2.31],[-72.33,-2.43],[-71.77,-2.17],[-71.41,-2.34],[-70.81,-2.26],[-70.05,-2.73],[-70.69,-3.74],[-70.39,-3.77],[-69.89,-4.3]]]]},{n:`Colombia`,a2:`CO`,a3:`COL`,p:`CO`,l:[-73.17,3.37],g:[[[[-66.88,1.25],[-67.07,1.13],[-67.26,1.72],[-67.54,2.04],[-67.87,1.69],[-69.82,1.71],[-69.8,1.09],[-69.22,.99],[-69.25,.6],[-69.45,.71],[-70.02,.54],[-70.02,-.19],[-69.58,-.55],[-69.42,-1.12],[-69.44,-1.56],[-69.89,-4.3],[-70.39,-3.77],[-70.69,-3.74],[-70.05,-2.73],[-70.81,-2.26],[-71.41,-2.34],[-71.77,-2.17],[-72.33,-2.43],[-73.07,-2.31],[-73.66,-1.26],[-74.12,-1],[-74.44,-.53],[-75.11,-.06],[-75.37,-.15],[-75.8,.08],[-76.29,.42],[-76.58,.26],[-77.42,.4],[-77.67,.83],[-77.86,.81],[-78.86,1.38],[-78.99,1.69],[-78.62,1.77],[-78.66,2.27],[-78.43,2.63],[-77.93,2.7],[-77.51,3.33],[-77.13,3.85],[-77.5,4.09],[-77.31,4.67],[-77.53,5.58],[-77.32,5.85],[-77.48,6.69],[-77.88,7.22],[-77.75,7.71],[-77.43,7.64],[-77.24,7.94],[-77.47,8.52],[-77.35,8.67],[-76.84,8.64],[-76.09,9.34],[-75.67,9.44],[-75.66,9.77],[-75.48,10.62],[-74.91,11.08],[-74.28,11.1],[-74.2,11.31],[-73.41,11.23],[-72.63,11.73],[-72.24,11.96],[-71.75,12.44],[-71.4,12.38],[-71.14,12.11],[-71.33,11.78],[-71.97,11.61],[-72.23,11.11],[-72.61,10.82],[-72.91,10.45],[-73.03,9.74],[-73.3,9.15],[-72.79,9.09],[-72.66,8.63],[-72.44,8.41],[-72.36,8],[-72.48,7.63],[-72.44,7.42],[-72.2,7.34],[-71.96,6.99],[-70.67,7.09],[-70.09,6.96],[-69.39,6.1],[-68.99,6.21],[-68.27,6.15],[-67.7,6.27],[-67.34,6.1],[-67.52,5.56],[-67.74,5.22],[-67.82,4.5],[-67.62,3.84],[-67.34,3.54],[-67.3,3.32],[-67.81,2.82],[-67.45,2.6],[-67.18,2.25],[-66.88,1.25]]]]},{n:`Panama`,a2:`PA`,a3:`PAN`,p:`PA`,l:[-80.35,8.72],g:[[[[-77.35,8.67],[-77.47,8.52],[-77.24,7.94],[-77.43,7.64],[-77.75,7.71],[-77.88,7.22],[-78.21,7.51],[-78.43,8.05],[-78.18,8.32],[-78.44,8.39],[-78.62,8.72],[-79.12,9],[-79.56,8.93],[-79.76,8.58],[-80.16,8.33],[-80.38,8.3],[-80.48,8.09],[-80,7.55],[-80.28,7.42],[-80.42,7.27],[-80.89,7.22],[-81.06,7.82],[-81.19,7.65],[-81.52,7.71],[-81.72,8.11],[-82.13,8.18],[-82.39,8.29],[-82.82,8.29],[-82.85,8.07],[-82.97,8.23],[-82.91,8.42],[-82.83,8.63],[-82.87,8.81],[-82.72,8.93],[-82.93,9.07],[-82.93,9.48],[-82.55,9.57],[-82.19,9.21],[-82.21,9],[-81.81,8.95],[-81.71,9.03],[-81.44,8.79],[-80.95,8.86],[-80.52,9.11],[-79.91,9.31],[-79.57,9.61],[-79.02,9.55],[-79.06,9.45],[-78.5,9.42],[-78.06,9.25],[-77.73,8.95],[-77.35,8.67]]]]},{n:`Costa Rica`,a2:`CR`,a3:`CRI`,p:`CR`,l:[-84.08,10.07],g:[[[[-82.55,9.57],[-82.93,9.48],[-82.93,9.07],[-82.72,8.93],[-82.87,8.81],[-82.83,8.63],[-82.91,8.42],[-82.97,8.23],[-83.51,8.45],[-83.71,8.66],[-83.6,8.83],[-83.63,9.05],[-83.91,9.29],[-84.3,9.49],[-84.65,9.62],[-84.71,9.91],[-84.98,10.09],[-84.91,9.8],[-85.11,9.56],[-85.34,9.83],[-85.66,9.93],[-85.8,10.13],[-85.79,10.44],[-85.66,10.75],[-85.94,10.9],[-85.71,11.09],[-85.56,11.22],[-84.9,10.95],[-84.67,11.08],[-84.36,11],[-84.19,10.79],[-83.9,10.73],[-83.66,10.94],[-83.4,10.4],[-83.02,9.99],[-82.55,9.57]]]]},{n:`Nicaragua`,a2:`NI`,a3:`NIC`,p:`NI`,l:[-85.07,12.67],g:[[[[-83.66,10.94],[-83.9,10.73],[-84.19,10.79],[-84.36,11],[-84.67,11.08],[-84.9,10.95],[-85.56,11.22],[-85.71,11.09],[-86.06,11.4],[-86.53,11.81],[-86.75,12.14],[-87.17,12.46],[-87.67,12.91],[-87.56,13.06],[-87.39,12.91],[-87.32,12.98],[-87.01,13.03],[-86.88,13.25],[-86.73,13.26],[-86.76,13.75],[-86.52,13.78],[-86.31,13.77],[-86.1,14.04],[-85.8,13.84],[-85.7,13.96],[-85.51,14.08],[-85.17,14.35],[-85.15,14.56],[-85.05,14.55],[-84.92,14.79],[-84.82,14.82],[-84.65,14.67],[-84.45,14.62],[-84.23,14.75],[-83.98,14.75],[-83.63,14.88],[-83.49,15.02],[-83.15,15],[-83.23,14.9],[-83.28,14.68],[-83.18,14.31],[-83.41,13.97],[-83.52,13.57],[-83.55,13.13],[-83.5,12.87],[-83.47,12.42],[-83.63,12.32],[-83.72,11.89],[-83.65,11.63],[-83.86,11.37],[-83.81,11.1],[-83.66,10.94]]]]},{n:`Honduras`,a2:`HN`,a3:`HND`,p:`HN`,l:[-86.89,14.79],g:[[[[-83.15,15],[-83.49,15.02],[-83.63,14.88],[-83.98,14.75],[-84.23,14.75],[-84.45,14.62],[-84.65,14.67],[-84.82,14.82],[-84.92,14.79],[-85.05,14.55],[-85.15,14.56],[-85.17,14.35],[-85.51,14.08],[-85.7,13.96],[-85.8,13.84],[-86.1,14.04],[-86.31,13.77],[-86.52,13.78],[-86.76,13.75],[-86.73,13.26],[-86.88,13.25],[-87.01,13.03],[-87.32,12.98],[-87.49,13.3],[-87.79,13.38],[-87.72,13.79],[-87.86,13.89],[-88.07,13.96],[-88.5,13.85],[-88.54,13.98],[-88.84,14.14],[-89.06,14.34],[-89.35,14.42],[-89.15,14.68],[-89.23,14.87],[-89.15,15.07],[-88.68,15.35],[-88.23,15.73],[-88.12,15.69],[-87.9,15.86],[-87.62,15.88],[-87.52,15.8],[-87.37,15.85],[-86.9,15.76],[-86.44,15.78],[-86.12,15.89],[-86,16.01],[-85.68,15.95],[-85.44,15.89],[-85.18,15.91],[-84.98,16],[-84.53,15.86],[-84.37,15.84],[-84.06,15.65],[-83.77,15.42],[-83.41,15.27],[-83.15,15]]]]},{n:`El Salvador`,a2:`SV`,a3:`SLV`,p:`SV`,l:[-88.89,13.69],g:[[[[-89.35,14.42],[-89.06,14.34],[-88.84,14.14],[-88.54,13.98],[-88.5,13.85],[-88.07,13.96],[-87.86,13.89],[-87.72,13.79],[-87.79,13.38],[-87.9,13.15],[-88.48,13.16],[-88.84,13.26],[-89.26,13.46],[-89.81,13.52],[-90.1,13.74],[-90.06,13.88],[-89.72,14.13],[-89.53,14.24],[-89.59,14.36],[-89.35,14.42]]]]},{n:`Guatemala`,a2:`GT`,a3:`GTM`,p:`GT`,l:[-90.5,14.98],g:[[[[-92.23,14.54],[-92.2,14.83],[-92.09,15.06],[-92.23,15.25],[-91.75,16.07],[-90.46,16.07],[-90.44,16.41],[-90.6,16.47],[-90.71,16.69],[-91.08,16.92],[-91.45,17.25],[-91,17.25],[-91,17.82],[-90.07,17.82],[-89.14,17.81],[-89.15,17.02],[-89.23,15.89],[-88.93,15.89],[-88.6,15.71],[-88.52,15.86],[-88.23,15.73],[-88.68,15.35],[-89.15,15.07],[-89.23,14.87],[-89.15,14.68],[-89.35,14.42],[-89.59,14.36],[-89.53,14.24],[-89.72,14.13],[-90.06,13.88],[-90.1,13.74],[-90.61,13.91],[-91.23,13.93],[-91.69,14.13],[-92.23,14.54]]]]},{n:`Belize`,a2:`BZ`,a3:`BLZ`,p:`BZ`,l:[-88.71,17.2],g:[[[[-89.14,17.81],[-89.15,17.96],[-89.03,18],[-88.85,17.88],[-88.49,18.49],[-88.3,18.5],[-88.3,18.35],[-88.11,18.35],[-88.12,18.08],[-88.29,17.64],[-88.2,17.49],[-88.3,17.13],[-88.24,17.04],[-88.36,16.53],[-88.55,16.27],[-88.73,16.23],[-88.93,15.89],[-89.23,15.89],[-89.15,17.02],[-89.14,17.81]]]]},{n:`Venezuela`,a2:`VE`,a3:`VEN`,p:`VE`,l:[-64.6,7.18],g:[[[[-60.73,5.2],[-60.6,4.92],[-60.97,4.54],[-62.09,4.16],[-62.8,4.01],[-63.09,3.77],[-63.89,4.02],[-64.63,4.15],[-64.82,4.06],[-64.37,3.8],[-64.41,3.13],[-64.27,2.5],[-63.42,2.41],[-63.37,2.2],[-64.08,1.92],[-64.2,1.49],[-64.61,1.33],[-65.35,1.1],[-65.55,.79],[-66.33,.72],[-66.88,1.25],[-67.18,2.25],[-67.45,2.6],[-67.81,2.82],[-67.3,3.32],[-67.34,3.54],[-67.62,3.84],[-67.82,4.5],[-67.74,5.22],[-67.52,5.56],[-67.34,6.1],[-67.7,6.27],[-68.27,6.15],[-68.99,6.21],[-69.39,6.1],[-70.09,6.96],[-70.67,7.09],[-71.96,6.99],[-72.2,7.34],[-72.44,7.42],[-72.48,7.63],[-72.36,8],[-72.44,8.41],[-72.66,8.63],[-72.79,9.09],[-73.3,9.15],[-73.03,9.74],[-72.91,10.45],[-72.61,10.82],[-72.23,11.11],[-71.97,11.61],[-71.33,11.78],[-71.36,11.54],[-71.95,11.42],[-71.62,10.97],[-71.63,10.45],[-72.07,9.87],[-71.7,9.07],[-71.26,9.14],[-71.04,9.86],[-71.35,10.21],[-71.4,10.97],[-70.16,11.38],[-70.29,11.85],[-69.94,12.16],[-69.58,11.46],[-68.88,11.44],[-68.23,10.89],[-68.19,10.55],[-67.3,10.55],[-66.23,10.65],[-65.66,10.2],[-64.89,10.08],[-64.33,10.39],[-64.32,10.64],[-63.08,10.7],[-61.88,10.72],[-62.73,10.42],[-62.39,9.95],[-61.59,9.87],[-60.83,9.38],[-60.67,8.58],[-60.15,8.6],[-59.76,8.37],[-60.55,7.78],[-60.64,7.42],[-60.3,7.04],[-60.54,6.86],[-61.16,6.7],[-61.14,6.23],[-61.41,5.96],[-60.73,5.2]]]]},{n:`Guyana`,a2:`GY`,a3:`GUY`,p:`GY`,l:[-58.94,5.12],g:[[[[-56.54,1.9],[-56.78,1.86],[-57.34,1.95],[-57.66,1.68],[-58.11,1.51],[-58.43,1.46],[-58.54,1.27],[-59.03,1.32],[-59.65,1.79],[-59.72,2.25],[-59.97,2.76],[-59.82,3.61],[-59.54,3.96],[-59.77,4.42],[-60.11,4.57],[-59.98,5.01],[-60.21,5.24],[-60.73,5.2],[-61.41,5.96],[-61.14,6.23],[-61.16,6.7],[-60.54,6.86],[-60.3,7.04],[-60.64,7.42],[-60.55,7.78],[-59.76,8.37],[-59.1,8],[-58.48,7.35],[-58.45,6.83],[-58.08,6.81],[-57.54,6.32],[-57.15,5.97],[-57.31,5.07],[-57.91,4.81],[-57.86,4.58],[-58.04,4.06],[-57.6,3.33],[-57.28,3.33],[-57.15,2.77],[-56.54,1.9]]]]},{n:`Suriname`,a2:`SR`,a3:`SUR`,p:`SR`,l:[-55.91,4.14],g:[[[[-54.52,2.31],[-55.1,2.52],[-55.57,2.42],[-55.97,2.51],[-56.07,2.22],[-55.91,2.02],[-56,1.82],[-56.54,1.9],[-57.15,2.77],[-57.28,3.33],[-57.6,3.33],[-58.04,4.06],[-57.86,4.58],[-57.91,4.81],[-57.31,5.07],[-57.15,5.97],[-55.95,5.77],[-55.84,5.95],[-55.03,6.03],[-53.96,5.76],[-54.48,4.9],[-54.4,4.21],[-54.01,3.62],[-54.18,3.19],[-54.27,2.73],[-54.52,2.31]]]]},{n:`France`,a2:``,a3:`FRA`,p:`F`,l:[2.55,46.7],g:[[[[-51.66,4.16],[-52.25,3.24],[-52.56,2.5],[-52.94,2.12],[-53.42,2.05],[-53.55,2.33],[-53.78,2.38],[-54.09,2.11],[-54.52,2.31],[-54.27,2.73],[-54.18,3.19],[-54.01,3.62],[-54.4,4.21],[-54.48,4.9],[-53.96,5.76],[-53.62,5.65],[-52.88,5.41],[-51.82,4.57],[-51.66,4.16]]],[[[6.19,49.46],[6.66,49.2],[8.1,49.02],[7.59,48.33],[7.47,47.62],[7.19,47.45],[6.74,47.54],[6.77,47.29],[6.04,46.73],[6.02,46.27],[6.5,46.43],[6.84,45.99],[6.8,45.71],[7.1,45.33],[6.75,45.03],[7.01,44.25],[7.55,44.13],[7.44,43.69],[6.53,43.13],[4.56,43.4],[3.1,43.08],[2.99,42.47],[1.83,42.34],[.7,42.8],[.34,42.58],[-1.5,43.03],[-1.9,43.42],[-1.38,44.02],[-1.19,46.01],[-2.23,47.06],[-2.96,47.57],[-4.49,47.95],[-4.59,48.68],[-3.3,48.9],[-1.62,48.64],[-1.93,49.78],[-.99,49.35],[1.34,50.13],[1.64,50.95],[2.51,51.15],[2.66,50.8],[3.12,50.78],[3.59,50.38],[4.29,49.91],[4.8,49.99],[5.67,49.53],[5.9,49.44],[6.19,49.46]]],[[[8.75,42.63],[9.39,43.01],[9.56,42.15],[9.23,41.38],[8.78,41.58],[8.54,42.26],[8.75,42.63]]]]},{n:`Ecuador`,a2:`EC`,a3:`ECU`,p:`EC`,l:[-78.19,-1.26],g:[[[[-75.37,-.15],[-75.23,-.91],[-75.54,-1.56],[-76.64,-2.61],[-77.84,-3],[-78.45,-3.87],[-78.64,-4.55],[-79.21,-4.96],[-79.62,-4.45],[-80.03,-4.35],[-80.44,-4.43],[-80.47,-4.06],[-80.18,-3.82],[-80.3,-3.4],[-79.77,-2.66],[-79.99,-2.22],[-80.37,-2.69],[-80.97,-2.25],[-80.76,-1.97],[-80.93,-1.06],[-80.58,-.91],[-80.4,-.28],[-80.02,.36],[-80.09,.77],[-79.54,.98],[-78.86,1.38],[-77.86,.81],[-77.67,.83],[-77.42,.4],[-76.58,.26],[-76.29,.42],[-75.8,.08],[-75.37,-.15]]]]},{n:`Puerto Rico`,a2:`PR`,a3:`PRI`,p:`PR`,l:[-66.48,18.23],g:[[[[-66.28,18.51],[-65.77,18.43],[-65.59,18.23],[-65.85,17.98],[-66.6,17.98],[-67.18,17.95],[-67.24,18.37],[-67.1,18.52],[-66.28,18.51]]]]},{n:`Jamaica`,a2:`JM`,a3:`JAM`,p:`J`,l:[-77.32,18.14],g:[[[[-77.57,18.49],[-76.9,18.4],[-76.37,18.16],[-76.2,17.89],[-76.9,17.87],[-77.21,17.7],[-77.77,17.86],[-78.34,18.23],[-78.22,18.45],[-77.8,18.52],[-77.57,18.49]]]]},{n:`Cuba`,a2:`CU`,a3:`CUB`,p:`CU`,l:[-77.98,21.33],g:[[[[-82.27,23.19],[-81.4,23.12],[-80.62,23.11],[-79.68,22.77],[-79.28,22.4],[-78.35,22.51],[-77.99,22.28],[-77.15,21.66],[-76.52,21.21],[-76.19,21.22],[-75.6,21.02],[-75.67,20.74],[-74.93,20.69],[-74.18,20.28],[-74.3,20.05],[-74.96,19.92],[-75.63,19.87],[-76.32,19.95],[-77.76,19.86],[-77.09,20.41],[-77.49,20.67],[-78.14,20.74],[-78.48,21.03],[-78.72,21.6],[-79.28,21.56],[-80.22,21.83],[-80.52,22.04],[-81.82,22.19],[-82.17,22.39],[-81.8,22.64],[-82.78,22.69],[-83.49,22.17],[-83.91,22.15],[-84.05,21.91],[-84.55,21.8],[-84.97,21.9],[-84.45,22.2],[-84.23,22.57],[-83.78,22.79],[-83.27,22.98],[-82.51,23.08],[-82.27,23.19]]]]},{n:`Zimbabwe`,a2:`ZW`,a3:`ZWE`,p:`ZW`,l:[29.93,-18.91],g:[[[[31.19,-22.25],[30.66,-22.15],[30.32,-22.27],[29.84,-22.1],[29.43,-22.09],[28.79,-21.64],[28.02,-21.49],[27.73,-20.85],[27.72,-20.5],[27.3,-20.39],[26.16,-19.29],[25.85,-18.71],[25.65,-18.54],[25.26,-17.74],[26.38,-17.85],[26.71,-17.96],[27.04,-17.94],[27.6,-17.29],[28.47,-16.47],[28.83,-16.39],[28.95,-16.04],[29.52,-15.64],[30.27,-15.51],[30.34,-15.88],[31.17,-15.86],[31.64,-16.07],[31.85,-16.32],[32.33,-16.39],[32.85,-16.71],[32.85,-17.98],[32.65,-18.67],[32.61,-19.42],[32.77,-19.72],[32.66,-20.3],[32.51,-20.4],[32.24,-21.12],[31.19,-22.25]]]]},{n:`Botswana`,a2:`BW`,a3:`BWA`,p:`BW`,l:[24.18,-22.1],g:[[[[29.43,-22.09],[28.02,-22.83],[27.12,-23.57],[26.79,-24.24],[26.49,-24.62],[25.94,-24.7],[25.77,-25.17],[25.66,-25.49],[25.03,-25.72],[24.21,-25.67],[23.73,-25.39],[23.31,-25.27],[22.82,-25.5],[22.58,-25.98],[22.11,-26.28],[21.61,-26.73],[20.89,-26.83],[20.67,-26.48],[20.76,-25.87],[20.17,-24.92],[19.9,-24.77],[19.9,-21.85],[20.88,-21.81],[20.91,-18.25],[21.66,-18.22],[23.2,-17.87],[23.58,-18.28],[24.22,-17.89],[24.52,-17.89],[25.08,-17.66],[25.26,-17.74],[25.65,-18.54],[25.85,-18.71],[26.16,-19.29],[27.3,-20.39],[27.72,-20.5],[27.73,-20.85],[28.02,-21.49],[28.79,-21.64],[29.43,-22.09]]]]},{n:`Namibia`,a2:`NA`,a3:`NAM`,p:`NA`,l:[17.11,-20.58],g:[[[[19.9,-24.77],[19.89,-28.46],[19,-28.97],[18.46,-29.05],[17.84,-28.86],[17.39,-28.78],[17.22,-28.36],[16.82,-28.08],[16.34,-28.58],[15.6,-27.82],[15.21,-27.09],[14.99,-26.12],[14.74,-25.39],[14.41,-23.85],[14.39,-22.66],[14.26,-22.11],[13.87,-21.7],[13.35,-20.87],[12.83,-19.67],[12.61,-19.05],[11.79,-18.07],[11.73,-17.3],[12.22,-17.11],[12.81,-16.94],[13.46,-16.97],[14.06,-17.42],[14.21,-17.35],[18.26,-17.31],[18.96,-17.79],[21.38,-17.93],[23.22,-17.52],[24.03,-17.3],[24.68,-17.35],[25.08,-17.58],[25.08,-17.66],[24.52,-17.89],[24.22,-17.89],[23.58,-18.28],[23.2,-17.87],[21.66,-18.22],[20.91,-18.25],[20.88,-21.81],[19.9,-21.85],[19.9,-24.77]]]]},{n:`Senegal`,a2:`SN`,a3:`SEN`,p:`SN`,l:[-14.78,15.14],g:[[[[-16.71,13.59],[-17.13,14.37],[-17.63,14.73],[-17.19,14.92],[-16.7,15.62],[-16.46,16.14],[-16.12,16.46],[-15.62,16.37],[-15.14,16.59],[-14.58,16.6],[-14.1,16.3],[-13.44,16.04],[-12.83,15.3],[-12.17,14.62],[-12.12,13.99],[-11.93,13.42],[-11.55,13.14],[-11.47,12.75],[-11.51,12.44],[-11.66,12.39],[-12.2,12.47],[-12.28,12.35],[-12.5,12.33],[-13.22,12.58],[-13.7,12.59],[-15.55,12.63],[-15.82,12.52],[-16.15,12.55],[-16.68,12.38],[-16.84,13.15],[-15.93,13.13],[-15.69,13.27],[-15.51,13.28],[-15.14,13.51],[-14.71,13.3],[-14.28,13.28],[-13.84,13.51],[-14.05,13.79],[-14.38,13.63],[-14.69,13.63],[-15.08,13.88],[-15.4,13.86],[-15.62,13.62],[-16.71,13.59]]]]},{n:`Mali`,a2:`ML`,a3:`MLI`,p:`ML`,l:[-2.04,18.69],g:[[[[-11.51,12.44],[-11.47,12.75],[-11.55,13.14],[-11.93,13.42],[-12.12,13.99],[-12.17,14.62],[-11.83,14.8],[-11.67,15.39],[-11.35,15.41],[-10.65,15.13],[-10.09,15.33],[-9.7,15.26],[-9.55,15.49],[-5.54,15.5],[-5.32,16.2],[-5.49,16.33],[-5.97,20.64],[-6.45,24.96],[-4.92,24.97],[-1.55,22.79],[1.82,20.61],[2.06,20.14],[2.68,19.86],[3.15,19.69],[3.16,19.06],[4.27,19.16],[4.27,16.85],[3.72,16.18],[3.64,15.57],[2.75,15.41],[1.39,15.32],[1.02,14.97],[.37,14.93],[-.27,14.92],[-.52,15.12],[-1.07,14.97],[-2,14.56],[-2.19,14.25],[-2.97,13.8],[-3.1,13.54],[-3.52,13.34],[-4.01,13.47],[-4.28,13.23],[-4.43,12.54],[-5.22,11.71],[-5.2,11.38],[-5.47,10.95],[-5.4,10.37],[-5.82,10.22],[-6.05,10.1],[-6.21,10.52],[-6.49,10.41],[-6.67,10.43],[-6.85,10.14],[-7.62,10.15],[-7.9,10.3],[-8.03,10.21],[-8.34,10.49],[-8.28,10.79],[-8.41,10.91],[-8.62,10.81],[-8.58,11.14],[-8.38,11.39],[-8.79,11.81],[-8.91,12.09],[-9.13,12.31],[-9.33,12.33],[-9.57,12.19],[-9.89,12.06],[-10.17,11.84],[-10.59,11.92],[-10.87,12.18],[-11.04,12.21],[-11.3,12.08],[-11.46,12.08],[-11.51,12.44]]]]},{n:`Mauritania`,a2:`MR`,a3:`MRT`,p:`MR`,l:[-9.74,19.59],g:[[[[-17.06,21],[-16.85,21.33],[-12.93,21.33],[-13.12,22.77],[-12.87,23.28],[-11.94,23.37],[-11.97,25.93],[-8.69,25.88],[-8.68,27.4],[-4.92,24.97],[-6.45,24.96],[-5.97,20.64],[-5.49,16.33],[-5.32,16.2],[-5.54,15.5],[-9.55,15.49],[-9.7,15.26],[-10.09,15.33],[-10.65,15.13],[-11.35,15.41],[-11.67,15.39],[-11.83,14.8],[-12.17,14.62],[-12.83,15.3],[-13.44,16.04],[-14.1,16.3],[-14.58,16.6],[-15.14,16.59],[-15.62,16.37],[-16.12,16.46],[-16.46,16.14],[-16.55,16.67],[-16.27,17.17],[-16.15,18.11],[-16.26,19.1],[-16.38,19.59],[-16.28,20.09],[-16.54,20.57],[-17.06,21]]]]},{n:`Benin`,a2:`BJ`,a3:`BEN`,p:`BJ`,l:[2.35,10.32],g:[[[[2.69,6.26],[1.87,6.14],[1.62,6.83],[1.66,9.13],[1.46,9.33],[1.43,9.83],[1.08,10.18],[.77,10.47],[.9,11],[1.24,11.11],[1.45,11.55],[1.94,11.64],[2.15,11.94],[2.49,12.23],[2.85,12.24],[3.61,11.66],[3.57,11.33],[3.8,10.73],[3.6,10.33],[3.71,10.06],[3.22,9.44],[2.91,9.14],[2.72,8.51],[2.75,7.87],[2.69,6.26]]]]},{n:`Niger`,a2:`NE`,a3:`NER`,p:`NE`,l:[9.5,17.45],g:[[[[14.85,22.86],[15.1,21.31],[15.47,21.05],[15.49,20.73],[15.9,20.39],[15.69,19.96],[15.3,17.93],[15.25,16.63],[13.97,15.68],[13.54,14.37],[13.96,14],[13.95,13.35],[14.6,13.33],[14.5,12.86],[14.21,12.8],[14.18,12.48],[14,12.46],[13.32,13.56],[13.08,13.6],[12.3,13.04],[11.53,13.33],[10.99,13.39],[10.7,13.25],[10.11,13.28],[9.52,12.85],[9.01,12.83],[7.8,13.34],[7.33,13.1],[6.82,13.12],[6.45,13.49],[5.44,13.87],[4.37,13.75],[4.11,13.53],[3.97,12.96],[3.68,12.55],[3.61,11.66],[2.85,12.24],[2.49,12.23],[2.15,11.94],[2.18,12.63],[1.02,12.85],[.99,13.34],[.43,13.99],[.3,14.44],[.37,14.93],[1.02,14.97],[1.39,15.32],[2.75,15.41],[3.64,15.57],[3.72,16.18],[4.27,16.85],[4.27,19.16],[5.68,19.6],[8.57,21.57],[12,23.47],[13.58,23.04],[14.14,22.49],[14.85,22.86]]]]},{n:`Nigeria`,a2:`NG`,a3:`NGA`,p:`NG`,l:[7.5,9.44],g:[[[[2.69,6.26],[2.75,7.87],[2.72,8.51],[2.91,9.14],[3.22,9.44],[3.71,10.06],[3.6,10.33],[3.8,10.73],[3.57,11.33],[3.61,11.66],[3.68,12.55],[3.97,12.96],[4.11,13.53],[4.37,13.75],[5.44,13.87],[6.45,13.49],[6.82,13.12],[7.33,13.1],[7.8,13.34],[9.01,12.83],[9.52,12.85],[10.11,13.28],[10.7,13.25],[10.99,13.39],[11.53,13.33],[12.3,13.04],[13.08,13.6],[13.32,13.56],[14,12.46],[14.18,12.48],[14.58,12.09],[14.47,11.9],[14.42,11.57],[13.57,10.8],[13.31,10.16],[13.17,9.64],[12.96,9.42],[12.75,8.72],[12.22,8.31],[12.06,7.8],[11.84,7.4],[11.75,6.98],[11.06,6.64],[10.5,7.06],[10.12,7.04],[9.52,6.45],[9.23,6.44],[8.76,5.48],[8.5,4.77],[7.46,4.41],[7.08,4.46],[6.7,4.24],[5.9,4.26],[5.36,4.89],[5.03,5.61],[4.33,6.27],[3.57,6.26],[2.69,6.26]]]]},{n:`Cameroon`,a2:`CM`,a3:`CMR`,p:`CM`,l:[12.47,4.59],g:[[[[14.5,12.86],[14.89,12.22],[14.96,11.56],[14.92,10.89],[15.47,9.98],[14.91,9.99],[14.63,9.92],[14.17,10.02],[13.95,9.55],[14.54,8.97],[14.98,8.8],[15.12,8.38],[15.44,7.69],[15.28,7.42],[14.78,6.41],[14.54,6.23],[14.46,5.45],[14.56,5.03],[14.48,4.73],[14.95,4.21],[15.04,3.85],[15.41,3.34],[15.86,3.01],[15.91,2.56],[16.01,2.27],[15.94,1.73],[15.15,1.96],[14.34,2.23],[13.08,2.27],[12.95,2.32],[12.36,2.19],[11.75,2.33],[11.28,2.26],[9.65,2.28],[9.8,3.07],[9.4,3.73],[8.95,3.9],[8.74,4.35],[8.49,4.5],[8.5,4.77],[8.76,5.48],[9.23,6.44],[9.52,6.45],[10.12,7.04],[10.5,7.06],[11.06,6.64],[11.75,6.98],[11.84,7.4],[12.06,7.8],[12.22,8.31],[12.75,8.72],[12.96,9.42],[13.17,9.64],[13.31,10.16],[13.57,10.8],[14.42,11.57],[14.47,11.9],[14.58,12.09],[14.18,12.48],[14.21,12.8],[14.5,12.86]]]]},{n:`Togo`,a2:`TG`,a3:`TGO`,p:`TG`,l:[1.06,8.81],g:[[[[.9,11],[.77,10.47],[1.08,10.18],[1.43,9.83],[1.46,9.33],[1.66,9.13],[1.62,6.83],[1.87,6.14],[1.06,5.93],[.84,6.28],[.57,6.91],[.49,7.41],[.71,8.31],[.46,8.68],[.37,9.47],[.37,10.19],[-.05,10.71],[.02,11.02],[.9,11]]]]},{n:`Ghana`,a2:`GH`,a3:`GHA`,p:`GH`,l:[-1.04,7.72],g:[[[[.02,11.02],[-.05,10.71],[.37,10.19],[.37,9.47],[.46,8.68],[.71,8.31],[.49,7.41],[.57,6.91],[.84,6.28],[1.06,5.93],[-.51,5.34],[-1.06,5],[-1.96,4.71],[-2.86,4.99],[-2.81,5.39],[-3.24,6.25],[-2.98,7.38],[-2.56,8.22],[-2.83,9.64],[-2.96,10.4],[-2.94,10.96],[-1.2,11.01],[-.76,10.94],[-.44,11.1],[.02,11.02]]]]},{n:`Côte d'Ivoire`,a2:`CI`,a3:`CIV`,p:`CI`,l:[-5.57,7.49],g:[[[[-8.03,10.21],[-7.9,10.3],[-7.62,10.15],[-6.85,10.14],[-6.67,10.43],[-6.49,10.41],[-6.21,10.52],[-6.05,10.1],[-5.82,10.22],[-5.4,10.37],[-4.95,10.15],[-4.78,9.82],[-4.33,9.61],[-3.98,9.86],[-3.51,9.9],[-2.83,9.64],[-2.56,8.22],[-2.98,7.38],[-3.24,6.25],[-2.81,5.39],[-2.86,4.99],[-3.31,4.98],[-4.01,5.18],[-4.65,5.17],[-5.83,4.99],[-6.53,4.71],[-7.52,4.34],[-7.71,4.36],[-7.64,5.19],[-7.54,5.31],[-7.57,5.71],[-7.99,6.13],[-8.31,6.19],[-8.6,6.47],[-8.39,6.91],[-8.49,7.4],[-8.44,7.69],[-8.28,7.69],[-8.22,8.12],[-8.3,8.32],[-8.2,8.46],[-7.83,8.58],[-8.08,9.38],[-8.31,9.79],[-8.23,10.13],[-8.03,10.21]]]]},{n:`Guinea`,a2:`GN`,a3:`GIN`,p:`GN`,l:[-10.02,10.62],g:[[[[-13.7,12.59],[-13.22,12.58],[-12.5,12.33],[-12.28,12.35],[-12.2,12.47],[-11.66,12.39],[-11.51,12.44],[-11.46,12.08],[-11.3,12.08],[-11.04,12.21],[-10.87,12.18],[-10.59,11.92],[-10.17,11.84],[-9.89,12.06],[-9.57,12.19],[-9.33,12.33],[-9.13,12.31],[-8.91,12.09],[-8.79,11.81],[-8.38,11.39],[-8.58,11.14],[-8.62,10.81],[-8.41,10.91],[-8.28,10.79],[-8.34,10.49],[-8.03,10.21],[-8.23,10.13],[-8.31,9.79],[-8.08,9.38],[-7.83,8.58],[-8.2,8.46],[-8.3,8.32],[-8.22,8.12],[-8.28,7.69],[-8.44,7.69],[-8.72,7.71],[-8.93,7.31],[-9.21,7.31],[-9.4,7.53],[-9.34,7.93],[-9.76,8.54],[-10.02,8.43],[-10.23,8.41],[-10.51,8.35],[-10.49,8.72],[-10.65,8.98],[-10.62,9.27],[-10.84,9.69],[-11.12,10.05],[-11.92,10.05],[-12.15,9.86],[-12.43,9.84],[-12.6,9.62],[-12.71,9.34],[-13.25,8.9],[-13.69,9.49],[-14.07,9.89],[-14.33,10.02],[-14.58,10.21],[-14.69,10.66],[-14.84,10.88],[-15.13,11.04],[-14.69,11.53],[-14.38,11.51],[-14.12,11.68],[-13.9,11.68],[-13.74,11.81],[-13.83,12.14],[-13.72,12.25],[-13.7,12.59]]]]},{n:`Guinea-Bissau`,a2:`GW`,a3:`GNB`,p:`GW`,l:[-14.52,12.16],g:[[[[-16.68,12.38],[-16.15,12.55],[-15.82,12.52],[-15.55,12.63],[-13.7,12.59],[-13.72,12.25],[-13.83,12.14],[-13.74,11.81],[-13.9,11.68],[-14.12,11.68],[-14.38,11.51],[-14.69,11.53],[-15.13,11.04],[-15.66,11.46],[-16.09,11.52],[-16.31,11.81],[-16.31,11.96],[-16.61,12.17],[-16.68,12.38]]]]},{n:`Liberia`,a2:`LR`,a3:`LBR`,p:`LR`,l:[-9.46,6.45],g:[[[[-8.44,7.69],[-8.49,7.4],[-8.39,6.91],[-8.6,6.47],[-8.31,6.19],[-7.99,6.13],[-7.57,5.71],[-7.54,5.31],[-7.64,5.19],[-7.71,4.36],[-7.97,4.36],[-9,4.83],[-9.91,5.59],[-10.77,6.14],[-11.44,6.79],[-11.2,7.11],[-11.15,7.4],[-10.7,7.94],[-10.23,8.41],[-10.02,8.43],[-9.76,8.54],[-9.34,7.93],[-9.4,7.53],[-9.21,7.31],[-8.93,7.31],[-8.72,7.71],[-8.44,7.69]]]]},{n:`Sierra Leone`,a2:`SL`,a3:`SLE`,p:`SL`,l:[-11.76,8.62],g:[[[[-13.25,8.9],[-12.71,9.34],[-12.6,9.62],[-12.43,9.84],[-12.15,9.86],[-11.92,10.05],[-11.12,10.05],[-10.84,9.69],[-10.62,9.27],[-10.65,8.98],[-10.49,8.72],[-10.51,8.35],[-10.23,8.41],[-10.7,7.94],[-11.15,7.4],[-11.2,7.11],[-11.44,6.79],[-11.71,6.86],[-12.43,7.26],[-12.95,7.8],[-13.12,8.16],[-13.25,8.9]]]]},{n:`Burkina Faso`,a2:`BF`,a3:`BFA`,p:`BF`,l:[-1.36,12.67],g:[[[[-5.4,10.37],[-5.47,10.95],[-5.2,11.38],[-5.22,11.71],[-4.43,12.54],[-4.28,13.23],[-4.01,13.47],[-3.52,13.34],[-3.1,13.54],[-2.97,13.8],[-2.19,14.25],[-2,14.56],[-1.07,14.97],[-.52,15.12],[-.27,14.92],[.37,14.93],[.3,14.44],[.43,13.99],[.99,13.34],[1.02,12.85],[2.18,12.63],[2.15,11.94],[1.94,11.64],[1.45,11.55],[1.24,11.11],[.9,11],[.02,11.02],[-.44,11.1],[-.76,10.94],[-1.2,11.01],[-2.94,10.96],[-2.96,10.4],[-2.83,9.64],[-3.51,9.9],[-3.98,9.86],[-4.33,9.61],[-4.78,9.82],[-4.95,10.15],[-5.4,10.37]]]]},{n:`Central African Republic`,a2:`CF`,a3:`CAF`,p:`CF`,l:[20.91,6.99],g:[[[[27.37,5.23],[27.04,5.13],[26.4,5.15],[25.65,5.26],[25.28,5.17],[25.13,4.93],[24.81,4.9],[24.41,5.11],[23.3,4.61],[22.84,4.71],[22.7,4.63],[22.41,4.03],[21.66,4.22],[20.93,4.32],[20.29,4.69],[19.47,5.03],[18.93,4.71],[18.54,4.2],[18.45,3.5],[17.81,3.56],[17.13,3.73],[16.54,3.2],[16.01,2.27],[15.91,2.56],[15.86,3.01],[15.41,3.34],[15.04,3.85],[14.95,4.21],[14.48,4.73],[14.56,5.03],[14.46,5.45],[14.54,6.23],[14.78,6.41],[15.28,7.42],[16.11,7.5],[16.29,7.75],[16.46,7.73],[16.71,7.51],[17.96,7.89],[18.39,8.28],[18.91,8.63],[18.81,8.98],[19.09,9.07],[20.06,9.01],[21,9.48],[21.72,10.57],[22.23,10.97],[22.86,11.14],[22.98,10.71],[23.55,10.09],[23.56,9.68],[23.39,9.27],[23.46,8.95],[23.81,8.67],[24.57,8.23],[25.11,7.83],[25.12,7.5],[25.8,6.98],[26.21,6.55],[26.47,5.95],[27.21,5.55],[27.37,5.23]]]]},{n:`Republic of the Congo`,a2:`CG`,a3:`COG`,p:`CG`,l:[15.9,.14],g:[[[[18.45,3.5],[18.39,2.9],[18.09,2.37],[17.9,1.74],[17.77,.86],[17.83,.29],[17.66,-.06],[17.64,-.42],[17.52,-.74],[16.87,-1.23],[16.41,-1.74],[15.97,-2.71],[16.01,-3.54],[15.75,-3.86],[15.17,-4.34],[14.58,-4.97],[14.21,-4.79],[14.14,-4.51],[13.6,-4.5],[13.26,-4.88],[13,-4.78],[12.62,-4.44],[12.32,-4.61],[11.91,-5.04],[11.09,-3.98],[11.86,-3.43],[11.48,-2.77],[11.82,-2.51],[12.5,-2.39],[12.58,-1.95],[13.11,-2.43],[13.99,-2.47],[14.3,-2],[14.43,-1.33],[14.32,-.55],[13.84,.04],[14.28,1.2],[14.03,1.4],[13.28,1.31],[13,1.83],[13.08,2.27],[14.34,2.23],[15.15,1.96],[15.94,1.73],[16.01,2.27],[16.54,3.2],[17.13,3.73],[17.81,3.56],[18.45,3.5]]]]},{n:`Gabon`,a2:`GA`,a3:`GAB`,p:`GA`,l:[11.84,-.44],g:[[[[11.28,2.26],[11.75,2.33],[12.36,2.19],[12.95,2.32],[13.08,2.27],[13,1.83],[13.28,1.31],[14.03,1.4],[14.28,1.2],[13.84,.04],[14.32,-.55],[14.43,-1.33],[14.3,-2],[13.99,-2.47],[13.11,-2.43],[12.58,-1.95],[12.5,-2.39],[11.82,-2.51],[11.48,-2.77],[11.86,-3.43],[11.09,-3.98],[10.07,-2.97],[9.41,-2.14],[8.8,-1.11],[8.83,-.78],[9.05,-.46],[9.29,.27],[9.49,1.01],[9.83,1.07],[11.29,1.06],[11.28,2.26]]]]},{n:`Equatorial Guinea`,a2:`GQ`,a3:`GNQ`,p:`GQ`,l:[8.99,2.33],g:[[[[9.65,2.28],[11.28,2.26],[11.29,1.06],[9.83,1.07],[9.49,1.01],[9.31,1.16],[9.65,2.28]]]]},{n:`Zambia`,a2:`ZM`,a3:`ZMB`,p:`ZM`,l:[26.4,-14.66],g:[[[[30.74,-8.34],[31.16,-8.59],[31.56,-8.76],[32.19,-8.93],[32.76,-9.23],[33.23,-9.68],[33.49,-10.53],[33.32,-10.8],[33.11,-11.61],[33.31,-12.44],[32.99,-12.78],[32.69,-13.71],[33.21,-13.97],[30.18,-14.8],[30.27,-15.51],[29.52,-15.64],[28.95,-16.04],[28.83,-16.39],[28.47,-16.47],[27.6,-17.29],[27.04,-17.94],[26.71,-17.96],[26.38,-17.85],[25.26,-17.74],[25.08,-17.66],[25.08,-17.58],[24.68,-17.35],[24.03,-17.3],[23.22,-17.52],[22.56,-16.9],[21.89,-16.08],[21.93,-12.9],[24.02,-12.91],[23.93,-12.57],[24.08,-12.19],[23.9,-11.72],[24.02,-11.24],[23.91,-10.93],[24.26,-10.95],[24.31,-11.26],[24.78,-11.24],[25.42,-11.33],[25.75,-11.78],[26.55,-11.92],[27.16,-11.61],[27.39,-12.13],[28.16,-12.27],[28.52,-12.7],[28.93,-13.25],[29.7,-13.26],[29.62,-12.18],[29.34,-12.36],[28.64,-11.97],[28.37,-11.79],[28.5,-10.79],[28.67,-9.61],[28.45,-9.16],[28.73,-8.53],[29,-8.41],[30.35,-8.24],[30.74,-8.34]]]]},{n:`Malawi`,a2:`MW`,a3:`MWI`,p:`MW`,l:[33.61,-13.39],g:[[[[32.76,-9.23],[33.74,-9.42],[33.94,-9.69],[34.28,-10.16],[34.56,-11.52],[34.28,-12.28],[34.56,-13.58],[34.91,-13.57],[35.27,-13.89],[35.69,-14.61],[35.77,-15.9],[35.34,-16.11],[35.03,-16.8],[34.38,-16.18],[34.31,-15.48],[34.52,-15.01],[34.46,-14.61],[34.06,-14.36],[33.79,-14.45],[33.21,-13.97],[32.69,-13.71],[32.99,-12.78],[33.31,-12.44],[33.11,-11.61],[33.32,-10.8],[33.49,-10.53],[33.23,-9.68],[32.76,-9.23]]]]},{n:`Mozambique`,a2:`MZ`,a3:`MOZ`,p:`MZ`,l:[37.84,-13.94],g:[[[[34.56,-11.52],[35.31,-11.44],[36.51,-11.72],[36.78,-11.59],[37.47,-11.57],[37.83,-11.27],[38.43,-11.29],[39.52,-10.9],[40.32,-10.32],[40.48,-10.77],[40.44,-11.76],[40.56,-12.64],[40.6,-14.2],[40.78,-14.69],[40.48,-15.41],[40.09,-16.1],[39.45,-16.72],[38.54,-17.1],[37.41,-17.59],[36.28,-18.66],[35.9,-18.84],[35.2,-19.55],[34.79,-19.78],[34.7,-20.5],[35.18,-21.25],[35.37,-21.84],[35.39,-22.14],[35.56,-22.09],[35.53,-23.07],[35.37,-23.54],[35.61,-23.71],[35.46,-24.12],[35.04,-24.48],[34.22,-24.82],[33.01,-25.36],[32.57,-25.73],[32.66,-26.15],[32.92,-26.22],[32.83,-26.74],[32.07,-26.73],[31.99,-26.29],[31.84,-25.84],[31.75,-25.48],[31.93,-24.37],[31.67,-23.66],[31.19,-22.25],[32.24,-21.12],[32.51,-20.4],[32.66,-20.3],[32.77,-19.72],[32.61,-19.42],[32.65,-18.67],[32.85,-17.98],[32.85,-16.71],[32.33,-16.39],[31.85,-16.32],[31.64,-16.07],[31.17,-15.86],[30.34,-15.88],[30.27,-15.51],[30.18,-14.8],[33.21,-13.97],[33.79,-14.45],[34.06,-14.36],[34.46,-14.61],[34.52,-15.01],[34.31,-15.48],[34.38,-16.18],[35.03,-16.8],[35.34,-16.11],[35.77,-15.9],[35.69,-14.61],[35.27,-13.89],[34.91,-13.57],[34.56,-13.58],[34.28,-12.28],[34.56,-11.52]]]]},{n:`Kingdom of eSwatini`,a2:`SZ`,a3:`SWZ`,p:`ES`,l:[31.47,-26.53],g:[[[[32.07,-26.73],[31.87,-27.18],[31.28,-27.29],[30.69,-26.74],[30.68,-26.4],[30.95,-26.02],[31.04,-25.73],[31.33,-25.66],[31.84,-25.84],[31.99,-26.29],[32.07,-26.73]]]]},{n:`Angola`,a2:`AO`,a3:`AGO`,p:`AO`,l:[17.98,-12.18],g:[[[[13,-4.78],[12.63,-4.99],[12.47,-5.25],[12.44,-5.68],[12.18,-5.79],[11.91,-5.04],[12.32,-4.61],[12.62,-4.44],[13,-4.78]]],[[[12.32,-6.1],[12.74,-5.97],[13.02,-5.98],[13.38,-5.86],[16.33,-5.88],[16.57,-6.62],[16.86,-7.22],[17.09,-7.55],[17.47,-8.07],[18.13,-7.99],[18.46,-7.85],[19.02,-7.99],[19.17,-7.74],[19.42,-7.16],[20.04,-7.12],[20.09,-6.94],[20.6,-6.94],[20.51,-7.3],[21.73,-7.29],[21.75,-7.92],[21.95,-8.31],[21.8,-8.91],[21.88,-9.52],[22.21,-9.89],[22.16,-11.08],[22.4,-10.99],[22.84,-11.02],[23.46,-10.87],[23.91,-10.93],[24.02,-11.24],[23.9,-11.72],[24.08,-12.19],[23.93,-12.57],[24.02,-12.91],[21.93,-12.9],[21.89,-16.08],[22.56,-16.9],[23.22,-17.52],[21.38,-17.93],[18.96,-17.79],[18.26,-17.31],[14.21,-17.35],[14.06,-17.42],[13.46,-16.97],[12.81,-16.94],[12.22,-17.11],[11.73,-17.3],[11.64,-16.67],[11.78,-15.79],[12.12,-14.88],[12.18,-14.45],[12.5,-13.55],[12.74,-13.14],[13.31,-12.48],[13.63,-12.04],[13.74,-11.3],[13.69,-10.73],[13.39,-10.37],[13.12,-9.77],[12.88,-9.17],[12.93,-8.96],[13.24,-8.56],[12.93,-7.6],[12.73,-6.93],[12.23,-6.29],[12.32,-6.1]]]]},{n:`Burundi`,a2:`BI`,a3:`BDI`,p:`BI`,l:[29.92,-3.33],g:[[[[30.47,-2.41],[30.53,-2.81],[30.74,-3.03],[30.75,-3.36],[30.51,-3.57],[30.12,-4.09],[29.75,-4.45],[29.34,-4.5],[29.28,-3.29],[29.02,-2.84],[29.63,-2.92],[29.94,-2.35],[30.47,-2.41]]]]},{n:`Israel`,a2:`IL`,a3:`ISR`,p:`IS`,l:[34.85,30.91],g:[[[[35.72,32.71],[35.55,32.39],[35.18,32.53],[34.97,31.87],[35.23,31.75],[34.97,31.62],[34.93,31.35],[35.4,31.49],[35.42,31.1],[34.92,29.5],[34.82,29.76],[34.27,31.22],[34.56,31.55],[34.49,31.61],[34.75,32.07],[34.96,32.83],[35.1,33.08],[35.13,33.09],[35.46,33.09],[35.55,33.26],[35.82,33.28],[35.84,32.87],[35.7,32.72],[35.72,32.71]]]]},{n:`Lebanon`,a2:`LB`,a3:`LBN`,p:`LB`,l:[35.99,34.13],g:[[[[35.82,33.28],[35.55,33.26],[35.46,33.09],[35.13,33.09],[35.48,33.91],[35.98,34.61],[36,34.64],[36.45,34.59],[36.61,34.2],[36.07,33.82],[35.82,33.28]]]]},{n:`Madagascar`,a2:`MG`,a3:`MDG`,p:`MG`,l:[46.7,-18.63],g:[[[[49.54,-12.47],[49.81,-12.9],[50.06,-13.56],[50.22,-14.76],[50.48,-15.23],[50.38,-15.71],[50.2,-16],[49.86,-15.41],[49.67,-15.71],[49.86,-16.45],[49.77,-16.88],[49.5,-17.11],[49.44,-17.95],[49.04,-19.12],[48.55,-20.5],[47.93,-22.39],[47.55,-23.78],[47.1,-24.94],[46.28,-25.18],[45.41,-25.6],[44.83,-25.35],[44.04,-24.99],[43.76,-24.46],[43.7,-23.57],[43.35,-22.78],[43.25,-22.06],[43.43,-21.34],[43.89,-21.16],[43.9,-20.83],[44.37,-20.07],[44.46,-19.44],[44.23,-18.96],[44.04,-18.33],[43.96,-17.41],[44.31,-16.85],[44.45,-16.22],[44.94,-16.18],[45.5,-15.97],[45.87,-15.79],[46.31,-15.78],[46.88,-15.21],[47.71,-14.59],[48.01,-14.09],[47.87,-13.66],[48.29,-13.78],[48.85,-13.09],[48.86,-12.49],[49.19,-12.04],[49.54,-12.47]]]]},{n:`Palestine`,a2:`PS`,a3:`PSE`,p:`PAL`,l:[35.29,32.05],g:[[[[35.4,31.49],[34.93,31.35],[34.97,31.62],[35.23,31.75],[34.97,31.87],[35.18,32.53],[35.55,32.39],[35.55,31.78],[35.4,31.49]]]]},{n:`The Gambia`,a2:`GM`,a3:`GMB`,p:`GM`,l:[-15,13.64],g:[[[[-16.71,13.59],[-15.62,13.62],[-15.4,13.86],[-15.08,13.88],[-14.69,13.63],[-14.38,13.63],[-14.05,13.79],[-13.84,13.51],[-14.28,13.28],[-14.71,13.3],[-15.14,13.51],[-15.51,13.28],[-15.69,13.27],[-15.93,13.13],[-16.84,13.15],[-16.71,13.59]]]]},{n:`Tunisia`,a2:`TN`,a3:`TUN`,p:`TN`,l:[9.01,33.69],g:[[[[9.48,30.31],[9.06,32.1],[8.44,32.51],[8.43,32.75],[7.61,33.34],[7.52,34.1],[8.14,34.66],[8.38,35.48],[8.22,36.43],[8.42,36.95],[9.51,37.35],[10.21,37.23],[10.18,36.72],[11.03,37.09],[11.1,36.9],[10.6,36.41],[10.59,35.95],[10.94,35.7],[10.81,34.83],[10.15,34.33],[10.34,33.79],[10.86,33.77],[11.11,33.29],[11.49,33.14],[11.43,32.37],[10.94,32.08],[10.64,31.76],[9.95,31.38],[10.06,30.96],[9.97,30.54],[9.48,30.31]]]]},{n:`Algeria`,a2:`DZ`,a3:`DZA`,p:`DZ`,l:[2.81,27.4],g:[[[[-8.68,27.4],[-8.67,27.59],[-8.67,27.66],[-8.67,28.84],[-7.06,29.58],[-6.06,29.73],[-5.24,30],[-4.86,30.5],[-3.69,30.9],[-3.65,31.64],[-3.07,31.72],[-2.62,32.09],[-1.31,32.26],[-1.12,32.65],[-1.39,32.86],[-1.73,33.92],[-1.79,34.53],[-2.17,35.17],[-1.21,35.71],[-.13,35.89],[.5,36.3],[1.47,36.61],[3.16,36.78],[4.82,36.87],[5.32,36.72],[6.26,37.11],[7.33,37.12],[7.74,36.89],[8.42,36.95],[8.22,36.43],[8.38,35.48],[8.14,34.66],[7.52,34.1],[7.61,33.34],[8.43,32.75],[8.44,32.51],[9.06,32.1],[9.48,30.31],[9.81,29.42],[9.86,28.96],[9.68,28.14],[9.76,27.69],[9.63,27.14],[9.72,26.51],[9.32,26.09],[9.91,25.37],[9.95,24.94],[10.3,24.38],[10.77,24.56],[11.56,24.1],[12,23.47],[8.57,21.57],[5.68,19.6],[4.27,19.16],[3.16,19.06],[3.15,19.69],[2.68,19.86],[2.06,20.14],[1.82,20.61],[-1.55,22.79],[-4.92,24.97],[-8.68,27.4]]]]},{n:`Jordan`,a2:`JO`,a3:`JOR`,p:`J`,l:[36.38,30.81],g:[[[[35.55,32.39],[35.72,32.71],[36.83,32.31],[38.79,33.38],[39.2,32.16],[39,32.01],[37,31.51],[38,30.51],[37.67,30.34],[37.5,30],[36.74,29.87],[36.5,29.51],[36.07,29.2],[34.96,29.36],[34.92,29.5],[35.42,31.1],[35.4,31.49],[35.55,31.78],[35.55,32.39]]]]},{n:`United Arab Emirates`,a2:`AE`,a3:`ARE`,p:`AE`,l:[54.55,23.47],g:[[[[51.58,24.25],[51.76,24.29],[51.79,24.02],[52.58,24.18],[53.4,24.15],[54.01,24.12],[54.69,24.8],[55.44,25.44],[56.07,26.06],[56.26,25.71],[56.4,24.92],[55.89,24.92],[55.8,24.27],[55.98,24.13],[55.53,23.93],[55.53,23.52],[55.23,23.11],[55.21,22.71],[55.01,22.5],[52,23],[51.62,24.01],[51.58,24.25]]]]},{n:`Qatar`,a2:`QA`,a3:`QAT`,p:`QA`,l:[51.14,25.24],g:[[[[50.81,24.75],[50.74,25.48],[51.01,26.01],[51.29,26.11],[51.59,25.8],[51.61,25.22],[51.39,24.63],[51.11,24.56],[50.81,24.75]]]]},{n:`Kuwait`,a2:`KW`,a3:`KWT`,p:`KW`,l:[47.31,29.41],g:[[[[47.97,29.98],[48.18,29.53],[48.09,29.31],[48.42,28.55],[47.71,28.53],[47.46,29],[46.57,29.1],[47.3,30.06],[47.97,29.98]]]]},{n:`Iraq`,a2:`IQ`,a3:`IRQ`,p:`IRQ`,l:[43.26,33.09],g:[[[[39.2,32.16],[38.79,33.38],[41.01,34.42],[41.38,35.63],[41.29,36.36],[41.84,36.61],[42.35,37.23],[42.78,37.39],[43.94,37.26],[44.29,37],[44.77,37.17],[45.42,35.98],[46.08,35.68],[46.15,35.09],[45.65,34.75],[45.42,33.97],[46.11,33.02],[47.33,32.47],[47.85,31.71],[47.69,30.98],[48,30.99],[48.01,30.45],[48.57,29.93],[47.97,29.98],[47.3,30.06],[46.57,29.1],[44.71,29.18],[41.89,31.19],[40.4,31.89],[39.2,32.16]]]]},{n:`Oman`,a2:`OM`,a3:`OMN`,p:`OM`,l:[57.34,22.12],g:[[[[55.21,22.71],[55.23,23.11],[55.53,23.52],[55.53,23.93],[55.98,24.13],[55.8,24.27],[55.89,24.92],[56.4,24.92],[56.85,24.24],[57.4,23.88],[58.14,23.75],[58.73,23.57],[59.18,22.99],[59.45,22.66],[59.81,22.53],[59.81,22.31],[59.44,21.71],[59.28,21.43],[58.86,21.11],[58.49,20.43],[58.03,20.48],[57.83,20.24],[57.67,19.74],[57.79,19.07],[57.69,18.94],[57.23,18.95],[56.61,18.57],[56.51,18.09],[56.28,17.88],[55.66,17.88],[55.27,17.63],[55.27,17.23],[54.79,16.95],[54.24,17.04],[53.57,16.71],[53.11,16.65],[52.78,17.35],[52,19],[55,20],[55.67,22],[55.21,22.71]]],[[[56.26,25.71],[56.07,26.06],[56.36,26.4],[56.49,26.31],[56.39,25.9],[56.26,25.71]]]]},{n:`Vanuatu`,a2:`VU`,a3:`VUT`,p:`VU`,l:[166.91,-15.37],g:[[[[167.22,-15.89],[167.84,-16.47],[167.52,-16.6],[167.18,-16.16],[167.22,-15.89]]],[[[166.79,-15.67],[166.65,-15.39],[166.63,-14.63],[167.11,-14.93],[167.27,-15.74],[167,-15.61],[166.79,-15.67]]]]},{n:`Cambodia`,a2:`KH`,a3:`KHM`,p:`KH`,l:[104.5,12.65],g:[[[[102.58,12.19],[102.35,13.39],[102.99,14.23],[104.28,14.42],[105.22,14.27],[106.04,13.88],[106.5,14.57],[107.38,14.2],[107.61,13.54],[107.49,12.34],[105.81,11.57],[106.25,10.96],[105.2,10.89],[104.33,10.49],[103.5,10.63],[103.09,11.15],[102.58,12.19]]]]},{n:`Thailand`,a2:`TH`,a3:`THA`,p:`TH`,l:[101.07,15.46],g:[[[[105.22,14.27],[104.28,14.42],[102.99,14.23],[102.35,13.39],[102.58,12.19],[101.69,12.65],[100.83,12.63],[100.98,13.41],[100.1,13.41],[100.02,12.31],[99.48,10.85],[99.15,9.96],[99.22,9.24],[99.87,9.21],[100.28,8.3],[100.46,7.43],[101.02,6.86],[101.62,6.74],[102.14,6.22],[101.81,5.81],[101.15,5.69],[101.08,6.2],[100.26,6.64],[100.09,6.46],[99.69,6.85],[99.52,7.34],[98.99,7.91],[98.5,8.38],[98.34,7.79],[98.15,8.35],[98.26,8.97],[98.55,9.93],[99.04,10.96],[99.59,11.89],[99.2,12.8],[99.21,13.27],[99.1,13.83],[98.43,14.62],[98.19,15.12],[98.54,15.31],[98.9,16.18],[98.49,16.84],[97.86,17.57],[97.38,18.45],[97.8,18.63],[98.25,19.71],[98.96,19.75],[99.54,20.19],[100.12,20.42],[100.55,20.11],[100.61,19.51],[101.28,19.46],[101.04,18.41],[101.06,17.51],[102.11,18.11],[102.41,17.93],[103,17.96],[103.2,18.31],[103.96,18.24],[104.72,17.43],[104.78,16.44],[105.59,15.57],[105.54,14.72],[105.22,14.27]]]]},{n:`Lao PDR`,a2:`LA`,a3:`LAO`,p:`LA`,l:[102.53,19.43],g:[[[[107.38,14.2],[106.5,14.57],[106.04,13.88],[105.22,14.27],[105.54,14.72],[105.59,15.57],[104.78,16.44],[104.72,17.43],[103.96,18.24],[103.2,18.31],[103,17.96],[102.41,17.93],[102.11,18.11],[101.06,17.51],[101.04,18.41],[101.28,19.46],[100.61,19.51],[100.55,20.11],[100.12,20.42],[100.33,20.79],[101.18,21.44],[101.27,21.2],[101.8,21.17],[101.65,22.32],[102.17,22.46],[102.75,21.68],[103.2,20.77],[104.44,20.76],[104.82,19.89],[104.18,19.62],[103.9,19.27],[105.09,18.67],[105.93,17.49],[106.56,16.6],[107.31,15.91],[107.56,15.2],[107.38,14.2]]]]},{n:`Myanmar`,a2:`MM`,a3:`MMR`,p:`MM`,l:[95.8,21.57],g:[[[[100.12,20.42],[99.54,20.19],[98.96,19.75],[98.25,19.71],[97.8,18.63],[97.38,18.45],[97.86,17.57],[98.49,16.84],[98.9,16.18],[98.54,15.31],[98.19,15.12],[98.43,14.62],[99.1,13.83],[99.21,13.27],[99.2,12.8],[99.59,11.89],[99.04,10.96],[98.55,9.93],[98.46,10.68],[98.76,11.44],[98.43,12.03],[98.51,13.12],[98.1,13.64],[97.78,14.84],[97.6,16.1],[97.16,16.93],[96.51,16.43],[95.37,15.71],[94.81,15.8],[94.19,16.04],[94.53,17.28],[94.32,18.21],[93.54,19.37],[93.66,19.73],[93.08,19.86],[92.37,20.67],[92.3,21.48],[92.65,21.32],[92.67,22.04],[93.17,22.28],[93.06,22.7],[93.29,23.04],[93.33,24.08],[94.11,23.85],[94.55,24.68],[94.6,25.16],[95.16,26],[95.12,26.57],[96.42,27.26],[97.13,27.08],[97.05,27.7],[97.4,27.88],[97.33,28.26],[97.91,28.34],[98.25,27.75],[98.68,27.51],[98.71,26.74],[98.67,25.92],[97.72,25.08],[97.6,23.9],[98.66,24.06],[98.9,23.14],[99.53,22.95],[99.24,22.12],[99.98,21.74],[100.42,21.56],[101.15,21.85],[101.18,21.44],[100.33,20.79],[100.12,20.42]]]]},{n:`Vietnam`,a2:`VN`,a3:`VNM`,p:`VN`,l:[105.39,21.72],g:[[[[104.33,10.49],[105.2,10.89],[106.25,10.96],[105.81,11.57],[107.49,12.34],[107.61,13.54],[107.38,14.2],[107.56,15.2],[107.31,15.91],[106.56,16.6],[105.93,17.49],[105.09,18.67],[103.9,19.27],[104.18,19.62],[104.82,19.89],[104.44,20.76],[103.2,20.77],[102.75,21.68],[102.17,22.46],[102.71,22.71],[103.5,22.7],[104.48,22.82],[105.33,23.35],[105.81,22.98],[106.73,22.79],[106.57,22.22],[107.04,21.81],[108.05,21.55],[106.72,20.7],[105.88,19.75],[105.66,19.06],[106.43,18],[107.36,16.7],[108.27,16.08],[108.88,15.28],[109.34,13.43],[109.2,11.67],[108.37,11.01],[107.22,10.36],[106.41,9.53],[105.16,8.6],[104.8,9.24],[105.08,9.92],[104.33,10.49]]]]},{n:`Dem. Rep. Korea`,a2:`KP`,a3:`PRK`,p:`KP`,l:[126.44,39.89],g:[[[[130.64,42.4],[130.78,42.22],[130.4,42.28],[129.97,41.94],[129.67,41.6],[129.71,40.88],[129.19,40.66],[129.01,40.49],[128.63,40.19],[127.97,40.03],[127.53,39.76],[127.5,39.32],[127.39,39.21],[127.78,39.05],[128.35,38.61],[128.21,38.37],[127.78,38.3],[127.07,38.26],[126.68,37.8],[126.24,37.84],[126.17,37.75],[125.69,37.94],[125.57,37.75],[125.28,37.67],[125.24,37.86],[124.98,37.95],[124.71,38.11],[124.99,38.55],[125.22,38.67],[125.13,38.85],[125.39,39.39],[125.32,39.55],[124.74,39.66],[124.27,39.93],[125.08,40.57],[126.18,41.11],[126.87,41.82],[127.34,41.5],[128.21,41.47],[128.05,41.99],[129.6,42.42],[129.99,42.99],[130.64,42.4]]]]},{n:`Republic of Korea`,a2:`KR`,a3:`KOR`,p:`KR`,l:[128.13,36.38],g:[[[[126.17,37.75],[126.24,37.84],[126.68,37.8],[127.07,38.26],[127.78,38.3],[128.21,38.37],[128.35,38.61],[129.21,37.43],[129.46,36.78],[129.47,35.63],[129.09,35.08],[128.19,34.89],[127.39,34.48],[126.49,34.39],[126.37,34.93],[126.56,35.68],[126.12,36.73],[126.86,36.89],[126.17,37.75]]]]},{n:`Mongolia`,a2:`MN`,a3:`MNG`,p:`MN`,l:[104.15,46],g:[[[[87.75,49.3],[88.81,49.47],[90.71,50.33],[92.23,50.8],[93.1,50.5],[94.15,50.48],[94.82,50.01],[95.81,49.98],[97.26,49.73],[98.23,50.42],[97.83,51.01],[98.86,52.05],[99.98,51.63],[100.89,51.52],[102.07,51.26],[102.26,50.51],[103.68,50.09],[104.62,50.28],[105.89,50.41],[106.89,50.27],[107.87,49.79],[108.48,49.28],[109.4,49.29],[110.66,49.13],[111.58,49.38],[112.9,49.54],[114.36,50.25],[114.96,50.14],[115.49,49.81],[116.68,49.89],[116.19,49.13],[115.49,48.14],[115.74,47.73],[116.31,47.85],[117.3,47.7],[118.06,48.07],[118.87,47.75],[119.77,47.05],[119.66,46.69],[118.87,46.81],[117.42,46.67],[116.72,46.39],[115.99,45.73],[114.46,45.34],[113.46,44.81],[112.44,45.01],[111.87,45.1],[111.35,44.46],[111.67,44.07],[111.83,43.74],[111.13,43.41],[110.41,42.87],[109.24,42.52],[107.74,42.48],[106.13,42.13],[104.96,41.6],[104.52,41.91],[103.31,41.91],[101.83,42.51],[100.85,42.66],[99.52,42.52],[97.45,42.75],[96.35,42.73],[95.76,43.32],[95.31,44.24],[94.69,44.35],[93.48,44.98],[92.13,45.12],[90.95,45.29],[90.59,45.72],[90.97,46.89],[90.28,47.69],[88.85,48.07],[88.01,48.6],[87.75,49.3]]]]},{n:`India`,a2:`IN`,a3:`IND`,p:`IND`,l:[79.36,22.69],g:[[[[97.33,28.26],[97.4,27.88],[97.05,27.7],[97.13,27.08],[96.42,27.26],[95.12,26.57],[95.16,26],[94.6,25.16],[94.55,24.68],[94.11,23.85],[93.33,24.08],[93.29,23.04],[93.06,22.7],[93.17,22.28],[92.67,22.04],[92.15,23.63],[91.87,23.62],[91.71,22.99],[91.16,23.5],[91.47,24.07],[91.92,24.13],[92.38,24.98],[91.8,25.15],[90.87,25.13],[89.92,25.27],[89.83,25.97],[89.36,26.01],[88.56,26.45],[88.21,25.77],[88.93,25.24],[88.31,24.87],[88.08,24.5],[88.7,24.23],[88.53,23.63],[88.88,22.88],[89.03,22.06],[88.89,21.69],[88.21,21.7],[86.98,21.5],[87.03,20.74],[86.5,20.15],[85.06,19.48],[83.94,18.3],[83.19,17.67],[82.19,17.02],[82.19,16.56],[81.69,16.31],[80.79,15.95],[80.32,15.9],[80.03,15.14],[80.23,13.84],[80.29,13.01],[79.86,12.06],[79.86,10.36],[79.34,10.31],[78.89,9.55],[79.19,9.22],[78.28,8.93],[77.94,8.25],[77.54,7.97],[76.59,8.9],[76.13,10.3],[75.75,11.31],[75.4,11.78],[74.86,12.74],[74.62,13.99],[74.44,14.62],[73.53,15.99],[73.12,17.93],[72.82,19.21],[72.82,20.42],[72.63,21.36],[71.18,20.76],[70.47,20.88],[69.16,22.09],[69.64,22.45],[69.35,22.84],[68.18,23.69],[68.84,24.36],[71.04,24.36],[70.84,25.22],[70.28,25.72],[70.17,26.49],[69.51,26.94],[70.62,27.99],[71.78,27.91],[72.82,28.96],[73.45,29.98],[74.42,30.98],[74.41,31.69],[75.26,32.27],[74.45,32.76],[74.1,33.44],[73.75,34.32],[74.24,34.75],[75.76,34.5],[76.87,34.65],[77.84,35.49],[78.91,34.32],[78.81,33.51],[79.21,32.99],[79.18,32.48],[78.46,32.62],[78.74,31.52],[79.72,30.88],[81.11,30.18],[80.48,29.73],[80.09,28.79],[81.06,28.42],[82,27.93],[83.3,27.36],[84.68,27.23],[85.25,26.73],[86.02,26.63],[87.23,26.4],[88.06,26.41],[88.17,26.81],[88.04,27.45],[88.12,27.88],[88.73,28.09],[88.81,27.3],[88.84,27.1],[89.74,26.72],[90.37,26.88],[91.22,26.81],[92.03,26.84],[92.1,27.45],[91.7,27.77],[92.5,27.9],[93.41,28.64],[94.57,29.28],[95.4,29.03],[96.12,29.45],[96.59,28.83],[96.25,28.41],[97.33,28.26]]]]},{n:`Bangladesh`,a2:`BD`,a3:`BGD`,p:`BD`,l:[89.68,24.21],g:[[[[92.67,22.04],[92.65,21.32],[92.3,21.48],[92.37,20.67],[92.08,21.19],[92.03,21.7],[91.83,22.18],[91.42,22.77],[90.5,22.81],[90.59,22.39],[90.27,21.84],[89.85,22.04],[89.7,21.86],[89.42,21.97],[89.03,22.06],[88.88,22.88],[88.53,23.63],[88.7,24.23],[88.08,24.5],[88.31,24.87],[88.93,25.24],[88.21,25.77],[88.56,26.45],[89.36,26.01],[89.83,25.97],[89.92,25.27],[90.87,25.13],[91.8,25.15],[92.38,24.98],[91.92,24.13],[91.47,24.07],[91.16,23.5],[91.71,22.99],[91.87,23.62],[92.15,23.63],[92.67,22.04]]]]},{n:`Bhutan`,a2:`BT`,a3:`BTN`,p:`BT`,l:[90.04,27.54],g:[[[[91.7,27.77],[92.1,27.45],[92.03,26.84],[91.22,26.81],[90.37,26.88],[89.74,26.72],[88.84,27.1],[88.81,27.3],[89.48,28.04],[90.02,28.3],[90.73,28.06],[91.26,28.04],[91.7,27.77]]]]},{n:`Nepal`,a2:`NP`,a3:`NPL`,p:`NP`,l:[83.64,28.3],g:[[[[88.12,27.88],[88.04,27.45],[88.17,26.81],[88.06,26.41],[87.23,26.4],[86.02,26.63],[85.25,26.73],[84.68,27.23],[83.3,27.36],[82,27.93],[81.06,28.42],[80.09,28.79],[80.48,29.73],[81.11,30.18],[81.53,30.42],[82.33,30.12],[83.34,29.46],[83.9,29.32],[84.23,28.84],[85.01,28.64],[85.82,28.2],[86.95,27.97],[88.12,27.88]]]]},{n:`Pakistan`,a2:`PK`,a3:`PAK`,p:`PK`,l:[68.55,29.33],g:[[[[77.84,35.49],[76.87,34.65],[75.76,34.5],[74.24,34.75],[73.75,34.32],[74.1,33.44],[74.45,32.76],[75.26,32.27],[74.41,31.69],[74.42,30.98],[73.45,29.98],[72.82,28.96],[71.78,27.91],[70.62,27.99],[69.51,26.94],[70.17,26.49],[70.28,25.72],[70.84,25.22],[71.04,24.36],[68.84,24.36],[68.18,23.69],[67.44,23.94],[67.15,24.66],[66.37,25.43],[64.53,25.24],[62.91,25.22],[61.5,25.08],[61.87,26.24],[63.32,26.76],[63.23,27.22],[62.76,27.38],[62.73,28.26],[61.77,28.7],[61.37,29.3],[60.87,29.83],[62.55,29.32],[63.55,29.47],[64.15,29.34],[64.35,29.56],[65.05,29.47],[66.35,29.89],[66.38,30.74],[66.94,31.3],[67.68,31.3],[67.79,31.58],[68.56,31.71],[68.93,31.62],[69.32,31.9],[69.26,32.5],[69.69,33.11],[70.32,33.36],[69.93,34.02],[70.88,33.99],[71.16,34.35],[71.12,34.73],[71.61,35.15],[71.5,35.65],[71.26,36.07],[71.85,36.51],[72.92,36.72],[74.07,36.84],[74.58,37.02],[75.16,37.13],[75.9,36.67],[76.19,35.9],[77.84,35.49]]]]},{n:`Afghanistan`,a2:`AF`,a3:`AFG`,p:`AF`,l:[66.5,34.16],g:[[[[66.52,37.36],[67.08,37.36],[67.83,37.14],[68.14,37.02],[68.86,37.34],[69.2,37.15],[69.52,37.61],[70.12,37.59],[70.27,37.74],[70.38,38.14],[70.81,38.49],[71.35,38.26],[71.24,37.95],[71.54,37.91],[71.45,37.07],[71.84,36.74],[72.19,36.95],[72.64,37.05],[73.26,37.5],[73.95,37.42],[74.98,37.42],[75.16,37.13],[74.58,37.02],[74.07,36.84],[72.92,36.72],[71.85,36.51],[71.26,36.07],[71.5,35.65],[71.61,35.15],[71.12,34.73],[71.16,34.35],[70.88,33.99],[69.93,34.02],[70.32,33.36],[69.69,33.11],[69.26,32.5],[69.32,31.9],[68.93,31.62],[68.56,31.71],[67.79,31.58],[67.68,31.3],[66.94,31.3],[66.38,30.74],[66.35,29.89],[65.05,29.47],[64.35,29.56],[64.15,29.34],[63.55,29.47],[62.55,29.32],[60.87,29.83],[61.78,30.74],[61.7,31.38],[60.94,31.55],[60.86,32.18],[60.54,32.98],[60.96,33.53],[60.53,33.68],[60.8,34.4],[61.21,35.65],[62.23,35.27],[62.98,35.4],[63.19,35.86],[63.98,36.01],[64.55,36.31],[64.75,37.11],[65.59,37.31],[65.75,37.66],[66.22,37.39],[66.52,37.36]]]]},{n:`Tajikistan`,a2:`TJ`,a3:`TJK`,p:`TJ`,l:[72.59,38.2],g:[[[[67.83,37.14],[68.39,38.16],[68.18,38.9],[67.44,39.14],[67.7,39.58],[68.54,39.53],[69.01,40.09],[69.33,40.73],[70.67,40.96],[70.46,40.5],[70.6,40.22],[71.01,40.24],[70.65,39.94],[69.56,40.1],[69.46,39.53],[70.55,39.6],[71.78,39.28],[73.68,39.43],[73.93,38.51],[74.26,38.61],[74.86,38.38],[74.83,37.99],[74.98,37.42],[73.95,37.42],[73.26,37.5],[72.64,37.05],[72.19,36.95],[71.84,36.74],[71.45,37.07],[71.54,37.91],[71.24,37.95],[71.35,38.26],[70.81,38.49],[70.38,38.14],[70.27,37.74],[70.12,37.59],[69.52,37.61],[69.2,37.15],[68.86,37.34],[68.14,37.02],[67.83,37.14]]]]},{n:`Kyrgyzstan`,a2:`KG`,a3:`KGZ`,p:`KG`,l:[74.53,41.67],g:[[[[70.96,42.27],[71.19,42.7],[71.84,42.85],[73.49,42.5],[73.65,43.09],[74.21,43.3],[75.64,42.88],[76,42.99],[77.66,42.96],[79.14,42.86],[79.64,42.5],[80.26,42.35],[80.12,42.12],[78.54,41.58],[78.19,41.19],[76.9,41.07],[76.53,40.43],[75.47,40.56],[74.78,40.37],[73.82,39.89],[73.96,39.66],[73.68,39.43],[71.78,39.28],[70.55,39.6],[69.46,39.53],[69.56,40.1],[70.65,39.94],[71.01,40.24],[71.77,40.15],[73.06,40.87],[71.87,41.39],[71.16,41.14],[70.42,41.52],[71.26,42.17],[70.96,42.27]]]]},{n:`Turkmenistan`,a2:`TM`,a3:`TKM`,p:`TM`,l:[58.68,39.86],g:[[[[52.5,41.78],[52.94,42.12],[54.08,42.32],[54.76,42.04],[55.46,41.26],[55.97,41.31],[57.1,41.32],[56.93,41.83],[57.79,42.17],[58.63,42.75],[59.98,42.22],[60.08,41.43],[60.47,41.22],[61.55,41.27],[61.88,41.08],[62.37,40.05],[63.52,39.36],[64.17,38.89],[65.22,38.4],[66.55,37.97],[66.52,37.36],[66.22,37.39],[65.75,37.66],[65.59,37.31],[64.75,37.11],[64.55,36.31],[63.98,36.01],[63.19,35.86],[62.98,35.4],[62.23,35.27],[61.21,35.65],[61.12,36.49],[60.38,36.53],[59.23,37.41],[58.44,37.52],[57.33,38.03],[56.62,38.12],[56.18,37.94],[55.51,37.96],[54.8,37.39],[53.92,37.2],[53.74,37.91],[53.88,38.95],[53.1,39.29],[53.36,39.98],[52.69,40.03],[52.92,40.88],[53.86,40.63],[54.74,40.95],[54.01,41.55],[53.72,42.12],[52.92,41.87],[52.81,41.14],[52.5,41.78]]]]},{n:`Iran`,a2:`IR`,a3:`IRN`,p:`IRN`,l:[54.93,32.17],g:[[[[48.57,29.93],[48.01,30.45],[48,30.99],[47.69,30.98],[47.85,31.71],[47.33,32.47],[46.11,33.02],[45.42,33.97],[45.65,34.75],[46.15,35.09],[46.08,35.68],[45.42,35.98],[44.77,37.17],[44.23,37.97],[44.42,38.28],[44.11,39.43],[44.79,39.71],[44.95,39.34],[45.46,38.87],[46.14,38.74],[46.51,38.77],[47.69,39.51],[48.06,39.58],[48.36,39.29],[48.01,38.79],[48.63,38.27],[48.88,38.32],[49.2,37.58],[50.15,37.37],[50.84,36.87],[52.26,36.7],[53.83,36.97],[53.92,37.2],[54.8,37.39],[55.51,37.96],[56.18,37.94],[56.62,38.12],[57.33,38.03],[58.44,37.52],[59.23,37.41],[60.38,36.53],[61.12,36.49],[61.21,35.65],[60.8,34.4],[60.53,33.68],[60.96,33.53],[60.54,32.98],[60.86,32.18],[60.94,31.55],[61.7,31.38],[61.78,30.74],[60.87,29.83],[61.37,29.3],[61.77,28.7],[62.73,28.26],[62.76,27.38],[63.23,27.22],[63.32,26.76],[61.87,26.24],[61.5,25.08],[59.62,25.38],[58.53,25.61],[57.4,25.74],[56.97,26.97],[56.49,27.14],[55.72,26.96],[54.72,26.48],[53.49,26.81],[52.48,27.58],[51.52,27.87],[50.85,28.81],[50.12,30.15],[49.58,29.99],[48.94,30.32],[48.57,29.93]]]]},{n:`Syria`,a2:`SY`,a3:`SYR`,p:`SYR`,l:[38.28,35.01],g:[[[[35.72,32.71],[35.7,32.72],[35.84,32.87],[35.82,33.28],[36.07,33.82],[36.61,34.2],[36.45,34.59],[36,34.64],[35.91,35.41],[36.15,35.82],[36.42,36.04],[36.69,36.26],[36.74,36.82],[37.07,36.62],[38.17,36.9],[38.7,36.71],[39.52,36.72],[40.67,37.09],[41.21,37.07],[42.35,37.23],[41.84,36.61],[41.29,36.36],[41.38,35.63],[41.01,34.42],[38.79,33.38],[36.83,32.31],[35.72,32.71]]]]},{n:`Armenia`,a2:`AM`,a3:`ARM`,p:`ARM`,l:[44.8,40.46],g:[[[[46.51,38.77],[46.14,38.74],[45.74,39.32],[45.74,39.47],[45.3,39.47],[45,39.74],[44.79,39.71],[44.4,40.01],[43.66,40.25],[43.75,40.74],[43.58,41.09],[44.97,41.25],[45.18,40.99],[45.56,40.81],[45.36,40.56],[45.89,40.22],[45.61,39.9],[46.03,39.63],[46.48,39.46],[46.51,38.77]]]]},{n:`Sweden`,a2:`SE`,a3:`SWE`,p:`S`,l:[19.02,65.86],g:[[[[11.03,58.86],[11.47,59.43],[12.3,60.12],[12.63,61.29],[11.99,61.8],[11.93,63.13],[12.58,64.07],[13.57,64.05],[13.92,64.45],[13.56,64.79],[15.11,66.19],[16.11,67.3],[16.77,68.01],[17.73,68.01],[17.99,68.57],[19.88,68.41],[20.03,69.07],[20.65,69.11],[21.98,68.62],[23.54,67.94],[23.57,66.4],[23.9,66.01],[22.18,65.72],[21.21,65.03],[21.37,64.41],[19.78,63.61],[17.85,62.75],[17.12,61.34],[17.83,60.64],[18.79,60.08],[17.87,58.95],[16.83,58.72],[16.45,57.04],[15.88,56.1],[14.67,56.2],[14.1,55.41],[12.94,55.36],[12.63,56.31],[11.79,57.44],[11.03,58.86]]]]},{n:`Belarus`,a2:`BY`,a3:`BLR`,p:`BY`,l:[28.42,53.82],g:[[[[28.18,56.17],[29.23,55.92],[29.37,55.67],[29.9,55.79],[30.87,55.55],[30.97,55.08],[30.76,54.81],[31.38,54.16],[31.79,53.97],[31.73,53.79],[32.41,53.62],[32.69,53.35],[32.3,53.13],[31.5,53.17],[31.31,53.07],[31.54,52.74],[31.79,52.1],[30.93,52.04],[30.62,51.82],[30.56,51.32],[30.16,51.42],[29.25,51.37],[28.99,51.6],[28.62,51.43],[28.24,51.57],[27.45,51.59],[26.34,51.83],[25.33,51.91],[24.55,51.89],[24.01,51.62],[23.53,51.58],[23.51,52.02],[23.2,52.49],[23.8,52.69],[23.8,53.09],[23.53,53.47],[23.48,53.91],[24.45,53.91],[25.54,54.28],[25.77,54.85],[26.59,55.17],[26.49,55.62],[27.1,55.78],[28.18,56.17]]]]},{n:`Ukraine`,a2:`UA`,a3:`UKR`,p:`UA`,l:[32.14,49.72],g:[[[[31.79,52.1],[32.16,52.06],[32.41,52.29],[32.72,52.24],[33.75,52.34],[34.39,51.77],[34.14,51.57],[34.22,51.26],[35.02,51.21],[35.38,50.77],[35.36,50.58],[36.63,50.23],[37.39,50.38],[38.01,49.92],[38.59,49.93],[40.07,49.6],[40.08,49.31],[39.67,48.78],[39.9,48.23],[39.74,47.9],[38.77,47.83],[38.26,47.55],[38.22,47.1],[37.43,47.02],[36.76,46.7],[35.82,46.65],[34.96,46.27],[35.01,45.74],[34.86,45.77],[34.73,45.97],[34.41,46.01],[33.7,46.22],[33.44,45.97],[33.3,46.08],[31.74,46.33],[31.68,46.71],[30.75,46.58],[30.38,46.03],[29.6,45.29],[29.15,45.46],[28.68,45.3],[28.23,45.49],[28.49,45.6],[28.66,45.94],[28.93,46.26],[28.86,46.44],[29.07,46.52],[29.17,46.38],[29.76,46.35],[30.02,46.42],[29.84,46.53],[29.91,46.67],[29.56,46.93],[29.42,47.35],[29.05,47.51],[29.12,47.85],[28.67,48.12],[28.26,48.16],[27.52,48.47],[26.86,48.37],[26.62,48.22],[26.2,48.22],[25.95,47.99],[25.21,47.89],[24.87,47.74],[24.4,47.98],[23.76,47.99],[23.14,48.1],[22.71,47.88],[22.64,48.15],[22.09,48.42],[22.28,48.83],[22.56,49.09],[22.78,49.03],[22.52,49.48],[23.43,50.31],[23.92,50.42],[24.03,50.71],[23.53,51.58],[24.01,51.62],[24.55,51.89],[25.33,51.91],[26.34,51.83],[27.45,51.59],[28.24,51.57],[28.62,51.43],[28.99,51.6],[29.25,51.37],[30.16,51.42],[30.56,51.32],[30.62,51.82],[30.93,52.04],[31.79,52.1]]]]},{n:`Poland`,a2:`PL`,a3:`POL`,p:`PL`,l:[19.49,51.99],g:[[[[23.48,53.91],[23.53,53.47],[23.8,53.09],[23.8,52.69],[23.2,52.49],[23.51,52.02],[23.53,51.58],[24.03,50.71],[23.92,50.42],[23.43,50.31],[22.52,49.48],[22.78,49.03],[22.56,49.09],[21.61,49.47],[20.89,49.33],[20.42,49.43],[19.83,49.22],[19.32,49.57],[18.91,49.44],[18.85,49.5],[18.39,49.99],[17.65,50.05],[17.55,50.36],[16.87,50.47],[16.72,50.22],[16.18,50.42],[16.24,50.7],[15.49,50.78],[15.02,51.11],[14.61,51.75],[14.69,52.09],[14.44,52.62],[14.07,52.98],[14.35,53.25],[14.12,53.76],[14.8,54.05],[16.36,54.51],[17.62,54.85],[18.62,54.68],[18.7,54.44],[19.66,54.43],[20.89,54.31],[22.73,54.33],[23.24,54.22],[23.48,53.91]]]]},{n:`Austria`,a2:`AT`,a3:`AUT`,p:`A`,l:[14.13,47.52],g:[[[[16.98,48.12],[16.9,47.71],[16.34,47.71],[16.53,47.5],[16.2,46.85],[16.01,46.68],[15.14,46.66],[14.63,46.43],[13.81,46.51],[12.38,46.77],[12.15,47.12],[11.16,46.94],[11.05,46.75],[10.44,46.89],[9.93,46.92],[9.48,47.1],[9.63,47.35],[9.59,47.53],[9.9,47.58],[10.4,47.3],[10.54,47.57],[11.43,47.52],[12.14,47.7],[12.62,47.67],[12.93,47.47],[13.03,47.64],[12.88,48.29],[13.24,48.42],[13.6,48.88],[14.34,48.56],[14.9,48.96],[15.25,49.04],[16.03,48.73],[16.5,48.79],[16.96,48.6],[16.88,48.47],[16.98,48.12]]]]},{n:`Hungary`,a2:`HU`,a3:`HUN`,p:`HU`,l:[19.45,47.09],g:[[[[22.09,48.42],[22.64,48.15],[22.71,47.88],[22.1,47.67],[21.63,46.99],[21.02,46.32],[20.22,46.13],[19.6,46.17],[18.83,45.91],[18.46,45.76],[17.63,45.95],[16.88,46.38],[16.56,46.5],[16.37,46.84],[16.2,46.85],[16.53,47.5],[16.34,47.71],[16.9,47.71],[16.98,48.12],[17.49,47.87],[17.86,47.76],[18.7,47.88],[18.78,48.08],[19.17,48.11],[19.66,48.27],[19.77,48.2],[20.24,48.33],[20.47,48.56],[20.8,48.62],[21.87,48.32],[22.09,48.42]]]]},{n:`Moldova`,a2:`MD`,a3:`MDA`,p:`MD`,l:[28.49,47.43],g:[[[[26.62,48.22],[26.86,48.37],[27.52,48.47],[28.26,48.16],[28.67,48.12],[29.12,47.85],[29.05,47.51],[29.42,47.35],[29.56,46.93],[29.91,46.67],[29.84,46.53],[30.02,46.42],[29.76,46.35],[29.17,46.38],[29.07,46.52],[28.86,46.44],[28.93,46.26],[28.66,45.94],[28.49,45.6],[28.23,45.49],[28.05,45.94],[28.16,46.37],[28.13,46.81],[27.55,47.41],[27.23,47.83],[26.92,48.12],[26.62,48.22]]]]},{n:`Romania`,a2:`RO`,a3:`ROU`,p:`RO`,l:[24.97,45.73],g:[[[[28.23,45.49],[28.68,45.3],[29.15,45.46],[29.6,45.29],[29.63,45.04],[29.14,44.82],[28.84,44.91],[28.56,43.71],[27.97,43.81],[27.24,44.18],[26.07,43.94],[25.57,43.69],[24.1,43.74],[23.33,43.9],[22.94,43.82],[22.66,44.23],[22.47,44.41],[22.71,44.58],[22.46,44.7],[22.15,44.48],[21.56,44.77],[21.48,45.18],[20.87,45.42],[20.76,45.73],[20.22,46.13],[21.02,46.32],[21.63,46.99],[22.1,47.67],[22.71,47.88],[23.14,48.1],[23.76,47.99],[24.4,47.98],[24.87,47.74],[25.21,47.89],[25.95,47.99],[26.2,48.22],[26.62,48.22],[26.92,48.12],[27.23,47.83],[27.55,47.41],[28.13,46.81],[28.16,46.37],[28.05,45.94],[28.23,45.49]]]]},{n:`Lithuania`,a2:`LT`,a3:`LTU`,p:`LT`,l:[24.09,55.1],g:[[[[26.49,55.62],[26.59,55.17],[25.77,54.85],[25.54,54.28],[24.45,53.91],[23.48,53.91],[23.24,54.22],[22.73,54.33],[22.65,54.58],[22.76,54.86],[22.32,55.02],[21.27,55.19],[21.06,56.03],[22.2,56.34],[23.88,56.27],[24.86,56.37],[25,56.16],[25.53,56.1],[26.49,55.62]]]]},{n:`Latvia`,a2:`LV`,a3:`LVA`,p:`LV`,l:[25.46,57.07],g:[[[[27.29,57.47],[27.77,57.24],[27.86,56.76],[28.18,56.17],[27.1,55.78],[26.49,55.62],[25.53,56.1],[25,56.16],[24.86,56.37],[23.88,56.27],[22.2,56.34],[21.06,56.03],[21.09,56.78],[21.58,57.41],[22.52,57.75],[23.32,57.01],[24.12,57.03],[24.31,57.79],[25.16,57.97],[25.6,57.85],[26.46,57.48],[27.29,57.47]]]]},{n:`Estonia`,a2:`EE`,a3:`EST`,p:`EST`,l:[25.87,58.72],g:[[[[27.98,59.48],[28.13,59.3],[27.42,58.72],[27.72,57.79],[27.29,57.47],[26.46,57.48],[25.6,57.85],[25.16,57.97],[24.31,57.79],[24.43,58.38],[24.06,58.26],[23.43,58.61],[23.34,59.19],[24.6,59.47],[25.86,59.61],[26.95,59.45],[27.98,59.48]]]]},{n:`Germany`,a2:`DE`,a3:`DEU`,p:`D`,l:[9.68,50.96],g:[[[[14.12,53.76],[14.35,53.25],[14.07,52.98],[14.44,52.62],[14.69,52.09],[14.61,51.75],[15.02,51.11],[14.57,51],[14.31,51.12],[14.06,50.93],[13.34,50.73],[12.97,50.48],[12.24,50.27],[12.42,49.97],[12.52,49.55],[13.03,49.31],[13.6,48.88],[13.24,48.42],[12.88,48.29],[13.03,47.64],[12.93,47.47],[12.62,47.67],[12.14,47.7],[11.43,47.52],[10.54,47.57],[10.4,47.3],[9.9,47.58],[9.59,47.53],[8.52,47.83],[8.32,47.61],[7.47,47.62],[7.59,48.33],[8.1,49.02],[6.66,49.2],[6.19,49.46],[6.24,49.9],[6.04,50.13],[6.16,50.8],[5.99,51.85],[6.59,51.85],[6.84,52.23],[7.09,53.14],[6.91,53.48],[7.1,53.69],[7.94,53.75],[8.12,53.53],[8.8,54.02],[8.57,54.4],[8.53,54.96],[9.28,54.83],[9.92,54.98],[9.94,54.6],[10.95,54.36],[10.94,54.01],[11.96,54.2],[12.52,54.47],[13.65,54.08],[14.12,53.76]]]]},{n:`Bulgaria`,a2:`BG`,a3:`BGR`,p:`BG`,l:[25.16,42.51],g:[[[[22.66,44.23],[22.94,43.82],[23.33,43.9],[24.1,43.74],[25.57,43.69],[26.07,43.94],[27.24,44.18],[27.97,43.81],[28.56,43.71],[28.04,43.29],[27.67,42.58],[28,42.01],[27.14,42.14],[26.12,41.83],[26.11,41.33],[25.2,41.23],[24.49,41.58],[23.69,41.31],[22.95,41.34],[22.88,42],[22.38,42.32],[22.55,42.46],[22.44,42.58],[22.6,42.9],[22.99,43.21],[22.5,43.64],[22.41,44.01],[22.66,44.23]]]]},{n:`Greece`,a2:`GR`,a3:`GRC`,p:`GR`,l:[21.73,39.49],g:[[[[26.29,35.3],[26.16,35],[24.72,34.92],[24.74,35.08],[23.51,35.28],[23.7,35.71],[24.25,35.37],[25.03,35.42],[25.77,35.35],[25.75,35.18],[26.29,35.3]]],[[[22.95,41.34],[23.69,41.31],[24.49,41.58],[25.2,41.23],[26.11,41.33],[26.12,41.83],[26.6,41.56],[26.29,40.94],[26.06,40.82],[25.45,40.85],[24.93,40.95],[23.71,40.69],[24.41,40.12],[23.9,39.96],[23.34,39.96],[22.81,40.48],[22.63,40.26],[22.85,39.66],[23.35,39.19],[22.97,38.97],[23.53,38.51],[24.03,38.22],[24.04,37.66],[23.12,37.92],[23.41,37.41],[22.77,37.31],[23.15,36.42],[22.49,36.41],[21.67,36.84],[21.3,37.64],[21.12,38.31],[20.73,38.77],[20.22,39.34],[20.15,39.62],[20.62,40.11],[20.67,40.44],[21,40.58],[21.02,40.84],[21.67,40.93],[22.06,41.15],[22.6,41.13],[22.76,41.3],[22.95,41.34]]]]},{n:`Turkey`,a2:`TR`,a3:`TUR`,p:`TR`,l:[34.51,39.35],g:[[[[44.77,37.17],[44.29,37],[43.94,37.26],[42.78,37.39],[42.35,37.23],[41.21,37.07],[40.67,37.09],[39.52,36.72],[38.7,36.71],[38.17,36.9],[37.07,36.62],[36.74,36.82],[36.69,36.26],[36.42,36.04],[36.15,35.82],[35.78,36.27],[36.16,36.65],[35.55,36.57],[34.71,36.8],[34.03,36.22],[32.51,36.11],[31.7,36.64],[30.62,36.68],[30.39,36.26],[29.7,36.14],[28.73,36.68],[27.64,36.66],[27.05,37.65],[26.32,38.21],[26.8,38.99],[26.17,39.46],[27.28,40.42],[28.82,40.46],[29.24,41.22],[31.15,41.09],[32.35,41.74],[33.51,42.02],[35.17,42.04],[36.91,41.34],[38.35,40.95],[39.51,41.1],[40.37,41.01],[41.55,41.54],[42.62,41.58],[43.58,41.09],[43.75,40.74],[43.66,40.25],[44.4,40.01],[44.79,39.71],[44.11,39.43],[44.42,38.28],[44.23,37.97],[44.77,37.17]]],[[[26.12,41.83],[27.14,42.14],[28,42.01],[28.12,41.62],[28.99,41.3],[28.81,41.05],[27.62,41],[27.19,40.69],[26.36,40.15],[26.04,40.62],[26.06,40.82],[26.29,40.94],[26.6,41.56],[26.12,41.83]]]]},{n:`Albania`,a2:`AL`,a3:`ALB`,p:`AL`,l:[20.11,40.65],g:[[[[21.02,40.84],[21,40.58],[20.67,40.44],[20.62,40.11],[20.15,39.62],[19.98,39.69],[19.96,39.92],[19.41,40.25],[19.32,40.73],[19.4,41.41],[19.54,41.72],[19.37,41.88],[19.3,42.2],[19.74,42.69],[19.8,42.5],[20.07,42.59],[20.28,42.32],[20.52,42.22],[20.59,41.86],[20.46,41.52],[20.61,41.09],[21.02,40.84]]]]},{n:`Croatia`,a2:`HR`,a3:`HRV`,p:`HR`,l:[16.37,45.81],g:[[[[16.56,46.5],[16.88,46.38],[17.63,45.95],[18.46,45.76],[18.83,45.91],[19.07,45.52],[19.39,45.24],[19.01,44.86],[18.55,45.08],[17.86,45.07],[17,45.23],[16.53,45.21],[16.32,45],[15.96,45.23],[15.75,44.82],[16.24,44.35],[16.46,44.04],[16.92,43.67],[17.3,43.45],[17.67,43.03],[18.56,42.65],[18.45,42.48],[17.51,42.85],[16.93,43.21],[16.02,43.51],[15.17,44.24],[15.38,44.32],[14.92,44.74],[14.9,45.08],[14.26,45.23],[13.95,44.8],[13.66,45.14],[13.68,45.48],[13.72,45.5],[14.41,45.47],[14.6,45.63],[14.94,45.47],[15.33,45.45],[15.32,45.73],[15.67,45.83],[15.77,46.24],[16.56,46.5]]]]},{n:`Switzerland`,a2:`CH`,a3:`CHE`,p:`CH`,l:[7.46,46.72],g:[[[[9.59,47.53],[9.63,47.35],[9.48,47.1],[9.93,46.92],[10.44,46.89],[10.36,46.48],[9.92,46.31],[9.18,46.44],[8.97,46.04],[8.49,46.01],[8.32,46.16],[7.76,45.82],[7.27,45.78],[6.84,45.99],[6.5,46.43],[6.02,46.27],[6.04,46.73],[6.77,47.29],[6.74,47.54],[7.19,47.45],[7.47,47.62],[8.32,47.61],[8.52,47.83],[9.59,47.53]]]]},{n:`Luxembourg`,a2:`LU`,a3:`LUX`,p:`L`,l:[6.08,49.73],g:[[[[6.04,50.13],[6.24,49.9],[6.19,49.46],[5.9,49.44],[5.67,49.53],[5.78,50.09],[6.04,50.13]]]]},{n:`Belgium`,a2:`BE`,a3:`BEL`,p:`B`,l:[4.8,50.79],g:[[[[6.16,50.8],[6.04,50.13],[5.78,50.09],[5.67,49.53],[4.8,49.99],[4.29,49.91],[3.59,50.38],[3.12,50.78],[2.66,50.8],[2.51,51.15],[3.31,51.35],[3.32,51.35],[3.31,51.35],[4.05,51.27],[4.97,51.48],[5.61,51.04],[6.16,50.8]]]]},{n:`Netherlands`,a2:`NL`,a3:`NLD`,p:`NL`,l:[5.61,52.42],g:[[[[6.91,53.48],[7.09,53.14],[6.84,52.23],[6.59,51.85],[5.99,51.85],[6.16,50.8],[5.61,51.04],[4.97,51.48],[4.05,51.27],[3.31,51.35],[3.32,51.35],[3.83,51.62],[4.71,53.09],[6.07,53.51],[6.91,53.48]]]]},{n:`Portugal`,a2:`PT`,a3:`PRT`,p:`P`,l:[-8.27,39.61],g:[[[[-9.03,41.88],[-8.67,42.13],[-8.26,42.28],[-8.01,41.79],[-7.42,41.79],[-7.25,41.92],[-6.67,41.88],[-6.39,41.38],[-6.85,41.11],[-6.86,40.33],[-7.03,40.18],[-7.07,39.71],[-7.5,39.63],[-7.1,39.03],[-7.37,38.37],[-7.03,38.08],[-7.17,37.8],[-7.54,37.43],[-7.45,37.1],[-7.86,36.84],[-8.38,36.98],[-8.9,36.87],[-8.75,37.65],[-8.84,38.27],[-9.29,38.36],[-9.53,38.74],[-9.45,39.39],[-9.05,39.76],[-8.98,40.16],[-8.77,40.76],[-8.79,41.18],[-8.99,41.54],[-9.03,41.88]]]]},{n:`Spain`,a2:`ES`,a3:`ESP`,p:`E`,l:[-3.46,40.09],g:[[[[-7.45,37.1],[-7.54,37.43],[-7.17,37.8],[-7.03,38.08],[-7.37,38.37],[-7.1,39.03],[-7.5,39.63],[-7.07,39.71],[-7.03,40.18],[-6.86,40.33],[-6.85,41.11],[-6.39,41.38],[-6.67,41.88],[-7.25,41.92],[-7.42,41.79],[-8.01,41.79],[-8.26,42.28],[-8.67,42.13],[-9.03,41.88],[-8.98,42.59],[-9.39,43.03],[-7.98,43.75],[-6.75,43.57],[-5.41,43.57],[-4.35,43.4],[-3.52,43.46],[-1.9,43.42],[-1.5,43.03],[.34,42.58],[.7,42.8],[1.83,42.34],[2.99,42.47],[3.04,41.89],[2.09,41.23],[.81,41.01],[.72,40.68],[.11,40.12],[-.28,39.31],[.11,38.74],[-.47,38.29],[-.68,37.64],[-1.44,37.44],[-2.15,36.67],[-3.42,36.66],[-4.37,36.68],[-5,36.32],[-5.38,35.95],[-5.87,36.03],[-6.24,36.37],[-6.52,36.94],[-7.45,37.1]]]]},{n:`Ireland`,a2:`IE`,a3:`IRL`,p:`IRL`,l:[-7.8,53.08],g:[[[[-6.2,53.87],[-6.03,53.15],[-6.79,52.26],[-8.56,51.67],[-9.98,51.82],[-9.17,52.86],[-9.69,53.88],[-8.33,54.66],[-7.57,55.13],[-7.37,54.6],[-7.57,54.06],[-6.95,54.07],[-6.2,53.87]]]]},{n:`New Caledonia`,a2:`NC`,a3:`NCL`,p:`NC`,l:[165.08,-21.06],g:[[[[165.78,-21.08],[166.6,-21.7],[167.12,-22.16],[166.74,-22.4],[166.19,-22.13],[165.47,-21.68],[164.83,-21.15],[164.17,-20.44],[164.03,-20.11],[164.46,-20.12],[165.02,-20.46],[165.46,-20.8],[165.78,-21.08]]]]},{n:`Solomon Islands`,a2:`SB`,a3:`SLB`,p:`SB`,l:[159.17,-8.03],g:[[[[162.12,-10.48],[162.4,-10.83],[161.7,-10.82],[161.32,-10.2],[161.92,-10.45],[162.12,-10.48]]],[[[161.68,-9.6],[161.53,-9.78],[160.79,-8.92],[160.58,-8.32],[160.92,-8.32],[161.28,-9.12],[161.68,-9.6]]],[[[160.85,-9.87],[160.46,-9.9],[159.85,-9.79],[159.64,-9.64],[159.7,-9.24],[160.36,-9.4],[160.69,-9.61],[160.85,-9.87]]],[[[159.64,-8.02],[159.88,-8.34],[159.92,-8.54],[159.13,-8.11],[158.59,-7.75],[158.21,-7.42],[158.36,-7.32],[158.82,-7.56],[159.64,-8.02]]],[[[157.14,-7.02],[157.54,-7.35],[157.34,-7.4],[156.9,-7.18],[156.49,-6.77],[156.54,-6.6],[157.14,-7.02]]]]},{n:`New Zealand`,a2:`NZ`,a3:`NZL`,p:`NZ`,l:[172.79,-39.76],g:[[[[176.89,-40.07],[176.51,-40.6],[176.01,-41.29],[175.24,-41.69],[175.07,-41.43],[174.65,-41.28],[175.23,-40.46],[174.9,-39.91],[173.82,-39.51],[173.85,-39.15],[174.57,-38.8],[174.74,-38.03],[174.7,-37.38],[174.29,-36.71],[174.32,-36.53],[173.84,-36.12],[173.05,-35.24],[172.64,-34.53],[173.01,-34.45],[173.55,-35.01],[174.33,-35.27],[174.61,-36.16],[175.34,-37.21],[175.36,-36.53],[175.81,-36.8],[175.96,-37.56],[176.76,-37.88],[177.44,-37.96],[178.01,-37.58],[178.52,-37.7],[178.27,-38.58],[177.97,-39.17],[177.21,-39.15],[176.94,-39.45],[177.03,-39.88],[176.89,-40.07]]],[[[169.67,-43.56],[170.52,-43.03],[171.13,-42.51],[171.57,-41.77],[171.95,-41.51],[172.1,-40.96],[172.8,-40.49],[173.02,-40.92],[173.25,-41.33],[173.96,-40.93],[174.25,-41.35],[174.25,-41.77],[173.88,-42.23],[173.22,-42.97],[172.71,-43.37],[173.08,-43.85],[172.31,-43.87],[171.45,-44.24],[171.19,-44.9],[170.62,-45.91],[169.83,-46.36],[169.33,-46.64],[168.41,-46.62],[167.76,-46.29],[166.68,-46.22],[166.51,-45.85],[167.05,-45.11],[168.3,-44.12],[168.95,-43.94],[169.67,-43.56]]]]},{n:`Australia`,a2:`AU`,a3:`AUS`,p:`AU`,l:[134.05,-24.13],g:[[[[147.69,-40.81],[148.29,-40.88],[148.36,-42.06],[148.02,-42.41],[147.91,-43.21],[147.56,-42.94],[146.87,-43.63],[146.66,-43.58],[146.05,-43.55],[145.43,-42.69],[145.3,-42.03],[144.72,-41.16],[144.74,-40.7],[145.4,-40.79],[146.36,-41.14],[146.91,-41],[147.69,-40.81]]],[[[126.15,-32.22],[125.09,-32.73],[124.22,-32.96],[124.03,-33.48],[123.66,-33.89],[122.81,-33.91],[122.18,-34],[121.3,-33.82],[120.58,-33.93],[119.89,-33.98],[119.3,-34.51],[119.01,-34.46],[118.51,-34.75],[118.02,-35.06],[117.3,-35.03],[116.63,-35.03],[115.56,-34.39],[115.03,-34.2],[115.05,-33.62],[115.55,-33.49],[115.71,-33.26],[115.68,-32.9],[115.8,-32.21],[115.69,-31.61],[115.16,-30.6],[115,-30.03],[115.04,-29.46],[114.64,-28.81],[114.62,-28.52],[114.17,-28.12],[114.05,-27.33],[113.48,-26.54],[113.34,-26.12],[113.78,-26.55],[113.44,-25.62],[113.94,-25.91],[114.23,-26.3],[114.22,-25.79],[113.72,-25],[113.63,-24.68],[113.39,-24.38],[113.5,-23.81],[113.71,-23.56],[113.84,-23.06],[113.74,-22.48],[114.15,-21.76],[114.23,-22.52],[114.65,-21.83],[115.46,-21.5],[115.95,-21.07],[116.71,-20.7],[117.17,-20.62],[117.44,-20.75],[118.23,-20.37],[118.84,-20.26],[118.99,-20.04],[119.25,-19.95],[119.81,-19.98],[120.86,-19.68],[121.4,-19.24],[121.66,-18.71],[122.24,-18.2],[122.29,-17.8],[122.31,-17.25],[123.01,-16.41],[123.43,-17.27],[123.86,-17.07],[123.5,-16.6],[123.82,-16.11],[124.26,-16.33],[124.38,-15.57],[124.93,-15.08],[125.17,-14.68],[125.67,-14.51],[125.69,-14.23],[126.13,-14.35],[126.14,-14.1],[126.58,-13.95],[127.07,-13.82],[127.8,-14.28],[128.36,-14.87],[128.99,-14.88],[129.62,-14.97],[129.41,-14.42],[129.89,-13.62],[130.34,-13.36],[130.18,-13.11],[130.62,-12.54],[131.22,-12.18],[131.74,-12.3],[132.58,-12.11],[132.56,-11.6],[131.82,-11.27],[132.36,-11.13],[133.02,-11.38],[133.55,-11.79],[134.39,-12.04],[134.68,-11.94],[135.3,-12.25],[135.88,-11.96],[136.26,-12.05],[136.49,-11.86],[136.95,-12.35],[136.69,-12.89],[136.31,-13.29],[135.96,-13.32],[136.08,-13.72],[135.78,-14.22],[135.43,-14.72],[135.5,-15],[136.3,-15.55],[137.07,-15.87],[137.58,-16.22],[138.3,-16.81],[138.59,-16.81],[139.11,-17.06],[139.26,-17.37],[140.22,-17.71],[140.88,-17.37],[141.07,-16.83],[141.27,-16.39],[141.4,-15.84],[141.7,-15.04],[141.56,-14.56],[141.64,-14.27],[141.52,-13.7],[141.65,-12.94],[141.84,-12.74],[141.69,-12.41],[141.93,-11.88],[142.12,-11.33],[142.14,-11.04],[142.52,-10.67],[142.8,-11.16],[142.87,-11.78],[143.12,-11.91],[143.16,-12.33],[143.52,-12.83],[143.6,-13.4],[143.56,-13.76],[143.92,-14.55],[144.56,-14.17],[144.89,-14.59],[145.37,-14.98],[145.27,-15.43],[145.49,-16.29],[145.64,-16.78],[145.89,-16.91],[146.16,-17.76],[146.06,-18.28],[146.39,-18.96],[147.47,-19.48],[148.18,-19.96],[148.85,-20.39],[148.72,-20.63],[149.29,-21.26],[149.68,-22.34],[150.08,-22.12],[150.48,-22.56],[150.73,-22.4],[150.9,-23.46],[151.61,-24.08],[152.07,-24.46],[152.86,-25.27],[153.14,-26.07],[153.16,-26.64],[153.09,-27.26],[153.57,-28.11],[153.51,-29],[153.34,-29.46],[153.07,-30.35],[153.09,-30.92],[152.89,-31.64],[152.45,-32.55],[151.71,-33.04],[151.34,-33.82],[151.01,-34.31],[150.71,-35.17],[150.33,-35.67],[150.08,-36.42],[149.95,-37.11],[150,-37.43],[149.42,-37.77],[148.3,-37.81],[147.38,-38.22],[146.92,-38.61],[146.32,-39.04],[145.49,-38.59],[144.88,-38.42],[145.03,-37.9],[144.49,-38.09],[143.61,-38.81],[142.75,-38.54],[142.18,-38.38],[141.61,-38.31],[140.64,-38.02],[139.99,-37.4],[139.81,-36.64],[139.57,-36.14],[139.08,-35.73],[138.12,-35.61],[138.45,-35.13],[138.21,-34.38],[137.72,-35.08],[136.83,-35.26],[137.35,-34.71],[137.5,-34.13],[137.89,-33.64],[137.81,-32.9],[137,-33.75],[136.37,-34.09],[135.99,-34.89],[135.21,-34.48],[135.24,-33.95],[134.61,-33.22],[134.09,-32.85],[134.27,-32.62],[132.99,-32.01],[132.29,-31.98],[131.33,-31.5],[129.54,-31.59],[128.24,-31.95],[127.1,-32.28],[126.15,-32.22]]]]},{n:`Sri Lanka`,a2:`LK`,a3:`LKA`,p:`LK`,l:[80.7,7.58],g:[[[[81.79,7.52],[81.64,6.48],[81.22,6.2],[80.35,5.97],[79.87,6.76],[79.7,8.2],[80.15,9.82],[80.84,9.27],[81.3,8.56],[81.79,7.52]]]]},{n:`China`,a2:`CN`,a3:`CHN`,p:`CN`,l:[106.34,32.5],g:[[[[109.48,18.2],[108.66,18.51],[108.63,19.37],[109.12,19.82],[110.21,20.1],[110.79,20.08],[111.01,19.7],[110.57,19.26],[110.34,18.68],[109.48,18.2]]],[[[80.26,42.35],[80.18,42.92],[80.87,43.18],[79.97,44.92],[81.95,45.32],[82.46,45.54],[83.18,47.33],[85.16,47],[85.72,47.45],[85.77,48.46],[86.6,48.55],[87.36,49.21],[87.75,49.3],[88.01,48.6],[88.85,48.07],[90.28,47.69],[90.97,46.89],[90.59,45.72],[90.95,45.29],[92.13,45.12],[93.48,44.98],[94.69,44.35],[95.31,44.24],[95.76,43.32],[96.35,42.73],[97.45,42.75],[99.52,42.52],[100.85,42.66],[101.83,42.51],[103.31,41.91],[104.52,41.91],[104.96,41.6],[106.13,42.13],[107.74,42.48],[109.24,42.52],[110.41,42.87],[111.13,43.41],[111.83,43.74],[111.67,44.07],[111.35,44.46],[111.87,45.1],[112.44,45.01],[113.46,44.81],[114.46,45.34],[115.99,45.73],[116.72,46.39],[117.42,46.67],[118.87,46.81],[119.66,46.69],[119.77,47.05],[118.87,47.75],[118.06,48.07],[117.3,47.7],[116.31,47.85],[115.74,47.73],[115.49,48.14],[116.19,49.13],[116.68,49.89],[117.88,49.51],[119.29,50.14],[119.28,50.58],[120.18,51.64],[120.74,51.96],[120.73,52.52],[120.18,52.75],[121,53.25],[122.25,53.43],[123.57,53.46],[125.07,53.16],[125.95,52.79],[126.56,51.78],[126.94,51.35],[127.29,50.74],[127.66,49.76],[129.4,49.44],[130.58,48.73],[130.99,47.79],[132.51,47.79],[133.37,48.18],[135.03,48.48],[134.5,47.58],[134.11,47.21],[133.77,46.12],[133.1,45.14],[131.88,45.32],[131.03,44.97],[131.29,44.11],[131.14,42.93],[130.63,42.9],[130.64,42.4],[129.99,42.99],[129.6,42.42],[128.05,41.99],[128.21,41.47],[127.34,41.5],[126.87,41.82],[126.18,41.11],[125.08,40.57],[124.27,39.93],[122.87,39.64],[122.13,39.17],[121.05,38.9],[121.59,39.36],[121.38,39.75],[122.17,40.42],[121.64,40.95],[120.77,40.59],[119.64,39.9],[119.02,39.25],[118.04,39.2],[117.53,38.74],[118.06,38.06],[118.88,37.9],[118.91,37.45],[119.7,37.16],[120.82,37.87],[121.71,37.48],[122.36,37.45],[122.52,36.93],[121.1,36.65],[120.64,36.11],[119.66,35.61],[119.15,34.91],[120.23,34.36],[120.62,33.38],[121.23,32.46],[121.91,31.69],[121.89,30.95],[121.26,30.68],[121.5,30.14],[122.09,29.83],[121.94,29.02],[121.68,28.23],[121.13,28.14],[120.4,27.05],[119.59,25.74],[118.66,24.55],[117.28,23.62],[115.89,22.78],[114.76,22.67],[114.15,22.22],[113.81,22.55],[113.24,22.05],[111.84,21.55],[110.79,21.4],[110.44,20.34],[109.89,20.28],[109.63,21.01],[109.86,21.4],[108.52,21.72],[108.05,21.55],[107.04,21.81],[106.57,22.22],[106.73,22.79],[105.81,22.98],[105.33,23.35],[104.48,22.82],[103.5,22.7],[102.71,22.71],[102.17,22.46],[101.65,22.32],[101.8,21.17],[101.27,21.2],[101.18,21.44],[101.15,21.85],[100.42,21.56],[99.98,21.74],[99.24,22.12],[99.53,22.95],[98.9,23.14],[98.66,24.06],[97.6,23.9],[97.72,25.08],[98.67,25.92],[98.71,26.74],[98.68,27.51],[98.25,27.75],[97.91,28.34],[97.33,28.26],[96.25,28.41],[96.59,28.83],[96.12,29.45],[95.4,29.03],[94.57,29.28],[93.41,28.64],[92.5,27.9],[91.7,27.77],[91.26,28.04],[90.73,28.06],[90.02,28.3],[89.48,28.04],[88.81,27.3],[88.73,28.09],[88.12,27.88],[86.95,27.97],[85.82,28.2],[85.01,28.64],[84.23,28.84],[83.9,29.32],[83.34,29.46],[82.33,30.12],[81.53,30.42],[81.11,30.18],[79.72,30.88],[78.74,31.52],[78.46,32.62],[79.18,32.48],[79.21,32.99],[78.81,33.51],[78.91,34.32],[77.84,35.49],[76.19,35.9],[75.9,36.67],[75.16,37.13],[74.98,37.42],[74.83,37.99],[74.86,38.38],[74.26,38.61],[73.93,38.51],[73.68,39.43],[73.96,39.66],[73.82,39.89],[74.78,40.37],[75.47,40.56],[76.53,40.43],[76.9,41.07],[78.19,41.19],[78.54,41.58],[80.12,42.12],[80.26,42.35]]]]},{n:`Taiwan`,a2:`CN-TW`,a3:`TWN`,p:`TW`,l:[120.87,23.65],g:[[[[121.78,24.39],[121.18,22.79],[120.75,21.97],[120.22,22.81],[120.11,23.56],[120.69,24.54],[121.5,25.3],[121.95,25],[121.78,24.39]]]]},{n:`Italy`,a2:`IT`,a3:`ITA`,p:`I`,l:[11.08,44.73],g:[[[[10.44,46.89],[11.05,46.75],[11.16,46.94],[12.15,47.12],[12.38,46.77],[13.81,46.51],[13.7,46.02],[13.94,45.59],[13.14,45.74],[12.33,45.38],[12.38,44.89],[12.26,44.6],[12.59,44.09],[13.53,43.59],[14.03,42.76],[15.14,41.96],[15.93,41.96],[16.17,41.74],[15.89,41.54],[16.79,41.18],[17.52,40.88],[18.38,40.36],[18.48,40.17],[18.29,39.81],[17.74,40.28],[16.87,40.44],[16.45,39.8],[17.17,39.42],[17.05,38.9],[16.64,38.84],[16.1,37.99],[15.68,37.91],[15.69,38.21],[15.89,38.75],[16.11,38.96],[15.72,39.54],[15.41,40.05],[15,40.17],[14.7,40.6],[14.06,40.79],[13.63,41.19],[12.89,41.25],[12.11,41.7],[11.19,42.36],[10.51,42.93],[10.2,43.92],[9.7,44.04],[8.89,44.37],[8.43,44.23],[7.85,43.77],[7.44,43.69],[7.55,44.13],[7.01,44.25],[6.75,45.03],[7.1,45.33],[6.8,45.71],[6.84,45.99],[7.27,45.78],[7.76,45.82],[8.32,46.16],[8.49,46.01],[8.97,46.04],[9.18,46.44],[9.92,46.31],[10.36,46.48],[10.44,46.89]]],[[[14.76,38.14],[15.52,38.23],[15.16,37.44],[15.31,37.13],[15.1,36.62],[14.34,37],[13.83,37.1],[12.43,37.61],[12.57,38.13],[13.74,38.03],[14.76,38.14]]],[[[8.71,40.9],[9.21,41.21],[9.81,40.5],[9.67,39.18],[9.21,39.24],[8.81,38.91],[8.43,39.17],[8.39,40.38],[8.16,40.95],[8.71,40.9]]]]},{n:`Denmark`,a2:`DK`,a3:`DNK`,p:`DK`,l:[9.02,55.97],g:[[[[9.92,54.98],[9.28,54.83],[8.53,54.96],[8.12,55.52],[8.09,56.54],[8.26,56.81],[8.54,57.11],[9.42,57.17],[9.78,57.45],[10.58,57.73],[10.55,57.22],[10.25,56.89],[10.37,56.61],[10.91,56.46],[10.67,56.08],[10.37,56.19],[9.65,55.47],[9.92,54.98]]],[[[12.37,56.11],[12.69,55.61],[12.09,54.8],[11.04,55.36],[10.9,55.78],[12.37,56.11]]]]},{n:`United Kingdom`,a2:`GB`,a3:`GBR`,p:`GB`,l:[-2.12,54.4],g:[[[[-6.2,53.87],[-6.95,54.07],[-7.57,54.06],[-7.37,54.6],[-7.57,55.13],[-6.73,55.17],[-5.66,54.55],[-6.2,53.87]]],[[[-3.09,53.4],[-2.95,53.99],[-3.61,54.6],[-3.63,54.62],[-4.84,54.79],[-5.08,55.06],[-4.72,55.51],[-5.05,55.78],[-5.59,55.31],[-5.64,56.28],[-6.15,56.79],[-5.79,57.82],[-5.01,58.63],[-4.21,58.55],[-3.01,58.64],[-4.07,57.55],[-3.06,57.69],[-1.96,57.68],[-2.22,56.87],[-3.12,55.97],[-2.09,55.91],[-2.01,55.8],[-1.11,54.62],[-.43,54.46],[.18,53.33],[.47,52.93],[1.68,52.74],[1.56,52.1],[1.05,51.81],[1.45,51.29],[.55,50.77],[-.79,50.77],[-2.49,50.5],[-2.96,50.7],[-3.62,50.23],[-4.54,50.34],[-5.25,49.96],[-5.78,50.16],[-4.31,51.21],[-3.41,51.43],[-3.42,51.43],[-4.98,51.59],[-5.27,51.99],[-4.22,52.3],[-4.77,52.84],[-4.58,53.5],[-3.09,53.4]]]]},{n:`Iceland`,a2:`IS`,a3:`ISL`,p:`IS`,l:[-18.67,64.78],g:[[[[-14.51,66.46],[-14.74,65.81],[-13.61,65.13],[-14.91,64.36],[-17.79,63.68],[-18.66,63.5],[-19.97,63.64],[-22.76,63.96],[-21.78,64.4],[-23.96,64.89],[-22.18,65.08],[-22.23,65.38],[-24.33,65.61],[-23.65,66.26],[-22.13,66.41],[-20.58,65.73],[-19.06,66.28],[-17.8,65.99],[-16.17,66.53],[-14.51,66.46]]]]},{n:`Azerbaijan`,a2:`AZ`,a3:`AZE`,p:`AZ`,l:[47.21,40.4],g:[[[[46.4,41.86],[46.69,41.83],[47.37,41.22],[47.82,41.15],[47.99,41.41],[48.58,41.81],[49.11,41.28],[49.62,40.57],[50.08,40.53],[50.39,40.26],[49.57,40.18],[49.4,39.4],[49.22,39.05],[48.86,38.82],[48.88,38.32],[48.63,38.27],[48.01,38.79],[48.36,39.29],[48.06,39.58],[47.69,39.51],[46.51,38.77],[46.48,39.46],[46.03,39.63],[45.61,39.9],[45.89,40.22],[45.36,40.56],[45.56,40.81],[45.18,40.99],[44.97,41.25],[45.22,41.41],[45.96,41.12],[46.5,41.06],[46.64,41.18],[46.15,41.72],[46.4,41.86]]],[[[46.14,38.74],[45.46,38.87],[44.95,39.34],[44.79,39.71],[45,39.74],[45.3,39.47],[45.74,39.47],[45.74,39.32],[46.14,38.74]]]]},{n:`Georgia`,a2:`GE`,a3:`GEO`,p:`GE`,l:[43.74,41.87],g:[[[[39.96,43.43],[40.08,43.55],[40.92,43.38],[42.39,43.22],[43.76,42.74],[43.93,42.55],[44.54,42.71],[45.47,42.5],[45.78,42.09],[46.4,41.86],[46.15,41.72],[46.64,41.18],[46.5,41.06],[45.96,41.12],[45.22,41.41],[44.97,41.25],[43.58,41.09],[42.62,41.58],[41.55,41.54],[41.7,41.96],[41.45,42.65],[40.88,43.01],[40.32,43.13],[39.96,43.43]]]]},{n:`Philippines`,a2:`PH`,a3:`PHL`,p:`PH`,l:[122.47,11.2],g:[[[[120.83,12.7],[120.32,13.47],[121.18,13.43],[121.53,13.07],[121.26,12.21],[120.83,12.7]]],[[[122.59,9.98],[122.84,10.26],[122.95,10.88],[123.5,10.94],[123.34,10.27],[124.08,11.23],[123.98,10.28],[123.62,9.95],[123.31,9.32],[123,9.02],[122.38,9.71],[122.59,9.98]]],[[[126.38,8.41],[126.48,7.75],[126.54,7.19],[126.2,6.27],[125.83,7.29],[125.36,6.79],[125.68,6.05],[125.4,5.58],[124.22,6.16],[123.94,6.89],[124.24,7.36],[123.61,7.83],[123.3,7.42],[122.83,7.46],[122.09,6.9],[121.92,7.19],[122.31,8.03],[122.94,8.32],[123.49,8.69],[123.84,8.24],[124.6,8.51],[124.76,8.96],[125.47,8.99],[125.41,9.76],[126.22,9.29],[126.31,8.78],[126.38,8.41]]],[[[118.5,9.32],[117.17,8.37],[117.66,9.07],[118.39,9.68],[118.99,10.38],[119.51,11.37],[119.69,10.55],[119.03,10],[118.5,9.32]]],[[[122.34,18.22],[122.17,17.81],[122.52,17.09],[122.25,16.26],[121.66,15.93],[121.51,15.12],[121.73,14.33],[122.26,14.22],[122.7,14.34],[123.95,13.78],[123.86,13.24],[124.18,13],[124.08,12.54],[123.3,13.03],[122.93,13.55],[122.67,13.19],[122.03,13.78],[121.13,13.64],[120.63,13.86],[120.68,14.27],[120.99,14.53],[120.69,14.76],[120.56,14.4],[120.07,14.97],[119.92,15.41],[119.88,16.36],[120.29,16.03],[120.39,17.6],[120.72,18.51],[121.32,18.5],[121.94,18.22],[122.25,18.48],[122.34,18.22]]],[[[122.04,11.42],[121.88,11.89],[122.48,11.58],[123.12,11.58],[123.1,11.17],[122.64,10.74],[122,10.44],[121.97,10.91],[122.04,11.42]]],[[[125.5,12.16],[125.78,11.05],[125.01,11.31],[125.03,10.98],[125.28,10.36],[124.8,10.13],[124.76,10.84],[124.46,10.89],[124.3,11.5],[124.89,11.42],[124.88,11.79],[124.27,12.56],[125.23,12.54],[125.5,12.16]]]]},{n:`Malaysia`,a2:`MY`,a3:`MYS`,p:`MY`,l:[113.84,2.53],g:[[[[100.09,6.46],[100.26,6.64],[101.08,6.2],[101.15,5.69],[101.81,5.81],[102.14,6.22],[102.37,6.13],[102.96,5.52],[103.38,4.86],[103.44,4.18],[103.33,3.73],[103.43,3.38],[103.5,2.79],[103.85,2.52],[104.25,1.63],[104.23,1.29],[103.52,1.23],[102.57,1.97],[101.39,2.76],[101.27,3.27],[100.7,3.94],[100.56,4.77],[100.2,5.31],[100.31,6.04],[100.09,6.46]]],[[[117.88,4.14],[117.02,4.31],[115.87,4.31],[115.52,3.17],[115.13,2.82],[114.62,1.43],[113.81,1.22],[112.86,1.5],[112.38,1.41],[111.8,.9],[111.16,.98],[110.51,.77],[109.83,1.34],[109.66,2.01],[110.4,1.66],[111.17,1.85],[111.37,2.7],[111.8,2.89],[113,3.1],[113.71,3.89],[114.2,4.53],[114.66,4.01],[114.87,4.35],[115.35,4.32],[115.41,4.96],[115.45,5.45],[116.22,6.14],[116.73,6.92],[117.13,6.93],[117.64,6.42],[117.69,5.99],[118.35,5.71],[119.18,5.41],[119.11,5.02],[118.44,4.97],[118.62,4.48],[117.88,4.14]]]]},{n:`Brunei Darussalam`,a2:`BN`,a3:`BRN`,p:`BN`,l:[114.55,4.45],g:[[[[115.45,5.45],[115.41,4.96],[115.35,4.32],[114.87,4.35],[114.66,4.01],[114.2,4.53],[114.6,4.9],[115.45,5.45]]]]},{n:`Slovenia`,a2:`SI`,a3:`SVN`,p:`SLO`,l:[14.92,46.06],g:[[[[13.81,46.51],[14.63,46.43],[15.14,46.66],[16.01,46.68],[16.2,46.85],[16.37,46.84],[16.56,46.5],[15.77,46.24],[15.67,45.83],[15.32,45.73],[15.33,45.45],[14.94,45.47],[14.6,45.63],[14.41,45.47],[13.72,45.5],[13.94,45.59],[13.7,46.02],[13.81,46.51]]]]},{n:`Finland`,a2:`FI`,a3:`FIN`,p:`FIN`,l:[27.28,63.25],g:[[[[28.59,69.06],[28.45,68.36],[29.98,67.7],[29.05,66.94],[30.22,65.81],[29.54,64.95],[30.44,64.2],[30.04,63.55],[31.52,62.87],[31.14,62.36],[30.21,61.78],[28.07,60.5],[26.26,60.42],[24.5,60.06],[22.87,59.85],[22.29,60.39],[21.32,60.72],[21.54,61.71],[21.06,62.61],[21.54,63.19],[22.44,63.82],[24.73,64.9],[25.4,65.11],[25.29,65.53],[23.9,66.01],[23.57,66.4],[23.54,67.94],[21.98,68.62],[20.65,69.11],[21.24,69.37],[22.36,68.84],[23.66,68.89],[24.74,68.65],[25.69,69.09],[26.18,69.83],[27.73,70.16],[29.02,69.77],[28.59,69.06]]]]},{n:`Slovakia`,a2:`SK`,a3:`SVK`,p:`SK`,l:[19.05,48.73],g:[[[[22.56,49.09],[22.28,48.83],[22.09,48.42],[21.87,48.32],[20.8,48.62],[20.47,48.56],[20.24,48.33],[19.77,48.2],[19.66,48.27],[19.17,48.11],[18.78,48.08],[18.7,47.88],[17.86,47.76],[17.49,47.87],[16.98,48.12],[16.88,48.47],[16.96,48.6],[17.1,48.82],[17.55,48.8],[17.89,48.9],[17.91,49],[18.1,49.04],[18.17,49.27],[18.4,49.32],[18.55,49.5],[18.85,49.5],[18.91,49.44],[19.32,49.57],[19.83,49.22],[20.42,49.43],[20.89,49.33],[21.61,49.47],[22.56,49.09]]]]},{n:`Czech Republic`,a2:`CZ`,a3:`CZE`,p:`CZ`,l:[15.38,49.88],g:[[[[15.02,51.11],[15.49,50.78],[16.24,50.7],[16.18,50.42],[16.72,50.22],[16.87,50.47],[17.55,50.36],[17.65,50.05],[18.39,49.99],[18.85,49.5],[18.55,49.5],[18.4,49.32],[18.17,49.27],[18.1,49.04],[17.91,49],[17.89,48.9],[17.55,48.8],[17.1,48.82],[16.96,48.6],[16.5,48.79],[16.03,48.73],[15.25,49.04],[14.9,48.96],[14.34,48.56],[13.6,48.88],[13.03,49.31],[12.52,49.55],[12.42,49.97],[12.24,50.27],[12.97,50.48],[13.34,50.73],[14.06,50.93],[14.31,51.12],[14.57,51],[15.02,51.11]]]]},{n:`Eritrea`,a2:`ER`,a3:`ERI`,p:`ER`,l:[38.29,15.79],g:[[[[36.43,14.42],[36.32,14.82],[36.75,16.29],[36.85,16.96],[37.17,17.26],[37.9,17.43],[38.41,18],[38.99,16.84],[39.27,15.92],[39.81,15.44],[41.18,14.49],[41.73,13.92],[42.28,13.34],[42.59,13],[43.08,12.7],[42.78,12.46],[42.35,12.54],[42.01,12.87],[41.6,13.45],[41.16,13.77],[40.9,14.12],[40.03,14.52],[39.34,14.53],[39.1,14.74],[38.51,14.51],[37.91,14.96],[37.59,14.21],[36.43,14.42]]]]},{n:`Japan`,a2:`JP`,a3:`JPN`,p:`J`,l:[138.44,36.14],g:[[[[141.88,39.18],[140.96,38.17],[140.98,37.14],[140.6,36.34],[140.77,35.84],[140.25,35.14],[138.98,34.67],[137.22,34.61],[135.79,33.46],[135.12,33.85],[135.08,34.6],[133.34,34.38],[132.16,33.9],[130.99,33.89],[132,33.15],[131.33,31.45],[130.69,31.03],[130.2,31.42],[130.45,32.32],[129.81,32.61],[129.41,33.3],[130.35,33.6],[130.88,34.23],[131.88,34.75],[132.62,35.43],[134.61,35.73],[135.68,35.53],[136.72,37.3],[137.39,36.83],[138.86,37.83],[139.43,38.22],[140.05,39.44],[139.88,40.56],[140.31,41.2],[141.37,41.38],[141.91,39.99],[141.88,39.18]]],[[[144.61,43.96],[145.32,44.38],[145.54,43.26],[144.06,42.99],[143.18,42],[141.61,42.68],[141.07,41.58],[139.96,41.57],[139.82,42.56],[140.31,43.33],[141.38,43.39],[141.67,44.77],[141.97,45.55],[143.14,44.51],[143.91,44.17],[144.61,43.96]]],[[[132.37,33.46],[132.92,34.06],[133.49,33.94],[133.9,34.36],[134.64,34.15],[134.77,33.81],[134.2,33.2],[133.79,33.52],[133.28,33.29],[133.01,32.7],[132.36,32.99],[132.37,33.46]]]]},{n:`Paraguay`,a2:`PY`,a3:`PRY`,p:`PY`,l:[-60.15,-21.67],g:[[[[-58.17,-20.18],[-57.87,-20.73],[-57.94,-22.09],[-56.88,-22.28],[-56.47,-22.09],[-55.8,-22.36],[-55.61,-22.66],[-55.52,-23.57],[-55.4,-23.96],[-55.03,-24],[-54.65,-23.84],[-54.29,-24.02],[-54.29,-24.57],[-54.43,-25.16],[-54.63,-25.74],[-54.79,-26.62],[-55.7,-27.39],[-56.49,-27.55],[-57.61,-27.4],[-58.62,-27.12],[-57.63,-25.6],[-57.78,-25.16],[-58.81,-24.77],[-60.03,-24.03],[-60.85,-23.88],[-62.69,-22.25],[-62.29,-21.05],[-62.27,-20.51],[-61.79,-19.63],[-60.04,-19.34],[-59.12,-19.36],[-58.18,-19.87],[-58.17,-20.18]]]]},{n:`Yemen`,a2:`YE`,a3:`YEM`,p:`YE`,l:[45.87,15.33],g:[[[[52,19],[52.78,17.35],[53.11,16.65],[52.39,16.38],[52.19,15.94],[52.17,15.6],[51.17,15.18],[49.57,14.71],[48.68,14],[48.24,13.95],[47.94,14.01],[47.35,13.59],[46.72,13.4],[45.88,13.35],[45.63,13.29],[45.41,13.03],[45.14,12.95],[44.99,12.7],[44.49,12.72],[44.18,12.59],[43.48,12.64],[43.22,13.22],[43.25,13.77],[43.09,14.06],[42.89,14.8],[42.6,15.21],[42.81,15.26],[42.7,15.72],[42.82,15.91],[42.78,16.35],[43.22,16.67],[43.12,17.09],[43.38,17.58],[43.79,17.32],[44.06,17.41],[45.22,17.43],[45.4,17.33],[46.37,17.23],[46.75,17.28],[47,16.95],[47.47,17.12],[48.18,18.17],[49.12,18.62],[52,19]]]]},{n:`Saudi Arabia`,a2:`SA`,a3:`SAU`,p:`SA`,l:[44.7,23.81],g:[[[[34.96,29.36],[36.07,29.2],[36.5,29.51],[36.74,29.87],[37.5,30],[37.67,30.34],[38,30.51],[37,31.51],[39,32.01],[39.2,32.16],[40.4,31.89],[41.89,31.19],[44.71,29.18],[46.57,29.1],[47.46,29],[47.71,28.53],[48.42,28.55],[48.81,27.69],[49.3,27.46],[49.47,27.11],[50.15,26.69],[50.21,26.28],[50.11,25.94],[50.24,25.61],[50.53,25.33],[50.66,25],[50.81,24.75],[51.11,24.56],[51.39,24.63],[51.58,24.25],[51.62,24.01],[52,23],[55.01,22.5],[55.21,22.71],[55.67,22],[55,20],[52,19],[49.12,18.62],[48.18,18.17],[47.47,17.12],[47,16.95],[46.75,17.28],[46.37,17.23],[45.4,17.33],[45.22,17.43],[44.06,17.41],[43.79,17.32],[43.38,17.58],[43.12,17.09],[43.22,16.67],[42.78,16.35],[42.65,16.77],[42.35,17.08],[42.27,17.47],[41.75,17.83],[41.22,18.67],[40.94,19.49],[40.25,20.17],[39.8,20.34],[39.14,21.29],[39.02,21.99],[39.07,22.58],[38.49,23.69],[38.02,24.08],[37.48,24.29],[37.15,24.86],[37.21,25.08],[36.93,25.6],[36.64,25.83],[36.25,26.57],[35.64,27.38],[35.13,28.06],[34.63,28.06],[34.79,28.61],[34.83,28.96],[34.96,29.36]]]]},{n:`Antarctica`,a2:`AQ`,a3:`ATA`,p:`AQ`,l:[35.89,-79.84],g:[[[[-48.66,-78.05],[-48.15,-78.05],[-46.66,-77.83],[-45.15,-78.05],[-43.92,-78.48],[-43.49,-79.09],[-43.37,-79.52],[-43.33,-80.03],[-44.88,-80.34],[-46.51,-80.59],[-48.39,-80.83],[-50.48,-81.03],[-52.85,-80.97],[-54.16,-80.63],[-53.99,-80.22],[-51.85,-79.95],[-50.99,-79.61],[-50.36,-79.18],[-49.91,-78.81],[-49.31,-78.46],[-48.66,-78.05]]],[[[-66.29,-80.26],[-64.04,-80.29],[-61.88,-80.39],[-61.14,-79.98],[-60.61,-79.63],[-59.57,-80.04],[-59.87,-80.55],[-60.16,-81],[-62.26,-80.86],[-64.49,-80.92],[-65.74,-80.59],[-65.74,-80.55],[-66.29,-80.26]]],[[[-73.92,-71.27],[-73.23,-71.15],[-72.07,-71.19],[-71.78,-70.68],[-71.72,-70.31],[-71.74,-69.51],[-71.17,-69.04],[-70.25,-68.88],[-69.72,-69.25],[-69.49,-69.62],[-69.06,-70.07],[-68.73,-70.51],[-68.45,-70.96],[-68.33,-71.41],[-68.51,-71.8],[-68.78,-72.17],[-69.96,-72.31],[-71.08,-72.5],[-72.39,-72.48],[-71.9,-72.09],[-73.07,-72.23],[-74.19,-72.37],[-74.95,-72.07],[-75.01,-71.66],[-73.92,-71.27]]],[[[-102.33,-71.89],[-101.7,-71.72],[-100.43,-71.85],[-98.98,-71.93],[-97.88,-72.07],[-96.79,-71.95],[-96.2,-72.52],[-96.98,-72.44],[-98.2,-72.48],[-99.43,-72.44],[-100.78,-72.5],[-101.8,-72.31],[-102.33,-71.89]]],[[[-122.62,-73.66],[-122.41,-73.32],[-121.21,-73.5],[-119.92,-73.66],[-118.72,-73.48],[-119.29,-73.83],[-120.23,-74.09],[-121.62,-74.01],[-122.62,-73.66]]],[[[-127.28,-73.46],[-126.56,-73.25],[-125.56,-73.48],[-124.03,-73.87],[-124.62,-73.83],[-125.91,-73.74],[-127.28,-73.46]]],[[[-163.71,-78.6],[-163.11,-78.22],[-161.25,-78.38],[-160.25,-78.69],[-159.48,-79.05],[-159.21,-79.5],[-161.13,-79.63],[-162.44,-79.28],[-163.03,-78.93],[-163.07,-78.87],[-163.71,-78.6]]],[[[180,-84.71],[180,-90],[-180,-90],[-180,-84.71],[-179.94,-84.72],[-179.06,-84.14],[-177.26,-84.45],[-177.14,-84.42],[-176.08,-84.1],[-175.95,-84.11],[-175.83,-84.12],[-174.38,-84.53],[-173.12,-84.12],[-172.89,-84.06],[-169.95,-83.88],[-169,-84.12],[-168.53,-84.24],[-167.02,-84.57],[-164.18,-84.83],[-161.93,-85.14],[-158.07,-85.37],[-155.19,-85.1],[-150.94,-85.3],[-148.53,-85.61],[-145.89,-85.32],[-143.11,-85.04],[-142.89,-84.57],[-146.83,-84.53],[-150.06,-84.3],[-150.9,-83.9],[-153.59,-83.69],[-153.41,-83.24],[-153.04,-82.83],[-152.67,-82.45],[-152.86,-82.04],[-154.53,-81.77],[-155.29,-81.42],[-156.84,-81.1],[-154.41,-81.16],[-152.1,-81],[-150.65,-81.34],[-148.87,-81.04],[-147.22,-80.67],[-146.42,-80.34],[-146.77,-79.93],[-148.06,-79.65],[-149.53,-79.36],[-151.59,-79.3],[-153.39,-79.16],[-155.33,-79.06],[-155.98,-78.69],[-157.27,-78.38],[-158.05,-78.03],[-158.37,-76.89],[-157.88,-76.99],[-156.97,-77.3],[-155.33,-77.2],[-153.74,-77.07],[-152.92,-77.5],[-151.33,-77.4],[-150,-77.18],[-148.75,-76.91],[-147.61,-76.58],[-146.1,-76.48],[-146.14,-76.11],[-146.5,-75.73],[-146.2,-75.38],[-144.91,-75.2],[-144.32,-75.54],[-142.79,-75.34],[-141.64,-75.09],[-140.21,-75.07],[-138.86,-74.97],[-137.51,-74.73],[-136.43,-74.52],[-135.21,-74.3],[-134.43,-74.36],[-133.75,-74.44],[-132.26,-74.3],[-130.93,-74.48],[-129.55,-74.46],[-128.24,-74.32],[-126.89,-74.42],[-125.4,-74.52],[-124.01,-74.48],[-122.56,-74.5],[-121.07,-74.52],[-119.7,-74.48],[-118.68,-74.19],[-117.47,-74.03],[-116.22,-74.24],[-115.02,-74.07],[-113.94,-73.71],[-113.3,-74.03],[-112.95,-74.38],[-112.3,-74.71],[-111.26,-74.42],[-110.07,-74.79],[-108.71,-74.91],[-107.56,-75.18],[-106.15,-75.13],[-104.88,-74.95],[-103.37,-74.99],[-102.02,-75.13],[-100.65,-75.3],[-100.12,-74.87],[-100.76,-74.54],[-101.25,-74.19],[-102.55,-74.11],[-103.11,-73.73],[-103.33,-73.36],[-103.68,-72.62],[-102.92,-72.75],[-101.61,-72.81],[-100.31,-72.75],[-99.14,-72.91],[-98.12,-73.21],[-97.69,-73.56],[-96.34,-73.62],[-95.04,-73.48],[-93.67,-73.28],[-92.44,-73.17],[-91.42,-73.4],[-90.09,-73.32],[-89.23,-72.56],[-88.42,-73.01],[-87.27,-73.19],[-86.01,-73.09],[-85.19,-73.48],[-83.88,-73.52],[-82.67,-73.64],[-81.47,-73.85],[-80.69,-73.48],[-80.3,-73.13],[-79.3,-73.52],[-77.93,-73.42],[-76.91,-73.64],[-76.22,-73.97],[-74.89,-73.87],[-73.85,-73.66],[-72.83,-73.4],[-71.62,-73.26],[-70.21,-73.15],[-68.94,-73.01],[-67.96,-72.79],[-67.37,-72.48],[-67.13,-72.05],[-67.25,-71.64],[-67.56,-71.25],[-67.92,-70.85],[-68.23,-70.46],[-68.49,-70.11],[-68.54,-69.72],[-68.45,-69.33],[-67.98,-68.95],[-67.58,-68.54],[-67.43,-68.15],[-67.62,-67.72],[-67.74,-67.33],[-67.25,-66.88],[-66.7,-66.58],[-66.06,-66.21],[-65.37,-65.9],[-64.57,-65.6],[-64.18,-65.17],[-63.63,-64.9],[-63,-64.64],[-62.04,-64.58],[-61.41,-64.27],[-60.71,-64.07],[-59.89,-63.96],[-59.16,-63.7],[-58.59,-63.39],[-57.81,-63.27],[-57.22,-63.53],[-57.6,-63.86],[-58.61,-64.15],[-59.05,-64.37],[-59.79,-64.21],[-60.61,-64.31],[-61.3,-64.54],[-62.02,-64.8],[-62.51,-65.09],[-62.65,-65.48],[-62.59,-65.86],[-62.12,-66.19],[-62.81,-66.43],[-63.75,-66.5],[-64.29,-66.84],[-64.88,-67.15],[-65.51,-67.58],[-65.67,-67.95],[-65.31,-68.37],[-64.78,-68.68],[-63.96,-68.91],[-63.2,-69.23],[-62.79,-69.62],[-62.57,-69.99],[-62.28,-70.38],[-61.81,-70.72],[-61.51,-71.09],[-61.38,-72.01],[-61.08,-72.38],[-61,-72.77],[-60.69,-73.17],[-60.83,-73.7],[-61.38,-74.11],[-61.96,-74.44],[-63.3,-74.58],[-63.75,-74.93],[-64.35,-75.26],[-65.86,-75.64],[-67.19,-75.79],[-68.45,-76.01],[-69.8,-76.22],[-70.6,-76.63],[-72.21,-76.67],[-73.97,-76.63],[-75.56,-76.71],[-77.24,-76.71],[-76.93,-77.1],[-75.4,-77.28],[-74.28,-77.56],[-73.66,-77.91],[-74.77,-78.22],[-76.5,-78.12],[-77.93,-78.38],[-77.98,-78.79],[-78.02,-79.18],[-76.85,-79.51],[-76.63,-79.89],[-75.36,-80.26],[-73.24,-80.42],[-71.44,-80.69],[-70.01,-81],[-68.19,-81.32],[-65.7,-81.47],[-63.26,-81.75],[-61.55,-82.04],[-59.69,-82.38],[-58.71,-82.85],[-58.22,-83.22],[-57.01,-82.87],[-55.36,-82.57],[-53.62,-82.26],[-51.54,-82],[-49.76,-81.73],[-47.27,-81.71],[-44.83,-81.85],[-42.81,-82.08],[-42.16,-81.65],[-40.77,-81.36],[-38.24,-81.34],[-36.27,-81.12],[-34.39,-80.91],[-32.31,-80.77],[-30.1,-80.59],[-28.55,-80.34],[-29.25,-79.99],[-29.69,-79.63],[-29.69,-79.26],[-31.62,-79.3],[-33.68,-79.46],[-35.64,-79.46],[-35.91,-79.08],[-35.78,-78.34],[-35.33,-78.12],[-33.9,-77.89],[-32.21,-77.65],[-31,-77.36],[-29.78,-77.07],[-28.88,-76.67],[-27.51,-76.5],[-26.16,-76.36],[-25.47,-76.28],[-23.93,-76.24],[-22.46,-76.11],[-21.22,-75.91],[-20.01,-75.67],[-18.91,-75.44],[-17.52,-75.13],[-16.64,-74.79],[-15.7,-74.5],[-15.41,-74.11],[-16.47,-73.87],[-16.11,-73.46],[-15.45,-73.15],[-14.41,-72.95],[-13.31,-72.72],[-12.29,-72.4],[-11.51,-72.01],[-11.02,-71.54],[-10.3,-71.27],[-9.1,-71.32],[-8.61,-71.66],[-7.42,-71.7],[-7.38,-71.32],[-6.87,-70.93],[-5.79,-71.03],[-5.54,-71.4],[-4.34,-71.46],[-3.05,-71.29],[-1.8,-71.17],[-.66,-71.23],[-.23,-71.64],[.87,-71.3],[1.89,-71.13],[3.02,-70.99],[4.14,-70.85],[5.16,-70.62],[6.27,-70.46],[7.14,-70.25],[7.74,-69.89],[8.49,-70.15],[9.53,-70.01],[10.25,-70.48],[10.82,-70.83],[11.95,-70.64],[12.4,-70.25],[13.42,-69.97],[14.73,-70.03],[15.13,-70.4],[15.95,-70.03],[17.03,-69.91],[18.2,-69.87],[19.26,-69.89],[20.38,-70.01],[21.45,-70.07],[21.92,-70.4],[22.57,-70.7],[23.67,-70.52],[24.84,-70.48],[25.98,-70.48],[27.09,-70.46],[28.09,-70.32],[29.15,-70.21],[30.03,-69.93],[30.97,-69.76],[31.99,-69.66],[32.75,-69.38],[33.3,-68.84],[33.87,-68.5],[34.91,-68.66],[35.3,-69.01],[36.16,-69.25],[37.2,-69.17],[37.91,-69.52],[38.65,-69.78],[39.67,-69.54],[40.02,-69.11],[40.92,-68.93],[41.96,-68.6],[42.94,-68.46],[44.11,-68.27],[44.9,-68.05],[45.72,-67.82],[46.5,-67.6],[47.44,-67.72],[48.34,-67.37],[48.99,-67.09],[49.93,-67.11],[50.75,-66.88],[50.95,-66.52],[51.79,-66.25],[52.61,-66.05],[53.61,-65.9],[54.53,-65.82],[55.41,-65.88],[56.36,-65.97],[57.16,-66.25],[57.26,-66.68],[58.14,-67.01],[58.74,-67.29],[59.94,-67.41],[60.61,-67.68],[61.43,-67.95],[62.39,-68.01],[63.19,-67.82],[64.05,-67.41],[64.99,-67.62],[65.97,-67.74],[66.91,-67.86],[67.89,-67.93],[68.89,-67.93],[69.71,-68.97],[69.67,-69.23],[69.56,-69.68],[68.6,-69.93],[67.81,-70.31],[67.95,-70.7],[69.07,-70.68],[68.93,-71.07],[68.42,-71.44],[67.95,-71.85],[68.71,-72.17],[69.87,-72.26],[71.02,-72.09],[71.57,-71.7],[71.91,-71.32],[72.45,-71.01],[73.08,-70.72],[73.34,-70.36],[73.86,-69.87],[74.49,-69.78],[75.63,-69.74],[76.63,-69.62],[77.64,-69.46],[78.13,-69.07],[78.43,-68.7],[79.11,-68.33],[80.09,-68.07],[80.94,-67.88],[81.48,-67.54],[82.05,-67.37],[82.78,-67.21],[83.78,-67.31],[84.68,-67.21],[85.66,-67.09],[86.75,-67.15],[87.48,-66.88],[87.99,-66.21],[88.36,-66.48],[88.83,-66.95],[89.67,-67.15],[90.63,-67.23],[91.59,-67.11],[92.61,-67.19],[93.55,-67.21],[94.18,-67.11],[95.02,-67.17],[95.78,-67.39],[96.68,-67.25],[97.76,-67.25],[98.68,-67.11],[99.72,-67.25],[100.38,-66.92],[100.89,-66.58],[101.58,-66.31],[102.83,-65.56],[103.48,-65.7],[104.24,-65.97],[104.91,-66.33],[106.18,-66.93],[107.16,-66.95],[108.08,-66.95],[109.16,-66.84],[110.24,-66.7],[111.06,-66.43],[111.74,-66.13],[112.86,-66.09],[113.6,-65.88],[114.39,-66.07],[114.9,-66.39],[115.6,-66.7],[116.7,-66.66],[117.38,-66.92],[118.58,-67.17],[119.83,-67.27],[120.87,-67.19],[121.65,-66.88],[122.32,-66.56],[123.22,-66.48],[124.12,-66.62],[125.16,-66.72],[126.1,-66.56],[127,-66.56],[127.88,-66.66],[128.8,-66.76],[129.7,-66.58],[130.78,-66.43],[131.8,-66.39],[132.94,-66.39],[133.86,-66.29],[134.76,-66.21],[135.03,-65.72],[135.07,-65.31],[135.7,-65.58],[135.87,-66.03],[136.21,-66.45],[136.62,-66.78],[137.46,-66.95],[138.6,-66.9],[139.91,-66.88],[140.81,-66.82],[142.12,-66.82],[143.06,-66.8],[144.37,-66.84],[145.49,-66.92],[146.2,-67.23],[146,-67.6],[146.65,-67.9],[147.72,-68.13],[148.84,-68.39],[150.13,-68.56],[151.48,-68.72],[152.5,-68.87],[153.64,-68.89],[154.28,-68.56],[155.17,-68.84],[155.93,-69.15],[156.81,-69.38],[158.03,-69.48],[159.18,-69.6],[159.67,-69.99],[160.81,-70.23],[161.57,-70.58],[162.69,-70.74],[163.84,-70.72],[164.92,-70.78],[166.11,-70.76],[167.31,-70.83],[168.43,-70.97],[169.46,-71.21],[170.5,-71.4],[171.21,-71.7],[171.09,-72.09],[170.56,-72.44],[170.11,-72.89],[169.76,-73.24],[169.29,-73.66],[167.98,-73.81],[167.39,-74.17],[166.09,-74.38],[165.64,-74.77],[164.96,-75.15],[164.23,-75.46],[163.82,-75.87],[163.57,-76.24],[163.47,-76.69],[163.49,-77.07],[164.06,-77.46],[164.27,-77.83],[164.74,-78.18],[166.6,-78.32],[167,-78.75],[165.19,-78.91],[163.67,-79.12],[161.77,-79.16],[160.92,-79.73],[160.75,-80.2],[160.32,-80.57],[159.79,-80.95],[161.12,-81.28],[161.63,-81.69],[162.49,-82.06],[163.71,-82.4],[165.1,-82.71],[166.6,-83.02],[168.9,-83.34],[169.4,-83.83],[172.28,-84.04],[172.48,-84.12],[173.22,-84.41],[175.99,-84.16],[178.28,-84.47],[180,-84.71]]]]},{n:`Northern Cyprus`,a2:``,a3:`CYN`,p:`CN`,l:[33.69,35.22],g:[[[[32.73,35.14],[32.8,35.15],[32.95,35.39],[33.67,35.37],[34.58,35.67],[33.9,35.25],[33.97,35.06],[33.87,35.09],[33.68,35.02],[33.53,35.04],[33.48,35],[33.46,35.1],[33.38,35.16],[33.19,35.17],[32.92,35.09],[32.73,35.14]]]]},{n:`Cyprus`,a2:`CY`,a3:`CYP`,p:`CY`,l:[33.08,34.91],g:[[[[32.73,35.14],[32.92,35.09],[33.19,35.17],[33.38,35.16],[33.46,35.1],[33.48,35],[33.53,35.04],[33.68,35.02],[33.87,35.09],[33.97,35.06],[34,34.98],[32.98,34.57],[32.49,34.7],[32.26,35.1],[32.73,35.14]]]]},{n:`Morocco`,a2:`MA`,a3:`MAR`,p:`MA`,l:[-7.19,31.65],g:[[[[-2.17,35.17],[-1.79,34.53],[-1.73,33.92],[-1.39,32.86],[-1.12,32.65],[-1.31,32.26],[-2.62,32.09],[-3.07,31.72],[-3.65,31.64],[-3.69,30.9],[-4.86,30.5],[-5.24,30],[-6.06,29.73],[-7.06,29.58],[-8.67,28.84],[-8.67,27.66],[-8.82,27.66],[-8.79,27.12],[-9.41,27.09],[-9.74,26.86],[-10.19,26.86],[-10.55,26.99],[-11.39,26.88],[-11.72,26.1],[-12.03,26.03],[-12.5,24.77],[-13.89,23.69],[-14.22,22.31],[-14.63,21.86],[-14.75,21.5],[-17,21.42],[-17.02,21.42],[-16.97,21.89],[-16.59,22.16],[-16.26,22.68],[-16.33,23.02],[-15.98,23.72],[-15.43,24.36],[-15.09,24.52],[-14.82,25.1],[-14.8,25.64],[-14.44,26.25],[-13.77,26.62],[-13.14,27.64],[-13.12,27.65],[-12.62,28.04],[-11.69,28.15],[-10.9,28.83],[-10.4,29.1],[-9.56,29.93],[-9.81,31.18],[-9.43,32.04],[-9.3,32.56],[-8.66,33.24],[-7.65,33.7],[-6.91,34.11],[-6.24,35.15],[-5.93,35.76],[-5.19,35.76],[-4.59,35.33],[-3.64,35.4],[-2.6,35.18],[-2.17,35.17]]]]},{n:`Egypt`,a2:`EG`,a3:`EGY`,p:`EG`,l:[29.45,26.19],g:[[[[36.87,22],[32.9,22],[29.02,22],[25,22],[25,25.68],[25,29.24],[24.7,30.04],[24.96,30.66],[24.8,31.09],[25.16,31.57],[26.5,31.59],[27.46,31.32],[28.45,31.03],[28.91,30.87],[29.68,31.19],[30.1,31.47],[30.98,31.56],[31.69,31.43],[31.96,30.93],[32.19,31.26],[32.99,31.02],[33.77,30.97],[34.27,31.22],[34.82,29.76],[34.92,29.5],[34.64,29.1],[34.43,28.34],[34.15,27.82],[33.92,27.65],[33.59,27.97],[33.14,28.42],[32.42,29.85],[32.32,29.76],[32.73,28.71],[33.35,27.7],[34.1,26.14],[34.47,25.6],[34.8,25.03],[35.69,23.93],[35.49,23.75],[35.53,23.1],[36.69,22.2],[36.87,22]]]]},{n:`Libya`,a2:`LY`,a3:`LBY`,p:`LY`,l:[18.01,26.64],g:[[[[25,22],[25,20],[23.85,20],[23.84,19.58],[19.85,21.5],[15.86,23.41],[14.85,22.86],[14.14,22.49],[13.58,23.04],[12,23.47],[11.56,24.1],[10.77,24.56],[10.3,24.38],[9.95,24.94],[9.91,25.37],[9.32,26.09],[9.72,26.51],[9.63,27.14],[9.76,27.69],[9.68,28.14],[9.86,28.96],[9.81,29.42],[9.48,30.31],[9.97,30.54],[10.06,30.96],[9.95,31.38],[10.64,31.76],[10.94,32.08],[11.43,32.37],[11.49,33.14],[12.66,32.79],[13.08,32.88],[13.92,32.71],[15.25,32.27],[15.71,31.38],[16.61,31.18],[18.02,30.76],[19.09,30.27],[19.57,30.53],[20.05,30.99],[19.82,31.75],[20.13,32.24],[20.85,32.71],[21.54,32.84],[22.9,32.64],[23.24,32.19],[23.61,32.19],[23.93,32.02],[24.92,31.9],[25.16,31.57],[24.8,31.09],[24.96,30.66],[24.7,30.04],[25,29.24],[25,25.68],[25,22]]]]},{n:`Ethiopia`,a2:`ET`,a3:`ETH`,p:`ET`,l:[39.09,8.03],g:[[[[47.79,8],[44.96,5],[43.66,4.96],[42.77,4.25],[42.13,4.23],[41.86,3.92],[41.17,3.92],[40.77,4.26],[39.85,3.84],[39.56,3.42],[38.89,3.5],[38.67,3.62],[38.44,3.59],[38.12,3.6],[36.86,4.45],[36.16,4.45],[35.82,4.78],[35.82,5.34],[35.3,5.51],[34.71,6.59],[34.25,6.83],[34.08,7.23],[33.57,7.71],[32.95,7.78],[33.29,8.35],[33.83,8.38],[33.97,8.68],[33.96,9.58],[34.26,10.63],[34.73,10.91],[34.83,11.32],[35.26,12.08],[35.86,12.58],[36.27,13.56],[36.43,14.42],[37.59,14.21],[37.91,14.96],[38.51,14.51],[39.1,14.74],[39.34,14.53],[40.03,14.52],[40.9,14.12],[41.16,13.77],[41.6,13.45],[42.01,12.87],[42.35,12.54],[42,12.1],[41.66,11.63],[41.74,11.36],[41.76,11.05],[42.31,11.03],[42.55,11.11],[42.78,10.93],[42.56,10.57],[42.93,10.02],[43.3,9.54],[43.68,9.18],[46.95,8],[47.79,8]]]]},{n:`Djibouti`,a2:`DJ`,a3:`DJI`,p:`DJ`,l:[42.5,11.98],g:[[[[42.35,12.54],[42.78,12.46],[43.08,12.7],[43.32,12.39],[43.29,11.97],[42.72,11.74],[43.15,11.46],[42.78,10.93],[42.55,11.11],[42.31,11.03],[41.76,11.05],[41.74,11.36],[41.66,11.63],[42,12.1],[42.35,12.54]]]]},{n:`Somaliland`,a2:``,a3:`SOL`,p:`SL`,l:[46.73,9.44],g:[[[[48.95,11.41],[48.94,11.39],[48.94,10.98],[48.94,9.97],[48.94,9.45],[48.49,8.84],[47.79,8],[46.95,8],[43.68,9.18],[43.3,9.54],[42.93,10.02],[42.56,10.57],[42.78,10.93],[43.15,11.46],[43.47,11.28],[43.67,10.86],[44.12,10.45],[44.61,10.44],[45.56,10.7],[46.65,10.82],[47.53,11.13],[48.02,11.19],[48.38,11.38],[48.95,11.41]]]]},{n:`Uganda`,a2:`UG`,a3:`UGA`,p:`UG`,l:[32.95,1.97],g:[[[[33.9,-.95],[31.87,-1.03],[30.77,-1.01],[30.42,-1.13],[29.82,-1.44],[29.58,-1.34],[29.59,-.59],[29.82,-.21],[29.88,.6],[30.09,1.06],[30.47,1.58],[30.85,1.85],[31.17,2.2],[30.77,2.34],[30.83,3.51],[31.25,3.78],[31.88,3.56],[32.69,3.79],[33.39,3.79],[34.01,4.25],[34.48,3.56],[34.6,3.05],[35.04,1.91],[34.67,1.18],[34.18,.52],[33.89,.11],[33.9,-.95]]]]},{n:`Rwanda`,a2:`RW`,a3:`RWA`,p:`RW`,l:[30.1,-1.9],g:[[[[30.42,-1.13],[30.82,-1.7],[30.76,-2.29],[30.47,-2.41],[29.94,-2.35],[29.63,-2.92],[29.02,-2.84],[29.12,-2.29],[29.25,-2.22],[29.29,-1.62],[29.58,-1.34],[29.82,-1.44],[30.42,-1.13]]]]},{n:`Bosnia and Herzegovina`,a2:`BA`,a3:`BIH`,p:`BiH`,l:[18.07,44.09],g:[[[[18.56,42.65],[17.67,43.03],[17.3,43.45],[16.92,43.67],[16.46,44.04],[16.24,44.35],[15.75,44.82],[15.96,45.23],[16.32,45],[16.53,45.21],[17,45.23],[17.86,45.07],[18.55,45.08],[19.01,44.86],[19.37,44.86],[19.12,44.42],[19.6,44.04],[19.45,43.57],[19.22,43.52],[19.03,43.43],[18.71,43.2],[18.56,42.65]]]]},{n:`North Macedonia`,a2:`MK`,a3:`MKD`,p:`NM`,l:[21.56,41.56],g:[[[[22.38,42.32],[22.88,42],[22.95,41.34],[22.76,41.3],[22.6,41.13],[22.06,41.15],[21.67,40.93],[21.02,40.84],[20.61,41.09],[20.46,41.52],[20.59,41.86],[20.72,41.85],[20.76,42.05],[21.35,42.21],[21.58,42.25],[21.92,42.3],[22.38,42.32]]]]},{n:`Serbia`,a2:`RS`,a3:`SRB`,p:`RS`,l:[20.79,44.19],g:[[[[18.83,45.91],[19.6,46.17],[20.22,46.13],[20.76,45.73],[20.87,45.42],[21.48,45.18],[21.56,44.77],[22.15,44.48],[22.46,44.7],[22.71,44.58],[22.47,44.41],[22.66,44.23],[22.41,44.01],[22.5,43.64],[22.99,43.21],[22.6,42.9],[22.44,42.58],[22.55,42.46],[22.38,42.32],[21.92,42.3],[21.58,42.25],[21.54,42.32],[21.66,42.44],[21.78,42.68],[21.63,42.68],[21.44,42.86],[21.27,42.91],[21.14,43.07],[20.96,43.13],[20.81,43.27],[20.64,43.22],[20.5,42.88],[20.26,42.81],[20.34,42.9],[19.96,43.11],[19.63,43.21],[19.48,43.35],[19.22,43.52],[19.45,43.57],[19.6,44.04],[19.12,44.42],[19.37,44.86],[19.01,44.86],[19.39,45.24],[19.07,45.52],[18.83,45.91]]]]},{n:`Montenegro`,a2:`ME`,a3:`MNE`,p:`ME`,l:[19.14,42.8],g:[[[[20.07,42.59],[19.8,42.5],[19.74,42.69],[19.3,42.2],[19.37,41.88],[19.16,41.96],[18.88,42.28],[18.45,42.48],[18.56,42.65],[18.71,43.2],[19.03,43.43],[19.22,43.52],[19.48,43.35],[19.63,43.21],[19.96,43.11],[20.34,42.9],[20.26,42.81],[20.07,42.59]]]]},{n:`Kosovo`,a2:``,a3:`KOS`,p:`KO`,l:[20.86,42.59],g:[[[[20.59,41.86],[20.52,42.22],[20.28,42.32],[20.07,42.59],[20.26,42.81],[20.5,42.88],[20.64,43.22],[20.81,43.27],[20.96,43.13],[21.14,43.07],[21.27,42.91],[21.44,42.86],[21.63,42.68],[21.78,42.68],[21.66,42.44],[21.54,42.32],[21.58,42.25],[21.35,42.21],[20.76,42.05],[20.72,41.85],[20.59,41.86]]]]},{n:`Trinidad and Tobago`,a2:`TT`,a3:`TTO`,p:`TT`,l:[-60.92,11],g:[[[[-61.68,10.76],[-61.1,10.89],[-60.89,10.86],[-60.93,10.11],[-61.77,10],[-61.95,10.09],[-61.66,10.37],[-61.68,10.76]]]]},{n:`South Sudan`,a2:`SS`,a3:`SSD`,p:`SS`,l:[30.39,7.23],g:[[[[30.83,3.51],[29.95,4.17],[29.72,4.6],[29.16,4.39],[28.7,4.46],[28.43,4.29],[27.98,4.41],[27.37,5.23],[27.21,5.55],[26.47,5.95],[26.21,6.55],[25.8,6.98],[25.12,7.5],[25.11,7.83],[24.57,8.23],[23.89,8.62],[24.19,8.73],[24.54,8.92],[24.79,9.81],[25.07,10.27],[25.79,10.41],[25.96,10.14],[26.48,9.55],[26.75,9.47],[27.11,9.64],[27.83,9.6],[27.97,9.4],[28.97,9.4],[29,9.6],[29.52,9.79],[29.62,10.08],[30,10.29],[30.84,9.71],[31.35,9.81],[31.85,10.53],[32.4,11.08],[32.31,11.68],[32.07,11.97],[32.67,12.02],[32.74,12.25],[33.21,12.18],[33.09,11.44],[33.21,10.72],[33.72,10.33],[33.84,9.98],[33.82,9.48],[33.96,9.46],[33.97,8.68],[33.83,8.38],[33.29,8.35],[32.95,7.78],[33.57,7.71],[34.08,7.23],[34.25,6.83],[34.71,6.59],[35.3,5.51],[34.62,4.85],[34.01,4.25],[33.39,3.79],[32.69,3.79],[31.88,3.56],[31.25,3.78],[30.83,3.51]]]]}]})),gD=n({REGION_MAP_IMPLEMENTATION_MARKER:()=>FD,projectRegionMapPoint:()=>_D,regionMapColorScale:()=>kD,renderRegionMapChart:()=>PD,resolveRegionMapFeature:()=>yD});function _D(e,t){let n=t===`mercator`||t===`miller`||t===`albers`||t===`robinson`?t:`robinson`,r=RD(Math.max(-180,Math.min(180,e[0]))),i=Math.max(-89.999,Math.min(89.999,e[1])),a=RD(i);if(n===`mercator`){let e=RD(Math.max(-85,Math.min(85,i)));return{x:r,y:-Math.log(Math.tan(Math.PI/4+e/2))}}if(n===`miller`)return{x:r,y:-1.25*Math.log(Math.tan(Math.PI/4+.4*a))};if(n===`albers`){let e=RD(20),t=RD(50),n=.5*(Math.sin(e)+Math.sin(t)),i=Math.cos(e)**2+2*n*Math.sin(e),o=Math.sqrt(i)/n,s=Math.sqrt(Math.max(0,i-2*n*Math.sin(a)))/n,c=n*r;return{x:s*Math.sin(c),y:o-s*Math.cos(c)}}let o=Math.abs(i),s=Math.min(17,Math.floor(o/5)),c=Math.min(1,(o-s*5)/5),l=e=>e[s]+(e[s+1]-e[s])*c;return{x:.8487*r*l(ID),y:-1.3523*Math.sign(i)*l(LD)}}function vD(e){return e.normalize(`NFKD`).replace(/[\u0300-\u036f]/g,``).toLowerCase().replace(/[^a-z0-9]+/g,``)}function yD(e,t){let n=e=>BD.get(e)??VD.get(e)??HD.get(e)??UD.get(e),r=t?n(vD(t)):void 0;if(r)return r;let i=vD(e);return n(i)??(WD[i]?n(vD(WD[i])):void 0)}function bD(e,t){let n=(e??``).replace(/^#/,``).slice(0,6);return/^[0-9a-f]{6}$/i.test(n)?[0,2,4].map(e=>Number.parseInt(n.slice(e,e+2),16)):bD(t,`000000`)}function xD(e){return`#${e.map(e=>Math.round(Math.max(0,Math.min(255,e))).toString(16).padStart(2,`0`)).join(``).toUpperCase()}`}function SD(e,t,n){return xD(e.map((e,r)=>e+(t[r]-e)*Math.max(0,Math.min(1,n))))}function CD([e,t,n]){let r=e/255,i=t/255,a=n/255,o=Math.max(r,i,a),s=Math.min(r,i,a),c=(o+s)/2,l=o-s;if(l===0)return[0,0,c];let u=l/(1-Math.abs(2*c-1));return[((o===r?(i-a)/l%6:o===i?(a-r)/l+2:(r-i)/l+4)*60+360)%360,u,c]}function wD(e,t,n){let r=(1-Math.abs(2*n-1))*t,i=(e%360+360)%360/60,a=r*(1-Math.abs(i%2-1)),[o,s,c]=i<1?[r,a,0]:i<2?[a,r,0]:i<3?[0,r,a]:i<4?[0,a,r]:i<5?[a,0,r]:[r,0,a],l=n-r/2;return[o+l,s+l,c+l].map(e=>e*255)}function TD(e){let[t,n,r]=CD(bD(e,`4472C4`));return{min:xD(wD(t,n,r*.2+.8)),max:xD(wD(t,n,r*.75))}}function ED(e,t,n){let r=Math.max(0,Math.min(1,n)),i=e+(t-e)*r;if(Number.isFinite(i))return i;let a=Math.max(Math.abs(e),Math.abs(t));return!(a>0)||!Number.isFinite(a)?0:(e/a*(1-r)+t/a*r)*a}function DD(e,t,n){if(t===n)return .5;let r=(e-t)/(n-t);if(Number.isFinite(r))return r;let i=Math.max(Math.abs(e),Math.abs(t),Math.abs(n));return!(i>0)||!Number.isFinite(i)?.5:(e/i-t/i)/(n/i-t/i)}function OD(e,t,n,r){return!e||e.kind===`extremeValue`?t:e.kind===`percent`&&Number.isFinite(e.value)?ED(n,r,e.value/100):e.kind===`number`&&Number.isFinite(e.value)?e.value:t}function kD(e,t,n){let r=1/0,i=-1/0;for(let t of e)Number.isFinite(t)&&(r=Math.min(r,t),i=Math.max(i,t));(!Number.isFinite(r)||!Number.isFinite(i))&&(r=0,i=1);let a=TD(n),o=xD(bD(t?.minColor,a.min)),s=t?.stopCount===3&&t.midColor?xD(bD(t.midColor,`5B9BD5`)):void 0,c=xD(bD(t?.maxColor,a.max)),l=OD(t?.minPosition,r,r,i),u=OD(t?.maxPosition,i,r,i),d=OD(t?.midPosition,(l+u)/2,r,i),f=Math.min(l,u),p=Math.max(l,u);return{min:r,max:i,minColor:o,midColor:s,maxColor:c,color(e){return s?e<=d?SD(bD(o,o),bD(s,s),DD(e,f,d)):SD(bD(s,s),bD(c,c),DD(e,d,p)):SD(bD(o,o),bD(c,c),DD(e,f,p))}}}function AD(e){let t=new Map;for(let n=0;n<e.rows.length;n++){let r=e.rows[n];if(!Number.isFinite(r.value))continue;let i=yD(r.label,r.entityId);if(!i)continue;let a=t.get(i)??0,o=r.value,s=a+o,c=Number.isFinite(s)?s:a>0&&o>0?Number.MAX_VALUE:a<0&&o<0?-Number.MAX_VALUE:0;t.set(i,c)}return t}function jD(e,t,n,r,i){if(!t.title&&!t.titlePresent)return;let a=t.titleFontFace||t.themeMajorFontLatin||`sans-serif`;e.font=`${t.titleFontBold??!0?`bold `:``}${r}px ${JSON.stringify(a)}`,e.fillStyle=t.titleFontColor?`#${t.titleFontColor}`:`#333333`,e.textAlign=`center`,e.textBaseline=`top`,e.fillText(t.title??``,n.x+n.w/2,n.y+i)}function MD(e,t,n,r,i,a,o,s){let c=t.series[0]?.name??``,l=Math.max(8,(t.legendFontSizeHpt??900)/100*s);e.font=`${t.legendFontBold?`bold `:``}${l}px ${JSON.stringify(t.legendFontFace||t.themeMinorFontLatin||`sans-serif`)}`,e.fillStyle=t.legendFontColor?`#${t.legendFontColor}`:`#595959`,e.textAlign=`center`,e.textBaseline=`top`,c&&e.fillText(c,r+a/2,i);let u=Math.min(a*.58,240),d=Math.max(6,Math.min(12,o*.25)),f=r+(a-u)/2,p=i+(c?l+2:0),m=e.createLinearGradient(f,0,f+u,0);m.addColorStop(0,n.minColor),n.midColor&&m.addColorStop(.5,n.midColor),m.addColorStop(1,n.maxColor),e.fillStyle=m,e.fillRect(f,p,u,d),e.fillStyle=t.legendFontColor?`#${t.legendFontColor}`:`#595959`,e.textBaseline=`top`,e.textAlign=`left`;let h=t.series[0]?.valFormatCode??null;e.fillText(Za(n.min,h,t.date1904),f,p+d+2),e.textAlign=`right`,e.fillText(Za(n.max,h,t.date1904),f+u,p+d+2)}function ND(e,t,n,r){e.fillStyle=`#666666`,e.font=`${Math.max(9,9*n)}px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(r,t.x+t.w/2,t.y+t.h/2)}function PD(e,t,n,r,i=0){if(t.chartType!==`regionMap`||!t.chartexRegionMap)return!1;let a=t.chartexRegionMap;if(a.rows.length>zD)return ND(e,n,r,`(chart values exceed rendering limit)`),!0;if(a.geography?.cachePresent)return ND(e,n,r,`(region map cache is unavailable offline)`),!0;let o=a.geography?.viewedRegionType;if(o!=null&&o!==`world`)return ND(e,n,r,`(region map detail is unavailable offline)`),!0;let s=AD(a),c=kD([...s.values()],a.colors,t.chartexAccents?.[0]),l=Ht(t,n.h,r,.02,.015);jD(e,t,n,l.fontPx,l.topPad);let u=t.showLegend?Math.max(32,n.h*.16):0,d=t.showLegend?{x:n.x,y:n.y+l.bandH,w:n.w,h:u}:null,f=d&&t.legendManualLayout?tn(t.legendManualLayout,n,d)??d:d,p=t.legendOverlay===!0?0:u,m=n.w*.03,h=n.h*.035,g={x:n.x+m,y:n.y+l.bandH+p,w:Math.max(1,n.w-m*2),h:Math.max(1,n.h-l.bandH-p-h)},_=t.plotAreaManualLayout?tn(t.plotAreaManualLayout,n,g)??g:g;il(e,t,_.x,_.y,_.w,_.h,r,i),f&&(os(e,t,f,r,i),MD(e,t,c,f.x,f.y,f.w,f.h,r));let v=a.geography?.projectionType,y=1/0,b=1/0,x=-1/0,S=-1/0;for(let e of mD)for(let t of e.g)for(let e of t)for(let t of e){let e=_D(t,v);y=Math.min(y,e.x),x=Math.max(x,e.x),b=Math.min(b,e.y),S=Math.max(S,e.y)}let C=Math.min(_.w/Math.max(Number.MIN_VALUE,x-y),_.h/Math.max(Number.MIN_VALUE,S-b)),w=_.x+(_.w-(x-y)*C)/2-y*C,T=_.y+(_.h-(S-b)*C)/2-b*C,E=e=>{let t=_D(e,v);return{x:w+t.x*C,y:T+t.y*C}},D=new Map;e.lineWidth=Math.max(.35,.55*r),e.strokeStyle=`#FFFFFF`;for(let t of mD){e.beginPath();let n={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};for(let r of t.g)for(let t of r){let r;for(let i=0;i<t.length;i++){let a=t[i],o=E(a);n.minX=Math.min(n.minX,o.x),n.maxX=Math.max(n.maxX,o.x),n.minY=Math.min(n.minY,o.y),n.maxY=Math.max(n.maxY,o.y),i===0||r&&Math.abs(a[0]-r[0])>180?e.moveTo(o.x,o.y):e.lineTo(o.x,o.y),r=a}e.closePath()}e.fillStyle=s.has(t)?c.color(s.get(t)):`#E0E0E0`,e.fill(`evenodd`),e.stroke(),D.set(t,n)}if(a.regionLabelLayout&&a.regionLabelLayout!==`none`){e.font=`${Math.max(7,(t.dataLabelFontSizeHpt??800)/100*r)}px ${JSON.stringify(t.dataLabelFontFace||t.themeMinorFontLatin||`sans-serif`)}`,e.fillStyle=t.dataLabelFontColor?`#${t.dataLabelFontColor}`:`#404040`,e.textAlign=`center`,e.textBaseline=`middle`;for(let t of a.rows){let n=yD(t.label,t.entityId),r=n?D.get(n):void 0;if(!n||!r||!t.label)continue;let i=E(n.l),o=e.measureText(t.label).width<=Math.max(0,r.maxX-r.minX-4);(a.regionLabelLayout===`showAll`||o)&&e.fillText(t.label,i.x,i.y)}}return a.geography?.attribution&&(e.font=`${Math.max(7,7*r)}px sans-serif`,e.fillStyle=`#777777`,e.textAlign=`right`,e.textBaseline=`bottom`,e.fillText(a.geography.attribution,n.x+n.w-4,n.y+n.h-2)),!0}var FD,ID,LD,RD,zD,BD,VD,HD,UD,WD,GD=t((()=>{dn(),ss(),al(),ao(),hD(),FD=`ooxml-region-map-natural-earth-v1`,ID=[1,.9986,.9954,.99,.9822,.973,.96,.9427,.9216,.8962,.8679,.835,.7986,.7597,.7186,.6732,.6213,.5722,.5322],LD=[0,.062,.124,.186,.248,.31,.372,.434,.4958,.5571,.6176,.6769,.7346,.7903,.8435,.8936,.9394,.9761,1],RD=e=>e*Math.PI/180,zD=1e4,BD=new Map,VD=new Map,HD=new Map,UD=new Map;for(let e of mD)if(BD.set(vD(e.n),e),e.a2&&VD.set(vD(e.a2),e),e.a3&&HD.set(vD(e.a3),e),e.p){let t=vD(e.p);UD.has(t)||UD.set(t,e)}WD={unitedstatesofamerica:`United States`,usa:`United States`,uk:`United Kingdom`,russia:`Russian Federation`,southkorea:`Republic of Korea`,northkorea:`Dem. Rep. Korea`,czechia:`Czech Republic`,ivorycoast:`Côte d'Ivoire`,drcongo:`Democratic Republic of the Congo`,congodemocraticrepublic:`Democratic Republic of the Congo`}}));function KD(e){return e!=null&&Number.isFinite(e)?e:null}function qD(e){return Object.is(e,-0)?`0`:String(Number.isInteger(e)?e:Number(e.toPrecision(6)))}function JD(e,t){if(e.length>1048576)return{kind:`tooManyInputPoints`};let n=t.intervalClosed===`r`?`r`:`l`,r=KD(t.underflow),i=KD(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=KD(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`?`≤`:`<`} ${qD(r)}`),p.push(u)),l>0){let u=r??s,d=i??c,m=d-u;if(!Number.isFinite(m))f.push(`${qD(u)} – ${qD(d)}`),p.push(l);else{let s=KD(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=KD(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} ${qD(t)} – ${c} ${qD(o)}`),p.push(_[e])}}}return i!=null&&(f.push(`${n===`r`?`>`:`≥`} ${qD(i)}`),p.push(d)),{kind:`bins`,categories:f,counts:p}}var YD=t((()=>{}));function XD(e,t){return e==null?e:e.flatMap(e=>{let n=t.get(e.idx);return n==null?[]:[{...e,idx:n}]})}function ZD(e,t){return e==null?e:t.map(t=>e[t]??null)}function QD(e,t,n={}){let r=e.values.map((e,t)=>({value:e,sourceIndex:t})).filter(e=>e.value!=null&&Number.isFinite(e.value)&&e.value>=0);n.sortDescending!==!1&&r.sort((e,t)=>t.value-e.value||e.sourceIndex-t.sourceIndex);let i=r[0]?.value??0,a=i>0?r.reduce((e,t)=>e+t.value/i,0):0,o=0,s=r.map(n=>(i>0&&(o+=n.value/i),{sourceIndex:n.sourceIndex,category:e.categories?.[n.sourceIndex]??t[n.sourceIndex]??String(n.sourceIndex+1),value:n.value,cumulativeFraction:a>0?o>=a?1:o/a:0})),c=s.map(e=>e.sourceIndex),l=new Map(c.map((e,t)=>[e,t])),u=s.map(e=>e.category),d={...e,categories:u,catFormatCodes:ZD(e.catFormatCodes,c),dataPointColors:ZD(e.dataPointColors,c),dataLabelColors:ZD(e.dataLabelColors,c),dataPointOverrides:XD(e.dataPointOverrides,l),dataLabelOverrides:XD(e.dataLabelOverrides,l)};return{points:s,categories:u,orderedSeries:{...d,values:s.map(e=>e.value)},series:{...d,values:s.map(e=>e.cumulativeFraction)}}}var $D=t((()=>{})),eO=n({chartExDataMarkPaintWorkCount:()=>aO,chartExHierarchyLabelPaintWorkCount:()=>iO,renderChartExChart:()=>gO});function tO(e){return!e||e.fillNoStyle===!0?!1:e.fillPaintAuthored===!0||e.fillHidden===!0||e.fillColors?.some(e=>e!=null)===!0||e.fillPaints?.some(e=>e!=null)===!0}function nO(e,t,n,r){return t?.fillHidden===!0||t?.color!=null||tO(t?.chartexStyle)?Rf(e,r,3,t?.fillHidden===!0?{...t.chartexStyle,fillHidden:!0,fillPaintAuthored:!0}:t?.chartexStyle,t?.color):n?.chartexStyle?.fillPaintAuthored===!0?Rf(e,r,3,n.chartexStyle,n.color):Rf(e,r,3,n?.chartexStyle,n?.color)}function rO(e){let t=e?.chartexStyle;return e?.lineHidden!=null||e?.lineColor!=null||e?.lineWidthEmu!=null||e?.lineDash!=null||t?.linePaintAuthored===!0||t?.lineHidden!=null||t?.lineColors?.some(e=>e!=null)===!0||t?.linePaints?.some(e=>e!=null)===!0||t?.lineWidthEmu!=null||t?.lineDash!=null||t?.lineCustomDash!=null||t?.lineCap!=null||t?.lineJoin!=null}function iO(e,t,n,r=1){let i=0,a=Math.max(1,n?.w??32*r),o=Math.max(1,n?.h??16*r),s=So(e,({label:n,linkedStyleIndex:s})=>{let c=n.labelBox,l=mo(c),u=l?e.chartStyleRoles?.dataLabelCallout??e.chartStyleRoles?.dataLabel:e.chartStyleRoles?.dataLabel,d=l?Z(e,`dataLabelCallout`)??Z(e,`dataLabel`):Z(e,`dataLabel`),f=po(c,u,d,u!=null,0,s)?.fillPaint,p=gt(c?.style,d,0),m=c?.borderHidden===!0?vt(d):void 0,h=c?.borderColor!=null||c?.borderFill!=null||p!==void 0||m!==void 0||c?.borderPaintAuthored===!0&&c?.borderHidden!==!0,g=p===void 0?m===void 0?c?.borderFill??(c?.borderColor?{fillType:`solid`,color:c.borderColor}:h?null:pt(u,s)):m:p;for(let e of[f,g]){if(!e)continue;let n=e.fillType===`image`?Ms(e,t,a,o,r)??1048577:ir(e);if(e.fillType===`gradient`&&n>4096||n>1048576-i){i=Lo+1;return}i+=n}});return s===`not-hierarchy`?null:s===`too-large`?Lo+1:i}function aO(e,t,n=1){if(![`waterfall`,`funnel`,`boxWhisker`,`sunburst`,`treemap`].includes(e.chartType))return null;let r=0,i=e=>{if(!e||r>1048576)return;let i=e.fillType===`image`?Ms(e,void 0,Math.max(1,t.w),Math.max(1,t.h),n):ir(e);e.fillType===`gradient`&&i>4096||i>1048576-r?r=Lo+1:r+=i},a=(t,n,r,a)=>{let o=Hf(e,t,n,r,a,`#000000`,{linkedNoStyleFallback:!0});o.visible&&i(o.paint??{fillType:`solid`,color:`000000`})};if(e.chartType===`waterfall`){let t=e.series[0],n=t?.values??[],r=Tl(t?.dataPointOverrides),o=wo(n,e.categories.length,e.subtotalIndices);if(o.cumulativeOverflow||o.rawMax<=o.rawMin)return 0;for(let n=0;n<o.bars.length;n++){let s=o.bars[n];if(!s.paintSlot)continue;let c=s.semanticIndex,l=r.get(n);i(nO(e,l,t,c)),a(e.chartexDataPointStyle,rO(l)?l:t,c,3)}}else if(e.chartType===`funnel`){let t=e.series[0],n=t?.values??[],r=Math.max(n.length,e.categories.length);if(n.some(e=>e!=null&&e>0)){let o=Rf(e,0,1,t?.chartexStyle,t?.color);for(let s=0;s<r;s++)(n[s]??0)>0&&(i(o),a(e.chartexDataPointStyle,t,0,1))}}else if(e.chartType===`boxWhisker`){let t=e.chartexBox,n=t?.series.length??0;for(let r=0;r<n;r++){let o=t.series[r],s=o.chartexFormatIdx??r,c=Rf(e,s,n,o.chartexStyle,o.color);for(let t of o.valuesByCategory)Xi(t,o.quartileMethod)&&(i(c),a(e.chartexDataPointStyle,o,s,n))}}else{let t=e.series[0],n=1;if(xo(e,({node:e})=>{n=Math.max(n,e.branchIndex+1)}),xo(e,({node:r,paintsBody:o})=>{o&&(i(Rf(e,r.branchIndex,n,t?.chartexStyle,t?.color)),a(e.chartexDataPointStyle,t,r.branchIndex,n))})===`too-large`)return Lo+1}return r}function oO(e,t,n,r,i=0){let a=t.series[0];if(!a)return;let o=JD(a.values,t.chartexHistogramBinning??{});if(o.kind===`tooManyInputPoints`){Qf(e,n,Fo+1);return}ld(e,{...t,chartType:`clusteredBar`,categories:o.categories,series:[{...a,categories:void 0,values:o.counts}]},n,r,{gapPolicy:`chartex`},i)}function sO(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||Qf(e,n,d))return;let{bars:f,rawMax:p,rawMin:m,cumulativeOverflow:h}=wo(l,u.length,t.subtotalIndices);if(h){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(p<=m)return;let g=t.subtotalIndices.length===0&&f.every((e,t)=>!e.hasValue||l[t]>=0),_=!t.valAxisHidden&&t.valAxisTickLabelPos!==`none`&&!g,v=td(e,t,s,c,r),y=Yt(t,s,c,r),b=Bu(t.valAxisFontSizeHpt,c,r),x=Bu(t.catAxisFontSizeHpt,c,r),S=Ml(t,t.valAxisFontFace,`minor`),C=Ml(t,t.catAxisFontFace,`minor`),w=Nu(t,m,p,c/r);e.save();let T=0;if(_){e.font=Nl(b,S,t.valAxisFontBold??!1,t.valAxisFontItalic??!1);let n=0;for(let r of w.majorLines)n=Math.max(n,e.measureText(Ou(t,r,!1)).width);T=n+8}let E=Math.max(1,s-y.valBandW-T-s*.02)/d;e.font=Nl(x,C,t.catAxisFontBold??!1,t.catAxisFontItalic??!1);let D=u.slice(0,d).map(n=>Vu(e,Qa(n,t.catAxisFormatCode,t.date1904),Math.max(1,E-8))),O=0;for(let e of D)e.some(Boolean)&&(O=Math.max(O,e.length));let k=t.catAxisHidden||O===0?0:O*(x+2)+4,A=t.series[0],j=Tl(A?.dataLabelOverrides),M=Tl(A?.dataPointOverrides),N=A?.chartexStyle,P=`#${A?.color??Pf(t,0,3,N)}`,F=`#${Pf(t,1,3,N)}`,I=`#${Pf(t,2,3,N)}`,L=Rf(t,0,3,N,A?.color),R=Rf(t,1,3,N),z=Rf(t,2,3,N),B={...t,chartType:`clusteredBar`,series:[Gf(t,`Increase`,A,t.chartexDataPointStyle,0,3,P),Gf(t,`Decrease`,A,t.chartexDataPointStyle,1,3,F),Gf(t,`Total`,A,t.chartexDataPointStyle,2,3,I)]},V=ou(e,B,s,c,.22,r),{legRightW:H,legLeftW:ee,legTopH:U,legBottomH:W}=Wt(V,t.legendOverlay===!0),te=nn(t,a,o,s,c,r,{titleBand:v,legendSideReserveFrac:0,legendReserve:V,pad:{t:v.bandH+U+b/2+2,r:H+s*.02,b:W+y.catBandH+k,l:ee+y.valBandW+(t.valAxisHidden?s*.02:Math.max(s*.03,T))},honorPlotAreaManualLayout:!0});rd(e,t,a,o,s,c,o+te.title.topPad,te.title.fontPx);let{px0:G,py0:ne,pw:re,ph:ie}=te.plotRect;il(e,t,G,ne,re,ie,r,i);let ae=Nu(t,m,p,ie/r),oe=e=>ne+ie-ae.frac(e)*ie,se=Zo(t.valAxisLineColor,t.valAxisLineWidthEmu,r),ce=Zo(t.catAxisLineColor,t.catAxisLineWidthEmu,r),le=gu(t,r);if(!t.valAxisHidden){e.font=Nl(b,S,t.valAxisFontBold??!1,t.valAxisFontItalic??!1),e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#595959`,e.textAlign=`right`,e.textBaseline=`middle`;let n=_u(t,r);for(let t of ae.minorLines)hu(e,G,re,oe(t),!1,n);for(let n of ae.majorLines){let i=oe(n);if(Eu(t)){e.strokeStyle=le.color,e.lineWidth=le.width;let t=le.dash.length>0&&e.getLineDash?e.getLineDash():[];le.dash.length>0&&e.setLineDash(le.dash),e.beginPath(),e.moveTo(G,i),e.lineTo(G+re,i),e.stroke(),le.dash.length>0&&e.setLineDash(t)}_&&e.fillText(Ou(t,n,!1),G-4,i),du(e,t.valAxisMajorTickMark,`val`,G,i,se.color,se.width,!1,t.valAxisLineHidden,`major`,r,t.valAxisLineDash)}for(let n of ae.minorTicks)du(e,t.valAxisMinorTickMark,`val`,G,oe(n),se.color,se.width,!1,t.valAxisLineHidden,`minor`,r,t.valAxisLineDash)}let ue=!t.valAxisHidden&&!t.valAxisLineHidden,de=!t.catAxisHidden&&!t.catAxisLineHidden;ue&&fu(e,G,ne,G,ne+ie,se.color,se.width,t.valAxisLineDash),de&&fu(e,G,ne+ie,G+re,ne+ie,ce.color,ce.width,t.catAxisLineDash);let fe=re/d,pe=fe/(1+Lt(t.barGapWidth,`chartex`)/100);f.forEach((n,p)=>{let m=G+fe*p+(fe-pe)/2,h=Math.min(oe(n.start),oe(n.end)),g=Math.max(oe(n.start),oe(n.end)),_=Math.max(1,g-h),v=n.semanticIndex,y=M.get(p),b=nO(t,y,A,v),x=y?.color?`#${y.color}`:n.isSub?I:n.isPos?P:F,S=jf(t,t.chartexDataPointStyle,`line`,v,3),C=rO(y)?y:A;if(n.paintSlot&&Aa(e,va(y?.chartexStyle,A?.chartexStyle),t.chartexDataPointStyle,v,{x:m,y:h,w:pe,h:_},r,e=>{b&&Vf(e,b,{x:m,y:h,w:pe,h:_},x,r,i),Wf(e,t,t.chartexDataPointStyle,C,v,3,S?`#${S}`:x,r)&&e.strokeRect(m,h,pe,_)}),n.paintSlot&&f[p+1]?.paintSlot&&p<d-1&&t.chartexConnectorLines!==!1){let i=G+fe*(p+1)+(fe-pe)/2,a=n.isPos?h:g;e.save();let o=Hf(t,t.chartexSeriesLineStyle,A,v,3,`#000000`,{linkedNoStyleFallback:!0});Uf(e,o,r)&&(o.widthEmu??(e.lineWidth=.75*r),e.beginPath(),e.moveTo(m+pe,a),e.lineTo(i,a),e.stroke()),e.restore()}let w=n.hasValue?l[p]:0,T=yo(t,A,p,u[p]??``,w,{visible:t.showDataLabels,showVal:!0,showCatName:!1},j,!n.hasValue);if(T){let n=A?.dataLabelColors?.[p]??T.fontColor??null,l=n?`#${n}`:t.dataLabelFontColor?`#${t.dataLabelFontColor}`:`#595959`,u=Bt(T.fontSizeHpt,r)??Bu(t.dataLabelFontSizeHpt,c,r),d=T.fontBold??t.dataLabelFontBold??!1,f=Ml(t,T.fontFace??t.dataLabelFontFace,`minor`);e.font=`${T.textStyle.fontItalic?`italic `:``}${d?`bold `:``}${u}px ${f}`,xf(e,T.text,{kind:`bar`,rect:{x:m,y:h,w:pe,h:_},orientation:`vertical`,negative:w<0,position:T.position??`outEnd`},{x:G,y:ne,w:re,h:ie},u,l,T.manualLayout,{x:a,y:o,w:s,h:c},bf(t,T.richRuns,r,f,d,T.textStyle),void 0,T.textStyle,r,T.labelBox,i)}}),e.textAlign=`center`,e.textBaseline=`top`,e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#595959`,e.font=Nl(x,C,t.catAxisFontBold??!1,t.catAxisFontItalic??!1);let me=ne+ie+4;for(let n=0;n<d&&!t.catAxisHidden;n++){let t=G+fe*n+fe/2;(D[n]??[]).forEach((n,r)=>n&&e.fillText(n,t,me+r*(x+2)))}Ll(e,t,a,o,s,c,G,ne,re,ie,ee,W,y.catFontPx,y.valFontPx),lu(e,B,V,a,o,s,c,G,ne,re,ie,v.bandH+2,r,[L,R,z],i),e.restore()}function cO(e,t,n,r,i){let a=t.series[0]?.values??[],o=Math.max(a.length,t.categories.length);if(o===0||Qf(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=td(e,t,u,d,r),p=t.series[0],m=Tl(p?.dataLabelOverrides),h=`#${p?.color??Pf(t,0,1,p?.chartexStyle)}`,g=Rf(t,0,1,p?.chartexStyle,p?.color),_={...t,series:[Gf(t,p?.name??``,p,t.chartexDataPointStyle,0,1,h)]},v=ou(e,_,u,d,.22,r),{legRightW:y,legLeftW:b,legTopH:x,legBottomH:S}=Wt(v,t.legendOverlay===!0),C=Bu(t.catAxisFontSizeHpt,d,r);e.save(),e.font=Nl(C,Ml(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=nn(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},honorPlotAreaManualLayout:!0});rd(e,t,c,l,u,d,l+T.title.topPad,T.title.fontPx);let{px0:E,py0:D,pw:O,ph:k}=T.plotRect;il(e,t,E,D,O,k,r,i);let A=k/o,j=A/(1+Lt(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,y=e=>{g&&f>0?Vf(e,g,{x:_,y:v,w:f,h:j},h,r,i):g&&(e.fillStyle=zf(e,g,_,v,f,j,h,i),e.fillRect(_,v,f,j)),Wf(e,t,t.chartexDataPointStyle,p,0,1,h,r)&&e.strokeRect(_,v,f,j)};f>0?Aa(e,p?.chartexStyle,t.chartexDataPointStyle,0,{x:_,y:v,w:f,h:j},r,y):y(e);let b=t.categories[n];!t.catAxisHidden&&b!=null&&(e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#595959`,e.textAlign=`right`,e.textBaseline=`middle`,e.fillText(b,E-6,v+j/2));let x=yo(t,p,n,b??``,o,{visible:!1,showVal:!1,showCatName:!1},m);if(x){let n=Bt(x.fontSizeHpt,r)??Bu(t.dataLabelFontSizeHpt,d,r),a=Ml(t,x.fontFace??t.dataLabelFontFace,`minor`);e.font=`${x.textStyle.fontItalic?`italic `:``}${x.fontBold?`bold `:``}${n}px ${a}`,xf(e,x.text,{kind:`bar`,rect:{x:_,y:v,w:f,h:j},orientation:`horizontal`,negative:!1,position:x.position??`ctr`},{x:E,y:D,w:O,h:k},n,x.fontColor?`#${x.fontColor}`:`#ffffff`,x.manualLayout,{x:c,y:l,w:u,h:d},bf(t,x.richRuns,r,a,x.fontBold??!1,x.textStyle),void 0,x.textStyle,r,x.labelBox,i)}}if(!t.catAxisHidden&&!t.catAxisLineHidden){let n=Zo(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()}lu(e,_,v,c,l,u,d,E,D,O,k,f.bandH+2,r,[g],i),e.restore()}function lO(e,t,n,r,i=0){let a=t.series[0];if(!a||Qf(e,n,Math.max(t.categories.length,a.categories?.length??0,a.values.length)))return;let o=QD(a,t.categories,{sortDescending:!1});if(o.points.length===0)return;let s=Af(a,0),c=Hf(t,t.chartexDataPointLineStyle,a,s,1,wl(0,a),{linkedNoStyleFallback:!0});Hd(e,{...t,chartType:`line`,categories:o.categories,series:[{...o.series,showMarker:!1,lineHidden:!c.visible,lineColor:c.color.replace(/^#/,``),lineWidthEmu:c.widthEmu,chartexStyle:{lineDash:c.dash,lineCap:c.cap,lineJoin:c.join}}],catAxisHidden:!1,catAxisTickLabelPos:`none`,showLegend:!1,valMin:t.valMin??0,valMax:t.valMax??1.2,valAxisMajorUnit:t.valAxisMajorUnit??.2},n,r,i)}function uO(e,t,n,r,i=0){let a=t.series[0];if(!a||Qf(e,n,Math.max(t.categories.length,a.categories?.length??0,a.values.length)))return;let o=QD(a,t.categories);if(o.points.length===0)return;let s=t.series.find(e=>e.seriesType===`line`),c=s?.chartexFormatIdx??a.chartexFormatIdx??0,l={...s??o.series,name:s?.name||`Cumulative %`,values:o.series.values,categories:o.categories,color:s?.color??jf(t,t.chartexDataPointLineStyle,`line`,c,1)??a.lineColor??a.color,seriesType:`line`,useSecondaryAxis:!0,showMarker:!1},u={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};ld(e,{...t,chartType:`clusteredBar`,categories:o.categories,series:[{...o.orderedSeries,seriesType:null,useSecondaryAxis:!1},l],secondaryValAxis:u},n,r,{gapPolicy:`chartex`,semanticLineNoStyleFallback:!0},i)}function dO(e,t,n,r){let i=(r??t)-(n??e);if(!(i>0)||!Number.isFinite(i))return null;let a=Cc(i,_O);if(!(a>0)||!Number.isFinite(a))return null;let o=e-i*vO,s=t+i*vO;e>=0&&(e===0||t>yO*e)&&(o=0),t<=0&&(t===0||Math.abs(e)>yO*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 fO(e,t,n,r,i){let a=3*r,o=t.chartexBox;if(!o||o.categories.length===0||o.series.length===0)return;let{x:s,y:c,w:l,h:u}=n;if(Qf(e,n,Zi(o.series.map(e=>e.valuesByCategory),1e4)))return;let d=()=>{e.fillStyle=`#888`,e.font=`12px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(`(chart values out of range)`,s+l/2,c+u/2)},f=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},p=1/0,m=-1/0;for(let e of o.series)for(let t of e.valuesByCategory)for(let e of t)Number.isFinite(e)&&(e<p&&(p=e),e>m&&(m=e));if(!isFinite(p)||!isFinite(m))return;if(!Number.isFinite(m-p)){d();return}let h=t.valAxisMajorUnit==null?dO(p,m,t.valMin,t.valMax):null,g=h?{...t,valMin:h.min,valMax:h.max,valAxisMajorUnit:h.majorUnit}:t,_=Ml(t,t.valAxisFontFace,`minor`),v=Bu(t.valAxisFontSizeHpt,u,r),y=$t(v),b=cd(r),x=Nc({dataMin:p,dataMax:m,explicitMin:g.valMin,explicitMax:g.valMax,axisLenPt:u/r,majorUnit:g.valAxisMajorUnit});if(!f({min:x.min,max:x.max,step:x.majorUnit})){d();return}let S=0;if(!t.valAxisHidden){let n=e.font;e.font=Nl(v,_,t.valAxisFontBold??!1,t.valAxisFontItalic??!1);let i=0;for(let n of x.majorTicks){let r=Ou(t,n,!1);i=Math.max(i,e.measureText(r).width)}e.font=n,S=i+y+un*r}let C=td(e,t,l,u,r),w=Bu(t.catAxisFontSizeHpt,u,r),T=Bu(t.valAxisFontSizeHpt,u,r),E=Yt(t,l,u,r),D=o.series.length,O=o.series.map((e,t)=>Af(e,t)),k=o.series.map((e,n)=>{let r=O[n],i=e.color??Pf(t,r,D,e.chartexStyle);return Gf(t,e.name,e,t.chartexDataPointStyle,r,D,i,!0)}),A={...t,series:k},j=ou(e,A,l,u,.22,r),{legRightW:M,legLeftW:N,legTopH:P,legBottomH:F}=Wt(j,t.legendOverlay===!0),I=nn(t,s,c,l,u,r,{titleBand:C,legendSideReserveFrac:.22,legendReserve:j,pad:{t:C.bandH+P+T/2+2,r:M+l*.02,b:F+E.catBandH+(t.catAxisHidden?u*.02:Zt(w)),l:N+E.valBandW+(t.valAxisHidden?l*.02:S)},honorPlotAreaManualLayout:!0}),{px0:L,py0:R,pw:z,ph:B}=I.plotRect;il(e,t,L,R,z,B,r,i);let V=o.categories,H=V.length,ee=Nu(g,p,m,B/r);if(!f(ee)){d();return}rd(e,t,s,c,l,u,c+I.title.topPad,I.title.fontPx);let{min:U,max:W}=ee,te=W-U,G=e=>R+B*(1-(e-U)/te),ne=Zo(t.valAxisLineColor,t.valAxisLineWidthEmu,r),re=gu(t,r);if(e.save(),!t.valAxisHidden){if(e.font=Nl(v,_,t.valAxisFontBold??!1,t.valAxisFontItalic??!1),e.textAlign=`right`,e.textBaseline=`middle`,t.valAxisMinorGridlines){let n=_u(t,r);for(let t of ee.minorLines)hu(e,L,z,G(t),!1,n)}for(let n of ee.majorLines){let i=G(n);if(t.valAxisMajorGridlines!==!1){e.strokeStyle=re.color,e.lineWidth=re.width;let t=re.dash.length>0&&e.getLineDash?e.getLineDash():[];re.dash.length>0&&e.setLineDash(re.dash),e.beginPath(),e.moveTo(L,i),e.lineTo(L+z,i),e.stroke(),re.dash.length>0&&e.setLineDash(t)}e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#595959`,e.fillText(Ou(t,n,!1),L-b,i),du(e,t.valAxisMajorTickMark,`val`,L,i,ne.color,ne.width,!1,t.valAxisLineHidden,`major`,r,t.valAxisLineDash)}for(let n of ee.minorTicks)du(e,t.valAxisMinorTickMark,`val`,L,G(n),ne.color,ne.width,!1,t.valAxisLineHidden,`minor`,r,t.valAxisLineDash);t.valAxisLineHidden||fu(e,L,R,L,R+B,ne.color,ne.width,t.valAxisLineDash)}let ie=Zo(t.catAxisLineColor,t.catAxisLineWidthEmu,r);!t.catAxisHidden&&!t.catAxisLineHidden&&fu(e,L,R+B,L+z,R+B,ie.color,ie.width,t.catAxisLineDash);let ae=z/H,oe=Lt(t.barGapWidth,`chartex`),se=e=>`#${o.series[e].color??Pf(t,O[e],D,o.series[e].chartexStyle)}`,ce=e=>Rf(t,O[e],D,o.series[e].chartexStyle,o.series[e].color),le=o.series.map(e=>e.valuesByCategory.map(t=>Xi(t,e.quartileMethod))),ue=(e,t)=>{let n=Qi(L,z,o.oneBoxPerSeries?1:H,D,o.oneBoxPerSeries?0:e,t,oe);return n?{bx:n.boxX,boxW:n.boxWidth,cx:n.centerX}:{bx:L,boxW:0,cx:L}};for(let n=0;n<D;n++){let i=o.series[n];if(!i.meanLine)continue;let a=t.chartexDataPointLineStyle??t.chartexDataPointStyle,s=i.lineColor?`#${i.lineColor}`:se(n);if(e.save(),Wf(e,t,a,i,O[n],D,s,r)||i.lineColor!=null){i.lineColor&&(e.strokeStyle=s),i.lineWidthEmu&&(e.lineWidth=Xo(i.lineWidthEmu,r));let t=!1;e.beginPath();for(let r=0;r<H;r++){let i=le[n][r];if(!i){t=!1;continue}let{cx:a}=ue(r,n),o=G(i.mean);t?e.lineTo(a,o):e.moveTo(a,o),t=!0}e.stroke()}e.restore()}let de=Bu(t.catAxisFontSizeHpt,u,r),fe=Qt(de);for(let n=0;n<H;n++){let s=L+ae*(n+.5);t.catAxisHidden||du(e,t.catAxisMajorTickMark,`cat`,R+B,s,ie.color,ie.width,!1,t.catAxisLineHidden,`major`,r,t.catAxisLineDash);for(let s=0;s<D;s++){let c=o.series[s],l=le[s][n];if(!l)continue;let{bx:u,boxW:d,cx:f}=ue(n,s),p=se(s),m=ce(s),h=t.chartexDataPointStyle,g=t.chartexDataPointLineStyle??h,_=t.chartexDataPointMarkerStyle??h,v=O[s],y=jf(t,h,`line`,v,D),b=c.lineColor?`#${c.lineColor}`:y?`#${y}`:p,x=c.lineWidthEmu?Xo(c.lineWidthEmu,r):h?.lineWidthEmu==null?1:Xo(h.lineWidthEmu,r),S=jf(t,g,`line`,v,D),C=jf(t,_,`fill`,v,D),w=Lf(t,v,D,c.chartexStyle,c.color,_),T=jf(t,_,`line`,v,D),E=Hf(t,_,c,v,D,T??b,{linkedNoStyleFallback:!0}),k=va(c.chartexStyle),A=(n,i)=>Wf(e,t,n,c,v,D,i,r,{linkedNoStyleFallback:!0}),j=G(l.q1),M=G(l.q3),N=Math.min(j,M),P=Math.max(1,Math.abs(j-M)),F=d*.4;A(g,S??b)&&(e.beginPath(),e.moveTo(f,G(l.whiskerHi)),e.lineTo(f,M),e.moveTo(f,j),e.lineTo(f,G(l.whiskerLo)),e.moveTo(f-F/2,G(l.whiskerHi)),e.lineTo(f+F/2,G(l.whiskerHi)),e.moveTo(f-F/2,G(l.whiskerLo)),e.lineTo(f+F/2,G(l.whiskerLo)),e.stroke()),Aa(e,c.chartexStyle,h,v,{x:u,y:N,w:d,h:P},r,e=>{m&&Vf(e,m,{x:u,y:N,w:d,h:P},p,r,i),Wf(e,t,h,c,v,D,b,r,{linkedNoStyleFallback:!0})&&e.strokeRect(u+x/2,N+x/2,d-x,P-x)});let I=G(l.median);if(A(g,S??b)&&(e.beginPath(),e.moveTo(u,I),e.lineTo(u+d,I),e.stroke()),c.showNonoutliers){let n=t.chartStyleMarkerSymbol??t.chartexMarkerSymbol??`circle`;for(let t of l.inner)n!==`none`&&hf(e,f,G(t),n,3,w?C?`#${C}`:p:`transparent`,E.visible?E.color:null,r,E.widthEmu==null?1:Xo(E.widthEmu,r),w,i,E.visible?E.paint:null,E.dash,E.customDash,E.cap,E.join,!1,k,_,v,v)}if(c.meanMarker){let t=G(l.mean),n=a;A(_,T??b)&&(e.beginPath(),e.moveTo(f-n,t-n),e.lineTo(f+n,t+n),e.moveTo(f+n,t-n),e.lineTo(f-n,t+n),e.stroke())}if(c.showOutliers){let n=t.chartStyleMarkerSymbol??t.chartexMarkerSymbol??`circle`;for(let t of l.outliers)n!==`none`&&hf(e,f,G(t),n,3,w?C?`#${C}`:p:`transparent`,E.visible?E.color:null,r,E.widthEmu==null?1:Xo(E.widthEmu,r),w,i,E.visible?E.paint:null,E.dash,E.customDash,E.cap,E.join,!1,k,_,v,v)}}if(!t.catAxisHidden){e.font=Nl(de,Ml(t,t.catAxisFontFace,`minor`),t.catAxisFontBold??!1,t.catAxisFontItalic??!1),e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#595959`,e.textAlign=`center`,e.textBaseline=`top`;let r=V[n];e.fillText(r,s,R+B+fe)}}e.restore(),Ll(e,t,s,c,l,u,L,R,z,B,N,F,E.catFontPx,E.valFontPx),lu(e,A,j,s,c,l,u,L,R,z,B,C.bandH+2,r,o.series.map((e,t)=>ce(t)),i)}function pO(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(Fa(a.rows)){Qf(e,n,Fo+1);return}let u=Ia(a.rows);if(u.layoutWeight<=0||u.children.length===0)return;let d=t.series[0],f=Tl(d?.dataLabelOverrides),p=u.children.map((e,n)=>Rf(t,n,u.children.length,d?.chartexStyle,d?.color)),m={...t,chartType:`clusteredBar`,series:u.children.map(e=>{let n=Pf(t,e.branchIndex,u.children.length,d?.chartexStyle);return Gf(t,e.label,d,t.chartexDataPointStyle,e.branchIndex,u.children.length,n,!1,!1)})},h=ou(e,m,c,l,.22,r),g=nn(t,o,s,c,l,r,{titleTopPadFrac:.035,titleBottomPadFrac:.035,legendSideReserveFrac:0,legendReserve:h,radialGapFrac:.02,honorPlotAreaManualLayout:!0});rd(e,t,o,s,c,l,s+g.title.topPad,g.title.fontPx);let{px0:_,py0:v,pw:y,ph:b}=g.plotRect;il(e,t,_,v,y,b,r,i);let x=_+y/2,S=v+b/2,C=Math.min(y,b)*.46;u.a0=-Math.PI/2,u.a1=-Math.PI/2+Math.PI*2,La(u);let w=Ra(u)+1,T=C*bO,E=(C-T)/w,D=e=>`#${Pf(t,e,u.children.length,d?.chartexStyle)}`,O=e=>Rf(t,e,u.children.length,d?.chartexStyle,d?.color),k=d?.seriesDataLabels,A=Ml(t,k?.fontFace??t.dataLabelFontFace,`minor`),j=Bt(k?.fontSizeHpt,r)??Math.max(7,Math.min(13,C*.075)),M=k?.fontColor?`#${k.fontColor}`:`#ffffff`,N=Array.from({length:w},()=>[]),P=[u];for(;P.length>0;){let e=P.pop();e.depth>=0&&N[e.depth].push(e);for(let t=e.children.length-1;t>=0;t--)P.push(e.children[t])}e.save();for(let n=0;n<w;n++){let a=T+n*E,p=a+E;for(let m of N[n]){let n=m.a1-m.a0;if(n<=1e-4)continue;let h=O(m.branchIndex),g={x:x-p,y:S-p,w:p*2,h:p*2};Aa(e,d?.chartexStyle,t.chartexDataPointStyle,d?.chartexFormatIdx??0,g,r,e=>{e.beginPath(),e.arc(x,S,p,m.a0,m.a1),e.arc(x,S,a,m.a1,m.a0,!0),e.closePath(),h&&Bf(e,h,g,D(m.branchIndex),r,i),Wf(e,t,t.chartexDataPointStyle,t.series[0],m.branchIndex,u.children.length,`#ffffff`,r)&&e.stroke()},m.branchIndex);let C=yo(t,d,m.labelIndex,m.label,m.value,{visible:!1,showVal:!1,showCatName:!1},f);if(!C)continue;let w=C.text,T=Bt(C.fontSizeHpt,r)??j,k=C.fontColor?`#${C.fontColor}`:M,N=C.fontFace?Ml(t,C.fontFace,`minor`):A,P=(m.a0+m.a1)/2,F=(a+p)/2,I=E-4,L=n*F;if(!C.manualLayout&&I<T*.9&&L<T*.9)continue;let R=x+Math.cos(P)*F,z=S+Math.sin(P)*F;if(e.font=`${C.textStyle.fontItalic?`italic `:``}${C.fontBold?`bold `:``}${T}px ${N}`,C.manualLayout){xf(e,w,{kind:`point`,x:R,y:z,position:C.position??`ctr`},{x:_,y:v,w:y,h:b},T,k,C.manualLayout,{x:o,y:s,w:c,h:l},bf(t,C.richRuns,r,N,C.fontBold??!1,C.textStyle),void 0,C.textStyle,r,C.labelBox,i);continue}e.save(),e.translate(R,z);let B=P,V=B*180/Math.PI%360;(V>90||V<-90)&&(B+=Math.PI),e.rotate(B),e.font=`${C.textStyle.fontItalic?`italic `:``}${C.fontBold?`bold `:``}${T}px ${N}`,xf(e,w,{kind:`point`,x:0,y:0,position:C.position??`ctr`},{x:-I/2,y:-L/2,w:I,h:L},T,k,void 0,{x:-I/2,y:-L/2,w:I,h:L},bf(t,C.richRuns,r,N,C.fontBold??!1,C.textStyle),void 0,C.textStyle,r,C.labelBox,i),e.restore()}}e.restore(),lu(e,m,h,o,s,c,l,_,v,y,b,g.title.bandH+2,r,p,i)}function mO(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 hO(e,t,n,r,i){let a=t.chartexTreemap;if(!a||a.rows.length===0)return;if(Fa(a.rows)){Qf(e,n,Fo+1);return}let o=Ia(a.rows,!0);if(o.layoutWeight<=0||o.children.length===0)return;let s=t.series[0],c=o.children.map(e=>Rf(t,e.branchIndex,o.children.length,s?.chartexStyle,s?.color)),l={...t,chartType:`clusteredBar`,series:o.children.map(e=>{let n=Pf(t,e.branchIndex,o.children.length,s?.chartexStyle);return Gf(t,e.label,s,t.chartexDataPointStyle,e.branchIndex,o.children.length,n,!0,!1)})},u=ou(e,l,n.w,n.h,.22,r),d=nn(t,n.x,n.y,n.w,n.h,r,{titleTopPadFrac:.035,titleBottomPadFrac:.035,legendSideReserveFrac:0,legendReserve:u,radialGapFrac:.015,honorPlotAreaManualLayout:!0});rd(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;il(e,t,f,p,m,h,r,i);let g={x:f,y:p,w:m,h},_=a.parentLabelLayout??`overlapping`,v=t.series[0]?.seriesDataLabels,y=Ml(t,v?.fontFace??t.dataLabelFontFace,`minor`),b=Bt(v?.fontSizeHpt,r)??Math.max(8,Math.min(13,d.plotRect.ph*.025)),x=v?.fontColor?`#${v.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=`#${Pf(t,a.branchIndex,o.children.length,s?.chartexStyle)}`,u=Rf(t,a.branchIndex,o.children.length,s?.chartexStyle,s?.color),d=S.get(a.labelIndex),f=d?.fontColor?`#${d.fontColor}`:x,p=Bt(d?.fontSizeHpt,r)??b,m=d?.fontBold??v?.fontBold??!1;if(a.children.length>0){let o=yo(t,s,a.labelIndex,a.label,a.value,{visible:_!==`none`,showVal:!1,showCatName:!0},S,!0),h=o!=null&&(_!==`overlapping`||a.depth===0),v=p,b=o?.fontFace?Ml(t,o.fontFace,`minor`):y,x=_===`banner`&&h?Math.min(c.h*.28,v+7):0;x>0&&Aa(e,s?.chartexStyle,t.chartexDataPointStyle,s?.chartexFormatIdx??0,{x:c.x,y:c.y,w:c.w,h:x},r,e=>{u&&Vf(e,u,{x:c.x,y:c.y,w:c.w,h:x},l,r,i)},a.branchIndex);let C={x:c.x,y:c.y+x,w:c.w,h:Math.max(0,c.h-x)};for(let e of mO(a.children,C))w(e.node,e.rect);if(h&&(o.manualLayout||c.w>v*2&&c.h>v+4)){e.font=`${m?`bold `:``}${v}px ${b}`;let a=x>0?{x:c.x,y:c.y,w:c.w,h:x}:c,s=d?.position??`inBase`;xf(e,o.text,o.manualLayout?{kind:`point`,x:c.x+c.w/2,y:c.y+c.h/2,position:s}:{kind:`box`,rect:a,position:s},o.manualLayout?g:a,v,f,o.manualLayout,n,bf(t,o.richRuns,r,b,m,o.textStyle),void 0,o.textStyle,r,o.labelBox,i)}return}Aa(e,s?.chartexStyle,t.chartexDataPointStyle,s?.chartexFormatIdx??0,c,r,e=>{u&&Vf(e,u,c,l,r,i),Wf(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)},a.branchIndex);let h=yo(t,s,a.labelIndex,a.label,a.value,{visible:!1,showVal:!1,showCatName:!1},S);if(!h)return;let T=Bt(h.fontSizeHpt,r)??p;if(!h.manualLayout&&(c.w<=T*1.2||c.h<=T*1.2))return;let E=h.fontFace?Ml(t,h.fontFace,`minor`):y;e.font=`${h.fontBold?`bold `:``}${T}px ${E}`;let D=c,O=h.position===`outEnd`?`inEnd`:h.position??`ctr`;xf(e,h.text,h.manualLayout?{kind:`point`,x:c.x+c.w/2,y:c.y+c.h/2,position:O}:{kind:`box`,rect:D,position:O},h.manualLayout?g:D,T,h.fontColor?`#${h.fontColor}`:f,h.manualLayout,n,bf(t,h.richRuns,r,E,h.fontBold??!1,h.textStyle),void 0,h.textStyle,r,h.labelBox,i)};e.save(),e.beginPath(),e.rect(f,p,m,h),e.clip();for(let e of mO(o.children,{x:f,y:p,w:m,h}))w(e.node,e.rect);e.restore(),lu(e,l,u,n.x,n.y,n.w,n.h,f,p,m,h,d.title.bandH+2,r,c,i)}function gO(e,t,n,r,i=0){let a=iO(t,void 0,n,r),o=aO(t,n,r);if(a!=null&&a>1048576||o!=null&&o>1048576||a!=null&&o!=null&&a>1048576-o)return Qf(e,n,Fo+1),!0;switch(t.chartType){case`waterfall`:return sO(e,t,n,r,i),!0;case`clusteredColumn`:return ld(e,{...t,chartType:`clusteredBar`},n,r,{gapPolicy:`chartex`},i),!0;case`histogram`:return oO(e,t,n,r,i),!0;case`funnel`:return cO(e,t,n,r,i),!0;case`paretoLine`:return lO(e,t,n,r,i),!0;case`pareto`:return uO(e,t,n,r,i),!0;case`boxWhisker`:return fO(e,t,n,r,i),!0;case`sunburst`:return pO(e,t,n,r,i),!0;case`treemap`:return hO(e,t,n,r,i),!0;default:return!1}}var _O,vO,yO,bO,xO=t((()=>{dn(),zc(),es(),ao(),Rt(),YD(),ea(),$D(),ar(),Bo(),za(),Co(),Gs(),_o(),nt(),Ct(),To(),al(),Pa(),Dp(),bo(),_O=7,vO=.05,yO=1.2,bO=.18})),SO=n({TIFF_IMPLEMENTATION_MARKER:()=>ik,TiffDecodeError:()=>ny,__test_decodeTiffRgbaWithGroup4Diagnostics:()=>nk,decodeTiffRgba:()=>tk,isTiffDecodeError:()=>$v,renderTiffToBitmap:()=>rk});function CO(e,t){throw new ny(e,t===void 0?void 0:{cause:t})}function wO(e){return e.length>=2&&(e[0]===73&&e[1]===73||e[0]===77&&e[1]===77)}function TO(e){if(!ey(e)){if(!wO(e))return null;e.length<4&&CO(`Malformed TIFF header: missing version`);let t=e[0]===73;CO(`Unsupported TIFF version: ${new DataView(e.buffer,e.byteOffset,e.byteLength).getUint16(2,t)}`)}e.length<8&&CO(`Malformed TIFF header: missing first-IFD offset`);let t=new uk(e,e[0]===73),n=t.u32(4,`first-IFD offset`),r=t.u16(n,`first IFD`),i=r*12+4;t.contains(n+2,i)||CO(`Malformed TIFF first-IFD entry range`);let a=new Map;for(let e=0;e<r;e++){let r=n+2+e*12,i=t.u16(r,`IFD entry ${e}`),o=t.u16(r+2,`IFD entry ${e} type`),s=t.u32(r+4,`IFD entry ${e} count`);a.has(i)&&CO(`Malformed TIFF: duplicate tag ${i}`),a.set(i,{type:o,count:s,entryOffset:r})}return{reader:t,fields:a}}function EO(e){return e===ak?1:e===ok?2:e===sk?4:0}function DO(e,t,n,r){let i=e.fields.get(t);if(!i)return;r.includes(i.type)||CO(`Unsupported TIFF ${n} field type: ${i.type}`),i.count<1&&CO(`Malformed TIFF ${n}: empty value list`);let a=EO(i.type),o=i.count*a;Number.isSafeInteger(o)||CO(`Malformed TIFF ${n} value count`);let s=o<=4?i.entryOffset+8:e.reader.u32(i.entryOffset+8,`${n} value offset`);return e.reader.contains(s,o)||CO(`Malformed TIFF ${n} value range`),{count:i.count,at(t){(!Number.isSafeInteger(t)||t<0||t>=i.count)&&CO(`Malformed TIFF ${n} value index`);let r=s+t*a;return i.type===ak?e.reader.u8(r,n):i.type===ok?e.reader.u16(r,n):e.reader.u32(r,n)}}}function OO(e,t,n,r,i){let a=DO(e,t,n,r);if(!a){if(i!==void 0)return i;CO(`Malformed TIFF: missing ${n}`)}return a.count!==1&&CO(`Malformed TIFF ${n}: expected one value`),a.at(0)}function kO(e,t,n,r,i){let a=DO(e,t,n,r);return a||CO(`Malformed TIFF: missing ${n}`),a.count!==i&&CO(`Malformed TIFF ${n}: expected ${i} value${i===1?``:`s`}`),a}function AO(e,t){(e<1||t<1)&&CO(`Malformed TIFF: image dimensions must be positive`);let n=Math.max(e,t);if(n>134217728)throw new kr(`image-dimension`,Er,n);let r=e*t;if(r>134217728)throw new kr(`image-pixels`,Tr,Number.isSafeInteger(r)?r:2**53-1)}function jO(e,t){if(!e.fields.has(ck.bitsPerSample))return[1];let n=kO(e,ck.bitsPerSample,`BitsPerSample`,[ok],t),r=Array(t);for(let e=0;e<t;e++)r[e]=n.at(e);return r}function MO(e,t){if(!e.fields.has(ck.sampleFormat))return;let n=kO(e,ck.sampleFormat,`SampleFormat`,[ok],t);for(let e=0;e<n.count;e++)n.at(e)!==1&&CO(`Unsupported TIFF SampleFormat: only unsigned integers are supported`)}function NO(e,t){let n=OO(e,ck.compression,`Compression`,[ok],1);n!==1&&n!==4&&CO(`Unsupported TIFF compression: ${n}`);let r=OO(e,ck.photometric,`PhotometricInterpretation`,[ok]),i=OO(e,ck.samplesPerPixel,`SamplesPerPixel`,[ok],1);i!==1&&i!==3&&i!==4&&CO(`Unsupported TIFF SamplesPerPixel: ${i}`);let a=jO(e,i);if(MO(e,i),n===4){(i!==1||a.length!==1||a[0]!==1||r!==0&&r!==1)&&CO(`Unsupported CCITT Group 4 TIFF sample layout`),e.fields.has(ck.extraSamples)&&CO(`Unsupported CCITT Group 4 TIFF ExtraSamples`);let t=OO(e,ck.t6Options,`T6Options`,[sk],0);return t!==0&&CO(`Unsupported TIFF T6Options: ${t}`),{compression:n,layout:{kind:`group4`,photometric:r}}}if(r===0||r===1){if((i!==1||e.fields.has(ck.extraSamples))&&CO(`Unsupported TIFF grayscale sample layout`),a[0]===1)return{compression:n,layout:{kind:`gray-1`,photometric:r,bytesPerRow:Math.ceil(t/8)}};if(a[0]===8)return{compression:n,layout:{kind:`gray-8`,photometric:r,bytesPerRow:t}};CO(`Unsupported TIFF grayscale BitsPerSample: ${a[0]}`)}if(r===2){if(a.some(e=>e!==8)&&CO(`Unsupported TIFF RGB BitsPerSample: only 8-bit samples are supported`),i===3)return e.fields.has(ck.extraSamples)&&CO(`Unsupported TIFF RGB ExtraSamples`),{compression:n,layout:{kind:`rgb`,bytesPerRow:t*3}};if(i===4){let r=kO(e,ck.extraSamples,`ExtraSamples`,[ok],1).at(0);if(r===1)return{compression:n,layout:{kind:`rgba-associated`,bytesPerRow:t*4}};if(r===2)return{compression:n,layout:{kind:`rgba-unassociated`,bytesPerRow:t*4}};CO(`Unsupported TIFF ExtraSamples value: ${r}`)}CO(`Unsupported TIFF RGB SamplesPerPixel: ${i}`)}if(r===5){(i!==4||a.length!==4||a.some(e=>e!==8))&&CO(`Unsupported TIFF separated sample layout: expected 8-bit process CMYK`),e.fields.has(ck.extraSamples)&&CO(`Unsupported TIFF CMYK ExtraSamples`);let r=OO(e,ck.inkSet,`InkSet`,[ok],1);return r!==1&&CO(`Unsupported TIFF InkSet: ${r}`),{compression:n,layout:{kind:`cmyk`,bytesPerRow:t*4}}}CO(`Unsupported TIFF PhotometricInterpretation: ${r}`)}function PO(e){let t=TO(e);if(!t)return null;let n=OO(t,ck.width,`ImageWidth`,[ok,sk]),r=OO(t,ck.height,`ImageLength`,[ok,sk]);AO(n,r),lk.some(e=>t.fields.has(e))&&CO(`Unsupported tiled TIFF: only stripped images are supported`);let i=OO(t,ck.orientation,`Orientation`,[ok],1);i!==1&&CO(`Unsupported TIFF orientation: ${i}`);let a=OO(t,ck.planarConfiguration,`PlanarConfiguration`,[ok],1);a!==1&&CO(`Unsupported TIFF PlanarConfiguration: ${a}`);let o=OO(t,ck.fillOrder,`FillOrder`,[ok],1);o!==1&&CO(`Unsupported TIFF FillOrder: ${o}`);let s=OO(t,ck.predictor,`Predictor`,[ok],1);s!==1&&CO(`Unsupported TIFF Predictor: ${s}`);let c=OO(t,ck.rowsPerStrip,`RowsPerStrip`,[ok,sk],4294967295);c<1&&CO(`Malformed TIFF RowsPerStrip: expected a positive value`);let l=Math.ceil(r/c),u=kO(t,ck.stripOffsets,`StripOffsets`,[ok,sk],l),d=kO(t,ck.stripByteCounts,`StripByteCounts`,[ok,sk],l),{compression:f,layout:p}=NO(t,n);for(let e=0;e<l;e++){let n=u.at(e),i=d.at(e);if(t.reader.contains(n,i)||CO(`Malformed TIFF strip ${e} byte range`),f===1){let t=e*c,n=Math.min(c,r-t)*p.bytesPerRow;i<n&&CO(`Malformed TIFF strip ${e}: ${i} bytes cannot hold ${n} bytes`)}}return{directory:t,width:n,height:r,rowsPerStrip:c,stripCount:l,stripOffsets:u,stripByteCounts:d,layout:p}}function FO(e,t){if(e!==void 0)return(!Number.isFinite(e)||e<=0)&&CO(`Invalid TIFF ${t}: expected a positive finite number`),e}function IO(e,t,n){let r=FO(n.targetWidthPx,`targetWidthPx`),i=FO(n.targetHeightPx,`targetHeightPx`),a=Oy({width:e,height:t},r,i,!0),o=a?.width??e,s=a?.height??t,c=Math.max(o,s);if(c>32767)throw new kr(`image-dimension`,Cr,c);let l=n.maxRetainedPixels??33554432;(!Number.isFinite(l)||l<0)&&CO(`Invalid TIFF maxRetainedPixels: expected a non-negative finite number`);let u=Math.min(wr,Math.floor(l)),d=o*s;if(d>u)throw new kr(`image-pixels`,u,d);return{width:o,height:s,pixels:d}}function LO(e,t){return Math.round((255-e)*(255-t)/255)}function RO(e,t){return t===0?0:Math.min(255,Math.round(e*255/t))}function zO(e,t){let n=e.layout,r=e.directory.reader.bytes;for(let i=0;i<e.height;i++){let a=Math.floor(i/e.rowsPerStrip),o=i-a*e.rowsPerStrip,s=e.stripOffsets.at(a)+o*n.bytesPerRow;for(let a=0;a<e.width;a++){let o=(i*e.width+a)*4;if(n.kind===`gray-1`){let e=r[s+(a>>3)]>>7-(a&7)&1,i=n.photometric===0?e===0?255:0:e===0?0:255;t[o]=i,t[o+1]=i,t[o+2]=i,t[o+3]=255;continue}if(n.kind===`gray-8`){let e=r[s+a],i=n.photometric===0?255-e:e;t[o]=i,t[o+1]=i,t[o+2]=i,t[o+3]=255;continue}if(n.kind===`rgb`){let e=s+a*3;t[o]=r[e],t[o+1]=r[e+1],t[o+2]=r[e+2],t[o+3]=255;continue}if(n.kind===`rgba-associated`||n.kind===`rgba-unassociated`){let e=s+a*4,i=r[e+3];t[o]=n.kind===`rgba-associated`?RO(r[e],i):r[e],t[o+1]=n.kind===`rgba-associated`?RO(r[e+1],i):r[e+1],t[o+2]=n.kind===`rgba-associated`?RO(r[e+2],i):r[e+2],t[o+3]=i;continue}let c=s+a*4,l=r[c+3];t[o]=LO(r[c],l),t[o+1]=LO(r[c+1],l),t[o+2]=LO(r[c+2],l),t[o+3]=255}}}function BO(e){return Math.max(0,Math.min(255,Math.round(e)))}function VO(e,t,n,r,i){let a=e.layout,o=e.directory.reader.bytes;for(let s=0;s<t.width;s++){let c=s*e.width,l=(s+1)*e.width,u=Math.floor(c/t.width),d=Math.floor((l-1)/t.width),f=0,p=0,m=0,h=0;for(let e=u;e<=d;e++){let i=e*t.width,s=(e+1)*t.width,u=(Math.min(l,s)-Math.max(c,i))*r,d,g,_,v=255;if(a.kind===`gray-1`){let t=o[n+(e>>3)]>>7-(e&7)&1;d=a.photometric===0?t===0?255:0:t===0?0:255,g=d,_=d}else if(a.kind===`gray-8`){let t=o[n+e];d=a.photometric===0?255-t:t,g=d,_=d}else if(a.kind===`rgb`){let t=n+e*3;d=o[t],g=o[t+1],_=o[t+2]}else if(a.kind===`rgba-associated`){let t=n+e*4;v=o[t+3],d=v===0?0:o[t]*255,g=v===0?0:o[t+1]*255,_=v===0?0:o[t+2]*255}else if(a.kind===`rgba-unassociated`){let t=n+e*4;v=o[t+3],d=o[t]*v,g=o[t+1]*v,_=o[t+2]*v}else{let t=n+e*4,r=o[t+3];d=LO(o[t],r),g=LO(o[t+1],r),_=LO(o[t+2],r)}a.kind!==`rgba-associated`&&a.kind!==`rgba-unassociated`&&(d*=255,g*=255,_*=255),f+=d*u,p+=g*u,m+=_*u,h+=v*u}let g=s*4;i[g]+=f,i[g+1]+=p,i[g+2]+=m,i[g+3]+=h}}function HO(e,t,n,r,i){for(let a=0;a<n;a++){let o=a*4,s=(r*n+a)*4,c=e[o+3];t[s]=c===0?0:BO(e[o]/c),t[s+1]=c===0?0:BO(e[o+1]/c),t[s+2]=c===0?0:BO(e[o+2]/c),t[s+3]=BO(c/i)}}function UO(e,t,n){let r=e.layout,i=new Float64Array(t.width*4),a=e.width*e.height,o=-1;for(let s=0;s<e.height;s++){let c=Math.floor(s/e.rowsPerStrip),l=s-c*e.rowsPerStrip,u=e.stripOffsets.at(c)+l*r.bytesPerRow,d=s*t.height,f=(s+1)*t.height,p=Math.floor(d/e.height),m=Math.floor((f-1)/e.height);for(let r=p;r<=m;r++){r!==o&&(o>=0&&(HO(i,n,t.width,o,a),i.fill(0)),r!==o+1&&CO(`Internal TIFF area-row sequence failure`),o=r);let s=r*e.height,c=(r+1)*e.height;VO(e,t,u,Math.min(f,c)-Math.max(d,s),i)}}o!==t.height-1&&CO(`Internal TIFF area-row coverage failure`),HO(i,n,t.width,o,a)}function WO(e,t,n){t.width===e.width&&t.height===e.height?zO(e,n):UO(e,t,n)}function GO(e){let t=new Map;for(let[n,r]of e)t.set(1<<n.length|Number.parseInt(n,2),r);return t}function KO(e){let t=0;for(let n=1;n<=7;n++){t=t<<1|e.readBit();let r=_k.get(1<<n|t);if(r!==void 0)return r}CO(`Invalid or unsupported CCITT Group 4 two-dimensional mode`)}function qO(e,t,n){let r=t?gk:hk,i=0,a=Math.ceil(n/64)+64;for(let t=0;t<a;t++){let t=0,a;for(let n=1;n<=13&&(t=t<<1|e.readBit(),a=r.get(1<<n|t),a===void 0);n++);if(a===void 0&&CO(`Invalid CCITT Group 4 run-length code`),i+=a,i>n&&CO(`CCITT Group 4 run exceeds the scanline width`),a<64)return i}CO(`CCITT Group 4 run-length code limit exceeded`)}function JO(e,t){let n=e[e.length-1];n!==void 0&&n>t&&CO(`Internal TIFF Group 4 changing-element order failure`),n===t?e.pop():(e.length>=vk&&CO(`CCITT Group 4 changing-element limit exceeded`),e.push(t))}function YO(e,t,n,r,i,a,o){let s=i?n:n+1;for(;a.index<e.length&&(o&&o.referenceProbeCount++,!(e[a.index]>=s));)a.index++;let c=a.index;return c<e.length&&(c+1&1)!=(r^1)&&c++,[e[c]??t,e[c+1]??t]}function XO(e,t,n,r,i){n.length=0;let a=0,o=0,s=!0,c={index:0},l=r*4+32;for(let u=0;a<r;u++){u>=l&&CO(`CCITT Group 4 scanline operation limit exceeded`),i&&i.modeCount++;let d=KO(e);if(d===`horizontal`){let t=qO(e,o===1,r-a),i=a+t,c=i+qO(e,o===0,r-i);c<=a&&CO(`Invalid CCITT Group 4 horizontal mode with no progress`),JO(n,i),JO(n,c),a=c,s=!1;continue}let[f,p]=YO(t,r,a,o,s,c,i);if(d===`pass`){p<=a&&CO(`Invalid CCITT Group 4 pass mode with no progress`),a=p,s=!1;continue}let m=f+d;(m<a||m>r)&&CO(`Invalid CCITT Group 4 vertical mode position`),JO(n,m),a=m,o^=1,s=!1}n[n.length-1]!==r&&(n.length>=vk&&CO(`CCITT Group 4 changing-element limit exceeded`),n.push(r))}function ZO(e,t,n,r,i){let a=0;for(let o=0;o<e.length;o++){let s=e[o],c=o&1,l=i===0?c===0?255:0:c===0?0:255;for(let e=a;e<s;e++){let i=(r*n+e)*4;t[i]=l,t[i+1]=l,t[i+2]=l,t[i+3]=255}a=s}}function QO(e,t,n,r,i,a,o){let s=0,c=n[0]*t.width;for(let l=0;l<t.width;l++){let u=l*e.width,d=(l+1)*e.width,f=u;for(;f<d;){for(o&&o.areaSegmentCount++;c<=f&&s+1<n.length;)s++,c=n[s]*t.width;let e=Math.min(d,c);e<=f&&CO(`Internal TIFF Group 4 area-run coverage failure`);let u=s&1,p=r===0?u===0?255:0:u===0?0:255,m=(e-f)*i,h=l*4,g=p*255*m;a[h]+=g,a[h+1]+=g,a[h+2]+=g,a[h+3]+=255*m,f=e}}}function $O(e,t,n,r){let i=e.layout,a=[e.width],o=[],s=t.width!==e.width||t.height!==e.height?new Float64Array(t.width*4):null,c=e.width*e.height,l=-1;for(let u=0;u<e.stripCount;u++){a.length=1,a[0]=e.width;let d=u*e.rowsPerStrip,f=Math.min(e.rowsPerStrip,e.height-d),p=new dk(e.directory.reader.bytes,e.stripOffsets.at(u),e.stripByteCounts.at(u));for(let u=0;u<f;u++){let f=d+u;if(XO(p,a,o,e.width,r),!s)ZO(o,n,e.width,f,i.photometric);else{let a=f*t.height,u=(f+1)*t.height,d=Math.floor(a/e.height),p=Math.floor((u-1)/e.height);for(let f=d;f<=p;f++){f!==l&&(l>=0&&(HO(s,n,t.width,l,c),s.fill(0)),f!==l+1&&CO(`Internal TIFF Group 4 area-row sequence failure`),l=f);let d=f*e.height,p=(f+1)*e.height,m=Math.min(u,p)-Math.max(a,d);QO(e,t,o,i.photometric,m,s,r)}}[a,o]=[o,a]}}s&&(l!==t.height-1&&CO(`Internal TIFF Group 4 area-row coverage failure`),HO(s,n,t.width,l,c))}function ek(e,t,n){let r=PO(e);if(!r)return null;let i=IO(r.width,r.height,t),a=new Uint8ClampedArray(i.pixels*4);return r.layout.kind===`group4`?$O(r,i,a,n):WO(r,i,a),{width:i.width,height:i.height,data:a}}function tk(e,t={}){return ek(e,t)}function nk(e,t={}){let n={modeCount:0,referenceProbeCount:0,areaSegmentCount:0},r=ek(e,t,n);return Object.freeze({decoded:r,...n})}async function rk(e,t={}){let n=tk(e,t);if(!n)return null;typeof ImageData!=`function`&&CO(`TIFF ImageData construction is unavailable`);let r;try{r=new ImageData(n.data,n.width,n.height)}catch(e){CO(`TIFF ImageData construction failed`,e)}typeof createImageBitmap!=`function`&&CO(`TIFF ImageBitmap creation is unavailable`);let i;try{i=await createImageBitmap(r)}catch(e){CO(`TIFF ImageBitmap creation failed`,e)}return i||CO(`TIFF ImageBitmap creation returned no bitmap`),i}var ik,ak,ok,sk,ck,lk,uk,dk,fk,pk,mk,hk,gk,_k,vk,yk=t((()=>{Ar(),jy(),ry(),ik=`packages/core/src/image/tiff.ts`,ak=1,ok=3,sk=4,ck={width:256,height:257,bitsPerSample:258,compression:259,photometric:262,fillOrder:266,stripOffsets:273,orientation:274,samplesPerPixel:277,rowsPerStrip:278,stripByteCounts:279,planarConfiguration:284,t6Options:293,predictor:317,tileWidth:322,tileLength:323,tileOffsets:324,tileByteCounts:325,inkSet:332,extraSamples:338,sampleFormat:339},lk=[ck.tileWidth,ck.tileLength,ck.tileOffsets,ck.tileByteCounts],uk=class{view;constructor(e,t){this.bytes=e,this.littleEndian=t,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength)}contains(e,t){return Number.isSafeInteger(e)&&Number.isSafeInteger(t)&&e>=0&&t>=0&&e<=this.view.byteLength-t}u8(e,t){return this.contains(e,1)||CO(`Malformed TIFF ${t} range`),this.view.getUint8(e)}u16(e,t){return this.contains(e,2)||CO(`Malformed TIFF ${t} range`),this.view.getUint16(e,this.littleEndian)}u32(e,t){return this.contains(e,4)||CO(`Malformed TIFF ${t} range`),this.view.getUint32(e,this.littleEndian)}},dk=class{bitOffset=0;constructor(e,t,n){this.bytes=e,this.byteOffset=t,this.byteLength=n}readBit(){this.bitOffset>=this.byteLength*8&&CO(`CCITT Group 4 data is truncated`);let e=this.bytes[this.byteOffset+(this.bitOffset>>3)]>>7-(this.bitOffset&7)&1;return this.bitOffset++,e}},fk=[[`00000001000`,1792],[`00000001100`,1856],[`00000001101`,1920],[`000000010010`,1984],[`000000010011`,2048],[`000000010100`,2112],[`000000010101`,2176],[`000000010110`,2240],[`000000010111`,2304],[`000000011100`,2368],[`000000011101`,2432],[`000000011110`,2496],[`000000011111`,2560]],pk=[[`00110101`,0],[`000111`,1],[`0111`,2],[`1000`,3],[`1011`,4],[`1100`,5],[`1110`,6],[`1111`,7],[`10011`,8],[`10100`,9],[`00111`,10],[`01000`,11],[`001000`,12],[`000011`,13],[`110100`,14],[`110101`,15],[`101010`,16],[`101011`,17],[`0100111`,18],[`0001100`,19],[`0001000`,20],[`0010111`,21],[`0000011`,22],[`0000100`,23],[`0101000`,24],[`0101011`,25],[`0010011`,26],[`0100100`,27],[`0011000`,28],[`00000010`,29],[`00000011`,30],[`00011010`,31],[`00011011`,32],[`00010010`,33],[`00010011`,34],[`00010100`,35],[`00010101`,36],[`00010110`,37],[`00010111`,38],[`00101000`,39],[`00101001`,40],[`00101010`,41],[`00101011`,42],[`00101100`,43],[`00101101`,44],[`00000100`,45],[`00000101`,46],[`00001010`,47],[`00001011`,48],[`01010010`,49],[`01010011`,50],[`01010100`,51],[`01010101`,52],[`00100100`,53],[`00100101`,54],[`01011000`,55],[`01011001`,56],[`01011010`,57],[`01011011`,58],[`01001010`,59],[`01001011`,60],[`00110010`,61],[`00110011`,62],[`00110100`,63],[`11011`,64],[`10010`,128],[`010111`,192],[`0110111`,256],[`00110110`,320],[`00110111`,384],[`01100100`,448],[`01100101`,512],[`01101000`,576],[`01100111`,640],[`011001100`,704],[`011001101`,768],[`011010010`,832],[`011010011`,896],[`011010100`,960],[`011010101`,1024],[`011010110`,1088],[`011010111`,1152],[`011011000`,1216],[`011011001`,1280],[`011011010`,1344],[`011011011`,1408],[`010011000`,1472],[`010011001`,1536],[`010011010`,1600],[`011000`,1664],[`010011011`,1728],...fk],mk=[[`0000110111`,0],[`010`,1],[`11`,2],[`10`,3],[`011`,4],[`0011`,5],[`0010`,6],[`00011`,7],[`000101`,8],[`000100`,9],[`0000100`,10],[`0000101`,11],[`0000111`,12],[`00000100`,13],[`00000111`,14],[`000011000`,15],[`0000010111`,16],[`0000011000`,17],[`0000001000`,18],[`00001100111`,19],[`00001101000`,20],[`00001101100`,21],[`00000110111`,22],[`00000101000`,23],[`00000010111`,24],[`00000011000`,25],[`000011001010`,26],[`000011001011`,27],[`000011001100`,28],[`000011001101`,29],[`000001101000`,30],[`000001101001`,31],[`000001101010`,32],[`000001101011`,33],[`000011010010`,34],[`000011010011`,35],[`000011010100`,36],[`000011010101`,37],[`000011010110`,38],[`000011010111`,39],[`000001101100`,40],[`000001101101`,41],[`000011011010`,42],[`000011011011`,43],[`000001010100`,44],[`000001010101`,45],[`000001010110`,46],[`000001010111`,47],[`000001100100`,48],[`000001100101`,49],[`000001010010`,50],[`000001010011`,51],[`000000100100`,52],[`000000110111`,53],[`000000111000`,54],[`000000100111`,55],[`000000101000`,56],[`000001011000`,57],[`000001011001`,58],[`000000101011`,59],[`000000101100`,60],[`000001011010`,61],[`000001100110`,62],[`000001100111`,63],[`0000001111`,64],[`000011001000`,128],[`000011001001`,192],[`000001011011`,256],[`000000110011`,320],[`000000110100`,384],[`000000110101`,448],[`0000001101100`,512],[`0000001101101`,576],[`0000001001010`,640],[`0000001001011`,704],[`0000001001100`,768],[`0000001001101`,832],[`0000001110010`,896],[`0000001110011`,960],[`0000001110100`,1024],[`0000001110101`,1088],[`0000001110110`,1152],[`0000001110111`,1216],[`0000001010010`,1280],[`0000001010011`,1344],[`0000001010100`,1408],[`0000001010101`,1472],[`0000001011010`,1536],[`0000001011011`,1600],[`0000001100100`,1664],[`0000001100101`,1728],...fk],hk=GO(pk),gk=GO(mk),_k=new Map([[3,0],[9,`horizontal`],[10,-1],[11,1],[17,`pass`],[66,-2],[67,2],[130,-3],[131,3]]),vk=Cr+1}));async function bk(e){return oC(e),xk(e)}async function xk(e){switch(e.builtin){case`math`:{let t=await Promise.resolve().then(()=>(pT(),oT));return Object.freeze({loadMathJax:()=>t.loadMathJaxFromResolvedAsset(e.engineAssetUrl),mathMLToSvg:n=>t.mathMLToSvgFromResolvedAsset(n,e.engineAssetUrl)})}case`threeD`:{let e=await Promise.resolve().then(()=>(pD(),tE));return Object.freeze({render:e.renderSimpleThreeDChart})}case`regionMap`:{let e=await Promise.resolve().then(()=>(GD(),gD));return Object.freeze({render:e.renderRegionMapChart})}case`chartEx`:{let e=await Promise.resolve().then(()=>(xO(),eO));return Object.freeze({render:e.renderChartExChart})}case`tiff`:{let e=await Promise.resolve().then(()=>(yk(),SO));return Object.freeze({render:e.renderTiffToBitmap})}}}function Sk(e,t,n){if(typeof t!=`object`||!t)throw TypeError(`Worker ${e} renderer export must be an object`);let r=t;for(let t of n)if(typeof r[t]!=`function`)throw TypeError(`Worker ${e} renderer must implement ${t}()`);return t}async function Ck(e){let[t,n,r,i,a]=await Promise.all([e?.math?bk(e.math):void 0,e?.threeD?bk(e.threeD):void 0,e?.regionMap?bk(e.regionMap):void 0,e?.chartEx?bk(e.chartEx):void 0,e?.tiff?bk(e.tiff):void 0]);return Object.freeze({...t?{math:Sk(`math`,t,[`loadMathJax`,`mathMLToSvg`])}:{},...n?{threeD:Sk(`threeD`,n,[`render`])}:{},...r?{regionMap:Sk(`regionMap`,r,[`render`])}:{},...i?{chartEx:Sk(`chartEx`,i,[`render`])}:{},...a?{tiff:Sk(`tiff`,a,[`render`])}:{}})}var wk=t((()=>{cC()}));function Tk(e){return[e.maxArchiveEntryBytes===null?0n:BigInt(e.maxArchiveEntryBytes),e.maxTotalInflatedBytes===null?0n:BigInt(e.maxTotalInflatedBytes),e.maxArchiveEntries===null?0n:BigInt(e.maxArchiveEntries)]}var Ek=t((()=>{re(),Object.freeze({maxArchiveEntryBytes:V,maxTotalInflatedBytes:H,maxArchiveEntries:ee})}));function Dk(e){if(!e||typeof e!=`object`)return!1;let t=e.kind;return t===`ooxmlSvgDecoded`||t===`ooxmlSvgDecodeFailed`}var Ok,kk=t((()=>{Zv(),Ok=class{nextId=1;pending=new Map;constructor(e){this.post=e}decode=async(e,t={})=>{let n=this.nextId++,r=await e.arrayBuffer();return await new Promise((e,i)=>{this.pending.set(n,{resolve:e,reject:i});try{this.post({kind:`ooxmlDecodeSvg`,decodeId:n,bytes:r,...t},[r])}catch(e){this.pending.delete(n),i(e instanceof Error?e:Error(String(e)))}})};accept(e){if(!Dk(e))return!1;let t=this.pending.get(e.decodeId);return t?(this.pending.delete(e.decodeId),e.kind===`ooxmlSvgDecoded`?t.resolve(e.bitmap):t.reject(Error(e.message)),!0):(e.kind===`ooxmlSvgDecoded`&&Xv(e.bitmap),!0)}dispose(e=Error(`SVG decode worker disposed`)){for(let t of this.pending.values())t.reject(e);this.pending.clear()}}}));function Ak(e,t){if(!Number.isSafeInteger(e)||e<=0)throw RangeError(`${t} must be a positive safe integer`)}function jk(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 Mk,Nk,Pk,Fk=t((()=>{tT(),Tw(),Mk=`ooxml-pull-v1`,Nk=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,Ak(this.maxRetainedBytes,`max retained lease bytes`),Ak(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}},Pk=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){jk(e.sessionId),Ak(e.operationId,`operation id`),Ak(e.generation,`generation`),Ak(e.maxByteCredit,`max byte credit`),e.wireLeaseIdStart!==void 0&&Ak(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=Vw(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(Ak(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:Mk,...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){Ak(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(Ak(e,`byte credit`),e>this.options.maxByteCredit)throw RangeError(`byte credit exceeds host maximum`)}accepted(e,t,n=!1){return{kind:`accepted`,protocol:Mk,...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:Mk,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}}}})),Ik=t((()=>{cw(),_w(),tT(),Tw(),rT(),aT(),cC(),wk(),Ek(),O(),Ar(),re(),kk(),Fk()})),Lk=t((()=>{})),Rk,zk,Bk,Vk,Hk,Uk=t((()=>{Rk=[`L`,`R`,`AL`,`EN`,`ES`,`ET`,`AN`,`CS`,`NSM`,`BN`,`B`,`S`,`WS`,`ON`,`LRE`,`LRO`,`RLE`,`RLO`,`PDF`,`LRI`,`RLI`,`FSI`,`PDI`],zk=[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],Bk=[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],Vk=[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],Hk=[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 Wk(e){let t=0,n=zk.length-1;for(;t<n;){let r=t+n+1>>1;zk[r]<=e?t=r:n=r-1}return Bk[t]}function Gk(e){return Rk[Wk(e)]}function Kk(e){return Jk.get(e)??null}function qk(e){return Yk.get(e)??null}var Jk,Yk,Xk=t((()=>{Uk(),Jk=(()=>{let e=new Map;for(let t=0;t<Vk.length;t+=2)e.set(Vk[t],Vk[t+1]);return e})(),Yk=(()=>{let e=new Map;for(let t=0;t<Hk.length;t+=3)e.set(Hk[t],{pair:Hk[t+1],type:Hk[t+2]===0?`o`:`c`});return e})()}));function Zk(e,t,n){let r=0;for(let i=t;i<n;i++){let t=e[i];if(oA(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 Qk(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(oA(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 $k(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`?cA(u().level):lA(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`:Zk(e,d+1,n[d])===1?`R`:`L`;let p=f===`R`?cA(u().level):lA(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 eA(e){return e===9001?12296:e===9002?12297:e}function tA(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(oA(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(!(oA(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}function nA(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=qk(t[i]);if(o)if(o.type===`o`){if(e.length===63)break outer;e.push({expect:eA(o.pair),pos:n})}else{let r=eA(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=uA(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=uA(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(!sA(r[a[e]]))continue;let t=e;for(;t<o&&sA(r[a[t]]);)t++;let n=e>0?uA(r[a[e-1]]):s,i=t<o?uA(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++)sA(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 rA(e,t,n){let r=e.length,i=Array(r);for(let t=0;t<r;t++)i[t]=n?.[t]??Gk(e[t]);let a=t===`rtl`?1:t===`ltr`?0:Zk(i,0,r),{pdiOf:o,initOf:s}=Qk(i),{levels:c,types:l}=$k(i,a,o),u=Array(r);for(let e=0;e<r;e++)u[e]=aA(i[e]);let d=tA(i,c,u,a,o,s),f=l.slice();for(let t of d)nA(t,e,i,f,c);let p=e=>{let t=i[e];return t===`WS`||oA(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 iA(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}var aA,oA,sA,cA,lA,uA,dA=t((()=>{Xk(),aA=e=>e===`RLE`||e===`LRE`||e===`RLO`||e===`LRO`||e===`PDF`||e===`BN`,oA=e=>e===`LRI`||e===`RLI`||e===`FSI`,sA=e=>e===`B`||e===`S`||e===`WS`||e===`ON`||e===`FSI`||e===`LRI`||e===`RLI`||e===`PDI`,cA=e=>e&1?e+2:e+1,lA=e=>e&1?e+1:e+2,uA=e=>e===`L`?`L`:e===`R`||e===`EN`||e===`AN`?`R`:null}));function fA(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}}function pA(){return new mA}var mA,hA=t((()=>{Lk(),Xk(),dA(),mA=class{computeLevels(e,t,n){let{cps:r,units:i,starts:a}=fA(e),{levels:o,paragraphLevel:s}=rA(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 iA(e,t,n)}getMirror(e){return Kk(e)}}}));function gA(){return _A===null&&(_A=pA()),_A}var _A,vA=t((()=>{hA(),_A=null}));function yA(e){return xA.test(e)}function bA(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:gA().reorderVisual(i,0,r),segLevels:i}}var xA,SA=t((()=>{vA(),Lk(),xA=/[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF\u200F\u202B\u202E\u2067]|[\u{10800}-\u{10FFF}\u{1E800}-\u{1EFFF}]/u})),CA=t((()=>{Lk(),vA(),SA()}));function wA(e){let t=new Set;for(let n of e)t.add(n.codePointAt(0));return t}function TA(e){return{enabled:e?.kinsoku!==!1,lineStartForbidden:wA(e?.noLineBreaksBefore??EA),lineEndForbidden:wA(e?.noLineBreaksAfter??DA)}}var EA,DA,OA,kA=t((()=>{EA=`”’)〕]}〉》」』】〙〗〟⦆»、。,.・:;/?!‐ー゠–〜~ぁぃぅぇぉっゃゅょゎゕゖァィゥェォッャュョヮヵヶㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ゝゞヽヾ゛゜%‰℃°′″。」、・ー゙゚!),.:;?]}⦆`,DA=`“‘(〔[{〈《「『【〘〖〝⦅«$¥#£¢([{⦅`,OA=TA()}));function AA(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}var jA=t((()=>{})),MA=t((()=>{kA(),jA()}));function NA(e){return e>=12288&&e<=40959||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65280&&e<=65519}var PA=t((()=>{})),FA,IA,LA,RA,zA,BA=t((()=>{FA=`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(`.`),IA=[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],LA=[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],RA=[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],zA=[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 VA(e){let t=0,n=IA.length-1;for(;t<n;){let r=t+n+1>>1;IA[r]<=e?t=r:n=r-1}return FA[LA[t]]}function HA(e){let t=0,n=RA.length-1;if(n<0||e<RA[0])return!1;for(;t<n;){let r=t+n+1>>1;RA[r]<=e?t=r:n=r-1}return e<zA[t]}function UA(e,t){let n=VA(e);if(n===`OP`)return!0;let r=VA(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`&&!HA(t)||n===`CP`&&!HA(e)&&(a||r===`NU`))}var WA=t((()=>{BA()}));function GA(e){return e===`my`||e===`bo`}function KA(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 qA(e){return e===3633||e>=3635&&e<=3642||e>=3655&&e<=3662||e===3761||e>=3763&&e<=3772||e>=3784&&e<=3790||e>=6068&&e<=6099||e===6109}function JA(e){return e<=3711?`th`:e<=3839?`lo`:e<=4095?`bo`:e<=4255?`my`:e<=6143?`km`:`my`}function YA(e){for(let t of e)if(KA(t.codePointAt(0)))return!0;return!1}function XA(e){for(let t of e){let e=t.codePointAt(0);if(KA(e))return GA(JA(e))}return!1}function ZA(e){let t=cj.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 cj.set(e,n),n}function QA(e){if(sj===null)return null;if(typeof sj==`function`){let t=sj;return n=>t(n,e)}let t=ZA(e);return t?e=>t.segment(e):null}function $A(e){if(!YA(e))return[];let t=[],n=e.length,r=0;for(;r<n;){let i=e.codePointAt(r),a=i>65535?2:1;if(!KA(i)){r+=a;continue}let o=JA(i),s=GA(o),c=r+a;for(;c<n;){let t=e.codePointAt(c);if(!KA(t)||GA(JA(t))!==s)break;c+=t>65535?2:1}let l=e.slice(r,c);if(s)for(let e of oj(l))t.push(r+e);else{let e=QA(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 ej(e){if(!YA(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;KA(r)!==KA(n)&&!tj(r)&&!tj(n)&&t.push(i),r=n,i+=a}return t}function tj(e){return e===32||e===9||e===10||e===13||e===12288||e===160||e===8199||e===8239||e===8288||e===65279}function nj(e,t){if(!YA(e))return[];let n=e.length,r=new Set($A(e)),i=new Set(oj(e)),a=e=>{i.has(e)&&r.add(e)};for(let t of ej(e))a(t);if(t?.cjk){let t=e.codePointAt(0),r=t>65535?2:1;for(;r<n;){let n=e.codePointAt(r);(NA(n)||NA(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=rj(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 rj(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 ij(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}function aj(){if(lj!==void 0)return lj;let e=null;try{typeof Intl<`u`&&typeof Intl.Segmenter==`function`&&(e=new Intl.Segmenter(void 0,{granularity:`grapheme`}))}catch{e=null}return lj=e,e}function oj(e){let t=aj();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}var sj,cj,lj,uj=t((()=>{PA(),cj=new Map})),dj,fj,pj,mj=t((()=>{dj=[`U`,`R`,`Tu`,`Tr`],fj=[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],pj=[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 hj(e){let t=0,n=fj.length-1;for(;t<n;){let r=t+n+1>>1;fj[r]<=e?t=r:n=r-1}return pj[t]}function gj(e){return dj[hj(e)]}function _j(e){return xj.get(e)??null}function vj(e){return Sj.get(e)??null}function yj(e){return Cj.has(e)}function bj(e){return wj.has(e)}var xj,Sj,Cj,wj,Tj=t((()=>{mj(),xj=new Map([[65292,65040],[12289,65041],[12290,65042]]),Sj=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]]),Cj=new Set([65307]),wj=new Set([12540,12316,65374])}));function Ej(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 Dj(e,t){return e.replace(/(^|\s)\d*\.?\d+(?:px|pt|pc|in|cm|mm|q|em|rem|%)(?:\/[^\s]+)?(?=\s)/i,`$1${t}`)}function Oj(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 kj(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 Aj(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 jj(e,t){let n=Ej(e);return n===null?t():Aj(n,t)}function Mj(e){let t=Vj.get(e);if(t)return t;let n=e.createElement(`canvas`);n.width=zj,n.height=zj,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),Vj.set(e,r),r}function Nj(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 Pj(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),Nj(e,i)}function Fj(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 Ij(e,t,n,r){let i=(e,t,n,r)=>{let i=Math.max(Fj(e,t),Fj(n,r));return Math.min(Fj(e,n),Fj(e,r),Fj(t,n),Fj(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 Lj(e,t){let n=Ej(e);if(n===null||typeof document>`u`)return!1;let r=n.ownerDocument??document,i=Mj(r),a=kj(n),o=`${i.epoch}:${Dj(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=Dj(e.font,`${Bj}px`),d.fillStyle=`#000`,d.textAlign=`center`,d.textBaseline=`middle`;let n=Oj(a,!1),r=Oj(a,!0),i=Pj(d,t,n),o=Pj(d,t,n),s=Pj(d,t,r),l=Pj(d,t,r);c=i!==null&&o!==null&&s!==null&&l!==null&&Ij(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 Rj(e,t){let n=e.canvas;return n?.style?jj(e,()=>{let r=n.style,i=r.fontFeatureSettings;r.fontFeatureSettings=Oj(kj(n)),e.font=e.font;try{return t()}finally{r.fontFeatureSettings=i,e.font=e.font}}):t()}var zj,Bj,Vj,Hj=t((()=>{zj=256,Bj=200,Vj=new WeakMap}));function Uj(e,t){return{top:e-t*.85,height:t*1.1}}var Wj=t((()=>{}));function Gj(e,t,n={}){if(Math.abs(t)<=.5)return null;let r=n.firstContentSi??0,i=n.lastDrawnSi??e.length-1,a=n.minPerGap??-1/0,o=n.isGapChar??NA,s=n.isWhitespace??Kj,c=n.seaClusterGaps??!1,l=[];for(let t=r;t<e.length;t++){let n=e[t];if(n===void 0)continue;if(n.text===void 0){l.push({si:t,off:0,ws:!1});continue}let r=0;for(let e of n.text){let n=e.codePointAt(0);l.push({si:t,off:r,cp:n,ws:s(n)}),r++}}let u=-1,d=-1;for(let e=0;e<l.length;e++)l[e].ws||(u===-1&&(u=e),d=e);if(u===-1||u===d)return null;let f=Array(l.length).fill(!1),p=0;for(let e=u;e<d;e++){let t=l[e];if(t.si===i)continue;if(t.ws){f[e]=!0,p++;continue}let n=l[e+1];if(n.ws)continue;let r=t.cp,a=n.cp;(r!==void 0&&o(r)||a!==void 0&&o(a)||c&&r!==void 0&&a!==void 0&&KA(r)&&KA(a)&&!qA(a))&&(f[e]=!0,p++)}if(p===0)return null;let m=t/p;t<0&&m<a&&(m=a);let h=new Map;for(let e of l)e.cp!==void 0&&h.set(e.si,(h.get(e.si)??0)+1);let g=new Map;for(let e=0;e<l.length;e++){if(!f[e])continue;let t=l[e],n=g.get(t.si);n||(n={splitBefore:[],trailingGap:!1,internalStretch:0},g.set(t.si,n));let r=h.get(t.si)??0;t.cp===void 0||t.off===r-1?n.trailingGap=!0:(n.splitBefore.push(t.off+1),n.internalStretch+=m)}return{perGap:m,perSeg:g}}var Kj,qj=t((()=>{PA(),uj(),Kj=e=>e===32||e===12288}));function Jj(e,t,n,r,i=0){let a=[],o=0,s=0;for(let c of t)a.push({text:e.slice(o,c).join(``),dx:r(e.slice(0,o).join(``))+o*i+s*n}),o=c,s++;return a.push({text:e.slice(o).join(``),dx:r(e.slice(0,o).join(``))+o*i+s*n}),a}var Yj=t((()=>{}));function Xj(e){let t=``;for(let n of e){let e=n.codePointAt(0);e!==void 0&&e>32&&(t+=n)}let n=/^([a-zA-Z][a-zA-Z0-9+.-]*):/.exec(t);return n?n[1].toLowerCase():null}var Zj,Qj=t((()=>{Zj=[`http`,`https`,`mailto`,`tel`]})),$j=t((()=>{O(),B(),ue(),he(),De(),Pe(),Dp(),ao(),Ap(),Bp(),Ki(),G_(),Q_(),I_(),ix(),Qb(),Ey(),Gs(),gi(),Wy(),ry(),Iy(),Ar(),$y(),_y(),Ci(),ux(),hx(),jy(),_x(),yS(),ha(),MS(),mc(),aC(),jt(),Yc(),cC(),XC(),$C(),tw(),ia(),Ii(),iw(),ow(),Ik(),CA(),MA(),PA(),WA(),uj(),Tj(),Hj(),Ga(),Wj(),qj(),Yj(),Ja(),Qj(),M()})),eM=t((()=>{De()}));function*tM(e){for(let t of e?.paragraphs??[])for(let e of t.runs)e.type===`text`&&(yield e.text)}function*nM(e){for(let t of e?.paragraphs??[]){t.defFontFamily&&(yield t.defFontFamily);for(let e of t.runs)e.type===`text`&&(e.fontFamily&&(yield e.fontFamily),e.fontFamilyEa&&(yield e.fontFamilyEa),e.fontFamilySym&&(yield e.fontFamilySym))}}function*rM(e){for(let t of e.elements)if(t.type===`shape`)yield*tM(t.textBody);else if(t.type===`table`)for(let e of t.rows)for(let t of e.cells)yield*tM(t.textBody);else if(t.type===`chart`){t.chart.title&&(yield t.chart.title);for(let e of t.chart.categories)yield e;for(let e of t.chart.series)e.name&&(yield e.name)}}function iM(e,t,n,r){return Se(rM(e),_e(t)??_e(n)??r)}var aM,oM,sM=t((()=>{$j(),eM(),aM={...me,...Ee},oM=class e{scripts;families;constructor(e,t,n,r,i,a=new Set){this.majorFont=e,this.minorFont=t,this.fallback=i,this.scriptNames=a;let o=_e(e)??_e(t)??i??null;this.scripts=n??new Y(o),this.families=r??new Set,e&&this.families.add(e),t&&this.families.add(t)}addSlide(e){this.scripts.addText(rM(e));for(let t of xe(rM(e),_e(this.majorFont)??_e(this.minorFont)??this.fallback??null))this.scriptNames.add(t);for(let t of e.elements)if(t.type===`shape`)for(let e of nM(t.textBody))this.families.add(e);else if(t.type===`table`)for(let e of t.rows)for(let t of e.cells)for(let e of nM(t.textBody))this.families.add(e)}names(){return[...new Set([...this.families,...this.scripts.names(),...this.scriptNames])]}withSlide(t){let n=new e(this.majorFont,this.minorFont,this.scripts.clone(),new Set(this.families),this.fallback,new Set(this.scriptNames));return n.addSlide(t),n}}}));sM();function cM(e,t){if(!Number.isSafeInteger(e)||e<0)throw Error(`${t} must be a non-negative safe integer`)}function lM(e,t,n){return cM(e,`resource measurement`),cM(t,`resource measurement`),cM(n,`resource measurement limit`),e>n||t>n||t>n-e?n===2**53-1?n:n+1:e+t}function uM(e,t=2**53-1){cM(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=lM(n,a,t),n>t)return n}return n}function dM(e,t=2**53-1){cM(t,`resource measurement limit`);let n=lM(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=lM(n,a,t),n>t)return n}return n}function fM(e,t){return lM(0,e,t)}function pM(e,t=2**53-1,n=!1){if(cM(t,`resource measurement limit`),e===null)return{jsonBytes:fM(4,t),stringValueUtf8Bytes:0};if(typeof e==`string`)return{jsonBytes:dM(e,t),stringValueUtf8Bytes:uM(e,t)};if(typeof e==`boolean`)return{jsonBytes:fM(e?4:5,t),stringValueUtf8Bytes:0};if(typeof e==`number`)return{jsonBytes:fM((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=fM(2,t),r=0;for(let i=0;i<e.length;i+=1){i!==0&&(n=lM(n,1,t));let a=pM(e[i],t,!0);n=lM(n,a.jsonBytes,t),r=lM(r,a.stringValueUtf8Bytes,t)}return{jsonBytes:n,stringValueUtf8Bytes:r}}if(typeof e==`object`){let n=fM(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=lM(n,1,t)),n=lM(n,dM(a,t),t),n=lM(n,1,t);let e=pM(o,t);n=lM(n,e.jsonBytes,t),r=lM(r,e.stringValueUtf8Bytes,t)}return{jsonBytes:n,stringValueUtf8Bytes:r}}return{jsonBytes:n?fM(4,t):0,stringValueUtf8Bytes:0}}$j(),Ik();const mM=Object.freeze({archiveEntryCount:0,declaredInflatedBytes:0,distinctInflatedBytes:0,operationInflatedBytes:0}),hM=W;function gM(e,t){if(e!==null&&typeof e!=`string`)throw Error(`invalid PPTX presentation bootstrap ${t}`)}function _M(e,t){if(!e||typeof e!=`object`||Array.isArray(e))throw Error(`invalid PPTX presentation bootstrap slide at ${t}`);let n=e;if(n.index!==t)throw Error(`invalid PPTX presentation bootstrap slide index ${n.index}`);if(n.partName!==void 0&&typeof n.partName!=`string`)throw Error(`invalid PPTX presentation bootstrap slide partName at ${t}`);return Object.freeze({index:n.index,...n.partName===void 0?{}:{partName:n.partName}})}function vM(e,t){if(!e||typeof e!=`object`||Array.isArray(e))throw Error(`invalid PPTX presentation bootstrap embedded font at ${t}`);let n=e;if(typeof n.fontName!=`string`||n.fontName.length===0||![`regular`,`bold`,`italic`,`boldItalic`].includes(n.style??``)||typeof n.partPath!=`string`||n.partPath.length===0||n.partPath.startsWith(`/`)||n.partPath.split(`/`).includes(`..`)||![`application/x-font-ttf`,`application/x-fontdata`].includes(n.contentType??``))throw Error(`invalid PPTX presentation bootstrap embedded font fields at ${t}`);return Object.freeze({fontName:n.fontName,style:n.style,partPath:n.partPath,contentType:n.contentType})}function yM(e){if(!e||typeof e!=`object`||Array.isArray(e))throw Error(`invalid PPTX presentation bootstrap payload`);let t=e;if(!Number.isSafeInteger(t.slideCount)||(t.slideCount??-1)<0||!Number.isSafeInteger(t.slideWidth)||(t.slideWidth??0)<=0||!Number.isSafeInteger(t.slideHeight)||(t.slideHeight??0)<=0||!Array.isArray(t.embeddedFonts)||!Array.isArray(t.slides)||t.slides.length!==t.slideCount)throw Error(`invalid PPTX presentation bootstrap dimensions or slide count`);return gM(t.defaultTextColor,`defaultTextColor`),gM(t.majorFont,`majorFont`),gM(t.minorFont,`minorFont`),gM(t.hlinkColor,`hlinkColor`),gM(t.folHlinkColor,`folHlinkColor`),Object.freeze({slideCount:t.slideCount,slideWidth:t.slideWidth,slideHeight:t.slideHeight,defaultTextColor:t.defaultTextColor,majorFont:t.majorFont,minorFont:t.minorFont,hlinkColor:t.hlinkColor,folHlinkColor:t.folHlinkColor,embeddedFonts:Object.freeze(t.embeddedFonts.map(vM)),slides:Object.freeze(t.slides.map(_M))})}function bM(e){return Object.freeze({type:`media`,x:e.x,y:e.y,width:e.width,height:e.height,rotation:e.rotation,flipH:e.flipH,flipV:e.flipV,mediaKind:e.mediaKind,posterPath:e.posterPath,posterMimeType:e.posterMimeType,mediaPath:e.mediaPath,mimeType:e.mimeType})}function xM(e){return Object.freeze({...e.id===void 0?{}:{id:e.id},...e.authorId===void 0?{}:{authorId:e.authorId},...e.author===void 0?{}:{author:e.author},...e.date===void 0?{}:{date:e.date},...e.status===void 0?{}:{status:e.status},text:e.text})}function SM(e){return Object.freeze({...e})}function CM(e){return Object.freeze({...e.authorId===void 0?{}:{authorId:e.authorId},...e.modernAuthorId===void 0?{}:{modernAuthorId:e.modernAuthorId},...e.id===void 0?{}:{id:e.id},...e.index===void 0?{}:{index:e.index},...e.author===void 0?{}:{author:e.author},...e.date===void 0?{}:{date:e.date},...e.x===void 0?{}:{x:e.x},...e.y===void 0?{}:{y:e.y},...e.anchors?.length?{anchors:Object.freeze(e.anchors.map(SM))}:{},...e.status===void 0?{}:{status:e.status},text:e.text,...e.replies?.length?{replies:Object.freeze(e.replies.map(xM))}:{}})}function wM(e,t){for(let n of e.slides)for(let e of n.mediaElements){if(e.mediaPath===t)return e.mimeType;if(e.posterPath===t)return e.posterMimeType}return``}function TM(e,t){if(e.index!==t.index||e.partName!==t.partName)throw Error(`PPTX pulled slide identity does not match bootstrap index ${t.index}`);return Object.freeze({index:t.index,...t.partName===void 0?{}:{partName:t.partName},notes:e.notes??null,hidden:e.hidden??!1,mediaElements:Object.freeze(e.elements.filter(e=>e.type===`media`).map(bM)),...e.comments?.length?{comments:Object.freeze(e.comments.map(CM))}:{}})}function EM(e,t,n){if(!(e<=t))throw new D(`PPTX presentation preflight exceeded its hard limit of ${t} projected bytes`,{stage:`parsing`,violation:{format:`pptx`,operation:`presentation-preflight`,resource:`presentation-preflight`,metric:`projected-bytes`,limit:t,observed:Math.min(e,t+1),configurable:!1,usage:n}})}var DM=class{slideCountValue;slideWidthValue;slideHeightValue;defaultTextColorValue;majorFontValue;minorFontValue;hlinkColorValue;folHlinkColorValue;embeddedFontsValue;descriptors;slides=[];fonts;fontPreloadNames;fontProjectionBytes;projectionBytesValue;limit;pending=null;finished=null;constructor(e,t={}){let n=yM(e),r=t.hardLimitForTesting??hM;if(!Number.isSafeInteger(r)||r<=0||r>hM)throw Error(`invalid PPTX presentation preflight test limit`);this.limit=r,this.slideCountValue=n.slideCount,this.slideWidthValue=n.slideWidth,this.slideHeightValue=n.slideHeight,this.defaultTextColorValue=n.defaultTextColor,this.majorFontValue=n.majorFont,this.minorFontValue=n.minorFont,this.hlinkColorValue=n.hlinkColor,this.folHlinkColorValue=n.folHlinkColor,this.embeddedFontsValue=n.embeddedFonts,this.descriptors=[...n.slides],this.fonts=new oM(this.majorFontValue,this.minorFontValue,void 0,void 0,t.cjkFallback),this.fontPreloadNames=Object.freeze(this.fonts.names()),this.fontProjectionBytes=pM(this.fontPreloadNames,this.limit).jsonBytes,this.projectionBytesValue=pM({slideCount:this.slideCountValue,slideWidth:this.slideWidthValue,slideHeight:this.slideHeightValue,defaultTextColor:this.defaultTextColorValue,majorFont:this.majorFontValue,minorFont:this.minorFontValue,hlinkColor:this.hlinkColorValue,folHlinkColor:this.folHlinkColorValue,embeddedFonts:this.embeddedFontsValue,remainingSlides:this.descriptors,slides:[],fontPreloadNames:this.fontPreloadNames},this.limit).jsonBytes,EM(this.projectionBytesValue,this.limit,mM)}get acceptedSlideCount(){return this.finished?.slideCount??this.slides.length}get projectedBytes(){return this.projectionBytesValue}get remainingDescriptorCount(){return this.descriptors.reduce((e,t)=>e+Number(t!==void 0),0)}get latestSlide(){return this.slides[this.slides.length-1]}get currentFontPreloadNames(){return this.fontPreloadNames}snapshot(){if(this.finished)return this.finished;if(this.pending)throw Error(`PPTX presentation preflight has an uncommitted slide`);return Object.freeze({slideCount:this.slideCountValue,slideWidth:this.slideWidthValue,slideHeight:this.slideHeightValue,defaultTextColor:this.defaultTextColorValue,majorFont:this.majorFontValue,minorFont:this.minorFontValue,hlinkColor:this.hlinkColorValue,folHlinkColor:this.folHlinkColorValue,embeddedFonts:this.embeddedFontsValue,slides:Object.freeze([...this.slides]),fontPreloadNames:this.fontPreloadNames})}addSlide(e,t=mM){this.prepareSlide(e,t).commit()}prepareSlide(e,t=mM){if(this.finished)throw Error(`PPTX presentation preflight is already finished`);if(this.pending)throw Error(`PPTX presentation preflight already has a prepared slide`);let n=this.slides.length,r=this.descriptors[n];if(!r)throw Error(`PPTX presentation preflight received an extra slide`);let i=TM(e,r),a=this.fonts.withSlide(e),o=Object.freeze(a.names()),s=pM(o,this.limit).jsonBytes,c=pM(i,this.limit).jsonBytes,l=this.projectionBytesValue-this.fontProjectionBytes-pM(r,this.limit).jsonBytes+4;l=lM(l,s,this.limit),l=lM(l,c,this.limit),this.slides.length!==0&&(l=lM(l,1,this.limit));let u=pM({slide:i,fontPreloadNames:o},this.limit).jsonBytes,d=lM(this.projectionBytesValue,u,this.limit);EM(Math.max(d,l),this.limit,t);let f={state:`prepared`,fact:i,fonts:a,fontNames:o,fontBytes:s,committedBytes:l};return this.pending=f,{projectedBytes:d,commit:()=>{if(f.state!==`committed`){if(f.state===`rolled-back`)throw Error(`PPTX presentation preflight cannot commit a rolled-back slide`);if(this.pending!==f)throw Error(`PPTX presentation preflight prepared slide is stale`);this.descriptors[n]=void 0,this.slides.push(f.fact),this.fonts=f.fonts,this.fontPreloadNames=f.fontNames,this.fontProjectionBytes=f.fontBytes,this.projectionBytesValue=f.committedBytes,f.state=`committed`,this.pending=null}},rollback:()=>{if(f.state!==`rolled-back`){if(f.state===`committed`)throw Error(`PPTX presentation preflight cannot roll back a committed slide`);if(this.pending!==f)throw Error(`PPTX presentation preflight prepared slide is stale`);f.state=`rolled-back`,this.pending=null}}}}finish(){if(this.finished)return this.finished;if(this.pending)throw Error(`PPTX presentation preflight has an uncommitted slide`);if(this.slides.length!==this.slideCountValue)throw Error(`PPTX presentation preflight is incomplete: ${this.slides.length}/${this.slideCountValue} slides`);return this.finished=Object.freeze({slideCount:this.slideCountValue,slideWidth:this.slideWidthValue,slideHeight:this.slideHeightValue,defaultTextColor:this.defaultTextColorValue,majorFont:this.majorFontValue,minorFont:this.minorFontValue,hlinkColor:this.hlinkColorValue,folHlinkColor:this.folHlinkColorValue,embeddedFonts:this.embeddedFontsValue,slides:Object.freeze([...this.slides]),fontPreloadNames:this.fontPreloadNames}),this.descriptors=[],this.slides=[],this.projectionBytesValue=pM(this.finished,this.limit).jsonBytes,this.finished}};function OM(e,t){if(!Number.isSafeInteger(e)||e<=0)throw TypeError(`${t} must be a positive safe integer`)}function kM(e){if(!Number.isSafeInteger(e)||e<0)throw TypeError(`cache entry weight must be a non-negative safe integer`)}var AM=class{#e;#t;#n;#r;#i=new Map;#a=new Map;#o=0;constructor(e){OM(e.maxEntries,`maxEntries`),OM(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),kM(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{}}};$j(),Ik();var jM=class{#e;#t;#n;#r=0;#i=Promise.resolve();#a;#o;constructor(e){if(!Number.isSafeInteger(e.slideCount)||e.slideCount<0)throw TypeError(`slideCount must be a non-negative safe integer`);this.#e=e.slideCount,this.#t=e.loadSlide,this.#n=new AM({maxEntries:e.maxCachedSlides,maxWeight:e.maxCachedStructuralBytes,measure:e=>pM(e).jsonBytes})}get slideCount(){return this.#e}get usage(){return this.#n.usage}withSlide(e,t){this.#c(e);let n=this.#r,r=this.#i.then(async()=>{if(n!==this.#r)throw this.#a?this.#a:Error(`PPTX slide repository generation is stale`);if(this.#a)throw this.#a;let r=await this.#s(e,n);try{return await t(r)}catch(e){let t=MM(e);throw t?(this.#l(t,n),this.#o===n?this.#a??t:t):e}});return this.#i=r.then(()=>void 0,()=>void 0),r}async#s(e,t){return this.#n.getOrLoad(e,async()=>{let n;try{n=await this.#t(e)}catch(e){let n=MM(e);throw n?(this.#l(n,t),this.#o===t?this.#a??n:n):e}if(this.#o===t&&this.#a)throw this.#a;return n})}clear(){this.#r+=1,this.#a=void 0,this.#o=void 0,this.#n.clear()}#c(e){if(!Number.isSafeInteger(e)||e<0||e>=this.#e)throw RangeError(`Slide index ${e} out of range (count: ${this.#e})`)}#l(e,t){t!==this.#r||this.#a||(this.#a=e,this.#o=t,this.#r+=1,this.#n.clear())}};function MM(e){return e instanceof D?e:zw(e)}Ik();function NM(e){try{return Ow(e(e=>e.slide_cursor_resource_usage()))}catch(e){if(String(e).includes(`slide cursor usage is unavailable`))return;throw e}}function PM(e,t,n,r,i){let a,o;try{if(i){if(!r)throw Error(`slide payload is missing before acknowledgement`);let t=i(n,r,NM(e));typeof t==`function`?a=t:t&&({rollback:a,commit:o}=t)}e(e=>e.acknowledge_slide(t.operationId,t.generation)),o?.()}catch(e){try{a?.()}catch{}throw e}}function FM(e,t,n,r){let i;try{let a=e(e=>e.pull_slide(t,n.operationId,n.generation,U));return i=JSON.parse(new TextDecoder().decode(a)),PM(e,n,t,i,r),i}catch(t){try{e(e=>e.cancel_slide())}catch{}throw i=void 0,t}}$j(),Ik();var IM=class{coordinatorGeneration=new Nk;sessions=new Map;pendingOpens=new Map;operationTail=Promise.resolve();resourceFailure;lifecycleState=`ready`;resetBarrier;resetIdentities=new Map;constructor(e,t,n=e=>e(this.requireArchive())){this.archive=e,this.acceptSlide=t,this.executeArchive=n}get coordinator(){return this.coordinatorGeneration}reserveOpen(e){if(this.assertReady(),LM(e),this.pendingOpens.has(e.sessionId)||this.sessions.has(e.sessionId))throw Error(`slide pull session id is already reserved`);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){if(this.assertReady(),this.resourceFailure)throw this.resourceFailure;if(!Number.isSafeInteger(e)||e<0)throw RangeError(`slide index must be a non-negative safe integer`);let n=this.pendingOpens.get(t.sessionId);if(!n||!RM(n.identity,t))throw Error(`slide pull session open reservation is stale or missing`);let r,i=new Promise(e=>{r=e}),a=this.operationTail.then(()=>this.coordinator.enqueue(async()=>{if(n.canceled)throw Error(`slide pull session open was canceled`);let i,a=!1,o=new Pk({...t,maxByteCredit:U,coordinator:this.coordinator,driver:{pull:n=>{let r;try{r=this.executeArchive(r=>r.pull_slide(e,t.operationId,t.generation,n))}catch(e){throw xw(e,n,U)||(this.latchResourceFailure(e),e)}let o=nT(r);return this.acceptSlide&&(i=JSON.parse(new TextDecoder().decode(new Uint8Array(o)))),a=!0,{payload:o,byteLength:o.byteLength,done:!0,transfer:[o]}},measureChunk:({payload:e})=>e.byteLength,acknowledge:()=>{if(!a)throw Error(`slide unit is not awaiting acknowledgement`);try{PM(this.executeArchive,t,e,i,this.acceptSlide)}catch(e){throw this.latchResourceFailure(e),e}a=!1,i=void 0,this.sessions.delete(t.sessionId),r()},cancel:async()=>{try{this.archive()&&await this.executeArchive(e=>e.cancel_slide())}finally{i=void 0,a=!1,this.sessions.delete(t.sessionId),r()}},close:async()=>{try{this.archive()&&await this.executeArchive(e=>e.cancel_slide())}finally{i=void 0,a=!1,this.sessions.delete(t.sessionId),r()}},resourceUsage:()=>{try{return this.readResourceUsage()}catch(e){throw this.latchResourceFailure(e),e}}}});this.sessions.set(t.sessionId,{host:o,identity:t}),this.pendingOpens.delete(t.sessionId)}));this.operationTail=a.then(()=>i,()=>void 0);try{await a}catch(e){throw this.pendingOpens.delete(t.sessionId),r(),e}}async postOpenedSafely(e,t,n){if(this.lifecycleState!==`ready`){try{n(this.lifecycleError())}catch{}return}try{t()}catch(t){await this.closeIdentity(e);try{n(t)}catch{}}}dispatch(e,t){if(this.lifecycleState!==`ready`)return t(this.responseDuringReset(e)),Promise.resolve();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=RM(r.identity,e);return n&&(r.canceled=!0),t(n?{protocol:Mk,kind:`accepted`,sessionId:e.sessionId,operationId:e.operationId,generation:e.generation,requestId:e.requestId,command:e.kind}:this.staleLifecycleResponse(e)),Promise.resolve()}return e.kind===`cancel`||e.kind===`close`?(t({protocol:Mk,kind:`accepted`,sessionId:e.sessionId,operationId:e.operationId,generation:e.generation,requestId:e.requestId,command:e.kind}),Promise.resolve()):(t({protocol:Mk,kind:`error`,sessionId:e.sessionId,operationId:e.operationId,generation:e.generation,requestId:e.requestId,error:Vw(Error(`slide pull session is not open`))}),Promise.resolve())}async dispatchSafely(e,t){try{await this.dispatch(e,t)}catch(n){try{t({protocol:Mk,kind:`error`,sessionId:e.sessionId,operationId:e.operationId,generation:e.generation,requestId:e.requestId,error:Vw(n)})}catch{}}}run(e){if(this.lifecycleState!==`ready`)return Promise.reject(this.lifecycleError());let t=this.operationTail.then(()=>this.coordinator.enqueue(async()=>{if(this.resourceFailure)throw this.resourceFailure;return e()})).catch(e=>{throw this.latchResourceFailure(e),e});return this.operationTail=t.then(()=>void 0,()=>void 0),t}reset(){if(this.resetBarrier)return this.resetBarrier;this.lifecycleState=`resetting`,this.captureResetIdentities();let e=this.performReset().then(()=>{this.resetIdentities.clear(),this.lifecycleState=`ready`},e=>{throw this.lifecycleState=`reset-failed`,e}).finally(()=>{this.resetBarrier===e&&(this.resetBarrier=void 0)});return this.resetBarrier=e,e}async performReset(){for(let e of this.pendingOpens.values())e.canceled=!0;let e=1;for(let{host:t,identity:n}of[...this.sessions.values()]){let r;if(await t.dispatch({protocol:Mk,kind:`close`,...n,requestId:e++},e=>{e.kind===`error`&&(r=Gw(e.error))}),r)throw r}this.sessions.clear(),await this.operationTail,this.pendingOpens.clear(),this.archive()&&await this.executeArchive(e=>e.close_presentation_session()),this.coordinatorGeneration=new Nk,this.resourceFailure=void 0}assertReady(){if(this.lifecycleState!==`ready`)throw this.lifecycleError()}lifecycleError(){let e=this.lifecycleState===`reset-failed`,t=Error(e?`slide pull worker reset failed; retry reset before new work`:`slide pull worker reset is in progress`);return t.name=`PullSessionLifecycleError`,Object.assign(t,{code:e?`ooxml-pull-reset-failed`:`ooxml-pull-resetting`})}captureResetIdentities(){for(let{identity:e}of this.sessions.values())this.resetIdentities.set(e.sessionId,e);for(let{identity:e}of this.pendingOpens.values())this.resetIdentities.set(e.sessionId,e)}responseDuringReset(e){if(e.kind===`cancel`||e.kind===`close`){let t=this.resetIdentities.get(e.sessionId);return t&&!RM(t,e)?this.staleLifecycleResponse(e):{protocol:Mk,kind:`accepted`,sessionId:e.sessionId,operationId:e.operationId,generation:e.generation,requestId:e.requestId,command:e.kind}}return{protocol:Mk,kind:`error`,sessionId:e.sessionId,operationId:e.operationId,generation:e.generation,requestId:e.requestId,error:Vw(this.lifecycleError())}}requireArchive(){let e=this.archive();if(!e)throw Error(`Presentation not loaded`);return e}async closeIdentity(e){if(this.lifecycleState!==`ready`)return;let t=this.sessions.get(e.sessionId);if(t){await t.host.dispatch({protocol:Mk,kind:`close`,...e,requestId:1},()=>void 0);return}let n=this.pendingOpens.get(e.sessionId);n&&RM(n.identity,e)&&(n.canceled=!0)}readResourceUsage(){return NM(this.executeArchive)}latchResourceFailure(e){let t=e instanceof D?e:zw(e);t&&(this.resourceFailure??=t)}staleLifecycleResponse(e){return{protocol:Mk,kind:`error`,sessionId:e.sessionId,operationId:e.operationId,generation:e.generation,requestId:e.requestId,error:{message:`stale lifecycle targets another slide operation`,errorName:`PullSessionProtocolError`,code:`ooxml-stale-lifecycle`}}}};function LM(e){if(!Number.isSafeInteger(e.sessionId)||e.sessionId<=0)throw RangeError(`session id must be a positive safe integer`);if(!Number.isSafeInteger(e.operationId)||e.operationId<=0)throw RangeError(`operation id must be a positive safe integer`);if(!Number.isSafeInteger(e.generation)||e.generation<=0)throw RangeError(`generation must be a positive safe integer`)}function RM(e,t){return e.sessionId===t.sessionId&&e.operationId===t.operationId&&e.generation===t.generation}var zM=class{#e;constructor(e){this.#e=new AM({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 BM(e,t){let n=Math.min(e.length,t);if(n>0&&n<e.length){let t=e.charCodeAt(n-1),r=e.charCodeAt(n);t>=55296&&t<=56319&&r>=56320&&r<=57343&&n--}return e.slice(0,n)}function VM(e){let t=e??16384;if(!Number.isFinite(t)||t<0)throw RangeError(`maxTextCharacters must be a finite non-negative number.`);return Math.min(65536,Math.floor(t))}function HM(e,t){let n=VM(t),r=[],i=0,a=!1,o=!1,s=(e,t)=>{if(t&&o){if(i>=n)return a=!0,!1;r.push(`
|
|
9
|
+
`),i++}o=!0;let s=BM(e,Math.max(0,n-i));return r.push(s),i+=s.length,s.length<e.length?(a=!0,!1):!0};if(!s(`Chart type: ${e.chartType}`,!0)||e.title!==null&&!s(`Title: ${e.title}`,!0))return{text:r.join(``),truncated:a,textCharacters:i,maxTextCharacters:n};if(e.categories.length>0){if(!s(`Categories: `,!0))return{text:r.join(``),truncated:a,textCharacters:i,maxTextCharacters:n};for(let[t,o]of e.categories.entries())if(!s(`${t===0?``:`, `}${o}`,!1))return{text:r.join(``),truncated:a,textCharacters:i,maxTextCharacters:n}}for(let t of e.series){if(!s(`Series ${t.name||`(unnamed)`}: `,!0))break;for(let[e,o]of t.values.entries())if(!s(`${e===0?``:`, `}${o===null?``:o}`,!1))return{text:r.join(``),truncated:a,textCharacters:i,maxTextCharacters:n};if(a)break}return{text:r.join(``),truncated:a,textCharacters:i,maxTextCharacters:n}}const UM=new Set([`line`,`straightconnector1`]);function WM(e,t){let n=e.x+e.width/2,r=e.y+e.height/2,i=-e.rotation*Math.PI/180,a=Math.cos(i),o=Math.sin(i),s=t.x-n,c=t.y-r,l=n+a*s-o*c,u=r+o*s+a*c;return e.flipH&&(l=2*n-l),e.flipV&&(u=2*r-u),{x:l,y:u}}function GM(e,t,n){let r=n.x-t.x,i=n.y-t.y,a=r*r+i*i;if(a===0)return Math.hypot(e.x-t.x,e.y-t.y);let o=Math.max(0,Math.min(1,((e.x-t.x)*r+(e.y-t.y)*i)/a));return Math.hypot(e.x-(t.x+o*r),e.y-(t.y+o*i))}function KM(e,t,n=0){if(!Number.isFinite(t.x)||!Number.isFinite(t.y))return!1;let r=WM(e,t),i=Number.isFinite(n)&&n>0?n:0;if(e.type===`shape`&&(UM.has(e.geometry.toLowerCase())||e.width===0||e.height===0))return GM(r,{x:e.x,y:e.y},{x:e.x+e.width,y:e.y+e.height})<=i;let a=Math.min(e.x,e.x+e.width),o=Math.max(e.x,e.x+e.width),s=Math.min(e.y,e.y+e.height),c=Math.max(e.y,e.y+e.height);return r.x>=a&&r.x<=o&&r.y>=s&&r.y<=c}function*qM(e){if(e)for(let t of e.paragraphs){let e=!0;for(let n of t.runs){let t=n.type===`text`?n.text:n.type===`break`?`
|
|
10
|
+
`:`[equation]`;t&&(yield{text:t,beginsPart:e},e=!1)}}}function*JM(e){if(e.type===`shape`){yield*qM(e.textBody);return}if(e.type===`table`){for(let t of e.rows)for(let e of t.cells)yield*qM(e.textBody);return}}function YM(e,t){let n=Math.min(e.length,t);if(n>0&&n<e.length){let t=e.charCodeAt(n-1),r=e.charCodeAt(n);t>=55296&&t<=56319&&r>=56320&&r<=57343&&n--}return e.slice(0,n)}function XM(e,t){let n=[],r=0,i=!1,a=!1;for(let o of e){if(a=!0,o.beginsPart&&n.length>0){if(r>=t){i=!0;break}n.push(`
|
|
11
|
+
`),r++}let e=Math.max(0,t-r),s=YM(o.text,e);if(n.push(s),r+=s.length,s.length<o.text.length){i=!0;break}}return a?{text:n.join(``),truncated:i,textCharacters:r}:{truncated:!1,textCharacters:0}}function ZM(e,t,n,r={}){if(!Number.isFinite(n.x)||!Number.isFinite(n.y))throw RangeError(`PPTX hit-test point must contain finite coordinates.`);let i=r.maxTextCharacters??16384;if(!Number.isFinite(i)||i<0)throw RangeError(`maxTextCharacters must be a finite non-negative number.`);let a=Math.min(65536,Math.floor(i)),o=r.tolerance??0;if(!Number.isFinite(o)||o<0)throw RangeError(`tolerance must be a finite non-negative number.`);for(let r=t.elements.length-1;r>=0;r--){let i=t.elements[r];if(!KM(i,n,o))continue;let s=i.type===`chart`?HM(i.chart,a):XM(JM(i),a);return{format:`pptx`,kind:`element`,slideIndex:e,elementIndex:r,origin:t.elementSources?.[r]?.origin??`unknown`,elementType:i.type,point:{...n},bounds:{x:i.x,y:i.y,width:i.width,height:i.height,rotation:i.rotation,flipH:i.flipH,flipV:i.flipV},...i.type===`shape`?{...i.id===void 0?{}:{shapeId:i.id},...i.name===void 0?{}:{name:i.name},geometry:i.geometry}:{},...s.text===void 0?{}:{text:s.text},...i.type===`picture`?{mimeType:i.mimeType}:{},...i.type===`media`?{mimeType:i.mimeType,mediaKind:i.mediaKind}:{},...i.type===`table`?{rowCount:i.rows.length,columnCount:i.cols.length}:{},...i.type===`chart`?{seriesCount:i.chart.series.length}:{},truncated:s.truncated,truncationReasons:s.truncated?[`text`]:[],textCharacters:s.textCharacters,maxTextCharacters:a}}return null}function QM(e,t){let n=new Set(t.filter(e=>e.length>0));if(n.size===0)return Object.freeze([]);let r=new Map;for(let[t,i]of e.elements.entries()){let a=i.id;if(!a||!n.has(a))continue;let o=e.elementSources?.[t]?.origin??`unknown`,s=o===`slide`?3:o===`layout`?2:+(o===`master`),c=r.get(a),l=c?.origin===`slide`?3:c?.origin===`layout`?2:+(c?.origin===`master`);c&&l>s||r.set(a,Object.freeze({elementId:a,elementIndex:t,origin:o,elementType:i.type,bounds:Object.freeze({x:i.x,y:i.y,width:i.width,height:i.height,rotation:i.rotation,flipH:i.flipH,flipV:i.flipV})}))}return Object.freeze(t.flatMap(e=>{let t=r.get(e);return t?[t]:[]}))}$j();let $M=1;function eN(e){return e.trim().toLowerCase()}async function tN(e,t){if(e.length===0)return{faces:[],aliases:new Map,authoredFamilies:new Map};let n=$M++,r=new Map;for(let t of e){let e=eN(t.fontName);r.has(e)||r.set(e,`__ooxml_pptx_${n}_${r.size+1}`)}let i=[],a=new Set;for(let n=0;n<e.length;n+=2){let o=(await Promise.all(e.slice(n,n+2).map(async e=>{try{return{family:r.get(eN(e.fontName)),bytes:await t(e.partPath),odttf:!1,weight:e.style===`bold`||e.style===`boldItalic`?`bold`:`normal`,style:e.style===`italic`||e.style===`boldItalic`?`italic`:`normal`}}catch{return null}}))).filter(e=>e!==null);if(o.length!==0)for(let e of await ce(o))a.has(e)?le([e]):(a.add(e),i.push(e))}let o=new Set(i.map(e=>eN(e.family))),s=new Map([...r].filter(([,e])=>o.has(eN(e))));return{faces:i,aliases:s,authoredFamilies:new Map([...s].map(([e,t])=>[t,e]))}}function nN(e,t){return e.filter(e=>e===null||!t.has(e.trim().toLowerCase()))}var rN=class{pending=null;wait(e,t){return this.reset(),new Promise(n=>{this.pending={parseId:e,availableSlides:t,resolve:n}})}continue(e,t){let n=this.pending;return!n||n.parseId!==e||n.availableSlides!==t?!1:(this.pending=null,n.resolve(),!0)}reset(){let e=this.pending;this.pending=null,e?.resolve()}};function iN(e){return e}var aN=t((()=>{}));function oN(e,t){if(!(t>0)||!(e.h>0))return[{y:e.y,h:Math.max(0,e.h),radius:0}];let n=Math.max(4,Math.min(24,Math.ceil(t/cN)+1)),r=e.y+e.h,i=[];for(let a=0;a<n;a++){let o=Math.sqrt(a/(n-1)),s=a===0?0:Math.sqrt((a-1)/(n-1)),c=a===n-1?1:Math.sqrt((a+1)/(n-1)),l=a===0?0:(s+o)/2,u=a===n-1?1:(o+c)/2,d=r-u*e.h;i.push({y:d,h:(u-l)*e.h,radius:t*a/(n-1)})}return i}function sN(e,t,n,r,i){for(let a of oN(n,r))e.save(),e.beginPath(),e.rect(0,a.y,i,a.h),e.clip(),e.filter=a.radius>0?`blur(${a.radius}px)`:`none`,e.drawImage(t,0,0),e.restore()}var cN,lN=t((()=>{cN=.5}));function uN(e,t){let n=e!==void 0&&e!==``?e:void 0,r=t!==void 0&&t!==``?t:void 0;if(n===void 0&&r===void 0)return;if(r!==void 0)return{kind:`internal`,ref:n??r};let i=n,a=Xj(i);return a!==null&&Zj.includes(a)?{kind:`external`,url:i}:{kind:`internal`,ref:i}}var dN=t((()=>{$j()}));function fN(e,t,n,r,i,a){let o=Math.max(18,Math.min(32,Math.min(r,i)*.25));if(e.save(),e.shadowColor=`rgba(0, 0, 0, 0.3)`,e.shadowBlur=o*.35,e.fillStyle=`rgba(20, 20, 20, 0.7)`,e.beginPath(),e.arc(t,n,o,0,Math.PI*2),e.fill(),e.shadowColor=`transparent`,e.shadowBlur=0,e.fillStyle=`#fff`,a===`paused`){e.beginPath();let r=o*.48;e.moveTo(t-r*.4,n-r),e.lineTo(t-r*.4,n+r),e.lineTo(t+r*.75,n),e.closePath(),e.fill()}else{let r=o*.2,i=o*.8,a=o*.15;e.fillRect(t-a-r,n-i/2,r,i),e.fillRect(t+a,n-i/2,r,i)}e.restore()}var pN=t((()=>{}));function mN(e){for(let t of e){let e=gN(t);if(e!==void 0&&yA(e))return!0}return!1}function hN(e,t){let n=e.length;if(n===0)return{order:[],rtl:[]};let r=``,i=Array(n),a;for(let t=0;t<n;t++){i[t]=r.length;let n=gN(e[t])??``;if(r+=n.length>0?n:``,_N(e[t])){for(a??=[];a.length<r.length;)a.push(null);a[i[t]]=`S`}}if(a)for(;a.length<r.length;)a.push(null);let{levels:o,paragraphLevel:s}=gA().computeLevels(r,t?`rtl`:`ltr`,a),{order:c,segLevels:l}=bA(o,s,i),u=Array(n);for(let e=0;e<n;e++)u[e]=(l[e]&1)==1;return{order:c,rtl:u}}var gN,_N,vN=t((()=>{$j(),gN=e=>{let t=e.text;return typeof t==`string`?t:void 0},_N=e=>`isTab`in e}));function yN(e,t,n,r,i=0,a=!1){if(e.length===0)return 0;let o=t===0,s=0,c=t;for(let t of e){let e=s>0||a?i:0;if(c+e+t.w>n){if(s>0||!o)break;c+=e+t.w,s++;break}c+=e+t.w,s++}return s===0?0:s>=e.length?e.length:AA(e.map(e=>e.ch),s,r,+!!o)}var bN=t((()=>{$j()}));function xN(e,t,n,r,i){if(r===`just`&&i)return null;let a=t-n;if(a<=.5)return null;let o=Gj(e,a,{firstContentSi:0,lastDrawnSi:e.length,isGapChar:NA,isWhitespace:SN,seaClusterGaps:r===`thaiDist`});if(!o)return null;let{perGap:s,perSeg:c}=o,l=[];for(let t=0;t<e.length;t++){let n=e[t],r=c.get(t),i=r?.trailingGap?s:0,a=r?.splitBefore;a&&a.length>0?l.push({...n,jext:i,splitBefore:[...a],perGap:s}):l.push({...n,jext:i})}return l}var SN,CN=t((()=>{$j(),SN=e=>/\s/.test(String.fromCodePoint(e))}));function wN(e){if(!e)return{r:0,g:0,b:0};let t=e.replace(/^#/,``);return t.length<6||/[^0-9a-fA-F]/.test(t.slice(0,6))?{r:0,g:0,b:0}:{r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16)}}function TN(e){let t=wN(e);return .299*t.r+.587*t.g+.114*t.b}function EN(e,t){if(!e&&!t)return null;if(!e)return t;if(!t)return e;if(e.width!==t.width)return e.width>t.width?e:t;let n=TN(e.color),r=TN(t.color);return n===r||n<r?e:t}var DN=t((()=>{}));function ON(e){let t=ax(e.length===8?e.slice(0,6):e);if(!t)return null;let n=ox(t[0],t[1],t[2]);if(e.length!==8)return n;let r=Number.parseInt(e.slice(6,8),16);if(Number.isNaN(r))return null;let i=r/255;return i*n+(1-i)}function kN(e){if(!e)return null;if(e.fillType===`solid`)return ON(e.color);if(e.fillType===`gradient`){let t=e.stops.map(e=>({p:Math.min(1,Math.max(0,e.position)),l:ON(e.color)})).filter(e=>e.l!==null).sort((e,t)=>e.p-t.p);if(t.length===0)return null;let n=t[0],r=t[t.length-1],i=n.l*n.p+r.l*(1-r.p);for(let e=0;e+1<t.length;e++)i+=(t[e].l+t[e+1].l)/2*(t[e+1].p-t[e].p);return i}return null}function AN(e){return e.name===`SmartArt`&&e.id===void 0}function jN(e,t){let n=kN(e);if(n===null||n>=.5)return null;let r=ON(t.replace(/^#/,``));return r!==null&&r>=.5?null:`#FFFFFF`}var MN=t((()=>{$j()}));function NN(e,t,n,r,i,a=0){let o=e.map(e=>e.width),s=t=>{let n=0;for(let r=t;r<e.length&&!e[r].isTab;r++)n+=o[r];return n},c=n;for(let n=0;n<e.length;n++){if(!e[n].isTab){c+=o[n];continue}let l=null;for(let e of t)e.pos>c&&(l===null||e.pos<l.pos)&&(l=e);if(l===null)if(a>0)l={pos:(Math.floor(c/a)+1)*a,algn:`l`};else{o[n]=i,c+=i;continue}let u=s(n+1),d=l.algn===`ctr`?.5:+(l.algn===`r`||l.algn===`dec`),f=l.pos-u*d;f+u>r&&(f=r-u),f<c&&(f=c),o[n]=f-c,c=f}return o}var PN=t((()=>{}));function FN(e,t,n){let r=e.textBaseline;e.textBaseline=`alphabetic`;let i=e.measureText(t);e.textBaseline=r;let a=i.fontBoundingBoxAscent,o=i.fontBoundingBoxDescent;return typeof a==`number`&&typeof o==`number`&&(a!==0||o!==0)?(a-o)/2:.38*n}function IN(e,t){let n=e.textAlign,r=e.textBaseline;e.textAlign=`center`,e.textBaseline=`middle`;let i=e.measureText(t);e.textAlign=n,e.textBaseline=r;let a=i.actualBoundingBoxAscent,o=i.actualBoundingBoxDescent;return typeof a==`number`&&typeof o==`number`?(a-o)/2:0}function LN(e,t,n,r,i,a,o=`fill`,s=zN){let c=e.textAlign,l=e.textBaseline,u=o===`stroke`?e.strokeText.bind(e):e.fillText.bind(e),d=r-FN(e,t,i),f=0;for(let o of t){let t=o.codePointAt(0)??0,l=gj(t),p=e.measureText(o).width+a,m=l===`Tr`?vj(t):null,h=l===`Tr`&&m===null&&yj(t),g=l===`U`||l===`Tu`||m!==null||h;if(bj(t)&&s(t)){let t=n+f+p/2;e.save(),e.translate(t,d),e.rotate(-Math.PI/2),e.textAlign=`center`,e.textBaseline=`middle`,Rj(e,()=>u(o,0,0)),e.restore()}else if(g){let r=m===null&&l===`Tu`?_j(t):null,a=m===null?r:m,s=a===null?o:String.fromCodePoint(a),c=n+f+p/2,h=r===null?IN(e,s)/i:0;e.save(),e.translate(c,d),e.rotate(-Math.PI/2),e.textAlign=`center`,e.textBaseline=`middle`,u(s,0,h*i),e.restore()}else if(l===`Tr`){let t=n+f+p/2;e.textAlign=`center`,e.textBaseline=`middle`,u(o,t,d)}else e.textAlign=c,e.textBaseline=`alphabetic`,u(o,n+f,r);f+=p}e.textAlign=c,e.textBaseline=l}function RN(e,t,n,r,i,a,o=`fill`){LN(e,t,n,r,i,a,o,t=>Lj(e,t))}var zN,BN=t((()=>{$j(),zN=()=>!1})),VN=n({applyDimOverlay:()=>dF,applyFrameTransform:()=>lF,applyStroke:()=>cF,buildBevelInputs:()=>QP,buildFont:()=>cP,cacheDevicePaint:()=>UP,cssFontStack:()=>iP,dropDuotoneBitmapCache:()=>px,dropImageBitmapCache:()=>Bb,getCachedBitmap:()=>Rb,getPosterBitmap:()=>rF,invalidatePptxRenderTarget:()=>fF,layoutParagraph:()=>xP,naturalWidthExceedsBbox:()=>gP,paintHighlight:()=>YN,paragraphHasRenderableContent:()=>YP,peekCachedBitmap:()=>zb,prepareSlideMath:()=>$N,projectedEffectGeometry:()=>HP,reflectedShapeTextRotation:()=>GP,renderSlide:()=>mF,renderSlideWithEmbeddedFonts:()=>hF,renderTable:()=>uF,renderTextBody:()=>ZP,resolveBulletLabel:()=>XP,resolveShapeFill:()=>XN,splitScene3dShapeTransform:()=>RP,tileAnchorOffset:()=>CP,tileSourceExtent:()=>wP,transformedEffectBounds:()=>zP});function $(e,t){return e*t}function HN(e,t,n,r){let i=xi(Math.abs(e*n),Math.abs(t*n),r);return i?{targetWidthPx:i.width,targetHeightPx:i.height}:void 0}function UN(e,t){return dx(e,t)}function WN(e,t){let n=e.targets.get(t);return n?{targetWidthPx:n.width,targetHeightPx:n.height,maxRetainedPixels:n.maxRetainedPixels}:void 0}function GN(e){return gx(e)?e.svgImagePath:e.imagePath}function KN(e,t,n,r){let i=iN(t.bullet);if(i.type!==`blip`)return;let a;for(let e of t.runs)if(e.type===`text`&&e.fontSize!=null){a=e.fontSize;break}let o=a??t.defFontSize??e.defaultFontSize??18,s=i.sizePts==null?o*((i.sizePct??100)/100):i.sizePts;return Math.max(1,s*Dt*n*r)}async function qN(e,t,n,r,i,a,o,s,c,l){let u=Jy(a),d=[],f=[],p=(e,t,n,r,i,a=1,o=i)=>{if(!(!t||!i)){if(vy(r)&&(u.resolution===`display`||u.strategy===`adaptive`)){d.push({key:e,...t,retainedSurfaceCount:a});return}f.push(ub(n,r,i,o).then(n=>n.dimensions&&yy(n.format,l!==void 0)?{key:e,...t,sourceWidthPx:n.dimensions.width,sourceHeightPx:n.dimensions.height,retainedSurfaceCount:a}:null).catch(()=>null))}},m=e.background;if(m?.fillType===`image`&&m.imagePath&&!m.tile&&!m.duotone){let e=m.fillRect??{},r=t*(1-(e.l??0)-(e.r??0)),a=n*(1-(e.t??0)-(e.b??0));p(UN(m.imagePath,m.duotone),HN(r,a,i,m.srcRect),m.imagePath,m.mimeType,o,1)}for(let t of e.elements)if(t.type===`picture`)!(gx(t)||t.mimeType===`image/svg+xml`)&&!t.duotone&&p(UN(t.imagePath,t.duotone),HN($(t.width,r),$(t.height,r),i,t.srcRect),t.imagePath,t.mimeType,o,1);else if(t.type===`media`&&t.posterPath){let e=s?nF(s):void 0;p(UN(t.posterPath),HN($(t.width,r),$(t.height,r),i),t.posterPath,t.posterMimeType||`application/octet-stream`,e,1,c??e)}else if(t.type===`chart`){let e={widthPt:t.width/Dt,heightPt:t.height/Dt,targetWidthPx:$(t.width,r)*i,targetHeightPx:$(t.height,r)*i};for(let n of Rs(t.chart)){let t=n.fill,r=Ps(n,e);!(t.mimeType===`image/svg+xml`||gx({svgImagePath:t.svgImagePath,srcRect:n.hasSourceCrop?!0:null}))&&!t.duotone&&!n.preserveNaturalSize&&r?.targetWidthPx&&r.targetHeightPx&&p(UN(t.imagePath,t.duotone),{targetWidthPx:r.targetWidthPx,targetHeightPx:r.targetHeightPx},t.imagePath,t.mimeType,o,1)}}else if(t.type===`shape`&&t.textBody)for(let e of t.textBody.paragraphs){let n=iN(e.bullet);if(n.type!==`blip`)continue;let a=KN(t.textBody,e,r,i);!a||!o||f.push(ub(n.imagePath,n.mimeType,o).then(e=>e.dimensions&&e.dimensions.width>0&&e.dimensions.height>0&&yy(e.format,l!==void 0)?{key:UN(n.imagePath),targetWidthPx:a*e.dimensions.width/e.dimensions.height,targetHeightPx:a,sourceWidthPx:e.dimensions.width,sourceHeightPx:e.dimensions.height}:null).catch(()=>null))}return d.push(...(await Promise.all(f)).filter(e=>e!==null)),Qy(d,u)}function JN(e){return e.background?.fillType===`image`?!0:e.elements.some(e=>e.type===`picture`?!0:e.type===`media`?!!e.posterPath:e.type===`chart`?Rs(e.chart).length>0:e.type===`shape`&&!!e.textBody?.paragraphs.some(e=>iN(e.bullet).type===`blip`))}function YN(e,t,n,r,i,a,o){let{top:s,height:c}=Uj(n,i);e.fillStyle=a,e.fillRect(t,s,r,c),e.fillStyle=o}function XN(e,t,n,r,i,a,o=0){return Vi(e,t,n,r,i,a,o)}function ZN(e,t){let n=e.tinted.get(t);if(n)return n;let r=qC(e.raster,t);return e.tinted.set(t,r),r}function QN(e){let t=[],n=e=>{if(e)for(let n of e.paragraphs)for(let e of n.runs)e.type===`math`&&t.push({nodes:e.nodes,display:e.display})};for(let t of e.elements)if(t.type===`shape`)n(t.textBody);else if(t.type===`table`)for(let e of t.rows)for(let t of e.cells)n(t.textBody);return t}async function $N(e,t){let n=QN(e);if(n.length!==0){await t.loadMathJax();for(let e of n)if(!vF.has(e.nodes))try{let n=await t.mathMLToSvg(xC(e.nodes,e.display)),r=await KC(n,`#000000`);vF.set(e.nodes,{raster:r,widthEm:n.widthEm,ascentEm:n.ascentEm,descentEm:n.descentEm,tinted:new Map})}catch{}}}function eP(e,t){let n=e=>t.embeddedFontAliases?.get(e.trim().toLowerCase())??e;if(!e)return n(t.themeMinorFont??`sans-serif`);if(e.startsWith(`+`))return n(e===`+mj-lt`||e===`+mj-ea`||e===`+mj-cs`?t.themeMajorFont??`sans-serif`:t.themeMinorFont??`sans-serif`);let r=e.split(`,`)[0].trim();return r?n(r):t.themeMinorFont??`sans-serif`}function tP(e){let t=ve(e);return t===`mono`?`monospace`:t===`serif`?`serif`:`sans-serif`}function nP(e){if(bF[e.toLowerCase()]?.includes(`Arabic`))return!0;let t=e.toLowerCase();return/arabic|naskh|kufi|nastaliq|amiri|scheherazade|lateef|aldhabi|urdu|farsi|العرب|[-ۿ]/.test(t)}function rP(e){return e.map(e=>`"${e}"`).join(`, `)}function iP(e,t=e,n){let r=tP(t),i=bF[t.toLowerCase()],a=i?`"${i}", `:``,o=ge(t),s=o?`"${o}", `:``;if(nP(t)){let t=n?ye(n,`sans`):[];return`"${e}", ${a}${xF}, ${t.length?`${rP(t)}, `:``}${r}`}let c=r===`serif`?`serif`:`sans`,l=_e(t),u=l??n,d=u?ye(u,c).filter(e=>e!==o):[],f=d.length>0?`${rP(d)}, `:``,p=`${rP(c===`serif`?Ce:q)}, `;return l?`"${e}", ${a}${s}${f}${p}${r}`:`"${e}", ${a}${s}${p}${f}${r}`}function aP(e){return e?e.kind===`external`?`e:${e.url}`:`i:${e.ref}`:``}function oP(e){let t=e.toLowerCase();return/\b(thin|hairline)\b/.test(t)?100:/\b(extra[- ]?light|ultra[- ]?light)\b/.test(t)?200:/\blight\b/.test(t)?300:/\b(black|heavy)\b/.test(t)?900:/\b(extra[- ]?bold|ultra[- ]?bold)\b/.test(t)?800:/\b(semi[- ]?bold|demi[- ]?bold)\b/.test(t)?600:/\bbold\b/.test(t)?700:/\bmedium\b/.test(t)?600:null}function sP(e,t,n,r,i,a,o,s){let c=Math.max(0,r.blur*i),l=Math.ceil(c*3)+2,u=Math.max(0,Math.floor(n.x-l)),d=Math.max(0,Math.floor(n.y-l)),f=Math.min(o,Math.ceil(n.x+n.w+l)),p=Math.min(s,Math.ceil(n.y+n.h+l)),m=Math.max(1,f-u),h=Math.max(1,p-d),g=gr(m,h),_=g?.getContext(`2d`);if(!g||!_)return;_.save(),_.setTransform(a.a,a.b,a.c,a.d,a.e-u,a.f-d),t(_),_.restore();let v=n.y-d,y=v+n.h,b=g,x=_;if(c>0){let e=gr(m,h),t=e?.getContext(`2d`);e&&t&&(b=e,x=t)}b!==g&&sN(x,g,{x:n.x-u,y:v,w:n.w,h:n.h},c,m);let S=Math.max(0,Math.min(1,r.stPos)),C=Math.max(0,Math.min(1,r.endPos)),w=Math.max(1,y-v);try{let e=x.getImageData(0,0,m,h);for(let t=0;t<h;t++){let n=Math.max(0,Math.min(1,(y-(t+.5))/w)),i;if(n<=S)i=r.stA;else if(n>=C||C<=S)i=r.endA;else{let e=(n-S)/(C-S);i=r.stA+(r.endA-r.stA)*e}let a=Math.max(0,Math.min(1,i));for(let n=t*m*4+3;n<(t+1)*m*4;n+=4)e.data[n]=Math.round(e.data[n]*a)}x.putImageData(e,0,0)}catch{x.save(),x.globalCompositeOperation=`destination-in`,x.fillStyle=`rgba(0,0,0,${Math.max(0,Math.min(1,r.stA))})`,x.fillRect(0,0,m,h),x.restore()}let T=r.dist*i,E=r.dir*Math.PI/180,D=n.y+n.h;e.save(),e.setTransform(1,0,0,1,0,0),e.translate(n.x+Math.cos(E)*T,D+Math.sin(E)*T),e.scale(r.sx,r.sy),e.translate(-n.x,-D),e.drawImage(b,u,d),e.restore()}function cP(e,t,n,r,i,a=``){let o=t?`italic `:``,s=eP(r,i),c=i.embeddedFontAuthoredFamilies?.get(s)??s,l=oP(c),u=e?`bold `:l?`${l} `:``,d=be(a)?i.cjkFallback??_e(i.themeMajorFont)??_e(i.themeMinorFont)??void 0:void 0;if(yF.has(s)){let e=d?ye(d,s===`serif`?`serif`:`sans`):[],t=s===`monospace`?[`Courier New`,`Liberation Mono`]:s===`serif`?[...Ce,`Times New Roman`,`Liberation Serif`]:[...q,`Arial`,`Helvetica`,`Liberation Sans`];return`${o}${u}${n}px ${e.length?`${rP([...t,...e])}, `:``}${s}`}return`${o}${u}${n}px ${iP(s,c,d)}`}function lP(e){return e.bullet.type===`char`||e.bullet.type===`autoNum`||iN(e.bullet).type===`blip`}function uP(e,t,n){let r=null;for(let e of t.runs)if(e.type===`text`&&e.fontSize!=null){r=e.fontSize;break}let i=r??t.defFontSize??e.defaultFontSize??18;return n.sizePts==null?i*((n.sizePct??100)/100):n.sizePts}function dP(e,t){return e?0:Math.max(0,t)}function fP(e,t,n){let r=t.codePointAt(0);if(r<=127&&r!==45||CF.test(t))return!1;let i=VA(r);return i!==`HY`&&i!==`HH`?!1:SF.test(e)&&SF.test(n)}function pP(e){if(!e.includes(`-`)&&wF.test(e))return[{text:e,breakBefore:!1}];let t=[...e],n=[],r=0;for(let e=1;e+1<t.length;e++){if(!fP(t[e-1],t[e],t[e+1]))continue;let i=e+1;n.push({text:t.slice(r,i).join(``),breakBefore:n.length>0}),r=i}return n.push({text:t.slice(r).join(``),breakBefore:n.length>0}),n}function mP(e){let t=[];for(let n=e.segments.length-1;n>=0&&t.length<2;n--){let r=e.segments[n];if(r.isTab||r.math)continue;let i=[...r.text];for(let e=i.length-1;e>=0&&t.length<2;e--)t.unshift(i[e])}return t}function hP(e,t){return t!=null&&t!==0?e*.65:e}function gP(e,t,n,r,i,a,o){let s=(t.defaultFontSize??18)*Dt*a;for(let c of t.paragraphs){let l=$(c.marL,a),u=$(c.marR,a),d=$(c.indent,a),f=dP(lP(c),d),p=n-r-i-l-u-f,m=0;for(let n of c.runs){if(n.type!==`text`)continue;let r=n.fontSize==null?c.defFontSize==null?s:c.defFontSize*Dt*a:n.fontSize*Dt*a,i=eP(n.fontFamily??c.defFontFamily??null,o);e.font=cP(n.bold??c.defBold??t.defaultBold??!1,n.italic??c.defItalic??t.defaultItalic??!1,hP(r,n.baseline??void 0),i,o,n.text);let l=(n.letterSpacing??0)*Dt*a;if(m+=bP(e,n.text,l),m>p)return!0}}return!1}function _P(e){for(let t of e)if(NA(t.codePointAt(0)??0))return!0;return!1}function vP(e){let t=0;for(let n of e)t++;return t}function yP(e){let t=TF.get(e);if(t!=null)return t;let n=e,r=n.letterSpacing;if(typeof r!=`string`)return TF.set(e,!1),!1;let i=!1;try{n.letterSpacing=`0px`;let t=e.measureText(`ii`).width;n.letterSpacing=`1px`;let r=e.measureText(`ii`).width;i=Number.isFinite(t)&&Number.isFinite(r)&&r!==t}catch{i=!1}finally{try{n.letterSpacing=r}catch{}}return TF.set(e,i),i}function bP(e,t,n){let r=e,i=r.letterSpacing;if(n!==0&&yP(e))try{r.letterSpacing=`${n}px`;let i=e.measureText(t).width;if(Number.isFinite(i))return t.length>0?i-n:i}finally{try{r.letterSpacing=i}catch{}}let a=Math.max(0,vP(t)-1);return e.measureText(t).width+n*a}function xP(e,t,n,r,i,a,o,s=!1,c=!1,l=1,u,d={themeMajorFont:null,themeMinorFont:null,dpr:1},f=0){let p=[],m=new Map,h=!0;for(let e=t.runs.length-1;e>=0&&h;e--){let n=t.runs[e];if(n.type===`break`)continue;if(n.type===`math`)break;let r=n.text.replace(/ +$/u,``);r!==n.text&&m.set(n,r),(r.length>0||n.fieldType!=null)&&(h=!1)}let g=()=>n-(p.length===0?f:0),_={segments:[]},v=0,y=!1,b=t.rtl===!0,x=$(t.marR,a),S=(t.tabStops??[]).map(e=>({pos:$(e.pos,a),algn:e.algn})),C=$(t.defTabSz??914400,a),w=!1,T=[],E=0,D=()=>b?x:o+(p.length===0?f:0),O=(e=0)=>{let t=NN(e>0?[...T,{isTab:!1,width:e}]:T,S,D(),1/0,E,C),n=0;for(let e of t)n+=e;return n},k=e=>{let t=g();return Number.isFinite(t)?w?O(e)<=t:v+e<=t:!0},A=()=>{let e=g();if(!w)return e-v;if(!Number.isFinite(e))return 1/0;if(O(0)>=e)return 0;let t=0,n=e;for(let r=0;r<40;r++){let r=(t+n)/2;O(r)<=e?t=r:n=r}return t},j=(e=!1)=>{e&&(_.endsWithBreak=!0),p.push(_),_={segments:[]},v=0,w=!1,T=[],y=!1},M=(t,n,r,i)=>{e.font=n;let a=bP(e,t,r),o=_.segments.at(-1);return!o||o.isTab||o.math||o.sourceRunId!==i?a:o.font===n&&(o.letterSpacingPx??0)===r?bP(e,o.text+t,r)-bP(e,o.text,r):a+r},N=(t,n,r,i,a,o,s,c)=>{if(!t)return;e.font=n;let l=c?.letterSpacingPx??0,u=c?.sourceRunId,d=c?.strikeDouble,f=c?.underlineStyle,p=c?.underlineColor,m=c?.shadow,h=c?.reflection,g=c?.outline,y=c?.highlight,b=c?.hyperlink,x=c?.drawSizePx??r,S=e=>!e.math&&!e.isTab&&e.font===n&&e.color===i&&e.underline===a&&(e.underlineStyle??``)===(f??``)&&(e.underlineColor??``)===(p??``)&&e.strikethrough===o&&(e.strikeDouble??!1)===(d??!1)&&(e.letterSpacingPx??0)===l&&e.baseline===s&&e.shadow===m&&e.reflection===h&&e.outline===g&&(e.highlight??``)===(y??``)&&(e.drawSizePx??e.sizePx)===x&&aP(e.hyperlink)===aP(b)&&(l===0||e.sourceRunId===u),C=_.segments.at(-1),w=bP(e,t,l);if(C&&S(C)?w=bP(e,C.text+t,l)-bP(e,C.text,l):C&&!C.isTab&&!C.math&&u!=null&&C.sourceRunId===u&&(w+=l),v+=w,T.push({isTab:!1,width:w}),C&&S(C))C.text+=t;else{let e=C&&!C.isTab&&!C.math&&u!=null&&C.sourceRunId===u?l:0;_.segments.push({text:t,font:n,sizePx:r,drawSizePx:x,color:i,underline:a,underlineStyle:f,underlineColor:p,strikethrough:o,strikeDouble:d,letterSpacingPx:l||void 0,sourceRunId:u,leadingLetterSpacingPx:e||void 0,baseline:s,shadow:m,reflection:h,outline:g,highlight:y,hyperlink:b})}},P=()=>{let e=_.segments.at(-1);if(!e||e.math)return!1;let t=/^(.*\s)(\S+)$/s.exec(e.text),n;if(t)e.text=t[1],n=t[2];else if(_.segments.length>1)_.segments.pop(),n=e.text;else return!1;return j(),N(n,e.font,e.sizePx,e.color,e.underline,e.strikethrough,e.baseline,{strikeDouble:e.strikeDouble,letterSpacingPx:e.letterSpacingPx,underlineStyle:e.underlineStyle,underlineColor:e.underlineColor,shadow:e.shadow,reflection:e.reflection,outline:e.outline,highlight:e.highlight,sourceRunId:e.sourceRunId,drawSizePx:e.drawSizePx}),!0};for(let[o,f]of t.runs.entries()){if(f.type===`break`){j(!0);continue}if(f.type===`math`){let e=vF.get(f.nodes),t=f.fontSize==null?r:f.fontSize*Dt*a*l,n=e?e.widthEm*t:0,o=e?e.ascentEm*t:0,s=e?e.descentEm*t:0;(f.display&&v>0||!k(n)&&v>0)&&j(),T.push({isTab:!1,width:n}),_.segments.push({text:``,font:`${t}px sans-serif`,sizePx:t,color:f.color?_F(f.color):i,underline:!1,strikethrough:!1,math:{nodes:f.nodes,display:f.display,width:n,ascent:o,descent:s}}),v+=n,f.display&&j();continue}let p=f.fontSize==null?r:f.fontSize*Dt*a*l,h=hP(p,f.baseline??void 0),b=eP(f.fontFamily??t.defFontFamily??null,d),x=f.fontFamilyEa?eP(f.fontFamilyEa,d):null,S=f.fontFamilySym?eP(f.fontFamilySym,d):null,C;C=f.color?_F(f.color):f.hyperlink&&d.themeHlinkColor?_F(d.themeHlinkColor):i;let D=f.bold??t.defBold??s,O=f.italic??t.defItalic??c,F=cP(D,O,h,b,d,f.text),I=x?cP(D,O,h,x,d,f.text):F;e.font=F;let L=f.caps,R=m.get(f)??f.text;(L===`all`||L===`small`)&&(R=R.toUpperCase());let z=f.fieldType===`slidenum`&&u!==void 0?String(u):R,B=f.underline||f.hyperlink!==void 0,V=f.strikeDouble===!0,H=f.letterSpacing==null?0:f.letterSpacing*Dt*a,ee={strikeDouble:V,letterSpacingPx:H,underlineStyle:f.underlineStyle,underlineColor:f.underlineColor?_F(f.underlineColor):void 0,shadow:f.shadow,reflection:f.reflection,outline:f.outline,highlight:f.highlight?_F(f.highlight):void 0,hyperlink:uN(f.hyperlink),sourceRunId:o,drawSizePx:h},U=z.split(/(\s+)/).flatMap(e=>e?/^\s+$/u.test(e)?[{text:e,breakBefore:!1}]:Number.isFinite(n)?pP(e):[{text:e,breakBefore:!1}]:[]);for(let n of U){let r=n.text;if(!r)continue;if(/^\t+$/.test(r)){w||(e.font=F,E=e.measureText(` `).width);for(let e of r)_.segments.push({text:``,isTab:!0,font:F,sizePx:p,color:C,underline:!1,strikethrough:!1}),T.push({isTab:!0,width:0});w=!0;continue}e.font=F;let i=M(r,F,H,o),a=/^\s+$/.test(r),s=/[-]/;if(s.test(r)&&(S!=null||ke(b))){let t=S??b;for(let n of r){let r=n,i=F;if(s.test(n)){let e=Oe(n,t);e===n?i=cP(D,O,h,t,d,r):(r=e,i=cP(D,O,h,`sans-serif`,d,r))}e.font=i,!k(M(r,i,H,o))&&v>0&&j(),N(r,i,p,C,B,f.strikethrough,f.baseline??void 0,ee)}continue}if(_P(r)&&(!YA(r)||t.eaLnBrk===!1)){let n=[],i=``,a=()=>{i!==``&&(e.font=F,n.push({ch:i,w:bP(e,i,H),font:F}),i=``)};for(let t of r){if(!NA(t.codePointAt(0)??0)){i+=t;continue}a();let r=x==null?F:I;e.font=r,n.push({ch:t,w:bP(e,t,0),font:r})}if(a(),t.eaLnBrk===!1){let e=_.segments.at(-1),t=!!e&&!e.isTab&&!e.math&&e.sourceRunId===o,r=n.reduce((e,t)=>e+t.w,0)+Math.max(0,n.length-1)*H+(t&&n.length>0?H:0);v>0&&!k(r)&&j();for(let e of n)N(e.ch,e.font,p,C,B,f.strikethrough,f.baseline??void 0,ee);continue}let s=n;for(;s.length>0;){let e=Number.isFinite(g())?g()-A():v,t=_.segments.at(-1),n=!!t&&!t.isTab&&!t.math&&t.sourceRunId===o,r=yN(s,e,g(),OA,H,n);if(r===0){if(v>0){j();continue}r=1}for(let e=0;e<r;e++){let t=s[e];N(t.ch,t.font,p,C,B,f.strikethrough,f.baseline??void 0,ee)}s=s.slice(r),s.length>0&&j()}continue}if(YA(r)){let t=nj(r,{cjk:!0,kinsoku:OA}),n=x!=null&&I!==F,i=e=>n&&NA(e.codePointAt(0)??0),a=t=>{let n=0,r=_.segments.at(-1),a=!!r&&!r.isTab&&!r.math&&r.sourceRunId===o,s=``,c=null,l=()=>{s!==``&&(e.font=c?I:F,n+=bP(e,s,H),a&&(n+=H),a=!0,s=``)};for(let e of t){let t=i(e);c===null||t===c?(s+=e,c=t):(l(),s=e,c=t)}return l(),n},s=e=>{let t=``,n=null,r=()=>{t!==``&&(N(t,n?I:F,p,C,B,f.strikethrough,f.baseline??void 0,ee),t=``)};for(let a of e){let e=i(a);n===null||e===n?(t+=a,n=e):(r(),t=a,n=e)}r()},c=XA(r),l=r.length,u=0;for(;u<l;){let e=A(),n=ij(r,t,u,e,a,c);if(n<=u){if(v>0){j();continue}let i=t.find(e=>e>u)??l,o=r.slice(u,i),s=oj(o),d=ij(o,s,0,e,a,c);d<=0&&(d=s.length>0?s[0]:o.length),n=u+d}s(r.slice(u,n)),u=n,u<l&&j()}continue}if(!k(i)&&(v>0||w)){let e=n.breakBefore;if(!e){let t=mP(_),n=[...r][0];e=t.length===2&&n!==void 0&&fP(t[0],t[1],n)}e&&(j(),i=M(r,F,H,o))}if(k(i))N(r,F,p,C,B,f.strikethrough,f.baseline??void 0,ee),a&&(y=!0);else if(a)v>0&&j();else if(i>g()){v>0&&j();for(let t of r)e.font=F,!k(M(t,F,H,o))&&v>0&&j(),N(t,F,p,C,B,f.strikethrough,f.baseline??void 0,ee)}else if(y){let e=_.segments.at(-1)?.text??``,t=r.codePointAt(0),n=[...e].at(-1)?.codePointAt(0),i=/\S$/u.test(e)&&/^\S/u.test(r)&&n!==8203&&t!==8203,a=t!==void 0&&OA.lineStartForbidden.has(t)&&i,o=n!==void 0&&t!==void 0&&i&&!YA(e)&&!YA(r)&&UA(n,t);(a||o)&&P()||j(),N(r,F,p,C,B,f.strikethrough,f.baseline??void 0,ee)}else{let e=[..._.segments.at(-1)?.text??``].at(-1)?.codePointAt(0),t=r.codePointAt(0);e!==void 0&&t!==void 0&&NA(e)!==NA(t)&&!UA(e,t)&&v>0&&j(),N(r,F,p,C,B,f.strikethrough,f.baseline??void 0,ee)}}}return p.push(_),p}async function SP(e,t,n,r,i,a,o,s,c,l){if(t&&t.fillType===`image`){if(e.fillStyle=`#FFFFFF`,e.fillRect(0,0,n,r),!t.imagePath||!t.mimeType||!o)return;try{let u=t.fillRect??{},d=u.l??0,f=u.t??0,p=u.r??0,m=u.b??0,h=d*n,g=f*r,_=n*(1-d-p),v=r*(1-f-m),y=l&&!t.duotone?WN(l,UN(t.imagePath,t.duotone)):void 0,b=t.tile?await ub(t.imagePath,t.mimeType,o):void 0,x=await fx(t.imagePath,t.mimeType,t.duotone,o,{widthPt:n/i/Dt,heightPt:r/i/Dt,...y??{},tiff:s,svgDecoder:c});if(a()||!x)return;e.save(),e.beginPath(),e.rect(0,0,n,r),e.clip(),t.alpha!=null&&(e.globalAlpha=t.alpha),t.tile?TP(e,x,t.tile,n,r,i,t.srcRect,b?.dimensions??void 0):bi(e,x,t.srcRect,h,g,_,v),e.restore()}catch(t){if(My(t,`tiff`)){Ny(e,`tiff`,{x:0,y:0,width:n,height:r});return}if(Sr(t)||$v(t))throw t}return}e.fillStyle=XN(t,e,0,0,n,r)??`#FFFFFF`,e.fillRect(0,0,n,r)}function CP(e,t,n,r,i){let a;a=e===`t`||e===`ctr`||e===`b`?(t-r)/2:e===`tr`||e===`r`||e===`br`?t-r:0;let o;return o=e===`l`||e===`ctr`||e===`r`?(n-i)/2:e===`bl`||e===`b`||e===`br`?n-i:0,{ax:a,ay:o}}function wP(e,t,n){return{width:e*(n?1-n.l-n.r:1),height:t*(n?1-n.t-n.b:1)}}function TP(e,t,n,r,i,a,o,s){let c=wP(s?.width??t.width,s?.height??t.height,o),l=c.width*EF*(n.sx??1)*a,u=c.height*EF*(n.sy??1)*a;if(!(l>0)||!(u>0))return;let d=n.flip===`x`||n.flip===`xy`,f=n.flip===`y`||n.flip===`xy`,p=gr(l*(d?2:1),u*(f?2:1));if(!p)return;let m=p.getContext(`2d`);if(!m)return;let h=(e,n,r,i)=>{m.save(),m.translate(e+(r?l:0),n+(i?u:0)),m.scale(r?-1:1,i?-1:1),bi(m,t,o,0,0,l,u),m.restore()};h(0,0,!1,!1),d&&h(l,0,!0,!1),f&&h(0,u,!1,!0),d&&f&&h(l,u,!0,!0);let g=e.createPattern(p,`repeat`);if(!g)return;let{ax:_,ay:v}=CP(n.algn??`tl`,r,i,l,u),y=_+$(n.tx??0,a),b=v+$(n.ty??0,a);typeof g.setTransform==`function`&&typeof DOMMatrix<`u`?(g.setTransform(new DOMMatrix().translateSelf(y,b)),e.fillStyle=g,e.fillRect(0,0,r,i)):(e.save(),e.translate(y,b),e.fillStyle=g,e.fillRect(-y,-b,r,i),e.restore())}function EP(e,t,n){if(!t)return;let r=t.dir*Math.PI/180,i=$(t.dist,n);e.shadowColor=_F(t.color,t.alpha),e.shadowBlur=0,e.shadowOffsetX=Math.cos(r)*i,e.shadowOffsetY=Math.sin(r)*i}function DP(e,t,n){t&&(e.shadowColor=_F(t.color,t.alpha),e.shadowBlur=$(t.radius,n),e.shadowOffsetX=0,e.shadowOffsetY=0)}function OP(e){e.shadowColor=`transparent`,e.shadowBlur=0,e.shadowOffsetX=0,e.shadowOffsetY=0}function kP(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){if(r<=0)return;let h=e.measureText(t),g=h.actualBoundingBoxAscent>0?h.actualBoundingBoxAscent:r,_=h.actualBoundingBoxDescent>0?h.actualBoundingBoxDescent:r*.25,v=h.actualBoundingBoxLeft>0?h.actualBoundingBoxLeft:0,y=h.actualBoundingBoxRight>0?h.actualBoundingBoxRight:r,b=r*l*i,x=Math.min(AF,Math.max(1,Math.round(b/DF))),S=e=>MP(e,a,r,o,s,c,u,d),C=S(x),w=PP(C,a,o,s,c,u,d,l,i,-g,_);for(;w>kF&&x<AF;){let e=Math.min(AF,x*2),t=S(e),n=PP(t,a,o,s,c,u,d,l,i,-g,_);if(n>=w*.75){C=t;break}x=e,C=t,w=n}let T=1e4,E=OF/(l*i),D=C.length-1,O=(e,t,n)=>e===0?-T:t-n-E,k=(e,t,n)=>e===D?T:t-n+E,A=(e,r)=>{e.fillStyle=r;for(let r=0;r<=D;r++){let{s0:i,s1:a,g:o}=C[r],s=(i+a)/2;e.save(),e.translate(f+o.x,p+o.y),e.rotate(o.angle),o.shear!==0&&e.transform(1,0,o.shear,1,0,0),(l!==1||o.vScale!==1)&&e.scale(l,o.vScale),e.beginPath();let c=O(r,i,s),u=k(r,a,s);e.rect(c,-T,u-c,2*T),e.clip(),e.fillText(t,-s+n/2,0),e.restore()}},j=AP(m),M=typeof e.globalAlpha==`number`?e.globalAlpha:1;if(j>=1&&M>=1){A(e,m);return}if(j<=0||M<=0)return;let N=typeof e.getTransform==`function`?e.getTransform():null;if(!N){A(e,m);return}let P=1/0,F=1/0,I=-1/0,L=-1/0;for(let e=0;e<=D;e++){let{s0:t,s1:r,g:i}=C[e],a=(t+r)/2,o=-a+n/2,s=Math.max(O(e,t,a),o-v),c=Math.min(k(e,r,a),o+y);if(!(c<=s))for(let[e,t]of[[s,-g],[c,-g],[s,_],[c,_]]){let n=NP(i,l,e,t),r=f+n.x,a=p+n.y,o=N.a*r+N.c*a+N.e,s=N.b*r+N.d*a+N.f;o<P&&(P=o),o>I&&(I=o),s<F&&(F=s),s>L&&(L=s)}}if(!(I>P&&L>F))return;let R=Math.floor(P-2),z=Math.floor(F-2),B=gr(Math.ceil(I+2)-R,Math.ceil(L+2)-z),V=B?B.getContext(`2d`):null;if(!B||!V){A(e,m);return}V.font=e.font,V.textAlign=`left`,V.textBaseline=`alphabetic`,V.setTransform(N.a,N.b,N.c,N.d,N.e-R,N.f-z),A(V,jP(m)),e.save(),e.setTransform(1,0,0,1,0,0),e.globalAlpha=M*j,e.drawImage(B,R,z),e.restore()}function AP(e){let t=/^rgba?\(\s*[\d.]+\s*,\s*[\d.]+\s*,\s*[\d.]+\s*,\s*([\d.]+)\s*\)$/i.exec(e);if(!t)return 1;let n=parseFloat(t[1]);return Number.isFinite(n)?Math.min(1,Math.max(0,n)):1}function jP(e){let t=/^rgba?\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)/i.exec(e);return t?`rgb(${t[1]}, ${t[2]}, ${t[3]})`:e}function MP(e,t,n,r,i,a,o,s){let c=Array(e);for(let l=0;l<e;l++){let u=l/e*n,d=(l+1)/e*n;c[l]={s0:u,s1:d,g:mS(t,(r+(u+d)/2)/i*a,o,s)}}return c}function NP(e,t,n,r){let i=n*t,a=r*e.vScale,o=i+e.shear*a,s=Math.cos(e.angle),c=Math.sin(e.angle);return{x:e.x+s*o-c*a,y:e.y+c*o+s*a}}function PP(e,t,n,r,i,a,o,s,c,l,u){let d=0;for(let f of e){let e=(f.s0+f.s1)/2;for(let p of[f.s0,f.s1]){let m=mS(t,(n+p)/r*i,a,o);for(let t of[l,u]){let n=NP(m,s,0,t),r=NP(f.g,s,p-e,t),i=Math.hypot(r.x-n.x,r.y-n.y)*c;i>d&&(d=i)}}}return d}function FP(e,t,n,r,i,a,o,s,c,l,u){let d=i,f=a,p=Math.max(1,o),m=Math.max(1,s),h=uS(n,r,p,m);if(!h)return;let g=t.defaultBold??!1,_=t.defaultItalic??!1,v=(t.defaultFontSize??18)*Dt*c,y=[],b=0;for(let n of t.paragraphs){let t=n.defFontSize==null?v:n.defFontSize*Dt*c,r=xP(e,n,1/0,t,n.defColor?_F(n.defColor):l,c,0,g,_,1,void 0,u,0);y.length>0&&(b+=(n.spaceBefore??0)/100*Dt*c);for(let e of r){let r=e.segments.reduce((e,t)=>Math.max(e,t.sizePx),0)||t,i=n.spaceLine?.type===`pts`?n.spaceLine.val*Dt*c:r*1.2*(n.spaceLine?n.spaceLine.val/1e5:1);y.push({line:e,alignment:n.alignment,baseline:b+i*.8}),b+=i}b+=(n.spaceAfter??0)/100*Dt*c}if(y.length===0)return;e.save(),e.textAlign=`left`,e.textBaseline=`alphabetic`;let x=-1,S=()=>{if(x>=0)return x;let t=typeof e.getTransform==`function`?e.getTransform():null,n=t?Math.abs(t.a*t.d-t.b*t.c):1;return x=n>0?Math.sqrt(n):1,x},C=y.length,w=h.top[0],T=h.top[1],E=w&&T?(w.x-p/2)*(T.y-m/2)-(w.y-m/2)*(T.x-p/2)>0:!0,D=y[E?C-1:0].baseline;for(let t=0;t<C;t++){let{line:i,alignment:a}=y[t],o=t/C,s=(t+1)/C,c=0,l=0,u=0,g=0;for(let t of i.segments){if(t.math){c+=t.math.width,l=Math.max(l,t.sizePx),u=Math.max(u,t.math.ascent),g=Math.max(g,t.math.descent);continue}e.font=t.font;let n=t.letterSpacingPx??0,r=e.measureText(t.text);c+=r.width+n*vP(t.text),l=Math.max(l,t.sizePx),r.actualBoundingBoxAscent>0&&(u=Math.max(u,r.actualBoundingBoxAscent)),r.actualBoundingBoxDescent>0&&(g=Math.max(g,r.actualBoundingBoxDescent))}if(c<=0)continue;let _=h.singleEdge?Math.max(0,E?D-y[t].baseline:y[t].baseline-D):0,v=_>0?uS(n,r,p+2*_,m+2*_)??h:h,b=u+g>0?u+g:l,x=h.singleEdge?.8:b>0?u/b:.8,w=h.singleEdge?1:p/c,T=h.singleEdge?b:b/(s-o),O=pS(v,c),k=h.singleEdge?(1-O)*(a===`r`?1:a===`ctr`?.5:0):0,A=0;for(let t of i.segments){if(t.math){A+=t.math.width;continue}e.font=t.font,e.fillStyle=t.color;let n=t.letterSpacingPx??0,r=[...t.text];for(let i of r){let r=e.measureText(i).width+n,a=h.singleEdge?x:o+x*(s-o);if(!h.singleEdge&&r>0){kP(e,i,n,r,S(),h,A,c,O,w,T,a,d,f,t.color),A+=r;continue}let l=mS(v,k+(A+r/2)/c*O,T,a);l.x-=_,l.y-=_,e.save(),e.translate(d+l.x,f+l.y),e.rotate(l.angle),l.shear!==0&&e.transform(1,0,l.shear,1,0,0),(w!==1||l.vScale!==1)&&e.scale(w,l.vScale),e.fillText(i,-r/2+n/2,0),e.restore(),A+=r}}}e.restore()}function IP(e,t,n,r,i,a,o){let s=Math.min(r,i);switch(e){case`rightarrow`:case`leftarrow`:{let c=Math.min(Math.max(a??5e4,0),1e5),l=s*Math.min(Math.max(o??5e4,0),1e5)/1e5,u=i*c/2e5,d=n+i/2-u,f=2*u,p=Math.max(0,r-l);return e===`rightarrow`?{tx:t,ty:d,tw:p,th:f}:{tx:t+l,ty:d,tw:p,th:f}}case`roundrect`:{let e=s*Math.min(Math.max(a??16667,0),1e5)/1e5*(1-1/Math.SQRT2);return{tx:t+e,ty:n+e,tw:Math.max(0,r-2*e),th:Math.max(0,i-2*e)}}default:return null}}function LP(e,t){return e.defaultTextColor?_F(e.defaultTextColor):t.smartArtFallbackTextColor!=null&&AN(e)?t.smartArtFallbackTextColor:null}function RP(e,t,n){return{outerRotation:e,localFlipH:t,localFlipV:n}}function zP(e,t,n,r,i){let a=[{x:t,y:n},{x:t+r,y:n},{x:t,y:n+i},{x:t+r,y:n+i}].map(t=>({x:e.a*t.x+e.c*t.y+e.e,y:e.b*t.x+e.d*t.y+e.f})),o=Math.min(...a.map(e=>e.x)),s=Math.min(...a.map(e=>e.y)),c=Math.max(...a.map(e=>e.x)),l=Math.max(...a.map(e=>e.y));return{x:o,y:s,w:c-o,h:l-s}}function BP(e,t,n){return[e.a*t+e.c*n+e.e,e.b*t+e.d*n+e.f]}function VP(e,t,n,r,i,a){let[o,s]=jF[a??`b`];return BP(e,t+o*r,n+s*i)}function HP(e,t,n,r,i,a,o,s){let c=DS(e,i,a).corners,l=(o>0?sc(c,o/i,o/a)??c:c).map(e=>BP(t,n+e.x,r+e.y)),u=l.map(([e])=>e),d=l.map(([,e])=>e),f=Math.min(...u),p=Math.min(...d),m=Math.max(...u),h=Math.max(...d),[g,_]=jF[s??`b`],v=cc(c,g,_);return{bbox:{x:f,y:p,w:m-f,h:h-p},anchor:v?BP(t,n+v.x,r+v.y):VP(t,n,r,i,a,s)}}function UP(e,t,n,r){let i=Math.floor(n.x)-1,a=Math.floor(n.y)-1,o=Math.max(1,Math.ceil(n.x+n.w)-i+1),s=Math.max(1,Math.ceil(n.y+n.h)-a+1);if(r&&(i+o<=0||a+s<=0||i>=r.w||a>=r.h)||ta(o,s).clamped)return e;let c=null;try{c=gr(o,s)}catch{return e}let l=c?.getContext(`2d`);if(!c||!l)return e;l.setTransform(t.a,t.b,t.c,t.d,t.e-i,t.f-a),e(l);let u={a:1,b:0,c:0,d:1,e:0,f:0};return e=>{e.save(),e.setTransform(u),e.drawImage(c,i,a),e.restore()}}function WP(e,t,n,r,i,a,o,s,c,l=!0,u=r){let d=e.canvas.width||0,f=e.canvas.height||0,p=d>0&&f>0,m={a:1,b:0,c:0,d:1,e:0,f:0},h=e=>e.setTransform(c),g=e=>{h(e),n(e)},_=e=>{h(e),r(e)},v=e=>{h(e),u(e)},y=!1;t.shadow&&p?(e.save(),e.setTransform(m),y=!ua(e,g,i,t.shadow,s,d,f,Math.atan2(c.b,c.a)*180/Math.PI,a),e.restore()):t.shadow&&(y=!0),t.reflection&&p&&(e.save(),e.setTransform(m),pa(e,g,i,t.reflection,s,d,f),e.restore()),y?EP(e,t.shadow??null,o):t.glow&&DP(e,t.glow,o),t.softEdge&&p?(e.save(),e.setTransform(m),fa(e,g,i,t.softEdge,s,d,f,_),e.restore()):n(e),(y||t.glow)&&OP(e),t.innerShadow&&l&&p&&(e.save(),e.setTransform(m),da(e,v,i,t.innerShadow,s,d,f),e.restore())}function GP(e,t,n){if(t===n||!Number.isFinite(e))return e;let r=((e+180)%360+360)%360-180;return r>90?r-=180:r<-90&&(r+=180),Object.is(r,-0)?0:r}function KP(e,t,n,r=`#000000`,i,a={themeMajorFont:null,themeMinorFont:null,dpr:1},o,s){let c=$(t.x,n),l=$(t.y,n),u=$(t.width,n),d=$(t.height,n),f=o&&t.id!==void 0?e=>o({...e,shapeId:t.id}):o;if(d===0&&t.textBody?.verticalAnchor===`b`){if(t.stroke&&(e.save(),cF(e,t.stroke,n,{x:c,y:l,w:u,h:1},t.rotation),e.beginPath(),e.moveTo(c,l),e.lineTo(c+u,l),e.stroke(),e.restore()),t.textBody){let o=LP(t,a);ZP(e,t.textBody,c,l,u,d,n,o,t.rotation,t.flipH,t.flipV,r,i,a,f,!1,s)}return}let p=t.scene3d&&OS(t.scene3d.camera)?t.scene3d:null;if(p&&u>0&&d>0){let o=e.getTransform(),s=Math.abs(o.a*o.d-o.b*o.c),f=s>0?Math.sqrt(s):1,m=QP(t.sp3d,t.scene3d?.lightRig,t.sp3d?.prstMaterial,n,f),h=$P(t.sp3d,p.camera,u,d,n,f),g=RP(t.rotation,t.flipH,t.flipV);e.save(),g.outerRotation!==0&&(e.translate(c+u/2,l+d/2),e.rotate(g.outerRotation*Math.PI/180),e.translate(-(c+u/2),-(l+d/2)));let _={...t,x:0,y:0,rotation:0,flipH:g.localFlipH,flipV:g.localFlipV,scene3d:void 0,sp3d:void 0,shadow:null,innerShadow:void 0,glow:void 0,softEdge:void 0,reflection:void 0},v={..._,textBody:null},y={..._,fill:null,stroke:null},b=(t.stroke?t.stroke.width*n/2:0)+(t.sp3d?.contourW?t.sp3d.contourW*n:0)+(h?Math.hypot(h.offsetX,h.offsetY)/f:0)+2,x=(e,t,o)=>eF(e,p.camera,c,l,u,d,e=>{KP(e,t,n,r,i,a,void 0)},o?{bevels:m,extrusion:h??void 0,edgePadCss:b}:{}),S=e=>x(e,v,!0),C=e=>!t.textBody||x(e,y,!1);if(t.shadow||t.innerShadow||t.glow||t.softEdge||t.reflection){let r=e.getTransform(),i=Math.abs(r.a*r.d-r.b*r.c),a=i>0?Math.sqrt(i):1,o=HP(p.camera,r,c,l,u,d,b,t.shadow?.algn),s=!1,f=UP(e=>{s=S(e)||s},r,o.bbox,{w:e.canvas.width||0,h:e.canvas.height||0});if(WP(e,t,f,f,o.bbox,o.anchor,n,n*a,r,!!t.fill),s){C(e),e.restore();return}}else if(x(e,_,!0)){e.restore();return}e.restore()}e.save(),(t.rotation!==0||t.flipH||t.flipV)&&(e.translate(c+u/2,l+d/2),e.rotate(t.rotation*Math.PI/180),t.flipH&&e.scale(-1,1),t.flipV&&e.scale(1,-1),e.translate(-(c+u/2),-(l+d/2)));let m=t.geometry.toLowerCase(),h=XN(t.fill,e,c,l,u,d,t.rotation);t.shadow||DP(e,t.glow??null,n);let g=new Set([`line`,`straightconnector1`,`bentconnector2`,`bentconnector3`,`bentconnector4`,`bentconnector5`,`curvedconnector2`,`curvedconnector3`,`curvedconnector4`,`curvedconnector5`]),_=new Set([`callout1`,`callout2`,`callout3`,`bordercallout1`,`bordercallout2`,`bordercallout3`,`accentcallout1`,`accentcallout2`,`accentcallout3`,`accentbordercallout1`,`accentbordercallout2`,`accentbordercallout3`]),v=e=>_.has(e)||e===`line`||e===`straightconnector1`||e.startsWith(`bentconnector`),y=!t.custGeom&&C_(m),b=(r,i,a={x:c,y:l,w:u,h:d})=>{let{x:o,y:s,w:f,h:p}=a,g=i??(r===e&&o===c&&s===l&&f===u&&p===d?h:XN(t.fill,r,o,s,f,p,t.rotation)),_=i?null:t.stroke?()=>{cF(r,t.stroke,n,{x:o,y:s,w:f,h:p},t.rotation),r.stroke()}:null,b=()=>OP(r);if(y&&!i){k_(r,m,o,s,f,p,[t.adj,t.adj2,t.adj3,t.adj4,t.adj5,t.adj6,t.adj7,t.adj8],g,_,b,v(m)?{skipTrailingStroke:!0}:void 0);return}r.beginPath(),t.custGeom&&t.custGeom.length>0?MF(r,t.custGeom,o,s,f,p):B_(r,m,o,s,f,p,t.adj,t.adj2,t.adj3,t.adj4),g&&m!==`arc`&&(r.fillStyle=g,m===`donut`||m===`smileyface`||m===`frame`?r.fill(`evenodd`):r.fill(),i||b()),_&&_()},x=e.getTransform(),S=Math.abs(x.a*x.d-x.b*x.c),C=S>0?Math.sqrt(S):1,w=(t.shadow||t.reflection||t.softEdge||t.innerShadow?y?O_(m,c,l,u,d,[t.adj,t.adj2,t.adj3,t.adj4,t.adj5,t.adj6,t.adj7,t.adj8]):t.custGeom&&t.custGeom.length>0?Op(t.custGeom,c,l,u,d):null:null)??{x:c,y:l,w:u,h:d},T=t.stroke?t.stroke.width*n/2:0,E=t.stroke?Math.max(t.stroke.headEnd?J_(t.stroke.headEnd,t.stroke,n):0,t.stroke.tailEnd?J_(t.stroke.tailEnd,t.stroke,n):0):0,D=t.sp3d?.contourW?t.sp3d.contourW*n:0,O=Math.max(T,E,D),k=O>0?{x:w.x-O,y:w.y-O,w:w.w+O*2,h:w.h+O*2}:w,A=zP(x,k.x,k.y,k.w,k.h),j=n*C,M=p?[]:QP(t.sp3d,t.scene3d?.lightRig,t.sp3d?.prstMaterial,n,C),N=(t.stroke?t.stroke.width*n/2:0)+2,P=e=>{let r=t.stroke?.fill?XN(t.stroke.fill,e,c,l,u,d,t.rotation)??void 0:void 0;if(t.stroke&&(g.has(m)||_.has(m))){let i=A_(m,c,l,u,d,[t.adj,t.adj2,t.adj3,t.adj4,t.adj5,t.adj6,t.adj7,t.adj8]);if(!i)return;let a=t.stroke.cmpd,o=m===`line`||m===`straightconnector1`;if(v(m)&&i.vertices.length>=2&&!(a&&o)){let r=i.vertices.map(e=>({x:e.x,y:e.y}));if(t.stroke.tailEnd){let e=q_(t.stroke.tailEnd,t.stroke,n);r[r.length-1]=Y_(r[r.length-1],r[r.length-2],e)}if(t.stroke.headEnd){let e=q_(t.stroke.headEnd,t.stroke,n);r[0]=Y_(r[0],r[1],e)}cF(e,t.stroke,n,{x:c,y:l,w:u,h:d},t.rotation),e.beginPath(),e.moveTo(r[0].x,r[0].y);for(let t=1;t<r.length;t++)e.lineTo(r[t].x,r[t].y);e.stroke()}a&&o&&sF(e,i.start,i.end,t.stroke,a,n,t.rotation),t.stroke.tailEnd&&X_(e,i.end.x,i.end.y,i.end.angle,t.stroke.tailEnd,t.stroke,n,r),t.stroke.headEnd&&X_(e,i.start.x,i.start.y,i.start.angle,t.stroke.headEnd,t.stroke,n,r);return}if(!t.stroke||!t.custGeom||t.custGeom.length===0||(!t.stroke.headEnd||t.stroke.headEnd.type===`none`)&&(!t.stroke.tailEnd||t.stroke.tailEnd.type===`none`))return;let{start:i,end:a}=Rp(t.custGeom);i&&t.stroke.headEnd&&t.stroke.headEnd.type!==`none`&&X_(e,c+i.x*u,l+i.y*d,Math.atan2(i.dy*d,i.dx*u),t.stroke.headEnd,t.stroke,n,r),a&&t.stroke.tailEnd&&t.stroke.tailEnd.type!==`none`&&X_(e,c+a.x*u,l+a.y*d,Math.atan2(a.dy*d,a.dx*u),t.stroke.tailEnd,t.stroke,n,r)},F=e=>{if(M.length>0&&tF(e,c,l,u,d,M,(e,t,n,r,i)=>b(e,void 0,{x:t,y:n,w:r,h:i}),void 0,N)){P(e),OP(e);return}b(e),P(e)};if(WP(e,t,F,F,A,VP(x,c,l,u,d,t.shadow?.algn),n,j,x,!!h,e=>b(e,`#000`)),t.textBody){let o=LP(t,a),p=GP(t.rotation,t.flipH,t.flipV);if(e.save(),t.flipH||t.flipV){let n=c+u/2,r=l+d/2;e.translate(n,r),t.flipH&&e.scale(-1,1),t.flipV&&e.scale(1,-1),e.translate(-n,-r)}let h=(p-t.rotation)%360;if(h!==0){let t=c+u/2,n=l+d/2;e.translate(t,n),e.rotate(h*Math.PI/180),e.translate(-t,-n)}let g=c,_=l,v=u,y=d;if(t.textRect)g=$(t.textRect.x,n),_=$(t.textRect.y,n),v=$(t.textRect.width,n),y=$(t.textRect.height,n);else if(m===`ellipse`){let e=u*(1-1/Math.SQRT2)/2,t=d*(1-1/Math.SQRT2)/2;g=c+e,_=l+t,v=u/Math.SQRT2,y=d/Math.SQRT2}else{let e=IP(m,c,l,u,d,t.adj,t.adj2);e&&(g=e.tx,_=e.ty,v=e.tw,y=e.th)}ZP(e,t.textBody,g,_,v,y,n,o,p,!1,!1,r,i,a,f,!1,s),e.restore()}e.restore()}function qP(e,t){let n=`${e}`,r=e>=1&&e<=26?String.fromCharCode(96+e):n,i=e>=1&&e<=26?String.fromCharCode(64+e):n,a=JP(e).toLowerCase(),o=JP(e),s=n.replace(/[0-9]/g,e=>String.fromCharCode(65296+(e.charCodeAt(0)-48)));switch(t){case`arabicPlain`:return n;case`arabicPeriod`:return`${n}.`;case`arabicParenR`:return`${n})`;case`arabicParenBoth`:return`(${n})`;case`arabicDbPlain`:return s;case`arabicDbPeriod`:return`${s}.`;case`alphaLcPlain`:return r;case`alphaLcPeriod`:return`${r}.`;case`alphaLcParenR`:return`${r})`;case`alphaLcParenBoth`:return`(${r})`;case`alphaUcPlain`:return i;case`alphaUcPeriod`:return`${i}.`;case`alphaUcParenR`:return`${i})`;case`alphaUcParenBoth`:return`(${i})`;case`romanLcPlain`:return a;case`romanLcPeriod`:return`${a}.`;case`romanLcParenR`:return`${a})`;case`romanLcParenBoth`:return`(${a})`;case`romanUcPlain`:return o;case`romanUcPeriod`:return`${o}.`;case`romanUcParenR`:return`${o})`;case`romanUcParenBoth`:return`(${o})`;default:return`${n}.`}}function JP(e){let t=[1e3,900,500,400,100,90,50,40,10,9,5,4,1],n=[`M`,`CM`,`D`,`CD`,`C`,`XC`,`L`,`XL`,`X`,`IX`,`V`,`IV`,`I`],r=``;for(let i=0;i<t.length;i++)for(;e>=t[i];)r+=n[i],e-=t[i];return r}function YP(e){for(let t of e.runs)if(t.type===`text`&&t.text!==``||t.type===`math`)return!0;return!1}function XP(e,t){let n=YP(e);if(e.bullet.type===`char`)return t.clear(),n?Oe(e.bullet.char,e.bullet.fontFamily??null):``;if(e.bullet.type===`autoNum`){if(!n)return``;let r=e.lvl;return t.has(r)?t.set(r,t.get(r)+1):t.set(r,e.bullet.startAt??1),qP(t.get(r),e.bullet.numType)}return t.clear(),``}function ZP(e,t,n,r,i,a,o,s=null,c=0,l=!1,u=!1,d=`#000000`,f,p={themeMajorFont:null,themeMinorFont:null,dpr:1},m,h=!1,g,_=!1,v=h){let y=t.vert===`vert`||t.vert===`eaVert`,b=t.vert===`vert270`;if(y||b){let l=n+i/2,u=r+a/2,_=y?90:-90,v=m?e=>m({...e,inShapeX:e.inShapeX-a/2+i/2,inShapeY:e.inShapeY-i/2+a/2,shapeX:n,shapeY:r,shapeW:i,shapeH:a,rotation:c,textBodyRotation:_}):void 0;if(h)return i;e.save(),e.translate(l,u),e.rotate(b?-Math.PI/2:Math.PI/2),ZP(e,{...t,vert:`horz`},-a/2,-i/2,a,i,o,s,0,!1,!1,d,f,p,v,!1,g,t.vert===`eaVert`),e.restore();return}let x=t.textWarp;if(!h&&x&&oS(x.preset)){FP(e,t,x.preset,x.adj??[],n,r,i,a,o,s??d,p);return}let S=$(t.lIns,o),C=$(t.rIns,o),w=$(t.tIns,o),T=$(t.bIns,o),E=t.wrap!==`none`,D=t.autoFit===`sp`,O=D?E&&gP(e,t,i,S,C,o,p):E,k=Math.max(1,t.numCol??1),A=$(t.spcCol??0,o),j=t.defaultBold??!1,M=t.defaultItalic??!1,N=s??d,P=r=>{let a=(t.defaultFontSize??18)*Dt*o*r,s=[],c=0,l=0,u=new Map;for(let d=0;d<t.paragraphs.length;d++){let m=t.paragraphs[d],g=$(m.marL,o),_=$(m.marR,o),y=$(m.indent,o),b=m.defFontSize==null?a:m.defFontSize*Dt*o*r,x=m.defColor?_F(m.defColor):N,w=lP(m),T=(()=>{for(let e of m.runs)if(e.type===`text`&&e.fontSize!=null)return e.fontSize;return m.defFontSize??t.defaultFontSize??18})()*Dt*o*r,E=(()=>{for(let e of m.runs)if(e.type===`text`&&e.color)return e.color;return null})(),P=E?_F(E):x,F=(()=>{for(let e of m.runs)if(e.type===`text`&&e.fontFamily)return e.fontFamily;return m.defFontFamily??null})(),I=``,L=cP(!1,!1,T,`sans-serif`,p),R=P,z=null;I=XP(m,u);let B=iN(m.bullet);if(B.type===`char`){let e=B;L=cP(!1,!1,e.sizePts==null?e.sizePct==null?T:T*(e.sizePct/100):e.sizePts*Dt*o*r,I===e.char?eP(e.fontFamily??null,p):`sans-serif`,p,I),R=e.color?_F(e.color):P}else if(B.type===`autoNum`){let e=B;L=cP(!1,!1,e.sizePts==null?e.sizePct==null?T:T*(e.sizePct/100):e.sizePts*Dt*o*r,eP(e.fontFamily??F,p),p,I),R=B.color?_F(B.color):P}else if(B.type===`blip`){let e=B,n=uP(t,m,e)*Dt*o*r;z={imagePath:e.imagePath,mimeType:e.mimeType,sizePx:n}}let V=k>1?(i-S-C-(k-1)*A)/k:i-S-C,H=n+S+g,ee=n+S+g+y,U=V-g-_,W=xP(e,m,O?U:1/0,b,x,o,g,j,M,r,f,p,dP(w,y)),te=m.spaceBefore==null?0:m.spaceBefore/100*Dt*o*r,G=m.spaceAfter==null?0:m.spaceAfter/100*Dt*o*r;for(let n=0;n<W.length;n++){let r=W[n],i=n===0,a=n===W.length-1,u=0,f=0;for(let t of r.segments){let n=t.math?Math.max(t.sizePx,(t.math.ascent+t.math.descent)/1.2):t.sizePx;if(n>u&&(u=n),!t.math&&D){e.font=t.font;let n=e.measureText(t.text||`M`),r=(n.fontBoundingBoxAscent??0)+(n.fontBoundingBoxDescent??0);r>f&&(f=r)}}if(u===0&&(u=b),i&&I){e.font=L;let t=e.measureText(`M`),n=t.actualBoundingBoxAscent+t.actualBoundingBoxDescent;n>u&&(u=n)}i&&z&&z.sizePx>u&&(u=z.sizePx);let p=u*1.2,g=D&&f>p,_=p,x=d===t.paragraphs.length-1&&a,S=t.paragraphs.length===1&&W.length===1,C;C=m.spaceLine?m.spaceLine.type===`pct`?p*(m.spaceLine.val/1e5):m.spaceLine.val*Dt*o:_;let T=C;h&&!D&&!v&&(m.spaceLine?m.spaceLine.type===`pct`&&x&&S&&(T=u*(m.spaceLine.val/1e5)):T=u);let E=m.spaceLine?.type===`pct`?u*(m.spaceLine.val/1e5):T;t.autoFit===`norm`&&t.lnSpcReduction!=null&&m.spaceLine?.type!==`pts`&&(T*=1-t.lnSpcReduction);let O=T+(a?G:0),k=i&&d>0?te:0,A=i?dP(w,y):0,j=r.segments.some(e=>e.text&&e.text.length>0||e.math!=null),M=i&&j?z:null;s.push({line:r,linePx:O,lineHeight:T,baselineLineHeight:E,topGapPx:k,textXOffset:A,bulletLabel:i?I:``,bulletFont:L,bulletColor:R,bulletX:ee,bulletImage:M,textX:H,textMaxW:U,alignment:m.alignment,isLastLine:a,para:m,useResolvedFontMetrics:g});let N=c+k;c+=O+k,l=Math.max(l,c,N+(g?Math.max(T,f):T)+(a?G:0))}}return{allLines:s,totalHeight:c,requiredHeight:l}},{allLines:F,totalHeight:I,requiredHeight:L}=P(1);if(t.autoFit===`norm`)if(t.fontScale!=null&&t.fontScale>0)t.fontScale<1&&({allLines:F,totalHeight:I,requiredHeight:L}=P(t.fontScale));else{let e=a-w-T;if(L>e&&e>0){let t=.1,n=1;for(let r=0;r<6;r++){let r=(t+n)/2;P(r).requiredHeight<=e?t=r:n=r}({allLines:F,totalHeight:I,requiredHeight:L}=P(t))}}if(h)return w+L+T;let R=t.verticalAnchor??`t`,z=r,B;a===0&&R===`b`?(B=w+L+T,z=r-B):B=t.autoFit===`sp`?Math.max(a,w+L+T):a;let V,H=Math.max(0,B-w-T);V=R===`ctr`?z+w+(H-L)/2:R===`b`?z+B-T-L:z+w,e.save(),e.textAlign=`left`,e.textBaseline=`alphabetic`;let ee=V,U=k>1?(i-S-C-(k-1)*A)/k+A:0,W=Math.max(0,B-w-T),te=F[F.length-1],G=te?Math.max(0,te.linePx-te.lineHeight):0,ne=L-G,re=a===0||ne<=W+.5,ie=k>1&&!re?Math.ceil(F.length/k):F.length,ae=0,oe=0;for(let s of F){let{line:l,linePx:u,lineHeight:d,topGapPx:f,textXOffset:h,bulletLabel:v,bulletFont:y,bulletColor:b,bulletImage:x,alignment:S,isLastLine:C,useResolvedFontMetrics:w}=s;k>1&&ae<k-1&&oe>=ie&&(ae++,oe=0,V=ee),V+=f,oe++;let T=(t.rtlCol?k-1-ae:ae)*U,E=s.textX+T,D=s.bulletX+T,O=s.textMaxW,A=s.para.rtl===!0,j=A||mN(l.segments),M=l.segments.some(e=>e.isTab);if(M){let t=$(s.para.marL,o),n=$(s.para.marR,o),r=A?n:t+h,i=O+t+n;e.font=l.segments.find(e=>e.isTab).font;let a=e.measureText(` `).width,c=NN(l.segments.map(t=>{if(t.isTab)return{isTab:!0,width:0};if(t.math)return{isTab:!1,width:t.math.width};e.font=t.font;let n=t.letterSpacingPx??0;return{isTab:!1,width:t.text?(t.leadingLetterSpacingPx??0)+bP(e,t.text,n):0}}),(s.para.tabStops??[]).map(e=>({pos:$(e.pos,o),algn:e.algn})),r,i,a,$(s.para.defTabSz??914400,o));for(let e=0;e<l.segments.length;e++)l.segments[e].isTab&&(l.segments[e].tabWidthPx=c[e])}let N=0,P=0,F=0,I=0;for(let t of l.segments){if(t.isTab){N+=t.tabWidthPx??0;continue}if(t.math){N+=t.math.width,P=Math.max(P,t.math.ascent);continue}e.font=t.font;let n=e.measureText(t.text||`M`),r=t.letterSpacingPx??0;if(N+=t.leadingLetterSpacingPx??0,N+=t.text?bP(e,t.text,r):0,n.actualBoundingBoxAscent>0&&(P=Math.max(P,n.actualBoundingBoxAscent)),w){let e=n.fontBoundingBoxAscent??0,t=e+(n.fontBoundingBoxDescent??0);t>I&&(I=t,F=e)}}let L=w&&I>0?R===`t`&&P>0?s.para.spaceLine?.type===`pct`?Math.max(P,F+(s.baselineLineHeight-I)/2):P:Math.max(P,F+Math.max(0,d-I)/2):Math.max(d*.8,P),z=V+L,B=E+O,H=x&&g?p.pictureBulletImages?.has(x.imagePath)?p.pictureBulletImages.get(x.imagePath):zb(x.imagePath,g):void 0,W=0;if(j&&A){if(v)e.font=y,W=e.measureText(v).width;else if(x&&H){let e=x.sizePx;W=H.height>0?e*(H.width/H.height):e}}if(v)if(e.font=y,e.fillStyle=b,j&&A){let t=e.direction;e.direction=`rtl`,e.fillText(v,B-W,z),e.direction=t}else e.fillText(v,D,z);if(x&&g&&H){let t=x.sizePx,n=H.height>0?t*(H.width/H.height):t,r=z-t;j&&A?e.drawImage(H,B-n,r,n,t):e.drawImage(H,D,r,n,t)}let te=E+h,G;G=M?A?E+O-W-N:te:S===`ctr`?te+(O-h-N)/2:S===`r`?E+O-W-N:te;let ne=S===`just`||S===`justLow`?`just`:S===`thaiDist`?`thaiDist`:S===`dist`?`dist`:null,re=C||(l.endsWithBreak??!1),se=(ne&&!j&&!M?xN(l.segments,O-h,N,ne,re):null)??l.segments,ce=j?hN(l.segments,A):null,le=(e,t)=>{if(Math.abs(e-t)!==1)return 0;let n=l.segments[Math.min(e,t)],r=l.segments[Math.max(e,t)];return n.isTab||n.math||r.isTab||r.math||n.sourceRunId==null||n.sourceRunId!==r.sourceRunId?0:r.leadingLetterSpacingPx??0},ue=se.length;for(let t=0;t<ue;t++){let s=ce?ce.order[t]:t,l=se[s],u=ce?ce.rtl[s]:!1;if(j&&(e.direction=u?`rtl`:`ltr`),t>0){let e=ce?ce.order[t-1]:t-1;G+=le(e,s)}if(l.isTab){G+=l.tabWidthPx??0;continue}let f=l.jext??0,h=l.splitBefore,g=l.perGap??0,v=h&&h.length>0?h.length*g:0;if(l.math){let t=vF.get(l.math.nodes),n=l.math.width,r=l.math.ascent+l.math.descent;if(t&&n>0&&r>0){let i=z-l.math.ascent,a=ZN(t,l.color);e.drawImage(a,G,i,n,r)}G+=n,G+=f;continue}e.font=l.font,e.fillStyle=l.color;let y=l.drawSizePx??l.sizePx,b=z+(l.baseline?-(l.baseline/1e5)*l.sizePx:0),x=l.letterSpacingPx??0;if(l.highlight&&l.text){let t=bP(e,l.text,x)+v+f;YN(e,G,b,t,y,l.highlight,l.color)}let S=l.shadow,C=(e,t,n,r)=>{let i=r===`fill`?e.fillText.bind(e):e.strokeText.bind(e);if(x!==0&&vP(t)>1){let r=e,a=r.letterSpacing;if(yP(e)){r.letterSpacing=`${x}px`,i(t,n,b);try{r.letterSpacing=a}catch{}}else{let r=n,a=[...t];for(let t=0;t<a.length;t++){let n=a[t];i(n,r,b),t<a.length-1&&(r+=e.measureText(n).width+x)}}}else i(t,n,b)},w=t=>bP(e,t,x),T=h&&h.length>0?Jj([...l.text],h,g,w):null,E=[...l.text],D=!!h&&h.length===E.length-1&&E.length>1,O=(e,t)=>{if(_){let n=D?x+g:x;RN(e,l.text,G,b,y,n,t);return}if(D){let n=t===`fill`?e.fillText.bind(e):e.strokeText.bind(e),r=x+g;if(yP(e)){let t=e,i=t.letterSpacing;t.letterSpacing=`${r}px`,n(l.text,G,b);try{t.letterSpacing=i}catch{}}else{let t=G;for(let i=0;i<E.length;i++){let a=E[i];n(a,t,b),i<E.length-1&&(t+=e.measureText(a).width+r)}}}else if(T)for(let{text:n,dx:r}of T)C(e,n,G+r,t);else C(e,l.text,G,t)},k=l.reflection;if(k&&l.text){let t=e.canvas.width||0,n=e.canvas.height||0;if(t>0&&n>0){e.font=l.font;let r=e.measureText(l.text),i=Number.isFinite(r.actualBoundingBoxAscent)?r.actualBoundingBoxAscent:y*.8,a=Number.isFinite(r.actualBoundingBoxDescent)?r.actualBoundingBoxDescent:y*.2,s=Number.isFinite(r.actualBoundingBoxLeft)?r.actualBoundingBoxLeft:0,c=Number.isFinite(r.actualBoundingBoxRight)?r.actualBoundingBoxRight:r.width,u=e.getTransform(),d=Math.abs(u.a*u.d-u.b*u.c),f=d>0?Math.sqrt(d):1;sP(e,e=>{e.font=l.font,e.fillStyle=l.color,O(e,`fill`)},{x:(G-s)*f,y:(b-i)*f,w:Math.max(1,s+c)*f,h:Math.max(1,i+a)*f},k,o*f,u,t,n),e.font=l.font,e.fillStyle=l.color}}if(S){let t=S.dir*Math.PI/180,n=$(S.dist,o);e.save(),e.shadowColor=_F(S.color,S.alpha),e.shadowBlur=$(S.blur,o),e.shadowOffsetX=Math.cos(t)*n,e.shadowOffsetY=Math.sin(t)*n}O(e,`fill`),S&&e.restore();let A=l.outline;A&&A.width>0&&(e.save(),e.lineWidth=Math.max(.5,$(A.width,o)),e.strokeStyle=A.color?`#${A.color}`:l.color,e.lineJoin=`round`,O(e,`stroke`),e.restore()),e.font=l.font;let M=bP(e,l.text,x)+v;if(m&&l.text&&m({text:l.text,inShapeX:G-n,inShapeY:V-r,w:M+f,h:d,fontSize:y,font:l.font,shapeX:n,shapeY:r,shapeW:i,shapeH:a,rotation:c,hyperlink:l.hyperlink}),l.underline&&aw(e,G,b,M+f,y,l.underlineColor??l.color,l.underlineStyle,p.dpr),l.strikethrough){let t=Math.max(1,y*.05);e.strokeStyle=l.color,e.lineWidth=t,e.setLineDash([]);let n=b-y*.32;if(l.strikeDouble){let r=t*.9,i=n-r,a=n+r;e.beginPath(),e.moveTo(G,i+ew(i,t,p.dpr)),e.lineTo(G+M+f,i+ew(i,t,p.dpr)),e.moveTo(G,a+ew(a,t,p.dpr)),e.lineTo(G+M+f,a+ew(a,t,p.dpr)),e.stroke()}else{let r=n+ew(n,t,p.dpr);e.beginPath(),e.moveTo(G,r),e.lineTo(G+M+f,r),e.stroke()}}G+=M,G+=f}j&&(e.direction=`ltr`),V+=u}e.restore()}function QP(e,t,n,r,i){if(!e)return[];let a=VS(t?.rig??`threePt`,t?.dir??`t`,t?.rot),o=WS(n),s=r*i,c=[];return e.bevelT&&e.bevelT.w>0&&e.bevelT.h>0&&c.push({widthPx:e.bevelT.w*s,heightPx:e.bevelT.h*s,prst:e.bevelT.prst||`circle`,material:o,light:a}),e.bevelB&&e.bevelB.w>0&&e.bevelB.h>0&&c.push({widthPx:e.bevelB.w*s,heightPx:e.bevelB.h*s,prst:e.bevelB.prst||`circle`,material:o,light:a,bottom:!0}),c}function $P(e,t,n,r,i,a){if(!e||!e.extrusionH||e.extrusionH<=0)return null;let o=e.extrusionH*i*a,s=kS(t,n*a,r*a,o);if(Math.hypot(s.x,s.y)<.75)return null;let c=[64,64,64];if(e.extrusionClr){let t=e.extrusionClr.replace(`#`,``);t.length>=6&&(c=[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)])}return{offsetX:s.x,offsetY:s.y,rgb:c}}function eF(e,t,n,r,i,a,o,s={}){if(i<=0||a<=0)return!1;let c=e.getTransform(),l=Math.abs(c.a*c.d-c.b*c.c),u=l>0?Math.sqrt(l):1,d=Math.max(0,Math.ceil((s.edgePadCss??0)*u)),f=DS(t,i,a),p=f.corners;if(d>0){let e=d/u,t=sc(f.corners,e/i,e/a);t?p=t:d=0}let m=d/u,h=Math.max(1,Math.ceil(i*u)+2*d),g=Math.max(1,Math.ceil(a*u)+2*d),_=gr(h,g);if(!_)return!1;let v=_.getContext(`2d`);if(!v)return!1;v.save(),v.scale(u,u),v.translate(m,m),o(v,0,0,i,a),v.restore();let y=Math.ceil(i*u),b=Math.ceil(a*u),x=e=>({x:d-e,y:d-e,w:y+2*e,h:b+2*e});if(s.extrusion){let e=Math.ceil(Math.hypot(s.extrusion.offsetX,s.extrusion.offsetY))+2;YS(v,s.extrusion,x(e))}if(s.bevels&&s.bevels.length>0)for(let e of s.bevels)JS(v,e,x(Math.ceil(e.widthPx)+2));return s.paintEdges&&(v.save(),v.scale(u,u),v.translate(m,m),s.paintEdges(v,0,0,i,a),v.restore()),ac(_,e,h,g,p.map(e=>({x:n+e.x,y:r+e.y}))),!0}function tF(e,t,n,r,i,a,o,s,c=0){if(r<=0||i<=0||a.length===0)return!1;let l=e.getTransform(),u=Math.abs(l.a*l.d-l.b*l.c),d=u>0?Math.sqrt(u):1,f=Math.max(0,Math.ceil(c*d)),p=f/d,m=Math.max(1,Math.ceil(r*d)+2*f),h=Math.max(1,Math.ceil(i*d)+2*f),g=gr(m,h);if(!g)return!1;let _=g.getContext(`2d`);if(!_)return!1;_.save(),_.scale(d,d),_.translate(p,p),o(_,0,0,r,i),_.restore();let v=Math.ceil(r*d),y=Math.ceil(i*d);for(let e of a){let t=Math.ceil(e.widthPx)+2;JS(_,e,{x:f-t,y:f-t,w:v+2*t,h:y+2*t})}return s&&(_.save(),_.scale(d,d),_.translate(p,p),s(_,0,0,r,i),_.restore()),e.drawImage(g,t-p,n-p,m/d,h/d),!0}function nF(e){let t=NF.get(e);return t||(t=async(t,n)=>{let r=await e(t);return r.type===n?r:new Blob([r],{type:n})},NF.set(e,t)),t}function rF(e,t,n=nF(t),r,i,a){let o=nF(t);return Rb(e.posterPath,e.posterMimeType||`application/octet-stream`,o,{tiff:r,svgDecoder:a,...i??{}},n).then(e=>{if(!e)throw Error(`Media poster could not be decoded`);return e})}function iF(e,t,n){let r=$(t.x,n),i=$(t.y,n),a=$(t.width,n),o=$(t.height,n);e.save();try{t.alpha!=null&&(e.globalAlpha*=t.alpha),(t.rotation!==0||t.flipH||t.flipV)&&(e.translate(r+a/2,i+o/2),e.rotate(t.rotation*Math.PI/180),e.scale(t.flipH?-1:1,t.flipV?-1:1),e.translate(-(r+a/2),-(i+o/2))),Ny(e,`tiff`,{x:r,y:i,width:a,height:o})}finally{e.restore()}}async function aF(e,t,n,r,i,a,o=1,s,c){if(i)try{let l=t.mimeType===`image/svg+xml`,u=Si(t.mimeType,t.srcRect,t.width/Dt,t.height/Dt);if(!u)return;let{widthPt:d,heightPt:f}=u,p=HN($(t.width,n),$(t.height,n),o,t.srcRect),m=gx(t)||l,h=m?p:c&&!t.duotone?WN(c,UN(GN(t),m?void 0:t.duotone)):void 0,g=h&&`maxRetainedPixels`in h?h.maxRetainedPixels:void 0,_={...h?{targetWidthPx:h.targetWidthPx,targetHeightPx:h.targetHeightPx,...g===void 0?{}:{maxRetainedPixels:g}}:{},workerDecoder:s},v;if(gx(t))try{v=await ex(t.svgImagePath,i,_)}catch{v=l?await ex(t.imagePath,i,_):await fx(t.imagePath,t.mimeType,t.duotone,i,{widthPt:d,heightPt:f,...h??{},tiff:a})}else v=l?await ex(t.imagePath,i,_):await fx(t.imagePath,t.mimeType,t.duotone,i,{widthPt:d,heightPt:f,...h??{},tiff:a});if(!v||r())return;e.save(),t.alpha!=null&&(e.globalAlpha*=t.alpha);let y=$(t.x,n),b=$(t.y,n),x=$(t.width,n),S=$(t.height,n);(t.rotation!==0||t.flipH||t.flipV)&&(e.translate(y+x/2,b+S/2),e.rotate(t.rotation*Math.PI/180),t.flipH&&e.scale(-1,1),t.flipV&&e.scale(1,-1),e.translate(-(y+x/2),-(b+S/2)));let C=(e,n,r,i,a)=>{t.custGeom&&t.custGeom.length>0?MF(e,t.custGeom,n,r,i,a):t.prstGeom&&T_(e,t.prstGeom,n,r,i,a,t.prstAdjust??[])||e.rect(n,r,i,a)},w=(e,t,n,r,i)=>{e.beginPath(),C(e,t,n,r,i)},T=(e,n,r,i,a)=>{(t.prstGeom||t.custGeom&&t.custGeom.length>0)&&(w(e,n,r,i,a),e.clip())},E=(e,r,i,a,o)=>{t.stroke&&(e.save(),cF(e,t.stroke,n,{x:r,y:i,w:a,h:o},t.rotation),w(e,r,i,a,o),e.stroke(),e.restore())},D=(e,r,i,a,o)=>{let s=t.sp3d;if(s&&(s.contourW??0)>0&&s.contourClr){let t=Math.max(.5,s.contourW*n);e.save(),e.beginPath();let c=t*2+Math.max(a,o);e.rect(r-c,i-c,a+2*c,o+2*c),C(e,r,i,a,o),e.clip(`evenodd`),e.beginPath(),w(e,r,i,a,o),e.strokeStyle=_F(s.contourClr),e.lineWidth=t*2,e.setLineDash([]),e.stroke(),e.restore()}},O=t.scene3d&&OS(t.scene3d.camera)?t.scene3d:null,k=(e,n,r,i,a)=>{e.save(),T(e,n,r,i,a),bi(e,v,t.srcRect,n,r,i,a),e.restore()},A=(e,t,n,r,i)=>{k(e,t,n,r,i),E(e,t,n,r,i),D(e,t,n,r,i)},j=(e,t,n,r,i)=>{k(e,t,n,r,i),E(e,t,n,r,i)},M=e.getTransform(),N=Math.abs(M.a*M.d-M.b*M.c),P=N>0?Math.sqrt(N):1,F=QP(t.sp3d,t.scene3d?.lightRig,t.sp3d?t.sp3d.prstMaterial:void 0,n,P),I=O?$P(t.sp3d,O.camera,x,S,n,P):null,L=t.stroke?t.stroke.width*n/2:0,R=t.sp3d?.contourW?t.sp3d.contourW*n:0,z=I?Math.hypot(I.offsetX,I.offsetY)/P:0,B=L+R+z+2,V=e=>{if(O){if(eF(e,O.camera,y,b,x,S,j,{bevels:F,extrusion:I??void 0,paintEdges:D,edgePadCss:B}))return}else if(F.length>0&&tF(e,y,b,x,S,F,j,D,B))return;A(e,y,b,x,S)},H=(e,t,n,r,i,a)=>{e.save(),T(e,n,r,i,a),e.fillStyle=t,e.fillRect(n,r,i,a),e.restore()},ee=(e,t)=>{O&&eF(e,O.camera,y,b,x,S,(e,n,r,i,a)=>H(e,t,n,r,i,a))||H(e,t,y,b,x,S)},U=e.getTransform(),W=Math.abs(U.a*U.d-U.b*U.c),te=W>0?Math.sqrt(W):1,G=L+R,ne=(t.custGeom&&t.custGeom.length>0?Op(t.custGeom,y,b,x,S):t.prstGeom&&C_(t.prstGeom.toLowerCase())?O_(t.prstGeom.toLowerCase(),y,b,x,S,t.prstAdjust??[]):null)??{x:y,y:b,w:x,h:S},re=O?HP(O.camera,U,y,b,x,S,B,t.shadow?.algn):{bbox:zP(U,ne.x-G,ne.y-G,ne.w+G*2,ne.h+G*2),anchor:VP(U,y,b,x,S,t.shadow?.algn)},ie=n*te,ae=!!(t.shadow||t.innerShadow||t.glow||t.softEdge||t.reflection),oe=e=>ee(e,`#000`);WP(e,t,O&&ae?UP(V,U,re.bbox,{w:e.canvas.width||0,h:e.canvas.height||0}):V,O&&ae?UP(oe,U,re.bbox,{w:e.canvas.width||0,h:e.canvas.height||0}):oe,re.bbox,re.anchor,n,ie,U),e.restore()}catch(i){if(My(i,`tiff`)){r()||iF(e,t,n);return}if(Sr(i)||$v(i))throw i}}async function oF(e,t,n,r,i,a,o,s,c=1,l,u){let d=$(t.x,n),f=$(t.y,n),p=$(t.width,n),m=$(t.height,n),h,g=!1;if(t.posterPath&&i)try{h=await rF(t,i,o,s,t.posterMimeType===`image/svg+xml`?HN(p,m,c):u?WN(u,UN(t.posterPath)):void 0,l)}catch(e){if(My(e,`tiff`))g=!0;else if(Sr(e)||$v(e))throw e}r()||(e.save(),lF(e,t,n),h?e.drawImage(h,d,f,p,m):(e.fillStyle=t.mediaKind===`video`?`#111`:`#f0f0f0`,e.fillRect(d,f,p,m),g&&Ny(e,`tiff`,{x:d,y:f,width:p,height:m})),a||fN(e,d+p/2,f+m/2,p,m,`paused`),e.restore())}function sF(e,t,n,r,i,a,o){let s=Math.max(.5,$(r.width,a)),c=n.x-t.x,l=n.y-t.y,u=Math.hypot(c,l);if(u===0)return;let d=-l/u,f=c/u,p;switch(i){case`dbl`:p=[{offset:-1/3,widthFrac:1/3},{offset:1/3,widthFrac:1/3}];break;case`thinThick`:p=[{offset:-3/8,widthFrac:1/4},{offset:1/4,widthFrac:1/2}];break;case`thickThin`:p=[{offset:-1/4,widthFrac:1/2},{offset:3/8,widthFrac:1/4}];break;case`tri`:p=[{offset:-2/5,widthFrac:1/5},{offset:0,widthFrac:3/5},{offset:2/5,widthFrac:1/5}];break;default:return}e.save(),e.globalCompositeOperation=`destination-out`,e.strokeStyle=`#000`,e.lineWidth=s+.5,e.setLineDash([]),e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(n.x,n.y),e.stroke(),e.globalCompositeOperation=`source-over`,e.strokeStyle=(r.fill?XN(r.fill,e,Math.min(t.x,n.x),Math.min(t.y,n.y),Math.max(1,Math.abs(n.x-t.x)),Math.max(1,Math.abs(n.y-t.y)),o):null)??_F(r.color);for(let r of p){let i=d*(s*r.offset),a=f*(s*r.offset);e.lineWidth=Math.max(.5,s*r.widthFrac),e.beginPath(),e.moveTo(t.x+i,t.y+a),e.lineTo(n.x+i,n.y+a),e.stroke()}e.restore()}function cF(e,t,n,r,i=0){if(Ui(e,t,n),t?.fill&&r){let n=XN(t.fill,e,r.x,r.y,r.w,r.h,i);n&&(e.strokeStyle=n)}}function lF(e,t,n){if(t.rotation===0&&!t.flipH&&!t.flipV)return;let r=$(t.x,n),i=$(t.y,n),a=$(t.width,n),o=$(t.height,n);e.translate(r+a/2,i+o/2),e.rotate(t.rotation*Math.PI/180),t.flipH&&e.scale(-1,1),t.flipV&&e.scale(1,-1),e.translate(-(r+a/2),-(i+o/2))}function uF(e,t,n,r,i={themeMajorFont:null,themeMinorFont:null,dpr:1},a){e.save(),lF(e,t,n);let o=$(t.x,n),s=$(t.y,n),c=t.cols.map(e=>$(e,n)),l=c.length,u=(e,t)=>{let n=0;for(let r=0;r<t;r++)n+=c[e+r]??0;return n},d=[...t.rows.map(e=>$(e.height,n))],f=t.rows.reduce((e,t)=>e+t.height,0),p=t.height>f;for(let a=0;a<t.rows.length;a++){let o=t.rows[a];for(let t=0;t<o.cells.length;t++){let s=o.cells[t];if(s.hMerge||s.vMerge||(s.rowSpan||1)>1||!s.textBody||o.height>0&&!p)continue;let c=u(t,s.gridSpan||1),l=ZP(e,s.textBody,0,0,c,0,n,null,0,!1,!1,`#000000`,r,i,void 0,!0,void 0,!1,o.height===0)||0;l>d[a]&&(d[a]=l)}}for(let a=0;a<t.rows.length;a++){let o=t.rows[a];for(let s=0;s<o.cells.length;s++){let c=o.cells[s];if(c.hMerge||c.vMerge)continue;let l=c.rowSpan||1;if(l<=1||!c.textBody)continue;let f=u(s,c.gridSpan||1),m=t.rows.slice(a,Math.min(t.rows.length,a+l)).some(e=>e.height===0);if(!m&&!p)continue;let h=ZP(e,c.textBody,0,0,f,0,n,null,0,!1,!1,`#000000`,r,i,void 0,!0,void 0,!1,m)||0,g=0;for(let e=0;e<l&&a+e<d.length;e++)g+=d[a+e];if(h>g){let e=(h-g)/l;for(let t=0;t<l&&a+t<d.length;t++)d[a+t]+=e}}}let m=c.reduce((e,t)=>e+t,0),h=Array(l);if(t.rtl){let e=o+m;for(let t=0;t<l;t++)e-=c[t],h[t]=e}else{let e=o;for(let t=0;t<l;t++)h[t]=e,e+=c[t]}let g=(e,n)=>t.rtl?h[e+n-1]:h[e],_=Array(t.rows.length);{let e=s;for(let n=0;n<t.rows.length;n++)_[n]=e,e+=d[n]}let v,y={row:0,column:0};if(a){let e=$(t.width,n),r=$(t.height,n),i=o+e/2,c=s+r/2,l=t.rotation*Math.PI/180,u=Math.cos(l),d=Math.sin(l);v=e=>{let n=e.shapeX+e.shapeW/2-i,r=e.shapeY+e.shapeH/2-c;t.flipH&&(n=-n),t.flipV&&(r=-r);let o=i+u*n-d*r,s=c+d*n+u*r;a({...e,...t.id===void 0?{}:{shapeId:t.id},shapeX:o-e.shapeW/2,shapeY:s-e.shapeH/2,rotation:t.rotation,...t.flipH?{shapeFlipH:!0}:{},...t.flipV?{shapeFlipV:!0}:{},tableCell:y})}}let b=[],x=t.rows.map(()=>Array(l).fill(-1));for(let e=0;e<t.rows.length;e++){let n=t.rows[e],r=_[e];for(let i=0;i<n.cells.length;i++){let a=n.cells[i];if(a.hMerge||a.vMerge)continue;let o=a.gridSpan||1,s=a.rowSpan||1,c=u(i,o),f=0;for(let t=0;t<s;t++)f+=d[e+t]??0;let p=g(i,o),m=Math.min(e+s-1,t.rows.length-1),h=b.length;b.push({cell:a,colX:p,rowY:r,cellW:c,cellH:f,ci:i,ri:e,span:o,lastRi:m});for(let t=e;t<=m;t++)for(let e=i;e<i+o&&e<l;e++)x[t][e]=h}}for(let{cell:a,colX:o,rowY:s,cellW:c,cellH:l,ci:u,ri:d}of b){let f=XN(a.fill,e,o,s,c,l,t.rotation);if(f&&(e.fillStyle=f,e.fillRect(o,s,c,l)),a.textBody){v&&(y={row:d,column:u});let t=a.textColor?_F(a.textColor):null;ZP(e,a.textBody,o,s,c,l,n,t,0,!1,!1,`#000000`,r,i,v)}}let S=i.dpr,C=(e,t)=>{if(e<0||e>=x.length||t<0||t>=l)return null;let n=x[e][t];return n<0?null:b[n]},w=(r,i,a,o,s)=>{if(cF(e,r,n,{x:Math.min(i,o),y:Math.min(a,s),w:Math.max(1,Math.abs(o-i)),h:Math.max(1,Math.abs(s-a))},t.rotation),r.cmpd===`dbl`&&!r.dashStyle&&!r.customDash?.length&&(i===o||a===s)){e.fillStyle=e.strokeStyle,rw(e,i,a,o,s,Math.max(.5,$(r.width,n)),S);return}let c=i===o?ew(i,e.lineWidth,S):0,l=a===s?ew(a,e.lineWidth,S):0;e.beginPath(),e.moveTo(i+c,a+l),e.lineTo(o+c,s+l),e.stroke()};for(let r of b){let{cell:i,colX:a,rowY:o,cellW:s,cellH:c}=r;e.save();let f=t.rtl?i.borderR:i.borderL,p=t.rtl?i.borderL:i.borderR,m=t.rtl?r.ci+r.span===l:r.ci===0,h=t.rtl?r.ci===0:r.ci+r.span===l,v=t.rtl?r.ci-1:r.ci+r.span,y=e=>t.rtl?e.borderR:e.borderL;if(r.ri===0&&i.borderT&&w(i.borderT,a,o,a+s,o),m&&f&&w(f,a,o,a,o+c),r.lastRi===t.rows.length-1){let e=i.borderB;e&&w(e,a,o+c,a+s,o+c)}else{let e=r.lastRi+1,t=o+c,n=Math.min(r.ci+r.span,l),a=r.ci;for(;a<n;){let r=x[e][a],o=a+1;for(;o<n&&x[e][o]===r;)o++;let s=C(e,a),c=EN(i.borderB,s?s.cell.borderT:null);if(c){let e=g(a,o-a);w(c,e,t,e+u(a,o-a),t)}a=o}}if(h){let e=p;e&&w(e,a+s,o,a+s,o+c)}else{let e=a+s,t=r.ri;for(;t<=r.lastRi;){let n=x[t][v],i=t;for(;i+1<=r.lastRi&&x[i+1][v]===n;)i++;let a=C(t,v),o=EN(p,a?y(a.cell):null);o&&w(o,e,_[t],e,_[i]+d[i]),t=i+1}}i.diagonalTL&&(cF(e,i.diagonalTL,n,{x:a,y:o,w:s,h:c},t.rotation),e.beginPath(),e.moveTo(a,o),e.lineTo(a+s,o+c),e.stroke()),i.diagonalTR&&(cF(e,i.diagonalTR,n,{x:a,y:o,w:s,h:c},t.rotation),e.beginPath(),e.moveTo(a+s,o),e.lineTo(a,o+c),e.stroke()),e.restore()}e.restore()}function dF(e,t,n,r){e.save(),e.globalAlpha=t.opacity,e.fillStyle=t.color,e.fillRect(0,0,n,r),e.restore()}function fF(e){PF.set(e,(PF.get(e)??0)+1)}function pF(e,t,n,r,i){e.save(),e.fillStyle=`#f7f7f8`,e.fillRect(0,0,t,n);let a=Math.max(12,Math.min(t,n)*.04);e.strokeStyle=`#c8ccd2`,e.lineWidth=Math.max(1,Math.min(t,n)*.004),e.setLineDash([e.lineWidth*6,e.lineWidth*5]),e.strokeRect(a,a,t-a*2,n-a*2),e.setLineDash([]);let o=t/2,s=Math.max(18,Math.min(t,n)*.14);e.fillStyle=`#b23b3b`,e.textAlign=`center`,e.textBaseline=`middle`,e.font=`${s}px sans-serif`,e.fillText(`⚠`,o,n*.34);let c=Math.max(11,Math.min(t,n)*.045);e.fillStyle=`#333333`,e.font=`600 ${c}px sans-serif`,e.fillText(`Slide ${r} could not be displayed`,o,n*.52);let l=Math.max(9,Math.min(t,n)*.028);e.fillStyle=`#666666`,e.font=`${l}px sans-serif`;let u=t-a*4,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.35,h=n*.6+m;for(let t of f.slice(0,4))e.fillText(t,o,h),h+=m;e.restore()}async function mF(e,t,n,r,i={},a){return hF(e,t,n,r,i,a)}async function hF(e,t,n,r,i={},a){let o=i.fetchImage??(i.fetchMedia?nF(i.fetchMedia):void 0),s=(PF.get(e)??0)+1;PF.set(e,s);let c=()=>PF.get(e)!==s,l=()=>c()?Promise.resolve(e):gF(e,t,n,r,i,a,o,c);return o&&JN(t)?fb(o,i.imageResources,l):l()}async function gF(e,t,n,r,i={},a,o,s=()=>!1){let c=i.width??((ZC(e)?e.offsetWidth:0)||960),l=c/n,u=Math.round(c),d=Math.round(r*l),f=i.dpr??QC(),p=ta(u*f,d*f),m=p.clamped?f*p.scale:f,h=await qN(t,u,d,l,m,i.imageResources,i.fetchImage,i.fetchMedia,o,i.tiff);e.width=p.width,e.height=p.height,ZC(e)&&(e.style.width=`${u}px`,e.style.display||(e.style.display=`block`));let g=e.getContext(`2d`);if(!g)throw Error(`Could not get 2D context`);if(g.scale(m,m),t.parseError)return pF(g,u,d,t.slideNumber,t.parseError),e;let _=i.defaultTextColor?`#${i.defaultTextColor}`:`#000000`,v=new Map,y={cjkFallback:i.cjkFallback?iM(t,i.majorFont??null,i.minorFont??null,i.cjkFallback):void 0,themeMajorFont:i.majorFont??null,themeMinorFont:i.minorFont??null,themeHlinkColor:i.hlinkColor??null,embeddedFontAliases:i.embeddedFontAliases,embeddedFontAuthoredFamilies:i.embeddedFontAuthoredFamilies,dpr:m,smartArtFallbackTextColor:jN(t.background,_),pictureBulletImages:v};if(await SP(g,t.background,u,d,l,s,i.fetchImage,i.tiff,i.svgDecoder,h),s()||(i.math&&await $N(t,i.math),s()))return e;let b=t.slideNumber;for(let e of t.elements)if(e.type===`picture`&&i.fetchImage){let t=e,n=t.mimeType===`image/svg+xml`,r=gx(t)||n,a=!r&&!t.duotone?WN(h,UN(GN(t),t.duotone)):void 0,o=HN($(t.width,l),$(t.height,l),m,t.srcRect),s=r?o:a,c=s&&`maxRetainedPixels`in s?s.maxRetainedPixels:void 0,u={...s?{targetWidthPx:s.targetWidthPx,targetHeightPx:s.targetHeightPx,...c===void 0?{}:{maxRetainedPixels:c}}:{},workerDecoder:i.svgDecoder};if(gx(t))ex(t.svgImagePath,i.fetchImage,u).catch(()=>void 0);else if(n)ex(t.imagePath,i.fetchImage,u).catch(()=>void 0);else{let e=Si(t.mimeType,t.srcRect,t.width/Dt,t.height/Dt);if(!e)continue;fx(t.imagePath,t.mimeType,t.duotone,i.fetchImage,{widthPt:e.widthPt,heightPt:e.heightPt,...s??{},tiff:i.tiff,svgDecoder:i.svgDecoder}).catch(()=>void 0)}}else if(e.type===`media`){let t=e;t.posterPath&&i.fetchMedia&&rF(t,i.fetchMedia,o,i.tiff,t.posterMimeType===`image/svg+xml`?HN($(t.width,l),$(t.height,l),m):WN(h,UN(t.posterPath)),i.svgDecoder).catch(()=>void 0)}let x=new Map;if(i.fetchImage){let n=i.fetchImage,r=new Map,a=[];for(let e of t.elements){if(e.type!==`chart`||!Number.isFinite(e.width)||e.width<=0||!Number.isFinite(e.height)||e.height<=0)continue;let t={widthPt:e.width/Dt,heightPt:e.height/Dt,targetWidthPx:$(e.width,l)*m,targetHeightPx:$(e.height,l)*m},n=[],r=!0;for(let i of Rs(e.chart)){let e=Ps(i,t);if(!e){r=!1;break}n.push({usage:i,size:e})}r&&a.push({element:e,frame:t,usages:n})}let o=new Map;for(let e of zs(a.map(({element:e})=>e.chart),(e,t)=>Ps(e,a[t].frame)!=null)){let{fill:t}=e,n=Cs(t);o.has(n)||o.set(n,{fill:t,widthPt:0,heightPt:0,preserveNaturalSize:e.preserveNaturalSize,hasSourceCrop:e.hasSourceCrop})}for(let{usages:e}of a)for(let{usage:t,size:n}of e){let{fill:e}=t,r=Cs(e),i=o.get(r);if(!i)continue;let a=i.preserveNaturalSize||t.preserveNaturalSize,s=i.hasSourceCrop||t.hasSourceCrop,c=a||e.duotone?void 0:WN(h,UN(e.imagePath,e.duotone)),l=!e.duotone&&(e.mimeType===`image/svg+xml`||gx({svgImagePath:e.svgImagePath,srcRect:s?!0:null}));o.set(r,{...i,widthPt:Math.max(i.widthPt,n.widthPt),heightPt:Math.max(i.heightPt,n.heightPt),targetWidthPx:a?void 0:c?.targetWidthPx??(l&&Math.max(i.targetWidthPx??0,n.targetWidthPx??0)||void 0),targetHeightPx:a?void 0:c?.targetHeightPx??(l&&Math.max(i.targetHeightPx??0,n.targetHeightPx??0)||void 0),maxRetainedPixels:c?.maxRetainedPixels,preserveNaturalSize:a,hasSourceCrop:s})}for(let e of t.elements)if(!(e.type!==`shape`||!e.textBody))for(let t of e.textBody.paragraphs){let n=iN(t.bullet);if(n.type===`blip`){let i=uP(e.textBody,t,n)*Dt*l*m,a=r.get(n.imagePath);a?Number.isFinite(i)&&i>0&&(a.targetHeightPx=Math.max(a.targetHeightPx??0,i)):r.set(n.imagePath,{mimeType:n.mimeType,...Number.isFinite(i)&&i>0?{targetHeightPx:i}:{}})}}if(r.size>0||o.size>0){let t=[...r].map(async([e,{mimeType:t,targetHeightPx:r}])=>{try{let a=t===`image/svg+xml`?r===void 0?{}:{targetWidthPx:1,targetHeightPx:r}:WN(h,UN(e))??{},o=t===`image/svg+xml`?await ex(e,n,{...a,workerDecoder:i.svgDecoder}):await Rb(e,t,n,{tiff:i.tiff,...a});v.set(e,o)}catch(t){if(My(t,`tiff`)){v.set(e,null);return}if(Sr(t)||$v(t))throw t;v.set(e,null)}}),a=[...o].map(async([e,t])=>{let{fill:r,widthPt:a,heightPt:o,targetWidthPx:s,targetHeightPx:c,maxRetainedPixels:l,hasSourceCrop:u}=t,d=s&&c?{targetWidthPx:s,targetHeightPx:c,...l===void 0?{}:{maxRetainedPixels:l}}:void 0;try{let t=()=>r.mimeType===`image/svg+xml`?r.duotone?Promise.resolve(null):ex(r.imagePath,n,{...d??{},workerDecoder:i.svgDecoder}):fx(r.imagePath,r.mimeType,r.duotone,n,{widthPt:a,heightPt:o,...d??{},failClosedOnDuotoneFailure:!0,tiff:i.tiff}),s,c={svgImagePath:r.svgImagePath,srcRect:u?!0:null};if(!r.duotone&&gx(c))try{s=await ex(c.svgImagePath,n,{...d??{},workerDecoder:i.svgDecoder})}catch{s=await t()}else s=await t();x.set(e,s)}catch(t){if(My(t,`tiff`)){x.set(e,null);return}if(Sr(t)||$v(t))throw t;x.set(e,null)}});if(await Promise.all([...t,...a]),s())return e}}for(let[n,r]of t.elements.entries()){if(s())return e;if(r.type===`shape`)KP(g,r,l,_,b,y,a?e=>a({...e,elementIndex:n,origin:t.elementSources?.[n]?.origin??`slide`}):void 0,i.fetchImage);else if(r.type===`picture`)await aF(g,r,l,s,i.fetchImage,i.tiff,m,i.svgDecoder,h);else if(r.type===`table`)uF(g,r,l,b,y,a?e=>a({...e,elementIndex:n,origin:t.elementSources?.[n]?.origin??`slide`}):void 0);else if(r.type===`media`)await oF(g,r,l,s,i.fetchMedia,i.skipMediaControls,i.fetchImage,i.tiff,m,i.svgDecoder,h);else if(r.type===`chart`){let e=Dt*l;g.save(),lF(g,r,l),np(g,r.chart,{x:$(r.x,l),y:$(r.y,l),w:$(r.width,l),h:$(r.height,l)},e,r.rotation,i.threeD,i.regionMap,e=>x.get(Cs(e)),i.chartEx),g.restore()}}return s()||i.dim&&dF(g,i.dim,u,d),e}var _F,vF,yF,bF,xF,SF,CF,wF,TF,EF,DF,OF,kF,AF,jF,MF,NF,PF,FF=t((()=>{sM(),eM(),aN(),$j(),lN(),dN(),pN(),vN(),bN(),CN(),DN(),MN(),PN(),BN(),_F=Ri,vF=new WeakMap,yF=new Set([`serif`,`sans-serif`,`monospace`,`cursive`,`fantasy`,`system-ui`]),bF={calibri:`Carlito`,"calibri light":`Carlito`,cambria:`Caladea`,"cambria math":`Caladea`,"franklin gothic book":`Libre Franklin`,"franklin gothic medium":`Libre Franklin`,"sakkal majalla":`Noto Naskh Arabic`,"traditional arabic":`Noto Naskh Arabic`,"simplified arabic":`Noto Naskh Arabic`,"arabic typesetting":`Noto Naskh Arabic`,"univers next arabic":`Noto Sans Arabic`},xF=`"Noto Naskh Arabic", "Noto Sans Arabic"`,SF=/^\p{Script_Extensions=Latin}$/u,CF=/^\p{L}$/u,wF=/^[\u0000-\u007f]*$/u,TF=new WeakMap,EF=9525,DF=8,OF=1,kF=1,AF=256,jF={tl:[0,0],t:[.5,0],tr:[1,0],l:[0,.5],ctr:[.5,.5],r:[1,.5],bl:[0,1],b:[.5,1],br:[1,1]},MF=kp,NF=new WeakMap,PF=new WeakMap}));sM(),$j(),Ik();const IF=new gw(w,{freeArchive:e=>e.free(),reinit:T}),LF=e=>{let t=IF.archive;if(!t)throw Error(`Presentation not loaded`);return IF.run(()=>e(t))},RF=new IM(()=>IF.archive,void 0,e=>LF(e));let zF=null,BF,VF=null,HF=null,UF=0;const WF=new Set,GF=new rN;let KF=0,qF=1,JF=`empty`,YF=Promise.resolve(),XF=new Map,ZF=new Map,QF,$F={};const eI=new zM({maxEntries:64,maxBytes:G}),tI=Promise.resolve().then(()=>(FF(),VN));function nI(){if(JF!==`empty`){let e=Error(`this PPTX render worker already owns a presentation parse`);throw e.name=`PptxWorkerStateError`,Object.assign(e,{code:`ooxml-pptx-parse-already-started`})}JF=`opening`}const rI=(e,t)=>self.postMessage(e,t),iI=(e,t)=>rI(e,t),aI=new Ok(rI);function oI(){if(zF)return zF;if(VF?.acceptedSlideCount)return VF.snapshot();throw Error(`No pptx loaded`)}function sI(){if(!HF)throw Error(`No pptx loaded`);return HF}function cI(e){let t=qF++,n=KF;return RF.run(()=>FM(e=>LF(e),e,{operationId:t,generation:n},VF?(e,t,n)=>(QF=n,VF?.prepareSlide(t,n)):void 0))}function lI(e){let t=wM(oI(),e);return eI.get(e,t,()=>RF.run(()=>{let n=LF(t=>t.extract_media(e));return new Blob([n],{type:t})}))}function uI(e,t){return eI.get(e,t,()=>RF.run(()=>{let n=LF(t=>t.extract_image(e));return new Blob([n],{type:t})}))}function dI(e){return RF.run(()=>{let t=LF(t=>t.extract_font(e));return new Uint8Array(t)})}async function fI(e){GF.reset(),await RF.reset(),HF?.clear(),HF=null,zF=null,VF=null,UF=0,pI(),KF+=1,qF=1,eI.clear(),Bb(uI),tx(uI),YF=Promise.resolve(),XF=new Map,ZF=new Map,QF=void 0,$F=await Ck(e.renderers);let[t,n,r]=Tk(e.resourcePolicy),i=await RF.run(()=>hI(e.buffer,t,n,r)),a=tN(i.embeddedFonts,dI);if(BF=e.cjkFallback,VF=new DM(i,{cjkFallback:BF}),HF=new jM({slideCount:i.slideCount,maxCachedSlides:8,maxCachedStructuralBytes:te,loadSlide:cI}),e.progressiveLayout){let t=new Set,n=async()=>{let n=await a;if(XF=n.aliases,ZF=n.authoredFamilies,!e.useGoogleFonts)return;let r=nN(VF.currentFontPreloadNames,n.aliases).filter(e=>!!e&&!t.has(e));for(let e of r)t.add(e);r.length&&await L(r,aM)};for(let t=0;t<i.slideCount;t+=1){await HF.withSlide(t,()=>void 0),await n(),UF=t+1;let r=VF.latestSlide;if(!r)throw Error(`PPTX progressive preflight lost slide ${t}`);pI();let a=GF.wait(e.id,UF);iI({kind:`presentationLayoutPartial`,forId:e.id,...t===0?{bootstrap:i}:{},availableSlides:UF,slide:r,fontPreloadNames:VF.currentFontPreloadNames,usage:QF}),await a}zF=VF.finish(),VF=null,YF=Promise.resolve()}else{for(let e=0;e<i.slideCount;e+=1)await HF.withSlide(e,()=>void 0);zF=VF.finish(),VF=null,UF=i.slideCount,pI(),YF=(async()=>{let t=await a;if(XF=t.aliases,ZF=t.authoredFamilies,!e.useGoogleFonts)return t.faces;let n=await L(nN(zF.fontPreloadNames,t.aliases),aM);return[...t.faces,...n]})()}return zF}function pI(){for(let e of WF)e();WF.clear()}async function mI(e){if(JF===`empty`)throw Error(`No pptx loaded`);for(;e>=UF&&JF===`opening`;)await new Promise(e=>WF.add(e));if(JF===`failed`)throw Error(`PPTX progressive preflight failed`);if(e>=UF)throw Error(`Slide index ${e} out of range (count: ${UF})`)}function hI(e,t,n,i){return IF.run(()=>{let a=new r(new Uint8Array(e),t,n,i);return IF.setArchive(a),JSON.parse(new TextDecoder().decode(a.presentation_bootstrap()))})}self.onmessage=async e=>{let t=e.data;if(Dk(t)){aI.accept(t);return}if(t.kind===`init`){IF.setWasmInput(sw(t.wasmUrl)??t.wasmUrl);return}if(t.kind===`continuePresentationPreflight`){GF.continue(t.forId,t.availableSlides);return}let n=!1;try{if(t.kind===`parse`&&(nI(),n=!0),await IF.ensureReady(),t.kind===`parse`){let e=await fI(t);iI({kind:`presentationReady`,id:t.id,preflight:e,usage:QF}),JF=`ready`;return}`slideIndex`in t&&await mI(t.slideIndex);let e=oI();if(await RF.run(()=>LF(e=>e.assert_healthy())),t.kind===`renderSlide`){let{bitmap:n,runs:r}=await sI().withSlide(t.slideIndex,async n=>{await RF.run(()=>LF(e=>e.assert_healthy())),await YF;let{renderSlideWithEmbeddedFonts:r}=await tI,i=new OffscreenCanvas(1,1),a=[];return await r(i,n,e.slideWidth,e.slideHeight,{width:t.width,dpr:t.dpr,imageResources:t.imageResources,defaultTextColor:e.defaultTextColor,cjkFallback:BF,majorFont:e.majorFont,minorFont:e.minorFont,hlinkColor:e.hlinkColor,embeddedFontAliases:XF,embeddedFontAuthoredFamilies:ZF,fetchMedia:lI,fetchImage:uI,svgDecoder:aI.decode,skipMediaControls:t.skipMediaControls,dim:t.dim,math:$F.math,threeD:$F.threeD,regionMap:$F.regionMap,chartEx:$F.chartEx,tiff:$F.tiff},e=>a.push(e)),{bitmap:i.transferToImageBitmap(),runs:a}});iT(iI,{kind:`slideRendered`,id:t.id,bitmap:n,runs:r});return}if(t.kind===`collectRuns`){let n=await sI().withSlide(t.slideIndex,async n=>{await RF.run(()=>LF(e=>e.assert_healthy())),await YF;let{renderSlideWithEmbeddedFonts:r}=await tI,i=new OffscreenCanvas(1,1),a=[];return await r(i,n,e.slideWidth,e.slideHeight,{width:t.width,defaultTextColor:e.defaultTextColor,cjkFallback:BF,majorFont:e.majorFont,minorFont:e.minorFont,hlinkColor:e.hlinkColor,embeddedFontAliases:XF,embeddedFontAuthoredFamilies:ZF,fetchMedia:lI,fetchImage:uI,svgDecoder:aI.decode,math:$F.math,threeD:$F.threeD,regionMap:$F.regionMap,chartEx:$F.chartEx,tiff:$F.tiff},e=>a.push(e)),a});iI({kind:`runsCollected`,id:t.id,runs:n});return}if(t.kind===`hitTestElement`){let e=await sI().withSlide(t.slideIndex,e=>ZM(t.slideIndex,e,t.point,t.options));iI({kind:`elementHit`,id:t.id,context:e});return}if(t.kind===`resolveElementBounds`){let e=await sI().withSlide(t.slideIndex,e=>QM(e,t.elementIds));iI({kind:`elementBoundsResolved`,id:t.id,bounds:e});return}if(t.kind===`extractMedia`){let e=await(await lI(t.path)).arrayBuffer();iI({kind:`mediaExtracted`,id:t.id,bytes:e},[e]);return}if(t.kind===`extractImage`){let n=wM(e,t.path),r=await(await uI(t.path,n)).arrayBuffer();iI({kind:`imageExtracted`,id:t.id,bytes:r},[r]);return}if(t.kind===`extractFont`){let e=(await dI(t.path)).buffer;iI({kind:`fontExtracted`,id:t.id,bytes:e},[e]);return}if(t.kind===`resourceUsage`){let e=Ow(LF(e=>e.resource_usage()));iI({kind:`resourceUsage`,id:t.id,usage:e});return}if(t.kind===`toMarkdown`){let e=await RF.run(()=>LF(e=>e.to_markdown()));iI({kind:`markdownRendered`,id:t.id,markdown:e})}}catch(e){n&&(JF=`failed`,pI()),t.kind===`parse`&&(GF.reset(),HF?.clear(),HF=null,zF=null,VF=null);try{iI({kind:`error`,id:t.id,...Vw(e)})}catch{}}};
|