@sheetxl/sdk 0.3.1 → 0.3.3

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 (104) hide show
  1. package/LICENSE.md +11 -11
  2. package/README.md +28 -28
  3. package/browser/cjs/{NQji61IYyDBithp9.cjs → 0nFsHy_LaGE8kh9D.cjs} +1 -1
  4. package/browser/cjs/{DqgIZPp7jtFutMPR.cjs → 2Rc7POsa0vpTfv4X.cjs} +1 -1
  5. package/browser/cjs/{Dp_0GxjE3JGmxJ__.cjs → 3oqzu5_FD_K98t13.cjs} +2 -2
  6. package/browser/cjs/{W7UjTQi6GYOYRGPH.cjs → 9VJ0wqm8qT3Wov8v.cjs} +1 -1
  7. package/browser/cjs/{D4DJUbHguXQO7MqG.cjs → B5cDByTVCALLypp4.cjs} +4 -4
  8. package/browser/cjs/{57X1Mb81YIQgsw4g.cjs → BA-sPwXKxyIz_J97.cjs} +1 -1
  9. package/browser/cjs/{CxaFOlRqTSy7Jlc9.cjs → BFt_wgK-JfSltEJj.cjs} +1 -1
  10. package/browser/cjs/{JWZZpQcTBYdqmuUW.cjs → BYQhJnA816-XxA6e.cjs} +2 -2
  11. package/browser/cjs/{ZvgpcQAvYAnvCwhP.cjs → BpqWsIczfibZbHHc.cjs} +1 -1
  12. package/browser/cjs/{DhAXete205u1BUF9.cjs → BqgysXPw7gT7qMa6.cjs} +1 -1
  13. package/browser/cjs/{CfouDIlYV1rbE7L-.cjs → Bs_qUHybsz34wXoL.cjs} +1 -1
  14. package/browser/cjs/{Ch4ZGmjKP0WTpVhB.cjs → BvieXa1Zc6WcUIRF.cjs} +1 -1
  15. package/browser/cjs/{rx448m2c_2rk-ZL2.cjs → Bw9z2cwe6w5IglCD.cjs} +1 -1
  16. package/browser/cjs/{D7n5QHfgHMN7Ubsh.cjs → BxcA8_8O6d_A4p95.cjs} +1 -1
  17. package/browser/cjs/{15AOcGpF9P2PgE8n.cjs → C-YMz4iIUDMUHlj7.cjs} +1 -1
  18. package/browser/cjs/{DdmOYUEsRqX0HKiE.cjs → C-jpBfi1DXsq3xO2.cjs} +4 -4
  19. package/browser/cjs/{D7IBYt0m3kE9Dgab.cjs → CR4Dyb0A6dcNCeTe.cjs} +3 -3
  20. package/browser/cjs/{DdvRZSHU07d0SJND.cjs → CTirBjXvoadWKQBH.cjs} +1 -1
  21. package/browser/cjs/{CeFdVjSCXrLYCXCU.cjs → Cduxle-KIyHhO0T8.cjs} +2 -2
  22. package/browser/cjs/{BqwLZnCcokB0gJUg.cjs → CndMV6nXnbqIQVrG.cjs} +1 -1
  23. package/browser/cjs/{ImOEyTGPkbtm6yWG.cjs → CoePQ-t5fi26TRBB.cjs} +1 -1
  24. package/browser/cjs/{LRzcJjMh_2Sg2Iyq.cjs → CyjGvSr2y8pIrCYI.cjs} +1 -1
  25. package/browser/cjs/{D2mGoMelJkvbn0dS.cjs → D8Vj9-np7x6u8S-6.cjs} +1 -1
  26. package/browser/cjs/{Bxag54-yDHHST3Wd.cjs → D9uNZOX7CbCGUwg7.cjs} +1 -1
  27. package/browser/cjs/{BvI7tcol77xoHIM4.cjs → DMOQ-Ccw7I7O7CWo.cjs} +1 -1
  28. package/browser/cjs/{KQNpeB5hbqIYjp_r.cjs → DPcn9c9W2k51cneD.cjs} +1 -1
  29. package/browser/cjs/{CeipDJjIRwQ790Ca.cjs → DWSlWqcdVJXLrTxJ.cjs} +1 -1
  30. package/browser/cjs/{D_AVSJSxbexl5_Qc.cjs → DYtHonqDTIvQkjYj.cjs} +1 -1
  31. package/browser/cjs/{Xss-dNJjqGh-xGja.cjs → DfJQEhVcHZKNplrJ.cjs} +2 -2
  32. package/browser/cjs/{B0Mgg7I6p1ceY3rN.cjs → DyKGtzV-Q3950opi.cjs} +1 -1
  33. package/browser/cjs/{WVaevsWmtJcDkHzf.cjs → bgD_36TMmmQ7NPf8.cjs} +1 -1
  34. package/browser/cjs/index.cjs +2 -2
  35. package/browser/cjs/{BBOV5cemxNXMsT5e.cjs → jGn5ADQS86BdM9Og.cjs} +1 -1
  36. package/browser/cjs/{CtaQiu1oagSXCXXK.cjs → np6lMYUA2cAFzrUV.cjs} +9 -9
  37. package/{node/esm/DfKwAoUuV9f4j0gn.mjs → browser/esm/62nzj1BiJvagSpxl.mjs} +1 -1
  38. package/{node/esm/MsUATmonUEbmdGEg.mjs → browser/esm/B4ituOqzq7nwHwCL.mjs} +1 -1
  39. package/{node/esm/CFIAFeV-kbKIMGaW.mjs → browser/esm/B7Q8LNdw4tARaP-y.mjs} +1 -1
  40. package/browser/esm/{Ep2xp_qq1WnkwQ-4.mjs → BYSDp5vVuNSDZQCT.mjs} +1 -1
  41. package/browser/esm/{BfqVWbuZPVip1p2y.mjs → BaCEFX-FZ6GKJMQt.mjs} +1 -1
  42. package/{node/esm/D7W3PNn-2IoFru0l.mjs → browser/esm/BuARJe5GS6EWOqNF.mjs} +1 -1
  43. package/browser/esm/{EWLavRuO7BMH3CES.mjs → BxJbquhlOzuv5jAG.mjs} +2 -2
  44. package/browser/esm/{CkA378qg7LQEqeV4.mjs → CDzGuBL-ysWRX-5T.mjs} +2 -2
  45. package/browser/esm/{YuK71EKhaf-WleSP.mjs → CFcBXCUHYh2n-Cf-.mjs} +1 -1
  46. package/browser/esm/{D57eR1LljugozA9Z.mjs → CUppQW5RiJ-9FMMg.mjs} +1 -1
  47. package/browser/esm/{DowOxK5s6W8Hs5qU.mjs → CbbScewO168cqAxo.mjs} +4 -4
  48. package/browser/esm/{_eNY2dP2qQ62235I.mjs → CgOsTkNadY13dPLs.mjs} +1 -1
  49. package/browser/esm/{BfA0oeliVjmuULjo.mjs → CsoUp7eY1Vntzzjk.mjs} +1 -1
  50. package/browser/esm/{qxyhqVpudmxAVheL.mjs → D3Kgs6cppXUdjkZW.mjs} +1 -1
  51. package/browser/esm/{CpERAbkVKi6v2R5z.mjs → D4YjSqdSSBo9eo5k.mjs} +1 -1
  52. package/{node/esm/BldbegDy2Im9Vwy_.mjs → browser/esm/DCY0Q9qCgDct3qgl.mjs} +1 -1
  53. package/{node/esm/m_0OUN7zT7-GCOZI.mjs → browser/esm/DPctzVx7g2Rl6EgE.mjs} +1 -1
  54. package/{node/esm/D3qT4ckeVdUIf8KG.mjs → browser/esm/D_l4WGRWPKREFuRE.mjs} +1 -1
  55. package/{node/esm/BMvMKpCuQ7OMhb6D.mjs → browser/esm/DoYSU7c-aBMjzMN8.mjs} +1 -1
  56. package/browser/esm/{BxKrVCe67zQZXaFe.mjs → DtKtQ0LfnuPq0RRf.mjs} +1 -1
  57. package/browser/esm/{CRX2fvd3JBNH1inQ.mjs → DvJ9u1XKxU1JYkR_.mjs} +4 -4
  58. package/{node/esm/BYP_vBrtrJmMosg3.mjs → browser/esm/DvoN1NfvYQNNWeA4.mjs} +1 -1
  59. package/browser/esm/{CP02kAnVHwlz71EV.mjs → MG38RVM3XDOilhRG.mjs} +1 -1
  60. package/browser/esm/{A2KtAgZ1ZZzlKqrW.mjs → MPfgIPWWY33bYOAo.mjs} +1 -1
  61. package/browser/esm/{CR8ryNaQrZTwbWLQ.mjs → N5U3PHENo7CJqAov.mjs} +1 -1
  62. package/browser/esm/{Dm-yHuQ_8smSK8zh.mjs → V2CBWmozskT3iOTz.mjs} +1 -1
  63. package/browser/esm/{DwXGwKlOzkVh3sXn.mjs → WQB3QJ_RblmAjs_R.mjs} +150 -149
  64. package/{node/esm/Of5ubKFb9FmEEPGu.mjs → browser/esm/XCKizXW9QxAkQHrp.mjs} +1 -1
  65. package/browser/esm/{DRd9s4gIGWuK5-R-.mjs → YH1sgtW7fJqTyOwc.mjs} +2 -2
  66. package/browser/esm/{XXbCXuFAJplwT_i6.mjs → YagDeC09jNvfORzf.mjs} +1 -1
  67. package/browser/esm/{DZcFAGNYJO5qYnjh.mjs → hGaf70QOp0sl7Mpo.mjs} +1 -1
  68. package/browser/esm/index.mjs +2 -2
  69. package/browser/esm/{Cuc9gxubXUidHefW.mjs → oahricgVdSV0a2Lx.mjs} +2 -2
  70. package/browser/esm/{CeTz_0h7mzzs7S6d.mjs → wJs8CBIgf04JIHOU.mjs} +3 -3
  71. package/licenses/dependencies.txt +33 -33
  72. package/node/esm/{4p4QkPdpTSnxhcYT.mjs → 1YbWEO0qBzEbd7Fc.mjs} +1 -1
  73. package/{browser/esm/DfKwAoUuV9f4j0gn.mjs → node/esm/62nzj1BiJvagSpxl.mjs} +1 -1
  74. package/{browser/esm/MsUATmonUEbmdGEg.mjs → node/esm/B4ituOqzq7nwHwCL.mjs} +1 -1
  75. package/{browser/esm/CFIAFeV-kbKIMGaW.mjs → node/esm/B7Q8LNdw4tARaP-y.mjs} +1 -1
  76. package/node/esm/{A-93HEOUDI4JpIFE.mjs → BFfFXg_wrjU1zYLe.mjs} +2 -2
  77. package/node/esm/{BQC0F5ietGENZKyH.mjs → BI2fMXU8ZhNXl07B.mjs} +1 -1
  78. package/node/esm/{Ep2xp_qq1WnkwQ-4.mjs → BYSDp5vVuNSDZQCT.mjs} +1 -1
  79. package/node/esm/{CjDTYU6purjPsTGz.mjs → BjWrqgGLw5m9YaD3.mjs} +1 -1
  80. package/{browser/esm/D7W3PNn-2IoFru0l.mjs → node/esm/BuARJe5GS6EWOqNF.mjs} +1 -1
  81. package/node/esm/{LRiYR8hkfLZA1lud.mjs → BwYTfUiNOzHRzq1B.mjs} +1 -1
  82. package/node/esm/{CjedKP1Ap009z7yH.mjs → Cb2wOJsxXHwcO8eG.mjs} +4 -4
  83. package/node/esm/{_eNY2dP2qQ62235I.mjs → CgOsTkNadY13dPLs.mjs} +1 -1
  84. package/node/esm/{DDAppiOAzrEy_PcS.mjs → CgiHbe-0EPRUftQB.mjs} +1 -1
  85. package/node/esm/{B_8H9Q2rpNm2_tP3.mjs → D0t-Ya6FXC4awknl.mjs} +1 -1
  86. package/{browser/esm/BldbegDy2Im9Vwy_.mjs → node/esm/DCY0Q9qCgDct3qgl.mjs} +1 -1
  87. package/node/esm/{DdQ4X9e7ES69T_kv.mjs → DH8zEPF_3200OFF6.mjs} +2 -2
  88. package/{browser/esm/m_0OUN7zT7-GCOZI.mjs → node/esm/DPctzVx7g2Rl6EgE.mjs} +1 -1
  89. package/node/esm/{DvW1-4E92rqMluYF.mjs → DWaY2fml4pnA_KBI.mjs} +3 -3
  90. package/{browser/esm/D3qT4ckeVdUIf8KG.mjs → node/esm/D_l4WGRWPKREFuRE.mjs} +1 -1
  91. package/node/esm/{B849dDAbNzcAWdIf.mjs → DdTt6BBZqaMH_FHu.mjs} +1 -1
  92. package/node/esm/{BVURFQqE_KXN-Uqn.mjs → DjBPocEIBRosvo_I.mjs} +2 -2
  93. package/node/esm/{D767fK1WoXC3YeeO.mjs → DjW05sB9ns0MJPVk.mjs} +1 -1
  94. package/{browser/esm/BMvMKpCuQ7OMhb6D.mjs → node/esm/DoYSU7c-aBMjzMN8.mjs} +1 -1
  95. package/node/esm/{BH4FTFTTaalZge5L.mjs → Dv1GD-8kALftf21Q.mjs} +1 -1
  96. package/{browser/esm/BYP_vBrtrJmMosg3.mjs → node/esm/DvoN1NfvYQNNWeA4.mjs} +1 -1
  97. package/node/esm/{D4ZDjjk2WHyCqHIe.mjs → Dx6tve6tpeLEndt2.mjs} +1 -1
  98. package/node/esm/{CP02kAnVHwlz71EV.mjs → MG38RVM3XDOilhRG.mjs} +1 -1
  99. package/node/esm/{A2KtAgZ1ZZzlKqrW.mjs → MPfgIPWWY33bYOAo.mjs} +1 -1
  100. package/node/esm/{CR8ryNaQrZTwbWLQ.mjs → N5U3PHENo7CJqAov.mjs} +1 -1
  101. package/{browser/esm/Of5ubKFb9FmEEPGu.mjs → node/esm/XCKizXW9QxAkQHrp.mjs} +1 -1
  102. package/node/esm/{XXbCXuFAJplwT_i6.mjs → YagDeC09jNvfORzf.mjs} +1 -1
  103. package/node/esm/index.mjs +9 -8
  104. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
  /**
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.3
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.
@@ -212,11 +212,11 @@ for (let s = 0; s < Sc.length; s++) {
212
212
  ig.set(n.getLabel(), n), Zl.set(n.getCode(), n);
213
213
  }
214
214
  const _f = Zl.get(Y.Code.Unknown);
215
- var $e;
216
- ($e = Y || (Y = {})).BuiltIn = { Parse: new $e.Parse(), Null: new $e.Null(), Div0: new $e.Div0(), Value: new $e.Value(), Ref: new $e.Ref(), Name: new $e.Name(), Num: new $e.Num(), NA: new $e.NA(), GettingData: new $e.GettingData(), Spill: new $e.Spill(), Connect: new $e.Connect(), Blocked: new $e.Blocked(), Unknown: new $e.Unknown(), Field: new $e.Field(), Calc: new $e.Calc(), Busy: new $e.Busy(), Python: new $e.Python(), Timeout: new $e.Timeout() }, $e.getBuiltInByLabel = (s) => ig.get(s), $e.newTypedError = (s, e, t) => {
215
+ var Ge;
216
+ (Ge = Y || (Y = {})).BuiltIn = { Parse: new Ge.Parse(), Null: new Ge.Null(), Div0: new Ge.Div0(), Value: new Ge.Value(), Ref: new Ge.Ref(), Name: new Ge.Name(), Num: new Ge.Num(), NA: new Ge.NA(), GettingData: new Ge.GettingData(), Spill: new Ge.Spill(), Connect: new Ge.Connect(), Blocked: new Ge.Blocked(), Unknown: new Ge.Unknown(), Field: new Ge.Field(), Calc: new Ge.Calc(), Busy: new Ge.Busy(), Python: new Ge.Python(), Timeout: new Ge.Timeout() }, Ge.getBuiltInByLabel = (s) => ig.get(s), Ge.newTypedError = (s, e, t) => {
217
217
  let n;
218
- return n = typeof s == "string" ? ag.get(s) : lg.get(s), n || (n = $e.Unknown), new n(e, t);
219
- }, $e.getBuiltInById = (s) => Zl.get(s) || _f;
218
+ return n = typeof s == "string" ? ag.get(s) : lg.get(s), n || (n = Ge.Unknown), new n(e, t);
219
+ }, Ge.getBuiltInById = (s) => Zl.get(s) || _f;
220
220
  let Sf = class {
221
221
  constructor(s) {
222
222
  this._subscribeFn = s;
@@ -297,7 +297,7 @@ class is extends Error {
297
297
  super(e), this.name = "NotImplementedError";
298
298
  }
299
299
  }
300
- const yf = Object.freeze({ colIndex: 0, rowIndex: 0 }), Ef = Object.freeze({ colStart: 0, rowStart: 0, colEnd: Math.pow(2, 14) - 1, rowEnd: Math.pow(2, 20) - 1 }), bf = { getCurrencySymbol: () => "$", getNumberDecimalSeparator: () => ".", getNumberGroupSeparator: () => ",", isDate1904: () => !1, getLocation: () => "unknown", getVersion: () => "1.0.0", getOS: () => "unknown", getUser: () => "unidentified", getDescription: () => "Stubbed Formula Context" }, Vy = new wf(), He = { Up: "up", Down: "down", Left: "left", Right: "right" }, Mn = { TopLeft: "tl", Top: "t", TopRight: "tr", Left: "l", Center: "c", Right: "r", BottomLeft: "bl", Bottom: "b", BottomRight: "br" }, Le = { html: "text/html", plain: "text/plain", png: "image/png" }, vf = Object.freeze({ left: 0, top: 0 }), Cf = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), xf = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), zi = Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: xf, EmptyRect: Cf, EmptyTopLeft: vf }, Symbol.toStringTag, { value: "Module" })), ue = { Column: "column", Row: "row" }, Tr = { ...ue, Both: "both" }, If = Object.freeze({ colIndex: 0, rowIndex: 0 }), Af = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), cg = (s, e) => s.colStart === e.colStart ? s.rowStart - e.rowStart : s.colStart - e.colStart, hg = (s, e) => s.rowStart === e.rowStart ? s.colStart - e.colStart : s.rowStart - e.rowStart, Rf = (s, e) => s.rowEnd === e.rowEnd ? e.colEnd - s.colEnd : e.rowEnd - s.rowEnd, Mf = (s, e) => s.colEnd === e.colEnd ? e.rowEnd - s.rowEnd : e.colEnd - s.colEnd, wc = (s, e) => s.colIndex === e.colIndex ? s.rowIndex - e.rowIndex : s.colIndex - e.colIndex, yc = (s, e) => s.rowIndex === e.rowIndex ? s.colIndex - e.colIndex : s.rowIndex - e.rowIndex, ug = (s = ue.Row, e = !1) => e ? s !== ue.Column ? Rf : Mf : s !== ue.Column ? hg : cg, Ec = (s, e) => s === e || !(!s || !e) && s.rowIndex === e.rowIndex && s.colIndex === e.colIndex, _l = (s, e) => s === e || !(!s || !e) && s.rowStart === e.rowStart && s.rowEnd === e.rowEnd && s.colStart === e.colStart && s.colEnd === e.colEnd, Sl = (s, e) => !(!s || !e || s.colStart > e.colEnd || e.colStart > s.colEnd || s.rowStart > e.rowEnd || e.rowStart > s.rowEnd), bc = (s, e) => {
300
+ const yf = Object.freeze({ colIndex: 0, rowIndex: 0 }), Ef = Object.freeze({ colStart: 0, rowStart: 0, colEnd: Math.pow(2, 14) - 1, rowEnd: Math.pow(2, 20) - 1 }), bf = { getCurrencySymbol: () => "$", getNumberDecimalSeparator: () => ".", getNumberGroupSeparator: () => ",", isDate1904: () => !1, getLocation: () => "unknown", getVersion: () => "1.0.0", getOS: () => "unknown", getUser: () => "unidentified", getDescription: () => "Stubbed Formula Context" }, Vy = new wf(), Ve = { Up: "up", Down: "down", Left: "left", Right: "right" }, Mn = { TopLeft: "tl", Top: "t", TopRight: "tr", Left: "l", Center: "c", Right: "r", BottomLeft: "bl", Bottom: "b", BottomRight: "br" }, Le = { html: "text/html", plain: "text/plain", png: "image/png" }, vf = Object.freeze({ left: 0, top: 0 }), Cf = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), xf = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), zi = Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: xf, EmptyRect: Cf, EmptyTopLeft: vf }, Symbol.toStringTag, { value: "Module" })), ue = { Column: "column", Row: "row" }, Tr = { ...ue, Both: "both" }, If = Object.freeze({ colIndex: 0, rowIndex: 0 }), Af = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), cg = (s, e) => s.colStart === e.colStart ? s.rowStart - e.rowStart : s.colStart - e.colStart, hg = (s, e) => s.rowStart === e.rowStart ? s.colStart - e.colStart : s.rowStart - e.rowStart, Rf = (s, e) => s.rowEnd === e.rowEnd ? e.colEnd - s.colEnd : e.rowEnd - s.rowEnd, Mf = (s, e) => s.colEnd === e.colEnd ? e.rowEnd - s.rowEnd : e.colEnd - s.colEnd, wc = (s, e) => s.colIndex === e.colIndex ? s.rowIndex - e.rowIndex : s.colIndex - e.colIndex, yc = (s, e) => s.rowIndex === e.rowIndex ? s.colIndex - e.colIndex : s.rowIndex - e.rowIndex, ug = (s = ue.Row, e = !1) => e ? s !== ue.Column ? Rf : Mf : s !== ue.Column ? hg : cg, Ec = (s, e) => s === e || !(!s || !e) && s.rowIndex === e.rowIndex && s.colIndex === e.colIndex, _l = (s, e) => s === e || !(!s || !e) && s.rowStart === e.rowStart && s.rowEnd === e.rowEnd && s.colStart === e.colStart && s.colEnd === e.colEnd, Sl = (s, e) => !(!s || !e || s.colStart > e.colEnd || e.colStart > s.colEnd || s.rowStart > e.rowEnd || e.rowStart > s.rowEnd), bc = (s, e) => {
301
301
  if (s === e) return !0;
302
302
  if (!s || !e || s.length !== e.length) return !1;
303
303
  for (let t = 0; t < s.length; t++) if (!_l(s[t], e[t])) return !1;
@@ -830,8 +830,8 @@ class $y {
830
830
  await this._promise;
831
831
  }
832
832
  }
833
- var Ve, Oc;
834
- (Oc = Ve || (Ve = {})).resolveTypedUpdates = (s, e, t, n) => {
833
+ var $e, Oc;
834
+ (Oc = $e || ($e = {})).resolveTypedUpdates = (s, e, t, n) => {
835
835
  if (s === null) return s;
836
836
  if (s === void 0) return n;
837
837
  let r = s;
@@ -1625,7 +1625,7 @@ class Uy extends Vf {
1625
1625
  }
1626
1626
  const ko = () => {
1627
1627
  try {
1628
- return "0.3.1";
1628
+ return "0.3.3";
1629
1629
  } catch {
1630
1630
  return "";
1631
1631
  }
@@ -1652,7 +1652,7 @@ const ko = () => {
1652
1652
  } catch {
1653
1653
  throw new Error("Invalid license key.");
1654
1654
  }
1655
- }, Uc = (s) => ({ licensee: () => "Evaluation License", expiration: () => null, domains: () => [fi()], developerCount: () => 1, cpuCount: () => 0, type: () => "eval", isEval: () => !0, exceptions: () => [], isValidFor: () => !0, isValid: () => !1, features: () => Object.freeze({}), keyFrom: () => s, getBuildVersion: ko, getBuildDate: zs }), Ke = { promise: null, details: null, bannerPrinted: !1, detailsPrinted: !1, licenseKey: null, keyFrom: null };
1655
+ }, Uc = (s) => ({ licensee: () => "Evaluation License", expiration: () => null, domains: () => [fi()], developerCount: () => 1, cpuCount: () => 0, type: () => "eval", isEval: () => !0, exceptions: () => [], isValidFor: () => !0, isValid: () => !1, features: () => Object.freeze({}), keyFrom: () => s, getBuildVersion: ko, getBuildDate: zs }), je = { promise: null, details: null, bannerPrinted: !1, detailsPrinted: !1, licenseKey: null, keyFrom: null };
1656
1656
  let ia = !1, Wc = !1;
1657
1657
  const qc = "cil.lxteehs".split("").reduce((s, e) => e + s, ""), xg = new class {
1658
1658
  constructor() {
@@ -1660,11 +1660,11 @@ const qc = "cil.lxteehs".split("").reduce((s, e) => e + s, ""), xg = new class {
1660
1660
  }
1661
1661
  async setLicenseKey(s, e = !1) {
1662
1662
  if (!s || s.startsWith("visit ") || s.startsWith("email ") || s.startsWith("trial") || s.startsWith("eval")) return ia = !0, await this._validate(!0);
1663
- if (ia = !1, !e && Ke.licenseKey) {
1663
+ if (ia = !1, !e && je.licenseKey) {
1664
1664
  const n = await this._validate();
1665
1665
  if (n.isValid() && !n.isEval()) return n;
1666
1666
  }
1667
- Ke.licenseKey = s, Ke.keyFrom = "setLicenseKey", Ke.details = null, Ke.promise = null;
1667
+ je.licenseKey = s, je.keyFrom = "setLicenseKey", je.details = null, je.promise = null;
1668
1668
  const t = await this._validate();
1669
1669
  if (!t.isValid()) throw await this._print(!0), new Error("Invalid license key.");
1670
1670
  if (F.isNode() && (await (async () => {
@@ -1674,9 +1674,9 @@ const qc = "cil.lxteehs".split("").reduce((s, e) => e + s, ""), xg = new class {
1674
1674
  return t;
1675
1675
  }
1676
1676
  async _validate(s = !1) {
1677
- if (Ke.promise || (this.__proto__.valueFv || (this.__proto__.valueFv = new Error("FV")), Ke.promise)) return Ke.promise;
1677
+ if (je.promise || (this.__proto__.valueFv || (this.__proto__.valueFv = new Error("FV")), je.promise)) return je.promise;
1678
1678
  let e = null;
1679
- Ke.promise = new Promise((i) => {
1679
+ je.promise = new Promise((i) => {
1680
1680
  e = i;
1681
1681
  });
1682
1682
  let t, n = null;
@@ -1705,7 +1705,7 @@ const qc = "cil.lxteehs".split("").reduce((s, e) => e + s, ""), xg = new class {
1705
1705
  }
1706
1706
  var l;
1707
1707
  };
1708
- Ke.licenseKey && (n = await r(Ke.keyFrom, Ke.licenseKey));
1708
+ je.licenseKey && (n = await r(je.keyFrom, je.licenseKey));
1709
1709
  let o = !1;
1710
1710
  if (ia && (o = !0, n = Uc("Eval License Key")), !n)
1711
1711
  if (F.isNode()) {
@@ -1740,16 +1740,16 @@ const qc = "cil.lxteehs".split("").reduce((s, e) => e + s, ""), xg = new class {
1740
1740
  }
1741
1741
  !n && Gc() && (o = !0);
1742
1742
  }
1743
- if (!n && o && (n = Uc("No License Key")), !n && t && (n = t), n || (n = { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => null, isEval: () => !1, exceptions: () => ["No license provided"], isValidFor: (i) => !1, isValid: () => !1, features: () => Object.freeze({}), keyFrom: () => "No key", getBuildVersion: ko, getBuildDate: zs }), Ke.details = n, e(n), s && !(Ke.bannerPrinted && Ke.detailsPrinted) && (o || n.exceptions().length > 0 || n.features()?.pb)) {
1743
+ if (!n && o && (n = Uc("No License Key")), !n && t && (n = t), n || (n = { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => null, isEval: () => !1, exceptions: () => ["No license provided"], isValidFor: (i) => !1, isValid: () => !1, features: () => Object.freeze({}), keyFrom: () => "No key", getBuildVersion: ko, getBuildDate: zs }), je.details = n, e(n), s && !(je.bannerPrinted && je.detailsPrinted) && (o || n.exceptions().length > 0 || n.features()?.pb)) {
1744
1744
  if (Wc) return void setTimeout(() => {
1745
1745
  this._print(!1, !1);
1746
1746
  }, 8e3);
1747
1747
  await this._print(!1, !1);
1748
1748
  }
1749
- return Ke.details;
1749
+ return je.details;
1750
1750
  }
1751
1751
  async _printBanner(s) {
1752
- return Ke.bannerPrinted = !0, await this.getDetails(), await (async (e) => {
1752
+ return je.bannerPrinted = !0, await this.getDetails(), await (async (e) => {
1753
1753
  const t = e ? console.log : F.consoleWithNoSource, n = `%c
1754
1754
  ███████╗██╗ ██╗███████╗███████╗████████╗ ██╗ ██╗██╗
1755
1755
  ██╔════╝██║ ██║██╔════╝██╔════╝╚══██╔══╝ ╚██╗██╔╝██║
@@ -1762,7 +1762,7 @@ const qc = "cil.lxteehs".split("").reduce((s, e) => e + s, ""), xg = new class {
1762
1762
  })(s), Promise.resolve();
1763
1763
  }
1764
1764
  async _printDetails(s = !1, e = !1, t = !1) {
1765
- Ke.detailsPrinted = !0;
1765
+ je.detailsPrinted = !0;
1766
1766
  const n = await this.getDetails();
1767
1767
  await (async (r, o = !1, i = !1, a = !1) => {
1768
1768
  let l;
@@ -1783,7 +1783,8 @@ KeyFrom: '${r.keyFrom()}'`), await c(`${l}`, ...h), Promise.resolve();
1783
1783
  })(n, s, e, t);
1784
1784
  }
1785
1785
  async _print(s, e) {
1786
- await this._printBanner(s);
1786
+ if (!s && (je.bannerPrinted || je.detailsPrinted)) return;
1787
+ je.bannerPrinted = !0, je.detailsPrinted = !0, await this._printBanner(s);
1787
1788
  const t = F.isNode(), n = s || t ? console.log : F.consoleWithNoSource;
1788
1789
  t && n(""), await this._printDetails(s, e), n("");
1789
1790
  }
@@ -1794,7 +1795,7 @@ KeyFrom: '${r.keyFrom()}'`), await c(`${l}`, ...h), Promise.resolve();
1794
1795
  return this._print(!0, s);
1795
1796
  }
1796
1797
  wasPrinted() {
1797
- return Ke.bannerPrinted && Ke.detailsPrinted;
1798
+ return je.bannerPrinted && je.detailsPrinted;
1798
1799
  }
1799
1800
  suppressPrint(s) {
1800
1801
  Wc = !0;
@@ -6754,10 +6755,10 @@ var bi;
6754
6755
  }
6755
6756
  s.IteratorInstance = t;
6756
6757
  })(bi || (bi = {}));
6757
- const Ln = (s, e = He.Right, t = null) => {
6758
+ const Ln = (s, e = Ve.Right, t = null) => {
6758
6759
  if (!s) return s;
6759
6760
  if (s.length === 0) return [];
6760
- const n = e === He.Right, r = e === He.Left, o = e === He.Up, i = e === He.Down;
6761
+ const n = e === Ve.Right, r = e === Ve.Left, o = e === Ve.Up, i = e === Ve.Down;
6761
6762
  return s.sort((a, l) => {
6762
6763
  if (!a && !l) return 0;
6763
6764
  if (a && !l) return -1;
@@ -7339,11 +7340,11 @@ class Ie {
7339
7340
  return this._getReadTree().all(e);
7340
7341
  }
7341
7342
  shift(e) {
7342
- const t = e.range, n = e.direction, r = e.cloneIfUpdate ?? !1, o = e.coordValidator ?? null, i = e.onShift ?? null, a = n === He.Left || n === He.Right, l = a ? ue.Column : ue.Row, c = n === He.Up || n === He.Left ? -1 : 1, h = (a ? t.colEnd - t.colStart + 1 : t.rowEnd - t.rowStart + 1) * c, u = [], d = [];
7343
+ const t = e.range, n = e.direction, r = e.cloneIfUpdate ?? !1, o = e.coordValidator ?? null, i = e.onShift ?? null, a = n === Ve.Left || n === Ve.Right, l = a ? ue.Column : ue.Row, c = n === Ve.Up || n === Ve.Left ? -1 : 1, h = (a ? t.colEnd - t.colStart + 1 : t.rowEnd - t.rowStart + 1) * c, u = [], d = [];
7343
7344
  let g = null;
7344
7345
  const m = this.getBoundingCoords();
7345
7346
  if (!m) return this;
7346
- const f = n === He.Up || n === He.Left ? He.Right : He.Left, p = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), S = this._options?.updateEntryOptions, E = S?.isMergeOnShift ?? !1, y = S?.isSplitOnExpand ?? !1, b = S?.isTrailingEdge ?? !1, w = n === He.Left || n === He.Up, v = S?.getSplit ?? Ys, I = S?.getShifted, x = S?.onShifted, C = S?.onRemoved, A = S?.onMerged, R = S?.onUpdated, M = x ? [] : null, N = C ? [] : null, O = R ? [] : null;
7347
+ const f = n === Ve.Up || n === Ve.Left ? Ve.Right : Ve.Left, p = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), S = this._options?.updateEntryOptions, E = S?.isMergeOnShift ?? !1, y = S?.isSplitOnExpand ?? !1, b = S?.isTrailingEdge ?? !1, w = n === Ve.Left || n === Ve.Up, v = S?.getSplit ?? Ys, I = S?.getShifted, x = S?.onShifted, C = S?.onRemoved, A = S?.onMerged, R = S?.onUpdated, M = x ? [] : null, N = C ? [] : null, O = R ? [] : null;
7347
7348
  this.visitRanges({ colStart: t.colStart - (a ? 1 : 0), rowStart: t.rowStart - (a ? 0 : 1), colEnd: a ? m.colEnd : t.colEnd, rowEnd: a ? t.rowEnd : m.rowEnd }, (H) => {
7348
7349
  if ((a ? H.colEnd < t.colStart : H.rowEnd < t.rowStart) && !b) return;
7349
7350
  const B = f0(t, H, a ? Tr.Column : Tr.Row), z = H.group;
@@ -7353,7 +7354,7 @@ class Ie {
7353
7354
  if (G === null) return g = D.unionRanges(g, H), N && N.push(H), void u.push(H);
7354
7355
  }
7355
7356
  let j = { ...H };
7356
- n === He.Right ? (t.colStart <= j.colStart && (j.colStart += h), j.colEnd += h) : n === He.Left ? t.colStart < j.colStart ? (j.colStart = Math.max(j.colStart + h, t.colStart), j.colEnd = Math.max(j.colEnd + h, j.colStart - 1)) : j.colEnd += Math.max(h, t.colStart - j.colEnd - 1) : n === He.Down ? (t.rowStart <= j.rowStart && (j.rowStart += h), j.rowEnd += h) : n === He.Up && (t.rowStart < j.rowStart ? (j.rowStart = Math.max(j.rowStart + h, t.rowStart), j.rowEnd = Math.max(j.rowEnd + h, t.rowStart - 1)) : j.rowEnd += Math.max(h, t.rowStart - j.rowEnd - 1)), (j.colEnd < j.colStart || j.rowEnd < j.rowStart) && (j = null);
7357
+ n === Ve.Right ? (t.colStart <= j.colStart && (j.colStart += h), j.colEnd += h) : n === Ve.Left ? t.colStart < j.colStart ? (j.colStart = Math.max(j.colStart + h, t.colStart), j.colEnd = Math.max(j.colEnd + h, j.colStart - 1)) : j.colEnd += Math.max(h, t.colStart - j.colEnd - 1) : n === Ve.Down ? (t.rowStart <= j.rowStart && (j.rowStart += h), j.rowEnd += h) : n === Ve.Up && (t.rowStart < j.rowStart ? (j.rowStart = Math.max(j.rowStart + h, t.rowStart), j.rowEnd = Math.max(j.rowEnd + h, t.rowStart - 1)) : j.rowEnd += Math.max(h, t.rowStart - j.rowEnd - 1)), (j.colEnd < j.colStart || j.rowEnd < j.rowStart) && (j = null);
7357
7358
  const V = gu(H, j, { after: j, before: H, intersect: t, isSplit: B, orientation: l, amount: h }, I, v, i, y && h > 0);
7358
7359
  if (V === void 0) return;
7359
7360
  const $ = V === null ? [j] : V, U = $.length;
@@ -7795,7 +7796,7 @@ const p0 = (s, e, t, n, r, o, i) => {
7795
7796
  V && p.push({ ...j, value: V });
7796
7797
  }
7797
7798
  }
7798
- }, He.Right), { inserts: p, removes: _ };
7799
+ }, Ve.Right), { inserts: p, removes: _ };
7799
7800
  }, Lt = [null, null], _0 = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, Nt = (s = Number.MIN_SAFE_INTEGER, e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER, r, o, i) => {
7800
7801
  if (o && (s !== Number.MIN_SAFE_INTEGER && s < o.colStart || e !== Number.MIN_SAFE_INTEGER && e < o.rowStart || t !== Number.MAX_SAFE_INTEGER && t > o.colEnd || n !== Number.MAX_SAFE_INTEGER && n > o.rowEnd)) throw new Pe();
7801
7802
  return i && (s = Math.max(i.colStart, s), e = Math.max(i.rowStart, e), t = Math.min(i.colEnd, t), n = Math.min(i.rowEnd, n), t < s || n < e) ? null : (oo.majorStart = r ? s : e, oo.majorEnd = r ? t : n, oo.minorStart = r ? e : s, oo.minorEnd = r ? n : t, oo);
@@ -8104,8 +8105,8 @@ class on {
8104
8105
  f = e.reverse ?? !1, h = /* @__PURE__ */ ((v) => typeof v != "boolean" ? v : v === !0 ? { done: !1, value: [{ colIndex: -1, rowIndex: -1 }, null] } : void 0)(e.reuseResult), l = t ? e.processColumnSkip : e.processRowSkip, l && (f ? d = l(d, f) : u = l(u, f)), c = t ? e.processRowSkip : e.processColumnSkip, c && (f ? m = c(d, f) : g = c(g, f));
8105
8106
  }
8106
8107
  if (!i) return ot;
8107
- r || u !== d || (r = !0), Ge.bounds.min = u, Ge.bounds.max = d, Ge.reverse = f, Ge.processSkip = l, Ge.reuseResult = Ro;
8108
- let p = this._major.entries(Ge), _ = _u();
8108
+ r || u !== d || (r = !0), Ue.bounds.min = u, Ue.bounds.max = d, Ue.reverse = f, Ue.processSkip = l, Ue.reuseResult = Ro;
8109
+ let p = this._major.entries(Ue), _ = _u();
8109
8110
  const S = (w) => {
8110
8111
  if (!w.nextActive) return;
8111
8112
  const v = (C) => {
@@ -8238,8 +8239,8 @@ class on {
8238
8239
  const b = e[p], w = b[0], v = b[1], I = new Un(f);
8239
8240
  g(I, v, w);
8240
8241
  }, S = this._major;
8241
- Ge.bounds.min = t, Ge.bounds.max = n, Ge.reverse = !1, Ge.processSkip = null, Ge.reuseResult = Ro;
8242
- const E = S.entries(Ge);
8242
+ Ue.bounds.min = t, Ue.bounds.max = n, Ue.reverse = !1, Ue.processSkip = null, Ue.reuseResult = Ro;
8243
+ const E = S.entries(Ue);
8243
8244
  let y = E.next();
8244
8245
  for (; !y.done; ) {
8245
8246
  const b = y.value, w = b[0];
@@ -8285,16 +8286,16 @@ class on {
8285
8286
  let f = !1, p = 0;
8286
8287
  const _ = this._major;
8287
8288
  if (c <= g && h >= m) {
8288
- Ge.bounds.min = a, Ge.bounds.max = l;
8289
- const I = _.entries(Ge);
8289
+ Ue.bounds.min = a, Ue.bounds.max = l;
8290
+ const I = _.entries(Ue);
8290
8291
  let x = I.next();
8291
8292
  for (; !x.done; )
8292
8293
  p -= x.value[1].getCount(), x = I.next();
8293
8294
  return _.delete(a, l - a + 1), this._count += p, this._dataCoords = null, p !== 0;
8294
8295
  }
8295
8296
  const S = [], E = this._isShared, y = [];
8296
- Ge.bounds.min = a, Ge.bounds.max = l, Bt.reverse = !1, Bt.processSkip = null, Bt.reuseResult = Ro;
8297
- const b = _.entries(Ge);
8297
+ Ue.bounds.min = a, Ue.bounds.max = l, Bt.reverse = !1, Bt.processSkip = null, Bt.reuseResult = Ro;
8298
+ const b = _.entries(Ue);
8298
8299
  let w = b.next();
8299
8300
  for (; !w.done; ) {
8300
8301
  const I = w.value, x = I[0];
@@ -8323,7 +8324,7 @@ class on {
8323
8324
  }
8324
8325
  shift(e, t) {
8325
8326
  if (!e || !t) throw new Xt();
8326
- const n = this._isColumn, r = this._maxCoords, o = t === He.Right || t === He.Down, i = t === He.Left || t === He.Right, a = Nt(e.colStart, e.rowStart, e.colEnd, e.rowEnd, n, r, e);
8327
+ const n = this._isColumn, r = this._maxCoords, o = t === Ve.Right || t === Ve.Down, i = t === Ve.Left || t === Ve.Right, a = Nt(e.colStart, e.rowStart, e.colEnd, e.rowEnd, n, r, e);
8327
8328
  if (!a) return !1;
8328
8329
  const l = a.majorStart, c = a.majorEnd, h = a.minorStart, u = a.minorEnd, d = this.getCoords();
8329
8330
  if (!d) return !1;
@@ -8333,10 +8334,10 @@ class on {
8333
8334
  if (!o && (E *= -1, D.isRangeWithinRange(d, e))) return this.clear(), !0;
8334
8335
  let y = 0;
8335
8336
  const b = this._major, w = [];
8336
- if (Ge.bounds.min = l, Ge.bounds.max = S ? Number.MAX_SAFE_INTEGER : c, Bt.reverse = !o, Bt.processSkip = null, Bt.reuseResult = Ro, S && _) {
8337
+ if (Ue.bounds.min = l, Ue.bounds.max = S ? Number.MAX_SAFE_INTEGER : c, Bt.reverse = !o, Bt.processSkip = null, Bt.reuseResult = Ro, S && _) {
8337
8338
  if (!o) {
8338
- Ge.bounds.max = c;
8339
- const j = b.entries(Ge);
8339
+ Ue.bounds.max = c;
8340
+ const j = b.entries(Ue);
8340
8341
  let V = j.next();
8341
8342
  for (; !V.done; )
8342
8343
  y -= V.value[1].getCount(), V = j.next();
@@ -8349,7 +8350,7 @@ class on {
8349
8350
  o || (x = Number.MAX_SAFE_INTEGER, C = Number.MIN_SAFE_INTEGER);
8350
8351
  let A = Number.MAX_SAFE_INTEGER;
8351
8352
  r && (A = i ? r.colEnd : r.rowEnd);
8352
- const R = /* @__PURE__ */ new Set(), M = S ? /* @__PURE__ */ new Map() : null, N = [], O = b.entries(Ge), P = { bounds: { min: h, max: u } };
8353
+ const R = /* @__PURE__ */ new Set(), M = S ? /* @__PURE__ */ new Map() : null, N = [], O = b.entries(Ue), P = { bounds: { min: h, max: u } };
8353
8354
  let L = O.next();
8354
8355
  for (; !L.done; ) {
8355
8356
  const z = L.value, j = z[0], V = z[1].clone(), $ = V.getCoords(), U = $.min, G = $.max;
@@ -8466,7 +8467,7 @@ class on {
8466
8467
  on || (on = {});
8467
8468
  const E0 = 12;
8468
8469
  Object.seal({ done: !1, value: null });
8469
- const kn = [-1, -1, null], Cm = Object.seal({ done: !1, value: [-1, null] }), Ro = Object.seal({ done: !1, value: [-1, null] }), Bt = { bounds: { min: -1, max: -1 }, reverse: !1, processSkip: null, reuseResult: Cm }, Ge = { bounds: { min: -1, max: -1 }, reverse: !1, processSkip: null, reuseResult: Ro }, _u = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: !1, nextMinorIndex: -1, nextActive: !1, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
8470
+ const kn = [-1, -1, null], Cm = Object.seal({ done: !1, value: [-1, null] }), Ro = Object.seal({ done: !1, value: [-1, null] }), Bt = { bounds: { min: -1, max: -1 }, reverse: !1, processSkip: null, reuseResult: Cm }, Ue = { bounds: { min: -1, max: -1 }, reverse: !1, processSkip: null, reuseResult: Ro }, _u = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: !1, nextMinorIndex: -1, nextActive: !1, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
8470
8471
  class Ci {
8471
8472
  constructor(e) {
8472
8473
  if (this._l = 0, this._at = null, this._dt = Su.Undefined, this._a32 = null, this._a64 = null, this._cv = null, this._vt = null, this._vi32 = null, this._vi64 = null, this._vf32 = null, this._vf64 = null, !e) throw new Error("options is required");
@@ -10397,8 +10398,8 @@ const li = (s) => {
10397
10398
  t && o !== "]" && o !== '"' ? e += o : o === '"' ? (e += "\\0022", t = !t) : ["[", "]", ",", "#", ".", "@", "/", ":", ";", "-", " "].includes(o) ? (e += "\\" + o, o === "[" ? t = !0 : o === "]" && (t = !1)) : ["(", ")"].includes(o) ? e += n === "_" ? "\\" + o : "\\\\\\" + o : ["$"].includes(o) ? e += "\\0022" + o + "\\0022" : e += o, n = o;
10398
10399
  }
10399
10400
  return '"' + e + '"';
10400
- }, q0 = "Thin", J0 = "Hairline", X0 = "Extra Light", K0 = "Ultra Light", Y0 = "Light", Yu = "Normal", Z0 = "Regular", Q0 = "Medium", eS = "Semi Bold", tS = "Demi Bold", nS = "Bold", rS = "Extra Bold", oS = "Ultra Bold", sS = "Black", iS = "Heavy", aS = "Extra Black", lS = "Ultra Black", cS = "lighter", hS = "normal", uS = "bold", dS = "bolder", Ue = /* @__PURE__ */ new Map();
10401
- Ue.set(F.textToKey(q0), 100), Ue.set(F.textToKey(J0), 100), Ue.set(F.textToKey(X0), 200), Ue.set(F.textToKey(K0), 200), Ue.set(F.textToKey(Y0), 300), Ue.set(F.textToKey(Yu), 400), Ue.set(F.textToKey(Z0), 400), Ue.set(F.textToKey(Q0), 500), Ue.set(F.textToKey(eS), 600), Ue.set(F.textToKey(tS), 600), Ue.set(F.textToKey(Yu), 400), Ue.set(F.textToKey(nS), 700), Ue.set(F.textToKey(rS), 800), Ue.set(F.textToKey(oS), 800), Ue.set(F.textToKey(sS), 900), Ue.set(F.textToKey(iS), 900), Ue.set(F.textToKey(aS), 950), Ue.set(F.textToKey(lS), 950), Ue.set(F.textToKey(cS), 100), Ue.set(F.textToKey(hS), 400), Ue.set(F.textToKey(uS), 700), Ue.set(F.textToKey(dS), 700);
10401
+ }, q0 = "Thin", J0 = "Hairline", X0 = "Extra Light", K0 = "Ultra Light", Y0 = "Light", Yu = "Normal", Z0 = "Regular", Q0 = "Medium", eS = "Semi Bold", tS = "Demi Bold", nS = "Bold", rS = "Extra Bold", oS = "Ultra Bold", sS = "Black", iS = "Heavy", aS = "Extra Black", lS = "Ultra Black", cS = "lighter", hS = "normal", uS = "bold", dS = "bolder", We = /* @__PURE__ */ new Map();
10402
+ We.set(F.textToKey(q0), 100), We.set(F.textToKey(J0), 100), We.set(F.textToKey(X0), 200), We.set(F.textToKey(K0), 200), We.set(F.textToKey(Y0), 300), We.set(F.textToKey(Yu), 400), We.set(F.textToKey(Z0), 400), We.set(F.textToKey(Q0), 500), We.set(F.textToKey(eS), 600), We.set(F.textToKey(tS), 600), We.set(F.textToKey(Yu), 400), We.set(F.textToKey(nS), 700), We.set(F.textToKey(rS), 800), We.set(F.textToKey(oS), 800), We.set(F.textToKey(sS), 900), We.set(F.textToKey(iS), 900), We.set(F.textToKey(aS), 950), We.set(F.textToKey(lS), 950), We.set(F.textToKey(cS), 100), We.set(F.textToKey(hS), 400), We.set(F.textToKey(uS), 700), We.set(F.textToKey(dS), 700);
10402
10403
  const gS = "xx-small", mS = "x-small", fS = "small", pS = "medium", _S = "large", SS = "x-large", wS = "xx-large", yS = "xxx-large", ES = "smaller", bS = "larger", vS = "math", CS = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), zt = /* @__PURE__ */ new Map();
10403
10404
  zt.set(F.textToKey(gS), (s) => 0.4 * s), zt.set(F.textToKey(mS), (s) => 0.5 * s), zt.set(F.textToKey(fS), (s) => 0.6 * s), zt.set(F.textToKey(pS), (s) => s), zt.set(F.textToKey(_S), (s) => 1.1 * s), zt.set(F.textToKey(SS), (s) => 1.25 * s), zt.set(F.textToKey(wS), (s) => 1.5 * s), zt.set(F.textToKey(yS), (s) => 2 * s), zt.set(F.textToKey(ES), (s) => 0.9 * s), zt.set(F.textToKey(bS), (s) => 1.1 * s), zt.set(F.textToKey(vS), (s) => s);
10404
10405
  const Hr = (s, e = 11, t = "pt") => {
@@ -10538,7 +10539,7 @@ const Km = (s, e) => {
10538
10539
  e?.toJSON && (e = e.toJSON());
10539
10540
  const n = Z.BuiltInSheetPattern.MediumGray;
10540
10541
  return e?.type === Z.Type.Pattern ? { ...e, ...s } : e?.type === Z.Type.Solid ? { patternType: n, ...s, foreground: e?.color ?? T.Named.WindowText, background: T.Scheme.Bg1 } : e?.type === Z.Type.Gradient ? { patternType: n, ...s, foreground: e?.stops?.[0]?.color ?? T.Named.WindowText, background: e?.stops?.[1]?.color ?? T.Scheme.Bg1 } : s ? { type: Z.Type.Pattern, patternType: Z.BuiltInSheetPattern.Solid, foreground: T.Named.WindowText, background: T.Scheme.Bg1, ...s } : null;
10541
- }, properties: { foreground: Go, background: Go } }, qe = { properties: { font: { shorthand: (s, e) => {
10542
+ }, properties: { foreground: Go, background: Go } }, Je = { properties: { font: { shorthand: (s, e) => {
10542
10543
  if (typeof s == "string") {
10543
10544
  const t = li(s);
10544
10545
  if (t) {
@@ -10562,7 +10563,7 @@ const Km = (s, e) => {
10562
10563
  let r = 400;
10563
10564
  if (r = typeof n == "number" ? n : parseFloat(n), !isNaN(r)) return r;
10564
10565
  if (typeof n == "string") {
10565
- const o = F.textToKey(n), i = Ue.get(o);
10566
+ const o = F.textToKey(n), i = We.get(o);
10566
10567
  if (i) return i;
10567
10568
  }
10568
10569
  return r;
@@ -10593,7 +10594,7 @@ const Km = (s, e) => {
10593
10594
  return t !== void 0 ? t : s;
10594
10595
  }
10595
10596
  return typeof s == "number" ? sc(s) : null;
10596
- } } } }, GS = { properties: { style: qe } }, US = Object.freeze({ displayText: "", conditionalColor: null, repeatChars: F.EmptyArray, spacingChars: F.EmptyArray, repeatPlaceholder: null, formattedRuns: Object.freeze({ runs: F.EmptyArray, length: 0, width: 0, lastRepeatIndex: -1 }), canWrap: !1, asDate: null, isDateFormat: !1, isTimeFormat: !1, isDate1904: !1 }), Ym = (s, e, t, n, r, o = !1) => {
10597
+ } } } }, GS = { properties: { style: Je } }, US = Object.freeze({ displayText: "", conditionalColor: null, repeatChars: F.EmptyArray, spacingChars: F.EmptyArray, repeatPlaceholder: null, formattedRuns: Object.freeze({ runs: F.EmptyArray, length: 0, width: 0, lastRepeatIndex: -1 }), canWrap: !1, asDate: null, isDateFormat: !1, isTimeFormat: !1, isDate1904: !1 }), Ym = (s, e, t, n, r, o = !1) => {
10597
10598
  if (s == null) return US;
10598
10599
  let i = "", a = null, l = null, c = null;
10599
10600
  if (t === J.Error) i = s.getLabel();
@@ -11104,7 +11105,7 @@ class st {
11104
11105
  }
11105
11106
  cloneWithUpdate(e) {
11106
11107
  if (e === void 0) return this;
11107
- const t = this._c, n = this._r, r = this._p, o = Ve.resolveTypedUpdates(e, qe, t, r);
11108
+ const t = this._c, n = this._r, r = this._p, o = $e.resolveTypedUpdates(e, Je, t, r);
11108
11109
  return new st(t, n, o);
11109
11110
  }
11110
11111
  copyTo(e, t) {
@@ -11165,7 +11166,7 @@ class st {
11165
11166
  if (_ > 1 && !Jn(v, c[w])) return;
11166
11167
  const I = S === 1 ? h[b] : h[w];
11167
11168
  if (S > 1 && !Jn(I, h[w]) || !Jn(v, I)) return;
11168
- const x = { border: { [d]: c[d], [g]: c[g], [E]: c[E], [w]: v, [b]: c[b], [y]: h[y] } }, C = Ve.resolveTypedUpdates(x, qe, u, o);
11169
+ const x = { border: { [d]: c[d], [g]: c[g], [E]: c[E], [w]: v, [b]: c[b], [y]: h[y] } }, C = $e.resolveTypedUpdates(x, Je, u, o);
11169
11170
  return new st(u, t, C);
11170
11171
  }
11171
11172
  return new st(u, t, this._p);
@@ -11354,13 +11355,13 @@ class gw {
11354
11355
  }
11355
11356
  let a = null;
11356
11357
  const l = this._table?.getPropertiesAt(e, t, n);
11357
- l && (a = a ? Ve.resolveTypedUpdates(l, qe, i, a) : l), r && (a = a ? Ve.resolveTypedUpdates(r, qe, i, a) : r);
11358
+ l && (a = a ? $e.resolveTypedUpdates(l, Je, i, a) : l), r && (a = a ? $e.resolveTypedUpdates(r, Je, i, a) : r);
11358
11359
  const c = this._conditionals;
11359
11360
  if (c) for (let h = 0; h < c.length; h++) {
11360
11361
  const u = c[h].getPropertiesAt(e, t, n);
11361
- u && (a = a ? Ve.resolveTypedUpdates(u, qe, i, a) : u);
11362
+ u && (a = a ? $e.resolveTypedUpdates(u, Je, i, a) : u);
11362
11363
  }
11363
- return o && (a = a ? Ve.resolveTypedUpdates(o, qe, i, a) : o), a;
11364
+ return o && (a = a ? $e.resolveTypedUpdates(o, Je, i, a) : o), a;
11364
11365
  }
11365
11366
  cloneWithUpdate(e) {
11366
11367
  return (this._rs.directStyle ?? this._styles.getNormalRanged()).cloneWithUpdate(e);
@@ -12012,7 +12013,7 @@ const Cn = (s, e) => {
12012
12013
  for (let n = 0; n < t; n++) e.push(s.ranges[n]);
12013
12014
  } else s.cell && e.push(D.cellToRange(s.cell));
12014
12015
  return e;
12015
- }, je = (s, e) => {
12016
+ }, He = (s, e) => {
12016
12017
  if (!s || s.length === 0) return null;
12017
12018
  let t = s.length - 1;
12018
12019
  const n = s[t], r = s[0];
@@ -12897,7 +12898,7 @@ class Iw {
12897
12898
  for (let i = 0; i < o; i++) {
12898
12899
  const a = r[i], l = e[a];
12899
12900
  if (!l || !F.isObject(l)) continue;
12900
- const c = Ve.resolveTypedUpdates(Object.freeze(l), qe, n);
12901
+ const c = $e.resolveTypedUpdates(Object.freeze(l), Je, n);
12901
12902
  t[a] = c;
12902
12903
  }
12903
12904
  return Object.freeze(t);
@@ -12930,7 +12931,7 @@ class Iw {
12930
12931
  const A = { rowIndex: h, colIndex: I }, R = { rowStart: p, rowEnd: c - S - 1, colStart: 0, colEnd: Math.min(l - u, x ? w : v) };
12931
12932
  x && I === 0 && u > 0 && C.border?.left && o.secondColumnStripe?.border.right && (C = { ...C }, C.border = { ...C.border }, delete C.border.left), x && I === w - 1 && u < l - 1 && C.border?.right && o.secondColumnStripe?.border.left && (C = { ...C }, C.border = { ...C.border }, delete C.border.right);
12932
12933
  const M = C.border ? Ut(C, A, R) : C;
12933
- m = Ve.resolveTypedUpdates(M, qe, r, m);
12934
+ m = $e.resolveTypedUpdates(M, Je, r, m);
12934
12935
  }
12935
12936
  }
12936
12937
  if (b && g.showRowStripes) {
@@ -12943,40 +12944,40 @@ class Iw {
12943
12944
  const R = { colIndex: u, rowIndex: x }, M = { colStart: 0, colEnd: l - 1, rowStart: 0, rowEnd: Math.min(c - h, C ? v : I) };
12944
12945
  C && x === 0 && h > w && A.border?.top && o.secondRowStripe?.border.bottom && (A = { ...A }, A.border = { ...A.border }, delete A.border.top), C && x === v - 1 && h < c - 1 && A.border?.bottom && o.secondRowStripe?.border.top && (A = { ...A }, A.border = { ...A.border }, delete A.border.bottom);
12945
12946
  const N = A.border ? Ut(A, R, M) : A;
12946
- m = Ve.resolveTypedUpdates(N, qe, r, m);
12947
+ m = $e.resolveTypedUpdates(N, Je, r, m);
12947
12948
  }
12948
12949
  }
12949
12950
  if (E && o.lastColumn) {
12950
12951
  let w = o.lastColumn;
12951
- w.border && (w = Ut(w, d, { rowStart: 0, rowEnd: c - 1, colStart: l - 1, colEnd: l - 1 })), m = Ve.resolveTypedUpdates(w, qe, r, m);
12952
+ w.border && (w = Ut(w, d, { rowStart: 0, rowEnd: c - 1, colStart: l - 1, colEnd: l - 1 })), m = $e.resolveTypedUpdates(w, Je, r, m);
12952
12953
  }
12953
12954
  if (y && o.firstColumn) {
12954
12955
  let w = o.firstColumn;
12955
- w.border && (w = Ut(w, d, { rowStart: 0, rowEnd: c - 1, colStart: 0, colEnd: 0 })), m = Ve.resolveTypedUpdates(w, qe, r, m);
12956
+ w.border && (w = Ut(w, d, { rowStart: 0, rowEnd: c - 1, colStart: 0, colEnd: 0 })), m = $e.resolveTypedUpdates(w, Je, r, m);
12956
12957
  }
12957
12958
  if (f && o.headerRow) {
12958
12959
  let w = o.headerRow;
12959
- w.border && (w = Ut(w, d, { rowStart: 0, rowEnd: p - 1, colStart: 0, colEnd: l - 1 })), m = Ve.resolveTypedUpdates(w, qe, r, m);
12960
+ w.border && (w = Ut(w, d, { rowStart: 0, rowEnd: p - 1, colStart: 0, colEnd: l - 1 })), m = $e.resolveTypedUpdates(w, Je, r, m);
12960
12961
  }
12961
12962
  if (_ && o.totalRow) {
12962
12963
  let w = o.totalRow;
12963
- w.border && (w = Ut(w, d, { rowStart: c - S, rowEnd: c - 1, colStart: 0, colEnd: l - 1 })), m = Ve.resolveTypedUpdates(w, qe, r, m);
12964
+ w.border && (w = Ut(w, d, { rowStart: c - S, rowEnd: c - 1, colStart: 0, colEnd: l - 1 })), m = $e.resolveTypedUpdates(w, Je, r, m);
12964
12965
  }
12965
12966
  if (f && y && o.firstHeaderCell) {
12966
12967
  let w = o.firstHeaderCell;
12967
- w.border && (w = Ut(w, d, { rowStart: 0, rowEnd: p - 1, colStart: 0, colEnd: 0 })), m = Ve.resolveTypedUpdates(w, qe, r, m);
12968
+ w.border && (w = Ut(w, d, { rowStart: 0, rowEnd: p - 1, colStart: 0, colEnd: 0 })), m = $e.resolveTypedUpdates(w, Je, r, m);
12968
12969
  }
12969
12970
  if (f && E && o.lastHeaderCell) {
12970
12971
  let w = o.lastHeaderCell;
12971
- w.border && (w = Ut(w, d, { rowStart: 0, rowEnd: p - 1, colStart: l - 1, colEnd: l - 1 })), m = Ve.resolveTypedUpdates(w, qe, r, m);
12972
+ w.border && (w = Ut(w, d, { rowStart: 0, rowEnd: p - 1, colStart: l - 1, colEnd: l - 1 })), m = $e.resolveTypedUpdates(w, Je, r, m);
12972
12973
  }
12973
12974
  if (_ && y && o.firstTotalCell) {
12974
12975
  let w = o.firstTotalCell;
12975
- w.border && (w = Ut(w, d, { rowStart: c - S, rowEnd: c - 1, colStart: 0, colEnd: 0 })), m = Ve.resolveTypedUpdates(w, qe, r, m);
12976
+ w.border && (w = Ut(w, d, { rowStart: c - S, rowEnd: c - 1, colStart: 0, colEnd: 0 })), m = $e.resolveTypedUpdates(w, Je, r, m);
12976
12977
  }
12977
12978
  if (_ && E && o.lastTotalCell) {
12978
12979
  let w = o.lastTotalCell;
12979
- w.border && (w = Ut(w, d, { rowStart: c - S, rowEnd: c - 1, colStart: l - 1, colEnd: l - 1 })), m = Ve.resolveTypedUpdates(w, qe, r, m);
12980
+ w.border && (w = Ut(w, d, { rowStart: c - S, rowEnd: c - 1, colStart: l - 1, colEnd: l - 1 })), m = $e.resolveTypedUpdates(w, Je, r, m);
12980
12981
  }
12981
12982
  return f && o.headerRow && n.getColumnFilter(u) && !n.getColumnFilter(u).hasHiddenButton() && (m.insets = { right: 15 }), m;
12982
12983
  }
@@ -12992,7 +12993,7 @@ class pd {
12992
12993
  for (let i = 0; i < o; i++) {
12993
12994
  const a = r[i], l = e[a];
12994
12995
  if (!l || !F.isObject(l)) continue;
12995
- const c = Ve.resolveTypedUpdates(Object.freeze(l), qe, n);
12996
+ const c = $e.resolveTypedUpdates(Object.freeze(l), Je, n);
12996
12997
  t[a] = c;
12997
12998
  }
12998
12999
  return Object.freeze(t);
@@ -13040,7 +13041,7 @@ class Aw extends st {
13040
13041
  }
13041
13042
  cloneWithUpdate(e) {
13042
13043
  if (e === void 0) return this;
13043
- const t = this._c, n = this._r, r = Ve.resolveTypedUpdates(e, qe, t, this._p);
13044
+ const t = this._c, n = this._r, r = $e.resolveTypedUpdates(e, Je, t, this._p);
13044
13045
  return new st(t, n, r);
13045
13046
  }
13046
13047
  _createShifted(e) {
@@ -13150,7 +13151,7 @@ class ns {
13150
13151
  for (let n = 0; n < e.length; n++) {
13151
13152
  const r = e[n], o = { ...r }, i = r.named;
13152
13153
  delete o.named;
13153
- const a = Ve.resolveTypedUpdates(o, qe, this), l = new _d(this, { name: i, style: a }, this._hideOrRemoveNamed.bind(this), n);
13154
+ const a = $e.resolveTypedUpdates(o, Je, this), l = new _d(this, { name: i, style: a }, this._hideOrRemoveNamed.bind(this), n);
13154
13155
  i === oe.BuiltInName.Normal && (this._normalRanged = l.getRanged(), this._normalStyle = qr(this, null)), t.set(i.toLowerCase(), l);
13155
13156
  }
13156
13157
  }
@@ -13270,7 +13271,7 @@ class ns {
13270
13271
  t && (a = (this._customCellStyles.get(r) ?? o)?._properties ?? null);
13271
13272
  const l = Wi(0, e.style, this.getNormal());
13272
13273
  e = { ...e, style: l };
13273
- const c = Ve.resolveTypedUpdates(e, GS, this, a), h = new _d(this, c, this._hideOrRemoveNamed.bind(this), i);
13274
+ const c = $e.resolveTypedUpdates(e, GS, this, a), h = new _d(this, c, this._hideOrRemoveNamed.bind(this), i);
13274
13275
  return c.name === oe.BuiltInName.Normal && (this._normalRanged = h.getRanged(), this._normalStyle = qr(this, null)), this._customCellStyles.set(r, h), h;
13275
13276
  }
13276
13277
  _setCustomTableStyleInternal(e, t) {
@@ -13321,7 +13322,7 @@ class ns {
13321
13322
  }
13322
13323
  normalize(e) {
13323
13324
  if (!e) return null;
13324
- const t = Ve.resolveTypedUpdates(e, qe, this), n = Zm;
13325
+ const t = $e.resolveTypedUpdates(e, Je, this), n = Zm;
13325
13326
  let r = null;
13326
13327
  if (r = t.named ? this.getNamed(t.named)?.getRanged().getPropertiesAt(0, 0, null) : this._normalRanged.getPropertiesAt(0, 0, null), r) {
13327
13328
  const i = { ...r };
@@ -14804,7 +14805,7 @@ class Vw {
14804
14805
  async _initialize() {
14805
14806
  const e = await xg._validate(!0), t = Gw();
14806
14807
  this._calcScope = t, this._runtime = new $w(this._options, e);
14807
- const { initializeBuiltIns: n } = await import("./CeTz_0h7mzzs7S6d.mjs"), r = this;
14808
+ const { initializeBuiltIns: n } = await import("./wJs8CBIgf04JIHOU.mjs"), r = this;
14808
14809
  return this._builtInFunctions = Object.freeze(n(() => r)), { builtInFunctions: this._builtInFunctions, calcScope: this._calcScope };
14809
14810
  }
14810
14811
  getBuiltInFunctions() {
@@ -14972,7 +14973,7 @@ class $w {
14972
14973
  }
14973
14974
  getVersion() {
14974
14975
  try {
14975
- const e = "0.3.1";
14976
+ const e = "0.3.3";
14976
14977
  if (e.indexOf(".env.") === -1) return `${e}`;
14977
14978
  } catch {
14978
14979
  return "local";
@@ -15497,7 +15498,7 @@ class hf extends dr {
15497
15498
  this._context = r;
15498
15499
  const o = await r._initialize(), i = o.builtInFunctions;
15499
15500
  this._functions = new cf({ transactions: this._transactions, context: r, readonlyFunctions: i });
15500
- const a = await import("./EWLavRuO7BMH3CES.mjs");
15501
+ const a = await import("./BxJbquhlOzuv5jAG.mjs");
15501
15502
  this._formulaParser = new a.FormulaParser(), this._scope = o.calcScope, this._status = nt.Status.Ready, this._emitter.notify("onStatusChange"), this._emitter.notify("onReady");
15502
15503
  } catch (e) {
15503
15504
  throw this._status = nt.Status.Off, this._emitter.notify("onError", e), this._emitter.notify("onStatusChange"), e;
@@ -15915,7 +15916,7 @@ class Yy {
15915
15916
  }
15916
15917
  try {
15917
15918
  const r = new ey(this._styles, this._isDate1904, n ? "HTML" : "Text"), o = await Promise.resolve(t ? ((a, l = " ") => new Promise((c, h) => {
15918
- import("./DRd9s4gIGWuK5-R-.mjs").then((u) => u.p).then((u) => {
15919
+ import("./YH1sgtW7fJqTyOwc.mjs").then((u) => u.p).then((u) => {
15919
15920
  try {
15920
15921
  const d = u.parse(a, { delimiter: l }).data;
15921
15922
  d.length > 1 && (d[d.length - 1].length === 0 || d[d.length - 1].length === 1 && d[d.length - 1][0].length === 0) && d.pop(), c(d);
@@ -18373,7 +18374,7 @@ class ul {
18373
18374
  }
18374
18375
  }
18375
18376
  async function Ud() {
18376
- const { getCrypto: s } = await import("./DZcFAGNYJO5qYnjh.mjs");
18377
+ const { getCrypto: s } = await import("./hGaf70QOp0sl7Mpo.mjs");
18377
18378
  return s();
18378
18379
  }
18379
18380
  const Wd = async (s, e, ...t) => {
@@ -18625,7 +18626,7 @@ class rs {
18625
18626
  } };
18626
18627
  }
18627
18628
  async select(e) {
18628
- const t = await this._sheet._autoSelect(e ?? !0, je(this.getCoords()));
18629
+ const t = await this._sheet._autoSelect(e ?? !0, He(this.getCoords()));
18629
18630
  return this._createRanges(t);
18630
18631
  }
18631
18632
  calculate() {
@@ -18904,7 +18905,7 @@ class os {
18904
18905
  return n.length === 0 ? t._emptyCell : n[0][0];
18905
18906
  }
18906
18907
  async select(e) {
18907
- const t = this._sheet, n = await t._autoSelect(e ?? !0, je([this.getCoords()]));
18908
+ const t = this._sheet, n = await t._autoSelect(e ?? !0, He([this.getCoords()]));
18908
18909
  return this._createRange(n[0]);
18909
18910
  }
18910
18911
  find(e, t) {
@@ -19620,9 +19621,9 @@ class Jo {
19620
19621
  }
19621
19622
  let ve = Gl(le, ne, he, pe);
19622
19623
  if (ve === void 0) return;
19623
- const We = ve.value;
19624
+ const qe = ve.value;
19624
19625
  if (ve.stringToParse) {
19625
- So[0].colIndex = u ? te : ce, So[0].rowIndex = u ? ce : te, So[1] = We, So[2] = be, ae.setState(So);
19626
+ So[0].colIndex = u ? te : ce, So[0].rowIndex = u ? ce : te, So[1] = qe, So[2] = be, ae.setState(So);
19626
19627
  const Be = he?.parse(ve.stringToParse, ae.context), ke = Gl(Be, ne, he, pe, !0);
19627
19628
  if (ae.clear(), ke === null) return ke;
19628
19629
  ke !== void 0 && (ve = { ...ke });
@@ -19638,35 +19639,35 @@ class Jo {
19638
19639
  ke === void 0 || ke === null && !o || q.append(te, ce, ke);
19639
19640
  }
19640
19641
  const Re = ve.formula;
19641
- return Re === void 0 || Re === null && !o || X.append(te, ce, Re), We;
19642
+ return Re === void 0 || Re === null && !o || X.append(te, ce, Re), qe;
19642
19643
  };
19643
19644
  let de = -1, ge = -1;
19644
19645
  try {
19645
19646
  const le = a.length;
19646
- for (let Je = 0; Je < le; Je++) {
19647
- const Ae = a[Je], fe = Ae[0];
19647
+ for (let Xe = 0; Xe < le; Xe++) {
19648
+ const Ae = a[Xe], fe = Ae[0];
19648
19649
  if (de >= fe) throw new De.OutOfOrderError(`Duplicate or out of order major indices: {${fe}}.`);
19649
19650
  if (de = fe, ge = Number.MIN_SAFE_INTEGER, fe < p || fe > _) throw new Pe("Provided major bounds is invalid");
19650
19651
  const Me = Ae[1], Ne = [], Fe = Me.length;
19651
19652
  for (let Se = 0; Se < Fe; Se++) {
19652
19653
  const Ce = Me[Se], Oe = Ce[1], pt = Oe.length;
19653
- let _t = Ce[0], Xe = _t;
19654
- if (ge > Xe) throw new De.OutOfOrderError(`Duplicate or out of order minor indices: {${Xe}}.`);
19655
- if (Xe < S || Xe + pt > E + 1) throw new Pe("Provided minor bounds is invalid");
19654
+ let _t = Ce[0], Ke = _t;
19655
+ if (ge > Ke) throw new De.OutOfOrderError(`Duplicate or out of order minor indices: {${Ke}}.`);
19656
+ if (Ke < S || Ke + pt > E + 1) throw new Pe("Provided minor bounds is invalid");
19656
19657
  let Ot = [];
19657
19658
  for (let An = 0; An < pt; An++) {
19658
19659
  const Rn = Oe[An];
19659
19660
  let Gt = null;
19660
- if (v || typeof Rn != "number" ? (v || Rn !== null || o) && (Gt = ie(Rn, fe, Xe)) : Gt = Rn, Gt == null) {
19661
- if (Gt === null && U.append(fe, Xe), Ot.length > 0) {
19661
+ if (v || typeof Rn != "number" ? (v || Rn !== null || o) && (Gt = ie(Rn, fe, Ke)) : Gt = Rn, Gt == null) {
19662
+ if (Gt === null && U.append(fe, Ke), Ot.length > 0) {
19662
19663
  const an = _e(Ot, f);
19663
19664
  Ne.push([_t, an]), Ot = [];
19664
19665
  }
19665
- _t = Xe + 1;
19666
+ _t = Ke + 1;
19666
19667
  } else Ot.push(Gt);
19667
- Xe++;
19668
+ Ke++;
19668
19669
  }
19669
- if (ge = Xe, Ot.length > 0) {
19670
+ if (ge = Ke, Ot.length > 0) {
19670
19671
  const An = _e(Ot, f);
19671
19672
  Ne.push([_t, An]), Ot = null;
19672
19673
  }
@@ -19674,27 +19675,27 @@ class Jo {
19674
19675
  Ne.length > 0 && se.push([fe, Ne]);
19675
19676
  }
19676
19677
  const te = U.done(), ce = te.length;
19677
- for (let Je = 0; Je < ce; Je++) {
19678
- const Ae = te[Je];
19679
- L.delete(te[Je]), $.insertNonOverlapping({ ...Ae, value: null });
19678
+ for (let Xe = 0; Xe < ce; Xe++) {
19679
+ const Ae = te[Xe];
19680
+ L.delete(te[Xe]), $.insertNonOverlapping({ ...Ae, value: null });
19680
19681
  const fe = H.delete(Ae);
19681
19682
  this._updateFormulaSpatial(B, null, fe);
19682
19683
  }
19683
19684
  let be;
19684
19685
  se.length > 0 && (L.setValues(se), be = { tuples: se, bounds: l });
19685
- let ve, We = X.done();
19686
- if (We.length > 1 && (We = Sn(We, k.Orientation.Column, 1)), be || We.length > 0) {
19687
- const Je = H.setInputs(be, We);
19688
- ve = this._updateFormulaSpatial(B, Je.inserts, Je.removes, P.directStyleSpatial);
19686
+ let ve, qe = X.done();
19687
+ if (qe.length > 1 && (qe = Sn(qe, k.Orientation.Column, 1)), be || qe.length > 0) {
19688
+ const Xe = H.setInputs(be, qe);
19689
+ ve = this._updateFormulaSpatial(B, Xe.inserts, Xe.removes, P.directStyleSpatial);
19689
19690
  }
19690
19691
  const Re = hd(se, u), Be = Re.length;
19691
- for (let Je = 0; Je < Be; Je++) $.insertNonOverlapping(Re[Je]);
19692
+ for (let Xe = 0; Xe < Be; Xe++) $.insertNonOverlapping(Re[Xe]);
19692
19693
  const ke = G.done();
19693
19694
  ke.length > 0 && this._updateStyles(ke), re.length > 0 && this._merge(re);
19694
19695
  const at = q.done();
19695
19696
  if (at.length > 0 && this._setHyperlinks(at), this._updateState({ cellValuesGrid: L, contentfulSpatial: $, calcGraph: H, formulaSpatial: B, spillSpatial: z, pendingSpatial: j, calcErrorsSpatial: V }), ve && ve.length > 0 && this._updateStyles(ve, void 0, {}, !0), t?.autoFit) {
19696
- const Je = typeof t.autoFit == "boolean" ? dl : t.autoFit;
19697
- this._autoFit([y], Je);
19697
+ const Xe = typeof t.autoFit == "boolean" ? dl : t.autoFit;
19698
+ this._autoFit([y], Xe);
19698
19699
  }
19699
19700
  h = { ranges: [y] }, this._addEvent("data", y), this._commitAndAutoSelect(c, h, t?.autoSelect, { viewAfter: { formulas: [y], ranges: [y] } });
19700
19701
  } catch (le) {
@@ -19890,8 +19891,8 @@ class Jo {
19890
19891
  for (let be = 0; be < N; be++) {
19891
19892
  let ve = ge(te + (R ? be : -be));
19892
19893
  Jr(ve) && (ve = Ko(ve, ce));
19893
- const We = M + be;
19894
- i ? $.pushAt(We, le, ve) : $.pushAt(le, We, ve);
19894
+ const qe = M + be;
19895
+ i ? $.pushAt(qe, le, ve) : $.pushAt(le, qe, ve);
19895
19896
  }
19896
19897
  }
19897
19898
  this._clear([f], n?.contentsOnly ? xe.Content.Formats : void 0), $.apply();
@@ -19902,19 +19903,19 @@ class Jo {
19902
19903
  if (i) {
19903
19904
  const ge = e.rowEnd - e.rowStart + 1, le = r === k.Direction.Up ? f.rowStart : e.rowEnd + 1, te = G.length;
19904
19905
  for (let ce = 0; ce < te; ce++) {
19905
- const be = G[ce], ve = be.rowStart - e.rowStart, We = be.rowEnd - be.rowStart + 1;
19906
+ const be = G[ce], ve = be.rowStart - e.rowStart, qe = be.rowEnd - be.rowStart + 1;
19906
19907
  for (let Re = 0; Re < de; Re++) {
19907
19908
  const Be = Re * ge;
19908
- ie.push({ colStart: be.colStart, rowStart: le + Be + ve, colEnd: be.colEnd, rowEnd: le + Be + ve + We - 1 });
19909
+ ie.push({ colStart: be.colStart, rowStart: le + Be + ve, colEnd: be.colEnd, rowEnd: le + Be + ve + qe - 1 });
19909
19910
  }
19910
19911
  }
19911
19912
  } else {
19912
19913
  const ge = e.colEnd - e.colStart + 1, le = r === k.Direction.Left ? f.colStart : e.colEnd + 1, te = G.length;
19913
19914
  for (let ce = 0; ce < te; ce++) {
19914
- const be = G[ce], ve = be.colStart - e.colStart, We = be.colEnd - be.colStart + 1;
19915
+ const be = G[ce], ve = be.colStart - e.colStart, qe = be.colEnd - be.colStart + 1;
19915
19916
  for (let Re = 0; Re < de; Re++) {
19916
19917
  const Be = Re * ge;
19917
- ie.push({ colStart: le + Be + ve, rowStart: be.rowStart, colEnd: le + Be + ve + We - 1, rowEnd: be.rowEnd });
19918
+ ie.push({ colStart: le + Be + ve, rowStart: be.rowStart, colEnd: le + Be + ve + qe - 1, rowEnd: be.rowEnd });
19918
19919
  }
19919
19920
  }
19920
19921
  }
@@ -19942,7 +19943,7 @@ class Jo {
19942
19943
  }
19943
19944
  }
19944
19945
  const _e = X.calcGraph.clone();
19945
- _e.autoFill(e, f), re.calcGraph = _e, this._updateState(re), m = { ...a, ranges: l }, g.commit({ viewBefore: { view: this.getView(), selection: je([e]), selectOptions: n?.autoSelect }, viewAfter: { view: this.getView(), selection: m, selectOptions: n?.autoSelect } }), this._autoSelect(n?.autoSelect ?? !1, m);
19946
+ _e.autoFill(e, f), re.calcGraph = _e, this._updateState(re), m = { ...a, ranges: l }, g.commit({ viewBefore: { view: this.getView(), selection: He([e]), selectOptions: n?.autoSelect }, viewAfter: { view: this.getView(), selection: m, selectOptions: n?.autoSelect } }), this._autoSelect(n?.autoSelect ?? !1, m);
19946
19947
  } catch (f) {
19947
19948
  throw g?.rollback(), f;
19948
19949
  }
@@ -19950,7 +19951,7 @@ class Jo {
19950
19951
  }
19951
19952
  _setHyperlinks(e, t, n) {
19952
19953
  this._protectionCheck(() => ["insertHyperlinks", "formatCells"], e);
19953
- const r = je(e), o = this._beginCommit({ description: n?.description ?? "Set Hyperlink" });
19954
+ const r = He(e), o = this._beginCommit({ description: n?.description ?? "Set Hyperlink" });
19954
19955
  let i = null;
19955
19956
  try {
19956
19957
  const a = this._getState();
@@ -20129,7 +20130,7 @@ class Jo {
20129
20130
  }, 100)();
20130
20131
  }
20131
20132
  _setComments(e, t, n) {
20132
- const r = je(e), o = this._beginCommit({ description: n?.description ?? "Set Comments" });
20133
+ const r = He(e), o = this._beginCommit({ description: n?.description ?? "Set Comments" });
20133
20134
  let i = null;
20134
20135
  try {
20135
20136
  const a = this._getState();
@@ -20155,7 +20156,7 @@ class Jo {
20155
20156
  _clear(e, t = null, n, r = !1, o = !1) {
20156
20157
  let i = null, a = "Clear", l = !1, c = !1, h = !1, u = !1;
20157
20158
  t === xe.Content.Formulas ? (a = `${a} Formulas`, u = !0) : t === xe.Content.Values ? (a = `${a} Values`, u = !0) : t === xe.Content.Formats ? (a = `${a} Formats`, l = !0, i = ["formatCells"]) : t === xe.Content.Comments ? (a = `${a} Comments`, h = !0) : t === xe.Content.Hyperlinks ? (a = `${a} Hyperlinks`, c = !0, i = ["formatCells"]) : (i = [], a = `${a} All`, u = !0, l = !0, c = !0, h = !0), i !== null && this._protectionCheck(() => i, e);
20158
- const d = je(e), g = this._beginCommit({ description: n?.description ?? a });
20159
+ const d = He(e), g = this._beginCommit({ description: n?.description ?? a });
20159
20160
  let m = this._getState(), f = m.cellValuesGrid, p = m.calcGraph, _ = m.contentfulSpatial, S = m.formulaSpatial, E = m.spillSpatial, y = m.pendingSpatial, b = m.calcErrorsSpatial, w = m.rangesListenerSpatial2;
20160
20161
  u && (f = f.clone(), p = p.clone(), _ = _.clone(), S = S.clone(), E = E.clone(), y = y.clone(), b = b.clone());
20161
20162
  try {
@@ -20199,7 +20200,7 @@ class Jo {
20199
20200
  let n = k.Orientations.Both;
20200
20201
  t?.orientations ? n = t?.orientations : t === k.Orientations.Row ? n = k.Orientations.Row : t === k.Orientations.Column && (n = k.Orientations.Column);
20201
20202
  const r = t?.discardMultipleValues ?? !1;
20202
- let o = je(e);
20203
+ let o = He(e);
20203
20204
  const i = this.getSelection().getCoords();
20204
20205
  let a = null;
20205
20206
  const l = this._beginCommit({ description: t?.description ?? "Merge" });
@@ -20257,7 +20258,7 @@ class Jo {
20257
20258
  _unmerge(e, t) {
20258
20259
  if (this._protectionCheck(Zd, e), No(e)) throw new Error("We can't unmerge intersecting ranges.");
20259
20260
  if (!this._getState()) return null;
20260
- const n = D.unionRangesArrays(e), r = je(e), o = this._beginCommit({ description: t?.description ?? "Unmerge" }), i = o.getState(this).mergeSpatial, a = [];
20261
+ const n = D.unionRangesArrays(e), r = He(e), o = this._beginCommit({ description: t?.description ?? "Unmerge" }), i = o.getState(this).mergeSpatial, a = [];
20261
20262
  try {
20262
20263
  const l = e.length;
20263
20264
  for (let c = 0; c < l; c++) {
@@ -20465,7 +20466,7 @@ class Jo {
20465
20466
  const b = (o.fitDestination ?? !1) && !D.isSingleCell(l), w = oi(l, c, b, o.transpose);
20466
20467
  if (b && (c = { ...c, colEnd: c.colStart + Math.min(w.colEnd - w.colStart, c.colEnd - c.colStart), rowEnd: c.rowStart + Math.min(w.rowEnd - w.rowStart, c.rowEnd - c.rowStart) }), !D.isRangeWithinRange(w, f)) throw console.warn(w, f), new Error("We can't paste outside of the sheet bounds.");
20467
20468
  let v = null;
20468
- v = o.undoRange ? { view: a.getView(), selection: je([o.undoRange.getCoords()]) } : { sheet: a, selection: je([w]) };
20469
+ v = o.undoRange ? { view: a.getView(), selection: He([o.undoRange.getCoords()]) } : { sheet: a, selection: He([w]) };
20469
20470
  const I = a.getTransactions().beginCommit({ description: o.description ?? "Paste" });
20470
20471
  try {
20471
20472
  if (!this._getState()) return F.EmptyArray;
@@ -20500,12 +20501,12 @@ class Jo {
20500
20501
  Re && (Re.directStyle || Re.table) && (ve.style = ge.getStyle(!A), be = !0);
20501
20502
  }
20502
20503
  g && (ve.hyperlink = ge.getHyperlink(), be = !0);
20503
- let We = ve;
20504
+ let qe = ve;
20504
20505
  if (N && le) {
20505
20506
  const Re = N(ie, de, { rowIndex: te, colIndex: ce }, o);
20506
- Re !== void 0 && (We = Re, be = !0);
20507
+ Re !== void 0 && (qe = Re, be = !0);
20507
20508
  }
20508
- if (be && (L.pushAt(te, ce, We), u)) {
20509
+ if (be && (L.pushAt(te, ce, qe), u)) {
20509
20510
  const Re = ge.getSpans();
20510
20511
  (Re.width > 1 || Re.height > 1) && le && p.push({ colStart: ce, rowStart: te, colEnd: ce + (o.transpose ? Re.height : Re.width) - 1, rowEnd: te + (o.transpose ? Re.width : Re.height) - 1 });
20511
20512
  }
@@ -20535,7 +20536,7 @@ class Jo {
20535
20536
  for (let se = 0; se < he; se++) re.remove(ae[se]);
20536
20537
  re.load(X.inserts), V[q] = re;
20537
20538
  }
20538
- j._updateState(V), E.push(w), y.push(w), _ && _.length > 0 && j._colHeaders.updateHeaderPairs(_), S && S.length > 0 && j._rowHeaders.updateHeaderPairs(S), L?.apply(), p.length > 0 && a.getRanges(p).merge(), I.commit({ viewBefore: v, viewAfter: (G) => ({ ...G, view: a.getView(), selection: je(y), ranges: E }) });
20539
+ j._updateState(V), E.push(w), y.push(w), _ && _.length > 0 && j._colHeaders.updateHeaderPairs(_), S && S.length > 0 && j._rowHeaders.updateHeaderPairs(S), L?.apply(), p.length > 0 && a.getRanges(p).merge(), I.commit({ viewBefore: v, viewAfter: (G) => ({ ...G, view: a.getView(), selection: He(y), ranges: E }) });
20539
20540
  } catch (x) {
20540
20541
  throw console.warn(x), I.rollback(), new Error(((C) => `Unable to paste: ${C}`)(x.message), { cause: x });
20541
20542
  }
@@ -20561,7 +20562,7 @@ class Jo {
20561
20562
  const l = this.getRange(e);
20562
20563
  a = await r.copyTo(l, n);
20563
20564
  const c = r.getName(), h = [a];
20564
- n?.isCut && h.push(r.getCoords()), i.commit({ description: c ? n?.description ?? `${o} ${c}` : o, viewAfter: { view: this.getView(), selection: je([a]), ranges: h } });
20565
+ n?.isCut && h.push(r.getCoords()), i.commit({ description: c ? n?.description ?? `${o} ${c}` : o, viewAfter: { view: this.getView(), selection: He([a]), ranges: h } });
20565
20566
  } catch (l) {
20566
20567
  throw i.rollback(), l;
20567
20568
  }
@@ -20582,7 +20583,7 @@ class Jo {
20582
20583
  let n = this.getFilter();
20583
20584
  if (n) return n;
20584
20585
  n = this._createFilter(t);
20585
- const r = je([t]), o = this._beginCommit({ description: "Insert Filter" });
20586
+ const r = He([t]), o = this._beginCommit({ description: "Insert Filter" });
20586
20587
  return this._updateState({ filter: n }), o.commit({ viewAfter: { ranges: [t], view: this.getView(), selection: r, selectOptions: void 0 } }), n;
20587
20588
  }
20588
20589
  getFilter() {
@@ -20641,7 +20642,7 @@ class Jo {
20641
20642
  if (this._protectionCheck(() => [i ? "insertColumns" : "insertRows"], e), No(e)) throw new Error("We can't insert cells with overlapping selections.");
20642
20643
  const a = this._entireCoords;
20643
20644
  let l = a.colEnd, c = a.rowEnd;
20644
- const h = je(e), u = this._beginCommit({ description: n?.description ?? "Insert Cells", operation: { name: "insertCells" } }), d = u.getState(this), g = i ? k.Direction.Right : k.Direction.Down;
20645
+ const h = He(e), u = this._beginCommit({ description: n?.description ?? "Insert Cells", operation: { name: "insertCells" } }), d = u.getState(this), g = i ? k.Direction.Right : k.Direction.Down;
20645
20646
  try {
20646
20647
  let m = d.cellValuesGrid, f = d.contentfulSpatial, p = d.unlockSpatial, _ = d.mergeSpatial, S = d.directStyleSpatial, E = d.continuousFillSpatial, y = d.conditionalSpatial, b = d.hyperlinkSpatial, w = d.commentsSpatial, v = d.movableSpatial, I = d.tableSpatial, x = d.calcGraph, C = d.rangesListenerSpatial2, A = d.rangeListenerSpatial, R = d.rangesListenerMap;
20647
20648
  const M = /* @__PURE__ */ new Map(), N = Ln(e.slice(), k.Direction.Left), O = N.length;
@@ -20678,7 +20679,7 @@ class Jo {
20678
20679
  if (this._protectionCheck(() => [r ? "deleteColumns" : "deleteRows"], e), No(e)) throw new Error("We can't delete cells with overlapping selections.");
20679
20680
  const o = this._entireCoords;
20680
20681
  let i = o.colEnd, a = o.rowEnd;
20681
- const l = r ? k.Direction.Left : k.Direction.Up, c = je(e), h = this._beginCommit({ description: n?.description ?? "Delete Cells", operation: { name: "deleteCells" } }), u = h.getState(this);
20682
+ const l = r ? k.Direction.Left : k.Direction.Up, c = He(e), h = this._beginCommit({ description: n?.description ?? "Delete Cells", operation: { name: "deleteCells" } }), u = h.getState(this);
20682
20683
  try {
20683
20684
  let d = u.cellValuesGrid, g = u.contentfulSpatial, m = u.mergeSpatial, f = u.unlockSpatial, p = u.directStyleSpatial, _ = u.continuousFillSpatial, S = u.conditionalSpatial, E = u.hyperlinkSpatial, y = u.commentsSpatial, b = u.movableSpatial, w = u.movableMapModel, v = u.tableSpatial, I = u.tableMapModel, x = u.calcGraph, C = u.rangesListenerSpatial2, A = u.rangeListenerSpatial, R = u.rangesListenerMap;
20684
20685
  const M = /* @__PURE__ */ new Map(), N = Ln(e.slice(), k.Direction.Left), O = N.length;
@@ -20702,7 +20703,7 @@ class Jo {
20702
20703
  let r;
20703
20704
  const o = Wo(e, this._entireCoords, !0), i = Uo(e, this._entireCoords, !0);
20704
20705
  !o && i ? (t.orientations = t.orientations ?? k.Orientations.Column, r = `${n} ${er}`) : !i && o ? (t.orientations = t.orientations ?? k.Orientations.Row, r = `${n} ${Qn}`) : i && o ? (t.orientations = t.orientations ?? k.Orientations.Both, r = `${n} All`) : (t.orientations = t.orientations ?? k.Orientations.Both, r = `${n}`);
20705
- const a = t.orientations !== k.Orientations.Row, l = t.orientations !== k.Orientations.Column, c = a && (t.expandOnly === !1 || t.expandOnly === k.Orientation.Row), h = l && (t.expandOnly === !1 || t.expandOnly === k.Orientation.Column), u = t.minContent, d = je(e), g = this._beginCommit({ description: t.description ?? r });
20706
+ const a = t.orientations !== k.Orientations.Row, l = t.orientations !== k.Orientations.Column, c = a && (t.expandOnly === !1 || t.expandOnly === k.Orientation.Row), h = l && (t.expandOnly === !1 || t.expandOnly === k.Orientation.Column), u = t.minContent, d = He(e), g = this._beginCommit({ description: t.description ?? r });
20706
20707
  try {
20707
20708
  let m = Number.MAX_SAFE_INTEGER, f = Number.MIN_SAFE_INTEGER, p = !1, _ = "", S = -1, E = !1, y = !1, b = !1, w = Number.MAX_SAFE_INTEGER, v = Number.MIN_SAFE_INTEGER;
20708
20709
  const I = this._styles.getNormal(), x = this._cellOptions, C = t.orientations === k.Orientations.Row, A = /* @__PURE__ */ new Map(), R = Dl(e, 1);
@@ -20730,8 +20731,8 @@ class Jo {
20730
20731
  Fe = _t + 1;
20731
20732
  continue;
20732
20733
  }
20733
- const Xe = { address: { min: Fe, max: pt - 1 }, update: eg };
20734
- Ne.push(Xe), Fe = _t + 1;
20734
+ const Ke = { address: { min: Fe, max: pt - 1 }, update: eg };
20735
+ Ne.push(Ke), Fe = _t + 1;
20735
20736
  }
20736
20737
  if (Fe <= fe) {
20737
20738
  const Ce = { address: { min: Fe, max: fe }, update: eg };
@@ -20767,9 +20768,9 @@ class Jo {
20767
20768
  fe && this._rowHeaders.updateHeaderPairs(fe, N);
20768
20769
  }
20769
20770
  const te = this._cellStateIterator({ ...pe, includeRangeTypes: { [ee.Type.Merge]: !1, [ee.Type.Table]: !1, [ee.Type.Style]: !1 }, ignoreEmptyIntersections: !0 });
20770
- let ce, be, ve, We = te.next(), Re = 1, Be = 1;
20771
- for (; !We.done; ) {
20772
- const Ae = We.value, fe = Ae[0], Me = Ae[2];
20771
+ let ce, be, ve, qe = te.next(), Re = 1, Be = 1;
20772
+ for (; !qe.done; ) {
20773
+ const Ae = qe.value, fe = Ae[0], Me = Ae[2];
20773
20774
  let Ne = I;
20774
20775
  const Fe = Me?.directStyle ?? null;
20775
20776
  Fe === ce ? Ne = be : (Ne = Fe ? Mi(0, D.cellToRange(fe, Ry), Me, x) : I, be = Ne);
@@ -20783,7 +20784,7 @@ class Jo {
20783
20784
  } else Se = 1, Ce = 1;
20784
20785
  Re = Se, Be = Ce;
20785
20786
  }
20786
- const pt = fe.colIndex, _t = fe.rowIndex, Xe = Ae[1], Ot = mt(Xe), An = D.isCellWithinRange(fe, X);
20787
+ const pt = fe.colIndex, _t = fe.rowIndex, Ke = Ae[1], Ot = mt(Ke), An = D.isCellWithinRange(fe, X);
20787
20788
  let Rn = !1, Gt = !1;
20788
20789
  if (ce !== Fe || Se !== G || Ce !== q || Ot === J.String || Ot === J.Error || An !== V) {
20789
20790
  if (Rn = !0, (Se > 1 || Ce > 1 || Ot === J.RichData) && (Gt = !0), !Gt && Me) {
@@ -20792,26 +20793,26 @@ class Jo {
20792
20793
  }
20793
20794
  Gt && (Rn = !1);
20794
20795
  }
20795
- if (ce = Fe, ve = Oe, (j !== pt || Rn) && (j !== pt && (U = this._colHeaders.getSpanSize(pt)), j !== -1 && z.push({ col: j, style: $, spanWidth: Se, spanHeight: Ce, minVal: m, maxVal: f, hasZero: p, text: _, textId: S, hasFalse: y, hasTrue: E, hasEmpty: b, minRow: w, maxRow: v, colWidth: U, measureWidth: -1, measureHeight: -1, isFit: V }), j = pt, $ = Ne, V = An, G = Se, q = Ce, m = Number.MAX_SAFE_INTEGER, f = Number.MIN_SAFE_INTEGER, p = !1, _ = "", S = -1, y = !1, E = !1, b = !1, w = _t), v = _t, !Gt) if (Xe === null) b = !0;
20796
+ if (ce = Fe, ve = Oe, (j !== pt || Rn) && (j !== pt && (U = this._colHeaders.getSpanSize(pt)), j !== -1 && z.push({ col: j, style: $, spanWidth: Se, spanHeight: Ce, minVal: m, maxVal: f, hasZero: p, text: _, textId: S, hasFalse: y, hasTrue: E, hasEmpty: b, minRow: w, maxRow: v, colWidth: U, measureWidth: -1, measureHeight: -1, isFit: V }), j = pt, $ = Ne, V = An, G = Se, q = Ce, m = Number.MAX_SAFE_INTEGER, f = Number.MIN_SAFE_INTEGER, p = !1, _ = "", S = -1, y = !1, E = !1, b = !1, w = _t), v = _t, !Gt) if (Ke === null) b = !0;
20796
20797
  else switch (Ot) {
20797
20798
  case J.Number:
20798
- Xe === 0 && (p = !0), m = Math.min(m, Xe), f = Math.max(f, Xe);
20799
+ Ke === 0 && (p = !0), m = Math.min(m, Ke), f = Math.max(f, Ke);
20799
20800
  break;
20800
20801
  case J.String:
20801
- _ = Xe, S = Xe;
20802
+ _ = Ke, S = Ke;
20802
20803
  break;
20803
20804
  case J.Error:
20804
- _ = Xe.toString(), S = -1;
20805
+ _ = Ke.toString(), S = -1;
20805
20806
  break;
20806
20807
  case J.Boolean:
20807
- Xe ? E = !0 : y = !0;
20808
+ Ke ? E = !0 : y = !0;
20808
20809
  }
20809
- We = te.next();
20810
+ qe = te.next();
20810
20811
  }
20811
20812
  j !== -1 && z.push({ col: j, style: $, spanWidth: G, spanHeight: q, minVal: m, maxVal: f, hasZero: p, text: _, textId: S, hasFalse: y, hasTrue: E, hasEmpty: b, minRow: w, maxRow: v, colWidth: U, measureWidth: -1, measureHeight: -1, isFit: V });
20812
20813
  let ke = -1, at = -1;
20813
- const Je = z.length;
20814
- for (let Ae = 0; Ae < Je; Ae++) {
20814
+ const Xe = z.length;
20815
+ for (let Ae = 0; Ae < Xe; Ae++) {
20815
20816
  const fe = z[Ae], Me = C || !fe.isFit, Ne = fe.maxVal, Fe = fe.style, Se = fe.colWidth;
20816
20817
  if (ke = 0, at = 0, Ne !== Number.MIN_SAFE_INTEGER) {
20817
20818
  const Oe = Pn(J.Number, Fe, Ne, x, Se, u, Me);
@@ -20843,7 +20844,7 @@ class Jo {
20843
20844
  }
20844
20845
  if (a) {
20845
20846
  const Ae = [];
20846
- for (let fe = 0; fe < Je; fe++) {
20847
+ for (let fe = 0; fe < Xe; fe++) {
20847
20848
  let Me = z[fe];
20848
20849
  const Ne = Me.col;
20849
20850
  let Fe = z[fe + 1], Se = Me.measureWidth ?? 0;
@@ -20860,7 +20861,7 @@ class Jo {
20860
20861
  if (!(Ae > 1)) return Se === null ? Ce : Math.max(Ce, Se);
20861
20862
  } };
20862
20863
  let Me = [];
20863
- for (let Se = 0; Se < Je; Se++) {
20864
+ for (let Se = 0; Se < Xe; Se++) {
20864
20865
  const Ce = z[Se];
20865
20866
  Ae = Ce.spanHeight, Me = en(Tl(Me, { min: Ce.minRow, max: Ce.maxRow, value: Ce.measureHeight }, fe));
20866
20867
  }
@@ -21698,7 +21699,7 @@ class Jo {
21698
21699
  n.rowEnd = n.rowEnd + 1;
21699
21700
  }
21700
21701
  o === void 0 && (o = ld(this, n)?.options?.hasHeader ?? !1);
21701
- const i = je([n]), a = { ...n }, l = this._beginCommit({ description: "Insert Table" });
21702
+ const i = He([n]), a = { ...n }, l = this._beginCommit({ description: "Insert Table" });
21702
21703
  let c = null;
21703
21704
  try {
21704
21705
  o || (this._isContentful([n]) && this._insertCells([{ ...n, rowStart: n.rowStart, rowEnd: n.rowStart }], k.Orientation.Row), n = { ...n, rowEnd: n.rowEnd + 1 });
@@ -21712,7 +21713,7 @@ class Jo {
21712
21713
  p.set(_, d);
21713
21714
  const S = g.tableMapName, E = new Map(S);
21714
21715
  E.set(_.getName().toLocaleLowerCase(), _), t?.clearFormatting && this.getRange(n).updateStyle(null), c = d.value.model, this._updateState({ tableSpatial: m, tableMapModel: p, tableMapName: E }), this._emitter.notify("onTablesChange"), u || this._autoFit([c.getHeaderRange().getCoords()], { expandOnly: !0 });
21715
- const y = je([n]);
21716
+ const y = He([n]);
21716
21717
  l.commit({ viewBefore: { view: this.getView(), selection: i, ranges: [a] }, viewAfter: { view: this.getView(), selection: y, ranges: [n] } });
21717
21718
  } catch (h) {
21718
21719
  throw l.rollback(), h;
@@ -21720,7 +21721,7 @@ class Jo {
21720
21721
  return c;
21721
21722
  }
21722
21723
  _addConditional(e, t) {
21723
- const n = this._rangesToCoords(e, () => ["objects"]), r = t?.autoSelect ? je(n) : null, o = [...n], i = this._beginCommit({ description: t?.description ?? "Insert Conditional" });
21724
+ const n = this._rangesToCoords(e, () => ["objects"]), r = t?.autoSelect ? He(n) : null, o = [...n], i = this._beginCommit({ description: t?.description ?? "Insert Conditional" });
21724
21725
  let a = null;
21725
21726
  try {
21726
21727
  const l = { ...t, ref: o }, c = this._getState(), h = c.conditionalSpatial.clone(), u = new Map(c.conditionalModels), d = this._createConditionalEntries(l, h, u);
@@ -22102,7 +22103,7 @@ class Jo {
22102
22103
  if (f.startsWith("#")) {
22103
22104
  f = f.substring(1);
22104
22105
  const E = this._rangesToCoords(f);
22105
- return await this._autoSelect(p ?? !0, je(E)), !0;
22106
+ return await this._autoSelect(p ?? !0, He(E)), !0;
22106
22107
  }
22107
22108
  return window.open(f, _ ?? "_blank", S), !0;
22108
22109
  } }, this._emptyCell = new fw(this._cellOptions), this._initialized = !0;
@@ -22214,13 +22215,13 @@ class Jo {
22214
22215
  const p = i._beginCommit({ description: d?.description ?? "Resize Table" }), _ = i._getState(), S = _.tableSpatial.clone(), E = _.tableMapModel, y = new Map(E);
22215
22216
  S.remove(m, l);
22216
22217
  const b = { ...m, ...g };
22217
- return S.insert(b), y.set(b.value.model, b), i._updateState({ tableSpatial: S, tableMapModel: y }), p.commit({ viewAfter: { view: i.getView(), selection: je([h.getAnchorCoords()]) } }), g;
22218
+ return S.insert(b), y.set(b.value.model, b), i._updateState({ tableSpatial: S, tableMapModel: y }), p.commit({ viewAfter: { view: i.getView(), selection: He([h.getAnchorCoords()]) } }), g;
22218
22219
  }, deleteFromContainer(u) {
22219
22220
  const d = a();
22220
22221
  if (!d) return;
22221
22222
  i._protectionCheck(() => ["objects"]);
22222
22223
  const g = d.value.model, m = i._beginCommit({ description: u?.description ?? `Delete Table '${g.getName()}` }), f = i._getState(), p = f.tableSpatial.clone(), _ = f.tableMapModel, S = new Map(_), E = f.tableMapName, y = new Map(E);
22223
- p.remove(d, l), S.delete(g), y.delete(g.getName().toLocaleLowerCase()), d.value.processDeleteCallback?.(), i._updateState({ tableSpatial: p, tableMapModel: S, tableMapName: y }), i._emitter.notify("onTablesChange"), m.commit({ viewAfter: { sheet: i, view: i.getView(), selection: je([g.getAnchorCoords()]) } });
22224
+ p.remove(d, l), S.delete(g), y.delete(g.getName().toLocaleLowerCase()), d.value.processDeleteCallback?.(), i._updateState({ tableSpatial: p, tableMapModel: S, tableMapName: y }), i._emitter.notify("onTablesChange"), m.commit({ viewAfter: { sheet: i, view: i.getView(), selection: He([g.getAnchorCoords()]) } });
22224
22225
  }, setContainerDeleteCallback(u) {
22225
22226
  const d = a()?.value ?? n;
22226
22227
  d && (d.processDeleteCallback = u, d.removeListener?.());
@@ -22283,7 +22284,7 @@ class Jo {
22283
22284
  const E = c._rangesToCoords(_, o);
22284
22285
  if (!u.model) return a = E, E && E.length > 0 ? c.getRanges(E) : null;
22285
22286
  const y = c._beginCommit({ description: S?.description ?? `Set ${r} Ranges` });
22286
- let b = je(E);
22287
+ let b = He(E);
22287
22288
  try {
22288
22289
  const w = c._getState();
22289
22290
  let v = w.conditionalSpatial;
@@ -22291,14 +22292,14 @@ class Jo {
22291
22292
  let I = w.conditionalModels;
22292
22293
  I = new Map(I);
22293
22294
  let x = d();
22294
- x = { ...x }, I.set(h, x), m(E, x, v), c._updateState({ conditionalSpatial: v, conditionalModels: I }), y.commit({ viewBefore: { view: c.getView(), selection: je(f()?.getCoords()) }, viewAfter: { view: c.getView(), selection: b } }), c._autoSelect(S?.autoSelect, b);
22295
+ x = { ...x }, I.set(h, x), m(E, x, v), c._updateState({ conditionalSpatial: v, conditionalModels: I }), y.commit({ viewBefore: { view: c.getView(), selection: He(f()?.getCoords()) }, viewAfter: { view: c.getView(), selection: b } }), c._autoSelect(S?.autoSelect, b);
22295
22296
  } catch (w) {
22296
22297
  throw y.rollback(), w;
22297
22298
  }
22298
22299
  return E && E.length > 0 ? c.getRanges(E) : null;
22299
22300
  }, getContainerRanges: f, deleteFromContainer(_) {
22300
22301
  let S = d();
22301
- const E = c._beginCommit({ description: _?.description ?? `Set ${r} Ranges` }), y = _?.autoSelect ? je(S.spatials) : void 0;
22302
+ const E = c._beginCommit({ description: _?.description ?? `Set ${r} Ranges` }), y = _?.autoSelect ? He(S.spatials) : void 0;
22302
22303
  try {
22303
22304
  const b = c._getState();
22304
22305
  let w = b.conditionalSpatial;
@@ -22771,7 +22772,7 @@ class Ty {
22771
22772
  }
22772
22773
  }
22773
22774
  let ml;
22774
- const Os = "SheetXL", Ny = ml || (ml = F.deepFreeze({ ISheet: { Visibility: ye.Visibility }, ICell: { Content: xe.Content, CalcStatus: xe.CalcStatus }, IColor: { Named: T.Named, Scheme: T.Scheme, Type: T.Type, AdjustmentType: T.AdjustmentType }, Direction: He }), ml);
22775
+ const Os = "SheetXL", Ny = ml || (ml = F.deepFreeze({ ISheet: { Visibility: ye.Visibility }, ICell: { Content: xe.Content, CalcStatus: xe.CalcStatus }, IColor: { Named: T.Named, Scheme: T.Scheme, Type: T.Type, AdjustmentType: T.AdjustmentType }, Direction: Ve }), ml);
22775
22776
  let Ds;
22776
22777
  class Fy extends ki {
22777
22778
  constructor(e, t, n, r = null, o = !1) {
@@ -22908,7 +22909,7 @@ class Dy {
22908
22909
  return this._modules;
22909
22910
  }
22910
22911
  async createModule(e) {
22911
- const t = await import("./CkA378qg7LQEqeV4.mjs").then((r) => r.i), n = await t.ScriptingUtils.compileTypescript(e);
22912
+ const t = await import("./CDzGuBL-ysWRX-5T.mjs").then((r) => r.i), n = await t.ScriptingUtils.compileTypescript(e);
22912
22913
  return n ? await ng(n, e?.declarationsOnly ?? !1) : null;
22913
22914
  }
22914
22915
  addModule(e, t, n) {
@@ -23863,7 +23864,7 @@ const Ir = { address: null, scope: null };
23863
23864
  export {
23864
23865
  Pf as $,
23865
23866
  Dc as A,
23866
- Ve as B,
23867
+ $e as B,
23867
23868
  Vf as C,
23868
23869
  Kt as D,
23869
23870
  Uy as E,
@@ -23884,7 +23885,7 @@ export {
23884
23885
  ki as T,
23885
23886
  w_ as U,
23886
23887
  Mn as V,
23887
- He as W,
23888
+ Ve as W,
23888
23889
  yo as X,
23889
23890
  F as Y,
23890
23891
  zf as Z,