@cj-tech-master/excelts 9.5.9 → 9.6.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.
Files changed (60) hide show
  1. package/dist/browser/modules/excel/stream/workbook-writer.browser.d.ts +17 -0
  2. package/dist/browser/modules/excel/stream/workbook-writer.browser.js +23 -1
  3. package/dist/browser/modules/excel/stream/workbook-writer.js +6 -0
  4. package/dist/browser/modules/excel/stream/worksheet-writer.d.ts +6 -0
  5. package/dist/browser/modules/excel/stream/worksheet-writer.js +29 -3
  6. package/dist/browser/modules/excel/types.d.ts +17 -0
  7. package/dist/browser/modules/excel/utils/drawing-utils.d.ts +46 -4
  8. package/dist/browser/modules/excel/utils/drawing-utils.js +64 -6
  9. package/dist/browser/modules/excel/workbook.browser.d.ts +38 -1
  10. package/dist/browser/modules/excel/workbook.browser.js +36 -1
  11. package/dist/browser/modules/excel/worksheet.d.ts +13 -1
  12. package/dist/browser/modules/excel/worksheet.js +35 -4
  13. package/dist/browser/modules/excel/xlsx/xform/core/content-types-xform.js +6 -0
  14. package/dist/browser/modules/excel/xlsx/xform/drawing/base-cell-anchor-xform.d.ts +6 -0
  15. package/dist/browser/modules/excel/xlsx/xform/drawing/base-cell-anchor-xform.js +32 -0
  16. package/dist/browser/modules/excel/xlsx/xform/drawing/blip-xform.d.ts +5 -0
  17. package/dist/browser/modules/excel/xlsx/xform/drawing/blip-xform.js +14 -6
  18. package/dist/browser/modules/excel/xlsx/xform/drawing/pic-xform.d.ts +2 -0
  19. package/dist/browser/modules/excel/xlsx/xform/drawing/pic-xform.js +2 -1
  20. package/dist/browser/modules/excel/xlsx/xform/sheet/worksheet-xform.js +14 -10
  21. package/dist/browser/modules/excel/xlsx/xlsx.browser.d.ts +2 -0
  22. package/dist/browser/modules/excel/xlsx/xlsx.browser.js +7 -1
  23. package/dist/cjs/modules/excel/stream/workbook-writer.browser.js +22 -0
  24. package/dist/cjs/modules/excel/stream/workbook-writer.js +6 -0
  25. package/dist/cjs/modules/excel/stream/worksheet-writer.js +27 -1
  26. package/dist/cjs/modules/excel/utils/drawing-utils.js +67 -6
  27. package/dist/cjs/modules/excel/workbook.browser.js +36 -1
  28. package/dist/cjs/modules/excel/worksheet.js +34 -3
  29. package/dist/cjs/modules/excel/xlsx/xform/core/content-types-xform.js +6 -0
  30. package/dist/cjs/modules/excel/xlsx/xform/drawing/base-cell-anchor-xform.js +32 -0
  31. package/dist/cjs/modules/excel/xlsx/xform/drawing/blip-xform.js +14 -6
  32. package/dist/cjs/modules/excel/xlsx/xform/drawing/pic-xform.js +2 -1
  33. package/dist/cjs/modules/excel/xlsx/xform/sheet/worksheet-xform.js +13 -9
  34. package/dist/cjs/modules/excel/xlsx/xlsx.browser.js +6 -0
  35. package/dist/esm/modules/excel/stream/workbook-writer.browser.js +23 -1
  36. package/dist/esm/modules/excel/stream/workbook-writer.js +6 -0
  37. package/dist/esm/modules/excel/stream/worksheet-writer.js +29 -3
  38. package/dist/esm/modules/excel/utils/drawing-utils.js +64 -6
  39. package/dist/esm/modules/excel/workbook.browser.js +36 -1
  40. package/dist/esm/modules/excel/worksheet.js +35 -4
  41. package/dist/esm/modules/excel/xlsx/xform/core/content-types-xform.js +6 -0
  42. package/dist/esm/modules/excel/xlsx/xform/drawing/base-cell-anchor-xform.js +32 -0
  43. package/dist/esm/modules/excel/xlsx/xform/drawing/blip-xform.js +14 -6
  44. package/dist/esm/modules/excel/xlsx/xform/drawing/pic-xform.js +2 -1
  45. package/dist/esm/modules/excel/xlsx/xform/sheet/worksheet-xform.js +14 -10
  46. package/dist/esm/modules/excel/xlsx/xlsx.browser.js +7 -1
  47. package/dist/iife/excelts.iife.js +195 -26
  48. package/dist/iife/excelts.iife.js.map +1 -1
  49. package/dist/iife/excelts.iife.min.js +35 -35
  50. package/dist/types/modules/excel/stream/workbook-writer.browser.d.ts +17 -0
  51. package/dist/types/modules/excel/stream/worksheet-writer.d.ts +6 -0
  52. package/dist/types/modules/excel/types.d.ts +17 -0
  53. package/dist/types/modules/excel/utils/drawing-utils.d.ts +46 -4
  54. package/dist/types/modules/excel/workbook.browser.d.ts +38 -1
  55. package/dist/types/modules/excel/worksheet.d.ts +13 -1
  56. package/dist/types/modules/excel/xlsx/xform/drawing/base-cell-anchor-xform.d.ts +6 -0
  57. package/dist/types/modules/excel/xlsx/xform/drawing/blip-xform.d.ts +5 -0
  58. package/dist/types/modules/excel/xlsx/xform/drawing/pic-xform.d.ts +2 -0
  59. package/dist/types/modules/excel/xlsx/xlsx.browser.d.ts +2 -0
  60. package/package.json +7 -7
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @cj-tech-master/excelts v9.5.9
2
+ * @cj-tech-master/excelts v9.6.0
3
3
  * Zero-dependency TypeScript toolkit — Excel (XLSX), PDF, CSV, Markdown, XML, ZIP/TAR, and streaming.
4
4
  * (c) 2026 cjnoname
5
5
  * Released under the MIT License
@@ -402,62 +402,62 @@ self.onmessage = async function(event) {
402
402
  }
403
403
  };
404
404
  `}function $_(){if(tv===null){let e=Q_(),t=new Blob([e],{type:`text/javascript`});tv=URL.createObjectURL(t)}return nv++,tv}function ev(){if(tv!==null&&--nv<=0){try{URL.revokeObjectURL(tv)}catch{}tv=null,nv=0}}var tv,nv,rv=t((()=>{tv=null,nv=0}));function iv(e){return e.byteOffset===0&&e.byteLength===e.buffer.byteLength}function av(e){return iv(e)?e:e.slice()}function ov(e){return(!fv||fv.isTerminated())&&(fv=new dv(e)),fv}async function sv(e,t){return(await ov().execute(`inflate`,e,t)).data}var cv,lv,uv,dv,fv,pv=t((()=>{Z_(),rv(),cv=new Uint8Array,lv=8,uv={onData:e=>{},onEnd:()=>{},onError:e=>{}},dv=class{_taskQueueSize(){return this._taskQueue.length-this._taskQueueHead}_compactTaskQueueIfNeeded(){this._taskQueueHead>32&&this._taskQueueHead*2>=this._taskQueue.length&&(this._taskQueue.splice(0,this._taskQueueHead),this._taskQueueHead=0)}_dequeueTask(){if(this._taskQueueHead>=this._taskQueue.length)return;let e=this._taskQueue[this._taskQueueHead++];return this._compactTaskQueueIfNeeded(),e}_compactPendingStreamRequestsIfNeeded(){this._pendingStreamRequestHead>32&&this._pendingStreamRequestHead*2>=this._pendingStreamRequests.length&&(this._pendingStreamRequests.splice(0,this._pendingStreamRequestHead),this._pendingStreamRequestHead=0)}_dequeuePendingStreamRequest(){if(this._pendingStreamRequestHead>=this._pendingStreamRequests.length)return;let e=this._pendingStreamRequests[this._pendingStreamRequestHead++];return this._compactPendingStreamRequestsIfNeeded(),e}_waitForStreamSlot(e){return e.slotWaitPromise||=new Promise(t=>{e.resolveSlotWait=()=>{e.slotWaitPromise=null,e.resolveSlotWait=null,t()}}),e.slotWaitPromise}_waitForStreamDrain(e){return e.drainWaitPromise||=new Promise(t=>{e.resolveDrainWait=()=>{e.drainWaitPromise=null,e.resolveDrainWait=null,t()}}),e.drainWaitPromise}_resolveSlotWaiter(e){e.resolveSlotWait?.()}_resolveDrainWaiter(e){e.resolveDrainWait?.()}constructor(e){this._workers=new Map,this._taskQueue=[],this._taskQueueHead=0,this._pendingTasks=new Map,this._nextTaskId=1,this._nextWorkerId=1,this._terminated=!1,this._completedTasks=0,this._failedTasks=0,this._pendingStreamRequests=[],this._pendingStreamRequestHead=0,this._options=K_(e),this._options.workerUrl?(this._workerUrl=this._options.workerUrl,this._useCustomUrl=!0):(this._workerUrl=$_(),this._useCustomUrl=!1);for(let e=0;e<this._options.minWorkers;e++)this._createWorker()}async execute(e,t,r){if(this._terminated)throw Error(`Worker pool has been terminated`);if(!J_())throw Error(`Web Workers are not supported in this environment`);if(r?.signal?.aborted)throw n();let i=this._nextTaskId++,a=r?.priority??`normal`,o=q_(a);return new Promise((n,s)=>{let c={taskId:i,taskType:e,data:t,level:r?.level,priority:a,priorityValue:o,resolve:n,reject:s,signal:r?.signal,allowTransfer:r?.allowTransfer,startTime:performance.now()};r?.signal&&(c.abortHandler=()=>{this._cancelTask(i)},r.signal.addEventListener(`abort`,c.abortHandler,{once:!0})),this._pendingTasks.set(i,c),this._enqueueTask(c),this._processQueue()})}getStats(){let e=this._workers.size,t=0;for(let e of this._workers.values())e.busy&&t++;return{totalWorkers:e,activeWorkers:t,idleWorkers:e-t,pendingTasks:this._taskQueueSize(),completedTasks:this._completedTasks,failedTasks:this._failedTasks}}terminate(){if(this._terminated)return;this._terminated=!0;for(let e of this._workers.values())this._terminateWorker(e);this._workers.clear();let e=Error(`Worker pool terminated`);for(let t of this._pendingTasks.values())this._cleanupTask(t),t.reject(e);this._pendingTasks.clear(),this._taskQueue.length=0,this._taskQueueHead=0,this._pendingStreamRequests.length=0,this._pendingStreamRequestHead=0,this._useCustomUrl||ev()}isTerminated(){return this._terminated}_createWorker(){if(this._terminated||this._workers.size>=this._options.maxWorkers)return null;let e=this._nextWorkerId++,t=new Worker(this._workerUrl),n={id:e,worker:t,busy:!1,currentTaskId:null,idleTimer:null,streamSession:null};return t.onmessage=e=>{this._handleWorkerMessage(n,e.data)},t.onerror=e=>{this._handleWorkerError(n,e)},this._workers.set(e,n),n}_terminateWorker(e){this._clearIdleTimer(e);try{e.worker.postMessage({type:`terminate`})}catch{}try{e.worker.terminate()}catch{}this._workers.delete(e.id)}_clearIdleTimer(e){e.idleTimer!==null&&(clearTimeout(e.idleTimer),e.idleTimer=null)}_findIdleWorker(){for(let e of this._workers.values())if(!e.busy)return e}_enqueueTask(e){let t=this._taskQueue,n=e.priorityValue;this._compactTaskQueueIfNeeded();let r=this._taskQueueHead,i=t.length;for(;r<i;){let e=r+i>>>1;t[e].priorityValue>=n?r=e+1:i=e}t.splice(r,0,e)}_processQueue(){for(;!this._terminated&&this._taskQueueSize()>0;){let e=this._findIdleWorker()??this._createWorker()??void 0;if(!e)return;for(;;){let t=this._dequeueTask();if(!t)return;if(t.signal?.aborted){this._pendingTasks.delete(t.taskId),this._cleanupTask(t),t.reject(n());continue}this._assignTask(e,t);break}}}_assignTask(e,t){this._clearIdleTimer(e),e.busy=!0,e.currentTaskId=t.taskId;let n=this._options.useTransferables&&t.allowTransfer===!0,r=n?av(t.data):t.data,i={type:`task`,taskId:t.taskId,taskType:t.taskType,data:r,level:t.level};n?e.worker.postMessage(i,[r.buffer]):e.worker.postMessage(i)}_handleWorkerMessage(e,t){if(t.type!==`ready`){if(e.streamSession){let n=e.streamSession;switch(t.type){case`started`:if(t.taskId!==n.taskId)return;n.startReady=!0,n.resolveStart?.(),n.resolveStart=null,n.rejectStart=null;return;case`out`:if(t.taskId!==n.taskId)return;n.onData(t.data);return;case`ack`:if(t.taskId!==n.taskId)return;n.inflightChunkCount>0&&n.inflightChunkCount--,this._resolveSlotWaiter(n),n.inflightChunkCount===0&&n.resolveDrainWait&&this._resolveDrainWaiter(n);return;case`done`:if(t.taskId!==n.taskId)return;n.ended=!0,n.inflightChunkCount=0,n.startReady=!0,n.resolveStart?.(),n.resolveStart=null,n.rejectStart=null,this._resolveSlotWaiter(n),this._resolveDrainWaiter(n),this._completedTasks++,t.duration??performance.now()-n.startTime,n.onEnd(),e.streamSession=null,this._workerBecameIdle(e);return;case`error`:{if(t.taskId!==n.taskId)return;let r=Error(t.error??`Unknown worker error`);n.ended=!0,n.inflightChunkCount=0,n.startReady=!0,n.rejectStart?.(r),n.resolveStart=null,n.rejectStart=null,this._resolveSlotWaiter(n),this._resolveDrainWaiter(n),this._failedTasks++,n.onError(r),e.streamSession=null,this._workerBecameIdle(e);return}default:break}}switch(t.type){case`result`:case`error`:{let n=t.taskId;if(typeof n!=`number`)return;let r=this._pendingTasks.get(n);if(!r){this._workerBecameIdle(e);return}if(this._pendingTasks.delete(n),this._cleanupTask(r),t.type===`result`){this._completedTasks++;let e=t.duration??performance.now()-r.startTime;r.resolve({data:t.data,duration:e})}else this._failedTasks++,r.reject(Error(t.error??`Unknown worker error`));this._workerBecameIdle(e);return}default:return}}}_handleWorkerError(e,t){let n=e.currentTaskId,r=e.streamSession;if(this._terminateWorker(e),n!==null){let e=this._pendingTasks.get(n);e&&(this._pendingTasks.delete(n),this._cleanupTask(e),this._failedTasks++,e.reject(Error(t.message||`Worker error`)))}if(r){let n=Error(t.message||`Worker terminated unexpectedly`);r.ended=!0,r.rejectStart?.(n),r.rejectStart=null,r.resolveStart=null,this._resolveSlotWaiter(r),this._resolveDrainWaiter(r);try{r.onError(n)}catch{}e.streamSession=null}this._processQueue()}_workerBecameIdle(e){if(e.busy=!1,e.currentTaskId=null,this._pendingStreamRequestHead<this._pendingStreamRequests.length){let t=this._dequeuePendingStreamRequest();if(t){t(e);return}}this._taskQueueSize()>0?this._processQueue():this._workers.size>this._options.minWorkers&&this._options.idleTimeout>0&&(e.idleTimer=setTimeout(()=>{!e.busy&&this._workers.size>this._options.minWorkers&&!this._terminated&&this._terminateWorker(e)},this._options.idleTimeout))}openStream(e,t=uv){if(this._terminated)throw Error(`Worker pool has been terminated`);if(!J_())throw Error(`Web Workers are not supported in this environment`);let n=this._nextTaskId++,r=t.allowTransfer===!0,i=this._options.useTransferables&&r,a=i?av:e=>e,o=i?(e,t,n)=>{e.postMessage(t,[n.buffer])}:(e,t,n)=>{e.postMessage(t)},s=null,c=null,l=async()=>{if(s)return s;if(c)return c;c=(async()=>{let r=this._findIdleWorker()??this._createWorker()??void 0;return r?(s=r,this._bindStreamSession(s,n,e,t.level,t),this._startStreamSession(s),s):(s=await new Promise(e=>{this._pendingStreamRequests.push(e)}),this._bindStreamSession(s,n,e,t.level,t),this._startStreamSession(s),s)})();try{return await c}finally{c=null}};l();let u=(e,t,n)=>{let r=a(n),i=t.chunkMessage;i.data=r,o(e.worker,i,r)},d=(e,t,n)=>{if(t.inflightChunkCount>=lv)return this._waitForStreamSlot(t).then(()=>{t.ended||(t.inflightChunkCount++,u(e,t,n))});t.inflightChunkCount++,u(e,t,n)};return{write:async e=>{if(e.byteLength===0)return;let t=s??await l(),n=t.streamSession;if(!n||n.ended)throw Error(`Streaming session is not active`);n.writeChain=n.writeChain.then(()=>{if(!n.ended)return n.startReady?d(t,n,e):n.startPromise.then(()=>{if(!n.ended)return d(t,n,e)})}),await n.writeChain},end:async()=>{let e=await l(),t=e.streamSession;!t||t.ended||(t.startReady||await t.startPromise,await t.writeChain,t.inflightChunkCount>0&&await this._waitForStreamDrain(t),t.ended=!0,e.worker.postMessage(t.endMessage))},abort:e=>{l().then(t=>{let n=t.streamSession;if(!n)return;let r=n.abortMessage;r.error=e,t.worker.postMessage(r)})}}}_bindStreamSession(e,t,n,r,i){this._clearIdleTimer(e),e.busy=!0,e.currentTaskId=t;let a=null,o=null,s=new Promise((e,t)=>{a=e,o=t}),c=setTimeout(()=>{o?.(Error(`Worker stream start timeout`))},5e3);s.finally(()=>clearTimeout(c)),e.streamSession={taskId:t,taskType:n,startTime:performance.now(),started:!1,startReady:!1,startPromise:s,resolveStart:a,rejectStart:o,level:r,writeChain:Promise.resolve(),inflightChunkCount:0,slotWaitPromise:null,resolveSlotWait:null,drainWaitPromise:null,resolveDrainWait:null,chunkMessage:{type:`chunk`,taskId:t,data:cv},startMessage:{type:`start`,taskId:t,taskType:n,level:r},endMessage:{type:`end`,taskId:t},abortMessage:{type:`abort`,taskId:t,error:void 0},ended:!1,onData:i.onData,onEnd:i.onEnd,onError:i.onError}}_startStreamSession(e){let t=e.streamSession;!t||t.started||(t.started=!0,e.worker.postMessage(t.startMessage))}_cancelTask(e){let t=this._pendingTasks.get(e);if(!t)return;this._pendingTasks.delete(e),this._cleanupTask(t);let r=-1;for(let t=this._taskQueueHead;t<this._taskQueue.length;t++)if(this._taskQueue[t].taskId===e){r=t;break}r>=0&&this._taskQueue.splice(r,1),t.reject(n())}_cleanupTask(e){e.abortHandler&&e.signal&&e.signal.removeEventListener(`abort`,e.abortHandler)}async executeBatch(e){let t=Array(e.length);for(let n=0;n<e.length;n++){let r=e[n];t[n]=this.execute(r.taskType,r.data,r.options)}return Promise.all(t)}},fv=null})),mv=t((()=>{pv()})),hv=t((()=>{}));function gv(e,t){let n=J_();if(t.useWorker===!0)return n;if(t.useWorker===!1)return!1;let r=t.autoWorkerThreshold??1048576;return n&&e.length>=r}function _v(e,t){if(t?.aborted||r(e))throw n(t?.reason??e)}async function vv(e,t,n){let r=e.hasNative(),i=J_(),a=n.useWorker;if(a===!0&&i)try{return await e.worker(t,{level:n.level,signal:n.signal,allowTransfer:n.allowTransfer})}catch(e){_v(e,n.signal)}return r?e.native(t):a!==!0&&gv(t,n)?e.worker(t,{level:n.level,signal:n.signal,allowTransfer:n.allowTransfer}):e.jsFallback(t,n.level)}async function yv(e,t={}){return vv(Cv,e,t)}function bv(e){return vo(e)}function xv(e,t,n){return Zn([co(n),e,lo(oo(t))])}function Sv(e,t={}){let n=t.level??6;return xv(n===0?yo(e):So(e,n),e,n)}var Cv,wv=t((()=>{go(),qo(),mv(),hv(),es(),lr(),Cv={hasNative:to,native:ao,worker:sv,jsFallback:vo},new Uint8Array([31,139,8,0,0,0,0,0,0,255])})),Tv=t((()=>{es()}));function Ev(e,t,n){let r=i(t);n?n(r):e.emit(`error`,r)}function Dv(e,t){let n=t?new CompressionStream(e):new DecompressionStream(e),r=n.writable.getWriter(),a=n.readable.getReader(),o=new Nv,s=null,c=(async()=>{try{for(;;){let{value:e,done:t}=await a.read();if(t)break;e&&o.emit(`data`,e)}o.emit(`end`)}catch(e){let t=i(e);s=t,o.emit(`error`,t)}})();return o.setBackend({write:e=>r.write(e),close:async()=>{if(await r.close(),await c,s)throw i(s)},abort:e=>{a.cancel(e).catch(()=>{}),r.abort(e).catch(()=>{})}}),o}function Ov(e,t,n,r){let i=t??ov(),a=null,o=null,s=new Promise((e,t)=>{a=e,o=t}),c=new Nv,l=i.openStream(e,{level:n,allowTransfer:r,onData:e=>c.emit(`data`,e),onEnd:()=>{c.emit(`end`),a?.()},onError:e=>{c.emit(`error`,e),o?.(e)}});return c.setBackend({write:e=>l.write(e),close:async()=>{await l.end(),await s},abort:e=>{a?.(),l.abort(e?.message)}}),c}function kv(e,t){let n=e===`deflate`?t.level??6:void 0;return t.useWorker&&J_()?Ov(e,t.workerPool,n,t.allowTransfer):(e===`deflate`?eo():no())?Dv(`deflate-raw`,e===`deflate`):new Pv(e===`deflate`?e=>So(e,n):vo)}function Av(e={}){return kv(`deflate`,e)}function jv(){return eo()}var Mv,Nv,Pv,Fv=t((()=>{go(),wv(),qo(),mv(),hv(),lr(),Sr(),Tv(),Ya(),Mv=`write after end`,Nv=class e extends xr{constructor(...e){super(...e),this.ended=!1,this.destroyed=!1,this.writeChain=Promise.resolve(),this._backend=null,this._pendingWrites=0,this._needsDrain=!1}static{this.HIGH_WATER_MARK=16}setBackend(e){this._backend=e}write(t,n){if(this.ended)return Ev(this,Error(Mv),n),!1;if(t.byteLength===0)return n&&queueMicrotask(n),!0;let r=this._backend;if(!r)throw Error(`Backend not initialized`);this._pendingWrites++;let i=this.writeChain.then(()=>r.write(t));return this.writeChain=i,i.then(()=>{this.destroyed||n?.()}).catch(e=>{this.destroyed||Ev(this,e,n)}).finally(()=>{this._pendingWrites--,this._needsDrain&&this._pendingWrites<e.HIGH_WATER_MARK&&!this.destroyed&&(this._needsDrain=!1,this.emit(`drain`))}),this._pendingWrites>=e.HIGH_WATER_MARK?(this._needsDrain=!0,!1):!0}end(e){if(this.ended){e?.();return}this.ended=!0;let t=this._backend;if(!t)throw Error(`Backend not initialized`);this.writeChain.then(()=>t.close()).then(()=>e?.()).catch(t=>Ev(this,t,e))}destroy(e){this.ended=!0,this.destroyed=!0,this._backend?.abort(e),e&&this.emit(`error`,e)}},Pv=class extends xr{constructor(e){super(),this.process=e,this.chunks=[],this.ended=!1}write(e,t){return this.ended?(Ev(this,Error(Mv),t),!1):e.byteLength===0?(t&&queueMicrotask(t),!0):(this.chunks.push(e),t&&queueMicrotask(t),!0)}end(e){if(this.ended){e?.();return}this.ended=!0;let t=this.chunks.length,n=t===0?Ja:t===1?this.chunks[0]:Zn(this.chunks);this.chunks.length=0;try{let t=this.process(n);this.emit(`data`,t),this.emit(`end`),e?.()}catch(t){Ev(this,t,e)}}destroy(e){this.ended=!0,this.chunks.length=0,e&&this.emit(`error`,e)}}}));function Iv(e){let t={key0:305419896,key1:591751049,key2:878082192},n=typeof e==`string`?Yn(e):e;for(let e=0;e<n.length;e++)Lv(t,n[e]);return t}function Lv(e,t){e.key0=as(e.key0,t),e.key1=e.key1+(e.key0&255)>>>0,e.key1=(Math.imul(e.key1,134775813)>>>0)+1>>>0,e.key2=as(e.key2,e.key1>>>24&255)}function Rv(e){let t=(e.key2|2)>>>0;return Math.imul(t,t^1)>>>8&255}function zv(e,t){let n=(t^Rv(e))&255;return Lv(e,n),n}function Bv(e,t){let n=(t^Rv(e))&255;return Lv(e,t),n}function Vv(e,t,n,r){if(t.length!==12)return!1;let i=new Uint8Array(12);for(let n=0;n<12;n++)i[n]=zv(e,t[n]);let a=i[11];return a===(n>>>24&255)||r!==void 0&&a===(r>>>8&255)}function Hv(e,t,n){let r=new Uint8Array(12),i=n(11);for(let t=0;t<11;t++)r[t]=Bv(e,i[t]);return r[11]=Bv(e,t>>>24&255),r}function Uv(e,t,n,r){if(e.length<12)return null;let i=Iv(t);if(!Vv(i,e.subarray(0,12),n,r))return null;let a=e.length-12,o=new Uint8Array(a);for(let t=0;t<a;t++)o[t]=zv(i,e[12+t]);return o}var Wv=t((()=>{ss(),lr()}));function Gv(e){return e in qv}function Kv(e){return qv[e]}var qv,Jv=t((()=>{qv={"aes-128":128,"aes-192":192,"aes-256":256}})),Yv=t((()=>{Wv(),Sc(),ic(),Jv()}));function Xv(e){return e.replace(/\\/g,`/`)}function Zv(e){return e.replace(/^\/+/,``)}function Qv(e){return e.replace(/^[a-zA-Z]:\/?/,``)}function $v(e){let t=e.split(`/`),n=[];for(let e of t)if(!(!e||e===`.`)){if(e===`..`){n.length>0?n.pop():n.push(`..`);continue}n.push(e)}return n.join(`/`)}function ey(e){return e.startsWith(`/`)}function ty(e){return/^[a-zA-Z]:/.test(e)}function ny(e,t={}){let n=t.mode??`legacy`,r=e;r=Xv(r);let i=ty(r);if(n===`legacy`)return r=Zv(r),t.prependSlash?`/`+r:r;let a=t.stripDrive??!0;if(n===`safe`&&i&&!a)throw Error(`Unsafe ZIP path (drive): ${e}`);a&&(r=Qv(r));let o=ey(r);if(r=Zv(r),r=$v(r),n===`safe`){if(o)throw Error(`Unsafe ZIP path (absolute): ${e}`);if(r===`..`||r.startsWith(`../`))throw Error(`Unsafe ZIP path (traversal): ${e}`)}return t.prependSlash?`/`+r:r}var ry=t((()=>{}));function iy(e){return Math.log(e)/Math.LN2}function ay(e,t){let n=0;for(let r=0;r<256;r++){let i=e[r];if(i===0)continue;let a=i/t;n-=a*iy(a)}return n}function oy(e,t){let n=new Uint32Array(256),r=0,i=0;if(Array.isArray(e))for(let a=0;a<e.length&&!(r>=t);a++){let o=e[a],s=Math.min(o.length,t-r);for(let e=0;e<s;e++){let t=o[e];n[t]===0&&(i+=1),n[t]+=1}r+=s}else for(let a of e){if(r>=t)break;let e=Math.min(a.length,t-r);for(let t=0;t<e;t++){let e=a[t];n[e]===0&&(i+=1),n[e]+=1}r+=e}return{total:r,unique:i,counts:n}}function sy(e,t={}){let n=t.sampleBytes??cy,r=t.minDecisionBytes??ly,{total:i,unique:a,counts:o}=oy(e,n);return i<r||a<200?!1:ay(o,i)>=7.95}var cy,ly,uy=t((()=>{cy=64*1024,ly=16*1024}));function dy(e,t=20){return(e&255)<<8|t&255}function fy(e){switch(e){case`directory`:return rl;case`symlink`:return nl;default:return il}}function py(e){return e>>>0&65535}function my(e,t){let n=e.endsWith(`/`)||e.endsWith(`\\`);return t!==void 0&&Fc(t)?`symlink`:n?`directory`:`file`}function hy(e){let t=e.kind,n=t===`directory`?16:32,r=(e.msDosAttributes??n)&255,i=e.mode;i!==void 0&&(i&61440||(i=i&4095|fy(t)),i=py(i));let a=((i??0)&65535)<<16|r,o=dy(i!==void 0||t===`symlink`?3:0);return{externalAttributes:a>>>0,versionMadeBy:o}}function gy(e){if(e.externalAttributes!==void 0)return{externalAttributes:e.externalAttributes,versionMadeBy:e.versionMadeBy};let t=hy({kind:my(e.name,e.mode),mode:e.mode,msDosAttributes:e.msDosAttributes});return{externalAttributes:t.externalAttributes,versionMadeBy:e.versionMadeBy??t.versionMadeBy}}var _y=t((()=>{sl()}));function vy(e){return e?8:0}function yy(e,t=!0){let n=0;return t&&(n|=el),e&&(n|=8),n}function by(e){let t=ds(e.codec),n=t.encode(e.name),r=fs(e.comment,t),{dosTime:i,dosDate:a}=Bs(e.modTime),o=e.atime||e.ctime||e.birthTime?{atime:e.atime,ctime:e.ctime,birthTime:e.birthTime}:void 0,s=zs(e.modTime,e.timestamps,o);return!t.useUtf8Flag&&t.useUnicodeExtraFields&&(e.name&&(s=Gc(s,wc(n,e.name))),e.comment&&(s=Gc(s,Tc(r,e.comment)))),{nameBytes:n,commentBytes:r,dosTime:i,dosDate:a,extraField:s,compressionMethod:vy(e.deflate),flags:yy(e.useDataDescriptor,t.useUtf8Flag)}}var xy=t((()=>{ws(),Hs(),Nc(),sl()}));function Sy(e,t,n,r,i){if(!i)return 0;let a=0;return(e||t>4294967295)&&(a+=8),(e||n>4294967295)&&(a+=8),(e||r>4294967295)&&(a+=8),a>0?4+a:0}function Cy(e){let t=e[0];return t?.fileName===void 0?t?.compressedData===void 0?`central`:`processed`:`input`}function wy(e,t){let n=t.zip64Mode===!0,r=t.zip64Mode===!1,i=Cy(e),a=0;for(let t=0;t<e.length;t++){let r=e[t],o=i===`input`?r.fileName:r.name,s=r.extraField,c=r.comment,l=i===`processed`?r.compressedData.length:r.compressedSize,u=r.uncompressedSize,d=i===`input`?r.localHeaderOffset:r.offset,f=i===`processed`?void 0:r.zip64,p=n||f===!0||d>4294967295||l>4294967295||u>4294967295;a+=46+o.length+s.length+Sy(n,u,l,d,p)+(c?.length??0)}let o=e.length>65535||t.centralDirOffset>4294967295,s=n||o||a>4294967295;if(r&&s)throw Error(`ZIP64 is required but zip64=false`);let c=s?98+t.zipComment.length:22+t.zipComment.length;return{centralDirSize:a,trailerSize:c,totalSize:a+c,usedZip64:s}}function Ty(e,t){let n=t.zip64Mode===!0,r=wy(e,{zipComment:t.zipComment,zip64Mode:t.zip64Mode,centralDirOffset:t.centralDirOffset}),i=Cy(e),a=t.offset,o=new DataView(t.out.buffer,t.out.byteOffset,t.out.byteLength);for(let r=0;r<e.length;r++){let s=e[r],c=i===`input`?s.fileName:s.name,l=s.extraField,u=s.comment,d=s.flags,f=i===`input`?s.crc32:s.crc,p=i===`processed`?s.compressedData.length:s.compressedSize,m=s.uncompressedSize,h=s.compressionMethod,g=i===`processed`?s.modTime:s.dosTime,_=i===`processed`?s.modDate:s.dosDate,v=i===`input`?s.localHeaderOffset:s.offset,y=i===`processed`?void 0:s.zip64,b=s.externalAttributes,x=s.versionMadeBy,S=n||y===!0||v>4294967295||p>4294967295||m>4294967295,ee=S?Wc({uncompressedSize:n||m>4294967295?m:void 0,compressedSize:n||p>4294967295?p:void 0,localHeaderOffset:n||v>4294967295?v:void 0}):Ja,te=S&&ee.length>0?Gc(l,ee):l;a+=zc(t.out,o,a,{fileName:c,extraField:te,comment:u??Ja,flags:d,compressionMethod:h,dosTime:g,dosDate:_,crc32:f,compressedSize:S?ol:p,uncompressedSize:S?ol:m,localHeaderOffset:S?ol:v,versionMadeBy:x??20,versionNeeded:S?45:20,externalAttributes:b})}if(r.usedZip64){let n=t.centralDirOffset+r.centralDirSize;a+=Kc(t.out,o,a,{entryCountOnDisk:e.length,entryCountTotal:e.length,centralDirSize:r.centralDirSize,centralDirOffset:t.centralDirOffset}),a+=qc(t.out,o,a,{zip64EndOfCentralDirectoryOffset:n,totalDisks:1}),Bc(t.out,o,a,{entryCount:al,centralDirSize:ol,centralDirOffset:ol,comment:t.zipComment})}else Bc(t.out,o,a,{entryCount:e.length,centralDirSize:r.centralDirSize,centralDirOffset:t.centralDirOffset,comment:t.zipComment});return{centralDirSize:r.centralDirSize,trailerSize:r.trailerSize,totalWritten:r.totalSize,usedZip64:r.usedZip64}}var Ey=t((()=>{Ya(),sl()})),Dy,Oy,ky,Ay,jy=t((()=>{cs(),Fv(),Yv(),Ya(),hv(),es(),ws(),ry(),sl(),uy(),_y(),xy(),Ey(),Dy=16*1024,Oy=65536,ky=class{constructor(e,t){this._deflate=null,this._crc=4294967295,this._uncompressedSize=0,this._compressedSize=0,this._finalized=!1,this._headerEmitted=!1,this._ondata=null,this._onerror=null,this._centralDirEntryInfo=null,this._pendingEnd=!1,this._emittedDataDescriptor=!1,this._localHeader=null,this._zip64Mode=`auto`,this._zip64=!1,this._deflateWanted=null,this._pendingChunks=[],this._sampleLen=0,this._completeResolve=null,this._completeReject=null,this._completePromise=null,this._completeError=null,this._encryptionMethod=`none`,this._zipCryptoState=null,this._aesBuffer=[],this._aesBufferSize=0,this._originalCompressionMethod=0,this._aesExtraField=null,this._dataQueue=[],this._finalQueued=!1,this._pushChain=Promise.resolve(),this._inputBuf=null,this._inputPos=0,this._syncDeflater=null,this._syncZlibReady=!1;let n=t?.path?ny(e,t.path):e;this.name=n;let r=t?.modTime??new Date;if(this._modTime=r,this.level=t?.level??6,this._smartStore=t?.smartStore??!0,this._zip64Mode=t?.zip64??`auto`,this._zip64=this._zip64Mode===!0,this._encryptionMethod=t?.encryptionMethod??`none`,this._password=t?.password,this._encryptionMethod!==`none`&&!this._password)throw Error(`Password is required for encryption`);Gv(this._encryptionMethod)&&(this._aesKeyStrength=Kv(this._encryptionMethod)),this._stringCodec=ds(t?.encoding);let i=by({name:n,comment:t?.comment,modTime:r,atime:t?.atime,ctime:t?.ctime,birthTime:t?.birthTime,timestamps:t?.timestamps??`dos`,useDataDescriptor:!0,deflate:!1,codec:this._stringCodec});this.nameBytes=i.nameBytes,this.commentBytes=i.commentBytes,this.dosTime=i.dosTime,this.dosDate=i.dosDate,this.extraField=i.extraField,this._flags=i.flags,this._compressionMethod=i.compressionMethod;let a=gy({name:n,mode:t?.mode,msDosAttributes:t?.msDosAttributes,externalAttributes:t?.externalAttributes,versionMadeBy:t?.versionMadeBy});if(this._externalAttributes=a.externalAttributes,this._versionMadeBy=a.versionMadeBy,this._encryptionMethod!==`none`&&(this._flags|=1),!this._smartStore){let e=this.level>0;this._deflateWanted=e,this._compressionMethod=this._buildCompressionMethod(e),e&&this._initDeflateStream();return}this.level===0&&(this._deflateWanted=!1,this._compressionMethod=this._buildCompressionMethod(!1))}_buildCompressionMethod(e){return vy(e)}_getAesExtraField(){return this._aesKeyStrength?(this._aesExtraField||=uc(2,this._aesKeyStrength,this._originalCompressionMethod),this._aesExtraField):Ja}_initZipCryptoEncryption(){if(this._zipCryptoState||this._encryptionMethod!==`zipcrypto`)return;this._zipCryptoState=Iv(this._password);let e=this.dosTime<<16|this.dosDate,t=Hv(this._zipCryptoState,e,Zs);this._compressedSize+=t.length,this._enqueueData(t,!1)}_zipCryptoEncryptChunk(e){if(!this._zipCryptoState)return e;let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=Bv(this._zipCryptoState,e[n]);return t}_initDeflateStream(){this._deflate||(this._deflate=Av({level:this.level}),this._deflate.on(`error`,e=>{this._rejectComplete(e)}),this._deflate.on(`data`,e=>{if(this._aesKeyStrength){this._aesBuffer.push(e),this._aesBufferSize+=e.length;return}if(this._encryptionMethod===`zipcrypto`){this._initZipCryptoEncryption();let t=this._zipCryptoEncryptChunk(e);this._compressedSize+=t.length,this._enqueueData(t,!1);return}this._compressedSize+=e.length,this._enqueueData(e,!1)}),this._deflate.on(`end`,()=>{this._pendingEnd&&!this._emittedDataDescriptor&&(this._emittedDataDescriptor=!0,this._finalizeEncryptionAndEmitDescriptor())}))}_finalizeEncryptionAndEmitDescriptor(){if(this._aesKeyStrength&&this._aesBuffer.length>0){this._finalizeAesEncryption().then(()=>this._emitDataDescriptor()).catch(e=>this._rejectComplete(e));return}this._emitDataDescriptor()}async _finalizeAesEncryption(){if(!this._aesKeyStrength||this._aesBufferSize===0)return;let e;if(this._aesBuffer.length===1)e=this._aesBuffer[0];else{e=new Uint8Array(this._aesBufferSize);let t=0;for(let n=0;n<this._aesBuffer.length;n++){let r=this._aesBuffer[n];e.set(r,t),t+=r.length}}this._aesBuffer.length=0,this._aesBufferSize=0;let t=await hc(e,this._password,this._aesKeyStrength);this._compressedSize=t.length,this._enqueueData(t,!1)}_buildLocalHeader(){let e=this.extraField,t=this._compressionMethod;return this._aesKeyStrength&&(this._originalCompressionMethod=this._compressionMethod,t=99,e=Gc(this.extraField,this._getAesExtraField())),Rc({fileName:this.nameBytes,extraField:e,flags:this._flags,compressionMethod:t,dosTime:this.dosTime,dosDate:this.dosDate,crc32:0,compressedSize:0,uncompressedSize:0,versionNeeded:this._zip64?45:20})}_accumulateSampleLen(e){if(this._deflateWanted!==null||e.length===0||this._sampleLen>=Dy)return;let t=Math.min(Dy-this._sampleLen,e.length);t<=0||(this._sampleLen+=t)}_shouldDecide(e){return this._deflateWanted===null?e||this._sampleLen>=Dy:!1}_decideCompressionIfNeeded(e,t,n=!1){if(this._deflateWanted!==null)return;if(e&&this._sampleLen===0){this._deflateWanted=!1,this._sampleLen=0,this._compressionMethod=this._buildCompressionMethod(!1),this._localHeader=null;return}let r=sy((function*(e,t){for(let t of e)t.length&&(yield t);t.length&&(yield t)})(this._pendingChunks,t),{sampleBytes:Dy,minDecisionBytes:Dy});this._deflateWanted=!r,this._sampleLen=0,this._compressionMethod=this._buildCompressionMethod(this._deflateWanted),this._localHeader=null,this._deflateWanted&&(n||this._initDeflateStream())}_emitHeaderIfNeeded(){this._headerEmitted||=(this._emitHeader(),!0)}async _flushPendingChunks(){if(this._pendingChunks.length!==0){for(let e of this._pendingChunks)await this._writeData(e);this._pendingChunks.length=0}}_enqueueData(e,t){this._ondata?this._ondata(e,t):(this._dataQueue.push(e),t&&(this._finalQueued=!0))}_flushQueue(){if(!this._ondata)return;let e=this._dataQueue.length,t=this._finalQueued?e-1:-1;for(let n=0;n<e;n++)this._ondata(this._dataQueue[n],n===t);this._dataQueue.length=0,this._finalQueued=!1}get ondata(){return this._ondata}set ondata(e){this._ondata=e,this._flushQueue()}get onerror(){return this._onerror}set onerror(e){this._onerror=e,this._completeError&&e(this._completeError)}_resolveComplete(){this._completeResolve&&this._completeResolve()}_rejectComplete(e){this._completeError||(this._completeError=e,this._onerror&&this._onerror(e),this._completeReject&&this._completeReject(e))}_ensureCompletePromise(){return this._completeError?Promise.reject(this._completeError):this._emittedDataDescriptor?Promise.resolve():(this._completePromise||=new Promise((e,t)=>{this._completeResolve=e,this._completeReject=t}),this._completePromise)}_tapCallback(e,t){t&&e.then(()=>t()).catch(e=>t(e))}_writeDataSync(e,t){if(!(e.length===0&&!t)){if(e.length>0&&(this._crc=ns(this._crc,e),this._uncompressedSize+=e.length),this._deflateWanted){if(this._syncDeflater||=new Ko(this.level),e.length>0){let t=this._syncDeflater.write(e);t.length>0&&(this._compressedSize+=t.length,this._enqueueData(t,!1))}if(t){let e=this._syncDeflater.finish();e.length>0&&(this._compressedSize+=e.length,this._enqueueData(e,!1)),this._syncDeflater=null}return}if(this._aesKeyStrength){this._aesBuffer.push(e),this._aesBufferSize+=e.length;return}if(this._encryptionMethod===`zipcrypto`){this._initZipCryptoEncryption();let t=this._zipCryptoEncryptChunk(e);this._compressedSize+=t.length,this._enqueueData(t,!1);return}e.length>0&&(this._compressedSize+=e.length,this._enqueueData(e,!1))}}_writeData(e){if(e.length===0)return Promise.resolve();if(this._crc=ns(this._crc,e),this._uncompressedSize+=e.length,this._deflate)return new Promise((t,n)=>{this._deflate.write(e,e=>{e?n(e):t()})});if(this._aesKeyStrength)return this._aesBuffer.push(e),this._aesBufferSize+=e.length,Promise.resolve();if(this._encryptionMethod===`zipcrypto`){this._initZipCryptoEncryption();let t=this._zipCryptoEncryptChunk(e);return this._compressedSize+=t.length,this._enqueueData(t,!1),Promise.resolve()}return this._compressedSize+=e.length,this._enqueueData(e,!1),Promise.resolve()}_endDeflateAndWait(){return new Promise((e,t)=>{let n=this._deflate,r=e=>{a(),t(e)},i=()=>{a(),e()},a=()=>{n.off(`error`,r),n.off(`end`,i)};n.once(`error`,r),n.once(`end`,i),n.end()})}_finalizeAfterWrite(e){this._finalized=!0,this._pendingEnd=!0;let t=this._ensureCompletePromise();return this._deflate?e.then(()=>this._endDeflateAndWait()).then(()=>t):this._aesKeyStrength&&this._aesBufferSize>0?(this._emittedDataDescriptor=!0,this._finalizeAesEncryption().then(()=>this._emitDataDescriptor()).catch(e=>this._rejectComplete(e)),t):(this._emittedDataDescriptor=!0,this._emitDataDescriptor(),t)}_pushUnchained(e,t,n){if(this._finalized){let e=Promise.reject(Error(`Cannot push to finalized ZipDeflateFile`));return this._tapCallback(e,n),e}if(this._completeError){let e=Promise.reject(this._completeError);return this._tapCallback(e,n),e}if(this._deflateWanted===null){if(this._accumulateSampleLen(e),!this._shouldDecide(t)){e.length>0&&this._pendingChunks.push(e);let t=Promise.resolve();return this._tapCallback(t,n),t}this._decideCompressionIfNeeded(t,e),this._emitHeaderIfNeeded();let r=this._pendingChunks.length>0,i=this._flushPendingChunks(),a=i;e.length>0&&(a=r?i.then(()=>this._writeData(e)):this._writeData(e));let o=t?this._finalizeAfterWrite(a):a;return this._tapCallback(o,n),o}this._emitHeaderIfNeeded();let r=this._writeData(e),i=t?this._finalizeAfterWrite(r):r;return this._tapCallback(i,n),i}push(e,t=!1,n){if(!this._deflate&&this._encryptionMethod===`none`&&!jv()){try{this._pushSyncPath(e,t),n?.()}catch(e){return n?.(e instanceof Error?e:Error(String(e))),Promise.reject(e)}return Promise.resolve()}if(!t&&e.length>0&&e.length<Oy){if(this._inputBuf||(this._inputBuf=new Uint8Array(Oy),this._inputPos=0),this._inputPos+e.length<=Oy)return this._inputBuf.set(e,this._inputPos),this._inputPos+=e.length,n?.(),Promise.resolve();let t=new Uint8Array(this._inputPos+e.length);return t.set(this._inputBuf.subarray(0,this._inputPos)),t.set(e,this._inputPos),this._inputPos=0,this._pushAsync(t,!1,n)}if(this._inputPos>0){let r=this._inputBuf.slice(0,this._inputPos);this._inputPos=0;let i=this._pushAsync(r,!1),a=this._pushChain=i.then(()=>this._pushUnchained(e,t,n),()=>this._pushUnchained(e,t,n));return a.catch(()=>{}),a}return this._pushAsync(e,t,n)}_pushAsync(e,t,n){let r=this._pushChain=this._pushChain.then(()=>this._pushUnchained(e,t,n),()=>this._pushUnchained(e,t,n));return r.catch(()=>{}),r}_pushSyncPath(e,t=!1){if(this._finalized)throw Error(`Cannot push to finalized ZipDeflateFile`);if(this._syncZlibReady||=!0,this._deflateWanted===null){if(this._accumulateSampleLen(e),!this._shouldDecide(t)){e.length>0&&this._pendingChunks.push(e);return}this._decideCompressionIfNeeded(t,e,!0),this._emitHeaderIfNeeded();for(let e of this._pendingChunks)this._writeDataSync(e,!1);this._pendingChunks.length=0,e.length>0&&this._writeDataSync(e,t),t&&this._finalizeSyncAfterWrite();return}this._emitHeaderIfNeeded(),this._writeDataSync(e,t),t&&this._finalizeSyncAfterWrite()}_finalizeSyncAfterWrite(){if(this._finalized=!0,this._pendingEnd=!1,this._emittedDataDescriptor=!0,this._aesKeyStrength&&this._aesBufferSize>0)throw Error(`AES encryption is not supported with synchronous push`);if(this._syncDeflater){let e=this._syncDeflater.finish();e.length>0&&(this._compressedSize+=e.length,this._enqueueData(e,!1)),this._syncDeflater=null}if(this._emitDataDescriptor(),this._completeError)throw this._completeError}_emitHeader(){this._localHeader||=this._buildLocalHeader(),this._enqueueData(this._localHeader,!1)}_emitDataDescriptor(){let e=rs(this._crc),t=this._compressedSize>4294967295||this._uncompressedSize>4294967295;if(this._zip64Mode===!1&&t){this._rejectComplete(Error(`ZIP64 is required but zip64=false`));return}(this._zip64Mode===!0||t&&!this._zip64)&&(this._zip64=!0);let n=this._zip64?Uc(e,this._compressedSize,this._uncompressedSize):Vc(e,this._compressedSize,this._uncompressedSize),r=this._compressionMethod,i=this.extraField;this._aesKeyStrength&&(r=99,i=Gc(this.extraField,this._getAesExtraField())),this._centralDirEntryInfo={name:this.nameBytes,extraField:i,comment:this.commentBytes,flags:this._flags,crc:e,compressedSize:this._compressedSize,uncompressedSize:this._uncompressedSize,compressionMethod:r,dosTime:this.dosTime,dosDate:this.dosDate,offset:-1,zip64:this._zip64,externalAttributes:this._externalAttributes,versionMadeBy:this._versionMadeBy},this._enqueueData(n,!0),this._resolveComplete()}complete(){return this._ensureCompletePromise()}getEntryInfo(){if(!this._centralDirEntryInfo)return null;let e=this.name,t=e.endsWith(`/`)||e.endsWith(`\\`),n=this._centralDirEntryInfo.externalAttributes,r=Pc(n);return{path:e,type:Fc(r)?`symlink`:t?`directory`:`file`,compressedSize:this._centralDirEntryInfo.compressedSize,uncompressedSize:this._centralDirEntryInfo.uncompressedSize,compressionMethod:this._centralDirEntryInfo.compressionMethod,crc32:this._centralDirEntryInfo.crc,lastModified:this._modTime,localHeaderOffset:this._centralDirEntryInfo.offset,comment:this._stringCodec.decode(this._centralDirEntryInfo.comment),externalAttributes:n,mode:r,versionMadeBy:this._centralDirEntryInfo.versionMadeBy,extraField:this._centralDirEntryInfo.extraField,isEncrypted:this._encryptionMethod!==`none`,encryptionMethod:this._aesKeyStrength?`aes`:this._encryptionMethod===`zipcrypto`?`zipcrypto`:void 0,aesKeyStrength:this._aesKeyStrength,originalCompressionMethod:this._aesKeyStrength?this._originalCompressionMethod:void 0}}getCentralDirectoryEntryInfo(){return this._centralDirEntryInfo}isComplete(){return this._emittedDataDescriptor&&this._centralDirEntryInfo!==null}abort(e){if(this._completeError)return;let t=n(e);this._finalized=!0,this._pendingEnd=!0,this._rejectComplete(t);try{let e=this._deflate;e&&typeof e.destroy==`function`&&e.destroy(t)}catch{}}},Ay=class{constructor(e,t){this.entries=[],this.currentOffset=0,this.ended=!1,this.endPending=!1,this.addedEntryCount=0,this.fileQueue=[],this.fileQueueIndex=0,this.activeFile=null,this.callback=e,this._stringCodec=t?.codec??ds(t?.encoding),this.zipComment=fs(t?.comment,this._stringCodec),this.zip64Mode=t?.zip64??`auto`}add(e){if(this.ended)throw Error(`Cannot add files after calling end() `);if(this.zip64Mode===!1&&this.addedEntryCount>=65535)throw Error(`ZIP64 is required but zip64=false`);this.addedEntryCount++,this.fileQueue.push(e),this.activeFile||this._processNextFile()}_processNextFile(){if(this.fileQueueIndex>=this.fileQueue.length){this.activeFile=null,this.fileQueue=[],this.fileQueueIndex=0,this.endPending&&this._finalize();return}let e=this.fileQueue[this.fileQueueIndex++];this.activeFile=e;let t=this.currentOffset;if(e.onerror=e=>{this.ended||(this.ended=!0,this.callback(e,Ja,!0))},e.ondata=(n,r)=>{if(!this.ended&&(this.currentOffset+=n.length,this.callback(null,n,!1),r)){let n=e.getCentralDirectoryEntryInfo();n&&(n.offset=t,this.entries.push(n)),this._processNextFile()}},typeof e.start==`function`)try{e.start().catch(t=>{let n=i(t);try{e.onerror?.(n)}catch{}})}catch(t){let n=i(t);try{e.onerror?.(n)}catch{}}}_finalize(){if(this.ended)return;this.ended=!0;let e=this.currentOffset,t;try{let n=wy(this.entries,{zipComment:this.zipComment,zip64Mode:this.zip64Mode,centralDirOffset:e});t=new Uint8Array(n.totalSize),Ty(this.entries,{zipComment:this.zipComment,zip64Mode:this.zip64Mode,centralDirOffset:e,out:t,offset:0})}catch(e){let t=i(e);this.callback(t,Ja,!0);return}this.callback(null,t,!0)}end(){this.endPending||this.ended||(this.endPending=!0,this.activeFile||this._finalize())}abort(e){if(this.ended)return;let t=n(e);this.ended=!0,this.endPending=!0;try{this.activeFile?.abort(t)}catch{}this.callback(t,Ja,!0)}}}));function My(e){return typeof e==`object`&&`nativeCol`in e&&`nativeRow`in e&&`nativeColOff`in e&&`nativeRowOff`in e}function Ny(e){return typeof e==`object`&&`col`in e&&`row`in e}var Py,Fy=t((()=>{da(),Py=class e{constructor(e,t,n=0){if(this.worksheet=e,!t)this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0;else if(typeof t==`string`){let e=E.decodeAddress(t);this.nativeCol=e.col+n,this.nativeColOff=0,this.nativeRow=e.row+n,this.nativeRowOff=0}else My(t)?(this.nativeCol=t.nativeCol??0,this.nativeColOff=t.nativeColOff??0,this.nativeRow=t.nativeRow??0,this.nativeRowOff=t.nativeRowOff??0):Ny(t)?(this.col=t.col+n,this.row=t.row+n):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0)}static asInstance(t){return t==null?null:t instanceof e?t:new e(void 0,t)}get col(){return this.nativeColOff===0?this.nativeCol:this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col(e){this.nativeCol=Math.floor(e);let t=e-this.nativeCol;this.nativeColOff=t===0?0:Math.floor(t*this.colWidth)}get row(){return this.nativeRowOff===0?this.nativeRow:this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row(e){this.nativeRow=Math.floor(e);let t=e-this.nativeRow;this.nativeRowOff=t===0?0:Math.floor(t*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(this.worksheet.getColumn(this.nativeCol+1).width*1e4):64e4}get rowHeight(){let e=this.worksheet?.getRow(this.nativeRow+1)?.height;return e?Math.floor(e*1e4):18e4}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model(e){this.nativeCol=e.nativeCol,this.nativeColOff=e.nativeColOff,this.nativeRow=e.nativeRow,this.nativeRowOff=e.nativeRowOff}clone(t){return new e(t??this.worksheet,this.model)}}})),Iy,Ly=t((()=>{da(),Iy=class{constructor(e){this.model=e||{}}add(e,t){return this.model[e]=t}find(e){let t=this.model[e];if(t!==void 0)return t;let n;for(let t of Object.keys(this.model)){if(!t.startsWith(`range:`))continue;n||=E.decodeAddress(e);let r=t.slice(6),i=E.decodeEx(r);if(!(`dimensions`in i))continue;let{tl:a,br:o}=i,s=typeof a==`string`?E.decodeAddress(a):a,c=typeof o==`string`?E.decodeAddress(o):o;if(n.row>=s.row&&n.row<=c.row&&n.col>=s.col&&n.col<=c.col)return this.model[t]}}remove(e){this.model[e]=void 0}}})),Ry,zy=t((()=>{j(),Hf(),Ry=class extends A{get tag(){return`t`}render(e,t){e.openNode(`t`),/^\s|\n|\s$/.test(t)&&e.addAttribute(`xml:space`,`preserve`),e.writeText(pf(t)),e.closeNode()}parseOpen(e){return e.name===`t`?(this.model=``,!0):!1}parseText(e){this.model=this.model?this.model+e:e}parseClose(){let e=this.model;return e.includes(`_x`)&&(this.model=ff(e)),!1}}})),By,Vy=t((()=>{j(),zy(),w_(),By=class e extends A{constructor(e){super(),this.model=e}get tag(){return`r`}get textXform(){return this._textXform||=new Ry}get fontXform(){return this._fontXform||=new C_(e.FONT_OPTIONS)}render(e,t){let n=t||this.model;e.openNode(`r`),n.font&&this.fontXform.render(e,n.font),this.textXform.render(e,n.text),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case`r`:return this.model={},!0;case`t`:return this.parser=this.textXform,this.parser.parseOpen(e),!0;case`rPr`:return this.parser=this.fontXform,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){switch(e){case`r`:return!1;case`t`:return this.model.text=this.parser.model,this.parser=void 0,!0;case`rPr`:return this.model.font=this.parser.model,this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}static{this.FONT_OPTIONS={tagName:`rPr`,fontNameTag:`rFont`}}}})),Hy,Uy=t((()=>{j(),Vy(),Hy=class extends A{constructor(e){super(),this.model=e||{type:`note`,note:{texts:[]},ref:``}}get tag(){return`r`}get richTextXform(){return this._richTextXform||=new By,this._richTextXform}render(e,t){let n=t||this.model;e.openNode(`comment`,{ref:n.ref,authorId:n.authorId??0}),e.openNode(`text`),n&&n.note&&n.note.texts&&n.note.texts.forEach(t=>{this.richTextXform.render(e,t)}),e.closeNode(),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case`comment`:return this.model={type:`note`,note:{texts:[]},ref:e.attributes.ref,authorId:e.attributes.authorId==null?void 0:Number(e.attributes.authorId)},!0;case`r`:return this.parser=this.richTextXform,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){switch(e){case`comment`:return!1;case`r`:return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}}})),Wy,Gy=t((()=>{j(),Wy=class extends A{constructor(e){super(),this._model=e||{},this.model={}}get tag(){return this._model?.tag??``}render(e,t,n){(n&&t===n[2]||n&&this.tag===`x:SizeWithCells`&&t===n[1])&&e.leafNode(this.tag)}parseOpen(e){switch(e.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}parseText(){}parseClose(){return!1}}})),Ky,qy=t((()=>{j(),Ky=class extends A{constructor(e){super(),this._model=e||{},this.text=``}get tag(){return this._model?.tag??``}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(e){switch(e.name){case this.tag:return this.text=``,!0;default:return!1}}parseText(e){this.text=e}parseClose(){return!1}}})),Jy,Yy=t((()=>{j(),Jy=class extends A{constructor(){super(),this.text=``}get tag(){return`x:Anchor`}getAnchorRect(e){let t=Math.floor(e.left),n=Math.floor((e.left-t)*68),r=Math.floor(e.top),i=Math.floor((e.top-r)*18),a=Math.floor(e.right),o=Math.floor((e.right-a)*68),s=Math.floor(e.bottom);return[t,n,r,i,a,o,s,Math.floor((e.bottom-s)*18)]}getDefaultRect(e){let t=e.col,n=Math.max(e.row-2,0);return[t,6,n,14,t+2,2,n+4,16]}render(e,t){let n=t.anchor?this.getAnchorRect(t.anchor):this.getDefaultRect(t.refAddress);e.leafNode(`x:Anchor`,null,n.join(`, `))}parseOpen(e){switch(e.name){case this.tag:return this.text=``,!0;default:return!1}}parseText(e){this.text=e}parseClose(){return!1}}})),Xy,Zy,Qy=t((()=>{j(),Gy(),qy(),Yy(),Xy=[`twoCells`,`oneCells`,`absolute`],Zy=class extends A{constructor(){super(),this._leafText=``,this.map={"x:Anchor":new Jy,"x:Locked":new Ky({tag:`x:Locked`}),"x:LockText":new Ky({tag:`x:LockText`}),"x:SizeWithCells":new Wy({tag:`x:SizeWithCells`}),"x:MoveWithCells":new Wy({tag:`x:MoveWithCells`})},this.model={anchor:[],protection:{},editAs:``}}get tag(){return`x:ClientData`}render(e,t){let{protection:n,editAs:r}=t.note;e.openNode(this.tag,{ObjectType:`Note`}),this.map[`x:MoveWithCells`].render(e,r,Xy),this.map[`x:SizeWithCells`].render(e,r,Xy),this.map[`x:Anchor`].render(e,t),this.map[`x:Locked`].render(e,n.locked),e.leafNode(`x:AutoFill`,null,`False`),this.map[`x:LockText`].render(e,n.lockText),e.leafNode(`x:Row`,null,t.refAddress.row-1),e.leafNode(`x:Column`,null,t.refAddress.col-1),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:``};break;case`x:Row`:case`x:Column`:this._leafName=e.name,this._leafText=``;break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(e){this._leafName?this._leafText+=e:this.parser&&this.parser.parseText(e)}parseClose(e){if(this._leafName){if(e===this._leafName){let t=parseInt(this._leafText,10);e===`x:Row`?this.model.row=t+1:e===`x:Column`&&(this.model.col=t+1),this._leafName=void 0,this._leafText=``}return!0}if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.normalizeModel(),!1;default:return!0}}normalizeModel(){let e=Object.assign({},this.map[`x:MoveWithCells`].model,this.map[`x:SizeWithCells`].model),t=Object.keys(e).length;this.model.editAs=Xy[t],this.model.anchor=this.map[`x:Anchor`].text,this.model.protection.locked=this.map[`x:Locked`].text,this.model.protection.lockText=this.map[`x:LockText`].text}}})),$y,eb=t((()=>{j(),$y=class extends A{constructor(){super(),this.model={}}get tag(){return`v:textbox`}conversionUnit(e,t,n){return`${(parseFloat(e.toString())*t).toFixed(2)}${n}`}reverseConversionUnit(e){return(e??``).split(`,`).map(e=>Number(parseFloat(this.conversionUnit(parseFloat(e),.1,``)).toFixed(2)))}render(e,t){let n={style:`mso-direction-alt:auto`};if(t&&t.note){let{inset:e}=t.note&&t.note.margins||{};Array.isArray(e)&&(e=e.map(e=>this.conversionUnit(e,10,`mm`)).join(`,`)),e&&(n.inset=e)}e.openNode(`v:textbox`,n),e.leafNode(`div`,{style:`text-align:left`}),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:return this.model={inset:this.reverseConversionUnit(e.attributes.inset)},!0;default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}})),tb,nb=t((()=>{j(),Qy(),eb(),tb=class e extends A{constructor(){super(),this.map={"v:textbox":new $y,"x:ClientData":new Zy}}get tag(){return`v:shape`}render(t,n,r){t.openNode(`v:shape`,e.V_SHAPE_ATTRIBUTES(n,r??0)),t.leafNode(`v:fill`,{color2:`infoBackground [80]`}),t.leafNode(`v:shadow`,{color:`none [81]`,obscured:`t`}),t.leafNode(`v:path`,{"o:connecttype":`none`}),this.map[`v:textbox`].render(t,n),this.map[`x:ClientData`].render(t,n),t.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={margins:{insetmode:e.attributes[`o:insetmode`]},anchor:``,editAs:``,protection:{}};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.margins.inset=this.map[`v:textbox`].model&&this.map[`v:textbox`].model.inset,this.model.protection=this.map[`x:ClientData`].model&&this.map[`x:ClientData`].model.protection,this.model.anchor=this.map[`x:ClientData`].model&&this.map[`x:ClientData`].model.anchor,this.model.editAs=this.map[`x:ClientData`].model&&this.map[`x:ClientData`].model.editAs,this.map[`x:ClientData`].model&&(this.model.row=this.map[`x:ClientData`].model.row,this.model.col=this.map[`x:ClientData`].model.col),!1;default:return!0}}static{this.V_SHAPE_ATTRIBUTES=(e,t)=>({id:`_x0000_s${1025+t}`,type:`#_x0000_t202`,style:`position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden`,fillcolor:`infoBackground [80]`,strokecolor:`none [81]`,"o:insetmode":e.note.margins&&e.note.margins.insetmode})}}})),rb,ib=t((()=>{da(),ng(),mu(),Uy(),nb(),ag(),rb=class{constructor(e,t,n){this.id=n.id,this.count=0,this._worksheet=e,this._workbook=n.workbook,this._sheetRelsWriter=t}get commentsStream(){return this._commentsStream||=this._workbook._openStream(Cm(this.id)),this._commentsStream}get vmlStream(){return this._vmlStream||=this._workbook._openStream(Tm(this.id)),this._vmlStream}_addRelationships(){let e={Type:D.Comments,Target:Um(this.id)};this._sheetRelsWriter.addRelationship(e);let t={Type:D.VmlDrawing,Target:Wm(this.id)};this.vmlRelId=this._sheetRelsWriter.addRelationship(t)}_addCommentRefs(){this._workbook.commentRefs.push({commentName:`comments${this.id}`,vmlDrawing:`vmlDrawing${this.id}`})}_writeOpen(){this.commentsStream.write(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><comments xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><authors><author>Author</author></authors><commentList>`),this.vmlStream.write(`<?xml version="1.0" encoding="UTF-8"?><xml xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:x="urn:schemas-microsoft-com:office:excel"><o:shapelayout v:ext="edit"><o:idmap v:ext="edit" data="1" /></o:shapelayout><v:shapetype id="_x0000_t202" coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe"><v:stroke joinstyle="miter" /><v:path gradientshapeok="t" o:connecttype="rect" /></v:shapetype>`)}_writeComment(e,t){let n=new Hy,r=new ig;n.render(r,e),this.commentsStream.write(r.xml);let i=new tb,a=new ig;i.render(a,e,t),this.vmlStream.write(a.xml)}_writeClose(){this.commentsStream.write(`</commentList></comments>`),this.vmlStream.write(`</xml>`)}addComments(e){e&&e.length&&(this.startedData||=(this._worksheet.comments=[],this._writeOpen(),this._addRelationships(),this._addCommentRefs(),!0),e.forEach(e=>{e.refAddress=E.decodeAddress(e.ref)}),e.forEach(e=>{this._writeComment(e,this.count),this.count+=1}))}commit(){this.count&&(this._writeClose(),this.commentsStream.end(),this.vmlStream.end())}}}));function ab(e){return e.startsWith(`#`)}var ob,sb=t((()=>{j(),ob=class extends A{get tag(){return`hyperlink`}render(e,t){t.target&&ab(t.target)?e.leafNode(`hyperlink`,{ref:t.address,tooltip:t.tooltip,location:t.target.slice(1)}):e.leafNode(`hyperlink`,{ref:t.address,"r:id":t.rId,tooltip:t.tooltip})}parseOpen(e){if(e.name===`hyperlink`){if(this.model={address:e.attributes.ref,rId:e.attributes[`r:id`],tooltip:e.attributes.tooltip},e.attributes.location){let t=e.attributes.location;this.model.target=t.startsWith(`#`)?t:`#${t}`}return!0}return!1}parseText(){}parseClose(){return!1}}})),cb,lb,ub=t((()=>{ng(),mu(),sb(),sf(),cb=class{constructor(e){this.writer=e}push(e){this.writer.addHyperlink(e)}},lb=class{constructor(e){this.id=e.id,this.count=0,this._hyperlinks=[],this._workbook=e.workbook}get stream(){return this._stream||=this._workbook._openStream(xm(this.id)),this._stream}get length(){return this._hyperlinks.length}each(e){return this._hyperlinks.forEach(e)}get hyperlinksProxy(){return this._hyperlinksProxy||=new cb(this)}addHyperlink(e){if(ab(e.target)){this._hyperlinks.push({address:e.address,target:e.target});return}let t={Target:e.target,Type:D.Hyperlink,TargetMode:`External`},n=this._writeRelationship(t);this._hyperlinks.push({rId:n,address:e.address})}addMedia(e){return this._writeRelationship(e)}addRelationship(e){return this._writeRelationship(e)}commit(){this.count&&(this._writeClose(),this.stream.end())}_writeOpen(){this.stream.write(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
405
- <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">`)}_writeRelationship(e){this.count||this._writeOpen();let t=`rId${++this.count}`;return e.TargetMode?this.stream.write(`<Relationship Id="${t}" Type="${qd(e.Type)}" Target="${qd(e.Target)}" TargetMode="${qd(e.TargetMode)}"/>`):this.stream.write(`<Relationship Id="${t}" Type="${qd(e.Type)}" Target="${qd(e.Target)}"/>`),t}_writeClose(){this.stream.write(`</Relationships>`)}}}));function db(e){return Ym(e.name&&e.extension&&e.name.endsWith(`.${e.extension}`)?e.name:`${e.name}.${e.extension}`)}function fb(e,t,n){let r=[],i=[...t],a={};for(let t of e){let e=String(t.imageId),o=n.getBookImage(t.imageId);if(!o)continue;let s=a[e];s||(s=n.nextRId(i),a[e]=s,i.push({Id:s,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,Target:db(o)}));let c={picture:{rId:s},range:t.range};if(t.opacity!==void 0){let e=Math.max(0,Math.min(1,t.opacity));c.picture.alphaModFix=Math.round(e*1e5)}if(t.hyperlinks&&t.hyperlinks.hyperlink){let e=n.nextRId(i);c.picture.hyperlinks={tooltip:t.hyperlinks.tooltip,rId:e},i.push({Id:e,Type:D.Hyperlink,Target:t.hyperlinks.hyperlink,TargetMode:`External`})}r.push(c)}return{anchors:r,rels:i}}function pb(e){return e.filter(e=>e==null?!1:e.range?.pos===void 0?e.range?.br&&e.shape?!0:!(!e.range?.br&&!e.picture&&!e.graphicFrame||e.range?.br&&!e.picture&&!e.shape&&!e.graphicFrame):!!e.picture||!!e.graphicFrame||!!e.shape)}var mb=t((()=>{ng(),mu()}));function hb(e,t,n,r,i){let a=i(e,t)?.style?.border,o=r-t+1,s=n-e+1,c=Array(o),l=Array(o),u=Array(s),d=Array(s),f=!1;for(let o=t;o<=r;o++){let r=o-t,s=i(e,o)?.style?.border;c[r]=s?.top||a?.top,n===e?l[r]=s?.bottom||a?.bottom:l[r]=i(n,o)?.style?.border?.bottom||a?.bottom,(c[r]||l[r])&&(f=!0)}for(let o=e;o<=n;o++){let n=o-e,s=i(o,t)?.style?.border;u[n]=s?.left||a?.left,r===t?d[n]=s?.right||a?.right:d[n]=i(o,r)?.style?.border?.right||a?.right,(u[n]||d[n])&&(f=!0)}let p=a?.diagonal,m=a?.color;if(!(!f&&!p))return{topEdges:c,bottomEdges:l,leftEdges:u,rightEdges:d,diagonal:p,color:m}}function gb(e,t,n,r,i,a){let{topEdges:o,bottomEdges:s,leftEdges:c,rightEdges:l,diagonal:u,color:d}=i,f=a(e,t).style;for(let i=e;i<=n;i++)for(let p=t;p<=r;p++){let m=a(i,p),h=kd(f)||{},g={},_=!1;i===e&&o[p-t]&&(g.top=o[p-t],_=!0),i===n&&s[p-t]&&(g.bottom=s[p-t],_=!0),p===t&&c[i-e]&&(g.left=c[i-e],_=!0),p===r&&l[i-e]&&(g.right=l[i-e],_=!0),u&&(g.diagonal=u,_=!0),_?(d&&(g.color=d),h.border=g):delete h.border,m.style=h}}var _b=t((()=>{Ad()}));function vb(e){let t=new Uint8Array(4);return t[0]=e&255,t[1]=e>>8&255,t[2]=e>>16&255,t[3]=e>>24&255,t}var yb,bb=t((()=>{lr(),ic(),If(),yb={async hash(e,...t){return Qs(e,Zn(t))},async convertPasswordToHash(e,t,n,r){let i=Tf(e),a=cf(n),o=await this.hash(t,a,i);for(let e=0;e<r;e++)o=await this.hash(t,o,vb(e));return wf(o)},randomBytes(e){return Zs(e)}}}));async function xb(e,t){let n={sheet:!0};return t&&`spinCount`in t&&(t.spinCount=Number.isFinite(t.spinCount)?Math.round(Math.max(0,t.spinCount)):1e5),e&&(n.algorithmName=`SHA-512`,n.saltValue=wf(yb.randomBytes(16)),n.spinCount=t&&`spinCount`in t?t.spinCount:1e5,n.hashValue=await yb.convertPasswordToHash(e,`SHA-512`,n.saltValue,n.spinCount)),t&&(Object.assign(n,t),!e&&`spinCount`in t&&delete n.spinCount),n}var Sb=t((()=>{bb(),Hf()})),Cb,wb,Tb=t((()=>{Cb=new TextEncoder,wb=class{constructor(e){this._buf=new Uint8Array(e&&e.size||16384),this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){return this._buffer||=this._buf.slice(0,this._inPos),this._buffer}reset(e){e??=0,this._buffer=void 0,this._inPos=e}_grow(e){let t=this._buf.length*2;for(;t<e;)t*=2;let n=new Uint8Array(t);n.set(this._buf),this._buf=n}addText(e){this._buffer=void 0;let t=this._inPos+e.length;t>this._buf.length-4&&this._grow(t);let n=this._buf.subarray(this._inPos),r=Cb.encodeInto(e,n);if(r.read<e.length){let t=e.length-r.read;this._grow(this._inPos+r.written+t*3);let n=Cb.encodeInto(e.substring(r.read),this._buf.subarray(this._inPos+r.written));this._inPos+=r.written+n.written}else this._inPos+=r.written}addStringBuf(e){e.length&&(this._buffer=void 0,this.length+e.length>this.capacity&&this._grow(this.length+e.length),this._buf.set(e._buf.subarray(0,e.length),this._inPos),this._inPos+=e.length)}}})),Eb=t((()=>{Tb()})),Db,Ob=t((()=>{da(),j(),Db=class extends A{get tag(){return`autoFilter`}render(e,t){if(t)if(typeof t==`string`)e.leafNode(`autoFilter`,{ref:t});else{let n=function(e){return typeof e==`string`?e:E.getAddress(e.row,e.col).address},r=n(t.from),i=n(t.to);r&&i&&e.leafNode(`autoFilter`,{ref:`${r}:${i}`})}}parseOpen(e){e.name===`autoFilter`&&(this.model=e.attributes.ref)}}})),kb,Ab=t((()=>{j(),kb=class extends A{createNewModel(e){return{}}parseOpen(e){return this.parser=this.parser||this.map[e.name],this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag?(this.model=this.createNewModel(e),!0):!1}parseText(e){this.parser&&this.parser.parseText(e)}onParserClose(e,t){this.model[e]=t.model}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.onParserClose(e,this.parser),this.parser=void 0),!0):e!==this.tag}get tag(){return``}}})),jb,Mb=t((()=>{j(),jb=class extends A{get tag(){return`cfvo`}render(e,t){e.leafNode(this.tag,{type:t.type,val:t.value})}parseOpen(e){this.model={type:e.attributes.type,value:A.toFloatValue(e.attributes.val)}}parseClose(e){return e!==this.tag}}})),Nb,Pb=t((()=>{Ab(),Mb(),t_(),Nb=class extends kb{constructor(){super(),this.map={cfvo:this.cfvoXform=new jb,color:this.colorXform=new e_}}get tag(){return`colorScale`}render(e,t){e.openNode(this.tag),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),t.color.forEach(t=>{this.colorXform.render(e,t)}),e.closeNode()}createNewModel(e){return{cfvo:[],color:[]}}onParserClose(e,t){this.model[e].push(t.model)}}})),Fb,Ib=t((()=>{Ab(),Mb(),t_(),Fb=class extends kb{constructor(){super(),this.map={cfvo:this.cfvoXform=new jb,color:this.colorXform=new e_}}get tag(){return`dataBar`}render(e,t){e.openNode(this.tag),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),this.colorXform.render(e,t.color),e.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose(e,t){switch(e){case`cfvo`:this.model.cfvo.push(t.model);break;case`color`:this.model.color=t.model;break}}}})),Lb,Rb,zb,Bb=t((()=>{j(),Ab(),Lb=class extends A{get tag(){return`x14:id`}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=``}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}},Rb=class extends kb{constructor(){super(),this.map={"x14:id":this.idXform=new Lb}}get tag(){return`ext`}render(e,t){e.openNode(this.tag,{uri:`{B025F937-C7B1-47D3-B67F-A62EFF666E3E}`,"xmlns:x14":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`}),this.idXform.render(e,t.x14Id),e.closeNode()}createNewModel(){return{}}onParserClose(e,t){this.model.x14Id=t.model}},zb=class extends kb{constructor(){super(),this.map={ext:new Rb}}get tag(){return`extLst`}render(e,t){t.x14Id&&(e.openNode(this.tag),this.map.ext.render(e,t),e.closeNode())}createNewModel(){return{}}onParserClose(e,t){Object.assign(this.model,t.model)}}})),Vb,Hb=t((()=>{j(),Vb=class extends A{get tag(){return`formula`}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=``}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}})),Ub,Wb=t((()=>{j(),Ab(),Mb(),Ub=class extends kb{constructor(){super(),this.map={cfvo:this.cfvoXform=new jb}}get tag(){return`iconSet`}render(e,t){e.openNode(this.tag,{iconSet:A.toStringAttribute(t.iconSet,`3TrafficLights`),reverse:A.toBoolAttribute(t.reverse,!1),showValue:A.toBoolAttribute(t.showValue,!0)}),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),e.closeNode()}createNewModel({attributes:e}){return{iconSet:A.toStringValue(e.iconSet,`3TrafficLights`),reverse:A.toBoolValue(e.reverse),showValue:A.toBoolValue(e.showValue),cfvo:[]}}onParserClose(e,t){this.model[e].push(t.model)}}})),Gb,Kb,qb,Jb,Yb,Xb=t((()=>{pa(),j(),Ab(),Pb(),Ib(),Bb(),Hb(),Wb(),Gb={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},Kb=e=>{if(e.formulae&&e.formulae[0])return e.formulae[0];let{tl:t}=new fa(e.ref);switch(e.operator){case`containsText`:return`NOT(ISERROR(SEARCH("${e.text}",${t})))`;case`containsBlanks`:return`LEN(TRIM(${t}))=0`;case`notContainsBlanks`:return`LEN(TRIM(${t}))>0`;case`containsErrors`:return`ISERROR(${t})`;case`notContainsErrors`:return`NOT(ISERROR(${t}))`;default:return}},qb=e=>{if(e.formulae&&e.formulae[0])return e.formulae[0];let{tl:t}=new fa(e.ref);switch(e.timePeriod){case`thisWeek`:return`AND(TODAY()-ROUNDDOWN(${t},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${t},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case`lastWeek`:return`AND(TODAY()-ROUNDDOWN(${t},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${t},0)<(WEEKDAY(TODAY())+7))`;case`nextWeek`:return`AND(ROUNDDOWN(${t},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${t},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case`yesterday`:return`FLOOR(${t},1)=TODAY()-1`;case`today`:return`FLOOR(${t},1)=TODAY()`;case`tomorrow`:return`FLOOR(${t},1)=TODAY()+1`;case`last7Days`:return`AND(TODAY()-FLOOR(${t},1)<=6,FLOOR(${t},1)<=TODAY())`;case`lastMonth`:return`AND(MONTH(${t})=MONTH(EDATE(TODAY(),0-1)),YEAR(${t})=YEAR(EDATE(TODAY(),0-1)))`;case`thisMonth`:return`AND(MONTH(${t})=MONTH(TODAY()),YEAR(${t})=YEAR(TODAY()))`;case`nextMonth`:return`AND(MONTH(${t})=MONTH(EDATE(TODAY(),0+1)),YEAR(${t})=YEAR(EDATE(TODAY(),0+1)))`;default:return}},Jb=e=>{let{type:t,operator:n}=e;switch(t){case`containsText`:case`containsBlanks`:case`notContainsBlanks`:case`containsErrors`:case`notContainsErrors`:return{type:`containsText`,operator:t};default:return{type:t,operator:n}}},Yb=class e extends kb{constructor(){super(),this.map={dataBar:this.databarXform=new Fb,extLst:this.extLstRefXform=new zb,formula:this.formulaXform=new Vb,colorScale:this.colorScaleXform=new Nb,iconSet:this.iconSetXform=new Ub}}get tag(){return`cfRule`}static isPrimitive(e){return!(e.type===`iconSet`&&(e.custom||Gb[e.iconSet]))}render(e,t){switch(t.type){case`expression`:this.renderExpression(e,t);break;case`cellIs`:this.renderCellIs(e,t);break;case`top10`:this.renderTop10(e,t);break;case`aboveAverage`:this.renderAboveAverage(e,t);break;case`dataBar`:this.renderDataBar(e,t);break;case`colorScale`:this.renderColorScale(e,t);break;case`iconSet`:this.renderIconSet(e,t);break;case`containsText`:this.renderText(e,t);break;case`timePeriod`:this.renderTimePeriod(e,t);break}}renderExpression(e,t){e.openNode(this.tag,{type:`expression`,dxfId:t.dxfId,priority:t.priority}),this.formulaXform.render(e,t.formulae[0]),e.closeNode()}renderCellIs(e,t){e.openNode(this.tag,{type:`cellIs`,dxfId:t.dxfId,priority:t.priority,operator:t.operator}),t.formulae.forEach(t=>{this.formulaXform.render(e,t)}),e.closeNode()}renderTop10(e,t){e.leafNode(this.tag,{type:`top10`,dxfId:t.dxfId,priority:t.priority,percent:A.toBoolAttribute(t.percent,!1),bottom:A.toBoolAttribute(t.bottom,!1),rank:A.toIntValue(t.rank,10)})}renderAboveAverage(e,t){e.leafNode(this.tag,{type:`aboveAverage`,dxfId:t.dxfId,priority:t.priority,aboveAverage:A.toBoolAttribute(t.aboveAverage,!0)})}renderDataBar(e,t){e.openNode(this.tag,{type:`dataBar`,priority:t.priority}),this.databarXform.render(e,t),this.extLstRefXform.render(e,t),e.closeNode()}renderColorScale(e,t){e.openNode(this.tag,{type:`colorScale`,priority:t.priority}),this.colorScaleXform.render(e,t),e.closeNode()}renderIconSet(t,n){e.isPrimitive(n)&&(t.openNode(this.tag,{type:`iconSet`,priority:n.priority}),this.iconSetXform.render(t,n),t.closeNode())}renderText(e,t){e.openNode(this.tag,{type:t.operator,dxfId:t.dxfId,priority:t.priority,operator:A.toStringAttribute(t.operator,`containsText`)});let n=Kb(t);n&&this.formulaXform.render(e,n),e.closeNode()}renderTimePeriod(e,t){e.openNode(this.tag,{type:`timePeriod`,dxfId:t.dxfId,priority:t.priority,timePeriod:t.timePeriod});let n=qb(t);n&&this.formulaXform.render(e,n),e.closeNode()}createNewModel({attributes:e}){return{...Jb(e),dxfId:A.toIntValue(e.dxfId),priority:A.toIntValue(e.priority),timePeriod:e.timePeriod,percent:A.toBoolValue(e.percent),bottom:A.toBoolValue(e.bottom),rank:A.toIntValue(e.rank),aboveAverage:A.toBoolValue(e.aboveAverage)}}onParserClose(e,t){switch(e){case`dataBar`:case`extLst`:case`colorScale`:case`iconSet`:Object.assign(this.model,t.model);break;case`formula`:this.model.formulae=this.model.formulae??[],this.model.formulae.push(t.model);break}}}})),Zb,Qb=t((()=>{Ab(),Xb(),Zb=class extends kb{constructor(){super(),this.map={cfRule:new Yb}}get tag(){return`conditionalFormatting`}render(e,t){t.rules.some(Yb.isPrimitive)&&(e.openNode(this.tag,{sqref:t.ref}),t.rules.forEach(n=>{Yb.isPrimitive(n)&&(n.ref=t.ref,this.map.cfRule.render(e,n))}),e.closeNode())}createNewModel({attributes:e}){return{ref:e.sqref,rules:[]}}onParserClose(e,t){this.model.rules.push(t.model)}}})),$b,ex=t((()=>{j(),Qb(),$b=class extends A{constructor(){super(),this.cfXform=new Zb}get tag(){return`conditionalFormatting`}reset(){this.model=[]}prepare(e,t){let n=e.reduce((e,t)=>Math.max(e,...t.rules.map(e=>e.priority??0)),1);e.forEach(e=>{e.rules.forEach(e=>{e.priority||=n++,e.style&&(e.dxfId=t.styles.addDxfStyle(e.style)),e.type===`dataBar`&&((!e.cfvo||e.cfvo.length<2)&&(e.cfvo=[{type:`min`},{type:`max`}]),e.color||={argb:`FF638EC6`})})})}render(e,t){t.forEach(t=>{this.cfXform.render(e,t)})}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case`conditionalFormatting`:return this.parser=this.cfXform,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?this.parser.parseClose(e)?!0:(this.model.push(this.parser.model),this.parser=void 0,!1):!1}reconcile(e,t){e.forEach(e=>{e.rules.forEach(e=>{e.dxfId!==void 0&&(e.style=t.styles.getDxfStyle(e.dxfId),delete e.dxfId)})})}}})),tx,nx=t((()=>{j(),tx=class extends A{get tag(){return`brk`}render(e,t){e.leafNode(`brk`,t)}parseOpen(e){if(e.name===`brk`){let{id:t,max:n,man:r,min:i}=e.attributes;return this.model={id:+t,max:+n,man:+r},i!==void 0&&(this.model.min=+i),!0}return!1}parseText(){}parseClose(){return!1}}})),rx,ix=t((()=>{jg(),nx(),rx=class extends Ag{constructor(){super({tag:`colBreaks`,count:!0,childXform:new tx})}render(e,t){if(t&&t.length){e.openNode(this.tag,this.$),e.addAttribute(this.$count,t.length),e.addAttribute(`manualBreakCount`,t.length);let{childXform:n}=this;for(let r of t)n.render(e,r);e.closeNode()}}}})),ax,ox=t((()=>{j(),Hf(),ax=class extends A{get tag(){return`col`}prepare(e,t){let n=t.styles.addStyleModel(e.style||{});n&&(e.styleId=n)}render(e,t){e.openNode(`col`),e.addAttribute(`min`,t.min),e.addAttribute(`max`,t.max),t.width&&e.addAttribute(`width`,t.width),t.styleId&&e.addAttribute(`style`,t.styleId),t.hidden&&e.addAttribute(`hidden`,`1`),t.bestFit&&e.addAttribute(`bestFit`,`1`),t.outlineLevel&&e.addAttribute(`outlineLevel`,t.outlineLevel),t.collapsed&&e.addAttribute(`collapsed`,`1`),e.addAttribute(`customWidth`,`1`),e.closeNode()}parseOpen(e){if(e.name===`col`){let t=this.model={min:parseInt(e.attributes.min??`0`,10),max:parseInt(e.attributes.max??`0`,10),width:e.attributes.width===void 0?void 0:parseFloat(e.attributes.width??`0`)};return e.attributes.style&&(t.styleId=parseInt(e.attributes.style,10)),vf(e.attributes.hidden)&&(t.hidden=!0),vf(e.attributes.bestFit)&&(t.bestFit=!0),e.attributes.outlineLevel&&(t.outlineLevel=parseInt(e.attributes.outlineLevel,10)),vf(e.attributes.collapsed)&&(t.collapsed=!0),!0}return!1}parseText(){}parseClose(){return!1}reconcile(e,t){e.styleId!==void 0&&(e.style=t.styles.getStyleModel(e.styleId))}}}));function sx(e,t,n,r){let i=t[n];i===void 0?r!==void 0&&(e[n]=r):e[n]=i}function cx(e,t,n,r){let i=t[n];i===void 0?r!==void 0&&(e[n]=r):e[n]=vf(i)}function lx(e){if(!e)return[];let t=[],n={};for(let[r,i]of Object.entries(e))if(i!=null)if(r.startsWith(`range:`)){let e=r.slice(6),{sqref:n,...a}=i;t.push({...a,sqref:e})}else n[r]=i;if(Object.keys(n).length===0)return t;let r=Object.entries(n).map(([e,t])=>({address:e,dataValidation:t,marked:!1})).sort((e,t)=>E.compareAddress(e.address,t.address)),i=Object.fromEntries(r.map(e=>[e.address,e])),a=(e,t,r)=>{for(let i=0;i<t;i++){let t=E.encodeAddress(e.row+i,r);if(!n[t]||!jd(n[e.address],n[t]))return!1}return!0},o=r.map(e=>{if(!e.marked){let t=E.decodeEx(e.address);if(t.dimensions)return i[t.dimensions].marked=!0,{...e.dataValidation,sqref:e.address};let r=1,o=E.encodeAddress(t.row+r,t.col);for(;n[o]&&jd(e.dataValidation,n[o]);)r++,o=E.encodeAddress(t.row+r,t.col);let s=1;for(;a(t,r,t.col+s);)s++;for(let e=0;e<r;e++)for(let n=0;n<s;n++)o=E.encodeAddress(t.row+e,t.col+n),i[o].marked=!0;if(r>1||s>1){let n=t.row+(r-1),i=t.col+(s-1);return{...e.dataValidation,sqref:`${e.address}:${E.encodeAddress(n,i)}`}}return{...e.dataValidation,sqref:e.address}}return null}).filter(Boolean);return[...t,...o]}var ux,dx=t((()=>{da(),Ld(),j(),Hf(),ux=class extends A{get tag(){return`dataValidations`}render(e,t){let n=lx(t);n.length&&(e.openNode(`dataValidations`,{count:n.length}),n.forEach(t=>{e.openNode(`dataValidation`),t.type!==`any`&&(e.addAttribute(`type`,t.type),t.operator&&t.type!==`list`&&t.operator!==`between`&&e.addAttribute(`operator`,t.operator),t.allowBlank&&e.addAttribute(`allowBlank`,`1`)),t.showInputMessage&&e.addAttribute(`showInputMessage`,`1`),t.promptTitle&&e.addAttribute(`promptTitle`,t.promptTitle),t.prompt&&e.addAttribute(`prompt`,t.prompt),t.showErrorMessage&&e.addAttribute(`showErrorMessage`,`1`),t.errorStyle&&e.addAttribute(`errorStyle`,t.errorStyle),t.errorTitle&&e.addAttribute(`errorTitle`,t.errorTitle),t.error&&e.addAttribute(`error`,t.error),e.addAttribute(`sqref`,t.sqref),(t.formulae??[]).forEach((n,r)=>{e.openNode(`formula${r+1}`),t.type===`date`?e.writeText(lf(new Date(n))):e.writeText(n),e.closeNode()}),e.closeNode()}),e.closeNode())}parseOpen(e){switch(e.name){case`dataValidations`:return this.model={},!0;case`dataValidation`:{this._address=e.attributes.sqref;let t={type:e.attributes.type??`any`,formulae:[]};switch(e.attributes.type&&cx(t,e.attributes,`allowBlank`),cx(t,e.attributes,`showInputMessage`),cx(t,e.attributes,`showErrorMessage`),t.type){case`any`:case`list`:case`custom`:break;default:sx(t,e.attributes,`operator`,`between`);break}return sx(t,e.attributes,`promptTitle`),sx(t,e.attributes,`prompt`),sx(t,e.attributes,`errorStyle`),sx(t,e.attributes,`errorTitle`),sx(t,e.attributes,`error`),this._dataValidation=t,!0}case`formula1`:case`formula2`:return this._formula=[],!0;default:return!1}}parseText(e){this._formula&&this._formula.push(e)}parseClose(e){switch(e){case`dataValidations`:return!1;case`dataValidation`:return(!this._dataValidation.formulae||!this._dataValidation.formulae.length)&&(delete this._dataValidation.formulae,delete this._dataValidation.operator),this._address.split(/\s+/g).forEach(e=>{e.includes(`:`)?this.model[`range:${e}`]=this._dataValidation:this.model[e]=this._dataValidation}),!0;case`formula1`:case`formula2`:{let e=this._formula.join(``);switch(this._dataValidation.type){case`whole`:case`textLength`:e=parseInt(e,10);break;case`decimal`:e=parseFloat(e);break;case`date`:e=uf(parseFloat(e));break;default:break}return this._dataValidation.formulae.push(e),this._formula=void 0,!0}default:return!0}}}})),fx,px=t((()=>{j(),fx=class extends A{get tag(){return`drawing`}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes[`r:id`]},!0;default:return!1}}parseText(){}parseClose(){return!1}}}));function mx(e){let t={type:e.type,sparklines:e.sparklines};return e.lineWeight!==void 0&&(t.lineWeight=e.lineWeight),e.markers!==void 0&&(t.markers=e.markers),e.high!==void 0&&(t.high=e.high),e.low!==void 0&&(t.low=e.low),e.first!==void 0&&(t.first=e.first),e.last!==void 0&&(t.last=e.last),e.negative!==void 0&&(t.negative=e.negative),e.lineColor&&(t.colorSeries=hx(e.lineColor)),e.negativeColor&&(t.colorNegative=hx(e.negativeColor)),e.axisColor&&(t.colorAxis=hx(e.axisColor)),e.markerColor&&(t.colorMarkers=hx(e.markerColor)),e.highColor&&(t.colorHigh=hx(e.highColor)),e.lowColor&&(t.colorLow=hx(e.lowColor)),e.firstColor&&(t.colorFirst=hx(e.firstColor)),e.lastColor&&(t.colorLast=hx(e.lastColor)),e.minAxisType&&(t.minAxisType=e.minAxisType),e.maxAxisType&&(t.maxAxisType=e.maxAxisType),e.manualMin!==void 0&&(t.manualMin=e.manualMin),e.manualMax!==void 0&&(t.manualMax=e.manualMax),e.displayXAxis!==void 0&&(t.displayXAxis=e.displayXAxis),e.rightToLeft!==void 0&&(t.rightToLeft=e.rightToLeft),e.displayEmptyCellsAs&&(t.displayEmptyCellsAs=e.displayEmptyCellsAs),e.dateAxis&&(t.dateAxis=e.dateAxis),t}function hx(e){return{rgb:e.replace(/^#/,``).toUpperCase()}}function gx(e){if(!e||e.length===0)return``;let t=[];t.push(`<x14:sparklineGroups xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main">`);for(let n of e)t.push(_x(n));return t.push(`</x14:sparklineGroups>`),t.join(``)}function _x(e){let t=[];e.type!==void 0&&e.type!==`line`&&t.push(`type="${e.type}"`),e.lineWeight!==void 0&&t.push(`lineWeight="${e.lineWeight}"`),e.displayEmptyCellsAs&&t.push(`displayEmptyCellsAs="${e.displayEmptyCellsAs}"`),e.markers&&t.push(`markers="1"`),e.high&&t.push(`high="1"`),e.low&&t.push(`low="1"`),e.first&&t.push(`first="1"`),e.last&&t.push(`last="1"`),e.negative&&t.push(`negative="1"`),e.displayXAxis&&t.push(`displayXAxis="1"`),e.displayHidden&&t.push(`displayHidden="1"`),e.minAxisType&&e.minAxisType!==`individual`&&t.push(`minAxisType="${e.minAxisType}"`),e.maxAxisType&&e.maxAxisType!==`individual`&&t.push(`maxAxisType="${e.maxAxisType}"`),e.manualMin!==void 0&&t.push(`manualMin="${e.manualMin}"`),e.manualMax!==void 0&&t.push(`manualMax="${e.manualMax}"`),e.rightToLeft&&t.push(`rightToLeft="1"`);let n=[];n.push(`<x14:sparklineGroup${t.length>0?` ${t.join(` `)}`:``}>`),e.colorSeries&&n.push(`<x14:colorSeries ${vx(e.colorSeries)}/>`),e.colorNegative&&n.push(`<x14:colorNegative ${vx(e.colorNegative)}/>`),e.colorAxis&&n.push(`<x14:colorAxis ${vx(e.colorAxis)}/>`),e.colorMarkers&&n.push(`<x14:colorMarkers ${vx(e.colorMarkers)}/>`),e.colorFirst&&n.push(`<x14:colorFirst ${vx(e.colorFirst)}/>`),e.colorLast&&n.push(`<x14:colorLast ${vx(e.colorLast)}/>`),e.colorHigh&&n.push(`<x14:colorHigh ${vx(e.colorHigh)}/>`),e.colorLow&&n.push(`<x14:colorLow ${vx(e.colorLow)}/>`),e.dateAxis&&n.push(`<xm:f>${yx(e.dateAxis)}</xm:f>`),n.push(`<x14:sparklines>`);for(let t of e.sparklines)n.push(`<x14:sparkline>`),n.push(`<xm:f>${yx(t.dataRef)}</xm:f>`),n.push(`<xm:sqref>${yx(t.cellRef)}</xm:sqref>`),n.push(`</x14:sparkline>`);return n.push(`</x14:sparklines>`),n.push(`</x14:sparklineGroup>`),n.join(``)}function vx(e){let t=[];return e.rgb&&t.push(`rgb="${e.rgb}"`),e.theme!==void 0&&t.push(`theme="${e.theme}"`),e.tint!==void 0&&t.push(`tint="${e.tint}"`),e.auto&&t.push(`auto="1"`),t.join(` `)}function yx(e){return qd(e)}function bx(e){let t=[],n=/<x14:sparklineGroup\b([^>]*?)(?:\/>|>([\s\S]*?)<\/x14:sparklineGroup>)/g,r;for(;(r=n.exec(e))!==null;){let e=xx(r[1]??``,r[2]??``);t.push(e)}return t}function xx(e,t){let n={sparklines:[]},r=/(\w+)="([^"]*)"/g,i;for(;(i=r.exec(e))!==null;){let[,e,t]=i;switch(e){case`type`:n.type=t;break;case`lineWeight`:n.lineWeight=parseFloat(t);break;case`displayEmptyCellsAs`:n.displayEmptyCellsAs=t;break;case`markers`:n.markers=t===`1`;break;case`high`:n.high=t===`1`;break;case`low`:n.low=t===`1`;break;case`first`:n.first=t===`1`;break;case`last`:n.last=t===`1`;break;case`negative`:n.negative=t===`1`;break;case`displayXAxis`:n.displayXAxis=t===`1`;break;case`displayHidden`:n.displayHidden=t===`1`;break;case`minAxisType`:n.minAxisType=t;break;case`maxAxisType`:n.maxAxisType=t;break;case`manualMin`:n.manualMin=parseFloat(t);break;case`manualMax`:n.manualMax=parseFloat(t);break;case`rightToLeft`:n.rightToLeft=t===`1`;break}}for(let e of[`colorSeries`,`colorNegative`,`colorAxis`,`colorMarkers`,`colorFirst`,`colorLast`,`colorHigh`,`colorLow`]){let r=wx.get(e).exec(t);r&&(n[e]=Sx(r[1]))}let a=/<x14:sparkline>\s*<xm:f>([\s\S]*?)<\/xm:f>\s*<xm:sqref>([\s\S]*?)<\/xm:sqref>\s*<\/x14:sparkline>/g,o;for(;(o=a.exec(t))!==null;)n.sparklines.push({dataRef:Cx(o[1]),cellRef:Cx(o[2])});return n}function Sx(e){let t={},n=/(\w+)="([^"]*)"/g,r;for(;(r=n.exec(e))!==null;){let[,e,n]=r;switch(e){case`rgb`:t.rgb=n;break;case`theme`:t.theme=parseInt(n,10);break;case`tint`:t.tint=parseFloat(n);break;case`auto`:t.auto=n===`1`;break}}return t}function Cx(e){return e.replace(/&(?:amp|lt|gt|quot|apos);/g,e=>{switch(e){case`&amp;`:return`&`;case`&lt;`:return`<`;case`&gt;`:return`>`;case`&quot;`:return`"`;case`&apos;`:return`'`;default:return e}})}var wx,Tx=t((()=>{sf(),wx=new Map([[`colorSeries`,/<x14:colorSeries\b([^/]*)\/>/],[`colorNegative`,/<x14:colorNegative\b([^/]*)\/>/],[`colorAxis`,/<x14:colorAxis\b([^/]*)\/>/],[`colorMarkers`,/<x14:colorMarkers\b([^/]*)\/>/],[`colorFirst`,/<x14:colorFirst\b([^/]*)\/>/],[`colorLast`,/<x14:colorLast\b([^/]*)\/>/],[`colorHigh`,/<x14:colorHigh\b([^/]*)\/>/],[`colorLow`,/<x14:colorLow\b([^/]*)\/>/]])})),Ex=t((()=>{Tx()})),Dx,Ox=t((()=>{j(),Dx=class extends A{get tag(){return`xm:f`}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=``}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}})),kx,Ax=t((()=>{Ab(),Ox(),kx=class extends kb{constructor(){super(),this.map={"xm:f":this.fExtXform=new Dx}}get tag(){return`x14:cfvo`}render(e,t){e.openNode(this.tag,{type:t.type}),t.value!==void 0&&this.fExtXform.render(e,t.value),e.closeNode()}createNewModel(e){return{type:e.attributes.type}}onParserClose(e,t){switch(e){case`xm:f`:this.model.value=t.model?parseFloat(t.model):0;break}}}})),jx,Mx=t((()=>{j(),Ab(),Ax(),t_(),jx=class extends kb{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new kx,"x14:borderColor":this.borderColorXform=new e_(`x14:borderColor`),"x14:negativeBorderColor":this.negativeBorderColorXform=new e_(`x14:negativeBorderColor`),"x14:negativeFillColor":this.negativeFillColorXform=new e_(`x14:negativeFillColor`),"x14:axisColor":this.axisColorXform=new e_(`x14:axisColor`)}}static isExt(e){return!0}get tag(){return`x14:dataBar`}render(e,t){e.openNode(this.tag,{minLength:A.toIntAttribute(t.minLength,0,!0),maxLength:A.toIntAttribute(t.maxLength,100,!0),border:A.toBoolAttribute(t.border,!1),gradient:A.toBoolAttribute(t.gradient,!0),negativeBarColorSameAsPositive:A.toBoolAttribute(t.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:A.toBoolAttribute(t.negativeBarBorderColorSameAsPositive,!0),axisPosition:A.toAttribute(t.axisPosition,`auto`),direction:A.toAttribute(t.direction,`leftToRight`)}),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),this.borderColorXform.render(e,t.borderColor),this.negativeBorderColorXform.render(e,t.negativeBorderColor),this.negativeFillColorXform.render(e,t.negativeFillColor),this.axisColorXform.render(e,t.axisColor),e.closeNode()}createNewModel({attributes:e}){return{cfvo:[],minLength:A.toIntValue(e.minLength,0),maxLength:A.toIntValue(e.maxLength,100),border:A.toBoolValue(e.border,!1),gradient:A.toBoolValue(e.gradient,!0),negativeBarColorSameAsPositive:A.toBoolValue(e.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:A.toBoolValue(e.negativeBarBorderColorSameAsPositive,!0),axisPosition:A.toStringValue(e.axisPosition,`auto`),direction:A.toStringValue(e.direction,`leftToRight`)}}onParserClose(e,t){let[,n]=e.split(`:`);switch(n){case`cfvo`:this.model.cfvo.push(t.model);break;default:this.model[n]=t.model;break}}}})),Nx,Px=t((()=>{j(),Nx=class extends A{get tag(){return`x14:cfIcon`}render(e,t){e.leafNode(this.tag,{iconSet:t.iconSet,iconId:t.iconId})}parseOpen({attributes:e}){this.model={iconSet:e.iconSet,iconId:A.toIntValue(e.iconId)}}parseClose(e){return e!==this.tag}}})),Fx,Ix=t((()=>{j(),Ab(),Px(),Ax(),Fx=class extends kb{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new kx,"x14:cfIcon":this.cfIconXform=new Nx}}get tag(){return`x14:iconSet`}render(e,t){e.openNode(this.tag,{iconSet:A.toStringAttribute(t.iconSet),reverse:A.toBoolAttribute(t.reverse,!1),showValue:A.toBoolAttribute(t.showValue,!0),custom:A.toBoolAttribute(t.icons,!1)}),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),t.icons&&t.icons.forEach((t,n)=>{t.iconId=n,this.cfIconXform.render(e,t)}),e.closeNode()}createNewModel({attributes:e}){return{cfvo:[],iconSet:A.toStringValue(e.iconSet,`3TrafficLights`),reverse:A.toBoolValue(e.reverse,!1),showValue:A.toBoolValue(e.showValue,!0)}}onParserClose(e,t){let[,n]=e.split(`:`);switch(n){case`cfvo`:this.model.cfvo.push(t.model);break;case`cfIcon`:this.model.icons||(this.model.icons=[]),this.model.icons.push(t.model);break;default:this.model[n]=t.model;break}}}}));function Lx(e){return e.toString(16).padStart(2,`0`)}function Rx(e){e[6]=e[6]&15|64,e[8]=e[8]&63|128;let t=e;return Lx(t[0])+Lx(t[1])+Lx(t[2])+Lx(t[3])+`-`+Lx(t[4])+Lx(t[5])+`-`+Lx(t[6])+Lx(t[7])+`-`+Lx(t[8])+Lx(t[9])+`-`+Lx(t[10])+Lx(t[11])+Lx(t[12])+Lx(t[13])+Lx(t[14])+Lx(t[15])}function zx(){let e=globalThis.crypto;if(e?.randomUUID)return e.randomUUID();let t=new Uint8Array(16);if(e?.getRandomValues)return e.getRandomValues(t),Rx(t);for(let e=0;e<t.length;e++)t[e]=Math.floor(Math.random()*256);return Rx(t)}var Bx=t((()=>{})),Vx,Hx,Ux=t((()=>{j(),Ab(),Mx(),Ix(),Bx(),Vx={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},Hx=class e extends kb{constructor(){super(),this.map={"x14:dataBar":this.databarXform=new jx,"x14:iconSet":this.iconSetXform=new Fx}}get tag(){return`x14:cfRule`}static isExt(e){return e.type===`dataBar`?jx.isExt(e):!!(e.type===`iconSet`&&(e.custom||Vx[e.iconSet]))}static prepareRule(t){e.isExt(t)&&!t.x14Id&&(t.x14Id=`{${zx()}}`.toUpperCase())}prepare(t){e.prepareRule(t)}render(t,n){if(e.isExt(n))switch(n.type){case`dataBar`:this.renderDataBar(t,n);break;case`iconSet`:this.renderIconSet(t,n);break}}renderDataBar(e,t){e.openNode(this.tag,{type:`dataBar`,id:t.x14Id}),this.databarXform.render(e,t),e.closeNode()}renderIconSet(e,t){e.openNode(this.tag,{type:`iconSet`,priority:t.priority,id:t.x14Id??`{${zx()}}`}),this.iconSetXform.render(e,t),e.closeNode()}createNewModel({attributes:e}){return{type:e.type,x14Id:e.id,priority:A.toIntValue(e.priority)}}onParserClose(e,t){Object.assign(this.model,t.model)}}})),Wx,Gx=t((()=>{j(),Wx=class extends A{get tag(){return`xm:sqref`}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=``}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}})),Kx,qx=t((()=>{Ab(),Ux(),Gx(),Kx=class extends kb{constructor(){super(),this.map={"xm:sqref":this.sqRef=new Wx,"x14:cfRule":this.cfRule=new Hx}}get tag(){return`x14:conditionalFormatting`}prepare(e){e.rules.forEach(e=>{this.cfRule.prepare(e)})}render(e,t){t.rules.some(Hx.isExt)&&(e.openNode(this.tag,{"xmlns:xm":`http://schemas.microsoft.com/office/excel/2006/main`}),t.rules.filter(Hx.isExt).forEach(t=>this.cfRule.render(e,t)),this.sqRef.render(e,t.ref),e.closeNode())}createNewModel(){return{rules:[]}}onParserClose(e,t){switch(e){case`xm:sqref`:this.model.ref=t.model;break;case`x14:cfRule`:this.model.rules.push(t.model);break}}}})),Jx,Yx=t((()=>{Ab(),Ux(),qx(),Jx=class extends kb{constructor(){super(),this.map={"x14:conditionalFormatting":this.cfXform=new Kx}}get tag(){return`x14:conditionalFormattings`}hasContent(e){return e.hasExtContent===void 0&&(e.hasExtContent=e.some(e=>e.rules.some(Hx.isExt))),e.hasExtContent}prepare(e){e.forEach(e=>{this.cfXform.prepare(e)})}render(e,t){this.hasContent(t)&&(e.openNode(this.tag),t.forEach(t=>this.cfXform.render(e,t)),e.closeNode())}createNewModel(){return[]}onParserClose(e,t){this.model.push(t.model)}}})),Xx,Zx,Qx,$x=t((()=>{Ex(),Ab(),Yx(),Xx=class extends kb{constructor(){super(),this.map={"x14:conditionalFormattings":this.conditionalFormattings=new Jx}}get tag(){return`ext`}hasContent(e){return this.conditionalFormattings.hasContent(e.conditionalFormattings)}prepare(e){this.conditionalFormattings.prepare(e.conditionalFormattings)}render(e,t){e.openNode(`ext`,{uri:`{78C0D931-6437-407d-A8EE-F0AAD7539E65}`,"xmlns:x14":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`}),this.conditionalFormattings.render(e,t.conditionalFormattings),e.closeNode()}createNewModel(){return{}}onParserClose(e,t){this.model[e]=t.model}},Zx=class{constructor(){this._parsedModel=null}get tag(){return`ext`}hasContent(e){return Array.isArray(e)&&e.length>0}render(e,t){this.hasContent(t)&&(e.openNode(`ext`,{uri:`{05C60535-1F16-4fd2-B633-F4F36F0B64E0}`,"xmlns:x14":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`}),e.writeRaw(gx(t)),e.closeNode())}parse(e){return bx(e)}},Qx=class extends kb{constructor(){super(),this.sparklineExt=new Zx,this.map={ext:this.ext=new Xx}}get tag(){return`extLst`}prepare(e,t){this.ext.prepare(e)}hasContent(e){return this.ext.hasContent(e)||this.sparklineExt.hasContent(e?.sparklineGroups)}render(e,t){this.hasContent(t)&&(e.openNode(`extLst`),this.ext.hasContent(t)&&this.ext.render(e,t),this.sparklineExt.hasContent(t?.sparklineGroups)&&this.sparklineExt.render(e,t.sparklineGroups),e.closeNode())}createNewModel(){return{}}onParserClose(e,t){this.model[e]=t.model}}})),eS,tS=t((()=>{j(),eS=class extends A{get tag(){return`headerFooter`}render(e,t){if(!t)return;let n={},r=[];if(t.differentFirst&&(n.differentFirst=`1`),t.differentOddEven&&(n.differentOddEven=`1`),t.oddHeader&&typeof t.oddHeader==`string`&&r.push({name:`oddHeader`,text:t.oddHeader}),t.oddFooter&&typeof t.oddFooter==`string`&&r.push({name:`oddFooter`,text:t.oddFooter}),t.evenHeader&&typeof t.evenHeader==`string`&&r.push({name:`evenHeader`,text:t.evenHeader}),t.evenFooter&&typeof t.evenFooter==`string`&&r.push({name:`evenFooter`,text:t.evenFooter}),t.firstHeader&&typeof t.firstHeader==`string`&&r.push({name:`firstHeader`,text:t.firstHeader}),t.firstFooter&&typeof t.firstFooter==`string`&&r.push({name:`firstFooter`,text:t.firstFooter}),Object.keys(n).length>0||r.length>0){e.openNode(`headerFooter`,n);for(let t of r)e.leafNode(t.name,null,t.text);e.closeNode()}}parseOpen(e){switch(e.name){case`headerFooter`:return this.model={},e.attributes.differentFirst&&(this.model.differentFirst=parseInt(e.attributes.differentFirst,0)===1),e.attributes.differentOddEven&&(this.model.differentOddEven=parseInt(e.attributes.differentOddEven,0)===1),!0;case`oddHeader`:return this.currentNode=`oddHeader`,!0;case`oddFooter`:return this.currentNode=`oddFooter`,!0;case`evenHeader`:return this.currentNode=`evenHeader`,!0;case`evenFooter`:return this.currentNode=`evenFooter`,!0;case`firstHeader`:return this.currentNode=`firstHeader`,!0;case`firstFooter`:return this.currentNode=`firstFooter`,!0;default:return!1}}parseText(e){switch(this.currentNode){case`oddHeader`:this.model.oddHeader=(this.model.oddHeader??``)+e;break;case`oddFooter`:this.model.oddFooter=(this.model.oddFooter??``)+e;break;case`evenHeader`:this.model.evenHeader=(this.model.evenHeader??``)+e;break;case`evenFooter`:this.model.evenFooter=(this.model.evenFooter??``)+e;break;case`firstHeader`:this.model.firstHeader=(this.model.firstHeader??``)+e;break;case`firstFooter`:this.model.firstFooter=(this.model.firstFooter??``)+e;break;default:break}}parseClose(){switch(this.currentNode){case`oddHeader`:case`oddFooter`:case`evenHeader`:case`evenFooter`:case`firstHeader`:case`firstFooter`:return this.currentNode=void 0,!0;default:return!1}}}})),nS,rS,iS=t((()=>{j(),nS=[`numberStoredAsText`,`formula`,`formulaRange`,`unlockedFormula`,`emptyCellReference`,`listDataValidation`,`calculatedColumn`,`evalError`,`twoDigitTextYear`],rS=class extends A{get tag(){return`ignoredErrors`}render(e,t){if(!(!t||t.length===0)){e.openNode(`ignoredErrors`);for(let n of t){let t={sqref:n.ref};for(let e of nS)n[e]&&(t[e]=1);e.leafNode(`ignoredError`,t)}e.closeNode()}}parseOpen(e){switch(e.name){case`ignoredErrors`:return this.model=[],!0;case`ignoredError`:{let t={ref:e.attributes.sqref??``};for(let n of nS)(e.attributes[n]===`1`||e.attributes[n]===`true`)&&(t[n]=!0);return this.model.push(t),!0}default:return!0}}parseText(){}parseClose(e){switch(e){case`ignoredErrors`:return!1;default:return!0}}}})),aS,oS=t((()=>{j(),aS=class extends A{get tag(){return`pageMargins`}render(e,t){if(t){let n={left:t.left,right:t.right,top:t.top,bottom:t.bottom,header:t.header,footer:t.footer};Object.values(n).some(e=>e!==void 0)&&e.leafNode(this.tag,n)}}parseOpen(e){switch(e.name){case this.tag:return this.model={left:parseFloat(e.attributes.left||.7),right:parseFloat(e.attributes.right||.7),top:parseFloat(e.attributes.top||.75),bottom:parseFloat(e.attributes.bottom||.75),header:parseFloat(e.attributes.header||.3),footer:parseFloat(e.attributes.footer||.3)},!0;default:return!1}}parseText(){}parseClose(){return!1}}}));function sS(e){return e?`1`:void 0}function cS(e){switch(e){case`overThenDown`:return e;default:return}}function lS(e){switch(e){case`atEnd`:case`asDisplyed`:return e;default:return}}function uS(e){switch(e){case`dash`:case`blank`:case`NA`:return e;default:return}}function dS(e){return e===void 0?void 0:parseInt(e,10)}var fS,pS=t((()=>{j(),fS=class extends A{get tag(){return`pageSetup`}_dpiToXml(e){if(e!==void 0&&Number.isFinite(e)&&e!==4294967295)return e}render(e,t){if(t){let n={paperSize:t.paperSize,orientation:t.orientation,horizontalDpi:this._dpiToXml(t.horizontalDpi),verticalDpi:this._dpiToXml(t.verticalDpi),pageOrder:cS(t.pageOrder),blackAndWhite:sS(t.blackAndWhite),draft:sS(t.draft),cellComments:lS(t.cellComments),errors:uS(t.errors),scale:t.scale===100?void 0:t.scale,fitToWidth:t.fitToWidth===1?void 0:t.fitToWidth,fitToHeight:t.fitToHeight===1?void 0:t.fitToHeight,firstPageNumber:t.firstPageNumber,useFirstPageNumber:sS(!!t.firstPageNumber),usePrinterDefaults:sS(t.usePrinterDefaults),copies:t.copies};Object.values(n).some(e=>e!==void 0)&&e.leafNode(this.tag,n)}}parseOpen(e){switch(e.name){case this.tag:return this.model={paperSize:dS(e.attributes.paperSize),orientation:e.attributes.orientation??`portrait`,horizontalDpi:parseInt(e.attributes.horizontalDpi??`4294967295`,10),verticalDpi:parseInt(e.attributes.verticalDpi??`4294967295`,10),pageOrder:e.attributes.pageOrder??`downThenOver`,blackAndWhite:e.attributes.blackAndWhite===`1`,draft:e.attributes.draft===`1`,cellComments:e.attributes.cellComments??`None`,errors:e.attributes.errors??`displayed`,scale:parseInt(e.attributes.scale??`100`,10),fitToWidth:parseInt(e.attributes.fitToWidth??`1`,10),fitToHeight:parseInt(e.attributes.fitToHeight??`1`,10),firstPageNumber:parseInt(e.attributes.firstPageNumber??`1`,10),useFirstPageNumber:e.attributes.useFirstPageNumber===`1`,usePrinterDefaults:e.attributes.usePrinterDefaults===`1`,copies:parseInt(e.attributes.copies??`1`,10)},!0;default:return!1}}parseText(){}parseClose(){return!1}}})),mS,hS=t((()=>{j(),mS=class extends A{get tag(){return`picture`}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes[`r:id`]},!0;default:return!1}}parseText(){}parseClose(){return!1}}})),gS,_S=t((()=>{jg(),nx(),gS=class extends Ag{constructor(){super({tag:`rowBreaks`,count:!0,childXform:new tx})}render(e,t){if(t&&t.length){e.openNode(this.tag,this.$),e.addAttribute(this.$count,t.length),e.addAttribute(`manualBreakCount`,t.length);let{childXform:n}=this;for(let r of t)n.render(e,r);e.closeNode()}}}}));function vS(e){if(e==null)return 0;if(e instanceof String||typeof e==`string`)return 3;if(typeof e==`number`)return 2;if(typeof e==`boolean`)return 9;if(e instanceof Date)return 4;if(e.text&&e.hyperlink)return 5;if(e.formula)return 6;if(e.error)return 10;throw new Qi(typeof e,`Could not understand type of value`)}function yS(e){switch(e.type){case 6:return vS(e.result);default:return e.type}}function bS(e){if(e==null)return{text:``};if(typeof e==`string`)return{text:e};if(typeof e==`number`||typeof e==`boolean`)return{text:String(e)};if(typeof e==`object`){let t=e;if(Array.isArray(t.richText)){if(t.richText.length===0)return{text:``};let e=t.richText.map(e=>{let t=e,n={text:typeof t?.text==`string`?t.text:``};return t?.font!==null&&typeof t?.font==`object`&&(n.font=t.font),n});return{text:e.map(e=>e.text).join(``),richText:e}}if(typeof t.error==`string`)return{text:t.error}}return{text:String(e)}}var xS,SS=t((()=>{pu(),la(),pa(),j(),Vy(),Hf(),xS=class extends A{constructor(){super(),this.richTextXform=new By}get tag(){return`c`}prepare(e,t){let n=t.styles.addStyleModel(e.style||{},yS(e));switch(n&&(e.styleId=n),e.comment&&t.comments.push({...e.comment,ref:e.address}),e.type){case 3:case 8:t.sharedStrings&&(e.ssId=t.sharedStrings.add(e.value));break;case 4:t.date1904&&(e.date1904=!0);break;case 5:t.sharedStrings&&(Array.isArray(e.richText)&&e.richText.length>0?e.ssId=t.sharedStrings.add({richText:e.richText}):e.text!==void 0&&e.text!==null&&(e.ssId=t.sharedStrings.add(e.text))),t.hyperlinks.push({address:e.address,target:e.hyperlink,tooltip:e.tooltip});break;case 1:t.merges.add(e);break;case 6:if(t.date1904&&(e.date1904=!0),e.isDynamicArray&&(e.cm=1),e.hyperlink&&t.hyperlinks.push({address:e.address,target:e.hyperlink,tooltip:e.tooltip}),e.shareType===`shared`&&(e.si=t.siFormulae++),e.formula)t.formulae[e.address]=e;else if(e.sharedFormula){let n=t.formulae[e.sharedFormula];if(!n)throw new Ki(`Shared Formula master must exist above and or left of clone for cell ${e.address}`);n.si===void 0?(n.shareType=`shared`,n.si=t.siFormulae++,n.range=new fa(n.address,e.address)):n.range&&n.range.expandToAddress(e.address),e.si=n.si}break;default:break}}renderFormula(e,t){let n=null;switch(t.shareType){case`shared`:n={t:`shared`,ref:t.ref||t.range.range,si:t.si};break;case`array`:n={t:`array`,ref:t.ref};break;default:t.si!==void 0&&(n={t:`shared`,si:t.si});break}switch(vS(t.result)){case 0:e.leafNode(`f`,n,t.formula);break;case 3:e.addAttribute(`t`,`str`),e.leafNode(`f`,n,t.formula),e.leafNode(`v`,null,t.result);break;case 2:e.leafNode(`f`,n,t.formula),e.leafNode(`v`,null,t.result);break;case 9:e.addAttribute(`t`,`b`),e.leafNode(`f`,n,t.formula),e.leafNode(`v`,null,+!!t.result);break;case 10:e.addAttribute(`t`,`e`),e.leafNode(`f`,n,t.formula),e.leafNode(`v`,null,t.result.error);break;case 4:e.leafNode(`f`,n,t.formula),e.leafNode(`v`,null,lf(t.result,t.date1904));break;default:throw new Qi(String(vS(t.result)),`Could not understand type of value`)}}render(e,t){if(!(t.type===0&&!t.styleId)){switch(e.openNode(`c`),e.addAttribute(`r`,t.address),t.styleId&&e.addAttribute(`s`,t.styleId),t.cm&&e.addAttribute(`cm`,t.cm),t.type){case 0:break;case 2:e.leafNode(`v`,null,t.value);break;case 9:e.addAttribute(`t`,`b`),e.leafNode(`v`,null,t.value?`1`:`0`);break;case 12:e.addAttribute(`t`,`b`),e.leafNode(`v`,null,t.value?`1`:`0`);break;case 10:e.addAttribute(`t`,`e`),e.leafNode(`v`,null,t.value.error);break;case 3:case 8:t.ssId===void 0?t.value&&t.value.richText?(e.addAttribute(`t`,`inlineStr`),e.openNode(`is`),t.value.richText.forEach(t=>{this.richTextXform.render(e,t)}),e.closeNode(`is`)):(e.addAttribute(`t`,`str`),e.leafNode(`v`,null,t.value)):(e.addAttribute(`t`,`s`),e.leafNode(`v`,null,t.ssId));break;case 4:e.leafNode(`v`,null,lf(t.value,t.date1904));break;case 5:t.formula||t.sharedFormula?this.renderFormula(e,t):t.ssId===void 0?Array.isArray(t.richText)&&t.richText.length>0?(e.addAttribute(`t`,`inlineStr`),e.openNode(`is`),t.richText.forEach(t=>{this.richTextXform.render(e,t)}),e.closeNode(`is`)):(e.addAttribute(`t`,`str`),e.leafNode(`v`,null,t.text)):(e.addAttribute(`t`,`s`),e.leafNode(`v`,null,t.ssId));break;case 6:this.renderFormula(e,t);break;case 1:break;default:break}e.closeNode()}}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case`c`:return this.model={address:e.attributes.r},this.t=e.attributes.t,e.attributes.s&&(this.model.styleId=parseInt(e.attributes.s,10)),e.attributes.cm&&(this.model.cm=parseInt(e.attributes.cm,10)),!0;case`f`:return this.currentNode=`f`,this.model.si=e.attributes.si,this.model.shareType=e.attributes.t,this.model.ref=e.attributes.ref,!0;case`v`:return this.currentNode=`v`,!0;case`t`:return this.currentNode=`t`,!0;case`r`:return this.parser=this.richTextXform,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){if(this.parser){this.parser.parseText(e);return}switch(this.currentNode){case`f`:this.model.formula=this.model.formula?this.model.formula+e:e;break;case`v`:case`t`:this.model.value&&this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+e:e:this.model.value=this.model.value?this.model.value+e:e;break;default:break}}parseClose(e){switch(e){case`c`:{let{model:e}=this;if(e.formula||e.shareType)e.type=6,e.value&&=(this.t===`str`?e.result=e.value:this.t===`b`?e.result=parseInt(e.value,10)!==0:this.t===`e`?e.result={error:e.value}:e.result=parseFloat(e.value),void 0);else if(e.value!==void 0)switch(this.t){case`s`:e.type=3,e.value=parseInt(e.value,10);break;case`str`:e.type=3;break;case`inlineStr`:e.type=3,typeof e.value==`string`&&e.value.includes(`_x`)&&(e.value=ff(e.value));break;case`b`:e.type=9,e.value=parseInt(e.value,10)!==0;break;case`e`:e.type=10,e.value={error:e.value};break;case`d`:e.type=4,e.value=new Date(e.value);break;default:e.type=2,e.value=parseFloat(e.value);break}else e.styleId?e.type=0:e.type=1;return!1}case`f`:case`v`:case`is`:return this.currentNode=void 0,!0;case`t`:return this.parser?(this.parser.parseClose(e),!0):(this.currentNode=void 0,!0);case`r`:return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText??[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return this.parser?(this.parser.parseClose(e),!0):!1}}reconcile(e,t){let n=e.styleId!==void 0&&t.styles&&t.styles.getStyleModel(e.styleId);switch(n&&(e.style=n),e.styleId!==void 0&&(e.styleId=void 0),e.type){case 3:if(typeof e.value==`number`&&t.sharedStrings){let n=e.value;if(e.value=t.sharedStrings.getString(n),e.value===void 0)throw new Ki(`Invalid shared string index ${n} in cell ${e.address}: the xlsx file appears to be corrupted`)}e.value&&e.value.richText&&(e.type=8);break;case 2:n&&_f(n.numFmt)&&(e.type=4,e.value=uf(e.value,t.date1904));break;case 6:e.result!==void 0&&typeof e.result==`number`&&n&&_f(n.numFmt)&&(e.result=uf(e.result,t.date1904)),e.shareType===`shared`&&(e.ref?t.formulae[e.si]=e.address:(e.sharedFormula=t.formulae[e.si],delete e.shareType),delete e.si),e.cm&&(t.dynamicArrayCmIndices?t.dynamicArrayCmIndices.has(e.cm)&&(e.isDynamicArray=!0):t.hasDynamicArrayMetadata&&(e.isDynamicArray=!0)),delete e.cm;break;default:break}let r=t.hyperlinkMap[e.address];if(r){let t;e.type===6?t=e.result:(t=e.value,e.value=void 0);let n=bS(t);e.text=n.text,n.richText?e.richText=n.richText:delete e.richText,e.type=5,e.hyperlink=r}let i=t.commentsMap&&t.commentsMap[e.address];i&&(e.comment=i)}}})),CS,wS=t((()=>{la(),da(),j(),SS(),Hf(),CS=class extends A{constructor(e){super(),this.maxItems=e&&e.maxItems,this.map={c:new xS}}get tag(){return`row`}reset(){super.reset(),this.numRowsSeen=0,this.lastCellCol=0}prepare(e,t){let n=t.styles.addStyleModel(e.style);n&&(e.styleId=n);let r=this.map.c;e.cells.forEach(e=>{r.prepare(e,t)})}render(e,t,n){if(!t)return;e.openNode(`row`),e.addAttribute(`r`,t.number),t.height!=null&&t.height>0?(e.addAttribute(`ht`,t.height),t.customHeight!==!1&&e.addAttribute(`customHeight`,`1`)):t.height===0&&e.addAttribute(`ht`,1),t.hidden&&e.addAttribute(`hidden`,`1`),t.min>0&&t.max>0&&t.min<=t.max&&e.addAttribute(`spans`,`${t.min}:${t.max}`),t.styleId&&(e.addAttribute(`s`,t.styleId),e.addAttribute(`customFormat`,`1`)),t.dyDescent!==void 0&&e.addAttribute(`x14ac:dyDescent`,t.dyDescent),t.outlineLevel&&e.addAttribute(`outlineLevel`,t.outlineLevel),t.collapsed&&e.addAttribute(`collapsed`,`1`);let r=this.map.c;t.cells.forEach(t=>{r.render(e,t,n)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if(e.name===`row`){this.numRowsSeen+=1,this.lastCellCol=0;let t=e.attributes.spans,n,r;if(t){let e=t.indexOf(`:`);n=parseInt(t,10),r=e>-1?parseInt(t.substring(e+1),10):void 0}let i=e.attributes.r?parseInt(e.attributes.r,10):this.numRowsSeen,a=this.model={number:i,min:n,max:r,cells:[]};return e.attributes.s&&(a.styleId=parseInt(e.attributes.s,10)),vf(e.attributes.hidden)&&(a.hidden=!0),vf(e.attributes.bestFit)&&(a.bestFit=!0),e.attributes.ht&&(a.height=parseFloat(e.attributes.ht)),vf(e.attributes.customHeight)&&(a.customHeight=!0),e.attributes.outlineLevel&&(a.outlineLevel=parseInt(e.attributes.outlineLevel,10)),vf(e.attributes.collapsed)&&(a.collapsed=!0),e.attributes[`x14ac:dyDescent`]!==void 0&&(a.dyDescent=parseFloat(e.attributes[`x14ac:dyDescent`])),!0}return this.parser=this.map[e.name],this.parser?(this.parser.parseOpen(e),!0):!1}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){let e=this.parser.model;if(e.address?this.lastCellCol=E.decodeCol(e.address):(this.lastCellCol+=1,e.address=E.encodeAddress(this.model.number,this.lastCellCol)),this.model.cells.push(e),this.maxItems&&this.model.cells.length>this.maxItems)throw new ca(`column`,this.maxItems);this.parser=void 0}return!0}return!1}reconcile(e,t){e.style=e.styleId===void 0?{}:t.styles.getStyleModel(e.styleId),e.styleId!==void 0&&(e.styleId=void 0);let n=this.map.c;e.cells.forEach(e=>{n.reconcile(e,t)})}}})),TS,ES=t((()=>{j(),TS=class extends A{get tag(){return`sheetFormatPr`}render(e,t){if(t){let n={defaultRowHeight:t.defaultRowHeight,outlineLevelRow:t.outlineLevelRow||void 0,outlineLevelCol:t.outlineLevelCol||void 0,"x14ac:dyDescent":t.dyDescent!==void 0&&t.dyDescent!==0?t.dyDescent:void 0};t.defaultColWidth&&(n.defaultColWidth=t.defaultColWidth),t.customHeight&&(n.customHeight=`1`),Object.values(n).some(e=>e!==void 0)&&e.leafNode(`sheetFormatPr`,n)}}parseOpen(e){return e.name===`sheetFormatPr`?(this.model={defaultRowHeight:parseFloat(e.attributes.defaultRowHeight??`0`),dyDescent:e.attributes[`x14ac:dyDescent`]===void 0?void 0:parseFloat(e.attributes[`x14ac:dyDescent`]),outlineLevelRow:parseInt(e.attributes.outlineLevelRow??`0`,10),outlineLevelCol:parseInt(e.attributes.outlineLevelCol??`0`,10)},e.attributes.defaultColWidth&&(this.model.defaultColWidth=parseFloat(e.attributes.defaultColWidth)),e.attributes.customHeight===`1`&&(this.model.customHeight=!0),!0):!1}parseText(){}parseClose(){return!1}}})),DS,OS,kS=t((()=>{j(),DS=e=>e!==void 0,OS=class extends A{get tag(){return`outlinePr`}render(e,t){return t&&(DS(t.summaryBelow)||DS(t.summaryRight))?(e.leafNode(this.tag,{summaryBelow:DS(t.summaryBelow)?Number(t.summaryBelow):void 0,summaryRight:DS(t.summaryRight)?Number(t.summaryRight):void 0}),!0):!1}parseOpen(e){return e.name===this.tag?(this.model={summaryBelow:DS(e.attributes.summaryBelow)?!!Number(e.attributes.summaryBelow):void 0,summaryRight:DS(e.attributes.summaryRight)?!!Number(e.attributes.summaryRight):void 0},!0):!1}parseText(){}parseClose(){return!1}}})),AS,jS=t((()=>{j(),AS=class extends A{get tag(){return`pageSetUpPr`}render(e,t){return t&&t.fitToPage?(e.leafNode(this.tag,{fitToPage:t.fitToPage?`1`:void 0}),!0):!1}parseOpen(e){return e.name===this.tag?(this.model={fitToPage:e.attributes.fitToPage===`1`},!0):!1}parseText(){}parseClose(){return!1}}})),MS,NS=t((()=>{j(),kS(),jS(),t_(),MS=class extends A{constructor(){super(),this.map={tabColor:new e_(`tabColor`),pageSetUpPr:new AS,outlinePr:new OS}}get tag(){return`sheetPr`}render(e,t){if(!t)return;let n=!!t.tabColor,r=!!(t.pageSetup&&t.pageSetup.fitToPage),i=t.outlineProperties!==void 0&&t.outlineProperties!==null&&(t.outlineProperties.summaryBelow!==void 0||t.outlineProperties.summaryRight!==void 0);(n||r||i)&&(e.openNode(`sheetPr`),this.map.tabColor.render(e,t.tabColor),this.map.pageSetUpPr.render(e,t.pageSetup),this.map.outlinePr.render(e,t.outlineProperties),e.closeNode())}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag?(this.reset(),!0):this.map[e.name]?(this.parser=this.map[e.name],this.parser.parseOpen(e),!0):!1}parseText(e){return this.parser?(this.parser.parseText(e),!0):!1}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&&(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&&(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&&(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}}}));function PS(e,t){return e?t:void 0}function FS(e,t){return e===t?!0:void 0}var IS,LS=t((()=>{j(),IS=class extends A{get tag(){return`sheetProtection`}render(e,t){if(t){let n={sheet:PS(t.sheet,`1`),selectLockedCells:t.selectLockedCells===!1?`1`:void 0,selectUnlockedCells:t.selectUnlockedCells===!1?`1`:void 0,formatCells:PS(t.formatCells,`0`),formatColumns:PS(t.formatColumns,`0`),formatRows:PS(t.formatRows,`0`),insertColumns:PS(t.insertColumns,`0`),insertRows:PS(t.insertRows,`0`),insertHyperlinks:PS(t.insertHyperlinks,`0`),deleteColumns:PS(t.deleteColumns,`0`),deleteRows:PS(t.deleteRows,`0`),sort:PS(t.sort,`0`),autoFilter:PS(t.autoFilter,`0`),pivotTables:PS(t.pivotTables,`0`)};t.sheet&&(n.algorithmName=t.algorithmName,n.hashValue=t.hashValue,n.saltValue=t.saltValue,n.spinCount=t.spinCount,n.objects=PS(t.objects===!1,`1`),n.scenarios=PS(t.scenarios===!1,`1`)),Object.values(n).some(e=>e!==void 0)&&e.leafNode(this.tag,n)}}parseOpen(e){switch(e.name){case this.tag:return this.model={sheet:FS(e.attributes.sheet,`1`),objects:e.attributes.objects===`1`?!1:void 0,scenarios:e.attributes.scenarios===`1`?!1:void 0,selectLockedCells:e.attributes.selectLockedCells===`1`?!1:void 0,selectUnlockedCells:e.attributes.selectUnlockedCells===`1`?!1:void 0,formatCells:FS(e.attributes.formatCells,`0`),formatColumns:FS(e.attributes.formatColumns,`0`),formatRows:FS(e.attributes.formatRows,`0`),insertColumns:FS(e.attributes.insertColumns,`0`),insertRows:FS(e.attributes.insertRows,`0`),insertHyperlinks:FS(e.attributes.insertHyperlinks,`0`),deleteColumns:FS(e.attributes.deleteColumns,`0`),deleteRows:FS(e.attributes.deleteRows,`0`),sort:FS(e.attributes.sort,`0`),autoFilter:FS(e.attributes.autoFilter,`0`),pivotTables:FS(e.attributes.pivotTables,`0`)},e.attributes.algorithmName&&(this.model.algorithmName=e.attributes.algorithmName,this.model.hashValue=e.attributes.hashValue,this.model.saltValue=e.attributes.saltValue,this.model.spinCount=parseInt(e.attributes.spinCount,10)),!0;default:return!1}}parseText(){}parseClose(){return!1}}})),RS,zS,BS=t((()=>{da(),j(),RS={frozen:`frozen`,frozenSplit:`frozen`,split:`split`},zS=class extends A{get tag(){return`sheetView`}prepare(e){switch(e.state){case`frozen`:case`split`:break;default:e.state=`normal`;break}}render(e,t){let n={};t.tabSelected&&(n.tabSelected=`1`),n.workbookViewId=t.workbookViewId??0,e.openNode(`sheetView`,n);let r=function(t,n,r){r&&e.addAttribute(t,n)};r(`rightToLeft`,`1`,t.rightToLeft===!0),r(`showRuler`,`0`,t.showRuler===!1),r(`showRowColHeaders`,`0`,t.showRowColHeaders===!1),r(`showGridLines`,`0`,t.showGridLines===!1),r(`zoomScale`,t.zoomScale,t.zoomScale!==void 0&&t.zoomScale!==100),r(`zoomScaleNormal`,t.zoomScaleNormal,t.zoomScaleNormal!==void 0&&t.zoomScaleNormal!==100),r(`view`,t.style,t.style);let i,a,o,s;switch(t.state){case`frozen`:a=t.xSplit??0,o=t.ySplit??0,i=t.topLeftCell||E.getAddress(o+1,a+1).address,s=t.xSplit&&t.ySplit&&`bottomRight`||t.xSplit&&`topRight`||`bottomLeft`,e.leafNode(`pane`,{xSplit:t.xSplit||void 0,ySplit:t.ySplit||void 0,topLeftCell:i,activePane:s,state:`frozen`}),e.leafNode(`selection`,{pane:s,activeCell:t.activeCell,sqref:t.activeCell});break;case`split`:t.activePane===`topLeft`&&(t.activePane=void 0),e.leafNode(`pane`,{xSplit:t.xSplit||void 0,ySplit:t.ySplit||void 0,topLeftCell:t.topLeftCell,activePane:t.activePane}),e.leafNode(`selection`,{pane:t.activePane,activeCell:t.activeCell,sqref:t.activeCell});break;case`normal`:t.activeCell&&e.leafNode(`selection`,{activeCell:t.activeCell,sqref:t.activeCell});break;default:break}e.closeNode()}parseOpen(e){switch(e.name){case`sheetView`:return this.sheetView={workbookViewId:parseInt(e.attributes.workbookViewId,10),rightToLeft:e.attributes.rightToLeft===`1`,tabSelected:e.attributes.tabSelected===`1`,showRuler:e.attributes.showRuler!==`0`,showRowColHeaders:e.attributes.showRowColHeaders!==`0`,showGridLines:e.attributes.showGridLines!==`0`,zoomScale:parseInt(e.attributes.zoomScale??`100`,10),zoomScaleNormal:parseInt(e.attributes.zoomScaleNormal??`100`,10),style:e.attributes.view},this.pane=void 0,this.selections={},!0;case`pane`:return this.pane={xSplit:parseInt(e.attributes.xSplit??`0`,10),ySplit:parseInt(e.attributes.ySplit??`0`,10),topLeftCell:e.attributes.topLeftCell,activePane:e.attributes.activePane??`topLeft`,state:e.attributes.state},!0;case`selection`:{let t=e.attributes.pane??`topLeft`;return this.selections[t]={pane:t,activeCell:e.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose(e){let t,n;switch(e){case`sheetView`:return this.sheetView&&this.pane?(t=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,tabSelected:this.sheetView.tabSelected,state:RS[this.pane.state]??`split`,xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state===`split`&&(t.activePane=this.pane.activePane),n=this.selections[this.pane.activePane],n&&n.activeCell&&(t.activeCell=n.activeCell),this.sheetView.style&&(t.style=this.sheetView.style)):(t=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,tabSelected:this.sheetView.tabSelected,state:`normal`,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},n=this.selections.topLeft,n&&n.activeCell&&(t.activeCell=n.activeCell),this.sheetView.style&&(t.style=this.sheetView.style)),!1;default:return!0}}reconcile(){}}})),VS,HS,US,WS=t((()=>{Fy(),Bd(),Ly(),la(),pa(),Wp(),ib(),ub(),da(),mb(),_b(),ng(),Sb(),Eb(),mu(),jg(),Ob(),ex(),ix(),ox(),dx(),px(),$x(),tS(),sb(),iS(),oS(),pS(),hS(),_S(),wS(),ES(),NS(),LS(),BS(),VS=new wb,HS={dataValidations:new ux,sheetProperties:new MS,sheetFormatProperties:new TS,columns:new Ag({tag:`cols`,count:!1,childXform:new ax}),row:new CS,hyperlinks:new Ag({tag:`hyperlinks`,count:!1,childXform:new ob}),sheetViews:new Ag({tag:`sheetViews`,count:!1,childXform:new zS}),sheetProtection:new IS,pageMargins:new aS,pageSeteup:new fS,autoFilter:new Db,picture:new mS,drawing:new fx,conditionalFormattings:new $b,extLst:new Qx,ignoredErrors:new rS,headerFooter:new eS,rowBreaks:new gS,colBreaks:new rx},US=class{constructor(e){this.id=e.id,this.name=e.name||`Sheet${this.id}`,this.state=e.state??`visible`,this._rows=[],this._columns=[],this._keys={},this._merges=[],this._merges.add=function(){},this._sheetRelsWriter=new lb(e),this._sheetCommentsWriter=new rb(this,this._sheetRelsWriter,e),this._dimensions=new fa,this._rowZero=1,this._rowOffset=0,this.committed=!1,this.dataValidations=new Iy,this._formulae={},this._siFormulae=0,this.conditionalFormatting=[],this.ignoredErrors=[],this.rowBreaks=[],this.colBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,outlineLevelCol:0,outlineLevelRow:0},e.properties),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},e.headerFooter),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:`portrait`,horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!(e.pageSetup&&(e.pageSetup.fitToWidth||e.pageSetup.fitToHeight)&&!e.pageSetup.scale),pageOrder:`downThenOver`,blackAndWhite:!1,draft:!1,cellComments:`None`,errors:`displayed`,scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},e.pageSetup),this.useSharedStrings=e.useSharedStrings??!1,this._workbook=e.workbook,this.hasComments=!1,this._views=e.views??[],this.autoFilter=e.autoFilter??null,this._media=[],this._watermark=null,this.sheetProtection=null,this._writeOpenWorksheet(),this.startedData=!1}get workbook(){return this._workbook}get stream(){return this._stream||=this._workbook._openStream(bm(this.id)),this._stream}destroy(){throw new na(`destroy`,`Invalid operation for a streaming writer`)}commit(){if(!this.committed){for(let e=this._rowOffset;e<this._rows.length;e++){let t=this._rows[e];t&&this._writeRow(t)}this._rows=null,this.startedData||this._writeOpenSheetData(),this._writeCloseSheetData(),this._writeSheetProtection(),this._writeAutoFilter(),this._writeMergeCells(),this._writeHyperlinks(),this._writeConditionalFormatting(),this._writeDataValidations(),this._writePageMargins(),this._writePageSetup(),this._writeHeaderFooter(),this._writeRowBreaks(),this._writeColBreaks(),this._writeDrawing(),this._writeBackground(),this._writeLegacyData(),this._writeIgnoredErrors(),this._writeExtLst(),this._writeCloseWorksheet(),this.stream.end(),this._sheetCommentsWriter.commit(),this._sheetRelsWriter.commit(),this.committed=!0}}get dimensions(){return this._dimensions}get views(){return this._views}get columns(){return this._columns}set columns(e){this._headerRowCount=e.reduce((e,t)=>{let n=t.header&&1||t.headers&&t.headers.length||0;return Math.max(e,n)},0);let t=1,n=this._columns=[];e.forEach(e=>{let r=new zd(this,t++,!1);n.push(r),r.defn=e})}getColumnKey(e){return this._keys[e]}setColumnKey(e,t){this._keys[e]=t}deleteColumnKey(e){delete this._keys[e]}eachColumnKey(e){Object.keys(this._keys).forEach(t=>e(this._keys[t],t))}getColumn(e){if(typeof e==`string`){let t=this._keys[e];if(t)return t;e=E.l2n(e)}if(e>this._columns.length){let t=this._columns.length+1;for(;t<=e;)this._columns.push(new zd(this,t++))}return this._columns[e-1]}get _nextRow(){return this._rowZero+(this._rows.length-this._rowOffset)}eachRow(e,t){let n,r;if(typeof e==`function`?(n=e,r=void 0):(n=t,r=e),r&&r.includeEmpty){let e=this._nextRow;for(let t=this._rowZero;t<e;t++)n(this.getRow(t),t)}else this._rows.forEach(e=>{e&&e.hasValues&&n(e,e.number)})}_commitRow(e){let t=!1,n=this._rows;for(;this._rowOffset<n.length&&!t;){let r=n[this._rowOffset];n[this._rowOffset]=void 0,this._rowOffset++,this._rowZero++,r&&(this._writeRow(r),t=r.number===e.number,this._rowZero=r.number+1),this._rowOffset>1024&&this._rowOffset>n.length>>1&&(n.splice(0,this._rowOffset),this._rowOffset=0)}}get lastRow(){let e=this._rows;for(let t=e.length-1;t>=this._rowOffset;t--){let n=e[t];if(n)return n}}findRow(e){let t=e-this._rowZero+this._rowOffset;return this._rows[t]}getRow(e){let t=e-this._rowZero+this._rowOffset;if(t<this._rowOffset)throw new Xi(e,`this row has been committed`);let n=this._rows[t];return n||(this._rows[t]=n=new Up(this,e)),n}addRow(e){let t=new Up(this,this._nextRow);return this._rows[t.number-this._rowZero+this._rowOffset]=t,t.values=e,t}addRows(e){return e.map(e=>this.addRow(e))}findCell(e,t){let n=E.getAddress(e,t),r=this.findRow(n.row);return r?r.findCell(n.col):void 0}getCell(e,t){let n=E.getAddress(e,t);return this.getRow(n.row).getCellEx(n)}mergeCells(...e){let t=new fa(e);this._merges.forEach(e=>{if(e.intersects(t))throw new Zi});let{top:n,left:r,bottom:i,right:a}=t,o=hb(n,r,i,a,(e,t)=>this.findCell(e,t)),s=this.getCell(n,r);for(let e=n;e<=i;e++)for(let t=r;t<=a;t++)(e>n||t>r)&&this.getCell(e,t).merge(s);o&&gb(n,r,i,a,o,(e,t)=>this.getCell(e,t)),this._merges.push(t)}addConditionalFormatting(e){this.conditionalFormatting.push(e)}removeConditionalFormatting(e){typeof e==`number`?this.conditionalFormatting.splice(e,1):typeof e==`function`?this.conditionalFormatting=this.conditionalFormatting.filter(t=>!e(t)):this.conditionalFormatting=[]}addBackgroundImage(e){this._background={imageId:Number(e)}}getBackgroundImageId(){return this._background&&this._background.imageId}addImage(e,t){let n=this._parseImageRange(String(e),t);this._media.push(n)}getImages(){return this._media}addWatermark(e){this._media=this._media.filter(e=>e._watermarkTag!==!0);let t=e.opacity===void 0?.15:Math.max(0,Math.min(1,e.opacity));if(this._watermark={imageId:String(e.imageId),mode:e.mode??`overlay`,opacity:t,headerWidth:e.headerWidth,headerHeight:e.headerHeight,applyTo:e.applyTo},this._watermark.mode===`overlay`){let n={type:`image`,imageId:String(e.imageId),range:{tl:{nativeCol:0,nativeColOff:0,nativeRow:0,nativeRowOff:0},br:{nativeCol:100,nativeColOff:0,nativeRow:200,nativeRowOff:0},editAs:`absolute`},_watermarkTag:!0,opacity:t};this._media.push(n)}}getWatermark(){return this._watermark}removeWatermark(){this._watermark=null,this._media=this._media.filter(e=>e._watermarkTag!==!0)}_parseImageRange(e,t){if(typeof t==`string`){let n=E.decode(t);if(`top`in n)return{type:`image`,imageId:e,range:{tl:new Py(this,{col:n.left,row:n.top},-1).model,br:new Py(this,{col:n.right,row:n.bottom},0).model,editAs:`oneCell`}};throw Error(`Invalid image range: "${t}". Expected a range like "A1:C3".`)}if(`pos`in t&&t.pos)return{type:`image`,imageId:e,range:{tl:{nativeCol:0,nativeColOff:0,nativeRow:0,nativeRowOff:0},ext:t.ext,pos:t.pos},hyperlinks:t.hyperlinks};let n=t;return{type:`image`,imageId:e,range:{tl:new Py(this,n.tl,0).model,br:n.br?new Py(this,n.br,0).model:void 0,ext:n.ext,editAs:n.editAs},hyperlinks:n.hyperlinks}}async protect(e,t){this.sheetProtection={sheet:!0},this.sheetProtection=await xb(e,t)}unprotect(){this.sheetProtection=null}_write(e){VS.reset(),VS.addText(e),this.stream.write(VS)}_writeSheetProperties(e,t,n){let r={outlineProperties:t&&t.outlineProperties,tabColor:t&&t.tabColor,pageSetup:n&&n.fitToPage?{fitToPage:n.fitToPage}:void 0};e.addText(HS.sheetProperties.toXml(r))}_writeSheetFormatProperties(e,t){let n=t?{defaultRowHeight:t.defaultRowHeight,dyDescent:t.dyDescent,outlineLevelCol:t.outlineLevelCol,outlineLevelRow:t.outlineLevelRow}:void 0;t&&t.defaultColWidth&&(n.defaultColWidth=t.defaultColWidth),e.addText(HS.sheetFormatProperties.toXml(n))}_writeOpenWorksheet(){VS.reset(),VS.addText(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>`),VS.addText(`<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">`),this._writeSheetProperties(VS,this.properties,this.pageSetup),VS.addText(HS.sheetViews.toXml(this.views)),this._writeSheetFormatProperties(VS,this.properties),this.stream.write(VS)}_writeColumns(){let e=zd.toModel(this.columns);e&&(HS.columns.prepare(e,{styles:this._workbook.styles}),this.stream.write(HS.columns.toXml(e)))}_writeOpenSheetData(){this._write(`<sheetData>`)}_writeRow(e){if(this.startedData||=(this._writeColumns(),this._writeOpenSheetData(),!0),e.hasValues||e.height!=null){let{model:t}=e;if(!t)return;let n={styles:this._workbook.styles,sharedStrings:this.useSharedStrings?this._workbook.sharedStrings:void 0,hyperlinks:this._sheetRelsWriter.hyperlinksProxy,merges:this._merges,formulae:this._formulae,siFormulae:this._siFormulae,comments:[]};if(HS.row.prepare(t,n),this.stream.write(HS.row.toXml(t)),t.cells)for(let e of t.cells)e&&e.isDynamicArray&&this._workbook.dynamicArrayCount++;n.comments.length&&(this.hasComments=!0,this._sheetCommentsWriter.addComments(n.comments))}}_writeCloseSheetData(){this._write(`</sheetData>`)}_writeMergeCells(){this._merges.length&&(VS.reset(),VS.addText(`<mergeCells count="${this._merges.length}">`),this._merges.forEach(e=>{VS.addText(`<mergeCell ref="${e}"/>`)}),VS.addText(`</mergeCells>`),this.stream.write(VS))}_writeHyperlinks(){this.stream.write(HS.hyperlinks.toXml(this._sheetRelsWriter._hyperlinks))}_writeConditionalFormatting(){let e={styles:this._workbook.styles};HS.conditionalFormattings.prepare(this.conditionalFormatting,e);let t={conditionalFormattings:this.conditionalFormatting};HS.extLst.prepare(t),this.stream.write(HS.conditionalFormattings.toXml(this.conditionalFormatting))}_writeExtLst(){let e={conditionalFormattings:this.conditionalFormatting};this.stream.write(HS.extLst.toXml(e))}_writeIgnoredErrors(){this.ignoredErrors.length>0&&this.stream.write(HS.ignoredErrors.toXml(this.ignoredErrors))}_writeRowBreaks(){this.stream.write(HS.rowBreaks.toXml(this.rowBreaks))}_writeColBreaks(){this.stream.write(HS.colBreaks.toXml(this.colBreaks))}_writeDataValidations(){this.stream.write(HS.dataValidations.toXml(this.dataValidations.model))}_writeSheetProtection(){this.stream.write(HS.sheetProtection.toXml(this.sheetProtection))}_writePageMargins(){this.stream.write(HS.pageMargins.toXml(this.pageSetup.margins))}_writePageSetup(){this.stream.write(HS.pageSeteup.toXml(this.pageSetup))}_writeHeaderFooter(){this.stream.write(HS.headerFooter.toXml(this.headerFooter))}_writeAutoFilter(){this.stream.write(HS.autoFilter.toXml(this.autoFilter))}_writeDrawing(){if(this._media.length===0)return;for(let e of this._media)if(e._watermarkTag){let t=this._dimensions.model,n=t?Math.max(t.right??100,100):100,r=t?Math.max(t.bottom??200,200):200;e.range.br={nativeCol:n,nativeColOff:0,nativeRow:r,nativeRowOff:0}}let e=`drawing${this.id}`,t=this._sheetRelsWriter.addRelationship({Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,Target:Km(e)}),{anchors:n,rels:r}=fb(this._media,[],{getBookImage:e=>this._workbook.getImage(Number(e)),nextRId:e=>`rId${e.length+1}`});this._drawing={rId:t,name:e,anchors:n,rels:r},this.stream.write(HS.drawing.toXml({rId:t}))}get drawing(){return this._drawing}_writeBackground(){if(this._background){if(this._background.imageId!==void 0){let e=this._workbook.getImage(this._background.imageId);if(!e)return;let t=this._sheetRelsWriter.addMedia({Target:Ym(e.name),Type:D.Image});this._background={...this._background,rId:t}}this.stream.write(HS.picture.toXml({rId:this._background.rId}))}}_writeLegacyData(){this.hasComments&&(VS.reset(),VS.addText(`<legacyDrawing r:id="${this._sheetCommentsWriter.vmlRelId}"/>`),this.stream.write(VS))}_writeDimensions(){}_writeCloseWorksheet(){this._write(`</worksheet>`)}}}));function GS(e){if(typeof e!=`object`||!e)return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(GS).join(`,`)}]`;let t=Object.keys(e).sort(),n=e;return`{${t.map(e=>`${JSON.stringify(e)}:${GS(n[e])}`).join(`,`)}}`}var KS,qS=t((()=>{KS=class{constructor(){this._values=[],this._totalRefs=0,this._hash=Object.create(null)}get count(){return this._values.length}get values(){return this._values}get totalRefs(){return this._totalRefs}getString(e){return this._values[e]}add(e){let t=typeof e==`string`?`s:${e}`:`r:${GS(e.richText)}`,n=this._hash[t];return n===void 0&&(n=this._hash[t]=this._values.length,this._values.push(e)),this._totalRefs++,n}}}));function JS(e){if(e.length===0)return new Uint8Array;if(e.length===1)return e[0];let t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}var YS,XS,ZS,QS,$S,eC,tC,nC=t((()=>{la(),Eb(),lr(),Sr(),YS=new TextEncoder,XS=class{constructor(e){this._data=e}get length(){return this.toBuffer().length}copy(e,t,n,r){let i=this.toBuffer(),a=Math.min(r,i.length-n);return e.set(i.subarray(n,n+a),t),a}toBuffer(){return this._buffer||=YS.encode(this._data),this._buffer}},ZS=class{constructor(e){this._data=e}get length(){return this._data.length}copy(e,t,n,r){let i=this.toBuffer(),a=Math.min(r,i.length-n);return e.set(i.subarray(n,n+a),t),a}toBuffer(){return this._data.toBuffer()}},QS=class{constructor(e){this._data=e}get length(){return this._data.length}copy(e,t,n,r){let i=Math.min(r,this._data.length-n);return e.set(this._data.subarray(n,n+i),t),i}toBuffer(){return this._data}},$S=class{constructor(e){this.size=e,this.buffer=new Uint8Array(e),this.iRead=0,this.iWrite=0}toBuffer(){return this.iRead===0&&this.iWrite===this.size?this.buffer:this.buffer.subarray(this.iRead,this.iWrite)}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read(e){if(e===0)return null;if(e===void 0||e>=this.length){let e=this.toBuffer();return this.iRead=this.iWrite,e}let t=this.buffer.subarray(this.iRead,this.iRead+e);return this.iRead+=e,t}write(e,t,n){let r=Math.min(n,this.size-this.iWrite);return e.copy(this.buffer,this.iWrite,t,r),this.iWrite+=r,r}},eC=()=>{},tC=class extends xr{constructor(e){super(),this._writableStreamWriter=null,this._asyncWriteQueue=Promise.resolve(),this.bufSize=e?.bufSize||1024*1024,this.buffers=[],this.batch=e?.batch??!1,this.corked=!1,this.paused=!1,this.encoding=null,this.pipes=[],this._ended=!1}get writable(){return!this._ended}toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:{let e=this.buffers.reduce((e,t)=>e+t.length,0),t=new Uint8Array(e),n=0;for(let e of this.buffers){let r=e.toBuffer();t.set(r,n),n+=r.length}return t}}}_getWritableBuffer(){if(this.buffers.length){let e=this.buffers[this.buffers.length-1];if(!e.full)return e}let e=new $S(this.bufSize);return this.buffers.push(e),e}async _pipeChunk(e){let t=this.pipes.map(t=>new Promise(n=>{t.write(e.toBuffer(),()=>n())}));await Promise.all(t)}_writeToBuffers(e){let t=0,n=e.length;for(;t<n;){let r=this._getWritableBuffer();t+=r.write(e,t,n-t)}}async write(e,t,n){typeof t==`function`&&(n=t),n||=eC;let r;if(e instanceof wb||e&&e.constructor?.name===`StringBuf`)r=new ZS(e);else if(e instanceof Uint8Array)r=new QS(e);else if(ArrayBuffer.isView(e))r=new QS(new Uint8Array(e.buffer,e.byteOffset,e.byteLength));else if(e instanceof ArrayBuffer)r=new QS(new Uint8Array(e));else if(typeof e==`string`)r=new XS(e);else throw new Qi(typeof e,`Chunk must be one of type String, Uint8Array, ArrayBuffer or StringBuf.`);if(this.pipes.length)if(this.batch)for(this._writeToBuffers(r);!this.corked&&this.buffers.length>1;){let e=this.buffers.shift();await this._pipeChunk(new QS(e.toBuffer()))}else this.corked?(this._writeToBuffers(r),queueMicrotask(()=>n())):(await this._pipeChunk(r),n());else{let e=r.toBuffer(),t=!1;!this.paused&&this.listenerCount(`data`)>0&&(this.emit(`data`,e),t=!0),this._writableStreamWriter&&(this._asyncWriteQueue=this._asyncWriteQueue.then(()=>this._writableStreamWriter.write(e)),t=!0),t||(this._writeToBuffers(r),this.emit(`readable`)),n()}return!0}cork(){this.corked=!0}_flush(){this.pipes.length&&(async()=>{for(;this.buffers.length;){let e=this.buffers.shift();await this._pipeChunk(new QS(e.toBuffer()))}})().catch(e=>this.emit(`error`,e))}uncork(){this.corked=!1,this._flush()}end(e,t,n){let r=e=>{if(e){n?.(e);return}this._ended=!0,this._flush(),this.pipes.forEach(e=>{typeof e.end==`function`&&e.end()}),this._writableStreamWriter?this._asyncWriteQueue.then(()=>this._writableStreamWriter.close()).then(()=>{this.emit(`finish`),this.emit(`close`)}).catch(e=>{this.emit(`error`,e)}):(this.emit(`finish`),this.emit(`close`))};e?this.write(e,t,r):r()}read(e){if(e){let t=[],n=e;for(;n&&this.buffers.length&&!this.buffers[0].eod;){let e=this.buffers[0],r=e.read(n);r&&(n-=r.length,t.push(r)),e.eod&&e.full&&this.buffers.shift()}return $n(JS(t))}let t=this.buffers.map(e=>e.toBuffer()).filter(Boolean);return this.buffers=[],$n(JS(t))}readString(e){let t=e??this.encoding??`utf-8`,n=this.read();return Hn(t).decode(n)}setEncoding(e){this.encoding=e}pause(){this.paused=!0}resume(){this.paused=!1}isPaused(){return this.paused}pipe(e){return this.pipes.push(e),!this.paused&&this.buffers.length&&this.end(),e}pipeTo(e){this._writableStreamWriter=e.getWriter()}unpipe(e){this.pipes=this.pipes.filter(t=>t!==e)}unshift(){throw new ea(`unshift`,`Not implemented`)}wrap(){throw new ea(`wrap`,`Not implemented`)}push(e){return e!==null&&this.write(e),!0}}}));async function rC(e,t){let n={lockStructure:t?.lockStructure??!0,lockWindows:t?.lockWindows,lockRevision:t?.lockRevision};return e&&(n.algorithmName=`SHA-512`,n.saltValue=wf(yb.randomBytes(16)),n.spinCount=t?.spinCount!=null&&Number.isFinite(t.spinCount)?Math.round(Math.max(0,t.spinCount)):1e5,n.hashValue=await yb.convertPasswordToHash(e,`SHA-512`,n.saltValue,n.spinCount)),n}var iC=t((()=>{bb(),Hf()})),aC,oC=t((()=>{j(),aC=class extends A{render(e,t){e.openNode(`HeadingPairs`),e.openNode(`vt:vector`,{size:2,baseType:`variant`}),e.openNode(`vt:variant`),e.leafNode(`vt:lpstr`,void 0,`Worksheets`),e.closeNode(),e.openNode(`vt:variant`),e.leafNode(`vt:i4`,void 0,t.length),e.closeNode(),e.closeNode(),e.closeNode()}parseOpen(e){return e.name===`HeadingPairs`}parseText(){}parseClose(e){return e!==`HeadingPairs`}}})),sC,cC=t((()=>{j(),sC=class extends A{render(e,t){e.openNode(`TitlesOfParts`),e.openNode(`vt:vector`,{size:t.length,baseType:`lpstr`}),t.forEach(t=>{e.leafNode(`vt:lpstr`,void 0,t.name)}),e.closeNode(),e.closeNode()}parseOpen(e){return e.name===`TitlesOfParts`}parseText(){}parseClose(e){return e!==`TitlesOfParts`}}})),lC,uC=t((()=>{j(),oC(),cC(),b_(),ag(),lC=class e extends A{constructor(){super(),this.map={Company:new y_({tag:`Company`}),Manager:new y_({tag:`Manager`}),HeadingPairs:new aC,TitlesOfParts:new sC}}render(t,n){t.openXml(of),t.openNode(`Properties`,e.PROPERTY_ATTRIBUTES),t.leafNode(`Application`,void 0,`Microsoft Excel`),t.leafNode(`DocSecurity`,void 0,`0`),t.leafNode(`ScaleCrop`,void 0,`false`),this.map.HeadingPairs.render(t,n.worksheets),this.map.TitlesOfParts.render(t,n.worksheets),this.map.Company.render(t,n.company??``),this.map.Manager.render(t,n.manager),t.leafNode(`LinksUpToDate`,void 0,`false`),t.leafNode(`SharedDoc`,void 0,`false`),t.leafNode(`HyperlinksChanged`,void 0,`false`),t.leafNode(`AppVersion`,void 0,`16.0300`),t.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case`Properties`:return!0;default:return this.parser=this.map[e.name],this.parser?(this.parser.parseOpen(e),!0):!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case`Properties`:return this.model={worksheets:this.map.TitlesOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}static{this.DateFormat=function(e){return e.toISOString().replace(/[.]\d{3,6}/,``)}}static{this.DateAttrs={"xsi:type":`dcterms:W3CDTF`}}static{this.PROPERTY_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/officeDocument/2006/extended-properties`,"xmlns:vt":`http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes`}}}})),dC,fC=t((()=>{ng(),j(),ag(),dC=class e extends A{render(t,n){t.openXml(of),t.openNode(`Types`,e.PROPERTY_ATTRIBUTES);let r={};if((n.media??[]).forEach(e=>{if(e.type===`image`){let n=e.extension;r[n]||(r[n]=!0,t.leafNode(`Default`,{Extension:n,ContentType:`image/${n}`}))}}),t.leafNode(`Default`,{Extension:`rels`,ContentType:`application/vnd.openxmlformats-package.relationships+xml`}),t.leafNode(`Default`,{Extension:`xml`,ContentType:`application/xml`}),t.leafNode(`Override`,{PartName:_m(k.xlWorkbook),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml`}),n.worksheets.forEach(e=>{t.leafNode(`Override`,{PartName:_m(bm(e.fileIndex)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml`})}),n.chartsheets&&n.chartsheets.forEach(e=>{t.leafNode(`Override`,{PartName:_m(Th(e.sheetNo)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml`})}),(n.pivotTables??[]).length){let e=new Set;(n.pivotTables??[]).forEach(n=>{let r=n.tableNumber,i=n.cacheId;e.has(i)||(e.add(i),t.leafNode(`Override`,{PartName:_m(jm(r)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml`}),(!n.isLoaded||n.cacheRecords)&&t.leafNode(`Override`,{PartName:_m(Nm(r)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml`})),t.leafNode(`Override`,{PartName:_m(Fm(r)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml`})})}if(t.leafNode(`Override`,{PartName:_m(k.xlTheme1),ContentType:`application/vnd.openxmlformats-officedocument.theme+xml`}),t.leafNode(`Override`,{PartName:_m(k.xlStyles),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml`}),n.externalLinks&&n.externalLinks.length>0)for(let e of n.externalLinks)t.leafNode(`Override`,{PartName:_m(Rm(e.index)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml`});if(n.hasCheckboxes&&t.leafNode(`Override`,{PartName:_m(k.xlFeaturePropertyBag),ContentType:`application/vnd.ms-excel.featurepropertybag+xml`}),n.hasDynamicArrayFormulas&&t.leafNode(`Override`,{PartName:_m(k.xlMetadata),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml`}),n.sharedStrings&&n.sharedStrings.count&&t.leafNode(`Override`,{PartName:_m(k.xlSharedStrings),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml`}),n.tables&&n.tables.forEach(e=>{t.leafNode(`Override`,{PartName:_m(Om(e.target)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml`})}),n.drawings&&n.drawings.forEach(e=>{t.leafNode(`Override`,{PartName:_m(km(e.name)),ContentType:`application/vnd.openxmlformats-officedocument.drawing+xml`})}),n.chartEntries)for(let[e,r]of Object.entries(n.chartEntries))t.leafNode(`Override`,{PartName:_m(rh(e)),ContentType:`application/vnd.openxmlformats-officedocument.drawingml.chart+xml`}),r?.userShapesXml&&t.leafNode(`Override`,{PartName:_m(uh(e)),ContentType:`application/vnd.openxmlformats-officedocument.drawing+xml`});let i=new Set;if(n.chartExEntries)for(let e of Object.keys(n.chartExEntries)){let n=_m(vh(e));i.has(n)||(i.add(n),t.leafNode(`Override`,{PartName:n,ContentType:`application/vnd.ms-office.chartex+xml`}))}if(n.chartExStructuredEntries)for(let e of Object.keys(n.chartExStructuredEntries)){let n=_m(vh(e));i.has(n)||(i.add(n),t.leafNode(`Override`,{PartName:n,ContentType:`application/vnd.ms-office.chartex+xml`}))}if(n.chartStyles)for(let e of Object.keys(n.chartStyles))t.leafNode(`Override`,{PartName:_m(ah(e)),ContentType:`application/vnd.ms-office.chartstyle+xml`});if(n.chartColors)for(let e of Object.keys(n.chartColors))t.leafNode(`Override`,{PartName:_m(oh(e)),ContentType:`application/vnd.ms-office.chartcolorstyle+xml`});if(n.chartExStyles)for(let e of Object.keys(n.chartExStyles))t.leafNode(`Override`,{PartName:_m(sh(e)),ContentType:`application/vnd.ms-office.chartstyle+xml`});if(n.chartExColors)for(let e of Object.keys(n.chartExColors))t.leafNode(`Override`,{PartName:_m(ch(e)),ContentType:`application/vnd.ms-office.chartcolorstyle+xml`});let a=n.commentRefs&&n.commentRefs.length>0,o=n.formControlRefs&&n.formControlRefs.length>0,s=n.hasHeaderWatermark===!0,c=n.hasChartsheetVml===!0;if((a||o||s||c)&&t.leafNode(`Default`,{Extension:`vml`,ContentType:`application/vnd.openxmlformats-officedocument.vmlDrawing`}),a&&n.commentRefs.forEach(({commentName:e})=>{t.leafNode(`Override`,{PartName:_m(wm(e)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml`})}),o)for(let e of n.formControlRefs)t.leafNode(`Override`,{PartName:_m(Xm(e)),ContentType:`application/vnd.ms-excel.controlproperties+xml`});let l=n.threadedCommentSheetIds??[];for(let e of l)t.leafNode(`Override`,{PartName:_m(`xl/threadedComments/threadedComment${e}.xml`),ContentType:`application/vnd.ms-excel.threadedcomments+xml`});n.hasPersons&&t.leafNode(`Override`,{PartName:_m(`xl/persons/person.xml`),ContentType:`application/vnd.ms-excel.person+xml`});for(let e of n.slicerPartPaths??[])t.leafNode(`Override`,{PartName:_m(e),ContentType:`application/vnd.ms-excel.slicer+xml`});for(let e of n.slicerCachePartPaths??[])t.leafNode(`Override`,{PartName:_m(e),ContentType:`application/vnd.ms-excel.slicerCache+xml`});for(let e of n.timelinePartPaths??[])t.leafNode(`Override`,{PartName:_m(e),ContentType:`application/vnd.ms-excel.timeline+xml`});for(let e of n.timelineCachePartPaths??[])t.leafNode(`Override`,{PartName:_m(e),ContentType:`application/vnd.ms-excel.timelineCache+xml`});t.leafNode(`Override`,{PartName:_m(k.docPropsCore),ContentType:`application/vnd.openxmlformats-package.core-properties+xml`}),t.leafNode(`Override`,{PartName:_m(k.docPropsApp),ContentType:`application/vnd.openxmlformats-officedocument.extended-properties+xml`}),t.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}static{this.PROPERTY_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/package/2006/content-types`}}}})),pC,mC=t((()=>{j(),pC=class extends A{constructor(e){super(),this.tag=e.tag,this.attr=e.attr,this.attrs=e.attrs,this.text=[],this._format=e.format||function(e){try{return Number.isNaN(e.getTime())?``:e.toISOString()}catch{return``}},this._parse=e.parse||function(e){return new Date(e)}}render(e,t){t&&(e.openNode(this.tag),this.attrs&&e.addAttributes(this.attrs),this.attr?e.addAttribute(this.attr,this._format(t)):e.writeText(this._format(t)),e.closeNode())}parseOpen(e){e.name===this.tag&&(this.attr?this.model=this._parse(e.attributes[this.attr]):this.text=[])}parseText(e){this.attr||this.text.push(e)}parseClose(){return this.attr||(this.model=this._parse(this.text.join(``))),!1}}})),hC,gC,_C=t((()=>{j(),mC(),v_(),b_(),ag(),hC={creator:`dc:creator`,title:`dc:title`,subject:`dc:subject`,description:`dc:description`,identifier:`dc:identifier`,language:`dc:language`,keywords:`cp:keywords`,category:`cp:category`,lastModifiedBy:`cp:lastModifiedBy`,lastPrinted:`cp:lastPrinted`,revision:`cp:revision`,version:`cp:version`,contentStatus:`cp:contentStatus`,contentType:`cp:contentType`,created:`dcterms:created`,modified:`dcterms:modified`},gC=class e extends A{constructor(){super(),this.map={creator:new y_({tag:hC.creator}),title:new y_({tag:hC.title}),subject:new y_({tag:hC.subject}),description:new y_({tag:hC.description}),identifier:new y_({tag:hC.identifier}),language:new y_({tag:hC.language}),keywords:new y_({tag:hC.keywords}),category:new y_({tag:hC.category}),lastModifiedBy:new y_({tag:hC.lastModifiedBy}),lastPrinted:new pC({tag:hC.lastPrinted,format:e.DateFormat}),revision:new __({tag:hC.revision}),version:new y_({tag:hC.version}),contentStatus:new y_({tag:hC.contentStatus}),contentType:new y_({tag:hC.contentType}),created:new pC({tag:hC.created,attrs:e.DateAttrs,format:e.DateFormat}),modified:new pC({tag:hC.modified,attrs:e.DateAttrs,format:e.DateFormat})}}render(t,n){t.openXml(of),t.openNode(`cp:coreProperties`,e.CORE_PROPERTY_ATTRIBUTES);for(let e of Object.keys(hC))this.map[e].render(t,n[e]);t.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):(e.name!==`coreProperties`&&(this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)),!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;if(e===`coreProperties`){this.model={};for(let e of Object.keys(hC)){let t=this.map[e].model;t!==void 0&&t!==``&&(this.model[e]=t)}return!1}return!0}static{this.DateFormat=function(e){return e.toISOString().replace(/[.]\d{3}/,``)}}static{this.DateAttrs={"xsi:type":`dcterms:W3CDTF`}}static{this.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":`http://schemas.openxmlformats.org/package/2006/metadata/core-properties`,"xmlns:dc":`http://purl.org/dc/elements/1.1/`,"xmlns:dcterms":`http://purl.org/dc/terms/`,"xmlns:dcmitype":`http://purl.org/dc/dcmitype/`,"xmlns:xsi":`http://www.w3.org/2001/XMLSchema-instance`}}}})),vC,yC=t((()=>{j(),vC=class extends A{render(e){e.openXml({version:`1.0`,encoding:`UTF-8`,standalone:`yes`}),e.openNode(`FeaturePropertyBags`,{xmlns:`http://schemas.microsoft.com/office/spreadsheetml/2022/featurepropertybag`}),e.leafNode(`bag`,{type:`Checkbox`}),e.openNode(`bag`,{type:`XFControls`}),e.leafNode(`bagId`,{k:`CellControl`},`0`),e.closeNode(),e.openNode(`bag`,{type:`XFComplement`}),e.leafNode(`bagId`,{k:`XFControls`},`1`),e.closeNode(),e.openNode(`bag`,{type:`XFComplements`,extRef:`XFComplementsMapperExtRef`}),e.openNode(`a`,{k:`MappedFeaturePropertyBags`}),e.leafNode(`bagId`,{},`2`),e.closeNode(),e.closeNode(),e.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}})),bC,xC=t((()=>{j(),bC=class extends A{parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={range:{editAs:e.attributes.editAs}};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(e){this.parser&&this.parser.parseText(e)}reconcilePicture(e,t){if(e&&e.rId){let n=t.rels[e.rId];if(!n)return;let r=n.Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(r){let n=r[1],i=t.mediaIndex[n],a=t.media[i];return a&&e.alphaModFix!==void 0?{...a,alphaModFix:e.alphaModFix}:a}}}}})),SC,CC,wC=t((()=>{j(),SC=9525,CC=class extends A{constructor(e){super(),this.tag=e.tag,this.map={},this.model={width:0,height:0}}render(e,t){e.openNode(this.tag);let n=Math.floor(t.width*SC),r=Math.floor(t.height*SC);e.addAttribute(`cx`,n),e.addAttribute(`cy`,r),e.closeNode()}parseOpen(e){return e.name===this.tag?(this.model={width:parseInt(e.attributes.cx??`0`,10)/SC,height:parseInt(e.attributes.cy??`0`,10)/SC},!0):!1}parseText(e){}parseClose(e){return!1}}})),TC,EC,DC,OC,kC=t((()=>{j(),Bx(),TC=`http://schemas.openxmlformats.org/drawingml/2006/chart`,EC=`http://schemas.microsoft.com/office/drawing/2014/chartex`,DC=`{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}`,OC=class extends A{constructor(...e){super(...e),this._inNvPr=!1,this._inGraphicData=!1,this._extLstCapture=null}get tag(){return`xdr:graphicFrame`}prepare(e,t){e.index===void 0&&(e.index=t.index+1)}render(e,t){e.openNode(this.tag,{macro:``}),e.openNode(`xdr:nvGraphicFramePr`);let n=t.index??2,r=t.name??`Chart ${n}`;t.cNvPrExtLst?(e.openNode(`xdr:cNvPr`,{id:n,name:r}),e.writeRaw(t.cNvPrExtLst),e.closeNode()):t.isChartEx?(e.openNode(`xdr:cNvPr`,{id:n,name:r}),e.openNode(`a:extLst`),e.openNode(`a:ext`,{uri:DC}),e.leafNode(`a16:creationId`,{"xmlns:a16":`http://schemas.microsoft.com/office/drawing/2014/main`,id:`{${zx().toUpperCase()}}`}),e.closeNode(),e.closeNode(),e.closeNode()):e.leafNode(`xdr:cNvPr`,{id:n,name:r}),e.leafNode(`xdr:cNvGraphicFramePr`),e.closeNode(),e.openNode(`xdr:xfrm`),e.leafNode(`a:off`,{x:0,y:0}),e.leafNode(`a:ext`,{cx:0,cy:0}),e.closeNode(),e.openNode(`a:graphic`),t.isChartEx?(e.openNode(`a:graphicData`,{uri:EC}),e.leafNode(`cx:chart`,{"xmlns:cx":EC,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"r:id":t.rId})):(e.openNode(`a:graphicData`,{uri:t.graphicDataUri??TC}),e.leafNode(`c:chart`,{"xmlns:c":`http://schemas.openxmlformats.org/drawingml/2006/chart`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"r:id":t.rId})),e.closeNode(),e.closeNode(),e.closeNode()}parseOpen(e){if(this._extLstCapture){let t=Object.entries(e.attributes||{}).map(([e,t])=>` ${e}="${t}"`).join(``);return e.isSelfClosing?(this._extLstCapture.parts.push(`<${e.name}${t}/>`),this._extLstCapture.skipNextClose=!0):(this._extLstCapture.parts.push(`<${e.name}${t}>`),this._extLstCapture.depth++),!0}switch(e.name){case this.tag:this.reset(),this.model={},this._extLstCapture=null;break;case`xdr:cNvPr`:this._inNvPr=!0,this.model.index=parseInt(e.attributes.id,10)||void 0,this.model.name=e.attributes.name;break;case`a:extLst`:if(this._inNvPr){let t=Object.entries(e.attributes||{}).map(([e,t])=>` ${e}="${t}"`).join(``);return this._extLstCapture={depth:1,parts:[`<a:extLst${t}>`],skipNextClose:!1},!0}break;case`a:graphicData`:this._inGraphicData=!0,this.model.graphicDataUri=e.attributes.uri;break;case`c:chart`:this._inGraphicData&&(this.model.rId=e.attributes[`r:id`]);break;case`cx:chart`:this._inGraphicData&&(this.model.rId=e.attributes[`r:id`],this.model.isChartEx=!0);break;default:break}return!0}parseText(e){this._extLstCapture&&e&&this._extLstCapture.parts.push(e)}parseClose(e){if(this._extLstCapture)return this._extLstCapture.skipNextClose?(this._extLstCapture.skipNextClose=!1,!0):(this._extLstCapture.parts.push(`</${e}>`),this._extLstCapture.depth--,this._extLstCapture.depth===0&&(this.model.cNvPrExtLst=this._extLstCapture.parts.join(``),this._extLstCapture=null),!0);switch(e){case this.tag:return!1;case`xdr:cNvPr`:return this._inNvPr=!1,!0;case`a:graphicData`:return this._inGraphicData=!1,!0;default:return!0}}}})),AC,jC=t((()=>{j(),AC=class extends A{constructor(){super(),this.model={rId:``}}get tag(){return`a:blip`}render(e,t){t.alphaModFix!==void 0&&t.alphaModFix<1e5?(e.openNode(this.tag,{"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"r:embed":t.rId,cstate:`print`}),e.leafNode(`a:alphaModFix`,{amt:String(t.alphaModFix)}),e.closeNode()):e.leafNode(this.tag,{"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"r:embed":t.rId,cstate:`print`})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes[`r:embed`]},!0;case`a:alphaModFix`:return e.attributes.amt&&(this.model.alphaModFix=parseInt(e.attributes.amt,10)),!0;default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}})),MC,NC=t((()=>{j(),jC(),MC=class extends A{constructor(){super(),this.map={"a:blip":new AC}}get tag(){return`xdr:blipFill`}render(e,t){e.openNode(this.tag),this.map[`a:blip`].render(e,t),e.openNode(`a:stretch`),e.leafNode(`a:fillRect`),e.closeNode(),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map[`a:blip`].model,!1;default:return!0}}}})),PC,FC=t((()=>{j(),PC=class extends A{get tag(){return`xdr:cNvPicPr`}render(e){e.openNode(this.tag),e.leafNode(`a:picLocks`,{noChangeAspect:`1`}),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}})),IC,LC=t((()=>{j(),IC=class extends A{get tag(){return`a:extLst`}render(e){e.openNode(this.tag),e.openNode(`a:ext`,{uri:`{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}`}),e.leafNode(`a16:creationId`,{"xmlns:a16":`http://schemas.microsoft.com/office/drawing/2014/main`,id:`{00000000-0008-0000-0000-000002000000}`}),e.closeNode(),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}})),RC,zC=t((()=>{j(),RC=class extends A{constructor(){super(),this.model={}}get tag(){return`a:hlinkClick`}render(e,t){t.hyperlinks&&t.hyperlinks.rId&&e.leafNode(this.tag,{"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"r:id":t.hyperlinks.rId,tooltip:t.hyperlinks.tooltip})}parseOpen(e){switch(e.name){case this.tag:return this.model={hyperlinks:{rId:e.attributes[`r:id`],tooltip:e.attributes.tooltip}},!0;default:return!0}}parseText(){}parseClose(){return!1}}})),BC,VC=t((()=>{j(),LC(),zC(),BC=class extends A{constructor(){super(),this.map={"a:hlinkClick":new RC,"a:extLst":new IC}}get tag(){return`xdr:cNvPr`}render(e,t){e.openNode(this.tag,{id:t.index,name:`Picture ${t.index}`}),this.map[`a:hlinkClick`].render(e,t),this.map[`a:extLst`].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map[`a:hlinkClick`].model,!1;default:return!0}}}})),HC,UC=t((()=>{j(),FC(),VC(),HC=class extends A{constructor(){super(),this.map={"xdr:cNvPr":new BC,"xdr:cNvPicPr":new PC}}get tag(){return`xdr:nvPicPr`}render(e,t){e.openNode(this.tag),this.map[`xdr:cNvPr`].render(e,t),this.map[`xdr:cNvPicPr`].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map[`xdr:cNvPr`].model,!1;default:return!0}}}})),WC,GC=t((()=>{WC={tag:`xdr:spPr`,c:[{tag:`a:xfrm`,c:[{tag:`a:off`,$:{x:`0`,y:`0`}},{tag:`a:ext`,$:{cx:`0`,cy:`0`}}]},{tag:`a:prstGeom`,$:{prst:`rect`},c:[{tag:`a:avLst`}]}]}})),KC,qC=t((()=>{j(),NC(),UC(),GC(),Pg(),KC=class extends A{constructor(){super(),this.map={"xdr:nvPicPr":new HC,"xdr:blipFill":new MC,"xdr:spPr":new Ng(WC)}}get tag(){return`xdr:pic`}prepare(e,t){e.index=t.index+1}render(e,t){e.openNode(this.tag),this.map[`xdr:nvPicPr`].render(e,t),this.map[`xdr:blipFill`].render(e,{rId:t.rId,alphaModFix:t.alphaModFix}),this.map[`xdr:spPr`].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.mergeModel(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:return!0}}}})),JC,YC,XC,ZC=t((()=>{j(),xC(),wC(),kC(),qC(),Pg(),JC=9525,YC=class extends A{constructor(){super(),this.map={},this.model={x:0,y:0}}get tag(){return`xdr:pos`}render(e,t){e.leafNode(this.tag,{x:Math.floor(t.x*JC),y:Math.floor(t.y*JC)})}parseOpen(e){return e.name===this.tag?(this.model={x:parseInt(e.attributes.x??`0`,10)/JC,y:parseInt(e.attributes.y??`0`,10)/JC},!0):!1}parseText(){}parseClose(){return!1}},XC=class extends bC{constructor(){super(),this.map={"xdr:pos":new YC,"xdr:ext":new CC({tag:`xdr:ext`}),"xdr:pic":new KC,"xdr:graphicFrame":new OC,"xdr:clientData":new Ng({tag:`xdr:clientData`})}}get tag(){return`xdr:absoluteAnchor`}prepare(e,t){e.picture?this.map[`xdr:pic`].prepare(e.picture,t):e.graphicFrame&&this.map[`xdr:graphicFrame`].prepare(e.graphicFrame,t)}render(e,t){e.openNode(this.tag),this.map[`xdr:pos`].render(e,t.range.pos??{x:0,y:0}),this.map[`xdr:ext`].render(e,t.range.ext),t.picture?this.map[`xdr:pic`].render(e,t.picture):t.graphicFrame&&this.map[`xdr:graphicFrame`].render(e,t.graphicFrame),this.map[`xdr:clientData`].render(e,{}),e.closeNode()}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.range.pos=this.map[`xdr:pos`].model,this.model.range.ext=this.map[`xdr:ext`].model,this.model.picture=this.map[`xdr:pic`].model,this.model.graphicFrame=this.map[`xdr:graphicFrame`].model,!1;default:return!0}}reconcile(e,t){e.picture&&(e.medium=this.reconcilePicture(e.picture,t))}}})),QC,$C=t((()=>{j(),v_(),QC=class extends A{constructor(e){super(),this.tag=e.tag,this.map={"xdr:col":new __({tag:`xdr:col`,zero:!0}),"xdr:colOff":new __({tag:`xdr:colOff`,zero:!0}),"xdr:row":new __({tag:`xdr:row`,zero:!0}),"xdr:rowOff":new __({tag:`xdr:rowOff`,zero:!0})},this.model={nativeCol:0,nativeColOff:0,nativeRow:0,nativeRowOff:0}}render(e,t){e.openNode(this.tag),this.map[`xdr:col`].render(e,t.nativeCol),this.map[`xdr:colOff`].render(e,t.nativeColOff),this.map[`xdr:row`].render(e,t.nativeRow),this.map[`xdr:rowOff`].render(e,t.nativeRowOff),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model={nativeCol:this.map[`xdr:col`].model,nativeColOff:this.map[`xdr:colOff`].model,nativeRow:this.map[`xdr:row`].model,nativeRowOff:this.map[`xdr:rowOff`].model},!1;default:return!0}}}})),ew,tw=t((()=>{xC(),$C(),wC(),kC(),qC(),Pg(),ew=class extends bC{constructor(){super(),this.map={"xdr:from":new QC({tag:`xdr:from`}),"xdr:ext":new CC({tag:`xdr:ext`}),"xdr:pic":new KC,"xdr:graphicFrame":new OC,"xdr:clientData":new Ng({tag:`xdr:clientData`})}}get tag(){return`xdr:oneCellAnchor`}prepare(e,t){e.picture?this.map[`xdr:pic`].prepare(e.picture,t):e.graphicFrame&&this.map[`xdr:graphicFrame`].prepare(e.graphicFrame,t)}render(e,t){e.openNode(this.tag,{editAs:t.range.editAs??`oneCell`}),this.map[`xdr:from`].render(e,t.range.tl),this.map[`xdr:ext`].render(e,t.range.ext),t.picture?this.map[`xdr:pic`].render(e,t.picture):t.graphicFrame&&this.map[`xdr:graphicFrame`].render(e,t.graphicFrame),this.map[`xdr:clientData`].render(e,{}),e.closeNode()}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.range.tl=this.map[`xdr:from`].model,this.model.range.ext=this.map[`xdr:ext`].model,this.model.picture=this.map[`xdr:pic`].model,this.model.graphicFrame=this.map[`xdr:graphicFrame`].model,!1;default:return!0}}reconcile(e,t){e.picture&&(e.medium=this.reconcilePicture(e.picture,t))}}})),nw,rw=t((()=>{j(),nw=class extends A{get tag(){return`xdr:sp`}render(e,t){t&&(e.openNode(this.tag,{macro:``,textlink:``}),e.openNode(`xdr:nvSpPr`),e.openNode(`xdr:cNvPr`,{id:t.cNvPrId,name:t.name,hidden:t.hidden?`1`:void 0}),e.openNode(`a:extLst`),e.openNode(`a:ext`,{uri:`{63B3BB69-23CF-44E3-9099-C40C66FF867C}`}),e.leafNode(`a14:compatExt`,{spid:t.spid,"xmlns:a14":`http://schemas.microsoft.com/office/drawing/2010/main`},void 0),e.closeNode(),e.closeNode(),e.closeNode(),e.leafNode(`xdr:cNvSpPr`),e.closeNode(),e.openNode(`xdr:spPr`,{bwMode:`auto`}),e.openNode(`a:xfrm`),e.leafNode(`a:off`,{x:0,y:0}),e.leafNode(`a:ext`,{cx:0,cy:0}),e.closeNode(),e.openNode(`a:prstGeom`,{prst:`rect`}),e.leafNode(`a:avLst`),e.closeNode(),e.leafNode(`a:noFill`),e.openNode(`a:ln`),e.leafNode(`a:noFill`),e.closeNode(),e.openNode(`a:extLst`),e.openNode(`a:ext`,{uri:`{909E8E84-426E-40DD-AFC4-6F175D3DCCD1}`}),e.openNode(`a14:hiddenFill`,{"xmlns:a14":`http://schemas.microsoft.com/office/drawing/2010/main`}),e.openNode(`a:solidFill`),e.leafNode(`a:srgbClr`,{val:`F0F0F0`}),e.closeNode(),e.closeNode(),e.closeNode(),e.openNode(`a:ext`,{uri:`{91240B29-F687-4F45-9708-019B960494DF}`}),e.openNode(`a14:hiddenLine`,{w:9525,"xmlns:a14":`http://schemas.microsoft.com/office/drawing/2010/main`}),e.openNode(`a:solidFill`),e.leafNode(`a:srgbClr`,{val:`000000`}),e.closeNode(),e.leafNode(`a:miter`,{lim:8e5}),e.leafNode(`a:headEnd`),e.leafNode(`a:tailEnd`),e.closeNode(),e.closeNode(),e.closeNode(),e.closeNode(),e.openNode(`xdr:txBody`),e.leafNode(`a:bodyPr`,{vertOverflow:`clip`,wrap:`square`,lIns:18288,tIns:18288,rIns:0,bIns:18288,anchor:`ctr`,upright:1}),e.leafNode(`a:lstStyle`),e.openNode(`a:p`),e.openNode(`a:pPr`,{algn:`l`,rtl:0}),e.leafNode(`a:defRPr`,{sz:1e3}),e.closeNode(),e.openNode(`a:r`),e.openNode(`a:rPr`,{lang:`en-US`,sz:800,b:0,i:0,u:`none`,strike:`noStrike`,baseline:0}),e.openNode(`a:solidFill`),e.leafNode(`a:srgbClr`,{val:`000000`}),e.closeNode(),e.leafNode(`a:latin`,{typeface:`Tahoma`,pitchFamily:2,charset:0}),e.leafNode(`a:ea`,{typeface:`Tahoma`,pitchFamily:2,charset:0}),e.leafNode(`a:cs`,{typeface:`Tahoma`,pitchFamily:2,charset:0}),e.closeNode(),e.openNode(`a:t`),e.writeText(t.text??``),e.closeNode(),e.closeNode(),e.closeNode(),e.closeNode(),e.closeNode())}}})),iw,aw=t((()=>{xC(),$C(),kC(),qC(),rw(),Pg(),iw=class extends bC{constructor(){super(),this._acDepth=0,this._inFallback=!1,this._fallbackDepth=0,this._choiceRequires=void 0,this.map={"xdr:from":new QC({tag:`xdr:from`}),"xdr:to":new QC({tag:`xdr:to`}),"xdr:pic":new KC,"xdr:sp":new nw,"xdr:graphicFrame":new OC,"xdr:clientData":new Ng({tag:`xdr:clientData`})}}get tag(){return`xdr:twoCellAnchor`}prepare(e,t){e.picture?this.map[`xdr:pic`].prepare(e.picture,t):e.graphicFrame&&this.map[`xdr:graphicFrame`].prepare(e.graphicFrame,t)}render(e,t){let n=t.alternateContent?.requires,r=n===`cx1`||n===`cx`,i=!!n&&!r;i&&(e.openNode(`mc:AlternateContent`,{"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`}),e.openNode(`mc:Choice`,{Requires:n,...n===`a14`?{"xmlns:a14":`http://schemas.microsoft.com/office/drawing/2010/main`}:{}}));let a=t.range.editAs??(t.graphicFrame?void 0:`oneCell`),o=a&&a!==`twoCell`?{editAs:a}:{};e.openNode(this.tag,o),this.map[`xdr:from`].render(e,t.range.tl),this.map[`xdr:to`].render(e,t.range.br),r?this.renderChartExAlternateContent(e,t):t.picture?this.map[`xdr:pic`].render(e,t.picture):t.graphicFrame?this.map[`xdr:graphicFrame`].render(e,t.graphicFrame):t.shape&&this.map[`xdr:sp`].render(e,t.shape),this.map[`xdr:clientData`].render(e,{}),e.closeNode(),i&&(e.closeNode(),e.leafNode(`mc:Fallback`),e.closeNode())}renderChartExAlternateContent(e,t){e.openNode(`mc:AlternateContent`,{"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`}),e.openNode(`mc:Choice`,{"xmlns:cx1":`http://schemas.microsoft.com/office/drawing/2015/9/8/chartex`,Requires:`cx1`}),t.graphicFrame&&this.map[`xdr:graphicFrame`].render(e,t.graphicFrame),e.closeNode(),e.openNode(`mc:Fallback`),this.renderChartExFallbackShape(e,t),e.closeNode(),e.closeNode()}renderChartExFallbackShape(e,t){e.openNode(`xdr:sp`,{macro:``,textlink:``}),e.openNode(`xdr:nvSpPr`),e.leafNode(`xdr:cNvPr`,{id:0,name:``}),e.openNode(`xdr:cNvSpPr`),e.leafNode(`a:spLocks`,{noTextEdit:1}),e.closeNode(),e.closeNode(),e.openNode(`xdr:spPr`),e.openNode(`a:xfrm`),e.leafNode(`a:off`,{x:3917950,y:698500}),e.leafNode(`a:ext`,{cx:5486400,cy:3657600}),e.closeNode(),e.openNode(`a:prstGeom`,{prst:`rect`}),e.leafNode(`a:avLst`),e.closeNode(),e.openNode(`a:solidFill`),e.leafNode(`a:prstClr`,{val:`white`}),e.closeNode(),e.openNode(`a:ln`,{w:1}),e.openNode(`a:solidFill`),e.leafNode(`a:prstClr`,{val:`black`}),e.closeNode(),e.closeNode(),e.closeNode(),e.openNode(`xdr:txBody`),e.leafNode(`a:bodyPr`,{vertOverflow:`clip`,horzOverflow:`clip`}),e.leafNode(`a:lstStyle`),e.openNode(`a:p`),e.openNode(`a:r`),e.leafNode(`a:rPr`,{lang:`en-US`,sz:1100}),e.openNode(`a:t`),e.writeText(`This chart isn't available in your version of Excel.
405
+ <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">`)}_writeRelationship(e){this.count||this._writeOpen();let t=`rId${++this.count}`;return e.TargetMode?this.stream.write(`<Relationship Id="${t}" Type="${qd(e.Type)}" Target="${qd(e.Target)}" TargetMode="${qd(e.TargetMode)}"/>`):this.stream.write(`<Relationship Id="${t}" Type="${qd(e.Type)}" Target="${qd(e.Target)}"/>`),t}_writeClose(){this.stream.write(`</Relationships>`)}}}));function db(e){return Ym(e.name&&e.extension&&e.name.endsWith(`.${e.extension}`)?e.name:`${e.name}.${e.extension}`)}function fb(e){return!!e.link&&e.buffer==null&&e.base64==null&&e.filename==null}function pb(e){let t=/\.([a-zA-Z0-9]{2,5})(?:[?#].*)?$/.exec(e);switch(t?t[1].toLowerCase():``){case`jpg`:case`jpeg`:return`jpeg`;case`gif`:return`gif`;default:return`png`}}function mb(e,t){return fb(t)?{Id:e,Type:D.Image,Target:t.link,TargetMode:`External`}:{Id:e,Type:D.Image,Target:db(t)}}function hb(e,t,n){let r=[],i=[...t],a={};for(let t of e){let e=String(t.imageId),o=n.getBookImage(t.imageId);if(!o)continue;let s=fb(o),c=a[e];c||(c=n.nextRId(i),a[e]=c,i.push(mb(c,o)));let l={picture:{rId:c,...s?{external:!0}:{}},range:t.range};if(t.opacity!==void 0){let e=Math.max(0,Math.min(1,t.opacity));l.picture.alphaModFix=Math.round(e*1e5)}if(t.hyperlinks&&t.hyperlinks.hyperlink){let e=n.nextRId(i);l.picture.hyperlinks={tooltip:t.hyperlinks.tooltip,rId:e},i.push({Id:e,Type:D.Hyperlink,Target:t.hyperlinks.hyperlink,TargetMode:`External`})}r.push(l)}return{anchors:r,rels:i}}function gb(e){return e.filter(e=>e==null?!1:e.range?.pos===void 0?e.range?.br&&e.shape?!0:!(!e.range?.br&&!e.picture&&!e.graphicFrame||e.range?.br&&!e.picture&&!e.shape&&!e.graphicFrame):!!e.picture||!!e.graphicFrame||!!e.shape)}var _b=t((()=>{ng(),mu()}));function vb(e,t,n,r,i){let a=i(e,t)?.style?.border,o=r-t+1,s=n-e+1,c=Array(o),l=Array(o),u=Array(s),d=Array(s),f=!1;for(let o=t;o<=r;o++){let r=o-t,s=i(e,o)?.style?.border;c[r]=s?.top||a?.top,n===e?l[r]=s?.bottom||a?.bottom:l[r]=i(n,o)?.style?.border?.bottom||a?.bottom,(c[r]||l[r])&&(f=!0)}for(let o=e;o<=n;o++){let n=o-e,s=i(o,t)?.style?.border;u[n]=s?.left||a?.left,r===t?d[n]=s?.right||a?.right:d[n]=i(o,r)?.style?.border?.right||a?.right,(u[n]||d[n])&&(f=!0)}let p=a?.diagonal,m=a?.color;if(!(!f&&!p))return{topEdges:c,bottomEdges:l,leftEdges:u,rightEdges:d,diagonal:p,color:m}}function yb(e,t,n,r,i,a){let{topEdges:o,bottomEdges:s,leftEdges:c,rightEdges:l,diagonal:u,color:d}=i,f=a(e,t).style;for(let i=e;i<=n;i++)for(let p=t;p<=r;p++){let m=a(i,p),h=kd(f)||{},g={},_=!1;i===e&&o[p-t]&&(g.top=o[p-t],_=!0),i===n&&s[p-t]&&(g.bottom=s[p-t],_=!0),p===t&&c[i-e]&&(g.left=c[i-e],_=!0),p===r&&l[i-e]&&(g.right=l[i-e],_=!0),u&&(g.diagonal=u,_=!0),_?(d&&(g.color=d),h.border=g):delete h.border,m.style=h}}var bb=t((()=>{Ad()}));function xb(e){let t=new Uint8Array(4);return t[0]=e&255,t[1]=e>>8&255,t[2]=e>>16&255,t[3]=e>>24&255,t}var Sb,Cb=t((()=>{lr(),ic(),If(),Sb={async hash(e,...t){return Qs(e,Zn(t))},async convertPasswordToHash(e,t,n,r){let i=Tf(e),a=cf(n),o=await this.hash(t,a,i);for(let e=0;e<r;e++)o=await this.hash(t,o,xb(e));return wf(o)},randomBytes(e){return Zs(e)}}}));async function wb(e,t){let n={sheet:!0};return t&&`spinCount`in t&&(t.spinCount=Number.isFinite(t.spinCount)?Math.round(Math.max(0,t.spinCount)):1e5),e&&(n.algorithmName=`SHA-512`,n.saltValue=wf(Sb.randomBytes(16)),n.spinCount=t&&`spinCount`in t?t.spinCount:1e5,n.hashValue=await Sb.convertPasswordToHash(e,`SHA-512`,n.saltValue,n.spinCount)),t&&(Object.assign(n,t),!e&&`spinCount`in t&&delete n.spinCount),n}var Tb=t((()=>{Cb(),Hf()})),Eb,Db,Ob=t((()=>{Eb=new TextEncoder,Db=class{constructor(e){this._buf=new Uint8Array(e&&e.size||16384),this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){return this._buffer||=this._buf.slice(0,this._inPos),this._buffer}reset(e){e??=0,this._buffer=void 0,this._inPos=e}_grow(e){let t=this._buf.length*2;for(;t<e;)t*=2;let n=new Uint8Array(t);n.set(this._buf),this._buf=n}addText(e){this._buffer=void 0;let t=this._inPos+e.length;t>this._buf.length-4&&this._grow(t);let n=this._buf.subarray(this._inPos),r=Eb.encodeInto(e,n);if(r.read<e.length){let t=e.length-r.read;this._grow(this._inPos+r.written+t*3);let n=Eb.encodeInto(e.substring(r.read),this._buf.subarray(this._inPos+r.written));this._inPos+=r.written+n.written}else this._inPos+=r.written}addStringBuf(e){e.length&&(this._buffer=void 0,this.length+e.length>this.capacity&&this._grow(this.length+e.length),this._buf.set(e._buf.subarray(0,e.length),this._inPos),this._inPos+=e.length)}}})),kb=t((()=>{Ob()})),Ab,jb=t((()=>{da(),j(),Ab=class extends A{get tag(){return`autoFilter`}render(e,t){if(t)if(typeof t==`string`)e.leafNode(`autoFilter`,{ref:t});else{let n=function(e){return typeof e==`string`?e:E.getAddress(e.row,e.col).address},r=n(t.from),i=n(t.to);r&&i&&e.leafNode(`autoFilter`,{ref:`${r}:${i}`})}}parseOpen(e){e.name===`autoFilter`&&(this.model=e.attributes.ref)}}})),Mb,Nb=t((()=>{j(),Mb=class extends A{createNewModel(e){return{}}parseOpen(e){return this.parser=this.parser||this.map[e.name],this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag?(this.model=this.createNewModel(e),!0):!1}parseText(e){this.parser&&this.parser.parseText(e)}onParserClose(e,t){this.model[e]=t.model}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.onParserClose(e,this.parser),this.parser=void 0),!0):e!==this.tag}get tag(){return``}}})),Pb,Fb=t((()=>{j(),Pb=class extends A{get tag(){return`cfvo`}render(e,t){e.leafNode(this.tag,{type:t.type,val:t.value})}parseOpen(e){this.model={type:e.attributes.type,value:A.toFloatValue(e.attributes.val)}}parseClose(e){return e!==this.tag}}})),Ib,Lb=t((()=>{Nb(),Fb(),t_(),Ib=class extends Mb{constructor(){super(),this.map={cfvo:this.cfvoXform=new Pb,color:this.colorXform=new e_}}get tag(){return`colorScale`}render(e,t){e.openNode(this.tag),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),t.color.forEach(t=>{this.colorXform.render(e,t)}),e.closeNode()}createNewModel(e){return{cfvo:[],color:[]}}onParserClose(e,t){this.model[e].push(t.model)}}})),Rb,zb=t((()=>{Nb(),Fb(),t_(),Rb=class extends Mb{constructor(){super(),this.map={cfvo:this.cfvoXform=new Pb,color:this.colorXform=new e_}}get tag(){return`dataBar`}render(e,t){e.openNode(this.tag),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),this.colorXform.render(e,t.color),e.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose(e,t){switch(e){case`cfvo`:this.model.cfvo.push(t.model);break;case`color`:this.model.color=t.model;break}}}})),Bb,Vb,Hb,Ub=t((()=>{j(),Nb(),Bb=class extends A{get tag(){return`x14:id`}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=``}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}},Vb=class extends Mb{constructor(){super(),this.map={"x14:id":this.idXform=new Bb}}get tag(){return`ext`}render(e,t){e.openNode(this.tag,{uri:`{B025F937-C7B1-47D3-B67F-A62EFF666E3E}`,"xmlns:x14":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`}),this.idXform.render(e,t.x14Id),e.closeNode()}createNewModel(){return{}}onParserClose(e,t){this.model.x14Id=t.model}},Hb=class extends Mb{constructor(){super(),this.map={ext:new Vb}}get tag(){return`extLst`}render(e,t){t.x14Id&&(e.openNode(this.tag),this.map.ext.render(e,t),e.closeNode())}createNewModel(){return{}}onParserClose(e,t){Object.assign(this.model,t.model)}}})),Wb,Gb=t((()=>{j(),Wb=class extends A{get tag(){return`formula`}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=``}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}})),Kb,qb=t((()=>{j(),Nb(),Fb(),Kb=class extends Mb{constructor(){super(),this.map={cfvo:this.cfvoXform=new Pb}}get tag(){return`iconSet`}render(e,t){e.openNode(this.tag,{iconSet:A.toStringAttribute(t.iconSet,`3TrafficLights`),reverse:A.toBoolAttribute(t.reverse,!1),showValue:A.toBoolAttribute(t.showValue,!0)}),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),e.closeNode()}createNewModel({attributes:e}){return{iconSet:A.toStringValue(e.iconSet,`3TrafficLights`),reverse:A.toBoolValue(e.reverse),showValue:A.toBoolValue(e.showValue),cfvo:[]}}onParserClose(e,t){this.model[e].push(t.model)}}})),Jb,Yb,Xb,Zb,Qb,$b=t((()=>{pa(),j(),Nb(),Lb(),zb(),Ub(),Gb(),qb(),Jb={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},Yb=e=>{if(e.formulae&&e.formulae[0])return e.formulae[0];let{tl:t}=new fa(e.ref);switch(e.operator){case`containsText`:return`NOT(ISERROR(SEARCH("${e.text}",${t})))`;case`containsBlanks`:return`LEN(TRIM(${t}))=0`;case`notContainsBlanks`:return`LEN(TRIM(${t}))>0`;case`containsErrors`:return`ISERROR(${t})`;case`notContainsErrors`:return`NOT(ISERROR(${t}))`;default:return}},Xb=e=>{if(e.formulae&&e.formulae[0])return e.formulae[0];let{tl:t}=new fa(e.ref);switch(e.timePeriod){case`thisWeek`:return`AND(TODAY()-ROUNDDOWN(${t},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${t},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case`lastWeek`:return`AND(TODAY()-ROUNDDOWN(${t},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${t},0)<(WEEKDAY(TODAY())+7))`;case`nextWeek`:return`AND(ROUNDDOWN(${t},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${t},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case`yesterday`:return`FLOOR(${t},1)=TODAY()-1`;case`today`:return`FLOOR(${t},1)=TODAY()`;case`tomorrow`:return`FLOOR(${t},1)=TODAY()+1`;case`last7Days`:return`AND(TODAY()-FLOOR(${t},1)<=6,FLOOR(${t},1)<=TODAY())`;case`lastMonth`:return`AND(MONTH(${t})=MONTH(EDATE(TODAY(),0-1)),YEAR(${t})=YEAR(EDATE(TODAY(),0-1)))`;case`thisMonth`:return`AND(MONTH(${t})=MONTH(TODAY()),YEAR(${t})=YEAR(TODAY()))`;case`nextMonth`:return`AND(MONTH(${t})=MONTH(EDATE(TODAY(),0+1)),YEAR(${t})=YEAR(EDATE(TODAY(),0+1)))`;default:return}},Zb=e=>{let{type:t,operator:n}=e;switch(t){case`containsText`:case`containsBlanks`:case`notContainsBlanks`:case`containsErrors`:case`notContainsErrors`:return{type:`containsText`,operator:t};default:return{type:t,operator:n}}},Qb=class e extends Mb{constructor(){super(),this.map={dataBar:this.databarXform=new Rb,extLst:this.extLstRefXform=new Hb,formula:this.formulaXform=new Wb,colorScale:this.colorScaleXform=new Ib,iconSet:this.iconSetXform=new Kb}}get tag(){return`cfRule`}static isPrimitive(e){return!(e.type===`iconSet`&&(e.custom||Jb[e.iconSet]))}render(e,t){switch(t.type){case`expression`:this.renderExpression(e,t);break;case`cellIs`:this.renderCellIs(e,t);break;case`top10`:this.renderTop10(e,t);break;case`aboveAverage`:this.renderAboveAverage(e,t);break;case`dataBar`:this.renderDataBar(e,t);break;case`colorScale`:this.renderColorScale(e,t);break;case`iconSet`:this.renderIconSet(e,t);break;case`containsText`:this.renderText(e,t);break;case`timePeriod`:this.renderTimePeriod(e,t);break}}renderExpression(e,t){e.openNode(this.tag,{type:`expression`,dxfId:t.dxfId,priority:t.priority}),this.formulaXform.render(e,t.formulae[0]),e.closeNode()}renderCellIs(e,t){e.openNode(this.tag,{type:`cellIs`,dxfId:t.dxfId,priority:t.priority,operator:t.operator}),t.formulae.forEach(t=>{this.formulaXform.render(e,t)}),e.closeNode()}renderTop10(e,t){e.leafNode(this.tag,{type:`top10`,dxfId:t.dxfId,priority:t.priority,percent:A.toBoolAttribute(t.percent,!1),bottom:A.toBoolAttribute(t.bottom,!1),rank:A.toIntValue(t.rank,10)})}renderAboveAverage(e,t){e.leafNode(this.tag,{type:`aboveAverage`,dxfId:t.dxfId,priority:t.priority,aboveAverage:A.toBoolAttribute(t.aboveAverage,!0)})}renderDataBar(e,t){e.openNode(this.tag,{type:`dataBar`,priority:t.priority}),this.databarXform.render(e,t),this.extLstRefXform.render(e,t),e.closeNode()}renderColorScale(e,t){e.openNode(this.tag,{type:`colorScale`,priority:t.priority}),this.colorScaleXform.render(e,t),e.closeNode()}renderIconSet(t,n){e.isPrimitive(n)&&(t.openNode(this.tag,{type:`iconSet`,priority:n.priority}),this.iconSetXform.render(t,n),t.closeNode())}renderText(e,t){e.openNode(this.tag,{type:t.operator,dxfId:t.dxfId,priority:t.priority,operator:A.toStringAttribute(t.operator,`containsText`)});let n=Yb(t);n&&this.formulaXform.render(e,n),e.closeNode()}renderTimePeriod(e,t){e.openNode(this.tag,{type:`timePeriod`,dxfId:t.dxfId,priority:t.priority,timePeriod:t.timePeriod});let n=Xb(t);n&&this.formulaXform.render(e,n),e.closeNode()}createNewModel({attributes:e}){return{...Zb(e),dxfId:A.toIntValue(e.dxfId),priority:A.toIntValue(e.priority),timePeriod:e.timePeriod,percent:A.toBoolValue(e.percent),bottom:A.toBoolValue(e.bottom),rank:A.toIntValue(e.rank),aboveAverage:A.toBoolValue(e.aboveAverage)}}onParserClose(e,t){switch(e){case`dataBar`:case`extLst`:case`colorScale`:case`iconSet`:Object.assign(this.model,t.model);break;case`formula`:this.model.formulae=this.model.formulae??[],this.model.formulae.push(t.model);break}}}})),ex,tx=t((()=>{Nb(),$b(),ex=class extends Mb{constructor(){super(),this.map={cfRule:new Qb}}get tag(){return`conditionalFormatting`}render(e,t){t.rules.some(Qb.isPrimitive)&&(e.openNode(this.tag,{sqref:t.ref}),t.rules.forEach(n=>{Qb.isPrimitive(n)&&(n.ref=t.ref,this.map.cfRule.render(e,n))}),e.closeNode())}createNewModel({attributes:e}){return{ref:e.sqref,rules:[]}}onParserClose(e,t){this.model.rules.push(t.model)}}})),nx,rx=t((()=>{j(),tx(),nx=class extends A{constructor(){super(),this.cfXform=new ex}get tag(){return`conditionalFormatting`}reset(){this.model=[]}prepare(e,t){let n=e.reduce((e,t)=>Math.max(e,...t.rules.map(e=>e.priority??0)),1);e.forEach(e=>{e.rules.forEach(e=>{e.priority||=n++,e.style&&(e.dxfId=t.styles.addDxfStyle(e.style)),e.type===`dataBar`&&((!e.cfvo||e.cfvo.length<2)&&(e.cfvo=[{type:`min`},{type:`max`}]),e.color||={argb:`FF638EC6`})})})}render(e,t){t.forEach(t=>{this.cfXform.render(e,t)})}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case`conditionalFormatting`:return this.parser=this.cfXform,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?this.parser.parseClose(e)?!0:(this.model.push(this.parser.model),this.parser=void 0,!1):!1}reconcile(e,t){e.forEach(e=>{e.rules.forEach(e=>{e.dxfId!==void 0&&(e.style=t.styles.getDxfStyle(e.dxfId),delete e.dxfId)})})}}})),ix,ax=t((()=>{j(),ix=class extends A{get tag(){return`brk`}render(e,t){e.leafNode(`brk`,t)}parseOpen(e){if(e.name===`brk`){let{id:t,max:n,man:r,min:i}=e.attributes;return this.model={id:+t,max:+n,man:+r},i!==void 0&&(this.model.min=+i),!0}return!1}parseText(){}parseClose(){return!1}}})),ox,sx=t((()=>{jg(),ax(),ox=class extends Ag{constructor(){super({tag:`colBreaks`,count:!0,childXform:new ix})}render(e,t){if(t&&t.length){e.openNode(this.tag,this.$),e.addAttribute(this.$count,t.length),e.addAttribute(`manualBreakCount`,t.length);let{childXform:n}=this;for(let r of t)n.render(e,r);e.closeNode()}}}})),cx,lx=t((()=>{j(),Hf(),cx=class extends A{get tag(){return`col`}prepare(e,t){let n=t.styles.addStyleModel(e.style||{});n&&(e.styleId=n)}render(e,t){e.openNode(`col`),e.addAttribute(`min`,t.min),e.addAttribute(`max`,t.max),t.width&&e.addAttribute(`width`,t.width),t.styleId&&e.addAttribute(`style`,t.styleId),t.hidden&&e.addAttribute(`hidden`,`1`),t.bestFit&&e.addAttribute(`bestFit`,`1`),t.outlineLevel&&e.addAttribute(`outlineLevel`,t.outlineLevel),t.collapsed&&e.addAttribute(`collapsed`,`1`),e.addAttribute(`customWidth`,`1`),e.closeNode()}parseOpen(e){if(e.name===`col`){let t=this.model={min:parseInt(e.attributes.min??`0`,10),max:parseInt(e.attributes.max??`0`,10),width:e.attributes.width===void 0?void 0:parseFloat(e.attributes.width??`0`)};return e.attributes.style&&(t.styleId=parseInt(e.attributes.style,10)),vf(e.attributes.hidden)&&(t.hidden=!0),vf(e.attributes.bestFit)&&(t.bestFit=!0),e.attributes.outlineLevel&&(t.outlineLevel=parseInt(e.attributes.outlineLevel,10)),vf(e.attributes.collapsed)&&(t.collapsed=!0),!0}return!1}parseText(){}parseClose(){return!1}reconcile(e,t){e.styleId!==void 0&&(e.style=t.styles.getStyleModel(e.styleId))}}}));function ux(e,t,n,r){let i=t[n];i===void 0?r!==void 0&&(e[n]=r):e[n]=i}function dx(e,t,n,r){let i=t[n];i===void 0?r!==void 0&&(e[n]=r):e[n]=vf(i)}function fx(e){if(!e)return[];let t=[],n={};for(let[r,i]of Object.entries(e))if(i!=null)if(r.startsWith(`range:`)){let e=r.slice(6),{sqref:n,...a}=i;t.push({...a,sqref:e})}else n[r]=i;if(Object.keys(n).length===0)return t;let r=Object.entries(n).map(([e,t])=>({address:e,dataValidation:t,marked:!1})).sort((e,t)=>E.compareAddress(e.address,t.address)),i=Object.fromEntries(r.map(e=>[e.address,e])),a=(e,t,r)=>{for(let i=0;i<t;i++){let t=E.encodeAddress(e.row+i,r);if(!n[t]||!jd(n[e.address],n[t]))return!1}return!0},o=r.map(e=>{if(!e.marked){let t=E.decodeEx(e.address);if(t.dimensions)return i[t.dimensions].marked=!0,{...e.dataValidation,sqref:e.address};let r=1,o=E.encodeAddress(t.row+r,t.col);for(;n[o]&&jd(e.dataValidation,n[o]);)r++,o=E.encodeAddress(t.row+r,t.col);let s=1;for(;a(t,r,t.col+s);)s++;for(let e=0;e<r;e++)for(let n=0;n<s;n++)o=E.encodeAddress(t.row+e,t.col+n),i[o].marked=!0;if(r>1||s>1){let n=t.row+(r-1),i=t.col+(s-1);return{...e.dataValidation,sqref:`${e.address}:${E.encodeAddress(n,i)}`}}return{...e.dataValidation,sqref:e.address}}return null}).filter(Boolean);return[...t,...o]}var px,mx=t((()=>{da(),Ld(),j(),Hf(),px=class extends A{get tag(){return`dataValidations`}render(e,t){let n=fx(t);n.length&&(e.openNode(`dataValidations`,{count:n.length}),n.forEach(t=>{e.openNode(`dataValidation`),t.type!==`any`&&(e.addAttribute(`type`,t.type),t.operator&&t.type!==`list`&&t.operator!==`between`&&e.addAttribute(`operator`,t.operator),t.allowBlank&&e.addAttribute(`allowBlank`,`1`)),t.showInputMessage&&e.addAttribute(`showInputMessage`,`1`),t.promptTitle&&e.addAttribute(`promptTitle`,t.promptTitle),t.prompt&&e.addAttribute(`prompt`,t.prompt),t.showErrorMessage&&e.addAttribute(`showErrorMessage`,`1`),t.errorStyle&&e.addAttribute(`errorStyle`,t.errorStyle),t.errorTitle&&e.addAttribute(`errorTitle`,t.errorTitle),t.error&&e.addAttribute(`error`,t.error),e.addAttribute(`sqref`,t.sqref),(t.formulae??[]).forEach((n,r)=>{e.openNode(`formula${r+1}`),t.type===`date`?e.writeText(lf(new Date(n))):e.writeText(n),e.closeNode()}),e.closeNode()}),e.closeNode())}parseOpen(e){switch(e.name){case`dataValidations`:return this.model={},!0;case`dataValidation`:{this._address=e.attributes.sqref;let t={type:e.attributes.type??`any`,formulae:[]};switch(e.attributes.type&&dx(t,e.attributes,`allowBlank`),dx(t,e.attributes,`showInputMessage`),dx(t,e.attributes,`showErrorMessage`),t.type){case`any`:case`list`:case`custom`:break;default:ux(t,e.attributes,`operator`,`between`);break}return ux(t,e.attributes,`promptTitle`),ux(t,e.attributes,`prompt`),ux(t,e.attributes,`errorStyle`),ux(t,e.attributes,`errorTitle`),ux(t,e.attributes,`error`),this._dataValidation=t,!0}case`formula1`:case`formula2`:return this._formula=[],!0;default:return!1}}parseText(e){this._formula&&this._formula.push(e)}parseClose(e){switch(e){case`dataValidations`:return!1;case`dataValidation`:return(!this._dataValidation.formulae||!this._dataValidation.formulae.length)&&(delete this._dataValidation.formulae,delete this._dataValidation.operator),this._address.split(/\s+/g).forEach(e=>{e.includes(`:`)?this.model[`range:${e}`]=this._dataValidation:this.model[e]=this._dataValidation}),!0;case`formula1`:case`formula2`:{let e=this._formula.join(``);switch(this._dataValidation.type){case`whole`:case`textLength`:e=parseInt(e,10);break;case`decimal`:e=parseFloat(e);break;case`date`:e=uf(parseFloat(e));break;default:break}return this._dataValidation.formulae.push(e),this._formula=void 0,!0}default:return!0}}}})),hx,gx=t((()=>{j(),hx=class extends A{get tag(){return`drawing`}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes[`r:id`]},!0;default:return!1}}parseText(){}parseClose(){return!1}}}));function _x(e){let t={type:e.type,sparklines:e.sparklines};return e.lineWeight!==void 0&&(t.lineWeight=e.lineWeight),e.markers!==void 0&&(t.markers=e.markers),e.high!==void 0&&(t.high=e.high),e.low!==void 0&&(t.low=e.low),e.first!==void 0&&(t.first=e.first),e.last!==void 0&&(t.last=e.last),e.negative!==void 0&&(t.negative=e.negative),e.lineColor&&(t.colorSeries=vx(e.lineColor)),e.negativeColor&&(t.colorNegative=vx(e.negativeColor)),e.axisColor&&(t.colorAxis=vx(e.axisColor)),e.markerColor&&(t.colorMarkers=vx(e.markerColor)),e.highColor&&(t.colorHigh=vx(e.highColor)),e.lowColor&&(t.colorLow=vx(e.lowColor)),e.firstColor&&(t.colorFirst=vx(e.firstColor)),e.lastColor&&(t.colorLast=vx(e.lastColor)),e.minAxisType&&(t.minAxisType=e.minAxisType),e.maxAxisType&&(t.maxAxisType=e.maxAxisType),e.manualMin!==void 0&&(t.manualMin=e.manualMin),e.manualMax!==void 0&&(t.manualMax=e.manualMax),e.displayXAxis!==void 0&&(t.displayXAxis=e.displayXAxis),e.rightToLeft!==void 0&&(t.rightToLeft=e.rightToLeft),e.displayEmptyCellsAs&&(t.displayEmptyCellsAs=e.displayEmptyCellsAs),e.dateAxis&&(t.dateAxis=e.dateAxis),t}function vx(e){return{rgb:e.replace(/^#/,``).toUpperCase()}}function yx(e){if(!e||e.length===0)return``;let t=[];t.push(`<x14:sparklineGroups xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main">`);for(let n of e)t.push(bx(n));return t.push(`</x14:sparklineGroups>`),t.join(``)}function bx(e){let t=[];e.type!==void 0&&e.type!==`line`&&t.push(`type="${e.type}"`),e.lineWeight!==void 0&&t.push(`lineWeight="${e.lineWeight}"`),e.displayEmptyCellsAs&&t.push(`displayEmptyCellsAs="${e.displayEmptyCellsAs}"`),e.markers&&t.push(`markers="1"`),e.high&&t.push(`high="1"`),e.low&&t.push(`low="1"`),e.first&&t.push(`first="1"`),e.last&&t.push(`last="1"`),e.negative&&t.push(`negative="1"`),e.displayXAxis&&t.push(`displayXAxis="1"`),e.displayHidden&&t.push(`displayHidden="1"`),e.minAxisType&&e.minAxisType!==`individual`&&t.push(`minAxisType="${e.minAxisType}"`),e.maxAxisType&&e.maxAxisType!==`individual`&&t.push(`maxAxisType="${e.maxAxisType}"`),e.manualMin!==void 0&&t.push(`manualMin="${e.manualMin}"`),e.manualMax!==void 0&&t.push(`manualMax="${e.manualMax}"`),e.rightToLeft&&t.push(`rightToLeft="1"`);let n=[];n.push(`<x14:sparklineGroup${t.length>0?` ${t.join(` `)}`:``}>`),e.colorSeries&&n.push(`<x14:colorSeries ${xx(e.colorSeries)}/>`),e.colorNegative&&n.push(`<x14:colorNegative ${xx(e.colorNegative)}/>`),e.colorAxis&&n.push(`<x14:colorAxis ${xx(e.colorAxis)}/>`),e.colorMarkers&&n.push(`<x14:colorMarkers ${xx(e.colorMarkers)}/>`),e.colorFirst&&n.push(`<x14:colorFirst ${xx(e.colorFirst)}/>`),e.colorLast&&n.push(`<x14:colorLast ${xx(e.colorLast)}/>`),e.colorHigh&&n.push(`<x14:colorHigh ${xx(e.colorHigh)}/>`),e.colorLow&&n.push(`<x14:colorLow ${xx(e.colorLow)}/>`),e.dateAxis&&n.push(`<xm:f>${Sx(e.dateAxis)}</xm:f>`),n.push(`<x14:sparklines>`);for(let t of e.sparklines)n.push(`<x14:sparkline>`),n.push(`<xm:f>${Sx(t.dataRef)}</xm:f>`),n.push(`<xm:sqref>${Sx(t.cellRef)}</xm:sqref>`),n.push(`</x14:sparkline>`);return n.push(`</x14:sparklines>`),n.push(`</x14:sparklineGroup>`),n.join(``)}function xx(e){let t=[];return e.rgb&&t.push(`rgb="${e.rgb}"`),e.theme!==void 0&&t.push(`theme="${e.theme}"`),e.tint!==void 0&&t.push(`tint="${e.tint}"`),e.auto&&t.push(`auto="1"`),t.join(` `)}function Sx(e){return qd(e)}function Cx(e){let t=[],n=/<x14:sparklineGroup\b([^>]*?)(?:\/>|>([\s\S]*?)<\/x14:sparklineGroup>)/g,r;for(;(r=n.exec(e))!==null;){let e=wx(r[1]??``,r[2]??``);t.push(e)}return t}function wx(e,t){let n={sparklines:[]},r=/(\w+)="([^"]*)"/g,i;for(;(i=r.exec(e))!==null;){let[,e,t]=i;switch(e){case`type`:n.type=t;break;case`lineWeight`:n.lineWeight=parseFloat(t);break;case`displayEmptyCellsAs`:n.displayEmptyCellsAs=t;break;case`markers`:n.markers=t===`1`;break;case`high`:n.high=t===`1`;break;case`low`:n.low=t===`1`;break;case`first`:n.first=t===`1`;break;case`last`:n.last=t===`1`;break;case`negative`:n.negative=t===`1`;break;case`displayXAxis`:n.displayXAxis=t===`1`;break;case`displayHidden`:n.displayHidden=t===`1`;break;case`minAxisType`:n.minAxisType=t;break;case`maxAxisType`:n.maxAxisType=t;break;case`manualMin`:n.manualMin=parseFloat(t);break;case`manualMax`:n.manualMax=parseFloat(t);break;case`rightToLeft`:n.rightToLeft=t===`1`;break}}for(let e of[`colorSeries`,`colorNegative`,`colorAxis`,`colorMarkers`,`colorFirst`,`colorLast`,`colorHigh`,`colorLow`]){let r=Dx.get(e).exec(t);r&&(n[e]=Tx(r[1]))}let a=/<x14:sparkline>\s*<xm:f>([\s\S]*?)<\/xm:f>\s*<xm:sqref>([\s\S]*?)<\/xm:sqref>\s*<\/x14:sparkline>/g,o;for(;(o=a.exec(t))!==null;)n.sparklines.push({dataRef:Ex(o[1]),cellRef:Ex(o[2])});return n}function Tx(e){let t={},n=/(\w+)="([^"]*)"/g,r;for(;(r=n.exec(e))!==null;){let[,e,n]=r;switch(e){case`rgb`:t.rgb=n;break;case`theme`:t.theme=parseInt(n,10);break;case`tint`:t.tint=parseFloat(n);break;case`auto`:t.auto=n===`1`;break}}return t}function Ex(e){return e.replace(/&(?:amp|lt|gt|quot|apos);/g,e=>{switch(e){case`&amp;`:return`&`;case`&lt;`:return`<`;case`&gt;`:return`>`;case`&quot;`:return`"`;case`&apos;`:return`'`;default:return e}})}var Dx,Ox=t((()=>{sf(),Dx=new Map([[`colorSeries`,/<x14:colorSeries\b([^/]*)\/>/],[`colorNegative`,/<x14:colorNegative\b([^/]*)\/>/],[`colorAxis`,/<x14:colorAxis\b([^/]*)\/>/],[`colorMarkers`,/<x14:colorMarkers\b([^/]*)\/>/],[`colorFirst`,/<x14:colorFirst\b([^/]*)\/>/],[`colorLast`,/<x14:colorLast\b([^/]*)\/>/],[`colorHigh`,/<x14:colorHigh\b([^/]*)\/>/],[`colorLow`,/<x14:colorLow\b([^/]*)\/>/]])})),kx=t((()=>{Ox()})),Ax,jx=t((()=>{j(),Ax=class extends A{get tag(){return`xm:f`}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=``}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}})),Mx,Nx=t((()=>{Nb(),jx(),Mx=class extends Mb{constructor(){super(),this.map={"xm:f":this.fExtXform=new Ax}}get tag(){return`x14:cfvo`}render(e,t){e.openNode(this.tag,{type:t.type}),t.value!==void 0&&this.fExtXform.render(e,t.value),e.closeNode()}createNewModel(e){return{type:e.attributes.type}}onParserClose(e,t){switch(e){case`xm:f`:this.model.value=t.model?parseFloat(t.model):0;break}}}})),Px,Fx=t((()=>{j(),Nb(),Nx(),t_(),Px=class extends Mb{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new Mx,"x14:borderColor":this.borderColorXform=new e_(`x14:borderColor`),"x14:negativeBorderColor":this.negativeBorderColorXform=new e_(`x14:negativeBorderColor`),"x14:negativeFillColor":this.negativeFillColorXform=new e_(`x14:negativeFillColor`),"x14:axisColor":this.axisColorXform=new e_(`x14:axisColor`)}}static isExt(e){return!0}get tag(){return`x14:dataBar`}render(e,t){e.openNode(this.tag,{minLength:A.toIntAttribute(t.minLength,0,!0),maxLength:A.toIntAttribute(t.maxLength,100,!0),border:A.toBoolAttribute(t.border,!1),gradient:A.toBoolAttribute(t.gradient,!0),negativeBarColorSameAsPositive:A.toBoolAttribute(t.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:A.toBoolAttribute(t.negativeBarBorderColorSameAsPositive,!0),axisPosition:A.toAttribute(t.axisPosition,`auto`),direction:A.toAttribute(t.direction,`leftToRight`)}),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),this.borderColorXform.render(e,t.borderColor),this.negativeBorderColorXform.render(e,t.negativeBorderColor),this.negativeFillColorXform.render(e,t.negativeFillColor),this.axisColorXform.render(e,t.axisColor),e.closeNode()}createNewModel({attributes:e}){return{cfvo:[],minLength:A.toIntValue(e.minLength,0),maxLength:A.toIntValue(e.maxLength,100),border:A.toBoolValue(e.border,!1),gradient:A.toBoolValue(e.gradient,!0),negativeBarColorSameAsPositive:A.toBoolValue(e.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:A.toBoolValue(e.negativeBarBorderColorSameAsPositive,!0),axisPosition:A.toStringValue(e.axisPosition,`auto`),direction:A.toStringValue(e.direction,`leftToRight`)}}onParserClose(e,t){let[,n]=e.split(`:`);switch(n){case`cfvo`:this.model.cfvo.push(t.model);break;default:this.model[n]=t.model;break}}}})),Ix,Lx=t((()=>{j(),Ix=class extends A{get tag(){return`x14:cfIcon`}render(e,t){e.leafNode(this.tag,{iconSet:t.iconSet,iconId:t.iconId})}parseOpen({attributes:e}){this.model={iconSet:e.iconSet,iconId:A.toIntValue(e.iconId)}}parseClose(e){return e!==this.tag}}})),Rx,zx=t((()=>{j(),Nb(),Lx(),Nx(),Rx=class extends Mb{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new Mx,"x14:cfIcon":this.cfIconXform=new Ix}}get tag(){return`x14:iconSet`}render(e,t){e.openNode(this.tag,{iconSet:A.toStringAttribute(t.iconSet),reverse:A.toBoolAttribute(t.reverse,!1),showValue:A.toBoolAttribute(t.showValue,!0),custom:A.toBoolAttribute(t.icons,!1)}),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),t.icons&&t.icons.forEach((t,n)=>{t.iconId=n,this.cfIconXform.render(e,t)}),e.closeNode()}createNewModel({attributes:e}){return{cfvo:[],iconSet:A.toStringValue(e.iconSet,`3TrafficLights`),reverse:A.toBoolValue(e.reverse,!1),showValue:A.toBoolValue(e.showValue,!0)}}onParserClose(e,t){let[,n]=e.split(`:`);switch(n){case`cfvo`:this.model.cfvo.push(t.model);break;case`cfIcon`:this.model.icons||(this.model.icons=[]),this.model.icons.push(t.model);break;default:this.model[n]=t.model;break}}}}));function Bx(e){return e.toString(16).padStart(2,`0`)}function Vx(e){e[6]=e[6]&15|64,e[8]=e[8]&63|128;let t=e;return Bx(t[0])+Bx(t[1])+Bx(t[2])+Bx(t[3])+`-`+Bx(t[4])+Bx(t[5])+`-`+Bx(t[6])+Bx(t[7])+`-`+Bx(t[8])+Bx(t[9])+`-`+Bx(t[10])+Bx(t[11])+Bx(t[12])+Bx(t[13])+Bx(t[14])+Bx(t[15])}function Hx(){let e=globalThis.crypto;if(e?.randomUUID)return e.randomUUID();let t=new Uint8Array(16);if(e?.getRandomValues)return e.getRandomValues(t),Vx(t);for(let e=0;e<t.length;e++)t[e]=Math.floor(Math.random()*256);return Vx(t)}var Ux=t((()=>{})),Wx,Gx,Kx=t((()=>{j(),Nb(),Fx(),zx(),Ux(),Wx={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},Gx=class e extends Mb{constructor(){super(),this.map={"x14:dataBar":this.databarXform=new Px,"x14:iconSet":this.iconSetXform=new Rx}}get tag(){return`x14:cfRule`}static isExt(e){return e.type===`dataBar`?Px.isExt(e):!!(e.type===`iconSet`&&(e.custom||Wx[e.iconSet]))}static prepareRule(t){e.isExt(t)&&!t.x14Id&&(t.x14Id=`{${Hx()}}`.toUpperCase())}prepare(t){e.prepareRule(t)}render(t,n){if(e.isExt(n))switch(n.type){case`dataBar`:this.renderDataBar(t,n);break;case`iconSet`:this.renderIconSet(t,n);break}}renderDataBar(e,t){e.openNode(this.tag,{type:`dataBar`,id:t.x14Id}),this.databarXform.render(e,t),e.closeNode()}renderIconSet(e,t){e.openNode(this.tag,{type:`iconSet`,priority:t.priority,id:t.x14Id??`{${Hx()}}`}),this.iconSetXform.render(e,t),e.closeNode()}createNewModel({attributes:e}){return{type:e.type,x14Id:e.id,priority:A.toIntValue(e.priority)}}onParserClose(e,t){Object.assign(this.model,t.model)}}})),qx,Jx=t((()=>{j(),qx=class extends A{get tag(){return`xm:sqref`}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=``}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}})),Yx,Xx=t((()=>{Nb(),Kx(),Jx(),Yx=class extends Mb{constructor(){super(),this.map={"xm:sqref":this.sqRef=new qx,"x14:cfRule":this.cfRule=new Gx}}get tag(){return`x14:conditionalFormatting`}prepare(e){e.rules.forEach(e=>{this.cfRule.prepare(e)})}render(e,t){t.rules.some(Gx.isExt)&&(e.openNode(this.tag,{"xmlns:xm":`http://schemas.microsoft.com/office/excel/2006/main`}),t.rules.filter(Gx.isExt).forEach(t=>this.cfRule.render(e,t)),this.sqRef.render(e,t.ref),e.closeNode())}createNewModel(){return{rules:[]}}onParserClose(e,t){switch(e){case`xm:sqref`:this.model.ref=t.model;break;case`x14:cfRule`:this.model.rules.push(t.model);break}}}})),Zx,Qx=t((()=>{Nb(),Kx(),Xx(),Zx=class extends Mb{constructor(){super(),this.map={"x14:conditionalFormatting":this.cfXform=new Yx}}get tag(){return`x14:conditionalFormattings`}hasContent(e){return e.hasExtContent===void 0&&(e.hasExtContent=e.some(e=>e.rules.some(Gx.isExt))),e.hasExtContent}prepare(e){e.forEach(e=>{this.cfXform.prepare(e)})}render(e,t){this.hasContent(t)&&(e.openNode(this.tag),t.forEach(t=>this.cfXform.render(e,t)),e.closeNode())}createNewModel(){return[]}onParserClose(e,t){this.model.push(t.model)}}})),$x,eS,tS,nS=t((()=>{kx(),Nb(),Qx(),$x=class extends Mb{constructor(){super(),this.map={"x14:conditionalFormattings":this.conditionalFormattings=new Zx}}get tag(){return`ext`}hasContent(e){return this.conditionalFormattings.hasContent(e.conditionalFormattings)}prepare(e){this.conditionalFormattings.prepare(e.conditionalFormattings)}render(e,t){e.openNode(`ext`,{uri:`{78C0D931-6437-407d-A8EE-F0AAD7539E65}`,"xmlns:x14":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`}),this.conditionalFormattings.render(e,t.conditionalFormattings),e.closeNode()}createNewModel(){return{}}onParserClose(e,t){this.model[e]=t.model}},eS=class{constructor(){this._parsedModel=null}get tag(){return`ext`}hasContent(e){return Array.isArray(e)&&e.length>0}render(e,t){this.hasContent(t)&&(e.openNode(`ext`,{uri:`{05C60535-1F16-4fd2-B633-F4F36F0B64E0}`,"xmlns:x14":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`}),e.writeRaw(yx(t)),e.closeNode())}parse(e){return Cx(e)}},tS=class extends Mb{constructor(){super(),this.sparklineExt=new eS,this.map={ext:this.ext=new $x}}get tag(){return`extLst`}prepare(e,t){this.ext.prepare(e)}hasContent(e){return this.ext.hasContent(e)||this.sparklineExt.hasContent(e?.sparklineGroups)}render(e,t){this.hasContent(t)&&(e.openNode(`extLst`),this.ext.hasContent(t)&&this.ext.render(e,t),this.sparklineExt.hasContent(t?.sparklineGroups)&&this.sparklineExt.render(e,t.sparklineGroups),e.closeNode())}createNewModel(){return{}}onParserClose(e,t){this.model[e]=t.model}}})),rS,iS=t((()=>{j(),rS=class extends A{get tag(){return`headerFooter`}render(e,t){if(!t)return;let n={},r=[];if(t.differentFirst&&(n.differentFirst=`1`),t.differentOddEven&&(n.differentOddEven=`1`),t.oddHeader&&typeof t.oddHeader==`string`&&r.push({name:`oddHeader`,text:t.oddHeader}),t.oddFooter&&typeof t.oddFooter==`string`&&r.push({name:`oddFooter`,text:t.oddFooter}),t.evenHeader&&typeof t.evenHeader==`string`&&r.push({name:`evenHeader`,text:t.evenHeader}),t.evenFooter&&typeof t.evenFooter==`string`&&r.push({name:`evenFooter`,text:t.evenFooter}),t.firstHeader&&typeof t.firstHeader==`string`&&r.push({name:`firstHeader`,text:t.firstHeader}),t.firstFooter&&typeof t.firstFooter==`string`&&r.push({name:`firstFooter`,text:t.firstFooter}),Object.keys(n).length>0||r.length>0){e.openNode(`headerFooter`,n);for(let t of r)e.leafNode(t.name,null,t.text);e.closeNode()}}parseOpen(e){switch(e.name){case`headerFooter`:return this.model={},e.attributes.differentFirst&&(this.model.differentFirst=parseInt(e.attributes.differentFirst,0)===1),e.attributes.differentOddEven&&(this.model.differentOddEven=parseInt(e.attributes.differentOddEven,0)===1),!0;case`oddHeader`:return this.currentNode=`oddHeader`,!0;case`oddFooter`:return this.currentNode=`oddFooter`,!0;case`evenHeader`:return this.currentNode=`evenHeader`,!0;case`evenFooter`:return this.currentNode=`evenFooter`,!0;case`firstHeader`:return this.currentNode=`firstHeader`,!0;case`firstFooter`:return this.currentNode=`firstFooter`,!0;default:return!1}}parseText(e){switch(this.currentNode){case`oddHeader`:this.model.oddHeader=(this.model.oddHeader??``)+e;break;case`oddFooter`:this.model.oddFooter=(this.model.oddFooter??``)+e;break;case`evenHeader`:this.model.evenHeader=(this.model.evenHeader??``)+e;break;case`evenFooter`:this.model.evenFooter=(this.model.evenFooter??``)+e;break;case`firstHeader`:this.model.firstHeader=(this.model.firstHeader??``)+e;break;case`firstFooter`:this.model.firstFooter=(this.model.firstFooter??``)+e;break;default:break}}parseClose(){switch(this.currentNode){case`oddHeader`:case`oddFooter`:case`evenHeader`:case`evenFooter`:case`firstHeader`:case`firstFooter`:return this.currentNode=void 0,!0;default:return!1}}}})),aS,oS,sS=t((()=>{j(),aS=[`numberStoredAsText`,`formula`,`formulaRange`,`unlockedFormula`,`emptyCellReference`,`listDataValidation`,`calculatedColumn`,`evalError`,`twoDigitTextYear`],oS=class extends A{get tag(){return`ignoredErrors`}render(e,t){if(!(!t||t.length===0)){e.openNode(`ignoredErrors`);for(let n of t){let t={sqref:n.ref};for(let e of aS)n[e]&&(t[e]=1);e.leafNode(`ignoredError`,t)}e.closeNode()}}parseOpen(e){switch(e.name){case`ignoredErrors`:return this.model=[],!0;case`ignoredError`:{let t={ref:e.attributes.sqref??``};for(let n of aS)(e.attributes[n]===`1`||e.attributes[n]===`true`)&&(t[n]=!0);return this.model.push(t),!0}default:return!0}}parseText(){}parseClose(e){switch(e){case`ignoredErrors`:return!1;default:return!0}}}})),cS,lS=t((()=>{j(),cS=class extends A{get tag(){return`pageMargins`}render(e,t){if(t){let n={left:t.left,right:t.right,top:t.top,bottom:t.bottom,header:t.header,footer:t.footer};Object.values(n).some(e=>e!==void 0)&&e.leafNode(this.tag,n)}}parseOpen(e){switch(e.name){case this.tag:return this.model={left:parseFloat(e.attributes.left||.7),right:parseFloat(e.attributes.right||.7),top:parseFloat(e.attributes.top||.75),bottom:parseFloat(e.attributes.bottom||.75),header:parseFloat(e.attributes.header||.3),footer:parseFloat(e.attributes.footer||.3)},!0;default:return!1}}parseText(){}parseClose(){return!1}}}));function uS(e){return e?`1`:void 0}function dS(e){switch(e){case`overThenDown`:return e;default:return}}function fS(e){switch(e){case`atEnd`:case`asDisplyed`:return e;default:return}}function pS(e){switch(e){case`dash`:case`blank`:case`NA`:return e;default:return}}function mS(e){return e===void 0?void 0:parseInt(e,10)}var hS,gS=t((()=>{j(),hS=class extends A{get tag(){return`pageSetup`}_dpiToXml(e){if(e!==void 0&&Number.isFinite(e)&&e!==4294967295)return e}render(e,t){if(t){let n={paperSize:t.paperSize,orientation:t.orientation,horizontalDpi:this._dpiToXml(t.horizontalDpi),verticalDpi:this._dpiToXml(t.verticalDpi),pageOrder:dS(t.pageOrder),blackAndWhite:uS(t.blackAndWhite),draft:uS(t.draft),cellComments:fS(t.cellComments),errors:pS(t.errors),scale:t.scale===100?void 0:t.scale,fitToWidth:t.fitToWidth===1?void 0:t.fitToWidth,fitToHeight:t.fitToHeight===1?void 0:t.fitToHeight,firstPageNumber:t.firstPageNumber,useFirstPageNumber:uS(!!t.firstPageNumber),usePrinterDefaults:uS(t.usePrinterDefaults),copies:t.copies};Object.values(n).some(e=>e!==void 0)&&e.leafNode(this.tag,n)}}parseOpen(e){switch(e.name){case this.tag:return this.model={paperSize:mS(e.attributes.paperSize),orientation:e.attributes.orientation??`portrait`,horizontalDpi:parseInt(e.attributes.horizontalDpi??`4294967295`,10),verticalDpi:parseInt(e.attributes.verticalDpi??`4294967295`,10),pageOrder:e.attributes.pageOrder??`downThenOver`,blackAndWhite:e.attributes.blackAndWhite===`1`,draft:e.attributes.draft===`1`,cellComments:e.attributes.cellComments??`None`,errors:e.attributes.errors??`displayed`,scale:parseInt(e.attributes.scale??`100`,10),fitToWidth:parseInt(e.attributes.fitToWidth??`1`,10),fitToHeight:parseInt(e.attributes.fitToHeight??`1`,10),firstPageNumber:parseInt(e.attributes.firstPageNumber??`1`,10),useFirstPageNumber:e.attributes.useFirstPageNumber===`1`,usePrinterDefaults:e.attributes.usePrinterDefaults===`1`,copies:parseInt(e.attributes.copies??`1`,10)},!0;default:return!1}}parseText(){}parseClose(){return!1}}})),_S,vS=t((()=>{j(),_S=class extends A{get tag(){return`picture`}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes[`r:id`]},!0;default:return!1}}parseText(){}parseClose(){return!1}}})),yS,bS=t((()=>{jg(),ax(),yS=class extends Ag{constructor(){super({tag:`rowBreaks`,count:!0,childXform:new ix})}render(e,t){if(t&&t.length){e.openNode(this.tag,this.$),e.addAttribute(this.$count,t.length),e.addAttribute(`manualBreakCount`,t.length);let{childXform:n}=this;for(let r of t)n.render(e,r);e.closeNode()}}}}));function xS(e){if(e==null)return 0;if(e instanceof String||typeof e==`string`)return 3;if(typeof e==`number`)return 2;if(typeof e==`boolean`)return 9;if(e instanceof Date)return 4;if(e.text&&e.hyperlink)return 5;if(e.formula)return 6;if(e.error)return 10;throw new Qi(typeof e,`Could not understand type of value`)}function SS(e){switch(e.type){case 6:return xS(e.result);default:return e.type}}function CS(e){if(e==null)return{text:``};if(typeof e==`string`)return{text:e};if(typeof e==`number`||typeof e==`boolean`)return{text:String(e)};if(typeof e==`object`){let t=e;if(Array.isArray(t.richText)){if(t.richText.length===0)return{text:``};let e=t.richText.map(e=>{let t=e,n={text:typeof t?.text==`string`?t.text:``};return t?.font!==null&&typeof t?.font==`object`&&(n.font=t.font),n});return{text:e.map(e=>e.text).join(``),richText:e}}if(typeof t.error==`string`)return{text:t.error}}return{text:String(e)}}var wS,TS=t((()=>{pu(),la(),pa(),j(),Vy(),Hf(),wS=class extends A{constructor(){super(),this.richTextXform=new By}get tag(){return`c`}prepare(e,t){let n=t.styles.addStyleModel(e.style||{},SS(e));switch(n&&(e.styleId=n),e.comment&&t.comments.push({...e.comment,ref:e.address}),e.type){case 3:case 8:t.sharedStrings&&(e.ssId=t.sharedStrings.add(e.value));break;case 4:t.date1904&&(e.date1904=!0);break;case 5:t.sharedStrings&&(Array.isArray(e.richText)&&e.richText.length>0?e.ssId=t.sharedStrings.add({richText:e.richText}):e.text!==void 0&&e.text!==null&&(e.ssId=t.sharedStrings.add(e.text))),t.hyperlinks.push({address:e.address,target:e.hyperlink,tooltip:e.tooltip});break;case 1:t.merges.add(e);break;case 6:if(t.date1904&&(e.date1904=!0),e.isDynamicArray&&(e.cm=1),e.hyperlink&&t.hyperlinks.push({address:e.address,target:e.hyperlink,tooltip:e.tooltip}),e.shareType===`shared`&&(e.si=t.siFormulae++),e.formula)t.formulae[e.address]=e;else if(e.sharedFormula){let n=t.formulae[e.sharedFormula];if(!n)throw new Ki(`Shared Formula master must exist above and or left of clone for cell ${e.address}`);n.si===void 0?(n.shareType=`shared`,n.si=t.siFormulae++,n.range=new fa(n.address,e.address)):n.range&&n.range.expandToAddress(e.address),e.si=n.si}break;default:break}}renderFormula(e,t){let n=null;switch(t.shareType){case`shared`:n={t:`shared`,ref:t.ref||t.range.range,si:t.si};break;case`array`:n={t:`array`,ref:t.ref};break;default:t.si!==void 0&&(n={t:`shared`,si:t.si});break}switch(xS(t.result)){case 0:e.leafNode(`f`,n,t.formula);break;case 3:e.addAttribute(`t`,`str`),e.leafNode(`f`,n,t.formula),e.leafNode(`v`,null,t.result);break;case 2:e.leafNode(`f`,n,t.formula),e.leafNode(`v`,null,t.result);break;case 9:e.addAttribute(`t`,`b`),e.leafNode(`f`,n,t.formula),e.leafNode(`v`,null,+!!t.result);break;case 10:e.addAttribute(`t`,`e`),e.leafNode(`f`,n,t.formula),e.leafNode(`v`,null,t.result.error);break;case 4:e.leafNode(`f`,n,t.formula),e.leafNode(`v`,null,lf(t.result,t.date1904));break;default:throw new Qi(String(xS(t.result)),`Could not understand type of value`)}}render(e,t){if(!(t.type===0&&!t.styleId)){switch(e.openNode(`c`),e.addAttribute(`r`,t.address),t.styleId&&e.addAttribute(`s`,t.styleId),t.cm&&e.addAttribute(`cm`,t.cm),t.type){case 0:break;case 2:e.leafNode(`v`,null,t.value);break;case 9:e.addAttribute(`t`,`b`),e.leafNode(`v`,null,t.value?`1`:`0`);break;case 12:e.addAttribute(`t`,`b`),e.leafNode(`v`,null,t.value?`1`:`0`);break;case 10:e.addAttribute(`t`,`e`),e.leafNode(`v`,null,t.value.error);break;case 3:case 8:t.ssId===void 0?t.value&&t.value.richText?(e.addAttribute(`t`,`inlineStr`),e.openNode(`is`),t.value.richText.forEach(t=>{this.richTextXform.render(e,t)}),e.closeNode(`is`)):(e.addAttribute(`t`,`str`),e.leafNode(`v`,null,t.value)):(e.addAttribute(`t`,`s`),e.leafNode(`v`,null,t.ssId));break;case 4:e.leafNode(`v`,null,lf(t.value,t.date1904));break;case 5:t.formula||t.sharedFormula?this.renderFormula(e,t):t.ssId===void 0?Array.isArray(t.richText)&&t.richText.length>0?(e.addAttribute(`t`,`inlineStr`),e.openNode(`is`),t.richText.forEach(t=>{this.richTextXform.render(e,t)}),e.closeNode(`is`)):(e.addAttribute(`t`,`str`),e.leafNode(`v`,null,t.text)):(e.addAttribute(`t`,`s`),e.leafNode(`v`,null,t.ssId));break;case 6:this.renderFormula(e,t);break;case 1:break;default:break}e.closeNode()}}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case`c`:return this.model={address:e.attributes.r},this.t=e.attributes.t,e.attributes.s&&(this.model.styleId=parseInt(e.attributes.s,10)),e.attributes.cm&&(this.model.cm=parseInt(e.attributes.cm,10)),!0;case`f`:return this.currentNode=`f`,this.model.si=e.attributes.si,this.model.shareType=e.attributes.t,this.model.ref=e.attributes.ref,!0;case`v`:return this.currentNode=`v`,!0;case`t`:return this.currentNode=`t`,!0;case`r`:return this.parser=this.richTextXform,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){if(this.parser){this.parser.parseText(e);return}switch(this.currentNode){case`f`:this.model.formula=this.model.formula?this.model.formula+e:e;break;case`v`:case`t`:this.model.value&&this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+e:e:this.model.value=this.model.value?this.model.value+e:e;break;default:break}}parseClose(e){switch(e){case`c`:{let{model:e}=this;if(e.formula||e.shareType)e.type=6,e.value&&=(this.t===`str`?e.result=e.value:this.t===`b`?e.result=parseInt(e.value,10)!==0:this.t===`e`?e.result={error:e.value}:e.result=parseFloat(e.value),void 0);else if(e.value!==void 0)switch(this.t){case`s`:e.type=3,e.value=parseInt(e.value,10);break;case`str`:e.type=3;break;case`inlineStr`:e.type=3,typeof e.value==`string`&&e.value.includes(`_x`)&&(e.value=ff(e.value));break;case`b`:e.type=9,e.value=parseInt(e.value,10)!==0;break;case`e`:e.type=10,e.value={error:e.value};break;case`d`:e.type=4,e.value=new Date(e.value);break;default:e.type=2,e.value=parseFloat(e.value);break}else e.styleId?e.type=0:e.type=1;return!1}case`f`:case`v`:case`is`:return this.currentNode=void 0,!0;case`t`:return this.parser?(this.parser.parseClose(e),!0):(this.currentNode=void 0,!0);case`r`:return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText??[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return this.parser?(this.parser.parseClose(e),!0):!1}}reconcile(e,t){let n=e.styleId!==void 0&&t.styles&&t.styles.getStyleModel(e.styleId);switch(n&&(e.style=n),e.styleId!==void 0&&(e.styleId=void 0),e.type){case 3:if(typeof e.value==`number`&&t.sharedStrings){let n=e.value;if(e.value=t.sharedStrings.getString(n),e.value===void 0)throw new Ki(`Invalid shared string index ${n} in cell ${e.address}: the xlsx file appears to be corrupted`)}e.value&&e.value.richText&&(e.type=8);break;case 2:n&&_f(n.numFmt)&&(e.type=4,e.value=uf(e.value,t.date1904));break;case 6:e.result!==void 0&&typeof e.result==`number`&&n&&_f(n.numFmt)&&(e.result=uf(e.result,t.date1904)),e.shareType===`shared`&&(e.ref?t.formulae[e.si]=e.address:(e.sharedFormula=t.formulae[e.si],delete e.shareType),delete e.si),e.cm&&(t.dynamicArrayCmIndices?t.dynamicArrayCmIndices.has(e.cm)&&(e.isDynamicArray=!0):t.hasDynamicArrayMetadata&&(e.isDynamicArray=!0)),delete e.cm;break;default:break}let r=t.hyperlinkMap[e.address];if(r){let t;e.type===6?t=e.result:(t=e.value,e.value=void 0);let n=CS(t);e.text=n.text,n.richText?e.richText=n.richText:delete e.richText,e.type=5,e.hyperlink=r}let i=t.commentsMap&&t.commentsMap[e.address];i&&(e.comment=i)}}})),ES,DS=t((()=>{la(),da(),j(),TS(),Hf(),ES=class extends A{constructor(e){super(),this.maxItems=e&&e.maxItems,this.map={c:new wS}}get tag(){return`row`}reset(){super.reset(),this.numRowsSeen=0,this.lastCellCol=0}prepare(e,t){let n=t.styles.addStyleModel(e.style);n&&(e.styleId=n);let r=this.map.c;e.cells.forEach(e=>{r.prepare(e,t)})}render(e,t,n){if(!t)return;e.openNode(`row`),e.addAttribute(`r`,t.number),t.height!=null&&t.height>0?(e.addAttribute(`ht`,t.height),t.customHeight!==!1&&e.addAttribute(`customHeight`,`1`)):t.height===0&&e.addAttribute(`ht`,1),t.hidden&&e.addAttribute(`hidden`,`1`),t.min>0&&t.max>0&&t.min<=t.max&&e.addAttribute(`spans`,`${t.min}:${t.max}`),t.styleId&&(e.addAttribute(`s`,t.styleId),e.addAttribute(`customFormat`,`1`)),t.dyDescent!==void 0&&e.addAttribute(`x14ac:dyDescent`,t.dyDescent),t.outlineLevel&&e.addAttribute(`outlineLevel`,t.outlineLevel),t.collapsed&&e.addAttribute(`collapsed`,`1`);let r=this.map.c;t.cells.forEach(t=>{r.render(e,t,n)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if(e.name===`row`){this.numRowsSeen+=1,this.lastCellCol=0;let t=e.attributes.spans,n,r;if(t){let e=t.indexOf(`:`);n=parseInt(t,10),r=e>-1?parseInt(t.substring(e+1),10):void 0}let i=e.attributes.r?parseInt(e.attributes.r,10):this.numRowsSeen,a=this.model={number:i,min:n,max:r,cells:[]};return e.attributes.s&&(a.styleId=parseInt(e.attributes.s,10)),vf(e.attributes.hidden)&&(a.hidden=!0),vf(e.attributes.bestFit)&&(a.bestFit=!0),e.attributes.ht&&(a.height=parseFloat(e.attributes.ht)),vf(e.attributes.customHeight)&&(a.customHeight=!0),e.attributes.outlineLevel&&(a.outlineLevel=parseInt(e.attributes.outlineLevel,10)),vf(e.attributes.collapsed)&&(a.collapsed=!0),e.attributes[`x14ac:dyDescent`]!==void 0&&(a.dyDescent=parseFloat(e.attributes[`x14ac:dyDescent`])),!0}return this.parser=this.map[e.name],this.parser?(this.parser.parseOpen(e),!0):!1}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){let e=this.parser.model;if(e.address?this.lastCellCol=E.decodeCol(e.address):(this.lastCellCol+=1,e.address=E.encodeAddress(this.model.number,this.lastCellCol)),this.model.cells.push(e),this.maxItems&&this.model.cells.length>this.maxItems)throw new ca(`column`,this.maxItems);this.parser=void 0}return!0}return!1}reconcile(e,t){e.style=e.styleId===void 0?{}:t.styles.getStyleModel(e.styleId),e.styleId!==void 0&&(e.styleId=void 0);let n=this.map.c;e.cells.forEach(e=>{n.reconcile(e,t)})}}})),OS,kS=t((()=>{j(),OS=class extends A{get tag(){return`sheetFormatPr`}render(e,t){if(t){let n={defaultRowHeight:t.defaultRowHeight,outlineLevelRow:t.outlineLevelRow||void 0,outlineLevelCol:t.outlineLevelCol||void 0,"x14ac:dyDescent":t.dyDescent!==void 0&&t.dyDescent!==0?t.dyDescent:void 0};t.defaultColWidth&&(n.defaultColWidth=t.defaultColWidth),t.customHeight&&(n.customHeight=`1`),Object.values(n).some(e=>e!==void 0)&&e.leafNode(`sheetFormatPr`,n)}}parseOpen(e){return e.name===`sheetFormatPr`?(this.model={defaultRowHeight:parseFloat(e.attributes.defaultRowHeight??`0`),dyDescent:e.attributes[`x14ac:dyDescent`]===void 0?void 0:parseFloat(e.attributes[`x14ac:dyDescent`]),outlineLevelRow:parseInt(e.attributes.outlineLevelRow??`0`,10),outlineLevelCol:parseInt(e.attributes.outlineLevelCol??`0`,10)},e.attributes.defaultColWidth&&(this.model.defaultColWidth=parseFloat(e.attributes.defaultColWidth)),e.attributes.customHeight===`1`&&(this.model.customHeight=!0),!0):!1}parseText(){}parseClose(){return!1}}})),AS,jS,MS=t((()=>{j(),AS=e=>e!==void 0,jS=class extends A{get tag(){return`outlinePr`}render(e,t){return t&&(AS(t.summaryBelow)||AS(t.summaryRight))?(e.leafNode(this.tag,{summaryBelow:AS(t.summaryBelow)?Number(t.summaryBelow):void 0,summaryRight:AS(t.summaryRight)?Number(t.summaryRight):void 0}),!0):!1}parseOpen(e){return e.name===this.tag?(this.model={summaryBelow:AS(e.attributes.summaryBelow)?!!Number(e.attributes.summaryBelow):void 0,summaryRight:AS(e.attributes.summaryRight)?!!Number(e.attributes.summaryRight):void 0},!0):!1}parseText(){}parseClose(){return!1}}})),NS,PS=t((()=>{j(),NS=class extends A{get tag(){return`pageSetUpPr`}render(e,t){return t&&t.fitToPage?(e.leafNode(this.tag,{fitToPage:t.fitToPage?`1`:void 0}),!0):!1}parseOpen(e){return e.name===this.tag?(this.model={fitToPage:e.attributes.fitToPage===`1`},!0):!1}parseText(){}parseClose(){return!1}}})),FS,IS=t((()=>{j(),MS(),PS(),t_(),FS=class extends A{constructor(){super(),this.map={tabColor:new e_(`tabColor`),pageSetUpPr:new NS,outlinePr:new jS}}get tag(){return`sheetPr`}render(e,t){if(!t)return;let n=!!t.tabColor,r=!!(t.pageSetup&&t.pageSetup.fitToPage),i=t.outlineProperties!==void 0&&t.outlineProperties!==null&&(t.outlineProperties.summaryBelow!==void 0||t.outlineProperties.summaryRight!==void 0);(n||r||i)&&(e.openNode(`sheetPr`),this.map.tabColor.render(e,t.tabColor),this.map.pageSetUpPr.render(e,t.pageSetup),this.map.outlinePr.render(e,t.outlineProperties),e.closeNode())}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag?(this.reset(),!0):this.map[e.name]?(this.parser=this.map[e.name],this.parser.parseOpen(e),!0):!1}parseText(e){return this.parser?(this.parser.parseText(e),!0):!1}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&&(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&&(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&&(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}}}));function LS(e,t){return e?t:void 0}function RS(e,t){return e===t?!0:void 0}var zS,BS=t((()=>{j(),zS=class extends A{get tag(){return`sheetProtection`}render(e,t){if(t){let n={sheet:LS(t.sheet,`1`),selectLockedCells:t.selectLockedCells===!1?`1`:void 0,selectUnlockedCells:t.selectUnlockedCells===!1?`1`:void 0,formatCells:LS(t.formatCells,`0`),formatColumns:LS(t.formatColumns,`0`),formatRows:LS(t.formatRows,`0`),insertColumns:LS(t.insertColumns,`0`),insertRows:LS(t.insertRows,`0`),insertHyperlinks:LS(t.insertHyperlinks,`0`),deleteColumns:LS(t.deleteColumns,`0`),deleteRows:LS(t.deleteRows,`0`),sort:LS(t.sort,`0`),autoFilter:LS(t.autoFilter,`0`),pivotTables:LS(t.pivotTables,`0`)};t.sheet&&(n.algorithmName=t.algorithmName,n.hashValue=t.hashValue,n.saltValue=t.saltValue,n.spinCount=t.spinCount,n.objects=LS(t.objects===!1,`1`),n.scenarios=LS(t.scenarios===!1,`1`)),Object.values(n).some(e=>e!==void 0)&&e.leafNode(this.tag,n)}}parseOpen(e){switch(e.name){case this.tag:return this.model={sheet:RS(e.attributes.sheet,`1`),objects:e.attributes.objects===`1`?!1:void 0,scenarios:e.attributes.scenarios===`1`?!1:void 0,selectLockedCells:e.attributes.selectLockedCells===`1`?!1:void 0,selectUnlockedCells:e.attributes.selectUnlockedCells===`1`?!1:void 0,formatCells:RS(e.attributes.formatCells,`0`),formatColumns:RS(e.attributes.formatColumns,`0`),formatRows:RS(e.attributes.formatRows,`0`),insertColumns:RS(e.attributes.insertColumns,`0`),insertRows:RS(e.attributes.insertRows,`0`),insertHyperlinks:RS(e.attributes.insertHyperlinks,`0`),deleteColumns:RS(e.attributes.deleteColumns,`0`),deleteRows:RS(e.attributes.deleteRows,`0`),sort:RS(e.attributes.sort,`0`),autoFilter:RS(e.attributes.autoFilter,`0`),pivotTables:RS(e.attributes.pivotTables,`0`)},e.attributes.algorithmName&&(this.model.algorithmName=e.attributes.algorithmName,this.model.hashValue=e.attributes.hashValue,this.model.saltValue=e.attributes.saltValue,this.model.spinCount=parseInt(e.attributes.spinCount,10)),!0;default:return!1}}parseText(){}parseClose(){return!1}}})),VS,HS,US=t((()=>{da(),j(),VS={frozen:`frozen`,frozenSplit:`frozen`,split:`split`},HS=class extends A{get tag(){return`sheetView`}prepare(e){switch(e.state){case`frozen`:case`split`:break;default:e.state=`normal`;break}}render(e,t){let n={};t.tabSelected&&(n.tabSelected=`1`),n.workbookViewId=t.workbookViewId??0,e.openNode(`sheetView`,n);let r=function(t,n,r){r&&e.addAttribute(t,n)};r(`rightToLeft`,`1`,t.rightToLeft===!0),r(`showRuler`,`0`,t.showRuler===!1),r(`showRowColHeaders`,`0`,t.showRowColHeaders===!1),r(`showGridLines`,`0`,t.showGridLines===!1),r(`zoomScale`,t.zoomScale,t.zoomScale!==void 0&&t.zoomScale!==100),r(`zoomScaleNormal`,t.zoomScaleNormal,t.zoomScaleNormal!==void 0&&t.zoomScaleNormal!==100),r(`view`,t.style,t.style);let i,a,o,s;switch(t.state){case`frozen`:a=t.xSplit??0,o=t.ySplit??0,i=t.topLeftCell||E.getAddress(o+1,a+1).address,s=t.xSplit&&t.ySplit&&`bottomRight`||t.xSplit&&`topRight`||`bottomLeft`,e.leafNode(`pane`,{xSplit:t.xSplit||void 0,ySplit:t.ySplit||void 0,topLeftCell:i,activePane:s,state:`frozen`}),e.leafNode(`selection`,{pane:s,activeCell:t.activeCell,sqref:t.activeCell});break;case`split`:t.activePane===`topLeft`&&(t.activePane=void 0),e.leafNode(`pane`,{xSplit:t.xSplit||void 0,ySplit:t.ySplit||void 0,topLeftCell:t.topLeftCell,activePane:t.activePane}),e.leafNode(`selection`,{pane:t.activePane,activeCell:t.activeCell,sqref:t.activeCell});break;case`normal`:t.activeCell&&e.leafNode(`selection`,{activeCell:t.activeCell,sqref:t.activeCell});break;default:break}e.closeNode()}parseOpen(e){switch(e.name){case`sheetView`:return this.sheetView={workbookViewId:parseInt(e.attributes.workbookViewId,10),rightToLeft:e.attributes.rightToLeft===`1`,tabSelected:e.attributes.tabSelected===`1`,showRuler:e.attributes.showRuler!==`0`,showRowColHeaders:e.attributes.showRowColHeaders!==`0`,showGridLines:e.attributes.showGridLines!==`0`,zoomScale:parseInt(e.attributes.zoomScale??`100`,10),zoomScaleNormal:parseInt(e.attributes.zoomScaleNormal??`100`,10),style:e.attributes.view},this.pane=void 0,this.selections={},!0;case`pane`:return this.pane={xSplit:parseInt(e.attributes.xSplit??`0`,10),ySplit:parseInt(e.attributes.ySplit??`0`,10),topLeftCell:e.attributes.topLeftCell,activePane:e.attributes.activePane??`topLeft`,state:e.attributes.state},!0;case`selection`:{let t=e.attributes.pane??`topLeft`;return this.selections[t]={pane:t,activeCell:e.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose(e){let t,n;switch(e){case`sheetView`:return this.sheetView&&this.pane?(t=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,tabSelected:this.sheetView.tabSelected,state:VS[this.pane.state]??`split`,xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state===`split`&&(t.activePane=this.pane.activePane),n=this.selections[this.pane.activePane],n&&n.activeCell&&(t.activeCell=n.activeCell),this.sheetView.style&&(t.style=this.sheetView.style)):(t=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,tabSelected:this.sheetView.tabSelected,state:`normal`,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},n=this.selections.topLeft,n&&n.activeCell&&(t.activeCell=n.activeCell),this.sheetView.style&&(t.style=this.sheetView.style)),!1;default:return!0}}reconcile(){}}})),WS,GS,KS,qS=t((()=>{Fy(),Bd(),Ly(),la(),pa(),Wp(),ib(),ub(),da(),_b(),bb(),ng(),Tb(),kb(),mu(),jg(),jb(),rx(),sx(),lx(),mx(),gx(),nS(),iS(),sb(),sS(),lS(),gS(),vS(),bS(),DS(),kS(),IS(),BS(),US(),WS=new Db,GS={dataValidations:new px,sheetProperties:new FS,sheetFormatProperties:new OS,columns:new Ag({tag:`cols`,count:!1,childXform:new cx}),row:new ES,hyperlinks:new Ag({tag:`hyperlinks`,count:!1,childXform:new ob}),sheetViews:new Ag({tag:`sheetViews`,count:!1,childXform:new HS}),sheetProtection:new zS,pageMargins:new cS,pageSeteup:new hS,autoFilter:new Ab,picture:new _S,drawing:new hx,conditionalFormattings:new nx,extLst:new tS,ignoredErrors:new oS,headerFooter:new rS,rowBreaks:new yS,colBreaks:new ox},KS=class{constructor(e){this.id=e.id,this.name=e.name||`Sheet${this.id}`,this.state=e.state??`visible`,this._rows=[],this._columns=[],this._keys={},this._merges=[],this._merges.add=function(){},this._sheetRelsWriter=new lb(e),this._sheetCommentsWriter=new rb(this,this._sheetRelsWriter,e),this._dimensions=new fa,this._rowZero=1,this._rowOffset=0,this.committed=!1,this.dataValidations=new Iy,this._formulae={},this._siFormulae=0,this.conditionalFormatting=[],this.ignoredErrors=[],this.rowBreaks=[],this.colBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,outlineLevelCol:0,outlineLevelRow:0},e.properties),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},e.headerFooter),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:`portrait`,horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!(e.pageSetup&&(e.pageSetup.fitToWidth||e.pageSetup.fitToHeight)&&!e.pageSetup.scale),pageOrder:`downThenOver`,blackAndWhite:!1,draft:!1,cellComments:`None`,errors:`displayed`,scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},e.pageSetup),this.useSharedStrings=e.useSharedStrings??!1,this._workbook=e.workbook,this.hasComments=!1,this._views=e.views??[],this.autoFilter=e.autoFilter??null,this._media=[],this._watermark=null,this.sheetProtection=null,this._writeOpenWorksheet(),this.startedData=!1}get workbook(){return this._workbook}get stream(){return this._stream||=this._workbook._openStream(bm(this.id)),this._stream}destroy(){throw new na(`destroy`,`Invalid operation for a streaming writer`)}commit(){if(!this.committed){for(let e=this._rowOffset;e<this._rows.length;e++){let t=this._rows[e];t&&this._writeRow(t)}this._rows=null,this.startedData||this._writeOpenSheetData(),this._writeCloseSheetData(),this._writeSheetProtection(),this._writeAutoFilter(),this._writeMergeCells(),this._writeHyperlinks(),this._writeConditionalFormatting(),this._writeDataValidations(),this._writePageMargins(),this._writePageSetup(),this._writeHeaderFooter(),this._writeRowBreaks(),this._writeColBreaks(),this._writeDrawing(),this._writeBackground(),this._writeLegacyData(),this._writeIgnoredErrors(),this._writeExtLst(),this._writeCloseWorksheet(),this.stream.end(),this._sheetCommentsWriter.commit(),this._sheetRelsWriter.commit(),this.committed=!0}}get dimensions(){return this._dimensions}get views(){return this._views}get columns(){return this._columns}set columns(e){this._headerRowCount=e.reduce((e,t)=>{let n=t.header&&1||t.headers&&t.headers.length||0;return Math.max(e,n)},0);let t=1,n=this._columns=[];e.forEach(e=>{let r=new zd(this,t++,!1);n.push(r),r.defn=e})}getColumnKey(e){return this._keys[e]}setColumnKey(e,t){this._keys[e]=t}deleteColumnKey(e){delete this._keys[e]}eachColumnKey(e){Object.keys(this._keys).forEach(t=>e(this._keys[t],t))}getColumn(e){if(typeof e==`string`){let t=this._keys[e];if(t)return t;e=E.l2n(e)}if(e>this._columns.length){let t=this._columns.length+1;for(;t<=e;)this._columns.push(new zd(this,t++))}return this._columns[e-1]}get _nextRow(){return this._rowZero+(this._rows.length-this._rowOffset)}eachRow(e,t){let n,r;if(typeof e==`function`?(n=e,r=void 0):(n=t,r=e),r&&r.includeEmpty){let e=this._nextRow;for(let t=this._rowZero;t<e;t++)n(this.getRow(t),t)}else this._rows.forEach(e=>{e&&e.hasValues&&n(e,e.number)})}_commitRow(e){let t=!1,n=this._rows;for(;this._rowOffset<n.length&&!t;){let r=n[this._rowOffset];n[this._rowOffset]=void 0,this._rowOffset++,this._rowZero++,r&&(this._writeRow(r),t=r.number===e.number,this._rowZero=r.number+1),this._rowOffset>1024&&this._rowOffset>n.length>>1&&(n.splice(0,this._rowOffset),this._rowOffset=0)}}get lastRow(){let e=this._rows;for(let t=e.length-1;t>=this._rowOffset;t--){let n=e[t];if(n)return n}}findRow(e){let t=e-this._rowZero+this._rowOffset;return this._rows[t]}getRow(e){let t=e-this._rowZero+this._rowOffset;if(t<this._rowOffset)throw new Xi(e,`this row has been committed`);let n=this._rows[t];return n||(this._rows[t]=n=new Up(this,e)),n}addRow(e){let t=new Up(this,this._nextRow);return this._rows[t.number-this._rowZero+this._rowOffset]=t,t.values=e,t}addRows(e){return e.map(e=>this.addRow(e))}findCell(e,t){let n=E.getAddress(e,t),r=this.findRow(n.row);return r?r.findCell(n.col):void 0}getCell(e,t){let n=E.getAddress(e,t);return this.getRow(n.row).getCellEx(n)}mergeCells(...e){let t=new fa(e);this._merges.forEach(e=>{if(e.intersects(t))throw new Zi});let{top:n,left:r,bottom:i,right:a}=t,o=vb(n,r,i,a,(e,t)=>this.findCell(e,t)),s=this.getCell(n,r);for(let e=n;e<=i;e++)for(let t=r;t<=a;t++)(e>n||t>r)&&this.getCell(e,t).merge(s);o&&yb(n,r,i,a,o,(e,t)=>this.getCell(e,t)),this._merges.push(t)}addConditionalFormatting(e){this.conditionalFormatting.push(e)}removeConditionalFormatting(e){typeof e==`number`?this.conditionalFormatting.splice(e,1):typeof e==`function`?this.conditionalFormatting=this.conditionalFormatting.filter(t=>!e(t)):this.conditionalFormatting=[]}addBackgroundImage(e){let t=this._workbook.getImage(Number(e));if(t&&fb(t))throw new sa(`Background images cannot be external (linked) images. Use an embedded image (buffer/base64/filename). External images are only supported for cell pictures and overlay watermarks.`);this._background={imageId:Number(e)}}getBackgroundImageId(){return this._background&&this._background.imageId}addImage(e,t){let n=this._parseImageRange(String(e),t);this._media.push(n)}getImages(){return this._media}addWatermark(e){let t=e.mode??`overlay`;if(t===`header`){let t=this._workbook.getImage(Number(e.imageId));if(t&&fb(t))throw new sa(`Header watermark images cannot be external (linked) images. Use an embedded image (buffer/base64/filename), or use overlay mode for linked images.`)}this._media=this._media.filter(e=>e._watermarkTag!==!0);let n=e.opacity===void 0?.15:Math.max(0,Math.min(1,e.opacity));if(this._watermark={imageId:String(e.imageId),mode:t,opacity:n,headerWidth:e.headerWidth,headerHeight:e.headerHeight,applyTo:e.applyTo},this._watermark.mode===`overlay`){let t={type:`image`,imageId:String(e.imageId),range:{tl:{nativeCol:0,nativeColOff:0,nativeRow:0,nativeRowOff:0},br:{nativeCol:100,nativeColOff:0,nativeRow:200,nativeRowOff:0},editAs:`absolute`},_watermarkTag:!0,opacity:n};this._media.push(t)}}getWatermark(){return this._watermark}removeWatermark(){this._watermark=null,this._media=this._media.filter(e=>e._watermarkTag!==!0)}_parseImageRange(e,t){if(typeof t==`string`){let n=E.decode(t);if(`top`in n)return{type:`image`,imageId:e,range:{tl:new Py(this,{col:n.left,row:n.top},-1).model,br:new Py(this,{col:n.right,row:n.bottom},0).model,editAs:`oneCell`}};throw Error(`Invalid image range: "${t}". Expected a range like "A1:C3".`)}if(`pos`in t&&t.pos)return{type:`image`,imageId:e,range:{tl:{nativeCol:0,nativeColOff:0,nativeRow:0,nativeRowOff:0},ext:t.ext,pos:t.pos},hyperlinks:t.hyperlinks};let n=t;return{type:`image`,imageId:e,range:{tl:new Py(this,n.tl,0).model,br:n.br?new Py(this,n.br,0).model:void 0,ext:n.ext,editAs:n.editAs},hyperlinks:n.hyperlinks}}async protect(e,t){this.sheetProtection={sheet:!0},this.sheetProtection=await wb(e,t)}unprotect(){this.sheetProtection=null}_write(e){WS.reset(),WS.addText(e),this.stream.write(WS)}_writeSheetProperties(e,t,n){let r={outlineProperties:t&&t.outlineProperties,tabColor:t&&t.tabColor,pageSetup:n&&n.fitToPage?{fitToPage:n.fitToPage}:void 0};e.addText(GS.sheetProperties.toXml(r))}_writeSheetFormatProperties(e,t){let n=t?{defaultRowHeight:t.defaultRowHeight,dyDescent:t.dyDescent,outlineLevelCol:t.outlineLevelCol,outlineLevelRow:t.outlineLevelRow}:void 0;t&&t.defaultColWidth&&(n.defaultColWidth=t.defaultColWidth),e.addText(GS.sheetFormatProperties.toXml(n))}_writeOpenWorksheet(){WS.reset(),WS.addText(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>`),WS.addText(`<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">`),this._writeSheetProperties(WS,this.properties,this.pageSetup),WS.addText(GS.sheetViews.toXml(this.views)),this._writeSheetFormatProperties(WS,this.properties),this.stream.write(WS)}_writeColumns(){let e=zd.toModel(this.columns);e&&(GS.columns.prepare(e,{styles:this._workbook.styles}),this.stream.write(GS.columns.toXml(e)))}_writeOpenSheetData(){this._write(`<sheetData>`)}_writeRow(e){if(this.startedData||=(this._writeColumns(),this._writeOpenSheetData(),!0),e.hasValues||e.height!=null){let{model:t}=e;if(!t)return;let n={styles:this._workbook.styles,sharedStrings:this.useSharedStrings?this._workbook.sharedStrings:void 0,hyperlinks:this._sheetRelsWriter.hyperlinksProxy,merges:this._merges,formulae:this._formulae,siFormulae:this._siFormulae,comments:[]};if(GS.row.prepare(t,n),this.stream.write(GS.row.toXml(t)),t.cells)for(let e of t.cells)e&&e.isDynamicArray&&this._workbook.dynamicArrayCount++;n.comments.length&&(this.hasComments=!0,this._sheetCommentsWriter.addComments(n.comments))}}_writeCloseSheetData(){this._write(`</sheetData>`)}_writeMergeCells(){this._merges.length&&(WS.reset(),WS.addText(`<mergeCells count="${this._merges.length}">`),this._merges.forEach(e=>{WS.addText(`<mergeCell ref="${e}"/>`)}),WS.addText(`</mergeCells>`),this.stream.write(WS))}_writeHyperlinks(){this.stream.write(GS.hyperlinks.toXml(this._sheetRelsWriter._hyperlinks))}_writeConditionalFormatting(){let e={styles:this._workbook.styles};GS.conditionalFormattings.prepare(this.conditionalFormatting,e);let t={conditionalFormattings:this.conditionalFormatting};GS.extLst.prepare(t),this.stream.write(GS.conditionalFormattings.toXml(this.conditionalFormatting))}_writeExtLst(){let e={conditionalFormattings:this.conditionalFormatting};this.stream.write(GS.extLst.toXml(e))}_writeIgnoredErrors(){this.ignoredErrors.length>0&&this.stream.write(GS.ignoredErrors.toXml(this.ignoredErrors))}_writeRowBreaks(){this.stream.write(GS.rowBreaks.toXml(this.rowBreaks))}_writeColBreaks(){this.stream.write(GS.colBreaks.toXml(this.colBreaks))}_writeDataValidations(){this.stream.write(GS.dataValidations.toXml(this.dataValidations.model))}_writeSheetProtection(){this.stream.write(GS.sheetProtection.toXml(this.sheetProtection))}_writePageMargins(){this.stream.write(GS.pageMargins.toXml(this.pageSetup.margins))}_writePageSetup(){this.stream.write(GS.pageSeteup.toXml(this.pageSetup))}_writeHeaderFooter(){this.stream.write(GS.headerFooter.toXml(this.headerFooter))}_writeAutoFilter(){this.stream.write(GS.autoFilter.toXml(this.autoFilter))}_writeDrawing(){if(this._media.length===0)return;for(let e of this._media)if(e._watermarkTag){let t=this._dimensions.model,n=t?Math.max(t.right??100,100):100,r=t?Math.max(t.bottom??200,200):200;e.range.br={nativeCol:n,nativeColOff:0,nativeRow:r,nativeRowOff:0}}let e=`drawing${this.id}`,t=this._sheetRelsWriter.addRelationship({Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,Target:Km(e)}),{anchors:n,rels:r}=hb(this._media,[],{getBookImage:e=>this._workbook.getImage(Number(e)),nextRId:e=>`rId${e.length+1}`});this._drawing={rId:t,name:e,anchors:n,rels:r},this.stream.write(GS.drawing.toXml({rId:t}))}get drawing(){return this._drawing}_writeBackground(){if(this._background){if(this._background.imageId!==void 0){let e=this._workbook.getImage(this._background.imageId);if(!e)return;let t=this._sheetRelsWriter.addMedia({Target:Ym(e.name),Type:D.Image});this._background={...this._background,rId:t}}this.stream.write(GS.picture.toXml({rId:this._background.rId}))}}_writeLegacyData(){this.hasComments&&(WS.reset(),WS.addText(`<legacyDrawing r:id="${this._sheetCommentsWriter.vmlRelId}"/>`),this.stream.write(WS))}_writeDimensions(){}_writeCloseWorksheet(){this._write(`</worksheet>`)}}}));function JS(e){if(typeof e!=`object`||!e)return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(JS).join(`,`)}]`;let t=Object.keys(e).sort(),n=e;return`{${t.map(e=>`${JSON.stringify(e)}:${JS(n[e])}`).join(`,`)}}`}var YS,XS=t((()=>{YS=class{constructor(){this._values=[],this._totalRefs=0,this._hash=Object.create(null)}get count(){return this._values.length}get values(){return this._values}get totalRefs(){return this._totalRefs}getString(e){return this._values[e]}add(e){let t=typeof e==`string`?`s:${e}`:`r:${JS(e.richText)}`,n=this._hash[t];return n===void 0&&(n=this._hash[t]=this._values.length,this._values.push(e)),this._totalRefs++,n}}}));function ZS(e){if(e.length===0)return new Uint8Array;if(e.length===1)return e[0];let t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}var QS,$S,eC,tC,nC,rC,iC,aC=t((()=>{la(),kb(),lr(),Sr(),QS=new TextEncoder,$S=class{constructor(e){this._data=e}get length(){return this.toBuffer().length}copy(e,t,n,r){let i=this.toBuffer(),a=Math.min(r,i.length-n);return e.set(i.subarray(n,n+a),t),a}toBuffer(){return this._buffer||=QS.encode(this._data),this._buffer}},eC=class{constructor(e){this._data=e}get length(){return this._data.length}copy(e,t,n,r){let i=this.toBuffer(),a=Math.min(r,i.length-n);return e.set(i.subarray(n,n+a),t),a}toBuffer(){return this._data.toBuffer()}},tC=class{constructor(e){this._data=e}get length(){return this._data.length}copy(e,t,n,r){let i=Math.min(r,this._data.length-n);return e.set(this._data.subarray(n,n+i),t),i}toBuffer(){return this._data}},nC=class{constructor(e){this.size=e,this.buffer=new Uint8Array(e),this.iRead=0,this.iWrite=0}toBuffer(){return this.iRead===0&&this.iWrite===this.size?this.buffer:this.buffer.subarray(this.iRead,this.iWrite)}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read(e){if(e===0)return null;if(e===void 0||e>=this.length){let e=this.toBuffer();return this.iRead=this.iWrite,e}let t=this.buffer.subarray(this.iRead,this.iRead+e);return this.iRead+=e,t}write(e,t,n){let r=Math.min(n,this.size-this.iWrite);return e.copy(this.buffer,this.iWrite,t,r),this.iWrite+=r,r}},rC=()=>{},iC=class extends xr{constructor(e){super(),this._writableStreamWriter=null,this._asyncWriteQueue=Promise.resolve(),this.bufSize=e?.bufSize||1024*1024,this.buffers=[],this.batch=e?.batch??!1,this.corked=!1,this.paused=!1,this.encoding=null,this.pipes=[],this._ended=!1}get writable(){return!this._ended}toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:{let e=this.buffers.reduce((e,t)=>e+t.length,0),t=new Uint8Array(e),n=0;for(let e of this.buffers){let r=e.toBuffer();t.set(r,n),n+=r.length}return t}}}_getWritableBuffer(){if(this.buffers.length){let e=this.buffers[this.buffers.length-1];if(!e.full)return e}let e=new nC(this.bufSize);return this.buffers.push(e),e}async _pipeChunk(e){let t=this.pipes.map(t=>new Promise(n=>{t.write(e.toBuffer(),()=>n())}));await Promise.all(t)}_writeToBuffers(e){let t=0,n=e.length;for(;t<n;){let r=this._getWritableBuffer();t+=r.write(e,t,n-t)}}async write(e,t,n){typeof t==`function`&&(n=t),n||=rC;let r;if(e instanceof Db||e&&e.constructor?.name===`StringBuf`)r=new eC(e);else if(e instanceof Uint8Array)r=new tC(e);else if(ArrayBuffer.isView(e))r=new tC(new Uint8Array(e.buffer,e.byteOffset,e.byteLength));else if(e instanceof ArrayBuffer)r=new tC(new Uint8Array(e));else if(typeof e==`string`)r=new $S(e);else throw new Qi(typeof e,`Chunk must be one of type String, Uint8Array, ArrayBuffer or StringBuf.`);if(this.pipes.length)if(this.batch)for(this._writeToBuffers(r);!this.corked&&this.buffers.length>1;){let e=this.buffers.shift();await this._pipeChunk(new tC(e.toBuffer()))}else this.corked?(this._writeToBuffers(r),queueMicrotask(()=>n())):(await this._pipeChunk(r),n());else{let e=r.toBuffer(),t=!1;!this.paused&&this.listenerCount(`data`)>0&&(this.emit(`data`,e),t=!0),this._writableStreamWriter&&(this._asyncWriteQueue=this._asyncWriteQueue.then(()=>this._writableStreamWriter.write(e)),t=!0),t||(this._writeToBuffers(r),this.emit(`readable`)),n()}return!0}cork(){this.corked=!0}_flush(){this.pipes.length&&(async()=>{for(;this.buffers.length;){let e=this.buffers.shift();await this._pipeChunk(new tC(e.toBuffer()))}})().catch(e=>this.emit(`error`,e))}uncork(){this.corked=!1,this._flush()}end(e,t,n){let r=e=>{if(e){n?.(e);return}this._ended=!0,this._flush(),this.pipes.forEach(e=>{typeof e.end==`function`&&e.end()}),this._writableStreamWriter?this._asyncWriteQueue.then(()=>this._writableStreamWriter.close()).then(()=>{this.emit(`finish`),this.emit(`close`)}).catch(e=>{this.emit(`error`,e)}):(this.emit(`finish`),this.emit(`close`))};e?this.write(e,t,r):r()}read(e){if(e){let t=[],n=e;for(;n&&this.buffers.length&&!this.buffers[0].eod;){let e=this.buffers[0],r=e.read(n);r&&(n-=r.length,t.push(r)),e.eod&&e.full&&this.buffers.shift()}return $n(ZS(t))}let t=this.buffers.map(e=>e.toBuffer()).filter(Boolean);return this.buffers=[],$n(ZS(t))}readString(e){let t=e??this.encoding??`utf-8`,n=this.read();return Hn(t).decode(n)}setEncoding(e){this.encoding=e}pause(){this.paused=!0}resume(){this.paused=!1}isPaused(){return this.paused}pipe(e){return this.pipes.push(e),!this.paused&&this.buffers.length&&this.end(),e}pipeTo(e){this._writableStreamWriter=e.getWriter()}unpipe(e){this.pipes=this.pipes.filter(t=>t!==e)}unshift(){throw new ea(`unshift`,`Not implemented`)}wrap(){throw new ea(`wrap`,`Not implemented`)}push(e){return e!==null&&this.write(e),!0}}}));async function oC(e,t){let n={lockStructure:t?.lockStructure??!0,lockWindows:t?.lockWindows,lockRevision:t?.lockRevision};return e&&(n.algorithmName=`SHA-512`,n.saltValue=wf(Sb.randomBytes(16)),n.spinCount=t?.spinCount!=null&&Number.isFinite(t.spinCount)?Math.round(Math.max(0,t.spinCount)):1e5,n.hashValue=await Sb.convertPasswordToHash(e,`SHA-512`,n.saltValue,n.spinCount)),n}var sC=t((()=>{Cb(),Hf()})),cC,lC=t((()=>{j(),cC=class extends A{render(e,t){e.openNode(`HeadingPairs`),e.openNode(`vt:vector`,{size:2,baseType:`variant`}),e.openNode(`vt:variant`),e.leafNode(`vt:lpstr`,void 0,`Worksheets`),e.closeNode(),e.openNode(`vt:variant`),e.leafNode(`vt:i4`,void 0,t.length),e.closeNode(),e.closeNode(),e.closeNode()}parseOpen(e){return e.name===`HeadingPairs`}parseText(){}parseClose(e){return e!==`HeadingPairs`}}})),uC,dC=t((()=>{j(),uC=class extends A{render(e,t){e.openNode(`TitlesOfParts`),e.openNode(`vt:vector`,{size:t.length,baseType:`lpstr`}),t.forEach(t=>{e.leafNode(`vt:lpstr`,void 0,t.name)}),e.closeNode(),e.closeNode()}parseOpen(e){return e.name===`TitlesOfParts`}parseText(){}parseClose(e){return e!==`TitlesOfParts`}}})),fC,pC=t((()=>{j(),lC(),dC(),b_(),ag(),fC=class e extends A{constructor(){super(),this.map={Company:new y_({tag:`Company`}),Manager:new y_({tag:`Manager`}),HeadingPairs:new cC,TitlesOfParts:new uC}}render(t,n){t.openXml(of),t.openNode(`Properties`,e.PROPERTY_ATTRIBUTES),t.leafNode(`Application`,void 0,`Microsoft Excel`),t.leafNode(`DocSecurity`,void 0,`0`),t.leafNode(`ScaleCrop`,void 0,`false`),this.map.HeadingPairs.render(t,n.worksheets),this.map.TitlesOfParts.render(t,n.worksheets),this.map.Company.render(t,n.company??``),this.map.Manager.render(t,n.manager),t.leafNode(`LinksUpToDate`,void 0,`false`),t.leafNode(`SharedDoc`,void 0,`false`),t.leafNode(`HyperlinksChanged`,void 0,`false`),t.leafNode(`AppVersion`,void 0,`16.0300`),t.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case`Properties`:return!0;default:return this.parser=this.map[e.name],this.parser?(this.parser.parseOpen(e),!0):!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case`Properties`:return this.model={worksheets:this.map.TitlesOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}static{this.DateFormat=function(e){return e.toISOString().replace(/[.]\d{3,6}/,``)}}static{this.DateAttrs={"xsi:type":`dcterms:W3CDTF`}}static{this.PROPERTY_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/officeDocument/2006/extended-properties`,"xmlns:vt":`http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes`}}}})),mC,hC=t((()=>{_b(),ng(),j(),ag(),mC=class e extends A{render(t,n){t.openXml(of),t.openNode(`Types`,e.PROPERTY_ATTRIBUTES);let r={};if((n.media??[]).forEach(e=>{if(e.type===`image`){if(fb(e))return;let n=e.extension;r[n]||(r[n]=!0,t.leafNode(`Default`,{Extension:n,ContentType:`image/${n}`}))}}),t.leafNode(`Default`,{Extension:`rels`,ContentType:`application/vnd.openxmlformats-package.relationships+xml`}),t.leafNode(`Default`,{Extension:`xml`,ContentType:`application/xml`}),t.leafNode(`Override`,{PartName:_m(k.xlWorkbook),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml`}),n.worksheets.forEach(e=>{t.leafNode(`Override`,{PartName:_m(bm(e.fileIndex)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml`})}),n.chartsheets&&n.chartsheets.forEach(e=>{t.leafNode(`Override`,{PartName:_m(Th(e.sheetNo)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml`})}),(n.pivotTables??[]).length){let e=new Set;(n.pivotTables??[]).forEach(n=>{let r=n.tableNumber,i=n.cacheId;e.has(i)||(e.add(i),t.leafNode(`Override`,{PartName:_m(jm(r)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml`}),(!n.isLoaded||n.cacheRecords)&&t.leafNode(`Override`,{PartName:_m(Nm(r)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml`})),t.leafNode(`Override`,{PartName:_m(Fm(r)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml`})})}if(t.leafNode(`Override`,{PartName:_m(k.xlTheme1),ContentType:`application/vnd.openxmlformats-officedocument.theme+xml`}),t.leafNode(`Override`,{PartName:_m(k.xlStyles),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml`}),n.externalLinks&&n.externalLinks.length>0)for(let e of n.externalLinks)t.leafNode(`Override`,{PartName:_m(Rm(e.index)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml`});if(n.hasCheckboxes&&t.leafNode(`Override`,{PartName:_m(k.xlFeaturePropertyBag),ContentType:`application/vnd.ms-excel.featurepropertybag+xml`}),n.hasDynamicArrayFormulas&&t.leafNode(`Override`,{PartName:_m(k.xlMetadata),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml`}),n.sharedStrings&&n.sharedStrings.count&&t.leafNode(`Override`,{PartName:_m(k.xlSharedStrings),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml`}),n.tables&&n.tables.forEach(e=>{t.leafNode(`Override`,{PartName:_m(Om(e.target)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml`})}),n.drawings&&n.drawings.forEach(e=>{t.leafNode(`Override`,{PartName:_m(km(e.name)),ContentType:`application/vnd.openxmlformats-officedocument.drawing+xml`})}),n.chartEntries)for(let[e,r]of Object.entries(n.chartEntries))t.leafNode(`Override`,{PartName:_m(rh(e)),ContentType:`application/vnd.openxmlformats-officedocument.drawingml.chart+xml`}),r?.userShapesXml&&t.leafNode(`Override`,{PartName:_m(uh(e)),ContentType:`application/vnd.openxmlformats-officedocument.drawing+xml`});let i=new Set;if(n.chartExEntries)for(let e of Object.keys(n.chartExEntries)){let n=_m(vh(e));i.has(n)||(i.add(n),t.leafNode(`Override`,{PartName:n,ContentType:`application/vnd.ms-office.chartex+xml`}))}if(n.chartExStructuredEntries)for(let e of Object.keys(n.chartExStructuredEntries)){let n=_m(vh(e));i.has(n)||(i.add(n),t.leafNode(`Override`,{PartName:n,ContentType:`application/vnd.ms-office.chartex+xml`}))}if(n.chartStyles)for(let e of Object.keys(n.chartStyles))t.leafNode(`Override`,{PartName:_m(ah(e)),ContentType:`application/vnd.ms-office.chartstyle+xml`});if(n.chartColors)for(let e of Object.keys(n.chartColors))t.leafNode(`Override`,{PartName:_m(oh(e)),ContentType:`application/vnd.ms-office.chartcolorstyle+xml`});if(n.chartExStyles)for(let e of Object.keys(n.chartExStyles))t.leafNode(`Override`,{PartName:_m(sh(e)),ContentType:`application/vnd.ms-office.chartstyle+xml`});if(n.chartExColors)for(let e of Object.keys(n.chartExColors))t.leafNode(`Override`,{PartName:_m(ch(e)),ContentType:`application/vnd.ms-office.chartcolorstyle+xml`});let a=n.commentRefs&&n.commentRefs.length>0,o=n.formControlRefs&&n.formControlRefs.length>0,s=n.hasHeaderWatermark===!0,c=n.hasChartsheetVml===!0;if((a||o||s||c)&&t.leafNode(`Default`,{Extension:`vml`,ContentType:`application/vnd.openxmlformats-officedocument.vmlDrawing`}),a&&n.commentRefs.forEach(({commentName:e})=>{t.leafNode(`Override`,{PartName:_m(wm(e)),ContentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml`})}),o)for(let e of n.formControlRefs)t.leafNode(`Override`,{PartName:_m(Xm(e)),ContentType:`application/vnd.ms-excel.controlproperties+xml`});let l=n.threadedCommentSheetIds??[];for(let e of l)t.leafNode(`Override`,{PartName:_m(`xl/threadedComments/threadedComment${e}.xml`),ContentType:`application/vnd.ms-excel.threadedcomments+xml`});n.hasPersons&&t.leafNode(`Override`,{PartName:_m(`xl/persons/person.xml`),ContentType:`application/vnd.ms-excel.person+xml`});for(let e of n.slicerPartPaths??[])t.leafNode(`Override`,{PartName:_m(e),ContentType:`application/vnd.ms-excel.slicer+xml`});for(let e of n.slicerCachePartPaths??[])t.leafNode(`Override`,{PartName:_m(e),ContentType:`application/vnd.ms-excel.slicerCache+xml`});for(let e of n.timelinePartPaths??[])t.leafNode(`Override`,{PartName:_m(e),ContentType:`application/vnd.ms-excel.timeline+xml`});for(let e of n.timelineCachePartPaths??[])t.leafNode(`Override`,{PartName:_m(e),ContentType:`application/vnd.ms-excel.timelineCache+xml`});t.leafNode(`Override`,{PartName:_m(k.docPropsCore),ContentType:`application/vnd.openxmlformats-package.core-properties+xml`}),t.leafNode(`Override`,{PartName:_m(k.docPropsApp),ContentType:`application/vnd.openxmlformats-officedocument.extended-properties+xml`}),t.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}static{this.PROPERTY_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/package/2006/content-types`}}}})),gC,_C=t((()=>{j(),gC=class extends A{constructor(e){super(),this.tag=e.tag,this.attr=e.attr,this.attrs=e.attrs,this.text=[],this._format=e.format||function(e){try{return Number.isNaN(e.getTime())?``:e.toISOString()}catch{return``}},this._parse=e.parse||function(e){return new Date(e)}}render(e,t){t&&(e.openNode(this.tag),this.attrs&&e.addAttributes(this.attrs),this.attr?e.addAttribute(this.attr,this._format(t)):e.writeText(this._format(t)),e.closeNode())}parseOpen(e){e.name===this.tag&&(this.attr?this.model=this._parse(e.attributes[this.attr]):this.text=[])}parseText(e){this.attr||this.text.push(e)}parseClose(){return this.attr||(this.model=this._parse(this.text.join(``))),!1}}})),vC,yC,bC=t((()=>{j(),_C(),v_(),b_(),ag(),vC={creator:`dc:creator`,title:`dc:title`,subject:`dc:subject`,description:`dc:description`,identifier:`dc:identifier`,language:`dc:language`,keywords:`cp:keywords`,category:`cp:category`,lastModifiedBy:`cp:lastModifiedBy`,lastPrinted:`cp:lastPrinted`,revision:`cp:revision`,version:`cp:version`,contentStatus:`cp:contentStatus`,contentType:`cp:contentType`,created:`dcterms:created`,modified:`dcterms:modified`},yC=class e extends A{constructor(){super(),this.map={creator:new y_({tag:vC.creator}),title:new y_({tag:vC.title}),subject:new y_({tag:vC.subject}),description:new y_({tag:vC.description}),identifier:new y_({tag:vC.identifier}),language:new y_({tag:vC.language}),keywords:new y_({tag:vC.keywords}),category:new y_({tag:vC.category}),lastModifiedBy:new y_({tag:vC.lastModifiedBy}),lastPrinted:new gC({tag:vC.lastPrinted,format:e.DateFormat}),revision:new __({tag:vC.revision}),version:new y_({tag:vC.version}),contentStatus:new y_({tag:vC.contentStatus}),contentType:new y_({tag:vC.contentType}),created:new gC({tag:vC.created,attrs:e.DateAttrs,format:e.DateFormat}),modified:new gC({tag:vC.modified,attrs:e.DateAttrs,format:e.DateFormat})}}render(t,n){t.openXml(of),t.openNode(`cp:coreProperties`,e.CORE_PROPERTY_ATTRIBUTES);for(let e of Object.keys(vC))this.map[e].render(t,n[e]);t.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):(e.name!==`coreProperties`&&(this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)),!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;if(e===`coreProperties`){this.model={};for(let e of Object.keys(vC)){let t=this.map[e].model;t!==void 0&&t!==``&&(this.model[e]=t)}return!1}return!0}static{this.DateFormat=function(e){return e.toISOString().replace(/[.]\d{3}/,``)}}static{this.DateAttrs={"xsi:type":`dcterms:W3CDTF`}}static{this.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":`http://schemas.openxmlformats.org/package/2006/metadata/core-properties`,"xmlns:dc":`http://purl.org/dc/elements/1.1/`,"xmlns:dcterms":`http://purl.org/dc/terms/`,"xmlns:dcmitype":`http://purl.org/dc/dcmitype/`,"xmlns:xsi":`http://www.w3.org/2001/XMLSchema-instance`}}}})),xC,SC=t((()=>{j(),xC=class extends A{render(e){e.openXml({version:`1.0`,encoding:`UTF-8`,standalone:`yes`}),e.openNode(`FeaturePropertyBags`,{xmlns:`http://schemas.microsoft.com/office/spreadsheetml/2022/featurepropertybag`}),e.leafNode(`bag`,{type:`Checkbox`}),e.openNode(`bag`,{type:`XFControls`}),e.leafNode(`bagId`,{k:`CellControl`},`0`),e.closeNode(),e.openNode(`bag`,{type:`XFComplement`}),e.leafNode(`bagId`,{k:`XFControls`},`1`),e.closeNode(),e.openNode(`bag`,{type:`XFComplements`,extRef:`XFComplementsMapperExtRef`}),e.openNode(`a`,{k:`MappedFeaturePropertyBags`}),e.leafNode(`bagId`,{},`2`),e.closeNode(),e.closeNode(),e.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}})),CC,wC=t((()=>{_b(),j(),CC=class extends A{parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={range:{editAs:e.attributes.editAs}};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(e){this.parser&&this.parser.parseText(e)}reconcilePicture(e,t){if(e&&e.rId){let n=t.rels[e.rId];if(!n)return;if(n.TargetMode===`External`||e.external)return this.reconcileExternalPicture(n.Target,t);let r=n.Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(r){let n=r[1],i=t.mediaIndex[n],a=t.media[i];return a&&e.alphaModFix!==void 0?{...a,alphaModFix:e.alphaModFix}:a}}}reconcileExternalPicture(e,t){if(!e)return;let n=`external:${e}`,r=t.mediaIndex[n];if(r===void 0){r=t.media.length;let i={type:`image`,extension:pb(e),link:e,index:r};t.media.push(i),t.mediaIndex[n]=r}return t.media[r]}}})),TC,EC,DC=t((()=>{j(),TC=9525,EC=class extends A{constructor(e){super(),this.tag=e.tag,this.map={},this.model={width:0,height:0}}render(e,t){e.openNode(this.tag);let n=Math.floor(t.width*TC),r=Math.floor(t.height*TC);e.addAttribute(`cx`,n),e.addAttribute(`cy`,r),e.closeNode()}parseOpen(e){return e.name===this.tag?(this.model={width:parseInt(e.attributes.cx??`0`,10)/TC,height:parseInt(e.attributes.cy??`0`,10)/TC},!0):!1}parseText(e){}parseClose(e){return!1}}})),OC,kC,AC,jC,MC=t((()=>{j(),Ux(),OC=`http://schemas.openxmlformats.org/drawingml/2006/chart`,kC=`http://schemas.microsoft.com/office/drawing/2014/chartex`,AC=`{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}`,jC=class extends A{constructor(...e){super(...e),this._inNvPr=!1,this._inGraphicData=!1,this._extLstCapture=null}get tag(){return`xdr:graphicFrame`}prepare(e,t){e.index===void 0&&(e.index=t.index+1)}render(e,t){e.openNode(this.tag,{macro:``}),e.openNode(`xdr:nvGraphicFramePr`);let n=t.index??2,r=t.name??`Chart ${n}`;t.cNvPrExtLst?(e.openNode(`xdr:cNvPr`,{id:n,name:r}),e.writeRaw(t.cNvPrExtLst),e.closeNode()):t.isChartEx?(e.openNode(`xdr:cNvPr`,{id:n,name:r}),e.openNode(`a:extLst`),e.openNode(`a:ext`,{uri:AC}),e.leafNode(`a16:creationId`,{"xmlns:a16":`http://schemas.microsoft.com/office/drawing/2014/main`,id:`{${Hx().toUpperCase()}}`}),e.closeNode(),e.closeNode(),e.closeNode()):e.leafNode(`xdr:cNvPr`,{id:n,name:r}),e.leafNode(`xdr:cNvGraphicFramePr`),e.closeNode(),e.openNode(`xdr:xfrm`),e.leafNode(`a:off`,{x:0,y:0}),e.leafNode(`a:ext`,{cx:0,cy:0}),e.closeNode(),e.openNode(`a:graphic`),t.isChartEx?(e.openNode(`a:graphicData`,{uri:kC}),e.leafNode(`cx:chart`,{"xmlns:cx":kC,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"r:id":t.rId})):(e.openNode(`a:graphicData`,{uri:t.graphicDataUri??OC}),e.leafNode(`c:chart`,{"xmlns:c":`http://schemas.openxmlformats.org/drawingml/2006/chart`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"r:id":t.rId})),e.closeNode(),e.closeNode(),e.closeNode()}parseOpen(e){if(this._extLstCapture){let t=Object.entries(e.attributes||{}).map(([e,t])=>` ${e}="${t}"`).join(``);return e.isSelfClosing?(this._extLstCapture.parts.push(`<${e.name}${t}/>`),this._extLstCapture.skipNextClose=!0):(this._extLstCapture.parts.push(`<${e.name}${t}>`),this._extLstCapture.depth++),!0}switch(e.name){case this.tag:this.reset(),this.model={},this._extLstCapture=null;break;case`xdr:cNvPr`:this._inNvPr=!0,this.model.index=parseInt(e.attributes.id,10)||void 0,this.model.name=e.attributes.name;break;case`a:extLst`:if(this._inNvPr){let t=Object.entries(e.attributes||{}).map(([e,t])=>` ${e}="${t}"`).join(``);return this._extLstCapture={depth:1,parts:[`<a:extLst${t}>`],skipNextClose:!1},!0}break;case`a:graphicData`:this._inGraphicData=!0,this.model.graphicDataUri=e.attributes.uri;break;case`c:chart`:this._inGraphicData&&(this.model.rId=e.attributes[`r:id`]);break;case`cx:chart`:this._inGraphicData&&(this.model.rId=e.attributes[`r:id`],this.model.isChartEx=!0);break;default:break}return!0}parseText(e){this._extLstCapture&&e&&this._extLstCapture.parts.push(e)}parseClose(e){if(this._extLstCapture)return this._extLstCapture.skipNextClose?(this._extLstCapture.skipNextClose=!1,!0):(this._extLstCapture.parts.push(`</${e}>`),this._extLstCapture.depth--,this._extLstCapture.depth===0&&(this.model.cNvPrExtLst=this._extLstCapture.parts.join(``),this._extLstCapture=null),!0);switch(e){case this.tag:return!1;case`xdr:cNvPr`:return this._inNvPr=!1,!0;case`a:graphicData`:return this._inGraphicData=!1,!0;default:return!0}}}})),NC,PC=t((()=>{j(),NC=class extends A{constructor(){super(),this.model={rId:``}}get tag(){return`a:blip`}render(e,t){let n=t.external?`r:link`:`r:embed`;t.alphaModFix!==void 0&&t.alphaModFix<1e5?(e.openNode(this.tag,{"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,[n]:t.rId,cstate:`print`}),e.leafNode(`a:alphaModFix`,{amt:String(t.alphaModFix)}),e.closeNode()):e.leafNode(this.tag,{"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,[n]:t.rId,cstate:`print`})}parseOpen(e){switch(e.name){case this.tag:{let t=e.attributes[`r:link`];return t===void 0?this.model={rId:e.attributes[`r:embed`]}:this.model={rId:t,external:!0},!0}case`a:alphaModFix`:return e.attributes.amt&&(this.model.alphaModFix=parseInt(e.attributes.amt,10)),!0;default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}})),FC,IC=t((()=>{j(),PC(),FC=class extends A{constructor(){super(),this.map={"a:blip":new NC}}get tag(){return`xdr:blipFill`}render(e,t){e.openNode(this.tag),this.map[`a:blip`].render(e,t),e.openNode(`a:stretch`),e.leafNode(`a:fillRect`),e.closeNode(),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map[`a:blip`].model,!1;default:return!0}}}})),LC,RC=t((()=>{j(),LC=class extends A{get tag(){return`xdr:cNvPicPr`}render(e){e.openNode(this.tag),e.leafNode(`a:picLocks`,{noChangeAspect:`1`}),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}})),zC,BC=t((()=>{j(),zC=class extends A{get tag(){return`a:extLst`}render(e){e.openNode(this.tag),e.openNode(`a:ext`,{uri:`{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}`}),e.leafNode(`a16:creationId`,{"xmlns:a16":`http://schemas.microsoft.com/office/drawing/2014/main`,id:`{00000000-0008-0000-0000-000002000000}`}),e.closeNode(),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}})),VC,HC=t((()=>{j(),VC=class extends A{constructor(){super(),this.model={}}get tag(){return`a:hlinkClick`}render(e,t){t.hyperlinks&&t.hyperlinks.rId&&e.leafNode(this.tag,{"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"r:id":t.hyperlinks.rId,tooltip:t.hyperlinks.tooltip})}parseOpen(e){switch(e.name){case this.tag:return this.model={hyperlinks:{rId:e.attributes[`r:id`],tooltip:e.attributes.tooltip}},!0;default:return!0}}parseText(){}parseClose(){return!1}}})),UC,WC=t((()=>{j(),BC(),HC(),UC=class extends A{constructor(){super(),this.map={"a:hlinkClick":new VC,"a:extLst":new zC}}get tag(){return`xdr:cNvPr`}render(e,t){e.openNode(this.tag,{id:t.index,name:`Picture ${t.index}`}),this.map[`a:hlinkClick`].render(e,t),this.map[`a:extLst`].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map[`a:hlinkClick`].model,!1;default:return!0}}}})),GC,KC=t((()=>{j(),RC(),WC(),GC=class extends A{constructor(){super(),this.map={"xdr:cNvPr":new UC,"xdr:cNvPicPr":new LC}}get tag(){return`xdr:nvPicPr`}render(e,t){e.openNode(this.tag),this.map[`xdr:cNvPr`].render(e,t),this.map[`xdr:cNvPicPr`].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map[`xdr:cNvPr`].model,!1;default:return!0}}}})),qC,JC=t((()=>{qC={tag:`xdr:spPr`,c:[{tag:`a:xfrm`,c:[{tag:`a:off`,$:{x:`0`,y:`0`}},{tag:`a:ext`,$:{cx:`0`,cy:`0`}}]},{tag:`a:prstGeom`,$:{prst:`rect`},c:[{tag:`a:avLst`}]}]}})),YC,XC=t((()=>{j(),IC(),KC(),JC(),Pg(),YC=class extends A{constructor(){super(),this.map={"xdr:nvPicPr":new GC,"xdr:blipFill":new FC,"xdr:spPr":new Ng(qC)}}get tag(){return`xdr:pic`}prepare(e,t){e.index=t.index+1}render(e,t){e.openNode(this.tag),this.map[`xdr:nvPicPr`].render(e,t),this.map[`xdr:blipFill`].render(e,{rId:t.rId,alphaModFix:t.alphaModFix,external:t.external}),this.map[`xdr:spPr`].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.mergeModel(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:return!0}}}})),ZC,QC,$C,ew=t((()=>{j(),wC(),DC(),MC(),XC(),Pg(),ZC=9525,QC=class extends A{constructor(){super(),this.map={},this.model={x:0,y:0}}get tag(){return`xdr:pos`}render(e,t){e.leafNode(this.tag,{x:Math.floor(t.x*ZC),y:Math.floor(t.y*ZC)})}parseOpen(e){return e.name===this.tag?(this.model={x:parseInt(e.attributes.x??`0`,10)/ZC,y:parseInt(e.attributes.y??`0`,10)/ZC},!0):!1}parseText(){}parseClose(){return!1}},$C=class extends CC{constructor(){super(),this.map={"xdr:pos":new QC,"xdr:ext":new EC({tag:`xdr:ext`}),"xdr:pic":new YC,"xdr:graphicFrame":new jC,"xdr:clientData":new Ng({tag:`xdr:clientData`})}}get tag(){return`xdr:absoluteAnchor`}prepare(e,t){e.picture?this.map[`xdr:pic`].prepare(e.picture,t):e.graphicFrame&&this.map[`xdr:graphicFrame`].prepare(e.graphicFrame,t)}render(e,t){e.openNode(this.tag),this.map[`xdr:pos`].render(e,t.range.pos??{x:0,y:0}),this.map[`xdr:ext`].render(e,t.range.ext),t.picture?this.map[`xdr:pic`].render(e,t.picture):t.graphicFrame&&this.map[`xdr:graphicFrame`].render(e,t.graphicFrame),this.map[`xdr:clientData`].render(e,{}),e.closeNode()}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.range.pos=this.map[`xdr:pos`].model,this.model.range.ext=this.map[`xdr:ext`].model,this.model.picture=this.map[`xdr:pic`].model,this.model.graphicFrame=this.map[`xdr:graphicFrame`].model,!1;default:return!0}}reconcile(e,t){e.picture&&(e.medium=this.reconcilePicture(e.picture,t))}}})),tw,nw=t((()=>{j(),v_(),tw=class extends A{constructor(e){super(),this.tag=e.tag,this.map={"xdr:col":new __({tag:`xdr:col`,zero:!0}),"xdr:colOff":new __({tag:`xdr:colOff`,zero:!0}),"xdr:row":new __({tag:`xdr:row`,zero:!0}),"xdr:rowOff":new __({tag:`xdr:rowOff`,zero:!0})},this.model={nativeCol:0,nativeColOff:0,nativeRow:0,nativeRowOff:0}}render(e,t){e.openNode(this.tag),this.map[`xdr:col`].render(e,t.nativeCol),this.map[`xdr:colOff`].render(e,t.nativeColOff),this.map[`xdr:row`].render(e,t.nativeRow),this.map[`xdr:rowOff`].render(e,t.nativeRowOff),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model={nativeCol:this.map[`xdr:col`].model,nativeColOff:this.map[`xdr:colOff`].model,nativeRow:this.map[`xdr:row`].model,nativeRowOff:this.map[`xdr:rowOff`].model},!1;default:return!0}}}})),rw,iw=t((()=>{wC(),nw(),DC(),MC(),XC(),Pg(),rw=class extends CC{constructor(){super(),this.map={"xdr:from":new tw({tag:`xdr:from`}),"xdr:ext":new EC({tag:`xdr:ext`}),"xdr:pic":new YC,"xdr:graphicFrame":new jC,"xdr:clientData":new Ng({tag:`xdr:clientData`})}}get tag(){return`xdr:oneCellAnchor`}prepare(e,t){e.picture?this.map[`xdr:pic`].prepare(e.picture,t):e.graphicFrame&&this.map[`xdr:graphicFrame`].prepare(e.graphicFrame,t)}render(e,t){e.openNode(this.tag,{editAs:t.range.editAs??`oneCell`}),this.map[`xdr:from`].render(e,t.range.tl),this.map[`xdr:ext`].render(e,t.range.ext),t.picture?this.map[`xdr:pic`].render(e,t.picture):t.graphicFrame&&this.map[`xdr:graphicFrame`].render(e,t.graphicFrame),this.map[`xdr:clientData`].render(e,{}),e.closeNode()}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.range.tl=this.map[`xdr:from`].model,this.model.range.ext=this.map[`xdr:ext`].model,this.model.picture=this.map[`xdr:pic`].model,this.model.graphicFrame=this.map[`xdr:graphicFrame`].model,!1;default:return!0}}reconcile(e,t){e.picture&&(e.medium=this.reconcilePicture(e.picture,t))}}})),aw,ow=t((()=>{j(),aw=class extends A{get tag(){return`xdr:sp`}render(e,t){t&&(e.openNode(this.tag,{macro:``,textlink:``}),e.openNode(`xdr:nvSpPr`),e.openNode(`xdr:cNvPr`,{id:t.cNvPrId,name:t.name,hidden:t.hidden?`1`:void 0}),e.openNode(`a:extLst`),e.openNode(`a:ext`,{uri:`{63B3BB69-23CF-44E3-9099-C40C66FF867C}`}),e.leafNode(`a14:compatExt`,{spid:t.spid,"xmlns:a14":`http://schemas.microsoft.com/office/drawing/2010/main`},void 0),e.closeNode(),e.closeNode(),e.closeNode(),e.leafNode(`xdr:cNvSpPr`),e.closeNode(),e.openNode(`xdr:spPr`,{bwMode:`auto`}),e.openNode(`a:xfrm`),e.leafNode(`a:off`,{x:0,y:0}),e.leafNode(`a:ext`,{cx:0,cy:0}),e.closeNode(),e.openNode(`a:prstGeom`,{prst:`rect`}),e.leafNode(`a:avLst`),e.closeNode(),e.leafNode(`a:noFill`),e.openNode(`a:ln`),e.leafNode(`a:noFill`),e.closeNode(),e.openNode(`a:extLst`),e.openNode(`a:ext`,{uri:`{909E8E84-426E-40DD-AFC4-6F175D3DCCD1}`}),e.openNode(`a14:hiddenFill`,{"xmlns:a14":`http://schemas.microsoft.com/office/drawing/2010/main`}),e.openNode(`a:solidFill`),e.leafNode(`a:srgbClr`,{val:`F0F0F0`}),e.closeNode(),e.closeNode(),e.closeNode(),e.openNode(`a:ext`,{uri:`{91240B29-F687-4F45-9708-019B960494DF}`}),e.openNode(`a14:hiddenLine`,{w:9525,"xmlns:a14":`http://schemas.microsoft.com/office/drawing/2010/main`}),e.openNode(`a:solidFill`),e.leafNode(`a:srgbClr`,{val:`000000`}),e.closeNode(),e.leafNode(`a:miter`,{lim:8e5}),e.leafNode(`a:headEnd`),e.leafNode(`a:tailEnd`),e.closeNode(),e.closeNode(),e.closeNode(),e.closeNode(),e.openNode(`xdr:txBody`),e.leafNode(`a:bodyPr`,{vertOverflow:`clip`,wrap:`square`,lIns:18288,tIns:18288,rIns:0,bIns:18288,anchor:`ctr`,upright:1}),e.leafNode(`a:lstStyle`),e.openNode(`a:p`),e.openNode(`a:pPr`,{algn:`l`,rtl:0}),e.leafNode(`a:defRPr`,{sz:1e3}),e.closeNode(),e.openNode(`a:r`),e.openNode(`a:rPr`,{lang:`en-US`,sz:800,b:0,i:0,u:`none`,strike:`noStrike`,baseline:0}),e.openNode(`a:solidFill`),e.leafNode(`a:srgbClr`,{val:`000000`}),e.closeNode(),e.leafNode(`a:latin`,{typeface:`Tahoma`,pitchFamily:2,charset:0}),e.leafNode(`a:ea`,{typeface:`Tahoma`,pitchFamily:2,charset:0}),e.leafNode(`a:cs`,{typeface:`Tahoma`,pitchFamily:2,charset:0}),e.closeNode(),e.openNode(`a:t`),e.writeText(t.text??``),e.closeNode(),e.closeNode(),e.closeNode(),e.closeNode(),e.closeNode())}}})),sw,cw=t((()=>{wC(),nw(),MC(),XC(),ow(),Pg(),sw=class extends CC{constructor(){super(),this._acDepth=0,this._inFallback=!1,this._fallbackDepth=0,this._choiceRequires=void 0,this.map={"xdr:from":new tw({tag:`xdr:from`}),"xdr:to":new tw({tag:`xdr:to`}),"xdr:pic":new YC,"xdr:sp":new aw,"xdr:graphicFrame":new jC,"xdr:clientData":new Ng({tag:`xdr:clientData`})}}get tag(){return`xdr:twoCellAnchor`}prepare(e,t){e.picture?this.map[`xdr:pic`].prepare(e.picture,t):e.graphicFrame&&this.map[`xdr:graphicFrame`].prepare(e.graphicFrame,t)}render(e,t){let n=t.alternateContent?.requires,r=n===`cx1`||n===`cx`,i=!!n&&!r;i&&(e.openNode(`mc:AlternateContent`,{"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`}),e.openNode(`mc:Choice`,{Requires:n,...n===`a14`?{"xmlns:a14":`http://schemas.microsoft.com/office/drawing/2010/main`}:{}}));let a=t.range.editAs??(t.graphicFrame?void 0:`oneCell`),o=a&&a!==`twoCell`?{editAs:a}:{};e.openNode(this.tag,o),this.map[`xdr:from`].render(e,t.range.tl),this.map[`xdr:to`].render(e,t.range.br),r?this.renderChartExAlternateContent(e,t):t.picture?this.map[`xdr:pic`].render(e,t.picture):t.graphicFrame?this.map[`xdr:graphicFrame`].render(e,t.graphicFrame):t.shape&&this.map[`xdr:sp`].render(e,t.shape),this.map[`xdr:clientData`].render(e,{}),e.closeNode(),i&&(e.closeNode(),e.leafNode(`mc:Fallback`),e.closeNode())}renderChartExAlternateContent(e,t){e.openNode(`mc:AlternateContent`,{"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`}),e.openNode(`mc:Choice`,{"xmlns:cx1":`http://schemas.microsoft.com/office/drawing/2015/9/8/chartex`,Requires:`cx1`}),t.graphicFrame&&this.map[`xdr:graphicFrame`].render(e,t.graphicFrame),e.closeNode(),e.openNode(`mc:Fallback`),this.renderChartExFallbackShape(e,t),e.closeNode(),e.closeNode()}renderChartExFallbackShape(e,t){e.openNode(`xdr:sp`,{macro:``,textlink:``}),e.openNode(`xdr:nvSpPr`),e.leafNode(`xdr:cNvPr`,{id:0,name:``}),e.openNode(`xdr:cNvSpPr`),e.leafNode(`a:spLocks`,{noTextEdit:1}),e.closeNode(),e.closeNode(),e.openNode(`xdr:spPr`),e.openNode(`a:xfrm`),e.leafNode(`a:off`,{x:3917950,y:698500}),e.leafNode(`a:ext`,{cx:5486400,cy:3657600}),e.closeNode(),e.openNode(`a:prstGeom`,{prst:`rect`}),e.leafNode(`a:avLst`),e.closeNode(),e.openNode(`a:solidFill`),e.leafNode(`a:prstClr`,{val:`white`}),e.closeNode(),e.openNode(`a:ln`,{w:1}),e.openNode(`a:solidFill`),e.leafNode(`a:prstClr`,{val:`black`}),e.closeNode(),e.closeNode(),e.closeNode(),e.openNode(`xdr:txBody`),e.leafNode(`a:bodyPr`,{vertOverflow:`clip`,horzOverflow:`clip`}),e.leafNode(`a:lstStyle`),e.openNode(`a:p`),e.openNode(`a:r`),e.leafNode(`a:rPr`,{lang:`en-US`,sz:1100}),e.openNode(`a:t`),e.writeText(`This chart isn't available in your version of Excel.
406
406
 
407
- Editing this shape or saving this workbook into a different file format will permanently break the chart.`),e.closeNode(),e.closeNode(),e.closeNode(),e.closeNode(),e.closeNode()}parseOpen(e){if(this._inFallback)return this._fallbackDepth++,!0;switch(e.name){case`mc:AlternateContent`:return this._acDepth++,!0;case`mc:Choice`:return this._acDepth>0&&(this._choiceRequires=e.attributes?.Requires),!0;case`mc:Fallback`:return this._acDepth>0&&(this._inFallback=!0,this._fallbackDepth=1),!0;default:break}if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={range:{editAs:e.attributes.editAs}},this._acDepth=0,this._inFallback=!1,this._fallbackDepth=0,this._choiceRequires=void 0;break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(e){this._inFallback||this.parser&&this.parser.parseText(e)}parseClose(e){if(this._inFallback)return this._fallbackDepth--,this._fallbackDepth===0&&(this._inFallback=!1),!0;switch(e){case`mc:AlternateContent`:return this._acDepth--,this._acDepth<=0&&(this._acDepth=0,this._choiceRequires&&(this.model.alternateContent={requires:this._choiceRequires}),this._choiceRequires=void 0),!0;case`mc:Choice`:case`mc:Fallback`:return!0;default:break}if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.range.tl=this.map[`xdr:from`].model,this.model.range.br=this.map[`xdr:to`].model,this.model.picture=this.map[`xdr:pic`].model,this.model.graphicFrame=this.map[`xdr:graphicFrame`].model,!1;default:return!0}}reconcile(e,t){e.picture&&(e.medium=this.reconcilePicture(e.picture,t))}}}));function ow(e){let t=typeof e.range==`string`?E.decode(e.range):e.range;return t.pos===void 0?t.br?`xdr:twoCellAnchor`:`xdr:oneCellAnchor`:`xdr:absoluteAnchor`}var sw,cw=t((()=>{da(),j(),ZC(),tw(),aw(),ag(),sw=class e extends A{constructor(){super(),this._inAlternateContent=!1,this._acDepth=0,this._inChoice=!1,this._inFallback=!1,this._fallbackDepth=0,this._choiceRequires=void 0,this._anchorCountBeforeAC=0,this.map={"xdr:twoCellAnchor":new iw,"xdr:oneCellAnchor":new ew,"xdr:absoluteAnchor":new XC},this.model={anchors:[]}}prepare(e){e.anchors.forEach((e,t)=>{e.anchorType=ow(e),this.map[e.anchorType].prepare(e,{index:t})})}get tag(){return`xdr:wsDr`}render(t,n){let r=n||this.model;t.openXml(of);let i=r.anchors.some(e=>!!e?.alternateContent)?e.DRAWING_ATTRIBUTES_WITH_MC:e.DRAWING_ATTRIBUTES;t.openNode(this.tag,i),r.anchors.forEach(e=>{this.map[e.anchorType].render(t,e)}),t.closeNode()}parseOpen(e){if(this._inFallback)return this._fallbackDepth++,!0;if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={anchors:[]};break;case`mc:AlternateContent`:this._acDepth=(this._acDepth??0)+1,this._acDepth===1&&(this._inAlternateContent=!0,this._anchorCountBeforeAC=this.model.anchors.length);break;case`mc:Choice`:this._inAlternateContent&&(this._inChoice=!0,this._choiceRequires=e.attributes?.Requires);break;case`mc:Fallback`:this._inAlternateContent&&(this._inFallback=!0,this._fallbackDepth=1);break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(e){this._inFallback||this.parser&&this.parser.parseText(e)}parseClose(e){if(this._inFallback)return this._fallbackDepth--,this._fallbackDepth===0&&(this._inFallback=!1),!0;if(this.parser)return this.parser.parseClose(e)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;case`mc:AlternateContent`:if(this._acDepth=(this._acDepth??0)-1,this._acDepth<=0){if(this._inAlternateContent&&this._choiceRequires){let e=this.model.anchors;for(let t=this._anchorCountBeforeAC;t<e.length;t++)e[t].alternateContent={requires:this._choiceRequires}}this._inAlternateContent=!1,this._inChoice=!1,this._choiceRequires=void 0,this._acDepth=0}return!0;case`mc:Choice`:return this._inChoice=!1,!0;default:return!0}}reconcile(e,t){e.anchors.forEach(e=>{e.range?.pos===void 0?e.br?this.map[`xdr:twoCellAnchor`].reconcile(e,t):this.map[`xdr:oneCellAnchor`].reconcile(e,t):this.map[`xdr:absoluteAnchor`].reconcile(e,t)})}static{this.DRAWING_ATTRIBUTES={"xmlns:xdr":`http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing`,"xmlns:a":`http://schemas.openxmlformats.org/drawingml/2006/main`}}static{this.DRAWING_ATTRIBUTES_WITH_MC={"xmlns:xdr":`http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing`,"xmlns:a":`http://schemas.openxmlformats.org/drawingml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"xmlns:c":`http://schemas.openxmlformats.org/drawingml/2006/chart`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"xmlns:cx":`http://schemas.microsoft.com/office/drawing/2014/chartex`}}}})),lw,uw=t((()=>{j(),Vy(),zy(),lw=class extends A{constructor(){super(),this.map={r:new By,t:new Ry}}get tag(){return`rPh`}render(e,t){if(e.openNode(this.tag,{sb:t.sb??0,eb:t.eb??0}),t&&Object.prototype.hasOwnProperty.call(t,`richText`)&&t.richText){let{r:n}=this.map;t.richText.forEach(t=>{n.render(e,t)})}else t&&this.map.t.render(e,t.text);e.closeNode()}parseOpen(e){let{name:t}=e;return this.parser?(this.parser.parseOpen(e),!0):t===this.tag?(this.model={sb:parseInt(e.attributes.sb,10),eb:parseInt(e.attributes.eb,10)},!0):(this.parser=this.map[t],this.parser?(this.parser.parseOpen(e),!0):!1)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){switch(e){case`r`:{let e=this.model.richText;e||=this.model.richText=[],e.push(this.parser.model);break}case`t`:this.model.text=this.parser.model;break;default:break}this.parser=void 0}return!0}switch(e){case this.tag:return!1;default:return!0}}}})),dw,fw=t((()=>{j(),uw(),Vy(),zy(),dw=class extends A{constructor(e){super(),this.model=e,this.map={r:new By,t:new Ry,rPh:new lw}}get tag(){return`si`}render(e,t){e.openNode(this.tag),t&&typeof t==`object`&&Object.prototype.hasOwnProperty.call(t,`richText`)&&t.richText?t.richText.length?t.richText.forEach(t=>{this.map.r.render(e,t)}):this.map.t.render(e,``):t!=null&&this.map.t.render(e,t),e.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag?(this.model={},!0):(this.parser=this.map[e.name],this.parser?(this.parser.parseOpen(e),!0):!1)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){switch(e){case`r`:{let e=this.model.richText;e||=this.model.richText=[],e.push(this.parser.model);break}case`t`:this.model=this.parser.model;break;default:break}this.parser=void 0}return!0}switch(e){case this.tag:return!1;default:return!0}}}})),pw,mw=t((()=>{la(),j(),fw(),ag(),pw=class extends A{constructor(e){super(),this.model=e||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||=new dw}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString(e){return this.model.values[e]}add(e){return e.richText?this.addRichText(e):this.addText(e)}addText(e){let t=this.hash[e];return t===void 0&&(t=this.hash[e]=this.model.values.length,this.model.values.push(e)),this.model.count++,t}addRichText(e){let t=this.sharedStringXform.toXml(e),n=this.rich[t];return n===void 0&&(n=this.rich[t]=this.model.values.length,this.model.values.push(e)),this.model.count++,n}render(e,t){let n=t||this._values;e.openXml(of),e.openNode(`sst`,{xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,count:n.count,uniqueCount:n.values.length});let r=this.sharedStringXform;n.values.forEach(t=>{r.render(e,t)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case`sst`:return!0;case`si`:return this.parser=this.sharedStringXform,this.parser.parseOpen(e),!0;default:throw new $i(`sharedStrings`,`Unexpected xml node in parseOpen: ${JSON.stringify(e)}`)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;switch(e){case`sst`:return!1;default:throw new $i(`sharedStrings`,`Unexpected xml node in parseClose: ${e}`)}}}})),hw,gw=t((()=>{hw=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
408
- <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>`}));function _w(e){if(e.length===0)return;let t=e.splice(0);for(let e of t)e()}var vw,yw,bw,xw,Sw=t((()=>{jy(),Aa(),la(),WS(),mb(),ng(),qS(),nC(),iC(),mu(),Wg(),uC(),fC(),_C(),yC(),Yg(),$g(),cw(),mw(),H_(),gw(),Ei(),lr(),Hf(),vw=new Uint8Array,yw=new TextDecoder,bw=class{constructor(e,t){this._needsDrain=!1,this._drainResolvers=[],this._drainListenerAttached=!1,this._sinkError=null,this._lifecycleListenersAttached=!1,this.WorksheetWriterClass=t,this.created=e.created||new Date,this.modified=e.modified||this.created,this.creator=e.creator??`ExcelTS`,this.lastModifiedBy=e.lastModifiedBy??`ExcelTS`,this.lastPrinted=e.lastPrinted,this.useSharedStrings=e.useSharedStrings??!1,this.sharedStrings=new KS,this.styles=e.useStyles?new B_(!0):new B_.Mock(!0),this._definedNames=new ka,this._worksheets=[],this.views=[],this.zipOptions=e.zip;let n=e.zip?.zlib?.level??e.zip?.compressionOptions?.level??6;this.compressionLevel=Math.max(0,Math.min(9,n)),this.media=[],this.commentRefs=[],this.dynamicArrayCount=0,this._trueStreaming=e.trueStreaming??!1,this.zip=new Ay((e,t,n)=>{if(e)this.stream.emit(`error`,e);else{let e=this.stream.write(t);this._trackBackpressure(e),n&&this.stream.end()}}),this.stream=this._createOutputStream(e),this._attachSinkLifecycleListeners(),this.promise=Promise.resolve()}_createOutputStream(e){return e.stream?ei(e.stream):new tC}_trackBackpressure(e){if(e instanceof Promise){e.then(e=>{e||(this._needsDrain=!0)},()=>{});return}e===!1&&(this._needsDrain=!0),this._ensureDrainListener()}_ensureDrainListener(){this._drainListenerAttached||typeof this.stream.on==`function`&&(this._drainListenerAttached=!0,this.stream.on(`drain`,()=>{this._needsDrain=!1,_w(this._drainResolvers)}))}_attachSinkLifecycleListeners(){this._lifecycleListenersAttached||typeof this.stream.on==`function`&&(this._lifecycleListenersAttached=!0,typeof this.stream.once==`function`?(this.stream.once(`error`,e=>{this._sinkError||=e,this._wakeAllBackpressureWaiters()}),this.stream.once(`close`,()=>{this._wakeAllBackpressureWaiters()})):this.stream.on(`error`,e=>{this._sinkError||=e,this._wakeAllBackpressureWaiters()}))}_wakeAllBackpressureWaiters(){this._needsDrain=!1,_w(this._drainResolvers)}async _waitForUserSinkDrain(){if(!this._sinkError&&this._needsDrain)return new Promise(e=>this._drainResolvers.push(e))}get definedNames(){return this._definedNames}get defaultFont(){return this.styles.defaultFont}set defaultFont(e){this.styles.setDefaultFont&&this.styles.setDefaultFont(e)}_openStream(e){let t=new tC({bufSize:this._trueStreaming?4096:65536,batch:!this._trueStreaming}),n=new ky(e,{level:this.compressionLevel});this.zip.add(n);let r=e=>n.push(e);return t.on(`data`,r),t.once(`finish`,()=>{t.removeListener(`data`,r),n.push(vw,!0),t.emit(`zipped`)}),t}_addFile(e,t,n){let r=new ky(t,{level:this.compressionLevel});this.zip.add(r);let i;i=n?cf(typeof e==`string`?e:yw.decode(e)):typeof e==`string`?Yn(e):e,r.push(i,!0)}async _commitWorksheets(){for(let e of this._worksheets)!e||e.committed||(await new Promise(t=>{e.stream.once(`zipped`,()=>t()),e.commit()}),await this._waitForUserSinkDrain())}async commit(){await this.promise,await this._commitWorksheets(),await this.addMedia(),this.addDrawings(),await this._waitForUserSinkDrain(),await Promise.all([this.addThemes(),this.addOfficeRels(),this.addContentTypes(),this.addApp(),this.addCore(),this.addSharedStrings(),this.addStyles(),this.addFeaturePropertyBag(),this.addMetadata(),this.addWorkbookRels()]),await this._waitForUserSinkDrain(),await this.addWorkbook(),await this._waitForUserSinkDrain(),await this._finalize()}get nextId(){for(let e=1;e<this._worksheets.length;e++)if(!this._worksheets[e])return e;return this._worksheets.length||1}addImage(e){let t=this.media.length,n={...e,type:`image`,name:`image${t}.${e.extension}`};return this.media.push(n),t}getImage(e){return this.media[e]}async protect(e,t){this.protection=await rC(e,t)}unprotect(){this.protection=void 0}addWorksheet(e,t){let n=t||{},r=n.useSharedStrings===void 0?this.useSharedStrings:n.useSharedStrings;n.tabColor&&(console.trace(`tabColor option has moved to { properties: tabColor: {...} }`),n.properties={tabColor:n.tabColor,...n.properties});let i=this.nextId;e??=`sheet${i}`;let a=new this.WorksheetWriterClass({id:i,name:e,workbook:this,useSharedStrings:r,properties:n.properties,state:n.state,pageSetup:n.pageSetup,views:n.views,autoFilter:n.autoFilter,headerFooter:n.headerFooter});return this._worksheets[i]=a,a}getWorksheet(e){if(e===void 0)return this._worksheets.find(()=>!0);if(typeof e==`number`)return this._worksheets[e];if(typeof e==`string`){let t=e.toLowerCase();return this._worksheets.find(e=>e?.name?.toLowerCase()===t)}}addStyles(){return new Promise(e=>{this._addFile(this.styles.xml,k.xlStyles),e()})}addThemes(){return new Promise(e=>{this._addFile(hw,k.xlTheme1),e()})}addOfficeRels(){return new Promise(e=>{let t=new Qg().toXml([{Id:`rId1`,Type:D.OfficeDocument,Target:k.xlWorkbook},{Id:`rId2`,Type:D.CoreProperties,Target:k.docPropsCore},{Id:`rId3`,Type:D.ExtenderProperties,Target:k.docPropsApp}]);this._addFile(t,k.rootRels),e()})}addContentTypes(){return new Promise(e=>{let t=this._worksheets.filter(Boolean);t.forEach(e=>{e.fileIndex=e.id});let n=t.filter(e=>e.drawing).map(e=>e.drawing),r={worksheets:t,sharedStrings:this.sharedStrings,commentRefs:this.commentRefs,media:this.media,drawings:n,hasCheckboxes:this.styles.hasCheckboxes,hasDynamicArrayFormulas:this.dynamicArrayCount>0},i=new dC;this._addFile(i.toXml(r),k.contentTypes),e()})}addMedia(){return Promise.all(this.media.map(async e=>{if(e.type===`image`){let t=ym(e.name);if(e.buffer){this._addFile(e.buffer,t);return}if(e.base64){let n=e.base64.substring(e.base64.indexOf(`,`)+1);this._addFile(n,t,!0);return}if(e.filename)throw new ea(`Loading images from filename`,`not supported in browser. Use buffer or base64.`)}throw new sa(`Unsupported media`)}))}addDrawings(){let e=new sw,t=new Qg;for(let n of this._worksheets){if(!n?.drawing)continue;let{drawing:r}=n,i=pb(r.anchors),a={...r,anchors:i};e.prepare(a);let o=e.toXml(a);this._addFile(o,km(r.name));let s=t.toXml(r.rels);this._addFile(s,Am(r.name))}}addApp(){return new Promise(e=>{let t=new lC;this._addFile(t.toXml({worksheets:this._worksheets.filter(Boolean)}),k.docPropsApp),e()})}addCore(){return new Promise(e=>{let t=new gC;this._addFile(t.toXml(this),k.docPropsCore),e()})}addSharedStrings(){return this.sharedStrings.count?new Promise(e=>{let t=new pw;this._addFile(t.toXml(this.sharedStrings),k.xlSharedStrings),e()}):Promise.resolve()}addFeaturePropertyBag(){if(this.styles.hasCheckboxes){let e=new vC;this._addFile(e.toXml({}),k.xlFeaturePropertyBag)}return Promise.resolve()}addMetadata(){if(this.dynamicArrayCount<=0)return Promise.resolve();let e=new Jg;return this._addFile(e.toXml({dynamicArrayCount:this.dynamicArrayCount}),k.xlMetadata),Promise.resolve()}addWorkbookRels(){let e=1,t=[{Id:`rId${e++}`,Type:D.Styles,Target:Gh.workbookStyles},{Id:`rId${e++}`,Type:D.Theme,Target:Gh.workbookTheme1}];return this.sharedStrings.count&&t.push({Id:`rId${e++}`,Type:D.SharedStrings,Target:Gh.workbookSharedStrings}),this.styles.hasCheckboxes&&t.push({Id:`rId${e++}`,Type:D.FeaturePropertyBag,Target:Gh.workbookFeaturePropertyBag}),this.dynamicArrayCount>0&&t.push({Id:`rId${e++}`,Type:D.SheetMetadata,Target:Gh.workbookMetadata}),this._worksheets.forEach(n=>{n&&(n.rId=`rId${e++}`,t.push({Id:n.rId,Type:D.Worksheet,Target:Sm(n.id)}))}),new Promise(e=>{let n=new Qg;this._addFile(n.toXml(t),k.xlWorkbookRels),e()})}addWorkbook(){let e={worksheets:this._worksheets.filter(Boolean),definedNames:this._definedNames.model,views:this.views,properties:{},protection:this.protection,calcProperties:{}};return new Promise(t=>{let n=new Hg;n.prepare(e),this._addFile(n.toXml(e),k.xlWorkbook),t()})}_finalize(){if(this._sinkError){try{this.zip.end()}catch{}return Promise.reject(this._sinkError)}return new Promise((e,t)=>{let n=()=>{this.stream.removeListener(`close`,i),this.stream.removeListener(`error`,r)},r=e=>{n(),t(e)},i=()=>{if(n(),this._sinkError){t(this._sinkError);return}e(this)};this.stream.once(`error`,r),this.stream.once(`close`,i),this.zip.end()})}},xw=class extends bw{constructor(e={}){super(e,US)}}}));function Cw(){let e=`0123456789ABCDEF`,t=``;for(let n=0;n<32;n++)n===12?t+=`4`:n===16?t+=e[8+Math.floor(Math.random()*4)]:t+=e[Math.floor(Math.random()*16)],(n===7||n===11||n===15||n===19)&&(t+=`-`);return t}var ww=t((()=>{})),Tw,Ew,Dw,Ow,kw,Aw,jw,Mw=t((()=>{da(),Tw=9525,Ew=12700,Dw=142875,Ow=28575,kw=276225,Aw=190500,jw=class e{constructor(e,t,n){this.worksheet=e;let{tl:r,br:i}=this._parseRange(t),a=1025+(e.formControls?.length??0),o;n?.link&&(o=this._toAbsoluteRef(n.link)),this.model={shapeId:a,ctrlPropId:0,tl:r,br:i,link:o,checked:n?.checked?`Checked`:`Unchecked`,text:n?.text??``,noThreeD:n?.noThreeD??!0,print:n?.print??!1}}static fromModel(t,n){let r=Object.create(e.prototype);return r.worksheet=t,r.model={...n,tl:{...n.tl},br:{...n.br}},r}get checked(){return this.model.checked===`Checked`}set checked(e){this.model.checked=e?`Checked`:`Unchecked`}get link(){return this.model.link}set link(e){this.model.link=e?this._toAbsoluteRef(e):void 0}get text(){return this.model.text}set text(e){this.model.text=e}_toAbsoluteRef(e){if(e.includes(`$`))return e;let t=E.decodeAddress(e);return`$${E.n2l(t.col)}$${t.row}`}_parseRange(e){let t,n;if(typeof e==`string`)if(e.includes(`:`)){let r=E.decode(e);if(`top`in r)if(r.left===r.right&&r.top===r.bottom){let e=r.left-1,i=r.top-1;t={col:e,colOff:Dw,row:i,rowOff:Ow},n={col:e+2,colOff:kw,row:i+1,rowOff:Aw}}else t={col:r.left-1,colOff:Dw,row:r.top-1,rowOff:Ow},n={col:r.right-1,colOff:kw,row:r.bottom-1,rowOff:Aw};else t={col:r.col-1,colOff:Dw,row:r.row-1,rowOff:Ow},n={col:r.col+1,colOff:kw,row:r.row,rowOff:Aw}}else{let r=E.decodeAddress(e);t={col:r.col-1,colOff:Dw,row:r.row-1,rowOff:Ow},n={col:r.col+1,colOff:kw,row:r.row,rowOff:Aw}}else if(`startCol`in e)t={col:e.startCol,colOff:e.startColOff??Dw,row:e.startRow,rowOff:e.startRowOff??Ow},n={col:e.endCol,colOff:e.endColOff??kw,row:e.endRow,rowOff:e.endRowOff??Aw};else{if(typeof e.tl==`string`){let n=E.decodeAddress(e.tl);t={col:n.col-1,colOff:Dw,row:n.row-1,rowOff:Ow}}else t={col:e.tl.col,colOff:e.tl.colOff??Dw,row:e.tl.row,rowOff:e.tl.rowOff??Ow};if(e.br)if(typeof e.br==`string`){let t=E.decodeAddress(e.br);n={col:t.col-1,colOff:kw,row:t.row-1,rowOff:Aw}}else n={col:e.br.col,colOff:e.br.colOff??kw,row:e.br.row,rowOff:e.br.rowOff??Aw};else n={col:t.col+2,colOff:kw,row:t.row+1,rowOff:Aw}}return{tl:t,br:n}}getVmlAnchor(){return e.getVmlAnchor(this.model)}getVmlStyle(){return e.getVmlStyle(this.model)}getVmlCheckedValue(){return e.getVmlCheckedValue(this.model)}static getVmlAnchor(e){let{tl:t,br:n}=e,r=Math.round(t.colOff/Tw),i=Math.round(t.rowOff/Tw),a=Math.round(n.colOff/Tw),o=Math.round(n.rowOff/Tw);return`${t.col}, ${r}, ${t.row}, ${i}, ${n.col}, ${a}, ${n.row}, ${o}`}static getVmlStyle(e){return`position:absolute;margin-left:${Math.round(e.tl.colOff/Ew)}pt;margin-top:${Math.round(e.tl.rowOff/Ew)}pt;width:96pt;height:18pt;z-index:1;visibility:visible`}static getVmlCheckedValue(e){switch(e.checked){case`Checked`:return 1;case`Mixed`:return 2;default:return 0}}}})),Nw,Pw=t((()=>{Fy(),la(),da(),Nw=class e{constructor(e,t){this.worksheet=e,t&&(this.model=t)}get model(){switch(this.type){case`background`:return{type:this.type,imageId:this.imageId??``};case`watermark`:return{type:this.type,imageId:this.imageId??``,opacity:this.opacity};case`headerImage`:return{type:this.type,imageId:this.imageId??``,headerWidth:this.headerWidth,headerHeight:this.headerHeight,applyTo:this.applyTo};case`image`:{let e=this.range;if(!e)throw new sa(`Image has no range`);return e.pos?{type:this.type,imageId:this.imageId??``,hyperlinks:e.hyperlinks,range:{tl:{nativeCol:0,nativeColOff:0,nativeRow:0,nativeRowOff:0},ext:e.ext,pos:e.pos}}:{type:this.type,imageId:this.imageId??``,hyperlinks:e.hyperlinks,range:{tl:e.tl.model,br:e.br?.model,ext:e.ext,editAs:e.editAs}}}default:throw new sa(`Invalid Image Type`)}}set model({type:e,imageId:t,range:n,hyperlinks:r,opacity:i,headerWidth:a,headerHeight:o,applyTo:s}){if(this.type=e,this.imageId=t,this.opacity=i,this.headerWidth=a,this.headerHeight=o,this.applyTo=s,e===`image`){if(typeof n==`string`){let e=E.decode(n);`top`in e&&(this.range={tl:new Py(this.worksheet,{col:e.left,row:e.top},-1),br:new Py(this.worksheet,{col:e.right,row:e.bottom},0),editAs:`oneCell`})}else if(n&&`pos`in n&&n.pos)this.range={tl:new Py(this.worksheet,null,0),ext:n.ext,hyperlinks:r||(`hyperlinks`in n?n.hyperlinks:void 0),pos:n.pos};else if(n){let e=n.tl,t=n.br;this.range={tl:new Py(this.worksheet,e,typeof e==`string`?-1:0),br:t?new Py(this.worksheet,t,0):void 0,ext:n.ext,editAs:n.editAs,hyperlinks:r||(`hyperlinks`in n?n.hyperlinks:void 0)}}}}clone(t){let n=t??this.worksheet,r=new e(n);return r.type=this.type,r.imageId=this.imageId,r.opacity=this.opacity,r.headerWidth=this.headerWidth,r.headerHeight=this.headerHeight,r.applyTo=this.applyTo,this.range&&(r.range={tl:this.range.tl.clone(n),br:this.range.br?this.range.br.clone(n):void 0,ext:this.range.ext?{...this.range.ext}:void 0,editAs:this.range.editAs,hyperlinks:this.range.hyperlinks?{...this.range.hyperlinks}:void 0,pos:this.range.pos?{...this.range.pos}:void 0}),r}}}));function Fw(e){let t=e.model;if(t.headerRow===!1)throw new ia(`Cannot create pivot table from a table without headers. Set headerRow: true on the table.`);if(!t.rows||t.rows.length===0)throw new ia(`Cannot create pivot table from an empty table. Add data rows to the table.`);let n=t.columns.map(e=>e.name),r=new Set;for(let e of n){if(r.has(e))throw new ia(`Duplicate column name "${e}" found in table. Pivot tables require unique column names.`);r.add(e)}let i=[void 0,...n],a=t.rows.map(e=>[void 0,...e]),o=t.tl;if(!o)throw Error(`Table "${t.name}" is missing top-left cell address (tl)`);let s=o.row,c=o.col,l=s+t.rows.length,u=c+n.length-1,d=E.encode(s,c,l,u);return{name:e.worksheet.name,tableName:t.name,getRow(e){if(e===1)return{values:i};let t=e-qw;return t>=0&&t<a.length?{values:a[t]}:{values:[]}},getColumn(e){if(e<1||e>n.length)return{values:[]};let r=[];r[1]=n[e-1];for(let n=0;n<t.rows.length;n++)r[n+2]=t.rows[n][e-1];return{values:r}},getSheetValues(){let e=[];e[1]=i;for(let t=0;t<a.length;t++)e[t+2]=a[t];return e},dimensions:{shortRange:d}}}function Iw(e){if(e.sourceSheet&&e.sourceTable)throw new ia(`Cannot specify both sourceSheet and sourceTable. Choose one.`);if(e.sourceTable)return Fw(e.sourceTable);if(!e.sourceSheet)throw Error(`Either sourceSheet or sourceTable must be provided.`);return e.sourceSheet}function Lw(e){return typeof e==`string`?e:e.name}function Rw(e){return typeof e==`string`?void 0:e.metric}function zw(e,t){let n=Iw(t);Vw(t,n);let{rows:r}=t,i=t.columns??[],a=t.pages??[],o=t.values.map(Lw),s=t.metric??`sum`,c=t.values.map(e=>Rw(e)??s),l=Uw(n,[...r,...i,...a],o),u={};for(let e=0;e<l.length;e++)u[l[e].name]=e;let d=(e,t)=>{let n=u[e];if(n===void 0)throw Error(`${t} field "${e}" not found in cache fields`);return n},f=r.map(e=>d(e,`Row`)),p=i.map(e=>d(e,`Column`)),m=o.map(e=>d(e,`Value`)),h=a.map(e=>d(e,`Page`)),g=e.workbook.pivotTables.map(e=>e.tableNumber).filter(e=>Number.isFinite(e)),_=g.length>0?g.reduce((e,t)=>e>t?e:t,-1/0)+1:1,v=e.workbook.pivotTables.map(e=>parseInt(e.cacheId,10)).filter(e=>Number.isFinite(e)),y=v.length>0?v.reduce((e,t)=>e>t?e:t,-1/0)+1:Jw+_-1,b=Bw(t.ref);return{name:`PivotTable${_}`,worksheetName:e.name,source:n,rows:f,columns:p,values:m,pages:h,metric:s,valueMetrics:c,cacheFields:l,cacheId:String(y),applyWidthHeightFormats:t.applyWidthHeightFormats??`1`,ref:b,tableNumber:_}}function Bw(e){if(e===void 0)return;if(typeof e!=`string`||e.trim()===``)throw new ia(`Invalid pivot table ref "${String(e)}". Provide a cell address like "A3".`);let t=e.trim().replace(/^[^!]+!/,``),n=t.includes(`:`)?t.split(`:`,1)[0]:t,r;try{r=E.decodeAddress(n)}catch{throw new ia(`Invalid pivot table ref "${e}". Provide a cell address like "A3".`)}if(!r.col||!r.row)throw new ia(`Invalid pivot table ref "${e}". Both column and row are required (e.g. "A3").`);return`${E.n2l(r.col)}${r.row}`}function Vw(e,t){let n=e.columns??[],r=e.pages??[],i=e.values.map(Lw),a=t.getRow(1).values.slice(1);for(let e=0;e<a.length;e++){let n=a[e];if(n==null||n===``||typeof n==`string`&&n.trim()===``)throw Error(`Empty or missing header name at column ${e+1} in ${t.name}. Pivot tables require all columns to have non-empty headers.`)}let o=new Set;for(let e of a){let n=String(e);if(o.has(n))throw Error(`Duplicate header name "${n}" found in ${t.name}. Pivot tables require unique column names.`);o.add(n)}let s=new Set(a.map(String)),c=e=>{if(!s.has(e))throw new ia(`The header name "${e}" was not found in ${t.name}.`)};for(let t of e.rows)c(t);for(let e of n)c(e);for(let e of i)c(e);for(let e of r)c(e);let l=new Map,u=[{name:`rows`,fields:e.rows},{name:`columns`,fields:n},{name:`pages`,fields:r}];for(let e of u)for(let t of e.fields){let n=l.get(t);if(n===e.name)throw Error(`Duplicate field "${t}" in ${e.name}. Each field can only appear once per axis area.`);if(n)throw Error(`Field "${t}" cannot appear in both ${n} and ${e.name}. Each field can only be assigned to one axis area.`);l.set(t,e.name)}if(!e.rows.length)throw new ia(`No pivot table rows specified.`);if(e.values.length<1)throw new ia(`Must have at least one value.`);if(e.metric!==void 0&&!Kw.has(e.metric))throw Error(`Invalid metric "${e.metric}". Must be one of: ${[...Kw].join(`, `)}.`);for(let t of e.values){let e=Rw(t);if(e!==void 0&&!Kw.has(e))throw Error(`Invalid metric "${e}" on value field "${Lw(t)}". Must be one of: ${[...Kw].join(`, `)}.`)}let d=new Set;for(let e of i){if(d.has(e))throw Error(`Duplicate value field "${e}". Each value field name must be unique.`);d.add(e)}}function Hw(e){if(e==null)return null;if(typeof e!=`object`||e instanceof Date||e instanceof Ww)return e;let t=e;if(typeof t.error==`string`){let e=t.error;return new Ww(e.startsWith(`#`)?e.slice(1):e)}if(`formula`in t||`sharedFormula`in t){let e=t.result;return e==null?null:Hw(e)}return Array.isArray(t.richText)?t.richText.map(e=>e.text??``).join(``):typeof t.text==`string`&&typeof t.hyperlink==`string`?t.text:typeof t.checkbox==`boolean`?t.checkbox:String(e)}function Uw(e,t,n){let r=e.getRow(1).values,i=new Set(t),a=new Set(n),o=t=>{let n=e.getColumn(t).values,r=new Set,i=new Map,a=!1;for(let e=qw;e<n.length;e++){let t=Hw(n[e]);t===null||typeof t==`number`&&isNaN(t)?a=!0:t instanceof Ww?i.has(t.code)||(i.set(t.code,t),r.add(t)):r.add(t)}let o=bf(r);return a&&o.push(null),o},s=t=>{let n=e.getColumn(t).values,r=1/0,i=-1/0,a=!1,o=!0;for(let e=qw;e<n.length;e++){let t=Hw(n[e]);typeof t==`number`&&!isNaN(t)&&(a=!0,t<r&&(r=t),t>i&&(i=t),Number.isInteger(t)||(o=!1))}return a?{minValue:r,maxValue:i,allInteger:o}:null},c=[];for(let e of yf(1,r.length)){let t=r[e],n=String(t);if(i.has(n))c.push({name:n,sharedItems:o(e)});else if(a.has(n)){let t=s(e);c.push({name:n,sharedItems:null,containsNumber:t?`1`:void 0,minValue:t?.minValue,maxValue:t?.maxValue,containsInteger:t?.allInteger?`1`:void 0})}else c.push({name:n,sharedItems:null})}return c}var Ww,Gw,Kw,qw,Jw,Yw=t((()=>{la(),da(),Hf(),Ww=class{constructor(e){this.code=e}toString(){return`#${this.code}`}},Gw={sum:`Sum`,count:`Count`,average:`Average`,max:`Max`,min:`Min`,product:`Product`,countNums:`Count Numbers`,stdDev:`StdDev`,stdDevP:`StdDevP`,var:`Var`,varP:`VarP`},Kw=new Set(Object.keys(Gw)),qw=2,Jw=10}));function Xw(e){let t=e.replace(tT,`_`),n=!1;return t.startsWith(`\\`)&&(n=!0,t=t.slice(1)),t=t.replace(nT,``),n&&(t=`\\${t}`),t.length>0&&!rT.test(t)&&(t=`_${t}`),t.length===0?`_Table`:(t.length===1&&eT.has(t)&&(t=`_${t}`),(Qw.test(t)||$w.test(t))&&(t=`_${t}`),t.length>Zw&&(t=t.slice(0,Zw)),t)}var Zw,Qw,$w,eT,tT,nT,rT,iT,aT,oT=t((()=>{la(),da(),Zw=255,Qw=/^[A-Za-z]{1,3}\d+$/,$w=/^[Rr]\d+[Cc]\d+$/,eT=new Set([`C`,`c`,`R`,`r`]),tT=/\s/g,nT=/[^\p{L}\p{N}_.]/gu,rT=/^[\p{L}_\\]/u,iT=class{constructor(e,t,n){this.table=e,this.column=t,this.index=n}_set(e,t){this.table.cacheState(),this.column[e]=t}get name(){return this.column.name}set name(e){this._set(`name`,e)}get filterButton(){return this.column.filterButton}set filterButton(e){this.column.filterButton=e}get style(){return this.column.style}set style(e){this._set(`style`,e)}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(e){this._set(`totalsRowLabel`,e)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(e){this._set(`totalsRowFunction`,e)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(e){this._set(`totalsRowResult`,e)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(e){this._set(`totalsRowFormula`,e)}},aT=class e{constructor(e,t){if(this.worksheet=e,t){if(this.table=t,Array.isArray(t.rows)&&t.rows.length===0&&t.tableRef){let n=E.decode(t.tableRef);if(`dimensions`in n){let r=n.top+(t.headerRow===!1?0:1),i=n.bottom-+(t.totalsRow===!0);if(i>=r)for(let a=r;a<=i;a++){let r=e.getRow(a),i=[];for(let e=n.left;e<=n.right;e++)i.push(r.getCell(e).value);t.rows.push(i)}}}this.validate(),this.store()}}static{this.SUBTOTAL_FUNCTIONS={average:101,countNums:102,count:103,max:104,min:105,stdDev:107,var:110,sum:109}}getFormula(t){if(t.totalsRowFunction===`none`)return null;if(t.totalsRowFunction===`custom`)return t.totalsRowFormula??null;let n=t.totalsRowFunction?e.SUBTOTAL_FUNCTIONS[t.totalsRowFunction]:void 0;if(n!==void 0)return`SUBTOTAL(${n},${this.table.name}[${t.name}])`;throw new oa(`Invalid Totals Row Function: ${t.totalsRowFunction}`)}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+ +!!this.table.headerRow}get tableHeight(){return this.filterHeight+ +!!this.table.totalsRow}validate(){let{table:e}=this,t=(e,t,n)=>{e[t]===void 0&&(e[t]=n)};t(e,`headerRow`,!0),t(e,`totalsRow`,!1),t(e,`style`,{});let n=e.style;t(n,`theme`,`TableStyleMedium2`),t(n,`showFirstColumn`,!1),t(n,`showLastColumn`,!1),t(n,`showRowStripes`,!1),t(n,`showColumnStripes`,!1),e.name&&=Xw(e.name),e.displayName&&=Xw(e.displayName);let r=(e,t)=>{if(!e)throw new oa(t)};r(!!e.name,`Table must have a name`),r(!!e.ref,`Table must have ref`),r(!!e.columns,`Table must have column definitions`),r(!!e.rows,`Table must have row definitions`),e.tl=E.decodeAddress(e.ref);let{row:i,col:a}=e.tl;r(i>0,`Table must be on valid row`),r(a>0,`Table must be on valid col`);let{width:o,filterHeight:s,tableHeight:c}=this;e.autoFilterRef=E.encode(i,a,i+s-1,a+o-1),e.tableRef=E.encode(i,a,i+c-1,a+o-1),e.columns.forEach((e,n)=>{r(!!e.name,`Column ${n} must have a name`),n===0?t(e,`totalsRowLabel`,`Total`):(t(e,`totalsRowFunction`,`none`),e.totalsRowFormula=this.getFormula(e)??void 0)})}store(){let e=(e,t)=>{t&&Object.assign(e.style,t)},{worksheet:t,table:n}=this,{row:r,col:i}=n.tl,a=0;if(n.headerRow){let o=t.getRow(r+ a++);n.columns.forEach((t,n)=>{let{style:r,name:a}=t,s=o.getCell(i+n);s.value=a,e(s,r)})}if(n.rows.forEach(o=>{let s=t.getRow(r+ a++);o.forEach((t,r)=>{let a=s.getCell(i+r);if(typeof t==`object`&&t&&`formula`in t&&typeof t.formula==`string`){let e=t,r=n.qualifyImplicitStructuredReferences===!0;a.value={...e,formula:r?e.formula.replace(/(^|[^A-Za-z0-9_])\[@\[?([^[\]]+?)\]?\]/g,`$1${n.name}[[#This Row],[$2]]`):e.formula}}else a.value=t;e(a,n.columns[r]?.style)})}),n.totalsRow){let o=t.getRow(r+ a++);n.columns.forEach((t,n)=>{let r=o.getCell(i+n);if(n===0)r.value=t.totalsRowLabel;else{let e=this.getFormula(t);e?r.value={formula:e,result:t.totalsRowResult}:r.value=null}e(r,t.style)})}}load(e){let{table:t}=this,{row:n,col:r}=t.tl,i=0;if(t.headerRow){let a=e.getRow(n+ i++);t.columns.forEach((e,t)=>{let n=a.getCell(r+t);n.value=e.name})}if(t.rows.forEach(t=>{let a=e.getRow(n+ i++);t.forEach((e,t)=>{let n=a.getCell(r+t);n.value=e})}),t.totalsRow){let a=e.getRow(n+ i++);t.columns.forEach((e,t)=>{let n=a.getCell(r+t);if(t===0)n.value=e.totalsRowLabel;else{let t=this.getFormula(e);t&&(n.value={formula:t,result:e.totalsRowResult})}})}}get model(){return this.table}set model(e){this.table=e}cacheState(){this._cache||={ref:this.ref,width:this.width,tableHeight:this.tableHeight}}commit(){if(!this._cache)return;this.validate();let e=E.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let t=0;t<this._cache.tableHeight;t++){let n=this.worksheet.getRow(e.row+t);for(let t=0;t<this._cache.width;t++){let r=n.getCell(e.col+t);r.value=null}}else{for(let t=this.tableHeight;t<this._cache.tableHeight;t++){let n=this.worksheet.getRow(e.row+t);for(let t=0;t<this._cache.width;t++){let r=n.getCell(e.col+t);r.value=null}}for(let t=0;t<this.tableHeight;t++){let n=this.worksheet.getRow(e.row+t);for(let t=this.width;t<this._cache.width;t++){let r=n.getCell(e.col+t);r.value=null}}}this.store(),this._cache=void 0}addRow(e,t,n){this.cacheState(),t===void 0?this.table.rows.push(e):this.table.rows.splice(t,0,e),n?.commit!==!1&&this.commit()}removeRows(e,t=1,n){this.cacheState(),this.table.rows.splice(e,t),n?.commit!==!1&&this.commit()}getColumn(e){let t=this.table.columns[e];return new iT(this,t,e)}addColumn(e,t,n){this.cacheState(),n===void 0?(this.table.columns.push(e),this.table.rows.forEach((e,n)=>{e.push(t[n])})):(this.table.columns.splice(n,0,e),this.table.rows.forEach((e,r)=>{e.splice(n,0,t[r])}))}removeColumns(e,t=1){this.cacheState(),this.table.columns.splice(e,t),this.table.rows.forEach(n=>{n.splice(e,t)})}_assign(e,t,n){this.cacheState(),e[t]=n}get ref(){return this.table.ref}set ref(e){this._assign(this.table,`ref`,e)}get name(){return this.table.name}set name(e){this.cacheState();let t=Xw(e),n=this.table.name;if(t===n)return;let r=this.worksheet,i=r?.tables,a=r?.workbook?._tableNames;if(i&&i[n]===this){let e=t.toLowerCase(),r=n.toLowerCase();if(e!==r&&a?.has(e))throw new oa(`Table name "${t}" already exists in the workbook (case-insensitive).`);delete i[n],i[t]=this,a&&(a.delete(r),a.add(e))}this.table.name=t}get displayName(){return this.table.displayName||this.table.name}set displayName(e){this.cacheState(),this.table.displayName=Xw(e)}get headerRow(){return this.table.headerRow}set headerRow(e){this._assign(this.table,`headerRow`,e)}get totalsRow(){return this.table.totalsRow}set totalsRow(e){this._assign(this.table,`totalsRow`,e)}_ensureStyle(){return this.table.style||(this.table.style={}),this.table.style}get theme(){return this.table.style?.theme}set theme(e){this._ensureStyle().theme=e}get showFirstColumn(){return this.table.style?.showFirstColumn}set showFirstColumn(e){this._ensureStyle().showFirstColumn=e}get showLastColumn(){return this.table.style?.showLastColumn}set showLastColumn(e){this._ensureStyle().showLastColumn=e}get showRowStripes(){return this.table.style?.showRowStripes}set showRowStripes(e){this._ensureStyle().showRowStripes=e}get showColumnStripes(){return this.table.style?.showColumnStripes}set showColumnStripes(e){this._ensureStyle().showColumnStripes=e}}}));function sT(e,t,n){ET[e.toLowerCase()]=t,n&&(DT[e.toLowerCase()]=n)}function cT(e){let t=kT.get(e);if(t)return t;t=new Map;for(let[n,r,i]of e.advances)for(let e=0;e<r;e++)t.set(n+e,i);return kT.set(e,t),t}function lT(e,t){let n=e.toLowerCase();return t?DT[n]??ET[n]:ET[n]}function uT(e){return Object.hasOwn(DT,e.toLowerCase())}function dT(){return _T}function fT(e,t){return t>=19968&&t<=40959||t>=13312&&t<=19903||t>=63744&&t<=64255||t>=131072&&t<=205743||t>=12288&&t<=12543||t>=44032&&t<=55215||t>=65281&&t<=65376||t>=11904&&t<=12255||t>=12544&&t<=13311?e.cjkAdvance:cT(e).get(t)??e.defaultAdvance}function pT(e){return gT[e]}function mT(e){return OT[e.toLowerCase()]}function hT(e){return e>=19968&&e<=40959||e>=13312&&e<=19903||e>=63744&&e<=64255||e>=65281&&e<=65376||e>=12288&&e<=12543||e>=11904&&e<=12255||e>=12544&&e<=13311||e>=44032&&e<=55215||e>=131072&&e<=205743}var gT,_T,vT,yT,bT,xT,ST,CT,wT,TT,ET,DT,OT,kT,AT=t((()=>{gT={32:3,33:5,34:6,35:7,36:7,37:11,38:10,39:3,40:5,41:5,42:7,43:7,44:4,45:5,46:4,47:6,48:7,49:7,50:7,51:7,52:7,53:7,54:7,55:7,56:7,57:7,58:4,59:4,60:7,61:7,62:7,63:7,64:13,65:9,66:8,67:8,68:9,69:7,70:7,71:9,72:9,73:4,74:5,75:8,76:6,77:12,78:10,79:10,80:8,81:10,82:8,83:7,84:7,85:9,86:9,87:13,88:8,89:7,90:7,91:5,92:6,93:5,94:7,95:7,96:4,97:7,98:8,99:6,100:8,101:8,102:5,103:7,104:8,105:4,106:4,107:7,108:4,109:12,110:8,111:8,112:8,113:8,114:5,115:6,116:5,117:8,118:7,119:11,120:7,121:7,122:6,123:5,124:7,125:5,126:7},_T={header:{unitsPerEm:2048,usWinAscent:1950,usWinDescent:550,maxDigitAdvance:1038,sTypoAscender:1536,sTypoDescender:-512,sTypoLineGap:452},defaultAdvance:1e3,cjkAdvance:2048,advances:[[32,1,463],[33,1,667],[34,1,821],[35,1,1020],[36,1,1038],[37,1,1464],[38,1,1397],[39,1,452],[40,2,621],[42,2,1020],[44,1,511],[45,1,627],[46,1,517],[47,1,791],[48,10,1038],[58,2,548],[60,3,1020],[63,1,949],[64,1,1831],[65,1,1185],[66,1,1114],[67,1,1092],[68,1,1260],[69,1,1e3],[70,1,941],[71,1,1292],[72,1,1276],[73,1,516],[74,1,653],[75,1,1064],[76,1,861],[77,1,1751],[78,1,1322],[79,1,1356],[80,1,1058],[81,1,1378],[82,1,1112],[83,1,941],[84,1,998],[85,1,1314],[86,1,1162],[87,1,1822],[88,1,1063],[89,1,998],[90,1,959],[91,1,628],[92,1,791],[93,1,628],[94,2,1020],[96,1,596],[97,1,981],[98,1,1076],[99,1,866],[100,1,1076],[101,1,1019],[102,1,625],[103,1,964],[104,1,1076],[105,1,470],[106,1,490],[107,1,931],[108,1,470],[109,1,1636],[110,1,1076],[111,1,1080],[112,2,1076],[114,1,714],[115,1,801],[116,1,686],[117,1,1076],[118,1,925],[119,1,1464],[120,1,887],[121,1,927],[122,1,809],[123,1,644],[124,1,943],[125,1,644],[126,1,1020]]},vT={header:{unitsPerEm:2048,usWinAscent:1854,usWinDescent:434,maxDigitAdvance:1139,sTypoAscender:1491,sTypoDescender:-431,sTypoLineGap:307},defaultAdvance:1024,cjkAdvance:2048,advances:[[32,1,569],[33,1,569],[34,1,727],[35,1,1139],[36,1,1139],[37,1,1821],[38,1,1366],[39,1,391],[40,1,682],[41,1,682],[42,1,797],[43,1,1196],[44,1,569],[45,1,682],[46,1,569],[47,1,569],[48,10,1139],[58,1,569],[59,1,569],[60,1,1196],[61,1,1196],[62,1,1196],[63,1,1139],[64,1,2079],[65,1,1366],[66,1,1366],[67,1,1479],[68,1,1479],[69,1,1366],[70,1,1251],[71,1,1593],[72,1,1479],[73,1,569],[74,1,1024],[75,1,1366],[76,1,1139],[77,1,1706],[78,1,1479],[79,1,1593],[80,1,1366],[81,1,1593],[82,1,1479],[83,1,1366],[84,1,1251],[85,1,1479],[86,1,1366],[87,1,1933],[88,1,1366],[89,1,1366],[90,1,1251],[91,1,569],[92,1,569],[93,1,569],[94,1,961],[95,1,1139],[96,1,682],[97,1,1139],[98,1,1139],[99,1,1024],[100,1,1139],[101,1,1139],[102,1,569],[103,1,1139],[104,1,1139],[105,1,455],[106,1,455],[107,1,1024],[108,1,455],[109,1,1706],[110,1,1139],[111,1,1139],[112,1,1139],[113,1,1139],[114,1,682],[115,1,1024],[116,1,569],[117,1,1139],[118,1,1024],[119,1,1479],[120,1,1024],[121,1,1024],[122,1,1024],[123,1,684],[124,1,532],[125,1,684],[126,1,1196]]},yT={header:{unitsPerEm:2048,usWinAscent:1854,usWinDescent:434,maxDigitAdvance:1139,sTypoAscender:1491,sTypoDescender:-431,sTypoLineGap:307},defaultAdvance:1070,cjkAdvance:2048,advances:[[32,1,569],[33,1,682],[34,1,974],[35,1,1139],[36,1,1139],[37,1,1821],[38,1,1479],[39,1,569],[40,1,682],[41,1,682],[42,1,797],[43,1,1196],[44,1,569],[45,1,682],[46,1,569],[47,1,569],[48,10,1139],[58,1,682],[59,1,682],[60,1,1196],[61,1,1196],[62,1,1196],[63,1,1251],[64,1,1991],[65,1,1479],[66,1,1479],[67,1,1479],[68,1,1479],[69,1,1366],[70,1,1251],[71,1,1593],[72,1,1479],[73,1,682],[74,1,1139],[75,1,1479],[76,1,1251],[77,1,1706],[78,1,1479],[79,1,1593],[80,1,1366],[81,1,1593],[82,1,1479],[83,1,1366],[84,1,1251],[85,1,1479],[86,1,1366],[87,1,1933],[88,1,1366],[89,1,1366],[90,1,1251],[91,1,682],[92,1,569],[93,1,682],[94,1,1196],[95,1,1139],[96,1,682],[97,1,1139],[98,1,1251],[99,1,1024],[100,1,1251],[101,1,1139],[102,1,682],[103,1,1251],[104,1,1251],[105,1,569],[106,1,569],[107,1,1139],[108,1,569],[109,1,1821],[110,1,1251],[111,1,1251],[112,1,1251],[113,1,1251],[114,1,797],[115,1,1024],[116,1,682],[117,1,1251],[118,1,1139],[119,1,1593],[120,1,1139],[121,1,1139],[122,1,1024],[123,1,797],[124,1,569],[125,1,797],[126,1,1196]]},bT={header:{unitsPerEm:2048,usWinAscent:1825,usWinDescent:443,maxDigitAdvance:1024,sTypoAscender:1420,sTypoDescender:-442,sTypoLineGap:307},defaultAdvance:900,cjkAdvance:2048,advances:[[32,1,512],[33,1,682],[34,1,836],[35,1,1024],[36,1,1024],[37,1,1706],[38,1,1593],[39,1,369],[40,1,682],[41,1,682],[42,1,1024],[43,1,1155],[44,1,512],[45,1,682],[46,1,512],[47,1,569],[48,10,1024],[58,1,569],[59,1,569],[60,1,1155],[61,1,1155],[62,1,1155],[63,1,909],[64,1,1886],[65,1,1479],[66,1,1366],[67,1,1366],[68,1,1479],[69,1,1251],[70,1,1139],[71,1,1479],[72,1,1479],[73,1,682],[74,1,797],[75,1,1479],[76,1,1251],[77,1,1821],[78,1,1479],[79,1,1479],[80,1,1139],[81,1,1479],[82,1,1366],[83,1,1139],[84,1,1251],[85,1,1479],[86,1,1479],[87,1,1933],[88,1,1479],[89,1,1479],[90,1,1251],[91,1,682],[92,1,569],[93,1,682],[94,1,961],[95,1,1024],[96,1,682],[97,1,909],[98,1,1024],[99,1,909],[100,1,1024],[101,1,909],[102,1,682],[103,1,1024],[104,1,1024],[105,1,569],[106,1,569],[107,1,1024],[108,1,569],[109,1,1479],[110,1,1024],[111,1,1024],[112,1,1024],[113,1,1024],[114,1,682],[115,1,797],[116,1,569],[117,1,1024],[118,1,1024],[119,1,1479],[120,1,1024],[121,1,1024],[122,1,909],[123,1,983],[124,1,410],[125,1,983],[126,1,1073]]},xT={header:{unitsPerEm:2048,usWinAscent:1705,usWinDescent:615,maxDigitAdvance:1229,sTypoAscender:1255,sTypoDescender:-386,sTypoLineGap:0},defaultAdvance:1229,cjkAdvance:2048,advances:[[32,95,1229]]},ST={header:{unitsPerEm:2048,usWinAscent:2059,usWinDescent:430,maxDigitAdvance:1302,sTypoAscender:1566,sTypoDescender:-423,sTypoLineGap:202},defaultAdvance:1200,cjkAdvance:2048,advances:[[32,1,720],[33,1,756],[34,1,933],[35,1,1521],[36,1,1198],[37,1,1807],[38,1,1487],[39,1,510],[40,1,756],[41,1,756],[42,1,1198],[43,1,1521],[44,1,643],[45,1,811],[46,1,643],[47,1,899],[48,10,1302],[58,1,756],[59,1,756],[60,1,1521],[61,1,1521],[62,1,1521],[63,1,1151],[64,1,1937],[65,1,1362],[66,1,1382],[67,1,1279],[68,1,1490],[69,1,1279],[70,1,1186],[71,1,1458],[72,1,1498],[73,1,924],[74,1,922],[75,1,1362],[76,1,1145],[77,1,1728],[78,1,1498],[79,1,1476],[80,1,1262],[81,1,1476],[82,1,1396],[83,1,1300],[84,1,1185],[85,1,1448],[86,1,1362],[87,1,1864],[88,1,1244],[89,1,1183],[90,1,1204],[91,1,756],[92,1,899],[93,1,756],[94,1,1521],[95,1,1198],[96,1,1198],[97,1,1224],[98,1,1302],[99,1,1075],[100,1,1302],[101,1,1218],[102,1,756],[103,1,1302],[104,1,1317],[105,1,643],[106,1,700],[107,1,1183],[108,1,643],[109,1,1937],[110,1,1317],[111,1,1271],[112,1,1302],[113,1,1302],[114,1,899],[115,1,1075],[116,1,811],[117,1,1317],[118,1,1183],[119,1,1728],[120,1,1183],[121,1,1183],[122,1,1031],[123,1,787],[124,1,756],[125,1,787],[126,1,1521]]},CT={header:{unitsPerEm:2048,usWinAscent:1878,usWinDescent:449,maxDigitAdvance:1257,sTypoAscender:1549,sTypoDescender:-444,sTypoLineGap:198},defaultAdvance:1100,cjkAdvance:2048,advances:[[32,1,504],[33,1,614],[34,1,679],[35,1,1257],[36,1,1024],[37,1,1539],[38,1,1350],[39,1,391],[40,1,614],[41,1,614],[42,1,842],[43,1,1257],[44,1,504],[45,1,751],[46,1,504],[47,1,797],[48,10,1257],[58,1,569],[59,1,569],[60,1,1257],[61,1,1257],[62,1,1257],[63,1,885],[64,1,1614],[65,1,1350],[66,1,1273],[67,1,1161],[68,1,1427],[69,1,1163],[70,1,1074],[71,1,1314],[72,1,1517],[73,1,721],[74,1,772],[75,1,1397],[76,1,1176],[77,1,1770],[78,1,1462],[79,1,1392],[80,1,1118],[81,1,1392],[82,1,1321],[83,1,1019],[84,1,1163],[85,1,1456],[86,1,1321],[87,1,1887],[88,1,1314],[89,1,1220],[90,1,1055],[91,1,614],[92,1,797],[93,1,614],[94,1,1257],[95,1,1024],[96,1,682],[97,1,1019],[98,1,1100],[99,1,866],[100,1,1106],[101,1,958],[102,1,654],[103,1,1006],[104,1,1152],[105,1,606],[106,1,606],[107,1,1048],[108,1,606],[109,1,1700],[110,1,1131],[111,1,1042],[112,1,1100],[113,1,1100],[114,1,772],[115,1,820],[116,1,688],[117,1,1117],[118,1,1019],[119,1,1559],[120,1,1007],[121,1,1012],[122,1,880],[123,1,637],[124,1,583],[125,1,637],[126,1,1257]]},wT={header:{unitsPerEm:2048,usWinAscent:2049,usWinDescent:423,maxDigitAdvance:1118,sTypoAscender:1566,sTypoDescender:-423,sTypoLineGap:59},defaultAdvance:1050,cjkAdvance:2048,advances:[[32,1,461],[33,1,536],[34,1,717],[35,1,1232],[36,1,1014],[37,1,1625],[38,1,1327],[39,1,428],[40,1,616],[41,1,616],[42,1,900],[43,1,1232],[44,1,504],[45,1,700],[46,1,504],[47,1,753],[48,10,1118],[58,1,567],[59,1,567],[60,1,1232],[61,1,1232],[62,1,1232],[63,1,974],[64,1,1810],[65,1,1205],[66,1,1200],[67,1,1130],[68,1,1327],[69,1,1117],[70,1,1032],[71,1,1306],[72,1,1308],[73,1,614],[74,1,794],[75,1,1195],[76,1,1003],[77,1,1500],[78,1,1308],[79,1,1381],[80,1,1103],[81,1,1381],[82,1,1200],[83,1,1117],[84,1,1100],[85,1,1300],[86,1,1205],[87,1,1723],[88,1,1119],[89,1,1130],[90,1,1068],[91,1,616],[92,1,753],[93,1,616],[94,1,1232],[95,1,893],[96,1,1118],[97,1,1066],[98,1,1141],[99,1,942],[100,1,1141],[101,1,1086],[102,1,639],[103,1,1141],[104,1,1126],[105,1,500],[106,1,548],[107,1,1023],[108,1,500],[109,1,1705],[110,1,1126],[111,1,1103],[112,1,1141],[113,1,1141],[114,1,714],[115,1,918],[116,1,700],[117,1,1126],[118,1,1e3],[119,1,1500],[120,1,1e3],[121,1,1e3],[122,1,880],[123,1,616],[124,1,540],[125,1,616],[126,1,1232]]},TT={header:{unitsPerEm:2048,usWinAscent:1923,usWinDescent:455,maxDigitAdvance:1074,sTypoAscender:1510,sTypoDescender:-420,sTypoLineGap:0},defaultAdvance:1e3,cjkAdvance:2048,advances:[[32,1,453],[33,1,545],[34,1,613],[35,1,1107],[36,1,1074],[37,1,1341],[38,1,1213],[39,1,360],[40,1,616],[41,1,616],[42,1,860],[43,1,1107],[44,1,453],[45,1,697],[46,1,453],[47,1,766],[48,10,1074],[58,1,453],[59,1,453],[60,1,1107],[61,1,1107],[62,1,1107],[63,1,860],[64,1,1648],[65,1,1227],[66,1,1227],[67,1,1139],[68,1,1309],[69,1,1139],[70,1,1057],[71,1,1309],[72,1,1395],[73,1,627],[74,1,791],[75,1,1260],[76,1,1057],[77,1,1456],[78,1,1350],[79,1,1395],[80,1,1139],[81,1,1395],[82,1,1215],[83,1,1057],[84,1,1139],[85,1,1350],[86,1,1227],[87,1,1730],[88,1,1260],[89,1,1139],[90,1,1139],[91,1,616],[92,1,766],[93,1,616],[94,1,1107],[95,1,1074],[96,1,860],[97,1,1013],[98,1,1074],[99,1,936],[100,1,1074],[101,1,1013],[102,1,627],[103,1,1074],[104,1,1074],[105,1,545],[106,1,538],[107,1,1013],[108,1,545],[109,1,1539],[110,1,1074],[111,1,1074],[112,1,1074],[113,1,1074],[114,1,715],[115,1,860],[116,1,627],[117,1,1074],[118,1,936],[119,1,1481],[120,1,936],[121,1,936],[122,1,860],[123,1,616],[124,1,604],[125,1,616],[126,1,1107]]},ET={},DT={},sT(`calibri`,_T),sT(`arial`,vT,yT),sT(`times new roman`,bT),sT(`courier new`,xT),sT(`verdana`,ST),sT(`georgia`,CT),sT(`tahoma`,wT),sT(`trebuchet ms`,TT),OT={aptos:[1.03,1.37,1],"aptos display":[.96,1.31,1],"aptos narrow":[.82,1.07,1],"aptos serif":[.98,1.31,1],"calibri light":[.98,1.19,1],cambria:[1.07,1.28,1],"century gothic":[1.19,1.36,1],"comic sans ms":[1.14,1.46,1],consolas:[1.21,1.21,1],constantia:[1.05,1.34,1],corbel:[.97,1.2,1],garamond:[1.16,1.39,1],impact:[.96,1.01,1],"lucida console":[1.21,1.21,1],"lucida sans unicode":[1.16,1.4,1],"microsoft sans serif":[1.07,1.35,1],"palatino linotype":[1.12,1.44,1],"segoe ui":[1.08,1.31,1],"book antiqua":[1.12,1.44,1],candara:[1.02,1.25,1],"franklin gothic medium":[1.08,1.33,1],"goudy old style":[1.02,1.34,1],rockwell:[1.14,1.35,1],"tw cen mt":[.95,1.17,1],"microsoft yahei":[1.18,1.3,1.18],"microsoft yahei ui":[1.18,1.3,1.18],simsun:[1.1,1.1,1.1],宋体:[1.1,1.1,1.1],simhei:[1.1,1.1,1.1],黑体:[1.1,1.1,1.1],nsimsun:[1.1,1.1,1.1],新宋体:[1.1,1.1,1.1],dengxian:[1.05,1.28,1.08],等线:[1.05,1.28,1.08],fangsong:[1.1,1.1,1.1],仿宋:[1.1,1.1,1.1],kaiti:[1.1,1.1,1.1],楷体:[1.1,1.1,1.1],meiryo:[1.18,1.3,1.18],"meiryo ui":[1.1,1.2,1.18],"ms gothic":[1.21,1.21,1.1],"MS ゴシック":[1.21,1.21,1.1],"ms pgothic":[1.07,1.33,1.1],"ms mincho":[1.21,1.21,1.1],"yu gothic":[1.17,1.32,1.18],"yu gothic ui":[1.08,1.22,1.18],"yu mincho":[1.1,1.28,1.18],"malgun gothic":[1.12,1.28,1.14],"맑은 고딕":[1.12,1.28,1.14],batang:[1.1,1.1,1.1],gulim:[1.1,1.1,1.1],dotum:[1.1,1.1,1.1]},kT=new Map}));function jT(e,t,n,r,i){if(t===`calibri`&&n===tE){let t=pT(e);if(t!==void 0)return t}if(i){let t=fT(i,e),r=Math.round(n/72*eE);return Math.round(t/i.header.unitsPerEm*r)}}function MT(e){return{name:(e?.name??nE).toLowerCase(),size:e?.size??tE,bold:e?.bold??!1,italic:e?.italic??!1,vertAlign:e?.vertAlign}}function NT(e,t){if(!e)return 0;let n=MT(t),r=lT(n.name,n.bold),i=e.split(/\r\n|\r|\n/),a=0;for(let e of i){let t=PT(e,n,r);t>a&&(a=t)}return a}function PT(e,t,n){return e?n||t.name===`calibri`&&t.size===tE?FT(e,t,n):IT(e,t):0}function FT(e,t,n){let r=0;for(let i of e)r+=KT(i.codePointAt(0),t,n);return t.vertAlign&&(r=Math.ceil(r*.6)),r}function IT(e,t){let n=mT(t.name),r=n?.[0]??1,i=n?.[1]??1.3,a=n?.[2]??1,o=0,s=0,c=0;for(let t of e)hT(t.codePointAt(0))?c+=2:t>=`A`&&t<=`Z`?s++:o++;let l=(o*r+s*i+c*a)*(t.size/tE);t.bold&&(l*=1.05),t.italic&&(l*=1.02),t.vertAlign&&(l*=.6);let u=RT({name:t.name,size:t.size});return Math.ceil(l*u)}function LT(e,t){let n=0,r=0;for(let i of e){let e=i.font?{...t,...i.font}:t,a=i.text.split(/\r\n|\r|\n/);for(let t=0;t<a.length;t++)t>0&&(r>n&&(n=r),r=0),a[t]&&(r+=NT(a[t],e))}return r>n&&(n=r),n}function RT(e){let t=(e?.name??nE).toLowerCase(),n=e?.size??tE;if(t===`calibri`&&n===tE)return rE;let r=lT(t);if(r){let e=Math.round(n/72*eE);return Math.round(r.header.maxDigitAdvance/r.header.unitsPerEm*e)}return Math.max(1,Math.round(n/tE*rE))}function zT(e){return 2*Math.ceil(e/4)+1}function BT(e,t){return t<=0?0:Math.trunc(e/t*256)/256}function VT(e,t){if(t<=0)return 0;let n=zT(t);return e===0?0:e<1?Math.round(e*(t+n)):Math.round(e*t)+n}function HT(e){return e*72/eE}function UT(e,t,n){if(e<=0)return 0;let r=e+2*Math.ceil(e*.03+t/4)+1;n&&(r+=oE),r>iE&&(r=iE);let i=BT(r,t);return Math.min(i,aE)}function WT(e){let t=(e?.name??nE).toLowerCase(),n=e?.size??tE,r=Math.round(n/72*eE),i=lT(t);if(i){let{unitsPerEm:e,usWinDescent:t}=i.header;return(e+t)/e*r}return r*1.3}function GT(e,t,n){if(!e||t<=0)return 1;let r=MT(n),i=lT(r.name,r.bold),a=e.split(/\r\n|\r|\n/),o=0;for(let e of a){if(!e){o++;continue}o+=qT(e,t,r,i)}return o}function KT(e,t,n){let r;if(n||t.name===`calibri`&&t.size===tE){let i=n??dT();r=jT(e,t.name,t.size,t.bold,i)??Math.round(i.defaultAdvance/i.header.unitsPerEm*Math.round(t.size/72*eE))}else r=Math.ceil(t.size/tE*RT({name:t.name,size:t.size})*(hT(e)?2:1));return t.bold&&!uT(t.name)&&(r=Math.ceil(r*1.05)),t.italic&&(r=Math.ceil(r*1.02)),r}function qT(e,t,n,r){let i=JT(e);if(i.length===0)return 1;let a=1,o=0;for(let e of i){let i=0;for(let t of e)i+=KT(t.codePointAt(0),n,r);o===0?o=i:o+i>t?(a++,o=i):o+=i}return a}function JT(e){let t=[],n=``;for(let r of e)n+=r,(r===` `||r===`-`||r===` `)&&(t.push(n),n=``);return n&&t.push(n),t}function YT(e,t,n,r){if(!e)return HT(WT(t));let i=WT(t),a;return a=n?.wrapText&&r&&r>0?GT(e,r,t):e.split(/\r\n|\r|\n/).length,HT(i*a)}function XT(e,t,n,r){let i=t?.size??tE,a=t;for(let n of e){let e=n.font?.size??t?.size??tE;e>i&&(i=e,a=n.font?{...t,...n.font}:t)}return YT(e.map(e=>e.text).join(``),a,n,r)}function ZT(e,t){let n=VT(e,t),r=zT(t);return Math.max(0,n-r)}function QT(e){let t=e.effectiveType,n=e.font;if(t===8){let t=e.value;if(t&&typeof t==`object`&&`richText`in t)return LT(t.richText,n)}let r=fp(e);return r?NT(r,n):0}function $T(e,t,n){let r=e.font,i=e.alignment;if(e.effectiveType===8){let t=e.value;if(t&&typeof t==`object`&&`richText`in t)return XT(t.richText,r,i,n)}let a=fp(e);return a?YT(a,r,i,i?.wrapText?n:void 0):0}var eE,tE,nE,rE,iE,aE,oE,sE=t((()=>{bp(),AT(),eE=96,tE=11,nE=`Calibri`,rE=7,iE=1790,aE=255,oE=16}));function cE(e,t){if(typeof e==`string`){let t=Fa(e);return{row:t.r+1,col:t.c+1}}return typeof e==`number`?e===-1?{row:t+1,col:1}:{row:e+1,col:1}:{row:e.r+1,col:e.c+1}}var lE,uE=t((()=>{Bi(),Bd(),Ly(),pu(),la(),Mw(),Pw(),Ka(),Yw(),pa(),Wp(),Ex(),oT(),Ba(),bp(),da(),Ad(),_b(),Sb(),sE(),lE=class{constructor(e){this._workbook=e.workbook,this.id=e.id??0,this.orderNo=e.orderNo??0,this.name=e.name||`sheet${this.id}`,this.state=e.state??`visible`,this._rows=[],this._columns=[],this._keys={},this._merges={},this.rowBreaks=[],this.colBreaks=[],this.properties={defaultRowHeight:15,outlineLevelCol:0,outlineLevelRow:0,...e.properties},this.pageSetup={margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:`portrait`,horizontalDpi:void 0,verticalDpi:void 0,fitToPage:!!(e.pageSetup&&(e.pageSetup.fitToWidth||e.pageSetup.fitToHeight)&&!e.pageSetup.scale),pageOrder:`downThenOver`,blackAndWhite:!1,draft:!1,cellComments:`None`,errors:`displayed`,scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null,...e.pageSetup},this.headerFooter={differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null,...e.headerFooter},this.dataValidations=new Iy,this.views=e.views??[],this.autoFilter=e.autoFilter??null,this._media=[],this._charts=[],this._sparklineGroups=[],this.sheetProtection=null,this.tables={},this.pivotTables=[],this.conditionalFormattings=[],this.formControls=[],this.ignoredErrors=[],this.threadedComments=[],this._watermark=null}get name(){return this._name}set name(e){e===void 0&&(e=`sheet${this.id}`),this._name!==e&&(this._name=this._workbook.validateSheetName(e,this))}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){let e=new fa;return this._rows.forEach(t=>{if(t){let n=t.dimensions;n&&e.expand(t.number,n.min,t.number,n.max)}}),e}get columns(){return this._columns}set columns(e){this._headerRowCount=e.reduce((e,t)=>{let n=Array.isArray(t.header)?t.header.length:+!!t.header;return Math.max(e,n)},0);let t=1,n=this._columns=[];e.forEach(e=>{let r=new zd(this,t++,!1);n.push(r),r.defn=e})}getColumnKey(e){return this._keys[e]}setColumnKey(e,t){this._keys[e]=t}deleteColumnKey(e){delete this._keys[e]}eachColumnKey(e){Object.keys(this._keys).forEach(t=>e(this._keys[t],t))}getColumn(e){let t;if(typeof e==`string`){let n=this._keys[e];if(n)return n;t=E.l2n(e)}else t=e;if(t>this._columns.length){let e=this._columns.length+1;for(;e<=t;)this._columns.push(new zd(this,e++))}return this._columns[t-1]}spliceColumns(e,t,...n){for(let e of Object.values(this._merges))for(let t=e.top;t<=e.bottom;t++)for(let n=e.left;n<=e.right;n++){let e=this.findCell(t,n);e&&e.type===1&&e.unmerge()}let r=this._rows.length;if(n.length>0)for(let i=0;i<r;i++){let r=n.map(e=>e[i]??null);this.getRow(i+1).splice(e,t,...r)}else this._rows.forEach(n=>{n&&n.splice(e,t)});let i=n.length-t,a=e+t,o=this._columns.length;if(i<0)for(let t=e+n.length;t<=o;t++)this.getColumn(t).defn=this.getColumn(t-i).defn;else if(i>0)for(let e=o;e>=a;e--)this.getColumn(e+i).defn=this.getColumn(e).defn;for(let t=e;t<e+n.length;t++)this.getColumn(t).defn=void 0;if(this.workbook.definedNames.spliceColumns(this.name,e,t,n.length),i!==0){for(let t of this._media)if(t.type===`image`&&t.range){let{tl:n,br:r}=t.range;n&&n.nativeCol>=e-1&&(n.nativeCol=Math.max(0,n.nativeCol+i)),r&&r.nativeCol>=e-1&&(r.nativeCol=Math.max(0,r.nativeCol+i))}this._shiftChartAnchors(`col`,e-1,i)}this._spliceMerges(`col`,e,t,n.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let e=0;return this.eachRow(t=>{e=Math.max(e,t.cellCount)}),e}get actualColumnCount(){let e=[],t=0;return this.eachRow(n=>{n.eachCell(({col:n})=>{e[n]||(e[n]=!0,t++)})}),t}_commitRow(e){}get _lastRowNumber(){let e=this._rows,t=e.length;for(;t>0&&e[t-1]===void 0;)t--;return t}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1]}findRow(e){return this._rows[e-1]}findRows(e,t){return this._rows.slice(e-1,e-1+t)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let e=0;return this.eachRow(()=>{e++}),e}getRow(e){let t=this._rows[e-1];return t||=this._rows[e-1]=new Up(this,e),t}getRows(e,t){if(t<1)return;let n=[];for(let r=e;r<e+t;r++)n.push(this.getRow(r));return n}addRow(e,t=`n`){let n=this._nextRow,r=this.getRow(n);return r.values=e,this._setStyleOption(n,t[0]===`i`?t:`n`),r}addRows(e,t=`n`){let n=[];return e.forEach(e=>{n.push(this.addRow(e,t))}),n}insertRow(e,t,n=`n`){return this.spliceRows(e,0,t),this._setStyleOption(e,n),this.getRow(e)}insertRows(e,t,n=`n`){if(this.spliceRows(e,0,...t),n!==`n`)for(let r=0;r<t.length;r++)n[0]===`o`&&this.findRow(t.length+e+r)!==void 0?this._copyStyle(t.length+e+r,e+r,n[1]===`+`):n[0]===`i`&&this.findRow(e-1)!==void 0&&this._copyStyle(e-1,e+r,n[1]===`+`);return this.getRows(e,t.length)}_setStyleOption(e,t=`n`){t[0]===`o`&&this.findRow(e+1)!==void 0?this._copyStyle(e+1,e,t[1]===`+`):t[0]===`i`&&this.findRow(e-1)!==void 0&&this._copyStyle(e-1,e,t[1]===`+`)}_copyStyle(e,t,n=!1){let r=this.getRow(e),i=this.getRow(t);i.style=kd(r.style)??{},r.eachCell({includeEmpty:n},(e,t)=>{i.getCell(t).style=kd(e.style)??{}}),i.height=r.height}duplicateRow(e,t,n=!1){let r=this.getRow(e),i=Array.from({length:t}).fill(r.values),a=[];for(let t of Object.values(this._merges))t.top===e&&t.bottom===e&&a.push(t);let o=[],s=e-1;for(let e of this._media)e.type===`image`&&e.range&&e.range.tl.nativeRow===s&&o.push(e);this.spliceRows(e+1,n?0:t,...i);for(let n=0;n<t;n++){let t=this._rows[e+n];t.style=kd(r.style)??{},t.height=r.height,r.eachCell({includeEmpty:!0},(e,n)=>{t.getCell(n).style=kd(e.style)??{}})}if(a.length>0)for(let r=0;r<t;r++){let t=e+1+r;if(!n){let e=[];for(let[n,r]of Object.entries(this._merges))r.top<=t&&r.bottom>=t&&e.push(n);for(let t of e)this._unMergeMaster(this.getCell(t))}for(let e of a)this.mergeCellsWithoutStyle(t,e.left,t,e.right)}if(!n){let n=e,r=e+t-1;this._media=this._media.filter(e=>{if(e.type===`image`&&e.range){let t=e.range.tl.nativeRow;return t<n||t>r}return!0})}for(let e=0;e<t;e++){let t=e+1;for(let e of o){let n=e.clone();if(n.range.tl.nativeRow=s+t,n.range.br){let r=e.range.br.nativeRow-s;n.range.br.nativeRow=s+t+r}this._media.push(n)}}}spliceRows(e,t,...n){for(let e of Object.values(this._merges))for(let t=e.top;t<=e.bottom;t++)for(let n=e.left;n<=e.right;n++){let e=this.findCell(t,n);e&&e.type===1&&e.unmerge()}let r=e+t,i=n.length,a=i-t,o=this._rows.length,s,c;if(a<0)for(e===o&&(this._rows[o-1]=void 0),s=r;s<=o;s++)if(c=this._rows[s-1],c){let e=this.getRow(s+a);e.values=c.values,e.style=kd(c.style)??{},e.height=c.height,c.eachCell({includeEmpty:!0},(t,n)=>{e.getCell(n).style=kd(t.style)??{}}),this._rows[s-1]=void 0}else this._rows[s+a-1]=void 0;else if(a>0)for(s=o;s>=r;s--)if(c=this._rows[s-1],c){let e=this.getRow(s+a);e.values=c.values,e.style=kd(c.style)??{},e.height=c.height,c.eachCell({includeEmpty:!0},(t,n)=>{e.getCell(n).style=kd(t.style)??{}})}else this._rows[s+a-1]=void 0;for(s=0;s<i;s++){let t=this.getRow(e+s);t.style={},t.values=n[s]}if(this.workbook.definedNames.spliceRows(this.name,e,t,i),a!==0){for(let t of this._media)if(t.type===`image`&&t.range){let{tl:n,br:r}=t.range;n&&n.nativeRow>=e-1&&(n.nativeRow=Math.max(0,n.nativeRow+a)),r&&r.nativeRow>=e-1&&(r.nativeRow=Math.max(0,r.nativeRow+a))}this._shiftChartAnchors(`row`,e-1,a)}this._spliceMerges(`row`,e,t,i)}eachRow(e,t){let n,r;if(typeof e==`function`?r=e:(n=e,r=t),n&&n.includeEmpty){let e=this._rows.length;for(let t=1;t<=e;t++)r(this.getRow(t),t)}else this._rows.forEach(e=>{e&&e.hasValues&&r(e,e.number)})}getSheetValues(){let e=[];return this._rows.forEach(t=>{t&&(e[t.number]=t.values)}),e}findCell(e,t){let n=E.getAddress(e,t),r=this._rows[n.row-1];return r?r.findCell(n.col):void 0}getCell(e,t){let n=E.getAddress(e,t);return this.getRow(n.row).getCellEx(n)}mergeCells(...e){let t=new fa(e);this._mergeCellsInternal(t)}mergeCellsWithoutStyle(...e){let t=new fa(e);this._mergeCellsInternal(t,!0)}_mergeCellsInternal(e,t){Object.values(this._merges).forEach(t=>{if(t.intersects(e))throw new Zi});let{top:n,left:r,bottom:i,right:a}=e,o=t?void 0:hb(n,r,i,a,(e,t)=>this.findCell(e,t)),s=this.getCell(e.top,e.left);for(let e=n;e<=i;e++)for(let i=r;i<=a;i++)(e>n||i>r)&&this.getCell(e,i).merge(s,t);o&&gb(n,r,i,a,o,(e,t)=>this.getCell(e,t)),this._merges[s.address]=e}_unMergeMaster(e){let t=this._merges[e.address];if(t){for(let e=t.top;e<=t.bottom;e++)for(let n=t.left;n<=t.right;n++)this.getCell(e,n).unmerge();delete this._merges[e.address]}}_shiftChartAnchors(e,t,n){let r=e===`row`?`nativeRow`:`nativeCol`,i=this._drawing;if(i?.anchors)for(let e of i.anchors){let i=e.range?.tl,a=e.range?.br;i&&i[r]>=t&&(i[r]=Math.max(0,i[r]+n)),a&&a[r]>=t&&(a[r]=Math.max(0,a[r]+n))}for(let e of this._charts){let{tl:i,br:a}=e.range;i[r]>=t&&(i[r]=Math.max(0,i[r]+n)),a&&a[r]>=t&&(a[r]=Math.max(0,a[r]+n))}}_spliceMerges(e,t,n,r){let i=r-n;if(i===0&&n===0)return;let a=t+n,o=e===`row`,s={};for(let e of Object.values(this._merges)){let{top:r,left:c,bottom:l,right:u}=e.model,d=o?r:c,f=o?l:u;if(i<=0&&n>0){let n=a-1;if(d>n){let e=o?new fa(r+i,c,l+i,u):new fa(r,c+i,l,u+i);s[E.encodeAddress(e.top,e.left)]=e}else if(f<t)s[E.encodeAddress(r,c)]=e;else if(!(d>=t&&f<=n)){let e=r,n=c,a=l,d=u;o?(e=r<t?r:t,a=Math.max(e,l+i)):(n=c<t?c:t,d=Math.max(n,u+i));let f=new fa(e,n,a,d);e===a&&n===d||(s[E.encodeAddress(f.top,f.left)]=f)}}else if(d>=a){let e=o?new fa(r+i,c,l+i,u):new fa(r,c+i,l,u+i);s[E.encodeAddress(e.top,e.left)]=e}else f<a||(o?e.model.bottom=l+i:e.model.right=u+i),s[E.encodeAddress(r,c)]=e}this._merges=s;for(let e of Object.values(s)){let t=this.getCell(e.top,e.left);for(let n=e.top;n<=e.bottom;n++)for(let r=e.left;r<=e.right;r++)(n>e.top||r>e.left)&&this.getCell(n,r).merge(t,!0)}}get hasMerges(){return Object.values(this._merges).some(Boolean)}get mergedRegions(){return Object.values(this._merges).map(e=>({top:e.top,left:e.left,bottom:e.bottom,right:e.right}))}unMergeCells(...e){let t=new fa(e);for(let e=t.top;e<=t.bottom;e++)for(let n=t.left;n<=t.right;n++){let t=this.findCell(e,n);t&&(t.type===1?this._unMergeMaster(t.master):this._merges[t.address]&&this._unMergeMaster(t))}}fillFormula(e,t,n,r=`shared`){let{top:i,left:a,bottom:o,right:s}=E.decode(e),c=s-a+1,l=E.encodeAddress(i,a),u=r===`shared`,d;d=typeof n==`function`?n:Array.isArray(n)?Array.isArray(n[0])?(e,t)=>n[e-i][t-a]:(e,t)=>n[(e-i)*c+(t-a)]:()=>void 0;let f=!0;for(let n=i;n<=o;n++)for(let i=a;i<=s;i++)if(f){let a=this.getCell(n,i);a.value={shareType:r,formula:t,ref:e,result:d(n,i)},f=!1}else this.getCell(n,i).value=u?{sharedFormula:l,result:d(n,i)}:d(n,i)}addImage(e,t){let n={type:`image`,imageId:String(e),range:t};this._media.push(new Nw(this,n))}getImages(){return this._media.filter(e=>e.type===`image`)}addChart(e,t){let n=T();return this._registerChart(n.buildChartModel(e),t,e)}addColumnChart(e,t){return this.addChart({...e,type:`bar`,barDir:`col`},t)}addBarChart(e,t){return this.addChart({...e,type:`bar`,barDir:`bar`},t)}addLineChart(e,t){return this.addChart({...e,type:`line`},t)}addAreaChart(e,t){return this.addChart({...e,type:`area`},t)}addPieChart(e,t){return this.addChart({...e,type:`pie`},t)}addDoughnutChart(e,t){return this.addChart({...e,type:`doughnut`},t)}addScatterChart(e,t){return this.addChart({...e,type:`scatter`},t)}addBubbleChart(e,t){return this.addChart({...e,type:`bubble`},t)}addRadarChart(e,t){return this.addChart({...e,type:`radar`},t)}addStockChart(e,t){return this.addChart({...e,type:`stock`},t)}addSurfaceChart(e,t){return this.addChart({...e,type:`surface`},t)}addHistogramChart(e,t){return this.addChartEx({...e,type:`histogram`},t)}addParetoChart(e,t){return this.addChartEx({...e,type:`pareto`},t)}addWaterfallChart(e,t){return this.addChartEx({...e,type:`waterfall`},t)}addFunnelChart(e,t){return this.addChartEx({...e,type:`funnel`},t)}addTreemapChart(e,t){return this.addChartEx({...e,type:`treemap`},t)}addSunburstChart(e,t){return this.addChartEx({...e,type:`sunburst`},t)}addBoxWhiskerChart(e,t){return this.addChartEx({...e,type:`boxWhisker`},t)}addRegionMapChart(e,t){return this.addChartEx({...e,type:`regionMap`},t)}addPresetChart(e,t,n){return this.addChart(T().applyChartPreset(e,t),n)}addPresetChartEx(e,t,n){return this.addChartEx(T().applyChartExPreset(e,t),n)}seriesFromColumns(e){return T().seriesFromColumns(this.name,e)}addChartFromTable(e,t,n){return this.addChart(T().chartOptionsFromTable(this,e,t),n)}addChartFromRows(e,t,n){return this.addChart(T().chartOptionsFromRows(this,e,t),n)}addColumnChartFromRows(e,t,n){return this.addChart(T().chartOptionsFromRows(this,e,{...t,type:`bar`,barDir:`col`}),n)}addChartExFromTable(e,t,n){return this.addChartEx(T().chartExOptionsFromTable(this,e,t),n)}addChartExFromRows(e,t,n){return this.addChartEx(T().chartExOptionsFromRows(this,e,t),n)}addPivotChart(e,t,n){let r=Va(e,t);return this._registerChart(T().buildChartModel(r),n,r)}addPivotComboChart(e,t,n){let r=Va(e,t);return this._registerChart(T().buildComboChartModel(r),n,r)}addComboChart(e,t){return this._registerChart(T().buildComboChartModel(e),t,e)}addChartEx(e,t){let n=T().buildChartExModel(e);return this._registerChartEx(n,t)}_registerChartEx(e,t){let n=T(),r=this._workbook.nextChartExNumber();try{n.fillChartExCaches(e,this._workbook,this)}catch{}this._workbook.addChartExStructuredEntry({chartExNumber:r,model:e});let i=n.createChart(this,{chartExNumber:r},t);return this._charts.push(i),r}_registerChart(e,t,n){let r=T(),i=this._workbook.nextChartNumber();try{r.fillChartCaches(e,this._workbook,this)}catch{}let a={chartNumber:i,model:e};try{r.resolvePendingChartImages(a,this._workbook,i)}catch{}this._workbook.addChartEntry(a),this._applyChartSidecars(i,n);let o=r.createChart(this,{chartNumber:i},t);return this._charts.push(o),i}_applyChartSidecars(e,t){if(!t?.chartStyle&&!t?.chartColors)return;let n=T();t?.chartStyle&&this._workbook.setChartStyle(e,new TextEncoder().encode(n.buildChartStyle(t.chartStyle))),t?.chartColors&&this._workbook.setChartColors(e,new TextEncoder().encode(n.buildChartColors(t.chartColors)))}getCharts(){return[...this._charts]}removeChart(e){let t=typeof e==`number`?e:this._charts.indexOf(e);if(t<0||t>=this._charts.length)return!1;let n=this._charts.splice(t,1)[0];n.chartNumber>0&&this._workbook.removeChartEntry?.(n.chartNumber),n.chartExNumber>0&&this._workbook.removeChartExStructuredEntry?.(n.chartExNumber);let r=this._drawing;return r?.anchors&&(r.anchors=r.anchors.filter(e=>!(n.chartNumber>0&&e.chartNumber===n.chartNumber||n.chartExNumber>0&&e.chartExNumber===n.chartExNumber))),!0}addSparklineGroup(e){let t=mx(e);return this._sparklineGroups.push(t),t}getSparklineGroups(){return[...this._sparklineGroups]}get sparklineGroups(){return this._sparklineGroups}set sparklineGroups(e){this._sparklineGroups=e??[]}removeSparklineGroup(e){let t=typeof e==`number`?e:this._sparklineGroups.indexOf(e);return t<0||t>=this._sparklineGroups.length?!1:(this._sparklineGroups.splice(t,1),!0)}addBackgroundImage(e){let t={type:`background`,imageId:String(e)};this._media.push(new Nw(this,t))}getBackgroundImageId(){let e=this._media.find(e=>e.type===`background`);return e&&e.imageId}addWatermark(e){if(this._media=this._media.filter(e=>e.type!==`watermark`&&e.type!==`headerImage`),this._watermark={imageId:String(e.imageId),mode:e.mode??`overlay`,opacity:e.opacity,headerWidth:e.headerWidth,headerHeight:e.headerHeight,applyTo:e.applyTo},this._watermark.mode===`overlay`){let t={type:`watermark`,imageId:String(e.imageId),opacity:e.opacity};this._media.push(new Nw(this,t))}else{let t={type:`headerImage`,imageId:String(e.imageId),headerWidth:e.headerWidth,headerHeight:e.headerHeight,applyTo:e.applyTo};this._media.push(new Nw(this,t))}}getWatermark(){return this._watermark}removeWatermark(){this._watermark=null,this._media=this._media.filter(e=>e.type!==`watermark`&&e.type!==`headerImage`)}addFormCheckbox(e,t){let n=new jw(this,e,t);return this.formControls.push(n),n}getFormCheckboxes(){return this.formControls}async protect(e,t){this.sheetProtection=await xb(e,t)}unprotect(){this.sheetProtection=null}addTable(e){let t=new aT(this,e),n=t.name.toLowerCase();if(this.tables[t.name])throw new oa(`Table name "${t.name}" already exists in worksheet "${this.name}".`);if(this.workbook._tableNames.has(n))throw new oa(`Table name "${t.name}" already exists in another worksheet. Table names must be unique across the entire workbook (case-insensitive).`);return this.tables[t.name]=t,this.workbook._tableNames.add(n),t}getTable(e){return this.tables[e]}removeTable(e){this.tables[e]&&this.workbook._tableNames.delete(e.toLowerCase()),delete this.tables[e]}getTables(){return Object.values(this.tables)}addPivotTable(e){let t=zw(this,e);return this.pivotTables.push(t),this.workbook.pivotTables.push(t),t}addConditionalFormatting(e){this.conditionalFormattings.push(e)}removeConditionalFormatting(e){typeof e==`number`?this.conditionalFormattings.splice(e,1):typeof e==`function`?this.conditionalFormattings=this.conditionalFormattings.filter((t,n,r)=>!e(t,n,r)):this.conditionalFormattings=[]}autoFitColumn(e){let t=typeof e==`string`?E.l2n(e):e;return this._autoFitColumnImpl(t),this}autoFitColumns(e,t){let n=this.dimensions;if(!n||n.left===void 0)return this;let r=e==null?n.left:typeof e==`string`?E.l2n(e):e,i=t==null?n.right:typeof t==`string`?E.l2n(t):t;for(let e=r;e<=i;e++)this._autoFitColumnImpl(e);return this}autoFitRow(e){return this._autoFitRowImpl(e),this}autoFitRows(e,t){let n=this.dimensions;if(!n||n.top===void 0)return this;let r=e??n.top,i=t??n.bottom;for(let e=r;e<=i;e++)this._autoFitRowImpl(e);return this}_autoFitColumnImpl(e){let t=RT(),n=this._isColumnInAutoFilter(e),r=0;if(this._rows.forEach(n=>{if(!n||n.hidden)return;let i=n.findCell(e);if(!i||i.type===1)return;if(i.isMerged){let e=this._merges[i.address];if(e&&e.left!==e.right)return}if(i.alignment?.shrinkToFit)return;let a=QT(i),o=i.alignment?.indent;o&&o>0&&(a+=o*3*t),a>r&&(r=a)}),r>0){let i=UT(r,t,n);if(i>0){let t=this.getColumn(e);t.width=i,t.bestFit=!0}}}_autoFitRowImpl(e){let t=this._rows[e-1];if(!t)return;let n=RT(),r=0;t.eachCell(e=>{if(e.type===1)return;if(e.isMerged){let t=this._merges[e.address];if(t&&t.top!==t.bottom)return}if(this._columns[e.col-1]?.hidden)return;let t=$T(e,n,this._getColumnContentWidthForCell(e,n));t>r&&(r=t)}),r>0&&(t.height=Math.ceil(r*4)/4,t.customHeight=!0)}_getColumnContentWidthForCell(e,t){if(e.alignment?.wrapText)return ZT(this._columns[e.col-1]?.width??this.properties.defaultColWidth??9,t)}_isColumnInAutoFilter(e){if(!this.autoFilter)return!1;if(typeof this.autoFilter==`string`){let t=E.decode(this.autoFilter);return e>=t.left&&e<=t.right}let{from:t,to:n}=this.autoFilter,r=typeof t==`string`?E.decode(t).col:t.col,i=typeof n==`string`?E.decode(n).col:n.col;return e>=r&&e<=i}get model(){let e={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,colBreaks:this.colBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(e=>e.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(e=>e.model),pivotTables:this.pivotTables,conditionalFormattings:this.conditionalFormattings,formControls:this.formControls.map(e=>e.model),ignoredErrors:this.ignoredErrors,watermark:this._watermark,drawing:this._drawing,charts:this._charts.map(e=>e.model),sparklineGroups:this._sparklineGroups,threadedComments:this.threadedComments};e.cols=zd.toModel(this.columns);let t=e.rows=[],n=e.dimensions=new fa;return this._rows.forEach(e=>{let r=e&&e.model;r&&(n.expand(r.number,r.min,r.number,r.max),t.push(r))}),e.mergeCells=Object.values(this._merges).map(e=>e.range),e}_parseRows(e){this._rows=[],e.rows&&e.rows.forEach(e=>{let t=new Up(this,e.number);this._rows[t.number-1]=t,t.model=e})}_parseMergeCells(e){e.mergeCells&&e.mergeCells.forEach(e=>{this.mergeCellsWithoutStyle(e)})}set model(e){if(this.name=e.name,this.state=e.state,this._columns=zd.fromModel(this,e.cols??[]),this._parseRows(e),this._parseMergeCells(e),this.dataValidations=new Iy(e.dataValidations),this.properties=e.properties,this.pageSetup=e.pageSetup,this.headerFooter=e.headerFooter,this.rowBreaks=e.rowBreaks??[],this.colBreaks=e.colBreaks??[],this.views=e.views,this.autoFilter=e.autoFilter,this._media=e.media.map(e=>new Nw(this,e)),this._watermark=e.watermark??null,!this._watermark){for(let e of this._media)if(e.type===`watermark`){this._watermark={imageId:e.imageId??``,mode:`overlay`,opacity:e.opacity};break}else if(e.type===`headerImage`){this._watermark={imageId:e.imageId??``,mode:`header`,headerWidth:e.headerWidth,headerHeight:e.headerHeight};break}}this.sheetProtection=e.sheetProtection,this.tables=e.tables.reduce((e,t)=>{let n=new aT(this,t);return n.model=t,e[t.name]=n,this.workbook._tableNames.add(t.name.toLowerCase()),e},{}),this.pivotTables=e.pivotTables;for(let e of this.pivotTables??[])e.worksheetName??=this.name,e.name??=`PivotTable${e.tableNumber}`;this.conditionalFormattings=e.conditionalFormattings,this.ignoredErrors=e.ignoredErrors??[],this.threadedComments=e.threadedComments??[],this.formControls=(e.formControls??[]).map(e=>jw.fromModel(this,e)),this._drawing=e.drawing;let t=Ri();t&&e.charts&&e.charts.length>0?this._charts=e.charts.map(e=>t.createChart(this,{chartNumber:e.chartNumber,chartExNumber:e.chartExNumber},e.range)):t&&e.drawing?.anchors?this._charts=e.drawing.anchors.filter(e=>e.chartNumber||e.chartExNumber).map(e=>t.createChart(this,{chartNumber:e.chartNumber??0,chartExNumber:e.chartExNumber??0},e.range)):this._charts=[]}toJSON(e){let t=e||{},n=1,r=this.rowCount,i=1,a=this.columnCount;if(t.range!==void 0){if(typeof t.range==`number`)n=t.range+1;else if(typeof t.range==`string`){let e=La(t.range);n=e.s.r+1,r=e.e.r+1,i=e.s.c+1,a=e.e.c+1}}if(r<n||a<i)return[];let o=t.header;if(o===1){let e=[],o=t.blankRows!==!1;for(let s=n;s<=r;s++){let n=[],r=!0;for(let e=i;e<=a;e++){let a=this.getCell(s,e),o=t.raw===!1?fp(a,t.dateFormat).trim():a.value;o!=null&&o!==``?(n[e-i]=o,r=!1):t.defaultValue===void 0?n[e-i]=null:n[e-i]=t.defaultValue}(!r||o)&&e.push(n)}return e}if(o===`A`){let e=[],o=t.blankRows===!0;for(let s=n;s<=r;s++){let n={},r=!0;for(let e=i;e<=a;e++){let i=this.getCell(s,e),a=t.raw===!1?fp(i,t.dateFormat).trim():i.value,o=Ma(e-1);a!=null&&a!==``?(n[o]=a,r=!1):t.defaultValue!==void 0&&(n[o]=t.defaultValue)}(!r||o)&&e.push(n)}return e}if(Array.isArray(o)){let e=[],s=t.blankRows===!0;for(let c=n;c<=r;c++){let n={},r=!0;for(let e=i;e<=a;e++){let a=e-i,s=o[a]??`__EMPTY_${a}`,l=this.getCell(c,e),u=t.raw===!1?fp(l,t.dateFormat).trim():l.value;u!=null&&u!==``?(n[s]=u,r=!1):t.defaultValue!==void 0&&(n[s]=t.defaultValue)}(!r||s)&&e.push(n)}return e}let s=[],c={};for(let e=i;e<=a;e++){let t=this.getCell(n,e).value,r=t==null?`__EMPTY_${e-i}`:String(t);c[r]===void 0?c[r]=0:(c[r]++,r=`${r}_${c[r]}`),s.push(r)}let l=[],u=n+1,d=t.blankRows===!0;for(let e=u;e<=r;e++){let n={},r=!0;for(let o=i;o<=a;o++){let a=this.getCell(e,o),c=t.raw===!1?fp(a,t.dateFormat).trim():a.value,l=s[o-i];c!=null&&c!==``?(n[l]=c,r=!1):t.defaultValue!==void 0&&(n[l]=t.defaultValue)}(!r||d)&&l.push(n)}return l}addJSON(e,t){if(e.length===0)return this;let n=t||{},r=1,i=1;if(n.origin!==void 0){let e=cE(n.origin,this.rowCount);r=e.row,i=e.col}let a=new Set;e.forEach(e=>Object.keys(e).forEach(e=>a.add(e)));let o=n.header?[...n.header]:[...a];n.header&&a.forEach(e=>{o.includes(e)||o.push(e)});let s=r;n.skipHeader||(o.forEach((e,t)=>{this.getCell(s,i+t).value=e}),s++);for(let t of e)o.forEach((e,r)=>{let a=t[e];a===null&&n.nullError?this.getCell(s,i+r).value={error:`#NULL!`}:a!=null&&(this.getCell(s,i+r).value=a)}),s++;return this}toAOA(){let e=[];return this.eachRow({includeEmpty:!0},(t,n)=>{let r=[];t.eachCell({includeEmpty:!0},(e,t)=>{r[t-1]=e.value}),e[n-1]=r}),e}addAOA(e,t){if(e.length===0)return this;let n=1,r=1;if(t?.origin!==void 0){let e=cE(t.origin,this.rowCount);n=e.row,r=e.col}return e.forEach((e,t)=>{e&&e.forEach((e,i)=>{e!=null&&(this.getCell(n+t,r+i).value=e)})}),this}}}));function dE(e,t){if(e>SE)throw Error(`ZIP64 ${t} value ${e} exceeds Number.MAX_SAFE_INTEGER. The archive may be corrupted or malicious.`);return Number(e)}function fE(e){return e.encoding?ds(e.encoding):void 0}function pE(e,t=!1){for(let n=e.length-22;n>=0;n--)if(e[n]===80&&e[n+1]===75&&e[n+2]===5&&e[n+3]===6)if(t){let t=e[n+20]|e[n+21]<<8;if(n+22+t===e.length)return n}else return n;return-1}function mE(e,t){let n=t-20;return n<0?-1:e[n]===80&&e[n+1]===75&&e[n+2]===6&&e[n+3]===7?n:-1}function hE(e,t,n=!0,r){let i=new ks(e,t);i.skip(4);let a=i.readUint16(),o=i.readUint16(),s=i.readUint16(),c=i.readUint16(),l=i.readUint32(),u=i.readUint32(),d=i.readUint16(),f=``;if(d>0){let e=i.readBytes(d);n&&(f=r?r.decode(e):Xn(e))}return{eocd:{diskNumber:a,centralDirDisk:o,entriesOnDisk:s,totalEntries:c,centralDirSize:l,centralDirOffset:u},comment:f}}function gE(e,t){let n=new ks(e,t);return n.readUint32()===117853008?(n.skip(4),dE(n.readBigUint64(),`EOCD locator offset`)):-1}function _E(e,t){let n=new ks(e,t);return n.readUint32()===101075792?(n.skip(8),n.skip(2),n.skip(2),n.skip(4),n.skip(4),{entriesOnDisk:n.readBigUint64(),totalEntries:n.readBigUint64(),centralDirSize:n.readBigUint64(),centralDirOffset:n.readBigUint64()}):null}function vE(e,t){e.totalEntries===65535&&(e.totalEntries=dE(t.totalEntries,`totalEntries`)),e.entriesOnDisk===65535&&(e.entriesOnDisk=dE(t.entriesOnDisk,`entriesOnDisk`)),e.centralDirSize===4294967295&&(e.centralDirSize=dE(t.centralDirSize,`centralDirSize`)),e.centralDirOffset===4294967295&&(e.centralDirOffset=dE(t.centralDirOffset,`centralDirOffset`))}function yE(e,t,n){let r=e.readUint16();e.skip(2);let i=e.readUint16(),a=e.readUint16(),o=e.readUint16(),s=e.readUint16(),c=e.readUint32(),l=e.readUint32(),u=e.readUint32(),d=e.readUint16(),f=e.readUint16(),p=e.readUint16();e.skip(2),e.skip(2);let m=e.readUint32(),h=e.readUint32(),g=d>0?e.readBytes(d):new Uint8Array,_={},v=new Uint8Array;if(f>0){v=e.readBytes(f);let t={compressedSize:l,uncompressedSize:u,offsetToLocalFileHeader:h};_=kc(v,t),l=t.compressedSize,u=t.uncompressedSize,h=t.offsetToLocalFileHeader??h}let y=p>0?e.readBytes(p):new Uint8Array,b=t?hs(g,i,_,n):``,x=t?gs(y,i,_,n):``,S=Pc(m),ee=r>>8&255,te=Fc(S),ne=Ic(S)||ee===0&&(m&16)!=0||b.endsWith(`/`),re=(i&1)!=0,ie=te?`symlink`:ne?`directory`:`file`,ae=_.mtimeUnixSeconds,oe=Rs(s,o,ae),se=`none`,ce,le,ue;return re&&(a===99&&_.aesInfo?(se=`aes`,ce=_.aesInfo.version,le=_.aesInfo.keyStrength,ue=_.aesInfo.compressionMethod):se=`zipcrypto`),{path:b,type:ie,compressedSize:l,compressedSize64:_.compressedSize64,uncompressedSize:u,uncompressedSize64:_.uncompressedSize64,compressionMethod:a,crc32:c,lastModified:oe,localHeaderOffset:h,localHeaderOffset64:_.offsetToLocalFileHeader64,comment:x,externalAttributes:m,mode:S,versionMadeBy:r,extraField:v,isEncrypted:re,encryptionMethod:se,aesVersion:ce,aesKeyStrength:le,originalCompressionMethod:ue,dosTime:o}}function bE(e,t,n,r={}){let i=r.decodeStrings??!0,a=fE(r);if(n===0)return[];let o=Array(n),s=new ks(e,t);for(let e=0;e<n;e++){if(s.readUint32()!==33639248)throw Error(`Invalid Central Directory header signature at entry ${e}`);o[e]=yE(s,i,a)}return o}function xE(e,t={}){let n=t.decodeStrings??!0,r=fE(t),i=pE(e);if(i===-1)throw Error(`Invalid ZIP file: End of Central Directory not found`);let{eocd:a,comment:o}=hE(e,i,n,r),s=mE(e,i);if(s!==-1){let t=gE(e,s);if(t>=0){let n=_E(e,t);n&&vE(a,n)}}return{entries:bE(e,a.centralDirOffset,a.totalEntries,t),comment:o}}var SE,CE=t((()=>{ws(),As(),Hs(),Nc(),lr(),sl(),SE=BigInt(2**53-1)}));async function wE(e,t,n,r=!1,i=!0){let a;if(i&&e.uncompressedSize>AE)throw Error(`Entry "${e.path}" declares uncompressed size of ${e.uncompressedSize} bytes, which exceeds the maximum allowed size of ${AE} bytes. Use the streaming API for large entries.`);if(e.isEncrypted){if(!n)throw new Qo(e.path);if(e.encryptionMethod===`aes`&&e.aesKeyStrength){let r=await mc(t,n,e.aesKeyStrength);if(!r)throw new Zo(e.path);a=await EE(r,e.originalCompressionMethod??0,e.path)}else if(e.encryptionMethod===`zipcrypto`){let r=Uv(t,n,e.crc32,e.dosTime);if(!r)throw new Zo(e.path);a=await EE(r,e.compressionMethod,e.path)}else throw new Zo(e.path,`Unsupported encryption method`)}else a=await EE(t,e.compressionMethod,e.path);if(i&&a.length!==e.uncompressedSize){let t=a.length>e.uncompressedSize?`too-many-bytes`:`too-few-bytes`;throw new Xo(e.path,e.uncompressedSize,a.length,t)}if(e.encryptionMethod===`zipcrypto`||r&&e.encryptionMethod!==`aes`){let t=is(a);if(t!==e.crc32)throw new Yo(e.path,e.crc32,t)}return a}function TE(e,t,n,r=!0){let i;if(r&&e.uncompressedSize>AE)throw Error(`Entry "${e.path}" declares uncompressed size of ${e.uncompressedSize} bytes, which exceeds the maximum allowed size of ${AE} bytes. Use the streaming API for large entries.`);if(e.isEncrypted){if(!n)throw new Qo(e.path);if(e.encryptionMethod===`aes`)throw Error(`File "${e.path}" uses AES encryption. Use the async extract() method instead of extractSync().`);if(e.encryptionMethod===`zipcrypto`){let r=Uv(t,n,e.crc32,e.dosTime);if(!r)throw new Zo(e.path);i=DE(r,e.compressionMethod,e.path);let a=is(i);if(a!==e.crc32)throw new Yo(e.path,e.crc32,a)}else throw new Zo(e.path,`Unsupported encryption method`)}else i=DE(t,e.compressionMethod,e.path);if(r&&i.length!==e.uncompressedSize){let t=i.length>e.uncompressedSize?`too-many-bytes`:`too-few-bytes`;throw new Xo(e.path,e.uncompressedSize,i.length,t)}return i}async function EE(e,t,n){if(t===0)return e;if(t===8)return yv(e);throw new $o(t)}function DE(e,t,n){if(t===0)return e;if(t===8)return bv(e);throw new $o(t)}function OE(e,t){if(e.readUint32()!==67324752)throw Error(`Invalid local file header signature at offset ${t}`);e.skip(2),e.skip(2),e.skip(2),e.skip(2),e.skip(2),e.skip(4),e.skip(4),e.skip(4);let n=e.readUint16(),r=e.readUint16();return e.skip(n),e.skip(r),e.position}function kE(e,t){let n=OE(new ks(e,t.localHeaderOffset),t.localHeaderOffset);return e.subarray(n,n+t.compressedSize)}var AE,jE=t((()=>{wv(),cs(),Fv(),Yv(),es(),As(),sl(),AE=512*1024*1024}));function ME(e){if(e.uncompressedSize64!==void 0&&e.uncompressedSize64>IE||e.compressedSize64!==void 0&&e.compressedSize64>IE)throw Error(`File "${e.path}" is too large to extract into memory (ZIP64 size > 2^53-1)`);if(e.localHeaderOffset64!==void 0&&e.localHeaderOffset64>IE)throw Error(`File "${e.path}" has a ZIP64 offset > 2^53-1 and cannot be extracted by the in-memory parser`)}function NE(e,t={}){return xE(e,{decodeStrings:t.decodeStrings,encoding:t.encoding})}async function PE(e,t,n={}){return t.type===`directory`?Ja:(ME(t),wE(t,kE(e,t),n.password))}function FE(e,t,n={}){return t.type===`directory`?Ja:(ME(t),TE(t,kE(e,t),n.password))}var IE,LE,RE=t((()=>{Ya(),CE(),jE(),IE=BigInt(2**53-1),LE=class{constructor(e,t={}){this.data=e instanceof ArrayBuffer?new Uint8Array(e):e;let n=NE(this.data,t);this.entries=n.entries,this.archiveComment=n.comment,this.entryMap=new Map(this.entries.map(e=>[e.path,e])),this.password=t.password}setPassword(e){this.password=e}getEntries(){return this.entries}getEntry(e){return this.entryMap.get(e)}getRawCompressedData(e){let t=this.entryMap.get(e);return t?kE(this.data,t):null}getRawEntry(e){let t=this.entryMap.get(e);return t?{info:t,compressedData:kE(this.data,t)}:null}hasEntry(e){return this.entryMap.has(e)}childCount(e){let t=this.entryMap.get(e);if(t&&t.type!==`directory`)return 0;let n=e.endsWith(`/`)?e:e+`/`,r=t?.type===`directory`?t:this.entryMap.get(n),i=(r?.path??n).endsWith(`/`)?r?.path??n:(r?.path??n)+`/`,a=0;for(let e of this.entries)e.path.startsWith(i)&&e.path!==i&&a++;return a}getZipComment(){return this.archiveComment}hasEncryptedEntries(){return this.entries.some(e=>e.isEncrypted)}getEncryptedEntries(){return this.entries.filter(e=>e.isEncrypted)}listFiles(){return this.entries.map(e=>e.path)}async extract(e,t){let n=this.entryMap.get(e);return n?PE(this.data,n,{password:t??this.password}):null}extractSync(e,t){let n=this.entryMap.get(e);return n?FE(this.data,n,{password:t??this.password}):null}async extractAll(e){let t=new Map,n=e??this.password;for(let e of this.entries){let r=await PE(this.data,e,{password:n});t.set(e.path,r)}return t}extractAllSync(e){let t={},n=e??this.password;for(let e of this.entries)t[e.path]=FE(this.data,e,{password:n});return t}async forEach(e,t){let n=t??this.password;for(let t of this.entries){let r=null;if(await e(t,()=>(r||=PE(this.data,t,{password:n}),r))===!1)break}}}}));function zE(e){if(e.indexOf(`[`)===-1)return[];let t=[],n=VE(e),r=(e,r,i,a,o,s)=>{if(HE(e,n))return;let c=/^\d+$/.test(i);t.push({match:s,workbook:i,numeric:c,index:c?parseInt(i,10):null,sheet:UE(a),quoted:o,start:e,end:r})};WE.lastIndex=0;let i;for(;(i=WE.exec(e))!==null;)r(i.index,i.index+i[0].length,i[1],i[2],!1,i[0]);for(GE.lastIndex=0;(i=GE.exec(e))!==null;)r(i.index,i.index+i[0].length,i[1],i[2],!0,i[0]);t.sort((e,t)=>e.start-t.start);let a=[],o=-1;for(let e of t)e.start>=o&&(a.push(e),o=e.end);return a}function BE(e,t){let n=zE(e);if(n.length===0)return e;let r=``,i=0;for(let a of n){let n=t(a);if(n!==null){if(r+=e.slice(i,a.start),a.quoted){let t=e.slice(a.start+1,a.end-2);r+=`'`+t.replace(/^\[[^\]]*\]/,`[${n}]`)+`'!`}else r+=`[${n}]${a.match.slice(a.match.indexOf(`]`)+1)}`;i=a.end}}return r+=e.slice(i),r}function VE(e){if(e.indexOf(`"`)===-1)return[];let t=[],n=e.length,r=0;for(;r<n;)if(e[r]===`"`){let i=r;for(r++;r<n;){if(e[r]===`"`){if(r+1<n&&e[r+1]===`"`){r+=2;continue}r++;break}r++}t.push([i,r])}else r++;return t}function HE(e,t){for(let[n,r]of t)if(e>=n&&e<r)return!0;return!1}function UE(e){return e.replace(/''/g,`'`)}var WE,GE,KE=t((()=>{WE=/\[([^\]\\/:*?"<>|\s]+)\]([A-Za-z_\u00A1-\uFFFF][A-Za-z0-9_\u00A1-\uFFFF.]*)!/g,GE=/'\[([^\]]+)\]((?:''|[^'])+)'!/g}));function qE(e){return e===`symlink`}var JE=t((()=>{}));async function YE(e){let t=new Map,n=new LE(e);for(let e of n.getEntries()){let r=await n.extract(e.path)||new Uint8Array,i;qE(e.type)&&r.length>0&&(i=Hn().decode(r)),t.set(e.path,{path:e.path,data:r,type:e.type,linkTarget:i,size:e.uncompressedSize,mode:e.mode})}return t}var XE=t((()=>{RE(),JE(),lr()}));function ZE(e){let t=Object.create(null);for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&!aD.has(n)&&(t[n]=e[n]);return t}function QE(e,t){return{type:`element`,name:e,attributes:ZE(t),children:[]}}function $E(e,t){let n=e.children[e.children.length-1];n&&n.type===`text`?n.value+=t:e.children.push({type:`text`,value:t})}function eD(e,t){let n=t?.comments??!1,r=t?.processingInstructions??!1,a=t?.cdataAsNodes??!1,o=t?.fragment??!1,s=new Sd({position:!0,fragment:t?.fragment??!1,xmlns:t?.xmlns??!1,maxDepth:t?.maxDepth,maxEntityExpansions:t?.maxEntityExpansions,invalidCharHandling:t?.invalidCharHandling}),c=QE(`__root__`,{}),l=[c],u,d;if(s.on(`error`,e=>{d||=e instanceof gu?e:new gu(e.message)}),s.on(`opentag`,e=>{let t=QE(e.name,e.attributes);e.prefix!==void 0&&(t.prefix=e.prefix,t.local=e.local,t.uri=e.uri),e.ns&&(t.ns={...e.ns}),l[l.length-1].children.push(t),e.isSelfClosing||l.push(t)}),s.on(`closetag`,e=>{!e.isSelfClosing&&l.length>1&&l.pop()}),s.on(`text`,e=>{e.length!==0&&$E(l[l.length-1],e)}),s.on(`cdata`,e=>{let t=l[l.length-1];if(a){let n={type:`cdata`,value:e};t.children.push(n)}else $E(t,e)}),n&&s.on(`comment`,e=>{let t=l[l.length-1],n={type:`comment`,value:e};t.children.push(n)}),s.on(`pi`,(e,t)=>{if(e===`xml`){let e={},n=/(\w+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g,r;for(;(r=n.exec(t))!==null;)e[r[1]]=r[2]??r[3];u=e}else r&&l[l.length-1].children.push({type:`processing-instruction`,target:e,body:t})}),s.write(e),s.close(),d)throw i(d);let f=c.children.filter(e=>e.type===`element`);if(f.length===0)throw new gu(`document has no root element`);if(!o&&f.length>1)throw new gu(`document has multiple root elements`);let p=c.children.filter(e=>e.type===`comment`||e.type===`processing-instruction`);return{declaration:u,root:f[0],roots:f,prologue:p}}function tD(e,t){for(let n of e.children)if(n.type===`element`&&n.name===t)return n}function nD(e,t){let n=[];for(let r of e.children)r.type===`element`&&r.name===t&&n.push(r);return n}function rD(e){switch(e.type){case`text`:case`cdata`:return e.value;case`element`:{let t=``;for(let n of e.children)t+=rD(n);return t}default:return``}}function iD(e,t){t(e);for(let n of e.children)n.type===`element`&&iD(n,t)}var aD,oD=t((()=>{u(),vu(),Cd(),aD=new Set([`__proto__`,`constructor`,`prototype`,`__defineGetter__`,`__defineSetter__`,`__lookupGetter__`,`__lookupSetter__`])}));function sD(e){let t=e.lastIndexOf(`:`);return t===-1?e:e.slice(t+1)}function cD(e,t){return sD(e)===t}function M(e,t){for(let n of e.children)if(n.type===`element`&&cD(n.name,t))return n}function lD(e,t){let n=[];for(let r of e.children)r.type===`element`&&cD(r.name,t)&&n.push(r);return n}function uD(e,t){if(cD(e.name,t))return!0;let n=!1;return iD(e,e=>{!n&&cD(e.name,t)&&(n=!0)}),n}function N(e,t){let n=[];return cD(e.name,t)&&n.push(e),iD(e,r=>{r!==e&&cD(r.name,t)&&n.push(r)}),n}function P(e,t){let n=e.attributes[t];if(n!==void 0)return n;for(let n in e.attributes){let r=n.lastIndexOf(`:`);if(r!==-1&&n.slice(r+1)===t)return e.attributes[n]}}function dD(e,t){try{return eD(e)}catch(e){t(e instanceof Error?e:Error(String(e)));return}}var fD=t((()=>{oD()}));function pD(e){for(let[t,n]of e.files()){if(e.reporter.capped)return;n.type!==`directory`&&(rO.test(t)?mD(e,t):iO.test(t)&&kD(e,t))}}function mD(e,t){let n=e.readDom(t);if(!n)return;let r=n.root;uD(r,`chart`)||e.reporter.error(`chart-missing-chart`,`${t}: missing c:chart`,t),uD(r,`plotArea`)||e.reporter.error(`chart-missing-plotArea`,`${t}: missing c:plotArea`,t),hD(e,t,r)}function hD(e,t,n){gD(e,t,n),_D(e,t,n),vD(e,t,n),yD(e,t,n),bD(e,t,n),SD(e,t,n),OD(e,t,n),RD(e,t,n),BD(e,t,n),VD(e,t,n),HD(e,t,n),UD(e,t,n),WD(e,t,n),GD(e,t,n),KD(e,t,n),YD(e,t,n),$D(e,t,n),tO(e,t,n)}function gD(e,t,n){for(let r of sO)for(let i of N(n,r.parent)){if(e.reporter.capped)return;let n=i.children.filter(e=>e.type===`element`),a=e=>{if(r.choiceGroups){for(let t=0;t<r.choiceGroups.length;t++)if(r.choiceGroups[t].includes(e))return r.order.indexOf(`__${t===0?`CHART_TYPES`:`AXES`}__`)}return r.order.indexOf(e)},o=-1,s=``;for(let i of n){let n=sD(i.name),c=a(n);c<0||(c<o&&e.reporter.error(`chart-child-out-of-order`,`${t}: <c:${r.parent}> child <c:${n}> appears after <c:${s}> — ECMA-376 requires it before per CT_${xD(r.parent)}.`,t),c>=o&&(o=c,s=n))}}}function _D(e,t,n){for(let r of lO)for(let i of N(n,r.parent)){if(e.reporter.capped)return;let n=lD(i,r.child).length;n<r.min&&e.reporter.error(`chart-missing-required-child`,`${t}: <c:${r.parent}> has ${n} <c:${r.child}> child(ren); schema requires at least ${r.min}.`,t),r.max!==void 0&&n>r.max&&e.reporter.error(`chart-wrong-child-count`,`${t}: <c:${r.parent}> has ${n} <c:${r.child}> child(ren); schema permits at most ${r.max}.`,t)}}function vD(e,t,n){for(let r of uO)for(let i of N(n,r.element)){if(e.reporter.capped)return;let n=P(i,r.attr);n!==void 0&&(r.allowed.includes(n)||e.reporter.error(`chart-invalid-enum-value`,`${t}: <c:${r.element} ${r.attr}="${n}"> — ${n} is not in {${r.allowed.join(`, `)}}.`,t))}}function yD(e,t,n){for(let r of dO)for(let i of N(n,r.element)){if(e.reporter.capped)return;let n=P(i,r.attr);if(n===void 0)continue;let a=parseFloat(n);if(!Number.isFinite(a)){e.reporter.error(`chart-value-out-of-range`,`${t}: <c:${r.element} ${r.attr}="${n}"> is not a finite number.`,t);continue}(a<r.min||a>r.max)&&e.reporter.error(`chart-value-out-of-range`,`${t}: <c:${r.element} ${r.attr}="${a}"> outside [${r.min}, ${r.max}].`,t)}}function bD(e,t,n){let r=new Set([`layout`,`tx`,`numFmt`,`spPr`,`txPr`,`dLblPos`,`showLegendKey`,`showVal`,`showCatName`,`showSerName`,`showPercent`,`showBubbleSize`,`separator`]);for(let i of N(n,`dLbl`)){if(e.reporter.capped)return;if(M(i,`delete`)===void 0)continue;let n=i.children.find(e=>e.type===`element`&&r.has(sD(e.name)));n&&e.reporter.error(`chart-child-out-of-order`,`${t}: <c:dLbl> has both <c:delete> and <c:${sD(n.name)}>; CT_DLbl's choice group requires one branch or the other, never both.`,t)}}function xD(e){return e.length===0?e:e.charAt(0).toUpperCase()+e.slice(1)}function SD(e,t,n){for(let r of Object.keys(fO))for(let i of N(n,r)){if(e.reporter.capped)return;CD(e,t,i,r),wD(e,t,i,r),TD(e,t,i,r),ED(e,t,i,r),DD(e,t,i,r)}for(let r of[`surfaceChart`,`surface3DChart`])for(let i of N(n,r)){if(e.reporter.capped)return;wD(e,t,i,r),DD(e,t,i,r),ED(e,t,i,r)}}function CD(e,t,n,r){let i=fO[r];if(i)for(let a of N(n,`dLblPos`)){if(e.reporter.capped)return;let n=P(a,`val`);if(n!==void 0&&!i.has(n)){let a=i.size===0?`(none — this chart type does not accept c:dLblPos)`:[...i].sort().join(`, `);e.reporter.error(`chart-invalid-enum-value`,`${t}: <c:dLblPos val="${n}"> inside <c:${r}> — Excel only accepts {${a}} for this chart type.`,t)}}}function wD(e,t,n,r){let i=pO[r];if(!(!i||i.size===0)){for(let a of lD(n,`ser`))for(let n of a.children){if(e.reporter.capped)return;if(n.type!==`element`)continue;let a=sD(n.name);i.has(a)&&e.reporter.error(`chart-forbidden-child`,`${t}: <c:ser> inside <c:${r}> contains <c:${a}>, which is not allowed for this chart type per ECMA-376.`,t)}if(i.has(`dLbls`))for(let i of lD(n,`dLbls`)){if(e.reporter.capped)return;e.reporter.error(`chart-forbidden-child`,`${t}: <c:${r}> contains group-level <c:dLbls>, which is not allowed for this chart type.`,t)}}}function TD(e,t,n,r){let i=mO[r];if(i!==void 0)for(let a of lD(n,`ser`)){if(e.reporter.capped)return;let n=lD(a,`errBars`);if(n.length>i&&e.reporter.error(`chart-wrong-child-count`,`${t}: <c:ser> inside <c:${r}> has ${n.length} <c:errBars> children; schema permits at most ${i}.`,t),n.length===2){let i=n.map(e=>{let t=M(e,`errDir`);return t?P(t,`val`):void 0});i[0]!==void 0&&i[1]!==void 0&&i[0]===i[1]&&e.reporter.error(`chart-duplicate-errBars-direction`,`${t}: <c:ser> inside <c:${r}> has two <c:errBars> with the same <c:errDir val="${i[0]}"> — schema requires distinct directions (x + y).`,t)}}}function ED(e,t,n,r){let i=lD(n,`ser`),a=new Set,o=new Set;for(let n of i){if(e.reporter.capped)return;let i=M(n,`idx`),s=M(n,`order`),c=i?P(i,`val`):void 0,l=s?P(s,`val`):void 0;c!==void 0&&(a.has(c)&&e.reporter.error(`chart-duplicate-series-idx`,`${t}: <c:${r}> has two <c:ser> entries with <c:idx val="${c}">; idx must be unique within a chart-type group.`,t),a.add(c)),l!==void 0&&(o.has(l)&&e.reporter.error(`chart-duplicate-series-order`,`${t}: <c:${r}> has two <c:ser> entries with <c:order val="${l}">; order must be unique within a chart-type group.`,t),o.add(l))}}function DD(e,t,n,r){let i=hO[r];if(!i)return;let a=lD(n,`ser`).length;a<i.min&&e.reporter.error(`chart-missing-required-child`,`${t}: <c:${r}> has ${a} <c:ser> children; schema requires at least ${i.min}${i.max===void 0?``:` (and at most ${i.max})`}.`,t),i.max!==void 0&&a>i.max&&e.reporter.error(`chart-wrong-child-count`,`${t}: <c:${r}> has ${a} <c:ser> children; schema permits at most ${i.max}.`,t)}function OD(e,t,n){for(let r of gO)for(let i of N(n,r)){if(e.reporter.capped)return;M(i,`f`)||e.reporter.error(`chart-missing-required-child`,`${t}: <c:${r}> is missing the required <c:f> formula child.`,t)}for(let r of _O)for(let i of N(n,r)){if(e.reporter.capped)return;M(i,`ptCount`)||e.reporter.error(`chart-missing-required-child`,`${t}: <c:${r}> is missing the required <c:ptCount> child.`,t)}for(let r of vO)for(let i of N(n,r)){if(e.reporter.capped)return;let n=M(i,`ptCount`),a=n?parseInt(P(n,`val`)??``,10):NaN,o=lD(i,`pt`);for(let n of o){let i=P(n,`idx`);if(i===void 0){e.reporter.error(`chart-missing-required-child`,`${t}: <c:pt> inside <c:${r}> is missing the required idx attribute.`,t);continue}let o=parseInt(i,10);Number.isFinite(a)&&(o<0||o>=a)&&e.reporter.error(`chart-pt-idx-out-of-range`,`${t}: <c:pt idx="${o}"> outside declared range [0, ${a-1}] (from <c:ptCount val="${a}">).`,t),r!==`multiLvlStrCache`&&!M(n,`v`)&&e.reporter.error(`chart-missing-required-child`,`${t}: <c:pt idx="${o}"> inside <c:${r}> is missing the required <c:v> value child.`,t)}}}function kD(e,t){let n=e.readDom(t);if(!n)return;let r=n.root;uD(r,`chart`)||e.reporter.error(`chartEx-missing-chart`,`${t}: missing cx:chart`,t),uD(r,`plotArea`)||e.reporter.error(`chartEx-missing-plotArea`,`${t}: missing cx:plotArea`,t);let i=N(r,`series`);if(i.length===0){e.reporter.error(`chartEx-missing-series`,`${t}: missing cx:series`,t);return}let a=new Set(N(r,`data`).map(e=>parseInt(P(e,`id`)??``,10)).filter(Number.isFinite)),o=new Set(N(r,`axis`).map(e=>parseInt(P(e,`id`)??``,10)).filter(Number.isFinite));for(let n of i){P(n,`layoutId`)||e.reporter.error(`chartEx-series-missing-layoutId`,`${t}: cx:series missing layoutId`,t);let r=lD(n,`dataId`);r.length>1&&e.reporter.error(`chartEx-series-too-many-dataId`,`${t}: cx:series has ${r.length} <cx:dataId> children; schema permits at most 1. Consolidate the referenced <cx:data> entries into a single entry.`,t);for(let n of r){let r=parseInt(P(n,`val`)??``,10);a.has(r)||e.reporter.error(`chartEx-series-missing-data-id`,`${t}: cx:series references missing cx:data id ${P(n,`val`)}`,t)}for(let r of lD(n,`axisId`)){let n=parseInt(P(r,`val`)??``,10);o.has(n)||e.reporter.error(`chartEx-series-missing-axis-id`,`${t}: cx:series references missing cx:axis id ${P(r,`val`)}`,t)}}let s=N(r,`externalData`).map(e=>P(e,`id`)).filter(e=>!!e);if(s.length>0){let n=nO(t),r=e.readRels(n);for(let n of s)r.byId.has(n)||e.reporter.error(`chartEx-externalData-missing-rel`,`${t}: cx:externalData references missing relationship ${n}`,t)}AD(e,t,r),jD(e,t,r),MD(e,t,r),ND(e,t,r),FD(e,t,r),ID(e,t,r),LD(e,t,r)}function AD(e,t,n){for(let r of yO)for(let i of N(n,r)){if(e.reporter.capped)return;let n=P(i,`val`),a=PD(i).trim();n===void 0&&a.length>0&&e.reporter.error(`chartEx-typed-element-text-form`,`${t}: <cx:${r}>${a}</cx:${r}> uses text-content form; schema requires val="${a}" attribute.`,t)}}function jD(e,t,n){for(let r of N(n,`auto`)){if(e.reporter.capped)return;e.reporter.error(`chartEx-invalid-auto-element`,`${t}: <cx:auto/> element is not in the chartEx schema. Auto binning is expressed by omitting both <cx:binSize> and <cx:binCount>.`,t)}}function MD(e,t,n){for(let r of N(n,`layoutPr`)){if(e.reporter.capped)return;M(r,`paretoLine`)&&e.reporter.error(`chartEx-paretoLine-in-layoutPr`,`${t}: <cx:paretoLine> is not a valid child of <cx:layoutPr>. Add a second <cx:series layoutId="paretoLine"/> instead.`,t)}}function ND(e,t,n){for(let r of N(n,`title`)){if(e.reporter.capped)return;M(r,`layout`)&&e.reporter.error(`chartEx-title-direct-layout`,`${t}: <cx:title> has a direct <cx:layout> child. Title layout information belongs in extLst-based extensions.`,t)}}function PD(e){let t=``;for(let n of e.children)(n.type===`text`||n.type===`cdata`)&&(t+=n.value);return t}function FD(e,t,n){for(let r of N(n,`axis`)){if(e.reporter.capped)return;let n=P(r,`pos`),i=P(r,`type`),a=P(r,`id`)??`?`,o=r.children.some(e=>e.type===`element`&&cD(e.name,`catScaling`)),s=r.children.some(e=>e.type===`element`&&cD(e.name,`valScaling`));n===void 0&&i===void 0&&!o&&!s&&e.reporter.error(`chartEx-axis-missing-pos-and-type`,`${t}: <cx:axis id="${a}"> has no role marker — emit either a <cx:catScaling>/<cx:valScaling> child (preferred, matches Excel) or a pos/type attribute. Excel's loader drops the chartEx otherwise.`,t)}}function ID(e,t,n){for(let r of N(n,`f`)){if(e.reporter.capped)return;let n=PD(r).trim();n!==``&&n.includes(`!`)&&(n.startsWith(`_xlchart.`)||n.startsWith(`_xlfn.`)||e.reporter.error(`chartEx-f-uses-direct-range-not-defined-name`,`${t}: <cx:f>${n}</cx:f> points at a worksheet range directly. ChartEx requires an indirection through hidden defined names (e.g. _xlchart.v1.0) — otherwise Excel 2016+ drops the chartEx part on load.`,t))}}function LD(e,t,n){for(let r of N(n,`series`)){if(e.reporter.capped)return;if(P(r,`layoutId`)!==`waterfall`)continue;let n=M(r,`layoutPr`);n&&M(n,`subtotals`)!==void 0||e.reporter.error(`chartEx-waterfall-missing-subtotals`,`${t}: waterfall series has no <cx:layoutPr><cx:subtotals/> marker. Emit the element (even empty) so Excel renders the series as waterfall-aware instead of rejecting the chartEx.`,t)}}function RD(e,t,n){for(let r of cO)for(let i of r.chartTypes)for(let a of N(n,i))for(let n of lD(a,`ser`)){if(e.reporter.capped)return;let a=n.children.filter(e=>e.type===`element`),o=-1,s=``;for(let n of a){let a=sD(n.name),c=r.order.indexOf(a);c<0||(c<o&&e.reporter.error(`chart-child-out-of-order`,`${t}: <c:ser> inside <c:${i}> has <c:${a}> after <c:${s}>; CT_${zD(i)}Ser requires <c:${a}> earlier in the sequence.`,t),c>=o&&(o=c,s=a))}}}function zD(e){return e.startsWith(`bar`)?`Bar`:e.startsWith(`line`)||e===`stockChart`?`Line`:e.startsWith(`pie`)||e===`doughnutChart`||e===`ofPieChart`?`Pie`:e.startsWith(`area`)?`Area`:e===`scatterChart`?`Scatter`:e===`bubbleChart`?`Bubble`:e===`radarChart`?`Radar`:e.startsWith(`surface`)?`Surface`:e}function BD(e,t,n){for(let r of N(n,`plotArea`)){if(e.reporter.capped)return;let n=new Set;for(let e of r.children){if(e.type!==`element`)continue;let t=sD(e.name);if(!xO.has(t))continue;let r=M(e,`axId`),i=r?P(r,`val`):void 0;i!==void 0&&n.add(i)}for(let i of r.children){if(i.type!==`element`)continue;let r=sD(i.name);if(bO.has(r))for(let a of lD(i,`axId`)){let i=P(a,`val`);i!==void 0&&(n.has(i)||e.reporter.error(`chart-axid-unresolved`,`${t}: <c:${r}> references <c:axId val="${i}"> but no matching axis exists in the enclosing <c:plotArea>.`,t))}}for(let i of r.children){if(i.type!==`element`)continue;let r=sD(i.name);if(!xO.has(r))continue;let a=M(i,`crossAx`),o=a?P(a,`val`):void 0;o!==void 0&&!n.has(o)&&e.reporter.error(`chart-axid-unresolved`,`${t}: <c:${r}> has <c:crossAx val="${o}"> but no matching axis exists in the enclosing <c:plotArea>.`,t)}}}function VD(e,t,n){for(let r of N(n,`errBars`)){if(e.reporter.capped)return;let n=M(r,`errValType`),i=n?P(n,`val`):void 0,a=M(r,`val`)!==void 0,o=M(r,`plus`)!==void 0,s=M(r,`minus`)!==void 0;i===`cust`?((!o||!s)&&e.reporter.error(`chart-missing-required-child`,`${t}: <c:errBars> with <c:errValType val="cust"> requires both <c:plus> and <c:minus> children.`,t),a&&e.reporter.error(`chart-forbidden-child`,`${t}: <c:errBars> with <c:errValType val="cust"> must not contain <c:val>; use <c:plus> / <c:minus> for custom bounds.`,t)):(i===`fixedVal`||i===`percentage`||i===`stdDev`)&&(a||e.reporter.error(`chart-missing-required-child`,`${t}: <c:errBars> with <c:errValType val="${i}"> requires a <c:val> child.`,t),(o||s)&&e.reporter.error(`chart-forbidden-child`,`${t}: <c:errBars> with <c:errValType val="${i}"> must not contain <c:plus> or <c:minus> — those belong to "cust" only.`,t)),i===`stdErr`&&(o||s)&&e.reporter.error(`chart-forbidden-child`,`${t}: <c:errBars> with <c:errValType val="stdErr"> must not contain <c:plus> or <c:minus>.`,t)}}function HD(e,t,n){for(let r of N(n,`tx`)){if(e.reporter.capped)return;let n=[M(r,`strRef`)!==void 0,M(r,`rich`)!==void 0,M(r,`v`)!==void 0].filter(Boolean).length;n>1&&e.reporter.error(`chart-child-out-of-order`,`${t}: <c:tx> must contain at most one of <c:strRef>, <c:rich>, or <c:v>; found ${n} branches.`,t)}}function UD(e,t,n){for(let r of cO){let i=new Set(r.order);for(let a of r.chartTypes)for(let r of N(n,a))for(let n of lD(r,`ser`)){if(e.reporter.capped)return;for(let r of n.children){if(r.type!==`element`)continue;let n=sD(r.name);SO.has(n)&&(i.has(n)||e.reporter.error(`chart-forbidden-child`,`${t}: <c:ser> inside <c:${a}> contains <c:${n}>, which is not in CT_${zD(a)}Ser's schema.`,t))}}}}function WD(e,t,n){for(let r of N(n,`srgbClr`)){if(e.reporter.capped)return;let n=P(r,`val`);if(n===void 0){e.reporter.error(`chart-missing-required-child`,`${t}: <a:srgbClr> is missing the required val attribute.`,t);continue}CO.test(n)||e.reporter.error(`chart-invalid-enum-value`,`${t}: <a:srgbClr val="${n}"> must be a 6-digit hex colour (e.g. "4472C4").`,t)}}function GD(e,t,n){for(let r of N(n,`numFmt`)){if(e.reporter.capped)return;P(r,`formatCode`)===void 0&&e.reporter.error(`chart-missing-required-child`,`${t}: <c:numFmt> is missing the required formatCode attribute.`,t)}}function KD(e,t,n){for(let r of N(n,`rich`)){if(e.reporter.capped)return;let n=M(r,`bodyPr`)!==void 0,i=lD(r,`p`).length;n||e.reporter.error(`chart-missing-required-child`,`${t}: <c:rich> is missing the required <a:bodyPr> child (CT_TextBody requires it first).`,t),i===0&&e.reporter.error(`chart-missing-required-child`,`${t}: <c:rich> has no <a:p> children; CT_TextBody requires at least one paragraph.`,t)}}function qD(e){let t=e.readDom(`xl/theme/theme1.xml`);if(!t)return;let n=JD(t.root,`clrScheme`);if(!n)return;let r=new Set;for(let e of n.children)e.type===`element`&&r.add(sD(e.name));return r}function JD(e,t){let n=N(e,t);return n.length>0?n[0]:void 0}function YD(e,t,n){let r=qD(e);if(!(!r||r.size===0))for(let i of N(n,`schemeClr`)){if(e.reporter.capped)return;let n=P(i,`val`);if(!n||n===`phClr`)continue;let a=wO[n]??n;r.has(a)||e.reporter.error(`chart-theme-missing-schemeClr-slot`,`${t}: <a:schemeClr val="${n}"> references theme slot <a:${a}> which is not declared in xl/theme/theme1.xml's <a:clrScheme>.`,t)}}function XD(e){let t=0,n=0,r=!1;for(let i=0;i<e.length;i++){let a=e[i];if(a===`'`){r=!r;continue}if(!r&&(a===`(`?t++:a===`)`?t--:a===`[`?n++:a===`]`&&n--,t<0||n<0))return!1}return t===0&&n===0&&!r}function ZD(e){let t=e.trim();if(t.startsWith(`=`)&&(t=t.substring(1).trim()),t===``||!XD(t))return{kind:`invalid`};if(t.startsWith(`_xl`)||t.startsWith(`(`))return{kind:`special`};if(EO.test(t))return{kind:`name`,name:t};let n=t.indexOf(`!`);if(n>=0){let e=t.substring(0,n),r=t.substring(n+1);return!(e.startsWith(`'`)&&e.endsWith(`'`)&&e.length>=3||EO.test(e))||r===``?{kind:`invalid`}:TO.test(r)?{kind:r.includes(`:`)?`range`:`cell`}:r.startsWith(`_xl`)?{kind:`special`}:EO.test(r)?{kind:`name`,name:r}:{kind:`special`}}return{kind:`special`}}function QD(e){let t=``;for(let n of e.children)(n.type===`text`||n.type===`cdata`)&&(t+=n.value);return t}function $D(e,t,n){for(let r of N(n,`f`)){if(e.reporter.capped)return;let n=QD(r);ZD(n).kind===`invalid`&&e.reporter.error(`chart-f-invalid-syntax`,`${t}: <c:f>${n}</c:f> is not a valid cell reference, range, or defined name.`,t)}}function eO(e){let t=new Set;t.add(`_xlnm.Print_Area`),t.add(`_xlnm.Print_Titles`),t.add(`_xlnm.Database`),t.add(`_xlnm.Criteria`),t.add(`_xlnm.Extract`),t.add(`_xlnm.Sheet_Title`),t.add(`_xlnm._FilterDatabase`),t.add(`_xlnm.Auto_Open`),t.add(`_xlnm.Auto_Close`);let n=e.readDom(`xl/workbook.xml`);if(!n)return t;for(let e of N(n.root,`definedName`)){let n=P(e,`name`);n&&t.add(n)}return t}function tO(e,t,n){let r;for(let i of N(n,`f`)){if(e.reporter.capped)return;let n=QD(i),a=ZD(n);a.kind!==`name`||!a.name||(r||=eO(e),r.has(a.name)||e.reporter.error(`chart-f-undefined-name`,`${t}: <c:f>${n}</c:f> references defined name "${a.name}" but no matching <definedName> exists in xl/workbook.xml.`,t))}}function nO(e){let t=e.lastIndexOf(`/`),n=t>=0?e.slice(0,t):``,r=t>=0?e.slice(t+1):e;return n?`${n}/_rels/${r}.rels`:`_rels/${r}.rels`}var rO,iO,aO,oO,sO,cO,lO,uO,dO,fO,pO,mO,hO,gO,_O,vO,yO,bO,xO,SO,CO,wO,TO,EO,DO=t((()=>{fD(),rO=/^xl\/charts\/chart\d+\.xml$/,iO=/^xl\/charts\/chartEx\d+\.xml$/,aO=[`areaChart`,`area3DChart`,`lineChart`,`line3DChart`,`stockChart`,`radarChart`,`scatterChart`,`pieChart`,`pie3DChart`,`doughnutChart`,`barChart`,`bar3DChart`,`ofPieChart`,`surfaceChart`,`surface3DChart`,`bubbleChart`],oO=[`catAx`,`valAx`,`dateAx`,`serAx`],sO=[{parent:`chartSpace`,order:[`lang`,`roundedCorners`,`style`,`clrMapOvr`,`pivotSource`,`protection`,`chart`,`spPr`,`txPr`,`externalData`,`printSettings`,`userShapes`,`extLst`]},{parent:`chart`,order:[`title`,`autoTitleDeleted`,`pivotFmts`,`view3D`,`floor`,`sideWall`,`backWall`,`plotArea`,`legend`,`plotVisOnly`,`dispBlanksAs`,`showDLblsOverMax`,`extLst`]},{parent:`plotArea`,order:[`layout`,`__CHART_TYPES__`,`__AXES__`,`dTable`,`spPr`,`extLst`],choiceGroups:[aO,oO]},{parent:`dLbls`,order:[`dLbl`,`delete`,`numFmt`,`spPr`,`txPr`,`dLblPos`,`showLegendKey`,`showVal`,`showCatName`,`showSerName`,`showPercent`,`showBubbleSize`,`separator`,`showLeaderLines`,`leaderLines`,`extLst`]},{parent:`dLbl`,order:[`idx`,`delete`,`layout`,`tx`,`numFmt`,`spPr`,`txPr`,`dLblPos`,`showLegendKey`,`showVal`,`showCatName`,`showSerName`,`showPercent`,`showBubbleSize`,`separator`,`extLst`]},{parent:`scaling`,order:[`logBase`,`orientation`,`max`,`min`,`extLst`]},{parent:`catAx`,order:[`axId`,`scaling`,`delete`,`axPos`,`majorGridlines`,`minorGridlines`,`title`,`numFmt`,`majorTickMark`,`minorTickMark`,`tickLblPos`,`spPr`,`txPr`,`crossAx`,`crosses`,`crossesAt`,`auto`,`lblAlgn`,`lblOffset`,`tickLblSkip`,`tickMarkSkip`,`noMultiLvlLbl`,`extLst`]},{parent:`valAx`,order:[`axId`,`scaling`,`delete`,`axPos`,`majorGridlines`,`minorGridlines`,`title`,`numFmt`,`majorTickMark`,`minorTickMark`,`tickLblPos`,`spPr`,`txPr`,`crossAx`,`crosses`,`crossesAt`,`crossBetween`,`majorUnit`,`minorUnit`,`dispUnits`,`extLst`]},{parent:`dateAx`,order:[`axId`,`scaling`,`delete`,`axPos`,`majorGridlines`,`minorGridlines`,`title`,`numFmt`,`majorTickMark`,`minorTickMark`,`tickLblPos`,`spPr`,`txPr`,`crossAx`,`crosses`,`crossesAt`,`auto`,`lblOffset`,`baseTimeUnit`,`majorUnit`,`majorTimeUnit`,`minorUnit`,`minorTimeUnit`,`extLst`]},{parent:`serAx`,order:[`axId`,`scaling`,`delete`,`axPos`,`majorGridlines`,`minorGridlines`,`title`,`numFmt`,`majorTickMark`,`minorTickMark`,`tickLblPos`,`spPr`,`txPr`,`crossAx`,`crosses`,`crossesAt`,`tickLblSkip`,`tickMarkSkip`,`extLst`]},{parent:`trendline`,order:[`name`,`spPr`,`trendlineType`,`order`,`period`,`forward`,`backward`,`intercept`,`dispRSqr`,`dispEq`,`trendlineLbl`,`extLst`]},{parent:`errBars`,order:[`errDir`,`errBarType`,`errValType`,`noEndCap`,`plus`,`minus`,`val`,`spPr`,`extLst`]},{parent:`view3D`,order:[`rotX`,`hPercent`,`rotY`,`depthPercent`,`rAngAx`,`perspective`,`extLst`]},{parent:`legend`,order:[`legendPos`,`legendEntry`,`layout`,`overlay`,`spPr`,`txPr`,`extLst`]},{parent:`title`,order:[`tx`,`layout`,`overlay`,`spPr`,`txPr`,`extLst`]},{parent:`areaChart`,order:[`grouping`,`varyColors`,`ser`,`dLbls`,`dropLines`,`axId`,`extLst`]},{parent:`area3DChart`,order:[`grouping`,`varyColors`,`ser`,`dLbls`,`dropLines`,`gapDepth`,`axId`,`extLst`]},{parent:`barChart`,order:[`barDir`,`grouping`,`varyColors`,`ser`,`dLbls`,`gapWidth`,`overlap`,`serLines`,`axId`,`extLst`]},{parent:`bar3DChart`,order:[`barDir`,`grouping`,`varyColors`,`ser`,`dLbls`,`gapWidth`,`gapDepth`,`shape`,`axId`,`extLst`]},{parent:`lineChart`,order:[`grouping`,`varyColors`,`ser`,`dLbls`,`dropLines`,`hiLowLines`,`upDownBars`,`marker`,`smooth`,`axId`,`extLst`]},{parent:`line3DChart`,order:[`grouping`,`varyColors`,`ser`,`dLbls`,`dropLines`,`gapDepth`,`axId`,`extLst`]},{parent:`pieChart`,order:[`varyColors`,`ser`,`dLbls`,`firstSliceAng`,`extLst`]},{parent:`pie3DChart`,order:[`varyColors`,`ser`,`dLbls`,`extLst`]},{parent:`doughnutChart`,order:[`varyColors`,`ser`,`dLbls`,`firstSliceAng`,`holeSize`,`extLst`]},{parent:`ofPieChart`,order:[`ofPieType`,`varyColors`,`ser`,`dLbls`,`gapWidth`,`splitType`,`splitPos`,`custSplit`,`secondPieSize`,`serLines`,`extLst`]},{parent:`scatterChart`,order:[`scatterStyle`,`varyColors`,`ser`,`dLbls`,`axId`,`extLst`]},{parent:`bubbleChart`,order:[`varyColors`,`ser`,`dLbls`,`bubble3D`,`bubbleScale`,`showNegBubbles`,`sizeRepresents`,`axId`,`extLst`]},{parent:`radarChart`,order:[`radarStyle`,`varyColors`,`ser`,`dLbls`,`axId`,`extLst`]},{parent:`stockChart`,order:[`ser`,`dLbls`,`dropLines`,`hiLowLines`,`upDownBars`,`axId`,`extLst`]},{parent:`surfaceChart`,order:[`wireframe`,`ser`,`bandFmts`,`axId`,`extLst`]},{parent:`surface3DChart`,order:[`wireframe`,`ser`,`bandFmts`,`axId`,`extLst`]},{parent:`dPt`,order:[`idx`,`invertIfNegative`,`marker`,`bubble3D`,`explosion`,`spPr`,`pictureOptions`,`extLst`]},{parent:`marker`,order:[`symbol`,`size`,`spPr`,`extLst`]},{parent:`upDownBars`,order:[`gapWidth`,`upBars`,`downBars`,`extLst`]},{parent:`numRef`,order:[`f`,`numCache`,`extLst`]},{parent:`strRef`,order:[`f`,`strCache`,`extLst`]},{parent:`multiLvlStrRef`,order:[`f`,`multiLvlStrCache`,`extLst`]},{parent:`numCache`,order:[`formatCode`,`ptCount`,`pt`,`extLst`]},{parent:`strCache`,order:[`ptCount`,`pt`,`extLst`]},{parent:`multiLvlStrCache`,order:[`ptCount`,`lvl`,`extLst`]},{parent:`numLit`,order:[`formatCode`,`ptCount`,`pt`,`extLst`]},{parent:`strLit`,order:[`ptCount`,`pt`,`extLst`]},{parent:`pt`,order:[`v`]},{parent:`layout`,order:[`manualLayout`,`extLst`]},{parent:`manualLayout`,order:[`layoutTarget`,`xMode`,`yMode`,`wMode`,`hMode`,`x`,`y`,`w`,`h`,`extLst`]},{parent:`dTable`,order:[`showHorzBorder`,`showVertBorder`,`showOutline`,`showKeys`,`spPr`,`txPr`,`extLst`]},{parent:`bandFmts`,order:[`bandFmt`]},{parent:`bandFmt`,order:[`idx`,`spPr`]},{parent:`trendlineLbl`,order:[`layout`,`tx`,`numFmt`,`spPr`,`txPr`,`extLst`]},{parent:`pictureOptions`,order:[`applyToFront`,`applyToSides`,`applyToEnd`,`pictureFormat`,`pictureStackUnit`]}],cO=[{chartTypes:[`barChart`,`bar3DChart`],order:[`idx`,`order`,`tx`,`spPr`,`invertIfNegative`,`pictureOptions`,`dPt`,`dLbls`,`trendline`,`errBars`,`cat`,`val`,`shape`,`extLst`]},{chartTypes:[`lineChart`,`line3DChart`,`stockChart`],order:[`idx`,`order`,`tx`,`spPr`,`marker`,`dPt`,`dLbls`,`trendline`,`errBars`,`cat`,`val`,`smooth`,`extLst`]},{chartTypes:[`pieChart`,`pie3DChart`,`doughnutChart`,`ofPieChart`],order:[`idx`,`order`,`tx`,`spPr`,`explosion`,`dPt`,`dLbls`,`cat`,`val`,`extLst`]},{chartTypes:[`areaChart`,`area3DChart`],order:[`idx`,`order`,`tx`,`spPr`,`pictureOptions`,`dPt`,`dLbls`,`trendline`,`errBars`,`cat`,`val`,`extLst`]},{chartTypes:[`scatterChart`],order:[`idx`,`order`,`tx`,`spPr`,`marker`,`dPt`,`dLbls`,`trendline`,`errBars`,`xVal`,`yVal`,`smooth`,`extLst`]},{chartTypes:[`bubbleChart`],order:[`idx`,`order`,`tx`,`spPr`,`invertIfNegative`,`dPt`,`dLbls`,`trendline`,`errBars`,`xVal`,`yVal`,`bubbleSize`,`bubble3D`,`extLst`]},{chartTypes:[`radarChart`],order:[`idx`,`order`,`tx`,`spPr`,`marker`,`dPt`,`dLbls`,`cat`,`val`,`extLst`]},{chartTypes:[`surfaceChart`,`surface3DChart`],order:[`idx`,`order`,`tx`,`spPr`,`cat`,`val`,`extLst`]}],lO=[{parent:`barChart`,child:`axId`,min:2,max:2},{parent:`barChart`,child:`barDir`,min:1,max:1},{parent:`bar3DChart`,child:`axId`,min:3,max:3},{parent:`bar3DChart`,child:`barDir`,min:1,max:1},{parent:`lineChart`,child:`axId`,min:2,max:2},{parent:`lineChart`,child:`grouping`,min:1,max:1},{parent:`line3DChart`,child:`axId`,min:3,max:3},{parent:`line3DChart`,child:`grouping`,min:1,max:1},{parent:`areaChart`,child:`axId`,min:2,max:2},{parent:`area3DChart`,child:`axId`,min:3,max:3},{parent:`scatterChart`,child:`axId`,min:2,max:2},{parent:`scatterChart`,child:`scatterStyle`,min:1,max:1},{parent:`bubbleChart`,child:`axId`,min:2,max:2},{parent:`radarChart`,child:`axId`,min:2,max:2},{parent:`radarChart`,child:`radarStyle`,min:1,max:1},{parent:`stockChart`,child:`axId`,min:2,max:2},{parent:`surfaceChart`,child:`axId`,min:3,max:3},{parent:`surface3DChart`,child:`axId`,min:3,max:3},{parent:`ofPieChart`,child:`ofPieType`,min:1,max:1},{parent:`catAx`,child:`axId`,min:1,max:1},{parent:`catAx`,child:`scaling`,min:1,max:1},{parent:`catAx`,child:`axPos`,min:1,max:1},{parent:`catAx`,child:`crossAx`,min:1,max:1},{parent:`valAx`,child:`axId`,min:1,max:1},{parent:`valAx`,child:`scaling`,min:1,max:1},{parent:`valAx`,child:`axPos`,min:1,max:1},{parent:`valAx`,child:`crossAx`,min:1,max:1},{parent:`dateAx`,child:`axId`,min:1,max:1},{parent:`dateAx`,child:`scaling`,min:1,max:1},{parent:`dateAx`,child:`axPos`,min:1,max:1},{parent:`dateAx`,child:`crossAx`,min:1,max:1},{parent:`serAx`,child:`axId`,min:1,max:1},{parent:`serAx`,child:`scaling`,min:1,max:1},{parent:`serAx`,child:`axPos`,min:1,max:1},{parent:`serAx`,child:`crossAx`,min:1,max:1},{parent:`ser`,child:`idx`,min:1,max:1},{parent:`ser`,child:`order`,min:1,max:1},{parent:`trendline`,child:`trendlineType`,min:1,max:1},{parent:`errBars`,child:`errBarType`,min:1,max:1},{parent:`errBars`,child:`errValType`,min:1,max:1},{parent:`dPt`,child:`idx`,min:1,max:1},{parent:`dLbl`,child:`idx`,min:1,max:1}],uO=[{element:`barDir`,attr:`val`,allowed:[`bar`,`col`]},{element:`grouping`,attr:`val`,allowed:[`standard`,`stacked`,`percentStacked`,`clustered`]},{element:`orientation`,attr:`val`,allowed:[`minMax`,`maxMin`]},{element:`ofPieType`,attr:`val`,allowed:[`pie`,`bar`]},{element:`dLblPos`,attr:`val`,allowed:[`b`,`bestFit`,`ctr`,`inBase`,`inEnd`,`l`,`outEnd`,`r`,`t`]},{element:`legendPos`,attr:`val`,allowed:[`b`,`l`,`r`,`t`,`tr`]},{element:`scatterStyle`,attr:`val`,allowed:[`none`,`line`,`lineMarker`,`marker`,`smooth`,`smoothMarker`]},{element:`radarStyle`,attr:`val`,allowed:[`standard`,`marker`,`filled`]},{element:`dispBlanksAs`,attr:`val`,allowed:[`span`,`gap`,`zero`]},{element:`splitType`,attr:`val`,allowed:[`auto`,`cust`,`percent`,`pos`,`val`]},{element:`shape`,attr:`val`,allowed:[`cone`,`coneToMax`,`box`,`cylinder`,`pyramid`,`pyramidToMax`]},{element:`crosses`,attr:`val`,allowed:[`autoZero`,`min`,`max`]},{element:`crossBetween`,attr:`val`,allowed:[`between`,`midCat`]},{element:`lblAlgn`,attr:`val`,allowed:[`ctr`,`l`,`r`]},{element:`axPos`,attr:`val`,allowed:[`b`,`l`,`r`,`t`]},{element:`majorTickMark`,attr:`val`,allowed:[`cross`,`in`,`none`,`out`]},{element:`minorTickMark`,attr:`val`,allowed:[`cross`,`in`,`none`,`out`]},{element:`tickLblPos`,attr:`val`,allowed:[`high`,`low`,`nextTo`,`none`]},{element:`baseTimeUnit`,attr:`val`,allowed:[`days`,`months`,`years`]},{element:`majorTimeUnit`,attr:`val`,allowed:[`days`,`months`,`years`]},{element:`minorTimeUnit`,attr:`val`,allowed:[`days`,`months`,`years`]},{element:`trendlineType`,attr:`val`,allowed:[`exp`,`linear`,`log`,`movingAvg`,`poly`,`power`]},{element:`errDir`,attr:`val`,allowed:[`x`,`y`]},{element:`errBarType`,attr:`val`,allowed:[`both`,`minus`,`plus`]},{element:`errValType`,attr:`val`,allowed:[`cust`,`fixedVal`,`percentage`,`stdDev`,`stdErr`]},{element:`symbol`,attr:`val`,allowed:[`auto`,`circle`,`dash`,`diamond`,`dot`,`none`,`picture`,`plus`,`square`,`star`,`triangle`,`x`]},{element:`sizeRepresents`,attr:`val`,allowed:[`area`,`w`]},{element:`schemeClr`,attr:`val`,allowed:[`bg1`,`bg2`,`tx1`,`tx2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`,`phClr`,`dk1`,`dk2`,`lt1`,`lt2`]}],dO=[{element:`holeSize`,attr:`val`,min:10,max:90},{element:`firstSliceAng`,attr:`val`,min:0,max:360},{element:`overlap`,attr:`val`,min:-100,max:100},{element:`gapWidth`,attr:`val`,min:0,max:500},{element:`gapDepth`,attr:`val`,min:0,max:500},{element:`rotX`,attr:`val`,min:-90,max:90},{element:`rotY`,attr:`val`,min:0,max:360},{element:`perspective`,attr:`val`,min:0,max:240},{element:`hPercent`,attr:`val`,min:5,max:500},{element:`depthPercent`,attr:`val`,min:20,max:2e3},{element:`bubbleScale`,attr:`val`,min:0,max:300},{element:`secondPieSize`,attr:`val`,min:5,max:200},{element:`majorUnit`,attr:`val`,min:2**-52,max:Number.MAX_VALUE},{element:`minorUnit`,attr:`val`,min:2**-52,max:Number.MAX_VALUE},{element:`tickLblSkip`,attr:`val`,min:1,max:2**53-1},{element:`tickMarkSkip`,attr:`val`,min:1,max:2**53-1},{element:`alpha`,attr:`val`,min:0,max:1e5}],fO={barChart:new Set([`ctr`,`inBase`,`inEnd`,`outEnd`]),bar3DChart:new Set([`ctr`,`inBase`,`inEnd`,`outEnd`]),lineChart:new Set([`ctr`,`l`,`r`,`t`,`b`]),line3DChart:new Set([`ctr`,`l`,`r`,`t`,`b`]),scatterChart:new Set([`ctr`,`l`,`r`,`t`,`b`]),bubbleChart:new Set([`ctr`,`l`,`r`,`t`,`b`]),radarChart:new Set([`ctr`,`l`,`r`,`t`,`b`]),stockChart:new Set([`ctr`,`l`,`r`,`t`,`b`]),pieChart:new Set([`bestFit`,`ctr`,`inEnd`,`outEnd`]),pie3DChart:new Set([`bestFit`,`ctr`,`inEnd`,`outEnd`]),ofPieChart:new Set([`bestFit`,`ctr`,`inEnd`,`outEnd`]),doughnutChart:new Set,areaChart:new Set([`ctr`]),area3DChart:new Set([`ctr`])},pO={pieChart:new Set([`trendline`,`errBars`]),pie3DChart:new Set([`trendline`,`errBars`]),doughnutChart:new Set([`trendline`,`errBars`]),ofPieChart:new Set([`trendline`,`errBars`]),surfaceChart:new Set([`trendline`,`errBars`,`dLbls`,`marker`]),surface3DChart:new Set([`trendline`,`errBars`,`dLbls`,`marker`])},mO={scatterChart:2,bubbleChart:2,barChart:1,bar3DChart:1,lineChart:1,line3DChart:1,areaChart:1,area3DChart:1,radarChart:1,stockChart:1},hO={barChart:{min:1},bar3DChart:{min:1},lineChart:{min:1},line3DChart:{min:1},areaChart:{min:1},area3DChart:{min:1},scatterChart:{min:1},bubbleChart:{min:1},radarChart:{min:1},pieChart:{min:1},pie3DChart:{min:1},doughnutChart:{min:1},ofPieChart:{min:1},surfaceChart:{min:1},surface3DChart:{min:1},stockChart:{min:3,max:4}},gO=[`numRef`,`strRef`,`multiLvlStrRef`],_O=[`numLit`,`strLit`],vO=[`numCache`,`strCache`,`multiLvlStrCache`],yO=[`axisId`,`dataId`,`binCount`,`binSize`],bO=new Set(aO),xO=new Set(oO),SO=new Set(cO.flatMap(e=>e.order)),CO=/^[0-9A-Fa-f]{6}$/,wO={bg1:`lt1`,tx1:`dk1`,bg2:`lt2`,tx2:`dk2`},TO=/^\$?[A-Z]+\$?\d+(?::\$?[A-Z]+\$?\d+)?$/,EO=/^[A-Za-z_\\\u00C0-\uFFFF][A-Za-z0-9_.\\\u00C0-\uFFFF]*$/})),OO,kO,AO=t((()=>{fD(),OO=new TextDecoder,kO=class{constructor(e,t){this.textCache=new Map,this.domCache=new Map,this.relsCache=new Map,this.entries=e,this.reporter=t}has(e){let t=this.entries.get(e);return!!t&&t.type!==`directory`}*files(){for(let e of this.entries)e[1].type!==`directory`&&(yield e)}readText(e){let t=this.textCache.get(e);if(t!==void 0)return t;let n=this.entries.get(e);if(!n||n.type===`directory`)return;let r=OO.decode(n.data);return this.textCache.set(e,r),r}readDom(e,t){if(this.domCache.has(e))return this.domCache.get(e);let n=this.readText(e);if(n===void 0){this.domCache.set(e,void 0);return}let r=dD(n,e=>{t?.(e)});return this.domCache.set(e,r),r}readContentTypes(){if(this.contentTypes)return this.contentTypes;let e=`[Content_Types].xml`,t=this.readDom(e,t=>{this.reporter.error(`content-types-malformed`,`Content types XML parse error: ${t.message}`,e)}),n={defaults:new Map,overrides:new Map,parseOk:!1,duplicateOverrides:[]};if(!t)return this.contentTypes=n,n;let r=t.root;if(!(r.name===`Types`||r.name.endsWith(`:Types`)))return this.reporter.error(`content-types-malformed`,`Content types root element is <${r.name}>, expected <Types>`,e),this.contentTypes=n,n;for(let e of lD(r,`Default`)){let t=P(e,`Extension`),r=P(e,`ContentType`);t&&r&&n.defaults.set(t.toLowerCase(),r)}for(let e of lD(r,`Override`)){let t=P(e,`PartName`),r=P(e,`ContentType`);if(!t||!r)continue;let i=t.startsWith(`/`)?t.slice(1):t;n.overrides.has(i)?n.duplicateOverrides.push(t):n.overrides.set(i,r)}return n.parseOk=!0,this.contentTypes=n,n}readRels(e){let t=this.relsCache.get(e);if(t)return t;let n={rels:[],byId:new Map,parseOk:!1,malformedEntries:[]};if(!this.has(e))return this.relsCache.set(e,n),n;let r=this.readDom(e,t=>{this.reporter.error(`rels-malformed`,`Relationships XML parse error: ${t.message}`,e)});if(!r)return this.relsCache.set(e,n),n;let i=r.root;if(!(i.name===`Relationships`||i.name.endsWith(`:Relationships`)))return this.reporter.error(`rels-malformed`,`Relationships root element is <${i.name}>, expected <Relationships>`,e),this.relsCache.set(e,n),n;for(let e of lD(i,`Relationship`)){let t=P(e,`Id`),r=P(e,`Type`),i=P(e,`Target`),a=P(e,`TargetMode`);if(!t||!r||i===void 0){n.malformedEntries.push({missingId:!t,missingType:!r,missingTarget:i===void 0,id:t,type:r});continue}let o={id:t,type:r,target:i,targetMode:a};n.rels.push(o),n.byId.has(t)||n.byId.set(t,o)}return n.parseOk=!0,this.relsCache.set(e,n),n}}}));function jO(e){return e.startsWith(`/`)?e.slice(1):e}function MO(e){return e.endsWith(`.xml`)||e.endsWith(`.rels`)||e.endsWith(`.vml`)}function NO(e){if(e===`_rels/.rels`)return``;let t=e.indexOf(`/_rels/`);return t===-1?e.includes(`/`)?e.slice(0,e.lastIndexOf(`/`)):``:e.slice(0,t)}function PO(e){let t=e.lastIndexOf(`/`);return t===-1?e:e.slice(t+1)}function FO(e){let t=PO(e),n=t.lastIndexOf(`.`);return n===-1?``:t.slice(n+1).toLowerCase()}function IO(e,t){if(t.startsWith(`/`))return LO(t.split(`/`));let n=NO(e),r=[];return n&&r.push(...n.split(`/`)),r.push(...t.split(`/`)),LO(r)}function LO(e){let t=[],n=!1;for(let r of e)if(!(r===``||r===`.`)){if(r===`..`){t.length===0?n=!0:t.pop();continue}t.push(r)}let r=t.join(`/`);return n?`../${r}`:r}function RO(e){return!(e===`..`||e.startsWith(`../`)||e.includes(`/../`))}function zO(e){if(e===`_rels/.rels`)return;let t=PO(e);if(!t.endsWith(`.rels`))return;let n=NO(e),r=t.slice(0,-5);return n?`${n}/${r}`:r}function BO(e){if(!e||e.endsWith(`/`)||/[\\:*?"<>|]/.test(e))return!1;let t=e.split(`/`);for(let e of t)if(e===``||e===`.`||e===`..`)return!1;return!0}var VO=t((()=>{}));function HO(e){let t=new Set,n=new Set;for(let[r,i]of e.files()){if(i.type===`directory`||!GO.test(r))continue;let a=UO(r);if(!e.has(a))continue;let o=e.readRels(a);for(let e of o.rels){if(e.targetMode===`External`)continue;let r=IO(a,e.target);e.type===KO?t.add(r):e.type===qO&&n.add(r)}}for(let n of t){if(e.reporter.capped)return;WO(e,n,`chartEx-chartStyle-stub-form`,`chartStyle`)}for(let t of n){if(e.reporter.capped)return;WO(e,t,`chartEx-chartColorStyle-stub-form`,`chartColorStyle`)}}function UO(e){let t=e.lastIndexOf(`/`),n=t>=0?e.slice(0,t):``,r=t>=0?e.slice(t+1):e;return n?`${n}/_rels/${r}.rels`:`_rels/${r}.rels`}function WO(e,t,n,r){if(!e.has(t))return;let i=e.readDom(t);i&&(i.root.children.some(e=>e.type===`element`)||e.reporter.error(n,`${t}: ${r} sidecar referenced by a chartEx part is an id-only stub (root element has no children). Excel 2016+ rejects chartEx stub sidecars and drops the parent chartEx + drawing. Emit the full Microsoft-authored default content.`,t))}var GO,KO,qO,JO=t((()=>{VO(),GO=/^xl\/charts\/chartEx\d+\.xml$/,KO=`http://schemas.microsoft.com/office/2011/relationships/chartStyle`,qO=`http://schemas.microsoft.com/office/2011/relationships/chartColorStyle`}));function YO(e){for(let[t,n]of e.files()){if(e.reporter.capped)return;if(n.type===`directory`||!XO.test(t))continue;let r=e.readDom(t);r&&(uD(r.root,`drawing`)||e.reporter.error(`chartsheet-missing-drawing`,`${t}: missing drawing reference`,t))}}var XO,ZO=t((()=>{fD(),XO=/^xl\/chartsheets\/sheet\d+\.xml$/}));function QO(e){let t=tk[e];if(t)return{contentType:t,label:e};for(let t of nk)if(t.pattern.test(e))return{contentType:t.contentType,label:t.label}}function $O(e){if(!e.has(`[Content_Types].xml`))return;let t=e.readContentTypes();if(t.parseOk){for(let n of t.duplicateOverrides)e.reporter.error(`content-types-duplicate-override`,`Duplicate Override PartName: ${n}`,`[Content_Types].xml`);t.defaults.get(`rels`)!==`application/vnd.openxmlformats-package.relationships+xml`&&e.reporter.error(`content-types-missing-default`,`Missing/incorrect Default for .rels (expected application/vnd.openxmlformats-package.relationships+xml)`,`[Content_Types].xml`),t.defaults.get(`xml`)!==`application/xml`&&e.reporter.error(`content-types-missing-default`,`Missing/incorrect Default for .xml (expected application/xml)`,`[Content_Types].xml`);for(let[n,r]of t.overrides){if(e.reporter.capped)return;e.has(n)||e.reporter.error(`content-types-missing`,`Override PartName points to missing file: /${n}`,`[Content_Types].xml`)}for(let[n,r]of e.files()){if(e.reporter.capped)return;if(r.type===`directory`||n===`[Content_Types].xml`)continue;BO(n)||e.reporter.error(`part-name-invalid`,`Illegal OPC part name: ${n}`,n);let i=t.overrides.get(n),a=FO(n),o=a?t.defaults.get(a):void 0;if(!i&&!o){a?e.reporter.error(`content-types-missing-for-part`,`No Default/Override content type for part: ${n} (extension .${a})`,`[Content_Types].xml`):e.reporter.error(`content-types-missing-for-part`,`No content type for part without extension: ${n}`,`[Content_Types].xml`);continue}let s=QO(n);if(!s)continue;let c=i??o;c!==s.contentType&&e.reporter.error(`content-types-wrong-for-part`,`Unexpected content type for /${jO(n)}: got "${c}", expected "${s.contentType}" (${s.label})`,`[Content_Types].xml`)}}}var ek,tk,nk,rk=t((()=>{VO(),ek={workbook:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml`,styles:`application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml`,sharedStrings:`application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml`,theme:`application/vnd.openxmlformats-officedocument.theme+xml`,worksheet:`application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml`,chartsheet:`application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml`,chart:`application/vnd.openxmlformats-officedocument.drawingml.chart+xml`,chartEx:`application/vnd.ms-office.chartex+xml`,chartStyle:`application/vnd.ms-office.chartstyle+xml`,chartColors:`application/vnd.ms-office.chartcolorstyle+xml`,drawing:`application/vnd.openxmlformats-officedocument.drawing+xml`,pivotTable:`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml`,pivotCacheDefinition:`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml`,pivotCacheRecords:`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml`,comments:`application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml`,threadedComments:`application/vnd.ms-excel.threadedcomments+xml`,externalLink:`application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml`,tableDef:`application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml`,calcChain:`application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml`,app:`application/vnd.openxmlformats-officedocument.extended-properties+xml`,core:`application/vnd.openxmlformats-package.core-properties+xml`},tk={"xl/workbook.xml":ek.workbook,"xl/styles.xml":ek.styles,"xl/sharedStrings.xml":ek.sharedStrings,"xl/calcChain.xml":ek.calcChain,"docProps/app.xml":ek.app,"docProps/core.xml":ek.core},nk=[{pattern:/^xl\/theme\/[^/]+\.xml$/,contentType:ek.theme,label:`theme`},{pattern:/^xl\/worksheets\/sheet\d+\.xml$/,contentType:ek.worksheet,label:`worksheet`},{pattern:/^xl\/chartsheets\/sheet\d+\.xml$/,contentType:ek.chartsheet,label:`chartsheet`},{pattern:/^xl\/charts\/chart\d+\.xml$/,contentType:ek.chart,label:`chart`},{pattern:/^xl\/charts\/chartEx\d+\.xml$/,contentType:ek.chartEx,label:`chartEx`},{pattern:/^xl\/charts\/style\d+\.xml$/,contentType:ek.chartStyle,label:`chart style`},{pattern:/^xl\/charts\/colors\d+\.xml$/,contentType:ek.chartColors,label:`chart colors`},{pattern:/^xl\/charts\/styleEx\d+\.xml$/,contentType:ek.chartStyle,label:`chart styleEx`},{pattern:/^xl\/charts\/colorsEx\d+\.xml$/,contentType:ek.chartColors,label:`chart colorsEx`},{pattern:/^xl\/drawings\/drawing\d+\.xml$/,contentType:ek.drawing,label:`drawing`},{pattern:/^xl\/pivotTables\/pivotTable\d+\.xml$/,contentType:ek.pivotTable,label:`pivot table`},{pattern:/^xl\/pivotCache\/pivotCacheDefinition\d+\.xml$/,contentType:ek.pivotCacheDefinition,label:`pivot cache definition`},{pattern:/^xl\/pivotCache\/pivotCacheRecords\d+\.xml$/,contentType:ek.pivotCacheRecords,label:`pivot cache records`},{pattern:/^xl\/tables\/table\d+\.xml$/,contentType:ek.tableDef,label:`table`},{pattern:/^xl\/externalLinks\/externalLink\d+\.xml$/,contentType:ek.externalLink,label:`external link`},{pattern:/^xl\/comments\d+\.xml$/,contentType:ek.comments,label:`comments`},{pattern:/^xl\/threadedComments\/threadedComment\d+\.xml$/,contentType:ek.threadedComments,label:`threaded comments`}]}));function ik(e){for(let[t,n]of e.files()){if(e.reporter.capped)return;n.type===`directory`||!fk.test(t)||ak(e,t)}}function ak(e,t){let n=e.readDom(t);if(!n)return;let r=n.root;for(let n of N(r,`graphicFrame`))uD(n,`chart`)||e.reporter.error(`drawing-graphicFrame-missing-chart`,`${t}: xdr:graphicFrame has no c:chart or cx:chart reference`,t);for(let n of r.children)if(n.type===`element`&&cD(n.name,`AlternateContent`)&&(uD(n,`twoCellAnchor`)||uD(n,`oneCellAnchor`)||uD(n,`absoluteAnchor`))){let r=dk(n);(r===`cx`||r===`cx1`)&&e.reporter.error(`drawing-chartEx-alternateContent-outer-wrap`,`${t}: <mc:AlternateContent> wraps the entire anchor. Move it INSIDE <xdr:twoCellAnchor>, after <xdr:to> and before <xdr:clientData>, so <xdr:from>/<xdr:to> are not duplicated.`,t)}for(let n of[`twoCellAnchor`,`oneCellAnchor`,`absoluteAnchor`])for(let i of lD(r,n))sk(e,t,i),ok(e,t,i)}function ok(e,t,n){if(N(n,`chart`).filter(e=>{let t=e.name.indexOf(`:`);return t!==-1&&e.name.slice(0,t)===`cx`}).length===0)return;let r=n.children.find(e=>e.type===`element`&&cD(e.name,`AlternateContent`));if(!r){e.reporter.error(`drawing-chartEx-missing-alternateContent-wrap`,`${t}: anchor contains <cx:chart> but has no <mc:AlternateContent> wrapper. ChartEx drawings must place the <xdr:graphicFrame> inside <mc:AlternateContent><mc:Choice>…</mc:Choice><mc:Fallback>…</mc:Fallback></mc:AlternateContent>.`,t);return}let i=M(r,`Fallback`);if(!i){e.reporter.error(`drawing-chartEx-alternateContent-empty-fallback`,`${t}: <mc:AlternateContent> has no <mc:Fallback>. Excel's strict loader rejects drawings whose Fallback is missing.`,t);return}if(!i.children.some(e=>e.type===`element`)){e.reporter.error(`drawing-chartEx-alternateContent-empty-fallback`,`${t}: <mc:Fallback> is empty. Provide a non-empty legacy shape (e.g. <xdr:sp>) so non-ChartEx readers see a placeholder instead of collapsing the anchor.`,t);return}let a=M(r,`Choice`);if(!a)return;let o=M(a,`graphicFrame`);if(!o)return;let s=M(o,`nvGraphicFramePr`);if(!s)return;let c=M(s,`cNvPr`);if(!c)return;let l=M(c,`extLst`);l&&N(l,`creationId`).length>0||e.reporter.warning(`drawing-chartEx-missing-creationId`,`${t}: chartEx drawing <xdr:cNvPr> missing Office creation-id extension (<a:extLst>/<a:ext>/<a16:creationId>). Strict Excel builds may drop the drawing on load without it.`,t)}function sk(e,t,n){let r=n.name.includes(`:`)?n.name.slice(n.name.lastIndexOf(`:`)+1):n.name;if(r===`twoCellAnchor`){if(!M(n,`from`)||!M(n,`to`)){e.reporter.error(`drawing-anchor-missing`,`${t}: ${r} missing from/to`,t);return}ck(e,t,M(n,`from`)),ck(e,t,M(n,`to`))}else if(r===`oneCellAnchor`){if(!M(n,`from`)||!M(n,`ext`)){e.reporter.error(`drawing-anchor-missing`,`${t}: ${r} missing from/ext`,t);return}ck(e,t,M(n,`from`)),lk(e,t,M(n,`ext`),`ext`)}else if(r===`absoluteAnchor`){if(!M(n,`pos`)||!M(n,`ext`)){e.reporter.error(`drawing-anchor-missing`,`${t}: ${r} missing pos/ext`,t);return}lk(e,t,M(n,`pos`),`pos`),lk(e,t,M(n,`ext`),`ext`)}}function ck(e,t,n){if(n)for(let r of[`col`,`colOff`,`row`,`rowOff`]){let i=M(n,r);if(!i)continue;let a=uk(i).trim(),o=parseInt(a,10);Number.isFinite(o)||e.reporter.warning(`drawing-anchor-invalid-coords`,`${t}: anchor ${r}=${JSON.stringify(a)} is not an integer`,t)}}function lk(e,t,n,r){if(!n)return;let i=r===`ext`?[`cx`,`cy`]:[`x`,`y`];for(let a of i){let i=P(n,a);if(i===void 0)continue;let o=parseInt(i,10);Number.isFinite(o)||e.reporter.warning(`drawing-anchor-invalid-coords`,`${t}: ${r} ${a}=${JSON.stringify(i)} is not a valid EMU integer`,t)}}function uk(e){let t=``;for(let n of e.children)n.type===`text`||n.type===`cdata`?t+=n.value:n.type===`element`&&(t+=uk(n));return t}function dk(e){for(let t of e.children)if(t.type===`element`&&cD(t.name,`Choice`)){let e=P(t,`Requires`);if(e!==void 0)return e}}var fk,pk=t((()=>{fD(),fk=/^xl\/drawings\/drawing\d+\.xml$/}));function mk(e){let t=hk(e);for(let[n,r]of e.files()){if(e.reporter.capped)return;if(r.type===`directory`||!yk.test(n))continue;let i=e.readDom(n);if(!i)continue;let a=P(i.root,`cacheId`);if(a===void 0){e.reporter.error(`pivot-missing-cacheId`,`${n}: missing cacheId attribute`,n);continue}t.has(a)||e.reporter.error(`pivot-cacheId-not-in-workbook`,`${n}: cacheId="${a}" is not declared in workbook <pivotCaches>`,n)}for(let[t,n]of e.files()){if(e.reporter.capped)return;if(n.type===`directory`||!/^xl\/pivotCache\/pivotCacheDefinition\d+\.xml$/.test(t))continue;let r=e.readRels(gk(t)).rels.find(e=>e.type.includes(`pivotCacheRecords`));if(r){let n=r.target.startsWith(`/`)?r.target.slice(1):vk(_k(t),r.target);e.has(n)||e.reporter.error(`pivot-cacheRecords-missing`,`${t}: references missing pivotCacheRecords file ${n}`,t)}}}function hk(e){let t=new Set;if(!e.has(bk))return t;let n=e.readDom(bk);if(!n)return t;let r=M(n.root,`pivotCaches`);if(!r)return t;for(let e of lD(r,`pivotCache`)){let n=P(e,`cacheId`);n!==void 0&&t.add(n)}return t}function gk(e){let t=_k(e),n=e.slice(t.length?t.length+1:0);return t?`${t}/_rels/${n}.rels`:`_rels/${n}.rels`}function _k(e){let t=e.lastIndexOf(`/`);return t===-1?``:e.slice(0,t)}function vk(e,t){let n=e?e.split(`/`):[];for(let e of t.split(`/`))if(!(e===``||e===`.`)){if(e===`..`){n.pop();continue}n.push(e)}return n.join(`/`)}var yk,bk,xk=t((()=>{fD(),yk=/^xl\/pivotTables\/pivotTable\d+\.xml$/,bk=`xl/workbook.xml`}));function Sk(e){e.has(`_rels/.rels`)&&(e.readRels(`_rels/.rels`).rels.some(e=>e.type.includes(`/relationships/officeDocument`)&&e.target===`xl/workbook.xml`)||e.reporter.error(`root-rels-missing-officeDocument`,`Missing officeDocument relationship to xl/workbook.xml`,`_rels/.rels`))}function Ck(e){for(let[t,n]of e.files()){if(e.reporter.capped)return;n.type===`directory`||!t.endsWith(`.rels`)||wk(e,t)}}function wk(e,t){let n=e.readRels(t);for(let r of n.malformedEntries){if(e.reporter.capped)return;r.missingId&&e.reporter.error(`rels-missing-id-attr`,`Relationship missing Id attribute`,t),r.missingType&&e.reporter.error(`rels-missing-type-attr`,`Relationship ${r.id??`<no-id>`} missing Type attribute`,t),r.missingTarget&&e.reporter.error(`rels-missing-target`,`Relationship ${r.id??`<no-id>`} missing Target attribute`,t)}let r=new Set;for(let i of n.rels){if(e.reporter.capped)return;if(r.has(i.id)?e.reporter.error(`rels-duplicate-id`,`Duplicate relationship Id: ${i.id}`,t):r.add(i.id),i.targetMode===`External`)continue;if(i.target===``){e.reporter.error(`rels-empty-target`,`Relationship ${i.id} (${i.type}) has empty Target`,t);continue}let n=IO(t,i.target);if(!RO(n)){e.reporter.error(`rels-invalid-target-path`,`Rel ${i.id} (${i.type}) target escapes package root: ${i.target} -> ${n}`,t);continue}if(!e.has(n)){e.reporter.error(`rels-missing-target`,`Rel ${i.id} (${i.type}) target missing: ${i.target} -> ${n}`,t);continue}let a=Tk.get(i.type);a&&!a.pattern.test(n)&&e.reporter.error(`rels-type-target-mismatch`,`Rel ${i.id} (${a.label}) points at unexpected target: ${n}`,t)}if(t!==`_rels/.rels`){let n=NO(t),r=PO(t).replace(/\.rels$/,``),i=zO(t)??(n?`${n}/${r}`:r);e.has(i)||e.reporter.error(`rels-source-missing`,`Relationships part has no corresponding source part: ${i}`,t)}}var Tk,Ek=t((()=>{VO(),Tk=new Map([{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,pattern:/^xl\/workbook\.xml$/,label:`workbook`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet`,pattern:/^xl\/worksheets\/sheet\d+\.xml$/,label:`worksheet`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet`,pattern:/^xl\/chartsheets\/sheet\d+\.xml$/,label:`chartsheet`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart`,pattern:/^xl\/charts\/chart\d+\.xml$/,label:`chart`},{type:`http://schemas.microsoft.com/office/2014/relationships/chartEx`,pattern:/^xl\/charts\/chartEx\d+\.xml$/,label:`chartEx`},{type:`http://schemas.microsoft.com/office/2011/relationships/chartStyle`,pattern:/^xl\/charts\/style(?:Ex)?\d+\.xml$/,label:`chart style`},{type:`http://schemas.microsoft.com/office/2011/relationships/chartColorStyle`,pattern:/^xl\/charts\/colors(?:Ex)?\d+\.xml$/,label:`chart colors`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,pattern:/^xl\/drawings\/drawing\d+\.xml$/,label:`drawing`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles`,pattern:/^xl\/styles\.xml$/,label:`styles`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings`,pattern:/^xl\/sharedStrings\.xml$/,label:`shared strings`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme`,pattern:/^xl\/theme\/[^/]+\.xml$/,label:`theme`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable`,pattern:/^xl\/pivotTables\/pivotTable\d+\.xml$/,label:`pivot table`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition`,pattern:/^xl\/pivotCache\/pivotCacheDefinition\d+\.xml$/,label:`pivot cache definition`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheRecords`,pattern:/^xl\/pivotCache\/pivotCacheRecords\d+\.xml$/,label:`pivot cache records`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/table`,pattern:/^xl\/tables\/table\d+\.xml$/,label:`table`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink`,pattern:/^xl\/externalLinks\/externalLink\d+\.xml$/,label:`external link`}].map(e=>[e.type,e]))}));function Dk(e){for(let t of kk)e.has(t)||e.reporter.error(`missing-part`,`Missing required part: ${t}`,t)}function Ok(e){for(let[t,n]of e.files()){if(e.reporter.capped)return;if(!(n.type===`directory`||!MO(t))){if(t.endsWith(`.rels`)){e.readRels(t);continue}if(t===`[Content_Types].xml`){e.readContentTypes();continue}e.readDom(t,n=>{e.reporter.error(`xml-malformed`,`Malformed XML: ${n.message}`,t)})}}}var kk,Ak=t((()=>{VO(),kk=[`[Content_Types].xml`,`_rels/.rels`,`xl/workbook.xml`,`xl/_rels/workbook.xml.rels`]}));function jk(e){if(!e.has(Pk))return;let t=e.readDom(Pk);if(!t)return;let n=t.root,r=new Set,i=M(n,`numFmts`);if(i)for(let e of lD(i,`numFmt`)){let t=P(e,`numFmtId`),n=t===void 0?NaN:parseInt(t,10);Number.isFinite(n)&&r.add(n)}let a=Mk(n,`fonts`,`font`),o=Mk(n,`fills`,`fill`),s=Mk(n,`borders`,`border`),c=M(n,`cellXfs`);if(!c)return;let l=-1;for(let t of lD(c,`xf`)){if(l++,e.reporter.capped)return;let n=Nk(t,`numFmtId`);n!==void 0&&n>=Fk&&!r.has(n)&&e.reporter.warning(`styles-numFmt-missing-for-xf`,`cellXfs[${l}] references numFmtId=${n} which is not declared in <numFmts>`,Pk);let i=Nk(t,`fontId`);i!==void 0&&(i<0||i>=a)&&e.reporter.warning(`styles-font-index-oob`,`cellXfs[${l}] fontId=${i} is outside [0, ${a})`,Pk);let c=Nk(t,`fillId`);c!==void 0&&(c<0||c>=o)&&e.reporter.warning(`styles-fill-index-oob`,`cellXfs[${l}] fillId=${c} is outside [0, ${o})`,Pk);let u=Nk(t,`borderId`);u!==void 0&&(u<0||u>=s)&&e.reporter.warning(`styles-border-index-oob`,`cellXfs[${l}] borderId=${u} is outside [0, ${s})`,Pk)}}function Mk(e,t,n){let r=M(e,t);if(!r)return 0;let i=P(r,`count`),a=i===void 0?NaN:parseInt(i,10);return Number.isFinite(a)&&a>=0?a:lD(r,n).length}function Nk(e,t){let n=P(e,t);if(n===void 0)return;let r=parseInt(n,10);return Number.isFinite(r)?r:void 0}var Pk,Fk,Ik=t((()=>{fD(),Pk=`xl/styles.xml`,Fk=164}));function Lk(e){for(let[t,n]of e.files()){if(e.reporter.capped)return;n.type===`directory`||!Uk.test(t)||Rk(e,t)}}function Rk(e,t){let n=e.readDom(t);if(!n)return;let r=n.root;zk(e,t,r),Bk(e,t,r),Hk(e,t,r)}function zk(e,t,n){let r=M(n,`autoFilter`);if(!r)return;let i=M(n,`tableColumns`);if(!i)return;let a=lD(i,`tableColumn`).length;if(a===0)return;let o=lD(r,`filterColumn`);o.length===a&&o.every(e=>{let t=P(e,`hiddenButton`),n=e.children.some(e=>e.type===`element`);return t===`1`&&!n})&&e.reporter.error(`table-filterColumn-redundant-per-column`,`${t}: every column has a bare <filterColumn hiddenButton="1"/> (total ${o.length}). Excel drops tables with a fully-hidden autoFilter on load. Only emit <filterColumn> for columns that have active filter state or an explicit filterButton=false.`,t)}function Bk(e,t,n){let r=M(n,`tableColumns`);if(r)for(let n of lD(r,`tableColumn`)){if(e.reporter.capped)return;let r=P(n,`totalsRowFunction`);if(!(!r||!Wk.has(r))&&M(n,`totalsRowFormula`)){let i=P(n,`name`)??P(n,`id`)??`?`;e.reporter.error(`table-totalsRowFormula-with-builtin-function`,`${t}: tableColumn "${i}" has totalsRowFunction="${r}" alongside a <totalsRowFormula>. The schema accepts the formula child only when totalsRowFunction is "custom" or absent.`,t)}}}function Vk(e){let t=/^[A-Za-z]+(\d+)(?::[A-Za-z]+(\d+))?$/.exec(e);if(!t)return;let n=parseInt(t[1],10),r=t[2]===void 0?n:parseInt(t[2],10);if(!(!Number.isFinite(n)||!Number.isFinite(r)))return{top:Math.min(n,r),bottom:Math.max(n,r)}}function Hk(e,t,n){let r=P(n,`ref`),i=P(n,`totalsRowCount`);if(!r||!i)return;let a=parseInt(i,10);if(!Number.isFinite(a)||a<=0)return;let o=M(n,`autoFilter`);if(!o)return;let s=P(o,`ref`);if(!s)return;let c=Vk(r),l=Vk(s);if(!c||!l)return;let u=c.bottom,d=u-a;l.bottom!==d&&e.reporter.error(`table-autoFilter-covers-totalsRow`,`${t}: autoFilter ref ends at row ${l.bottom} but table ref ends at row ${u} with totalsRowCount=${a}; autoFilter must end at row ${d} (one row above the totals row).`,t)}var Uk,Wk,Gk=t((()=>{fD(),Uk=/^xl\/tables\/table\d+\.xml$/,Wk=new Set([`sum`,`average`,`count`,`countNums`,`max`,`min`,`stdDev`,`var`])}));function Kk(e){if(!e.has(Jk)||!e.has(Yk))return;let t=e.readDom(Jk,t=>{e.reporter.error(`xml-malformed`,`Malformed XML: ${t.message}`,Jk)});if(!t)return;let n=e.readRels(Yk);qk(e,t.root);let r=M(t.root,`sheets`);if(!r)return;let i=new Set,a=new Set,o=new Set;for(let t of lD(r,`sheet`)){if(e.reporter.capped)return;let r=P(t,`sheetId`),s=P(t,`id`),c=P(t,`name`);if(r!==void 0&&(i.has(r)?e.reporter.error(`workbook-duplicate-sheetId`,`Duplicate sheetId in workbook: ${r}`,Jk):i.add(r)),s!==void 0){a.has(s)?e.reporter.error(`workbook-duplicate-sheet-rid`,`Duplicate sheet r:id in workbook: ${s}`,Jk):a.add(s);let t=n.byId.get(s);t?!t.type.includes(`/relationships/worksheet`)&&!t.type.includes(`/relationships/chartsheet`)&&e.reporter.error(`workbook-sheet-wrong-rel-type`,`Workbook <sheet> ${s} relationship is neither worksheet nor chartsheet: ${t.type}`,Jk):e.reporter.error(`workbook-sheet-missing-rel`,`Workbook <sheet> references missing relationship: ${s} (in ${Yk})`,Jk)}if(c===void 0){e.reporter.error(`workbook-sheet-missing-name`,`Workbook <sheet> (sheetId=${r??`?`}) missing name attribute`,Jk);continue}(c.length===0||c.length>Zk)&&e.reporter.error(`workbook-sheet-name-too-long`,`Sheet name "${c}" has ${c.length} characters; Excel limit is ${Zk}`,Jk),Xk.test(c)&&e.reporter.error(`workbook-sheet-name-invalid-chars`,`Sheet name "${c}" contains characters disallowed by Excel (\\ / ? * [ ] :)`,Jk);let l=c.toLowerCase();o.has(l)?e.reporter.error(`workbook-sheet-name-duplicate`,`Duplicate sheet name (case-insensitive): "${c}"`,Jk):o.add(l)}}function qk(e,t){let n=new Map;for(let e=0;e<Qk.length;e++)n.set(Qk[e],e);let r=-1,i=``;for(let a of t.children){if(a.type!==`element`)continue;let t=sD(a.name),o=n.get(t);if(o!==void 0){if(o<r){e.reporter.error(`workbook-child-order`,`Workbook child element <${t}> appears after <${i}>, violating CT_Workbook sequence order (ECMA-376 §18.2.27). Excel will reject this file as corrupt.`,Jk);return}o>r&&(r=o,i=t)}}}var Jk,Yk,Xk,Zk,Qk,$k=t((()=>{fD(),Jk=`xl/workbook.xml`,Yk=`xl/_rels/workbook.xml.rels`,Xk=/[\\/?*[\]:]/,Zk=31,Qk=[`fileVersion`,`fileSharing`,`workbookPr`,`workbookProtection`,`bookViews`,`sheets`,`functionGroups`,`externalReferences`,`definedNames`,`calcPr`,`oleSize`,`customWorkbookViews`,`pivotCaches`,`smartTagPr`,`smartTagTypes`,`webPublishing`,`fileRecoveryPr`,`webPublishObjects`,`extLst`]}));function eA(e){let t=e.readDom(`xl/styles.xml`);if(!t)return;let n=M(t.root,`cellXfs`);if(!n)return 0;let r=P(n,`count`),i=r===void 0?NaN:parseInt(r,10);return Number.isFinite(i)&&i>=0?i:lD(n,`xf`).length}function tA(e){let t=e.readDom(`xl/sharedStrings.xml`);if(!t)return;let n=P(t.root,`uniqueCount`),r=n===void 0?NaN:parseInt(n,10);return Number.isFinite(r)&&r>=0?r:lD(t.root,`si`).length}function nA(e){return{cellXfs:eA(e),sstSize:tA(e)}}function rA(e){let t=/^\$?([A-Za-z]+)\$?(\d+)$/.exec(e);if(t)try{let e=ja(t[1])+1,n=Na(t[2])+1;return!Number.isFinite(e)||!Number.isFinite(n)?void 0:{col:e,row:n}}catch{return}}function iA(e){let t=e.indexOf(`:`);if(t===-1){let t=rA(e);return t?{t:t.row,l:t.col,b:t.row,r:t.col,ref:e}:void 0}let n=rA(e.slice(0,t)),r=rA(e.slice(t+1));if(!(!n||!r))return{t:Math.min(n.row,r.row),b:Math.max(n.row,r.row),l:Math.min(n.col,r.col),r:Math.max(n.col,r.col),ref:e}}function aA(e,t){return e.l<=t.r&&t.l<=e.r&&e.t<=t.b&&t.t<=e.b}function oA(e){let t;for(let[n,r]of e.files()){if(e.reporter.capped)return;r.type===`directory`||!n.startsWith(`xl/worksheets/sheet`)||!n.endsWith(`.xml`)||(t??=nA(e),sA(e,n,t))}}function sA(e,t,n){let r=e.readDom(t,n=>{e.reporter.error(`xml-malformed`,`Malformed XML: ${n.message}`,t)});if(!r)return;let i=r.root;cA(e,t,i);let a=M(i,`sheetData`);a&&uA(e,t,a,n);let o=M(i,`mergeCells`);o&&mA(e,t,o),hA(e,t,i)}function cA(e,t,n){let r=-1,i=!1,a=!1;for(let o of lA(n)){if(o.type!==`element`)continue;let n=o.name.includes(`:`)?o.name.slice(o.name.lastIndexOf(`:`)+1):o.name,s=_A.get(n);if(s!==void 0){if(s<r){let o=gA[r]??`?`;e.reporter.error(`sheet-child-out-of-order`,`Worksheet child <${n}> appears after <${o}>; expected order violated`,t),n===`legacyDrawing`&&i&&(a=!0)}s>r&&(r=s),n===`controls`&&(i=!0)}}a&&e.reporter.error(`sheet-legacyDrawing-after-controls`,`Worksheet has <legacyDrawing> after <controls>; Excel may repair or reject this sheet`,t)}function*lA(e){for(let t of e.children)if(t.type===`element`){if((t.name.includes(`:`)?t.name.slice(t.name.lastIndexOf(`:`)+1):t.name)===`AlternateContent`){for(let e of t.children)if(e.type===`element`&&(e.name.includes(`:`)?e.name.slice(e.name.lastIndexOf(`:`)+1):e.name)===`Choice`)for(let t of e.children)t.type===`element`&&(yield t);continue}yield t}}function uA(e,t,n,r){let i=new Map,a=new Set;for(let o of n.children){if(e.reporter.capped)return;if(o.type!==`element`||!cD(o.name,`row`))continue;let n=P(o,`r`),s=n===void 0?NaN:parseInt(n,10);Number.isFinite(s)&&(s<1||s>vA)&&e.reporter.error(`sheet-row-index-out-of-bounds`,`Row r="${n}" is outside Excel's limit 1..${vA}`,t);for(let n of o.children){if(e.reporter.capped)return;n.type!==`element`||!cD(n.name,`c`)||(dA(e,t,n,Number.isFinite(s)?s:void 0,r),fA(n,i,a))}}for(let[n,r]of i)r>1&&e.reporter.error(`sheet-sharedFormula-duplicate-master`,`Shared formula si="${n}" has ${r} master entries (should be exactly one)`,t);for(let n of a)i.has(n)||e.reporter.error(`sheet-sharedFormula-master-missing`,`Shared formula si="${n}" has no master entry`,t)}function dA(e,t,n,r,i){let a=P(n,`r`);if(a===void 0){e.reporter.error(`sheet-cell-ref-missing`,`Cell missing r="" attribute`,t);return}let o=rA(a);if(!o){e.reporter.error(`sheet-cell-ref-invalid`,`Cell has invalid r="${a}"`,t);return}(o.col<1||o.col>yA||o.row<1||o.row>vA)&&e.reporter.error(`sheet-cell-ref-out-of-bounds`,`Cell r="${a}" is outside Excel's sheet bounds (max XFD1048576)`,t),r!==void 0&&o.row!==r&&e.reporter.error(`sheet-cell-ref-row-mismatch`,`Cell r="${a}" has row ${o.row} but is inside <row r="${r}">`,t);let s=P(n,`s`);if(s!==void 0&&i.cellXfs!==void 0){let n=parseInt(s,10);(!Number.isFinite(n)||n<0||n>=i.cellXfs)&&e.reporter.error(`sheet-cell-style-index-oob`,`Cell r="${a}" s="${s}" is outside cellXfs range [0, ${i.cellXfs})`,t)}if(P(n,`t`)===`s`&&i.sstSize!==void 0){let r=M(n,`v`);if(r){let n=pA(r).trim(),o=parseInt(n,10);(!Number.isFinite(o)||o<0||o>=i.sstSize)&&e.reporter.error(`sheet-cell-sst-index-oob`,`Cell r="${a}" references sharedStrings index ${n} but SST has ${i.sstSize} entries`,t)}}}function fA(e,t,n){let r=M(e,`f`);if(!r||P(r,`t`)!==`shared`)return;let i=P(r,`si`);if(i===void 0)return;let a=P(r,`ref`)!==void 0,o=pA(r).trim().length>0;a||o?t.set(i,(t.get(i)??0)+1):n.add(i)}function pA(e){let t=``;for(let n of e.children)n.type===`text`||n.type===`cdata`?t+=n.value:n.type===`element`&&(t+=pA(n));return t}function mA(e,t,n){let r=[];for(let i of lD(n,`mergeCell`)){if(e.reporter.capped)return;let n=P(i,`ref`);if(!n){e.reporter.error(`sheet-merge-invalid-range`,`<mergeCell> missing ref attribute`,t);continue}let a=iA(n);if(!a){e.reporter.error(`sheet-merge-invalid-range`,`<mergeCell ref="${n}"> does not parse as a range`,t);continue}for(let i of r)if(aA(i,a)){e.reporter.error(`sheet-merge-overlap`,`Merge ${n} overlaps with earlier merge ${i.ref}`,t);break}r.push(a)}}function hA(e,t,n){let r=`xl/worksheets/_rels/${PO(t)}.rels`,i=[];for(let e of lA(n))i.push(e);let a=e=>e.name.includes(`:`)?e.name.slice(e.name.lastIndexOf(`:`)+1):e.name,o=[],s=i.find(e=>a(e)===`controls`);if(s)for(let e of N(s,`control`)){let t=P(e,`id`);t&&o.push({rid:t,kind:`control`,typeIncludes:`/relationships/ctrlProp`,missingKind:`sheet-control-missing-rel`,wrongKind:`sheet-control-wrong-rel-type`,label:`<control>`})}let c=i.find(e=>a(e)===`legacyDrawing`);if(c){let e=P(c,`id`);e&&o.push({rid:e,kind:`legacyDrawing`,typeIncludes:`/relationships/vmlDrawing`,missingKind:`sheet-legacyDrawing-missing-rel`,wrongKind:`sheet-legacyDrawing-wrong-rel-type`,label:`<legacyDrawing>`})}let l=i.find(e=>a(e)===`drawing`);if(l){let e=P(l,`id`);e&&o.push({rid:e,kind:`drawing`,typeIncludes:`/relationships/drawing`,missingKind:`sheet-drawing-missing-rel`,wrongKind:`sheet-drawing-wrong-rel-type`,label:`<drawing>`})}let u=i.find(e=>a(e)===`hyperlinks`);if(u)for(let e of lD(u,`hyperlink`)){let t=P(e,`id`);t&&o.push({rid:t,kind:`hyperlink`,typeIncludes:`/relationships/hyperlink`,missingKind:`sheet-hyperlink-missing-rel`,wrongKind:`sheet-hyperlink-wrong-rel-type`,label:`<hyperlink>`})}let d=i.find(e=>a(e)===`tableParts`);if(d)for(let e of lD(d,`tablePart`)){let t=P(e,`id`);t&&o.push({rid:t,kind:`tablePart`,typeIncludes:`/relationships/table`,missingKind:`sheet-tablePart-missing-rel`,wrongKind:`sheet-tablePart-wrong-rel-type`,label:`<tablePart>`})}for(let e of i.filter(e=>a(e)===`comments`)){let t=P(e,`id`);t&&o.push({rid:t,kind:`comments`,typeIncludes:`/relationships/comments`,missingKind:`sheet-comments-missing-rel`,wrongKind:`sheet-comments-wrong-rel-type`,label:`<comments>`})}let f=o.some(e=>e.kind===`control`),p=o.some(e=>e.kind===`drawing`);if(f&&!p&&e.reporter.error(`sheet-controls-missing-drawing`,`Worksheet has legacy <controls> but no <drawing>; Excel may repair/reject legacy form controls`,t),o.length>0&&!e.has(r)){e.reporter.error(`sheet-missing-rels`,`Worksheet has controls/legacyDrawing/drawing/hyperlinks/tableParts but missing rels part: ${r}`,t);return}if(!e.has(r))return;let m=e.readRels(r);for(let n of o){if(e.reporter.capped)return;let i=m.byId.get(n.rid);if(!i){e.reporter.error(n.missingKind,`Sheet ${n.label} references missing relationship: ${n.rid} (in ${r})`,t);continue}i.type.includes(n.typeIncludes)||e.reporter.error(n.wrongKind,`Sheet ${n.label} ${n.rid} relationship is not ${n.typeIncludes}: ${i.type}`,t)}}var gA,_A,vA,yA,bA=t((()=>{Ba(),VO(),fD(),gA=`sheetPr.dimension.sheetViews.sheetFormatPr.cols.sheetData.sheetCalcPr.sheetProtection.protectedRanges.scenarios.autoFilter.sortState.dataConsolidate.customSheetViews.mergeCells.phoneticPr.conditionalFormatting.dataValidations.hyperlinks.printOptions.pageMargins.pageSetup.headerFooter.rowBreaks.colBreaks.customProperties.cellWatches.ignoredErrors.smartTags.drawing.legacyDrawing.legacyDrawingHF.drawingHF.picture.oleObjects.controls.webPublishItems.tableParts.extLst`.split(`.`),_A=new Map(gA.map((e,t)=>[e,t])),vA=1048576,yA=16384})),xA,SA=t((()=>{xA=class{constructor(e={}){this.problems=[],this.errorCount=0,this.maxProblems=e.maxProblems,this.includeWarnings=e.includeWarnings??!1}get capped(){return this.maxProblems!==void 0&&this.problems.length>=this.maxProblems}get hasErrors(){return this.errorCount>0}error(e,t,n){this.push({kind:e,severity:`error`,message:t,file:n}),this.errorCount+=+!this.capped}warning(e,t,n){this.includeWarnings&&this.push({kind:e,severity:`warning`,message:t,file:n})}push(e){this.maxProblems!==void 0&&this.problems.length>=this.maxProblems||this.problems.push(e)}}}));async function CA(e,t={}){let{checkXmlWellFormed:n=!0,checkRelationshipTargets:r=!0,checkContentTypesOverrides:i=!0,checkWorksheetControlWiring:a=!0,checkChartStructure:o=!0,checkStylesIntegrity:s=!0,maxProblems:c,includeWarnings:l=!1}=t,u=await YE(e),d=new xA({maxProblems:c,includeWarnings:l}),f=new kO(u,d);Dk(f),n&&Ok(f),i&&$O(f),Sk(f),r&&Ck(f),Kk(f),a&&oA(f),o&&(pD(f),ik(f),YO(f),mk(f),Lk(f),HO(f)),s&&jk(f);let p=wA(u);return{ok:!d.hasErrors,problems:d.problems,stats:p}}function wA(e){let t=0,n=0,r=0;for(let[,i]of e)i.type!==`directory`&&(t++,MO(i.path)&&n++,i.path.endsWith(`.rels`)&&r++);return{entryCount:t,xmlLikeCount:n,relsCount:r}}var TA=t((()=>{XE(),DO(),JO(),ZO(),rk(),pk(),xk(),Ek(),Ak(),Ik(),Gk(),$k(),bA(),AO(),VO(),SA()}));function EA(e,t,n){let r=DA(n);e.openNode(`sheetData`,{sheetId:t});for(let t of r){e.openNode(`row`,{r:t.rowNum});for(let{address:n,value:r}of t.cells)AA(e,n,r);e.closeNode()}e.closeNode()}function DA(e){let t=new Map;for(let n of Object.keys(e)){let r=n.toUpperCase(),i=OA(r);if(i===void 0)continue;let a=t.get(i);a||(a={rowNum:i,cells:[]},t.set(i,a)),a.cells.push({address:kA(r),value:e[n]})}return[...t.values()].sort((e,t)=>e.rowNum-t.rowNum)}function OA(e){let t=/^\$?[A-Z]+\$?(\d+)$/.exec(e);return t?parseInt(t[1],10):void 0}function kA(e){return e.replace(/\$/g,``)}function AA(e,t,n){if(n==null){e.leafNode(`cell`,{r:t});return}if(typeof n==`number`){e.openNode(`cell`,{r:t}),e.leafNode(`v`,void 0,String(n)),e.closeNode();return}if(typeof n==`boolean`){e.openNode(`cell`,{r:t,t:`b`}),e.leafNode(`v`,void 0,n?`1`:`0`),e.closeNode();return}if(jA(n)){e.openNode(`cell`,{r:t,t:`e`}),e.leafNode(`v`,void 0,n),e.closeNode();return}e.openNode(`cell`,{r:t,t:`str`}),e.leafNode(`v`,void 0,n),e.closeNode()}function jA(e){return FA.has(e)}function MA(e,t){if(t===null||t===``)return null;switch(e){case`b`:return t!==`0`&&t.toLowerCase()!==`false`;case`e`:return t;case`str`:return t;default:{let e=Number(t);return Number.isFinite(e)?e:t}}}var NA,PA,FA,IA=t((()=>{j(),ag(),NA={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`},PA=class extends A{constructor(...e){super(...e),this.sheetNamesByIndex=[],this.currentSheetCells=null,this.currentSheetName=null,this.currentCellAddress=null,this.currentCellType=`n`,this.currentCellValue=null,this.inV=!1}get tag(){return`externalLink`}reset(){super.reset(),this.sheetNamesByIndex=[],this.currentSheetCells=null,this.currentSheetName=null,this.currentCellAddress=null,this.currentCellType=`n`,this.currentCellValue=null,this.inV=!1}render(e,t){if(e.openXml(of),e.openNode(`externalLink`,NA),e.openNode(`externalBook`,{"r:id":`rId1`}),t.sheetNames.length>0){e.openNode(`sheetNames`);for(let n of t.sheetNames)e.leafNode(`sheetName`,{val:n});e.closeNode()}let n=t.cachedValues??{},r=Object.keys(n).some(e=>{let t=n[e];return t&&Object.keys(t).length>0});e.openNode(`sheetDataSet`);for(let i=0;i<t.sheetNames.length;i++){let a=t.sheetNames[i],o=r?n[a]:void 0;o&&Object.keys(o).length>0?EA(e,i,o):e.leafNode(`sheetData`,{sheetId:String(i)})}e.closeNode(),e.closeNode(),e.closeNode()}parseOpen(e){switch(e.name){case`externalLink`:return this.model={externalBookRId:``,sheetNames:[],cachedValues:{}},this.sheetNamesByIndex=[],!0;case`externalBook`:return this.model&&(this.model.externalBookRId=e.attributes[`r:id`]??``),!0;case`sheetName`:if(this.model){let t=e.attributes.val??``;this.model.sheetNames.push(t),this.sheetNamesByIndex.push(t)}return!0;case`sheetData`:{let t=e.attributes.sheetId,n=t===void 0?NaN:parseInt(t,10);return this.currentSheetName=Number.isFinite(n)?this.sheetNamesByIndex[n]??null:null,this.currentSheetCells=this.currentSheetName?{}:null,!0}case`cell`:return this.currentCellAddress=e.attributes.r??null,this.currentCellType=e.attributes.t??`n`,this.currentCellValue=null,!0;case`v`:return this.inV=!0,this.currentCellValue=``,!0;default:return!1}}parseText(e){this.inV&&(this.currentCellValue=(this.currentCellValue??``)+e)}parseClose(e){switch(e){case`v`:return this.inV=!1,!0;case`cell`:return this.model&&this.currentSheetCells&&this.currentCellAddress&&(this.currentSheetCells[this.currentCellAddress.toUpperCase()]=MA(this.currentCellType,this.currentCellValue)),this.currentCellAddress=null,this.currentCellType=`n`,this.currentCellValue=null,!0;case`sheetData`:return this.model&&this.currentSheetName&&this.currentSheetCells&&Object.keys(this.currentSheetCells).length>0&&(this.model.cachedValues[this.currentSheetName]=this.currentSheetCells),this.currentSheetName=null,this.currentSheetCells=null,!0;case`externalLink`:return!1;default:return!0}}},FA=new Set([`#NULL!`,`#DIV/0!`,`#VALUE!`,`#REF!`,`#NAME?`,`#NUM!`,`#N/A`,`#GETTING_DATA`,`#SPILL!`,`#CALC!`,`#CONNECT!`,`#BLOCKED!`,`#UNKNOWN!`,`#FIELD!`,`#PYTHON!`])})),LA,RA,zA=t((()=>{j(),Uy(),ag(),LA=`Author`,RA=class e extends A{constructor(){super(),this._authors=[],this._inAuthors=!1,this._inAuthor=!1,this._currentAuthor=``,this.map={comment:new Hy},this.model={comments:[]}}render(t,n){let r=n||this.model;t.openXml(of),t.openNode(`comments`,e.COMMENTS_ATTRIBUTES);let i=new Set;for(let e of r.comments)i.add(e.author??LA);let a=[...i];t.openNode(`authors`);for(let e of a)t.leafNode(`author`,null,e);t.closeNode(),t.openNode(`commentList`),r.comments.forEach(e=>{let n=a.indexOf(e.author??LA);this.map.comment.render(t,{...e,authorId:n>=0?n:0})}),t.closeNode(),t.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case`authors`:return this._inAuthors=!0,this._authors=[],!0;case`author`:return this._inAuthors&&(this._inAuthor=!0,this._currentAuthor=``),!0;case`commentList`:return this.model={comments:[]},!0;case`comment`:return this.parser=this.map.comment,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this._inAuthor?this._currentAuthor+=e:this.parser&&this.parser.parseText(e)}parseClose(e){switch(e){case`authors`:return this._inAuthors=!1,!0;case`author`:return this._inAuthors&&(this._authors.push(this._currentAuthor),this._inAuthor=!1,this._currentAuthor=``),!0;case`commentList`:for(let e of this.model.comments){let{authorId:t}=e;t!=null&&t>=0&&t<this._authors.length&&(e.author=this._authors[t])}return!1;case`comment`:return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}static{this.COMMENTS_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`}}}}));function BA(e){let t=[];t.push(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>`),t.push(`<ThreadedComments xmlns="${qA}">`);for(let{ref:n,comment:r}of e){let e=r.id??`{${Cw()}}`,i=[`ref="${GA(n)}"`];if(r.date&&i.push(`dT="${GA(r.date)}"`),i.push(`personId="${GA(r.personId)}"`),i.push(`id="${GA(e)}"`),r.parentId&&i.push(`parentId="${GA(r.parentId)}"`),r.done!==void 0&&i.push(`done="${r.done?`1`:`0`}"`),t.push(`<threadedComment ${i.join(` `)}>`),t.push(`<text>${WA(r.text)}</text>`),r.mentions&&r.mentions.length>0){t.push(`<mentions>`);for(let e of r.mentions){if(!KA(e.startIndex))throw Error(`Threaded comment mention.startIndex must be a non-negative integer; got ${e.startIndex}.`);if(!KA(e.length))throw Error(`Threaded comment mention.length must be a non-negative integer; got ${e.length}.`);let n=[`mentionpersonId="${GA(e.mentionPersonId)}"`,`mentionId="${GA(e.mentionId??`{${Cw()}}`)}"`,`startIndex="${e.startIndex}"`,`length="${e.length}"`];t.push(`<mention ${n.join(` `)}/>`)}t.push(`</mentions>`)}t.push(`</threadedComment>`)}return t.push(`</ThreadedComments>`),t.join(``)}function VA(e){let t;try{t=eD(e).root}catch{return[]}let n=[];for(let e of nD(t,`threadedComment`)){let t=e.attributes.ref;if(!t)continue;let r=e.attributes.personId;if(!r)continue;let i=tD(e,`text`),a=tD(e,`mentions`),o=a?nD(a,`mention`).map(e=>({mentionId:e.attributes.mentionId,mentionPersonId:e.attributes.mentionpersonId??``,startIndex:parseInt(e.attributes.startIndex??`0`,10),length:parseInt(e.attributes.length??`0`,10)})):[],s={personId:r,text:i?rD(i):``,...e.attributes.id?{id:e.attributes.id}:{},...e.attributes.parentId?{parentId:e.attributes.parentId}:{},...e.attributes.dT?{date:e.attributes.dT}:{},...e.attributes.done===void 0?{}:{done:e.attributes.done===`1`},...o.length>0?{mentions:o}:{}};n.push({ref:t,comment:s})}return n}function HA(e){let t=[];t.push(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>`),t.push(`<personList xmlns="${qA}">`);for(let n of e){let e=[`displayName="${GA(n.displayName)}"`,`id="${GA(n.id)}"`];n.userId!==void 0&&e.push(`userId="${GA(n.userId)}"`),n.providerId!==void 0&&e.push(`providerId="${GA(n.providerId)}"`),t.push(`<person ${e.join(` `)}/>`)}return t.push(`</personList>`),t.join(``)}function UA(e){let t;try{t=eD(e).root}catch{return[]}return nD(t,`person`).map(e=>{let t=e.attributes.id??`{${Cw()}}`,n=e.attributes.displayName??``;if(!n)return;let r={id:t,displayName:n};return e.attributes.userId!==void 0&&(r.userId=e.attributes.userId),e.attributes.providerId!==void 0&&(r.providerId=e.attributes.providerId),r}).filter(e=>e!==void 0)}function WA(e){return qd(e)}function GA(e){return Jd(e)}function KA(e){return typeof e==`number`&&Number.isFinite(e)&&e>=0&&Math.floor(e)===e}var qA,JA=t((()=>{ww(),oD(),sf(),qA=`http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments`})),YA,XA=t((()=>{j(),ag(),YA=class extends A{_checkedToXmlValue(e){switch(e){case`Checked`:return`1`;case`Mixed`:return`2`;default:return`0`}}get tag(){return`formControlPr`}render(e,t){let n=t||this.model,r={xmlns:`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`,objectType:`CheckBox`,checked:this._checkedToXmlValue(n.checked),lockText:`1`};n.link&&(r.fmlaLink=n.link),n.noThreeD&&(r.noThreeD=`1`),e.openXml({version:`1.0`,encoding:`UTF-8`,standalone:`yes`}),e.leafNode(this.tag,r)}toXml(e){let t=new ig;return this.render(t,e),t.xml}parseOpen(){return!0}parseText(){}parseClose(){return!1}}})),ZA,QA=t((()=>{Mw(),j(),nb(),ag(),ZA=class e extends A{constructor(){super(),this._parsingHeaderImage=!1,this.map={"v:shape":new tb},this.model={comments:[],formControls:[]}}get tag(){return`xml`}render(t,n){let r=n||this.model,i=r.comments,a=r.formControls,o=r.headerImage,s=i&&i.length>0,c=a&&a.length>0,l=!!o;if(t.openXml(of),t.openNode(this.tag,e.DRAWING_ATTRIBUTES),t.openNode(`o:shapelayout`,{"v:ext":`edit`}),t.leafNode(`o:idmap`,{"v:ext":`edit`,data:1}),t.closeNode(),s&&(t.openNode(`v:shapetype`,{id:`_x0000_t202`,coordsize:`21600,21600`,"o:spt":202,path:`m,l,21600r21600,l21600,xe`}),t.leafNode(`v:stroke`,{joinstyle:`miter`}),t.leafNode(`v:path`,{gradientshapeok:`t`,"o:connecttype":`rect`}),t.closeNode()),c&&(t.openNode(`v:shapetype`,{id:`_x0000_t201`,coordsize:`21600,21600`,"o:spt":`201`,path:`m,l,21600r21600,l21600,xe`}),t.leafNode(`v:stroke`,{joinstyle:`miter`}),t.leafNode(`v:path`,{shadowok:`f`,"o:extrusionok":`f`,strokeok:`f`,fillok:`f`,"o:connecttype":`rect`}),t.leafNode(`o:lock`,{"v:ext":`edit`,shapetype:`t`}),t.closeNode()),l&&(t.openNode(`v:shapetype`,{id:`_x0000_t75`,coordsize:`21600,21600`,"o:spt":`75`,"o:preferrelative":`t`,path:`m@4@5l@4@11@9@11@9@5xe`,filled:`f`,stroked:`f`}),t.leafNode(`v:stroke`,{joinstyle:`miter`}),t.openNode(`v:formulas`),t.leafNode(`v:f`,{eqn:`if lineDrawn pixelLineWidth 0`}),t.leafNode(`v:f`,{eqn:`sum @0 1 0`}),t.leafNode(`v:f`,{eqn:`sum 0 0 @1`}),t.leafNode(`v:f`,{eqn:`prod @2 1 2`}),t.leafNode(`v:f`,{eqn:`prod @3 21600 pixelWidth`}),t.leafNode(`v:f`,{eqn:`prod @3 21600 pixelHeight`}),t.leafNode(`v:f`,{eqn:`sum @0 0 1`}),t.leafNode(`v:f`,{eqn:`prod @6 1 2`}),t.leafNode(`v:f`,{eqn:`prod @7 21600 pixelWidth`}),t.leafNode(`v:f`,{eqn:`sum @8 21600 0`}),t.leafNode(`v:f`,{eqn:`prod @7 21600 pixelHeight`}),t.leafNode(`v:f`,{eqn:`sum @10 21600 0`}),t.closeNode(),t.leafNode(`v:path`,{"o:extrusionok":`f`,gradientshapeok:`t`,"o:connecttype":`rect`}),t.leafNode(`o:lock`,{"v:ext":`edit`,aspectratio:`t`}),t.closeNode()),s)for(let e=0;e<i.length;e++)this.map[`v:shape`].render(t,i[e],e);if(c)for(let e of a)this._renderCheckboxShape(t,e);l&&this._renderHeaderImageShape(t,o),t.closeNode()}_renderHeaderImageShape(e,t){let n=t.width??467.25,r=t.height??311.25;e.openNode(`v:shape`,{id:`CH`,"o:spid":`_x0000_s2049`,type:`#_x0000_t75`,style:`position:absolute;margin-left:0;margin-top:0;width:${n}pt;height:${r}pt;z-index:1`}),e.leafNode(`v:imagedata`,{"o:relid":t.imageRelId,"o:title":`watermark`}),e.leafNode(`o:lock`,{"v:ext":`edit`,rotation:`t`}),e.closeNode()}_renderCheckboxShape(e,t){let n={id:`_x0000_s${t.shapeId}`,type:`#_x0000_t201`,style:jw.getVmlStyle(t),"o:insetmode":`auto`,fillcolor:`buttonFace [67]`,strokecolor:`windowText [64]`,"o:preferrelative":`t`,filled:`f`,stroked:`f`};e.openNode(`v:shape`,n),e.leafNode(`v:fill`,{"o:detectmouseclick":`t`}),e.leafNode(`o:lock`,{"v:ext":`edit`,text:`t`}),t.text&&(e.openNode(`v:textbox`,{style:`mso-direction-alt:auto`,"o:singleclick":`t`}),e.openNode(`div`,{style:`text-align:left`}),e.openNode(`font`,{face:`Tahoma`,size:`160`,color:`auto`}),e.writeText(t.text),e.closeNode(),e.closeNode(),e.closeNode()),e.openNode(`x:ClientData`,{ObjectType:`Checkbox`}),e.leafNode(`x:MoveWithCells`),e.leafNode(`x:SizeWithCells`),e.openNode(`x:Anchor`),e.writeText(jw.getVmlAnchor(t)),e.closeNode(),e.leafNode(`x:Locked`,void 0,`False`),e.leafNode(`x:LockText`,void 0,`True`),e.leafNode(`x:PrintObject`,void 0,t.print?`True`:`False`),e.leafNode(`x:AutoFill`,void 0,`False`),e.leafNode(`x:AutoLine`,void 0,`False`),e.leafNode(`x:TextHAlign`,void 0,`Left`),e.leafNode(`x:TextVAlign`,void 0,`Center`),t.link&&e.leafNode(`x:FmlaLink`,void 0,t.link),t.noThreeD&&e.leafNode(`x:NoThreeD`),e.leafNode(`x:Checked`,void 0,String(jw.getVmlCheckedValue(t))),e.leafNode(`x:Row`,void 0,String(t.tl.row)),e.leafNode(`x:Column`,void 0,String(t.tl.col)),e.closeNode(),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={comments:[],formControls:[]};break;case`v:shape`:if(e.attributes.type===`#_x0000_t75`){this._parsingHeaderImage=!0;let t=e.attributes.style||``,n=/width:([0-9.]+)pt/.exec(t),r=/height:([0-9.]+)pt/.exec(t);this._headerImageWidth=n?parseFloat(n[1]):void 0,this._headerImageHeight=r?parseFloat(r[1]):void 0}else this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break;default:this._parsingHeaderImage&&e.name===`v:imagedata`?this._headerImageRelId=e.attributes[`o:relid`]:(this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e));break}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0;switch(e){case`v:shape`:return this._parsingHeaderImage&&this._headerImageRelId&&(this.model.headerImage={imageRelId:this._headerImageRelId,width:this._headerImageWidth,height:this._headerImageHeight}),this._parsingHeaderImage=!1,this._headerImageRelId=void 0,this._headerImageWidth=void 0,this._headerImageHeight=void 0,!0;case this.tag:return!1;default:return!0}}static{this.DRAWING_ATTRIBUTES={"xmlns:v":`urn:schemas-microsoft-com:vml`,"xmlns:o":`urn:schemas-microsoft-com:office:office`,"xmlns:x":`urn:schemas-microsoft-com:office:excel`}}}}));function $A(e){return isNaN(e.getTime())?``:e.toISOString().replace(/\.\d{3}Z$/,``)}function ej(e){let t=qd(e.name),n=e.numFmtId??`0`,r=nj(e.extraAttrs),i=e.fieldGroupXml?`\n ${e.fieldGroupXml}`:``;if(e.sharedItems===null){if(e.isLoaded)return i?`<cacheField name="${t}" numFmtId="${n}"${r}>${i}\n </cacheField>`:`<cacheField name="${t}" numFmtId="${n}"${r} />`;let a;return a=e.minValue!==void 0&&e.maxValue!==void 0?` containsSemiMixedTypes="0" containsString="0" containsNumber="1"${e.containsInteger?` containsInteger="1"`:``} minValue="${e.minValue}" maxValue="${e.maxValue}"`:``,`<cacheField name="${t}" numFmtId="${n}"${r}>
407
+ Editing this shape or saving this workbook into a different file format will permanently break the chart.`),e.closeNode(),e.closeNode(),e.closeNode(),e.closeNode(),e.closeNode()}parseOpen(e){if(this._inFallback)return this._fallbackDepth++,!0;switch(e.name){case`mc:AlternateContent`:return this._acDepth++,!0;case`mc:Choice`:return this._acDepth>0&&(this._choiceRequires=e.attributes?.Requires),!0;case`mc:Fallback`:return this._acDepth>0&&(this._inFallback=!0,this._fallbackDepth=1),!0;default:break}if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={range:{editAs:e.attributes.editAs}},this._acDepth=0,this._inFallback=!1,this._fallbackDepth=0,this._choiceRequires=void 0;break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(e){this._inFallback||this.parser&&this.parser.parseText(e)}parseClose(e){if(this._inFallback)return this._fallbackDepth--,this._fallbackDepth===0&&(this._inFallback=!1),!0;switch(e){case`mc:AlternateContent`:return this._acDepth--,this._acDepth<=0&&(this._acDepth=0,this._choiceRequires&&(this.model.alternateContent={requires:this._choiceRequires}),this._choiceRequires=void 0),!0;case`mc:Choice`:case`mc:Fallback`:return!0;default:break}if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.range.tl=this.map[`xdr:from`].model,this.model.range.br=this.map[`xdr:to`].model,this.model.picture=this.map[`xdr:pic`].model,this.model.graphicFrame=this.map[`xdr:graphicFrame`].model,!1;default:return!0}}reconcile(e,t){e.picture&&(e.medium=this.reconcilePicture(e.picture,t))}}}));function lw(e){let t=typeof e.range==`string`?E.decode(e.range):e.range;return t.pos===void 0?t.br?`xdr:twoCellAnchor`:`xdr:oneCellAnchor`:`xdr:absoluteAnchor`}var uw,dw=t((()=>{da(),j(),ew(),iw(),cw(),ag(),uw=class e extends A{constructor(){super(),this._inAlternateContent=!1,this._acDepth=0,this._inChoice=!1,this._inFallback=!1,this._fallbackDepth=0,this._choiceRequires=void 0,this._anchorCountBeforeAC=0,this.map={"xdr:twoCellAnchor":new sw,"xdr:oneCellAnchor":new rw,"xdr:absoluteAnchor":new $C},this.model={anchors:[]}}prepare(e){e.anchors.forEach((e,t)=>{e.anchorType=lw(e),this.map[e.anchorType].prepare(e,{index:t})})}get tag(){return`xdr:wsDr`}render(t,n){let r=n||this.model;t.openXml(of);let i=r.anchors.some(e=>!!e?.alternateContent)?e.DRAWING_ATTRIBUTES_WITH_MC:e.DRAWING_ATTRIBUTES;t.openNode(this.tag,i),r.anchors.forEach(e=>{this.map[e.anchorType].render(t,e)}),t.closeNode()}parseOpen(e){if(this._inFallback)return this._fallbackDepth++,!0;if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={anchors:[]};break;case`mc:AlternateContent`:this._acDepth=(this._acDepth??0)+1,this._acDepth===1&&(this._inAlternateContent=!0,this._anchorCountBeforeAC=this.model.anchors.length);break;case`mc:Choice`:this._inAlternateContent&&(this._inChoice=!0,this._choiceRequires=e.attributes?.Requires);break;case`mc:Fallback`:this._inAlternateContent&&(this._inFallback=!0,this._fallbackDepth=1);break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(e){this._inFallback||this.parser&&this.parser.parseText(e)}parseClose(e){if(this._inFallback)return this._fallbackDepth--,this._fallbackDepth===0&&(this._inFallback=!1),!0;if(this.parser)return this.parser.parseClose(e)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;case`mc:AlternateContent`:if(this._acDepth=(this._acDepth??0)-1,this._acDepth<=0){if(this._inAlternateContent&&this._choiceRequires){let e=this.model.anchors;for(let t=this._anchorCountBeforeAC;t<e.length;t++)e[t].alternateContent={requires:this._choiceRequires}}this._inAlternateContent=!1,this._inChoice=!1,this._choiceRequires=void 0,this._acDepth=0}return!0;case`mc:Choice`:return this._inChoice=!1,!0;default:return!0}}reconcile(e,t){e.anchors.forEach(e=>{e.range?.pos===void 0?e.br?this.map[`xdr:twoCellAnchor`].reconcile(e,t):this.map[`xdr:oneCellAnchor`].reconcile(e,t):this.map[`xdr:absoluteAnchor`].reconcile(e,t)})}static{this.DRAWING_ATTRIBUTES={"xmlns:xdr":`http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing`,"xmlns:a":`http://schemas.openxmlformats.org/drawingml/2006/main`}}static{this.DRAWING_ATTRIBUTES_WITH_MC={"xmlns:xdr":`http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing`,"xmlns:a":`http://schemas.openxmlformats.org/drawingml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"xmlns:c":`http://schemas.openxmlformats.org/drawingml/2006/chart`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"xmlns:cx":`http://schemas.microsoft.com/office/drawing/2014/chartex`}}}})),fw,pw=t((()=>{j(),Vy(),zy(),fw=class extends A{constructor(){super(),this.map={r:new By,t:new Ry}}get tag(){return`rPh`}render(e,t){if(e.openNode(this.tag,{sb:t.sb??0,eb:t.eb??0}),t&&Object.prototype.hasOwnProperty.call(t,`richText`)&&t.richText){let{r:n}=this.map;t.richText.forEach(t=>{n.render(e,t)})}else t&&this.map.t.render(e,t.text);e.closeNode()}parseOpen(e){let{name:t}=e;return this.parser?(this.parser.parseOpen(e),!0):t===this.tag?(this.model={sb:parseInt(e.attributes.sb,10),eb:parseInt(e.attributes.eb,10)},!0):(this.parser=this.map[t],this.parser?(this.parser.parseOpen(e),!0):!1)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){switch(e){case`r`:{let e=this.model.richText;e||=this.model.richText=[],e.push(this.parser.model);break}case`t`:this.model.text=this.parser.model;break;default:break}this.parser=void 0}return!0}switch(e){case this.tag:return!1;default:return!0}}}})),mw,hw=t((()=>{j(),pw(),Vy(),zy(),mw=class extends A{constructor(e){super(),this.model=e,this.map={r:new By,t:new Ry,rPh:new fw}}get tag(){return`si`}render(e,t){e.openNode(this.tag),t&&typeof t==`object`&&Object.prototype.hasOwnProperty.call(t,`richText`)&&t.richText?t.richText.length?t.richText.forEach(t=>{this.map.r.render(e,t)}):this.map.t.render(e,``):t!=null&&this.map.t.render(e,t),e.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag?(this.model={},!0):(this.parser=this.map[e.name],this.parser?(this.parser.parseOpen(e),!0):!1)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){switch(e){case`r`:{let e=this.model.richText;e||=this.model.richText=[],e.push(this.parser.model);break}case`t`:this.model=this.parser.model;break;default:break}this.parser=void 0}return!0}switch(e){case this.tag:return!1;default:return!0}}}})),gw,_w=t((()=>{la(),j(),hw(),ag(),gw=class extends A{constructor(e){super(),this.model=e||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||=new mw}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString(e){return this.model.values[e]}add(e){return e.richText?this.addRichText(e):this.addText(e)}addText(e){let t=this.hash[e];return t===void 0&&(t=this.hash[e]=this.model.values.length,this.model.values.push(e)),this.model.count++,t}addRichText(e){let t=this.sharedStringXform.toXml(e),n=this.rich[t];return n===void 0&&(n=this.rich[t]=this.model.values.length,this.model.values.push(e)),this.model.count++,n}render(e,t){let n=t||this._values;e.openXml(of),e.openNode(`sst`,{xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,count:n.count,uniqueCount:n.values.length});let r=this.sharedStringXform;n.values.forEach(t=>{r.render(e,t)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case`sst`:return!0;case`si`:return this.parser=this.sharedStringXform,this.parser.parseOpen(e),!0;default:throw new $i(`sharedStrings`,`Unexpected xml node in parseOpen: ${JSON.stringify(e)}`)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;switch(e){case`sst`:return!1;default:throw new $i(`sharedStrings`,`Unexpected xml node in parseClose: ${e}`)}}}})),vw,yw=t((()=>{vw=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
408
+ <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>`}));function bw(e){if(e.length===0)return;let t=e.splice(0);for(let e of t)e()}var xw,Sw,Cw,ww,Tw=t((()=>{jy(),Aa(),la(),qS(),_b(),ng(),XS(),aC(),sC(),mu(),Wg(),pC(),hC(),bC(),SC(),Yg(),$g(),dw(),_w(),H_(),yw(),Ei(),lr(),Hf(),xw=new Uint8Array,Sw=new TextDecoder,Cw=class{constructor(e,t){this._needsDrain=!1,this._drainResolvers=[],this._drainListenerAttached=!1,this._sinkError=null,this._lifecycleListenersAttached=!1,this.WorksheetWriterClass=t,this.created=e.created||new Date,this.modified=e.modified||this.created,this.creator=e.creator??`ExcelTS`,this.lastModifiedBy=e.lastModifiedBy??`ExcelTS`,this.lastPrinted=e.lastPrinted,this.useSharedStrings=e.useSharedStrings??!1,this.sharedStrings=new YS,this.styles=e.useStyles?new B_(!0):new B_.Mock(!0),this._definedNames=new ka,this._worksheets=[],this.views=[],this.zipOptions=e.zip;let n=e.zip?.zlib?.level??e.zip?.compressionOptions?.level??6;this.compressionLevel=Math.max(0,Math.min(9,n)),this.media=[],this.commentRefs=[],this.dynamicArrayCount=0,this._trueStreaming=e.trueStreaming??!1,this.zip=new Ay((e,t,n)=>{if(e)this.stream.emit(`error`,e);else{let e=this.stream.write(t);this._trackBackpressure(e),n&&this.stream.end()}}),this.stream=this._createOutputStream(e),this._attachSinkLifecycleListeners(),this.promise=Promise.resolve()}_createOutputStream(e){return e.stream?ei(e.stream):new iC}_trackBackpressure(e){if(e instanceof Promise){e.then(e=>{e||(this._needsDrain=!0)},()=>{});return}e===!1&&(this._needsDrain=!0),this._ensureDrainListener()}_ensureDrainListener(){this._drainListenerAttached||typeof this.stream.on==`function`&&(this._drainListenerAttached=!0,this.stream.on(`drain`,()=>{this._needsDrain=!1,bw(this._drainResolvers)}))}_attachSinkLifecycleListeners(){this._lifecycleListenersAttached||typeof this.stream.on==`function`&&(this._lifecycleListenersAttached=!0,typeof this.stream.once==`function`?(this.stream.once(`error`,e=>{this._sinkError||=e,this._wakeAllBackpressureWaiters()}),this.stream.once(`close`,()=>{this._wakeAllBackpressureWaiters()})):this.stream.on(`error`,e=>{this._sinkError||=e,this._wakeAllBackpressureWaiters()}))}_wakeAllBackpressureWaiters(){this._needsDrain=!1,bw(this._drainResolvers)}async _waitForUserSinkDrain(){if(!this._sinkError&&this._needsDrain)return new Promise(e=>this._drainResolvers.push(e))}get definedNames(){return this._definedNames}get defaultFont(){return this.styles.defaultFont}set defaultFont(e){this.styles.setDefaultFont&&this.styles.setDefaultFont(e)}_openStream(e){let t=new iC({bufSize:this._trueStreaming?4096:65536,batch:!this._trueStreaming}),n=new ky(e,{level:this.compressionLevel});this.zip.add(n);let r=e=>n.push(e);return t.on(`data`,r),t.once(`finish`,()=>{t.removeListener(`data`,r),n.push(xw,!0),t.emit(`zipped`)}),t}_addFile(e,t,n){let r=new ky(t,{level:this.compressionLevel});this.zip.add(r);let i;i=n?cf(typeof e==`string`?e:Sw.decode(e)):typeof e==`string`?Yn(e):e,r.push(i,!0)}async _commitWorksheets(){for(let e of this._worksheets)!e||e.committed||(await new Promise(t=>{e.stream.once(`zipped`,()=>t()),e.commit()}),await this._waitForUserSinkDrain())}async commit(){await this.promise,await this._commitWorksheets(),await this.addMedia(),this.addDrawings(),await this._waitForUserSinkDrain(),await Promise.all([this.addThemes(),this.addOfficeRels(),this.addContentTypes(),this.addApp(),this.addCore(),this.addSharedStrings(),this.addStyles(),this.addFeaturePropertyBag(),this.addMetadata(),this.addWorkbookRels()]),await this._waitForUserSinkDrain(),await this.addWorkbook(),await this._waitForUserSinkDrain(),await this._finalize()}get nextId(){for(let e=1;e<this._worksheets.length;e++)if(!this._worksheets[e])return e;return this._worksheets.length||1}addImage(e){let t=this.media.length,n={...e,type:`image`,name:`image${t}.${e.extension}`};return this.media.push(n),t}getImage(e){return this.media[e]}async protect(e,t){this.protection=await oC(e,t)}unprotect(){this.protection=void 0}addWorksheet(e,t){let n=t||{},r=n.useSharedStrings===void 0?this.useSharedStrings:n.useSharedStrings;n.tabColor&&(console.trace(`tabColor option has moved to { properties: tabColor: {...} }`),n.properties={tabColor:n.tabColor,...n.properties});let i=this.nextId;e??=`sheet${i}`;let a=new this.WorksheetWriterClass({id:i,name:e,workbook:this,useSharedStrings:r,properties:n.properties,state:n.state,pageSetup:n.pageSetup,views:n.views,autoFilter:n.autoFilter,headerFooter:n.headerFooter});return this._worksheets[i]=a,a}getWorksheet(e){if(e===void 0)return this._worksheets.find(()=>!0);if(typeof e==`number`)return this._worksheets[e];if(typeof e==`string`){let t=e.toLowerCase();return this._worksheets.find(e=>e?.name?.toLowerCase()===t)}}addStyles(){return new Promise(e=>{this._addFile(this.styles.xml,k.xlStyles),e()})}addThemes(){return new Promise(e=>{this._addFile(vw,k.xlTheme1),e()})}addOfficeRels(){return new Promise(e=>{let t=new Qg().toXml([{Id:`rId1`,Type:D.OfficeDocument,Target:k.xlWorkbook},{Id:`rId2`,Type:D.CoreProperties,Target:k.docPropsCore},{Id:`rId3`,Type:D.ExtenderProperties,Target:k.docPropsApp}]);this._addFile(t,k.rootRels),e()})}addContentTypes(){return new Promise(e=>{let t=this._worksheets.filter(Boolean);t.forEach(e=>{e.fileIndex=e.id});let n=t.filter(e=>e.drawing).map(e=>e.drawing),r={worksheets:t,sharedStrings:this.sharedStrings,commentRefs:this.commentRefs,media:this.media,drawings:n,hasCheckboxes:this.styles.hasCheckboxes,hasDynamicArrayFormulas:this.dynamicArrayCount>0},i=new mC;this._addFile(i.toXml(r),k.contentTypes),e()})}addMedia(){return Promise.all(this.media.map(async e=>{if(e.type===`image`){if(fb(e))return;let t=ym(e.name);if(e.buffer){this._addFile(e.buffer,t);return}if(e.base64){let n=e.base64.substring(e.base64.indexOf(`,`)+1);this._addFile(n,t,!0);return}if(e.filename)throw new ea(`Loading images from filename`,`not supported in browser. Use buffer or base64.`)}throw new sa(`Unsupported media`)}))}addDrawings(){let e=new uw,t=new Qg;for(let n of this._worksheets){if(!n?.drawing)continue;let{drawing:r}=n,i=gb(r.anchors),a={...r,anchors:i};e.prepare(a);let o=e.toXml(a);this._addFile(o,km(r.name));let s=t.toXml(r.rels);this._addFile(s,Am(r.name))}}addApp(){return new Promise(e=>{let t=new fC;this._addFile(t.toXml({worksheets:this._worksheets.filter(Boolean)}),k.docPropsApp),e()})}addCore(){return new Promise(e=>{let t=new yC;this._addFile(t.toXml(this),k.docPropsCore),e()})}addSharedStrings(){return this.sharedStrings.count?new Promise(e=>{let t=new gw;this._addFile(t.toXml(this.sharedStrings),k.xlSharedStrings),e()}):Promise.resolve()}addFeaturePropertyBag(){if(this.styles.hasCheckboxes){let e=new xC;this._addFile(e.toXml({}),k.xlFeaturePropertyBag)}return Promise.resolve()}addMetadata(){if(this.dynamicArrayCount<=0)return Promise.resolve();let e=new Jg;return this._addFile(e.toXml({dynamicArrayCount:this.dynamicArrayCount}),k.xlMetadata),Promise.resolve()}addWorkbookRels(){let e=1,t=[{Id:`rId${e++}`,Type:D.Styles,Target:Gh.workbookStyles},{Id:`rId${e++}`,Type:D.Theme,Target:Gh.workbookTheme1}];return this.sharedStrings.count&&t.push({Id:`rId${e++}`,Type:D.SharedStrings,Target:Gh.workbookSharedStrings}),this.styles.hasCheckboxes&&t.push({Id:`rId${e++}`,Type:D.FeaturePropertyBag,Target:Gh.workbookFeaturePropertyBag}),this.dynamicArrayCount>0&&t.push({Id:`rId${e++}`,Type:D.SheetMetadata,Target:Gh.workbookMetadata}),this._worksheets.forEach(n=>{n&&(n.rId=`rId${e++}`,t.push({Id:n.rId,Type:D.Worksheet,Target:Sm(n.id)}))}),new Promise(e=>{let n=new Qg;this._addFile(n.toXml(t),k.xlWorkbookRels),e()})}addWorkbook(){let e={worksheets:this._worksheets.filter(Boolean),definedNames:this._definedNames.model,views:this.views,properties:{},protection:this.protection,calcProperties:{}};return new Promise(t=>{let n=new Hg;n.prepare(e),this._addFile(n.toXml(e),k.xlWorkbook),t()})}_finalize(){if(this._sinkError){try{this.zip.end()}catch{}return Promise.reject(this._sinkError)}return new Promise((e,t)=>{let n=()=>{this.stream.removeListener(`close`,i),this.stream.removeListener(`error`,r)},r=e=>{n(),t(e)},i=()=>{if(n(),this._sinkError){t(this._sinkError);return}e(this)};this.stream.once(`error`,r),this.stream.once(`close`,i),this.zip.end()})}},ww=class extends Cw{constructor(e={}){super(e,KS)}}}));function Ew(){let e=`0123456789ABCDEF`,t=``;for(let n=0;n<32;n++)n===12?t+=`4`:n===16?t+=e[8+Math.floor(Math.random()*4)]:t+=e[Math.floor(Math.random()*16)],(n===7||n===11||n===15||n===19)&&(t+=`-`);return t}var Dw=t((()=>{})),Ow,kw,Aw,jw,Mw,Nw,Pw,Fw=t((()=>{da(),Ow=9525,kw=12700,Aw=142875,jw=28575,Mw=276225,Nw=190500,Pw=class e{constructor(e,t,n){this.worksheet=e;let{tl:r,br:i}=this._parseRange(t),a=1025+(e.formControls?.length??0),o;n?.link&&(o=this._toAbsoluteRef(n.link)),this.model={shapeId:a,ctrlPropId:0,tl:r,br:i,link:o,checked:n?.checked?`Checked`:`Unchecked`,text:n?.text??``,noThreeD:n?.noThreeD??!0,print:n?.print??!1}}static fromModel(t,n){let r=Object.create(e.prototype);return r.worksheet=t,r.model={...n,tl:{...n.tl},br:{...n.br}},r}get checked(){return this.model.checked===`Checked`}set checked(e){this.model.checked=e?`Checked`:`Unchecked`}get link(){return this.model.link}set link(e){this.model.link=e?this._toAbsoluteRef(e):void 0}get text(){return this.model.text}set text(e){this.model.text=e}_toAbsoluteRef(e){if(e.includes(`$`))return e;let t=E.decodeAddress(e);return`$${E.n2l(t.col)}$${t.row}`}_parseRange(e){let t,n;if(typeof e==`string`)if(e.includes(`:`)){let r=E.decode(e);if(`top`in r)if(r.left===r.right&&r.top===r.bottom){let e=r.left-1,i=r.top-1;t={col:e,colOff:Aw,row:i,rowOff:jw},n={col:e+2,colOff:Mw,row:i+1,rowOff:Nw}}else t={col:r.left-1,colOff:Aw,row:r.top-1,rowOff:jw},n={col:r.right-1,colOff:Mw,row:r.bottom-1,rowOff:Nw};else t={col:r.col-1,colOff:Aw,row:r.row-1,rowOff:jw},n={col:r.col+1,colOff:Mw,row:r.row,rowOff:Nw}}else{let r=E.decodeAddress(e);t={col:r.col-1,colOff:Aw,row:r.row-1,rowOff:jw},n={col:r.col+1,colOff:Mw,row:r.row,rowOff:Nw}}else if(`startCol`in e)t={col:e.startCol,colOff:e.startColOff??Aw,row:e.startRow,rowOff:e.startRowOff??jw},n={col:e.endCol,colOff:e.endColOff??Mw,row:e.endRow,rowOff:e.endRowOff??Nw};else{if(typeof e.tl==`string`){let n=E.decodeAddress(e.tl);t={col:n.col-1,colOff:Aw,row:n.row-1,rowOff:jw}}else t={col:e.tl.col,colOff:e.tl.colOff??Aw,row:e.tl.row,rowOff:e.tl.rowOff??jw};if(e.br)if(typeof e.br==`string`){let t=E.decodeAddress(e.br);n={col:t.col-1,colOff:Mw,row:t.row-1,rowOff:Nw}}else n={col:e.br.col,colOff:e.br.colOff??Mw,row:e.br.row,rowOff:e.br.rowOff??Nw};else n={col:t.col+2,colOff:Mw,row:t.row+1,rowOff:Nw}}return{tl:t,br:n}}getVmlAnchor(){return e.getVmlAnchor(this.model)}getVmlStyle(){return e.getVmlStyle(this.model)}getVmlCheckedValue(){return e.getVmlCheckedValue(this.model)}static getVmlAnchor(e){let{tl:t,br:n}=e,r=Math.round(t.colOff/Ow),i=Math.round(t.rowOff/Ow),a=Math.round(n.colOff/Ow),o=Math.round(n.rowOff/Ow);return`${t.col}, ${r}, ${t.row}, ${i}, ${n.col}, ${a}, ${n.row}, ${o}`}static getVmlStyle(e){return`position:absolute;margin-left:${Math.round(e.tl.colOff/kw)}pt;margin-top:${Math.round(e.tl.rowOff/kw)}pt;width:96pt;height:18pt;z-index:1;visibility:visible`}static getVmlCheckedValue(e){switch(e.checked){case`Checked`:return 1;case`Mixed`:return 2;default:return 0}}}})),Iw,Lw=t((()=>{Fy(),la(),da(),Iw=class e{constructor(e,t){this.worksheet=e,t&&(this.model=t)}get model(){switch(this.type){case`background`:return{type:this.type,imageId:this.imageId??``};case`watermark`:return{type:this.type,imageId:this.imageId??``,opacity:this.opacity};case`headerImage`:return{type:this.type,imageId:this.imageId??``,headerWidth:this.headerWidth,headerHeight:this.headerHeight,applyTo:this.applyTo};case`image`:{let e=this.range;if(!e)throw new sa(`Image has no range`);return e.pos?{type:this.type,imageId:this.imageId??``,hyperlinks:e.hyperlinks,range:{tl:{nativeCol:0,nativeColOff:0,nativeRow:0,nativeRowOff:0},ext:e.ext,pos:e.pos}}:{type:this.type,imageId:this.imageId??``,hyperlinks:e.hyperlinks,range:{tl:e.tl.model,br:e.br?.model,ext:e.ext,editAs:e.editAs}}}default:throw new sa(`Invalid Image Type`)}}set model({type:e,imageId:t,range:n,hyperlinks:r,opacity:i,headerWidth:a,headerHeight:o,applyTo:s}){if(this.type=e,this.imageId=t,this.opacity=i,this.headerWidth=a,this.headerHeight=o,this.applyTo=s,e===`image`){if(typeof n==`string`){let e=E.decode(n);`top`in e&&(this.range={tl:new Py(this.worksheet,{col:e.left,row:e.top},-1),br:new Py(this.worksheet,{col:e.right,row:e.bottom},0),editAs:`oneCell`})}else if(n&&`pos`in n&&n.pos)this.range={tl:new Py(this.worksheet,null,0),ext:n.ext,hyperlinks:r||(`hyperlinks`in n?n.hyperlinks:void 0),pos:n.pos};else if(n){let e=n.tl,t=n.br;this.range={tl:new Py(this.worksheet,e,typeof e==`string`?-1:0),br:t?new Py(this.worksheet,t,0):void 0,ext:n.ext,editAs:n.editAs,hyperlinks:r||(`hyperlinks`in n?n.hyperlinks:void 0)}}}}clone(t){let n=t??this.worksheet,r=new e(n);return r.type=this.type,r.imageId=this.imageId,r.opacity=this.opacity,r.headerWidth=this.headerWidth,r.headerHeight=this.headerHeight,r.applyTo=this.applyTo,this.range&&(r.range={tl:this.range.tl.clone(n),br:this.range.br?this.range.br.clone(n):void 0,ext:this.range.ext?{...this.range.ext}:void 0,editAs:this.range.editAs,hyperlinks:this.range.hyperlinks?{...this.range.hyperlinks}:void 0,pos:this.range.pos?{...this.range.pos}:void 0}),r}}}));function Rw(e){let t=e.model;if(t.headerRow===!1)throw new ia(`Cannot create pivot table from a table without headers. Set headerRow: true on the table.`);if(!t.rows||t.rows.length===0)throw new ia(`Cannot create pivot table from an empty table. Add data rows to the table.`);let n=t.columns.map(e=>e.name),r=new Set;for(let e of n){if(r.has(e))throw new ia(`Duplicate column name "${e}" found in table. Pivot tables require unique column names.`);r.add(e)}let i=[void 0,...n],a=t.rows.map(e=>[void 0,...e]),o=t.tl;if(!o)throw Error(`Table "${t.name}" is missing top-left cell address (tl)`);let s=o.row,c=o.col,l=s+t.rows.length,u=c+n.length-1,d=E.encode(s,c,l,u);return{name:e.worksheet.name,tableName:t.name,getRow(e){if(e===1)return{values:i};let t=e-Xw;return t>=0&&t<a.length?{values:a[t]}:{values:[]}},getColumn(e){if(e<1||e>n.length)return{values:[]};let r=[];r[1]=n[e-1];for(let n=0;n<t.rows.length;n++)r[n+2]=t.rows[n][e-1];return{values:r}},getSheetValues(){let e=[];e[1]=i;for(let t=0;t<a.length;t++)e[t+2]=a[t];return e},dimensions:{shortRange:d}}}function zw(e){if(e.sourceSheet&&e.sourceTable)throw new ia(`Cannot specify both sourceSheet and sourceTable. Choose one.`);if(e.sourceTable)return Rw(e.sourceTable);if(!e.sourceSheet)throw Error(`Either sourceSheet or sourceTable must be provided.`);return e.sourceSheet}function Bw(e){return typeof e==`string`?e:e.name}function Vw(e){return typeof e==`string`?void 0:e.metric}function Hw(e,t){let n=zw(t);Ww(t,n);let{rows:r}=t,i=t.columns??[],a=t.pages??[],o=t.values.map(Bw),s=t.metric??`sum`,c=t.values.map(e=>Vw(e)??s),l=Kw(n,[...r,...i,...a],o),u={};for(let e=0;e<l.length;e++)u[l[e].name]=e;let d=(e,t)=>{let n=u[e];if(n===void 0)throw Error(`${t} field "${e}" not found in cache fields`);return n},f=r.map(e=>d(e,`Row`)),p=i.map(e=>d(e,`Column`)),m=o.map(e=>d(e,`Value`)),h=a.map(e=>d(e,`Page`)),g=e.workbook.pivotTables.map(e=>e.tableNumber).filter(e=>Number.isFinite(e)),_=g.length>0?g.reduce((e,t)=>e>t?e:t,-1/0)+1:1,v=e.workbook.pivotTables.map(e=>parseInt(e.cacheId,10)).filter(e=>Number.isFinite(e)),y=v.length>0?v.reduce((e,t)=>e>t?e:t,-1/0)+1:Zw+_-1,b=Uw(t.ref);return{name:`PivotTable${_}`,worksheetName:e.name,source:n,rows:f,columns:p,values:m,pages:h,metric:s,valueMetrics:c,cacheFields:l,cacheId:String(y),applyWidthHeightFormats:t.applyWidthHeightFormats??`1`,ref:b,tableNumber:_}}function Uw(e){if(e===void 0)return;if(typeof e!=`string`||e.trim()===``)throw new ia(`Invalid pivot table ref "${String(e)}". Provide a cell address like "A3".`);let t=e.trim().replace(/^[^!]+!/,``),n=t.includes(`:`)?t.split(`:`,1)[0]:t,r;try{r=E.decodeAddress(n)}catch{throw new ia(`Invalid pivot table ref "${e}". Provide a cell address like "A3".`)}if(!r.col||!r.row)throw new ia(`Invalid pivot table ref "${e}". Both column and row are required (e.g. "A3").`);return`${E.n2l(r.col)}${r.row}`}function Ww(e,t){let n=e.columns??[],r=e.pages??[],i=e.values.map(Bw),a=t.getRow(1).values.slice(1);for(let e=0;e<a.length;e++){let n=a[e];if(n==null||n===``||typeof n==`string`&&n.trim()===``)throw Error(`Empty or missing header name at column ${e+1} in ${t.name}. Pivot tables require all columns to have non-empty headers.`)}let o=new Set;for(let e of a){let n=String(e);if(o.has(n))throw Error(`Duplicate header name "${n}" found in ${t.name}. Pivot tables require unique column names.`);o.add(n)}let s=new Set(a.map(String)),c=e=>{if(!s.has(e))throw new ia(`The header name "${e}" was not found in ${t.name}.`)};for(let t of e.rows)c(t);for(let e of n)c(e);for(let e of i)c(e);for(let e of r)c(e);let l=new Map,u=[{name:`rows`,fields:e.rows},{name:`columns`,fields:n},{name:`pages`,fields:r}];for(let e of u)for(let t of e.fields){let n=l.get(t);if(n===e.name)throw Error(`Duplicate field "${t}" in ${e.name}. Each field can only appear once per axis area.`);if(n)throw Error(`Field "${t}" cannot appear in both ${n} and ${e.name}. Each field can only be assigned to one axis area.`);l.set(t,e.name)}if(!e.rows.length)throw new ia(`No pivot table rows specified.`);if(e.values.length<1)throw new ia(`Must have at least one value.`);if(e.metric!==void 0&&!Yw.has(e.metric))throw Error(`Invalid metric "${e.metric}". Must be one of: ${[...Yw].join(`, `)}.`);for(let t of e.values){let e=Vw(t);if(e!==void 0&&!Yw.has(e))throw Error(`Invalid metric "${e}" on value field "${Bw(t)}". Must be one of: ${[...Yw].join(`, `)}.`)}let d=new Set;for(let e of i){if(d.has(e))throw Error(`Duplicate value field "${e}". Each value field name must be unique.`);d.add(e)}}function Gw(e){if(e==null)return null;if(typeof e!=`object`||e instanceof Date||e instanceof qw)return e;let t=e;if(typeof t.error==`string`){let e=t.error;return new qw(e.startsWith(`#`)?e.slice(1):e)}if(`formula`in t||`sharedFormula`in t){let e=t.result;return e==null?null:Gw(e)}return Array.isArray(t.richText)?t.richText.map(e=>e.text??``).join(``):typeof t.text==`string`&&typeof t.hyperlink==`string`?t.text:typeof t.checkbox==`boolean`?t.checkbox:String(e)}function Kw(e,t,n){let r=e.getRow(1).values,i=new Set(t),a=new Set(n),o=t=>{let n=e.getColumn(t).values,r=new Set,i=new Map,a=!1;for(let e=Xw;e<n.length;e++){let t=Gw(n[e]);t===null||typeof t==`number`&&isNaN(t)?a=!0:t instanceof qw?i.has(t.code)||(i.set(t.code,t),r.add(t)):r.add(t)}let o=bf(r);return a&&o.push(null),o},s=t=>{let n=e.getColumn(t).values,r=1/0,i=-1/0,a=!1,o=!0;for(let e=Xw;e<n.length;e++){let t=Gw(n[e]);typeof t==`number`&&!isNaN(t)&&(a=!0,t<r&&(r=t),t>i&&(i=t),Number.isInteger(t)||(o=!1))}return a?{minValue:r,maxValue:i,allInteger:o}:null},c=[];for(let e of yf(1,r.length)){let t=r[e],n=String(t);if(i.has(n))c.push({name:n,sharedItems:o(e)});else if(a.has(n)){let t=s(e);c.push({name:n,sharedItems:null,containsNumber:t?`1`:void 0,minValue:t?.minValue,maxValue:t?.maxValue,containsInteger:t?.allInteger?`1`:void 0})}else c.push({name:n,sharedItems:null})}return c}var qw,Jw,Yw,Xw,Zw,Qw=t((()=>{la(),da(),Hf(),qw=class{constructor(e){this.code=e}toString(){return`#${this.code}`}},Jw={sum:`Sum`,count:`Count`,average:`Average`,max:`Max`,min:`Min`,product:`Product`,countNums:`Count Numbers`,stdDev:`StdDev`,stdDevP:`StdDevP`,var:`Var`,varP:`VarP`},Yw=new Set(Object.keys(Jw)),Xw=2,Zw=10}));function $w(e){let t=e.replace(iT,`_`),n=!1;return t.startsWith(`\\`)&&(n=!0,t=t.slice(1)),t=t.replace(aT,``),n&&(t=`\\${t}`),t.length>0&&!oT.test(t)&&(t=`_${t}`),t.length===0?`_Table`:(t.length===1&&rT.has(t)&&(t=`_${t}`),(tT.test(t)||nT.test(t))&&(t=`_${t}`),t.length>eT&&(t=t.slice(0,eT)),t)}var eT,tT,nT,rT,iT,aT,oT,sT,cT,lT=t((()=>{la(),da(),eT=255,tT=/^[A-Za-z]{1,3}\d+$/,nT=/^[Rr]\d+[Cc]\d+$/,rT=new Set([`C`,`c`,`R`,`r`]),iT=/\s/g,aT=/[^\p{L}\p{N}_.]/gu,oT=/^[\p{L}_\\]/u,sT=class{constructor(e,t,n){this.table=e,this.column=t,this.index=n}_set(e,t){this.table.cacheState(),this.column[e]=t}get name(){return this.column.name}set name(e){this._set(`name`,e)}get filterButton(){return this.column.filterButton}set filterButton(e){this.column.filterButton=e}get style(){return this.column.style}set style(e){this._set(`style`,e)}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(e){this._set(`totalsRowLabel`,e)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(e){this._set(`totalsRowFunction`,e)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(e){this._set(`totalsRowResult`,e)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(e){this._set(`totalsRowFormula`,e)}},cT=class e{constructor(e,t){if(this.worksheet=e,t){if(this.table=t,Array.isArray(t.rows)&&t.rows.length===0&&t.tableRef){let n=E.decode(t.tableRef);if(`dimensions`in n){let r=n.top+(t.headerRow===!1?0:1),i=n.bottom-+(t.totalsRow===!0);if(i>=r)for(let a=r;a<=i;a++){let r=e.getRow(a),i=[];for(let e=n.left;e<=n.right;e++)i.push(r.getCell(e).value);t.rows.push(i)}}}this.validate(),this.store()}}static{this.SUBTOTAL_FUNCTIONS={average:101,countNums:102,count:103,max:104,min:105,stdDev:107,var:110,sum:109}}getFormula(t){if(t.totalsRowFunction===`none`)return null;if(t.totalsRowFunction===`custom`)return t.totalsRowFormula??null;let n=t.totalsRowFunction?e.SUBTOTAL_FUNCTIONS[t.totalsRowFunction]:void 0;if(n!==void 0)return`SUBTOTAL(${n},${this.table.name}[${t.name}])`;throw new oa(`Invalid Totals Row Function: ${t.totalsRowFunction}`)}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+ +!!this.table.headerRow}get tableHeight(){return this.filterHeight+ +!!this.table.totalsRow}validate(){let{table:e}=this,t=(e,t,n)=>{e[t]===void 0&&(e[t]=n)};t(e,`headerRow`,!0),t(e,`totalsRow`,!1),t(e,`style`,{});let n=e.style;t(n,`theme`,`TableStyleMedium2`),t(n,`showFirstColumn`,!1),t(n,`showLastColumn`,!1),t(n,`showRowStripes`,!1),t(n,`showColumnStripes`,!1),e.name&&=$w(e.name),e.displayName&&=$w(e.displayName);let r=(e,t)=>{if(!e)throw new oa(t)};r(!!e.name,`Table must have a name`),r(!!e.ref,`Table must have ref`),r(!!e.columns,`Table must have column definitions`),r(!!e.rows,`Table must have row definitions`),e.tl=E.decodeAddress(e.ref);let{row:i,col:a}=e.tl;r(i>0,`Table must be on valid row`),r(a>0,`Table must be on valid col`);let{width:o,filterHeight:s,tableHeight:c}=this;e.autoFilterRef=E.encode(i,a,i+s-1,a+o-1),e.tableRef=E.encode(i,a,i+c-1,a+o-1),e.columns.forEach((e,n)=>{r(!!e.name,`Column ${n} must have a name`),n===0?t(e,`totalsRowLabel`,`Total`):(t(e,`totalsRowFunction`,`none`),e.totalsRowFormula=this.getFormula(e)??void 0)})}store(){let e=(e,t)=>{t&&Object.assign(e.style,t)},{worksheet:t,table:n}=this,{row:r,col:i}=n.tl,a=0;if(n.headerRow){let o=t.getRow(r+ a++);n.columns.forEach((t,n)=>{let{style:r,name:a}=t,s=o.getCell(i+n);s.value=a,e(s,r)})}if(n.rows.forEach(o=>{let s=t.getRow(r+ a++);o.forEach((t,r)=>{let a=s.getCell(i+r);if(typeof t==`object`&&t&&`formula`in t&&typeof t.formula==`string`){let e=t,r=n.qualifyImplicitStructuredReferences===!0;a.value={...e,formula:r?e.formula.replace(/(^|[^A-Za-z0-9_])\[@\[?([^[\]]+?)\]?\]/g,`$1${n.name}[[#This Row],[$2]]`):e.formula}}else a.value=t;e(a,n.columns[r]?.style)})}),n.totalsRow){let o=t.getRow(r+ a++);n.columns.forEach((t,n)=>{let r=o.getCell(i+n);if(n===0)r.value=t.totalsRowLabel;else{let e=this.getFormula(t);e?r.value={formula:e,result:t.totalsRowResult}:r.value=null}e(r,t.style)})}}load(e){let{table:t}=this,{row:n,col:r}=t.tl,i=0;if(t.headerRow){let a=e.getRow(n+ i++);t.columns.forEach((e,t)=>{let n=a.getCell(r+t);n.value=e.name})}if(t.rows.forEach(t=>{let a=e.getRow(n+ i++);t.forEach((e,t)=>{let n=a.getCell(r+t);n.value=e})}),t.totalsRow){let a=e.getRow(n+ i++);t.columns.forEach((e,t)=>{let n=a.getCell(r+t);if(t===0)n.value=e.totalsRowLabel;else{let t=this.getFormula(e);t&&(n.value={formula:t,result:e.totalsRowResult})}})}}get model(){return this.table}set model(e){this.table=e}cacheState(){this._cache||={ref:this.ref,width:this.width,tableHeight:this.tableHeight}}commit(){if(!this._cache)return;this.validate();let e=E.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let t=0;t<this._cache.tableHeight;t++){let n=this.worksheet.getRow(e.row+t);for(let t=0;t<this._cache.width;t++){let r=n.getCell(e.col+t);r.value=null}}else{for(let t=this.tableHeight;t<this._cache.tableHeight;t++){let n=this.worksheet.getRow(e.row+t);for(let t=0;t<this._cache.width;t++){let r=n.getCell(e.col+t);r.value=null}}for(let t=0;t<this.tableHeight;t++){let n=this.worksheet.getRow(e.row+t);for(let t=this.width;t<this._cache.width;t++){let r=n.getCell(e.col+t);r.value=null}}}this.store(),this._cache=void 0}addRow(e,t,n){this.cacheState(),t===void 0?this.table.rows.push(e):this.table.rows.splice(t,0,e),n?.commit!==!1&&this.commit()}removeRows(e,t=1,n){this.cacheState(),this.table.rows.splice(e,t),n?.commit!==!1&&this.commit()}getColumn(e){let t=this.table.columns[e];return new sT(this,t,e)}addColumn(e,t,n){this.cacheState(),n===void 0?(this.table.columns.push(e),this.table.rows.forEach((e,n)=>{e.push(t[n])})):(this.table.columns.splice(n,0,e),this.table.rows.forEach((e,r)=>{e.splice(n,0,t[r])}))}removeColumns(e,t=1){this.cacheState(),this.table.columns.splice(e,t),this.table.rows.forEach(n=>{n.splice(e,t)})}_assign(e,t,n){this.cacheState(),e[t]=n}get ref(){return this.table.ref}set ref(e){this._assign(this.table,`ref`,e)}get name(){return this.table.name}set name(e){this.cacheState();let t=$w(e),n=this.table.name;if(t===n)return;let r=this.worksheet,i=r?.tables,a=r?.workbook?._tableNames;if(i&&i[n]===this){let e=t.toLowerCase(),r=n.toLowerCase();if(e!==r&&a?.has(e))throw new oa(`Table name "${t}" already exists in the workbook (case-insensitive).`);delete i[n],i[t]=this,a&&(a.delete(r),a.add(e))}this.table.name=t}get displayName(){return this.table.displayName||this.table.name}set displayName(e){this.cacheState(),this.table.displayName=$w(e)}get headerRow(){return this.table.headerRow}set headerRow(e){this._assign(this.table,`headerRow`,e)}get totalsRow(){return this.table.totalsRow}set totalsRow(e){this._assign(this.table,`totalsRow`,e)}_ensureStyle(){return this.table.style||(this.table.style={}),this.table.style}get theme(){return this.table.style?.theme}set theme(e){this._ensureStyle().theme=e}get showFirstColumn(){return this.table.style?.showFirstColumn}set showFirstColumn(e){this._ensureStyle().showFirstColumn=e}get showLastColumn(){return this.table.style?.showLastColumn}set showLastColumn(e){this._ensureStyle().showLastColumn=e}get showRowStripes(){return this.table.style?.showRowStripes}set showRowStripes(e){this._ensureStyle().showRowStripes=e}get showColumnStripes(){return this.table.style?.showColumnStripes}set showColumnStripes(e){this._ensureStyle().showColumnStripes=e}}}));function uT(e,t,n){kT[e.toLowerCase()]=t,n&&(AT[e.toLowerCase()]=n)}function dT(e){let t=MT.get(e);if(t)return t;t=new Map;for(let[n,r,i]of e.advances)for(let e=0;e<r;e++)t.set(n+e,i);return MT.set(e,t),t}function fT(e,t){let n=e.toLowerCase();return t?AT[n]??kT[n]:kT[n]}function pT(e){return Object.hasOwn(AT,e.toLowerCase())}function mT(){return bT}function hT(e,t){return t>=19968&&t<=40959||t>=13312&&t<=19903||t>=63744&&t<=64255||t>=131072&&t<=205743||t>=12288&&t<=12543||t>=44032&&t<=55215||t>=65281&&t<=65376||t>=11904&&t<=12255||t>=12544&&t<=13311?e.cjkAdvance:dT(e).get(t)??e.defaultAdvance}function gT(e){return yT[e]}function _T(e){return jT[e.toLowerCase()]}function vT(e){return e>=19968&&e<=40959||e>=13312&&e<=19903||e>=63744&&e<=64255||e>=65281&&e<=65376||e>=12288&&e<=12543||e>=11904&&e<=12255||e>=12544&&e<=13311||e>=44032&&e<=55215||e>=131072&&e<=205743}var yT,bT,xT,ST,CT,wT,TT,ET,DT,OT,kT,AT,jT,MT,NT=t((()=>{yT={32:3,33:5,34:6,35:7,36:7,37:11,38:10,39:3,40:5,41:5,42:7,43:7,44:4,45:5,46:4,47:6,48:7,49:7,50:7,51:7,52:7,53:7,54:7,55:7,56:7,57:7,58:4,59:4,60:7,61:7,62:7,63:7,64:13,65:9,66:8,67:8,68:9,69:7,70:7,71:9,72:9,73:4,74:5,75:8,76:6,77:12,78:10,79:10,80:8,81:10,82:8,83:7,84:7,85:9,86:9,87:13,88:8,89:7,90:7,91:5,92:6,93:5,94:7,95:7,96:4,97:7,98:8,99:6,100:8,101:8,102:5,103:7,104:8,105:4,106:4,107:7,108:4,109:12,110:8,111:8,112:8,113:8,114:5,115:6,116:5,117:8,118:7,119:11,120:7,121:7,122:6,123:5,124:7,125:5,126:7},bT={header:{unitsPerEm:2048,usWinAscent:1950,usWinDescent:550,maxDigitAdvance:1038,sTypoAscender:1536,sTypoDescender:-512,sTypoLineGap:452},defaultAdvance:1e3,cjkAdvance:2048,advances:[[32,1,463],[33,1,667],[34,1,821],[35,1,1020],[36,1,1038],[37,1,1464],[38,1,1397],[39,1,452],[40,2,621],[42,2,1020],[44,1,511],[45,1,627],[46,1,517],[47,1,791],[48,10,1038],[58,2,548],[60,3,1020],[63,1,949],[64,1,1831],[65,1,1185],[66,1,1114],[67,1,1092],[68,1,1260],[69,1,1e3],[70,1,941],[71,1,1292],[72,1,1276],[73,1,516],[74,1,653],[75,1,1064],[76,1,861],[77,1,1751],[78,1,1322],[79,1,1356],[80,1,1058],[81,1,1378],[82,1,1112],[83,1,941],[84,1,998],[85,1,1314],[86,1,1162],[87,1,1822],[88,1,1063],[89,1,998],[90,1,959],[91,1,628],[92,1,791],[93,1,628],[94,2,1020],[96,1,596],[97,1,981],[98,1,1076],[99,1,866],[100,1,1076],[101,1,1019],[102,1,625],[103,1,964],[104,1,1076],[105,1,470],[106,1,490],[107,1,931],[108,1,470],[109,1,1636],[110,1,1076],[111,1,1080],[112,2,1076],[114,1,714],[115,1,801],[116,1,686],[117,1,1076],[118,1,925],[119,1,1464],[120,1,887],[121,1,927],[122,1,809],[123,1,644],[124,1,943],[125,1,644],[126,1,1020]]},xT={header:{unitsPerEm:2048,usWinAscent:1854,usWinDescent:434,maxDigitAdvance:1139,sTypoAscender:1491,sTypoDescender:-431,sTypoLineGap:307},defaultAdvance:1024,cjkAdvance:2048,advances:[[32,1,569],[33,1,569],[34,1,727],[35,1,1139],[36,1,1139],[37,1,1821],[38,1,1366],[39,1,391],[40,1,682],[41,1,682],[42,1,797],[43,1,1196],[44,1,569],[45,1,682],[46,1,569],[47,1,569],[48,10,1139],[58,1,569],[59,1,569],[60,1,1196],[61,1,1196],[62,1,1196],[63,1,1139],[64,1,2079],[65,1,1366],[66,1,1366],[67,1,1479],[68,1,1479],[69,1,1366],[70,1,1251],[71,1,1593],[72,1,1479],[73,1,569],[74,1,1024],[75,1,1366],[76,1,1139],[77,1,1706],[78,1,1479],[79,1,1593],[80,1,1366],[81,1,1593],[82,1,1479],[83,1,1366],[84,1,1251],[85,1,1479],[86,1,1366],[87,1,1933],[88,1,1366],[89,1,1366],[90,1,1251],[91,1,569],[92,1,569],[93,1,569],[94,1,961],[95,1,1139],[96,1,682],[97,1,1139],[98,1,1139],[99,1,1024],[100,1,1139],[101,1,1139],[102,1,569],[103,1,1139],[104,1,1139],[105,1,455],[106,1,455],[107,1,1024],[108,1,455],[109,1,1706],[110,1,1139],[111,1,1139],[112,1,1139],[113,1,1139],[114,1,682],[115,1,1024],[116,1,569],[117,1,1139],[118,1,1024],[119,1,1479],[120,1,1024],[121,1,1024],[122,1,1024],[123,1,684],[124,1,532],[125,1,684],[126,1,1196]]},ST={header:{unitsPerEm:2048,usWinAscent:1854,usWinDescent:434,maxDigitAdvance:1139,sTypoAscender:1491,sTypoDescender:-431,sTypoLineGap:307},defaultAdvance:1070,cjkAdvance:2048,advances:[[32,1,569],[33,1,682],[34,1,974],[35,1,1139],[36,1,1139],[37,1,1821],[38,1,1479],[39,1,569],[40,1,682],[41,1,682],[42,1,797],[43,1,1196],[44,1,569],[45,1,682],[46,1,569],[47,1,569],[48,10,1139],[58,1,682],[59,1,682],[60,1,1196],[61,1,1196],[62,1,1196],[63,1,1251],[64,1,1991],[65,1,1479],[66,1,1479],[67,1,1479],[68,1,1479],[69,1,1366],[70,1,1251],[71,1,1593],[72,1,1479],[73,1,682],[74,1,1139],[75,1,1479],[76,1,1251],[77,1,1706],[78,1,1479],[79,1,1593],[80,1,1366],[81,1,1593],[82,1,1479],[83,1,1366],[84,1,1251],[85,1,1479],[86,1,1366],[87,1,1933],[88,1,1366],[89,1,1366],[90,1,1251],[91,1,682],[92,1,569],[93,1,682],[94,1,1196],[95,1,1139],[96,1,682],[97,1,1139],[98,1,1251],[99,1,1024],[100,1,1251],[101,1,1139],[102,1,682],[103,1,1251],[104,1,1251],[105,1,569],[106,1,569],[107,1,1139],[108,1,569],[109,1,1821],[110,1,1251],[111,1,1251],[112,1,1251],[113,1,1251],[114,1,797],[115,1,1024],[116,1,682],[117,1,1251],[118,1,1139],[119,1,1593],[120,1,1139],[121,1,1139],[122,1,1024],[123,1,797],[124,1,569],[125,1,797],[126,1,1196]]},CT={header:{unitsPerEm:2048,usWinAscent:1825,usWinDescent:443,maxDigitAdvance:1024,sTypoAscender:1420,sTypoDescender:-442,sTypoLineGap:307},defaultAdvance:900,cjkAdvance:2048,advances:[[32,1,512],[33,1,682],[34,1,836],[35,1,1024],[36,1,1024],[37,1,1706],[38,1,1593],[39,1,369],[40,1,682],[41,1,682],[42,1,1024],[43,1,1155],[44,1,512],[45,1,682],[46,1,512],[47,1,569],[48,10,1024],[58,1,569],[59,1,569],[60,1,1155],[61,1,1155],[62,1,1155],[63,1,909],[64,1,1886],[65,1,1479],[66,1,1366],[67,1,1366],[68,1,1479],[69,1,1251],[70,1,1139],[71,1,1479],[72,1,1479],[73,1,682],[74,1,797],[75,1,1479],[76,1,1251],[77,1,1821],[78,1,1479],[79,1,1479],[80,1,1139],[81,1,1479],[82,1,1366],[83,1,1139],[84,1,1251],[85,1,1479],[86,1,1479],[87,1,1933],[88,1,1479],[89,1,1479],[90,1,1251],[91,1,682],[92,1,569],[93,1,682],[94,1,961],[95,1,1024],[96,1,682],[97,1,909],[98,1,1024],[99,1,909],[100,1,1024],[101,1,909],[102,1,682],[103,1,1024],[104,1,1024],[105,1,569],[106,1,569],[107,1,1024],[108,1,569],[109,1,1479],[110,1,1024],[111,1,1024],[112,1,1024],[113,1,1024],[114,1,682],[115,1,797],[116,1,569],[117,1,1024],[118,1,1024],[119,1,1479],[120,1,1024],[121,1,1024],[122,1,909],[123,1,983],[124,1,410],[125,1,983],[126,1,1073]]},wT={header:{unitsPerEm:2048,usWinAscent:1705,usWinDescent:615,maxDigitAdvance:1229,sTypoAscender:1255,sTypoDescender:-386,sTypoLineGap:0},defaultAdvance:1229,cjkAdvance:2048,advances:[[32,95,1229]]},TT={header:{unitsPerEm:2048,usWinAscent:2059,usWinDescent:430,maxDigitAdvance:1302,sTypoAscender:1566,sTypoDescender:-423,sTypoLineGap:202},defaultAdvance:1200,cjkAdvance:2048,advances:[[32,1,720],[33,1,756],[34,1,933],[35,1,1521],[36,1,1198],[37,1,1807],[38,1,1487],[39,1,510],[40,1,756],[41,1,756],[42,1,1198],[43,1,1521],[44,1,643],[45,1,811],[46,1,643],[47,1,899],[48,10,1302],[58,1,756],[59,1,756],[60,1,1521],[61,1,1521],[62,1,1521],[63,1,1151],[64,1,1937],[65,1,1362],[66,1,1382],[67,1,1279],[68,1,1490],[69,1,1279],[70,1,1186],[71,1,1458],[72,1,1498],[73,1,924],[74,1,922],[75,1,1362],[76,1,1145],[77,1,1728],[78,1,1498],[79,1,1476],[80,1,1262],[81,1,1476],[82,1,1396],[83,1,1300],[84,1,1185],[85,1,1448],[86,1,1362],[87,1,1864],[88,1,1244],[89,1,1183],[90,1,1204],[91,1,756],[92,1,899],[93,1,756],[94,1,1521],[95,1,1198],[96,1,1198],[97,1,1224],[98,1,1302],[99,1,1075],[100,1,1302],[101,1,1218],[102,1,756],[103,1,1302],[104,1,1317],[105,1,643],[106,1,700],[107,1,1183],[108,1,643],[109,1,1937],[110,1,1317],[111,1,1271],[112,1,1302],[113,1,1302],[114,1,899],[115,1,1075],[116,1,811],[117,1,1317],[118,1,1183],[119,1,1728],[120,1,1183],[121,1,1183],[122,1,1031],[123,1,787],[124,1,756],[125,1,787],[126,1,1521]]},ET={header:{unitsPerEm:2048,usWinAscent:1878,usWinDescent:449,maxDigitAdvance:1257,sTypoAscender:1549,sTypoDescender:-444,sTypoLineGap:198},defaultAdvance:1100,cjkAdvance:2048,advances:[[32,1,504],[33,1,614],[34,1,679],[35,1,1257],[36,1,1024],[37,1,1539],[38,1,1350],[39,1,391],[40,1,614],[41,1,614],[42,1,842],[43,1,1257],[44,1,504],[45,1,751],[46,1,504],[47,1,797],[48,10,1257],[58,1,569],[59,1,569],[60,1,1257],[61,1,1257],[62,1,1257],[63,1,885],[64,1,1614],[65,1,1350],[66,1,1273],[67,1,1161],[68,1,1427],[69,1,1163],[70,1,1074],[71,1,1314],[72,1,1517],[73,1,721],[74,1,772],[75,1,1397],[76,1,1176],[77,1,1770],[78,1,1462],[79,1,1392],[80,1,1118],[81,1,1392],[82,1,1321],[83,1,1019],[84,1,1163],[85,1,1456],[86,1,1321],[87,1,1887],[88,1,1314],[89,1,1220],[90,1,1055],[91,1,614],[92,1,797],[93,1,614],[94,1,1257],[95,1,1024],[96,1,682],[97,1,1019],[98,1,1100],[99,1,866],[100,1,1106],[101,1,958],[102,1,654],[103,1,1006],[104,1,1152],[105,1,606],[106,1,606],[107,1,1048],[108,1,606],[109,1,1700],[110,1,1131],[111,1,1042],[112,1,1100],[113,1,1100],[114,1,772],[115,1,820],[116,1,688],[117,1,1117],[118,1,1019],[119,1,1559],[120,1,1007],[121,1,1012],[122,1,880],[123,1,637],[124,1,583],[125,1,637],[126,1,1257]]},DT={header:{unitsPerEm:2048,usWinAscent:2049,usWinDescent:423,maxDigitAdvance:1118,sTypoAscender:1566,sTypoDescender:-423,sTypoLineGap:59},defaultAdvance:1050,cjkAdvance:2048,advances:[[32,1,461],[33,1,536],[34,1,717],[35,1,1232],[36,1,1014],[37,1,1625],[38,1,1327],[39,1,428],[40,1,616],[41,1,616],[42,1,900],[43,1,1232],[44,1,504],[45,1,700],[46,1,504],[47,1,753],[48,10,1118],[58,1,567],[59,1,567],[60,1,1232],[61,1,1232],[62,1,1232],[63,1,974],[64,1,1810],[65,1,1205],[66,1,1200],[67,1,1130],[68,1,1327],[69,1,1117],[70,1,1032],[71,1,1306],[72,1,1308],[73,1,614],[74,1,794],[75,1,1195],[76,1,1003],[77,1,1500],[78,1,1308],[79,1,1381],[80,1,1103],[81,1,1381],[82,1,1200],[83,1,1117],[84,1,1100],[85,1,1300],[86,1,1205],[87,1,1723],[88,1,1119],[89,1,1130],[90,1,1068],[91,1,616],[92,1,753],[93,1,616],[94,1,1232],[95,1,893],[96,1,1118],[97,1,1066],[98,1,1141],[99,1,942],[100,1,1141],[101,1,1086],[102,1,639],[103,1,1141],[104,1,1126],[105,1,500],[106,1,548],[107,1,1023],[108,1,500],[109,1,1705],[110,1,1126],[111,1,1103],[112,1,1141],[113,1,1141],[114,1,714],[115,1,918],[116,1,700],[117,1,1126],[118,1,1e3],[119,1,1500],[120,1,1e3],[121,1,1e3],[122,1,880],[123,1,616],[124,1,540],[125,1,616],[126,1,1232]]},OT={header:{unitsPerEm:2048,usWinAscent:1923,usWinDescent:455,maxDigitAdvance:1074,sTypoAscender:1510,sTypoDescender:-420,sTypoLineGap:0},defaultAdvance:1e3,cjkAdvance:2048,advances:[[32,1,453],[33,1,545],[34,1,613],[35,1,1107],[36,1,1074],[37,1,1341],[38,1,1213],[39,1,360],[40,1,616],[41,1,616],[42,1,860],[43,1,1107],[44,1,453],[45,1,697],[46,1,453],[47,1,766],[48,10,1074],[58,1,453],[59,1,453],[60,1,1107],[61,1,1107],[62,1,1107],[63,1,860],[64,1,1648],[65,1,1227],[66,1,1227],[67,1,1139],[68,1,1309],[69,1,1139],[70,1,1057],[71,1,1309],[72,1,1395],[73,1,627],[74,1,791],[75,1,1260],[76,1,1057],[77,1,1456],[78,1,1350],[79,1,1395],[80,1,1139],[81,1,1395],[82,1,1215],[83,1,1057],[84,1,1139],[85,1,1350],[86,1,1227],[87,1,1730],[88,1,1260],[89,1,1139],[90,1,1139],[91,1,616],[92,1,766],[93,1,616],[94,1,1107],[95,1,1074],[96,1,860],[97,1,1013],[98,1,1074],[99,1,936],[100,1,1074],[101,1,1013],[102,1,627],[103,1,1074],[104,1,1074],[105,1,545],[106,1,538],[107,1,1013],[108,1,545],[109,1,1539],[110,1,1074],[111,1,1074],[112,1,1074],[113,1,1074],[114,1,715],[115,1,860],[116,1,627],[117,1,1074],[118,1,936],[119,1,1481],[120,1,936],[121,1,936],[122,1,860],[123,1,616],[124,1,604],[125,1,616],[126,1,1107]]},kT={},AT={},uT(`calibri`,bT),uT(`arial`,xT,ST),uT(`times new roman`,CT),uT(`courier new`,wT),uT(`verdana`,TT),uT(`georgia`,ET),uT(`tahoma`,DT),uT(`trebuchet ms`,OT),jT={aptos:[1.03,1.37,1],"aptos display":[.96,1.31,1],"aptos narrow":[.82,1.07,1],"aptos serif":[.98,1.31,1],"calibri light":[.98,1.19,1],cambria:[1.07,1.28,1],"century gothic":[1.19,1.36,1],"comic sans ms":[1.14,1.46,1],consolas:[1.21,1.21,1],constantia:[1.05,1.34,1],corbel:[.97,1.2,1],garamond:[1.16,1.39,1],impact:[.96,1.01,1],"lucida console":[1.21,1.21,1],"lucida sans unicode":[1.16,1.4,1],"microsoft sans serif":[1.07,1.35,1],"palatino linotype":[1.12,1.44,1],"segoe ui":[1.08,1.31,1],"book antiqua":[1.12,1.44,1],candara:[1.02,1.25,1],"franklin gothic medium":[1.08,1.33,1],"goudy old style":[1.02,1.34,1],rockwell:[1.14,1.35,1],"tw cen mt":[.95,1.17,1],"microsoft yahei":[1.18,1.3,1.18],"microsoft yahei ui":[1.18,1.3,1.18],simsun:[1.1,1.1,1.1],宋体:[1.1,1.1,1.1],simhei:[1.1,1.1,1.1],黑体:[1.1,1.1,1.1],nsimsun:[1.1,1.1,1.1],新宋体:[1.1,1.1,1.1],dengxian:[1.05,1.28,1.08],等线:[1.05,1.28,1.08],fangsong:[1.1,1.1,1.1],仿宋:[1.1,1.1,1.1],kaiti:[1.1,1.1,1.1],楷体:[1.1,1.1,1.1],meiryo:[1.18,1.3,1.18],"meiryo ui":[1.1,1.2,1.18],"ms gothic":[1.21,1.21,1.1],"MS ゴシック":[1.21,1.21,1.1],"ms pgothic":[1.07,1.33,1.1],"ms mincho":[1.21,1.21,1.1],"yu gothic":[1.17,1.32,1.18],"yu gothic ui":[1.08,1.22,1.18],"yu mincho":[1.1,1.28,1.18],"malgun gothic":[1.12,1.28,1.14],"맑은 고딕":[1.12,1.28,1.14],batang:[1.1,1.1,1.1],gulim:[1.1,1.1,1.1],dotum:[1.1,1.1,1.1]},MT=new Map}));function PT(e,t,n,r,i){if(t===`calibri`&&n===iE){let t=gT(e);if(t!==void 0)return t}if(i){let t=hT(i,e),r=Math.round(n/72*rE);return Math.round(t/i.header.unitsPerEm*r)}}function FT(e){return{name:(e?.name??aE).toLowerCase(),size:e?.size??iE,bold:e?.bold??!1,italic:e?.italic??!1,vertAlign:e?.vertAlign}}function IT(e,t){if(!e)return 0;let n=FT(t),r=fT(n.name,n.bold),i=e.split(/\r\n|\r|\n/),a=0;for(let e of i){let t=LT(e,n,r);t>a&&(a=t)}return a}function LT(e,t,n){return e?n||t.name===`calibri`&&t.size===iE?RT(e,t,n):zT(e,t):0}function RT(e,t,n){let r=0;for(let i of e)r+=YT(i.codePointAt(0),t,n);return t.vertAlign&&(r=Math.ceil(r*.6)),r}function zT(e,t){let n=_T(t.name),r=n?.[0]??1,i=n?.[1]??1.3,a=n?.[2]??1,o=0,s=0,c=0;for(let t of e)vT(t.codePointAt(0))?c+=2:t>=`A`&&t<=`Z`?s++:o++;let l=(o*r+s*i+c*a)*(t.size/iE);t.bold&&(l*=1.05),t.italic&&(l*=1.02),t.vertAlign&&(l*=.6);let u=VT({name:t.name,size:t.size});return Math.ceil(l*u)}function BT(e,t){let n=0,r=0;for(let i of e){let e=i.font?{...t,...i.font}:t,a=i.text.split(/\r\n|\r|\n/);for(let t=0;t<a.length;t++)t>0&&(r>n&&(n=r),r=0),a[t]&&(r+=IT(a[t],e))}return r>n&&(n=r),n}function VT(e){let t=(e?.name??aE).toLowerCase(),n=e?.size??iE;if(t===`calibri`&&n===iE)return oE;let r=fT(t);if(r){let e=Math.round(n/72*rE);return Math.round(r.header.maxDigitAdvance/r.header.unitsPerEm*e)}return Math.max(1,Math.round(n/iE*oE))}function HT(e){return 2*Math.ceil(e/4)+1}function UT(e,t){return t<=0?0:Math.trunc(e/t*256)/256}function WT(e,t){if(t<=0)return 0;let n=HT(t);return e===0?0:e<1?Math.round(e*(t+n)):Math.round(e*t)+n}function GT(e){return e*72/rE}function KT(e,t,n){if(e<=0)return 0;let r=e+2*Math.ceil(e*.03+t/4)+1;n&&(r+=lE),r>sE&&(r=sE);let i=UT(r,t);return Math.min(i,cE)}function qT(e){let t=(e?.name??aE).toLowerCase(),n=e?.size??iE,r=Math.round(n/72*rE),i=fT(t);if(i){let{unitsPerEm:e,usWinDescent:t}=i.header;return(e+t)/e*r}return r*1.3}function JT(e,t,n){if(!e||t<=0)return 1;let r=FT(n),i=fT(r.name,r.bold),a=e.split(/\r\n|\r|\n/),o=0;for(let e of a){if(!e){o++;continue}o+=XT(e,t,r,i)}return o}function YT(e,t,n){let r;if(n||t.name===`calibri`&&t.size===iE){let i=n??mT();r=PT(e,t.name,t.size,t.bold,i)??Math.round(i.defaultAdvance/i.header.unitsPerEm*Math.round(t.size/72*rE))}else r=Math.ceil(t.size/iE*VT({name:t.name,size:t.size})*(vT(e)?2:1));return t.bold&&!pT(t.name)&&(r=Math.ceil(r*1.05)),t.italic&&(r=Math.ceil(r*1.02)),r}function XT(e,t,n,r){let i=ZT(e);if(i.length===0)return 1;let a=1,o=0;for(let e of i){let i=0;for(let t of e)i+=YT(t.codePointAt(0),n,r);o===0?o=i:o+i>t?(a++,o=i):o+=i}return a}function ZT(e){let t=[],n=``;for(let r of e)n+=r,(r===` `||r===`-`||r===` `)&&(t.push(n),n=``);return n&&t.push(n),t}function QT(e,t,n,r){if(!e)return GT(qT(t));let i=qT(t),a;return a=n?.wrapText&&r&&r>0?JT(e,r,t):e.split(/\r\n|\r|\n/).length,GT(i*a)}function $T(e,t,n,r){let i=t?.size??iE,a=t;for(let n of e){let e=n.font?.size??t?.size??iE;e>i&&(i=e,a=n.font?{...t,...n.font}:t)}return QT(e.map(e=>e.text).join(``),a,n,r)}function eE(e,t){let n=WT(e,t),r=HT(t);return Math.max(0,n-r)}function tE(e){let t=e.effectiveType,n=e.font;if(t===8){let t=e.value;if(t&&typeof t==`object`&&`richText`in t)return BT(t.richText,n)}let r=fp(e);return r?IT(r,n):0}function nE(e,t,n){let r=e.font,i=e.alignment;if(e.effectiveType===8){let t=e.value;if(t&&typeof t==`object`&&`richText`in t)return $T(t.richText,r,i,n)}let a=fp(e);return a?QT(a,r,i,i?.wrapText?n:void 0):0}var rE,iE,aE,oE,sE,cE,lE,uE=t((()=>{bp(),NT(),rE=96,iE=11,aE=`Calibri`,oE=7,sE=1790,cE=255,lE=16}));function dE(e,t){if(typeof e==`string`){let t=Fa(e);return{row:t.r+1,col:t.c+1}}return typeof e==`number`?e===-1?{row:t+1,col:1}:{row:e+1,col:1}:{row:e.r+1,col:e.c+1}}var fE,pE=t((()=>{Bi(),Bd(),Ly(),pu(),la(),Fw(),Lw(),Ka(),Qw(),pa(),Wp(),kx(),lT(),Ba(),bp(),da(),Ad(),_b(),bb(),Tb(),uE(),fE=class{constructor(e){this._workbook=e.workbook,this.id=e.id??0,this.orderNo=e.orderNo??0,this.name=e.name||`sheet${this.id}`,this.state=e.state??`visible`,this._rows=[],this._columns=[],this._keys={},this._merges={},this.rowBreaks=[],this.colBreaks=[],this.properties={defaultRowHeight:15,outlineLevelCol:0,outlineLevelRow:0,...e.properties},this.pageSetup={margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:`portrait`,horizontalDpi:void 0,verticalDpi:void 0,fitToPage:!!(e.pageSetup&&(e.pageSetup.fitToWidth||e.pageSetup.fitToHeight)&&!e.pageSetup.scale),pageOrder:`downThenOver`,blackAndWhite:!1,draft:!1,cellComments:`None`,errors:`displayed`,scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null,...e.pageSetup},this.headerFooter={differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null,...e.headerFooter},this.dataValidations=new Iy,this.views=e.views??[],this.autoFilter=e.autoFilter??null,this._media=[],this._charts=[],this._sparklineGroups=[],this.sheetProtection=null,this.tables={},this.pivotTables=[],this.conditionalFormattings=[],this.formControls=[],this.ignoredErrors=[],this.threadedComments=[],this._watermark=null}get name(){return this._name}set name(e){e===void 0&&(e=`sheet${this.id}`),this._name!==e&&(this._name=this._workbook.validateSheetName(e,this))}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){let e=new fa;return this._rows.forEach(t=>{if(t){let n=t.dimensions;n&&e.expand(t.number,n.min,t.number,n.max)}}),e}get columns(){return this._columns}set columns(e){this._headerRowCount=e.reduce((e,t)=>{let n=Array.isArray(t.header)?t.header.length:+!!t.header;return Math.max(e,n)},0);let t=1,n=this._columns=[];e.forEach(e=>{let r=new zd(this,t++,!1);n.push(r),r.defn=e})}getColumnKey(e){return this._keys[e]}setColumnKey(e,t){this._keys[e]=t}deleteColumnKey(e){delete this._keys[e]}eachColumnKey(e){Object.keys(this._keys).forEach(t=>e(this._keys[t],t))}getColumn(e){let t;if(typeof e==`string`){let n=this._keys[e];if(n)return n;t=E.l2n(e)}else t=e;if(t>this._columns.length){let e=this._columns.length+1;for(;e<=t;)this._columns.push(new zd(this,e++))}return this._columns[t-1]}spliceColumns(e,t,...n){for(let e of Object.values(this._merges))for(let t=e.top;t<=e.bottom;t++)for(let n=e.left;n<=e.right;n++){let e=this.findCell(t,n);e&&e.type===1&&e.unmerge()}let r=this._rows.length;if(n.length>0)for(let i=0;i<r;i++){let r=n.map(e=>e[i]??null);this.getRow(i+1).splice(e,t,...r)}else this._rows.forEach(n=>{n&&n.splice(e,t)});let i=n.length-t,a=e+t,o=this._columns.length;if(i<0)for(let t=e+n.length;t<=o;t++)this.getColumn(t).defn=this.getColumn(t-i).defn;else if(i>0)for(let e=o;e>=a;e--)this.getColumn(e+i).defn=this.getColumn(e).defn;for(let t=e;t<e+n.length;t++)this.getColumn(t).defn=void 0;if(this.workbook.definedNames.spliceColumns(this.name,e,t,n.length),i!==0){for(let t of this._media)if(t.type===`image`&&t.range){let{tl:n,br:r}=t.range;n&&n.nativeCol>=e-1&&(n.nativeCol=Math.max(0,n.nativeCol+i)),r&&r.nativeCol>=e-1&&(r.nativeCol=Math.max(0,r.nativeCol+i))}this._shiftChartAnchors(`col`,e-1,i)}this._spliceMerges(`col`,e,t,n.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let e=0;return this.eachRow(t=>{e=Math.max(e,t.cellCount)}),e}get actualColumnCount(){let e=[],t=0;return this.eachRow(n=>{n.eachCell(({col:n})=>{e[n]||(e[n]=!0,t++)})}),t}_commitRow(e){}get _lastRowNumber(){let e=this._rows,t=e.length;for(;t>0&&e[t-1]===void 0;)t--;return t}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1]}findRow(e){return this._rows[e-1]}findRows(e,t){return this._rows.slice(e-1,e-1+t)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let e=0;return this.eachRow(()=>{e++}),e}getRow(e){let t=this._rows[e-1];return t||=this._rows[e-1]=new Up(this,e),t}getRows(e,t){if(t<1)return;let n=[];for(let r=e;r<e+t;r++)n.push(this.getRow(r));return n}addRow(e,t=`n`){let n=this._nextRow,r=this.getRow(n);return r.values=e,this._setStyleOption(n,t[0]===`i`?t:`n`),r}addRows(e,t=`n`){let n=[];return e.forEach(e=>{n.push(this.addRow(e,t))}),n}insertRow(e,t,n=`n`){return this.spliceRows(e,0,t),this._setStyleOption(e,n),this.getRow(e)}insertRows(e,t,n=`n`){if(this.spliceRows(e,0,...t),n!==`n`)for(let r=0;r<t.length;r++)n[0]===`o`&&this.findRow(t.length+e+r)!==void 0?this._copyStyle(t.length+e+r,e+r,n[1]===`+`):n[0]===`i`&&this.findRow(e-1)!==void 0&&this._copyStyle(e-1,e+r,n[1]===`+`);return this.getRows(e,t.length)}_setStyleOption(e,t=`n`){t[0]===`o`&&this.findRow(e+1)!==void 0?this._copyStyle(e+1,e,t[1]===`+`):t[0]===`i`&&this.findRow(e-1)!==void 0&&this._copyStyle(e-1,e,t[1]===`+`)}_copyStyle(e,t,n=!1){let r=this.getRow(e),i=this.getRow(t);i.style=kd(r.style)??{},r.eachCell({includeEmpty:n},(e,t)=>{i.getCell(t).style=kd(e.style)??{}}),i.height=r.height}duplicateRow(e,t,n=!1){let r=this.getRow(e),i=Array.from({length:t}).fill(r.values),a=[];for(let t of Object.values(this._merges))t.top===e&&t.bottom===e&&a.push(t);let o=[],s=e-1;for(let e of this._media)e.type===`image`&&e.range&&e.range.tl.nativeRow===s&&o.push(e);this.spliceRows(e+1,n?0:t,...i);for(let n=0;n<t;n++){let t=this._rows[e+n];t.style=kd(r.style)??{},t.height=r.height,r.eachCell({includeEmpty:!0},(e,n)=>{t.getCell(n).style=kd(e.style)??{}})}if(a.length>0)for(let r=0;r<t;r++){let t=e+1+r;if(!n){let e=[];for(let[n,r]of Object.entries(this._merges))r.top<=t&&r.bottom>=t&&e.push(n);for(let t of e)this._unMergeMaster(this.getCell(t))}for(let e of a)this.mergeCellsWithoutStyle(t,e.left,t,e.right)}if(!n){let n=e,r=e+t-1;this._media=this._media.filter(e=>{if(e.type===`image`&&e.range){let t=e.range.tl.nativeRow;return t<n||t>r}return!0})}for(let e=0;e<t;e++){let t=e+1;for(let e of o){let n=e.clone();if(n.range.tl.nativeRow=s+t,n.range.br){let r=e.range.br.nativeRow-s;n.range.br.nativeRow=s+t+r}this._media.push(n)}}}spliceRows(e,t,...n){for(let e of Object.values(this._merges))for(let t=e.top;t<=e.bottom;t++)for(let n=e.left;n<=e.right;n++){let e=this.findCell(t,n);e&&e.type===1&&e.unmerge()}let r=e+t,i=n.length,a=i-t,o=this._rows.length,s,c;if(a<0)for(e===o&&(this._rows[o-1]=void 0),s=r;s<=o;s++)if(c=this._rows[s-1],c){let e=this.getRow(s+a);e.values=c.values,e.style=kd(c.style)??{},e.height=c.height,c.eachCell({includeEmpty:!0},(t,n)=>{e.getCell(n).style=kd(t.style)??{}}),this._rows[s-1]=void 0}else this._rows[s+a-1]=void 0;else if(a>0)for(s=o;s>=r;s--)if(c=this._rows[s-1],c){let e=this.getRow(s+a);e.values=c.values,e.style=kd(c.style)??{},e.height=c.height,c.eachCell({includeEmpty:!0},(t,n)=>{e.getCell(n).style=kd(t.style)??{}})}else this._rows[s+a-1]=void 0;for(s=0;s<i;s++){let t=this.getRow(e+s);t.style={},t.values=n[s]}if(this.workbook.definedNames.spliceRows(this.name,e,t,i),a!==0){for(let t of this._media)if(t.type===`image`&&t.range){let{tl:n,br:r}=t.range;n&&n.nativeRow>=e-1&&(n.nativeRow=Math.max(0,n.nativeRow+a)),r&&r.nativeRow>=e-1&&(r.nativeRow=Math.max(0,r.nativeRow+a))}this._shiftChartAnchors(`row`,e-1,a)}this._spliceMerges(`row`,e,t,i)}eachRow(e,t){let n,r;if(typeof e==`function`?r=e:(n=e,r=t),n&&n.includeEmpty){let e=this._rows.length;for(let t=1;t<=e;t++)r(this.getRow(t),t)}else this._rows.forEach(e=>{e&&e.hasValues&&r(e,e.number)})}getSheetValues(){let e=[];return this._rows.forEach(t=>{t&&(e[t.number]=t.values)}),e}findCell(e,t){let n=E.getAddress(e,t),r=this._rows[n.row-1];return r?r.findCell(n.col):void 0}getCell(e,t){let n=E.getAddress(e,t);return this.getRow(n.row).getCellEx(n)}mergeCells(...e){let t=new fa(e);this._mergeCellsInternal(t)}mergeCellsWithoutStyle(...e){let t=new fa(e);this._mergeCellsInternal(t,!0)}_mergeCellsInternal(e,t){Object.values(this._merges).forEach(t=>{if(t.intersects(e))throw new Zi});let{top:n,left:r,bottom:i,right:a}=e,o=t?void 0:vb(n,r,i,a,(e,t)=>this.findCell(e,t)),s=this.getCell(e.top,e.left);for(let e=n;e<=i;e++)for(let i=r;i<=a;i++)(e>n||i>r)&&this.getCell(e,i).merge(s,t);o&&yb(n,r,i,a,o,(e,t)=>this.getCell(e,t)),this._merges[s.address]=e}_unMergeMaster(e){let t=this._merges[e.address];if(t){for(let e=t.top;e<=t.bottom;e++)for(let n=t.left;n<=t.right;n++)this.getCell(e,n).unmerge();delete this._merges[e.address]}}_shiftChartAnchors(e,t,n){let r=e===`row`?`nativeRow`:`nativeCol`,i=this._drawing;if(i?.anchors)for(let e of i.anchors){let i=e.range?.tl,a=e.range?.br;i&&i[r]>=t&&(i[r]=Math.max(0,i[r]+n)),a&&a[r]>=t&&(a[r]=Math.max(0,a[r]+n))}for(let e of this._charts){let{tl:i,br:a}=e.range;i[r]>=t&&(i[r]=Math.max(0,i[r]+n)),a&&a[r]>=t&&(a[r]=Math.max(0,a[r]+n))}}_spliceMerges(e,t,n,r){let i=r-n;if(i===0&&n===0)return;let a=t+n,o=e===`row`,s={};for(let e of Object.values(this._merges)){let{top:r,left:c,bottom:l,right:u}=e.model,d=o?r:c,f=o?l:u;if(i<=0&&n>0){let n=a-1;if(d>n){let e=o?new fa(r+i,c,l+i,u):new fa(r,c+i,l,u+i);s[E.encodeAddress(e.top,e.left)]=e}else if(f<t)s[E.encodeAddress(r,c)]=e;else if(!(d>=t&&f<=n)){let e=r,n=c,a=l,d=u;o?(e=r<t?r:t,a=Math.max(e,l+i)):(n=c<t?c:t,d=Math.max(n,u+i));let f=new fa(e,n,a,d);e===a&&n===d||(s[E.encodeAddress(f.top,f.left)]=f)}}else if(d>=a){let e=o?new fa(r+i,c,l+i,u):new fa(r,c+i,l,u+i);s[E.encodeAddress(e.top,e.left)]=e}else f<a||(o?e.model.bottom=l+i:e.model.right=u+i),s[E.encodeAddress(r,c)]=e}this._merges=s;for(let e of Object.values(s)){let t=this.getCell(e.top,e.left);for(let n=e.top;n<=e.bottom;n++)for(let r=e.left;r<=e.right;r++)(n>e.top||r>e.left)&&this.getCell(n,r).merge(t,!0)}}get hasMerges(){return Object.values(this._merges).some(Boolean)}get mergedRegions(){return Object.values(this._merges).map(e=>({top:e.top,left:e.left,bottom:e.bottom,right:e.right}))}unMergeCells(...e){let t=new fa(e);for(let e=t.top;e<=t.bottom;e++)for(let n=t.left;n<=t.right;n++){let t=this.findCell(e,n);t&&(t.type===1?this._unMergeMaster(t.master):this._merges[t.address]&&this._unMergeMaster(t))}}fillFormula(e,t,n,r=`shared`){let{top:i,left:a,bottom:o,right:s}=E.decode(e),c=s-a+1,l=E.encodeAddress(i,a),u=r===`shared`,d;d=typeof n==`function`?n:Array.isArray(n)?Array.isArray(n[0])?(e,t)=>n[e-i][t-a]:(e,t)=>n[(e-i)*c+(t-a)]:()=>void 0;let f=!0;for(let n=i;n<=o;n++)for(let i=a;i<=s;i++)if(f){let a=this.getCell(n,i);a.value={shareType:r,formula:t,ref:e,result:d(n,i)},f=!1}else this.getCell(n,i).value=u?{sharedFormula:l,result:d(n,i)}:d(n,i)}addImage(e,t){let n={type:`image`,imageId:String(e),range:t};this._media.push(new Iw(this,n))}getImages(){return this._media.filter(e=>e.type===`image`)}addChart(e,t){let n=T();return this._registerChart(n.buildChartModel(e),t,e)}addColumnChart(e,t){return this.addChart({...e,type:`bar`,barDir:`col`},t)}addBarChart(e,t){return this.addChart({...e,type:`bar`,barDir:`bar`},t)}addLineChart(e,t){return this.addChart({...e,type:`line`},t)}addAreaChart(e,t){return this.addChart({...e,type:`area`},t)}addPieChart(e,t){return this.addChart({...e,type:`pie`},t)}addDoughnutChart(e,t){return this.addChart({...e,type:`doughnut`},t)}addScatterChart(e,t){return this.addChart({...e,type:`scatter`},t)}addBubbleChart(e,t){return this.addChart({...e,type:`bubble`},t)}addRadarChart(e,t){return this.addChart({...e,type:`radar`},t)}addStockChart(e,t){return this.addChart({...e,type:`stock`},t)}addSurfaceChart(e,t){return this.addChart({...e,type:`surface`},t)}addHistogramChart(e,t){return this.addChartEx({...e,type:`histogram`},t)}addParetoChart(e,t){return this.addChartEx({...e,type:`pareto`},t)}addWaterfallChart(e,t){return this.addChartEx({...e,type:`waterfall`},t)}addFunnelChart(e,t){return this.addChartEx({...e,type:`funnel`},t)}addTreemapChart(e,t){return this.addChartEx({...e,type:`treemap`},t)}addSunburstChart(e,t){return this.addChartEx({...e,type:`sunburst`},t)}addBoxWhiskerChart(e,t){return this.addChartEx({...e,type:`boxWhisker`},t)}addRegionMapChart(e,t){return this.addChartEx({...e,type:`regionMap`},t)}addPresetChart(e,t,n){return this.addChart(T().applyChartPreset(e,t),n)}addPresetChartEx(e,t,n){return this.addChartEx(T().applyChartExPreset(e,t),n)}seriesFromColumns(e){return T().seriesFromColumns(this.name,e)}addChartFromTable(e,t,n){return this.addChart(T().chartOptionsFromTable(this,e,t),n)}addChartFromRows(e,t,n){return this.addChart(T().chartOptionsFromRows(this,e,t),n)}addColumnChartFromRows(e,t,n){return this.addChart(T().chartOptionsFromRows(this,e,{...t,type:`bar`,barDir:`col`}),n)}addChartExFromTable(e,t,n){return this.addChartEx(T().chartExOptionsFromTable(this,e,t),n)}addChartExFromRows(e,t,n){return this.addChartEx(T().chartExOptionsFromRows(this,e,t),n)}addPivotChart(e,t,n){let r=Va(e,t);return this._registerChart(T().buildChartModel(r),n,r)}addPivotComboChart(e,t,n){let r=Va(e,t);return this._registerChart(T().buildComboChartModel(r),n,r)}addComboChart(e,t){return this._registerChart(T().buildComboChartModel(e),t,e)}addChartEx(e,t){let n=T().buildChartExModel(e);return this._registerChartEx(n,t)}_registerChartEx(e,t){let n=T(),r=this._workbook.nextChartExNumber();try{n.fillChartExCaches(e,this._workbook,this)}catch{}this._workbook.addChartExStructuredEntry({chartExNumber:r,model:e});let i=n.createChart(this,{chartExNumber:r},t);return this._charts.push(i),r}_registerChart(e,t,n){let r=T(),i=this._workbook.nextChartNumber();try{r.fillChartCaches(e,this._workbook,this)}catch{}let a={chartNumber:i,model:e};try{r.resolvePendingChartImages(a,this._workbook,i)}catch{}this._workbook.addChartEntry(a),this._applyChartSidecars(i,n);let o=r.createChart(this,{chartNumber:i},t);return this._charts.push(o),i}_applyChartSidecars(e,t){if(!t?.chartStyle&&!t?.chartColors)return;let n=T();t?.chartStyle&&this._workbook.setChartStyle(e,new TextEncoder().encode(n.buildChartStyle(t.chartStyle))),t?.chartColors&&this._workbook.setChartColors(e,new TextEncoder().encode(n.buildChartColors(t.chartColors)))}getCharts(){return[...this._charts]}removeChart(e){let t=typeof e==`number`?e:this._charts.indexOf(e);if(t<0||t>=this._charts.length)return!1;let n=this._charts.splice(t,1)[0];n.chartNumber>0&&this._workbook.removeChartEntry?.(n.chartNumber),n.chartExNumber>0&&this._workbook.removeChartExStructuredEntry?.(n.chartExNumber);let r=this._drawing;return r?.anchors&&(r.anchors=r.anchors.filter(e=>!(n.chartNumber>0&&e.chartNumber===n.chartNumber||n.chartExNumber>0&&e.chartExNumber===n.chartExNumber))),!0}addSparklineGroup(e){let t=_x(e);return this._sparklineGroups.push(t),t}getSparklineGroups(){return[...this._sparklineGroups]}get sparklineGroups(){return this._sparklineGroups}set sparklineGroups(e){this._sparklineGroups=e??[]}removeSparklineGroup(e){let t=typeof e==`number`?e:this._sparklineGroups.indexOf(e);return t<0||t>=this._sparklineGroups.length?!1:(this._sparklineGroups.splice(t,1),!0)}addBackgroundImage(e){let t=this._workbook.getImage(e);if(t&&fb(t))throw new sa(`Background images cannot be external (linked) images. Use an embedded image (buffer/base64/filename). External images are only supported for cell pictures and overlay watermarks.`);let n={type:`background`,imageId:String(e)};this._media.push(new Iw(this,n))}getBackgroundImageId(){let e=this._media.find(e=>e.type===`background`);return e&&e.imageId}addWatermark(e){let t=e.mode??`overlay`;if(t===`header`){let t=this._workbook.getImage(e.imageId);if(t&&fb(t))throw new sa(`Header watermark images cannot be external (linked) images. Use an embedded image (buffer/base64/filename), or use overlay mode for linked images.`)}if(this._media=this._media.filter(e=>e.type!==`watermark`&&e.type!==`headerImage`),this._watermark={imageId:String(e.imageId),mode:t,opacity:e.opacity,headerWidth:e.headerWidth,headerHeight:e.headerHeight,applyTo:e.applyTo},this._watermark.mode===`overlay`){let t={type:`watermark`,imageId:String(e.imageId),opacity:e.opacity};this._media.push(new Iw(this,t))}else{let t={type:`headerImage`,imageId:String(e.imageId),headerWidth:e.headerWidth,headerHeight:e.headerHeight,applyTo:e.applyTo};this._media.push(new Iw(this,t))}}getWatermark(){return this._watermark}removeWatermark(){this._watermark=null,this._media=this._media.filter(e=>e.type!==`watermark`&&e.type!==`headerImage`)}addFormCheckbox(e,t){let n=new Pw(this,e,t);return this.formControls.push(n),n}getFormCheckboxes(){return this.formControls}async protect(e,t){this.sheetProtection=await wb(e,t)}unprotect(){this.sheetProtection=null}addTable(e){let t=new cT(this,e),n=t.name.toLowerCase();if(this.tables[t.name])throw new oa(`Table name "${t.name}" already exists in worksheet "${this.name}".`);if(this.workbook._tableNames.has(n))throw new oa(`Table name "${t.name}" already exists in another worksheet. Table names must be unique across the entire workbook (case-insensitive).`);return this.tables[t.name]=t,this.workbook._tableNames.add(n),t}getTable(e){return this.tables[e]}removeTable(e){this.tables[e]&&this.workbook._tableNames.delete(e.toLowerCase()),delete this.tables[e]}getTables(){return Object.values(this.tables)}addPivotTable(e){let t=Hw(this,e);return this.pivotTables.push(t),this.workbook.pivotTables.push(t),t}addConditionalFormatting(e){this.conditionalFormattings.push(e)}removeConditionalFormatting(e){typeof e==`number`?this.conditionalFormattings.splice(e,1):typeof e==`function`?this.conditionalFormattings=this.conditionalFormattings.filter((t,n,r)=>!e(t,n,r)):this.conditionalFormattings=[]}autoFitColumn(e){let t=typeof e==`string`?E.l2n(e):e;return this._autoFitColumnImpl(t),this}autoFitColumns(e,t){let n=this.dimensions;if(!n||n.left===void 0)return this;let r=e==null?n.left:typeof e==`string`?E.l2n(e):e,i=t==null?n.right:typeof t==`string`?E.l2n(t):t;for(let e=r;e<=i;e++)this._autoFitColumnImpl(e);return this}autoFitRow(e){return this._autoFitRowImpl(e),this}autoFitRows(e,t){let n=this.dimensions;if(!n||n.top===void 0)return this;let r=e??n.top,i=t??n.bottom;for(let e=r;e<=i;e++)this._autoFitRowImpl(e);return this}_autoFitColumnImpl(e){let t=VT(),n=this._isColumnInAutoFilter(e),r=0;if(this._rows.forEach(n=>{if(!n||n.hidden)return;let i=n.findCell(e);if(!i||i.type===1)return;if(i.isMerged){let e=this._merges[i.address];if(e&&e.left!==e.right)return}if(i.alignment?.shrinkToFit)return;let a=tE(i),o=i.alignment?.indent;o&&o>0&&(a+=o*3*t),a>r&&(r=a)}),r>0){let i=KT(r,t,n);if(i>0){let t=this.getColumn(e);t.width=i,t.bestFit=!0}}}_autoFitRowImpl(e){let t=this._rows[e-1];if(!t)return;let n=VT(),r=0;t.eachCell(e=>{if(e.type===1)return;if(e.isMerged){let t=this._merges[e.address];if(t&&t.top!==t.bottom)return}if(this._columns[e.col-1]?.hidden)return;let t=nE(e,n,this._getColumnContentWidthForCell(e,n));t>r&&(r=t)}),r>0&&(t.height=Math.ceil(r*4)/4,t.customHeight=!0)}_getColumnContentWidthForCell(e,t){if(e.alignment?.wrapText)return eE(this._columns[e.col-1]?.width??this.properties.defaultColWidth??9,t)}_isColumnInAutoFilter(e){if(!this.autoFilter)return!1;if(typeof this.autoFilter==`string`){let t=E.decode(this.autoFilter);return e>=t.left&&e<=t.right}let{from:t,to:n}=this.autoFilter,r=typeof t==`string`?E.decode(t).col:t.col,i=typeof n==`string`?E.decode(n).col:n.col;return e>=r&&e<=i}get model(){let e={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,colBreaks:this.colBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(e=>e.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(e=>e.model),pivotTables:this.pivotTables,conditionalFormattings:this.conditionalFormattings,formControls:this.formControls.map(e=>e.model),ignoredErrors:this.ignoredErrors,watermark:this._watermark,drawing:this._drawing,charts:this._charts.map(e=>e.model),sparklineGroups:this._sparklineGroups,threadedComments:this.threadedComments};e.cols=zd.toModel(this.columns);let t=e.rows=[],n=e.dimensions=new fa;return this._rows.forEach(e=>{let r=e&&e.model;r&&(n.expand(r.number,r.min,r.number,r.max),t.push(r))}),e.mergeCells=Object.values(this._merges).map(e=>e.range),e}_parseRows(e){this._rows=[],e.rows&&e.rows.forEach(e=>{let t=new Up(this,e.number);this._rows[t.number-1]=t,t.model=e})}_parseMergeCells(e){e.mergeCells&&e.mergeCells.forEach(e=>{this.mergeCellsWithoutStyle(e)})}set model(e){if(this.name=e.name,this.state=e.state,this._columns=zd.fromModel(this,e.cols??[]),this._parseRows(e),this._parseMergeCells(e),this.dataValidations=new Iy(e.dataValidations),this.properties=e.properties,this.pageSetup=e.pageSetup,this.headerFooter=e.headerFooter,this.rowBreaks=e.rowBreaks??[],this.colBreaks=e.colBreaks??[],this.views=e.views,this.autoFilter=e.autoFilter,this._media=e.media.map(e=>new Iw(this,e)),this._watermark=e.watermark??null,!this._watermark){for(let e of this._media)if(e.type===`watermark`){this._watermark={imageId:e.imageId??``,mode:`overlay`,opacity:e.opacity};break}else if(e.type===`headerImage`){this._watermark={imageId:e.imageId??``,mode:`header`,headerWidth:e.headerWidth,headerHeight:e.headerHeight};break}}this.sheetProtection=e.sheetProtection,this.tables=e.tables.reduce((e,t)=>{let n=new cT(this,t);return n.model=t,e[t.name]=n,this.workbook._tableNames.add(t.name.toLowerCase()),e},{}),this.pivotTables=e.pivotTables;for(let e of this.pivotTables??[])e.worksheetName??=this.name,e.name??=`PivotTable${e.tableNumber}`;this.conditionalFormattings=e.conditionalFormattings,this.ignoredErrors=e.ignoredErrors??[],this.threadedComments=e.threadedComments??[],this.formControls=(e.formControls??[]).map(e=>Pw.fromModel(this,e)),this._drawing=e.drawing;let t=Ri();t&&e.charts&&e.charts.length>0?this._charts=e.charts.map(e=>t.createChart(this,{chartNumber:e.chartNumber,chartExNumber:e.chartExNumber},e.range)):t&&e.drawing?.anchors?this._charts=e.drawing.anchors.filter(e=>e.chartNumber||e.chartExNumber).map(e=>t.createChart(this,{chartNumber:e.chartNumber??0,chartExNumber:e.chartExNumber??0},e.range)):this._charts=[]}toJSON(e){let t=e||{},n=1,r=this.rowCount,i=1,a=this.columnCount;if(t.range!==void 0){if(typeof t.range==`number`)n=t.range+1;else if(typeof t.range==`string`){let e=La(t.range);n=e.s.r+1,r=e.e.r+1,i=e.s.c+1,a=e.e.c+1}}if(r<n||a<i)return[];let o=t.header;if(o===1){let e=[],o=t.blankRows!==!1;for(let s=n;s<=r;s++){let n=[],r=!0;for(let e=i;e<=a;e++){let a=this.getCell(s,e),o=t.raw===!1?fp(a,t.dateFormat).trim():a.value;o!=null&&o!==``?(n[e-i]=o,r=!1):t.defaultValue===void 0?n[e-i]=null:n[e-i]=t.defaultValue}(!r||o)&&e.push(n)}return e}if(o===`A`){let e=[],o=t.blankRows===!0;for(let s=n;s<=r;s++){let n={},r=!0;for(let e=i;e<=a;e++){let i=this.getCell(s,e),a=t.raw===!1?fp(i,t.dateFormat).trim():i.value,o=Ma(e-1);a!=null&&a!==``?(n[o]=a,r=!1):t.defaultValue!==void 0&&(n[o]=t.defaultValue)}(!r||o)&&e.push(n)}return e}if(Array.isArray(o)){let e=[],s=t.blankRows===!0;for(let c=n;c<=r;c++){let n={},r=!0;for(let e=i;e<=a;e++){let a=e-i,s=o[a]??`__EMPTY_${a}`,l=this.getCell(c,e),u=t.raw===!1?fp(l,t.dateFormat).trim():l.value;u!=null&&u!==``?(n[s]=u,r=!1):t.defaultValue!==void 0&&(n[s]=t.defaultValue)}(!r||s)&&e.push(n)}return e}let s=[],c={};for(let e=i;e<=a;e++){let t=this.getCell(n,e).value,r=t==null?`__EMPTY_${e-i}`:String(t);c[r]===void 0?c[r]=0:(c[r]++,r=`${r}_${c[r]}`),s.push(r)}let l=[],u=n+1,d=t.blankRows===!0;for(let e=u;e<=r;e++){let n={},r=!0;for(let o=i;o<=a;o++){let a=this.getCell(e,o),c=t.raw===!1?fp(a,t.dateFormat).trim():a.value,l=s[o-i];c!=null&&c!==``?(n[l]=c,r=!1):t.defaultValue!==void 0&&(n[l]=t.defaultValue)}(!r||d)&&l.push(n)}return l}addJSON(e,t){if(e.length===0)return this;let n=t||{},r=1,i=1;if(n.origin!==void 0){let e=dE(n.origin,this.rowCount);r=e.row,i=e.col}let a=new Set;e.forEach(e=>Object.keys(e).forEach(e=>a.add(e)));let o=n.header?[...n.header]:[...a];n.header&&a.forEach(e=>{o.includes(e)||o.push(e)});let s=r;n.skipHeader||(o.forEach((e,t)=>{this.getCell(s,i+t).value=e}),s++);for(let t of e)o.forEach((e,r)=>{let a=t[e];a===null&&n.nullError?this.getCell(s,i+r).value={error:`#NULL!`}:a!=null&&(this.getCell(s,i+r).value=a)}),s++;return this}toAOA(){let e=[];return this.eachRow({includeEmpty:!0},(t,n)=>{let r=[];t.eachCell({includeEmpty:!0},(e,t)=>{r[t-1]=e.value}),e[n-1]=r}),e}addAOA(e,t){if(e.length===0)return this;let n=1,r=1;if(t?.origin!==void 0){let e=dE(t.origin,this.rowCount);n=e.row,r=e.col}return e.forEach((e,t)=>{e&&e.forEach((e,i)=>{e!=null&&(this.getCell(n+t,r+i).value=e)})}),this}}}));function mE(e,t){if(e>TE)throw Error(`ZIP64 ${t} value ${e} exceeds Number.MAX_SAFE_INTEGER. The archive may be corrupted or malicious.`);return Number(e)}function hE(e){return e.encoding?ds(e.encoding):void 0}function gE(e,t=!1){for(let n=e.length-22;n>=0;n--)if(e[n]===80&&e[n+1]===75&&e[n+2]===5&&e[n+3]===6)if(t){let t=e[n+20]|e[n+21]<<8;if(n+22+t===e.length)return n}else return n;return-1}function _E(e,t){let n=t-20;return n<0?-1:e[n]===80&&e[n+1]===75&&e[n+2]===6&&e[n+3]===7?n:-1}function vE(e,t,n=!0,r){let i=new ks(e,t);i.skip(4);let a=i.readUint16(),o=i.readUint16(),s=i.readUint16(),c=i.readUint16(),l=i.readUint32(),u=i.readUint32(),d=i.readUint16(),f=``;if(d>0){let e=i.readBytes(d);n&&(f=r?r.decode(e):Xn(e))}return{eocd:{diskNumber:a,centralDirDisk:o,entriesOnDisk:s,totalEntries:c,centralDirSize:l,centralDirOffset:u},comment:f}}function yE(e,t){let n=new ks(e,t);return n.readUint32()===117853008?(n.skip(4),mE(n.readBigUint64(),`EOCD locator offset`)):-1}function bE(e,t){let n=new ks(e,t);return n.readUint32()===101075792?(n.skip(8),n.skip(2),n.skip(2),n.skip(4),n.skip(4),{entriesOnDisk:n.readBigUint64(),totalEntries:n.readBigUint64(),centralDirSize:n.readBigUint64(),centralDirOffset:n.readBigUint64()}):null}function xE(e,t){e.totalEntries===65535&&(e.totalEntries=mE(t.totalEntries,`totalEntries`)),e.entriesOnDisk===65535&&(e.entriesOnDisk=mE(t.entriesOnDisk,`entriesOnDisk`)),e.centralDirSize===4294967295&&(e.centralDirSize=mE(t.centralDirSize,`centralDirSize`)),e.centralDirOffset===4294967295&&(e.centralDirOffset=mE(t.centralDirOffset,`centralDirOffset`))}function SE(e,t,n){let r=e.readUint16();e.skip(2);let i=e.readUint16(),a=e.readUint16(),o=e.readUint16(),s=e.readUint16(),c=e.readUint32(),l=e.readUint32(),u=e.readUint32(),d=e.readUint16(),f=e.readUint16(),p=e.readUint16();e.skip(2),e.skip(2);let m=e.readUint32(),h=e.readUint32(),g=d>0?e.readBytes(d):new Uint8Array,_={},v=new Uint8Array;if(f>0){v=e.readBytes(f);let t={compressedSize:l,uncompressedSize:u,offsetToLocalFileHeader:h};_=kc(v,t),l=t.compressedSize,u=t.uncompressedSize,h=t.offsetToLocalFileHeader??h}let y=p>0?e.readBytes(p):new Uint8Array,b=t?hs(g,i,_,n):``,x=t?gs(y,i,_,n):``,S=Pc(m),ee=r>>8&255,te=Fc(S),ne=Ic(S)||ee===0&&(m&16)!=0||b.endsWith(`/`),re=(i&1)!=0,ie=te?`symlink`:ne?`directory`:`file`,ae=_.mtimeUnixSeconds,oe=Rs(s,o,ae),se=`none`,ce,le,ue;return re&&(a===99&&_.aesInfo?(se=`aes`,ce=_.aesInfo.version,le=_.aesInfo.keyStrength,ue=_.aesInfo.compressionMethod):se=`zipcrypto`),{path:b,type:ie,compressedSize:l,compressedSize64:_.compressedSize64,uncompressedSize:u,uncompressedSize64:_.uncompressedSize64,compressionMethod:a,crc32:c,lastModified:oe,localHeaderOffset:h,localHeaderOffset64:_.offsetToLocalFileHeader64,comment:x,externalAttributes:m,mode:S,versionMadeBy:r,extraField:v,isEncrypted:re,encryptionMethod:se,aesVersion:ce,aesKeyStrength:le,originalCompressionMethod:ue,dosTime:o}}function CE(e,t,n,r={}){let i=r.decodeStrings??!0,a=hE(r);if(n===0)return[];let o=Array(n),s=new ks(e,t);for(let e=0;e<n;e++){if(s.readUint32()!==33639248)throw Error(`Invalid Central Directory header signature at entry ${e}`);o[e]=SE(s,i,a)}return o}function wE(e,t={}){let n=t.decodeStrings??!0,r=hE(t),i=gE(e);if(i===-1)throw Error(`Invalid ZIP file: End of Central Directory not found`);let{eocd:a,comment:o}=vE(e,i,n,r),s=_E(e,i);if(s!==-1){let t=yE(e,s);if(t>=0){let n=bE(e,t);n&&xE(a,n)}}return{entries:CE(e,a.centralDirOffset,a.totalEntries,t),comment:o}}var TE,EE=t((()=>{ws(),As(),Hs(),Nc(),lr(),sl(),TE=BigInt(2**53-1)}));async function DE(e,t,n,r=!1,i=!0){let a;if(i&&e.uncompressedSize>NE)throw Error(`Entry "${e.path}" declares uncompressed size of ${e.uncompressedSize} bytes, which exceeds the maximum allowed size of ${NE} bytes. Use the streaming API for large entries.`);if(e.isEncrypted){if(!n)throw new Qo(e.path);if(e.encryptionMethod===`aes`&&e.aesKeyStrength){let r=await mc(t,n,e.aesKeyStrength);if(!r)throw new Zo(e.path);a=await kE(r,e.originalCompressionMethod??0,e.path)}else if(e.encryptionMethod===`zipcrypto`){let r=Uv(t,n,e.crc32,e.dosTime);if(!r)throw new Zo(e.path);a=await kE(r,e.compressionMethod,e.path)}else throw new Zo(e.path,`Unsupported encryption method`)}else a=await kE(t,e.compressionMethod,e.path);if(i&&a.length!==e.uncompressedSize){let t=a.length>e.uncompressedSize?`too-many-bytes`:`too-few-bytes`;throw new Xo(e.path,e.uncompressedSize,a.length,t)}if(e.encryptionMethod===`zipcrypto`||r&&e.encryptionMethod!==`aes`){let t=is(a);if(t!==e.crc32)throw new Yo(e.path,e.crc32,t)}return a}function OE(e,t,n,r=!0){let i;if(r&&e.uncompressedSize>NE)throw Error(`Entry "${e.path}" declares uncompressed size of ${e.uncompressedSize} bytes, which exceeds the maximum allowed size of ${NE} bytes. Use the streaming API for large entries.`);if(e.isEncrypted){if(!n)throw new Qo(e.path);if(e.encryptionMethod===`aes`)throw Error(`File "${e.path}" uses AES encryption. Use the async extract() method instead of extractSync().`);if(e.encryptionMethod===`zipcrypto`){let r=Uv(t,n,e.crc32,e.dosTime);if(!r)throw new Zo(e.path);i=AE(r,e.compressionMethod,e.path);let a=is(i);if(a!==e.crc32)throw new Yo(e.path,e.crc32,a)}else throw new Zo(e.path,`Unsupported encryption method`)}else i=AE(t,e.compressionMethod,e.path);if(r&&i.length!==e.uncompressedSize){let t=i.length>e.uncompressedSize?`too-many-bytes`:`too-few-bytes`;throw new Xo(e.path,e.uncompressedSize,i.length,t)}return i}async function kE(e,t,n){if(t===0)return e;if(t===8)return yv(e);throw new $o(t)}function AE(e,t,n){if(t===0)return e;if(t===8)return bv(e);throw new $o(t)}function jE(e,t){if(e.readUint32()!==67324752)throw Error(`Invalid local file header signature at offset ${t}`);e.skip(2),e.skip(2),e.skip(2),e.skip(2),e.skip(2),e.skip(4),e.skip(4),e.skip(4);let n=e.readUint16(),r=e.readUint16();return e.skip(n),e.skip(r),e.position}function ME(e,t){let n=jE(new ks(e,t.localHeaderOffset),t.localHeaderOffset);return e.subarray(n,n+t.compressedSize)}var NE,PE=t((()=>{wv(),cs(),Fv(),Yv(),es(),As(),sl(),NE=512*1024*1024}));function FE(e){if(e.uncompressedSize64!==void 0&&e.uncompressedSize64>zE||e.compressedSize64!==void 0&&e.compressedSize64>zE)throw Error(`File "${e.path}" is too large to extract into memory (ZIP64 size > 2^53-1)`);if(e.localHeaderOffset64!==void 0&&e.localHeaderOffset64>zE)throw Error(`File "${e.path}" has a ZIP64 offset > 2^53-1 and cannot be extracted by the in-memory parser`)}function IE(e,t={}){return wE(e,{decodeStrings:t.decodeStrings,encoding:t.encoding})}async function LE(e,t,n={}){return t.type===`directory`?Ja:(FE(t),DE(t,ME(e,t),n.password))}function RE(e,t,n={}){return t.type===`directory`?Ja:(FE(t),OE(t,ME(e,t),n.password))}var zE,BE,VE=t((()=>{Ya(),EE(),PE(),zE=BigInt(2**53-1),BE=class{constructor(e,t={}){this.data=e instanceof ArrayBuffer?new Uint8Array(e):e;let n=IE(this.data,t);this.entries=n.entries,this.archiveComment=n.comment,this.entryMap=new Map(this.entries.map(e=>[e.path,e])),this.password=t.password}setPassword(e){this.password=e}getEntries(){return this.entries}getEntry(e){return this.entryMap.get(e)}getRawCompressedData(e){let t=this.entryMap.get(e);return t?ME(this.data,t):null}getRawEntry(e){let t=this.entryMap.get(e);return t?{info:t,compressedData:ME(this.data,t)}:null}hasEntry(e){return this.entryMap.has(e)}childCount(e){let t=this.entryMap.get(e);if(t&&t.type!==`directory`)return 0;let n=e.endsWith(`/`)?e:e+`/`,r=t?.type===`directory`?t:this.entryMap.get(n),i=(r?.path??n).endsWith(`/`)?r?.path??n:(r?.path??n)+`/`,a=0;for(let e of this.entries)e.path.startsWith(i)&&e.path!==i&&a++;return a}getZipComment(){return this.archiveComment}hasEncryptedEntries(){return this.entries.some(e=>e.isEncrypted)}getEncryptedEntries(){return this.entries.filter(e=>e.isEncrypted)}listFiles(){return this.entries.map(e=>e.path)}async extract(e,t){let n=this.entryMap.get(e);return n?LE(this.data,n,{password:t??this.password}):null}extractSync(e,t){let n=this.entryMap.get(e);return n?RE(this.data,n,{password:t??this.password}):null}async extractAll(e){let t=new Map,n=e??this.password;for(let e of this.entries){let r=await LE(this.data,e,{password:n});t.set(e.path,r)}return t}extractAllSync(e){let t={},n=e??this.password;for(let e of this.entries)t[e.path]=RE(this.data,e,{password:n});return t}async forEach(e,t){let n=t??this.password;for(let t of this.entries){let r=null;if(await e(t,()=>(r||=LE(this.data,t,{password:n}),r))===!1)break}}}}));function HE(e){if(e.indexOf(`[`)===-1)return[];let t=[],n=WE(e),r=(e,r,i,a,o,s)=>{if(GE(e,n))return;let c=/^\d+$/.test(i);t.push({match:s,workbook:i,numeric:c,index:c?parseInt(i,10):null,sheet:KE(a),quoted:o,start:e,end:r})};qE.lastIndex=0;let i;for(;(i=qE.exec(e))!==null;)r(i.index,i.index+i[0].length,i[1],i[2],!1,i[0]);for(JE.lastIndex=0;(i=JE.exec(e))!==null;)r(i.index,i.index+i[0].length,i[1],i[2],!0,i[0]);t.sort((e,t)=>e.start-t.start);let a=[],o=-1;for(let e of t)e.start>=o&&(a.push(e),o=e.end);return a}function UE(e,t){let n=HE(e);if(n.length===0)return e;let r=``,i=0;for(let a of n){let n=t(a);if(n!==null){if(r+=e.slice(i,a.start),a.quoted){let t=e.slice(a.start+1,a.end-2);r+=`'`+t.replace(/^\[[^\]]*\]/,`[${n}]`)+`'!`}else r+=`[${n}]${a.match.slice(a.match.indexOf(`]`)+1)}`;i=a.end}}return r+=e.slice(i),r}function WE(e){if(e.indexOf(`"`)===-1)return[];let t=[],n=e.length,r=0;for(;r<n;)if(e[r]===`"`){let i=r;for(r++;r<n;){if(e[r]===`"`){if(r+1<n&&e[r+1]===`"`){r+=2;continue}r++;break}r++}t.push([i,r])}else r++;return t}function GE(e,t){for(let[n,r]of t)if(e>=n&&e<r)return!0;return!1}function KE(e){return e.replace(/''/g,`'`)}var qE,JE,YE=t((()=>{qE=/\[([^\]\\/:*?"<>|\s]+)\]([A-Za-z_\u00A1-\uFFFF][A-Za-z0-9_\u00A1-\uFFFF.]*)!/g,JE=/'\[([^\]]+)\]((?:''|[^'])+)'!/g}));function XE(e){return e===`symlink`}var ZE=t((()=>{}));async function QE(e){let t=new Map,n=new BE(e);for(let e of n.getEntries()){let r=await n.extract(e.path)||new Uint8Array,i;XE(e.type)&&r.length>0&&(i=Hn().decode(r)),t.set(e.path,{path:e.path,data:r,type:e.type,linkTarget:i,size:e.uncompressedSize,mode:e.mode})}return t}var $E=t((()=>{VE(),ZE(),lr()}));function eD(e){let t=Object.create(null);for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&!cD.has(n)&&(t[n]=e[n]);return t}function tD(e,t){return{type:`element`,name:e,attributes:eD(t),children:[]}}function nD(e,t){let n=e.children[e.children.length-1];n&&n.type===`text`?n.value+=t:e.children.push({type:`text`,value:t})}function rD(e,t){let n=t?.comments??!1,r=t?.processingInstructions??!1,a=t?.cdataAsNodes??!1,o=t?.fragment??!1,s=new Sd({position:!0,fragment:t?.fragment??!1,xmlns:t?.xmlns??!1,maxDepth:t?.maxDepth,maxEntityExpansions:t?.maxEntityExpansions,invalidCharHandling:t?.invalidCharHandling}),c=tD(`__root__`,{}),l=[c],u,d;if(s.on(`error`,e=>{d||=e instanceof gu?e:new gu(e.message)}),s.on(`opentag`,e=>{let t=tD(e.name,e.attributes);e.prefix!==void 0&&(t.prefix=e.prefix,t.local=e.local,t.uri=e.uri),e.ns&&(t.ns={...e.ns}),l[l.length-1].children.push(t),e.isSelfClosing||l.push(t)}),s.on(`closetag`,e=>{!e.isSelfClosing&&l.length>1&&l.pop()}),s.on(`text`,e=>{e.length!==0&&nD(l[l.length-1],e)}),s.on(`cdata`,e=>{let t=l[l.length-1];if(a){let n={type:`cdata`,value:e};t.children.push(n)}else nD(t,e)}),n&&s.on(`comment`,e=>{let t=l[l.length-1],n={type:`comment`,value:e};t.children.push(n)}),s.on(`pi`,(e,t)=>{if(e===`xml`){let e={},n=/(\w+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g,r;for(;(r=n.exec(t))!==null;)e[r[1]]=r[2]??r[3];u=e}else r&&l[l.length-1].children.push({type:`processing-instruction`,target:e,body:t})}),s.write(e),s.close(),d)throw i(d);let f=c.children.filter(e=>e.type===`element`);if(f.length===0)throw new gu(`document has no root element`);if(!o&&f.length>1)throw new gu(`document has multiple root elements`);let p=c.children.filter(e=>e.type===`comment`||e.type===`processing-instruction`);return{declaration:u,root:f[0],roots:f,prologue:p}}function iD(e,t){for(let n of e.children)if(n.type===`element`&&n.name===t)return n}function aD(e,t){let n=[];for(let r of e.children)r.type===`element`&&r.name===t&&n.push(r);return n}function oD(e){switch(e.type){case`text`:case`cdata`:return e.value;case`element`:{let t=``;for(let n of e.children)t+=oD(n);return t}default:return``}}function sD(e,t){t(e);for(let n of e.children)n.type===`element`&&sD(n,t)}var cD,lD=t((()=>{u(),vu(),Cd(),cD=new Set([`__proto__`,`constructor`,`prototype`,`__defineGetter__`,`__defineSetter__`,`__lookupGetter__`,`__lookupSetter__`])}));function uD(e){let t=e.lastIndexOf(`:`);return t===-1?e:e.slice(t+1)}function dD(e,t){return uD(e)===t}function M(e,t){for(let n of e.children)if(n.type===`element`&&dD(n.name,t))return n}function fD(e,t){let n=[];for(let r of e.children)r.type===`element`&&dD(r.name,t)&&n.push(r);return n}function pD(e,t){if(dD(e.name,t))return!0;let n=!1;return sD(e,e=>{!n&&dD(e.name,t)&&(n=!0)}),n}function N(e,t){let n=[];return dD(e.name,t)&&n.push(e),sD(e,r=>{r!==e&&dD(r.name,t)&&n.push(r)}),n}function P(e,t){let n=e.attributes[t];if(n!==void 0)return n;for(let n in e.attributes){let r=n.lastIndexOf(`:`);if(r!==-1&&n.slice(r+1)===t)return e.attributes[n]}}function mD(e,t){try{return rD(e)}catch(e){t(e instanceof Error?e:Error(String(e)));return}}var hD=t((()=>{lD()}));function gD(e){for(let[t,n]of e.files()){if(e.reporter.capped)return;n.type!==`directory`&&(oO.test(t)?_D(e,t):sO.test(t)&&MD(e,t))}}function _D(e,t){let n=e.readDom(t);if(!n)return;let r=n.root;pD(r,`chart`)||e.reporter.error(`chart-missing-chart`,`${t}: missing c:chart`,t),pD(r,`plotArea`)||e.reporter.error(`chart-missing-plotArea`,`${t}: missing c:plotArea`,t),vD(e,t,r)}function vD(e,t,n){yD(e,t,n),bD(e,t,n),xD(e,t,n),SD(e,t,n),CD(e,t,n),TD(e,t,n),jD(e,t,n),VD(e,t,n),UD(e,t,n),WD(e,t,n),GD(e,t,n),KD(e,t,n),qD(e,t,n),JD(e,t,n),YD(e,t,n),QD(e,t,n),nO(e,t,n),iO(e,t,n)}function yD(e,t,n){for(let r of uO)for(let i of N(n,r.parent)){if(e.reporter.capped)return;let n=i.children.filter(e=>e.type===`element`),a=e=>{if(r.choiceGroups){for(let t=0;t<r.choiceGroups.length;t++)if(r.choiceGroups[t].includes(e))return r.order.indexOf(`__${t===0?`CHART_TYPES`:`AXES`}__`)}return r.order.indexOf(e)},o=-1,s=``;for(let i of n){let n=uD(i.name),c=a(n);c<0||(c<o&&e.reporter.error(`chart-child-out-of-order`,`${t}: <c:${r.parent}> child <c:${n}> appears after <c:${s}> — ECMA-376 requires it before per CT_${wD(r.parent)}.`,t),c>=o&&(o=c,s=n))}}}function bD(e,t,n){for(let r of fO)for(let i of N(n,r.parent)){if(e.reporter.capped)return;let n=fD(i,r.child).length;n<r.min&&e.reporter.error(`chart-missing-required-child`,`${t}: <c:${r.parent}> has ${n} <c:${r.child}> child(ren); schema requires at least ${r.min}.`,t),r.max!==void 0&&n>r.max&&e.reporter.error(`chart-wrong-child-count`,`${t}: <c:${r.parent}> has ${n} <c:${r.child}> child(ren); schema permits at most ${r.max}.`,t)}}function xD(e,t,n){for(let r of pO)for(let i of N(n,r.element)){if(e.reporter.capped)return;let n=P(i,r.attr);n!==void 0&&(r.allowed.includes(n)||e.reporter.error(`chart-invalid-enum-value`,`${t}: <c:${r.element} ${r.attr}="${n}"> — ${n} is not in {${r.allowed.join(`, `)}}.`,t))}}function SD(e,t,n){for(let r of mO)for(let i of N(n,r.element)){if(e.reporter.capped)return;let n=P(i,r.attr);if(n===void 0)continue;let a=parseFloat(n);if(!Number.isFinite(a)){e.reporter.error(`chart-value-out-of-range`,`${t}: <c:${r.element} ${r.attr}="${n}"> is not a finite number.`,t);continue}(a<r.min||a>r.max)&&e.reporter.error(`chart-value-out-of-range`,`${t}: <c:${r.element} ${r.attr}="${a}"> outside [${r.min}, ${r.max}].`,t)}}function CD(e,t,n){let r=new Set([`layout`,`tx`,`numFmt`,`spPr`,`txPr`,`dLblPos`,`showLegendKey`,`showVal`,`showCatName`,`showSerName`,`showPercent`,`showBubbleSize`,`separator`]);for(let i of N(n,`dLbl`)){if(e.reporter.capped)return;if(M(i,`delete`)===void 0)continue;let n=i.children.find(e=>e.type===`element`&&r.has(uD(e.name)));n&&e.reporter.error(`chart-child-out-of-order`,`${t}: <c:dLbl> has both <c:delete> and <c:${uD(n.name)}>; CT_DLbl's choice group requires one branch or the other, never both.`,t)}}function wD(e){return e.length===0?e:e.charAt(0).toUpperCase()+e.slice(1)}function TD(e,t,n){for(let r of Object.keys(hO))for(let i of N(n,r)){if(e.reporter.capped)return;ED(e,t,i,r),DD(e,t,i,r),OD(e,t,i,r),kD(e,t,i,r),AD(e,t,i,r)}for(let r of[`surfaceChart`,`surface3DChart`])for(let i of N(n,r)){if(e.reporter.capped)return;DD(e,t,i,r),AD(e,t,i,r),kD(e,t,i,r)}}function ED(e,t,n,r){let i=hO[r];if(i)for(let a of N(n,`dLblPos`)){if(e.reporter.capped)return;let n=P(a,`val`);if(n!==void 0&&!i.has(n)){let a=i.size===0?`(none — this chart type does not accept c:dLblPos)`:[...i].sort().join(`, `);e.reporter.error(`chart-invalid-enum-value`,`${t}: <c:dLblPos val="${n}"> inside <c:${r}> — Excel only accepts {${a}} for this chart type.`,t)}}}function DD(e,t,n,r){let i=gO[r];if(!(!i||i.size===0)){for(let a of fD(n,`ser`))for(let n of a.children){if(e.reporter.capped)return;if(n.type!==`element`)continue;let a=uD(n.name);i.has(a)&&e.reporter.error(`chart-forbidden-child`,`${t}: <c:ser> inside <c:${r}> contains <c:${a}>, which is not allowed for this chart type per ECMA-376.`,t)}if(i.has(`dLbls`))for(let i of fD(n,`dLbls`)){if(e.reporter.capped)return;e.reporter.error(`chart-forbidden-child`,`${t}: <c:${r}> contains group-level <c:dLbls>, which is not allowed for this chart type.`,t)}}}function OD(e,t,n,r){let i=_O[r];if(i!==void 0)for(let a of fD(n,`ser`)){if(e.reporter.capped)return;let n=fD(a,`errBars`);if(n.length>i&&e.reporter.error(`chart-wrong-child-count`,`${t}: <c:ser> inside <c:${r}> has ${n.length} <c:errBars> children; schema permits at most ${i}.`,t),n.length===2){let i=n.map(e=>{let t=M(e,`errDir`);return t?P(t,`val`):void 0});i[0]!==void 0&&i[1]!==void 0&&i[0]===i[1]&&e.reporter.error(`chart-duplicate-errBars-direction`,`${t}: <c:ser> inside <c:${r}> has two <c:errBars> with the same <c:errDir val="${i[0]}"> — schema requires distinct directions (x + y).`,t)}}}function kD(e,t,n,r){let i=fD(n,`ser`),a=new Set,o=new Set;for(let n of i){if(e.reporter.capped)return;let i=M(n,`idx`),s=M(n,`order`),c=i?P(i,`val`):void 0,l=s?P(s,`val`):void 0;c!==void 0&&(a.has(c)&&e.reporter.error(`chart-duplicate-series-idx`,`${t}: <c:${r}> has two <c:ser> entries with <c:idx val="${c}">; idx must be unique within a chart-type group.`,t),a.add(c)),l!==void 0&&(o.has(l)&&e.reporter.error(`chart-duplicate-series-order`,`${t}: <c:${r}> has two <c:ser> entries with <c:order val="${l}">; order must be unique within a chart-type group.`,t),o.add(l))}}function AD(e,t,n,r){let i=vO[r];if(!i)return;let a=fD(n,`ser`).length;a<i.min&&e.reporter.error(`chart-missing-required-child`,`${t}: <c:${r}> has ${a} <c:ser> children; schema requires at least ${i.min}${i.max===void 0?``:` (and at most ${i.max})`}.`,t),i.max!==void 0&&a>i.max&&e.reporter.error(`chart-wrong-child-count`,`${t}: <c:${r}> has ${a} <c:ser> children; schema permits at most ${i.max}.`,t)}function jD(e,t,n){for(let r of yO)for(let i of N(n,r)){if(e.reporter.capped)return;M(i,`f`)||e.reporter.error(`chart-missing-required-child`,`${t}: <c:${r}> is missing the required <c:f> formula child.`,t)}for(let r of bO)for(let i of N(n,r)){if(e.reporter.capped)return;M(i,`ptCount`)||e.reporter.error(`chart-missing-required-child`,`${t}: <c:${r}> is missing the required <c:ptCount> child.`,t)}for(let r of xO)for(let i of N(n,r)){if(e.reporter.capped)return;let n=M(i,`ptCount`),a=n?parseInt(P(n,`val`)??``,10):NaN,o=fD(i,`pt`);for(let n of o){let i=P(n,`idx`);if(i===void 0){e.reporter.error(`chart-missing-required-child`,`${t}: <c:pt> inside <c:${r}> is missing the required idx attribute.`,t);continue}let o=parseInt(i,10);Number.isFinite(a)&&(o<0||o>=a)&&e.reporter.error(`chart-pt-idx-out-of-range`,`${t}: <c:pt idx="${o}"> outside declared range [0, ${a-1}] (from <c:ptCount val="${a}">).`,t),r!==`multiLvlStrCache`&&!M(n,`v`)&&e.reporter.error(`chart-missing-required-child`,`${t}: <c:pt idx="${o}"> inside <c:${r}> is missing the required <c:v> value child.`,t)}}}function MD(e,t){let n=e.readDom(t);if(!n)return;let r=n.root;pD(r,`chart`)||e.reporter.error(`chartEx-missing-chart`,`${t}: missing cx:chart`,t),pD(r,`plotArea`)||e.reporter.error(`chartEx-missing-plotArea`,`${t}: missing cx:plotArea`,t);let i=N(r,`series`);if(i.length===0){e.reporter.error(`chartEx-missing-series`,`${t}: missing cx:series`,t);return}let a=new Set(N(r,`data`).map(e=>parseInt(P(e,`id`)??``,10)).filter(Number.isFinite)),o=new Set(N(r,`axis`).map(e=>parseInt(P(e,`id`)??``,10)).filter(Number.isFinite));for(let n of i){P(n,`layoutId`)||e.reporter.error(`chartEx-series-missing-layoutId`,`${t}: cx:series missing layoutId`,t);let r=fD(n,`dataId`);r.length>1&&e.reporter.error(`chartEx-series-too-many-dataId`,`${t}: cx:series has ${r.length} <cx:dataId> children; schema permits at most 1. Consolidate the referenced <cx:data> entries into a single entry.`,t);for(let n of r){let r=parseInt(P(n,`val`)??``,10);a.has(r)||e.reporter.error(`chartEx-series-missing-data-id`,`${t}: cx:series references missing cx:data id ${P(n,`val`)}`,t)}for(let r of fD(n,`axisId`)){let n=parseInt(P(r,`val`)??``,10);o.has(n)||e.reporter.error(`chartEx-series-missing-axis-id`,`${t}: cx:series references missing cx:axis id ${P(r,`val`)}`,t)}}let s=N(r,`externalData`).map(e=>P(e,`id`)).filter(e=>!!e);if(s.length>0){let n=aO(t),r=e.readRels(n);for(let n of s)r.byId.has(n)||e.reporter.error(`chartEx-externalData-missing-rel`,`${t}: cx:externalData references missing relationship ${n}`,t)}ND(e,t,r),PD(e,t,r),FD(e,t,r),ID(e,t,r),RD(e,t,r),zD(e,t,r),BD(e,t,r)}function ND(e,t,n){for(let r of SO)for(let i of N(n,r)){if(e.reporter.capped)return;let n=P(i,`val`),a=LD(i).trim();n===void 0&&a.length>0&&e.reporter.error(`chartEx-typed-element-text-form`,`${t}: <cx:${r}>${a}</cx:${r}> uses text-content form; schema requires val="${a}" attribute.`,t)}}function PD(e,t,n){for(let r of N(n,`auto`)){if(e.reporter.capped)return;e.reporter.error(`chartEx-invalid-auto-element`,`${t}: <cx:auto/> element is not in the chartEx schema. Auto binning is expressed by omitting both <cx:binSize> and <cx:binCount>.`,t)}}function FD(e,t,n){for(let r of N(n,`layoutPr`)){if(e.reporter.capped)return;M(r,`paretoLine`)&&e.reporter.error(`chartEx-paretoLine-in-layoutPr`,`${t}: <cx:paretoLine> is not a valid child of <cx:layoutPr>. Add a second <cx:series layoutId="paretoLine"/> instead.`,t)}}function ID(e,t,n){for(let r of N(n,`title`)){if(e.reporter.capped)return;M(r,`layout`)&&e.reporter.error(`chartEx-title-direct-layout`,`${t}: <cx:title> has a direct <cx:layout> child. Title layout information belongs in extLst-based extensions.`,t)}}function LD(e){let t=``;for(let n of e.children)(n.type===`text`||n.type===`cdata`)&&(t+=n.value);return t}function RD(e,t,n){for(let r of N(n,`axis`)){if(e.reporter.capped)return;let n=P(r,`pos`),i=P(r,`type`),a=P(r,`id`)??`?`,o=r.children.some(e=>e.type===`element`&&dD(e.name,`catScaling`)),s=r.children.some(e=>e.type===`element`&&dD(e.name,`valScaling`));n===void 0&&i===void 0&&!o&&!s&&e.reporter.error(`chartEx-axis-missing-pos-and-type`,`${t}: <cx:axis id="${a}"> has no role marker — emit either a <cx:catScaling>/<cx:valScaling> child (preferred, matches Excel) or a pos/type attribute. Excel's loader drops the chartEx otherwise.`,t)}}function zD(e,t,n){for(let r of N(n,`f`)){if(e.reporter.capped)return;let n=LD(r).trim();n!==``&&n.includes(`!`)&&(n.startsWith(`_xlchart.`)||n.startsWith(`_xlfn.`)||e.reporter.error(`chartEx-f-uses-direct-range-not-defined-name`,`${t}: <cx:f>${n}</cx:f> points at a worksheet range directly. ChartEx requires an indirection through hidden defined names (e.g. _xlchart.v1.0) — otherwise Excel 2016+ drops the chartEx part on load.`,t))}}function BD(e,t,n){for(let r of N(n,`series`)){if(e.reporter.capped)return;if(P(r,`layoutId`)!==`waterfall`)continue;let n=M(r,`layoutPr`);n&&M(n,`subtotals`)!==void 0||e.reporter.error(`chartEx-waterfall-missing-subtotals`,`${t}: waterfall series has no <cx:layoutPr><cx:subtotals/> marker. Emit the element (even empty) so Excel renders the series as waterfall-aware instead of rejecting the chartEx.`,t)}}function VD(e,t,n){for(let r of dO)for(let i of r.chartTypes)for(let a of N(n,i))for(let n of fD(a,`ser`)){if(e.reporter.capped)return;let a=n.children.filter(e=>e.type===`element`),o=-1,s=``;for(let n of a){let a=uD(n.name),c=r.order.indexOf(a);c<0||(c<o&&e.reporter.error(`chart-child-out-of-order`,`${t}: <c:ser> inside <c:${i}> has <c:${a}> after <c:${s}>; CT_${HD(i)}Ser requires <c:${a}> earlier in the sequence.`,t),c>=o&&(o=c,s=a))}}}function HD(e){return e.startsWith(`bar`)?`Bar`:e.startsWith(`line`)||e===`stockChart`?`Line`:e.startsWith(`pie`)||e===`doughnutChart`||e===`ofPieChart`?`Pie`:e.startsWith(`area`)?`Area`:e===`scatterChart`?`Scatter`:e===`bubbleChart`?`Bubble`:e===`radarChart`?`Radar`:e.startsWith(`surface`)?`Surface`:e}function UD(e,t,n){for(let r of N(n,`plotArea`)){if(e.reporter.capped)return;let n=new Set;for(let e of r.children){if(e.type!==`element`)continue;let t=uD(e.name);if(!wO.has(t))continue;let r=M(e,`axId`),i=r?P(r,`val`):void 0;i!==void 0&&n.add(i)}for(let i of r.children){if(i.type!==`element`)continue;let r=uD(i.name);if(CO.has(r))for(let a of fD(i,`axId`)){let i=P(a,`val`);i!==void 0&&(n.has(i)||e.reporter.error(`chart-axid-unresolved`,`${t}: <c:${r}> references <c:axId val="${i}"> but no matching axis exists in the enclosing <c:plotArea>.`,t))}}for(let i of r.children){if(i.type!==`element`)continue;let r=uD(i.name);if(!wO.has(r))continue;let a=M(i,`crossAx`),o=a?P(a,`val`):void 0;o!==void 0&&!n.has(o)&&e.reporter.error(`chart-axid-unresolved`,`${t}: <c:${r}> has <c:crossAx val="${o}"> but no matching axis exists in the enclosing <c:plotArea>.`,t)}}}function WD(e,t,n){for(let r of N(n,`errBars`)){if(e.reporter.capped)return;let n=M(r,`errValType`),i=n?P(n,`val`):void 0,a=M(r,`val`)!==void 0,o=M(r,`plus`)!==void 0,s=M(r,`minus`)!==void 0;i===`cust`?((!o||!s)&&e.reporter.error(`chart-missing-required-child`,`${t}: <c:errBars> with <c:errValType val="cust"> requires both <c:plus> and <c:minus> children.`,t),a&&e.reporter.error(`chart-forbidden-child`,`${t}: <c:errBars> with <c:errValType val="cust"> must not contain <c:val>; use <c:plus> / <c:minus> for custom bounds.`,t)):(i===`fixedVal`||i===`percentage`||i===`stdDev`)&&(a||e.reporter.error(`chart-missing-required-child`,`${t}: <c:errBars> with <c:errValType val="${i}"> requires a <c:val> child.`,t),(o||s)&&e.reporter.error(`chart-forbidden-child`,`${t}: <c:errBars> with <c:errValType val="${i}"> must not contain <c:plus> or <c:minus> — those belong to "cust" only.`,t)),i===`stdErr`&&(o||s)&&e.reporter.error(`chart-forbidden-child`,`${t}: <c:errBars> with <c:errValType val="stdErr"> must not contain <c:plus> or <c:minus>.`,t)}}function GD(e,t,n){for(let r of N(n,`tx`)){if(e.reporter.capped)return;let n=[M(r,`strRef`)!==void 0,M(r,`rich`)!==void 0,M(r,`v`)!==void 0].filter(Boolean).length;n>1&&e.reporter.error(`chart-child-out-of-order`,`${t}: <c:tx> must contain at most one of <c:strRef>, <c:rich>, or <c:v>; found ${n} branches.`,t)}}function KD(e,t,n){for(let r of dO){let i=new Set(r.order);for(let a of r.chartTypes)for(let r of N(n,a))for(let n of fD(r,`ser`)){if(e.reporter.capped)return;for(let r of n.children){if(r.type!==`element`)continue;let n=uD(r.name);TO.has(n)&&(i.has(n)||e.reporter.error(`chart-forbidden-child`,`${t}: <c:ser> inside <c:${a}> contains <c:${n}>, which is not in CT_${HD(a)}Ser's schema.`,t))}}}}function qD(e,t,n){for(let r of N(n,`srgbClr`)){if(e.reporter.capped)return;let n=P(r,`val`);if(n===void 0){e.reporter.error(`chart-missing-required-child`,`${t}: <a:srgbClr> is missing the required val attribute.`,t);continue}EO.test(n)||e.reporter.error(`chart-invalid-enum-value`,`${t}: <a:srgbClr val="${n}"> must be a 6-digit hex colour (e.g. "4472C4").`,t)}}function JD(e,t,n){for(let r of N(n,`numFmt`)){if(e.reporter.capped)return;P(r,`formatCode`)===void 0&&e.reporter.error(`chart-missing-required-child`,`${t}: <c:numFmt> is missing the required formatCode attribute.`,t)}}function YD(e,t,n){for(let r of N(n,`rich`)){if(e.reporter.capped)return;let n=M(r,`bodyPr`)!==void 0,i=fD(r,`p`).length;n||e.reporter.error(`chart-missing-required-child`,`${t}: <c:rich> is missing the required <a:bodyPr> child (CT_TextBody requires it first).`,t),i===0&&e.reporter.error(`chart-missing-required-child`,`${t}: <c:rich> has no <a:p> children; CT_TextBody requires at least one paragraph.`,t)}}function XD(e){let t=e.readDom(`xl/theme/theme1.xml`);if(!t)return;let n=ZD(t.root,`clrScheme`);if(!n)return;let r=new Set;for(let e of n.children)e.type===`element`&&r.add(uD(e.name));return r}function ZD(e,t){let n=N(e,t);return n.length>0?n[0]:void 0}function QD(e,t,n){let r=XD(e);if(!(!r||r.size===0))for(let i of N(n,`schemeClr`)){if(e.reporter.capped)return;let n=P(i,`val`);if(!n||n===`phClr`)continue;let a=DO[n]??n;r.has(a)||e.reporter.error(`chart-theme-missing-schemeClr-slot`,`${t}: <a:schemeClr val="${n}"> references theme slot <a:${a}> which is not declared in xl/theme/theme1.xml's <a:clrScheme>.`,t)}}function $D(e){let t=0,n=0,r=!1;for(let i=0;i<e.length;i++){let a=e[i];if(a===`'`){r=!r;continue}if(!r&&(a===`(`?t++:a===`)`?t--:a===`[`?n++:a===`]`&&n--,t<0||n<0))return!1}return t===0&&n===0&&!r}function eO(e){let t=e.trim();if(t.startsWith(`=`)&&(t=t.substring(1).trim()),t===``||!$D(t))return{kind:`invalid`};if(t.startsWith(`_xl`)||t.startsWith(`(`))return{kind:`special`};if(kO.test(t))return{kind:`name`,name:t};let n=t.indexOf(`!`);if(n>=0){let e=t.substring(0,n),r=t.substring(n+1);return!(e.startsWith(`'`)&&e.endsWith(`'`)&&e.length>=3||kO.test(e))||r===``?{kind:`invalid`}:OO.test(r)?{kind:r.includes(`:`)?`range`:`cell`}:r.startsWith(`_xl`)?{kind:`special`}:kO.test(r)?{kind:`name`,name:r}:{kind:`special`}}return{kind:`special`}}function tO(e){let t=``;for(let n of e.children)(n.type===`text`||n.type===`cdata`)&&(t+=n.value);return t}function nO(e,t,n){for(let r of N(n,`f`)){if(e.reporter.capped)return;let n=tO(r);eO(n).kind===`invalid`&&e.reporter.error(`chart-f-invalid-syntax`,`${t}: <c:f>${n}</c:f> is not a valid cell reference, range, or defined name.`,t)}}function rO(e){let t=new Set;t.add(`_xlnm.Print_Area`),t.add(`_xlnm.Print_Titles`),t.add(`_xlnm.Database`),t.add(`_xlnm.Criteria`),t.add(`_xlnm.Extract`),t.add(`_xlnm.Sheet_Title`),t.add(`_xlnm._FilterDatabase`),t.add(`_xlnm.Auto_Open`),t.add(`_xlnm.Auto_Close`);let n=e.readDom(`xl/workbook.xml`);if(!n)return t;for(let e of N(n.root,`definedName`)){let n=P(e,`name`);n&&t.add(n)}return t}function iO(e,t,n){let r;for(let i of N(n,`f`)){if(e.reporter.capped)return;let n=tO(i),a=eO(n);a.kind!==`name`||!a.name||(r||=rO(e),r.has(a.name)||e.reporter.error(`chart-f-undefined-name`,`${t}: <c:f>${n}</c:f> references defined name "${a.name}" but no matching <definedName> exists in xl/workbook.xml.`,t))}}function aO(e){let t=e.lastIndexOf(`/`),n=t>=0?e.slice(0,t):``,r=t>=0?e.slice(t+1):e;return n?`${n}/_rels/${r}.rels`:`_rels/${r}.rels`}var oO,sO,cO,lO,uO,dO,fO,pO,mO,hO,gO,_O,vO,yO,bO,xO,SO,CO,wO,TO,EO,DO,OO,kO,AO=t((()=>{hD(),oO=/^xl\/charts\/chart\d+\.xml$/,sO=/^xl\/charts\/chartEx\d+\.xml$/,cO=[`areaChart`,`area3DChart`,`lineChart`,`line3DChart`,`stockChart`,`radarChart`,`scatterChart`,`pieChart`,`pie3DChart`,`doughnutChart`,`barChart`,`bar3DChart`,`ofPieChart`,`surfaceChart`,`surface3DChart`,`bubbleChart`],lO=[`catAx`,`valAx`,`dateAx`,`serAx`],uO=[{parent:`chartSpace`,order:[`lang`,`roundedCorners`,`style`,`clrMapOvr`,`pivotSource`,`protection`,`chart`,`spPr`,`txPr`,`externalData`,`printSettings`,`userShapes`,`extLst`]},{parent:`chart`,order:[`title`,`autoTitleDeleted`,`pivotFmts`,`view3D`,`floor`,`sideWall`,`backWall`,`plotArea`,`legend`,`plotVisOnly`,`dispBlanksAs`,`showDLblsOverMax`,`extLst`]},{parent:`plotArea`,order:[`layout`,`__CHART_TYPES__`,`__AXES__`,`dTable`,`spPr`,`extLst`],choiceGroups:[cO,lO]},{parent:`dLbls`,order:[`dLbl`,`delete`,`numFmt`,`spPr`,`txPr`,`dLblPos`,`showLegendKey`,`showVal`,`showCatName`,`showSerName`,`showPercent`,`showBubbleSize`,`separator`,`showLeaderLines`,`leaderLines`,`extLst`]},{parent:`dLbl`,order:[`idx`,`delete`,`layout`,`tx`,`numFmt`,`spPr`,`txPr`,`dLblPos`,`showLegendKey`,`showVal`,`showCatName`,`showSerName`,`showPercent`,`showBubbleSize`,`separator`,`extLst`]},{parent:`scaling`,order:[`logBase`,`orientation`,`max`,`min`,`extLst`]},{parent:`catAx`,order:[`axId`,`scaling`,`delete`,`axPos`,`majorGridlines`,`minorGridlines`,`title`,`numFmt`,`majorTickMark`,`minorTickMark`,`tickLblPos`,`spPr`,`txPr`,`crossAx`,`crosses`,`crossesAt`,`auto`,`lblAlgn`,`lblOffset`,`tickLblSkip`,`tickMarkSkip`,`noMultiLvlLbl`,`extLst`]},{parent:`valAx`,order:[`axId`,`scaling`,`delete`,`axPos`,`majorGridlines`,`minorGridlines`,`title`,`numFmt`,`majorTickMark`,`minorTickMark`,`tickLblPos`,`spPr`,`txPr`,`crossAx`,`crosses`,`crossesAt`,`crossBetween`,`majorUnit`,`minorUnit`,`dispUnits`,`extLst`]},{parent:`dateAx`,order:[`axId`,`scaling`,`delete`,`axPos`,`majorGridlines`,`minorGridlines`,`title`,`numFmt`,`majorTickMark`,`minorTickMark`,`tickLblPos`,`spPr`,`txPr`,`crossAx`,`crosses`,`crossesAt`,`auto`,`lblOffset`,`baseTimeUnit`,`majorUnit`,`majorTimeUnit`,`minorUnit`,`minorTimeUnit`,`extLst`]},{parent:`serAx`,order:[`axId`,`scaling`,`delete`,`axPos`,`majorGridlines`,`minorGridlines`,`title`,`numFmt`,`majorTickMark`,`minorTickMark`,`tickLblPos`,`spPr`,`txPr`,`crossAx`,`crosses`,`crossesAt`,`tickLblSkip`,`tickMarkSkip`,`extLst`]},{parent:`trendline`,order:[`name`,`spPr`,`trendlineType`,`order`,`period`,`forward`,`backward`,`intercept`,`dispRSqr`,`dispEq`,`trendlineLbl`,`extLst`]},{parent:`errBars`,order:[`errDir`,`errBarType`,`errValType`,`noEndCap`,`plus`,`minus`,`val`,`spPr`,`extLst`]},{parent:`view3D`,order:[`rotX`,`hPercent`,`rotY`,`depthPercent`,`rAngAx`,`perspective`,`extLst`]},{parent:`legend`,order:[`legendPos`,`legendEntry`,`layout`,`overlay`,`spPr`,`txPr`,`extLst`]},{parent:`title`,order:[`tx`,`layout`,`overlay`,`spPr`,`txPr`,`extLst`]},{parent:`areaChart`,order:[`grouping`,`varyColors`,`ser`,`dLbls`,`dropLines`,`axId`,`extLst`]},{parent:`area3DChart`,order:[`grouping`,`varyColors`,`ser`,`dLbls`,`dropLines`,`gapDepth`,`axId`,`extLst`]},{parent:`barChart`,order:[`barDir`,`grouping`,`varyColors`,`ser`,`dLbls`,`gapWidth`,`overlap`,`serLines`,`axId`,`extLst`]},{parent:`bar3DChart`,order:[`barDir`,`grouping`,`varyColors`,`ser`,`dLbls`,`gapWidth`,`gapDepth`,`shape`,`axId`,`extLst`]},{parent:`lineChart`,order:[`grouping`,`varyColors`,`ser`,`dLbls`,`dropLines`,`hiLowLines`,`upDownBars`,`marker`,`smooth`,`axId`,`extLst`]},{parent:`line3DChart`,order:[`grouping`,`varyColors`,`ser`,`dLbls`,`dropLines`,`gapDepth`,`axId`,`extLst`]},{parent:`pieChart`,order:[`varyColors`,`ser`,`dLbls`,`firstSliceAng`,`extLst`]},{parent:`pie3DChart`,order:[`varyColors`,`ser`,`dLbls`,`extLst`]},{parent:`doughnutChart`,order:[`varyColors`,`ser`,`dLbls`,`firstSliceAng`,`holeSize`,`extLst`]},{parent:`ofPieChart`,order:[`ofPieType`,`varyColors`,`ser`,`dLbls`,`gapWidth`,`splitType`,`splitPos`,`custSplit`,`secondPieSize`,`serLines`,`extLst`]},{parent:`scatterChart`,order:[`scatterStyle`,`varyColors`,`ser`,`dLbls`,`axId`,`extLst`]},{parent:`bubbleChart`,order:[`varyColors`,`ser`,`dLbls`,`bubble3D`,`bubbleScale`,`showNegBubbles`,`sizeRepresents`,`axId`,`extLst`]},{parent:`radarChart`,order:[`radarStyle`,`varyColors`,`ser`,`dLbls`,`axId`,`extLst`]},{parent:`stockChart`,order:[`ser`,`dLbls`,`dropLines`,`hiLowLines`,`upDownBars`,`axId`,`extLst`]},{parent:`surfaceChart`,order:[`wireframe`,`ser`,`bandFmts`,`axId`,`extLst`]},{parent:`surface3DChart`,order:[`wireframe`,`ser`,`bandFmts`,`axId`,`extLst`]},{parent:`dPt`,order:[`idx`,`invertIfNegative`,`marker`,`bubble3D`,`explosion`,`spPr`,`pictureOptions`,`extLst`]},{parent:`marker`,order:[`symbol`,`size`,`spPr`,`extLst`]},{parent:`upDownBars`,order:[`gapWidth`,`upBars`,`downBars`,`extLst`]},{parent:`numRef`,order:[`f`,`numCache`,`extLst`]},{parent:`strRef`,order:[`f`,`strCache`,`extLst`]},{parent:`multiLvlStrRef`,order:[`f`,`multiLvlStrCache`,`extLst`]},{parent:`numCache`,order:[`formatCode`,`ptCount`,`pt`,`extLst`]},{parent:`strCache`,order:[`ptCount`,`pt`,`extLst`]},{parent:`multiLvlStrCache`,order:[`ptCount`,`lvl`,`extLst`]},{parent:`numLit`,order:[`formatCode`,`ptCount`,`pt`,`extLst`]},{parent:`strLit`,order:[`ptCount`,`pt`,`extLst`]},{parent:`pt`,order:[`v`]},{parent:`layout`,order:[`manualLayout`,`extLst`]},{parent:`manualLayout`,order:[`layoutTarget`,`xMode`,`yMode`,`wMode`,`hMode`,`x`,`y`,`w`,`h`,`extLst`]},{parent:`dTable`,order:[`showHorzBorder`,`showVertBorder`,`showOutline`,`showKeys`,`spPr`,`txPr`,`extLst`]},{parent:`bandFmts`,order:[`bandFmt`]},{parent:`bandFmt`,order:[`idx`,`spPr`]},{parent:`trendlineLbl`,order:[`layout`,`tx`,`numFmt`,`spPr`,`txPr`,`extLst`]},{parent:`pictureOptions`,order:[`applyToFront`,`applyToSides`,`applyToEnd`,`pictureFormat`,`pictureStackUnit`]}],dO=[{chartTypes:[`barChart`,`bar3DChart`],order:[`idx`,`order`,`tx`,`spPr`,`invertIfNegative`,`pictureOptions`,`dPt`,`dLbls`,`trendline`,`errBars`,`cat`,`val`,`shape`,`extLst`]},{chartTypes:[`lineChart`,`line3DChart`,`stockChart`],order:[`idx`,`order`,`tx`,`spPr`,`marker`,`dPt`,`dLbls`,`trendline`,`errBars`,`cat`,`val`,`smooth`,`extLst`]},{chartTypes:[`pieChart`,`pie3DChart`,`doughnutChart`,`ofPieChart`],order:[`idx`,`order`,`tx`,`spPr`,`explosion`,`dPt`,`dLbls`,`cat`,`val`,`extLst`]},{chartTypes:[`areaChart`,`area3DChart`],order:[`idx`,`order`,`tx`,`spPr`,`pictureOptions`,`dPt`,`dLbls`,`trendline`,`errBars`,`cat`,`val`,`extLst`]},{chartTypes:[`scatterChart`],order:[`idx`,`order`,`tx`,`spPr`,`marker`,`dPt`,`dLbls`,`trendline`,`errBars`,`xVal`,`yVal`,`smooth`,`extLst`]},{chartTypes:[`bubbleChart`],order:[`idx`,`order`,`tx`,`spPr`,`invertIfNegative`,`dPt`,`dLbls`,`trendline`,`errBars`,`xVal`,`yVal`,`bubbleSize`,`bubble3D`,`extLst`]},{chartTypes:[`radarChart`],order:[`idx`,`order`,`tx`,`spPr`,`marker`,`dPt`,`dLbls`,`cat`,`val`,`extLst`]},{chartTypes:[`surfaceChart`,`surface3DChart`],order:[`idx`,`order`,`tx`,`spPr`,`cat`,`val`,`extLst`]}],fO=[{parent:`barChart`,child:`axId`,min:2,max:2},{parent:`barChart`,child:`barDir`,min:1,max:1},{parent:`bar3DChart`,child:`axId`,min:3,max:3},{parent:`bar3DChart`,child:`barDir`,min:1,max:1},{parent:`lineChart`,child:`axId`,min:2,max:2},{parent:`lineChart`,child:`grouping`,min:1,max:1},{parent:`line3DChart`,child:`axId`,min:3,max:3},{parent:`line3DChart`,child:`grouping`,min:1,max:1},{parent:`areaChart`,child:`axId`,min:2,max:2},{parent:`area3DChart`,child:`axId`,min:3,max:3},{parent:`scatterChart`,child:`axId`,min:2,max:2},{parent:`scatterChart`,child:`scatterStyle`,min:1,max:1},{parent:`bubbleChart`,child:`axId`,min:2,max:2},{parent:`radarChart`,child:`axId`,min:2,max:2},{parent:`radarChart`,child:`radarStyle`,min:1,max:1},{parent:`stockChart`,child:`axId`,min:2,max:2},{parent:`surfaceChart`,child:`axId`,min:3,max:3},{parent:`surface3DChart`,child:`axId`,min:3,max:3},{parent:`ofPieChart`,child:`ofPieType`,min:1,max:1},{parent:`catAx`,child:`axId`,min:1,max:1},{parent:`catAx`,child:`scaling`,min:1,max:1},{parent:`catAx`,child:`axPos`,min:1,max:1},{parent:`catAx`,child:`crossAx`,min:1,max:1},{parent:`valAx`,child:`axId`,min:1,max:1},{parent:`valAx`,child:`scaling`,min:1,max:1},{parent:`valAx`,child:`axPos`,min:1,max:1},{parent:`valAx`,child:`crossAx`,min:1,max:1},{parent:`dateAx`,child:`axId`,min:1,max:1},{parent:`dateAx`,child:`scaling`,min:1,max:1},{parent:`dateAx`,child:`axPos`,min:1,max:1},{parent:`dateAx`,child:`crossAx`,min:1,max:1},{parent:`serAx`,child:`axId`,min:1,max:1},{parent:`serAx`,child:`scaling`,min:1,max:1},{parent:`serAx`,child:`axPos`,min:1,max:1},{parent:`serAx`,child:`crossAx`,min:1,max:1},{parent:`ser`,child:`idx`,min:1,max:1},{parent:`ser`,child:`order`,min:1,max:1},{parent:`trendline`,child:`trendlineType`,min:1,max:1},{parent:`errBars`,child:`errBarType`,min:1,max:1},{parent:`errBars`,child:`errValType`,min:1,max:1},{parent:`dPt`,child:`idx`,min:1,max:1},{parent:`dLbl`,child:`idx`,min:1,max:1}],pO=[{element:`barDir`,attr:`val`,allowed:[`bar`,`col`]},{element:`grouping`,attr:`val`,allowed:[`standard`,`stacked`,`percentStacked`,`clustered`]},{element:`orientation`,attr:`val`,allowed:[`minMax`,`maxMin`]},{element:`ofPieType`,attr:`val`,allowed:[`pie`,`bar`]},{element:`dLblPos`,attr:`val`,allowed:[`b`,`bestFit`,`ctr`,`inBase`,`inEnd`,`l`,`outEnd`,`r`,`t`]},{element:`legendPos`,attr:`val`,allowed:[`b`,`l`,`r`,`t`,`tr`]},{element:`scatterStyle`,attr:`val`,allowed:[`none`,`line`,`lineMarker`,`marker`,`smooth`,`smoothMarker`]},{element:`radarStyle`,attr:`val`,allowed:[`standard`,`marker`,`filled`]},{element:`dispBlanksAs`,attr:`val`,allowed:[`span`,`gap`,`zero`]},{element:`splitType`,attr:`val`,allowed:[`auto`,`cust`,`percent`,`pos`,`val`]},{element:`shape`,attr:`val`,allowed:[`cone`,`coneToMax`,`box`,`cylinder`,`pyramid`,`pyramidToMax`]},{element:`crosses`,attr:`val`,allowed:[`autoZero`,`min`,`max`]},{element:`crossBetween`,attr:`val`,allowed:[`between`,`midCat`]},{element:`lblAlgn`,attr:`val`,allowed:[`ctr`,`l`,`r`]},{element:`axPos`,attr:`val`,allowed:[`b`,`l`,`r`,`t`]},{element:`majorTickMark`,attr:`val`,allowed:[`cross`,`in`,`none`,`out`]},{element:`minorTickMark`,attr:`val`,allowed:[`cross`,`in`,`none`,`out`]},{element:`tickLblPos`,attr:`val`,allowed:[`high`,`low`,`nextTo`,`none`]},{element:`baseTimeUnit`,attr:`val`,allowed:[`days`,`months`,`years`]},{element:`majorTimeUnit`,attr:`val`,allowed:[`days`,`months`,`years`]},{element:`minorTimeUnit`,attr:`val`,allowed:[`days`,`months`,`years`]},{element:`trendlineType`,attr:`val`,allowed:[`exp`,`linear`,`log`,`movingAvg`,`poly`,`power`]},{element:`errDir`,attr:`val`,allowed:[`x`,`y`]},{element:`errBarType`,attr:`val`,allowed:[`both`,`minus`,`plus`]},{element:`errValType`,attr:`val`,allowed:[`cust`,`fixedVal`,`percentage`,`stdDev`,`stdErr`]},{element:`symbol`,attr:`val`,allowed:[`auto`,`circle`,`dash`,`diamond`,`dot`,`none`,`picture`,`plus`,`square`,`star`,`triangle`,`x`]},{element:`sizeRepresents`,attr:`val`,allowed:[`area`,`w`]},{element:`schemeClr`,attr:`val`,allowed:[`bg1`,`bg2`,`tx1`,`tx2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`,`phClr`,`dk1`,`dk2`,`lt1`,`lt2`]}],mO=[{element:`holeSize`,attr:`val`,min:10,max:90},{element:`firstSliceAng`,attr:`val`,min:0,max:360},{element:`overlap`,attr:`val`,min:-100,max:100},{element:`gapWidth`,attr:`val`,min:0,max:500},{element:`gapDepth`,attr:`val`,min:0,max:500},{element:`rotX`,attr:`val`,min:-90,max:90},{element:`rotY`,attr:`val`,min:0,max:360},{element:`perspective`,attr:`val`,min:0,max:240},{element:`hPercent`,attr:`val`,min:5,max:500},{element:`depthPercent`,attr:`val`,min:20,max:2e3},{element:`bubbleScale`,attr:`val`,min:0,max:300},{element:`secondPieSize`,attr:`val`,min:5,max:200},{element:`majorUnit`,attr:`val`,min:2**-52,max:Number.MAX_VALUE},{element:`minorUnit`,attr:`val`,min:2**-52,max:Number.MAX_VALUE},{element:`tickLblSkip`,attr:`val`,min:1,max:2**53-1},{element:`tickMarkSkip`,attr:`val`,min:1,max:2**53-1},{element:`alpha`,attr:`val`,min:0,max:1e5}],hO={barChart:new Set([`ctr`,`inBase`,`inEnd`,`outEnd`]),bar3DChart:new Set([`ctr`,`inBase`,`inEnd`,`outEnd`]),lineChart:new Set([`ctr`,`l`,`r`,`t`,`b`]),line3DChart:new Set([`ctr`,`l`,`r`,`t`,`b`]),scatterChart:new Set([`ctr`,`l`,`r`,`t`,`b`]),bubbleChart:new Set([`ctr`,`l`,`r`,`t`,`b`]),radarChart:new Set([`ctr`,`l`,`r`,`t`,`b`]),stockChart:new Set([`ctr`,`l`,`r`,`t`,`b`]),pieChart:new Set([`bestFit`,`ctr`,`inEnd`,`outEnd`]),pie3DChart:new Set([`bestFit`,`ctr`,`inEnd`,`outEnd`]),ofPieChart:new Set([`bestFit`,`ctr`,`inEnd`,`outEnd`]),doughnutChart:new Set,areaChart:new Set([`ctr`]),area3DChart:new Set([`ctr`])},gO={pieChart:new Set([`trendline`,`errBars`]),pie3DChart:new Set([`trendline`,`errBars`]),doughnutChart:new Set([`trendline`,`errBars`]),ofPieChart:new Set([`trendline`,`errBars`]),surfaceChart:new Set([`trendline`,`errBars`,`dLbls`,`marker`]),surface3DChart:new Set([`trendline`,`errBars`,`dLbls`,`marker`])},_O={scatterChart:2,bubbleChart:2,barChart:1,bar3DChart:1,lineChart:1,line3DChart:1,areaChart:1,area3DChart:1,radarChart:1,stockChart:1},vO={barChart:{min:1},bar3DChart:{min:1},lineChart:{min:1},line3DChart:{min:1},areaChart:{min:1},area3DChart:{min:1},scatterChart:{min:1},bubbleChart:{min:1},radarChart:{min:1},pieChart:{min:1},pie3DChart:{min:1},doughnutChart:{min:1},ofPieChart:{min:1},surfaceChart:{min:1},surface3DChart:{min:1},stockChart:{min:3,max:4}},yO=[`numRef`,`strRef`,`multiLvlStrRef`],bO=[`numLit`,`strLit`],xO=[`numCache`,`strCache`,`multiLvlStrCache`],SO=[`axisId`,`dataId`,`binCount`,`binSize`],CO=new Set(cO),wO=new Set(lO),TO=new Set(dO.flatMap(e=>e.order)),EO=/^[0-9A-Fa-f]{6}$/,DO={bg1:`lt1`,tx1:`dk1`,bg2:`lt2`,tx2:`dk2`},OO=/^\$?[A-Z]+\$?\d+(?::\$?[A-Z]+\$?\d+)?$/,kO=/^[A-Za-z_\\\u00C0-\uFFFF][A-Za-z0-9_.\\\u00C0-\uFFFF]*$/})),jO,MO,NO=t((()=>{hD(),jO=new TextDecoder,MO=class{constructor(e,t){this.textCache=new Map,this.domCache=new Map,this.relsCache=new Map,this.entries=e,this.reporter=t}has(e){let t=this.entries.get(e);return!!t&&t.type!==`directory`}*files(){for(let e of this.entries)e[1].type!==`directory`&&(yield e)}readText(e){let t=this.textCache.get(e);if(t!==void 0)return t;let n=this.entries.get(e);if(!n||n.type===`directory`)return;let r=jO.decode(n.data);return this.textCache.set(e,r),r}readDom(e,t){if(this.domCache.has(e))return this.domCache.get(e);let n=this.readText(e);if(n===void 0){this.domCache.set(e,void 0);return}let r=mD(n,e=>{t?.(e)});return this.domCache.set(e,r),r}readContentTypes(){if(this.contentTypes)return this.contentTypes;let e=`[Content_Types].xml`,t=this.readDom(e,t=>{this.reporter.error(`content-types-malformed`,`Content types XML parse error: ${t.message}`,e)}),n={defaults:new Map,overrides:new Map,parseOk:!1,duplicateOverrides:[]};if(!t)return this.contentTypes=n,n;let r=t.root;if(!(r.name===`Types`||r.name.endsWith(`:Types`)))return this.reporter.error(`content-types-malformed`,`Content types root element is <${r.name}>, expected <Types>`,e),this.contentTypes=n,n;for(let e of fD(r,`Default`)){let t=P(e,`Extension`),r=P(e,`ContentType`);t&&r&&n.defaults.set(t.toLowerCase(),r)}for(let e of fD(r,`Override`)){let t=P(e,`PartName`),r=P(e,`ContentType`);if(!t||!r)continue;let i=t.startsWith(`/`)?t.slice(1):t;n.overrides.has(i)?n.duplicateOverrides.push(t):n.overrides.set(i,r)}return n.parseOk=!0,this.contentTypes=n,n}readRels(e){let t=this.relsCache.get(e);if(t)return t;let n={rels:[],byId:new Map,parseOk:!1,malformedEntries:[]};if(!this.has(e))return this.relsCache.set(e,n),n;let r=this.readDom(e,t=>{this.reporter.error(`rels-malformed`,`Relationships XML parse error: ${t.message}`,e)});if(!r)return this.relsCache.set(e,n),n;let i=r.root;if(!(i.name===`Relationships`||i.name.endsWith(`:Relationships`)))return this.reporter.error(`rels-malformed`,`Relationships root element is <${i.name}>, expected <Relationships>`,e),this.relsCache.set(e,n),n;for(let e of fD(i,`Relationship`)){let t=P(e,`Id`),r=P(e,`Type`),i=P(e,`Target`),a=P(e,`TargetMode`);if(!t||!r||i===void 0){n.malformedEntries.push({missingId:!t,missingType:!r,missingTarget:i===void 0,id:t,type:r});continue}let o={id:t,type:r,target:i,targetMode:a};n.rels.push(o),n.byId.has(t)||n.byId.set(t,o)}return n.parseOk=!0,this.relsCache.set(e,n),n}}}));function PO(e){return e.startsWith(`/`)?e.slice(1):e}function FO(e){return e.endsWith(`.xml`)||e.endsWith(`.rels`)||e.endsWith(`.vml`)}function IO(e){if(e===`_rels/.rels`)return``;let t=e.indexOf(`/_rels/`);return t===-1?e.includes(`/`)?e.slice(0,e.lastIndexOf(`/`)):``:e.slice(0,t)}function LO(e){let t=e.lastIndexOf(`/`);return t===-1?e:e.slice(t+1)}function RO(e){let t=LO(e),n=t.lastIndexOf(`.`);return n===-1?``:t.slice(n+1).toLowerCase()}function zO(e,t){if(t.startsWith(`/`))return BO(t.split(`/`));let n=IO(e),r=[];return n&&r.push(...n.split(`/`)),r.push(...t.split(`/`)),BO(r)}function BO(e){let t=[],n=!1;for(let r of e)if(!(r===``||r===`.`)){if(r===`..`){t.length===0?n=!0:t.pop();continue}t.push(r)}let r=t.join(`/`);return n?`../${r}`:r}function VO(e){return!(e===`..`||e.startsWith(`../`)||e.includes(`/../`))}function HO(e){if(e===`_rels/.rels`)return;let t=LO(e);if(!t.endsWith(`.rels`))return;let n=IO(e),r=t.slice(0,-5);return n?`${n}/${r}`:r}function UO(e){if(!e||e.endsWith(`/`)||/[\\:*?"<>|]/.test(e))return!1;let t=e.split(`/`);for(let e of t)if(e===``||e===`.`||e===`..`)return!1;return!0}var WO=t((()=>{}));function GO(e){let t=new Set,n=new Set;for(let[r,i]of e.files()){if(i.type===`directory`||!JO.test(r))continue;let a=KO(r);if(!e.has(a))continue;let o=e.readRels(a);for(let e of o.rels){if(e.targetMode===`External`)continue;let r=zO(a,e.target);e.type===YO?t.add(r):e.type===XO&&n.add(r)}}for(let n of t){if(e.reporter.capped)return;qO(e,n,`chartEx-chartStyle-stub-form`,`chartStyle`)}for(let t of n){if(e.reporter.capped)return;qO(e,t,`chartEx-chartColorStyle-stub-form`,`chartColorStyle`)}}function KO(e){let t=e.lastIndexOf(`/`),n=t>=0?e.slice(0,t):``,r=t>=0?e.slice(t+1):e;return n?`${n}/_rels/${r}.rels`:`_rels/${r}.rels`}function qO(e,t,n,r){if(!e.has(t))return;let i=e.readDom(t);i&&(i.root.children.some(e=>e.type===`element`)||e.reporter.error(n,`${t}: ${r} sidecar referenced by a chartEx part is an id-only stub (root element has no children). Excel 2016+ rejects chartEx stub sidecars and drops the parent chartEx + drawing. Emit the full Microsoft-authored default content.`,t))}var JO,YO,XO,ZO=t((()=>{WO(),JO=/^xl\/charts\/chartEx\d+\.xml$/,YO=`http://schemas.microsoft.com/office/2011/relationships/chartStyle`,XO=`http://schemas.microsoft.com/office/2011/relationships/chartColorStyle`}));function QO(e){for(let[t,n]of e.files()){if(e.reporter.capped)return;if(n.type===`directory`||!$O.test(t))continue;let r=e.readDom(t);r&&(pD(r.root,`drawing`)||e.reporter.error(`chartsheet-missing-drawing`,`${t}: missing drawing reference`,t))}}var $O,ek=t((()=>{hD(),$O=/^xl\/chartsheets\/sheet\d+\.xml$/}));function tk(e){let t=ik[e];if(t)return{contentType:t,label:e};for(let t of ak)if(t.pattern.test(e))return{contentType:t.contentType,label:t.label}}function nk(e){if(!e.has(`[Content_Types].xml`))return;let t=e.readContentTypes();if(t.parseOk){for(let n of t.duplicateOverrides)e.reporter.error(`content-types-duplicate-override`,`Duplicate Override PartName: ${n}`,`[Content_Types].xml`);t.defaults.get(`rels`)!==`application/vnd.openxmlformats-package.relationships+xml`&&e.reporter.error(`content-types-missing-default`,`Missing/incorrect Default for .rels (expected application/vnd.openxmlformats-package.relationships+xml)`,`[Content_Types].xml`),t.defaults.get(`xml`)!==`application/xml`&&e.reporter.error(`content-types-missing-default`,`Missing/incorrect Default for .xml (expected application/xml)`,`[Content_Types].xml`);for(let[n,r]of t.overrides){if(e.reporter.capped)return;e.has(n)||e.reporter.error(`content-types-missing`,`Override PartName points to missing file: /${n}`,`[Content_Types].xml`)}for(let[n,r]of e.files()){if(e.reporter.capped)return;if(r.type===`directory`||n===`[Content_Types].xml`)continue;UO(n)||e.reporter.error(`part-name-invalid`,`Illegal OPC part name: ${n}`,n);let i=t.overrides.get(n),a=RO(n),o=a?t.defaults.get(a):void 0;if(!i&&!o){a?e.reporter.error(`content-types-missing-for-part`,`No Default/Override content type for part: ${n} (extension .${a})`,`[Content_Types].xml`):e.reporter.error(`content-types-missing-for-part`,`No content type for part without extension: ${n}`,`[Content_Types].xml`);continue}let s=tk(n);if(!s)continue;let c=i??o;c!==s.contentType&&e.reporter.error(`content-types-wrong-for-part`,`Unexpected content type for /${PO(n)}: got "${c}", expected "${s.contentType}" (${s.label})`,`[Content_Types].xml`)}}}var rk,ik,ak,ok=t((()=>{WO(),rk={workbook:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml`,styles:`application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml`,sharedStrings:`application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml`,theme:`application/vnd.openxmlformats-officedocument.theme+xml`,worksheet:`application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml`,chartsheet:`application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml`,chart:`application/vnd.openxmlformats-officedocument.drawingml.chart+xml`,chartEx:`application/vnd.ms-office.chartex+xml`,chartStyle:`application/vnd.ms-office.chartstyle+xml`,chartColors:`application/vnd.ms-office.chartcolorstyle+xml`,drawing:`application/vnd.openxmlformats-officedocument.drawing+xml`,pivotTable:`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml`,pivotCacheDefinition:`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml`,pivotCacheRecords:`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml`,comments:`application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml`,threadedComments:`application/vnd.ms-excel.threadedcomments+xml`,externalLink:`application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml`,tableDef:`application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml`,calcChain:`application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml`,app:`application/vnd.openxmlformats-officedocument.extended-properties+xml`,core:`application/vnd.openxmlformats-package.core-properties+xml`},ik={"xl/workbook.xml":rk.workbook,"xl/styles.xml":rk.styles,"xl/sharedStrings.xml":rk.sharedStrings,"xl/calcChain.xml":rk.calcChain,"docProps/app.xml":rk.app,"docProps/core.xml":rk.core},ak=[{pattern:/^xl\/theme\/[^/]+\.xml$/,contentType:rk.theme,label:`theme`},{pattern:/^xl\/worksheets\/sheet\d+\.xml$/,contentType:rk.worksheet,label:`worksheet`},{pattern:/^xl\/chartsheets\/sheet\d+\.xml$/,contentType:rk.chartsheet,label:`chartsheet`},{pattern:/^xl\/charts\/chart\d+\.xml$/,contentType:rk.chart,label:`chart`},{pattern:/^xl\/charts\/chartEx\d+\.xml$/,contentType:rk.chartEx,label:`chartEx`},{pattern:/^xl\/charts\/style\d+\.xml$/,contentType:rk.chartStyle,label:`chart style`},{pattern:/^xl\/charts\/colors\d+\.xml$/,contentType:rk.chartColors,label:`chart colors`},{pattern:/^xl\/charts\/styleEx\d+\.xml$/,contentType:rk.chartStyle,label:`chart styleEx`},{pattern:/^xl\/charts\/colorsEx\d+\.xml$/,contentType:rk.chartColors,label:`chart colorsEx`},{pattern:/^xl\/drawings\/drawing\d+\.xml$/,contentType:rk.drawing,label:`drawing`},{pattern:/^xl\/pivotTables\/pivotTable\d+\.xml$/,contentType:rk.pivotTable,label:`pivot table`},{pattern:/^xl\/pivotCache\/pivotCacheDefinition\d+\.xml$/,contentType:rk.pivotCacheDefinition,label:`pivot cache definition`},{pattern:/^xl\/pivotCache\/pivotCacheRecords\d+\.xml$/,contentType:rk.pivotCacheRecords,label:`pivot cache records`},{pattern:/^xl\/tables\/table\d+\.xml$/,contentType:rk.tableDef,label:`table`},{pattern:/^xl\/externalLinks\/externalLink\d+\.xml$/,contentType:rk.externalLink,label:`external link`},{pattern:/^xl\/comments\d+\.xml$/,contentType:rk.comments,label:`comments`},{pattern:/^xl\/threadedComments\/threadedComment\d+\.xml$/,contentType:rk.threadedComments,label:`threaded comments`}]}));function sk(e){for(let[t,n]of e.files()){if(e.reporter.capped)return;n.type===`directory`||!hk.test(t)||ck(e,t)}}function ck(e,t){let n=e.readDom(t);if(!n)return;let r=n.root;for(let n of N(r,`graphicFrame`))pD(n,`chart`)||e.reporter.error(`drawing-graphicFrame-missing-chart`,`${t}: xdr:graphicFrame has no c:chart or cx:chart reference`,t);for(let n of r.children)if(n.type===`element`&&dD(n.name,`AlternateContent`)&&(pD(n,`twoCellAnchor`)||pD(n,`oneCellAnchor`)||pD(n,`absoluteAnchor`))){let r=mk(n);(r===`cx`||r===`cx1`)&&e.reporter.error(`drawing-chartEx-alternateContent-outer-wrap`,`${t}: <mc:AlternateContent> wraps the entire anchor. Move it INSIDE <xdr:twoCellAnchor>, after <xdr:to> and before <xdr:clientData>, so <xdr:from>/<xdr:to> are not duplicated.`,t)}for(let n of[`twoCellAnchor`,`oneCellAnchor`,`absoluteAnchor`])for(let i of fD(r,n))uk(e,t,i),lk(e,t,i)}function lk(e,t,n){if(N(n,`chart`).filter(e=>{let t=e.name.indexOf(`:`);return t!==-1&&e.name.slice(0,t)===`cx`}).length===0)return;let r=n.children.find(e=>e.type===`element`&&dD(e.name,`AlternateContent`));if(!r){e.reporter.error(`drawing-chartEx-missing-alternateContent-wrap`,`${t}: anchor contains <cx:chart> but has no <mc:AlternateContent> wrapper. ChartEx drawings must place the <xdr:graphicFrame> inside <mc:AlternateContent><mc:Choice>…</mc:Choice><mc:Fallback>…</mc:Fallback></mc:AlternateContent>.`,t);return}let i=M(r,`Fallback`);if(!i){e.reporter.error(`drawing-chartEx-alternateContent-empty-fallback`,`${t}: <mc:AlternateContent> has no <mc:Fallback>. Excel's strict loader rejects drawings whose Fallback is missing.`,t);return}if(!i.children.some(e=>e.type===`element`)){e.reporter.error(`drawing-chartEx-alternateContent-empty-fallback`,`${t}: <mc:Fallback> is empty. Provide a non-empty legacy shape (e.g. <xdr:sp>) so non-ChartEx readers see a placeholder instead of collapsing the anchor.`,t);return}let a=M(r,`Choice`);if(!a)return;let o=M(a,`graphicFrame`);if(!o)return;let s=M(o,`nvGraphicFramePr`);if(!s)return;let c=M(s,`cNvPr`);if(!c)return;let l=M(c,`extLst`);l&&N(l,`creationId`).length>0||e.reporter.warning(`drawing-chartEx-missing-creationId`,`${t}: chartEx drawing <xdr:cNvPr> missing Office creation-id extension (<a:extLst>/<a:ext>/<a16:creationId>). Strict Excel builds may drop the drawing on load without it.`,t)}function uk(e,t,n){let r=n.name.includes(`:`)?n.name.slice(n.name.lastIndexOf(`:`)+1):n.name;if(r===`twoCellAnchor`){if(!M(n,`from`)||!M(n,`to`)){e.reporter.error(`drawing-anchor-missing`,`${t}: ${r} missing from/to`,t);return}dk(e,t,M(n,`from`)),dk(e,t,M(n,`to`))}else if(r===`oneCellAnchor`){if(!M(n,`from`)||!M(n,`ext`)){e.reporter.error(`drawing-anchor-missing`,`${t}: ${r} missing from/ext`,t);return}dk(e,t,M(n,`from`)),fk(e,t,M(n,`ext`),`ext`)}else if(r===`absoluteAnchor`){if(!M(n,`pos`)||!M(n,`ext`)){e.reporter.error(`drawing-anchor-missing`,`${t}: ${r} missing pos/ext`,t);return}fk(e,t,M(n,`pos`),`pos`),fk(e,t,M(n,`ext`),`ext`)}}function dk(e,t,n){if(n)for(let r of[`col`,`colOff`,`row`,`rowOff`]){let i=M(n,r);if(!i)continue;let a=pk(i).trim(),o=parseInt(a,10);Number.isFinite(o)||e.reporter.warning(`drawing-anchor-invalid-coords`,`${t}: anchor ${r}=${JSON.stringify(a)} is not an integer`,t)}}function fk(e,t,n,r){if(!n)return;let i=r===`ext`?[`cx`,`cy`]:[`x`,`y`];for(let a of i){let i=P(n,a);if(i===void 0)continue;let o=parseInt(i,10);Number.isFinite(o)||e.reporter.warning(`drawing-anchor-invalid-coords`,`${t}: ${r} ${a}=${JSON.stringify(i)} is not a valid EMU integer`,t)}}function pk(e){let t=``;for(let n of e.children)n.type===`text`||n.type===`cdata`?t+=n.value:n.type===`element`&&(t+=pk(n));return t}function mk(e){for(let t of e.children)if(t.type===`element`&&dD(t.name,`Choice`)){let e=P(t,`Requires`);if(e!==void 0)return e}}var hk,gk=t((()=>{hD(),hk=/^xl\/drawings\/drawing\d+\.xml$/}));function _k(e){let t=vk(e);for(let[n,r]of e.files()){if(e.reporter.capped)return;if(r.type===`directory`||!Sk.test(n))continue;let i=e.readDom(n);if(!i)continue;let a=P(i.root,`cacheId`);if(a===void 0){e.reporter.error(`pivot-missing-cacheId`,`${n}: missing cacheId attribute`,n);continue}t.has(a)||e.reporter.error(`pivot-cacheId-not-in-workbook`,`${n}: cacheId="${a}" is not declared in workbook <pivotCaches>`,n)}for(let[t,n]of e.files()){if(e.reporter.capped)return;if(n.type===`directory`||!/^xl\/pivotCache\/pivotCacheDefinition\d+\.xml$/.test(t))continue;let r=e.readRels(yk(t)).rels.find(e=>e.type.includes(`pivotCacheRecords`));if(r){let n=r.target.startsWith(`/`)?r.target.slice(1):xk(bk(t),r.target);e.has(n)||e.reporter.error(`pivot-cacheRecords-missing`,`${t}: references missing pivotCacheRecords file ${n}`,t)}}}function vk(e){let t=new Set;if(!e.has(Ck))return t;let n=e.readDom(Ck);if(!n)return t;let r=M(n.root,`pivotCaches`);if(!r)return t;for(let e of fD(r,`pivotCache`)){let n=P(e,`cacheId`);n!==void 0&&t.add(n)}return t}function yk(e){let t=bk(e),n=e.slice(t.length?t.length+1:0);return t?`${t}/_rels/${n}.rels`:`_rels/${n}.rels`}function bk(e){let t=e.lastIndexOf(`/`);return t===-1?``:e.slice(0,t)}function xk(e,t){let n=e?e.split(`/`):[];for(let e of t.split(`/`))if(!(e===``||e===`.`)){if(e===`..`){n.pop();continue}n.push(e)}return n.join(`/`)}var Sk,Ck,wk=t((()=>{hD(),Sk=/^xl\/pivotTables\/pivotTable\d+\.xml$/,Ck=`xl/workbook.xml`}));function Tk(e){e.has(`_rels/.rels`)&&(e.readRels(`_rels/.rels`).rels.some(e=>e.type.includes(`/relationships/officeDocument`)&&e.target===`xl/workbook.xml`)||e.reporter.error(`root-rels-missing-officeDocument`,`Missing officeDocument relationship to xl/workbook.xml`,`_rels/.rels`))}function Ek(e){for(let[t,n]of e.files()){if(e.reporter.capped)return;n.type===`directory`||!t.endsWith(`.rels`)||Dk(e,t)}}function Dk(e,t){let n=e.readRels(t);for(let r of n.malformedEntries){if(e.reporter.capped)return;r.missingId&&e.reporter.error(`rels-missing-id-attr`,`Relationship missing Id attribute`,t),r.missingType&&e.reporter.error(`rels-missing-type-attr`,`Relationship ${r.id??`<no-id>`} missing Type attribute`,t),r.missingTarget&&e.reporter.error(`rels-missing-target`,`Relationship ${r.id??`<no-id>`} missing Target attribute`,t)}let r=new Set;for(let i of n.rels){if(e.reporter.capped)return;if(r.has(i.id)?e.reporter.error(`rels-duplicate-id`,`Duplicate relationship Id: ${i.id}`,t):r.add(i.id),i.targetMode===`External`)continue;if(i.target===``){e.reporter.error(`rels-empty-target`,`Relationship ${i.id} (${i.type}) has empty Target`,t);continue}let n=zO(t,i.target);if(!VO(n)){e.reporter.error(`rels-invalid-target-path`,`Rel ${i.id} (${i.type}) target escapes package root: ${i.target} -> ${n}`,t);continue}if(!e.has(n)){e.reporter.error(`rels-missing-target`,`Rel ${i.id} (${i.type}) target missing: ${i.target} -> ${n}`,t);continue}let a=Ok.get(i.type);a&&!a.pattern.test(n)&&e.reporter.error(`rels-type-target-mismatch`,`Rel ${i.id} (${a.label}) points at unexpected target: ${n}`,t)}if(t!==`_rels/.rels`){let n=IO(t),r=LO(t).replace(/\.rels$/,``),i=HO(t)??(n?`${n}/${r}`:r);e.has(i)||e.reporter.error(`rels-source-missing`,`Relationships part has no corresponding source part: ${i}`,t)}}var Ok,kk=t((()=>{WO(),Ok=new Map([{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,pattern:/^xl\/workbook\.xml$/,label:`workbook`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet`,pattern:/^xl\/worksheets\/sheet\d+\.xml$/,label:`worksheet`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet`,pattern:/^xl\/chartsheets\/sheet\d+\.xml$/,label:`chartsheet`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart`,pattern:/^xl\/charts\/chart\d+\.xml$/,label:`chart`},{type:`http://schemas.microsoft.com/office/2014/relationships/chartEx`,pattern:/^xl\/charts\/chartEx\d+\.xml$/,label:`chartEx`},{type:`http://schemas.microsoft.com/office/2011/relationships/chartStyle`,pattern:/^xl\/charts\/style(?:Ex)?\d+\.xml$/,label:`chart style`},{type:`http://schemas.microsoft.com/office/2011/relationships/chartColorStyle`,pattern:/^xl\/charts\/colors(?:Ex)?\d+\.xml$/,label:`chart colors`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,pattern:/^xl\/drawings\/drawing\d+\.xml$/,label:`drawing`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles`,pattern:/^xl\/styles\.xml$/,label:`styles`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings`,pattern:/^xl\/sharedStrings\.xml$/,label:`shared strings`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme`,pattern:/^xl\/theme\/[^/]+\.xml$/,label:`theme`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable`,pattern:/^xl\/pivotTables\/pivotTable\d+\.xml$/,label:`pivot table`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition`,pattern:/^xl\/pivotCache\/pivotCacheDefinition\d+\.xml$/,label:`pivot cache definition`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheRecords`,pattern:/^xl\/pivotCache\/pivotCacheRecords\d+\.xml$/,label:`pivot cache records`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/table`,pattern:/^xl\/tables\/table\d+\.xml$/,label:`table`},{type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink`,pattern:/^xl\/externalLinks\/externalLink\d+\.xml$/,label:`external link`}].map(e=>[e.type,e]))}));function Ak(e){for(let t of Mk)e.has(t)||e.reporter.error(`missing-part`,`Missing required part: ${t}`,t)}function jk(e){for(let[t,n]of e.files()){if(e.reporter.capped)return;if(!(n.type===`directory`||!FO(t))){if(t.endsWith(`.rels`)){e.readRels(t);continue}if(t===`[Content_Types].xml`){e.readContentTypes();continue}e.readDom(t,n=>{e.reporter.error(`xml-malformed`,`Malformed XML: ${n.message}`,t)})}}}var Mk,Nk=t((()=>{WO(),Mk=[`[Content_Types].xml`,`_rels/.rels`,`xl/workbook.xml`,`xl/_rels/workbook.xml.rels`]}));function Pk(e){if(!e.has(Lk))return;let t=e.readDom(Lk);if(!t)return;let n=t.root,r=new Set,i=M(n,`numFmts`);if(i)for(let e of fD(i,`numFmt`)){let t=P(e,`numFmtId`),n=t===void 0?NaN:parseInt(t,10);Number.isFinite(n)&&r.add(n)}let a=Fk(n,`fonts`,`font`),o=Fk(n,`fills`,`fill`),s=Fk(n,`borders`,`border`),c=M(n,`cellXfs`);if(!c)return;let l=-1;for(let t of fD(c,`xf`)){if(l++,e.reporter.capped)return;let n=Ik(t,`numFmtId`);n!==void 0&&n>=Rk&&!r.has(n)&&e.reporter.warning(`styles-numFmt-missing-for-xf`,`cellXfs[${l}] references numFmtId=${n} which is not declared in <numFmts>`,Lk);let i=Ik(t,`fontId`);i!==void 0&&(i<0||i>=a)&&e.reporter.warning(`styles-font-index-oob`,`cellXfs[${l}] fontId=${i} is outside [0, ${a})`,Lk);let c=Ik(t,`fillId`);c!==void 0&&(c<0||c>=o)&&e.reporter.warning(`styles-fill-index-oob`,`cellXfs[${l}] fillId=${c} is outside [0, ${o})`,Lk);let u=Ik(t,`borderId`);u!==void 0&&(u<0||u>=s)&&e.reporter.warning(`styles-border-index-oob`,`cellXfs[${l}] borderId=${u} is outside [0, ${s})`,Lk)}}function Fk(e,t,n){let r=M(e,t);if(!r)return 0;let i=P(r,`count`),a=i===void 0?NaN:parseInt(i,10);return Number.isFinite(a)&&a>=0?a:fD(r,n).length}function Ik(e,t){let n=P(e,t);if(n===void 0)return;let r=parseInt(n,10);return Number.isFinite(r)?r:void 0}var Lk,Rk,zk=t((()=>{hD(),Lk=`xl/styles.xml`,Rk=164}));function Bk(e){for(let[t,n]of e.files()){if(e.reporter.capped)return;n.type===`directory`||!Kk.test(t)||Vk(e,t)}}function Vk(e,t){let n=e.readDom(t);if(!n)return;let r=n.root;Hk(e,t,r),Uk(e,t,r),Gk(e,t,r)}function Hk(e,t,n){let r=M(n,`autoFilter`);if(!r)return;let i=M(n,`tableColumns`);if(!i)return;let a=fD(i,`tableColumn`).length;if(a===0)return;let o=fD(r,`filterColumn`);o.length===a&&o.every(e=>{let t=P(e,`hiddenButton`),n=e.children.some(e=>e.type===`element`);return t===`1`&&!n})&&e.reporter.error(`table-filterColumn-redundant-per-column`,`${t}: every column has a bare <filterColumn hiddenButton="1"/> (total ${o.length}). Excel drops tables with a fully-hidden autoFilter on load. Only emit <filterColumn> for columns that have active filter state or an explicit filterButton=false.`,t)}function Uk(e,t,n){let r=M(n,`tableColumns`);if(r)for(let n of fD(r,`tableColumn`)){if(e.reporter.capped)return;let r=P(n,`totalsRowFunction`);if(!(!r||!qk.has(r))&&M(n,`totalsRowFormula`)){let i=P(n,`name`)??P(n,`id`)??`?`;e.reporter.error(`table-totalsRowFormula-with-builtin-function`,`${t}: tableColumn "${i}" has totalsRowFunction="${r}" alongside a <totalsRowFormula>. The schema accepts the formula child only when totalsRowFunction is "custom" or absent.`,t)}}}function Wk(e){let t=/^[A-Za-z]+(\d+)(?::[A-Za-z]+(\d+))?$/.exec(e);if(!t)return;let n=parseInt(t[1],10),r=t[2]===void 0?n:parseInt(t[2],10);if(!(!Number.isFinite(n)||!Number.isFinite(r)))return{top:Math.min(n,r),bottom:Math.max(n,r)}}function Gk(e,t,n){let r=P(n,`ref`),i=P(n,`totalsRowCount`);if(!r||!i)return;let a=parseInt(i,10);if(!Number.isFinite(a)||a<=0)return;let o=M(n,`autoFilter`);if(!o)return;let s=P(o,`ref`);if(!s)return;let c=Wk(r),l=Wk(s);if(!c||!l)return;let u=c.bottom,d=u-a;l.bottom!==d&&e.reporter.error(`table-autoFilter-covers-totalsRow`,`${t}: autoFilter ref ends at row ${l.bottom} but table ref ends at row ${u} with totalsRowCount=${a}; autoFilter must end at row ${d} (one row above the totals row).`,t)}var Kk,qk,Jk=t((()=>{hD(),Kk=/^xl\/tables\/table\d+\.xml$/,qk=new Set([`sum`,`average`,`count`,`countNums`,`max`,`min`,`stdDev`,`var`])}));function Yk(e){if(!e.has(Zk)||!e.has(Qk))return;let t=e.readDom(Zk,t=>{e.reporter.error(`xml-malformed`,`Malformed XML: ${t.message}`,Zk)});if(!t)return;let n=e.readRels(Qk);Xk(e,t.root);let r=M(t.root,`sheets`);if(!r)return;let i=new Set,a=new Set,o=new Set;for(let t of fD(r,`sheet`)){if(e.reporter.capped)return;let r=P(t,`sheetId`),s=P(t,`id`),c=P(t,`name`);if(r!==void 0&&(i.has(r)?e.reporter.error(`workbook-duplicate-sheetId`,`Duplicate sheetId in workbook: ${r}`,Zk):i.add(r)),s!==void 0){a.has(s)?e.reporter.error(`workbook-duplicate-sheet-rid`,`Duplicate sheet r:id in workbook: ${s}`,Zk):a.add(s);let t=n.byId.get(s);t?!t.type.includes(`/relationships/worksheet`)&&!t.type.includes(`/relationships/chartsheet`)&&e.reporter.error(`workbook-sheet-wrong-rel-type`,`Workbook <sheet> ${s} relationship is neither worksheet nor chartsheet: ${t.type}`,Zk):e.reporter.error(`workbook-sheet-missing-rel`,`Workbook <sheet> references missing relationship: ${s} (in ${Qk})`,Zk)}if(c===void 0){e.reporter.error(`workbook-sheet-missing-name`,`Workbook <sheet> (sheetId=${r??`?`}) missing name attribute`,Zk);continue}(c.length===0||c.length>eA)&&e.reporter.error(`workbook-sheet-name-too-long`,`Sheet name "${c}" has ${c.length} characters; Excel limit is ${eA}`,Zk),$k.test(c)&&e.reporter.error(`workbook-sheet-name-invalid-chars`,`Sheet name "${c}" contains characters disallowed by Excel (\\ / ? * [ ] :)`,Zk);let l=c.toLowerCase();o.has(l)?e.reporter.error(`workbook-sheet-name-duplicate`,`Duplicate sheet name (case-insensitive): "${c}"`,Zk):o.add(l)}}function Xk(e,t){let n=new Map;for(let e=0;e<tA.length;e++)n.set(tA[e],e);let r=-1,i=``;for(let a of t.children){if(a.type!==`element`)continue;let t=uD(a.name),o=n.get(t);if(o!==void 0){if(o<r){e.reporter.error(`workbook-child-order`,`Workbook child element <${t}> appears after <${i}>, violating CT_Workbook sequence order (ECMA-376 §18.2.27). Excel will reject this file as corrupt.`,Zk);return}o>r&&(r=o,i=t)}}}var Zk,Qk,$k,eA,tA,nA=t((()=>{hD(),Zk=`xl/workbook.xml`,Qk=`xl/_rels/workbook.xml.rels`,$k=/[\\/?*[\]:]/,eA=31,tA=[`fileVersion`,`fileSharing`,`workbookPr`,`workbookProtection`,`bookViews`,`sheets`,`functionGroups`,`externalReferences`,`definedNames`,`calcPr`,`oleSize`,`customWorkbookViews`,`pivotCaches`,`smartTagPr`,`smartTagTypes`,`webPublishing`,`fileRecoveryPr`,`webPublishObjects`,`extLst`]}));function rA(e){let t=e.readDom(`xl/styles.xml`);if(!t)return;let n=M(t.root,`cellXfs`);if(!n)return 0;let r=P(n,`count`),i=r===void 0?NaN:parseInt(r,10);return Number.isFinite(i)&&i>=0?i:fD(n,`xf`).length}function iA(e){let t=e.readDom(`xl/sharedStrings.xml`);if(!t)return;let n=P(t.root,`uniqueCount`),r=n===void 0?NaN:parseInt(n,10);return Number.isFinite(r)&&r>=0?r:fD(t.root,`si`).length}function aA(e){return{cellXfs:rA(e),sstSize:iA(e)}}function oA(e){let t=/^\$?([A-Za-z]+)\$?(\d+)$/.exec(e);if(t)try{let e=ja(t[1])+1,n=Na(t[2])+1;return!Number.isFinite(e)||!Number.isFinite(n)?void 0:{col:e,row:n}}catch{return}}function sA(e){let t=e.indexOf(`:`);if(t===-1){let t=oA(e);return t?{t:t.row,l:t.col,b:t.row,r:t.col,ref:e}:void 0}let n=oA(e.slice(0,t)),r=oA(e.slice(t+1));if(!(!n||!r))return{t:Math.min(n.row,r.row),b:Math.max(n.row,r.row),l:Math.min(n.col,r.col),r:Math.max(n.col,r.col),ref:e}}function cA(e,t){return e.l<=t.r&&t.l<=e.r&&e.t<=t.b&&t.t<=e.b}function lA(e){let t;for(let[n,r]of e.files()){if(e.reporter.capped)return;r.type===`directory`||!n.startsWith(`xl/worksheets/sheet`)||!n.endsWith(`.xml`)||(t??=aA(e),uA(e,n,t))}}function uA(e,t,n){let r=e.readDom(t,n=>{e.reporter.error(`xml-malformed`,`Malformed XML: ${n.message}`,t)});if(!r)return;let i=r.root;dA(e,t,i);let a=M(i,`sheetData`);a&&pA(e,t,a,n);let o=M(i,`mergeCells`);o&&_A(e,t,o),vA(e,t,i)}function dA(e,t,n){let r=-1,i=!1,a=!1;for(let o of fA(n)){if(o.type!==`element`)continue;let n=o.name.includes(`:`)?o.name.slice(o.name.lastIndexOf(`:`)+1):o.name,s=bA.get(n);if(s!==void 0){if(s<r){let o=yA[r]??`?`;e.reporter.error(`sheet-child-out-of-order`,`Worksheet child <${n}> appears after <${o}>; expected order violated`,t),n===`legacyDrawing`&&i&&(a=!0)}s>r&&(r=s),n===`controls`&&(i=!0)}}a&&e.reporter.error(`sheet-legacyDrawing-after-controls`,`Worksheet has <legacyDrawing> after <controls>; Excel may repair or reject this sheet`,t)}function*fA(e){for(let t of e.children)if(t.type===`element`){if((t.name.includes(`:`)?t.name.slice(t.name.lastIndexOf(`:`)+1):t.name)===`AlternateContent`){for(let e of t.children)if(e.type===`element`&&(e.name.includes(`:`)?e.name.slice(e.name.lastIndexOf(`:`)+1):e.name)===`Choice`)for(let t of e.children)t.type===`element`&&(yield t);continue}yield t}}function pA(e,t,n,r){let i=new Map,a=new Set;for(let o of n.children){if(e.reporter.capped)return;if(o.type!==`element`||!dD(o.name,`row`))continue;let n=P(o,`r`),s=n===void 0?NaN:parseInt(n,10);Number.isFinite(s)&&(s<1||s>xA)&&e.reporter.error(`sheet-row-index-out-of-bounds`,`Row r="${n}" is outside Excel's limit 1..${xA}`,t);for(let n of o.children){if(e.reporter.capped)return;n.type!==`element`||!dD(n.name,`c`)||(mA(e,t,n,Number.isFinite(s)?s:void 0,r),hA(n,i,a))}}for(let[n,r]of i)r>1&&e.reporter.error(`sheet-sharedFormula-duplicate-master`,`Shared formula si="${n}" has ${r} master entries (should be exactly one)`,t);for(let n of a)i.has(n)||e.reporter.error(`sheet-sharedFormula-master-missing`,`Shared formula si="${n}" has no master entry`,t)}function mA(e,t,n,r,i){let a=P(n,`r`);if(a===void 0){e.reporter.error(`sheet-cell-ref-missing`,`Cell missing r="" attribute`,t);return}let o=oA(a);if(!o){e.reporter.error(`sheet-cell-ref-invalid`,`Cell has invalid r="${a}"`,t);return}(o.col<1||o.col>SA||o.row<1||o.row>xA)&&e.reporter.error(`sheet-cell-ref-out-of-bounds`,`Cell r="${a}" is outside Excel's sheet bounds (max XFD1048576)`,t),r!==void 0&&o.row!==r&&e.reporter.error(`sheet-cell-ref-row-mismatch`,`Cell r="${a}" has row ${o.row} but is inside <row r="${r}">`,t);let s=P(n,`s`);if(s!==void 0&&i.cellXfs!==void 0){let n=parseInt(s,10);(!Number.isFinite(n)||n<0||n>=i.cellXfs)&&e.reporter.error(`sheet-cell-style-index-oob`,`Cell r="${a}" s="${s}" is outside cellXfs range [0, ${i.cellXfs})`,t)}if(P(n,`t`)===`s`&&i.sstSize!==void 0){let r=M(n,`v`);if(r){let n=gA(r).trim(),o=parseInt(n,10);(!Number.isFinite(o)||o<0||o>=i.sstSize)&&e.reporter.error(`sheet-cell-sst-index-oob`,`Cell r="${a}" references sharedStrings index ${n} but SST has ${i.sstSize} entries`,t)}}}function hA(e,t,n){let r=M(e,`f`);if(!r||P(r,`t`)!==`shared`)return;let i=P(r,`si`);if(i===void 0)return;let a=P(r,`ref`)!==void 0,o=gA(r).trim().length>0;a||o?t.set(i,(t.get(i)??0)+1):n.add(i)}function gA(e){let t=``;for(let n of e.children)n.type===`text`||n.type===`cdata`?t+=n.value:n.type===`element`&&(t+=gA(n));return t}function _A(e,t,n){let r=[];for(let i of fD(n,`mergeCell`)){if(e.reporter.capped)return;let n=P(i,`ref`);if(!n){e.reporter.error(`sheet-merge-invalid-range`,`<mergeCell> missing ref attribute`,t);continue}let a=sA(n);if(!a){e.reporter.error(`sheet-merge-invalid-range`,`<mergeCell ref="${n}"> does not parse as a range`,t);continue}for(let i of r)if(cA(i,a)){e.reporter.error(`sheet-merge-overlap`,`Merge ${n} overlaps with earlier merge ${i.ref}`,t);break}r.push(a)}}function vA(e,t,n){let r=`xl/worksheets/_rels/${LO(t)}.rels`,i=[];for(let e of fA(n))i.push(e);let a=e=>e.name.includes(`:`)?e.name.slice(e.name.lastIndexOf(`:`)+1):e.name,o=[],s=i.find(e=>a(e)===`controls`);if(s)for(let e of N(s,`control`)){let t=P(e,`id`);t&&o.push({rid:t,kind:`control`,typeIncludes:`/relationships/ctrlProp`,missingKind:`sheet-control-missing-rel`,wrongKind:`sheet-control-wrong-rel-type`,label:`<control>`})}let c=i.find(e=>a(e)===`legacyDrawing`);if(c){let e=P(c,`id`);e&&o.push({rid:e,kind:`legacyDrawing`,typeIncludes:`/relationships/vmlDrawing`,missingKind:`sheet-legacyDrawing-missing-rel`,wrongKind:`sheet-legacyDrawing-wrong-rel-type`,label:`<legacyDrawing>`})}let l=i.find(e=>a(e)===`drawing`);if(l){let e=P(l,`id`);e&&o.push({rid:e,kind:`drawing`,typeIncludes:`/relationships/drawing`,missingKind:`sheet-drawing-missing-rel`,wrongKind:`sheet-drawing-wrong-rel-type`,label:`<drawing>`})}let u=i.find(e=>a(e)===`hyperlinks`);if(u)for(let e of fD(u,`hyperlink`)){let t=P(e,`id`);t&&o.push({rid:t,kind:`hyperlink`,typeIncludes:`/relationships/hyperlink`,missingKind:`sheet-hyperlink-missing-rel`,wrongKind:`sheet-hyperlink-wrong-rel-type`,label:`<hyperlink>`})}let d=i.find(e=>a(e)===`tableParts`);if(d)for(let e of fD(d,`tablePart`)){let t=P(e,`id`);t&&o.push({rid:t,kind:`tablePart`,typeIncludes:`/relationships/table`,missingKind:`sheet-tablePart-missing-rel`,wrongKind:`sheet-tablePart-wrong-rel-type`,label:`<tablePart>`})}for(let e of i.filter(e=>a(e)===`comments`)){let t=P(e,`id`);t&&o.push({rid:t,kind:`comments`,typeIncludes:`/relationships/comments`,missingKind:`sheet-comments-missing-rel`,wrongKind:`sheet-comments-wrong-rel-type`,label:`<comments>`})}let f=o.some(e=>e.kind===`control`),p=o.some(e=>e.kind===`drawing`);if(f&&!p&&e.reporter.error(`sheet-controls-missing-drawing`,`Worksheet has legacy <controls> but no <drawing>; Excel may repair/reject legacy form controls`,t),o.length>0&&!e.has(r)){e.reporter.error(`sheet-missing-rels`,`Worksheet has controls/legacyDrawing/drawing/hyperlinks/tableParts but missing rels part: ${r}`,t);return}if(!e.has(r))return;let m=e.readRels(r);for(let n of o){if(e.reporter.capped)return;let i=m.byId.get(n.rid);if(!i){e.reporter.error(n.missingKind,`Sheet ${n.label} references missing relationship: ${n.rid} (in ${r})`,t);continue}i.type.includes(n.typeIncludes)||e.reporter.error(n.wrongKind,`Sheet ${n.label} ${n.rid} relationship is not ${n.typeIncludes}: ${i.type}`,t)}}var yA,bA,xA,SA,CA=t((()=>{Ba(),WO(),hD(),yA=`sheetPr.dimension.sheetViews.sheetFormatPr.cols.sheetData.sheetCalcPr.sheetProtection.protectedRanges.scenarios.autoFilter.sortState.dataConsolidate.customSheetViews.mergeCells.phoneticPr.conditionalFormatting.dataValidations.hyperlinks.printOptions.pageMargins.pageSetup.headerFooter.rowBreaks.colBreaks.customProperties.cellWatches.ignoredErrors.smartTags.drawing.legacyDrawing.legacyDrawingHF.drawingHF.picture.oleObjects.controls.webPublishItems.tableParts.extLst`.split(`.`),bA=new Map(yA.map((e,t)=>[e,t])),xA=1048576,SA=16384})),wA,TA=t((()=>{wA=class{constructor(e={}){this.problems=[],this.errorCount=0,this.maxProblems=e.maxProblems,this.includeWarnings=e.includeWarnings??!1}get capped(){return this.maxProblems!==void 0&&this.problems.length>=this.maxProblems}get hasErrors(){return this.errorCount>0}error(e,t,n){this.push({kind:e,severity:`error`,message:t,file:n}),this.errorCount+=+!this.capped}warning(e,t,n){this.includeWarnings&&this.push({kind:e,severity:`warning`,message:t,file:n})}push(e){this.maxProblems!==void 0&&this.problems.length>=this.maxProblems||this.problems.push(e)}}}));async function EA(e,t={}){let{checkXmlWellFormed:n=!0,checkRelationshipTargets:r=!0,checkContentTypesOverrides:i=!0,checkWorksheetControlWiring:a=!0,checkChartStructure:o=!0,checkStylesIntegrity:s=!0,maxProblems:c,includeWarnings:l=!1}=t,u=await QE(e),d=new wA({maxProblems:c,includeWarnings:l}),f=new MO(u,d);Ak(f),n&&jk(f),i&&nk(f),Tk(f),r&&Ek(f),Yk(f),a&&lA(f),o&&(gD(f),sk(f),QO(f),_k(f),Bk(f),GO(f)),s&&Pk(f);let p=DA(u);return{ok:!d.hasErrors,problems:d.problems,stats:p}}function DA(e){let t=0,n=0,r=0;for(let[,i]of e)i.type!==`directory`&&(t++,FO(i.path)&&n++,i.path.endsWith(`.rels`)&&r++);return{entryCount:t,xmlLikeCount:n,relsCount:r}}var OA=t((()=>{$E(),AO(),ZO(),ek(),ok(),gk(),wk(),kk(),Nk(),zk(),Jk(),nA(),CA(),NO(),WO(),TA()}));function kA(e,t,n){let r=AA(n);e.openNode(`sheetData`,{sheetId:t});for(let t of r){e.openNode(`row`,{r:t.rowNum});for(let{address:n,value:r}of t.cells)NA(e,n,r);e.closeNode()}e.closeNode()}function AA(e){let t=new Map;for(let n of Object.keys(e)){let r=n.toUpperCase(),i=jA(r);if(i===void 0)continue;let a=t.get(i);a||(a={rowNum:i,cells:[]},t.set(i,a)),a.cells.push({address:MA(r),value:e[n]})}return[...t.values()].sort((e,t)=>e.rowNum-t.rowNum)}function jA(e){let t=/^\$?[A-Z]+\$?(\d+)$/.exec(e);return t?parseInt(t[1],10):void 0}function MA(e){return e.replace(/\$/g,``)}function NA(e,t,n){if(n==null){e.leafNode(`cell`,{r:t});return}if(typeof n==`number`){e.openNode(`cell`,{r:t}),e.leafNode(`v`,void 0,String(n)),e.closeNode();return}if(typeof n==`boolean`){e.openNode(`cell`,{r:t,t:`b`}),e.leafNode(`v`,void 0,n?`1`:`0`),e.closeNode();return}if(PA(n)){e.openNode(`cell`,{r:t,t:`e`}),e.leafNode(`v`,void 0,n),e.closeNode();return}e.openNode(`cell`,{r:t,t:`str`}),e.leafNode(`v`,void 0,n),e.closeNode()}function PA(e){return RA.has(e)}function FA(e,t){if(t===null||t===``)return null;switch(e){case`b`:return t!==`0`&&t.toLowerCase()!==`false`;case`e`:return t;case`str`:return t;default:{let e=Number(t);return Number.isFinite(e)?e:t}}}var IA,LA,RA,zA=t((()=>{j(),ag(),IA={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`},LA=class extends A{constructor(...e){super(...e),this.sheetNamesByIndex=[],this.currentSheetCells=null,this.currentSheetName=null,this.currentCellAddress=null,this.currentCellType=`n`,this.currentCellValue=null,this.inV=!1}get tag(){return`externalLink`}reset(){super.reset(),this.sheetNamesByIndex=[],this.currentSheetCells=null,this.currentSheetName=null,this.currentCellAddress=null,this.currentCellType=`n`,this.currentCellValue=null,this.inV=!1}render(e,t){if(e.openXml(of),e.openNode(`externalLink`,IA),e.openNode(`externalBook`,{"r:id":`rId1`}),t.sheetNames.length>0){e.openNode(`sheetNames`);for(let n of t.sheetNames)e.leafNode(`sheetName`,{val:n});e.closeNode()}let n=t.cachedValues??{},r=Object.keys(n).some(e=>{let t=n[e];return t&&Object.keys(t).length>0});e.openNode(`sheetDataSet`);for(let i=0;i<t.sheetNames.length;i++){let a=t.sheetNames[i],o=r?n[a]:void 0;o&&Object.keys(o).length>0?kA(e,i,o):e.leafNode(`sheetData`,{sheetId:String(i)})}e.closeNode(),e.closeNode(),e.closeNode()}parseOpen(e){switch(e.name){case`externalLink`:return this.model={externalBookRId:``,sheetNames:[],cachedValues:{}},this.sheetNamesByIndex=[],!0;case`externalBook`:return this.model&&(this.model.externalBookRId=e.attributes[`r:id`]??``),!0;case`sheetName`:if(this.model){let t=e.attributes.val??``;this.model.sheetNames.push(t),this.sheetNamesByIndex.push(t)}return!0;case`sheetData`:{let t=e.attributes.sheetId,n=t===void 0?NaN:parseInt(t,10);return this.currentSheetName=Number.isFinite(n)?this.sheetNamesByIndex[n]??null:null,this.currentSheetCells=this.currentSheetName?{}:null,!0}case`cell`:return this.currentCellAddress=e.attributes.r??null,this.currentCellType=e.attributes.t??`n`,this.currentCellValue=null,!0;case`v`:return this.inV=!0,this.currentCellValue=``,!0;default:return!1}}parseText(e){this.inV&&(this.currentCellValue=(this.currentCellValue??``)+e)}parseClose(e){switch(e){case`v`:return this.inV=!1,!0;case`cell`:return this.model&&this.currentSheetCells&&this.currentCellAddress&&(this.currentSheetCells[this.currentCellAddress.toUpperCase()]=FA(this.currentCellType,this.currentCellValue)),this.currentCellAddress=null,this.currentCellType=`n`,this.currentCellValue=null,!0;case`sheetData`:return this.model&&this.currentSheetName&&this.currentSheetCells&&Object.keys(this.currentSheetCells).length>0&&(this.model.cachedValues[this.currentSheetName]=this.currentSheetCells),this.currentSheetName=null,this.currentSheetCells=null,!0;case`externalLink`:return!1;default:return!0}}},RA=new Set([`#NULL!`,`#DIV/0!`,`#VALUE!`,`#REF!`,`#NAME?`,`#NUM!`,`#N/A`,`#GETTING_DATA`,`#SPILL!`,`#CALC!`,`#CONNECT!`,`#BLOCKED!`,`#UNKNOWN!`,`#FIELD!`,`#PYTHON!`])})),BA,VA,HA=t((()=>{j(),Uy(),ag(),BA=`Author`,VA=class e extends A{constructor(){super(),this._authors=[],this._inAuthors=!1,this._inAuthor=!1,this._currentAuthor=``,this.map={comment:new Hy},this.model={comments:[]}}render(t,n){let r=n||this.model;t.openXml(of),t.openNode(`comments`,e.COMMENTS_ATTRIBUTES);let i=new Set;for(let e of r.comments)i.add(e.author??BA);let a=[...i];t.openNode(`authors`);for(let e of a)t.leafNode(`author`,null,e);t.closeNode(),t.openNode(`commentList`),r.comments.forEach(e=>{let n=a.indexOf(e.author??BA);this.map.comment.render(t,{...e,authorId:n>=0?n:0})}),t.closeNode(),t.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case`authors`:return this._inAuthors=!0,this._authors=[],!0;case`author`:return this._inAuthors&&(this._inAuthor=!0,this._currentAuthor=``),!0;case`commentList`:return this.model={comments:[]},!0;case`comment`:return this.parser=this.map.comment,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this._inAuthor?this._currentAuthor+=e:this.parser&&this.parser.parseText(e)}parseClose(e){switch(e){case`authors`:return this._inAuthors=!1,!0;case`author`:return this._inAuthors&&(this._authors.push(this._currentAuthor),this._inAuthor=!1,this._currentAuthor=``),!0;case`commentList`:for(let e of this.model.comments){let{authorId:t}=e;t!=null&&t>=0&&t<this._authors.length&&(e.author=this._authors[t])}return!1;case`comment`:return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}static{this.COMMENTS_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`}}}}));function UA(e){let t=[];t.push(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>`),t.push(`<ThreadedComments xmlns="${XA}">`);for(let{ref:n,comment:r}of e){let e=r.id??`{${Ew()}}`,i=[`ref="${JA(n)}"`];if(r.date&&i.push(`dT="${JA(r.date)}"`),i.push(`personId="${JA(r.personId)}"`),i.push(`id="${JA(e)}"`),r.parentId&&i.push(`parentId="${JA(r.parentId)}"`),r.done!==void 0&&i.push(`done="${r.done?`1`:`0`}"`),t.push(`<threadedComment ${i.join(` `)}>`),t.push(`<text>${qA(r.text)}</text>`),r.mentions&&r.mentions.length>0){t.push(`<mentions>`);for(let e of r.mentions){if(!YA(e.startIndex))throw Error(`Threaded comment mention.startIndex must be a non-negative integer; got ${e.startIndex}.`);if(!YA(e.length))throw Error(`Threaded comment mention.length must be a non-negative integer; got ${e.length}.`);let n=[`mentionpersonId="${JA(e.mentionPersonId)}"`,`mentionId="${JA(e.mentionId??`{${Ew()}}`)}"`,`startIndex="${e.startIndex}"`,`length="${e.length}"`];t.push(`<mention ${n.join(` `)}/>`)}t.push(`</mentions>`)}t.push(`</threadedComment>`)}return t.push(`</ThreadedComments>`),t.join(``)}function WA(e){let t;try{t=rD(e).root}catch{return[]}let n=[];for(let e of aD(t,`threadedComment`)){let t=e.attributes.ref;if(!t)continue;let r=e.attributes.personId;if(!r)continue;let i=iD(e,`text`),a=iD(e,`mentions`),o=a?aD(a,`mention`).map(e=>({mentionId:e.attributes.mentionId,mentionPersonId:e.attributes.mentionpersonId??``,startIndex:parseInt(e.attributes.startIndex??`0`,10),length:parseInt(e.attributes.length??`0`,10)})):[],s={personId:r,text:i?oD(i):``,...e.attributes.id?{id:e.attributes.id}:{},...e.attributes.parentId?{parentId:e.attributes.parentId}:{},...e.attributes.dT?{date:e.attributes.dT}:{},...e.attributes.done===void 0?{}:{done:e.attributes.done===`1`},...o.length>0?{mentions:o}:{}};n.push({ref:t,comment:s})}return n}function GA(e){let t=[];t.push(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>`),t.push(`<personList xmlns="${XA}">`);for(let n of e){let e=[`displayName="${JA(n.displayName)}"`,`id="${JA(n.id)}"`];n.userId!==void 0&&e.push(`userId="${JA(n.userId)}"`),n.providerId!==void 0&&e.push(`providerId="${JA(n.providerId)}"`),t.push(`<person ${e.join(` `)}/>`)}return t.push(`</personList>`),t.join(``)}function KA(e){let t;try{t=rD(e).root}catch{return[]}return aD(t,`person`).map(e=>{let t=e.attributes.id??`{${Ew()}}`,n=e.attributes.displayName??``;if(!n)return;let r={id:t,displayName:n};return e.attributes.userId!==void 0&&(r.userId=e.attributes.userId),e.attributes.providerId!==void 0&&(r.providerId=e.attributes.providerId),r}).filter(e=>e!==void 0)}function qA(e){return qd(e)}function JA(e){return Jd(e)}function YA(e){return typeof e==`number`&&Number.isFinite(e)&&e>=0&&Math.floor(e)===e}var XA,ZA=t((()=>{Dw(),lD(),sf(),XA=`http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments`})),QA,$A=t((()=>{j(),ag(),QA=class extends A{_checkedToXmlValue(e){switch(e){case`Checked`:return`1`;case`Mixed`:return`2`;default:return`0`}}get tag(){return`formControlPr`}render(e,t){let n=t||this.model,r={xmlns:`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`,objectType:`CheckBox`,checked:this._checkedToXmlValue(n.checked),lockText:`1`};n.link&&(r.fmlaLink=n.link),n.noThreeD&&(r.noThreeD=`1`),e.openXml({version:`1.0`,encoding:`UTF-8`,standalone:`yes`}),e.leafNode(this.tag,r)}toXml(e){let t=new ig;return this.render(t,e),t.xml}parseOpen(){return!0}parseText(){}parseClose(){return!1}}})),ej,tj=t((()=>{Fw(),j(),nb(),ag(),ej=class e extends A{constructor(){super(),this._parsingHeaderImage=!1,this.map={"v:shape":new tb},this.model={comments:[],formControls:[]}}get tag(){return`xml`}render(t,n){let r=n||this.model,i=r.comments,a=r.formControls,o=r.headerImage,s=i&&i.length>0,c=a&&a.length>0,l=!!o;if(t.openXml(of),t.openNode(this.tag,e.DRAWING_ATTRIBUTES),t.openNode(`o:shapelayout`,{"v:ext":`edit`}),t.leafNode(`o:idmap`,{"v:ext":`edit`,data:1}),t.closeNode(),s&&(t.openNode(`v:shapetype`,{id:`_x0000_t202`,coordsize:`21600,21600`,"o:spt":202,path:`m,l,21600r21600,l21600,xe`}),t.leafNode(`v:stroke`,{joinstyle:`miter`}),t.leafNode(`v:path`,{gradientshapeok:`t`,"o:connecttype":`rect`}),t.closeNode()),c&&(t.openNode(`v:shapetype`,{id:`_x0000_t201`,coordsize:`21600,21600`,"o:spt":`201`,path:`m,l,21600r21600,l21600,xe`}),t.leafNode(`v:stroke`,{joinstyle:`miter`}),t.leafNode(`v:path`,{shadowok:`f`,"o:extrusionok":`f`,strokeok:`f`,fillok:`f`,"o:connecttype":`rect`}),t.leafNode(`o:lock`,{"v:ext":`edit`,shapetype:`t`}),t.closeNode()),l&&(t.openNode(`v:shapetype`,{id:`_x0000_t75`,coordsize:`21600,21600`,"o:spt":`75`,"o:preferrelative":`t`,path:`m@4@5l@4@11@9@11@9@5xe`,filled:`f`,stroked:`f`}),t.leafNode(`v:stroke`,{joinstyle:`miter`}),t.openNode(`v:formulas`),t.leafNode(`v:f`,{eqn:`if lineDrawn pixelLineWidth 0`}),t.leafNode(`v:f`,{eqn:`sum @0 1 0`}),t.leafNode(`v:f`,{eqn:`sum 0 0 @1`}),t.leafNode(`v:f`,{eqn:`prod @2 1 2`}),t.leafNode(`v:f`,{eqn:`prod @3 21600 pixelWidth`}),t.leafNode(`v:f`,{eqn:`prod @3 21600 pixelHeight`}),t.leafNode(`v:f`,{eqn:`sum @0 0 1`}),t.leafNode(`v:f`,{eqn:`prod @6 1 2`}),t.leafNode(`v:f`,{eqn:`prod @7 21600 pixelWidth`}),t.leafNode(`v:f`,{eqn:`sum @8 21600 0`}),t.leafNode(`v:f`,{eqn:`prod @7 21600 pixelHeight`}),t.leafNode(`v:f`,{eqn:`sum @10 21600 0`}),t.closeNode(),t.leafNode(`v:path`,{"o:extrusionok":`f`,gradientshapeok:`t`,"o:connecttype":`rect`}),t.leafNode(`o:lock`,{"v:ext":`edit`,aspectratio:`t`}),t.closeNode()),s)for(let e=0;e<i.length;e++)this.map[`v:shape`].render(t,i[e],e);if(c)for(let e of a)this._renderCheckboxShape(t,e);l&&this._renderHeaderImageShape(t,o),t.closeNode()}_renderHeaderImageShape(e,t){let n=t.width??467.25,r=t.height??311.25;e.openNode(`v:shape`,{id:`CH`,"o:spid":`_x0000_s2049`,type:`#_x0000_t75`,style:`position:absolute;margin-left:0;margin-top:0;width:${n}pt;height:${r}pt;z-index:1`}),e.leafNode(`v:imagedata`,{"o:relid":t.imageRelId,"o:title":`watermark`}),e.leafNode(`o:lock`,{"v:ext":`edit`,rotation:`t`}),e.closeNode()}_renderCheckboxShape(e,t){let n={id:`_x0000_s${t.shapeId}`,type:`#_x0000_t201`,style:Pw.getVmlStyle(t),"o:insetmode":`auto`,fillcolor:`buttonFace [67]`,strokecolor:`windowText [64]`,"o:preferrelative":`t`,filled:`f`,stroked:`f`};e.openNode(`v:shape`,n),e.leafNode(`v:fill`,{"o:detectmouseclick":`t`}),e.leafNode(`o:lock`,{"v:ext":`edit`,text:`t`}),t.text&&(e.openNode(`v:textbox`,{style:`mso-direction-alt:auto`,"o:singleclick":`t`}),e.openNode(`div`,{style:`text-align:left`}),e.openNode(`font`,{face:`Tahoma`,size:`160`,color:`auto`}),e.writeText(t.text),e.closeNode(),e.closeNode(),e.closeNode()),e.openNode(`x:ClientData`,{ObjectType:`Checkbox`}),e.leafNode(`x:MoveWithCells`),e.leafNode(`x:SizeWithCells`),e.openNode(`x:Anchor`),e.writeText(Pw.getVmlAnchor(t)),e.closeNode(),e.leafNode(`x:Locked`,void 0,`False`),e.leafNode(`x:LockText`,void 0,`True`),e.leafNode(`x:PrintObject`,void 0,t.print?`True`:`False`),e.leafNode(`x:AutoFill`,void 0,`False`),e.leafNode(`x:AutoLine`,void 0,`False`),e.leafNode(`x:TextHAlign`,void 0,`Left`),e.leafNode(`x:TextVAlign`,void 0,`Center`),t.link&&e.leafNode(`x:FmlaLink`,void 0,t.link),t.noThreeD&&e.leafNode(`x:NoThreeD`),e.leafNode(`x:Checked`,void 0,String(Pw.getVmlCheckedValue(t))),e.leafNode(`x:Row`,void 0,String(t.tl.row)),e.leafNode(`x:Column`,void 0,String(t.tl.col)),e.closeNode(),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={comments:[],formControls:[]};break;case`v:shape`:if(e.attributes.type===`#_x0000_t75`){this._parsingHeaderImage=!0;let t=e.attributes.style||``,n=/width:([0-9.]+)pt/.exec(t),r=/height:([0-9.]+)pt/.exec(t);this._headerImageWidth=n?parseFloat(n[1]):void 0,this._headerImageHeight=r?parseFloat(r[1]):void 0}else this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break;default:this._parsingHeaderImage&&e.name===`v:imagedata`?this._headerImageRelId=e.attributes[`o:relid`]:(this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e));break}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0;switch(e){case`v:shape`:return this._parsingHeaderImage&&this._headerImageRelId&&(this.model.headerImage={imageRelId:this._headerImageRelId,width:this._headerImageWidth,height:this._headerImageHeight}),this._parsingHeaderImage=!1,this._headerImageRelId=void 0,this._headerImageWidth=void 0,this._headerImageHeight=void 0,!0;case this.tag:return!1;default:return!0}}static{this.DRAWING_ATTRIBUTES={"xmlns:v":`urn:schemas-microsoft-com:vml`,"xmlns:o":`urn:schemas-microsoft-com:office:office`,"xmlns:x":`urn:schemas-microsoft-com:office:excel`}}}}));function nj(e){return isNaN(e.getTime())?``:e.toISOString().replace(/\.\d{3}Z$/,``)}function rj(e){let t=qd(e.name),n=e.numFmtId??`0`,r=aj(e.extraAttrs),i=e.fieldGroupXml?`\n ${e.fieldGroupXml}`:``;if(e.sharedItems===null){if(e.isLoaded)return i?`<cacheField name="${t}" numFmtId="${n}"${r}>${i}\n </cacheField>`:`<cacheField name="${t}" numFmtId="${n}"${r} />`;let a;return a=e.minValue!==void 0&&e.maxValue!==void 0?` containsSemiMixedTypes="0" containsString="0" containsNumber="1"${e.containsInteger?` containsInteger="1"`:``} minValue="${e.minValue}" maxValue="${e.maxValue}"`:``,`<cacheField name="${t}" numFmtId="${n}"${r}>
409
409
  <sharedItems${a} />${i}
410
410
  </cacheField>`}if(e.isLoaded&&e.sharedItems.length===0)return`<cacheField name="${t}" numFmtId="${n}"${r}>
411
- <sharedItems${rj(e)} />${i}
412
- </cacheField>`;if(e.isLoaded){let a=tj(e.sharedItems);return`<cacheField name="${t}" numFmtId="${n}"${r}>
413
- <sharedItems${rj(e)} count="${e.sharedItems.length}">
411
+ <sharedItems${oj(e)} />${i}
412
+ </cacheField>`;if(e.isLoaded){let a=ij(e.sharedItems);return`<cacheField name="${t}" numFmtId="${n}"${r}>
413
+ <sharedItems${oj(e)} count="${e.sharedItems.length}">
414
414
  ${a}
415
415
  </sharedItems>${i}
416
- </cacheField>`}let a=!1,o=!1,s=!1,c=!1,l=!1,u=!1,d=!0,f=1/0,p=-1/0;for(let t of e.sharedItems)t===null?l=!0:t instanceof Ww?u=!0:typeof t==`string`?a=!0:typeof t==`number`?Number.isFinite(t)?(o=!0,t<f&&(f=t),t>p&&(p=t),Number.isInteger(t)||(d=!1)):l=!0:typeof t==`boolean`?s=!0:t instanceof Date&&(c=!0);let m=[];a||(m.push(`containsSemiMixedTypes="0"`),m.push(`containsString="0"`)),+!!a+ +!!o+ +!!s+ +!!c+ +!!u>1&&m.push(`containsMixedTypes="1"`),o&&(m.push(`containsNumber="1"`),d&&m.push(`containsInteger="1"`),m.push(`minValue="${f}"`),m.push(`maxValue="${p}"`)),c&&m.push(`containsDate="1"`),l&&m.push(`containsBlank="1"`);let h=tj(e.sharedItems);return`<cacheField name="${t}" numFmtId="${n}"${r}>
416
+ </cacheField>`}let a=!1,o=!1,s=!1,c=!1,l=!1,u=!1,d=!0,f=1/0,p=-1/0;for(let t of e.sharedItems)t===null?l=!0:t instanceof qw?u=!0:typeof t==`string`?a=!0:typeof t==`number`?Number.isFinite(t)?(o=!0,t<f&&(f=t),t>p&&(p=t),Number.isInteger(t)||(d=!1)):l=!0:typeof t==`boolean`?s=!0:t instanceof Date&&(c=!0);let m=[];a||(m.push(`containsSemiMixedTypes="0"`),m.push(`containsString="0"`)),+!!a+ +!!o+ +!!s+ +!!c+ +!!u>1&&m.push(`containsMixedTypes="1"`),o&&(m.push(`containsNumber="1"`),d&&m.push(`containsInteger="1"`),m.push(`minValue="${f}"`),m.push(`maxValue="${p}"`)),c&&m.push(`containsDate="1"`),l&&m.push(`containsBlank="1"`);let h=ij(e.sharedItems);return`<cacheField name="${t}" numFmtId="${n}"${r}>
417
417
  <sharedItems${m.length>0?` ${m.join(` `)}`:``} count="${e.sharedItems.length}">
418
418
  ${h}
419
419
  </sharedItems>${i}
420
- </cacheField>`}function tj(e){let t=[];for(let n of e)n===null?t.push(`<m />`):n instanceof Ww?t.push(`<e v="${qd(n.code)}" />`):typeof n==`number`?Number.isFinite(n)?t.push(`<n v="${n}" />`):t.push(`<m />`):typeof n==`boolean`?t.push(`<b v="${n?`1`:`0`}" />`):n instanceof Date?t.push(`<d v="${$A(n)}" />`):t.push(`<s v="${qd(n)}" />`);return t.join(``)}function nj(e){return e?Object.entries(e).map(([e,t])=>` ${e}="${qd(t)}"`).join(``):``}function rj(e){let t=[];return e.containsSemiMixedTypes!==void 0&&t.push(`containsSemiMixedTypes="${e.containsSemiMixedTypes}"`),e.containsNonDate!==void 0&&t.push(`containsNonDate="${e.containsNonDate}"`),e.containsString!==void 0&&t.push(`containsString="${e.containsString}"`),e.containsBlank!==void 0&&t.push(`containsBlank="${e.containsBlank}"`),e.containsMixedTypes!==void 0&&t.push(`containsMixedTypes="${e.containsMixedTypes}"`),e.containsNumber!==void 0&&t.push(`containsNumber="${e.containsNumber}"`),e.containsInteger!==void 0&&t.push(`containsInteger="${e.containsInteger}"`),e.minValue!==void 0&&t.push(`minValue="${e.minValue}"`),e.maxValue!==void 0&&t.push(`maxValue="${e.maxValue}"`),e.containsDate!==void 0&&t.push(`containsDate="${e.containsDate}"`),t.length>0?` ${t.join(` `)}`:``}var ij=t((()=>{Yw(),sf()}));function aj(e){if(!e)return``;let t=Object.entries(e);return t.length===0?``:t.filter(([,e])=>e!=null).map(([e,t])=>`${e}="${qd(String(t))}"`).join(` `)}var oj,sj=t((()=>{sf(),oj=class{constructor(e){this.active=!1,this.depth=0,this.buffer=[],this.lastOpenIndex=-1,this.rootTag=e}start(e){this.active=!0,this.depth=0;let t=aj(e);this.buffer=[`<${this.rootTag}${t?` `+t:``}>`]}startAs(e,t){this.rootTag=e,this.start(t)}reset(){this.active=!1,this.depth=0,this.buffer.length=0,this.lastOpenIndex=-1}feedOpen(e,t){let n=aj(t);this.buffer.push(`<${e}${n?` `+n:``}>`),this.depth++,this.lastOpenIndex=this.buffer.length-1}feedText(e){this.buffer.push(qd(e)),this.lastOpenIndex=-1}feedClose(e){if(e===this.rootTag&&this.depth===0)return this.buffer.push(`</${e}>`),this.active=!1,this.lastOpenIndex=-1,!0;if(this.depth>0&&this.depth--,this.lastOpenIndex>=0&&this.lastOpenIndex===this.buffer.length-1){let e=this.buffer[this.lastOpenIndex];return this.buffer[this.lastOpenIndex]=e.slice(0,-1)+` />`,this.lastOpenIndex=-1,!1}return this.lastOpenIndex=-1,this.buffer.push(`</${e}>`),!1}get result(){return this.buffer.join(``)}}}));function cj(e,t){switch(e){case`s`:return t.v??``;case`n`:return t.v===void 0||t.v===``?null:parseFloat(t.v);case`b`:return t.v===`1`;case`e`:return new Ww(t.v??``);case`m`:return null;case`d`:{if(!t.v)return null;let e=df(t.v);return isNaN(e.getTime())?null:e}default:return null}}var lj,uj,dj=t((()=>{Yw(),j(),sj(),Hf(),lj=new Set([`name`,`numFmtId`]),uj=class extends A{constructor(){super(),this.inSharedItems=!1,this.fieldGroupCollector=new oj(`fieldGroup`),this.model=null}get tag(){return`cacheField`}reset(){this.model=null,this.inSharedItems=!1,this.fieldGroupCollector.reset()}parseOpen(e){let{name:t,attributes:n}=e;if(this.fieldGroupCollector.active)return this.fieldGroupCollector.feedOpen(t,n),!0;switch(t){case`cacheField`:{let e={};for(let[t,r]of Object.entries(n))lj.has(t)||(e[t]=String(r));this.model={name:n.name??``,sharedItems:null,numFmtId:n.numFmtId,isLoaded:!0,extraAttrs:Object.keys(e).length>0?e:void 0};break}case`fieldGroup`:this.model&&this.fieldGroupCollector.start(n);break;case`sharedItems`:if(this.inSharedItems=!0,this.model){if(n.containsNumber!==void 0&&(this.model.containsNumber=n.containsNumber),n.containsInteger!==void 0&&(this.model.containsInteger=n.containsInteger),n.minValue!==void 0){let e=parseFloat(n.minValue);Number.isFinite(e)&&(this.model.minValue=e)}if(n.maxValue!==void 0){let e=parseFloat(n.maxValue);Number.isFinite(e)&&(this.model.maxValue=e)}n.containsSemiMixedTypes!==void 0&&(this.model.containsSemiMixedTypes=n.containsSemiMixedTypes),n.containsNonDate!==void 0&&(this.model.containsNonDate=n.containsNonDate),n.containsString!==void 0&&(this.model.containsString=n.containsString),n.containsBlank!==void 0&&(this.model.containsBlank=n.containsBlank),n.containsDate!==void 0&&(this.model.containsDate=n.containsDate),n.containsMixedTypes!==void 0&&(this.model.containsMixedTypes=n.containsMixedTypes),this.model.sharedItems=[]}break;case`s`:case`n`:case`b`:case`e`:case`m`:case`d`:this.inSharedItems&&this.model&&this.model.sharedItems!==null&&this.model.sharedItems.push(cj(t,n));break}return!0}parseText(e){this.fieldGroupCollector.active&&this.fieldGroupCollector.feedText(e)}parseClose(e){if(this.fieldGroupCollector.active)return this.fieldGroupCollector.feedClose(e)&&(this.model&&(this.model.fieldGroupXml=this.fieldGroupCollector.result),this.fieldGroupCollector.reset()),!0;switch(e){case`cacheField`:return!1;case`sharedItems`:this.inSharedItems=!1;break}return!0}}})),fj,pj,mj=t((()=>{j(),ij(),dj(),sj(),ag(),fj=new Set([`xmlns`,`xmlns:r`,`r:id`,`refreshOnLoad`,`createdVersion`,`refreshedVersion`,`minRefreshableVersion`,`recordCount`,`backgroundQuery`,`supportSubquery`,`supportAdvancedDrill`]),pj=class e extends A{constructor(){super(),this.currentCacheField=null,this.inCacheFields=!1,this.inCacheSource=!1,this.extLstCollector=new oj(`extLst`),this.unknownCollector=new oj(``),this.unknownElementsXmlParts=[],this.cacheSourceChildCollector=new oj(``),this.cacheSourceXmlParts=[],this.model=null}get tag(){return`pivotCacheDefinition`}reset(){this.model=null,this.currentCacheField=null,this.inCacheFields=!1,this.inCacheSource=!1,this.extLstCollector.reset(),this.unknownCollector.reset(),this.unknownElementsXmlParts=[],this.cacheSourceChildCollector.reset(),this.cacheSourceXmlParts=[]}render(e,t){`isLoaded`in t&&t.isLoaded||!(`source`in t)?this.renderLoaded(e,t):this.renderNew(e,t)}renderNew(t,n){let{source:r,cacheFields:i}=n,a=r.getSheetValues().slice(2).filter(Array.isArray).length;t.openXml(of),t.openNode(this.tag,{...e.PIVOT_CACHE_DEFINITION_ATTRIBUTES,"r:id":`rId1`,refreshOnLoad:`1`,createdVersion:`8`,refreshedVersion:`8`,minRefreshableVersion:`3`,recordCount:a}),t.openNode(`cacheSource`,{type:`worksheet`});let o=r.tableName?{name:r.tableName}:{ref:r.dimensions.shortRange,sheet:r.name};t.leafNode(`worksheetSource`,o),t.closeNode(),t.openNode(`cacheFields`,{count:i.length}),t.writeRaw(e.renderCacheFieldsXml(i)),t.closeNode(),t.closeNode()}renderLoaded(t,n){let{cacheFields:r,sourceRef:i,sourceSheet:a,sourceTableName:o,recordCount:s}=n;t.openXml(of);let c={...e.PIVOT_CACHE_DEFINITION_ATTRIBUTES,"r:id":n.rId??`rId1`};if(n.refreshOnLoad&&(c.refreshOnLoad=n.refreshOnLoad),c.createdVersion=n.createdVersion??`8`,c.refreshedVersion=n.refreshedVersion??`8`,c.minRefreshableVersion=n.minRefreshableVersion??`3`,s!==void 0&&(c.recordCount=s),n.backgroundQuery&&(c.backgroundQuery=n.backgroundQuery),n.supportSubquery&&(c.supportSubquery=n.supportSubquery),n.supportAdvancedDrill&&(c.supportAdvancedDrill=n.supportAdvancedDrill),n.extraRootAttrs)for(let[e,t]of Object.entries(n.extraRootAttrs))c[e]=t;if(t.openNode(this.tag,c),t.openNode(`cacheSource`,{type:n.cacheSourceType??`worksheet`}),!n.cacheSourceType||n.cacheSourceType===`worksheet`){let e=o?{name:o}:{ref:i,sheet:a};n.worksheetSourceRId&&(e[`r:id`]=n.worksheetSourceRId),Object.values(e).some(e=>e!==void 0)&&t.leafNode(`worksheetSource`,e)}n.cacheSourceXml&&t.writeRaw(n.cacheSourceXml),t.closeNode(),t.openNode(`cacheFields`,{count:r.length}),t.writeRaw(e.renderCacheFieldsXml(r)),t.closeNode(),n.unknownElementsXml&&t.writeRaw(n.unknownElementsXml),n.extLstXml&&t.writeRaw(n.extLstXml),t.closeNode()}parseOpen(e){let{name:t,attributes:n}=e;if(this.extLstCollector.active)return this.extLstCollector.feedOpen(t,n),!0;if(this.unknownCollector.active)return this.unknownCollector.feedOpen(t,n),!0;if(this.cacheSourceChildCollector.active)return this.cacheSourceChildCollector.feedOpen(t,n),!0;if(this.currentCacheField)return this.currentCacheField.parseOpen(e),!0;switch(t){case this.tag:{this.reset();let e={};for(let[t,r]of Object.entries(n))fj.has(t)||(e[t]=String(r));this.model={cacheFields:[],rId:n[`r:id`],refreshOnLoad:n.refreshOnLoad,createdVersion:n.createdVersion,refreshedVersion:n.refreshedVersion,minRefreshableVersion:n.minRefreshableVersion,recordCount:n.recordCount?parseInt(n.recordCount,10):void 0,backgroundQuery:n.backgroundQuery,supportSubquery:n.supportSubquery,supportAdvancedDrill:n.supportAdvancedDrill,extraRootAttrs:Object.keys(e).length>0?e:void 0,isLoaded:!0};break}case`cacheSource`:this.inCacheSource=!0,this.model&&(this.model.cacheSourceType=n.type);break;case`worksheetSource`:this.inCacheSource&&this.model&&(this.model.sourceRef=n.ref,this.model.sourceSheet=n.sheet,this.model.sourceTableName=n.name,n[`r:id`]&&(this.model.worksheetSourceRId=n[`r:id`]));break;case`cacheFields`:this.inCacheFields=!0;break;case`cacheField`:this.inCacheFields&&(this.currentCacheField=new uj,this.currentCacheField.parseOpen(e));break;case`extLst`:this.model&&this.extLstCollector.start(n);break;default:if(this.inCacheSource&&this.model){this.cacheSourceChildCollector.startAs(t,n);break}this.model&&this.unknownCollector.startAs(t,n);break}return!0}parseText(e){if(this.extLstCollector.active){this.extLstCollector.feedText(e);return}if(this.unknownCollector.active){this.unknownCollector.feedText(e);return}if(this.cacheSourceChildCollector.active){this.cacheSourceChildCollector.feedText(e);return}this.currentCacheField&&this.currentCacheField.parseText(e)}parseClose(e){if(this.extLstCollector.active)return this.extLstCollector.feedClose(e)&&(this.model&&(this.model.extLstXml=this.extLstCollector.result),this.extLstCollector.reset()),!0;if(this.unknownCollector.active)return this.unknownCollector.feedClose(e)&&(this.unknownElementsXmlParts.push(this.unknownCollector.result),this.unknownCollector.reset()),!0;if(this.cacheSourceChildCollector.active)return this.cacheSourceChildCollector.feedClose(e)&&(this.cacheSourceXmlParts.push(this.cacheSourceChildCollector.result),this.cacheSourceChildCollector.reset()),!0;if(this.currentCacheField)return this.currentCacheField.parseClose(e)||(this.model&&this.currentCacheField.model&&this.model.cacheFields.push(this.currentCacheField.model),this.currentCacheField=null),!0;switch(e){case this.tag:return this.model&&this.unknownElementsXmlParts.length>0&&(this.model.unknownElementsXml=this.unknownElementsXmlParts.join(``)),!1;case`cacheSource`:this.inCacheSource=!1,this.model&&this.cacheSourceXmlParts.length>0&&(this.model.cacheSourceXml=this.cacheSourceXmlParts.join(``));break;case`cacheFields`:this.inCacheFields=!1;break}return!0}static renderCacheFieldsXml(e){return`
421
- `+e.map(e=>ej(e)).join(`
422
- `)}static{this.PIVOT_CACHE_DEFINITION_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`}}}}));function hj(e,t){if(t instanceof Date){let n=t.getTime();for(let t=0;t<e.length;t++){let r=e[t];if(r instanceof Date&&r.getTime()===n)return t}return-1}if(t instanceof Ww){for(let n=0;n<e.length;n++){let r=e[n];if(r instanceof Ww&&r.code===t.code)return n}return-1}return e.indexOf(t)}var gj,_j,vj=t((()=>{la(),Yw(),j(),ij(),Hf(),sf(),ag(),gj=new Set([`xmlns`,`xmlns:r`,`count`]),_j=class e extends A{constructor(){super(),this.model=null,this.currentRecord=null}get tag(){return`pivotCacheRecords`}reset(){this.model=null,this.currentRecord=null}render(e,t){`isLoaded`in t&&t.isLoaded||!(`source`in t)?this.renderLoaded(e,t):this.renderNew(e,t)}renderNew(t,n){let{source:r,cacheFields:i}=n,a=r.getSheetValues().slice(2).filter(Array.isArray);t.openXml(of),t.openNode(this.tag,{...e.PIVOT_CACHE_RECORDS_ATTRIBUTES,count:a.length}),t.writeRaw(this.renderTableNew(a,i)),t.closeNode()}renderLoaded(t,n){t.openXml(of);let r={xmlns:e.PIVOT_CACHE_RECORDS_ATTRIBUTES.xmlns,"xmlns:r":e.PIVOT_CACHE_RECORDS_ATTRIBUTES[`xmlns:r`]};if(n.extraRootAttrs)for(let[e,t]of Object.entries(n.extraRootAttrs))r[e]=t;else r[`xmlns:mc`]=e.PIVOT_CACHE_RECORDS_ATTRIBUTES[`xmlns:mc`],r[`mc:Ignorable`]=e.PIVOT_CACHE_RECORDS_ATTRIBUTES[`mc:Ignorable`],r[`xmlns:xr`]=e.PIVOT_CACHE_RECORDS_ATTRIBUTES[`xmlns:xr`];r.count=n.records.length,t.openNode(this.tag,r);for(let e of n.records){t.writeRaw(`
420
+ </cacheField>`}function ij(e){let t=[];for(let n of e)n===null?t.push(`<m />`):n instanceof qw?t.push(`<e v="${qd(n.code)}" />`):typeof n==`number`?Number.isFinite(n)?t.push(`<n v="${n}" />`):t.push(`<m />`):typeof n==`boolean`?t.push(`<b v="${n?`1`:`0`}" />`):n instanceof Date?t.push(`<d v="${nj(n)}" />`):t.push(`<s v="${qd(n)}" />`);return t.join(``)}function aj(e){return e?Object.entries(e).map(([e,t])=>` ${e}="${qd(t)}"`).join(``):``}function oj(e){let t=[];return e.containsSemiMixedTypes!==void 0&&t.push(`containsSemiMixedTypes="${e.containsSemiMixedTypes}"`),e.containsNonDate!==void 0&&t.push(`containsNonDate="${e.containsNonDate}"`),e.containsString!==void 0&&t.push(`containsString="${e.containsString}"`),e.containsBlank!==void 0&&t.push(`containsBlank="${e.containsBlank}"`),e.containsMixedTypes!==void 0&&t.push(`containsMixedTypes="${e.containsMixedTypes}"`),e.containsNumber!==void 0&&t.push(`containsNumber="${e.containsNumber}"`),e.containsInteger!==void 0&&t.push(`containsInteger="${e.containsInteger}"`),e.minValue!==void 0&&t.push(`minValue="${e.minValue}"`),e.maxValue!==void 0&&t.push(`maxValue="${e.maxValue}"`),e.containsDate!==void 0&&t.push(`containsDate="${e.containsDate}"`),t.length>0?` ${t.join(` `)}`:``}var sj=t((()=>{Qw(),sf()}));function cj(e){if(!e)return``;let t=Object.entries(e);return t.length===0?``:t.filter(([,e])=>e!=null).map(([e,t])=>`${e}="${qd(String(t))}"`).join(` `)}var lj,uj=t((()=>{sf(),lj=class{constructor(e){this.active=!1,this.depth=0,this.buffer=[],this.lastOpenIndex=-1,this.rootTag=e}start(e){this.active=!0,this.depth=0;let t=cj(e);this.buffer=[`<${this.rootTag}${t?` `+t:``}>`]}startAs(e,t){this.rootTag=e,this.start(t)}reset(){this.active=!1,this.depth=0,this.buffer.length=0,this.lastOpenIndex=-1}feedOpen(e,t){let n=cj(t);this.buffer.push(`<${e}${n?` `+n:``}>`),this.depth++,this.lastOpenIndex=this.buffer.length-1}feedText(e){this.buffer.push(qd(e)),this.lastOpenIndex=-1}feedClose(e){if(e===this.rootTag&&this.depth===0)return this.buffer.push(`</${e}>`),this.active=!1,this.lastOpenIndex=-1,!0;if(this.depth>0&&this.depth--,this.lastOpenIndex>=0&&this.lastOpenIndex===this.buffer.length-1){let e=this.buffer[this.lastOpenIndex];return this.buffer[this.lastOpenIndex]=e.slice(0,-1)+` />`,this.lastOpenIndex=-1,!1}return this.lastOpenIndex=-1,this.buffer.push(`</${e}>`),!1}get result(){return this.buffer.join(``)}}}));function dj(e,t){switch(e){case`s`:return t.v??``;case`n`:return t.v===void 0||t.v===``?null:parseFloat(t.v);case`b`:return t.v===`1`;case`e`:return new qw(t.v??``);case`m`:return null;case`d`:{if(!t.v)return null;let e=df(t.v);return isNaN(e.getTime())?null:e}default:return null}}var fj,pj,mj=t((()=>{Qw(),j(),uj(),Hf(),fj=new Set([`name`,`numFmtId`]),pj=class extends A{constructor(){super(),this.inSharedItems=!1,this.fieldGroupCollector=new lj(`fieldGroup`),this.model=null}get tag(){return`cacheField`}reset(){this.model=null,this.inSharedItems=!1,this.fieldGroupCollector.reset()}parseOpen(e){let{name:t,attributes:n}=e;if(this.fieldGroupCollector.active)return this.fieldGroupCollector.feedOpen(t,n),!0;switch(t){case`cacheField`:{let e={};for(let[t,r]of Object.entries(n))fj.has(t)||(e[t]=String(r));this.model={name:n.name??``,sharedItems:null,numFmtId:n.numFmtId,isLoaded:!0,extraAttrs:Object.keys(e).length>0?e:void 0};break}case`fieldGroup`:this.model&&this.fieldGroupCollector.start(n);break;case`sharedItems`:if(this.inSharedItems=!0,this.model){if(n.containsNumber!==void 0&&(this.model.containsNumber=n.containsNumber),n.containsInteger!==void 0&&(this.model.containsInteger=n.containsInteger),n.minValue!==void 0){let e=parseFloat(n.minValue);Number.isFinite(e)&&(this.model.minValue=e)}if(n.maxValue!==void 0){let e=parseFloat(n.maxValue);Number.isFinite(e)&&(this.model.maxValue=e)}n.containsSemiMixedTypes!==void 0&&(this.model.containsSemiMixedTypes=n.containsSemiMixedTypes),n.containsNonDate!==void 0&&(this.model.containsNonDate=n.containsNonDate),n.containsString!==void 0&&(this.model.containsString=n.containsString),n.containsBlank!==void 0&&(this.model.containsBlank=n.containsBlank),n.containsDate!==void 0&&(this.model.containsDate=n.containsDate),n.containsMixedTypes!==void 0&&(this.model.containsMixedTypes=n.containsMixedTypes),this.model.sharedItems=[]}break;case`s`:case`n`:case`b`:case`e`:case`m`:case`d`:this.inSharedItems&&this.model&&this.model.sharedItems!==null&&this.model.sharedItems.push(dj(t,n));break}return!0}parseText(e){this.fieldGroupCollector.active&&this.fieldGroupCollector.feedText(e)}parseClose(e){if(this.fieldGroupCollector.active)return this.fieldGroupCollector.feedClose(e)&&(this.model&&(this.model.fieldGroupXml=this.fieldGroupCollector.result),this.fieldGroupCollector.reset()),!0;switch(e){case`cacheField`:return!1;case`sharedItems`:this.inSharedItems=!1;break}return!0}}})),hj,gj,_j=t((()=>{j(),sj(),mj(),uj(),ag(),hj=new Set([`xmlns`,`xmlns:r`,`r:id`,`refreshOnLoad`,`createdVersion`,`refreshedVersion`,`minRefreshableVersion`,`recordCount`,`backgroundQuery`,`supportSubquery`,`supportAdvancedDrill`]),gj=class e extends A{constructor(){super(),this.currentCacheField=null,this.inCacheFields=!1,this.inCacheSource=!1,this.extLstCollector=new lj(`extLst`),this.unknownCollector=new lj(``),this.unknownElementsXmlParts=[],this.cacheSourceChildCollector=new lj(``),this.cacheSourceXmlParts=[],this.model=null}get tag(){return`pivotCacheDefinition`}reset(){this.model=null,this.currentCacheField=null,this.inCacheFields=!1,this.inCacheSource=!1,this.extLstCollector.reset(),this.unknownCollector.reset(),this.unknownElementsXmlParts=[],this.cacheSourceChildCollector.reset(),this.cacheSourceXmlParts=[]}render(e,t){`isLoaded`in t&&t.isLoaded||!(`source`in t)?this.renderLoaded(e,t):this.renderNew(e,t)}renderNew(t,n){let{source:r,cacheFields:i}=n,a=r.getSheetValues().slice(2).filter(Array.isArray).length;t.openXml(of),t.openNode(this.tag,{...e.PIVOT_CACHE_DEFINITION_ATTRIBUTES,"r:id":`rId1`,refreshOnLoad:`1`,createdVersion:`8`,refreshedVersion:`8`,minRefreshableVersion:`3`,recordCount:a}),t.openNode(`cacheSource`,{type:`worksheet`});let o=r.tableName?{name:r.tableName}:{ref:r.dimensions.shortRange,sheet:r.name};t.leafNode(`worksheetSource`,o),t.closeNode(),t.openNode(`cacheFields`,{count:i.length}),t.writeRaw(e.renderCacheFieldsXml(i)),t.closeNode(),t.closeNode()}renderLoaded(t,n){let{cacheFields:r,sourceRef:i,sourceSheet:a,sourceTableName:o,recordCount:s}=n;t.openXml(of);let c={...e.PIVOT_CACHE_DEFINITION_ATTRIBUTES,"r:id":n.rId??`rId1`};if(n.refreshOnLoad&&(c.refreshOnLoad=n.refreshOnLoad),c.createdVersion=n.createdVersion??`8`,c.refreshedVersion=n.refreshedVersion??`8`,c.minRefreshableVersion=n.minRefreshableVersion??`3`,s!==void 0&&(c.recordCount=s),n.backgroundQuery&&(c.backgroundQuery=n.backgroundQuery),n.supportSubquery&&(c.supportSubquery=n.supportSubquery),n.supportAdvancedDrill&&(c.supportAdvancedDrill=n.supportAdvancedDrill),n.extraRootAttrs)for(let[e,t]of Object.entries(n.extraRootAttrs))c[e]=t;if(t.openNode(this.tag,c),t.openNode(`cacheSource`,{type:n.cacheSourceType??`worksheet`}),!n.cacheSourceType||n.cacheSourceType===`worksheet`){let e=o?{name:o}:{ref:i,sheet:a};n.worksheetSourceRId&&(e[`r:id`]=n.worksheetSourceRId),Object.values(e).some(e=>e!==void 0)&&t.leafNode(`worksheetSource`,e)}n.cacheSourceXml&&t.writeRaw(n.cacheSourceXml),t.closeNode(),t.openNode(`cacheFields`,{count:r.length}),t.writeRaw(e.renderCacheFieldsXml(r)),t.closeNode(),n.unknownElementsXml&&t.writeRaw(n.unknownElementsXml),n.extLstXml&&t.writeRaw(n.extLstXml),t.closeNode()}parseOpen(e){let{name:t,attributes:n}=e;if(this.extLstCollector.active)return this.extLstCollector.feedOpen(t,n),!0;if(this.unknownCollector.active)return this.unknownCollector.feedOpen(t,n),!0;if(this.cacheSourceChildCollector.active)return this.cacheSourceChildCollector.feedOpen(t,n),!0;if(this.currentCacheField)return this.currentCacheField.parseOpen(e),!0;switch(t){case this.tag:{this.reset();let e={};for(let[t,r]of Object.entries(n))hj.has(t)||(e[t]=String(r));this.model={cacheFields:[],rId:n[`r:id`],refreshOnLoad:n.refreshOnLoad,createdVersion:n.createdVersion,refreshedVersion:n.refreshedVersion,minRefreshableVersion:n.minRefreshableVersion,recordCount:n.recordCount?parseInt(n.recordCount,10):void 0,backgroundQuery:n.backgroundQuery,supportSubquery:n.supportSubquery,supportAdvancedDrill:n.supportAdvancedDrill,extraRootAttrs:Object.keys(e).length>0?e:void 0,isLoaded:!0};break}case`cacheSource`:this.inCacheSource=!0,this.model&&(this.model.cacheSourceType=n.type);break;case`worksheetSource`:this.inCacheSource&&this.model&&(this.model.sourceRef=n.ref,this.model.sourceSheet=n.sheet,this.model.sourceTableName=n.name,n[`r:id`]&&(this.model.worksheetSourceRId=n[`r:id`]));break;case`cacheFields`:this.inCacheFields=!0;break;case`cacheField`:this.inCacheFields&&(this.currentCacheField=new pj,this.currentCacheField.parseOpen(e));break;case`extLst`:this.model&&this.extLstCollector.start(n);break;default:if(this.inCacheSource&&this.model){this.cacheSourceChildCollector.startAs(t,n);break}this.model&&this.unknownCollector.startAs(t,n);break}return!0}parseText(e){if(this.extLstCollector.active){this.extLstCollector.feedText(e);return}if(this.unknownCollector.active){this.unknownCollector.feedText(e);return}if(this.cacheSourceChildCollector.active){this.cacheSourceChildCollector.feedText(e);return}this.currentCacheField&&this.currentCacheField.parseText(e)}parseClose(e){if(this.extLstCollector.active)return this.extLstCollector.feedClose(e)&&(this.model&&(this.model.extLstXml=this.extLstCollector.result),this.extLstCollector.reset()),!0;if(this.unknownCollector.active)return this.unknownCollector.feedClose(e)&&(this.unknownElementsXmlParts.push(this.unknownCollector.result),this.unknownCollector.reset()),!0;if(this.cacheSourceChildCollector.active)return this.cacheSourceChildCollector.feedClose(e)&&(this.cacheSourceXmlParts.push(this.cacheSourceChildCollector.result),this.cacheSourceChildCollector.reset()),!0;if(this.currentCacheField)return this.currentCacheField.parseClose(e)||(this.model&&this.currentCacheField.model&&this.model.cacheFields.push(this.currentCacheField.model),this.currentCacheField=null),!0;switch(e){case this.tag:return this.model&&this.unknownElementsXmlParts.length>0&&(this.model.unknownElementsXml=this.unknownElementsXmlParts.join(``)),!1;case`cacheSource`:this.inCacheSource=!1,this.model&&this.cacheSourceXmlParts.length>0&&(this.model.cacheSourceXml=this.cacheSourceXmlParts.join(``));break;case`cacheFields`:this.inCacheFields=!1;break}return!0}static renderCacheFieldsXml(e){return`
421
+ `+e.map(e=>rj(e)).join(`
422
+ `)}static{this.PIVOT_CACHE_DEFINITION_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`}}}}));function vj(e,t){if(t instanceof Date){let n=t.getTime();for(let t=0;t<e.length;t++){let r=e[t];if(r instanceof Date&&r.getTime()===n)return t}return-1}if(t instanceof qw){for(let n=0;n<e.length;n++){let r=e[n];if(r instanceof qw&&r.code===t.code)return n}return-1}return e.indexOf(t)}var yj,bj,xj=t((()=>{la(),Qw(),j(),sj(),Hf(),sf(),ag(),yj=new Set([`xmlns`,`xmlns:r`,`count`]),bj=class e extends A{constructor(){super(),this.model=null,this.currentRecord=null}get tag(){return`pivotCacheRecords`}reset(){this.model=null,this.currentRecord=null}render(e,t){`isLoaded`in t&&t.isLoaded||!(`source`in t)?this.renderLoaded(e,t):this.renderNew(e,t)}renderNew(t,n){let{source:r,cacheFields:i}=n,a=r.getSheetValues().slice(2).filter(Array.isArray);t.openXml(of),t.openNode(this.tag,{...e.PIVOT_CACHE_RECORDS_ATTRIBUTES,count:a.length}),t.writeRaw(this.renderTableNew(a,i)),t.closeNode()}renderLoaded(t,n){t.openXml(of);let r={xmlns:e.PIVOT_CACHE_RECORDS_ATTRIBUTES.xmlns,"xmlns:r":e.PIVOT_CACHE_RECORDS_ATTRIBUTES[`xmlns:r`]};if(n.extraRootAttrs)for(let[e,t]of Object.entries(n.extraRootAttrs))r[e]=t;else r[`xmlns:mc`]=e.PIVOT_CACHE_RECORDS_ATTRIBUTES[`xmlns:mc`],r[`mc:Ignorable`]=e.PIVOT_CACHE_RECORDS_ATTRIBUTES[`mc:Ignorable`],r[`xmlns:xr`]=e.PIVOT_CACHE_RECORDS_ATTRIBUTES[`xmlns:xr`];r.count=n.records.length,t.openNode(this.tag,r);for(let e of n.records){t.writeRaw(`
423
423
  <r>`);for(let n of e)t.writeRaw(`
424
424
  `),t.writeRaw(this.renderRecordValue(n));t.writeRaw(`
425
- </r>`)}t.closeNode()}renderRecordValue(e){switch(e.type){case`x`:return`<x v="${e.value}" />`;case`n`:return Number.isFinite(e.value)?`<n v="${e.value}" />`:`<m />`;case`s`:return`<s v="${qd(e.value)}" />`;case`b`:return`<b v="${e.value?`1`:`0`}" />`;case`m`:return`<m />`;case`d`:return`<d v="${$A(e.value)}" />`;case`e`:return`<e v="${qd(e.value)}" />`;default:throw Error(`Unhandled record value type: ${e.type}`)}}renderTableNew(e,t){let n=[];for(let r of e){let e=r.slice(1);n.push(`
425
+ </r>`)}t.closeNode()}renderRecordValue(e){switch(e.type){case`x`:return`<x v="${e.value}" />`;case`n`:return Number.isFinite(e.value)?`<n v="${e.value}" />`:`<m />`;case`s`:return`<s v="${qd(e.value)}" />`;case`b`:return`<b v="${e.value?`1`:`0`}" />`;case`m`:return`<m />`;case`d`:return`<d v="${nj(e.value)}" />`;case`e`:return`<e v="${qd(e.value)}" />`;default:throw Error(`Unhandled record value type: ${e.type}`)}}renderTableNew(e,t){let n=[];for(let r of e){let e=r.slice(1);n.push(`
426
426
  <r>`);let i=Math.min(e.length,t.length);for(let r=0;r<i;r++)n.push(`
427
427
  `+this.renderCellNew(e[r],t[r].sharedItems));for(let e=i;e<t.length;e++)n.push(`
428
428
  <m />`);n.push(`
429
- </r>`)}return n.join(``)}renderCellNew(e,t){if(e==null||typeof e==`number`&&!Number.isFinite(e)){if(t===null)return`<m />`;let e=t.indexOf(null);return e>=0?`<x v="${e}" />`:`<m />`}if(t===null)return e instanceof Ww?`<e v="${qd(e.code)}" />`:typeof e==`boolean`?`<b v="${e?`1`:`0`}" />`:e instanceof Date?`<d v="${$A(e)}" />`:Number.isFinite(e)?`<n v="${e}" />`:`<s v="${qd(String(e))}" />`;let n=hj(t,e);if(n<0)throw new ia(`${JSON.stringify(e)} not in sharedItems ${JSON.stringify(t)}`);return`<x v="${n}" />`}parseOpen(e){let{name:t,attributes:n}=e;switch(t){case this.tag:{this.reset();let e={};for(let[t,r]of Object.entries(n))gj.has(t)||(e[t]=String(r));this.model={records:[],count:parseInt(n.count??`0`,10),isLoaded:!0,extraRootAttrs:Object.keys(e).length>0?e:void 0};break}case`r`:this.currentRecord=[];break;case`x`:this.currentRecord&&this.currentRecord.push({type:`x`,value:parseInt(n.v??`0`,10)});break;case`n`:this.currentRecord&&(n.v===void 0||n.v===``?this.currentRecord.push({type:`m`}):this.currentRecord.push({type:`n`,value:parseFloat(n.v)}));break;case`s`:this.currentRecord&&this.currentRecord.push({type:`s`,value:n.v??``});break;case`b`:this.currentRecord&&this.currentRecord.push({type:`b`,value:n.v===`1`});break;case`m`:this.currentRecord&&this.currentRecord.push({type:`m`});break;case`d`:if(this.currentRecord)if(!n.v)this.currentRecord.push({type:`m`});else{let e=df(n.v);isNaN(e.getTime())?this.currentRecord.push({type:`m`}):this.currentRecord.push({type:`d`,value:e})}break;case`e`:this.currentRecord&&this.currentRecord.push({type:`e`,value:n.v??``});break}return!0}parseText(e){}parseClose(e){switch(e){case this.tag:return!1;case`r`:this.model&&this.currentRecord&&(this.model.records.push(this.currentRecord),this.currentRecord=null);break}return!0}static{this.PIVOT_CACHE_RECORDS_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"mc:Ignorable":`xr`,"xmlns:xr":`http://schemas.microsoft.com/office/spreadsheetml/2014/revision`}}}}));function yj(){return{currentSection:null,inPivotArea:!1,inAutoSortScope:!1}}function bj(e){return{t:e.t,r:e.r===void 0?void 0:parseInt(e.r,10),i:e.i===void 0?void 0:parseInt(e.i,10),x:[]}}function xj(e,t,n,r){e.openNode(`dataFields`,{count:n.length});for(let i=0;i<n.length;i++){let a=n[i],o=r[i]??`sum`,s=Gw[o],c=t[a];if(!c)throw Error(`Value field index ${a} is out of bounds (cacheFields has ${t.length} entries)`);let l={name:`${s} of ${c.name}`,fld:a,baseField:0,baseItem:0};o!==`sum`&&(l.subtotal=o),e.leafNode(`dataField`,l)}e.closeNode()}function Sj(e,t){let n=new Set(t.rows),r=new Set(t.columns),i=new Set(t.values),a=new Set(t.pages??[]);e.openNode(`pivotFields`,{count:t.cacheFields.length});for(let o=0;o<t.cacheFields.length;o++){let s=t.cacheFields[o];Cj(e,n.has(o),r.has(o),i.has(o),a.has(o),s.sharedItems)}e.closeNode()}function Cj(e,t,n,r,i,a){if(t||n||i){if(!a)throw Error(`sharedItems is required for axis field (row/column/page)`);let i={axis:t?`axisRow`:n?`axisCol`:`axisPage`};r&&(i.dataField=`1`),i.compact=`0`,i.outline=`0`,i.showAll=`0`,e.openNode(`pivotField`,i),e.openNode(`items`,{count:a.length+1});for(let t=0;t<a.length;t++)e.leafNode(`item`,{x:t});e.leafNode(`item`,{t:`default`}),e.closeNode(),e.closeNode();return}let o={};r&&(o.dataField=`1`),o.compact=`0`,o.outline=`0`,o.showAll=`0`,o.defaultSubtotal=`0`,e.leafNode(`pivotField`,o)}var wj,Tj,Ej,Dj,Oj,kj,Aj,jj=t((()=>{Yw(),da(),j(),sj(),ag(),wj=4294967294,Tj=-2,Ej=`PivotStyleLight16`,Dj=new Set([`axisRow`,`axisCol`,`axisPage`,`axisValues`]),Oj=[`x`,`t`,`h`,`sd`,`f`,`m`,`c`,`d`],kj=new Set([`axis`,`dataField`,`compact`,`outline`,`showAll`,`defaultSubtotal`,`numFmtId`,`sortType`,`subtotalTop`,`insertBlankRow`,`multipleItemSelectionAllowed`]),Aj=class e extends A{constructor(){super(),this.state=yj(),this.currentPivotField=null,this.currentRowItem=null,this.currentColItem=null,this.currentChartFormat=null,this.pivotAreaXmlBuffer=[],this.autoSortScopeXmlBuffer=[],this.extLstCollector=new oj(`extLst`),this.formatsCollector=new oj(`formats`),this.conditionalFormatsCollector=new oj(`conditionalFormats`),this.filtersCollector=new oj(`filters`),this.unknownCollector=new oj(``),this.unknownElementsXmlParts=[],this.model=null}get tag(){return`pivotTableDefinition`}reset(){this.model=null,this.state=yj(),this.currentPivotField=null,this.currentRowItem=null,this.currentColItem=null,this.currentChartFormat=null,this.pivotAreaXmlBuffer=[],this.autoSortScopeXmlBuffer=[],this.extLstCollector.reset(),this.formatsCollector.reset(),this.conditionalFormatsCollector.reset(),this.filtersCollector.reset(),this.unknownCollector.reset(),this.unknownElementsXmlParts=[]}render(e,t){`isLoaded`in t&&t.isLoaded?this.renderLoaded(e,t):this.renderNew(e,t)}renderNew(t,n){let{rows:r,columns:i,values:a,pages:o=[],cacheFields:s,cacheId:c,tableNumber:l,applyWidthHeightFormats:u}=n,d=i.length===0&&a.length>1,f=o.length,p=f>0?f+1:0,m=r.length,h=m+(d?a.length:1),g,_;if(n.ref){let e=E.decodeAddress(n.ref);if(!e.col||!e.row)throw Error(`Pivot table ref "${n.ref}" must include both column and row (e.g. "A3").`);g=e.row+p,_=e.col}else g=3+p,_=1;let v=g+1,y=_+h-1,b=E.n2l(_),x=E.n2l(y),S=`${b}${g}:${x}${v}`;t.openXml(of),t.openNode(this.tag,{...e.PIVOT_TABLE_ATTRIBUTES,name:n.name??`PivotTable${l}`,cacheId:c,applyNumberFormats:`0`,applyBorderFormats:`0`,applyFontFormats:`0`,applyPatternFormats:`0`,applyAlignmentFormats:`0`,applyWidthHeightFormats:u,dataCaption:`Values`,updatedVersion:`8`,minRefreshableVersion:`3`,useAutoFormatting:`1`,itemPrintTitles:`1`,createdVersion:`8`,indent:`0`,compact:`0`,compactData:`0`,multipleFieldFilters:`0`,chartFormat:n.chartFormat===void 0?void 0:String(n.chartFormat)});let ee={ref:S,firstHeaderRow:1,firstDataRow:1,firstDataCol:m};f>0&&(ee.rowPageCount=f,ee.colPageCount=1),t.leafNode(`location`,ee),Sj(t,n),t.openNode(`rowFields`,{count:r.length});for(let e of r)t.leafNode(`field`,{x:e});if(t.closeNode(),t.openNode(`rowItems`,{count:1}),t.openNode(`i`,{t:`grand`}),t.leafNode(`x`),t.closeNode(),t.closeNode(),i.length>0){let e=a.length>1?i.length+1:i.length;t.openNode(`colFields`,{count:e});for(let e of i)t.leafNode(`field`,{x:e});a.length>1&&t.leafNode(`field`,{x:Tj}),t.closeNode()}else d&&(t.openNode(`colFields`,{count:1}),t.leafNode(`field`,{x:Tj}),t.closeNode());if(d){t.openNode(`colItems`,{count:a.length+1});for(let e=0;e<a.length;e++)t.openNode(`i`),t.leafNode(`x`,e===0?void 0:{v:e}),t.closeNode();t.openNode(`i`,{t:`grand`}),t.leafNode(`x`),t.closeNode(),t.closeNode()}else t.openNode(`colItems`,{count:1}),t.leafNode(`i`),t.closeNode();if(f>0){t.openNode(`pageFields`,{count:f});for(let e of o)t.leafNode(`pageField`,{fld:e,hier:-1});t.closeNode()}xj(t,s,a,n.valueMetrics),n.chartFormats&&n.chartFormats.length>0&&this.renderChartFormats(t,n.chartFormats),t.leafNode(`pivotTableStyleInfo`,{name:Ej,showRowHeaders:`1`,showColHeaders:`1`,showRowStripes:`0`,showColStripes:`0`,showLastColumn:`1`}),t.writeRaw(e.EXTLST_XML),t.closeNode()}renderLoaded(t,n){let r=this.buildLoadedRootAttributes(n);if(t.openXml(of),t.openNode(this.tag,r),n.location){let e={ref:n.location.ref,firstHeaderRow:n.location.firstHeaderRow,firstDataRow:n.location.firstDataRow,firstDataCol:n.location.firstDataCol};n.location.rowPageCount!==void 0&&(e.rowPageCount=n.location.rowPageCount),n.location.colPageCount!==void 0&&(e.colPageCount=n.location.colPageCount),t.leafNode(`location`,e)}if(n.pivotFields.length>0){t.openNode(`pivotFields`,{count:n.pivotFields.length});for(let e of n.pivotFields)this.renderPivotFieldLoaded(t,e);t.closeNode()}if(n.rowFields.length>0){t.openNode(`rowFields`,{count:n.rowFields.length});for(let e of n.rowFields)t.leafNode(`field`,{x:e});t.closeNode()}if(n.rowItems&&n.rowItems.length>0){t.openNode(`rowItems`,{count:n.rowItems.length});for(let e of n.rowItems)this.renderRowColItem(t,e);t.closeNode()}else n.hasRowItems&&t.writeRaw(`<rowItems count="1"><i t="grand"><x/></i></rowItems>`);if(n.hasColFields||n.colFields.length>0)if(n.colFields.length===0&&n.dataFields.length<=1)t.leafNode(`colFields`,{count:0});else{let e=n.colFields.length===0?1:n.colFields.length;if(t.openNode(`colFields`,{count:e}),n.colFields.length===0)t.leafNode(`field`,{x:Tj});else for(let e of n.colFields)t.leafNode(`field`,{x:e});t.closeNode()}if(n.colItems&&n.colItems.length>0){t.openNode(`colItems`,{count:n.colItems.length});for(let e of n.colItems)this.renderRowColItem(t,e);t.closeNode()}else n.hasColItems&&t.writeRaw(`<colItems count="1"><i t="grand"><x/></i></colItems>`);if(n.pageFields&&n.pageFields.length>0){t.openNode(`pageFields`,{count:n.pageFields.length});for(let e of n.pageFields){let n={fld:e.fld};e.item!==void 0&&(n.item=e.item),e.hier!==void 0&&(n.hier=e.hier),e.name!==void 0&&(n.name=e.name),t.leafNode(`pageField`,n)}t.closeNode()}if(n.dataFields.length>0){t.openNode(`dataFields`,{count:n.dataFields.length});for(let e of n.dataFields){let n={name:e.name,fld:e.fld};e.baseField!==void 0&&(n.baseField=e.baseField),e.baseItem!==void 0&&(n.baseItem=e.baseItem),e.subtotal!==void 0&&e.subtotal!==`sum`&&(n.subtotal=e.subtotal),e.numFmtId!==void 0&&(n.numFmtId=e.numFmtId),t.leafNode(`dataField`,n)}t.closeNode()}n.formatsXml&&t.writeRaw(n.formatsXml),n.conditionalFormatsXml&&t.writeRaw(n.conditionalFormatsXml),n.chartFormats&&n.chartFormats.length>0&&this.renderChartFormats(t,n.chartFormats);let i=n.styleInfo;t.leafNode(`pivotTableStyleInfo`,{name:i?.name??n.styleName??Ej,showRowHeaders:i?.showRowHeaders??`1`,showColHeaders:i?.showColHeaders??`1`,showRowStripes:i?.showRowStripes??`0`,showColStripes:i?.showColStripes??`0`,showLastColumn:i?.showLastColumn??`1`}),n.filtersXml&&t.writeRaw(n.filtersXml),n.unknownElementsXml&&t.writeRaw(n.unknownElementsXml);let a=n.extLstXml??(n.isLoaded?``:e.EXTLST_XML);a&&t.writeRaw(a),t.closeNode()}buildLoadedRootAttributes(t){let n={...e.PIVOT_TABLE_ATTRIBUTES,name:t.name??`PivotTable1`,cacheId:String(t.cacheId),applyNumberFormats:t.applyNumberFormats??`0`,applyBorderFormats:t.applyBorderFormats??`0`,applyFontFormats:t.applyFontFormats??`0`,applyPatternFormats:t.applyPatternFormats??`0`,applyAlignmentFormats:t.applyAlignmentFormats??`0`,applyWidthHeightFormats:t.applyWidthHeightFormats??`0`,dataCaption:t.dataCaption??`Values`,updatedVersion:t.updatedVersion??`8`,minRefreshableVersion:t.minRefreshableVersion??`3`};return t.useAutoFormatting!==void 0&&(n.useAutoFormatting=t.useAutoFormatting),t.itemPrintTitles!==void 0&&(n.itemPrintTitles=t.itemPrintTitles),t.multipleFieldFilters!==void 0&&(n.multipleFieldFilters=t.multipleFieldFilters),n.createdVersion=t.createdVersion??`8`,t.indent!==void 0&&(n.indent=String(t.indent)),t.uid&&(n[`xmlns:xr`]=`http://schemas.microsoft.com/office/spreadsheetml/2014/revision`,n[`xr:uid`]=t.uid),t.outline&&(n.outline=`1`),t.outlineData&&(n.outlineData=`1`),t.chartFormat!==void 0&&(n.chartFormat=String(t.chartFormat)),t.colGrandTotals!==void 0&&(n.colGrandTotals=t.colGrandTotals),t.rowGrandTotals!==void 0&&(n.rowGrandTotals=t.rowGrandTotals),t.showError!==void 0&&(n.showError=t.showError),t.errorCaption!==void 0&&(n.errorCaption=t.errorCaption),t.showMissing!==void 0&&(n.showMissing=t.showMissing),t.missingCaption!==void 0&&(n.missingCaption=t.missingCaption),t.grandTotalCaption!==void 0&&(n.grandTotalCaption=t.grandTotalCaption),t.compact===!1&&(n.compact=`0`),t.compactData===!1&&(n.compactData=`0`),n}renderChartFormats(e,t){e.openNode(`chartFormats`,{count:t.length});for(let n of t)e.openNode(`chartFormat`,{chart:n.chart,format:n.format,series:n.series===!0?`1`:n.series===!1?`0`:void 0}),n.pivotAreaXml?e.writeRaw(n.pivotAreaXml):e.writeRaw(`<pivotArea type="data" outline="0" fieldPosition="0"><references count="1"><reference field="${wj}" count="1" selected="0"><x v="0"/></reference></references></pivotArea>`),e.closeNode();e.closeNode()}renderRowColItem(e,t){let n={};if(t.t!==void 0&&(n.t=t.t),t.r!==void 0&&(n.r=t.r),t.i!==void 0&&(n.i=t.i),t.x.length>0){e.openNode(`i`,n);for(let n of t.x)n.v===0?e.leafNode(`x`):e.leafNode(`x`,{v:n.v});e.closeNode()}else e.leafNode(`i`,n)}renderPivotFieldLoaded(e,t){let n={};if(t.axis&&(n.axis=t.axis),t.dataField&&(n.dataField=`1`),t.numFmtId!==void 0&&(n.numFmtId=String(t.numFmtId)),t.sortType&&(n.sortType=t.sortType),t.compact===!1&&(n.compact=`0`),t.outline===!1&&(n.outline=`0`),n.showAll=t.showAll?`1`:`0`,t.defaultSubtotal===!1&&(n.defaultSubtotal=`0`),t.subtotalTop===!1&&(n.subtotalTop=`0`),t.insertBlankRow===!0&&(n.insertBlankRow=`1`),t.multipleItemSelectionAllowed===!0&&(n.multipleItemSelectionAllowed=`1`),t.extraAttrs)for(let[e,r]of Object.entries(t.extraAttrs))n[e]=r;if(t.items!==void 0&&t.items.length>0||t.autoSortScopeXml!==void 0){if(e.openNode(`pivotField`,n),t.items!==void 0&&t.items.length>0){e.openNode(`items`,{count:t.items.length});for(let n of t.items){let t={};for(let e of Oj)n[e]!==void 0&&(t[e]=n[e]);e.leafNode(`item`,t)}e.closeNode()}t.autoSortScopeXml&&e.writeRaw(t.autoSortScopeXml),e.closeNode()}else e.leafNode(`pivotField`,n)}parseOpen(e){let{name:t,attributes:n}=e;if(this.extLstCollector.active)return this.extLstCollector.feedOpen(t,n),!0;if(this.formatsCollector.active)return this.formatsCollector.feedOpen(t,n),!0;if(this.conditionalFormatsCollector.active)return this.conditionalFormatsCollector.feedOpen(t,n),!0;if(this.filtersCollector.active)return this.filtersCollector.feedOpen(t,n),!0;if(this.unknownCollector.active)return this.unknownCollector.feedOpen(t,n),!0;switch(t){case this.tag:this.reset(),this.model={name:n.name,cacheId:parseInt(n.cacheId??`0`,10),uid:n[`xr:uid`],pivotFields:[],rowFields:[],colFields:[],pageFields:[],dataFields:[],applyNumberFormats:n.applyNumberFormats,applyBorderFormats:n.applyBorderFormats,applyFontFormats:n.applyFontFormats,applyPatternFormats:n.applyPatternFormats,applyAlignmentFormats:n.applyAlignmentFormats,applyWidthHeightFormats:n.applyWidthHeightFormats,dataCaption:n.dataCaption,updatedVersion:n.updatedVersion,minRefreshableVersion:n.minRefreshableVersion,createdVersion:n.createdVersion,useAutoFormatting:n.useAutoFormatting,itemPrintTitles:n.itemPrintTitles,indent:n.indent===void 0?void 0:parseInt(n.indent,10),compact:n.compact!==`0`,compactData:n.compactData!==`0`,multipleFieldFilters:n.multipleFieldFilters,outline:n.outline===`1`,outlineData:n.outlineData===`1`,chartFormat:n.chartFormat===void 0?void 0:parseInt(n.chartFormat,10),colGrandTotals:n.colGrandTotals,rowGrandTotals:n.rowGrandTotals,showError:n.showError,errorCaption:n.errorCaption,showMissing:n.showMissing,missingCaption:n.missingCaption,grandTotalCaption:n.grandTotalCaption,rowItems:[],colItems:[],chartFormats:[],isLoaded:!0};break;case`location`:this.model&&(this.model.location={ref:n.ref,firstHeaderRow:n.firstHeaderRow===void 0?void 0:parseInt(n.firstHeaderRow,10),firstDataRow:n.firstDataRow===void 0?void 0:parseInt(n.firstDataRow,10),firstDataCol:n.firstDataCol===void 0?void 0:parseInt(n.firstDataCol,10),rowPageCount:n.rowPageCount===void 0?void 0:parseInt(n.rowPageCount,10),colPageCount:n.colPageCount===void 0?void 0:parseInt(n.colPageCount,10)});break;case`pivotFields`:this.state.currentSection=`pivotFields`;break;case`pivotField`:if(this.state.currentSection===`pivotFields`){let e={};for(let[t,r]of Object.entries(n))kj.has(t)||(e[t]=String(r));this.currentPivotField={axis:Dj.has(n.axis)?n.axis:void 0,dataField:n.dataField===`1`,items:[],compact:n.compact!==`0`,outline:n.outline!==`0`,showAll:n.showAll!==`0`,defaultSubtotal:n.defaultSubtotal!==`0`,numFmtId:n.numFmtId===void 0?void 0:parseInt(n.numFmtId,10),sortType:n.sortType,subtotalTop:n.subtotalTop===void 0?void 0:n.subtotalTop===`1`,insertBlankRow:n.insertBlankRow===`1`?!0:void 0,multipleItemSelectionAllowed:n.multipleItemSelectionAllowed===`1`?!0:void 0,extraAttrs:Object.keys(e).length>0?e:void 0}}break;case`items`:break;case`item`:if(this.currentPivotField){let e={};n.x!==void 0&&(e.x=parseInt(n.x,10));for(let t of Oj)t!==`x`&&n[t]!==void 0&&(e[t]=n[t]);this.currentPivotField.items.push(e)}break;case`autoSortScope`:this.currentPivotField&&(this.state.inAutoSortScope=!0,this.autoSortScopeXmlBuffer=[`<autoSortScope>`]);break;case`rowFields`:this.state.currentSection=`rowFields`;break;case`colFields`:this.state.currentSection=`colFields`,this.model&&(this.model.hasColFields=!0);break;case`dataFields`:this.state.currentSection=`dataFields`;break;case`pageFields`:this.state.currentSection=`pageFields`;break;case`pageField`:this.state.currentSection===`pageFields`&&this.model&&this.model.pageFields.push({fld:parseInt(n.fld??`0`,10),item:n.item===void 0?void 0:parseInt(n.item,10),hier:n.hier===void 0?void 0:parseInt(n.hier,10),name:n.name});break;case`rowItems`:this.state.currentSection=`rowItems`,this.model&&(this.model.hasRowItems=!0);break;case`colItems`:this.state.currentSection=`colItems`,this.model&&(this.model.hasColItems=!0);break;case`i`:if(this.model){let e=this.state.currentSection===`rowItems`||this.state.currentSection===`colItems`?bj(n):null;this.state.currentSection===`rowItems`?this.currentRowItem=e:this.state.currentSection===`colItems`&&(this.currentColItem=e)}break;case`x`:if(this.state.inPivotArea){let e=aj(n);this.state.inAutoSortScope?this.autoSortScopeXmlBuffer.push(e?`<x ${e}/>`:`<x/>`):this.pivotAreaXmlBuffer.push(e?`<x ${e}/>`:`<x/>`)}else this.currentRowItem?this.currentRowItem.x.push({v:parseInt(n.v??`0`,10)}):this.currentColItem&&this.currentColItem.x.push({v:parseInt(n.v??`0`,10)});break;case`chartFormats`:this.state.currentSection=`chartFormats`;break;case`chartFormat`:this.state.currentSection===`chartFormats`&&this.model&&(this.currentChartFormat={chart:parseInt(n.chart??`0`,10),format:parseInt(n.format??`0`,10),series:n.series===void 0?void 0:n.series===`1`});break;case`pivotArea`:if(this.currentChartFormat){this.state.inPivotArea=!0;let e=aj(n);this.pivotAreaXmlBuffer=[e?`<pivotArea ${e}>`:`<pivotArea>`]}else if(this.state.inAutoSortScope){this.state.inPivotArea=!0;let e=aj(n);this.autoSortScopeXmlBuffer.push(e?`<pivotArea ${e}>`:`<pivotArea>`)}break;case`references`:case`reference`:if(this.state.inPivotArea){let e=aj(n);this.state.inAutoSortScope?this.autoSortScopeXmlBuffer.push(`<${t}${e?` `+e:``}>`):this.pivotAreaXmlBuffer.push(`<${t}${e?` `+e:``}>`)}break;case`field`:if(this.model){let e=parseInt(n.x??`0`,10);this.state.currentSection===`rowFields`?this.model.rowFields.push(e):this.state.currentSection===`colFields`&&this.model.colFields.push(e)}break;case`dataField`:this.state.currentSection===`dataFields`&&this.model&&this.model.dataFields.push({name:n.name??``,fld:parseInt(n.fld??`0`,10),baseField:n.baseField===void 0?void 0:parseInt(n.baseField,10),baseItem:n.baseItem===void 0?void 0:parseInt(n.baseItem,10),subtotal:Kw.has(n.subtotal)?n.subtotal:void 0,numFmtId:n.numFmtId===void 0?void 0:parseInt(n.numFmtId,10)});break;case`pivotTableStyleInfo`:this.model&&(this.model.styleName=n.name,this.model.styleInfo={name:n.name,showRowHeaders:n.showRowHeaders,showColHeaders:n.showColHeaders,showRowStripes:n.showRowStripes,showColStripes:n.showColStripes,showLastColumn:n.showLastColumn});break;case`extLst`:this.model&&this.extLstCollector.start(n);break;case`formats`:this.model&&this.formatsCollector.start(n);break;case`conditionalFormats`:this.model&&this.conditionalFormatsCollector.start(n);break;case`filters`:this.model&&this.filtersCollector.start(n);break;default:this.model&&this.state.currentSection===null&&!this.state.inPivotArea&&!this.state.inAutoSortScope&&this.unknownCollector.startAs(t,n);break}return!0}parseText(e){this.extLstCollector.active?this.extLstCollector.feedText(e):this.formatsCollector.active?this.formatsCollector.feedText(e):this.conditionalFormatsCollector.active?this.conditionalFormatsCollector.feedText(e):this.filtersCollector.active?this.filtersCollector.feedText(e):this.unknownCollector.active&&this.unknownCollector.feedText(e)}tryCloseCollector(e,t,n){e.feedClose(t)&&(this.model&&(this.model[n]=e.result),e.reset())}parseClose(e){if(this.extLstCollector.active)return this.tryCloseCollector(this.extLstCollector,e,`extLstXml`),!0;if(this.formatsCollector.active)return this.tryCloseCollector(this.formatsCollector,e,`formatsXml`),!0;if(this.conditionalFormatsCollector.active)return this.tryCloseCollector(this.conditionalFormatsCollector,e,`conditionalFormatsXml`),!0;if(this.filtersCollector.active)return this.tryCloseCollector(this.filtersCollector,e,`filtersXml`),!0;if(this.unknownCollector.active)return this.unknownCollector.feedClose(e)&&(this.unknownElementsXmlParts.push(this.unknownCollector.result),this.unknownCollector.reset()),!0;if(this.state.inPivotArea)return e===`pivotArea`?(this.state.inAutoSortScope?this.autoSortScopeXmlBuffer.push(`</pivotArea>`):(this.pivotAreaXmlBuffer.push(`</pivotArea>`),this.currentChartFormat&&(this.currentChartFormat.pivotAreaXml=this.pivotAreaXmlBuffer.join(``)),this.pivotAreaXmlBuffer=[]),this.state.inPivotArea=!1,!0):((e===`references`||e===`reference`)&&(this.state.inAutoSortScope?this.autoSortScopeXmlBuffer.push(`</${e}>`):this.pivotAreaXmlBuffer.push(`</${e}>`)),!0);switch(e){case this.tag:return this.model&&this.unknownElementsXmlParts.length>0&&(this.model.unknownElementsXml=this.unknownElementsXmlParts.join(``)),!1;case`pivotFields`:case`rowFields`:case`colFields`:case`dataFields`:case`pageFields`:case`rowItems`:case`colItems`:case`chartFormats`:this.state.currentSection=null;break;case`pivotField`:this.currentPivotField&&this.model&&(this.model.pivotFields.push(this.currentPivotField),this.currentPivotField=null);break;case`items`:break;case`autoSortScope`:this.state.inAutoSortScope&&this.currentPivotField&&(this.autoSortScopeXmlBuffer.push(`</autoSortScope>`),this.currentPivotField.autoSortScopeXml=this.autoSortScopeXmlBuffer.join(``),this.autoSortScopeXmlBuffer=[],this.state.inAutoSortScope=!1);break;case`i`:this.currentRowItem&&this.model?(this.model.rowItems?.push(this.currentRowItem),this.currentRowItem=null):this.currentColItem&&this.model&&(this.model.colItems?.push(this.currentColItem),this.currentColItem=null);break;case`chartFormat`:this.currentChartFormat&&this.model&&(this.model.chartFormats?.push(this.currentChartFormat),this.currentChartFormat=null);break}return!0}static{this.PIVOT_TABLE_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`}}static{this.EXTLST_XML=`<extLst><ext uri="{962EF5D1-5CA2-4c93-8EF4-DBF5C05439D2}" xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"><x14:pivotTableDefinition hideValuesRow="1" xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main"/></ext><ext uri="{747A6164-185A-40DC-8AA5-F01512510D54}" xmlns:xpdl="http://schemas.microsoft.com/office/spreadsheetml/2016/pivotdefaultlayout"><xpdl:pivotTableDefinition16 EnabledSubtotalsDefault="0" SubtotalsOnTopDefault="0"/></ext></extLst>`}}}));function Mj(e){if(e===void 0)return;let t=e.trim();if(t===`1`||t===`true`)return!0;if(t===`0`||t===`false`)return!1}function Nj(e){if(e===void 0)return;let t=e.trim();if(t===``||!/^[+-]?\d+$/.test(t))return;let n=parseInt(t,10);if(Number.isFinite(n)&&!(n>2147483647||n<-2147483648))return n}var Pj=t((()=>{}));function Fj(e){let t=`<${e.name}`;if(e.attributes)for(let[n,r]of Object.entries(e.attributes))t+=` ${n}="${Jd(String(r))}"`;return`${t}>`}function Ij(e){let t=`<${e.name}`;if(e.attributes)for(let[n,r]of Object.entries(e.attributes))t+=` ${n}="${Jd(String(r))}"`;return`${t}/>`}function Lj(e){let t={};for(let[n,r]of Object.entries(e))r!==void 0&&(t[n]=typeof r==`boolean`?r?`1`:`0`:String(r));return t}function Rj(e){return e===void 0?void 0:e===`1`||e===`true`}function zj(e){if(e===void 0)return;let t=parseFloat(e);return Number.isFinite(t)?t:void 0}function Bj(e){if(e===void 0)return;let t=Number(e);return Number.isFinite(t)?t:void 0}var Vj,Hj,Uj,Wj=t((()=>{j(),Pj(),sf(),Vj={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`},Hj=class extends A{constructor(...e){super(...e),this.inSheetView=!1,this.captureDepth=0,this.captureParts=[],this.skipNextCaptureClose=!1,this.sheetDepth=0}get tag(){return`chartsheet`}render(e,t){let n=t??this.model;if(!n)return;e.openNode(`chartsheet`,Vj);let r=n.rawChildren??{},i=t=>{let n=r[t];n&&e.writeRaw(n)};i(`sheetPr`),e.openNode(`sheetViews`);let a={workbookViewId:String(n.workbookViewId??0)};if(n.tabSelected&&(a.tabSelected=`1`),n.zoomScale!==void 0&&(a.zoomScale=String(n.zoomScale)),n.zoomToFit&&(a.zoomToFit=`1`),e.leafNode(`sheetView`,a),e.closeNode(),i(`sheetProtection`),i(`customSheetViews`),n.pageMargins){let t=n.pageMargins;e.leafNode(`pageMargins`,{left:t.left===void 0?t.l===void 0?`0.7`:String(t.l):String(t.left),right:t.right===void 0?t.r===void 0?`0.7`:String(t.r):String(t.right),top:t.top===void 0?t.t===void 0?`0.75`:String(t.t):String(t.top),bottom:t.bottom===void 0?t.b===void 0?`0.75`:String(t.b):String(t.bottom),header:t.header===void 0?`0.3`:String(t.header),footer:t.footer===void 0?`0.3`:String(t.footer)})}if(n.pageSetup){let{rId:t,...r}=n.pageSetup,i=Lj(r);t!==void 0&&(i[`r:id`]=t),e.leafNode(`pageSetup`,i)}i(`headerFooter`),n.drawing&&e.leafNode(`drawing`,{"r:id":n.drawing.rId}),i(`legacyDrawing`),i(`legacyDrawingHF`),i(`drawingHF`),i(`picture`),i(`webPublishItems`),i(`extLst`),e.closeNode()}parseOpen(e){let{name:t}=e,n=e.attributes||{},r=!!e.isSelfClosing;if(this.captureRoot)return r?(this.captureParts.push(Ij(e)),this.skipNextCaptureClose=!0):(this.captureDepth++,this.captureParts.push(Fj(e))),!0;if(t===`chartsheet`)return this.sheetDepth=1,this.model={sheetNo:0,name:``,id:0},!0;if(this.sheetDepth+=1,this.sheetDepth===2&&Uj.has(t))return r?((this.model.rawChildren??={})[t]=Ij(e),!0):(this.captureRoot=t,this.captureDepth=1,this.captureParts=[Fj(e)],!0);switch(t){case`sheetView`:if(this.inSheetView=!0,this.model){let e=Mj(n.tabSelected);e!==void 0&&(this.model.tabSelected=e);let t=Nj(n.zoomScale);t!==void 0&&(this.model.zoomScale=t);let r=Nj(n.workbookViewId);r!==void 0&&(this.model.workbookViewId=r);let i=Mj(n.zoomToFit);i!==void 0&&(this.model.zoomToFit=i)}break;case`pageMargins`:this.model&&(this.model.pageMargins={l:zj(n.left),r:zj(n.right),t:zj(n.top),b:zj(n.bottom),left:zj(n.left),right:zj(n.right),top:zj(n.top),bottom:zj(n.bottom),header:zj(n.header),footer:zj(n.footer)});break;case`printOptions`:break;case`rowBreaks`:case`colBreaks`:case`pageBreaks`:break;case`pageSetup`:this.model&&(this.model.pageSetup={paperSize:Bj(n.paperSize),firstPageNumber:Bj(n.firstPageNumber),orientation:n.orientation,usePrinterDefaults:Rj(n.usePrinterDefaults),blackAndWhite:Rj(n.blackAndWhite),draft:Rj(n.draft),useFirstPageNumber:Rj(n.useFirstPageNumber),horizontalDpi:Bj(n.horizontalDpi),verticalDpi:Bj(n.verticalDpi),copies:Bj(n.copies),paperHeight:n.paperHeight,paperWidth:n.paperWidth,rId:n[`r:id`]});break;case`drawing`:this.model&&n[`r:id`]&&(this.model.drawing={rId:n[`r:id`]});break;default:break}return!0}parseText(e){this.captureRoot&&e&&this.captureParts.push(qd(e))}parseClose(e){if(this.captureRoot)return this.skipNextCaptureClose?(this.skipNextCaptureClose=!1,!0):(this.captureDepth--,this.captureParts.push(`</${e}>`),this.captureDepth===0&&(this.model&&((this.model.rawChildren??={})[this.captureRoot]=this.captureParts.join(``)),this.captureRoot=void 0,this.captureParts=[],--this.sheetDepth),!0);switch(--this.sheetDepth,e){case`chartsheet`:return!1;case`sheetView`:return this.inSheetView=!1,!0;default:return!0}}},Uj=new Set([`sheetPr`,`sheetProtection`,`customSheetViews`,`headerFooter`,`legacyDrawing`,`legacyDrawingHF`,`drawingHF`,`picture`,`webPublishItems`,`extLst`])})),Gj,Kj=t((()=>{j(),Gj=class extends A{get tag(){return`dimension`}render(e,t){t&&e.leafNode(`dimension`,{ref:t})}parseOpen(e){return e.name===`dimension`?(this.model=e.attributes.ref,!0):!1}parseText(){}parseClose(){return!1}}})),qj,Jj=t((()=>{j(),qj=class extends A{get tag(){return`mergeCell`}render(e,t){e.leafNode(`mergeCell`,{ref:t})}parseOpen(e){return e.name===`mergeCell`?(this.model=e.attributes.ref,!0):!1}parseText(){}parseClose(){return!1}}})),Yj,Xj=t((()=>{pu(),pa(),da(),Yj=class{constructor(){this.merges={}}add(e){if(this.merges[e.master])this.merges[e.master].expandToAddress(e.address);else{let t=`${e.master}:${e.address}`;this.merges[e.master]=new fa(t)}}get mergeCells(){return Object.values(this.merges).map(e=>e.range)}reconcile(e,t){e.forEach(e=>{let n=E.decode(e);for(let e=n.top;e<=n.bottom;e++){let r=t[e-1];for(let t=n.left;t<=n.right;t++){let i=r.cells[t-1];i?i.type===1&&(i.master=n.tl):r.cells[t]={type:0,address:E.encodeAddress(e,t)}}}})}getMasterAddress(e){let t=this.hash[e];return t&&t.tl}}}));function Zj(e){return e?`1`:void 0}var Qj,$j=t((()=>{j(),Qj=class extends A{get tag(){return`printOptions`}render(e,t){if(t){let n={headings:Zj(t.showRowColHeaders),gridLines:Zj(t.showGridLines),horizontalCentered:Zj(t.horizontalCentered),verticalCentered:Zj(t.verticalCentered)};Object.values(n).some(e=>e!==void 0)&&e.leafNode(this.tag,n)}}parseOpen(e){switch(e.name){case this.tag:return this.model={showRowColHeaders:e.attributes.headings===`1`,showGridLines:e.attributes.gridLines===`1`,horizontalCentered:e.attributes.horizontalCentered===`1`,verticalCentered:e.attributes.verticalCentered===`1`},!0;default:return!1}}parseText(){}parseClose(){return!1}}})),eM,tM=t((()=>{j(),eM=class extends A{get tag(){return`tablePart`}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes[`r:id`]},!0;default:return!1}}parseText(){}parseClose(){return!1}}})),nM,rM,iM,aM=t((()=>{da(),mb(),ng(),mu(),j(),jg(),Ob(),ex(),ix(),ox(),dx(),Kj(),px(),$x(),tS(),sb(),iS(),Jj(),Xj(),oS(),pS(),hS(),$j(),_S(),wS(),ES(),NS(),LS(),BS(),tM(),ag(),nM=(e,t)=>{Object.keys(t).forEach(n=>{let r=e[n],i=t[n];r===void 0&&i!==void 0&&(e[n]=i)})},rM=(e,t)=>{if(!t||!t.length)return e;if(!e||!e.length)return t;let n={},r={};return e.forEach(e=>{n[e.ref]=e,e.rules.forEach(e=>{let{x14Id:t}=e;t&&(r[t]=e)})}),t.forEach(t=>{t.rules.forEach(i=>{let a=r[i.x14Id];a?nM(a,i):n[t.ref]?n[t.ref].rules.push(i):e.push({ref:t.ref,rules:[i]})})}),e},iM=class e extends A{static{this.WORKSHEET_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"xmlns:x14ac":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac`,"mc:Ignorable":`x14ac`}}constructor(e){super();let{maxRows:t,maxCols:n,ignoreNodes:r}=e||{};this.ignoreNodes=r??[],this.map={sheetPr:new MS,dimension:new Gj,sheetViews:new Ag({tag:`sheetViews`,count:!1,childXform:new zS}),sheetFormatPr:new TS,cols:new Ag({tag:`cols`,count:!1,childXform:new ax}),sheetData:new Ag({tag:`sheetData`,count:!1,empty:!0,childXform:new CS({maxItems:n}),maxItems:t}),autoFilter:new Db,mergeCells:new Ag({tag:`mergeCells`,count:!0,childXform:new qj}),rowBreaks:new gS,colBreaks:new rx,hyperlinks:new Ag({tag:`hyperlinks`,count:!1,childXform:new ob}),pageMargins:new aS,dataValidations:new ux,pageSetup:new fS,headerFooter:new eS,printOptions:new Qj,picture:new mS,drawing:new fx,sheetProtection:new IS,tableParts:new Ag({tag:`tableParts`,count:!0,childXform:new eM}),conditionalFormatting:new $b,extLst:new Qx,ignoredErrors:new rS}}prepare(e,t){t.merges=new Yj,e.hyperlinks=t.hyperlinks=[],e.comments=t.comments=[],e.formControls&&e.formControls.length>0&&(!e.views||e.views.length===0)&&(e.views=[{workbookViewId:0}]),t.formulae={},t.siFormulae=0,this.map.cols.prepare(e.cols,t),this.map.sheetData.prepare(e.rows,t),this.map.conditionalFormatting.prepare(e.conditionalFormattings,t),e.mergeCells=t.merges.mergeCells;let n=e.rels=[];function r(e){return`rId${e.length+1}`}e.hyperlinks.forEach(e=>{if(ab(e.target))return;let t=r(n);e.rId=t,n.push({Id:t,Type:D.Hyperlink,Target:e.target,TargetMode:`External`})});let{fileIndex:i}=e;if(e.comments.length>0){let a={Id:r(n),Type:D.Comments,Target:Um(i)};n.push(a);let o={Id:r(n),Type:D.VmlDrawing,Target:Wm(i)};n.push(o),e.comments.forEach(e=>{e.refAddress=E.decodeAddress(e.ref)}),t.commentRefs.push({commentName:`comments${i}`,vmlDrawing:`vmlDrawing${i}`})}if(e.threadedComments&&e.threadedComments.length>0&&n.push({Id:r(n),Type:D.ThreadedComments,Target:`../threadedComments/threadedComment${i}.xml`}),e.drawing&&e.drawing.anchors){let i=e.drawing;i.rId=r(n),i.name||=`drawing${++t.drawingsCount}`;let a=i.anchors.filter(e=>e.chartNumber||e.chartExNumber);i.anchors=[],i.rels=[];for(let e of a){let t=r(i.rels);e.chartExNumber?(i.rels.push({Id:t,Type:D.ChartEx,Target:bh(e.chartExNumber)}),e.graphicFrame={...e.graphicFrame,rId:t,isChartEx:!0,index:e.graphicFrame?.index,name:e.graphicFrame?.name??`Chart ${e.chartExNumber}`},e.alternateContent||={requires:`cx1`}):(i.rels.push({Id:t,Type:D.Chart,Target:lh(e.chartNumber)}),e.graphicFrame={...e.graphicFrame,rId:t,index:e.graphicFrame?.index,name:e.graphicFrame?.name??`Chart ${e.chartNumber}`}),i.anchors.push(e)}t.drawings.push(i),n.push({Id:i.rId,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,Target:Km(i.name)})}if(e.charts&&e.charts.length>0){let i=new Set,a=new Set;if(e.drawing?.anchors)for(let t of e.drawing.anchors)t.chartNumber&&i.add(t.chartNumber),t.chartExNumber&&a.add(t.chartExNumber);let o=e.charts.filter(e=>!!(e.chartNumber&&!i.has(e.chartNumber)||e.chartExNumber&&!a.has(e.chartExNumber)));if(o.length>0){e.drawing||(e.drawing={anchors:[],rels:[],rId:r(n),name:`drawing${++t.drawingsCount}`},t.drawings.push(e.drawing),n.push({Id:e.drawing.rId,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,Target:Km(e.drawing.name)}));let i=e.drawing;for(let e of o){let t=9525,n={...e.range};e.range.pos&&(n.pos={x:e.range.pos.x/t,y:e.range.pos.y/t}),e.range.ext&&e.range.ext.cx!==void 0&&(n.ext={width:e.range.ext.cx/t,height:e.range.ext.cy/t});let a=r(i.rels);e.chartExNumber?(i.rels.push({Id:a,Type:D.ChartEx,Target:bh(e.chartExNumber)}),i.anchors.push({range:n,chartExNumber:e.chartExNumber,alternateContent:{requires:`cx1`},graphicFrame:{rId:a,isChartEx:!0,name:`Chart ${e.chartExNumber}`}})):(i.rels.push({Id:a,Type:D.Chart,Target:lh(e.chartNumber)}),i.anchors.push({range:n,chartNumber:e.chartNumber,graphicFrame:{rId:a,name:`Chart ${e.chartNumber}`}}))}}}let a=[],o=[],s=[],c=[];if(e.media.forEach(e=>{e.type===`background`?a.push(e):e.type===`image`?o.push(e):e.type===`watermark`?s.push(e):e.type===`headerImage`&&c.push(e)}),a.forEach(i=>{let a=r(n),o=t.media[i.imageId];n.push({Id:a,Type:D.Image,Target:db(o)}),e.background={rId:a},e.image=t.media[i.imageId]}),o.length>0){let{drawing:i}=e;i||(i=e.drawing={rId:r(n),name:`drawing${++t.drawingsCount}`,anchors:[],rels:[]},t.drawings.push(i),n.push({Id:i.rId,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,Target:Km(i.name)}));let a=fb(o,i.rels,{getBookImage:e=>t.media[e],nextRId:e=>r(e)});i.anchors.push(...a.anchors),i.rels=a.rels}if(s.length>0){let{drawing:i}=e;i||(i=e.drawing={rId:r(n),name:`drawing${++t.drawingsCount}`,anchors:[],rels:[]},t.drawings.push(i),n.push({Id:i.rId,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,Target:Km(i.name)}));for(let n of s){let a=t.media[n.imageId];if(!a)continue;let o=r(i.rels);i.rels.push({Id:o,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,Target:db(a)});let s=n.opacity===void 0?.15:n.opacity,c=Math.round(Math.max(0,Math.min(1,s))*1e5),l=e.dimensions,u=l?Math.max(l.model?.right??100,100):100,d=l?Math.max(l.model?.bottom??200,200):200;i.anchors.push({picture:{rId:o,alphaModFix:c},range:{editAs:`absolute`,tl:{nativeCol:0,nativeColOff:0,nativeRow:0,nativeRowOff:0},br:{nativeCol:u,nativeColOff:0,nativeRow:d,nativeRowOff:0}}})}}if(c.length>0){let a=c[0],o=t.media[a.imageId];if(o){let s=r(n);n.push({Id:s,Type:D.VmlDrawing,Target:Gm(i)}),e.headerImage={vmlRelId:s,imageId:a.imageId,bookImage:o,headerWidth:a.headerWidth,headerHeight:a.headerHeight},t.hasHeaderWatermark=!0,e.headerFooter||={};let c=a.applyTo||`all`,l=t=>{let n=e.headerFooter[t]||``;return n.includes(`&G`)?n:n.includes(`&C`)?n.replace(`&C`,`&C&G`):n+`&C&G`};(c===`all`||c===`odd`)&&(e.headerFooter.oddHeader=l(`oddHeader`)),(c===`all`||c===`even`)&&(e.headerFooter.evenHeader=l(`evenHeader`),e.headerFooter.differentOddEven=!0),(c===`all`||c===`first`)&&(e.headerFooter.firstHeader=l(`firstHeader`),e.headerFooter.differentFirst=!0)}}if(e.tables.forEach(e=>{let i=r(n);e.rId=i,n.push({Id:i,Type:D.Table,Target:Jm(e.target)}),e.columns.forEach(e=>{let{style:n}=e;n&&(e.dxfId=t.styles.addDxfStyle(n))})}),(e.pivotTables??[]).forEach(e=>{n.push({Id:r(n),Type:D.PivotTable,Target:qm(e.tableNumber)})}),e.formControls&&e.formControls.length>0){let{drawing:a}=e;a||(a=e.drawing={rId:r(n),name:`drawing${++t.drawingsCount}`,anchors:[],rels:[]},t.drawings.push(a),n.push({Id:a.rId,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,Target:Km(a.name)})),e.comments.length===0&&n.push({Id:r(n),Type:D.VmlDrawing,Target:Wm(i)});let o=e=>({nativeCol:e.col,nativeColOff:e.colOff,nativeRow:e.row,nativeRowOff:e.rowOff});for(let i of e.formControls){let e=t.formControlRefs.length+1;i.ctrlPropId=e;let s=r(n);i.ctrlPropRelId=s,n.push({Id:s,Type:D.CtrlProp,Target:xh(e)}),t.formControlRefs.push(e);let c=`Check Box ${Math.max(1,i.shapeId-1024)}`;a.anchors.push({range:{editAs:`absolute`,tl:o(i.tl),br:o(i.br)},alternateContent:{requires:`a14`},shape:{cNvPrId:i.shapeId,name:i.name||c,hidden:!0,spid:`_x0000_s${i.shapeId}`,text:i.text}})}}this.map.extLst.prepare(e,t)}render(t,n){t.openXml(of);let r={...e.WORKSHEET_ATTRIBUTES};n.formControls&&n.formControls.length>0&&(r[`xmlns:x14`]=`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`,r[`xmlns:xdr`]=`http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing`,r[`mc:Ignorable`]=`${r[`mc:Ignorable`]} x14`),t.openNode(`worksheet`,r);let i=n.properties?{defaultRowHeight:n.properties.defaultRowHeight,dyDescent:n.properties.dyDescent,outlineLevelCol:n.properties.outlineLevelCol,outlineLevelRow:n.properties.outlineLevelRow,customHeight:n.properties.customHeight}:void 0;n.properties&&n.properties.defaultColWidth&&(i.defaultColWidth=n.properties.defaultColWidth);let a={outlineProperties:n.properties&&n.properties.outlineProperties,tabColor:n.properties&&n.properties.tabColor,pageSetup:n.pageSetup&&n.pageSetup.fitToPage?{fitToPage:n.pageSetup.fitToPage}:void 0},o=n.pageSetup&&n.pageSetup.margins,s={showRowColHeaders:n.pageSetup&&n.pageSetup.showRowColHeaders,showGridLines:n.pageSetup&&n.pageSetup.showGridLines,horizontalCentered:n.pageSetup&&n.pageSetup.horizontalCentered,verticalCentered:n.pageSetup&&n.pageSetup.verticalCentered},c=n.sheetProtection;if(this.map.sheetPr.render(t,a),this.map.dimension.render(t,n.dimensions),this.map.sheetViews.render(t,n.views),this.map.sheetFormatPr.render(t,i),this.map.cols.render(t,n.cols),this.map.sheetData.render(t,n.rows),this.map.sheetProtection.render(t,c),this.map.autoFilter.render(t,n.autoFilter),this.map.mergeCells.render(t,n.mergeCells),this.map.conditionalFormatting.render(t,n.conditionalFormattings),this.map.dataValidations.render(t,n.dataValidations),this.map.hyperlinks.render(t,n.hyperlinks),this.map.printOptions.render(t,s),this.map.pageMargins.render(t,o),this.map.pageSetup.render(t,n.pageSetup),this.map.headerFooter.render(t,n.headerFooter),this.map.rowBreaks.render(t,n.rowBreaks),this.map.colBreaks.render(t,n.colBreaks),this.map.ignoredErrors.render(t,n.ignoredErrors),this.map.drawing.render(t,n.drawing),n.rels&&n.rels.forEach(e=>{if(e.Type===D.VmlDrawing){if(n.headerImage&&e.Id===n.headerImage.vmlRelId)return;t.leafNode(`legacyDrawing`,{"r:id":e.Id})}}),n.headerImage&&t.leafNode(`legacyDrawingHF`,{"r:id":n.headerImage.vmlRelId}),this.map.picture.render(t,n.background),n.formControls&&n.formControls.length>0){t.openNode(`mc:AlternateContent`),t.openNode(`mc:Choice`,{Requires:`x14`}),t.openNode(`controls`);for(let e of n.formControls){if(!e.ctrlPropRelId)continue;let n=`Check Box ${Math.max(1,e.shapeId-1024)}`;t.openNode(`mc:AlternateContent`),t.openNode(`mc:Choice`,{Requires:`x14`}),t.openNode(`control`,{shapeId:e.shapeId,"r:id":e.ctrlPropRelId,name:e.name||n}),t.openNode(`controlPr`,{locked:0,defaultSize:0,print:+!!e.print,autoFill:0,autoLine:0,autoPict:0}),t.openNode(`anchor`),t.openNode(`from`),t.leafNode(`xdr:col`,void 0,e.tl.col),t.leafNode(`xdr:colOff`,void 0,e.tl.colOff),t.leafNode(`xdr:row`,void 0,e.tl.row),t.leafNode(`xdr:rowOff`,void 0,e.tl.rowOff),t.closeNode(),t.openNode(`to`),t.leafNode(`xdr:col`,void 0,e.br.col),t.leafNode(`xdr:colOff`,void 0,e.br.colOff),t.leafNode(`xdr:row`,void 0,e.br.row),t.leafNode(`xdr:rowOff`,void 0,e.br.rowOff),t.closeNode(),t.closeNode(),t.closeNode(),t.closeNode(),t.closeNode(),t.leafNode(`mc:Fallback`),t.closeNode()}t.closeNode(),t.closeNode(),t.leafNode(`mc:Fallback`),t.closeNode()}this.map.tableParts.render(t,n.tables),this.map.extLst.render(t,n),t.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):e.name===`worksheet`?(Object.values(this.map).forEach(e=>{e.reset()}),!0):(this.map[e.name]&&!this.ignoreNodes.includes(e.name)&&(this.parser=this.map[e.name],this.parser.parseOpen(e)),!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case`worksheet`:{let e=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&&this.map.sheetPr.model.tabColor&&(e.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties&&(e.outlineProperties=this.map.sheetPr.model.outlineProperties);let t={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},n=Object.assign(t,this.map.pageSetup.model,this.map.printOptions.model),r=rM(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model[`x14:conditionalFormattings`]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:e,views:this.map.sheetViews.model,pageSetup:n,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:r,rowBreaks:this.map.rowBreaks.model??[],colBreaks:this.map.colBreaks.model??[],ignoredErrors:this.map.ignoredErrors.model??[]},this.map.autoFilter.model&&(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&&(this.model.sheetProtection=this.map.sheetProtection.model),!1}default:return!0}}reconcile(e,t){let n=e.relationships??[],r=n.reduce((e,t)=>(e[t.Id]=t,e),{});for(let r of n)if(r.Type===D.Comments){let n=Sh(`xl/worksheets/`,r.Target),i=t.comments?.[n];i&&(e.comments=i.comments)}if(e.comments&&e.comments.length){for(let r of n)if(r.Type===D.VmlDrawing){let n=Sh(`xl/worksheets/`,r.Target),i=t.vmlDrawings?.[n];if(i){let t=i.comments,n={},r=!1;for(let e of t)if(e.row!=null&&e.col!=null){let t=E.encodeAddress(e.row,e.col);n[t]=e,r=!0}if(r)for(let t of e.comments){let e=n[t.ref];e&&(t.note=Object.assign({},t.note,e))}else e.comments.forEach((e,n)=>{n<t.length&&(e.note=Object.assign({},e.note,t[n]))})}}}if(t.commentsMap=(e.comments??[]).reduce((e,t)=>(t.ref&&(e[t.ref]=t),e),{}),t.hyperlinkMap=(e.hyperlinks??[]).reduce((e,t)=>{if(t.rId){let n=r[t.rId];n&&(e[t.address]=n.Target)}else t.target&&(e[t.address]=t.target);return e},{}),t.formulae={},e.rows){e.rows.includes(void 0)&&(e.rows=e.rows.filter(Boolean));for(let t=0;t<e.rows.length;t++){let n=e.rows[t];n.cells?.includes(void 0)&&(n.cells=n.cells.filter(Boolean))}}else e.rows=[];if(this.map.cols.reconcile(e.cols,t),this.map.sheetData.reconcile(e.rows,t),this.map.conditionalFormatting.reconcile(e.conditionalFormattings,t),e.media=[],e.drawing){let n=r[e.drawing.rId];if(n){let r=n.Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(r){let n=r[1],i=t.drawings[n];i?(e.drawing={...i,name:n,rels:t.drawingRels?.[n]??i.rels??[]},i.anchors.forEach(t=>{t.medium&&(t.medium.alphaModFix!==void 0&&t.medium.alphaModFix<1e5?e.media.push({type:`watermark`,imageId:t.medium.index,opacity:t.medium.alphaModFix/1e5}):e.media.push({type:`image`,imageId:t.medium.index,range:t.range,hyperlinks:t.picture.hyperlinks}))})):e.drawing=void 0}else e.drawing=void 0}else e.drawing=void 0}let i=e.background&&r[e.background.rId];if(i){let n=i.Target.split(`/media/`)[1],r=t.mediaIndex&&t.mediaIndex[n];r!==void 0&&e.media.push({type:`background`,imageId:r})}else e.background&&=void 0;e.tables=(e.tables??[]).reduce((e,n)=>{let i=r[n.rId];if(i){let n=Sh(`xl/worksheets/`,i.Target),r=t.tables[n];r&&e.push(r)}return e},[]),e.pivotTables=[],(e.relationships??[]).forEach(n=>{if(n.Type===D.PivotTable&&t.pivotTables){let r=Sh(`xl/worksheets/`,n.Target),i=t.pivotTables[r];i&&e.pivotTables.push(i)}}),delete e.relationships,delete e.hyperlinks,delete e.comments}}})),oM,sM=t((()=>{j(),oM=class extends A{constructor(){super(),this.model={val:``}}get tag(){return`customFilter`}render(e,t){e.leafNode(this.tag,{val:t.val,operator:t.operator})}parseOpen(e){return e.name===this.tag?(this.model={val:e.attributes.val,operator:e.attributes.operator},!0):!1}parseText(){}parseClose(){return!1}}})),cM,lM=t((()=>{j(),cM=class extends A{constructor(){super(),this.model={val:``}}get tag(){return`filter`}render(e,t){e.leafNode(this.tag,{val:t.val})}parseOpen(e){return e.name===this.tag?(this.model={val:e.attributes.val},!0):!1}parseText(){}parseClose(){return!1}}})),uM,dM=t((()=>{la(),j(),jg(),sM(),lM(),uM=class extends A{constructor(){super(),this.map={customFilters:new Ag({tag:`customFilters`,count:!1,empty:!0,childXform:new oM}),filters:new Ag({tag:`filters`,count:!1,empty:!0,childXform:new cM})},this.model={filterButton:!1}}get tag(){return`filterColumn`}prepare(e,t){e.colId=t.index.toString()}render(e,t){if(t.customFilters){e.openNode(this.tag,{colId:t.colId,hiddenButton:t.filterButton?`0`:`1`}),this.map.customFilters.render(e,t.customFilters),e.closeNode();return}e.leafNode(this.tag,{colId:t.colId,hiddenButton:t.filterButton?`0`:`1`})}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;let{attributes:t}=e;switch(e.name){case this.tag:return this.model={filterButton:t.hiddenButton===`0`},!0;case`dynamicFilter`:return!0;default:if(this.parser=this.map[e.name],this.parser)return this.parseOpen(e),!0;throw new $i(`filterColumn`,`Unexpected xml node in parseOpen: ${JSON.stringify(e)}`)}}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.customFilters=this.map.customFilters.model,!1;default:return!0}}}})),fM,pM=t((()=>{la(),j(),dM(),fM=class extends A{constructor(){super(),this.map={filterColumn:new uM},this.model={autoFilterRef:``,columns:[]}}get tag(){return`autoFilter`}prepare(e){e.columns.forEach((e,t)=>{this.map.filterColumn.prepare(e,{index:t})})}render(e,t){e.openNode(this.tag,{ref:t.autoFilterRef}),t.columns.forEach(t=>{(t?.customFilters!==void 0||t?.filters!==void 0||t?.dynamicFilter!==void 0||t?.filterButton!==void 0)&&this.map.filterColumn.render(e,t)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:return this.model={autoFilterRef:e.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[e.name],this.parser)return this.parseOpen(e),!0;throw new $i(`autoFilter`,`Unexpected xml node in parseOpen: ${JSON.stringify(e)}`)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:throw new $i(`autoFilter`,`Unexpected xml node in parseClose: ${e}`)}}}})),mM,hM=t((()=>{j(),Hf(),mM=class extends A{constructor(){super(),this._childText=``,this.model={name:``}}get tag(){return`tableColumn`}prepare(e,t){e.id=t.index+1}_renderAttributes(e){return{id:e.id.toString(),name:mf(e.name),totalsRowLabel:e.totalsRowLabel?mf(e.totalsRowLabel):void 0,totalsRowFunction:e.totalsRowFunction===`none`?void 0:e.totalsRowFunction,dxfId:e.dxfId}}render(e,t){let n=t.totalsRowFunction===void 0||t.totalsRowFunction===`custom`,r=!!t.totalsRowFormula&&n;t.calculatedColumnFormula||r?(e.openNode(this.tag,this._renderAttributes(t)),t.calculatedColumnFormula&&e.leafNode(`calculatedColumnFormula`,void 0,t.calculatedColumnFormula),r&&e.leafNode(`totalsRowFormula`,void 0,t.totalsRowFormula),e.closeNode()):e.leafNode(this.tag,this._renderAttributes(t))}parseOpen(e){if(e.name===this.tag){let{attributes:t}=e;return this.model={name:ff(t.name),totalsRowLabel:t.totalsRowLabel?ff(t.totalsRowLabel):void 0,totalsRowFunction:t.totalsRowFunction,dxfId:t.dxfId},!0}return(e.name===`calculatedColumnFormula`||e.name===`totalsRowFormula`)&&(this._childTag=e.name,this._childText=``),!0}parseText(e){this._childTag&&(this._childText+=e)}parseClose(e){return e===this.tag?!1:(this._childTag&&e===this._childTag&&(this.model[this._childTag]=this._childText,this._childTag=void 0),!0)}}})),gM,_M=t((()=>{j(),gM=class extends A{constructor(){super(),this.model={theme:null,showFirstColumn:!1,showLastColumn:!1,showRowStripes:!1,showColumnStripes:!1}}get tag(){return`tableStyleInfo`}render(e,t){e.leafNode(this.tag,{name:t.theme?t.theme:void 0,showFirstColumn:t.showFirstColumn?`1`:`0`,showLastColumn:t.showLastColumn?`1`:`0`,showRowStripes:t.showRowStripes?`1`:`0`,showColumnStripes:t.showColumnStripes?`1`:`0`})}parseOpen(e){if(e.name===this.tag){let{attributes:t}=e;return this.model={theme:t.name?t.name:null,showFirstColumn:t.showFirstColumn===`1`,showLastColumn:t.showLastColumn===`1`,showRowStripes:t.showRowStripes===`1`,showColumnStripes:t.showColumnStripes===`1`},!0}return!1}parseText(){}parseClose(){return!1}}})),vM,yM=t((()=>{j(),jg(),pM(),hM(),_M(),ag(),vM=class e extends A{constructor(){super(),this.map={autoFilter:new fM,tableColumns:new Ag({tag:`tableColumns`,count:!0,empty:!0,childXform:new mM}),tableStyleInfo:new gM},this.model={id:0,name:``,tableRef:``,columns:[]}}prepare(e,t){this.map.autoFilter.prepare(e),this.map.tableColumns.prepare(e.columns,t)}get tag(){return`table`}render(t,n){t.openXml(of),t.openNode(this.tag,{...e.TABLE_ATTRIBUTES,id:n.id,name:n.name,displayName:n.displayName||n.name,ref:n.tableRef,totalsRowCount:n.totalsRow?`1`:void 0,headerRowCount:n.headerRow?void 0:`0`}),this.map.autoFilter.render(t,n),this.map.tableColumns.render(t,n.columns),this.map.tableStyleInfo.render(t,n.style),t.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;let{name:t,attributes:n}=e;switch(t){case this.tag:this.reset(),this.model={name:n.name,displayName:n.displayName||n.name,tableRef:n.ref,totalsRow:n.totalsRowCount===`1`,headerRow:n.headerRowCount!==`0`};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&&(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((e,t)=>{this.model.columns[t].filterButton=e.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}reconcile(e,t){e.tableRef&&!e.ref&&(e.ref=e.tableRef),e.rows||=[],e.columns.forEach(e=>{e.dxfId!==void 0&&(e.style=t.styles.getDxfStyle(e.dxfId))})}static{this.TABLE_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`}}}})),bM,xM=t((()=>{sf(),vu(),bM=class{constructor(e){this._stack=[],this._leaf=!1,this._open=!1,this._pending=``,this._target=e}get depth(){return this._stack.length}get currentElement(){return this._stack.length>0?this._stack[this._stack.length-1]:void 0}_flushOpen(e){this._target.write(this._pending+e),this._pending=``,this._open=!1}openXml(e){let t=e?{...of,...e}:of,n=`<?xml`;for(let e in t){let r=t[e];r!==void 0&&(Yd(e),n+=` ${e}="${Jd(String(r))}"`)}this._target.write(n+`?>
430
- `)}openNode(e,t){Yd(e),this._open&&this._flushOpen(`>`);let n=`<${e}`;if(t)for(let e in t){let r=t[e];r!==void 0&&(Yd(e),n+=` ${e}="${Jd(String(r))}"`)}this._pending=n,this._stack.push(e),this._leaf=!0,this._open=!0}addAttribute(e,t){if(!this._open)throw new _u(`add attribute`,`no element is open`);Yd(e),this._pending+=` ${e}="${Jd(String(t))}"`}addAttributes(e){if(!this._open)throw new _u(`add attributes`,`no element is open`);if(e)for(let t in e){let n=e[t];n!==void 0&&(Yd(t),this._pending+=` ${t}="${Jd(String(n))}"`)}}writeText(e){this._open&&this._flushOpen(`>`),this._leaf=!1,this._target.write(qd(String(e)))}writeRaw(e){this._open&&this._flushOpen(`>`),this._leaf=!1,this._target.write(e)}writeCData(e){this._open&&this._flushOpen(`>`),this._leaf=!1,this._target.write(Xd(e))}writeComment(e){this._open&&this._flushOpen(`>`),this._leaf=!1,$d(e),this._target.write(`<!--${e}-->`)}closeNode(){let e=this._stack.pop();if(e===void 0)throw new _u(`close node`,`no element is open`);this._leaf&&this._open?this._flushOpen(`/>`):(this._open&&this._flushOpen(`>`),this._target.write(`</${e}>`)),this._open=!1,this._leaf=!1}leafNode(e,t,n){Yd(e),this._open&&this._flushOpen(`>`);let r=`<${e}`;if(t)for(let e in t){let n=t[e];n!==void 0&&(Yd(e),r+=` ${e}="${Jd(String(n))}"`)}n===void 0?r+=`/>`:r+=`>${qd(String(n))}</${e}>`,this._target.write(r),this._leaf=!1}closeAll(){for(;this._stack.length>0;)this.closeNode()}}}));function SM(e){let t=/(?:^|\/)externalLink(\d+)[.]xml$/.exec(e);return t?parseInt(t[1],10):void 0}function CM(e,t){t&&(e.sheetNames.includes(t)||e.sheetNames.push(t))}function wM(e){try{return JSON.stringify(e)}catch{return}}function TM(e){let{chartRId:t,chartName:n,isChartEx:r,extCx:i,extCy:a}=e,o=Jd(n),s=Jd(t),c=r?`<a:extLst><a:ext uri="{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"><a16:creationId xmlns:a16="http://schemas.microsoft.com/office/drawing/2014/main" id="{${zx().toUpperCase()}}"/></a:ext></a:extLst>`:``,l=`<xdr:graphicFrame macro=""><xdr:nvGraphicFramePr>`+(c?`<xdr:cNvPr id="1" name="${o}">${c}</xdr:cNvPr>`:`<xdr:cNvPr id="1" name="${o}"/>`)+`<xdr:cNvGraphicFramePr/></xdr:nvGraphicFramePr><xdr:xfrm><a:off x="0" y="0"/><a:ext cx="${i}" cy="${a}"/></xdr:xfrm><a:graphic>`+(r?`<a:graphicData uri="http://schemas.microsoft.com/office/drawing/2014/chartex"><cx:chart xmlns:cx="http://schemas.microsoft.com/office/drawing/2014/chartex" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" r:id="${s}"/></a:graphicData>`:`<a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/chart"><c:chart xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" r:id="${s}"/></a:graphicData>`)+`</a:graphic></xdr:graphicFrame>`,u=`<xdr:sp macro="" textlink=""><xdr:nvSpPr><xdr:cNvPr id="0" name=""/><xdr:cNvSpPr><a:spLocks noTextEdit="1"/></xdr:cNvSpPr></xdr:nvSpPr><xdr:spPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="${i}" cy="${a}"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:prstClr val="white"/></a:solidFill><a:ln w="1"><a:solidFill><a:prstClr val="black"/></a:solidFill></a:ln></xdr:spPr><xdr:txBody><a:bodyPr vertOverflow="clip" horzOverflow="clip"/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" sz="1100"/><a:t>This chart isn&apos;t available in your version of Excel.\n\nEditing this shape or saving this workbook into a different file format will permanently break the chart.</a:t></a:r></a:p></xdr:txBody></xdr:sp>`,d=r?`<mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"><mc:Choice xmlns:cx1="http://schemas.microsoft.com/office/drawing/2015/9/8/chartex" Requires="cx1">`+l+`</mc:Choice><mc:Fallback>`+u+`</mc:Fallback></mc:AlternateContent>`:l;return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
431
- <xdr:wsDr xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"><xdr:absoluteAnchor><xdr:pos x="0" y="0"/><xdr:ext cx="${i}" cy="${a}"/>`+d+`<xdr:clientData/></xdr:absoluteAnchor></xdr:wsDr>`}function EM(e,t){let n=t.exec(e);if(!n)return``;let r=e.slice(0,n.index),i=[],a=r.length;for(;a>0;){let e=a;for(;e>0&&/\s/.test(r.charAt(e-1));)e--;if(e<3||r.slice(e-3,e)!==`-->`)break;let t=r.lastIndexOf(`<!--`,e-3);if(t<0)break;i.unshift(r.slice(t,e)),a=t}return i.join(``)}function DM(e,t){let n=new ig;t.render(n,e.model);let r=n.toString();if(e.rawData){let t=EM(new TextDecoder().decode(e.rawData),/<c:chart(?:\s|>)/);t&&(r=r.replace(/<c:chart(\s|>)/,`${t}<c:chart$1`))}return new TextEncoder().encode(r)}function OM(e,t){if(!t)return e;let n=EM(t,/<cx:chart(?:\s|>)/);return n?e.replace(/<cx:chart(\s|>)/,`${n}<cx:chart$1`):e}function kM(e){return!e.rawData||e.dirty?!1:e.modelSnapshot===void 0?!0:wM(e.model)===e.modelSnapshot}function AM(e){return!e.rawData||e.dirty?!1:e.modelSnapshot===void 0?!0:wM(e.model)===e.modelSnapshot}function jM(e){return{...e,rawXml:void 0}}function MM(e){return e?.templateMode===`strict`||e?.strictTemplateMode===!0}function NM(e){return e===void 0?(typeof process>`u`||process.env,!1):e}async function PM(e){try{let t=await CA(e,{maxProblems:20});if(t.ok)return;let n=t.problems.map((e,t)=>` ${t+1}. [${e.kind}] ${e.file??`<package>`}: ${e.message}`).join(`
432
- `);console.warn(`[excelts] writeBuffer() produced xlsx with ${t.problems.length} OOXML issue(s):\n${n}\nPass \`{ validate: false }\` to silence this self-check, or set NODE_ENV=production.`)}catch(e){console.warn(`[excelts] writeBuffer() self-check threw unexpectedly and was skipped: ${String(e)}`)}}function FM(e){return e.rawData?e.dirty?!0:e.modelSnapshot===void 0?!1:wM(e.model)!==e.modelSnapshot:!1}function IM(e){return e.rawData?e.dirty?!0:e.modelSnapshot===void 0?!1:wM(e.model)!==e.modelSnapshot:!1}function LM(e,t){return!!e.requireRawPatch||t&&FM(e)}function RM(e,t){return!!e.requireRawPatch||t&&IM(e)}function zM(e,t){let n=`ChartEx ${e} requires raw XML patching (requireRawPatch/strict template mode), but the mutation cannot be safely applied as a raw XML patch.`,r=t?.unknownElements;return VM(n,r)}function BM(e,t){let n=`Chart ${e} requires raw XML patching (requireRawPatch/strict template mode), but the mutation cannot be safely applied as a raw XML patch.`,r=t?.unknownElements;return VM(n,r)}function VM(e,t){if(!t||t.length===0)return e;let n=Array.from(new Set(t.map(e=>e.path))).slice(0,8),r=t.length>n.length?` (showing ${n.length} of ${t.length})`:``;return`${e} The loaded part contains unstructured XML at: ${n.join(`, `)}${r}. Rebuilding the part would discard these extensions; adjust the mutation to a patch-friendly shape or relax strictTemplateMode.`}function HM(e,t=!1){if(!e.rawData||!e.preferRawPatch&&!t||!IM(e))return;let n=UM(e);if(n===void 0)return;let r=new TextDecoder().decode(e.rawData),i=FP(r,`cx:chartSpace`);if(!i)return;let a=YM(r.slice(i.start,i.end),e.model,n);if(a===void 0)return;let o=r.slice(0,i.start)+a+r.slice(i.end);return o===r?void 0:new TextEncoder().encode(o)}function UM(e){if(e.modelSnapshot===void 0)return{title:!0,data:!0,legend:!0,autoTitleDeleted:!0,chartSpaceSpPr:!0,plotAreaSpPr:!0,plotSurface:!0,series:!0,axes:!0};let t;try{t=JSON.parse(e.modelSnapshot)}catch{return}let n=e.model;if(!F(KM(t),KM(n)))return;let r=t.chartSpace?.chart,i=n.chartSpace?.chart,a=WM(t,n),o=GM(r?.plotArea?.axis??[],i?.plotArea?.axis??[]),s={data:!F(t.chartSpace?.chartData,n.chartSpace?.chartData),title:!F(r?.title,i?.title),legend:!F(r?.legend,i?.legend),autoTitleDeleted:!F(r?.autoTitleDeleted,i?.autoTitleDeleted),chartSpaceSpPr:!F(t.chartSpace?.spPr,n.chartSpace?.spPr),plotAreaSpPr:!F(r?.plotArea?.spPr,i?.plotArea?.spPr),plotSurface:!F(r?.plotArea?.plotAreaRegion?.plotSurface,i?.plotArea?.plotAreaRegion?.plotSurface),series:a,axes:o};return s.data||s.title||s.legend||s.autoTitleDeleted||s.chartSpaceSpPr||s.plotAreaSpPr||s.plotSurface||iN(s.series)||iN(s.axes)?s:void 0}function WM(e,t){let n=JM(e);return JM(t).map((e,t)=>{let r=n[t]??{};return{hidden:!F(r.hidden,e.hidden),ownerIdx:!F(r.ownerIdx,e.ownerIdx),tx:!F(r.tx,e.tx),dataRefs:!F(r.dataRefs,e.dataRefs),layoutPr:!F(r.layoutPr,e.layoutPr),axisId:!F(r.axisId,e.axisId),dataLabels:!F(r.dataLabels,e.dataLabels),spPr:!F(r.spPr,e.spPr),dataPoints:!F(r.dataPt,e.dataPt)}})}function GM(e,t){let n=new Map(e.map(e=>[e.axisId,e]));return t.map(e=>{let t=n.get(e.axisId)??{};return{hidden:!F(t.hidden,e.hidden),majorTickMark:!F(t.majorTickMark,e.majorTickMark),minorTickMark:!F(t.minorTickMark,e.minorTickMark),numFmt:!F(t.numFmt,e.numFmt),title:!F(t.title,e.title),valScaling:!F(t.valScaling,e.valScaling),catScaling:!F(t.catScaling,e.catScaling),spPr:!F(t.spPr,e.spPr),txPr:!F(t.txPr,e.txPr)}})}function KM(e){let t=JSON.parse(JSON.stringify(e));return t.rawXml=void 0,t.unknownElements=void 0,t.chartSpace&&(t.chartSpace.chartData=void 0,t.chartSpace.clrMapOvr=void 0,t.chartSpace.extLst=void 0),t.chartSpace?.chart&&(t.chartSpace.chart.title=void 0,t.chartSpace.chart.legend=void 0,t.chartSpace.chart.autoTitleDeleted=void 0,t.chartSpace.chart.plotArea&&(t.chartSpace.chart.plotArea.spPr=void 0,t.chartSpace.chart.plotArea.axis=void 0,t.chartSpace.chart.plotArea.plotAreaRegion&&(t.chartSpace.chart.plotArea.plotAreaRegion.layout=void 0,t.chartSpace.chart.plotArea.plotAreaRegion.plotSurface=void 0,t.chartSpace.chart.plotArea.plotAreaRegion.series=(t.chartSpace.chart.plotArea.plotAreaRegion.series??[]).map(qM)),t.chartSpace.chart.plotArea.series&&(t.chartSpace.chart.plotArea.series=t.chartSpace.chart.plotArea.series.map(qM)))),t}function qM(e){return{...e,hidden:void 0,ownerIdx:void 0,tx:void 0,spPr:void 0,dataRefs:void 0,layoutPr:void 0,axisId:void 0,dataLabels:void 0,dataPt:void 0}}function JM(e){let t=e.chartSpace?.chart?.plotArea;return t?.plotAreaRegion?.series??t?.series??[]}function YM(e,t,n){let r=e,i=t.chartSpace?.chart;if(i){if(n.data){let e=FP(r,`cx:chartData`);if(!e)return;let n=uN(t.chartSpace?.chartData);r=r.slice(0,e.start)+n+r.slice(e.end)}if(n.title){let e=i.title?.text?.paragraphs?.[0]?.runs?.[0]?.text;r=e===void 0?AP(r,`cx:title`):TP(r,`cx:title`,cN(e),[`cx:autoTitleDeleted`,`cx:plotArea`,`cx:legend`,`cx:spPr`],`cx:chart`)}if(n.autoTitleDeleted&&(r=i.autoTitleDeleted===void 0?AP(r,`cx:autoTitleDeleted`):TP(r,`cx:autoTitleDeleted`,`<cx:autoTitleDeleted val="${i.autoTitleDeleted?`1`:`0`}"/>`,[`cx:plotArea`,`cx:legend`,`cx:spPr`],`cx:chart`)),n.legend&&(r=i.legend===void 0?AP(r,`cx:legend`):TP(r,`cx:legend`,lN(i.legend),[`cx:spPr`],`cx:chart`)),n.chartSpaceSpPr&&(r=EP(r,`cx:spPr`,$N(t.chartSpace?.spPr,`cx`),[`cx:txPr`,`cx:externalData`,`cx:printSettings`,`cx:extLst`],`cx:chartSpace`)),n.plotAreaSpPr||n.plotSurface){let e=FP(r,`cx:plotArea`);if(!e)return;let t=r.slice(e.start,e.end),a=i.plotArea;if(n.plotAreaSpPr&&(t=EP(t,`cx:spPr`,$N(a?.spPr,`cx`),[`cx:extLst`],`cx:plotArea`)),n.plotSurface){let e=FP(t,`cx:plotAreaRegion`);if(!e)return;let n=t.slice(e.start,e.end),r=a?.plotAreaRegion,i=$N(r?.plotSurface,`cx`),o=i?`<cx:plotSurface>${i}</cx:plotSurface>`:void 0;n=EP(n,`cx:plotSurface`,o,[`cx:series`,`cx:extLst`],`cx:plotAreaRegion`),t=t.slice(0,e.start)+n+t.slice(e.end)}r=r.slice(0,e.start)+t+r.slice(e.end)}if(iN(n.series)){let e=dP(r,i,n);if(e===void 0)return;r=e}if(iN(n.axes)){let e=yP(r,i,n.axes);if(e===void 0)return;r=e}return r}}function XM(e,t=!1){if(!e.rawData||!e.preferRawPatch&&!t||!FM(e))return;let n=ZM(e);if(n===void 0)return;let r=new TextDecoder().decode(e.rawData),i=r;if(n.title){let t=e.model.chart?.title?.text?.paragraphs?.[0]?.runs?.[0]?.text,n=/<c:title>[\s\S]*?<\/c:title>/.test(i);t!==void 0&&n?i=i.replace(/<c:title>[\s\S]*?<\/c:title>/,oN(t)):t===void 0&&n&&(i=i.replace(/<c:title>[\s\S]*?<\/c:title>/,``))}if(n.legend){let t=e.model.chart?.legend;t===void 0?i=i.replace(/<c:legend>[\s\S]*?<\/c:legend>/,``):/<c:legend>[\s\S]*?<\/c:legend>/.test(i)&&(i=i.replace(/<c:legend>[\s\S]*?<\/c:legend>/,sN(t.legendPos??`b`)))}if(iN(n.series)){let t=pN(i,e.model,n.series);if(t===void 0)return;i=t}if(n.groupDataLabels){let t=xN(i,e.model);if(t===void 0)return;i=t}if(n.groupSimpleFields){let t=_N(i,e.model);if(t===void 0)return;i=t}if(n.plotAreaLayout){let t=SN(i,e.model);if(t===void 0)return;i=t}if(iN(n.axes)){let t=AN(i,e.model,n.axes);if(t===void 0)return;i=t}return i===r?void 0:new TextEncoder().encode(i)}function ZM(e){if(e.modelSnapshot===void 0)return{title:!0,legend:!0,series:!0,axes:!0,groupDataLabels:!0,groupSimpleFields:!0,plotAreaLayout:!0};let t;try{t=JSON.parse(e.modelSnapshot)}catch{return}let n=e.model,r=t.chart,i=n.chart,a={title:!1,legend:!1,series:tN(t,n),axes:nN(r?.plotArea?.axes??[],i?.plotArea?.axes??[]),groupDataLabels:!1,groupSimpleFields:!1,plotAreaLayout:!1};if(F(QM(n),QM(t)))return a.title=a.title||!F(r?.title,i?.title),a.legend=a.legend||!F(r?.legend,i?.legend),a.groupDataLabels=!F(eN(t),eN(n)),a.groupSimpleFields=!F(gN(t),gN(n)),a.plotAreaLayout=!F(r?.plotArea?.layout,i?.plotArea?.layout),a.title||a.legend||iN(a.series)||iN(a.axes)||a.groupDataLabels||a.groupSimpleFields||a.plotAreaLayout?a:void 0}function QM(e){let t=JSON.parse(JSON.stringify(e));if(t.extLst=void 0,t.unknownElements=void 0,t.extraNamespaces=void 0,t.alternateContentStyle=void 0,t.clrMapOvr=void 0,t.protection=void 0,t.chart&&(t.chart.title=void 0,t.chart.legend=void 0,t.chart.extLst=void 0,t.chart.plotArea)){t.chart.plotArea.axes=(t.chart.plotArea.axes??[]).map($M),t.chart.plotArea.layout=void 0,t.chart.plotArea.extLst=void 0;for(let e of t.chart.plotArea.chartTypes??[]){e.dataLabels=void 0,e.extLst=void 0;for(let t of VP)e[t]=void 0;e.series=(e.series??[]).map(e=>({...e,tx:void 0,spPr:void 0,marker:void 0,dataPoints:void 0,trendlines:void 0,errorBars:void 0,cat:void 0,val:void 0,xVal:void 0,yVal:void 0,bubbleSize:void 0,dataLabels:void 0,extLst:void 0}))}}return t}function $M(e){return{...e,scaling:void 0,delete:void 0,majorGridlines:void 0,minorGridlines:void 0,title:void 0,numFmt:void 0,majorTickMark:void 0,minorTickMark:void 0,tickLblPos:void 0,spPr:void 0,txPr:void 0,crosses:void 0,crossesAt:void 0,auto:void 0,lblAlgn:void 0,lblOffset:void 0,tickLblSkip:void 0,tickMarkSkip:void 0,noMultiLvlLbl:void 0,crossBetween:void 0,majorUnit:void 0,minorUnit:void 0,baseTimeUnit:void 0,majorTimeUnit:void 0,minorTimeUnit:void 0,extLst:void 0}}function eN(e){return(e.chart?.plotArea?.chartTypes??[]).map(e=>e.dataLabels)}function tN(e,t){let n=rN(e);return rN(t).map((e,t)=>{let r=n[t]??{};return{tx:!F(r.tx,e.tx),spPr:!F(r.spPr,e.spPr),marker:!F(r.marker,e.marker),dataPoints:!F(r.dataPoints,e.dataPoints),trendlines:!F(r.trendlines,e.trendlines),errorBars:!F(r.errorBars,e.errorBars),cat:!F(r.cat,e.cat),val:!F(r.val,e.val),xVal:!F(r.xVal,e.xVal),yVal:!F(r.yVal,e.yVal),bubbleSize:!F(r.bubbleSize,e.bubbleSize),dataLabels:!F(r.dataLabels,e.dataLabels)}})}function nN(e,t){let n=new Map(e.map(e=>[e.axId,e]));return t.map(e=>{let t=n.get(e.axId)??{};return{scaling:!F(t.scaling,e.scaling),delete:!F(t.delete,e.delete),title:!F(t.title,e.title),numFmt:!F(t.numFmt,e.numFmt),majorGridlines:!F(t.majorGridlines,e.majorGridlines),minorGridlines:!F(t.minorGridlines,e.minorGridlines),majorTickMark:!F(t.majorTickMark,e.majorTickMark),minorTickMark:!F(t.minorTickMark,e.minorTickMark),tickLblPos:!F(t.tickLblPos,e.tickLblPos),spPr:!F(t.spPr,e.spPr),txPr:!F(t.txPr,e.txPr),crosses:!F(t.crosses,e.crosses),crossesAt:!F(t.crossesAt,e.crossesAt),auto:!F(t.auto,e.auto),lblAlgn:!F(t.lblAlgn,e.lblAlgn),lblOffset:!F(t.lblOffset,e.lblOffset),tickLblSkip:!F(t.tickLblSkip,e.tickLblSkip),tickMarkSkip:!F(t.tickMarkSkip,e.tickMarkSkip),noMultiLvlLbl:!F(t.noMultiLvlLbl,e.noMultiLvlLbl),crossBetween:!F(t.crossBetween,e.crossBetween),majorUnit:!F(t.majorUnit,e.majorUnit),minorUnit:!F(t.minorUnit,e.minorUnit),baseTimeUnit:!F(t.baseTimeUnit,e.baseTimeUnit),majorTimeUnit:!F(t.majorTimeUnit,e.majorTimeUnit),minorTimeUnit:!F(t.minorTimeUnit,e.minorTimeUnit)}})}function rN(e){return(e.chart?.plotArea?.chartTypes??[]).flatMap(e=>(e.series??[]).map(e=>({tx:e.tx,spPr:e.spPr,marker:e.marker,dataPoints:e.dataPoints,trendlines:e.trendlines,errorBars:e.errorBars,cat:e.cat,val:e.val,xVal:e.xVal,yVal:e.yVal,bubbleSize:e.bubbleSize,dataLabels:e.dataLabels})))}function F(e,t){return JSON.stringify(e)===JSON.stringify(t)}function iN(e){return e===!0||Array.isArray(e)&&e.some(e=>Object.values(e).some(Boolean))}function aN(e,t){return e===!0?!0:Array.isArray(e)?e[t]??!1:!1}function I(e,t){return e===!0?!0:e===!1?!1:!!e[t]}function oN(e){return`<c:title><c:tx><c:rich><a:bodyPr/><a:lstStyle/><a:p><a:r><a:t>${IP(e)}</a:t></a:r></a:p></c:rich></c:tx><c:overlay val="0"/></c:title>`}function sN(e){return`<c:legend><c:legendPos val="${e===`b`||e===`l`||e===`r`||e===`t`||e===`tr`?e:`b`}"/><c:overlay val="0"/></c:legend>`}function cN(e){return`<cx:title><cx:tx><cx:rich><a:bodyPr/><a:lstStyle/><a:p><a:r><a:t>${IP(e)}</a:t></a:r></a:p></cx:rich></cx:tx><cx:overlay val="0"/></cx:title>`}function lN(e){return T().renderChartExLegendXml(e).split(`
433
- `).map(e=>e.replace(/^\s*/,``)).join(``)}function uN(e){let t=[`<cx:chartData>`];for(let n of e?.data??[])t.push(`<cx:data id="${n.id}">`),n.strDim&&t.push(dN(n.strDim)),n.numDim&&t.push(fN(n.numDim)),t.push(`</cx:data>`);return t.push(`</cx:chartData>`),t.join(``)}function dN(e){let t=[`<cx:strDim type="${LP(e.type)}">`];e.formula&&t.push(`<cx:f>${IP(e.formula)}</cx:f>`);for(let n of e.levels??[]){let e=n.ptCount??n.points?.length??0;if(!n.points?.length)t.push(`<cx:lvl ptCount="${e}"/>`);else{t.push(`<cx:lvl ptCount="${e}">`);for(let e of n.points)t.push(`<cx:pt idx="${e.index}">${IP(String(e.value))}</cx:pt>`);t.push(`</cx:lvl>`)}}return t.push(`</cx:strDim>`),t.join(``)}function fN(e){let t=[`<cx:numDim type="${LP(e.type)}">`];e.formula&&t.push(`<cx:f>${IP(e.formula)}</cx:f>`);for(let n of e.levels??[]){let e=n.ptCount??n.points?.length??0,r=n.formatCode?` formatCode="${LP(n.formatCode)}"`:``;if(!n.points?.length)t.push(`<cx:lvl ptCount="${e}"${r}/>`);else{t.push(`<cx:lvl ptCount="${e}"${r}>`);for(let e of n.points)t.push(`<cx:pt idx="${e.index}">${IP(String(e.value))}</cx:pt>`);t.push(`</cx:lvl>`)}}return t.push(`</cx:numDim>`),t.join(``)}function pN(e,t,n){let r=[];for(let e of t.chart?.plotArea?.chartTypes??[])for(let t of e.series??[])r.push({series:t,chartType:e.type});let i=0;return NP(e,`c:ser`,e=>{let t=r[i++],a=aN(n,i-1);return t&&a?mN(e,t.series,a,t.chartType):e})}function mN(e,t,n,r){let i=e;if(I(n,`tx`)&&t.tx){let e=zN(t.tx);i=wP(i,`c:tx`,e,[`c:spPr`,`c:cat`,`c:xVal`,`c:val`,`c:yVal`,`c:bubbleSize`])}I(n,`spPr`)&&(i=EP(i,`c:spPr`,$N(t.spPr,`c`),[`c:marker`,`c:invertIfNegative`,`c:pictureOptions`,`c:dPt`,`c:dLbls`,`c:trendline`,`c:errBars`,`c:cat`,`c:xVal`,`c:val`,`c:yVal`,`c:bubbleSize`,`c:smooth`,`c:shape`,`c:extLst`],`c:ser`)),I(n,`marker`)&&(i=EP(i,`c:marker`,BN(t.marker),[`c:dPt`,`c:dLbls`,`c:trendline`,`c:errBars`,`c:cat`,`c:xVal`,`c:val`,`c:yVal`,`c:bubbleSize`,`c:smooth`,`c:extLst`],`c:ser`));for(let[e,r]of[[`c:cat`,t.cat],[`c:val`,t.val],[`c:xVal`,t.xVal],[`c:yVal`,t.yVal],[`c:bubbleSize`,t.bubbleSize]])if(I(n,hN(e))){if(!r){i=AP(i,e);continue}let t=JN(e,r);if(!t)return;i=wP(i,e,t,[`c:smooth`,`c:shape`,`c:extLst`])}if(I(n,`dataPoints`)){let e=VN(t.dataPoints);i=kP(i,`c:dPt`,e,[`c:dLbls`,`c:trendline`,`c:errBars`,`c:cat`,`c:xVal`,`c:val`,`c:yVal`,`c:bubbleSize`,`c:smooth`,`c:shape`,`c:extLst`],`c:ser`)}if(I(n,`trendlines`)){let e=UN(t.trendlines);i=kP(i,`c:trendline`,e,[`c:errBars`,`c:cat`,`c:xVal`,`c:val`,`c:yVal`,`c:bubbleSize`,`c:smooth`,`c:shape`,`c:extLst`],`c:ser`)}if(I(n,`errorBars`)){let e=KN(t.errorBars);i=kP(i,`c:errBars`,e,[`c:cat`,`c:xVal`,`c:val`,`c:yVal`,`c:bubbleSize`,`c:smooth`,`c:shape`,`c:extLst`],`c:ser`)}return I(n,`dataLabels`)&&(i=t.dataLabels?wP(i,`c:dLbls`,ON(t.dataLabels,{suppressDLblPos:r===`doughnut`}),[`c:trendline`,`c:errBars`,`c:cat`,`c:xVal`,`c:val`,`c:yVal`,`c:bubbleSize`,`c:smooth`,`c:shape`,`c:extLst`]):i.replace(/<c:dLbls>[\s\S]*?<\/c:dLbls>/,``)),i}function hN(e){switch(e){case`c:cat`:return`cat`;case`c:val`:return`val`;case`c:xVal`:return`xVal`;case`c:yVal`:return`yVal`;default:return`bubbleSize`}}function gN(e){return(e.chart?.plotArea?.chartTypes??[]).map(e=>{let t={type:e.type};for(let n of VP)e[n]!==void 0&&(t[n]=e[n]);return t})}function _N(e,t){let n=e;for(let e of t.chart?.plotArea?.chartTypes??[]){let t=TN(e);if(!t)return;let r=FP(n,t);if(!r)return;let{xml:i,seriesBlocks:a}=EN(n.slice(r.start,r.end),e=>e),o=i;for(let t of VP){let n=BP[t],r=e[t];o=vN(o,n,r)}let s=DN(o,a);n=n.slice(0,r.start)+s+n.slice(r.end)}return n}function vN(e,t,n){let r=RegExp(`<${yN(t)}(?:\\s+[^/>]*)?/>`,`g`);if(n===void 0)return e.replace(r,``);let i=`<${t} val="${bN(n)}"/>`;if(r.test(e))return e.replace(r,i);let a=zP.indexOf(t);if(a<0)return e;let o=zP.slice(a+1);for(let t of o){let n=e.indexOf(`<${t}`);if(n>=0)return e.slice(0,n)+i+e.slice(n)}let s=/<\/c:\w+Chart>\s*$/.exec(e);if(s){let t=s.index;return e.slice(0,t)+i+e.slice(t)}return e}function yN(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function bN(e){return typeof e==`boolean`?e?`1`:`0`:typeof e==`number`?Number.isFinite(e)?String(e):``:Jd(String(e))}function xN(e,t){let n=e;for(let e of t.chart?.plotArea?.chartTypes??[]){let t=TN(e);if(!t)return;let r=FP(n,t);if(!r)return;let i=wN(n.slice(r.start,r.end),e);n=n.slice(0,r.start)+i+n.slice(r.end)}return n}function SN(e,t){let n=t.chart?.plotArea,r=FP(e,`c:plotArea`);if(!r||!n)return;let i=e.slice(r.start,r.end),a=n.layout?CN(n.layout):``,o=a?TP(i,`c:layout`,a,[`c:areaChart`,`c:area3DChart`,`c:barChart`,`c:bar3DChart`,`c:lineChart`,`c:line3DChart`,`c:pieChart`,`c:pie3DChart`,`c:doughnutChart`,`c:scatterChart`,`c:bubbleChart`,`c:radarChart`,`c:stockChart`,`c:surfaceChart`,`c:surface3DChart`,`c:ofPieChart`,`c:catAx`,`c:valAx`,`c:serAx`,`c:dateAx`,`c:spPr`],`c:plotArea`):AP(i,`c:layout`);return e.slice(0,r.start)+o+e.slice(r.end)}function CN(e,t=`c`){if(!e?.manualLayout)return`<${t}:layout/>`;let n=e.manualLayout,r=[`<${t}:layout><${t}:manualLayout>`];for(let[e,i]of[[`layoutTarget`,n.layoutTarget],[`xMode`,n.xMode],[`yMode`,n.yMode],[`wMode`,n.wMode],[`hMode`,n.hMode],[`x`,n.x],[`y`,n.y],[`w`,n.w],[`h`,n.h]])i!==void 0&&r.push(`<${t}:${e} val="${LP(String(i))}"/>`);return r.push(`</${t}:manualLayout></${t}:layout>`),r.join(``)}function wN(e,t){let n=EN(e,e=>e);return t.dataLabels?DN(wP(n.xml,`c:dLbls`,ON(t.dataLabels,{suppressDLblPos:t.type===`doughnut`}),[`c:gapWidth`,`c:overlap`,`c:serLines`,`c:axId`,`c:firstSliceAng`,`c:holeSize`,`c:extLst`]),n.seriesBlocks):DN(n.xml.replace(/<c:dLbls>[\s\S]*?<\/c:dLbls>/,``),n.seriesBlocks)}function TN(e){return{bar:`c:barChart`,bar3D:`c:bar3DChart`,line:`c:lineChart`,line3D:`c:line3DChart`,pie:`c:pieChart`,pie3D:`c:pie3DChart`,doughnut:`c:doughnutChart`,area:`c:areaChart`,area3D:`c:area3DChart`,scatter:`c:scatterChart`,bubble:`c:bubbleChart`,radar:`c:radarChart`,stock:`c:stockChart`,surface:`c:surfaceChart`,surface3D:`c:surface3DChart`,ofPie:`c:ofPieChart`}[e.type]}function EN(e,t){let n=[],r=0,i=``;for(;r<e.length;){let a=FP(e,`c:ser`,r);if(!a){i+=e.slice(r);break}i+=e.slice(r,a.start);let o=`__EXCELTS_SER_${n.length}__`;n.push(t(e.slice(a.start,a.end))),i+=o,r=a.end}return{xml:i,seriesBlocks:n}}function DN(e,t){return t.reduce((e,t,n)=>e.replace(`__EXCELTS_SER_${n}__`,t),e)}function ON(e,t){let n=[`<c:dLbls>`];if(Array.isArray(e.entries))for(let r of e.entries)n.push(kN(r,t));if(e.numFmt?.formatCode){let t=e.numFmt.sourceLinked===void 0||e.numFmt.sourceLinked?`1`:`0`;n.push(`<c:numFmt formatCode="${LP(e.numFmt.formatCode)}" sourceLinked="${t}"/>`)}e.spPr&&n.push($N(e.spPr,`c`)??``),e.txPr&&n.push(eP(e.txPr,`c`)??``),e.position!==void 0&&!t?.suppressDLblPos&&n.push(`<c:dLblPos val="${LP(String(e.position))}"/>`);let r=[[`showLegendKey`,e.showLegendKey],[`showVal`,e.showVal],[`showCatName`,e.showCatName],[`showSerName`,e.showSerName],[`showPercent`,e.showPercent],[`showBubbleSize`,e.showBubbleSize]];for(let[e,t]of r)t!==void 0&&n.push(`<c:${e} val="${t?`1`:`0`}"/>`);return e.separator!==void 0&&n.push(`<c:separator>${IP(String(e.separator))}</c:separator>`),e.showLeaderLines!==void 0&&n.push(`<c:showLeaderLines val="${e.showLeaderLines?`1`:`0`}"/>`),e.extLst&&n.push(e.extLst),n.push(`</c:dLbls>`),n.join(``)}function kN(e,t){let n=[`<c:dLbl>`,`<c:idx val="${e.index??0}"/>`];if(e.delete)return n.push(`<c:delete val="1"/>`),e.extLst&&n.push(e.extLst),n.push(`</c:dLbl>`),n.join(``);e.layout&&n.push(CN(e.layout)),e.rawTx?n.push(e.rawTx):e.text?.paragraphs?.[0]?.runs?.[0]?.text!==void 0&&n.push(`<c:tx><c:rich><a:bodyPr/><a:lstStyle/><a:p><a:r><a:t>${IP(String(e.text.paragraphs[0].runs[0].text))}</a:t></a:r></a:p></c:rich></c:tx>`),e.numFmt?.formatCode&&n.push(`<c:numFmt formatCode="${LP(e.numFmt.formatCode)}" sourceLinked="${e.numFmt.sourceLinked?`1`:`0`}"/>`),e.spPr&&n.push($N(e.spPr,`c`)??``),e.txPr&&n.push(eP(e.txPr,`c`)??``),e.position!==void 0&&!t?.suppressDLblPos&&n.push(`<c:dLblPos val="${LP(String(e.position))}"/>`);for(let[t,r]of[[`showLegendKey`,e.showLegendKey],[`showVal`,e.showVal],[`showCatName`,e.showCatName],[`showSerName`,e.showSerName],[`showPercent`,e.showPercent],[`showBubbleSize`,e.showBubbleSize]])r!==void 0&&n.push(`<c:${t} val="${r?`1`:`0`}"/>`);return e.separator!==void 0&&n.push(`<c:separator>${IP(String(e.separator))}</c:separator>`),e.extLst&&n.push(e.extLst),n.push(`</c:dLbl>`),n.join(``)}function AN(e,t,n){let r=e;for(let[e,i]of(t.chart?.plotArea?.axes??[]).entries()){let t=aN(n,e);if(!t)continue;let a=i.axisType===`cat`?`c:catAx`:i.axisType===`val`?`c:valAx`:i.axisType===`date`?`c:dateAx`:`c:serAx`,o=PP(r,a,i.axId);if(!o)return;let s=jN(o.xml,i,t);if(!s)return;r=r.slice(0,o.start)+s+r.slice(o.end)}return r}function jN(e,t,n){let r=e,i=MN(t);if(I(n,`scaling`)&&(r=EP(r,`c:scaling`,PN(t.scaling),[`c:delete`,`c:axPos`],i)),I(n,`delete`)&&(r=RN(r,`c:delete`,t.delete,[`c:axPos`],i)),I(n,`title`))if(t.title){let e=t.title.text?.paragraphs?.[0]?.runs?.[0]?.text;e!==void 0&&(r=wP(r,`c:title`,oN(e),[`c:numFmt`,`c:majorGridlines`,`c:minorGridlines`,`c:majorUnit`,`c:minorUnit`,`c:majorTickMark`,`c:minorTickMark`,`c:tickLblPos`]))}else r=r.replace(/<c:title>[\s\S]*?<\/c:title>/,``);return I(n,`numFmt`)&&(r=EP(r,`c:numFmt`,FN(t.numFmt),[`c:majorGridlines`,`c:minorGridlines`,`c:majorUnit`,`c:minorUnit`,`c:majorTickMark`,`c:minorTickMark`,`c:tickLblPos`,`c:spPr`,`c:txPr`,`c:crossAx`],i)),I(n,`majorGridlines`)&&(r=IN(r,`c:majorGridlines`,t.majorGridlines,[`c:minorGridlines`,`c:title`,`c:numFmt`,`c:majorUnit`,`c:minorUnit`,`c:majorTickMark`,`c:minorTickMark`,`c:tickLblPos`,`c:spPr`,`c:txPr`,`c:crossAx`],i)),I(n,`minorGridlines`)&&(r=IN(r,`c:minorGridlines`,t.minorGridlines,[`c:title`,`c:numFmt`,`c:majorUnit`,`c:minorUnit`,`c:majorTickMark`,`c:minorTickMark`,`c:tickLblPos`,`c:spPr`,`c:txPr`,`c:crossAx`],i)),I(n,`majorTickMark`)&&(r=LN(r,`c:majorTickMark`,t.majorTickMark,[`c:minorTickMark`,`c:tickLblPos`,`c:spPr`,`c:txPr`,`c:crossAx`],i)),I(n,`minorTickMark`)&&(r=LN(r,`c:minorTickMark`,t.minorTickMark,[`c:tickLblPos`,`c:spPr`,`c:txPr`,`c:crossAx`],i)),I(n,`tickLblPos`)&&(r=LN(r,`c:tickLblPos`,t.tickLblPos,[`c:spPr`,`c:txPr`,`c:crossAx`],i)),I(n,`spPr`)&&(r=EP(r,`c:spPr`,$N(t.spPr,`c`),[`c:txPr`,`c:crossAx`],i)),I(n,`txPr`)&&(r=EP(r,`c:txPr`,eP(t.txPr,`c`),[`c:crossAx`],i)),I(n,`crosses`)&&(r=LN(r,`c:crosses`,t.crosses,[`c:crossesAt`,`c:auto`,`c:lblAlgn`,`c:lblOffset`,`c:tickLblSkip`,`c:tickMarkSkip`,`c:noMultiLvlLbl`,`c:crossBetween`,`c:majorUnit`,`c:minorUnit`,`c:baseTimeUnit`,`c:majorTimeUnit`,`c:minorTimeUnit`,`c:dispUnits`,`c:extLst`],i)),I(n,`crossesAt`)&&(r=LN(r,`c:crossesAt`,t.crossesAt,[`c:auto`,`c:lblAlgn`,`c:lblOffset`,`c:tickLblSkip`,`c:tickMarkSkip`,`c:noMultiLvlLbl`,`c:crossBetween`,`c:majorUnit`,`c:minorUnit`,`c:baseTimeUnit`,`c:majorTimeUnit`,`c:minorTimeUnit`,`c:dispUnits`,`c:extLst`],i)),r=NN(r,t,n),r}function MN(e){return e.axisType===`cat`?`c:catAx`:e.axisType===`val`?`c:valAx`:e.axisType===`date`?`c:dateAx`:`c:serAx`}function NN(e,t,n){let r=MN(t),i=e;return I(n,`auto`)&&(i=RN(i,`c:auto`,t.auto,[`c:lblAlgn`,`c:lblOffset`,`c:tickLblSkip`,`c:tickMarkSkip`,`c:noMultiLvlLbl`,`c:extLst`],r)),I(n,`lblAlgn`)&&(i=LN(i,`c:lblAlgn`,t.lblAlgn,[`c:lblOffset`,`c:tickLblSkip`,`c:tickMarkSkip`,`c:noMultiLvlLbl`,`c:extLst`],r)),I(n,`lblOffset`)&&(i=LN(i,`c:lblOffset`,t.lblOffset,[`c:tickLblSkip`,`c:tickMarkSkip`,`c:noMultiLvlLbl`,`c:extLst`],r)),I(n,`tickLblSkip`)&&(i=LN(i,`c:tickLblSkip`,t.tickLblSkip,[`c:tickMarkSkip`,`c:noMultiLvlLbl`,`c:extLst`],r)),I(n,`tickMarkSkip`)&&(i=LN(i,`c:tickMarkSkip`,t.tickMarkSkip,[`c:noMultiLvlLbl`,`c:extLst`],r)),I(n,`noMultiLvlLbl`)&&(i=RN(i,`c:noMultiLvlLbl`,t.noMultiLvlLbl,[`c:extLst`],r)),I(n,`crossBetween`)&&(i=LN(i,`c:crossBetween`,t.crossBetween,[`c:majorUnit`,`c:minorUnit`,`c:dispUnits`,`c:extLst`],r)),I(n,`majorUnit`)&&(i=LN(i,`c:majorUnit`,t.majorUnit,[`c:minorUnit`,`c:dispUnits`,`c:extLst`],r)),I(n,`minorUnit`)&&(i=LN(i,`c:minorUnit`,t.minorUnit,[`c:dispUnits`,`c:extLst`],r)),I(n,`baseTimeUnit`)&&(i=LN(i,`c:baseTimeUnit`,t.baseTimeUnit,[`c:majorUnit`,`c:majorTimeUnit`,`c:minorUnit`,`c:minorTimeUnit`,`c:extLst`],r)),I(n,`majorTimeUnit`)&&(i=LN(i,`c:majorTimeUnit`,t.majorTimeUnit,[`c:minorUnit`,`c:minorTimeUnit`,`c:extLst`],r)),I(n,`minorTimeUnit`)&&(i=LN(i,`c:minorTimeUnit`,t.minorTimeUnit,[`c:extLst`],r)),i}function PN(e){if(!e)return``;let t=[`<c:scaling>`];return e.logBase!==void 0&&Number.isFinite(e.logBase)&&e.logBase>0&&t.push(`<c:logBase val="${e.logBase}"/>`),e.orientation!==void 0&&t.push(`<c:orientation val="${LP(e.orientation)}"/>`),e.max!==void 0&&Number.isFinite(e.max)&&t.push(`<c:max val="${e.max}"/>`),e.min!==void 0&&Number.isFinite(e.min)&&t.push(`<c:min val="${e.min}"/>`),t.push(`</c:scaling>`),t.join(``)}function FN(e){if(!e?.formatCode)return``;let t=e.sourceLinked===void 0||e.sourceLinked?`1`:`0`;return`<c:numFmt formatCode="${LP(e.formatCode)}" sourceLinked="${t}"/>`}function IN(e,t,n,r,i){return EP(e,t,n?`<${t}>${$N(n,`c`)??``}</${t}>`:``,r,i)}function LN(e,t,n,r,i){return EP(e,t,n===void 0?``:`<${t} val="${LP(String(n))}"/>`,r,i)}function RN(e,t,n,r,i){return EP(e,t,n===void 0?``:`<${t} val="${n?`1`:`0`}"/>`,r,i)}function zN(e){return e.strRef?.formula?`<c:tx>${XN(e.strRef)}</c:tx>`:`<c:tx><c:v>${IP(String(e.value??``))}</c:v></c:tx>`}function BN(e){if(!e)return``;let t=[`<c:marker>`];return e.symbol&&t.push(`<c:symbol val="${LP(String(e.symbol))}"/>`),e.size!==void 0&&t.push(`<c:size val="${e.size}"/>`),e.spPr&&t.push($N(e.spPr,`c`)??``),e.extLst&&t.push(e.extLst),t.push(`</c:marker>`),t.join(``)}function VN(e){return!Array.isArray(e)||e.length===0?``:e.map(HN).join(``)}function HN(e){let t=[`<c:dPt>`,`<c:idx val="${e.index??0}"/>`];return e.invertIfNegative!==void 0&&t.push(`<c:invertIfNegative val="${e.invertIfNegative?`1`:`0`}"/>`),e.marker&&t.push(BN(e.marker)),e.bubble3D!==void 0&&t.push(`<c:bubble3D val="${e.bubble3D?`1`:`0`}"/>`),e.explosion!==void 0&&t.push(`<c:explosion val="${e.explosion}"/>`),e.spPr&&t.push($N(e.spPr,`c`)??``),e.extLst&&t.push(e.extLst),t.push(`</c:dPt>`),t.join(``)}function UN(e){return!Array.isArray(e)||e.length===0?``:e.map(WN).join(``)}function WN(e){let t=[`<c:trendline>`];e.name&&t.push(`<c:name>${IP(String(e.name))}</c:name>`),e.spPr&&t.push($N(e.spPr,`c`)??``),t.push(`<c:trendlineType val="${LP(String(e.type??`linear`))}"/>`);for(let n of[`order`,`period`,`forward`,`backward`,`intercept`])e[n]!==void 0&&t.push(`<c:${n} val="${e[n]}"/>`);return e.displayRSqr!==void 0&&t.push(`<c:dispRSqr val="${e.displayRSqr?`1`:`0`}"/>`),e.displayEq!==void 0&&t.push(`<c:dispEq val="${e.displayEq?`1`:`0`}"/>`),e.trendlineLbl&&t.push(GN(e.trendlineLbl)),e.extLst&&t.push(e.extLst),t.push(`</c:trendline>`),t.join(``)}function GN(e){let t=[`<c:trendlineLbl>`];return e.layout&&t.push(CN(e.layout)),e.rawTx?t.push(e.rawTx):e.text?.paragraphs?.[0]?.runs?.[0]?.text!==void 0&&t.push(`<c:tx><c:rich><a:bodyPr/><a:lstStyle/><a:p><a:r><a:t>${IP(String(e.text.paragraphs[0].runs[0].text))}</a:t></a:r></a:p></c:rich></c:tx>`),e.numFmt?.formatCode&&t.push(`<c:numFmt formatCode="${LP(e.numFmt.formatCode)}" sourceLinked="${e.numFmt.sourceLinked?`1`:`0`}"/>`),e.spPr&&t.push($N(e.spPr,`c`)??``),e.txPr&&t.push(eP(e.txPr,`c`)??``),e.extLst&&t.push(e.extLst),t.push(`</c:trendlineLbl>`),t.join(``)}function KN(e){return(Array.isArray(e)?e:e?[e]:[]).map(qN).join(``)}function qN(e){let t=[`<c:errBars>`];return e.errDir&&t.push(`<c:errDir val="${LP(String(e.errDir))}"/>`),t.push(`<c:errBarType val="${LP(String(e.barDir??`both`))}"/>`),t.push(`<c:errValType val="${LP(String(e.errValType??`fixedVal`))}"/>`),e.noEndCap!==void 0&&t.push(`<c:noEndCap val="${e.noEndCap?`1`:`0`}"/>`),e.val!==void 0&&t.push(`<c:val val="${e.val}"/>`),e.plus&&t.push(JN(`c:plus`,e.plus)??``),e.minus&&t.push(JN(`c:minus`,e.minus)??``),e.spPr&&t.push($N(e.spPr,`c`)??``),e.extLst&&t.push(e.extLst),t.push(`</c:errBars>`),t.join(``)}function JN(e,t){if(t.strRef)return`<${e}>${XN(t.strRef)}</${e}>`;if(t.numRef)return`<${e}>${YN(t.numRef)}</${e}>`}function YN(e){return`<c:numRef><c:f>${IP(e.formula)}</c:f>${ZN(e.cache)}</c:numRef>`}function XN(e){return`<c:strRef><c:f>${IP(e.formula)}</c:f>${QN(e.cache)}</c:strRef>`}function ZN(e){if(!e)return``;let t=[`<c:numCache>`];e.formatCode&&t.push(`<c:formatCode>${IP(e.formatCode)}</c:formatCode>`),e.pointCount!==void 0&&t.push(`<c:ptCount val="${e.pointCount}"/>`);for(let n of e.points??[])n.value!==null&&n.value!==void 0&&t.push(`<c:pt idx="${n.index}"><c:v>${IP(String(n.value))}</c:v></c:pt>`);return t.push(`</c:numCache>`),t.join(``)}function QN(e){if(!e)return``;let t=[`<c:strCache>`];e.pointCount!==void 0&&t.push(`<c:ptCount val="${e.pointCount}"/>`);for(let n of e.points??[])t.push(`<c:pt idx="${n.index}"><c:v>${IP(String(n.value))}</c:v></c:pt>`);return t.push(`</c:strCache>`),t.join(``)}function $N(e,t){if(!e)return``;if(e._rawXml)return tP(e._rawXml,`spPr`,t);let n=new ig,r=t;if(n.openNode(`${r}:spPr`),e.fill?.noFill)n.leafNode(`a:noFill`);else if(e.fill?.solid)n.openNode(`a:solidFill`),rP(n,e.fill.solid),n.closeNode();else if(e.fill?.gradient)iP(n,e.fill.gradient);else if(e.fill?.pattern){let t=e.fill.pattern;n.openNode(`a:pattFill`,{prst:t.preset}),t.foreground&&(n.openNode(`a:fgClr`),rP(n,t.foreground),n.closeNode()),t.background&&(n.openNode(`a:bgClr`),rP(n,t.background),n.closeNode()),n.closeNode()}if(e.line){let t={};e.line.width&&(t.w=String(e.line.width)),e.line.cap&&(t.cap=e.line.cap),e.line.compound&&(t.cmpd=e.line.compound),n.openNode(`a:ln`,t),e.line.noFill?n.leafNode(`a:noFill`):e.line.color&&(n.openNode(`a:solidFill`),rP(n,e.line.color),n.closeNode()),e.line.dash&&n.leafNode(`a:prstDash`,{val:e.line.dash}),e.line.join===`round`?n.leafNode(`a:round`):e.line.join===`bevel`?n.leafNode(`a:bevel`):e.line.join===`miter`&&n.leafNode(`a:miter`),n.closeNode()}return e.effectList&&aP(n,e.effectList),e.scene3d&&sP(n,e.scene3d),e.sp3d&&cP(n,e.sp3d),n.closeNode(),n.toString()}function eP(e,t){if(!e)return``;if(typeof e==`string`)return tP(e,`txPr`,t);if(e._rawXml)return tP(e._rawXml,`txPr`,t);let n=new ig;return n.openNode(`${t}:txPr`),n.leafNode(`a:bodyPr`,e.rotation===void 0?void 0:{rot:String(e.rotation)}),n.leafNode(`a:lstStyle`),n.openNode(`a:p`),n.openNode(`a:pPr`),nP(n,e,`a:defRPr`),n.closeNode(),n.leafNode(`a:endParaRPr`),n.closeNode(),n.closeNode(),n.toString()}function tP(e,t,n){return e.replace(RegExp(`^<(?:c|cx):${t}`),`<${n}:${t}`).replace(RegExp(`</(?:c|cx):${t}>$`),`</${n}:${t}>`)}function nP(e,t,n){let r={};if(t.size!==void 0&&(r.sz=String(t.size)),t.bold!==void 0&&(r.b=t.bold?`1`:`0`),t.italic!==void 0&&(r.i=t.italic?`1`:`0`),t.underline!==void 0&&(r.u=typeof t.underline==`boolean`?t.underline?`sng`:`none`:t.underline),t.strike&&(r.strike=t.strike),t.rotation!==void 0&&(r.rot=String(t.rotation)),t.baseline!==void 0&&(r.baseline=String(t.baseline)),t.kern!==void 0&&(r.kern=String(t.kern)),t.spacing!==void 0&&(r.spc=String(t.spacing)),t.cap&&(r.cap=t.cap),t.lang&&(r.lang=t.lang),!(t.color||t.fontFamily||t.eastAsianFamily||t.complexScriptFamily)){e.leafNode(n,r);return}e.openNode(n,r),t.color&&(e.openNode(`a:solidFill`),rP(e,t.color),e.closeNode()),t.fontFamily&&e.leafNode(`a:latin`,{typeface:t.fontFamily}),t.eastAsianFamily&&e.leafNode(`a:ea`,{typeface:t.eastAsianFamily}),t.complexScriptFamily&&e.leafNode(`a:cs`,{typeface:t.complexScriptFamily}),e.closeNode()}function rP(e,t){let n=uP(t),r=(t,r)=>{if(!n){e.leafNode(t,{val:r});return}e.openNode(t,{val:r}),e.writeRaw(n),e.closeNode()};t.srgb?r(`a:srgbClr`,t.srgb):t.theme===void 0?t.schemeName?r(`a:schemeClr`,t.schemeName):t.sysClr?r(`a:sysClr`,t.sysClr):t.prstClr&&r(`a:prstClr`,t.prstClr):r(`a:schemeClr`,[`dk1`,`lt1`,`dk2`,`lt2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`][t.theme]??`dk1`)}function iP(e,t){if(!(!Array.isArray(t.stops)||t.stops.length<2)){e.openNode(`a:gradFill`),e.openNode(`a:gsLst`);for(let n of t.stops){let t=Math.max(0,Math.min(1e5,Math.round(n.position*1e5)));e.openNode(`a:gs`,{pos:String(t)}),rP(e,n.color),e.closeNode()}if(e.closeNode(),t.type===`circle`||t.type===`rect`||t.type===`shape`){let n=t.fillToRect,r=(e,t)=>e===void 0?t:Math.round(e*1e5);e.openNode(`a:path`,{path:t.type}),e.leafNode(`a:fillToRect`,{l:String(r(n?.left,5e4)),t:String(r(n?.top,5e4)),r:String(r(n?.right,5e4)),b:String(r(n?.bottom,5e4))}),e.closeNode()}else{let n={ang:String(Math.round((t.angle??0)*6e4))};t.scaled!==void 0&&(n.scaled=t.scaled?`1`:`0`),e.leafNode(`a:lin`,n)}e.closeNode()}}function aP(e,t){if(e.openNode(`a:effectLst`),t.blur){let n={};t.blur.radius!==void 0&&(n.rad=String(t.blur.radius)),t.blur.grow!==void 0&&(n.grow=t.blur.grow?`1`:`0`),e.leafNode(`a:blur`,n)}if(t.outerShadow&&oP(e,`a:outerShdw`,t.outerShadow),t.innerShadow&&oP(e,`a:innerShdw`,t.innerShadow),t.presetShadow){let n=t.presetShadow,r={prst:n.preset};n.distance!==void 0&&(r.dist=String(n.distance)),n.direction!==void 0&&(r.dir=String(n.direction)),e.openNode(`a:prstShdw`,r),n.color&&rP(e,n.color),e.closeNode()}if(t.glow&&(e.openNode(`a:glow`,{rad:String(t.glow.radius)}),rP(e,t.glow.color),e.closeNode()),t.softEdge&&e.leafNode(`a:softEdge`,{rad:String(t.softEdge.radius)}),t.reflection){let n=t.reflection,r={};for(let[e,t]of[[`blurRad`,n.blurRadius],[`stA`,n.startOpacity],[`stPos`,n.startPosition],[`endA`,n.endOpacity],[`endPos`,n.endPosition],[`dist`,n.distance],[`dir`,n.direction],[`fadeDir`,n.fadeDirection],[`sx`,n.scaleHorizontal],[`sy`,n.scaleVertical],[`kx`,n.skewHorizontal],[`ky`,n.skewVertical],[`algn`,n.alignment],[`rotWithShape`,n.rotateWithShape]])t!==void 0&&(r[e]=typeof t==`boolean`?t?`1`:`0`:String(t));e.leafNode(`a:reflection`,r)}e.closeNode()}function oP(e,t,n){let r={};for(let[e,t]of[[`blurRad`,n.blurRadius],[`dist`,n.distance],[`dir`,n.direction],[`algn`,n.alignment],[`rotWithShape`,n.rotateWithShape],[`sx`,n.scaleHorizontal],[`sy`,n.scaleVertical],[`kx`,n.skewHorizontal],[`ky`,n.skewVertical]])t!==void 0&&(r[e]=typeof t==`boolean`?t?`1`:`0`:String(t));e.openNode(t,r),rP(e,n.color),e.closeNode()}function sP(e,t){if(e.openNode(`a:scene3d`),t.camera){let n=t.camera,r={prst:n.preset};n.fov!==void 0&&(r.fov=String(n.fov)),n.zoom!==void 0&&(r.zoom=String(n.zoom)),n.rotation?(e.openNode(`a:camera`,r),e.leafNode(`a:rot`,{lat:String(n.rotation.lat),lon:String(n.rotation.lon),rev:String(n.rotation.rev)}),e.closeNode()):e.leafNode(`a:camera`,r)}if(t.lightRig){let n=t.lightRig,r={rig:n.rig,dir:n.direction};n.rotation?(e.openNode(`a:lightRig`,r),e.leafNode(`a:rot`,{lat:String(n.rotation.lat),lon:String(n.rotation.lon),rev:String(n.rotation.rev)}),e.closeNode()):e.leafNode(`a:lightRig`,r)}e.closeNode()}function cP(e,t){let n={};if(t.z!==void 0&&(n.z=String(t.z)),t.extrusionHeight!==void 0&&(n.extrusionH=String(t.extrusionHeight)),t.contourWidth!==void 0&&(n.contourW=String(t.contourWidth)),t.material&&(n.prstMaterial=t.material),!(t.bevelTop||t.bevelBottom||t.extrusionColor||t.contourColor)){e.leafNode(`a:sp3d`,n);return}e.openNode(`a:sp3d`,n),t.bevelTop&&lP(e,`a:bevelT`,t.bevelTop),t.bevelBottom&&lP(e,`a:bevelB`,t.bevelBottom),t.extrusionColor&&(e.openNode(`a:extrusionClr`),rP(e,t.extrusionColor),e.closeNode()),t.contourColor&&(e.openNode(`a:contourClr`),rP(e,t.contourColor),e.closeNode()),e.closeNode()}function lP(e,t,n){let r={};n.width!==void 0&&(r.w=String(n.width)),n.height!==void 0&&(r.h=String(n.height)),n.preset&&(r.prst=n.preset),e.leafNode(t,r)}function uP(e){let t=[],n=(e,n)=>{n===void 0||!Number.isFinite(n)||t.push(`<a:${e} val="${Math.round(n)}"/>`)};return n(`alpha`,e.alpha),e.tint!==void 0&&Number.isFinite(e.tint)&&t.push(`<a:tint val="${Math.round(e.tint*1e5)}"/>`),n(`shade`,e.shade),n(`satMod`,e.satMod),n(`lumMod`,e.lumMod),n(`lumOff`,e.lumOff),t.join(``)}function dP(e,t,n){let r=JM({chartSpace:{chart:t}}),i=0;return NP(e,`cx:series`,e=>{let t=r[i++],a=aN(n.series,i-1);return t&&a?fP(e,t,a):e})}function fP(e,t,n){let r=[`cx:spPr`,`cx:txPr`,`cx:valueColors`,`cx:valueColorPositions`,`cx:dataPt`,`cx:dataLabels`,`cx:dataId`,`cx:layoutPr`,`cx:axisId`,`cx:extLst`],i=[`cx:txPr`,`cx:valueColors`,`cx:valueColorPositions`,`cx:dataPt`,`cx:dataLabels`,`cx:dataId`,`cx:layoutPr`,`cx:axisId`,`cx:extLst`],a=[`cx:dataLabels`,`cx:dataId`,`cx:layoutPr`,`cx:axisId`,`cx:extLst`],o=[`cx:dataId`,`cx:layoutPr`,`cx:axisId`,`cx:extLst`],s=[`cx:layoutPr`,`cx:axisId`,`cx:extLst`],c=[`cx:axisId`,`cx:extLst`],l=[`cx:extLst`],u=e;if(I(n,`hidden`)&&(u=DP(u,`cx:series`,`hidden`,t.hidden)),I(n,`ownerIdx`)&&(u=OP(u,`cx:series`,`ownerIdx`,t.ownerIdx)),I(n,`tx`)&&(u=EP(u,`cx:tx`,pP(t.tx),r,`cx:series`)),I(n,`spPr`)&&(u=EP(u,`cx:spPr`,$N(t.spPr,`cx`),i,`cx:series`)),I(n,`dataPoints`)){let e=(t.dataPt??[]).map(e=>{let t=$N(e.spPr,`cx`)??``;return`<cx:dataPt idx="${e.idx}">${t}</cx:dataPt>`}).join(``);u=kP(u,`cx:dataPt`,e,a,`cx:series`)}if(I(n,`dataLabels`)&&(u=EP(u,`cx:dataLabels`,vP(t.dataLabels),o,`cx:series`)),I(n,`dataRefs`)){let e=(t.dataRefs??[]).map(e=>e.dataId===void 0?e.axisId===void 0?``:`<cx:axisId val="${e.axisId}"/>`:`<cx:dataId val="${e.dataId}"/>`).join(``);u=kP(u,`cx:dataId`,e,s,`cx:series`)}if(I(n,`layoutPr`)&&(u=EP(u,`cx:layoutPr`,gP(t.layoutId,t.layoutPr),c,`cx:series`)),I(n,`axisId`)){let e=(t.axisId??[]).map(e=>`<cx:axisId val="${e}"/>`).join(``);u=kP(u,`cx:axisId`,e,l,`cx:series`)}return u}function pP(e){if(!e)return``;if(e.rich)return`<cx:tx>${mP(e.rich)}</cx:tx>`;if(e.value!==void 0)return`<cx:tx><cx:txData><cx:v>${IP(String(e.value))}</cx:v></cx:txData></cx:tx>`;if(e.strRef!==void 0){let t,n;if(typeof e.strRef==`string`)t=e.strRef;else if(e.strRef&&typeof e.strRef==`object`&&typeof e.strRef.formula==`string`)t=e.strRef.formula,n=typeof e.strRef.cached==`string`?e.strRef.cached:void 0;else return``;let r=n===void 0?``:`<cx:v>${IP(n)}</cx:v>`;return`<cx:tx><cx:txData><cx:f>${IP(t)}</cx:f>${r}</cx:txData></cx:tx>`}return``}function mP(e){if(!e||!Array.isArray(e.paragraphs))return``;let t=[`<cx:rich>`,`<a:bodyPr/>`,`<a:lstStyle/>`];for(let n of e.paragraphs){t.push(`<a:p>`);for(let e of n.runs??[]){let n=hP(e.properties),r=typeof e.text==`string`?e.text:``,i=/^\s|\s$|[\t\n\r]/.test(r)?` xml:space="preserve"`:``;t.push(`<a:r>${n}<a:t${i}>${IP(r)}</a:t></a:r>`)}t.push(`<a:endParaRPr lang="en-US"/>`),t.push(`</a:p>`)}return t.push(`</cx:rich>`),t.join(``)}function hP(e){if(!e||typeof e!=`object`)return``;let t=[];typeof e.size==`number`&&Number.isFinite(e.size)&&t.push(`sz="${e.size}"`),e.bold!==void 0&&t.push(`b="${+!!e.bold}"`),e.italic!==void 0&&t.push(`i="${+!!e.italic}"`);let n=e.color,r=``;if(n&&typeof n==`object`&&(typeof n.srgb==`string`?r=`<a:solidFill><a:srgbClr val="${LP(n.srgb)}"/></a:solidFill>`:typeof n.theme==`number`&&(r=`<a:solidFill><a:schemeClr val="${LP(T().themeIndexToName(n.theme))}"/></a:solidFill>`)),t.length===0&&!r)return``;let i=t.length>0?` ${t.join(` `)}`:``;return r?`<a:rPr${i}>${r}</a:rPr>`:`<a:rPr${i}/>`}function gP(e,t){if(!t)return``;if(t._rawXml&&!_P(t))return t._rawXml;let n=[`<cx:layoutPr>`];if(t.parentLabelLayout&&(e===`sunburst`||e===`treemap`)&&n.push(`<cx:parentLabelLayout val="${LP(t.parentLabelLayout)}"/>`),t.subtotals&&e===`waterfall`){n.push(`<cx:subtotals>`);for(let e of t.subtotals)n.push(`<cx:subtotal idx="${e.idx}"/>`);n.push(`</cx:subtotals>`)}if(e===`waterfall`&&t.connectorLines!==void 0&&n.push(`<cx:connectorLines val="${t.connectorLines?`1`:`0`}"/>`),t.binning){let e=t.binning,r=[e.intervalClosed===`l`||e.intervalClosed===`r`?`intervalClosed="${LP(e.intervalClosed)}"`:void 0,e.underflow!==void 0&&Number.isFinite(e.underflow)?`underflow="${e.underflow}"`:void 0,e.overflow!==void 0&&Number.isFinite(e.overflow)?`overflow="${e.overflow}"`:void 0].filter(e=>!!e);n.push(`<cx:binning${r.length>0?` ${r.join(` `)}`:``}>`),e.binType===`auto`?n.push(`<cx:auto/>`):e.binType===`categories`?n.push(`<cx:categories/>`):e.binType===`manual`&&n.push(`<cx:manual/>`),e.binSize!==void 0&&Number.isFinite(e.binSize)&&n.push(`<cx:binSize val="${e.binSize}"/>`),e.binCount!==void 0&&Number.isFinite(e.binCount)&&n.push(`<cx:binCount val="${e.binCount}"/>`),n.push(`</cx:binning>`)}if(t.paretoLine!==void 0&&(e===`clusteredColumn`||e===`paretoLine`)&&n.push(`<cx:paretoLine val="${t.paretoLine?`1`:`0`}"/>`),e===`boxWhisker`)for(let[e,r]of[[`quartileMethod`,t.quartileMethod],[`showMeanLine`,t.showMeanLine],[`showMeanMarker`,t.showMeanMarker],[`showInnerPoints`,t.showInnerPoints],[`showOutlierPoints`,t.showOutlierPoints]])r!==void 0&&n.push(`<cx:${e} val="${typeof r==`boolean`?r?`1`:`0`:LP(String(r))}"/>`);if(e===`regionMap`)for(let[e,r]of[[`projection`,t.projection],[`regionLabels`,t.regionLabels],[`geoMappingLevel`,t.geoMappingLevel]])r!==void 0&&n.push(`<cx:${e} val="${LP(String(r))}"/>`);return t.extLst&&n.push(t.extLst),n.push(`</cx:layoutPr>`),n.join(``)}function _P(e){return[e.parentLabelLayout,e.subtotals,e.connectorLines,e.binning,e.paretoLine,e.quartileMethod,e.showMeanLine,e.showMeanMarker,e.showInnerPoints,e.showOutlierPoints,e.projection,e.regionLabels,e.geoMappingLevel].some(e=>e!==void 0)}function vP(e){if(!e)return``;let t=[`<cx:dataLabels>`];if(e.visibility){let n=[e.visibility.seriesName===void 0?void 0:`seriesName="${e.visibility.seriesName?`1`:`0`}"`,e.visibility.categoryName===void 0?void 0:`categoryName="${e.visibility.categoryName?`1`:`0`}"`,e.visibility.value===void 0?void 0:`value="${e.visibility.value?`1`:`0`}"`,e.visibility.numFmt===void 0?void 0:`numFmt="${e.visibility.numFmt?`1`:`0`}"`].filter(e=>!!e);t.push(`<cx:visibility ${n.join(` `)}/>`)}return e.position&&t.push(`<cx:dataLabel pos="${LP(e.position)}"/>`),e.separator&&t.push(`<cx:separator>${IP(String(e.separator))}</cx:separator>`),e.numFmt&&t.push(`<cx:numFmt formatCode="${LP(String(e.numFmt))}"/>`),e.spPr&&t.push($N(e.spPr,`cx`)??``),e.txPr&&t.push(eP(e.txPr,`cx`)??``),t.push(`</cx:dataLabels>`),t.join(``)}function yP(e,t,n){let r=e;for(let[e,i]of(t.plotArea?.axis??[]).entries()){let t=aN(n,e);if(!t)continue;let a=CP(r,i.axisId);if(!a)return;let o=bP(a.xml,i,t);r=r.slice(0,a.start)+o+r.slice(a.end)}return r}function bP(e,t,n){let r=[`cx:title`,`cx:units`,`cx:majorTickMarks`,`cx:majorTickMark`,`cx:minorTickMarks`,`cx:minorTickMark`,`cx:majorGridlines`,`cx:minorGridlines`,`cx:numFmt`,`cx:txPr`,`cx:spPr`,`cx:extLst`],i=[`cx:units`,`cx:majorTickMarks`,`cx:majorTickMark`,`cx:minorTickMarks`,`cx:minorTickMark`,`cx:majorGridlines`,`cx:minorGridlines`,`cx:numFmt`,`cx:txPr`,`cx:spPr`,`cx:extLst`],a=[`cx:minorTickMarks`,`cx:minorTickMark`,`cx:majorGridlines`,`cx:minorGridlines`,`cx:numFmt`,`cx:txPr`,`cx:spPr`,`cx:extLst`],o=[`cx:majorGridlines`,`cx:minorGridlines`,`cx:numFmt`,`cx:txPr`,`cx:spPr`,`cx:extLst`],s=[`cx:txPr`,`cx:spPr`,`cx:extLst`],c=[`cx:spPr`,`cx:extLst`],l=[`cx:extLst`],u=e;if(I(n,`hidden`)&&(u=jP(u,`cx:axis`,`hidden`,t.hidden),u=AP(u,`cx:hidden`)),I(n,`valScaling`)&&(u=EP(u,`cx:valScaling`,SP(`valScaling`,t.valScaling),r,`cx:axis`)),I(n,`catScaling`)&&(u=EP(u,`cx:catScaling`,SP(`catScaling`,t.catScaling),r,`cx:axis`)),I(n,`title`))if(t.title){let e=t.title.text?.paragraphs?.[0]?.runs?.[0]?.text;e!==void 0&&(u=EP(u,`cx:title`,cN(e),i,`cx:axis`))}else u=AP(u,`cx:title`);return I(n,`majorTickMark`)&&(u=AP(u,`cx:majorTickMark`),u=LN(u,`cx:majorTickMarks`,t.majorTickMark,a,`cx:axis`)),I(n,`minorTickMark`)&&(u=AP(u,`cx:minorTickMark`),u=LN(u,`cx:minorTickMarks`,t.minorTickMark,o,`cx:axis`)),I(n,`numFmt`)&&(u=EP(u,`cx:numFmt`,xP(t.numFmt),s,`cx:axis`)),I(n,`txPr`)&&(u=EP(u,`cx:txPr`,eP(t.txPr,`cx`),c,`cx:axis`)),I(n,`spPr`)&&(u=EP(u,`cx:spPr`,$N(t.spPr,`cx`),l,`cx:axis`)),u}function xP(e){if(!e?.formatCode)return``;let t=[`formatCode="${LP(e.formatCode)}"`];return e.sourceLinked!==void 0&&t.push(`sourceLinked="${e.sourceLinked?`1`:`0`}"`),`<cx:numFmt ${t.join(` `)}/>`}function SP(e,t){if(!t)return``;let n=Object.entries(t).filter(([,e])=>e!==void 0).map(([e,t])=>`${e}="${LP(String(t))}"`);return`<cx:${e}${n.length>0?` ${n.join(` `)}`:``}/>`}function CP(e,t){let n=0;for(;n<e.length;){let r=FP(e,`cx:axis`,n);if(!r)return;let i=e.slice(r.start,r.end);if(RegExp(`<cx:axis\\s+[^>]*id=["']${t}["']`).test(i))return{...r,xml:i};n=r.end}}function wP(e,t,n,r){let i=FP(e,t);if(i)return e.slice(0,i.start)+n+e.slice(i.end);let a=r.map(t=>e.indexOf(`<${t}`)).filter(e=>e>=0).sort((e,t)=>e-t)[0];if(a!==void 0)return e.slice(0,a)+n+e.slice(a);let o=e.lastIndexOf(`</c:ser>`)>=0?e.lastIndexOf(`</c:ser>`):e.lastIndexOf(`</c:catAx>`);return o>=0?e.slice(0,o)+n+e.slice(o):e}function TP(e,t,n,r,i){let a=FP(e,t);if(a)return e.slice(0,a.start)+n+e.slice(a.end);let o=r.map(t=>e.indexOf(`<${t}`)).filter(e=>e>=0).sort((e,t)=>e-t)[0];if(o!==void 0)return e.slice(0,o)+n+e.slice(o);let s=e.lastIndexOf(`</${i}>`);return s>=0?e.slice(0,s)+n+e.slice(s):e}function EP(e,t,n,r,i){return n===void 0||n===``?AP(e,t):TP(e,t,n,r,i)}function DP(e,t,n,r){let i=e.indexOf(`>`);if(i<0||!e.startsWith(`<${t}`))return e;let a=e.slice(0,i+1).replace(RegExp(`\\s${n}=("[^"]*"|'[^']*')`,`g`),``);if(r===void 0)return a+e.slice(i+1);let o=a.endsWith(`/>`),s=` ${n}="${r?`1`:`0`}"`;return(o?a.replace(/\/>$/,`${s}/>`):a.replace(/>$/,`${s}>`))+e.slice(i+1)}function OP(e,t,n,r){let i=e.indexOf(`>`);if(i<0||!e.startsWith(`<${t}`))return e;let a=e.slice(0,i+1),o=a.endsWith(`/>`),s=a.replace(RegExp(`\\s${n}=("[^"]*"|'[^']*')`,`g`),``);if(r===void 0||!Number.isFinite(r))return s+e.slice(i+1);let c=` ${n}="${r}"`;return(o?s.replace(/\/>$/,`${c}/>`):s.replace(/>$/,`${c}>`))+e.slice(i+1)}function kP(e,t,n,r,i){let a=MP(e,t);return n?TP(a,t,n,r,i):a}function AP(e,t){let n=FP(e,t);return n?e.slice(0,n.start)+e.slice(n.end):e}function jP(e,t,n,r){let i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),a=RegExp(`<${i}\\b([^>]*)(/?)>`).exec(e);if(!a)return e;let[o,s,c]=a,l=RegExp(`\\s${n}="[^"]*"`),u=`<${t}${s.replace(l,``)}${r===void 0?``:typeof r==`boolean`?` ${n}="${r?`1`:`0`}"`:` ${n}="${LP(r)}"`}${c}>`;return u===o?e:e.slice(0,a.index)+u+e.slice(a.index+o.length)}function MP(e,t){let n=e,r=FP(n,t);for(;r;)n=n.slice(0,r.start)+n.slice(r.end),r=FP(n,t,r.start);return n}function NP(e,t,n){let r=0,i=``;for(;r<e.length;){let a=FP(e,t,r);if(!a)return i+=e.slice(r),i;i+=e.slice(r,a.start);let o=n(e.slice(a.start,a.end));if(o===void 0)return;i+=o,r=a.end}return i}function PP(e,t,n){let r=0;for(;r<e.length;){let i=FP(e,t,r);if(!i)return;let a=e.slice(i.start,i.end);if(RegExp(`<c:axId\\s+val=["']${n}["']\\s*/>`).test(a))return{...i,xml:a};r=i.end}}function FP(e,t,n=0){let r=`<${t}`,i=`</${t}>`,a=n,o=-1;for(;a<e.length;){let t=e.indexOf(r,a);if(t<0)return;let n=e[t+r.length];if(n===`>`||n===`/`||/\s/.test(n??``)){o=t;break}a=t+r.length}if(o<0)return;let s=e.indexOf(`>`,o);if(s<0)return;if(e[s-1]===`/`)return{start:o,end:s+1};let c=1,l=s+1;for(;l<e.length&&c>0;){let t=(()=>{let t=l;for(;t<e.length;){let n=e.indexOf(r,t);if(n<0)return-1;let i=e[n+r.length];if(i===`>`||i===`/`||/\s/.test(i??``))return n;t=n+r.length}return-1})(),n=e.indexOf(i,l);if(n<0)return;if(t>=0&&t<n){let n=e.indexOf(`>`,t);if(n<0)return;e[n-1]!==`/`&&c++,l=n+1}else{if(c--,c===0)return{start:o,end:n+i.length};l=n+i.length}}}function IP(e){return qd(e)}function LP(e){return Jd(e)}var RP,zP,BP,VP,HP,UP=t((()=>{RE(),jy(),Bi(),la(),mb(),KE(),ng(),TA(),nC(),mu(),IA(),Wg(),zA(),JA(),uC(),fC(),_C(),yC(),Yg(),$g(),XA(),cw(),QA(),mj(),vj(),jj(),Wj(),aM(),mw(),H_(),yM(),gw(),Ei(),lr(),Hf(),Bx(),sf(),xM(),ag(),RP=class e{static{this.textEncoder=new TextEncoder}constructor(e){this.events=new Map,this.pipedStream=null,this.finalized=!1,this._needsDrain=!1,this._drainResolvers=[],this._pendingWrites=0,this._pendingWriteResolvers=[],this._earlyError=null,this.level=e?.level??6,this.modTime=e?.modTime,this.timestamps=e?.timestamps,this.zip=new Ay((e,t,n)=>{if(e){this._emit(`error`,e);return}t&&t.length>0&&(this._emit(`data`,t),this.pipedStream&&this._checkBackpressure(this.pipedStream.write(t))),n&&(this.pipedStream&&this.pipedStream.end(),this._emit(`finish`))})}_emit(e,...t){if(e===`error`){let n=this.events.get(e);if(!n||n.size===0){this._earlyError=t[0]instanceof Error?t[0]:Error(String(t[0]));return}}let n=this.events.get(e);if(n)for(let e of n)e(...t)}_checkBackpressure(e){if(e instanceof Promise){this._pendingWrites++,e.then(e=>{e||(this._needsDrain=!0)},()=>{}).finally(()=>{if(this._pendingWrites--,this._pendingWrites===0){let e=this._pendingWriteResolvers.splice(0);for(let t of e)t()}});return}e===!1&&(this._needsDrain=!0)}on(e,t){let n=this.events.get(e)||new Set;if(n.add(t),this.events.set(e,n),e===`error`&&this._earlyError){let e=this._earlyError;this._earlyError=null,t(e)}return this}once(e,t){let n=(...r)=>{this.off(e,n),t(...r)};return this.on(e,n)}off(e,t){let n=this.events.get(e);return n?(n.delete(t),n.size===0&&this.events.delete(e),this):this}pipe(e){this.pipedStream=e,e&&typeof e.on==`function`&&(e.on(`drain`,()=>{this._needsDrain=!1;let e=this._drainResolvers.splice(0);for(let t of e)t()}),e.on(`error`,e=>{this._emit(`error`,e),this._needsDrain=!1;let t=this._drainResolvers.splice(0);for(let e of t)e();let n=this._pendingWriteResolvers.splice(0);for(let e of n)e()}))}async waitForDrain(){if(this._pendingWrites>0&&await new Promise(e=>{this._pendingWriteResolvers.push(e)}),!(!this._needsDrain||!this.pipedStream))return new Promise(e=>{this._drainResolvers.push(e)})}append(t,n){if(this.finalized)throw new na(`append`,`stream already finalized`);let r;r=n.base64?cf(typeof t==`string`?t:String(t)):typeof t==`string`?e.textEncoder.encode(t):t instanceof Uint8Array?t:ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t instanceof ArrayBuffer?new Uint8Array(t):t;let i=new ky(n.name,{level:this.level,modTime:this.modTime,timestamps:this.timestamps});this.zip.add(i),i.push(r,!0)}createEntry(t){if(this.finalized)throw new na(`createEntry`,`stream already finalized`);let n=new ky(t,{level:this.level,modTime:this.modTime,timestamps:this.timestamps});this.zip.add(n);let r=e.textEncoder;return{write(e){n.push(r.encode(e))},end(){n.push(new Uint8Array,!0)}}}finalize(){this.finalized||(this.finalized=!0,this.zip.end())}},zP=`c:barDir.c:grouping.c:varyColors.c:ofPieType.c:radarStyle.c:scatterStyle.c:wireframe.c:ser.c:dLbls.c:marker.c:smooth.c:dropLines.c:hiLowLines.c:upDownBars.c:bubbleScale.c:showNegBubbles.c:sizeRepresents.c:gapWidth.c:overlap.c:serLines.c:shape.c:firstSliceAng.c:holeSize.c:gapDepth.c:splitType.c:splitPos.c:custSplit.c:secondPieSize.c:axId.c:extLst`.split(`.`),BP={barDir:`c:barDir`,grouping:`c:grouping`,varyColors:`c:varyColors`,gapWidth:`c:gapWidth`,overlap:`c:overlap`,firstSliceAng:`c:firstSliceAng`,holeSize:`c:holeSize`,gapDepth:`c:gapDepth`,scatterStyle:`c:scatterStyle`,radarStyle:`c:radarStyle`,ofPieType:`c:ofPieType`,splitType:`c:splitType`,splitPos:`c:splitPos`,secondPieSize:`c:secondPieSize`,bubbleScale:`c:bubbleScale`,showNegBubbles:`c:showNegBubbles`,sizeRepresents:`c:sizeRepresents`,shape:`c:shape`,smooth:`c:smooth`,wireframe:`c:wireframe`},VP=Object.keys(BP),HP=class e{static{this.RelType=D}constructor(e){this.workbook=e}createBinaryStream(e){let t=new li;return t.end(e),t}createTextStream(e){let t=new li;return t.end(e),t}createStreamBuf(){return new tC}bufferToString(e){return Cf(e)}createZipWriter(e){return new RP(e)}async writeToZip(e,t){let{model:n}=this.workbook;this.prepareModel(n,t),this.prepareChartsheets(n),this.prepareChartExSidecars(n),await this.addContentTypes(e,n),await this.addOfficeRels(e,n),await this.addWorkbookRels(e,n),await this.addWorkbook(e,n),await this.addWorksheets(e,n),await this.addSharedStrings(e,n),await this.addDrawings(e,n),await this.addChartsheets(e,n);let r=MM(t);await this.addCharts(e,n,r),await this.addChartExEntries(e,n,r),await this.addTables(e,n),await this.addPivotTables(e,n),await this.addExternalLinks(e,n),await this.addThemes(e,n),await this.addStyles(e,n),await this.addFeaturePropertyBag(e,n),await this.addMetadata(e,n),await this.addMedia(e,n),await this.addApp(e,n),await this.addCore(e,n),await this.addPersons(e,n),await this.addSlicerAndTimelineParts(e,n)}async addSlicerAndTimelineParts(e,t){for(let n of[t.slicerParts,t.slicerCacheParts,t.timelineParts,t.timelineCacheParts])if(n)for(let[t,r]of Object.entries(n))e.append(r,{name:t})}async addPersons(e,t){let n=t.persons;!n||n.length===0||e.append(HA(n),{name:`xl/persons/person.xml`})}async read(e,t){let n=[];return await new Promise((t,r)=>{let i=e=>{n.push(e)},a=()=>{e.off(`data`,i),e.off(`end`,a),e.off(`error`,o),t()},o=t=>{e.off(`data`,i),e.off(`end`,a),e.off(`error`,o),r(t)};e.on(`data`,i),e.on(`end`,a),e.on(`error`,o)}),this.loadBuffer(Zn(n),t)}async write(e,t){t||={},t.zip=t.zip||{},t.zip.modTime??=this.workbook.modified??this.workbook.created;let n=this.createZipWriter(t.zip);return n.pipe(e),await this.writeToZip(n,t),this._finalize(n)}async load(e,t){if(e==null)throw new ta(`<input>`,`read`,`Can't read the data of 'the loaded zip file'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?`);let n;if(typeof e==`string`){if(!t?.base64)throw new ta(`<input>`,`read`,`Can't read the data of 'the loaded zip file'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ? String input requires options.base64 === true (base64-encoded zip archive).`);n=cf(e)}else if(e instanceof Uint8Array)n=e;else if(e instanceof ArrayBuffer)n=new Uint8Array(e);else if(ArrayBuffer.isView(e))n=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);else throw new ta(`<input>`,`read`,`Can't read the data of 'the loaded zip file'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?`);return this.loadBuffer(n,t)}async loadBuffer(e,t){let n=await new LE(e).extractAll(),r={};for(let[e,t]of n)r[e]=t;return this.loadFromFiles(r,t)}createEmptyModel(){return{worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{},pivotTables:{},pivotTableRels:{},pivotCacheDefinitions:{},pivotCacheRecords:{},chartEntries:{},chartRels:{},chartStyles:{},chartColors:{},chartExStyles:{},chartExColors:{},chartExEntries:{},chartExRels:{},chartExStructuredEntries:{},externalLinksByIndex:{},externalLinkRelsByIndex:{},chartsheets:{},chartsheetRels:{}}}async collectStreamData(e){let t=[];return await new Promise((n,r)=>{e.on(`data`,e=>{typeof e==`string`?t.push(new TextEncoder().encode(e)):e instanceof Uint8Array?t.push(e):t.push(new Uint8Array(e))}),e.on(`end`,()=>n()),e.on(`error`,r)}),Zn(t)}async _processKnownEntry(e,t,n,r){let i=Xp(n);if(i!==void 0)return await this._processWorksheetEntry(e,t,i,r,n),!0;let a=Ch(n);if(a!==void 0)return await this._processChartsheetEntry(e,t,a),!0;switch(n){case k.rootRels:return t.globalRels=await this.parseRels(e),!0;case k.xlWorkbook:{let n=await this.parseWorkbook(e);return t.sheets=n.sheets,t.definedNames=n.definedNames,t.views=n.views,t.properties=n.properties,t.protection=n.protection,t.calcProperties=n.calcProperties,t.pivotCaches=n.pivotCaches,t.externalReferences=n.externalReferences,!0}case k.xlSharedStrings:return t.sharedStrings=new pw,await t.sharedStrings.parseStream(e),!0;case k.xlWorkbookRels:return t.workbookRels=await this.parseRels(e),!0;case k.docPropsApp:{let n=await new lC().parseStream(e);return n&&(t.company=n.company,t.manager=n.manager),!0}case k.docPropsCore:{let n=await new gC().parseStream(e);return Object.assign(t,n),!0}case k.xlStyles:return t.styles=new B_,await t.styles.parseStream(e),!0;case k.xlMetadata:{let n=await new Jg().parseStream(e);return n&&(t.metadata=n),!0}case`xl/persons/person.xml`:{let n=await this.collectStreamData(e);return t.persons=UA(new TextDecoder().decode(n)),!0}default:{let r=/^xl\/threadedComments\/threadedComment(\d+)\.xml$/.exec(n);if(r){let n=parseInt(r[1],10),i=await this.collectStreamData(e),a=new TextDecoder().decode(i);return t.threadedCommentsByIndex??={},t.threadedCommentsByIndex[n]=VA(a),!0}return/^xl\/slicers\/slicer\d+\.xml$/.test(n)?(t.slicerParts??={},t.slicerParts[n]=await this.collectStreamData(e),!0):/^xl\/slicerCaches\/slicerCache\d+\.xml$/.test(n)?(t.slicerCacheParts??={},t.slicerCacheParts[n]=await this.collectStreamData(e),!0):/^xl\/timelines\/timeline\d+\.xml$/.test(n)?(t.timelineParts??={},t.timelineParts[n]=await this.collectStreamData(e),!0):/^xl\/timelineCaches\/timelineCache\d+\.xml$/.test(n)?(t.timelineCacheParts??={},t.timelineCacheParts[n]=await this.collectStreamData(e),!0):!1}}}async loadFromZipEntries(e,t){let n=this.createEmptyModel();for await(let r of e){let e=!1,i=async()=>{e||(e=!0,await r.drain())};if(r.type===`Directory`){await i();continue}let a=Yp(r.name),o=r.stream;try{await this._processKnownEntry(o,n,a,t)||await this._processDefaultEntry(o,n,a)||await i()}finally{try{await i()}catch{}}}return this.reconcile(n,t),this.workbook.model=n,this.workbook}async writeBuffer(e){e||={},e.zip=e.zip||{},e.zip.modTime??=this.workbook.modified??this.workbook.created;let t=this.createZipWriter(e.zip),n=this.createStreamBuf();t.pipe(n),await this.writeToZip(t,e),await this._finalize(t);let r=n.read()||new Uint8Array;return NM(e.validate)&&await PM(r),r}async addMedia(e,t){await Promise.all(t.media.map(async t=>{if(t.type!==`image`)throw new sa(`Unsupported media`);let n=ym(`${t.name??`undefined`}.${t.extension}`);if(t.filename){if(this.readFileAsync){let r=await this.readFileAsync(t.filename);return e.append(r,{name:n})}throw new ea(`Loading images from filename`,`not supported in this environment`)}if(t.buffer)return e.append(t.buffer,{name:n});if(t.base64){let r=t.base64.substring(t.base64.indexOf(`,`)+1);return e.append(r,{name:n,base64:!0})}throw new sa(`Unsupported media`)}))}parseRels(e){return new Qg().parseStream(e)}parseWorkbook(e){return new Hg().parseStream(e)}parseSharedStrings(e){return new pw().parseStream(e)}reconcile(e,t){let n=new Hg,r=new iM(t),i=new sw,a=new vM;n.reconcile(e);let o={media:e.media,mediaIndex:e.mediaIndex};Object.keys(e.drawings).forEach(t=>{let n=e.drawings[t],r=e.drawingRels[t];r&&(o.rels=r.reduce((e,t)=>(e[t.Id]=t,e),{}),(n.anchors??[]).forEach(e=>{let t=e.picture&&e.picture.hyperlinks;t&&o.rels[t.rId]&&(t.hyperlink=o.rels[t.rId].Target,delete t.rId)}),i.reconcile(n,o))}),Object.keys(e.drawings).forEach(t=>{let n=e.drawings[t],r=e.drawingRels[t];if(!r)return;let i={};for(let e of r)i[e.Id]=e;for(let e of n.anchors??[])if(e.graphicFrame?.rId){let t=i[e.graphicFrame.rId];if(t?.Target){let n=/chart(\d+)\.xml/.exec(t.Target);n&&(e.chartNumber=parseInt(n[1],10));let r=/chartEx(\d+)\.xml/.exec(t.Target);r&&(e.chartExNumber=parseInt(r[1],10))}}});let s={styles:e.styles};Object.values(e.tables).forEach(e=>{a.reconcile(e,s)}),this._reconcilePivotTables(e);let c={styles:e.styles,sharedStrings:e.sharedStrings,media:e.media,mediaIndex:e.mediaIndex,date1904:e.properties?.date1904,drawings:e.drawings,drawingRels:e.drawingRels,comments:e.comments,tables:e.tables,vmlDrawings:e.vmlDrawings,pivotTables:e.pivotTablesIndexed,hasDynamicArrayMetadata:!!e.metadata?.hasDynamicArrays,dynamicArrayCmIndices:e.metadata?.dynamicArrayCmIndices};e.worksheets.forEach(t=>{t.relationships=e.worksheetRels[t.sheetNo],r.reconcile(t,c);let n=e.threadedCommentsByIndex?.[t.sheetNo];n&&(t.threadedComments=n)});let l=e.chartsheetsList||[];for(let t of l){let n=e.chartsheetRels[t.sheetNo];if(n&&(t.relationships=[...n]),t.drawing&&n){let r=n.find(e=>e.Id===t.drawing.rId);if(r){let n=r.Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(n){t.drawingName=n[1];let r=e.drawingRels[t.drawingName];if(r)for(let e of r){let n=/chart(\d+)\.xml/.exec(e.Target);if(n){t.chartNumber=parseInt(n[1],10);break}let r=/chartEx(\d+)\.xml/.exec(e.Target);if(r){t.chartExNumber=parseInt(r[1],10);break}}}}}}e.chartsheets=l,this._reconcileExternalLinks(e),this._reconcileChartUserShapes(e),delete e.worksheetHash,delete e.worksheetRels,delete e.globalRels,delete e.sharedStrings,delete e.workbookRels,delete e.sheetDefs,e.defaultFont=e.styles?.defaultFont,delete e.styles,delete e.mediaIndex,delete e.drawings,delete e.drawingRels,delete e.drawingRaw,delete e.vmlDrawings,delete e.pivotTableRels,delete e.metadata,delete e.externalReferences,delete e.externalLinksByIndex,delete e.externalLinkRelsByIndex,delete e.chartsheetRels,delete e.chartsheetsList}_reconcileChartUserShapes(e){let t=e.chartRels,n=e.drawingRaw,r=e.chartEntries;if(!(!t||!n||!r))for(let[e,i]of Object.entries(t)){if(!Array.isArray(i))continue;let t=r[e];if(!t)continue;let a=i.find(e=>e&&typeof e==`object`&&e.Type===D.ChartUserShapes);if(!a?.Target)continue;let o=/drawings\/([^/]+)\.xml$/i.exec(String(a.Target));if(!o)continue;let s=n[o[1]];s&&(t.userShapesXml=s,t.model.userShapesRelId??=a.Id)}}_reconcileExternalLinks(e){let t=e.externalReferences;if(!t||t.length===0){e.externalLinks||=[];return}let n=e.workbookRels??[],r=new Map;for(let e of n)e.Type===D.ExternalLink&&r.set(e.Id,e);let i=[];for(let n=0;n<t.length;n++){let a=t[n],o=r.get(a.rId);if(!o)continue;let s=SM(o.Target);if(s===void 0)continue;let c=e.externalLinksByIndex[s],l=e.externalLinkRelsByIndex[s]??[],u=l.find(e=>e.Type===D.ExternalLinkPath)??l.find(e=>e.TargetMode===`External`);i.push({index:n+1,rId:a.rId,target:u?.Target??``,targetMode:u?.TargetMode??`External`,sheetNames:c?.sheetNames??[],cachedValues:c?.cachedValues??{}})}e.externalLinks=i}_normaliseExternalLinks(e){let t=this.workbook._collectExternalLinksForWrite(),n=new Map;for(let e of t)e.target&&n.set(e.target.toLowerCase(),e);let r={links:t,byTarget:n,workbook:this.workbook};for(let t of e.worksheets??[])for(let e of t.rows??[])for(let t of e.cells??[])typeof t?.formula==`string`&&t.formula.length>0&&(t.formula=this._normaliseFormulaExternalRefs(t.formula,r)),typeof t?.sharedFormula==`string`&&t.sharedFormula.length>0&&(t.sharedFormula=this._normaliseFormulaExternalRefs(t.sharedFormula,r));e.externalLinks=t}_normaliseFormulaExternalRefs(e,t){return BE(e,e=>{if(e.numeric)return e.index!==null&&e.index>=1&&e.index<=t.links.length?(CM(t.links[e.index-1],e.sheet),e.index):null;let n=e.workbook.toLowerCase(),r=t.byTarget.get(n);return r?(CM(r,e.sheet),e.sheet&&t.workbook._recordAutoExternalLink(e.workbook,e.sheet)):(r={index:t.workbook._recordAutoExternalLink(e.workbook,e.sheet),target:e.workbook,targetMode:`External`,sheetNames:e.sheet?[e.sheet]:[],cachedValues:{}},t.links.push(r),t.byTarget.set(n,r)),r.index})}_reconcilePivotTables(e){let t=e.pivotTables||{};if(typeof t!=`object`||Object.keys(t).length===0){e.pivotTables=[],e.pivotTablesIndexed={};return}let n=this._buildDefinitionToCacheIdMap(e),r=new Map;Object.entries(e.pivotCacheDefinitions||{}).forEach(([t,i])=>{let a=n.get(t);if(a!==void 0){let n=t.replace(`Definition`,`Records`);r.set(a,{definition:i,records:e.pivotCacheRecords?.[n],definitionName:t})}});let i=[],a={};Object.entries(t).forEach(([e,t])=>{let n=this._extractTableNumber(e),o=r.get(t.cacheId),s=this._determineMetric(t.dataFields),c={...t,name:t.name??`PivotTable${n}`,tableNumber:n,cacheId:String(t.cacheId),cacheDefinition:o?.definition,cacheRecords:o?.records,cacheFields:o?.definition?.cacheFields??[],rows:t.rowFields.filter(e=>e>=0),columns:t.colFields.filter(e=>e>=0&&e!==-2),values:t.dataFields.map(e=>e.fld),pages:t.pageFields.map(e=>e.fld),metric:s,valueMetrics:this._determineValueMetrics(t.dataFields,s),applyWidthHeightFormats:t.applyWidthHeightFormats===`1`?`1`:`0`};i.push(c),a[Im(e)]=c}),i.sort((e,t)=>e.tableNumber-t.tableNumber),e.pivotTables=i,e.pivotTablesIndexed=a}_extractTableNumber(e){let t=e.match(/pivotTable(\d+)/);return t?parseInt(t[1],10):1}_buildCacheIdMap(e){let t=new Map,n=e.pivotCaches??[];for(let e of n)e.cacheId&&e.rId&&t.set(e.rId,parseInt(e.cacheId,10));return t}_buildDefinitionToCacheIdMap(t){let n=new Map,r=this._buildCacheIdMap(t),i=t.workbookRels??[];for(let t of i)if(t.Type===e.RelType.PivotCacheDefinition&&t.Target){let e=t.Target.match(/pivotCacheDefinition(\d+)\.xml/);if(e){let i=`pivotCacheDefinition${e[1]}`,a=r.get(t.Id);a!==void 0&&n.set(i,a)}}return n}_determineMetric(e){return e.length>0&&e[0].subtotal?e[0].subtotal:`sum`}_determineValueMetrics(e,t){return e.map(e=>e.subtotal||t)}async _processWorksheetEntry(e,t,n,r,i){let a=await new iM(r).parseStream(e);if(!a)throw new $i(i,`Failed to parse worksheet`);a.sheetNo=n,t.worksheetHash[i]=a,t.worksheets.push(a)}async _processChartsheetEntry(e,t,n){let r=await new Hj().parseStream(e);r&&(r.sheetNo=n,t.chartsheets[n]=r)}async _processCommentEntry(e,t,n){let r=await new RA().parseStream(e);t.comments[n]=r}async _processTableEntry(e,t,n){let r=await new vM().parseStream(e);t.tables[n]=r}async _processWorksheetRelsEntry(e,t,n){let r=await new Qg().parseStream(e);t.worksheetRels[n]=r}async _processMediaEntry(e,t,n){let r=n.lastIndexOf(`.`);if(r>=1){let i=n.substr(r+1),a=n.substr(0,r);await new Promise((r,o)=>{let s=this.createStreamBuf(),c=()=>{e.off(`error`,u),s.off(`error`,u),s.off(`finish`,l)},l=()=>{c(),t.mediaIndex[n]=t.media.length,t.mediaIndex[a]=t.media.length;let e={type:`image`,name:a,extension:i,buffer:s.read()};t.media.push(e),r()},u=e=>{c(),o(e)};s.once(`finish`,l),e.on(`error`,u),s.on(`error`,u),e.pipe(s)})}}async _processDrawingEntry(e,t,n,r){let i=r??await this.collectStreamData(e),a=new sw,o=this.bufferToString(i),s=await a.parseStream(this.createTextStream(o));t.drawings[n]=s,t.drawingRaw||={},t.drawingRaw[n]=i}async _processChartUserShapesEntry(e,t,n,r){let i=r??await this.collectStreamData(e);t.drawingRaw||={},t.drawingRaw[n]=i}async _processDrawingRelsEntry(e,t,n){let r=await new Qg().parseStream(e);t.drawingRels[n]=r}async _processVmlDrawingEntry(e,t,n){let r=await new ZA().parseStream(e);t.vmlDrawings[n]=r}async _processVmlDrawingHFEntry(e,t,n){let r=await new ZA().parseStream(e);r&&r.headerImage&&(t.vmlDrawingHF||={},t.vmlDrawingHF[n]=r.headerImage)}async _processThemeEntry(e,t,n){await new Promise((r,i)=>{let a=this.createStreamBuf(),o=()=>{e.off(`error`,c),a.off(`error`,c),a.off(`finish`,s)},s=()=>{o();let e=a.read();t.themes[n]=e?typeof e==`string`?e:this.bufferToString(e):``,r()},c=e=>{o(),i(e)};a.once(`finish`,s),e.on(`error`,c),a.on(`error`,c),e.pipe(a)})}async _processPivotTableEntry(e,t,n){let r=await new Aj().parseStream(e);r&&(t.pivotTables[n]=r)}async _processPivotTableRelsEntry(e,t,n){let r=await new Qg().parseStream(e);t.pivotTableRels[n]=r}async _processPivotCacheDefinitionEntry(e,t,n){let r=await new pj().parseStream(e);r&&(t.pivotCacheDefinitions[n]=r)}async _processPivotCacheRecordsEntry(e,t,n){let r=await new _j().parseStream(e);r&&(t.pivotCacheRecords[n]=r)}async _processExternalLinkEntry(e,t,n){let r=await new PA().parseStream(e);r&&(t.externalLinksByIndex[n]=r)}async _processExternalLinkRelsEntry(e,t,n){let r=await this.parseRels(e);t.externalLinkRelsByIndex[n]=r??[]}async _processChartEntry(e,t,n,r){let i=r??await this.collectStreamData(e),a=T().createChartSpaceXform(),o=this.bufferToString(i),s=await a.parseStream(this.createTextStream(o));s&&(t.chartEntries[n]={chartNumber:n,model:s,rawData:i,modelSnapshot:wM(s)})}async _processChartRelsEntry(e,t,n){let r=await new Qg().parseStream(e);t.chartRels[n]=r}async _processChartStyleEntry(e,t,n){let r=await this.collectStreamData(e);t.chartStyles[n]=r}async _processChartColorsEntry(e,t,n){let r=await this.collectStreamData(e);t.chartColors[n]=r}async loadFromFiles(e,t){let n=this.createEmptyModel(),r=Object.keys(e).map(t=>({name:t,dir:t.endsWith(`/`),data:e[t]}));for(let e of r)if(!e.dir){let r=Yp(e.name),i=nm(r)?this.createBinaryStream(e.data):this.createTextStream(this.bufferToString(e.data));await this._processKnownEntry(i,n,r,t)||await this._processDefaultEntry(i,n,r,e.data)}return this.reconcile(n,t),this.workbook.model=n,this.workbook}async _processDefaultEntry(e,t,n,r){let i=Zp(n);if(i!==void 0)return await this._processWorksheetRelsEntry(e,t,i),!0;let a=wh(n);if(a!==void 0){let n=await this.parseRels(e);return t.chartsheetRels[a]=n,!0}let o=$p(n);if(o)return await this._processMediaEntry(e,t,o),!0;let s=rm(n);if(s)return await this._processDrawingEntry(e,t,s,r),!0;let c=am(n);if(c)return await this._processChartUserShapesEntry(e,t,c,r),!0;let l=im(n);if(l)return await this._processDrawingRelsEntry(e,t,l),!0;if(om(n))return await this._processVmlDrawingEntry(e,t,n),!0;let u=sm(n);if(u)return await this._processVmlDrawingHFEntry(e,t,u),!0;if(cm(n))return await this._processCommentEntry(e,t,n),!0;if(lm(n))return await this._processTableEntry(e,t,n),!0;let d=tm(n);if(d)return await this._processThemeEntry(e,t,d),!0;let f=um(n);if(f)return await this._processPivotTableEntry(e,t,f),!0;let p=dm(n);if(p)return await this._processPivotTableRelsEntry(e,t,p),!0;let m=fm(n);if(m)return await this._processPivotCacheDefinitionEntry(e,t,m),!0;if(pm(n))return!0;let h=mm(n);if(h)return await this._processPivotCacheRecordsEntry(e,t,h),!0;let g=hm(n);if(g!==void 0)return await this._processExternalLinkEntry(e,t,g),!0;let _=gm(n);if(_!==void 0)return await this._processExternalLinkRelsEntry(e,t,_),!0;let v=Zm(n);if(v!==void 0)return await this._processChartEntry(e,t,v,r),!0;let y=Qm(n);if(y!==void 0)return await this._processChartRelsEntry(e,t,y),!0;let b=$m(n);if(b!==void 0)return r?t.chartStyles[b]=r:await this._processChartStyleEntry(e,t,b),!0;let x=eh(n);if(x!==void 0)return r?t.chartColors[x]=r:await this._processChartColorsEntry(e,t,x),!0;let S=th(n);if(S!==void 0)return t.chartExStyles[S]=r??await this.collectStreamData(e),!0;let ee=nh(n);if(ee!==void 0)return t.chartExColors[ee]=r??await this.collectStreamData(e),!0;let te=gh(n);if(te!==void 0){let n=r??await this.collectStreamData(e),i=this.bufferToString(n);t.chartExEntries[te]=n;try{let e=T().parseChartEx(i);t.chartExStructuredEntries[te]={chartExNumber:te,model:e,rawData:n,modelSnapshot:wM(e)}}catch{}return!0}let ne=_h(n);if(ne!==void 0){let n=await new Qg().parseStream(e);return t.chartExRels[ne]=n,!0}if(/^xl\/slicers\/slicer\d+\.xml$/.test(n)||/^xl\/slicerCaches\/slicerCache\d+\.xml$/.test(n)||/^xl\/timelines\/timeline\d+\.xml$/.test(n)||/^xl\/timelineCaches\/timelineCache\d+\.xml$/.test(n)||/^xl\/slicers\/_rels\/slicer\d+\.xml\.rels$/.test(n)||/^xl\/slicerCaches\/_rels\/slicerCache\d+\.xml\.rels$/.test(n)||/^xl\/timelines\/_rels\/timeline\d+\.xml\.rels$/.test(n)||/^xl\/timelineCaches\/_rels\/timelineCache\d+\.xml\.rels$/.test(n)){let i=n.startsWith(`xl/slicers/`)&&!n.includes(`/_rels/`)?t.slicerParts??={}:n.startsWith(`xl/slicerCaches/`)&&!n.includes(`/_rels/`)?t.slicerCacheParts??={}:n.startsWith(`xl/timelines/`)&&!n.includes(`/_rels/`)?t.timelineParts??={}:n.startsWith(`xl/timelineCaches/`)&&!n.includes(`/_rels/`)?t.timelineCacheParts??={}:n.startsWith(`xl/slicers/_rels/`)?t.slicerParts??={}:n.startsWith(`xl/slicerCaches/_rels/`)?t.slicerCacheParts??={}:n.startsWith(`xl/timelines/_rels/`)?t.timelineParts??={}:t.timelineCacheParts??={};return i[n]=r??await this.collectStreamData(e),!0}return!1}async _renderToZip(e,t,n,r){let i=e.createEntry(t),a=new bM(i);n.render(a,r),i.end(),await e.waitForDrain()}async addContentTypes(e,t){await this._renderToZip(e,k.contentTypes,new dC,t)}async addApp(e,t){await this._renderToZip(e,k.docPropsApp,new lC,t)}async addCore(e,t){await this._renderToZip(e,k.docPropsCore,new gC,t)}async addThemes(e,t){let n=t.themes||{theme1:`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
434
- <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>`};Object.keys(n).forEach(t=>{let r=n[t];e.append(r,{name:vm(t)})})}async addOfficeRels(t,n){await this._renderToZip(t,k.rootRels,new Qg,[{Id:`rId1`,Type:e.RelType.OfficeDocument,Target:k.xlWorkbook},{Id:`rId2`,Type:e.RelType.CoreProperties,Target:k.docPropsCore},{Id:`rId3`,Type:e.RelType.ExtenderProperties,Target:k.docPropsApp}])}async addWorkbookRels(t,n){let r=1,i=[{Id:`rId${r++}`,Type:e.RelType.Styles,Target:Gh.workbookStyles},{Id:`rId${r++}`,Type:e.RelType.Theme,Target:Gh.workbookTheme1}];n.sharedStrings.count&&i.push({Id:`rId${r++}`,Type:e.RelType.SharedStrings,Target:Gh.workbookSharedStrings}),n.hasCheckboxes&&i.push({Id:`rId${r++}`,Type:e.RelType.FeaturePropertyBag,Target:Gh.workbookFeaturePropertyBag}),n.hasDynamicArrayFormulas&&i.push({Id:`rId${r++}`,Type:e.RelType.SheetMetadata,Target:Gh.workbookMetadata}),n.hasPersons&&i.push({Id:`rId${r++}`,Type:e.RelType.Person,Target:`persons/person.xml`});let a=new Map;(n.pivotTables??[]).forEach(t=>{let n=a.get(t.cacheId);n?t.rId=n:(t.rId=`rId${r++}`,a.set(t.cacheId,t.rId),i.push({Id:t.rId,Type:e.RelType.PivotCacheDefinition,Target:Hm(t.tableNumber)}))}),n.worksheets.forEach(t=>{t.rId=`rId${r++}`,i.push({Id:t.rId,Type:e.RelType.Worksheet,Target:Sm(t.fileIndex)})}),(n.chartsheets||[]).forEach(e=>{e.rId=`rId${r++}`,i.push({Id:e.rId,Type:D.Chartsheet,Target:`chartsheets/sheet${e.sheetNo}.xml`})});let o=n.externalLinks??[];for(let t of o)t.rId=`rId${r++}`,i.push({Id:t.rId,Type:e.RelType.ExternalLink,Target:Bm(t.index)});let s=new Qg;await this._renderToZip(t,k.xlWorkbookRels,s,i)}async addFeaturePropertyBag(e,t){t.hasCheckboxes&&await this._renderToZip(e,k.xlFeaturePropertyBag,new vC,{})}async addMetadata(e,t){t.hasDynamicArrayFormulas&&await this._renderToZip(e,k.xlMetadata,new Jg,{dynamicArrayCount:t.dynamicArrayCount})}async addSharedStrings(e,t){t.sharedStrings&&t.sharedStrings.count&&await this._renderToZip(e,k.xlSharedStrings,t.sharedStrings,t.sharedStrings.model)}async addStyles(e,t){t.styles&&await this._renderToZip(e,k.xlStyles,t.styles,t.styles.model)}async addWorkbook(e,t){await this._renderToZip(e,k.xlWorkbook,new Hg,t)}async addWorksheets(e,t){let n=new iM,r=new Qg,i=new RA,a=new ZA,o=new YA;for(let s of t.worksheets){let{fileIndex:t}=s,c=e.createEntry(bm(t)),l=new bM(c);if(n.render(l,s),c.end(),await e.waitForDrain(),s.rels&&s.rels.length&&await this._renderToZip(e,xm(t),r,s.rels),s.comments.length>0&&await this._renderToZip(e,Cm(t),i,s),s.threadedComments&&s.threadedComments.length>0){let n=BA(s.threadedComments);e.append(n,{name:`xl/threadedComments/threadedComment${t}.xml`})}let u=s.comments.length>0,d=s.formControls&&s.formControls.length>0;if((u||d)&&await this._renderToZip(e,Tm(t),a,{comments:u?s.comments:[],formControls:d?s.formControls:[]}),s.headerImage){let n=s.headerImage,i=n.bookImage,o=`../media/${i.name&&i.extension&&i.name.endsWith(`.${i.extension}`)?i.name:`${i.name}.${i.extension}`}`;await this._renderToZip(e,Em(t),a,{comments:[],formControls:[],headerImage:{imageRelId:`rId1`,width:n.headerWidth,height:n.headerHeight}}),await this._renderToZip(e,Dm(t),r,[{Id:`rId1`,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,Target:o}])}if(d)for(let t of s.formControls)await this._renderToZip(e,Xm(t.ctrlPropId),o,t)}}async addChartsheets(e,t){let n=new Hj,r=new Qg,i=new ZA,a=new Set;for(let o of t.chartsheets||[]){await this._renderToZip(e,Th(o.sheetNo),n,o);let s=Array.isArray(o.relationships)?[...o.relationships]:[];if(o.drawing){let e={Id:o.drawing.rId,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,Target:`../drawings/${o.drawingName}.xml`},t=s.findIndex(e=>e?.Id===o.drawing.rId);t>=0?s[t]=e:s.push(e)}if(s.length>0&&await this._renderToZip(e,Eh(o.sheetNo),r,s),t.vmlDrawings)for(let n of s){if(n?.Type!==D.VmlDrawing||!n.Target)continue;let r=Sh(`xl/chartsheets/`,n.Target);if(a.has(r))continue;let o=t.vmlDrawings[r];o&&(a.add(r),await this._renderToZip(e,r,i,o))}}}async addDrawings(e,t){let n=new sw,r=new Qg;for(let i of t.worksheets){let{drawing:t}=i;if(t){let i=pb(t.anchors??[]),a=t.anchors?{...t,anchors:i}:t;n.prepare(a),await this._renderToZip(e,km(t.name),n,a),await this._renderToZip(e,Am(t.name),r,t.rels)}}for(let n of t.chartsheets||[])if(n.drawingName&&(n.chartNumber||n.chartExNumber)){let t=`rId1`,i=!n.chartNumber&&!!n.chartExNumber,a=TM({chartRId:t,chartName:i?`Chart ${n.chartExNumber}`:`Chart ${n.chartNumber}`,isChartEx:i,extCx:9906e3,extCy:6096e3}),o=[{Id:t,Type:i?D.ChartEx:D.Chart,Target:i?bh(n.chartExNumber):lh(n.chartNumber)}];e.append(a,{name:km(n.drawingName)}),await this._renderToZip(e,Am(n.drawingName),r,o)}}async addCharts(e,t,n=!1){let r=new Qg;for(let[i,a]of Object.entries(t.chartEntries||{})){if(kM(a))e.append(a.rawData,{name:rh(i)});else{let t=LM(a,n),r=XM(a,t);if(r)e.append(r,{name:rh(i)});else{if(t)throw new aa(BM(i,a.model));let n=DM(a,T().createChartSpaceXform());e.append(n,{name:rh(i)})}}t.chartStyles?.[i]&&e.append(t.chartStyles[i],{name:ah(i)}),t.chartColors?.[i]&&e.append(t.chartColors[i],{name:oh(i)});let o=[],s=t.chartRels?.[i],c=new Set;if(Array.isArray(s))for(let e of s)e.Type!==D.ChartStyle&&e.Type!==D.ChartColors&&(o.push(e),c.add(e.Id));let l=a.rels;if(Array.isArray(l))for(let e of l)!e?.Id||c.has(e.Id)||(o.push(e),c.add(e.Id));let u=1,d=()=>{let e=`rId${u++}`;for(;c.has(e);)e=`rId${u++}`;return c.add(e),e};if(t.chartStyles?.[i]&&o.push({Id:d(),Type:D.ChartStyle,Target:fh(i)}),t.chartColors?.[i]&&o.push({Id:d(),Type:D.ChartColors,Target:ph(i)}),a.userShapesXml){e.append(a.userShapesXml,{name:uh(i)});let t=dh(i),n=o.find(e=>e?.Type===D.ChartUserShapes);if(n)n.Target=t;else{let e=a.model.userShapesRelId??d();c.add(e),o.push({Id:e,Type:D.ChartUserShapes,Target:t})}}o.length>0&&await this._renderToZip(e,ih(i),r,o)}}async addChartExEntries(e,t,n=!1){let r=new Qg,i=t.chartExEntries||{},a=t.chartExStructuredEntries??{},o=new Set;for(let[s,c]of Object.entries(i)){let i=a[s];if(i&&!AM(i)){let t=RM(i,n),r=HM(i,t);if(r)e.append(r,{name:vh(s)});else{if(t)throw new aa(zM(s,i.model));let n=OM(T().renderChartEx(jM(i.model)),c?new TextDecoder().decode(c):i.model.rawXml);e.append(n,{name:vh(s)})}}else e.append(c,{name:vh(s)});o.add(s);let l=t.chartExRels?.[s],u=this._buildChartExRels(s,l,t);u.length>0&&await this._renderToZip(e,yh(s),r,u),this._appendChartExSidecars(e,t,s,i)}for(let[n,i]of Object.entries(a)){if(o.has(n))continue;let a=T().renderChartEx(i.model,{forceStructural:!0});e.append(a,{name:vh(n)}),this._appendChartExSidecars(e,t,n,i);let s=this._buildChartExRels(n,i.rels,t,i);s.length>0&&await this._renderToZip(e,yh(n),r,s)}}_appendChartExSidecars(e,t,n,r){r?.model.style?e.append(new TextEncoder().encode(T().buildChartStyle(r.model.style)),{name:sh(n)}):t.chartExStyles?.[n]&&e.append(t.chartExStyles[n],{name:sh(n)}),r?.model.colors?e.append(new TextEncoder().encode(T().buildChartColors(r.model.colors)),{name:ch(n)}):t.chartExColors?.[n]&&e.append(t.chartExColors[n],{name:ch(n)})}_buildChartExRels(e,t,n,r){let i=Array.isArray(t)?[...t]:[],a=new Set(i.map(e=>e.Id)),o=()=>{let e=1;for(;a.has(`rId${e}`);)e++;let t=`rId${e}`;return a.add(t),t},s=!!(n.chartExStyles?.[e]||r?.model.style),c=!!(n.chartExColors?.[e]||r?.model.colors);return s&&!i.some(e=>e.Type===D.ChartStyle)&&i.push({Id:o(),Type:D.ChartStyle,Target:mh(e)}),c&&!i.some(e=>e.Type===D.ChartColors)&&i.push({Id:o(),Type:D.ChartColors,Target:hh(e)}),i}async addTables(e,t){let n=new vM;for(let r of t.worksheets)for(let t of r.tables)n.prepare(t,{}),await this._renderToZip(e,Om(t.target),n,t)}async addExternalLinks(t,n){let r=n.externalLinks??[];if(r.length===0)return;let i=new PA,a=new Qg;for(let n of r)await this._renderToZip(t,Rm(n.index),i,n),await this._renderToZip(t,zm(n.index),a,[{Id:`rId1`,Type:e.RelType.ExternalLinkPath,Target:n.target,TargetMode:n.targetMode??`External`}])}async addPivotTables(t,n){if(!n.pivotTables.length)return;let r=new _j,i=new pj,a=new Aj,o=new Qg,s=new Map;for(let c of n.pivotTables){let n=c.tableNumber,l=c.isLoaded,u=c.cacheId;if(!s.has(u)&&(s.set(u,n),l?(c.cacheDefinition&&await this._renderToZip(t,jm(n),i,c.cacheDefinition),c.cacheRecords&&await this._renderToZip(t,Nm(n),r,c.cacheRecords)):(await this._renderToZip(t,Nm(n),r,c),await this._renderToZip(t,jm(n),i,c)),!l||c.cacheRecords)){let r=(l?c.cacheDefinition?.rId:void 0)??`rId1`;await this._renderToZip(t,Mm(n),o,[{Id:r,Type:e.RelType.PivotCacheRecords,Target:Pm(n)}])}await this._renderToZip(t,Fm(n),a,c);let d=s.get(u);await this._renderToZip(t,Lm(n),o,[{Id:`rId1`,Type:e.RelType.PivotCacheDefinition,Target:Vm(d)}])}}_finalize(e){return new Promise((t,n)=>{e.on(`finish`,()=>{t(this)}),e.on(`error`,n),e.finalize()})}prepareModel(e,t){e.creator=e.creator??`ExcelTS`,e.lastModifiedBy=e.lastModifiedBy??`ExcelTS`,e.created=e.created??new Date,e.modified=e.modified??new Date,e.useSharedStrings=t.useSharedStrings===void 0?!0:t.useSharedStrings,e.useStyles=t.useStyles===void 0?!0:t.useStyles,e.sharedStrings=new pw;let n=e.defaultFont;e.styles=e.useStyles?new B_(!0):new B_.Mock,n&&e.styles.setDefaultFont&&e.styles.setDefaultFont(n);let r=new Hg,i=new iM;r.prepare(e),this._normaliseExternalLinks(e);let a={sharedStrings:e.sharedStrings,styles:e.styles,date1904:e.properties?.date1904,drawingsCount:0,media:e.media};a.drawings=e.drawings=[],a.commentRefs=e.commentRefs=[],a.formControlRefs=e.formControlRefs=[],e.threadedCommentSheetIds=[],e.hasPersons=(e.persons?.length??0)>0,e.slicerPartPaths=Object.keys(e.slicerParts??{}).filter(e=>!e.includes(`/_rels/`)),e.slicerCachePartPaths=Object.keys(e.slicerCacheParts??{}).filter(e=>!e.includes(`/_rels/`)),e.timelinePartPaths=Object.keys(e.timelineParts??{}).filter(e=>!e.includes(`/_rels/`)),e.timelineCachePartPaths=Object.keys(e.timelineCacheParts??{}).filter(e=>!e.includes(`/_rels/`)),e.hasHeaderWatermark=!1;let o=0;e.tables=[];let s=new Map;e.worksheets.forEach((t,n)=>{t.fileIndex=n+1,t.tables.forEach(n=>{let r=n.name.toLowerCase(),i=s.get(r);if(i!==void 0)throw new oa(`Duplicate table name "${n.name}": already used in worksheet "${i}". Table names must be unique across the entire workbook (case-insensitive).`);s.set(r,t.name),o++,n.target=`table${o}.xml`,n.id=o,e.tables.push(n)}),i.prepare(t,a),t.threadedComments&&t.threadedComments.length>0&&e.threadedCommentSheetIds.push(t.fileIndex)}),e.hasCheckboxes=e.styles.hasCheckboxes;let c=0;e.worksheets.forEach(e=>{(e.rows??[]).forEach(e=>{(e.cells??[]).forEach(e=>{e.isDynamicArray&&c++})})}),e.hasDynamicArrayFormulas=c>0,e.dynamicArrayCount=c,a.hasHeaderWatermark&&(e.hasHeaderWatermark=!0)}prepareChartExSidecars(e){let t=e.chartExStructuredEntries??{};for(let[n,r]of Object.entries(t)){let t=parseInt(n,10);Number.isFinite(t)&&e.definedNamesInstance&&typeof e.definedNamesInstance.addHidden==`function`&&(T().rewriteChartExDataRefsToDefinedNames(r.model,t,(t,n)=>{e.definedNamesInstance.addHidden(n,t)}),e.definedNames=e.definedNamesInstance.model),r.model.style&&!e.chartExStyles?.[n]&&(e.chartExStyles??={},e.chartExStyles[n]=new TextEncoder().encode(T().buildChartStyle(r.model.style))),r.model.colors&&!e.chartExColors?.[n]&&(e.chartExColors??={},e.chartExColors[n]=new TextEncoder().encode(T().buildChartColors(r.model.colors)))}}prepareChartsheets(e){if(!e.chartsheets||e.chartsheets.length===0)return;let t=new Set;for(let n of e.drawings??[]){let e=/^drawing(\d+)$/.exec(n.name??``);e&&t.add(parseInt(e[1],10))}for(let n of e.chartsheets){let e=/^drawing(\d+)$/.exec(n.drawingName??``);e&&t.add(parseInt(e[1],10))}let n=()=>{let e=1;for(;t.has(e);)e++;return t.add(e),`drawing${e}`};for(let t of e.chartsheets)t.drawingName||=n(),t.drawing||={rId:`rId1`},e.drawings.some(e=>e.name===t.drawingName)||e.drawings.push({name:t.drawingName});if(e.vmlDrawings){for(let t of e.chartsheets)if(Array.isArray(t.relationships)&&t.relationships.some(t=>t?.Type===D.VmlDrawing&&typeof t.Target==`string`&&e.vmlDrawings[Sh(`xl/chartsheets/`,t.Target)]!==void 0)){e.hasChartsheetVml=!0;break}}}}}));function WP(e){if(!KP)throw Error("No formula engine is installed. Call `installFormulaEngine()` from `@cj-tech-master/excelts/formula` once at startup to enable `Workbook.calculateFormulas()` and automatic recalculation during `excelToPdf()`.");KP(e)}function GP(e){return KP?(KP(e),!0):!1}var KP,qP=t((()=>{KP=null})),JP,YP,XP,ZP,QP,$P=t((()=>{JP=/\r\n|\r|\n/,YP=/\r\n|[|\\\r\n]/g,XP=/\\([|\\])/g,ZP=/<br\s*\/?>/gi,QP=/\r\n|\r|\n/g}));function eF(e){let t=0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=55296&&r<=56319&&n+1<e.length){let r=e.charCodeAt(n+1);if(r>=56320&&r<=57343){t+=2,n++;continue}}if(!(r===8203||r===8204||r===8205||r===65279)&&!(r>=768&&r<=879||r>=6832&&r<=6911||r>=7616&&r<=7679||r>=8400&&r<=8447||r>=65056&&r<=65071)){if(r>=4352&&r<=4447||r>=11904&&r<=12350||r>=12352&&r<=13247||r>=13312&&r<=19903||r>=19968&&r<=42191||r>=43360&&r<=43391||r>=44032&&r<=55215||r>=63744&&r<=64255||r>=65040&&r<=65049||r>=65072&&r<=65135||r>=65281&&r<=65376||r>=65504&&r<=65510){t+=2;continue}t+=1}}return t}function tF(e){if(e==null)return``;if(e instanceof Date)return e.toISOString();if(typeof e==`object`)try{return JSON.stringify(e)}catch{return`[object Object]`}return String(e)}function nF(e){return e.replace(YP,e=>e===`|`||e===`\\`?`\\`+e:`<br>`)}function rF(e){return e.indexOf(`
435
- `)!==-1||e.indexOf(`\r`)!==-1?e.replace(QP,`<br>`):e}function iF(e,t){switch(e){case`left`:return`:`+`-`.repeat(t-1);case`right`:return`-`.repeat(t-1)+`:`;case`center`:return`:`+`-`.repeat(Math.max(t-2,1))+`:`;default:return`-`.repeat(t)}}function aF(e,t,n){let r=eF(e);if(r>=t)return e;let i=t-r;switch(n){case`right`:return` `.repeat(i)+e;case`center`:{let t=Math.floor(i/2),n=i-t;return` `.repeat(t)+e+` `.repeat(n)}default:return e+` `.repeat(i)}}function oF(e,t){let n=e.length,r=t.alignment??`left`,i=Array(n),a=Array(n),o=Array(n);if(t.columns&&t.columns.length>0)for(let s=0;s<n;s++){let n=s<t.columns.length?t.columns[s]:void 0;typeof n==`string`?(i[s]=n,a[s]=r,o[s]=3):n?(i[s]=n.header,a[s]=n.alignment??r,o[s]=n.minWidth??3):(i[s]=e[s]??``,a[s]=r,o[s]=3)}else for(let t=0;t<n;t++)i[t]=e[t]??``,a[t]=r,o[t]=3;return{displayHeaders:i,alignments:a,minWidths:o}}function sF(e,t,n={}){let{padding:r=!0,trailingNewline:i=!0,escapeContent:a=!0,stringify:o=tF}=n,s=e.length;if(s===0)return``;let{displayHeaders:c,alignments:l,minWidths:u}=oF(e,n),d=Array(s),f=Array(s);for(let e=0;e<s;e++){let t=a?nF(c[e]):rF(c[e]);d[e]=t,f[e]=r?Math.max(eF(t),u[e]):Math.max(u[e],3)}let p=Array(t.length);for(let e=0;e<t.length;e++){let n=t[e],i=Array(s);for(let e=0;e<s;e++){let t=e<n.length?o(n[e]):``,s=a?nF(t):rF(t);if(i[e]=s,r){let t=eF(s);t>f[e]&&(f[e]=t)}}p[e]=i}let m=2+p.length,h=Array(m),g=Array(s);for(let e=0;e<s;e++)g[e]=r?` `+aF(d[e],f[e],l[e])+` `:` `+d[e]+` `;h[0]=`|`+g.join(`|`)+`|`;let _=Array(s);for(let e=0;e<s;e++)_[e]=iF(l[e],f[e]+2);h[1]=`|`+_.join(`|`)+`|`;for(let e=0;e<p.length;e++){let t=Array(s);for(let n=0;n<s;n++)t[n]=r?` `+aF(p[e][n],f[n],l[n])+` `:` `+p[e][n]+` `;h[e+2]=`|`+t.join(`|`)+`|`}let v=h.join(`
429
+ </r>`)}return n.join(``)}renderCellNew(e,t){if(e==null||typeof e==`number`&&!Number.isFinite(e)){if(t===null)return`<m />`;let e=t.indexOf(null);return e>=0?`<x v="${e}" />`:`<m />`}if(t===null)return e instanceof qw?`<e v="${qd(e.code)}" />`:typeof e==`boolean`?`<b v="${e?`1`:`0`}" />`:e instanceof Date?`<d v="${nj(e)}" />`:Number.isFinite(e)?`<n v="${e}" />`:`<s v="${qd(String(e))}" />`;let n=vj(t,e);if(n<0)throw new ia(`${JSON.stringify(e)} not in sharedItems ${JSON.stringify(t)}`);return`<x v="${n}" />`}parseOpen(e){let{name:t,attributes:n}=e;switch(t){case this.tag:{this.reset();let e={};for(let[t,r]of Object.entries(n))yj.has(t)||(e[t]=String(r));this.model={records:[],count:parseInt(n.count??`0`,10),isLoaded:!0,extraRootAttrs:Object.keys(e).length>0?e:void 0};break}case`r`:this.currentRecord=[];break;case`x`:this.currentRecord&&this.currentRecord.push({type:`x`,value:parseInt(n.v??`0`,10)});break;case`n`:this.currentRecord&&(n.v===void 0||n.v===``?this.currentRecord.push({type:`m`}):this.currentRecord.push({type:`n`,value:parseFloat(n.v)}));break;case`s`:this.currentRecord&&this.currentRecord.push({type:`s`,value:n.v??``});break;case`b`:this.currentRecord&&this.currentRecord.push({type:`b`,value:n.v===`1`});break;case`m`:this.currentRecord&&this.currentRecord.push({type:`m`});break;case`d`:if(this.currentRecord)if(!n.v)this.currentRecord.push({type:`m`});else{let e=df(n.v);isNaN(e.getTime())?this.currentRecord.push({type:`m`}):this.currentRecord.push({type:`d`,value:e})}break;case`e`:this.currentRecord&&this.currentRecord.push({type:`e`,value:n.v??``});break}return!0}parseText(e){}parseClose(e){switch(e){case this.tag:return!1;case`r`:this.model&&this.currentRecord&&(this.model.records.push(this.currentRecord),this.currentRecord=null);break}return!0}static{this.PIVOT_CACHE_RECORDS_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"mc:Ignorable":`xr`,"xmlns:xr":`http://schemas.microsoft.com/office/spreadsheetml/2014/revision`}}}}));function Sj(){return{currentSection:null,inPivotArea:!1,inAutoSortScope:!1}}function Cj(e){return{t:e.t,r:e.r===void 0?void 0:parseInt(e.r,10),i:e.i===void 0?void 0:parseInt(e.i,10),x:[]}}function wj(e,t,n,r){e.openNode(`dataFields`,{count:n.length});for(let i=0;i<n.length;i++){let a=n[i],o=r[i]??`sum`,s=Jw[o],c=t[a];if(!c)throw Error(`Value field index ${a} is out of bounds (cacheFields has ${t.length} entries)`);let l={name:`${s} of ${c.name}`,fld:a,baseField:0,baseItem:0};o!==`sum`&&(l.subtotal=o),e.leafNode(`dataField`,l)}e.closeNode()}function Tj(e,t){let n=new Set(t.rows),r=new Set(t.columns),i=new Set(t.values),a=new Set(t.pages??[]);e.openNode(`pivotFields`,{count:t.cacheFields.length});for(let o=0;o<t.cacheFields.length;o++){let s=t.cacheFields[o];Ej(e,n.has(o),r.has(o),i.has(o),a.has(o),s.sharedItems)}e.closeNode()}function Ej(e,t,n,r,i,a){if(t||n||i){if(!a)throw Error(`sharedItems is required for axis field (row/column/page)`);let i={axis:t?`axisRow`:n?`axisCol`:`axisPage`};r&&(i.dataField=`1`),i.compact=`0`,i.outline=`0`,i.showAll=`0`,e.openNode(`pivotField`,i),e.openNode(`items`,{count:a.length+1});for(let t=0;t<a.length;t++)e.leafNode(`item`,{x:t});e.leafNode(`item`,{t:`default`}),e.closeNode(),e.closeNode();return}let o={};r&&(o.dataField=`1`),o.compact=`0`,o.outline=`0`,o.showAll=`0`,o.defaultSubtotal=`0`,e.leafNode(`pivotField`,o)}var Dj,Oj,kj,Aj,jj,Mj,Nj,Pj=t((()=>{Qw(),da(),j(),uj(),ag(),Dj=4294967294,Oj=-2,kj=`PivotStyleLight16`,Aj=new Set([`axisRow`,`axisCol`,`axisPage`,`axisValues`]),jj=[`x`,`t`,`h`,`sd`,`f`,`m`,`c`,`d`],Mj=new Set([`axis`,`dataField`,`compact`,`outline`,`showAll`,`defaultSubtotal`,`numFmtId`,`sortType`,`subtotalTop`,`insertBlankRow`,`multipleItemSelectionAllowed`]),Nj=class e extends A{constructor(){super(),this.state=Sj(),this.currentPivotField=null,this.currentRowItem=null,this.currentColItem=null,this.currentChartFormat=null,this.pivotAreaXmlBuffer=[],this.autoSortScopeXmlBuffer=[],this.extLstCollector=new lj(`extLst`),this.formatsCollector=new lj(`formats`),this.conditionalFormatsCollector=new lj(`conditionalFormats`),this.filtersCollector=new lj(`filters`),this.unknownCollector=new lj(``),this.unknownElementsXmlParts=[],this.model=null}get tag(){return`pivotTableDefinition`}reset(){this.model=null,this.state=Sj(),this.currentPivotField=null,this.currentRowItem=null,this.currentColItem=null,this.currentChartFormat=null,this.pivotAreaXmlBuffer=[],this.autoSortScopeXmlBuffer=[],this.extLstCollector.reset(),this.formatsCollector.reset(),this.conditionalFormatsCollector.reset(),this.filtersCollector.reset(),this.unknownCollector.reset(),this.unknownElementsXmlParts=[]}render(e,t){`isLoaded`in t&&t.isLoaded?this.renderLoaded(e,t):this.renderNew(e,t)}renderNew(t,n){let{rows:r,columns:i,values:a,pages:o=[],cacheFields:s,cacheId:c,tableNumber:l,applyWidthHeightFormats:u}=n,d=i.length===0&&a.length>1,f=o.length,p=f>0?f+1:0,m=r.length,h=m+(d?a.length:1),g,_;if(n.ref){let e=E.decodeAddress(n.ref);if(!e.col||!e.row)throw Error(`Pivot table ref "${n.ref}" must include both column and row (e.g. "A3").`);g=e.row+p,_=e.col}else g=3+p,_=1;let v=g+1,y=_+h-1,b=E.n2l(_),x=E.n2l(y),S=`${b}${g}:${x}${v}`;t.openXml(of),t.openNode(this.tag,{...e.PIVOT_TABLE_ATTRIBUTES,name:n.name??`PivotTable${l}`,cacheId:c,applyNumberFormats:`0`,applyBorderFormats:`0`,applyFontFormats:`0`,applyPatternFormats:`0`,applyAlignmentFormats:`0`,applyWidthHeightFormats:u,dataCaption:`Values`,updatedVersion:`8`,minRefreshableVersion:`3`,useAutoFormatting:`1`,itemPrintTitles:`1`,createdVersion:`8`,indent:`0`,compact:`0`,compactData:`0`,multipleFieldFilters:`0`,chartFormat:n.chartFormat===void 0?void 0:String(n.chartFormat)});let ee={ref:S,firstHeaderRow:1,firstDataRow:1,firstDataCol:m};f>0&&(ee.rowPageCount=f,ee.colPageCount=1),t.leafNode(`location`,ee),Tj(t,n),t.openNode(`rowFields`,{count:r.length});for(let e of r)t.leafNode(`field`,{x:e});if(t.closeNode(),t.openNode(`rowItems`,{count:1}),t.openNode(`i`,{t:`grand`}),t.leafNode(`x`),t.closeNode(),t.closeNode(),i.length>0){let e=a.length>1?i.length+1:i.length;t.openNode(`colFields`,{count:e});for(let e of i)t.leafNode(`field`,{x:e});a.length>1&&t.leafNode(`field`,{x:Oj}),t.closeNode()}else d&&(t.openNode(`colFields`,{count:1}),t.leafNode(`field`,{x:Oj}),t.closeNode());if(d){t.openNode(`colItems`,{count:a.length+1});for(let e=0;e<a.length;e++)t.openNode(`i`),t.leafNode(`x`,e===0?void 0:{v:e}),t.closeNode();t.openNode(`i`,{t:`grand`}),t.leafNode(`x`),t.closeNode(),t.closeNode()}else t.openNode(`colItems`,{count:1}),t.leafNode(`i`),t.closeNode();if(f>0){t.openNode(`pageFields`,{count:f});for(let e of o)t.leafNode(`pageField`,{fld:e,hier:-1});t.closeNode()}wj(t,s,a,n.valueMetrics),n.chartFormats&&n.chartFormats.length>0&&this.renderChartFormats(t,n.chartFormats),t.leafNode(`pivotTableStyleInfo`,{name:kj,showRowHeaders:`1`,showColHeaders:`1`,showRowStripes:`0`,showColStripes:`0`,showLastColumn:`1`}),t.writeRaw(e.EXTLST_XML),t.closeNode()}renderLoaded(t,n){let r=this.buildLoadedRootAttributes(n);if(t.openXml(of),t.openNode(this.tag,r),n.location){let e={ref:n.location.ref,firstHeaderRow:n.location.firstHeaderRow,firstDataRow:n.location.firstDataRow,firstDataCol:n.location.firstDataCol};n.location.rowPageCount!==void 0&&(e.rowPageCount=n.location.rowPageCount),n.location.colPageCount!==void 0&&(e.colPageCount=n.location.colPageCount),t.leafNode(`location`,e)}if(n.pivotFields.length>0){t.openNode(`pivotFields`,{count:n.pivotFields.length});for(let e of n.pivotFields)this.renderPivotFieldLoaded(t,e);t.closeNode()}if(n.rowFields.length>0){t.openNode(`rowFields`,{count:n.rowFields.length});for(let e of n.rowFields)t.leafNode(`field`,{x:e});t.closeNode()}if(n.rowItems&&n.rowItems.length>0){t.openNode(`rowItems`,{count:n.rowItems.length});for(let e of n.rowItems)this.renderRowColItem(t,e);t.closeNode()}else n.hasRowItems&&t.writeRaw(`<rowItems count="1"><i t="grand"><x/></i></rowItems>`);if(n.hasColFields||n.colFields.length>0)if(n.colFields.length===0&&n.dataFields.length<=1)t.leafNode(`colFields`,{count:0});else{let e=n.colFields.length===0?1:n.colFields.length;if(t.openNode(`colFields`,{count:e}),n.colFields.length===0)t.leafNode(`field`,{x:Oj});else for(let e of n.colFields)t.leafNode(`field`,{x:e});t.closeNode()}if(n.colItems&&n.colItems.length>0){t.openNode(`colItems`,{count:n.colItems.length});for(let e of n.colItems)this.renderRowColItem(t,e);t.closeNode()}else n.hasColItems&&t.writeRaw(`<colItems count="1"><i t="grand"><x/></i></colItems>`);if(n.pageFields&&n.pageFields.length>0){t.openNode(`pageFields`,{count:n.pageFields.length});for(let e of n.pageFields){let n={fld:e.fld};e.item!==void 0&&(n.item=e.item),e.hier!==void 0&&(n.hier=e.hier),e.name!==void 0&&(n.name=e.name),t.leafNode(`pageField`,n)}t.closeNode()}if(n.dataFields.length>0){t.openNode(`dataFields`,{count:n.dataFields.length});for(let e of n.dataFields){let n={name:e.name,fld:e.fld};e.baseField!==void 0&&(n.baseField=e.baseField),e.baseItem!==void 0&&(n.baseItem=e.baseItem),e.subtotal!==void 0&&e.subtotal!==`sum`&&(n.subtotal=e.subtotal),e.numFmtId!==void 0&&(n.numFmtId=e.numFmtId),t.leafNode(`dataField`,n)}t.closeNode()}n.formatsXml&&t.writeRaw(n.formatsXml),n.conditionalFormatsXml&&t.writeRaw(n.conditionalFormatsXml),n.chartFormats&&n.chartFormats.length>0&&this.renderChartFormats(t,n.chartFormats);let i=n.styleInfo;t.leafNode(`pivotTableStyleInfo`,{name:i?.name??n.styleName??kj,showRowHeaders:i?.showRowHeaders??`1`,showColHeaders:i?.showColHeaders??`1`,showRowStripes:i?.showRowStripes??`0`,showColStripes:i?.showColStripes??`0`,showLastColumn:i?.showLastColumn??`1`}),n.filtersXml&&t.writeRaw(n.filtersXml),n.unknownElementsXml&&t.writeRaw(n.unknownElementsXml);let a=n.extLstXml??(n.isLoaded?``:e.EXTLST_XML);a&&t.writeRaw(a),t.closeNode()}buildLoadedRootAttributes(t){let n={...e.PIVOT_TABLE_ATTRIBUTES,name:t.name??`PivotTable1`,cacheId:String(t.cacheId),applyNumberFormats:t.applyNumberFormats??`0`,applyBorderFormats:t.applyBorderFormats??`0`,applyFontFormats:t.applyFontFormats??`0`,applyPatternFormats:t.applyPatternFormats??`0`,applyAlignmentFormats:t.applyAlignmentFormats??`0`,applyWidthHeightFormats:t.applyWidthHeightFormats??`0`,dataCaption:t.dataCaption??`Values`,updatedVersion:t.updatedVersion??`8`,minRefreshableVersion:t.minRefreshableVersion??`3`};return t.useAutoFormatting!==void 0&&(n.useAutoFormatting=t.useAutoFormatting),t.itemPrintTitles!==void 0&&(n.itemPrintTitles=t.itemPrintTitles),t.multipleFieldFilters!==void 0&&(n.multipleFieldFilters=t.multipleFieldFilters),n.createdVersion=t.createdVersion??`8`,t.indent!==void 0&&(n.indent=String(t.indent)),t.uid&&(n[`xmlns:xr`]=`http://schemas.microsoft.com/office/spreadsheetml/2014/revision`,n[`xr:uid`]=t.uid),t.outline&&(n.outline=`1`),t.outlineData&&(n.outlineData=`1`),t.chartFormat!==void 0&&(n.chartFormat=String(t.chartFormat)),t.colGrandTotals!==void 0&&(n.colGrandTotals=t.colGrandTotals),t.rowGrandTotals!==void 0&&(n.rowGrandTotals=t.rowGrandTotals),t.showError!==void 0&&(n.showError=t.showError),t.errorCaption!==void 0&&(n.errorCaption=t.errorCaption),t.showMissing!==void 0&&(n.showMissing=t.showMissing),t.missingCaption!==void 0&&(n.missingCaption=t.missingCaption),t.grandTotalCaption!==void 0&&(n.grandTotalCaption=t.grandTotalCaption),t.compact===!1&&(n.compact=`0`),t.compactData===!1&&(n.compactData=`0`),n}renderChartFormats(e,t){e.openNode(`chartFormats`,{count:t.length});for(let n of t)e.openNode(`chartFormat`,{chart:n.chart,format:n.format,series:n.series===!0?`1`:n.series===!1?`0`:void 0}),n.pivotAreaXml?e.writeRaw(n.pivotAreaXml):e.writeRaw(`<pivotArea type="data" outline="0" fieldPosition="0"><references count="1"><reference field="${Dj}" count="1" selected="0"><x v="0"/></reference></references></pivotArea>`),e.closeNode();e.closeNode()}renderRowColItem(e,t){let n={};if(t.t!==void 0&&(n.t=t.t),t.r!==void 0&&(n.r=t.r),t.i!==void 0&&(n.i=t.i),t.x.length>0){e.openNode(`i`,n);for(let n of t.x)n.v===0?e.leafNode(`x`):e.leafNode(`x`,{v:n.v});e.closeNode()}else e.leafNode(`i`,n)}renderPivotFieldLoaded(e,t){let n={};if(t.axis&&(n.axis=t.axis),t.dataField&&(n.dataField=`1`),t.numFmtId!==void 0&&(n.numFmtId=String(t.numFmtId)),t.sortType&&(n.sortType=t.sortType),t.compact===!1&&(n.compact=`0`),t.outline===!1&&(n.outline=`0`),n.showAll=t.showAll?`1`:`0`,t.defaultSubtotal===!1&&(n.defaultSubtotal=`0`),t.subtotalTop===!1&&(n.subtotalTop=`0`),t.insertBlankRow===!0&&(n.insertBlankRow=`1`),t.multipleItemSelectionAllowed===!0&&(n.multipleItemSelectionAllowed=`1`),t.extraAttrs)for(let[e,r]of Object.entries(t.extraAttrs))n[e]=r;if(t.items!==void 0&&t.items.length>0||t.autoSortScopeXml!==void 0){if(e.openNode(`pivotField`,n),t.items!==void 0&&t.items.length>0){e.openNode(`items`,{count:t.items.length});for(let n of t.items){let t={};for(let e of jj)n[e]!==void 0&&(t[e]=n[e]);e.leafNode(`item`,t)}e.closeNode()}t.autoSortScopeXml&&e.writeRaw(t.autoSortScopeXml),e.closeNode()}else e.leafNode(`pivotField`,n)}parseOpen(e){let{name:t,attributes:n}=e;if(this.extLstCollector.active)return this.extLstCollector.feedOpen(t,n),!0;if(this.formatsCollector.active)return this.formatsCollector.feedOpen(t,n),!0;if(this.conditionalFormatsCollector.active)return this.conditionalFormatsCollector.feedOpen(t,n),!0;if(this.filtersCollector.active)return this.filtersCollector.feedOpen(t,n),!0;if(this.unknownCollector.active)return this.unknownCollector.feedOpen(t,n),!0;switch(t){case this.tag:this.reset(),this.model={name:n.name,cacheId:parseInt(n.cacheId??`0`,10),uid:n[`xr:uid`],pivotFields:[],rowFields:[],colFields:[],pageFields:[],dataFields:[],applyNumberFormats:n.applyNumberFormats,applyBorderFormats:n.applyBorderFormats,applyFontFormats:n.applyFontFormats,applyPatternFormats:n.applyPatternFormats,applyAlignmentFormats:n.applyAlignmentFormats,applyWidthHeightFormats:n.applyWidthHeightFormats,dataCaption:n.dataCaption,updatedVersion:n.updatedVersion,minRefreshableVersion:n.minRefreshableVersion,createdVersion:n.createdVersion,useAutoFormatting:n.useAutoFormatting,itemPrintTitles:n.itemPrintTitles,indent:n.indent===void 0?void 0:parseInt(n.indent,10),compact:n.compact!==`0`,compactData:n.compactData!==`0`,multipleFieldFilters:n.multipleFieldFilters,outline:n.outline===`1`,outlineData:n.outlineData===`1`,chartFormat:n.chartFormat===void 0?void 0:parseInt(n.chartFormat,10),colGrandTotals:n.colGrandTotals,rowGrandTotals:n.rowGrandTotals,showError:n.showError,errorCaption:n.errorCaption,showMissing:n.showMissing,missingCaption:n.missingCaption,grandTotalCaption:n.grandTotalCaption,rowItems:[],colItems:[],chartFormats:[],isLoaded:!0};break;case`location`:this.model&&(this.model.location={ref:n.ref,firstHeaderRow:n.firstHeaderRow===void 0?void 0:parseInt(n.firstHeaderRow,10),firstDataRow:n.firstDataRow===void 0?void 0:parseInt(n.firstDataRow,10),firstDataCol:n.firstDataCol===void 0?void 0:parseInt(n.firstDataCol,10),rowPageCount:n.rowPageCount===void 0?void 0:parseInt(n.rowPageCount,10),colPageCount:n.colPageCount===void 0?void 0:parseInt(n.colPageCount,10)});break;case`pivotFields`:this.state.currentSection=`pivotFields`;break;case`pivotField`:if(this.state.currentSection===`pivotFields`){let e={};for(let[t,r]of Object.entries(n))Mj.has(t)||(e[t]=String(r));this.currentPivotField={axis:Aj.has(n.axis)?n.axis:void 0,dataField:n.dataField===`1`,items:[],compact:n.compact!==`0`,outline:n.outline!==`0`,showAll:n.showAll!==`0`,defaultSubtotal:n.defaultSubtotal!==`0`,numFmtId:n.numFmtId===void 0?void 0:parseInt(n.numFmtId,10),sortType:n.sortType,subtotalTop:n.subtotalTop===void 0?void 0:n.subtotalTop===`1`,insertBlankRow:n.insertBlankRow===`1`?!0:void 0,multipleItemSelectionAllowed:n.multipleItemSelectionAllowed===`1`?!0:void 0,extraAttrs:Object.keys(e).length>0?e:void 0}}break;case`items`:break;case`item`:if(this.currentPivotField){let e={};n.x!==void 0&&(e.x=parseInt(n.x,10));for(let t of jj)t!==`x`&&n[t]!==void 0&&(e[t]=n[t]);this.currentPivotField.items.push(e)}break;case`autoSortScope`:this.currentPivotField&&(this.state.inAutoSortScope=!0,this.autoSortScopeXmlBuffer=[`<autoSortScope>`]);break;case`rowFields`:this.state.currentSection=`rowFields`;break;case`colFields`:this.state.currentSection=`colFields`,this.model&&(this.model.hasColFields=!0);break;case`dataFields`:this.state.currentSection=`dataFields`;break;case`pageFields`:this.state.currentSection=`pageFields`;break;case`pageField`:this.state.currentSection===`pageFields`&&this.model&&this.model.pageFields.push({fld:parseInt(n.fld??`0`,10),item:n.item===void 0?void 0:parseInt(n.item,10),hier:n.hier===void 0?void 0:parseInt(n.hier,10),name:n.name});break;case`rowItems`:this.state.currentSection=`rowItems`,this.model&&(this.model.hasRowItems=!0);break;case`colItems`:this.state.currentSection=`colItems`,this.model&&(this.model.hasColItems=!0);break;case`i`:if(this.model){let e=this.state.currentSection===`rowItems`||this.state.currentSection===`colItems`?Cj(n):null;this.state.currentSection===`rowItems`?this.currentRowItem=e:this.state.currentSection===`colItems`&&(this.currentColItem=e)}break;case`x`:if(this.state.inPivotArea){let e=cj(n);this.state.inAutoSortScope?this.autoSortScopeXmlBuffer.push(e?`<x ${e}/>`:`<x/>`):this.pivotAreaXmlBuffer.push(e?`<x ${e}/>`:`<x/>`)}else this.currentRowItem?this.currentRowItem.x.push({v:parseInt(n.v??`0`,10)}):this.currentColItem&&this.currentColItem.x.push({v:parseInt(n.v??`0`,10)});break;case`chartFormats`:this.state.currentSection=`chartFormats`;break;case`chartFormat`:this.state.currentSection===`chartFormats`&&this.model&&(this.currentChartFormat={chart:parseInt(n.chart??`0`,10),format:parseInt(n.format??`0`,10),series:n.series===void 0?void 0:n.series===`1`});break;case`pivotArea`:if(this.currentChartFormat){this.state.inPivotArea=!0;let e=cj(n);this.pivotAreaXmlBuffer=[e?`<pivotArea ${e}>`:`<pivotArea>`]}else if(this.state.inAutoSortScope){this.state.inPivotArea=!0;let e=cj(n);this.autoSortScopeXmlBuffer.push(e?`<pivotArea ${e}>`:`<pivotArea>`)}break;case`references`:case`reference`:if(this.state.inPivotArea){let e=cj(n);this.state.inAutoSortScope?this.autoSortScopeXmlBuffer.push(`<${t}${e?` `+e:``}>`):this.pivotAreaXmlBuffer.push(`<${t}${e?` `+e:``}>`)}break;case`field`:if(this.model){let e=parseInt(n.x??`0`,10);this.state.currentSection===`rowFields`?this.model.rowFields.push(e):this.state.currentSection===`colFields`&&this.model.colFields.push(e)}break;case`dataField`:this.state.currentSection===`dataFields`&&this.model&&this.model.dataFields.push({name:n.name??``,fld:parseInt(n.fld??`0`,10),baseField:n.baseField===void 0?void 0:parseInt(n.baseField,10),baseItem:n.baseItem===void 0?void 0:parseInt(n.baseItem,10),subtotal:Yw.has(n.subtotal)?n.subtotal:void 0,numFmtId:n.numFmtId===void 0?void 0:parseInt(n.numFmtId,10)});break;case`pivotTableStyleInfo`:this.model&&(this.model.styleName=n.name,this.model.styleInfo={name:n.name,showRowHeaders:n.showRowHeaders,showColHeaders:n.showColHeaders,showRowStripes:n.showRowStripes,showColStripes:n.showColStripes,showLastColumn:n.showLastColumn});break;case`extLst`:this.model&&this.extLstCollector.start(n);break;case`formats`:this.model&&this.formatsCollector.start(n);break;case`conditionalFormats`:this.model&&this.conditionalFormatsCollector.start(n);break;case`filters`:this.model&&this.filtersCollector.start(n);break;default:this.model&&this.state.currentSection===null&&!this.state.inPivotArea&&!this.state.inAutoSortScope&&this.unknownCollector.startAs(t,n);break}return!0}parseText(e){this.extLstCollector.active?this.extLstCollector.feedText(e):this.formatsCollector.active?this.formatsCollector.feedText(e):this.conditionalFormatsCollector.active?this.conditionalFormatsCollector.feedText(e):this.filtersCollector.active?this.filtersCollector.feedText(e):this.unknownCollector.active&&this.unknownCollector.feedText(e)}tryCloseCollector(e,t,n){e.feedClose(t)&&(this.model&&(this.model[n]=e.result),e.reset())}parseClose(e){if(this.extLstCollector.active)return this.tryCloseCollector(this.extLstCollector,e,`extLstXml`),!0;if(this.formatsCollector.active)return this.tryCloseCollector(this.formatsCollector,e,`formatsXml`),!0;if(this.conditionalFormatsCollector.active)return this.tryCloseCollector(this.conditionalFormatsCollector,e,`conditionalFormatsXml`),!0;if(this.filtersCollector.active)return this.tryCloseCollector(this.filtersCollector,e,`filtersXml`),!0;if(this.unknownCollector.active)return this.unknownCollector.feedClose(e)&&(this.unknownElementsXmlParts.push(this.unknownCollector.result),this.unknownCollector.reset()),!0;if(this.state.inPivotArea)return e===`pivotArea`?(this.state.inAutoSortScope?this.autoSortScopeXmlBuffer.push(`</pivotArea>`):(this.pivotAreaXmlBuffer.push(`</pivotArea>`),this.currentChartFormat&&(this.currentChartFormat.pivotAreaXml=this.pivotAreaXmlBuffer.join(``)),this.pivotAreaXmlBuffer=[]),this.state.inPivotArea=!1,!0):((e===`references`||e===`reference`)&&(this.state.inAutoSortScope?this.autoSortScopeXmlBuffer.push(`</${e}>`):this.pivotAreaXmlBuffer.push(`</${e}>`)),!0);switch(e){case this.tag:return this.model&&this.unknownElementsXmlParts.length>0&&(this.model.unknownElementsXml=this.unknownElementsXmlParts.join(``)),!1;case`pivotFields`:case`rowFields`:case`colFields`:case`dataFields`:case`pageFields`:case`rowItems`:case`colItems`:case`chartFormats`:this.state.currentSection=null;break;case`pivotField`:this.currentPivotField&&this.model&&(this.model.pivotFields.push(this.currentPivotField),this.currentPivotField=null);break;case`items`:break;case`autoSortScope`:this.state.inAutoSortScope&&this.currentPivotField&&(this.autoSortScopeXmlBuffer.push(`</autoSortScope>`),this.currentPivotField.autoSortScopeXml=this.autoSortScopeXmlBuffer.join(``),this.autoSortScopeXmlBuffer=[],this.state.inAutoSortScope=!1);break;case`i`:this.currentRowItem&&this.model?(this.model.rowItems?.push(this.currentRowItem),this.currentRowItem=null):this.currentColItem&&this.model&&(this.model.colItems?.push(this.currentColItem),this.currentColItem=null);break;case`chartFormat`:this.currentChartFormat&&this.model&&(this.model.chartFormats?.push(this.currentChartFormat),this.currentChartFormat=null);break}return!0}static{this.PIVOT_TABLE_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`}}static{this.EXTLST_XML=`<extLst><ext uri="{962EF5D1-5CA2-4c93-8EF4-DBF5C05439D2}" xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"><x14:pivotTableDefinition hideValuesRow="1" xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main"/></ext><ext uri="{747A6164-185A-40DC-8AA5-F01512510D54}" xmlns:xpdl="http://schemas.microsoft.com/office/spreadsheetml/2016/pivotdefaultlayout"><xpdl:pivotTableDefinition16 EnabledSubtotalsDefault="0" SubtotalsOnTopDefault="0"/></ext></extLst>`}}}));function Fj(e){if(e===void 0)return;let t=e.trim();if(t===`1`||t===`true`)return!0;if(t===`0`||t===`false`)return!1}function Ij(e){if(e===void 0)return;let t=e.trim();if(t===``||!/^[+-]?\d+$/.test(t))return;let n=parseInt(t,10);if(Number.isFinite(n)&&!(n>2147483647||n<-2147483648))return n}var Lj=t((()=>{}));function Rj(e){let t=`<${e.name}`;if(e.attributes)for(let[n,r]of Object.entries(e.attributes))t+=` ${n}="${Jd(String(r))}"`;return`${t}>`}function zj(e){let t=`<${e.name}`;if(e.attributes)for(let[n,r]of Object.entries(e.attributes))t+=` ${n}="${Jd(String(r))}"`;return`${t}/>`}function Bj(e){let t={};for(let[n,r]of Object.entries(e))r!==void 0&&(t[n]=typeof r==`boolean`?r?`1`:`0`:String(r));return t}function Vj(e){return e===void 0?void 0:e===`1`||e===`true`}function Hj(e){if(e===void 0)return;let t=parseFloat(e);return Number.isFinite(t)?t:void 0}function Uj(e){if(e===void 0)return;let t=Number(e);return Number.isFinite(t)?t:void 0}var Wj,Gj,Kj,qj=t((()=>{j(),Lj(),sf(),Wj={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`},Gj=class extends A{constructor(...e){super(...e),this.inSheetView=!1,this.captureDepth=0,this.captureParts=[],this.skipNextCaptureClose=!1,this.sheetDepth=0}get tag(){return`chartsheet`}render(e,t){let n=t??this.model;if(!n)return;e.openNode(`chartsheet`,Wj);let r=n.rawChildren??{},i=t=>{let n=r[t];n&&e.writeRaw(n)};i(`sheetPr`),e.openNode(`sheetViews`);let a={workbookViewId:String(n.workbookViewId??0)};if(n.tabSelected&&(a.tabSelected=`1`),n.zoomScale!==void 0&&(a.zoomScale=String(n.zoomScale)),n.zoomToFit&&(a.zoomToFit=`1`),e.leafNode(`sheetView`,a),e.closeNode(),i(`sheetProtection`),i(`customSheetViews`),n.pageMargins){let t=n.pageMargins;e.leafNode(`pageMargins`,{left:t.left===void 0?t.l===void 0?`0.7`:String(t.l):String(t.left),right:t.right===void 0?t.r===void 0?`0.7`:String(t.r):String(t.right),top:t.top===void 0?t.t===void 0?`0.75`:String(t.t):String(t.top),bottom:t.bottom===void 0?t.b===void 0?`0.75`:String(t.b):String(t.bottom),header:t.header===void 0?`0.3`:String(t.header),footer:t.footer===void 0?`0.3`:String(t.footer)})}if(n.pageSetup){let{rId:t,...r}=n.pageSetup,i=Bj(r);t!==void 0&&(i[`r:id`]=t),e.leafNode(`pageSetup`,i)}i(`headerFooter`),n.drawing&&e.leafNode(`drawing`,{"r:id":n.drawing.rId}),i(`legacyDrawing`),i(`legacyDrawingHF`),i(`drawingHF`),i(`picture`),i(`webPublishItems`),i(`extLst`),e.closeNode()}parseOpen(e){let{name:t}=e,n=e.attributes||{},r=!!e.isSelfClosing;if(this.captureRoot)return r?(this.captureParts.push(zj(e)),this.skipNextCaptureClose=!0):(this.captureDepth++,this.captureParts.push(Rj(e))),!0;if(t===`chartsheet`)return this.sheetDepth=1,this.model={sheetNo:0,name:``,id:0},!0;if(this.sheetDepth+=1,this.sheetDepth===2&&Kj.has(t))return r?((this.model.rawChildren??={})[t]=zj(e),!0):(this.captureRoot=t,this.captureDepth=1,this.captureParts=[Rj(e)],!0);switch(t){case`sheetView`:if(this.inSheetView=!0,this.model){let e=Fj(n.tabSelected);e!==void 0&&(this.model.tabSelected=e);let t=Ij(n.zoomScale);t!==void 0&&(this.model.zoomScale=t);let r=Ij(n.workbookViewId);r!==void 0&&(this.model.workbookViewId=r);let i=Fj(n.zoomToFit);i!==void 0&&(this.model.zoomToFit=i)}break;case`pageMargins`:this.model&&(this.model.pageMargins={l:Hj(n.left),r:Hj(n.right),t:Hj(n.top),b:Hj(n.bottom),left:Hj(n.left),right:Hj(n.right),top:Hj(n.top),bottom:Hj(n.bottom),header:Hj(n.header),footer:Hj(n.footer)});break;case`printOptions`:break;case`rowBreaks`:case`colBreaks`:case`pageBreaks`:break;case`pageSetup`:this.model&&(this.model.pageSetup={paperSize:Uj(n.paperSize),firstPageNumber:Uj(n.firstPageNumber),orientation:n.orientation,usePrinterDefaults:Vj(n.usePrinterDefaults),blackAndWhite:Vj(n.blackAndWhite),draft:Vj(n.draft),useFirstPageNumber:Vj(n.useFirstPageNumber),horizontalDpi:Uj(n.horizontalDpi),verticalDpi:Uj(n.verticalDpi),copies:Uj(n.copies),paperHeight:n.paperHeight,paperWidth:n.paperWidth,rId:n[`r:id`]});break;case`drawing`:this.model&&n[`r:id`]&&(this.model.drawing={rId:n[`r:id`]});break;default:break}return!0}parseText(e){this.captureRoot&&e&&this.captureParts.push(qd(e))}parseClose(e){if(this.captureRoot)return this.skipNextCaptureClose?(this.skipNextCaptureClose=!1,!0):(this.captureDepth--,this.captureParts.push(`</${e}>`),this.captureDepth===0&&(this.model&&((this.model.rawChildren??={})[this.captureRoot]=this.captureParts.join(``)),this.captureRoot=void 0,this.captureParts=[],--this.sheetDepth),!0);switch(--this.sheetDepth,e){case`chartsheet`:return!1;case`sheetView`:return this.inSheetView=!1,!0;default:return!0}}},Kj=new Set([`sheetPr`,`sheetProtection`,`customSheetViews`,`headerFooter`,`legacyDrawing`,`legacyDrawingHF`,`drawingHF`,`picture`,`webPublishItems`,`extLst`])})),Jj,Yj=t((()=>{j(),Jj=class extends A{get tag(){return`dimension`}render(e,t){t&&e.leafNode(`dimension`,{ref:t})}parseOpen(e){return e.name===`dimension`?(this.model=e.attributes.ref,!0):!1}parseText(){}parseClose(){return!1}}})),Xj,Zj=t((()=>{j(),Xj=class extends A{get tag(){return`mergeCell`}render(e,t){e.leafNode(`mergeCell`,{ref:t})}parseOpen(e){return e.name===`mergeCell`?(this.model=e.attributes.ref,!0):!1}parseText(){}parseClose(){return!1}}})),Qj,$j=t((()=>{pu(),pa(),da(),Qj=class{constructor(){this.merges={}}add(e){if(this.merges[e.master])this.merges[e.master].expandToAddress(e.address);else{let t=`${e.master}:${e.address}`;this.merges[e.master]=new fa(t)}}get mergeCells(){return Object.values(this.merges).map(e=>e.range)}reconcile(e,t){e.forEach(e=>{let n=E.decode(e);for(let e=n.top;e<=n.bottom;e++){let r=t[e-1];for(let t=n.left;t<=n.right;t++){let i=r.cells[t-1];i?i.type===1&&(i.master=n.tl):r.cells[t]={type:0,address:E.encodeAddress(e,t)}}}})}getMasterAddress(e){let t=this.hash[e];return t&&t.tl}}}));function eM(e){return e?`1`:void 0}var tM,nM=t((()=>{j(),tM=class extends A{get tag(){return`printOptions`}render(e,t){if(t){let n={headings:eM(t.showRowColHeaders),gridLines:eM(t.showGridLines),horizontalCentered:eM(t.horizontalCentered),verticalCentered:eM(t.verticalCentered)};Object.values(n).some(e=>e!==void 0)&&e.leafNode(this.tag,n)}}parseOpen(e){switch(e.name){case this.tag:return this.model={showRowColHeaders:e.attributes.headings===`1`,showGridLines:e.attributes.gridLines===`1`,horizontalCentered:e.attributes.horizontalCentered===`1`,verticalCentered:e.attributes.verticalCentered===`1`},!0;default:return!1}}parseText(){}parseClose(){return!1}}})),rM,iM=t((()=>{j(),rM=class extends A{get tag(){return`tablePart`}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes[`r:id`]},!0;default:return!1}}parseText(){}parseClose(){return!1}}})),aM,oM,sM,cM=t((()=>{da(),_b(),ng(),mu(),j(),jg(),jb(),rx(),sx(),lx(),mx(),Yj(),gx(),nS(),iS(),sb(),sS(),Zj(),$j(),lS(),gS(),vS(),nM(),bS(),DS(),kS(),IS(),BS(),US(),iM(),ag(),aM=(e,t)=>{Object.keys(t).forEach(n=>{let r=e[n],i=t[n];r===void 0&&i!==void 0&&(e[n]=i)})},oM=(e,t)=>{if(!t||!t.length)return e;if(!e||!e.length)return t;let n={},r={};return e.forEach(e=>{n[e.ref]=e,e.rules.forEach(e=>{let{x14Id:t}=e;t&&(r[t]=e)})}),t.forEach(t=>{t.rules.forEach(i=>{let a=r[i.x14Id];a?aM(a,i):n[t.ref]?n[t.ref].rules.push(i):e.push({ref:t.ref,rules:[i]})})}),e},sM=class e extends A{static{this.WORKSHEET_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"xmlns:x14ac":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac`,"mc:Ignorable":`x14ac`}}constructor(e){super();let{maxRows:t,maxCols:n,ignoreNodes:r}=e||{};this.ignoreNodes=r??[],this.map={sheetPr:new FS,dimension:new Jj,sheetViews:new Ag({tag:`sheetViews`,count:!1,childXform:new HS}),sheetFormatPr:new OS,cols:new Ag({tag:`cols`,count:!1,childXform:new cx}),sheetData:new Ag({tag:`sheetData`,count:!1,empty:!0,childXform:new ES({maxItems:n}),maxItems:t}),autoFilter:new Ab,mergeCells:new Ag({tag:`mergeCells`,count:!0,childXform:new Xj}),rowBreaks:new yS,colBreaks:new ox,hyperlinks:new Ag({tag:`hyperlinks`,count:!1,childXform:new ob}),pageMargins:new cS,dataValidations:new px,pageSetup:new hS,headerFooter:new rS,printOptions:new tM,picture:new _S,drawing:new hx,sheetProtection:new zS,tableParts:new Ag({tag:`tableParts`,count:!0,childXform:new rM}),conditionalFormatting:new nx,extLst:new tS,ignoredErrors:new oS}}prepare(e,t){t.merges=new Qj,e.hyperlinks=t.hyperlinks=[],e.comments=t.comments=[],e.formControls&&e.formControls.length>0&&(!e.views||e.views.length===0)&&(e.views=[{workbookViewId:0}]),t.formulae={},t.siFormulae=0,this.map.cols.prepare(e.cols,t),this.map.sheetData.prepare(e.rows,t),this.map.conditionalFormatting.prepare(e.conditionalFormattings,t),e.mergeCells=t.merges.mergeCells;let n=e.rels=[];function r(e){return`rId${e.length+1}`}e.hyperlinks.forEach(e=>{if(ab(e.target))return;let t=r(n);e.rId=t,n.push({Id:t,Type:D.Hyperlink,Target:e.target,TargetMode:`External`})});let{fileIndex:i}=e;if(e.comments.length>0){let a={Id:r(n),Type:D.Comments,Target:Um(i)};n.push(a);let o={Id:r(n),Type:D.VmlDrawing,Target:Wm(i)};n.push(o),e.comments.forEach(e=>{e.refAddress=E.decodeAddress(e.ref)}),t.commentRefs.push({commentName:`comments${i}`,vmlDrawing:`vmlDrawing${i}`})}if(e.threadedComments&&e.threadedComments.length>0&&n.push({Id:r(n),Type:D.ThreadedComments,Target:`../threadedComments/threadedComment${i}.xml`}),e.drawing&&e.drawing.anchors){let i=e.drawing;i.rId=r(n),i.name||=`drawing${++t.drawingsCount}`;let a=i.anchors.filter(e=>e.chartNumber||e.chartExNumber);i.anchors=[],i.rels=[];for(let e of a){let t=r(i.rels);e.chartExNumber?(i.rels.push({Id:t,Type:D.ChartEx,Target:bh(e.chartExNumber)}),e.graphicFrame={...e.graphicFrame,rId:t,isChartEx:!0,index:e.graphicFrame?.index,name:e.graphicFrame?.name??`Chart ${e.chartExNumber}`},e.alternateContent||={requires:`cx1`}):(i.rels.push({Id:t,Type:D.Chart,Target:lh(e.chartNumber)}),e.graphicFrame={...e.graphicFrame,rId:t,index:e.graphicFrame?.index,name:e.graphicFrame?.name??`Chart ${e.chartNumber}`}),i.anchors.push(e)}t.drawings.push(i),n.push({Id:i.rId,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,Target:Km(i.name)})}if(e.charts&&e.charts.length>0){let i=new Set,a=new Set;if(e.drawing?.anchors)for(let t of e.drawing.anchors)t.chartNumber&&i.add(t.chartNumber),t.chartExNumber&&a.add(t.chartExNumber);let o=e.charts.filter(e=>!!(e.chartNumber&&!i.has(e.chartNumber)||e.chartExNumber&&!a.has(e.chartExNumber)));if(o.length>0){e.drawing||(e.drawing={anchors:[],rels:[],rId:r(n),name:`drawing${++t.drawingsCount}`},t.drawings.push(e.drawing),n.push({Id:e.drawing.rId,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,Target:Km(e.drawing.name)}));let i=e.drawing;for(let e of o){let t=9525,n={...e.range};e.range.pos&&(n.pos={x:e.range.pos.x/t,y:e.range.pos.y/t}),e.range.ext&&e.range.ext.cx!==void 0&&(n.ext={width:e.range.ext.cx/t,height:e.range.ext.cy/t});let a=r(i.rels);e.chartExNumber?(i.rels.push({Id:a,Type:D.ChartEx,Target:bh(e.chartExNumber)}),i.anchors.push({range:n,chartExNumber:e.chartExNumber,alternateContent:{requires:`cx1`},graphicFrame:{rId:a,isChartEx:!0,name:`Chart ${e.chartExNumber}`}})):(i.rels.push({Id:a,Type:D.Chart,Target:lh(e.chartNumber)}),i.anchors.push({range:n,chartNumber:e.chartNumber,graphicFrame:{rId:a,name:`Chart ${e.chartNumber}`}}))}}}let a=[],o=[],s=[],c=[];if(e.media.forEach(e=>{e.type===`background`?a.push(e):e.type===`image`?o.push(e):e.type===`watermark`?s.push(e):e.type===`headerImage`&&c.push(e)}),a.forEach(i=>{let a=t.media[i.imageId];if(!a)return;let o=r(n);n.push({Id:o,Type:D.Image,Target:db(a)}),e.background={rId:o},e.image=a}),o.length>0){let{drawing:i}=e;i||(i=e.drawing={rId:r(n),name:`drawing${++t.drawingsCount}`,anchors:[],rels:[]},t.drawings.push(i),n.push({Id:i.rId,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,Target:Km(i.name)}));let a=hb(o,i.rels,{getBookImage:e=>t.media[e],nextRId:e=>r(e)});i.anchors.push(...a.anchors),i.rels=a.rels}if(s.length>0){let{drawing:i}=e;i||(i=e.drawing={rId:r(n),name:`drawing${++t.drawingsCount}`,anchors:[],rels:[]},t.drawings.push(i),n.push({Id:i.rId,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,Target:Km(i.name)}));for(let n of s){let a=t.media[n.imageId];if(!a)continue;let o=fb(a),s=r(i.rels);i.rels.push(mb(s,a));let c=n.opacity===void 0?.15:n.opacity,l=Math.round(Math.max(0,Math.min(1,c))*1e5),u=e.dimensions,d=u?Math.max(u.model?.right??100,100):100,f=u?Math.max(u.model?.bottom??200,200):200;i.anchors.push({picture:{rId:s,alphaModFix:l,...o?{external:!0}:{}},range:{editAs:`absolute`,tl:{nativeCol:0,nativeColOff:0,nativeRow:0,nativeRowOff:0},br:{nativeCol:d,nativeColOff:0,nativeRow:f,nativeRowOff:0}}})}}if(c.length>0){let a=c[0],o=t.media[a.imageId];if(o){let s=r(n);n.push({Id:s,Type:D.VmlDrawing,Target:Gm(i)}),e.headerImage={vmlRelId:s,imageId:a.imageId,bookImage:o,headerWidth:a.headerWidth,headerHeight:a.headerHeight},t.hasHeaderWatermark=!0,e.headerFooter||={};let c=a.applyTo||`all`,l=t=>{let n=e.headerFooter[t]||``;return n.includes(`&G`)?n:n.includes(`&C`)?n.replace(`&C`,`&C&G`):n+`&C&G`};(c===`all`||c===`odd`)&&(e.headerFooter.oddHeader=l(`oddHeader`)),(c===`all`||c===`even`)&&(e.headerFooter.evenHeader=l(`evenHeader`),e.headerFooter.differentOddEven=!0),(c===`all`||c===`first`)&&(e.headerFooter.firstHeader=l(`firstHeader`),e.headerFooter.differentFirst=!0)}}if(e.tables.forEach(e=>{let i=r(n);e.rId=i,n.push({Id:i,Type:D.Table,Target:Jm(e.target)}),e.columns.forEach(e=>{let{style:n}=e;n&&(e.dxfId=t.styles.addDxfStyle(n))})}),(e.pivotTables??[]).forEach(e=>{n.push({Id:r(n),Type:D.PivotTable,Target:qm(e.tableNumber)})}),e.formControls&&e.formControls.length>0){let{drawing:a}=e;a||(a=e.drawing={rId:r(n),name:`drawing${++t.drawingsCount}`,anchors:[],rels:[]},t.drawings.push(a),n.push({Id:a.rId,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,Target:Km(a.name)})),e.comments.length===0&&n.push({Id:r(n),Type:D.VmlDrawing,Target:Wm(i)});let o=e=>({nativeCol:e.col,nativeColOff:e.colOff,nativeRow:e.row,nativeRowOff:e.rowOff});for(let i of e.formControls){let e=t.formControlRefs.length+1;i.ctrlPropId=e;let s=r(n);i.ctrlPropRelId=s,n.push({Id:s,Type:D.CtrlProp,Target:xh(e)}),t.formControlRefs.push(e);let c=`Check Box ${Math.max(1,i.shapeId-1024)}`;a.anchors.push({range:{editAs:`absolute`,tl:o(i.tl),br:o(i.br)},alternateContent:{requires:`a14`},shape:{cNvPrId:i.shapeId,name:i.name||c,hidden:!0,spid:`_x0000_s${i.shapeId}`,text:i.text}})}}this.map.extLst.prepare(e,t)}render(t,n){t.openXml(of);let r={...e.WORKSHEET_ATTRIBUTES};n.formControls&&n.formControls.length>0&&(r[`xmlns:x14`]=`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`,r[`xmlns:xdr`]=`http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing`,r[`mc:Ignorable`]=`${r[`mc:Ignorable`]} x14`),t.openNode(`worksheet`,r);let i=n.properties?{defaultRowHeight:n.properties.defaultRowHeight,dyDescent:n.properties.dyDescent,outlineLevelCol:n.properties.outlineLevelCol,outlineLevelRow:n.properties.outlineLevelRow,customHeight:n.properties.customHeight}:void 0;n.properties&&n.properties.defaultColWidth&&(i.defaultColWidth=n.properties.defaultColWidth);let a={outlineProperties:n.properties&&n.properties.outlineProperties,tabColor:n.properties&&n.properties.tabColor,pageSetup:n.pageSetup&&n.pageSetup.fitToPage?{fitToPage:n.pageSetup.fitToPage}:void 0},o=n.pageSetup&&n.pageSetup.margins,s={showRowColHeaders:n.pageSetup&&n.pageSetup.showRowColHeaders,showGridLines:n.pageSetup&&n.pageSetup.showGridLines,horizontalCentered:n.pageSetup&&n.pageSetup.horizontalCentered,verticalCentered:n.pageSetup&&n.pageSetup.verticalCentered},c=n.sheetProtection;if(this.map.sheetPr.render(t,a),this.map.dimension.render(t,n.dimensions),this.map.sheetViews.render(t,n.views),this.map.sheetFormatPr.render(t,i),this.map.cols.render(t,n.cols),this.map.sheetData.render(t,n.rows),this.map.sheetProtection.render(t,c),this.map.autoFilter.render(t,n.autoFilter),this.map.mergeCells.render(t,n.mergeCells),this.map.conditionalFormatting.render(t,n.conditionalFormattings),this.map.dataValidations.render(t,n.dataValidations),this.map.hyperlinks.render(t,n.hyperlinks),this.map.printOptions.render(t,s),this.map.pageMargins.render(t,o),this.map.pageSetup.render(t,n.pageSetup),this.map.headerFooter.render(t,n.headerFooter),this.map.rowBreaks.render(t,n.rowBreaks),this.map.colBreaks.render(t,n.colBreaks),this.map.ignoredErrors.render(t,n.ignoredErrors),this.map.drawing.render(t,n.drawing),n.rels&&n.rels.forEach(e=>{if(e.Type===D.VmlDrawing){if(n.headerImage&&e.Id===n.headerImage.vmlRelId)return;t.leafNode(`legacyDrawing`,{"r:id":e.Id})}}),n.headerImage&&t.leafNode(`legacyDrawingHF`,{"r:id":n.headerImage.vmlRelId}),this.map.picture.render(t,n.background),n.formControls&&n.formControls.length>0){t.openNode(`mc:AlternateContent`),t.openNode(`mc:Choice`,{Requires:`x14`}),t.openNode(`controls`);for(let e of n.formControls){if(!e.ctrlPropRelId)continue;let n=`Check Box ${Math.max(1,e.shapeId-1024)}`;t.openNode(`mc:AlternateContent`),t.openNode(`mc:Choice`,{Requires:`x14`}),t.openNode(`control`,{shapeId:e.shapeId,"r:id":e.ctrlPropRelId,name:e.name||n}),t.openNode(`controlPr`,{locked:0,defaultSize:0,print:+!!e.print,autoFill:0,autoLine:0,autoPict:0}),t.openNode(`anchor`),t.openNode(`from`),t.leafNode(`xdr:col`,void 0,e.tl.col),t.leafNode(`xdr:colOff`,void 0,e.tl.colOff),t.leafNode(`xdr:row`,void 0,e.tl.row),t.leafNode(`xdr:rowOff`,void 0,e.tl.rowOff),t.closeNode(),t.openNode(`to`),t.leafNode(`xdr:col`,void 0,e.br.col),t.leafNode(`xdr:colOff`,void 0,e.br.colOff),t.leafNode(`xdr:row`,void 0,e.br.row),t.leafNode(`xdr:rowOff`,void 0,e.br.rowOff),t.closeNode(),t.closeNode(),t.closeNode(),t.closeNode(),t.closeNode(),t.leafNode(`mc:Fallback`),t.closeNode()}t.closeNode(),t.closeNode(),t.leafNode(`mc:Fallback`),t.closeNode()}this.map.tableParts.render(t,n.tables),this.map.extLst.render(t,n),t.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):e.name===`worksheet`?(Object.values(this.map).forEach(e=>{e.reset()}),!0):(this.map[e.name]&&!this.ignoreNodes.includes(e.name)&&(this.parser=this.map[e.name],this.parser.parseOpen(e)),!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case`worksheet`:{let e=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&&this.map.sheetPr.model.tabColor&&(e.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties&&(e.outlineProperties=this.map.sheetPr.model.outlineProperties);let t={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},n=Object.assign(t,this.map.pageSetup.model,this.map.printOptions.model),r=oM(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model[`x14:conditionalFormattings`]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:e,views:this.map.sheetViews.model,pageSetup:n,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:r,rowBreaks:this.map.rowBreaks.model??[],colBreaks:this.map.colBreaks.model??[],ignoredErrors:this.map.ignoredErrors.model??[]},this.map.autoFilter.model&&(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&&(this.model.sheetProtection=this.map.sheetProtection.model),!1}default:return!0}}reconcile(e,t){let n=e.relationships??[],r=n.reduce((e,t)=>(e[t.Id]=t,e),{});for(let r of n)if(r.Type===D.Comments){let n=Sh(`xl/worksheets/`,r.Target),i=t.comments?.[n];i&&(e.comments=i.comments)}if(e.comments&&e.comments.length){for(let r of n)if(r.Type===D.VmlDrawing){let n=Sh(`xl/worksheets/`,r.Target),i=t.vmlDrawings?.[n];if(i){let t=i.comments,n={},r=!1;for(let e of t)if(e.row!=null&&e.col!=null){let t=E.encodeAddress(e.row,e.col);n[t]=e,r=!0}if(r)for(let t of e.comments){let e=n[t.ref];e&&(t.note=Object.assign({},t.note,e))}else e.comments.forEach((e,n)=>{n<t.length&&(e.note=Object.assign({},e.note,t[n]))})}}}if(t.commentsMap=(e.comments??[]).reduce((e,t)=>(t.ref&&(e[t.ref]=t),e),{}),t.hyperlinkMap=(e.hyperlinks??[]).reduce((e,t)=>{if(t.rId){let n=r[t.rId];n&&(e[t.address]=n.Target)}else t.target&&(e[t.address]=t.target);return e},{}),t.formulae={},e.rows){e.rows.includes(void 0)&&(e.rows=e.rows.filter(Boolean));for(let t=0;t<e.rows.length;t++){let n=e.rows[t];n.cells?.includes(void 0)&&(n.cells=n.cells.filter(Boolean))}}else e.rows=[];if(this.map.cols.reconcile(e.cols,t),this.map.sheetData.reconcile(e.rows,t),this.map.conditionalFormatting.reconcile(e.conditionalFormattings,t),e.media=[],e.drawing){let n=r[e.drawing.rId];if(n){let r=n.Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(r){let n=r[1],i=t.drawings[n];i?(e.drawing={...i,name:n,rels:t.drawingRels?.[n]??i.rels??[]},i.anchors.forEach(t=>{t.medium&&(t.medium.alphaModFix!==void 0&&t.medium.alphaModFix<1e5?e.media.push({type:`watermark`,imageId:t.medium.index,opacity:t.medium.alphaModFix/1e5}):e.media.push({type:`image`,imageId:t.medium.index,range:t.range,hyperlinks:t.picture.hyperlinks}))})):e.drawing=void 0}else e.drawing=void 0}else e.drawing=void 0}let i=e.background&&r[e.background.rId];if(i){let n=i.Target.split(`/media/`)[1],r=t.mediaIndex&&t.mediaIndex[n];r!==void 0&&e.media.push({type:`background`,imageId:r})}else e.background&&=void 0;e.tables=(e.tables??[]).reduce((e,n)=>{let i=r[n.rId];if(i){let n=Sh(`xl/worksheets/`,i.Target),r=t.tables[n];r&&e.push(r)}return e},[]),e.pivotTables=[],(e.relationships??[]).forEach(n=>{if(n.Type===D.PivotTable&&t.pivotTables){let r=Sh(`xl/worksheets/`,n.Target),i=t.pivotTables[r];i&&e.pivotTables.push(i)}}),delete e.relationships,delete e.hyperlinks,delete e.comments}}})),lM,uM=t((()=>{j(),lM=class extends A{constructor(){super(),this.model={val:``}}get tag(){return`customFilter`}render(e,t){e.leafNode(this.tag,{val:t.val,operator:t.operator})}parseOpen(e){return e.name===this.tag?(this.model={val:e.attributes.val,operator:e.attributes.operator},!0):!1}parseText(){}parseClose(){return!1}}})),dM,fM=t((()=>{j(),dM=class extends A{constructor(){super(),this.model={val:``}}get tag(){return`filter`}render(e,t){e.leafNode(this.tag,{val:t.val})}parseOpen(e){return e.name===this.tag?(this.model={val:e.attributes.val},!0):!1}parseText(){}parseClose(){return!1}}})),pM,mM=t((()=>{la(),j(),jg(),uM(),fM(),pM=class extends A{constructor(){super(),this.map={customFilters:new Ag({tag:`customFilters`,count:!1,empty:!0,childXform:new lM}),filters:new Ag({tag:`filters`,count:!1,empty:!0,childXform:new dM})},this.model={filterButton:!1}}get tag(){return`filterColumn`}prepare(e,t){e.colId=t.index.toString()}render(e,t){if(t.customFilters){e.openNode(this.tag,{colId:t.colId,hiddenButton:t.filterButton?`0`:`1`}),this.map.customFilters.render(e,t.customFilters),e.closeNode();return}e.leafNode(this.tag,{colId:t.colId,hiddenButton:t.filterButton?`0`:`1`})}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;let{attributes:t}=e;switch(e.name){case this.tag:return this.model={filterButton:t.hiddenButton===`0`},!0;case`dynamicFilter`:return!0;default:if(this.parser=this.map[e.name],this.parser)return this.parseOpen(e),!0;throw new $i(`filterColumn`,`Unexpected xml node in parseOpen: ${JSON.stringify(e)}`)}}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.customFilters=this.map.customFilters.model,!1;default:return!0}}}})),hM,gM=t((()=>{la(),j(),mM(),hM=class extends A{constructor(){super(),this.map={filterColumn:new pM},this.model={autoFilterRef:``,columns:[]}}get tag(){return`autoFilter`}prepare(e){e.columns.forEach((e,t)=>{this.map.filterColumn.prepare(e,{index:t})})}render(e,t){e.openNode(this.tag,{ref:t.autoFilterRef}),t.columns.forEach(t=>{(t?.customFilters!==void 0||t?.filters!==void 0||t?.dynamicFilter!==void 0||t?.filterButton!==void 0)&&this.map.filterColumn.render(e,t)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:return this.model={autoFilterRef:e.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[e.name],this.parser)return this.parseOpen(e),!0;throw new $i(`autoFilter`,`Unexpected xml node in parseOpen: ${JSON.stringify(e)}`)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:throw new $i(`autoFilter`,`Unexpected xml node in parseClose: ${e}`)}}}})),_M,vM=t((()=>{j(),Hf(),_M=class extends A{constructor(){super(),this._childText=``,this.model={name:``}}get tag(){return`tableColumn`}prepare(e,t){e.id=t.index+1}_renderAttributes(e){return{id:e.id.toString(),name:mf(e.name),totalsRowLabel:e.totalsRowLabel?mf(e.totalsRowLabel):void 0,totalsRowFunction:e.totalsRowFunction===`none`?void 0:e.totalsRowFunction,dxfId:e.dxfId}}render(e,t){let n=t.totalsRowFunction===void 0||t.totalsRowFunction===`custom`,r=!!t.totalsRowFormula&&n;t.calculatedColumnFormula||r?(e.openNode(this.tag,this._renderAttributes(t)),t.calculatedColumnFormula&&e.leafNode(`calculatedColumnFormula`,void 0,t.calculatedColumnFormula),r&&e.leafNode(`totalsRowFormula`,void 0,t.totalsRowFormula),e.closeNode()):e.leafNode(this.tag,this._renderAttributes(t))}parseOpen(e){if(e.name===this.tag){let{attributes:t}=e;return this.model={name:ff(t.name),totalsRowLabel:t.totalsRowLabel?ff(t.totalsRowLabel):void 0,totalsRowFunction:t.totalsRowFunction,dxfId:t.dxfId},!0}return(e.name===`calculatedColumnFormula`||e.name===`totalsRowFormula`)&&(this._childTag=e.name,this._childText=``),!0}parseText(e){this._childTag&&(this._childText+=e)}parseClose(e){return e===this.tag?!1:(this._childTag&&e===this._childTag&&(this.model[this._childTag]=this._childText,this._childTag=void 0),!0)}}})),yM,bM=t((()=>{j(),yM=class extends A{constructor(){super(),this.model={theme:null,showFirstColumn:!1,showLastColumn:!1,showRowStripes:!1,showColumnStripes:!1}}get tag(){return`tableStyleInfo`}render(e,t){e.leafNode(this.tag,{name:t.theme?t.theme:void 0,showFirstColumn:t.showFirstColumn?`1`:`0`,showLastColumn:t.showLastColumn?`1`:`0`,showRowStripes:t.showRowStripes?`1`:`0`,showColumnStripes:t.showColumnStripes?`1`:`0`})}parseOpen(e){if(e.name===this.tag){let{attributes:t}=e;return this.model={theme:t.name?t.name:null,showFirstColumn:t.showFirstColumn===`1`,showLastColumn:t.showLastColumn===`1`,showRowStripes:t.showRowStripes===`1`,showColumnStripes:t.showColumnStripes===`1`},!0}return!1}parseText(){}parseClose(){return!1}}})),xM,SM=t((()=>{j(),jg(),gM(),vM(),bM(),ag(),xM=class e extends A{constructor(){super(),this.map={autoFilter:new hM,tableColumns:new Ag({tag:`tableColumns`,count:!0,empty:!0,childXform:new _M}),tableStyleInfo:new yM},this.model={id:0,name:``,tableRef:``,columns:[]}}prepare(e,t){this.map.autoFilter.prepare(e),this.map.tableColumns.prepare(e.columns,t)}get tag(){return`table`}render(t,n){t.openXml(of),t.openNode(this.tag,{...e.TABLE_ATTRIBUTES,id:n.id,name:n.name,displayName:n.displayName||n.name,ref:n.tableRef,totalsRowCount:n.totalsRow?`1`:void 0,headerRowCount:n.headerRow?void 0:`0`}),this.map.autoFilter.render(t,n),this.map.tableColumns.render(t,n.columns),this.map.tableStyleInfo.render(t,n.style),t.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;let{name:t,attributes:n}=e;switch(t){case this.tag:this.reset(),this.model={name:n.name,displayName:n.displayName||n.name,tableRef:n.ref,totalsRow:n.totalsRowCount===`1`,headerRow:n.headerRowCount!==`0`};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);break}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&&(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((e,t)=>{this.model.columns[t].filterButton=e.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}reconcile(e,t){e.tableRef&&!e.ref&&(e.ref=e.tableRef),e.rows||=[],e.columns.forEach(e=>{e.dxfId!==void 0&&(e.style=t.styles.getDxfStyle(e.dxfId))})}static{this.TABLE_ATTRIBUTES={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`}}}})),CM,wM=t((()=>{sf(),vu(),CM=class{constructor(e){this._stack=[],this._leaf=!1,this._open=!1,this._pending=``,this._target=e}get depth(){return this._stack.length}get currentElement(){return this._stack.length>0?this._stack[this._stack.length-1]:void 0}_flushOpen(e){this._target.write(this._pending+e),this._pending=``,this._open=!1}openXml(e){let t=e?{...of,...e}:of,n=`<?xml`;for(let e in t){let r=t[e];r!==void 0&&(Yd(e),n+=` ${e}="${Jd(String(r))}"`)}this._target.write(n+`?>
430
+ `)}openNode(e,t){Yd(e),this._open&&this._flushOpen(`>`);let n=`<${e}`;if(t)for(let e in t){let r=t[e];r!==void 0&&(Yd(e),n+=` ${e}="${Jd(String(r))}"`)}this._pending=n,this._stack.push(e),this._leaf=!0,this._open=!0}addAttribute(e,t){if(!this._open)throw new _u(`add attribute`,`no element is open`);Yd(e),this._pending+=` ${e}="${Jd(String(t))}"`}addAttributes(e){if(!this._open)throw new _u(`add attributes`,`no element is open`);if(e)for(let t in e){let n=e[t];n!==void 0&&(Yd(t),this._pending+=` ${t}="${Jd(String(n))}"`)}}writeText(e){this._open&&this._flushOpen(`>`),this._leaf=!1,this._target.write(qd(String(e)))}writeRaw(e){this._open&&this._flushOpen(`>`),this._leaf=!1,this._target.write(e)}writeCData(e){this._open&&this._flushOpen(`>`),this._leaf=!1,this._target.write(Xd(e))}writeComment(e){this._open&&this._flushOpen(`>`),this._leaf=!1,$d(e),this._target.write(`<!--${e}-->`)}closeNode(){let e=this._stack.pop();if(e===void 0)throw new _u(`close node`,`no element is open`);this._leaf&&this._open?this._flushOpen(`/>`):(this._open&&this._flushOpen(`>`),this._target.write(`</${e}>`)),this._open=!1,this._leaf=!1}leafNode(e,t,n){Yd(e),this._open&&this._flushOpen(`>`);let r=`<${e}`;if(t)for(let e in t){let n=t[e];n!==void 0&&(Yd(e),r+=` ${e}="${Jd(String(n))}"`)}n===void 0?r+=`/>`:r+=`>${qd(String(n))}</${e}>`,this._target.write(r),this._leaf=!1}closeAll(){for(;this._stack.length>0;)this.closeNode()}}}));function TM(e){let t=/(?:^|\/)externalLink(\d+)[.]xml$/.exec(e);return t?parseInt(t[1],10):void 0}function EM(e,t){t&&(e.sheetNames.includes(t)||e.sheetNames.push(t))}function DM(e){try{return JSON.stringify(e)}catch{return}}function OM(e){let{chartRId:t,chartName:n,isChartEx:r,extCx:i,extCy:a}=e,o=Jd(n),s=Jd(t),c=r?`<a:extLst><a:ext uri="{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"><a16:creationId xmlns:a16="http://schemas.microsoft.com/office/drawing/2014/main" id="{${Hx().toUpperCase()}}"/></a:ext></a:extLst>`:``,l=`<xdr:graphicFrame macro=""><xdr:nvGraphicFramePr>`+(c?`<xdr:cNvPr id="1" name="${o}">${c}</xdr:cNvPr>`:`<xdr:cNvPr id="1" name="${o}"/>`)+`<xdr:cNvGraphicFramePr/></xdr:nvGraphicFramePr><xdr:xfrm><a:off x="0" y="0"/><a:ext cx="${i}" cy="${a}"/></xdr:xfrm><a:graphic>`+(r?`<a:graphicData uri="http://schemas.microsoft.com/office/drawing/2014/chartex"><cx:chart xmlns:cx="http://schemas.microsoft.com/office/drawing/2014/chartex" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" r:id="${s}"/></a:graphicData>`:`<a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/chart"><c:chart xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" r:id="${s}"/></a:graphicData>`)+`</a:graphic></xdr:graphicFrame>`,u=`<xdr:sp macro="" textlink=""><xdr:nvSpPr><xdr:cNvPr id="0" name=""/><xdr:cNvSpPr><a:spLocks noTextEdit="1"/></xdr:cNvSpPr></xdr:nvSpPr><xdr:spPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="${i}" cy="${a}"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:prstClr val="white"/></a:solidFill><a:ln w="1"><a:solidFill><a:prstClr val="black"/></a:solidFill></a:ln></xdr:spPr><xdr:txBody><a:bodyPr vertOverflow="clip" horzOverflow="clip"/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" sz="1100"/><a:t>This chart isn&apos;t available in your version of Excel.\n\nEditing this shape or saving this workbook into a different file format will permanently break the chart.</a:t></a:r></a:p></xdr:txBody></xdr:sp>`,d=r?`<mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"><mc:Choice xmlns:cx1="http://schemas.microsoft.com/office/drawing/2015/9/8/chartex" Requires="cx1">`+l+`</mc:Choice><mc:Fallback>`+u+`</mc:Fallback></mc:AlternateContent>`:l;return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
431
+ <xdr:wsDr xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"><xdr:absoluteAnchor><xdr:pos x="0" y="0"/><xdr:ext cx="${i}" cy="${a}"/>`+d+`<xdr:clientData/></xdr:absoluteAnchor></xdr:wsDr>`}function kM(e,t){let n=t.exec(e);if(!n)return``;let r=e.slice(0,n.index),i=[],a=r.length;for(;a>0;){let e=a;for(;e>0&&/\s/.test(r.charAt(e-1));)e--;if(e<3||r.slice(e-3,e)!==`-->`)break;let t=r.lastIndexOf(`<!--`,e-3);if(t<0)break;i.unshift(r.slice(t,e)),a=t}return i.join(``)}function AM(e,t){let n=new ig;t.render(n,e.model);let r=n.toString();if(e.rawData){let t=kM(new TextDecoder().decode(e.rawData),/<c:chart(?:\s|>)/);t&&(r=r.replace(/<c:chart(\s|>)/,`${t}<c:chart$1`))}return new TextEncoder().encode(r)}function jM(e,t){if(!t)return e;let n=kM(t,/<cx:chart(?:\s|>)/);return n?e.replace(/<cx:chart(\s|>)/,`${n}<cx:chart$1`):e}function MM(e){return!e.rawData||e.dirty?!1:e.modelSnapshot===void 0?!0:DM(e.model)===e.modelSnapshot}function NM(e){return!e.rawData||e.dirty?!1:e.modelSnapshot===void 0?!0:DM(e.model)===e.modelSnapshot}function PM(e){return{...e,rawXml:void 0}}function FM(e){return e?.templateMode===`strict`||e?.strictTemplateMode===!0}function IM(e){return e===void 0?(typeof process>`u`||process.env,!1):e}async function LM(e){try{let t=await EA(e,{maxProblems:20});if(t.ok)return;let n=t.problems.map((e,t)=>` ${t+1}. [${e.kind}] ${e.file??`<package>`}: ${e.message}`).join(`
432
+ `);console.warn(`[excelts] writeBuffer() produced xlsx with ${t.problems.length} OOXML issue(s):\n${n}\nPass \`{ validate: false }\` to silence this self-check, or set NODE_ENV=production.`)}catch(e){console.warn(`[excelts] writeBuffer() self-check threw unexpectedly and was skipped: ${String(e)}`)}}function RM(e){return e.rawData?e.dirty?!0:e.modelSnapshot===void 0?!1:DM(e.model)!==e.modelSnapshot:!1}function zM(e){return e.rawData?e.dirty?!0:e.modelSnapshot===void 0?!1:DM(e.model)!==e.modelSnapshot:!1}function BM(e,t){return!!e.requireRawPatch||t&&RM(e)}function VM(e,t){return!!e.requireRawPatch||t&&zM(e)}function HM(e,t){let n=`ChartEx ${e} requires raw XML patching (requireRawPatch/strict template mode), but the mutation cannot be safely applied as a raw XML patch.`,r=t?.unknownElements;return WM(n,r)}function UM(e,t){let n=`Chart ${e} requires raw XML patching (requireRawPatch/strict template mode), but the mutation cannot be safely applied as a raw XML patch.`,r=t?.unknownElements;return WM(n,r)}function WM(e,t){if(!t||t.length===0)return e;let n=Array.from(new Set(t.map(e=>e.path))).slice(0,8),r=t.length>n.length?` (showing ${n.length} of ${t.length})`:``;return`${e} The loaded part contains unstructured XML at: ${n.join(`, `)}${r}. Rebuilding the part would discard these extensions; adjust the mutation to a patch-friendly shape or relax strictTemplateMode.`}function GM(e,t=!1){if(!e.rawData||!e.preferRawPatch&&!t||!zM(e))return;let n=KM(e);if(n===void 0)return;let r=new TextDecoder().decode(e.rawData),i=RP(r,`cx:chartSpace`);if(!i)return;let a=QM(r.slice(i.start,i.end),e.model,n);if(a===void 0)return;let o=r.slice(0,i.start)+a+r.slice(i.end);return o===r?void 0:new TextEncoder().encode(o)}function KM(e){if(e.modelSnapshot===void 0)return{title:!0,data:!0,legend:!0,autoTitleDeleted:!0,chartSpaceSpPr:!0,plotAreaSpPr:!0,plotSurface:!0,series:!0,axes:!0};let t;try{t=JSON.parse(e.modelSnapshot)}catch{return}let n=e.model;if(!F(YM(t),YM(n)))return;let r=t.chartSpace?.chart,i=n.chartSpace?.chart,a=qM(t,n),o=JM(r?.plotArea?.axis??[],i?.plotArea?.axis??[]),s={data:!F(t.chartSpace?.chartData,n.chartSpace?.chartData),title:!F(r?.title,i?.title),legend:!F(r?.legend,i?.legend),autoTitleDeleted:!F(r?.autoTitleDeleted,i?.autoTitleDeleted),chartSpaceSpPr:!F(t.chartSpace?.spPr,n.chartSpace?.spPr),plotAreaSpPr:!F(r?.plotArea?.spPr,i?.plotArea?.spPr),plotSurface:!F(r?.plotArea?.plotAreaRegion?.plotSurface,i?.plotArea?.plotAreaRegion?.plotSurface),series:a,axes:o};return s.data||s.title||s.legend||s.autoTitleDeleted||s.chartSpaceSpPr||s.plotAreaSpPr||s.plotSurface||sN(s.series)||sN(s.axes)?s:void 0}function qM(e,t){let n=ZM(e);return ZM(t).map((e,t)=>{let r=n[t]??{};return{hidden:!F(r.hidden,e.hidden),ownerIdx:!F(r.ownerIdx,e.ownerIdx),tx:!F(r.tx,e.tx),dataRefs:!F(r.dataRefs,e.dataRefs),layoutPr:!F(r.layoutPr,e.layoutPr),axisId:!F(r.axisId,e.axisId),dataLabels:!F(r.dataLabels,e.dataLabels),spPr:!F(r.spPr,e.spPr),dataPoints:!F(r.dataPt,e.dataPt)}})}function JM(e,t){let n=new Map(e.map(e=>[e.axisId,e]));return t.map(e=>{let t=n.get(e.axisId)??{};return{hidden:!F(t.hidden,e.hidden),majorTickMark:!F(t.majorTickMark,e.majorTickMark),minorTickMark:!F(t.minorTickMark,e.minorTickMark),numFmt:!F(t.numFmt,e.numFmt),title:!F(t.title,e.title),valScaling:!F(t.valScaling,e.valScaling),catScaling:!F(t.catScaling,e.catScaling),spPr:!F(t.spPr,e.spPr),txPr:!F(t.txPr,e.txPr)}})}function YM(e){let t=JSON.parse(JSON.stringify(e));return t.rawXml=void 0,t.unknownElements=void 0,t.chartSpace&&(t.chartSpace.chartData=void 0,t.chartSpace.clrMapOvr=void 0,t.chartSpace.extLst=void 0),t.chartSpace?.chart&&(t.chartSpace.chart.title=void 0,t.chartSpace.chart.legend=void 0,t.chartSpace.chart.autoTitleDeleted=void 0,t.chartSpace.chart.plotArea&&(t.chartSpace.chart.plotArea.spPr=void 0,t.chartSpace.chart.plotArea.axis=void 0,t.chartSpace.chart.plotArea.plotAreaRegion&&(t.chartSpace.chart.plotArea.plotAreaRegion.layout=void 0,t.chartSpace.chart.plotArea.plotAreaRegion.plotSurface=void 0,t.chartSpace.chart.plotArea.plotAreaRegion.series=(t.chartSpace.chart.plotArea.plotAreaRegion.series??[]).map(XM)),t.chartSpace.chart.plotArea.series&&(t.chartSpace.chart.plotArea.series=t.chartSpace.chart.plotArea.series.map(XM)))),t}function XM(e){return{...e,hidden:void 0,ownerIdx:void 0,tx:void 0,spPr:void 0,dataRefs:void 0,layoutPr:void 0,axisId:void 0,dataLabels:void 0,dataPt:void 0}}function ZM(e){let t=e.chartSpace?.chart?.plotArea;return t?.plotAreaRegion?.series??t?.series??[]}function QM(e,t,n){let r=e,i=t.chartSpace?.chart;if(i){if(n.data){let e=RP(r,`cx:chartData`);if(!e)return;let n=pN(t.chartSpace?.chartData);r=r.slice(0,e.start)+n+r.slice(e.end)}if(n.title){let e=i.title?.text?.paragraphs?.[0]?.runs?.[0]?.text;r=e===void 0?NP(r,`cx:title`):OP(r,`cx:title`,dN(e),[`cx:autoTitleDeleted`,`cx:plotArea`,`cx:legend`,`cx:spPr`],`cx:chart`)}if(n.autoTitleDeleted&&(r=i.autoTitleDeleted===void 0?NP(r,`cx:autoTitleDeleted`):OP(r,`cx:autoTitleDeleted`,`<cx:autoTitleDeleted val="${i.autoTitleDeleted?`1`:`0`}"/>`,[`cx:plotArea`,`cx:legend`,`cx:spPr`],`cx:chart`)),n.legend&&(r=i.legend===void 0?NP(r,`cx:legend`):OP(r,`cx:legend`,fN(i.legend),[`cx:spPr`],`cx:chart`)),n.chartSpaceSpPr&&(r=kP(r,`cx:spPr`,nP(t.chartSpace?.spPr,`cx`),[`cx:txPr`,`cx:externalData`,`cx:printSettings`,`cx:extLst`],`cx:chartSpace`)),n.plotAreaSpPr||n.plotSurface){let e=RP(r,`cx:plotArea`);if(!e)return;let t=r.slice(e.start,e.end),a=i.plotArea;if(n.plotAreaSpPr&&(t=kP(t,`cx:spPr`,nP(a?.spPr,`cx`),[`cx:extLst`],`cx:plotArea`)),n.plotSurface){let e=RP(t,`cx:plotAreaRegion`);if(!e)return;let n=t.slice(e.start,e.end),r=a?.plotAreaRegion,i=nP(r?.plotSurface,`cx`),o=i?`<cx:plotSurface>${i}</cx:plotSurface>`:void 0;n=kP(n,`cx:plotSurface`,o,[`cx:series`,`cx:extLst`],`cx:plotAreaRegion`),t=t.slice(0,e.start)+n+t.slice(e.end)}r=r.slice(0,e.start)+t+r.slice(e.end)}if(sN(n.series)){let e=mP(r,i,n);if(e===void 0)return;r=e}if(sN(n.axes)){let e=SP(r,i,n.axes);if(e===void 0)return;r=e}return r}}function $M(e,t=!1){if(!e.rawData||!e.preferRawPatch&&!t||!RM(e))return;let n=eN(e);if(n===void 0)return;let r=new TextDecoder().decode(e.rawData),i=r;if(n.title){let t=e.model.chart?.title?.text?.paragraphs?.[0]?.runs?.[0]?.text,n=/<c:title>[\s\S]*?<\/c:title>/.test(i);t!==void 0&&n?i=i.replace(/<c:title>[\s\S]*?<\/c:title>/,lN(t)):t===void 0&&n&&(i=i.replace(/<c:title>[\s\S]*?<\/c:title>/,``))}if(n.legend){let t=e.model.chart?.legend;t===void 0?i=i.replace(/<c:legend>[\s\S]*?<\/c:legend>/,``):/<c:legend>[\s\S]*?<\/c:legend>/.test(i)&&(i=i.replace(/<c:legend>[\s\S]*?<\/c:legend>/,uN(t.legendPos??`b`)))}if(sN(n.series)){let t=gN(i,e.model,n.series);if(t===void 0)return;i=t}if(n.groupDataLabels){let t=wN(i,e.model);if(t===void 0)return;i=t}if(n.groupSimpleFields){let t=bN(i,e.model);if(t===void 0)return;i=t}if(n.plotAreaLayout){let t=TN(i,e.model);if(t===void 0)return;i=t}if(sN(n.axes)){let t=NN(i,e.model,n.axes);if(t===void 0)return;i=t}return i===r?void 0:new TextEncoder().encode(i)}function eN(e){if(e.modelSnapshot===void 0)return{title:!0,legend:!0,series:!0,axes:!0,groupDataLabels:!0,groupSimpleFields:!0,plotAreaLayout:!0};let t;try{t=JSON.parse(e.modelSnapshot)}catch{return}let n=e.model,r=t.chart,i=n.chart,a={title:!1,legend:!1,series:iN(t,n),axes:aN(r?.plotArea?.axes??[],i?.plotArea?.axes??[]),groupDataLabels:!1,groupSimpleFields:!1,plotAreaLayout:!1};if(F(tN(n),tN(t)))return a.title=a.title||!F(r?.title,i?.title),a.legend=a.legend||!F(r?.legend,i?.legend),a.groupDataLabels=!F(rN(t),rN(n)),a.groupSimpleFields=!F(yN(t),yN(n)),a.plotAreaLayout=!F(r?.plotArea?.layout,i?.plotArea?.layout),a.title||a.legend||sN(a.series)||sN(a.axes)||a.groupDataLabels||a.groupSimpleFields||a.plotAreaLayout?a:void 0}function tN(e){let t=JSON.parse(JSON.stringify(e));if(t.extLst=void 0,t.unknownElements=void 0,t.extraNamespaces=void 0,t.alternateContentStyle=void 0,t.clrMapOvr=void 0,t.protection=void 0,t.chart&&(t.chart.title=void 0,t.chart.legend=void 0,t.chart.extLst=void 0,t.chart.plotArea)){t.chart.plotArea.axes=(t.chart.plotArea.axes??[]).map(nN),t.chart.plotArea.layout=void 0,t.chart.plotArea.extLst=void 0;for(let e of t.chart.plotArea.chartTypes??[]){e.dataLabels=void 0,e.extLst=void 0;for(let t of WP)e[t]=void 0;e.series=(e.series??[]).map(e=>({...e,tx:void 0,spPr:void 0,marker:void 0,dataPoints:void 0,trendlines:void 0,errorBars:void 0,cat:void 0,val:void 0,xVal:void 0,yVal:void 0,bubbleSize:void 0,dataLabels:void 0,extLst:void 0}))}}return t}function nN(e){return{...e,scaling:void 0,delete:void 0,majorGridlines:void 0,minorGridlines:void 0,title:void 0,numFmt:void 0,majorTickMark:void 0,minorTickMark:void 0,tickLblPos:void 0,spPr:void 0,txPr:void 0,crosses:void 0,crossesAt:void 0,auto:void 0,lblAlgn:void 0,lblOffset:void 0,tickLblSkip:void 0,tickMarkSkip:void 0,noMultiLvlLbl:void 0,crossBetween:void 0,majorUnit:void 0,minorUnit:void 0,baseTimeUnit:void 0,majorTimeUnit:void 0,minorTimeUnit:void 0,extLst:void 0}}function rN(e){return(e.chart?.plotArea?.chartTypes??[]).map(e=>e.dataLabels)}function iN(e,t){let n=oN(e);return oN(t).map((e,t)=>{let r=n[t]??{};return{tx:!F(r.tx,e.tx),spPr:!F(r.spPr,e.spPr),marker:!F(r.marker,e.marker),dataPoints:!F(r.dataPoints,e.dataPoints),trendlines:!F(r.trendlines,e.trendlines),errorBars:!F(r.errorBars,e.errorBars),cat:!F(r.cat,e.cat),val:!F(r.val,e.val),xVal:!F(r.xVal,e.xVal),yVal:!F(r.yVal,e.yVal),bubbleSize:!F(r.bubbleSize,e.bubbleSize),dataLabels:!F(r.dataLabels,e.dataLabels)}})}function aN(e,t){let n=new Map(e.map(e=>[e.axId,e]));return t.map(e=>{let t=n.get(e.axId)??{};return{scaling:!F(t.scaling,e.scaling),delete:!F(t.delete,e.delete),title:!F(t.title,e.title),numFmt:!F(t.numFmt,e.numFmt),majorGridlines:!F(t.majorGridlines,e.majorGridlines),minorGridlines:!F(t.minorGridlines,e.minorGridlines),majorTickMark:!F(t.majorTickMark,e.majorTickMark),minorTickMark:!F(t.minorTickMark,e.minorTickMark),tickLblPos:!F(t.tickLblPos,e.tickLblPos),spPr:!F(t.spPr,e.spPr),txPr:!F(t.txPr,e.txPr),crosses:!F(t.crosses,e.crosses),crossesAt:!F(t.crossesAt,e.crossesAt),auto:!F(t.auto,e.auto),lblAlgn:!F(t.lblAlgn,e.lblAlgn),lblOffset:!F(t.lblOffset,e.lblOffset),tickLblSkip:!F(t.tickLblSkip,e.tickLblSkip),tickMarkSkip:!F(t.tickMarkSkip,e.tickMarkSkip),noMultiLvlLbl:!F(t.noMultiLvlLbl,e.noMultiLvlLbl),crossBetween:!F(t.crossBetween,e.crossBetween),majorUnit:!F(t.majorUnit,e.majorUnit),minorUnit:!F(t.minorUnit,e.minorUnit),baseTimeUnit:!F(t.baseTimeUnit,e.baseTimeUnit),majorTimeUnit:!F(t.majorTimeUnit,e.majorTimeUnit),minorTimeUnit:!F(t.minorTimeUnit,e.minorTimeUnit)}})}function oN(e){return(e.chart?.plotArea?.chartTypes??[]).flatMap(e=>(e.series??[]).map(e=>({tx:e.tx,spPr:e.spPr,marker:e.marker,dataPoints:e.dataPoints,trendlines:e.trendlines,errorBars:e.errorBars,cat:e.cat,val:e.val,xVal:e.xVal,yVal:e.yVal,bubbleSize:e.bubbleSize,dataLabels:e.dataLabels})))}function F(e,t){return JSON.stringify(e)===JSON.stringify(t)}function sN(e){return e===!0||Array.isArray(e)&&e.some(e=>Object.values(e).some(Boolean))}function cN(e,t){return e===!0?!0:Array.isArray(e)?e[t]??!1:!1}function I(e,t){return e===!0?!0:e===!1?!1:!!e[t]}function lN(e){return`<c:title><c:tx><c:rich><a:bodyPr/><a:lstStyle/><a:p><a:r><a:t>${zP(e)}</a:t></a:r></a:p></c:rich></c:tx><c:overlay val="0"/></c:title>`}function uN(e){return`<c:legend><c:legendPos val="${e===`b`||e===`l`||e===`r`||e===`t`||e===`tr`?e:`b`}"/><c:overlay val="0"/></c:legend>`}function dN(e){return`<cx:title><cx:tx><cx:rich><a:bodyPr/><a:lstStyle/><a:p><a:r><a:t>${zP(e)}</a:t></a:r></a:p></cx:rich></cx:tx><cx:overlay val="0"/></cx:title>`}function fN(e){return T().renderChartExLegendXml(e).split(`
433
+ `).map(e=>e.replace(/^\s*/,``)).join(``)}function pN(e){let t=[`<cx:chartData>`];for(let n of e?.data??[])t.push(`<cx:data id="${n.id}">`),n.strDim&&t.push(mN(n.strDim)),n.numDim&&t.push(hN(n.numDim)),t.push(`</cx:data>`);return t.push(`</cx:chartData>`),t.join(``)}function mN(e){let t=[`<cx:strDim type="${BP(e.type)}">`];e.formula&&t.push(`<cx:f>${zP(e.formula)}</cx:f>`);for(let n of e.levels??[]){let e=n.ptCount??n.points?.length??0;if(!n.points?.length)t.push(`<cx:lvl ptCount="${e}"/>`);else{t.push(`<cx:lvl ptCount="${e}">`);for(let e of n.points)t.push(`<cx:pt idx="${e.index}">${zP(String(e.value))}</cx:pt>`);t.push(`</cx:lvl>`)}}return t.push(`</cx:strDim>`),t.join(``)}function hN(e){let t=[`<cx:numDim type="${BP(e.type)}">`];e.formula&&t.push(`<cx:f>${zP(e.formula)}</cx:f>`);for(let n of e.levels??[]){let e=n.ptCount??n.points?.length??0,r=n.formatCode?` formatCode="${BP(n.formatCode)}"`:``;if(!n.points?.length)t.push(`<cx:lvl ptCount="${e}"${r}/>`);else{t.push(`<cx:lvl ptCount="${e}"${r}>`);for(let e of n.points)t.push(`<cx:pt idx="${e.index}">${zP(String(e.value))}</cx:pt>`);t.push(`</cx:lvl>`)}}return t.push(`</cx:numDim>`),t.join(``)}function gN(e,t,n){let r=[];for(let e of t.chart?.plotArea?.chartTypes??[])for(let t of e.series??[])r.push({series:t,chartType:e.type});let i=0;return IP(e,`c:ser`,e=>{let t=r[i++],a=cN(n,i-1);return t&&a?_N(e,t.series,a,t.chartType):e})}function _N(e,t,n,r){let i=e;if(I(n,`tx`)&&t.tx){let e=HN(t.tx);i=DP(i,`c:tx`,e,[`c:spPr`,`c:cat`,`c:xVal`,`c:val`,`c:yVal`,`c:bubbleSize`])}I(n,`spPr`)&&(i=kP(i,`c:spPr`,nP(t.spPr,`c`),[`c:marker`,`c:invertIfNegative`,`c:pictureOptions`,`c:dPt`,`c:dLbls`,`c:trendline`,`c:errBars`,`c:cat`,`c:xVal`,`c:val`,`c:yVal`,`c:bubbleSize`,`c:smooth`,`c:shape`,`c:extLst`],`c:ser`)),I(n,`marker`)&&(i=kP(i,`c:marker`,UN(t.marker),[`c:dPt`,`c:dLbls`,`c:trendline`,`c:errBars`,`c:cat`,`c:xVal`,`c:val`,`c:yVal`,`c:bubbleSize`,`c:smooth`,`c:extLst`],`c:ser`));for(let[e,r]of[[`c:cat`,t.cat],[`c:val`,t.val],[`c:xVal`,t.xVal],[`c:yVal`,t.yVal],[`c:bubbleSize`,t.bubbleSize]])if(I(n,vN(e))){if(!r){i=NP(i,e);continue}let t=ZN(e,r);if(!t)return;i=DP(i,e,t,[`c:smooth`,`c:shape`,`c:extLst`])}if(I(n,`dataPoints`)){let e=WN(t.dataPoints);i=MP(i,`c:dPt`,e,[`c:dLbls`,`c:trendline`,`c:errBars`,`c:cat`,`c:xVal`,`c:val`,`c:yVal`,`c:bubbleSize`,`c:smooth`,`c:shape`,`c:extLst`],`c:ser`)}if(I(n,`trendlines`)){let e=KN(t.trendlines);i=MP(i,`c:trendline`,e,[`c:errBars`,`c:cat`,`c:xVal`,`c:val`,`c:yVal`,`c:bubbleSize`,`c:smooth`,`c:shape`,`c:extLst`],`c:ser`)}if(I(n,`errorBars`)){let e=YN(t.errorBars);i=MP(i,`c:errBars`,e,[`c:cat`,`c:xVal`,`c:val`,`c:yVal`,`c:bubbleSize`,`c:smooth`,`c:shape`,`c:extLst`],`c:ser`)}return I(n,`dataLabels`)&&(i=t.dataLabels?DP(i,`c:dLbls`,jN(t.dataLabels,{suppressDLblPos:r===`doughnut`}),[`c:trendline`,`c:errBars`,`c:cat`,`c:xVal`,`c:val`,`c:yVal`,`c:bubbleSize`,`c:smooth`,`c:shape`,`c:extLst`]):i.replace(/<c:dLbls>[\s\S]*?<\/c:dLbls>/,``)),i}function vN(e){switch(e){case`c:cat`:return`cat`;case`c:val`:return`val`;case`c:xVal`:return`xVal`;case`c:yVal`:return`yVal`;default:return`bubbleSize`}}function yN(e){return(e.chart?.plotArea?.chartTypes??[]).map(e=>{let t={type:e.type};for(let n of WP)e[n]!==void 0&&(t[n]=e[n]);return t})}function bN(e,t){let n=e;for(let e of t.chart?.plotArea?.chartTypes??[]){let t=ON(e);if(!t)return;let r=RP(n,t);if(!r)return;let{xml:i,seriesBlocks:a}=kN(n.slice(r.start,r.end),e=>e),o=i;for(let t of WP){let n=UP[t],r=e[t];o=xN(o,n,r)}let s=AN(o,a);n=n.slice(0,r.start)+s+n.slice(r.end)}return n}function xN(e,t,n){let r=RegExp(`<${SN(t)}(?:\\s+[^/>]*)?/>`,`g`);if(n===void 0)return e.replace(r,``);let i=`<${t} val="${CN(n)}"/>`;if(r.test(e))return e.replace(r,i);let a=HP.indexOf(t);if(a<0)return e;let o=HP.slice(a+1);for(let t of o){let n=e.indexOf(`<${t}`);if(n>=0)return e.slice(0,n)+i+e.slice(n)}let s=/<\/c:\w+Chart>\s*$/.exec(e);if(s){let t=s.index;return e.slice(0,t)+i+e.slice(t)}return e}function SN(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function CN(e){return typeof e==`boolean`?e?`1`:`0`:typeof e==`number`?Number.isFinite(e)?String(e):``:Jd(String(e))}function wN(e,t){let n=e;for(let e of t.chart?.plotArea?.chartTypes??[]){let t=ON(e);if(!t)return;let r=RP(n,t);if(!r)return;let i=DN(n.slice(r.start,r.end),e);n=n.slice(0,r.start)+i+n.slice(r.end)}return n}function TN(e,t){let n=t.chart?.plotArea,r=RP(e,`c:plotArea`);if(!r||!n)return;let i=e.slice(r.start,r.end),a=n.layout?EN(n.layout):``,o=a?OP(i,`c:layout`,a,[`c:areaChart`,`c:area3DChart`,`c:barChart`,`c:bar3DChart`,`c:lineChart`,`c:line3DChart`,`c:pieChart`,`c:pie3DChart`,`c:doughnutChart`,`c:scatterChart`,`c:bubbleChart`,`c:radarChart`,`c:stockChart`,`c:surfaceChart`,`c:surface3DChart`,`c:ofPieChart`,`c:catAx`,`c:valAx`,`c:serAx`,`c:dateAx`,`c:spPr`],`c:plotArea`):NP(i,`c:layout`);return e.slice(0,r.start)+o+e.slice(r.end)}function EN(e,t=`c`){if(!e?.manualLayout)return`<${t}:layout/>`;let n=e.manualLayout,r=[`<${t}:layout><${t}:manualLayout>`];for(let[e,i]of[[`layoutTarget`,n.layoutTarget],[`xMode`,n.xMode],[`yMode`,n.yMode],[`wMode`,n.wMode],[`hMode`,n.hMode],[`x`,n.x],[`y`,n.y],[`w`,n.w],[`h`,n.h]])i!==void 0&&r.push(`<${t}:${e} val="${BP(String(i))}"/>`);return r.push(`</${t}:manualLayout></${t}:layout>`),r.join(``)}function DN(e,t){let n=kN(e,e=>e);return t.dataLabels?AN(DP(n.xml,`c:dLbls`,jN(t.dataLabels,{suppressDLblPos:t.type===`doughnut`}),[`c:gapWidth`,`c:overlap`,`c:serLines`,`c:axId`,`c:firstSliceAng`,`c:holeSize`,`c:extLst`]),n.seriesBlocks):AN(n.xml.replace(/<c:dLbls>[\s\S]*?<\/c:dLbls>/,``),n.seriesBlocks)}function ON(e){return{bar:`c:barChart`,bar3D:`c:bar3DChart`,line:`c:lineChart`,line3D:`c:line3DChart`,pie:`c:pieChart`,pie3D:`c:pie3DChart`,doughnut:`c:doughnutChart`,area:`c:areaChart`,area3D:`c:area3DChart`,scatter:`c:scatterChart`,bubble:`c:bubbleChart`,radar:`c:radarChart`,stock:`c:stockChart`,surface:`c:surfaceChart`,surface3D:`c:surface3DChart`,ofPie:`c:ofPieChart`}[e.type]}function kN(e,t){let n=[],r=0,i=``;for(;r<e.length;){let a=RP(e,`c:ser`,r);if(!a){i+=e.slice(r);break}i+=e.slice(r,a.start);let o=`__EXCELTS_SER_${n.length}__`;n.push(t(e.slice(a.start,a.end))),i+=o,r=a.end}return{xml:i,seriesBlocks:n}}function AN(e,t){return t.reduce((e,t,n)=>e.replace(`__EXCELTS_SER_${n}__`,t),e)}function jN(e,t){let n=[`<c:dLbls>`];if(Array.isArray(e.entries))for(let r of e.entries)n.push(MN(r,t));if(e.numFmt?.formatCode){let t=e.numFmt.sourceLinked===void 0||e.numFmt.sourceLinked?`1`:`0`;n.push(`<c:numFmt formatCode="${BP(e.numFmt.formatCode)}" sourceLinked="${t}"/>`)}e.spPr&&n.push(nP(e.spPr,`c`)??``),e.txPr&&n.push(rP(e.txPr,`c`)??``),e.position!==void 0&&!t?.suppressDLblPos&&n.push(`<c:dLblPos val="${BP(String(e.position))}"/>`);let r=[[`showLegendKey`,e.showLegendKey],[`showVal`,e.showVal],[`showCatName`,e.showCatName],[`showSerName`,e.showSerName],[`showPercent`,e.showPercent],[`showBubbleSize`,e.showBubbleSize]];for(let[e,t]of r)t!==void 0&&n.push(`<c:${e} val="${t?`1`:`0`}"/>`);return e.separator!==void 0&&n.push(`<c:separator>${zP(String(e.separator))}</c:separator>`),e.showLeaderLines!==void 0&&n.push(`<c:showLeaderLines val="${e.showLeaderLines?`1`:`0`}"/>`),e.extLst&&n.push(e.extLst),n.push(`</c:dLbls>`),n.join(``)}function MN(e,t){let n=[`<c:dLbl>`,`<c:idx val="${e.index??0}"/>`];if(e.delete)return n.push(`<c:delete val="1"/>`),e.extLst&&n.push(e.extLst),n.push(`</c:dLbl>`),n.join(``);e.layout&&n.push(EN(e.layout)),e.rawTx?n.push(e.rawTx):e.text?.paragraphs?.[0]?.runs?.[0]?.text!==void 0&&n.push(`<c:tx><c:rich><a:bodyPr/><a:lstStyle/><a:p><a:r><a:t>${zP(String(e.text.paragraphs[0].runs[0].text))}</a:t></a:r></a:p></c:rich></c:tx>`),e.numFmt?.formatCode&&n.push(`<c:numFmt formatCode="${BP(e.numFmt.formatCode)}" sourceLinked="${e.numFmt.sourceLinked?`1`:`0`}"/>`),e.spPr&&n.push(nP(e.spPr,`c`)??``),e.txPr&&n.push(rP(e.txPr,`c`)??``),e.position!==void 0&&!t?.suppressDLblPos&&n.push(`<c:dLblPos val="${BP(String(e.position))}"/>`);for(let[t,r]of[[`showLegendKey`,e.showLegendKey],[`showVal`,e.showVal],[`showCatName`,e.showCatName],[`showSerName`,e.showSerName],[`showPercent`,e.showPercent],[`showBubbleSize`,e.showBubbleSize]])r!==void 0&&n.push(`<c:${t} val="${r?`1`:`0`}"/>`);return e.separator!==void 0&&n.push(`<c:separator>${zP(String(e.separator))}</c:separator>`),e.extLst&&n.push(e.extLst),n.push(`</c:dLbl>`),n.join(``)}function NN(e,t,n){let r=e;for(let[e,i]of(t.chart?.plotArea?.axes??[]).entries()){let t=cN(n,e);if(!t)continue;let a=i.axisType===`cat`?`c:catAx`:i.axisType===`val`?`c:valAx`:i.axisType===`date`?`c:dateAx`:`c:serAx`,o=LP(r,a,i.axId);if(!o)return;let s=PN(o.xml,i,t);if(!s)return;r=r.slice(0,o.start)+s+r.slice(o.end)}return r}function PN(e,t,n){let r=e,i=FN(t);if(I(n,`scaling`)&&(r=kP(r,`c:scaling`,LN(t.scaling),[`c:delete`,`c:axPos`],i)),I(n,`delete`)&&(r=VN(r,`c:delete`,t.delete,[`c:axPos`],i)),I(n,`title`))if(t.title){let e=t.title.text?.paragraphs?.[0]?.runs?.[0]?.text;e!==void 0&&(r=DP(r,`c:title`,lN(e),[`c:numFmt`,`c:majorGridlines`,`c:minorGridlines`,`c:majorUnit`,`c:minorUnit`,`c:majorTickMark`,`c:minorTickMark`,`c:tickLblPos`]))}else r=r.replace(/<c:title>[\s\S]*?<\/c:title>/,``);return I(n,`numFmt`)&&(r=kP(r,`c:numFmt`,RN(t.numFmt),[`c:majorGridlines`,`c:minorGridlines`,`c:majorUnit`,`c:minorUnit`,`c:majorTickMark`,`c:minorTickMark`,`c:tickLblPos`,`c:spPr`,`c:txPr`,`c:crossAx`],i)),I(n,`majorGridlines`)&&(r=zN(r,`c:majorGridlines`,t.majorGridlines,[`c:minorGridlines`,`c:title`,`c:numFmt`,`c:majorUnit`,`c:minorUnit`,`c:majorTickMark`,`c:minorTickMark`,`c:tickLblPos`,`c:spPr`,`c:txPr`,`c:crossAx`],i)),I(n,`minorGridlines`)&&(r=zN(r,`c:minorGridlines`,t.minorGridlines,[`c:title`,`c:numFmt`,`c:majorUnit`,`c:minorUnit`,`c:majorTickMark`,`c:minorTickMark`,`c:tickLblPos`,`c:spPr`,`c:txPr`,`c:crossAx`],i)),I(n,`majorTickMark`)&&(r=BN(r,`c:majorTickMark`,t.majorTickMark,[`c:minorTickMark`,`c:tickLblPos`,`c:spPr`,`c:txPr`,`c:crossAx`],i)),I(n,`minorTickMark`)&&(r=BN(r,`c:minorTickMark`,t.minorTickMark,[`c:tickLblPos`,`c:spPr`,`c:txPr`,`c:crossAx`],i)),I(n,`tickLblPos`)&&(r=BN(r,`c:tickLblPos`,t.tickLblPos,[`c:spPr`,`c:txPr`,`c:crossAx`],i)),I(n,`spPr`)&&(r=kP(r,`c:spPr`,nP(t.spPr,`c`),[`c:txPr`,`c:crossAx`],i)),I(n,`txPr`)&&(r=kP(r,`c:txPr`,rP(t.txPr,`c`),[`c:crossAx`],i)),I(n,`crosses`)&&(r=BN(r,`c:crosses`,t.crosses,[`c:crossesAt`,`c:auto`,`c:lblAlgn`,`c:lblOffset`,`c:tickLblSkip`,`c:tickMarkSkip`,`c:noMultiLvlLbl`,`c:crossBetween`,`c:majorUnit`,`c:minorUnit`,`c:baseTimeUnit`,`c:majorTimeUnit`,`c:minorTimeUnit`,`c:dispUnits`,`c:extLst`],i)),I(n,`crossesAt`)&&(r=BN(r,`c:crossesAt`,t.crossesAt,[`c:auto`,`c:lblAlgn`,`c:lblOffset`,`c:tickLblSkip`,`c:tickMarkSkip`,`c:noMultiLvlLbl`,`c:crossBetween`,`c:majorUnit`,`c:minorUnit`,`c:baseTimeUnit`,`c:majorTimeUnit`,`c:minorTimeUnit`,`c:dispUnits`,`c:extLst`],i)),r=IN(r,t,n),r}function FN(e){return e.axisType===`cat`?`c:catAx`:e.axisType===`val`?`c:valAx`:e.axisType===`date`?`c:dateAx`:`c:serAx`}function IN(e,t,n){let r=FN(t),i=e;return I(n,`auto`)&&(i=VN(i,`c:auto`,t.auto,[`c:lblAlgn`,`c:lblOffset`,`c:tickLblSkip`,`c:tickMarkSkip`,`c:noMultiLvlLbl`,`c:extLst`],r)),I(n,`lblAlgn`)&&(i=BN(i,`c:lblAlgn`,t.lblAlgn,[`c:lblOffset`,`c:tickLblSkip`,`c:tickMarkSkip`,`c:noMultiLvlLbl`,`c:extLst`],r)),I(n,`lblOffset`)&&(i=BN(i,`c:lblOffset`,t.lblOffset,[`c:tickLblSkip`,`c:tickMarkSkip`,`c:noMultiLvlLbl`,`c:extLst`],r)),I(n,`tickLblSkip`)&&(i=BN(i,`c:tickLblSkip`,t.tickLblSkip,[`c:tickMarkSkip`,`c:noMultiLvlLbl`,`c:extLst`],r)),I(n,`tickMarkSkip`)&&(i=BN(i,`c:tickMarkSkip`,t.tickMarkSkip,[`c:noMultiLvlLbl`,`c:extLst`],r)),I(n,`noMultiLvlLbl`)&&(i=VN(i,`c:noMultiLvlLbl`,t.noMultiLvlLbl,[`c:extLst`],r)),I(n,`crossBetween`)&&(i=BN(i,`c:crossBetween`,t.crossBetween,[`c:majorUnit`,`c:minorUnit`,`c:dispUnits`,`c:extLst`],r)),I(n,`majorUnit`)&&(i=BN(i,`c:majorUnit`,t.majorUnit,[`c:minorUnit`,`c:dispUnits`,`c:extLst`],r)),I(n,`minorUnit`)&&(i=BN(i,`c:minorUnit`,t.minorUnit,[`c:dispUnits`,`c:extLst`],r)),I(n,`baseTimeUnit`)&&(i=BN(i,`c:baseTimeUnit`,t.baseTimeUnit,[`c:majorUnit`,`c:majorTimeUnit`,`c:minorUnit`,`c:minorTimeUnit`,`c:extLst`],r)),I(n,`majorTimeUnit`)&&(i=BN(i,`c:majorTimeUnit`,t.majorTimeUnit,[`c:minorUnit`,`c:minorTimeUnit`,`c:extLst`],r)),I(n,`minorTimeUnit`)&&(i=BN(i,`c:minorTimeUnit`,t.minorTimeUnit,[`c:extLst`],r)),i}function LN(e){if(!e)return``;let t=[`<c:scaling>`];return e.logBase!==void 0&&Number.isFinite(e.logBase)&&e.logBase>0&&t.push(`<c:logBase val="${e.logBase}"/>`),e.orientation!==void 0&&t.push(`<c:orientation val="${BP(e.orientation)}"/>`),e.max!==void 0&&Number.isFinite(e.max)&&t.push(`<c:max val="${e.max}"/>`),e.min!==void 0&&Number.isFinite(e.min)&&t.push(`<c:min val="${e.min}"/>`),t.push(`</c:scaling>`),t.join(``)}function RN(e){if(!e?.formatCode)return``;let t=e.sourceLinked===void 0||e.sourceLinked?`1`:`0`;return`<c:numFmt formatCode="${BP(e.formatCode)}" sourceLinked="${t}"/>`}function zN(e,t,n,r,i){return kP(e,t,n?`<${t}>${nP(n,`c`)??``}</${t}>`:``,r,i)}function BN(e,t,n,r,i){return kP(e,t,n===void 0?``:`<${t} val="${BP(String(n))}"/>`,r,i)}function VN(e,t,n,r,i){return kP(e,t,n===void 0?``:`<${t} val="${n?`1`:`0`}"/>`,r,i)}function HN(e){return e.strRef?.formula?`<c:tx>${$N(e.strRef)}</c:tx>`:`<c:tx><c:v>${zP(String(e.value??``))}</c:v></c:tx>`}function UN(e){if(!e)return``;let t=[`<c:marker>`];return e.symbol&&t.push(`<c:symbol val="${BP(String(e.symbol))}"/>`),e.size!==void 0&&t.push(`<c:size val="${e.size}"/>`),e.spPr&&t.push(nP(e.spPr,`c`)??``),e.extLst&&t.push(e.extLst),t.push(`</c:marker>`),t.join(``)}function WN(e){return!Array.isArray(e)||e.length===0?``:e.map(GN).join(``)}function GN(e){let t=[`<c:dPt>`,`<c:idx val="${e.index??0}"/>`];return e.invertIfNegative!==void 0&&t.push(`<c:invertIfNegative val="${e.invertIfNegative?`1`:`0`}"/>`),e.marker&&t.push(UN(e.marker)),e.bubble3D!==void 0&&t.push(`<c:bubble3D val="${e.bubble3D?`1`:`0`}"/>`),e.explosion!==void 0&&t.push(`<c:explosion val="${e.explosion}"/>`),e.spPr&&t.push(nP(e.spPr,`c`)??``),e.extLst&&t.push(e.extLst),t.push(`</c:dPt>`),t.join(``)}function KN(e){return!Array.isArray(e)||e.length===0?``:e.map(qN).join(``)}function qN(e){let t=[`<c:trendline>`];e.name&&t.push(`<c:name>${zP(String(e.name))}</c:name>`),e.spPr&&t.push(nP(e.spPr,`c`)??``),t.push(`<c:trendlineType val="${BP(String(e.type??`linear`))}"/>`);for(let n of[`order`,`period`,`forward`,`backward`,`intercept`])e[n]!==void 0&&t.push(`<c:${n} val="${e[n]}"/>`);return e.displayRSqr!==void 0&&t.push(`<c:dispRSqr val="${e.displayRSqr?`1`:`0`}"/>`),e.displayEq!==void 0&&t.push(`<c:dispEq val="${e.displayEq?`1`:`0`}"/>`),e.trendlineLbl&&t.push(JN(e.trendlineLbl)),e.extLst&&t.push(e.extLst),t.push(`</c:trendline>`),t.join(``)}function JN(e){let t=[`<c:trendlineLbl>`];return e.layout&&t.push(EN(e.layout)),e.rawTx?t.push(e.rawTx):e.text?.paragraphs?.[0]?.runs?.[0]?.text!==void 0&&t.push(`<c:tx><c:rich><a:bodyPr/><a:lstStyle/><a:p><a:r><a:t>${zP(String(e.text.paragraphs[0].runs[0].text))}</a:t></a:r></a:p></c:rich></c:tx>`),e.numFmt?.formatCode&&t.push(`<c:numFmt formatCode="${BP(e.numFmt.formatCode)}" sourceLinked="${e.numFmt.sourceLinked?`1`:`0`}"/>`),e.spPr&&t.push(nP(e.spPr,`c`)??``),e.txPr&&t.push(rP(e.txPr,`c`)??``),e.extLst&&t.push(e.extLst),t.push(`</c:trendlineLbl>`),t.join(``)}function YN(e){return(Array.isArray(e)?e:e?[e]:[]).map(XN).join(``)}function XN(e){let t=[`<c:errBars>`];return e.errDir&&t.push(`<c:errDir val="${BP(String(e.errDir))}"/>`),t.push(`<c:errBarType val="${BP(String(e.barDir??`both`))}"/>`),t.push(`<c:errValType val="${BP(String(e.errValType??`fixedVal`))}"/>`),e.noEndCap!==void 0&&t.push(`<c:noEndCap val="${e.noEndCap?`1`:`0`}"/>`),e.val!==void 0&&t.push(`<c:val val="${e.val}"/>`),e.plus&&t.push(ZN(`c:plus`,e.plus)??``),e.minus&&t.push(ZN(`c:minus`,e.minus)??``),e.spPr&&t.push(nP(e.spPr,`c`)??``),e.extLst&&t.push(e.extLst),t.push(`</c:errBars>`),t.join(``)}function ZN(e,t){if(t.strRef)return`<${e}>${$N(t.strRef)}</${e}>`;if(t.numRef)return`<${e}>${QN(t.numRef)}</${e}>`}function QN(e){return`<c:numRef><c:f>${zP(e.formula)}</c:f>${eP(e.cache)}</c:numRef>`}function $N(e){return`<c:strRef><c:f>${zP(e.formula)}</c:f>${tP(e.cache)}</c:strRef>`}function eP(e){if(!e)return``;let t=[`<c:numCache>`];e.formatCode&&t.push(`<c:formatCode>${zP(e.formatCode)}</c:formatCode>`),e.pointCount!==void 0&&t.push(`<c:ptCount val="${e.pointCount}"/>`);for(let n of e.points??[])n.value!==null&&n.value!==void 0&&t.push(`<c:pt idx="${n.index}"><c:v>${zP(String(n.value))}</c:v></c:pt>`);return t.push(`</c:numCache>`),t.join(``)}function tP(e){if(!e)return``;let t=[`<c:strCache>`];e.pointCount!==void 0&&t.push(`<c:ptCount val="${e.pointCount}"/>`);for(let n of e.points??[])t.push(`<c:pt idx="${n.index}"><c:v>${zP(String(n.value))}</c:v></c:pt>`);return t.push(`</c:strCache>`),t.join(``)}function nP(e,t){if(!e)return``;if(e._rawXml)return iP(e._rawXml,`spPr`,t);let n=new ig,r=t;if(n.openNode(`${r}:spPr`),e.fill?.noFill)n.leafNode(`a:noFill`);else if(e.fill?.solid)n.openNode(`a:solidFill`),oP(n,e.fill.solid),n.closeNode();else if(e.fill?.gradient)sP(n,e.fill.gradient);else if(e.fill?.pattern){let t=e.fill.pattern;n.openNode(`a:pattFill`,{prst:t.preset}),t.foreground&&(n.openNode(`a:fgClr`),oP(n,t.foreground),n.closeNode()),t.background&&(n.openNode(`a:bgClr`),oP(n,t.background),n.closeNode()),n.closeNode()}if(e.line){let t={};e.line.width&&(t.w=String(e.line.width)),e.line.cap&&(t.cap=e.line.cap),e.line.compound&&(t.cmpd=e.line.compound),n.openNode(`a:ln`,t),e.line.noFill?n.leafNode(`a:noFill`):e.line.color&&(n.openNode(`a:solidFill`),oP(n,e.line.color),n.closeNode()),e.line.dash&&n.leafNode(`a:prstDash`,{val:e.line.dash}),e.line.join===`round`?n.leafNode(`a:round`):e.line.join===`bevel`?n.leafNode(`a:bevel`):e.line.join===`miter`&&n.leafNode(`a:miter`),n.closeNode()}return e.effectList&&cP(n,e.effectList),e.scene3d&&uP(n,e.scene3d),e.sp3d&&dP(n,e.sp3d),n.closeNode(),n.toString()}function rP(e,t){if(!e)return``;if(typeof e==`string`)return iP(e,`txPr`,t);if(e._rawXml)return iP(e._rawXml,`txPr`,t);let n=new ig;return n.openNode(`${t}:txPr`),n.leafNode(`a:bodyPr`,e.rotation===void 0?void 0:{rot:String(e.rotation)}),n.leafNode(`a:lstStyle`),n.openNode(`a:p`),n.openNode(`a:pPr`),aP(n,e,`a:defRPr`),n.closeNode(),n.leafNode(`a:endParaRPr`),n.closeNode(),n.closeNode(),n.toString()}function iP(e,t,n){return e.replace(RegExp(`^<(?:c|cx):${t}`),`<${n}:${t}`).replace(RegExp(`</(?:c|cx):${t}>$`),`</${n}:${t}>`)}function aP(e,t,n){let r={};if(t.size!==void 0&&(r.sz=String(t.size)),t.bold!==void 0&&(r.b=t.bold?`1`:`0`),t.italic!==void 0&&(r.i=t.italic?`1`:`0`),t.underline!==void 0&&(r.u=typeof t.underline==`boolean`?t.underline?`sng`:`none`:t.underline),t.strike&&(r.strike=t.strike),t.rotation!==void 0&&(r.rot=String(t.rotation)),t.baseline!==void 0&&(r.baseline=String(t.baseline)),t.kern!==void 0&&(r.kern=String(t.kern)),t.spacing!==void 0&&(r.spc=String(t.spacing)),t.cap&&(r.cap=t.cap),t.lang&&(r.lang=t.lang),!(t.color||t.fontFamily||t.eastAsianFamily||t.complexScriptFamily)){e.leafNode(n,r);return}e.openNode(n,r),t.color&&(e.openNode(`a:solidFill`),oP(e,t.color),e.closeNode()),t.fontFamily&&e.leafNode(`a:latin`,{typeface:t.fontFamily}),t.eastAsianFamily&&e.leafNode(`a:ea`,{typeface:t.eastAsianFamily}),t.complexScriptFamily&&e.leafNode(`a:cs`,{typeface:t.complexScriptFamily}),e.closeNode()}function oP(e,t){let n=pP(t),r=(t,r)=>{if(!n){e.leafNode(t,{val:r});return}e.openNode(t,{val:r}),e.writeRaw(n),e.closeNode()};t.srgb?r(`a:srgbClr`,t.srgb):t.theme===void 0?t.schemeName?r(`a:schemeClr`,t.schemeName):t.sysClr?r(`a:sysClr`,t.sysClr):t.prstClr&&r(`a:prstClr`,t.prstClr):r(`a:schemeClr`,[`dk1`,`lt1`,`dk2`,`lt2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`][t.theme]??`dk1`)}function sP(e,t){if(!(!Array.isArray(t.stops)||t.stops.length<2)){e.openNode(`a:gradFill`),e.openNode(`a:gsLst`);for(let n of t.stops){let t=Math.max(0,Math.min(1e5,Math.round(n.position*1e5)));e.openNode(`a:gs`,{pos:String(t)}),oP(e,n.color),e.closeNode()}if(e.closeNode(),t.type===`circle`||t.type===`rect`||t.type===`shape`){let n=t.fillToRect,r=(e,t)=>e===void 0?t:Math.round(e*1e5);e.openNode(`a:path`,{path:t.type}),e.leafNode(`a:fillToRect`,{l:String(r(n?.left,5e4)),t:String(r(n?.top,5e4)),r:String(r(n?.right,5e4)),b:String(r(n?.bottom,5e4))}),e.closeNode()}else{let n={ang:String(Math.round((t.angle??0)*6e4))};t.scaled!==void 0&&(n.scaled=t.scaled?`1`:`0`),e.leafNode(`a:lin`,n)}e.closeNode()}}function cP(e,t){if(e.openNode(`a:effectLst`),t.blur){let n={};t.blur.radius!==void 0&&(n.rad=String(t.blur.radius)),t.blur.grow!==void 0&&(n.grow=t.blur.grow?`1`:`0`),e.leafNode(`a:blur`,n)}if(t.outerShadow&&lP(e,`a:outerShdw`,t.outerShadow),t.innerShadow&&lP(e,`a:innerShdw`,t.innerShadow),t.presetShadow){let n=t.presetShadow,r={prst:n.preset};n.distance!==void 0&&(r.dist=String(n.distance)),n.direction!==void 0&&(r.dir=String(n.direction)),e.openNode(`a:prstShdw`,r),n.color&&oP(e,n.color),e.closeNode()}if(t.glow&&(e.openNode(`a:glow`,{rad:String(t.glow.radius)}),oP(e,t.glow.color),e.closeNode()),t.softEdge&&e.leafNode(`a:softEdge`,{rad:String(t.softEdge.radius)}),t.reflection){let n=t.reflection,r={};for(let[e,t]of[[`blurRad`,n.blurRadius],[`stA`,n.startOpacity],[`stPos`,n.startPosition],[`endA`,n.endOpacity],[`endPos`,n.endPosition],[`dist`,n.distance],[`dir`,n.direction],[`fadeDir`,n.fadeDirection],[`sx`,n.scaleHorizontal],[`sy`,n.scaleVertical],[`kx`,n.skewHorizontal],[`ky`,n.skewVertical],[`algn`,n.alignment],[`rotWithShape`,n.rotateWithShape]])t!==void 0&&(r[e]=typeof t==`boolean`?t?`1`:`0`:String(t));e.leafNode(`a:reflection`,r)}e.closeNode()}function lP(e,t,n){let r={};for(let[e,t]of[[`blurRad`,n.blurRadius],[`dist`,n.distance],[`dir`,n.direction],[`algn`,n.alignment],[`rotWithShape`,n.rotateWithShape],[`sx`,n.scaleHorizontal],[`sy`,n.scaleVertical],[`kx`,n.skewHorizontal],[`ky`,n.skewVertical]])t!==void 0&&(r[e]=typeof t==`boolean`?t?`1`:`0`:String(t));e.openNode(t,r),oP(e,n.color),e.closeNode()}function uP(e,t){if(e.openNode(`a:scene3d`),t.camera){let n=t.camera,r={prst:n.preset};n.fov!==void 0&&(r.fov=String(n.fov)),n.zoom!==void 0&&(r.zoom=String(n.zoom)),n.rotation?(e.openNode(`a:camera`,r),e.leafNode(`a:rot`,{lat:String(n.rotation.lat),lon:String(n.rotation.lon),rev:String(n.rotation.rev)}),e.closeNode()):e.leafNode(`a:camera`,r)}if(t.lightRig){let n=t.lightRig,r={rig:n.rig,dir:n.direction};n.rotation?(e.openNode(`a:lightRig`,r),e.leafNode(`a:rot`,{lat:String(n.rotation.lat),lon:String(n.rotation.lon),rev:String(n.rotation.rev)}),e.closeNode()):e.leafNode(`a:lightRig`,r)}e.closeNode()}function dP(e,t){let n={};if(t.z!==void 0&&(n.z=String(t.z)),t.extrusionHeight!==void 0&&(n.extrusionH=String(t.extrusionHeight)),t.contourWidth!==void 0&&(n.contourW=String(t.contourWidth)),t.material&&(n.prstMaterial=t.material),!(t.bevelTop||t.bevelBottom||t.extrusionColor||t.contourColor)){e.leafNode(`a:sp3d`,n);return}e.openNode(`a:sp3d`,n),t.bevelTop&&fP(e,`a:bevelT`,t.bevelTop),t.bevelBottom&&fP(e,`a:bevelB`,t.bevelBottom),t.extrusionColor&&(e.openNode(`a:extrusionClr`),oP(e,t.extrusionColor),e.closeNode()),t.contourColor&&(e.openNode(`a:contourClr`),oP(e,t.contourColor),e.closeNode()),e.closeNode()}function fP(e,t,n){let r={};n.width!==void 0&&(r.w=String(n.width)),n.height!==void 0&&(r.h=String(n.height)),n.preset&&(r.prst=n.preset),e.leafNode(t,r)}function pP(e){let t=[],n=(e,n)=>{n===void 0||!Number.isFinite(n)||t.push(`<a:${e} val="${Math.round(n)}"/>`)};return n(`alpha`,e.alpha),e.tint!==void 0&&Number.isFinite(e.tint)&&t.push(`<a:tint val="${Math.round(e.tint*1e5)}"/>`),n(`shade`,e.shade),n(`satMod`,e.satMod),n(`lumMod`,e.lumMod),n(`lumOff`,e.lumOff),t.join(``)}function mP(e,t,n){let r=ZM({chartSpace:{chart:t}}),i=0;return IP(e,`cx:series`,e=>{let t=r[i++],a=cN(n.series,i-1);return t&&a?hP(e,t,a):e})}function hP(e,t,n){let r=[`cx:spPr`,`cx:txPr`,`cx:valueColors`,`cx:valueColorPositions`,`cx:dataPt`,`cx:dataLabels`,`cx:dataId`,`cx:layoutPr`,`cx:axisId`,`cx:extLst`],i=[`cx:txPr`,`cx:valueColors`,`cx:valueColorPositions`,`cx:dataPt`,`cx:dataLabels`,`cx:dataId`,`cx:layoutPr`,`cx:axisId`,`cx:extLst`],a=[`cx:dataLabels`,`cx:dataId`,`cx:layoutPr`,`cx:axisId`,`cx:extLst`],o=[`cx:dataId`,`cx:layoutPr`,`cx:axisId`,`cx:extLst`],s=[`cx:layoutPr`,`cx:axisId`,`cx:extLst`],c=[`cx:axisId`,`cx:extLst`],l=[`cx:extLst`],u=e;if(I(n,`hidden`)&&(u=AP(u,`cx:series`,`hidden`,t.hidden)),I(n,`ownerIdx`)&&(u=jP(u,`cx:series`,`ownerIdx`,t.ownerIdx)),I(n,`tx`)&&(u=kP(u,`cx:tx`,gP(t.tx),r,`cx:series`)),I(n,`spPr`)&&(u=kP(u,`cx:spPr`,nP(t.spPr,`cx`),i,`cx:series`)),I(n,`dataPoints`)){let e=(t.dataPt??[]).map(e=>{let t=nP(e.spPr,`cx`)??``;return`<cx:dataPt idx="${e.idx}">${t}</cx:dataPt>`}).join(``);u=MP(u,`cx:dataPt`,e,a,`cx:series`)}if(I(n,`dataLabels`)&&(u=kP(u,`cx:dataLabels`,xP(t.dataLabels),o,`cx:series`)),I(n,`dataRefs`)){let e=(t.dataRefs??[]).map(e=>e.dataId===void 0?e.axisId===void 0?``:`<cx:axisId val="${e.axisId}"/>`:`<cx:dataId val="${e.dataId}"/>`).join(``);u=MP(u,`cx:dataId`,e,s,`cx:series`)}if(I(n,`layoutPr`)&&(u=kP(u,`cx:layoutPr`,yP(t.layoutId,t.layoutPr),c,`cx:series`)),I(n,`axisId`)){let e=(t.axisId??[]).map(e=>`<cx:axisId val="${e}"/>`).join(``);u=MP(u,`cx:axisId`,e,l,`cx:series`)}return u}function gP(e){if(!e)return``;if(e.rich)return`<cx:tx>${_P(e.rich)}</cx:tx>`;if(e.value!==void 0)return`<cx:tx><cx:txData><cx:v>${zP(String(e.value))}</cx:v></cx:txData></cx:tx>`;if(e.strRef!==void 0){let t,n;if(typeof e.strRef==`string`)t=e.strRef;else if(e.strRef&&typeof e.strRef==`object`&&typeof e.strRef.formula==`string`)t=e.strRef.formula,n=typeof e.strRef.cached==`string`?e.strRef.cached:void 0;else return``;let r=n===void 0?``:`<cx:v>${zP(n)}</cx:v>`;return`<cx:tx><cx:txData><cx:f>${zP(t)}</cx:f>${r}</cx:txData></cx:tx>`}return``}function _P(e){if(!e||!Array.isArray(e.paragraphs))return``;let t=[`<cx:rich>`,`<a:bodyPr/>`,`<a:lstStyle/>`];for(let n of e.paragraphs){t.push(`<a:p>`);for(let e of n.runs??[]){let n=vP(e.properties),r=typeof e.text==`string`?e.text:``,i=/^\s|\s$|[\t\n\r]/.test(r)?` xml:space="preserve"`:``;t.push(`<a:r>${n}<a:t${i}>${zP(r)}</a:t></a:r>`)}t.push(`<a:endParaRPr lang="en-US"/>`),t.push(`</a:p>`)}return t.push(`</cx:rich>`),t.join(``)}function vP(e){if(!e||typeof e!=`object`)return``;let t=[];typeof e.size==`number`&&Number.isFinite(e.size)&&t.push(`sz="${e.size}"`),e.bold!==void 0&&t.push(`b="${+!!e.bold}"`),e.italic!==void 0&&t.push(`i="${+!!e.italic}"`);let n=e.color,r=``;if(n&&typeof n==`object`&&(typeof n.srgb==`string`?r=`<a:solidFill><a:srgbClr val="${BP(n.srgb)}"/></a:solidFill>`:typeof n.theme==`number`&&(r=`<a:solidFill><a:schemeClr val="${BP(T().themeIndexToName(n.theme))}"/></a:solidFill>`)),t.length===0&&!r)return``;let i=t.length>0?` ${t.join(` `)}`:``;return r?`<a:rPr${i}>${r}</a:rPr>`:`<a:rPr${i}/>`}function yP(e,t){if(!t)return``;if(t._rawXml&&!bP(t))return t._rawXml;let n=[`<cx:layoutPr>`];if(t.parentLabelLayout&&(e===`sunburst`||e===`treemap`)&&n.push(`<cx:parentLabelLayout val="${BP(t.parentLabelLayout)}"/>`),t.subtotals&&e===`waterfall`){n.push(`<cx:subtotals>`);for(let e of t.subtotals)n.push(`<cx:subtotal idx="${e.idx}"/>`);n.push(`</cx:subtotals>`)}if(e===`waterfall`&&t.connectorLines!==void 0&&n.push(`<cx:connectorLines val="${t.connectorLines?`1`:`0`}"/>`),t.binning){let e=t.binning,r=[e.intervalClosed===`l`||e.intervalClosed===`r`?`intervalClosed="${BP(e.intervalClosed)}"`:void 0,e.underflow!==void 0&&Number.isFinite(e.underflow)?`underflow="${e.underflow}"`:void 0,e.overflow!==void 0&&Number.isFinite(e.overflow)?`overflow="${e.overflow}"`:void 0].filter(e=>!!e);n.push(`<cx:binning${r.length>0?` ${r.join(` `)}`:``}>`),e.binType===`auto`?n.push(`<cx:auto/>`):e.binType===`categories`?n.push(`<cx:categories/>`):e.binType===`manual`&&n.push(`<cx:manual/>`),e.binSize!==void 0&&Number.isFinite(e.binSize)&&n.push(`<cx:binSize val="${e.binSize}"/>`),e.binCount!==void 0&&Number.isFinite(e.binCount)&&n.push(`<cx:binCount val="${e.binCount}"/>`),n.push(`</cx:binning>`)}if(t.paretoLine!==void 0&&(e===`clusteredColumn`||e===`paretoLine`)&&n.push(`<cx:paretoLine val="${t.paretoLine?`1`:`0`}"/>`),e===`boxWhisker`)for(let[e,r]of[[`quartileMethod`,t.quartileMethod],[`showMeanLine`,t.showMeanLine],[`showMeanMarker`,t.showMeanMarker],[`showInnerPoints`,t.showInnerPoints],[`showOutlierPoints`,t.showOutlierPoints]])r!==void 0&&n.push(`<cx:${e} val="${typeof r==`boolean`?r?`1`:`0`:BP(String(r))}"/>`);if(e===`regionMap`)for(let[e,r]of[[`projection`,t.projection],[`regionLabels`,t.regionLabels],[`geoMappingLevel`,t.geoMappingLevel]])r!==void 0&&n.push(`<cx:${e} val="${BP(String(r))}"/>`);return t.extLst&&n.push(t.extLst),n.push(`</cx:layoutPr>`),n.join(``)}function bP(e){return[e.parentLabelLayout,e.subtotals,e.connectorLines,e.binning,e.paretoLine,e.quartileMethod,e.showMeanLine,e.showMeanMarker,e.showInnerPoints,e.showOutlierPoints,e.projection,e.regionLabels,e.geoMappingLevel].some(e=>e!==void 0)}function xP(e){if(!e)return``;let t=[`<cx:dataLabels>`];if(e.visibility){let n=[e.visibility.seriesName===void 0?void 0:`seriesName="${e.visibility.seriesName?`1`:`0`}"`,e.visibility.categoryName===void 0?void 0:`categoryName="${e.visibility.categoryName?`1`:`0`}"`,e.visibility.value===void 0?void 0:`value="${e.visibility.value?`1`:`0`}"`,e.visibility.numFmt===void 0?void 0:`numFmt="${e.visibility.numFmt?`1`:`0`}"`].filter(e=>!!e);t.push(`<cx:visibility ${n.join(` `)}/>`)}return e.position&&t.push(`<cx:dataLabel pos="${BP(e.position)}"/>`),e.separator&&t.push(`<cx:separator>${zP(String(e.separator))}</cx:separator>`),e.numFmt&&t.push(`<cx:numFmt formatCode="${BP(String(e.numFmt))}"/>`),e.spPr&&t.push(nP(e.spPr,`cx`)??``),e.txPr&&t.push(rP(e.txPr,`cx`)??``),t.push(`</cx:dataLabels>`),t.join(``)}function SP(e,t,n){let r=e;for(let[e,i]of(t.plotArea?.axis??[]).entries()){let t=cN(n,e);if(!t)continue;let a=EP(r,i.axisId);if(!a)return;let o=CP(a.xml,i,t);r=r.slice(0,a.start)+o+r.slice(a.end)}return r}function CP(e,t,n){let r=[`cx:title`,`cx:units`,`cx:majorTickMarks`,`cx:majorTickMark`,`cx:minorTickMarks`,`cx:minorTickMark`,`cx:majorGridlines`,`cx:minorGridlines`,`cx:numFmt`,`cx:txPr`,`cx:spPr`,`cx:extLst`],i=[`cx:units`,`cx:majorTickMarks`,`cx:majorTickMark`,`cx:minorTickMarks`,`cx:minorTickMark`,`cx:majorGridlines`,`cx:minorGridlines`,`cx:numFmt`,`cx:txPr`,`cx:spPr`,`cx:extLst`],a=[`cx:minorTickMarks`,`cx:minorTickMark`,`cx:majorGridlines`,`cx:minorGridlines`,`cx:numFmt`,`cx:txPr`,`cx:spPr`,`cx:extLst`],o=[`cx:majorGridlines`,`cx:minorGridlines`,`cx:numFmt`,`cx:txPr`,`cx:spPr`,`cx:extLst`],s=[`cx:txPr`,`cx:spPr`,`cx:extLst`],c=[`cx:spPr`,`cx:extLst`],l=[`cx:extLst`],u=e;if(I(n,`hidden`)&&(u=PP(u,`cx:axis`,`hidden`,t.hidden),u=NP(u,`cx:hidden`)),I(n,`valScaling`)&&(u=kP(u,`cx:valScaling`,TP(`valScaling`,t.valScaling),r,`cx:axis`)),I(n,`catScaling`)&&(u=kP(u,`cx:catScaling`,TP(`catScaling`,t.catScaling),r,`cx:axis`)),I(n,`title`))if(t.title){let e=t.title.text?.paragraphs?.[0]?.runs?.[0]?.text;e!==void 0&&(u=kP(u,`cx:title`,dN(e),i,`cx:axis`))}else u=NP(u,`cx:title`);return I(n,`majorTickMark`)&&(u=NP(u,`cx:majorTickMark`),u=BN(u,`cx:majorTickMarks`,t.majorTickMark,a,`cx:axis`)),I(n,`minorTickMark`)&&(u=NP(u,`cx:minorTickMark`),u=BN(u,`cx:minorTickMarks`,t.minorTickMark,o,`cx:axis`)),I(n,`numFmt`)&&(u=kP(u,`cx:numFmt`,wP(t.numFmt),s,`cx:axis`)),I(n,`txPr`)&&(u=kP(u,`cx:txPr`,rP(t.txPr,`cx`),c,`cx:axis`)),I(n,`spPr`)&&(u=kP(u,`cx:spPr`,nP(t.spPr,`cx`),l,`cx:axis`)),u}function wP(e){if(!e?.formatCode)return``;let t=[`formatCode="${BP(e.formatCode)}"`];return e.sourceLinked!==void 0&&t.push(`sourceLinked="${e.sourceLinked?`1`:`0`}"`),`<cx:numFmt ${t.join(` `)}/>`}function TP(e,t){if(!t)return``;let n=Object.entries(t).filter(([,e])=>e!==void 0).map(([e,t])=>`${e}="${BP(String(t))}"`);return`<cx:${e}${n.length>0?` ${n.join(` `)}`:``}/>`}function EP(e,t){let n=0;for(;n<e.length;){let r=RP(e,`cx:axis`,n);if(!r)return;let i=e.slice(r.start,r.end);if(RegExp(`<cx:axis\\s+[^>]*id=["']${t}["']`).test(i))return{...r,xml:i};n=r.end}}function DP(e,t,n,r){let i=RP(e,t);if(i)return e.slice(0,i.start)+n+e.slice(i.end);let a=r.map(t=>e.indexOf(`<${t}`)).filter(e=>e>=0).sort((e,t)=>e-t)[0];if(a!==void 0)return e.slice(0,a)+n+e.slice(a);let o=e.lastIndexOf(`</c:ser>`)>=0?e.lastIndexOf(`</c:ser>`):e.lastIndexOf(`</c:catAx>`);return o>=0?e.slice(0,o)+n+e.slice(o):e}function OP(e,t,n,r,i){let a=RP(e,t);if(a)return e.slice(0,a.start)+n+e.slice(a.end);let o=r.map(t=>e.indexOf(`<${t}`)).filter(e=>e>=0).sort((e,t)=>e-t)[0];if(o!==void 0)return e.slice(0,o)+n+e.slice(o);let s=e.lastIndexOf(`</${i}>`);return s>=0?e.slice(0,s)+n+e.slice(s):e}function kP(e,t,n,r,i){return n===void 0||n===``?NP(e,t):OP(e,t,n,r,i)}function AP(e,t,n,r){let i=e.indexOf(`>`);if(i<0||!e.startsWith(`<${t}`))return e;let a=e.slice(0,i+1).replace(RegExp(`\\s${n}=("[^"]*"|'[^']*')`,`g`),``);if(r===void 0)return a+e.slice(i+1);let o=a.endsWith(`/>`),s=` ${n}="${r?`1`:`0`}"`;return(o?a.replace(/\/>$/,`${s}/>`):a.replace(/>$/,`${s}>`))+e.slice(i+1)}function jP(e,t,n,r){let i=e.indexOf(`>`);if(i<0||!e.startsWith(`<${t}`))return e;let a=e.slice(0,i+1),o=a.endsWith(`/>`),s=a.replace(RegExp(`\\s${n}=("[^"]*"|'[^']*')`,`g`),``);if(r===void 0||!Number.isFinite(r))return s+e.slice(i+1);let c=` ${n}="${r}"`;return(o?s.replace(/\/>$/,`${c}/>`):s.replace(/>$/,`${c}>`))+e.slice(i+1)}function MP(e,t,n,r,i){let a=FP(e,t);return n?OP(a,t,n,r,i):a}function NP(e,t){let n=RP(e,t);return n?e.slice(0,n.start)+e.slice(n.end):e}function PP(e,t,n,r){let i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),a=RegExp(`<${i}\\b([^>]*)(/?)>`).exec(e);if(!a)return e;let[o,s,c]=a,l=RegExp(`\\s${n}="[^"]*"`),u=`<${t}${s.replace(l,``)}${r===void 0?``:typeof r==`boolean`?` ${n}="${r?`1`:`0`}"`:` ${n}="${BP(r)}"`}${c}>`;return u===o?e:e.slice(0,a.index)+u+e.slice(a.index+o.length)}function FP(e,t){let n=e,r=RP(n,t);for(;r;)n=n.slice(0,r.start)+n.slice(r.end),r=RP(n,t,r.start);return n}function IP(e,t,n){let r=0,i=``;for(;r<e.length;){let a=RP(e,t,r);if(!a)return i+=e.slice(r),i;i+=e.slice(r,a.start);let o=n(e.slice(a.start,a.end));if(o===void 0)return;i+=o,r=a.end}return i}function LP(e,t,n){let r=0;for(;r<e.length;){let i=RP(e,t,r);if(!i)return;let a=e.slice(i.start,i.end);if(RegExp(`<c:axId\\s+val=["']${n}["']\\s*/>`).test(a))return{...i,xml:a};r=i.end}}function RP(e,t,n=0){let r=`<${t}`,i=`</${t}>`,a=n,o=-1;for(;a<e.length;){let t=e.indexOf(r,a);if(t<0)return;let n=e[t+r.length];if(n===`>`||n===`/`||/\s/.test(n??``)){o=t;break}a=t+r.length}if(o<0)return;let s=e.indexOf(`>`,o);if(s<0)return;if(e[s-1]===`/`)return{start:o,end:s+1};let c=1,l=s+1;for(;l<e.length&&c>0;){let t=(()=>{let t=l;for(;t<e.length;){let n=e.indexOf(r,t);if(n<0)return-1;let i=e[n+r.length];if(i===`>`||i===`/`||/\s/.test(i??``))return n;t=n+r.length}return-1})(),n=e.indexOf(i,l);if(n<0)return;if(t>=0&&t<n){let n=e.indexOf(`>`,t);if(n<0)return;e[n-1]!==`/`&&c++,l=n+1}else{if(c--,c===0)return{start:o,end:n+i.length};l=n+i.length}}}function zP(e){return qd(e)}function BP(e){return Jd(e)}var VP,HP,UP,WP,GP,KP=t((()=>{VE(),jy(),Bi(),la(),_b(),YE(),ng(),OA(),aC(),mu(),zA(),Wg(),HA(),ZA(),pC(),hC(),bC(),SC(),Yg(),$g(),$A(),dw(),tj(),_j(),xj(),Pj(),qj(),cM(),_w(),H_(),SM(),yw(),Ei(),lr(),Hf(),Ux(),sf(),wM(),ag(),VP=class e{static{this.textEncoder=new TextEncoder}constructor(e){this.events=new Map,this.pipedStream=null,this.finalized=!1,this._needsDrain=!1,this._drainResolvers=[],this._pendingWrites=0,this._pendingWriteResolvers=[],this._earlyError=null,this.level=e?.level??6,this.modTime=e?.modTime,this.timestamps=e?.timestamps,this.zip=new Ay((e,t,n)=>{if(e){this._emit(`error`,e);return}t&&t.length>0&&(this._emit(`data`,t),this.pipedStream&&this._checkBackpressure(this.pipedStream.write(t))),n&&(this.pipedStream&&this.pipedStream.end(),this._emit(`finish`))})}_emit(e,...t){if(e===`error`){let n=this.events.get(e);if(!n||n.size===0){this._earlyError=t[0]instanceof Error?t[0]:Error(String(t[0]));return}}let n=this.events.get(e);if(n)for(let e of n)e(...t)}_checkBackpressure(e){if(e instanceof Promise){this._pendingWrites++,e.then(e=>{e||(this._needsDrain=!0)},()=>{}).finally(()=>{if(this._pendingWrites--,this._pendingWrites===0){let e=this._pendingWriteResolvers.splice(0);for(let t of e)t()}});return}e===!1&&(this._needsDrain=!0)}on(e,t){let n=this.events.get(e)||new Set;if(n.add(t),this.events.set(e,n),e===`error`&&this._earlyError){let e=this._earlyError;this._earlyError=null,t(e)}return this}once(e,t){let n=(...r)=>{this.off(e,n),t(...r)};return this.on(e,n)}off(e,t){let n=this.events.get(e);return n?(n.delete(t),n.size===0&&this.events.delete(e),this):this}pipe(e){this.pipedStream=e,e&&typeof e.on==`function`&&(e.on(`drain`,()=>{this._needsDrain=!1;let e=this._drainResolvers.splice(0);for(let t of e)t()}),e.on(`error`,e=>{this._emit(`error`,e),this._needsDrain=!1;let t=this._drainResolvers.splice(0);for(let e of t)e();let n=this._pendingWriteResolvers.splice(0);for(let e of n)e()}))}async waitForDrain(){if(this._pendingWrites>0&&await new Promise(e=>{this._pendingWriteResolvers.push(e)}),!(!this._needsDrain||!this.pipedStream))return new Promise(e=>{this._drainResolvers.push(e)})}append(t,n){if(this.finalized)throw new na(`append`,`stream already finalized`);let r;r=n.base64?cf(typeof t==`string`?t:String(t)):typeof t==`string`?e.textEncoder.encode(t):t instanceof Uint8Array?t:ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t instanceof ArrayBuffer?new Uint8Array(t):t;let i=new ky(n.name,{level:this.level,modTime:this.modTime,timestamps:this.timestamps});this.zip.add(i),i.push(r,!0)}createEntry(t){if(this.finalized)throw new na(`createEntry`,`stream already finalized`);let n=new ky(t,{level:this.level,modTime:this.modTime,timestamps:this.timestamps});this.zip.add(n);let r=e.textEncoder;return{write(e){n.push(r.encode(e))},end(){n.push(new Uint8Array,!0)}}}finalize(){this.finalized||(this.finalized=!0,this.zip.end())}},HP=`c:barDir.c:grouping.c:varyColors.c:ofPieType.c:radarStyle.c:scatterStyle.c:wireframe.c:ser.c:dLbls.c:marker.c:smooth.c:dropLines.c:hiLowLines.c:upDownBars.c:bubbleScale.c:showNegBubbles.c:sizeRepresents.c:gapWidth.c:overlap.c:serLines.c:shape.c:firstSliceAng.c:holeSize.c:gapDepth.c:splitType.c:splitPos.c:custSplit.c:secondPieSize.c:axId.c:extLst`.split(`.`),UP={barDir:`c:barDir`,grouping:`c:grouping`,varyColors:`c:varyColors`,gapWidth:`c:gapWidth`,overlap:`c:overlap`,firstSliceAng:`c:firstSliceAng`,holeSize:`c:holeSize`,gapDepth:`c:gapDepth`,scatterStyle:`c:scatterStyle`,radarStyle:`c:radarStyle`,ofPieType:`c:ofPieType`,splitType:`c:splitType`,splitPos:`c:splitPos`,secondPieSize:`c:secondPieSize`,bubbleScale:`c:bubbleScale`,showNegBubbles:`c:showNegBubbles`,sizeRepresents:`c:sizeRepresents`,shape:`c:shape`,smooth:`c:smooth`,wireframe:`c:wireframe`},WP=Object.keys(UP),GP=class e{static{this.RelType=D}constructor(e){this.workbook=e}createBinaryStream(e){let t=new li;return t.end(e),t}createTextStream(e){let t=new li;return t.end(e),t}createStreamBuf(){return new iC}bufferToString(e){return Cf(e)}createZipWriter(e){return new VP(e)}async writeToZip(e,t){let{model:n}=this.workbook;this.prepareModel(n,t),this.prepareChartsheets(n),this.prepareChartExSidecars(n),await this.addContentTypes(e,n),await this.addOfficeRels(e,n),await this.addWorkbookRels(e,n),await this.addWorkbook(e,n),await this.addWorksheets(e,n),await this.addSharedStrings(e,n),await this.addDrawings(e,n),await this.addChartsheets(e,n);let r=FM(t);await this.addCharts(e,n,r),await this.addChartExEntries(e,n,r),await this.addTables(e,n),await this.addPivotTables(e,n),await this.addExternalLinks(e,n),await this.addThemes(e,n),await this.addStyles(e,n),await this.addFeaturePropertyBag(e,n),await this.addMetadata(e,n),await this.addMedia(e,n),await this.addApp(e,n),await this.addCore(e,n),await this.addPersons(e,n),await this.addSlicerAndTimelineParts(e,n)}async addSlicerAndTimelineParts(e,t){for(let n of[t.slicerParts,t.slicerCacheParts,t.timelineParts,t.timelineCacheParts])if(n)for(let[t,r]of Object.entries(n))e.append(r,{name:t})}async addPersons(e,t){let n=t.persons;!n||n.length===0||e.append(GA(n),{name:`xl/persons/person.xml`})}async read(e,t){let n=[];return await new Promise((t,r)=>{let i=e=>{n.push(e)},a=()=>{e.off(`data`,i),e.off(`end`,a),e.off(`error`,o),t()},o=t=>{e.off(`data`,i),e.off(`end`,a),e.off(`error`,o),r(t)};e.on(`data`,i),e.on(`end`,a),e.on(`error`,o)}),this.loadBuffer(Zn(n),t)}async write(e,t){t||={},t.zip=t.zip||{},t.zip.modTime??=this.workbook.modified??this.workbook.created;let n=this.createZipWriter(t.zip);return n.pipe(e),await this.writeToZip(n,t),this._finalize(n)}async load(e,t){if(e==null)throw new ta(`<input>`,`read`,`Can't read the data of 'the loaded zip file'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?`);let n;if(typeof e==`string`){if(!t?.base64)throw new ta(`<input>`,`read`,`Can't read the data of 'the loaded zip file'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ? String input requires options.base64 === true (base64-encoded zip archive).`);n=cf(e)}else if(e instanceof Uint8Array)n=e;else if(e instanceof ArrayBuffer)n=new Uint8Array(e);else if(ArrayBuffer.isView(e))n=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);else throw new ta(`<input>`,`read`,`Can't read the data of 'the loaded zip file'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?`);return this.loadBuffer(n,t)}async loadBuffer(e,t){let n=await new BE(e).extractAll(),r={};for(let[e,t]of n)r[e]=t;return this.loadFromFiles(r,t)}createEmptyModel(){return{worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{},pivotTables:{},pivotTableRels:{},pivotCacheDefinitions:{},pivotCacheRecords:{},chartEntries:{},chartRels:{},chartStyles:{},chartColors:{},chartExStyles:{},chartExColors:{},chartExEntries:{},chartExRels:{},chartExStructuredEntries:{},externalLinksByIndex:{},externalLinkRelsByIndex:{},chartsheets:{},chartsheetRels:{}}}async collectStreamData(e){let t=[];return await new Promise((n,r)=>{e.on(`data`,e=>{typeof e==`string`?t.push(new TextEncoder().encode(e)):e instanceof Uint8Array?t.push(e):t.push(new Uint8Array(e))}),e.on(`end`,()=>n()),e.on(`error`,r)}),Zn(t)}async _processKnownEntry(e,t,n,r){let i=Xp(n);if(i!==void 0)return await this._processWorksheetEntry(e,t,i,r,n),!0;let a=Ch(n);if(a!==void 0)return await this._processChartsheetEntry(e,t,a),!0;switch(n){case k.rootRels:return t.globalRels=await this.parseRels(e),!0;case k.xlWorkbook:{let n=await this.parseWorkbook(e);return t.sheets=n.sheets,t.definedNames=n.definedNames,t.views=n.views,t.properties=n.properties,t.protection=n.protection,t.calcProperties=n.calcProperties,t.pivotCaches=n.pivotCaches,t.externalReferences=n.externalReferences,!0}case k.xlSharedStrings:return t.sharedStrings=new gw,await t.sharedStrings.parseStream(e),!0;case k.xlWorkbookRels:return t.workbookRels=await this.parseRels(e),!0;case k.docPropsApp:{let n=await new fC().parseStream(e);return n&&(t.company=n.company,t.manager=n.manager),!0}case k.docPropsCore:{let n=await new yC().parseStream(e);return Object.assign(t,n),!0}case k.xlStyles:return t.styles=new B_,await t.styles.parseStream(e),!0;case k.xlMetadata:{let n=await new Jg().parseStream(e);return n&&(t.metadata=n),!0}case`xl/persons/person.xml`:{let n=await this.collectStreamData(e);return t.persons=KA(new TextDecoder().decode(n)),!0}default:{let r=/^xl\/threadedComments\/threadedComment(\d+)\.xml$/.exec(n);if(r){let n=parseInt(r[1],10),i=await this.collectStreamData(e),a=new TextDecoder().decode(i);return t.threadedCommentsByIndex??={},t.threadedCommentsByIndex[n]=WA(a),!0}return/^xl\/slicers\/slicer\d+\.xml$/.test(n)?(t.slicerParts??={},t.slicerParts[n]=await this.collectStreamData(e),!0):/^xl\/slicerCaches\/slicerCache\d+\.xml$/.test(n)?(t.slicerCacheParts??={},t.slicerCacheParts[n]=await this.collectStreamData(e),!0):/^xl\/timelines\/timeline\d+\.xml$/.test(n)?(t.timelineParts??={},t.timelineParts[n]=await this.collectStreamData(e),!0):/^xl\/timelineCaches\/timelineCache\d+\.xml$/.test(n)?(t.timelineCacheParts??={},t.timelineCacheParts[n]=await this.collectStreamData(e),!0):!1}}}async loadFromZipEntries(e,t){let n=this.createEmptyModel();for await(let r of e){let e=!1,i=async()=>{e||(e=!0,await r.drain())};if(r.type===`Directory`){await i();continue}let a=Yp(r.name),o=r.stream;try{await this._processKnownEntry(o,n,a,t)||await this._processDefaultEntry(o,n,a)||await i()}finally{try{await i()}catch{}}}return this.reconcile(n,t),this.workbook.model=n,this.workbook}async writeBuffer(e){e||={},e.zip=e.zip||{},e.zip.modTime??=this.workbook.modified??this.workbook.created;let t=this.createZipWriter(e.zip),n=this.createStreamBuf();t.pipe(n),await this.writeToZip(t,e),await this._finalize(t);let r=n.read()||new Uint8Array;return IM(e.validate)&&await LM(r),r}async addMedia(e,t){await Promise.all(t.media.map(async t=>{if(t.type!==`image`)throw new sa(`Unsupported media`);if(fb(t))return;let n=ym(`${t.name??`undefined`}.${t.extension}`);if(t.filename){if(this.readFileAsync){let r=await this.readFileAsync(t.filename);return e.append(r,{name:n})}throw new ea(`Loading images from filename`,`not supported in this environment`)}if(t.buffer)return e.append(t.buffer,{name:n});if(t.base64){let r=t.base64.substring(t.base64.indexOf(`,`)+1);return e.append(r,{name:n,base64:!0})}throw new sa(`Unsupported media`)}))}parseRels(e){return new Qg().parseStream(e)}parseWorkbook(e){return new Hg().parseStream(e)}parseSharedStrings(e){return new gw().parseStream(e)}reconcile(e,t){let n=new Hg,r=new sM(t),i=new uw,a=new xM;n.reconcile(e);let o={media:e.media,mediaIndex:e.mediaIndex};Object.keys(e.drawings).forEach(t=>{let n=e.drawings[t],r=e.drawingRels[t];r&&(o.rels=r.reduce((e,t)=>(e[t.Id]=t,e),{}),(n.anchors??[]).forEach(e=>{let t=e.picture&&e.picture.hyperlinks;t&&o.rels[t.rId]&&(t.hyperlink=o.rels[t.rId].Target,delete t.rId)}),i.reconcile(n,o))}),Object.keys(e.drawings).forEach(t=>{let n=e.drawings[t],r=e.drawingRels[t];if(!r)return;let i={};for(let e of r)i[e.Id]=e;for(let e of n.anchors??[])if(e.graphicFrame?.rId){let t=i[e.graphicFrame.rId];if(t?.Target){let n=/chart(\d+)\.xml/.exec(t.Target);n&&(e.chartNumber=parseInt(n[1],10));let r=/chartEx(\d+)\.xml/.exec(t.Target);r&&(e.chartExNumber=parseInt(r[1],10))}}});let s={styles:e.styles};Object.values(e.tables).forEach(e=>{a.reconcile(e,s)}),this._reconcilePivotTables(e);let c={styles:e.styles,sharedStrings:e.sharedStrings,media:e.media,mediaIndex:e.mediaIndex,date1904:e.properties?.date1904,drawings:e.drawings,drawingRels:e.drawingRels,comments:e.comments,tables:e.tables,vmlDrawings:e.vmlDrawings,pivotTables:e.pivotTablesIndexed,hasDynamicArrayMetadata:!!e.metadata?.hasDynamicArrays,dynamicArrayCmIndices:e.metadata?.dynamicArrayCmIndices};e.worksheets.forEach(t=>{t.relationships=e.worksheetRels[t.sheetNo],r.reconcile(t,c);let n=e.threadedCommentsByIndex?.[t.sheetNo];n&&(t.threadedComments=n)});let l=e.chartsheetsList||[];for(let t of l){let n=e.chartsheetRels[t.sheetNo];if(n&&(t.relationships=[...n]),t.drawing&&n){let r=n.find(e=>e.Id===t.drawing.rId);if(r){let n=r.Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(n){t.drawingName=n[1];let r=e.drawingRels[t.drawingName];if(r)for(let e of r){let n=/chart(\d+)\.xml/.exec(e.Target);if(n){t.chartNumber=parseInt(n[1],10);break}let r=/chartEx(\d+)\.xml/.exec(e.Target);if(r){t.chartExNumber=parseInt(r[1],10);break}}}}}}e.chartsheets=l,this._reconcileExternalLinks(e),this._reconcileChartUserShapes(e),delete e.worksheetHash,delete e.worksheetRels,delete e.globalRels,delete e.sharedStrings,delete e.workbookRels,delete e.sheetDefs,e.defaultFont=e.styles?.defaultFont,delete e.styles,delete e.mediaIndex,delete e.drawings,delete e.drawingRels,delete e.drawingRaw,delete e.vmlDrawings,delete e.pivotTableRels,delete e.metadata,delete e.externalReferences,delete e.externalLinksByIndex,delete e.externalLinkRelsByIndex,delete e.chartsheetRels,delete e.chartsheetsList}_reconcileChartUserShapes(e){let t=e.chartRels,n=e.drawingRaw,r=e.chartEntries;if(!(!t||!n||!r))for(let[e,i]of Object.entries(t)){if(!Array.isArray(i))continue;let t=r[e];if(!t)continue;let a=i.find(e=>e&&typeof e==`object`&&e.Type===D.ChartUserShapes);if(!a?.Target)continue;let o=/drawings\/([^/]+)\.xml$/i.exec(String(a.Target));if(!o)continue;let s=n[o[1]];s&&(t.userShapesXml=s,t.model.userShapesRelId??=a.Id)}}_reconcileExternalLinks(e){let t=e.externalReferences;if(!t||t.length===0){e.externalLinks||=[];return}let n=e.workbookRels??[],r=new Map;for(let e of n)e.Type===D.ExternalLink&&r.set(e.Id,e);let i=[];for(let n=0;n<t.length;n++){let a=t[n],o=r.get(a.rId);if(!o)continue;let s=TM(o.Target);if(s===void 0)continue;let c=e.externalLinksByIndex[s],l=e.externalLinkRelsByIndex[s]??[],u=l.find(e=>e.Type===D.ExternalLinkPath)??l.find(e=>e.TargetMode===`External`);i.push({index:n+1,rId:a.rId,target:u?.Target??``,targetMode:u?.TargetMode??`External`,sheetNames:c?.sheetNames??[],cachedValues:c?.cachedValues??{}})}e.externalLinks=i}_normaliseExternalLinks(e){let t=this.workbook._collectExternalLinksForWrite(),n=new Map;for(let e of t)e.target&&n.set(e.target.toLowerCase(),e);let r={links:t,byTarget:n,workbook:this.workbook};for(let t of e.worksheets??[])for(let e of t.rows??[])for(let t of e.cells??[])typeof t?.formula==`string`&&t.formula.length>0&&(t.formula=this._normaliseFormulaExternalRefs(t.formula,r)),typeof t?.sharedFormula==`string`&&t.sharedFormula.length>0&&(t.sharedFormula=this._normaliseFormulaExternalRefs(t.sharedFormula,r));e.externalLinks=t}_normaliseFormulaExternalRefs(e,t){return UE(e,e=>{if(e.numeric)return e.index!==null&&e.index>=1&&e.index<=t.links.length?(EM(t.links[e.index-1],e.sheet),e.index):null;let n=e.workbook.toLowerCase(),r=t.byTarget.get(n);return r?(EM(r,e.sheet),e.sheet&&t.workbook._recordAutoExternalLink(e.workbook,e.sheet)):(r={index:t.workbook._recordAutoExternalLink(e.workbook,e.sheet),target:e.workbook,targetMode:`External`,sheetNames:e.sheet?[e.sheet]:[],cachedValues:{}},t.links.push(r),t.byTarget.set(n,r)),r.index})}_reconcilePivotTables(e){let t=e.pivotTables||{};if(typeof t!=`object`||Object.keys(t).length===0){e.pivotTables=[],e.pivotTablesIndexed={};return}let n=this._buildDefinitionToCacheIdMap(e),r=new Map;Object.entries(e.pivotCacheDefinitions||{}).forEach(([t,i])=>{let a=n.get(t);if(a!==void 0){let n=t.replace(`Definition`,`Records`);r.set(a,{definition:i,records:e.pivotCacheRecords?.[n],definitionName:t})}});let i=[],a={};Object.entries(t).forEach(([e,t])=>{let n=this._extractTableNumber(e),o=r.get(t.cacheId),s=this._determineMetric(t.dataFields),c={...t,name:t.name??`PivotTable${n}`,tableNumber:n,cacheId:String(t.cacheId),cacheDefinition:o?.definition,cacheRecords:o?.records,cacheFields:o?.definition?.cacheFields??[],rows:t.rowFields.filter(e=>e>=0),columns:t.colFields.filter(e=>e>=0&&e!==-2),values:t.dataFields.map(e=>e.fld),pages:t.pageFields.map(e=>e.fld),metric:s,valueMetrics:this._determineValueMetrics(t.dataFields,s),applyWidthHeightFormats:t.applyWidthHeightFormats===`1`?`1`:`0`};i.push(c),a[Im(e)]=c}),i.sort((e,t)=>e.tableNumber-t.tableNumber),e.pivotTables=i,e.pivotTablesIndexed=a}_extractTableNumber(e){let t=e.match(/pivotTable(\d+)/);return t?parseInt(t[1],10):1}_buildCacheIdMap(e){let t=new Map,n=e.pivotCaches??[];for(let e of n)e.cacheId&&e.rId&&t.set(e.rId,parseInt(e.cacheId,10));return t}_buildDefinitionToCacheIdMap(t){let n=new Map,r=this._buildCacheIdMap(t),i=t.workbookRels??[];for(let t of i)if(t.Type===e.RelType.PivotCacheDefinition&&t.Target){let e=t.Target.match(/pivotCacheDefinition(\d+)\.xml/);if(e){let i=`pivotCacheDefinition${e[1]}`,a=r.get(t.Id);a!==void 0&&n.set(i,a)}}return n}_determineMetric(e){return e.length>0&&e[0].subtotal?e[0].subtotal:`sum`}_determineValueMetrics(e,t){return e.map(e=>e.subtotal||t)}async _processWorksheetEntry(e,t,n,r,i){let a=await new sM(r).parseStream(e);if(!a)throw new $i(i,`Failed to parse worksheet`);a.sheetNo=n,t.worksheetHash[i]=a,t.worksheets.push(a)}async _processChartsheetEntry(e,t,n){let r=await new Gj().parseStream(e);r&&(r.sheetNo=n,t.chartsheets[n]=r)}async _processCommentEntry(e,t,n){let r=await new VA().parseStream(e);t.comments[n]=r}async _processTableEntry(e,t,n){let r=await new xM().parseStream(e);t.tables[n]=r}async _processWorksheetRelsEntry(e,t,n){let r=await new Qg().parseStream(e);t.worksheetRels[n]=r}async _processMediaEntry(e,t,n){let r=n.lastIndexOf(`.`);if(r>=1){let i=n.substr(r+1),a=n.substr(0,r);await new Promise((r,o)=>{let s=this.createStreamBuf(),c=()=>{e.off(`error`,u),s.off(`error`,u),s.off(`finish`,l)},l=()=>{c(),t.mediaIndex[n]=t.media.length,t.mediaIndex[a]=t.media.length;let e={type:`image`,name:a,extension:i,buffer:s.read()};t.media.push(e),r()},u=e=>{c(),o(e)};s.once(`finish`,l),e.on(`error`,u),s.on(`error`,u),e.pipe(s)})}}async _processDrawingEntry(e,t,n,r){let i=r??await this.collectStreamData(e),a=new uw,o=this.bufferToString(i),s=await a.parseStream(this.createTextStream(o));t.drawings[n]=s,t.drawingRaw||={},t.drawingRaw[n]=i}async _processChartUserShapesEntry(e,t,n,r){let i=r??await this.collectStreamData(e);t.drawingRaw||={},t.drawingRaw[n]=i}async _processDrawingRelsEntry(e,t,n){let r=await new Qg().parseStream(e);t.drawingRels[n]=r}async _processVmlDrawingEntry(e,t,n){let r=await new ej().parseStream(e);t.vmlDrawings[n]=r}async _processVmlDrawingHFEntry(e,t,n){let r=await new ej().parseStream(e);r&&r.headerImage&&(t.vmlDrawingHF||={},t.vmlDrawingHF[n]=r.headerImage)}async _processThemeEntry(e,t,n){await new Promise((r,i)=>{let a=this.createStreamBuf(),o=()=>{e.off(`error`,c),a.off(`error`,c),a.off(`finish`,s)},s=()=>{o();let e=a.read();t.themes[n]=e?typeof e==`string`?e:this.bufferToString(e):``,r()},c=e=>{o(),i(e)};a.once(`finish`,s),e.on(`error`,c),a.on(`error`,c),e.pipe(a)})}async _processPivotTableEntry(e,t,n){let r=await new Nj().parseStream(e);r&&(t.pivotTables[n]=r)}async _processPivotTableRelsEntry(e,t,n){let r=await new Qg().parseStream(e);t.pivotTableRels[n]=r}async _processPivotCacheDefinitionEntry(e,t,n){let r=await new gj().parseStream(e);r&&(t.pivotCacheDefinitions[n]=r)}async _processPivotCacheRecordsEntry(e,t,n){let r=await new bj().parseStream(e);r&&(t.pivotCacheRecords[n]=r)}async _processExternalLinkEntry(e,t,n){let r=await new LA().parseStream(e);r&&(t.externalLinksByIndex[n]=r)}async _processExternalLinkRelsEntry(e,t,n){let r=await this.parseRels(e);t.externalLinkRelsByIndex[n]=r??[]}async _processChartEntry(e,t,n,r){let i=r??await this.collectStreamData(e),a=T().createChartSpaceXform(),o=this.bufferToString(i),s=await a.parseStream(this.createTextStream(o));s&&(t.chartEntries[n]={chartNumber:n,model:s,rawData:i,modelSnapshot:DM(s)})}async _processChartRelsEntry(e,t,n){let r=await new Qg().parseStream(e);t.chartRels[n]=r}async _processChartStyleEntry(e,t,n){let r=await this.collectStreamData(e);t.chartStyles[n]=r}async _processChartColorsEntry(e,t,n){let r=await this.collectStreamData(e);t.chartColors[n]=r}async loadFromFiles(e,t){let n=this.createEmptyModel(),r=Object.keys(e).map(t=>({name:t,dir:t.endsWith(`/`),data:e[t]}));for(let e of r)if(!e.dir){let r=Yp(e.name),i=nm(r)?this.createBinaryStream(e.data):this.createTextStream(this.bufferToString(e.data));await this._processKnownEntry(i,n,r,t)||await this._processDefaultEntry(i,n,r,e.data)}return this.reconcile(n,t),this.workbook.model=n,this.workbook}async _processDefaultEntry(e,t,n,r){let i=Zp(n);if(i!==void 0)return await this._processWorksheetRelsEntry(e,t,i),!0;let a=wh(n);if(a!==void 0){let n=await this.parseRels(e);return t.chartsheetRels[a]=n,!0}let o=$p(n);if(o)return await this._processMediaEntry(e,t,o),!0;let s=rm(n);if(s)return await this._processDrawingEntry(e,t,s,r),!0;let c=am(n);if(c)return await this._processChartUserShapesEntry(e,t,c,r),!0;let l=im(n);if(l)return await this._processDrawingRelsEntry(e,t,l),!0;if(om(n))return await this._processVmlDrawingEntry(e,t,n),!0;let u=sm(n);if(u)return await this._processVmlDrawingHFEntry(e,t,u),!0;if(cm(n))return await this._processCommentEntry(e,t,n),!0;if(lm(n))return await this._processTableEntry(e,t,n),!0;let d=tm(n);if(d)return await this._processThemeEntry(e,t,d),!0;let f=um(n);if(f)return await this._processPivotTableEntry(e,t,f),!0;let p=dm(n);if(p)return await this._processPivotTableRelsEntry(e,t,p),!0;let m=fm(n);if(m)return await this._processPivotCacheDefinitionEntry(e,t,m),!0;if(pm(n))return!0;let h=mm(n);if(h)return await this._processPivotCacheRecordsEntry(e,t,h),!0;let g=hm(n);if(g!==void 0)return await this._processExternalLinkEntry(e,t,g),!0;let _=gm(n);if(_!==void 0)return await this._processExternalLinkRelsEntry(e,t,_),!0;let v=Zm(n);if(v!==void 0)return await this._processChartEntry(e,t,v,r),!0;let y=Qm(n);if(y!==void 0)return await this._processChartRelsEntry(e,t,y),!0;let b=$m(n);if(b!==void 0)return r?t.chartStyles[b]=r:await this._processChartStyleEntry(e,t,b),!0;let x=eh(n);if(x!==void 0)return r?t.chartColors[x]=r:await this._processChartColorsEntry(e,t,x),!0;let S=th(n);if(S!==void 0)return t.chartExStyles[S]=r??await this.collectStreamData(e),!0;let ee=nh(n);if(ee!==void 0)return t.chartExColors[ee]=r??await this.collectStreamData(e),!0;let te=gh(n);if(te!==void 0){let n=r??await this.collectStreamData(e),i=this.bufferToString(n);t.chartExEntries[te]=n;try{let e=T().parseChartEx(i);t.chartExStructuredEntries[te]={chartExNumber:te,model:e,rawData:n,modelSnapshot:DM(e)}}catch{}return!0}let ne=_h(n);if(ne!==void 0){let n=await new Qg().parseStream(e);return t.chartExRels[ne]=n,!0}if(/^xl\/slicers\/slicer\d+\.xml$/.test(n)||/^xl\/slicerCaches\/slicerCache\d+\.xml$/.test(n)||/^xl\/timelines\/timeline\d+\.xml$/.test(n)||/^xl\/timelineCaches\/timelineCache\d+\.xml$/.test(n)||/^xl\/slicers\/_rels\/slicer\d+\.xml\.rels$/.test(n)||/^xl\/slicerCaches\/_rels\/slicerCache\d+\.xml\.rels$/.test(n)||/^xl\/timelines\/_rels\/timeline\d+\.xml\.rels$/.test(n)||/^xl\/timelineCaches\/_rels\/timelineCache\d+\.xml\.rels$/.test(n)){let i=n.startsWith(`xl/slicers/`)&&!n.includes(`/_rels/`)?t.slicerParts??={}:n.startsWith(`xl/slicerCaches/`)&&!n.includes(`/_rels/`)?t.slicerCacheParts??={}:n.startsWith(`xl/timelines/`)&&!n.includes(`/_rels/`)?t.timelineParts??={}:n.startsWith(`xl/timelineCaches/`)&&!n.includes(`/_rels/`)?t.timelineCacheParts??={}:n.startsWith(`xl/slicers/_rels/`)?t.slicerParts??={}:n.startsWith(`xl/slicerCaches/_rels/`)?t.slicerCacheParts??={}:n.startsWith(`xl/timelines/_rels/`)?t.timelineParts??={}:t.timelineCacheParts??={};return i[n]=r??await this.collectStreamData(e),!0}return!1}async _renderToZip(e,t,n,r){let i=e.createEntry(t),a=new CM(i);n.render(a,r),i.end(),await e.waitForDrain()}async addContentTypes(e,t){await this._renderToZip(e,k.contentTypes,new mC,t)}async addApp(e,t){await this._renderToZip(e,k.docPropsApp,new fC,t)}async addCore(e,t){await this._renderToZip(e,k.docPropsCore,new yC,t)}async addThemes(e,t){let n=t.themes||{theme1:`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
434
+ <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>`};Object.keys(n).forEach(t=>{let r=n[t];e.append(r,{name:vm(t)})})}async addOfficeRels(t,n){await this._renderToZip(t,k.rootRels,new Qg,[{Id:`rId1`,Type:e.RelType.OfficeDocument,Target:k.xlWorkbook},{Id:`rId2`,Type:e.RelType.CoreProperties,Target:k.docPropsCore},{Id:`rId3`,Type:e.RelType.ExtenderProperties,Target:k.docPropsApp}])}async addWorkbookRels(t,n){let r=1,i=[{Id:`rId${r++}`,Type:e.RelType.Styles,Target:Gh.workbookStyles},{Id:`rId${r++}`,Type:e.RelType.Theme,Target:Gh.workbookTheme1}];n.sharedStrings.count&&i.push({Id:`rId${r++}`,Type:e.RelType.SharedStrings,Target:Gh.workbookSharedStrings}),n.hasCheckboxes&&i.push({Id:`rId${r++}`,Type:e.RelType.FeaturePropertyBag,Target:Gh.workbookFeaturePropertyBag}),n.hasDynamicArrayFormulas&&i.push({Id:`rId${r++}`,Type:e.RelType.SheetMetadata,Target:Gh.workbookMetadata}),n.hasPersons&&i.push({Id:`rId${r++}`,Type:e.RelType.Person,Target:`persons/person.xml`});let a=new Map;(n.pivotTables??[]).forEach(t=>{let n=a.get(t.cacheId);n?t.rId=n:(t.rId=`rId${r++}`,a.set(t.cacheId,t.rId),i.push({Id:t.rId,Type:e.RelType.PivotCacheDefinition,Target:Hm(t.tableNumber)}))}),n.worksheets.forEach(t=>{t.rId=`rId${r++}`,i.push({Id:t.rId,Type:e.RelType.Worksheet,Target:Sm(t.fileIndex)})}),(n.chartsheets||[]).forEach(e=>{e.rId=`rId${r++}`,i.push({Id:e.rId,Type:D.Chartsheet,Target:`chartsheets/sheet${e.sheetNo}.xml`})});let o=n.externalLinks??[];for(let t of o)t.rId=`rId${r++}`,i.push({Id:t.rId,Type:e.RelType.ExternalLink,Target:Bm(t.index)});let s=new Qg;await this._renderToZip(t,k.xlWorkbookRels,s,i)}async addFeaturePropertyBag(e,t){t.hasCheckboxes&&await this._renderToZip(e,k.xlFeaturePropertyBag,new xC,{})}async addMetadata(e,t){t.hasDynamicArrayFormulas&&await this._renderToZip(e,k.xlMetadata,new Jg,{dynamicArrayCount:t.dynamicArrayCount})}async addSharedStrings(e,t){t.sharedStrings&&t.sharedStrings.count&&await this._renderToZip(e,k.xlSharedStrings,t.sharedStrings,t.sharedStrings.model)}async addStyles(e,t){t.styles&&await this._renderToZip(e,k.xlStyles,t.styles,t.styles.model)}async addWorkbook(e,t){await this._renderToZip(e,k.xlWorkbook,new Hg,t)}async addWorksheets(e,t){let n=new sM,r=new Qg,i=new VA,a=new ej,o=new QA;for(let s of t.worksheets){let{fileIndex:t}=s,c=e.createEntry(bm(t)),l=new CM(c);if(n.render(l,s),c.end(),await e.waitForDrain(),s.rels&&s.rels.length&&await this._renderToZip(e,xm(t),r,s.rels),s.comments.length>0&&await this._renderToZip(e,Cm(t),i,s),s.threadedComments&&s.threadedComments.length>0){let n=UA(s.threadedComments);e.append(n,{name:`xl/threadedComments/threadedComment${t}.xml`})}let u=s.comments.length>0,d=s.formControls&&s.formControls.length>0;if((u||d)&&await this._renderToZip(e,Tm(t),a,{comments:u?s.comments:[],formControls:d?s.formControls:[]}),s.headerImage){let n=s.headerImage,i=n.bookImage,o=`../media/${i.name&&i.extension&&i.name.endsWith(`.${i.extension}`)?i.name:`${i.name}.${i.extension}`}`;await this._renderToZip(e,Em(t),a,{comments:[],formControls:[],headerImage:{imageRelId:`rId1`,width:n.headerWidth,height:n.headerHeight}}),await this._renderToZip(e,Dm(t),r,[{Id:`rId1`,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,Target:o}])}if(d)for(let t of s.formControls)await this._renderToZip(e,Xm(t.ctrlPropId),o,t)}}async addChartsheets(e,t){let n=new Gj,r=new Qg,i=new ej,a=new Set;for(let o of t.chartsheets||[]){await this._renderToZip(e,Th(o.sheetNo),n,o);let s=Array.isArray(o.relationships)?[...o.relationships]:[];if(o.drawing){let e={Id:o.drawing.rId,Type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,Target:`../drawings/${o.drawingName}.xml`},t=s.findIndex(e=>e?.Id===o.drawing.rId);t>=0?s[t]=e:s.push(e)}if(s.length>0&&await this._renderToZip(e,Eh(o.sheetNo),r,s),t.vmlDrawings)for(let n of s){if(n?.Type!==D.VmlDrawing||!n.Target)continue;let r=Sh(`xl/chartsheets/`,n.Target);if(a.has(r))continue;let o=t.vmlDrawings[r];o&&(a.add(r),await this._renderToZip(e,r,i,o))}}}async addDrawings(e,t){let n=new uw,r=new Qg;for(let i of t.worksheets){let{drawing:t}=i;if(t){let i=gb(t.anchors??[]),a=t.anchors?{...t,anchors:i}:t;n.prepare(a),await this._renderToZip(e,km(t.name),n,a),await this._renderToZip(e,Am(t.name),r,t.rels)}}for(let n of t.chartsheets||[])if(n.drawingName&&(n.chartNumber||n.chartExNumber)){let t=`rId1`,i=!n.chartNumber&&!!n.chartExNumber,a=OM({chartRId:t,chartName:i?`Chart ${n.chartExNumber}`:`Chart ${n.chartNumber}`,isChartEx:i,extCx:9906e3,extCy:6096e3}),o=[{Id:t,Type:i?D.ChartEx:D.Chart,Target:i?bh(n.chartExNumber):lh(n.chartNumber)}];e.append(a,{name:km(n.drawingName)}),await this._renderToZip(e,Am(n.drawingName),r,o)}}async addCharts(e,t,n=!1){let r=new Qg;for(let[i,a]of Object.entries(t.chartEntries||{})){if(MM(a))e.append(a.rawData,{name:rh(i)});else{let t=BM(a,n),r=$M(a,t);if(r)e.append(r,{name:rh(i)});else{if(t)throw new aa(UM(i,a.model));let n=AM(a,T().createChartSpaceXform());e.append(n,{name:rh(i)})}}t.chartStyles?.[i]&&e.append(t.chartStyles[i],{name:ah(i)}),t.chartColors?.[i]&&e.append(t.chartColors[i],{name:oh(i)});let o=[],s=t.chartRels?.[i],c=new Set;if(Array.isArray(s))for(let e of s)e.Type!==D.ChartStyle&&e.Type!==D.ChartColors&&(o.push(e),c.add(e.Id));let l=a.rels;if(Array.isArray(l))for(let e of l)!e?.Id||c.has(e.Id)||(o.push(e),c.add(e.Id));let u=1,d=()=>{let e=`rId${u++}`;for(;c.has(e);)e=`rId${u++}`;return c.add(e),e};if(t.chartStyles?.[i]&&o.push({Id:d(),Type:D.ChartStyle,Target:fh(i)}),t.chartColors?.[i]&&o.push({Id:d(),Type:D.ChartColors,Target:ph(i)}),a.userShapesXml){e.append(a.userShapesXml,{name:uh(i)});let t=dh(i),n=o.find(e=>e?.Type===D.ChartUserShapes);if(n)n.Target=t;else{let e=a.model.userShapesRelId??d();c.add(e),o.push({Id:e,Type:D.ChartUserShapes,Target:t})}}o.length>0&&await this._renderToZip(e,ih(i),r,o)}}async addChartExEntries(e,t,n=!1){let r=new Qg,i=t.chartExEntries||{},a=t.chartExStructuredEntries??{},o=new Set;for(let[s,c]of Object.entries(i)){let i=a[s];if(i&&!NM(i)){let t=VM(i,n),r=GM(i,t);if(r)e.append(r,{name:vh(s)});else{if(t)throw new aa(HM(s,i.model));let n=jM(T().renderChartEx(PM(i.model)),c?new TextDecoder().decode(c):i.model.rawXml);e.append(n,{name:vh(s)})}}else e.append(c,{name:vh(s)});o.add(s);let l=t.chartExRels?.[s],u=this._buildChartExRels(s,l,t);u.length>0&&await this._renderToZip(e,yh(s),r,u),this._appendChartExSidecars(e,t,s,i)}for(let[n,i]of Object.entries(a)){if(o.has(n))continue;let a=T().renderChartEx(i.model,{forceStructural:!0});e.append(a,{name:vh(n)}),this._appendChartExSidecars(e,t,n,i);let s=this._buildChartExRels(n,i.rels,t,i);s.length>0&&await this._renderToZip(e,yh(n),r,s)}}_appendChartExSidecars(e,t,n,r){r?.model.style?e.append(new TextEncoder().encode(T().buildChartStyle(r.model.style)),{name:sh(n)}):t.chartExStyles?.[n]&&e.append(t.chartExStyles[n],{name:sh(n)}),r?.model.colors?e.append(new TextEncoder().encode(T().buildChartColors(r.model.colors)),{name:ch(n)}):t.chartExColors?.[n]&&e.append(t.chartExColors[n],{name:ch(n)})}_buildChartExRels(e,t,n,r){let i=Array.isArray(t)?[...t]:[],a=new Set(i.map(e=>e.Id)),o=()=>{let e=1;for(;a.has(`rId${e}`);)e++;let t=`rId${e}`;return a.add(t),t},s=!!(n.chartExStyles?.[e]||r?.model.style),c=!!(n.chartExColors?.[e]||r?.model.colors);return s&&!i.some(e=>e.Type===D.ChartStyle)&&i.push({Id:o(),Type:D.ChartStyle,Target:mh(e)}),c&&!i.some(e=>e.Type===D.ChartColors)&&i.push({Id:o(),Type:D.ChartColors,Target:hh(e)}),i}async addTables(e,t){let n=new xM;for(let r of t.worksheets)for(let t of r.tables)n.prepare(t,{}),await this._renderToZip(e,Om(t.target),n,t)}async addExternalLinks(t,n){let r=n.externalLinks??[];if(r.length===0)return;let i=new LA,a=new Qg;for(let n of r)await this._renderToZip(t,Rm(n.index),i,n),await this._renderToZip(t,zm(n.index),a,[{Id:`rId1`,Type:e.RelType.ExternalLinkPath,Target:n.target,TargetMode:n.targetMode??`External`}])}async addPivotTables(t,n){if(!n.pivotTables.length)return;let r=new bj,i=new gj,a=new Nj,o=new Qg,s=new Map;for(let c of n.pivotTables){let n=c.tableNumber,l=c.isLoaded,u=c.cacheId;if(!s.has(u)&&(s.set(u,n),l?(c.cacheDefinition&&await this._renderToZip(t,jm(n),i,c.cacheDefinition),c.cacheRecords&&await this._renderToZip(t,Nm(n),r,c.cacheRecords)):(await this._renderToZip(t,Nm(n),r,c),await this._renderToZip(t,jm(n),i,c)),!l||c.cacheRecords)){let r=(l?c.cacheDefinition?.rId:void 0)??`rId1`;await this._renderToZip(t,Mm(n),o,[{Id:r,Type:e.RelType.PivotCacheRecords,Target:Pm(n)}])}await this._renderToZip(t,Fm(n),a,c);let d=s.get(u);await this._renderToZip(t,Lm(n),o,[{Id:`rId1`,Type:e.RelType.PivotCacheDefinition,Target:Vm(d)}])}}_finalize(e){return new Promise((t,n)=>{e.on(`finish`,()=>{t(this)}),e.on(`error`,n),e.finalize()})}prepareModel(e,t){e.creator=e.creator??`ExcelTS`,e.lastModifiedBy=e.lastModifiedBy??`ExcelTS`,e.created=e.created??new Date,e.modified=e.modified??new Date,e.useSharedStrings=t.useSharedStrings===void 0?!0:t.useSharedStrings,e.useStyles=t.useStyles===void 0?!0:t.useStyles,e.sharedStrings=new gw;let n=e.defaultFont;e.styles=e.useStyles?new B_(!0):new B_.Mock,n&&e.styles.setDefaultFont&&e.styles.setDefaultFont(n);let r=new Hg,i=new sM;r.prepare(e),this._normaliseExternalLinks(e);let a={sharedStrings:e.sharedStrings,styles:e.styles,date1904:e.properties?.date1904,drawingsCount:0,media:e.media};a.drawings=e.drawings=[],a.commentRefs=e.commentRefs=[],a.formControlRefs=e.formControlRefs=[],e.threadedCommentSheetIds=[],e.hasPersons=(e.persons?.length??0)>0,e.slicerPartPaths=Object.keys(e.slicerParts??{}).filter(e=>!e.includes(`/_rels/`)),e.slicerCachePartPaths=Object.keys(e.slicerCacheParts??{}).filter(e=>!e.includes(`/_rels/`)),e.timelinePartPaths=Object.keys(e.timelineParts??{}).filter(e=>!e.includes(`/_rels/`)),e.timelineCachePartPaths=Object.keys(e.timelineCacheParts??{}).filter(e=>!e.includes(`/_rels/`)),e.hasHeaderWatermark=!1;let o=0;e.tables=[];let s=new Map;e.worksheets.forEach((t,n)=>{t.fileIndex=n+1,t.tables.forEach(n=>{let r=n.name.toLowerCase(),i=s.get(r);if(i!==void 0)throw new oa(`Duplicate table name "${n.name}": already used in worksheet "${i}". Table names must be unique across the entire workbook (case-insensitive).`);s.set(r,t.name),o++,n.target=`table${o}.xml`,n.id=o,e.tables.push(n)}),i.prepare(t,a),t.threadedComments&&t.threadedComments.length>0&&e.threadedCommentSheetIds.push(t.fileIndex)}),e.hasCheckboxes=e.styles.hasCheckboxes;let c=0;e.worksheets.forEach(e=>{(e.rows??[]).forEach(e=>{(e.cells??[]).forEach(e=>{e.isDynamicArray&&c++})})}),e.hasDynamicArrayFormulas=c>0,e.dynamicArrayCount=c,a.hasHeaderWatermark&&(e.hasHeaderWatermark=!0)}prepareChartExSidecars(e){let t=e.chartExStructuredEntries??{};for(let[n,r]of Object.entries(t)){let t=parseInt(n,10);Number.isFinite(t)&&e.definedNamesInstance&&typeof e.definedNamesInstance.addHidden==`function`&&(T().rewriteChartExDataRefsToDefinedNames(r.model,t,(t,n)=>{e.definedNamesInstance.addHidden(n,t)}),e.definedNames=e.definedNamesInstance.model),r.model.style&&!e.chartExStyles?.[n]&&(e.chartExStyles??={},e.chartExStyles[n]=new TextEncoder().encode(T().buildChartStyle(r.model.style))),r.model.colors&&!e.chartExColors?.[n]&&(e.chartExColors??={},e.chartExColors[n]=new TextEncoder().encode(T().buildChartColors(r.model.colors)))}}prepareChartsheets(e){if(!e.chartsheets||e.chartsheets.length===0)return;let t=new Set;for(let n of e.drawings??[]){let e=/^drawing(\d+)$/.exec(n.name??``);e&&t.add(parseInt(e[1],10))}for(let n of e.chartsheets){let e=/^drawing(\d+)$/.exec(n.drawingName??``);e&&t.add(parseInt(e[1],10))}let n=()=>{let e=1;for(;t.has(e);)e++;return t.add(e),`drawing${e}`};for(let t of e.chartsheets)t.drawingName||=n(),t.drawing||={rId:`rId1`},e.drawings.some(e=>e.name===t.drawingName)||e.drawings.push({name:t.drawingName});if(e.vmlDrawings){for(let t of e.chartsheets)if(Array.isArray(t.relationships)&&t.relationships.some(t=>t?.Type===D.VmlDrawing&&typeof t.Target==`string`&&e.vmlDrawings[Sh(`xl/chartsheets/`,t.Target)]!==void 0)){e.hasChartsheetVml=!0;break}}}}}));function qP(e){if(!YP)throw Error("No formula engine is installed. Call `installFormulaEngine()` from `@cj-tech-master/excelts/formula` once at startup to enable `Workbook.calculateFormulas()` and automatic recalculation during `excelToPdf()`.");YP(e)}function JP(e){return YP?(YP(e),!0):!1}var YP,XP=t((()=>{YP=null})),ZP,QP,$P,eF,tF,nF=t((()=>{ZP=/\r\n|\r|\n/,QP=/\r\n|[|\\\r\n]/g,$P=/\\([|\\])/g,eF=/<br\s*\/?>/gi,tF=/\r\n|\r|\n/g}));function rF(e){let t=0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=55296&&r<=56319&&n+1<e.length){let r=e.charCodeAt(n+1);if(r>=56320&&r<=57343){t+=2,n++;continue}}if(!(r===8203||r===8204||r===8205||r===65279)&&!(r>=768&&r<=879||r>=6832&&r<=6911||r>=7616&&r<=7679||r>=8400&&r<=8447||r>=65056&&r<=65071)){if(r>=4352&&r<=4447||r>=11904&&r<=12350||r>=12352&&r<=13247||r>=13312&&r<=19903||r>=19968&&r<=42191||r>=43360&&r<=43391||r>=44032&&r<=55215||r>=63744&&r<=64255||r>=65040&&r<=65049||r>=65072&&r<=65135||r>=65281&&r<=65376||r>=65504&&r<=65510){t+=2;continue}t+=1}}return t}function iF(e){if(e==null)return``;if(e instanceof Date)return e.toISOString();if(typeof e==`object`)try{return JSON.stringify(e)}catch{return`[object Object]`}return String(e)}function aF(e){return e.replace(QP,e=>e===`|`||e===`\\`?`\\`+e:`<br>`)}function oF(e){return e.indexOf(`
435
+ `)!==-1||e.indexOf(`\r`)!==-1?e.replace(tF,`<br>`):e}function sF(e,t){switch(e){case`left`:return`:`+`-`.repeat(t-1);case`right`:return`-`.repeat(t-1)+`:`;case`center`:return`:`+`-`.repeat(Math.max(t-2,1))+`:`;default:return`-`.repeat(t)}}function cF(e,t,n){let r=rF(e);if(r>=t)return e;let i=t-r;switch(n){case`right`:return` `.repeat(i)+e;case`center`:{let t=Math.floor(i/2),n=i-t;return` `.repeat(t)+e+` `.repeat(n)}default:return e+` `.repeat(i)}}function lF(e,t){let n=e.length,r=t.alignment??`left`,i=Array(n),a=Array(n),o=Array(n);if(t.columns&&t.columns.length>0)for(let s=0;s<n;s++){let n=s<t.columns.length?t.columns[s]:void 0;typeof n==`string`?(i[s]=n,a[s]=r,o[s]=3):n?(i[s]=n.header,a[s]=n.alignment??r,o[s]=n.minWidth??3):(i[s]=e[s]??``,a[s]=r,o[s]=3)}else for(let t=0;t<n;t++)i[t]=e[t]??``,a[t]=r,o[t]=3;return{displayHeaders:i,alignments:a,minWidths:o}}function uF(e,t,n={}){let{padding:r=!0,trailingNewline:i=!0,escapeContent:a=!0,stringify:o=iF}=n,s=e.length;if(s===0)return``;let{displayHeaders:c,alignments:l,minWidths:u}=lF(e,n),d=Array(s),f=Array(s);for(let e=0;e<s;e++){let t=a?aF(c[e]):oF(c[e]);d[e]=t,f[e]=r?Math.max(rF(t),u[e]):Math.max(u[e],3)}let p=Array(t.length);for(let e=0;e<t.length;e++){let n=t[e],i=Array(s);for(let e=0;e<s;e++){let t=e<n.length?o(n[e]):``,s=a?aF(t):oF(t);if(i[e]=s,r){let t=rF(s);t>f[e]&&(f[e]=t)}}p[e]=i}let m=2+p.length,h=Array(m),g=Array(s);for(let e=0;e<s;e++)g[e]=r?` `+cF(d[e],f[e],l[e])+` `:` `+d[e]+` `;h[0]=`|`+g.join(`|`)+`|`;let _=Array(s);for(let e=0;e<s;e++)_[e]=sF(l[e],f[e]+2);h[1]=`|`+_.join(`|`)+`|`;for(let e=0;e<p.length;e++){let t=Array(s);for(let n=0;n<s;n++)t[n]=r?` `+cF(p[e][n],f[n],l[n])+` `:` `+p[e][n]+` `;h[e+2]=`|`+t.join(`|`)+`|`}let v=h.join(`
436
436
  `);return i&&(v+=`
437
- `),v}var cF=t((()=>{$P()})),lF,uF,dF=t((()=>{u(),lF=class extends c{constructor(...e){super(...e),this.name=`MarkdownError`}},uF=class extends lF{constructor(e,t,n){super(`Line ${t}: ${e}`,n),this.name=`MarkdownParseError`,this.line=t}}}));function fF(e){return{trim:e.trim!==!1,unescape:e.unescape!==!1,skipEmpty:e.skipEmptyRows!==!1,maxRows:e.maxRows,convertBr:e.convertBr===!0}}function pF(e){let t=[],n=e.length,r=+(n>0&&e.charCodeAt(0)===EF),i=n;if(n>1&&e.charCodeAt(n-1)===EF){let t=0,r=n-2;for(;r>=0&&e.charCodeAt(r)===DF;)t++,r--;t%2==0&&(i=n-1)}let a=r,o=``,s=!1;for(;r<i;){let n=e.charCodeAt(r);n===DF&&r+1<i?(s=!0,r>a&&(o+=e.slice(a,r)),o+=e.slice(r,r+2),r+=2,a=r):n===EF?(s?(r>a&&(o+=e.slice(a,r)),t.push(o),o=``,s=!1):t.push(e.slice(a,r)),r++,a=r):r++}return s?(i>a&&(o+=e.slice(a,i)),t.push(o)):t.push(e.slice(a,i)),t}function mF(e){let t=e.trim(),n=t.length;if(n===0)return`none`;let r=t.charCodeAt(0)===OF,i=t.charCodeAt(n-1)===OF;return r&&i?`center`:r?`left`:i?`right`:`none`}function hF(e){let t=e.length,n=0;for(;n<t;){let t=e.charCodeAt(n);if(t!==AF&&t!==jF)break;n++}n<t&&e.charCodeAt(n)===OF&&n++;let r=n;for(;n<t&&e.charCodeAt(n)===kF;)n++;if(n===r)return!1;for(n<t&&e.charCodeAt(n)===OF&&n++;n<t;){let t=e.charCodeAt(n);if(t!==AF&&t!==jF)return!1;n++}return!0}function gF(e){if(e.length===0)return!1;for(let t=0;t<e.length;t++)if(!hF(e[t]))return!1;return!0}function _F(e,t){let n=t.trim?e.trim():e;return t.unescape&&(n=n.replace(XP,`$1`)),t.convertBr&&(n=n.replace(ZP,`
438
- `)),n}function vF(e,t,n){let r=Array(t);for(let i=0;i<t;i++)r[i]=i<e.length?_F(e[i],n):``;return r}function yF(e){for(let t=0;t<e.length;t++)if(e[t]!==``)return!1;return!0}function bF(e){return e.indexOf(`|`)!==-1}function xF(e){let t=e.length,n=0;for(;n<t;){let t=e.charCodeAt(n);if(t!==AF&&t!==jF)return t===EF;n++}return!1}function SF(e){return e.indexOf(`-`)!==-1}function CF(e,t,n,r){if(t>=n-1)return null;let i=e[t].trim();if(i===``||!bF(i))return null;let a=pF(i);if(a.length<1)return null;let o=e[t+1].trim();if(o===``||!SF(o))return null;let s=pF(o);if(!gF(s))return null;let c=a.length,l=Array(c),u=Array(c);for(let e=0;e<c;e++)l[e]=_F(a[e],r),u[e]=e<s.length?mF(s[e]):`none`;let d=xF(i),f=[],p=t+2;for(;p<n;p++){let t=e[p].trim();if(t===``||!bF(t)||d&&!xF(t))break;if(r.maxRows!==void 0&&f.length>=r.maxRows){for(;p<n;){let t=e[p].trim();if(t===``||!bF(t)||d&&!xF(t))break;p++}break}let i=vF(pF(t),c,r);r.skipEmpty&&yF(i)||f.push(i)}return{result:{headers:l,rows:f,alignments:u},endLine:p}}function wF(e,t={}){let n=fF(t),r=e.split(JP),i=r.length;for(let e=0;e<i-1;e++){let t=CF(r,e,i,n);if(t)return t.result}throw new uF(`No valid Markdown table found in input`,i>0?i:1)}function TF(e,t={}){let n=fF(t),r=e.split(JP),i=r.length,a=[],o=0;for(;o<i-1;){let e=CF(r,o,i,n);e?(a.push(e.result),o=e.endLine):o++}return a}var EF,DF,OF,kF,AF,jF,MF=t((()=>{$P(),dF(),EF=124,DF=92,OF=58,kF=45,AF=32,jF=9}));function NF(e,t){let n=Ct.create(e),r=t?.decimalSeparator??`.`;return function(e){if(e===``)return null;if(typeof e==`string`){let t=ue(e,r);if(!Number.isNaN(t)&&t!==1/0)return t}else{let t=Number(e);if(!Number.isNaN(t)&&t!==1/0)return t}if(typeof e==`string`){let t=n.parse(e);if(t)return t;let r=ZF[e];if(r!==void 0)return r}return e}}function PF(e,t){let n=e?wt.create(e,{utc:t}):wt.iso(t);return function(e){if(e==null)return e;if(e instanceof Date)return n.format(e);if(typeof e!=`object`)return e;let t=e;if(typeof t.hyperlink==`string`||typeof t.text==`string`){let e=typeof t.hyperlink==`string`?t.hyperlink:``,n=typeof t.text==`string`?t.text:``;return e||n||``}return`formula`in e||`sharedFormula`in e?e.result??``:`richText`in e&&Array.isArray(e.richText)?e.richText.map(e=>e.text).join(``):`checkbox`in e&&typeof e.checkbox==`boolean`?e.checkbox:`error`in e&&typeof e.error==`string`?e.error:JSON.stringify(e)}}function FF(e,t){let n=e?wt.create(e,{utc:t}):wt.iso(t);return function(e){if(e==null)return``;if(typeof e==`string`)return e;if(typeof e==`number`||typeof e==`bigint`)return String(e);if(typeof e==`boolean`)return e?`true`:`false`;if(e instanceof Date)return n.format(e);if(typeof e==`object`){let t=e;if(t.text||t.hyperlink)return t.hyperlink||t.text||``;if(t.formula||t.result)return t.result==null?``:String(t.result);if(t.richText&&Array.isArray(t.richText))return t.richText.map(e=>e.text).join(``);if(t.error)return t.error;try{return JSON.stringify(e)}catch{return`[object Object]`}}return String(e)}}function IF(e){return typeof e==`string`&&/^https?:\/\//i.test(e)}function LF(e){return typeof File<`u`&&e instanceof File}function RF(e){return typeof Blob<`u`&&e instanceof Blob&&!LF(e)}function zF(e){if(!e||typeof e!=`object`)return!1;let t=e;return typeof t[Symbol.asyncIterator]==`function`||typeof t.pipe==`function`&&typeof t.on==`function`}function*BF(e){let t=e._rows;if(!(!t||t.length===0))for(let e=0;e<t.length;e++){let n=t[e];n&&n.hasValues&&(yield{row:n,rowNumber:e+1})}}function VF(e){return()=>new Promise((t,n)=>{let r=()=>{e.off(`drain`,i),e.off(`error`,a),e.off(`close`,o)},i=()=>{r(),t()},a=e=>{r(),n(e)},o=()=>{r(),n(Error(`stream closed before drain`))};e.once(`drain`,i),e.once(`error`,a),e.once(`close`,o)})}function HF(e){return{delimiter:e?.delimiter??`,`,quote:e?.quote,escape:e?.escape,delimitersToGuess:e?.delimitersToGuess,lineEnding:e?.lineEnding,headers:e?.headers,skipEmptyLines:e?.skipEmptyLines,trim:e?.trim,ltrim:e?.ltrim,rtrim:e?.rtrim,comment:e?.comment,maxRows:e?.maxRows,toLine:e?.toLine,skipLines:e?.skipLines,skipRows:e?.skipRows,columnMismatch:e?.columnMismatch,groupColumnsByName:e?.groupColumnsByName,relaxQuotes:e?.relaxQuotes,fastMode:e?.fastMode,info:e?.info,raw:e?.raw,skipRecordsWithError:e?.skipRecordsWithError,skipRecordsWithEmptyValues:e?.skipRecordsWithEmptyValues,onSkip:e?.onSkip}}function UF(e){return{delimiter:e?.delimiter??`,`,quote:e?.quote,escape:e?.escape,lineEnding:e?.lineEnding,quoteColumns:e?.quoteColumns,quoteHeaders:e?.quoteHeaders,decimalSeparator:e?.decimalSeparator??`.`,escapeFormulae:e?.escapeFormulae??!0,writeHeaders:e?.writeHeaders}}function WF(e){return!!e&&typeof e==`object`&&`groups`in e}function GF(e){return!!e&&typeof e==`object`&&`type`in e&&KF(e.type)}function KF(e){return e===`sunburst`||e===`treemap`||e===`waterfall`||e===`funnel`||e===`histogram`||e===`pareto`||e===`boxWhisker`||e===`regionMap`}function qF(e){return typeof structuredClone==`function`?structuredClone(e):JSON.parse(JSON.stringify(e))}function JF(e,t){return{chartNumber:t,model:qF(e.model),...e.rawData?{rawData:e.rawData.slice()}:{},...e.modelSnapshot===void 0?{}:{modelSnapshot:e.modelSnapshot},...e.dirty===void 0?{}:{dirty:e.dirty},...e.preferRawPatch===void 0?{}:{preferRawPatch:e.preferRawPatch},...e.requireRawPatch===void 0?{}:{requireRawPatch:e.requireRawPatch},...e.style?{style:qF(e.style)}:{},...e.colors?{colors:qF(e.colors)}:{},...e.rels?{rels:e.rels.map(e=>({...e}))}:{},...e.userShapesXml?{userShapesXml:e.userShapesXml.slice()}:{}}}function YF(e,t){return{chartExNumber:t,model:qF(e.model),...e.rawData?{rawData:e.rawData.slice()}:{},...e.modelSnapshot===void 0?{}:{modelSnapshot:e.modelSnapshot},...e.dirty===void 0?{}:{dirty:e.dirty},...e.preferRawPatch===void 0?{}:{preferRawPatch:e.preferRawPatch},...e.requireRawPatch===void 0?{}:{requireRawPatch:e.requireRawPatch},...e.rels?{rels:e.rels.map(e=>({...e}))}:{}}}var XF,ZF,QF;t((()=>{Be(),Ni(),Li(),fe(),Bi(),Wi(),Aa(),la(),Ka(),G_(),Sw(),ww(),iC(),uE(),mu(),UP(),qP(),cF(),MF(),Ei(),dr(),Tt(),XF=[`YYYY-MM-DD[T]HH:mm:ssZ`,`YYYY-MM-DD[T]HH:mm:ss`,`MM-DD-YYYY`,`YYYY-MM-DD`],ZF={true:!0,false:!1,"#N/A":{error:`#N/A`},"#REF!":{error:`#REF!`},"#NAME?":{error:`#NAME?`},"#DIV/0!":{error:`#DIV/0!`},"#NULL!":{error:`#NULL!`},"#VALUE!":{error:`#VALUE!`},"#NUM!":{error:`#NUM!`}},QF=class{static{this.Writer=xw}static{this.Reader=W_}constructor(e){this._tableNames=new Set,this.category=``,this.company=``,this.created=new Date,this.description=``,this.keywords=``,this.manager=``,this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject=``,this.title=``,this.views=[],this.media=[],this.pivotTables=[],this.externalLinks=[],this._chartEntries={},this._chartRels={},this._chartStyles={},this._chartColors={},this._chartExStyles={},this._chartExColors={},this._chartExEntries={},this._chartExRels={},this._chartExStructuredEntries={},this._chartsheets=[],this._persons=[],this._slicerParts={},this._slicerCacheParts={},this._timelineParts={},this._timelineCacheParts={},this._writerExternalLinkCache=new Map,this._definedNames=new ka(e?.formulaSyntaxProbe)}get defaultFont(){return this._defaultFont}set defaultFont(e){this._defaultFont=e}importSheet(e,t){let n=this.addWorksheet(t??e.name),r=e.model,i=new Map,a=new Map,o=e.workbook,s=o!==this,c=r.charts??[],l=this.nextChartNumber(),u=this.nextChartExNumber();for(let e of c)e.chartNumber&&e.chartNumber>0&&!i.has(e.chartNumber)&&i.set(e.chartNumber,l++),e.chartExNumber&&e.chartExNumber>0&&!a.has(e.chartExNumber)&&a.set(e.chartExNumber,u++);let d=c.map(e=>({...e,chartNumber:e.chartNumber?i.get(e.chartNumber)??e.chartNumber:e.chartNumber,chartExNumber:e.chartExNumber?a.get(e.chartExNumber)??e.chartExNumber:e.chartExNumber}));if(n.model={...r,id:n.id,name:n.name,charts:d},i.size>0||a.size>0){for(let[e,t]of i){let n=o.getChartEntry(e);n&&(this.addChartEntry(JF(n,t)),s?o.copyChartSidecars(e,t,this):this.copyChartSidecars(e,t))}for(let[e,t]of a){let n=o.getChartExStructuredEntry?.(e);if(n)this.addChartExStructuredEntry(YF(n,t));else{let n=o._chartExEntries?.[e];n&&(this._chartExEntries[t]=n.slice())}s?o.copyChartExSidecars(e,t,this):this.copyChartExSidecars(e,t)}}return n}async protect(e,t){this.protection=await rC(e,t)}unprotect(){this.protection=void 0}get xlsx(){return this._xlsx||=new HP(this),this._xlsx}async readCsv(e,t){return IF(e)?this._readCsvUrl(e,t):LF(e)?this._readCsvFile(e,t):RF(e)?this._readCsvBlob(e,t):zF(e)?this._readCsvStream(e,t):this._readCsvContent(e,t)}writeCsv(e,t){return e&&typeof e.write==`function`?this._writeCsvStream(e,t):this._writeCsvString(e)}async writeCsvBuffer(e){let t=this._writeCsvString(e);return new TextEncoder().encode(t)}async readCsvFile(e,t){throw new ea(`readCsvFile()`,`not available in browser. Use readCsv(url) or readCsv(file) instead.`)}async writeCsvFile(e,t){throw new ea(`writeCsvFile()`,`not available in browser. Use writeCsv() and trigger a download instead.`)}createCsvReadStream(e){let t=this.getWorksheet(e?.sheetName||e?.sheetId),n=e?.map||PF(e?.dateFormat,e?.dateUTC),r=e?.includeEmptyRows!==!1,i=new Fi(UF(e));if(!t)return setTimeout(()=>i.end(),0),i;let a=VF(i),o=e=>{if(!i.write(e))return a()};return(async()=>{try{let e=1;for(let{row:a,rowNumber:s}of BF(t)){if(i.destroyed)return;let t=a.values.slice(1).map(n);if(r)for(;e++<s-1;){let e=o([]);if(e&&await e,i.destroyed)return}let c=o(t);c&&await c,e=s}i.end()}catch(e){i.destroy(e instanceof Error?e:Error(String(e)))}})(),i}createCsvWriteStream(e){let t=this.addWorksheet(e?.sheetName),n=e?.dateFormats??XF,r=e?.decimalSeparator,i=e?.map||NF(n,{decimalSeparator:r}),a=new ji(HF(e)),o=!!e?.headers,s=null;return o&&a.on(`headers`,e=>{s=e,t.addRow(e)}),a.on(`data`,e=>{if(o&&s&&e&&typeof e==`object`&&!Array.isArray(e)){let n=e,r=s.map(e=>n[e]);t.addRow(r.map(i))}else Array.isArray(e)&&t.addRow(e.map(i))}),a}_readCsvContent(e,t){let n;n=typeof e==`string`?e:e instanceof ArrayBuffer||e instanceof Uint8Array?new TextDecoder().decode(e):String(e);let r=this.addWorksheet(t?.sheetName),i=t?.dateFormats??XF,a=t?.decimalSeparator,o=t?.map||NF(i,{decimalSeparator:a}),s=Fn(n,HF(t));if(Array.isArray(s))for(let e of s)r.addRow(e.map(o));else{s.headers&&r.addRow(s.headers);for(let e of s.rows){let t=s.headers.map(t=>e[t]);r.addRow(t.map(o))}}return r}async _readCsvStream(e,t){let n=this.addWorksheet(t?.sheetName),r=t?.dateFormats??XF,i=t?.decimalSeparator,a=t?.map||NF(r,{decimalSeparator:i}),o=new ji(HF(t)),s=!!t?.headers,c=null;return new Promise((t,r)=>{s&&o.on(`headers`,e=>{c=e,n.addRow(e)}),o.on(`data`,e=>{if(s&&c&&e&&typeof e==`object`&&!Array.isArray(e)){let t=e,r=c.map(e=>t[e]);n.addRow(r.map(a))}else Array.isArray(e)&&n.addRow(e.map(a))}),mi(e,o).then(()=>t(n)).catch(r)})}async _readCsvUrl(e,t){let n={method:t?.requestBody?`POST`:`GET`,headers:t?.requestHeaders,body:t?.requestBody,credentials:t?.withCredentials?`include`:`same-origin`,signal:t?.signal},r=await fetch(e,n);if(!r.ok)throw new ra(e,r.status,r.statusText);if(t?.stream&&r.body){let e=ur(r.body);return this._readCsvStream(e,t)}let i=await r.text();return this._readCsvContent(i,t)}async _readCsvFile(e,t){if((t?.stream||e.size>10*1024*1024)&&typeof e.stream==`function`){let n=ur(e.stream());return this._readCsvStream(n,t)}return new Promise((n,r)=>{let i=new FileReader,a=t?.encoding??`UTF-8`;t?.onProgress&&(i.onprogress=n=>{t.onProgress(n.loaded,n.total||e.size)}),i.onload=e=>{try{let r=e.target?.result;n(this._readCsvContent(r,t))}catch(e){r(e)}},i.onerror=()=>r(Error(`Failed to read file: ${e.name}`)),i.readAsText(e,a)})}async _readCsvBlob(e,t){let n=await e.text();return this._readCsvContent(n,t)}_writeCsvString(e){let t=this.getWorksheet(e?.sheetName||e?.sheetId);if(!t)return``;let n=e?.map||PF(e?.dateFormat,e?.dateUTC),r=e?.includeEmptyRows!==!1,i=[],a=1;return t.eachRow((e,t)=>{if(r)for(;a++<t-1;)i.push([]);let{values:o}=e;o.shift(),i.push(o.map(n)),a=t}),Re(i,UF(e))}async _writeCsvStream(e,t){let n=this.getWorksheet(t?.sheetName||t?.sheetId);if(!n){e.end();return}let r=t?.map||PF(t?.dateFormat,t?.dateUTC),i=t?.includeEmptyRows!==!1,a=new Fi(UF(t)),o=mi(a,e),s=VF(a),c=async e=>{a.write(e)||await s()};try{let e=1;for(let{row:t,rowNumber:a}of BF(n)){let n=t.values.slice(1).map(r);if(i)for(;e++<a-1;)await c([]);await c(n),e=a}a.end(),await o}catch(e){throw a.destroy(e instanceof Error?e:Error(String(e))),await o.catch(()=>{}),e}}_populateMarkdownWorksheet(e,t,n){e.addRow(t.headers),e._markdownAlignments=t.alignments;for(let r of t.rows)n?e.addRow(r.map((e,t)=>n(e,t))):e.addRow(r)}readMarkdown(e,t){let n=wF(e,{trim:t?.trim,unescape:t?.unescape,skipEmptyRows:t?.skipEmptyRows,maxRows:t?.maxRows,convertBr:t?.convertBr}),r=this.addWorksheet(t?.sheetName);return this._populateMarkdownWorksheet(r,n,t?.map),r}readMarkdownAll(e,t){let n=TF(e,{trim:t?.trim,unescape:t?.unescape,skipEmptyRows:t?.skipEmptyRows,maxRows:t?.maxRows,convertBr:t?.convertBr}),r=t?.sheetName,i=t?.map,a=[];for(let e=0;e<n.length;e++){let t=r?e===0?r:`${r}_${e+1}`:void 0,o=this.addWorksheet(t);this._populateMarkdownWorksheet(o,n[e],i),a.push(o)}return a}writeMarkdown(e){let t=this.getWorksheet(e?.sheetName||e?.sheetId);if(!t)return``;let n=e?.dateFormat,r=e?.dateUTC,i=e?.includeEmptyRows!==!1,a=e?.stringify??FF(n,r),o=[],s=1;if(t.eachRow((e,t)=>{if(i)for(;s++<t-1;)o.push([]);let n=Array.from(e.values).slice(1);o.push(n),s=t}),o.length===0)return``;let c=o[0].map(e=>a(e)),l=o.slice(1),u=t._markdownAlignments,d=e?.columns,f;return!d&&u&&(f=c.map((e,t)=>({header:e,alignment:t<u.length?u[t]:void 0}))),sF(c,l,{columns:f??d,alignment:e?.alignment,padding:e?.padding,trailingNewline:e?.trailingNewline,escapeContent:e?.escapeContent,stringify:a})}writeMarkdownBuffer(e){let t=this.writeMarkdown(e);return new TextEncoder().encode(t)}async readMarkdownFile(e,t){throw new ea(`readMarkdownFile()`,`not available in browser. Use readMarkdown(string) instead.`)}async readMarkdownAllFile(e,t){throw new ea(`readMarkdownAllFile()`,`not available in browser. Use readMarkdownAll(string) instead.`)}async writeMarkdownFile(e,t){throw new ea(`writeMarkdownFile()`,`not available in browser. Use writeMarkdown() and trigger a download instead.`)}static createStreamWriter(e){return new xw(e)}static createStreamReader(e,t){return new W_(e,t)}get nextId(){let e=new Set;for(let t of this._chartsheets)t&&typeof t.id==`number`&&Number.isFinite(t.id)&&e.add(t.id);for(let t=1;t<this._worksheets.length;t++)if(!this._worksheets[t]&&!e.has(t))return t;let t=this._worksheets.length||1;for(;e.has(t);)t++;return t}addWorksheet(e,t){let n=this.nextId,r=this._nextSheetOrderNo(),i=new lE({...t,id:n,name:e,orderNo:r,workbook:this});return this._worksheets[n]=i,i}removeWorksheetEx(e){let t=e.tables;if(t)for(let e of Object.keys(t))this._tableNames.delete(e.toLowerCase());this._worksheets[e.id]=void 0}removeWorksheet(e){let t=this.getWorksheet(e);t&&t.destroy()}getWorksheet(e){if(e===void 0)return this._worksheets.find(Boolean);if(typeof e==`number`)return this._worksheets[e];if(typeof e==`string`){let t=e.toLowerCase();return this._worksheets.find(e=>e&&e.name.toLowerCase()===t)}}get worksheets(){return this._worksheets.slice(1).sort((e,t)=>e.orderNo-t.orderNo).filter(Boolean)}addChartsheet(e,t){let n=this._validateChartsheetName(e??`Chart${this._chartsheets.length+1}`),r={sheetNo:this._nextChartsheetNo(),id:this._nextSheetId(),name:n,orderNo:this._nextSheetOrderNo(),state:t.state??`visible`,tabSelected:t.tabSelected,zoomScale:t.zoomScale,workbookViewId:t.workbookViewId,zoomToFit:t.zoomToFit,pageMargins:t.pageMargins,pageSetup:t.pageSetup,drawing:{rId:`rId1`}};if(GF(t.chart)){let e=T(),n=this.nextChartExNumber(),i=e.buildChartExModel(t.chart);try{e.fillChartExCaches(i,this)}catch{}this.addChartExStructuredEntry({chartExNumber:n,model:i}),r.chartExNumber=n}else{let e=T(),n=this.nextChartNumber(),i=WF(t.chart)?e.buildComboChartModel(t.chart):e.buildChartModel(t.chart);try{e.fillChartCaches(i,this)}catch{}let a={chartNumber:n,model:i};try{e.resolvePendingChartImages(a,this,n)}catch{}this.addChartEntry(a),this._applyChartsheetSidecars(n,t.chart),r.chartNumber=n}return this._chartsheets.push(r),new Ui(r,this)}addPivotChartsheet(e,t,n){return this.addChartsheet(e,{...n,chart:Va(t,n.chart)})}get chartsheets(){return this._chartsheets.map(e=>new Ui(e,this))}getChartsheet(e){let t=this._getChartsheetModel(e);return t?new Ui(t,this):void 0}removeChartsheet(e){let t=typeof e==`number`?e:this._chartsheets.findIndex(t=>t.name.toLowerCase()===e.toLowerCase());if(t<0||t>=this._chartsheets.length)return!1;let[n]=this._chartsheets.splice(t,1);return n.chartNumber&&this.removeChartEntry?.(n.chartNumber),n.chartExNumber&&this.removeChartExStructuredEntry?.(n.chartExNumber),!0}_getChartsheetModel(e){return typeof e==`number`?this._chartsheets[e]:this._chartsheets.find(t=>t.name.toLowerCase()===e.toLowerCase())}renameChartsheet(e,t){let n=this._getChartsheetModel(e);if(!n)return!1;let r=n.name;if(r===t)return!0;n.name=`__excelts_pending_chartsheet_rename__`;try{return n.name=this._validateChartsheetName(t),!0}catch(e){throw n.name=r,e}}copyChartsheet(e,t){let n=this._getChartsheetModel(e);if(!n)return;let r=this._validateChartsheetName(t??`${n.name} Copy`),i={...qF(n),id:this._nextSheetId(),sheetNo:this._nextChartsheetNo(),orderNo:this._nextSheetOrderNo(),name:r,drawingName:void 0,relationships:n.relationships?qF(n.relationships):void 0};if(n.chartNumber){let e=this.getChartEntry(n.chartNumber);if(e){let t=this.nextChartNumber();this.addChartEntry(JF(e,t)),this.copyChartSidecars(n.chartNumber,t),i.chartNumber=t,i.chartExNumber=void 0}}else if(n.chartExNumber){let e=this.getChartExStructuredEntry(n.chartExNumber),t=this.nextChartExNumber();e?this.addChartExStructuredEntry(YF(e,t)):this._chartExEntries[n.chartExNumber]&&(this._chartExEntries[t]=this._chartExEntries[n.chartExNumber].slice()),this.copyChartExSidecars(n.chartExNumber,t),i.chartExNumber=t,i.chartNumber=void 0}return this._chartsheets.push(i),new Ui(i,this)}replaceChartsheetChart(e,t){let n=this.getChartsheet(e);if(!n)return!1;let r=n.model,i=T(),a,o;if(GF(t)?a=i.buildChartExModel(t):o=WF(t)?i.buildComboChartModel(t):i.buildChartModel(t),r.chartNumber&&=(this.removeChartEntry?.(r.chartNumber),void 0),r.chartExNumber&&=(this.removeChartExStructuredEntry?.(r.chartExNumber),void 0),a){let e=this.nextChartExNumber();try{i.fillChartExCaches(a,this)}catch{}this.addChartExStructuredEntry({chartExNumber:e,model:a}),r.chartExNumber=e}else if(o){let e=this.nextChartNumber();try{i.fillChartCaches(o,this)}catch{}let n={chartNumber:e,model:o};try{i.resolvePendingChartImages(n,this,e)}catch{}this.addChartEntry(n),this._applyChartsheetSidecars(e,t),r.chartNumber=e}return!0}eachSheet(e){this.worksheets.forEach(t=>{e(t,t.id)})}get definedNames(){return this._definedNames}get persons(){return this._persons}registerPerson(e,t,n){let r=this._persons.find(n=>n.displayName===e&&n.userId===t);if(r)return r.id;let i=`{${Cw()}}`,a={id:i,displayName:e};return t!==void 0&&(a.userId=t),n!==void 0&&(a.providerId=n),this._persons.push(a),i}calculateFormulas(){WP(this)}registerFunction(e,t,n){this.userFunctions||=new Map,this.userFunctions.set(e.toUpperCase(),{minArity:n?.minArity??0,maxArity:n?.maxArity??255,invoke:t,volatile:n?.volatile??!1})}unregisterFunction(e){return this.userFunctions?.delete(e.toUpperCase())??!1}clearThemes(){this._themes=void 0}addImage(e){let t=this.media.length;return this.media.push({...e,type:`image`}),t}getImage(e){return this.media[Number(e)]}nextChartNumber(){let e=Object.keys(this._chartEntries).map(Number);return e.length>0?Math.max(...e)+1:1}addChartEntry(e){this._chartEntries[e.chartNumber]=e}setChartStyle(e,t){this._chartStyles[e]=t}setChartColors(e,t){this._chartColors[e]=t}copyChartSidecars(e,t,n=this){let r=this._chartStyles[e];r&&n.setChartStyle(t,r.slice());let i=this._chartColors[e];i&&n.setChartColors(t,i.slice());let a=this._chartRels[e];if(Array.isArray(a)&&a.length>0){let e=n!==this;n._chartRels[t]=a.map(r=>{if(typeof r!=`object`||!r)return r;let i={...r},a=typeof i.Target==`string`?i.Target:void 0;if(a){if(/^style\d+\.xml$/.test(a))i.Target=`style${t}.xml`;else if(/^colors\d+\.xml$/.test(a))i.Target=`colors${t}.xml`;else if(e&&i.Type===D.Image){let e=this._rewriteCrossWorkbookImageTarget(a,n);e!==void 0&&(i.Target=e)}}return i})}}_rewriteCrossWorkbookImageTarget(e,t){let n=/\/media\/image(\d+)\.([a-zA-Z0-9]+)$/.exec(e);if(!n)return;let r=parseInt(n[1],10)-1;if(!Number.isFinite(r)||r<0)return;let i=this.getImage?.(r);if(!i)return;let a=i.extension;if(a!==`png`&&a!==`jpeg`&&a!==`gif`)return;let o={extension:a},s=i.buffer;if(s&&ArrayBuffer.isView(s)&&s.BYTES_PER_ELEMENT===1)o.buffer=s instanceof Uint8Array?s.slice():new Uint8Array(s.buffer.slice(s.byteOffset,s.byteOffset+s.byteLength));else if(typeof i.base64==`string`)o.base64=i.base64;else return;return`../media/image${t.addImage(o)+1}.${a}`}copyChartExSidecars(e,t,n=this){let r=this._chartExRels[e];if(r&&r.length>0){let e=n!==this;n._chartExRels[t]=r.map(r=>{if(typeof r!=`object`||!r)return r;let i={...r},a=typeof i.Target==`string`?i.Target:void 0;if(a){if(/^styleEx\d+\.xml$/.exec(a))i.Target=`styleEx${t}.xml`;else if(/^colorsEx\d+\.xml$/.exec(a))i.Target=`colorsEx${t}.xml`;else if(e&&i.Type===D.Image){let e=this._rewriteCrossWorkbookImageTarget(a,n);e!==void 0&&(i.Target=e)}}return i})}let i=this._chartExStyles[e];i&&(n._chartExStyles[t]=i.slice());let a=this._chartExColors[e];a&&(n._chartExColors[t]=a.slice())}_applyChartsheetSidecars(e,t){if(GF(t)||!t.chartStyle&&!t.chartColors)return;let n=T();t.chartStyle&&this.setChartStyle(e,new TextEncoder().encode(n.buildChartStyle(t.chartStyle))),t.chartColors&&this.setChartColors(e,new TextEncoder().encode(n.buildChartColors(t.chartColors)))}getChartEntry(e){return this._chartEntries[e]}removeChartEntry(e){delete this._chartEntries[e],delete this._chartRels[e],delete this._chartStyles[e],delete this._chartColors[e]}nextChartExNumber(){let e=Object.keys(this._chartExEntries??{}).map(Number),t=Object.keys(this._chartExStructuredEntries??{}).map(Number),n=[...e,...t];return n.length>0?Math.max(...n)+1:1}addChartExStructuredEntry(e){this._chartExStructuredEntries||={},this._chartExStructuredEntries[e.chartExNumber]=e}getChartExStructuredEntry(e){return this._chartExStructuredEntries?.[e]}_nextChartsheetNo(){let e=this._chartsheets.map(e=>e.sheetNo).filter(Number.isFinite);return e.length>0?Math.max(...e)+1:1}_nextSheetOrderNo(){let e=-1;for(let t of this._worksheets)t&&typeof t.orderNo==`number`&&t.orderNo>e&&(e=t.orderNo);for(let t of this._chartsheets)typeof t.orderNo==`number`&&t.orderNo>e&&(e=t.orderNo);return e+1}_nextSheetId(){let e=this.worksheets.map(e=>e.id),t=this._chartsheets.map(e=>e.id).filter(Number.isFinite),n=[...e,...t];return n.length>0?Math.max(...n)+1:1}validateSheetName(e,t){if(typeof e!=`string`)throw new qi(`The name has to be a string.`);if(e===``)throw new qi(`The name can't be empty.`);if(e===`History`)throw new qi(`The name "History" is protected. Please use a different name.`);if(/[*?:/\\[\]]/.test(e))throw new qi(`Sheet name ${e} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test(e))throw new qi(`The first or last character of sheet name cannot be a single quotation mark: ${e}`);e.length>31&&(e=e.substring(0,31));let n=e.toLowerCase(),r=this.worksheets.find(e=>e&&e!==t&&e.name.toLowerCase()===n),i=this._chartsheets.find(e=>e&&e!==t&&e.name.toLowerCase()===n);if(r||i)throw new qi(`Sheet name already exists: ${e}`);return e}_validateChartsheetName(e){return this.validateSheetName(e)}removeChartExStructuredEntry(e){this._chartExStructuredEntries&&delete this._chartExStructuredEntries[e],delete this._chartExEntries[e],delete this._chartExRels[e],delete this._chartExStyles[e],delete this._chartExColors[e]}addExternalLink(e){let t={index:this.externalLinks.length+1,target:e.target,targetMode:e.targetMode??`External`,sheetNames:e.sheetNames?[...e.sheetNames]:[],cachedValues:e.cachedValues?{...e.cachedValues}:{}};return this.externalLinks.push(t),t}getExternalLink(e){if(typeof e==`number`)return this.externalLinks[e-1];let t=e.toLowerCase();return this.externalLinks.find(e=>e.target.toLowerCase()===t)}_collectExternalLinksForWrite(){let e=new Set(this.externalLinks.map(e=>e.target.toLowerCase())),t=this.externalLinks.map((e,t)=>({...e,index:t+1,sheetNames:[...e.sheetNames??[]],cachedValues:{...e.cachedValues??{}},targetMode:e.targetMode??`External`}));for(let n of this._writerExternalLinkCache.values())e.has(n.target.toLowerCase())||t.push({...n,index:t.length+1,sheetNames:[...n.sheetNames],cachedValues:{...n.cachedValues}});return t}_recordAutoExternalLink(e,t){let n=e.toLowerCase(),r=this.externalLinks.findIndex(e=>e.target.toLowerCase()===n);if(r!==-1)return r+1;let i=this._writerExternalLinkCache.get(n);i||(i={index:0,target:e,targetMode:`External`,sheetNames:[],cachedValues:{}},this._writerExternalLinkCache.set(n,i)),t&&!i.sheetNames.includes(t)&&i.sheetNames.push(t);let a=this.externalLinks.length,o=0;for(let e of this._writerExternalLinkCache.keys())if(o++,e===n)return a+o;return a+this._writerExternalLinkCache.size}get model(){return{creator:this.creator||`Unknown`,lastModifiedBy:this.lastModifiedBy||`Unknown`,lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,protection:this.protection,worksheets:this.worksheets.map(e=>e.model),sheets:this.worksheets.map(e=>e.model).filter(Boolean),definedNames:this._definedNames.model,definedNamesInstance:this._definedNames,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,pivotTables:this.pivotTables,calcProperties:this.calcProperties,defaultFont:this._defaultFont,externalLinks:this.externalLinks,chartEntries:this._chartEntries,chartRels:this._chartRels,chartStyles:this._chartStyles,chartColors:this._chartColors,chartExStyles:this._chartExStyles,chartExColors:this._chartExColors,chartExEntries:this._chartExEntries,chartExRels:this._chartExRels,chartExStructuredEntries:this._chartExStructuredEntries,chartsheets:this._chartsheets,persons:this._persons,slicerParts:this._slicerParts,slicerCacheParts:this._slicerCacheParts,timelineParts:this._timelineParts,timelineCacheParts:this._timelineCacheParts}}set model(e){if(this.creator=e.creator,this.lastModifiedBy=e.lastModifiedBy,this.lastPrinted=e.lastPrinted,this.created=e.created,this.modified=e.modified,this.company=e.company,this.manager=e.manager,this.title=e.title,this.subject=e.subject,this.keywords=e.keywords,this.category=e.category,this.description=e.description,this.language=e.language,this.revision=e.revision,this.contentStatus=e.contentStatus,this.properties=e.properties,this.protection=e.protection,this.calcProperties=e.calcProperties,this._worksheets=[],this._tableNames.clear(),e.worksheets.forEach(t=>{let{id:n,name:r,state:i}=t;if(!Number.isInteger(n)||n<=0)return;let a=e.sheets&&e.sheets.findIndex(e=>e.id===n),o=this._worksheets[n]=new lE({id:n,name:r,orderNo:a===-1?void 0:a,state:i,workbook:this});o.model=t}),this._definedNames.model=e.definedNames,this.views=e.views,this._themes=e.themes,this.media=e.media||[],this.pivotTables=e.pivotTables||e.loadedPivotTables||[],this._defaultFont=e.defaultFont,this._chartEntries=e.chartEntries||{},this._chartRels=e.chartRels||{},this._chartStyles=e.chartStyles||{},this._chartColors=e.chartColors||{},this._chartExStyles=e.chartExStyles||{},this._chartExColors=e.chartExColors||{},this._chartExEntries=e.chartExEntries||{},this._chartExRels=e.chartExRels||{},this._chartExStructuredEntries=e.chartExStructuredEntries||{},this._chartsheets=e.chartsheets||[],e.sheets)for(let t of this._chartsheets){let n=e.sheets.findIndex(e=>e.id===t.id);n!==-1&&(t.orderNo=n)}this._persons=e.persons?[...e.persons]:[],this._slicerParts=e.slicerParts??{},this._slicerCacheParts=e.slicerCacheParts??{},this._timelineParts=e.timelineParts??{},this._timelineCacheParts=e.timelineCacheParts??{},this.externalLinks=e.externalLinks?[...e.externalLinks]:[],this._writerExternalLinkCache=new Map}}}))();let $F=function(e){return e[e.Legal=5]=`Legal`,e[e.Executive=7]=`Executive`,e[e.A4=9]=`A4`,e[e.A5=11]=`A5`,e[e.B5=13]=`B5`,e[e.Envelope_10=20]=`Envelope_10`,e[e.Envelope_DL=27]=`Envelope_DL`,e[e.Envelope_C5=28]=`Envelope_C5`,e[e.Envelope_B5=34]=`Envelope_B5`,e[e.Envelope_Monarch=37]=`Envelope_Monarch`,e[e.Double_Japan_Postcard_Rotated=82]=`Double_Japan_Postcard_Rotated`,e[e.K16_197x273_mm=119]=`K16_197x273_mm`,e}({});qo();function eI(e,t){let n=t?.fontSize??48,r=t?.color??{r:128,g:128,b:128},i=Math.max(0,Math.min(100,t?.opacity??40)),a=t?.rotation??-45,o=t?.padding??20,{width:s,height:c,pixels:l}=rI(e,Math.max(1,Math.round(n/tI))),u=s+o*2,d=c+o*2,f=new Uint8Array(u*d);for(let e=0;e<c;e++)for(let t=0;t<s;t++)f[(e+o)*u+(t+o)]=l[e*s+t];let{width:p,height:m,pixels:h}=iI(f,u,d,a),g=Math.round(i/100*255),_=new Uint8Array(p*m*4);for(let e=0;e<p*m;e++){let t=h[e];t>0&&(_[e*4]=r.r,_[e*4+1]=r.g,_[e*4+2]=r.b,_[e*4+3]=Math.round(t/255*g))}return aI(_,p,m)}let tI=8,nI={32:[0,0,0,0,0,0,0,0],33:[4,4,4,4,4,0,4,0],34:[10,10,10,0,0,0,0,0],35:[10,10,31,10,31,10,10,0],36:[4,15,20,14,5,30,4,0],37:[24,25,2,4,8,19,3,0],38:[12,18,20,8,21,18,13,0],39:[4,4,8,0,0,0,0,0],40:[2,4,8,8,8,4,2,0],41:[8,4,2,2,2,4,8,0],42:[0,4,21,14,21,4,0,0],43:[0,4,4,31,4,4,0,0],44:[0,0,0,0,0,4,4,8],45:[0,0,0,31,0,0,0,0],46:[0,0,0,0,0,0,4,0],47:[0,1,2,4,8,16,0,0],48:[14,17,19,21,25,17,14,0],49:[4,12,4,4,4,4,14,0],50:[14,17,1,2,4,8,31,0],51:[31,2,4,2,1,17,14,0],52:[2,6,10,18,31,2,2,0],53:[31,16,30,1,1,17,14,0],54:[6,8,16,30,17,17,14,0],55:[31,1,2,4,8,8,8,0],56:[14,17,17,14,17,17,14,0],57:[14,17,17,15,1,2,12,0],58:[0,0,4,0,0,4,0,0],59:[0,0,4,0,0,4,4,8],60:[2,4,8,16,8,4,2,0],61:[0,0,31,0,31,0,0,0],62:[8,4,2,1,2,4,8,0],63:[14,17,1,2,4,0,4,0],64:[14,17,23,21,23,16,14,0],65:[14,17,17,31,17,17,17,0],66:[30,17,17,30,17,17,30,0],67:[14,17,16,16,16,17,14,0],68:[28,18,17,17,17,18,28,0],69:[31,16,16,30,16,16,31,0],70:[31,16,16,30,16,16,16,0],71:[14,17,16,23,17,17,15,0],72:[17,17,17,31,17,17,17,0],73:[14,4,4,4,4,4,14,0],74:[7,2,2,2,2,18,12,0],75:[17,18,20,24,20,18,17,0],76:[16,16,16,16,16,16,31,0],77:[17,27,21,21,17,17,17,0],78:[17,25,21,19,17,17,17,0],79:[14,17,17,17,17,17,14,0],80:[30,17,17,30,16,16,16,0],81:[14,17,17,17,21,18,13,0],82:[30,17,17,30,20,18,17,0],83:[15,16,16,14,1,1,30,0],84:[31,4,4,4,4,4,4,0],85:[17,17,17,17,17,17,14,0],86:[17,17,17,17,17,10,4,0],87:[17,17,17,21,21,27,17,0],88:[17,17,10,4,10,17,17,0],89:[17,17,10,4,4,4,4,0],90:[31,1,2,4,8,16,31,0],91:[14,8,8,8,8,8,14,0],92:[0,16,8,4,2,1,0,0],93:[14,2,2,2,2,2,14,0],94:[4,10,17,0,0,0,0,0],95:[0,0,0,0,0,0,31,0],96:[8,4,2,0,0,0,0,0],97:[0,0,14,1,15,17,15,0],98:[16,16,22,25,17,17,30,0],99:[0,0,14,16,16,17,14,0],100:[1,1,13,19,17,17,15,0],101:[0,0,14,17,31,16,14,0],102:[6,9,8,28,8,8,8,0],103:[0,0,15,17,15,1,14,0],104:[16,16,22,25,17,17,17,0],105:[4,0,12,4,4,4,14,0],106:[2,0,6,2,2,18,12,0],107:[16,16,18,20,24,20,18,0],108:[12,4,4,4,4,4,14,0],109:[0,0,26,21,21,17,17,0],110:[0,0,22,25,17,17,17,0],111:[0,0,14,17,17,17,14,0],112:[0,0,30,17,30,16,16,0],113:[0,0,13,19,15,1,1,0],114:[0,0,22,25,16,16,16,0],115:[0,0,14,16,14,1,30,0],116:[8,8,28,8,8,9,6,0],117:[0,0,17,17,17,19,13,0],118:[0,0,17,17,17,10,4,0],119:[0,0,17,17,21,21,10,0],120:[0,0,17,10,4,10,17,0],121:[0,0,17,17,15,1,14,0],122:[0,0,31,2,4,8,31,0],123:[2,4,4,8,4,4,2,0],124:[4,4,4,4,4,4,4,0],125:[8,4,4,2,4,4,8,0],126:[0,0,8,21,2,0,0,0]};function rI(e,t){let n=6*t,r=8*t,i=e.length*n,a=r,o=new Uint8Array(i*a);for(let r=0;r<e.length;r++){let s=nI[e.charCodeAt(r)]??nI[63],c=r*n;for(let e=0;e<8;e++){let n=s[e];for(let r=0;r<6;r++)if(n&1<<5-r)for(let n=0;n<t;n++)for(let s=0;s<t;s++){let l=c+r*t+s,u=e*t+n;l<i&&u<a&&(o[u*i+l]=255)}}}return{width:i,height:a,pixels:o}}function iI(e,t,n,r){if(r===0)return{width:t,height:n,pixels:e};let i=r*Math.PI/180,a=Math.cos(i),o=Math.sin(i),s=[{x:0,y:0},{x:t,y:0},{x:t,y:n},{x:0,y:n}],c=1/0,l=1/0,u=-1/0,d=-1/0;for(let e of s){let t=e.x*a-e.y*o,n=e.x*o+e.y*a;c=Math.min(c,t),l=Math.min(l,n),u=Math.max(u,t),d=Math.max(d,n)}let f=Math.ceil(u-c),p=Math.ceil(d-l),m=new Uint8Array(f*p),h=a,g=-o;for(let r=0;r<p;r++)for(let i=0;i<f;i++){let a=i+c,o=r+l,s=Math.round(a*h-o*g),u=Math.round(a*g+o*h);s>=0&&s<t&&u>=0&&u<n&&(m[r*f+i]=e[u*t+s])}return{width:f,height:p,pixels:m}}function aI(e,t,n){let r=1+t*4,i=new Uint8Array(r*n);for(let a=0;a<n;a++)i[a*r]=0,i.set(e.subarray(a*t*4,(a+1)*t*4),a*r+1);let a=cI(i),o=new Uint8Array([137,80,78,71,13,10,26,10]),s=new Uint8Array(13);sI(s,0,t),sI(s,4,n),s[8]=8,s[9]=6,s[10]=0,s[11]=0,s[12]=0;let c=oI(1229472850,s),l=oI(1229209940,a),u=oI(1229278788,new Uint8Array),d=new Uint8Array(o.length+c.length+l.length+u.length),f=0;return d.set(o,f),f+=o.length,d.set(c,f),f+=c.length,d.set(l,f),f+=l.length,d.set(u,f),d}function oI(e,t){let n=new Uint8Array(12+t.length);sI(n,0,t.length),sI(n,4,e),n.set(t,8);let r=dI(n.subarray(4,8+t.length));return sI(n,8+t.length,r),n}function sI(e,t,n){e[t]=n>>>24&255,e[t+1]=n>>>16&255,e[t+2]=n>>>8&255,e[t+3]=n&255}function cI(e){let t=So(e,6),n=lI(e),r=new Uint8Array(2+t.length+4);return r[0]=120,r[1]=1,r.set(t,2),sI(r,2+t.length,n),r}function lI(e){let t=1,n=0;for(let r=0;r<e.length;r++)t=(t+e[r])%65521,n=(n+t)%65521;return n<<16|t}let uI=(()=>{let e=new Uint32Array(256);for(let t=0;t<256;t++){let n=t;for(let e=0;e<8;e++)n=n&1?3988292384^n>>>1:n>>>1;e[t]=n}return e})();function dI(e){let t=4294967295;for(let n=0;n<e.length;n++)t=uI[(t^e[n])&255]^t>>>8;return(t^4294967295)>>>0}function fI(e){return vI(e)?`(${e.replace(/\\/g,`\\\\`).replace(/\(/g,`\\(`).replace(/\)/g,`\\)`).replace(/\r\n/g,`\\n`).replace(/\r/g,`\\n`).replace(/\n/g,`\\n`)})`:pI(yI(e))}function pI(e){let t=`<`;for(let n=0;n<e.length;n++)t+=e[n].toString(16).padStart(2,`0`);return t+`>`}function mI(e){let t=`/`;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);r<33||r>126||r===35||r===40||r===41||r===60||r===62||r===91||r===93||r===123||r===125||r===47?t+=`#`+r.toString(16).padStart(2,`0`):t+=e[n]}return t}function L(e){return Number.isFinite(e)?Number.isInteger(e)?e.toString():(Math.round(e*1e4)/1e4).toString():`0`}function hI(e){return`[`+e.join(` `)+`]`}function gI(e,t=0){return`${e} ${t} R`}function _I(e){return`(D:${e.getUTCFullYear().toString().padStart(4,`0`)}${(e.getUTCMonth()+1).toString().padStart(2,`0`)}${e.getUTCDate().toString().padStart(2,`0`)}${e.getUTCHours().toString().padStart(2,`0`)}${e.getUTCMinutes().toString().padStart(2,`0`)}${e.getUTCSeconds().toString().padStart(2,`0`)}Z)`}function vI(e){for(let t=0;t<e.length;t++)if(e.charCodeAt(t)>127)return!1;return!0}function yI(e){let t=new Uint8Array(2+e.length*2);t[0]=254,t[1]=255;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[2+n*2]=r>>8&255,t[3+n*2]=r&255}return t}var bI,xI=t((()=>{bI=class e{constructor(){this.entries=[],this._raw=null}static fromRawString(t){let n=new e;return n._raw=t,n}set(e,t){if(this._raw!==null){let n=RegExp(`(/${e})\\s+\\S+(?:\\s+\\d+\\s+R)?`);return n.test(this._raw)?this._raw=this._raw.replace(n,`/${e} ${t}`):this._raw=this._raw.replace(/>>$/,`\n${mI(e)} ${t}\n>>`),this}let n=this.entries.findIndex(([t])=>t===e);return n>=0?this.entries[n]=[e,t]:this.entries.push([e,t]),this}setIf(e,t,n){return e&&this.set(t,n),this}delete(e){let t=this.entries.findIndex(([t])=>t===e);return t>=0&&this.entries.splice(t,1),this}toString(){if(this._raw!==null)return this._raw;let e=[`<<`];for(let[t,n]of this.entries)e.push(`${mI(t)} ${n}`);return e.push(`>>`),e.join(`
439
- `)}}}));function SI(e){if(e.length<8||e[0]!==137||e[1]!==80||e[2]!==78||e[3]!==71)throw Error(`Invalid PNG signature`);let t=8,n=0,r=0,i=0,a=0,o=[],s=null,c=null;for(;t+8<=e.length;){let l=new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(t,!1),u=String.fromCharCode(e[t+4],e[t+5],e[t+6],e[t+7]),d=e.subarray(t+8,t+8+l);switch(t+=8+l+4,u){case`IHDR`:{let e=new DataView(d.buffer,d.byteOffset,d.byteLength);if(n=e.getUint32(0,!1),r=e.getUint32(4,!1),i=d[8],a=d[9],d[12]!==0)throw Error(`Interlaced PNG is not supported`);if(i!==8)throw Error(`Unsupported PNG bit depth: ${i}. Only 8-bit PNGs are supported.`);if(n===0||r===0)throw Error(`Invalid PNG dimensions: ${n}x${r}`);let t=n*r;if(t>DI)throw Error(`PNG dimensions too large: ${n}x${r} (${t} pixels). Maximum allowed: ${DI} pixels.`);break}case`PLTE`:s=new Uint8Array(d);break;case`tRNS`:c=new Uint8Array(d);break;case`IDAT`:o.push(d);break;case`IEND`:break}}if(n===0||r===0)throw Error(`PNG missing IHDR chunk`);let l=Zn(o),u;u=l.length>6&&(l[0]&15)==8?l.subarray(2,l.length-4):l;let d=bv(u),f=TI(a),p=Math.max(1,f*i/8),m=Math.ceil(n*f*i/8);return EI(CI(d,n,r,m,p),n,r,a,i,s,c)}function CI(e,t,n,r,i){let a=new Uint8Array(n*r),o=Math.max(1,Math.floor(i)),s=0;for(let t=0;t<n;t++){let n=e[s++],i=t*r,c=t>0?(t-1)*r:-1;for(let t=0;t<r;t++){let r=e[s++]??0,l=t>=o?a[i+t-o]:0,u=c>=0?a[c+t]:0,d=c>=0&&t>=o?a[c+t-o]:0;switch(n){case 0:a[i+t]=r;break;case 1:a[i+t]=r+l&255;break;case 2:a[i+t]=r+u&255;break;case 3:a[i+t]=r+Math.floor((l+u)/2)&255;break;case 4:a[i+t]=r+wI(l,u,d)&255;break;default:a[i+t]=r}}}return a}function wI(e,t,n){let r=e+t-n,i=Math.abs(r-e),a=Math.abs(r-t),o=Math.abs(r-n);return i<=a&&i<=o?e:a<=o?t:n}function TI(e){switch(e){case 0:return 1;case 2:return 3;case 3:return 1;case 4:return 2;case 6:return 4;default:return 3}}function EI(e,t,n,r,i,a,o){let s=t*n,c=new Uint8Array(s*3),l=null;switch(r){case 2:if(c.set(e.subarray(0,s*3)),o&&o.length>=6){let t=o[1],n=o[3],r=o[5];l=new Uint8Array(s),l.fill(255);for(let i=0;i<s;i++)e[i*3]===t&&e[i*3+1]===n&&e[i*3+2]===r&&(l[i]=0)}break;case 6:l=new Uint8Array(s);for(let t=0;t<s;t++)c[t*3]=e[t*4],c[t*3+1]=e[t*4+1],c[t*3+2]=e[t*4+2],l[t]=e[t*4+3];break;case 0:{let t=-1;o&&o.length>=2&&(t=o[1]),t>=0&&(l=new Uint8Array(s),l.fill(255));for(let n=0;n<s;n++){let r=e[n];c[n*3]=r,c[n*3+1]=r,c[n*3+2]=r,l&&r===t&&(l[n]=0)}break}case 4:l=new Uint8Array(s);for(let t=0;t<s;t++){let n=e[t*2];c[t*3]=n,c[t*3+1]=n,c[t*3+2]=n,l[t]=e[t*2+1]}break;case 3:if(!a)throw Error(`PNG palette color type (3) but missing PLTE chunk`);o&&o.length>0&&(l=new Uint8Array(s));for(let t=0;t<s;t++){let n=e[t];c[t*3]=a[n*3]??0,c[t*3+1]=a[n*3+1]??0,c[t*3+2]=a[n*3+2]??0,l&&(l[t]=n<o.length?o[n]:255)}break;default:throw Error(`Unsupported PNG color type: ${r}`)}if(l){let e=!0;for(let t=0;t<l.length;t++)if(l[t]!==255){e=!1;break}e&&(l=null)}return{width:t,height:n,pixels:c,alpha:l,bitsPerComponent:8}}var DI,OI=t((()=>{wv(),lr(),DI=1e8}));function kI(e,t){return t===`png`?AI(e):jI(e)}function AI(e){return e.length>=24&&e[12]===73&&e[13]===72&&e[14]===68&&e[15]===82?{width:e[16]<<24|e[17]<<16|e[18]<<8|e[19],height:e[20]<<24|e[21]<<16|e[22]<<8|e[23]}:{width:1,height:1}}function jI(e){let t=2;for(;t<e.length-1;){for(;t<e.length&&e[t]===255&&e[t+1]===255;)t++;if(t>=e.length-1||e[t]!==255)break;let n=e[t+1];if(n>=192&&n<=207&&n!==196&&n!==200&&n!==204&&t+8<e.length)return{width:e[t+7]<<8|e[t+8],height:e[t+5]<<8|e[t+6]};if(t+3>=e.length)break;let r=e[t+2]<<8|e[t+3];t+=2+r}return{width:1,height:1}}function MI(e,t,n){return n===`png`?PI(e,t):NI(e,t)}function NI(e,t){let n=e.allocObject(),r=jI(t),i=new bI().set(`Type`,`/XObject`).set(`Subtype`,`/Image`).set(`Width`,L(r.width)).set(`Height`,L(r.height)).set(`ColorSpace`,`/DeviceRGB`).set(`BitsPerComponent`,`8`).set(`Filter`,`/DCTDecode`);return e.addStreamObject(n,i,t),n}function PI(e,t){let n=SI(t),r=e.allocObject(),i=new bI().set(`Type`,`/XObject`).set(`Subtype`,`/Image`).set(`Width`,L(n.width)).set(`Height`,L(n.height)).set(`ColorSpace`,`/DeviceRGB`).set(`BitsPerComponent`,L(n.bitsPerComponent));if(n.alpha){let t=e.allocObject(),r=new bI().set(`Type`,`/XObject`).set(`Subtype`,`/Image`).set(`Width`,L(n.width)).set(`Height`,L(n.height)).set(`ColorSpace`,`/DeviceGray`).set(`BitsPerComponent`,`8`);e.addStreamObject(t,r,n.alpha),i.set(`SMask`,gI(t))}return e.addStreamObject(r,i,n.pixels),r}var FI=t((()=>{xI(),OI()}));function II(e){return Xs(e)}var LI=t((()=>{ic()}));function RI(e){let t=BI(e.userPassword??``),n=BI(e.ownerPassword),r=VI(e.permissions),i=Zs(32),a=Zs(8),o=Zs(8),s=Zs(8),c=Zs(8),l=Zn([II(Zn([t,a])),a,o]),u=II(Zn([t,o])),d=new Uint8Array(16),f=qs(i,u,d),p=Zn([II(Zn([n,s,l])),s,c]),m=qs(i,II(Zn([n,c,l])),d),h=new Uint8Array(16);return new DataView(h.buffer).setInt32(0,r,!0),h[4]=255,h[5]=255,h[6]=255,h[7]=255,h[8]=84,h[9]=97,h[10]=100,h[11]=98,{encryptionKey:i,oValue:p,uValue:l,oeValue:m,ueValue:f,permsValue:Js(h,i),permissions:r,fileId:Zs(16)}}function zI(e,t,n,r){let i=Zs(16),a=Ks(e,r,i),o=new Uint8Array(16+a.length);return o.set(i),o.set(a,16),o}function BI(e){let t=new TextEncoder().encode(e);return t.length>127?t.subarray(0,127):t}function VI(e){let t=-3904;return e?.print&&(t|=4),e?.modify&&(t|=8),e?.copy&&(t|=16),e?.annotate&&(t|=32),e?.fillForms&&(t|=256),e?.accessibility&&(t|=512),e?.assemble&&(t|=1024),e?.printHighQuality&&(t|=2048),t|0}var HI=t((()=>{lr(),ic(),LI()}));function UI(e){return e.replace(/\\/g,`\\\\`).replace(/\(/g,`\\(`).replace(/\)/g,`\\)`).replace(/\r\n/g,`\\n`).replace(/\r/g,`\\n`).replace(/\n/g,`\\n`)}function WI(e){for(let t=0;t<e.length;t++)if(e.charCodeAt(t)>127)return!0;return!1}function GI(e){if(e<128||e>=160&&e<=255)return e;let t=YI.get(e);return t===void 0?32:t}function KI(e){return e<128||e>=160&&e<=255?!0:YI.has(e)}function qI(e){for(let t=0;t<e.length;t++){let n=e.codePointAt(t);if(n>65535&&t++,!KI(n))return!0}return!1}var JI,YI,XI=t((()=>{xI(),JI=class{constructor(){this.parts=[]}raw(e){return this.parts.push(e),this}save(){return this.parts.push(`q`),this}restore(){return this.parts.push(`Q`),this}setGraphicsState(e){return this.parts.push(`/${e} gs`),this}setStrokeColor(e){return this.parts.push(`${L(e.r)} ${L(e.g)} ${L(e.b)} RG`),this}setFillColor(e){return this.parts.push(`${L(e.r)} ${L(e.g)} ${L(e.b)} rg`),this}setLineWidth(e){return this.parts.push(`${L(e)} w`),this}setDashPattern(e,t=0){let n=e.map(L).join(` `);return this.parts.push(`[${n}] ${L(t)} d`),this}setLineCap(e){return this.parts.push(`${e} J`),this}setLineJoin(e){return this.parts.push(`${e} j`),this}moveTo(e,t){return this.parts.push(`${L(e)} ${L(t)} m`),this}lineTo(e,t){return this.parts.push(`${L(e)} ${L(t)} l`),this}rect(e,t,n,r){return this.parts.push(`${L(e)} ${L(t)} ${L(n)} ${L(r)} re`),this}curveTo(e,t,n,r,i,a){return this.parts.push(`${L(e)} ${L(t)} ${L(n)} ${L(r)} ${L(i)} ${L(a)} c`),this}curveToV(e,t,n,r){return this.parts.push(`${L(e)} ${L(t)} ${L(n)} ${L(r)} v`),this}curveToY(e,t,n,r){return this.parts.push(`${L(e)} ${L(t)} ${L(n)} ${L(r)} y`),this}stroke(){return this.parts.push(`S`),this}fill(){return this.parts.push(`f`),this}fillAndStroke(){return this.parts.push(`B`),this}closePath(){return this.parts.push(`h`),this}endPath(){return this.parts.push(`n`),this}clip(){return this.parts.push(`W`),this}beginText(){return this.parts.push(`BT`),this}endText(){return this.parts.push(`ET`),this}setFont(e,t){return this.parts.push(`/${e} ${L(t)} Tf`),this}setTextMatrix(e,t,n,r,i,a){return this.parts.push(`${L(e)} ${L(t)} ${L(n)} ${L(r)} ${L(i)} ${L(a)} Tm`),this}moveText(e,t){return this.parts.push(`${L(e)} ${L(t)} Td`),this}setTextLeading(e){return this.parts.push(`${L(e)} TL`),this}showText(e){return WI(e)?this.showTextWinAnsi(e):(this.parts.push(`(${UI(e)}) Tj`),this)}showTextWinAnsi(e){let t=`<`;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++;let i=GI(r);t+=i.toString(16).padStart(2,`0`)}return t+=`>`,this.parts.push(`${t} Tj`),this}showTextHex(e){return this.parts.push(`${e} Tj`),this}nextLineShowText(e){if(WI(e)){let t=`<`;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++;let i=GI(r);t+=i.toString(16).padStart(2,`0`)}return t+=`>`,this.parts.push(`${t} '`),this}return this.parts.push(`(${UI(e)}) '`),this}setTextRise(e){return this.parts.push(`${L(e)} Ts`),this}setCharacterSpacing(e){return this.parts.push(`${L(e)} Tc`),this}setWordSpacing(e){return this.parts.push(`${L(e)} Tw`),this}drawImage(e,t,n,r,i){return this.save().concat(r,0,0,i,t,n).doXObject(e).restore()}concat(e,t,n,r,i,a){return this.parts.push(`${L(e)} ${L(t)} ${L(n)} ${L(r)} ${L(i)} ${L(a)} cm`),this}doXObject(e){return this.parts.push(`/${e} Do`),this}fillRect(e,t,n,r,i){return this.save().setFillColor(i).rect(e,t,n,r).fill().restore()}drawLine(e,t,n,r,i,a,o=[]){return this.save().setStrokeColor(i).setLineWidth(a),o.length>0&&this.setDashPattern(o),this.moveTo(e,t).lineTo(n,r).stroke().restore()}ellipse(e,t,n,r){let i=.5522847,a=i*n,o=i*r;return this.moveTo(e+n,t),this.curveTo(e+n,t+o,e+a,t+r,e,t+r),this.curveTo(e-a,t+r,e-n,t+o,e-n,t),this.curveTo(e-n,t-o,e-a,t-r,e,t-r),this.curveTo(e+a,t-r,e+n,t-o,e+n,t),this}circle(e,t,n){return this.ellipse(e,t,n,n)}roundedRect(e,t,n,r,i){let a=.5522847*i;return this.moveTo(e+i,t),this.lineTo(e+n-i,t),this.curveTo(e+n-i+a,t,e+n,t+i-a,e+n,t+i),this.lineTo(e+n,t+r-i),this.curveTo(e+n,t+r-i+a,e+n-i+a,t+r,e+n-i,t+r),this.lineTo(e+i,t+r),this.curveTo(e+i-a,t+r,e,t+r-i+a,e,t+r-i),this.lineTo(e,t+i),this.curveTo(e,t+i-a,e+i-a,t,e+i,t),this}toString(){return this.parts.join(`
440
- `)}toUint8Array(){return new TextEncoder().encode(this.toString())}},YI=new Map([[8364,128],[8218,130],[402,131],[8222,132],[8230,133],[8224,134],[8225,135],[710,136],[8240,137],[352,138],[8249,139],[338,140],[381,142],[8216,145],[8217,146],[8220,147],[8221,148],[8226,149],[8211,150],[8212,151],[732,152],[8482,153],[353,154],[8250,155],[339,156],[382,158],[376,159]])}));function ZI(e){return e instanceof QI}var QI,$I,eL,tL,nL=t((()=>{u(),QI=class extends c{constructor(...e){super(...e),this.name=`PdfError`}},$I=class extends QI{constructor(...e){super(...e),this.name=`PdfRenderError`}},eL=class extends QI{constructor(...e){super(...e),this.name=`PdfFontError`}},tL=class extends QI{constructor(...e){super(...e),this.name=`PdfStructureError`}}}));function rL(e,t,n,r){let i=new TextEncoder,a=[],o=0;for(;o<e.length;)if(e[o]===`(`){let s=o;o++;let c=``,l=1;for(;o<e.length&&l>0;){let t=e[o];t===`\\`?(c+=e[o]+(e[o+1]??``),o+=2):t===`(`?(l++,c+=t,o++):t===`)`?(l--,l>0&&(c+=t),o++):(c+=t,o++)}if(l!==0){a.push(e.slice(s,o));continue}let u=iL(c),d=zI(i.encode(u),t,n,r);a.push(pI(d))}else if(e[o]===`<`&&e[o+1]===`<`)a.push(`<<`),o+=2;else if(e[o]===`>`&&e[o+1]===`>`)a.push(`>>`),o+=2;else if(e[o]===`<`){o++;let i=``;for(;o<e.length&&e[o]!==`>`;)i+=e[o],o++;o<e.length&&o++;let s=i.replace(/\s/g,``);if(s.length===0){a.push(`<>`);continue}let c=new Uint8Array(Math.ceil(s.length/2));for(let e=0;e<c.length;e++)c[e]=parseInt(s.substring(e*2,e*2+2).padEnd(2,`0`),16);let l=zI(c,t,n,r);a.push(pI(l))}else a.push(e[o]),o++;return a.join(``)}function iL(e){let t=``;for(let n=0;n<e.length;n++){let r=e[n];if(r!==`\\`){t+=r;continue}let i=e[n+1];if(i===void 0){t+=`\\`;break}switch(i){case`n`:t+=`
441
- `;break;case`r`:t+=`\r`;break;case`t`:t+=` `;break;case`(`:t+=`(`;break;case`)`:t+=`)`;break;case`\\`:t+=`\\`;break;default:t+=i;break}n++}return t}var aL,oL=t((()=>{wv(),lr(),nL(),HI(),xI(),aL=class{constructor(){this.nextObjectNumber=1,this.objects=[],this.catalogRef=0,this.infoRef=0,this.encryption=null,this.pdfVersion=`2.0`}setVersion(e){this.pdfVersion=e}setEncryption(e){this.encryption=e}allocObject(){return this.nextObjectNumber++}addObject(e,t){this.objects.push({objectNumber:e,offset:0,content:typeof t==`string`?t:t.toString()})}addStreamObject(e,t,n,r){let i=n instanceof Uint8Array?n:n.toUint8Array();if((r?.compress??!0)&&i.length>256&&!t.toString().includes(`/Filter`)){let e=Sv(i,{level:6});e.length<i.length&&(t.set(`Filter`,`/FlateDecode`),i=e)}t.set(`Length`,L(i.length)),this.objects.push({objectNumber:e,offset:0,content:t.toString(),streamData:i})}getObjects(){return this.objects.map(e=>{let t={objectNumber:e.objectNumber,content:e.content};return`streamData`in e&&(t.streamData=e.streamData),t})}setCatalog(e){this.catalogRef=e}addInfoDict(e){let t=this.allocObject(),n=new bI;return e.title&&n.set(`Title`,fI(e.title)),e.author&&n.set(`Author`,fI(e.author)),e.subject&&n.set(`Subject`,fI(e.subject)),e.creator&&n.set(`Creator`,fI(e.creator)),n.set(`Producer`,fI(`excelts`)),n.set(`CreationDate`,_I(new Date)),this.addObject(t,n),this.infoRef=t,t}addPage(e){let t=this.allocObject(),n=`[0 0 ${L(e.width)} ${L(e.height)}]`,r=typeof e.contentsRef==`string`?e.contentsRef:gI(e.contentsRef),i=new bI().set(`Type`,`/Page`).set(`Parent`,gI(e.parentRef)).set(`MediaBox`,n).set(`Contents`,r).set(`Resources`,gI(e.resourcesRef));return e.annotRefs&&e.annotRefs.length>0&&i.set(`Annots`,`[`+e.annotRefs.map(e=>gI(e)).join(` `)+`]`),this.addObject(t,i),t}addCatalog(e,t){let n=typeof t==`number`?{outlinesRef:t}:t??{},r=this.allocObject(),i=new bI().set(`Type`,`/Catalog`).set(`Pages`,gI(e));if(n.outlinesRef&&(i.set(`Outlines`,gI(n.outlinesRef)),i.set(`PageMode`,`/UseOutlines`)),n.extraEntries)for(let[e,t]of n.extraEntries)i.set(e,t);return this.addObject(r,i),this.setCatalog(r),r}build(){if(this.catalogRef===0)throw new tL(`No catalog object set. Call addCatalog() before build().`);let e=new TextEncoder,t=[],n=0,r=`%PDF-${this.pdfVersion}\n`,i=e.encode(r);t.push(i),n+=i.length;let a=new Uint8Array([37,226,227,207,211,10]);t.push(a),n+=a.length,this.objects.sort((e,t)=>e.objectNumber-t.objectNumber);let o=this.encryption?this.allocObject():0;for(let r of this.objects){r.offset=n;let i=`${r.objectNumber} 0 obj\n`,a=e.encode(i);t.push(a),n+=a.length;let s=r.content;this.encryption&&r.objectNumber!==o&&(s=rL(s,r.objectNumber,0,this.encryption.encryptionKey));let c=null;`streamData`in r&&r.streamData&&(c=r.streamData,this.encryption&&r.objectNumber!==o&&(c=zI(c,r.objectNumber,0,this.encryption.encryptionKey),s=s.replace(/\/Length \d+/,`/Length ${c.length}`)));let l=e.encode(s+`
437
+ `),v}var dF=t((()=>{nF()})),fF,pF,mF=t((()=>{u(),fF=class extends c{constructor(...e){super(...e),this.name=`MarkdownError`}},pF=class extends fF{constructor(e,t,n){super(`Line ${t}: ${e}`,n),this.name=`MarkdownParseError`,this.line=t}}}));function hF(e){return{trim:e.trim!==!1,unescape:e.unescape!==!1,skipEmpty:e.skipEmptyRows!==!1,maxRows:e.maxRows,convertBr:e.convertBr===!0}}function gF(e){let t=[],n=e.length,r=+(n>0&&e.charCodeAt(0)===kF),i=n;if(n>1&&e.charCodeAt(n-1)===kF){let t=0,r=n-2;for(;r>=0&&e.charCodeAt(r)===AF;)t++,r--;t%2==0&&(i=n-1)}let a=r,o=``,s=!1;for(;r<i;){let n=e.charCodeAt(r);n===AF&&r+1<i?(s=!0,r>a&&(o+=e.slice(a,r)),o+=e.slice(r,r+2),r+=2,a=r):n===kF?(s?(r>a&&(o+=e.slice(a,r)),t.push(o),o=``,s=!1):t.push(e.slice(a,r)),r++,a=r):r++}return s?(i>a&&(o+=e.slice(a,i)),t.push(o)):t.push(e.slice(a,i)),t}function _F(e){let t=e.trim(),n=t.length;if(n===0)return`none`;let r=t.charCodeAt(0)===jF,i=t.charCodeAt(n-1)===jF;return r&&i?`center`:r?`left`:i?`right`:`none`}function vF(e){let t=e.length,n=0;for(;n<t;){let t=e.charCodeAt(n);if(t!==NF&&t!==PF)break;n++}n<t&&e.charCodeAt(n)===jF&&n++;let r=n;for(;n<t&&e.charCodeAt(n)===MF;)n++;if(n===r)return!1;for(n<t&&e.charCodeAt(n)===jF&&n++;n<t;){let t=e.charCodeAt(n);if(t!==NF&&t!==PF)return!1;n++}return!0}function yF(e){if(e.length===0)return!1;for(let t=0;t<e.length;t++)if(!vF(e[t]))return!1;return!0}function bF(e,t){let n=t.trim?e.trim():e;return t.unescape&&(n=n.replace($P,`$1`)),t.convertBr&&(n=n.replace(eF,`
438
+ `)),n}function xF(e,t,n){let r=Array(t);for(let i=0;i<t;i++)r[i]=i<e.length?bF(e[i],n):``;return r}function SF(e){for(let t=0;t<e.length;t++)if(e[t]!==``)return!1;return!0}function CF(e){return e.indexOf(`|`)!==-1}function wF(e){let t=e.length,n=0;for(;n<t;){let t=e.charCodeAt(n);if(t!==NF&&t!==PF)return t===kF;n++}return!1}function TF(e){return e.indexOf(`-`)!==-1}function EF(e,t,n,r){if(t>=n-1)return null;let i=e[t].trim();if(i===``||!CF(i))return null;let a=gF(i);if(a.length<1)return null;let o=e[t+1].trim();if(o===``||!TF(o))return null;let s=gF(o);if(!yF(s))return null;let c=a.length,l=Array(c),u=Array(c);for(let e=0;e<c;e++)l[e]=bF(a[e],r),u[e]=e<s.length?_F(s[e]):`none`;let d=wF(i),f=[],p=t+2;for(;p<n;p++){let t=e[p].trim();if(t===``||!CF(t)||d&&!wF(t))break;if(r.maxRows!==void 0&&f.length>=r.maxRows){for(;p<n;){let t=e[p].trim();if(t===``||!CF(t)||d&&!wF(t))break;p++}break}let i=xF(gF(t),c,r);r.skipEmpty&&SF(i)||f.push(i)}return{result:{headers:l,rows:f,alignments:u},endLine:p}}function DF(e,t={}){let n=hF(t),r=e.split(ZP),i=r.length;for(let e=0;e<i-1;e++){let t=EF(r,e,i,n);if(t)return t.result}throw new pF(`No valid Markdown table found in input`,i>0?i:1)}function OF(e,t={}){let n=hF(t),r=e.split(ZP),i=r.length,a=[],o=0;for(;o<i-1;){let e=EF(r,o,i,n);e?(a.push(e.result),o=e.endLine):o++}return a}var kF,AF,jF,MF,NF,PF,FF=t((()=>{nF(),mF(),kF=124,AF=92,jF=58,MF=45,NF=32,PF=9}));function IF(e,t){let n=Ct.create(e),r=t?.decimalSeparator??`.`;return function(e){if(e===``)return null;if(typeof e==`string`){let t=ue(e,r);if(!Number.isNaN(t)&&t!==1/0)return t}else{let t=Number(e);if(!Number.isNaN(t)&&t!==1/0)return t}if(typeof e==`string`){let t=n.parse(e);if(t)return t;let r=eI[e];if(r!==void 0)return r}return e}}function LF(e,t){let n=e?wt.create(e,{utc:t}):wt.iso(t);return function(e){if(e==null)return e;if(e instanceof Date)return n.format(e);if(typeof e!=`object`)return e;let t=e;if(typeof t.hyperlink==`string`||typeof t.text==`string`){let e=typeof t.hyperlink==`string`?t.hyperlink:``,n=typeof t.text==`string`?t.text:``;return e||n||``}return`formula`in e||`sharedFormula`in e?e.result??``:`richText`in e&&Array.isArray(e.richText)?e.richText.map(e=>e.text).join(``):`checkbox`in e&&typeof e.checkbox==`boolean`?e.checkbox:`error`in e&&typeof e.error==`string`?e.error:JSON.stringify(e)}}function RF(e,t){let n=e?wt.create(e,{utc:t}):wt.iso(t);return function(e){if(e==null)return``;if(typeof e==`string`)return e;if(typeof e==`number`||typeof e==`bigint`)return String(e);if(typeof e==`boolean`)return e?`true`:`false`;if(e instanceof Date)return n.format(e);if(typeof e==`object`){let t=e;if(t.text||t.hyperlink)return t.hyperlink||t.text||``;if(t.formula||t.result)return t.result==null?``:String(t.result);if(t.richText&&Array.isArray(t.richText))return t.richText.map(e=>e.text).join(``);if(t.error)return t.error;try{return JSON.stringify(e)}catch{return`[object Object]`}}return String(e)}}function zF(e){return typeof e==`string`&&/^https?:\/\//i.test(e)}function BF(e){return typeof File<`u`&&e instanceof File}function VF(e){return typeof Blob<`u`&&e instanceof Blob&&!BF(e)}function HF(e){if(!e||typeof e!=`object`)return!1;let t=e;return typeof t[Symbol.asyncIterator]==`function`||typeof t.pipe==`function`&&typeof t.on==`function`}function*UF(e){let t=e._rows;if(!(!t||t.length===0))for(let e=0;e<t.length;e++){let n=t[e];n&&n.hasValues&&(yield{row:n,rowNumber:e+1})}}function WF(e){return()=>new Promise((t,n)=>{let r=()=>{e.off(`drain`,i),e.off(`error`,a),e.off(`close`,o)},i=()=>{r(),t()},a=e=>{r(),n(e)},o=()=>{r(),n(Error(`stream closed before drain`))};e.once(`drain`,i),e.once(`error`,a),e.once(`close`,o)})}function GF(e){return{delimiter:e?.delimiter??`,`,quote:e?.quote,escape:e?.escape,delimitersToGuess:e?.delimitersToGuess,lineEnding:e?.lineEnding,headers:e?.headers,skipEmptyLines:e?.skipEmptyLines,trim:e?.trim,ltrim:e?.ltrim,rtrim:e?.rtrim,comment:e?.comment,maxRows:e?.maxRows,toLine:e?.toLine,skipLines:e?.skipLines,skipRows:e?.skipRows,columnMismatch:e?.columnMismatch,groupColumnsByName:e?.groupColumnsByName,relaxQuotes:e?.relaxQuotes,fastMode:e?.fastMode,info:e?.info,raw:e?.raw,skipRecordsWithError:e?.skipRecordsWithError,skipRecordsWithEmptyValues:e?.skipRecordsWithEmptyValues,onSkip:e?.onSkip}}function KF(e){return{delimiter:e?.delimiter??`,`,quote:e?.quote,escape:e?.escape,lineEnding:e?.lineEnding,quoteColumns:e?.quoteColumns,quoteHeaders:e?.quoteHeaders,decimalSeparator:e?.decimalSeparator??`.`,escapeFormulae:e?.escapeFormulae??!0,writeHeaders:e?.writeHeaders}}function qF(e){return!!e&&typeof e==`object`&&`groups`in e}function JF(e){return!!e&&typeof e==`object`&&`type`in e&&YF(e.type)}function YF(e){return e===`sunburst`||e===`treemap`||e===`waterfall`||e===`funnel`||e===`histogram`||e===`pareto`||e===`boxWhisker`||e===`regionMap`}function XF(e){return typeof structuredClone==`function`?structuredClone(e):JSON.parse(JSON.stringify(e))}function ZF(e,t){return{chartNumber:t,model:XF(e.model),...e.rawData?{rawData:e.rawData.slice()}:{},...e.modelSnapshot===void 0?{}:{modelSnapshot:e.modelSnapshot},...e.dirty===void 0?{}:{dirty:e.dirty},...e.preferRawPatch===void 0?{}:{preferRawPatch:e.preferRawPatch},...e.requireRawPatch===void 0?{}:{requireRawPatch:e.requireRawPatch},...e.style?{style:XF(e.style)}:{},...e.colors?{colors:XF(e.colors)}:{},...e.rels?{rels:e.rels.map(e=>({...e}))}:{},...e.userShapesXml?{userShapesXml:e.userShapesXml.slice()}:{}}}function QF(e,t){return{chartExNumber:t,model:XF(e.model),...e.rawData?{rawData:e.rawData.slice()}:{},...e.modelSnapshot===void 0?{}:{modelSnapshot:e.modelSnapshot},...e.dirty===void 0?{}:{dirty:e.dirty},...e.preferRawPatch===void 0?{}:{preferRawPatch:e.preferRawPatch},...e.requireRawPatch===void 0?{}:{requireRawPatch:e.requireRawPatch},...e.rels?{rels:e.rels.map(e=>({...e}))}:{}}}var $F,eI,tI;t((()=>{Be(),Ni(),Li(),fe(),Bi(),Wi(),Aa(),la(),Ka(),G_(),Tw(),Dw(),sC(),pE(),mu(),KP(),XP(),dF(),FF(),Ei(),dr(),Tt(),$F=[`YYYY-MM-DD[T]HH:mm:ssZ`,`YYYY-MM-DD[T]HH:mm:ss`,`MM-DD-YYYY`,`YYYY-MM-DD`],eI={true:!0,false:!1,"#N/A":{error:`#N/A`},"#REF!":{error:`#REF!`},"#NAME?":{error:`#NAME?`},"#DIV/0!":{error:`#DIV/0!`},"#NULL!":{error:`#NULL!`},"#VALUE!":{error:`#VALUE!`},"#NUM!":{error:`#NUM!`}},tI=class{static{this.Writer=ww}static{this.Reader=W_}constructor(e){this._tableNames=new Set,this.category=``,this.company=``,this.created=new Date,this.description=``,this.keywords=``,this.manager=``,this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject=``,this.title=``,this.views=[],this.media=[],this.pivotTables=[],this.externalLinks=[],this._chartEntries={},this._chartRels={},this._chartStyles={},this._chartColors={},this._chartExStyles={},this._chartExColors={},this._chartExEntries={},this._chartExRels={},this._chartExStructuredEntries={},this._chartsheets=[],this._persons=[],this._slicerParts={},this._slicerCacheParts={},this._timelineParts={},this._timelineCacheParts={},this._writerExternalLinkCache=new Map,this._definedNames=new ka(e?.formulaSyntaxProbe)}get defaultFont(){return this._defaultFont}set defaultFont(e){this._defaultFont=e}importSheet(e,t){let n=this.addWorksheet(t??e.name),r=e.model,i=new Map,a=new Map,o=e.workbook,s=o!==this,c=r.charts??[],l=this.nextChartNumber(),u=this.nextChartExNumber();for(let e of c)e.chartNumber&&e.chartNumber>0&&!i.has(e.chartNumber)&&i.set(e.chartNumber,l++),e.chartExNumber&&e.chartExNumber>0&&!a.has(e.chartExNumber)&&a.set(e.chartExNumber,u++);let d=c.map(e=>({...e,chartNumber:e.chartNumber?i.get(e.chartNumber)??e.chartNumber:e.chartNumber,chartExNumber:e.chartExNumber?a.get(e.chartExNumber)??e.chartExNumber:e.chartExNumber}));if(n.model={...r,id:n.id,name:n.name,charts:d},i.size>0||a.size>0){for(let[e,t]of i){let n=o.getChartEntry(e);n&&(this.addChartEntry(ZF(n,t)),s?o.copyChartSidecars(e,t,this):this.copyChartSidecars(e,t))}for(let[e,t]of a){let n=o.getChartExStructuredEntry?.(e);if(n)this.addChartExStructuredEntry(QF(n,t));else{let n=o._chartExEntries?.[e];n&&(this._chartExEntries[t]=n.slice())}s?o.copyChartExSidecars(e,t,this):this.copyChartExSidecars(e,t)}}return n}async protect(e,t){this.protection=await oC(e,t)}unprotect(){this.protection=void 0}get xlsx(){return this._xlsx||=new GP(this),this._xlsx}async readCsv(e,t){return zF(e)?this._readCsvUrl(e,t):BF(e)?this._readCsvFile(e,t):VF(e)?this._readCsvBlob(e,t):HF(e)?this._readCsvStream(e,t):this._readCsvContent(e,t)}writeCsv(e,t){return e&&typeof e.write==`function`?this._writeCsvStream(e,t):this._writeCsvString(e)}async writeCsvBuffer(e){let t=this._writeCsvString(e);return new TextEncoder().encode(t)}async readCsvFile(e,t){throw new ea(`readCsvFile()`,`not available in browser. Use readCsv(url) or readCsv(file) instead.`)}async writeCsvFile(e,t){throw new ea(`writeCsvFile()`,`not available in browser. Use writeCsv() and trigger a download instead.`)}createCsvReadStream(e){let t=this.getWorksheet(e?.sheetName||e?.sheetId),n=e?.map||LF(e?.dateFormat,e?.dateUTC),r=e?.includeEmptyRows!==!1,i=new Fi(KF(e));if(!t)return setTimeout(()=>i.end(),0),i;let a=WF(i),o=e=>{if(!i.write(e))return a()};return(async()=>{try{let e=1;for(let{row:a,rowNumber:s}of UF(t)){if(i.destroyed)return;let t=a.values.slice(1).map(n);if(r)for(;e++<s-1;){let e=o([]);if(e&&await e,i.destroyed)return}let c=o(t);c&&await c,e=s}i.end()}catch(e){i.destroy(e instanceof Error?e:Error(String(e)))}})(),i}createCsvWriteStream(e){let t=this.addWorksheet(e?.sheetName),n=e?.dateFormats??$F,r=e?.decimalSeparator,i=e?.map||IF(n,{decimalSeparator:r}),a=new ji(GF(e)),o=!!e?.headers,s=null;return o&&a.on(`headers`,e=>{s=e,t.addRow(e)}),a.on(`data`,e=>{if(o&&s&&e&&typeof e==`object`&&!Array.isArray(e)){let n=e,r=s.map(e=>n[e]);t.addRow(r.map(i))}else Array.isArray(e)&&t.addRow(e.map(i))}),a}_readCsvContent(e,t){let n;n=typeof e==`string`?e:e instanceof ArrayBuffer||e instanceof Uint8Array?new TextDecoder().decode(e):String(e);let r=this.addWorksheet(t?.sheetName),i=t?.dateFormats??$F,a=t?.decimalSeparator,o=t?.map||IF(i,{decimalSeparator:a}),s=Fn(n,GF(t));if(Array.isArray(s))for(let e of s)r.addRow(e.map(o));else{s.headers&&r.addRow(s.headers);for(let e of s.rows){let t=s.headers.map(t=>e[t]);r.addRow(t.map(o))}}return r}async _readCsvStream(e,t){let n=this.addWorksheet(t?.sheetName),r=t?.dateFormats??$F,i=t?.decimalSeparator,a=t?.map||IF(r,{decimalSeparator:i}),o=new ji(GF(t)),s=!!t?.headers,c=null;return new Promise((t,r)=>{s&&o.on(`headers`,e=>{c=e,n.addRow(e)}),o.on(`data`,e=>{if(s&&c&&e&&typeof e==`object`&&!Array.isArray(e)){let t=e,r=c.map(e=>t[e]);n.addRow(r.map(a))}else Array.isArray(e)&&n.addRow(e.map(a))}),mi(e,o).then(()=>t(n)).catch(r)})}async _readCsvUrl(e,t){let n={method:t?.requestBody?`POST`:`GET`,headers:t?.requestHeaders,body:t?.requestBody,credentials:t?.withCredentials?`include`:`same-origin`,signal:t?.signal},r=await fetch(e,n);if(!r.ok)throw new ra(e,r.status,r.statusText);if(t?.stream&&r.body){let e=ur(r.body);return this._readCsvStream(e,t)}let i=await r.text();return this._readCsvContent(i,t)}async _readCsvFile(e,t){if((t?.stream||e.size>10*1024*1024)&&typeof e.stream==`function`){let n=ur(e.stream());return this._readCsvStream(n,t)}return new Promise((n,r)=>{let i=new FileReader,a=t?.encoding??`UTF-8`;t?.onProgress&&(i.onprogress=n=>{t.onProgress(n.loaded,n.total||e.size)}),i.onload=e=>{try{let r=e.target?.result;n(this._readCsvContent(r,t))}catch(e){r(e)}},i.onerror=()=>r(Error(`Failed to read file: ${e.name}`)),i.readAsText(e,a)})}async _readCsvBlob(e,t){let n=await e.text();return this._readCsvContent(n,t)}_writeCsvString(e){let t=this.getWorksheet(e?.sheetName||e?.sheetId);if(!t)return``;let n=e?.map||LF(e?.dateFormat,e?.dateUTC),r=e?.includeEmptyRows!==!1,i=[],a=1;return t.eachRow((e,t)=>{if(r)for(;a++<t-1;)i.push([]);let{values:o}=e;o.shift(),i.push(o.map(n)),a=t}),Re(i,KF(e))}async _writeCsvStream(e,t){let n=this.getWorksheet(t?.sheetName||t?.sheetId);if(!n){e.end();return}let r=t?.map||LF(t?.dateFormat,t?.dateUTC),i=t?.includeEmptyRows!==!1,a=new Fi(KF(t)),o=mi(a,e),s=WF(a),c=async e=>{a.write(e)||await s()};try{let e=1;for(let{row:t,rowNumber:a}of UF(n)){let n=t.values.slice(1).map(r);if(i)for(;e++<a-1;)await c([]);await c(n),e=a}a.end(),await o}catch(e){throw a.destroy(e instanceof Error?e:Error(String(e))),await o.catch(()=>{}),e}}_populateMarkdownWorksheet(e,t,n){e.addRow(t.headers),e._markdownAlignments=t.alignments;for(let r of t.rows)n?e.addRow(r.map((e,t)=>n(e,t))):e.addRow(r)}readMarkdown(e,t){let n=DF(e,{trim:t?.trim,unescape:t?.unescape,skipEmptyRows:t?.skipEmptyRows,maxRows:t?.maxRows,convertBr:t?.convertBr}),r=this.addWorksheet(t?.sheetName);return this._populateMarkdownWorksheet(r,n,t?.map),r}readMarkdownAll(e,t){let n=OF(e,{trim:t?.trim,unescape:t?.unescape,skipEmptyRows:t?.skipEmptyRows,maxRows:t?.maxRows,convertBr:t?.convertBr}),r=t?.sheetName,i=t?.map,a=[];for(let e=0;e<n.length;e++){let t=r?e===0?r:`${r}_${e+1}`:void 0,o=this.addWorksheet(t);this._populateMarkdownWorksheet(o,n[e],i),a.push(o)}return a}writeMarkdown(e){let t=this.getWorksheet(e?.sheetName||e?.sheetId);if(!t)return``;let n=e?.dateFormat,r=e?.dateUTC,i=e?.includeEmptyRows!==!1,a=e?.stringify??RF(n,r),o=[],s=1;if(t.eachRow((e,t)=>{if(i)for(;s++<t-1;)o.push([]);let n=Array.from(e.values).slice(1);o.push(n),s=t}),o.length===0)return``;let c=o[0].map(e=>a(e)),l=o.slice(1),u=t._markdownAlignments,d=e?.columns,f;return!d&&u&&(f=c.map((e,t)=>({header:e,alignment:t<u.length?u[t]:void 0}))),uF(c,l,{columns:f??d,alignment:e?.alignment,padding:e?.padding,trailingNewline:e?.trailingNewline,escapeContent:e?.escapeContent,stringify:a})}writeMarkdownBuffer(e){let t=this.writeMarkdown(e);return new TextEncoder().encode(t)}async readMarkdownFile(e,t){throw new ea(`readMarkdownFile()`,`not available in browser. Use readMarkdown(string) instead.`)}async readMarkdownAllFile(e,t){throw new ea(`readMarkdownAllFile()`,`not available in browser. Use readMarkdownAll(string) instead.`)}async writeMarkdownFile(e,t){throw new ea(`writeMarkdownFile()`,`not available in browser. Use writeMarkdown() and trigger a download instead.`)}static createStreamWriter(e){return new ww(e)}static createStreamReader(e,t){return new W_(e,t)}get nextId(){let e=new Set;for(let t of this._chartsheets)t&&typeof t.id==`number`&&Number.isFinite(t.id)&&e.add(t.id);for(let t=1;t<this._worksheets.length;t++)if(!this._worksheets[t]&&!e.has(t))return t;let t=this._worksheets.length||1;for(;e.has(t);)t++;return t}addWorksheet(e,t){let n=this.nextId,r=this._nextSheetOrderNo(),i=new fE({...t,id:n,name:e,orderNo:r,workbook:this});return this._worksheets[n]=i,i}removeWorksheetEx(e){let t=e.tables;if(t)for(let e of Object.keys(t))this._tableNames.delete(e.toLowerCase());this._worksheets[e.id]=void 0}removeWorksheet(e){let t=this.getWorksheet(e);t&&t.destroy()}getWorksheet(e){if(e===void 0)return this._worksheets.find(Boolean);if(typeof e==`number`)return this._worksheets[e];if(typeof e==`string`){let t=e.toLowerCase();return this._worksheets.find(e=>e&&e.name.toLowerCase()===t)}}get worksheets(){return this._worksheets.slice(1).sort((e,t)=>e.orderNo-t.orderNo).filter(Boolean)}addChartsheet(e,t){let n=this._validateChartsheetName(e??`Chart${this._chartsheets.length+1}`),r={sheetNo:this._nextChartsheetNo(),id:this._nextSheetId(),name:n,orderNo:this._nextSheetOrderNo(),state:t.state??`visible`,tabSelected:t.tabSelected,zoomScale:t.zoomScale,workbookViewId:t.workbookViewId,zoomToFit:t.zoomToFit,pageMargins:t.pageMargins,pageSetup:t.pageSetup,drawing:{rId:`rId1`}};if(JF(t.chart)){let e=T(),n=this.nextChartExNumber(),i=e.buildChartExModel(t.chart);try{e.fillChartExCaches(i,this)}catch{}this.addChartExStructuredEntry({chartExNumber:n,model:i}),r.chartExNumber=n}else{let e=T(),n=this.nextChartNumber(),i=qF(t.chart)?e.buildComboChartModel(t.chart):e.buildChartModel(t.chart);try{e.fillChartCaches(i,this)}catch{}let a={chartNumber:n,model:i};try{e.resolvePendingChartImages(a,this,n)}catch{}this.addChartEntry(a),this._applyChartsheetSidecars(n,t.chart),r.chartNumber=n}return this._chartsheets.push(r),new Ui(r,this)}addPivotChartsheet(e,t,n){return this.addChartsheet(e,{...n,chart:Va(t,n.chart)})}get chartsheets(){return this._chartsheets.map(e=>new Ui(e,this))}getChartsheet(e){let t=this._getChartsheetModel(e);return t?new Ui(t,this):void 0}removeChartsheet(e){let t=typeof e==`number`?e:this._chartsheets.findIndex(t=>t.name.toLowerCase()===e.toLowerCase());if(t<0||t>=this._chartsheets.length)return!1;let[n]=this._chartsheets.splice(t,1);return n.chartNumber&&this.removeChartEntry?.(n.chartNumber),n.chartExNumber&&this.removeChartExStructuredEntry?.(n.chartExNumber),!0}_getChartsheetModel(e){return typeof e==`number`?this._chartsheets[e]:this._chartsheets.find(t=>t.name.toLowerCase()===e.toLowerCase())}renameChartsheet(e,t){let n=this._getChartsheetModel(e);if(!n)return!1;let r=n.name;if(r===t)return!0;n.name=`__excelts_pending_chartsheet_rename__`;try{return n.name=this._validateChartsheetName(t),!0}catch(e){throw n.name=r,e}}copyChartsheet(e,t){let n=this._getChartsheetModel(e);if(!n)return;let r=this._validateChartsheetName(t??`${n.name} Copy`),i={...XF(n),id:this._nextSheetId(),sheetNo:this._nextChartsheetNo(),orderNo:this._nextSheetOrderNo(),name:r,drawingName:void 0,relationships:n.relationships?XF(n.relationships):void 0};if(n.chartNumber){let e=this.getChartEntry(n.chartNumber);if(e){let t=this.nextChartNumber();this.addChartEntry(ZF(e,t)),this.copyChartSidecars(n.chartNumber,t),i.chartNumber=t,i.chartExNumber=void 0}}else if(n.chartExNumber){let e=this.getChartExStructuredEntry(n.chartExNumber),t=this.nextChartExNumber();e?this.addChartExStructuredEntry(QF(e,t)):this._chartExEntries[n.chartExNumber]&&(this._chartExEntries[t]=this._chartExEntries[n.chartExNumber].slice()),this.copyChartExSidecars(n.chartExNumber,t),i.chartExNumber=t,i.chartNumber=void 0}return this._chartsheets.push(i),new Ui(i,this)}replaceChartsheetChart(e,t){let n=this.getChartsheet(e);if(!n)return!1;let r=n.model,i=T(),a,o;if(JF(t)?a=i.buildChartExModel(t):o=qF(t)?i.buildComboChartModel(t):i.buildChartModel(t),r.chartNumber&&=(this.removeChartEntry?.(r.chartNumber),void 0),r.chartExNumber&&=(this.removeChartExStructuredEntry?.(r.chartExNumber),void 0),a){let e=this.nextChartExNumber();try{i.fillChartExCaches(a,this)}catch{}this.addChartExStructuredEntry({chartExNumber:e,model:a}),r.chartExNumber=e}else if(o){let e=this.nextChartNumber();try{i.fillChartCaches(o,this)}catch{}let n={chartNumber:e,model:o};try{i.resolvePendingChartImages(n,this,e)}catch{}this.addChartEntry(n),this._applyChartsheetSidecars(e,t),r.chartNumber=e}return!0}eachSheet(e){this.worksheets.forEach(t=>{e(t,t.id)})}get definedNames(){return this._definedNames}get persons(){return this._persons}registerPerson(e,t,n){let r=this._persons.find(n=>n.displayName===e&&n.userId===t);if(r)return r.id;let i=`{${Ew()}}`,a={id:i,displayName:e};return t!==void 0&&(a.userId=t),n!==void 0&&(a.providerId=n),this._persons.push(a),i}calculateFormulas(){qP(this)}registerFunction(e,t,n){this.userFunctions||=new Map,this.userFunctions.set(e.toUpperCase(),{minArity:n?.minArity??0,maxArity:n?.maxArity??255,invoke:t,volatile:n?.volatile??!1})}unregisterFunction(e){return this.userFunctions?.delete(e.toUpperCase())??!1}clearThemes(){this._themes=void 0}addImage(e){let t=this.media.length;return this.media.push({...e,type:`image`}),t}getImage(e){return this.media[Number(e)]}nextChartNumber(){let e=Object.keys(this._chartEntries).map(Number);return e.length>0?Math.max(...e)+1:1}addChartEntry(e){this._chartEntries[e.chartNumber]=e}setChartStyle(e,t){this._chartStyles[e]=t}setChartColors(e,t){this._chartColors[e]=t}copyChartSidecars(e,t,n=this){let r=this._chartStyles[e];r&&n.setChartStyle(t,r.slice());let i=this._chartColors[e];i&&n.setChartColors(t,i.slice());let a=this._chartRels[e];if(Array.isArray(a)&&a.length>0){let e=n!==this;n._chartRels[t]=a.map(r=>{if(typeof r!=`object`||!r)return r;let i={...r},a=typeof i.Target==`string`?i.Target:void 0;if(a){if(/^style\d+\.xml$/.test(a))i.Target=`style${t}.xml`;else if(/^colors\d+\.xml$/.test(a))i.Target=`colors${t}.xml`;else if(e&&i.Type===D.Image){let e=this._rewriteCrossWorkbookImageTarget(a,n);e!==void 0&&(i.Target=e)}}return i})}}_rewriteCrossWorkbookImageTarget(e,t){let n=/\/media\/image(\d+)\.([a-zA-Z0-9]+)$/.exec(e);if(!n)return;let r=parseInt(n[1],10)-1;if(!Number.isFinite(r)||r<0)return;let i=this.getImage?.(r);if(!i)return;let a=i.extension;if(a!==`png`&&a!==`jpeg`&&a!==`gif`)return;let o={extension:a},s=i.buffer;if(s&&ArrayBuffer.isView(s)&&s.BYTES_PER_ELEMENT===1)o.buffer=s instanceof Uint8Array?s.slice():new Uint8Array(s.buffer.slice(s.byteOffset,s.byteOffset+s.byteLength));else if(typeof i.base64==`string`)o.base64=i.base64;else return;return`../media/image${t.addImage(o)+1}.${a}`}copyChartExSidecars(e,t,n=this){let r=this._chartExRels[e];if(r&&r.length>0){let e=n!==this;n._chartExRels[t]=r.map(r=>{if(typeof r!=`object`||!r)return r;let i={...r},a=typeof i.Target==`string`?i.Target:void 0;if(a){if(/^styleEx\d+\.xml$/.exec(a))i.Target=`styleEx${t}.xml`;else if(/^colorsEx\d+\.xml$/.exec(a))i.Target=`colorsEx${t}.xml`;else if(e&&i.Type===D.Image){let e=this._rewriteCrossWorkbookImageTarget(a,n);e!==void 0&&(i.Target=e)}}return i})}let i=this._chartExStyles[e];i&&(n._chartExStyles[t]=i.slice());let a=this._chartExColors[e];a&&(n._chartExColors[t]=a.slice())}_applyChartsheetSidecars(e,t){if(JF(t)||!t.chartStyle&&!t.chartColors)return;let n=T();t.chartStyle&&this.setChartStyle(e,new TextEncoder().encode(n.buildChartStyle(t.chartStyle))),t.chartColors&&this.setChartColors(e,new TextEncoder().encode(n.buildChartColors(t.chartColors)))}getChartEntry(e){return this._chartEntries[e]}removeChartEntry(e){delete this._chartEntries[e],delete this._chartRels[e],delete this._chartStyles[e],delete this._chartColors[e]}nextChartExNumber(){let e=Object.keys(this._chartExEntries??{}).map(Number),t=Object.keys(this._chartExStructuredEntries??{}).map(Number),n=[...e,...t];return n.length>0?Math.max(...n)+1:1}addChartExStructuredEntry(e){this._chartExStructuredEntries||={},this._chartExStructuredEntries[e.chartExNumber]=e}getChartExStructuredEntry(e){return this._chartExStructuredEntries?.[e]}_nextChartsheetNo(){let e=this._chartsheets.map(e=>e.sheetNo).filter(Number.isFinite);return e.length>0?Math.max(...e)+1:1}_nextSheetOrderNo(){let e=-1;for(let t of this._worksheets)t&&typeof t.orderNo==`number`&&t.orderNo>e&&(e=t.orderNo);for(let t of this._chartsheets)typeof t.orderNo==`number`&&t.orderNo>e&&(e=t.orderNo);return e+1}_nextSheetId(){let e=this.worksheets.map(e=>e.id),t=this._chartsheets.map(e=>e.id).filter(Number.isFinite),n=[...e,...t];return n.length>0?Math.max(...n)+1:1}validateSheetName(e,t){if(typeof e!=`string`)throw new qi(`The name has to be a string.`);if(e===``)throw new qi(`The name can't be empty.`);if(e===`History`)throw new qi(`The name "History" is protected. Please use a different name.`);if(/[*?:/\\[\]]/.test(e))throw new qi(`Sheet name ${e} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test(e))throw new qi(`The first or last character of sheet name cannot be a single quotation mark: ${e}`);e.length>31&&(e=e.substring(0,31));let n=e.toLowerCase(),r=this.worksheets.find(e=>e&&e!==t&&e.name.toLowerCase()===n),i=this._chartsheets.find(e=>e&&e!==t&&e.name.toLowerCase()===n);if(r||i)throw new qi(`Sheet name already exists: ${e}`);return e}_validateChartsheetName(e){return this.validateSheetName(e)}removeChartExStructuredEntry(e){this._chartExStructuredEntries&&delete this._chartExStructuredEntries[e],delete this._chartExEntries[e],delete this._chartExRels[e],delete this._chartExStyles[e],delete this._chartExColors[e]}addExternalLink(e){let t={index:this.externalLinks.length+1,target:e.target,targetMode:e.targetMode??`External`,sheetNames:e.sheetNames?[...e.sheetNames]:[],cachedValues:e.cachedValues?{...e.cachedValues}:{}};return this.externalLinks.push(t),t}getExternalLink(e){if(typeof e==`number`)return this.externalLinks[e-1];let t=e.toLowerCase();return this.externalLinks.find(e=>e.target.toLowerCase()===t)}_collectExternalLinksForWrite(){let e=new Set(this.externalLinks.map(e=>e.target.toLowerCase())),t=this.externalLinks.map((e,t)=>({...e,index:t+1,sheetNames:[...e.sheetNames??[]],cachedValues:{...e.cachedValues??{}},targetMode:e.targetMode??`External`}));for(let n of this._writerExternalLinkCache.values())e.has(n.target.toLowerCase())||t.push({...n,index:t.length+1,sheetNames:[...n.sheetNames],cachedValues:{...n.cachedValues}});return t}_recordAutoExternalLink(e,t){let n=e.toLowerCase(),r=this.externalLinks.findIndex(e=>e.target.toLowerCase()===n);if(r!==-1)return r+1;let i=this._writerExternalLinkCache.get(n);i||(i={index:0,target:e,targetMode:`External`,sheetNames:[],cachedValues:{}},this._writerExternalLinkCache.set(n,i)),t&&!i.sheetNames.includes(t)&&i.sheetNames.push(t);let a=this.externalLinks.length,o=0;for(let e of this._writerExternalLinkCache.keys())if(o++,e===n)return a+o;return a+this._writerExternalLinkCache.size}get model(){return{creator:this.creator||`Unknown`,lastModifiedBy:this.lastModifiedBy||`Unknown`,lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,protection:this.protection,worksheets:this.worksheets.map(e=>e.model),sheets:this.worksheets.map(e=>e.model).filter(Boolean),definedNames:this._definedNames.model,definedNamesInstance:this._definedNames,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,pivotTables:this.pivotTables,calcProperties:this.calcProperties,defaultFont:this._defaultFont,externalLinks:this.externalLinks,chartEntries:this._chartEntries,chartRels:this._chartRels,chartStyles:this._chartStyles,chartColors:this._chartColors,chartExStyles:this._chartExStyles,chartExColors:this._chartExColors,chartExEntries:this._chartExEntries,chartExRels:this._chartExRels,chartExStructuredEntries:this._chartExStructuredEntries,chartsheets:this._chartsheets,persons:this._persons,slicerParts:this._slicerParts,slicerCacheParts:this._slicerCacheParts,timelineParts:this._timelineParts,timelineCacheParts:this._timelineCacheParts}}set model(e){if(this.creator=e.creator,this.lastModifiedBy=e.lastModifiedBy,this.lastPrinted=e.lastPrinted,this.created=e.created,this.modified=e.modified,this.company=e.company,this.manager=e.manager,this.title=e.title,this.subject=e.subject,this.keywords=e.keywords,this.category=e.category,this.description=e.description,this.language=e.language,this.revision=e.revision,this.contentStatus=e.contentStatus,this.properties=e.properties,this.protection=e.protection,this.calcProperties=e.calcProperties,this._worksheets=[],this._tableNames.clear(),e.worksheets.forEach(t=>{let{id:n,name:r,state:i}=t;if(!Number.isInteger(n)||n<=0)return;let a=e.sheets&&e.sheets.findIndex(e=>e.id===n),o=this._worksheets[n]=new fE({id:n,name:r,orderNo:a===-1?void 0:a,state:i,workbook:this});o.model=t}),this._definedNames.model=e.definedNames,this.views=e.views,this._themes=e.themes,this.media=e.media||[],this.pivotTables=e.pivotTables||e.loadedPivotTables||[],this._defaultFont=e.defaultFont,this._chartEntries=e.chartEntries||{},this._chartRels=e.chartRels||{},this._chartStyles=e.chartStyles||{},this._chartColors=e.chartColors||{},this._chartExStyles=e.chartExStyles||{},this._chartExColors=e.chartExColors||{},this._chartExEntries=e.chartExEntries||{},this._chartExRels=e.chartExRels||{},this._chartExStructuredEntries=e.chartExStructuredEntries||{},this._chartsheets=e.chartsheets||[],e.sheets)for(let t of this._chartsheets){let n=e.sheets.findIndex(e=>e.id===t.id);n!==-1&&(t.orderNo=n)}this._persons=e.persons?[...e.persons]:[],this._slicerParts=e.slicerParts??{},this._slicerCacheParts=e.slicerCacheParts??{},this._timelineParts=e.timelineParts??{},this._timelineCacheParts=e.timelineCacheParts??{},this.externalLinks=e.externalLinks?[...e.externalLinks]:[],this._writerExternalLinkCache=new Map}}}))();let nI=function(e){return e[e.Legal=5]=`Legal`,e[e.Executive=7]=`Executive`,e[e.A4=9]=`A4`,e[e.A5=11]=`A5`,e[e.B5=13]=`B5`,e[e.Envelope_10=20]=`Envelope_10`,e[e.Envelope_DL=27]=`Envelope_DL`,e[e.Envelope_C5=28]=`Envelope_C5`,e[e.Envelope_B5=34]=`Envelope_B5`,e[e.Envelope_Monarch=37]=`Envelope_Monarch`,e[e.Double_Japan_Postcard_Rotated=82]=`Double_Japan_Postcard_Rotated`,e[e.K16_197x273_mm=119]=`K16_197x273_mm`,e}({});qo();function rI(e,t){let n=t?.fontSize??48,r=t?.color??{r:128,g:128,b:128},i=Math.max(0,Math.min(100,t?.opacity??40)),a=t?.rotation??-45,o=t?.padding??20,{width:s,height:c,pixels:l}=oI(e,Math.max(1,Math.round(n/iI))),u=s+o*2,d=c+o*2,f=new Uint8Array(u*d);for(let e=0;e<c;e++)for(let t=0;t<s;t++)f[(e+o)*u+(t+o)]=l[e*s+t];let{width:p,height:m,pixels:h}=sI(f,u,d,a),g=Math.round(i/100*255),_=new Uint8Array(p*m*4);for(let e=0;e<p*m;e++){let t=h[e];t>0&&(_[e*4]=r.r,_[e*4+1]=r.g,_[e*4+2]=r.b,_[e*4+3]=Math.round(t/255*g))}return cI(_,p,m)}let iI=8,aI={32:[0,0,0,0,0,0,0,0],33:[4,4,4,4,4,0,4,0],34:[10,10,10,0,0,0,0,0],35:[10,10,31,10,31,10,10,0],36:[4,15,20,14,5,30,4,0],37:[24,25,2,4,8,19,3,0],38:[12,18,20,8,21,18,13,0],39:[4,4,8,0,0,0,0,0],40:[2,4,8,8,8,4,2,0],41:[8,4,2,2,2,4,8,0],42:[0,4,21,14,21,4,0,0],43:[0,4,4,31,4,4,0,0],44:[0,0,0,0,0,4,4,8],45:[0,0,0,31,0,0,0,0],46:[0,0,0,0,0,0,4,0],47:[0,1,2,4,8,16,0,0],48:[14,17,19,21,25,17,14,0],49:[4,12,4,4,4,4,14,0],50:[14,17,1,2,4,8,31,0],51:[31,2,4,2,1,17,14,0],52:[2,6,10,18,31,2,2,0],53:[31,16,30,1,1,17,14,0],54:[6,8,16,30,17,17,14,0],55:[31,1,2,4,8,8,8,0],56:[14,17,17,14,17,17,14,0],57:[14,17,17,15,1,2,12,0],58:[0,0,4,0,0,4,0,0],59:[0,0,4,0,0,4,4,8],60:[2,4,8,16,8,4,2,0],61:[0,0,31,0,31,0,0,0],62:[8,4,2,1,2,4,8,0],63:[14,17,1,2,4,0,4,0],64:[14,17,23,21,23,16,14,0],65:[14,17,17,31,17,17,17,0],66:[30,17,17,30,17,17,30,0],67:[14,17,16,16,16,17,14,0],68:[28,18,17,17,17,18,28,0],69:[31,16,16,30,16,16,31,0],70:[31,16,16,30,16,16,16,0],71:[14,17,16,23,17,17,15,0],72:[17,17,17,31,17,17,17,0],73:[14,4,4,4,4,4,14,0],74:[7,2,2,2,2,18,12,0],75:[17,18,20,24,20,18,17,0],76:[16,16,16,16,16,16,31,0],77:[17,27,21,21,17,17,17,0],78:[17,25,21,19,17,17,17,0],79:[14,17,17,17,17,17,14,0],80:[30,17,17,30,16,16,16,0],81:[14,17,17,17,21,18,13,0],82:[30,17,17,30,20,18,17,0],83:[15,16,16,14,1,1,30,0],84:[31,4,4,4,4,4,4,0],85:[17,17,17,17,17,17,14,0],86:[17,17,17,17,17,10,4,0],87:[17,17,17,21,21,27,17,0],88:[17,17,10,4,10,17,17,0],89:[17,17,10,4,4,4,4,0],90:[31,1,2,4,8,16,31,0],91:[14,8,8,8,8,8,14,0],92:[0,16,8,4,2,1,0,0],93:[14,2,2,2,2,2,14,0],94:[4,10,17,0,0,0,0,0],95:[0,0,0,0,0,0,31,0],96:[8,4,2,0,0,0,0,0],97:[0,0,14,1,15,17,15,0],98:[16,16,22,25,17,17,30,0],99:[0,0,14,16,16,17,14,0],100:[1,1,13,19,17,17,15,0],101:[0,0,14,17,31,16,14,0],102:[6,9,8,28,8,8,8,0],103:[0,0,15,17,15,1,14,0],104:[16,16,22,25,17,17,17,0],105:[4,0,12,4,4,4,14,0],106:[2,0,6,2,2,18,12,0],107:[16,16,18,20,24,20,18,0],108:[12,4,4,4,4,4,14,0],109:[0,0,26,21,21,17,17,0],110:[0,0,22,25,17,17,17,0],111:[0,0,14,17,17,17,14,0],112:[0,0,30,17,30,16,16,0],113:[0,0,13,19,15,1,1,0],114:[0,0,22,25,16,16,16,0],115:[0,0,14,16,14,1,30,0],116:[8,8,28,8,8,9,6,0],117:[0,0,17,17,17,19,13,0],118:[0,0,17,17,17,10,4,0],119:[0,0,17,17,21,21,10,0],120:[0,0,17,10,4,10,17,0],121:[0,0,17,17,15,1,14,0],122:[0,0,31,2,4,8,31,0],123:[2,4,4,8,4,4,2,0],124:[4,4,4,4,4,4,4,0],125:[8,4,4,2,4,4,8,0],126:[0,0,8,21,2,0,0,0]};function oI(e,t){let n=6*t,r=8*t,i=e.length*n,a=r,o=new Uint8Array(i*a);for(let r=0;r<e.length;r++){let s=aI[e.charCodeAt(r)]??aI[63],c=r*n;for(let e=0;e<8;e++){let n=s[e];for(let r=0;r<6;r++)if(n&1<<5-r)for(let n=0;n<t;n++)for(let s=0;s<t;s++){let l=c+r*t+s,u=e*t+n;l<i&&u<a&&(o[u*i+l]=255)}}}return{width:i,height:a,pixels:o}}function sI(e,t,n,r){if(r===0)return{width:t,height:n,pixels:e};let i=r*Math.PI/180,a=Math.cos(i),o=Math.sin(i),s=[{x:0,y:0},{x:t,y:0},{x:t,y:n},{x:0,y:n}],c=1/0,l=1/0,u=-1/0,d=-1/0;for(let e of s){let t=e.x*a-e.y*o,n=e.x*o+e.y*a;c=Math.min(c,t),l=Math.min(l,n),u=Math.max(u,t),d=Math.max(d,n)}let f=Math.ceil(u-c),p=Math.ceil(d-l),m=new Uint8Array(f*p),h=a,g=-o;for(let r=0;r<p;r++)for(let i=0;i<f;i++){let a=i+c,o=r+l,s=Math.round(a*h-o*g),u=Math.round(a*g+o*h);s>=0&&s<t&&u>=0&&u<n&&(m[r*f+i]=e[u*t+s])}return{width:f,height:p,pixels:m}}function cI(e,t,n){let r=1+t*4,i=new Uint8Array(r*n);for(let a=0;a<n;a++)i[a*r]=0,i.set(e.subarray(a*t*4,(a+1)*t*4),a*r+1);let a=dI(i),o=new Uint8Array([137,80,78,71,13,10,26,10]),s=new Uint8Array(13);uI(s,0,t),uI(s,4,n),s[8]=8,s[9]=6,s[10]=0,s[11]=0,s[12]=0;let c=lI(1229472850,s),l=lI(1229209940,a),u=lI(1229278788,new Uint8Array),d=new Uint8Array(o.length+c.length+l.length+u.length),f=0;return d.set(o,f),f+=o.length,d.set(c,f),f+=c.length,d.set(l,f),f+=l.length,d.set(u,f),d}function lI(e,t){let n=new Uint8Array(12+t.length);uI(n,0,t.length),uI(n,4,e),n.set(t,8);let r=mI(n.subarray(4,8+t.length));return uI(n,8+t.length,r),n}function uI(e,t,n){e[t]=n>>>24&255,e[t+1]=n>>>16&255,e[t+2]=n>>>8&255,e[t+3]=n&255}function dI(e){let t=So(e,6),n=fI(e),r=new Uint8Array(2+t.length+4);return r[0]=120,r[1]=1,r.set(t,2),uI(r,2+t.length,n),r}function fI(e){let t=1,n=0;for(let r=0;r<e.length;r++)t=(t+e[r])%65521,n=(n+t)%65521;return n<<16|t}let pI=(()=>{let e=new Uint32Array(256);for(let t=0;t<256;t++){let n=t;for(let e=0;e<8;e++)n=n&1?3988292384^n>>>1:n>>>1;e[t]=n}return e})();function mI(e){let t=4294967295;for(let n=0;n<e.length;n++)t=pI[(t^e[n])&255]^t>>>8;return(t^4294967295)>>>0}function hI(e){return xI(e)?`(${e.replace(/\\/g,`\\\\`).replace(/\(/g,`\\(`).replace(/\)/g,`\\)`).replace(/\r\n/g,`\\n`).replace(/\r/g,`\\n`).replace(/\n/g,`\\n`)})`:gI(SI(e))}function gI(e){let t=`<`;for(let n=0;n<e.length;n++)t+=e[n].toString(16).padStart(2,`0`);return t+`>`}function _I(e){let t=`/`;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);r<33||r>126||r===35||r===40||r===41||r===60||r===62||r===91||r===93||r===123||r===125||r===47?t+=`#`+r.toString(16).padStart(2,`0`):t+=e[n]}return t}function L(e){return Number.isFinite(e)?Number.isInteger(e)?e.toString():(Math.round(e*1e4)/1e4).toString():`0`}function vI(e){return`[`+e.join(` `)+`]`}function yI(e,t=0){return`${e} ${t} R`}function bI(e){return`(D:${e.getUTCFullYear().toString().padStart(4,`0`)}${(e.getUTCMonth()+1).toString().padStart(2,`0`)}${e.getUTCDate().toString().padStart(2,`0`)}${e.getUTCHours().toString().padStart(2,`0`)}${e.getUTCMinutes().toString().padStart(2,`0`)}${e.getUTCSeconds().toString().padStart(2,`0`)}Z)`}function xI(e){for(let t=0;t<e.length;t++)if(e.charCodeAt(t)>127)return!1;return!0}function SI(e){let t=new Uint8Array(2+e.length*2);t[0]=254,t[1]=255;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[2+n*2]=r>>8&255,t[3+n*2]=r&255}return t}var CI,wI=t((()=>{CI=class e{constructor(){this.entries=[],this._raw=null}static fromRawString(t){let n=new e;return n._raw=t,n}set(e,t){if(this._raw!==null){let n=RegExp(`(/${e})\\s+\\S+(?:\\s+\\d+\\s+R)?`);return n.test(this._raw)?this._raw=this._raw.replace(n,`/${e} ${t}`):this._raw=this._raw.replace(/>>$/,`\n${_I(e)} ${t}\n>>`),this}let n=this.entries.findIndex(([t])=>t===e);return n>=0?this.entries[n]=[e,t]:this.entries.push([e,t]),this}setIf(e,t,n){return e&&this.set(t,n),this}delete(e){let t=this.entries.findIndex(([t])=>t===e);return t>=0&&this.entries.splice(t,1),this}toString(){if(this._raw!==null)return this._raw;let e=[`<<`];for(let[t,n]of this.entries)e.push(`${_I(t)} ${n}`);return e.push(`>>`),e.join(`
439
+ `)}}}));function TI(e){if(e.length<8||e[0]!==137||e[1]!==80||e[2]!==78||e[3]!==71)throw Error(`Invalid PNG signature`);let t=8,n=0,r=0,i=0,a=0,o=[],s=null,c=null;for(;t+8<=e.length;){let l=new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(t,!1),u=String.fromCharCode(e[t+4],e[t+5],e[t+6],e[t+7]),d=e.subarray(t+8,t+8+l);switch(t+=8+l+4,u){case`IHDR`:{let e=new DataView(d.buffer,d.byteOffset,d.byteLength);if(n=e.getUint32(0,!1),r=e.getUint32(4,!1),i=d[8],a=d[9],d[12]!==0)throw Error(`Interlaced PNG is not supported`);if(i!==8)throw Error(`Unsupported PNG bit depth: ${i}. Only 8-bit PNGs are supported.`);if(n===0||r===0)throw Error(`Invalid PNG dimensions: ${n}x${r}`);let t=n*r;if(t>AI)throw Error(`PNG dimensions too large: ${n}x${r} (${t} pixels). Maximum allowed: ${AI} pixels.`);break}case`PLTE`:s=new Uint8Array(d);break;case`tRNS`:c=new Uint8Array(d);break;case`IDAT`:o.push(d);break;case`IEND`:break}}if(n===0||r===0)throw Error(`PNG missing IHDR chunk`);let l=Zn(o),u;u=l.length>6&&(l[0]&15)==8?l.subarray(2,l.length-4):l;let d=bv(u),f=OI(a),p=Math.max(1,f*i/8),m=Math.ceil(n*f*i/8);return kI(EI(d,n,r,m,p),n,r,a,i,s,c)}function EI(e,t,n,r,i){let a=new Uint8Array(n*r),o=Math.max(1,Math.floor(i)),s=0;for(let t=0;t<n;t++){let n=e[s++],i=t*r,c=t>0?(t-1)*r:-1;for(let t=0;t<r;t++){let r=e[s++]??0,l=t>=o?a[i+t-o]:0,u=c>=0?a[c+t]:0,d=c>=0&&t>=o?a[c+t-o]:0;switch(n){case 0:a[i+t]=r;break;case 1:a[i+t]=r+l&255;break;case 2:a[i+t]=r+u&255;break;case 3:a[i+t]=r+Math.floor((l+u)/2)&255;break;case 4:a[i+t]=r+DI(l,u,d)&255;break;default:a[i+t]=r}}}return a}function DI(e,t,n){let r=e+t-n,i=Math.abs(r-e),a=Math.abs(r-t),o=Math.abs(r-n);return i<=a&&i<=o?e:a<=o?t:n}function OI(e){switch(e){case 0:return 1;case 2:return 3;case 3:return 1;case 4:return 2;case 6:return 4;default:return 3}}function kI(e,t,n,r,i,a,o){let s=t*n,c=new Uint8Array(s*3),l=null;switch(r){case 2:if(c.set(e.subarray(0,s*3)),o&&o.length>=6){let t=o[1],n=o[3],r=o[5];l=new Uint8Array(s),l.fill(255);for(let i=0;i<s;i++)e[i*3]===t&&e[i*3+1]===n&&e[i*3+2]===r&&(l[i]=0)}break;case 6:l=new Uint8Array(s);for(let t=0;t<s;t++)c[t*3]=e[t*4],c[t*3+1]=e[t*4+1],c[t*3+2]=e[t*4+2],l[t]=e[t*4+3];break;case 0:{let t=-1;o&&o.length>=2&&(t=o[1]),t>=0&&(l=new Uint8Array(s),l.fill(255));for(let n=0;n<s;n++){let r=e[n];c[n*3]=r,c[n*3+1]=r,c[n*3+2]=r,l&&r===t&&(l[n]=0)}break}case 4:l=new Uint8Array(s);for(let t=0;t<s;t++){let n=e[t*2];c[t*3]=n,c[t*3+1]=n,c[t*3+2]=n,l[t]=e[t*2+1]}break;case 3:if(!a)throw Error(`PNG palette color type (3) but missing PLTE chunk`);o&&o.length>0&&(l=new Uint8Array(s));for(let t=0;t<s;t++){let n=e[t];c[t*3]=a[n*3]??0,c[t*3+1]=a[n*3+1]??0,c[t*3+2]=a[n*3+2]??0,l&&(l[t]=n<o.length?o[n]:255)}break;default:throw Error(`Unsupported PNG color type: ${r}`)}if(l){let e=!0;for(let t=0;t<l.length;t++)if(l[t]!==255){e=!1;break}e&&(l=null)}return{width:t,height:n,pixels:c,alpha:l,bitsPerComponent:8}}var AI,jI=t((()=>{wv(),lr(),AI=1e8}));function MI(e,t){return t===`png`?NI(e):PI(e)}function NI(e){return e.length>=24&&e[12]===73&&e[13]===72&&e[14]===68&&e[15]===82?{width:e[16]<<24|e[17]<<16|e[18]<<8|e[19],height:e[20]<<24|e[21]<<16|e[22]<<8|e[23]}:{width:1,height:1}}function PI(e){let t=2;for(;t<e.length-1;){for(;t<e.length&&e[t]===255&&e[t+1]===255;)t++;if(t>=e.length-1||e[t]!==255)break;let n=e[t+1];if(n>=192&&n<=207&&n!==196&&n!==200&&n!==204&&t+8<e.length)return{width:e[t+7]<<8|e[t+8],height:e[t+5]<<8|e[t+6]};if(t+3>=e.length)break;let r=e[t+2]<<8|e[t+3];t+=2+r}return{width:1,height:1}}function FI(e,t,n){return n===`png`?LI(e,t):II(e,t)}function II(e,t){let n=e.allocObject(),r=PI(t),i=new CI().set(`Type`,`/XObject`).set(`Subtype`,`/Image`).set(`Width`,L(r.width)).set(`Height`,L(r.height)).set(`ColorSpace`,`/DeviceRGB`).set(`BitsPerComponent`,`8`).set(`Filter`,`/DCTDecode`);return e.addStreamObject(n,i,t),n}function LI(e,t){let n=TI(t),r=e.allocObject(),i=new CI().set(`Type`,`/XObject`).set(`Subtype`,`/Image`).set(`Width`,L(n.width)).set(`Height`,L(n.height)).set(`ColorSpace`,`/DeviceRGB`).set(`BitsPerComponent`,L(n.bitsPerComponent));if(n.alpha){let t=e.allocObject(),r=new CI().set(`Type`,`/XObject`).set(`Subtype`,`/Image`).set(`Width`,L(n.width)).set(`Height`,L(n.height)).set(`ColorSpace`,`/DeviceGray`).set(`BitsPerComponent`,`8`);e.addStreamObject(t,r,n.alpha),i.set(`SMask`,yI(t))}return e.addStreamObject(r,i,n.pixels),r}var RI=t((()=>{wI(),jI()}));function zI(e){return Xs(e)}var BI=t((()=>{ic()}));function VI(e){let t=UI(e.userPassword??``),n=UI(e.ownerPassword),r=WI(e.permissions),i=Zs(32),a=Zs(8),o=Zs(8),s=Zs(8),c=Zs(8),l=Zn([zI(Zn([t,a])),a,o]),u=zI(Zn([t,o])),d=new Uint8Array(16),f=qs(i,u,d),p=Zn([zI(Zn([n,s,l])),s,c]),m=qs(i,zI(Zn([n,c,l])),d),h=new Uint8Array(16);return new DataView(h.buffer).setInt32(0,r,!0),h[4]=255,h[5]=255,h[6]=255,h[7]=255,h[8]=84,h[9]=97,h[10]=100,h[11]=98,{encryptionKey:i,oValue:p,uValue:l,oeValue:m,ueValue:f,permsValue:Js(h,i),permissions:r,fileId:Zs(16)}}function HI(e,t,n,r){let i=Zs(16),a=Ks(e,r,i),o=new Uint8Array(16+a.length);return o.set(i),o.set(a,16),o}function UI(e){let t=new TextEncoder().encode(e);return t.length>127?t.subarray(0,127):t}function WI(e){let t=-3904;return e?.print&&(t|=4),e?.modify&&(t|=8),e?.copy&&(t|=16),e?.annotate&&(t|=32),e?.fillForms&&(t|=256),e?.accessibility&&(t|=512),e?.assemble&&(t|=1024),e?.printHighQuality&&(t|=2048),t|0}var GI=t((()=>{lr(),ic(),BI()}));function KI(e){return e.replace(/\\/g,`\\\\`).replace(/\(/g,`\\(`).replace(/\)/g,`\\)`).replace(/\r\n/g,`\\n`).replace(/\r/g,`\\n`).replace(/\n/g,`\\n`)}function qI(e){for(let t=0;t<e.length;t++)if(e.charCodeAt(t)>127)return!0;return!1}function JI(e){if(e<128||e>=160&&e<=255)return e;let t=QI.get(e);return t===void 0?32:t}function YI(e){return e<128||e>=160&&e<=255?!0:QI.has(e)}function XI(e){for(let t=0;t<e.length;t++){let n=e.codePointAt(t);if(n>65535&&t++,!YI(n))return!0}return!1}var ZI,QI,$I=t((()=>{wI(),ZI=class{constructor(){this.parts=[]}raw(e){return this.parts.push(e),this}save(){return this.parts.push(`q`),this}restore(){return this.parts.push(`Q`),this}setGraphicsState(e){return this.parts.push(`/${e} gs`),this}setStrokeColor(e){return this.parts.push(`${L(e.r)} ${L(e.g)} ${L(e.b)} RG`),this}setFillColor(e){return this.parts.push(`${L(e.r)} ${L(e.g)} ${L(e.b)} rg`),this}setLineWidth(e){return this.parts.push(`${L(e)} w`),this}setDashPattern(e,t=0){let n=e.map(L).join(` `);return this.parts.push(`[${n}] ${L(t)} d`),this}setLineCap(e){return this.parts.push(`${e} J`),this}setLineJoin(e){return this.parts.push(`${e} j`),this}moveTo(e,t){return this.parts.push(`${L(e)} ${L(t)} m`),this}lineTo(e,t){return this.parts.push(`${L(e)} ${L(t)} l`),this}rect(e,t,n,r){return this.parts.push(`${L(e)} ${L(t)} ${L(n)} ${L(r)} re`),this}curveTo(e,t,n,r,i,a){return this.parts.push(`${L(e)} ${L(t)} ${L(n)} ${L(r)} ${L(i)} ${L(a)} c`),this}curveToV(e,t,n,r){return this.parts.push(`${L(e)} ${L(t)} ${L(n)} ${L(r)} v`),this}curveToY(e,t,n,r){return this.parts.push(`${L(e)} ${L(t)} ${L(n)} ${L(r)} y`),this}stroke(){return this.parts.push(`S`),this}fill(){return this.parts.push(`f`),this}fillAndStroke(){return this.parts.push(`B`),this}closePath(){return this.parts.push(`h`),this}endPath(){return this.parts.push(`n`),this}clip(){return this.parts.push(`W`),this}beginText(){return this.parts.push(`BT`),this}endText(){return this.parts.push(`ET`),this}setFont(e,t){return this.parts.push(`/${e} ${L(t)} Tf`),this}setTextMatrix(e,t,n,r,i,a){return this.parts.push(`${L(e)} ${L(t)} ${L(n)} ${L(r)} ${L(i)} ${L(a)} Tm`),this}moveText(e,t){return this.parts.push(`${L(e)} ${L(t)} Td`),this}setTextLeading(e){return this.parts.push(`${L(e)} TL`),this}showText(e){return qI(e)?this.showTextWinAnsi(e):(this.parts.push(`(${KI(e)}) Tj`),this)}showTextWinAnsi(e){let t=`<`;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++;let i=JI(r);t+=i.toString(16).padStart(2,`0`)}return t+=`>`,this.parts.push(`${t} Tj`),this}showTextHex(e){return this.parts.push(`${e} Tj`),this}nextLineShowText(e){if(qI(e)){let t=`<`;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++;let i=JI(r);t+=i.toString(16).padStart(2,`0`)}return t+=`>`,this.parts.push(`${t} '`),this}return this.parts.push(`(${KI(e)}) '`),this}setTextRise(e){return this.parts.push(`${L(e)} Ts`),this}setCharacterSpacing(e){return this.parts.push(`${L(e)} Tc`),this}setWordSpacing(e){return this.parts.push(`${L(e)} Tw`),this}drawImage(e,t,n,r,i){return this.save().concat(r,0,0,i,t,n).doXObject(e).restore()}concat(e,t,n,r,i,a){return this.parts.push(`${L(e)} ${L(t)} ${L(n)} ${L(r)} ${L(i)} ${L(a)} cm`),this}doXObject(e){return this.parts.push(`/${e} Do`),this}fillRect(e,t,n,r,i){return this.save().setFillColor(i).rect(e,t,n,r).fill().restore()}drawLine(e,t,n,r,i,a,o=[]){return this.save().setStrokeColor(i).setLineWidth(a),o.length>0&&this.setDashPattern(o),this.moveTo(e,t).lineTo(n,r).stroke().restore()}ellipse(e,t,n,r){let i=.5522847,a=i*n,o=i*r;return this.moveTo(e+n,t),this.curveTo(e+n,t+o,e+a,t+r,e,t+r),this.curveTo(e-a,t+r,e-n,t+o,e-n,t),this.curveTo(e-n,t-o,e-a,t-r,e,t-r),this.curveTo(e+a,t-r,e+n,t-o,e+n,t),this}circle(e,t,n){return this.ellipse(e,t,n,n)}roundedRect(e,t,n,r,i){let a=.5522847*i;return this.moveTo(e+i,t),this.lineTo(e+n-i,t),this.curveTo(e+n-i+a,t,e+n,t+i-a,e+n,t+i),this.lineTo(e+n,t+r-i),this.curveTo(e+n,t+r-i+a,e+n-i+a,t+r,e+n-i,t+r),this.lineTo(e+i,t+r),this.curveTo(e+i-a,t+r,e,t+r-i+a,e,t+r-i),this.lineTo(e,t+i),this.curveTo(e,t+i-a,e+i-a,t,e+i,t),this}toString(){return this.parts.join(`
440
+ `)}toUint8Array(){return new TextEncoder().encode(this.toString())}},QI=new Map([[8364,128],[8218,130],[402,131],[8222,132],[8230,133],[8224,134],[8225,135],[710,136],[8240,137],[352,138],[8249,139],[338,140],[381,142],[8216,145],[8217,146],[8220,147],[8221,148],[8226,149],[8211,150],[8212,151],[732,152],[8482,153],[353,154],[8250,155],[339,156],[382,158],[376,159]])}));function eL(e){return e instanceof tL}var tL,nL,rL,iL,aL=t((()=>{u(),tL=class extends c{constructor(...e){super(...e),this.name=`PdfError`}},nL=class extends tL{constructor(...e){super(...e),this.name=`PdfRenderError`}},rL=class extends tL{constructor(...e){super(...e),this.name=`PdfFontError`}},iL=class extends tL{constructor(...e){super(...e),this.name=`PdfStructureError`}}}));function oL(e,t,n,r){let i=new TextEncoder,a=[],o=0;for(;o<e.length;)if(e[o]===`(`){let s=o;o++;let c=``,l=1;for(;o<e.length&&l>0;){let t=e[o];t===`\\`?(c+=e[o]+(e[o+1]??``),o+=2):t===`(`?(l++,c+=t,o++):t===`)`?(l--,l>0&&(c+=t),o++):(c+=t,o++)}if(l!==0){a.push(e.slice(s,o));continue}let u=sL(c),d=HI(i.encode(u),t,n,r);a.push(gI(d))}else if(e[o]===`<`&&e[o+1]===`<`)a.push(`<<`),o+=2;else if(e[o]===`>`&&e[o+1]===`>`)a.push(`>>`),o+=2;else if(e[o]===`<`){o++;let i=``;for(;o<e.length&&e[o]!==`>`;)i+=e[o],o++;o<e.length&&o++;let s=i.replace(/\s/g,``);if(s.length===0){a.push(`<>`);continue}let c=new Uint8Array(Math.ceil(s.length/2));for(let e=0;e<c.length;e++)c[e]=parseInt(s.substring(e*2,e*2+2).padEnd(2,`0`),16);let l=HI(c,t,n,r);a.push(gI(l))}else a.push(e[o]),o++;return a.join(``)}function sL(e){let t=``;for(let n=0;n<e.length;n++){let r=e[n];if(r!==`\\`){t+=r;continue}let i=e[n+1];if(i===void 0){t+=`\\`;break}switch(i){case`n`:t+=`
441
+ `;break;case`r`:t+=`\r`;break;case`t`:t+=` `;break;case`(`:t+=`(`;break;case`)`:t+=`)`;break;case`\\`:t+=`\\`;break;default:t+=i;break}n++}return t}var cL,lL=t((()=>{wv(),lr(),aL(),GI(),wI(),cL=class{constructor(){this.nextObjectNumber=1,this.objects=[],this.catalogRef=0,this.infoRef=0,this.encryption=null,this.pdfVersion=`2.0`}setVersion(e){this.pdfVersion=e}setEncryption(e){this.encryption=e}allocObject(){return this.nextObjectNumber++}addObject(e,t){this.objects.push({objectNumber:e,offset:0,content:typeof t==`string`?t:t.toString()})}addStreamObject(e,t,n,r){let i=n instanceof Uint8Array?n:n.toUint8Array();if((r?.compress??!0)&&i.length>256&&!t.toString().includes(`/Filter`)){let e=Sv(i,{level:6});e.length<i.length&&(t.set(`Filter`,`/FlateDecode`),i=e)}t.set(`Length`,L(i.length)),this.objects.push({objectNumber:e,offset:0,content:t.toString(),streamData:i})}getObjects(){return this.objects.map(e=>{let t={objectNumber:e.objectNumber,content:e.content};return`streamData`in e&&(t.streamData=e.streamData),t})}setCatalog(e){this.catalogRef=e}addInfoDict(e){let t=this.allocObject(),n=new CI;return e.title&&n.set(`Title`,hI(e.title)),e.author&&n.set(`Author`,hI(e.author)),e.subject&&n.set(`Subject`,hI(e.subject)),e.creator&&n.set(`Creator`,hI(e.creator)),n.set(`Producer`,hI(`excelts`)),n.set(`CreationDate`,bI(new Date)),this.addObject(t,n),this.infoRef=t,t}addPage(e){let t=this.allocObject(),n=`[0 0 ${L(e.width)} ${L(e.height)}]`,r=typeof e.contentsRef==`string`?e.contentsRef:yI(e.contentsRef),i=new CI().set(`Type`,`/Page`).set(`Parent`,yI(e.parentRef)).set(`MediaBox`,n).set(`Contents`,r).set(`Resources`,yI(e.resourcesRef));return e.annotRefs&&e.annotRefs.length>0&&i.set(`Annots`,`[`+e.annotRefs.map(e=>yI(e)).join(` `)+`]`),this.addObject(t,i),t}addCatalog(e,t){let n=typeof t==`number`?{outlinesRef:t}:t??{},r=this.allocObject(),i=new CI().set(`Type`,`/Catalog`).set(`Pages`,yI(e));if(n.outlinesRef&&(i.set(`Outlines`,yI(n.outlinesRef)),i.set(`PageMode`,`/UseOutlines`)),n.extraEntries)for(let[e,t]of n.extraEntries)i.set(e,t);return this.addObject(r,i),this.setCatalog(r),r}build(){if(this.catalogRef===0)throw new iL(`No catalog object set. Call addCatalog() before build().`);let e=new TextEncoder,t=[],n=0,r=`%PDF-${this.pdfVersion}\n`,i=e.encode(r);t.push(i),n+=i.length;let a=new Uint8Array([37,226,227,207,211,10]);t.push(a),n+=a.length,this.objects.sort((e,t)=>e.objectNumber-t.objectNumber);let o=this.encryption?this.allocObject():0;for(let r of this.objects){r.offset=n;let i=`${r.objectNumber} 0 obj\n`,a=e.encode(i);t.push(a),n+=a.length;let s=r.content;this.encryption&&r.objectNumber!==o&&(s=oL(s,r.objectNumber,0,this.encryption.encryptionKey));let c=null;`streamData`in r&&r.streamData&&(c=r.streamData,this.encryption&&r.objectNumber!==o&&(c=HI(c,r.objectNumber,0,this.encryption.encryptionKey),s=s.replace(/\/Length \d+/,`/Length ${c.length}`)));let l=e.encode(s+`
442
442
  `);if(t.push(l),n+=l.length,c){let r=e.encode(`stream
443
443
  `);t.push(r),n+=r.length,t.push(c),n+=c.length;let i=e.encode(`
444
444
  endstream
445
445
  `);t.push(i),n+=i.length}let u=e.encode(`endobj
446
- `);t.push(u),n+=u.length}if(this.encryption){let r=new bI().set(`Filter`,`/Standard`).set(`V`,`5`).set(`R`,`5`).set(`Length`,`256`).set(`P`,String(this.encryption.permissions)).set(`O`,pI(this.encryption.oValue)).set(`U`,pI(this.encryption.uValue)).set(`OE`,pI(this.encryption.oeValue)).set(`UE`,pI(this.encryption.ueValue)).set(`Perms`,pI(this.encryption.permsValue)).set(`EncryptMetadata`,`true`).set(`CF`,`<< /StdCF << /Type /CryptFilter /CFM /AESV3 /AuthEvent /DocOpen /Length 32 >> >>`).set(`StmF`,`/StdCF`).set(`StrF`,`/StdCF`).toString(),i={objectNumber:o,offset:n,content:r};this.objects.push(i);let a=e.encode(`${o} 0 obj\n`);t.push(a),n+=a.length;let s=e.encode(r+`
446
+ `);t.push(u),n+=u.length}if(this.encryption){let r=new CI().set(`Filter`,`/Standard`).set(`V`,`5`).set(`R`,`5`).set(`Length`,`256`).set(`P`,String(this.encryption.permissions)).set(`O`,gI(this.encryption.oValue)).set(`U`,gI(this.encryption.uValue)).set(`OE`,gI(this.encryption.oeValue)).set(`UE`,gI(this.encryption.ueValue)).set(`Perms`,gI(this.encryption.permsValue)).set(`EncryptMetadata`,`true`).set(`CF`,`<< /StdCF << /Type /CryptFilter /CFM /AESV3 /AuthEvent /DocOpen /Length 32 >> >>`).set(`StmF`,`/StdCF`).set(`StrF`,`/StdCF`).toString(),i={objectNumber:o,offset:n,content:r};this.objects.push(i);let a=e.encode(`${o} 0 obj\n`);t.push(a),n+=a.length;let s=e.encode(r+`
447
447
  `);t.push(s),n+=s.length;let c=e.encode(`endobj
448
448
  `);t.push(c),n+=c.length}let s=n,c=new Map;for(let e of this.objects)c.set(e.objectNumber,e);let l=this.objects.reduce((e,t)=>Math.max(e,t.objectNumber),0),u=[];u.push(`xref`),u.push(`0 ${l+1}`);let d=[0];for(let e=1;e<=l;e++)c.has(e)||d.push(e);let f=new Map;for(let e=0;e<d.length-1;e++)f.set(d[e],d[e+1]);f.set(d[d.length-1],0);let p=(f.get(0)??0).toString().padStart(10,`0`);u.push(`${p} 65535 f `);for(let e=1;e<=l;e++){let t=c.get(e);if(t){let e=t.offset.toString().padStart(10,`0`);u.push(`${e} 00000 n `)}else{let t=(f.get(e)??0).toString().padStart(10,`0`);u.push(`${t} 65535 f `)}}let m=u.join(`
449
449
  `)+`
450
450
  `,h=e.encode(m);t.push(h);let g=`trailer
451
451
  <<
452
- `;g+=`/Size ${l+1}\n`,g+=`/Root ${gI(this.catalogRef)}\n`,this.infoRef>0&&(g+=`/Info ${gI(this.infoRef)}\n`),o>0&&(g+=`/Encrypt ${gI(o)}\n`,g+=`/ID [${pI(this.encryption.fileId)} ${pI(this.encryption.fileId)}]\n`),g+=`>>
452
+ `;g+=`/Size ${l+1}\n`,g+=`/Root ${yI(this.catalogRef)}\n`,this.infoRef>0&&(g+=`/Info ${yI(this.infoRef)}\n`),o>0&&(g+=`/Encrypt ${yI(o)}\n`,g+=`/ID [${gI(this.encryption.fileId)} ${gI(this.encryption.fileId)}]\n`),g+=`>>
453
453
  `,g+=`startxref
454
454
  `,g+=`${s}\n`,g+=`%%EOF
455
- `;let _=e.encode(g);return t.push(_),Zn(t)}}}));function sL(e,t,n,r){let{oldToNewGid:i,unicodeToCid:a,cidWidths:o,usedGlyphIds:s}=cL(t,n),c=lL(t,s,i),l=Sv(c,{level:6}),u=e.allocObject(),d=new bI().set(`Length`,L(l.length)).set(`Length1`,L(c.length)).set(`Filter`,`/FlateDecode`);e.addStreamObject(u,d,l);let f=1e3/t.unitsPerEm,p=e.allocObject(),m=new bI().set(`Type`,`/FontDescriptor`).set(`FontName`,mI(t.postScriptName+`-Subset`)).set(`Flags`,L(t.flags)).set(`FontBBox`,hI(t.bbox.map(e=>L(Math.round(e*f))))).set(`ItalicAngle`,L(t.italicAngle)).set(`Ascent`,L(Math.round(t.ascent*f))).set(`Descent`,L(Math.round(t.descent*f))).set(`CapHeight`,L(Math.round(t.capHeight*f))).set(`StemV`,L(t.stemV)).set(`FontFile2`,gI(u));e.addObject(p,m);let h=mL(o,t.unitsPerEm),g=e.allocObject(),_=new bI().set(`Type`,`/Font`).set(`Subtype`,`/CIDFontType2`).set(`BaseFont`,mI(t.postScriptName+`-Subset`)).set(`CIDSystemInfo`,`<< /Registry (Adobe) /Ordering (Identity) /Supplement 0 >>`).set(`FontDescriptor`,gI(p)).set(`DW`,L(1e3)).set(`W`,h).set(`CIDToGIDMap`,`/Identity`);e.addObject(g,_);let v=Sv(pL(a),{level:6}),y=e.allocObject(),b=new bI().set(`Length`,L(v.length)).set(`Filter`,`/FlateDecode`);e.addStreamObject(y,b,v);let x=e.allocObject(),S=new bI().set(`Type`,`/Font`).set(`Subtype`,`/Type0`).set(`BaseFont`,mI(t.postScriptName+`-Subset`)).set(`Encoding`,`/Identity-H`).set(`DescendantFonts`,hI([gI(g)])).set(`ToUnicode`,gI(y));return e.addObject(x,S),{resourceName:r,fontObjNum:x,font:t,unicodeToCid:a,cidWidths:o}}function cL(e,t){let n=new Set,r=new Map;n.add(0);for(let i of t){let t=e.cmap.get(i);t!==void 0&&t>0&&(n.add(t),r.set(i,t))}let i=e.tables.get(`glyf`);if(i){let t=i.offset,r=new Set(n),a=Array.from(r);for(;a.length>0;){let i=hL(e,a.pop(),t);for(let e of i)r.has(e)||(r.add(e),n.add(e),a.push(e))}}let a=Array.from(n).sort((e,t)=>e-t),o=new Map;for(let e=0;e<a.length;e++)o.set(a[e],e);let s=new Map,c=Array(a.length).fill(0);c[0]=e.advanceWidths[0]??0;for(let[t,n]of r){let r=o.get(n);s.set(t,r),c[r]=e.advanceWidths[n]??0}return{oldToNewGid:o,unicodeToCid:s,cidWidths:c,usedGlyphIds:n}}function lL(e,t,n){let r=n.size,i=Array.from(t).sort((e,t)=>e-t),a=e.tables.get(`glyf`)?.offset??0,o=[],s=[],c=0;for(let t of i){s.push(c);let r=e.glyphOffsets[t],i=e.glyphOffsets[t+1],l=i-r;if(l>0){let t=gL(e.data.subarray(a+r,a+i),n);o.push(t),c+=l;let s=(4-l%4)%4;s>0&&(o.push(new Uint8Array(s)),c+=s)}}s.push(c);let l=Zn(o),u=new Uint8Array((r+1)*4),d=new DataView(u.buffer);for(let e=0;e<=r;e++)d.setUint32(e*4,s[e]??c,!1);let f=new Uint8Array(r*4),p=new DataView(f.buffer);for(let t=0;t<i.length;t++){let n=i[t];p.setUint16(t*4,e.advanceWidths[n]??0,!1),p.setInt16(t*4+2,0,!1)}let m=uL(n,e.cmap),h=e.tables.get(`head`),g=new Uint8Array(e.data.subarray(h.offset,h.offset+h.length));new DataView(g.buffer,g.byteOffset,g.byteLength).setInt16(50,1,!1);let _=e.tables.get(`hhea`),v=new Uint8Array(e.data.subarray(_.offset,_.offset+_.length));new DataView(v.buffer,v.byteOffset,v.byteLength).setUint16(34,r,!1);let y=e.tables.get(`maxp`),b=new Uint8Array(e.data.subarray(y.offset,y.offset+y.length));new DataView(b.buffer,b.byteOffset,b.byteLength).setUint16(4,r,!1);let x=new Uint8Array(32);return new DataView(x.buffer).setUint32(0,196608,!1),dL([[`head`,g],[`hhea`,v],[`maxp`,b],[`post`,x],[`cmap`,m],[`hmtx`,f],[`loca`,u],[`glyf`,l]])}function uL(e,t){let n=[];for(let[r,i]of t){let t=e.get(i);t!==void 0&&n.push([r,t])}n.sort((e,t)=>e[0]-t[0]);let r=[];for(let[e,t]of n){let n=r[r.length-1];n&&e===n.endCP+1&&t===n.startGID+(e-n.startCP)?n.endCP=e:r.push({startCP:e,endCP:e,startGID:t})}let i=16+r.length*12,a=12+i,o=new Uint8Array(a),s=new DataView(o.buffer),c=0;s.setUint16(c,0,!1),c+=2,s.setUint16(c,1,!1),c+=2,s.setUint16(c,3,!1),c+=2,s.setUint16(c,10,!1),c+=2,s.setUint32(c,12,!1),c+=4,s.setUint16(c,12,!1),c+=2,s.setUint16(c,0,!1),c+=2,s.setUint32(c,i,!1),c+=4,s.setUint32(c,0,!1),c+=4,s.setUint32(c,r.length,!1),c+=4;for(let e of r)s.setUint32(c,e.startCP,!1),c+=4,s.setUint32(c,e.endCP,!1),c+=4,s.setUint32(c,e.startGID,!1),c+=4;return o}function dL(e){let t=e.length,n=12+t*16,r=[];for(let[t,i]of e){let e=i.length,a=e+3&-4,o=new Uint8Array(a);o.set(i),r.push({tag:t,data:o,originalLength:e,offset:n,checksum:fL(o)}),n+=a}let i=new Uint8Array(n),a=new DataView(i.buffer),o=0;a.setUint32(o,65536,!1),o+=4,a.setUint16(o,t,!1),o+=2;let s=2**Math.floor(Math.log2(t));a.setUint16(o,s*16,!1),o+=2,a.setUint16(o,Math.floor(Math.log2(t)),!1),o+=2,a.setUint16(o,t*16-s*16,!1),o+=2;for(let e of r){for(let t=0;t<4;t++)i[o++]=e.tag.charCodeAt(t);a.setUint32(o,e.checksum,!1),o+=4,a.setUint32(o,e.offset,!1),o+=4,a.setUint32(o,e.originalLength,!1),o+=4}for(let e of r)i.set(e.data,e.offset);return i}function fL(e){let t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=0,r=Math.floor(e.length/4);for(let e=0;e<r;e++)n=n+t.getUint32(e*4,!1)>>>0;return n}function pL(e){let t=new Map;for(let[n,r]of e)t.set(r,n);let n=Array.from(t.entries()).sort((e,t)=>e[0]-t[0]),r=[];r.push(`/CIDInit /ProcSet findresource begin`),r.push(`12 dict begin`),r.push(`begincmap`),r.push(`/CIDSystemInfo`),r.push(`<< /Registry (Adobe) /Ordering (UCS) /Supplement 0 >> def`),r.push(`/CMapName /Adobe-Identity-UCS def`),r.push(`/CMapType 2 def`),r.push(`1 begincodespacerange`),r.push(`<0000> <FFFF>`),r.push(`endcodespacerange`);for(let e=0;e<n.length;e+=100){let t=n.slice(e,e+100);r.push(`${t.length} beginbfchar`);for(let[e,n]of t){let t=e.toString(16).toUpperCase().padStart(4,`0`),i;if(n>65535){let e=55296+(n-65536>>10),t=56320+(n-65536&1023);i=e.toString(16).toUpperCase().padStart(4,`0`)+t.toString(16).toUpperCase().padStart(4,`0`)}else i=n.toString(16).toUpperCase().padStart(4,`0`);r.push(`<${t}> <${i}>`)}r.push(`endbfchar`)}r.push(`endcmap`),r.push(`CMapName currentdict /CMap defineresource pop`),r.push(`end`),r.push(`end`);let i=r.join(`
456
- `);return new TextEncoder().encode(i)}function mL(e,t){if(e.length===0)return`[]`;let n=1e3/t;return`[0 [${e.map(e=>L(Math.round(e*n))).join(` `)}]]`}function hL(e,t,n){let r=e.glyphOffsets[t];if(e.glyphOffsets[t+1]-r<4)return[];let i=new DataView(e.data.buffer,e.data.byteOffset,e.data.byteLength),a=n+r;if(i.getInt16(a,!1)>=0)return[];let o=a+10,s=[];for(;;){let e=i.getUint16(o,!1);o+=2;let t=i.getUint16(o,!1);if(o+=2,s.push(t),e&vL?o+=4:o+=2,e&yL?o+=2:e&bL?o+=4:e&xL&&(o+=8),!(e&_L))break}return s}function gL(e,t){if(e.length<10||new DataView(e.buffer,e.byteOffset,e.byteLength).getInt16(0,!1)>=0)return e;let n=new Uint8Array(e.length);n.set(e);let r=new DataView(n.buffer,n.byteOffset,n.byteLength),i=10;for(;;){let e=r.getUint16(i,!1);i+=2;let n=r.getUint16(i,!1),a=t.get(n)??0;if(r.setUint16(i,a,!1),i+=2,e&vL?i+=4:i+=2,e&yL?i+=2:e&bL?i+=4:e&xL&&(i+=8),!(e&_L))break}return n}var _L,vL,yL,bL,xL,SL=t((()=>{wv(),lr(),xI(),_L=32,vL=1,yL=8,bL=64,xL=128}));function CL(e,t){let n=NL[t];return n?n.monoWidth===void 0?n.widths?.[e]??n.avgWidth:n.monoWidth:CL(e,`Helvetica`)}function wL(e,t,n){let r=0;for(let n=0;n<e.length;n++)r+=CL(e.charCodeAt(n),t);return r/1e3*n}function TL(e,t){return(NL[e]??NL.Helvetica).ascent/1e3*t}function EL(e,t){return(NL[e]??NL.Helvetica).descent/1e3*t}function DL(e,t){let n=NL[e]??NL.Helvetica;return(n.ascent-n.descent)/1e3*t}var OL,kL,AL,jL,ML,NL,PL=t((()=>{OL={32:278,33:278,34:355,35:556,36:556,37:889,38:667,39:191,40:333,41:333,42:389,43:584,44:278,45:333,46:278,47:278,48:556,49:556,50:556,51:556,52:556,53:556,54:556,55:556,56:556,57:556,58:278,59:278,60:584,61:584,62:584,63:556,64:1015,65:667,66:667,67:722,68:722,69:667,70:611,71:778,72:722,73:278,74:500,75:667,76:556,77:833,78:722,79:778,80:667,81:778,82:722,83:667,84:611,85:722,86:667,87:944,88:667,89:667,90:611,91:278,92:278,93:278,94:469,95:556,96:333,97:556,98:556,99:500,100:556,101:556,102:278,103:556,104:556,105:222,106:222,107:500,108:222,109:833,110:556,111:556,112:556,113:556,114:333,115:500,116:278,117:556,118:500,119:722,120:500,121:500,122:500,123:334,124:260,125:334,126:584},kL={32:278,33:333,34:474,35:556,36:556,37:889,38:722,39:238,40:333,41:333,42:389,43:584,44:278,45:333,46:278,47:278,48:556,49:556,50:556,51:556,52:556,53:556,54:556,55:556,56:556,57:556,58:333,59:333,60:584,61:584,62:584,63:611,64:975,65:722,66:722,67:722,68:722,69:667,70:611,71:778,72:722,73:278,74:556,75:722,76:611,77:833,78:722,79:778,80:667,81:778,82:722,83:667,84:611,85:722,86:667,87:944,88:667,89:667,90:611,91:333,92:278,93:333,94:584,95:556,96:333,97:556,98:611,99:556,100:611,101:556,102:333,103:611,104:611,105:278,106:278,107:556,108:278,109:889,110:611,111:611,112:611,113:611,114:389,115:556,116:333,117:611,118:556,119:778,120:556,121:556,122:500,123:389,124:280,125:389,126:584},AL={32:250,33:333,34:408,35:500,36:500,37:833,38:778,39:180,40:333,41:333,42:500,43:564,44:250,45:333,46:250,47:278,48:500,49:500,50:500,51:500,52:500,53:500,54:500,55:500,56:500,57:500,58:278,59:278,60:564,61:564,62:564,63:444,64:921,65:722,66:667,67:667,68:722,69:611,70:556,71:722,72:722,73:333,74:389,75:722,76:611,77:889,78:722,79:722,80:556,81:722,82:667,83:556,84:611,85:722,86:722,87:944,88:722,89:722,90:611,91:333,92:278,93:333,94:469,95:500,96:333,97:444,98:500,99:444,100:500,101:444,102:333,103:500,104:500,105:278,106:278,107:500,108:278,109:778,110:500,111:500,112:500,113:500,114:333,115:389,116:278,117:500,118:500,119:722,120:500,121:500,122:444,123:480,124:200,125:480,126:541},jL={32:250,33:333,34:555,35:500,36:500,37:1e3,38:833,39:278,40:333,41:333,42:500,43:570,44:250,45:333,46:250,47:278,48:500,49:500,50:500,51:500,52:500,53:500,54:500,55:500,56:500,57:500,58:333,59:333,60:570,61:570,62:570,63:500,64:930,65:722,66:667,67:722,68:722,69:667,70:611,71:778,72:778,73:389,74:500,75:778,76:667,77:944,78:722,79:778,80:611,81:778,82:722,83:556,84:667,85:722,86:722,87:1e3,88:722,89:722,90:667,91:333,92:278,93:333,94:581,95:500,96:333,97:500,98:556,99:444,100:556,101:444,102:333,103:500,104:556,105:278,106:333,107:556,108:278,109:833,110:556,111:500,112:556,113:556,114:444,115:389,116:333,117:556,118:500,119:722,120:500,121:500,122:444,123:394,124:220,125:394,126:520},ML=600,NL={Helvetica:{ascent:718,descent:-207,capHeight:718,avgWidth:513,widths:OL},"Helvetica-Bold":{ascent:718,descent:-207,capHeight:718,avgWidth:535,widths:kL},"Helvetica-Oblique":{ascent:718,descent:-207,capHeight:718,avgWidth:513,widths:OL},"Helvetica-BoldOblique":{ascent:718,descent:-207,capHeight:718,avgWidth:535,widths:kL},"Times-Roman":{ascent:683,descent:-217,capHeight:662,avgWidth:478,widths:AL},"Times-Bold":{ascent:683,descent:-217,capHeight:676,avgWidth:505,widths:jL},"Times-Italic":{ascent:683,descent:-217,capHeight:653,avgWidth:478,widths:AL},"Times-BoldItalic":{ascent:683,descent:-217,capHeight:669,avgWidth:505,widths:jL},Courier:{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:ML},"Courier-Bold":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:ML},"Courier-Oblique":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:ML},"Courier-BoldOblique":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:ML}}})),FL=t((()=>{PL()}));function R(e,t,n,r){return{width:z,draw:i=>{e&&(i.lineWidth(e),i.M(0,250),i.L(300,250),i.stroke()),t&&(i.lineWidth(t),i.M(300,250),i.L(600,250),i.stroke()),n&&(i.lineWidth(n),i.M(300,250),i.L(300,500),i.stroke()),r&&(i.lineWidth(r),i.M(300,250),i.L(300,0),i.stroke())}}}function IL(e,t,n,r){return{width:z,draw:i=>{i.lineWidth(30),e&&(i.M(0,220),i.L(300,220),i.stroke(),i.M(0,280),i.L(300,280),i.stroke()),t&&(i.M(300,220),i.L(600,220),i.stroke(),i.M(300,280),i.L(600,280),i.stroke()),n&&(i.M(270,250),i.L(270,500),i.stroke(),i.M(330,250),i.L(330,500),i.stroke()),r&&(i.M(270,250),i.L(270,0),i.stroke(),i.M(330,250),i.L(330,0),i.stroke())}}}function LL(e,t,n,r){return{width:z,draw:i=>{i.rect(e,t,n,r),i.fill()}}}function RL(e){let t=[200,400],n=[400,300,200,100],r=[[0,0],[0,1],[0,2],[1,0],[1,1],[1,2],[0,3],[1,3]];return{width:z,draw:i=>{for(let a=0;a<8;a++)if(e&1<<a){let[e,o]=r[a];i.circle(t[e],n[o],40),i.fill()}}}}function zL(e,t){return{width:z,draw:n=>{n.lineWidth(35),n.M(450,500),n.L(150,0),n.stroke();let r=e.length,i=t.length;for(let e=0;e<r;e++)n.circle(150+e*80,420,30),n.fill();for(let e=0;e<i;e++)n.circle(350+e*80,80,30),n.fill()}}}function BL(e,t,n,r){e.M(t,n),e.L(t,r),e.stroke()}function VL(e,t,n,r){e.M(t-80,r),e.L(t,n),e.L(t+80,r),e.stroke()}function HL(e,t,n,r){e.M(t-70,n),e.L(t+70,r),e.stroke(),e.M(t+70,n),e.L(t-70,r),e.stroke()}function UL(e,t,n,r){e.M(t,r),e.L(n,r),e.stroke()}function WL(e){return{width:z,draw:t=>{if(t.lineWidth(45),e<=3){let n=e,r=300-(n-1)*120/2;for(let e=0;e<n;e++)BL(t,r+e*120,0,500)}else e===4?(BL(t,200,0,500),VL(t,380,0,500)):e===5?VL(t,300,0,500):e===6?(VL(t,200,0,500),BL(t,400,0,500)):e===7?(VL(t,160,0,500),BL(t,340,0,500),BL(t,460,0,500)):e===8?(t.lineWidth(40),VL(t,140,0,500),BL(t,300,0,500),BL(t,400,0,500),BL(t,500,0,500)):e===9?(BL(t,200,0,500),HL(t,400,0,500)):e===10?HL(t,300,0,500):e===11?(HL(t,220,0,500),BL(t,430,0,500)):e===12?(HL(t,180,0,500),BL(t,370,0,500),BL(t,480,0,500)):e===50?(BL(t,200,0,500),UL(t,200,450,0)):e===100?(UL(t,180,450,500),BL(t,180,0,500),UL(t,180,450,0)):e===500?(BL(t,180,0,500),t.M(180,500),t.C(480,500,480,0,180,0),t.stroke()):e===1e3&&(BL(t,100,0,500),t.M(100,500),t.L(230,200),t.L(300,500),t.stroke(),t.M(300,500),t.L(370,200),t.L(500,500),t.stroke(),BL(t,500,0,500))}}}function GL(e){return{width:z,draw:t=>{if(t.lineWidth(40),e<=3){let n=e,r=300-(n-1)*100/2;for(let e=0;e<n;e++)BL(t,r+e*100,0,350)}else e===4?(BL(t,200,0,350),VL(t,380,0,350)):e===5?VL(t,300,0,350):e===6?(VL(t,200,0,350),BL(t,400,0,350)):e===7?(VL(t,160,0,350),BL(t,340,0,350),BL(t,450,0,350)):e===8?(t.lineWidth(35),VL(t,130,0,350),BL(t,280,0,350),BL(t,380,0,350),BL(t,480,0,350)):e===9?(BL(t,200,0,350),HL(t,400,0,350)):e===10?HL(t,300,0,350):e===11?(HL(t,220,0,350),BL(t,430,0,350)):e===12?(HL(t,180,0,350),BL(t,370,0,350),BL(t,480,0,350)):e===50?(BL(t,200,0,350),UL(t,200,450,0)):e===100?(UL(t,180,450,350),BL(t,180,0,350),UL(t,180,450,0)):e===500?(BL(t,180,0,350),t.M(180,350),t.C(480,350,480,0,180,0),t.stroke()):e===1e3&&(BL(t,100,0,350),t.M(100,350),t.L(230,140),t.L(300,350),t.stroke(),t.M(300,350),t.L(370,140),t.L(500,350),t.stroke(),BL(t,500,0,350))}}}function KL(e,t,n,r,i){xR[t](e,n,r,i)}function qL(e,t,n,r,i){SR[t](e,n,r,i)}function JL(e){e.M(160,480),e.C(100,480,60,380,60,250),e.C(60,120,100,20,160,20),e.stroke(),e.M(440,20),e.C(500,20,540,120,540,250),e.C(540,380,500,480,440,480),e.stroke()}var z,B,V,YL,XL,ZL,QL,$L,eR,tR,nR,rR,iR,aR,oR,sR,cR,lR,uR,dR,fR,pR,mR,hR,gR,_R,vR,yR,bR,xR,SR,CR=t((()=>{z=600,B=40,V=80,YL={9472:R(B,B,0,0),9473:R(V,V,0,0),9474:R(0,0,B,B),9475:R(0,0,V,V),9476:R(B,B,0,0),9477:R(V,V,0,0),9478:R(0,0,B,B),9479:R(0,0,V,V),9480:R(B,B,0,0),9481:R(V,V,0,0),9482:R(0,0,B,B),9483:R(0,0,V,V),9484:R(0,B,0,B),9485:R(0,V,0,B),9486:R(0,B,0,V),9487:R(0,V,0,V),9488:R(B,0,0,B),9489:R(V,0,0,B),9490:R(B,0,0,V),9491:R(V,0,0,V),9492:R(0,B,B,0),9493:R(0,V,B,0),9494:R(0,B,V,0),9495:R(0,V,V,0),9496:R(B,0,B,0),9497:R(V,0,B,0),9498:R(B,0,V,0),9499:R(V,0,V,0),9500:R(0,B,B,B),9501:R(0,V,B,B),9502:R(0,B,V,B),9503:R(0,B,B,V),9504:R(0,B,V,V),9505:R(0,V,V,B),9506:R(0,V,B,V),9507:R(0,V,V,V),9508:R(B,0,B,B),9509:R(V,0,B,B),9510:R(B,0,V,B),9511:R(B,0,B,V),9512:R(B,0,V,V),9513:R(V,0,V,B),9514:R(V,0,B,V),9515:R(V,0,V,V),9516:R(B,B,0,B),9517:R(V,B,0,B),9518:R(B,V,0,B),9519:R(V,V,0,B),9520:R(B,B,0,V),9521:R(V,B,0,V),9522:R(B,V,0,V),9523:R(V,V,0,V),9524:R(B,B,B,0),9525:R(V,B,B,0),9526:R(B,V,B,0),9527:R(V,V,B,0),9528:R(B,B,V,0),9529:R(V,B,V,0),9530:R(B,V,V,0),9531:R(V,V,V,0),9532:R(B,B,B,B),9533:R(V,B,B,B),9534:R(B,V,B,B),9535:R(V,V,B,B),9536:R(B,B,V,B),9537:R(B,B,B,V),9538:R(B,B,V,V),9539:R(V,B,V,B),9540:R(B,V,V,B),9541:R(V,B,B,V),9542:R(B,V,B,V),9543:R(V,V,V,B),9544:R(V,V,B,V),9545:R(V,B,V,V),9546:R(B,V,V,V),9547:R(V,V,V,V),9552:IL(!0,!0,!1,!1),9553:IL(!1,!1,!0,!0),9554:IL(!1,!0,!1,!0),9555:IL(!1,!0,!1,!0),9556:IL(!1,!0,!1,!0),9557:IL(!0,!1,!1,!0),9558:IL(!0,!1,!1,!0),9559:IL(!0,!1,!1,!0),9560:IL(!1,!0,!0,!1),9561:IL(!1,!0,!0,!1),9562:IL(!1,!0,!0,!1),9563:IL(!0,!1,!0,!1),9564:IL(!0,!1,!0,!1),9565:IL(!0,!1,!0,!1),9566:IL(!1,!0,!0,!0),9567:IL(!1,!0,!0,!0),9568:IL(!1,!0,!0,!0),9569:IL(!0,!1,!0,!0),9570:IL(!0,!1,!0,!0),9571:IL(!0,!1,!0,!0),9572:IL(!0,!0,!1,!0),9573:IL(!0,!0,!1,!0),9574:IL(!0,!0,!1,!0),9575:IL(!0,!0,!0,!1),9576:IL(!0,!0,!0,!1),9577:IL(!0,!0,!0,!1),9578:IL(!0,!0,!0,!0),9579:IL(!0,!0,!0,!0),9580:IL(!0,!0,!0,!0),9581:R(0,B,0,B),9582:R(B,0,0,B),9583:R(B,0,B,0),9584:R(0,B,B,0),9585:{width:z,draw:e=>{e.lineWidth(B),e.M(0,0),e.L(600,500),e.stroke()}},9586:{width:z,draw:e=>{e.lineWidth(B),e.M(0,500),e.L(600,0),e.stroke()}},9587:{width:z,draw:e=>{e.lineWidth(B),e.M(0,0),e.L(600,500),e.stroke(),e.M(0,500),e.L(600,0),e.stroke()}},9588:R(B,0,0,0),9589:R(0,0,B,0),9590:R(0,B,0,0),9591:R(0,0,0,B),9592:R(V,0,0,0),9593:R(0,0,V,0),9594:R(0,V,0,0),9595:R(0,0,0,V),9596:R(B,V,0,0),9597:R(0,0,B,V),9598:R(V,B,0,0),9599:R(0,0,V,B)},XL={9600:LL(0,250,600,250),9601:LL(0,0,600,62),9602:LL(0,0,600,125),9603:LL(0,0,600,187),9604:LL(0,0,600,250),9605:LL(0,0,600,312),9606:LL(0,0,600,375),9607:LL(0,0,600,437),9608:LL(0,0,600,500),9609:LL(0,0,525,500),9610:LL(0,0,450,500),9611:LL(0,0,375,500),9612:LL(0,0,300,500),9613:LL(0,0,225,500),9614:LL(0,0,150,500),9615:LL(0,0,75,500),9616:LL(300,0,300,500),9617:{width:z,draw:e=>{e.lineWidth(10);for(let t=10;t<500;t+=40)for(let n=10;n<600;n+=40)e.rect(n,t,5,5);e.fill()}},9618:{width:z,draw:e=>{e.lineWidth(10);for(let t=5;t<500;t+=20)for(let n=5;n<600;n+=20)e.rect(n,t,8,8);e.fill()}},9619:{width:z,draw:e=>{e.lineWidth(10);for(let t=3;t<500;t+=12)for(let n=3;n<600;n+=12)e.rect(n,t,10,10);e.fill()}},9620:LL(0,437,600,63),9621:LL(525,0,75,500),9622:LL(0,0,300,250),9623:LL(300,0,300,250),9624:LL(0,250,300,250),9625:{width:z,draw:e=>{e.rect(0,0,300,250),e.fill(),e.rect(0,250,300,250),e.fill(),e.rect(300,0,300,250),e.fill()}},9626:{width:z,draw:e=>{e.rect(0,250,300,250),e.fill(),e.rect(300,0,300,250),e.fill()}},9627:{width:z,draw:e=>{e.rect(0,0,300,250),e.fill(),e.rect(0,250,600,250),e.fill()}},9628:{width:z,draw:e=>{e.rect(300,0,300,250),e.fill(),e.rect(0,250,600,250),e.fill()}},9629:LL(300,250,300,250),9630:{width:z,draw:e=>{e.rect(300,250,300,250),e.fill(),e.rect(0,0,300,250),e.fill()}},9631:{width:z,draw:e=>{e.rect(300,0,300,500),e.fill(),e.rect(0,0,300,250),e.fill()}}},ZL={};for(let e=0;e<256;e++)ZL[10240+e]=RL(e);QL={8451:{width:700,draw:e=>{e.lineWidth(40),e.circle(120,450,60),e.stroke(),e.M(550,450),e.C(350,450,250,350,250,250),e.C(250,150,350,50,550,50),e.stroke()}},8453:{width:z,draw:e=>{e.lineWidth(40),e.M(150,350),e.C(80,350,50,400,50,430),e.C(50,470,100,500,150,500),e.C(200,500,250,470,250,430),e.C(250,400,200,350,150,350),e.stroke(),e.M(450,0),e.L(150,500),e.stroke(),e.M(450,150),e.C(380,150,350,100,350,70),e.C(350,30,400,0,450,0),e.C(500,0,550,30,550,70),e.C(550,100,500,150,450,150),e.stroke()}},8457:{width:700,draw:e=>{e.lineWidth(40),e.circle(120,450,60),e.stroke(),e.M(280,0),e.L(280,500),e.stroke(),e.M(280,500),e.L(550,500),e.stroke(),e.M(280,280),e.L(480,280),e.stroke()}},8467:{width:z,draw:e=>{e.lineWidth(45),e.M(350,500),e.C(200,500,200,400,250,200),e.C(280,100,200,0,150,50),e.stroke()}},8470:{width:700,draw:e=>{e.lineWidth(45),e.M(80,0),e.L(80,500),e.stroke(),e.M(80,500),e.L(350,0),e.stroke(),e.M(350,0),e.L(350,500),e.stroke(),e.lineWidth(35),e.circle(530,70,70),e.stroke(),e.M(380,170),e.L(680,170),e.stroke()}},8480:{width:z,draw:e=>{e.lineWidth(30),e.M(150,400),e.C(150,500,350,500,350,450),e.C(350,400,150,350,150,300),e.C(150,250,350,250,350,350),e.stroke(),e.M(400,500),e.L(400,250),e.L(475,400),e.L(550,250),e.L(550,500),e.stroke()}},8482:{width:z,draw:e=>{e.lineWidth(30),e.M(50,500),e.L(200,500),e.stroke(),e.M(125,500),e.L(125,300),e.stroke(),e.M(250,500),e.L(250,300),e.L(350,450),e.L(450,300),e.L(450,500),e.stroke()}},8486:{width:z,draw:e=>{e.lineWidth(45),e.M(100,50),e.L(200,50),e.L(200,150),e.C(120,200,80,300,80,350),e.C(80,450,180,520,300,520),e.C(420,520,520,450,520,350),e.C(520,300,480,200,400,150),e.L(400,50),e.L(500,50),e.stroke()}},8494:{width:z,draw:e=>{e.lineWidth(40),e.M(480,220),e.L(150,220),e.C(150,400,250,500,350,500),e.C(450,500,530,400,500,300),e.C(470,100,400,0,250,0),e.C(150,0,100,80,100,150),e.stroke()}},8505:{width:z,draw:e=>{e.circle(300,450,40),e.fill(),e.lineWidth(55),e.M(300,350),e.L(300,50),e.stroke()}},8543:{width:z,draw:e=>{e.lineWidth(40),e.M(150,500),e.L(200,500),e.L(200,350),e.stroke(),e.M(450,500),e.L(150,0),e.stroke()}}},$L={8528:zL(`1`,`7`),8529:zL(`1`,`9`),8530:zL(`1`,`10`),8531:zL(`1`,`3`),8532:zL(`2`,`3`),8533:zL(`1`,`5`),8534:zL(`2`,`5`),8535:zL(`3`,`5`),8536:zL(`4`,`5`),8537:zL(`1`,`6`),8538:zL(`5`,`6`),8539:zL(`1`,`8`),8540:zL(`3`,`8`),8541:zL(`5`,`8`),8542:zL(`7`,`8`),8544:{width:z,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke()}},8545:{width:z,draw:e=>{e.lineWidth(50),e.M(200,0),e.L(200,500),e.stroke(),e.M(400,0),e.L(400,500),e.stroke()}},8546:{width:z,draw:e=>{e.lineWidth(45),e.M(120,0),e.L(120,500),e.stroke(),e.M(300,0),e.L(300,500),e.stroke(),e.M(480,0),e.L(480,500),e.stroke()}},8547:{width:z,draw:e=>{e.lineWidth(50),e.M(180,500),e.L(300,0),e.L(420,500),e.stroke()}},8548:{width:z,draw:e=>{e.lineWidth(50),e.M(150,500),e.L(300,0),e.L(450,500),e.stroke()}}},eR={};for(let e=0;e<20;e++)eR[9312+e]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}};for(let e=0;e<12;e++)eR[9332+e]={width:z,draw:e=>{e.lineWidth(30),e.M(180,480),e.C(120,480,80,380,80,250),e.C(80,120,120,20,180,20),e.stroke(),e.M(420,20),e.C(480,20,520,120,520,250),e.C(520,380,480,480,420,480),e.stroke()}};for(let e=0;e<26;e++)eR[9398+e]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}};for(let e=0;e<26;e++)eR[9424+e]={width:z,draw:e=>{e.lineWidth(30),e.circle(300,250,200),e.stroke()}};eR[9450]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}},tR={8208:{width:z,draw:e=>{e.lineWidth(50),e.M(150,250),e.L(450,250),e.stroke()}},8209:{width:z,draw:e=>{e.lineWidth(50),e.M(150,250),e.L(450,250),e.stroke()}},8210:{width:z,draw:e=>{e.lineWidth(50),e.M(100,250),e.L(500,250),e.stroke()}},8211:{width:z,draw:e=>{e.lineWidth(50),e.M(80,250),e.L(520,250),e.stroke()}},8212:{width:700,draw:e=>{e.lineWidth(50),e.M(0,250),e.L(700,250),e.stroke()}},8214:{width:z,draw:e=>{e.lineWidth(40),e.M(230,0),e.L(230,500),e.stroke(),e.M(370,0),e.L(370,500),e.stroke()}},8215:{width:z,draw:e=>{e.lineWidth(30),e.M(50,30),e.L(550,30),e.stroke(),e.M(50,80),e.L(550,80),e.stroke()}},8216:{width:300,draw:e=>{e.circle(150,450,40),e.fill(),e.lineWidth(30),e.M(150,410),e.C(120,370,100,350,80,340),e.stroke()}},8217:{width:300,draw:e=>{e.circle(150,450,40),e.fill(),e.lineWidth(30),e.M(150,410),e.C(180,370,200,350,220,340),e.stroke()}},8223:{width:400,draw:e=>{e.circle(120,450,35),e.fill(),e.circle(280,450,35),e.fill()}},8224:{width:z,draw:e=>{e.lineWidth(50),e.M(300,500),e.L(300,0),e.stroke(),e.M(150,380),e.L(450,380),e.stroke()}},8225:{width:z,draw:e=>{e.lineWidth(45),e.M(300,500),e.L(300,0),e.stroke(),e.M(150,380),e.L(450,380),e.stroke(),e.M(150,180),e.L(450,180),e.stroke()}},8229:{width:z,draw:e=>{e.circle(200,50,35),e.fill(),e.circle(400,50,35),e.fill()}},8231:{width:300,draw:e=>{e.circle(150,250,35),e.fill()}},8240:{width:700,draw:e=>{e.lineWidth(35),e.M(550,0),e.L(150,500),e.stroke(),e.circle(180,400,70),e.stroke(),e.circle(400,100,60),e.stroke(),e.circle(560,100,60),e.stroke()}},8241:{width:700,draw:e=>{e.lineWidth(35),e.M(550,0),e.L(150,500),e.stroke(),e.circle(180,400,60),e.stroke(),e.circle(350,100,50),e.stroke(),e.circle(470,100,50),e.stroke(),e.circle(590,100,50),e.stroke()}},8242:{width:300,draw:e=>{e.lineWidth(40),e.M(180,500),e.L(140,350),e.stroke()}},8243:{width:400,draw:e=>{e.lineWidth(40),e.M(150,500),e.L(110,350),e.stroke(),e.M(300,500),e.L(260,350),e.stroke()}},8249:{width:350,draw:e=>{e.lineWidth(40),e.M(250,400),e.L(100,250),e.L(250,100),e.stroke()}},8250:{width:350,draw:e=>{e.lineWidth(40),e.M(100,400),e.L(250,250),e.L(100,100),e.stroke()}},8252:{width:z,draw:e=>{e.lineWidth(50),e.M(200,500),e.L(200,130),e.stroke(),e.circle(200,40,30),e.fill(),e.M(400,500),e.L(400,130),e.stroke(),e.circle(400,40,30),e.fill()}},8260:{width:z,draw:e=>{e.lineWidth(40),e.M(450,500),e.L(150,0),e.stroke()}},8271:{width:300,draw:e=>{e.circle(150,350,35),e.fill(),e.circle(150,130,35),e.fill(),e.lineWidth(30),e.M(150,95),e.C(180,50,200,20,220,0),e.stroke()}}},nR={8602:{width:z,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,120),e.Z(),e.fill(),e.lineWidth(50),e.M(350,120),e.L(250,380),e.stroke()}},8603:{width:z,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,380),e.L(350,120),e.Z(),e.fill(),e.lineWidth(50),e.M(250,120),e.L(350,380),e.stroke()}},8605:{width:z,draw:e=>{e.lineWidth(45),e.M(100,250),e.C(200,350,300,150,400,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,330),e.L(400,170),e.Z(),e.fill()}},8606:{width:z,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(220,370),e.L(220,130),e.Z(),e.fill(),e.M(200,250),e.L(320,370),e.L(320,130),e.Z(),e.fill()}},8607:{width:z,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,470),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.fill(),e.M(300,370),e.L(180,250),e.L(420,250),e.Z(),e.fill()}},8608:{width:z,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(380,370),e.L(380,130),e.Z(),e.fill(),e.M(400,250),e.L(280,370),e.L(280,130),e.Z(),e.fill()}},8609:{width:z,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,30),e.stroke(),e.M(300,30),e.L(180,150),e.L(420,150),e.Z(),e.fill(),e.M(300,130),e.L(180,250),e.L(420,250),e.Z(),e.fill()}},8612:{width:z,draw:e=>{e.lineWidth(45),e.M(480,250),e.L(130,250),e.stroke(),e.M(130,250),e.L(260,370),e.L(260,130),e.Z(),e.fill(),e.M(500,100),e.L(500,400),e.stroke()}},8613:{width:z,draw:e=>{e.lineWidth(45),e.M(300,30),e.L(300,420),e.stroke(),e.M(300,420),e.L(180,290),e.L(420,290),e.Z(),e.fill(),e.M(150,30),e.L(450,30),e.stroke()}},8614:{width:z,draw:e=>{e.lineWidth(45),e.M(120,250),e.L(470,250),e.stroke(),e.M(470,250),e.L(340,370),e.L(340,130),e.Z(),e.fill(),e.M(100,100),e.L(100,400),e.stroke()}},8615:{width:z,draw:e=>{e.lineWidth(45),e.M(300,470),e.L(300,80),e.stroke(),e.M(300,80),e.L(180,210),e.L(420,210),e.Z(),e.fill(),e.M(150,470),e.L(450,470),e.stroke()}},8624:{width:z,draw:e=>{e.lineWidth(45),e.M(400,50),e.L(400,350),e.L(150,350),e.stroke(),e.M(400,450),e.L(280,330),e.L(520,330),e.Z(),e.fill()}},8625:{width:z,draw:e=>{e.lineWidth(45),e.M(200,50),e.L(200,350),e.L(450,350),e.stroke(),e.M(200,450),e.L(80,330),e.L(320,330),e.Z(),e.fill()}},8626:{width:z,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,150),e.L(150,150),e.stroke(),e.M(400,50),e.L(280,170),e.L(520,170),e.Z(),e.fill()}},8627:{width:z,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,150),e.L(450,150),e.stroke(),e.M(200,50),e.L(80,170),e.L(320,170),e.Z(),e.fill()}},8629:{width:z,draw:e=>{e.lineWidth(45),e.M(450,450),e.L(450,150),e.L(150,150),e.stroke(),e.M(150,150),e.L(280,260),e.L(280,40),e.Z(),e.fill()}},8634:{width:z,draw:e=>{e.lineWidth(45),e.M(160,350),e.C(160,450,300,500,400,450),e.C(500,400,520,250,450,150),e.C(380,50,200,50,160,150),e.stroke(),e.M(160,350),e.L(80,250),e.L(250,270),e.Z(),e.fill()}},8635:{width:z,draw:e=>{e.lineWidth(45),e.M(440,350),e.C(440,450,300,500,200,450),e.C(100,400,80,250,150,150),e.C(220,50,400,50,440,150),e.stroke(),e.M(440,350),e.L(520,250),e.L(350,270),e.Z(),e.fill()}}},rR={8723:{width:z,draw:e=>{e.lineWidth(50),e.M(120,350),e.L(480,350),e.stroke(),e.M(300,200),e.L(300,0),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},8729:{width:z,draw:e=>{e.circle(300,250,50),e.fill()}},8733:{width:z,draw:e=>{e.lineWidth(45),e.M(80,250),e.C(80,450,250,450,300,250),e.C(350,50,520,50,520,250),e.stroke()}},8735:{width:z,draw:e=>{e.lineWidth(50),e.M(120,450),e.L(120,50),e.L(480,50),e.stroke()}},8739:{width:z,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke()}},8740:{width:z,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke(),e.M(200,100),e.L(400,400),e.stroke()}},8741:{width:z,draw:e=>{e.lineWidth(45),e.M(220,0),e.L(220,500),e.stroke(),e.M(380,0),e.L(380,500),e.stroke()}},8742:{width:z,draw:e=>{e.lineWidth(45),e.M(220,0),e.L(220,500),e.stroke(),e.M(380,0),e.L(380,500),e.stroke(),e.M(150,100),e.L(450,400),e.stroke()}},8728:{width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,70),e.stroke()}},8756:{width:z,draw:e=>{e.circle(300,400,40),e.fill(),e.circle(180,150,40),e.fill(),e.circle(420,150,40),e.fill()}},8757:{width:z,draw:e=>{e.circle(300,100,40),e.fill(),e.circle(180,350,40),e.fill(),e.circle(420,350,40),e.fill()}},8758:{width:300,draw:e=>{e.circle(150,350,40),e.fill(),e.circle(150,150,40),e.fill()}},8759:{width:z,draw:e=>{e.circle(200,350,35),e.fill(),e.circle(200,150,35),e.fill(),e.circle(400,350,35),e.fill(),e.circle(400,150,35),e.fill()}},8780:{width:z,draw:e=>{e.lineWidth(40),e.M(120,400),e.C(200,460,400,460,480,400),e.stroke(),e.M(120,280),e.C(200,340,400,340,480,280),e.stroke(),e.M(120,160),e.L(480,160),e.stroke()}},8773:{width:z,draw:e=>{e.lineWidth(45),e.M(120,350),e.C(200,430,400,430,480,350),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},8796:{width:z,draw:e=>{e.lineWidth(40),e.M(120,200),e.L(480,200),e.stroke(),e.M(120,120),e.L(480,120),e.stroke(),e.M(300,450),e.L(200,280),e.L(400,280),e.Z(),e.stroke()}},8810:{width:z,draw:e=>{e.lineWidth(45),e.M(350,420),e.L(100,250),e.L(350,80),e.stroke(),e.M(500,420),e.L(250,250),e.L(500,80),e.stroke()}},8811:{width:z,draw:e=>{e.lineWidth(45),e.M(100,420),e.L(350,250),e.L(100,80),e.stroke(),e.M(250,420),e.L(500,250),e.L(250,80),e.stroke()}},8836:{width:z,draw:e=>{e.lineWidth(45),e.M(470,450),e.C(200,450,130,350,130,250),e.C(130,150,200,50,470,50),e.stroke(),e.M(200,50),e.L(400,450),e.stroke()}},8837:{width:z,draw:e=>{e.lineWidth(45),e.M(130,450),e.C(400,450,470,350,470,250),e.C(470,150,400,50,130,50),e.stroke(),e.M(200,50),e.L(400,450),e.stroke()}},8838:{width:z,draw:e=>{e.lineWidth(45),e.M(470,420),e.C(200,420,130,340,130,250),e.C(130,160,200,80,470,80),e.stroke(),e.M(130,30),e.L(470,30),e.stroke()}},8839:{width:z,draw:e=>{e.lineWidth(45),e.M(130,420),e.C(400,420,470,340,470,250),e.C(470,160,400,80,130,80),e.stroke(),e.M(130,30),e.L(470,30),e.stroke()}},8869:{width:z,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(480,50),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},8895:{width:z,draw:e=>{e.lineWidth(45),e.M(120,50),e.L(480,50),e.L(120,450),e.Z(),e.stroke()}}},iR={9729:{width:z,draw:e=>{e.lineWidth(40),e.M(120,200),e.C(120,350,200,400,280,400),e.C(300,470,400,470,430,400),e.C(500,400,520,300,480,200),e.L(120,200),e.stroke()}},9742:{width:z,draw:e=>{e.lineWidth(45),e.M(120,100),e.C(120,50,480,50,480,100),e.stroke(),e.M(150,100),e.C(150,350,200,450,250,450),e.stroke(),e.M(450,100),e.C(450,350,400,450,350,450),e.stroke()}},9774:{width:z,draw:e=>{e.lineWidth(45),e.circle(300,250,220),e.stroke(),e.M(300,470),e.L(300,30),e.stroke(),e.M(300,250),e.L(145,95),e.stroke(),e.M(300,250),e.L(455,95),e.stroke()}},9775:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,350,20),e.fill(),e.circle(300,150,20),e.fill()}},9785:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(210,330,25),e.fill(),e.circle(390,330,25),e.fill(),e.M(200,130),e.C(250,80,350,80,400,130),e.stroke()}},9786:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(210,330,25),e.fill(),e.circle(390,330,25),e.fill(),e.M(190,170),e.C(220,110,380,110,410,170),e.stroke()}},9787:{width:z,draw:e=>{e.circle(300,250,230),e.fill()}},9872:{width:z,draw:e=>{e.lineWidth(40),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(480,400),e.L(150,300),e.stroke()}},9873:{width:z,draw:e=>{e.lineWidth(40),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(480,400),e.L(150,300),e.Z(),e.fill()}},9888:{width:z,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(80,50),e.L(520,50),e.Z(),e.stroke(),e.lineWidth(40),e.M(300,350),e.L(300,180),e.stroke(),e.circle(300,110,25),e.fill()}},9889:{width:z,draw:e=>{e.M(350,500),e.L(200,280),e.L(310,280),e.L(250,0),e.L(420,220),e.L(300,220),e.L(350,500),e.Z(),e.fill()}},9898:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke()}},9899:{width:z,draw:e=>{e.circle(300,250,180),e.fill()}}},aR={9985:{width:z,draw:e=>{e.lineWidth(35),e.circle(180,150,80),e.stroke(),e.circle(180,350,80),e.stroke(),e.M(250,200),e.L(500,400),e.stroke(),e.M(250,300),e.L(500,100),e.stroke()}},9986:{width:z,draw:e=>{e.lineWidth(40),e.circle(170,130,80),e.stroke(),e.circle(170,370,80),e.stroke(),e.M(240,180),e.L(520,420),e.stroke(),e.M(240,320),e.L(520,80),e.stroke()}},9990:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(200,150),e.C(200,100,400,100,400,150),e.stroke(),e.M(220,150),e.C(220,350,250,400,280,400),e.stroke(),e.M(380,150),e.C(380,350,350,400,320,400),e.stroke()}},9991:{width:z,draw:e=>{e.lineWidth(35),e.rect(80,50,440,400),e.stroke(),e.circle(300,250,120),e.stroke()}},9992:{width:z,draw:e=>{e.M(300,480),e.L(260,300),e.L(80,250),e.L(260,210),e.L(260,80),e.L(220,30),e.L(380,30),e.L(340,80),e.L(340,210),e.L(520,250),e.L(340,300),e.Z(),e.fill()}},9993:{width:z,draw:e=>{e.lineWidth(35),e.rect(80,80,440,340),e.stroke(),e.M(80,420),e.L(300,220),e.L(520,420),e.stroke()}},9998:{width:z,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(480,430),e.stroke(),e.M(100,50),e.L(130,130),e.stroke()}},9999:{width:z,draw:e=>{e.M(130,30),e.L(100,80),e.L(420,470),e.L(480,470),e.L(480,430),e.L(160,30),e.Z(),e.fill()}},1e4:{width:z,draw:e=>{e.lineWidth(40),e.M(100,450),e.L(480,70),e.stroke(),e.M(100,450),e.L(130,370),e.stroke()}},10013:{width:z,draw:e=>{e.lineWidth(55),e.M(300,0),e.L(300,500),e.stroke(),e.M(140,370),e.L(460,370),e.stroke()}},10014:{width:z,draw:e=>{e.lineWidth(65),e.M(300,0),e.L(300,500),e.stroke(),e.M(130,370),e.L(470,370),e.stroke()}},10022:{width:z,draw:e=>{e.M(300,480),e.L(230,280),e.L(80,250),e.L(230,220),e.L(300,20),e.L(370,220),e.L(520,250),e.L(370,280),e.Z(),e.fill()}},10023:{width:z,draw:e=>{e.lineWidth(35),e.M(300,480),e.L(230,280),e.L(80,250),e.L(230,220),e.L(300,20),e.L(370,220),e.L(520,250),e.L(370,280),e.Z(),e.stroke()}},10032:{width:z,draw:e=>{e.lineWidth(40);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+220*Math.cos(n),260+220*Math.sin(n)):e.L(300+220*Math.cos(n),260+220*Math.sin(n)),e.L(300+100*Math.cos(r),260+100*Math.sin(r))}e.Z(),e.stroke()}},10132:{width:z,draw:e=>{e.M(500,250),e.L(300,430),e.L(300,310),e.L(80,310),e.L(80,190),e.L(300,190),e.L(300,70),e.Z(),e.fill()}},10140:{width:z,draw:e=>{e.M(520,250),e.L(320,430),e.L(320,310),e.C(200,310,80,290,80,250),e.C(80,210,200,190,320,190),e.L(320,70),e.Z(),e.fill()}},10145:{width:z,draw:e=>{e.M(520,250),e.L(350,420),e.L(350,300),e.L(80,300),e.L(80,200),e.L(350,200),e.L(350,80),e.Z(),e.fill()}}},oR={8976:{width:z,draw:e=>{e.lineWidth(45),e.M(480,350),e.L(120,350),e.L(120,150),e.stroke()}},8981:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.circle(300,250,50),e.fill()}},8986:{width:z,draw:e=>{e.lineWidth(35),e.rect(150,50,300,400),e.stroke(),e.M(300,450),e.L(300,500),e.stroke(),e.M(300,50),e.L(300,0),e.stroke(),e.lineWidth(30),e.M(300,250),e.L(300,350),e.stroke(),e.M(300,250),e.L(380,250),e.stroke()}},9e3:{width:z,draw:e=>{e.lineWidth(35),e.rect(50,80,500,340),e.stroke(),e.lineWidth(20);for(let t=100;t<=500;t+=80)e.M(t,340),e.L(t+40,340),e.L(t+40,300),e.L(t,300),e.Z(),e.stroke();e.M(150,200),e.L(450,200),e.L(450,160),e.L(150,160),e.Z(),e.stroke()}},9115:{width:300,draw:e=>{e.lineWidth(40),e.M(250,500),e.C(100,400,100,300,150,250),e.stroke()}},9116:{width:300,draw:e=>{e.lineWidth(40),e.M(150,500),e.L(150,0),e.stroke()}},9117:{width:300,draw:e=>{e.lineWidth(40),e.M(150,250),e.C(100,200,100,100,250,0),e.stroke()}},9167:{width:z,draw:e=>{e.M(120,150),e.L(480,150),e.L(300,420),e.Z(),e.fill(),e.rect(120,50,360,60),e.fill()}},9193:{width:z,draw:e=>{e.M(80,430),e.L(300,250),e.L(80,70),e.Z(),e.fill(),e.M(300,430),e.L(520,250),e.L(300,70),e.Z(),e.fill()}},9194:{width:z,draw:e=>{e.M(520,430),e.L(300,250),e.L(520,70),e.Z(),e.fill(),e.M(300,430),e.L(80,250),e.L(300,70),e.Z(),e.fill()}},9195:{width:z,draw:e=>{e.M(100,230),e.L(300,450),e.L(500,230),e.Z(),e.fill(),e.M(100,30),e.L(300,250),e.L(500,30),e.Z(),e.fill()}},9196:{width:z,draw:e=>{e.M(100,270),e.L(300,50),e.L(500,270),e.Z(),e.fill(),e.M(100,470),e.L(300,250),e.L(500,470),e.Z(),e.fill()}},9197:{width:z,draw:e=>{e.M(60,430),e.L(250,250),e.L(60,70),e.Z(),e.fill(),e.M(250,430),e.L(440,250),e.L(250,70),e.Z(),e.fill(),e.rect(460,70,50,360),e.fill()}},9198:{width:z,draw:e=>{e.M(540,430),e.L(350,250),e.L(540,70),e.Z(),e.fill(),e.M(350,430),e.L(160,250),e.L(350,70),e.Z(),e.fill(),e.rect(90,70,50,360),e.fill()}},9199:{width:z,draw:e=>{e.M(80,430),e.L(330,250),e.L(80,70),e.Z(),e.fill(),e.rect(370,70,50,360),e.fill(),e.rect(460,70,50,360),e.fill()}},9201:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,230,200),e.stroke(),e.M(260,470),e.L(340,470),e.stroke(),e.M(300,430),e.L(300,480),e.stroke(),e.M(300,230),e.L(300,350),e.stroke(),e.M(300,230),e.L(400,280),e.stroke()}},9202:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,230,200),e.stroke(),e.M(300,230),e.L(300,370),e.stroke(),e.M(300,230),e.L(420,230),e.stroke(),e.M(430,400),e.L(470,440),e.stroke()}},9208:{width:z,draw:e=>{e.rect(140,60,100,380),e.fill(),e.rect(360,60,100,380),e.fill()}},9209:{width:z,draw:e=>{e.rect(100,50,400,400),e.fill()}},9210:{width:z,draw:e=>{e.circle(300,250,200),e.fill()}}},sR={8352:{width:z,draw:e=>{e.lineWidth(45),e.M(480,430),e.C(350,480,180,430,150,300),e.C(120,170,200,50,400,30),e.stroke(),e.M(80,320),e.L(380,320),e.stroke(),e.M(80,220),e.L(380,220),e.stroke()}},8353:{width:z,draw:e=>{e.lineWidth(45),e.M(450,430),e.C(350,480,180,430,150,250),e.C(150,70,350,20,450,70),e.stroke(),e.M(300,520),e.L(300,-20),e.stroke()}},8354:{width:z,draw:e=>{e.lineWidth(45),e.M(450,430),e.C(350,480,180,430,150,250),e.C(150,70,350,20,450,70),e.stroke(),e.M(380,0),e.L(250,500),e.stroke()}},8355:{width:z,draw:e=>{e.lineWidth(50),e.M(200,0),e.L(200,500),e.stroke(),e.M(200,500),e.L(480,500),e.stroke(),e.M(200,300),e.L(400,300),e.stroke(),e.M(120,200),e.L(350,200),e.stroke()}},8356:{width:z,draw:e=>{e.lineWidth(50),e.M(200,0),e.C(200,0,400,0,400,0),e.stroke(),e.M(200,0),e.L(200,500),e.C(200,500,150,520,120,500),e.stroke(),e.M(120,300),e.L(380,300),e.stroke(),e.M(120,180),e.L(380,180),e.stroke()}},8357:{width:z,draw:e=>{e.lineWidth(40),e.M(100,0),e.L(100,350),e.L(200,200),e.L(300,350),e.L(300,0),e.stroke(),e.M(300,500),e.L(300,-30),e.stroke()}},8358:{width:z,draw:e=>{e.lineWidth(45),e.M(130,0),e.L(130,500),e.stroke(),e.M(130,500),e.L(470,0),e.stroke(),e.M(470,0),e.L(470,500),e.stroke(),e.M(80,350),e.L(520,350),e.stroke(),e.M(80,200),e.L(520,200),e.stroke()}},8359:{width:z,draw:e=>{e.lineWidth(45),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(350,500),e.C(450,500,480,400,350,350),e.L(150,350),e.stroke(),e.M(350,0),e.L(500,0),e.stroke()}},8360:{width:z,draw:e=>{e.lineWidth(45),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(350,500),e.C(450,500,480,400,350,350),e.L(150,350),e.stroke(),e.M(280,350),e.L(450,0),e.stroke()}},8361:{width:z,draw:e=>{e.lineWidth(40),e.M(60,500),e.L(180,0),e.L(300,350),e.L(420,0),e.L(540,500),e.stroke(),e.M(80,250),e.L(520,250),e.stroke(),e.M(80,150),e.L(520,150),e.stroke()}},8362:{width:z,draw:e=>{e.lineWidth(45),e.M(150,500),e.L(150,100),e.C(150,30,250,0,300,50),e.stroke(),e.M(450,0),e.L(450,400),e.C(450,470,350,500,300,450),e.stroke()}},8363:{width:z,draw:e=>{e.lineWidth(45),e.M(250,50),e.L(250,500),e.stroke(),e.M(250,400),e.L(350,400),e.C(470,400,470,200,350,200),e.L(250,200),e.stroke(),e.M(150,50),e.L(400,50),e.stroke(),e.M(170,120),e.L(420,120),e.stroke()}},8366:{width:z,draw:e=>{e.lineWidth(50),e.M(120,500),e.L(480,500),e.stroke(),e.M(300,500),e.L(300,0),e.stroke(),e.M(120,350),e.L(480,350),e.stroke(),e.M(120,200),e.L(480,200),e.stroke()}},8369:{width:z,draw:e=>{e.lineWidth(45),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(350,500),e.C(480,500,480,300,350,300),e.L(150,300),e.stroke(),e.M(100,420),e.L(450,420),e.stroke()}},8370:{width:z,draw:e=>{e.lineWidth(45),e.M(450,400),e.C(400,480,200,480,150,350),e.C(100,200,200,50,400,50),e.L(400,250),e.L(250,250),e.stroke(),e.M(300,520),e.L(300,0),e.stroke()}},8371:{width:z,draw:e=>{e.lineWidth(45),e.M(100,0),e.L(300,500),e.L(500,0),e.stroke(),e.M(160,180),e.L(440,180),e.stroke(),e.M(180,280),e.L(420,280),e.stroke()}},8372:{width:z,draw:e=>{e.lineWidth(45),e.M(420,450),e.C(380,500,200,500,180,400),e.C(160,300,400,250,420,150),e.C(440,50,250,0,180,50),e.stroke(),e.M(100,330),e.L(480,330),e.stroke(),e.M(100,220),e.L(480,220),e.stroke()}},8374:{width:z,draw:e=>{e.lineWidth(45),e.M(250,0),e.L(250,480),e.C(250,500,200,520,180,500),e.stroke(),e.M(250,350),e.L(450,350),e.stroke()}},8376:{width:z,draw:e=>{e.lineWidth(50),e.M(100,500),e.L(500,500),e.stroke(),e.M(100,400),e.L(500,400),e.stroke(),e.M(300,400),e.L(300,0),e.stroke()}}},cR={10216:{width:350,draw:e=>{e.lineWidth(40),e.M(280,500),e.L(100,250),e.L(280,0),e.stroke()}},10217:{width:350,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(280,250),e.L(100,0),e.stroke()}},10218:{width:450,draw:e=>{e.lineWidth(35),e.M(250,500),e.L(70,250),e.L(250,0),e.stroke(),e.M(380,500),e.L(200,250),e.L(380,0),e.stroke()}},10219:{width:450,draw:e=>{e.lineWidth(35),e.M(70,500),e.L(250,250),e.L(70,0),e.stroke(),e.M(200,500),e.L(380,250),e.L(200,0),e.stroke()}}},lR={10229:{width:700,draw:e=>{e.lineWidth(45),e.M(650,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,120),e.Z(),e.fill()}},10230:{width:700,draw:e=>{e.lineWidth(45),e.M(50,250),e.L(600,250),e.stroke(),e.M(600,250),e.L(450,380),e.L(450,120),e.Z(),e.fill()}},10231:{width:700,draw:e=>{e.lineWidth(40),e.M(150,250),e.L(550,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill(),e.M(600,250),e.L(470,370),e.L(470,130),e.Z(),e.fill()}},10232:{width:700,draw:e=>{e.M(80,250),e.L(250,430),e.L(250,310),e.L(620,310),e.L(620,190),e.L(250,190),e.L(250,70),e.Z(),e.fill()}},10233:{width:700,draw:e=>{e.M(620,250),e.L(450,430),e.L(450,310),e.L(80,310),e.L(80,190),e.L(450,190),e.L(450,70),e.Z(),e.fill()}},10234:{width:700,draw:e=>{e.M(80,250),e.L(200,400),e.L(200,300),e.L(500,300),e.L(500,400),e.L(620,250),e.L(500,100),e.L(500,200),e.L(200,200),e.L(200,100),e.Z(),e.fill()}}},uR=100,dR=50,fR=400,pR=400,mR=500,hR=450,gR={9639:{width:z,draw:e=>{e.lineWidth(35),e.rect(uR,dR,fR,pR),e.stroke(),e.lineWidth(20);for(let t=-3;t<=3;t++){let n=t*100;e.M(uR+n,hR),e.L(mR+n,dR),e.stroke()}}},9641:{width:z,draw:e=>{e.lineWidth(35),e.rect(uR,dR,fR,pR),e.stroke(),e.lineWidth(15);for(let t=-3;t<=3;t++){let n=t*100;e.M(uR+n,hR),e.L(mR+n,dR),e.stroke(),e.M(uR+n,dR),e.L(mR+n,hR),e.stroke()}}},9649:{width:z,draw:e=>{e.lineWidth(40),e.M(180,50),e.L(500,50),e.L(420,450),e.L(100,450),e.Z(),e.stroke()}},9657:{width:z,draw:e=>{e.lineWidth(35),e.M(200,380),e.L(430,250),e.L(200,120),e.Z(),e.stroke()}},9658:{width:z,draw:e=>{e.M(150,420),e.L(480,250),e.L(150,80),e.Z(),e.fill()}},9659:{width:z,draw:e=>{e.lineWidth(40),e.M(150,420),e.L(480,250),e.L(150,80),e.Z(),e.stroke()}},9663:{width:z,draw:e=>{e.lineWidth(35),e.M(180,380),e.L(420,380),e.L(300,120),e.Z(),e.stroke()}},9667:{width:z,draw:e=>{e.lineWidth(35),e.M(400,380),e.L(170,250),e.L(400,120),e.Z(),e.stroke()}},9668:{width:z,draw:e=>{e.M(450,420),e.L(120,250),e.L(450,80),e.Z(),e.fill()}},9669:{width:z,draw:e=>{e.lineWidth(40),e.M(450,420),e.L(120,250),e.L(450,80),e.Z(),e.stroke()}},9698:{width:z,draw:e=>{e.M(mR,hR),e.L(mR,dR),e.L(uR,dR),e.Z(),e.fill()}},9699:{width:z,draw:e=>{e.M(uR,hR),e.L(uR,dR),e.L(mR,dR),e.Z(),e.fill()}},9700:{width:z,draw:e=>{e.M(uR,dR),e.L(uR,hR),e.L(mR,hR),e.Z(),e.fill()}},9701:{width:z,draw:e=>{e.M(mR,dR),e.L(mR,hR),e.L(uR,hR),e.Z(),e.fill()}},9703:{width:z,draw:e=>{e.lineWidth(35),e.rect(uR,dR,fR,pR),e.stroke(),e.rect(uR,dR,fR/2,pR),e.fill()}},9704:{width:z,draw:e=>{e.lineWidth(35),e.rect(uR,dR,fR,pR),e.stroke(),e.rect(300,dR,fR/2,pR),e.fill()}},9705:{width:z,draw:e=>{e.lineWidth(35),e.rect(uR,dR,fR,pR),e.stroke(),e.M(uR,dR),e.L(uR,hR),e.L(mR,hR),e.Z(),e.fill()}},9706:{width:z,draw:e=>{e.lineWidth(35),e.rect(uR,dR,fR,pR),e.stroke(),e.M(mR,hR),e.L(mR,dR),e.L(uR,dR),e.Z(),e.fill()}},9707:{width:z,draw:e=>{e.lineWidth(35),e.rect(uR,dR,fR,pR),e.stroke(),e.M(300,dR),e.L(300,hR),e.stroke()}},9708:{width:z,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.circle(300,190,30),e.fill()}},9709:{width:z,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.M(300,470),e.L(100,50),e.L(300,50),e.Z(),e.fill()}},9710:{width:z,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.M(300,470),e.L(500,50),e.L(300,50),e.Z(),e.fill()}},9712:{width:z,draw:e=>{e.lineWidth(35),e.rect(uR,dR,fR,pR),e.stroke(),e.rect(uR,250,fR/2,pR/2),e.fill()}},9713:{width:z,draw:e=>{e.lineWidth(35),e.rect(uR,dR,fR,pR),e.stroke(),e.rect(uR,dR,fR/2,pR/2),e.fill()}},9714:{width:z,draw:e=>{e.lineWidth(35),e.rect(uR,dR,fR,pR),e.stroke(),e.rect(300,dR,fR/2,pR/2),e.fill()}},9715:{width:z,draw:e=>{e.lineWidth(35),e.rect(uR,dR,fR,pR),e.stroke(),e.rect(300,250,fR/2,pR/2),e.fill()}},9716:{width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,470),e.C(179,470,80,371,80,250),e.L(300,250),e.Z(),e.fill()}},9717:{width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(80,250),e.C(80,129,179,30,300,30),e.L(300,250),e.Z(),e.fill()}},9718:{width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,30),e.C(421,30,520,129,520,250),e.L(300,250),e.Z(),e.fill()}},9719:{width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(520,250),e.C(520,371,421,470,300,470),e.L(300,250),e.Z(),e.fill()}},9720:{width:z,draw:e=>{e.lineWidth(35),e.M(uR,hR),e.L(mR,hR),e.L(uR,dR),e.Z(),e.stroke()}},9721:{width:z,draw:e=>{e.lineWidth(35),e.M(uR,hR),e.L(mR,hR),e.L(mR,dR),e.Z(),e.stroke()}},9722:{width:z,draw:e=>{e.lineWidth(35),e.M(uR,hR),e.L(uR,dR),e.L(mR,dR),e.Z(),e.stroke()}},9723:{width:z,draw:e=>{e.lineWidth(35),e.rect(130,80,340,340),e.stroke()}},9724:{width:z,draw:e=>{e.rect(130,80,340,340),e.fill()}},9725:{width:z,draw:e=>{e.lineWidth(30),e.rect(170,120,260,260),e.stroke()}},9726:{width:z,draw:e=>{e.rect(170,120,260,260),e.fill()}},9727:{width:z,draw:e=>{e.lineWidth(35),e.M(mR,hR),e.L(mR,dR),e.L(uR,dR),e.Z(),e.stroke()}}},_R=[[8549,6],[8550,7],[8551,8],[8552,9],[8553,10],[8554,11],[8555,12],[8556,50],[8557,100],[8558,500],[8559,1e3]],vR=[[8560,1],[8561,2],[8562,3],[8563,4],[8564,5],[8565,6],[8566,7],[8567,8],[8568,9],[8569,10],[8570,11],[8571,12],[8572,50],[8573,100],[8574,500],[8575,1e3]],yR={};for(let[e,t]of _R)yR[e]=WL(t);for(let[e,t]of vR)yR[e]=GL(t);yR[8576]={width:z,draw:e=>{e.lineWidth(45),e.circle(300,250,220),e.stroke(),e.M(300,470),e.L(300,30),e.stroke()}},yR[8577]={width:z,draw:e=>{e.lineWidth(45),e.M(180,500),e.L(180,0),e.stroke(),e.M(180,500),e.C(520,500,520,0,180,0),e.stroke(),e.M(300,500),e.L(300,0),e.stroke()}},yR[8578]={width:z,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,250,150),e.stroke()}},yR[8579]={width:z,draw:e=>{e.lineWidth(45),e.M(150,450),e.C(450,450,450,50,150,50),e.stroke()}},bR={},xR=[(e,t,n,r)=>{e.ellipse(t,n,r*.28,r*.42),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.42),e.L(t,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.25),e.C(t-r*.25,n+r*.45,t+r*.25,n+r*.45,t+r*.25,n+r*.15),e.L(t-r*.25,n-r*.42),e.L(t+r*.25,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t-r*.22,n+r*.42),e.L(t+r*.22,n+r*.42),e.L(t+r*.22,n),e.L(t-r*.1,n),e.stroke(),e.M(t+r*.22,n),e.L(t+r*.22,n-r*.42),e.L(t-r*.22,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.42),e.L(t-r*.25,n-r*.05),e.L(t+r*.25,n-r*.05),e.stroke(),e.M(t+r*.2,n+r*.42),e.L(t+r*.2,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t+r*.22,n+r*.42),e.L(t-r*.22,n+r*.42),e.L(t-r*.22,n+r*.05),e.L(t+r*.22,n+r*.05),e.C(t+r*.35,n+r*.05,t+r*.35,n-r*.42,t-r*.22,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.35),e.C(t-r*.1,n+r*.45,t-r*.3,n+r*.15,t-r*.25,n-r*.1),e.C(t-r*.2,n-r*.45,t+r*.25,n-r*.45,t+r*.25,n-r*.1),e.C(t+r*.25,n+r*.1,t-r*.25,n+r*.1,t-r*.25,n-r*.1),e.stroke()},(e,t,n,r)=>{e.M(t-r*.22,n+r*.42),e.L(t+r*.22,n+r*.42),e.L(t-r*.05,n-r*.42),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n+r*.22,r*.2,r*.2),e.stroke(),e.ellipse(t,n-r*.22,r*.22,r*.22),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.35),e.C(t+r*.1,n-r*.45,t+r*.3,n-r*.15,t+r*.25,n+r*.1),e.C(t+r*.2,n+r*.45,t-r*.25,n+r*.45,t-r*.25,n+r*.1),e.C(t-r*.25,n-r*.1,t+r*.25,n-r*.1,t+r*.25,n+r*.1),e.stroke()}],SR=[(e,t,n,r)=>{e.M(t+r*.25,n-r*.3),e.C(t+r*.1,n-r*.45,t-r*.25,n-r*.35,t-r*.25,n-r*.1),e.C(t-r*.25,n+r*.1,t+r*.25,n+r*.1,t+r*.25,n-r*.1),e.L(t+r*.25,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.45),e.L(t-r*.2,n-r*.45),e.stroke(),e.M(t-r*.2,n-r*.05),e.C(t-r*.2,n-r*.45,t+r*.25,n-r*.45,t+r*.25,n-r*.15),e.C(t+r*.25,n+r*.1,t-r*.2,n+r*.1,t-r*.2,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n-r*.25),e.C(t+r*.05,n-r*.45,t-r*.25,n-r*.35,t-r*.25,n-r*.1),e.C(t-r*.25,n+r*.15,t+r*.05,n+r*.15,t+r*.2,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.45),e.L(t+r*.2,n-r*.45),e.stroke(),e.M(t+r*.2,n-r*.05),e.C(t+r*.2,n-r*.45,t-r*.25,n-r*.45,t-r*.25,n-r*.15),e.C(t-r*.25,n+r*.1,t+r*.2,n+r*.1,t+r*.2,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.08),e.L(t+r*.25,n-r*.08),e.C(t+r*.25,n+r*.15,t-r*.25,n+r*.15,t-r*.25,n-r*.08),e.C(t-r*.25,n-r*.4,t+r*.25,n-r*.4,t+r*.25,n-r*.25),e.stroke()},(e,t,n,r)=>{e.M(t+r*.1,n+r*.4),e.C(t+r*.1,n+r*.5,t-r*.1,n+r*.5,t-r*.1,n+r*.4),e.L(t-r*.1,n-r*.4),e.stroke(),e.M(t-r*.2,n+r*.15),e.L(t+r*.15,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t+r*.22,n+r*.1),e.C(t+r*.22,n+r*.4,t-r*.22,n+r*.4,t-r*.22,n+r*.1),e.C(t-r*.22,n-r*.2,t+r*.22,n-r*.2,t+r*.22,n+r*.1),e.L(t+r*.22,n-r*.3),e.C(t+r*.22,n-r*.5,t-r*.22,n-r*.5,t-r*.22,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.45),e.L(t-r*.2,n-r*.45),e.stroke(),e.M(t-r*.2,n+r*.05),e.C(t-r*.2,n+r*.25,t+r*.2,n+r*.25,t+r*.2,n+r*.05),e.L(t+r*.2,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.15),e.L(t,n-r*.35),e.stroke(),e.circle(t,n+r*.3,r*.06),e.fill()},(e,t,n,r)=>{e.M(t+r*.05,n+r*.15),e.L(t+r*.05,n-r*.35),e.C(t+r*.05,n-r*.5,t-r*.15,n-r*.5,t-r*.15,n-r*.35),e.stroke(),e.circle(t+r*.05,n+r*.3,r*.06),e.fill()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.45),e.L(t-r*.2,n-r*.45),e.stroke(),e.M(t+r*.2,n+r*.15),e.L(t-r*.2,n-r*.1),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.45),e.L(t,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n-r*.35),e.L(t-r*.3,n+r*.15),e.C(t-r*.3,n+r*.25,t-r*.05,n+r*.25,t-r*.05,n+r*.15),e.L(t-r*.05,n-r*.35),e.stroke(),e.M(t-r*.05,n+r*.15),e.C(t-r*.05,n+r*.25,t+r*.2,n+r*.25,t+r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.35),e.L(t-r*.2,n+r*.15),e.C(t-r*.2,n+r*.25,t+r*.2,n+r*.25,t+r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n-r*.1,r*.22,r*.28),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.45),e.L(t-r*.2,n+r*.15),e.stroke(),e.M(t-r*.2,n+r*.05),e.C(t-r*.2,n+r*.35,t+r*.25,n+r*.35,t+r*.25,n+r*.05),e.C(t+r*.25,n-r*.2,t-r*.2,n-r*.2,t-r*.2,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n-r*.45),e.L(t+r*.2,n+r*.15),e.stroke(),e.M(t+r*.2,n+r*.05),e.C(t+r*.2,n+r*.35,t-r*.25,n+r*.35,t-r*.25,n+r*.05),e.C(t-r*.25,n-r*.2,t+r*.2,n-r*.2,t+r*.2,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.15,n-r*.35),e.L(t-r*.15,n+r*.15),e.stroke(),e.M(t-r*.15,n+r*.05),e.C(t-r*.15,n+r*.25,t+r*.15,n+r*.25,t+r*.2,n+r*.1),e.stroke()},(e,t,n,r)=>{e.M(t+r*.18,n+r*.08),e.C(t+r*.18,n+r*.22,t-r*.18,n+r*.22,t-r*.18,n+r*.05),e.C(t-r*.18,n-r*.1,t+r*.18,n-r*.1,t+r*.18,n-r*.22),e.C(t+r*.18,n-r*.38,t-r*.18,n-r*.38,t-r*.18,n-r*.25),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.35),e.L(t,n-r*.35),e.C(t,n-r*.5,t+r*.15,n-r*.5,t+r*.15,n-r*.4),e.stroke(),e.M(t-r*.15,n+r*.15),e.L(t+r*.15,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t-r*.2,n-r*.15),e.C(t-r*.2,n-r*.4,t+r*.2,n-r*.4,t+r*.2,n-r*.15),e.L(t+r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.22,n+r*.15),e.L(t,n-r*.35),e.L(t+r*.22,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.15),e.L(t-r*.15,n-r*.35),e.L(t,n),e.L(t+r*.15,n-r*.35),e.L(t+r*.3,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke(),e.M(t+r*.2,n+r*.15),e.L(t-r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t,n-r*.1),e.L(t+r*.2,n+r*.15),e.stroke(),e.M(t,n-r*.1),e.L(t-r*.1,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t+r*.2,n+r*.15),e.L(t-r*.2,n-r*.35),e.L(t+r*.2,n-r*.35),e.stroke()}];for(let e=0;e<20;e++){let t=e+1;bR[9332+e]={width:z,draw:e=>{if(e.lineWidth(25),JL(e),e.lineWidth(24),t<=9)KL(e,t,300,250,200);else{let n=Math.floor(t/10),r=t%10;KL(e,n,240,250,150),KL(e,r,380,250,150)}}}}for(let e=0;e<20;e++){let t=e+1;bR[9352+e]={width:z,draw:e=>{if(e.lineWidth(26),t<=9)KL(e,t,260,250,210);else{let n=Math.floor(t/10),r=t%10;KL(e,n,200,250,160),KL(e,r,340,250,160)}e.circle(t<=9?400:460,80,28),e.fill()}}}for(let e=0;e<26;e++)bR[9372+e]={width:z,draw:t=>{t.lineWidth(25),JL(t),t.lineWidth(24),qL(t,e,300,250,200)}};for(let e=0;e<=20;e++){let t=e+11;bR[9451+e]={width:z,draw:n=>{if(n.lineWidth(55),n.circle(300,250,215),n.stroke(),n.lineWidth(24),e<=9){let e=Math.floor(t/10),r=t%10;KL(n,e,230,250,150),KL(n,r,370,250,150)}else if(e<=19){let t=e-9;t<=9?KL(n,t,300,250,170):(KL(n,1,230,250,140),KL(n,0,370,250,140))}else KL(n,0,300,250,170)}}}}));function wR(e,t,n,r,i,a,o=35){return{width:H,draw:s=>{a||s.lineWidth(o);for(let a=0;a<e;a++){let o=(a*360/e-90)*(Math.PI/180),c=(a*360/e+180/e-90)*(Math.PI/180);a===0?s.M(t+r*Math.cos(o),n+r*Math.sin(o)):s.L(t+r*Math.cos(o),n+r*Math.sin(o)),s.L(t+i*Math.cos(c),n+i*Math.sin(c))}s.Z(),a?s.fill():s.stroke()}}}var H,TR,ER,DR,OR,kR,AR,jR,MR=t((()=>{H=600,TR={8636:{width:H,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,250),e.Z(),e.fill()}},8637:{width:H,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,120),e.L(250,250),e.Z(),e.fill()}},8638:{width:H,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(430,300),e.L(300,300),e.Z(),e.fill()}},8639:{width:H,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(170,300),e.L(300,300),e.Z(),e.fill()}},8640:{width:H,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,380),e.L(350,250),e.Z(),e.fill()}},8641:{width:H,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,120),e.L(350,250),e.Z(),e.fill()}},8642:{width:H,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(430,200),e.L(300,200),e.Z(),e.fill()}},8643:{width:H,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(170,200),e.L(300,200),e.Z(),e.fill()}},8644:{width:H,draw:e=>{e.lineWidth(35),e.M(100,330),e.L(500,330),e.stroke(),e.M(500,330),e.L(380,400),e.L(380,260),e.Z(),e.fill(),e.M(500,170),e.L(100,170),e.stroke(),e.M(100,170),e.L(220,240),e.L(220,100),e.Z(),e.fill()}},8645:{width:H,draw:e=>{e.lineWidth(35),e.M(200,80),e.L(200,420),e.stroke(),e.M(200,420),e.L(130,310),e.L(270,310),e.Z(),e.fill(),e.M(400,420),e.L(400,80),e.stroke(),e.M(400,80),e.L(330,190),e.L(470,190),e.Z(),e.fill()}},8646:{width:H,draw:e=>{e.lineWidth(35),e.M(500,330),e.L(100,330),e.stroke(),e.M(100,330),e.L(220,400),e.L(220,260),e.Z(),e.fill(),e.M(100,170),e.L(500,170),e.stroke(),e.M(500,170),e.L(380,240),e.L(380,100),e.Z(),e.fill()}},8647:{width:H,draw:e=>{e.lineWidth(35),e.M(500,330),e.L(130,330),e.stroke(),e.M(130,330),e.L(250,400),e.L(250,260),e.Z(),e.fill(),e.M(500,170),e.L(130,170),e.stroke(),e.M(130,170),e.L(250,240),e.L(250,100),e.Z(),e.fill()}},8648:{width:H,draw:e=>{e.lineWidth(35),e.M(200,80),e.L(200,420),e.stroke(),e.M(200,420),e.L(130,310),e.L(270,310),e.Z(),e.fill(),e.M(400,80),e.L(400,420),e.stroke(),e.M(400,420),e.L(330,310),e.L(470,310),e.Z(),e.fill()}},8649:{width:H,draw:e=>{e.lineWidth(35),e.M(100,330),e.L(470,330),e.stroke(),e.M(470,330),e.L(350,400),e.L(350,260),e.Z(),e.fill(),e.M(100,170),e.L(470,170),e.stroke(),e.M(470,170),e.L(350,240),e.L(350,100),e.Z(),e.fill()}},8650:{width:H,draw:e=>{e.lineWidth(35),e.M(200,420),e.L(200,80),e.stroke(),e.M(200,80),e.L(130,190),e.L(270,190),e.Z(),e.fill(),e.M(400,420),e.L(400,80),e.stroke(),e.M(400,80),e.L(330,190),e.L(470,190),e.Z(),e.fill()}},8651:{width:H,draw:e=>{e.lineWidth(35),e.M(500,330),e.L(100,330),e.stroke(),e.M(100,330),e.L(220,410),e.L(220,330),e.Z(),e.fill(),e.M(100,170),e.L(500,170),e.stroke(),e.M(500,170),e.L(380,90),e.L(380,170),e.Z(),e.fill()}},8652:{width:H,draw:e=>{e.lineWidth(35),e.M(100,330),e.L(500,330),e.stroke(),e.M(500,330),e.L(380,410),e.L(380,330),e.Z(),e.fill(),e.M(500,170),e.L(100,170),e.stroke(),e.M(100,170),e.L(220,90),e.L(220,170),e.Z(),e.fill()}},8653:{width:H,draw:e=>{e.M(100,250),e.L(280,420),e.L(280,300),e.L(500,300),e.L(500,200),e.L(280,200),e.L(280,80),e.Z(),e.fill(),e.lineWidth(50),e.M(350,120),e.L(250,380),e.stroke()}},8654:{width:H,draw:e=>{e.M(80,250),e.L(220,400),e.L(220,300),e.L(380,300),e.L(380,400),e.L(520,250),e.L(380,100),e.L(380,200),e.L(220,200),e.L(220,100),e.Z(),e.fill(),e.lineWidth(50),e.M(350,120),e.L(250,380),e.stroke()}},8655:{width:H,draw:e=>{e.M(500,250),e.L(320,420),e.L(320,300),e.L(100,300),e.L(100,200),e.L(320,200),e.L(320,80),e.Z(),e.fill(),e.lineWidth(50),e.M(250,120),e.L(350,380),e.stroke()}},8661:{width:H,draw:e=>{e.M(300,480),e.L(460,340),e.L(360,340),e.L(360,160),e.L(460,160),e.L(300,20),e.L(140,160),e.L(240,160),e.L(240,340),e.L(140,340),e.Z(),e.fill()}},8662:{width:H,draw:e=>{e.M(100,460),e.L(100,260),e.L(200,310),e.L(380,130),e.L(430,180),e.L(250,360),e.L(300,460),e.Z(),e.fill()}},8663:{width:H,draw:e=>{e.M(500,460),e.L(300,460),e.L(350,360),e.L(170,180),e.L(220,130),e.L(400,310),e.L(500,260),e.Z(),e.fill()}},8664:{width:H,draw:e=>{e.M(500,40),e.L(500,240),e.L(400,190),e.L(220,370),e.L(170,320),e.L(350,140),e.L(300,40),e.Z(),e.fill()}},8665:{width:H,draw:e=>{e.M(100,40),e.L(300,40),e.L(250,140),e.L(430,320),e.L(380,370),e.L(200,190),e.L(100,240),e.Z(),e.fill()}},8666:{width:H,draw:e=>{e.lineWidth(30),e.M(500,310),e.L(200,310),e.stroke(),e.M(500,250),e.L(200,250),e.stroke(),e.M(500,190),e.L(200,190),e.stroke(),e.M(100,250),e.L(250,400),e.L(250,100),e.Z(),e.fill()}},8667:{width:H,draw:e=>{e.lineWidth(30),e.M(100,310),e.L(400,310),e.stroke(),e.M(100,250),e.L(400,250),e.stroke(),e.M(100,190),e.L(400,190),e.stroke(),e.M(500,250),e.L(350,400),e.L(350,100),e.Z(),e.fill()}},8668:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.C(440,330,380,170,300,250),e.C(220,330,180,170,130,250),e.stroke(),e.M(130,250),e.L(230,350),e.L(230,150),e.Z(),e.fill()}},8669:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.C(160,330,220,170,300,250),e.C(380,330,420,170,470,250),e.stroke(),e.M(470,250),e.L(370,350),e.L(370,150),e.Z(),e.fill()}},8670:{width:H,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(180,320),e.L(420,320),e.Z(),e.fill(),e.lineWidth(40),e.M(200,200),e.L(400,200),e.stroke(),e.M(200,130),e.L(400,130),e.stroke()}},8671:{width:H,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(180,180),e.L(420,180),e.Z(),e.fill(),e.lineWidth(40),e.M(200,300),e.L(400,300),e.stroke(),e.M(200,370),e.L(400,370),e.stroke()}},8672:{width:H,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(430,250),e.stroke(),e.M(370,250),e.L(300,250),e.stroke(),e.M(240,250),e.L(170,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill()}},8673:{width:H,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,120),e.stroke(),e.M(300,180),e.L(300,250),e.stroke(),e.M(300,310),e.L(300,380),e.stroke(),e.M(300,450),e.L(180,320),e.L(420,320),e.Z(),e.fill()}},8674:{width:H,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(170,250),e.stroke(),e.M(230,250),e.L(300,250),e.stroke(),e.M(360,250),e.L(430,250),e.stroke(),e.M(500,250),e.L(370,370),e.L(370,130),e.Z(),e.fill()}},8675:{width:H,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,380),e.stroke(),e.M(300,320),e.L(300,250),e.stroke(),e.M(300,190),e.L(300,120),e.stroke(),e.M(300,50),e.L(180,180),e.L(420,180),e.Z(),e.fill()}},8676:{width:H,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(150,250),e.stroke(),e.M(150,250),e.L(280,370),e.L(280,130),e.Z(),e.fill(),e.M(100,100),e.L(100,400),e.stroke()}},8677:{width:H,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(450,250),e.stroke(),e.M(450,250),e.L(320,370),e.L(320,130),e.Z(),e.fill(),e.M(500,100),e.L(500,400),e.stroke()}},8678:{width:H,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(250,430),e.L(250,320),e.L(520,320),e.L(520,180),e.L(250,180),e.L(250,70),e.Z(),e.stroke()}},8679:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(500,270),e.L(390,270),e.L(390,30),e.L(210,30),e.L(210,270),e.L(100,270),e.Z(),e.stroke()}},8680:{width:H,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(350,430),e.L(350,320),e.L(80,320),e.L(80,180),e.L(350,180),e.L(350,70),e.Z(),e.stroke()}},8681:{width:H,draw:e=>{e.lineWidth(40),e.M(300,30),e.L(100,230),e.L(210,230),e.L(210,470),e.L(390,470),e.L(390,230),e.L(500,230),e.Z(),e.stroke()}},8682:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(490,280),e.L(380,280),e.L(380,100),e.L(220,100),e.L(220,280),e.L(110,280),e.Z(),e.stroke(),e.M(130,40),e.L(470,40),e.stroke()}},8693:{width:H,draw:e=>{e.lineWidth(35),e.M(200,420),e.L(200,80),e.stroke(),e.M(200,80),e.L(130,190),e.L(270,190),e.Z(),e.fill(),e.M(400,80),e.L(400,420),e.stroke(),e.M(400,420),e.L(330,310),e.L(470,310),e.Z(),e.fill()}}},ER={10024:{width:H,draw:e=>{e.M(300,420),e.L(270,300),e.L(180,280),e.L(270,260),e.L(300,140),e.L(330,260),e.L(420,280),e.L(330,300),e.Z(),e.fill(),e.M(440,460),e.L(430,420),e.L(400,410),e.L(430,400),e.L(440,360),e.L(450,400),e.L(480,410),e.L(450,420),e.Z(),e.fill(),e.M(160,170),e.L(150,130),e.L(120,120),e.L(150,110),e.L(160,70),e.L(170,110),e.L(200,120),e.L(170,130),e.Z(),e.fill()}},10025:wR(5,300,260,220,90,!1,40),10026:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,260,230),e.stroke();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+180*Math.cos(n),260+180*Math.sin(n)):e.L(300+180*Math.cos(n),260+180*Math.sin(n)),e.L(300+70*Math.cos(r),260+70*Math.sin(r))}e.Z(),e.stroke()}},10027:wR(5,300,260,230,110,!0),10028:{width:H,draw:e=>{e.lineWidth(40);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+220*Math.cos(n),260+220*Math.sin(n)):e.L(300+220*Math.cos(n),260+220*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke(),e.circle(300,260,60),e.fill()}},10029:wR(5,300,260,230,100,!0),10030:wR(5,300,260,240,105,!0),10031:wR(5,300,260,220,80,!1,30),10033:{width:H,draw:e=>{e.lineWidth(60);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},10034:{width:H,draw:e=>{e.lineWidth(40);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300+60*Math.cos(n),250+60*Math.sin(n)),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},10035:{width:H,draw:e=>{e.lineWidth(45);for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300,250),e.L(300+190*Math.cos(n),250+190*Math.sin(n))}e.stroke()}},10036:wR(8,300,260,220,100,!0),10037:wR(8,300,260,220,80,!1,30),10038:wR(6,300,260,220,110,!0),10039:wR(8,300,260,220,90,!0),10040:wR(8,300,260,230,80,!0),10041:wR(12,300,260,220,130,!0),10042:wR(16,300,260,220,140,!0),10043:wR(6,300,260,220,80,!0),10044:wR(6,300,260,220,80,!1,35),10045:wR(6,300,260,230,70,!0),10046:wR(6,300,260,210,120,!1,40),10047:wR(6,300,260,210,120,!0),10048:wR(6,300,260,210,120,!1,35),10049:wR(8,300,260,210,130,!1,40),10050:{width:H,draw:e=>{e.lineWidth(30),e.circle(300,260,230),e.stroke();for(let t=0;t<8;t++){let n=(t*45-90)*Math.PI/180,r=(t*45+22.5-90)*Math.PI/180;t===0?e.M(300+190*Math.cos(n),260+190*Math.sin(n)):e.L(300+190*Math.cos(n),260+190*Math.sin(n)),e.L(300+100*Math.cos(r),260+100*Math.sin(r))}e.Z(),e.stroke()}},10051:wR(8,300,260,220,70,!0),10052:{width:H,draw:e=>{e.lineWidth(35);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke(),e.lineWidth(25);for(let t=0;t<360;t+=60){let n=t*Math.PI/180,r=300+130*Math.cos(n),i=250+130*Math.sin(n),a=n+Math.PI/2;e.M(r+40*Math.cos(a),i+40*Math.sin(a)),e.L(r-40*Math.cos(a),i-40*Math.sin(a))}e.stroke()}},10053:{width:H,draw:e=>{e.lineWidth(40);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+190*Math.cos(n),250+190*Math.sin(n))}e.stroke()}},10054:{width:H,draw:e=>{e.lineWidth(45);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},10055:{width:H,draw:e=>{e.M(300,480),e.L(260,290),e.L(100,250),e.L(260,210),e.L(300,20),e.L(340,210),e.L(500,250),e.L(340,290),e.Z(),e.fill()}},10056:{width:H,draw:e=>{e.M(300,490),e.L(250,300),e.L(80,250),e.L(250,200),e.L(300,10),e.L(350,200),e.L(520,250),e.L(350,300),e.Z(),e.fill()}},10057:{width:H,draw:e=>{e.lineWidth(55);for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300,250),e.L(300+180*Math.cos(n),250+180*Math.sin(n))}e.stroke()}},10058:wR(8,300,260,220,60,!0),10059:wR(8,300,260,230,50,!0),10060:{width:H,draw:e=>{e.lineWidth(80),e.M(120,70),e.L(480,430),e.stroke(),e.M(120,430),e.L(480,70),e.stroke()}},10061:{width:H,draw:e=>{e.lineWidth(50),e.circle(300,260,190),e.stroke(),e.lineWidth(25),e.M(420,100),e.C(500,140,530,240,490,340),e.stroke()}},10062:{width:H,draw:e=>{e.rect(80,30,440,440),e.fill()}},10067:{width:H,draw:e=>{e.lineWidth(65),e.M(200,400),e.C(200,500,400,500,400,400),e.C(400,320,300,300,300,220),e.stroke(),e.circle(300,100,40),e.fill()}},10068:{width:H,draw:e=>{e.lineWidth(50),e.M(200,400),e.C(200,500,400,500,400,400),e.C(400,320,300,300,300,220),e.stroke(),e.lineWidth(40),e.circle(300,100,35),e.stroke()}},10069:{width:H,draw:e=>{e.lineWidth(50),e.M(300,480),e.L(300,180),e.stroke(),e.lineWidth(40),e.circle(300,80,35),e.stroke()}},10071:{width:H,draw:e=>{e.lineWidth(75),e.M(300,480),e.L(300,180),e.stroke(),e.circle(300,70,45),e.fill()}},10082:{width:H,draw:e=>{e.lineWidth(55),e.M(300,480),e.L(300,200),e.stroke(),e.circle(300,100,35),e.fill(),e.circle(300,500,20),e.fill()}},10083:{width:H,draw:e=>{e.M(300,320),e.C(300,320,180,400,180,450),e.C(180,490,240,510,300,510),e.C(360,510,420,490,420,450),e.C(420,400,300,320,300,320),e.Z(),e.fill(),e.lineWidth(55),e.M(300,300),e.L(300,130),e.stroke(),e.circle(300,50,35),e.fill()}},10085:{width:H,draw:e=>{e.M(250,80),e.C(250,80,80,200,80,310),e.C(80,400,160,440,250,440),e.C(340,440,400,400,400,310),e.C(400,200,250,80,250,80),e.Z(),e.fill()}},10086:{width:H,draw:e=>{e.lineWidth(35),e.M(300,80),e.C(300,80,100,220,100,340),e.C(100,440,190,490,300,490),e.C(410,490,500,440,500,340),e.C(500,220,300,80,300,80),e.Z(),e.stroke(),e.M(300,150),e.C(250,200,200,300,300,400),e.C(400,300,350,200,300,150),e.stroke()}},10087:{width:H,draw:e=>{e.lineWidth(35),e.M(250,80),e.C(250,80,80,200,80,310),e.C(80,400,160,440,250,440),e.C(340,440,400,400,400,310),e.C(400,200,250,80,250,80),e.Z(),e.stroke()}},10133:{width:H,draw:e=>{e.rect(220,50,160,400),e.fill(),e.rect(100,170,400,160),e.fill()}},10134:{width:H,draw:e=>{e.rect(100,180,400,140),e.fill()}},10135:{width:H,draw:e=>{e.rect(100,200,400,100),e.fill(),e.circle(300,400,50),e.fill(),e.circle(300,100,50),e.fill()}},10136:{width:H,draw:e=>{e.M(480,50),e.L(480,250),e.L(320,200),e.L(140,430),e.L(100,400),e.L(280,170),e.L(230,50),e.Z(),e.fill()}},10137:{width:H,draw:e=>{e.M(520,250),e.L(340,430),e.L(340,310),e.L(80,310),e.L(80,190),e.L(340,190),e.L(340,70),e.Z(),e.fill()}},10138:{width:H,draw:e=>{e.M(480,450),e.L(230,450),e.L(280,330),e.L(100,100),e.L(140,70),e.L(320,300),e.L(480,250),e.Z(),e.fill()}},10139:{width:H,draw:e=>{e.M(520,250),e.L(350,400),e.L(350,280),e.L(80,250),e.L(350,220),e.L(350,100),e.Z(),e.fill()}},10141:{width:H,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(400,250),e.stroke(),e.M(520,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},10142:{width:H,draw:e=>{e.lineWidth(50),e.M(80,250),e.L(380,250),e.stroke(),e.M(530,250),e.L(350,420),e.L(350,80),e.Z(),e.fill()}},10143:{width:H,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(160,250),e.stroke(),e.M(210,250),e.L(290,250),e.stroke(),e.M(340,250),e.L(400,250),e.stroke(),e.M(520,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},10144:{width:H,draw:e=>{e.lineWidth(55),e.M(80,250),e.L(170,250),e.stroke(),e.M(230,250),e.L(350,250),e.stroke(),e.M(530,250),e.L(350,420),e.L(350,80),e.Z(),e.fill()}},10146:{width:H,draw:e=>{e.M(520,250),e.L(200,430),e.L(280,250),e.L(200,70),e.Z(),e.fill()}},10147:{width:H,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(200,430),e.L(280,250),e.L(200,70),e.Z(),e.stroke()}},10148:{width:H,draw:e=>{e.M(520,250),e.L(100,450),e.L(100,50),e.Z(),e.fill()}},10149:{width:H,draw:e=>{e.M(500,200),e.L(380,320),e.L(380,240),e.C(300,240,200,280,150,380),e.L(100,380),e.C(140,220,260,150,380,150),e.L(380,80),e.Z(),e.fill()}},10150:{width:H,draw:e=>{e.M(500,300),e.L(380,420),e.L(380,350),e.C(260,350,140,280,100,120),e.L(150,120),e.C(200,220,300,260,380,260),e.L(380,180),e.Z(),e.fill()}},10151:{width:H,draw:e=>{e.M(500,250),e.L(350,380),e.L(350,310),e.L(100,310),e.L(100,190),e.L(350,190),e.L(350,120),e.Z(),e.fill()}},10152:{width:H,draw:e=>{e.M(520,250),e.L(320,440),e.L(320,310),e.L(80,310),e.C(150,250,150,250,80,190),e.L(320,190),e.L(320,60),e.Z(),e.fill()}},10153:{width:H,draw:e=>{e.lineWidth(35),e.M(520,250),e.L(340,430),e.L(340,310),e.L(80,310),e.L(80,190),e.L(340,190),e.L(340,70),e.Z(),e.stroke()}},10154:{width:H,draw:e=>{e.lineWidth(35),e.M(520,250),e.L(340,430),e.L(340,310),e.L(80,310),e.L(80,190),e.L(340,190),e.L(340,70),e.Z(),e.fillStroke()}},10155:{width:H,draw:e=>{e.M(520,250),e.L(340,440),e.L(340,310),e.L(100,310),e.L(100,190),e.L(340,190),e.L(340,60),e.Z(),e.fill()}},10156:{width:H,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(340,440),e.L(340,310),e.L(100,310),e.L(100,190),e.L(340,190),e.L(340,60),e.Z(),e.fillStroke()}},10157:{width:H,draw:e=>{e.lineWidth(45),e.M(510,250),e.L(340,420),e.L(340,310),e.L(90,310),e.L(90,190),e.L(340,190),e.L(340,80),e.Z(),e.stroke()}},10158:{width:H,draw:e=>{e.lineWidth(50),e.M(510,250),e.L(340,420),e.L(340,310),e.L(90,310),e.L(90,190),e.L(340,190),e.L(340,80),e.Z(),e.stroke()}},10159:{width:H,draw:e=>{e.M(520,250),e.L(350,430),e.L(350,310),e.L(100,310),e.L(140,250),e.L(100,190),e.L(350,190),e.L(350,70),e.Z(),e.fill()}},10161:{width:H,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(350,430),e.L(350,310),e.L(100,310),e.L(140,250),e.L(100,190),e.L(350,190),e.L(350,70),e.Z(),e.stroke()}},10162:{width:H,draw:e=>{e.circle(300,250,230),e.fill()}},10163:{width:H,draw:e=>{e.lineWidth(30),e.M(80,250),e.L(450,250),e.stroke(),e.M(520,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(20),e.M(120,250),e.L(80,320),e.stroke(),e.M(120,250),e.L(80,180),e.stroke()}},10164:{width:H,draw:e=>{e.M(480,50),e.L(480,220),e.L(200,400),e.L(250,50),e.Z(),e.fill()}},10165:{width:H,draw:e=>{e.M(520,250),e.L(390,360),e.L(390,275),e.L(80,275),e.L(120,250),e.L(80,225),e.L(390,225),e.L(390,140),e.Z(),e.fill()}},10166:{width:H,draw:e=>{e.M(480,450),e.L(250,450),e.L(200,100),e.L(480,280),e.Z(),e.fill()}},10167:{width:H,draw:e=>{e.M(500,50),e.L(500,240),e.L(180,420),e.L(230,50),e.Z(),e.fill()}},10168:{width:H,draw:e=>{e.M(530,250),e.L(380,380),e.L(380,290),e.L(70,290),e.L(120,250),e.L(70,210),e.L(380,210),e.L(380,120),e.Z(),e.fill()}},10169:{width:H,draw:e=>{e.M(500,450),e.L(230,450),e.L(180,80),e.L(500,260),e.Z(),e.fill()}},10170:{width:H,draw:e=>{e.M(520,250),e.L(370,380),e.L(370,270),e.C(200,270,120,260,80,250),e.C(120,240,200,230,370,230),e.L(370,120),e.Z(),e.fill()}},10171:{width:H,draw:e=>{e.M(530,250),e.L(380,400),e.L(380,290),e.C(250,290,150,280,70,250),e.C(150,220,250,210,380,210),e.L(380,100),e.Z(),e.fill()}},10172:{width:H,draw:e=>{e.lineWidth(35),e.M(80,310),e.L(400,260),e.stroke(),e.M(80,190),e.L(400,240),e.stroke(),e.M(520,250),e.L(380,370),e.L(380,130),e.Z(),e.fill()}},10173:{width:H,draw:e=>{e.M(530,250),e.L(380,400),e.L(380,280),e.L(70,320),e.L(70,180),e.L(380,220),e.L(380,100),e.Z(),e.fill()}},10174:{width:H,draw:e=>{e.lineWidth(35),e.M(510,250),e.L(340,420),e.L(340,310),e.L(90,310),e.L(90,190),e.L(340,190),e.L(340,80),e.Z(),e.stroke()}}},DR={9730:{width:H,draw:e=>{e.lineWidth(40),e.M(80,280),e.C(80,480,300,520,300,520),e.C(300,520,520,480,520,280),e.L(80,280),e.stroke(),e.M(300,280),e.L(300,80),e.C(300,30,260,20,240,50),e.stroke()}},9731:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,100,80),e.stroke(),e.circle(300,260,110),e.stroke(),e.circle(300,430,70),e.stroke()}},9732:{width:H,draw:e=>{e.circle(420,380,70),e.fill(),e.lineWidth(30),e.M(370,420),e.C(250,470,100,480,80,460),e.stroke(),e.M(380,440),e.C(280,490,120,500,80,490),e.stroke()}},9748:{width:H,draw:e=>{e.lineWidth(35),e.M(80,300),e.C(80,480,300,500,300,500),e.C(300,500,520,480,520,300),e.L(80,300),e.stroke(),e.M(300,300),e.L(300,100),e.C(300,50,260,40,240,70),e.stroke(),e.lineWidth(25),e.M(150,200),e.L(130,160),e.stroke(),e.M(300,180),e.L(280,140),e.stroke(),e.M(450,200),e.L(430,160),e.stroke()}},9749:{width:H,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(120,300),e.L(400,300),e.L(400,50),e.stroke(),e.M(400,250),e.C(480,250,500,180,480,120),e.C(460,80,400,80,400,100),e.stroke(),e.lineWidth(25),e.M(200,340),e.C(200,380,220,400,200,440),e.stroke(),e.M(300,340),e.C(300,380,320,400,300,440),e.stroke()}},9752:{width:H,draw:e=>{e.circle(300,370,80),e.fill(),e.circle(220,280,80),e.fill(),e.circle(380,280,80),e.fill(),e.lineWidth(30),e.M(300,290),e.C(300,200,280,100,260,50),e.stroke()}},9760:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,350,120),e.stroke(),e.circle(260,370,25),e.fill(),e.circle(340,370,25),e.fill(),e.M(250,260),e.L(350,260),e.stroke(),e.lineWidth(30),e.M(130,100),e.L(470,200),e.stroke(),e.M(130,200),e.L(470,100),e.stroke()}},9762:{width:H,draw:e=>{e.circle(300,250,40),e.fill(),e.lineWidth(35);for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180,r=300+70*Math.cos(n-.4),i=250+70*Math.sin(n-.4),a=300+200*Math.cos(n-.4),o=250+200*Math.sin(n-.4),s=300+200*Math.cos(n+.4),c=250+200*Math.sin(n+.4),l=300+70*Math.cos(n+.4),u=250+70*Math.sin(n+.4);e.M(r,i),e.L(a,o),e.L(s,c),e.L(l,u),e.Z(),e.fill()}}},9763:{width:H,draw:e=>{e.lineWidth(35);for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180;e.circle(300+90*Math.cos(n),250+90*Math.sin(n),110),e.stroke()}e.circle(300,250,25),e.fill()}},9766:{width:H,draw:e=>{e.lineWidth(45),e.M(300,0),e.L(300,500),e.stroke(),e.M(180,400),e.L(420,400),e.stroke(),e.M(180,120),e.L(420,80),e.stroke(),e.M(220,460),e.L(380,460),e.stroke()}},9784:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,250,200),e.stroke();for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke(),e.circle(300,250,40),e.fill()}},9788:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,250,110),e.stroke();for(let t=0;t<360;t+=30){let n=t*Math.PI/180;e.M(300+130*Math.cos(n),250+130*Math.sin(n)),e.L(300+210*Math.cos(n),250+210*Math.sin(n))}e.stroke()}},9800:{width:H,draw:e=>{e.lineWidth(45),e.M(150,50),e.C(150,300,300,400,300,480),e.stroke(),e.M(450,50),e.C(450,300,300,400,300,480),e.stroke()}},9801:{width:H,draw:e=>{e.lineWidth(45),e.circle(300,200,150),e.stroke(),e.M(100,430),e.C(200,500,400,500,500,430),e.stroke()}},9802:{width:H,draw:e=>{e.lineWidth(45),e.M(120,450),e.C(200,500,400,500,480,450),e.stroke(),e.M(120,50),e.C(200,0,400,0,480,50),e.stroke(),e.M(220,450),e.L(220,50),e.stroke(),e.M(380,450),e.L(380,50),e.stroke()}},9803:{width:H,draw:e=>{e.lineWidth(45),e.M(480,380),e.C(300,500,120,380,120,300),e.stroke(),e.circle(200,350,60),e.fill(),e.M(120,120),e.C(300,0,480,120,480,200),e.stroke(),e.circle(400,150,60),e.fill()}},9804:{width:H,draw:e=>{e.lineWidth(45),e.circle(200,150,100),e.stroke(),e.M(300,150),e.C(400,150,480,250,480,350),e.C(480,450,420,480,380,430),e.stroke()}},9805:{width:H,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(100,400),e.C(100,480,200,480,200,400),e.L(200,50),e.stroke(),e.M(200,400),e.C(200,480,300,480,300,400),e.L(300,50),e.stroke(),e.M(300,300),e.L(480,100),e.stroke()}},9806:{width:H,draw:e=>{e.lineWidth(45),e.M(100,50),e.L(500,50),e.stroke(),e.M(100,200),e.L(500,200),e.stroke(),e.M(300,200),e.C(150,200,100,350,200,420),e.stroke(),e.M(300,200),e.C(450,200,500,350,400,420),e.stroke()}},9807:{width:H,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(100,400),e.C(100,480,200,480,200,400),e.L(200,50),e.stroke(),e.M(200,400),e.C(200,480,300,480,300,400),e.L(300,50),e.stroke(),e.M(300,50),e.L(400,50),e.L(350,100),e.stroke()}},9808:{width:H,draw:e=>{e.lineWidth(45),e.M(120,80),e.L(480,440),e.stroke(),e.M(480,440),e.L(350,440),e.stroke(),e.M(480,440),e.L(480,310),e.stroke(),e.M(200,260),e.L(380,160),e.stroke()}},9809:{width:H,draw:e=>{e.lineWidth(45),e.M(100,450),e.L(100,200),e.C(100,100,200,50,300,100),e.C(400,150,450,100,450,50),e.stroke(),e.M(450,50),e.C(500,100,500,200,420,250),e.stroke()}},9810:{width:H,draw:e=>{e.lineWidth(45),e.M(80,350),e.C(150,400,250,300,300,350),e.C(350,400,450,300,520,350),e.stroke(),e.M(80,200),e.C(150,250,250,150,300,200),e.C(350,250,450,150,520,200),e.stroke()}},9811:{width:H,draw:e=>{e.lineWidth(45),e.M(120,100),e.C(200,250,200,250,120,400),e.stroke(),e.M(480,100),e.C(400,250,400,250,480,400),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},9825:{width:H,draw:e=>{e.lineWidth(35),e.M(300,80),e.C(300,80,80,200,80,340),e.C(80,440,180,490,300,490),e.C(420,490,520,440,520,340),e.C(520,200,300,80,300,80),e.Z(),e.stroke()}},9826:{width:H,draw:e=>{e.lineWidth(35),e.M(300,500),e.L(500,250),e.L(300,0),e.L(100,250),e.Z(),e.stroke()}},9828:{width:H,draw:e=>{e.lineWidth(35),e.M(300,500),e.C(300,500,80,350,80,200),e.C(80,100,200,50,300,180),e.C(400,50,520,100,520,200),e.C(520,350,300,500,300,500),e.Z(),e.stroke(),e.lineWidth(30),e.M(280,0),e.L(320,0),e.L(310,140),e.L(290,140),e.Z(),e.stroke()}},9831:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,370,100),e.stroke(),e.circle(195,240,90),e.stroke(),e.circle(405,240,90),e.stroke(),e.lineWidth(30),e.M(280,0),e.L(320,0),e.L(310,180),e.L(290,180),e.Z(),e.stroke()}},9851:{width:H,draw:e=>{e.lineWidth(40);for(let t=0;t<3;t++){let n=(t*120+30)*Math.PI/180,r=(t*120+90)*Math.PI/180;e.M(300+180*Math.cos(n),240+180*Math.sin(n)),e.C(300+180*1.2*Math.cos((n+r)/2),240+180*1.2*Math.sin((n+r)/2),300+180*1.2*Math.cos((n+r)/2),240+180*1.2*Math.sin((n+r)/2),300+180*Math.cos(r),240+180*Math.sin(r))}e.stroke();for(let t=0;t<3;t++){let n=(t*120+90)*Math.PI/180,r=(t*120+120)*Math.PI/180,i=300+180*Math.cos(n),a=240+180*Math.sin(n);e.M(i,a),e.L(i+40*Math.cos(r+2.5),a+40*Math.sin(r+2.5)),e.L(i+40*Math.cos(r-2.5),a+40*Math.sin(r-2.5)),e.Z(),e.fill()}}},9854:{width:H,draw:e=>{e.lineWidth(35),e.M(300,250),e.C(300,350,420,380,450,300),e.C(480,220,420,150,380,180),e.C(340,210,300,250,300,250),e.C(300,250,260,290,220,320),e.C(180,350,120,280,150,200),e.C(180,120,300,150,300,250),e.stroke()}},9855:{width:H,draw:e=>{e.lineWidth(40),e.circle(280,420,40),e.fill(),e.M(280,380),e.L(280,220),e.L(380,220),e.stroke(),e.circle(300,160,100),e.stroke(),e.M(380,220),e.L(420,80),e.stroke()}},9874:{width:H,draw:e=>{e.lineWidth(40),e.M(150,80),e.L(400,380),e.stroke(),e.M(450,80),e.L(200,380),e.stroke(),e.M(350,350),e.L(450,420),e.stroke(),e.M(150,420),e.L(250,350),e.stroke()}},9875:{width:H,draw:e=>{e.lineWidth(45),e.circle(300,440,40),e.stroke(),e.M(300,400),e.L(300,80),e.stroke(),e.M(180,320),e.L(420,320),e.stroke(),e.M(300,80),e.C(150,80,100,150,130,200),e.stroke(),e.M(300,80),e.C(450,80,500,150,470,200),e.stroke()}},9876:{width:H,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(500,450),e.stroke(),e.M(500,50),e.L(100,450),e.stroke(),e.lineWidth(30),e.M(140,130),e.L(200,70),e.stroke(),e.M(460,130),e.L(400,70),e.stroke()}},9877:{width:H,draw:e=>{e.lineWidth(40),e.M(300,20),e.L(300,480),e.stroke(),e.lineWidth(30),e.M(300,380),e.C(400,380,420,320,300,300),e.C(180,280,200,220,300,200),e.C(400,180,380,120,300,120),e.stroke()}},9878:{width:H,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(500,350),e.stroke(),e.M(300,350),e.L(300,80),e.stroke(),e.M(200,80),e.L(400,80),e.stroke(),e.M(100,350),e.C(100,250,180,220,220,250),e.stroke(),e.M(500,350),e.C(500,250,420,220,380,250),e.stroke()}},9879:{width:H,draw:e=>{e.lineWidth(35),e.M(200,50),e.L(400,50),e.L(480,250),e.C(500,300,460,350,400,350),e.L(200,350),e.C(140,350,100,300,120,250),e.L(200,50),e.Z(),e.stroke(),e.M(250,350),e.L(250,450),e.stroke(),e.M(350,350),e.L(350,450),e.stroke()}},9881:{width:H,draw:e=>{e.lineWidth(30),e.circle(300,250,100),e.stroke();for(let t=0;t<8;t++){let n=t*360/8*(Math.PI/180),r=15*Math.PI/180;e.M(300+130*Math.cos(n-r),250+130*Math.sin(n-r)),e.L(300+200*Math.cos(n-r*.7),250+200*Math.sin(n-r*.7)),e.L(300+200*Math.cos(n+r*.7),250+200*Math.sin(n+r*.7)),e.L(300+130*Math.cos(n+r),250+130*Math.sin(n+r))}e.fill(),e.circle(300,250,130),e.stroke()}},9883:{width:H,draw:e=>{e.lineWidth(30),e.ellipse(300,250,220,80),e.stroke(),e.M(130,100),e.C(200,50,440,300,470,400),e.C(440,450,200,200,130,100),e.stroke(),e.M(470,100),e.C(400,50,160,300,130,400),e.C(160,450,400,200,470,100),e.stroke(),e.circle(300,250,25),e.fill()}},9884:{width:H,draw:e=>{e.lineWidth(30),e.M(300,480),e.C(280,400,260,300,300,200),e.C(340,300,320,400,300,480),e.stroke(),e.M(300,300),e.C(200,350,100,400,100,350),e.C(100,300,180,250,250,200),e.stroke(),e.M(300,300),e.C(400,350,500,400,500,350),e.C(500,300,420,250,350,200),e.stroke(),e.M(200,100),e.L(400,100),e.stroke(),e.M(300,200),e.L(300,100),e.stroke()}},9893:{width:H,draw:e=>{e.lineWidth(40),e.circle(280,270,120),e.stroke(),e.M(280,150),e.L(280,30),e.stroke(),e.M(220,90),e.L(340,90),e.stroke(),e.M(370,350),e.L(490,460),e.stroke(),e.M(420,460),e.L(490,460),e.L(490,390),e.stroke()}},9895:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,220,110),e.stroke(),e.M(375,295),e.L(480,420),e.stroke(),e.M(420,420),e.L(480,420),e.L(480,360),e.stroke(),e.M(300,110),e.L(300,20),e.stroke(),e.M(250,60),e.L(350,60),e.stroke()}},9904:{width:H,draw:e=>{e.lineWidth(40),e.M(200,480),e.L(140,300),e.L(200,20),e.L(400,20),e.L(460,300),e.L(400,480),e.Z(),e.stroke()}},9917:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,250,200),e.stroke();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=((t+1)*72-90)*Math.PI/180;t===0&&e.M(300+80*Math.cos(n),250+80*Math.sin(n)),e.L(300+80*Math.cos(r),250+80*Math.sin(r))}e.Z(),e.fill()}},9918:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,250,200),e.stroke(),e.lineWidth(25),e.M(150,400),e.C(200,300,200,200,150,100),e.stroke(),e.M(450,400),e.C(400,300,400,200,450,100),e.stroke()}},9924:{width:H,draw:e=>{e.circle(300,140,100),e.fill(),e.circle(300,350,70),e.fill()}},9925:{width:H,draw:e=>{e.lineWidth(30),e.M(420,420),e.C(480,420,520,380,520,320),e.stroke();for(let t=-30;t<=60;t+=30){let n=t*Math.PI/180;e.M(460+60*Math.cos(n),360+60*Math.sin(n)),e.L(460+100*Math.cos(n),360+100*Math.sin(n))}e.stroke(),e.lineWidth(35),e.M(100,220),e.C(100,370,180,400,260,380),e.C(280,430,380,430,400,380),e.C(460,380,480,300,440,220),e.L(100,220),e.fill(),e.M(100,220),e.C(100,370,180,400,260,380),e.C(280,430,380,430,400,380),e.C(460,380,480,300,440,220),e.L(100,220),e.stroke()}},9934:{width:H,draw:e=>{e.lineWidth(45),e.M(150,450),e.L(150,200),e.C(150,50,450,50,450,200),e.L(450,450),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},9940:{width:H,draw:e=>{e.circle(300,250,220),e.fill()}},9962:{width:H,draw:e=>{e.lineWidth(35),e.rect(150,50,300,250),e.stroke(),e.M(130,300),e.L(300,420),e.L(470,300),e.Z(),e.stroke(),e.M(300,420),e.L(300,490),e.stroke(),e.M(270,460),e.L(330,460),e.stroke(),e.M(260,50),e.L(260,150),e.L(340,150),e.L(340,50),e.stroke()}},9970:{width:H,draw:e=>{e.lineWidth(35),e.M(100,50),e.L(500,50),e.stroke(),e.M(150,50),e.L(150,200),e.stroke(),e.M(450,50),e.L(450,200),e.stroke(),e.M(100,200),e.L(500,200),e.stroke(),e.M(300,200),e.L(300,380),e.stroke(),e.M(300,380),e.C(200,420,150,300,150,200),e.stroke(),e.M(300,380),e.C(400,420,450,300,450,200),e.stroke()}},9971:{width:H,draw:e=>{e.lineWidth(35),e.M(250,30),e.L(250,480),e.stroke(),e.M(250,480),e.L(450,420),e.L(250,360),e.Z(),e.fill(),e.M(120,30),e.C(200,60,300,60,380,30),e.stroke()}},9973:{width:H,draw:e=>{e.lineWidth(35),e.M(80,150),e.L(520,150),e.L(450,50),e.L(150,50),e.Z(),e.stroke(),e.M(300,150),e.L(300,470),e.stroke(),e.M(300,460),e.L(450,200),e.L(300,200),e.Z(),e.stroke()}},9978:{width:H,draw:e=>{e.lineWidth(40),e.M(80,50),e.L(300,450),e.L(520,50),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.stroke()}}},OR={8961:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(200,350),e.L(280,200),e.L(380,350),e.L(450,250),e.stroke(),e.M(450,250),e.L(500,320),e.L(500,180),e.Z(),e.fill()}},8963:{width:H,draw:e=>{e.lineWidth(50),e.M(130,100),e.L(300,400),e.L(470,100),e.stroke()}},8964:{width:H,draw:e=>{e.lineWidth(50),e.M(130,400),e.L(300,100),e.L(470,400),e.stroke()}},8965:{width:H,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(300,100),e.L(300,450),e.stroke(),e.M(200,350),e.L(400,350),e.stroke()}},8966:{width:H,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,100),e.L(300,450),e.stroke()}},8967:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.C(180,350,260,150,340,250),e.C(420,350,500,150,520,250),e.stroke()}},8968:{width:H,draw:e=>{e.lineWidth(50),e.M(400,450),e.L(200,450),e.L(200,50),e.stroke()}},8969:{width:H,draw:e=>{e.lineWidth(50),e.M(200,450),e.L(400,450),e.L(400,50),e.stroke()}},8970:{width:H,draw:e=>{e.lineWidth(50),e.M(200,450),e.L(200,50),e.L(400,50),e.stroke()}},8971:{width:H,draw:e=>{e.lineWidth(50),e.M(400,450),e.L(400,50),e.L(200,50),e.stroke()}},8972:{width:H,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(450,100),e.L(450,250),e.stroke()}},8973:{width:H,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(150,100),e.L(150,250),e.stroke()}},8974:{width:H,draw:e=>{e.lineWidth(45),e.M(300,400),e.L(450,400),e.L(450,250),e.stroke()}},8975:{width:H,draw:e=>{e.lineWidth(45),e.M(300,400),e.L(150,400),e.L(150,250),e.stroke()}},8977:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke()}},8978:{width:H,draw:e=>{e.lineWidth(50),e.M(80,100),e.C(80,400,520,400,520,100),e.stroke()}},8979:{width:H,draw:e=>{e.lineWidth(45),e.M(80,200),e.C(80,450,520,450,520,200),e.stroke(),e.M(80,200),e.L(520,200),e.stroke()}},8980:{width:H,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(120,400),e.C(200,500,400,500,480,400),e.L(300,100),e.stroke()}},8982:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,120),e.stroke(),e.M(300,50),e.L(300,450),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},8983:{width:H,draw:e=>{e.lineWidth(40),e.rect(120,70,360,360),e.stroke(),e.M(300,70),e.L(300,430),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},8985:{width:H,draw:e=>{e.lineWidth(50),e.M(120,350),e.L(480,350),e.L(480,150),e.stroke()}},8988:{width:H,draw:e=>{e.lineWidth(45),e.M(150,300),e.L(150,420),e.L(300,420),e.stroke()}},8989:{width:H,draw:e=>{e.lineWidth(45),e.M(300,420),e.L(450,420),e.L(450,300),e.stroke()}},8990:{width:H,draw:e=>{e.lineWidth(45),e.M(150,200),e.L(150,80),e.L(300,80),e.stroke()}},8991:{width:H,draw:e=>{e.lineWidth(45),e.M(300,80),e.L(450,80),e.L(450,200),e.stroke()}},8992:{width:H,draw:e=>{e.lineWidth(50),e.M(380,480),e.C(350,480,300,450,300,400),e.L(300,50),e.stroke()}},8993:{width:H,draw:e=>{e.lineWidth(50),e.M(300,450),e.L(300,100),e.C(300,50,250,20,220,20),e.stroke()}},8994:{width:H,draw:e=>{e.lineWidth(50),e.M(80,350),e.C(200,100,400,100,520,350),e.stroke()}},8995:{width:H,draw:e=>{e.lineWidth(50),e.M(80,200),e.C(200,450,400,450,520,200),e.stroke()}},8996:{width:H,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(100,400),e.L(500,400),e.stroke(),e.M(200,200),e.L(300,350),e.L(400,200),e.stroke()}},8997:{width:H,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(250,100),e.L(400,400),e.L(500,400),e.stroke(),e.M(300,400),e.L(500,400),e.stroke(),e.M(100,400),e.L(300,400),e.stroke()}},8998:{width:H,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(200,420),e.L(520,420),e.L(520,80),e.L(200,80),e.Z(),e.stroke(),e.M(280,180),e.L(440,320),e.stroke(),e.M(280,320),e.L(440,180),e.stroke()}},8999:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,70,400,360),e.stroke(),e.M(180,150),e.L(420,350),e.stroke(),e.M(180,350),e.L(420,150),e.stroke()}},9003:{width:H,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(400,420),e.L(80,420),e.L(80,80),e.L(400,80),e.Z(),e.stroke(),e.M(160,180),e.L(320,320),e.stroke(),e.M(160,320),e.L(320,180),e.stroke()}},9001:{width:H,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(200,250),e.L(400,50),e.stroke()}},9002:{width:H,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(400,250),e.L(200,50),e.stroke()}},9004:{width:H,draw:e=>{e.lineWidth(35);for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180,r=((t+1)*60-90)*Math.PI/180;e.M(300+180*Math.cos(n),250+180*Math.sin(n)),e.L(300+180*Math.cos(r),250+180*Math.sin(r))}e.stroke(),e.circle(300,250,100),e.stroke()}},9005:{width:H,draw:e=>{e.lineWidth(40),e.M(150,420),e.L(150,80),e.stroke(),e.M(450,420),e.L(450,80),e.stroke(),e.ellipse(300,420,150,40),e.stroke(),e.ellipse(300,80,150,40),e.stroke()}},9006:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.M(300,450),e.L(300,480),e.stroke()}},9007:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(250,350),e.L(300,400),e.L(350,350),e.stroke()}},9008:{width:H,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(150,100),e.L(450,100),e.stroke(),e.M(150,250),e.L(350,250),e.stroke()}},9009:{width:H,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,400),e.stroke()}},9010:{width:H,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(500,300),e.stroke(),e.M(100,150),e.L(500,200),e.stroke()}},9011:{width:H,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(100,400),e.L(500,250),e.stroke()}},9012:{width:H,draw:e=>{e.lineWidth(40),e.M(200,400),e.L(200,250),e.L(100,250),e.L(100,100),e.L(500,100),e.L(500,250),e.L(400,250),e.L(400,400),e.stroke()}},9013:{width:H,draw:e=>{e.lineWidth(40),e.M(200,100),e.L(100,300),e.L(100,400),e.stroke(),e.M(400,100),e.L(500,300),e.L(500,400),e.stroke(),e.M(200,100),e.L(400,100),e.stroke()}},9014:{width:H,draw:e=>{e.lineWidth(45),e.M(150,420),e.L(450,420),e.stroke(),e.M(150,80),e.L(450,80),e.stroke(),e.M(300,420),e.L(300,80),e.stroke()}},9015:{width:H,draw:e=>{e.lineWidth(40),e.rect(150,80,300,340),e.stroke()}},9016:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(180,300),e.L(420,300),e.stroke(),e.M(180,200),e.L(420,200),e.stroke()}},9017:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(180,250),e.L(420,250),e.stroke(),e.circle(300,340,30),e.fill(),e.circle(300,160,30),e.fill()}},9018:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,380),e.L(420,250),e.L(300,120),e.L(180,250),e.Z(),e.stroke()}},9019:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,80),e.stroke()}},9020:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,130),e.stroke()}},9021:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(300,430),e.L(300,70),e.stroke()}},9022:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.circle(300,250,70),e.stroke()}},9023:{width:H,draw:e=>{e.lineWidth(45),e.M(400,420),e.L(200,80),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},9024:{width:H,draw:e=>{e.lineWidth(45),e.M(200,420),e.L(400,80),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},9025:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(400,380),e.L(200,120),e.stroke()}},9026:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,380),e.L(400,120),e.stroke()}},9027:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(380,370),e.L(220,250),e.L(380,130),e.stroke()}},9028:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(220,370),e.L(380,250),e.L(220,130),e.stroke()}},9029:{width:H,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,400),e.stroke()}},9030:{width:H,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,400),e.stroke()}},9031:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(420,250),e.L(180,250),e.stroke(),e.M(180,250),e.L(270,330),e.L(270,170),e.Z(),e.fill()}},9032:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(180,250),e.L(420,250),e.stroke(),e.M(420,250),e.L(330,330),e.L(330,170),e.Z(),e.fill()}},9033:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(170,120),e.L(430,380),e.stroke()}},9034:{width:H,draw:e=>{e.lineWidth(45),e.M(100,80),e.L(500,80),e.stroke(),e.M(300,80),e.L(300,350),e.stroke(),e.M(150,350),e.L(450,350),e.stroke(),e.M(100,420),e.L(500,420),e.stroke()}},9035:{width:H,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(150,120),e.L(450,120),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.stroke()}},9036:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,350),e.L(300,150),e.L(400,350),e.stroke()}},9037:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,370),e.L(190,140),e.L(410,140),e.Z(),e.stroke()}},9038:{width:H,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(450,400),e.stroke(),e.M(300,400),e.L(300,150),e.stroke(),e.circle(300,100,50),e.stroke()}},9039:{width:H,draw:e=>{e.lineWidth(45),e.M(300,80),e.L(300,420),e.stroke(),e.M(300,420),e.L(180,300),e.stroke()}},9040:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,120),e.L(300,380),e.stroke(),e.M(300,380),e.L(220,300),e.L(380,300),e.Z(),e.fill()}},9041:{width:H,draw:e=>{e.lineWidth(45),e.M(100,420),e.L(500,420),e.stroke(),e.M(300,420),e.L(300,150),e.stroke(),e.M(150,150),e.L(450,150),e.stroke(),e.M(100,80),e.L(500,80),e.stroke()}},9042:{width:H,draw:e=>{e.lineWidth(40),e.M(300,80),e.L(150,380),e.L(450,380),e.Z(),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},9043:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,150),e.L(300,350),e.L(400,150),e.stroke()}},9044:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,130),e.L(190,360),e.L(410,360),e.Z(),e.stroke()}},9045:{width:H,draw:e=>{e.lineWidth(45),e.M(150,100),e.L(450,100),e.stroke(),e.M(300,100),e.L(300,350),e.stroke(),e.circle(300,400,50),e.stroke()}},9046:{width:H,draw:e=>{e.lineWidth(45),e.M(300,420),e.L(300,80),e.stroke(),e.M(300,80),e.L(420,200),e.stroke()}},9047:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,380),e.L(300,120),e.stroke(),e.M(300,120),e.L(220,200),e.L(380,200),e.Z(),e.fill()}},9048:{width:H,draw:e=>{e.lineWidth(45),e.M(260,420),e.L(260,200),e.stroke(),e.M(340,420),e.L(340,200),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9049:{width:H,draw:e=>{e.lineWidth(40),e.M(300,430),e.L(150,160),e.L(450,160),e.Z(),e.stroke(),e.M(120,80),e.L(480,80),e.stroke()}},9050:{width:H,draw:e=>{e.lineWidth(40),e.M(300,430),e.L(430,280),e.L(300,150),e.L(170,280),e.Z(),e.stroke(),e.M(120,80),e.L(480,80),e.stroke()}},9051:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,310,100),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9052:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,310,130),e.stroke(),e.M(100,100),e.L(500,100),e.stroke()}},9053:{width:H,draw:e=>{e.lineWidth(40),e.M(120,100),e.C(120,350,480,350,480,100),e.stroke(),e.circle(300,300,50),e.stroke()}},9054:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(100,250),e.L(50,250),e.stroke()}},9055:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+100*Math.cos(n),250+100*Math.sin(n)):e.L(300+100*Math.cos(n),250+100*Math.sin(n)),e.L(300+40*Math.cos(r),250+40*Math.sin(r))}e.Z(),e.stroke()}},9056:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,330,35),e.fill(),e.circle(300,170,35),e.fill()}},9057:{width:H,draw:e=>{e.lineWidth(45),e.M(150,150),e.L(450,150),e.stroke(),e.M(300,150),e.L(300,350),e.stroke(),e.circle(250,420,30),e.fill(),e.circle(350,420,30),e.fill()}},9058:{width:H,draw:e=>{e.lineWidth(40),e.M(300,120),e.L(150,370),e.L(450,370),e.Z(),e.stroke(),e.circle(250,80,25),e.fill(),e.circle(350,80,25),e.fill()}},9059:{width:H,draw:e=>{e.lineWidth(45),e.M(300,380),e.L(300,180),e.stroke(),e.M(200,340),e.L(400,220),e.stroke(),e.M(200,220),e.L(400,340),e.stroke(),e.circle(250,430,25),e.fill(),e.circle(350,430,25),e.fill()}},9060:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,200,80),e.stroke(),e.circle(250,400,30),e.fill(),e.circle(350,400,30),e.fill()}},9061:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,200,120),e.stroke(),e.circle(250,420,30),e.fill(),e.circle(350,420,30),e.fill()}},9062:{width:H,draw:e=>{e.lineWidth(40),e.M(120,400),e.C(120,150,480,150,480,400),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},9063:{width:H,draw:e=>{e.lineWidth(40),e.M(450,100),e.C(200,100,200,400,450,400),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},9064:{width:H,draw:e=>{e.lineWidth(40),e.M(120,250),e.C(200,350,400,150,480,250),e.stroke(),e.circle(250,400,30),e.fill(),e.circle(350,400,30),e.fill()}},9065:{width:H,draw:e=>{e.lineWidth(40),e.M(180,370),e.L(380,250),e.L(180,130),e.stroke(),e.circle(430,200,25),e.fill(),e.circle(430,300,25),e.fill()}},9066:{width:H,draw:e=>{e.lineWidth(45),e.circle(300,300,40),e.fill(),e.M(300,260),e.L(260,180),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},9067:{width:H,draw:e=>{e.lineWidth(40),e.M(300,80),e.L(150,380),e.L(450,380),e.Z(),e.stroke(),e.lineWidth(35),e.M(220,250),e.C(260,300,340,200,380,250),e.stroke()}},9068:{width:H,draw:e=>{e.lineWidth(40),e.ellipse(300,250,150,200),e.stroke(),e.M(200,250),e.L(400,250),e.stroke()}},9069:{width:H,draw:e=>{e.lineWidth(40),e.M(300,80),e.L(300,420),e.stroke(),e.M(180,250),e.C(220,320,380,180,420,250),e.stroke()}},9070:{width:H,draw:e=>{e.circle(300,350,35),e.fill(),e.circle(300,250,35),e.fill(),e.M(300,215),e.L(270,160),e.stroke(),e.lineWidth(40),e.M(150,100),e.L(450,100),e.stroke()}},9071:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,310),e.L(400,310),e.stroke(),e.M(200,190),e.L(400,190),e.stroke(),e.M(350,370),e.L(250,130),e.stroke()}},9072:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(35),e.M(230,350),e.C(230,400,370,400,370,340),e.C(370,290,300,270,300,220),e.stroke(),e.circle(300,160,25),e.fill()}},9073:{width:H,draw:e=>{e.lineWidth(45),e.M(130,400),e.L(300,130),e.L(470,400),e.stroke(),e.lineWidth(35),e.M(220,280),e.C(260,330,340,230,380,280),e.stroke()}},9074:{width:H,draw:e=>{e.lineWidth(45),e.M(130,100),e.L(300,370),e.L(470,100),e.stroke(),e.lineWidth(35),e.M(220,220),e.C(260,270,340,170,380,220),e.stroke()}},9075:{width:H,draw:e=>{e.lineWidth(45),e.M(250,400),e.L(250,150),e.C(250,80,350,80,350,150),e.stroke()}},9076:{width:H,draw:e=>{e.lineWidth(45),e.M(200,80),e.L(200,400),e.C(200,450,400,450,400,400),e.C(400,300,200,300,200,350),e.stroke()}},9077:{width:H,draw:e=>{e.lineWidth(45),e.M(120,400),e.L(200,150),e.C(200,80,400,80,400,150),e.L(480,400),e.stroke()}},9078:{width:H,draw:e=>{e.lineWidth(40),e.M(400,400),e.C(400,300,200,300,200,350),e.C(200,400,400,400,400,350),e.L(400,200),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},9079:{width:H,draw:e=>{e.lineWidth(40),e.M(420,400),e.L(220,400),e.C(160,400,160,200,220,200),e.L(420,200),e.stroke(),e.M(220,300),e.L(380,300),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},9080:{width:H,draw:e=>{e.lineWidth(40),e.M(250,430),e.L(250,200),e.C(250,150,350,150,350,200),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9081:{width:H,draw:e=>{e.lineWidth(40),e.M(120,420),e.L(200,200),e.C(200,150,400,150,400,200),e.L(480,420),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9082:{width:H,draw:e=>{e.lineWidth(45),e.M(400,400),e.C(400,300,200,300,200,350),e.C(200,400,400,400,400,350),e.L(400,150),e.stroke()}},9083:{width:H,draw:e=>{e.lineWidth(50),e.M(130,250),e.L(250,100),e.L(470,400),e.stroke(),e.M(180,380),e.L(420,120),e.stroke()}},9084:{width:H,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(150,100),e.L(450,100),e.stroke(),e.M(150,100),e.L(200,200),e.L(250,100),e.L(300,200),e.stroke()}},9085:{width:H,draw:e=>{e.lineWidth(45),e.M(100,350),e.L(100,150),e.L(200,150),e.stroke(),e.M(400,150),e.L(500,150),e.L(500,350),e.stroke()}},9086:{width:H,draw:e=>{e.lineWidth(40),e.M(150,100),e.C(150,350,300,450,300,450),e.C(300,450,450,350,450,100),e.stroke(),e.M(120,100),e.L(480,100),e.stroke(),e.circle(300,60,25),e.fill()}},9087:{width:H,draw:e=>{e.lineWidth(45),e.M(200,80),e.L(300,420),e.L(400,80),e.stroke()}},9088:{width:H,draw:e=>{e.lineWidth(45),e.M(200,100),e.L(300,380),e.L(400,100),e.stroke(),e.M(150,100),e.L(450,100),e.stroke()}},9089:{width:H,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(520,100),e.stroke()}},9090:{width:H,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(230,100),e.stroke(),e.M(370,100),e.L(520,100),e.stroke()}},9091:{width:H,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(520,100),e.stroke(),e.circle(300,200,30),e.fill()}},9092:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,300,120),e.stroke(),e.M(300,180),e.L(300,420),e.stroke()}},9093:{width:H,draw:e=>{e.lineWidth(40),e.rect(120,70,360,360),e.stroke(),e.M(300,70),e.L(300,430),e.stroke()}},9094:{width:H,draw:e=>{e.lineWidth(40),e.M(420,400),e.L(420,200),e.L(180,200),e.stroke(),e.M(180,200),e.L(280,280),e.L(280,120),e.Z(),e.fill()}},9095:{width:H,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(250,150),e.L(350,350),e.L(500,350),e.stroke(),e.M(100,350),e.L(250,350),e.L(350,150),e.L(500,150),e.stroke()}},9096:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,250,160),e.stroke(),e.circle(300,250,50),e.fill();for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300+50*Math.cos(n),250+50*Math.sin(n)),e.L(300+180*Math.cos(n),250+180*Math.sin(n))}e.stroke()}},9097:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(120,250),e.L(260,250),e.stroke(),e.M(340,250),e.L(480,250),e.stroke(),e.M(260,250),e.L(260,300),e.L(340,300),e.L(340,250),e.stroke()}},9098:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(300,430),e.L(300,70),e.stroke(),e.circle(220,250,30),e.fill(),e.circle(380,250,30),e.fill()}},9099:{width:H,draw:e=>{e.lineWidth(40),e.M(200,410),e.C(120,380,80,300,100,200),e.C(120,120,200,80,300,70),e.C(400,80,480,120,500,200),e.C(520,300,480,380,400,420),e.stroke(),e.M(160,430),e.L(160,350),e.L(240,350),e.stroke()}},9100:{width:H,draw:e=>{e.lineWidth(40),e.M(450,380),e.C(450,200,350,120,250,120),e.C(200,120,150,180,150,250),e.stroke(),e.M(150,250),e.L(80,170),e.L(220,170),e.Z(),e.fill()}},9101:{width:H,draw:e=>{e.lineWidth(45),e.M(100,150),e.L(250,150),e.L(250,350),e.L(400,350),e.L(400,150),e.L(500,150),e.stroke()}},9102:{width:H,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(300,150),e.L(300,350),e.L(500,350),e.stroke(),e.M(100,350),e.L(300,350),e.stroke(),e.M(300,150),e.L(500,150),e.stroke()}},9103:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(250,250),e.stroke(),e.circle(300,250,50),e.stroke(),e.M(350,250),e.L(500,250),e.stroke()}},9104:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(250,250),e.stroke(),e.M(350,250),e.L(500,250),e.stroke(),e.M(250,250),e.L(350,250),e.stroke(),e.M(300,250),e.L(300,350),e.stroke()}},9105:{width:H,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(250,350),e.L(250,150),e.L(350,150),e.L(350,350),e.L(500,350),e.stroke()}},9106:{width:H,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(250,150),e.L(250,350),e.L(350,350),e.L(350,150),e.L(500,150),e.stroke()}},9107:{width:H,draw:e=>{e.lineWidth(45),e.M(100,300),e.L(500,300),e.stroke(),e.lineWidth(35),e.M(100,200),e.L(200,200),e.stroke(),e.M(250,200),e.L(350,200),e.stroke(),e.M(400,200),e.L(500,200),e.stroke()}},9108:{width:H,draw:e=>{e.lineWidth(40),e.M(100,100),e.L(100,400),e.L(500,400),e.L(500,100),e.stroke()}},9109:{width:H,draw:e=>{e.lineWidth(45),e.rect(120,50,360,400),e.stroke()}},9110:{width:H,draw:e=>{e.lineWidth(40),e.rect(120,80,360,340),e.stroke(),e.circle(300,180,35),e.fill()}},9111:{width:H,draw:e=>{e.lineWidth(40),e.rect(130,50,340,400),e.stroke(),e.M(130,380),e.L(220,380),e.L(220,450),e.stroke()}},9112:{width:H,draw:e=>{e.lineWidth(40),e.rect(130,50,340,400),e.stroke(),e.M(470,120),e.L(380,120),e.L(380,50),e.stroke()}},9113:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,100,400,300),e.stroke(),e.rect(180,180,240,140),e.stroke()}},9114:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,100,400,300),e.stroke(),e.M(200,200),e.L(400,300),e.stroke(),e.M(200,300),e.L(400,200),e.stroke()}},9118:{width:H,draw:e=>{e.lineWidth(45),e.M(200,450),e.C(350,450,400,350,400,250),e.stroke()}},9119:{width:H,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.stroke()}},9120:{width:H,draw:e=>{e.lineWidth(45),e.M(400,250),e.C(400,150,350,50,200,50),e.stroke()}},9121:{width:H,draw:e=>{e.lineWidth(45),e.M(350,450),e.L(200,450),e.L(200,50),e.stroke()}},9122:{width:H,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,50),e.stroke()}},9123:{width:H,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,50),e.L(350,50),e.stroke()}},9124:{width:H,draw:e=>{e.lineWidth(45),e.M(250,450),e.L(400,450),e.L(400,50),e.stroke()}},9125:{width:H,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.stroke()}},9126:{width:H,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.L(250,50),e.stroke()}},9127:{width:H,draw:e=>{e.lineWidth(45),e.M(350,450),e.C(250,450,250,350,250,250),e.stroke()}},9128:{width:H,draw:e=>{e.lineWidth(45),e.M(250,450),e.L(250,300),e.C(250,250,200,250,150,250),e.stroke(),e.M(250,200),e.C(250,250,200,250,150,250),e.stroke(),e.M(250,200),e.L(250,50),e.stroke()}},9129:{width:H,draw:e=>{e.lineWidth(45),e.M(250,250),e.C(250,150,250,50,350,50),e.stroke()}},9130:{width:H,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke()}},9131:{width:H,draw:e=>{e.lineWidth(45),e.M(250,450),e.C(350,450,350,350,350,250),e.stroke()}},9132:{width:H,draw:e=>{e.lineWidth(45),e.M(350,450),e.L(350,300),e.C(350,250,400,250,450,250),e.stroke(),e.M(350,200),e.C(350,250,400,250,450,250),e.stroke(),e.M(350,200),e.L(350,50),e.stroke()}},9133:{width:H,draw:e=>{e.lineWidth(45),e.M(350,250),e.C(350,150,350,50,250,50),e.stroke()}},9134:{width:H,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke()}},9136:{width:H,draw:e=>{e.lineWidth(45),e.M(350,50),e.C(250,50,250,250,250,450),e.stroke()}},9137:{width:H,draw:e=>{e.lineWidth(45),e.M(250,50),e.C(350,50,350,250,350,450),e.stroke()}},9138:{width:H,draw:e=>{e.lineWidth(45),e.M(480,450),e.L(120,450),e.L(300,250),e.stroke()}},9139:{width:H,draw:e=>{e.lineWidth(45),e.M(300,250),e.L(120,50),e.L(480,50),e.stroke()}},9140:{width:H,draw:e=>{e.lineWidth(45),e.M(100,200),e.L(100,350),e.L(500,350),e.L(500,200),e.stroke()}},9141:{width:H,draw:e=>{e.lineWidth(45),e.M(100,300),e.L(100,150),e.L(500,150),e.L(500,300),e.stroke()}},9142:{width:H,draw:e=>{e.lineWidth(40),e.M(100,300),e.L(100,200),e.L(500,200),e.L(500,300),e.stroke(),e.M(100,350),e.L(100,250),e.L(500,250),e.L(500,350),e.stroke()}},9146:{width:H,draw:e=>{e.lineWidth(30),e.M(0,450),e.L(600,450),e.stroke()}},9147:{width:H,draw:e=>{e.lineWidth(30),e.M(0,350),e.L(600,350),e.stroke()}},9148:{width:H,draw:e=>{e.lineWidth(30),e.M(0,150),e.L(600,150),e.stroke()}},9149:{width:H,draw:e=>{e.lineWidth(30),e.M(0,50),e.L(600,50),e.stroke()}},9150:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,250),e.L(500,250),e.stroke()}},9151:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,250),e.L(500,250),e.stroke()}},9152:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,50),e.stroke(),e.circle(300,250,60),e.stroke()}},9153:{width:H,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(500,350),e.stroke(),e.M(300,350),e.L(300,100),e.stroke(),e.circle(300,250,60),e.stroke()}},9161:{width:H,draw:e=>{e.lineWidth(40),e.M(150,350),e.L(450,350),e.stroke(),e.M(300,350),e.L(300,100),e.stroke()}},9162:{width:H,draw:e=>{e.lineWidth(40),e.M(150,150),e.L(450,150),e.stroke(),e.M(300,150),e.L(300,400),e.stroke()}},9163:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,310),e.L(400,200),e.L(300,200),e.Z(),e.stroke()}},9164:{width:H,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(500,350),e.stroke(),e.M(300,350),e.L(300,120),e.stroke(),e.M(250,250),e.L(350,250),e.L(300,180),e.Z(),e.fill()}},9165:{width:H,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(150,100),e.L(450,100),e.stroke()}},9168:{width:H,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(300,20),e.stroke()}},9178:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,200),e.stroke(),e.M(150,200),e.L(450,200),e.stroke(),e.M(200,140),e.L(400,140),e.stroke(),e.M(250,80),e.L(350,80),e.stroke()}},9179:{width:H,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(180,250),e.stroke(),e.rect(180,180,240,140),e.stroke(),e.M(420,250),e.L(520,250),e.stroke()}},9180:{width:H,draw:e=>{e.lineWidth(45),e.M(80,150),e.C(80,400,520,400,520,150),e.stroke()}},9181:{width:H,draw:e=>{e.lineWidth(45),e.M(80,350),e.C(80,100,520,100,520,350),e.stroke()}},9182:{width:H,draw:e=>{e.lineWidth(40),e.M(80,150),e.C(80,300,200,350,300,400),e.C(400,350,520,300,520,150),e.stroke()}},9183:{width:H,draw:e=>{e.lineWidth(40),e.M(80,350),e.C(80,200,200,150,300,100),e.C(400,150,520,200,520,350),e.stroke()}},9184:{width:H,draw:e=>{e.lineWidth(40),e.M(80,150),e.C(150,380,450,380,520,150),e.stroke()}},9185:{width:H,draw:e=>{e.lineWidth(40),e.M(80,350),e.C(150,120,450,120,520,350),e.stroke()}},9186:{width:H,draw:e=>{e.lineWidth(40),e.M(150,100),e.L(450,100),e.L(500,400),e.L(100,400),e.Z(),e.stroke()}},9187:{width:H,draw:e=>{e.lineWidth(35);for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180,r=((t+1)*60-90)*Math.PI/180;e.M(300+180*Math.cos(n),250+180*Math.sin(n)),e.L(300+180*Math.cos(r),250+180*Math.sin(r))}e.stroke(),e.circle(300,250,110),e.stroke()}},9188:{width:H,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke()}},9189:{width:H,draw:e=>{e.lineWidth(45),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,300),e.L(500,300),e.stroke()}},9190:{width:H,draw:e=>{e.lineWidth(45),e.M(100,250),e.C(200,420,300,80,400,250),e.C(440,340,480,250,500,250),e.stroke()}},9191:{width:H,draw:e=>{e.lineWidth(40),e.M(100,100),e.L(100,300),e.C(100,430,500,430,500,300),e.L(500,100),e.stroke()}},9192:{width:H,draw:e=>{e.lineWidth(40),e.M(400,400),e.L(200,400),e.L(200,100),e.L(400,100),e.stroke(),e.M(200,250),e.L(370,250),e.stroke()}},9200:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,230,180),e.stroke(),e.M(300,230),e.L(300,340),e.stroke(),e.M(300,230),e.L(380,230),e.stroke(),e.M(160,400),e.L(120,440),e.stroke(),e.M(440,400),e.L(480,440),e.stroke(),e.M(200,50),e.L(180,20),e.stroke(),e.M(400,50),e.L(420,20),e.stroke()}},9203:{width:H,draw:e=>{e.lineWidth(40),e.M(120,480),e.L(480,480),e.stroke(),e.M(120,20),e.L(480,20),e.stroke(),e.M(150,480),e.L(300,250),e.L(450,480),e.stroke(),e.M(150,20),e.L(300,250),e.L(450,20),e.stroke(),e.circle(270,120,15),e.fill(),e.circle(330,120,15),e.fill(),e.circle(300,90,15),e.fill(),e.lineWidth(20),e.M(300,250),e.L(300,160),e.stroke()}},9204:{width:H,draw:e=>{e.M(450,450),e.L(150,250),e.L(450,50),e.Z(),e.fill()}},9205:{width:H,draw:e=>{e.M(150,450),e.L(450,250),e.L(150,50),e.Z(),e.fill()}},9206:{width:H,draw:e=>{e.M(100,100),e.L(500,100),e.L(300,420),e.Z(),e.fill()}},9207:{width:H,draw:e=>{e.M(100,400),e.L(500,400),e.L(300,80),e.Z(),e.fill()}},9211:{width:H,draw:e=>{e.lineWidth(45),e.M(200,380),e.C(120,330,80,230,120,150),e.C(160,70,260,40,300,40),e.C(340,40,440,70,480,150),e.C(520,230,480,330,400,380),e.stroke(),e.M(300,320),e.L(300,150),e.stroke()}},9212:{width:H,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(300,350),e.L(300,150),e.stroke()}},9213:{width:H,draw:e=>{e.lineWidth(50),e.M(300,420),e.L(300,80),e.stroke()}},9214:{width:H,draw:e=>{e.lineWidth(45),e.M(180,400),e.C(100,300,100,150,200,80),e.C(300,10,430,50,480,150),e.C(530,250,470,380,380,420),e.stroke()}},9215:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(250,100),e.L(500,250),e.stroke(),e.circle(250,200,40),e.fill()}}},kR={10496:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(300,150),e.L(300,350),e.stroke()}},10497:{width:H,draw:e=>{e.lineWidth(35),e.M(80,250),e.L(520,250),e.stroke(),e.M(520,250),e.L(420,350),e.L(420,150),e.Z(),e.fill(),e.M(80,250),e.L(180,350),e.L(180,150),e.Z(),e.fill(),e.M(280,150),e.L(280,350),e.stroke(),e.M(320,150),e.L(320,350),e.stroke()}},10498:{width:H,draw:e=>{e.M(100,250),e.L(240,380),e.L(240,300),e.L(500,300),e.L(500,200),e.L(240,200),e.L(240,120),e.Z(),e.fill(),e.lineWidth(40),e.M(340,150),e.L(340,350),e.stroke()}},10499:{width:H,draw:e=>{e.M(500,250),e.L(360,380),e.L(360,300),e.L(100,300),e.L(100,200),e.L(360,200),e.L(360,120),e.Z(),e.fill(),e.lineWidth(40),e.M(260,150),e.L(260,350),e.stroke()}},10500:{width:H,draw:e=>{e.M(80,250),e.L(200,380),e.L(200,300),e.L(400,300),e.L(400,380),e.L(520,250),e.L(400,120),e.L(400,200),e.L(200,200),e.L(200,120),e.Z(),e.fill(),e.lineWidth(40),e.M(300,150),e.L(300,350),e.stroke()}},10501:{width:H,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(100,350),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(200,250),e.L(250,330),e.L(250,170),e.Z(),e.fill()}},10502:{width:H,draw:e=>{e.lineWidth(40),e.M(500,150),e.L(500,350),e.stroke(),e.M(100,250),e.L(280,380),e.L(280,300),e.L(500,300),e.L(500,200),e.L(280,200),e.L(280,120),e.Z(),e.fill()}},10503:{width:H,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(100,350),e.stroke(),e.M(500,250),e.L(320,380),e.L(320,300),e.L(100,300),e.L(100,200),e.L(320,200),e.L(320,120),e.Z(),e.fill()}},10504:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,100),e.stroke(),e.M(300,100),e.L(200,200),e.L(400,200),e.Z(),e.fill(),e.M(200,350),e.L(400,250),e.stroke()}},10505:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,400),e.stroke(),e.M(300,400),e.L(200,300),e.L(400,300),e.Z(),e.fill(),e.M(200,250),e.L(400,150),e.stroke()}},10506:{width:H,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,340),e.L(400,340),e.Z(),e.fill(),e.M(300,50),e.L(200,100),e.L(400,100),e.stroke()}},10507:{width:H,draw:e=>{e.lineWidth(35),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(200,160),e.L(400,160),e.Z(),e.fill(),e.M(300,450),e.L(200,400),e.L(400,400),e.stroke()}},10508:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(400,250),e.stroke(),e.M(350,250),e.L(250,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill()}},10509:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(200,250),e.stroke(),e.M(250,250),e.L(350,250),e.stroke(),e.M(500,250),e.L(370,370),e.L(370,130),e.Z(),e.fill()}},10510:{width:H,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(430,250),e.stroke(),e.M(380,250),e.L(310,250),e.stroke(),e.M(260,250),e.L(190,250),e.stroke(),e.M(100,250),e.L(220,360),e.L(220,140),e.Z(),e.fill()}},10511:{width:H,draw:e=>{e.lineWidth(35),e.M(100,250),e.L(170,250),e.stroke(),e.M(220,250),e.L(290,250),e.stroke(),e.M(340,250),e.L(410,250),e.stroke(),e.M(500,250),e.L(380,360),e.L(380,140),e.Z(),e.fill()}},10512:{width:H,draw:e=>{e.lineWidth(35),e.M(80,250),e.L(150,250),e.stroke(),e.M(200,250),e.L(270,250),e.stroke(),e.M(320,250),e.L(390,250),e.stroke(),e.M(520,250),e.L(400,360),e.L(400,140),e.Z(),e.fill(),e.M(80,250),e.L(160,330),e.L(160,170),e.Z(),e.fill()}},10513:{width:H,draw:e=>{e.circle(150,250,20),e.fill(),e.circle(230,250,20),e.fill(),e.circle(310,250,20),e.fill(),e.lineWidth(40),e.M(370,250),e.L(430,250),e.stroke(),e.M(500,250),e.L(380,350),e.L(380,150),e.Z(),e.fill()}},10514:{width:H,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,380),e.stroke(),e.M(300,380),e.L(200,280),e.L(400,280),e.Z(),e.fill(),e.M(150,430),e.L(450,430),e.stroke()}},10515:{width:H,draw:e=>{e.lineWidth(45),e.M(300,420),e.L(300,100),e.stroke(),e.M(300,100),e.L(200,200),e.L(400,200),e.Z(),e.fill(),e.M(150,50),e.L(450,50),e.stroke()}},10518:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(100,250),e.L(180,340),e.L(180,160),e.Z(),e.fill(),e.M(100,350),e.L(100,150),e.stroke()}},10525:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,350),e.L(500,150),e.stroke()}},10526:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(100,350),e.L(100,150),e.stroke()}},10527:{width:H,draw:e=>{e.lineWidth(35),e.M(500,150),e.L(500,350),e.stroke(),e.M(500,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(150,300),e.L(200,250),e.L(150,200),e.Z(),e.fill()}},10528:{width:H,draw:e=>{e.lineWidth(35),e.M(100,150),e.L(100,350),e.stroke(),e.M(100,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(450,300),e.L(400,250),e.L(450,200),e.Z(),e.fill()}},10529:{width:H,draw:e=>{e.lineWidth(40),e.M(120,420),e.L(480,80),e.stroke(),e.M(120,420),e.L(120,320),e.L(220,420),e.Z(),e.fill(),e.M(480,80),e.L(480,180),e.L(380,80),e.Z(),e.fill()}},10530:{width:H,draw:e=>{e.lineWidth(40),e.M(480,420),e.L(120,80),e.stroke(),e.M(480,420),e.L(380,420),e.L(480,320),e.Z(),e.fill(),e.M(120,80),e.L(220,80),e.L(120,180),e.Z(),e.fill()}},10531:{width:H,draw:e=>{e.lineWidth(40),e.M(150,420),e.L(450,120),e.C(480,80,500,120,480,180),e.stroke(),e.M(150,420),e.L(150,310),e.L(260,420),e.Z(),e.fill()}},10532:{width:H,draw:e=>{e.lineWidth(40),e.M(450,420),e.L(150,120),e.C(120,80,100,120,120,180),e.stroke(),e.M(450,420),e.L(450,310),e.L(340,420),e.Z(),e.fill()}},10533:{width:H,draw:e=>{e.lineWidth(40),e.M(450,80),e.L(150,380),e.C(120,420,100,380,120,320),e.stroke(),e.M(450,80),e.L(450,190),e.L(340,80),e.Z(),e.fill()}},10534:{width:H,draw:e=>{e.lineWidth(40),e.M(150,80),e.L(450,380),e.C(480,420,500,380,480,320),e.stroke(),e.M(150,80),e.L(150,190),e.L(260,80),e.Z(),e.fill()}},10535:{width:H,draw:e=>{e.lineWidth(35),e.M(300,100),e.L(120,400),e.stroke(),e.M(120,400),e.L(120,300),e.L(220,400),e.Z(),e.fill(),e.M(300,100),e.L(480,400),e.stroke(),e.M(480,400),e.L(480,300),e.L(380,400),e.Z(),e.fill()}},10536:{width:H,draw:e=>{e.lineWidth(35),e.M(100,250),e.L(480,420),e.stroke(),e.M(480,420),e.L(380,420),e.L(480,330),e.Z(),e.fill(),e.M(100,250),e.L(480,80),e.stroke(),e.M(480,80),e.L(380,80),e.L(480,170),e.Z(),e.fill()}},10537:{width:H,draw:e=>{e.lineWidth(35),e.M(300,400),e.L(120,100),e.stroke(),e.M(120,100),e.L(220,100),e.L(120,200),e.Z(),e.fill(),e.M(300,400),e.L(480,100),e.stroke(),e.M(480,100),e.L(380,100),e.L(480,200),e.Z(),e.fill()}},10538:{width:H,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(120,80),e.stroke(),e.M(120,80),e.L(120,180),e.L(220,80),e.Z(),e.fill(),e.M(500,250),e.L(120,420),e.stroke(),e.M(120,420),e.L(120,320),e.L(220,420),e.Z(),e.fill()}},10548:{width:H,draw:e=>{e.lineWidth(45),e.M(100,150),e.L(350,150),e.C(430,150,450,250,450,350),e.stroke(),e.M(450,350),e.L(380,230),e.L(520,230),e.Z(),e.fill()}},10549:{width:H,draw:e=>{e.lineWidth(45),e.M(100,350),e.L(350,350),e.C(430,350,450,250,450,150),e.stroke(),e.M(450,150),e.L(380,270),e.L(520,270),e.Z(),e.fill()}},10550:{width:H,draw:e=>{e.lineWidth(45),e.M(500,400),e.L(300,400),e.C(200,400,150,300,150,200),e.stroke(),e.M(150,200),e.L(80,300),e.L(220,300),e.Z(),e.fill()}},10551:{width:H,draw:e=>{e.lineWidth(45),e.M(100,400),e.L(300,400),e.C(400,400,450,300,450,200),e.stroke(),e.M(450,200),e.L(380,300),e.L(520,300),e.Z(),e.fill()}},10552:{width:H,draw:e=>{e.lineWidth(40),e.M(400,400),e.C(500,350,500,150,400,100),e.C(300,50,200,100,150,200),e.stroke(),e.M(400,400),e.L(330,340),e.L(450,340),e.Z(),e.fill()}},10553:{width:H,draw:e=>{e.lineWidth(40),e.M(200,400),e.C(100,350,100,150,200,100),e.C(300,50,400,100,450,200),e.stroke(),e.M(200,400),e.L(270,340),e.L(150,340),e.Z(),e.fill()}},10554:{width:H,draw:e=>{e.lineWidth(40),e.M(100,200),e.C(100,350,250,430,400,380),e.C(480,340,500,250,450,180),e.stroke(),e.M(100,200),e.L(170,270),e.L(170,130),e.Z(),e.fill()}},10555:{width:H,draw:e=>{e.lineWidth(40),e.M(500,300),e.C(500,150,350,70,200,120),e.C(120,160,100,250,150,320),e.stroke(),e.M(500,300),e.L(430,230),e.L(430,370),e.Z(),e.fill()}},10560:{width:H,draw:e=>{e.lineWidth(40),e.M(300,430),e.C(180,430,100,350,100,250),e.C(100,150,180,70,300,70),e.C(420,70,500,150,500,250),e.C(500,350,420,430,340,430),e.stroke(),e.M(300,430),e.L(240,370),e.L(240,480),e.Z(),e.fill()}},10561:{width:H,draw:e=>{e.lineWidth(40),e.M(300,430),e.C(420,430,500,350,500,250),e.C(500,150,420,70,300,70),e.C(180,70,100,150,100,250),e.C(100,350,180,430,260,430),e.stroke(),e.M(300,430),e.L(360,370),e.L(360,480),e.Z(),e.fill()}},10562:{width:H,draw:e=>{e.lineWidth(30),e.M(100,320),e.L(460,320),e.stroke(),e.M(500,320),e.L(400,380),e.L(400,260),e.Z(),e.fill(),e.M(400,180),e.L(180,180),e.stroke(),e.M(140,180),e.L(240,240),e.L(240,120),e.Z(),e.fill()}},10563:{width:H,draw:e=>{e.lineWidth(30),e.M(500,320),e.L(140,320),e.stroke(),e.M(100,320),e.L(200,380),e.L(200,260),e.Z(),e.fill(),e.M(200,180),e.L(420,180),e.stroke(),e.M(460,180),e.L(360,240),e.L(360,120),e.Z(),e.fill()}},10564:{width:H,draw:e=>{e.lineWidth(30),e.M(200,320),e.L(420,320),e.stroke(),e.M(460,320),e.L(360,380),e.L(360,260),e.Z(),e.fill(),e.M(500,180),e.L(140,180),e.stroke(),e.M(100,180),e.L(200,240),e.L(200,120),e.Z(),e.fill()}},10565:{width:H,draw:e=>{e.lineWidth(40),e.M(100,300),e.L(460,300),e.stroke(),e.M(500,300),e.L(400,380),e.L(400,220),e.Z(),e.fill(),e.lineWidth(30),e.M(270,100),e.L(330,100),e.stroke(),e.M(300,70),e.L(300,130),e.stroke()}},10568:{width:H,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(460,350),e.stroke(),e.M(500,350),e.L(400,410),e.L(400,290),e.Z(),e.fill(),e.lineWidth(30),e.M(140,200),e.C(220,240,360,160,460,200),e.stroke(),e.M(140,130),e.C(220,170,360,90,460,130),e.stroke()}},10570:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,370),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,130),e.L(400,250),e.Z(),e.fill()}},10571:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,130),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,370),e.L(400,250),e.Z(),e.fill()}},10572:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(400,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(200,150),e.L(300,150),e.Z(),e.fill()}},10573:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(400,150),e.L(300,150),e.Z(),e.fill()}},10574:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,370),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,370),e.L(400,250),e.Z(),e.fill()}},10575:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(400,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(400,150),e.L(300,150),e.Z(),e.fill()}},10576:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,130),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,130),e.L(400,250),e.Z(),e.fill()}},10577:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(200,150),e.L(300,150),e.Z(),e.fill()}},10594:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(150,250),e.stroke(),e.M(150,250),e.L(260,370),e.L(260,250),e.Z(),e.fill(),e.M(500,150),e.L(500,350),e.stroke()}},10596:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(450,250),e.stroke(),e.M(450,250),e.L(340,370),e.L(340,250),e.Z(),e.fill(),e.M(100,150),e.L(100,350),e.stroke()}},10602:{width:H,draw:e=>{e.lineWidth(35),e.M(100,300),e.L(500,300),e.stroke(),e.M(100,300),e.L(200,400),e.L(200,300),e.Z(),e.fill(),e.M(100,200),e.L(500,200),e.stroke(),e.M(500,200),e.L(400,300),e.L(400,200),e.Z(),e.fill()}},10603:{width:H,draw:e=>{e.lineWidth(35),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,200),e.L(200,100),e.L(200,200),e.Z(),e.fill(),e.M(100,300),e.L(500,300),e.stroke(),e.M(500,300),e.L(400,200),e.L(400,300),e.Z(),e.fill()}},10604:{width:H,draw:e=>{e.lineWidth(35),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,200),e.L(200,300),e.L(200,200),e.Z(),e.fill(),e.M(100,300),e.L(500,300),e.stroke(),e.M(500,300),e.L(400,200),e.L(400,300),e.Z(),e.fill()}},10605:{width:H,draw:e=>{e.lineWidth(35),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,200),e.L(200,100),e.L(200,200),e.Z(),e.fill(),e.M(100,300),e.L(500,300),e.stroke(),e.M(500,300),e.L(400,400),e.L(400,300),e.Z(),e.fill()}},10606:{width:H,draw:e=>{e.lineWidth(35),e.M(230,80),e.L(230,420),e.stroke(),e.M(230,420),e.L(150,320),e.L(230,320),e.Z(),e.fill(),e.M(370,420),e.L(370,80),e.stroke(),e.M(370,80),e.L(450,180),e.L(370,180),e.Z(),e.fill()}},10607:{width:H,draw:e=>{e.lineWidth(35),e.M(230,420),e.L(230,80),e.stroke(),e.M(230,80),e.L(150,180),e.L(230,180),e.Z(),e.fill(),e.M(370,80),e.L(370,420),e.stroke(),e.M(370,420),e.L(450,320),e.L(370,320),e.Z(),e.fill()}},10608:{width:H,draw:e=>{e.lineWidth(35),e.M(100,300),e.L(420,300),e.stroke(),e.M(100,200),e.L(420,200),e.stroke(),e.M(500,250),e.C(480,300,440,350,420,350),e.stroke(),e.M(500,250),e.C(480,200,440,150,420,150),e.stroke()}},10612:{width:H,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(460,350),e.stroke(),e.M(500,350),e.L(400,410),e.L(400,290),e.Z(),e.fill(),e.lineWidth(30),e.M(460,200),e.C(380,240,220,160,140,200),e.stroke(),e.M(460,130),e.C(380,170,220,90,140,130),e.stroke()}},10613:{width:H,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(460,350),e.stroke(),e.M(500,350),e.L(400,410),e.L(400,290),e.Z(),e.fill(),e.lineWidth(35),e.M(140,170),e.C(220,230,380,110,460,170),e.stroke()}},10614:{width:H,draw:e=>{e.lineWidth(35),e.M(500,350),e.L(140,350),e.stroke(),e.M(100,350),e.L(200,410),e.L(200,290),e.Z(),e.fill(),e.lineWidth(35),e.M(140,170),e.C(220,230,380,110,460,170),e.stroke()}},10615:{width:H,draw:e=>{e.lineWidth(35),e.M(500,350),e.L(140,350),e.stroke(),e.M(100,350),e.L(200,410),e.L(200,290),e.Z(),e.fill(),e.lineWidth(30),e.M(140,200),e.C(220,240,360,160,460,200),e.stroke(),e.M(140,130),e.C(220,170,360,90,460,130),e.stroke()}},10616:{width:H,draw:e=>{e.lineWidth(35),e.M(100,380),e.L(460,380),e.stroke(),e.M(500,380),e.L(400,440),e.L(400,320),e.Z(),e.fill(),e.lineWidth(30),e.M(140,220),e.C(220,260,360,180,460,220),e.stroke(),e.M(140,150),e.C(220,190,360,110,460,150),e.stroke(),e.M(350,260),e.L(250,100),e.stroke()}},10617:{width:H,draw:e=>{e.lineWidth(35),e.M(120,250),e.L(480,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill()}},10618:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(130,250),e.stroke(),e.M(100,250),e.L(210,350),e.L(210,150),e.Z(),e.fill(),e.M(280,180),e.L(370,320),e.stroke(),e.M(370,180),e.L(280,320),e.stroke()}},10619:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(470,250),e.stroke(),e.M(500,250),e.L(390,350),e.L(390,150),e.Z(),e.fill(),e.M(230,180),e.L(320,320),e.stroke(),e.M(320,180),e.L(230,320),e.stroke()}},10620:{width:H,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(520,250),e.stroke(),e.M(520,250),e.L(420,370),e.L(420,250),e.Z(),e.fill()}},10621:{width:H,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(520,250),e.stroke(),e.M(520,250),e.L(420,130),e.L(420,250),e.Z(),e.fill()}},10622:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(400,350),e.L(300,350),e.Z(),e.fill()}},10623:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,350),e.L(300,350),e.Z(),e.fill()}}},AR={10176:{width:H,draw:e=>{e.lineWidth(45),e.M(450,80),e.L(150,80),e.L(350,420),e.stroke(),e.M(150,80),e.L(250,200),e.stroke()}},10177:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.M(300,320),e.L(220,140),e.L(380,140),e.Z(),e.stroke()}},10178:{width:H,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(500,80),e.stroke(),e.M(300,80),e.L(300,420),e.stroke()}},10179:{width:H,draw:e=>{e.lineWidth(45),e.M(450,420),e.C(250,420,150,350,150,250),e.C(150,150,250,80,450,80),e.stroke()}},10180:{width:H,draw:e=>{e.lineWidth(45),e.M(150,420),e.C(350,420,450,350,450,250),e.C(450,150,350,80,150,80),e.stroke()}},10181:{width:H,draw:e=>{e.lineWidth(45),e.M(350,460),e.C(200,460,200,300,300,250),e.C(400,200,400,40,250,40),e.stroke()}},10182:{width:H,draw:e=>{e.lineWidth(45),e.M(250,460),e.C(400,460,400,300,300,250),e.C(200,200,200,40,350,40),e.stroke()}},10183:{width:H,draw:e=>{e.lineWidth(50),e.M(100,420),e.L(300,80),e.L(500,420),e.stroke(),e.circle(300,280,30),e.fill()}},10184:{width:H,draw:e=>{e.lineWidth(45),e.M(150,420),e.L(300,80),e.stroke(),e.M(450,420),e.C(350,420,300,350,300,250),e.C(300,150,350,80,450,80),e.stroke()}},10185:{width:H,draw:e=>{e.lineWidth(45),e.M(150,420),e.C(250,420,300,350,300,250),e.C(300,150,250,80,150,80),e.stroke(),e.M(450,420),e.L(300,80),e.stroke()}},10186:{width:H,draw:e=>{e.lineWidth(50),e.M(300,80),e.L(300,420),e.stroke(),e.M(150,250),e.L(450,250),e.stroke()}},10187:{width:H,draw:e=>{e.lineWidth(45),e.M(120,80),e.L(480,420),e.stroke()}},10188:{width:H,draw:e=>{e.lineWidth(45),e.M(200,80),e.C(150,80,120,120,120,200),e.L(120,420),e.stroke(),e.M(200,420),e.L(500,420),e.stroke()}},10189:{width:H,draw:e=>{e.lineWidth(45),e.M(120,420),e.L(480,80),e.stroke()}},10190:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,150),e.L(300,380),e.L(400,150),e.stroke()}},10191:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,350),e.L(300,120),e.L(400,350),e.stroke()}},10192:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.circle(300,250,30),e.fill()}},10193:{width:H,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(300,420),e.L(500,80),e.stroke(),e.circle(300,250,30),e.fill()}},10194:{width:H,draw:e=>{e.lineWidth(45),e.M(150,80),e.L(450,80),e.stroke(),e.M(300,80),e.L(300,420),e.stroke()}},10195:{width:H,draw:e=>{e.lineWidth(45),e.M(150,420),e.L(450,420),e.L(450,80),e.stroke(),e.circle(300,250,30),e.fill()}},10196:{width:H,draw:e=>{e.lineWidth(45),e.M(150,80),e.L(150,420),e.stroke(),e.M(150,420),e.L(450,420),e.stroke(),e.circle(300,250,30),e.fill()}},10197:{width:H,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(500,250),e.L(300,80),e.stroke(),e.M(100,420),e.L(300,420),e.stroke(),e.M(100,80),e.L(300,80),e.stroke(),e.M(100,80),e.L(100,420),e.stroke()}},10198:{width:H,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(100,250),e.L(300,80),e.stroke(),e.M(300,420),e.L(500,420),e.stroke(),e.M(300,80),e.L(500,80),e.stroke(),e.M(500,80),e.L(500,420),e.stroke()}},10199:{width:H,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(500,250),e.L(300,80),e.L(100,250),e.Z(),e.stroke()}},10200:{width:H,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(500,80),e.stroke(),e.M(300,80),e.L(300,420),e.stroke()}},10201:{width:H,draw:e=>{e.lineWidth(50),e.M(100,420),e.L(500,420),e.stroke(),e.M(300,420),e.L(300,80),e.stroke()}},10202:{width:H,draw:e=>{e.lineWidth(40),e.M(200,80),e.L(200,420),e.stroke(),e.M(250,80),e.L(250,420),e.stroke(),e.M(350,80),e.L(350,420),e.stroke(),e.M(400,80),e.L(400,420),e.stroke(),e.M(250,250),e.L(350,250),e.stroke()}},10203:{width:H,draw:e=>{e.lineWidth(45),e.M(200,80),e.L(200,420),e.stroke(),e.M(400,80),e.L(400,420),e.stroke(),e.M(200,250),e.L(400,250),e.stroke()}},10204:{width:H,draw:e=>{e.lineWidth(45),e.M(150,250),e.L(400,250),e.stroke(),e.circle(450,250,50),e.stroke()}},10205:{width:H,draw:e=>{e.lineWidth(45),e.M(150,80),e.L(150,420),e.stroke(),e.M(150,250),e.L(500,250),e.stroke()}},10206:{width:H,draw:e=>{e.lineWidth(45),e.M(450,80),e.L(450,420),e.stroke(),e.M(100,250),e.L(450,250),e.stroke()}},10207:{width:H,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(300,100),e.L(300,320),e.stroke(),e.circle(300,390,50),e.stroke()}},10208:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(90,250),e.L(510,250),e.stroke()}},10209:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,300,100,250,100,250),e.C(100,250,250,200,300,50),e.C(350,200,500,250,500,250),e.C(500,250,350,300,300,450),e.stroke()}},10210:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(100,250),e.L(300,50),e.L(500,250),e.Z(),e.stroke(),e.M(400,250),e.L(300,250),e.stroke()}},10211:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,350,100,300,100,250),e.C(100,200,250,150,300,50),e.C(350,150,500,200,500,250),e.C(500,300,350,350,300,450),e.stroke()}},10212:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,350,100,300,100,250),e.C(100,200,250,150,300,50),e.C(350,150,500,200,500,250),e.C(500,300,350,350,300,450),e.stroke(),e.M(200,250),e.L(300,250),e.stroke()}},10213:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,350,100,300,100,250),e.C(100,200,250,150,300,50),e.C(350,150,500,200,500,250),e.C(500,300,350,350,300,450),e.stroke(),e.M(300,250),e.L(400,250),e.stroke()}},10214:{width:H,draw:e=>{e.lineWidth(45),e.M(380,470),e.L(200,470),e.L(200,30),e.L(380,30),e.stroke(),e.M(260,470),e.L(260,30),e.stroke()}},10215:{width:H,draw:e=>{e.lineWidth(45),e.M(220,470),e.L(400,470),e.L(400,30),e.L(220,30),e.stroke(),e.M(340,470),e.L(340,30),e.stroke()}},10220:{width:H,draw:e=>{e.lineWidth(45),e.M(380,470),e.C(200,400,200,100,380,30),e.stroke(),e.M(340,460),e.C(180,400,180,100,340,40),e.stroke()}},10221:{width:H,draw:e=>{e.lineWidth(45),e.M(220,470),e.C(400,400,400,100,220,30),e.stroke(),e.M(260,460),e.C(420,400,420,100,260,40),e.stroke()}},10222:{width:H,draw:e=>{e.lineWidth(45),e.M(370,470),e.C(230,380,230,120,370,30),e.stroke()}},10223:{width:H,draw:e=>{e.lineWidth(45),e.M(230,470),e.C(370,380,370,120,230,30),e.stroke()}}},jR={11008:{width:H,draw:e=>{e.lineWidth(40),e.M(120,80),e.L(480,420),e.stroke(),e.M(480,420),e.L(350,420),e.L(480,290),e.Z(),e.stroke()}},11009:{width:H,draw:e=>{e.lineWidth(40),e.M(480,80),e.L(120,420),e.stroke(),e.M(120,420),e.L(120,290),e.L(250,420),e.Z(),e.stroke()}},11010:{width:H,draw:e=>{e.lineWidth(40),e.M(120,420),e.L(480,80),e.stroke(),e.M(480,80),e.L(480,210),e.L(350,80),e.Z(),e.stroke()}},11011:{width:H,draw:e=>{e.lineWidth(40),e.M(480,420),e.L(120,80),e.stroke(),e.M(120,80),e.L(250,80),e.L(120,210),e.Z(),e.stroke()}},11012:{width:H,draw:e=>{e.lineWidth(40),e.M(60,250),e.L(200,400),e.L(200,310),e.L(400,310),e.L(400,400),e.L(540,250),e.L(400,100),e.L(400,190),e.L(200,190),e.L(200,100),e.Z(),e.stroke()}},11016:{width:H,draw:e=>{e.M(120,80),e.L(480,420),e.L(350,420),e.L(480,290),e.Z(),e.fill(),e.lineWidth(50),e.M(140,100),e.L(440,400),e.stroke()}},11017:{width:H,draw:e=>{e.M(480,80),e.L(120,420),e.L(120,290),e.L(250,420),e.Z(),e.fill(),e.lineWidth(50),e.M(460,100),e.L(160,400),e.stroke()}},11018:{width:H,draw:e=>{e.M(120,420),e.L(480,80),e.L(480,210),e.L(350,80),e.Z(),e.fill(),e.lineWidth(50),e.M(140,400),e.L(460,100),e.stroke()}},11019:{width:H,draw:e=>{e.M(480,420),e.L(120,80),e.L(250,80),e.L(120,210),e.Z(),e.fill(),e.lineWidth(50),e.M(460,400),e.L(160,100),e.stroke()}},11020:{width:H,draw:e=>{e.M(60,250),e.L(200,400),e.L(200,310),e.L(400,310),e.L(400,400),e.L(540,250),e.L(400,100),e.L(400,190),e.L(200,190),e.L(200,100),e.Z(),e.fill()}},11021:{width:H,draw:e=>{e.M(300,480),e.L(450,340),e.L(370,340),e.L(370,160),e.L(450,160),e.L(300,20),e.L(150,160),e.L(230,160),e.L(230,340),e.L(150,340),e.Z(),e.fill()}},11022:{width:H,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(400,350),e.L(400,150),e.stroke(),e.M(400,150),e.L(330,250),e.L(470,250),e.Z(),e.fill()}},11023:{width:H,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(400,150),e.L(400,350),e.stroke(),e.M(400,350),e.L(330,250),e.L(470,250),e.Z(),e.fill()}},11024:{width:H,draw:e=>{e.lineWidth(40),e.M(500,350),e.L(200,350),e.L(200,150),e.stroke(),e.M(200,150),e.L(130,250),e.L(270,250),e.Z(),e.fill()}},11025:{width:H,draw:e=>{e.lineWidth(40),e.M(500,150),e.L(200,150),e.L(200,350),e.stroke(),e.M(200,350),e.L(130,250),e.L(270,250),e.Z(),e.fill()}},11026:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(100,250,400,200),e.fill()}},11027:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(100,50,400,200),e.fill()}},11028:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(100,450),e.L(500,450),e.L(500,50),e.Z(),e.fill()}},11029:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(100,50),e.L(100,450),e.L(500,50),e.Z(),e.fill()}},11030:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(300,470),e.L(90,250),e.L(300,30),e.Z(),e.fill()}},11031:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(300,470),e.L(510,250),e.L(300,30),e.Z(),e.fill()}},11032:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(90,250),e.L(300,470),e.L(510,250),e.Z(),e.fill()}},11033:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(90,250),e.L(300,30),e.L(510,250),e.Z(),e.fill()}},11034:{width:H,draw:e=>{e.lineWidth(25);for(let t=0;t<8;t++){let n=100+t*50;e.M(n,450),e.L(n+30,450)}for(let t=0;t<8;t++){let n=100+t*50;e.M(n,50),e.L(n+30,50)}for(let t=0;t<8;t++){let n=50+t*50;e.M(100,n),e.L(100,n+30)}for(let t=0;t<8;t++){let n=50+t*50;e.M(500,n),e.L(500,n+30)}e.stroke()}},11037:{width:H,draw:e=>{e.rect(240,190,120,120),e.fill()}},11038:{width:H,draw:e=>{e.lineWidth(30),e.rect(240,190,120,120),e.stroke()}},11039:{width:H,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.fill()}},11040:{width:H,draw:e=>{e.lineWidth(40);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.stroke()}},11041:{width:H,draw:e=>{e.lineWidth(40);for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.stroke()}},11042:{width:H,draw:e=>{for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.fill()}},11043:{width:H,draw:e=>{for(let t=0;t<6;t++){let n=t*60*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.fill()}},11044:{width:H,draw:e=>{e.circle(300,250,230),e.fill()}},11045:{width:H,draw:e=>{e.M(300,470),e.L(480,250),e.L(300,30),e.L(120,250),e.Z(),e.fill()}},11046:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(480,250),e.L(300,30),e.L(120,250),e.Z(),e.stroke()}},11047:{width:H,draw:e=>{e.M(300,490),e.L(460,250),e.L(300,10),e.L(140,250),e.Z(),e.fill()}},11048:{width:H,draw:e=>{e.lineWidth(40),e.M(300,490),e.L(460,250),e.L(300,10),e.L(140,250),e.Z(),e.stroke()}},11049:{width:H,draw:e=>{e.M(300,380),e.L(400,250),e.L(300,120),e.L(200,250),e.Z(),e.fill()}},11050:{width:H,draw:e=>{e.M(300,400),e.L(380,250),e.L(300,100),e.L(220,250),e.Z(),e.fill()}},11051:{width:H,draw:e=>{e.lineWidth(35),e.M(300,400),e.L(380,250),e.L(300,100),e.L(220,250),e.Z(),e.stroke()}},11052:{width:H,draw:e=>{e.ellipse(300,250,220,120),e.fill()}},11053:{width:H,draw:e=>{e.lineWidth(40),e.ellipse(300,250,220,120),e.stroke()}},11054:{width:H,draw:e=>{e.ellipse(300,250,120,220),e.fill()}},11055:{width:H,draw:e=>{e.lineWidth(40),e.ellipse(300,250,120,220),e.stroke()}},11056:{width:H,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill(),e.circle(510,250,30),e.fill()}},11057:{width:H,draw:e=>{e.lineWidth(25);for(let t=150;t<=350;t+=100)e.M(500,t),e.L(200,t),e.stroke(),e.M(120,t),e.L(220,t+60),e.L(220,t-60),e.Z(),e.fill()}},11058:{width:H,draw:e=>{e.lineWidth(35),e.M(460,250),e.L(200,250),e.stroke(),e.M(120,250),e.L(220,350),e.L(220,150),e.Z(),e.fill(),e.circle(500,250,40),e.stroke(),e.M(480,250),e.L(520,250),e.stroke(),e.M(500,230),e.L(500,270),e.stroke()}},11059:{width:H,draw:e=>{e.lineWidth(35),e.M(520,250),e.C(480,330,420,170,360,250),e.C(300,330,240,170,180,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill()}},11060:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(300,150),e.L(300,350),e.stroke()}},11061:{width:H,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(280,150),e.L(280,350),e.stroke(),e.M(320,150),e.L(320,350),e.stroke()}},11062:{width:H,draw:e=>{e.lineWidth(40),e.M(500,150),e.L(500,350),e.stroke(),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(400,250),e.L(450,320),e.L(450,180),e.Z(),e.fill()}},11063:{width:H,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(430,250),e.stroke(),e.M(380,250),e.L(310,250),e.stroke(),e.M(260,250),e.L(190,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(430,330),e.L(430,170),e.Z(),e.fill()}},11064:{width:H,draw:e=>{e.circle(450,250,20),e.fill(),e.circle(370,250,20),e.fill(),e.circle(290,250,20),e.fill(),e.lineWidth(40),e.M(230,250),e.L(170,250),e.stroke(),e.M(100,250),e.L(220,350),e.L(220,150),e.Z(),e.fill()}},11065:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(150,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,350),e.L(500,150),e.stroke(),e.M(350,150),e.L(350,350),e.stroke()}},11066:{width:H,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(150,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill(),e.M(500,340),e.L(500,160),e.stroke(),e.M(330,160),e.L(330,340),e.stroke(),e.M(370,160),e.L(370,340),e.stroke()}},11067:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(500,350),e.L(500,150),e.stroke()}},11068:{width:H,draw:e=>{e.lineWidth(35),e.M(520,250),e.L(80,250),e.stroke(),e.M(80,250),e.L(170,340),e.L(170,160),e.Z(),e.fill(),e.M(520,250),e.L(430,340),e.L(430,160),e.Z(),e.fill(),e.M(520,340),e.L(520,160),e.stroke(),e.M(300,160),e.L(300,340),e.stroke()}},11069:{width:H,draw:e=>{e.lineWidth(30),e.M(530,250),e.L(70,250),e.stroke(),e.M(70,250),e.L(160,340),e.L(160,160),e.Z(),e.fill(),e.M(530,250),e.L(440,340),e.L(440,160),e.Z(),e.fill(),e.M(530,340),e.L(530,160),e.stroke(),e.M(280,160),e.L(280,340),e.stroke(),e.M(320,160),e.L(320,340),e.stroke()}},11070:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(130,250),e.stroke(),e.M(100,250),e.L(210,350),e.L(210,150),e.Z(),e.fill(),e.M(310,180),e.L(390,320),e.stroke(),e.M(390,180),e.L(310,320),e.stroke()}},11071:{width:H,draw:e=>{e.lineWidth(35),e.M(500,250),e.C(440,330,380,170,300,250),e.C(240,330,200,170,160,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill()}},11072:{width:H,draw:e=>{e.lineWidth(35),e.M(500,200),e.L(140,200),e.stroke(),e.M(100,200),e.L(200,270),e.L(200,130),e.Z(),e.fill(),e.M(150,350),e.L(470,350),e.stroke(),e.M(150,400),e.L(470,400),e.stroke()}},11073:{width:H,draw:e=>{e.lineWidth(35),e.M(500,200),e.L(140,200),e.stroke(),e.M(100,200),e.L(200,270),e.L(200,130),e.Z(),e.fill(),e.M(470,380),e.C(400,430,200,330,140,380),e.stroke()}},11077:{width:H,draw:e=>{e.lineWidth(25),e.M(500,330),e.L(200,330),e.stroke(),e.M(500,280),e.L(200,280),e.stroke(),e.M(500,230),e.L(200,230),e.stroke(),e.M(500,180),e.L(200,180),e.stroke(),e.M(100,250),e.L(230,400),e.L(230,100),e.Z(),e.fill()}},11078:{width:H,draw:e=>{e.lineWidth(25),e.M(100,330),e.L(400,330),e.stroke(),e.M(100,280),e.L(400,280),e.stroke(),e.M(100,230),e.L(400,230),e.stroke(),e.M(100,180),e.L(400,180),e.stroke(),e.M(500,250),e.L(370,400),e.L(370,100),e.Z(),e.fill()}},11089:{width:H,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),260+200*Math.sin(n)):e.L(300+200*Math.cos(n),260+200*Math.sin(n)),e.L(300+80*Math.cos(r),260+80*Math.sin(r))}e.Z(),e.fill()}},11090:{width:H,draw:e=>{e.lineWidth(35);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),260+200*Math.sin(n)):e.L(300+200*Math.cos(n),260+200*Math.sin(n)),e.L(300+80*Math.cos(r),260+80*Math.sin(r))}e.Z(),e.stroke()}},11091:{width:H,draw:e=>{for(let t=0;t<4;t++){let n=(t*90-90)*Math.PI/180,r=(t*90+45-90)*Math.PI/180;t===0?e.M(300+210*Math.cos(n),260+210*Math.sin(n)):e.L(300+210*Math.cos(n),260+210*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.fill()}},11092:{width:H,draw:e=>{e.lineWidth(40);for(let t=0;t<4;t++){let n=(t*90-90)*Math.PI/180,r=(t*90+45-90)*Math.PI/180;t===0?e.M(300+210*Math.cos(n),260+210*Math.sin(n)):e.L(300+210*Math.cos(n),260+210*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke()}},11093:{width:H,draw:e=>{e.lineWidth(60),e.circle(300,250,210),e.stroke()}},11094:{width:H,draw:e=>{e.circle(300,250,40),e.fill()}},11095:{width:H,draw:e=>{e.lineWidth(50),e.circle(300,250,180),e.stroke()}},11096:{width:H,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke()}},11097:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.circle(300,250,100),e.stroke()}},11104:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(230,380),e.L(230,120),e.Z(),e.fill()}},11105:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,350),e.stroke(),e.M(300,450),e.L(180,320),e.L(420,320),e.Z(),e.fill()}},11106:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},11107:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,150),e.stroke(),e.M(300,50),e.L(180,180),e.L(420,180),e.Z(),e.fill()}},11108:{width:H,draw:e=>{e.lineWidth(35),e.M(180,250),e.L(420,250),e.stroke(),e.M(100,250),e.L(210,350),e.L(210,150),e.Z(),e.fill(),e.M(500,250),e.L(390,350),e.L(390,150),e.Z(),e.fill()}},11109:{width:H,draw:e=>{e.lineWidth(35),e.M(300,140),e.L(300,360),e.stroke(),e.M(300,460),e.L(200,350),e.L(400,350),e.Z(),e.fill(),e.M(300,40),e.L(200,150),e.L(400,150),e.Z(),e.fill()}},11120:{width:H,draw:e=>{e.lineWidth(30),e.M(500,280),e.L(200,280),e.stroke(),e.M(500,220),e.L(200,220),e.stroke(),e.M(100,250),e.L(230,380),e.L(230,120),e.Z(),e.fill()}},11122:{width:H,draw:e=>{e.lineWidth(30),e.M(100,280),e.L(400,280),e.stroke(),e.M(100,220),e.L(400,220),e.stroke(),e.M(500,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},11157:{width:H,draw:e=>{e.M(550,250),e.L(370,420),e.L(370,310),e.L(50,310),e.L(50,190),e.L(370,190),e.L(370,80),e.Z(),e.fill()}},11118:{width:H,draw:e=>{e.lineWidth(40),e.M(150,400),e.L(150,200),e.C(150,80,300,50,450,80),e.C(500,100,520,200,450,250),e.stroke(),e.M(150,400),e.L(80,300),e.L(220,300),e.Z(),e.fill()}},11119:{width:H,draw:e=>{e.lineWidth(40),e.M(450,400),e.L(450,200),e.C(450,80,300,50,150,80),e.C(100,100,80,200,150,250),e.stroke(),e.M(450,400),e.L(380,300),e.L(520,300),e.Z(),e.fill()}},11134:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(430,250),e.stroke(),e.M(500,250),e.L(380,360),e.L(380,140),e.Z(),e.fill(),e.M(100,150),e.L(100,350),e.stroke()}},11135:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(170,250),e.stroke(),e.M(100,250),e.L(220,360),e.L(220,140),e.Z(),e.fill(),e.M(500,150),e.L(500,350),e.stroke()}},11144:{width:H,draw:e=>{e.circle(300,250,220),e.fill()}},11146:{width:H,draw:e=>{e.circle(300,250,220),e.fill()}},11148:{width:H,draw:e=>{e.lineWidth(40),e.M(350,430),e.C(200,430,100,350,100,250),e.C(100,150,200,70,350,70),e.C(480,70,520,200,500,300),e.stroke(),e.M(350,430),e.L(290,370),e.L(400,370),e.Z(),e.fill()}},11150:{width:H,draw:e=>{e.lineWidth(40),e.M(250,430),e.C(400,430,500,350,500,250),e.C(500,150,400,70,250,70),e.C(120,70,80,200,100,300),e.stroke(),e.M(250,430),e.L(200,370),e.L(310,370),e.Z(),e.fill()}},11152:{width:H,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(200,250),e.stroke(),e.M(120,250),e.L(170,300),e.L(220,250),e.L(170,200),e.Z(),e.fill()}},11153:{width:H,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(400,250),e.stroke(),e.M(480,250),e.L(430,300),e.L(380,250),e.L(430,200),e.Z(),e.fill()}},11165:{width:H,draw:e=>{e.M(300,450),e.L(150,100),e.L(450,100),e.Z(),e.fill()}},11166:{width:H,draw:e=>{e.M(150,450),e.L(500,250),e.L(150,50),e.Z(),e.fill()}},11167:{width:H,draw:e=>{e.M(150,400),e.L(450,400),e.L(300,50),e.Z(),e.fill()}},11168:{width:H,draw:e=>{e.M(450,450),e.L(100,250),e.L(450,50),e.Z(),e.fill()}},11169:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(150,100),e.L(450,100),e.Z(),e.stroke()}},11170:{width:H,draw:e=>{e.lineWidth(40),e.M(150,450),e.L(500,250),e.L(150,50),e.Z(),e.stroke()}},11171:{width:H,draw:e=>{e.lineWidth(40),e.M(150,400),e.L(450,400),e.L(300,50),e.Z(),e.stroke()}},11172:{width:H,draw:e=>{e.lineWidth(40),e.M(450,450),e.L(100,250),e.L(450,50),e.Z(),e.stroke()}}}}));function U(e,t,n,r,i,a){return{width:W,draw:o=>{a||o.lineWidth(30);for(let a=0;a<e;a++){let s=(a*360/e-90)*Math.PI/180,c=(a*360/e+180/e-90)*Math.PI/180;a===0?o.M(t+r*Math.cos(s),n+r*Math.sin(s)):o.L(t+r*Math.cos(s),n+r*Math.sin(s)),o.L(t+i*Math.cos(c),n+i*Math.sin(c))}o.Z(),a?o.fill():o.stroke()}}}function NR(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r,s=300+r*220,c=250+i*220,l=300-r*220,u=250-i*220,d=300-r*60,f=250-i*60;return{width:W,draw:e=>{e.M(l-a*50,u-o*50),e.L(d-a*50,f-o*50),e.L(d-a*120,f-o*120),e.L(s,c),e.L(d+a*120,f+o*120),e.L(d+a*50,f+o*50),e.L(l+a*50,u+o*50),e.Z(),e.fill()}}}function PR(e){let t={1:[[300,250]],2:[[200,350],[400,150]],3:[[200,350],[300,250],[400,150]],4:[[200,350],[400,350],[200,150],[400,150]],5:[[200,350],[400,350],[300,250],[200,150],[400,150]],6:[[200,350],[400,350],[200,250],[400,250],[200,150],[400,150]]};return{width:W,draw:n=>{n.lineWidth(35),n.rect(100,50,400,400),n.stroke();let r=t[e]??[];for(let[e,t]of r)n.circle(e,t,30),n.fill()}}}function FR(e,t){return{width:W,draw:n=>{switch(t||n.lineWidth(30),n.rect(180,30,240,40),t?n.fill():n.stroke(),e){case`king`:n.M(220,70),n.L(220,350),n.L(380,350),n.L(380,70),n.Z(),t?n.fill():n.stroke(),n.lineWidth(35),n.M(300,350),n.L(300,450),n.stroke(),n.M(260,420),n.L(340,420),n.stroke();break;case`queen`:n.M(220,70),n.L(200,350),n.L(400,350),n.L(380,70),n.Z(),t?n.fill():n.stroke(),n.lineWidth(25),n.M(200,350),n.L(160,430),n.stroke(),n.M(270,350),n.L(250,440),n.stroke(),n.M(300,350),n.L(300,460),n.stroke(),n.M(330,350),n.L(350,440),n.stroke(),n.M(400,350),n.L(440,430),n.stroke();break;case`rook`:n.M(200,70),n.L(200,350),n.L(400,350),n.L(400,70),n.Z(),t?n.fill():n.stroke(),n.rect(180,350,60,80),t?n.fill():n.stroke(),n.rect(270,350,60,80),t?n.fill():n.stroke(),n.rect(360,350,60,80),t?n.fill():n.stroke();break;case`bishop`:n.M(230,70),n.L(200,300),n.C(200,400,400,400,400,300),n.L(370,70),n.Z(),t?n.fill():n.stroke(),n.M(300,300),n.L(300,460),t||n.lineWidth(25),n.stroke();break;case`knight`:n.M(220,70),n.L(220,300),n.L(280,350),n.L(280,420),n.L(350,460),n.L(420,400),n.L(380,300),n.L(380,70),n.Z(),t?n.fill():n.stroke();break;case`pawn`:n.M(230,70),n.L(230,200),n.L(370,200),n.L(370,70),n.Z(),t?n.fill():n.stroke(),n.circle(300,320,90),t?n.fill():n.stroke();break}}}}function IR(e,t){return{width:W,draw:n=>{n.lineWidth(t);for(let t=0;t<e;t++){let r=t*180/e*Math.PI/180;n.M(300-180*Math.cos(r),250-180*Math.sin(r)),n.L(300+180*Math.cos(r),250+180*Math.sin(r))}n.stroke()}}}function LR(e,t,n,r,i){let a=Math.sqrt(e*e+t*t),o=e/a,s=t/a,c=-s,l=o,u=300+o*220,d=250+s*220,f=300-o*220,p=250-s*220,m=u-o*r,h=d-s*r;return{width:W,draw:e=>{e.M(f-c*i,p-l*i),e.L(m-c*i,h-l*i),e.L(m-c*n,h-l*n),e.L(u,d),e.L(m+c*n,h+l*n),e.L(m+c*i,h+l*i),e.L(f+c*i,p+l*i),e.Z(),e.fill()}}}function RR(e,t,n){let r=Math.sqrt(e*e+t*t),i=e/r,a=t/r,o=-a,s=i,c=300+i*200,l=250+a*200,u=300-i*200,d=250-a*200,f=c-i*140,p=l-a*140;return{width:W,draw:e=>{let t=n,r=-n;e.M(u+t-o*45,d+r-s*45),e.L(f+t-o*45,p+r-s*45),e.L(f+t-o*110,p+r-s*110),e.L(c+t,l+r),e.L(f+t+o*110,p+r+s*110),e.L(f+t+o*45,p+r+s*45),e.L(u+t+o*45,d+r+s*45),e.Z(),e.fill(),e.M(u-o*45,d-s*45),e.L(f-o*45,p-s*45),e.L(f-o*110,p-s*110),e.L(c,l),e.L(f+o*110,p+s*110),e.L(f+o*45,p+s*45),e.L(u+o*45,d+s*45),e.Z(),e.fill()}}}function zR(e){return{width:W,draw:t=>{let n=e>0?400:100;t.lineWidth(50),t.M(100,n),t.C(100,250,300,250,480,250),t.stroke(),t.M(480,250),t.L(400,180),t.L(400,320),t.Z(),t.fill()}}}function BR(e,t,n){return{width:W,draw:r=>{r.lineWidth(n),r.M(80,250-t),r.L(360,250-t),r.L(360,250-e),r.L(520,250),r.L(360,250+e),r.L(360,250+t),r.L(80,250+t),r.Z(),r.stroke()}}}function VR(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:W,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*60,c-i*90+o*60),e.L(s-r*90-a*60,c-i*90-o*60),e.Z(),e.fill(),e.M(t+a*70,n+o*70),e.L(t-a*70,n-o*70),e.stroke()}}}function HR(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:W,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill(),e.M(t,n),e.L(t+r*90+a*55,n+i*90+o*55),e.L(t+r*90-a*55,n+i*90-o*55),e.Z(),e.fill()}}}function UR(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:W,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill(),e.M(300+a*60+r*30,250+o*60+i*30),e.L(300-a*60-r*30,250-o*60-i*30),e.stroke()}}}function WR(e,t,n,r){let i=Math.sqrt(e*e+t*t),a=e/i,o=t/i,s=-o,c=a,l=Math.sqrt(n*n+r*r),u=n/l,d=r/l,f=-d,p=u;return{width:W,draw:e=>{e.lineWidth(28);let t=300-a*180+s*50,n=250-o*180+c*50,r=300+a*180+s*50,i=250+o*180+c*50;e.M(t,n),e.L(r,i),e.stroke(),e.M(r,i),e.L(r-a*70+s*45,i-o*70+c*45),e.L(r-a*70-s*45,i-o*70-c*45),e.Z(),e.fill();let l=300-u*180-f*50,m=250-d*180-p*50,h=300+u*180-f*50,g=250+d*180-p*50;e.M(l,m),e.L(h,g),e.stroke(),e.M(h,g),e.L(h-u*70+f*45,g-d*70+p*45),e.L(h-u*70-f*45,g-d*70-p*45),e.Z(),e.fill()}}}function GR(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:W,draw:e=>{e.lineWidth(35);let t=300-r*160,n=250-i*160,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill();let l=t-r*40,u=n-i*40;e.circle(l,u,40),e.stroke()}}}function KR(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:W,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill(),e.lineWidth(22),e.M(300-r*50+a*50,250-i*50+o*50),e.C(300-r*25+a*70,250-i*25+o*70,300+r*25+a*30,250+i*25+o*30,300+r*50+a*50,250+i*50+o*50),e.stroke()}}}function qR(e,t,n){let r=Math.sqrt(e*e+t*t),i=e/r,a=t/r,o=-a,s=i;return{width:W,draw:e=>{e.lineWidth(n);let t=300-i*200,r=250-a*200,c=300+i*200,l=250+a*200;e.M(t,r),e.L(c,l),e.stroke(),e.M(c-i*90+o*60,l-a*90+s*60),e.L(c,l),e.L(c-i*90-o*60,l-a*90-s*60),e.stroke()}}}function JR(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:W,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s-r*80+a*55,c-i*80+o*55),e.L(s,c),e.L(s-r*80-a*55,c-i*80-o*55),e.stroke(),e.M(t+a*70,n+o*70),e.L(t-a*70,n-o*70),e.stroke(),e.M(s+a*70,c+o*70),e.L(s-a*70,c-o*70),e.stroke()}}}function YR(e,t){return{width:W,draw:n=>{n.lineWidth(t);for(let t=0;t<e;t++){let r=t*Math.PI/e;n.M(300-120*Math.cos(r),400-120*Math.sin(r)),n.L(300+120*Math.cos(r),400+120*Math.sin(r))}n.stroke()}}}function XR(e,t,n){e.M(t-60,400),e.C(t-60,480,t+60,480,t+60,400),e.C(t+60,320,t,300,t,240),e.stroke(),e.circle(t,150,25),e.fill()}function ZR(e,t,n){e.M(t,480),e.L(t,200),e.stroke(),e.circle(t,130,28),e.fill()}var W,QR,G,K,$R,ez,q,tz,nz,rz=t((()=>{W=600,QR={9690:{width:W,draw:e=>{e.lineWidth(45),e.M(80,250),e.C(80,390,180,470,300,470),e.C(420,470,520,390,520,250),e.stroke()}},9691:{width:W,draw:e=>{e.lineWidth(45),e.M(520,250),e.C(520,110,420,30,300,30),e.C(180,30,80,110,80,250),e.stroke()}},10690:{width:W,draw:e=>{e.lineWidth(35),e.circle(260,250,180),e.stroke(),e.circle(470,250,50),e.stroke()}},10691:{width:W,draw:e=>{e.lineWidth(35),e.circle(260,250,180),e.stroke(),e.M(440,290),e.L(540,290),e.stroke(),e.M(440,210),e.L(540,210),e.stroke()}},10692:{width:W,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.M(160,100),e.L(440,400),e.stroke()}},10693:{width:W,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.M(160,400),e.L(440,100),e.stroke()}},10694:{width:W,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.lineWidth(35),e.M(300,100),e.L(300,400),e.stroke(),e.M(160,250),e.L(440,250),e.stroke(),e.M(180,120),e.L(420,380),e.stroke(),e.M(180,380),e.L(420,120),e.stroke()}},9548:{width:W,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(120,250),e.stroke(),e.M(200,250),e.L(400,250),e.stroke(),e.M(480,250),e.L(600,250),e.stroke()}},9549:{width:W,draw:e=>{e.lineWidth(80),e.M(0,250),e.L(120,250),e.stroke(),e.M(200,250),e.L(400,250),e.stroke(),e.M(480,250),e.L(600,250),e.stroke()}},9550:{width:W,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,100),e.stroke(),e.M(300,180),e.L(300,320),e.stroke(),e.M(300,400),e.L(300,500),e.stroke()}},9551:{width:W,draw:e=>{e.lineWidth(80),e.M(300,0),e.L(300,100),e.stroke(),e.M(300,180),e.L(300,320),e.stroke(),e.M(300,400),e.L(300,500),e.stroke()}},8456:{width:W,draw:e=>{e.lineWidth(40),e.M(180,450),e.L(420,450),e.L(420,250),e.L(250,250),e.stroke(),e.M(420,250),e.L(420,50),e.L(180,50),e.stroke()}},8483:{width:W,draw:e=>{e.lineWidth(45),e.M(150,480),e.L(300,20),e.L(450,480),e.stroke()}},8506:{width:W,draw:e=>{e.lineWidth(40),e.ellipse(300,260,180,200),e.stroke(),e.M(380,140),e.L(480,40),e.stroke()}},8507:{width:W,draw:e=>{e.lineWidth(40),e.M(80,50),e.L(80,480),e.L(200,480),e.stroke(),e.M(80,280),e.L(180,280),e.stroke(),e.M(230,50),e.L(300,480),e.L(370,50),e.stroke(),e.M(255,200),e.L(345,200),e.stroke(),e.M(400,480),e.L(520,50),e.stroke(),e.M(520,480),e.L(400,50),e.stroke()}},9135:{width:W,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke()}},9143:{width:W,draw:e=>{e.lineWidth(45),e.M(80,250),e.L(200,250),e.L(300,0),e.L(520,500),e.stroke()}},9144:{width:300,draw:e=>{e.lineWidth(40),e.M(80,0),e.L(80,500),e.stroke()}},9145:{width:300,draw:e=>{e.lineWidth(40),e.M(220,0),e.L(220,500),e.stroke()}},9154:{width:W,draw:e=>{e.lineWidth(35),e.M(300,0),e.L(300,500),e.stroke(),e.M(100,250),e.C(150,300,250,200,300,250),e.C(350,300,450,200,500,250),e.stroke()}}};for(let e of[9155,9156,9157,9158,9159,9160,9169,9170,9171,9172,9173,9174,9175,9176,9177])QR[e]={width:W,draw:e=>{e.lineWidth(35),e.M(300,0),e.L(300,500),e.stroke(),e.M(150,250),e.L(450,250),e.stroke()}};QR[10063]={width:W,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(140,80),e.L(500,80),e.L(500,420),e.stroke()}},QR[10064]={width:W,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(480,440),e.L(480,80),e.L(120,80),e.stroke()}},QR[10065]={width:W,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(460,440),e.L(100,440),e.L(100,80),e.stroke()}},QR[10066]={width:W,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(120,60),e.L(120,420),e.L(480,420),e.stroke()}},QR[10072]={width:250,draw:e=>{e.lineWidth(35),e.M(125,0),e.L(125,500),e.stroke()}},QR[10073]={width:300,draw:e=>{e.lineWidth(55),e.M(150,0),e.L(150,500),e.stroke()}},QR[10074]={width:350,draw:e=>{e.lineWidth(80),e.M(175,0),e.L(175,500),e.stroke()}},QR[10075]={width:300,draw:e=>{e.circle(150,430,55),e.fill(),e.lineWidth(40),e.M(150,375),e.C(110,320,90,290,70,270),e.stroke()}},QR[10076]={width:300,draw:e=>{e.circle(150,430,55),e.fill(),e.lineWidth(40),e.M(150,375),e.C(190,320,210,290,230,270),e.stroke()}},QR[10077]={width:450,draw:e=>{e.circle(120,430,50),e.fill(),e.circle(300,430,50),e.fill(),e.lineWidth(35),e.M(120,380),e.C(80,320,60,290,40,270),e.stroke(),e.M(300,380),e.C(260,320,240,290,220,270),e.stroke()}},QR[10078]={width:450,draw:e=>{e.circle(150,430,50),e.fill(),e.circle(330,430,50),e.fill(),e.lineWidth(35),e.M(150,380),e.C(190,320,210,290,230,270),e.stroke(),e.M(330,380),e.C(370,320,390,290,410,270),e.stroke()}},QR[10079]={width:300,draw:e=>{e.circle(150,80,50),e.fill(),e.lineWidth(40),e.M(150,130),e.C(190,190,210,220,230,250),e.stroke()}},QR[10080]={width:450,draw:e=>{e.circle(130,80,45),e.fill(),e.circle(310,80,45),e.fill(),e.lineWidth(35),e.M(130,125),e.C(170,190,190,220,210,250),e.stroke(),e.M(310,125),e.C(350,190,370,220,390,250),e.stroke()}},QR[10081]={width:W,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(300,100),e.stroke(),e.M(180,380),e.L(420,380),e.stroke(),e.circle(300,50,30),e.fill()}};for(let[e,t,n,r]of[[10088,10089,!1,!1],[10090,10091,!1,!0],[10092,10093,!0,!1],[10094,10095,!0,!1],[10096,10097,!0,!0],[10098,10099,!1,!0],[10100,10101,!1,!1]]){let i=r?55:38;n?(QR[e]={width:350,draw:e=>{e.lineWidth(i),e.M(280,480),e.L(100,250),e.L(280,20),e.stroke()}},QR[t]={width:350,draw:e=>{e.lineWidth(i),e.M(70,480),e.L(250,250),e.L(70,20),e.stroke()}}):(QR[e]={width:350,draw:e=>{e.lineWidth(i),e.M(260,480),e.C(100,400,100,100,260,20),e.stroke()}},QR[t]={width:350,draw:e=>{e.lineWidth(i),e.M(90,480),e.C(250,400,250,100,90,20),e.stroke()}})}{let e=(e,t,n,r,i)=>{[e=>{e.ellipse(n,r,i*.28,i*.42),e.stroke()},e=>{e.M(n,r+i*.42),e.L(n,r-i*.42),e.stroke()},e=>{e.M(n-i*.25,r+i*.25),e.C(n-i*.25,r+i*.45,n+i*.25,r+i*.45,n+i*.25,r+i*.15),e.L(n-i*.25,r-i*.42),e.L(n+i*.25,r-i*.42),e.stroke()},e=>{e.M(n-i*.22,r+i*.42),e.L(n+i*.22,r+i*.42),e.L(n+i*.22,r),e.L(n-i*.1,r),e.stroke(),e.M(n+i*.22,r),e.L(n+i*.22,r-i*.42),e.L(n-i*.22,r-i*.42),e.stroke()},e=>{e.M(n+i*.2,r+i*.42),e.L(n-i*.25,r-i*.05),e.L(n+i*.25,r-i*.05),e.stroke(),e.M(n+i*.2,r+i*.42),e.L(n+i*.2,r-i*.42),e.stroke()},e=>{e.M(n+i*.22,r+i*.42),e.L(n-i*.22,r+i*.42),e.L(n-i*.22,r+i*.05),e.L(n+i*.22,r+i*.05),e.C(n+i*.35,r+i*.05,n+i*.35,r-i*.42,n-i*.22,r-i*.42),e.stroke()},e=>{e.M(n+i*.2,r+i*.35),e.C(n-i*.1,r+i*.45,n-i*.3,r+i*.15,n-i*.25,r-i*.1),e.C(n-i*.2,r-i*.45,n+i*.25,r-i*.45,n+i*.25,r-i*.1),e.C(n+i*.25,r+i*.1,n-i*.25,r+i*.1,n-i*.25,r-i*.1),e.stroke()},e=>{e.M(n-i*.22,r+i*.42),e.L(n+i*.22,r+i*.42),e.L(n-i*.05,r-i*.42),e.stroke()},e=>{e.ellipse(n,r+i*.22,i*.2,i*.2),e.stroke(),e.ellipse(n,r-i*.22,i*.22,i*.22),e.stroke()},e=>{e.M(n-i*.2,r-i*.35),e.C(n+i*.1,r-i*.45,n+i*.3,r-i*.15,n+i*.25,r+i*.1),e.C(n+i*.2,r+i*.45,n-i*.25,r+i*.45,n-i*.25,r+i*.1),e.C(n-i*.25,r-i*.1,n+i*.25,r-i*.1,n+i*.25,r+i*.1),e.stroke()}][t](e)};for(let t=0;t<10;t++){let n=t+1;QR[10112+t]={width:W,draw:t=>{t.lineWidth(28),t.circle(300,250,220),t.stroke(),t.lineWidth(26),n<=9?e(t,n,300,250,210):(e(t,1,225,250,155),e(t,0,375,250,155))}}}for(let t=0;t<10;t++){let n=t+1;QR[10122+t]={width:W,draw:t=>{t.rect(70,20,460,460),t.fill(),t.lineWidth(24),n<=9?e(t,n,300,250,200):(e(t,1,225,250,150),e(t,0,375,250,150))}}}}QR[10160]={width:W,draw:e=>{e.lineWidth(40),e.M(150,100),e.C(150,400,450,400,450,250),e.C(450,100,250,100,250,250),e.C(250,350,350,400,450,350),e.stroke()}},QR[10175]={width:W,draw:e=>{e.lineWidth(35),e.M(80,150),e.C(80,400,300,400,300,250),e.C(300,100,150,100,150,250),e.stroke(),e.M(300,150),e.C(300,400,520,400,520,250),e.C(520,100,370,100,370,250),e.stroke()}},G={10025:U(4,300,250,220,80,!1),10026:{width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,230),e.stroke(),U(5,300,250,180,70,!0).draw(e)}},10027:U(4,300,250,220,100,!0),10028:U(4,300,250,220,100,!1),10029:U(5,300,250,220,100,!1),10030:U(6,300,250,220,130,!1),10031:U(6,300,250,220,100,!1),10033:IR(6,45),10034:IR(4,30),10035:IR(8,25),10036:U(8,300,250,200,100,!0),10037:U(8,300,250,200,80,!0),10038:U(6,300,250,220,110,!0),10039:U(6,300,250,220,110,!1),10040:U(8,300,250,220,90,!0),10041:IR(12,40),10042:IR(6,35),10043:IR(8,20),10044:IR(8,15),10045:IR(4,50),10046:U(6,300,250,200,140,!1),10047:U(8,300,250,200,140,!0),10048:U(8,300,250,200,140,!1),10049:U(8,300,250,210,160,!1),10050:U(16,300,250,220,160,!1),10051:IR(6,50),10052:U(6,300,250,220,120,!1),10053:U(6,300,250,200,100,!1),10054:U(4,300,250,220,60,!1),10055:U(4,300,250,200,50,!0),10056:U(4,300,250,220,50,!0),10057:U(4,300,250,180,80,!0),10058:U(8,300,250,200,130,!0),10059:U(8,300,250,220,100,!0),9984:{width:W,draw:e=>{e.lineWidth(35),e.circle(170,370,80),e.stroke(),e.circle(170,130,80),e.stroke(),e.M(240,320),e.L(520,80),e.stroke(),e.M(240,180),e.L(520,420),e.stroke()}},9987:{width:W,draw:e=>{e.lineWidth(40),e.circle(170,370,80),e.stroke(),e.circle(170,130,80),e.stroke(),e.M(240,320),e.L(520,80),e.stroke(),e.M(240,180),e.L(520,420),e.stroke()}},9988:{width:W,draw:e=>{e.lineWidth(30),e.circle(160,350,70),e.stroke(),e.circle(160,150,70),e.stroke(),e.M(220,300),e.L(500,100),e.stroke(),e.M(220,200),e.L(500,400),e.stroke()}},9989:{width:W,draw:e=>{e.lineWidth(70),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},9994:{width:W,draw:e=>{e.circle(300,250,200),e.fill()}},9995:{width:W,draw:e=>{e.lineWidth(40),e.M(180,50),e.L(180,350),e.stroke(),e.M(250,50),e.L(250,400),e.stroke(),e.M(320,50),e.L(320,400),e.stroke(),e.M(390,50),e.L(390,350),e.stroke(),e.M(450,100),e.L(450,300),e.stroke()}},9996:{width:W,draw:e=>{e.lineWidth(40),e.M(220,50),e.L(250,400),e.stroke(),e.M(380,50),e.L(350,400),e.stroke()}},9997:{width:W,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(460,430),e.stroke(),e.M(120,50),e.L(150,130),e.stroke()}},10001:{width:W,draw:e=>{e.lineWidth(40),e.M(140,30),e.L(460,430),e.stroke(),e.M(120,80),e.L(190,30),e.stroke()}},10002:{width:W,draw:e=>{e.M(140,30),e.L(110,80),e.L(440,470),e.L(490,470),e.L(490,430),e.L(170,30),e.Z(),e.fill()}},10009:{width:W,draw:e=>{e.lineWidth(50),e.M(300,30),e.L(300,470),e.stroke(),e.M(90,250),e.L(510,250),e.stroke()}},10011:{width:W,draw:e=>{e.lineWidth(65),e.M(300,30),e.L(300,470),e.stroke(),e.M(80,250),e.L(520,250),e.stroke()}},10015:{width:W,draw:e=>{e.lineWidth(45),e.M(300,0),e.L(300,500),e.stroke(),e.M(120,370),e.L(480,370),e.stroke()}},10017:U(6,300,250,230,115,!1),10018:U(4,300,250,220,60,!0),10019:U(4,300,250,220,80,!1),10020:U(4,300,250,200,100,!0),10021:U(4,300,250,220,40,!0),10060:{width:W,draw:e=>{e.lineWidth(70),e.M(130,60),e.L(470,440),e.stroke(),e.M(130,440),e.L(470,60),e.stroke()}},10061:{width:W,draw:e=>{e.lineWidth(50),e.circle(300,250,210),e.stroke()}},10062:{width:W,draw:e=>{e.rect(80,30,440,440),e.fill()}},10067:{width:W,draw:e=>{e.lineWidth(55),e.M(200,400),e.C(200,480,400,480,400,380),e.C(400,300,300,280,300,220),e.stroke(),e.circle(300,120,35),e.fill()}},10068:{width:W,draw:e=>{e.lineWidth(45),e.M(200,400),e.C(200,480,400,480,400,380),e.C(400,300,300,280,300,220),e.stroke(),e.circle(300,120,30),e.fill()}},10069:{width:W,draw:e=>{e.lineWidth(50),e.M(200,400),e.C(200,480,400,480,400,380),e.C(400,300,300,280,300,220),e.stroke(),e.circle(300,120,35),e.fill()}},10070:U(4,300,250,230,50,!0),10071:{width:W,draw:e=>{e.lineWidth(60),e.M(300,480),e.L(300,150),e.stroke(),e.circle(300,60,38),e.fill()}},10082:{width:W,draw:e=>{e.lineWidth(55),e.M(300,480),e.L(300,150),e.stroke(),e.circle(300,60,35),e.fill()}},10083:{width:W,draw:e=>{e.lineWidth(55),e.M(300,480),e.L(300,200),e.stroke(),e.M(300,100),e.C(300,100,200,130,200,70),e.C(200,20,300,20,300,100),e.C(300,20,400,20,400,70),e.C(400,130,300,100,300,100),e.fill()}},10084:{width:W,draw:e=>{e.M(300,80),e.C(300,80,60,220,60,350),e.C(60,470,180,500,300,500),e.C(420,500,540,470,540,350),e.C(540,220,300,80,300,80),e.Z(),e.fill()}},10085:{width:W,draw:e=>{e.lineWidth(35),e.M(300,370),e.L(300,100),e.stroke(),e.M(300,460),e.C(300,460,200,490,200,430),e.C(200,380,300,380,300,460),e.C(300,380,400,380,400,430),e.C(400,490,300,460,300,460),e.fill()}},10086:{width:W,draw:e=>{e.lineWidth(30),e.M(300,80),e.C(300,80,100,200,100,300),e.C(100,400,200,450,300,400),e.C(400,450,500,400,500,300),e.C(500,200,300,80,300,80),e.stroke()}},10087:{width:W,draw:e=>{e.lineWidth(35),e.M(300,80),e.C(300,80,80,220,80,340),e.C(80,460,200,500,300,490),e.C(400,500,520,460,520,340),e.C(520,220,300,80,300,80),e.Z(),e.stroke()}},10133:{width:W,draw:e=>{e.rect(240,50,120,400),e.fill(),e.rect(100,190,400,120),e.fill()}},10134:{width:W,draw:e=>{e.rect(100,200,400,100),e.fill()}},10135:{width:W,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(480,450),e.stroke(),e.circle(200,370,35),e.fill(),e.circle(400,130,35),e.fill()}}},G[10136]||=NR(1,-1),G[10137]||=LR(1,0,100,180,40),G[10138]||=LR(1,0,130,200,55),G[10139]||=LR(1,0,140,220,30),G[10140]||=LR(1,0,110,160,50),G[10141]||=LR(1,0,90,180,60),G[10142]||=LR(1,0,120,240,65),G[10143]||=LR(1,0,80,150,70),G[10144]||=LR(1,0,150,200,35),G[10146]||=RR(1,0,15),G[10147]||=RR(1,0,25),G[10148]||=RR(1,0,10),G[10149]||=zR(1),G[10150]||=zR(-1),G[10151]||=BR(100,40,30),G[10152]||=LR(1,0,160,260,45),G[10153]||=BR(120,50,35),G[10154]||=LR(1,0,100,140,55),G[10155]||=RR(1,0,20),G[10156]||=RR(1,0,30),G[10157]||=BR(90,35,28),G[10158]||=LR(1,0,130,180,60),G[10159]||={width:W,draw:e=>{e.lineWidth(45),e.M(100,400),e.C(150,150,350,150,480,250),e.stroke(),e.M(480,250),e.L(420,180),e.L(420,320),e.Z(),e.fill()}},G[10161]||=LR(1,0,95,170,35),G[10162]||=LR(1,0,145,230,50),G[10163]||=BR(80,30,25),G[10164]||=LR(1,0,110,190,25),G[10165]||=LR(1,0,135,210,40),G[10166]||=BR(110,45,32),G[10167]||=LR(1,0,120,200,70),G[10168]||=LR(1,0,140,250,20),G[10169]||=BR(130,55,38),G[10170]||=LR(1,0,105,170,45),G[10171]||=BR(100,40,40),G[10172]||=LR(1,0,90,160,55),G[10173]||=LR(1,0,150,240,30),G[10174]||=BR(115,48,30),K={9730:{width:W,draw:e=>{e.lineWidth(35),e.M(100,250),e.C(100,420,250,450,300,450),e.C(350,450,500,420,500,250),e.stroke(),e.M(300,250),e.L(300,80),e.C(300,30,230,30,230,80),e.stroke()}},9731:{width:W,draw:e=>{e.lineWidth(30),e.circle(300,100,80),e.stroke(),e.circle(300,250,100),e.stroke(),e.circle(300,420,70),e.stroke()}},9732:{width:W,draw:e=>{e.circle(180,250,80),e.fill(),e.lineWidth(25),e.M(260,250),e.C(350,300,450,350,530,400),e.stroke(),e.M(260,270),e.C(350,250,450,200,530,150),e.stroke()}},9748:{width:W,draw:e=>{e.lineWidth(35),e.M(100,300),e.C(100,450,300,480,300,480),e.C(300,480,500,450,500,300),e.stroke(),e.M(300,300),e.L(300,100),e.C(300,50,230,50,230,100),e.stroke(),e.lineWidth(20),e.M(200,150),e.L(180,80),e.stroke(),e.M(400,150),e.L(380,80),e.stroke()}},9749:{width:W,draw:e=>{e.lineWidth(35),e.rect(150,50,250,250),e.stroke(),e.M(400,230),e.C(470,230,470,120,400,120),e.stroke(),e.lineWidth(25),e.M(200,350),e.C(220,400,350,400,370,350),e.stroke(),e.M(250,450),e.L(320,450),e.stroke()}},9752:{width:W,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,250),e.stroke(),e.M(300,250),e.C(200,350,100,400,150,450),e.C(200,500,300,400,300,250),e.stroke(),e.M(300,250),e.C(400,350,500,400,450,450),e.C(400,500,300,400,300,250),e.stroke(),e.M(300,250),e.C(250,300,200,250,250,200),e.C(280,170,300,250,300,250),e.stroke()}}},$R=[[9800,e=>{e.lineWidth(45),e.M(150,100),e.C(150,300,300,500,300,500),e.stroke(),e.M(450,100),e.C(450,300,300,500,300,500),e.stroke()}],[9801,e=>{e.lineWidth(45),e.circle(300,200,150),e.stroke(),e.M(150,350),e.C(150,450,300,500,300,500),e.stroke(),e.M(450,350),e.C(450,450,300,500,300,500),e.stroke()}],[9802,e=>{e.lineWidth(40),e.M(180,80),e.L(420,80),e.stroke(),e.M(180,420),e.L(420,420),e.stroke(),e.M(220,80),e.L(220,420),e.stroke(),e.M(380,80),e.L(380,420),e.stroke()}],[9803,e=>{e.lineWidth(45),e.M(180,350),e.C(180,450,300,450,300,350),e.C(300,250,180,250,180,350),e.stroke(),e.M(420,150),e.C(420,50,300,50,300,150),e.C(300,250,420,250,420,150),e.stroke()}],[9804,e=>{e.lineWidth(45),e.circle(200,380,80),e.stroke(),e.M(280,380),e.C(350,380,400,300,400,200),e.C(400,100,300,50,250,100),e.stroke()}],[9805,e=>{e.lineWidth(40),e.M(120,450),e.L(120,150),e.C(120,50,220,50,220,150),e.L(220,450),e.stroke(),e.M(220,150),e.C(220,50,320,50,320,150),e.L(320,400),e.C(320,450,380,450,400,400),e.stroke()}],[9806,e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,350),e.C(200,300,400,300,500,350),e.stroke()}],[9807,e=>{e.lineWidth(40),e.M(100,400),e.L(100,150),e.C(100,50,200,50,200,150),e.L(200,400),e.stroke(),e.M(200,150),e.C(200,50,300,50,300,150),e.L(300,400),e.stroke(),e.M(300,400),e.L(400,300),e.stroke(),e.M(370,340),e.L(400,300),e.L(430,340),e.stroke()}],[9808,e=>{e.lineWidth(50),e.M(100,100),e.L(480,400),e.stroke(),e.M(400,400),e.L(480,400),e.L(480,320),e.stroke(),e.M(100,250),e.L(350,250),e.stroke(),e.M(100,350),e.L(350,350),e.stroke()}],[9809,e=>{e.lineWidth(40),e.M(120,400),e.C(120,200,250,100,350,100),e.C(450,100,480,200,480,300),e.C(480,400,420,450,380,400),e.C(340,350,380,300,420,350),e.stroke()}],[9810,e=>{e.lineWidth(45),e.M(100,330),e.C(200,380,300,280,400,330),e.C(500,380,500,330,500,330),e.stroke(),e.M(100,200),e.C(200,250,300,150,400,200),e.C(500,250,500,200,500,200),e.stroke()}],[9811,e=>{e.lineWidth(45),e.M(150,400),e.C(150,250,300,250,300,250),e.C(300,250,450,250,450,100),e.stroke(),e.M(150,100),e.C(150,250,300,250,300,250),e.C(300,250,450,250,450,400),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}]];for(let[e,t]of $R)K[e]={width:W,draw:t};for(let[e,t,n]of[[9812,`king`,!1],[9813,`queen`,!1],[9814,`rook`,!1],[9815,`bishop`,!1],[9816,`knight`,!1],[9817,`pawn`,!1],[9818,`king`,!0],[9819,`queen`,!0],[9820,`rook`,!0],[9821,`bishop`,!0],[9822,`knight`,!0],[9823,`pawn`,!0]])K[e]=FR(t,n);K[9825]={width:W,draw:e=>{e.lineWidth(35),e.M(300,60),e.C(300,60,80,200,80,320),e.C(80,440,180,480,300,480),e.C(420,480,520,440,520,320),e.C(520,200,300,60,300,60),e.Z(),e.stroke()}},K[9826]={width:W,draw:e=>{e.lineWidth(35),e.M(300,480),e.L(500,250),e.L(300,20),e.L(100,250),e.Z(),e.stroke()}},K[9828]={width:W,draw:e=>{e.lineWidth(35),e.M(300,490),e.C(300,490,50,340,70,200),e.C(80,100,180,60,300,200),e.C(420,60,520,100,530,200),e.C(550,340,300,490,300,490),e.Z(),e.stroke(),e.rect(260,20,80,160),e.stroke()}},K[9831]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,370,100),e.stroke(),e.circle(195,230,90),e.stroke(),e.circle(405,230,90),e.stroke(),e.rect(275,20,50,180),e.stroke()}};for(let e=1;e<=6;e++)K[9855+e]=PR(e);K[9851]={width:W,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(150,180),e.stroke(),e.M(150,180),e.L(450,180),e.stroke(),e.M(450,180),e.L(300,450),e.stroke(),e.M(270,430),e.L(300,480),e.L(330,430),e.stroke(),e.M(170,220),e.L(130,190),e.L(160,150),e.stroke(),e.M(430,220),e.L(470,190),e.L(440,150),e.stroke()}},K[9855]={width:W,draw:e=>{e.lineWidth(40),e.circle(280,200,130),e.stroke(),e.circle(280,400,40),e.fill(),e.M(280,360),e.L(280,250),e.L(380,250),e.stroke(),e.M(380,250),e.L(420,130),e.stroke()}},K[9735]={width:W,draw:e=>{e.lineWidth(45),e.M(350,480),e.L(220,310),e.L(370,280),e.L(250,60),e.stroke()}},K[9736]={width:W,draw:e=>{e.lineWidth(30),e.M(120,280),e.C(120,400,200,430,300,430),e.C(400,430,480,400,480,280),e.C(480,200,400,170,350,200),e.C(340,140,280,130,230,170),e.C(180,150,120,200,120,280),e.stroke(),e.lineWidth(35),e.M(330,430),e.L(270,350),e.L(340,330),e.L(280,250),e.stroke()}},K[9737]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,120),e.stroke();for(let t=0;t<8;t++){let n=t*Math.PI/4;e.M(300+150*Math.cos(n),250+150*Math.sin(n)),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},K[9738]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,140),e.stroke(),e.M(140,370),e.L(460,130),e.stroke()}},K[9739]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,140),e.stroke(),e.M(140,130),e.L(460,370),e.stroke()}},K[9740]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,130),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},K[9741]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,130),e.stroke(),e.M(300,70),e.L(300,430),e.stroke()}},K[9743]={width:W,draw:e=>{e.lineWidth(30),e.M(150,80),e.C(120,200,120,350,180,430),e.C(250,480,350,480,420,430),e.C(480,350,480,200,450,80),e.C(430,30,370,50,370,120),e.C(370,180,340,200,300,200),e.C(260,200,230,180,230,120),e.C(230,50,170,30,150,80),e.Z(),e.stroke()}},K[9750]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,150),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(150,250),e.L(450,250),e.stroke()}},K[9751]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,150),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(150,200),e.L(450,200),e.stroke(),e.M(150,300),e.L(450,300),e.stroke()}},K[9753]={width:W,draw:e=>{e.M(300,100),e.C(300,100,100,220,100,330),e.C(100,440,190,480,300,480),e.C(410,480,500,440,500,330),e.C(500,220,300,100,300,100),e.Z(),e.fill()}},K[9754]={width:W,draw:e=>{e.rect(120,100,360,300),e.fill(),e.M(120,250),e.L(60,200),e.L(60,300),e.Z(),e.fill()}},K[9755]={width:W,draw:e=>{e.rect(120,100,360,300),e.fill(),e.M(480,250),e.L(540,200),e.L(540,300),e.Z(),e.fill()}},K[9756]={width:W,draw:e=>{e.lineWidth(35),e.rect(120,100,360,300),e.stroke(),e.M(120,250),e.L(60,200),e.L(60,300),e.Z(),e.stroke()}},K[9757]={width:W,draw:e=>{e.lineWidth(35),e.rect(150,100,300,320),e.stroke(),e.M(300,420),e.L(250,480),e.L(350,480),e.Z(),e.stroke()}},K[9758]={width:W,draw:e=>{e.lineWidth(35),e.rect(120,100,360,300),e.stroke(),e.M(480,250),e.L(540,200),e.L(540,300),e.Z(),e.stroke()}},K[9759]={width:W,draw:e=>{e.lineWidth(35),e.rect(150,100,300,320),e.stroke(),e.M(300,100),e.L(250,40),e.L(350,40),e.Z(),e.stroke()}},K[9760]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,320,130),e.stroke(),e.M(180,220),e.L(420,60),e.stroke(),e.M(420,220),e.L(180,60),e.stroke()}},K[9761]={width:W,draw:e=>{e.lineWidth(35),e.M(300,450),e.L(80,50),e.L(520,50),e.Z(),e.stroke(),e.lineWidth(30),e.M(300,350),e.L(300,200),e.stroke(),e.circle(300,140,20),e.fill()}},K[9762]={width:W,draw:e=>{e.circle(300,250,40),e.fill(),e.lineWidth(25);for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180,r=n-.4,i=n+.4;e.M(300+60*Math.cos(r),250+60*Math.sin(r)),e.L(300+190*Math.cos(r),250+190*Math.sin(r)),e.C(300+200*Math.cos(n),250+200*Math.sin(n),300+200*Math.cos(n),250+200*Math.sin(n),300+190*Math.cos(i),250+190*Math.sin(i)),e.L(300+60*Math.cos(i),250+60*Math.sin(i)),e.Z(),e.fill()}}},K[9763]={width:W,draw:e=>{e.lineWidth(25),e.circle(300,250,30),e.stroke();for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180,r=300+110*Math.cos(n),i=250+110*Math.sin(n);e.circle(r,i,80),e.stroke()}}},K[9764]={width:W,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.M(200,400),e.C(200,330,400,280,400,210),e.stroke(),e.M(400,400),e.C(400,330,200,280,200,210),e.stroke(),e.M(300,400),e.L(200,440),e.stroke(),e.M(300,400),e.L(400,440),e.stroke()}},K[9765]={width:W,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,270),e.stroke(),e.M(180,270),e.L(420,270),e.stroke(),e.ellipse(300,380,80,100),e.stroke()}},K[9766]={width:W,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,460),e.stroke(),e.M(170,350),e.L(430,350),e.stroke(),e.M(200,420),e.L(400,420),e.stroke(),e.M(220,210),e.L(380,170),e.stroke()}},K[9767]={width:W,draw:e=>{e.lineWidth(35),e.M(140,100),e.L(460,420),e.stroke(),e.M(460,100),e.L(140,420),e.stroke(),e.M(300,420),e.L(300,480),e.stroke(),e.M(370,360),e.C(430,400,430,460,370,480),e.stroke()}},K[9768]={width:W,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,460),e.stroke(),e.M(170,310),e.L(430,310),e.stroke(),e.M(200,180),e.L(400,180),e.stroke()}},K[9769]={width:W,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.lineWidth(15);for(let[t,n]of[[190,350],[410,350],[190,150],[410,150]])e.M(t,n-35),e.L(t,n+35),e.stroke(),e.M(t-35,n),e.L(t+35,n),e.stroke()}},K[9770]={width:W,draw:e=>{e.lineWidth(30),e.circle(280,250,170),e.stroke(),e.M(370,250),e.circle(350,250,140),e.stroke(),U(5,440,380,50,20,!0).draw(e)}},K[9771]={width:W,draw:e=>{e.lineWidth(35),e.rect(120,70,360,360),e.stroke(),e.circle(300,250,40),e.fill()}},K[9772]={width:W,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.circle(300,250,130),e.stroke(),e.M(150,200),e.C(180,350,420,350,450,200),e.stroke()}},K[9773]={width:W,draw:e=>{e.lineWidth(35),e.M(350,80),e.L(200,430),e.stroke(),e.M(140,120),e.L(250,120),e.stroke(),e.M(350,400),e.C(450,350,500,250,430,150),e.C(380,80,300,100,280,180),e.stroke()}};for(let[e,t,n,r]of[[9776,!0,!0,!0],[9777,!0,!0,!1],[9778,!0,!1,!0],[9779,!0,!1,!1],[9780,!1,!0,!0],[9781,!1,!0,!1],[9782,!1,!1,!0],[9783,!1,!1,!1]])K[e]={width:W,draw:e=>{e.lineWidth(40);let i=[t,n,r],a=[380,250,120];for(let t=0;t<3;t++)i[t]?(e.M(120,a[t]),e.L(480,a[t]),e.stroke()):(e.M(120,a[t]),e.L(260,a[t]),e.stroke(),e.M(340,a[t]),e.L(480,a[t]),e.stroke())}};K[9788]={width:W,draw:e=>{e.lineWidth(25),e.circle(300,250,90),e.stroke();for(let t=0;t<12;t++){let n=t*Math.PI/6;e.M(300+110*Math.cos(n),250+110*Math.sin(n)),e.L(300+160*Math.cos(n),250+160*Math.sin(n))}e.stroke()}},K[9789]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(300,70),e.C(180,70,120,150,120,250),e.C(120,350,180,430,300,430),e.Z(),e.fill()}},K[9790]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(300,70),e.C(420,70,480,150,480,250),e.C(480,350,420,430,300,430),e.Z(),e.fill()}},K[9791]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,270,100),e.stroke(),e.M(300,170),e.L(300,70),e.stroke(),e.M(250,120),e.L(350,120),e.stroke(),e.M(230,420),e.C(230,480,300,480,300,430),e.stroke(),e.M(370,420),e.C(370,480,300,480,300,430),e.stroke()}},K[9793]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,170),e.stroke(),e.M(300,80),e.L(300,420),e.stroke(),e.M(130,250),e.L(470,250),e.stroke()}},K[9795]={width:W,draw:e=>{e.lineWidth(40),e.M(380,80),e.L(380,460),e.stroke(),e.M(150,280),e.L(480,280),e.stroke(),e.M(380,280),e.L(150,450),e.stroke()}},K[9796]={width:W,draw:e=>{e.lineWidth(35),e.M(230,460),e.L(230,100),e.stroke(),e.M(230,280),e.C(300,250,370,250,370,310),e.C(370,370,330,400,280,400),e.stroke(),e.M(170,460),e.L(290,460),e.stroke()}},K[9797]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,200,100),e.stroke(),e.circle(300,200,20),e.fill(),e.M(300,300),e.L(300,460),e.stroke(),e.M(260,430),e.L(300,460),e.L(340,430),e.stroke()}},K[9798]={width:W,draw:e=>{e.lineWidth(35),e.M(300,80),e.L(300,460),e.stroke(),e.M(200,460),e.L(400,460),e.stroke(),e.M(180,350),e.L(180,460),e.stroke(),e.M(300,350),e.L(300,460),e.stroke(),e.M(420,350),e.L(420,460),e.stroke(),e.M(180,350),e.L(420,350),e.stroke()}},K[9799]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,290,90),e.stroke(),e.M(210,290),e.C(210,430,390,430,390,290),e.stroke(),e.M(300,200),e.L(300,80),e.stroke(),e.M(250,140),e.L(350,140),e.stroke()}},K[9832]={width:W,draw:e=>{e.lineWidth(30),e.M(120,200),e.C(120,80,480,80,480,200),e.stroke(),e.lineWidth(25);for(let t of[200,300,400])e.M(t,220),e.C(t-30,280,t+30,340,t,400),e.stroke()}},K[9835]={width:W,draw:e=>{e.lineWidth(30),e.M(200,80),e.L(200,400),e.stroke(),e.M(400,80),e.L(400,350),e.stroke(),e.lineWidth(45),e.M(200,400),e.L(400,400),e.stroke(),e.ellipse(200,120,50,40),e.fill(),e.ellipse(400,120,50,40),e.fill()}},K[9836]={width:W,draw:e=>{e.lineWidth(25),e.M(200,80),e.L(200,400),e.stroke(),e.M(400,80),e.L(400,350),e.stroke(),e.lineWidth(35),e.M(200,400),e.L(400,400),e.stroke(),e.M(200,340),e.L(400,340),e.stroke(),e.ellipse(200,120,45,35),e.fill(),e.ellipse(400,120,45,35),e.fill()}},K[9838]={width:W,draw:e=>{e.lineWidth(30),e.M(220,50),e.L(220,400),e.stroke(),e.M(380,100),e.L(380,450),e.stroke(),e.lineWidth(35),e.M(220,200),e.L(380,250),e.stroke(),e.M(220,300),e.L(380,350),e.stroke()}},K[9840]={width:W,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.M(120,280),e.L(480,280),e.stroke(),e.circle(300,50,20),e.fill(),e.circle(300,450,20),e.fill(),e.circle(120,280,20),e.fill(),e.circle(480,280,20),e.fill()}},K[9841]={width:W,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,450),e.stroke(),e.M(120,280),e.L(480,280),e.stroke(),e.M(280,50),e.L(320,50),e.stroke(),e.M(280,450),e.L(320,450),e.stroke(),e.M(120,260),e.L(120,300),e.stroke(),e.M(480,260),e.L(480,300),e.stroke()}};for(let e=0;e<=8;e++){let t=9842+e,n=e<=6?e+1:0;K[t]={width:W,draw:e=>{e.lineWidth(30),e.M(300,420),e.L(130,130),e.stroke(),e.M(130,130),e.L(470,130),e.stroke(),e.M(470,130),e.L(300,420),e.stroke(),e.M(270,400),e.L(300,440),e.L(330,400),e.stroke(),e.M(155,165),e.L(115,140),e.L(150,110),e.stroke(),e.M(445,165),e.L(485,140),e.L(450,110),e.stroke(),n>0&&(e.lineWidth(25),e.M(280,220),e.L(320,220),e.stroke(),e.M(300,200),e.L(300,280),e.stroke())}}}K[9852]={width:W,draw:e=>{e.lineWidth(35),e.M(300,430),e.L(120,120),e.L(480,120),e.Z(),e.stroke(),e.M(270,410),e.L(300,450),e.L(330,410),e.stroke()}},K[9853]={width:W,draw:e=>{e.lineWidth(30),e.M(300,430),e.L(210,260),e.stroke(),e.M(170,190),e.L(120,120),e.L(270,120),e.stroke(),e.M(350,120),e.L(480,120),e.L(390,260),e.stroke(),e.M(360,330),e.L(300,430),e.stroke()}},K[9854]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,190),e.stroke(),e.M(300,250),e.C(350,340,450,340,450,250),e.C(450,160,350,160,300,250),e.C(250,340,150,340,150,250),e.C(150,160,250,160,300,250),e.stroke()}},K[9862]={width:W,draw:e=>{e.lineWidth(50),e.M(120,250),e.L(480,250),e.stroke()}},K[9863]={width:W,draw:e=>{e.lineWidth(50),e.M(120,250),e.L(260,250),e.stroke(),e.M(340,250),e.L(480,250),e.stroke()}},K[9864]={width:W,draw:e=>{e.lineWidth(45),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},K[9865]={width:W,draw:e=>{e.lineWidth(45),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(260,180),e.stroke(),e.M(340,180),e.L(480,180),e.stroke()}};for(let[e,t,n]of[[9866,!0,!0],[9867,!1,!1],[9868,!0,!1],[9869,!1,!0],[9870,!0,!0],[9871,!1,!1]])K[e]={width:W,draw:e=>{e.lineWidth(45);let r=[320,180],i=[t,n];for(let t=0;t<2;t++)i[t]?(e.M(120,r[t]),e.L(480,r[t]),e.stroke()):(e.M(120,r[t]),e.L(260,r[t]),e.stroke(),e.M(340,r[t]),e.L(480,r[t]),e.stroke())}};K[9880]={width:W,draw:e=>{e.lineWidth(25),e.circle(300,250,30),e.fill();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180;e.circle(300+80*Math.cos(n),250+80*Math.sin(n),50),e.stroke()}}},K[9882]={width:W,draw:e=>{e.lineWidth(35),e.M(300,80),e.L(300,450),e.stroke(),e.M(180,350),e.L(300,400),e.L(420,350),e.stroke(),e.M(200,300),e.L(300,350),e.L(400,300),e.stroke()}},K[9885]=U(5,300,250,200,80,!1),K[9886]={width:W,draw:e=>{e.lineWidth(30),e.M(450,250),e.L(100,100),e.stroke(),e.M(450,250),e.L(100,250),e.stroke(),e.M(450,250),e.L(100,400),e.stroke()}},K[9887]={width:W,draw:e=>{e.lineWidth(28),e.M(450,250),e.L(100,80),e.stroke(),e.M(450,250),e.L(100,190),e.stroke(),e.M(450,250),e.L(100,310),e.stroke(),e.M(450,250),e.L(100,420),e.stroke()}},K[9890]={width:W,draw:e=>{e.lineWidth(28),e.circle(220,290,90),e.stroke(),e.M(220,200),e.L(220,100),e.stroke(),e.M(180,140),e.L(260,140),e.stroke(),e.circle(380,290,90),e.stroke(),e.M(380,200),e.L(380,100),e.stroke(),e.M(340,140),e.L(420,140),e.stroke()}},K[9891]={width:W,draw:e=>{e.lineWidth(28),e.circle(230,250,90),e.stroke(),e.M(295,185),e.L(400,80),e.stroke(),e.M(350,80),e.L(400,80),e.L(400,130),e.stroke(),e.circle(370,250,90),e.stroke(),e.M(435,185),e.L(510,110),e.stroke(),e.M(460,110),e.L(510,110),e.L(510,160),e.stroke()}},K[9892]={width:W,draw:e=>{e.lineWidth(28),e.circle(250,270,100),e.stroke(),e.M(250,170),e.L(250,70),e.stroke(),e.M(210,120),e.L(290,120),e.stroke(),e.M(320,200),e.L(440,80),e.stroke(),e.M(390,80),e.L(440,80),e.L(440,130),e.stroke()}},K[9894]={width:W,draw:e=>{e.lineWidth(30),e.circle(250,260,110),e.stroke(),e.M(330,185),e.L(450,80),e.stroke(),e.M(395,80),e.L(450,80),e.L(450,135),e.stroke(),e.M(350,160),e.L(420,200),e.stroke()}},K[9896]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,220,110),e.stroke(),e.M(300,330),e.L(300,460),e.stroke(),e.M(260,420),e.L(300,460),e.L(340,420),e.stroke(),e.M(340,370),e.L(410,390),e.stroke()}},K[9897]={width:W,draw:e=>{e.lineWidth(30),e.circle(260,250,110),e.stroke(),e.M(370,250),e.L(500,250),e.stroke(),e.M(460,210),e.L(500,250),e.L(460,290),e.stroke(),e.M(420,290),e.L(440,350),e.stroke()}},K[9900]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,120),e.stroke()}},K[9901]={width:W,draw:e=>{e.lineWidth(30),e.circle(230,250,110),e.stroke(),e.circle(370,250,110),e.stroke()}},K[9902]={width:W,draw:e=>{e.lineWidth(30),e.circle(190,250,90),e.stroke(),e.circle(410,250,90),e.stroke(),e.lineWidth(25),e.M(300,150),e.L(300,350),e.stroke()}},K[9903]={width:W,draw:e=>{e.lineWidth(30),e.circle(230,250,100),e.stroke(),e.circle(370,250,100),e.stroke(),e.M(300,120),e.L(300,380),e.stroke()}},K[9905]={width:W,draw:e=>{e.lineWidth(30),e.M(180,100),e.L(180,350),e.C(180,430,300,450,300,450),e.C(300,450,420,430,420,350),e.L(420,100),e.Z(),e.stroke(),e.M(250,100),e.C(250,60,350,60,350,100),e.stroke()}},K[9906]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,280,120),e.stroke(),e.M(300,160),e.L(300,60),e.stroke(),e.M(250,110),e.L(350,110),e.stroke()}},K[9907]={width:W,draw:e=>{e.lineWidth(30),e.M(300,80),e.L(300,320),e.stroke(),e.M(200,180),e.L(400,180),e.stroke(),e.M(220,320),e.C(220,440,380,440,380,320),e.stroke()}},K[9908]={width:W,draw:e=>{e.lineWidth(28),e.M(300,100),e.L(300,280),e.stroke(),e.M(230,190),e.L(370,190),e.stroke(),e.M(300,280),e.L(380,370),e.L(300,460),e.L(220,370),e.Z(),e.stroke()}},K[9909]={width:W,draw:e=>{e.lineWidth(28),e.M(300,80),e.L(300,250),e.stroke(),e.M(230,160),e.L(370,160),e.stroke(),U(5,300,370,80,32,!1).draw(e)}},K[9910]={width:W,draw:e=>{e.lineWidth(35),e.M(180,450),e.L(300,200),e.L(420,450),e.stroke(),e.M(180,120),e.L(420,120),e.stroke()}},K[9911]={width:W,draw:e=>{e.lineWidth(28),e.circle(300,200,100),e.stroke(),e.M(300,300),e.L(300,80),e.stroke(),e.M(300,200),e.L(400,300),e.stroke(),e.M(300,200),e.L(400,100),e.stroke()}},K[9912]={width:W,draw:e=>{e.lineWidth(28),e.M(300,80),e.L(300,250),e.stroke(),e.M(240,160),e.L(360,160),e.stroke(),e.M(220,350),e.C(220,450,380,450,380,350),e.C(380,290,320,270,300,310),e.C(280,270,220,290,220,350),e.stroke()}},K[9913]={width:W,draw:e=>{e.lineWidth(28),U(6,300,250,180,100,!1).draw(e)}},K[9914]={width:W,draw:e=>{e.lineWidth(35),e.M(150,400),e.L(300,150),e.L(450,400),e.stroke()}},K[9915]={width:W,draw:e=>{e.lineWidth(25),e.rect(120,80,360,340),e.stroke(),e.circle(200,160,25),e.fill(),e.circle(400,160,25),e.fill(),e.circle(300,250,25),e.fill(),e.circle(200,340,25),e.fill(),e.circle(400,340,25),e.fill()}},K[9916]={width:W,draw:e=>{e.lineWidth(30),e.rect(130,80,340,340),e.stroke(),e.M(130,80),e.L(470,420),e.stroke()}},K[9919]={width:W,draw:e=>{e.lineWidth(28),e.rect(100,70,400,360),e.stroke(),e.circle(240,250,60),e.stroke(),e.M(300,250),e.L(440,250),e.stroke(),e.M(400,250),e.L(400,210),e.stroke(),e.M(430,250),e.L(430,210),e.stroke()}},K[9920]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,160),e.stroke(),e.circle(300,250,80),e.stroke()}},K[9921]={width:W,draw:e=>{e.lineWidth(28),e.circle(300,230,140),e.stroke(),e.circle(300,230,70),e.stroke(),e.M(220,400),e.L(260,370),e.L(300,400),e.L(340,370),e.L(380,400),e.stroke()}},K[9922]={width:W,draw:e=>{e.circle(300,250,160),e.fill()}},K[9923]={width:W,draw:e=>{e.circle(300,230,150),e.fill(),e.lineWidth(30),e.M(200,410),e.L(240,380),e.L(300,420),e.L(360,380),e.L(400,410),e.stroke()}},K[9926]={width:W,draw:e=>{e.lineWidth(30);for(let t of[200,300,400])e.M(t,400),e.C(t-40,300,t,200,t,200),e.C(t,200,t+40,300,t,400),e.Z(),e.stroke()}},K[9927]={width:W,draw:e=>{e.circle(300,130,70),e.fill(),e.circle(300,290,95),e.fill(),e.circle(300,430,60),e.fill()}},K[9928]={width:W,draw:e=>{e.lineWidth(25),e.M(100,280),e.C(100,400,250,420,300,420),e.C(350,420,500,400,500,280),e.C(500,200,400,170,350,200),e.C(340,140,280,130,230,170),e.C(180,150,100,200,100,280),e.stroke(),e.lineWidth(20),e.M(220,150),e.L(200,80),e.stroke(),e.M(380,150),e.L(360,80),e.stroke(),e.M(300,420),e.L(260,340),e.L(320,320),e.L(280,250),e.stroke()}},K[9929]={width:W,draw:e=>{e.lineWidth(30),e.M(200,420),e.L(300,100),e.L(400,420),e.Z(),e.stroke()}},K[9930]={width:W,draw:e=>{e.M(200,420),e.L(300,100),e.L(400,420),e.Z(),e.fill()}},K[9931]={width:W,draw:e=>{e.lineWidth(28),e.rect(100,50,400,400),e.stroke(),e.M(300,100),e.L(450,250),e.L(300,400),e.L(150,250),e.Z(),e.stroke()}},K[9932]={width:W,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(500,420),e.stroke(),e.M(500,80),e.L(100,420),e.stroke()}},K[9933]={width:W,draw:e=>{e.lineWidth(28),e.rect(100,150,400,200),e.stroke(),e.circle(200,360,40),e.stroke(),e.circle(400,360,40),e.stroke(),e.M(200,200),e.L(400,300),e.stroke(),e.M(400,200),e.L(200,300),e.stroke()}},K[9935]={width:W,draw:e=>{e.lineWidth(35),e.M(150,100),e.L(450,400),e.stroke(),e.M(200,100),e.C(320,100,400,180,400,250),e.stroke()}},K[9936]={width:W,draw:e=>{e.lineWidth(28),e.rect(150,150,300,160),e.stroke(),e.circle(220,320,35),e.stroke(),e.circle(380,320,35),e.stroke(),e.M(120,400),e.C(200,370,350,430,480,400),e.stroke()}},K[9937]={width:W,draw:e=>{e.lineWidth(30),e.M(120,200),e.C(120,400,300,450,300,450),e.C(300,450,480,400,480,200),e.stroke(),e.M(300,200),e.L(300,400),e.stroke(),e.M(200,300),e.L(400,300),e.stroke()}},K[9938]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(160,120),e.L(440,380),e.stroke(),e.M(440,120),e.L(160,380),e.stroke()}},K[9939]={width:W,draw:e=>{e.lineWidth(30),e.ellipse(230,250,100,140),e.stroke(),e.ellipse(370,250,100,140),e.stroke()}},K[9941]={width:W,draw:e=>{e.lineWidth(35),e.M(480,250),e.L(120,250),e.stroke(),e.M(120,250),e.L(220,170),e.L(220,330),e.Z(),e.fill()}},K[9942]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,180),e.stroke(),e.M(140,250),e.L(460,250),e.stroke()}},K[9943]={width:W,draw:e=>{e.lineWidth(28),e.rect(120,80,360,340),e.stroke(),e.circle(300,250,50),e.fill()}},K[9944]={width:W,draw:e=>{e.lineWidth(35),e.M(400,80),e.L(200,250),e.L(400,420),e.stroke(),e.M(200,250),e.L(480,250),e.stroke()}},K[9945]={width:W,draw:e=>{e.lineWidth(35),e.M(200,80),e.L(400,250),e.L(200,420),e.stroke(),e.M(400,250),e.L(120,250),e.stroke()}},K[9946]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(220,350),e.C(220,300,380,250,380,200),e.C(380,150,220,150,220,200),e.stroke()}},K[9947]={width:W,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(480,400),e.L(300,100),e.Z(),e.stroke()}},K[9948]={width:W,draw:e=>{e.lineWidth(35),e.M(120,100),e.L(120,400),e.stroke(),e.M(120,250),e.L(480,250),e.stroke(),e.M(480,250),e.L(380,180),e.stroke(),e.M(480,250),e.L(380,320),e.stroke()}},K[9949]={width:W,draw:e=>{e.lineWidth(30),e.rect(100,60,400,380),e.stroke(),e.M(100,60),e.L(500,440),e.stroke(),e.M(500,60),e.L(100,440),e.stroke()}},K[9950]={width:W,draw:e=>{e.rect(80,40,440,420),e.fill()}},K[9951]={width:W,draw:e=>{e.M(100,350),e.L(100,180),e.L(350,180),e.L(350,130),e.L(500,130),e.L(500,350),e.Z(),e.fill(),e.lineWidth(25),e.circle(180,370,35),e.stroke(),e.circle(420,370,35),e.stroke()}},K[9952]={width:W,draw:e=>{e.lineWidth(28),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.L(100,250),e.Z(),e.fill()}},K[9953]={width:W,draw:e=>{e.lineWidth(28),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.L(500,250),e.Z(),e.fill()}},K[9954]={width:W,draw:e=>{e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.fill(),e.lineWidth(25),e.M(300,450),e.L(260,400),e.stroke(),e.M(300,450),e.L(340,400),e.stroke()}},K[9955]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,280,140),e.stroke(),e.M(190,170),e.L(410,390),e.stroke(),e.circle(230,120,20),e.fill(),e.circle(370,120,20),e.fill()}},K[9956]={width:W,draw:e=>{e.lineWidth(28),e.circle(300,250,180),e.stroke(),U(5,300,250,170,65,!1).draw(e)}},K[9957]={width:W,draw:e=>{e.lineWidth(30),U(5,300,250,190,75,!1).draw(e)}},K[9958]={width:W,draw:e=>{e.lineWidth(30),U(5,300,250,190,75,!0).draw(e)}},K[9959]={width:W,draw:e=>{e.lineWidth(28);for(let t=0;t<5;t++){let n=(t*360/5+90)*Math.PI/180,r=(t*360/5+126)*Math.PI/180;t===0?e.M(300+190*Math.cos(n),250+190*Math.sin(n)):e.L(300+190*Math.cos(n),250+190*Math.sin(n)),e.L(300+75*Math.cos(r),250+75*Math.sin(r))}e.Z(),e.stroke()}},K[9960]={width:W,draw:e=>{e.lineWidth(28),e.M(150,420),e.L(150,200),e.L(300,100),e.L(450,200),e.L(450,420),e.Z(),e.stroke(),e.lineWidth(40),e.M(300,180),e.L(300,380),e.stroke(),e.M(210,280),e.L(390,280),e.stroke()}},K[9961]={width:W,draw:e=>{e.lineWidth(35),e.M(140,100),e.L(140,420),e.stroke(),e.M(460,100),e.L(460,420),e.stroke(),e.M(100,400),e.L(500,400),e.stroke(),e.M(120,320),e.L(480,320),e.stroke()}},K[9963]={width:W,draw:e=>{e.lineWidth(28),e.rect(120,100,360,300),e.stroke();for(let t=120;t<480;t+=72)e.rect(t,400,36,50),e.stroke()}},K[9964]={width:W,draw:e=>{e.lineWidth(30),e.M(200,100),e.L(200,400),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(400,100),e.L(400,400),e.stroke(),e.M(140,100),e.L(460,100),e.stroke(),e.M(140,400),e.L(460,400),e.stroke(),e.M(140,400),e.L(300,470),e.L(460,400),e.stroke()}},K[9965]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,150),e.stroke();for(let t=0;t<8;t++){let n=t*Math.PI/4;e.M(300+150*Math.cos(n),250+150*Math.sin(n)),e.L(300+190*Math.cos(n),250+190*Math.sin(n))}e.stroke()}},K[9966]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,120),e.stroke(),e.circle(300,250,30),e.fill(),e.M(300,130),e.L(300,80),e.stroke(),e.M(300,370),e.L(300,420),e.stroke()}},K[9967]={width:W,draw:e=>{e.lineWidth(30),e.M(200,100),e.L(250,380),e.L(350,380),e.L(400,100),e.Z(),e.stroke(),e.M(300,380),e.L(300,460),e.stroke(),e.M(200,430),e.L(400,430),e.stroke()}},K[9968]={width:W,draw:e=>{e.lineWidth(35),e.M(80,100),e.L(250,400),e.L(350,280),e.L(520,100),e.stroke()}},K[9969]={width:W,draw:e=>{e.lineWidth(30),e.M(120,280),e.C(120,420,300,450,300,450),e.C(300,450,480,420,480,280),e.stroke(),e.M(300,280),e.L(300,100),e.stroke(),e.M(240,100),e.L(360,100),e.stroke()}},K[9972]={width:W,draw:e=>{e.lineWidth(30),e.M(100,250),e.C(100,150,200,120,300,120),e.C(400,120,500,150,500,250),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(350,120),e.L(350,300),e.stroke(),e.rect(330,300,40,80),e.stroke()}},K[9974]={width:W,draw:e=>{e.lineWidth(28),e.rect(120,80,360,340),e.stroke(),e.circle(120,80,20),e.fill(),e.circle(480,80,20),e.fill(),e.circle(120,420,20),e.fill(),e.circle(480,420,20),e.fill()}},K[9975]={width:W,draw:e=>{e.lineWidth(28),e.circle(300,420,35),e.fill(),e.M(300,385),e.L(300,240),e.stroke(),e.M(300,320),e.L(220,250),e.stroke(),e.M(300,320),e.L(380,250),e.stroke(),e.M(300,240),e.L(220,140),e.stroke(),e.M(300,240),e.L(380,140),e.stroke(),e.lineWidth(15),e.M(180,290),e.L(420,100),e.stroke()}},K[9976]={width:W,draw:e=>{e.lineWidth(30),e.M(150,350),e.L(150,200),e.L(300,150),e.L(400,200),e.L(400,350),e.Z(),e.stroke(),e.lineWidth(20),e.M(120,130),e.L(450,130),e.stroke()}},K[9977]={width:W,draw:e=>{e.lineWidth(28),e.circle(300,420,35),e.fill(),e.M(300,385),e.L(300,220),e.stroke(),e.M(300,300),e.L(220,230),e.stroke(),e.M(300,300),e.L(380,230),e.stroke(),e.M(300,220),e.L(230,120),e.stroke(),e.M(300,220),e.L(370,120),e.stroke(),e.circle(420,200,40),e.stroke()}},K[9979]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(150,200),e.L(450,200),e.stroke(),e.M(150,300),e.L(450,300),e.stroke()}},K[9980]={width:W,draw:e=>{e.lineWidth(30),e.M(180,100),e.L(180,350),e.C(180,430,420,430,420,350),e.L(420,100),e.Z(),e.stroke()}},K[9981]={width:W,draw:e=>{e.lineWidth(30),e.rect(130,100,240,330),e.stroke(),e.rect(170,180,160,100),e.stroke(),e.M(370,200),e.L(430,200),e.C(460,200,460,300,430,300),e.L(430,350),e.stroke(),e.M(130,100),e.L(430,100),e.stroke()}},K[9982]={width:W,draw:e=>{e.rect(80,50,440,400),e.fill()}},K[9983]={width:W,draw:e=>{e.lineWidth(28),e.M(150,450),e.L(150,80),e.L(480,80),e.L(480,320),e.L(150,320),e.stroke(),e.rect(150,170,330,80),e.fill()}};for(let e=9728;e<=9983;e++)if(!K[e]){let t=(e-9728)%7;K[e]={width:W,draw:e=>{switch(e.lineWidth(30),t){case 0:e.circle(300,250,170),e.stroke(),e.M(130,250),e.L(470,250),e.stroke();break;case 1:e.rect(120,70,360,360),e.stroke(),e.M(120,70),e.L(480,430),e.stroke();break;case 2:e.M(300,430),e.L(100,70),e.L(500,70),e.Z(),e.stroke(),e.circle(300,200,25),e.fill();break;case 3:e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke(),e.M(300,150),e.L(300,350),e.stroke(),e.M(200,250),e.L(400,250),e.stroke();break;case 4:e.circle(300,250,170),e.stroke(),e.M(300,80),e.L(300,420),e.stroke();break;case 5:e.M(300,440),e.L(470,340),e.L(470,160),e.L(300,60),e.L(130,160),e.L(130,340),e.Z(),e.stroke();break;default:e.circle(300,250,180),e.stroke(),e.circle(300,250,100),e.stroke();break}}}}ez={};for(let[e,t,n,r]of[[11008,1,1,!0],[11009,-1,1,!0],[11010,1,1,!1],[11011,-1,1,!1],[11012,0,0,!1],[11016,1,1,!0],[11017,-1,1,!0],[11018,1,-1,!0],[11019,-1,-1,!0],[11020,0,0,!0],[11021,0,0,!0]])t===0&&n===0?ez[e]={width:W,draw:e=>{r?(e.rect(100,200,400,100),e.fill()):(e.lineWidth(40),e.M(80,250),e.L(520,250),e.stroke(),e.M(80,250),e.L(180,350),e.L(180,150),e.Z(),e.fill(),e.M(520,250),e.L(420,350),e.L(420,150),e.Z(),e.fill())}}:ez[e]=NR(t,n);for(let e=11026;e<=11039;e++){let t=e<=11033;ez[e]={width:W,draw:n=>{n.lineWidth(30),t?(n.rect(100,50,400,400),n.stroke(),(e-11026)%2==0?(n.rect(100,250,400,200),n.fill()):(n.rect(100,50,400,200),n.fill())):(n.M(300,450),n.L(500,50),n.L(100,50),n.Z(),n.stroke(),(e-11034)%2==0&&(n.M(200,50),n.L(300,250),n.L(400,50),n.Z(),n.fill()))}}}for(let e=11040;e<=11263;e++)ez[e]||(e&1?ez[e]={width:W,draw:e=>{e.lineWidth(35),e.M(300,470),e.L(500,250),e.L(300,30),e.L(100,250),e.Z(),e.stroke()}}:ez[e]=NR(1,0));q={};for(let e=10224;e<=10239;e++)if(!q[e]){let t=e<=10228;q[e]={width:700,draw:e=>{e.lineWidth(40),t?(e.M(350,30),e.L(350,470),e.stroke(),e.M(350,470),e.L(230,350),e.L(470,350),e.Z(),e.fill()):(e.M(50,250),e.L(600,250),e.stroke(),e.M(600,250),e.L(470,370),e.L(470,130),e.Z(),e.fill())}}}q[10516]=VR(1,0),q[10517]=JR(1,0),q[10519]=HR(1,0),q[10520]=(()=>{let e=HR(1,0);return{width:W,draw:t=>{e.draw(t),t.lineWidth(35),t.M(300,150),t.L(300,350),t.stroke()}}})(),q[10521]=qR(-1,0,35),q[10522]=qR(1,0,35),q[10523]=HR(-1,0),q[10524]=HR(1,0),q[10539]=WR(1,1,1,-1),q[10540]=WR(1,-1,-1,-1),q[10541]=WR(1,-1,1,1),q[10542]=WR(1,1,1,-1),q[10543]={width:W,draw:e=>{e.lineWidth(30),e.M(120,420),e.L(480,80),e.stroke(),e.M(120,80),e.L(480,420),e.stroke(),e.M(480,420),e.L(400,410),e.L(470,340),e.Z(),e.fill()}},q[10544]={width:W,draw:e=>{e.lineWidth(30),e.M(120,80),e.L(480,420),e.stroke(),e.M(480,80),e.L(120,420),e.stroke(),e.M(120,420),e.L(200,410),e.L(130,340),e.Z(),e.fill()}},q[10545]=WR(1,1,-1,1),q[10546]=WR(-1,1,1,1),q[10547]={width:W,draw:e=>{e.lineWidth(35),e.M(80,250),e.C(160,350,240,150,320,250),e.C(360,300,420,250,480,250),e.stroke(),e.M(480,250),e.L(400,180),e.L(400,320),e.Z(),e.fill()}},q[10556]=GR(-1,0),q[10557]=GR(0,-1),q[10558]=UR(1,0),q[10559]={width:W,draw:e=>{GR(1,0).draw(e),e.lineWidth(25),e.M(280,380),e.L(320,380),e.stroke(),e.M(300,360),e.L(300,400),e.stroke()}},q[10566]=WR(-1,0,1,0),q[10567]=UR(1,0),q[10569]=VR(0,-1),q[10578]=JR(0,1),q[10579]=JR(0,-1),q[10580]=JR(1,0),q[10581]=JR(-1,0),q[10582]=VR(0,1),q[10583]=VR(0,-1),q[10584]=VR(1,0),q[10585]=VR(-1,0),q[10586]=qR(0,1,30),q[10587]=qR(0,-1,30),q[10588]=qR(1,0,30),q[10589]=qR(-1,0,30),q[10590]=qR(0,1,40),q[10591]=qR(0,-1,40),q[10592]=qR(1,0,40),q[10593]=qR(-1,0,40),q[10595]=WR(0,1,0,1),q[10597]=WR(0,-1,0,-1),q[10598]=WR(-1,0,-1,0),q[10599]=WR(1,0,1,0),q[10600]=WR(-1,0,1,0),q[10601]=WR(1,0,-1,0),q[10609]=KR(1,0),q[10610]=KR(1,0),q[10611]=KR(-1,0),tz={8213:{width:700,draw:e=>{e.lineWidth(50),e.M(0,250),e.L(700,250),e.stroke()}},8218:{width:300,draw:e=>{e.circle(150,80,35),e.fill(),e.lineWidth(25),e.M(150,45),e.C(170,10,190,-10,210,-20),e.stroke()}},8219:{width:300,draw:e=>{e.circle(150,450,35),e.fill(),e.lineWidth(25),e.M(150,415),e.C(130,380,110,365,90,360),e.stroke()}},8220:{width:400,draw:e=>{e.circle(130,450,30),e.fill(),e.circle(270,450,30),e.fill(),e.lineWidth(22),e.M(130,415),e.C(100,380,80,365,60,360),e.stroke(),e.M(270,415),e.C(240,380,220,365,200,360),e.stroke()}},8221:{width:400,draw:e=>{e.circle(130,450,30),e.fill(),e.circle(270,450,30),e.fill(),e.lineWidth(22),e.M(130,415),e.C(160,380,180,365,200,360),e.stroke(),e.M(270,415),e.C(300,380,320,365,340,360),e.stroke()}},8222:{width:400,draw:e=>{e.circle(130,80,30),e.fill(),e.circle(270,80,30),e.fill(),e.lineWidth(22),e.M(130,45),e.C(160,10,180,-5,200,-10),e.stroke(),e.M(270,45),e.C(300,10,320,-5,340,-10),e.stroke()}},8228:{width:300,draw:e=>{e.circle(150,50,40),e.fill()}},8256:{width:W,draw:e=>{e.lineWidth(30),e.M(120,380),e.C(200,450,400,450,480,380),e.stroke()}},8257:{width:W,draw:e=>{e.lineWidth(30),e.M(120,420),e.C(200,350,400,350,480,420),e.stroke()}},8258:YR(3,50),8263:{width:W,draw:e=>{e.lineWidth(35),XR(e,200,250),XR(e,400,250)}},8264:{width:W,draw:e=>{e.lineWidth(35),XR(e,200,250),ZR(e,400,250)}},8265:{width:W,draw:e=>{e.lineWidth(35),ZR(e,200,250),XR(e,400,250)}},8273:{width:W,draw:e=>{YR(6,35).draw(e),e.M(300,50),e.L(300,50)}},8274:{width:W,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(480,100),e.stroke(),e.circle(300,350,40),e.fill(),e.circle(300,150,40),e.fill()}},8275:{width:W,draw:e=>{e.lineWidth(45),e.M(100,250),e.C(200,350,400,150,500,250),e.stroke()}},8279:{width:500,draw:e=>{e.lineWidth(35);for(let t=0;t<4;t++)e.M(100+t*90,480),e.L(70+t*90,350);e.stroke()}}};for(let e=8192;e<=8303;e++)tz[e]||(tz[e]={width:0,draw:()=>{}});nz={};for(let e=8528;e<=8591;e++)if(!nz[e]){let t=(e-8528)%4+1;nz[e]={width:W,draw:e=>{e.lineWidth(40);let n=300-(t-1)*80/2;for(let r=0;r<t;r++)e.M(n+r*80,50),e.L(n+r*80,450);e.stroke()}}}}));function iz(e){return{width:e,draw:()=>{}}}function az(e,t,n,r,i){_z[t](e,n,r,i)}function oz(e,t,n,r,i){vz[t](e,n,r,i)}function sz(e){return{width:Y,draw:t=>{t.lineWidth(35),t.circle(300,250,200),t.stroke(),t.lineWidth(40),e(t)}}}function cz(e){return{width:Y,draw:e}}function lz(e){return{width:Y,draw:t=>{t.lineWidth(38),t.M(120,320),t.L(480,320),t.stroke(),t.M(120,180),t.L(480,180),t.stroke(),e&&e(t)}}}function J(e){e.lineWidth(35),e.M(200,420),e.L(400,80),e.stroke()}function uz(e,t){return{width:Y,draw:n=>{n.lineWidth(40),n.M(460,400),n.C(200,400,140,320,140,250),n.C(140,180,200,100,460,100),n.stroke(),e&&(n.M(140,55),n.L(460,55),n.stroke()),t&&J(n)}}}function dz(e,t){return{width:Y,draw:n=>{n.lineWidth(40),n.M(140,400),n.C(400,400,460,320,460,250),n.C(460,180,400,100,140,100),n.stroke(),e&&(n.M(140,55),n.L(460,55),n.stroke()),t&&J(n)}}}function fz(e){return{width:Y,draw:t=>{t.lineWidth(35),t.circle(300,250,190),t.stroke(),t.lineWidth(38),e(t)}}}function pz(e,t=18){return{width:Y,draw:n=>{n.lineWidth(28),e(n,300-t/2,250,280),e(n,300+t/2,250,280)}}}function mz(e){return{width:Y,draw:t=>{t.lineWidth(26),e(t,300,250,300)}}}function hz(e){return{width:Y,draw:t=>{t.lineWidth(36),e(t,300,250,300)}}}var Y,gz,_z,vz,yz,bz,xz,Sz,Cz,wz,Tz,X,Z,Ez,Q,Dz=t((()=>{Y=600,gz={8192:iz(500),8193:iz(1e3),8194:iz(500),8195:iz(1e3),8196:iz(333),8197:iz(250),8198:iz(167),8199:iz(500),8200:iz(250),8201:iz(200),8202:iz(100),8203:iz(0),8204:iz(0),8205:iz(0),8206:iz(0),8207:iz(0),8232:iz(0),8233:iz(0),8234:iz(0),8235:iz(0),8236:iz(0),8237:iz(0),8238:iz(0),8239:iz(200),8287:iz(222),8288:iz(0),8289:iz(0),8290:iz(0),8291:iz(0),8292:iz(0),65279:iz(0)},_z=[(e,t,n,r)=>{e.ellipse(t,n,r*.35,r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.15,n+r*.3),e.L(t,n+r*.5),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.25),e.C(t-r*.3,n+r*.55,t+r*.3,n+r*.55,t+r*.3,n+r*.2),e.C(t+r*.3,n,t-r*.3,n-r*.2,t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.45),e.C(t,n+r*.55,t+r*.35,n+r*.35,t+r*.1,n+r*.05),e.C(t+r*.35,n-r*.1,t+r*.35,n-r*.5,t-r*.25,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n-r*.5),e.L(t+r*.2,n+r*.5),e.L(t-r*.3,n-r*.1),e.L(t+r*.35,n-r*.1),e.stroke()},(e,t,n,r)=>{e.M(t+r*.3,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.3,n+r*.05),e.C(t+r*.1,n+r*.2,t+r*.4,n,t+r*.3,n-r*.2),e.C(t+r*.2,n-r*.5,t-r*.3,n-r*.5,t-r*.3,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.4),e.C(t-r*.1,n+r*.55,t-r*.35,n+r*.2,t-r*.35,n-r*.1),e.C(t-r*.35,n-r*.5,t+r*.35,n-r*.5,t+r*.35,n-r*.15),e.C(t+r*.35,n+r*.15,t-r*.35,n+r*.15,t-r*.35,n-r*.1),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.1,n-r*.5),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n+r*.25,r*.25,r*.22),e.stroke(),e.ellipse(t,n-r*.22,r*.28,r*.25),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.4),e.C(t+r*.1,n-r*.55,t+r*.35,n-r*.2,t+r*.35,n+r*.1),e.C(t+r*.35,n+r*.5,t-r*.35,n+r*.5,t-r*.35,n+r*.15),e.C(t-r*.35,n-r*.15,t+r*.35,n-r*.15,t+r*.35,n+r*.1),e.stroke()}],vz=[(e,t,n,r)=>{e.M(t-r*.35,n-r*.5),e.L(t,n+r*.5),e.L(t+r*.35,n-r*.5),e.stroke(),e.M(t-r*.2,n-r*.05),e.L(t+r*.2,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.35,n+r*.5,t+r*.35,n+r*.05,t+r*.05,n+r*.05),e.L(t+r*.1,n+r*.05),e.C(t+r*.4,n+r*.05,t+r*.4,n-r*.5,t+r*.1,n-r*.5),e.Z(),e.stroke()},(e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n-r*.5,t,n-r*.5),e.Z(),e.stroke()},(e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n),e.L(t+r*.15,n),e.stroke()},(e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n+r*.05),e.L(t+r*.15,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.L(t+r*.3,n-r*.05),e.L(t+r*.05,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.L(t+r*.3,n),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t+r*.15,n+r*.5),e.L(t+r*.15,n-r*.25),e.C(t+r*.15,n-r*.55,t-r*.3,n-r*.55,t-r*.3,n-r*.25),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t-r*.25,n),e.L(t+r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.35,n-r*.5),e.L(t-r*.35,n+r*.5),e.L(t,n),e.L(t+r*.35,n+r*.5),e.L(t+r*.35,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.L(t+r*.3,n+r*.5),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n,r*.35,r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n+r*.05,r*.35,r*.45),e.stroke(),e.M(t+r*.1,n-r*.2),e.L(t+r*.35,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t+r*.25,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.4,t-r*.25,n+r*.15),e.C(t-r*.15,n-r*.05,t+r*.2,n-r*.05,t+r*.25,n-r*.2),e.C(t+r*.35,n-r*.45,t-r*.1,n-r*.55,t-r*.25,n-r*.4),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.stroke(),e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t-r*.3,n-r*.15),e.C(t-r*.3,n-r*.55,t+r*.3,n-r*.55,t+r*.3,n-r*.15),e.L(t+r*.3,n+r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.35,n+r*.5),e.L(t,n-r*.5),e.L(t+r*.35,n+r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.4,n+r*.5),e.L(t-r*.2,n-r*.5),e.L(t,n+r*.1),e.L(t+r*.2,n-r*.5),e.L(t+r*.4,n+r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t,n),e.L(t+r*.3,n+r*.5),e.stroke(),e.M(t,n),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()}],yz={};for(let e=1;e<=9;e++)yz[9311+e]={width:Y,draw:t=>{t.lineWidth(30),t.circle(300,250,220),t.stroke(),t.lineWidth(28),az(t,e,300,250,210)}};for(let e=10;e<=19;e++){let t=e-10;yz[9311+e]={width:Y,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(24),az(e,1,230,250,160),az(e,t,370,250,160)}}}yz[9331]={width:Y,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(24),az(e,2,230,250,160),az(e,0,370,250,160)}},yz[9450]={width:Y,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(28),az(e,0,300,250,210)}},bz={};for(let e=0;e<26;e++)bz[9398+e]={width:Y,draw:t=>{t.lineWidth(28),t.circle(300,250,220),t.stroke(),t.lineWidth(24),oz(t,e,300,250,200)}};xz={};for(let e=0;e<26;e++)xz[9424+e]={width:Y,draw:t=>{t.lineWidth(25),t.circle(300,250,200),t.stroke(),t.lineWidth(22),oz(t,e,300,250,175)}};Sz={};for(let e=1;e<=9;e++)Sz[10101+e]={width:Y,draw:e=>{e.circle(300,250,240),e.fill()}};Cz={10003:{width:Y,draw:e=>{e.lineWidth(60),e.M(90,250),e.C(90,250,200,100,230,70),e.C(260,40,350,250,510,460),e.stroke()}},10004:{width:Y,draw:e=>{e.lineWidth(80),e.M(80,250),e.C(80,250,190,100,220,70),e.C(250,40,350,250,520,470),e.stroke()}},10007:{width:Y,draw:e=>{e.lineWidth(55),e.M(120,60),e.L(480,440),e.stroke(),e.M(480,60),e.L(120,440),e.stroke()}},10008:{width:Y,draw:e=>{e.lineWidth(75),e.M(120,60),e.L(480,440),e.stroke(),e.M(480,60),e.L(120,440),e.stroke()}},9733:{width:Y,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),250+230*Math.sin(n)):e.L(300+230*Math.cos(n),250+230*Math.sin(n)),e.L(300+95*Math.cos(r),250+95*Math.sin(r))}e.Z(),e.fill()}},9734:{width:Y,draw:e=>{e.lineWidth(30);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),250+230*Math.sin(n)):e.L(300+230*Math.cos(n),250+230*Math.sin(n)),e.L(300+95*Math.cos(r),250+95*Math.sin(r))}e.Z(),e.stroke()}},9829:{width:Y,draw:e=>{e.M(300,60),e.C(300,60,120,120,80,260),e.C(50,370,120,450,300,480),e.C(480,450,550,370,520,260),e.C(480,120,300,60,300,60),e.Z(),e.fill()}},9824:{width:Y,draw:e=>{e.M(300,490),e.C(300,490,50,340,70,200),e.C(80,100,180,60,300,200),e.C(420,60,520,100,530,200),e.C(550,340,300,490,300,490),e.Z(),e.fill(),e.M(260,200),e.L(260,20),e.L(340,20),e.L(340,200),e.Z(),e.fill()}},8594:{width:Y,draw:e=>{e.lineWidth(45),e.M(80,250),e.L(430,250),e.stroke(),e.M(520,250),e.L(380,370),e.L(380,130),e.Z(),e.fill()}},8592:{width:Y,draw:e=>{e.lineWidth(45),e.M(520,250),e.L(170,250),e.stroke(),e.M(80,250),e.L(220,370),e.L(220,130),e.Z(),e.fill()}},8593:{width:Y,draw:e=>{e.lineWidth(45),e.M(300,30),e.L(300,380),e.stroke(),e.M(300,470),e.L(170,330),e.L(430,330),e.Z(),e.fill()}},8595:{width:Y,draw:e=>{e.lineWidth(45),e.M(300,470),e.L(300,120),e.stroke(),e.M(300,30),e.L(170,170),e.L(430,170),e.Z(),e.fill()}},9679:{width:Y,draw:e=>{e.circle(300,250,230),e.fill()}},9675:{width:Y,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke()}},9632:{width:Y,draw:e=>{e.rect(80,30,440,440),e.fill()}},9633:{width:Y,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke()}},9744:{width:Y,draw:e=>{e.lineWidth(42),e.rect(90,25,420,420),e.stroke()}},9745:{width:Y,draw:e=>{e.lineWidth(42),e.rect(90,25,420,420),e.stroke(),e.lineWidth(52),e.M(180,230),e.C(180,230,250,130,270,110),e.C(290,90,350,220,440,370),e.stroke()}},9746:{width:Y,draw:e=>{e.lineWidth(42),e.rect(90,25,420,420),e.stroke(),e.lineWidth(48),e.M(165,95),e.L(435,375),e.stroke(),e.M(165,375),e.L(435,95),e.stroke()}},10695:{width:Y,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.circle(300,250,130),e.stroke()}}},wz={},wz[10752]=sz(e=>{e.circle(300,250,40),e.fill()}),wz[10753]=sz(e=>{e.M(100,250),e.L(500,250),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}),wz[10754]=sz(e=>{e.M(160,110),e.L(440,390),e.stroke(),e.M(160,390),e.L(440,110),e.stroke()}),wz[10755]=cz(e=>{e.lineWidth(40),e.M(120,450),e.L(120,200),e.C(120,30,480,30,480,200),e.L(480,450),e.stroke(),e.circle(300,200,35),e.fill()}),wz[10756]=cz(e=>{e.lineWidth(40),e.M(120,450),e.L(120,200),e.C(120,30,480,30,480,200),e.L(480,450),e.stroke(),e.M(230,200),e.L(370,200),e.stroke(),e.M(300,130),e.L(300,270),e.stroke()}),wz[10757]=cz(e=>{e.lineWidth(45),e.M(120,50),e.L(120,450),e.L(480,450),e.L(480,50),e.stroke()}),wz[10758]=cz(e=>{e.lineWidth(45),e.M(120,450),e.L(120,50),e.L(480,50),e.L(480,450),e.stroke()});for(let e=10759;e<=10762;e++)wz[e]=cz(e=>{e.lineWidth(40),e.M(200,480),e.C(180,480,160,450,160,400),e.L(160,100),e.C(160,50,180,20,200,20),e.stroke(),e.M(400,480),e.C(380,480,360,450,360,400),e.L(360,100),e.C(360,50,380,20,400,20),e.stroke()});for(let e=10763;e<=10780;e++)wz[e]||(wz[e]=cz(e=>{e.lineWidth(45),e.M(380,480),e.C(350,480,300,450,300,400),e.L(300,100),e.C(300,50,250,20,220,20),e.stroke()}));for(let e=10781;e<=10815;e++)wz[e]||(wz[e]=cz(e=>{e.lineWidth(40),e.M(120,450),e.L(480,250),e.L(120,50),e.stroke(),e.M(480,450),e.L(120,250),e.L(480,50),e.stroke()}));for(let e=10816;e<=10847;e++)wz[e]||(wz[e]=cz(e=>{e.lineWidth(40),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}));for(let e=10848;e<=10879;e++)wz[e]||(wz[e]=cz(e=>{e.lineWidth(40),e.M(120,350),e.C(200,420,400,420,480,350),e.stroke(),e.M(120,200),e.L(480,200),e.stroke()}));for(let e=10880;e<=10911;e++)wz[e]||(wz[e]=cz(e=>{e.lineWidth(40),e.M(480,420),e.C(200,420,120,320,120,250),e.C(120,180,200,80,480,80),e.stroke()}));for(let e=10912;e<=10943;e++)wz[e]||(wz[e]=cz(e=>{e.lineWidth(40),e.M(460,420),e.C(200,420,140,320,140,250),e.C(140,180,200,80,460,80),e.stroke(),e.M(140,30),e.L(460,30),e.stroke()}));for(let e=10944;e<=11007;e++)wz[e]||(wz[e]=cz(e=>{e.lineWidth(40),e.M(140,350),e.L(460,350),e.stroke(),e.M(140,200),e.L(460,200),e.stroke(),e.circle(300,275,30),e.fill()}));Tz={},Tz[10624]={width:Y,draw:e=>{e.lineWidth(35),e.M(200,0),e.L(200,500),e.stroke(),e.M(300,0),e.L(300,500),e.stroke(),e.M(400,0),e.L(400,500),e.stroke()}},Tz[10625]={width:Y,draw:e=>{e.circle(300,250,60),e.fill()}},Tz[10626]={width:300,draw:e=>{e.circle(150,370,40),e.fill(),e.circle(150,130,40),e.fill()}};for(let[e,t]of[[10627,!0],[10628,!1],[10629,!0],[10630,!1]])Tz[e]={width:350,draw:e=>{e.lineWidth(35),t?(e.M(250,500),e.C(80,400,80,100,250,0),e.stroke()):(e.M(100,500),e.C(270,400,270,100,100,0),e.stroke())}};for(let e=10631;e<=10642;e++)if(!Tz[e]){let t=(e-10631)%2==0;Tz[e]={width:350,draw:e=>{e.lineWidth(35),t?(e.M(250,500),e.L(100,250),e.L(250,0),e.stroke()):(e.M(100,500),e.L(250,250),e.L(100,0),e.stroke())}}}for(let e=10643;e<=10648;e++)if(!Tz[e]){let t=(e-10643)%2==0;Tz[e]={width:350,draw:e=>{e.lineWidth(30),t?(e.M(250,500),e.C(100,400,100,100,250,0),e.stroke()):(e.M(100,500),e.C(250,400,250,100,100,0),e.stroke())}}}Tz[10649]={width:200,draw:e=>{for(let t=50;t<=450;t+=80)e.circle(100,t,20),e.fill()}},Tz[10650]={width:300,draw:e=>{e.lineWidth(35),e.M(100,500),e.L(200,400),e.L(100,300),e.L(200,200),e.L(100,100),e.L(200,0),e.stroke()}};for(let e=10651;e<=10654;e++)Tz[e]={width:Y,draw:e=>{e.lineWidth(40),e.M(480,50),e.L(120,50),e.L(380,400),e.stroke(),e.M(200,50),e.C(200,150,250,200,280,180),e.stroke()}};for(let e=10655;e<=10661;e++)Tz[e]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(120,450),e.L(480,50),e.stroke()}};for(let e=10662;e<=10671;e++)Tz[e]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(480,50),e.stroke(),e.M(120,50),e.L(120,400),e.stroke(),e.M(300,50),e.L(300,350),e.stroke()}};for(let e=10672;e<=10687;e++)Tz[e]=sz(e=>{e.M(160,110),e.L(440,390),e.stroke()});for(let e=10696;e<=10703;e++)e===10696||e===10697||(Tz[e]={width:Y,draw:e=>{e.lineWidth(35),e.rect(100,50,400,400),e.stroke(),e.M(200,150),e.L(400,350),e.stroke()}});for(let e=10704;e<=10719;e++)Tz[e]={width:Y,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke()}};for(let e=10720;e<=10751;e++)Tz[e]||(Tz[e]={width:Y,draw:e=>{e.lineWidth(35),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,100),e.stroke()}});X={},X[8705]={width:Y,draw:e=>{e.lineWidth(42),e.M(420,400),e.C(380,470,220,470,180,400),e.C(140,320,140,180,180,100),e.C(220,30,380,30,420,100),e.stroke()}},X[8708]={width:Y,draw:e=>{e.lineWidth(42),e.M(420,60),e.L(180,60),e.L(180,450),e.L(420,450),e.stroke(),e.M(180,250),e.L(380,250),e.stroke(),J(e)}},X[8714]={width:Y,draw:e=>{e.lineWidth(35),e.M(440,380),e.C(300,430,160,370,160,250),e.C(160,130,300,70,440,120),e.stroke(),e.M(160,250),e.L(400,250),e.stroke()}},X[8716]={width:Y,draw:e=>{e.lineWidth(42),e.M(160,400),e.C(300,460,440,380,440,250),e.C(440,120,300,40,160,100),e.stroke(),e.M(440,250),e.L(200,250),e.stroke(),J(e)}},X[8717]={width:Y,draw:e=>{e.lineWidth(35),e.M(160,380),e.C(300,430,440,370,440,250),e.C(440,130,300,70,160,120),e.stroke(),e.M(440,250),e.L(200,250),e.stroke()}},X[8720]={width:Y,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,450),e.L(460,450),e.L(460,60),e.stroke()}},X[8724]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(480,250),e.stroke(),e.M(300,120),e.L(300,380),e.stroke(),e.circle(300,430,25),e.fill()}},X[8725]={width:Y,draw:e=>{e.lineWidth(42),e.M(440,470),e.L(160,30),e.stroke()}},X[8726]={width:Y,draw:e=>{e.lineWidth(42),e.M(160,470),e.L(440,30),e.stroke()}},X[8731]={width:Y,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(180,250),e.L(260,30),e.L(350,470),e.L(520,470),e.stroke(),e.lineWidth(22),e.M(80,440),e.C(80,470,130,470,130,445),e.C(130,420,80,420,80,395),e.stroke()}},X[8732]={width:Y,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(180,250),e.L(260,30),e.L(350,470),e.L(520,470),e.stroke(),e.lineWidth(22),e.M(120,395),e.L(120,470),e.L(80,430),e.L(130,430),e.stroke()}},X[8737]={width:Y,draw:e=>{e.lineWidth(40),e.M(480,60),e.L(120,60),e.L(420,440),e.stroke(),e.lineWidth(28),e.M(220,60),e.C(220,160,260,200,290,180),e.stroke()}},X[8738]={width:Y,draw:e=>{e.lineWidth(40),e.M(420,440),e.L(120,60),e.L(420,60),e.stroke(),e.lineWidth(28),e.M(200,140),e.C(240,200,320,200,360,140),e.stroke()}},X[8748]={width:Y,draw:e=>{e.lineWidth(40),e.M(320,470),e.C(290,470,260,440,260,400),e.L(260,100),e.C(260,60,230,30,200,30),e.stroke(),e.M(440,470),e.C(410,470,380,440,380,400),e.L(380,100),e.C(380,60,350,30,320,30),e.stroke()}},X[8749]={width:Y,draw:e=>{e.lineWidth(35);for(let t=0;t<3;t++){let n=180+t*100;e.M(n+40,470),e.C(n+20,470,n,440,n,400),e.L(n,100),e.C(n,60,n-20,30,n-40,30),e.stroke()}}},X[8750]={width:Y,draw:e=>{e.lineWidth(40),e.M(360,470),e.C(330,470,300,440,300,400),e.L(300,100),e.C(300,60,270,30,240,30),e.stroke(),e.lineWidth(28),e.ellipse(300,250,80,60),e.stroke()}},X[8751]={width:Y,draw:e=>{e.lineWidth(35);for(let t=0;t<2;t++){let n=220+t*110;e.M(n+40,470),e.C(n+20,470,n,440,n,400),e.L(n,100),e.C(n,60,n-20,30,n-40,30),e.stroke()}e.lineWidth(25),e.ellipse(300,250,70,50),e.stroke()}},X[8752]={width:Y,draw:e=>{e.lineWidth(32);for(let t=0;t<3;t++){let n=180+t*100;e.M(n+35,470),e.C(n+15,470,n,440,n,400),e.L(n,100),e.C(n,60,n-15,30,n-35,30),e.stroke()}e.lineWidth(22),e.ellipse(280,250,60,45),e.stroke()}},X[8753]={width:Y,draw:e=>{e.lineWidth(40),e.M(360,470),e.C(330,470,300,440,300,400),e.L(300,100),e.C(300,60,270,30,240,30),e.stroke(),e.lineWidth(25),e.M(370,230),e.C(370,300,230,300,230,250),e.C(230,200,310,200,340,230),e.stroke()}},X[8754]={width:Y,draw:e=>{e.lineWidth(40),e.M(360,470),e.C(330,470,300,440,300,400),e.L(300,100),e.C(300,60,270,30,240,30),e.stroke(),e.lineWidth(25),e.M(230,230),e.C(230,300,370,300,370,250),e.C(370,200,290,200,260,230),e.stroke()}},X[8755]=X[8753],X[8760]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(480,250),e.stroke(),e.circle(300,360,28),e.fill()}},X[8761]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(480,250),e.stroke(),e.circle(300,370,28),e.fill(),e.circle(300,130,28),e.fill()}},X[8762]={width:Y,draw:e=>{e.circle(180,350,28),e.fill(),e.circle(420,350,28),e.fill(),e.circle(180,150,28),e.fill(),e.circle(420,150,28),e.fill(),e.lineWidth(38),e.M(120,250),e.L(480,250),e.stroke()}},X[8763]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,300),e.C(200,380,400,380,480,300),e.stroke(),e.M(120,180),e.C(200,260,400,260,480,180),e.stroke(),e.circle(300,400,25),e.fill()}},X[8764]={width:Y,draw:e=>{e.lineWidth(45),e.M(120,280),e.C(200,380,400,120,480,220),e.stroke()}},X[8765]={width:Y,draw:e=>{e.lineWidth(45),e.M(120,220),e.C(200,120,400,380,480,280),e.stroke()}},X[8766]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,250),e.C(120,400,300,400,300,250),e.C(300,100,480,100,480,250),e.stroke()}},X[8767]={width:Y,draw:e=>{e.lineWidth(40),e.M(80,250),e.C(160,450,300,450,300,250),e.C(300,50,440,50,520,250),e.stroke()}},X[8768]={width:Y,draw:e=>{e.lineWidth(40),e.M(300,460),e.C(200,380,400,120,300,40),e.stroke()}},X[8769]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,280),e.C(200,380,400,120,480,220),e.stroke(),J(e)}},X[8770]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,400,400,400,480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},X[8771]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,420,400,120,480,220),e.stroke(),e.M(120,150),e.L(480,150),e.stroke()}},X[8772]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,420,400,120,480,220),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),J(e)}},X[8774]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,370),e.C(200,440,400,440,480,370),e.stroke(),e.M(120,250),e.C(200,320,400,320,480,250),e.stroke(),e.M(120,130),e.L(480,130),e.stroke(),J(e)}},X[8775]=X[8774],X[8777]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,400,400,400,480,320),e.stroke(),e.M(120,180),e.C(200,260,400,260,480,180),e.stroke(),J(e)}},X[8778]={width:Y,draw:e=>{e.lineWidth(36),e.M(120,370),e.C(200,440,400,440,480,370),e.stroke(),e.M(120,260),e.C(200,330,400,330,480,260),e.stroke(),e.M(120,150),e.L(480,150),e.stroke()}},X[8779]={width:Y,draw:e=>{e.lineWidth(35);for(let t of[370,250,130])e.M(120,t),e.C(200,t+70,400,t+70,480,t),e.stroke()}},X[8781]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,340),e.C(200,420,400,420,480,340),e.stroke(),e.M(120,160),e.C(200,80,400,80,480,160),e.stroke()}},X[8782]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,420,400,420,480,320),e.stroke(),e.M(120,180),e.C(200,80,400,80,480,180),e.stroke()}},X[8783]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,400,400,400,480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},X[8784]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,300),e.L(480,300),e.stroke(),e.M(120,180),e.L(480,180),e.stroke(),e.circle(300,410,25),e.fill()}},X[8785]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,300),e.L(480,300),e.stroke(),e.M(120,180),e.L(480,180),e.stroke(),e.circle(300,410,25),e.fill(),e.circle(300,80,25),e.fill()}},X[8786]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,310),e.C(200,370,400,370,480,310),e.stroke(),e.M(120,190),e.C(200,130,400,130,480,190),e.stroke()}},X[8787]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,310),e.C(200,250,400,250,480,310),e.stroke(),e.M(120,190),e.C(200,250,400,250,480,190),e.stroke()}},X[8788]={width:Y,draw:e=>{e.circle(180,330,30),e.fill(),e.circle(180,170,30),e.fill(),e.lineWidth(40),e.M(260,320),e.L(480,320),e.stroke(),e.M(260,180),e.L(480,180),e.stroke()}},X[8789]={width:Y,draw:e=>{e.circle(420,330,30),e.fill(),e.circle(420,170,30),e.fill(),e.lineWidth(40),e.M(120,320),e.L(340,320),e.stroke(),e.M(120,180),e.L(340,180),e.stroke()}},X[8790]=lz(e=>{e.lineWidth(25),e.circle(300,250,35),e.stroke()}),X[8791]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,280),e.L(480,280),e.stroke(),e.M(120,170),e.L(480,170),e.stroke(),e.lineWidth(25),e.circle(300,390,35),e.stroke()}},X[8792]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,280),e.L(480,280),e.stroke(),e.M(120,170),e.L(480,170),e.stroke(),e.lineWidth(28),e.M(240,390),e.L(300,430),e.L(360,390),e.stroke()}},X[8793]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,260),e.L(480,260),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),e.lineWidth(28),e.M(240,370),e.L(300,420),e.L(360,370),e.stroke()}},X[8794]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,260),e.L(480,260),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),e.lineWidth(28),e.M(240,420),e.L(300,370),e.L(360,420),e.stroke()}},X[8795]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,140),e.L(480,140),e.stroke(),e.circle(300,380,35),e.fill()}},X[8797]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,140),e.L(480,140),e.stroke(),e.lineWidth(25),e.M(260,360),e.L(300,440),e.L(340,360),e.Z(),e.stroke()}},X[8798]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,140),e.L(480,140),e.stroke(),e.lineWidth(22),e.M(230,360),e.L(230,430),e.L(270,390),e.L(310,430),e.L(310,360),e.stroke()}},X[8799]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,230),e.L(480,230),e.stroke(),e.M(120,120),e.L(480,120),e.stroke(),e.lineWidth(25),e.M(260,360),e.C(260,430,340,430,340,390),e.C(340,360,300,340,300,310),e.stroke(),e.circle(300,290,15),e.fill()}},X[8802]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,350),e.L(480,350),e.stroke(),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),J(e)}},X[8803]={width:Y,draw:e=>{e.lineWidth(36),e.M(120,370),e.L(480,370),e.stroke(),e.M(120,290),e.L(480,290),e.stroke(),e.M(120,210),e.L(480,210),e.stroke(),e.M(120,130),e.L(480,130),e.stroke()}},X[8806]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},X[8807]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},X[8808]={width:Y,draw:e=>{X[8806].draw(e),J(e)}},X[8809]={width:Y,draw:e=>{X[8807].draw(e),J(e)}},X[8812]={width:Y,draw:e=>{e.lineWidth(40),e.M(200,420),e.L(400,250),e.L(200,80),e.stroke(),e.M(400,420),e.L(200,250),e.L(400,80),e.stroke()}},X[8813]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,340),e.C(200,420,400,420,480,340),e.stroke(),e.M(120,160),e.C(200,80,400,80,480,160),e.stroke(),J(e)}},X[8814]={width:Y,draw:e=>{e.lineWidth(42),e.M(460,400),e.L(140,250),e.L(460,100),e.stroke(),J(e)}},X[8815]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,400),e.L(460,250),e.L(140,100),e.stroke(),J(e)}},X[8816]={width:Y,draw:e=>{e.lineWidth(38),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke(),J(e)}},X[8817]={width:Y,draw:e=>{e.lineWidth(38),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke(),J(e)}},X[8818]={width:Y,draw:e=>{e.lineWidth(38),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,60),e.C(220,30,380,30,460,60),e.stroke()}},X[8819]={width:Y,draw:e=>{e.lineWidth(38),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,60),e.C(220,30,380,30,460,60),e.stroke()}},X[8820]={width:Y,draw:e=>{X[8818].draw(e),J(e)}},X[8821]={width:Y,draw:e=>{X[8819].draw(e),J(e)}},X[8822]={width:Y,draw:e=>{e.lineWidth(38),e.M(460,430),e.L(140,330),e.L(460,230),e.stroke(),e.M(140,230),e.L(460,130),e.L(140,60),e.stroke()}},X[8823]={width:Y,draw:e=>{e.lineWidth(38),e.M(140,430),e.L(460,330),e.L(140,230),e.stroke(),e.M(460,230),e.L(140,130),e.L(460,60),e.stroke()}},X[8824]={width:Y,draw:e=>{X[8822].draw(e),J(e)}},X[8825]={width:Y,draw:e=>{X[8823].draw(e),J(e)}},X[8826]={width:Y,draw:e=>{e.lineWidth(42),e.M(460,400),e.C(200,400,140,300,140,250),e.C(140,200,200,100,460,100),e.stroke()}},X[8827]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,400),e.C(400,400,460,300,460,250),e.C(460,200,400,100,140,100),e.stroke()}},X[8828]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,420),e.C(200,420,140,320,140,280),e.C(140,240,200,140,460,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},X[8829]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,420),e.C(400,420,460,320,460,280),e.C(460,240,400,140,140,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},X[8830]={width:Y,draw:e=>{e.lineWidth(38),e.M(460,420),e.C(200,420,140,320,140,280),e.C(140,240,200,140,460,140),e.stroke(),e.M(140,80),e.C(220,50,380,50,460,80),e.stroke()}},X[8831]={width:Y,draw:e=>{e.lineWidth(38),e.M(140,420),e.C(400,420,460,320,460,280),e.C(460,240,400,140,140,140),e.stroke(),e.M(140,80),e.C(220,50,380,50,460,80),e.stroke()}},X[8832]={width:Y,draw:e=>{X[8826].draw(e),J(e)}},X[8833]={width:Y,draw:e=>{X[8827].draw(e),J(e)}},X[8840]=uz(!0,!0),X[8841]=dz(!0,!0),X[8842]=uz(!0,!0),X[8843]=dz(!0,!0),X[8844]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,450),e.L(140,200),e.C(140,50,460,50,460,200),e.L(460,450),e.stroke(),e.M(230,280),e.L(370,280),e.stroke()}},X[8845]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,450),e.L(140,200),e.C(140,50,460,50,460,200),e.L(460,450),e.stroke(),e.circle(300,250,30),e.fill()}},X[8846]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,450),e.L(140,200),e.C(140,50,460,50,460,200),e.L(460,450),e.stroke(),e.M(240,250),e.L(360,250),e.stroke(),e.M(300,190),e.L(300,310),e.stroke()}},X[8847]={width:Y,draw:e=>{e.lineWidth(42),e.M(460,420),e.L(140,420),e.L(140,80),e.L(460,80),e.stroke()}},X[8848]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(460,420),e.L(460,80),e.L(140,80),e.stroke()}},X[8849]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,440),e.L(140,440),e.L(140,140),e.L(460,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},X[8850]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,440),e.L(460,440),e.L(460,140),e.L(140,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},X[8851]={width:Y,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,440),e.L(460,440),e.L(460,60),e.stroke()}},X[8852]={width:Y,draw:e=>{e.lineWidth(45),e.M(140,440),e.L(140,60),e.L(460,60),e.L(460,440),e.stroke()}},X[8858]=fz(e=>{e.lineWidth(28),e.circle(300,250,60),e.stroke()}),X[8859]=fz(e=>{e.lineWidth(32);for(let t=0;t<3;t++){let n=t*60*Math.PI/180;e.M(300+80*Math.cos(n),250+80*Math.sin(n)),e.L(300-80*Math.cos(n),250-80*Math.sin(n)),e.stroke()}}),X[8860]=fz(e=>{e.M(200,280),e.L(400,280),e.stroke(),e.M(200,220),e.L(400,220),e.stroke()}),X[8861]=fz(e=>{e.M(200,250),e.L(400,250),e.stroke()}),X[8862]={width:Y,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},X[8863]={width:Y,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.M(160,250),e.L(440,250),e.stroke()}},X[8864]={width:Y,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.M(100,50),e.L(500,450),e.stroke(),e.M(500,50),e.L(100,450),e.stroke()}},X[8865]={width:Y,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,40),e.fill()}},X[8866]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,60),e.stroke(),e.M(140,250),e.L(480,250),e.stroke()}},X[8867]={width:Y,draw:e=>{e.lineWidth(42),e.M(460,440),e.L(460,60),e.stroke(),e.M(460,250),e.L(120,250),e.stroke()}},X[8868]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,440),e.L(480,440),e.stroke(),e.M(300,440),e.L(300,60),e.stroke()}},X[8870]={width:Y,draw:e=>{e.lineWidth(42),e.M(160,440),e.L(160,60),e.stroke(),e.M(160,250),e.L(460,250),e.stroke(),e.M(220,440),e.L(220,60),e.stroke()}},X[8871]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,60),e.stroke(),e.M(140,310),e.L(460,310),e.stroke(),e.M(140,190),e.L(460,190),e.stroke()}},X[8872]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,60),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(200,250),e.L(460,250),e.stroke()}},X[8873]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,440),e.L(140,60),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(200,250),e.L(460,250),e.stroke()}},X[8874]={width:Y,draw:e=>{e.lineWidth(36),e.M(130,440),e.L(130,60),e.stroke(),e.M(190,440),e.L(190,60),e.stroke(),e.M(250,440),e.L(250,60),e.stroke(),e.M(250,250),e.L(460,250),e.stroke()}},X[8875]={width:Y,draw:e=>{e.lineWidth(38),e.M(130,440),e.L(130,60),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(200,300),e.L(460,300),e.stroke(),e.M(200,200),e.L(460,200),e.stroke()}},X[8876]={width:Y,draw:e=>{X[8866].draw(e),J(e)}},X[8877]={width:Y,draw:e=>{X[8872].draw(e),J(e)}},X[8878]={width:Y,draw:e=>{X[8873].draw(e),J(e)}},X[8879]={width:Y,draw:e=>{X[8875].draw(e),J(e)}},X[8880]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,400),e.C(200,400,140,300,140,250),e.C(140,200,200,100,460,100),e.stroke(),e.M(140,50),e.L(460,50),e.stroke()}},X[8881]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,400),e.C(400,400,460,300,460,250),e.C(460,200,400,100,140,100),e.stroke(),e.M(140,50),e.L(460,50),e.stroke()}},X[8882]={width:Y,draw:e=>{e.lineWidth(42),e.M(460,420),e.L(140,250),e.L(460,80),e.Z(),e.stroke()}},X[8883]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(460,250),e.L(140,80),e.Z(),e.stroke()}},X[8884]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,440),e.L(140,260),e.L(460,100),e.Z(),e.stroke(),e.M(140,55),e.L(460,55),e.stroke()}},X[8885]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,440),e.L(460,260),e.L(140,100),e.Z(),e.stroke(),e.M(140,55),e.L(460,55),e.stroke()}},X[8886]={width:Y,draw:e=>{e.lineWidth(40),e.M(420,400),e.L(200,250),e.L(420,100),e.stroke(),e.circle(160,250,40),e.fill()}},X[8887]={width:Y,draw:e=>{e.lineWidth(40),e.M(180,400),e.L(400,250),e.L(180,100),e.stroke(),e.circle(440,250,40),e.fill()}},X[8888]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(430,250),e.stroke(),e.lineWidth(28),e.circle(470,250,40),e.stroke()}},X[8889]={width:Y,draw:e=>{e.lineWidth(38),e.rect(120,80,360,340),e.stroke(),e.circle(300,250,30),e.fill()}},X[8890]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,60),e.L(480,60),e.stroke(),e.M(300,60),e.L(300,440),e.stroke()}},X[8891]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,80),e.L(300,440),e.L(460,80),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},X[8892]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(300,60),e.L(460,420),e.stroke(),e.M(140,440),e.L(460,440),e.stroke()}},X[8893]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,80),e.L(300,440),e.L(460,80),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},X[8894]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,80),e.L(460,80),e.stroke(),e.lineWidth(28),e.M(140,300),e.C(250,300,320,200,320,80),e.stroke()}},X[8896]={width:Y,draw:e=>{e.lineWidth(45),e.M(120,60),e.L(300,440),e.L(480,60),e.stroke()}},X[8897]={width:Y,draw:e=>{e.lineWidth(45),e.M(120,440),e.L(300,60),e.L(480,440),e.stroke()}},X[8898]={width:Y,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,250),e.C(140,460,460,460,460,250),e.L(460,60),e.stroke()}},X[8899]={width:Y,draw:e=>{e.lineWidth(45),e.M(140,440),e.L(140,250),e.C(140,40,460,40,460,250),e.L(460,440),e.stroke()}},X[8900]={width:Y,draw:e=>{e.lineWidth(38),e.M(300,420),e.L(460,250),e.L(300,80),e.L(140,250),e.Z(),e.stroke()}},X[8901]={width:Y,draw:e=>{e.circle(300,250,35),e.fill()}},X[8902]={width:Y,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+140*Math.cos(n),250+140*Math.sin(n)):e.L(300+140*Math.cos(n),250+140*Math.sin(n)),e.L(300+60*Math.cos(r),250+60*Math.sin(r))}e.Z(),e.fill()}},X[8903]={width:Y,draw:e=>{e.lineWidth(40),e.M(160,400),e.L(440,100),e.stroke(),e.M(440,400),e.L(160,100),e.stroke(),e.circle(300,420,28),e.fill(),e.circle(300,80,28),e.fill()}},X[8904]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(300,250),e.L(120,100),e.Z(),e.stroke(),e.M(480,400),e.L(300,250),e.L(480,100),e.Z(),e.stroke()}},X[8905]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,400),e.L(380,250),e.L(140,100),e.Z(),e.stroke(),e.M(380,400),e.L(380,100),e.stroke()}},X[8906]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,400),e.L(220,250),e.L(460,100),e.Z(),e.stroke(),e.M(220,400),e.L(220,100),e.stroke()}},X[8907]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,400),e.L(380,250),e.L(140,100),e.stroke(),e.M(380,400),e.L(380,100),e.stroke()}},X[8908]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,400),e.L(220,250),e.L(460,100),e.stroke(),e.M(220,400),e.L(220,100),e.stroke()}},X[8909]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,220),e.C(200,120,400,380,480,280),e.stroke(),e.M(120,140),e.L(480,140),e.stroke()}},X[8910]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,440),e.C(200,200,260,100,300,60),e.C(340,100,400,200,480,440),e.stroke()}},X[8911]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,60),e.C(200,300,260,400,300,440),e.C(340,400,400,300,480,60),e.stroke()}},X[8912]={width:Y,draw:e=>{e.lineWidth(35),e.M(440,400),e.C(250,400,180,320,180,250),e.C(180,180,250,100,440,100),e.stroke(),e.M(480,400),e.C(290,400,220,320,220,250),e.C(220,180,290,100,480,100),e.stroke()}},X[8913]={width:Y,draw:e=>{e.lineWidth(35),e.M(160,400),e.C(350,400,420,320,420,250),e.C(420,180,350,100,160,100),e.stroke(),e.M(120,400),e.C(310,400,380,320,380,250),e.C(380,180,310,100,120,100),e.stroke()}},X[8914]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,60),e.L(120,230),e.C(120,460,480,460,480,230),e.L(480,60),e.stroke(),e.M(200,60),e.L(200,230),e.C(200,400,400,400,400,230),e.L(400,60),e.stroke()}},X[8915]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,440),e.L(120,270),e.C(120,40,480,40,480,270),e.L(480,440),e.stroke(),e.M(200,440),e.L(200,270),e.C(200,100,400,100,400,270),e.L(400,440),e.stroke()}},X[8916]={width:Y,draw:e=>{e.lineWidth(42),e.M(300,60),e.L(300,440),e.stroke(),e.M(140,60),e.L(140,250),e.C(140,400,460,400,460,250),e.L(460,60),e.stroke()}},X[8917]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,310),e.L(480,310),e.stroke(),e.M(120,200),e.L(480,200),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(400,440),e.L(400,60),e.stroke()}},X[8918]={width:Y,draw:e=>{e.lineWidth(42),e.M(460,400),e.L(140,250),e.L(460,100),e.stroke(),e.circle(300,250,30),e.fill()}},X[8919]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,400),e.L(460,250),e.L(140,100),e.stroke(),e.circle(300,250,30),e.fill()}},X[8920]={width:Y,draw:e=>{e.lineWidth(35);for(let t of[160,280,400])e.M(t+80,400),e.L(t,250),e.L(t+80,100),e.stroke()}},X[8921]={width:Y,draw:e=>{e.lineWidth(35);for(let t of[440,320,200])e.M(t-80,400),e.L(t,250),e.L(t-80,100),e.stroke()}},X[8922]={width:Y,draw:e=>{e.lineWidth(36),e.M(460,460),e.L(140,370),e.L(460,280),e.stroke(),e.M(140,240),e.L(460,240),e.stroke(),e.M(140,200),e.L(460,110),e.L(140,40),e.stroke()}},X[8923]={width:Y,draw:e=>{e.lineWidth(36),e.M(140,460),e.L(460,370),e.L(140,280),e.stroke(),e.M(140,240),e.L(460,240),e.stroke(),e.M(460,200),e.L(140,110),e.L(460,40),e.stroke()}},X[8924]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,440),e.L(460,440),e.stroke()}},X[8925]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,440),e.L(460,440),e.stroke()}},X[8926]={width:Y,draw:e=>{e.lineWidth(38),e.M(460,420),e.C(200,420,140,320,140,280),e.C(140,240,200,140,460,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},X[8927]={width:Y,draw:e=>{e.lineWidth(38),e.M(140,420),e.C(400,420,460,320,460,280),e.C(460,240,400,140,140,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},X[8928]={width:Y,draw:e=>{X[8926].draw(e),J(e)}},X[8929]={width:Y,draw:e=>{X[8927].draw(e),J(e)}},X[8930]={width:Y,draw:e=>{X[8849].draw(e),J(e)}},X[8931]={width:Y,draw:e=>{X[8850].draw(e),J(e)}},X[8932]={width:Y,draw:e=>{X[8849].draw(e),J(e)}},X[8933]={width:Y,draw:e=>{X[8850].draw(e),J(e)}},X[8934]={width:Y,draw:e=>{X[8818].draw(e),J(e)}},X[8935]={width:Y,draw:e=>{X[8819].draw(e),J(e)}},X[8936]={width:Y,draw:e=>{X[8830].draw(e),J(e)}},X[8937]={width:Y,draw:e=>{X[8831].draw(e),J(e)}},X[8938]={width:Y,draw:e=>{X[8882].draw(e),J(e)}},X[8939]={width:Y,draw:e=>{X[8883].draw(e),J(e)}},X[8940]={width:Y,draw:e=>{X[8884].draw(e),J(e)}},X[8941]={width:Y,draw:e=>{X[8885].draw(e),J(e)}},X[8942]={width:Y,draw:e=>{e.circle(300,380,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(300,120,28),e.fill()}},X[8943]={width:Y,draw:e=>{e.circle(150,250,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(450,250,28),e.fill()}},X[8944]={width:Y,draw:e=>{e.circle(170,120,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(430,380,28),e.fill()}},X[8945]={width:Y,draw:e=>{e.circle(170,380,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(430,120,28),e.fill()}};for(let e=8946;e<=8959;e++)if(!X[e]){let t=(e-8946)%2==0;X[e]={width:Y,draw:e=>{e.lineWidth(40),t?(e.M(440,400),e.C(200,430,140,340,140,250),e.C(140,160,200,70,440,100),e.stroke(),e.M(140,250),e.L(400,250),e.stroke()):(e.M(160,400),e.C(400,430,460,340,460,250),e.C(460,160,400,70,160,100),e.stroke(),e.M(460,250),e.L(200,250),e.stroke())}}}Z={},Z[8448]={width:Y,draw:e=>{e.lineWidth(24),oz(e,0,190,340,150),oz(e,2,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},Z[8449]={width:Y,draw:e=>{e.lineWidth(24),oz(e,0,190,340,150),oz(e,18,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},Z[8450]=pz((e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.stroke()}),Z[8452]={width:Y,draw:e=>{e.lineWidth(40),e.M(200,440),e.L(300,250),e.L(400,440),e.stroke(),e.M(300,250),e.L(300,60),e.stroke()}},Z[8454]={width:Y,draw:e=>{e.lineWidth(24),oz(e,2,190,340,150),oz(e,20,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},Z[8455]={width:Y,draw:e=>{e.lineWidth(42),e.M(180,440),e.L(420,440),e.L(420,60),e.L(180,60),e.stroke(),e.M(420,250),e.L(220,250),e.stroke()}},Z[8458]={width:Y,draw:e=>{e.lineWidth(30),e.ellipse(280,280,120,100),e.stroke(),e.M(400,380),e.L(400,80),e.C(400,20,300,20,240,60),e.stroke()}},Z[8459]=mz((e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.C(t-r*.1,n+r*.15,t+r*.1,n-r*.15,t+r*.3,n),e.stroke()}),Z[8460]=hz((e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.L(t+r*.3,n),e.stroke()}),Z[8461]=pz((e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.L(t+r*.3,n),e.stroke()}),Z[8462]={width:Y,draw:e=>{e.lineWidth(35),e.M(220,60),e.L(200,450),e.stroke(),e.M(200,300),e.C(280,400,380,400,400,300),e.L(420,60),e.stroke()}},Z[8463]={width:Y,draw:e=>{e.lineWidth(35),e.M(220,60),e.L(200,450),e.stroke(),e.M(200,300),e.C(280,400,380,400,400,300),e.L(420,60),e.stroke(),e.M(140,370),e.L(280,370),e.stroke()}},Z[8464]=mz((e,t,n,r)=>{e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke(),e.M(t-r*.2,n+r*.5),e.L(t+r*.2,n+r*.5),e.stroke(),e.M(t-r*.2,n-r*.5),e.L(t+r*.2,n-r*.5),e.stroke()}),Z[8465]=hz((e,t,n,r)=>{e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke(),e.M(t-r*.25,n+r*.5),e.L(t+r*.25,n+r*.5),e.stroke(),e.M(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke()}),Z[8466]=mz((e,t,n,r)=>{e.M(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.C(t-r*.25,n-r*.55,t+r*.3,n-r*.55,t+r*.3,n-r*.5),e.stroke()}),Z[8468]={width:Y,draw:e=>{e.lineWidth(30),oz(e,11,200,250,260),oz(e,1,400,250,260),e.lineWidth(28),e.M(120,100),e.L(480,100),e.stroke()}},Z[8469]=pz((e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.L(t+r*.3,n+r*.5),e.stroke()}),Z[8471]={width:Y,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(28),oz(e,15,300,250,200)}},Z[8472]={width:Y,draw:e=>{e.lineWidth(38),e.M(200,60),e.L(200,350),e.C(200,450,350,450,400,350),e.C(450,250,350,180,280,200),e.C(210,220,180,300,200,350),e.stroke()}},Z[8473]=pz((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke()}),Z[8474]=pz((e,t,n,r)=>{e.ellipse(t,n+r*.05,r*.35,r*.45),e.stroke(),e.M(t+r*.1,n-r*.2),e.L(t+r*.35,n-r*.5),e.stroke()}),Z[8475]=mz((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()}),Z[8476]=hz((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()}),Z[8477]=pz((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()}),Z[8478]={width:Y,draw:e=>{e.lineWidth(38),oz(e,17,250,260,300),e.lineWidth(32),e.M(350,200),e.L(480,60),e.stroke()}},Z[8479]={width:Y,draw:e=>{e.lineWidth(38),oz(e,17,300,250,300)}},Z[8481]={width:Y,draw:e=>{e.lineWidth(22),oz(e,19,150,250,180),oz(e,4,300,250,180),oz(e,11,450,250,180)}},Z[8484]=pz((e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()}),Z[8485]={width:Y,draw:e=>{e.lineWidth(36),e.M(200,440),e.L(400,440),e.L(200,60),e.L(400,60),e.stroke(),e.M(180,250),e.L(420,250),e.stroke()}},Z[8487]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(200,440),e.L(200,350),e.C(200,150,400,150,400,350),e.L(400,440),e.L(460,440),e.stroke()}},Z[8488]=hz((e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()}),Z[8489]={width:Y,draw:e=>{e.lineWidth(38),e.M(300,440),e.L(300,160),e.C(300,60,220,60,220,120),e.stroke()}},Z[8490]={width:Y,draw:e=>{e.lineWidth(40),oz(e,10,300,250,300)}},Z[8491]={width:Y,draw:e=>{e.lineWidth(38),oz(e,0,300,220,280),e.lineWidth(22),e.circle(300,440,30),e.stroke()}},Z[8492]=mz((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.35,n+r*.5,t+r*.35,n+r*.05,t+r*.05,n+r*.05),e.L(t+r*.1,n+r*.05),e.C(t+r*.4,n+r*.05,t+r*.4,n-r*.5,t+r*.1,n-r*.5),e.Z(),e.stroke()}),Z[8493]=hz((e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.stroke()}),Z[8495]={width:Y,draw:e=>{e.lineWidth(30),e.M(420,250),e.L(180,250),e.C(180,400,300,450,400,380),e.stroke(),e.M(180,250),e.C(180,100,300,50,420,120),e.stroke()}},Z[8496]=mz((e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n),e.L(t+r*.15,n),e.stroke()}),Z[8497]=mz((e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n+r*.05),e.L(t+r*.15,n+r*.05),e.stroke()}),Z[8498]={width:Y,draw:e=>{e.lineWidth(42),e.M(180,60),e.L(420,60),e.L(420,440),e.stroke(),e.M(420,250),e.L(220,250),e.stroke()}},Z[8499]=mz((e,t,n,r)=>{e.M(t-r*.35,n-r*.5),e.L(t-r*.35,n+r*.5),e.L(t,n),e.L(t+r*.35,n+r*.5),e.L(t+r*.35,n-r*.5),e.stroke()}),Z[8500]={width:Y,draw:e=>{e.lineWidth(30),e.ellipse(300,250,150,180),e.stroke()}},Z[8501]={width:Y,draw:e=>{e.lineWidth(42),e.M(200,60),e.C(250,200,350,300,400,440),e.stroke(),e.M(180,440),e.L(250,300),e.stroke(),e.M(420,60),e.L(350,200),e.stroke()}},Z[8502]={width:Y,draw:e=>{e.lineWidth(42),e.M(160,440),e.L(440,440),e.L(440,60),e.C(440,60,300,80,200,160),e.stroke()}},Z[8503]={width:Y,draw:e=>{e.lineWidth(42),e.M(350,440),e.L(350,160),e.C(350,60,250,60,200,100),e.stroke(),e.M(350,300),e.L(250,60),e.stroke()}},Z[8504]={width:Y,draw:e=>{e.lineWidth(42),e.M(180,440),e.L(420,440),e.L(420,60),e.stroke()}},Z[8508]={width:Y,draw:e=>{e.lineWidth(30),e.M(140,380),e.L(460,380),e.stroke(),e.M(230,380),e.L(230,60),e.stroke(),e.M(370,380),e.L(370,60),e.stroke(),e.M(248,380),e.L(248,60),e.stroke(),e.M(388,380),e.L(388,60),e.stroke()}},Z[8509]={width:Y,draw:e=>{e.lineWidth(30),e.M(160,440),e.L(300,150),e.L(440,440),e.stroke(),e.M(300,150),e.L(300,60),e.stroke(),e.M(170,440),e.L(310,150),e.stroke()}},Z[8510]={width:Y,draw:e=>{e.lineWidth(30),e.M(180,60),e.L(180,440),e.L(420,440),e.stroke(),e.M(198,60),e.L(198,440),e.stroke()}},Z[8511]={width:Y,draw:e=>{e.lineWidth(30),e.M(140,440),e.L(460,440),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(218,440),e.L(218,60),e.stroke(),e.M(400,440),e.L(400,60),e.stroke(),e.M(418,440),e.L(418,60),e.stroke()}},Z[8512]={width:Y,draw:e=>{e.lineWidth(30),e.M(440,440),e.L(160,440),e.L(300,250),e.L(160,60),e.L(440,60),e.stroke(),e.M(450,440),e.L(170,440),e.L(310,250),e.L(170,60),e.L(450,60),e.stroke()}},Z[8513]={width:Y,draw:e=>{e.lineWidth(42),e.M(200,100),e.C(280,40,460,100,460,250),e.C(460,400,280,460,200,400),e.L(200,270),e.L(350,270),e.stroke()}},Z[8514]={width:Y,draw:e=>{e.lineWidth(42),e.M(400,60),e.L(400,440),e.L(200,440),e.stroke()}},Z[8515]={width:Y,draw:e=>{e.lineWidth(42),e.M(400,440),e.L(400,60),e.L(200,60),e.stroke()}},Z[8516]={width:Y,draw:e=>{e.lineWidth(42),e.M(180,440),e.L(300,250),e.L(420,440),e.stroke(),e.M(300,250),e.L(300,60),e.stroke()}},Z[8517]=pz((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n-r*.5,t,n-r*.5),e.Z(),e.stroke()}),Z[8518]={width:Y,draw:e=>{e.lineWidth(28),e.ellipse(270,200,110,130),e.stroke(),e.M(380,60),e.L(380,440),e.stroke(),e.M(398,60),e.L(398,440),e.stroke()}},Z[8519]={width:Y,draw:e=>{e.lineWidth(28),e.M(420,250),e.L(180,250),e.C(180,400,300,450,400,380),e.stroke(),e.M(180,250),e.C(180,100,300,50,420,120),e.stroke(),e.M(430,260),e.L(190,260),e.stroke()}},Z[8520]={width:Y,draw:e=>{e.lineWidth(30),e.M(300,340),e.L(300,60),e.stroke(),e.M(318,340),e.L(318,60),e.stroke(),e.circle(309,400,25),e.fill()}},Z[8521]={width:Y,draw:e=>{e.lineWidth(30),e.M(320,340),e.L(320,120),e.C(320,60,260,60,220,80),e.stroke(),e.M(338,340),e.L(338,120),e.stroke(),e.circle(329,400,25),e.fill()}},Z[8522]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke(),e.M(300,440),e.L(300,60),e.stroke()}},Z[8523]={width:Y,draw:e=>{e.lineWidth(38),e.M(420,60),e.L(180,320),e.C(140,370,160,440,220,440),e.C(320,440,360,380,300,300),e.L(160,180),e.C(120,130,160,60,260,60),e.C(360,60,380,130,340,180),e.stroke()}},Z[8524]={width:Y,draw:e=>{e.lineWidth(38),e.M(440,440),e.L(160,60),e.stroke(),e.circle(200,360,50),e.stroke(),e.circle(400,140,50),e.stroke()}},Z[8525]={width:Y,draw:e=>{e.lineWidth(34),oz(e,0,200,250,260),oz(e,18,400,250,260)}},Z[8526]={width:Y,draw:e=>{e.lineWidth(38),e.M(380,440),e.L(220,440),e.L(220,60),e.stroke(),e.M(220,250),e.L(380,250),e.stroke()}},Z[8527]={width:Y,draw:e=>{e.lineWidth(38),e.M(200,60),e.L(200,440),e.L(400,440),e.L(400,60),e.stroke(),e.M(200,250),e.L(400,250),e.stroke()}},Ez={},Ez[8364]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,400),e.C(400,470,220,470,180,370),e.C(140,270,140,180,180,120),e.C(220,40,400,40,460,100),e.stroke(),e.M(120,300),e.L(400,300),e.stroke(),e.M(120,210),e.L(400,210),e.stroke()}},Ez[8365]={width:Y,draw:e=>{e.lineWidth(40),oz(e,10,300,250,300),e.M(140,250),e.L(460,250),e.stroke()}},Ez[8367]={width:Y,draw:e=>{e.lineWidth(38),oz(e,3,300,250,300),e.M(400,470),e.L(400,30),e.stroke()}},Ez[8368]={width:Y,draw:e=>{e.lineWidth(38),oz(e,3,300,250,300),e.lineWidth(22),e.circle(420,400,30),e.stroke()}},Ez[8373]={width:Y,draw:e=>{e.lineWidth(40),e.M(420,400),e.C(380,470,220,470,180,370),e.C(140,270,140,180,180,120),e.C(220,40,380,40,420,100),e.stroke(),e.M(300,490),e.L(300,10),e.stroke()}},Ez[8375]={width:Y,draw:e=>{e.lineWidth(38),oz(e,18,300,250,300),e.M(140,300),e.L(460,300),e.stroke()}},Ez[8379]={width:Y,draw:e=>{e.lineWidth(38),oz(e,12,300,250,300),e.M(120,60),e.L(480,60),e.stroke()}},Ez[8380]={width:Y,draw:e=>{e.lineWidth(38),e.M(180,60),e.L(180,350),e.C(180,460,420,460,420,350),e.L(420,60),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},Ez[8382]={width:Y,draw:e=>{e.lineWidth(40),e.M(400,440),e.C(400,440,200,400,200,250),e.C(200,100,400,60,400,60),e.stroke(),e.M(140,250),e.L(460,250),e.stroke()}},Ez[8383]={width:Y,draw:e=>{e.lineWidth(38),oz(e,1,300,250,290),e.M(260,480),e.L(260,20),e.stroke(),e.M(340,480),e.L(340,20),e.stroke()}};for(let e=8384;e<=8399;e++)Ez[e]={width:Y,draw:e=>{e.lineWidth(35),e.circle(300,250,180),e.stroke(),e.M(160,280),e.L(440,280),e.stroke(),e.M(160,220),e.L(440,220),e.stroke()}};Q={},Q[8604]={width:Y,draw:e=>{e.lineWidth(38),e.M(480,250),e.C(420,330,340,170,280,250),e.C(220,330,160,250,160,250),e.stroke(),e.M(80,250),e.L(180,350),e.L(180,150),e.Z(),e.fill()}},Q[8610]={width:Y,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.lineWidth(30),e.M(480,250),e.L(520,350),e.stroke()}},Q[8611]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(30),e.M(120,250),e.L(80,350),e.stroke()}},Q[8616]={width:Y,draw:e=>{e.lineWidth(38),e.M(300,440),e.L(300,120),e.stroke(),e.M(300,470),e.L(200,370),e.L(400,370),e.Z(),e.fill(),e.M(300,60),e.L(200,160),e.L(400,160),e.Z(),e.fill(),e.M(180,30),e.L(420,30),e.stroke()}},Q[8619]={width:Y,draw:e=>{e.lineWidth(38),e.M(480,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.lineWidth(30),e.M(480,250),e.C(520,250,520,150,480,150),e.C(440,150,440,250,480,250),e.stroke()}},Q[8620]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(30),e.M(120,250),e.C(80,250,80,150,120,150),e.C(160,150,160,250,120,250),e.stroke()}},Q[8621]={width:Y,draw:e=>{e.lineWidth(35),e.M(140,250),e.C(200,350,300,150,360,250),e.L(460,250),e.stroke(),e.M(100,250),e.L(170,330),e.L(170,170),e.Z(),e.fill(),e.M(500,250),e.L(430,330),e.L(430,170),e.Z(),e.fill()}},Q[8622]={width:Y,draw:e=>{e.lineWidth(38),e.M(150,250),e.L(450,250),e.stroke(),e.M(100,250),e.L(180,340),e.L(180,160),e.Z(),e.fill(),e.M(500,250),e.L(420,340),e.L(420,160),e.Z(),e.fill(),J(e)}},Q[8623]={width:Y,draw:e=>{e.lineWidth(38),e.M(300,470),e.L(400,380),e.L(200,260),e.L(400,140),e.L(300,60),e.stroke(),e.M(300,30),e.L(220,120),e.L(380,120),e.Z(),e.fill()}},Q[8628]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(400,400),e.L(400,120),e.stroke(),e.M(400,60),e.L(320,160),e.L(480,160),e.Z(),e.fill()}},Q[8630]={width:Y,draw:e=>{e.lineWidth(38),e.M(460,250),e.C(460,420,140,420,140,250),e.stroke(),e.M(100,250),e.L(180,330),e.L(180,170),e.Z(),e.fill()}},Q[8631]={width:Y,draw:e=>{e.lineWidth(38),e.M(140,250),e.C(140,420,460,420,460,250),e.stroke(),e.M(500,250),e.L(420,330),e.L(420,170),e.Z(),e.fill()}},Q[8632]={width:Y,draw:e=>{e.lineWidth(38),e.M(400,100),e.L(180,350),e.stroke(),e.M(140,400),e.L(230,310),e.L(140,310),e.Z(),e.fill(),e.M(120,440),e.L(480,440),e.stroke()}},Q[8633]={width:Y,draw:e=>{e.lineWidth(32),e.M(460,340),e.L(180,340),e.stroke(),e.M(120,340),e.L(200,390),e.L(200,290),e.Z(),e.fill(),e.M(140,160),e.L(420,160),e.stroke(),e.M(480,160),e.L(400,210),e.L(400,110),e.Z(),e.fill(),e.M(120,380),e.L(120,300),e.stroke(),e.M(480,200),e.L(480,120),e.stroke()}},Q[8683]={width:Y,draw:e=>{e.lineWidth(38),e.M(300,130),e.L(300,380),e.stroke(),e.M(300,470),e.L(180,330),e.L(420,330),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(300,60),e.L(300,130),e.stroke()}},Q[8684]={width:Y,draw:e=>{e.lineWidth(35),e.M(300,160),e.L(300,400),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(200,110),e.L(400,110),e.stroke(),e.M(300,60),e.L(300,160),e.stroke()}},Q[8685]={width:Y,draw:e=>{e.lineWidth(35),e.M(300,130),e.L(300,380),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(300,60),e.L(300,130),e.stroke(),e.M(200,40),e.L(200,80),e.stroke(),e.M(400,40),e.L(400,80),e.stroke()}},Q[8686]={width:Y,draw:e=>{e.lineWidth(38),e.M(300,60),e.L(300,400),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.stroke(),e.M(300,370),e.L(200,270),e.L(400,270),e.Z(),e.stroke()}},Q[8687]={width:Y,draw:e=>{e.lineWidth(35),e.M(300,130),e.L(300,400),e.stroke(),e.M(300,470),e.L(180,370),e.L(420,370),e.Z(),e.stroke(),e.M(300,350),e.L(200,270),e.L(400,270),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(300,60),e.L(300,130),e.stroke()}},Q[8688]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,250),e.L(380,250),e.stroke(),e.M(480,250),e.L(360,370),e.L(360,130),e.Z(),e.stroke(),e.M(100,420),e.L(100,80),e.stroke()}},Q[8689]={width:Y,draw:e=>{e.lineWidth(38),e.M(420,100),e.L(180,380),e.stroke(),e.M(140,420),e.L(220,340),e.L(140,340),e.Z(),e.fill(),e.M(120,460),e.L(120,420),e.L(480,420),e.stroke()}},Q[8690]={width:Y,draw:e=>{e.lineWidth(38),e.M(180,400),e.L(420,120),e.stroke(),e.M(460,80),e.L(380,160),e.L(460,160),e.Z(),e.fill(),e.M(120,80),e.L(480,80),e.L(480,40),e.stroke()}},Q[8691]={width:Y,draw:e=>{e.lineWidth(38),e.M(300,130),e.L(300,370),e.stroke(),e.M(300,470),e.L(190,350),e.L(410,350),e.Z(),e.stroke(),e.M(300,30),e.L(190,150),e.L(410,150),e.Z(),e.stroke()}},Q[8692]={width:Y,draw:e=>{e.lineWidth(38),e.M(170,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(25),e.circle(130,250,35),e.stroke()}},Q[8694]={width:Y,draw:e=>{e.lineWidth(28);for(let t of[370,250,130])e.M(100,t),e.L(400,t),e.stroke(),e.M(480,t),e.L(400,t+50),e.L(400,t-50),e.Z(),e.fill()}},Q[8695]={width:Y,draw:e=>{e.lineWidth(38),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(330,370),e.L(330,130),e.stroke()}},Q[8696]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(270,370),e.L(270,130),e.stroke()}},Q[8697]={width:Y,draw:e=>{e.lineWidth(35),e.M(160,250),e.L(440,250),e.stroke(),e.M(100,250),e.L(180,330),e.L(180,170),e.Z(),e.fill(),e.M(500,250),e.L(420,330),e.L(420,170),e.Z(),e.fill(),e.M(300,370),e.L(300,130),e.stroke()}},Q[8698]={width:Y,draw:e=>{e.lineWidth(35),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill(),e.M(310,370),e.L(310,130),e.stroke(),e.M(350,370),e.L(350,130),e.stroke()}},Q[8699]={width:Y,draw:e=>{e.lineWidth(35),e.M(120,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,340),e.L(400,160),e.Z(),e.fill(),e.M(250,370),e.L(250,130),e.stroke(),e.M(290,370),e.L(290,130),e.stroke()}},Q[8700]={width:Y,draw:e=>{e.lineWidth(32),e.M(160,250),e.L(440,250),e.stroke(),e.M(100,250),e.L(180,330),e.L(180,170),e.Z(),e.fill(),e.M(500,250),e.L(420,330),e.L(420,170),e.Z(),e.fill(),e.M(285,370),e.L(285,130),e.stroke(),e.M(315,370),e.L(315,130),e.stroke()}},Q[8701]={width:Y,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(140,250),e.stroke(),e.M(80,250),e.L(200,370),e.stroke(),e.M(80,250),e.L(200,130),e.stroke()}},Q[8702]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(460,250),e.stroke(),e.M(520,250),e.L(400,370),e.stroke(),e.M(520,250),e.L(400,130),e.stroke()}},Q[8703]={width:Y,draw:e=>{e.lineWidth(38),e.M(140,250),e.L(460,250),e.stroke(),e.M(80,250),e.L(180,350),e.stroke(),e.M(80,250),e.L(180,150),e.stroke(),e.M(520,250),e.L(420,350),e.stroke(),e.M(520,250),e.L(420,150),e.stroke()}}}));function Oz(e,t,n,r){return{width:$,draw:i=>{i.rect(e,t,n,r),i.fill()}}}function kz(e,t,n,r,i=50){return{width:$,draw:a=>{a.lineWidth(i),a.rect(e,t,n,r),a.stroke()}}}function Az(e,t,n){return{width:$,draw:r=>{r.circle(e,t,n),r.fill()}}}function jz(e,t,n,r=50){return{width:$,draw:i=>{i.lineWidth(r),i.circle(e,t,n),i.stroke()}}}function Mz(){if(!qz){qz=new Map;for(let e of Kz)for(let[t,n]of Object.entries(e))qz.set(Number(t),n)}return qz}function Nz(e){return Mz().get(e)}var $,Pz,Fz,Iz,Lz,Rz,zz,Bz,Vz,Hz,Uz,Wz,Gz,Kz,qz,Jz=t((()=>{CR(),MR(),rz(),Dz(),$=600,Pz=kz(80,0,440,700,40),Fz={9632:Oz(100,50,400,400),9633:kz(100,50,400,400),9634:{width:$,draw:e=>{e.lineWidth(50),e.M(150,50),e.L(450,50),e.C(480,50,500,70,500,100),e.L(500,400),e.C(500,430,480,450,450,450),e.L(150,450),e.C(120,450,100,430,100,400),e.L(100,100),e.C(100,70,120,50,150,50),e.Z(),e.stroke()}},9635:{width:$,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(200,150,200,200),e.fill()}},9636:{width:$,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(30);for(let t=100;t<=400;t+=80)e.M(100,t),e.L(500,t);e.stroke()}},9637:{width:$,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(30);for(let t=150;t<=450;t+=80)e.M(t,50),e.L(t,450);e.stroke()}},9638:{width:$,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(20);for(let t=100;t<=400;t+=80)e.M(100,t),e.L(500,t);for(let t=150;t<=450;t+=80)e.M(t,50),e.L(t,450);e.stroke()}},9640:{width:$,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(20);for(let t=-400;t<=400;t+=80)e.M(Math.max(100,100+t),Math.min(450,450+t)),e.L(Math.min(500,500+t),Math.max(50,50+t));e.stroke()}},9642:Oz(175,125,250,250),9643:kz(175,125,250,250,40),9644:Oz(80,150,440,200),9645:kz(80,150,440,200),9646:Oz(175,0,250,500),9647:kz(175,0,250,500),9648:{width:$,draw:e=>{e.M(150,100),e.L(520,100),e.L(450,400),e.L(80,400),e.Z(),e.fill()}},9650:{width:$,draw:e=>{e.M(300,500),e.L(500,50),e.L(100,50),e.Z(),e.fill()}},9651:{width:$,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(500,50),e.L(100,50),e.Z(),e.stroke()}},9652:{width:$,draw:e=>{e.M(300,450),e.L(450,100),e.L(150,100),e.Z(),e.fill()}},9653:{width:$,draw:e=>{e.lineWidth(35),e.M(300,450),e.L(450,100),e.L(150,100),e.Z(),e.stroke()}},9654:{width:$,draw:e=>{e.M(100,500),e.L(500,250),e.L(100,0),e.Z(),e.fill()}},9655:{width:$,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(500,250),e.L(100,0),e.Z(),e.stroke()}},9656:{width:$,draw:e=>{e.M(150,450),e.L(450,250),e.L(150,50),e.Z(),e.fill()}},9660:{width:$,draw:e=>{e.M(100,500),e.L(500,500),e.L(300,50),e.Z(),e.fill()}},9661:{width:$,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(500,500),e.L(300,50),e.Z(),e.stroke()}},9662:{width:$,draw:e=>{e.M(150,400),e.L(450,400),e.L(300,100),e.Z(),e.fill()}},9664:{width:$,draw:e=>{e.M(500,500),e.L(100,250),e.L(500,0),e.Z(),e.fill()}},9665:{width:$,draw:e=>{e.lineWidth(40),e.M(500,500),e.L(100,250),e.L(500,0),e.Z(),e.stroke()}},9666:{width:$,draw:e=>{e.M(450,450),e.L(150,250),e.L(450,50),e.Z(),e.fill()}},9670:{width:$,draw:e=>{e.M(300,500),e.L(530,250),e.L(300,0),e.L(70,250),e.Z(),e.fill()}},9671:{width:$,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(530,250),e.L(300,0),e.L(70,250),e.Z(),e.stroke()}},9672:{width:$,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(530,250),e.L(300,0),e.L(70,250),e.Z(),e.stroke(),e.M(300,380),e.L(410,250),e.L(300,120),e.L(190,250),e.Z(),e.fill()}},9673:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,250,120),e.fill()}},9674:{width:$,draw:e=>{e.lineWidth(40),e.M(300,550),e.L(500,250),e.L(300,-50),e.L(100,250),e.Z(),e.stroke()}},9675:jz(300,250,220),9676:jz(300,250,220,30),9677:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(80,250),e.C(80,371,179,470,300,470),e.C(421,470,520,371,520,250),e.Z(),e.fill()}},9678:{width:$,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.circle(300,250,140),e.stroke()}},9679:Az(300,250,220),9680:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,30),e.C(179,30,80,129,80,250),e.C(80,371,179,470,300,470),e.Z(),e.fill()}},9681:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,470),e.C(421,470,520,371,520,250),e.C(520,129,421,30,300,30),e.Z(),e.fill()}},9682:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(520,250),e.C(520,129,421,30,300,30),e.C(179,30,80,129,80,250),e.Z(),e.fill()}},9683:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(80,250),e.C(80,371,179,470,300,470),e.C(421,470,520,371,520,250),e.Z(),e.fill()}},9684:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,470),e.C(421,470,520,371,520,250),e.Z(),e.fill()}},9685:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,470),e.C(179,470,80,371,80,250),e.Z(),e.fill(),e.M(300,250),e.L(520,250),e.C(520,129,421,30,300,30),e.C(179,30,80,129,80,250),e.Z(),e.fill()}},9686:{width:$,draw:e=>{e.M(300,30),e.C(179,30,80,129,80,250),e.C(80,371,179,470,300,470),e.Z(),e.fill()}},9687:{width:$,draw:e=>{e.M(300,470),e.C(421,470,520,371,520,250),e.C(520,129,421,30,300,30),e.Z(),e.fill()}},9688:{width:$,draw:e=>{e.rect(80,30,440,440),e.fill()}},9689:{width:$,draw:e=>{e.circle(300,250,240),e.fill()}},9692:{width:$,draw:e=>{e.lineWidth(50),e.M(300,470),e.C(179,470,80,371,80,250),e.stroke()}},9693:{width:$,draw:e=>{e.lineWidth(50),e.M(520,250),e.C(520,371,421,470,300,470),e.stroke()}},9694:{width:$,draw:e=>{e.lineWidth(50),e.M(300,30),e.C(421,30,520,129,520,250),e.stroke()}},9695:{width:$,draw:e=>{e.lineWidth(50),e.M(80,250),e.C(80,129,179,30,300,30),e.stroke()}},9696:{width:$,draw:e=>{e.lineWidth(50),e.M(80,250),e.C(80,371,179,470,300,470),e.C(421,470,520,371,520,250),e.stroke()}},9697:{width:$,draw:e=>{e.lineWidth(50),e.M(520,250),e.C(520,129,421,30,300,30),e.C(179,30,80,129,80,250),e.stroke()}},9702:jz(300,250,100,40),9711:jz(300,250,280,40)},Iz={8592:{width:$,draw:e=>{e.lineWidth(50),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,120),e.Z(),e.fill()}},8593:{width:$,draw:e=>{e.lineWidth(50),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(170,300),e.L(430,300),e.Z(),e.fill()}},8594:{width:$,draw:e=>{e.lineWidth(50),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,380),e.L(350,120),e.Z(),e.fill()}},8595:{width:$,draw:e=>{e.lineWidth(50),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(170,200),e.L(430,200),e.Z(),e.fill()}},8596:{width:$,draw:e=>{e.lineWidth(40),e.M(150,250),e.L(450,250),e.stroke(),e.M(100,250),e.L(220,360),e.L(220,140),e.Z(),e.fill(),e.M(500,250),e.L(380,360),e.L(380,140),e.Z(),e.fill()}},8597:{width:$,draw:e=>{e.lineWidth(40),e.M(300,100),e.L(300,400),e.stroke(),e.M(300,450),e.L(190,330),e.L(410,330),e.Z(),e.fill(),e.M(300,50),e.L(190,170),e.L(410,170),e.Z(),e.fill()}},8598:{width:$,draw:e=>{e.lineWidth(50),e.M(480,50),e.L(120,410),e.stroke(),e.M(120,450),e.L(120,320),e.L(250,450),e.Z(),e.fill()}},8599:{width:$,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(480,410),e.stroke(),e.M(480,450),e.L(350,450),e.L(480,320),e.Z(),e.fill()}},8600:{width:$,draw:e=>{e.lineWidth(50),e.M(120,450),e.L(480,90),e.stroke(),e.M(480,50),e.L(480,180),e.L(350,50),e.Z(),e.fill()}},8601:{width:$,draw:e=>{e.lineWidth(50),e.M(480,450),e.L(120,90),e.stroke(),e.M(120,50),e.L(250,50),e.L(120,180),e.Z(),e.fill()}},8617:{width:$,draw:e=>{e.lineWidth(50),e.M(500,350),e.L(200,350),e.C(120,350,80,300,80,250),e.C(80,200,120,150,200,150),e.L(350,150),e.stroke(),e.M(100,350),e.L(230,430),e.L(230,270),e.Z(),e.fill()}},8618:{width:$,draw:e=>{e.lineWidth(50),e.M(100,350),e.L(400,350),e.C(480,350,520,300,520,250),e.C(520,200,480,150,400,150),e.L(250,150),e.stroke(),e.M(500,350),e.L(370,430),e.L(370,270),e.Z(),e.fill()}},8656:{width:$,draw:e=>{e.M(100,250),e.L(280,420),e.L(280,300),e.L(500,300),e.L(500,200),e.L(280,200),e.L(280,80),e.Z(),e.fill()}},8657:{width:$,draw:e=>{e.M(300,480),e.L(480,280),e.L(370,280),e.L(370,30),e.L(230,30),e.L(230,280),e.L(120,280),e.Z(),e.fill()}},8658:{width:$,draw:e=>{e.M(500,250),e.L(320,420),e.L(320,300),e.L(100,300),e.L(100,200),e.L(320,200),e.L(320,80),e.Z(),e.fill()}},8659:{width:$,draw:e=>{e.M(300,20),e.L(120,220),e.L(230,220),e.L(230,470),e.L(370,470),e.L(370,220),e.L(480,220),e.Z(),e.fill()}},8660:{width:$,draw:e=>{e.M(80,250),e.L(220,400),e.L(220,300),e.L(380,300),e.L(380,400),e.L(520,250),e.L(380,100),e.L(380,200),e.L(220,200),e.L(220,100),e.Z(),e.fill()}}},Lz={8704:{width:$,draw:e=>{e.lineWidth(50),e.M(100,500),e.L(300,0),e.L(500,500),e.stroke(),e.M(170,200),e.L(430,200),e.stroke()}},8706:{width:$,draw:e=>{e.lineWidth(50),e.circle(300,200,150),e.stroke(),e.M(450,200),e.L(450,450),e.C(450,500,400,520,350,500),e.stroke()}},8707:{width:$,draw:e=>{e.lineWidth(50),e.M(450,500),e.L(150,500),e.L(150,0),e.L(450,0),e.stroke(),e.M(150,250),e.L(400,250),e.stroke()}},8709:{width:$,draw:e=>{e.lineWidth(50),e.ellipse(300,250,180,220),e.stroke(),e.M(150,50),e.L(450,450),e.stroke()}},8710:{width:$,draw:e=>{e.lineWidth(50),e.M(300,500),e.L(100,0),e.L(500,0),e.Z(),e.stroke()}},8711:{width:$,draw:e=>{e.lineWidth(50),e.M(100,500),e.L(500,500),e.L(300,0),e.Z(),e.stroke()}},8712:{width:$,draw:e=>{e.lineWidth(50),e.M(480,450),e.C(250,450,120,380,120,250),e.C(120,120,250,50,480,50),e.stroke(),e.M(120,250),e.L(430,250),e.stroke()}},8713:{width:$,draw:e=>{e.lineWidth(50),e.M(480,450),e.C(250,450,120,380,120,250),e.C(120,120,250,50,480,50),e.stroke(),e.M(120,250),e.L(430,250),e.stroke(),e.M(160,50),e.L(440,450),e.stroke()}},8715:{width:$,draw:e=>{e.lineWidth(50),e.M(120,450),e.C(350,450,480,380,480,250),e.C(480,120,350,50,120,50),e.stroke(),e.M(170,250),e.L(480,250),e.stroke()}},8718:Oz(150,50,300,400),8719:{width:$,draw:e=>{e.lineWidth(50),e.M(120,500),e.L(480,500),e.stroke(),e.M(170,500),e.L(170,0),e.stroke(),e.M(430,500),e.L(430,0),e.stroke()}},8721:{width:$,draw:e=>{e.lineWidth(50),e.M(480,500),e.L(120,500),e.L(300,250),e.L(120,0),e.L(480,0),e.stroke()}},8722:{width:$,draw:e=>{e.lineWidth(60),e.M(120,250),e.L(480,250),e.stroke()}},8723:{width:$,draw:e=>{e.lineWidth(50),e.M(120,350),e.L(480,350),e.stroke(),e.M(300,200),e.L(300,0),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},8727:{width:$,draw:e=>{e.lineWidth(50),e.M(300,400),e.L(300,100),e.stroke(),e.M(140,350),e.L(460,150),e.stroke(),e.M(140,150),e.L(460,350),e.stroke()}},8730:{width:$,draw:e=>{e.lineWidth(50),e.M(60,250),e.L(150,200),e.L(250,0),e.L(540,500),e.stroke()}},8734:{width:700,draw:e=>{e.lineWidth(50),e.M(350,250),e.C(350,400,500,450,550,350),e.C(600,250,550,100,500,100),e.C(450,100,350,250,350,250),e.C(350,250,250,400,200,400),e.C(150,400,100,250,150,150),e.C(200,50,350,100,350,250),e.stroke()}},8736:{width:$,draw:e=>{e.lineWidth(50),e.M(480,50),e.L(120,50),e.L(380,450),e.stroke()}},8743:{width:$,draw:e=>{e.lineWidth(50),e.M(100,50),e.L(300,450),e.L(500,50),e.stroke()}},8744:{width:$,draw:e=>{e.lineWidth(50),e.M(100,450),e.L(300,50),e.L(500,450),e.stroke()}},8745:{width:$,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(120,300),e.C(120,470,250,500,300,500),e.C(350,500,480,470,480,300),e.L(480,50),e.stroke()}},8746:{width:$,draw:e=>{e.lineWidth(50),e.M(120,450),e.L(120,200),e.C(120,30,250,0,300,0),e.C(350,0,480,30,480,200),e.L(480,450),e.stroke()}},8747:{width:$,draw:e=>{e.lineWidth(50),e.M(380,530),e.C(350,530,300,500,300,450),e.L(300,50),e.C(300,0,250,-30,220,-30),e.stroke()}},8776:{width:$,draw:e=>{e.lineWidth(50),e.M(120,350),e.C(200,430,350,430,480,350),e.stroke(),e.M(120,200),e.C(200,280,350,280,480,200),e.stroke()}},8800:{width:$,draw:e=>{e.lineWidth(50),e.M(120,330),e.L(480,330),e.stroke(),e.M(120,170),e.L(480,170),e.stroke(),e.M(380,450),e.L(220,50),e.stroke()}},8801:{width:$,draw:e=>{e.lineWidth(50),e.M(120,380),e.L(480,380),e.stroke(),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},8804:{width:$,draw:e=>{e.lineWidth(50),e.M(480,420),e.L(120,250),e.L(480,80),e.stroke(),e.M(120,30),e.L(480,30),e.stroke()}},8805:{width:$,draw:e=>{e.lineWidth(50),e.M(120,420),e.L(480,250),e.L(120,80),e.stroke(),e.M(120,30),e.L(480,30),e.stroke()}},8834:{width:$,draw:e=>{e.lineWidth(50),e.M(470,450),e.C(200,450,130,350,130,250),e.C(130,150,200,50,470,50),e.stroke()}},8835:{width:$,draw:e=>{e.lineWidth(50),e.M(130,450),e.C(400,450,470,350,470,250),e.C(470,150,400,50,130,50),e.stroke()}},8853:{width:$,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},8854:{width:$,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},8855:{width:$,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(160,110),e.L(440,390),e.stroke(),e.M(160,390),e.L(440,110),e.stroke()}},8856:{width:$,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(160,100),e.L(440,400),e.stroke()}},8857:{width:$,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.circle(300,250,40),e.fill()}}},Rz={9728:{width:$,draw:e=>{e.circle(300,250,130),e.fill(),e.lineWidth(40);for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300+160*Math.cos(n),250+160*Math.sin(n)),e.L(300+240*Math.cos(n),250+240*Math.sin(n))}e.stroke()}},9733:{width:$,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),260+230*Math.sin(n)):e.L(300+230*Math.cos(n),260+230*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.fill()}},9734:{width:$,draw:e=>{e.lineWidth(35);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),260+230*Math.sin(n)):e.L(300+230*Math.cos(n),260+230*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke()}},9744:kz(100,30,400,400,45),9745:{width:$,draw:e=>{e.lineWidth(45),e.rect(100,30,400,400),e.stroke(),e.lineWidth(55),e.M(180,230),e.L(280,130),e.L(430,350),e.stroke()}},9746:{width:$,draw:e=>{e.lineWidth(45),e.rect(100,30,400,400),e.stroke(),e.lineWidth(50),e.M(170,100),e.L(430,360),e.stroke(),e.M(170,360),e.L(430,100),e.stroke()}},9747:{width:$,draw:e=>{e.lineWidth(55),e.M(120,50),e.L(480,450),e.stroke(),e.M(120,450),e.L(480,50),e.stroke()}},9755:{width:$,draw:e=>{e.M(500,250),e.L(300,400),e.L(300,300),e.L(100,300),e.L(100,200),e.L(300,200),e.L(300,100),e.Z(),e.fill()}},9758:{width:$,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(300,400),e.L(300,300),e.L(100,300),e.L(100,200),e.L(300,200),e.L(300,100),e.Z(),e.stroke()}},9792:{width:$,draw:e=>{e.lineWidth(50),e.circle(300,330,150),e.stroke(),e.M(300,180),e.L(300,0),e.stroke(),e.M(220,90),e.L(380,90),e.stroke()}},9794:{width:$,draw:e=>{e.lineWidth(50),e.circle(250,220,150),e.stroke(),e.M(360,330),e.L(500,470),e.stroke(),e.M(400,470),e.L(500,470),e.L(500,370),e.stroke()}},9824:{width:$,draw:e=>{e.M(300,500),e.C(300,500,80,350,80,200),e.C(80,100,200,50,300,180),e.C(400,50,520,100,520,200),e.C(520,350,300,500,300,500),e.Z(),e.fill(),e.M(250,0),e.L(350,0),e.L(320,150),e.L(280,150),e.Z(),e.fill()}},9827:{width:$,draw:e=>{e.circle(300,370,110),e.fill(),e.circle(190,230,100),e.fill(),e.circle(410,230,100),e.fill(),e.rect(270,0,60,200),e.fill()}},9829:{width:$,draw:e=>{e.M(300,80),e.C(300,80,80,200,80,340),e.C(80,440,180,490,300,490),e.C(420,490,520,440,520,340),e.C(520,200,300,80,300,80),e.Z(),e.fill()}},9830:{width:$,draw:e=>{e.M(300,500),e.L(500,250),e.L(300,0),e.L(100,250),e.Z(),e.fill()}},9833:{width:$,draw:e=>{e.ellipse(230,80,100,70),e.fill(),e.lineWidth(40),e.M(330,80),e.L(330,480),e.stroke()}},9834:{width:$,draw:e=>{e.ellipse(200,80,100,70),e.fill(),e.lineWidth(35),e.M(300,80),e.L(300,480),e.stroke(),e.M(300,480),e.C(350,450,430,400,430,350),e.stroke()}},9837:{width:$,draw:e=>{e.lineWidth(40),e.M(200,0),e.L(200,500),e.stroke(),e.M(200,200),e.C(350,200,400,100,200,0),e.stroke()}},9839:{width:$,draw:e=>{e.lineWidth(40),e.M(220,0),e.L(220,500),e.stroke(),e.M(380,0),e.L(380,500),e.stroke(),e.lineWidth(50),e.M(140,180),e.L(460,240),e.stroke(),e.M(140,310),e.L(460,370),e.stroke()}},10003:{width:$,draw:e=>{e.lineWidth(65),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},10004:{width:$,draw:e=>{e.lineWidth(85),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},10005:{width:$,draw:e=>{e.lineWidth(55),e.M(140,70),e.L(460,430),e.stroke(),e.M(140,430),e.L(460,70),e.stroke()}},10006:{width:$,draw:e=>{e.lineWidth(75),e.M(140,70),e.L(460,430),e.stroke(),e.M(140,430),e.L(460,70),e.stroke()}},10007:{width:$,draw:e=>{e.lineWidth(60),e.M(130,60),e.L(470,440),e.stroke(),e.M(130,440),e.L(470,60),e.stroke()}},10008:{width:$,draw:e=>{e.lineWidth(80),e.M(130,60),e.L(470,440),e.stroke(),e.M(130,440),e.L(470,60),e.stroke()}},10010:{width:$,draw:e=>{e.rect(210,30,180,440),e.fill(),e.rect(90,160,420,180),e.fill()}},10012:{width:$,draw:e=>{e.lineWidth(60),e.M(300,30),e.L(300,470),e.stroke(),e.M(90,250),e.L(510,250),e.stroke()}},10016:{width:$,draw:e=>{e.M(300,480),e.L(250,320),e.L(100,350),e.L(200,250),e.L(100,150),e.L(250,180),e.L(300,20),e.L(350,180),e.L(500,150),e.L(400,250),e.L(500,350),e.L(350,320),e.Z(),e.fill()}},10084:{width:$,draw:e=>{e.M(300,80),e.C(300,80,60,220,60,350),e.C(60,470,180,500,300,500),e.C(420,500,540,470,540,350),e.C(540,220,300,80,300,80),e.Z(),e.fill()}},...(()=>{let e={};for(let t=0;t<10;t++){let n=10102+t;e[n]={width:$,draw:e=>{e.circle(300,250,240),e.fill()}}}return e})(),...(()=>{let e={};for(let t=0;t<10;t++)e[9312+t]={width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke()}};return e})()},zz={8960:{width:$,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(140,90),e.L(460,410),e.stroke()}},8962:{width:$,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(520,250),e.L(520,30),e.L(80,30),e.L(80,250),e.Z(),e.stroke()}},8984:{width:$,draw:e=>{e.lineWidth(45),e.rect(180,130,240,240),e.stroke(),e.circle(180,370,70),e.stroke(),e.circle(420,370,70),e.stroke(),e.circle(180,130,70),e.stroke(),e.circle(420,130,70),e.stroke()}},8987:{width:$,draw:e=>{e.lineWidth(45),e.M(120,480),e.L(480,480),e.stroke(),e.M(120,20),e.L(480,20),e.stroke(),e.M(150,480),e.L(300,250),e.L(450,480),e.stroke(),e.M(150,20),e.L(300,250),e.L(450,20),e.stroke()}},9166:{width:$,draw:e=>{e.lineWidth(45),e.M(480,420),e.L(480,200),e.L(150,200),e.stroke(),e.M(150,200),e.L(280,310),e.L(280,90),e.Z(),e.fill()}}},Bz={9472:{width:$,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke()}},9473:{width:$,draw:e=>{e.lineWidth(80),e.M(0,250),e.L(600,250),e.stroke()}},9474:{width:$,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,500),e.stroke()}},9475:{width:$,draw:e=>{e.lineWidth(80),e.M(300,0),e.L(300,500),e.stroke()}},9484:{width:$,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,250),e.L(600,250),e.stroke()}},9488:{width:$,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,250),e.L(0,250),e.stroke()}},9492:{width:$,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(300,250),e.L(600,250),e.stroke()}},9496:{width:$,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(300,250),e.L(0,250),e.stroke()}},9500:{width:$,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,500),e.stroke(),e.M(300,250),e.L(600,250),e.stroke()}},9508:{width:$,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,500),e.stroke(),e.M(300,250),e.L(0,250),e.stroke()}},9516:{width:$,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke(),e.M(300,250),e.L(300,0),e.stroke()}},9524:{width:$,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke(),e.M(300,250),e.L(300,500),e.stroke()}},9532:{width:$,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke(),e.M(300,0),e.L(300,500),e.stroke()}},9556:{width:$,draw:e=>{e.lineWidth(30),e.M(270,0),e.L(270,270),e.L(600,270),e.stroke(),e.M(330,0),e.L(330,230),e.L(600,230),e.stroke()}},9559:{width:$,draw:e=>{e.lineWidth(30),e.M(330,0),e.L(330,270),e.L(0,270),e.stroke(),e.M(270,0),e.L(270,230),e.L(0,230),e.stroke()}},9562:{width:$,draw:e=>{e.lineWidth(30),e.M(270,500),e.L(270,230),e.L(600,230),e.stroke(),e.M(330,500),e.L(330,270),e.L(600,270),e.stroke()}},9565:{width:$,draw:e=>{e.lineWidth(30),e.M(330,500),e.L(330,230),e.L(0,230),e.stroke(),e.M(270,500),e.L(270,270),e.L(0,270),e.stroke()}},9552:{width:$,draw:e=>{e.lineWidth(30),e.M(0,270),e.L(600,270),e.stroke(),e.M(0,230),e.L(600,230),e.stroke()}},9553:{width:$,draw:e=>{e.lineWidth(30),e.M(270,0),e.L(270,500),e.stroke(),e.M(330,0),e.L(330,500),e.stroke()}}},Vz={9600:Oz(0,250,600,250),9604:Oz(0,0,600,250),9608:Oz(0,0,600,500),9612:Oz(0,0,300,500),9616:Oz(300,0,300,500),9617:{width:$,draw:e=>{e.lineWidth(15),e.rect(0,0,600,500),e.stroke();for(let t=0;t<=500;t+=60)e.M(0,t),e.L(600,t);e.stroke()}},9618:{width:$,draw:e=>{e.lineWidth(25),e.rect(0,0,600,500),e.stroke();for(let t=0;t<=500;t+=50)e.M(0,t),e.L(600,t);for(let t=0;t<=600;t+=60)e.M(t,0),e.L(t,500);e.stroke()}},9619:{width:$,draw:e=>{e.lineWidth(35),e.rect(0,0,600,500),e.fill()}}},Hz={11014:{width:$,draw:e=>{e.M(300,500),e.L(100,280),e.L(230,280),e.L(230,0),e.L(370,0),e.L(370,280),e.L(500,280),e.Z(),e.fill()}},11015:{width:$,draw:e=>{e.M(300,0),e.L(100,220),e.L(230,220),e.L(230,500),e.L(370,500),e.L(370,220),e.L(500,220),e.Z(),e.fill()}},11013:{width:$,draw:e=>{e.M(0,250),e.L(220,430),e.L(220,320),e.L(550,320),e.L(550,180),e.L(220,180),e.L(220,70),e.Z(),e.fill()}},11035:Oz(60,10,480,480),11036:kz(60,10,480,480,45),11088:{width:$,draw:e=>{e.lineWidth(35);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),260+230*Math.sin(n)):e.L(300+230*Math.cos(n),260+230*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke()}}},Uz={10688:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.lineWidth(45),e.M(400,380),e.L(200,250),e.L(400,120),e.stroke()}},10689:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.lineWidth(45),e.M(200,380),e.L(400,250),e.L(200,120),e.stroke()}},10695:{width:$,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke(),e.circle(300,250,130),e.stroke()}},10696:{width:$,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke(),e.rect(190,140,220,220),e.stroke()}},10697:{width:$,draw:e=>{e.lineWidth(35),e.rect(80,80,300,300),e.stroke(),e.rect(220,120,300,300),e.stroke()}}},Wz={8377:{width:$,draw:e=>{e.lineWidth(50),e.M(130,480),e.L(470,480),e.stroke(),e.M(130,380),e.L(470,380),e.stroke(),e.M(230,480),e.C(350,480,420,400,420,350),e.C(420,280,350,200,230,200),e.stroke(),e.M(200,380),e.L(400,0),e.stroke()}},8378:{width:$,draw:e=>{e.lineWidth(50),e.M(350,480),e.L(350,50),e.C(350,0,200,0,150,50),e.stroke(),e.M(150,330),e.L(450,250),e.stroke(),e.M(150,230),e.L(450,150),e.stroke()}},8381:{width:$,draw:e=>{e.lineWidth(50),e.M(180,0),e.L(180,500),e.stroke(),e.M(180,500),e.L(350,500),e.C(480,500,480,350,350,300),e.L(180,300),e.stroke(),e.M(120,200),e.L(400,200),e.stroke()}}},Gz={8226:Az(300,250,100),8230:{width:$,draw:e=>{e.circle(120,100,40),e.fill(),e.circle(300,100,40),e.fill(),e.circle(480,100,40),e.fill()}},8227:{width:$,draw:e=>{e.M(150,400),e.L(450,250),e.L(150,100),e.Z(),e.fill()}},8259:{width:$,draw:e=>{e.lineWidth(60),e.M(150,250),e.L(450,250),e.stroke()}},8260:{width:$,draw:e=>{e.lineWidth(40),e.M(450,500),e.L(150,0),e.stroke()}}},Kz=[Fz,Iz,Lz,Rz,zz,Bz,Vz,Hz,Uz,Wz,Gz,YL,XL,ZL,QL,$L,eR,tR,nR,rR,iR,aR,oR,sR,cR,lR,gR,yR,bR,TR,ER,DR,OR,kR,AR,jR,G,K,ez,q,tz,nz,QR,gz,wz,Tz,X,Z,Ez,Q,yz,bz,xz,Sz,Cz],qz=null}));function Yz(e,t,n=`T3F`){let r=new Map,i=new Map,a=new Map;if(t.size===0)return{fontObjects:i,encoding:r,widths:a};let o=[...t].sort((e,t)=>e-t),s=tB-nB,c=1;for(let t=0;t<o.length;t+=s){let l=o.slice(t,t+s),u=`${n}${c}`;c++;let{objNum:d,fontWidths:f}=Xz(e,l,u);i.set(u,d),a.set(u,f);for(let e=0;e<l.length;e++)r.set(l[e],{resourceName:u,charCode:nB+e})}return{fontObjects:i,encoding:r,widths:a}}function Xz(e,t,n){let r=[],i=[],a=Array(nB+t.length).fill(0),o=new Map,s=Zz(e,Pz);r.push({name:`.notdef`,objNum:s}),a[0]=Pz.width;for(let n=0;n<t.length;n++){let s=t[n],c=Nz(s)??Pz,l=`uni${s.toString(16).toUpperCase().padStart(4,`0`)}`,u=Zz(e,c);r.push({name:l,objNum:u}),i.push(l);let d=nB+n;a[d]=c.width,o.set(d,c.width)}let c=[];for(let{name:e,objNum:t}of r)c.push(`${mI(e)} ${gI(t)}`);let l=`<<\n${c.join(`
457
- `)}\n>>`,u=[];u.push(`${nB}`);for(let e of i)u.push(mI(e));let d=e.allocObject(),f=new bI().set(`Type`,`/Encoding`).set(`Differences`,`[${u.join(` `)}]`);e.addObject(d,f);let p=$z(e,t),m=e.allocObject(),h=`[0 0 ${eB} ${eB}]`,g=new bI().set(`Type`,`/Font`).set(`Subtype`,`/Type3`).set(`Name`,mI(n)).set(`FontBBox`,h).set(`FontMatrix`,`[0.001 0 0 0.001 0 0]`).set(`FirstChar`,L(0)).set(`LastChar`,L(a.length-1)).set(`Widths`,hI(a.map(e=>L(e)))).set(`CharProcs`,l).set(`Encoding`,gI(d)).set(`ToUnicode`,gI(p));return e.addObject(m,g),{objNum:m,fontWidths:o}}function Zz(e,t){let n=new JI;n.raw(`${t.width} 0 0 0 ${eB} ${eB} d1`);let r=Qz(n);t.draw(r);let i=e.allocObject();return e.addStreamObject(i,new bI,n),i}function Qz(e){return{M:(t,n)=>{e.moveTo(t,n)},L:(t,n)=>{e.lineTo(t,n)},C:(t,n,r,i,a,o)=>{e.curveTo(t,n,r,i,a,o)},Z:()=>{e.closePath()},rect:(t,n,r,i)=>{e.rect(t,n,r,i)},circle:(t,n,r)=>{e.circle(t,n,r)},ellipse:(t,n,r,i)=>{e.ellipse(t,n,r,i)},stroke:()=>{e.stroke()},fill:()=>{e.fill()},fillStroke:()=>{e.fillAndStroke()},lineWidth:t=>{e.setLineWidth(t)}}}function $z(e,t){let n=[];n.push(`/CIDInit /ProcSet findresource begin`),n.push(`12 dict begin`),n.push(`begincmap`),n.push(`/CIDSystemInfo`),n.push(`<< /Registry (Adobe) /Ordering (UCS) /Supplement 0 >> def`),n.push(`/CMapName /Adobe-Identity-UCS def`),n.push(`/CMapType 2 def`),n.push(`1 begincodespacerange`),n.push(`<00> <FF>`),n.push(`endcodespacerange`);for(let e=0;e<t.length;e+=100){let r=t.slice(e,e+100);n.push(`${r.length} beginbfchar`);for(let t=0;t<r.length;t++){let i=nB+e+t,a=r[t],o=i.toString(16).toUpperCase().padStart(2,`0`);if(a>65535){let e=Math.floor((a-65536)/1024)+55296,t=(a-65536)%1024+56320,r=e.toString(16).toUpperCase().padStart(4,`0`),i=t.toString(16).toUpperCase().padStart(4,`0`);n.push(`<${o}> <${r}${i}>`)}else{let e=a.toString(16).toUpperCase().padStart(4,`0`);n.push(`<${o}> <${e}>`)}}n.push(`endbfchar`)}n.push(`endcmap`),n.push(`CMapName currentdict /CMap defineresource pop`),n.push(`end`),n.push(`end`);let r=n.join(`
458
- `),i=new TextEncoder().encode(r),a=e.allocObject();return e.addStreamObject(a,new bI,i),a}var eB,tB,nB,rB=t((()=>{xI(),XI(),Jz(),eB=1e3,tB=256,nB=1}));function iB(e){return cB[e.toLowerCase().trim()]??`Helvetica`}function aB(e,t,n){let r=iB(e);return r===`Helvetica`?t&&n?`Helvetica-BoldOblique`:t?`Helvetica-Bold`:n?`Helvetica-Oblique`:`Helvetica`:r===`Times`?t&&n?`Times-BoldItalic`:t?`Times-Bold`:n?`Times-Italic`:`Times-Roman`:r===`Courier`?t&&n?`Courier-BoldOblique`:t?`Courier-Bold`:n?`Courier-Oblique`:`Courier`:`Helvetica`}function oB(e,t){let n=`<`;for(let r=0;r<e.length;r++){let i=e.codePointAt(r);i>65535&&r++;let a=t.get(i)??0;n+=a.toString(16).toUpperCase().padStart(4,`0`)}return n+=`>`,n}function sB(e,t,n){let r=0;for(let n=0;n<e.length;n++){let i=e.codePointAt(n);i>65535&&n++;let a=t.cmap.get(i)??0;r+=t.advanceWidths[a]??0}return r/t.unitsPerEm*n}var cB,lB,uB=t((()=>{xI(),XI(),nL(),SL(),FL(),rB(),cB={helvetica:`Helvetica`,arial:`Helvetica`,calibri:`Helvetica`,"segoe ui":`Helvetica`,"trebuchet ms":`Helvetica`,verdana:`Helvetica`,tahoma:`Helvetica`,"gill sans":`Helvetica`,"franklin gothic":`Helvetica`,"lucida sans":`Helvetica`,aptos:`Helvetica`,"times new roman":`Times`,times:`Times`,georgia:`Times`,garamond:`Times`,"book antiqua":`Times`,palatino:`Times`,"palatino linotype":`Times`,cambria:`Times`,"century schoolbook":`Times`,"courier new":`Courier`,courier:`Courier`,consolas:`Courier`,"lucida console":`Courier`,monaco:`Courier`,"andale mono":`Courier`,"cascadia code":`Courier`,"cascadia mono":`Courier`,menlo:`Courier`},lB=class{constructor(){this.type1Map=new Map,this.resourceToType1=new Map,this.nextType1Id=1,this.embeddedFont=null,this.embeddedResourceName=``,this.usedCodePoints=new Set,this.nextEmbeddedId=1,this.type3CodePoints=new Set,this._type3Result=null,this._unknownFontFamilies=new Set,this._embeddedResult=null}registerEmbeddedFont(e){return this.embeddedFont=e,this.embeddedResourceName=`EF${this.nextEmbeddedId++}`,this.embeddedResourceName}hasEmbeddedFont(){return this.embeddedFont!==null}getType3CodePoints(){return new Set(this.type3CodePoints)}getUnknownFontFamilies(){return new Set(this._unknownFontFamilies)}getEmbeddedResourceName(){return this.embeddedResourceName}trackText(e){if(this.embeddedFont)for(let t=0;t<e.length;t++){let n=e.codePointAt(t);this.usedCodePoints.add(n),n>65535&&t++}else for(let t=0;t<e.length;t++){let n=e.codePointAt(t);n>65535&&t++,KI(n)||this.type3CodePoints.add(n)}}ensureFont(e){let t=this.type1Map.get(e);return t||(t=`F${this.nextType1Id++}`,this.type1Map.set(e,t),this.resourceToType1.set(t,e)),t}resolveFont(e,t,n){if(this.embeddedFont)return this.embeddedResourceName;let r=e.toLowerCase().trim();r&&cB[r]===void 0&&this._unknownFontFamilies.add(e);let i=aB(e,t,n);return this.ensureFont(i)}getPdfFontName(e){return this.resourceToType1.get(e)??`Helvetica`}hasType3Fonts(){return this._type3Result!==null&&this._type3Result.fontObjects.size>0}resolveType3(e){return this._type3Result?this._type3Result.encoding.get(e)??null:null}needsType3(e){return!this.embeddedFont&&!KI(e)}measureText(e,t,n){if(this.embeddedFont&&t===this.embeddedResourceName)return sB(e,this.embeddedFont,n);if(!this._type3Result||!qI(e))return wL(e,this.getPdfFontName(t),n);let r=0,i=this.getPdfFontName(t);for(let t=0;t<e.length;t++){let a=e.codePointAt(t);if(a>65535&&t++,KI(a))r+=wL(String.fromCodePoint(a),i,n);else{let e=this._type3Result.encoding.get(a);if(e){let t=this._type3Result.widths.get(e.resourceName)?.get(e.charCode)??600;r+=t/1e3*n}else r+=600/1e3*n}}return r}getFontAscent(e,t){return this.embeddedFont&&e===this.embeddedResourceName?this.embeddedFont.ascent/this.embeddedFont.unitsPerEm*t:TL(this.isType3Resource(e)?`Helvetica`:this.getPdfFontName(e),t)}getFontDescent(e,t){return this.embeddedFont&&e===this.embeddedResourceName?this.embeddedFont.descent/this.embeddedFont.unitsPerEm*t:EL(this.isType3Resource(e)?`Helvetica`:this.getPdfFontName(e),t)}getLineHeight(e,t){if(this.embeddedFont&&e===this.embeddedResourceName){let e=this.embeddedFont;return(e.ascent-e.descent)/e.unitsPerEm*t}return DL(this.isType3Resource(e)?`Helvetica`:this.getPdfFontName(e),t)}isEmbeddedFont(e){return this.embeddedFont!==null&&e===this.embeddedResourceName}isType3Resource(e){return this._type3Result?.fontObjects.has(e)??!1}encodeText(e,t){if(!this.embeddedFont||t!==this.embeddedResourceName)return null;if(this._embeddedResult)return oB(e,this._embeddedResult.unicodeToCid);throw new eL(`encodeText called before writeFontResources — subset mapping not available`)}encodeType3Char(e){if(!this._type3Result)return null;let t=this._type3Result.encoding.get(e);return t?`<${t.charCode.toString(16).toUpperCase().padStart(2,`0`)}>`:null}writeFontResources(e){let t=new Map;for(let[n,r]of this.type1Map){let i=e.allocObject(),a=new bI().set(`Type`,`/Font`).set(`Subtype`,`/Type1`).set(`BaseFont`,mI(n)).set(`Encoding`,`/WinAnsiEncoding`);e.addObject(i,a),t.set(r,i)}if(this.embeddedFont&&this.embeddedResourceName){let n=sL(e,this.embeddedFont,this.usedCodePoints,this.embeddedResourceName);t.set(this.embeddedResourceName,n.fontObjNum),this._embeddedResult=n}if(!this.embeddedFont&&this.type3CodePoints.size>0){this._type3Result=Yz(e,this.type3CodePoints);for(let[e,n]of this._type3Result.fontObjects)t.set(e,n)}return t}getEmbeddedResult(){return this._embeddedResult}buildFontDictString(e){let t=[`<<`];for(let[n,r]of e)t.push(`${mI(n)} ${gI(r)}`);return t.push(`>>`),t.join(`
459
- `)}getRegisteredFonts(){let e=[];for(let[t,n]of this.type1Map)e.push({resourceName:n,pdfFontName:t});return e}}}));function dB(){let e=typeof process<`u`?process.platform:``,t=typeof process<`u`?process.env.HOME??process.env.USERPROFILE??``:``,n=[];switch(e){case`darwin`:n.push(`/System/Library/Fonts`,`/System/Library/Fonts/Supplemental`,`/Library/Fonts`,`${t}/Library/Fonts`);break;case`win32`:{let e=process.env.WINDIR??process.env.SystemRoot??`C:\\Windows`;n.push(`${e}\\Fonts`,`${process.env.LOCALAPPDATA??``}\\Microsoft\\Windows\\Fonts`);break}default:n.push(`/usr/share/fonts`,`/usr/local/share/fonts`,`/usr/share/fonts/truetype`,`/usr/share/fonts/opentype`,`/usr/share/fonts/TTF`,`/usr/share/fonts/noto`,`/usr/share/fonts/noto-cjk`,`/usr/share/fonts/google-noto`,`/usr/share/fonts/google-noto-cjk`,`/usr/share/fonts/truetype/noto`,`/usr/share/fonts/truetype/dejavu`,`/usr/share/fonts/truetype/liberation`,`/usr/share/fonts/truetype/droid`,`/usr/share/fonts/wqy`,`${t}/.local/share/fonts`,`${t}/.fonts`);break}return n}function*fB(){if(hB!==void 0){for(let e of hB)yield e;return}if(typeof process>`u`||!process.platform)return;let e=new Set,t=dB();for(let n of mB)for(let r of t){let t=`${r}/${n}`;if(!e.has(t)&&(e.add(t),Rf(t))){let e=pB(t);e&&(yield e)}}let n=/noto|unicode|cjk|yahei|heiti|gothic|sans|serif|ming|song|dejavu|liberation|droid|wqy/i;for(let r of t){let t;try{t=Lf(r,{recursive:!0,filter:e=>!e.isDirectory})}catch{continue}let i=t.filter(t=>/\.tt[cf]$/i.test(t.absolutePath)&&!e.has(t.absolutePath)),a=i.filter(e=>n.test(e.absolutePath)),o=i.filter(e=>!n.test(e.absolutePath)&&e.size>5e4);for(let t of[...a,...o]){if(e.has(t.absolutePath))continue;e.add(t.absolutePath);let n=pB(t.absolutePath);n&&(yield n)}}}function pB(e){try{return zf(e)}catch{return null}}var mB,hB,gB=t((()=>{Vf(),mB=`NotoSansCJKsc-Regular.ttf,NotoSansCJK-Regular.ttc,NotoSansCJKSC-Regular.otf,NotoSansSC-Regular.ttf,NotoSansTC-Regular.ttf,NotoSansJP-Regular.ttf,NotoSansKR-Regular.ttf,NotoSans-Regular.ttf,Arial Unicode.ttf,Arial Unicode MS.ttf,ArialUnicode.ttf,arialuni.ttf,PingFang.ttc,Hiragino Sans GB.ttc,STHeiti Light.ttc,STHeiti Medium.ttc,Songti.ttc,AppleSDGothicNeo.ttc,msyh.ttc,msyhbd.ttc,msjh.ttc,simsun.ttc,simhei.ttf,malgun.ttf,meiryo.ttc,yugothic.ttf,segoeui.ttf,arial.ttf,DejaVuSans.ttf,LiberationSans-Regular.ttf,FreeSans.ttf,DroidSansFallbackFull.ttf,DroidSansFallback.ttf,wqy-microhei.ttc,wqy-zenhei.ttc,uming.ttc,NanumGothic.ttf,IPAexGothic.ttf`.split(`,`)}));function _B(e){let t=new FB(e),n=t.u32();if(n===1953784678){if(t.skip(4),t.u32()===0)throw new eL(`TrueType Collection is empty (0 fonts)`);return vB(e,t.u32())}return yB(e,t,n)}function vB(e,t){let n=new FB(e,t);return yB(e,n,n.u32())}function yB(e,t,n){if(n!==65536&&n!==1953658213)throw n===1330926671?new eL(`CFF-flavored OpenType (.otf) is not supported. Use a TrueType (.ttf) font.`):new eL(`Invalid TrueType font: bad sfVersion 0x${n.toString(16)}`);let r=t.u16();t.skip(6);let i=new Map;for(let e=0;e<r;e++){let e=t.tag();t.skip(4);let n=t.u32(),r=t.u32();i.set(e,{offset:n,length:r})}for(let e of[`head`,`hhea`,`maxp`,`cmap`,`hmtx`])if(!i.has(e))throw new eL(`Missing required table '${e}' in TrueType font`);let a=bB(t,i.get(`head`)),o=xB(t,i.get(`hhea`)),s=SB(t,i.get(`maxp`)),c=i.has(`OS/2`)?CB(t,i.get(`OS/2`)):null,l=i.has(`post`)?wB(t,i.get(`post`)):null,u=i.has(`name`)?TB(t,i.get(`name`)):null,d=EB(t,i.get(`cmap`)),f=kB(t,i.get(`hmtx`),o.numHMetrics,s.numGlyphs),p=i.has(`loca`)&&i.has(`glyf`)?AB(t,i.get(`loca`),s.numGlyphs,a.indexToLocFormat):new Uint32Array(s.numGlyphs+1),m=c?.sTypoAscender??o.ascent,h=c?.sTypoDescender??o.descent,g=c?.sCapHeight??Math.round(m*.7),_=0;l?.isFixedPitch&&(_|=1),a.macStyle&2&&(_|=64),_|=32;let v=c?.usWeightClass??400,y=Math.round(50+(v/65)**2),b=u?.familyName??`Unknown`;return{data:e,familyName:b,postScriptName:u?.postScriptName??b.replace(/\s+/g,``),unitsPerEm:a.unitsPerEm,ascent:m,descent:h,capHeight:g,italicAngle:l?.italicAngle??0,flags:_,bbox:[a.xMin,a.yMin,a.xMax,a.yMax],stemV:y,numGlyphs:s.numGlyphs,indexToLocFormat:a.indexToLocFormat,numHMetrics:o.numHMetrics,tables:i,cmap:d,advanceWidths:f,glyphOffsets:p}}function bB(e,t){let n=e.at(t.offset);n.skip(4),n.skip(4),n.skip(4),n.skip(4),n.skip(2);let r=n.u16();n.skip(16);let i=n.i16(),a=n.i16(),o=n.i16(),s=n.i16(),c=n.u16();return n.skip(2),n.skip(2),{unitsPerEm:r,xMin:i,yMin:a,xMax:o,yMax:s,macStyle:c,indexToLocFormat:n.i16()}}function xB(e,t){let n=e.at(t.offset);n.skip(4);let r=n.i16(),i=n.i16(),a=n.i16();return n.skip(2),n.skip(22),{ascent:r,descent:i,lineGap:a,numHMetrics:n.u16()}}function SB(e,t){let n=e.at(t.offset);return n.skip(4),{numGlyphs:n.u16()}}function CB(e,t){let n=e.at(t.offset),r=n.u16();n.skip(2);let i=n.u16();n.skip(2),n.skip(2),n.skip(22),n.skip(10),n.skip(16),n.skip(4),n.skip(2),n.skip(2),n.skip(2);let a=n.i16(),o=n.i16();n.skip(2),n.skip(2),n.skip(2);let s;return r>=2?(n.skip(8),n.skip(2),s=n.i16()):s=Math.round(a*.7),{usWeightClass:i,sTypoAscender:a,sTypoDescender:o,sCapHeight:s}}function wB(e,t){let n=e.at(t.offset);n.skip(4);let r=n.fixed();return n.skip(2),n.skip(2),{italicAngle:r,isFixedPitch:n.u32()!==0}}function TB(e,t){let n=t.offset,r=e.at(n);r.skip(2);let i=r.u16(),a=n+r.u16(),o=``,s=``;for(let t=0;t<i;t++){let t=r.u16(),n=r.u16();r.skip(2);let i=r.u16(),c=r.u16(),l=r.u16();if(i!==1&&i!==6)continue;let u=e.at(a+l).bytes(c),d;if(t===3||t===0)d=jB(u);else if(t===1&&n===0)d=MB(u);else continue;i===1&&!o&&(o=d),i===6&&!s&&(s=d)}return{familyName:o||`Unknown`,postScriptName:s||o||`Unknown`}}function EB(e,t){let n=t.offset,r=e.at(n);r.skip(2);let i=r.u16(),a=-1,o=-1;for(let t=0;t<i;t++){let t=r.u16(),i=r.u16(),s=r.u32();if(!(t===0||t===3&&(i===1||i===10)))continue;let c=e.u16At(n+s);c===12&&o<0&&(o=n+s),c===4&&a<0&&(a=n+s)}if(o>=0)return OB(e,o);if(a>=0)return DB(e,a);throw new eL(`No usable Unicode cmap subtable found in font`)}function DB(e,t){let n=e.at(t);n.skip(2),n.skip(2),n.skip(2);let r=n.u16()/2;n.skip(6);let i=[];for(let e=0;e<r;e++)i.push(n.u16());n.skip(2);let a=[];for(let e=0;e<r;e++)a.push(n.u16());let o=[];for(let e=0;e<r;e++)o.push(n.i16());let s=n.offset,c=[];for(let e=0;e<r;e++)c.push(n.u16());let l=new Map;for(let t=0;t<r;t++){let n=a[t],r=i[t],u=o[t],d=c[t];if(n===65535)break;for(let i=n;i<=r;i++){let r;if(d===0)r=i+u&65535;else{let a=s+t*2+d+(i-n)*2;r=e.u16At(a),r!==0&&(r=r+u&65535)}r!==0&&l.set(i,r)}}return l}function OB(e,t){let n=e.at(t);n.skip(2),n.skip(2),n.skip(4),n.skip(4);let r=n.u32();if(r>NB)throw new eL(`cmap format 12 has ${r} groups, exceeding limit of ${NB}. The font file may be malicious or corrupted.`);let i=new Map,a=0;for(let e=0;e<r;e++){let e=n.u32(),t=n.u32(),r=n.u32(),o=t>=e?t-e+1:0;if(a+=o,a>PB)throw new eL(`cmap format 12 maps too many codepoints (>${PB}). The font file may be malicious or corrupted.`);for(let n=e;n<=t;n++)i.set(n,r+(n-e))}return i}function kB(e,t,n,r){let i=e.at(t.offset),a=new Uint16Array(r),o=0;for(let e=0;e<n;e++)o=i.u16(),i.skip(2),a[e]=o;for(let e=n;e<r;e++)a[e]=o;return a}function AB(e,t,n,r){let i=e.at(t.offset),a=new Uint32Array(n+1);if(r===0)for(let e=0;e<=n;e++)a[e]=i.u16()*2;else for(let e=0;e<=n;e++)a[e]=i.u32();return a}function jB(e){let t=[];for(let n=0;n+1<e.length;n+=2){let r=e[n]<<8|e[n+1];if(r>=55296&&r<=56319&&n+3<e.length){let i=e[n+2]<<8|e[n+3];if(i>=56320&&i<=57343){t.push(String.fromCodePoint((r-55296<<10)+(i-56320)+65536)),n+=2;continue}}t.push(String.fromCharCode(r))}return t.join(``)}function MB(e){let t=[];for(let n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join(``)}var NB,PB,FB,IB=t((()=>{nL(),NB=65536,PB=2e6,FB=class e{constructor(e,t=0){this.data=e,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.offset=t}u8(){let e=this.view.getUint8(this.offset);return this.offset+=1,e}u16(){let e=this.view.getUint16(this.offset,!1);return this.offset+=2,e}i16(){let e=this.view.getInt16(this.offset,!1);return this.offset+=2,e}u32(){let e=this.view.getUint32(this.offset,!1);return this.offset+=4,e}i32(){let e=this.view.getInt32(this.offset,!1);return this.offset+=4,e}fixed(){return this.i32()/65536}bytes(e){let t=this.data.subarray(this.offset,this.offset+e);return this.offset+=e,t}tag(){return String.fromCharCode(this.u8(),this.u8(),this.u8(),this.u8())}skip(e){this.offset+=e}at(t){return new e(this.data,t)}u16At(e){return this.view.getUint16(e,!1)}u32At(e){return this.view.getUint32(e,!1)}i16At(e){return this.view.getInt16(e,!1)}}}));function LB(e){return e.kind===`chartsheet`}var RB,zB,BB=t((()=>{RB={Empty:0,String:1,Number:2,Boolean:3,Date:4,RichText:5,Error:6,Formula:7,Hyperlink:8,Merge:9},zB={A3:{width:841.89,height:1190.55},A4:{width:595.28,height:841.89},A5:{width:419.53,height:595.28},LETTER:{width:612,height:792},LEGAL:{width:612,height:1008},TABLOID:{width:792,height:1224}}})),VB,HB,UB=t((()=>{VB=1.2,HB=72/96}));function WB(e,t=1){return{left:(3+e.borderInsets.left)*t,right:(3+e.borderInsets.right)*t,top:(2+e.borderInsets.top)*t,bottom:(2+e.borderInsets.bottom)*t}}function GB(e,t,n,r){let i=new JI,a=new Set;t.showGridLines&&KB(i,e,t);for(let t of e.cells)t.fillColor&&qB(i,t,a);for(let t of e.cells){if(!t.textOverflowWidth||t.textOverflowWidth<=0)continue;let n=t.rect.x+t.rect.width,r=n+t.textOverflowWidth,a=t.rect.y,o=t.rect.height,s=[];for(let i of e.cells){if(i===t||!i.fillColor||Math.abs(i.rect.y-a)>.01||Math.abs(i.rect.height-o)>.01)continue;let e=i.rect.x,c=e+i.rect.width;c>n&&e<r&&s.push({left:Math.max(e,n),right:Math.min(c,r)})}if(s.length===0)i.fillRect(n,a,t.textOverflowWidth,o,{r:1,g:1,b:1});else{s.sort((e,t)=>e.left-t.left);let e=n;for(let t of s)t.left>e&&i.fillRect(e,a,t.left-e,o,{r:1,g:1,b:1}),e=Math.max(e,t.right);e<r&&i.fillRect(e,a,r-e,o,{r:1,g:1,b:1})}}for(let t of e.cells)XB(i,t);let o=e.scaleFactor;for(let t of e.cells)(t.text||t.richText)&&QB(i,t,n,a,o);return t.showSheetNames&&hV(i,e,t,n),t.showPageNumbers&&gV(i,e,t,n,r),{stream:i,alphaValues:a}}function KB(e,t,n){if(t.columnWidths.length===0||t.rowHeights.length===0)return;let r=n.gridLineColor;e.save(),e.setStrokeColor(r),e.setLineWidth(.25);let i=t.rowYPositions[0],a=t.rowYPositions.length-1,o=t.rowYPositions[a]-t.rowHeights[a];for(let n=0;n<=t.columnWidths.length;n++){let r=n<t.columnWidths.length?t.columnOffsets[n]:t.columnOffsets[n-1]+t.columnWidths[n-1];e.moveTo(r,i),e.lineTo(r,o)}let s=t.columnOffsets[0],c=t.columnOffsets.length-1,l=t.columnOffsets[c]+t.columnWidths[c];for(let n=0;n<=t.rowYPositions.length;n++){let r=n<t.rowYPositions.length?t.rowYPositions[n]:t.rowYPositions[n-1]-t.rowHeights[n-1];e.moveTo(s,r),e.lineTo(l,r)}e.stroke(),e.restore()}function qB(e,t,n){if(!t.fillColor)return;let r=t.fillColor.a;if(r!==void 0&&r<1){let i=lV(r);n.add(r),e.save(),e.setGraphicsState(i),e.fillRect(t.rect.x,t.rect.y,t.rect.width,t.rect.height,t.fillColor),e.restore()}else e.fillRect(t.rect.x,t.rect.y,t.rect.width,t.rect.height,t.fillColor)}function JB(e){return typeof e==`number`?e<=90?e:-(e-90):0}function YB(e,t){let n=JB(e);if(n===0)return 0;let r=Math.abs(n);if(r<.01||r>89.99)return 0;let i=r*Math.PI/180,a=t*Math.cos(i)/Math.sin(i);return n<0?-a:a}function XB(e,t){let{rect:n,borders:r,textRotation:i}=t,{x:a,y:o,width:s,height:c}=n,l=YB(i,c);r.top&&ZB(e,r.top,a+l,o+c,a+s+l,o+c,!0),r.bottom&&ZB(e,r.bottom,a,o,a+s,o,!0),r.left&&ZB(e,r.left,a,o,a+l,o+c,!1),r.right&&ZB(e,r.right,a+s,o,a+s+l,o+c,!1)}function ZB(e,t,n,r,i,a,o){if(t.isDouble){let s=.4,c=Math.min(t.width,.25);o?(e.drawLine(n,r+s,i,a+s,t.color,c,t.dashPattern),e.drawLine(n,r-s,i,a-s,t.color,c,t.dashPattern)):(e.drawLine(n+s,r,i+s,a,t.color,c,t.dashPattern),e.drawLine(n-s,r,i-s,a,t.color,c,t.dashPattern))}else e.drawLine(n,r,i,a,t.color,t.width,t.dashPattern)}function QB(e,t,n,r,i=1){let{rect:a,text:o,fontSize:s,horizontalAlign:c,verticalAlign:l,wrapText:u}=t;if(!o&&!t.richText)return;let d=WB(t,i),f=a.width-d.left-d.right,p=a.height-d.top-d.bottom;if(f<=0||p<=0)return;let m=t.indent*10*i,h=a.width+(t.textOverflowWidth||0);e.save();let g=YB(t.textRotation,a.height);g===0?e.rect(a.x,a.y,h,a.height):(e.moveTo(a.x,a.y),e.lineTo(a.x+h,a.y),e.lineTo(a.x+h+g,a.y+a.height),e.lineTo(a.x+g,a.y+a.height),e.closePath()),e.clip(),e.endPath();let _=t.textColor.a;if(_!==void 0&&_<1&&(r.add(_),e.setGraphicsState(lV(_))),t.textRotation===`vertical`){cV(e,t,n,m,i),e.restore();return}if(typeof t.textRotation==`number`&&t.textRotation!==0){eV(e,t,n,m,i),e.restore();return}if(t.richText&&t.richText.length>0){$B(e,t,n,m,i),e.restore();return}let v=n.hasEmbeddedFont(),y=v?n.getEmbeddedResourceName():n.ensureFont(aB(t.fontFamily,t.bold,t.italic)),b=e=>n.measureText(e,y,s),x=f-m,S=u?pV(o,b,x):o.split(/\r?\n/),ee=s*VB,te=n.getFontAscent(y,s),ne=uV(l,a,S.length*ee,te,d.top,d.bottom);e.setFillColor(t.textColor);let re=n.hasType3Fonts()&&!v;for(let t=0;t<S.length;t++){let r=S[t],i=ne-t*ee;sV(e,r,dV(c,a,b(r),m,d.left,d.right),i,y,s,n,re)}fV(e,t,S,ee,ne,b,y,n,m,d),e.restore()}function $B(e,t,n,r,i=1){let{rect:a,horizontalAlign:o,verticalAlign:s,wrapText:c}=t,l=t.richText,u=WB(t,i),d=t.fontSize;for(let e of l)e.fontSize>d&&(d=e.fontSize);let f=d,p=f*VB,m=n.hasEmbeddedFont(),h=e=>m?n.getEmbeddedResourceName():n.ensureFont(aB(e.fontFamily,e.bold,e.italic));if(c){let i=a.width-u.left-u.right-r;if(i<=0)return;let c=l.map(e=>e.text).join(``),d=[];for(let e=0;e<l.length;e++)for(let t=0;t<l[e].text.length;t++)d.push(e);let p=l.map(e=>h(e)),g=mV(c,d,l,p,n,i),_=[];for(let e of g){let n=t.fontSize;for(let t=e.start;t<e.end;t++){let e=d[t]??0;l[e].fontSize>n&&(n=l[e].fontSize)}_.push(n*VB)}let v=p[0],y=n.getFontAscent(v,f),b=uV(s,a,_.reduce((e,t)=>e+t,0),y,u.top,u.bottom),x=0;for(let t=0;t<g.length;t++){let i=b-x;x+=_[t];let{start:s,end:f}=g[t],h=[];for(let e=s;e<f;e++){let t=d[e]??d.length-1,n=h[h.length-1];n&&n.run===l[t]?n.text+=c[e]:h.push({run:l[t],text:c[e],resourceName:p[t]})}let v=0;for(let e of h)v+=n.measureText(e.text,e.resourceName,e.run.fontSize);let y=dV(o,a,v,r,u.left,u.right),S=n.hasType3Fonts()&&!m;for(let t of h){let{run:r,text:a,resourceName:o}=t;e.setFillColor(r.textColor);let s=sV(e,a,y,i,o,r.fontSize,n,S);if(r.strike){let t=i+n.getFontDescent(o,r.fontSize)+r.fontSize*.3;e.drawLine(y,t,y+s,t,r.textColor,.5)}if(r.underline){let t=i+n.getFontDescent(o,r.fontSize)*.5;e.drawLine(y,t,y+s,t,r.textColor,.5)}y+=s}}return}let g=0,_=[];for(let e of l){let t=h(e),r=n.measureText(e.text,t,e.fontSize);_.push({resourceName:t,width:r}),g+=r}let v=_[0]?.resourceName??`F1`,y=uV(s,a,p,n.getFontAscent(v,f),u.top,u.bottom),b=dV(o,a,g,r,u.left,u.right),x=n.hasType3Fonts()&&!m;for(let t=0;t<l.length;t++){let r=l[t],{resourceName:i}=_[t];e.setFillColor(r.textColor);let a=sV(e,r.text,b,y,i,r.fontSize,n,x);if(r.strike){let t=y+n.getFontDescent(i,r.fontSize)+r.fontSize*.3;e.drawLine(b,t,b+a,t,r.textColor,.5)}if(r.underline){let t=y+n.getFontDescent(i,r.fontSize)*.5;e.drawLine(b,t,b+a,t,r.textColor,.5)}b+=a}}function eV(e,t,n,r,i=1){let{rect:a,wrapText:o}=t,{fontSize:s}=t,c=WB(t,i),l=n.hasEmbeddedFont()?n.getEmbeddedResourceName():n.ensureFont(aB(t.fontFamily,t.bold,t.italic)),u=JB(t.textRotation),d=u*Math.PI/180,f=Math.cos(d),p=Math.sin(d),m=Math.abs(p),h=Math.abs(f),g=a.width-c.left-c.right,_=a.height-c.top-c.bottom,v;v=m>.01&&h>.01?Math.min(_/m,g/h):m>.01?_/m:g;let y=e=>n.measureText(e,l,s),b;b=o?pV(t.text,y,Math.max(v-1,1)):t.text.split(/\r?\n/);let x=s*VB,S=b.length*x;if(!o){let e=0;for(let t of b){let n=y(t);n>e&&(e=n)}let t=e*h+S*m,n=e*m+S*h;if(g>0&&_>0&&(t>g||n>_)){let e=Math.min(g/t,_/n);e<1&&(s*=e)}}let ee=s*VB,te=n.getFontAscent(l,s),ne=Math.abs(u-90)<.01,re=Math.abs(u+90)<.01;e.setFillColor(t.textColor),ne?tV(e,t,b,n,l,s,ee,te,c):re?nV(e,t,b,n,l,s,ee,te,c):rV(e,t,b,n,l,s,ee,te,f,p,r)}function tV(e,t,n,r,i,a,o,s,c){let{rect:l,horizontalAlign:u,verticalAlign:d}=t,f=n.length*o,p;p=u===`center`?l.x+l.width/2-f/2+s:u===`right`?l.x+l.width-c.right-f+s:l.x+c.left+s;let m=r.hasType3Fonts()&&!r.hasEmbeddedFont();for(let t=0;t<n.length;t++){let s=n[t],u=r.measureText(s,i,a),f=p+t*o,h;h=d===`top`?l.y+l.height-c.top-u:d===`middle`?l.y+(l.height-u)/2:l.y+c.bottom,h=Math.max(h,l.y+c.bottom),aV(e,s,0,1,-1,0,f,h,i,a,r,m)}}function nV(e,t,n,r,i,a,o,s,c){let{rect:l,horizontalAlign:u,verticalAlign:d}=t,f=n.length*o,p;p=u===`center`?l.x+l.width/2+f/2-o+s:u===`right`?l.x+l.width-c.right-o+s:l.x+c.left+f-o+s;let m=r.hasType3Fonts()&&!r.hasEmbeddedFont();for(let t=0;t<n.length;t++){let s=n[t],u=r.measureText(s,i,a),f=p-t*o,h;h=d===`top`?l.y+l.height-c.top:d===`middle`?l.y+(l.height+u)/2:l.y+c.bottom+u,h=Math.min(h,l.y+l.height-c.top),aV(e,s,0,-1,1,0,f,h,i,a,r,m)}}function rV(e,t,n,r,i,a,o,s,c,l,u){let{rect:d,horizontalAlign:f,verticalAlign:p}=t,m=WB(t),h=0;for(let e of n){let t=r.measureText(e,i,a);t>h&&(h=t)}let g=n.length*o,_=Math.abs(l),v=Math.abs(c),y=h*v+g*_,b=h*_+g*v,x=YB(t.textRotation,d.height)/2,S=f===`left`?u/2:f===`right`?-u/2:0,ee;ee=p===`top`?d.y+d.height-m.top-b/2:p===`bottom`?d.y+m.bottom+b/2:d.y+d.height/2;let te=d.height>0?(ee-d.y)/d.height:.5,ne=x*2*te,re;re=f===`right`?d.x+d.width-m.right-y/2+S+ne:f===`left`?d.x+m.left+y/2+S+ne:d.x+d.width/2+S+ne;let ie=r.hasType3Fonts()&&!r.hasEmbeddedFont();for(let t=0;t<n.length;t++){let u=n[t],d=r.measureText(u,i,a),f=(t-(n.length-1)/2)*o,p=-d/2,m=-s/2-f,h=re+p*c-m*l,g=ee+p*l+m*c;aV(e,u,c,l,-l,c,h,g,i,a,r,ie)}}function iV(e,t,n,r){let i=t.encodeText(n,r);i?e.showTextHex(i):e.showText(n)}function aV(e,t,n,r,i,a,o,s,c,l,u,d){if(!d){e.beginText(),e.setFont(c,l),e.setTextMatrix(n,r,i,a,o,s),iV(e,u,t,c),e.endText();return}let f=oV(t,u),p=o,m=s;for(let t of f){e.beginText(),t.type3?(e.setFont(t.type3.resourceName,l),e.setTextMatrix(n,r,i,a,p,m),e.showTextHex(t.type3.hex)):(e.setFont(c,l),e.setTextMatrix(n,r,i,a,p,m),iV(e,u,t.text,c)),e.endText();let o=u.measureText(t.text,t.type3?.resourceName??c,l);p+=n*o,m+=r*o}}function oV(e,t){let n=[],r=``,i=()=>{r&&=(n.push({text:r,type3:null}),``)};for(let a=0;a<e.length;a++){let o=e.codePointAt(a),s=String.fromCodePoint(o);if(o>65535&&a++,t.needsType3(o)){i();let e=t.resolveType3(o);if(e){let r=t.encodeType3Char(o);n.push({text:s,type3:{resourceName:e.resourceName,hex:r??`<00>`}})}else n.push({text:s,type3:null})}else r+=s}return i(),n}function sV(e,t,n,r,i,a,o,s){return aV(e,t,1,0,0,1,n,r,i,a,o,s),o.measureText(t,i,a)}function cV(e,t,n,r,i=1){let{rect:a,text:o,fontSize:s,horizontalAlign:c,verticalAlign:l}=t,u=WB(t,i),d=n.hasEmbeddedFont(),f=d?n.getEmbeddedResourceName():n.ensureFont(aB(t.fontFamily,t.bold,t.italic)),p=s*1.3,m=n.getFontAscent(f,s),h=o.split(/\r?\n/),g=s*1.4,_=h.length*g,v;v=c===`center`?a.x+a.width/2-_/2+g/2:c===`right`?a.x+a.width-u.right-_+g/2:a.x+u.left+g/2,e.setFillColor(t.textColor);let y=n.hasType3Fonts()&&!d;for(let t=0;t<h.length;t++){let r=h[t],i=v+t*g,o=r.length*p,c;c=l===`middle`?a.y+a.height/2+o/2-m:l===`bottom`?a.y+u.bottom+o-m:a.y+a.height-u.top-m;for(let t of r){if(c<a.y+u.bottom)break;aV(e,t,1,0,0,1,i-n.measureText(t,f,s)/2,c,f,s,n,y),c-=p}}}function lV(e){return`GS${Math.round(e*1e4)}`}function uV(e,t,n,r,i=2,a=i){let o;switch(e){case`top`:o=t.y+t.height-i-r;break;case`middle`:o=t.y+t.height/2+n/2-r;break;default:o=t.y+a+(n-r);break}let s=t.y+t.height-i-r;o>s&&(o=s);let c=t.y+a;return o<c&&(o=c),o}function dV(e,t,n,r=0,i=3,a=i){let o;switch(e){case`center`:o=t.x+(t.width-n)/2;break;case`right`:o=t.x+t.width-a-n;break;default:o=t.x+i+r;break}let s=t.x+i;return o<s&&(o=s),o}function fV(e,t,n,r,i,a,o,s,c,l){if(t.strike){let u=i+s.getFontDescent(o,t.fontSize)+t.fontSize*.3;for(let i=0;i<n.length;i++){let o=u-i*r,s=a(n[i]),d=dV(t.horizontalAlign,t.rect,s,c,l?.left,l?.right);e.drawLine(d,o,d+s,o,t.textColor,.5)}}if(t.underline){let u=s.getFontDescent(o,t.fontSize)*.5;for(let o=0;o<n.length;o++){let s=i-o*r+u,d=a(n[o]),f=dV(t.horizontalAlign,t.rect,d,c,l?.left,l?.right);e.drawLine(f,s,f+d,s,t.textColor,.5)}}}function pV(e,t,n){if(!e)return[``];let r=e.split(/\r?\n/),i=[];for(let e of r){if(!e){i.push(``);continue}let r=e.split(/\s+/),a=``;for(let e of r){if(!a){a=e;continue}let r=a+` `+e;t(r)<=n?a=r:(i.push(a),a=e)}a&&i.push(a)}return i.length>0?i:[``]}function mV(e,t,n,r,i,a){if(!e)return[{start:0,end:0}];let o=(a,o)=>{if(a>=o)return 0;let s=0,c=a,l=t[a]??0;for(let u=a+1;u<=o;u++){let a=u<o?t[u]??l:-1;if(a!==l){let t=n[l],o=e.slice(c,u);s+=i.measureText(o,r[l],t.fontSize),c=u,l=a}}return s},s=[],c=0,l=e.length;for(;c<=l;){let t=e.indexOf(`
460
- `,c);if(t===-1&&(t=l),t===c){s.push({start:c,end:c}),c=t+1;continue}let n=t>c&&e[t-1]===`\r`?t-1:t;if(n===c){s.push({start:c,end:c}),c=t+1;continue}let r=e.slice(c,n),i=[],u=[],d=!1;for(let e=0;e<r.length;e++){let t=r[e]===` `||r[e]===` `;!t&&!d?(i.push(e),d=!0):t&&d&&(u.push(e),d=!1)}d&&u.push(r.length);let f=c,p=c;for(let e=0;e<i.length;e++){let t=c+u[e];if(p===f){p=t;continue}o(f,t)<=a?p=t:(s.push({start:f,end:p}),f=c+i[e],p=t)}if((p>f||i.length===0)&&s.push({start:f,end:Math.max(p,f)}),c=t+1,t===l)break}return s.length>0?s:[{start:0,end:0}]}function hV(e,t,n,r){let i=t.sheetName,a=r.hasEmbeddedFont()?r.getEmbeddedResourceName():r.ensureFont(aB(n.defaultFontFamily,!0,!1)),o=r.measureText(i,a,10),s=(t.width-o)/2,c=t.height-n.margins.top+5;e.save(),e.setFillColor({r:.3,g:.3,b:.3}),aV(e,i,1,0,0,1,s,c,a,10,r,r.hasType3Fonts()&&!r.hasEmbeddedFont()),e.restore()}function gV(e,t,n,r,i){let a=`Page ${t.pageNumber} of ${i}`,o=r.ensureFont(aB(n.defaultFontFamily,!1,!1)),s=r.measureText(a,o,9),c=(t.width-s)/2,l=Math.max(5,n.margins.bottom-15);e.save(),e.setFillColor({r:.5,g:.5,b:.5}),e.beginText(),e.setFont(o,9),e.setTextMatrix(1,0,0,1,c,l),e.showText(a),e.endText(),e.restore()}function _V(e,t,n,r){return n.type===`text`?xV(e,t,vV(n),r):SV(e,t,yV(n))}function vV(e){return{...e,opacity:bV(e.opacity??TV.opacity),fontSize:Math.max(1,e.fontSize??TV.fontSize),repeatSpacingX:Math.max(DV,e.repeatSpacingX??TV.repeatSpacingX),repeatSpacingY:Math.max(DV,e.repeatSpacingY??TV.repeatSpacingY)}}function yV(e){return{...e,opacity:bV(e.opacity??EV.opacity),scale:Math.max(.01,e.scale??EV.scale),width:e.width===void 0?void 0:Math.max(1,e.width),height:e.height===void 0?void 0:Math.max(1,e.height),repeatSpacingX:Math.max(DV,e.repeatSpacingX??EV.repeatSpacingX),repeatSpacingY:Math.max(DV,e.repeatSpacingY??EV.repeatSpacingY)}}function bV(e){return Math.max(0,Math.min(1,e))}function xV(e,t,n,r){let i=n.fontSize??TV.fontSize,a=n.color??TV.color,o=n.opacity??TV.opacity,s=n.rotation??TV.rotation,c=n.fontFamily??TV.fontFamily,l=n.bold??TV.bold,u=n.italic??TV.italic,d=r.hasEmbeddedFont(),f=d?r.getEmbeddedResourceName():r.ensureFont(aB(c,l,u)),p=r.measureText(n.text,f,i),m=i*.7,h=s*Math.PI/180,g=Math.cos(h),_=Math.sin(h),v=o<1,y=v?lV(o):``,b=r.hasType3Fonts()&&!d,x=(t,o)=>{let s=p/2,c=m/2,l=t-s*g+c*_,u=o-s*_-c*g;e.save(),v&&e.setGraphicsState(y),e.setFillColor(a),aV(e,n.text,g,_,-_,g,l,u,f,i,r,b),e.restore()};if(n.repeat){let e=n.repeatSpacingX??TV.repeatSpacingX,r=n.repeatSpacingY??TV.repeatSpacingY;wV(t.width,t.height,e,r,x)}else{let{cx:e,cy:r}=CV(t,n.position);x(e,r)}return{alphaValues:v?[o]:[],imageXObjects:[]}}function SV(e,t,n){let r=n.opacity??EV.opacity,i=n.rotation??EV.rotation,a=n.scale??EV.scale,o=r<1,s,c;if(n.width!==void 0&&n.height!==void 0)s=n.width,c=n.height;else{let e=kI(n.data,n.format),r=Math.min(t.width,t.height)*a,i=Math.max(e.width,e.height),o=i>0?r/i:1;s=e.width*o,c=e.height*o}let l=i*Math.PI/180,u=Math.cos(l),d=Math.sin(l),f=o?lV(r):``,p=`WmImg`,m=(t,n)=>{e.save(),o&&e.setGraphicsState(f);let r=s/2,i=c/2,a=t-r*u+i*d,l=n-r*d-i*u;e.concat(s*u,s*d,-c*d,c*u,a,l),e.doXObject(p),e.restore()};if(n.repeat){let e=n.repeatSpacingX??EV.repeatSpacingX,r=n.repeatSpacingY??EV.repeatSpacingY;wV(t.width,t.height,e,r,m)}else{let{cx:e,cy:r}=CV(t,n.position);m(e,r)}return{alphaValues:o?[r]:[],imageXObjects:[{name:p,data:n.data,format:n.format}]}}function CV(e,t){return!t||t===`center`?{cx:e.width/2,cy:e.height/2}:{cx:t.x,cy:t.y}}function wV(e,t,n,r,i){let a=Math.max(e,t)*.5,o=0;for(let s=-a;s<t+a;s+=r){let t=o%2==1?n/2:0;for(let r=-a;r<e+a;r+=n)i(r+t,s);o++}}var TV,EV,DV,OV=t((()=>{FI(),XI(),uB(),UB(),TV={fontSize:54,color:{r:.75,g:.75,b:.75},opacity:.15,rotation:-45,fontFamily:`Helvetica`,bold:!1,italic:!1,repeatSpacingX:200,repeatSpacingY:200},EV={opacity:.15,rotation:0,scale:.5,repeatSpacingX:200,repeatSpacingY:200},DV=10}));function kV(e,t,n){let r=t=>{t?.a!==void 0&&t.a<1&&(n.add(t.a),e.setGraphicsState(lV(t.a)))},i=t=>{let{fill:i,stroke:a,lineWidth:o}=t;if(i&&(e.setFillColor(i),r(i)),a){e.setStrokeColor(a);let t=a.a!==void 0&&a.a<1,s=i?.a!==void 0&&i.a<1;t?r(a):s&&(n.add(1),e.setGraphicsState(lV(1))),o!==void 0&&e.setLineWidth(o)}i&&a?e.fillAndStroke():i?e.fill():a?e.stroke():e.endPath()};return{drawRect(t){let{x:n,y:r,width:a,height:o,fill:s,stroke:c,lineWidth:l}=t;return e.save(),e.rect(n,r,a,o),i({fill:s,stroke:c,lineWidth:l}),e.restore(),this},drawLine(t){let{x1:n,y1:i,x2:a,y2:o,color:s,lineWidth:c,dashPattern:l}=t;return e.save(),s&&(e.setStrokeColor(s),r(s)),c!==void 0&&e.setLineWidth(c),l&&l.length>0&&e.setDashPattern(l),e.moveTo(n,i).lineTo(a,o).stroke(),e.restore(),this},drawText(n,i){if(!n)return this;let a=i.fontSize??10,o=i.color??{r:0,g:0,b:0},s=i.bold??!1,c=i.italic??!1,l=i.fontFamily??`Helvetica`,u=i.anchor??`start`,d=i.rotation??0,f=AV(t,l,s,c),p=t.hasType3Fonts()&&!t.hasEmbeddedFont(),m=t.measureText(n,f,a),h=0;if(u===`middle`?h=-m/2:u===`end`&&(h=-m),e.save(),e.setFillColor(o),r(o),d===0)aV(e,n,1,0,0,1,i.x+h,i.y,f,a,t,p);else{let r=-d*Math.PI/180,o=Math.cos(r),s=Math.sin(r);aV(e,n,o,s,-s,o,i.x+o*h,i.y+s*h,f,a,t,p)}return e.restore(),this},drawCircle(t){let{cx:n,cy:r,r:a,fill:o,stroke:s,lineWidth:c}=t;return e.save(),e.circle(n,r,a),i({fill:o,stroke:s,lineWidth:c}),e.restore(),this},drawPath(t,n){e.save();for(let n of t)switch(n.op){case`move`:e.moveTo(n.x,n.y);break;case`line`:e.lineTo(n.x,n.y);break;case`curve`:e.curveTo(n.x1,n.y1,n.x2,n.y2,n.x3,n.y3);break;case`close`:e.closePath();break}return n?.closePath&&e.closePath(),n?.dashPattern&&n.dashPattern.length>0&&e.setDashPattern(n.dashPattern),i({fill:n?.fill,stroke:n?.stroke,lineWidth:n?.lineWidth}),e.restore(),this}}}function AV(e,t,n,r){return e.hasEmbeddedFont()?e.getEmbeddedResourceName():e.ensureFont(aB(t,n,r))}var jV=t((()=>{uB(),OV()}));function MV(e){if(!e||e.length<6)return null;let t,n,r,i;if(e.length>=8?(t=parseInt(e.substring(0,2),16),n=parseInt(e.substring(2,4),16),r=parseInt(e.substring(4,6),16),i=parseInt(e.substring(6,8),16)):(t=255,n=parseInt(e.substring(0,2),16),r=parseInt(e.substring(2,4),16),i=parseInt(e.substring(4,6),16)),isNaN(n)||isNaN(r)||isNaN(i))return null;let a=t/255;return{r:n/255,g:r/255,b:i/255,...a<1?{a}:{}}}function NV(e){if(!e)return null;if(e.argb)return MV(e.argb);if(e.theme!==void 0){let t=PV(e.theme);if(!t)return null;let n=e.tint;return n!==void 0&&n!==0?IV(t,n):t}return e.indexed===void 0?null:FV(e.indexed)}function PV(e){let t=[{r:1,g:1,b:1},{r:0,g:0,b:0},{r:.906,g:.902,b:.902},{r:.267,g:.329,b:.416},{r:.267,g:.447,b:.769},{r:.929,g:.49,b:.192},{r:.647,g:.647,b:.647},{r:1,g:.753,b:0},{r:.357,g:.608,b:.835},{r:.439,g:.678,b:.278}];return e>=0&&e<t.length?t[e]:null}function FV(e){return e===64?{r:0,g:0,b:0}:e===65?{r:1,g:1,b:1}:e>=0&&e<GV.length?MV(GV[e])??null:null}function IV(e,t){let n=e=>t<0?e*(1+t):e+(1-e)*t;return{r:Math.max(0,Math.min(1,n(e.r))),g:Math.max(0,Math.min(1,n(e.g))),b:Math.max(0,Math.min(1,n(e.b)))}}function LV(e,t,n){return{fontFamily:e?.name??t,fontSize:e?.size??n,bold:e?.bold??!1,italic:e?.italic??!1,strike:e?.strike??!1,underline:!!(e?.underline&&e.underline!==`none`),textColor:NV(e?.color)??KV.black}}function RV(e){if(!e)return null;if(e.type===`pattern`){if(e.pattern===`solid`&&e.fgColor)return NV(e.fgColor);if(e.pattern===`none`)return null;if(e.fgColor)return NV(e.fgColor)}return e.type===`gradient`&&e.stops&&e.stops.length>0?NV(e.stops[0].color):null}function zV(e){switch(e){case`hair`:return .1;case`thin`:return .25;case`medium`:return .5;case`thick`:return 1;case`double`:return .25;case`dotted`:return .25;case`dashed`:return .25;case`dashDot`:return .25;case`dashDotDot`:return .25;case`slantDashDot`:return .25;case`mediumDashed`:return .5;case`mediumDashDot`:return .5;case`mediumDashDotDot`:return .5;default:return .25}}function BV(e){switch(e){case`dotted`:return[1,1];case`dashed`:case`mediumDashed`:return[3,2];case`dashDot`:case`mediumDashDot`:return[3,1,1,1];case`dashDotDot`:case`mediumDashDotDot`:return[3,1,1,1,1,1];case`slantDashDot`:return[4,2,1,2];case`hair`:return[.5,.5];default:return[]}}function VV(e){return!e||!e.style?null:{width:zV(e.style),color:NV(e.color)??KV.black,dashPattern:BV(e.style),isDouble:e.style===`double`}}function HV(e){return e?{top:VV(e.top),right:VV(e.right),bottom:VV(e.bottom),left:VV(e.left)}:{top:null,right:null,bottom:null,left:null}}function UV(e){if(!e?.horizontal)return`left`;switch(e.horizontal){case`center`:case`centerContinuous`:return`center`;case`right`:return`right`;default:return`left`}}function WV(e){if(!e?.vertical)return`bottom`;switch(e.vertical){case`top`:return`top`;case`middle`:return`middle`;default:return`bottom`}}var GV,KV,qV=t((()=>{GV=`000000.FFFFFF.FF0000.00FF00.0000FF.FFFF00.FF00FF.00FFFF.000000.FFFFFF.FF0000.00FF00.0000FF.FFFF00.FF00FF.00FFFF.800000.008000.000080.808000.800080.008080.C0C0C0.808080.9999FF.993366.FFFFCC.CCFFFF.660066.FF8080.0066CC.CCCCFF.000080.FF00FF.FFFF00.00FFFF.800080.800000.008080.0000FF.00CCFF.CCFFFF.CCFFCC.FFFF99.99CCFF.FF99CC.CC99FF.FFCC99.3366FF.33CCCC.99CC00.FFCC00.FF9900.FF6600.666699.969696.003366.339966.003300.333300.993300.993366.333399.333333`.split(`.`),KV={black:{r:0,g:0,b:0},white:{r:1,g:1,b:1},gridLine:{r:.816,g:.816,b:.816}}}));function JV(e,t,n){if(e?.horizontal&&e.horizontal!==`general`)return UV(e);if(t!==void 0)switch(t){case RB.Number:case RB.Date:return`right`;case RB.Boolean:case RB.Error:return`center`;case RB.Formula:return typeof n==`number`||n instanceof Date?`right`:typeof n==`boolean`?`center`:`left`;default:return`left`}return`left`}async function YV(e,t,n){let r=ZV(e,t,n);if(!r)return[$V(e,t)];let i=[],a=r.rowPages.length*r.colGroups.length;for(let o of r.rowPages)for(let s of r.colGroups)i.push(QV(r,o,s,i.length,e,t,n)),i.length<a&&await Ef();return i.length>0&&e.images&&_H(e.images,i,r.scaleFactor),i.length>0&&e.charts&&vH(e.charts,i,r.scaleFactor),i}function XV(e,t){let n=e.orientation??t.orientation,r={...t,orientation:n},i=r.pageSize.width,a=r.pageSize.height;r.orientation===`landscape`&&([i,a]=[a,i]);let o=r.margins,s=r.showSheetNames?20:0,c=o.left,l=o.bottom,u=i-o.left-o.right,d=a-o.top-o.bottom-s,f={rect:{x:c,y:l,width:Math.max(0,u),height:Math.max(0,d)},drawVector:e.chart.drawVector,raster:e.chart.raster};return[{pageNumber:1,options:r,cells:[],width:i,height:a,sheetName:e.name,sheetCols:[],columnOffsets:[],columnWidths:[],sheetRows:[],rowYPositions:[],rowHeights:[],images:[],charts:[f],scaleFactor:1}]}function ZV(e,t,n){let{margins:r}=t,i=t.pageSize.width,a=t.pageSize.height;t.orientation===`landscape`&&([i,a]=[a,i]);let o=i-r.left-r.right,s=a-r.top-r.bottom,c=t.showSheetNames?20:0,l=t.showPageNumbers?20:0,u=s-c-l,d=nH(e),{columnWidths:f,visibleCols:p}=rH(e,d);if(p.length===0)return null;let m=f.reduce((e,t)=>e+t,0),h=t.scale;if(t.fitToPage&&m>0){let e=o/m;e<1&&(h*=e)}let g=f.map(e=>e*h),{rowHeights:_,visibleRows:v}=iH(e,h,d,n,t),y=uH(e),b=dH(_,u,typeof t.repeatRows==`number`?t.repeatRows:0,lH(e,v)),x=fH(g,o,e,p);return{pageWidth:i,pageHeight:a,contentWidth:o,headerHeight:c,scaleFactor:h,scaledColumnWidths:g,rowHeights:_,visibleRows:v,visibleCols:p,mergeMap:y,rowPages:b,colGroups:x,margins:r}}function QV(e,t,n,r,i,a,o){let{scaledColumnWidths:s,rowHeights:c,visibleRows:l,visibleCols:u,mergeMap:d,pageWidth:f,pageHeight:p,contentWidth:m,headerHeight:h,scaleFactor:g,margins:_}=e,v=[],y=n.map(e=>s[e]),b=y.reduce((e,t)=>e+t,0),x=[],S=_.left;b<m&&(S=_.left+(m-b)/2);for(let e of y)x.push(S),S+=e;let ee=[],te=[],ne=p-_.top-h;for(let e of t){let t=c[e]??CH*g;ee.push(ne),te.push(t),ne-=t}let re=new Map;for(let e=0;e<t.length;e++){let r=t[e],s=l[r];for(let t=0;t<n.length;t++){let c=u[n[t]],f=`${s}:${c}`,p=d.get(f);if(p&&!p.isMaster)continue;let m=i.rows.get(s)?.cells.get(c),h=1,_=1;if(p&&p.isMaster){let e=c+p.colSpan-1;h=0;for(let r=t;r<n.length&&u[n[r]]<=e;r++)h++;let i=s+p.rowSpan-1;_=0;for(let e=r;e<l.length&&l[e]<=i;e++)_++;h=Math.max(h,1),_=Math.max(_,1)}let b=x[t],S=ee[e],ne=0;for(let e=0;e<h&&t+e<y.length;e++)ne+=y[t+e];let ie=0;for(let t=0;t<_&&e+t<te.length;t++)ie+=te[e+t];let ae=S-ie;v.push(pH(m,b,ae,ne,ie,h,_,a,o,g));let oe=v[v.length-1];p?.isMaster&&yH(oe,p,s,c,i),re.set(`${e}:${t}`,oe)}}return hH(re,t.length,n.length),bH(re,t,n,l,u,y,d,o),{pageNumber:r+1,options:a,cells:v,width:f,height:p,sheetName:i.name,sheetCols:n.map(e=>u[e]),columnOffsets:x,columnWidths:y,sheetRows:t.map(e=>l[e]),rowYPositions:ee,rowHeights:te,images:[],charts:[],scaleFactor:g}}function $V(e,t){let n=t.pageSize.width,r=t.pageSize.height;return t.orientation===`landscape`&&([n,r]=[r,n]),{pageNumber:1,options:t,cells:[],width:n,height:r,sheetName:e.name,sheetCols:[],columnOffsets:[],columnWidths:[],sheetRows:[],rowYPositions:[],rowHeights:[],images:[],charts:[],scaleFactor:1}}function eH(e){let t=e.replace(/\$/g,``).toUpperCase(),n=0,r=0;for(;r<t.length&&t.charCodeAt(r)>=65&&t.charCodeAt(r)<=90;)n=n*26+(t.charCodeAt(r)-64),r++;let i=parseInt(t.substring(r),10);return{c:n-1,r:i-1}}function tH(e){let t=e.indexOf(`:`);if(t===-1){let t=eH(e);return{s:t,e:{...t}}}return{s:eH(e.slice(0,t)),e:eH(e.slice(t+1))}}function nH(e){let t=e.pageSetup?.printArea;if(!t||typeof t!=`string`)return null;let n=t.split(`&&`)[0].trim();if(!n)return null;try{let e=tH(n);return{startRow:e.s.r+1,endRow:e.e.r+1,startCol:e.s.c+1,endCol:e.e.c+1}}catch{return null}}function rH(e,t){let n=e.bounds;if(!(n.top>0&&n.left>0))return{columnWidths:[],visibleCols:[]};let r=t?.startCol??n.left,i=t?.endCol??n.right,a=[],o=[];for(let t=r;t<=i;t++){let n=e.columns.get(t);if(n?.hidden)continue;let r=(n?.width??SH)*7+5,i=Math.max(r*HB,wH);a.push(i),o.push(t)}return{columnWidths:a,visibleCols:o}}function iH(e,t,n,r,i){let a=e.bounds;if(a.top<=0)return{rowHeights:[],visibleRows:[]};let o=n?.startRow??a.top,s=n?.endRow??a.bottom,c=[],l=[];for(let n=o;n<=s;n++){let a=e.rows.get(n);if(a?.hidden)continue;let o;o=a?.height&&a.customHeight?a.height:a?.height?Math.max(a.height,aH(a,t,e,r,i)):aH(a,t,e,r,i),c.push(o*t),l.push(n)}return{rowHeights:c,visibleRows:l}}function aH(e,t,n,r,i){let a=CH;if(e)for(let o of e.cells.values()){let e=oH(o),s=sH(o,e,t,n,r,i),c=e*VB,l=o.style?.border?.top?.style?zV(o.style.border.top.style)/2:0,u=o.style?.border?.bottom?.style?zV(o.style.border.bottom.style)/2:0,d=e+(s-1)*c+(2+l+u)*2;d>a&&(a=d)}return a}function oH(e){let t=e.style?.font?.size??11;if(e.type===RB.RichText){let n=e.value;if(n&&typeof n==`object`&&`richText`in n){let e=n.richText;for(let n of e){let e=n.font?.size??t;e>t&&(t=e)}}}return t}function sH(e,t,n,r,i,a){let o=typeof e.text==`string`?e.text:String(e.text??``),s=Math.max(1,(o.match(/\n/g)??[]).length+1);if(!e.style?.alignment?.wrapText||o.length===0)return s;let c=((r.columns.get(e.col)?.width??SH)*7+5)*HB*n,l=e.style.alignment.indent??0,u=e.style?.border?.left?.style?zV(e.style.border.left.style)/2:0,d=e.style?.border?.right?.style?zV(e.style.border.right.style)/2:0,f=3+u+(3+d)+l*10,p=Math.max(c-f,1);if(e.type===RB.RichText){let t=e.value;if(t&&typeof t==`object`&&`richText`in t){let r=t.richText;if(r.length>0){let t=cH(o,r,n,p,i,a,e.style?.font);return Math.max(s,t)}}}let m=t*n,h=LV(e.style.font,a.defaultFontFamily,a.defaultFontSize),g=aB(h.fontFamily,h.bold,h.italic),_=i.hasEmbeddedFont()?i.getEmbeddedResourceName():i.ensureFont(g),v=pV(o,e=>i.measureText(e,_,m),p);return Math.max(s,v.length)}function cH(e,t,n,r,i,a,o){let s=o?.name??a.defaultFontFamily,c=o?.size??a.defaultFontSize,l=[];for(let e=0;e<t.length;e++)for(let n=0;n<t[e].text.length;n++)l.push(e);let u=t.map(e=>{let t=LV(e.font?{name:e.font.name??o?.name,size:e.font.size??o?.size,bold:e.font.bold??!1,italic:e.font.italic??!1,strike:e.font.strike??!1,underline:e.font.underline??void 0,color:e.font.color??o?.color}:o,s,c),n=aB(t.fontFamily,t.bold,t.italic);return i.hasEmbeddedFont()?i.getEmbeddedResourceName():i.ensureFont(n)}),d=t.map(e=>LV(e.font?{name:e.font.name??o?.name,size:e.font.size??o?.size,bold:e.font.bold??!1,italic:e.font.italic??!1}:o,s,c).fontSize*n),f=(t,n)=>{let r=0,a=t,o=l[t]??0;for(let s=t+1;s<=n;s++){let t=s<n?l[s]??o:-1;if(t!==o){let n=e.slice(a,s);r+=i.measureText(n,u[o],d[o]),a=s,o=t}}return r},p=0,m=0,h=e.length;for(;m<=h;){let t=e.indexOf(`
461
- `,m);t===-1&&(t=h);let n=t>m&&e[t-1]===`\r`?t-1:t;if(n===m){if(p++,m=t+1,t===h)break;continue}let i=e.slice(m,n),a=[],o=[],s=!1;for(let e=0;e<i.length;e++){let t=i[e]===` `||i[e]===` `;!t&&!s?(a.push(e),s=!0):t&&s&&(o.push(e),s=!1)}s&&o.push(i.length);let c=m,l=m,u=0;for(let e=0;e<a.length;e++){let t=m+o[e];if(l===c){l=t;continue}f(c,t)<=r?l=t:(u++,c=m+a[e],l=t)}if((l>c||a.length===0)&&u++,p+=u,m=t+1,t===h)break}return Math.max(1,p)}function lH(e,t){let n=new Set,r=e.rowBreaks??[];if(r.length===0)return n;let i=new Map;for(let e=0;e<t.length;e++)i.set(t[e],e);for(let e of r){let t=i.get(e);t!==void 0&&n.add(t+1)}return n}function uH(e){let t=new Map,n=e.merges;if(!n||n.length===0)return t;for(let e of n){let n=tH(e),r=n.s.r+1,i=n.s.c+1,a=n.e.r+1,o=n.e.c+1,s=a-r+1,c=o-i+1;for(let e=r;e<=a;e++)for(let n=i;n<=o;n++)t.set(`${e}:${n}`,{isMaster:e===r&&n===i,rowSpan:s,colSpan:c})}return t}function dH(e,t,n,r){if(e.length===0)return[[]];let i=[],a=[],o=0,s=!0,c=0,l=()=>{c=0;for(let r=0;r<n&&r<e.length&&!(o+e[r]>t&&a.length>0);r++)a.push(r),o+=e[r],c++};for(let u=0;u<e.length;u++){let d=e[u],f=t;for(;;){let e=r.has(u)&&a.length>0;if((e||o+d>f)&&a.length>0){if(!e&&!s&&a.length>0&&a.length===c){a=[],o=0,c=0;continue}i.push(a),a=[],o=0,c=0,s=!1,l();continue}if(!s&&u<n&&a.includes(u))break;a.push(u),o+=d;break}}return a.length>0&&i.push(a),i.length>0?i:[[]]}function fH(e,t,n,r){if(e.length===0)return[[]];let i=new Set,a=n.colBreaks??[];if(a.length>0){let e=new Map;for(let t=0;t<r.length;t++)e.set(r[t],t);for(let t of a){let n=e.get(t);n!==void 0&&i.add(n+1)}}let o=[],s=[],c=0;for(let n=0;n<e.length;n++){let r=e[n];(i.has(n)&&s.length>0||c+r>t+.01)&&s.length>0&&(o.push(s),s=[],c=0),s.push(n),c+=r}return s.length>0&&o.push(s),o.length>0?o:[Array.from({length:e.length},(e,t)=>t)]}function pH(e,t,n,r,i,a,o,s,c,l){let u=e?.text??``,d=e?.style??{},f=LV(d.font,s.defaultFontFamily,s.defaultFontSize),p=f.fontSize*l;if(c.hasEmbeddedFont())c.trackText(u);else{let e=aB(f.fontFamily,f.bold,f.italic);c.ensureFont(e),c.trackText(u)}let m=xH(e,s,c,l,d.font),h=HV(d.border);return{text:u,rect:{x:t,y:n,width:r,height:i},fontFamily:f.fontFamily,fontSize:p,bold:f.bold,italic:f.italic,strike:f.strike,underline:f.underline,textColor:f.textColor,fillColor:RV(d.fill),horizontalAlign:JV(d.alignment,e?.type,e?.result),verticalAlign:WV(d.alignment),wrapText:d.alignment?.wrapText??!1,borders:h,borderInsets:{top:(h.top?.width??0)/2,right:(h.right?.width??0)/2,bottom:(h.bottom?.width??0)/2,left:(h.left?.width??0)/2},colSpan:a,rowSpan:o,hyperlink:e?.hyperlink??null,richText:m,indent:d.alignment?.indent??0,textRotation:d.alignment?.textRotation===255?`vertical`:d.alignment?.textRotation??0,textOverflowWidth:0}}function mH(e){let t=e.width*1e3;e.dashPattern.length===0&&(t+=100),e.isDouble&&(t+=50);let n=e.color.r+e.color.g+e.color.b;return t+=(3-n)*10,t}function hH(e,t,n){for(let r=0;r<t;r++)for(let t=0;t<n;t++){let n=e.get(`${r}:${t}`);if(n){if(n.borders.right){let i=e.get(`${r}:${t+1}`);if(i?.borders.left){let e=mH(n.borders.right);mH(i.borders.left)>e?(n.borderInsets.right=i.borders.left.width/2,n.borders.right=null):(i.borderInsets.left=n.borders.right.width/2,i.borders.left=null)}}if(n.borders.bottom){let i=e.get(`${r+1}:${t}`);if(i?.borders.top){let e=mH(n.borders.bottom);mH(i.borders.top)>e?(n.borderInsets.bottom=i.borders.top.width/2,n.borders.bottom=null):(i.borderInsets.top=n.borders.bottom.width/2,i.borders.top=null)}}}}}function gH(e,t,n){let r=e.tl,i=(r.nativeCol??r.col??0)+1,a=(r.nativeRow??r.row??0)+1,o=t.find(e=>e.sheetCols.includes(i)&&e.sheetRows.includes(a));if(!o)return null;let s=o.sheetCols.indexOf(i),c=o.sheetRows.indexOf(a),l=o.columnOffsets[s]??o.options.margins.left,u=o.rowYPositions[c]??o.height-o.options.margins.top-(o.options.showSheetNames?20:0),d=((r.nativeColOff??0)/12700||0)*n,f=((r.nativeRowOff??0)/12700||0)*n,p=l+d,m=u-f,h=100,g=100,_=e.extUnit??`px`;if(e.ext)_===`emu`?(h=e.ext.width/9525*n,g=e.ext.height/9525*n):(h=e.ext.width*.75*n,g=e.ext.height*.75*n);else if(e.br){let t=e.br,r=(t.nativeCol??t.col??0)+1,s=(t.nativeRow??t.row??0)+1,d=o.sheetCols.indexOf(r),f=o.sheetRows.indexOf(s),_,v;if(d>=0)_=o.columnOffsets[d];else{let e=o.sheetCols.length-1,t=o.sheetCols[e]??i,n=e>=0?o.columnOffsets[e]+(o.columnWidths[e]??0):l;if(r<=t)_=n;else{let e=o.columnWidths.length>0?o.columnWidths.reduce((e,t)=>e+t,0)/o.columnWidths.length:48;_=n+(r-t)*e}}if(f>=0)v=o.rowYPositions[f];else{let e=o.sheetRows.length-1,t=o.sheetRows[e]??a;if(s<=t){let t=0;for(let n=c;n<=e&&!(o.sheetRows[n]>=s);n++)t+=o.rowHeights[n]??0;v=u-t}else{let r=0;for(let t=c;t<=e;t++)r+=o.rowHeights[t]??0;let i=s-t-1;r+=15*n*i,v=u-r}}let y=((t.nativeColOff??0)/12700||0)*n,b=((t.nativeRowOff??0)/12700||0)*n,x=_+y,S=v-b;h=x-p,g=m-S}let v=o.width-o.options.margins.right,y=o.options.margins.bottom,b=Math.min(Math.abs(h),Math.max(0,v-p)),x=Math.abs(g),S=Math.max(0,m-y);return x>0&&S<x*.5?null:{page:o,x:p,y:m-x,width:b,height:x}}function _H(e,t,n){for(let r of e){let e=gH(r.range,t,n);e&&e.page.images.push({data:r.data,format:r.format,rect:{x:e.x,y:e.y,width:e.width,height:e.height}})}}function vH(e,t,n){for(let r of e){let e=gH(r.range,t,n);if(e){e.page.charts.push({rect:{x:e.x,y:e.y,width:e.width,height:e.height},drawVector:r.drawVector,raster:r.raster});continue}let i=r.range.tl,a=(i.nativeRow??i.row??0)+1,o;for(let e=0;e<t.length;e++){let n=t[e],r=n.sheetRows[n.sheetRows.length-1]??0;if(r>=a-1&&e+1<t.length){o=t[e+1];break}if(r>=a){o=n;break}}if(o||=t[t.length-1],o){let e=o.options.margins,t=o.options.showSheetNames?20:0,n=e.left,i=e.bottom,a=o.width-e.left-e.right,s=o.height-e.top-e.bottom-t;o.charts.push({rect:{x:n,y:i,width:a,height:s},drawVector:r.drawVector,raster:r.raster})}}}function yH(e,t,n,r,i){if(t.colSpan>1){let a=r+t.colSpan-1,o=i.rows.get(n)?.cells.get(a);if(o?.style?.border?.right){let t=HV({right:o.style.border.right});t.right&&(e.borders.right=t.right,e.borderInsets.right=t.right.width/2)}}if(t.rowSpan>1){let a=n+t.rowSpan-1,o=i.rows.get(a)?.cells.get(r);if(o?.style?.border?.bottom){let t=HV({bottom:o.style.border.bottom});t.bottom&&(e.borders.bottom=t.bottom,e.borderInsets.bottom=t.bottom.width/2)}}}function bH(e,t,n,r,i,a,o,s){for(let c=0;c<t.length;c++)for(let l=0;l<n.length;l++){let u=e.get(`${c}:${l}`);if(!u||u.wrapText||u.colSpan>1||!u.text&&!u.richText||typeof u.textRotation==`number`&&u.textRotation!==0||u.textRotation===`vertical`)continue;let d;if(u.richText){d=0;let e=s.hasEmbeddedFont();for(let t of u.richText){let n=e?s.getEmbeddedResourceName():s.ensureFont(aB(t.fontFamily,t.bold,t.italic));d+=s.measureText(t.text,n,t.fontSize)}}else{let e=s.hasEmbeddedFont()?s.getEmbeddedResourceName():s.ensureFont(aB(u.fontFamily,u.bold,u.italic));d=s.measureText(u.text,e,u.fontSize)}let f=u.rect.width-(3+u.borderInsets.left)-(3+u.borderInsets.right);if(d<=f)continue;let p=d-f,m=0;for(let s=l+1;s<n.length;s++){let l=r[t[c]],u=i[n[s]];if(o.has(`${l}:${u}`))break;let d=e.get(`${c}:${s}`);if(d?.text||d?.richText||(m+=a[s],m>=p))break}if(m>0){u.textOverflowWidth=Math.min(p,m);let t=0,r=u.textOverflowWidth;u.borders.right=null;for(let i=l+1;i<n.length;i++){let n=e.get(`${c}:${i}`);if(!n||(n.borders.left=null,t+=a[i],t>=r))break;n.borders.right=null}}}}function xH(e,t,n,r,i){if(!e||e.type!==RB.RichText)return null;let a=e.value;if(!a||typeof a!=`object`||!(`richText`in a))return null;let o=a.richText;if(o.length===0)return null;let s=i?.name??t.defaultFontFamily,c=i?.size??t.defaultFontSize;return o.map(e=>{let t=LV(e.font?{name:e.font.name??i?.name,size:e.font.size??i?.size,bold:e.font.bold??!1,italic:e.font.italic??!1,strike:e.font.strike??!1,underline:e.font.underline??void 0,color:e.font.color??i?.color}:i,s,c);if(n.hasEmbeddedFont())n.trackText(e.text);else{let e=aB(t.fontFamily,t.bold,t.italic);n.ensureFont(e)}return{text:e.text,fontFamily:t.fontFamily,fontSize:t.fontSize*r,bold:t.bold,italic:t.italic,strike:t.strike,underline:t.underline,textColor:t.textColor}})}var SH,CH,wH,TH=t((()=>{If(),uB(),BB(),UB(),OV(),qV(),SH=8.43,CH=15,wH=3}));async function EH(e,t){let n=DH(e,t);for(let e of n.sheets)await OH(n,e,t);return kH(n,e,t)}function DH(e,t){let n=IH(e,t?.sheets);if(n.length===0)throw new QI(`No sheets to export. The workbook is empty or no sheets matched.`);let r=new lB,i=new aL,a=t?.font??null;if(!a){let e=HH(n);if(e.size>0)for(let t of fB())try{let n=_B(t);if([...e].every(e=>n.cmap.has(e))){a=t;break}}catch{}}if(a)try{let e=_B(a);r.registerEmbeddedFont(e)}catch(e){if(t?.font)throw new $I(`Failed to parse TrueType font`,{cause:e})}return{sheets:n,fontManager:r,writer:i,allPages:[]}}async function OH(e,t,n){try{let r=LH(n,t),i=LB(t)?XV(t,r):await YV(t,r,e.fontManager);e.allPages.push(...i)}catch(e){throw new $I(`Failed to layout sheet "${t.name}"`,{cause:e})}}async function kH(e,t,n){let{allPages:r,fontManager:i,writer:a,sheets:o}=e,s=LH(n,o[0]);AH(r,s,o),jH(r),MH(r,i);let c=s.watermark;if(c&&c.type===`text`){let e=c.fontFamily??`Helvetica`,t=c.bold??!1,n=c.italic??!1;i.hasEmbeddedFont()?i.trackText(c.text):i.ensureFont(aB(e,t,n))}let{pageObjNums:l,sheetFirstPage:u,pagesTreeObjNum:d}=await NH(r,i,a,i.writeFontResources(a),c);return FH(a,l,d,u,s,t,n)}function AH(e,t,n){e.length===0&&e.push({pageNumber:1,options:t,cells:[],width:t.pageSize.width,height:t.pageSize.height,sheetName:n[0]?.name??`Sheet1`,sheetCols:[],columnOffsets:[],columnWidths:[],sheetRows:[],rowYPositions:[],rowHeights:[],images:[],charts:[],scaleFactor:1})}function jH(e){for(let t=0;t<e.length;t++)e[t].pageNumber=t+1}function MH(e,t){if(t.hasEmbeddedFont())for(let n of e)n.options.showSheetNames&&t.trackText(n.sheetName);for(let n of e)n.options.showPageNumbers&&t.ensureFont(aB(n.options.defaultFontFamily,!1,!1));if(!t.hasEmbeddedFont())for(let n of e)n.options.showSheetNames&&t.ensureFont(aB(n.options.defaultFontFamily,!0,!1))}async function NH(e,t,n,r,i){let a=[],o=n.allocObject(),s=new Map,c=e.length;for(let l=0;l<e.length;l++)PH(e[l],t,n,r,c,a,o,s,i),l<e.length-1&&await Ef();return{pageObjNums:a,sheetFirstPage:s,pagesTreeObjNum:o}}function PH(e,t,n,r,i,a,o,s,c){try{let{stream:l,alphaValues:u}=GB(e,e.options,t,i),d=new Map;if(e.images.length>0)for(let t=0;t<e.images.length;t++){let r=e.images[t],i=`Im${t+1}`,a=MI(n,r.data,r.format);d.set(i,a),l.drawImage(i,r.rect.x,r.rect.y,r.rect.width,r.rect.height)}if(e.charts.length>0){let r=e.images.length;for(let i of e.charts){if(i.drawVector){let e=kV(l,t,u),n=WH(i.rect);i.drawVector(e,n);continue}if(i.raster){let e=`Im${++r}`,t=MI(n,i.raster.data,i.raster.format);d.set(e,t),l.drawImage(e,i.rect.x,i.rect.y,i.rect.width,i.rect.height)}}}let f;if(c&&VH(c,e)){let r=new JI,i=_V(r,e,c,t);for(let e of i.alphaValues)u.add(e);for(let e of i.imageXObjects){let t=MI(n,e.data,e.format);d.set(e.name,t)}f=n.allocObject(),n.addStreamObject(f,new bI,r)}let p=n.allocObject();n.addStreamObject(p,new bI,l);let m;m=f?(c?.placement??`under`)===`over`?`[${gI(p)} ${gI(f)}]`:`[${gI(f)} ${gI(p)}]`:gI(p);let h=n.allocObject(),g=t.buildFontDictString(r),_=new bI().set(`Font`,g);if(d.size>0){let e=[`<<`];for(let[t,n]of d)e.push(`/${t} ${gI(n)}`);e.push(`>>`),_.set(`XObject`,e.join(`
462
- `))}if(u.size>0){let e=[`<<`];for(let t of u){let r=n.allocObject(),i=new bI().set(`Type`,`/ExtGState`).set(`ca`,L(t)).set(`CA`,L(t));n.addObject(r,i),e.push(`/${lV(t)} ${gI(r)}`)}e.push(`>>`),_.set(`ExtGState`,e.join(`
463
- `))}n.addObject(h,_);let v=[];for(let t of e.cells)if(t.hyperlink){let e=n.allocObject(),r=`[${L(t.rect.x)} ${L(t.rect.y)} ${L(t.rect.x+t.rect.width)} ${L(t.rect.y+t.rect.height)}]`,i=new bI().set(`Type`,`/Annot`).set(`Subtype`,`/Link`).set(`Rect`,r).set(`Border`,`[0 0 0]`).set(`A`,`<< /Type /Action /S /URI /URI (${t.hyperlink.replace(/[()\\]/g,`\\$&`)}) >>`);n.addObject(e,i),v.push(e)}let y=n.addPage({parentRef:o,width:e.width,height:e.height,contentsRef:m,resourcesRef:h,annotRefs:v.length>0?v:void 0});a.push(y),s.has(e.sheetName)||s.set(e.sheetName,a.length-1)}catch(t){throw new $I(`Failed to render page ${e.pageNumber} of "${e.sheetName}"`,{cause:t})}}function FH(e,t,n,r,i,a,o){let s=`[`+t.map(e=>gI(e)).join(` `)+`]`,c=new bI().set(`Type`,`/Pages`).set(`Kids`,s).set(`Count`,String(t.length));e.addObject(n,c);let l;if(r.size>1&&(l=BH(e,r,t)),e.addCatalog(n,l),e.addInfoDict({title:i.title||a.title||void 0,author:i.author||a.creator||void 0,subject:i.subject||a.subject||void 0,creator:i.creator}),o?.encryption){let t=RI(o.encryption);e.setEncryption(t)}return e.build()}function IH(e,t){let n=e.sheets;if(!t||t.length===0)return n.filter(e=>e.state!==`hidden`&&e.state!==`veryHidden`);let r=[];for(let e of t)if(typeof e==`string`){let t=n.find(t=>t.name.toLowerCase()===e.toLowerCase());t&&r.push(t)}else if(typeof e==`number`){let t=n[e-1];t&&r.push(t)}return r}function LH(e,t){let n=t?.pageSetup,r=RH(e?.pageSize,n?.paperSize),i=t&&LB(t)?t.orientation:void 0,a=e?.orientation??i??(n?.orientation===`landscape`?`landscape`:`portrait`),o=zH(e?.margins,n?.margins),s=MV(e?.gridLineColor??`FFD0D0D0`)??{r:.816,g:.816,b:.816},c=e?.repeatRows??!1;if(c===!1&&t&&!LB(t)&&n?.printTitlesRow){let e=n.printTitlesRow.match(/^(\d+)(?::(\d+))?$/);e&&(c=parseInt(e[2]??e[1],10))}return{pageSize:r,orientation:a,margins:o,fitToPage:e?.fitToPage===void 0?!0:e.fitToPage,scale:Math.max(.1,Math.min(3,e?.scale??(e?.fitToPage===void 0||e.fitToPage?1:n?.scale?n.scale/100:1))),showGridLines:e?.showGridLines??n?.showGridLines??!1,gridLineColor:s,repeatRows:c,defaultFontFamily:e?.defaultFontFamily??`Helvetica`,defaultFontSize:e?.defaultFontSize??11,showSheetNames:e?.showSheetNames??!1,showPageNumbers:e?.showPageNumbers??!1,title:e?.title??``,author:e?.author??``,subject:e?.subject??``,creator:e?.creator??`excelts`,watermark:e?.watermark}}function RH(e,t){return e?typeof e==`string`?zB[e]??zB.A4:e:t===void 0?zB.A4:GH[t]??zB.A4}function zH(e,t){let n=t?{top:t.top*72,right:t.right*72,bottom:t.bottom*72,left:t.left*72}:{top:72,right:72,bottom:72,left:72};return e?{top:e.top??n.top,right:e.right??n.right,bottom:e.bottom??n.bottom,left:e.left??n.left}:n}function BH(e,t,n){let r=e.allocObject(),i=Array.from(t.entries()),a=[];for(let t=0;t<i.length;t++)a.push(e.allocObject());for(let t=0;t<i.length;t++){let[o,s]=i[t],c=n[s],l=new bI().set(`Title`,fI(o)).set(`Parent`,gI(r)).set(`Dest`,`[${gI(c)} /Fit]`);t>0&&l.set(`Prev`,gI(a[t-1])),t<i.length-1&&l.set(`Next`,gI(a[t+1])),e.addObject(a[t],l)}let o=new bI().set(`Type`,`/Outlines`).set(`First`,gI(a[0])).set(`Last`,gI(a[a.length-1])).set(`Count`,String(i.length));return e.addObject(r,o),r}function VH(e,t){if(e.pages&&e.pages.length>0&&!e.pages.includes(t.pageNumber))return!1;if(e.sheets&&e.sheets.length>0){let n=t.sheetName.toLowerCase();if(!e.sheets.some(e=>e.toLowerCase()===n))return!1}return!0}function HH(e){let t=new Set;for(let n of e)if(!LB(n)){for(let e of n.rows.values())for(let n of e.cells.values())if(UH(n.text,t),n.type===RB.RichText&&n.value&&typeof n.value==`object`&&`richText`in n.value){let e=n.value.richText;for(let n of e)UH(n.text,t)}}return t}function UH(e,t){if(e)for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++,KI(r)||t.add(r)}}function WH(e){let{x:t,y:n,width:r,height:i}=e;if(r<=0||i<=0)return e;let a=r/i,o=2.5,s=16/9;if(a>=1&&a<=o)return e;let c=r,l=i;a>o?c=i*s:l=r/s;let u=(r-c)/2,d=(i-l)/2;return{x:t+u,y:n+d,width:c,height:l}}var GH,KH=t((()=>{If(),FI(),HI(),xI(),XI(),oL(),nL(),uB(),gB(),IB(),BB(),jV(),TH(),OV(),qV(),GH={1:zB.LETTER,5:zB.LEGAL,9:zB.A4,8:zB.A3,11:zB.A5,17:zB.TABLOID}}));KH(),BB();async function qH(e,t){return EH(JH(e),t)}function JH(e){return Array.isArray(e)?{sheets:[YH({data:e})]}:`sheets`in e?{title:e.title,creator:e.author,sheets:e.sheets.map((e,t)=>YH(e,t))}:{sheets:[YH(e)]}}function YH(e,t){let n=e.data,r=e.name??`Sheet${(t??0)+1}`,i=e.columns?.map(e=>typeof e==`number`?void 0:e.header),a=i?.some(e=>e!==void 0)??!1,o=0;for(let e of n)e.length>o&&(o=e.length);let s=Math.max(o,e.columns?.length??0),c=n.length+ +!!a;if(e.images)for(let t of e.images){let e=t.col+1,n=t.row+1;e>s&&(s=e),n>c&&(c=n)}if(s===0)return{name:r,bounds:{top:0,left:0,bottom:0,right:0},columns:new Map,rows:new Map};let l=new Map;if(e.columns)for(let t=0;t<e.columns.length;t++){let n=e.columns[t],r=typeof n==`number`?n:n.width;l.set(t+1,{width:r??12})}for(let e=1;e<=s;e++)l.has(e)||l.set(e,{width:12});let u=new Map,d=1;if(a&&i){let e=new Map;for(let t=0;t<i.length;t++){let n=i[t];n!==void 0&&e.set(t+1,{type:RB.String,value:n,text:n,col:t+1,style:{font:{bold:!0}}})}u.set(1,{cells:e}),d=2}for(let e=0;e<n.length;e++){let t=e+d,r=n[e],i=new Map;for(let e=0;e<r.length;e++){let t=XH(r[e],e+1);t&&i.set(e+1,t)}u.set(t,{cells:i})}let f;if(e.images&&e.images.length>0){f=e.images.map(e=>({data:e.data,format:e.format,range:{tl:{col:e.col,row:e.row},ext:{width:e.width,height:e.height}}}));for(let e=1;e<=s;e++)l.has(e)||l.set(e,{width:12});for(let e=1;e<=c;e++)u.has(e)||u.set(e,{cells:new Map})}return{name:r,bounds:{top:1,left:1,bottom:c,right:s},columns:l,rows:u,images:f}}function XH(e,t){if(e==null)return null;if(typeof e==`object`&&!(e instanceof Date)&&`value`in e){let n=e,r=XH(n.value,t);if(!r)return null;let i={};return(n.bold||n.italic||n.fontSize||n.fontColor)&&(i.font={bold:n.bold,italic:n.italic,size:n.fontSize,color:n.fontColor?{argb:n.fontColor}:void 0}),n.fillColor&&(i.fill={type:`pattern`,pattern:`solid`,fgColor:{argb:n.fillColor}}),n.align&&(i.alignment={horizontal:n.align}),r.style=i,r}return typeof e==`string`?{type:RB.String,value:e,text:e,col:t}:typeof e==`number`?{type:RB.Number,value:e,text:String(e),col:t}:typeof e==`boolean`?{type:RB.Boolean,value:e,text:e?`TRUE`:`FALSE`,col:t}:e instanceof Date?{type:RB.Date,value:e,text:e.toLocaleDateString(),col:t}:null}async function ZH(e,t){return GP(e),EH(await QH(e),t)}async function QH(e){let t=await Promise.all(e.worksheets.map(t=>$H(t,e))),n=await Promise.all(e.chartsheets.map(e=>SU(e))),r=[...t,...n];return r.sort((e,t)=>(e.orderNo??1/0)-(t.orderNo??1/0)),{title:e.title||void 0,creator:e.creator||void 0,subject:e.subject||void 0,sheets:r}}async function $H(e,t){let n=e.dimensions,r=n&&n.model.top>0&&n.model.left>0,i=r?{top:n.model.top,left:n.model.left,bottom:n.model.bottom,right:n.model.right}:{top:0,left:0,bottom:0,right:0};if(r)for(let t=i.top;t<=i.bottom;t++){let n=e.findRow(t);n&&n.eachCell({includeEmpty:!0},e=>{e.col>i.right&&(e.style&&(e.style.border&&(e.style.border.top||e.style.border.right||e.style.border.bottom||e.style.border.left)||e.style.fill||e.style.font)||e.type!==0&&e.type!==1)&&(i.right=e.col)})}let a=new Map;if(r)for(let t=i.left;t<=i.right;t++){let n=e.getColumn(t);a.set(t,{hidden:n.hidden||void 0,width:n.width??void 0})}let o=new Map;if(r)for(let t=i.top;t<=i.bottom;t++){let n=e.findRow(t);if(!n)continue;let r=new Map;n.eachCell({includeEmpty:!0},e=>{let t=e.type!==0&&e.type!==1,n=e.style&&(e.style.border&&(e.style.border.top||e.style.border.right||e.style.border.bottom||e.style.border.left)||e.style.fill||e.style.font);(t||n)&&r.set(e.col,eU(e))}),o.set(t,{hidden:n.hidden||void 0,height:n.height??void 0,customHeight:n.customHeight||void 0,cells:r})}let s=e.hasMerges&&e.model.mergeCells?[...e.model.mergeCells]:void 0,c=e.pageSetup,l=c?{orientation:c.orientation,paperSize:c.paperSize,margins:c.margins?{left:c.margins.left,right:c.margins.right,top:c.margins.top,bottom:c.margins.bottom}:void 0,scale:c.scale,printTitlesRow:c.printTitlesRow,showGridLines:c.showGridLines,printArea:c.printArea}:void 0,u=e.rowBreaks?.map(e=>e.id),d=e.colBreaks?.map(e=>e.id),f=fU(e,t),p=await pU(e),m=mU(e),h=p?m?[...p,...m]:p:m||void 0,g=[];if(f)for(let e of f)g.push(e.range);if(h)for(let e of h)g.push(e.range);if(g.length>0){for(let e of g){let t=e.tl,n=(t.nativeCol??t.col??0)+1,r=(t.nativeRow??t.row??0)+1;if(i.top===0&&i.left===0&&(i.top=1,i.left=1),n>i.right&&(i.right=n),r>i.bottom&&(i.bottom=r),e.br){let t=e.br,n=(t.nativeCol??t.col??0)+1,r=(t.nativeRow??t.row??0)+1;n>i.right&&(i.right=n),r>i.bottom&&(i.bottom=r)}}for(let t=i.left;t<=i.right;t++)if(!a.has(t)){let n=e.getColumn(t);a.set(t,{hidden:n.hidden||void 0,width:n.width??void 0})}for(let e=i.top;e<=i.bottom;e++)o.has(e)||o.set(e,{cells:new Map})}return{kind:`worksheet`,name:e.name,state:e.state??`visible`,orderNo:e.orderNo,bounds:i,columns:a,rows:o,merges:s,pageSetup:l,rowBreaks:u,colBreaks:d,images:f,charts:h}}function eU(e){let t=tU(e.type),n=nU(e),r=aU(e.style);return{type:t,value:iU(e),text:n,style:r,hyperlink:e.hyperlink||void 0,result:e.result??void 0,col:e.col}}function tU(e){switch(e){case 0:return RB.Empty;case 1:return RB.Merge;case 2:return RB.Number;case 3:case 7:return RB.String;case 4:return RB.Date;case 5:return RB.Hyperlink;case 6:return RB.Formula;case 8:return RB.RichText;case 9:return RB.Boolean;case 10:return RB.Error;default:return RB.String}}function nU(e){if(!e)return``;switch(e.type){case 0:case 1:return``;case 8:case 5:return e.text??``;case 10:return e.value?.error??e.text??``;case 6:{let t=e.result;return t==null?e.text??``:typeof t==`object`&&`error`in t?t.error:rU(t,e.style?.numFmt)}default:{let t=e.value;return t==null?``:rU(t,e.style?.numFmt)}}}function rU(e,t){let n=typeof t==`string`?t:t?.formatCode;if(n&&(typeof e==`number`||e instanceof Date||typeof e==`boolean`))try{return dp(e,n)}catch{}return e instanceof Date?e.toLocaleDateString():String(e)}function iU(e){if(e.type===8){let t=e.value;if(t?.richText)return{richText:t.richText.map(e=>({text:e.text,font:e.font?oU(e.font):void 0}))}}return e.value}function aU(e){if(e)return{font:e.font?oU(e.font):void 0,numFmt:e.numFmt,fill:e.fill?cU(e.fill):void 0,border:e.border?uU(e.border):void 0,alignment:e.alignment?dU(e.alignment):void 0}}function oU(e){return{name:e.name,size:e.size,bold:e.bold,italic:e.italic,strike:e.strike,underline:e.underline,color:e.color?sU(e.color):void 0}}function sU(e){return{argb:e.argb,theme:e.theme,tint:e.tint,indexed:e.indexed}}function cU(e){let t={type:e.type??`pattern`,pattern:e.pattern,fgColor:e.fgColor?sU(e.fgColor):void 0};return e.stops&&(t.stops=e.stops.map(e=>({color:sU(e.color)}))),t}function lU(e){return{style:e.style,color:e.color?sU(e.color):void 0}}function uU(e){return{top:e.top?lU(e.top):void 0,right:e.right?lU(e.right):void 0,bottom:e.bottom?lU(e.bottom):void 0,left:e.left?lU(e.left):void 0}}function dU(e){return{horizontal:e.horizontal,vertical:e.vertical,wrapText:e.wrapText,indent:e.indent,textRotation:e.textRotation}}function fU(e,t){let n=e.getImages?.();if(!n||!Array.isArray(n)||n.length===0)return;let r=[];for(let e of n){if(!e.range?.tl)continue;let n=e.imageId,i=t.getImage?.(Number(n));if(!i)continue;let a;if(i.buffer instanceof Uint8Array?a=i.buffer:i.base64&&(a=cf(i.base64)),!a||a.length===0)continue;let o=i.extension;o!==`jpeg`&&o!==`png`||r.push({data:a,format:o,range:{tl:{col:e.range.tl.col??0,row:e.range.tl.row??0,nativeCol:e.range.tl.nativeCol,nativeRow:e.range.tl.nativeRow,nativeColOff:e.range.tl.nativeColOff,nativeRowOff:e.range.tl.nativeRowOff},br:e.range.br?{col:e.range.br.col??0,row:e.range.br.row??0,nativeCol:e.range.br.nativeCol,nativeRow:e.range.br.nativeRow,nativeColOff:e.range.br.nativeColOff,nativeRowOff:e.range.br.nativeRowOff}:void 0,ext:e.range.ext?{width:e.range.ext.width,height:e.range.ext.height}:void 0,extUnit:e.range.ext?`px`:void 0}})}return r.length>0?r:void 0}async function pU(e){let t=e.getCharts?.();if(!t||!Array.isArray(t)||t.length===0)return;let n=[];for(let r of t){let t=yU(r);if(!t)continue;let i=r.chartModel,a=r.chartExModel;if(i){n.push({range:t,drawVector:(e,t)=>{T().drawChartPdf(e,i,{x:t.x,y:t.y,width:t.width,height:t.height})}});continue}if(a){if(bU(a,e),T().canRenderChartExAsVectorPdf(a))n.push({range:t,drawVector:(e,t)=>{T().drawChartExPdf(e,a,{x:t.x,y:t.y,width:t.width,height:t.height})}});else{let{widthPx:e,heightPx:r}=xU(t),i=await T().renderChartExPng(a,{width:e,height:r,scale:2});n.push({range:t,raster:{data:i,format:`png`}})}continue}}return n.length>0?n:void 0}function mU(e){let t=e.getSparklineGroups?.();if(!t||t.length===0)return;let n=[];for(let r of t)for(let t of r.sparklines){let{dataRef:i,cellRef:a}=t;if(!a)continue;let o=a.match(/^([A-Z]+)(\d+)$/i);if(!o)continue;let s=hU(o[1]),c=parseInt(o[2],10),l=gU(e,i);if(l.length===0)continue;let u={tl:{col:s-1,row:c-1,nativeCol:s-1,nativeRow:c-1},br:{col:s,row:c,nativeCol:s,nativeRow:c}};n.push({range:u,drawVector:(e,t)=>{_U(e,r,l,t)}})}return n.length>0?n:void 0}function hU(e){let t=0;for(let n=0;n<e.length;n++)t=t*26+(e.charCodeAt(n)&31);return t}function gU(e,t){if(!t)return[];let n=t.lastIndexOf(`!`),r=n>=0?t.slice(n+1):t,i=e;if(n>=0){let r=t.slice(0,n);r.startsWith(`'`)&&r.endsWith(`'`)&&(r=r.slice(1,-1).replace(/''/g,`'`));let a=e.workbook?.getWorksheet?.(r);a&&(i=a)}let a=r.replace(/\$/g,``).split(`:`);if(a.length!==2)return[];let o=a[0].match(/^([A-Z]+)(\d+)$/i),s=a[1].match(/^([A-Z]+)(\d+)$/i);if(!o||!s)return[];let c=hU(o[1]),l=parseInt(o[2],10),u=hU(s[1]),d=parseInt(s[2],10),f=[];if(l===d)for(let e=c;e<=u;e++){let t=i.getCell(l,e),n=typeof t.value==`number`?t.value:t.result??NaN;f.push(typeof n==`number`?n:NaN)}else for(let e=l;e<=d;e++){let t=i.getCell(e,c),n=typeof t.value==`number`?t.value:t.result??NaN;f.push(typeof n==`number`?n:NaN)}return f}function _U(e,t,n,r){let{x:i,y:a,width:o,height:s}=r;if(o<=0||s<=0||n.length===0)return;let c=i+2,l=a+2,u=o-4,d=s-4;if(u<=0||d<=0)return;let f=n.filter(e=>Number.isFinite(e));if(f.length===0)return;let p=Math.min(...f),m=Math.max(...f);t.minAxisType===`custom`&&t.manualMin!==void 0&&(p=t.manualMin),t.maxAxisType===`custom`&&t.manualMax!==void 0&&(m=t.manualMax),p===m&&(--p,m+=1);let h=m-p,g=t.rightToLeft===!0,_=n.length,v=e=>{let t=_<=1?.5:e/(_-1);return c+(g?1-t:t)*u},y=e=>Number.isFinite(e)?l+(e-p)/h*d:l,b=vU(t.colorSeries)??{r:.22,g:.38,b:.57},x=vU(t.colorNegative)??{r:.82,g:0,b:0};if(t.type===`column`||t.type===`stacked`){let r=Math.max(1,u/Math.max(_,1)*.8);for(let i=0;i<_;i++){let a=n[i];if(!Number.isFinite(a)||a===0)continue;let o=v(i)-r/2,s=a<0&&t.negative===!0?x:b,c,u;if(t.type===`stacked`){let e=d/2;a>=0?(c=l+e,u=e):(c=l,u=e)}else{let e=p<=0&&m>=0?y(0):l,t=y(a);c=Math.min(e,t),u=Math.abs(t-e)}e.drawRect({x:o,y:c,width:r,height:Math.max(u,.5),fill:s})}}else{let r=[];for(let e=0;e<_;e++)Number.isFinite(n[e])&&r.push({px:v(e),py:y(n[e])});if(r.length>=2)for(let n=1;n<r.length;n++)e.drawLine({x1:r[n-1].px,y1:r[n-1].py,x2:r[n].px,y2:r[n].py,color:b,lineWidth:t.lineWeight?t.lineWeight*.75:.75});if(t.markers&&e.drawCircle){let n=vU(t.colorMarkers)??b;for(let t of r)e.drawCircle({cx:t.px,cy:t.py,r:1.2,fill:n})}}}function vU(e){if(e&&e.rgb){let t=e.rgb.replace(/^#/,``).replace(/^FF/i,``),n=parseInt(t.slice(0,2),16)/255,r=parseInt(t.slice(2,4),16)/255,i=parseInt(t.slice(4,6),16)/255;if(Number.isFinite(n)&&Number.isFinite(r)&&Number.isFinite(i))return{r:n,g:r,b:i}}}function yU(e){let t=e.range;if(!t?.tl)return;let n=t.tl,r=t.br;return{tl:{col:n.col??0,row:n.row??0,nativeCol:n.nativeCol,nativeRow:n.nativeRow,nativeColOff:n.nativeColOff,nativeRowOff:n.nativeRowOff},br:r?{col:r.col??0,row:r.row??0,nativeCol:r.nativeCol,nativeRow:r.nativeRow,nativeColOff:r.nativeColOff,nativeRowOff:r.nativeRowOff}:void 0,ext:t.ext?{width:t.ext.cx,height:t.ext.cy}:void 0,extUnit:t.ext?`emu`:void 0}}function bU(e,t){let n=e.chartSpace?.chartData?.data;if(!n||!n.some(e=>{let t=e.strDim&&(!e.strDim.levels||e.strDim.levels.length===0),n=e.numDim&&(!e.numDim.levels||e.numDim.levels.length===0);return t||n}))return;let r=[];for(let e of n){let t=e.strDim;t?._skipCache&&(r.push(t),delete t._skipCache);let n=e.numDim;n?._skipCache&&(r.push(n),delete n._skipCache)}try{T().fillChartExCaches(e,t.workbook,t)}catch{}for(let e of r)e._skipCache=!0}function xU(e){if(e.ext&&e.extUnit===`emu`){let t=e.ext.width/9525,n=e.ext.height/9525;return{widthPx:Math.max(120,Math.round(96/72*t)),heightPx:Math.max(80,Math.round(96/72*n))}}return{widthPx:640,heightPx:420}}async function SU(e){let t=e.chartModel,n=e.chartExModel,r={};if(t){let e=t;r={drawVector:(t,n)=>{T().drawChartPdf(t,e,{x:n.x,y:n.y,width:n.width,height:n.height})}}}else if(n)if(T().canRenderChartExAsVectorPdf(n)){let e=n;r={drawVector:(t,n)=>{T().drawChartExPdf(t,e,{x:n.x,y:n.y,width:n.width,height:n.height})}}}else r={raster:{data:await T().renderChartExPng(n,{width:CU.width,height:CU.height,scale:2}),format:`png`}};let i=e.pageSetup?.orientation,a=i===`portrait`||i===`landscape`?i:`landscape`,o=e.pageSetup,s=o?{orientation:o.orientation,paperSize:o.paperSize,showGridLines:!1}:void 0;return{kind:`chartsheet`,name:e.name,state:e.state,orderNo:e.model.orderNo,orientation:a,chart:r,pageSetup:s}}var CU,wU=t((()=>{Bi(),bp(),qP(),If(),KH(),BB(),CU={width:1280,height:720}}));return uE(),Wp(),Bd(),Hp(),pa(),Pw(),Fy(),oT(),Hd(),Ly(),Mw(),pu(),Sw(),G_(),WS(),Kp(),Li(),Aa(),Wi(),bp(),Ba(),If(),sf(),Tt(),u(),lr(),wU(),BB(),nL(),la(),dF(),e.Anchor=Py,e.BaseError=c,e.Cell=O,e.Chartsheet=Ui,e.Column=zd,e.ColumnOutOfBoundsError=Yi,e.CsvFormatterStream=Fi,e.CsvParserStream=ji,e.DataValidations=Iy,e.DateFormatter=wt,e.DateParser=Ct,e.DefinedNames=ka,e.DocumentType=lu,e.Enums=fu,e.ErrorValue=du,e.ExcelDownloadError=ra,e.ExcelError=Ki,e.ExcelFileError=ta,e.ExcelNotSupportedError=ea,e.ExcelStreamStateError=na,e.FormCheckbox=jw,e.FormulaType=su,e.Image=Nw,e.ImageError=sa,e.InvalidAddressError=Ji,e.InvalidValueTypeError=Qi,e.MarkdownError=lF,e.MarkdownParseError=uF,e.MaxItemsExceededError=ca,e.MergeConflictError=Zi,e.Note=Vd,e.PageSizes=zB,e.PaperSize=$F,e.PdfError=QI,e.PdfFontError=eL,e.PdfRenderError=$I,e.PdfStructureError=tL,e.PivotTableError=ia,e.Range=fa,e.ReadingOrder=uu,e.RelationshipType=cu,e.Row=Up,e.RowOutOfBoundsError=Xi,e.Table=aT,e.TableError=oa,e.ValueType=ou,e.Workbook=QF,e.WorkbookReader=W_,e.WorkbookWriter=xw,e.Worksheet=lE,e.WorksheetNameError=qi,e.WorksheetReader=Gp,e.WorksheetWriter=US,e.XmlParseError=$i,e.base64ToUint8Array=cf,e.concatUint8Arrays=Zn,e.createCsvFormatterStream=Pi,e.createCsvParserStream=Ai,e.createTextWatermarkImage=eI,e.dateToExcel=lf,e.decodeCell=Fa,e.decodeCol=ja,e.decodeRange=La,e.decodeRow=Na,e.encodeCell=Ia,e.encodeCol=Ma,e.encodeRange=Ra,e.encodeRow=Pa,e.errorToJSON=a,e.excelToDate=uf,e.excelToPdf=ZH,e.formatCellValue=dp,e.getCellDisplayText=fp,e.getErrorChain=o,e.getRootCause=s,e.getSupportedFormats=ct,e.isDateDisplayFormat=up,e.isExcelError=Gi,e.isPdfError=ZI,e.pdf=qH,e.stringToUint8Array=Yn,e.toError=i,e.toUint8Array=Qn,e.uint8ArrayToBase64=wf,e.uint8ArrayToString=Xn,e.validateXmlName=Yd,e.xmlDecode=Kd,e.xmlEncode=qd,e.xmlEncodeAttr=Jd,e})({});
455
+ `;let _=e.encode(g);return t.push(_),Zn(t)}}}));function uL(e,t,n,r){let{oldToNewGid:i,unicodeToCid:a,cidWidths:o,usedGlyphIds:s}=dL(t,n),c=fL(t,s,i),l=Sv(c,{level:6}),u=e.allocObject(),d=new CI().set(`Length`,L(l.length)).set(`Length1`,L(c.length)).set(`Filter`,`/FlateDecode`);e.addStreamObject(u,d,l);let f=1e3/t.unitsPerEm,p=e.allocObject(),m=new CI().set(`Type`,`/FontDescriptor`).set(`FontName`,_I(t.postScriptName+`-Subset`)).set(`Flags`,L(t.flags)).set(`FontBBox`,vI(t.bbox.map(e=>L(Math.round(e*f))))).set(`ItalicAngle`,L(t.italicAngle)).set(`Ascent`,L(Math.round(t.ascent*f))).set(`Descent`,L(Math.round(t.descent*f))).set(`CapHeight`,L(Math.round(t.capHeight*f))).set(`StemV`,L(t.stemV)).set(`FontFile2`,yI(u));e.addObject(p,m);let h=_L(o,t.unitsPerEm),g=e.allocObject(),_=new CI().set(`Type`,`/Font`).set(`Subtype`,`/CIDFontType2`).set(`BaseFont`,_I(t.postScriptName+`-Subset`)).set(`CIDSystemInfo`,`<< /Registry (Adobe) /Ordering (Identity) /Supplement 0 >>`).set(`FontDescriptor`,yI(p)).set(`DW`,L(1e3)).set(`W`,h).set(`CIDToGIDMap`,`/Identity`);e.addObject(g,_);let v=Sv(gL(a),{level:6}),y=e.allocObject(),b=new CI().set(`Length`,L(v.length)).set(`Filter`,`/FlateDecode`);e.addStreamObject(y,b,v);let x=e.allocObject(),S=new CI().set(`Type`,`/Font`).set(`Subtype`,`/Type0`).set(`BaseFont`,_I(t.postScriptName+`-Subset`)).set(`Encoding`,`/Identity-H`).set(`DescendantFonts`,vI([yI(g)])).set(`ToUnicode`,yI(y));return e.addObject(x,S),{resourceName:r,fontObjNum:x,font:t,unicodeToCid:a,cidWidths:o}}function dL(e,t){let n=new Set,r=new Map;n.add(0);for(let i of t){let t=e.cmap.get(i);t!==void 0&&t>0&&(n.add(t),r.set(i,t))}let i=e.tables.get(`glyf`);if(i){let t=i.offset,r=new Set(n),a=Array.from(r);for(;a.length>0;){let i=vL(e,a.pop(),t);for(let e of i)r.has(e)||(r.add(e),n.add(e),a.push(e))}}let a=Array.from(n).sort((e,t)=>e-t),o=new Map;for(let e=0;e<a.length;e++)o.set(a[e],e);let s=new Map,c=Array(a.length).fill(0);c[0]=e.advanceWidths[0]??0;for(let[t,n]of r){let r=o.get(n);s.set(t,r),c[r]=e.advanceWidths[n]??0}return{oldToNewGid:o,unicodeToCid:s,cidWidths:c,usedGlyphIds:n}}function fL(e,t,n){let r=n.size,i=Array.from(t).sort((e,t)=>e-t),a=e.tables.get(`glyf`)?.offset??0,o=[],s=[],c=0;for(let t of i){s.push(c);let r=e.glyphOffsets[t],i=e.glyphOffsets[t+1],l=i-r;if(l>0){let t=yL(e.data.subarray(a+r,a+i),n);o.push(t),c+=l;let s=(4-l%4)%4;s>0&&(o.push(new Uint8Array(s)),c+=s)}}s.push(c);let l=Zn(o),u=new Uint8Array((r+1)*4),d=new DataView(u.buffer);for(let e=0;e<=r;e++)d.setUint32(e*4,s[e]??c,!1);let f=new Uint8Array(r*4),p=new DataView(f.buffer);for(let t=0;t<i.length;t++){let n=i[t];p.setUint16(t*4,e.advanceWidths[n]??0,!1),p.setInt16(t*4+2,0,!1)}let m=pL(n,e.cmap),h=e.tables.get(`head`),g=new Uint8Array(e.data.subarray(h.offset,h.offset+h.length));new DataView(g.buffer,g.byteOffset,g.byteLength).setInt16(50,1,!1);let _=e.tables.get(`hhea`),v=new Uint8Array(e.data.subarray(_.offset,_.offset+_.length));new DataView(v.buffer,v.byteOffset,v.byteLength).setUint16(34,r,!1);let y=e.tables.get(`maxp`),b=new Uint8Array(e.data.subarray(y.offset,y.offset+y.length));new DataView(b.buffer,b.byteOffset,b.byteLength).setUint16(4,r,!1);let x=new Uint8Array(32);return new DataView(x.buffer).setUint32(0,196608,!1),mL([[`head`,g],[`hhea`,v],[`maxp`,b],[`post`,x],[`cmap`,m],[`hmtx`,f],[`loca`,u],[`glyf`,l]])}function pL(e,t){let n=[];for(let[r,i]of t){let t=e.get(i);t!==void 0&&n.push([r,t])}n.sort((e,t)=>e[0]-t[0]);let r=[];for(let[e,t]of n){let n=r[r.length-1];n&&e===n.endCP+1&&t===n.startGID+(e-n.startCP)?n.endCP=e:r.push({startCP:e,endCP:e,startGID:t})}let i=16+r.length*12,a=12+i,o=new Uint8Array(a),s=new DataView(o.buffer),c=0;s.setUint16(c,0,!1),c+=2,s.setUint16(c,1,!1),c+=2,s.setUint16(c,3,!1),c+=2,s.setUint16(c,10,!1),c+=2,s.setUint32(c,12,!1),c+=4,s.setUint16(c,12,!1),c+=2,s.setUint16(c,0,!1),c+=2,s.setUint32(c,i,!1),c+=4,s.setUint32(c,0,!1),c+=4,s.setUint32(c,r.length,!1),c+=4;for(let e of r)s.setUint32(c,e.startCP,!1),c+=4,s.setUint32(c,e.endCP,!1),c+=4,s.setUint32(c,e.startGID,!1),c+=4;return o}function mL(e){let t=e.length,n=12+t*16,r=[];for(let[t,i]of e){let e=i.length,a=e+3&-4,o=new Uint8Array(a);o.set(i),r.push({tag:t,data:o,originalLength:e,offset:n,checksum:hL(o)}),n+=a}let i=new Uint8Array(n),a=new DataView(i.buffer),o=0;a.setUint32(o,65536,!1),o+=4,a.setUint16(o,t,!1),o+=2;let s=2**Math.floor(Math.log2(t));a.setUint16(o,s*16,!1),o+=2,a.setUint16(o,Math.floor(Math.log2(t)),!1),o+=2,a.setUint16(o,t*16-s*16,!1),o+=2;for(let e of r){for(let t=0;t<4;t++)i[o++]=e.tag.charCodeAt(t);a.setUint32(o,e.checksum,!1),o+=4,a.setUint32(o,e.offset,!1),o+=4,a.setUint32(o,e.originalLength,!1),o+=4}for(let e of r)i.set(e.data,e.offset);return i}function hL(e){let t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=0,r=Math.floor(e.length/4);for(let e=0;e<r;e++)n=n+t.getUint32(e*4,!1)>>>0;return n}function gL(e){let t=new Map;for(let[n,r]of e)t.set(r,n);let n=Array.from(t.entries()).sort((e,t)=>e[0]-t[0]),r=[];r.push(`/CIDInit /ProcSet findresource begin`),r.push(`12 dict begin`),r.push(`begincmap`),r.push(`/CIDSystemInfo`),r.push(`<< /Registry (Adobe) /Ordering (UCS) /Supplement 0 >> def`),r.push(`/CMapName /Adobe-Identity-UCS def`),r.push(`/CMapType 2 def`),r.push(`1 begincodespacerange`),r.push(`<0000> <FFFF>`),r.push(`endcodespacerange`);for(let e=0;e<n.length;e+=100){let t=n.slice(e,e+100);r.push(`${t.length} beginbfchar`);for(let[e,n]of t){let t=e.toString(16).toUpperCase().padStart(4,`0`),i;if(n>65535){let e=55296+(n-65536>>10),t=56320+(n-65536&1023);i=e.toString(16).toUpperCase().padStart(4,`0`)+t.toString(16).toUpperCase().padStart(4,`0`)}else i=n.toString(16).toUpperCase().padStart(4,`0`);r.push(`<${t}> <${i}>`)}r.push(`endbfchar`)}r.push(`endcmap`),r.push(`CMapName currentdict /CMap defineresource pop`),r.push(`end`),r.push(`end`);let i=r.join(`
456
+ `);return new TextEncoder().encode(i)}function _L(e,t){if(e.length===0)return`[]`;let n=1e3/t;return`[0 [${e.map(e=>L(Math.round(e*n))).join(` `)}]]`}function vL(e,t,n){let r=e.glyphOffsets[t];if(e.glyphOffsets[t+1]-r<4)return[];let i=new DataView(e.data.buffer,e.data.byteOffset,e.data.byteLength),a=n+r;if(i.getInt16(a,!1)>=0)return[];let o=a+10,s=[];for(;;){let e=i.getUint16(o,!1);o+=2;let t=i.getUint16(o,!1);if(o+=2,s.push(t),e&xL?o+=4:o+=2,e&SL?o+=2:e&CL?o+=4:e&wL&&(o+=8),!(e&bL))break}return s}function yL(e,t){if(e.length<10||new DataView(e.buffer,e.byteOffset,e.byteLength).getInt16(0,!1)>=0)return e;let n=new Uint8Array(e.length);n.set(e);let r=new DataView(n.buffer,n.byteOffset,n.byteLength),i=10;for(;;){let e=r.getUint16(i,!1);i+=2;let n=r.getUint16(i,!1),a=t.get(n)??0;if(r.setUint16(i,a,!1),i+=2,e&xL?i+=4:i+=2,e&SL?i+=2:e&CL?i+=4:e&wL&&(i+=8),!(e&bL))break}return n}var bL,xL,SL,CL,wL,TL=t((()=>{wv(),lr(),wI(),bL=32,xL=1,SL=8,CL=64,wL=128}));function EL(e,t){let n=IL[t];return n?n.monoWidth===void 0?n.widths?.[e]??n.avgWidth:n.monoWidth:EL(e,`Helvetica`)}function DL(e,t,n){let r=0;for(let n=0;n<e.length;n++)r+=EL(e.charCodeAt(n),t);return r/1e3*n}function OL(e,t){return(IL[e]??IL.Helvetica).ascent/1e3*t}function kL(e,t){return(IL[e]??IL.Helvetica).descent/1e3*t}function AL(e,t){let n=IL[e]??IL.Helvetica;return(n.ascent-n.descent)/1e3*t}var jL,ML,NL,PL,FL,IL,LL=t((()=>{jL={32:278,33:278,34:355,35:556,36:556,37:889,38:667,39:191,40:333,41:333,42:389,43:584,44:278,45:333,46:278,47:278,48:556,49:556,50:556,51:556,52:556,53:556,54:556,55:556,56:556,57:556,58:278,59:278,60:584,61:584,62:584,63:556,64:1015,65:667,66:667,67:722,68:722,69:667,70:611,71:778,72:722,73:278,74:500,75:667,76:556,77:833,78:722,79:778,80:667,81:778,82:722,83:667,84:611,85:722,86:667,87:944,88:667,89:667,90:611,91:278,92:278,93:278,94:469,95:556,96:333,97:556,98:556,99:500,100:556,101:556,102:278,103:556,104:556,105:222,106:222,107:500,108:222,109:833,110:556,111:556,112:556,113:556,114:333,115:500,116:278,117:556,118:500,119:722,120:500,121:500,122:500,123:334,124:260,125:334,126:584},ML={32:278,33:333,34:474,35:556,36:556,37:889,38:722,39:238,40:333,41:333,42:389,43:584,44:278,45:333,46:278,47:278,48:556,49:556,50:556,51:556,52:556,53:556,54:556,55:556,56:556,57:556,58:333,59:333,60:584,61:584,62:584,63:611,64:975,65:722,66:722,67:722,68:722,69:667,70:611,71:778,72:722,73:278,74:556,75:722,76:611,77:833,78:722,79:778,80:667,81:778,82:722,83:667,84:611,85:722,86:667,87:944,88:667,89:667,90:611,91:333,92:278,93:333,94:584,95:556,96:333,97:556,98:611,99:556,100:611,101:556,102:333,103:611,104:611,105:278,106:278,107:556,108:278,109:889,110:611,111:611,112:611,113:611,114:389,115:556,116:333,117:611,118:556,119:778,120:556,121:556,122:500,123:389,124:280,125:389,126:584},NL={32:250,33:333,34:408,35:500,36:500,37:833,38:778,39:180,40:333,41:333,42:500,43:564,44:250,45:333,46:250,47:278,48:500,49:500,50:500,51:500,52:500,53:500,54:500,55:500,56:500,57:500,58:278,59:278,60:564,61:564,62:564,63:444,64:921,65:722,66:667,67:667,68:722,69:611,70:556,71:722,72:722,73:333,74:389,75:722,76:611,77:889,78:722,79:722,80:556,81:722,82:667,83:556,84:611,85:722,86:722,87:944,88:722,89:722,90:611,91:333,92:278,93:333,94:469,95:500,96:333,97:444,98:500,99:444,100:500,101:444,102:333,103:500,104:500,105:278,106:278,107:500,108:278,109:778,110:500,111:500,112:500,113:500,114:333,115:389,116:278,117:500,118:500,119:722,120:500,121:500,122:444,123:480,124:200,125:480,126:541},PL={32:250,33:333,34:555,35:500,36:500,37:1e3,38:833,39:278,40:333,41:333,42:500,43:570,44:250,45:333,46:250,47:278,48:500,49:500,50:500,51:500,52:500,53:500,54:500,55:500,56:500,57:500,58:333,59:333,60:570,61:570,62:570,63:500,64:930,65:722,66:667,67:722,68:722,69:667,70:611,71:778,72:778,73:389,74:500,75:778,76:667,77:944,78:722,79:778,80:611,81:778,82:722,83:556,84:667,85:722,86:722,87:1e3,88:722,89:722,90:667,91:333,92:278,93:333,94:581,95:500,96:333,97:500,98:556,99:444,100:556,101:444,102:333,103:500,104:556,105:278,106:333,107:556,108:278,109:833,110:556,111:500,112:556,113:556,114:444,115:389,116:333,117:556,118:500,119:722,120:500,121:500,122:444,123:394,124:220,125:394,126:520},FL=600,IL={Helvetica:{ascent:718,descent:-207,capHeight:718,avgWidth:513,widths:jL},"Helvetica-Bold":{ascent:718,descent:-207,capHeight:718,avgWidth:535,widths:ML},"Helvetica-Oblique":{ascent:718,descent:-207,capHeight:718,avgWidth:513,widths:jL},"Helvetica-BoldOblique":{ascent:718,descent:-207,capHeight:718,avgWidth:535,widths:ML},"Times-Roman":{ascent:683,descent:-217,capHeight:662,avgWidth:478,widths:NL},"Times-Bold":{ascent:683,descent:-217,capHeight:676,avgWidth:505,widths:PL},"Times-Italic":{ascent:683,descent:-217,capHeight:653,avgWidth:478,widths:NL},"Times-BoldItalic":{ascent:683,descent:-217,capHeight:669,avgWidth:505,widths:PL},Courier:{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:FL},"Courier-Bold":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:FL},"Courier-Oblique":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:FL},"Courier-BoldOblique":{ascent:629,descent:-157,capHeight:562,avgWidth:600,widths:null,monoWidth:FL}}})),RL=t((()=>{LL()}));function R(e,t,n,r){return{width:z,draw:i=>{e&&(i.lineWidth(e),i.M(0,250),i.L(300,250),i.stroke()),t&&(i.lineWidth(t),i.M(300,250),i.L(600,250),i.stroke()),n&&(i.lineWidth(n),i.M(300,250),i.L(300,500),i.stroke()),r&&(i.lineWidth(r),i.M(300,250),i.L(300,0),i.stroke())}}}function zL(e,t,n,r){return{width:z,draw:i=>{i.lineWidth(30),e&&(i.M(0,220),i.L(300,220),i.stroke(),i.M(0,280),i.L(300,280),i.stroke()),t&&(i.M(300,220),i.L(600,220),i.stroke(),i.M(300,280),i.L(600,280),i.stroke()),n&&(i.M(270,250),i.L(270,500),i.stroke(),i.M(330,250),i.L(330,500),i.stroke()),r&&(i.M(270,250),i.L(270,0),i.stroke(),i.M(330,250),i.L(330,0),i.stroke())}}}function BL(e,t,n,r){return{width:z,draw:i=>{i.rect(e,t,n,r),i.fill()}}}function VL(e){let t=[200,400],n=[400,300,200,100],r=[[0,0],[0,1],[0,2],[1,0],[1,1],[1,2],[0,3],[1,3]];return{width:z,draw:i=>{for(let a=0;a<8;a++)if(e&1<<a){let[e,o]=r[a];i.circle(t[e],n[o],40),i.fill()}}}}function HL(e,t){return{width:z,draw:n=>{n.lineWidth(35),n.M(450,500),n.L(150,0),n.stroke();let r=e.length,i=t.length;for(let e=0;e<r;e++)n.circle(150+e*80,420,30),n.fill();for(let e=0;e<i;e++)n.circle(350+e*80,80,30),n.fill()}}}function UL(e,t,n,r){e.M(t,n),e.L(t,r),e.stroke()}function WL(e,t,n,r){e.M(t-80,r),e.L(t,n),e.L(t+80,r),e.stroke()}function GL(e,t,n,r){e.M(t-70,n),e.L(t+70,r),e.stroke(),e.M(t+70,n),e.L(t-70,r),e.stroke()}function KL(e,t,n,r){e.M(t,r),e.L(n,r),e.stroke()}function qL(e){return{width:z,draw:t=>{if(t.lineWidth(45),e<=3){let n=e,r=300-(n-1)*120/2;for(let e=0;e<n;e++)UL(t,r+e*120,0,500)}else e===4?(UL(t,200,0,500),WL(t,380,0,500)):e===5?WL(t,300,0,500):e===6?(WL(t,200,0,500),UL(t,400,0,500)):e===7?(WL(t,160,0,500),UL(t,340,0,500),UL(t,460,0,500)):e===8?(t.lineWidth(40),WL(t,140,0,500),UL(t,300,0,500),UL(t,400,0,500),UL(t,500,0,500)):e===9?(UL(t,200,0,500),GL(t,400,0,500)):e===10?GL(t,300,0,500):e===11?(GL(t,220,0,500),UL(t,430,0,500)):e===12?(GL(t,180,0,500),UL(t,370,0,500),UL(t,480,0,500)):e===50?(UL(t,200,0,500),KL(t,200,450,0)):e===100?(KL(t,180,450,500),UL(t,180,0,500),KL(t,180,450,0)):e===500?(UL(t,180,0,500),t.M(180,500),t.C(480,500,480,0,180,0),t.stroke()):e===1e3&&(UL(t,100,0,500),t.M(100,500),t.L(230,200),t.L(300,500),t.stroke(),t.M(300,500),t.L(370,200),t.L(500,500),t.stroke(),UL(t,500,0,500))}}}function JL(e){return{width:z,draw:t=>{if(t.lineWidth(40),e<=3){let n=e,r=300-(n-1)*100/2;for(let e=0;e<n;e++)UL(t,r+e*100,0,350)}else e===4?(UL(t,200,0,350),WL(t,380,0,350)):e===5?WL(t,300,0,350):e===6?(WL(t,200,0,350),UL(t,400,0,350)):e===7?(WL(t,160,0,350),UL(t,340,0,350),UL(t,450,0,350)):e===8?(t.lineWidth(35),WL(t,130,0,350),UL(t,280,0,350),UL(t,380,0,350),UL(t,480,0,350)):e===9?(UL(t,200,0,350),GL(t,400,0,350)):e===10?GL(t,300,0,350):e===11?(GL(t,220,0,350),UL(t,430,0,350)):e===12?(GL(t,180,0,350),UL(t,370,0,350),UL(t,480,0,350)):e===50?(UL(t,200,0,350),KL(t,200,450,0)):e===100?(KL(t,180,450,350),UL(t,180,0,350),KL(t,180,450,0)):e===500?(UL(t,180,0,350),t.M(180,350),t.C(480,350,480,0,180,0),t.stroke()):e===1e3&&(UL(t,100,0,350),t.M(100,350),t.L(230,140),t.L(300,350),t.stroke(),t.M(300,350),t.L(370,140),t.L(500,350),t.stroke(),UL(t,500,0,350))}}}function YL(e,t,n,r,i){wR[t](e,n,r,i)}function XL(e,t,n,r,i){TR[t](e,n,r,i)}function ZL(e){e.M(160,480),e.C(100,480,60,380,60,250),e.C(60,120,100,20,160,20),e.stroke(),e.M(440,20),e.C(500,20,540,120,540,250),e.C(540,380,500,480,440,480),e.stroke()}var z,B,V,QL,$L,eR,tR,nR,rR,iR,aR,oR,sR,cR,lR,uR,dR,fR,pR,mR,hR,gR,_R,vR,yR,bR,xR,SR,CR,wR,TR,ER=t((()=>{z=600,B=40,V=80,QL={9472:R(B,B,0,0),9473:R(V,V,0,0),9474:R(0,0,B,B),9475:R(0,0,V,V),9476:R(B,B,0,0),9477:R(V,V,0,0),9478:R(0,0,B,B),9479:R(0,0,V,V),9480:R(B,B,0,0),9481:R(V,V,0,0),9482:R(0,0,B,B),9483:R(0,0,V,V),9484:R(0,B,0,B),9485:R(0,V,0,B),9486:R(0,B,0,V),9487:R(0,V,0,V),9488:R(B,0,0,B),9489:R(V,0,0,B),9490:R(B,0,0,V),9491:R(V,0,0,V),9492:R(0,B,B,0),9493:R(0,V,B,0),9494:R(0,B,V,0),9495:R(0,V,V,0),9496:R(B,0,B,0),9497:R(V,0,B,0),9498:R(B,0,V,0),9499:R(V,0,V,0),9500:R(0,B,B,B),9501:R(0,V,B,B),9502:R(0,B,V,B),9503:R(0,B,B,V),9504:R(0,B,V,V),9505:R(0,V,V,B),9506:R(0,V,B,V),9507:R(0,V,V,V),9508:R(B,0,B,B),9509:R(V,0,B,B),9510:R(B,0,V,B),9511:R(B,0,B,V),9512:R(B,0,V,V),9513:R(V,0,V,B),9514:R(V,0,B,V),9515:R(V,0,V,V),9516:R(B,B,0,B),9517:R(V,B,0,B),9518:R(B,V,0,B),9519:R(V,V,0,B),9520:R(B,B,0,V),9521:R(V,B,0,V),9522:R(B,V,0,V),9523:R(V,V,0,V),9524:R(B,B,B,0),9525:R(V,B,B,0),9526:R(B,V,B,0),9527:R(V,V,B,0),9528:R(B,B,V,0),9529:R(V,B,V,0),9530:R(B,V,V,0),9531:R(V,V,V,0),9532:R(B,B,B,B),9533:R(V,B,B,B),9534:R(B,V,B,B),9535:R(V,V,B,B),9536:R(B,B,V,B),9537:R(B,B,B,V),9538:R(B,B,V,V),9539:R(V,B,V,B),9540:R(B,V,V,B),9541:R(V,B,B,V),9542:R(B,V,B,V),9543:R(V,V,V,B),9544:R(V,V,B,V),9545:R(V,B,V,V),9546:R(B,V,V,V),9547:R(V,V,V,V),9552:zL(!0,!0,!1,!1),9553:zL(!1,!1,!0,!0),9554:zL(!1,!0,!1,!0),9555:zL(!1,!0,!1,!0),9556:zL(!1,!0,!1,!0),9557:zL(!0,!1,!1,!0),9558:zL(!0,!1,!1,!0),9559:zL(!0,!1,!1,!0),9560:zL(!1,!0,!0,!1),9561:zL(!1,!0,!0,!1),9562:zL(!1,!0,!0,!1),9563:zL(!0,!1,!0,!1),9564:zL(!0,!1,!0,!1),9565:zL(!0,!1,!0,!1),9566:zL(!1,!0,!0,!0),9567:zL(!1,!0,!0,!0),9568:zL(!1,!0,!0,!0),9569:zL(!0,!1,!0,!0),9570:zL(!0,!1,!0,!0),9571:zL(!0,!1,!0,!0),9572:zL(!0,!0,!1,!0),9573:zL(!0,!0,!1,!0),9574:zL(!0,!0,!1,!0),9575:zL(!0,!0,!0,!1),9576:zL(!0,!0,!0,!1),9577:zL(!0,!0,!0,!1),9578:zL(!0,!0,!0,!0),9579:zL(!0,!0,!0,!0),9580:zL(!0,!0,!0,!0),9581:R(0,B,0,B),9582:R(B,0,0,B),9583:R(B,0,B,0),9584:R(0,B,B,0),9585:{width:z,draw:e=>{e.lineWidth(B),e.M(0,0),e.L(600,500),e.stroke()}},9586:{width:z,draw:e=>{e.lineWidth(B),e.M(0,500),e.L(600,0),e.stroke()}},9587:{width:z,draw:e=>{e.lineWidth(B),e.M(0,0),e.L(600,500),e.stroke(),e.M(0,500),e.L(600,0),e.stroke()}},9588:R(B,0,0,0),9589:R(0,0,B,0),9590:R(0,B,0,0),9591:R(0,0,0,B),9592:R(V,0,0,0),9593:R(0,0,V,0),9594:R(0,V,0,0),9595:R(0,0,0,V),9596:R(B,V,0,0),9597:R(0,0,B,V),9598:R(V,B,0,0),9599:R(0,0,V,B)},$L={9600:BL(0,250,600,250),9601:BL(0,0,600,62),9602:BL(0,0,600,125),9603:BL(0,0,600,187),9604:BL(0,0,600,250),9605:BL(0,0,600,312),9606:BL(0,0,600,375),9607:BL(0,0,600,437),9608:BL(0,0,600,500),9609:BL(0,0,525,500),9610:BL(0,0,450,500),9611:BL(0,0,375,500),9612:BL(0,0,300,500),9613:BL(0,0,225,500),9614:BL(0,0,150,500),9615:BL(0,0,75,500),9616:BL(300,0,300,500),9617:{width:z,draw:e=>{e.lineWidth(10);for(let t=10;t<500;t+=40)for(let n=10;n<600;n+=40)e.rect(n,t,5,5);e.fill()}},9618:{width:z,draw:e=>{e.lineWidth(10);for(let t=5;t<500;t+=20)for(let n=5;n<600;n+=20)e.rect(n,t,8,8);e.fill()}},9619:{width:z,draw:e=>{e.lineWidth(10);for(let t=3;t<500;t+=12)for(let n=3;n<600;n+=12)e.rect(n,t,10,10);e.fill()}},9620:BL(0,437,600,63),9621:BL(525,0,75,500),9622:BL(0,0,300,250),9623:BL(300,0,300,250),9624:BL(0,250,300,250),9625:{width:z,draw:e=>{e.rect(0,0,300,250),e.fill(),e.rect(0,250,300,250),e.fill(),e.rect(300,0,300,250),e.fill()}},9626:{width:z,draw:e=>{e.rect(0,250,300,250),e.fill(),e.rect(300,0,300,250),e.fill()}},9627:{width:z,draw:e=>{e.rect(0,0,300,250),e.fill(),e.rect(0,250,600,250),e.fill()}},9628:{width:z,draw:e=>{e.rect(300,0,300,250),e.fill(),e.rect(0,250,600,250),e.fill()}},9629:BL(300,250,300,250),9630:{width:z,draw:e=>{e.rect(300,250,300,250),e.fill(),e.rect(0,0,300,250),e.fill()}},9631:{width:z,draw:e=>{e.rect(300,0,300,500),e.fill(),e.rect(0,0,300,250),e.fill()}}},eR={};for(let e=0;e<256;e++)eR[10240+e]=VL(e);tR={8451:{width:700,draw:e=>{e.lineWidth(40),e.circle(120,450,60),e.stroke(),e.M(550,450),e.C(350,450,250,350,250,250),e.C(250,150,350,50,550,50),e.stroke()}},8453:{width:z,draw:e=>{e.lineWidth(40),e.M(150,350),e.C(80,350,50,400,50,430),e.C(50,470,100,500,150,500),e.C(200,500,250,470,250,430),e.C(250,400,200,350,150,350),e.stroke(),e.M(450,0),e.L(150,500),e.stroke(),e.M(450,150),e.C(380,150,350,100,350,70),e.C(350,30,400,0,450,0),e.C(500,0,550,30,550,70),e.C(550,100,500,150,450,150),e.stroke()}},8457:{width:700,draw:e=>{e.lineWidth(40),e.circle(120,450,60),e.stroke(),e.M(280,0),e.L(280,500),e.stroke(),e.M(280,500),e.L(550,500),e.stroke(),e.M(280,280),e.L(480,280),e.stroke()}},8467:{width:z,draw:e=>{e.lineWidth(45),e.M(350,500),e.C(200,500,200,400,250,200),e.C(280,100,200,0,150,50),e.stroke()}},8470:{width:700,draw:e=>{e.lineWidth(45),e.M(80,0),e.L(80,500),e.stroke(),e.M(80,500),e.L(350,0),e.stroke(),e.M(350,0),e.L(350,500),e.stroke(),e.lineWidth(35),e.circle(530,70,70),e.stroke(),e.M(380,170),e.L(680,170),e.stroke()}},8480:{width:z,draw:e=>{e.lineWidth(30),e.M(150,400),e.C(150,500,350,500,350,450),e.C(350,400,150,350,150,300),e.C(150,250,350,250,350,350),e.stroke(),e.M(400,500),e.L(400,250),e.L(475,400),e.L(550,250),e.L(550,500),e.stroke()}},8482:{width:z,draw:e=>{e.lineWidth(30),e.M(50,500),e.L(200,500),e.stroke(),e.M(125,500),e.L(125,300),e.stroke(),e.M(250,500),e.L(250,300),e.L(350,450),e.L(450,300),e.L(450,500),e.stroke()}},8486:{width:z,draw:e=>{e.lineWidth(45),e.M(100,50),e.L(200,50),e.L(200,150),e.C(120,200,80,300,80,350),e.C(80,450,180,520,300,520),e.C(420,520,520,450,520,350),e.C(520,300,480,200,400,150),e.L(400,50),e.L(500,50),e.stroke()}},8494:{width:z,draw:e=>{e.lineWidth(40),e.M(480,220),e.L(150,220),e.C(150,400,250,500,350,500),e.C(450,500,530,400,500,300),e.C(470,100,400,0,250,0),e.C(150,0,100,80,100,150),e.stroke()}},8505:{width:z,draw:e=>{e.circle(300,450,40),e.fill(),e.lineWidth(55),e.M(300,350),e.L(300,50),e.stroke()}},8543:{width:z,draw:e=>{e.lineWidth(40),e.M(150,500),e.L(200,500),e.L(200,350),e.stroke(),e.M(450,500),e.L(150,0),e.stroke()}}},nR={8528:HL(`1`,`7`),8529:HL(`1`,`9`),8530:HL(`1`,`10`),8531:HL(`1`,`3`),8532:HL(`2`,`3`),8533:HL(`1`,`5`),8534:HL(`2`,`5`),8535:HL(`3`,`5`),8536:HL(`4`,`5`),8537:HL(`1`,`6`),8538:HL(`5`,`6`),8539:HL(`1`,`8`),8540:HL(`3`,`8`),8541:HL(`5`,`8`),8542:HL(`7`,`8`),8544:{width:z,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke()}},8545:{width:z,draw:e=>{e.lineWidth(50),e.M(200,0),e.L(200,500),e.stroke(),e.M(400,0),e.L(400,500),e.stroke()}},8546:{width:z,draw:e=>{e.lineWidth(45),e.M(120,0),e.L(120,500),e.stroke(),e.M(300,0),e.L(300,500),e.stroke(),e.M(480,0),e.L(480,500),e.stroke()}},8547:{width:z,draw:e=>{e.lineWidth(50),e.M(180,500),e.L(300,0),e.L(420,500),e.stroke()}},8548:{width:z,draw:e=>{e.lineWidth(50),e.M(150,500),e.L(300,0),e.L(450,500),e.stroke()}}},rR={};for(let e=0;e<20;e++)rR[9312+e]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}};for(let e=0;e<12;e++)rR[9332+e]={width:z,draw:e=>{e.lineWidth(30),e.M(180,480),e.C(120,480,80,380,80,250),e.C(80,120,120,20,180,20),e.stroke(),e.M(420,20),e.C(480,20,520,120,520,250),e.C(520,380,480,480,420,480),e.stroke()}};for(let e=0;e<26;e++)rR[9398+e]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}};for(let e=0;e<26;e++)rR[9424+e]={width:z,draw:e=>{e.lineWidth(30),e.circle(300,250,200),e.stroke()}};rR[9450]={width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke()}},iR={8208:{width:z,draw:e=>{e.lineWidth(50),e.M(150,250),e.L(450,250),e.stroke()}},8209:{width:z,draw:e=>{e.lineWidth(50),e.M(150,250),e.L(450,250),e.stroke()}},8210:{width:z,draw:e=>{e.lineWidth(50),e.M(100,250),e.L(500,250),e.stroke()}},8211:{width:z,draw:e=>{e.lineWidth(50),e.M(80,250),e.L(520,250),e.stroke()}},8212:{width:700,draw:e=>{e.lineWidth(50),e.M(0,250),e.L(700,250),e.stroke()}},8214:{width:z,draw:e=>{e.lineWidth(40),e.M(230,0),e.L(230,500),e.stroke(),e.M(370,0),e.L(370,500),e.stroke()}},8215:{width:z,draw:e=>{e.lineWidth(30),e.M(50,30),e.L(550,30),e.stroke(),e.M(50,80),e.L(550,80),e.stroke()}},8216:{width:300,draw:e=>{e.circle(150,450,40),e.fill(),e.lineWidth(30),e.M(150,410),e.C(120,370,100,350,80,340),e.stroke()}},8217:{width:300,draw:e=>{e.circle(150,450,40),e.fill(),e.lineWidth(30),e.M(150,410),e.C(180,370,200,350,220,340),e.stroke()}},8223:{width:400,draw:e=>{e.circle(120,450,35),e.fill(),e.circle(280,450,35),e.fill()}},8224:{width:z,draw:e=>{e.lineWidth(50),e.M(300,500),e.L(300,0),e.stroke(),e.M(150,380),e.L(450,380),e.stroke()}},8225:{width:z,draw:e=>{e.lineWidth(45),e.M(300,500),e.L(300,0),e.stroke(),e.M(150,380),e.L(450,380),e.stroke(),e.M(150,180),e.L(450,180),e.stroke()}},8229:{width:z,draw:e=>{e.circle(200,50,35),e.fill(),e.circle(400,50,35),e.fill()}},8231:{width:300,draw:e=>{e.circle(150,250,35),e.fill()}},8240:{width:700,draw:e=>{e.lineWidth(35),e.M(550,0),e.L(150,500),e.stroke(),e.circle(180,400,70),e.stroke(),e.circle(400,100,60),e.stroke(),e.circle(560,100,60),e.stroke()}},8241:{width:700,draw:e=>{e.lineWidth(35),e.M(550,0),e.L(150,500),e.stroke(),e.circle(180,400,60),e.stroke(),e.circle(350,100,50),e.stroke(),e.circle(470,100,50),e.stroke(),e.circle(590,100,50),e.stroke()}},8242:{width:300,draw:e=>{e.lineWidth(40),e.M(180,500),e.L(140,350),e.stroke()}},8243:{width:400,draw:e=>{e.lineWidth(40),e.M(150,500),e.L(110,350),e.stroke(),e.M(300,500),e.L(260,350),e.stroke()}},8249:{width:350,draw:e=>{e.lineWidth(40),e.M(250,400),e.L(100,250),e.L(250,100),e.stroke()}},8250:{width:350,draw:e=>{e.lineWidth(40),e.M(100,400),e.L(250,250),e.L(100,100),e.stroke()}},8252:{width:z,draw:e=>{e.lineWidth(50),e.M(200,500),e.L(200,130),e.stroke(),e.circle(200,40,30),e.fill(),e.M(400,500),e.L(400,130),e.stroke(),e.circle(400,40,30),e.fill()}},8260:{width:z,draw:e=>{e.lineWidth(40),e.M(450,500),e.L(150,0),e.stroke()}},8271:{width:300,draw:e=>{e.circle(150,350,35),e.fill(),e.circle(150,130,35),e.fill(),e.lineWidth(30),e.M(150,95),e.C(180,50,200,20,220,0),e.stroke()}}},aR={8602:{width:z,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,120),e.Z(),e.fill(),e.lineWidth(50),e.M(350,120),e.L(250,380),e.stroke()}},8603:{width:z,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,380),e.L(350,120),e.Z(),e.fill(),e.lineWidth(50),e.M(250,120),e.L(350,380),e.stroke()}},8605:{width:z,draw:e=>{e.lineWidth(45),e.M(100,250),e.C(200,350,300,150,400,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,330),e.L(400,170),e.Z(),e.fill()}},8606:{width:z,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(220,370),e.L(220,130),e.Z(),e.fill(),e.M(200,250),e.L(320,370),e.L(320,130),e.Z(),e.fill()}},8607:{width:z,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,470),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.fill(),e.M(300,370),e.L(180,250),e.L(420,250),e.Z(),e.fill()}},8608:{width:z,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(380,370),e.L(380,130),e.Z(),e.fill(),e.M(400,250),e.L(280,370),e.L(280,130),e.Z(),e.fill()}},8609:{width:z,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,30),e.stroke(),e.M(300,30),e.L(180,150),e.L(420,150),e.Z(),e.fill(),e.M(300,130),e.L(180,250),e.L(420,250),e.Z(),e.fill()}},8612:{width:z,draw:e=>{e.lineWidth(45),e.M(480,250),e.L(130,250),e.stroke(),e.M(130,250),e.L(260,370),e.L(260,130),e.Z(),e.fill(),e.M(500,100),e.L(500,400),e.stroke()}},8613:{width:z,draw:e=>{e.lineWidth(45),e.M(300,30),e.L(300,420),e.stroke(),e.M(300,420),e.L(180,290),e.L(420,290),e.Z(),e.fill(),e.M(150,30),e.L(450,30),e.stroke()}},8614:{width:z,draw:e=>{e.lineWidth(45),e.M(120,250),e.L(470,250),e.stroke(),e.M(470,250),e.L(340,370),e.L(340,130),e.Z(),e.fill(),e.M(100,100),e.L(100,400),e.stroke()}},8615:{width:z,draw:e=>{e.lineWidth(45),e.M(300,470),e.L(300,80),e.stroke(),e.M(300,80),e.L(180,210),e.L(420,210),e.Z(),e.fill(),e.M(150,470),e.L(450,470),e.stroke()}},8624:{width:z,draw:e=>{e.lineWidth(45),e.M(400,50),e.L(400,350),e.L(150,350),e.stroke(),e.M(400,450),e.L(280,330),e.L(520,330),e.Z(),e.fill()}},8625:{width:z,draw:e=>{e.lineWidth(45),e.M(200,50),e.L(200,350),e.L(450,350),e.stroke(),e.M(200,450),e.L(80,330),e.L(320,330),e.Z(),e.fill()}},8626:{width:z,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,150),e.L(150,150),e.stroke(),e.M(400,50),e.L(280,170),e.L(520,170),e.Z(),e.fill()}},8627:{width:z,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,150),e.L(450,150),e.stroke(),e.M(200,50),e.L(80,170),e.L(320,170),e.Z(),e.fill()}},8629:{width:z,draw:e=>{e.lineWidth(45),e.M(450,450),e.L(450,150),e.L(150,150),e.stroke(),e.M(150,150),e.L(280,260),e.L(280,40),e.Z(),e.fill()}},8634:{width:z,draw:e=>{e.lineWidth(45),e.M(160,350),e.C(160,450,300,500,400,450),e.C(500,400,520,250,450,150),e.C(380,50,200,50,160,150),e.stroke(),e.M(160,350),e.L(80,250),e.L(250,270),e.Z(),e.fill()}},8635:{width:z,draw:e=>{e.lineWidth(45),e.M(440,350),e.C(440,450,300,500,200,450),e.C(100,400,80,250,150,150),e.C(220,50,400,50,440,150),e.stroke(),e.M(440,350),e.L(520,250),e.L(350,270),e.Z(),e.fill()}}},oR={8723:{width:z,draw:e=>{e.lineWidth(50),e.M(120,350),e.L(480,350),e.stroke(),e.M(300,200),e.L(300,0),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},8729:{width:z,draw:e=>{e.circle(300,250,50),e.fill()}},8733:{width:z,draw:e=>{e.lineWidth(45),e.M(80,250),e.C(80,450,250,450,300,250),e.C(350,50,520,50,520,250),e.stroke()}},8735:{width:z,draw:e=>{e.lineWidth(50),e.M(120,450),e.L(120,50),e.L(480,50),e.stroke()}},8739:{width:z,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke()}},8740:{width:z,draw:e=>{e.lineWidth(50),e.M(300,0),e.L(300,500),e.stroke(),e.M(200,100),e.L(400,400),e.stroke()}},8741:{width:z,draw:e=>{e.lineWidth(45),e.M(220,0),e.L(220,500),e.stroke(),e.M(380,0),e.L(380,500),e.stroke()}},8742:{width:z,draw:e=>{e.lineWidth(45),e.M(220,0),e.L(220,500),e.stroke(),e.M(380,0),e.L(380,500),e.stroke(),e.M(150,100),e.L(450,400),e.stroke()}},8728:{width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,70),e.stroke()}},8756:{width:z,draw:e=>{e.circle(300,400,40),e.fill(),e.circle(180,150,40),e.fill(),e.circle(420,150,40),e.fill()}},8757:{width:z,draw:e=>{e.circle(300,100,40),e.fill(),e.circle(180,350,40),e.fill(),e.circle(420,350,40),e.fill()}},8758:{width:300,draw:e=>{e.circle(150,350,40),e.fill(),e.circle(150,150,40),e.fill()}},8759:{width:z,draw:e=>{e.circle(200,350,35),e.fill(),e.circle(200,150,35),e.fill(),e.circle(400,350,35),e.fill(),e.circle(400,150,35),e.fill()}},8780:{width:z,draw:e=>{e.lineWidth(40),e.M(120,400),e.C(200,460,400,460,480,400),e.stroke(),e.M(120,280),e.C(200,340,400,340,480,280),e.stroke(),e.M(120,160),e.L(480,160),e.stroke()}},8773:{width:z,draw:e=>{e.lineWidth(45),e.M(120,350),e.C(200,430,400,430,480,350),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},8796:{width:z,draw:e=>{e.lineWidth(40),e.M(120,200),e.L(480,200),e.stroke(),e.M(120,120),e.L(480,120),e.stroke(),e.M(300,450),e.L(200,280),e.L(400,280),e.Z(),e.stroke()}},8810:{width:z,draw:e=>{e.lineWidth(45),e.M(350,420),e.L(100,250),e.L(350,80),e.stroke(),e.M(500,420),e.L(250,250),e.L(500,80),e.stroke()}},8811:{width:z,draw:e=>{e.lineWidth(45),e.M(100,420),e.L(350,250),e.L(100,80),e.stroke(),e.M(250,420),e.L(500,250),e.L(250,80),e.stroke()}},8836:{width:z,draw:e=>{e.lineWidth(45),e.M(470,450),e.C(200,450,130,350,130,250),e.C(130,150,200,50,470,50),e.stroke(),e.M(200,50),e.L(400,450),e.stroke()}},8837:{width:z,draw:e=>{e.lineWidth(45),e.M(130,450),e.C(400,450,470,350,470,250),e.C(470,150,400,50,130,50),e.stroke(),e.M(200,50),e.L(400,450),e.stroke()}},8838:{width:z,draw:e=>{e.lineWidth(45),e.M(470,420),e.C(200,420,130,340,130,250),e.C(130,160,200,80,470,80),e.stroke(),e.M(130,30),e.L(470,30),e.stroke()}},8839:{width:z,draw:e=>{e.lineWidth(45),e.M(130,420),e.C(400,420,470,340,470,250),e.C(470,160,400,80,130,80),e.stroke(),e.M(130,30),e.L(470,30),e.stroke()}},8869:{width:z,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(480,50),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},8895:{width:z,draw:e=>{e.lineWidth(45),e.M(120,50),e.L(480,50),e.L(120,450),e.Z(),e.stroke()}}},sR={9729:{width:z,draw:e=>{e.lineWidth(40),e.M(120,200),e.C(120,350,200,400,280,400),e.C(300,470,400,470,430,400),e.C(500,400,520,300,480,200),e.L(120,200),e.stroke()}},9742:{width:z,draw:e=>{e.lineWidth(45),e.M(120,100),e.C(120,50,480,50,480,100),e.stroke(),e.M(150,100),e.C(150,350,200,450,250,450),e.stroke(),e.M(450,100),e.C(450,350,400,450,350,450),e.stroke()}},9774:{width:z,draw:e=>{e.lineWidth(45),e.circle(300,250,220),e.stroke(),e.M(300,470),e.L(300,30),e.stroke(),e.M(300,250),e.L(145,95),e.stroke(),e.M(300,250),e.L(455,95),e.stroke()}},9775:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,350,20),e.fill(),e.circle(300,150,20),e.fill()}},9785:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(210,330,25),e.fill(),e.circle(390,330,25),e.fill(),e.M(200,130),e.C(250,80,350,80,400,130),e.stroke()}},9786:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(210,330,25),e.fill(),e.circle(390,330,25),e.fill(),e.M(190,170),e.C(220,110,380,110,410,170),e.stroke()}},9787:{width:z,draw:e=>{e.circle(300,250,230),e.fill()}},9872:{width:z,draw:e=>{e.lineWidth(40),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(480,400),e.L(150,300),e.stroke()}},9873:{width:z,draw:e=>{e.lineWidth(40),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(480,400),e.L(150,300),e.Z(),e.fill()}},9888:{width:z,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(80,50),e.L(520,50),e.Z(),e.stroke(),e.lineWidth(40),e.M(300,350),e.L(300,180),e.stroke(),e.circle(300,110,25),e.fill()}},9889:{width:z,draw:e=>{e.M(350,500),e.L(200,280),e.L(310,280),e.L(250,0),e.L(420,220),e.L(300,220),e.L(350,500),e.Z(),e.fill()}},9898:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke()}},9899:{width:z,draw:e=>{e.circle(300,250,180),e.fill()}}},cR={9985:{width:z,draw:e=>{e.lineWidth(35),e.circle(180,150,80),e.stroke(),e.circle(180,350,80),e.stroke(),e.M(250,200),e.L(500,400),e.stroke(),e.M(250,300),e.L(500,100),e.stroke()}},9986:{width:z,draw:e=>{e.lineWidth(40),e.circle(170,130,80),e.stroke(),e.circle(170,370,80),e.stroke(),e.M(240,180),e.L(520,420),e.stroke(),e.M(240,320),e.L(520,80),e.stroke()}},9990:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(200,150),e.C(200,100,400,100,400,150),e.stroke(),e.M(220,150),e.C(220,350,250,400,280,400),e.stroke(),e.M(380,150),e.C(380,350,350,400,320,400),e.stroke()}},9991:{width:z,draw:e=>{e.lineWidth(35),e.rect(80,50,440,400),e.stroke(),e.circle(300,250,120),e.stroke()}},9992:{width:z,draw:e=>{e.M(300,480),e.L(260,300),e.L(80,250),e.L(260,210),e.L(260,80),e.L(220,30),e.L(380,30),e.L(340,80),e.L(340,210),e.L(520,250),e.L(340,300),e.Z(),e.fill()}},9993:{width:z,draw:e=>{e.lineWidth(35),e.rect(80,80,440,340),e.stroke(),e.M(80,420),e.L(300,220),e.L(520,420),e.stroke()}},9998:{width:z,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(480,430),e.stroke(),e.M(100,50),e.L(130,130),e.stroke()}},9999:{width:z,draw:e=>{e.M(130,30),e.L(100,80),e.L(420,470),e.L(480,470),e.L(480,430),e.L(160,30),e.Z(),e.fill()}},1e4:{width:z,draw:e=>{e.lineWidth(40),e.M(100,450),e.L(480,70),e.stroke(),e.M(100,450),e.L(130,370),e.stroke()}},10013:{width:z,draw:e=>{e.lineWidth(55),e.M(300,0),e.L(300,500),e.stroke(),e.M(140,370),e.L(460,370),e.stroke()}},10014:{width:z,draw:e=>{e.lineWidth(65),e.M(300,0),e.L(300,500),e.stroke(),e.M(130,370),e.L(470,370),e.stroke()}},10022:{width:z,draw:e=>{e.M(300,480),e.L(230,280),e.L(80,250),e.L(230,220),e.L(300,20),e.L(370,220),e.L(520,250),e.L(370,280),e.Z(),e.fill()}},10023:{width:z,draw:e=>{e.lineWidth(35),e.M(300,480),e.L(230,280),e.L(80,250),e.L(230,220),e.L(300,20),e.L(370,220),e.L(520,250),e.L(370,280),e.Z(),e.stroke()}},10032:{width:z,draw:e=>{e.lineWidth(40);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+220*Math.cos(n),260+220*Math.sin(n)):e.L(300+220*Math.cos(n),260+220*Math.sin(n)),e.L(300+100*Math.cos(r),260+100*Math.sin(r))}e.Z(),e.stroke()}},10132:{width:z,draw:e=>{e.M(500,250),e.L(300,430),e.L(300,310),e.L(80,310),e.L(80,190),e.L(300,190),e.L(300,70),e.Z(),e.fill()}},10140:{width:z,draw:e=>{e.M(520,250),e.L(320,430),e.L(320,310),e.C(200,310,80,290,80,250),e.C(80,210,200,190,320,190),e.L(320,70),e.Z(),e.fill()}},10145:{width:z,draw:e=>{e.M(520,250),e.L(350,420),e.L(350,300),e.L(80,300),e.L(80,200),e.L(350,200),e.L(350,80),e.Z(),e.fill()}}},lR={8976:{width:z,draw:e=>{e.lineWidth(45),e.M(480,350),e.L(120,350),e.L(120,150),e.stroke()}},8981:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.circle(300,250,50),e.fill()}},8986:{width:z,draw:e=>{e.lineWidth(35),e.rect(150,50,300,400),e.stroke(),e.M(300,450),e.L(300,500),e.stroke(),e.M(300,50),e.L(300,0),e.stroke(),e.lineWidth(30),e.M(300,250),e.L(300,350),e.stroke(),e.M(300,250),e.L(380,250),e.stroke()}},9e3:{width:z,draw:e=>{e.lineWidth(35),e.rect(50,80,500,340),e.stroke(),e.lineWidth(20);for(let t=100;t<=500;t+=80)e.M(t,340),e.L(t+40,340),e.L(t+40,300),e.L(t,300),e.Z(),e.stroke();e.M(150,200),e.L(450,200),e.L(450,160),e.L(150,160),e.Z(),e.stroke()}},9115:{width:300,draw:e=>{e.lineWidth(40),e.M(250,500),e.C(100,400,100,300,150,250),e.stroke()}},9116:{width:300,draw:e=>{e.lineWidth(40),e.M(150,500),e.L(150,0),e.stroke()}},9117:{width:300,draw:e=>{e.lineWidth(40),e.M(150,250),e.C(100,200,100,100,250,0),e.stroke()}},9167:{width:z,draw:e=>{e.M(120,150),e.L(480,150),e.L(300,420),e.Z(),e.fill(),e.rect(120,50,360,60),e.fill()}},9193:{width:z,draw:e=>{e.M(80,430),e.L(300,250),e.L(80,70),e.Z(),e.fill(),e.M(300,430),e.L(520,250),e.L(300,70),e.Z(),e.fill()}},9194:{width:z,draw:e=>{e.M(520,430),e.L(300,250),e.L(520,70),e.Z(),e.fill(),e.M(300,430),e.L(80,250),e.L(300,70),e.Z(),e.fill()}},9195:{width:z,draw:e=>{e.M(100,230),e.L(300,450),e.L(500,230),e.Z(),e.fill(),e.M(100,30),e.L(300,250),e.L(500,30),e.Z(),e.fill()}},9196:{width:z,draw:e=>{e.M(100,270),e.L(300,50),e.L(500,270),e.Z(),e.fill(),e.M(100,470),e.L(300,250),e.L(500,470),e.Z(),e.fill()}},9197:{width:z,draw:e=>{e.M(60,430),e.L(250,250),e.L(60,70),e.Z(),e.fill(),e.M(250,430),e.L(440,250),e.L(250,70),e.Z(),e.fill(),e.rect(460,70,50,360),e.fill()}},9198:{width:z,draw:e=>{e.M(540,430),e.L(350,250),e.L(540,70),e.Z(),e.fill(),e.M(350,430),e.L(160,250),e.L(350,70),e.Z(),e.fill(),e.rect(90,70,50,360),e.fill()}},9199:{width:z,draw:e=>{e.M(80,430),e.L(330,250),e.L(80,70),e.Z(),e.fill(),e.rect(370,70,50,360),e.fill(),e.rect(460,70,50,360),e.fill()}},9201:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,230,200),e.stroke(),e.M(260,470),e.L(340,470),e.stroke(),e.M(300,430),e.L(300,480),e.stroke(),e.M(300,230),e.L(300,350),e.stroke(),e.M(300,230),e.L(400,280),e.stroke()}},9202:{width:z,draw:e=>{e.lineWidth(40),e.circle(300,230,200),e.stroke(),e.M(300,230),e.L(300,370),e.stroke(),e.M(300,230),e.L(420,230),e.stroke(),e.M(430,400),e.L(470,440),e.stroke()}},9208:{width:z,draw:e=>{e.rect(140,60,100,380),e.fill(),e.rect(360,60,100,380),e.fill()}},9209:{width:z,draw:e=>{e.rect(100,50,400,400),e.fill()}},9210:{width:z,draw:e=>{e.circle(300,250,200),e.fill()}}},uR={8352:{width:z,draw:e=>{e.lineWidth(45),e.M(480,430),e.C(350,480,180,430,150,300),e.C(120,170,200,50,400,30),e.stroke(),e.M(80,320),e.L(380,320),e.stroke(),e.M(80,220),e.L(380,220),e.stroke()}},8353:{width:z,draw:e=>{e.lineWidth(45),e.M(450,430),e.C(350,480,180,430,150,250),e.C(150,70,350,20,450,70),e.stroke(),e.M(300,520),e.L(300,-20),e.stroke()}},8354:{width:z,draw:e=>{e.lineWidth(45),e.M(450,430),e.C(350,480,180,430,150,250),e.C(150,70,350,20,450,70),e.stroke(),e.M(380,0),e.L(250,500),e.stroke()}},8355:{width:z,draw:e=>{e.lineWidth(50),e.M(200,0),e.L(200,500),e.stroke(),e.M(200,500),e.L(480,500),e.stroke(),e.M(200,300),e.L(400,300),e.stroke(),e.M(120,200),e.L(350,200),e.stroke()}},8356:{width:z,draw:e=>{e.lineWidth(50),e.M(200,0),e.C(200,0,400,0,400,0),e.stroke(),e.M(200,0),e.L(200,500),e.C(200,500,150,520,120,500),e.stroke(),e.M(120,300),e.L(380,300),e.stroke(),e.M(120,180),e.L(380,180),e.stroke()}},8357:{width:z,draw:e=>{e.lineWidth(40),e.M(100,0),e.L(100,350),e.L(200,200),e.L(300,350),e.L(300,0),e.stroke(),e.M(300,500),e.L(300,-30),e.stroke()}},8358:{width:z,draw:e=>{e.lineWidth(45),e.M(130,0),e.L(130,500),e.stroke(),e.M(130,500),e.L(470,0),e.stroke(),e.M(470,0),e.L(470,500),e.stroke(),e.M(80,350),e.L(520,350),e.stroke(),e.M(80,200),e.L(520,200),e.stroke()}},8359:{width:z,draw:e=>{e.lineWidth(45),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(350,500),e.C(450,500,480,400,350,350),e.L(150,350),e.stroke(),e.M(350,0),e.L(500,0),e.stroke()}},8360:{width:z,draw:e=>{e.lineWidth(45),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(350,500),e.C(450,500,480,400,350,350),e.L(150,350),e.stroke(),e.M(280,350),e.L(450,0),e.stroke()}},8361:{width:z,draw:e=>{e.lineWidth(40),e.M(60,500),e.L(180,0),e.L(300,350),e.L(420,0),e.L(540,500),e.stroke(),e.M(80,250),e.L(520,250),e.stroke(),e.M(80,150),e.L(520,150),e.stroke()}},8362:{width:z,draw:e=>{e.lineWidth(45),e.M(150,500),e.L(150,100),e.C(150,30,250,0,300,50),e.stroke(),e.M(450,0),e.L(450,400),e.C(450,470,350,500,300,450),e.stroke()}},8363:{width:z,draw:e=>{e.lineWidth(45),e.M(250,50),e.L(250,500),e.stroke(),e.M(250,400),e.L(350,400),e.C(470,400,470,200,350,200),e.L(250,200),e.stroke(),e.M(150,50),e.L(400,50),e.stroke(),e.M(170,120),e.L(420,120),e.stroke()}},8366:{width:z,draw:e=>{e.lineWidth(50),e.M(120,500),e.L(480,500),e.stroke(),e.M(300,500),e.L(300,0),e.stroke(),e.M(120,350),e.L(480,350),e.stroke(),e.M(120,200),e.L(480,200),e.stroke()}},8369:{width:z,draw:e=>{e.lineWidth(45),e.M(150,0),e.L(150,500),e.stroke(),e.M(150,500),e.L(350,500),e.C(480,500,480,300,350,300),e.L(150,300),e.stroke(),e.M(100,420),e.L(450,420),e.stroke()}},8370:{width:z,draw:e=>{e.lineWidth(45),e.M(450,400),e.C(400,480,200,480,150,350),e.C(100,200,200,50,400,50),e.L(400,250),e.L(250,250),e.stroke(),e.M(300,520),e.L(300,0),e.stroke()}},8371:{width:z,draw:e=>{e.lineWidth(45),e.M(100,0),e.L(300,500),e.L(500,0),e.stroke(),e.M(160,180),e.L(440,180),e.stroke(),e.M(180,280),e.L(420,280),e.stroke()}},8372:{width:z,draw:e=>{e.lineWidth(45),e.M(420,450),e.C(380,500,200,500,180,400),e.C(160,300,400,250,420,150),e.C(440,50,250,0,180,50),e.stroke(),e.M(100,330),e.L(480,330),e.stroke(),e.M(100,220),e.L(480,220),e.stroke()}},8374:{width:z,draw:e=>{e.lineWidth(45),e.M(250,0),e.L(250,480),e.C(250,500,200,520,180,500),e.stroke(),e.M(250,350),e.L(450,350),e.stroke()}},8376:{width:z,draw:e=>{e.lineWidth(50),e.M(100,500),e.L(500,500),e.stroke(),e.M(100,400),e.L(500,400),e.stroke(),e.M(300,400),e.L(300,0),e.stroke()}}},dR={10216:{width:350,draw:e=>{e.lineWidth(40),e.M(280,500),e.L(100,250),e.L(280,0),e.stroke()}},10217:{width:350,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(280,250),e.L(100,0),e.stroke()}},10218:{width:450,draw:e=>{e.lineWidth(35),e.M(250,500),e.L(70,250),e.L(250,0),e.stroke(),e.M(380,500),e.L(200,250),e.L(380,0),e.stroke()}},10219:{width:450,draw:e=>{e.lineWidth(35),e.M(70,500),e.L(250,250),e.L(70,0),e.stroke(),e.M(200,500),e.L(380,250),e.L(200,0),e.stroke()}}},fR={10229:{width:700,draw:e=>{e.lineWidth(45),e.M(650,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,120),e.Z(),e.fill()}},10230:{width:700,draw:e=>{e.lineWidth(45),e.M(50,250),e.L(600,250),e.stroke(),e.M(600,250),e.L(450,380),e.L(450,120),e.Z(),e.fill()}},10231:{width:700,draw:e=>{e.lineWidth(40),e.M(150,250),e.L(550,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill(),e.M(600,250),e.L(470,370),e.L(470,130),e.Z(),e.fill()}},10232:{width:700,draw:e=>{e.M(80,250),e.L(250,430),e.L(250,310),e.L(620,310),e.L(620,190),e.L(250,190),e.L(250,70),e.Z(),e.fill()}},10233:{width:700,draw:e=>{e.M(620,250),e.L(450,430),e.L(450,310),e.L(80,310),e.L(80,190),e.L(450,190),e.L(450,70),e.Z(),e.fill()}},10234:{width:700,draw:e=>{e.M(80,250),e.L(200,400),e.L(200,300),e.L(500,300),e.L(500,400),e.L(620,250),e.L(500,100),e.L(500,200),e.L(200,200),e.L(200,100),e.Z(),e.fill()}}},pR=100,mR=50,hR=400,gR=400,_R=500,vR=450,yR={9639:{width:z,draw:e=>{e.lineWidth(35),e.rect(pR,mR,hR,gR),e.stroke(),e.lineWidth(20);for(let t=-3;t<=3;t++){let n=t*100;e.M(pR+n,vR),e.L(_R+n,mR),e.stroke()}}},9641:{width:z,draw:e=>{e.lineWidth(35),e.rect(pR,mR,hR,gR),e.stroke(),e.lineWidth(15);for(let t=-3;t<=3;t++){let n=t*100;e.M(pR+n,vR),e.L(_R+n,mR),e.stroke(),e.M(pR+n,mR),e.L(_R+n,vR),e.stroke()}}},9649:{width:z,draw:e=>{e.lineWidth(40),e.M(180,50),e.L(500,50),e.L(420,450),e.L(100,450),e.Z(),e.stroke()}},9657:{width:z,draw:e=>{e.lineWidth(35),e.M(200,380),e.L(430,250),e.L(200,120),e.Z(),e.stroke()}},9658:{width:z,draw:e=>{e.M(150,420),e.L(480,250),e.L(150,80),e.Z(),e.fill()}},9659:{width:z,draw:e=>{e.lineWidth(40),e.M(150,420),e.L(480,250),e.L(150,80),e.Z(),e.stroke()}},9663:{width:z,draw:e=>{e.lineWidth(35),e.M(180,380),e.L(420,380),e.L(300,120),e.Z(),e.stroke()}},9667:{width:z,draw:e=>{e.lineWidth(35),e.M(400,380),e.L(170,250),e.L(400,120),e.Z(),e.stroke()}},9668:{width:z,draw:e=>{e.M(450,420),e.L(120,250),e.L(450,80),e.Z(),e.fill()}},9669:{width:z,draw:e=>{e.lineWidth(40),e.M(450,420),e.L(120,250),e.L(450,80),e.Z(),e.stroke()}},9698:{width:z,draw:e=>{e.M(_R,vR),e.L(_R,mR),e.L(pR,mR),e.Z(),e.fill()}},9699:{width:z,draw:e=>{e.M(pR,vR),e.L(pR,mR),e.L(_R,mR),e.Z(),e.fill()}},9700:{width:z,draw:e=>{e.M(pR,mR),e.L(pR,vR),e.L(_R,vR),e.Z(),e.fill()}},9701:{width:z,draw:e=>{e.M(_R,mR),e.L(_R,vR),e.L(pR,vR),e.Z(),e.fill()}},9703:{width:z,draw:e=>{e.lineWidth(35),e.rect(pR,mR,hR,gR),e.stroke(),e.rect(pR,mR,hR/2,gR),e.fill()}},9704:{width:z,draw:e=>{e.lineWidth(35),e.rect(pR,mR,hR,gR),e.stroke(),e.rect(300,mR,hR/2,gR),e.fill()}},9705:{width:z,draw:e=>{e.lineWidth(35),e.rect(pR,mR,hR,gR),e.stroke(),e.M(pR,mR),e.L(pR,vR),e.L(_R,vR),e.Z(),e.fill()}},9706:{width:z,draw:e=>{e.lineWidth(35),e.rect(pR,mR,hR,gR),e.stroke(),e.M(_R,vR),e.L(_R,mR),e.L(pR,mR),e.Z(),e.fill()}},9707:{width:z,draw:e=>{e.lineWidth(35),e.rect(pR,mR,hR,gR),e.stroke(),e.M(300,mR),e.L(300,vR),e.stroke()}},9708:{width:z,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.circle(300,190,30),e.fill()}},9709:{width:z,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.M(300,470),e.L(100,50),e.L(300,50),e.Z(),e.fill()}},9710:{width:z,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.M(300,470),e.L(500,50),e.L(300,50),e.Z(),e.fill()}},9712:{width:z,draw:e=>{e.lineWidth(35),e.rect(pR,mR,hR,gR),e.stroke(),e.rect(pR,250,hR/2,gR/2),e.fill()}},9713:{width:z,draw:e=>{e.lineWidth(35),e.rect(pR,mR,hR,gR),e.stroke(),e.rect(pR,mR,hR/2,gR/2),e.fill()}},9714:{width:z,draw:e=>{e.lineWidth(35),e.rect(pR,mR,hR,gR),e.stroke(),e.rect(300,mR,hR/2,gR/2),e.fill()}},9715:{width:z,draw:e=>{e.lineWidth(35),e.rect(pR,mR,hR,gR),e.stroke(),e.rect(300,250,hR/2,gR/2),e.fill()}},9716:{width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,470),e.C(179,470,80,371,80,250),e.L(300,250),e.Z(),e.fill()}},9717:{width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(80,250),e.C(80,129,179,30,300,30),e.L(300,250),e.Z(),e.fill()}},9718:{width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,30),e.C(421,30,520,129,520,250),e.L(300,250),e.Z(),e.fill()}},9719:{width:z,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(520,250),e.C(520,371,421,470,300,470),e.L(300,250),e.Z(),e.fill()}},9720:{width:z,draw:e=>{e.lineWidth(35),e.M(pR,vR),e.L(_R,vR),e.L(pR,mR),e.Z(),e.stroke()}},9721:{width:z,draw:e=>{e.lineWidth(35),e.M(pR,vR),e.L(_R,vR),e.L(_R,mR),e.Z(),e.stroke()}},9722:{width:z,draw:e=>{e.lineWidth(35),e.M(pR,vR),e.L(pR,mR),e.L(_R,mR),e.Z(),e.stroke()}},9723:{width:z,draw:e=>{e.lineWidth(35),e.rect(130,80,340,340),e.stroke()}},9724:{width:z,draw:e=>{e.rect(130,80,340,340),e.fill()}},9725:{width:z,draw:e=>{e.lineWidth(30),e.rect(170,120,260,260),e.stroke()}},9726:{width:z,draw:e=>{e.rect(170,120,260,260),e.fill()}},9727:{width:z,draw:e=>{e.lineWidth(35),e.M(_R,vR),e.L(_R,mR),e.L(pR,mR),e.Z(),e.stroke()}}},bR=[[8549,6],[8550,7],[8551,8],[8552,9],[8553,10],[8554,11],[8555,12],[8556,50],[8557,100],[8558,500],[8559,1e3]],xR=[[8560,1],[8561,2],[8562,3],[8563,4],[8564,5],[8565,6],[8566,7],[8567,8],[8568,9],[8569,10],[8570,11],[8571,12],[8572,50],[8573,100],[8574,500],[8575,1e3]],SR={};for(let[e,t]of bR)SR[e]=qL(t);for(let[e,t]of xR)SR[e]=JL(t);SR[8576]={width:z,draw:e=>{e.lineWidth(45),e.circle(300,250,220),e.stroke(),e.M(300,470),e.L(300,30),e.stroke()}},SR[8577]={width:z,draw:e=>{e.lineWidth(45),e.M(180,500),e.L(180,0),e.stroke(),e.M(180,500),e.C(520,500,520,0,180,0),e.stroke(),e.M(300,500),e.L(300,0),e.stroke()}},SR[8578]={width:z,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,250,150),e.stroke()}},SR[8579]={width:z,draw:e=>{e.lineWidth(45),e.M(150,450),e.C(450,450,450,50,150,50),e.stroke()}},CR={},wR=[(e,t,n,r)=>{e.ellipse(t,n,r*.28,r*.42),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.42),e.L(t,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.25),e.C(t-r*.25,n+r*.45,t+r*.25,n+r*.45,t+r*.25,n+r*.15),e.L(t-r*.25,n-r*.42),e.L(t+r*.25,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t-r*.22,n+r*.42),e.L(t+r*.22,n+r*.42),e.L(t+r*.22,n),e.L(t-r*.1,n),e.stroke(),e.M(t+r*.22,n),e.L(t+r*.22,n-r*.42),e.L(t-r*.22,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.42),e.L(t-r*.25,n-r*.05),e.L(t+r*.25,n-r*.05),e.stroke(),e.M(t+r*.2,n+r*.42),e.L(t+r*.2,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t+r*.22,n+r*.42),e.L(t-r*.22,n+r*.42),e.L(t-r*.22,n+r*.05),e.L(t+r*.22,n+r*.05),e.C(t+r*.35,n+r*.05,t+r*.35,n-r*.42,t-r*.22,n-r*.42),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.35),e.C(t-r*.1,n+r*.45,t-r*.3,n+r*.15,t-r*.25,n-r*.1),e.C(t-r*.2,n-r*.45,t+r*.25,n-r*.45,t+r*.25,n-r*.1),e.C(t+r*.25,n+r*.1,t-r*.25,n+r*.1,t-r*.25,n-r*.1),e.stroke()},(e,t,n,r)=>{e.M(t-r*.22,n+r*.42),e.L(t+r*.22,n+r*.42),e.L(t-r*.05,n-r*.42),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n+r*.22,r*.2,r*.2),e.stroke(),e.ellipse(t,n-r*.22,r*.22,r*.22),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.35),e.C(t+r*.1,n-r*.45,t+r*.3,n-r*.15,t+r*.25,n+r*.1),e.C(t+r*.2,n+r*.45,t-r*.25,n+r*.45,t-r*.25,n+r*.1),e.C(t-r*.25,n-r*.1,t+r*.25,n-r*.1,t+r*.25,n+r*.1),e.stroke()}],TR=[(e,t,n,r)=>{e.M(t+r*.25,n-r*.3),e.C(t+r*.1,n-r*.45,t-r*.25,n-r*.35,t-r*.25,n-r*.1),e.C(t-r*.25,n+r*.1,t+r*.25,n+r*.1,t+r*.25,n-r*.1),e.L(t+r*.25,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.45),e.L(t-r*.2,n-r*.45),e.stroke(),e.M(t-r*.2,n-r*.05),e.C(t-r*.2,n-r*.45,t+r*.25,n-r*.45,t+r*.25,n-r*.15),e.C(t+r*.25,n+r*.1,t-r*.2,n+r*.1,t-r*.2,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n-r*.25),e.C(t+r*.05,n-r*.45,t-r*.25,n-r*.35,t-r*.25,n-r*.1),e.C(t-r*.25,n+r*.15,t+r*.05,n+r*.15,t+r*.2,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.45),e.L(t+r*.2,n-r*.45),e.stroke(),e.M(t+r*.2,n-r*.05),e.C(t+r*.2,n-r*.45,t-r*.25,n-r*.45,t-r*.25,n-r*.15),e.C(t-r*.25,n+r*.1,t+r*.2,n+r*.1,t+r*.2,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.08),e.L(t+r*.25,n-r*.08),e.C(t+r*.25,n+r*.15,t-r*.25,n+r*.15,t-r*.25,n-r*.08),e.C(t-r*.25,n-r*.4,t+r*.25,n-r*.4,t+r*.25,n-r*.25),e.stroke()},(e,t,n,r)=>{e.M(t+r*.1,n+r*.4),e.C(t+r*.1,n+r*.5,t-r*.1,n+r*.5,t-r*.1,n+r*.4),e.L(t-r*.1,n-r*.4),e.stroke(),e.M(t-r*.2,n+r*.15),e.L(t+r*.15,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t+r*.22,n+r*.1),e.C(t+r*.22,n+r*.4,t-r*.22,n+r*.4,t-r*.22,n+r*.1),e.C(t-r*.22,n-r*.2,t+r*.22,n-r*.2,t+r*.22,n+r*.1),e.L(t+r*.22,n-r*.3),e.C(t+r*.22,n-r*.5,t-r*.22,n-r*.5,t-r*.22,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.45),e.L(t-r*.2,n-r*.45),e.stroke(),e.M(t-r*.2,n+r*.05),e.C(t-r*.2,n+r*.25,t+r*.2,n+r*.25,t+r*.2,n+r*.05),e.L(t+r*.2,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.15),e.L(t,n-r*.35),e.stroke(),e.circle(t,n+r*.3,r*.06),e.fill()},(e,t,n,r)=>{e.M(t+r*.05,n+r*.15),e.L(t+r*.05,n-r*.35),e.C(t+r*.05,n-r*.5,t-r*.15,n-r*.5,t-r*.15,n-r*.35),e.stroke(),e.circle(t+r*.05,n+r*.3,r*.06),e.fill()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.45),e.L(t-r*.2,n-r*.45),e.stroke(),e.M(t+r*.2,n+r*.15),e.L(t-r*.2,n-r*.1),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.45),e.L(t,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n-r*.35),e.L(t-r*.3,n+r*.15),e.C(t-r*.3,n+r*.25,t-r*.05,n+r*.25,t-r*.05,n+r*.15),e.L(t-r*.05,n-r*.35),e.stroke(),e.M(t-r*.05,n+r*.15),e.C(t-r*.05,n+r*.25,t+r*.2,n+r*.25,t+r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.35),e.L(t-r*.2,n+r*.15),e.C(t-r*.2,n+r*.25,t+r*.2,n+r*.25,t+r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n-r*.1,r*.22,r*.28),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.45),e.L(t-r*.2,n+r*.15),e.stroke(),e.M(t-r*.2,n+r*.05),e.C(t-r*.2,n+r*.35,t+r*.25,n+r*.35,t+r*.25,n+r*.05),e.C(t+r*.25,n-r*.2,t-r*.2,n-r*.2,t-r*.2,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n-r*.45),e.L(t+r*.2,n+r*.15),e.stroke(),e.M(t+r*.2,n+r*.05),e.C(t+r*.2,n+r*.35,t-r*.25,n+r*.35,t-r*.25,n+r*.05),e.C(t-r*.25,n-r*.2,t+r*.2,n-r*.2,t+r*.2,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.15,n-r*.35),e.L(t-r*.15,n+r*.15),e.stroke(),e.M(t-r*.15,n+r*.05),e.C(t-r*.15,n+r*.25,t+r*.15,n+r*.25,t+r*.2,n+r*.1),e.stroke()},(e,t,n,r)=>{e.M(t+r*.18,n+r*.08),e.C(t+r*.18,n+r*.22,t-r*.18,n+r*.22,t-r*.18,n+r*.05),e.C(t-r*.18,n-r*.1,t+r*.18,n-r*.1,t+r*.18,n-r*.22),e.C(t+r*.18,n-r*.38,t-r*.18,n-r*.38,t-r*.18,n-r*.25),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.35),e.L(t,n-r*.35),e.C(t,n-r*.5,t+r*.15,n-r*.5,t+r*.15,n-r*.4),e.stroke(),e.M(t-r*.15,n+r*.15),e.L(t+r*.15,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t-r*.2,n-r*.15),e.C(t-r*.2,n-r*.4,t+r*.2,n-r*.4,t+r*.2,n-r*.15),e.L(t+r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.22,n+r*.15),e.L(t,n-r*.35),e.L(t+r*.22,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.15),e.L(t-r*.15,n-r*.35),e.L(t,n),e.L(t+r*.15,n-r*.35),e.L(t+r*.3,n+r*.15),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t+r*.2,n-r*.35),e.stroke(),e.M(t+r*.2,n+r*.15),e.L(t-r*.2,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t,n-r*.1),e.L(t+r*.2,n+r*.15),e.stroke(),e.M(t,n-r*.1),e.L(t-r*.1,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n+r*.15),e.L(t+r*.2,n+r*.15),e.L(t-r*.2,n-r*.35),e.L(t+r*.2,n-r*.35),e.stroke()}];for(let e=0;e<20;e++){let t=e+1;CR[9332+e]={width:z,draw:e=>{if(e.lineWidth(25),ZL(e),e.lineWidth(24),t<=9)YL(e,t,300,250,200);else{let n=Math.floor(t/10),r=t%10;YL(e,n,240,250,150),YL(e,r,380,250,150)}}}}for(let e=0;e<20;e++){let t=e+1;CR[9352+e]={width:z,draw:e=>{if(e.lineWidth(26),t<=9)YL(e,t,260,250,210);else{let n=Math.floor(t/10),r=t%10;YL(e,n,200,250,160),YL(e,r,340,250,160)}e.circle(t<=9?400:460,80,28),e.fill()}}}for(let e=0;e<26;e++)CR[9372+e]={width:z,draw:t=>{t.lineWidth(25),ZL(t),t.lineWidth(24),XL(t,e,300,250,200)}};for(let e=0;e<=20;e++){let t=e+11;CR[9451+e]={width:z,draw:n=>{if(n.lineWidth(55),n.circle(300,250,215),n.stroke(),n.lineWidth(24),e<=9){let e=Math.floor(t/10),r=t%10;YL(n,e,230,250,150),YL(n,r,370,250,150)}else if(e<=19){let t=e-9;t<=9?YL(n,t,300,250,170):(YL(n,1,230,250,140),YL(n,0,370,250,140))}else YL(n,0,300,250,170)}}}}));function DR(e,t,n,r,i,a,o=35){return{width:H,draw:s=>{a||s.lineWidth(o);for(let a=0;a<e;a++){let o=(a*360/e-90)*(Math.PI/180),c=(a*360/e+180/e-90)*(Math.PI/180);a===0?s.M(t+r*Math.cos(o),n+r*Math.sin(o)):s.L(t+r*Math.cos(o),n+r*Math.sin(o)),s.L(t+i*Math.cos(c),n+i*Math.sin(c))}s.Z(),a?s.fill():s.stroke()}}}var H,OR,kR,AR,jR,MR,NR,PR,FR=t((()=>{H=600,OR={8636:{width:H,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,250),e.Z(),e.fill()}},8637:{width:H,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,120),e.L(250,250),e.Z(),e.fill()}},8638:{width:H,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(430,300),e.L(300,300),e.Z(),e.fill()}},8639:{width:H,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(170,300),e.L(300,300),e.Z(),e.fill()}},8640:{width:H,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,380),e.L(350,250),e.Z(),e.fill()}},8641:{width:H,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,120),e.L(350,250),e.Z(),e.fill()}},8642:{width:H,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(430,200),e.L(300,200),e.Z(),e.fill()}},8643:{width:H,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(170,200),e.L(300,200),e.Z(),e.fill()}},8644:{width:H,draw:e=>{e.lineWidth(35),e.M(100,330),e.L(500,330),e.stroke(),e.M(500,330),e.L(380,400),e.L(380,260),e.Z(),e.fill(),e.M(500,170),e.L(100,170),e.stroke(),e.M(100,170),e.L(220,240),e.L(220,100),e.Z(),e.fill()}},8645:{width:H,draw:e=>{e.lineWidth(35),e.M(200,80),e.L(200,420),e.stroke(),e.M(200,420),e.L(130,310),e.L(270,310),e.Z(),e.fill(),e.M(400,420),e.L(400,80),e.stroke(),e.M(400,80),e.L(330,190),e.L(470,190),e.Z(),e.fill()}},8646:{width:H,draw:e=>{e.lineWidth(35),e.M(500,330),e.L(100,330),e.stroke(),e.M(100,330),e.L(220,400),e.L(220,260),e.Z(),e.fill(),e.M(100,170),e.L(500,170),e.stroke(),e.M(500,170),e.L(380,240),e.L(380,100),e.Z(),e.fill()}},8647:{width:H,draw:e=>{e.lineWidth(35),e.M(500,330),e.L(130,330),e.stroke(),e.M(130,330),e.L(250,400),e.L(250,260),e.Z(),e.fill(),e.M(500,170),e.L(130,170),e.stroke(),e.M(130,170),e.L(250,240),e.L(250,100),e.Z(),e.fill()}},8648:{width:H,draw:e=>{e.lineWidth(35),e.M(200,80),e.L(200,420),e.stroke(),e.M(200,420),e.L(130,310),e.L(270,310),e.Z(),e.fill(),e.M(400,80),e.L(400,420),e.stroke(),e.M(400,420),e.L(330,310),e.L(470,310),e.Z(),e.fill()}},8649:{width:H,draw:e=>{e.lineWidth(35),e.M(100,330),e.L(470,330),e.stroke(),e.M(470,330),e.L(350,400),e.L(350,260),e.Z(),e.fill(),e.M(100,170),e.L(470,170),e.stroke(),e.M(470,170),e.L(350,240),e.L(350,100),e.Z(),e.fill()}},8650:{width:H,draw:e=>{e.lineWidth(35),e.M(200,420),e.L(200,80),e.stroke(),e.M(200,80),e.L(130,190),e.L(270,190),e.Z(),e.fill(),e.M(400,420),e.L(400,80),e.stroke(),e.M(400,80),e.L(330,190),e.L(470,190),e.Z(),e.fill()}},8651:{width:H,draw:e=>{e.lineWidth(35),e.M(500,330),e.L(100,330),e.stroke(),e.M(100,330),e.L(220,410),e.L(220,330),e.Z(),e.fill(),e.M(100,170),e.L(500,170),e.stroke(),e.M(500,170),e.L(380,90),e.L(380,170),e.Z(),e.fill()}},8652:{width:H,draw:e=>{e.lineWidth(35),e.M(100,330),e.L(500,330),e.stroke(),e.M(500,330),e.L(380,410),e.L(380,330),e.Z(),e.fill(),e.M(500,170),e.L(100,170),e.stroke(),e.M(100,170),e.L(220,90),e.L(220,170),e.Z(),e.fill()}},8653:{width:H,draw:e=>{e.M(100,250),e.L(280,420),e.L(280,300),e.L(500,300),e.L(500,200),e.L(280,200),e.L(280,80),e.Z(),e.fill(),e.lineWidth(50),e.M(350,120),e.L(250,380),e.stroke()}},8654:{width:H,draw:e=>{e.M(80,250),e.L(220,400),e.L(220,300),e.L(380,300),e.L(380,400),e.L(520,250),e.L(380,100),e.L(380,200),e.L(220,200),e.L(220,100),e.Z(),e.fill(),e.lineWidth(50),e.M(350,120),e.L(250,380),e.stroke()}},8655:{width:H,draw:e=>{e.M(500,250),e.L(320,420),e.L(320,300),e.L(100,300),e.L(100,200),e.L(320,200),e.L(320,80),e.Z(),e.fill(),e.lineWidth(50),e.M(250,120),e.L(350,380),e.stroke()}},8661:{width:H,draw:e=>{e.M(300,480),e.L(460,340),e.L(360,340),e.L(360,160),e.L(460,160),e.L(300,20),e.L(140,160),e.L(240,160),e.L(240,340),e.L(140,340),e.Z(),e.fill()}},8662:{width:H,draw:e=>{e.M(100,460),e.L(100,260),e.L(200,310),e.L(380,130),e.L(430,180),e.L(250,360),e.L(300,460),e.Z(),e.fill()}},8663:{width:H,draw:e=>{e.M(500,460),e.L(300,460),e.L(350,360),e.L(170,180),e.L(220,130),e.L(400,310),e.L(500,260),e.Z(),e.fill()}},8664:{width:H,draw:e=>{e.M(500,40),e.L(500,240),e.L(400,190),e.L(220,370),e.L(170,320),e.L(350,140),e.L(300,40),e.Z(),e.fill()}},8665:{width:H,draw:e=>{e.M(100,40),e.L(300,40),e.L(250,140),e.L(430,320),e.L(380,370),e.L(200,190),e.L(100,240),e.Z(),e.fill()}},8666:{width:H,draw:e=>{e.lineWidth(30),e.M(500,310),e.L(200,310),e.stroke(),e.M(500,250),e.L(200,250),e.stroke(),e.M(500,190),e.L(200,190),e.stroke(),e.M(100,250),e.L(250,400),e.L(250,100),e.Z(),e.fill()}},8667:{width:H,draw:e=>{e.lineWidth(30),e.M(100,310),e.L(400,310),e.stroke(),e.M(100,250),e.L(400,250),e.stroke(),e.M(100,190),e.L(400,190),e.stroke(),e.M(500,250),e.L(350,400),e.L(350,100),e.Z(),e.fill()}},8668:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.C(440,330,380,170,300,250),e.C(220,330,180,170,130,250),e.stroke(),e.M(130,250),e.L(230,350),e.L(230,150),e.Z(),e.fill()}},8669:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.C(160,330,220,170,300,250),e.C(380,330,420,170,470,250),e.stroke(),e.M(470,250),e.L(370,350),e.L(370,150),e.Z(),e.fill()}},8670:{width:H,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(180,320),e.L(420,320),e.Z(),e.fill(),e.lineWidth(40),e.M(200,200),e.L(400,200),e.stroke(),e.M(200,130),e.L(400,130),e.stroke()}},8671:{width:H,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(180,180),e.L(420,180),e.Z(),e.fill(),e.lineWidth(40),e.M(200,300),e.L(400,300),e.stroke(),e.M(200,370),e.L(400,370),e.stroke()}},8672:{width:H,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(430,250),e.stroke(),e.M(370,250),e.L(300,250),e.stroke(),e.M(240,250),e.L(170,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill()}},8673:{width:H,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,120),e.stroke(),e.M(300,180),e.L(300,250),e.stroke(),e.M(300,310),e.L(300,380),e.stroke(),e.M(300,450),e.L(180,320),e.L(420,320),e.Z(),e.fill()}},8674:{width:H,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(170,250),e.stroke(),e.M(230,250),e.L(300,250),e.stroke(),e.M(360,250),e.L(430,250),e.stroke(),e.M(500,250),e.L(370,370),e.L(370,130),e.Z(),e.fill()}},8675:{width:H,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,380),e.stroke(),e.M(300,320),e.L(300,250),e.stroke(),e.M(300,190),e.L(300,120),e.stroke(),e.M(300,50),e.L(180,180),e.L(420,180),e.Z(),e.fill()}},8676:{width:H,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(150,250),e.stroke(),e.M(150,250),e.L(280,370),e.L(280,130),e.Z(),e.fill(),e.M(100,100),e.L(100,400),e.stroke()}},8677:{width:H,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(450,250),e.stroke(),e.M(450,250),e.L(320,370),e.L(320,130),e.Z(),e.fill(),e.M(500,100),e.L(500,400),e.stroke()}},8678:{width:H,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(250,430),e.L(250,320),e.L(520,320),e.L(520,180),e.L(250,180),e.L(250,70),e.Z(),e.stroke()}},8679:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(500,270),e.L(390,270),e.L(390,30),e.L(210,30),e.L(210,270),e.L(100,270),e.Z(),e.stroke()}},8680:{width:H,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(350,430),e.L(350,320),e.L(80,320),e.L(80,180),e.L(350,180),e.L(350,70),e.Z(),e.stroke()}},8681:{width:H,draw:e=>{e.lineWidth(40),e.M(300,30),e.L(100,230),e.L(210,230),e.L(210,470),e.L(390,470),e.L(390,230),e.L(500,230),e.Z(),e.stroke()}},8682:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(490,280),e.L(380,280),e.L(380,100),e.L(220,100),e.L(220,280),e.L(110,280),e.Z(),e.stroke(),e.M(130,40),e.L(470,40),e.stroke()}},8693:{width:H,draw:e=>{e.lineWidth(35),e.M(200,420),e.L(200,80),e.stroke(),e.M(200,80),e.L(130,190),e.L(270,190),e.Z(),e.fill(),e.M(400,80),e.L(400,420),e.stroke(),e.M(400,420),e.L(330,310),e.L(470,310),e.Z(),e.fill()}}},kR={10024:{width:H,draw:e=>{e.M(300,420),e.L(270,300),e.L(180,280),e.L(270,260),e.L(300,140),e.L(330,260),e.L(420,280),e.L(330,300),e.Z(),e.fill(),e.M(440,460),e.L(430,420),e.L(400,410),e.L(430,400),e.L(440,360),e.L(450,400),e.L(480,410),e.L(450,420),e.Z(),e.fill(),e.M(160,170),e.L(150,130),e.L(120,120),e.L(150,110),e.L(160,70),e.L(170,110),e.L(200,120),e.L(170,130),e.Z(),e.fill()}},10025:DR(5,300,260,220,90,!1,40),10026:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,260,230),e.stroke();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+180*Math.cos(n),260+180*Math.sin(n)):e.L(300+180*Math.cos(n),260+180*Math.sin(n)),e.L(300+70*Math.cos(r),260+70*Math.sin(r))}e.Z(),e.stroke()}},10027:DR(5,300,260,230,110,!0),10028:{width:H,draw:e=>{e.lineWidth(40);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+220*Math.cos(n),260+220*Math.sin(n)):e.L(300+220*Math.cos(n),260+220*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke(),e.circle(300,260,60),e.fill()}},10029:DR(5,300,260,230,100,!0),10030:DR(5,300,260,240,105,!0),10031:DR(5,300,260,220,80,!1,30),10033:{width:H,draw:e=>{e.lineWidth(60);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},10034:{width:H,draw:e=>{e.lineWidth(40);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300+60*Math.cos(n),250+60*Math.sin(n)),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},10035:{width:H,draw:e=>{e.lineWidth(45);for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300,250),e.L(300+190*Math.cos(n),250+190*Math.sin(n))}e.stroke()}},10036:DR(8,300,260,220,100,!0),10037:DR(8,300,260,220,80,!1,30),10038:DR(6,300,260,220,110,!0),10039:DR(8,300,260,220,90,!0),10040:DR(8,300,260,230,80,!0),10041:DR(12,300,260,220,130,!0),10042:DR(16,300,260,220,140,!0),10043:DR(6,300,260,220,80,!0),10044:DR(6,300,260,220,80,!1,35),10045:DR(6,300,260,230,70,!0),10046:DR(6,300,260,210,120,!1,40),10047:DR(6,300,260,210,120,!0),10048:DR(6,300,260,210,120,!1,35),10049:DR(8,300,260,210,130,!1,40),10050:{width:H,draw:e=>{e.lineWidth(30),e.circle(300,260,230),e.stroke();for(let t=0;t<8;t++){let n=(t*45-90)*Math.PI/180,r=(t*45+22.5-90)*Math.PI/180;t===0?e.M(300+190*Math.cos(n),260+190*Math.sin(n)):e.L(300+190*Math.cos(n),260+190*Math.sin(n)),e.L(300+100*Math.cos(r),260+100*Math.sin(r))}e.Z(),e.stroke()}},10051:DR(8,300,260,220,70,!0),10052:{width:H,draw:e=>{e.lineWidth(35);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke(),e.lineWidth(25);for(let t=0;t<360;t+=60){let n=t*Math.PI/180,r=300+130*Math.cos(n),i=250+130*Math.sin(n),a=n+Math.PI/2;e.M(r+40*Math.cos(a),i+40*Math.sin(a)),e.L(r-40*Math.cos(a),i-40*Math.sin(a))}e.stroke()}},10053:{width:H,draw:e=>{e.lineWidth(40);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+190*Math.cos(n),250+190*Math.sin(n))}e.stroke()}},10054:{width:H,draw:e=>{e.lineWidth(45);for(let t=0;t<360;t+=60){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},10055:{width:H,draw:e=>{e.M(300,480),e.L(260,290),e.L(100,250),e.L(260,210),e.L(300,20),e.L(340,210),e.L(500,250),e.L(340,290),e.Z(),e.fill()}},10056:{width:H,draw:e=>{e.M(300,490),e.L(250,300),e.L(80,250),e.L(250,200),e.L(300,10),e.L(350,200),e.L(520,250),e.L(350,300),e.Z(),e.fill()}},10057:{width:H,draw:e=>{e.lineWidth(55);for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300,250),e.L(300+180*Math.cos(n),250+180*Math.sin(n))}e.stroke()}},10058:DR(8,300,260,220,60,!0),10059:DR(8,300,260,230,50,!0),10060:{width:H,draw:e=>{e.lineWidth(80),e.M(120,70),e.L(480,430),e.stroke(),e.M(120,430),e.L(480,70),e.stroke()}},10061:{width:H,draw:e=>{e.lineWidth(50),e.circle(300,260,190),e.stroke(),e.lineWidth(25),e.M(420,100),e.C(500,140,530,240,490,340),e.stroke()}},10062:{width:H,draw:e=>{e.rect(80,30,440,440),e.fill()}},10067:{width:H,draw:e=>{e.lineWidth(65),e.M(200,400),e.C(200,500,400,500,400,400),e.C(400,320,300,300,300,220),e.stroke(),e.circle(300,100,40),e.fill()}},10068:{width:H,draw:e=>{e.lineWidth(50),e.M(200,400),e.C(200,500,400,500,400,400),e.C(400,320,300,300,300,220),e.stroke(),e.lineWidth(40),e.circle(300,100,35),e.stroke()}},10069:{width:H,draw:e=>{e.lineWidth(50),e.M(300,480),e.L(300,180),e.stroke(),e.lineWidth(40),e.circle(300,80,35),e.stroke()}},10071:{width:H,draw:e=>{e.lineWidth(75),e.M(300,480),e.L(300,180),e.stroke(),e.circle(300,70,45),e.fill()}},10082:{width:H,draw:e=>{e.lineWidth(55),e.M(300,480),e.L(300,200),e.stroke(),e.circle(300,100,35),e.fill(),e.circle(300,500,20),e.fill()}},10083:{width:H,draw:e=>{e.M(300,320),e.C(300,320,180,400,180,450),e.C(180,490,240,510,300,510),e.C(360,510,420,490,420,450),e.C(420,400,300,320,300,320),e.Z(),e.fill(),e.lineWidth(55),e.M(300,300),e.L(300,130),e.stroke(),e.circle(300,50,35),e.fill()}},10085:{width:H,draw:e=>{e.M(250,80),e.C(250,80,80,200,80,310),e.C(80,400,160,440,250,440),e.C(340,440,400,400,400,310),e.C(400,200,250,80,250,80),e.Z(),e.fill()}},10086:{width:H,draw:e=>{e.lineWidth(35),e.M(300,80),e.C(300,80,100,220,100,340),e.C(100,440,190,490,300,490),e.C(410,490,500,440,500,340),e.C(500,220,300,80,300,80),e.Z(),e.stroke(),e.M(300,150),e.C(250,200,200,300,300,400),e.C(400,300,350,200,300,150),e.stroke()}},10087:{width:H,draw:e=>{e.lineWidth(35),e.M(250,80),e.C(250,80,80,200,80,310),e.C(80,400,160,440,250,440),e.C(340,440,400,400,400,310),e.C(400,200,250,80,250,80),e.Z(),e.stroke()}},10133:{width:H,draw:e=>{e.rect(220,50,160,400),e.fill(),e.rect(100,170,400,160),e.fill()}},10134:{width:H,draw:e=>{e.rect(100,180,400,140),e.fill()}},10135:{width:H,draw:e=>{e.rect(100,200,400,100),e.fill(),e.circle(300,400,50),e.fill(),e.circle(300,100,50),e.fill()}},10136:{width:H,draw:e=>{e.M(480,50),e.L(480,250),e.L(320,200),e.L(140,430),e.L(100,400),e.L(280,170),e.L(230,50),e.Z(),e.fill()}},10137:{width:H,draw:e=>{e.M(520,250),e.L(340,430),e.L(340,310),e.L(80,310),e.L(80,190),e.L(340,190),e.L(340,70),e.Z(),e.fill()}},10138:{width:H,draw:e=>{e.M(480,450),e.L(230,450),e.L(280,330),e.L(100,100),e.L(140,70),e.L(320,300),e.L(480,250),e.Z(),e.fill()}},10139:{width:H,draw:e=>{e.M(520,250),e.L(350,400),e.L(350,280),e.L(80,250),e.L(350,220),e.L(350,100),e.Z(),e.fill()}},10141:{width:H,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(400,250),e.stroke(),e.M(520,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},10142:{width:H,draw:e=>{e.lineWidth(50),e.M(80,250),e.L(380,250),e.stroke(),e.M(530,250),e.L(350,420),e.L(350,80),e.Z(),e.fill()}},10143:{width:H,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(160,250),e.stroke(),e.M(210,250),e.L(290,250),e.stroke(),e.M(340,250),e.L(400,250),e.stroke(),e.M(520,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},10144:{width:H,draw:e=>{e.lineWidth(55),e.M(80,250),e.L(170,250),e.stroke(),e.M(230,250),e.L(350,250),e.stroke(),e.M(530,250),e.L(350,420),e.L(350,80),e.Z(),e.fill()}},10146:{width:H,draw:e=>{e.M(520,250),e.L(200,430),e.L(280,250),e.L(200,70),e.Z(),e.fill()}},10147:{width:H,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(200,430),e.L(280,250),e.L(200,70),e.Z(),e.stroke()}},10148:{width:H,draw:e=>{e.M(520,250),e.L(100,450),e.L(100,50),e.Z(),e.fill()}},10149:{width:H,draw:e=>{e.M(500,200),e.L(380,320),e.L(380,240),e.C(300,240,200,280,150,380),e.L(100,380),e.C(140,220,260,150,380,150),e.L(380,80),e.Z(),e.fill()}},10150:{width:H,draw:e=>{e.M(500,300),e.L(380,420),e.L(380,350),e.C(260,350,140,280,100,120),e.L(150,120),e.C(200,220,300,260,380,260),e.L(380,180),e.Z(),e.fill()}},10151:{width:H,draw:e=>{e.M(500,250),e.L(350,380),e.L(350,310),e.L(100,310),e.L(100,190),e.L(350,190),e.L(350,120),e.Z(),e.fill()}},10152:{width:H,draw:e=>{e.M(520,250),e.L(320,440),e.L(320,310),e.L(80,310),e.C(150,250,150,250,80,190),e.L(320,190),e.L(320,60),e.Z(),e.fill()}},10153:{width:H,draw:e=>{e.lineWidth(35),e.M(520,250),e.L(340,430),e.L(340,310),e.L(80,310),e.L(80,190),e.L(340,190),e.L(340,70),e.Z(),e.stroke()}},10154:{width:H,draw:e=>{e.lineWidth(35),e.M(520,250),e.L(340,430),e.L(340,310),e.L(80,310),e.L(80,190),e.L(340,190),e.L(340,70),e.Z(),e.fillStroke()}},10155:{width:H,draw:e=>{e.M(520,250),e.L(340,440),e.L(340,310),e.L(100,310),e.L(100,190),e.L(340,190),e.L(340,60),e.Z(),e.fill()}},10156:{width:H,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(340,440),e.L(340,310),e.L(100,310),e.L(100,190),e.L(340,190),e.L(340,60),e.Z(),e.fillStroke()}},10157:{width:H,draw:e=>{e.lineWidth(45),e.M(510,250),e.L(340,420),e.L(340,310),e.L(90,310),e.L(90,190),e.L(340,190),e.L(340,80),e.Z(),e.stroke()}},10158:{width:H,draw:e=>{e.lineWidth(50),e.M(510,250),e.L(340,420),e.L(340,310),e.L(90,310),e.L(90,190),e.L(340,190),e.L(340,80),e.Z(),e.stroke()}},10159:{width:H,draw:e=>{e.M(520,250),e.L(350,430),e.L(350,310),e.L(100,310),e.L(140,250),e.L(100,190),e.L(350,190),e.L(350,70),e.Z(),e.fill()}},10161:{width:H,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(350,430),e.L(350,310),e.L(100,310),e.L(140,250),e.L(100,190),e.L(350,190),e.L(350,70),e.Z(),e.stroke()}},10162:{width:H,draw:e=>{e.circle(300,250,230),e.fill()}},10163:{width:H,draw:e=>{e.lineWidth(30),e.M(80,250),e.L(450,250),e.stroke(),e.M(520,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(20),e.M(120,250),e.L(80,320),e.stroke(),e.M(120,250),e.L(80,180),e.stroke()}},10164:{width:H,draw:e=>{e.M(480,50),e.L(480,220),e.L(200,400),e.L(250,50),e.Z(),e.fill()}},10165:{width:H,draw:e=>{e.M(520,250),e.L(390,360),e.L(390,275),e.L(80,275),e.L(120,250),e.L(80,225),e.L(390,225),e.L(390,140),e.Z(),e.fill()}},10166:{width:H,draw:e=>{e.M(480,450),e.L(250,450),e.L(200,100),e.L(480,280),e.Z(),e.fill()}},10167:{width:H,draw:e=>{e.M(500,50),e.L(500,240),e.L(180,420),e.L(230,50),e.Z(),e.fill()}},10168:{width:H,draw:e=>{e.M(530,250),e.L(380,380),e.L(380,290),e.L(70,290),e.L(120,250),e.L(70,210),e.L(380,210),e.L(380,120),e.Z(),e.fill()}},10169:{width:H,draw:e=>{e.M(500,450),e.L(230,450),e.L(180,80),e.L(500,260),e.Z(),e.fill()}},10170:{width:H,draw:e=>{e.M(520,250),e.L(370,380),e.L(370,270),e.C(200,270,120,260,80,250),e.C(120,240,200,230,370,230),e.L(370,120),e.Z(),e.fill()}},10171:{width:H,draw:e=>{e.M(530,250),e.L(380,400),e.L(380,290),e.C(250,290,150,280,70,250),e.C(150,220,250,210,380,210),e.L(380,100),e.Z(),e.fill()}},10172:{width:H,draw:e=>{e.lineWidth(35),e.M(80,310),e.L(400,260),e.stroke(),e.M(80,190),e.L(400,240),e.stroke(),e.M(520,250),e.L(380,370),e.L(380,130),e.Z(),e.fill()}},10173:{width:H,draw:e=>{e.M(530,250),e.L(380,400),e.L(380,280),e.L(70,320),e.L(70,180),e.L(380,220),e.L(380,100),e.Z(),e.fill()}},10174:{width:H,draw:e=>{e.lineWidth(35),e.M(510,250),e.L(340,420),e.L(340,310),e.L(90,310),e.L(90,190),e.L(340,190),e.L(340,80),e.Z(),e.stroke()}}},AR={9730:{width:H,draw:e=>{e.lineWidth(40),e.M(80,280),e.C(80,480,300,520,300,520),e.C(300,520,520,480,520,280),e.L(80,280),e.stroke(),e.M(300,280),e.L(300,80),e.C(300,30,260,20,240,50),e.stroke()}},9731:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,100,80),e.stroke(),e.circle(300,260,110),e.stroke(),e.circle(300,430,70),e.stroke()}},9732:{width:H,draw:e=>{e.circle(420,380,70),e.fill(),e.lineWidth(30),e.M(370,420),e.C(250,470,100,480,80,460),e.stroke(),e.M(380,440),e.C(280,490,120,500,80,490),e.stroke()}},9748:{width:H,draw:e=>{e.lineWidth(35),e.M(80,300),e.C(80,480,300,500,300,500),e.C(300,500,520,480,520,300),e.L(80,300),e.stroke(),e.M(300,300),e.L(300,100),e.C(300,50,260,40,240,70),e.stroke(),e.lineWidth(25),e.M(150,200),e.L(130,160),e.stroke(),e.M(300,180),e.L(280,140),e.stroke(),e.M(450,200),e.L(430,160),e.stroke()}},9749:{width:H,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(120,300),e.L(400,300),e.L(400,50),e.stroke(),e.M(400,250),e.C(480,250,500,180,480,120),e.C(460,80,400,80,400,100),e.stroke(),e.lineWidth(25),e.M(200,340),e.C(200,380,220,400,200,440),e.stroke(),e.M(300,340),e.C(300,380,320,400,300,440),e.stroke()}},9752:{width:H,draw:e=>{e.circle(300,370,80),e.fill(),e.circle(220,280,80),e.fill(),e.circle(380,280,80),e.fill(),e.lineWidth(30),e.M(300,290),e.C(300,200,280,100,260,50),e.stroke()}},9760:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,350,120),e.stroke(),e.circle(260,370,25),e.fill(),e.circle(340,370,25),e.fill(),e.M(250,260),e.L(350,260),e.stroke(),e.lineWidth(30),e.M(130,100),e.L(470,200),e.stroke(),e.M(130,200),e.L(470,100),e.stroke()}},9762:{width:H,draw:e=>{e.circle(300,250,40),e.fill(),e.lineWidth(35);for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180,r=300+70*Math.cos(n-.4),i=250+70*Math.sin(n-.4),a=300+200*Math.cos(n-.4),o=250+200*Math.sin(n-.4),s=300+200*Math.cos(n+.4),c=250+200*Math.sin(n+.4),l=300+70*Math.cos(n+.4),u=250+70*Math.sin(n+.4);e.M(r,i),e.L(a,o),e.L(s,c),e.L(l,u),e.Z(),e.fill()}}},9763:{width:H,draw:e=>{e.lineWidth(35);for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180;e.circle(300+90*Math.cos(n),250+90*Math.sin(n),110),e.stroke()}e.circle(300,250,25),e.fill()}},9766:{width:H,draw:e=>{e.lineWidth(45),e.M(300,0),e.L(300,500),e.stroke(),e.M(180,400),e.L(420,400),e.stroke(),e.M(180,120),e.L(420,80),e.stroke(),e.M(220,460),e.L(380,460),e.stroke()}},9784:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,250,200),e.stroke();for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300,250),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke(),e.circle(300,250,40),e.fill()}},9788:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,250,110),e.stroke();for(let t=0;t<360;t+=30){let n=t*Math.PI/180;e.M(300+130*Math.cos(n),250+130*Math.sin(n)),e.L(300+210*Math.cos(n),250+210*Math.sin(n))}e.stroke()}},9800:{width:H,draw:e=>{e.lineWidth(45),e.M(150,50),e.C(150,300,300,400,300,480),e.stroke(),e.M(450,50),e.C(450,300,300,400,300,480),e.stroke()}},9801:{width:H,draw:e=>{e.lineWidth(45),e.circle(300,200,150),e.stroke(),e.M(100,430),e.C(200,500,400,500,500,430),e.stroke()}},9802:{width:H,draw:e=>{e.lineWidth(45),e.M(120,450),e.C(200,500,400,500,480,450),e.stroke(),e.M(120,50),e.C(200,0,400,0,480,50),e.stroke(),e.M(220,450),e.L(220,50),e.stroke(),e.M(380,450),e.L(380,50),e.stroke()}},9803:{width:H,draw:e=>{e.lineWidth(45),e.M(480,380),e.C(300,500,120,380,120,300),e.stroke(),e.circle(200,350,60),e.fill(),e.M(120,120),e.C(300,0,480,120,480,200),e.stroke(),e.circle(400,150,60),e.fill()}},9804:{width:H,draw:e=>{e.lineWidth(45),e.circle(200,150,100),e.stroke(),e.M(300,150),e.C(400,150,480,250,480,350),e.C(480,450,420,480,380,430),e.stroke()}},9805:{width:H,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(100,400),e.C(100,480,200,480,200,400),e.L(200,50),e.stroke(),e.M(200,400),e.C(200,480,300,480,300,400),e.L(300,50),e.stroke(),e.M(300,300),e.L(480,100),e.stroke()}},9806:{width:H,draw:e=>{e.lineWidth(45),e.M(100,50),e.L(500,50),e.stroke(),e.M(100,200),e.L(500,200),e.stroke(),e.M(300,200),e.C(150,200,100,350,200,420),e.stroke(),e.M(300,200),e.C(450,200,500,350,400,420),e.stroke()}},9807:{width:H,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(100,400),e.C(100,480,200,480,200,400),e.L(200,50),e.stroke(),e.M(200,400),e.C(200,480,300,480,300,400),e.L(300,50),e.stroke(),e.M(300,50),e.L(400,50),e.L(350,100),e.stroke()}},9808:{width:H,draw:e=>{e.lineWidth(45),e.M(120,80),e.L(480,440),e.stroke(),e.M(480,440),e.L(350,440),e.stroke(),e.M(480,440),e.L(480,310),e.stroke(),e.M(200,260),e.L(380,160),e.stroke()}},9809:{width:H,draw:e=>{e.lineWidth(45),e.M(100,450),e.L(100,200),e.C(100,100,200,50,300,100),e.C(400,150,450,100,450,50),e.stroke(),e.M(450,50),e.C(500,100,500,200,420,250),e.stroke()}},9810:{width:H,draw:e=>{e.lineWidth(45),e.M(80,350),e.C(150,400,250,300,300,350),e.C(350,400,450,300,520,350),e.stroke(),e.M(80,200),e.C(150,250,250,150,300,200),e.C(350,250,450,150,520,200),e.stroke()}},9811:{width:H,draw:e=>{e.lineWidth(45),e.M(120,100),e.C(200,250,200,250,120,400),e.stroke(),e.M(480,100),e.C(400,250,400,250,480,400),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},9825:{width:H,draw:e=>{e.lineWidth(35),e.M(300,80),e.C(300,80,80,200,80,340),e.C(80,440,180,490,300,490),e.C(420,490,520,440,520,340),e.C(520,200,300,80,300,80),e.Z(),e.stroke()}},9826:{width:H,draw:e=>{e.lineWidth(35),e.M(300,500),e.L(500,250),e.L(300,0),e.L(100,250),e.Z(),e.stroke()}},9828:{width:H,draw:e=>{e.lineWidth(35),e.M(300,500),e.C(300,500,80,350,80,200),e.C(80,100,200,50,300,180),e.C(400,50,520,100,520,200),e.C(520,350,300,500,300,500),e.Z(),e.stroke(),e.lineWidth(30),e.M(280,0),e.L(320,0),e.L(310,140),e.L(290,140),e.Z(),e.stroke()}},9831:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,370,100),e.stroke(),e.circle(195,240,90),e.stroke(),e.circle(405,240,90),e.stroke(),e.lineWidth(30),e.M(280,0),e.L(320,0),e.L(310,180),e.L(290,180),e.Z(),e.stroke()}},9851:{width:H,draw:e=>{e.lineWidth(40);for(let t=0;t<3;t++){let n=(t*120+30)*Math.PI/180,r=(t*120+90)*Math.PI/180;e.M(300+180*Math.cos(n),240+180*Math.sin(n)),e.C(300+180*1.2*Math.cos((n+r)/2),240+180*1.2*Math.sin((n+r)/2),300+180*1.2*Math.cos((n+r)/2),240+180*1.2*Math.sin((n+r)/2),300+180*Math.cos(r),240+180*Math.sin(r))}e.stroke();for(let t=0;t<3;t++){let n=(t*120+90)*Math.PI/180,r=(t*120+120)*Math.PI/180,i=300+180*Math.cos(n),a=240+180*Math.sin(n);e.M(i,a),e.L(i+40*Math.cos(r+2.5),a+40*Math.sin(r+2.5)),e.L(i+40*Math.cos(r-2.5),a+40*Math.sin(r-2.5)),e.Z(),e.fill()}}},9854:{width:H,draw:e=>{e.lineWidth(35),e.M(300,250),e.C(300,350,420,380,450,300),e.C(480,220,420,150,380,180),e.C(340,210,300,250,300,250),e.C(300,250,260,290,220,320),e.C(180,350,120,280,150,200),e.C(180,120,300,150,300,250),e.stroke()}},9855:{width:H,draw:e=>{e.lineWidth(40),e.circle(280,420,40),e.fill(),e.M(280,380),e.L(280,220),e.L(380,220),e.stroke(),e.circle(300,160,100),e.stroke(),e.M(380,220),e.L(420,80),e.stroke()}},9874:{width:H,draw:e=>{e.lineWidth(40),e.M(150,80),e.L(400,380),e.stroke(),e.M(450,80),e.L(200,380),e.stroke(),e.M(350,350),e.L(450,420),e.stroke(),e.M(150,420),e.L(250,350),e.stroke()}},9875:{width:H,draw:e=>{e.lineWidth(45),e.circle(300,440,40),e.stroke(),e.M(300,400),e.L(300,80),e.stroke(),e.M(180,320),e.L(420,320),e.stroke(),e.M(300,80),e.C(150,80,100,150,130,200),e.stroke(),e.M(300,80),e.C(450,80,500,150,470,200),e.stroke()}},9876:{width:H,draw:e=>{e.lineWidth(40),e.M(100,50),e.L(500,450),e.stroke(),e.M(500,50),e.L(100,450),e.stroke(),e.lineWidth(30),e.M(140,130),e.L(200,70),e.stroke(),e.M(460,130),e.L(400,70),e.stroke()}},9877:{width:H,draw:e=>{e.lineWidth(40),e.M(300,20),e.L(300,480),e.stroke(),e.lineWidth(30),e.M(300,380),e.C(400,380,420,320,300,300),e.C(180,280,200,220,300,200),e.C(400,180,380,120,300,120),e.stroke()}},9878:{width:H,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(500,350),e.stroke(),e.M(300,350),e.L(300,80),e.stroke(),e.M(200,80),e.L(400,80),e.stroke(),e.M(100,350),e.C(100,250,180,220,220,250),e.stroke(),e.M(500,350),e.C(500,250,420,220,380,250),e.stroke()}},9879:{width:H,draw:e=>{e.lineWidth(35),e.M(200,50),e.L(400,50),e.L(480,250),e.C(500,300,460,350,400,350),e.L(200,350),e.C(140,350,100,300,120,250),e.L(200,50),e.Z(),e.stroke(),e.M(250,350),e.L(250,450),e.stroke(),e.M(350,350),e.L(350,450),e.stroke()}},9881:{width:H,draw:e=>{e.lineWidth(30),e.circle(300,250,100),e.stroke();for(let t=0;t<8;t++){let n=t*360/8*(Math.PI/180),r=15*Math.PI/180;e.M(300+130*Math.cos(n-r),250+130*Math.sin(n-r)),e.L(300+200*Math.cos(n-r*.7),250+200*Math.sin(n-r*.7)),e.L(300+200*Math.cos(n+r*.7),250+200*Math.sin(n+r*.7)),e.L(300+130*Math.cos(n+r),250+130*Math.sin(n+r))}e.fill(),e.circle(300,250,130),e.stroke()}},9883:{width:H,draw:e=>{e.lineWidth(30),e.ellipse(300,250,220,80),e.stroke(),e.M(130,100),e.C(200,50,440,300,470,400),e.C(440,450,200,200,130,100),e.stroke(),e.M(470,100),e.C(400,50,160,300,130,400),e.C(160,450,400,200,470,100),e.stroke(),e.circle(300,250,25),e.fill()}},9884:{width:H,draw:e=>{e.lineWidth(30),e.M(300,480),e.C(280,400,260,300,300,200),e.C(340,300,320,400,300,480),e.stroke(),e.M(300,300),e.C(200,350,100,400,100,350),e.C(100,300,180,250,250,200),e.stroke(),e.M(300,300),e.C(400,350,500,400,500,350),e.C(500,300,420,250,350,200),e.stroke(),e.M(200,100),e.L(400,100),e.stroke(),e.M(300,200),e.L(300,100),e.stroke()}},9893:{width:H,draw:e=>{e.lineWidth(40),e.circle(280,270,120),e.stroke(),e.M(280,150),e.L(280,30),e.stroke(),e.M(220,90),e.L(340,90),e.stroke(),e.M(370,350),e.L(490,460),e.stroke(),e.M(420,460),e.L(490,460),e.L(490,390),e.stroke()}},9895:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,220,110),e.stroke(),e.M(375,295),e.L(480,420),e.stroke(),e.M(420,420),e.L(480,420),e.L(480,360),e.stroke(),e.M(300,110),e.L(300,20),e.stroke(),e.M(250,60),e.L(350,60),e.stroke()}},9904:{width:H,draw:e=>{e.lineWidth(40),e.M(200,480),e.L(140,300),e.L(200,20),e.L(400,20),e.L(460,300),e.L(400,480),e.Z(),e.stroke()}},9917:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,250,200),e.stroke();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=((t+1)*72-90)*Math.PI/180;t===0&&e.M(300+80*Math.cos(n),250+80*Math.sin(n)),e.L(300+80*Math.cos(r),250+80*Math.sin(r))}e.Z(),e.fill()}},9918:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,250,200),e.stroke(),e.lineWidth(25),e.M(150,400),e.C(200,300,200,200,150,100),e.stroke(),e.M(450,400),e.C(400,300,400,200,450,100),e.stroke()}},9924:{width:H,draw:e=>{e.circle(300,140,100),e.fill(),e.circle(300,350,70),e.fill()}},9925:{width:H,draw:e=>{e.lineWidth(30),e.M(420,420),e.C(480,420,520,380,520,320),e.stroke();for(let t=-30;t<=60;t+=30){let n=t*Math.PI/180;e.M(460+60*Math.cos(n),360+60*Math.sin(n)),e.L(460+100*Math.cos(n),360+100*Math.sin(n))}e.stroke(),e.lineWidth(35),e.M(100,220),e.C(100,370,180,400,260,380),e.C(280,430,380,430,400,380),e.C(460,380,480,300,440,220),e.L(100,220),e.fill(),e.M(100,220),e.C(100,370,180,400,260,380),e.C(280,430,380,430,400,380),e.C(460,380,480,300,440,220),e.L(100,220),e.stroke()}},9934:{width:H,draw:e=>{e.lineWidth(45),e.M(150,450),e.L(150,200),e.C(150,50,450,50,450,200),e.L(450,450),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},9940:{width:H,draw:e=>{e.circle(300,250,220),e.fill()}},9962:{width:H,draw:e=>{e.lineWidth(35),e.rect(150,50,300,250),e.stroke(),e.M(130,300),e.L(300,420),e.L(470,300),e.Z(),e.stroke(),e.M(300,420),e.L(300,490),e.stroke(),e.M(270,460),e.L(330,460),e.stroke(),e.M(260,50),e.L(260,150),e.L(340,150),e.L(340,50),e.stroke()}},9970:{width:H,draw:e=>{e.lineWidth(35),e.M(100,50),e.L(500,50),e.stroke(),e.M(150,50),e.L(150,200),e.stroke(),e.M(450,50),e.L(450,200),e.stroke(),e.M(100,200),e.L(500,200),e.stroke(),e.M(300,200),e.L(300,380),e.stroke(),e.M(300,380),e.C(200,420,150,300,150,200),e.stroke(),e.M(300,380),e.C(400,420,450,300,450,200),e.stroke()}},9971:{width:H,draw:e=>{e.lineWidth(35),e.M(250,30),e.L(250,480),e.stroke(),e.M(250,480),e.L(450,420),e.L(250,360),e.Z(),e.fill(),e.M(120,30),e.C(200,60,300,60,380,30),e.stroke()}},9973:{width:H,draw:e=>{e.lineWidth(35),e.M(80,150),e.L(520,150),e.L(450,50),e.L(150,50),e.Z(),e.stroke(),e.M(300,150),e.L(300,470),e.stroke(),e.M(300,460),e.L(450,200),e.L(300,200),e.Z(),e.stroke()}},9978:{width:H,draw:e=>{e.lineWidth(40),e.M(80,50),e.L(300,450),e.L(520,50),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.stroke()}}},jR={8961:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(200,350),e.L(280,200),e.L(380,350),e.L(450,250),e.stroke(),e.M(450,250),e.L(500,320),e.L(500,180),e.Z(),e.fill()}},8963:{width:H,draw:e=>{e.lineWidth(50),e.M(130,100),e.L(300,400),e.L(470,100),e.stroke()}},8964:{width:H,draw:e=>{e.lineWidth(50),e.M(130,400),e.L(300,100),e.L(470,400),e.stroke()}},8965:{width:H,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(300,100),e.L(300,450),e.stroke(),e.M(200,350),e.L(400,350),e.stroke()}},8966:{width:H,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,100),e.L(300,450),e.stroke()}},8967:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.C(180,350,260,150,340,250),e.C(420,350,500,150,520,250),e.stroke()}},8968:{width:H,draw:e=>{e.lineWidth(50),e.M(400,450),e.L(200,450),e.L(200,50),e.stroke()}},8969:{width:H,draw:e=>{e.lineWidth(50),e.M(200,450),e.L(400,450),e.L(400,50),e.stroke()}},8970:{width:H,draw:e=>{e.lineWidth(50),e.M(200,450),e.L(200,50),e.L(400,50),e.stroke()}},8971:{width:H,draw:e=>{e.lineWidth(50),e.M(400,450),e.L(400,50),e.L(200,50),e.stroke()}},8972:{width:H,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(450,100),e.L(450,250),e.stroke()}},8973:{width:H,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(150,100),e.L(150,250),e.stroke()}},8974:{width:H,draw:e=>{e.lineWidth(45),e.M(300,400),e.L(450,400),e.L(450,250),e.stroke()}},8975:{width:H,draw:e=>{e.lineWidth(45),e.M(300,400),e.L(150,400),e.L(150,250),e.stroke()}},8977:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke()}},8978:{width:H,draw:e=>{e.lineWidth(50),e.M(80,100),e.C(80,400,520,400,520,100),e.stroke()}},8979:{width:H,draw:e=>{e.lineWidth(45),e.M(80,200),e.C(80,450,520,450,520,200),e.stroke(),e.M(80,200),e.L(520,200),e.stroke()}},8980:{width:H,draw:e=>{e.lineWidth(45),e.M(300,100),e.L(120,400),e.C(200,500,400,500,480,400),e.L(300,100),e.stroke()}},8982:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,120),e.stroke(),e.M(300,50),e.L(300,450),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},8983:{width:H,draw:e=>{e.lineWidth(40),e.rect(120,70,360,360),e.stroke(),e.M(300,70),e.L(300,430),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},8985:{width:H,draw:e=>{e.lineWidth(50),e.M(120,350),e.L(480,350),e.L(480,150),e.stroke()}},8988:{width:H,draw:e=>{e.lineWidth(45),e.M(150,300),e.L(150,420),e.L(300,420),e.stroke()}},8989:{width:H,draw:e=>{e.lineWidth(45),e.M(300,420),e.L(450,420),e.L(450,300),e.stroke()}},8990:{width:H,draw:e=>{e.lineWidth(45),e.M(150,200),e.L(150,80),e.L(300,80),e.stroke()}},8991:{width:H,draw:e=>{e.lineWidth(45),e.M(300,80),e.L(450,80),e.L(450,200),e.stroke()}},8992:{width:H,draw:e=>{e.lineWidth(50),e.M(380,480),e.C(350,480,300,450,300,400),e.L(300,50),e.stroke()}},8993:{width:H,draw:e=>{e.lineWidth(50),e.M(300,450),e.L(300,100),e.C(300,50,250,20,220,20),e.stroke()}},8994:{width:H,draw:e=>{e.lineWidth(50),e.M(80,350),e.C(200,100,400,100,520,350),e.stroke()}},8995:{width:H,draw:e=>{e.lineWidth(50),e.M(80,200),e.C(200,450,400,450,520,200),e.stroke()}},8996:{width:H,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(100,400),e.L(500,400),e.stroke(),e.M(200,200),e.L(300,350),e.L(400,200),e.stroke()}},8997:{width:H,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(250,100),e.L(400,400),e.L(500,400),e.stroke(),e.M(300,400),e.L(500,400),e.stroke(),e.M(100,400),e.L(300,400),e.stroke()}},8998:{width:H,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(200,420),e.L(520,420),e.L(520,80),e.L(200,80),e.Z(),e.stroke(),e.M(280,180),e.L(440,320),e.stroke(),e.M(280,320),e.L(440,180),e.stroke()}},8999:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,70,400,360),e.stroke(),e.M(180,150),e.L(420,350),e.stroke(),e.M(180,350),e.L(420,150),e.stroke()}},9003:{width:H,draw:e=>{e.lineWidth(40),e.M(520,250),e.L(400,420),e.L(80,420),e.L(80,80),e.L(400,80),e.Z(),e.stroke(),e.M(160,180),e.L(320,320),e.stroke(),e.M(160,320),e.L(320,180),e.stroke()}},9001:{width:H,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(200,250),e.L(400,50),e.stroke()}},9002:{width:H,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(400,250),e.L(200,50),e.stroke()}},9004:{width:H,draw:e=>{e.lineWidth(35);for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180,r=((t+1)*60-90)*Math.PI/180;e.M(300+180*Math.cos(n),250+180*Math.sin(n)),e.L(300+180*Math.cos(r),250+180*Math.sin(r))}e.stroke(),e.circle(300,250,100),e.stroke()}},9005:{width:H,draw:e=>{e.lineWidth(40),e.M(150,420),e.L(150,80),e.stroke(),e.M(450,420),e.L(450,80),e.stroke(),e.ellipse(300,420,150,40),e.stroke(),e.ellipse(300,80,150,40),e.stroke()}},9006:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.M(300,450),e.L(300,480),e.stroke()}},9007:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(250,350),e.L(300,400),e.L(350,350),e.stroke()}},9008:{width:H,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(150,100),e.L(450,100),e.stroke(),e.M(150,250),e.L(350,250),e.stroke()}},9009:{width:H,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,400),e.stroke()}},9010:{width:H,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(500,300),e.stroke(),e.M(100,150),e.L(500,200),e.stroke()}},9011:{width:H,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(100,400),e.L(500,250),e.stroke()}},9012:{width:H,draw:e=>{e.lineWidth(40),e.M(200,400),e.L(200,250),e.L(100,250),e.L(100,100),e.L(500,100),e.L(500,250),e.L(400,250),e.L(400,400),e.stroke()}},9013:{width:H,draw:e=>{e.lineWidth(40),e.M(200,100),e.L(100,300),e.L(100,400),e.stroke(),e.M(400,100),e.L(500,300),e.L(500,400),e.stroke(),e.M(200,100),e.L(400,100),e.stroke()}},9014:{width:H,draw:e=>{e.lineWidth(45),e.M(150,420),e.L(450,420),e.stroke(),e.M(150,80),e.L(450,80),e.stroke(),e.M(300,420),e.L(300,80),e.stroke()}},9015:{width:H,draw:e=>{e.lineWidth(40),e.rect(150,80,300,340),e.stroke()}},9016:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(180,300),e.L(420,300),e.stroke(),e.M(180,200),e.L(420,200),e.stroke()}},9017:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(180,250),e.L(420,250),e.stroke(),e.circle(300,340,30),e.fill(),e.circle(300,160,30),e.fill()}},9018:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,380),e.L(420,250),e.L(300,120),e.L(180,250),e.Z(),e.stroke()}},9019:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,80),e.stroke()}},9020:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,130),e.stroke()}},9021:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(300,430),e.L(300,70),e.stroke()}},9022:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.circle(300,250,70),e.stroke()}},9023:{width:H,draw:e=>{e.lineWidth(45),e.M(400,420),e.L(200,80),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},9024:{width:H,draw:e=>{e.lineWidth(45),e.M(200,420),e.L(400,80),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},9025:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(400,380),e.L(200,120),e.stroke()}},9026:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,380),e.L(400,120),e.stroke()}},9027:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(380,370),e.L(220,250),e.L(380,130),e.stroke()}},9028:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(220,370),e.L(380,250),e.L(220,130),e.stroke()}},9029:{width:H,draw:e=>{e.lineWidth(45),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,400),e.stroke()}},9030:{width:H,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,400),e.stroke()}},9031:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(420,250),e.L(180,250),e.stroke(),e.M(180,250),e.L(270,330),e.L(270,170),e.Z(),e.fill()}},9032:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(180,250),e.L(420,250),e.stroke(),e.M(420,250),e.L(330,330),e.L(330,170),e.Z(),e.fill()}},9033:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(170,120),e.L(430,380),e.stroke()}},9034:{width:H,draw:e=>{e.lineWidth(45),e.M(100,80),e.L(500,80),e.stroke(),e.M(300,80),e.L(300,350),e.stroke(),e.M(150,350),e.L(450,350),e.stroke(),e.M(100,420),e.L(500,420),e.stroke()}},9035:{width:H,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(150,120),e.L(450,120),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.stroke()}},9036:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,350),e.L(300,150),e.L(400,350),e.stroke()}},9037:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,370),e.L(190,140),e.L(410,140),e.Z(),e.stroke()}},9038:{width:H,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(450,400),e.stroke(),e.M(300,400),e.L(300,150),e.stroke(),e.circle(300,100,50),e.stroke()}},9039:{width:H,draw:e=>{e.lineWidth(45),e.M(300,80),e.L(300,420),e.stroke(),e.M(300,420),e.L(180,300),e.stroke()}},9040:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,120),e.L(300,380),e.stroke(),e.M(300,380),e.L(220,300),e.L(380,300),e.Z(),e.fill()}},9041:{width:H,draw:e=>{e.lineWidth(45),e.M(100,420),e.L(500,420),e.stroke(),e.M(300,420),e.L(300,150),e.stroke(),e.M(150,150),e.L(450,150),e.stroke(),e.M(100,80),e.L(500,80),e.stroke()}},9042:{width:H,draw:e=>{e.lineWidth(40),e.M(300,80),e.L(150,380),e.L(450,380),e.Z(),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},9043:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,150),e.L(300,350),e.L(400,150),e.stroke()}},9044:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,130),e.L(190,360),e.L(410,360),e.Z(),e.stroke()}},9045:{width:H,draw:e=>{e.lineWidth(45),e.M(150,100),e.L(450,100),e.stroke(),e.M(300,100),e.L(300,350),e.stroke(),e.circle(300,400,50),e.stroke()}},9046:{width:H,draw:e=>{e.lineWidth(45),e.M(300,420),e.L(300,80),e.stroke(),e.M(300,80),e.L(420,200),e.stroke()}},9047:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(300,380),e.L(300,120),e.stroke(),e.M(300,120),e.L(220,200),e.L(380,200),e.Z(),e.fill()}},9048:{width:H,draw:e=>{e.lineWidth(45),e.M(260,420),e.L(260,200),e.stroke(),e.M(340,420),e.L(340,200),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9049:{width:H,draw:e=>{e.lineWidth(40),e.M(300,430),e.L(150,160),e.L(450,160),e.Z(),e.stroke(),e.M(120,80),e.L(480,80),e.stroke()}},9050:{width:H,draw:e=>{e.lineWidth(40),e.M(300,430),e.L(430,280),e.L(300,150),e.L(170,280),e.Z(),e.stroke(),e.M(120,80),e.L(480,80),e.stroke()}},9051:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,310,100),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9052:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,310,130),e.stroke(),e.M(100,100),e.L(500,100),e.stroke()}},9053:{width:H,draw:e=>{e.lineWidth(40),e.M(120,100),e.C(120,350,480,350,480,100),e.stroke(),e.circle(300,300,50),e.stroke()}},9054:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(100,250),e.L(50,250),e.stroke()}},9055:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+100*Math.cos(n),250+100*Math.sin(n)):e.L(300+100*Math.cos(n),250+100*Math.sin(n)),e.L(300+40*Math.cos(r),250+40*Math.sin(r))}e.Z(),e.stroke()}},9056:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.circle(300,330,35),e.fill(),e.circle(300,170,35),e.fill()}},9057:{width:H,draw:e=>{e.lineWidth(45),e.M(150,150),e.L(450,150),e.stroke(),e.M(300,150),e.L(300,350),e.stroke(),e.circle(250,420,30),e.fill(),e.circle(350,420,30),e.fill()}},9058:{width:H,draw:e=>{e.lineWidth(40),e.M(300,120),e.L(150,370),e.L(450,370),e.Z(),e.stroke(),e.circle(250,80,25),e.fill(),e.circle(350,80,25),e.fill()}},9059:{width:H,draw:e=>{e.lineWidth(45),e.M(300,380),e.L(300,180),e.stroke(),e.M(200,340),e.L(400,220),e.stroke(),e.M(200,220),e.L(400,340),e.stroke(),e.circle(250,430,25),e.fill(),e.circle(350,430,25),e.fill()}},9060:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,200,80),e.stroke(),e.circle(250,400,30),e.fill(),e.circle(350,400,30),e.fill()}},9061:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,200,120),e.stroke(),e.circle(250,420,30),e.fill(),e.circle(350,420,30),e.fill()}},9062:{width:H,draw:e=>{e.lineWidth(40),e.M(120,400),e.C(120,150,480,150,480,400),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},9063:{width:H,draw:e=>{e.lineWidth(40),e.M(450,100),e.C(200,100,200,400,450,400),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},9064:{width:H,draw:e=>{e.lineWidth(40),e.M(120,250),e.C(200,350,400,150,480,250),e.stroke(),e.circle(250,400,30),e.fill(),e.circle(350,400,30),e.fill()}},9065:{width:H,draw:e=>{e.lineWidth(40),e.M(180,370),e.L(380,250),e.L(180,130),e.stroke(),e.circle(430,200,25),e.fill(),e.circle(430,300,25),e.fill()}},9066:{width:H,draw:e=>{e.lineWidth(45),e.circle(300,300,40),e.fill(),e.M(300,260),e.L(260,180),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},9067:{width:H,draw:e=>{e.lineWidth(40),e.M(300,80),e.L(150,380),e.L(450,380),e.Z(),e.stroke(),e.lineWidth(35),e.M(220,250),e.C(260,300,340,200,380,250),e.stroke()}},9068:{width:H,draw:e=>{e.lineWidth(40),e.ellipse(300,250,150,200),e.stroke(),e.M(200,250),e.L(400,250),e.stroke()}},9069:{width:H,draw:e=>{e.lineWidth(40),e.M(300,80),e.L(300,420),e.stroke(),e.M(180,250),e.C(220,320,380,180,420,250),e.stroke()}},9070:{width:H,draw:e=>{e.circle(300,350,35),e.fill(),e.circle(300,250,35),e.fill(),e.M(300,215),e.L(270,160),e.stroke(),e.lineWidth(40),e.M(150,100),e.L(450,100),e.stroke()}},9071:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,310),e.L(400,310),e.stroke(),e.M(200,190),e.L(400,190),e.stroke(),e.M(350,370),e.L(250,130),e.stroke()}},9072:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(35),e.M(230,350),e.C(230,400,370,400,370,340),e.C(370,290,300,270,300,220),e.stroke(),e.circle(300,160,25),e.fill()}},9073:{width:H,draw:e=>{e.lineWidth(45),e.M(130,400),e.L(300,130),e.L(470,400),e.stroke(),e.lineWidth(35),e.M(220,280),e.C(260,330,340,230,380,280),e.stroke()}},9074:{width:H,draw:e=>{e.lineWidth(45),e.M(130,100),e.L(300,370),e.L(470,100),e.stroke(),e.lineWidth(35),e.M(220,220),e.C(260,270,340,170,380,220),e.stroke()}},9075:{width:H,draw:e=>{e.lineWidth(45),e.M(250,400),e.L(250,150),e.C(250,80,350,80,350,150),e.stroke()}},9076:{width:H,draw:e=>{e.lineWidth(45),e.M(200,80),e.L(200,400),e.C(200,450,400,450,400,400),e.C(400,300,200,300,200,350),e.stroke()}},9077:{width:H,draw:e=>{e.lineWidth(45),e.M(120,400),e.L(200,150),e.C(200,80,400,80,400,150),e.L(480,400),e.stroke()}},9078:{width:H,draw:e=>{e.lineWidth(40),e.M(400,400),e.C(400,300,200,300,200,350),e.C(200,400,400,400,400,350),e.L(400,200),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},9079:{width:H,draw:e=>{e.lineWidth(40),e.M(420,400),e.L(220,400),e.C(160,400,160,200,220,200),e.L(420,200),e.stroke(),e.M(220,300),e.L(380,300),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},9080:{width:H,draw:e=>{e.lineWidth(40),e.M(250,430),e.L(250,200),e.C(250,150,350,150,350,200),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9081:{width:H,draw:e=>{e.lineWidth(40),e.M(120,420),e.L(200,200),e.C(200,150,400,150,400,200),e.L(480,420),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},9082:{width:H,draw:e=>{e.lineWidth(45),e.M(400,400),e.C(400,300,200,300,200,350),e.C(200,400,400,400,400,350),e.L(400,150),e.stroke()}},9083:{width:H,draw:e=>{e.lineWidth(50),e.M(130,250),e.L(250,100),e.L(470,400),e.stroke(),e.M(180,380),e.L(420,120),e.stroke()}},9084:{width:H,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(150,100),e.L(450,100),e.stroke(),e.M(150,100),e.L(200,200),e.L(250,100),e.L(300,200),e.stroke()}},9085:{width:H,draw:e=>{e.lineWidth(45),e.M(100,350),e.L(100,150),e.L(200,150),e.stroke(),e.M(400,150),e.L(500,150),e.L(500,350),e.stroke()}},9086:{width:H,draw:e=>{e.lineWidth(40),e.M(150,100),e.C(150,350,300,450,300,450),e.C(300,450,450,350,450,100),e.stroke(),e.M(120,100),e.L(480,100),e.stroke(),e.circle(300,60,25),e.fill()}},9087:{width:H,draw:e=>{e.lineWidth(45),e.M(200,80),e.L(300,420),e.L(400,80),e.stroke()}},9088:{width:H,draw:e=>{e.lineWidth(45),e.M(200,100),e.L(300,380),e.L(400,100),e.stroke(),e.M(150,100),e.L(450,100),e.stroke()}},9089:{width:H,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(520,100),e.stroke()}},9090:{width:H,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(230,100),e.stroke(),e.M(370,100),e.L(520,100),e.stroke()}},9091:{width:H,draw:e=>{e.lineWidth(50),e.M(80,100),e.L(520,100),e.stroke(),e.circle(300,200,30),e.fill()}},9092:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,300,120),e.stroke(),e.M(300,180),e.L(300,420),e.stroke()}},9093:{width:H,draw:e=>{e.lineWidth(40),e.rect(120,70,360,360),e.stroke(),e.M(300,70),e.L(300,430),e.stroke()}},9094:{width:H,draw:e=>{e.lineWidth(40),e.M(420,400),e.L(420,200),e.L(180,200),e.stroke(),e.M(180,200),e.L(280,280),e.L(280,120),e.Z(),e.fill()}},9095:{width:H,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(250,150),e.L(350,350),e.L(500,350),e.stroke(),e.M(100,350),e.L(250,350),e.L(350,150),e.L(500,150),e.stroke()}},9096:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,250,160),e.stroke(),e.circle(300,250,50),e.fill();for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300+50*Math.cos(n),250+50*Math.sin(n)),e.L(300+180*Math.cos(n),250+180*Math.sin(n))}e.stroke()}},9097:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(120,250),e.L(260,250),e.stroke(),e.M(340,250),e.L(480,250),e.stroke(),e.M(260,250),e.L(260,300),e.L(340,300),e.L(340,250),e.stroke()}},9098:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,180),e.stroke(),e.M(300,430),e.L(300,70),e.stroke(),e.circle(220,250,30),e.fill(),e.circle(380,250,30),e.fill()}},9099:{width:H,draw:e=>{e.lineWidth(40),e.M(200,410),e.C(120,380,80,300,100,200),e.C(120,120,200,80,300,70),e.C(400,80,480,120,500,200),e.C(520,300,480,380,400,420),e.stroke(),e.M(160,430),e.L(160,350),e.L(240,350),e.stroke()}},9100:{width:H,draw:e=>{e.lineWidth(40),e.M(450,380),e.C(450,200,350,120,250,120),e.C(200,120,150,180,150,250),e.stroke(),e.M(150,250),e.L(80,170),e.L(220,170),e.Z(),e.fill()}},9101:{width:H,draw:e=>{e.lineWidth(45),e.M(100,150),e.L(250,150),e.L(250,350),e.L(400,350),e.L(400,150),e.L(500,150),e.stroke()}},9102:{width:H,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(300,150),e.L(300,350),e.L(500,350),e.stroke(),e.M(100,350),e.L(300,350),e.stroke(),e.M(300,150),e.L(500,150),e.stroke()}},9103:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(250,250),e.stroke(),e.circle(300,250,50),e.stroke(),e.M(350,250),e.L(500,250),e.stroke()}},9104:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(250,250),e.stroke(),e.M(350,250),e.L(500,250),e.stroke(),e.M(250,250),e.L(350,250),e.stroke(),e.M(300,250),e.L(300,350),e.stroke()}},9105:{width:H,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(250,350),e.L(250,150),e.L(350,150),e.L(350,350),e.L(500,350),e.stroke()}},9106:{width:H,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(250,150),e.L(250,350),e.L(350,350),e.L(350,150),e.L(500,150),e.stroke()}},9107:{width:H,draw:e=>{e.lineWidth(45),e.M(100,300),e.L(500,300),e.stroke(),e.lineWidth(35),e.M(100,200),e.L(200,200),e.stroke(),e.M(250,200),e.L(350,200),e.stroke(),e.M(400,200),e.L(500,200),e.stroke()}},9108:{width:H,draw:e=>{e.lineWidth(40),e.M(100,100),e.L(100,400),e.L(500,400),e.L(500,100),e.stroke()}},9109:{width:H,draw:e=>{e.lineWidth(45),e.rect(120,50,360,400),e.stroke()}},9110:{width:H,draw:e=>{e.lineWidth(40),e.rect(120,80,360,340),e.stroke(),e.circle(300,180,35),e.fill()}},9111:{width:H,draw:e=>{e.lineWidth(40),e.rect(130,50,340,400),e.stroke(),e.M(130,380),e.L(220,380),e.L(220,450),e.stroke()}},9112:{width:H,draw:e=>{e.lineWidth(40),e.rect(130,50,340,400),e.stroke(),e.M(470,120),e.L(380,120),e.L(380,50),e.stroke()}},9113:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,100,400,300),e.stroke(),e.rect(180,180,240,140),e.stroke()}},9114:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,100,400,300),e.stroke(),e.M(200,200),e.L(400,300),e.stroke(),e.M(200,300),e.L(400,200),e.stroke()}},9118:{width:H,draw:e=>{e.lineWidth(45),e.M(200,450),e.C(350,450,400,350,400,250),e.stroke()}},9119:{width:H,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.stroke()}},9120:{width:H,draw:e=>{e.lineWidth(45),e.M(400,250),e.C(400,150,350,50,200,50),e.stroke()}},9121:{width:H,draw:e=>{e.lineWidth(45),e.M(350,450),e.L(200,450),e.L(200,50),e.stroke()}},9122:{width:H,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,50),e.stroke()}},9123:{width:H,draw:e=>{e.lineWidth(45),e.M(200,450),e.L(200,50),e.L(350,50),e.stroke()}},9124:{width:H,draw:e=>{e.lineWidth(45),e.M(250,450),e.L(400,450),e.L(400,50),e.stroke()}},9125:{width:H,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.stroke()}},9126:{width:H,draw:e=>{e.lineWidth(45),e.M(400,450),e.L(400,50),e.L(250,50),e.stroke()}},9127:{width:H,draw:e=>{e.lineWidth(45),e.M(350,450),e.C(250,450,250,350,250,250),e.stroke()}},9128:{width:H,draw:e=>{e.lineWidth(45),e.M(250,450),e.L(250,300),e.C(250,250,200,250,150,250),e.stroke(),e.M(250,200),e.C(250,250,200,250,150,250),e.stroke(),e.M(250,200),e.L(250,50),e.stroke()}},9129:{width:H,draw:e=>{e.lineWidth(45),e.M(250,250),e.C(250,150,250,50,350,50),e.stroke()}},9130:{width:H,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke()}},9131:{width:H,draw:e=>{e.lineWidth(45),e.M(250,450),e.C(350,450,350,350,350,250),e.stroke()}},9132:{width:H,draw:e=>{e.lineWidth(45),e.M(350,450),e.L(350,300),e.C(350,250,400,250,450,250),e.stroke(),e.M(350,200),e.C(350,250,400,250,450,250),e.stroke(),e.M(350,200),e.L(350,50),e.stroke()}},9133:{width:H,draw:e=>{e.lineWidth(45),e.M(350,250),e.C(350,150,350,50,250,50),e.stroke()}},9134:{width:H,draw:e=>{e.lineWidth(45),e.M(300,450),e.L(300,50),e.stroke()}},9136:{width:H,draw:e=>{e.lineWidth(45),e.M(350,50),e.C(250,50,250,250,250,450),e.stroke()}},9137:{width:H,draw:e=>{e.lineWidth(45),e.M(250,50),e.C(350,50,350,250,350,450),e.stroke()}},9138:{width:H,draw:e=>{e.lineWidth(45),e.M(480,450),e.L(120,450),e.L(300,250),e.stroke()}},9139:{width:H,draw:e=>{e.lineWidth(45),e.M(300,250),e.L(120,50),e.L(480,50),e.stroke()}},9140:{width:H,draw:e=>{e.lineWidth(45),e.M(100,200),e.L(100,350),e.L(500,350),e.L(500,200),e.stroke()}},9141:{width:H,draw:e=>{e.lineWidth(45),e.M(100,300),e.L(100,150),e.L(500,150),e.L(500,300),e.stroke()}},9142:{width:H,draw:e=>{e.lineWidth(40),e.M(100,300),e.L(100,200),e.L(500,200),e.L(500,300),e.stroke(),e.M(100,350),e.L(100,250),e.L(500,250),e.L(500,350),e.stroke()}},9146:{width:H,draw:e=>{e.lineWidth(30),e.M(0,450),e.L(600,450),e.stroke()}},9147:{width:H,draw:e=>{e.lineWidth(30),e.M(0,350),e.L(600,350),e.stroke()}},9148:{width:H,draw:e=>{e.lineWidth(30),e.M(0,150),e.L(600,150),e.stroke()}},9149:{width:H,draw:e=>{e.lineWidth(30),e.M(0,50),e.L(600,50),e.stroke()}},9150:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,250),e.L(500,250),e.stroke()}},9151:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,250),e.L(500,250),e.stroke()}},9152:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,50),e.stroke(),e.circle(300,250,60),e.stroke()}},9153:{width:H,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(500,350),e.stroke(),e.M(300,350),e.L(300,100),e.stroke(),e.circle(300,250,60),e.stroke()}},9161:{width:H,draw:e=>{e.lineWidth(40),e.M(150,350),e.L(450,350),e.stroke(),e.M(300,350),e.L(300,100),e.stroke()}},9162:{width:H,draw:e=>{e.lineWidth(40),e.M(150,150),e.L(450,150),e.stroke(),e.M(300,150),e.L(300,400),e.stroke()}},9163:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,310),e.L(400,200),e.L(300,200),e.Z(),e.stroke()}},9164:{width:H,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(500,350),e.stroke(),e.M(300,350),e.L(300,120),e.stroke(),e.M(250,250),e.L(350,250),e.L(300,180),e.Z(),e.fill()}},9165:{width:H,draw:e=>{e.lineWidth(45),e.M(150,400),e.L(150,100),e.L(450,100),e.stroke()}},9168:{width:H,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(300,20),e.stroke()}},9178:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,200),e.stroke(),e.M(150,200),e.L(450,200),e.stroke(),e.M(200,140),e.L(400,140),e.stroke(),e.M(250,80),e.L(350,80),e.stroke()}},9179:{width:H,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(180,250),e.stroke(),e.rect(180,180,240,140),e.stroke(),e.M(420,250),e.L(520,250),e.stroke()}},9180:{width:H,draw:e=>{e.lineWidth(45),e.M(80,150),e.C(80,400,520,400,520,150),e.stroke()}},9181:{width:H,draw:e=>{e.lineWidth(45),e.M(80,350),e.C(80,100,520,100,520,350),e.stroke()}},9182:{width:H,draw:e=>{e.lineWidth(40),e.M(80,150),e.C(80,300,200,350,300,400),e.C(400,350,520,300,520,150),e.stroke()}},9183:{width:H,draw:e=>{e.lineWidth(40),e.M(80,350),e.C(80,200,200,150,300,100),e.C(400,150,520,200,520,350),e.stroke()}},9184:{width:H,draw:e=>{e.lineWidth(40),e.M(80,150),e.C(150,380,450,380,520,150),e.stroke()}},9185:{width:H,draw:e=>{e.lineWidth(40),e.M(80,350),e.C(150,120,450,120,520,350),e.stroke()}},9186:{width:H,draw:e=>{e.lineWidth(40),e.M(150,100),e.L(450,100),e.L(500,400),e.L(100,400),e.Z(),e.stroke()}},9187:{width:H,draw:e=>{e.lineWidth(35);for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180,r=((t+1)*60-90)*Math.PI/180;e.M(300+180*Math.cos(n),250+180*Math.sin(n)),e.L(300+180*Math.cos(r),250+180*Math.sin(r))}e.stroke(),e.circle(300,250,110),e.stroke()}},9188:{width:H,draw:e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke()}},9189:{width:H,draw:e=>{e.lineWidth(45),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,300),e.L(500,300),e.stroke()}},9190:{width:H,draw:e=>{e.lineWidth(45),e.M(100,250),e.C(200,420,300,80,400,250),e.C(440,340,480,250,500,250),e.stroke()}},9191:{width:H,draw:e=>{e.lineWidth(40),e.M(100,100),e.L(100,300),e.C(100,430,500,430,500,300),e.L(500,100),e.stroke()}},9192:{width:H,draw:e=>{e.lineWidth(40),e.M(400,400),e.L(200,400),e.L(200,100),e.L(400,100),e.stroke(),e.M(200,250),e.L(370,250),e.stroke()}},9200:{width:H,draw:e=>{e.lineWidth(35),e.circle(300,230,180),e.stroke(),e.M(300,230),e.L(300,340),e.stroke(),e.M(300,230),e.L(380,230),e.stroke(),e.M(160,400),e.L(120,440),e.stroke(),e.M(440,400),e.L(480,440),e.stroke(),e.M(200,50),e.L(180,20),e.stroke(),e.M(400,50),e.L(420,20),e.stroke()}},9203:{width:H,draw:e=>{e.lineWidth(40),e.M(120,480),e.L(480,480),e.stroke(),e.M(120,20),e.L(480,20),e.stroke(),e.M(150,480),e.L(300,250),e.L(450,480),e.stroke(),e.M(150,20),e.L(300,250),e.L(450,20),e.stroke(),e.circle(270,120,15),e.fill(),e.circle(330,120,15),e.fill(),e.circle(300,90,15),e.fill(),e.lineWidth(20),e.M(300,250),e.L(300,160),e.stroke()}},9204:{width:H,draw:e=>{e.M(450,450),e.L(150,250),e.L(450,50),e.Z(),e.fill()}},9205:{width:H,draw:e=>{e.M(150,450),e.L(450,250),e.L(150,50),e.Z(),e.fill()}},9206:{width:H,draw:e=>{e.M(100,100),e.L(500,100),e.L(300,420),e.Z(),e.fill()}},9207:{width:H,draw:e=>{e.M(100,400),e.L(500,400),e.L(300,80),e.Z(),e.fill()}},9211:{width:H,draw:e=>{e.lineWidth(45),e.M(200,380),e.C(120,330,80,230,120,150),e.C(160,70,260,40,300,40),e.C(340,40,440,70,480,150),e.C(520,230,480,330,400,380),e.stroke(),e.M(300,320),e.L(300,150),e.stroke()}},9212:{width:H,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(300,350),e.L(300,150),e.stroke()}},9213:{width:H,draw:e=>{e.lineWidth(50),e.M(300,420),e.L(300,80),e.stroke()}},9214:{width:H,draw:e=>{e.lineWidth(45),e.M(180,400),e.C(100,300,100,150,200,80),e.C(300,10,430,50,480,150),e.C(530,250,470,380,380,420),e.stroke()}},9215:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(250,100),e.L(500,250),e.stroke(),e.circle(250,200,40),e.fill()}}},MR={10496:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(300,150),e.L(300,350),e.stroke()}},10497:{width:H,draw:e=>{e.lineWidth(35),e.M(80,250),e.L(520,250),e.stroke(),e.M(520,250),e.L(420,350),e.L(420,150),e.Z(),e.fill(),e.M(80,250),e.L(180,350),e.L(180,150),e.Z(),e.fill(),e.M(280,150),e.L(280,350),e.stroke(),e.M(320,150),e.L(320,350),e.stroke()}},10498:{width:H,draw:e=>{e.M(100,250),e.L(240,380),e.L(240,300),e.L(500,300),e.L(500,200),e.L(240,200),e.L(240,120),e.Z(),e.fill(),e.lineWidth(40),e.M(340,150),e.L(340,350),e.stroke()}},10499:{width:H,draw:e=>{e.M(500,250),e.L(360,380),e.L(360,300),e.L(100,300),e.L(100,200),e.L(360,200),e.L(360,120),e.Z(),e.fill(),e.lineWidth(40),e.M(260,150),e.L(260,350),e.stroke()}},10500:{width:H,draw:e=>{e.M(80,250),e.L(200,380),e.L(200,300),e.L(400,300),e.L(400,380),e.L(520,250),e.L(400,120),e.L(400,200),e.L(200,200),e.L(200,120),e.Z(),e.fill(),e.lineWidth(40),e.M(300,150),e.L(300,350),e.stroke()}},10501:{width:H,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(100,350),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(200,250),e.L(250,330),e.L(250,170),e.Z(),e.fill()}},10502:{width:H,draw:e=>{e.lineWidth(40),e.M(500,150),e.L(500,350),e.stroke(),e.M(100,250),e.L(280,380),e.L(280,300),e.L(500,300),e.L(500,200),e.L(280,200),e.L(280,120),e.Z(),e.fill()}},10503:{width:H,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(100,350),e.stroke(),e.M(500,250),e.L(320,380),e.L(320,300),e.L(100,300),e.L(100,200),e.L(320,200),e.L(320,120),e.Z(),e.fill()}},10504:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,100),e.stroke(),e.M(300,100),e.L(200,200),e.L(400,200),e.Z(),e.fill(),e.M(200,350),e.L(400,250),e.stroke()}},10505:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,400),e.stroke(),e.M(300,400),e.L(200,300),e.L(400,300),e.Z(),e.fill(),e.M(200,250),e.L(400,150),e.stroke()}},10506:{width:H,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,340),e.L(400,340),e.Z(),e.fill(),e.M(300,50),e.L(200,100),e.L(400,100),e.stroke()}},10507:{width:H,draw:e=>{e.lineWidth(35),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(200,160),e.L(400,160),e.Z(),e.fill(),e.M(300,450),e.L(200,400),e.L(400,400),e.stroke()}},10508:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(400,250),e.stroke(),e.M(350,250),e.L(250,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill()}},10509:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(200,250),e.stroke(),e.M(250,250),e.L(350,250),e.stroke(),e.M(500,250),e.L(370,370),e.L(370,130),e.Z(),e.fill()}},10510:{width:H,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(430,250),e.stroke(),e.M(380,250),e.L(310,250),e.stroke(),e.M(260,250),e.L(190,250),e.stroke(),e.M(100,250),e.L(220,360),e.L(220,140),e.Z(),e.fill()}},10511:{width:H,draw:e=>{e.lineWidth(35),e.M(100,250),e.L(170,250),e.stroke(),e.M(220,250),e.L(290,250),e.stroke(),e.M(340,250),e.L(410,250),e.stroke(),e.M(500,250),e.L(380,360),e.L(380,140),e.Z(),e.fill()}},10512:{width:H,draw:e=>{e.lineWidth(35),e.M(80,250),e.L(150,250),e.stroke(),e.M(200,250),e.L(270,250),e.stroke(),e.M(320,250),e.L(390,250),e.stroke(),e.M(520,250),e.L(400,360),e.L(400,140),e.Z(),e.fill(),e.M(80,250),e.L(160,330),e.L(160,170),e.Z(),e.fill()}},10513:{width:H,draw:e=>{e.circle(150,250,20),e.fill(),e.circle(230,250,20),e.fill(),e.circle(310,250,20),e.fill(),e.lineWidth(40),e.M(370,250),e.L(430,250),e.stroke(),e.M(500,250),e.L(380,350),e.L(380,150),e.Z(),e.fill()}},10514:{width:H,draw:e=>{e.lineWidth(45),e.M(300,50),e.L(300,380),e.stroke(),e.M(300,380),e.L(200,280),e.L(400,280),e.Z(),e.fill(),e.M(150,430),e.L(450,430),e.stroke()}},10515:{width:H,draw:e=>{e.lineWidth(45),e.M(300,420),e.L(300,100),e.stroke(),e.M(300,100),e.L(200,200),e.L(400,200),e.Z(),e.fill(),e.M(150,50),e.L(450,50),e.stroke()}},10518:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(100,250),e.L(180,340),e.L(180,160),e.Z(),e.fill(),e.M(100,350),e.L(100,150),e.stroke()}},10525:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,350),e.L(500,150),e.stroke()}},10526:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(100,350),e.L(100,150),e.stroke()}},10527:{width:H,draw:e=>{e.lineWidth(35),e.M(500,150),e.L(500,350),e.stroke(),e.M(500,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(150,300),e.L(200,250),e.L(150,200),e.Z(),e.fill()}},10528:{width:H,draw:e=>{e.lineWidth(35),e.M(100,150),e.L(100,350),e.stroke(),e.M(100,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(450,300),e.L(400,250),e.L(450,200),e.Z(),e.fill()}},10529:{width:H,draw:e=>{e.lineWidth(40),e.M(120,420),e.L(480,80),e.stroke(),e.M(120,420),e.L(120,320),e.L(220,420),e.Z(),e.fill(),e.M(480,80),e.L(480,180),e.L(380,80),e.Z(),e.fill()}},10530:{width:H,draw:e=>{e.lineWidth(40),e.M(480,420),e.L(120,80),e.stroke(),e.M(480,420),e.L(380,420),e.L(480,320),e.Z(),e.fill(),e.M(120,80),e.L(220,80),e.L(120,180),e.Z(),e.fill()}},10531:{width:H,draw:e=>{e.lineWidth(40),e.M(150,420),e.L(450,120),e.C(480,80,500,120,480,180),e.stroke(),e.M(150,420),e.L(150,310),e.L(260,420),e.Z(),e.fill()}},10532:{width:H,draw:e=>{e.lineWidth(40),e.M(450,420),e.L(150,120),e.C(120,80,100,120,120,180),e.stroke(),e.M(450,420),e.L(450,310),e.L(340,420),e.Z(),e.fill()}},10533:{width:H,draw:e=>{e.lineWidth(40),e.M(450,80),e.L(150,380),e.C(120,420,100,380,120,320),e.stroke(),e.M(450,80),e.L(450,190),e.L(340,80),e.Z(),e.fill()}},10534:{width:H,draw:e=>{e.lineWidth(40),e.M(150,80),e.L(450,380),e.C(480,420,500,380,480,320),e.stroke(),e.M(150,80),e.L(150,190),e.L(260,80),e.Z(),e.fill()}},10535:{width:H,draw:e=>{e.lineWidth(35),e.M(300,100),e.L(120,400),e.stroke(),e.M(120,400),e.L(120,300),e.L(220,400),e.Z(),e.fill(),e.M(300,100),e.L(480,400),e.stroke(),e.M(480,400),e.L(480,300),e.L(380,400),e.Z(),e.fill()}},10536:{width:H,draw:e=>{e.lineWidth(35),e.M(100,250),e.L(480,420),e.stroke(),e.M(480,420),e.L(380,420),e.L(480,330),e.Z(),e.fill(),e.M(100,250),e.L(480,80),e.stroke(),e.M(480,80),e.L(380,80),e.L(480,170),e.Z(),e.fill()}},10537:{width:H,draw:e=>{e.lineWidth(35),e.M(300,400),e.L(120,100),e.stroke(),e.M(120,100),e.L(220,100),e.L(120,200),e.Z(),e.fill(),e.M(300,400),e.L(480,100),e.stroke(),e.M(480,100),e.L(380,100),e.L(480,200),e.Z(),e.fill()}},10538:{width:H,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(120,80),e.stroke(),e.M(120,80),e.L(120,180),e.L(220,80),e.Z(),e.fill(),e.M(500,250),e.L(120,420),e.stroke(),e.M(120,420),e.L(120,320),e.L(220,420),e.Z(),e.fill()}},10548:{width:H,draw:e=>{e.lineWidth(45),e.M(100,150),e.L(350,150),e.C(430,150,450,250,450,350),e.stroke(),e.M(450,350),e.L(380,230),e.L(520,230),e.Z(),e.fill()}},10549:{width:H,draw:e=>{e.lineWidth(45),e.M(100,350),e.L(350,350),e.C(430,350,450,250,450,150),e.stroke(),e.M(450,150),e.L(380,270),e.L(520,270),e.Z(),e.fill()}},10550:{width:H,draw:e=>{e.lineWidth(45),e.M(500,400),e.L(300,400),e.C(200,400,150,300,150,200),e.stroke(),e.M(150,200),e.L(80,300),e.L(220,300),e.Z(),e.fill()}},10551:{width:H,draw:e=>{e.lineWidth(45),e.M(100,400),e.L(300,400),e.C(400,400,450,300,450,200),e.stroke(),e.M(450,200),e.L(380,300),e.L(520,300),e.Z(),e.fill()}},10552:{width:H,draw:e=>{e.lineWidth(40),e.M(400,400),e.C(500,350,500,150,400,100),e.C(300,50,200,100,150,200),e.stroke(),e.M(400,400),e.L(330,340),e.L(450,340),e.Z(),e.fill()}},10553:{width:H,draw:e=>{e.lineWidth(40),e.M(200,400),e.C(100,350,100,150,200,100),e.C(300,50,400,100,450,200),e.stroke(),e.M(200,400),e.L(270,340),e.L(150,340),e.Z(),e.fill()}},10554:{width:H,draw:e=>{e.lineWidth(40),e.M(100,200),e.C(100,350,250,430,400,380),e.C(480,340,500,250,450,180),e.stroke(),e.M(100,200),e.L(170,270),e.L(170,130),e.Z(),e.fill()}},10555:{width:H,draw:e=>{e.lineWidth(40),e.M(500,300),e.C(500,150,350,70,200,120),e.C(120,160,100,250,150,320),e.stroke(),e.M(500,300),e.L(430,230),e.L(430,370),e.Z(),e.fill()}},10560:{width:H,draw:e=>{e.lineWidth(40),e.M(300,430),e.C(180,430,100,350,100,250),e.C(100,150,180,70,300,70),e.C(420,70,500,150,500,250),e.C(500,350,420,430,340,430),e.stroke(),e.M(300,430),e.L(240,370),e.L(240,480),e.Z(),e.fill()}},10561:{width:H,draw:e=>{e.lineWidth(40),e.M(300,430),e.C(420,430,500,350,500,250),e.C(500,150,420,70,300,70),e.C(180,70,100,150,100,250),e.C(100,350,180,430,260,430),e.stroke(),e.M(300,430),e.L(360,370),e.L(360,480),e.Z(),e.fill()}},10562:{width:H,draw:e=>{e.lineWidth(30),e.M(100,320),e.L(460,320),e.stroke(),e.M(500,320),e.L(400,380),e.L(400,260),e.Z(),e.fill(),e.M(400,180),e.L(180,180),e.stroke(),e.M(140,180),e.L(240,240),e.L(240,120),e.Z(),e.fill()}},10563:{width:H,draw:e=>{e.lineWidth(30),e.M(500,320),e.L(140,320),e.stroke(),e.M(100,320),e.L(200,380),e.L(200,260),e.Z(),e.fill(),e.M(200,180),e.L(420,180),e.stroke(),e.M(460,180),e.L(360,240),e.L(360,120),e.Z(),e.fill()}},10564:{width:H,draw:e=>{e.lineWidth(30),e.M(200,320),e.L(420,320),e.stroke(),e.M(460,320),e.L(360,380),e.L(360,260),e.Z(),e.fill(),e.M(500,180),e.L(140,180),e.stroke(),e.M(100,180),e.L(200,240),e.L(200,120),e.Z(),e.fill()}},10565:{width:H,draw:e=>{e.lineWidth(40),e.M(100,300),e.L(460,300),e.stroke(),e.M(500,300),e.L(400,380),e.L(400,220),e.Z(),e.fill(),e.lineWidth(30),e.M(270,100),e.L(330,100),e.stroke(),e.M(300,70),e.L(300,130),e.stroke()}},10568:{width:H,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(460,350),e.stroke(),e.M(500,350),e.L(400,410),e.L(400,290),e.Z(),e.fill(),e.lineWidth(30),e.M(140,200),e.C(220,240,360,160,460,200),e.stroke(),e.M(140,130),e.C(220,170,360,90,460,130),e.stroke()}},10570:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,370),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,130),e.L(400,250),e.Z(),e.fill()}},10571:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,130),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,370),e.L(400,250),e.Z(),e.fill()}},10572:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(400,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(200,150),e.L(300,150),e.Z(),e.fill()}},10573:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(400,150),e.L(300,150),e.Z(),e.fill()}},10574:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,370),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,370),e.L(400,250),e.Z(),e.fill()}},10575:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(400,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(400,150),e.L(300,150),e.Z(),e.fill()}},10576:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,250),e.L(200,130),e.L(200,250),e.Z(),e.fill(),e.M(500,250),e.L(400,130),e.L(400,250),e.Z(),e.fill()}},10577:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,350),e.L(300,350),e.Z(),e.fill(),e.M(300,50),e.L(200,150),e.L(300,150),e.Z(),e.fill()}},10594:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(150,250),e.stroke(),e.M(150,250),e.L(260,370),e.L(260,250),e.Z(),e.fill(),e.M(500,150),e.L(500,350),e.stroke()}},10596:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(450,250),e.stroke(),e.M(450,250),e.L(340,370),e.L(340,250),e.Z(),e.fill(),e.M(100,150),e.L(100,350),e.stroke()}},10602:{width:H,draw:e=>{e.lineWidth(35),e.M(100,300),e.L(500,300),e.stroke(),e.M(100,300),e.L(200,400),e.L(200,300),e.Z(),e.fill(),e.M(100,200),e.L(500,200),e.stroke(),e.M(500,200),e.L(400,300),e.L(400,200),e.Z(),e.fill()}},10603:{width:H,draw:e=>{e.lineWidth(35),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,200),e.L(200,100),e.L(200,200),e.Z(),e.fill(),e.M(100,300),e.L(500,300),e.stroke(),e.M(500,300),e.L(400,200),e.L(400,300),e.Z(),e.fill()}},10604:{width:H,draw:e=>{e.lineWidth(35),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,200),e.L(200,300),e.L(200,200),e.Z(),e.fill(),e.M(100,300),e.L(500,300),e.stroke(),e.M(500,300),e.L(400,200),e.L(400,300),e.Z(),e.fill()}},10605:{width:H,draw:e=>{e.lineWidth(35),e.M(100,200),e.L(500,200),e.stroke(),e.M(100,200),e.L(200,100),e.L(200,200),e.Z(),e.fill(),e.M(100,300),e.L(500,300),e.stroke(),e.M(500,300),e.L(400,400),e.L(400,300),e.Z(),e.fill()}},10606:{width:H,draw:e=>{e.lineWidth(35),e.M(230,80),e.L(230,420),e.stroke(),e.M(230,420),e.L(150,320),e.L(230,320),e.Z(),e.fill(),e.M(370,420),e.L(370,80),e.stroke(),e.M(370,80),e.L(450,180),e.L(370,180),e.Z(),e.fill()}},10607:{width:H,draw:e=>{e.lineWidth(35),e.M(230,420),e.L(230,80),e.stroke(),e.M(230,80),e.L(150,180),e.L(230,180),e.Z(),e.fill(),e.M(370,80),e.L(370,420),e.stroke(),e.M(370,420),e.L(450,320),e.L(370,320),e.Z(),e.fill()}},10608:{width:H,draw:e=>{e.lineWidth(35),e.M(100,300),e.L(420,300),e.stroke(),e.M(100,200),e.L(420,200),e.stroke(),e.M(500,250),e.C(480,300,440,350,420,350),e.stroke(),e.M(500,250),e.C(480,200,440,150,420,150),e.stroke()}},10612:{width:H,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(460,350),e.stroke(),e.M(500,350),e.L(400,410),e.L(400,290),e.Z(),e.fill(),e.lineWidth(30),e.M(460,200),e.C(380,240,220,160,140,200),e.stroke(),e.M(460,130),e.C(380,170,220,90,140,130),e.stroke()}},10613:{width:H,draw:e=>{e.lineWidth(35),e.M(100,350),e.L(460,350),e.stroke(),e.M(500,350),e.L(400,410),e.L(400,290),e.Z(),e.fill(),e.lineWidth(35),e.M(140,170),e.C(220,230,380,110,460,170),e.stroke()}},10614:{width:H,draw:e=>{e.lineWidth(35),e.M(500,350),e.L(140,350),e.stroke(),e.M(100,350),e.L(200,410),e.L(200,290),e.Z(),e.fill(),e.lineWidth(35),e.M(140,170),e.C(220,230,380,110,460,170),e.stroke()}},10615:{width:H,draw:e=>{e.lineWidth(35),e.M(500,350),e.L(140,350),e.stroke(),e.M(100,350),e.L(200,410),e.L(200,290),e.Z(),e.fill(),e.lineWidth(30),e.M(140,200),e.C(220,240,360,160,460,200),e.stroke(),e.M(140,130),e.C(220,170,360,90,460,130),e.stroke()}},10616:{width:H,draw:e=>{e.lineWidth(35),e.M(100,380),e.L(460,380),e.stroke(),e.M(500,380),e.L(400,440),e.L(400,320),e.Z(),e.fill(),e.lineWidth(30),e.M(140,220),e.C(220,260,360,180,460,220),e.stroke(),e.M(140,150),e.C(220,190,360,110,460,150),e.stroke(),e.M(350,260),e.L(250,100),e.stroke()}},10617:{width:H,draw:e=>{e.lineWidth(35),e.M(120,250),e.L(480,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill()}},10618:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(130,250),e.stroke(),e.M(100,250),e.L(210,350),e.L(210,150),e.Z(),e.fill(),e.M(280,180),e.L(370,320),e.stroke(),e.M(370,180),e.L(280,320),e.stroke()}},10619:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(470,250),e.stroke(),e.M(500,250),e.L(390,350),e.L(390,150),e.Z(),e.fill(),e.M(230,180),e.L(320,320),e.stroke(),e.M(320,180),e.L(230,320),e.stroke()}},10620:{width:H,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(520,250),e.stroke(),e.M(520,250),e.L(420,370),e.L(420,250),e.Z(),e.fill()}},10621:{width:H,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(520,250),e.stroke(),e.M(520,250),e.L(420,130),e.L(420,250),e.Z(),e.fill()}},10622:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(400,350),e.L(300,350),e.Z(),e.fill()}},10623:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(200,350),e.L(300,350),e.Z(),e.fill()}}},NR={10176:{width:H,draw:e=>{e.lineWidth(45),e.M(450,80),e.L(150,80),e.L(350,420),e.stroke(),e.M(150,80),e.L(250,200),e.stroke()}},10177:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(100,50),e.L(500,50),e.Z(),e.stroke(),e.M(300,320),e.L(220,140),e.L(380,140),e.Z(),e.stroke()}},10178:{width:H,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(500,80),e.stroke(),e.M(300,80),e.L(300,420),e.stroke()}},10179:{width:H,draw:e=>{e.lineWidth(45),e.M(450,420),e.C(250,420,150,350,150,250),e.C(150,150,250,80,450,80),e.stroke()}},10180:{width:H,draw:e=>{e.lineWidth(45),e.M(150,420),e.C(350,420,450,350,450,250),e.C(450,150,350,80,150,80),e.stroke()}},10181:{width:H,draw:e=>{e.lineWidth(45),e.M(350,460),e.C(200,460,200,300,300,250),e.C(400,200,400,40,250,40),e.stroke()}},10182:{width:H,draw:e=>{e.lineWidth(45),e.M(250,460),e.C(400,460,400,300,300,250),e.C(200,200,200,40,350,40),e.stroke()}},10183:{width:H,draw:e=>{e.lineWidth(50),e.M(100,420),e.L(300,80),e.L(500,420),e.stroke(),e.circle(300,280,30),e.fill()}},10184:{width:H,draw:e=>{e.lineWidth(45),e.M(150,420),e.L(300,80),e.stroke(),e.M(450,420),e.C(350,420,300,350,300,250),e.C(300,150,350,80,450,80),e.stroke()}},10185:{width:H,draw:e=>{e.lineWidth(45),e.M(150,420),e.C(250,420,300,350,300,250),e.C(300,150,250,80,150,80),e.stroke(),e.M(450,420),e.L(300,80),e.stroke()}},10186:{width:H,draw:e=>{e.lineWidth(50),e.M(300,80),e.L(300,420),e.stroke(),e.M(150,250),e.L(450,250),e.stroke()}},10187:{width:H,draw:e=>{e.lineWidth(45),e.M(120,80),e.L(480,420),e.stroke()}},10188:{width:H,draw:e=>{e.lineWidth(45),e.M(200,80),e.C(150,80,120,120,120,200),e.L(120,420),e.stroke(),e.M(200,420),e.L(500,420),e.stroke()}},10189:{width:H,draw:e=>{e.lineWidth(45),e.M(120,420),e.L(480,80),e.stroke()}},10190:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,150),e.L(300,380),e.L(400,150),e.stroke()}},10191:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(200,350),e.L(300,120),e.L(400,350),e.stroke()}},10192:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.circle(300,250,30),e.fill()}},10193:{width:H,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(300,420),e.L(500,80),e.stroke(),e.circle(300,250,30),e.fill()}},10194:{width:H,draw:e=>{e.lineWidth(45),e.M(150,80),e.L(450,80),e.stroke(),e.M(300,80),e.L(300,420),e.stroke()}},10195:{width:H,draw:e=>{e.lineWidth(45),e.M(150,420),e.L(450,420),e.L(450,80),e.stroke(),e.circle(300,250,30),e.fill()}},10196:{width:H,draw:e=>{e.lineWidth(45),e.M(150,80),e.L(150,420),e.stroke(),e.M(150,420),e.L(450,420),e.stroke(),e.circle(300,250,30),e.fill()}},10197:{width:H,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(500,250),e.L(300,80),e.stroke(),e.M(100,420),e.L(300,420),e.stroke(),e.M(100,80),e.L(300,80),e.stroke(),e.M(100,80),e.L(100,420),e.stroke()}},10198:{width:H,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(100,250),e.L(300,80),e.stroke(),e.M(300,420),e.L(500,420),e.stroke(),e.M(300,80),e.L(500,80),e.stroke(),e.M(500,80),e.L(500,420),e.stroke()}},10199:{width:H,draw:e=>{e.lineWidth(40),e.M(300,420),e.L(500,250),e.L(300,80),e.L(100,250),e.Z(),e.stroke()}},10200:{width:H,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(500,80),e.stroke(),e.M(300,80),e.L(300,420),e.stroke()}},10201:{width:H,draw:e=>{e.lineWidth(50),e.M(100,420),e.L(500,420),e.stroke(),e.M(300,420),e.L(300,80),e.stroke()}},10202:{width:H,draw:e=>{e.lineWidth(40),e.M(200,80),e.L(200,420),e.stroke(),e.M(250,80),e.L(250,420),e.stroke(),e.M(350,80),e.L(350,420),e.stroke(),e.M(400,80),e.L(400,420),e.stroke(),e.M(250,250),e.L(350,250),e.stroke()}},10203:{width:H,draw:e=>{e.lineWidth(45),e.M(200,80),e.L(200,420),e.stroke(),e.M(400,80),e.L(400,420),e.stroke(),e.M(200,250),e.L(400,250),e.stroke()}},10204:{width:H,draw:e=>{e.lineWidth(45),e.M(150,250),e.L(400,250),e.stroke(),e.circle(450,250,50),e.stroke()}},10205:{width:H,draw:e=>{e.lineWidth(45),e.M(150,80),e.L(150,420),e.stroke(),e.M(150,250),e.L(500,250),e.stroke()}},10206:{width:H,draw:e=>{e.lineWidth(45),e.M(450,80),e.L(450,420),e.stroke(),e.M(100,250),e.L(450,250),e.stroke()}},10207:{width:H,draw:e=>{e.lineWidth(45),e.M(100,100),e.L(500,100),e.stroke(),e.M(300,100),e.L(300,320),e.stroke(),e.circle(300,390,50),e.stroke()}},10208:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(90,250),e.L(510,250),e.stroke()}},10209:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,300,100,250,100,250),e.C(100,250,250,200,300,50),e.C(350,200,500,250,500,250),e.C(500,250,350,300,300,450),e.stroke()}},10210:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(100,250),e.L(300,50),e.L(500,250),e.Z(),e.stroke(),e.M(400,250),e.L(300,250),e.stroke()}},10211:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,350,100,300,100,250),e.C(100,200,250,150,300,50),e.C(350,150,500,200,500,250),e.C(500,300,350,350,300,450),e.stroke()}},10212:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,350,100,300,100,250),e.C(100,200,250,150,300,50),e.C(350,150,500,200,500,250),e.C(500,300,350,350,300,450),e.stroke(),e.M(200,250),e.L(300,250),e.stroke()}},10213:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.C(250,350,100,300,100,250),e.C(100,200,250,150,300,50),e.C(350,150,500,200,500,250),e.C(500,300,350,350,300,450),e.stroke(),e.M(300,250),e.L(400,250),e.stroke()}},10214:{width:H,draw:e=>{e.lineWidth(45),e.M(380,470),e.L(200,470),e.L(200,30),e.L(380,30),e.stroke(),e.M(260,470),e.L(260,30),e.stroke()}},10215:{width:H,draw:e=>{e.lineWidth(45),e.M(220,470),e.L(400,470),e.L(400,30),e.L(220,30),e.stroke(),e.M(340,470),e.L(340,30),e.stroke()}},10220:{width:H,draw:e=>{e.lineWidth(45),e.M(380,470),e.C(200,400,200,100,380,30),e.stroke(),e.M(340,460),e.C(180,400,180,100,340,40),e.stroke()}},10221:{width:H,draw:e=>{e.lineWidth(45),e.M(220,470),e.C(400,400,400,100,220,30),e.stroke(),e.M(260,460),e.C(420,400,420,100,260,40),e.stroke()}},10222:{width:H,draw:e=>{e.lineWidth(45),e.M(370,470),e.C(230,380,230,120,370,30),e.stroke()}},10223:{width:H,draw:e=>{e.lineWidth(45),e.M(230,470),e.C(370,380,370,120,230,30),e.stroke()}}},PR={11008:{width:H,draw:e=>{e.lineWidth(40),e.M(120,80),e.L(480,420),e.stroke(),e.M(480,420),e.L(350,420),e.L(480,290),e.Z(),e.stroke()}},11009:{width:H,draw:e=>{e.lineWidth(40),e.M(480,80),e.L(120,420),e.stroke(),e.M(120,420),e.L(120,290),e.L(250,420),e.Z(),e.stroke()}},11010:{width:H,draw:e=>{e.lineWidth(40),e.M(120,420),e.L(480,80),e.stroke(),e.M(480,80),e.L(480,210),e.L(350,80),e.Z(),e.stroke()}},11011:{width:H,draw:e=>{e.lineWidth(40),e.M(480,420),e.L(120,80),e.stroke(),e.M(120,80),e.L(250,80),e.L(120,210),e.Z(),e.stroke()}},11012:{width:H,draw:e=>{e.lineWidth(40),e.M(60,250),e.L(200,400),e.L(200,310),e.L(400,310),e.L(400,400),e.L(540,250),e.L(400,100),e.L(400,190),e.L(200,190),e.L(200,100),e.Z(),e.stroke()}},11016:{width:H,draw:e=>{e.M(120,80),e.L(480,420),e.L(350,420),e.L(480,290),e.Z(),e.fill(),e.lineWidth(50),e.M(140,100),e.L(440,400),e.stroke()}},11017:{width:H,draw:e=>{e.M(480,80),e.L(120,420),e.L(120,290),e.L(250,420),e.Z(),e.fill(),e.lineWidth(50),e.M(460,100),e.L(160,400),e.stroke()}},11018:{width:H,draw:e=>{e.M(120,420),e.L(480,80),e.L(480,210),e.L(350,80),e.Z(),e.fill(),e.lineWidth(50),e.M(140,400),e.L(460,100),e.stroke()}},11019:{width:H,draw:e=>{e.M(480,420),e.L(120,80),e.L(250,80),e.L(120,210),e.Z(),e.fill(),e.lineWidth(50),e.M(460,400),e.L(160,100),e.stroke()}},11020:{width:H,draw:e=>{e.M(60,250),e.L(200,400),e.L(200,310),e.L(400,310),e.L(400,400),e.L(540,250),e.L(400,100),e.L(400,190),e.L(200,190),e.L(200,100),e.Z(),e.fill()}},11021:{width:H,draw:e=>{e.M(300,480),e.L(450,340),e.L(370,340),e.L(370,160),e.L(450,160),e.L(300,20),e.L(150,160),e.L(230,160),e.L(230,340),e.L(150,340),e.Z(),e.fill()}},11022:{width:H,draw:e=>{e.lineWidth(40),e.M(100,350),e.L(400,350),e.L(400,150),e.stroke(),e.M(400,150),e.L(330,250),e.L(470,250),e.Z(),e.fill()}},11023:{width:H,draw:e=>{e.lineWidth(40),e.M(100,150),e.L(400,150),e.L(400,350),e.stroke(),e.M(400,350),e.L(330,250),e.L(470,250),e.Z(),e.fill()}},11024:{width:H,draw:e=>{e.lineWidth(40),e.M(500,350),e.L(200,350),e.L(200,150),e.stroke(),e.M(200,150),e.L(130,250),e.L(270,250),e.Z(),e.fill()}},11025:{width:H,draw:e=>{e.lineWidth(40),e.M(500,150),e.L(200,150),e.L(200,350),e.stroke(),e.M(200,350),e.L(130,250),e.L(270,250),e.Z(),e.fill()}},11026:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(100,250,400,200),e.fill()}},11027:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(100,50,400,200),e.fill()}},11028:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(100,450),e.L(500,450),e.L(500,50),e.Z(),e.fill()}},11029:{width:H,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.M(100,50),e.L(100,450),e.L(500,50),e.Z(),e.fill()}},11030:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(300,470),e.L(90,250),e.L(300,30),e.Z(),e.fill()}},11031:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(300,470),e.L(510,250),e.L(300,30),e.Z(),e.fill()}},11032:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(90,250),e.L(300,470),e.L(510,250),e.Z(),e.fill()}},11033:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(510,250),e.L(300,30),e.L(90,250),e.Z(),e.stroke(),e.M(90,250),e.L(300,30),e.L(510,250),e.Z(),e.fill()}},11034:{width:H,draw:e=>{e.lineWidth(25);for(let t=0;t<8;t++){let n=100+t*50;e.M(n,450),e.L(n+30,450)}for(let t=0;t<8;t++){let n=100+t*50;e.M(n,50),e.L(n+30,50)}for(let t=0;t<8;t++){let n=50+t*50;e.M(100,n),e.L(100,n+30)}for(let t=0;t<8;t++){let n=50+t*50;e.M(500,n),e.L(500,n+30)}e.stroke()}},11037:{width:H,draw:e=>{e.rect(240,190,120,120),e.fill()}},11038:{width:H,draw:e=>{e.lineWidth(30),e.rect(240,190,120,120),e.stroke()}},11039:{width:H,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.fill()}},11040:{width:H,draw:e=>{e.lineWidth(40);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.stroke()}},11041:{width:H,draw:e=>{e.lineWidth(40);for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.stroke()}},11042:{width:H,draw:e=>{for(let t=0;t<6;t++){let n=(t*60-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.fill()}},11043:{width:H,draw:e=>{for(let t=0;t<6;t++){let n=t*60*Math.PI/180;t===0?e.M(300+200*Math.cos(n),250+200*Math.sin(n)):e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.Z(),e.fill()}},11044:{width:H,draw:e=>{e.circle(300,250,230),e.fill()}},11045:{width:H,draw:e=>{e.M(300,470),e.L(480,250),e.L(300,30),e.L(120,250),e.Z(),e.fill()}},11046:{width:H,draw:e=>{e.lineWidth(40),e.M(300,470),e.L(480,250),e.L(300,30),e.L(120,250),e.Z(),e.stroke()}},11047:{width:H,draw:e=>{e.M(300,490),e.L(460,250),e.L(300,10),e.L(140,250),e.Z(),e.fill()}},11048:{width:H,draw:e=>{e.lineWidth(40),e.M(300,490),e.L(460,250),e.L(300,10),e.L(140,250),e.Z(),e.stroke()}},11049:{width:H,draw:e=>{e.M(300,380),e.L(400,250),e.L(300,120),e.L(200,250),e.Z(),e.fill()}},11050:{width:H,draw:e=>{e.M(300,400),e.L(380,250),e.L(300,100),e.L(220,250),e.Z(),e.fill()}},11051:{width:H,draw:e=>{e.lineWidth(35),e.M(300,400),e.L(380,250),e.L(300,100),e.L(220,250),e.Z(),e.stroke()}},11052:{width:H,draw:e=>{e.ellipse(300,250,220,120),e.fill()}},11053:{width:H,draw:e=>{e.lineWidth(40),e.ellipse(300,250,220,120),e.stroke()}},11054:{width:H,draw:e=>{e.ellipse(300,250,120,220),e.fill()}},11055:{width:H,draw:e=>{e.lineWidth(40),e.ellipse(300,250,120,220),e.stroke()}},11056:{width:H,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(230,370),e.L(230,130),e.Z(),e.fill(),e.circle(510,250,30),e.fill()}},11057:{width:H,draw:e=>{e.lineWidth(25);for(let t=150;t<=350;t+=100)e.M(500,t),e.L(200,t),e.stroke(),e.M(120,t),e.L(220,t+60),e.L(220,t-60),e.Z(),e.fill()}},11058:{width:H,draw:e=>{e.lineWidth(35),e.M(460,250),e.L(200,250),e.stroke(),e.M(120,250),e.L(220,350),e.L(220,150),e.Z(),e.fill(),e.circle(500,250,40),e.stroke(),e.M(480,250),e.L(520,250),e.stroke(),e.M(500,230),e.L(500,270),e.stroke()}},11059:{width:H,draw:e=>{e.lineWidth(35),e.M(520,250),e.C(480,330,420,170,360,250),e.C(300,330,240,170,180,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill()}},11060:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(300,150),e.L(300,350),e.stroke()}},11061:{width:H,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(280,150),e.L(280,350),e.stroke(),e.M(320,150),e.L(320,350),e.stroke()}},11062:{width:H,draw:e=>{e.lineWidth(40),e.M(500,150),e.L(500,350),e.stroke(),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(400,250),e.L(450,320),e.L(450,180),e.Z(),e.fill()}},11063:{width:H,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(430,250),e.stroke(),e.M(380,250),e.L(310,250),e.stroke(),e.M(260,250),e.L(190,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(430,330),e.L(430,170),e.Z(),e.fill()}},11064:{width:H,draw:e=>{e.circle(450,250,20),e.fill(),e.circle(370,250,20),e.fill(),e.circle(290,250,20),e.fill(),e.lineWidth(40),e.M(230,250),e.L(170,250),e.stroke(),e.M(100,250),e.L(220,350),e.L(220,150),e.Z(),e.fill()}},11065:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(150,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,350),e.L(500,150),e.stroke(),e.M(350,150),e.L(350,350),e.stroke()}},11066:{width:H,draw:e=>{e.lineWidth(35),e.M(500,250),e.L(150,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill(),e.M(500,340),e.L(500,160),e.stroke(),e.M(330,160),e.L(330,340),e.stroke(),e.M(370,160),e.L(370,340),e.stroke()}},11067:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(500,350),e.L(500,150),e.stroke()}},11068:{width:H,draw:e=>{e.lineWidth(35),e.M(520,250),e.L(80,250),e.stroke(),e.M(80,250),e.L(170,340),e.L(170,160),e.Z(),e.fill(),e.M(520,250),e.L(430,340),e.L(430,160),e.Z(),e.fill(),e.M(520,340),e.L(520,160),e.stroke(),e.M(300,160),e.L(300,340),e.stroke()}},11069:{width:H,draw:e=>{e.lineWidth(30),e.M(530,250),e.L(70,250),e.stroke(),e.M(70,250),e.L(160,340),e.L(160,160),e.Z(),e.fill(),e.M(530,250),e.L(440,340),e.L(440,160),e.Z(),e.fill(),e.M(530,340),e.L(530,160),e.stroke(),e.M(280,160),e.L(280,340),e.stroke(),e.M(320,160),e.L(320,340),e.stroke()}},11070:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(130,250),e.stroke(),e.M(100,250),e.L(210,350),e.L(210,150),e.Z(),e.fill(),e.M(310,180),e.L(390,320),e.stroke(),e.M(390,180),e.L(310,320),e.stroke()}},11071:{width:H,draw:e=>{e.lineWidth(35),e.M(500,250),e.C(440,330,380,170,300,250),e.C(240,330,200,170,160,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill()}},11072:{width:H,draw:e=>{e.lineWidth(35),e.M(500,200),e.L(140,200),e.stroke(),e.M(100,200),e.L(200,270),e.L(200,130),e.Z(),e.fill(),e.M(150,350),e.L(470,350),e.stroke(),e.M(150,400),e.L(470,400),e.stroke()}},11073:{width:H,draw:e=>{e.lineWidth(35),e.M(500,200),e.L(140,200),e.stroke(),e.M(100,200),e.L(200,270),e.L(200,130),e.Z(),e.fill(),e.M(470,380),e.C(400,430,200,330,140,380),e.stroke()}},11077:{width:H,draw:e=>{e.lineWidth(25),e.M(500,330),e.L(200,330),e.stroke(),e.M(500,280),e.L(200,280),e.stroke(),e.M(500,230),e.L(200,230),e.stroke(),e.M(500,180),e.L(200,180),e.stroke(),e.M(100,250),e.L(230,400),e.L(230,100),e.Z(),e.fill()}},11078:{width:H,draw:e=>{e.lineWidth(25),e.M(100,330),e.L(400,330),e.stroke(),e.M(100,280),e.L(400,280),e.stroke(),e.M(100,230),e.L(400,230),e.stroke(),e.M(100,180),e.L(400,180),e.stroke(),e.M(500,250),e.L(370,400),e.L(370,100),e.Z(),e.fill()}},11089:{width:H,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),260+200*Math.sin(n)):e.L(300+200*Math.cos(n),260+200*Math.sin(n)),e.L(300+80*Math.cos(r),260+80*Math.sin(r))}e.Z(),e.fill()}},11090:{width:H,draw:e=>{e.lineWidth(35);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+200*Math.cos(n),260+200*Math.sin(n)):e.L(300+200*Math.cos(n),260+200*Math.sin(n)),e.L(300+80*Math.cos(r),260+80*Math.sin(r))}e.Z(),e.stroke()}},11091:{width:H,draw:e=>{for(let t=0;t<4;t++){let n=(t*90-90)*Math.PI/180,r=(t*90+45-90)*Math.PI/180;t===0?e.M(300+210*Math.cos(n),260+210*Math.sin(n)):e.L(300+210*Math.cos(n),260+210*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.fill()}},11092:{width:H,draw:e=>{e.lineWidth(40);for(let t=0;t<4;t++){let n=(t*90-90)*Math.PI/180,r=(t*90+45-90)*Math.PI/180;t===0?e.M(300+210*Math.cos(n),260+210*Math.sin(n)):e.L(300+210*Math.cos(n),260+210*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke()}},11093:{width:H,draw:e=>{e.lineWidth(60),e.circle(300,250,210),e.stroke()}},11094:{width:H,draw:e=>{e.circle(300,250,40),e.fill()}},11095:{width:H,draw:e=>{e.lineWidth(50),e.circle(300,250,180),e.stroke()}},11096:{width:H,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke()}},11097:{width:H,draw:e=>{e.lineWidth(40),e.circle(300,250,200),e.stroke(),e.circle(300,250,100),e.stroke()}},11104:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(230,380),e.L(230,120),e.Z(),e.fill()}},11105:{width:H,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,350),e.stroke(),e.M(300,450),e.L(180,320),e.L(420,320),e.Z(),e.fill()}},11106:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},11107:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(300,150),e.stroke(),e.M(300,50),e.L(180,180),e.L(420,180),e.Z(),e.fill()}},11108:{width:H,draw:e=>{e.lineWidth(35),e.M(180,250),e.L(420,250),e.stroke(),e.M(100,250),e.L(210,350),e.L(210,150),e.Z(),e.fill(),e.M(500,250),e.L(390,350),e.L(390,150),e.Z(),e.fill()}},11109:{width:H,draw:e=>{e.lineWidth(35),e.M(300,140),e.L(300,360),e.stroke(),e.M(300,460),e.L(200,350),e.L(400,350),e.Z(),e.fill(),e.M(300,40),e.L(200,150),e.L(400,150),e.Z(),e.fill()}},11120:{width:H,draw:e=>{e.lineWidth(30),e.M(500,280),e.L(200,280),e.stroke(),e.M(500,220),e.L(200,220),e.stroke(),e.M(100,250),e.L(230,380),e.L(230,120),e.Z(),e.fill()}},11122:{width:H,draw:e=>{e.lineWidth(30),e.M(100,280),e.L(400,280),e.stroke(),e.M(100,220),e.L(400,220),e.stroke(),e.M(500,250),e.L(370,380),e.L(370,120),e.Z(),e.fill()}},11157:{width:H,draw:e=>{e.M(550,250),e.L(370,420),e.L(370,310),e.L(50,310),e.L(50,190),e.L(370,190),e.L(370,80),e.Z(),e.fill()}},11118:{width:H,draw:e=>{e.lineWidth(40),e.M(150,400),e.L(150,200),e.C(150,80,300,50,450,80),e.C(500,100,520,200,450,250),e.stroke(),e.M(150,400),e.L(80,300),e.L(220,300),e.Z(),e.fill()}},11119:{width:H,draw:e=>{e.lineWidth(40),e.M(450,400),e.L(450,200),e.C(450,80,300,50,150,80),e.C(100,100,80,200,150,250),e.stroke(),e.M(450,400),e.L(380,300),e.L(520,300),e.Z(),e.fill()}},11134:{width:H,draw:e=>{e.lineWidth(40),e.M(100,250),e.L(430,250),e.stroke(),e.M(500,250),e.L(380,360),e.L(380,140),e.Z(),e.fill(),e.M(100,150),e.L(100,350),e.stroke()}},11135:{width:H,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(170,250),e.stroke(),e.M(100,250),e.L(220,360),e.L(220,140),e.Z(),e.fill(),e.M(500,150),e.L(500,350),e.stroke()}},11144:{width:H,draw:e=>{e.circle(300,250,220),e.fill()}},11146:{width:H,draw:e=>{e.circle(300,250,220),e.fill()}},11148:{width:H,draw:e=>{e.lineWidth(40),e.M(350,430),e.C(200,430,100,350,100,250),e.C(100,150,200,70,350,70),e.C(480,70,520,200,500,300),e.stroke(),e.M(350,430),e.L(290,370),e.L(400,370),e.Z(),e.fill()}},11150:{width:H,draw:e=>{e.lineWidth(40),e.M(250,430),e.C(400,430,500,350,500,250),e.C(500,150,400,70,250,70),e.C(120,70,80,200,100,300),e.stroke(),e.M(250,430),e.L(200,370),e.L(310,370),e.Z(),e.fill()}},11152:{width:H,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(200,250),e.stroke(),e.M(120,250),e.L(170,300),e.L(220,250),e.L(170,200),e.Z(),e.fill()}},11153:{width:H,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(400,250),e.stroke(),e.M(480,250),e.L(430,300),e.L(380,250),e.L(430,200),e.Z(),e.fill()}},11165:{width:H,draw:e=>{e.M(300,450),e.L(150,100),e.L(450,100),e.Z(),e.fill()}},11166:{width:H,draw:e=>{e.M(150,450),e.L(500,250),e.L(150,50),e.Z(),e.fill()}},11167:{width:H,draw:e=>{e.M(150,400),e.L(450,400),e.L(300,50),e.Z(),e.fill()}},11168:{width:H,draw:e=>{e.M(450,450),e.L(100,250),e.L(450,50),e.Z(),e.fill()}},11169:{width:H,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(150,100),e.L(450,100),e.Z(),e.stroke()}},11170:{width:H,draw:e=>{e.lineWidth(40),e.M(150,450),e.L(500,250),e.L(150,50),e.Z(),e.stroke()}},11171:{width:H,draw:e=>{e.lineWidth(40),e.M(150,400),e.L(450,400),e.L(300,50),e.Z(),e.stroke()}},11172:{width:H,draw:e=>{e.lineWidth(40),e.M(450,450),e.L(100,250),e.L(450,50),e.Z(),e.stroke()}}}}));function U(e,t,n,r,i,a){return{width:W,draw:o=>{a||o.lineWidth(30);for(let a=0;a<e;a++){let s=(a*360/e-90)*Math.PI/180,c=(a*360/e+180/e-90)*Math.PI/180;a===0?o.M(t+r*Math.cos(s),n+r*Math.sin(s)):o.L(t+r*Math.cos(s),n+r*Math.sin(s)),o.L(t+i*Math.cos(c),n+i*Math.sin(c))}o.Z(),a?o.fill():o.stroke()}}}function IR(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r,s=300+r*220,c=250+i*220,l=300-r*220,u=250-i*220,d=300-r*60,f=250-i*60;return{width:W,draw:e=>{e.M(l-a*50,u-o*50),e.L(d-a*50,f-o*50),e.L(d-a*120,f-o*120),e.L(s,c),e.L(d+a*120,f+o*120),e.L(d+a*50,f+o*50),e.L(l+a*50,u+o*50),e.Z(),e.fill()}}}function LR(e){let t={1:[[300,250]],2:[[200,350],[400,150]],3:[[200,350],[300,250],[400,150]],4:[[200,350],[400,350],[200,150],[400,150]],5:[[200,350],[400,350],[300,250],[200,150],[400,150]],6:[[200,350],[400,350],[200,250],[400,250],[200,150],[400,150]]};return{width:W,draw:n=>{n.lineWidth(35),n.rect(100,50,400,400),n.stroke();let r=t[e]??[];for(let[e,t]of r)n.circle(e,t,30),n.fill()}}}function RR(e,t){return{width:W,draw:n=>{switch(t||n.lineWidth(30),n.rect(180,30,240,40),t?n.fill():n.stroke(),e){case`king`:n.M(220,70),n.L(220,350),n.L(380,350),n.L(380,70),n.Z(),t?n.fill():n.stroke(),n.lineWidth(35),n.M(300,350),n.L(300,450),n.stroke(),n.M(260,420),n.L(340,420),n.stroke();break;case`queen`:n.M(220,70),n.L(200,350),n.L(400,350),n.L(380,70),n.Z(),t?n.fill():n.stroke(),n.lineWidth(25),n.M(200,350),n.L(160,430),n.stroke(),n.M(270,350),n.L(250,440),n.stroke(),n.M(300,350),n.L(300,460),n.stroke(),n.M(330,350),n.L(350,440),n.stroke(),n.M(400,350),n.L(440,430),n.stroke();break;case`rook`:n.M(200,70),n.L(200,350),n.L(400,350),n.L(400,70),n.Z(),t?n.fill():n.stroke(),n.rect(180,350,60,80),t?n.fill():n.stroke(),n.rect(270,350,60,80),t?n.fill():n.stroke(),n.rect(360,350,60,80),t?n.fill():n.stroke();break;case`bishop`:n.M(230,70),n.L(200,300),n.C(200,400,400,400,400,300),n.L(370,70),n.Z(),t?n.fill():n.stroke(),n.M(300,300),n.L(300,460),t||n.lineWidth(25),n.stroke();break;case`knight`:n.M(220,70),n.L(220,300),n.L(280,350),n.L(280,420),n.L(350,460),n.L(420,400),n.L(380,300),n.L(380,70),n.Z(),t?n.fill():n.stroke();break;case`pawn`:n.M(230,70),n.L(230,200),n.L(370,200),n.L(370,70),n.Z(),t?n.fill():n.stroke(),n.circle(300,320,90),t?n.fill():n.stroke();break}}}}function zR(e,t){return{width:W,draw:n=>{n.lineWidth(t);for(let t=0;t<e;t++){let r=t*180/e*Math.PI/180;n.M(300-180*Math.cos(r),250-180*Math.sin(r)),n.L(300+180*Math.cos(r),250+180*Math.sin(r))}n.stroke()}}}function BR(e,t,n,r,i){let a=Math.sqrt(e*e+t*t),o=e/a,s=t/a,c=-s,l=o,u=300+o*220,d=250+s*220,f=300-o*220,p=250-s*220,m=u-o*r,h=d-s*r;return{width:W,draw:e=>{e.M(f-c*i,p-l*i),e.L(m-c*i,h-l*i),e.L(m-c*n,h-l*n),e.L(u,d),e.L(m+c*n,h+l*n),e.L(m+c*i,h+l*i),e.L(f+c*i,p+l*i),e.Z(),e.fill()}}}function VR(e,t,n){let r=Math.sqrt(e*e+t*t),i=e/r,a=t/r,o=-a,s=i,c=300+i*200,l=250+a*200,u=300-i*200,d=250-a*200,f=c-i*140,p=l-a*140;return{width:W,draw:e=>{let t=n,r=-n;e.M(u+t-o*45,d+r-s*45),e.L(f+t-o*45,p+r-s*45),e.L(f+t-o*110,p+r-s*110),e.L(c+t,l+r),e.L(f+t+o*110,p+r+s*110),e.L(f+t+o*45,p+r+s*45),e.L(u+t+o*45,d+r+s*45),e.Z(),e.fill(),e.M(u-o*45,d-s*45),e.L(f-o*45,p-s*45),e.L(f-o*110,p-s*110),e.L(c,l),e.L(f+o*110,p+s*110),e.L(f+o*45,p+s*45),e.L(u+o*45,d+s*45),e.Z(),e.fill()}}}function HR(e){return{width:W,draw:t=>{let n=e>0?400:100;t.lineWidth(50),t.M(100,n),t.C(100,250,300,250,480,250),t.stroke(),t.M(480,250),t.L(400,180),t.L(400,320),t.Z(),t.fill()}}}function UR(e,t,n){return{width:W,draw:r=>{r.lineWidth(n),r.M(80,250-t),r.L(360,250-t),r.L(360,250-e),r.L(520,250),r.L(360,250+e),r.L(360,250+t),r.L(80,250+t),r.Z(),r.stroke()}}}function WR(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:W,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*60,c-i*90+o*60),e.L(s-r*90-a*60,c-i*90-o*60),e.Z(),e.fill(),e.M(t+a*70,n+o*70),e.L(t-a*70,n-o*70),e.stroke()}}}function GR(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:W,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill(),e.M(t,n),e.L(t+r*90+a*55,n+i*90+o*55),e.L(t+r*90-a*55,n+i*90-o*55),e.Z(),e.fill()}}}function KR(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:W,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill(),e.M(300+a*60+r*30,250+o*60+i*30),e.L(300-a*60-r*30,250-o*60-i*30),e.stroke()}}}function qR(e,t,n,r){let i=Math.sqrt(e*e+t*t),a=e/i,o=t/i,s=-o,c=a,l=Math.sqrt(n*n+r*r),u=n/l,d=r/l,f=-d,p=u;return{width:W,draw:e=>{e.lineWidth(28);let t=300-a*180+s*50,n=250-o*180+c*50,r=300+a*180+s*50,i=250+o*180+c*50;e.M(t,n),e.L(r,i),e.stroke(),e.M(r,i),e.L(r-a*70+s*45,i-o*70+c*45),e.L(r-a*70-s*45,i-o*70-c*45),e.Z(),e.fill();let l=300-u*180-f*50,m=250-d*180-p*50,h=300+u*180-f*50,g=250+d*180-p*50;e.M(l,m),e.L(h,g),e.stroke(),e.M(h,g),e.L(h-u*70+f*45,g-d*70+p*45),e.L(h-u*70-f*45,g-d*70-p*45),e.Z(),e.fill()}}}function JR(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:W,draw:e=>{e.lineWidth(35);let t=300-r*160,n=250-i*160,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill();let l=t-r*40,u=n-i*40;e.circle(l,u,40),e.stroke()}}}function YR(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:W,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s,c),e.L(s-r*90+a*55,c-i*90+o*55),e.L(s-r*90-a*55,c-i*90-o*55),e.Z(),e.fill(),e.lineWidth(22),e.M(300-r*50+a*50,250-i*50+o*50),e.C(300-r*25+a*70,250-i*25+o*70,300+r*25+a*30,250+i*25+o*30,300+r*50+a*50,250+i*50+o*50),e.stroke()}}}function XR(e,t,n){let r=Math.sqrt(e*e+t*t),i=e/r,a=t/r,o=-a,s=i;return{width:W,draw:e=>{e.lineWidth(n);let t=300-i*200,r=250-a*200,c=300+i*200,l=250+a*200;e.M(t,r),e.L(c,l),e.stroke(),e.M(c-i*90+o*60,l-a*90+s*60),e.L(c,l),e.L(c-i*90-o*60,l-a*90-s*60),e.stroke()}}}function ZR(e,t){let n=Math.sqrt(e*e+t*t),r=e/n,i=t/n,a=-i,o=r;return{width:W,draw:e=>{e.lineWidth(35);let t=300-r*200,n=250-i*200,s=300+r*200,c=250+i*200;e.M(t,n),e.L(s,c),e.stroke(),e.M(s-r*80+a*55,c-i*80+o*55),e.L(s,c),e.L(s-r*80-a*55,c-i*80-o*55),e.stroke(),e.M(t+a*70,n+o*70),e.L(t-a*70,n-o*70),e.stroke(),e.M(s+a*70,c+o*70),e.L(s-a*70,c-o*70),e.stroke()}}}function QR(e,t){return{width:W,draw:n=>{n.lineWidth(t);for(let t=0;t<e;t++){let r=t*Math.PI/e;n.M(300-120*Math.cos(r),400-120*Math.sin(r)),n.L(300+120*Math.cos(r),400+120*Math.sin(r))}n.stroke()}}}function $R(e,t,n){e.M(t-60,400),e.C(t-60,480,t+60,480,t+60,400),e.C(t+60,320,t,300,t,240),e.stroke(),e.circle(t,150,25),e.fill()}function ez(e,t,n){e.M(t,480),e.L(t,200),e.stroke(),e.circle(t,130,28),e.fill()}var W,tz,G,K,nz,rz,q,iz,az,oz=t((()=>{W=600,tz={9690:{width:W,draw:e=>{e.lineWidth(45),e.M(80,250),e.C(80,390,180,470,300,470),e.C(420,470,520,390,520,250),e.stroke()}},9691:{width:W,draw:e=>{e.lineWidth(45),e.M(520,250),e.C(520,110,420,30,300,30),e.C(180,30,80,110,80,250),e.stroke()}},10690:{width:W,draw:e=>{e.lineWidth(35),e.circle(260,250,180),e.stroke(),e.circle(470,250,50),e.stroke()}},10691:{width:W,draw:e=>{e.lineWidth(35),e.circle(260,250,180),e.stroke(),e.M(440,290),e.L(540,290),e.stroke(),e.M(440,210),e.L(540,210),e.stroke()}},10692:{width:W,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.M(160,100),e.L(440,400),e.stroke()}},10693:{width:W,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.M(160,400),e.L(440,100),e.stroke()}},10694:{width:W,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.lineWidth(35),e.M(300,100),e.L(300,400),e.stroke(),e.M(160,250),e.L(440,250),e.stroke(),e.M(180,120),e.L(420,380),e.stroke(),e.M(180,380),e.L(420,120),e.stroke()}},9548:{width:W,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(120,250),e.stroke(),e.M(200,250),e.L(400,250),e.stroke(),e.M(480,250),e.L(600,250),e.stroke()}},9549:{width:W,draw:e=>{e.lineWidth(80),e.M(0,250),e.L(120,250),e.stroke(),e.M(200,250),e.L(400,250),e.stroke(),e.M(480,250),e.L(600,250),e.stroke()}},9550:{width:W,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,100),e.stroke(),e.M(300,180),e.L(300,320),e.stroke(),e.M(300,400),e.L(300,500),e.stroke()}},9551:{width:W,draw:e=>{e.lineWidth(80),e.M(300,0),e.L(300,100),e.stroke(),e.M(300,180),e.L(300,320),e.stroke(),e.M(300,400),e.L(300,500),e.stroke()}},8456:{width:W,draw:e=>{e.lineWidth(40),e.M(180,450),e.L(420,450),e.L(420,250),e.L(250,250),e.stroke(),e.M(420,250),e.L(420,50),e.L(180,50),e.stroke()}},8483:{width:W,draw:e=>{e.lineWidth(45),e.M(150,480),e.L(300,20),e.L(450,480),e.stroke()}},8506:{width:W,draw:e=>{e.lineWidth(40),e.ellipse(300,260,180,200),e.stroke(),e.M(380,140),e.L(480,40),e.stroke()}},8507:{width:W,draw:e=>{e.lineWidth(40),e.M(80,50),e.L(80,480),e.L(200,480),e.stroke(),e.M(80,280),e.L(180,280),e.stroke(),e.M(230,50),e.L(300,480),e.L(370,50),e.stroke(),e.M(255,200),e.L(345,200),e.stroke(),e.M(400,480),e.L(520,50),e.stroke(),e.M(520,480),e.L(400,50),e.stroke()}},9135:{width:W,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke()}},9143:{width:W,draw:e=>{e.lineWidth(45),e.M(80,250),e.L(200,250),e.L(300,0),e.L(520,500),e.stroke()}},9144:{width:300,draw:e=>{e.lineWidth(40),e.M(80,0),e.L(80,500),e.stroke()}},9145:{width:300,draw:e=>{e.lineWidth(40),e.M(220,0),e.L(220,500),e.stroke()}},9154:{width:W,draw:e=>{e.lineWidth(35),e.M(300,0),e.L(300,500),e.stroke(),e.M(100,250),e.C(150,300,250,200,300,250),e.C(350,300,450,200,500,250),e.stroke()}}};for(let e of[9155,9156,9157,9158,9159,9160,9169,9170,9171,9172,9173,9174,9175,9176,9177])tz[e]={width:W,draw:e=>{e.lineWidth(35),e.M(300,0),e.L(300,500),e.stroke(),e.M(150,250),e.L(450,250),e.stroke()}};tz[10063]={width:W,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(140,80),e.L(500,80),e.L(500,420),e.stroke()}},tz[10064]={width:W,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(480,440),e.L(480,80),e.L(120,80),e.stroke()}},tz[10065]={width:W,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(460,440),e.L(100,440),e.L(100,80),e.stroke()}},tz[10066]={width:W,draw:e=>{e.lineWidth(30),e.rect(120,80,360,360),e.stroke(),e.lineWidth(50),e.M(120,60),e.L(120,420),e.L(480,420),e.stroke()}},tz[10072]={width:250,draw:e=>{e.lineWidth(35),e.M(125,0),e.L(125,500),e.stroke()}},tz[10073]={width:300,draw:e=>{e.lineWidth(55),e.M(150,0),e.L(150,500),e.stroke()}},tz[10074]={width:350,draw:e=>{e.lineWidth(80),e.M(175,0),e.L(175,500),e.stroke()}},tz[10075]={width:300,draw:e=>{e.circle(150,430,55),e.fill(),e.lineWidth(40),e.M(150,375),e.C(110,320,90,290,70,270),e.stroke()}},tz[10076]={width:300,draw:e=>{e.circle(150,430,55),e.fill(),e.lineWidth(40),e.M(150,375),e.C(190,320,210,290,230,270),e.stroke()}},tz[10077]={width:450,draw:e=>{e.circle(120,430,50),e.fill(),e.circle(300,430,50),e.fill(),e.lineWidth(35),e.M(120,380),e.C(80,320,60,290,40,270),e.stroke(),e.M(300,380),e.C(260,320,240,290,220,270),e.stroke()}},tz[10078]={width:450,draw:e=>{e.circle(150,430,50),e.fill(),e.circle(330,430,50),e.fill(),e.lineWidth(35),e.M(150,380),e.C(190,320,210,290,230,270),e.stroke(),e.M(330,380),e.C(370,320,390,290,410,270),e.stroke()}},tz[10079]={width:300,draw:e=>{e.circle(150,80,50),e.fill(),e.lineWidth(40),e.M(150,130),e.C(190,190,210,220,230,250),e.stroke()}},tz[10080]={width:450,draw:e=>{e.circle(130,80,45),e.fill(),e.circle(310,80,45),e.fill(),e.lineWidth(35),e.M(130,125),e.C(170,190,190,220,210,250),e.stroke(),e.M(310,125),e.C(350,190,370,220,390,250),e.stroke()}},tz[10081]={width:W,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(300,100),e.stroke(),e.M(180,380),e.L(420,380),e.stroke(),e.circle(300,50,30),e.fill()}};for(let[e,t,n,r]of[[10088,10089,!1,!1],[10090,10091,!1,!0],[10092,10093,!0,!1],[10094,10095,!0,!1],[10096,10097,!0,!0],[10098,10099,!1,!0],[10100,10101,!1,!1]]){let i=r?55:38;n?(tz[e]={width:350,draw:e=>{e.lineWidth(i),e.M(280,480),e.L(100,250),e.L(280,20),e.stroke()}},tz[t]={width:350,draw:e=>{e.lineWidth(i),e.M(70,480),e.L(250,250),e.L(70,20),e.stroke()}}):(tz[e]={width:350,draw:e=>{e.lineWidth(i),e.M(260,480),e.C(100,400,100,100,260,20),e.stroke()}},tz[t]={width:350,draw:e=>{e.lineWidth(i),e.M(90,480),e.C(250,400,250,100,90,20),e.stroke()}})}{let e=(e,t,n,r,i)=>{[e=>{e.ellipse(n,r,i*.28,i*.42),e.stroke()},e=>{e.M(n,r+i*.42),e.L(n,r-i*.42),e.stroke()},e=>{e.M(n-i*.25,r+i*.25),e.C(n-i*.25,r+i*.45,n+i*.25,r+i*.45,n+i*.25,r+i*.15),e.L(n-i*.25,r-i*.42),e.L(n+i*.25,r-i*.42),e.stroke()},e=>{e.M(n-i*.22,r+i*.42),e.L(n+i*.22,r+i*.42),e.L(n+i*.22,r),e.L(n-i*.1,r),e.stroke(),e.M(n+i*.22,r),e.L(n+i*.22,r-i*.42),e.L(n-i*.22,r-i*.42),e.stroke()},e=>{e.M(n+i*.2,r+i*.42),e.L(n-i*.25,r-i*.05),e.L(n+i*.25,r-i*.05),e.stroke(),e.M(n+i*.2,r+i*.42),e.L(n+i*.2,r-i*.42),e.stroke()},e=>{e.M(n+i*.22,r+i*.42),e.L(n-i*.22,r+i*.42),e.L(n-i*.22,r+i*.05),e.L(n+i*.22,r+i*.05),e.C(n+i*.35,r+i*.05,n+i*.35,r-i*.42,n-i*.22,r-i*.42),e.stroke()},e=>{e.M(n+i*.2,r+i*.35),e.C(n-i*.1,r+i*.45,n-i*.3,r+i*.15,n-i*.25,r-i*.1),e.C(n-i*.2,r-i*.45,n+i*.25,r-i*.45,n+i*.25,r-i*.1),e.C(n+i*.25,r+i*.1,n-i*.25,r+i*.1,n-i*.25,r-i*.1),e.stroke()},e=>{e.M(n-i*.22,r+i*.42),e.L(n+i*.22,r+i*.42),e.L(n-i*.05,r-i*.42),e.stroke()},e=>{e.ellipse(n,r+i*.22,i*.2,i*.2),e.stroke(),e.ellipse(n,r-i*.22,i*.22,i*.22),e.stroke()},e=>{e.M(n-i*.2,r-i*.35),e.C(n+i*.1,r-i*.45,n+i*.3,r-i*.15,n+i*.25,r+i*.1),e.C(n+i*.2,r+i*.45,n-i*.25,r+i*.45,n-i*.25,r+i*.1),e.C(n-i*.25,r-i*.1,n+i*.25,r-i*.1,n+i*.25,r+i*.1),e.stroke()}][t](e)};for(let t=0;t<10;t++){let n=t+1;tz[10112+t]={width:W,draw:t=>{t.lineWidth(28),t.circle(300,250,220),t.stroke(),t.lineWidth(26),n<=9?e(t,n,300,250,210):(e(t,1,225,250,155),e(t,0,375,250,155))}}}for(let t=0;t<10;t++){let n=t+1;tz[10122+t]={width:W,draw:t=>{t.rect(70,20,460,460),t.fill(),t.lineWidth(24),n<=9?e(t,n,300,250,200):(e(t,1,225,250,150),e(t,0,375,250,150))}}}}tz[10160]={width:W,draw:e=>{e.lineWidth(40),e.M(150,100),e.C(150,400,450,400,450,250),e.C(450,100,250,100,250,250),e.C(250,350,350,400,450,350),e.stroke()}},tz[10175]={width:W,draw:e=>{e.lineWidth(35),e.M(80,150),e.C(80,400,300,400,300,250),e.C(300,100,150,100,150,250),e.stroke(),e.M(300,150),e.C(300,400,520,400,520,250),e.C(520,100,370,100,370,250),e.stroke()}},G={10025:U(4,300,250,220,80,!1),10026:{width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,230),e.stroke(),U(5,300,250,180,70,!0).draw(e)}},10027:U(4,300,250,220,100,!0),10028:U(4,300,250,220,100,!1),10029:U(5,300,250,220,100,!1),10030:U(6,300,250,220,130,!1),10031:U(6,300,250,220,100,!1),10033:zR(6,45),10034:zR(4,30),10035:zR(8,25),10036:U(8,300,250,200,100,!0),10037:U(8,300,250,200,80,!0),10038:U(6,300,250,220,110,!0),10039:U(6,300,250,220,110,!1),10040:U(8,300,250,220,90,!0),10041:zR(12,40),10042:zR(6,35),10043:zR(8,20),10044:zR(8,15),10045:zR(4,50),10046:U(6,300,250,200,140,!1),10047:U(8,300,250,200,140,!0),10048:U(8,300,250,200,140,!1),10049:U(8,300,250,210,160,!1),10050:U(16,300,250,220,160,!1),10051:zR(6,50),10052:U(6,300,250,220,120,!1),10053:U(6,300,250,200,100,!1),10054:U(4,300,250,220,60,!1),10055:U(4,300,250,200,50,!0),10056:U(4,300,250,220,50,!0),10057:U(4,300,250,180,80,!0),10058:U(8,300,250,200,130,!0),10059:U(8,300,250,220,100,!0),9984:{width:W,draw:e=>{e.lineWidth(35),e.circle(170,370,80),e.stroke(),e.circle(170,130,80),e.stroke(),e.M(240,320),e.L(520,80),e.stroke(),e.M(240,180),e.L(520,420),e.stroke()}},9987:{width:W,draw:e=>{e.lineWidth(40),e.circle(170,370,80),e.stroke(),e.circle(170,130,80),e.stroke(),e.M(240,320),e.L(520,80),e.stroke(),e.M(240,180),e.L(520,420),e.stroke()}},9988:{width:W,draw:e=>{e.lineWidth(30),e.circle(160,350,70),e.stroke(),e.circle(160,150,70),e.stroke(),e.M(220,300),e.L(500,100),e.stroke(),e.M(220,200),e.L(500,400),e.stroke()}},9989:{width:W,draw:e=>{e.lineWidth(70),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},9994:{width:W,draw:e=>{e.circle(300,250,200),e.fill()}},9995:{width:W,draw:e=>{e.lineWidth(40),e.M(180,50),e.L(180,350),e.stroke(),e.M(250,50),e.L(250,400),e.stroke(),e.M(320,50),e.L(320,400),e.stroke(),e.M(390,50),e.L(390,350),e.stroke(),e.M(450,100),e.L(450,300),e.stroke()}},9996:{width:W,draw:e=>{e.lineWidth(40),e.M(220,50),e.L(250,400),e.stroke(),e.M(380,50),e.L(350,400),e.stroke()}},9997:{width:W,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(460,430),e.stroke(),e.M(120,50),e.L(150,130),e.stroke()}},10001:{width:W,draw:e=>{e.lineWidth(40),e.M(140,30),e.L(460,430),e.stroke(),e.M(120,80),e.L(190,30),e.stroke()}},10002:{width:W,draw:e=>{e.M(140,30),e.L(110,80),e.L(440,470),e.L(490,470),e.L(490,430),e.L(170,30),e.Z(),e.fill()}},10009:{width:W,draw:e=>{e.lineWidth(50),e.M(300,30),e.L(300,470),e.stroke(),e.M(90,250),e.L(510,250),e.stroke()}},10011:{width:W,draw:e=>{e.lineWidth(65),e.M(300,30),e.L(300,470),e.stroke(),e.M(80,250),e.L(520,250),e.stroke()}},10015:{width:W,draw:e=>{e.lineWidth(45),e.M(300,0),e.L(300,500),e.stroke(),e.M(120,370),e.L(480,370),e.stroke()}},10017:U(6,300,250,230,115,!1),10018:U(4,300,250,220,60,!0),10019:U(4,300,250,220,80,!1),10020:U(4,300,250,200,100,!0),10021:U(4,300,250,220,40,!0),10060:{width:W,draw:e=>{e.lineWidth(70),e.M(130,60),e.L(470,440),e.stroke(),e.M(130,440),e.L(470,60),e.stroke()}},10061:{width:W,draw:e=>{e.lineWidth(50),e.circle(300,250,210),e.stroke()}},10062:{width:W,draw:e=>{e.rect(80,30,440,440),e.fill()}},10067:{width:W,draw:e=>{e.lineWidth(55),e.M(200,400),e.C(200,480,400,480,400,380),e.C(400,300,300,280,300,220),e.stroke(),e.circle(300,120,35),e.fill()}},10068:{width:W,draw:e=>{e.lineWidth(45),e.M(200,400),e.C(200,480,400,480,400,380),e.C(400,300,300,280,300,220),e.stroke(),e.circle(300,120,30),e.fill()}},10069:{width:W,draw:e=>{e.lineWidth(50),e.M(200,400),e.C(200,480,400,480,400,380),e.C(400,300,300,280,300,220),e.stroke(),e.circle(300,120,35),e.fill()}},10070:U(4,300,250,230,50,!0),10071:{width:W,draw:e=>{e.lineWidth(60),e.M(300,480),e.L(300,150),e.stroke(),e.circle(300,60,38),e.fill()}},10082:{width:W,draw:e=>{e.lineWidth(55),e.M(300,480),e.L(300,150),e.stroke(),e.circle(300,60,35),e.fill()}},10083:{width:W,draw:e=>{e.lineWidth(55),e.M(300,480),e.L(300,200),e.stroke(),e.M(300,100),e.C(300,100,200,130,200,70),e.C(200,20,300,20,300,100),e.C(300,20,400,20,400,70),e.C(400,130,300,100,300,100),e.fill()}},10084:{width:W,draw:e=>{e.M(300,80),e.C(300,80,60,220,60,350),e.C(60,470,180,500,300,500),e.C(420,500,540,470,540,350),e.C(540,220,300,80,300,80),e.Z(),e.fill()}},10085:{width:W,draw:e=>{e.lineWidth(35),e.M(300,370),e.L(300,100),e.stroke(),e.M(300,460),e.C(300,460,200,490,200,430),e.C(200,380,300,380,300,460),e.C(300,380,400,380,400,430),e.C(400,490,300,460,300,460),e.fill()}},10086:{width:W,draw:e=>{e.lineWidth(30),e.M(300,80),e.C(300,80,100,200,100,300),e.C(100,400,200,450,300,400),e.C(400,450,500,400,500,300),e.C(500,200,300,80,300,80),e.stroke()}},10087:{width:W,draw:e=>{e.lineWidth(35),e.M(300,80),e.C(300,80,80,220,80,340),e.C(80,460,200,500,300,490),e.C(400,500,520,460,520,340),e.C(520,220,300,80,300,80),e.Z(),e.stroke()}},10133:{width:W,draw:e=>{e.rect(240,50,120,400),e.fill(),e.rect(100,190,400,120),e.fill()}},10134:{width:W,draw:e=>{e.rect(100,200,400,100),e.fill()}},10135:{width:W,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(480,450),e.stroke(),e.circle(200,370,35),e.fill(),e.circle(400,130,35),e.fill()}}},G[10136]||=IR(1,-1),G[10137]||=BR(1,0,100,180,40),G[10138]||=BR(1,0,130,200,55),G[10139]||=BR(1,0,140,220,30),G[10140]||=BR(1,0,110,160,50),G[10141]||=BR(1,0,90,180,60),G[10142]||=BR(1,0,120,240,65),G[10143]||=BR(1,0,80,150,70),G[10144]||=BR(1,0,150,200,35),G[10146]||=VR(1,0,15),G[10147]||=VR(1,0,25),G[10148]||=VR(1,0,10),G[10149]||=HR(1),G[10150]||=HR(-1),G[10151]||=UR(100,40,30),G[10152]||=BR(1,0,160,260,45),G[10153]||=UR(120,50,35),G[10154]||=BR(1,0,100,140,55),G[10155]||=VR(1,0,20),G[10156]||=VR(1,0,30),G[10157]||=UR(90,35,28),G[10158]||=BR(1,0,130,180,60),G[10159]||={width:W,draw:e=>{e.lineWidth(45),e.M(100,400),e.C(150,150,350,150,480,250),e.stroke(),e.M(480,250),e.L(420,180),e.L(420,320),e.Z(),e.fill()}},G[10161]||=BR(1,0,95,170,35),G[10162]||=BR(1,0,145,230,50),G[10163]||=UR(80,30,25),G[10164]||=BR(1,0,110,190,25),G[10165]||=BR(1,0,135,210,40),G[10166]||=UR(110,45,32),G[10167]||=BR(1,0,120,200,70),G[10168]||=BR(1,0,140,250,20),G[10169]||=UR(130,55,38),G[10170]||=BR(1,0,105,170,45),G[10171]||=UR(100,40,40),G[10172]||=BR(1,0,90,160,55),G[10173]||=BR(1,0,150,240,30),G[10174]||=UR(115,48,30),K={9730:{width:W,draw:e=>{e.lineWidth(35),e.M(100,250),e.C(100,420,250,450,300,450),e.C(350,450,500,420,500,250),e.stroke(),e.M(300,250),e.L(300,80),e.C(300,30,230,30,230,80),e.stroke()}},9731:{width:W,draw:e=>{e.lineWidth(30),e.circle(300,100,80),e.stroke(),e.circle(300,250,100),e.stroke(),e.circle(300,420,70),e.stroke()}},9732:{width:W,draw:e=>{e.circle(180,250,80),e.fill(),e.lineWidth(25),e.M(260,250),e.C(350,300,450,350,530,400),e.stroke(),e.M(260,270),e.C(350,250,450,200,530,150),e.stroke()}},9748:{width:W,draw:e=>{e.lineWidth(35),e.M(100,300),e.C(100,450,300,480,300,480),e.C(300,480,500,450,500,300),e.stroke(),e.M(300,300),e.L(300,100),e.C(300,50,230,50,230,100),e.stroke(),e.lineWidth(20),e.M(200,150),e.L(180,80),e.stroke(),e.M(400,150),e.L(380,80),e.stroke()}},9749:{width:W,draw:e=>{e.lineWidth(35),e.rect(150,50,250,250),e.stroke(),e.M(400,230),e.C(470,230,470,120,400,120),e.stroke(),e.lineWidth(25),e.M(200,350),e.C(220,400,350,400,370,350),e.stroke(),e.M(250,450),e.L(320,450),e.stroke()}},9752:{width:W,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,250),e.stroke(),e.M(300,250),e.C(200,350,100,400,150,450),e.C(200,500,300,400,300,250),e.stroke(),e.M(300,250),e.C(400,350,500,400,450,450),e.C(400,500,300,400,300,250),e.stroke(),e.M(300,250),e.C(250,300,200,250,250,200),e.C(280,170,300,250,300,250),e.stroke()}}},nz=[[9800,e=>{e.lineWidth(45),e.M(150,100),e.C(150,300,300,500,300,500),e.stroke(),e.M(450,100),e.C(450,300,300,500,300,500),e.stroke()}],[9801,e=>{e.lineWidth(45),e.circle(300,200,150),e.stroke(),e.M(150,350),e.C(150,450,300,500,300,500),e.stroke(),e.M(450,350),e.C(450,450,300,500,300,500),e.stroke()}],[9802,e=>{e.lineWidth(40),e.M(180,80),e.L(420,80),e.stroke(),e.M(180,420),e.L(420,420),e.stroke(),e.M(220,80),e.L(220,420),e.stroke(),e.M(380,80),e.L(380,420),e.stroke()}],[9803,e=>{e.lineWidth(45),e.M(180,350),e.C(180,450,300,450,300,350),e.C(300,250,180,250,180,350),e.stroke(),e.M(420,150),e.C(420,50,300,50,300,150),e.C(300,250,420,250,420,150),e.stroke()}],[9804,e=>{e.lineWidth(45),e.circle(200,380,80),e.stroke(),e.M(280,380),e.C(350,380,400,300,400,200),e.C(400,100,300,50,250,100),e.stroke()}],[9805,e=>{e.lineWidth(40),e.M(120,450),e.L(120,150),e.C(120,50,220,50,220,150),e.L(220,450),e.stroke(),e.M(220,150),e.C(220,50,320,50,320,150),e.L(320,400),e.C(320,450,380,450,400,400),e.stroke()}],[9806,e=>{e.lineWidth(45),e.M(100,250),e.L(500,250),e.stroke(),e.M(100,350),e.C(200,300,400,300,500,350),e.stroke()}],[9807,e=>{e.lineWidth(40),e.M(100,400),e.L(100,150),e.C(100,50,200,50,200,150),e.L(200,400),e.stroke(),e.M(200,150),e.C(200,50,300,50,300,150),e.L(300,400),e.stroke(),e.M(300,400),e.L(400,300),e.stroke(),e.M(370,340),e.L(400,300),e.L(430,340),e.stroke()}],[9808,e=>{e.lineWidth(50),e.M(100,100),e.L(480,400),e.stroke(),e.M(400,400),e.L(480,400),e.L(480,320),e.stroke(),e.M(100,250),e.L(350,250),e.stroke(),e.M(100,350),e.L(350,350),e.stroke()}],[9809,e=>{e.lineWidth(40),e.M(120,400),e.C(120,200,250,100,350,100),e.C(450,100,480,200,480,300),e.C(480,400,420,450,380,400),e.C(340,350,380,300,420,350),e.stroke()}],[9810,e=>{e.lineWidth(45),e.M(100,330),e.C(200,380,300,280,400,330),e.C(500,380,500,330,500,330),e.stroke(),e.M(100,200),e.C(200,250,300,150,400,200),e.C(500,250,500,200,500,200),e.stroke()}],[9811,e=>{e.lineWidth(45),e.M(150,400),e.C(150,250,300,250,300,250),e.C(300,250,450,250,450,100),e.stroke(),e.M(150,100),e.C(150,250,300,250,300,250),e.C(300,250,450,250,450,400),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}]];for(let[e,t]of nz)K[e]={width:W,draw:t};for(let[e,t,n]of[[9812,`king`,!1],[9813,`queen`,!1],[9814,`rook`,!1],[9815,`bishop`,!1],[9816,`knight`,!1],[9817,`pawn`,!1],[9818,`king`,!0],[9819,`queen`,!0],[9820,`rook`,!0],[9821,`bishop`,!0],[9822,`knight`,!0],[9823,`pawn`,!0]])K[e]=RR(t,n);K[9825]={width:W,draw:e=>{e.lineWidth(35),e.M(300,60),e.C(300,60,80,200,80,320),e.C(80,440,180,480,300,480),e.C(420,480,520,440,520,320),e.C(520,200,300,60,300,60),e.Z(),e.stroke()}},K[9826]={width:W,draw:e=>{e.lineWidth(35),e.M(300,480),e.L(500,250),e.L(300,20),e.L(100,250),e.Z(),e.stroke()}},K[9828]={width:W,draw:e=>{e.lineWidth(35),e.M(300,490),e.C(300,490,50,340,70,200),e.C(80,100,180,60,300,200),e.C(420,60,520,100,530,200),e.C(550,340,300,490,300,490),e.Z(),e.stroke(),e.rect(260,20,80,160),e.stroke()}},K[9831]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,370,100),e.stroke(),e.circle(195,230,90),e.stroke(),e.circle(405,230,90),e.stroke(),e.rect(275,20,50,180),e.stroke()}};for(let e=1;e<=6;e++)K[9855+e]=LR(e);K[9851]={width:W,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(150,180),e.stroke(),e.M(150,180),e.L(450,180),e.stroke(),e.M(450,180),e.L(300,450),e.stroke(),e.M(270,430),e.L(300,480),e.L(330,430),e.stroke(),e.M(170,220),e.L(130,190),e.L(160,150),e.stroke(),e.M(430,220),e.L(470,190),e.L(440,150),e.stroke()}},K[9855]={width:W,draw:e=>{e.lineWidth(40),e.circle(280,200,130),e.stroke(),e.circle(280,400,40),e.fill(),e.M(280,360),e.L(280,250),e.L(380,250),e.stroke(),e.M(380,250),e.L(420,130),e.stroke()}},K[9735]={width:W,draw:e=>{e.lineWidth(45),e.M(350,480),e.L(220,310),e.L(370,280),e.L(250,60),e.stroke()}},K[9736]={width:W,draw:e=>{e.lineWidth(30),e.M(120,280),e.C(120,400,200,430,300,430),e.C(400,430,480,400,480,280),e.C(480,200,400,170,350,200),e.C(340,140,280,130,230,170),e.C(180,150,120,200,120,280),e.stroke(),e.lineWidth(35),e.M(330,430),e.L(270,350),e.L(340,330),e.L(280,250),e.stroke()}},K[9737]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,120),e.stroke();for(let t=0;t<8;t++){let n=t*Math.PI/4;e.M(300+150*Math.cos(n),250+150*Math.sin(n)),e.L(300+200*Math.cos(n),250+200*Math.sin(n))}e.stroke()}},K[9738]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,140),e.stroke(),e.M(140,370),e.L(460,130),e.stroke()}},K[9739]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,140),e.stroke(),e.M(140,130),e.L(460,370),e.stroke()}},K[9740]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,130),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},K[9741]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,130),e.stroke(),e.M(300,70),e.L(300,430),e.stroke()}},K[9743]={width:W,draw:e=>{e.lineWidth(30),e.M(150,80),e.C(120,200,120,350,180,430),e.C(250,480,350,480,420,430),e.C(480,350,480,200,450,80),e.C(430,30,370,50,370,120),e.C(370,180,340,200,300,200),e.C(260,200,230,180,230,120),e.C(230,50,170,30,150,80),e.Z(),e.stroke()}},K[9750]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,150),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(150,250),e.L(450,250),e.stroke()}},K[9751]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,150),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(150,200),e.L(450,200),e.stroke(),e.M(150,300),e.L(450,300),e.stroke()}},K[9753]={width:W,draw:e=>{e.M(300,100),e.C(300,100,100,220,100,330),e.C(100,440,190,480,300,480),e.C(410,480,500,440,500,330),e.C(500,220,300,100,300,100),e.Z(),e.fill()}},K[9754]={width:W,draw:e=>{e.rect(120,100,360,300),e.fill(),e.M(120,250),e.L(60,200),e.L(60,300),e.Z(),e.fill()}},K[9755]={width:W,draw:e=>{e.rect(120,100,360,300),e.fill(),e.M(480,250),e.L(540,200),e.L(540,300),e.Z(),e.fill()}},K[9756]={width:W,draw:e=>{e.lineWidth(35),e.rect(120,100,360,300),e.stroke(),e.M(120,250),e.L(60,200),e.L(60,300),e.Z(),e.stroke()}},K[9757]={width:W,draw:e=>{e.lineWidth(35),e.rect(150,100,300,320),e.stroke(),e.M(300,420),e.L(250,480),e.L(350,480),e.Z(),e.stroke()}},K[9758]={width:W,draw:e=>{e.lineWidth(35),e.rect(120,100,360,300),e.stroke(),e.M(480,250),e.L(540,200),e.L(540,300),e.Z(),e.stroke()}},K[9759]={width:W,draw:e=>{e.lineWidth(35),e.rect(150,100,300,320),e.stroke(),e.M(300,100),e.L(250,40),e.L(350,40),e.Z(),e.stroke()}},K[9760]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,320,130),e.stroke(),e.M(180,220),e.L(420,60),e.stroke(),e.M(420,220),e.L(180,60),e.stroke()}},K[9761]={width:W,draw:e=>{e.lineWidth(35),e.M(300,450),e.L(80,50),e.L(520,50),e.Z(),e.stroke(),e.lineWidth(30),e.M(300,350),e.L(300,200),e.stroke(),e.circle(300,140,20),e.fill()}},K[9762]={width:W,draw:e=>{e.circle(300,250,40),e.fill(),e.lineWidth(25);for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180,r=n-.4,i=n+.4;e.M(300+60*Math.cos(r),250+60*Math.sin(r)),e.L(300+190*Math.cos(r),250+190*Math.sin(r)),e.C(300+200*Math.cos(n),250+200*Math.sin(n),300+200*Math.cos(n),250+200*Math.sin(n),300+190*Math.cos(i),250+190*Math.sin(i)),e.L(300+60*Math.cos(i),250+60*Math.sin(i)),e.Z(),e.fill()}}},K[9763]={width:W,draw:e=>{e.lineWidth(25),e.circle(300,250,30),e.stroke();for(let t=0;t<3;t++){let n=(t*120-90)*Math.PI/180,r=300+110*Math.cos(n),i=250+110*Math.sin(n);e.circle(r,i,80),e.stroke()}}},K[9764]={width:W,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.M(200,400),e.C(200,330,400,280,400,210),e.stroke(),e.M(400,400),e.C(400,330,200,280,200,210),e.stroke(),e.M(300,400),e.L(200,440),e.stroke(),e.M(300,400),e.L(400,440),e.stroke()}},K[9765]={width:W,draw:e=>{e.lineWidth(40),e.M(300,50),e.L(300,270),e.stroke(),e.M(180,270),e.L(420,270),e.stroke(),e.ellipse(300,380,80,100),e.stroke()}},K[9766]={width:W,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,460),e.stroke(),e.M(170,350),e.L(430,350),e.stroke(),e.M(200,420),e.L(400,420),e.stroke(),e.M(220,210),e.L(380,170),e.stroke()}},K[9767]={width:W,draw:e=>{e.lineWidth(35),e.M(140,100),e.L(460,420),e.stroke(),e.M(460,100),e.L(140,420),e.stroke(),e.M(300,420),e.L(300,480),e.stroke(),e.M(370,360),e.C(430,400,430,460,370,480),e.stroke()}},K[9768]={width:W,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,460),e.stroke(),e.M(170,310),e.L(430,310),e.stroke(),e.M(200,180),e.L(400,180),e.stroke()}},K[9769]={width:W,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.lineWidth(15);for(let[t,n]of[[190,350],[410,350],[190,150],[410,150]])e.M(t,n-35),e.L(t,n+35),e.stroke(),e.M(t-35,n),e.L(t+35,n),e.stroke()}},K[9770]={width:W,draw:e=>{e.lineWidth(30),e.circle(280,250,170),e.stroke(),e.M(370,250),e.circle(350,250,140),e.stroke(),U(5,440,380,50,20,!0).draw(e)}},K[9771]={width:W,draw:e=>{e.lineWidth(35),e.rect(120,70,360,360),e.stroke(),e.circle(300,250,40),e.fill()}},K[9772]={width:W,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.circle(300,250,130),e.stroke(),e.M(150,200),e.C(180,350,420,350,450,200),e.stroke()}},K[9773]={width:W,draw:e=>{e.lineWidth(35),e.M(350,80),e.L(200,430),e.stroke(),e.M(140,120),e.L(250,120),e.stroke(),e.M(350,400),e.C(450,350,500,250,430,150),e.C(380,80,300,100,280,180),e.stroke()}};for(let[e,t,n,r]of[[9776,!0,!0,!0],[9777,!0,!0,!1],[9778,!0,!1,!0],[9779,!0,!1,!1],[9780,!1,!0,!0],[9781,!1,!0,!1],[9782,!1,!1,!0],[9783,!1,!1,!1]])K[e]={width:W,draw:e=>{e.lineWidth(40);let i=[t,n,r],a=[380,250,120];for(let t=0;t<3;t++)i[t]?(e.M(120,a[t]),e.L(480,a[t]),e.stroke()):(e.M(120,a[t]),e.L(260,a[t]),e.stroke(),e.M(340,a[t]),e.L(480,a[t]),e.stroke())}};K[9788]={width:W,draw:e=>{e.lineWidth(25),e.circle(300,250,90),e.stroke();for(let t=0;t<12;t++){let n=t*Math.PI/6;e.M(300+110*Math.cos(n),250+110*Math.sin(n)),e.L(300+160*Math.cos(n),250+160*Math.sin(n))}e.stroke()}},K[9789]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(300,70),e.C(180,70,120,150,120,250),e.C(120,350,180,430,300,430),e.Z(),e.fill()}},K[9790]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(300,70),e.C(420,70,480,150,480,250),e.C(480,350,420,430,300,430),e.Z(),e.fill()}},K[9791]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,270,100),e.stroke(),e.M(300,170),e.L(300,70),e.stroke(),e.M(250,120),e.L(350,120),e.stroke(),e.M(230,420),e.C(230,480,300,480,300,430),e.stroke(),e.M(370,420),e.C(370,480,300,480,300,430),e.stroke()}},K[9793]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,170),e.stroke(),e.M(300,80),e.L(300,420),e.stroke(),e.M(130,250),e.L(470,250),e.stroke()}},K[9795]={width:W,draw:e=>{e.lineWidth(40),e.M(380,80),e.L(380,460),e.stroke(),e.M(150,280),e.L(480,280),e.stroke(),e.M(380,280),e.L(150,450),e.stroke()}},K[9796]={width:W,draw:e=>{e.lineWidth(35),e.M(230,460),e.L(230,100),e.stroke(),e.M(230,280),e.C(300,250,370,250,370,310),e.C(370,370,330,400,280,400),e.stroke(),e.M(170,460),e.L(290,460),e.stroke()}},K[9797]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,200,100),e.stroke(),e.circle(300,200,20),e.fill(),e.M(300,300),e.L(300,460),e.stroke(),e.M(260,430),e.L(300,460),e.L(340,430),e.stroke()}},K[9798]={width:W,draw:e=>{e.lineWidth(35),e.M(300,80),e.L(300,460),e.stroke(),e.M(200,460),e.L(400,460),e.stroke(),e.M(180,350),e.L(180,460),e.stroke(),e.M(300,350),e.L(300,460),e.stroke(),e.M(420,350),e.L(420,460),e.stroke(),e.M(180,350),e.L(420,350),e.stroke()}},K[9799]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,290,90),e.stroke(),e.M(210,290),e.C(210,430,390,430,390,290),e.stroke(),e.M(300,200),e.L(300,80),e.stroke(),e.M(250,140),e.L(350,140),e.stroke()}},K[9832]={width:W,draw:e=>{e.lineWidth(30),e.M(120,200),e.C(120,80,480,80,480,200),e.stroke(),e.lineWidth(25);for(let t of[200,300,400])e.M(t,220),e.C(t-30,280,t+30,340,t,400),e.stroke()}},K[9835]={width:W,draw:e=>{e.lineWidth(30),e.M(200,80),e.L(200,400),e.stroke(),e.M(400,80),e.L(400,350),e.stroke(),e.lineWidth(45),e.M(200,400),e.L(400,400),e.stroke(),e.ellipse(200,120,50,40),e.fill(),e.ellipse(400,120,50,40),e.fill()}},K[9836]={width:W,draw:e=>{e.lineWidth(25),e.M(200,80),e.L(200,400),e.stroke(),e.M(400,80),e.L(400,350),e.stroke(),e.lineWidth(35),e.M(200,400),e.L(400,400),e.stroke(),e.M(200,340),e.L(400,340),e.stroke(),e.ellipse(200,120,45,35),e.fill(),e.ellipse(400,120,45,35),e.fill()}},K[9838]={width:W,draw:e=>{e.lineWidth(30),e.M(220,50),e.L(220,400),e.stroke(),e.M(380,100),e.L(380,450),e.stroke(),e.lineWidth(35),e.M(220,200),e.L(380,250),e.stroke(),e.M(220,300),e.L(380,350),e.stroke()}},K[9840]={width:W,draw:e=>{e.lineWidth(30),e.M(300,50),e.L(300,450),e.stroke(),e.M(120,280),e.L(480,280),e.stroke(),e.circle(300,50,20),e.fill(),e.circle(300,450,20),e.fill(),e.circle(120,280,20),e.fill(),e.circle(480,280,20),e.fill()}},K[9841]={width:W,draw:e=>{e.lineWidth(35),e.M(300,50),e.L(300,450),e.stroke(),e.M(120,280),e.L(480,280),e.stroke(),e.M(280,50),e.L(320,50),e.stroke(),e.M(280,450),e.L(320,450),e.stroke(),e.M(120,260),e.L(120,300),e.stroke(),e.M(480,260),e.L(480,300),e.stroke()}};for(let e=0;e<=8;e++){let t=9842+e,n=e<=6?e+1:0;K[t]={width:W,draw:e=>{e.lineWidth(30),e.M(300,420),e.L(130,130),e.stroke(),e.M(130,130),e.L(470,130),e.stroke(),e.M(470,130),e.L(300,420),e.stroke(),e.M(270,400),e.L(300,440),e.L(330,400),e.stroke(),e.M(155,165),e.L(115,140),e.L(150,110),e.stroke(),e.M(445,165),e.L(485,140),e.L(450,110),e.stroke(),n>0&&(e.lineWidth(25),e.M(280,220),e.L(320,220),e.stroke(),e.M(300,200),e.L(300,280),e.stroke())}}}K[9852]={width:W,draw:e=>{e.lineWidth(35),e.M(300,430),e.L(120,120),e.L(480,120),e.Z(),e.stroke(),e.M(270,410),e.L(300,450),e.L(330,410),e.stroke()}},K[9853]={width:W,draw:e=>{e.lineWidth(30),e.M(300,430),e.L(210,260),e.stroke(),e.M(170,190),e.L(120,120),e.L(270,120),e.stroke(),e.M(350,120),e.L(480,120),e.L(390,260),e.stroke(),e.M(360,330),e.L(300,430),e.stroke()}},K[9854]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,190),e.stroke(),e.M(300,250),e.C(350,340,450,340,450,250),e.C(450,160,350,160,300,250),e.C(250,340,150,340,150,250),e.C(150,160,250,160,300,250),e.stroke()}},K[9862]={width:W,draw:e=>{e.lineWidth(50),e.M(120,250),e.L(480,250),e.stroke()}},K[9863]={width:W,draw:e=>{e.lineWidth(50),e.M(120,250),e.L(260,250),e.stroke(),e.M(340,250),e.L(480,250),e.stroke()}},K[9864]={width:W,draw:e=>{e.lineWidth(45),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},K[9865]={width:W,draw:e=>{e.lineWidth(45),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(260,180),e.stroke(),e.M(340,180),e.L(480,180),e.stroke()}};for(let[e,t,n]of[[9866,!0,!0],[9867,!1,!1],[9868,!0,!1],[9869,!1,!0],[9870,!0,!0],[9871,!1,!1]])K[e]={width:W,draw:e=>{e.lineWidth(45);let r=[320,180],i=[t,n];for(let t=0;t<2;t++)i[t]?(e.M(120,r[t]),e.L(480,r[t]),e.stroke()):(e.M(120,r[t]),e.L(260,r[t]),e.stroke(),e.M(340,r[t]),e.L(480,r[t]),e.stroke())}};K[9880]={width:W,draw:e=>{e.lineWidth(25),e.circle(300,250,30),e.fill();for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180;e.circle(300+80*Math.cos(n),250+80*Math.sin(n),50),e.stroke()}}},K[9882]={width:W,draw:e=>{e.lineWidth(35),e.M(300,80),e.L(300,450),e.stroke(),e.M(180,350),e.L(300,400),e.L(420,350),e.stroke(),e.M(200,300),e.L(300,350),e.L(400,300),e.stroke()}},K[9885]=U(5,300,250,200,80,!1),K[9886]={width:W,draw:e=>{e.lineWidth(30),e.M(450,250),e.L(100,100),e.stroke(),e.M(450,250),e.L(100,250),e.stroke(),e.M(450,250),e.L(100,400),e.stroke()}},K[9887]={width:W,draw:e=>{e.lineWidth(28),e.M(450,250),e.L(100,80),e.stroke(),e.M(450,250),e.L(100,190),e.stroke(),e.M(450,250),e.L(100,310),e.stroke(),e.M(450,250),e.L(100,420),e.stroke()}},K[9890]={width:W,draw:e=>{e.lineWidth(28),e.circle(220,290,90),e.stroke(),e.M(220,200),e.L(220,100),e.stroke(),e.M(180,140),e.L(260,140),e.stroke(),e.circle(380,290,90),e.stroke(),e.M(380,200),e.L(380,100),e.stroke(),e.M(340,140),e.L(420,140),e.stroke()}},K[9891]={width:W,draw:e=>{e.lineWidth(28),e.circle(230,250,90),e.stroke(),e.M(295,185),e.L(400,80),e.stroke(),e.M(350,80),e.L(400,80),e.L(400,130),e.stroke(),e.circle(370,250,90),e.stroke(),e.M(435,185),e.L(510,110),e.stroke(),e.M(460,110),e.L(510,110),e.L(510,160),e.stroke()}},K[9892]={width:W,draw:e=>{e.lineWidth(28),e.circle(250,270,100),e.stroke(),e.M(250,170),e.L(250,70),e.stroke(),e.M(210,120),e.L(290,120),e.stroke(),e.M(320,200),e.L(440,80),e.stroke(),e.M(390,80),e.L(440,80),e.L(440,130),e.stroke()}},K[9894]={width:W,draw:e=>{e.lineWidth(30),e.circle(250,260,110),e.stroke(),e.M(330,185),e.L(450,80),e.stroke(),e.M(395,80),e.L(450,80),e.L(450,135),e.stroke(),e.M(350,160),e.L(420,200),e.stroke()}},K[9896]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,220,110),e.stroke(),e.M(300,330),e.L(300,460),e.stroke(),e.M(260,420),e.L(300,460),e.L(340,420),e.stroke(),e.M(340,370),e.L(410,390),e.stroke()}},K[9897]={width:W,draw:e=>{e.lineWidth(30),e.circle(260,250,110),e.stroke(),e.M(370,250),e.L(500,250),e.stroke(),e.M(460,210),e.L(500,250),e.L(460,290),e.stroke(),e.M(420,290),e.L(440,350),e.stroke()}},K[9900]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,120),e.stroke()}},K[9901]={width:W,draw:e=>{e.lineWidth(30),e.circle(230,250,110),e.stroke(),e.circle(370,250,110),e.stroke()}},K[9902]={width:W,draw:e=>{e.lineWidth(30),e.circle(190,250,90),e.stroke(),e.circle(410,250,90),e.stroke(),e.lineWidth(25),e.M(300,150),e.L(300,350),e.stroke()}},K[9903]={width:W,draw:e=>{e.lineWidth(30),e.circle(230,250,100),e.stroke(),e.circle(370,250,100),e.stroke(),e.M(300,120),e.L(300,380),e.stroke()}},K[9905]={width:W,draw:e=>{e.lineWidth(30),e.M(180,100),e.L(180,350),e.C(180,430,300,450,300,450),e.C(300,450,420,430,420,350),e.L(420,100),e.Z(),e.stroke(),e.M(250,100),e.C(250,60,350,60,350,100),e.stroke()}},K[9906]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,280,120),e.stroke(),e.M(300,160),e.L(300,60),e.stroke(),e.M(250,110),e.L(350,110),e.stroke()}},K[9907]={width:W,draw:e=>{e.lineWidth(30),e.M(300,80),e.L(300,320),e.stroke(),e.M(200,180),e.L(400,180),e.stroke(),e.M(220,320),e.C(220,440,380,440,380,320),e.stroke()}},K[9908]={width:W,draw:e=>{e.lineWidth(28),e.M(300,100),e.L(300,280),e.stroke(),e.M(230,190),e.L(370,190),e.stroke(),e.M(300,280),e.L(380,370),e.L(300,460),e.L(220,370),e.Z(),e.stroke()}},K[9909]={width:W,draw:e=>{e.lineWidth(28),e.M(300,80),e.L(300,250),e.stroke(),e.M(230,160),e.L(370,160),e.stroke(),U(5,300,370,80,32,!1).draw(e)}},K[9910]={width:W,draw:e=>{e.lineWidth(35),e.M(180,450),e.L(300,200),e.L(420,450),e.stroke(),e.M(180,120),e.L(420,120),e.stroke()}},K[9911]={width:W,draw:e=>{e.lineWidth(28),e.circle(300,200,100),e.stroke(),e.M(300,300),e.L(300,80),e.stroke(),e.M(300,200),e.L(400,300),e.stroke(),e.M(300,200),e.L(400,100),e.stroke()}},K[9912]={width:W,draw:e=>{e.lineWidth(28),e.M(300,80),e.L(300,250),e.stroke(),e.M(240,160),e.L(360,160),e.stroke(),e.M(220,350),e.C(220,450,380,450,380,350),e.C(380,290,320,270,300,310),e.C(280,270,220,290,220,350),e.stroke()}},K[9913]={width:W,draw:e=>{e.lineWidth(28),U(6,300,250,180,100,!1).draw(e)}},K[9914]={width:W,draw:e=>{e.lineWidth(35),e.M(150,400),e.L(300,150),e.L(450,400),e.stroke()}},K[9915]={width:W,draw:e=>{e.lineWidth(25),e.rect(120,80,360,340),e.stroke(),e.circle(200,160,25),e.fill(),e.circle(400,160,25),e.fill(),e.circle(300,250,25),e.fill(),e.circle(200,340,25),e.fill(),e.circle(400,340,25),e.fill()}},K[9916]={width:W,draw:e=>{e.lineWidth(30),e.rect(130,80,340,340),e.stroke(),e.M(130,80),e.L(470,420),e.stroke()}},K[9919]={width:W,draw:e=>{e.lineWidth(28),e.rect(100,70,400,360),e.stroke(),e.circle(240,250,60),e.stroke(),e.M(300,250),e.L(440,250),e.stroke(),e.M(400,250),e.L(400,210),e.stroke(),e.M(430,250),e.L(430,210),e.stroke()}},K[9920]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,160),e.stroke(),e.circle(300,250,80),e.stroke()}},K[9921]={width:W,draw:e=>{e.lineWidth(28),e.circle(300,230,140),e.stroke(),e.circle(300,230,70),e.stroke(),e.M(220,400),e.L(260,370),e.L(300,400),e.L(340,370),e.L(380,400),e.stroke()}},K[9922]={width:W,draw:e=>{e.circle(300,250,160),e.fill()}},K[9923]={width:W,draw:e=>{e.circle(300,230,150),e.fill(),e.lineWidth(30),e.M(200,410),e.L(240,380),e.L(300,420),e.L(360,380),e.L(400,410),e.stroke()}},K[9926]={width:W,draw:e=>{e.lineWidth(30);for(let t of[200,300,400])e.M(t,400),e.C(t-40,300,t,200,t,200),e.C(t,200,t+40,300,t,400),e.Z(),e.stroke()}},K[9927]={width:W,draw:e=>{e.circle(300,130,70),e.fill(),e.circle(300,290,95),e.fill(),e.circle(300,430,60),e.fill()}},K[9928]={width:W,draw:e=>{e.lineWidth(25),e.M(100,280),e.C(100,400,250,420,300,420),e.C(350,420,500,400,500,280),e.C(500,200,400,170,350,200),e.C(340,140,280,130,230,170),e.C(180,150,100,200,100,280),e.stroke(),e.lineWidth(20),e.M(220,150),e.L(200,80),e.stroke(),e.M(380,150),e.L(360,80),e.stroke(),e.M(300,420),e.L(260,340),e.L(320,320),e.L(280,250),e.stroke()}},K[9929]={width:W,draw:e=>{e.lineWidth(30),e.M(200,420),e.L(300,100),e.L(400,420),e.Z(),e.stroke()}},K[9930]={width:W,draw:e=>{e.M(200,420),e.L(300,100),e.L(400,420),e.Z(),e.fill()}},K[9931]={width:W,draw:e=>{e.lineWidth(28),e.rect(100,50,400,400),e.stroke(),e.M(300,100),e.L(450,250),e.L(300,400),e.L(150,250),e.Z(),e.stroke()}},K[9932]={width:W,draw:e=>{e.lineWidth(50),e.M(100,80),e.L(500,420),e.stroke(),e.M(500,80),e.L(100,420),e.stroke()}},K[9933]={width:W,draw:e=>{e.lineWidth(28),e.rect(100,150,400,200),e.stroke(),e.circle(200,360,40),e.stroke(),e.circle(400,360,40),e.stroke(),e.M(200,200),e.L(400,300),e.stroke(),e.M(400,200),e.L(200,300),e.stroke()}},K[9935]={width:W,draw:e=>{e.lineWidth(35),e.M(150,100),e.L(450,400),e.stroke(),e.M(200,100),e.C(320,100,400,180,400,250),e.stroke()}},K[9936]={width:W,draw:e=>{e.lineWidth(28),e.rect(150,150,300,160),e.stroke(),e.circle(220,320,35),e.stroke(),e.circle(380,320,35),e.stroke(),e.M(120,400),e.C(200,370,350,430,480,400),e.stroke()}},K[9937]={width:W,draw:e=>{e.lineWidth(30),e.M(120,200),e.C(120,400,300,450,300,450),e.C(300,450,480,400,480,200),e.stroke(),e.M(300,200),e.L(300,400),e.stroke(),e.M(200,300),e.L(400,300),e.stroke()}},K[9938]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(160,120),e.L(440,380),e.stroke(),e.M(440,120),e.L(160,380),e.stroke()}},K[9939]={width:W,draw:e=>{e.lineWidth(30),e.ellipse(230,250,100,140),e.stroke(),e.ellipse(370,250,100,140),e.stroke()}},K[9941]={width:W,draw:e=>{e.lineWidth(35),e.M(480,250),e.L(120,250),e.stroke(),e.M(120,250),e.L(220,170),e.L(220,330),e.Z(),e.fill()}},K[9942]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,180),e.stroke(),e.M(140,250),e.L(460,250),e.stroke()}},K[9943]={width:W,draw:e=>{e.lineWidth(28),e.rect(120,80,360,340),e.stroke(),e.circle(300,250,50),e.fill()}},K[9944]={width:W,draw:e=>{e.lineWidth(35),e.M(400,80),e.L(200,250),e.L(400,420),e.stroke(),e.M(200,250),e.L(480,250),e.stroke()}},K[9945]={width:W,draw:e=>{e.lineWidth(35),e.M(200,80),e.L(400,250),e.L(200,420),e.stroke(),e.M(400,250),e.L(120,250),e.stroke()}},K[9946]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(220,350),e.C(220,300,380,250,380,200),e.C(380,150,220,150,220,200),e.stroke()}},K[9947]={width:W,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(480,400),e.L(300,100),e.Z(),e.stroke()}},K[9948]={width:W,draw:e=>{e.lineWidth(35),e.M(120,100),e.L(120,400),e.stroke(),e.M(120,250),e.L(480,250),e.stroke(),e.M(480,250),e.L(380,180),e.stroke(),e.M(480,250),e.L(380,320),e.stroke()}},K[9949]={width:W,draw:e=>{e.lineWidth(30),e.rect(100,60,400,380),e.stroke(),e.M(100,60),e.L(500,440),e.stroke(),e.M(500,60),e.L(100,440),e.stroke()}},K[9950]={width:W,draw:e=>{e.rect(80,40,440,420),e.fill()}},K[9951]={width:W,draw:e=>{e.M(100,350),e.L(100,180),e.L(350,180),e.L(350,130),e.L(500,130),e.L(500,350),e.Z(),e.fill(),e.lineWidth(25),e.circle(180,370,35),e.stroke(),e.circle(420,370,35),e.stroke()}},K[9952]={width:W,draw:e=>{e.lineWidth(28),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.L(100,250),e.Z(),e.fill()}},K[9953]={width:W,draw:e=>{e.lineWidth(28),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke(),e.M(300,450),e.L(300,50),e.L(500,250),e.Z(),e.fill()}},K[9954]={width:W,draw:e=>{e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.fill(),e.lineWidth(25),e.M(300,450),e.L(260,400),e.stroke(),e.M(300,450),e.L(340,400),e.stroke()}},K[9955]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,280,140),e.stroke(),e.M(190,170),e.L(410,390),e.stroke(),e.circle(230,120,20),e.fill(),e.circle(370,120,20),e.fill()}},K[9956]={width:W,draw:e=>{e.lineWidth(28),e.circle(300,250,180),e.stroke(),U(5,300,250,170,65,!1).draw(e)}},K[9957]={width:W,draw:e=>{e.lineWidth(30),U(5,300,250,190,75,!1).draw(e)}},K[9958]={width:W,draw:e=>{e.lineWidth(30),U(5,300,250,190,75,!0).draw(e)}},K[9959]={width:W,draw:e=>{e.lineWidth(28);for(let t=0;t<5;t++){let n=(t*360/5+90)*Math.PI/180,r=(t*360/5+126)*Math.PI/180;t===0?e.M(300+190*Math.cos(n),250+190*Math.sin(n)):e.L(300+190*Math.cos(n),250+190*Math.sin(n)),e.L(300+75*Math.cos(r),250+75*Math.sin(r))}e.Z(),e.stroke()}},K[9960]={width:W,draw:e=>{e.lineWidth(28),e.M(150,420),e.L(150,200),e.L(300,100),e.L(450,200),e.L(450,420),e.Z(),e.stroke(),e.lineWidth(40),e.M(300,180),e.L(300,380),e.stroke(),e.M(210,280),e.L(390,280),e.stroke()}},K[9961]={width:W,draw:e=>{e.lineWidth(35),e.M(140,100),e.L(140,420),e.stroke(),e.M(460,100),e.L(460,420),e.stroke(),e.M(100,400),e.L(500,400),e.stroke(),e.M(120,320),e.L(480,320),e.stroke()}},K[9963]={width:W,draw:e=>{e.lineWidth(28),e.rect(120,100,360,300),e.stroke();for(let t=120;t<480;t+=72)e.rect(t,400,36,50),e.stroke()}},K[9964]={width:W,draw:e=>{e.lineWidth(30),e.M(200,100),e.L(200,400),e.stroke(),e.M(300,100),e.L(300,400),e.stroke(),e.M(400,100),e.L(400,400),e.stroke(),e.M(140,100),e.L(460,100),e.stroke(),e.M(140,400),e.L(460,400),e.stroke(),e.M(140,400),e.L(300,470),e.L(460,400),e.stroke()}},K[9965]={width:W,draw:e=>{e.lineWidth(35),e.circle(300,250,150),e.stroke();for(let t=0;t<8;t++){let n=t*Math.PI/4;e.M(300+150*Math.cos(n),250+150*Math.sin(n)),e.L(300+190*Math.cos(n),250+190*Math.sin(n))}e.stroke()}},K[9966]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,120),e.stroke(),e.circle(300,250,30),e.fill(),e.M(300,130),e.L(300,80),e.stroke(),e.M(300,370),e.L(300,420),e.stroke()}},K[9967]={width:W,draw:e=>{e.lineWidth(30),e.M(200,100),e.L(250,380),e.L(350,380),e.L(400,100),e.Z(),e.stroke(),e.M(300,380),e.L(300,460),e.stroke(),e.M(200,430),e.L(400,430),e.stroke()}},K[9968]={width:W,draw:e=>{e.lineWidth(35),e.M(80,100),e.L(250,400),e.L(350,280),e.L(520,100),e.stroke()}},K[9969]={width:W,draw:e=>{e.lineWidth(30),e.M(120,280),e.C(120,420,300,450,300,450),e.C(300,450,480,420,480,280),e.stroke(),e.M(300,280),e.L(300,100),e.stroke(),e.M(240,100),e.L(360,100),e.stroke()}},K[9972]={width:W,draw:e=>{e.lineWidth(30),e.M(100,250),e.C(100,150,200,120,300,120),e.C(400,120,500,150,500,250),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(350,120),e.L(350,300),e.stroke(),e.rect(330,300,40,80),e.stroke()}},K[9974]={width:W,draw:e=>{e.lineWidth(28),e.rect(120,80,360,340),e.stroke(),e.circle(120,80,20),e.fill(),e.circle(480,80,20),e.fill(),e.circle(120,420,20),e.fill(),e.circle(480,420,20),e.fill()}},K[9975]={width:W,draw:e=>{e.lineWidth(28),e.circle(300,420,35),e.fill(),e.M(300,385),e.L(300,240),e.stroke(),e.M(300,320),e.L(220,250),e.stroke(),e.M(300,320),e.L(380,250),e.stroke(),e.M(300,240),e.L(220,140),e.stroke(),e.M(300,240),e.L(380,140),e.stroke(),e.lineWidth(15),e.M(180,290),e.L(420,100),e.stroke()}},K[9976]={width:W,draw:e=>{e.lineWidth(30),e.M(150,350),e.L(150,200),e.L(300,150),e.L(400,200),e.L(400,350),e.Z(),e.stroke(),e.lineWidth(20),e.M(120,130),e.L(450,130),e.stroke()}},K[9977]={width:W,draw:e=>{e.lineWidth(28),e.circle(300,420,35),e.fill(),e.M(300,385),e.L(300,220),e.stroke(),e.M(300,300),e.L(220,230),e.stroke(),e.M(300,300),e.L(380,230),e.stroke(),e.M(300,220),e.L(230,120),e.stroke(),e.M(300,220),e.L(370,120),e.stroke(),e.circle(420,200,40),e.stroke()}},K[9979]={width:W,draw:e=>{e.lineWidth(30),e.circle(300,250,180),e.stroke(),e.M(150,200),e.L(450,200),e.stroke(),e.M(150,300),e.L(450,300),e.stroke()}},K[9980]={width:W,draw:e=>{e.lineWidth(30),e.M(180,100),e.L(180,350),e.C(180,430,420,430,420,350),e.L(420,100),e.Z(),e.stroke()}},K[9981]={width:W,draw:e=>{e.lineWidth(30),e.rect(130,100,240,330),e.stroke(),e.rect(170,180,160,100),e.stroke(),e.M(370,200),e.L(430,200),e.C(460,200,460,300,430,300),e.L(430,350),e.stroke(),e.M(130,100),e.L(430,100),e.stroke()}},K[9982]={width:W,draw:e=>{e.rect(80,50,440,400),e.fill()}},K[9983]={width:W,draw:e=>{e.lineWidth(28),e.M(150,450),e.L(150,80),e.L(480,80),e.L(480,320),e.L(150,320),e.stroke(),e.rect(150,170,330,80),e.fill()}};for(let e=9728;e<=9983;e++)if(!K[e]){let t=(e-9728)%7;K[e]={width:W,draw:e=>{switch(e.lineWidth(30),t){case 0:e.circle(300,250,170),e.stroke(),e.M(130,250),e.L(470,250),e.stroke();break;case 1:e.rect(120,70,360,360),e.stroke(),e.M(120,70),e.L(480,430),e.stroke();break;case 2:e.M(300,430),e.L(100,70),e.L(500,70),e.Z(),e.stroke(),e.circle(300,200,25),e.fill();break;case 3:e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke(),e.M(300,150),e.L(300,350),e.stroke(),e.M(200,250),e.L(400,250),e.stroke();break;case 4:e.circle(300,250,170),e.stroke(),e.M(300,80),e.L(300,420),e.stroke();break;case 5:e.M(300,440),e.L(470,340),e.L(470,160),e.L(300,60),e.L(130,160),e.L(130,340),e.Z(),e.stroke();break;default:e.circle(300,250,180),e.stroke(),e.circle(300,250,100),e.stroke();break}}}}rz={};for(let[e,t,n,r]of[[11008,1,1,!0],[11009,-1,1,!0],[11010,1,1,!1],[11011,-1,1,!1],[11012,0,0,!1],[11016,1,1,!0],[11017,-1,1,!0],[11018,1,-1,!0],[11019,-1,-1,!0],[11020,0,0,!0],[11021,0,0,!0]])t===0&&n===0?rz[e]={width:W,draw:e=>{r?(e.rect(100,200,400,100),e.fill()):(e.lineWidth(40),e.M(80,250),e.L(520,250),e.stroke(),e.M(80,250),e.L(180,350),e.L(180,150),e.Z(),e.fill(),e.M(520,250),e.L(420,350),e.L(420,150),e.Z(),e.fill())}}:rz[e]=IR(t,n);for(let e=11026;e<=11039;e++){let t=e<=11033;rz[e]={width:W,draw:n=>{n.lineWidth(30),t?(n.rect(100,50,400,400),n.stroke(),(e-11026)%2==0?(n.rect(100,250,400,200),n.fill()):(n.rect(100,50,400,200),n.fill())):(n.M(300,450),n.L(500,50),n.L(100,50),n.Z(),n.stroke(),(e-11034)%2==0&&(n.M(200,50),n.L(300,250),n.L(400,50),n.Z(),n.fill()))}}}for(let e=11040;e<=11263;e++)rz[e]||(e&1?rz[e]={width:W,draw:e=>{e.lineWidth(35),e.M(300,470),e.L(500,250),e.L(300,30),e.L(100,250),e.Z(),e.stroke()}}:rz[e]=IR(1,0));q={};for(let e=10224;e<=10239;e++)if(!q[e]){let t=e<=10228;q[e]={width:700,draw:e=>{e.lineWidth(40),t?(e.M(350,30),e.L(350,470),e.stroke(),e.M(350,470),e.L(230,350),e.L(470,350),e.Z(),e.fill()):(e.M(50,250),e.L(600,250),e.stroke(),e.M(600,250),e.L(470,370),e.L(470,130),e.Z(),e.fill())}}}q[10516]=WR(1,0),q[10517]=ZR(1,0),q[10519]=GR(1,0),q[10520]=(()=>{let e=GR(1,0);return{width:W,draw:t=>{e.draw(t),t.lineWidth(35),t.M(300,150),t.L(300,350),t.stroke()}}})(),q[10521]=XR(-1,0,35),q[10522]=XR(1,0,35),q[10523]=GR(-1,0),q[10524]=GR(1,0),q[10539]=qR(1,1,1,-1),q[10540]=qR(1,-1,-1,-1),q[10541]=qR(1,-1,1,1),q[10542]=qR(1,1,1,-1),q[10543]={width:W,draw:e=>{e.lineWidth(30),e.M(120,420),e.L(480,80),e.stroke(),e.M(120,80),e.L(480,420),e.stroke(),e.M(480,420),e.L(400,410),e.L(470,340),e.Z(),e.fill()}},q[10544]={width:W,draw:e=>{e.lineWidth(30),e.M(120,80),e.L(480,420),e.stroke(),e.M(480,80),e.L(120,420),e.stroke(),e.M(120,420),e.L(200,410),e.L(130,340),e.Z(),e.fill()}},q[10545]=qR(1,1,-1,1),q[10546]=qR(-1,1,1,1),q[10547]={width:W,draw:e=>{e.lineWidth(35),e.M(80,250),e.C(160,350,240,150,320,250),e.C(360,300,420,250,480,250),e.stroke(),e.M(480,250),e.L(400,180),e.L(400,320),e.Z(),e.fill()}},q[10556]=JR(-1,0),q[10557]=JR(0,-1),q[10558]=KR(1,0),q[10559]={width:W,draw:e=>{JR(1,0).draw(e),e.lineWidth(25),e.M(280,380),e.L(320,380),e.stroke(),e.M(300,360),e.L(300,400),e.stroke()}},q[10566]=qR(-1,0,1,0),q[10567]=KR(1,0),q[10569]=WR(0,-1),q[10578]=ZR(0,1),q[10579]=ZR(0,-1),q[10580]=ZR(1,0),q[10581]=ZR(-1,0),q[10582]=WR(0,1),q[10583]=WR(0,-1),q[10584]=WR(1,0),q[10585]=WR(-1,0),q[10586]=XR(0,1,30),q[10587]=XR(0,-1,30),q[10588]=XR(1,0,30),q[10589]=XR(-1,0,30),q[10590]=XR(0,1,40),q[10591]=XR(0,-1,40),q[10592]=XR(1,0,40),q[10593]=XR(-1,0,40),q[10595]=qR(0,1,0,1),q[10597]=qR(0,-1,0,-1),q[10598]=qR(-1,0,-1,0),q[10599]=qR(1,0,1,0),q[10600]=qR(-1,0,1,0),q[10601]=qR(1,0,-1,0),q[10609]=YR(1,0),q[10610]=YR(1,0),q[10611]=YR(-1,0),iz={8213:{width:700,draw:e=>{e.lineWidth(50),e.M(0,250),e.L(700,250),e.stroke()}},8218:{width:300,draw:e=>{e.circle(150,80,35),e.fill(),e.lineWidth(25),e.M(150,45),e.C(170,10,190,-10,210,-20),e.stroke()}},8219:{width:300,draw:e=>{e.circle(150,450,35),e.fill(),e.lineWidth(25),e.M(150,415),e.C(130,380,110,365,90,360),e.stroke()}},8220:{width:400,draw:e=>{e.circle(130,450,30),e.fill(),e.circle(270,450,30),e.fill(),e.lineWidth(22),e.M(130,415),e.C(100,380,80,365,60,360),e.stroke(),e.M(270,415),e.C(240,380,220,365,200,360),e.stroke()}},8221:{width:400,draw:e=>{e.circle(130,450,30),e.fill(),e.circle(270,450,30),e.fill(),e.lineWidth(22),e.M(130,415),e.C(160,380,180,365,200,360),e.stroke(),e.M(270,415),e.C(300,380,320,365,340,360),e.stroke()}},8222:{width:400,draw:e=>{e.circle(130,80,30),e.fill(),e.circle(270,80,30),e.fill(),e.lineWidth(22),e.M(130,45),e.C(160,10,180,-5,200,-10),e.stroke(),e.M(270,45),e.C(300,10,320,-5,340,-10),e.stroke()}},8228:{width:300,draw:e=>{e.circle(150,50,40),e.fill()}},8256:{width:W,draw:e=>{e.lineWidth(30),e.M(120,380),e.C(200,450,400,450,480,380),e.stroke()}},8257:{width:W,draw:e=>{e.lineWidth(30),e.M(120,420),e.C(200,350,400,350,480,420),e.stroke()}},8258:QR(3,50),8263:{width:W,draw:e=>{e.lineWidth(35),$R(e,200,250),$R(e,400,250)}},8264:{width:W,draw:e=>{e.lineWidth(35),$R(e,200,250),ez(e,400,250)}},8265:{width:W,draw:e=>{e.lineWidth(35),ez(e,200,250),$R(e,400,250)}},8273:{width:W,draw:e=>{QR(6,35).draw(e),e.M(300,50),e.L(300,50)}},8274:{width:W,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(480,100),e.stroke(),e.circle(300,350,40),e.fill(),e.circle(300,150,40),e.fill()}},8275:{width:W,draw:e=>{e.lineWidth(45),e.M(100,250),e.C(200,350,400,150,500,250),e.stroke()}},8279:{width:500,draw:e=>{e.lineWidth(35);for(let t=0;t<4;t++)e.M(100+t*90,480),e.L(70+t*90,350);e.stroke()}}};for(let e=8192;e<=8303;e++)iz[e]||(iz[e]={width:0,draw:()=>{}});az={};for(let e=8528;e<=8591;e++)if(!az[e]){let t=(e-8528)%4+1;az[e]={width:W,draw:e=>{e.lineWidth(40);let n=300-(t-1)*80/2;for(let r=0;r<t;r++)e.M(n+r*80,50),e.L(n+r*80,450);e.stroke()}}}}));function sz(e){return{width:e,draw:()=>{}}}function cz(e,t,n,r,i){bz[t](e,n,r,i)}function lz(e,t,n,r,i){xz[t](e,n,r,i)}function uz(e){return{width:Y,draw:t=>{t.lineWidth(35),t.circle(300,250,200),t.stroke(),t.lineWidth(40),e(t)}}}function dz(e){return{width:Y,draw:e}}function fz(e){return{width:Y,draw:t=>{t.lineWidth(38),t.M(120,320),t.L(480,320),t.stroke(),t.M(120,180),t.L(480,180),t.stroke(),e&&e(t)}}}function J(e){e.lineWidth(35),e.M(200,420),e.L(400,80),e.stroke()}function pz(e,t){return{width:Y,draw:n=>{n.lineWidth(40),n.M(460,400),n.C(200,400,140,320,140,250),n.C(140,180,200,100,460,100),n.stroke(),e&&(n.M(140,55),n.L(460,55),n.stroke()),t&&J(n)}}}function mz(e,t){return{width:Y,draw:n=>{n.lineWidth(40),n.M(140,400),n.C(400,400,460,320,460,250),n.C(460,180,400,100,140,100),n.stroke(),e&&(n.M(140,55),n.L(460,55),n.stroke()),t&&J(n)}}}function hz(e){return{width:Y,draw:t=>{t.lineWidth(35),t.circle(300,250,190),t.stroke(),t.lineWidth(38),e(t)}}}function gz(e,t=18){return{width:Y,draw:n=>{n.lineWidth(28),e(n,300-t/2,250,280),e(n,300+t/2,250,280)}}}function _z(e){return{width:Y,draw:t=>{t.lineWidth(26),e(t,300,250,300)}}}function vz(e){return{width:Y,draw:t=>{t.lineWidth(36),e(t,300,250,300)}}}var Y,yz,bz,xz,Sz,Cz,wz,Tz,Ez,Dz,Oz,X,Z,kz,Q,Az=t((()=>{Y=600,yz={8192:sz(500),8193:sz(1e3),8194:sz(500),8195:sz(1e3),8196:sz(333),8197:sz(250),8198:sz(167),8199:sz(500),8200:sz(250),8201:sz(200),8202:sz(100),8203:sz(0),8204:sz(0),8205:sz(0),8206:sz(0),8207:sz(0),8232:sz(0),8233:sz(0),8234:sz(0),8235:sz(0),8236:sz(0),8237:sz(0),8238:sz(0),8239:sz(200),8287:sz(222),8288:sz(0),8289:sz(0),8290:sz(0),8291:sz(0),8292:sz(0),65279:sz(0)},bz=[(e,t,n,r)=>{e.ellipse(t,n,r*.35,r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.15,n+r*.3),e.L(t,n+r*.5),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.25),e.C(t-r*.3,n+r*.55,t+r*.3,n+r*.55,t+r*.3,n+r*.2),e.C(t+r*.3,n,t-r*.3,n-r*.2,t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.45),e.C(t,n+r*.55,t+r*.35,n+r*.35,t+r*.1,n+r*.05),e.C(t+r*.35,n-r*.1,t+r*.35,n-r*.5,t-r*.25,n-r*.45),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n-r*.5),e.L(t+r*.2,n+r*.5),e.L(t-r*.3,n-r*.1),e.L(t+r*.35,n-r*.1),e.stroke()},(e,t,n,r)=>{e.M(t+r*.3,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.3,n+r*.05),e.C(t+r*.1,n+r*.2,t+r*.4,n,t+r*.3,n-r*.2),e.C(t+r*.2,n-r*.5,t-r*.3,n-r*.5,t-r*.3,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t+r*.2,n+r*.4),e.C(t-r*.1,n+r*.55,t-r*.35,n+r*.2,t-r*.35,n-r*.1),e.C(t-r*.35,n-r*.5,t+r*.35,n-r*.5,t+r*.35,n-r*.15),e.C(t+r*.35,n+r*.15,t-r*.35,n+r*.15,t-r*.35,n-r*.1),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.1,n-r*.5),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n+r*.25,r*.25,r*.22),e.stroke(),e.ellipse(t,n-r*.22,r*.28,r*.25),e.stroke()},(e,t,n,r)=>{e.M(t-r*.2,n-r*.4),e.C(t+r*.1,n-r*.55,t+r*.35,n-r*.2,t+r*.35,n+r*.1),e.C(t+r*.35,n+r*.5,t-r*.35,n+r*.5,t-r*.35,n+r*.15),e.C(t-r*.35,n-r*.15,t+r*.35,n-r*.15,t+r*.35,n+r*.1),e.stroke()}],xz=[(e,t,n,r)=>{e.M(t-r*.35,n-r*.5),e.L(t,n+r*.5),e.L(t+r*.35,n-r*.5),e.stroke(),e.M(t-r*.2,n-r*.05),e.L(t+r*.2,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.35,n+r*.5,t+r*.35,n+r*.05,t+r*.05,n+r*.05),e.L(t+r*.1,n+r*.05),e.C(t+r*.4,n+r*.05,t+r*.4,n-r*.5,t+r*.1,n-r*.5),e.Z(),e.stroke()},(e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n-r*.5,t,n-r*.5),e.Z(),e.stroke()},(e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n),e.L(t+r*.15,n),e.stroke()},(e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n+r*.05),e.L(t+r*.15,n+r*.05),e.stroke()},(e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.L(t+r*.3,n-r*.05),e.L(t+r*.05,n-r*.05),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.L(t+r*.3,n),e.stroke()},(e,t,n,r)=>{e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t+r*.15,n+r*.5),e.L(t+r*.15,n-r*.25),e.C(t+r*.15,n-r*.55,t-r*.3,n-r*.55,t-r*.3,n-r*.25),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t-r*.25,n),e.L(t+r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.35,n-r*.5),e.L(t-r*.35,n+r*.5),e.L(t,n),e.L(t+r*.35,n+r*.5),e.L(t+r*.35,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.L(t+r*.3,n+r*.5),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n,r*.35,r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke()},(e,t,n,r)=>{e.ellipse(t,n+r*.05,r*.35,r*.45),e.stroke(),e.M(t+r*.1,n-r*.2),e.L(t+r*.35,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t+r*.25,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.4,t-r*.25,n+r*.15),e.C(t-r*.15,n-r*.05,t+r*.2,n-r*.05,t+r*.25,n-r*.2),e.C(t+r*.35,n-r*.45,t-r*.1,n-r*.55,t-r*.25,n-r*.4),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.stroke(),e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t-r*.3,n-r*.15),e.C(t-r*.3,n-r*.55,t+r*.3,n-r*.55,t+r*.3,n-r*.15),e.L(t+r*.3,n+r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.35,n+r*.5),e.L(t,n-r*.5),e.L(t+r*.35,n+r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.4,n+r*.5),e.L(t-r*.2,n-r*.5),e.L(t,n+r*.1),e.L(t+r*.2,n-r*.5),e.L(t+r*.4,n+r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t,n),e.L(t+r*.3,n+r*.5),e.stroke(),e.M(t,n),e.L(t,n-r*.5),e.stroke()},(e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()}],Sz={};for(let e=1;e<=9;e++)Sz[9311+e]={width:Y,draw:t=>{t.lineWidth(30),t.circle(300,250,220),t.stroke(),t.lineWidth(28),cz(t,e,300,250,210)}};for(let e=10;e<=19;e++){let t=e-10;Sz[9311+e]={width:Y,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(24),cz(e,1,230,250,160),cz(e,t,370,250,160)}}}Sz[9331]={width:Y,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(24),cz(e,2,230,250,160),cz(e,0,370,250,160)}},Sz[9450]={width:Y,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(28),cz(e,0,300,250,210)}},Cz={};for(let e=0;e<26;e++)Cz[9398+e]={width:Y,draw:t=>{t.lineWidth(28),t.circle(300,250,220),t.stroke(),t.lineWidth(24),lz(t,e,300,250,200)}};wz={};for(let e=0;e<26;e++)wz[9424+e]={width:Y,draw:t=>{t.lineWidth(25),t.circle(300,250,200),t.stroke(),t.lineWidth(22),lz(t,e,300,250,175)}};Tz={};for(let e=1;e<=9;e++)Tz[10101+e]={width:Y,draw:e=>{e.circle(300,250,240),e.fill()}};Ez={10003:{width:Y,draw:e=>{e.lineWidth(60),e.M(90,250),e.C(90,250,200,100,230,70),e.C(260,40,350,250,510,460),e.stroke()}},10004:{width:Y,draw:e=>{e.lineWidth(80),e.M(80,250),e.C(80,250,190,100,220,70),e.C(250,40,350,250,520,470),e.stroke()}},10007:{width:Y,draw:e=>{e.lineWidth(55),e.M(120,60),e.L(480,440),e.stroke(),e.M(480,60),e.L(120,440),e.stroke()}},10008:{width:Y,draw:e=>{e.lineWidth(75),e.M(120,60),e.L(480,440),e.stroke(),e.M(480,60),e.L(120,440),e.stroke()}},9733:{width:Y,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),250+230*Math.sin(n)):e.L(300+230*Math.cos(n),250+230*Math.sin(n)),e.L(300+95*Math.cos(r),250+95*Math.sin(r))}e.Z(),e.fill()}},9734:{width:Y,draw:e=>{e.lineWidth(30);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),250+230*Math.sin(n)):e.L(300+230*Math.cos(n),250+230*Math.sin(n)),e.L(300+95*Math.cos(r),250+95*Math.sin(r))}e.Z(),e.stroke()}},9829:{width:Y,draw:e=>{e.M(300,60),e.C(300,60,120,120,80,260),e.C(50,370,120,450,300,480),e.C(480,450,550,370,520,260),e.C(480,120,300,60,300,60),e.Z(),e.fill()}},9824:{width:Y,draw:e=>{e.M(300,490),e.C(300,490,50,340,70,200),e.C(80,100,180,60,300,200),e.C(420,60,520,100,530,200),e.C(550,340,300,490,300,490),e.Z(),e.fill(),e.M(260,200),e.L(260,20),e.L(340,20),e.L(340,200),e.Z(),e.fill()}},8594:{width:Y,draw:e=>{e.lineWidth(45),e.M(80,250),e.L(430,250),e.stroke(),e.M(520,250),e.L(380,370),e.L(380,130),e.Z(),e.fill()}},8592:{width:Y,draw:e=>{e.lineWidth(45),e.M(520,250),e.L(170,250),e.stroke(),e.M(80,250),e.L(220,370),e.L(220,130),e.Z(),e.fill()}},8593:{width:Y,draw:e=>{e.lineWidth(45),e.M(300,30),e.L(300,380),e.stroke(),e.M(300,470),e.L(170,330),e.L(430,330),e.Z(),e.fill()}},8595:{width:Y,draw:e=>{e.lineWidth(45),e.M(300,470),e.L(300,120),e.stroke(),e.M(300,30),e.L(170,170),e.L(430,170),e.Z(),e.fill()}},9679:{width:Y,draw:e=>{e.circle(300,250,230),e.fill()}},9675:{width:Y,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke()}},9632:{width:Y,draw:e=>{e.rect(80,30,440,440),e.fill()}},9633:{width:Y,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke()}},9744:{width:Y,draw:e=>{e.lineWidth(42),e.rect(90,25,420,420),e.stroke()}},9745:{width:Y,draw:e=>{e.lineWidth(42),e.rect(90,25,420,420),e.stroke(),e.lineWidth(52),e.M(180,230),e.C(180,230,250,130,270,110),e.C(290,90,350,220,440,370),e.stroke()}},9746:{width:Y,draw:e=>{e.lineWidth(42),e.rect(90,25,420,420),e.stroke(),e.lineWidth(48),e.M(165,95),e.L(435,375),e.stroke(),e.M(165,375),e.L(435,95),e.stroke()}},10695:{width:Y,draw:e=>{e.lineWidth(38),e.rect(80,30,440,440),e.stroke(),e.circle(300,250,130),e.stroke()}}},Dz={},Dz[10752]=uz(e=>{e.circle(300,250,40),e.fill()}),Dz[10753]=uz(e=>{e.M(100,250),e.L(500,250),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}),Dz[10754]=uz(e=>{e.M(160,110),e.L(440,390),e.stroke(),e.M(160,390),e.L(440,110),e.stroke()}),Dz[10755]=dz(e=>{e.lineWidth(40),e.M(120,450),e.L(120,200),e.C(120,30,480,30,480,200),e.L(480,450),e.stroke(),e.circle(300,200,35),e.fill()}),Dz[10756]=dz(e=>{e.lineWidth(40),e.M(120,450),e.L(120,200),e.C(120,30,480,30,480,200),e.L(480,450),e.stroke(),e.M(230,200),e.L(370,200),e.stroke(),e.M(300,130),e.L(300,270),e.stroke()}),Dz[10757]=dz(e=>{e.lineWidth(45),e.M(120,50),e.L(120,450),e.L(480,450),e.L(480,50),e.stroke()}),Dz[10758]=dz(e=>{e.lineWidth(45),e.M(120,450),e.L(120,50),e.L(480,50),e.L(480,450),e.stroke()});for(let e=10759;e<=10762;e++)Dz[e]=dz(e=>{e.lineWidth(40),e.M(200,480),e.C(180,480,160,450,160,400),e.L(160,100),e.C(160,50,180,20,200,20),e.stroke(),e.M(400,480),e.C(380,480,360,450,360,400),e.L(360,100),e.C(360,50,380,20,400,20),e.stroke()});for(let e=10763;e<=10780;e++)Dz[e]||(Dz[e]=dz(e=>{e.lineWidth(45),e.M(380,480),e.C(350,480,300,450,300,400),e.L(300,100),e.C(300,50,250,20,220,20),e.stroke()}));for(let e=10781;e<=10815;e++)Dz[e]||(Dz[e]=dz(e=>{e.lineWidth(40),e.M(120,450),e.L(480,250),e.L(120,50),e.stroke(),e.M(480,450),e.L(120,250),e.L(480,50),e.stroke()}));for(let e=10816;e<=10847;e++)Dz[e]||(Dz[e]=dz(e=>{e.lineWidth(40),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}));for(let e=10848;e<=10879;e++)Dz[e]||(Dz[e]=dz(e=>{e.lineWidth(40),e.M(120,350),e.C(200,420,400,420,480,350),e.stroke(),e.M(120,200),e.L(480,200),e.stroke()}));for(let e=10880;e<=10911;e++)Dz[e]||(Dz[e]=dz(e=>{e.lineWidth(40),e.M(480,420),e.C(200,420,120,320,120,250),e.C(120,180,200,80,480,80),e.stroke()}));for(let e=10912;e<=10943;e++)Dz[e]||(Dz[e]=dz(e=>{e.lineWidth(40),e.M(460,420),e.C(200,420,140,320,140,250),e.C(140,180,200,80,460,80),e.stroke(),e.M(140,30),e.L(460,30),e.stroke()}));for(let e=10944;e<=11007;e++)Dz[e]||(Dz[e]=dz(e=>{e.lineWidth(40),e.M(140,350),e.L(460,350),e.stroke(),e.M(140,200),e.L(460,200),e.stroke(),e.circle(300,275,30),e.fill()}));Oz={},Oz[10624]={width:Y,draw:e=>{e.lineWidth(35),e.M(200,0),e.L(200,500),e.stroke(),e.M(300,0),e.L(300,500),e.stroke(),e.M(400,0),e.L(400,500),e.stroke()}},Oz[10625]={width:Y,draw:e=>{e.circle(300,250,60),e.fill()}},Oz[10626]={width:300,draw:e=>{e.circle(150,370,40),e.fill(),e.circle(150,130,40),e.fill()}};for(let[e,t]of[[10627,!0],[10628,!1],[10629,!0],[10630,!1]])Oz[e]={width:350,draw:e=>{e.lineWidth(35),t?(e.M(250,500),e.C(80,400,80,100,250,0),e.stroke()):(e.M(100,500),e.C(270,400,270,100,100,0),e.stroke())}};for(let e=10631;e<=10642;e++)if(!Oz[e]){let t=(e-10631)%2==0;Oz[e]={width:350,draw:e=>{e.lineWidth(35),t?(e.M(250,500),e.L(100,250),e.L(250,0),e.stroke()):(e.M(100,500),e.L(250,250),e.L(100,0),e.stroke())}}}for(let e=10643;e<=10648;e++)if(!Oz[e]){let t=(e-10643)%2==0;Oz[e]={width:350,draw:e=>{e.lineWidth(30),t?(e.M(250,500),e.C(100,400,100,100,250,0),e.stroke()):(e.M(100,500),e.C(250,400,250,100,100,0),e.stroke())}}}Oz[10649]={width:200,draw:e=>{for(let t=50;t<=450;t+=80)e.circle(100,t,20),e.fill()}},Oz[10650]={width:300,draw:e=>{e.lineWidth(35),e.M(100,500),e.L(200,400),e.L(100,300),e.L(200,200),e.L(100,100),e.L(200,0),e.stroke()}};for(let e=10651;e<=10654;e++)Oz[e]={width:Y,draw:e=>{e.lineWidth(40),e.M(480,50),e.L(120,50),e.L(380,400),e.stroke(),e.M(200,50),e.C(200,150,250,200,280,180),e.stroke()}};for(let e=10655;e<=10661;e++)Oz[e]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(120,450),e.L(480,50),e.stroke()}};for(let e=10662;e<=10671;e++)Oz[e]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,50),e.L(480,50),e.stroke(),e.M(120,50),e.L(120,400),e.stroke(),e.M(300,50),e.L(300,350),e.stroke()}};for(let e=10672;e<=10687;e++)Oz[e]=uz(e=>{e.M(160,110),e.L(440,390),e.stroke()});for(let e=10696;e<=10703;e++)e===10696||e===10697||(Oz[e]={width:Y,draw:e=>{e.lineWidth(35),e.rect(100,50,400,400),e.stroke(),e.M(200,150),e.L(400,350),e.stroke()}});for(let e=10704;e<=10719;e++)Oz[e]={width:Y,draw:e=>{e.lineWidth(40),e.M(300,450),e.L(500,250),e.L(300,50),e.L(100,250),e.Z(),e.stroke()}};for(let e=10720;e<=10751;e++)Oz[e]||(Oz[e]={width:Y,draw:e=>{e.lineWidth(35),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,100),e.stroke()}});X={},X[8705]={width:Y,draw:e=>{e.lineWidth(42),e.M(420,400),e.C(380,470,220,470,180,400),e.C(140,320,140,180,180,100),e.C(220,30,380,30,420,100),e.stroke()}},X[8708]={width:Y,draw:e=>{e.lineWidth(42),e.M(420,60),e.L(180,60),e.L(180,450),e.L(420,450),e.stroke(),e.M(180,250),e.L(380,250),e.stroke(),J(e)}},X[8714]={width:Y,draw:e=>{e.lineWidth(35),e.M(440,380),e.C(300,430,160,370,160,250),e.C(160,130,300,70,440,120),e.stroke(),e.M(160,250),e.L(400,250),e.stroke()}},X[8716]={width:Y,draw:e=>{e.lineWidth(42),e.M(160,400),e.C(300,460,440,380,440,250),e.C(440,120,300,40,160,100),e.stroke(),e.M(440,250),e.L(200,250),e.stroke(),J(e)}},X[8717]={width:Y,draw:e=>{e.lineWidth(35),e.M(160,380),e.C(300,430,440,370,440,250),e.C(440,130,300,70,160,120),e.stroke(),e.M(440,250),e.L(200,250),e.stroke()}},X[8720]={width:Y,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,450),e.L(460,450),e.L(460,60),e.stroke()}},X[8724]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(480,250),e.stroke(),e.M(300,120),e.L(300,380),e.stroke(),e.circle(300,430,25),e.fill()}},X[8725]={width:Y,draw:e=>{e.lineWidth(42),e.M(440,470),e.L(160,30),e.stroke()}},X[8726]={width:Y,draw:e=>{e.lineWidth(42),e.M(160,470),e.L(440,30),e.stroke()}},X[8731]={width:Y,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(180,250),e.L(260,30),e.L(350,470),e.L(520,470),e.stroke(),e.lineWidth(22),e.M(80,440),e.C(80,470,130,470,130,445),e.C(130,420,80,420,80,395),e.stroke()}},X[8732]={width:Y,draw:e=>{e.lineWidth(40),e.M(80,250),e.L(180,250),e.L(260,30),e.L(350,470),e.L(520,470),e.stroke(),e.lineWidth(22),e.M(120,395),e.L(120,470),e.L(80,430),e.L(130,430),e.stroke()}},X[8737]={width:Y,draw:e=>{e.lineWidth(40),e.M(480,60),e.L(120,60),e.L(420,440),e.stroke(),e.lineWidth(28),e.M(220,60),e.C(220,160,260,200,290,180),e.stroke()}},X[8738]={width:Y,draw:e=>{e.lineWidth(40),e.M(420,440),e.L(120,60),e.L(420,60),e.stroke(),e.lineWidth(28),e.M(200,140),e.C(240,200,320,200,360,140),e.stroke()}},X[8748]={width:Y,draw:e=>{e.lineWidth(40),e.M(320,470),e.C(290,470,260,440,260,400),e.L(260,100),e.C(260,60,230,30,200,30),e.stroke(),e.M(440,470),e.C(410,470,380,440,380,400),e.L(380,100),e.C(380,60,350,30,320,30),e.stroke()}},X[8749]={width:Y,draw:e=>{e.lineWidth(35);for(let t=0;t<3;t++){let n=180+t*100;e.M(n+40,470),e.C(n+20,470,n,440,n,400),e.L(n,100),e.C(n,60,n-20,30,n-40,30),e.stroke()}}},X[8750]={width:Y,draw:e=>{e.lineWidth(40),e.M(360,470),e.C(330,470,300,440,300,400),e.L(300,100),e.C(300,60,270,30,240,30),e.stroke(),e.lineWidth(28),e.ellipse(300,250,80,60),e.stroke()}},X[8751]={width:Y,draw:e=>{e.lineWidth(35);for(let t=0;t<2;t++){let n=220+t*110;e.M(n+40,470),e.C(n+20,470,n,440,n,400),e.L(n,100),e.C(n,60,n-20,30,n-40,30),e.stroke()}e.lineWidth(25),e.ellipse(300,250,70,50),e.stroke()}},X[8752]={width:Y,draw:e=>{e.lineWidth(32);for(let t=0;t<3;t++){let n=180+t*100;e.M(n+35,470),e.C(n+15,470,n,440,n,400),e.L(n,100),e.C(n,60,n-15,30,n-35,30),e.stroke()}e.lineWidth(22),e.ellipse(280,250,60,45),e.stroke()}},X[8753]={width:Y,draw:e=>{e.lineWidth(40),e.M(360,470),e.C(330,470,300,440,300,400),e.L(300,100),e.C(300,60,270,30,240,30),e.stroke(),e.lineWidth(25),e.M(370,230),e.C(370,300,230,300,230,250),e.C(230,200,310,200,340,230),e.stroke()}},X[8754]={width:Y,draw:e=>{e.lineWidth(40),e.M(360,470),e.C(330,470,300,440,300,400),e.L(300,100),e.C(300,60,270,30,240,30),e.stroke(),e.lineWidth(25),e.M(230,230),e.C(230,300,370,300,370,250),e.C(370,200,290,200,260,230),e.stroke()}},X[8755]=X[8753],X[8760]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(480,250),e.stroke(),e.circle(300,360,28),e.fill()}},X[8761]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(480,250),e.stroke(),e.circle(300,370,28),e.fill(),e.circle(300,130,28),e.fill()}},X[8762]={width:Y,draw:e=>{e.circle(180,350,28),e.fill(),e.circle(420,350,28),e.fill(),e.circle(180,150,28),e.fill(),e.circle(420,150,28),e.fill(),e.lineWidth(38),e.M(120,250),e.L(480,250),e.stroke()}},X[8763]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,300),e.C(200,380,400,380,480,300),e.stroke(),e.M(120,180),e.C(200,260,400,260,480,180),e.stroke(),e.circle(300,400,25),e.fill()}},X[8764]={width:Y,draw:e=>{e.lineWidth(45),e.M(120,280),e.C(200,380,400,120,480,220),e.stroke()}},X[8765]={width:Y,draw:e=>{e.lineWidth(45),e.M(120,220),e.C(200,120,400,380,480,280),e.stroke()}},X[8766]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,250),e.C(120,400,300,400,300,250),e.C(300,100,480,100,480,250),e.stroke()}},X[8767]={width:Y,draw:e=>{e.lineWidth(40),e.M(80,250),e.C(160,450,300,450,300,250),e.C(300,50,440,50,520,250),e.stroke()}},X[8768]={width:Y,draw:e=>{e.lineWidth(40),e.M(300,460),e.C(200,380,400,120,300,40),e.stroke()}},X[8769]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,280),e.C(200,380,400,120,480,220),e.stroke(),J(e)}},X[8770]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,400,400,400,480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},X[8771]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,420,400,120,480,220),e.stroke(),e.M(120,150),e.L(480,150),e.stroke()}},X[8772]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,420,400,120,480,220),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),J(e)}},X[8774]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,370),e.C(200,440,400,440,480,370),e.stroke(),e.M(120,250),e.C(200,320,400,320,480,250),e.stroke(),e.M(120,130),e.L(480,130),e.stroke(),J(e)}},X[8775]=X[8774],X[8777]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,400,400,400,480,320),e.stroke(),e.M(120,180),e.C(200,260,400,260,480,180),e.stroke(),J(e)}},X[8778]={width:Y,draw:e=>{e.lineWidth(36),e.M(120,370),e.C(200,440,400,440,480,370),e.stroke(),e.M(120,260),e.C(200,330,400,330,480,260),e.stroke(),e.M(120,150),e.L(480,150),e.stroke()}},X[8779]={width:Y,draw:e=>{e.lineWidth(35);for(let t of[370,250,130])e.M(120,t),e.C(200,t+70,400,t+70,480,t),e.stroke()}},X[8781]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,340),e.C(200,420,400,420,480,340),e.stroke(),e.M(120,160),e.C(200,80,400,80,480,160),e.stroke()}},X[8782]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,420,400,420,480,320),e.stroke(),e.M(120,180),e.C(200,80,400,80,480,180),e.stroke()}},X[8783]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,320),e.C(200,400,400,400,480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke()}},X[8784]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,300),e.L(480,300),e.stroke(),e.M(120,180),e.L(480,180),e.stroke(),e.circle(300,410,25),e.fill()}},X[8785]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,300),e.L(480,300),e.stroke(),e.M(120,180),e.L(480,180),e.stroke(),e.circle(300,410,25),e.fill(),e.circle(300,80,25),e.fill()}},X[8786]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,310),e.C(200,370,400,370,480,310),e.stroke(),e.M(120,190),e.C(200,130,400,130,480,190),e.stroke()}},X[8787]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,310),e.C(200,250,400,250,480,310),e.stroke(),e.M(120,190),e.C(200,250,400,250,480,190),e.stroke()}},X[8788]={width:Y,draw:e=>{e.circle(180,330,30),e.fill(),e.circle(180,170,30),e.fill(),e.lineWidth(40),e.M(260,320),e.L(480,320),e.stroke(),e.M(260,180),e.L(480,180),e.stroke()}},X[8789]={width:Y,draw:e=>{e.circle(420,330,30),e.fill(),e.circle(420,170,30),e.fill(),e.lineWidth(40),e.M(120,320),e.L(340,320),e.stroke(),e.M(120,180),e.L(340,180),e.stroke()}},X[8790]=fz(e=>{e.lineWidth(25),e.circle(300,250,35),e.stroke()}),X[8791]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,280),e.L(480,280),e.stroke(),e.M(120,170),e.L(480,170),e.stroke(),e.lineWidth(25),e.circle(300,390,35),e.stroke()}},X[8792]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,280),e.L(480,280),e.stroke(),e.M(120,170),e.L(480,170),e.stroke(),e.lineWidth(28),e.M(240,390),e.L(300,430),e.L(360,390),e.stroke()}},X[8793]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,260),e.L(480,260),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),e.lineWidth(28),e.M(240,370),e.L(300,420),e.L(360,370),e.stroke()}},X[8794]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,260),e.L(480,260),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),e.lineWidth(28),e.M(240,420),e.L(300,370),e.L(360,420),e.stroke()}},X[8795]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,140),e.L(480,140),e.stroke(),e.circle(300,380,35),e.fill()}},X[8797]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,140),e.L(480,140),e.stroke(),e.lineWidth(25),e.M(260,360),e.L(300,440),e.L(340,360),e.Z(),e.stroke()}},X[8798]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,140),e.L(480,140),e.stroke(),e.lineWidth(22),e.M(230,360),e.L(230,430),e.L(270,390),e.L(310,430),e.L(310,360),e.stroke()}},X[8799]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,230),e.L(480,230),e.stroke(),e.M(120,120),e.L(480,120),e.stroke(),e.lineWidth(25),e.M(260,360),e.C(260,430,340,430,340,390),e.C(340,360,300,340,300,310),e.stroke(),e.circle(300,290,15),e.fill()}},X[8802]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,350),e.L(480,350),e.stroke(),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,150),e.L(480,150),e.stroke(),J(e)}},X[8803]={width:Y,draw:e=>{e.lineWidth(36),e.M(120,370),e.L(480,370),e.stroke(),e.M(120,290),e.L(480,290),e.stroke(),e.M(120,210),e.L(480,210),e.stroke(),e.M(120,130),e.L(480,130),e.stroke()}},X[8806]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},X[8807]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},X[8808]={width:Y,draw:e=>{X[8806].draw(e),J(e)}},X[8809]={width:Y,draw:e=>{X[8807].draw(e),J(e)}},X[8812]={width:Y,draw:e=>{e.lineWidth(40),e.M(200,420),e.L(400,250),e.L(200,80),e.stroke(),e.M(400,420),e.L(200,250),e.L(400,80),e.stroke()}},X[8813]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,340),e.C(200,420,400,420,480,340),e.stroke(),e.M(120,160),e.C(200,80,400,80,480,160),e.stroke(),J(e)}},X[8814]={width:Y,draw:e=>{e.lineWidth(42),e.M(460,400),e.L(140,250),e.L(460,100),e.stroke(),J(e)}},X[8815]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,400),e.L(460,250),e.L(140,100),e.stroke(),J(e)}},X[8816]={width:Y,draw:e=>{e.lineWidth(38),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke(),J(e)}},X[8817]={width:Y,draw:e=>{e.lineWidth(38),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,60),e.L(460,60),e.stroke(),J(e)}},X[8818]={width:Y,draw:e=>{e.lineWidth(38),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,60),e.C(220,30,380,30,460,60),e.stroke()}},X[8819]={width:Y,draw:e=>{e.lineWidth(38),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,60),e.C(220,30,380,30,460,60),e.stroke()}},X[8820]={width:Y,draw:e=>{X[8818].draw(e),J(e)}},X[8821]={width:Y,draw:e=>{X[8819].draw(e),J(e)}},X[8822]={width:Y,draw:e=>{e.lineWidth(38),e.M(460,430),e.L(140,330),e.L(460,230),e.stroke(),e.M(140,230),e.L(460,130),e.L(140,60),e.stroke()}},X[8823]={width:Y,draw:e=>{e.lineWidth(38),e.M(140,430),e.L(460,330),e.L(140,230),e.stroke(),e.M(460,230),e.L(140,130),e.L(460,60),e.stroke()}},X[8824]={width:Y,draw:e=>{X[8822].draw(e),J(e)}},X[8825]={width:Y,draw:e=>{X[8823].draw(e),J(e)}},X[8826]={width:Y,draw:e=>{e.lineWidth(42),e.M(460,400),e.C(200,400,140,300,140,250),e.C(140,200,200,100,460,100),e.stroke()}},X[8827]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,400),e.C(400,400,460,300,460,250),e.C(460,200,400,100,140,100),e.stroke()}},X[8828]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,420),e.C(200,420,140,320,140,280),e.C(140,240,200,140,460,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},X[8829]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,420),e.C(400,420,460,320,460,280),e.C(460,240,400,140,140,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},X[8830]={width:Y,draw:e=>{e.lineWidth(38),e.M(460,420),e.C(200,420,140,320,140,280),e.C(140,240,200,140,460,140),e.stroke(),e.M(140,80),e.C(220,50,380,50,460,80),e.stroke()}},X[8831]={width:Y,draw:e=>{e.lineWidth(38),e.M(140,420),e.C(400,420,460,320,460,280),e.C(460,240,400,140,140,140),e.stroke(),e.M(140,80),e.C(220,50,380,50,460,80),e.stroke()}},X[8832]={width:Y,draw:e=>{X[8826].draw(e),J(e)}},X[8833]={width:Y,draw:e=>{X[8827].draw(e),J(e)}},X[8840]=pz(!0,!0),X[8841]=mz(!0,!0),X[8842]=pz(!0,!0),X[8843]=mz(!0,!0),X[8844]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,450),e.L(140,200),e.C(140,50,460,50,460,200),e.L(460,450),e.stroke(),e.M(230,280),e.L(370,280),e.stroke()}},X[8845]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,450),e.L(140,200),e.C(140,50,460,50,460,200),e.L(460,450),e.stroke(),e.circle(300,250,30),e.fill()}},X[8846]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,450),e.L(140,200),e.C(140,50,460,50,460,200),e.L(460,450),e.stroke(),e.M(240,250),e.L(360,250),e.stroke(),e.M(300,190),e.L(300,310),e.stroke()}},X[8847]={width:Y,draw:e=>{e.lineWidth(42),e.M(460,420),e.L(140,420),e.L(140,80),e.L(460,80),e.stroke()}},X[8848]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(460,420),e.L(460,80),e.L(140,80),e.stroke()}},X[8849]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,440),e.L(140,440),e.L(140,140),e.L(460,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},X[8850]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,440),e.L(460,440),e.L(460,140),e.L(140,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},X[8851]={width:Y,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,440),e.L(460,440),e.L(460,60),e.stroke()}},X[8852]={width:Y,draw:e=>{e.lineWidth(45),e.M(140,440),e.L(140,60),e.L(460,60),e.L(460,440),e.stroke()}},X[8858]=hz(e=>{e.lineWidth(28),e.circle(300,250,60),e.stroke()}),X[8859]=hz(e=>{e.lineWidth(32);for(let t=0;t<3;t++){let n=t*60*Math.PI/180;e.M(300+80*Math.cos(n),250+80*Math.sin(n)),e.L(300-80*Math.cos(n),250-80*Math.sin(n)),e.stroke()}}),X[8860]=hz(e=>{e.M(200,280),e.L(400,280),e.stroke(),e.M(200,220),e.L(400,220),e.stroke()}),X[8861]=hz(e=>{e.M(200,250),e.L(400,250),e.stroke()}),X[8862]={width:Y,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},X[8863]={width:Y,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.M(160,250),e.L(440,250),e.stroke()}},X[8864]={width:Y,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.M(100,50),e.L(500,450),e.stroke(),e.M(500,50),e.L(100,450),e.stroke()}},X[8865]={width:Y,draw:e=>{e.lineWidth(38),e.rect(100,50,400,400),e.stroke(),e.circle(300,250,40),e.fill()}},X[8866]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,60),e.stroke(),e.M(140,250),e.L(480,250),e.stroke()}},X[8867]={width:Y,draw:e=>{e.lineWidth(42),e.M(460,440),e.L(460,60),e.stroke(),e.M(460,250),e.L(120,250),e.stroke()}},X[8868]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,440),e.L(480,440),e.stroke(),e.M(300,440),e.L(300,60),e.stroke()}},X[8870]={width:Y,draw:e=>{e.lineWidth(42),e.M(160,440),e.L(160,60),e.stroke(),e.M(160,250),e.L(460,250),e.stroke(),e.M(220,440),e.L(220,60),e.stroke()}},X[8871]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,60),e.stroke(),e.M(140,310),e.L(460,310),e.stroke(),e.M(140,190),e.L(460,190),e.stroke()}},X[8872]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,60),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(200,250),e.L(460,250),e.stroke()}},X[8873]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,440),e.L(140,60),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(200,250),e.L(460,250),e.stroke()}},X[8874]={width:Y,draw:e=>{e.lineWidth(36),e.M(130,440),e.L(130,60),e.stroke(),e.M(190,440),e.L(190,60),e.stroke(),e.M(250,440),e.L(250,60),e.stroke(),e.M(250,250),e.L(460,250),e.stroke()}},X[8875]={width:Y,draw:e=>{e.lineWidth(38),e.M(130,440),e.L(130,60),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(200,300),e.L(460,300),e.stroke(),e.M(200,200),e.L(460,200),e.stroke()}},X[8876]={width:Y,draw:e=>{X[8866].draw(e),J(e)}},X[8877]={width:Y,draw:e=>{X[8872].draw(e),J(e)}},X[8878]={width:Y,draw:e=>{X[8873].draw(e),J(e)}},X[8879]={width:Y,draw:e=>{X[8875].draw(e),J(e)}},X[8880]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,400),e.C(200,400,140,300,140,250),e.C(140,200,200,100,460,100),e.stroke(),e.M(140,50),e.L(460,50),e.stroke()}},X[8881]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,400),e.C(400,400,460,300,460,250),e.C(460,200,400,100,140,100),e.stroke(),e.M(140,50),e.L(460,50),e.stroke()}},X[8882]={width:Y,draw:e=>{e.lineWidth(42),e.M(460,420),e.L(140,250),e.L(460,80),e.Z(),e.stroke()}},X[8883]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(460,250),e.L(140,80),e.Z(),e.stroke()}},X[8884]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,440),e.L(140,260),e.L(460,100),e.Z(),e.stroke(),e.M(140,55),e.L(460,55),e.stroke()}},X[8885]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,440),e.L(460,260),e.L(140,100),e.Z(),e.stroke(),e.M(140,55),e.L(460,55),e.stroke()}},X[8886]={width:Y,draw:e=>{e.lineWidth(40),e.M(420,400),e.L(200,250),e.L(420,100),e.stroke(),e.circle(160,250,40),e.fill()}},X[8887]={width:Y,draw:e=>{e.lineWidth(40),e.M(180,400),e.L(400,250),e.L(180,100),e.stroke(),e.circle(440,250,40),e.fill()}},X[8888]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,250),e.L(430,250),e.stroke(),e.lineWidth(28),e.circle(470,250,40),e.stroke()}},X[8889]={width:Y,draw:e=>{e.lineWidth(38),e.rect(120,80,360,340),e.stroke(),e.circle(300,250,30),e.fill()}},X[8890]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,60),e.L(480,60),e.stroke(),e.M(300,60),e.L(300,440),e.stroke()}},X[8891]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,80),e.L(300,440),e.L(460,80),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},X[8892]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,420),e.L(300,60),e.L(460,420),e.stroke(),e.M(140,440),e.L(460,440),e.stroke()}},X[8893]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,80),e.L(300,440),e.L(460,80),e.stroke(),e.M(140,60),e.L(460,60),e.stroke()}},X[8894]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(140,80),e.L(460,80),e.stroke(),e.lineWidth(28),e.M(140,300),e.C(250,300,320,200,320,80),e.stroke()}},X[8896]={width:Y,draw:e=>{e.lineWidth(45),e.M(120,60),e.L(300,440),e.L(480,60),e.stroke()}},X[8897]={width:Y,draw:e=>{e.lineWidth(45),e.M(120,440),e.L(300,60),e.L(480,440),e.stroke()}},X[8898]={width:Y,draw:e=>{e.lineWidth(45),e.M(140,60),e.L(140,250),e.C(140,460,460,460,460,250),e.L(460,60),e.stroke()}},X[8899]={width:Y,draw:e=>{e.lineWidth(45),e.M(140,440),e.L(140,250),e.C(140,40,460,40,460,250),e.L(460,440),e.stroke()}},X[8900]={width:Y,draw:e=>{e.lineWidth(38),e.M(300,420),e.L(460,250),e.L(300,80),e.L(140,250),e.Z(),e.stroke()}},X[8901]={width:Y,draw:e=>{e.circle(300,250,35),e.fill()}},X[8902]={width:Y,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+140*Math.cos(n),250+140*Math.sin(n)):e.L(300+140*Math.cos(n),250+140*Math.sin(n)),e.L(300+60*Math.cos(r),250+60*Math.sin(r))}e.Z(),e.fill()}},X[8903]={width:Y,draw:e=>{e.lineWidth(40),e.M(160,400),e.L(440,100),e.stroke(),e.M(440,400),e.L(160,100),e.stroke(),e.circle(300,420,28),e.fill(),e.circle(300,80,28),e.fill()}},X[8904]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(300,250),e.L(120,100),e.Z(),e.stroke(),e.M(480,400),e.L(300,250),e.L(480,100),e.Z(),e.stroke()}},X[8905]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,400),e.L(380,250),e.L(140,100),e.Z(),e.stroke(),e.M(380,400),e.L(380,100),e.stroke()}},X[8906]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,400),e.L(220,250),e.L(460,100),e.Z(),e.stroke(),e.M(220,400),e.L(220,100),e.stroke()}},X[8907]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,400),e.L(380,250),e.L(140,100),e.stroke(),e.M(380,400),e.L(380,100),e.stroke()}},X[8908]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,400),e.L(220,250),e.L(460,100),e.stroke(),e.M(220,400),e.L(220,100),e.stroke()}},X[8909]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,220),e.C(200,120,400,380,480,280),e.stroke(),e.M(120,140),e.L(480,140),e.stroke()}},X[8910]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,440),e.C(200,200,260,100,300,60),e.C(340,100,400,200,480,440),e.stroke()}},X[8911]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,60),e.C(200,300,260,400,300,440),e.C(340,400,400,300,480,60),e.stroke()}},X[8912]={width:Y,draw:e=>{e.lineWidth(35),e.M(440,400),e.C(250,400,180,320,180,250),e.C(180,180,250,100,440,100),e.stroke(),e.M(480,400),e.C(290,400,220,320,220,250),e.C(220,180,290,100,480,100),e.stroke()}},X[8913]={width:Y,draw:e=>{e.lineWidth(35),e.M(160,400),e.C(350,400,420,320,420,250),e.C(420,180,350,100,160,100),e.stroke(),e.M(120,400),e.C(310,400,380,320,380,250),e.C(380,180,310,100,120,100),e.stroke()}},X[8914]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,60),e.L(120,230),e.C(120,460,480,460,480,230),e.L(480,60),e.stroke(),e.M(200,60),e.L(200,230),e.C(200,400,400,400,400,230),e.L(400,60),e.stroke()}},X[8915]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,440),e.L(120,270),e.C(120,40,480,40,480,270),e.L(480,440),e.stroke(),e.M(200,440),e.L(200,270),e.C(200,100,400,100,400,270),e.L(400,440),e.stroke()}},X[8916]={width:Y,draw:e=>{e.lineWidth(42),e.M(300,60),e.L(300,440),e.stroke(),e.M(140,60),e.L(140,250),e.C(140,400,460,400,460,250),e.L(460,60),e.stroke()}},X[8917]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,310),e.L(480,310),e.stroke(),e.M(120,200),e.L(480,200),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(400,440),e.L(400,60),e.stroke()}},X[8918]={width:Y,draw:e=>{e.lineWidth(42),e.M(460,400),e.L(140,250),e.L(460,100),e.stroke(),e.circle(300,250,30),e.fill()}},X[8919]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,400),e.L(460,250),e.L(140,100),e.stroke(),e.circle(300,250,30),e.fill()}},X[8920]={width:Y,draw:e=>{e.lineWidth(35);for(let t of[160,280,400])e.M(t+80,400),e.L(t,250),e.L(t+80,100),e.stroke()}},X[8921]={width:Y,draw:e=>{e.lineWidth(35);for(let t of[440,320,200])e.M(t-80,400),e.L(t,250),e.L(t-80,100),e.stroke()}},X[8922]={width:Y,draw:e=>{e.lineWidth(36),e.M(460,460),e.L(140,370),e.L(460,280),e.stroke(),e.M(140,240),e.L(460,240),e.stroke(),e.M(140,200),e.L(460,110),e.L(140,40),e.stroke()}},X[8923]={width:Y,draw:e=>{e.lineWidth(36),e.M(140,460),e.L(460,370),e.L(140,280),e.stroke(),e.M(140,240),e.L(460,240),e.stroke(),e.M(460,200),e.L(140,110),e.L(460,40),e.stroke()}},X[8924]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,420),e.L(140,260),e.L(460,100),e.stroke(),e.M(140,440),e.L(460,440),e.stroke()}},X[8925]={width:Y,draw:e=>{e.lineWidth(40),e.M(140,420),e.L(460,260),e.L(140,100),e.stroke(),e.M(140,440),e.L(460,440),e.stroke()}},X[8926]={width:Y,draw:e=>{e.lineWidth(38),e.M(460,420),e.C(200,420,140,320,140,280),e.C(140,240,200,140,460,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},X[8927]={width:Y,draw:e=>{e.lineWidth(38),e.M(140,420),e.C(400,420,460,320,460,280),e.C(460,240,400,140,140,140),e.stroke(),e.M(140,80),e.L(460,80),e.stroke()}},X[8928]={width:Y,draw:e=>{X[8926].draw(e),J(e)}},X[8929]={width:Y,draw:e=>{X[8927].draw(e),J(e)}},X[8930]={width:Y,draw:e=>{X[8849].draw(e),J(e)}},X[8931]={width:Y,draw:e=>{X[8850].draw(e),J(e)}},X[8932]={width:Y,draw:e=>{X[8849].draw(e),J(e)}},X[8933]={width:Y,draw:e=>{X[8850].draw(e),J(e)}},X[8934]={width:Y,draw:e=>{X[8818].draw(e),J(e)}},X[8935]={width:Y,draw:e=>{X[8819].draw(e),J(e)}},X[8936]={width:Y,draw:e=>{X[8830].draw(e),J(e)}},X[8937]={width:Y,draw:e=>{X[8831].draw(e),J(e)}},X[8938]={width:Y,draw:e=>{X[8882].draw(e),J(e)}},X[8939]={width:Y,draw:e=>{X[8883].draw(e),J(e)}},X[8940]={width:Y,draw:e=>{X[8884].draw(e),J(e)}},X[8941]={width:Y,draw:e=>{X[8885].draw(e),J(e)}},X[8942]={width:Y,draw:e=>{e.circle(300,380,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(300,120,28),e.fill()}},X[8943]={width:Y,draw:e=>{e.circle(150,250,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(450,250,28),e.fill()}},X[8944]={width:Y,draw:e=>{e.circle(170,120,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(430,380,28),e.fill()}},X[8945]={width:Y,draw:e=>{e.circle(170,380,28),e.fill(),e.circle(300,250,28),e.fill(),e.circle(430,120,28),e.fill()}};for(let e=8946;e<=8959;e++)if(!X[e]){let t=(e-8946)%2==0;X[e]={width:Y,draw:e=>{e.lineWidth(40),t?(e.M(440,400),e.C(200,430,140,340,140,250),e.C(140,160,200,70,440,100),e.stroke(),e.M(140,250),e.L(400,250),e.stroke()):(e.M(160,400),e.C(400,430,460,340,460,250),e.C(460,160,400,70,160,100),e.stroke(),e.M(460,250),e.L(200,250),e.stroke())}}}Z={},Z[8448]={width:Y,draw:e=>{e.lineWidth(24),lz(e,0,190,340,150),lz(e,2,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},Z[8449]={width:Y,draw:e=>{e.lineWidth(24),lz(e,0,190,340,150),lz(e,18,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},Z[8450]=gz((e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.stroke()}),Z[8452]={width:Y,draw:e=>{e.lineWidth(40),e.M(200,440),e.L(300,250),e.L(400,440),e.stroke(),e.M(300,250),e.L(300,60),e.stroke()}},Z[8454]={width:Y,draw:e=>{e.lineWidth(24),lz(e,2,190,340,150),lz(e,20,410,160,150),e.lineWidth(30),e.M(380,450),e.L(220,50),e.stroke()}},Z[8455]={width:Y,draw:e=>{e.lineWidth(42),e.M(180,440),e.L(420,440),e.L(420,60),e.L(180,60),e.stroke(),e.M(420,250),e.L(220,250),e.stroke()}},Z[8458]={width:Y,draw:e=>{e.lineWidth(30),e.ellipse(280,280,120,100),e.stroke(),e.M(400,380),e.L(400,80),e.C(400,20,300,20,240,60),e.stroke()}},Z[8459]=_z((e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.C(t-r*.1,n+r*.15,t+r*.1,n-r*.15,t+r*.3,n),e.stroke()}),Z[8460]=vz((e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.L(t+r*.3,n),e.stroke()}),Z[8461]=gz((e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.stroke(),e.M(t+r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.stroke(),e.M(t-r*.3,n),e.L(t+r*.3,n),e.stroke()}),Z[8462]={width:Y,draw:e=>{e.lineWidth(35),e.M(220,60),e.L(200,450),e.stroke(),e.M(200,300),e.C(280,400,380,400,400,300),e.L(420,60),e.stroke()}},Z[8463]={width:Y,draw:e=>{e.lineWidth(35),e.M(220,60),e.L(200,450),e.stroke(),e.M(200,300),e.C(280,400,380,400,400,300),e.L(420,60),e.stroke(),e.M(140,370),e.L(280,370),e.stroke()}},Z[8464]=_z((e,t,n,r)=>{e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke(),e.M(t-r*.2,n+r*.5),e.L(t+r*.2,n+r*.5),e.stroke(),e.M(t-r*.2,n-r*.5),e.L(t+r*.2,n-r*.5),e.stroke()}),Z[8465]=vz((e,t,n,r)=>{e.M(t,n+r*.5),e.L(t,n-r*.5),e.stroke(),e.M(t-r*.25,n+r*.5),e.L(t+r*.25,n+r*.5),e.stroke(),e.M(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke()}),Z[8466]=_z((e,t,n,r)=>{e.M(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.C(t-r*.25,n-r*.55,t+r*.3,n-r*.55,t+r*.3,n-r*.5),e.stroke()}),Z[8468]={width:Y,draw:e=>{e.lineWidth(30),lz(e,11,200,250,260),lz(e,1,400,250,260),e.lineWidth(28),e.M(120,100),e.L(480,100),e.stroke()}},Z[8469]=gz((e,t,n,r)=>{e.M(t-r*.3,n-r*.5),e.L(t-r*.3,n+r*.5),e.L(t+r*.3,n-r*.5),e.L(t+r*.3,n+r*.5),e.stroke()}),Z[8471]={width:Y,draw:e=>{e.lineWidth(30),e.circle(300,250,220),e.stroke(),e.lineWidth(28),lz(e,15,300,250,200)}},Z[8472]={width:Y,draw:e=>{e.lineWidth(38),e.M(200,60),e.L(200,350),e.C(200,450,350,450,400,350),e.C(450,250,350,180,280,200),e.C(210,220,180,300,200,350),e.stroke()}},Z[8473]=gz((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke()}),Z[8474]=gz((e,t,n,r)=>{e.ellipse(t,n+r*.05,r*.35,r*.45),e.stroke(),e.M(t+r*.1,n-r*.2),e.L(t+r*.35,n-r*.5),e.stroke()}),Z[8475]=_z((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()}),Z[8476]=vz((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()}),Z[8477]=gz((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n+r*.05,t+r*.1,n+r*.05),e.L(t-r*.25,n+r*.05),e.stroke(),e.M(t+r*.05,n+r*.05),e.L(t+r*.3,n-r*.5),e.stroke()}),Z[8478]={width:Y,draw:e=>{e.lineWidth(38),lz(e,17,250,260,300),e.lineWidth(32),e.M(350,200),e.L(480,60),e.stroke()}},Z[8479]={width:Y,draw:e=>{e.lineWidth(38),lz(e,17,300,250,300)}},Z[8481]={width:Y,draw:e=>{e.lineWidth(22),lz(e,19,150,250,180),lz(e,4,300,250,180),lz(e,11,450,250,180)}},Z[8484]=gz((e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()}),Z[8485]={width:Y,draw:e=>{e.lineWidth(36),e.M(200,440),e.L(400,440),e.L(200,60),e.L(400,60),e.stroke(),e.M(180,250),e.L(420,250),e.stroke()}},Z[8487]={width:Y,draw:e=>{e.lineWidth(42),e.M(140,440),e.L(200,440),e.L(200,350),e.C(200,150,400,150,400,350),e.L(400,440),e.L(460,440),e.stroke()}},Z[8488]=vz((e,t,n,r)=>{e.M(t-r*.3,n+r*.5),e.L(t+r*.3,n+r*.5),e.L(t-r*.3,n-r*.5),e.L(t+r*.3,n-r*.5),e.stroke()}),Z[8489]={width:Y,draw:e=>{e.lineWidth(38),e.M(300,440),e.L(300,160),e.C(300,60,220,60,220,120),e.stroke()}},Z[8490]={width:Y,draw:e=>{e.lineWidth(40),lz(e,10,300,250,300)}},Z[8491]={width:Y,draw:e=>{e.lineWidth(38),lz(e,0,300,220,280),e.lineWidth(22),e.circle(300,440,30),e.stroke()}},Z[8492]=_z((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t+r*.1,n+r*.5),e.C(t+r*.35,n+r*.5,t+r*.35,n+r*.05,t+r*.05,n+r*.05),e.L(t+r*.1,n+r*.05),e.C(t+r*.4,n+r*.05,t+r*.4,n-r*.5,t+r*.1,n-r*.5),e.Z(),e.stroke()}),Z[8493]=vz((e,t,n,r)=>{e.M(t+r*.3,n+r*.35),e.C(t+r*.1,n+r*.55,t-r*.35,n+r*.35,t-r*.35,n),e.C(t-r*.35,n-r*.35,t+r*.1,n-r*.55,t+r*.3,n-r*.35),e.stroke()}),Z[8495]={width:Y,draw:e=>{e.lineWidth(30),e.M(420,250),e.L(180,250),e.C(180,400,300,450,400,380),e.stroke(),e.M(180,250),e.C(180,100,300,50,420,120),e.stroke()}},Z[8496]=_z((e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.L(t+r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n),e.L(t+r*.15,n),e.stroke()}),Z[8497]=_z((e,t,n,r)=>{e.M(t+r*.25,n+r*.5),e.L(t-r*.25,n+r*.5),e.L(t-r*.25,n-r*.5),e.stroke(),e.M(t-r*.25,n+r*.05),e.L(t+r*.15,n+r*.05),e.stroke()}),Z[8498]={width:Y,draw:e=>{e.lineWidth(42),e.M(180,60),e.L(420,60),e.L(420,440),e.stroke(),e.M(420,250),e.L(220,250),e.stroke()}},Z[8499]=_z((e,t,n,r)=>{e.M(t-r*.35,n-r*.5),e.L(t-r*.35,n+r*.5),e.L(t,n),e.L(t+r*.35,n+r*.5),e.L(t+r*.35,n-r*.5),e.stroke()}),Z[8500]={width:Y,draw:e=>{e.lineWidth(30),e.ellipse(300,250,150,180),e.stroke()}},Z[8501]={width:Y,draw:e=>{e.lineWidth(42),e.M(200,60),e.C(250,200,350,300,400,440),e.stroke(),e.M(180,440),e.L(250,300),e.stroke(),e.M(420,60),e.L(350,200),e.stroke()}},Z[8502]={width:Y,draw:e=>{e.lineWidth(42),e.M(160,440),e.L(440,440),e.L(440,60),e.C(440,60,300,80,200,160),e.stroke()}},Z[8503]={width:Y,draw:e=>{e.lineWidth(42),e.M(350,440),e.L(350,160),e.C(350,60,250,60,200,100),e.stroke(),e.M(350,300),e.L(250,60),e.stroke()}},Z[8504]={width:Y,draw:e=>{e.lineWidth(42),e.M(180,440),e.L(420,440),e.L(420,60),e.stroke()}},Z[8508]={width:Y,draw:e=>{e.lineWidth(30),e.M(140,380),e.L(460,380),e.stroke(),e.M(230,380),e.L(230,60),e.stroke(),e.M(370,380),e.L(370,60),e.stroke(),e.M(248,380),e.L(248,60),e.stroke(),e.M(388,380),e.L(388,60),e.stroke()}},Z[8509]={width:Y,draw:e=>{e.lineWidth(30),e.M(160,440),e.L(300,150),e.L(440,440),e.stroke(),e.M(300,150),e.L(300,60),e.stroke(),e.M(170,440),e.L(310,150),e.stroke()}},Z[8510]={width:Y,draw:e=>{e.lineWidth(30),e.M(180,60),e.L(180,440),e.L(420,440),e.stroke(),e.M(198,60),e.L(198,440),e.stroke()}},Z[8511]={width:Y,draw:e=>{e.lineWidth(30),e.M(140,440),e.L(460,440),e.stroke(),e.M(200,440),e.L(200,60),e.stroke(),e.M(218,440),e.L(218,60),e.stroke(),e.M(400,440),e.L(400,60),e.stroke(),e.M(418,440),e.L(418,60),e.stroke()}},Z[8512]={width:Y,draw:e=>{e.lineWidth(30),e.M(440,440),e.L(160,440),e.L(300,250),e.L(160,60),e.L(440,60),e.stroke(),e.M(450,440),e.L(170,440),e.L(310,250),e.L(170,60),e.L(450,60),e.stroke()}},Z[8513]={width:Y,draw:e=>{e.lineWidth(42),e.M(200,100),e.C(280,40,460,100,460,250),e.C(460,400,280,460,200,400),e.L(200,270),e.L(350,270),e.stroke()}},Z[8514]={width:Y,draw:e=>{e.lineWidth(42),e.M(400,60),e.L(400,440),e.L(200,440),e.stroke()}},Z[8515]={width:Y,draw:e=>{e.lineWidth(42),e.M(400,440),e.L(400,60),e.L(200,60),e.stroke()}},Z[8516]={width:Y,draw:e=>{e.lineWidth(42),e.M(180,440),e.L(300,250),e.L(420,440),e.stroke(),e.M(300,250),e.L(300,60),e.stroke()}},Z[8517]=gz((e,t,n,r)=>{e.M(t-r*.25,n-r*.5),e.L(t-r*.25,n+r*.5),e.L(t,n+r*.5),e.C(t+r*.4,n+r*.5,t+r*.4,n-r*.5,t,n-r*.5),e.Z(),e.stroke()}),Z[8518]={width:Y,draw:e=>{e.lineWidth(28),e.ellipse(270,200,110,130),e.stroke(),e.M(380,60),e.L(380,440),e.stroke(),e.M(398,60),e.L(398,440),e.stroke()}},Z[8519]={width:Y,draw:e=>{e.lineWidth(28),e.M(420,250),e.L(180,250),e.C(180,400,300,450,400,380),e.stroke(),e.M(180,250),e.C(180,100,300,50,420,120),e.stroke(),e.M(430,260),e.L(190,260),e.stroke()}},Z[8520]={width:Y,draw:e=>{e.lineWidth(30),e.M(300,340),e.L(300,60),e.stroke(),e.M(318,340),e.L(318,60),e.stroke(),e.circle(309,400,25),e.fill()}},Z[8521]={width:Y,draw:e=>{e.lineWidth(30),e.M(320,340),e.L(320,120),e.C(320,60,260,60,220,80),e.stroke(),e.M(338,340),e.L(338,120),e.stroke(),e.circle(329,400,25),e.fill()}},Z[8522]={width:Y,draw:e=>{e.lineWidth(42),e.M(120,320),e.L(480,320),e.stroke(),e.M(120,180),e.L(480,180),e.stroke(),e.M(300,440),e.L(300,60),e.stroke()}},Z[8523]={width:Y,draw:e=>{e.lineWidth(38),e.M(420,60),e.L(180,320),e.C(140,370,160,440,220,440),e.C(320,440,360,380,300,300),e.L(160,180),e.C(120,130,160,60,260,60),e.C(360,60,380,130,340,180),e.stroke()}},Z[8524]={width:Y,draw:e=>{e.lineWidth(38),e.M(440,440),e.L(160,60),e.stroke(),e.circle(200,360,50),e.stroke(),e.circle(400,140,50),e.stroke()}},Z[8525]={width:Y,draw:e=>{e.lineWidth(34),lz(e,0,200,250,260),lz(e,18,400,250,260)}},Z[8526]={width:Y,draw:e=>{e.lineWidth(38),e.M(380,440),e.L(220,440),e.L(220,60),e.stroke(),e.M(220,250),e.L(380,250),e.stroke()}},Z[8527]={width:Y,draw:e=>{e.lineWidth(38),e.M(200,60),e.L(200,440),e.L(400,440),e.L(400,60),e.stroke(),e.M(200,250),e.L(400,250),e.stroke()}},kz={},kz[8364]={width:Y,draw:e=>{e.lineWidth(40),e.M(460,400),e.C(400,470,220,470,180,370),e.C(140,270,140,180,180,120),e.C(220,40,400,40,460,100),e.stroke(),e.M(120,300),e.L(400,300),e.stroke(),e.M(120,210),e.L(400,210),e.stroke()}},kz[8365]={width:Y,draw:e=>{e.lineWidth(40),lz(e,10,300,250,300),e.M(140,250),e.L(460,250),e.stroke()}},kz[8367]={width:Y,draw:e=>{e.lineWidth(38),lz(e,3,300,250,300),e.M(400,470),e.L(400,30),e.stroke()}},kz[8368]={width:Y,draw:e=>{e.lineWidth(38),lz(e,3,300,250,300),e.lineWidth(22),e.circle(420,400,30),e.stroke()}},kz[8373]={width:Y,draw:e=>{e.lineWidth(40),e.M(420,400),e.C(380,470,220,470,180,370),e.C(140,270,140,180,180,120),e.C(220,40,380,40,420,100),e.stroke(),e.M(300,490),e.L(300,10),e.stroke()}},kz[8375]={width:Y,draw:e=>{e.lineWidth(38),lz(e,18,300,250,300),e.M(140,300),e.L(460,300),e.stroke()}},kz[8379]={width:Y,draw:e=>{e.lineWidth(38),lz(e,12,300,250,300),e.M(120,60),e.L(480,60),e.stroke()}},kz[8380]={width:Y,draw:e=>{e.lineWidth(38),e.M(180,60),e.L(180,350),e.C(180,460,420,460,420,350),e.L(420,60),e.stroke(),e.M(120,250),e.L(480,250),e.stroke()}},kz[8382]={width:Y,draw:e=>{e.lineWidth(40),e.M(400,440),e.C(400,440,200,400,200,250),e.C(200,100,400,60,400,60),e.stroke(),e.M(140,250),e.L(460,250),e.stroke()}},kz[8383]={width:Y,draw:e=>{e.lineWidth(38),lz(e,1,300,250,290),e.M(260,480),e.L(260,20),e.stroke(),e.M(340,480),e.L(340,20),e.stroke()}};for(let e=8384;e<=8399;e++)kz[e]={width:Y,draw:e=>{e.lineWidth(35),e.circle(300,250,180),e.stroke(),e.M(160,280),e.L(440,280),e.stroke(),e.M(160,220),e.L(440,220),e.stroke()}};Q={},Q[8604]={width:Y,draw:e=>{e.lineWidth(38),e.M(480,250),e.C(420,330,340,170,280,250),e.C(220,330,160,250,160,250),e.stroke(),e.M(80,250),e.L(180,350),e.L(180,150),e.Z(),e.fill()}},Q[8610]={width:Y,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.lineWidth(30),e.M(480,250),e.L(520,350),e.stroke()}},Q[8611]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(30),e.M(120,250),e.L(80,350),e.stroke()}},Q[8616]={width:Y,draw:e=>{e.lineWidth(38),e.M(300,440),e.L(300,120),e.stroke(),e.M(300,470),e.L(200,370),e.L(400,370),e.Z(),e.fill(),e.M(300,60),e.L(200,160),e.L(400,160),e.Z(),e.fill(),e.M(180,30),e.L(420,30),e.stroke()}},Q[8619]={width:Y,draw:e=>{e.lineWidth(38),e.M(480,250),e.L(200,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.lineWidth(30),e.M(480,250),e.C(520,250,520,150,480,150),e.C(440,150,440,250,480,250),e.stroke()}},Q[8620]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,250),e.L(400,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(30),e.M(120,250),e.C(80,250,80,150,120,150),e.C(160,150,160,250,120,250),e.stroke()}},Q[8621]={width:Y,draw:e=>{e.lineWidth(35),e.M(140,250),e.C(200,350,300,150,360,250),e.L(460,250),e.stroke(),e.M(100,250),e.L(170,330),e.L(170,170),e.Z(),e.fill(),e.M(500,250),e.L(430,330),e.L(430,170),e.Z(),e.fill()}},Q[8622]={width:Y,draw:e=>{e.lineWidth(38),e.M(150,250),e.L(450,250),e.stroke(),e.M(100,250),e.L(180,340),e.L(180,160),e.Z(),e.fill(),e.M(500,250),e.L(420,340),e.L(420,160),e.Z(),e.fill(),J(e)}},Q[8623]={width:Y,draw:e=>{e.lineWidth(38),e.M(300,470),e.L(400,380),e.L(200,260),e.L(400,140),e.L(300,60),e.stroke(),e.M(300,30),e.L(220,120),e.L(380,120),e.Z(),e.fill()}},Q[8628]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,400),e.L(400,400),e.L(400,120),e.stroke(),e.M(400,60),e.L(320,160),e.L(480,160),e.Z(),e.fill()}},Q[8630]={width:Y,draw:e=>{e.lineWidth(38),e.M(460,250),e.C(460,420,140,420,140,250),e.stroke(),e.M(100,250),e.L(180,330),e.L(180,170),e.Z(),e.fill()}},Q[8631]={width:Y,draw:e=>{e.lineWidth(38),e.M(140,250),e.C(140,420,460,420,460,250),e.stroke(),e.M(500,250),e.L(420,330),e.L(420,170),e.Z(),e.fill()}},Q[8632]={width:Y,draw:e=>{e.lineWidth(38),e.M(400,100),e.L(180,350),e.stroke(),e.M(140,400),e.L(230,310),e.L(140,310),e.Z(),e.fill(),e.M(120,440),e.L(480,440),e.stroke()}},Q[8633]={width:Y,draw:e=>{e.lineWidth(32),e.M(460,340),e.L(180,340),e.stroke(),e.M(120,340),e.L(200,390),e.L(200,290),e.Z(),e.fill(),e.M(140,160),e.L(420,160),e.stroke(),e.M(480,160),e.L(400,210),e.L(400,110),e.Z(),e.fill(),e.M(120,380),e.L(120,300),e.stroke(),e.M(480,200),e.L(480,120),e.stroke()}},Q[8683]={width:Y,draw:e=>{e.lineWidth(38),e.M(300,130),e.L(300,380),e.stroke(),e.M(300,470),e.L(180,330),e.L(420,330),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(300,60),e.L(300,130),e.stroke()}},Q[8684]={width:Y,draw:e=>{e.lineWidth(35),e.M(300,160),e.L(300,400),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(200,110),e.L(400,110),e.stroke(),e.M(300,60),e.L(300,160),e.stroke()}},Q[8685]={width:Y,draw:e=>{e.lineWidth(35),e.M(300,130),e.L(300,380),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(300,60),e.L(300,130),e.stroke(),e.M(200,40),e.L(200,80),e.stroke(),e.M(400,40),e.L(400,80),e.stroke()}},Q[8686]={width:Y,draw:e=>{e.lineWidth(38),e.M(300,60),e.L(300,400),e.stroke(),e.M(300,470),e.L(180,350),e.L(420,350),e.Z(),e.stroke(),e.M(300,370),e.L(200,270),e.L(400,270),e.Z(),e.stroke()}},Q[8687]={width:Y,draw:e=>{e.lineWidth(35),e.M(300,130),e.L(300,400),e.stroke(),e.M(300,470),e.L(180,370),e.L(420,370),e.Z(),e.stroke(),e.M(300,350),e.L(200,270),e.L(400,270),e.Z(),e.stroke(),e.M(200,60),e.L(400,60),e.stroke(),e.M(300,60),e.L(300,130),e.stroke()}},Q[8688]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,250),e.L(380,250),e.stroke(),e.M(480,250),e.L(360,370),e.L(360,130),e.Z(),e.stroke(),e.M(100,420),e.L(100,80),e.stroke()}},Q[8689]={width:Y,draw:e=>{e.lineWidth(38),e.M(420,100),e.L(180,380),e.stroke(),e.M(140,420),e.L(220,340),e.L(140,340),e.Z(),e.fill(),e.M(120,460),e.L(120,420),e.L(480,420),e.stroke()}},Q[8690]={width:Y,draw:e=>{e.lineWidth(38),e.M(180,400),e.L(420,120),e.stroke(),e.M(460,80),e.L(380,160),e.L(460,160),e.Z(),e.fill(),e.M(120,80),e.L(480,80),e.L(480,40),e.stroke()}},Q[8691]={width:Y,draw:e=>{e.lineWidth(38),e.M(300,130),e.L(300,370),e.stroke(),e.M(300,470),e.L(190,350),e.L(410,350),e.Z(),e.stroke(),e.M(300,30),e.L(190,150),e.L(410,150),e.Z(),e.stroke()}},Q[8692]={width:Y,draw:e=>{e.lineWidth(38),e.M(170,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.lineWidth(25),e.circle(130,250,35),e.stroke()}},Q[8694]={width:Y,draw:e=>{e.lineWidth(28);for(let t of[370,250,130])e.M(100,t),e.L(400,t),e.stroke(),e.M(480,t),e.L(400,t+50),e.L(400,t-50),e.Z(),e.fill()}},Q[8695]={width:Y,draw:e=>{e.lineWidth(38),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(200,350),e.L(200,150),e.Z(),e.fill(),e.M(330,370),e.L(330,130),e.stroke()}},Q[8696]={width:Y,draw:e=>{e.lineWidth(38),e.M(120,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,350),e.L(400,150),e.Z(),e.fill(),e.M(270,370),e.L(270,130),e.stroke()}},Q[8697]={width:Y,draw:e=>{e.lineWidth(35),e.M(160,250),e.L(440,250),e.stroke(),e.M(100,250),e.L(180,330),e.L(180,170),e.Z(),e.fill(),e.M(500,250),e.L(420,330),e.L(420,170),e.Z(),e.fill(),e.M(300,370),e.L(300,130),e.stroke()}},Q[8698]={width:Y,draw:e=>{e.lineWidth(35),e.M(480,250),e.L(180,250),e.stroke(),e.M(100,250),e.L(200,340),e.L(200,160),e.Z(),e.fill(),e.M(310,370),e.L(310,130),e.stroke(),e.M(350,370),e.L(350,130),e.stroke()}},Q[8699]={width:Y,draw:e=>{e.lineWidth(35),e.M(120,250),e.L(420,250),e.stroke(),e.M(500,250),e.L(400,340),e.L(400,160),e.Z(),e.fill(),e.M(250,370),e.L(250,130),e.stroke(),e.M(290,370),e.L(290,130),e.stroke()}},Q[8700]={width:Y,draw:e=>{e.lineWidth(32),e.M(160,250),e.L(440,250),e.stroke(),e.M(100,250),e.L(180,330),e.L(180,170),e.Z(),e.fill(),e.M(500,250),e.L(420,330),e.L(420,170),e.Z(),e.fill(),e.M(285,370),e.L(285,130),e.stroke(),e.M(315,370),e.L(315,130),e.stroke()}},Q[8701]={width:Y,draw:e=>{e.lineWidth(40),e.M(480,250),e.L(140,250),e.stroke(),e.M(80,250),e.L(200,370),e.stroke(),e.M(80,250),e.L(200,130),e.stroke()}},Q[8702]={width:Y,draw:e=>{e.lineWidth(40),e.M(120,250),e.L(460,250),e.stroke(),e.M(520,250),e.L(400,370),e.stroke(),e.M(520,250),e.L(400,130),e.stroke()}},Q[8703]={width:Y,draw:e=>{e.lineWidth(38),e.M(140,250),e.L(460,250),e.stroke(),e.M(80,250),e.L(180,350),e.stroke(),e.M(80,250),e.L(180,150),e.stroke(),e.M(520,250),e.L(420,350),e.stroke(),e.M(520,250),e.L(420,150),e.stroke()}}}));function jz(e,t,n,r){return{width:$,draw:i=>{i.rect(e,t,n,r),i.fill()}}}function Mz(e,t,n,r,i=50){return{width:$,draw:a=>{a.lineWidth(i),a.rect(e,t,n,r),a.stroke()}}}function Nz(e,t,n){return{width:$,draw:r=>{r.circle(e,t,n),r.fill()}}}function Pz(e,t,n,r=50){return{width:$,draw:i=>{i.lineWidth(r),i.circle(e,t,n),i.stroke()}}}function Fz(){if(!Xz){Xz=new Map;for(let e of Yz)for(let[t,n]of Object.entries(e))Xz.set(Number(t),n)}return Xz}function Iz(e){return Fz().get(e)}var $,Lz,Rz,zz,Bz,Vz,Hz,Uz,Wz,Gz,Kz,qz,Jz,Yz,Xz,Zz=t((()=>{ER(),FR(),oz(),Az(),$=600,Lz=Mz(80,0,440,700,40),Rz={9632:jz(100,50,400,400),9633:Mz(100,50,400,400),9634:{width:$,draw:e=>{e.lineWidth(50),e.M(150,50),e.L(450,50),e.C(480,50,500,70,500,100),e.L(500,400),e.C(500,430,480,450,450,450),e.L(150,450),e.C(120,450,100,430,100,400),e.L(100,100),e.C(100,70,120,50,150,50),e.Z(),e.stroke()}},9635:{width:$,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.rect(200,150,200,200),e.fill()}},9636:{width:$,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(30);for(let t=100;t<=400;t+=80)e.M(100,t),e.L(500,t);e.stroke()}},9637:{width:$,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(30);for(let t=150;t<=450;t+=80)e.M(t,50),e.L(t,450);e.stroke()}},9638:{width:$,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(20);for(let t=100;t<=400;t+=80)e.M(100,t),e.L(500,t);for(let t=150;t<=450;t+=80)e.M(t,50),e.L(t,450);e.stroke()}},9640:{width:$,draw:e=>{e.lineWidth(40),e.rect(100,50,400,400),e.stroke(),e.lineWidth(20);for(let t=-400;t<=400;t+=80)e.M(Math.max(100,100+t),Math.min(450,450+t)),e.L(Math.min(500,500+t),Math.max(50,50+t));e.stroke()}},9642:jz(175,125,250,250),9643:Mz(175,125,250,250,40),9644:jz(80,150,440,200),9645:Mz(80,150,440,200),9646:jz(175,0,250,500),9647:Mz(175,0,250,500),9648:{width:$,draw:e=>{e.M(150,100),e.L(520,100),e.L(450,400),e.L(80,400),e.Z(),e.fill()}},9650:{width:$,draw:e=>{e.M(300,500),e.L(500,50),e.L(100,50),e.Z(),e.fill()}},9651:{width:$,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(500,50),e.L(100,50),e.Z(),e.stroke()}},9652:{width:$,draw:e=>{e.M(300,450),e.L(450,100),e.L(150,100),e.Z(),e.fill()}},9653:{width:$,draw:e=>{e.lineWidth(35),e.M(300,450),e.L(450,100),e.L(150,100),e.Z(),e.stroke()}},9654:{width:$,draw:e=>{e.M(100,500),e.L(500,250),e.L(100,0),e.Z(),e.fill()}},9655:{width:$,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(500,250),e.L(100,0),e.Z(),e.stroke()}},9656:{width:$,draw:e=>{e.M(150,450),e.L(450,250),e.L(150,50),e.Z(),e.fill()}},9660:{width:$,draw:e=>{e.M(100,500),e.L(500,500),e.L(300,50),e.Z(),e.fill()}},9661:{width:$,draw:e=>{e.lineWidth(40),e.M(100,500),e.L(500,500),e.L(300,50),e.Z(),e.stroke()}},9662:{width:$,draw:e=>{e.M(150,400),e.L(450,400),e.L(300,100),e.Z(),e.fill()}},9664:{width:$,draw:e=>{e.M(500,500),e.L(100,250),e.L(500,0),e.Z(),e.fill()}},9665:{width:$,draw:e=>{e.lineWidth(40),e.M(500,500),e.L(100,250),e.L(500,0),e.Z(),e.stroke()}},9666:{width:$,draw:e=>{e.M(450,450),e.L(150,250),e.L(450,50),e.Z(),e.fill()}},9670:{width:$,draw:e=>{e.M(300,500),e.L(530,250),e.L(300,0),e.L(70,250),e.Z(),e.fill()}},9671:{width:$,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(530,250),e.L(300,0),e.L(70,250),e.Z(),e.stroke()}},9672:{width:$,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(530,250),e.L(300,0),e.L(70,250),e.Z(),e.stroke(),e.M(300,380),e.L(410,250),e.L(300,120),e.L(190,250),e.Z(),e.fill()}},9673:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.circle(300,250,120),e.fill()}},9674:{width:$,draw:e=>{e.lineWidth(40),e.M(300,550),e.L(500,250),e.L(300,-50),e.L(100,250),e.Z(),e.stroke()}},9675:Pz(300,250,220),9676:Pz(300,250,220,30),9677:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(80,250),e.C(80,371,179,470,300,470),e.C(421,470,520,371,520,250),e.Z(),e.fill()}},9678:{width:$,draw:e=>{e.lineWidth(35),e.circle(300,250,220),e.stroke(),e.circle(300,250,140),e.stroke()}},9679:Nz(300,250,220),9680:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,30),e.C(179,30,80,129,80,250),e.C(80,371,179,470,300,470),e.Z(),e.fill()}},9681:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,470),e.C(421,470,520,371,520,250),e.C(520,129,421,30,300,30),e.Z(),e.fill()}},9682:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(520,250),e.C(520,129,421,30,300,30),e.C(179,30,80,129,80,250),e.Z(),e.fill()}},9683:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(80,250),e.C(80,371,179,470,300,470),e.C(421,470,520,371,520,250),e.Z(),e.fill()}},9684:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,470),e.C(421,470,520,371,520,250),e.Z(),e.fill()}},9685:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.M(300,250),e.L(300,470),e.C(179,470,80,371,80,250),e.Z(),e.fill(),e.M(300,250),e.L(520,250),e.C(520,129,421,30,300,30),e.C(179,30,80,129,80,250),e.Z(),e.fill()}},9686:{width:$,draw:e=>{e.M(300,30),e.C(179,30,80,129,80,250),e.C(80,371,179,470,300,470),e.Z(),e.fill()}},9687:{width:$,draw:e=>{e.M(300,470),e.C(421,470,520,371,520,250),e.C(520,129,421,30,300,30),e.Z(),e.fill()}},9688:{width:$,draw:e=>{e.rect(80,30,440,440),e.fill()}},9689:{width:$,draw:e=>{e.circle(300,250,240),e.fill()}},9692:{width:$,draw:e=>{e.lineWidth(50),e.M(300,470),e.C(179,470,80,371,80,250),e.stroke()}},9693:{width:$,draw:e=>{e.lineWidth(50),e.M(520,250),e.C(520,371,421,470,300,470),e.stroke()}},9694:{width:$,draw:e=>{e.lineWidth(50),e.M(300,30),e.C(421,30,520,129,520,250),e.stroke()}},9695:{width:$,draw:e=>{e.lineWidth(50),e.M(80,250),e.C(80,129,179,30,300,30),e.stroke()}},9696:{width:$,draw:e=>{e.lineWidth(50),e.M(80,250),e.C(80,371,179,470,300,470),e.C(421,470,520,371,520,250),e.stroke()}},9697:{width:$,draw:e=>{e.lineWidth(50),e.M(520,250),e.C(520,129,421,30,300,30),e.C(179,30,80,129,80,250),e.stroke()}},9702:Pz(300,250,100,40),9711:Pz(300,250,280,40)},zz={8592:{width:$,draw:e=>{e.lineWidth(50),e.M(500,250),e.L(100,250),e.stroke(),e.M(100,250),e.L(250,380),e.L(250,120),e.Z(),e.fill()}},8593:{width:$,draw:e=>{e.lineWidth(50),e.M(300,50),e.L(300,450),e.stroke(),e.M(300,450),e.L(170,300),e.L(430,300),e.Z(),e.fill()}},8594:{width:$,draw:e=>{e.lineWidth(50),e.M(100,250),e.L(500,250),e.stroke(),e.M(500,250),e.L(350,380),e.L(350,120),e.Z(),e.fill()}},8595:{width:$,draw:e=>{e.lineWidth(50),e.M(300,450),e.L(300,50),e.stroke(),e.M(300,50),e.L(170,200),e.L(430,200),e.Z(),e.fill()}},8596:{width:$,draw:e=>{e.lineWidth(40),e.M(150,250),e.L(450,250),e.stroke(),e.M(100,250),e.L(220,360),e.L(220,140),e.Z(),e.fill(),e.M(500,250),e.L(380,360),e.L(380,140),e.Z(),e.fill()}},8597:{width:$,draw:e=>{e.lineWidth(40),e.M(300,100),e.L(300,400),e.stroke(),e.M(300,450),e.L(190,330),e.L(410,330),e.Z(),e.fill(),e.M(300,50),e.L(190,170),e.L(410,170),e.Z(),e.fill()}},8598:{width:$,draw:e=>{e.lineWidth(50),e.M(480,50),e.L(120,410),e.stroke(),e.M(120,450),e.L(120,320),e.L(250,450),e.Z(),e.fill()}},8599:{width:$,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(480,410),e.stroke(),e.M(480,450),e.L(350,450),e.L(480,320),e.Z(),e.fill()}},8600:{width:$,draw:e=>{e.lineWidth(50),e.M(120,450),e.L(480,90),e.stroke(),e.M(480,50),e.L(480,180),e.L(350,50),e.Z(),e.fill()}},8601:{width:$,draw:e=>{e.lineWidth(50),e.M(480,450),e.L(120,90),e.stroke(),e.M(120,50),e.L(250,50),e.L(120,180),e.Z(),e.fill()}},8617:{width:$,draw:e=>{e.lineWidth(50),e.M(500,350),e.L(200,350),e.C(120,350,80,300,80,250),e.C(80,200,120,150,200,150),e.L(350,150),e.stroke(),e.M(100,350),e.L(230,430),e.L(230,270),e.Z(),e.fill()}},8618:{width:$,draw:e=>{e.lineWidth(50),e.M(100,350),e.L(400,350),e.C(480,350,520,300,520,250),e.C(520,200,480,150,400,150),e.L(250,150),e.stroke(),e.M(500,350),e.L(370,430),e.L(370,270),e.Z(),e.fill()}},8656:{width:$,draw:e=>{e.M(100,250),e.L(280,420),e.L(280,300),e.L(500,300),e.L(500,200),e.L(280,200),e.L(280,80),e.Z(),e.fill()}},8657:{width:$,draw:e=>{e.M(300,480),e.L(480,280),e.L(370,280),e.L(370,30),e.L(230,30),e.L(230,280),e.L(120,280),e.Z(),e.fill()}},8658:{width:$,draw:e=>{e.M(500,250),e.L(320,420),e.L(320,300),e.L(100,300),e.L(100,200),e.L(320,200),e.L(320,80),e.Z(),e.fill()}},8659:{width:$,draw:e=>{e.M(300,20),e.L(120,220),e.L(230,220),e.L(230,470),e.L(370,470),e.L(370,220),e.L(480,220),e.Z(),e.fill()}},8660:{width:$,draw:e=>{e.M(80,250),e.L(220,400),e.L(220,300),e.L(380,300),e.L(380,400),e.L(520,250),e.L(380,100),e.L(380,200),e.L(220,200),e.L(220,100),e.Z(),e.fill()}}},Bz={8704:{width:$,draw:e=>{e.lineWidth(50),e.M(100,500),e.L(300,0),e.L(500,500),e.stroke(),e.M(170,200),e.L(430,200),e.stroke()}},8706:{width:$,draw:e=>{e.lineWidth(50),e.circle(300,200,150),e.stroke(),e.M(450,200),e.L(450,450),e.C(450,500,400,520,350,500),e.stroke()}},8707:{width:$,draw:e=>{e.lineWidth(50),e.M(450,500),e.L(150,500),e.L(150,0),e.L(450,0),e.stroke(),e.M(150,250),e.L(400,250),e.stroke()}},8709:{width:$,draw:e=>{e.lineWidth(50),e.ellipse(300,250,180,220),e.stroke(),e.M(150,50),e.L(450,450),e.stroke()}},8710:{width:$,draw:e=>{e.lineWidth(50),e.M(300,500),e.L(100,0),e.L(500,0),e.Z(),e.stroke()}},8711:{width:$,draw:e=>{e.lineWidth(50),e.M(100,500),e.L(500,500),e.L(300,0),e.Z(),e.stroke()}},8712:{width:$,draw:e=>{e.lineWidth(50),e.M(480,450),e.C(250,450,120,380,120,250),e.C(120,120,250,50,480,50),e.stroke(),e.M(120,250),e.L(430,250),e.stroke()}},8713:{width:$,draw:e=>{e.lineWidth(50),e.M(480,450),e.C(250,450,120,380,120,250),e.C(120,120,250,50,480,50),e.stroke(),e.M(120,250),e.L(430,250),e.stroke(),e.M(160,50),e.L(440,450),e.stroke()}},8715:{width:$,draw:e=>{e.lineWidth(50),e.M(120,450),e.C(350,450,480,380,480,250),e.C(480,120,350,50,120,50),e.stroke(),e.M(170,250),e.L(480,250),e.stroke()}},8718:jz(150,50,300,400),8719:{width:$,draw:e=>{e.lineWidth(50),e.M(120,500),e.L(480,500),e.stroke(),e.M(170,500),e.L(170,0),e.stroke(),e.M(430,500),e.L(430,0),e.stroke()}},8721:{width:$,draw:e=>{e.lineWidth(50),e.M(480,500),e.L(120,500),e.L(300,250),e.L(120,0),e.L(480,0),e.stroke()}},8722:{width:$,draw:e=>{e.lineWidth(60),e.M(120,250),e.L(480,250),e.stroke()}},8723:{width:$,draw:e=>{e.lineWidth(50),e.M(120,350),e.L(480,350),e.stroke(),e.M(300,200),e.L(300,0),e.stroke(),e.M(120,100),e.L(480,100),e.stroke()}},8727:{width:$,draw:e=>{e.lineWidth(50),e.M(300,400),e.L(300,100),e.stroke(),e.M(140,350),e.L(460,150),e.stroke(),e.M(140,150),e.L(460,350),e.stroke()}},8730:{width:$,draw:e=>{e.lineWidth(50),e.M(60,250),e.L(150,200),e.L(250,0),e.L(540,500),e.stroke()}},8734:{width:700,draw:e=>{e.lineWidth(50),e.M(350,250),e.C(350,400,500,450,550,350),e.C(600,250,550,100,500,100),e.C(450,100,350,250,350,250),e.C(350,250,250,400,200,400),e.C(150,400,100,250,150,150),e.C(200,50,350,100,350,250),e.stroke()}},8736:{width:$,draw:e=>{e.lineWidth(50),e.M(480,50),e.L(120,50),e.L(380,450),e.stroke()}},8743:{width:$,draw:e=>{e.lineWidth(50),e.M(100,50),e.L(300,450),e.L(500,50),e.stroke()}},8744:{width:$,draw:e=>{e.lineWidth(50),e.M(100,450),e.L(300,50),e.L(500,450),e.stroke()}},8745:{width:$,draw:e=>{e.lineWidth(50),e.M(120,50),e.L(120,300),e.C(120,470,250,500,300,500),e.C(350,500,480,470,480,300),e.L(480,50),e.stroke()}},8746:{width:$,draw:e=>{e.lineWidth(50),e.M(120,450),e.L(120,200),e.C(120,30,250,0,300,0),e.C(350,0,480,30,480,200),e.L(480,450),e.stroke()}},8747:{width:$,draw:e=>{e.lineWidth(50),e.M(380,530),e.C(350,530,300,500,300,450),e.L(300,50),e.C(300,0,250,-30,220,-30),e.stroke()}},8776:{width:$,draw:e=>{e.lineWidth(50),e.M(120,350),e.C(200,430,350,430,480,350),e.stroke(),e.M(120,200),e.C(200,280,350,280,480,200),e.stroke()}},8800:{width:$,draw:e=>{e.lineWidth(50),e.M(120,330),e.L(480,330),e.stroke(),e.M(120,170),e.L(480,170),e.stroke(),e.M(380,450),e.L(220,50),e.stroke()}},8801:{width:$,draw:e=>{e.lineWidth(50),e.M(120,380),e.L(480,380),e.stroke(),e.M(120,250),e.L(480,250),e.stroke(),e.M(120,120),e.L(480,120),e.stroke()}},8804:{width:$,draw:e=>{e.lineWidth(50),e.M(480,420),e.L(120,250),e.L(480,80),e.stroke(),e.M(120,30),e.L(480,30),e.stroke()}},8805:{width:$,draw:e=>{e.lineWidth(50),e.M(120,420),e.L(480,250),e.L(120,80),e.stroke(),e.M(120,30),e.L(480,30),e.stroke()}},8834:{width:$,draw:e=>{e.lineWidth(50),e.M(470,450),e.C(200,450,130,350,130,250),e.C(130,150,200,50,470,50),e.stroke()}},8835:{width:$,draw:e=>{e.lineWidth(50),e.M(130,450),e.C(400,450,470,350,470,250),e.C(470,150,400,50,130,50),e.stroke()}},8853:{width:$,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(100,250),e.L(500,250),e.stroke(),e.M(300,50),e.L(300,450),e.stroke()}},8854:{width:$,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(100,250),e.L(500,250),e.stroke()}},8855:{width:$,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(160,110),e.L(440,390),e.stroke(),e.M(160,390),e.L(440,110),e.stroke()}},8856:{width:$,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(160,100),e.L(440,400),e.stroke()}},8857:{width:$,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.circle(300,250,40),e.fill()}}},Vz={9728:{width:$,draw:e=>{e.circle(300,250,130),e.fill(),e.lineWidth(40);for(let t=0;t<360;t+=45){let n=t*Math.PI/180;e.M(300+160*Math.cos(n),250+160*Math.sin(n)),e.L(300+240*Math.cos(n),250+240*Math.sin(n))}e.stroke()}},9733:{width:$,draw:e=>{for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),260+230*Math.sin(n)):e.L(300+230*Math.cos(n),260+230*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.fill()}},9734:{width:$,draw:e=>{e.lineWidth(35);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),260+230*Math.sin(n)):e.L(300+230*Math.cos(n),260+230*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke()}},9744:Mz(100,30,400,400,45),9745:{width:$,draw:e=>{e.lineWidth(45),e.rect(100,30,400,400),e.stroke(),e.lineWidth(55),e.M(180,230),e.L(280,130),e.L(430,350),e.stroke()}},9746:{width:$,draw:e=>{e.lineWidth(45),e.rect(100,30,400,400),e.stroke(),e.lineWidth(50),e.M(170,100),e.L(430,360),e.stroke(),e.M(170,360),e.L(430,100),e.stroke()}},9747:{width:$,draw:e=>{e.lineWidth(55),e.M(120,50),e.L(480,450),e.stroke(),e.M(120,450),e.L(480,50),e.stroke()}},9755:{width:$,draw:e=>{e.M(500,250),e.L(300,400),e.L(300,300),e.L(100,300),e.L(100,200),e.L(300,200),e.L(300,100),e.Z(),e.fill()}},9758:{width:$,draw:e=>{e.lineWidth(40),e.M(500,250),e.L(300,400),e.L(300,300),e.L(100,300),e.L(100,200),e.L(300,200),e.L(300,100),e.Z(),e.stroke()}},9792:{width:$,draw:e=>{e.lineWidth(50),e.circle(300,330,150),e.stroke(),e.M(300,180),e.L(300,0),e.stroke(),e.M(220,90),e.L(380,90),e.stroke()}},9794:{width:$,draw:e=>{e.lineWidth(50),e.circle(250,220,150),e.stroke(),e.M(360,330),e.L(500,470),e.stroke(),e.M(400,470),e.L(500,470),e.L(500,370),e.stroke()}},9824:{width:$,draw:e=>{e.M(300,500),e.C(300,500,80,350,80,200),e.C(80,100,200,50,300,180),e.C(400,50,520,100,520,200),e.C(520,350,300,500,300,500),e.Z(),e.fill(),e.M(250,0),e.L(350,0),e.L(320,150),e.L(280,150),e.Z(),e.fill()}},9827:{width:$,draw:e=>{e.circle(300,370,110),e.fill(),e.circle(190,230,100),e.fill(),e.circle(410,230,100),e.fill(),e.rect(270,0,60,200),e.fill()}},9829:{width:$,draw:e=>{e.M(300,80),e.C(300,80,80,200,80,340),e.C(80,440,180,490,300,490),e.C(420,490,520,440,520,340),e.C(520,200,300,80,300,80),e.Z(),e.fill()}},9830:{width:$,draw:e=>{e.M(300,500),e.L(500,250),e.L(300,0),e.L(100,250),e.Z(),e.fill()}},9833:{width:$,draw:e=>{e.ellipse(230,80,100,70),e.fill(),e.lineWidth(40),e.M(330,80),e.L(330,480),e.stroke()}},9834:{width:$,draw:e=>{e.ellipse(200,80,100,70),e.fill(),e.lineWidth(35),e.M(300,80),e.L(300,480),e.stroke(),e.M(300,480),e.C(350,450,430,400,430,350),e.stroke()}},9837:{width:$,draw:e=>{e.lineWidth(40),e.M(200,0),e.L(200,500),e.stroke(),e.M(200,200),e.C(350,200,400,100,200,0),e.stroke()}},9839:{width:$,draw:e=>{e.lineWidth(40),e.M(220,0),e.L(220,500),e.stroke(),e.M(380,0),e.L(380,500),e.stroke(),e.lineWidth(50),e.M(140,180),e.L(460,240),e.stroke(),e.M(140,310),e.L(460,370),e.stroke()}},10003:{width:$,draw:e=>{e.lineWidth(65),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},10004:{width:$,draw:e=>{e.lineWidth(85),e.M(100,250),e.L(240,80),e.L(500,450),e.stroke()}},10005:{width:$,draw:e=>{e.lineWidth(55),e.M(140,70),e.L(460,430),e.stroke(),e.M(140,430),e.L(460,70),e.stroke()}},10006:{width:$,draw:e=>{e.lineWidth(75),e.M(140,70),e.L(460,430),e.stroke(),e.M(140,430),e.L(460,70),e.stroke()}},10007:{width:$,draw:e=>{e.lineWidth(60),e.M(130,60),e.L(470,440),e.stroke(),e.M(130,440),e.L(470,60),e.stroke()}},10008:{width:$,draw:e=>{e.lineWidth(80),e.M(130,60),e.L(470,440),e.stroke(),e.M(130,440),e.L(470,60),e.stroke()}},10010:{width:$,draw:e=>{e.rect(210,30,180,440),e.fill(),e.rect(90,160,420,180),e.fill()}},10012:{width:$,draw:e=>{e.lineWidth(60),e.M(300,30),e.L(300,470),e.stroke(),e.M(90,250),e.L(510,250),e.stroke()}},10016:{width:$,draw:e=>{e.M(300,480),e.L(250,320),e.L(100,350),e.L(200,250),e.L(100,150),e.L(250,180),e.L(300,20),e.L(350,180),e.L(500,150),e.L(400,250),e.L(500,350),e.L(350,320),e.Z(),e.fill()}},10084:{width:$,draw:e=>{e.M(300,80),e.C(300,80,60,220,60,350),e.C(60,470,180,500,300,500),e.C(420,500,540,470,540,350),e.C(540,220,300,80,300,80),e.Z(),e.fill()}},...(()=>{let e={};for(let t=0;t<10;t++){let n=10102+t;e[n]={width:$,draw:e=>{e.circle(300,250,240),e.fill()}}}return e})(),...(()=>{let e={};for(let t=0;t<10;t++)e[9312+t]={width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke()}};return e})()},Hz={8960:{width:$,draw:e=>{e.lineWidth(45),e.circle(300,250,200),e.stroke(),e.M(140,90),e.L(460,410),e.stroke()}},8962:{width:$,draw:e=>{e.lineWidth(45),e.M(300,480),e.L(520,250),e.L(520,30),e.L(80,30),e.L(80,250),e.Z(),e.stroke()}},8984:{width:$,draw:e=>{e.lineWidth(45),e.rect(180,130,240,240),e.stroke(),e.circle(180,370,70),e.stroke(),e.circle(420,370,70),e.stroke(),e.circle(180,130,70),e.stroke(),e.circle(420,130,70),e.stroke()}},8987:{width:$,draw:e=>{e.lineWidth(45),e.M(120,480),e.L(480,480),e.stroke(),e.M(120,20),e.L(480,20),e.stroke(),e.M(150,480),e.L(300,250),e.L(450,480),e.stroke(),e.M(150,20),e.L(300,250),e.L(450,20),e.stroke()}},9166:{width:$,draw:e=>{e.lineWidth(45),e.M(480,420),e.L(480,200),e.L(150,200),e.stroke(),e.M(150,200),e.L(280,310),e.L(280,90),e.Z(),e.fill()}}},Uz={9472:{width:$,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke()}},9473:{width:$,draw:e=>{e.lineWidth(80),e.M(0,250),e.L(600,250),e.stroke()}},9474:{width:$,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,500),e.stroke()}},9475:{width:$,draw:e=>{e.lineWidth(80),e.M(300,0),e.L(300,500),e.stroke()}},9484:{width:$,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,250),e.L(600,250),e.stroke()}},9488:{width:$,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,250),e.L(0,250),e.stroke()}},9492:{width:$,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(300,250),e.L(600,250),e.stroke()}},9496:{width:$,draw:e=>{e.lineWidth(40),e.M(300,500),e.L(300,250),e.L(0,250),e.stroke()}},9500:{width:$,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,500),e.stroke(),e.M(300,250),e.L(600,250),e.stroke()}},9508:{width:$,draw:e=>{e.lineWidth(40),e.M(300,0),e.L(300,500),e.stroke(),e.M(300,250),e.L(0,250),e.stroke()}},9516:{width:$,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke(),e.M(300,250),e.L(300,0),e.stroke()}},9524:{width:$,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke(),e.M(300,250),e.L(300,500),e.stroke()}},9532:{width:$,draw:e=>{e.lineWidth(40),e.M(0,250),e.L(600,250),e.stroke(),e.M(300,0),e.L(300,500),e.stroke()}},9556:{width:$,draw:e=>{e.lineWidth(30),e.M(270,0),e.L(270,270),e.L(600,270),e.stroke(),e.M(330,0),e.L(330,230),e.L(600,230),e.stroke()}},9559:{width:$,draw:e=>{e.lineWidth(30),e.M(330,0),e.L(330,270),e.L(0,270),e.stroke(),e.M(270,0),e.L(270,230),e.L(0,230),e.stroke()}},9562:{width:$,draw:e=>{e.lineWidth(30),e.M(270,500),e.L(270,230),e.L(600,230),e.stroke(),e.M(330,500),e.L(330,270),e.L(600,270),e.stroke()}},9565:{width:$,draw:e=>{e.lineWidth(30),e.M(330,500),e.L(330,230),e.L(0,230),e.stroke(),e.M(270,500),e.L(270,270),e.L(0,270),e.stroke()}},9552:{width:$,draw:e=>{e.lineWidth(30),e.M(0,270),e.L(600,270),e.stroke(),e.M(0,230),e.L(600,230),e.stroke()}},9553:{width:$,draw:e=>{e.lineWidth(30),e.M(270,0),e.L(270,500),e.stroke(),e.M(330,0),e.L(330,500),e.stroke()}}},Wz={9600:jz(0,250,600,250),9604:jz(0,0,600,250),9608:jz(0,0,600,500),9612:jz(0,0,300,500),9616:jz(300,0,300,500),9617:{width:$,draw:e=>{e.lineWidth(15),e.rect(0,0,600,500),e.stroke();for(let t=0;t<=500;t+=60)e.M(0,t),e.L(600,t);e.stroke()}},9618:{width:$,draw:e=>{e.lineWidth(25),e.rect(0,0,600,500),e.stroke();for(let t=0;t<=500;t+=50)e.M(0,t),e.L(600,t);for(let t=0;t<=600;t+=60)e.M(t,0),e.L(t,500);e.stroke()}},9619:{width:$,draw:e=>{e.lineWidth(35),e.rect(0,0,600,500),e.fill()}}},Gz={11014:{width:$,draw:e=>{e.M(300,500),e.L(100,280),e.L(230,280),e.L(230,0),e.L(370,0),e.L(370,280),e.L(500,280),e.Z(),e.fill()}},11015:{width:$,draw:e=>{e.M(300,0),e.L(100,220),e.L(230,220),e.L(230,500),e.L(370,500),e.L(370,220),e.L(500,220),e.Z(),e.fill()}},11013:{width:$,draw:e=>{e.M(0,250),e.L(220,430),e.L(220,320),e.L(550,320),e.L(550,180),e.L(220,180),e.L(220,70),e.Z(),e.fill()}},11035:jz(60,10,480,480),11036:Mz(60,10,480,480,45),11088:{width:$,draw:e=>{e.lineWidth(35);for(let t=0;t<5;t++){let n=(t*72-90)*Math.PI/180,r=(t*72+36-90)*Math.PI/180;t===0?e.M(300+230*Math.cos(n),260+230*Math.sin(n)):e.L(300+230*Math.cos(n),260+230*Math.sin(n)),e.L(300+90*Math.cos(r),260+90*Math.sin(r))}e.Z(),e.stroke()}}},Kz={10688:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.lineWidth(45),e.M(400,380),e.L(200,250),e.L(400,120),e.stroke()}},10689:{width:$,draw:e=>{e.lineWidth(40),e.circle(300,250,220),e.stroke(),e.lineWidth(45),e.M(200,380),e.L(400,250),e.L(200,120),e.stroke()}},10695:{width:$,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke(),e.circle(300,250,130),e.stroke()}},10696:{width:$,draw:e=>{e.lineWidth(40),e.rect(80,30,440,440),e.stroke(),e.rect(190,140,220,220),e.stroke()}},10697:{width:$,draw:e=>{e.lineWidth(35),e.rect(80,80,300,300),e.stroke(),e.rect(220,120,300,300),e.stroke()}}},qz={8377:{width:$,draw:e=>{e.lineWidth(50),e.M(130,480),e.L(470,480),e.stroke(),e.M(130,380),e.L(470,380),e.stroke(),e.M(230,480),e.C(350,480,420,400,420,350),e.C(420,280,350,200,230,200),e.stroke(),e.M(200,380),e.L(400,0),e.stroke()}},8378:{width:$,draw:e=>{e.lineWidth(50),e.M(350,480),e.L(350,50),e.C(350,0,200,0,150,50),e.stroke(),e.M(150,330),e.L(450,250),e.stroke(),e.M(150,230),e.L(450,150),e.stroke()}},8381:{width:$,draw:e=>{e.lineWidth(50),e.M(180,0),e.L(180,500),e.stroke(),e.M(180,500),e.L(350,500),e.C(480,500,480,350,350,300),e.L(180,300),e.stroke(),e.M(120,200),e.L(400,200),e.stroke()}}},Jz={8226:Nz(300,250,100),8230:{width:$,draw:e=>{e.circle(120,100,40),e.fill(),e.circle(300,100,40),e.fill(),e.circle(480,100,40),e.fill()}},8227:{width:$,draw:e=>{e.M(150,400),e.L(450,250),e.L(150,100),e.Z(),e.fill()}},8259:{width:$,draw:e=>{e.lineWidth(60),e.M(150,250),e.L(450,250),e.stroke()}},8260:{width:$,draw:e=>{e.lineWidth(40),e.M(450,500),e.L(150,0),e.stroke()}}},Yz=[Rz,zz,Bz,Vz,Hz,Uz,Wz,Gz,Kz,qz,Jz,QL,$L,eR,tR,nR,rR,iR,aR,oR,sR,cR,lR,uR,dR,fR,yR,SR,CR,OR,kR,AR,jR,MR,NR,PR,G,K,rz,q,iz,az,tz,yz,Dz,Oz,X,Z,kz,Q,Sz,Cz,wz,Tz,Ez],Xz=null}));function Qz(e,t,n=`T3F`){let r=new Map,i=new Map,a=new Map;if(t.size===0)return{fontObjects:i,encoding:r,widths:a};let o=[...t].sort((e,t)=>e-t),s=iB-aB,c=1;for(let t=0;t<o.length;t+=s){let l=o.slice(t,t+s),u=`${n}${c}`;c++;let{objNum:d,fontWidths:f}=$z(e,l,u);i.set(u,d),a.set(u,f);for(let e=0;e<l.length;e++)r.set(l[e],{resourceName:u,charCode:aB+e})}return{fontObjects:i,encoding:r,widths:a}}function $z(e,t,n){let r=[],i=[],a=Array(aB+t.length).fill(0),o=new Map,s=eB(e,Lz);r.push({name:`.notdef`,objNum:s}),a[0]=Lz.width;for(let n=0;n<t.length;n++){let s=t[n],c=Iz(s)??Lz,l=`uni${s.toString(16).toUpperCase().padStart(4,`0`)}`,u=eB(e,c);r.push({name:l,objNum:u}),i.push(l);let d=aB+n;a[d]=c.width,o.set(d,c.width)}let c=[];for(let{name:e,objNum:t}of r)c.push(`${_I(e)} ${yI(t)}`);let l=`<<\n${c.join(`
457
+ `)}\n>>`,u=[];u.push(`${aB}`);for(let e of i)u.push(_I(e));let d=e.allocObject(),f=new CI().set(`Type`,`/Encoding`).set(`Differences`,`[${u.join(` `)}]`);e.addObject(d,f);let p=nB(e,t),m=e.allocObject(),h=`[0 0 ${rB} ${rB}]`,g=new CI().set(`Type`,`/Font`).set(`Subtype`,`/Type3`).set(`Name`,_I(n)).set(`FontBBox`,h).set(`FontMatrix`,`[0.001 0 0 0.001 0 0]`).set(`FirstChar`,L(0)).set(`LastChar`,L(a.length-1)).set(`Widths`,vI(a.map(e=>L(e)))).set(`CharProcs`,l).set(`Encoding`,yI(d)).set(`ToUnicode`,yI(p));return e.addObject(m,g),{objNum:m,fontWidths:o}}function eB(e,t){let n=new ZI;n.raw(`${t.width} 0 0 0 ${rB} ${rB} d1`);let r=tB(n);t.draw(r);let i=e.allocObject();return e.addStreamObject(i,new CI,n),i}function tB(e){return{M:(t,n)=>{e.moveTo(t,n)},L:(t,n)=>{e.lineTo(t,n)},C:(t,n,r,i,a,o)=>{e.curveTo(t,n,r,i,a,o)},Z:()=>{e.closePath()},rect:(t,n,r,i)=>{e.rect(t,n,r,i)},circle:(t,n,r)=>{e.circle(t,n,r)},ellipse:(t,n,r,i)=>{e.ellipse(t,n,r,i)},stroke:()=>{e.stroke()},fill:()=>{e.fill()},fillStroke:()=>{e.fillAndStroke()},lineWidth:t=>{e.setLineWidth(t)}}}function nB(e,t){let n=[];n.push(`/CIDInit /ProcSet findresource begin`),n.push(`12 dict begin`),n.push(`begincmap`),n.push(`/CIDSystemInfo`),n.push(`<< /Registry (Adobe) /Ordering (UCS) /Supplement 0 >> def`),n.push(`/CMapName /Adobe-Identity-UCS def`),n.push(`/CMapType 2 def`),n.push(`1 begincodespacerange`),n.push(`<00> <FF>`),n.push(`endcodespacerange`);for(let e=0;e<t.length;e+=100){let r=t.slice(e,e+100);n.push(`${r.length} beginbfchar`);for(let t=0;t<r.length;t++){let i=aB+e+t,a=r[t],o=i.toString(16).toUpperCase().padStart(2,`0`);if(a>65535){let e=Math.floor((a-65536)/1024)+55296,t=(a-65536)%1024+56320,r=e.toString(16).toUpperCase().padStart(4,`0`),i=t.toString(16).toUpperCase().padStart(4,`0`);n.push(`<${o}> <${r}${i}>`)}else{let e=a.toString(16).toUpperCase().padStart(4,`0`);n.push(`<${o}> <${e}>`)}}n.push(`endbfchar`)}n.push(`endcmap`),n.push(`CMapName currentdict /CMap defineresource pop`),n.push(`end`),n.push(`end`);let r=n.join(`
458
+ `),i=new TextEncoder().encode(r),a=e.allocObject();return e.addStreamObject(a,new CI,i),a}var rB,iB,aB,oB=t((()=>{wI(),$I(),Zz(),rB=1e3,iB=256,aB=1}));function sB(e){return dB[e.toLowerCase().trim()]??`Helvetica`}function cB(e,t,n){let r=sB(e);return r===`Helvetica`?t&&n?`Helvetica-BoldOblique`:t?`Helvetica-Bold`:n?`Helvetica-Oblique`:`Helvetica`:r===`Times`?t&&n?`Times-BoldItalic`:t?`Times-Bold`:n?`Times-Italic`:`Times-Roman`:r===`Courier`?t&&n?`Courier-BoldOblique`:t?`Courier-Bold`:n?`Courier-Oblique`:`Courier`:`Helvetica`}function lB(e,t){let n=`<`;for(let r=0;r<e.length;r++){let i=e.codePointAt(r);i>65535&&r++;let a=t.get(i)??0;n+=a.toString(16).toUpperCase().padStart(4,`0`)}return n+=`>`,n}function uB(e,t,n){let r=0;for(let n=0;n<e.length;n++){let i=e.codePointAt(n);i>65535&&n++;let a=t.cmap.get(i)??0;r+=t.advanceWidths[a]??0}return r/t.unitsPerEm*n}var dB,fB,pB=t((()=>{wI(),$I(),aL(),TL(),RL(),oB(),dB={helvetica:`Helvetica`,arial:`Helvetica`,calibri:`Helvetica`,"segoe ui":`Helvetica`,"trebuchet ms":`Helvetica`,verdana:`Helvetica`,tahoma:`Helvetica`,"gill sans":`Helvetica`,"franklin gothic":`Helvetica`,"lucida sans":`Helvetica`,aptos:`Helvetica`,"times new roman":`Times`,times:`Times`,georgia:`Times`,garamond:`Times`,"book antiqua":`Times`,palatino:`Times`,"palatino linotype":`Times`,cambria:`Times`,"century schoolbook":`Times`,"courier new":`Courier`,courier:`Courier`,consolas:`Courier`,"lucida console":`Courier`,monaco:`Courier`,"andale mono":`Courier`,"cascadia code":`Courier`,"cascadia mono":`Courier`,menlo:`Courier`},fB=class{constructor(){this.type1Map=new Map,this.resourceToType1=new Map,this.nextType1Id=1,this.embeddedFont=null,this.embeddedResourceName=``,this.usedCodePoints=new Set,this.nextEmbeddedId=1,this.type3CodePoints=new Set,this._type3Result=null,this._unknownFontFamilies=new Set,this._embeddedResult=null}registerEmbeddedFont(e){return this.embeddedFont=e,this.embeddedResourceName=`EF${this.nextEmbeddedId++}`,this.embeddedResourceName}hasEmbeddedFont(){return this.embeddedFont!==null}getType3CodePoints(){return new Set(this.type3CodePoints)}getUnknownFontFamilies(){return new Set(this._unknownFontFamilies)}getEmbeddedResourceName(){return this.embeddedResourceName}trackText(e){if(this.embeddedFont)for(let t=0;t<e.length;t++){let n=e.codePointAt(t);this.usedCodePoints.add(n),n>65535&&t++}else for(let t=0;t<e.length;t++){let n=e.codePointAt(t);n>65535&&t++,YI(n)||this.type3CodePoints.add(n)}}ensureFont(e){let t=this.type1Map.get(e);return t||(t=`F${this.nextType1Id++}`,this.type1Map.set(e,t),this.resourceToType1.set(t,e)),t}resolveFont(e,t,n){if(this.embeddedFont)return this.embeddedResourceName;let r=e.toLowerCase().trim();r&&dB[r]===void 0&&this._unknownFontFamilies.add(e);let i=cB(e,t,n);return this.ensureFont(i)}getPdfFontName(e){return this.resourceToType1.get(e)??`Helvetica`}hasType3Fonts(){return this._type3Result!==null&&this._type3Result.fontObjects.size>0}resolveType3(e){return this._type3Result?this._type3Result.encoding.get(e)??null:null}needsType3(e){return!this.embeddedFont&&!YI(e)}measureText(e,t,n){if(this.embeddedFont&&t===this.embeddedResourceName)return uB(e,this.embeddedFont,n);if(!this._type3Result||!XI(e))return DL(e,this.getPdfFontName(t),n);let r=0,i=this.getPdfFontName(t);for(let t=0;t<e.length;t++){let a=e.codePointAt(t);if(a>65535&&t++,YI(a))r+=DL(String.fromCodePoint(a),i,n);else{let e=this._type3Result.encoding.get(a);if(e){let t=this._type3Result.widths.get(e.resourceName)?.get(e.charCode)??600;r+=t/1e3*n}else r+=600/1e3*n}}return r}getFontAscent(e,t){return this.embeddedFont&&e===this.embeddedResourceName?this.embeddedFont.ascent/this.embeddedFont.unitsPerEm*t:OL(this.isType3Resource(e)?`Helvetica`:this.getPdfFontName(e),t)}getFontDescent(e,t){return this.embeddedFont&&e===this.embeddedResourceName?this.embeddedFont.descent/this.embeddedFont.unitsPerEm*t:kL(this.isType3Resource(e)?`Helvetica`:this.getPdfFontName(e),t)}getLineHeight(e,t){if(this.embeddedFont&&e===this.embeddedResourceName){let e=this.embeddedFont;return(e.ascent-e.descent)/e.unitsPerEm*t}return AL(this.isType3Resource(e)?`Helvetica`:this.getPdfFontName(e),t)}isEmbeddedFont(e){return this.embeddedFont!==null&&e===this.embeddedResourceName}isType3Resource(e){return this._type3Result?.fontObjects.has(e)??!1}encodeText(e,t){if(!this.embeddedFont||t!==this.embeddedResourceName)return null;if(this._embeddedResult)return lB(e,this._embeddedResult.unicodeToCid);throw new rL(`encodeText called before writeFontResources — subset mapping not available`)}encodeType3Char(e){if(!this._type3Result)return null;let t=this._type3Result.encoding.get(e);return t?`<${t.charCode.toString(16).toUpperCase().padStart(2,`0`)}>`:null}writeFontResources(e){let t=new Map;for(let[n,r]of this.type1Map){let i=e.allocObject(),a=new CI().set(`Type`,`/Font`).set(`Subtype`,`/Type1`).set(`BaseFont`,_I(n)).set(`Encoding`,`/WinAnsiEncoding`);e.addObject(i,a),t.set(r,i)}if(this.embeddedFont&&this.embeddedResourceName){let n=uL(e,this.embeddedFont,this.usedCodePoints,this.embeddedResourceName);t.set(this.embeddedResourceName,n.fontObjNum),this._embeddedResult=n}if(!this.embeddedFont&&this.type3CodePoints.size>0){this._type3Result=Qz(e,this.type3CodePoints);for(let[e,n]of this._type3Result.fontObjects)t.set(e,n)}return t}getEmbeddedResult(){return this._embeddedResult}buildFontDictString(e){let t=[`<<`];for(let[n,r]of e)t.push(`${_I(n)} ${yI(r)}`);return t.push(`>>`),t.join(`
459
+ `)}getRegisteredFonts(){let e=[];for(let[t,n]of this.type1Map)e.push({resourceName:n,pdfFontName:t});return e}}}));function mB(){let e=typeof process<`u`?process.platform:``,t=typeof process<`u`?process.env.HOME??process.env.USERPROFILE??``:``,n=[];switch(e){case`darwin`:n.push(`/System/Library/Fonts`,`/System/Library/Fonts/Supplemental`,`/Library/Fonts`,`${t}/Library/Fonts`);break;case`win32`:{let e=process.env.WINDIR??process.env.SystemRoot??`C:\\Windows`;n.push(`${e}\\Fonts`,`${process.env.LOCALAPPDATA??``}\\Microsoft\\Windows\\Fonts`);break}default:n.push(`/usr/share/fonts`,`/usr/local/share/fonts`,`/usr/share/fonts/truetype`,`/usr/share/fonts/opentype`,`/usr/share/fonts/TTF`,`/usr/share/fonts/noto`,`/usr/share/fonts/noto-cjk`,`/usr/share/fonts/google-noto`,`/usr/share/fonts/google-noto-cjk`,`/usr/share/fonts/truetype/noto`,`/usr/share/fonts/truetype/dejavu`,`/usr/share/fonts/truetype/liberation`,`/usr/share/fonts/truetype/droid`,`/usr/share/fonts/wqy`,`${t}/.local/share/fonts`,`${t}/.fonts`);break}return n}function*hB(){if(vB!==void 0){for(let e of vB)yield e;return}if(typeof process>`u`||!process.platform)return;let e=new Set,t=mB();for(let n of _B)for(let r of t){let t=`${r}/${n}`;if(!e.has(t)&&(e.add(t),Rf(t))){let e=gB(t);e&&(yield e)}}let n=/noto|unicode|cjk|yahei|heiti|gothic|sans|serif|ming|song|dejavu|liberation|droid|wqy/i;for(let r of t){let t;try{t=Lf(r,{recursive:!0,filter:e=>!e.isDirectory})}catch{continue}let i=t.filter(t=>/\.tt[cf]$/i.test(t.absolutePath)&&!e.has(t.absolutePath)),a=i.filter(e=>n.test(e.absolutePath)),o=i.filter(e=>!n.test(e.absolutePath)&&e.size>5e4);for(let t of[...a,...o]){if(e.has(t.absolutePath))continue;e.add(t.absolutePath);let n=gB(t.absolutePath);n&&(yield n)}}}function gB(e){try{return zf(e)}catch{return null}}var _B,vB,yB=t((()=>{Vf(),_B=`NotoSansCJKsc-Regular.ttf,NotoSansCJK-Regular.ttc,NotoSansCJKSC-Regular.otf,NotoSansSC-Regular.ttf,NotoSansTC-Regular.ttf,NotoSansJP-Regular.ttf,NotoSansKR-Regular.ttf,NotoSans-Regular.ttf,Arial Unicode.ttf,Arial Unicode MS.ttf,ArialUnicode.ttf,arialuni.ttf,PingFang.ttc,Hiragino Sans GB.ttc,STHeiti Light.ttc,STHeiti Medium.ttc,Songti.ttc,AppleSDGothicNeo.ttc,msyh.ttc,msyhbd.ttc,msjh.ttc,simsun.ttc,simhei.ttf,malgun.ttf,meiryo.ttc,yugothic.ttf,segoeui.ttf,arial.ttf,DejaVuSans.ttf,LiberationSans-Regular.ttf,FreeSans.ttf,DroidSansFallbackFull.ttf,DroidSansFallback.ttf,wqy-microhei.ttc,wqy-zenhei.ttc,uming.ttc,NanumGothic.ttf,IPAexGothic.ttf`.split(`,`)}));function bB(e){let t=new RB(e),n=t.u32();if(n===1953784678){if(t.skip(4),t.u32()===0)throw new rL(`TrueType Collection is empty (0 fonts)`);return xB(e,t.u32())}return SB(e,t,n)}function xB(e,t){let n=new RB(e,t);return SB(e,n,n.u32())}function SB(e,t,n){if(n!==65536&&n!==1953658213)throw n===1330926671?new rL(`CFF-flavored OpenType (.otf) is not supported. Use a TrueType (.ttf) font.`):new rL(`Invalid TrueType font: bad sfVersion 0x${n.toString(16)}`);let r=t.u16();t.skip(6);let i=new Map;for(let e=0;e<r;e++){let e=t.tag();t.skip(4);let n=t.u32(),r=t.u32();i.set(e,{offset:n,length:r})}for(let e of[`head`,`hhea`,`maxp`,`cmap`,`hmtx`])if(!i.has(e))throw new rL(`Missing required table '${e}' in TrueType font`);let a=CB(t,i.get(`head`)),o=wB(t,i.get(`hhea`)),s=TB(t,i.get(`maxp`)),c=i.has(`OS/2`)?EB(t,i.get(`OS/2`)):null,l=i.has(`post`)?DB(t,i.get(`post`)):null,u=i.has(`name`)?OB(t,i.get(`name`)):null,d=kB(t,i.get(`cmap`)),f=MB(t,i.get(`hmtx`),o.numHMetrics,s.numGlyphs),p=i.has(`loca`)&&i.has(`glyf`)?NB(t,i.get(`loca`),s.numGlyphs,a.indexToLocFormat):new Uint32Array(s.numGlyphs+1),m=c?.sTypoAscender??o.ascent,h=c?.sTypoDescender??o.descent,g=c?.sCapHeight??Math.round(m*.7),_=0;l?.isFixedPitch&&(_|=1),a.macStyle&2&&(_|=64),_|=32;let v=c?.usWeightClass??400,y=Math.round(50+(v/65)**2),b=u?.familyName??`Unknown`;return{data:e,familyName:b,postScriptName:u?.postScriptName??b.replace(/\s+/g,``),unitsPerEm:a.unitsPerEm,ascent:m,descent:h,capHeight:g,italicAngle:l?.italicAngle??0,flags:_,bbox:[a.xMin,a.yMin,a.xMax,a.yMax],stemV:y,numGlyphs:s.numGlyphs,indexToLocFormat:a.indexToLocFormat,numHMetrics:o.numHMetrics,tables:i,cmap:d,advanceWidths:f,glyphOffsets:p}}function CB(e,t){let n=e.at(t.offset);n.skip(4),n.skip(4),n.skip(4),n.skip(4),n.skip(2);let r=n.u16();n.skip(16);let i=n.i16(),a=n.i16(),o=n.i16(),s=n.i16(),c=n.u16();return n.skip(2),n.skip(2),{unitsPerEm:r,xMin:i,yMin:a,xMax:o,yMax:s,macStyle:c,indexToLocFormat:n.i16()}}function wB(e,t){let n=e.at(t.offset);n.skip(4);let r=n.i16(),i=n.i16(),a=n.i16();return n.skip(2),n.skip(22),{ascent:r,descent:i,lineGap:a,numHMetrics:n.u16()}}function TB(e,t){let n=e.at(t.offset);return n.skip(4),{numGlyphs:n.u16()}}function EB(e,t){let n=e.at(t.offset),r=n.u16();n.skip(2);let i=n.u16();n.skip(2),n.skip(2),n.skip(22),n.skip(10),n.skip(16),n.skip(4),n.skip(2),n.skip(2),n.skip(2);let a=n.i16(),o=n.i16();n.skip(2),n.skip(2),n.skip(2);let s;return r>=2?(n.skip(8),n.skip(2),s=n.i16()):s=Math.round(a*.7),{usWeightClass:i,sTypoAscender:a,sTypoDescender:o,sCapHeight:s}}function DB(e,t){let n=e.at(t.offset);n.skip(4);let r=n.fixed();return n.skip(2),n.skip(2),{italicAngle:r,isFixedPitch:n.u32()!==0}}function OB(e,t){let n=t.offset,r=e.at(n);r.skip(2);let i=r.u16(),a=n+r.u16(),o=``,s=``;for(let t=0;t<i;t++){let t=r.u16(),n=r.u16();r.skip(2);let i=r.u16(),c=r.u16(),l=r.u16();if(i!==1&&i!==6)continue;let u=e.at(a+l).bytes(c),d;if(t===3||t===0)d=PB(u);else if(t===1&&n===0)d=FB(u);else continue;i===1&&!o&&(o=d),i===6&&!s&&(s=d)}return{familyName:o||`Unknown`,postScriptName:s||o||`Unknown`}}function kB(e,t){let n=t.offset,r=e.at(n);r.skip(2);let i=r.u16(),a=-1,o=-1;for(let t=0;t<i;t++){let t=r.u16(),i=r.u16(),s=r.u32();if(!(t===0||t===3&&(i===1||i===10)))continue;let c=e.u16At(n+s);c===12&&o<0&&(o=n+s),c===4&&a<0&&(a=n+s)}if(o>=0)return jB(e,o);if(a>=0)return AB(e,a);throw new rL(`No usable Unicode cmap subtable found in font`)}function AB(e,t){let n=e.at(t);n.skip(2),n.skip(2),n.skip(2);let r=n.u16()/2;n.skip(6);let i=[];for(let e=0;e<r;e++)i.push(n.u16());n.skip(2);let a=[];for(let e=0;e<r;e++)a.push(n.u16());let o=[];for(let e=0;e<r;e++)o.push(n.i16());let s=n.offset,c=[];for(let e=0;e<r;e++)c.push(n.u16());let l=new Map;for(let t=0;t<r;t++){let n=a[t],r=i[t],u=o[t],d=c[t];if(n===65535)break;for(let i=n;i<=r;i++){let r;if(d===0)r=i+u&65535;else{let a=s+t*2+d+(i-n)*2;r=e.u16At(a),r!==0&&(r=r+u&65535)}r!==0&&l.set(i,r)}}return l}function jB(e,t){let n=e.at(t);n.skip(2),n.skip(2),n.skip(4),n.skip(4);let r=n.u32();if(r>IB)throw new rL(`cmap format 12 has ${r} groups, exceeding limit of ${IB}. The font file may be malicious or corrupted.`);let i=new Map,a=0;for(let e=0;e<r;e++){let e=n.u32(),t=n.u32(),r=n.u32(),o=t>=e?t-e+1:0;if(a+=o,a>LB)throw new rL(`cmap format 12 maps too many codepoints (>${LB}). The font file may be malicious or corrupted.`);for(let n=e;n<=t;n++)i.set(n,r+(n-e))}return i}function MB(e,t,n,r){let i=e.at(t.offset),a=new Uint16Array(r),o=0;for(let e=0;e<n;e++)o=i.u16(),i.skip(2),a[e]=o;for(let e=n;e<r;e++)a[e]=o;return a}function NB(e,t,n,r){let i=e.at(t.offset),a=new Uint32Array(n+1);if(r===0)for(let e=0;e<=n;e++)a[e]=i.u16()*2;else for(let e=0;e<=n;e++)a[e]=i.u32();return a}function PB(e){let t=[];for(let n=0;n+1<e.length;n+=2){let r=e[n]<<8|e[n+1];if(r>=55296&&r<=56319&&n+3<e.length){let i=e[n+2]<<8|e[n+3];if(i>=56320&&i<=57343){t.push(String.fromCodePoint((r-55296<<10)+(i-56320)+65536)),n+=2;continue}}t.push(String.fromCharCode(r))}return t.join(``)}function FB(e){let t=[];for(let n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join(``)}var IB,LB,RB,zB=t((()=>{aL(),IB=65536,LB=2e6,RB=class e{constructor(e,t=0){this.data=e,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.offset=t}u8(){let e=this.view.getUint8(this.offset);return this.offset+=1,e}u16(){let e=this.view.getUint16(this.offset,!1);return this.offset+=2,e}i16(){let e=this.view.getInt16(this.offset,!1);return this.offset+=2,e}u32(){let e=this.view.getUint32(this.offset,!1);return this.offset+=4,e}i32(){let e=this.view.getInt32(this.offset,!1);return this.offset+=4,e}fixed(){return this.i32()/65536}bytes(e){let t=this.data.subarray(this.offset,this.offset+e);return this.offset+=e,t}tag(){return String.fromCharCode(this.u8(),this.u8(),this.u8(),this.u8())}skip(e){this.offset+=e}at(t){return new e(this.data,t)}u16At(e){return this.view.getUint16(e,!1)}u32At(e){return this.view.getUint32(e,!1)}i16At(e){return this.view.getInt16(e,!1)}}}));function BB(e){return e.kind===`chartsheet`}var VB,HB,UB=t((()=>{VB={Empty:0,String:1,Number:2,Boolean:3,Date:4,RichText:5,Error:6,Formula:7,Hyperlink:8,Merge:9},HB={A3:{width:841.89,height:1190.55},A4:{width:595.28,height:841.89},A5:{width:419.53,height:595.28},LETTER:{width:612,height:792},LEGAL:{width:612,height:1008},TABLOID:{width:792,height:1224}}})),WB,GB,KB=t((()=>{WB=1.2,GB=72/96}));function qB(e,t=1){return{left:(3+e.borderInsets.left)*t,right:(3+e.borderInsets.right)*t,top:(2+e.borderInsets.top)*t,bottom:(2+e.borderInsets.bottom)*t}}function JB(e,t,n,r){let i=new ZI,a=new Set;t.showGridLines&&YB(i,e,t);for(let t of e.cells)t.fillColor&&XB(i,t,a);for(let t of e.cells){if(!t.textOverflowWidth||t.textOverflowWidth<=0)continue;let n=t.rect.x+t.rect.width,r=n+t.textOverflowWidth,a=t.rect.y,o=t.rect.height,s=[];for(let i of e.cells){if(i===t||!i.fillColor||Math.abs(i.rect.y-a)>.01||Math.abs(i.rect.height-o)>.01)continue;let e=i.rect.x,c=e+i.rect.width;c>n&&e<r&&s.push({left:Math.max(e,n),right:Math.min(c,r)})}if(s.length===0)i.fillRect(n,a,t.textOverflowWidth,o,{r:1,g:1,b:1});else{s.sort((e,t)=>e.left-t.left);let e=n;for(let t of s)t.left>e&&i.fillRect(e,a,t.left-e,o,{r:1,g:1,b:1}),e=Math.max(e,t.right);e<r&&i.fillRect(e,a,r-e,o,{r:1,g:1,b:1})}}for(let t of e.cells)$B(i,t);let o=e.scaleFactor;for(let t of e.cells)(t.text||t.richText)&&tV(i,t,n,a,o);return t.showSheetNames&&vV(i,e,t,n),t.showPageNumbers&&yV(i,e,t,n,r),{stream:i,alphaValues:a}}function YB(e,t,n){if(t.columnWidths.length===0||t.rowHeights.length===0)return;let r=n.gridLineColor;e.save(),e.setStrokeColor(r),e.setLineWidth(.25);let i=t.rowYPositions[0],a=t.rowYPositions.length-1,o=t.rowYPositions[a]-t.rowHeights[a];for(let n=0;n<=t.columnWidths.length;n++){let r=n<t.columnWidths.length?t.columnOffsets[n]:t.columnOffsets[n-1]+t.columnWidths[n-1];e.moveTo(r,i),e.lineTo(r,o)}let s=t.columnOffsets[0],c=t.columnOffsets.length-1,l=t.columnOffsets[c]+t.columnWidths[c];for(let n=0;n<=t.rowYPositions.length;n++){let r=n<t.rowYPositions.length?t.rowYPositions[n]:t.rowYPositions[n-1]-t.rowHeights[n-1];e.moveTo(s,r),e.lineTo(l,r)}e.stroke(),e.restore()}function XB(e,t,n){if(!t.fillColor)return;let r=t.fillColor.a;if(r!==void 0&&r<1){let i=fV(r);n.add(r),e.save(),e.setGraphicsState(i),e.fillRect(t.rect.x,t.rect.y,t.rect.width,t.rect.height,t.fillColor),e.restore()}else e.fillRect(t.rect.x,t.rect.y,t.rect.width,t.rect.height,t.fillColor)}function ZB(e){return typeof e==`number`?e<=90?e:-(e-90):0}function QB(e,t){let n=ZB(e);if(n===0)return 0;let r=Math.abs(n);if(r<.01||r>89.99)return 0;let i=r*Math.PI/180,a=t*Math.cos(i)/Math.sin(i);return n<0?-a:a}function $B(e,t){let{rect:n,borders:r,textRotation:i}=t,{x:a,y:o,width:s,height:c}=n,l=QB(i,c);r.top&&eV(e,r.top,a+l,o+c,a+s+l,o+c,!0),r.bottom&&eV(e,r.bottom,a,o,a+s,o,!0),r.left&&eV(e,r.left,a,o,a+l,o+c,!1),r.right&&eV(e,r.right,a+s,o,a+s+l,o+c,!1)}function eV(e,t,n,r,i,a,o){if(t.isDouble){let s=.4,c=Math.min(t.width,.25);o?(e.drawLine(n,r+s,i,a+s,t.color,c,t.dashPattern),e.drawLine(n,r-s,i,a-s,t.color,c,t.dashPattern)):(e.drawLine(n+s,r,i+s,a,t.color,c,t.dashPattern),e.drawLine(n-s,r,i-s,a,t.color,c,t.dashPattern))}else e.drawLine(n,r,i,a,t.color,t.width,t.dashPattern)}function tV(e,t,n,r,i=1){let{rect:a,text:o,fontSize:s,horizontalAlign:c,verticalAlign:l,wrapText:u}=t;if(!o&&!t.richText)return;let d=qB(t,i),f=a.width-d.left-d.right,p=a.height-d.top-d.bottom;if(f<=0||p<=0)return;let m=t.indent*10*i,h=a.width+(t.textOverflowWidth||0);e.save();let g=QB(t.textRotation,a.height);g===0?e.rect(a.x,a.y,h,a.height):(e.moveTo(a.x,a.y),e.lineTo(a.x+h,a.y),e.lineTo(a.x+h+g,a.y+a.height),e.lineTo(a.x+g,a.y+a.height),e.closePath()),e.clip(),e.endPath();let _=t.textColor.a;if(_!==void 0&&_<1&&(r.add(_),e.setGraphicsState(fV(_))),t.textRotation===`vertical`){dV(e,t,n,m,i),e.restore();return}if(typeof t.textRotation==`number`&&t.textRotation!==0){rV(e,t,n,m,i),e.restore();return}if(t.richText&&t.richText.length>0){nV(e,t,n,m,i),e.restore();return}let v=n.hasEmbeddedFont(),y=v?n.getEmbeddedResourceName():n.ensureFont(cB(t.fontFamily,t.bold,t.italic)),b=e=>n.measureText(e,y,s),x=f-m,S=u?gV(o,b,x):o.split(/\r?\n/),ee=s*WB,te=n.getFontAscent(y,s),ne=pV(l,a,S.length*ee,te,d.top,d.bottom);e.setFillColor(t.textColor);let re=n.hasType3Fonts()&&!v;for(let t=0;t<S.length;t++){let r=S[t],i=ne-t*ee;uV(e,r,mV(c,a,b(r),m,d.left,d.right),i,y,s,n,re)}hV(e,t,S,ee,ne,b,y,n,m,d),e.restore()}function nV(e,t,n,r,i=1){let{rect:a,horizontalAlign:o,verticalAlign:s,wrapText:c}=t,l=t.richText,u=qB(t,i),d=t.fontSize;for(let e of l)e.fontSize>d&&(d=e.fontSize);let f=d,p=f*WB,m=n.hasEmbeddedFont(),h=e=>m?n.getEmbeddedResourceName():n.ensureFont(cB(e.fontFamily,e.bold,e.italic));if(c){let i=a.width-u.left-u.right-r;if(i<=0)return;let c=l.map(e=>e.text).join(``),d=[];for(let e=0;e<l.length;e++)for(let t=0;t<l[e].text.length;t++)d.push(e);let p=l.map(e=>h(e)),g=_V(c,d,l,p,n,i),_=[];for(let e of g){let n=t.fontSize;for(let t=e.start;t<e.end;t++){let e=d[t]??0;l[e].fontSize>n&&(n=l[e].fontSize)}_.push(n*WB)}let v=p[0],y=n.getFontAscent(v,f),b=pV(s,a,_.reduce((e,t)=>e+t,0),y,u.top,u.bottom),x=0;for(let t=0;t<g.length;t++){let i=b-x;x+=_[t];let{start:s,end:f}=g[t],h=[];for(let e=s;e<f;e++){let t=d[e]??d.length-1,n=h[h.length-1];n&&n.run===l[t]?n.text+=c[e]:h.push({run:l[t],text:c[e],resourceName:p[t]})}let v=0;for(let e of h)v+=n.measureText(e.text,e.resourceName,e.run.fontSize);let y=mV(o,a,v,r,u.left,u.right),S=n.hasType3Fonts()&&!m;for(let t of h){let{run:r,text:a,resourceName:o}=t;e.setFillColor(r.textColor);let s=uV(e,a,y,i,o,r.fontSize,n,S);if(r.strike){let t=i+n.getFontDescent(o,r.fontSize)+r.fontSize*.3;e.drawLine(y,t,y+s,t,r.textColor,.5)}if(r.underline){let t=i+n.getFontDescent(o,r.fontSize)*.5;e.drawLine(y,t,y+s,t,r.textColor,.5)}y+=s}}return}let g=0,_=[];for(let e of l){let t=h(e),r=n.measureText(e.text,t,e.fontSize);_.push({resourceName:t,width:r}),g+=r}let v=_[0]?.resourceName??`F1`,y=pV(s,a,p,n.getFontAscent(v,f),u.top,u.bottom),b=mV(o,a,g,r,u.left,u.right),x=n.hasType3Fonts()&&!m;for(let t=0;t<l.length;t++){let r=l[t],{resourceName:i}=_[t];e.setFillColor(r.textColor);let a=uV(e,r.text,b,y,i,r.fontSize,n,x);if(r.strike){let t=y+n.getFontDescent(i,r.fontSize)+r.fontSize*.3;e.drawLine(b,t,b+a,t,r.textColor,.5)}if(r.underline){let t=y+n.getFontDescent(i,r.fontSize)*.5;e.drawLine(b,t,b+a,t,r.textColor,.5)}b+=a}}function rV(e,t,n,r,i=1){let{rect:a,wrapText:o}=t,{fontSize:s}=t,c=qB(t,i),l=n.hasEmbeddedFont()?n.getEmbeddedResourceName():n.ensureFont(cB(t.fontFamily,t.bold,t.italic)),u=ZB(t.textRotation),d=u*Math.PI/180,f=Math.cos(d),p=Math.sin(d),m=Math.abs(p),h=Math.abs(f),g=a.width-c.left-c.right,_=a.height-c.top-c.bottom,v;v=m>.01&&h>.01?Math.min(_/m,g/h):m>.01?_/m:g;let y=e=>n.measureText(e,l,s),b;b=o?gV(t.text,y,Math.max(v-1,1)):t.text.split(/\r?\n/);let x=s*WB,S=b.length*x;if(!o){let e=0;for(let t of b){let n=y(t);n>e&&(e=n)}let t=e*h+S*m,n=e*m+S*h;if(g>0&&_>0&&(t>g||n>_)){let e=Math.min(g/t,_/n);e<1&&(s*=e)}}let ee=s*WB,te=n.getFontAscent(l,s),ne=Math.abs(u-90)<.01,re=Math.abs(u+90)<.01;e.setFillColor(t.textColor),ne?iV(e,t,b,n,l,s,ee,te,c):re?aV(e,t,b,n,l,s,ee,te,c):oV(e,t,b,n,l,s,ee,te,f,p,r)}function iV(e,t,n,r,i,a,o,s,c){let{rect:l,horizontalAlign:u,verticalAlign:d}=t,f=n.length*o,p;p=u===`center`?l.x+l.width/2-f/2+s:u===`right`?l.x+l.width-c.right-f+s:l.x+c.left+s;let m=r.hasType3Fonts()&&!r.hasEmbeddedFont();for(let t=0;t<n.length;t++){let s=n[t],u=r.measureText(s,i,a),f=p+t*o,h;h=d===`top`?l.y+l.height-c.top-u:d===`middle`?l.y+(l.height-u)/2:l.y+c.bottom,h=Math.max(h,l.y+c.bottom),cV(e,s,0,1,-1,0,f,h,i,a,r,m)}}function aV(e,t,n,r,i,a,o,s,c){let{rect:l,horizontalAlign:u,verticalAlign:d}=t,f=n.length*o,p;p=u===`center`?l.x+l.width/2+f/2-o+s:u===`right`?l.x+l.width-c.right-o+s:l.x+c.left+f-o+s;let m=r.hasType3Fonts()&&!r.hasEmbeddedFont();for(let t=0;t<n.length;t++){let s=n[t],u=r.measureText(s,i,a),f=p-t*o,h;h=d===`top`?l.y+l.height-c.top:d===`middle`?l.y+(l.height+u)/2:l.y+c.bottom+u,h=Math.min(h,l.y+l.height-c.top),cV(e,s,0,-1,1,0,f,h,i,a,r,m)}}function oV(e,t,n,r,i,a,o,s,c,l,u){let{rect:d,horizontalAlign:f,verticalAlign:p}=t,m=qB(t),h=0;for(let e of n){let t=r.measureText(e,i,a);t>h&&(h=t)}let g=n.length*o,_=Math.abs(l),v=Math.abs(c),y=h*v+g*_,b=h*_+g*v,x=QB(t.textRotation,d.height)/2,S=f===`left`?u/2:f===`right`?-u/2:0,ee;ee=p===`top`?d.y+d.height-m.top-b/2:p===`bottom`?d.y+m.bottom+b/2:d.y+d.height/2;let te=d.height>0?(ee-d.y)/d.height:.5,ne=x*2*te,re;re=f===`right`?d.x+d.width-m.right-y/2+S+ne:f===`left`?d.x+m.left+y/2+S+ne:d.x+d.width/2+S+ne;let ie=r.hasType3Fonts()&&!r.hasEmbeddedFont();for(let t=0;t<n.length;t++){let u=n[t],d=r.measureText(u,i,a),f=(t-(n.length-1)/2)*o,p=-d/2,m=-s/2-f,h=re+p*c-m*l,g=ee+p*l+m*c;cV(e,u,c,l,-l,c,h,g,i,a,r,ie)}}function sV(e,t,n,r){let i=t.encodeText(n,r);i?e.showTextHex(i):e.showText(n)}function cV(e,t,n,r,i,a,o,s,c,l,u,d){if(!d){e.beginText(),e.setFont(c,l),e.setTextMatrix(n,r,i,a,o,s),sV(e,u,t,c),e.endText();return}let f=lV(t,u),p=o,m=s;for(let t of f){e.beginText(),t.type3?(e.setFont(t.type3.resourceName,l),e.setTextMatrix(n,r,i,a,p,m),e.showTextHex(t.type3.hex)):(e.setFont(c,l),e.setTextMatrix(n,r,i,a,p,m),sV(e,u,t.text,c)),e.endText();let o=u.measureText(t.text,t.type3?.resourceName??c,l);p+=n*o,m+=r*o}}function lV(e,t){let n=[],r=``,i=()=>{r&&=(n.push({text:r,type3:null}),``)};for(let a=0;a<e.length;a++){let o=e.codePointAt(a),s=String.fromCodePoint(o);if(o>65535&&a++,t.needsType3(o)){i();let e=t.resolveType3(o);if(e){let r=t.encodeType3Char(o);n.push({text:s,type3:{resourceName:e.resourceName,hex:r??`<00>`}})}else n.push({text:s,type3:null})}else r+=s}return i(),n}function uV(e,t,n,r,i,a,o,s){return cV(e,t,1,0,0,1,n,r,i,a,o,s),o.measureText(t,i,a)}function dV(e,t,n,r,i=1){let{rect:a,text:o,fontSize:s,horizontalAlign:c,verticalAlign:l}=t,u=qB(t,i),d=n.hasEmbeddedFont(),f=d?n.getEmbeddedResourceName():n.ensureFont(cB(t.fontFamily,t.bold,t.italic)),p=s*1.3,m=n.getFontAscent(f,s),h=o.split(/\r?\n/),g=s*1.4,_=h.length*g,v;v=c===`center`?a.x+a.width/2-_/2+g/2:c===`right`?a.x+a.width-u.right-_+g/2:a.x+u.left+g/2,e.setFillColor(t.textColor);let y=n.hasType3Fonts()&&!d;for(let t=0;t<h.length;t++){let r=h[t],i=v+t*g,o=r.length*p,c;c=l===`middle`?a.y+a.height/2+o/2-m:l===`bottom`?a.y+u.bottom+o-m:a.y+a.height-u.top-m;for(let t of r){if(c<a.y+u.bottom)break;cV(e,t,1,0,0,1,i-n.measureText(t,f,s)/2,c,f,s,n,y),c-=p}}}function fV(e){return`GS${Math.round(e*1e4)}`}function pV(e,t,n,r,i=2,a=i){let o;switch(e){case`top`:o=t.y+t.height-i-r;break;case`middle`:o=t.y+t.height/2+n/2-r;break;default:o=t.y+a+(n-r);break}let s=t.y+t.height-i-r;o>s&&(o=s);let c=t.y+a;return o<c&&(o=c),o}function mV(e,t,n,r=0,i=3,a=i){let o;switch(e){case`center`:o=t.x+(t.width-n)/2;break;case`right`:o=t.x+t.width-a-n;break;default:o=t.x+i+r;break}let s=t.x+i;return o<s&&(o=s),o}function hV(e,t,n,r,i,a,o,s,c,l){if(t.strike){let u=i+s.getFontDescent(o,t.fontSize)+t.fontSize*.3;for(let i=0;i<n.length;i++){let o=u-i*r,s=a(n[i]),d=mV(t.horizontalAlign,t.rect,s,c,l?.left,l?.right);e.drawLine(d,o,d+s,o,t.textColor,.5)}}if(t.underline){let u=s.getFontDescent(o,t.fontSize)*.5;for(let o=0;o<n.length;o++){let s=i-o*r+u,d=a(n[o]),f=mV(t.horizontalAlign,t.rect,d,c,l?.left,l?.right);e.drawLine(f,s,f+d,s,t.textColor,.5)}}}function gV(e,t,n){if(!e)return[``];let r=e.split(/\r?\n/),i=[];for(let e of r){if(!e){i.push(``);continue}let r=e.split(/\s+/),a=``;for(let e of r){if(!a){a=e;continue}let r=a+` `+e;t(r)<=n?a=r:(i.push(a),a=e)}a&&i.push(a)}return i.length>0?i:[``]}function _V(e,t,n,r,i,a){if(!e)return[{start:0,end:0}];let o=(a,o)=>{if(a>=o)return 0;let s=0,c=a,l=t[a]??0;for(let u=a+1;u<=o;u++){let a=u<o?t[u]??l:-1;if(a!==l){let t=n[l],o=e.slice(c,u);s+=i.measureText(o,r[l],t.fontSize),c=u,l=a}}return s},s=[],c=0,l=e.length;for(;c<=l;){let t=e.indexOf(`
460
+ `,c);if(t===-1&&(t=l),t===c){s.push({start:c,end:c}),c=t+1;continue}let n=t>c&&e[t-1]===`\r`?t-1:t;if(n===c){s.push({start:c,end:c}),c=t+1;continue}let r=e.slice(c,n),i=[],u=[],d=!1;for(let e=0;e<r.length;e++){let t=r[e]===` `||r[e]===` `;!t&&!d?(i.push(e),d=!0):t&&d&&(u.push(e),d=!1)}d&&u.push(r.length);let f=c,p=c;for(let e=0;e<i.length;e++){let t=c+u[e];if(p===f){p=t;continue}o(f,t)<=a?p=t:(s.push({start:f,end:p}),f=c+i[e],p=t)}if((p>f||i.length===0)&&s.push({start:f,end:Math.max(p,f)}),c=t+1,t===l)break}return s.length>0?s:[{start:0,end:0}]}function vV(e,t,n,r){let i=t.sheetName,a=r.hasEmbeddedFont()?r.getEmbeddedResourceName():r.ensureFont(cB(n.defaultFontFamily,!0,!1)),o=r.measureText(i,a,10),s=(t.width-o)/2,c=t.height-n.margins.top+5;e.save(),e.setFillColor({r:.3,g:.3,b:.3}),cV(e,i,1,0,0,1,s,c,a,10,r,r.hasType3Fonts()&&!r.hasEmbeddedFont()),e.restore()}function yV(e,t,n,r,i){let a=`Page ${t.pageNumber} of ${i}`,o=r.ensureFont(cB(n.defaultFontFamily,!1,!1)),s=r.measureText(a,o,9),c=(t.width-s)/2,l=Math.max(5,n.margins.bottom-15);e.save(),e.setFillColor({r:.5,g:.5,b:.5}),e.beginText(),e.setFont(o,9),e.setTextMatrix(1,0,0,1,c,l),e.showText(a),e.endText(),e.restore()}function bV(e,t,n,r){return n.type===`text`?wV(e,t,xV(n),r):TV(e,t,SV(n))}function xV(e){return{...e,opacity:CV(e.opacity??OV.opacity),fontSize:Math.max(1,e.fontSize??OV.fontSize),repeatSpacingX:Math.max(AV,e.repeatSpacingX??OV.repeatSpacingX),repeatSpacingY:Math.max(AV,e.repeatSpacingY??OV.repeatSpacingY)}}function SV(e){return{...e,opacity:CV(e.opacity??kV.opacity),scale:Math.max(.01,e.scale??kV.scale),width:e.width===void 0?void 0:Math.max(1,e.width),height:e.height===void 0?void 0:Math.max(1,e.height),repeatSpacingX:Math.max(AV,e.repeatSpacingX??kV.repeatSpacingX),repeatSpacingY:Math.max(AV,e.repeatSpacingY??kV.repeatSpacingY)}}function CV(e){return Math.max(0,Math.min(1,e))}function wV(e,t,n,r){let i=n.fontSize??OV.fontSize,a=n.color??OV.color,o=n.opacity??OV.opacity,s=n.rotation??OV.rotation,c=n.fontFamily??OV.fontFamily,l=n.bold??OV.bold,u=n.italic??OV.italic,d=r.hasEmbeddedFont(),f=d?r.getEmbeddedResourceName():r.ensureFont(cB(c,l,u)),p=r.measureText(n.text,f,i),m=i*.7,h=s*Math.PI/180,g=Math.cos(h),_=Math.sin(h),v=o<1,y=v?fV(o):``,b=r.hasType3Fonts()&&!d,x=(t,o)=>{let s=p/2,c=m/2,l=t-s*g+c*_,u=o-s*_-c*g;e.save(),v&&e.setGraphicsState(y),e.setFillColor(a),cV(e,n.text,g,_,-_,g,l,u,f,i,r,b),e.restore()};if(n.repeat){let e=n.repeatSpacingX??OV.repeatSpacingX,r=n.repeatSpacingY??OV.repeatSpacingY;DV(t.width,t.height,e,r,x)}else{let{cx:e,cy:r}=EV(t,n.position);x(e,r)}return{alphaValues:v?[o]:[],imageXObjects:[]}}function TV(e,t,n){let r=n.opacity??kV.opacity,i=n.rotation??kV.rotation,a=n.scale??kV.scale,o=r<1,s,c;if(n.width!==void 0&&n.height!==void 0)s=n.width,c=n.height;else{let e=MI(n.data,n.format),r=Math.min(t.width,t.height)*a,i=Math.max(e.width,e.height),o=i>0?r/i:1;s=e.width*o,c=e.height*o}let l=i*Math.PI/180,u=Math.cos(l),d=Math.sin(l),f=o?fV(r):``,p=`WmImg`,m=(t,n)=>{e.save(),o&&e.setGraphicsState(f);let r=s/2,i=c/2,a=t-r*u+i*d,l=n-r*d-i*u;e.concat(s*u,s*d,-c*d,c*u,a,l),e.doXObject(p),e.restore()};if(n.repeat){let e=n.repeatSpacingX??kV.repeatSpacingX,r=n.repeatSpacingY??kV.repeatSpacingY;DV(t.width,t.height,e,r,m)}else{let{cx:e,cy:r}=EV(t,n.position);m(e,r)}return{alphaValues:o?[r]:[],imageXObjects:[{name:p,data:n.data,format:n.format}]}}function EV(e,t){return!t||t===`center`?{cx:e.width/2,cy:e.height/2}:{cx:t.x,cy:t.y}}function DV(e,t,n,r,i){let a=Math.max(e,t)*.5,o=0;for(let s=-a;s<t+a;s+=r){let t=o%2==1?n/2:0;for(let r=-a;r<e+a;r+=n)i(r+t,s);o++}}var OV,kV,AV,jV=t((()=>{RI(),$I(),pB(),KB(),OV={fontSize:54,color:{r:.75,g:.75,b:.75},opacity:.15,rotation:-45,fontFamily:`Helvetica`,bold:!1,italic:!1,repeatSpacingX:200,repeatSpacingY:200},kV={opacity:.15,rotation:0,scale:.5,repeatSpacingX:200,repeatSpacingY:200},AV=10}));function MV(e,t,n){let r=t=>{t?.a!==void 0&&t.a<1&&(n.add(t.a),e.setGraphicsState(fV(t.a)))},i=t=>{let{fill:i,stroke:a,lineWidth:o}=t;if(i&&(e.setFillColor(i),r(i)),a){e.setStrokeColor(a);let t=a.a!==void 0&&a.a<1,s=i?.a!==void 0&&i.a<1;t?r(a):s&&(n.add(1),e.setGraphicsState(fV(1))),o!==void 0&&e.setLineWidth(o)}i&&a?e.fillAndStroke():i?e.fill():a?e.stroke():e.endPath()};return{drawRect(t){let{x:n,y:r,width:a,height:o,fill:s,stroke:c,lineWidth:l}=t;return e.save(),e.rect(n,r,a,o),i({fill:s,stroke:c,lineWidth:l}),e.restore(),this},drawLine(t){let{x1:n,y1:i,x2:a,y2:o,color:s,lineWidth:c,dashPattern:l}=t;return e.save(),s&&(e.setStrokeColor(s),r(s)),c!==void 0&&e.setLineWidth(c),l&&l.length>0&&e.setDashPattern(l),e.moveTo(n,i).lineTo(a,o).stroke(),e.restore(),this},drawText(n,i){if(!n)return this;let a=i.fontSize??10,o=i.color??{r:0,g:0,b:0},s=i.bold??!1,c=i.italic??!1,l=i.fontFamily??`Helvetica`,u=i.anchor??`start`,d=i.rotation??0,f=NV(t,l,s,c),p=t.hasType3Fonts()&&!t.hasEmbeddedFont(),m=t.measureText(n,f,a),h=0;if(u===`middle`?h=-m/2:u===`end`&&(h=-m),e.save(),e.setFillColor(o),r(o),d===0)cV(e,n,1,0,0,1,i.x+h,i.y,f,a,t,p);else{let r=-d*Math.PI/180,o=Math.cos(r),s=Math.sin(r);cV(e,n,o,s,-s,o,i.x+o*h,i.y+s*h,f,a,t,p)}return e.restore(),this},drawCircle(t){let{cx:n,cy:r,r:a,fill:o,stroke:s,lineWidth:c}=t;return e.save(),e.circle(n,r,a),i({fill:o,stroke:s,lineWidth:c}),e.restore(),this},drawPath(t,n){e.save();for(let n of t)switch(n.op){case`move`:e.moveTo(n.x,n.y);break;case`line`:e.lineTo(n.x,n.y);break;case`curve`:e.curveTo(n.x1,n.y1,n.x2,n.y2,n.x3,n.y3);break;case`close`:e.closePath();break}return n?.closePath&&e.closePath(),n?.dashPattern&&n.dashPattern.length>0&&e.setDashPattern(n.dashPattern),i({fill:n?.fill,stroke:n?.stroke,lineWidth:n?.lineWidth}),e.restore(),this}}}function NV(e,t,n,r){return e.hasEmbeddedFont()?e.getEmbeddedResourceName():e.ensureFont(cB(t,n,r))}var PV=t((()=>{pB(),jV()}));function FV(e){if(!e||e.length<6)return null;let t,n,r,i;if(e.length>=8?(t=parseInt(e.substring(0,2),16),n=parseInt(e.substring(2,4),16),r=parseInt(e.substring(4,6),16),i=parseInt(e.substring(6,8),16)):(t=255,n=parseInt(e.substring(0,2),16),r=parseInt(e.substring(2,4),16),i=parseInt(e.substring(4,6),16)),isNaN(n)||isNaN(r)||isNaN(i))return null;let a=t/255;return{r:n/255,g:r/255,b:i/255,...a<1?{a}:{}}}function IV(e){if(!e)return null;if(e.argb)return FV(e.argb);if(e.theme!==void 0){let t=LV(e.theme);if(!t)return null;let n=e.tint;return n!==void 0&&n!==0?zV(t,n):t}return e.indexed===void 0?null:RV(e.indexed)}function LV(e){let t=[{r:1,g:1,b:1},{r:0,g:0,b:0},{r:.906,g:.902,b:.902},{r:.267,g:.329,b:.416},{r:.267,g:.447,b:.769},{r:.929,g:.49,b:.192},{r:.647,g:.647,b:.647},{r:1,g:.753,b:0},{r:.357,g:.608,b:.835},{r:.439,g:.678,b:.278}];return e>=0&&e<t.length?t[e]:null}function RV(e){return e===64?{r:0,g:0,b:0}:e===65?{r:1,g:1,b:1}:e>=0&&e<JV.length?FV(JV[e])??null:null}function zV(e,t){let n=e=>t<0?e*(1+t):e+(1-e)*t;return{r:Math.max(0,Math.min(1,n(e.r))),g:Math.max(0,Math.min(1,n(e.g))),b:Math.max(0,Math.min(1,n(e.b)))}}function BV(e,t,n){return{fontFamily:e?.name??t,fontSize:e?.size??n,bold:e?.bold??!1,italic:e?.italic??!1,strike:e?.strike??!1,underline:!!(e?.underline&&e.underline!==`none`),textColor:IV(e?.color)??YV.black}}function VV(e){if(!e)return null;if(e.type===`pattern`){if(e.pattern===`solid`&&e.fgColor)return IV(e.fgColor);if(e.pattern===`none`)return null;if(e.fgColor)return IV(e.fgColor)}return e.type===`gradient`&&e.stops&&e.stops.length>0?IV(e.stops[0].color):null}function HV(e){switch(e){case`hair`:return .1;case`thin`:return .25;case`medium`:return .5;case`thick`:return 1;case`double`:return .25;case`dotted`:return .25;case`dashed`:return .25;case`dashDot`:return .25;case`dashDotDot`:return .25;case`slantDashDot`:return .25;case`mediumDashed`:return .5;case`mediumDashDot`:return .5;case`mediumDashDotDot`:return .5;default:return .25}}function UV(e){switch(e){case`dotted`:return[1,1];case`dashed`:case`mediumDashed`:return[3,2];case`dashDot`:case`mediumDashDot`:return[3,1,1,1];case`dashDotDot`:case`mediumDashDotDot`:return[3,1,1,1,1,1];case`slantDashDot`:return[4,2,1,2];case`hair`:return[.5,.5];default:return[]}}function WV(e){return!e||!e.style?null:{width:HV(e.style),color:IV(e.color)??YV.black,dashPattern:UV(e.style),isDouble:e.style===`double`}}function GV(e){return e?{top:WV(e.top),right:WV(e.right),bottom:WV(e.bottom),left:WV(e.left)}:{top:null,right:null,bottom:null,left:null}}function KV(e){if(!e?.horizontal)return`left`;switch(e.horizontal){case`center`:case`centerContinuous`:return`center`;case`right`:return`right`;default:return`left`}}function qV(e){if(!e?.vertical)return`bottom`;switch(e.vertical){case`top`:return`top`;case`middle`:return`middle`;default:return`bottom`}}var JV,YV,XV=t((()=>{JV=`000000.FFFFFF.FF0000.00FF00.0000FF.FFFF00.FF00FF.00FFFF.000000.FFFFFF.FF0000.00FF00.0000FF.FFFF00.FF00FF.00FFFF.800000.008000.000080.808000.800080.008080.C0C0C0.808080.9999FF.993366.FFFFCC.CCFFFF.660066.FF8080.0066CC.CCCCFF.000080.FF00FF.FFFF00.00FFFF.800080.800000.008080.0000FF.00CCFF.CCFFFF.CCFFCC.FFFF99.99CCFF.FF99CC.CC99FF.FFCC99.3366FF.33CCCC.99CC00.FFCC00.FF9900.FF6600.666699.969696.003366.339966.003300.333300.993300.993366.333399.333333`.split(`.`),YV={black:{r:0,g:0,b:0},white:{r:1,g:1,b:1},gridLine:{r:.816,g:.816,b:.816}}}));function ZV(e,t,n){if(e?.horizontal&&e.horizontal!==`general`)return KV(e);if(t!==void 0)switch(t){case VB.Number:case VB.Date:return`right`;case VB.Boolean:case VB.Error:return`center`;case VB.Formula:return typeof n==`number`||n instanceof Date?`right`:typeof n==`boolean`?`center`:`left`;default:return`left`}return`left`}async function QV(e,t,n){let r=eH(e,t,n);if(!r)return[nH(e,t)];let i=[],a=r.rowPages.length*r.colGroups.length;for(let o of r.rowPages)for(let s of r.colGroups)i.push(tH(r,o,s,i.length,e,t,n)),i.length<a&&await Ef();return i.length>0&&e.images&&bH(e.images,i,r.scaleFactor),i.length>0&&e.charts&&xH(e.charts,i,r.scaleFactor),i}function $V(e,t){let n=e.orientation??t.orientation,r={...t,orientation:n},i=r.pageSize.width,a=r.pageSize.height;r.orientation===`landscape`&&([i,a]=[a,i]);let o=r.margins,s=r.showSheetNames?20:0,c=o.left,l=o.bottom,u=i-o.left-o.right,d=a-o.top-o.bottom-s,f={rect:{x:c,y:l,width:Math.max(0,u),height:Math.max(0,d)},drawVector:e.chart.drawVector,raster:e.chart.raster};return[{pageNumber:1,options:r,cells:[],width:i,height:a,sheetName:e.name,sheetCols:[],columnOffsets:[],columnWidths:[],sheetRows:[],rowYPositions:[],rowHeights:[],images:[],charts:[f],scaleFactor:1}]}function eH(e,t,n){let{margins:r}=t,i=t.pageSize.width,a=t.pageSize.height;t.orientation===`landscape`&&([i,a]=[a,i]);let o=i-r.left-r.right,s=a-r.top-r.bottom,c=t.showSheetNames?20:0,l=t.showPageNumbers?20:0,u=s-c-l,d=aH(e),{columnWidths:f,visibleCols:p}=oH(e,d);if(p.length===0)return null;let m=f.reduce((e,t)=>e+t,0),h=t.scale;if(t.fitToPage&&m>0){let e=o/m;e<1&&(h*=e)}let g=f.map(e=>e*h),{rowHeights:_,visibleRows:v}=sH(e,h,d,n,t),y=pH(e),b=mH(_,u,typeof t.repeatRows==`number`?t.repeatRows:0,fH(e,v)),x=hH(g,o,e,p);return{pageWidth:i,pageHeight:a,contentWidth:o,headerHeight:c,scaleFactor:h,scaledColumnWidths:g,rowHeights:_,visibleRows:v,visibleCols:p,mergeMap:y,rowPages:b,colGroups:x,margins:r}}function tH(e,t,n,r,i,a,o){let{scaledColumnWidths:s,rowHeights:c,visibleRows:l,visibleCols:u,mergeMap:d,pageWidth:f,pageHeight:p,contentWidth:m,headerHeight:h,scaleFactor:g,margins:_}=e,v=[],y=n.map(e=>s[e]),b=y.reduce((e,t)=>e+t,0),x=[],S=_.left;b<m&&(S=_.left+(m-b)/2);for(let e of y)x.push(S),S+=e;let ee=[],te=[],ne=p-_.top-h;for(let e of t){let t=c[e]??EH*g;ee.push(ne),te.push(t),ne-=t}let re=new Map;for(let e=0;e<t.length;e++){let r=t[e],s=l[r];for(let t=0;t<n.length;t++){let c=u[n[t]],f=`${s}:${c}`,p=d.get(f);if(p&&!p.isMaster)continue;let m=i.rows.get(s)?.cells.get(c),h=1,_=1;if(p&&p.isMaster){let e=c+p.colSpan-1;h=0;for(let r=t;r<n.length&&u[n[r]]<=e;r++)h++;let i=s+p.rowSpan-1;_=0;for(let e=r;e<l.length&&l[e]<=i;e++)_++;h=Math.max(h,1),_=Math.max(_,1)}let b=x[t],S=ee[e],ne=0;for(let e=0;e<h&&t+e<y.length;e++)ne+=y[t+e];let ie=0;for(let t=0;t<_&&e+t<te.length;t++)ie+=te[e+t];let ae=S-ie;v.push(gH(m,b,ae,ne,ie,h,_,a,o,g));let oe=v[v.length-1];p?.isMaster&&SH(oe,p,s,c,i),re.set(`${e}:${t}`,oe)}}return vH(re,t.length,n.length),CH(re,t,n,l,u,y,d,o),{pageNumber:r+1,options:a,cells:v,width:f,height:p,sheetName:i.name,sheetCols:n.map(e=>u[e]),columnOffsets:x,columnWidths:y,sheetRows:t.map(e=>l[e]),rowYPositions:ee,rowHeights:te,images:[],charts:[],scaleFactor:g}}function nH(e,t){let n=t.pageSize.width,r=t.pageSize.height;return t.orientation===`landscape`&&([n,r]=[r,n]),{pageNumber:1,options:t,cells:[],width:n,height:r,sheetName:e.name,sheetCols:[],columnOffsets:[],columnWidths:[],sheetRows:[],rowYPositions:[],rowHeights:[],images:[],charts:[],scaleFactor:1}}function rH(e){let t=e.replace(/\$/g,``).toUpperCase(),n=0,r=0;for(;r<t.length&&t.charCodeAt(r)>=65&&t.charCodeAt(r)<=90;)n=n*26+(t.charCodeAt(r)-64),r++;let i=parseInt(t.substring(r),10);return{c:n-1,r:i-1}}function iH(e){let t=e.indexOf(`:`);if(t===-1){let t=rH(e);return{s:t,e:{...t}}}return{s:rH(e.slice(0,t)),e:rH(e.slice(t+1))}}function aH(e){let t=e.pageSetup?.printArea;if(!t||typeof t!=`string`)return null;let n=t.split(`&&`)[0].trim();if(!n)return null;try{let e=iH(n);return{startRow:e.s.r+1,endRow:e.e.r+1,startCol:e.s.c+1,endCol:e.e.c+1}}catch{return null}}function oH(e,t){let n=e.bounds;if(!(n.top>0&&n.left>0))return{columnWidths:[],visibleCols:[]};let r=t?.startCol??n.left,i=t?.endCol??n.right,a=[],o=[];for(let t=r;t<=i;t++){let n=e.columns.get(t);if(n?.hidden)continue;let r=(n?.width??TH)*7+5,i=Math.max(r*GB,DH);a.push(i),o.push(t)}return{columnWidths:a,visibleCols:o}}function sH(e,t,n,r,i){let a=e.bounds;if(a.top<=0)return{rowHeights:[],visibleRows:[]};let o=n?.startRow??a.top,s=n?.endRow??a.bottom,c=[],l=[];for(let n=o;n<=s;n++){let a=e.rows.get(n);if(a?.hidden)continue;let o;o=a?.height&&a.customHeight?a.height:a?.height?Math.max(a.height,cH(a,t,e,r,i)):cH(a,t,e,r,i),c.push(o*t),l.push(n)}return{rowHeights:c,visibleRows:l}}function cH(e,t,n,r,i){let a=EH;if(e)for(let o of e.cells.values()){let e=lH(o),s=uH(o,e,t,n,r,i),c=e*WB,l=o.style?.border?.top?.style?HV(o.style.border.top.style)/2:0,u=o.style?.border?.bottom?.style?HV(o.style.border.bottom.style)/2:0,d=e+(s-1)*c+(2+l+u)*2;d>a&&(a=d)}return a}function lH(e){let t=e.style?.font?.size??11;if(e.type===VB.RichText){let n=e.value;if(n&&typeof n==`object`&&`richText`in n){let e=n.richText;for(let n of e){let e=n.font?.size??t;e>t&&(t=e)}}}return t}function uH(e,t,n,r,i,a){let o=typeof e.text==`string`?e.text:String(e.text??``),s=Math.max(1,(o.match(/\n/g)??[]).length+1);if(!e.style?.alignment?.wrapText||o.length===0)return s;let c=((r.columns.get(e.col)?.width??TH)*7+5)*GB*n,l=e.style.alignment.indent??0,u=e.style?.border?.left?.style?HV(e.style.border.left.style)/2:0,d=e.style?.border?.right?.style?HV(e.style.border.right.style)/2:0,f=3+u+(3+d)+l*10,p=Math.max(c-f,1);if(e.type===VB.RichText){let t=e.value;if(t&&typeof t==`object`&&`richText`in t){let r=t.richText;if(r.length>0){let t=dH(o,r,n,p,i,a,e.style?.font);return Math.max(s,t)}}}let m=t*n,h=BV(e.style.font,a.defaultFontFamily,a.defaultFontSize),g=cB(h.fontFamily,h.bold,h.italic),_=i.hasEmbeddedFont()?i.getEmbeddedResourceName():i.ensureFont(g),v=gV(o,e=>i.measureText(e,_,m),p);return Math.max(s,v.length)}function dH(e,t,n,r,i,a,o){let s=o?.name??a.defaultFontFamily,c=o?.size??a.defaultFontSize,l=[];for(let e=0;e<t.length;e++)for(let n=0;n<t[e].text.length;n++)l.push(e);let u=t.map(e=>{let t=BV(e.font?{name:e.font.name??o?.name,size:e.font.size??o?.size,bold:e.font.bold??!1,italic:e.font.italic??!1,strike:e.font.strike??!1,underline:e.font.underline??void 0,color:e.font.color??o?.color}:o,s,c),n=cB(t.fontFamily,t.bold,t.italic);return i.hasEmbeddedFont()?i.getEmbeddedResourceName():i.ensureFont(n)}),d=t.map(e=>BV(e.font?{name:e.font.name??o?.name,size:e.font.size??o?.size,bold:e.font.bold??!1,italic:e.font.italic??!1}:o,s,c).fontSize*n),f=(t,n)=>{let r=0,a=t,o=l[t]??0;for(let s=t+1;s<=n;s++){let t=s<n?l[s]??o:-1;if(t!==o){let n=e.slice(a,s);r+=i.measureText(n,u[o],d[o]),a=s,o=t}}return r},p=0,m=0,h=e.length;for(;m<=h;){let t=e.indexOf(`
461
+ `,m);t===-1&&(t=h);let n=t>m&&e[t-1]===`\r`?t-1:t;if(n===m){if(p++,m=t+1,t===h)break;continue}let i=e.slice(m,n),a=[],o=[],s=!1;for(let e=0;e<i.length;e++){let t=i[e]===` `||i[e]===` `;!t&&!s?(a.push(e),s=!0):t&&s&&(o.push(e),s=!1)}s&&o.push(i.length);let c=m,l=m,u=0;for(let e=0;e<a.length;e++){let t=m+o[e];if(l===c){l=t;continue}f(c,t)<=r?l=t:(u++,c=m+a[e],l=t)}if((l>c||a.length===0)&&u++,p+=u,m=t+1,t===h)break}return Math.max(1,p)}function fH(e,t){let n=new Set,r=e.rowBreaks??[];if(r.length===0)return n;let i=new Map;for(let e=0;e<t.length;e++)i.set(t[e],e);for(let e of r){let t=i.get(e);t!==void 0&&n.add(t+1)}return n}function pH(e){let t=new Map,n=e.merges;if(!n||n.length===0)return t;for(let e of n){let n=iH(e),r=n.s.r+1,i=n.s.c+1,a=n.e.r+1,o=n.e.c+1,s=a-r+1,c=o-i+1;for(let e=r;e<=a;e++)for(let n=i;n<=o;n++)t.set(`${e}:${n}`,{isMaster:e===r&&n===i,rowSpan:s,colSpan:c})}return t}function mH(e,t,n,r){if(e.length===0)return[[]];let i=[],a=[],o=0,s=!0,c=0,l=()=>{c=0;for(let r=0;r<n&&r<e.length&&!(o+e[r]>t&&a.length>0);r++)a.push(r),o+=e[r],c++};for(let u=0;u<e.length;u++){let d=e[u],f=t;for(;;){let e=r.has(u)&&a.length>0;if((e||o+d>f)&&a.length>0){if(!e&&!s&&a.length>0&&a.length===c){a=[],o=0,c=0;continue}i.push(a),a=[],o=0,c=0,s=!1,l();continue}if(!s&&u<n&&a.includes(u))break;a.push(u),o+=d;break}}return a.length>0&&i.push(a),i.length>0?i:[[]]}function hH(e,t,n,r){if(e.length===0)return[[]];let i=new Set,a=n.colBreaks??[];if(a.length>0){let e=new Map;for(let t=0;t<r.length;t++)e.set(r[t],t);for(let t of a){let n=e.get(t);n!==void 0&&i.add(n+1)}}let o=[],s=[],c=0;for(let n=0;n<e.length;n++){let r=e[n];(i.has(n)&&s.length>0||c+r>t+.01)&&s.length>0&&(o.push(s),s=[],c=0),s.push(n),c+=r}return s.length>0&&o.push(s),o.length>0?o:[Array.from({length:e.length},(e,t)=>t)]}function gH(e,t,n,r,i,a,o,s,c,l){let u=e?.text??``,d=e?.style??{},f=BV(d.font,s.defaultFontFamily,s.defaultFontSize),p=f.fontSize*l;if(c.hasEmbeddedFont())c.trackText(u);else{let e=cB(f.fontFamily,f.bold,f.italic);c.ensureFont(e),c.trackText(u)}let m=wH(e,s,c,l,d.font),h=GV(d.border);return{text:u,rect:{x:t,y:n,width:r,height:i},fontFamily:f.fontFamily,fontSize:p,bold:f.bold,italic:f.italic,strike:f.strike,underline:f.underline,textColor:f.textColor,fillColor:VV(d.fill),horizontalAlign:ZV(d.alignment,e?.type,e?.result),verticalAlign:qV(d.alignment),wrapText:d.alignment?.wrapText??!1,borders:h,borderInsets:{top:(h.top?.width??0)/2,right:(h.right?.width??0)/2,bottom:(h.bottom?.width??0)/2,left:(h.left?.width??0)/2},colSpan:a,rowSpan:o,hyperlink:e?.hyperlink??null,richText:m,indent:d.alignment?.indent??0,textRotation:d.alignment?.textRotation===255?`vertical`:d.alignment?.textRotation??0,textOverflowWidth:0}}function _H(e){let t=e.width*1e3;e.dashPattern.length===0&&(t+=100),e.isDouble&&(t+=50);let n=e.color.r+e.color.g+e.color.b;return t+=(3-n)*10,t}function vH(e,t,n){for(let r=0;r<t;r++)for(let t=0;t<n;t++){let n=e.get(`${r}:${t}`);if(n){if(n.borders.right){let i=e.get(`${r}:${t+1}`);if(i?.borders.left){let e=_H(n.borders.right);_H(i.borders.left)>e?(n.borderInsets.right=i.borders.left.width/2,n.borders.right=null):(i.borderInsets.left=n.borders.right.width/2,i.borders.left=null)}}if(n.borders.bottom){let i=e.get(`${r+1}:${t}`);if(i?.borders.top){let e=_H(n.borders.bottom);_H(i.borders.top)>e?(n.borderInsets.bottom=i.borders.top.width/2,n.borders.bottom=null):(i.borderInsets.top=n.borders.bottom.width/2,i.borders.top=null)}}}}}function yH(e,t,n){let r=e.tl,i=(r.nativeCol??r.col??0)+1,a=(r.nativeRow??r.row??0)+1,o=t.find(e=>e.sheetCols.includes(i)&&e.sheetRows.includes(a));if(!o)return null;let s=o.sheetCols.indexOf(i),c=o.sheetRows.indexOf(a),l=o.columnOffsets[s]??o.options.margins.left,u=o.rowYPositions[c]??o.height-o.options.margins.top-(o.options.showSheetNames?20:0),d=((r.nativeColOff??0)/12700||0)*n,f=((r.nativeRowOff??0)/12700||0)*n,p=l+d,m=u-f,h=100,g=100,_=e.extUnit??`px`;if(e.ext)_===`emu`?(h=e.ext.width/9525*n,g=e.ext.height/9525*n):(h=e.ext.width*.75*n,g=e.ext.height*.75*n);else if(e.br){let t=e.br,r=(t.nativeCol??t.col??0)+1,s=(t.nativeRow??t.row??0)+1,d=o.sheetCols.indexOf(r),f=o.sheetRows.indexOf(s),_,v;if(d>=0)_=o.columnOffsets[d];else{let e=o.sheetCols.length-1,t=o.sheetCols[e]??i,n=e>=0?o.columnOffsets[e]+(o.columnWidths[e]??0):l;if(r<=t)_=n;else{let e=o.columnWidths.length>0?o.columnWidths.reduce((e,t)=>e+t,0)/o.columnWidths.length:48;_=n+(r-t)*e}}if(f>=0)v=o.rowYPositions[f];else{let e=o.sheetRows.length-1,t=o.sheetRows[e]??a;if(s<=t){let t=0;for(let n=c;n<=e&&!(o.sheetRows[n]>=s);n++)t+=o.rowHeights[n]??0;v=u-t}else{let r=0;for(let t=c;t<=e;t++)r+=o.rowHeights[t]??0;let i=s-t-1;r+=15*n*i,v=u-r}}let y=((t.nativeColOff??0)/12700||0)*n,b=((t.nativeRowOff??0)/12700||0)*n,x=_+y,S=v-b;h=x-p,g=m-S}let v=o.width-o.options.margins.right,y=o.options.margins.bottom,b=Math.min(Math.abs(h),Math.max(0,v-p)),x=Math.abs(g),S=Math.max(0,m-y);return x>0&&S<x*.5?null:{page:o,x:p,y:m-x,width:b,height:x}}function bH(e,t,n){for(let r of e){let e=yH(r.range,t,n);e&&e.page.images.push({data:r.data,format:r.format,rect:{x:e.x,y:e.y,width:e.width,height:e.height}})}}function xH(e,t,n){for(let r of e){let e=yH(r.range,t,n);if(e){e.page.charts.push({rect:{x:e.x,y:e.y,width:e.width,height:e.height},drawVector:r.drawVector,raster:r.raster});continue}let i=r.range.tl,a=(i.nativeRow??i.row??0)+1,o;for(let e=0;e<t.length;e++){let n=t[e],r=n.sheetRows[n.sheetRows.length-1]??0;if(r>=a-1&&e+1<t.length){o=t[e+1];break}if(r>=a){o=n;break}}if(o||=t[t.length-1],o){let e=o.options.margins,t=o.options.showSheetNames?20:0,n=e.left,i=e.bottom,a=o.width-e.left-e.right,s=o.height-e.top-e.bottom-t;o.charts.push({rect:{x:n,y:i,width:a,height:s},drawVector:r.drawVector,raster:r.raster})}}}function SH(e,t,n,r,i){if(t.colSpan>1){let a=r+t.colSpan-1,o=i.rows.get(n)?.cells.get(a);if(o?.style?.border?.right){let t=GV({right:o.style.border.right});t.right&&(e.borders.right=t.right,e.borderInsets.right=t.right.width/2)}}if(t.rowSpan>1){let a=n+t.rowSpan-1,o=i.rows.get(a)?.cells.get(r);if(o?.style?.border?.bottom){let t=GV({bottom:o.style.border.bottom});t.bottom&&(e.borders.bottom=t.bottom,e.borderInsets.bottom=t.bottom.width/2)}}}function CH(e,t,n,r,i,a,o,s){for(let c=0;c<t.length;c++)for(let l=0;l<n.length;l++){let u=e.get(`${c}:${l}`);if(!u||u.wrapText||u.colSpan>1||!u.text&&!u.richText||typeof u.textRotation==`number`&&u.textRotation!==0||u.textRotation===`vertical`)continue;let d;if(u.richText){d=0;let e=s.hasEmbeddedFont();for(let t of u.richText){let n=e?s.getEmbeddedResourceName():s.ensureFont(cB(t.fontFamily,t.bold,t.italic));d+=s.measureText(t.text,n,t.fontSize)}}else{let e=s.hasEmbeddedFont()?s.getEmbeddedResourceName():s.ensureFont(cB(u.fontFamily,u.bold,u.italic));d=s.measureText(u.text,e,u.fontSize)}let f=u.rect.width-(3+u.borderInsets.left)-(3+u.borderInsets.right);if(d<=f)continue;let p=d-f,m=0;for(let s=l+1;s<n.length;s++){let l=r[t[c]],u=i[n[s]];if(o.has(`${l}:${u}`))break;let d=e.get(`${c}:${s}`);if(d?.text||d?.richText||(m+=a[s],m>=p))break}if(m>0){u.textOverflowWidth=Math.min(p,m);let t=0,r=u.textOverflowWidth;u.borders.right=null;for(let i=l+1;i<n.length;i++){let n=e.get(`${c}:${i}`);if(!n||(n.borders.left=null,t+=a[i],t>=r))break;n.borders.right=null}}}}function wH(e,t,n,r,i){if(!e||e.type!==VB.RichText)return null;let a=e.value;if(!a||typeof a!=`object`||!(`richText`in a))return null;let o=a.richText;if(o.length===0)return null;let s=i?.name??t.defaultFontFamily,c=i?.size??t.defaultFontSize;return o.map(e=>{let t=BV(e.font?{name:e.font.name??i?.name,size:e.font.size??i?.size,bold:e.font.bold??!1,italic:e.font.italic??!1,strike:e.font.strike??!1,underline:e.font.underline??void 0,color:e.font.color??i?.color}:i,s,c);if(n.hasEmbeddedFont())n.trackText(e.text);else{let e=cB(t.fontFamily,t.bold,t.italic);n.ensureFont(e)}return{text:e.text,fontFamily:t.fontFamily,fontSize:t.fontSize*r,bold:t.bold,italic:t.italic,strike:t.strike,underline:t.underline,textColor:t.textColor}})}var TH,EH,DH,OH=t((()=>{If(),pB(),UB(),KB(),jV(),XV(),TH=8.43,EH=15,DH=3}));async function kH(e,t){let n=AH(e,t);for(let e of n.sheets)await jH(n,e,t);return MH(n,e,t)}function AH(e,t){let n=zH(e,t?.sheets);if(n.length===0)throw new tL(`No sheets to export. The workbook is empty or no sheets matched.`);let r=new fB,i=new cL,a=t?.font??null;if(!a){let e=GH(n);if(e.size>0)for(let t of hB())try{let n=bB(t);if([...e].every(e=>n.cmap.has(e))){a=t;break}}catch{}}if(a)try{let e=bB(a);r.registerEmbeddedFont(e)}catch(e){if(t?.font)throw new nL(`Failed to parse TrueType font`,{cause:e})}return{sheets:n,fontManager:r,writer:i,allPages:[]}}async function jH(e,t,n){try{let r=BH(n,t),i=BB(t)?$V(t,r):await QV(t,r,e.fontManager);e.allPages.push(...i)}catch(e){throw new nL(`Failed to layout sheet "${t.name}"`,{cause:e})}}async function MH(e,t,n){let{allPages:r,fontManager:i,writer:a,sheets:o}=e,s=BH(n,o[0]);NH(r,s,o),PH(r),FH(r,i);let c=s.watermark;if(c&&c.type===`text`){let e=c.fontFamily??`Helvetica`,t=c.bold??!1,n=c.italic??!1;i.hasEmbeddedFont()?i.trackText(c.text):i.ensureFont(cB(e,t,n))}let{pageObjNums:l,sheetFirstPage:u,pagesTreeObjNum:d}=await IH(r,i,a,i.writeFontResources(a),c);return RH(a,l,d,u,s,t,n)}function NH(e,t,n){e.length===0&&e.push({pageNumber:1,options:t,cells:[],width:t.pageSize.width,height:t.pageSize.height,sheetName:n[0]?.name??`Sheet1`,sheetCols:[],columnOffsets:[],columnWidths:[],sheetRows:[],rowYPositions:[],rowHeights:[],images:[],charts:[],scaleFactor:1})}function PH(e){for(let t=0;t<e.length;t++)e[t].pageNumber=t+1}function FH(e,t){if(t.hasEmbeddedFont())for(let n of e)n.options.showSheetNames&&t.trackText(n.sheetName);for(let n of e)n.options.showPageNumbers&&t.ensureFont(cB(n.options.defaultFontFamily,!1,!1));if(!t.hasEmbeddedFont())for(let n of e)n.options.showSheetNames&&t.ensureFont(cB(n.options.defaultFontFamily,!0,!1))}async function IH(e,t,n,r,i){let a=[],o=n.allocObject(),s=new Map,c=e.length;for(let l=0;l<e.length;l++)LH(e[l],t,n,r,c,a,o,s,i),l<e.length-1&&await Ef();return{pageObjNums:a,sheetFirstPage:s,pagesTreeObjNum:o}}function LH(e,t,n,r,i,a,o,s,c){try{let{stream:l,alphaValues:u}=JB(e,e.options,t,i),d=new Map;if(e.images.length>0)for(let t=0;t<e.images.length;t++){let r=e.images[t],i=`Im${t+1}`,a=FI(n,r.data,r.format);d.set(i,a),l.drawImage(i,r.rect.x,r.rect.y,r.rect.width,r.rect.height)}if(e.charts.length>0){let r=e.images.length;for(let i of e.charts){if(i.drawVector){let e=MV(l,t,u),n=qH(i.rect);i.drawVector(e,n);continue}if(i.raster){let e=`Im${++r}`,t=FI(n,i.raster.data,i.raster.format);d.set(e,t),l.drawImage(e,i.rect.x,i.rect.y,i.rect.width,i.rect.height)}}}let f;if(c&&WH(c,e)){let r=new ZI,i=bV(r,e,c,t);for(let e of i.alphaValues)u.add(e);for(let e of i.imageXObjects){let t=FI(n,e.data,e.format);d.set(e.name,t)}f=n.allocObject(),n.addStreamObject(f,new CI,r)}let p=n.allocObject();n.addStreamObject(p,new CI,l);let m;m=f?(c?.placement??`under`)===`over`?`[${yI(p)} ${yI(f)}]`:`[${yI(f)} ${yI(p)}]`:yI(p);let h=n.allocObject(),g=t.buildFontDictString(r),_=new CI().set(`Font`,g);if(d.size>0){let e=[`<<`];for(let[t,n]of d)e.push(`/${t} ${yI(n)}`);e.push(`>>`),_.set(`XObject`,e.join(`
462
+ `))}if(u.size>0){let e=[`<<`];for(let t of u){let r=n.allocObject(),i=new CI().set(`Type`,`/ExtGState`).set(`ca`,L(t)).set(`CA`,L(t));n.addObject(r,i),e.push(`/${fV(t)} ${yI(r)}`)}e.push(`>>`),_.set(`ExtGState`,e.join(`
463
+ `))}n.addObject(h,_);let v=[];for(let t of e.cells)if(t.hyperlink){let e=n.allocObject(),r=`[${L(t.rect.x)} ${L(t.rect.y)} ${L(t.rect.x+t.rect.width)} ${L(t.rect.y+t.rect.height)}]`,i=new CI().set(`Type`,`/Annot`).set(`Subtype`,`/Link`).set(`Rect`,r).set(`Border`,`[0 0 0]`).set(`A`,`<< /Type /Action /S /URI /URI (${t.hyperlink.replace(/[()\\]/g,`\\$&`)}) >>`);n.addObject(e,i),v.push(e)}let y=n.addPage({parentRef:o,width:e.width,height:e.height,contentsRef:m,resourcesRef:h,annotRefs:v.length>0?v:void 0});a.push(y),s.has(e.sheetName)||s.set(e.sheetName,a.length-1)}catch(t){throw new nL(`Failed to render page ${e.pageNumber} of "${e.sheetName}"`,{cause:t})}}function RH(e,t,n,r,i,a,o){let s=`[`+t.map(e=>yI(e)).join(` `)+`]`,c=new CI().set(`Type`,`/Pages`).set(`Kids`,s).set(`Count`,String(t.length));e.addObject(n,c);let l;if(r.size>1&&(l=UH(e,r,t)),e.addCatalog(n,l),e.addInfoDict({title:i.title||a.title||void 0,author:i.author||a.creator||void 0,subject:i.subject||a.subject||void 0,creator:i.creator}),o?.encryption){let t=VI(o.encryption);e.setEncryption(t)}return e.build()}function zH(e,t){let n=e.sheets;if(!t||t.length===0)return n.filter(e=>e.state!==`hidden`&&e.state!==`veryHidden`);let r=[];for(let e of t)if(typeof e==`string`){let t=n.find(t=>t.name.toLowerCase()===e.toLowerCase());t&&r.push(t)}else if(typeof e==`number`){let t=n[e-1];t&&r.push(t)}return r}function BH(e,t){let n=t?.pageSetup,r=VH(e?.pageSize,n?.paperSize),i=t&&BB(t)?t.orientation:void 0,a=e?.orientation??i??(n?.orientation===`landscape`?`landscape`:`portrait`),o=HH(e?.margins,n?.margins),s=FV(e?.gridLineColor??`FFD0D0D0`)??{r:.816,g:.816,b:.816},c=e?.repeatRows??!1;if(c===!1&&t&&!BB(t)&&n?.printTitlesRow){let e=n.printTitlesRow.match(/^(\d+)(?::(\d+))?$/);e&&(c=parseInt(e[2]??e[1],10))}return{pageSize:r,orientation:a,margins:o,fitToPage:e?.fitToPage===void 0?!0:e.fitToPage,scale:Math.max(.1,Math.min(3,e?.scale??(e?.fitToPage===void 0||e.fitToPage?1:n?.scale?n.scale/100:1))),showGridLines:e?.showGridLines??n?.showGridLines??!1,gridLineColor:s,repeatRows:c,defaultFontFamily:e?.defaultFontFamily??`Helvetica`,defaultFontSize:e?.defaultFontSize??11,showSheetNames:e?.showSheetNames??!1,showPageNumbers:e?.showPageNumbers??!1,title:e?.title??``,author:e?.author??``,subject:e?.subject??``,creator:e?.creator??`excelts`,watermark:e?.watermark}}function VH(e,t){return e?typeof e==`string`?HB[e]??HB.A4:e:t===void 0?HB.A4:JH[t]??HB.A4}function HH(e,t){let n=t?{top:t.top*72,right:t.right*72,bottom:t.bottom*72,left:t.left*72}:{top:72,right:72,bottom:72,left:72};return e?{top:e.top??n.top,right:e.right??n.right,bottom:e.bottom??n.bottom,left:e.left??n.left}:n}function UH(e,t,n){let r=e.allocObject(),i=Array.from(t.entries()),a=[];for(let t=0;t<i.length;t++)a.push(e.allocObject());for(let t=0;t<i.length;t++){let[o,s]=i[t],c=n[s],l=new CI().set(`Title`,hI(o)).set(`Parent`,yI(r)).set(`Dest`,`[${yI(c)} /Fit]`);t>0&&l.set(`Prev`,yI(a[t-1])),t<i.length-1&&l.set(`Next`,yI(a[t+1])),e.addObject(a[t],l)}let o=new CI().set(`Type`,`/Outlines`).set(`First`,yI(a[0])).set(`Last`,yI(a[a.length-1])).set(`Count`,String(i.length));return e.addObject(r,o),r}function WH(e,t){if(e.pages&&e.pages.length>0&&!e.pages.includes(t.pageNumber))return!1;if(e.sheets&&e.sheets.length>0){let n=t.sheetName.toLowerCase();if(!e.sheets.some(e=>e.toLowerCase()===n))return!1}return!0}function GH(e){let t=new Set;for(let n of e)if(!BB(n)){for(let e of n.rows.values())for(let n of e.cells.values())if(KH(n.text,t),n.type===VB.RichText&&n.value&&typeof n.value==`object`&&`richText`in n.value){let e=n.value.richText;for(let n of e)KH(n.text,t)}}return t}function KH(e,t){if(e)for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r>65535&&n++,YI(r)||t.add(r)}}function qH(e){let{x:t,y:n,width:r,height:i}=e;if(r<=0||i<=0)return e;let a=r/i,o=2.5,s=16/9;if(a>=1&&a<=o)return e;let c=r,l=i;a>o?c=i*s:l=r/s;let u=(r-c)/2,d=(i-l)/2;return{x:t+u,y:n+d,width:c,height:l}}var JH,YH=t((()=>{If(),RI(),GI(),wI(),$I(),lL(),aL(),pB(),yB(),zB(),UB(),PV(),OH(),jV(),XV(),JH={1:HB.LETTER,5:HB.LEGAL,9:HB.A4,8:HB.A3,11:HB.A5,17:HB.TABLOID}}));YH(),UB();async function XH(e,t){return kH(ZH(e),t)}function ZH(e){return Array.isArray(e)?{sheets:[QH({data:e})]}:`sheets`in e?{title:e.title,creator:e.author,sheets:e.sheets.map((e,t)=>QH(e,t))}:{sheets:[QH(e)]}}function QH(e,t){let n=e.data,r=e.name??`Sheet${(t??0)+1}`,i=e.columns?.map(e=>typeof e==`number`?void 0:e.header),a=i?.some(e=>e!==void 0)??!1,o=0;for(let e of n)e.length>o&&(o=e.length);let s=Math.max(o,e.columns?.length??0),c=n.length+ +!!a;if(e.images)for(let t of e.images){let e=t.col+1,n=t.row+1;e>s&&(s=e),n>c&&(c=n)}if(s===0)return{name:r,bounds:{top:0,left:0,bottom:0,right:0},columns:new Map,rows:new Map};let l=new Map;if(e.columns)for(let t=0;t<e.columns.length;t++){let n=e.columns[t],r=typeof n==`number`?n:n.width;l.set(t+1,{width:r??12})}for(let e=1;e<=s;e++)l.has(e)||l.set(e,{width:12});let u=new Map,d=1;if(a&&i){let e=new Map;for(let t=0;t<i.length;t++){let n=i[t];n!==void 0&&e.set(t+1,{type:VB.String,value:n,text:n,col:t+1,style:{font:{bold:!0}}})}u.set(1,{cells:e}),d=2}for(let e=0;e<n.length;e++){let t=e+d,r=n[e],i=new Map;for(let e=0;e<r.length;e++){let t=$H(r[e],e+1);t&&i.set(e+1,t)}u.set(t,{cells:i})}let f;if(e.images&&e.images.length>0){f=e.images.map(e=>({data:e.data,format:e.format,range:{tl:{col:e.col,row:e.row},ext:{width:e.width,height:e.height}}}));for(let e=1;e<=s;e++)l.has(e)||l.set(e,{width:12});for(let e=1;e<=c;e++)u.has(e)||u.set(e,{cells:new Map})}return{name:r,bounds:{top:1,left:1,bottom:c,right:s},columns:l,rows:u,images:f}}function $H(e,t){if(e==null)return null;if(typeof e==`object`&&!(e instanceof Date)&&`value`in e){let n=e,r=$H(n.value,t);if(!r)return null;let i={};return(n.bold||n.italic||n.fontSize||n.fontColor)&&(i.font={bold:n.bold,italic:n.italic,size:n.fontSize,color:n.fontColor?{argb:n.fontColor}:void 0}),n.fillColor&&(i.fill={type:`pattern`,pattern:`solid`,fgColor:{argb:n.fillColor}}),n.align&&(i.alignment={horizontal:n.align}),r.style=i,r}return typeof e==`string`?{type:VB.String,value:e,text:e,col:t}:typeof e==`number`?{type:VB.Number,value:e,text:String(e),col:t}:typeof e==`boolean`?{type:VB.Boolean,value:e,text:e?`TRUE`:`FALSE`,col:t}:e instanceof Date?{type:VB.Date,value:e,text:e.toLocaleDateString(),col:t}:null}async function eU(e,t){return JP(e),kH(await tU(e),t)}async function tU(e){let t=await Promise.all(e.worksheets.map(t=>nU(t,e))),n=await Promise.all(e.chartsheets.map(e=>TU(e))),r=[...t,...n];return r.sort((e,t)=>(e.orderNo??1/0)-(t.orderNo??1/0)),{title:e.title||void 0,creator:e.creator||void 0,subject:e.subject||void 0,sheets:r}}async function nU(e,t){let n=e.dimensions,r=n&&n.model.top>0&&n.model.left>0,i=r?{top:n.model.top,left:n.model.left,bottom:n.model.bottom,right:n.model.right}:{top:0,left:0,bottom:0,right:0};if(r)for(let t=i.top;t<=i.bottom;t++){let n=e.findRow(t);n&&n.eachCell({includeEmpty:!0},e=>{e.col>i.right&&(e.style&&(e.style.border&&(e.style.border.top||e.style.border.right||e.style.border.bottom||e.style.border.left)||e.style.fill||e.style.font)||e.type!==0&&e.type!==1)&&(i.right=e.col)})}let a=new Map;if(r)for(let t=i.left;t<=i.right;t++){let n=e.getColumn(t);a.set(t,{hidden:n.hidden||void 0,width:n.width??void 0})}let o=new Map;if(r)for(let t=i.top;t<=i.bottom;t++){let n=e.findRow(t);if(!n)continue;let r=new Map;n.eachCell({includeEmpty:!0},e=>{let t=e.type!==0&&e.type!==1,n=e.style&&(e.style.border&&(e.style.border.top||e.style.border.right||e.style.border.bottom||e.style.border.left)||e.style.fill||e.style.font);(t||n)&&r.set(e.col,rU(e))}),o.set(t,{hidden:n.hidden||void 0,height:n.height??void 0,customHeight:n.customHeight||void 0,cells:r})}let s=e.hasMerges&&e.model.mergeCells?[...e.model.mergeCells]:void 0,c=e.pageSetup,l=c?{orientation:c.orientation,paperSize:c.paperSize,margins:c.margins?{left:c.margins.left,right:c.margins.right,top:c.margins.top,bottom:c.margins.bottom}:void 0,scale:c.scale,printTitlesRow:c.printTitlesRow,showGridLines:c.showGridLines,printArea:c.printArea}:void 0,u=e.rowBreaks?.map(e=>e.id),d=e.colBreaks?.map(e=>e.id),f=hU(e,t),p=await gU(e),m=_U(e),h=p?m?[...p,...m]:p:m||void 0,g=[];if(f)for(let e of f)g.push(e.range);if(h)for(let e of h)g.push(e.range);if(g.length>0){for(let e of g){let t=e.tl,n=(t.nativeCol??t.col??0)+1,r=(t.nativeRow??t.row??0)+1;if(i.top===0&&i.left===0&&(i.top=1,i.left=1),n>i.right&&(i.right=n),r>i.bottom&&(i.bottom=r),e.br){let t=e.br,n=(t.nativeCol??t.col??0)+1,r=(t.nativeRow??t.row??0)+1;n>i.right&&(i.right=n),r>i.bottom&&(i.bottom=r)}}for(let t=i.left;t<=i.right;t++)if(!a.has(t)){let n=e.getColumn(t);a.set(t,{hidden:n.hidden||void 0,width:n.width??void 0})}for(let e=i.top;e<=i.bottom;e++)o.has(e)||o.set(e,{cells:new Map})}return{kind:`worksheet`,name:e.name,state:e.state??`visible`,orderNo:e.orderNo,bounds:i,columns:a,rows:o,merges:s,pageSetup:l,rowBreaks:u,colBreaks:d,images:f,charts:h}}function rU(e){let t=iU(e.type),n=aU(e),r=cU(e.style);return{type:t,value:sU(e),text:n,style:r,hyperlink:e.hyperlink||void 0,result:e.result??void 0,col:e.col}}function iU(e){switch(e){case 0:return VB.Empty;case 1:return VB.Merge;case 2:return VB.Number;case 3:case 7:return VB.String;case 4:return VB.Date;case 5:return VB.Hyperlink;case 6:return VB.Formula;case 8:return VB.RichText;case 9:return VB.Boolean;case 10:return VB.Error;default:return VB.String}}function aU(e){if(!e)return``;switch(e.type){case 0:case 1:return``;case 8:case 5:return e.text??``;case 10:return e.value?.error??e.text??``;case 6:{let t=e.result;return t==null?e.text??``:typeof t==`object`&&`error`in t?t.error:oU(t,e.style?.numFmt)}default:{let t=e.value;return t==null?``:oU(t,e.style?.numFmt)}}}function oU(e,t){let n=typeof t==`string`?t:t?.formatCode;if(n&&(typeof e==`number`||e instanceof Date||typeof e==`boolean`))try{return dp(e,n)}catch{}return e instanceof Date?e.toLocaleDateString():String(e)}function sU(e){if(e.type===8){let t=e.value;if(t?.richText)return{richText:t.richText.map(e=>({text:e.text,font:e.font?lU(e.font):void 0}))}}return e.value}function cU(e){if(e)return{font:e.font?lU(e.font):void 0,numFmt:e.numFmt,fill:e.fill?dU(e.fill):void 0,border:e.border?pU(e.border):void 0,alignment:e.alignment?mU(e.alignment):void 0}}function lU(e){return{name:e.name,size:e.size,bold:e.bold,italic:e.italic,strike:e.strike,underline:e.underline,color:e.color?uU(e.color):void 0}}function uU(e){return{argb:e.argb,theme:e.theme,tint:e.tint,indexed:e.indexed}}function dU(e){let t={type:e.type??`pattern`,pattern:e.pattern,fgColor:e.fgColor?uU(e.fgColor):void 0};return e.stops&&(t.stops=e.stops.map(e=>({color:uU(e.color)}))),t}function fU(e){return{style:e.style,color:e.color?uU(e.color):void 0}}function pU(e){return{top:e.top?fU(e.top):void 0,right:e.right?fU(e.right):void 0,bottom:e.bottom?fU(e.bottom):void 0,left:e.left?fU(e.left):void 0}}function mU(e){return{horizontal:e.horizontal,vertical:e.vertical,wrapText:e.wrapText,indent:e.indent,textRotation:e.textRotation}}function hU(e,t){let n=e.getImages?.();if(!n||!Array.isArray(n)||n.length===0)return;let r=[];for(let e of n){if(!e.range?.tl)continue;let n=e.imageId,i=t.getImage?.(Number(n));if(!i)continue;let a;if(i.buffer instanceof Uint8Array?a=i.buffer:i.base64&&(a=cf(i.base64)),!a||a.length===0)continue;let o=i.extension;o!==`jpeg`&&o!==`png`||r.push({data:a,format:o,range:{tl:{col:e.range.tl.col??0,row:e.range.tl.row??0,nativeCol:e.range.tl.nativeCol,nativeRow:e.range.tl.nativeRow,nativeColOff:e.range.tl.nativeColOff,nativeRowOff:e.range.tl.nativeRowOff},br:e.range.br?{col:e.range.br.col??0,row:e.range.br.row??0,nativeCol:e.range.br.nativeCol,nativeRow:e.range.br.nativeRow,nativeColOff:e.range.br.nativeColOff,nativeRowOff:e.range.br.nativeRowOff}:void 0,ext:e.range.ext?{width:e.range.ext.width,height:e.range.ext.height}:void 0,extUnit:e.range.ext?`px`:void 0}})}return r.length>0?r:void 0}async function gU(e){let t=e.getCharts?.();if(!t||!Array.isArray(t)||t.length===0)return;let n=[];for(let r of t){let t=SU(r);if(!t)continue;let i=r.chartModel,a=r.chartExModel;if(i){n.push({range:t,drawVector:(e,t)=>{T().drawChartPdf(e,i,{x:t.x,y:t.y,width:t.width,height:t.height})}});continue}if(a){if(CU(a,e),T().canRenderChartExAsVectorPdf(a))n.push({range:t,drawVector:(e,t)=>{T().drawChartExPdf(e,a,{x:t.x,y:t.y,width:t.width,height:t.height})}});else{let{widthPx:e,heightPx:r}=wU(t),i=await T().renderChartExPng(a,{width:e,height:r,scale:2});n.push({range:t,raster:{data:i,format:`png`}})}continue}}return n.length>0?n:void 0}function _U(e){let t=e.getSparklineGroups?.();if(!t||t.length===0)return;let n=[];for(let r of t)for(let t of r.sparklines){let{dataRef:i,cellRef:a}=t;if(!a)continue;let o=a.match(/^([A-Z]+)(\d+)$/i);if(!o)continue;let s=vU(o[1]),c=parseInt(o[2],10),l=yU(e,i);if(l.length===0)continue;let u={tl:{col:s-1,row:c-1,nativeCol:s-1,nativeRow:c-1},br:{col:s,row:c,nativeCol:s,nativeRow:c}};n.push({range:u,drawVector:(e,t)=>{bU(e,r,l,t)}})}return n.length>0?n:void 0}function vU(e){let t=0;for(let n=0;n<e.length;n++)t=t*26+(e.charCodeAt(n)&31);return t}function yU(e,t){if(!t)return[];let n=t.lastIndexOf(`!`),r=n>=0?t.slice(n+1):t,i=e;if(n>=0){let r=t.slice(0,n);r.startsWith(`'`)&&r.endsWith(`'`)&&(r=r.slice(1,-1).replace(/''/g,`'`));let a=e.workbook?.getWorksheet?.(r);a&&(i=a)}let a=r.replace(/\$/g,``).split(`:`);if(a.length!==2)return[];let o=a[0].match(/^([A-Z]+)(\d+)$/i),s=a[1].match(/^([A-Z]+)(\d+)$/i);if(!o||!s)return[];let c=vU(o[1]),l=parseInt(o[2],10),u=vU(s[1]),d=parseInt(s[2],10),f=[];if(l===d)for(let e=c;e<=u;e++){let t=i.getCell(l,e),n=typeof t.value==`number`?t.value:t.result??NaN;f.push(typeof n==`number`?n:NaN)}else for(let e=l;e<=d;e++){let t=i.getCell(e,c),n=typeof t.value==`number`?t.value:t.result??NaN;f.push(typeof n==`number`?n:NaN)}return f}function bU(e,t,n,r){let{x:i,y:a,width:o,height:s}=r;if(o<=0||s<=0||n.length===0)return;let c=i+2,l=a+2,u=o-4,d=s-4;if(u<=0||d<=0)return;let f=n.filter(e=>Number.isFinite(e));if(f.length===0)return;let p=Math.min(...f),m=Math.max(...f);t.minAxisType===`custom`&&t.manualMin!==void 0&&(p=t.manualMin),t.maxAxisType===`custom`&&t.manualMax!==void 0&&(m=t.manualMax),p===m&&(--p,m+=1);let h=m-p,g=t.rightToLeft===!0,_=n.length,v=e=>{let t=_<=1?.5:e/(_-1);return c+(g?1-t:t)*u},y=e=>Number.isFinite(e)?l+(e-p)/h*d:l,b=xU(t.colorSeries)??{r:.22,g:.38,b:.57},x=xU(t.colorNegative)??{r:.82,g:0,b:0};if(t.type===`column`||t.type===`stacked`){let r=Math.max(1,u/Math.max(_,1)*.8);for(let i=0;i<_;i++){let a=n[i];if(!Number.isFinite(a)||a===0)continue;let o=v(i)-r/2,s=a<0&&t.negative===!0?x:b,c,u;if(t.type===`stacked`){let e=d/2;a>=0?(c=l+e,u=e):(c=l,u=e)}else{let e=p<=0&&m>=0?y(0):l,t=y(a);c=Math.min(e,t),u=Math.abs(t-e)}e.drawRect({x:o,y:c,width:r,height:Math.max(u,.5),fill:s})}}else{let r=[];for(let e=0;e<_;e++)Number.isFinite(n[e])&&r.push({px:v(e),py:y(n[e])});if(r.length>=2)for(let n=1;n<r.length;n++)e.drawLine({x1:r[n-1].px,y1:r[n-1].py,x2:r[n].px,y2:r[n].py,color:b,lineWidth:t.lineWeight?t.lineWeight*.75:.75});if(t.markers&&e.drawCircle){let n=xU(t.colorMarkers)??b;for(let t of r)e.drawCircle({cx:t.px,cy:t.py,r:1.2,fill:n})}}}function xU(e){if(e&&e.rgb){let t=e.rgb.replace(/^#/,``).replace(/^FF/i,``),n=parseInt(t.slice(0,2),16)/255,r=parseInt(t.slice(2,4),16)/255,i=parseInt(t.slice(4,6),16)/255;if(Number.isFinite(n)&&Number.isFinite(r)&&Number.isFinite(i))return{r:n,g:r,b:i}}}function SU(e){let t=e.range;if(!t?.tl)return;let n=t.tl,r=t.br;return{tl:{col:n.col??0,row:n.row??0,nativeCol:n.nativeCol,nativeRow:n.nativeRow,nativeColOff:n.nativeColOff,nativeRowOff:n.nativeRowOff},br:r?{col:r.col??0,row:r.row??0,nativeCol:r.nativeCol,nativeRow:r.nativeRow,nativeColOff:r.nativeColOff,nativeRowOff:r.nativeRowOff}:void 0,ext:t.ext?{width:t.ext.cx,height:t.ext.cy}:void 0,extUnit:t.ext?`emu`:void 0}}function CU(e,t){let n=e.chartSpace?.chartData?.data;if(!n||!n.some(e=>{let t=e.strDim&&(!e.strDim.levels||e.strDim.levels.length===0),n=e.numDim&&(!e.numDim.levels||e.numDim.levels.length===0);return t||n}))return;let r=[];for(let e of n){let t=e.strDim;t?._skipCache&&(r.push(t),delete t._skipCache);let n=e.numDim;n?._skipCache&&(r.push(n),delete n._skipCache)}try{T().fillChartExCaches(e,t.workbook,t)}catch{}for(let e of r)e._skipCache=!0}function wU(e){if(e.ext&&e.extUnit===`emu`){let t=e.ext.width/9525,n=e.ext.height/9525;return{widthPx:Math.max(120,Math.round(96/72*t)),heightPx:Math.max(80,Math.round(96/72*n))}}return{widthPx:640,heightPx:420}}async function TU(e){let t=e.chartModel,n=e.chartExModel,r={};if(t){let e=t;r={drawVector:(t,n)=>{T().drawChartPdf(t,e,{x:n.x,y:n.y,width:n.width,height:n.height})}}}else if(n)if(T().canRenderChartExAsVectorPdf(n)){let e=n;r={drawVector:(t,n)=>{T().drawChartExPdf(t,e,{x:n.x,y:n.y,width:n.width,height:n.height})}}}else r={raster:{data:await T().renderChartExPng(n,{width:EU.width,height:EU.height,scale:2}),format:`png`}};let i=e.pageSetup?.orientation,a=i===`portrait`||i===`landscape`?i:`landscape`,o=e.pageSetup,s=o?{orientation:o.orientation,paperSize:o.paperSize,showGridLines:!1}:void 0;return{kind:`chartsheet`,name:e.name,state:e.state,orderNo:e.model.orderNo,orientation:a,chart:r,pageSetup:s}}var EU,DU=t((()=>{Bi(),bp(),XP(),If(),YH(),UB(),EU={width:1280,height:720}}));return pE(),Wp(),Bd(),Hp(),pa(),Lw(),Fy(),lT(),Hd(),Ly(),Fw(),pu(),Tw(),G_(),qS(),Kp(),Li(),Aa(),Wi(),bp(),Ba(),If(),sf(),Tt(),u(),lr(),DU(),UB(),aL(),la(),mF(),e.Anchor=Py,e.BaseError=c,e.Cell=O,e.Chartsheet=Ui,e.Column=zd,e.ColumnOutOfBoundsError=Yi,e.CsvFormatterStream=Fi,e.CsvParserStream=ji,e.DataValidations=Iy,e.DateFormatter=wt,e.DateParser=Ct,e.DefinedNames=ka,e.DocumentType=lu,e.Enums=fu,e.ErrorValue=du,e.ExcelDownloadError=ra,e.ExcelError=Ki,e.ExcelFileError=ta,e.ExcelNotSupportedError=ea,e.ExcelStreamStateError=na,e.FormCheckbox=Pw,e.FormulaType=su,e.Image=Iw,e.ImageError=sa,e.InvalidAddressError=Ji,e.InvalidValueTypeError=Qi,e.MarkdownError=fF,e.MarkdownParseError=pF,e.MaxItemsExceededError=ca,e.MergeConflictError=Zi,e.Note=Vd,e.PageSizes=HB,e.PaperSize=nI,e.PdfError=tL,e.PdfFontError=rL,e.PdfRenderError=nL,e.PdfStructureError=iL,e.PivotTableError=ia,e.Range=fa,e.ReadingOrder=uu,e.RelationshipType=cu,e.Row=Up,e.RowOutOfBoundsError=Xi,e.Table=cT,e.TableError=oa,e.ValueType=ou,e.Workbook=tI,e.WorkbookReader=W_,e.WorkbookWriter=ww,e.Worksheet=fE,e.WorksheetNameError=qi,e.WorksheetReader=Gp,e.WorksheetWriter=KS,e.XmlParseError=$i,e.base64ToUint8Array=cf,e.concatUint8Arrays=Zn,e.createCsvFormatterStream=Pi,e.createCsvParserStream=Ai,e.createTextWatermarkImage=rI,e.dateToExcel=lf,e.decodeCell=Fa,e.decodeCol=ja,e.decodeRange=La,e.decodeRow=Na,e.encodeCell=Ia,e.encodeCol=Ma,e.encodeRange=Ra,e.encodeRow=Pa,e.errorToJSON=a,e.excelToDate=uf,e.excelToPdf=eU,e.formatCellValue=dp,e.getCellDisplayText=fp,e.getErrorChain=o,e.getRootCause=s,e.getSupportedFormats=ct,e.isDateDisplayFormat=up,e.isExcelError=Gi,e.isPdfError=eL,e.pdf=XH,e.stringToUint8Array=Yn,e.toError=i,e.toUint8Array=Qn,e.uint8ArrayToBase64=wf,e.uint8ArrayToString=Xn,e.validateXmlName=Yd,e.xmlDecode=Kd,e.xmlEncode=qd,e.xmlEncodeAttr=Jd,e})({});