@sheetxl/sdk 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/browser/cjs/{Dp_0GxjE3JGmxJ__.cjs → 0xmZmxJjOmmjIHmP.cjs} +2 -2
  2. package/browser/cjs/{D4DJUbHguXQO7MqG.cjs → 1fozUmjGg-EipZ-I.cjs} +4 -4
  3. package/browser/cjs/{B0Mgg7I6p1ceY3rN.cjs → 242NkDzjjiWIfC7x.cjs} +1 -1
  4. package/browser/cjs/{CeFdVjSCXrLYCXCU.cjs → 3LIyo_LBPz4W3RmJ.cjs} +2 -2
  5. package/browser/cjs/{D7n5QHfgHMN7Ubsh.cjs → 3WQbj91IFfDAC0gN.cjs} +1 -1
  6. package/browser/cjs/{CtaQiu1oagSXCXXK.cjs → 5D6Cs9GidLGWb2c8.cjs} +4 -4
  7. package/browser/cjs/{BBOV5cemxNXMsT5e.cjs → BJSgti3yu3jgoZBX.cjs} +1 -1
  8. package/browser/cjs/{NQji61IYyDBithp9.cjs → BNu5tnv0HWnD0a-Y.cjs} +1 -1
  9. package/browser/cjs/{DqgIZPp7jtFutMPR.cjs → BWR8dikecERz-mPC.cjs} +1 -1
  10. package/browser/cjs/{D7IBYt0m3kE9Dgab.cjs → BY8kFpbTK9YmTthu.cjs} +3 -3
  11. package/browser/cjs/{Ch4ZGmjKP0WTpVhB.cjs → BajpEaGKY8b2Svfu.cjs} +1 -1
  12. package/browser/cjs/{DdmOYUEsRqX0HKiE.cjs → BfGrLu3pwOGhQy_P.cjs} +4 -4
  13. package/browser/cjs/{57X1Mb81YIQgsw4g.cjs → BfiTBtFhUyNvcKLX.cjs} +1 -1
  14. package/browser/cjs/{DdvRZSHU07d0SJND.cjs → By6PgbWbM1A7W6oi.cjs} +1 -1
  15. package/browser/cjs/{BvI7tcol77xoHIM4.cjs → C-ausUhunWAualf3.cjs} +1 -1
  16. package/browser/cjs/{D2mGoMelJkvbn0dS.cjs → C2Kdm1dpMOQIX9fp.cjs} +1 -1
  17. package/browser/cjs/{JWZZpQcTBYdqmuUW.cjs → CCCRql04-bLPGjcj.cjs} +2 -2
  18. package/browser/cjs/{CxaFOlRqTSy7Jlc9.cjs → CMA5t29CKdOzWCXY.cjs} +1 -1
  19. package/browser/cjs/{ZvgpcQAvYAnvCwhP.cjs → D5UzXJK_3v6LMnmV.cjs} +1 -1
  20. package/browser/cjs/{15AOcGpF9P2PgE8n.cjs → D_isdSejjd3cTHd9.cjs} +1 -1
  21. package/browser/cjs/{ImOEyTGPkbtm6yWG.cjs → DbDwN_TXoWUjF5TN.cjs} +1 -1
  22. package/browser/cjs/{CeipDJjIRwQ790Ca.cjs → DezMujeboAuMduSK.cjs} +1 -1
  23. package/browser/cjs/{D_AVSJSxbexl5_Qc.cjs → DkG3pV-kF_aJRBWX.cjs} +1 -1
  24. package/browser/cjs/{LRzcJjMh_2Sg2Iyq.cjs → DlgyITQ1YrxN5V6a.cjs} +1 -1
  25. package/browser/cjs/{Xss-dNJjqGh-xGja.cjs → DoCioWdhrAULs2yd.cjs} +2 -2
  26. package/browser/cjs/{CfouDIlYV1rbE7L-.cjs → DqSxMnyKewiS8fBV.cjs} +1 -1
  27. package/browser/cjs/{rx448m2c_2rk-ZL2.cjs → IIq_ZeY4xw5jUCtS.cjs} +1 -1
  28. package/browser/cjs/{BqwLZnCcokB0gJUg.cjs → Lnci5f-BVgdm0alm.cjs} +1 -1
  29. package/browser/cjs/{W7UjTQi6GYOYRGPH.cjs → NqwHbjXIQBBbSRXi.cjs} +1 -1
  30. package/browser/cjs/{DhAXete205u1BUF9.cjs → SjaaMyCi5dtgGGmL.cjs} +1 -1
  31. package/browser/cjs/{KQNpeB5hbqIYjp_r.cjs → YC_0gl0kTs_z8yNW.cjs} +1 -1
  32. package/browser/cjs/{Bxag54-yDHHST3Wd.cjs → bGJeSH7RAhruwQiT.cjs} +1 -1
  33. package/browser/cjs/{WVaevsWmtJcDkHzf.cjs → exZ3j01gpRsWnm9t.cjs} +1 -1
  34. package/browser/cjs/index.cjs +2 -2
  35. package/browser/esm/{DwXGwKlOzkVh3sXn.mjs → 8kDnrf47IJS8Z5HU.mjs} +8 -8
  36. package/browser/esm/{Ep2xp_qq1WnkwQ-4.mjs → B4npvpWOwSo8cfNR.mjs} +1 -1
  37. package/browser/esm/{XXbCXuFAJplwT_i6.mjs → BUvxk1iACfKNeSYd.mjs} +1 -1
  38. package/{node/esm/DfKwAoUuV9f4j0gn.mjs → browser/esm/BX64GbFehCDkWggk.mjs} +1 -1
  39. package/browser/esm/{qxyhqVpudmxAVheL.mjs → BXj6VLcvFADDe_qT.mjs} +1 -1
  40. package/browser/esm/{CP02kAnVHwlz71EV.mjs → BcypK4JKXPJ-sCCP.mjs} +1 -1
  41. package/{node/esm/m_0OUN7zT7-GCOZI.mjs → browser/esm/BfGWWDwbDdeUcJQC.mjs} +1 -1
  42. package/browser/esm/{DRd9s4gIGWuK5-R-.mjs → BnzRty-9U5hKl20h.mjs} +2 -2
  43. package/browser/esm/{YuK71EKhaf-WleSP.mjs → BsSZI4PHsrQmcDPU.mjs} +1 -1
  44. package/browser/esm/{CRX2fvd3JBNH1inQ.mjs → C2P0SXTA2Kbr1ZPX.mjs} +4 -4
  45. package/browser/esm/{D57eR1LljugozA9Z.mjs → C2sFUfXffeShugL0.mjs} +1 -1
  46. package/{node/esm/BYP_vBrtrJmMosg3.mjs → browser/esm/CFUPa-kvZ75I8_pF.mjs} +1 -1
  47. package/browser/esm/{DZcFAGNYJO5qYnjh.mjs → CMukby167vn8QL-R.mjs} +1 -1
  48. package/{node/esm/D7W3PNn-2IoFru0l.mjs → browser/esm/CZLWcD5IioLpdBiZ.mjs} +1 -1
  49. package/{node/esm/BldbegDy2Im9Vwy_.mjs → browser/esm/Ca5hzGQtiO3NG2vI.mjs} +1 -1
  50. package/{node/esm/Of5ubKFb9FmEEPGu.mjs → browser/esm/CkgLXVYEawknlNu2.mjs} +1 -1
  51. package/browser/esm/{CR8ryNaQrZTwbWLQ.mjs → CmltvNLgW0xUWuZW.mjs} +1 -1
  52. package/browser/esm/{EWLavRuO7BMH3CES.mjs → CxBB1R9hBAwhpG9i.mjs} +2 -2
  53. package/{node/esm/BMvMKpCuQ7OMhb6D.mjs → browser/esm/DLCYUalcNoz2wKdr.mjs} +1 -1
  54. package/browser/esm/{CeTz_0h7mzzs7S6d.mjs → DOEuoyqTO66GEqBW.mjs} +3 -3
  55. package/browser/esm/{A2KtAgZ1ZZzlKqrW.mjs → DOuxwS0XX9_yeiWM.mjs} +1 -1
  56. package/{node/esm/MsUATmonUEbmdGEg.mjs → browser/esm/Djq_sjDkyyHjk3wr.mjs} +1 -1
  57. package/browser/esm/{DowOxK5s6W8Hs5qU.mjs → Dlmqk-ACruvVvAqh.mjs} +4 -4
  58. package/browser/esm/{CkA378qg7LQEqeV4.mjs → DmQ-xCfZi9LH_El_.mjs} +2 -2
  59. package/browser/esm/{CpERAbkVKi6v2R5z.mjs → Dm_UkJgVCA2_KVXj.mjs} +1 -1
  60. package/{node/esm/D3qT4ckeVdUIf8KG.mjs → browser/esm/Dsaf7PD7qZsZhfJz.mjs} +1 -1
  61. package/browser/esm/{BfA0oeliVjmuULjo.mjs → DuUswXm1yKQj22VO.mjs} +1 -1
  62. package/browser/esm/{BfqVWbuZPVip1p2y.mjs → HS4onOMFxlYr1580.mjs} +1 -1
  63. package/browser/esm/{_eNY2dP2qQ62235I.mjs → TPKd00FP_u2U6C49.mjs} +1 -1
  64. package/{node/esm/CFIAFeV-kbKIMGaW.mjs → browser/esm/i3Uz3s7bb7ATzN9e.mjs} +1 -1
  65. package/browser/esm/index.mjs +2 -2
  66. package/browser/esm/{Dm-yHuQ_8smSK8zh.mjs → k986x8R6gj-EhlYv.mjs} +1 -1
  67. package/browser/esm/{Cuc9gxubXUidHefW.mjs → krpxpx2ReIhrUQqk.mjs} +2 -2
  68. package/browser/esm/{BxKrVCe67zQZXaFe.mjs → vUYp4Jh31vLXAwUz.mjs} +1 -1
  69. package/licenses/dependencies.txt +3 -3
  70. package/node/esm/{DDAppiOAzrEy_PcS.mjs → B1JX3uyy3Nhm5_j2.mjs} +1 -1
  71. package/node/esm/{Ep2xp_qq1WnkwQ-4.mjs → B4npvpWOwSo8cfNR.mjs} +1 -1
  72. package/node/esm/{D4ZDjjk2WHyCqHIe.mjs → B9LTwhz__4B5gtLl.mjs} +1 -1
  73. package/node/esm/{A-93HEOUDI4JpIFE.mjs → BHk9xNB04ZhQ319c.mjs} +2 -2
  74. package/node/esm/{BQC0F5ietGENZKyH.mjs → BUfTNDCevr4f9sN6.mjs} +1 -1
  75. package/node/esm/{XXbCXuFAJplwT_i6.mjs → BUvxk1iACfKNeSYd.mjs} +1 -1
  76. package/{browser/esm/DfKwAoUuV9f4j0gn.mjs → node/esm/BX64GbFehCDkWggk.mjs} +1 -1
  77. package/node/esm/{BVURFQqE_KXN-Uqn.mjs → BYaFypfhgLKAu_cx.mjs} +2 -2
  78. package/node/esm/{CP02kAnVHwlz71EV.mjs → BcypK4JKXPJ-sCCP.mjs} +1 -1
  79. package/{browser/esm/m_0OUN7zT7-GCOZI.mjs → node/esm/BfGWWDwbDdeUcJQC.mjs} +1 -1
  80. package/node/esm/{BH4FTFTTaalZge5L.mjs → C4EOeZ1D3X5VPHXh.mjs} +1 -1
  81. package/node/esm/{D767fK1WoXC3YeeO.mjs → C9NErSQtZcZqp7FU.mjs} +1 -1
  82. package/node/esm/{DdQ4X9e7ES69T_kv.mjs → CA99SbGNZzpTHLKo.mjs} +2 -2
  83. package/{browser/esm/BYP_vBrtrJmMosg3.mjs → node/esm/CFUPa-kvZ75I8_pF.mjs} +1 -1
  84. package/{browser/esm/D7W3PNn-2IoFru0l.mjs → node/esm/CZLWcD5IioLpdBiZ.mjs} +1 -1
  85. package/{browser/esm/BldbegDy2Im9Vwy_.mjs → node/esm/Ca5hzGQtiO3NG2vI.mjs} +1 -1
  86. package/{browser/esm/Of5ubKFb9FmEEPGu.mjs → node/esm/CkgLXVYEawknlNu2.mjs} +1 -1
  87. package/node/esm/{LRiYR8hkfLZA1lud.mjs → CmLF8RQSHdTJePeZ.mjs} +1 -1
  88. package/node/esm/{CR8ryNaQrZTwbWLQ.mjs → CmltvNLgW0xUWuZW.mjs} +1 -1
  89. package/node/esm/{DvW1-4E92rqMluYF.mjs → D9pCyBeIVg1LR9sy.mjs} +3 -3
  90. package/{browser/esm/BMvMKpCuQ7OMhb6D.mjs → node/esm/DLCYUalcNoz2wKdr.mjs} +1 -1
  91. package/node/esm/{B849dDAbNzcAWdIf.mjs → DNMOmjeba5Nf3iw6.mjs} +1 -1
  92. package/node/esm/{A2KtAgZ1ZZzlKqrW.mjs → DOuxwS0XX9_yeiWM.mjs} +1 -1
  93. package/node/esm/{4p4QkPdpTSnxhcYT.mjs → DfG4jCDsh1uyjLV3.mjs} +1 -1
  94. package/node/esm/{CjedKP1Ap009z7yH.mjs → DhS4tP__Bz7w1SVJ.mjs} +4 -4
  95. package/{browser/esm/MsUATmonUEbmdGEg.mjs → node/esm/Djq_sjDkyyHjk3wr.mjs} +1 -1
  96. package/{browser/esm/D3qT4ckeVdUIf8KG.mjs → node/esm/Dsaf7PD7qZsZhfJz.mjs} +1 -1
  97. package/node/esm/{B_8H9Q2rpNm2_tP3.mjs → TBOoV3GxYFgBIrbV.mjs} +1 -1
  98. package/node/esm/{_eNY2dP2qQ62235I.mjs → TPKd00FP_u2U6C49.mjs} +1 -1
  99. package/{browser/esm/CFIAFeV-kbKIMGaW.mjs → node/esm/i3Uz3s7bb7ATzN9e.mjs} +1 -1
  100. package/node/esm/index.mjs +7 -7
  101. package/node/esm/{CjDTYU6purjPsTGz.mjs → xoDUhs5wl4hlF48c.mjs} +1 -1
  102. package/package.json +4 -4
@@ -1,9 +1,9 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.1
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */const yt=require("./CtaQiu1oagSXCXXK.cjs");function kt(Y,H){for(var k=0;k<H.length;k++){const P=H[k];if(typeof P!="string"&&!Array.isArray(P)){for(const N in P)if(N!=="default"&&!(N in Y)){const Q=Object.getOwnPropertyDescriptor(P,N);Q&&Object.defineProperty(Y,N,Q.get?Q:{enumerable:!0,get:()=>P[N]})}}}return Object.freeze(Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"}))}var ct,pt={exports:{}},gt=(ct||(ct=1,pt.exports=function Y(){var H,k=typeof self<"u"?self:typeof window<"u"?window:k!==void 0?k:{},P=!k.document&&!!k.postMessage,N=k.IS_PAPA_WORKER||!1,Q={},mt=0,o={};function B(t){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var i=at(e);i.chunkSize=parseInt(i.chunkSize),e.step||e.chunk||(i.chunkSize=null),this._handle=new ht(i),(this._handle.streamer=this)._config=i}.call(this,t),this.parseChunk=function(e,i){var n=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<n){let c=this._config.newline;c||(r=this._config.quoteChar||'"',c=this._handle.guessLineEndings(e,r)),e=[...e.split(c).slice(n)].join(c)}this.isFirstChunk&&_(this._config.beforeFirstChunk)&&(r=this._config.beforeFirstChunk(e))!==void 0&&(e=r),this.isFirstChunk=!1,this._halted=!1,n=this._partialLine+e;var r=(this._partialLine="",this._handle.parse(n,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=r.meta.cursor,this._finished||(this._partialLine=n.substring(e-this._baseIndex),this._baseIndex=e),r&&r.data&&(this._rowCount+=r.data.length),n=this._finished||this._config.preview&&this._rowCount>=this._config.preview,N)k.postMessage({results:r,workerId:o.WORKER_ID,finished:n});else if(_(this._config.chunk)&&!i){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=r=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),this._completed||!n||!_(this._config.complete)||r&&r.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),n||r&&r.meta.paused||this._nextChunk(),r}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):N&&this._config.error&&k.postMessage({workerId:o.WORKER_ID,error:e,finished:!1})}}function it(t){var e;(t=t||{}).chunkSize||(t.chunkSize=o.RemoteChunkSize),B.call(this,t),this._nextChunk=P?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(i){this._input=i,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),P||(e.onload=J(this._chunkLoaded,this),e.onerror=J(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!P),this._config.downloadRequestHeaders){var i,n=this._config.downloadRequestHeaders;for(i in n)e.setRequestHeader(i,n[i])}var r;this._config.chunkSize&&(r=this._start+this._config.chunkSize-1,e.setRequestHeader("Range","bytes="+this._start+"-"+r));try{e.send(this._config.downloadRequestBody)}catch(c){this._chunkError(c.message)}P&&e.status===0&&this._chunkError()}},this._chunkLoaded=function(){e.readyState===4&&(e.status<200||400<=e.status?this._chunkError():(this._start+=this._config.chunkSize||e.responseText.length,this._finished=!this._config.chunkSize||this._start>=(i=>(i=i.getResponseHeader("Content-Range"))!==null?parseInt(i.substring(i.lastIndexOf("/")+1)):-1)(e),this.parseChunk(e.responseText)))},this._chunkError=function(i){i=e.statusText||i,this._sendError(new Error(i))}}function rt(t){(t=t||{}).chunkSize||(t.chunkSize=o.LocalChunkSize),B.call(this,t);var e,i,n=typeof FileReader<"u";this.stream=function(r){this._input=r,i=r.slice||r.webkitSlice||r.mozSlice,n?((e=new FileReader).onload=J(this._chunkLoaded,this),e.onerror=J(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var r=this._input,c=(this._config.chunkSize&&(c=Math.min(this._start+this._config.chunkSize,this._input.size),r=i.call(r,this._start,c)),e.readAsText(r,this._config.encoding));n||this._chunkLoaded({target:{result:c}})},this._chunkLoaded=function(r){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(r.target.result)},this._chunkError=function(){this._sendError(e.error)}}function X(t){var e;B.call(this,t=t||{}),this.stream=function(i){return e=i,this._nextChunk()},this._nextChunk=function(){var i,n;if(!this._finished)return i=this._config.chunkSize,e=i?(n=e.substring(0,i),e.substring(i)):(n=e,""),this._finished=!e,this.parseChunk(n)}}function nt(t){B.call(this,t=t||{});var e=[],i=!0,n=!1;this.pause=function(){B.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){B.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(r){this._input=r,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){n&&e.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):i=!0},this._streamData=J(function(r){try{e.push(typeof r=="string"?r:r.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(c){this._streamError(c)}},this),this._streamError=J(function(r){this._streamCleanUp(),this._sendError(r)},this),this._streamEnd=J(function(){this._streamCleanUp(),n=!0,this._streamData("")},this),this._streamCleanUp=J(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function ht(t){var e,i,n,r,c=Math.pow(2,53),R=-c,I=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,z=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,p=this,E=0,a=0,F=!1,u=!1,g=[],s={data:[],errors:[],meta:{}};function O(h){return t.skipEmptyLines==="greedy"?h.join("").trim()==="":h.length===1&&h[0].length===0}function C(){if(s&&n&&(M("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+o.DefaultDelimiter+"'"),n=!1),t.skipEmptyLines&&(s.data=s.data.filter(function(l){return!O(l)})),T()){let l=function(S,L){_(t.transformHeader)&&(S=t.transformHeader(S,L)),g.push(S)};if(s)if(Array.isArray(s.data[0])){for(var h=0;T()&&h<s.data.length;h++)s.data[h].forEach(l);s.data.splice(0,1)}else s.data.forEach(l)}function d(l,S){for(var L=t.header?{}:[],b=0;b<l.length;b++){var y=b,m=l[b];m=((U,f)=>(v=>(t.dynamicTypingFunction&&t.dynamicTyping[v]===void 0&&(t.dynamicTyping[v]=t.dynamicTypingFunction(v)),(t.dynamicTyping[v]||t.dynamicTyping)===!0))(U)?f==="true"||f==="TRUE"||f!=="false"&&f!=="FALSE"&&((v=>{if(I.test(v)&&(v=parseFloat(v),R<v&&v<c))return 1})(f)?parseFloat(f):z.test(f)?new Date(f):f===""?null:f):f)(y=t.header?b>=g.length?"__parsed_extra":g[b]:y,m=t.transform?t.transform(m,y):m),y==="__parsed_extra"?(L[y]=L[y]||[],L[y].push(m)):L[y]=m}return t.header&&(b>g.length?M("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+b,a+S):b<g.length&&M("FieldMismatch","TooFewFields","Too few fields: expected "+g.length+" fields but parsed "+b,a+S)),L}var w;s&&(t.header||t.dynamicTyping||t.transform)&&(w=1,!s.data.length||Array.isArray(s.data[0])?(s.data=s.data.map(d),w=s.data.length):s.data=d(s.data,0),t.header&&s.meta&&(s.meta.fields=g),a+=w)}function T(){return t.header&&g.length===0}function M(h,d,w,l){h={type:h,code:d,message:w},l!==void 0&&(h.row=l),s.errors.push(h)}_(t.step)&&(r=t.step,t.step=function(h){s=h,T()?C():(C(),s.data.length!==0&&(E+=h.data.length,t.preview&&E>t.preview?i.abort():(s.data=s.data[0],r(s,p))))}),this.parse=function(h,d,w){var l=t.quoteChar||'"';return t.newline||(t.newline=this.guessLineEndings(h,l)),n=!1,t.delimiter?_(t.delimiter)&&(t.delimiter=t.delimiter(h),s.meta.delimiter=t.delimiter):((l=((S,L,b,y,m)=>{var U,f,v,$;m=m||[","," ","|",";",o.RECORD_SEP,o.UNIT_SEP];for(var Z=0;Z<m.length;Z++){for(var K,tt=m[Z],A=0,D=0,x=0,j=(v=void 0,new st({comments:y,delimiter:tt,newline:L,preview:10}).parse(S)),W=0;W<j.data.length;W++)b&&O(j.data[W])?x++:(D+=K=j.data[W].length,v===void 0?v=K:0<K&&(A+=Math.abs(K-v),v=K));0<j.data.length&&(D/=j.data.length-x),(f===void 0||A<=f)&&($===void 0||$<D)&&1.99<D&&(f=A,U=tt,$=D)}return{successful:!!(t.delimiter=U),bestDelimiter:U}})(h,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=l.bestDelimiter:(n=!0,t.delimiter=o.DefaultDelimiter),s.meta.delimiter=t.delimiter),l=at(t),t.preview&&t.header&&l.preview++,e=h,i=new st(l),s=i.parse(e,d,w),C(),F?{meta:{paused:!0}}:s||{meta:{paused:!1}}},this.paused=function(){return F},this.pause=function(){F=!0,i.abort(),e=_(t.chunk)?"":e.substring(i.getCharIndex())},this.resume=function(){p.streamer._halted?(F=!1,p.streamer.parseChunk(e,!0)):setTimeout(p.resume,3)},this.aborted=function(){return u},this.abort=function(){u=!0,i.abort(),s.meta.aborted=!0,_(t.complete)&&t.complete(s),e=""},this.guessLineEndings=function(h,d){h=h.substring(0,1048576),d=new RegExp(V(d)+"([^]*?)"+V(d),"gm");var w=(h=h.replace(d,"")).split("\r");if(h=1<(d=h.split(`
6
+ */const yt=require("./5D6Cs9GidLGWb2c8.cjs");function kt(Y,H){for(var k=0;k<H.length;k++){const P=H[k];if(typeof P!="string"&&!Array.isArray(P)){for(const N in P)if(N!=="default"&&!(N in Y)){const Q=Object.getOwnPropertyDescriptor(P,N);Q&&Object.defineProperty(Y,N,Q.get?Q:{enumerable:!0,get:()=>P[N]})}}}return Object.freeze(Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"}))}var ct,pt={exports:{}},gt=(ct||(ct=1,pt.exports=function Y(){var H,k=typeof self<"u"?self:typeof window<"u"?window:k!==void 0?k:{},P=!k.document&&!!k.postMessage,N=k.IS_PAPA_WORKER||!1,Q={},mt=0,o={};function B(t){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var i=at(e);i.chunkSize=parseInt(i.chunkSize),e.step||e.chunk||(i.chunkSize=null),this._handle=new ht(i),(this._handle.streamer=this)._config=i}.call(this,t),this.parseChunk=function(e,i){var n=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<n){let c=this._config.newline;c||(r=this._config.quoteChar||'"',c=this._handle.guessLineEndings(e,r)),e=[...e.split(c).slice(n)].join(c)}this.isFirstChunk&&_(this._config.beforeFirstChunk)&&(r=this._config.beforeFirstChunk(e))!==void 0&&(e=r),this.isFirstChunk=!1,this._halted=!1,n=this._partialLine+e;var r=(this._partialLine="",this._handle.parse(n,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=r.meta.cursor,this._finished||(this._partialLine=n.substring(e-this._baseIndex),this._baseIndex=e),r&&r.data&&(this._rowCount+=r.data.length),n=this._finished||this._config.preview&&this._rowCount>=this._config.preview,N)k.postMessage({results:r,workerId:o.WORKER_ID,finished:n});else if(_(this._config.chunk)&&!i){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=r=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),this._completed||!n||!_(this._config.complete)||r&&r.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),n||r&&r.meta.paused||this._nextChunk(),r}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):N&&this._config.error&&k.postMessage({workerId:o.WORKER_ID,error:e,finished:!1})}}function it(t){var e;(t=t||{}).chunkSize||(t.chunkSize=o.RemoteChunkSize),B.call(this,t),this._nextChunk=P?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(i){this._input=i,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),P||(e.onload=J(this._chunkLoaded,this),e.onerror=J(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!P),this._config.downloadRequestHeaders){var i,n=this._config.downloadRequestHeaders;for(i in n)e.setRequestHeader(i,n[i])}var r;this._config.chunkSize&&(r=this._start+this._config.chunkSize-1,e.setRequestHeader("Range","bytes="+this._start+"-"+r));try{e.send(this._config.downloadRequestBody)}catch(c){this._chunkError(c.message)}P&&e.status===0&&this._chunkError()}},this._chunkLoaded=function(){e.readyState===4&&(e.status<200||400<=e.status?this._chunkError():(this._start+=this._config.chunkSize||e.responseText.length,this._finished=!this._config.chunkSize||this._start>=(i=>(i=i.getResponseHeader("Content-Range"))!==null?parseInt(i.substring(i.lastIndexOf("/")+1)):-1)(e),this.parseChunk(e.responseText)))},this._chunkError=function(i){i=e.statusText||i,this._sendError(new Error(i))}}function rt(t){(t=t||{}).chunkSize||(t.chunkSize=o.LocalChunkSize),B.call(this,t);var e,i,n=typeof FileReader<"u";this.stream=function(r){this._input=r,i=r.slice||r.webkitSlice||r.mozSlice,n?((e=new FileReader).onload=J(this._chunkLoaded,this),e.onerror=J(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var r=this._input,c=(this._config.chunkSize&&(c=Math.min(this._start+this._config.chunkSize,this._input.size),r=i.call(r,this._start,c)),e.readAsText(r,this._config.encoding));n||this._chunkLoaded({target:{result:c}})},this._chunkLoaded=function(r){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(r.target.result)},this._chunkError=function(){this._sendError(e.error)}}function X(t){var e;B.call(this,t=t||{}),this.stream=function(i){return e=i,this._nextChunk()},this._nextChunk=function(){var i,n;if(!this._finished)return i=this._config.chunkSize,e=i?(n=e.substring(0,i),e.substring(i)):(n=e,""),this._finished=!e,this.parseChunk(n)}}function nt(t){B.call(this,t=t||{});var e=[],i=!0,n=!1;this.pause=function(){B.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){B.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(r){this._input=r,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){n&&e.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):i=!0},this._streamData=J(function(r){try{e.push(typeof r=="string"?r:r.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(c){this._streamError(c)}},this),this._streamError=J(function(r){this._streamCleanUp(),this._sendError(r)},this),this._streamEnd=J(function(){this._streamCleanUp(),n=!0,this._streamData("")},this),this._streamCleanUp=J(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function ht(t){var e,i,n,r,c=Math.pow(2,53),R=-c,I=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,z=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,p=this,E=0,a=0,F=!1,u=!1,g=[],s={data:[],errors:[],meta:{}};function O(h){return t.skipEmptyLines==="greedy"?h.join("").trim()==="":h.length===1&&h[0].length===0}function C(){if(s&&n&&(M("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+o.DefaultDelimiter+"'"),n=!1),t.skipEmptyLines&&(s.data=s.data.filter(function(l){return!O(l)})),T()){let l=function(S,L){_(t.transformHeader)&&(S=t.transformHeader(S,L)),g.push(S)};if(s)if(Array.isArray(s.data[0])){for(var h=0;T()&&h<s.data.length;h++)s.data[h].forEach(l);s.data.splice(0,1)}else s.data.forEach(l)}function d(l,S){for(var L=t.header?{}:[],b=0;b<l.length;b++){var y=b,m=l[b];m=((U,f)=>(v=>(t.dynamicTypingFunction&&t.dynamicTyping[v]===void 0&&(t.dynamicTyping[v]=t.dynamicTypingFunction(v)),(t.dynamicTyping[v]||t.dynamicTyping)===!0))(U)?f==="true"||f==="TRUE"||f!=="false"&&f!=="FALSE"&&((v=>{if(I.test(v)&&(v=parseFloat(v),R<v&&v<c))return 1})(f)?parseFloat(f):z.test(f)?new Date(f):f===""?null:f):f)(y=t.header?b>=g.length?"__parsed_extra":g[b]:y,m=t.transform?t.transform(m,y):m),y==="__parsed_extra"?(L[y]=L[y]||[],L[y].push(m)):L[y]=m}return t.header&&(b>g.length?M("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+b,a+S):b<g.length&&M("FieldMismatch","TooFewFields","Too few fields: expected "+g.length+" fields but parsed "+b,a+S)),L}var w;s&&(t.header||t.dynamicTyping||t.transform)&&(w=1,!s.data.length||Array.isArray(s.data[0])?(s.data=s.data.map(d),w=s.data.length):s.data=d(s.data,0),t.header&&s.meta&&(s.meta.fields=g),a+=w)}function T(){return t.header&&g.length===0}function M(h,d,w,l){h={type:h,code:d,message:w},l!==void 0&&(h.row=l),s.errors.push(h)}_(t.step)&&(r=t.step,t.step=function(h){s=h,T()?C():(C(),s.data.length!==0&&(E+=h.data.length,t.preview&&E>t.preview?i.abort():(s.data=s.data[0],r(s,p))))}),this.parse=function(h,d,w){var l=t.quoteChar||'"';return t.newline||(t.newline=this.guessLineEndings(h,l)),n=!1,t.delimiter?_(t.delimiter)&&(t.delimiter=t.delimiter(h),s.meta.delimiter=t.delimiter):((l=((S,L,b,y,m)=>{var U,f,v,$;m=m||[","," ","|",";",o.RECORD_SEP,o.UNIT_SEP];for(var Z=0;Z<m.length;Z++){for(var K,tt=m[Z],A=0,D=0,x=0,j=(v=void 0,new st({comments:y,delimiter:tt,newline:L,preview:10}).parse(S)),W=0;W<j.data.length;W++)b&&O(j.data[W])?x++:(D+=K=j.data[W].length,v===void 0?v=K:0<K&&(A+=Math.abs(K-v),v=K));0<j.data.length&&(D/=j.data.length-x),(f===void 0||A<=f)&&($===void 0||$<D)&&1.99<D&&(f=A,U=tt,$=D)}return{successful:!!(t.delimiter=U),bestDelimiter:U}})(h,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=l.bestDelimiter:(n=!0,t.delimiter=o.DefaultDelimiter),s.meta.delimiter=t.delimiter),l=at(t),t.preview&&t.header&&l.preview++,e=h,i=new st(l),s=i.parse(e,d,w),C(),F?{meta:{paused:!0}}:s||{meta:{paused:!1}}},this.paused=function(){return F},this.pause=function(){F=!0,i.abort(),e=_(t.chunk)?"":e.substring(i.getCharIndex())},this.resume=function(){p.streamer._halted?(F=!1,p.streamer.parseChunk(e,!0)):setTimeout(p.resume,3)},this.aborted=function(){return u},this.abort=function(){u=!0,i.abort(),s.meta.aborted=!0,_(t.complete)&&t.complete(s),e=""},this.guessLineEndings=function(h,d){h=h.substring(0,1048576),d=new RegExp(V(d)+"([^]*?)"+V(d),"gm");var w=(h=h.replace(d,"")).split("\r");if(h=1<(d=h.split(`
7
7
  `)).length&&d[0].length<w[0].length,w.length===1||h)return`
8
8
  `;for(var l=0,S=0;S<w.length;S++)w[S][0]===`
9
9
  `&&l++;return l>=w.length/2?`\r
@@ -1,13 +1,13 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.1
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const he=require("./JWZZpQcTBYdqmuUW.cjs");var se,J,r;(J=se||(se={})).Orientation={Column:"column",Row:"row"},J.Orientations={...J.Orientation,Both:"both"},J.Direction={Up:"up",Down:"down",Left:"left",Right:"right"},(e=>{e.Code={Parse:0,Null:1,Div0:2,Value:3,Ref:4,Name:5,Num:6,NA:7,GettingData:8,Spill:9,Connect:10,Blocked:11,Unknown:12,Field:13,Calc:14,Busy:16,Python:19,Timeout:20},e.Label={Parse:"#PARSE!",Null:"#NULL!",Div0:"#DIV/0!",Value:"#VALUE!",Ref:"#REF!",Name:"#NAME?",Num:"#NUM!",NA:"#N/A",GettingData:"#GETTING_DATA",Spill:"#SPILL!",Connect:"#CONNECT!",Blocked:"#BLOCKED!",Unknown:"#UNKNOWN!",Field:"#FIELD!",Calc:"#CALC!",Busy:"#BUSY!",Python:"#PYTHON!",Timeout:"#TIMEOUT!"};class a extends Error{constructor(n,i,S,q){super(S,q),this._label=i,this._code=n,this.details=q}static{this.code=e.Code.Unknown}get isFormulaError(){return!0}getLabel(){return this._label}getCode(){return this._code}equals(n){return!!n&&(this._code===n._code||this._code===n.code)}get[Symbol.toStringTag](){return"[FormulaError]"}toString(){return this.message||this._label}}e.Known=a;class k extends a{constructor(n,i){super(e.Code.Parse,e.Label.Parse,n,i)}static{this.code=e.Code.Parse}getDetails(){const n=this.details;return{line:n?.line??1,column:n?.column??1,offset:n?.offset??0,length:n?.length??0}}}e.Parse=k;class x extends a{constructor(n,i){super(e.Code.Null,e.Label.Null,n,i)}static{this.code=e.Code.Null}}e.Null=x;class j extends a{constructor(n,i){super(e.Code.Div0,e.Label.Div0,n,i)}static{this.code=e.Code.Div0}}e.Div0=j;class X extends a{constructor(n,i){super(e.Code.Value,e.Label.Value,n,i)}static{this.code=e.Code.Value}}e.Value=X;class s extends a{constructor(n,i){super(e.Code.Ref,e.Label.Ref,n,i)}static{this.code=e.Code.Ref}}e.Ref=s;class K extends a{constructor(n,i){super(e.Code.Name,e.Label.Name,n,i)}static{this.code=e.Code.Name}}e.Name=K;class M extends a{constructor(n,i){super(e.Code.Num,e.Label.Num,n,i)}static{this.code=e.Code.Num}}e.Num=M;class U extends a{constructor(n,i){super(e.Code.NA,e.Label.NA,n,i)}static{this.code=e.Code.NA}}e.NA=U;class Y extends a{constructor(n,i){super(e.Code.GettingData,e.Label.GettingData,n,i)}static{this.code=e.Code.GettingData}}e.GettingData=Y;class z extends a{constructor(n,i){super(e.Code.Spill,e.Label.Spill,n,i)}static{this.code=e.Code.Spill}}e.Spill=z;class O extends a{constructor(n,i){super(e.Code.Connect,e.Label.Connect,n,i)}static{this.code=e.Code.Connect}}e.Connect=O;class G extends a{constructor(n,i){super(e.Code.Blocked,e.Label.Blocked,n,i)}static{this.code=e.Code.Blocked}}e.Blocked=G;class _ extends a{constructor(n,i){super(e.Code.Unknown,e.Label.Unknown,n,i)}static{this.code=e.Code.Unknown}}e.Unknown=_;class F extends a{constructor(n,i){super(e.Code.Field,e.Label.Field,n,i)}static{this.code=e.Code.Field}}e.Field=F;class Q extends a{constructor(n,i){super(e.Code.Calc,e.Label.Calc,n,i)}static{this.code=e.Code.Calc}}e.Calc=Q;class I extends a{constructor(n,i){super(e.Code.Busy,e.Label.Busy,n,i)}static{this.code=e.Code.Busy}}e.Busy=I;class P extends a{constructor(n,i){super(e.Code.Python,e.Label.Python,n,i)}static{this.code=e.Code.Python}}e.Python=P;class Z extends a{constructor(n,i){super(e.Code.Timeout,e.Label.Timeout,n,i)}static{this.code=e.Code.Timeout}}e.Timeout=Z})(r||(r={}));const f={};f[r.Code.Parse]=r.Parse,f[r.Code.Null]=r.Null,f[r.Code.Div0]=r.Div0,f[r.Code.Value]=r.Value,f[r.Code.Ref]=r.Ref,f[r.Code.Name]=r.Name,f[r.Code.Num]=r.Num,f[r.Code.NA]=r.NA,f[r.Code.GettingData]=r.GettingData,f[r.Code.Spill]=r.Spill,f[r.Code.Connect]=r.Connect,f[r.Code.Blocked]=r.Blocked,f[r.Code.Unknown]=r.Unknown,f[r.Code.Field]=r.Field,f[r.Code.Calc]=r.Calc,f[r.Code.Busy]=r.Busy,f[r.Code.Python]=r.Python,f[r.Code.Timeout]=r.Timeout;const ce=new Map,ie=new Map,de=new Map,ue=new Map,le=Object.keys(f);for(let e=0;e<le.length;e++){const a=le[e],k=f[a];de.set(r.Label[a],k),ue.set(r.Code[a],k);const x=new k;ce.set(x.getLabel(),x),ie.set(x.getCode(),x)}const ge=ie.get(r.Code.Unknown);var p;(p=r||(r={})).BuiltIn={Parse:new p.Parse,Null:new p.Null,Div0:new p.Div0,Value:new p.Value,Ref:new p.Ref,Name:new p.Name,Num:new p.Num,NA:new p.NA,GettingData:new p.GettingData,Spill:new p.Spill,Connect:new p.Connect,Blocked:new p.Blocked,Unknown:new p.Unknown,Field:new p.Field,Calc:new p.Calc,Busy:new p.Busy,Python:new p.Python,Timeout:new p.Timeout},p.getBuiltInByLabel=e=>ce.get(e),p.newTypedError=(e,a,k)=>{let x;return x=typeof e=="string"?de.get(e):ue.get(e),x||(x=p.Unknown),new x(a,k)},p.getBuiltInById=e=>ie.get(e)||ge;let A=null,H=null;const we={compilerOptions:{target:"esnext"}},Ce=async()=>`
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const he=require("./CCCRql04-bLPGjcj.cjs");var se,J,r;(J=se||(se={})).Orientation={Column:"column",Row:"row"},J.Orientations={...J.Orientation,Both:"both"},J.Direction={Up:"up",Down:"down",Left:"left",Right:"right"},(e=>{e.Code={Parse:0,Null:1,Div0:2,Value:3,Ref:4,Name:5,Num:6,NA:7,GettingData:8,Spill:9,Connect:10,Blocked:11,Unknown:12,Field:13,Calc:14,Busy:16,Python:19,Timeout:20},e.Label={Parse:"#PARSE!",Null:"#NULL!",Div0:"#DIV/0!",Value:"#VALUE!",Ref:"#REF!",Name:"#NAME?",Num:"#NUM!",NA:"#N/A",GettingData:"#GETTING_DATA",Spill:"#SPILL!",Connect:"#CONNECT!",Blocked:"#BLOCKED!",Unknown:"#UNKNOWN!",Field:"#FIELD!",Calc:"#CALC!",Busy:"#BUSY!",Python:"#PYTHON!",Timeout:"#TIMEOUT!"};class a extends Error{constructor(n,i,S,q){super(S,q),this._label=i,this._code=n,this.details=q}static{this.code=e.Code.Unknown}get isFormulaError(){return!0}getLabel(){return this._label}getCode(){return this._code}equals(n){return!!n&&(this._code===n._code||this._code===n.code)}get[Symbol.toStringTag](){return"[FormulaError]"}toString(){return this.message||this._label}}e.Known=a;class k extends a{constructor(n,i){super(e.Code.Parse,e.Label.Parse,n,i)}static{this.code=e.Code.Parse}getDetails(){const n=this.details;return{line:n?.line??1,column:n?.column??1,offset:n?.offset??0,length:n?.length??0}}}e.Parse=k;class x extends a{constructor(n,i){super(e.Code.Null,e.Label.Null,n,i)}static{this.code=e.Code.Null}}e.Null=x;class j extends a{constructor(n,i){super(e.Code.Div0,e.Label.Div0,n,i)}static{this.code=e.Code.Div0}}e.Div0=j;class X extends a{constructor(n,i){super(e.Code.Value,e.Label.Value,n,i)}static{this.code=e.Code.Value}}e.Value=X;class s extends a{constructor(n,i){super(e.Code.Ref,e.Label.Ref,n,i)}static{this.code=e.Code.Ref}}e.Ref=s;class K extends a{constructor(n,i){super(e.Code.Name,e.Label.Name,n,i)}static{this.code=e.Code.Name}}e.Name=K;class M extends a{constructor(n,i){super(e.Code.Num,e.Label.Num,n,i)}static{this.code=e.Code.Num}}e.Num=M;class U extends a{constructor(n,i){super(e.Code.NA,e.Label.NA,n,i)}static{this.code=e.Code.NA}}e.NA=U;class Y extends a{constructor(n,i){super(e.Code.GettingData,e.Label.GettingData,n,i)}static{this.code=e.Code.GettingData}}e.GettingData=Y;class z extends a{constructor(n,i){super(e.Code.Spill,e.Label.Spill,n,i)}static{this.code=e.Code.Spill}}e.Spill=z;class O extends a{constructor(n,i){super(e.Code.Connect,e.Label.Connect,n,i)}static{this.code=e.Code.Connect}}e.Connect=O;class G extends a{constructor(n,i){super(e.Code.Blocked,e.Label.Blocked,n,i)}static{this.code=e.Code.Blocked}}e.Blocked=G;class _ extends a{constructor(n,i){super(e.Code.Unknown,e.Label.Unknown,n,i)}static{this.code=e.Code.Unknown}}e.Unknown=_;class F extends a{constructor(n,i){super(e.Code.Field,e.Label.Field,n,i)}static{this.code=e.Code.Field}}e.Field=F;class Q extends a{constructor(n,i){super(e.Code.Calc,e.Label.Calc,n,i)}static{this.code=e.Code.Calc}}e.Calc=Q;class I extends a{constructor(n,i){super(e.Code.Busy,e.Label.Busy,n,i)}static{this.code=e.Code.Busy}}e.Busy=I;class P extends a{constructor(n,i){super(e.Code.Python,e.Label.Python,n,i)}static{this.code=e.Code.Python}}e.Python=P;class Z extends a{constructor(n,i){super(e.Code.Timeout,e.Label.Timeout,n,i)}static{this.code=e.Code.Timeout}}e.Timeout=Z})(r||(r={}));const f={};f[r.Code.Parse]=r.Parse,f[r.Code.Null]=r.Null,f[r.Code.Div0]=r.Div0,f[r.Code.Value]=r.Value,f[r.Code.Ref]=r.Ref,f[r.Code.Name]=r.Name,f[r.Code.Num]=r.Num,f[r.Code.NA]=r.NA,f[r.Code.GettingData]=r.GettingData,f[r.Code.Spill]=r.Spill,f[r.Code.Connect]=r.Connect,f[r.Code.Blocked]=r.Blocked,f[r.Code.Unknown]=r.Unknown,f[r.Code.Field]=r.Field,f[r.Code.Calc]=r.Calc,f[r.Code.Busy]=r.Busy,f[r.Code.Python]=r.Python,f[r.Code.Timeout]=r.Timeout;const ce=new Map,ie=new Map,de=new Map,ue=new Map,le=Object.keys(f);for(let e=0;e<le.length;e++){const a=le[e],k=f[a];de.set(r.Label[a],k),ue.set(r.Code[a],k);const x=new k;ce.set(x.getLabel(),x),ie.set(x.getCode(),x)}const ge=ie.get(r.Code.Unknown);var p;(p=r||(r={})).BuiltIn={Parse:new p.Parse,Null:new p.Null,Div0:new p.Div0,Value:new p.Value,Ref:new p.Ref,Name:new p.Name,Num:new p.Num,NA:new p.NA,GettingData:new p.GettingData,Spill:new p.Spill,Connect:new p.Connect,Blocked:new p.Blocked,Unknown:new p.Unknown,Field:new p.Field,Calc:new p.Calc,Busy:new p.Busy,Python:new p.Python,Timeout:new p.Timeout},p.getBuiltInByLabel=e=>ce.get(e),p.newTypedError=(e,a,k)=>{let x;return x=typeof e=="string"?de.get(e):ue.get(e),x||(x=p.Unknown),new x(a,k)},p.getBuiltInById=e=>ie.get(e)||ge;let A=null,H=null;const we={compilerOptions:{target:"esnext"}},Ce=async()=>`
7
7
  interface FirstTest {
8
8
  isTrue?: boolean;
9
9
  }
10
- `,pe=new Map([["IReferenceRange","r"],["IRange","l"]]),me=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),ne=(e,a)=>{Array.from(a.keys()).forEach(k=>{const x=a.get(k);a.set(`${e}.${k}`,x)})},xe=new Map([["Scalar","*"],["FormulaError.Known","e"],["Date","Date"],["JSON","JSON"]]),be=new Map([]),oe="SheetXL";ne(oe,pe),ne(oe,me),ne(oe,be);const Te=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let W=null;async function ke(){if(W)return W;try{return await(await Promise.resolve().then(()=>require("./NQji61IYyDBithp9.cjs"))).initialize()}catch(e){throw W=null,e}finally{W=null}}exports.compileModule=async function(e){const a=e?.source??null;if(!a)return null;const k=(e.disableBundle||e.declarationsOnly)??!1,x=[Ce(),ke()],j=await Promise.all(x),X=j[0],s=j[1];let K="",M=null;const U=[],Y={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:s.ScriptTarget.ES2020},z="script",O=`${z}.ts`,G="lib.d.ts",_="global.d.ts",F={[O]:a,[G]:`
10
+ `,pe=new Map([["IReferenceRange","r"],["IRange","l"]]),me=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),ne=(e,a)=>{Array.from(a.keys()).forEach(k=>{const x=a.get(k);a.set(`${e}.${k}`,x)})},xe=new Map([["Scalar","*"],["FormulaError.Known","e"],["Date","Date"],["JSON","JSON"]]),be=new Map([]),oe="SheetXL";ne(oe,pe),ne(oe,me),ne(oe,be);const Te=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let W=null;async function ke(){if(W)return W;try{return await(await Promise.resolve().then(()=>require("./BNu5tnv0HWnD0a-Y.cjs"))).initialize()}catch(e){throw W=null,e}finally{W=null}}exports.compileModule=async function(e){const a=e?.source??null;if(!a)return null;const k=(e.disableBundle||e.declarationsOnly)??!1,x=[Ce(),ke()],j=await Promise.all(x),X=j[0],s=j[1];let K="",M=null;const U=[],Y={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:s.ScriptTarget.ES2020},z="script",O=`${z}.ts`,G="lib.d.ts",_="global.d.ts",F={[O]:a,[G]:`
11
11
  /**
12
12
  * Represents the completion of an asynchronous operation
13
13
  */
@@ -21,7 +21,7 @@ interface Promise<T> {
21
21
  finally(onfinally?: (() => void) | undefined | null): Promise<T>;
22
22
  }
23
23
  `,[_]:X},Q={getSourceFile:(t,d,E,l)=>s.createSourceFile(t,F[t],s.ScriptTarget.Latest,!0),fileExists:t=>F[t]!==void 0,readFile:t=>F[t],writeFile:(t,d)=>{F[t]=d},getCurrentDirectory:()=>"./",getCanonicalFileName:t=>t,useCaseSensitiveFileNames:()=>!0,getDefaultLibFileName:t=>G,getNewLine:()=>`
24
- `},I=s.createProgram([O,_],Y,Q),P=I.getTypeChecker(),Z=I.getSourceFile(O),y=I.emit();y.diagnostics.length>0&&console.warn(y.diagnostics),K=F[`${z}.js`];const n=(t,d,E,l)=>{if(t){if(t.kind===s.SyntaxKind.NumberKeyword)d.scalar="n";else if(t.kind===s.SyntaxKind.StringKeyword)d.scalar="s";else if(t.kind===s.SyntaxKind.BooleanKeyword)d.scalar="b";else if(t.kind===s.SyntaxKind.UndefinedKeyword||t.kind===s.SyntaxKind.NullKeyword||t.kind===s.SyntaxKind.VoidKeyword){if(l)return void S(t,new Error(`'undefined' is not a valid type for input: '${t?.parent?.name?.escapedText}'.`));d.scalar="z"}else if(t.kind===s.SyntaxKind.BigIntKeyword)d.scalar="n";else if(t.kind===s.SyntaxKind.AnyKeyword)d.scalar="z";else if(t.kind===s.SyntaxKind.ArrayType){const c=t.elementType;if(!c)return void S(t,new Error(`'Array' must be typed: '${t?.parent?.name?.escapedText}'.`));d.arrayDepth=(d.arrayDepth??0)+1,n(c,d,E,l)}else if(t.kind!==s.SyntaxKind.TupleType&&t.kind===s.SyntaxKind.TypeReference){const c=t.typeName?.getText?.()??null,N=pe.get(c);let T=!1;N&&(d.range=N,T=!0);const L=xe.get(c);if(L&&(d.scalar=L),L!==void 0&&(T=!0),l){const g=me.get(c);if(g)return g}else{const g=Te.get(c);if(g){const m={...d,...g()};let o=0;if(m.async&&o++,m.stream&&o++,o>1)return void S(t,new Error(`'${c}' cannot have multiple modifiers: '${t?.parent?.name?.escapedText}'.`));d=m,T=!0}}if(!T)return void S("node",new Error(`'${c}' is not a valid type: '${t?.parent?.name?.escapedText}'.`));const b=t.typeArguments;if(b){if(b.length!==1)return void S(t,new Error(`'${c}' must be typed with exactly 1 type: '${t?.parent?.name?.escapedText}'.`));n(b[0],d,E,l)}}}else S(t,new Error(`Type is not defined for '${d?.name??"return"}'.`))},i=[],S=(t,d)=>{i.push(d)};if(s.forEachChild(Z,t=>{if(E=t,(s.getCombinedModifierFlags(E)&s.ModifierFlags.Export)!==0&&s.isFunctionDeclaration(t)){const l={},c={parameters:{}},N=t?.name?.getText();try{l.name=N;const T=P.getSymbolAtLocation(t.name).getDocumentationComment(P);if(T&&T.length>0&&T[0].text){let m=T[0].text;m=m.replace(/[\r\n]+/g,"\\n").trim(),c.summary=m}const L={};n(t.type,L,l,!1),l.returnType=L;const b={};d=t,(s.getCombinedModifierFlags(d)&s.ModifierFlags.Default)!==0&&(b.default=!0,M=N),Object.keys(b).length>0&&(l.behavior=b),l.parameters=[];const g=new Map;for(let m=0;m<t.parameters.length;m++){const o=t.parameters[m],h={};h.name=o.name?.getText();const $=n(o.type,h,l,!0);if($){if(l.parameters.length!==0){const B=t?.parent,C=B?.name?.getText();return void S(t,new Error(`'${l.name}' contexts must be the first parameter: '${C}'.`))}l.context=$;continue}let v;if((o.initializer!==void 0&&o.initializer!==null||o.questionToken!==void 0&&o.questionToken!==null)&&(h.optional=!0,o.initializer))try{v=o.initializer.kind===s.SyntaxKind.StringLiteral?o.initializer.text:o.initializer.kind===s.SyntaxKind.NumericLiteral?parseFloat(o.initializer.text):o.initializer.kind===s.SyntaxKind.TrueKeyword||o.initializer.kind===s.SyntaxKind.FalseKeyword?o.initializer.kind===s.SyntaxKind.TrueKeyword:o.initializer.kind===s.SyntaxKind.NullKeyword?null:o.initializer.kind===s.SyntaxKind.ObjectLiteralExpression||o.initializer.kind===s.SyntaxKind.ArrayLiteralExpression?o.initializer.getText():o.initializer.getText?.()}catch(B){console.warn(`Couldn't extract default value for parameter '${h.name}'`,B)}o.dotDotDotToken&&(h.rest=!0),l.parameters.push(h);const w={description:""};c.parameters[h.name]=w;const u=P.getSymbolAtLocation(o.name).getDocumentationComment(P);u&&u.length>0&&u[0].text&&(w.description=u[0].text),v!==void 0&&(w.defaultValue=v),g.set(h.name,h)}if(t.jsDoc&&t.jsDoc.length>0){const m=t.jsDoc;for(let o=0;o<m.length;o++){const h=m[o]?.tags;if(h)for(let $=0;$<h.length;$++){const v=h[$];let w=v?.tagName?.text;if(!w)continue;w=w.toLowerCase();let u=v.comment;const B=w==="hidden";if((typeof u=="string"||B)&&(typeof u=="string"&&(u=u.replace(/[\r\n]+/g,"\\n").trim()),B||!u||(u=u.split(/\\n/)[0],u&&u.length!==0))){if(u&&typeof u=="string"){const C=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let D,R=u,V=[];for(;(D=C.exec(u))!==null;){const[ee,te,ye,ae]=D,fe=[ye.trim()];ae&&fe.push(ae.trim())}u=R,V.length>0&&w==="see"&&(c.links||(c.links=[]),c.links.push(...V))}if(w==="name"){const C=u;C!==N&&(c.name=C)}else if(w!=="description"){if(w==="summary"){const C=u;C&&(c.summary=C)}else if(w==="param"){const C=v.name?.text,D=g.get(C);if(!D){i.push(new Error(`Parameter '${C}' not found in function '${N}'.`));continue}if(v.typeExpression&&v.typeExpression.type)try{const R=v.typeExpression.type;if(R.kind===s.SyntaxKind.UnionType){const V=[];D.enums=V,R.types.forEach(ee=>{if(ee.kind===s.SyntaxKind.LiteralType){const te=ee.literal.text;te&&V.push(te)}})}}catch(R){console.warn("Error parsing JSDoc type expression:",R)}}else if(w==="returns"||w==="return")l.returnType.description=u;else if(w==="category")c.category=u;else if(w==="hidden"){let C=!0;const D=u?.toLowerCase();D==="false"?C=!1:D!=="true"&&(C=u),C!==!1&&(c.hidden=C??!0)}}}}}}Object.keys(l.returnType).length===0&&delete l.returnType,U.push([l,c])}catch(T){S(t,new Error(`'${N}': ${T.message}`))}}var d,E}),i.length>0)throw console.warn(i),new Error("There were compilation errors.",{cause:i});if(U.length===0)throw new Error("No exported functions.");const q=`${he.$t.uuidV4()}-script`;try{k||i.length!==0||(K=await async function(t,d,E="/script.js",l="__SHEETXL"){try{const c=await async function(){if(A)return A;if(H){if(await H,!A)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return A}let g,m;H=new Promise((o,h)=>{g=o,m=h});try{const{initialize:o}=await Promise.resolve().then(()=>require("./D2mGoMelJkvbn0dS.cjs"));return A=await o(),g(),A}catch(o){throw console.error("Failed to import or initialize esbuild:",o),H=null,m(o),o}}(),N="@sheetxl/primitives",T=`
24
+ `},I=s.createProgram([O,_],Y,Q),P=I.getTypeChecker(),Z=I.getSourceFile(O),y=I.emit();y.diagnostics.length>0&&console.warn(y.diagnostics),K=F[`${z}.js`];const n=(t,d,E,l)=>{if(t){if(t.kind===s.SyntaxKind.NumberKeyword)d.scalar="n";else if(t.kind===s.SyntaxKind.StringKeyword)d.scalar="s";else if(t.kind===s.SyntaxKind.BooleanKeyword)d.scalar="b";else if(t.kind===s.SyntaxKind.UndefinedKeyword||t.kind===s.SyntaxKind.NullKeyword||t.kind===s.SyntaxKind.VoidKeyword){if(l)return void S(t,new Error(`'undefined' is not a valid type for input: '${t?.parent?.name?.escapedText}'.`));d.scalar="z"}else if(t.kind===s.SyntaxKind.BigIntKeyword)d.scalar="n";else if(t.kind===s.SyntaxKind.AnyKeyword)d.scalar="z";else if(t.kind===s.SyntaxKind.ArrayType){const c=t.elementType;if(!c)return void S(t,new Error(`'Array' must be typed: '${t?.parent?.name?.escapedText}'.`));d.arrayDepth=(d.arrayDepth??0)+1,n(c,d,E,l)}else if(t.kind!==s.SyntaxKind.TupleType&&t.kind===s.SyntaxKind.TypeReference){const c=t.typeName?.getText?.()??null,N=pe.get(c);let T=!1;N&&(d.range=N,T=!0);const L=xe.get(c);if(L&&(d.scalar=L),L!==void 0&&(T=!0),l){const g=me.get(c);if(g)return g}else{const g=Te.get(c);if(g){const m={...d,...g()};let o=0;if(m.async&&o++,m.stream&&o++,o>1)return void S(t,new Error(`'${c}' cannot have multiple modifiers: '${t?.parent?.name?.escapedText}'.`));d=m,T=!0}}if(!T)return void S("node",new Error(`'${c}' is not a valid type: '${t?.parent?.name?.escapedText}'.`));const b=t.typeArguments;if(b){if(b.length!==1)return void S(t,new Error(`'${c}' must be typed with exactly 1 type: '${t?.parent?.name?.escapedText}'.`));n(b[0],d,E,l)}}}else S(t,new Error(`Type is not defined for '${d?.name??"return"}'.`))},i=[],S=(t,d)=>{i.push(d)};if(s.forEachChild(Z,t=>{if(E=t,(s.getCombinedModifierFlags(E)&s.ModifierFlags.Export)!==0&&s.isFunctionDeclaration(t)){const l={},c={parameters:{}},N=t?.name?.getText();try{l.name=N;const T=P.getSymbolAtLocation(t.name).getDocumentationComment(P);if(T&&T.length>0&&T[0].text){let m=T[0].text;m=m.replace(/[\r\n]+/g,"\\n").trim(),c.summary=m}const L={};n(t.type,L,l,!1),l.returnType=L;const b={};d=t,(s.getCombinedModifierFlags(d)&s.ModifierFlags.Default)!==0&&(b.default=!0,M=N),Object.keys(b).length>0&&(l.behavior=b),l.parameters=[];const g=new Map;for(let m=0;m<t.parameters.length;m++){const o=t.parameters[m],h={};h.name=o.name?.getText();const $=n(o.type,h,l,!0);if($){if(l.parameters.length!==0){const B=t?.parent,C=B?.name?.getText();return void S(t,new Error(`'${l.name}' contexts must be the first parameter: '${C}'.`))}l.context=$;continue}let v;if((o.initializer!==void 0&&o.initializer!==null||o.questionToken!==void 0&&o.questionToken!==null)&&(h.optional=!0,o.initializer))try{v=o.initializer.kind===s.SyntaxKind.StringLiteral?o.initializer.text:o.initializer.kind===s.SyntaxKind.NumericLiteral?parseFloat(o.initializer.text):o.initializer.kind===s.SyntaxKind.TrueKeyword||o.initializer.kind===s.SyntaxKind.FalseKeyword?o.initializer.kind===s.SyntaxKind.TrueKeyword:o.initializer.kind===s.SyntaxKind.NullKeyword?null:o.initializer.kind===s.SyntaxKind.ObjectLiteralExpression||o.initializer.kind===s.SyntaxKind.ArrayLiteralExpression?o.initializer.getText():o.initializer.getText?.()}catch(B){console.warn(`Couldn't extract default value for parameter '${h.name}'`,B)}o.dotDotDotToken&&(h.rest=!0),l.parameters.push(h);const w={description:""};c.parameters[h.name]=w;const u=P.getSymbolAtLocation(o.name).getDocumentationComment(P);u&&u.length>0&&u[0].text&&(w.description=u[0].text),v!==void 0&&(w.defaultValue=v),g.set(h.name,h)}if(t.jsDoc&&t.jsDoc.length>0){const m=t.jsDoc;for(let o=0;o<m.length;o++){const h=m[o]?.tags;if(h)for(let $=0;$<h.length;$++){const v=h[$];let w=v?.tagName?.text;if(!w)continue;w=w.toLowerCase();let u=v.comment;const B=w==="hidden";if((typeof u=="string"||B)&&(typeof u=="string"&&(u=u.replace(/[\r\n]+/g,"\\n").trim()),B||!u||(u=u.split(/\\n/)[0],u&&u.length!==0))){if(u&&typeof u=="string"){const C=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let D,R=u,V=[];for(;(D=C.exec(u))!==null;){const[ee,te,ye,ae]=D,fe=[ye.trim()];ae&&fe.push(ae.trim())}u=R,V.length>0&&w==="see"&&(c.links||(c.links=[]),c.links.push(...V))}if(w==="name"){const C=u;C!==N&&(c.name=C)}else if(w!=="description"){if(w==="summary"){const C=u;C&&(c.summary=C)}else if(w==="param"){const C=v.name?.text,D=g.get(C);if(!D){i.push(new Error(`Parameter '${C}' not found in function '${N}'.`));continue}if(v.typeExpression&&v.typeExpression.type)try{const R=v.typeExpression.type;if(R.kind===s.SyntaxKind.UnionType){const V=[];D.enums=V,R.types.forEach(ee=>{if(ee.kind===s.SyntaxKind.LiteralType){const te=ee.literal.text;te&&V.push(te)}})}}catch(R){console.warn("Error parsing JSDoc type expression:",R)}}else if(w==="returns"||w==="return")l.returnType.description=u;else if(w==="category")c.category=u;else if(w==="hidden"){let C=!0;const D=u?.toLowerCase();D==="false"?C=!1:D!=="true"&&(C=u),C!==!1&&(c.hidden=C??!0)}}}}}}Object.keys(l.returnType).length===0&&delete l.returnType,U.push([l,c])}catch(T){S(t,new Error(`'${N}': ${T.message}`))}}var d,E}),i.length>0)throw console.warn(i),new Error("There were compilation errors.",{cause:i});if(U.length===0)throw new Error("No exported functions.");const q=`${he.$t.uuidV4()}-script`;try{k||i.length!==0||(K=await async function(t,d,E="/script.js",l="__SHEETXL"){try{const c=await async function(){if(A)return A;if(H){if(await H,!A)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return A}let g,m;H=new Promise((o,h)=>{g=o,m=h});try{const{initialize:o}=await Promise.resolve().then(()=>require("./C2Kdm1dpMOQIX9fp.cjs"));return A=await o(),g(),A}catch(o){throw console.error("Failed to import or initialize esbuild:",o),H=null,m(o),o}}(),N="@sheetxl/primitives",T=`
25
25
  export const FormulaContext = globalThis.${l}?.FormulaContext;
26
26
  export const ScalarType = globalThis.${l}?.ScalarType;
27
27
  export const Observable = globalThis.${l}?.Observable;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.1
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,6 +1,6 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.1
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./DdmOYUEsRqX0HKiE.cjs"));return this.workerWrapper=await r(),this.workerWrapper}async compileModule(r){try{return(await this.getWorkerWrapper()).execute(r)}catch(e){throw console.error("Failed to compile using worker:",e),e}}terminate(){this.workerWrapper?.terminate(),this.workerWrapper=null}};
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./BfGrLu3pwOGhQy_P.cjs"));return this.workerWrapper=await r(),this.workerWrapper}async compileModule(r){try{return(await this.getWorkerWrapper()).execute(r)}catch(e){throw console.error("Failed to compile using worker:",e),e}}terminate(){this.workerWrapper?.terminate(),this.workerWrapper=null}};
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.1
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.