openwork-server 0.18.73 → 0.18.74

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 (90) hide show
  1. package/dist/opencode-plugin-deps-1.18.33.tgz +0 -0
  2. package/dist/opencode-plugins/cloud-coding-turn-release.js +58 -0
  3. package/dist/opencode-plugins/computer-routing-v2.js +77 -0
  4. package/dist/opencode-plugins/openwork-agent-permissions-v2.js +14 -3
  5. package/dist/opencode-plugins/openwork-chrome-devtools.js +2 -2
  6. package/dist/opencode-plugins/openwork-context-v2.js +348 -65
  7. package/dist/opencode-plugins/openwork-extensions-preview.js +456 -4
  8. package/dist/opencode-plugins/openwork-gateway-quota-v2.js +41 -1
  9. package/dist/opencode-plugins/openwork-gateway-quota.js +41 -1
  10. package/dist/opencode-plugins/openwork-mcp-results-v2.js +164 -14
  11. package/dist/opencode-plugins/openwork-mcp-server-events-v2.js +111 -0
  12. package/dist/opencode-plugins/openwork-mcp-server-skills-v2.js +176 -0
  13. package/dist/opencode-plugins/openwork-private-values-v2.js +15 -4
  14. package/dist/opencode-plugins/openwork-private-values.js +15 -4
  15. package/dist/opencode-plugins/openwork-provider-adapters.js +27 -1
  16. package/dist/opencode-plugins/openwork-provider-keys-v2.js +67 -0
  17. package/dist/opencode-plugins/openwork-sandbox-v2.js +1477 -10
  18. package/dist/opencode-plugins/private-values-tool.js +1 -1
  19. package/dist/openwork-server.mjs +66764 -5037
  20. package/package.json +1 -1
  21. package/web/assets/{abnfDiagram-VCTEODGH-CT7h6RSR.js → abnfDiagram-VCTEODGH-C1Gri9T8.js} +1 -1
  22. package/web/assets/{app-DDsVI393.js → app-CoFPYBYF.js} +542 -526
  23. package/web/assets/app-aKrWzh-_.css +32 -0
  24. package/web/assets/{arc-DrdxwkS1.js → arc-DcBBW_Q9.js} +1 -1
  25. package/web/assets/{architectureDiagram-5GKGNRK7-BHmeLgIo.js → architectureDiagram-5GKGNRK7-CTnuu2og.js} +1 -1
  26. package/web/assets/{artifact-code-view-BGAA8-Ej.js → artifact-code-view-CVhOSCb2.js} +1 -1
  27. package/web/assets/{artifact-office-preview-CCkdmKIT.js → artifact-office-preview-DHx-nPK0.js} +1 -1
  28. package/web/assets/{artifact-spreadsheet-editor-CMs_-Fs-.js → artifact-spreadsheet-editor-CyLsgBTK.js} +1 -1
  29. package/web/assets/{artifact-text-editor-TtuV8SdE.js → artifact-text-editor-4rrtf0C2.js} +1 -1
  30. package/web/assets/{blockDiagram-OSKFZWR5-CQ3xUn93.js → blockDiagram-OSKFZWR5-DbHntwyh.js} +1 -1
  31. package/web/assets/{c4Diagram-7LVT6UL2-s1wM6Iib.js → c4Diagram-7LVT6UL2-DPjlygzs.js} +1 -1
  32. package/web/assets/channel-UI6sNcoO.js +1 -0
  33. package/web/assets/{chunk-2Q5K7J3B-BZGXkEN4.js → chunk-2Q5K7J3B-CwWe3fjf.js} +1 -1
  34. package/web/assets/{chunk-5VM5RSS4-C0tCaGEn.js → chunk-5VM5RSS4-D6ahhVKI.js} +1 -1
  35. package/web/assets/{chunk-F27PBJKO-CGT4AvxR.js → chunk-F27PBJKO-CKHJE6FB.js} +1 -1
  36. package/web/assets/{chunk-HLEWEB6X-BUm0nTzw.js → chunk-HLEWEB6X-CpB4YFh9.js} +1 -1
  37. package/web/assets/{chunk-JWPE2WC7-BrmOFhXE.js → chunk-JWPE2WC7-CuGkPOY8.js} +1 -1
  38. package/web/assets/{chunk-POPQ4Y6H-D0Red1rH.js → chunk-POPQ4Y6H-BNCy4Rnz.js} +1 -1
  39. package/web/assets/{chunk-SVP7TREG-BOfUyMpo.js → chunk-SVP7TREG-BRLZtRG2.js} +1 -1
  40. package/web/assets/{chunk-XXDRQBXY-DdDJLBr5.js → chunk-XXDRQBXY-BXUFFdz9.js} +1 -1
  41. package/web/assets/{chunk-ZLD2IHE6-CtgRsQI9.js → chunk-ZLD2IHE6-DgSq1MWh.js} +1 -1
  42. package/web/assets/classDiagram-CYGNFDIV-Cwqk7Tox.js +1 -0
  43. package/web/assets/classDiagram-v2-TLXNO2FR-Cwqk7Tox.js +1 -0
  44. package/web/assets/{cose-bilkent-JH36ORCC-C2GkVjI-.js → cose-bilkent-JH36ORCC-BNS5x2WS.js} +1 -1
  45. package/web/assets/{cynefin-OW5HDTMX-290exk3b.js → cynefin-OW5HDTMX-xcD6kiaN.js} +1 -1
  46. package/web/assets/{cynefinDiagram-5FMLGOSQ-Bn4pzfGg.js → cynefinDiagram-5FMLGOSQ-Uh07MG7J.js} +1 -1
  47. package/web/assets/{dagre-OS7QT2EB-pvGtPuBl.js → dagre-OS7QT2EB-BR2ZK2Ka.js} +1 -1
  48. package/web/assets/{diagram-S7CK7UJ4-CWs5HWfs.js → diagram-S7CK7UJ4-CkeF04XL.js} +1 -1
  49. package/web/assets/{diagram-UQ7AKVKN-DAtsBm-A.js → diagram-UQ7AKVKN-tszgJvn1.js} +1 -1
  50. package/web/assets/{diagram-VSXAHHWV-B0Z-KH-p.js → diagram-VSXAHHWV-vQ_L10cP.js} +1 -1
  51. package/web/assets/{diagram-VX7I27RA-Bz5GVlm5.js → diagram-VX7I27RA-DhttrIa4.js} +1 -1
  52. package/web/assets/{diagram-Z3DM3KII-BhwH3kbC.js → diagram-Z3DM3KII-CSOtexfx.js} +1 -1
  53. package/web/assets/{ebnfDiagram-PWID7BFC-CIEcjysp.js → ebnfDiagram-PWID7BFC-DrXIeAI2.js} +1 -1
  54. package/web/assets/{erDiagram-2YWLMYGG-BrdXGtuT.js → erDiagram-2YWLMYGG-B6eY49sP.js} +1 -1
  55. package/web/assets/{flowDiagram-T62WH6J4-DskTn8O1.js → flowDiagram-T62WH6J4-BSWkKNsB.js} +1 -1
  56. package/web/assets/{ganttDiagram-EL5Y4UJY-OCmeEDkw.js → ganttDiagram-EL5Y4UJY-DjLWzUnc.js} +1 -1
  57. package/web/assets/{gitGraphDiagram-WWUBYQGX-BuhI6DQ1.js → gitGraphDiagram-WWUBYQGX-DLix_KEt.js} +1 -1
  58. package/web/assets/{infoDiagram-FKFFQAWI-C3k38hJ_.js → infoDiagram-FKFFQAWI-Qk5Rwj1J.js} +1 -1
  59. package/web/assets/{ishikawaDiagram-5VMMS53U-C6Hpxc9K.js → ishikawaDiagram-5VMMS53U-BYnLLj60.js} +1 -1
  60. package/web/assets/{journeyDiagram-EYS64GPL-C7KcOJMH.js → journeyDiagram-EYS64GPL-DWbjv9jB.js} +1 -1
  61. package/web/assets/{kanban-definition-UXKFOSKX-ZcMziysx.js → kanban-definition-UXKFOSKX-DBKDdN7W.js} +1 -1
  62. package/web/assets/{layout-DzriRV2A.js → layout-C3nuFW6O.js} +1 -1
  63. package/web/assets/{linear-DL_T580R.js → linear-yuvoF7oC.js} +1 -1
  64. package/web/assets/{mermaid.core-C4R8NQRz.js → mermaid.core-Cf_HDEwk.js} +6 -6
  65. package/web/assets/{mindmap-definition-THT77NOG-n6izCCQf.js → mindmap-definition-THT77NOG-CLlmGHfy.js} +1 -1
  66. package/web/assets/{pegDiagram-XKGWAZYB-BADF-j9h.js → pegDiagram-XKGWAZYB-DF2jK0hL.js} +1 -1
  67. package/web/assets/{pieDiagram-E7YTZNPT-BtdHIRbI.js → pieDiagram-E7YTZNPT-B7D6K8Dy.js} +1 -1
  68. package/web/assets/{quadrantDiagram-AXDQQJYC-DhbkPfnT.js → quadrantDiagram-AXDQQJYC-BJs4k_-l.js} +1 -1
  69. package/web/assets/{railroadDiagram-O6MQD6OU-BlyQ_Gry.js → railroadDiagram-O6MQD6OU-Bvh8M0tG.js} +1 -1
  70. package/web/assets/{requirementDiagram-IS5BZ75X-BzIoUxA6.js → requirementDiagram-IS5BZ75X-LojIE3iY.js} +1 -1
  71. package/web/assets/{sankeyDiagram-P5KCCOFB-qPG2gCyL.js → sankeyDiagram-P5KCCOFB-DDgsHbe_.js} +1 -1
  72. package/web/assets/{sequenceDiagram-WJ2MYXX4-Bx12LmjC.js → sequenceDiagram-WJ2MYXX4-B0n0qkKj.js} +1 -1
  73. package/web/assets/{sizeCapture-INFHLROL-CvyuDIwF.js → sizeCapture-INFHLROL-dvjrjvhR.js} +1 -1
  74. package/web/assets/{stateDiagram-XQSTLZYL-DU9RhZb1.js → stateDiagram-XQSTLZYL-6R2ncL9w.js} +1 -1
  75. package/web/assets/stateDiagram-v2-IH3M54BS-C3zcPvlu.js +1 -0
  76. package/web/assets/{swimlanes-V6O3JKXN-CTXpVjqj.js → swimlanes-V6O3JKXN-NgTb-Uz5.js} +1 -1
  77. package/web/assets/swimlanesDiagram-JKAHXJPX-CA7dhlYX.js +8 -0
  78. package/web/assets/{timeline-definition-24CTP7MA-U_izIFdJ.js → timeline-definition-24CTP7MA-2H_ljVU0.js} +1 -1
  79. package/web/assets/{vennDiagram-4TSXK5OY-DWquLtuy.js → vennDiagram-4TSXK5OY-BKJ-Jni_.js} +1 -1
  80. package/web/assets/{wardleyDiagram-VM6X3IG4-CH8aTVHX.js → wardleyDiagram-VM6X3IG4-BY36Sv2N.js} +1 -1
  81. package/web/assets/{workspace-file-tree-CmGwayaP.js → workspace-file-tree-C2bTmTtl.js} +7 -7
  82. package/web/assets/{xlsx-workbook-DcK1GLDS.js → xlsx-workbook-B0y0zWAe.js} +1 -1
  83. package/web/assets/{xychartDiagram-S5SC5T6Z-r1FFIWA_.js → xychartDiagram-S5SC5T6Z-DabU-r2I.js} +1 -1
  84. package/web/index.html +2 -2
  85. package/web/assets/app-BinIaXyk.css +0 -32
  86. package/web/assets/channel-DUquWRxW.js +0 -1
  87. package/web/assets/classDiagram-CYGNFDIV-D5L4nTet.js +0 -1
  88. package/web/assets/classDiagram-v2-TLXNO2FR-D5L4nTet.js +0 -1
  89. package/web/assets/stateDiagram-v2-IH3M54BS-iZjygJwL.js +0 -1
  90. package/web/assets/swimlanesDiagram-JKAHXJPX-GfrjbmAb.js +0 -8
@@ -1,4 +1,4 @@
1
- import{T as Ut,f as q,Q as Z}from"./app-DDsVI393.js";const v=new Set(["input","option","optgroup","select","button","datalist","textarea"]),m=new Set(["p"]),tt=new Set(["thead","tbody"]),et=new Set(["dd","dt"]),nt=new Set(["rt","rp"]),At=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",m],["h1",m],["h2",m],["h3",m],["h4",m],["h5",m],["h6",m],["select",v],["input",v],["output",v],["button",v],["datalist",v],["textarea",v],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",et],["dt",et],["address",m],["article",m],["aside",m],["blockquote",m],["details",m],["div",m],["dl",m],["fieldset",m],["figcaption",m],["figure",m],["footer",m],["form",m],["header",m],["hr",m],["main",m],["nav",m],["ol",m],["pre",m],["section",m],["table",m],["ul",m],["rt",nt],["rp",nt],["tbody",tt],["tfoot",tt]]),Nt=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),st=new Set(["math","svg"]),ot=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),Pt=/\s|\//;class Ot{constructor(t,n={}){var s,o,r,i,a;this.options=n,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.lowerCaseTagNames=(s=n.lowerCaseTags)!==null&&s!==void 0?s:!n.xmlMode,this.lowerCaseAttributeNames=(o=n.lowerCaseAttributeNames)!==null&&o!==void 0?o:!n.xmlMode,this.tokenizer=new((r=n.Tokenizer)!==null&&r!==void 0?r:Ut)(this.options,this),(a=(i=this.cbs).onparserinit)===null||a===void 0||a.call(i,this)}ontext(t,n){var s,o;const r=this.getSlice(t,n);this.endIndex=n-1,(o=(s=this.cbs).ontext)===null||o===void 0||o.call(s,r),this.startIndex=n}ontextentity(t){var n,s;const o=this.tokenizer.getSectionStart();this.endIndex=o-1,(s=(n=this.cbs).ontext)===null||s===void 0||s.call(n,q(t)),this.startIndex=o}isVoidElement(t){return!this.options.xmlMode&&Nt.has(t)}onopentagname(t,n){this.endIndex=n;let s=this.getSlice(t,n);this.lowerCaseTagNames&&(s=s.toLowerCase()),this.emitOpenTag(s)}emitOpenTag(t){var n,s,o,r;this.openTagStart=this.startIndex,this.tagname=t;const i=!this.options.xmlMode&&At.get(t);if(i)for(;this.stack.length>0&&i.has(this.stack[this.stack.length-1]);){const a=this.stack.pop();(s=(n=this.cbs).onclosetag)===null||s===void 0||s.call(n,a,!0)}this.isVoidElement(t)||(this.stack.push(t),st.has(t)?this.foreignContext.push(!0):ot.has(t)&&this.foreignContext.push(!1)),(r=(o=this.cbs).onopentagname)===null||r===void 0||r.call(o,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var n,s;this.startIndex=this.openTagStart,this.attribs&&((s=(n=this.cbs).onopentag)===null||s===void 0||s.call(n,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,n){var s,o,r,i,a,l;this.endIndex=n;let u=this.getSlice(t,n);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),(st.has(u)||ot.has(u))&&this.foreignContext.pop(),this.isVoidElement(u))!this.options.xmlMode&&u==="br"&&((o=(s=this.cbs).onopentagname)===null||o===void 0||o.call(s,"br"),(i=(r=this.cbs).onopentag)===null||i===void 0||i.call(r,"br",{},!0),(l=(a=this.cbs).onclosetag)===null||l===void 0||l.call(a,"br",!1));else{const f=this.stack.lastIndexOf(u);if(f!==-1)if(this.cbs.onclosetag){let c=this.stack.length-f;for(;c--;)this.cbs.onclosetag(this.stack.pop(),c!==0)}else this.stack.length=f;else!this.options.xmlMode&&u==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=n+1}onselfclosingtag(t){this.endIndex=t,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var n,s;const o=this.tagname;this.endOpenTag(t),this.stack[this.stack.length-1]===o&&((s=(n=this.cbs).onclosetag)===null||s===void 0||s.call(n,o,!t),this.stack.pop())}onattribname(t,n){this.startIndex=t;const s=this.getSlice(t,n);this.attribname=this.lowerCaseAttributeNames?s.toLowerCase():s}onattribdata(t,n){this.attribvalue+=this.getSlice(t,n)}onattribentity(t){this.attribvalue+=q(t)}onattribend(t,n){var s,o;this.endIndex=n,(o=(s=this.cbs).onattribute)===null||o===void 0||o.call(s,this.attribname,this.attribvalue,t===Z.Double?'"':t===Z.Single?"'":t===Z.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const n=t.search(Pt);let s=n<0?t:t.substr(0,n);return this.lowerCaseTagNames&&(s=s.toLowerCase()),s}ondeclaration(t,n){this.endIndex=n;const s=this.getSlice(t,n);if(this.cbs.onprocessinginstruction){const o=this.getInstructionName(s);this.cbs.onprocessinginstruction(`!${o}`,`!${s}`)}this.startIndex=n+1}onprocessinginstruction(t,n){this.endIndex=n;const s=this.getSlice(t,n);if(this.cbs.onprocessinginstruction){const o=this.getInstructionName(s);this.cbs.onprocessinginstruction(`?${o}`,`?${s}`)}this.startIndex=n+1}oncomment(t,n,s){var o,r,i,a;this.endIndex=n,(r=(o=this.cbs).oncomment)===null||r===void 0||r.call(o,this.getSlice(t,n-s)),(a=(i=this.cbs).oncommentend)===null||a===void 0||a.call(i),this.startIndex=n+1}oncdata(t,n,s){var o,r,i,a,l,u,f,c,h,g;this.endIndex=n;const E=this.getSlice(t,n-s);this.options.xmlMode||this.options.recognizeCDATA?((r=(o=this.cbs).oncdatastart)===null||r===void 0||r.call(o),(a=(i=this.cbs).ontext)===null||a===void 0||a.call(i,E),(u=(l=this.cbs).oncdataend)===null||u===void 0||u.call(l)):((c=(f=this.cbs).oncomment)===null||c===void 0||c.call(f,`[CDATA[${E}]]`),(g=(h=this.cbs).oncommentend)===null||g===void 0||g.call(h)),this.startIndex=n+1}onend(){var t,n;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let s=this.stack.length;s>0;this.cbs.onclosetag(this.stack[--s],!0));}(n=(t=this.cbs).onend)===null||n===void 0||n.call(t)}reset(){var t,n,s,o;(n=(t=this.cbs).onreset)===null||n===void 0||n.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(o=(s=this.cbs).onparserinit)===null||o===void 0||o.call(s,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,n){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let s=this.buffers[0].slice(t-this.bufferOffset,n-this.bufferOffset);for(;n-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),s+=this.buffers[0].slice(0,n-this.bufferOffset);return s}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var n,s;if(this.ended){(s=(n=this.cbs).onerror)===null||s===void 0||s.call(n,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var n,s;if(this.ended){(s=(n=this.cbs).onerror)===null||s===void 0||s.call(n,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(t){this.write(t)}done(t){this.end(t)}}const dt=67324752,gt=33639248,pt=101010256,Dt=1,Xt=8,Ft=64,Y=0,wt=8,Zt=12*1024*1024,P=128,bt=10*1024*1024,R=2*1024*1024,xt=100;class I extends Error{}const Et=new TextEncoder,zt=new TextDecoder("utf-8");function y(e){return Et.encode(e)}function G(e){return zt.decode(e)}function St(e){return Et.encode(e).byteLength}function L(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function _t(e){const t=e.reduce((o,r)=>o+r.byteLength,0),n=new Uint8Array(t);let s=0;for(const o of e)n.set(o,s),s+=o.byteLength;return n}async function It(e,t,n){const s=e.getReader(),o=[];let r=0;try{for(;;){const{done:i,value:a}=await s.read();if(i)break;if(r+=a.byteLength,r>t)throw await s.cancel(),new I(`ZIP entry ${n} inflated beyond its declared size.`);o.push(a)}}finally{s.releaseLock()}return _t(o)}function Tt(e){const t=new Uint8Array(e.byteLength);return t.set(e),new ReadableStream({start(n){n.enqueue(t),n.close()}})}async function Vt(e,t,n){const s=Tt(e).pipeThrough(new DecompressionStream("deflate-raw"));return await It(s,t,n)}async function Bt(e){const t=Tt(e).pipeThrough(new CompressionStream("deflate-raw"));return await It(t,R+1024,"(deflate)")}function jt(e){const t=L(e),n=Math.max(0,e.byteLength-65535-22);for(let s=e.byteLength-22;s>=n;s-=1){if(s<0||t.getUint32(s,!0)!==pt)continue;const o=t.getUint16(s+20,!0);if(s+22+o===e.byteLength)return s}throw new Error("ZIP end-of-central-directory not found.")}function yt(e,t){if((e&Dt)!==0)throw new Error(`ZIP entry ${t} is encrypted.`);if((e&Ft)!==0)throw new Error(`ZIP entry ${t} uses strong encryption.`)}function rt(e,t,n){return t===n?!0:(e&Xt)!==0&&t===0}function Ht(e){if(e.byteLength>Zt)throw new I("ZIP input exceeds compressed byte limit.");const t=L(e),n=jt(e),s=t.getUint16(n+4,!0),o=t.getUint16(n+6,!0),r=t.getUint16(n+8,!0),i=t.getUint16(n+10,!0),a=t.getUint32(n+12,!0),l=t.getUint32(n+16,!0),u=l+a;if(s!==0||o!==0||r!==i)throw new Error("Multi-disk ZIP archives are not supported.");if(i===65535||a===4294967295||l===4294967295)throw new Error("ZIP64 archives are not supported.");if(i>P)throw new I(`ZIP entry count ${i} exceeds limit ${P}.`);if(l+a>e.byteLength)throw new Error("ZIP central directory is out of bounds.");if(u>n)throw new Error("ZIP central directory overlaps the end-of-central-directory record.");const f=[];let c=l,h=0;for(let g=0;g<i;g+=1){if(c+46>u||t.getUint32(c,!0)!==gt)throw new Error("Invalid ZIP central directory entry.");const E=t.getUint16(c+8,!0),S=t.getUint16(c+10,!0),w=t.getUint32(c+20,!0),b=t.getUint32(c+24,!0),x=t.getUint16(c+28,!0),T=t.getUint16(c+30,!0),_=t.getUint16(c+32,!0),p=t.getUint32(c+42,!0);if(w===4294967295||b===4294967295||p===4294967295)throw new Error("ZIP64 archives are not supported.");if(c+46+x+T+_>u)throw new Error("ZIP central directory entry is out of bounds.");const d=G(e.subarray(c+46,c+46+x));if(yt(E,d),S!==Y&&S!==wt)throw new Error(`ZIP entry ${d} uses unsupported compression method ${S}.`);if(b>R)throw new I(`ZIP entry ${d} exceeds per-entry uncompressed limit.`);if(b>0&&w===0)throw new Error(`ZIP entry ${d} has an invalid compression ratio.`);if(w>0&&b/w>xt)throw new I(`ZIP entry ${d} exceeds compression ratio limit.`);if(h+=b,h>bt)throw new I("ZIP archive exceeds total uncompressed limit.");f.push({name:d,flags:E,method:S,compressedSize:w,uncompressedSize:b,localOffset:p}),c+=46+x+T+_}if(c!==u)throw new Error("ZIP central directory size does not match its entries.");return f}async function Wt(e,t){const n=L(e),s=t.localOffset;if(s+30>e.byteLength||n.getUint32(s,!0)!==dt)throw new Error(`Invalid local ZIP header for ${t.name}.`);const o=n.getUint16(s+6,!0),r=n.getUint16(s+8,!0),i=n.getUint32(s+18,!0),a=n.getUint32(s+22,!0),l=n.getUint16(s+26,!0),u=n.getUint16(s+28,!0);if(yt(o,t.name),r!==t.method)throw new Error(`ZIP method mismatch for ${t.name}.`);if(!rt(o,i,t.compressedSize)||!rt(o,a,t.uncompressedSize))throw new Error(`ZIP size mismatch for ${t.name}.`);if(s+30+l+u>e.byteLength)throw new Error(`ZIP local header for ${t.name} is out of bounds.`);if(G(e.subarray(s+30,s+30+l))!==t.name)throw new Error(`ZIP local header name mismatch for ${t.name}.`);const c=s+30+l+u;if(c+t.compressedSize>e.byteLength)throw new Error(`ZIP data for ${t.name} is out of bounds.`);const h=e.subarray(c,c+t.compressedSize),g=t.method===Y?h.slice():await Vt(h,t.uncompressedSize,t.name);if(g.byteLength!==t.uncompressedSize)throw new Error(`ZIP uncompressed size mismatch for ${t.name}.`);return g}function Yt(e){const t=new Map;for(const n of e)t.set(n.name,n);return t}async function M(e,t,n){const s=t.get(n);if(!s)return null;const o=G(await Wt(e,s));return Ct(o),o}let N=null;function Gt(e){if(!N){N=new Uint32Array(256);for(let n=0;n<256;n+=1){let s=n;for(let o=0;o<8;o+=1)s=s&1?3988292384^s>>>1:s>>>1;N[n]=s>>>0}}let t=4294967295;for(const n of e)t=N[(t^n)&255]^t>>>8;return(t^4294967295)>>>0}async function Kt(e){if(e.length>P)throw new I(`ZIP entry count ${e.length} exceeds limit ${P}.`);const t=[],n=[];let s=0,o=0;for(const l of e){if(l.data.byteLength>R)throw new I(`ZIP entry ${l.name} exceeds per-entry uncompressed limit.`);if(o+=l.data.byteLength,o>bt)throw new I("ZIP archive exceeds total uncompressed limit.");const u=await Bt(l.data),f=u.byteLength<l.data.byteLength&&l.data.byteLength/Math.max(1,u.byteLength)<=xt,c=f?u:l.data,h=f?wt:Y,g=y(l.name),E=Gt(l.data),S=new Uint8Array(30),w=L(S);w.setUint32(0,dt,!0),w.setUint16(4,20,!0),w.setUint16(6,0,!0),w.setUint16(8,h,!0),w.setUint32(14,E,!0),w.setUint32(18,c.byteLength,!0),w.setUint32(22,l.data.byteLength,!0),w.setUint16(26,g.byteLength,!0),t.push(S,g,c);const b=new Uint8Array(46),x=L(b);x.setUint32(0,gt,!0),x.setUint16(4,20,!0),x.setUint16(6,20,!0),x.setUint16(8,0,!0),x.setUint16(10,h,!0),x.setUint32(16,E,!0),x.setUint32(20,c.byteLength,!0),x.setUint32(24,l.data.byteLength,!0),x.setUint16(28,g.byteLength,!0),x.setUint32(42,s,!0),n.push(b,g),s+=S.byteLength+g.byteLength+c.byteLength}const r=n.reduce((l,u)=>l+u.byteLength,0),i=new Uint8Array(22),a=L(i);return a.setUint32(0,pt,!0),a.setUint16(8,e.length,!0),a.setUint16(10,e.length,!0),a.setUint32(12,r,!0),a.setUint32(16,s,!0),_t([...t,...n,i])}function Ct(e){if(St(e)>R)throw new I("Office XML exceeds the parser input limit.");const t=e.toLowerCase();if(t.includes("<!doctype")||t.includes("<!entity"))throw new Error("Office XML DTD and entity declarations are not supported.")}function it(e){const t=e.lastIndexOf(":");return(t===-1?e:e.slice(t+1)).toLowerCase()}function D(e,t){Ct(e);let n="",s=0;const o=t||" ";return new Ot({onopentag(i){s>0?s+=1:it(i)==="script"||it(i)==="style"?(n+=o,s=1):n+=t},ontext(i){s===0&&(n+=i)},onclosetag(){s>0?(s-=1,s===0&&(n+=o)):n+=t}},{decodeEntities:!0,xmlMode:!0}).end(e),n}function Qt(e){return D(`<openwork-value>${e}</openwork-value>`,"")}function $t(e){return D(e," ").replace(/\s+/g," ").trim()}function K(e){return`(?:[A-Za-z_][\\w.-]*:)?${e}`}function Q(e){const t={},n=/([\w:.-]+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g;let s;for(;s=n.exec(e);){const o=s[1],r=s[2]??s[3]??"";t[o]=Qt(r)}return t}function U(e,t){const n=K(t),s=new RegExp(`<${n}\\b([^>]*)>([\\s\\S]*?)<\\/${n}>`,"g"),o=[];let r;for(;r=s.exec(e);)o.push({attributes:Q(r[1]),inner:r[2]});return o}function $(e,t){const n=K(t),s=new RegExp(`<${n}\\b([^>]*)\\/?\\s*>`,"g"),o=[];let r;for(;r=s.exec(e);)o.push(Q(r[1]));return o}function Jt(e,t){const n=U(e,t)[0];if(n)return D(n.inner,"").trim()}function z(e,t){const n=K(t),s=new RegExp(`<${n}\\b([^>]*?)(\\/>|>([\\s\\S]*?)<\\/${n}>)`,"g"),o=[];let r;for(;r=s.exec(e);)o.push({attributes:Q(r[1]),inner:r[3]??""});return o}function B(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f]/g,"")}function at(...e){const t=[];for(const n of e.join("/").split("/"))!n||n==="."||(n===".."?t.pop():t.push(n));return t.join("/")}function qt(e,t){const n=new Map;if(!e)return n;for(const s of $(e,"Relationship")){const o=s.Id,r=s.Target;!o||!r||s.TargetMode==="External"||/^[a-z][a-z0-9+.-]*:/i.test(r)||n.set(o,r.startsWith("/")?at(r.slice(1)):at(t,r))}return n}const te=64,ee=2e5,ne=25e4,lt=32,ct=5e4,j=1048576,H=16384,ut=31,ht=32767,mt=Date.UTC(1899,11,30),se=Date.UTC(1904,0,1),V=864e5;function O(e){let t=e,n="";for(;t>0;){const s=(t-1)%26;n=String.fromCharCode(65+s)+n,t=Math.floor((t-1)/26)}return n}function oe(e){let t=0;for(const n of e.toUpperCase()){const s=n.charCodeAt(0);if(s<65||s>90)return 0;t=t*26+(s-64)}return t}function W(e){const t=/^\$?([A-Za-z]{1,3})\$?(\d{1,7})$/.exec(e.trim());if(!t)return null;const n=oe(t[1]),s=Number.parseInt(t[2],10);return n<1||n>H||s<1||s>j?null:{row:s,column:n}}function kt(e){const t=e.trim(),[n,s=n]=t.split(":"),o=W(n),r=W(s);return!o||!r?null:{firstRow:Math.min(o.row,r.row),lastRow:Math.max(o.row,r.row),firstColumn:Math.min(o.column,r.column),lastColumn:Math.max(o.column,r.column)}}function re(e,t){const n=qt(t,"xl"),s=$(e,"sheet"),o=s.slice(0,te).map((r,i)=>{const a=r["r:id"]??r.id??"",l=a&&n.has(a)?n.get(a)??"":`xl/worksheets/sheet${i+1}.xml`;return{position:i+1,name:r.name??`Sheet${i+1}`,sheetId:r.sheetId??String(i+1),relationshipId:a,path:l,hidden:r.state==="hidden"||r.state==="veryHidden"}});return{sheets:o,omittedSheets:s.length-o.length}}const ie=/<(?:[A-Za-z_][\w.-]*:)?rPh\b(?:[^>]*\/>|[^>]*>[\s\S]*?<\/(?:[A-Za-z_][\w.-]*:)?rPh\s*>)/g;function vt(e){const t=e.replace(ie,"");return U(t,"t").map(s=>D(s.inner,"")).join("").trim()||$t(t)}function ae(e){if(!e)return[];const t=[];for(const n of U(e,"si")){if(t.length>=ee)break;t.push(vt(n.inner))}return t}function le(e){switch(e){case"0":return"General";case"1":return"0";case"2":return"0.00";case"3":return"#,##0";case"4":return"#,##0.00";case"9":return"0%";case"10":return"0.00%";case"11":return"0.00E+00";case"14":return"mm-dd-yy";case"15":return"d-mmm-yy";case"16":return"d-mmm";case"17":return"mmm-yy";case"18":return"h:mm AM/PM";case"19":return"h:mm:ss AM/PM";case"20":return"h:mm";case"21":return"h:mm:ss";case"22":return"m/d/yy h:mm";case"27":case"28":case"29":case"30":case"31":case"36":case"50":case"51":case"52":case"53":case"54":case"57":case"58":return"yyyy-mm-dd";case"32":case"33":case"34":case"35":case"55":case"56":return"h:mm:ss";case"45":return"mm:ss";case"46":return"[h]:mm:ss";case"47":return"mmss.0";case"49":return"@";default:return""}}function ce(e){if(!e)return[];const t=new Map;for(const s of $(e,"numFmt"))s.numFmtId&&s.formatCode&&t.set(s.numFmtId,s.formatCode);const n=U(e,"cellXfs")[0]?.inner??"";return $(n,"xf").map(s=>{const o=s.numFmtId??"0";return t.get(o)??le(o)})}const ue=/\[(?:h+|m+|s+)\]/i;function Lt(e){return!!e&&ue.test(e.replace(/"[^"]*"/g,""))}function he(e){if(!Number.isFinite(e)||e<0)return null;const t=Math.round(e*86400);return`${Math.floor(t/3600)}:${C(Math.floor(t%3600/60))}:${C(t%60)}`}function me(e){if(!e||e==="General"||e==="@"||Lt(e))return!1;const t=e.replace(/"[^"]*"/g,"").replace(/\[[^\]]*\]/g,"").replace(/\\./g,"").replace(/[Ee][+-]/g,"");return/[ymdhs]/i.test(t)}function C(e,t=2){return String(e).padStart(t,"0")}function fe(e,t=!1){if(!Number.isFinite(e)||e<0||e>2958465)return null;const n=t?se:e<60?mt+V:mt,s=Math.round(e*V),o=new Date(n+s);if(Number.isNaN(o.getTime()))return null;const r=`${C(o.getUTCHours())}:${C(o.getUTCMinutes())}:${C(o.getUTCSeconds())}`;if(e<1&&!t)return r;const i=`${o.getUTCFullYear()}-${C(o.getUTCMonth()+1)}-${C(o.getUTCDate())}`;return s%V===0?i:`${i} ${r}`}function de(e){return e==="s"?"shared_string":e==="inlineStr"?"inline_string":e==="str"?"formula_string":e==="b"?"boolean":e==="e"?"error":e==="d"?"date":e||"number"}function ge(e,t,n,s,o,r){if(e==="inlineStr")return vt(n)||void 0;if(e==="s"&&t!==void 0){const i=Number.parseInt(t,10);return Number.isInteger(i)?s[i]:void 0}return e==="b"&&t!==void 0?t==="1"?"TRUE":"FALSE":(e===""||e==="n")&&t!==void 0&&Lt(o)?he(Number(t))??t:(e===""||e==="n")&&t!==void 0&&me(o)?fe(Number(t),r)??t:t}function pe(e,t,n,s,o){const r=$(e,"dimension")[0]?.ref??"",i=[];for(const h of $(e,"mergeCell"))h.ref&&i.push(h.ref);const a=U(e,"sheetData")[0]?.inner??e,l=[];let u=0,f=0,c=0;for(const h of z(a,"row")){const g=Number.parseInt(h.attributes.r??"",10),E=Number.isInteger(g)&&g>0?g:c+1;c=E;let S=0;for(const w of z(h.inner,"c")){const b=w.attributes,x=w.inner,T=b.r?W(b.r):null,_=T?.column??S+1,p=T?.row??E;S=_;const d=z(x,"f")[0],k=Jt(x,"v"),X=b.t??"";if(d&&(f+=1),k===void 0&&!d&&X!=="inlineStr")continue;if(l.length>=o){u+=1;continue}const A=b.s,F=A!==void 0?n[Number.parseInt(A,10)]:void 0,J=ge(X,k,x,t,F,s),Mt=d?$t(d.inner):"";l.push({reference:`${O(_)}${p}`,row:p,column:_,type:de(X),...A!==void 0?{styleIndex:A}:{},...F?{numberFormat:F}:{},...d?{formula:Mt}:{},...d?.attributes.t?{formulaType:d.attributes.t}:{},...d?.attributes.ref?{formulaRef:d.attributes.ref}:{},...k!==void 0?{rawValue:k}:{},...J!==void 0?{displayedValue:J}:{}})}}return{dimension:r,mergedRanges:i,cells:l,omittedCells:u,formulaCount:f}}function we(e,t){const n=e.length===0&&t?kt(t):null;if(n)return n;if(e.length===0)return{firstRow:0,lastRow:0,firstColumn:0,lastColumn:0};let s=Number.POSITIVE_INFINITY,o=0,r=Number.POSITIVE_INFINITY,i=0;for(const a of e)s=Math.min(s,a.row),o=Math.max(o,a.row),r=Math.min(r,a.column),i=Math.max(i,a.column);return{firstRow:s,lastRow:o,firstColumn:r,lastColumn:i}}async function Ue(e){const t=Yt(Ht(e)),n=await M(e,t,"xl/workbook.xml");if(!n)throw new Error("XLSX workbook.xml was not found.");const s=ae(await M(e,t,"xl/sharedStrings.xml")),o=ce(await M(e,t,"xl/styles.xml")),{sheets:r,omittedSheets:i}=re(n,await M(e,t,"xl/_rels/workbook.xml.rels"));if(r.length===0)throw new Error("XLSX workbook contained no sheets.");const a=$(n,"workbookPr").some(l=>l.date1904==="1"||l.date1904==="true");return{sheets:r,omittedSheets:i,sharedStringCount:s.length,styleCount:o.length,date1904:a,async readSheet(l,u={}){const f=l.path.startsWith("xl/worksheets/")&&l.path.endsWith(".xml")?l.path:"",c=f?await M(e,t,f):null;if(!c)throw new Error(`Worksheet XML for "${l.name}" was not found or was outside xl/worksheets.`);const h=pe(c,s,o,a,u.cellLimit??ne);return{info:l,...h,...we(h.cells,h.dimension)}}}}const be="│";function xe(e,t,n){if(!e)return"";const o=(t&&e.formula?`=${e.formula}`:e.displayedValue??e.rawValue??(e.formula?`=${e.formula}`:"")).replace(/\s*\r?\n\s*/g," ").replaceAll("|",be);return o.length>n?`${o.slice(0,n-1)}…`:o}function Ae(e,t={}){const n=t.range?kt(t.range):null;if(t.range&&!n)throw new Error(`Range "${t.range}" is not a valid A1-style range such as A1:D20.`);const s=Math.max(1,t.maxRows??100),o=Math.max(1,t.maxColumns??40),r=Math.max(8,t.maxCellChars??120),i=t.formulas??!1,a=Math.max(t.startRow??1,n?.firstRow??1),l=n?.lastRow??Number.POSITIVE_INFINITY,u=n?.firstColumn??1,f=n?.lastColumn??Number.POSITIVE_INFINITY,c=new Map,h=new Set;for(const p of e.cells){if(p.column<u||p.column>f||p.row<(n?.firstRow??1)||p.row>l)continue;h.add(p.column);let d=c.get(p.row);d||(d=new Map,c.set(p.row,d)),d.set(p.column,p)}const g=[...h].sort((p,d)=>p-d),E=g.slice(0,o),S=g.length-E.length,w=[...c.keys()].filter(p=>p>=a).sort((p,d)=>p-d),b=w.slice(0,s),x=w.length>b.length?w[b.length]:null,T=E.map(O),_=[];if(b.length===0)_.push("(no cells in this range)");else{_.push(`| # | ${T.join(" | ")} |`),_.push(`|---|${T.map(()=>"---").join("|")}|`);for(const p of b){const d=c.get(p);_.push(`| ${p} | ${E.map(k=>xe(d?.get(k),i,r)).join(" | ")} |`)}}return{text:_.join(`
1
+ import{T as Ut,f as q,Q as Z}from"./app-CoFPYBYF.js";const v=new Set(["input","option","optgroup","select","button","datalist","textarea"]),m=new Set(["p"]),tt=new Set(["thead","tbody"]),et=new Set(["dd","dt"]),nt=new Set(["rt","rp"]),At=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",m],["h1",m],["h2",m],["h3",m],["h4",m],["h5",m],["h6",m],["select",v],["input",v],["output",v],["button",v],["datalist",v],["textarea",v],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",et],["dt",et],["address",m],["article",m],["aside",m],["blockquote",m],["details",m],["div",m],["dl",m],["fieldset",m],["figcaption",m],["figure",m],["footer",m],["form",m],["header",m],["hr",m],["main",m],["nav",m],["ol",m],["pre",m],["section",m],["table",m],["ul",m],["rt",nt],["rp",nt],["tbody",tt],["tfoot",tt]]),Nt=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),st=new Set(["math","svg"]),ot=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),Pt=/\s|\//;class Ot{constructor(t,n={}){var s,o,r,i,a;this.options=n,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.lowerCaseTagNames=(s=n.lowerCaseTags)!==null&&s!==void 0?s:!n.xmlMode,this.lowerCaseAttributeNames=(o=n.lowerCaseAttributeNames)!==null&&o!==void 0?o:!n.xmlMode,this.tokenizer=new((r=n.Tokenizer)!==null&&r!==void 0?r:Ut)(this.options,this),(a=(i=this.cbs).onparserinit)===null||a===void 0||a.call(i,this)}ontext(t,n){var s,o;const r=this.getSlice(t,n);this.endIndex=n-1,(o=(s=this.cbs).ontext)===null||o===void 0||o.call(s,r),this.startIndex=n}ontextentity(t){var n,s;const o=this.tokenizer.getSectionStart();this.endIndex=o-1,(s=(n=this.cbs).ontext)===null||s===void 0||s.call(n,q(t)),this.startIndex=o}isVoidElement(t){return!this.options.xmlMode&&Nt.has(t)}onopentagname(t,n){this.endIndex=n;let s=this.getSlice(t,n);this.lowerCaseTagNames&&(s=s.toLowerCase()),this.emitOpenTag(s)}emitOpenTag(t){var n,s,o,r;this.openTagStart=this.startIndex,this.tagname=t;const i=!this.options.xmlMode&&At.get(t);if(i)for(;this.stack.length>0&&i.has(this.stack[this.stack.length-1]);){const a=this.stack.pop();(s=(n=this.cbs).onclosetag)===null||s===void 0||s.call(n,a,!0)}this.isVoidElement(t)||(this.stack.push(t),st.has(t)?this.foreignContext.push(!0):ot.has(t)&&this.foreignContext.push(!1)),(r=(o=this.cbs).onopentagname)===null||r===void 0||r.call(o,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var n,s;this.startIndex=this.openTagStart,this.attribs&&((s=(n=this.cbs).onopentag)===null||s===void 0||s.call(n,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,n){var s,o,r,i,a,l;this.endIndex=n;let u=this.getSlice(t,n);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),(st.has(u)||ot.has(u))&&this.foreignContext.pop(),this.isVoidElement(u))!this.options.xmlMode&&u==="br"&&((o=(s=this.cbs).onopentagname)===null||o===void 0||o.call(s,"br"),(i=(r=this.cbs).onopentag)===null||i===void 0||i.call(r,"br",{},!0),(l=(a=this.cbs).onclosetag)===null||l===void 0||l.call(a,"br",!1));else{const f=this.stack.lastIndexOf(u);if(f!==-1)if(this.cbs.onclosetag){let c=this.stack.length-f;for(;c--;)this.cbs.onclosetag(this.stack.pop(),c!==0)}else this.stack.length=f;else!this.options.xmlMode&&u==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=n+1}onselfclosingtag(t){this.endIndex=t,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var n,s;const o=this.tagname;this.endOpenTag(t),this.stack[this.stack.length-1]===o&&((s=(n=this.cbs).onclosetag)===null||s===void 0||s.call(n,o,!t),this.stack.pop())}onattribname(t,n){this.startIndex=t;const s=this.getSlice(t,n);this.attribname=this.lowerCaseAttributeNames?s.toLowerCase():s}onattribdata(t,n){this.attribvalue+=this.getSlice(t,n)}onattribentity(t){this.attribvalue+=q(t)}onattribend(t,n){var s,o;this.endIndex=n,(o=(s=this.cbs).onattribute)===null||o===void 0||o.call(s,this.attribname,this.attribvalue,t===Z.Double?'"':t===Z.Single?"'":t===Z.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const n=t.search(Pt);let s=n<0?t:t.substr(0,n);return this.lowerCaseTagNames&&(s=s.toLowerCase()),s}ondeclaration(t,n){this.endIndex=n;const s=this.getSlice(t,n);if(this.cbs.onprocessinginstruction){const o=this.getInstructionName(s);this.cbs.onprocessinginstruction(`!${o}`,`!${s}`)}this.startIndex=n+1}onprocessinginstruction(t,n){this.endIndex=n;const s=this.getSlice(t,n);if(this.cbs.onprocessinginstruction){const o=this.getInstructionName(s);this.cbs.onprocessinginstruction(`?${o}`,`?${s}`)}this.startIndex=n+1}oncomment(t,n,s){var o,r,i,a;this.endIndex=n,(r=(o=this.cbs).oncomment)===null||r===void 0||r.call(o,this.getSlice(t,n-s)),(a=(i=this.cbs).oncommentend)===null||a===void 0||a.call(i),this.startIndex=n+1}oncdata(t,n,s){var o,r,i,a,l,u,f,c,h,g;this.endIndex=n;const E=this.getSlice(t,n-s);this.options.xmlMode||this.options.recognizeCDATA?((r=(o=this.cbs).oncdatastart)===null||r===void 0||r.call(o),(a=(i=this.cbs).ontext)===null||a===void 0||a.call(i,E),(u=(l=this.cbs).oncdataend)===null||u===void 0||u.call(l)):((c=(f=this.cbs).oncomment)===null||c===void 0||c.call(f,`[CDATA[${E}]]`),(g=(h=this.cbs).oncommentend)===null||g===void 0||g.call(h)),this.startIndex=n+1}onend(){var t,n;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let s=this.stack.length;s>0;this.cbs.onclosetag(this.stack[--s],!0));}(n=(t=this.cbs).onend)===null||n===void 0||n.call(t)}reset(){var t,n,s,o;(n=(t=this.cbs).onreset)===null||n===void 0||n.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(o=(s=this.cbs).onparserinit)===null||o===void 0||o.call(s,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,n){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let s=this.buffers[0].slice(t-this.bufferOffset,n-this.bufferOffset);for(;n-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),s+=this.buffers[0].slice(0,n-this.bufferOffset);return s}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var n,s;if(this.ended){(s=(n=this.cbs).onerror)===null||s===void 0||s.call(n,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var n,s;if(this.ended){(s=(n=this.cbs).onerror)===null||s===void 0||s.call(n,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(t){this.write(t)}done(t){this.end(t)}}const dt=67324752,gt=33639248,pt=101010256,Dt=1,Xt=8,Ft=64,Y=0,wt=8,Zt=12*1024*1024,P=128,bt=10*1024*1024,R=2*1024*1024,xt=100;class I extends Error{}const Et=new TextEncoder,zt=new TextDecoder("utf-8");function y(e){return Et.encode(e)}function G(e){return zt.decode(e)}function St(e){return Et.encode(e).byteLength}function L(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function _t(e){const t=e.reduce((o,r)=>o+r.byteLength,0),n=new Uint8Array(t);let s=0;for(const o of e)n.set(o,s),s+=o.byteLength;return n}async function It(e,t,n){const s=e.getReader(),o=[];let r=0;try{for(;;){const{done:i,value:a}=await s.read();if(i)break;if(r+=a.byteLength,r>t)throw await s.cancel(),new I(`ZIP entry ${n} inflated beyond its declared size.`);o.push(a)}}finally{s.releaseLock()}return _t(o)}function Tt(e){const t=new Uint8Array(e.byteLength);return t.set(e),new ReadableStream({start(n){n.enqueue(t),n.close()}})}async function Vt(e,t,n){const s=Tt(e).pipeThrough(new DecompressionStream("deflate-raw"));return await It(s,t,n)}async function Bt(e){const t=Tt(e).pipeThrough(new CompressionStream("deflate-raw"));return await It(t,R+1024,"(deflate)")}function jt(e){const t=L(e),n=Math.max(0,e.byteLength-65535-22);for(let s=e.byteLength-22;s>=n;s-=1){if(s<0||t.getUint32(s,!0)!==pt)continue;const o=t.getUint16(s+20,!0);if(s+22+o===e.byteLength)return s}throw new Error("ZIP end-of-central-directory not found.")}function yt(e,t){if((e&Dt)!==0)throw new Error(`ZIP entry ${t} is encrypted.`);if((e&Ft)!==0)throw new Error(`ZIP entry ${t} uses strong encryption.`)}function rt(e,t,n){return t===n?!0:(e&Xt)!==0&&t===0}function Ht(e){if(e.byteLength>Zt)throw new I("ZIP input exceeds compressed byte limit.");const t=L(e),n=jt(e),s=t.getUint16(n+4,!0),o=t.getUint16(n+6,!0),r=t.getUint16(n+8,!0),i=t.getUint16(n+10,!0),a=t.getUint32(n+12,!0),l=t.getUint32(n+16,!0),u=l+a;if(s!==0||o!==0||r!==i)throw new Error("Multi-disk ZIP archives are not supported.");if(i===65535||a===4294967295||l===4294967295)throw new Error("ZIP64 archives are not supported.");if(i>P)throw new I(`ZIP entry count ${i} exceeds limit ${P}.`);if(l+a>e.byteLength)throw new Error("ZIP central directory is out of bounds.");if(u>n)throw new Error("ZIP central directory overlaps the end-of-central-directory record.");const f=[];let c=l,h=0;for(let g=0;g<i;g+=1){if(c+46>u||t.getUint32(c,!0)!==gt)throw new Error("Invalid ZIP central directory entry.");const E=t.getUint16(c+8,!0),S=t.getUint16(c+10,!0),w=t.getUint32(c+20,!0),b=t.getUint32(c+24,!0),x=t.getUint16(c+28,!0),T=t.getUint16(c+30,!0),_=t.getUint16(c+32,!0),p=t.getUint32(c+42,!0);if(w===4294967295||b===4294967295||p===4294967295)throw new Error("ZIP64 archives are not supported.");if(c+46+x+T+_>u)throw new Error("ZIP central directory entry is out of bounds.");const d=G(e.subarray(c+46,c+46+x));if(yt(E,d),S!==Y&&S!==wt)throw new Error(`ZIP entry ${d} uses unsupported compression method ${S}.`);if(b>R)throw new I(`ZIP entry ${d} exceeds per-entry uncompressed limit.`);if(b>0&&w===0)throw new Error(`ZIP entry ${d} has an invalid compression ratio.`);if(w>0&&b/w>xt)throw new I(`ZIP entry ${d} exceeds compression ratio limit.`);if(h+=b,h>bt)throw new I("ZIP archive exceeds total uncompressed limit.");f.push({name:d,flags:E,method:S,compressedSize:w,uncompressedSize:b,localOffset:p}),c+=46+x+T+_}if(c!==u)throw new Error("ZIP central directory size does not match its entries.");return f}async function Wt(e,t){const n=L(e),s=t.localOffset;if(s+30>e.byteLength||n.getUint32(s,!0)!==dt)throw new Error(`Invalid local ZIP header for ${t.name}.`);const o=n.getUint16(s+6,!0),r=n.getUint16(s+8,!0),i=n.getUint32(s+18,!0),a=n.getUint32(s+22,!0),l=n.getUint16(s+26,!0),u=n.getUint16(s+28,!0);if(yt(o,t.name),r!==t.method)throw new Error(`ZIP method mismatch for ${t.name}.`);if(!rt(o,i,t.compressedSize)||!rt(o,a,t.uncompressedSize))throw new Error(`ZIP size mismatch for ${t.name}.`);if(s+30+l+u>e.byteLength)throw new Error(`ZIP local header for ${t.name} is out of bounds.`);if(G(e.subarray(s+30,s+30+l))!==t.name)throw new Error(`ZIP local header name mismatch for ${t.name}.`);const c=s+30+l+u;if(c+t.compressedSize>e.byteLength)throw new Error(`ZIP data for ${t.name} is out of bounds.`);const h=e.subarray(c,c+t.compressedSize),g=t.method===Y?h.slice():await Vt(h,t.uncompressedSize,t.name);if(g.byteLength!==t.uncompressedSize)throw new Error(`ZIP uncompressed size mismatch for ${t.name}.`);return g}function Yt(e){const t=new Map;for(const n of e)t.set(n.name,n);return t}async function M(e,t,n){const s=t.get(n);if(!s)return null;const o=G(await Wt(e,s));return Ct(o),o}let N=null;function Gt(e){if(!N){N=new Uint32Array(256);for(let n=0;n<256;n+=1){let s=n;for(let o=0;o<8;o+=1)s=s&1?3988292384^s>>>1:s>>>1;N[n]=s>>>0}}let t=4294967295;for(const n of e)t=N[(t^n)&255]^t>>>8;return(t^4294967295)>>>0}async function Kt(e){if(e.length>P)throw new I(`ZIP entry count ${e.length} exceeds limit ${P}.`);const t=[],n=[];let s=0,o=0;for(const l of e){if(l.data.byteLength>R)throw new I(`ZIP entry ${l.name} exceeds per-entry uncompressed limit.`);if(o+=l.data.byteLength,o>bt)throw new I("ZIP archive exceeds total uncompressed limit.");const u=await Bt(l.data),f=u.byteLength<l.data.byteLength&&l.data.byteLength/Math.max(1,u.byteLength)<=xt,c=f?u:l.data,h=f?wt:Y,g=y(l.name),E=Gt(l.data),S=new Uint8Array(30),w=L(S);w.setUint32(0,dt,!0),w.setUint16(4,20,!0),w.setUint16(6,0,!0),w.setUint16(8,h,!0),w.setUint32(14,E,!0),w.setUint32(18,c.byteLength,!0),w.setUint32(22,l.data.byteLength,!0),w.setUint16(26,g.byteLength,!0),t.push(S,g,c);const b=new Uint8Array(46),x=L(b);x.setUint32(0,gt,!0),x.setUint16(4,20,!0),x.setUint16(6,20,!0),x.setUint16(8,0,!0),x.setUint16(10,h,!0),x.setUint32(16,E,!0),x.setUint32(20,c.byteLength,!0),x.setUint32(24,l.data.byteLength,!0),x.setUint16(28,g.byteLength,!0),x.setUint32(42,s,!0),n.push(b,g),s+=S.byteLength+g.byteLength+c.byteLength}const r=n.reduce((l,u)=>l+u.byteLength,0),i=new Uint8Array(22),a=L(i);return a.setUint32(0,pt,!0),a.setUint16(8,e.length,!0),a.setUint16(10,e.length,!0),a.setUint32(12,r,!0),a.setUint32(16,s,!0),_t([...t,...n,i])}function Ct(e){if(St(e)>R)throw new I("Office XML exceeds the parser input limit.");const t=e.toLowerCase();if(t.includes("<!doctype")||t.includes("<!entity"))throw new Error("Office XML DTD and entity declarations are not supported.")}function it(e){const t=e.lastIndexOf(":");return(t===-1?e:e.slice(t+1)).toLowerCase()}function D(e,t){Ct(e);let n="",s=0;const o=t||" ";return new Ot({onopentag(i){s>0?s+=1:it(i)==="script"||it(i)==="style"?(n+=o,s=1):n+=t},ontext(i){s===0&&(n+=i)},onclosetag(){s>0?(s-=1,s===0&&(n+=o)):n+=t}},{decodeEntities:!0,xmlMode:!0}).end(e),n}function Qt(e){return D(`<openwork-value>${e}</openwork-value>`,"")}function $t(e){return D(e," ").replace(/\s+/g," ").trim()}function K(e){return`(?:[A-Za-z_][\\w.-]*:)?${e}`}function Q(e){const t={},n=/([\w:.-]+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g;let s;for(;s=n.exec(e);){const o=s[1],r=s[2]??s[3]??"";t[o]=Qt(r)}return t}function U(e,t){const n=K(t),s=new RegExp(`<${n}\\b([^>]*)>([\\s\\S]*?)<\\/${n}>`,"g"),o=[];let r;for(;r=s.exec(e);)o.push({attributes:Q(r[1]),inner:r[2]});return o}function $(e,t){const n=K(t),s=new RegExp(`<${n}\\b([^>]*)\\/?\\s*>`,"g"),o=[];let r;for(;r=s.exec(e);)o.push(Q(r[1]));return o}function Jt(e,t){const n=U(e,t)[0];if(n)return D(n.inner,"").trim()}function z(e,t){const n=K(t),s=new RegExp(`<${n}\\b([^>]*?)(\\/>|>([\\s\\S]*?)<\\/${n}>)`,"g"),o=[];let r;for(;r=s.exec(e);)o.push({attributes:Q(r[1]),inner:r[3]??""});return o}function B(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f]/g,"")}function at(...e){const t=[];for(const n of e.join("/").split("/"))!n||n==="."||(n===".."?t.pop():t.push(n));return t.join("/")}function qt(e,t){const n=new Map;if(!e)return n;for(const s of $(e,"Relationship")){const o=s.Id,r=s.Target;!o||!r||s.TargetMode==="External"||/^[a-z][a-z0-9+.-]*:/i.test(r)||n.set(o,r.startsWith("/")?at(r.slice(1)):at(t,r))}return n}const te=64,ee=2e5,ne=25e4,lt=32,ct=5e4,j=1048576,H=16384,ut=31,ht=32767,mt=Date.UTC(1899,11,30),se=Date.UTC(1904,0,1),V=864e5;function O(e){let t=e,n="";for(;t>0;){const s=(t-1)%26;n=String.fromCharCode(65+s)+n,t=Math.floor((t-1)/26)}return n}function oe(e){let t=0;for(const n of e.toUpperCase()){const s=n.charCodeAt(0);if(s<65||s>90)return 0;t=t*26+(s-64)}return t}function W(e){const t=/^\$?([A-Za-z]{1,3})\$?(\d{1,7})$/.exec(e.trim());if(!t)return null;const n=oe(t[1]),s=Number.parseInt(t[2],10);return n<1||n>H||s<1||s>j?null:{row:s,column:n}}function kt(e){const t=e.trim(),[n,s=n]=t.split(":"),o=W(n),r=W(s);return!o||!r?null:{firstRow:Math.min(o.row,r.row),lastRow:Math.max(o.row,r.row),firstColumn:Math.min(o.column,r.column),lastColumn:Math.max(o.column,r.column)}}function re(e,t){const n=qt(t,"xl"),s=$(e,"sheet"),o=s.slice(0,te).map((r,i)=>{const a=r["r:id"]??r.id??"",l=a&&n.has(a)?n.get(a)??"":`xl/worksheets/sheet${i+1}.xml`;return{position:i+1,name:r.name??`Sheet${i+1}`,sheetId:r.sheetId??String(i+1),relationshipId:a,path:l,hidden:r.state==="hidden"||r.state==="veryHidden"}});return{sheets:o,omittedSheets:s.length-o.length}}const ie=/<(?:[A-Za-z_][\w.-]*:)?rPh\b(?:[^>]*\/>|[^>]*>[\s\S]*?<\/(?:[A-Za-z_][\w.-]*:)?rPh\s*>)/g;function vt(e){const t=e.replace(ie,"");return U(t,"t").map(s=>D(s.inner,"")).join("").trim()||$t(t)}function ae(e){if(!e)return[];const t=[];for(const n of U(e,"si")){if(t.length>=ee)break;t.push(vt(n.inner))}return t}function le(e){switch(e){case"0":return"General";case"1":return"0";case"2":return"0.00";case"3":return"#,##0";case"4":return"#,##0.00";case"9":return"0%";case"10":return"0.00%";case"11":return"0.00E+00";case"14":return"mm-dd-yy";case"15":return"d-mmm-yy";case"16":return"d-mmm";case"17":return"mmm-yy";case"18":return"h:mm AM/PM";case"19":return"h:mm:ss AM/PM";case"20":return"h:mm";case"21":return"h:mm:ss";case"22":return"m/d/yy h:mm";case"27":case"28":case"29":case"30":case"31":case"36":case"50":case"51":case"52":case"53":case"54":case"57":case"58":return"yyyy-mm-dd";case"32":case"33":case"34":case"35":case"55":case"56":return"h:mm:ss";case"45":return"mm:ss";case"46":return"[h]:mm:ss";case"47":return"mmss.0";case"49":return"@";default:return""}}function ce(e){if(!e)return[];const t=new Map;for(const s of $(e,"numFmt"))s.numFmtId&&s.formatCode&&t.set(s.numFmtId,s.formatCode);const n=U(e,"cellXfs")[0]?.inner??"";return $(n,"xf").map(s=>{const o=s.numFmtId??"0";return t.get(o)??le(o)})}const ue=/\[(?:h+|m+|s+)\]/i;function Lt(e){return!!e&&ue.test(e.replace(/"[^"]*"/g,""))}function he(e){if(!Number.isFinite(e)||e<0)return null;const t=Math.round(e*86400);return`${Math.floor(t/3600)}:${C(Math.floor(t%3600/60))}:${C(t%60)}`}function me(e){if(!e||e==="General"||e==="@"||Lt(e))return!1;const t=e.replace(/"[^"]*"/g,"").replace(/\[[^\]]*\]/g,"").replace(/\\./g,"").replace(/[Ee][+-]/g,"");return/[ymdhs]/i.test(t)}function C(e,t=2){return String(e).padStart(t,"0")}function fe(e,t=!1){if(!Number.isFinite(e)||e<0||e>2958465)return null;const n=t?se:e<60?mt+V:mt,s=Math.round(e*V),o=new Date(n+s);if(Number.isNaN(o.getTime()))return null;const r=`${C(o.getUTCHours())}:${C(o.getUTCMinutes())}:${C(o.getUTCSeconds())}`;if(e<1&&!t)return r;const i=`${o.getUTCFullYear()}-${C(o.getUTCMonth()+1)}-${C(o.getUTCDate())}`;return s%V===0?i:`${i} ${r}`}function de(e){return e==="s"?"shared_string":e==="inlineStr"?"inline_string":e==="str"?"formula_string":e==="b"?"boolean":e==="e"?"error":e==="d"?"date":e||"number"}function ge(e,t,n,s,o,r){if(e==="inlineStr")return vt(n)||void 0;if(e==="s"&&t!==void 0){const i=Number.parseInt(t,10);return Number.isInteger(i)?s[i]:void 0}return e==="b"&&t!==void 0?t==="1"?"TRUE":"FALSE":(e===""||e==="n")&&t!==void 0&&Lt(o)?he(Number(t))??t:(e===""||e==="n")&&t!==void 0&&me(o)?fe(Number(t),r)??t:t}function pe(e,t,n,s,o){const r=$(e,"dimension")[0]?.ref??"",i=[];for(const h of $(e,"mergeCell"))h.ref&&i.push(h.ref);const a=U(e,"sheetData")[0]?.inner??e,l=[];let u=0,f=0,c=0;for(const h of z(a,"row")){const g=Number.parseInt(h.attributes.r??"",10),E=Number.isInteger(g)&&g>0?g:c+1;c=E;let S=0;for(const w of z(h.inner,"c")){const b=w.attributes,x=w.inner,T=b.r?W(b.r):null,_=T?.column??S+1,p=T?.row??E;S=_;const d=z(x,"f")[0],k=Jt(x,"v"),X=b.t??"";if(d&&(f+=1),k===void 0&&!d&&X!=="inlineStr")continue;if(l.length>=o){u+=1;continue}const A=b.s,F=A!==void 0?n[Number.parseInt(A,10)]:void 0,J=ge(X,k,x,t,F,s),Mt=d?$t(d.inner):"";l.push({reference:`${O(_)}${p}`,row:p,column:_,type:de(X),...A!==void 0?{styleIndex:A}:{},...F?{numberFormat:F}:{},...d?{formula:Mt}:{},...d?.attributes.t?{formulaType:d.attributes.t}:{},...d?.attributes.ref?{formulaRef:d.attributes.ref}:{},...k!==void 0?{rawValue:k}:{},...J!==void 0?{displayedValue:J}:{}})}}return{dimension:r,mergedRanges:i,cells:l,omittedCells:u,formulaCount:f}}function we(e,t){const n=e.length===0&&t?kt(t):null;if(n)return n;if(e.length===0)return{firstRow:0,lastRow:0,firstColumn:0,lastColumn:0};let s=Number.POSITIVE_INFINITY,o=0,r=Number.POSITIVE_INFINITY,i=0;for(const a of e)s=Math.min(s,a.row),o=Math.max(o,a.row),r=Math.min(r,a.column),i=Math.max(i,a.column);return{firstRow:s,lastRow:o,firstColumn:r,lastColumn:i}}async function Ue(e){const t=Yt(Ht(e)),n=await M(e,t,"xl/workbook.xml");if(!n)throw new Error("XLSX workbook.xml was not found.");const s=ae(await M(e,t,"xl/sharedStrings.xml")),o=ce(await M(e,t,"xl/styles.xml")),{sheets:r,omittedSheets:i}=re(n,await M(e,t,"xl/_rels/workbook.xml.rels"));if(r.length===0)throw new Error("XLSX workbook contained no sheets.");const a=$(n,"workbookPr").some(l=>l.date1904==="1"||l.date1904==="true");return{sheets:r,omittedSheets:i,sharedStringCount:s.length,styleCount:o.length,date1904:a,async readSheet(l,u={}){const f=l.path.startsWith("xl/worksheets/")&&l.path.endsWith(".xml")?l.path:"",c=f?await M(e,t,f):null;if(!c)throw new Error(`Worksheet XML for "${l.name}" was not found or was outside xl/worksheets.`);const h=pe(c,s,o,a,u.cellLimit??ne);return{info:l,...h,...we(h.cells,h.dimension)}}}}const be="│";function xe(e,t,n){if(!e)return"";const o=(t&&e.formula?`=${e.formula}`:e.displayedValue??e.rawValue??(e.formula?`=${e.formula}`:"")).replace(/\s*\r?\n\s*/g," ").replaceAll("|",be);return o.length>n?`${o.slice(0,n-1)}…`:o}function Ae(e,t={}){const n=t.range?kt(t.range):null;if(t.range&&!n)throw new Error(`Range "${t.range}" is not a valid A1-style range such as A1:D20.`);const s=Math.max(1,t.maxRows??100),o=Math.max(1,t.maxColumns??40),r=Math.max(8,t.maxCellChars??120),i=t.formulas??!1,a=Math.max(t.startRow??1,n?.firstRow??1),l=n?.lastRow??Number.POSITIVE_INFINITY,u=n?.firstColumn??1,f=n?.lastColumn??Number.POSITIVE_INFINITY,c=new Map,h=new Set;for(const p of e.cells){if(p.column<u||p.column>f||p.row<(n?.firstRow??1)||p.row>l)continue;h.add(p.column);let d=c.get(p.row);d||(d=new Map,c.set(p.row,d)),d.set(p.column,p)}const g=[...h].sort((p,d)=>p-d),E=g.slice(0,o),S=g.length-E.length,w=[...c.keys()].filter(p=>p>=a).sort((p,d)=>p-d),b=w.slice(0,s),x=w.length>b.length?w[b.length]:null,T=E.map(O),_=[];if(b.length===0)_.push("(no cells in this range)");else{_.push(`| # | ${T.join(" | ")} |`),_.push(`|---|${T.map(()=>"---").join("|")}|`);for(const p of b){const d=c.get(p);_.push(`| ${p} | ${E.map(k=>xe(d?.get(k),i,r)).join(" | ")} |`)}}return{text:_.join(`
2
2
  `),renderedRows:b.length,nextStartRow:x,columns:T,truncatedColumns:S}}function Ne(e,t=8,n=3){const s=new Map;for(const o of e.cells){if(!o.numberFormat||o.numberFormat==="General")continue;const r=s.get(o.numberFormat)??[];r.length<n&&r.push(o.reference),s.set(o.numberFormat,r)}return[...s.entries()].slice(0,t).map(([o,r])=>`${JSON.stringify(o)} (${r.join(", ")})`)}function Pe(e,t=20){return e.cells.filter(n=>n.formula).slice(0,t).map(n=>{const s=n.displayedValue??n.rawValue;return`${n.reference}: =${n.formula}${s!==void 0?` → ${s}`:""}`})}const Ee=25e4;function Oe(e,t={}){if(e.cells.length===0)return[[""]];const n=t.maxCells??Ee;if(e.lastRow*e.lastColumn>n)throw new Error(`This sheet spans ${e.lastRow} rows by ${e.lastColumn} columns, which is too large to show as an editable grid.`);const s=Array.from({length:e.lastRow},()=>Array.from({length:e.lastColumn},()=>""));for(const o of e.cells)s[o.row-1][o.column-1]=t.formulas&&o.formula?`=${o.formula}`:o.displayedValue??o.rawValue??(o.formula?`=${o.formula}`:"");return s}const Se=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/,ft=8192,_e=/\b(DDE|WEBSERVICE|FILTERXML|RTD|CALL|REGISTER(?:\.ID)?|EXEC|SQL\.REQUEST|IMPORT(?:DATA|XML|HTML|FEED|RANGE)|IMAGE)\s*\(/i,Ie=/\[[^\]]*\][^!'"(),;+\-*/^&=<>\[\]{}]*!|'[^']*\[[^\]]*\][^']*'!/u,Te=/'[^']*(?::\/\/|\\\\)[^']*'!/;function Rt(e){return typeof e=="object"&&e!==null&&typeof e.formula=="string"}function ye(e){const t=e.trim().replace(/^=/,"");if(!t)return"is empty";if(t.length>ft)return`is longer than ${ft} characters`;if(t.includes("|"))return"contains a DDE-style external command reference";const n=_e.exec(t);return n?`uses ${n[1].toUpperCase()}, which reaches outside the workbook when it recalculates`:Ie.test(t)?"references another workbook":Te.test(t)?"references a remote or network path":null}function Ce(e,t){const n=ye(e.formula);if(n)throw new Error(`Formula in ${t} ${n}; only calculations inside the workbook are written. Write the value instead.`);return e.formula.trim().replace(/^=/,"")}function De(e){if(e==="")return null;if(e==="TRUE")return!0;if(e==="FALSE")return!1;if(Se.test(e)){const t=Number(e);if(Number.isFinite(t))return t}return e}function $e(e,t,n){let o=(e??"").replace(/[\u0000-\u001f\u007f[\]:*?/\\]/g," ").replace(/\s+/g," ").replace(/^'+|'+$/g,"").trim().slice(0,ut).trim()||`Sheet${t}`,r=2;for(;n.has(o.toLowerCase())||o.toLowerCase()==="history";)o=`${o.slice(0,ut-String(r).length-1)}-${r}`,r+=1;return n.add(o.toLowerCase()),o}function ke(e,t,n){const s=n>0?` s="${n}"`:"";if(t===null||t==="")return"";if(typeof t=="number")return Number.isFinite(t)?`<c r="${e}"${s}><v>${t}</v></c>`:`<c r="${e}" t="e"${s}><v>#NUM!</v></c>`;if(typeof t=="boolean")return`<c r="${e}" t="b"${s}><v>${t?1:0}</v></c>`;if(Rt(t))return`<c r="${e}"${s}><f>${B(Ce(t,e))}</f></c>`;if(t.length>ht)throw new Error(`Cell ${e} holds ${t.length} characters of text; Excel allows ${ht}. Shorten it or split it across cells.`);const o=/^\s|\s$|\n/.test(t)?' xml:space="preserve"':"";return`<c r="${e}" t="inlineStr"${s}><is><t${o}>${B(t)}</t></is></c>`}function ve(e){return e===null?0:Rt(e)?12:String(e).split(`
3
3
  `).reduce((t,n)=>Math.max(t,n.length),0)}function Le(e){const t=e.rows,n=t.reduce((f,c)=>Math.max(f,c.length),0);if(t.length>j)throw new Error(`Sheet "${e.name??""}" has ${t.length} rows; Excel allows ${j}.`);if(n>H)throw new Error(`Sheet "${e.name??""}" has ${n} columns; Excel allows ${H}.`);const s=e.header??!0,o=Array.from({length:n},()=>0),r=[];t.forEach((f,c)=>{const h=[];f.forEach((g,E)=>{o[E]=Math.max(o[E],ve(g));const S=ke(`${O(E+1)}${c+1}`,g,s&&c===0?1:0);S&&h.push(S)}),h.length&&r.push(`<row r="${c+1}">${h.join("")}</row>`)});const i=t.length&&n?`A1:${O(n)}${t.length}`:"A1",a=n?`<cols>${o.map((f,c)=>`<col min="${c+1}" max="${c+1}" width="${Math.min(60,Math.max(8,f+2))}" customWidth="1"/>`).join("")}</cols>`:"",l=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4
4
  <worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><dimension ref="${i}"/><sheetViews><sheetView workbookViewId="0"${s&&t.length>1?'><pane ySplit="1" topLeftCell="A2" activePane="bottomLeft" state="frozen"/></sheetView>':"/>"}</sheetViews><sheetFormatPr defaultRowHeight="15"/>${a}<sheetData>${r.join("")}</sheetData><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/></worksheet>`,u=St(l);if(u>R)throw new Error(`Sheet ${JSON.stringify(e.name??"")} would be ${u} bytes of worksheet XML; the limit is ${R} bytes (roughly 30,000 text cells). Split the rows across sheets or files, shorten cell text, or write a CSV instead.`);return{xml:l,rows:t.length,columns:n}}const Re=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
@@ -1,4 +1,4 @@
1
- import{s as ai,g as oi,q as It,p as ri,a as hi,b as li,_ as a,l as Bt,G as ci,d as gi,r as ui,A as mt,i as di,D as zt,E as xi,X as fi,aB as pi,a8 as vt}from"./mermaid.core-C4R8NQRz.js";import{i as mi}from"./init-Gi6I4Gst.js";import{o as yi}from"./ordinal-Cboi1Yqb.js";import{l as Lt}from"./linear-DL_T580R.js";import"./app-DDsVI393.js";import"./defaultLocale-DX6XiGOO.js";function bi(t,i,e){t=+t,i=+i,e=(n=arguments.length)<2?(i=t,t=0,1):n<3?1:+e;for(var s=-1,n=Math.max(0,Math.ceil((i-t)/e))|0,h=new Array(n);++s<n;)h[s]=t+s*e;return h}function ut(){var t=yi().unknown(void 0),i=t.domain,e=t.range,s=0,n=1,h,l,d=!1,x=0,C=0,k=.5;delete t.unknown;function R(){var b=i().length,E=n<s,v=E?n:s,L=E?s:n;h=(L-v)/Math.max(1,b-x+C*2),d&&(h=Math.floor(h)),v+=(L-v-h*(b-x))*k,l=h*(1-x),d&&(v=Math.round(v),l=Math.round(l));var M=bi(b).map(function(m){return v+h*m});return e(E?M.reverse():M)}return t.domain=function(b){return arguments.length?(i(b),R()):i()},t.range=function(b){return arguments.length?([s,n]=b,s=+s,n=+n,R()):[s,n]},t.rangeRound=function(b){return[s,n]=b,s=+s,n=+n,d=!0,R()},t.bandwidth=function(){return l},t.step=function(){return h},t.round=function(b){return arguments.length?(d=!!b,R()):d},t.padding=function(b){return arguments.length?(x=Math.min(1,C=+b),R()):x},t.paddingInner=function(b){return arguments.length?(x=Math.min(1,b),R()):x},t.paddingOuter=function(b){return arguments.length?(C=+b,R()):C},t.align=function(b){return arguments.length?(k=Math.max(0,Math.min(1,b)),R()):k},t.copy=function(){return ut(i(),[s,n]).round(d).paddingInner(x).paddingOuter(C).align(k)},mi.apply(R(),arguments)}var dt=(function(){var t=a(function(W,r,g,u){for(g=g||{},u=W.length;u--;g[W[u]]=r);return g},"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],n=[1,5],h=[1,6],l=[1,7],d=[1,5,10,12,14,16,18,19,21,23,36,37,38],x=[1,25],C=[1,26],k=[1,28],R=[1,29],b=[1,30],E=[1,31],v=[1,32],L=[1,33],M=[1,34],m=[1,35],D=[1,36],c=[1,37],z=[1,43],F=[1,42],X=[1,47],N=[1,50],_=[1,10,12,14,16,18,19,21,23,36,37,38],H=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],w=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],A=[1,65],O=[26,28],T={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:a(function(r,g,u,f,S,o,Z){var p=o.length-1;switch(S){case 5:f.setOrientation(o[p]);break;case 9:f.setDiagramTitle(o[p].text.trim());break;case 12:f.setLineData({text:"",type:"text"},o[p]);break;case 13:f.setLineData(o[p-1],o[p]);break;case 14:f.setBarData({text:"",type:"text"},o[p]);break;case 15:f.setBarData(o[p-1],o[p]);break;case 16:this.$=o[p].trim(),f.setAccTitle(this.$);break;case 17:case 18:this.$=o[p].trim(),f.setAccDescription(this.$);break;case 19:this.$=o[p-1];break;case 20:case 30:this.$=[o[p-2],...o[p]];break;case 21:case 31:this.$=[o[p]];break;case 22:this.$={value:Number(o[p-1]),label:o[p]};break;case 23:this.$={value:Number(o[p]),label:""};break;case 24:f.setXAxisTitle(o[p]);break;case 25:f.setXAxisTitle(o[p-1]);break;case 26:f.setXAxisTitle({type:"text",text:""});break;case 27:f.setXAxisBand(o[p]);break;case 28:f.setXAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 29:this.$=o[p-1];break;case 32:f.setYAxisTitle(o[p]);break;case 33:f.setYAxisTitle(o[p-1]);break;case 34:f.setYAxisTitle({type:"text",text:""});break;case 35:f.setYAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 39:this.$={text:o[p],type:"text"};break;case 40:this.$={text:o[p],type:"text"};break;case 41:this.$={text:o[p],type:"markdown"};break;case 42:this.$=o[p];break;case 43:this.$=o[p-1]+""+o[p];break}},"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,36:n,37:h,38:l}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,36:n,37:h,38:l}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],36:n,37:h,38:l}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(d,[2,36]),t(d,[2,37]),t(d,[2,38]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,36:n,37:h,38:l}),{1:[2,3]},t(d,[2,5]),t(i,[2,7],{4:22,36:n,37:h,38:l}),{11:23,30:x,39:24,40:C,41:27,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c},{11:39,13:38,24:z,29:F,30:x,31:40,32:41,39:24,40:C,41:27,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c},{11:45,15:44,29:X,30:x,35:46,39:24,40:C,41:27,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c},{11:49,17:48,24:N,30:x,39:24,40:C,41:27,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c},{11:52,17:51,24:N,30:x,39:24,40:C,41:27,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c},{20:[1,53]},{22:[1,54]},t(_,[2,18]),{1:[2,2]},t(_,[2,8]),t(_,[2,9]),t(H,[2,39],{41:55,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c}),t(H,[2,40]),t(H,[2,41]),t(w,[2,42]),t(w,[2,44]),t(w,[2,45]),t(w,[2,46]),t(w,[2,47]),t(w,[2,48]),t(w,[2,49]),t(w,[2,50]),t(w,[2,51]),t(w,[2,52]),t(w,[2,53]),t(_,[2,10]),t(_,[2,24],{32:41,31:56,24:z,29:F}),t(_,[2,26]),t(_,[2,27]),{33:[1,57]},{11:59,30:x,34:58,39:24,40:C,41:27,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c},t(_,[2,11]),t(_,[2,32],{35:60,29:X}),t(_,[2,34]),{33:[1,61]},t(_,[2,12]),{17:62,24:N},{25:63,27:64,29:A},t(_,[2,14]),{17:66,24:N},t(_,[2,16]),t(_,[2,17]),t(w,[2,43]),t(_,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},t(_,[2,33]),{29:[1,70]},t(_,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},t(O,[2,23],{30:[1,73]}),t(_,[2,15]),t(_,[2,28]),t(_,[2,29]),{11:59,30:x,34:74,39:24,40:C,41:27,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c},t(_,[2,35]),t(_,[2,19]),{25:75,27:64,29:A},t(O,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:a(function(r,g){if(g.recoverable)this.trace(r);else{var u=new Error(r);throw u.hash=g,u}},"parseError"),parse:a(function(r){var g=this,u=[0],f=[],S=[null],o=[],Z=this.table,p="",et=0,kt=0,ii=2,Tt=1,ei=o.slice.call(arguments,1),P=Object.create(this.lexer),$={yy:{}};for(var ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ht)&&($.yy[ht]=this.yy[ht]);P.setInput(r,$.yy),$.yy.lexer=P,$.yy.parser=this,typeof P.yylloc>"u"&&(P.yylloc={});var lt=P.yylloc;o.push(lt);var si=P.options&&P.options.ranges;typeof $.yy.parseError=="function"?this.parseError=$.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ni(B){u.length=u.length-2*B,S.length=S.length-B,o.length=o.length-B}a(ni,"popStack");function Dt(){var B;return B=f.pop()||P.lex()||Tt,typeof B!="number"&&(B instanceof Array&&(f=B,B=f.pop()),B=g.symbols_[B]||B),B}a(Dt,"lex");for(var I,U,V,ct,j={},st,Y,Pt,nt;;){if(U=u[u.length-1],this.defaultActions[U]?V=this.defaultActions[U]:((I===null||typeof I>"u")&&(I=Dt()),V=Z[U]&&Z[U][I]),typeof V>"u"||!V.length||!V[0]){var gt="";nt=[];for(st in Z[U])this.terminals_[st]&&st>ii&&nt.push("'"+this.terminals_[st]+"'");P.showPosition?gt="Parse error on line "+(et+1)+`:
1
+ import{s as ai,g as oi,q as It,p as ri,a as hi,b as li,_ as a,l as Bt,G as ci,d as gi,r as ui,A as mt,i as di,D as zt,E as xi,X as fi,aB as pi,a8 as vt}from"./mermaid.core-Cf_HDEwk.js";import{i as mi}from"./init-Gi6I4Gst.js";import{o as yi}from"./ordinal-Cboi1Yqb.js";import{l as Lt}from"./linear-yuvoF7oC.js";import"./app-CoFPYBYF.js";import"./defaultLocale-DX6XiGOO.js";function bi(t,i,e){t=+t,i=+i,e=(n=arguments.length)<2?(i=t,t=0,1):n<3?1:+e;for(var s=-1,n=Math.max(0,Math.ceil((i-t)/e))|0,h=new Array(n);++s<n;)h[s]=t+s*e;return h}function ut(){var t=yi().unknown(void 0),i=t.domain,e=t.range,s=0,n=1,h,l,d=!1,x=0,C=0,k=.5;delete t.unknown;function R(){var b=i().length,E=n<s,v=E?n:s,L=E?s:n;h=(L-v)/Math.max(1,b-x+C*2),d&&(h=Math.floor(h)),v+=(L-v-h*(b-x))*k,l=h*(1-x),d&&(v=Math.round(v),l=Math.round(l));var M=bi(b).map(function(m){return v+h*m});return e(E?M.reverse():M)}return t.domain=function(b){return arguments.length?(i(b),R()):i()},t.range=function(b){return arguments.length?([s,n]=b,s=+s,n=+n,R()):[s,n]},t.rangeRound=function(b){return[s,n]=b,s=+s,n=+n,d=!0,R()},t.bandwidth=function(){return l},t.step=function(){return h},t.round=function(b){return arguments.length?(d=!!b,R()):d},t.padding=function(b){return arguments.length?(x=Math.min(1,C=+b),R()):x},t.paddingInner=function(b){return arguments.length?(x=Math.min(1,b),R()):x},t.paddingOuter=function(b){return arguments.length?(C=+b,R()):C},t.align=function(b){return arguments.length?(k=Math.max(0,Math.min(1,b)),R()):k},t.copy=function(){return ut(i(),[s,n]).round(d).paddingInner(x).paddingOuter(C).align(k)},mi.apply(R(),arguments)}var dt=(function(){var t=a(function(W,r,g,u){for(g=g||{},u=W.length;u--;g[W[u]]=r);return g},"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],n=[1,5],h=[1,6],l=[1,7],d=[1,5,10,12,14,16,18,19,21,23,36,37,38],x=[1,25],C=[1,26],k=[1,28],R=[1,29],b=[1,30],E=[1,31],v=[1,32],L=[1,33],M=[1,34],m=[1,35],D=[1,36],c=[1,37],z=[1,43],F=[1,42],X=[1,47],N=[1,50],_=[1,10,12,14,16,18,19,21,23,36,37,38],H=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],w=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],A=[1,65],O=[26,28],T={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:a(function(r,g,u,f,S,o,Z){var p=o.length-1;switch(S){case 5:f.setOrientation(o[p]);break;case 9:f.setDiagramTitle(o[p].text.trim());break;case 12:f.setLineData({text:"",type:"text"},o[p]);break;case 13:f.setLineData(o[p-1],o[p]);break;case 14:f.setBarData({text:"",type:"text"},o[p]);break;case 15:f.setBarData(o[p-1],o[p]);break;case 16:this.$=o[p].trim(),f.setAccTitle(this.$);break;case 17:case 18:this.$=o[p].trim(),f.setAccDescription(this.$);break;case 19:this.$=o[p-1];break;case 20:case 30:this.$=[o[p-2],...o[p]];break;case 21:case 31:this.$=[o[p]];break;case 22:this.$={value:Number(o[p-1]),label:o[p]};break;case 23:this.$={value:Number(o[p]),label:""};break;case 24:f.setXAxisTitle(o[p]);break;case 25:f.setXAxisTitle(o[p-1]);break;case 26:f.setXAxisTitle({type:"text",text:""});break;case 27:f.setXAxisBand(o[p]);break;case 28:f.setXAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 29:this.$=o[p-1];break;case 32:f.setYAxisTitle(o[p]);break;case 33:f.setYAxisTitle(o[p-1]);break;case 34:f.setYAxisTitle({type:"text",text:""});break;case 35:f.setYAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 39:this.$={text:o[p],type:"text"};break;case 40:this.$={text:o[p],type:"text"};break;case 41:this.$={text:o[p],type:"markdown"};break;case 42:this.$=o[p];break;case 43:this.$=o[p-1]+""+o[p];break}},"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,36:n,37:h,38:l}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,36:n,37:h,38:l}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],36:n,37:h,38:l}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(d,[2,36]),t(d,[2,37]),t(d,[2,38]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,36:n,37:h,38:l}),{1:[2,3]},t(d,[2,5]),t(i,[2,7],{4:22,36:n,37:h,38:l}),{11:23,30:x,39:24,40:C,41:27,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c},{11:39,13:38,24:z,29:F,30:x,31:40,32:41,39:24,40:C,41:27,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c},{11:45,15:44,29:X,30:x,35:46,39:24,40:C,41:27,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c},{11:49,17:48,24:N,30:x,39:24,40:C,41:27,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c},{11:52,17:51,24:N,30:x,39:24,40:C,41:27,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c},{20:[1,53]},{22:[1,54]},t(_,[2,18]),{1:[2,2]},t(_,[2,8]),t(_,[2,9]),t(H,[2,39],{41:55,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c}),t(H,[2,40]),t(H,[2,41]),t(w,[2,42]),t(w,[2,44]),t(w,[2,45]),t(w,[2,46]),t(w,[2,47]),t(w,[2,48]),t(w,[2,49]),t(w,[2,50]),t(w,[2,51]),t(w,[2,52]),t(w,[2,53]),t(_,[2,10]),t(_,[2,24],{32:41,31:56,24:z,29:F}),t(_,[2,26]),t(_,[2,27]),{33:[1,57]},{11:59,30:x,34:58,39:24,40:C,41:27,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c},t(_,[2,11]),t(_,[2,32],{35:60,29:X}),t(_,[2,34]),{33:[1,61]},t(_,[2,12]),{17:62,24:N},{25:63,27:64,29:A},t(_,[2,14]),{17:66,24:N},t(_,[2,16]),t(_,[2,17]),t(w,[2,43]),t(_,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},t(_,[2,33]),{29:[1,70]},t(_,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},t(O,[2,23],{30:[1,73]}),t(_,[2,15]),t(_,[2,28]),t(_,[2,29]),{11:59,30:x,34:74,39:24,40:C,41:27,42:k,43:R,44:b,45:E,46:v,47:L,48:M,49:m,50:D,51:c},t(_,[2,35]),t(_,[2,19]),{25:75,27:64,29:A},t(O,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:a(function(r,g){if(g.recoverable)this.trace(r);else{var u=new Error(r);throw u.hash=g,u}},"parseError"),parse:a(function(r){var g=this,u=[0],f=[],S=[null],o=[],Z=this.table,p="",et=0,kt=0,ii=2,Tt=1,ei=o.slice.call(arguments,1),P=Object.create(this.lexer),$={yy:{}};for(var ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ht)&&($.yy[ht]=this.yy[ht]);P.setInput(r,$.yy),$.yy.lexer=P,$.yy.parser=this,typeof P.yylloc>"u"&&(P.yylloc={});var lt=P.yylloc;o.push(lt);var si=P.options&&P.options.ranges;typeof $.yy.parseError=="function"?this.parseError=$.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ni(B){u.length=u.length-2*B,S.length=S.length-B,o.length=o.length-B}a(ni,"popStack");function Dt(){var B;return B=f.pop()||P.lex()||Tt,typeof B!="number"&&(B instanceof Array&&(f=B,B=f.pop()),B=g.symbols_[B]||B),B}a(Dt,"lex");for(var I,U,V,ct,j={},st,Y,Pt,nt;;){if(U=u[u.length-1],this.defaultActions[U]?V=this.defaultActions[U]:((I===null||typeof I>"u")&&(I=Dt()),V=Z[U]&&Z[U][I]),typeof V>"u"||!V.length||!V[0]){var gt="";nt=[];for(st in Z[U])this.terminals_[st]&&st>ii&&nt.push("'"+this.terminals_[st]+"'");P.showPosition?gt="Parse error on line "+(et+1)+`:
2
2
  `+P.showPosition()+`
3
3
  Expecting `+nt.join(", ")+", got '"+(this.terminals_[I]||I)+"'":gt="Parse error on line "+(et+1)+": Unexpected "+(I==Tt?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(gt,{text:P.match,token:this.terminals_[I]||I,line:P.yylineno,loc:lt,expected:nt})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+I);switch(V[0]){case 1:u.push(I),S.push(P.yytext),o.push(P.yylloc),u.push(V[1]),I=null,kt=P.yyleng,p=P.yytext,et=P.yylineno,lt=P.yylloc;break;case 2:if(Y=this.productions_[V[1]][1],j.$=S[S.length-Y],j._$={first_line:o[o.length-(Y||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(Y||1)].first_column,last_column:o[o.length-1].last_column},si&&(j._$.range=[o[o.length-(Y||1)].range[0],o[o.length-1].range[1]]),ct=this.performAction.apply(j,[p,kt,et,$.yy,V[1],S,o].concat(ei)),typeof ct<"u")return ct;Y&&(u=u.slice(0,-1*Y*2),S=S.slice(0,-1*Y),o=o.slice(0,-1*Y)),u.push(this.productions_[V[1]][0]),S.push(j.$),o.push(j._$),Pt=Z[u[u.length-2]][u[u.length-1]],u.push(Pt);break;case 3:return!0}}return!0},"parse")},K=(function(){var W={EOF:1,parseError:a(function(g,u){if(this.yy.parser)this.yy.parser.parseError(g,u);else throw new Error(g)},"parseError"),setInput:a(function(r,g){return this.yy=g||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:a(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var g=r.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:a(function(r){var g=r.length,u=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var f=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===f.length?this.yylloc.first_column:0)+f[f.length-u.length].length-u[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:a(function(r){this.unput(this.match.slice(r))},"less"),pastInput:a(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var r=this.pastInput(),g=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
package/web/index.html CHANGED
@@ -102,8 +102,8 @@
102
102
  } catch (e) {}
103
103
  })();
104
104
  </script>
105
- <script type="module" crossorigin src="/assets/app-DDsVI393.js"></script>
106
- <link rel="stylesheet" crossorigin href="/assets/app-BinIaXyk.css">
105
+ <script type="module" crossorigin src="/assets/app-CoFPYBYF.js"></script>
106
+ <link rel="stylesheet" crossorigin href="/assets/app-aKrWzh-_.css">
107
107
  </head>
108
108
  <body class="bg-dls-surface text-dls-text mac:bg-transparent">
109
109
  <div id="root">