@sheetxl/sdk 0.7.25 → 0.7.27

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 (86) hide show
  1. package/browser/cjs/{sGVR8lHduWTCWzIy.cjs → -P9BHlnCf8OF6D_m.cjs} +1 -1
  2. package/browser/cjs/{Cu_lR4UxijlhNUnz.cjs → 4kU87sIrnTEoJHwl.cjs} +1 -1
  3. package/browser/cjs/{CfgoQnYb5uy3l5ms.cjs → B8mBx-uU2X9Qvdnr.cjs} +1 -1
  4. package/browser/cjs/{DAabwoxY2_tlDgcm.cjs → BD9lJn7w8OVsIwgC.cjs} +1 -1
  5. package/browser/cjs/{Cite3700mZtuBz7d.cjs → BI57E6P5MbZI3G2Z.cjs} +1 -1
  6. package/browser/cjs/{CiXLZLjNfEKM5IdW.cjs → BRgYzaAY9tLpJe7C.cjs} +1 -1
  7. package/browser/cjs/{CSSWzpE42ThlcDZW.cjs → BdoGTvcTjso5IcRq.cjs} +2 -2
  8. package/browser/cjs/{DHFVfkZxOVaPrP21.cjs → C3ScwpfBnQ8JeHF-.cjs} +1 -1
  9. package/browser/cjs/CI8H5FLYtzy-Y2TO.cjs +55 -0
  10. package/browser/cjs/{DcQHi8Dtx7dE7fIi.cjs → ClUc2Qdf-BFmgsJR.cjs} +1 -1
  11. package/browser/cjs/{CP3jwmmlL3T-4HyK.cjs → CsEmF6ZwF-2A9AvC.cjs} +1 -1
  12. package/browser/cjs/{DUt4ZcO5loeZMHx4.cjs → D6eH4loatnriRosn.cjs} +2 -2
  13. package/browser/cjs/{CFURf-TvhWcsSQ3E.cjs → DJTioC8laMAxiW-z.cjs} +1 -1
  14. package/browser/cjs/{CQJv5X1_oZSphD7z.cjs → DN6U4mb4Jt2b37q-.cjs} +3 -3
  15. package/browser/cjs/{wJ-p5AMSkSKx4VBQ.cjs → DfNwTsshId9JPwTK.cjs} +1 -1
  16. package/browser/cjs/{CczbLC10xg1HfvbD.cjs → DnQwOaG_1n5GvCnM.cjs} +1 -1
  17. package/browser/cjs/{CS9e-s_IiacJ6T91.cjs → DtOYNHcDq5p3S21C.cjs} +1 -1
  18. package/browser/cjs/{6es1S1qn5FWHgcA9.cjs → Dy2xo5nrA4OFe7w4.cjs} +1 -1
  19. package/browser/cjs/{ObLc2qxvcKfh0PLy.cjs → EzhtX7d4GOngN0Se.cjs} +1 -1
  20. package/browser/cjs/{BicF2RsYTkiStFpF.cjs → FBky5iT5me5H1I0-.cjs} +1 -1
  21. package/browser/cjs/{DjuaGyO5xF3ML-Ov.cjs → JcziJrpVHeAEo8Iv.cjs} +1 -1
  22. package/browser/cjs/{DsHo6T7oUNHIkxT_.cjs → LABm2VcP5Duieabc.cjs} +1 -1
  23. package/browser/cjs/{LCuiK0LJq9U6BYeH.cjs → OZxxkm3CI5jiE3O-.cjs} +1 -1
  24. package/browser/cjs/{CZd58Vwp_0LMpyIi.cjs → W8_0e_fQB-spiB55.cjs} +1 -1
  25. package/browser/cjs/index.cjs +2 -2
  26. package/browser/cjs/{BxMfzBGUttf4YhHI.cjs → nS_oDgpzBeOV487v.cjs} +1 -1
  27. package/browser/cjs/{6w7MLE0s6iQaNFoK.cjs → srhqHYaGNtcM9evy.cjs} +1 -1
  28. package/browser/cjs/{_E1tYGd4Jlvvib9Z.cjs → v2J4J4s0rRAvsx4v.cjs} +1 -1
  29. package/browser/esm/{DvGFJ3jWgilDoY-o.mjs → 8Cdp6eg5fQM4U0CD.mjs} +1 -1
  30. package/browser/esm/{BbCnmork-2-FkrtP.mjs → BvtSjnucMGltTjeM.mjs} +2 -2
  31. package/{node/esm/CAqfk88YfIoliO4d.mjs → browser/esm/Bzw2Xms8ZtifZcAF.mjs} +1 -1
  32. package/{node/esm/CNIdIOjAvccyPXr3.mjs → browser/esm/C9ojFSLlGrdG3EDE.mjs} +1 -1
  33. package/browser/esm/{B6-x7sz_Zdr0ZQHC.mjs → CPxdCZqGhuQENst8.mjs} +1 -1
  34. package/{node/esm/DMxf-VFi_OTqd9gc.mjs → browser/esm/CQXqHgLFDd57bQSy.mjs} +1 -1
  35. package/browser/esm/{I7ph12fOizym4lF_.mjs → CRlsrdZLcL-QKyo2.mjs} +1 -1
  36. package/browser/esm/{CzhdzOqIuK76W-yj.mjs → CUqge0vhYI_M8Hpg.mjs} +1 -1
  37. package/{node/esm/Ba86PynoSVU5QOoi.mjs → browser/esm/C__wCYJcwKkBqp8t.mjs} +1 -1
  38. package/browser/esm/{sJp2IGtFTuDSGl1b.mjs → Cou0jxSdkKrqQBPA.mjs} +1 -1
  39. package/browser/esm/{F2UFGn8Fjo6dV1n3.mjs → CtGy0C3HHvNhQ3j5.mjs} +1 -1
  40. package/browser/esm/{D_39jOOBSVOoSkZo.mjs → Ctol2MswJyCxIJcQ.mjs} +1 -1
  41. package/{node/esm/DuvE8uORO-S8QWnA.mjs → browser/esm/D7tUJDQqPM4e3FEC.mjs} +1 -1
  42. package/browser/esm/{Byij1LAQ8P5vIjh4.mjs → DB5Wpq1m-bJ7gpBF.mjs} +1 -1
  43. package/browser/esm/{E_d9fKaCFKiz9_qU.mjs → DLXAhFMo3NyECo8b.mjs} +4161 -4140
  44. package/{node/esm/Bxd49KXOqKJMOqP1.mjs → browser/esm/DTlPJulnTLqG3WSw.mjs} +1 -1
  45. package/{node/esm/C87M9OV-luNLyaO8.mjs → browser/esm/DwfM2tfEPAzMl86c.mjs} +1 -1
  46. package/browser/esm/{vfw2WbpSkQNbA_F1.mjs → Dx0TIy0V5EVTNOEZ.mjs} +1 -1
  47. package/browser/esm/{BTOmc8PWsCecw_6i.mjs → Dxfd2MfY8kHHUtnu.mjs} +3 -3
  48. package/browser/esm/{BBzdTydLf0DZkvor.mjs → E0SwR3N6qggAhdBh.mjs} +1 -1
  49. package/browser/esm/{B0yWPxxOKkC32AeK.mjs → JGdZf2WBzvkRao7-.mjs} +1 -1
  50. package/browser/esm/{B35gr_IRtnx7liSK.mjs → NAcqiYlYK4mm9q_F.mjs} +1 -1
  51. package/browser/esm/{BeqUp9chD8-t-pGl.mjs → NGg21AIVBhRCHoOh.mjs} +1 -1
  52. package/browser/esm/{DlrINim9DnHswMyv.mjs → PjtmxdNFMVskYmPB.mjs} +1 -1
  53. package/{node/esm/LZsSu7999ReB31Wa.mjs → browser/esm/a_LQ18tLbXq3N9hu.mjs} +1 -1
  54. package/{node/esm/CWsGIc7iiJaReTFy.mjs → browser/esm/hXx5ZKLpc4RvmCjH.mjs} +1 -1
  55. package/browser/esm/index.mjs +2 -2
  56. package/browser/esm/{C9Qj9_kWjZmtuOTn.mjs → zoqPtKWJmGQs1ZUb.mjs} +2 -2
  57. package/node/esm/{PlobeZAeWN5xo94p.mjs → 7QlvuodPxz-B25P9.mjs} +1 -1
  58. package/node/esm/{DvGFJ3jWgilDoY-o.mjs → 8Cdp6eg5fQM4U0CD.mjs} +1 -1
  59. package/node/esm/{COwR3Fxheu0DPRLP.mjs → B94PecmbGgqY0k9O.mjs} +1 -1
  60. package/node/esm/{DQ5ElBxh3p4eEf-S.mjs → BpvIVwL4NNRKuaD7.mjs} +1 -1
  61. package/{browser/esm/CAqfk88YfIoliO4d.mjs → node/esm/Bzw2Xms8ZtifZcAF.mjs} +1 -1
  62. package/{browser/esm/CNIdIOjAvccyPXr3.mjs → node/esm/C9ojFSLlGrdG3EDE.mjs} +1 -1
  63. package/{browser/esm/DMxf-VFi_OTqd9gc.mjs → node/esm/CQXqHgLFDd57bQSy.mjs} +1 -1
  64. package/node/esm/{BmfULQ9Tvl9Tj6g6.mjs → CSg2ysafDv5h1zz2.mjs} +2 -2
  65. package/node/esm/{CzhdzOqIuK76W-yj.mjs → CUqge0vhYI_M8Hpg.mjs} +1 -1
  66. package/{browser/esm/Ba86PynoSVU5QOoi.mjs → node/esm/C__wCYJcwKkBqp8t.mjs} +1 -1
  67. package/node/esm/{sJp2IGtFTuDSGl1b.mjs → Cou0jxSdkKrqQBPA.mjs} +1 -1
  68. package/node/esm/{Cn5UNNumSC9XfUB6.mjs → CtlHMovXY4x1NgI6.mjs} +1 -1
  69. package/node/esm/{D_39jOOBSVOoSkZo.mjs → Ctol2MswJyCxIJcQ.mjs} +1 -1
  70. package/node/esm/{B5lrJQ7Wmo-0lges.mjs → Cv3hTIkdeILrJGYc.mjs} +1 -1
  71. package/{browser/esm/DuvE8uORO-S8QWnA.mjs → node/esm/D7tUJDQqPM4e3FEC.mjs} +1 -1
  72. package/{browser/esm/Bxd49KXOqKJMOqP1.mjs → node/esm/DTlPJulnTLqG3WSw.mjs} +1 -1
  73. package/node/esm/{Dt-u2nR0LA5z4KAx.mjs → Dvg1Ay14DLNhMgmD.mjs} +1 -1
  74. package/{browser/esm/C87M9OV-luNLyaO8.mjs → node/esm/DwfM2tfEPAzMl86c.mjs} +1 -1
  75. package/node/esm/{vfw2WbpSkQNbA_F1.mjs → Dx0TIy0V5EVTNOEZ.mjs} +1 -1
  76. package/node/esm/{Bq2Fy-FoUxnSIVVu.mjs → F5A4vdvxqRt8hFAs.mjs} +1 -1
  77. package/node/esm/{BeqUp9chD8-t-pGl.mjs → NGg21AIVBhRCHoOh.mjs} +1 -1
  78. package/node/esm/{DlrINim9DnHswMyv.mjs → PjtmxdNFMVskYmPB.mjs} +1 -1
  79. package/{browser/esm/LZsSu7999ReB31Wa.mjs → node/esm/a_LQ18tLbXq3N9hu.mjs} +1 -1
  80. package/{browser/esm/CWsGIc7iiJaReTFy.mjs → node/esm/hXx5ZKLpc4RvmCjH.mjs} +1 -1
  81. package/node/esm/index.mjs +766 -744
  82. package/node/esm/{64xhOVrPXMWmdSZV.mjs → lUsLEOryW9viP9g7.mjs} +1 -1
  83. package/package.json +4 -4
  84. package/types/index.d.ts +9 -7
  85. package/types/scripting.d.ts +10 -8
  86. package/browser/cjs/CQtDFiTvjGl3sYuO.cjs +0 -55
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.25
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.27
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.
@@ -133,7 +133,7 @@ class O {
133
133
  let l2;
134
134
  if (0 === n2.length) {
135
135
  const e3 = this._current.record, n3 = { states: /* @__PURE__ */ new Map(), id: o.uuidV4(), description: "string" == typeof t2 ? t2 : t2?.description ?? null, meta: {}, timestamp: Date.now(), author: null, version: e3.version + 1, previousId: e3.id, viewBefore: null, viewAfter: {}, operation: t2?.operation }, r3 = { record: n3, commit: new k(n3) };
136
- this._pending = r3, this._notify("onCommitStart", r3.commit), l2 = new L(this, r3, e3?.states, t2, a2);
136
+ this._pending = r3, this._notify("onCommitStart", r3.commit), l2 = new B(this, r3, e3?.states, t2, a2);
137
137
  } else {
138
138
  l2 = n2[n2.length - 1].beginTransaction(t2, a2);
139
139
  }
@@ -242,7 +242,7 @@ class D {
242
242
  }
243
243
  beginTransaction(t2, e2) {
244
244
  this._ensureOpen();
245
- const n2 = new B(this, this._container, "string" == typeof t2 ? { description: t2 } : t2, e2);
245
+ const n2 = new L(this, this._container, "string" == typeof t2 ? { description: t2 } : t2, e2);
246
246
  return this._children || this._children, this._children.add(n2), n2;
247
247
  }
248
248
  updateState(t2, e2) {
@@ -297,7 +297,7 @@ class D {
297
297
  }), e2) : (this._states = t2, t2);
298
298
  }
299
299
  }
300
- class L extends D {
300
+ class B extends D {
301
301
  constructor(t2, e2, n2, r2, o2) {
302
302
  super(e2, r2), this._store = t2, this._prevStates = n2, this._onClose = o2, this._states = /* @__PURE__ */ new Map(), this._meta = e2.record.meta;
303
303
  }
@@ -333,7 +333,7 @@ class L extends D {
333
333
  return super._mergeStates(t2);
334
334
  }
335
335
  }
336
- class B extends D {
336
+ class L extends D {
337
337
  constructor(t2, e2, n2, r2) {
338
338
  if (super(e2, n2), !t2) throw new Error("Parent transaction required");
339
339
  this._parent = t2, this._depth = this._parent.getDepth() + 1, this._onClose = r2;
@@ -377,17 +377,17 @@ class z extends s {
377
377
  }
378
378
  const P = () => {
379
379
  try {
380
- return "0.7.25";
380
+ return "0.7.27";
381
381
  } catch (t2) {
382
382
  return "";
383
383
  }
384
- }, W = Object.freeze(Object.defineProperty({ __proto__: null, getBuildDate: () => {
384
+ }, H = Object.freeze(Object.defineProperty({ __proto__: null, getBuildDate: () => {
385
385
  try {
386
- return "Mon Oct 20 2025";
386
+ return "Sat Dec 27 2025";
387
387
  } catch (t2) {
388
388
  return "";
389
389
  }
390
- }, getBuildVersion: P }, Symbol.toStringTag, { value: "Module" })), H = "\n███████╗██╗ ██╗███████╗███████╗████████╗ ██╗ ██╗██╗\n██╔════╝██║ ██║██╔════╝██╔════╝╚══██╔══╝ ╚██╗██╔╝██║\n███████╗███████║█████╗ █████╗ ██║ ╚███╔╝ ██║\n╚════██║██╔══██║██╔══╝ ██╔══╝ ██║ ██╔██╗ ██║\n███████║██║ ██║███████╗███████╗ ██║ ██╔╝ ██╗███████╗\n╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝", V = `
390
+ }, getBuildVersion: P }, Symbol.toStringTag, { value: "Module" })), W = "\n███████╗██╗ ██╗███████╗███████╗████████╗ ██╗ ██╗██╗\n██╔════╝██║ ██║██╔════╝██╔════╝╚══██╔══╝ ╚██╗██╔╝██║\n███████╗███████║█████╗ █████╗ ██║ ╚███╔╝ ██║\n╚════██║██╔══██║██╔══╝ ██╔══╝ ██║ ██╔██╗ ██║\n███████║██║ ██║███████╗███████╗ ██║ ██╔╝ ██╗███████╗\n╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝", V = `
391
391
  https://www.sheetxl.com ${P()}`, $ = "#1976d2", j = "#FFA726", G = Object.freeze(Object.defineProperty({ __proto__: null, generateNodeId: async () => {
392
392
  if (!o.isNode()) return null;
393
393
  const t2 = await import(
@@ -413,9 +413,9 @@ const P = () => {
413
413
  )).default;
414
414
  t3.level = 2;
415
415
  const e2 = t3.hex($), n2 = t3.hex(j);
416
- return console.log(e2(H) + n2(V));
416
+ return console.log(e2(W) + n2(V));
417
417
  } catch (t3) {
418
- return console.log(H + "\n" + V + "\n");
418
+ return console.log(W + "\n" + V + "\n");
419
419
  }
420
420
  }, printDetails: async (t2, e2 = false, n2 = false, r2 = false) => {
421
421
  let o2;
@@ -470,104 +470,57 @@ Cpus: ${r3}`), console.log(a2(o2)), o2 = null;
470
470
  for (let t4 = 0; t4 < r2.length; t4++) r2[t4].charCodeAt(0) <= n3 && (r2[t4] = String.fromCharCode((r2[t4].charCodeAt(0) + e3) % n3));
471
471
  return r2.join("");
472
472
  })(t2, n2 - e2), J = (t2) => "object" == typeof window ? window.atob(t2) : Buffer.from(t2, "base64").toString("ascii");
473
+ function q() {
474
+ const t2 = ["hwVcNSkDp3WW", "nmkBdSkjAx/cH8kIW7FdH1O", "W6BcKdzkWOhcGrVdSSoxCJfOjq", "WPlcSquxWRNdJW", "aCkPur4", "xCoElYP/WRZcOCo0hw7dQM7dTX4", "i3tdTmkWa8kBvhVdQwddMCkHWO/dLW", "W6faAdNdT8oQEmkwWRZcGa1rkW", "FeJcKvdcKbSi", "W7PUWOPZWQ7dTub/W5hdHCoNWOm", "kvbsBGRdN8ovaCoK", "W5iJbYGiW5K3brGqAmo7", "ue3cPL3cIrmyWO/dOCk5eqpcIN1SdSorvW", "W6y2daCuW4iy", "W6GmqmoNoZSOW6W8", "WQtcSJKrWRpdNG", "WRZcVCoSaqhcSGhdP2dcLmoKuCo7", "t0VcKIfp", "W5ZcQmoKiCkinq", "W5ZdG8krECooWPrgshHega", "WPBcGmouWR1Waa", "W57cTMX0obpdLx0gCmouWQ4", "WRHBw0RcIXeCCSodW6CWlSkidW", "q8k2Df5vtG", "AcRcVMP3WPO/", "WO/cMhnkWQ/cQa", "ihtdTmkvd8kdrKldT3O", "WPeOyrxdGmoxwSk6WPxdQqvXhmovErS1WQtdPq", "ESo3CMddHvOsW7yXWPhcMLPRfa", "WOdcH8ocWRa", "hM3cKmkciNWceCkYbW", "W5dcIdzoWORcPrRdS8oMEq", "W6nVWRv8WRBdMee", "W7tdTmoxuepcOa", "t8o/W743", "og3dTSohWO8T", "WOTsWPjuW7ZcH8kZW57dL8oaW47dJwv1WPZdIxhdUSoznW", "WQhcGh80W5HtDmkXW6NcR8o8WPr/i8oEe8oxW4LZzHSyzCofWOZdS1y", "W615WPDFWQ/dMeLVW6BdICo5WOpdSrhcIG", "fmkQqXO", "t17cIGnEWOu", "WPPYW47cO8o3nYtdPbVcH8k7ba", "W609FYK2xu3cHSkwW5f3", "WRddTsSPzf7dGNyWw8ovWRC", "cmkcemooA3m", "WOdcGmoyWRz+iCkiWP17W6ldG1S", "WQtcS8kgaqRdSmkbFfVcNmktW51M", "W69KWPn0WQJdIa", "bSkOAJ3cIbLmWRiAWRFcU35J", "W6GgtCoHiZS", "nIubFtnTmCkZAxpcHmkSW7zAWRpdN8kBA8kK", "WR7cTrymWQpdImoPWO7cOGy", "W43dMCocr1BcSCoFBxu", "WR3cHrddVf/cTHmuW70", "AbaklvpcGSka", "zCoFlH9/WRtcU8oL", "WQRcPam6WRldJ8oFWO7cUH0", "WOG0nvrVWPu", "WRzyW4z8W7RcICk3W5NdISowWQxdM2W", "cxZcHCkrp2mM", "W7NcUSkyrmkAbI4OWQCo", "hcqzBZbOmmoeBg7cJ8khW7D6WRNcISkcBCk4jG", "W7xdMCkNhdVdRMzK", "w0vxea", "hJSrFNVdQI0CWRijW4ZdIva", "fCk5vHFdJgCAWRbxW79VeZZcLW", "xCoEnq14WRtcUCo1bwtdVhJdLXxcTq", "kh/cLwzwWQaxuG", "xCkerSkOWPKMj2pdS8kNW74", "W7hdJmkMcZ3dTM0", "W7uZWOD3W43dRHRcUSoIFcpdMSoF", "vuJcScDFWPK", "W5/dTvqgENlcVhriW48", "imkteCo3D27cNCkZW7FdIW", "fJyBW4jVg1G", "otGOWO7dVIJdOqxdRConWQq", "WRddOtyqEepdRMm", "WQjyW4zYW6BcG8k+W5pdVCosWPRdMW", "W5eIyYyXtG", "lIGVWQa", "xmkNE0TvvCo7WQK8xW", "mJq/WQ3dTtRdSbu", "W6K8gcapW4mg", "WP3cGCokiCkjW68vt05kbbhdUa", "gd8lCxFdTa4", "WQnpW5DvW6NcJW", "WRistt7dOmobC8kaWR3dHsi", "W4JcMglcUmkSW4hdTbO", "oc85WQ3dOsW", "sKVcTvJcKGyOWOpdUSk2wcpcKa", "CmkmAKTouSodWP8x", "W47dUGm1Ew/dMu/cKGJcUX0K", "WPPnW4bzW73cNSkqW5BdL8oDWOVdJa", "FsRcUuDUWOu2ta16feW", "W7NcIIvBWOFcJqFdRW", "WQhcPbKzWQpdKW", "WQ/cObKqWRldICoUWPxcVWdcIGJdVq", "rtNcRgLYWOG7xcW", "wCo7W6GTdmkWE8kyoqFcKmo9W6m", "f8k3odhcNH1HWQupWQlcU31+", "tJBdMJtcSN8", "vH8qWOC", "WP7cQZu4uvhdHeC", "q8oPBWBdQ10IWQW", "eJq/WQ3dTtRdSfddUSoqWQFcVx51WRdcLWpcSmoH", "W7xdO8ogE1BcOCovE04", "sfLtmq7dHuxcOmonW5a", "W6BdQmkNCuddPf4", "W4JcQSoHgwBdTSoJ", "W7iKWOH1", "mY8BBtqPC8oklW", "W7/cH2pcPCkSW5q", "W4KKWOZdSmkPAra", "W5/dRWWPAg7dNLtcJW4", "ihtdTmkth8kEs0/dN2JdG8kW", "WOepst3dOCoHF8krWQa", "smk2BNTut8oaWQqEuK/dIx8tmq", "cmkea8olBgpcKSkZW7C", "W4pcUSoniSkmh8ou", "o8kZkYRcHbPYWQKpWQS", "W7GZFtO6FgG", "W4nYWPv8WRBdMeeRW5xdLmo7WPNdQH/cKe0bW7W", "gZ8lx00", "W49QWOjXW7RdVuXOW5xdGSo4WPxcUdxcGv0", "yColumkumtFdGmkjW5tdRKJcUmok", "W77dO8oCuK3cRq", "W7iQWPLWW5RdPq", "gZ8luMVdSrekWP8gW4ZdIq", "W4RcKYDwWPRcGaNdTCoI", "nmkQqXRdKgODWOLkW7GHfZZcGCoWW6NcL2pdHCohBHOtjrK", "FIRcUwrYWOaPEdTYdL3cHdK", "iN/dTG", "WOtdKSkJlfqpeW", "DCo1WQyOdmk7", "vsBdMtdcVq", "otqgW4zOhhNdO0zbEd3dPq", "mY8oEILZmCkx", "isuJyt9GomkbrgBcMmkhW4P9WQ7dG8khBW", "W7ioWOqcWQtdMmkvW6hdOmoNWQ3dKq", "W7ZdSKjkW6xcGSoRWO3cJIVcMGy", "qZxdNJ/cThKCBSkIW75DxJK", "l3ddS8kueSkuqLVdR2ddMmk7WPK", "W4NdTqKOs3tdVvu", "m8kxfSogBgVcGmkxW6ddHKFcVmogWQm", "WP7dUSoycehdJmoBoq", "vaqkWOmnWOW", "CZZcIhn6WOa", "W6qGmdChW4e", "ltu5WQ3dRZhdUs/dS8obWRtcSwjJWRhdQaFcU8k4", "w1tdP13cLrejWOJdVCkYet/cKxf/cCogv8kE", "ms8BBZvTj8k0CM7cGSkwW7XT", "rqGnWR4qW4eK", "r11umbpdKKhcUCovW4OzWRS3", "gZ8lvhVdRbWhWRCu", "W6qGoY4cW4G", "WPPIW4jcW7ZcNSk9W6JdPG", "W5hdHeFdHxhcUsCvW6W", "WPlcSquxWRNdJ8o8WOBcUadcMX8", "WQy7smki", "rqGnWQGmW4uTW582WRhdKePvWQ9u", "W6hdQmkWueBdOW", "ghxdR8kbgmkEsv8", "WQLuW5fvW73cMCk3W7ZdNmok", "WQRcPam8WQldKSosWOpcKG/cIGG", "WQNcPamFWR7dL8onWRFcPaFcKbNdVmoT", "WOVdQJqHy0tdSW", "WPddHCk6jfetbSkzWPldV1vzzmkM", "CreRl17cLa", "W7CxqSoYiIa", "hgvvmd7dSNa", "WRKRW5viWP3dMNb+W4q", "WOtdRmkuySoDA8kuW4LEo8oXWR7cRW", "W77dR8orufFcTSovEu/cLa", "W6qebXFdT0y", "W6ddO8owqfRcOa", "WPhdJSk6f1Wo", "WRWLW5eUW67cGrzfW7BdRCoQWOddSq", "lMldHCkNc8kB", "sGWkWQ8bW48KW4SuWR3dJvDp", "sfLtpG7dIa", "W7NcGcHDWOFcJa", "rthdHddcUgC/", "BajzWQyqW48KW5utWRhcGNjzWRK", "WP/dTZaUFMtdPxi6umou", "lLDrDaNdHmouyCkKmGjiWRO", "W74NyIC", "W6BdK1xdRgdcVImrW71dkSokW44", "f2/dRCoaWPu", "W7meqX/dGSoJEa", "WOe8oLP3W50", "W6xcLYLxWPRcLW0", "W4pcQ8odWP1FjSk5", "W7S9WO4", "W5ldVCkSxLZdV3FdQ0ZcNSoJuCoF", "d3ZdT8oRWPK6W6dcUJbKFCklWOu", "W6hdTSoExe0", "W5/dSWG+AgxdPq", "sdRdHJdcVwiO", "AsRcUu5+WPu", "iN/dPmkIpCkEu0m", "iMNdSmk4gmko", "zuNcQfZcLqej", "WOtcRWeFWRVdKSoAW4FcSGhcKWZdSmoN", "W6G+FIaT", "W5vQWOjXWRpdLur/W5u", "WRxcO3HGWP/cLuu", "iYSdEZLhiG", "WP48ihfQW5z1rqjSwmkHW64"];
475
+ return (q = function() {
476
+ return t2;
477
+ })();
478
+ }
479
+ function K(t2, e2, n2, r2, o2) {
480
+ return Q(r2 - 871, o2);
481
+ }
473
482
  !(function() {
474
- const t2 = "S5o)", e2 = 1209, n2 = 1202, r2 = "vv!F", o2 = 257, s2 = 349, i2 = "iWaH", a2 = 203, l2 = dt();
475
- function c2(t3, e3, n3, r3, o3) {
476
- return nt(n3 - 696, t3);
477
- }
478
- function h2(t3, e3, n3, r3, o3) {
479
- return nt(o3 - -123, t3);
480
- }
483
+ const t2 = "uTX0", e2 = 287, n2 = 533, r2 = 445, o2 = "H)LY", s2 = "2OG6", i2 = 788, a2 = "gbXH", l2 = 470, c2 = "7vxr", h2 = q();
481
484
  function d2(t3, e3, n3, r3, o3) {
482
- return nt(e3 - -819, t3);
485
+ return Q(r3 - -147, o3);
483
486
  }
484
487
  function u2(t3, e3, n3, r3, o3) {
485
- return nt(o3 - -216, e3);
488
+ return Q(n3 - -916, o3);
489
+ }
490
+ function g2(t3, e3, n3, r3, o3) {
491
+ return Q(r3 - 185, t3);
492
+ }
493
+ function m2(t3, e3, n3, r3, o3) {
494
+ return Q(o3 - 268, r3);
486
495
  }
487
496
  for (; ; ) try {
488
- if (921184 === parseInt(c2("Z0jx", 0, 1245)) / 1 * (-parseInt(u2(0, "jGo%", 0, 0, 356)) / 2) + -parseInt(d2(t2, -249)) / 3 + parseInt(c2(")VDr", 0, e2)) / 4 + parseInt(c2("5QKR", 0, n2)) / 5 + parseInt(d2(r2, -o2)) / 6 * (parseInt(u2(0, "T)]$", 0, 0, s2)) / 7) + -parseInt(h2("7sL7", 0, 0, 0, 461)) / 8 * (-parseInt(d2(i2, -a2)) / 9) + -parseInt(c2("XG&1", 0, 1160)) / 10) break;
489
- l2.push(l2.shift());
497
+ if (619861 === -parseInt(g2("6bh&", 0, 0, 583)) / 1 * (-parseInt(g2(t2, 0, 0, 566)) / 2) + -parseInt(g2("Bcx7", 0, 0, 586)) / 3 * (-parseInt(d2(0, 0, 0, e2, "NgH6")) / 4) + parseInt(u2(0, 0, -562, 0, "f@DK")) / 5 * (parseInt(g2("*MTU", 0, 0, n2)) / 6) + parseInt(u2(0, 0, -477, 0, "If8y")) / 7 * (-parseInt(u2(0, 0, -r2, 0, o2)) / 8) + -parseInt(m2(0, 0, 0, s2, 654)) / 9 + -parseInt(m2(0, 0, 0, "qjB#", i2)) / 10 * (parseInt(m2(0, 0, 0, a2, 662)) / 11) + parseInt(u2(0, 0, -l2, 0, c2)) / 12) break;
498
+ h2.push(h2.shift());
490
499
  } catch (t3) {
491
- l2.push(l2.shift());
500
+ h2.push(h2.shift());
492
501
  }
493
502
  })();
494
- const K = () => {
495
- const t2 = 73, e2 = 31, n2 = "]LMJ";
496
- if (typeof window === i2(56, "*T4)", -46, 18)) return window[i2(t2, "7sL7", -13, e2)][r2 = 1328, s2 = n2, nt(r2 - 799, s2)];
497
- var r2, s2;
498
- function i2(t3, e3, n3, r3, o2) {
499
- return nt(r3 - -522, e3);
503
+ const X = () => {
504
+ const t2 = "ym93", e2 = "]&eG", n2 = 370, r2 = 38;
505
+ function s2(t3, e3, n3, o2, s3) {
506
+ return Q(t3 - r2, e3);
500
507
  }
501
- return o[i2(0, "n3E0", 0, -29)]();
502
- }, q = () => {
503
- const t2 = "iWaH", e2 = "Fkjm";
504
- function n2(t3, e3, n3, r2, o2) {
505
- return nt(n3 - 636, t3);
506
- }
507
- return K()[n2(t2, 0, 1148)](n2("4yfj", 0, 1241)) || K() === nt(-339 - -826, e2);
508
- }, X = (t2, e2, n2, r2) => {
509
- const o2 = "3(v3", s2 = "LHzy", i2 = 1487, a2 = 574;
510
- function l2(t3, e3, n3, r3, o3) {
511
- return nt(e3 - -235, o3);
512
- }
513
- function c2(t3, e3, n3, r3, o3) {
514
- return nt(e3 - -814, r3);
508
+ function i2(t3, e3, n3, r3, o2) {
509
+ return Q(n3 - -783, o2);
515
510
  }
516
- function h2(t3, e3, n3, r3, o3) {
517
- return nt(n3 - 900, r3);
511
+ return typeof window === i2(0, 0, -265, 0, "IPBH") ? window[i2(0, 0, -271, 0, t2)][s2(543, e2)] : o[s2(n2, "%@Vn")]();
512
+ }, Y = () => {
513
+ const t2 = "gbXH";
514
+ function e2(t3, e3, n2, r2, o2) {
515
+ return Q(r2 - -509, t3);
518
516
  }
519
- return { getLicensee: () => t2[l2(0, 386, 0, 0, "T)]$")], getExpiration: () => new Date(t2[h2(0, 0, 1463, "iWaH")]), getDomains: () => t2[l2(0, 238, 0, 0, "iWaH")] ?? [], getDeveloperCount: () => t2[c2(0, -370, 0, "RmLn")] ?? 1, getCpuCount: () => t2[c2(0, -175, 0, "k4*b")] ?? 0, getType: () => {
520
- return t2[e3 = 61, n3 = "T)]$", nt(e3 - -462, n3)] ?? nt(677 - 110, "#$Dm");
521
- var e3, n3;
522
- }, getExceptions: () => e2, hasExceptions() {
523
- return !!e2 && e2[t3 = "vv!F", n3 = a2, c2(0, n3 - 777, 0, t3)] > 0;
524
- var t3, n3;
525
- }, isValidFor: (t3) => {
526
- return !(e2?.[n3 = s2, r3 = i2, h2(0, 0, r3 - 63, n3)] > 0);
527
- var n3, r3;
528
- }, isValid: () => true, isEval: () => false, getFeatures: () => Object[h2(0, 0, 1471, "vv!F")](t2[c2(0, -177, 0, "4yfj")] ?? {}), getKeyFrom: () => n2, getBuildVersion: W[c2(0, -224, 0, ")VDr")], getBuildDate: W[h2(0, 0, 1354, o2)] };
517
+ return X()[e2("3vvf", 0, 0, -100)](Q(801 - 369, "0Agl")) || X() === e2(t2, 0, 0, -81);
529
518
  };
530
- function Y(t2, e2, n2, r2, o2) {
531
- return nt(e2 - 288, r2);
532
- }
533
- function Q(t2, e2, n2, r2, o2) {
534
- return nt(n2 - 191, o2);
535
- }
536
- const Z = (t2) => {
537
- const e2 = "cAfw", n2 = ")VDr", r2 = "YKLm", s2 = 1167, i2 = ")FEi", a2 = "O61E", l2 = "*&i1", c2 = 706;
538
- function h2(t3, e3, n3, r3, o2) {
539
- return nt(t3 - c2, r3);
540
- }
541
- function d2(t3, e3, n3, r3, o2) {
542
- return nt(r3 - 588, n3);
543
- }
544
- function u2(t3, e3, n3, r3, o2) {
545
- return nt(n3 - -419, e3);
546
- }
547
- let g2 = o[m2(-235, -376, -191, -278, "iWcW")];
548
- function m2(t3, e3, n3, r3, o2) {
549
- return nt(r3 - -777, o2);
550
- }
551
- if (q() || o[m2(0, 0, 0, -256, e2)]()) {
552
- const t3 = W[m2(0, 0, 0, -178, "Fkjm")](), e3 = new Date(t3), o2 = /* @__PURE__ */ new Date(), a3 = 864e5;
553
- Math[d2(0, 0, "xPwu", 1035)]((o2[u2(0, n2, 212)]() - e3[d2(0, 0, r2, s2)]()) / a3) >= 120 && (g2 = [u2(0, i2, 91)]);
554
- } else g2 = [];
555
- return { getLicensee: () => u2(0, "CsUo", 97), getExpiration: () => null, getDomains: () => [K()], getDeveloperCount: () => 1, getCpuCount: () => 0, getType: () => u2(0, "#$Dm", 115), isEval: () => true, getExceptions: () => g2, hasExceptions: () => g2[u2(0, "iWaH", 157)] > 0, isValidFor: () => 0 === g2[d2(0, 0, "Pb6Y", 1080)], isValid: () => false, getFeatures: () => Object[h2(1233, 0, 0, "7sL7")]({}), getKeyFrom: () => t2, getBuildVersion: W[h2(1162, 0, 0, a2)], getBuildDate: W[m2(0, 0, 0, -294, l2)] };
556
- }, tt = () => {
557
- const t2 = "k4*b", e2 = "z!q$", n2 = 349, r2 = 348;
558
- function o2(t3, e3, n3, r3, o3) {
559
- return nt(n3 - -983, t3);
560
- }
561
- if (et[o2("%4JH", 0, -535)] && et[o2(t2, 0, -428)]) return false;
562
- const s2 = et[o2("CsUo", 0, -524)];
563
- var i2, a2, l2, c2, h2, d2;
564
- return !!(s2[h2 = 1096, d2 = e2, nt(h2 - 477, d2)]() || s2[l2 = "XG&1", c2 = n2, nt(c2 - -211, l2)]() || s2[i2 = 818, a2 = "]LMJ", nt(i2 - r2, a2)]()?.pb);
565
- }, et = { promise: null, printNeeded: false, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
566
- function nt(t2, e2) {
567
- const n2 = dt();
568
- return nt = function(e3, r2) {
569
- let o2 = n2[e3 -= 442];
570
- if (void 0 === nt.hUcVgf) {
519
+ function Q(t2, e2) {
520
+ const n2 = q();
521
+ return Q = function(e3, r2) {
522
+ let o2 = n2[e3 -= 321];
523
+ if (void 0 === Q.POXUXv) {
571
524
  const e4 = function(t3, e5) {
572
525
  let n3, r3, o3 = [], s3 = 0, i3 = "";
573
526
  for (t3 = (function(t4) {
@@ -581,70 +534,139 @@ function nt(t2, e2) {
581
534
  for (let e6 = 0; e6 < t3.length; e6++) r3 = (r3 + 1) % 256, s3 = (s3 + o3[r3]) % 256, n3 = o3[r3], o3[r3] = o3[s3], o3[s3] = n3, i3 += String.fromCharCode(t3.charCodeAt(e6) ^ o3[(o3[r3] + o3[s3]) % 256]);
582
535
  return i3;
583
536
  };
584
- nt.yCDuaB = e4, t2 = arguments, nt.hUcVgf = true;
537
+ Q.gmItYS = e4, t2 = arguments, Q.POXUXv = true;
585
538
  }
586
539
  const s2 = e3 + n2[0], i2 = t2[s2];
587
- return i2 ? o2 = i2 : (void 0 === nt.MNWqxK && (nt.MNWqxK = true), o2 = nt.yCDuaB(o2, r2), t2[s2] = o2), o2;
588
- }, nt(t2, e2);
540
+ return i2 ? o2 = i2 : (void 0 === Q.pgJoCi && (Q.pgJoCi = true), o2 = Q.gmItYS(o2, r2), t2[s2] = o2), o2;
541
+ }, Q(t2, e2);
542
+ }
543
+ function Z(t2, e2, n2, r2, o2) {
544
+ return Q(e2 - -742, o2);
545
+ }
546
+ const tt = (t2, e2, n2, r2) => {
547
+ const o2 = 1481, s2 = 798;
548
+ function i2(t3, e3, n3, r3, o3) {
549
+ return Q(n3 - -445, r3);
550
+ }
551
+ function a2(t3, e3, n3, r3, o3) {
552
+ return Q(n3 - s2, e3);
553
+ }
554
+ function l2(t3, e3, n3, r3, o3) {
555
+ return Q(t3 - -102, r3);
556
+ }
557
+ function c2(t3, e3, n3, r3, o3) {
558
+ return Q(e3 - -517, n3);
559
+ }
560
+ return { getLicensee: () => t2[a2(0, "9bz9", 1297)], getExpiration: () => new Date(t2[l2(363, 0, 0, "2OG6")]), getDomains: () => t2[a2(0, "If8y", 1173)] ?? [], getDeveloperCount: () => t2[a2(0, "d@Nn", 1174)] ?? 1, getCpuCount: () => t2[c2(0, -37, "lxiS")] ?? 0, getType: () => {
561
+ return t2[e3 = "9Jn*", n3 = 411, Q(n3 - -70, e3)] ?? i2(0, 0, -120, "6bh&");
562
+ var e3, n3;
563
+ }, getExceptions: () => e2, hasExceptions() {
564
+ return !!e2 && e2[t3 = "Y^Ci", n3 = 1363, c2(0, n3 - o2, t3)] > 0;
565
+ var t3, n3;
566
+ }, isValidFor: (t3) => {
567
+ const n3 = 446;
568
+ return !(e2?.[r3 = "ym93", o3 = 734, l2(o3 - n3, 0, 0, r3)] > 0);
569
+ var r3, o3;
570
+ }, isValid: () => true, isEval: () => false, getFeatures: () => Object[c2(0, -66, "aEJv")](t2[l2(244, 0, 0, "o&4O")] ?? {}), getKeyFrom: () => n2, getBuildVersion: H[i2(0, 0, 39, "WU8X")], getBuildDate: H[c2(0, -180, "%@Vn")] };
571
+ }, et = (t2) => {
572
+ const e2 = "EOpd", n2 = "!LuE", r2 = 968, s2 = "lxiS", i2 = 880, a2 = 579, l2 = 233;
573
+ let c2 = o[g2(-422, -494, "ym93")];
574
+ if (Y() || o[g2(-463, -510, e2)]()) {
575
+ const t3 = H[g2(-377, -432, "nNsw")](), e3 = new Date(t3), o2 = /* @__PURE__ */ new Date(), i3 = 864e5;
576
+ Math[g2(-519, -530, n2)]((o2[d2(913, "L)rB", r2, 940)]() - e3[h2(s2, -362, -309, -300, -368)]()) / i3) >= 120 && (c2 = [h2(")9q6", -421, -610, -521, -516)]);
577
+ } else c2 = [];
578
+ function h2(t3, e3, n3, r3, o2) {
579
+ return Q(o2 - -855, t3);
580
+ }
581
+ function d2(t3, e3, n3, r3, o2) {
582
+ return Q(r3 - a2, e3);
583
+ }
584
+ function u2(t3, e3, n3, r3, o2) {
585
+ return Q(t3 - 507, n3);
586
+ }
587
+ function g2(t3, e3, n3, r3, o2) {
588
+ return Q(e3 - -943, n3);
589
+ }
590
+ return { getLicensee: () => g2(0, -513, "bGgW"), getExpiration: () => null, getDomains: () => [X()], getDeveloperCount: () => 1, getCpuCount: () => 0, getType: () => g2(0, -486, ")9q6"), isEval: () => true, getExceptions: () => c2, hasExceptions: () => c2[d2(0, "0Agl", 0, 1046)] > 0, isValidFor: () => 0 === c2[u2(842, 0, "aEJv")], isValid: () => false, getFeatures: () => {
591
+ return Object[t3 = "Bcx7", e3 = 671, Q(e3 - l2, t3)]({});
592
+ var t3, e3;
593
+ }, getKeyFrom: () => t2, getBuildVersion: H[h2("L)rB", 0, 0, 0, -486)], getBuildDate: H[u2(i2, 0, "EOpd")] };
594
+ }, nt = () => {
595
+ const t2 = "nNsw", e2 = "f@DK", n2 = "0Ddc", r2 = "L)rB", o2 = "9bz9", s2 = 466, i2 = 618;
596
+ if (rt[h2(1376, 1438, 1392, 1514, "HJ9Z")] && rt[h2(1246, 1290, 1234, 1364, t2)]) return false;
597
+ const a2 = rt[l2 = 992, c2 = e2, Q(l2 - s2, c2)];
598
+ var l2, c2;
599
+ function h2(t3, e3, n3, r3, o3) {
600
+ return Q(e3 - 950, o3);
601
+ }
602
+ var d2, u2;
603
+ var g2, m2;
604
+ return !!(a2[d2 = n2, u2 = -313, Q(u2 - -670, d2)]() || a2[h2(0, 1338, 0, 0, r2)]() || a2[g2 = 1111, m2 = o2, Q(g2 - i2, m2)]()?.pb);
605
+ }, rt = { promise: null, printNeeded: false, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
606
+ function ot(t2, e2, n2, r2, o2) {
607
+ return Q(e2 - 61, o2);
608
+ }
609
+ function st(t2, e2, n2, r2, o2) {
610
+ return Q(o2 - -221, t2);
589
611
  }
590
- let rt = false, ot = false;
591
- const st = ht(1244, "Fkjm", 1252, 1265)[lt(997, 1019, 1012, 907, "xPwu")]("")[lt(1025, 986, 971, 952, "%4JH")]((t2, e2) => e2 + t2, "");
592
- class it {
612
+ function it(t2, e2, n2, r2, o2) {
613
+ return Q(n2 - 849, t2);
614
+ }
615
+ let at = false, lt = false;
616
+ const ct = it("1bOh", 0, 1268)[st("aEJv", 0, 0, 0, 184)]("")[ot(0, 445, 0, 0, "aEJv")]((t2, e2) => e2 + t2, "");
617
+ class ht {
593
618
  constructor() {
594
- function t2(t3, e2, n2, r2, o2) {
595
- return Q(0, 0, e2 - -546, 0, o2);
596
- }
597
- this[t2(0, 126, 0, 0, "XG&1")][t2(0, 176, 0, 0, "iWaH")] = null;
619
+ var t2, e2, n2, r2;
620
+ this[n2 = 289, r2 = "aEJv", it(r2, 0, n2 - -1030)][t2 = "uTX0", e2 = 504, ot(0, e2 - 115, 0, 0, t2)] = null;
598
621
  }
599
- async [Q(0, 0, 798, 0, "T3G9")](t2, e2 = false) {
600
- const n2 = 1474, r2 = 1382, s2 = 1385, i2 = 1453, a2 = ")VDr", l2 = 1504, c2 = 1376, h2 = ")VDr", d2 = "S5o)", u2 = "3(v3", g2 = "9tJz", m2 = "RvW7", f2 = "YKLm", p2 = "!13e", _2 = 449, S2 = "T3G9", w2 = "XG&1", y2 = 395, E2 = 648;
601
- if (!t2 || t2[v2(480, "k4*b", 506, 420)](x2(1450, n2, r2, 1481, ")FEi")) || t2[x2(s2, i2, 1436, i2, "!13e")](I2(a2, -240, -310, -323)) || t2[b2(-435, -315, -347, -388, "QIbJ")](I2("E(5h", -282, -337, -311)) || t2[b2(-289, -343, -372, -450, "#$Dm")](b2(-352, -389, -320, -284, "*&i1"))) return rt = true, o[x2(1443, l2, 1435, c2, "3(v3")]() && await G[b2(-256, -329, -296, -312, "vv!F")](t2, e2), await this[b2(-380, -260, -334, -245, h2)](true);
602
- if (rt = false, !e2 && et[I2("7ALB", -243, -273, -218)]) {
603
- const t3 = await this[I2(d2, -282, -423, -328)]();
604
- if (t3[C2(606, u2, 598, 603)]() && !t3[b2(-325, -258, -248, -221, g2)]()) return t3;
622
+ async [Z(0, -266, 0, 0, "*MTU")](t2, e2 = false) {
623
+ const n2 = 716, r2 = "L)rB", s2 = 1015, i2 = "qjB#", a2 = 455, l2 = 550, c2 = 920, h2 = 840, d2 = 868, u2 = 793, g2 = "HJ9Z", m2 = 1191, f2 = 953, p2 = 923, _2 = "gbXH", S2 = 1036, w2 = "nNsw", y2 = 1240, E2 = 1208, C2 = 896, b2 = 745, v2 = 750, x2 = "2OG6", I2 = 1002, R2 = "aEJv", A2 = 868, M2 = 657, T2 = 778, N2 = "Y^Ci", F2 = 1347, k2 = "NxN1", O2 = 624, D2 = "1bOh", B2 = 1197, L2 = 1007, z2 = "!LuE", P2 = 1055, H2 = 819, W2 = 797, V2 = 1103, $2 = 21;
624
+ if (!t2 || t2[J2(-116, -204, -229, -167, "BW%9")](q2(n2, 696, 711, 614, r2)) || t2[J2(-339, -418, -259, -336, "7vxr")](X2(1051, s2, "Y^Ci", 1080)) || t2[j2(i2, a2, 524, l2)](X2(c2, 1015, "IPBH", h2)) || t2[q2(830, 812, d2, u2, "EOpd")](X2(1103, 1157, g2, m2))) return at = true, o[X2(f2, p2, _2, S2)]() && await G[j2(w2, 540, 588, 544)](t2, e2), await this[U2(1258, 1204, "ym93", y2, E2)](true);
625
+ function j2(t3, e3, n3, r3, o2) {
626
+ return ot(0, e3 - 71, 0, 0, t3);
605
627
  }
606
- function C2(t3, e3, n3, r3, o2) {
607
- return Q(0, 0, t3 - -207, 0, e3);
628
+ function U2(t3, e3, n3, r3, o2) {
629
+ return it(n3, 0, o2 - $2);
608
630
  }
609
- function b2(t3, e3, n3, r3, o2) {
610
- return ht(t3 - 285, o2, n3 - 365, n3 - -1666);
631
+ if (at = false, !e2 && rt[q2(851, 809, C2, 815, "&stc")]) {
632
+ const t3 = await this[q2(775, b2, v2, 848, x2)]();
633
+ if (t3[X2(I2, 1106, "bGgW", 1092)]() && !t3[J2(-162, -207, -294, -229, "uTX0")]()) return t3;
611
634
  }
612
- function v2(t3, e3, n3, r3, o2) {
613
- return Q(0, 0, t3 - -352, 0, e3);
635
+ function J2(t3, e3, n3, r3, o2) {
636
+ return st(o2, 0, 0, 0, r3 - -444);
614
637
  }
615
- function x2(t3, e3, n3, r3, o2) {
616
- return Y(0, t3 - E2, 0, o2);
638
+ function q2(t3, e3, n3, r3, o2) {
639
+ return Z(0, t3 - V2, 0, 0, o2);
617
640
  }
618
- function I2(t3, e3, n3, r3, o2) {
619
- return lt(r3 - -1221, e3 - 478, n3 - y2, r3 - 415, t3);
641
+ rt[X2(958, 1027, R2, A2)] = t2, rt[j2("NgH6", M2)] = q2(T2, 0, 0, 0, N2), rt[U2(0, 0, "A^fy", 0, F2)] = null, rt[j2(k2, O2)] = null;
642
+ const K2 = await this[U2(0, 0, D2, 0, B2)]();
643
+ if (!K2[J2(0, 0, 0, -215, "2OG6")]()) throw await this[X2(1072, L2, z2, 1069)](true), new Error(X2(P2, 1101, "o&4O", 1140));
644
+ function X2(t3, e3, n3, r3, o2) {
645
+ return st(n3, 0, 0, 0, t3 - W2);
620
646
  }
621
- et[I2("ApAw", -312, -263, -282)] = t2, et[C2(430, m2, 416, 497)] = v2(364, f2, 429, 463), et[C2(445, p2, _2, 535)] = null, et[b2(-283, -260, -228, -250, S2)] = null;
622
- const R2 = await this[x2(1545, 0, 0, 0, "iY#P")]();
623
- if (!R2[I2("iWcW", -157, -242, -230)]()) throw await this[C2(459, "Pb6Y")](true), new Error(x2(1516, 0, 0, 0, "iWaH"));
624
- return await G[v2(339, w2)](t2, e2), R2;
647
+ return await G[q2(H2, 0, 0, 0, "kG!z")](t2, e2), K2;
625
648
  }
626
- async [ht(1347, "iY#P", 1425, 1423)](t2 = false) {
627
- const e2 = "3(v3", n2 = 1288, r2 = "!13e", s2 = "cAfw", i2 = 966, a2 = 889, l2 = "6)C5", c2 = "T3G9", h2 = 1258, d2 = 1193, u2 = 1468, g2 = "iWaH", m2 = 1266, f2 = 1403, p2 = 1503, _2 = "#xTl", S2 = 1314, w2 = "vv!F", y2 = "xPwu", E2 = "*T4)", C2 = "YKLm", b2 = 819, v2 = 1205, x2 = "wtM8", I2 = 1414, R2 = 697, A2 = "O61E", M2 = 1153, T2 = "S5o)", N2 = 897, F2 = 803, k2 = 887, O2 = "n3E0", D2 = 1120, L2 = 1131, B2 = "O61E", z2 = 1257, P2 = "Pb6Y", H2 = 851, V2 = 829, $2 = 1432, j2 = 187, Q2 = 156, ot2 = 130, it2 = 108, at2 = 958, ct2 = 788, dt2 = 1482, ut2 = "RvW7", gt2 = 219, mt2 = "7ALB", ft2 = 311, pt2 = 1534, _t2 = "LHzy", St2 = 1148, wt2 = 1024, yt2 = "#$Dm", Et2 = 784, Ct2 = 860, bt2 = "T)]$", vt2 = 1563, xt2 = 1422, It2 = 835, Rt2 = 799, At2 = 92, Mt2 = 180, Tt2 = 383, Nt2 = "JAV$", Ft2 = 224, kt2 = 24, Ot2 = 334, Dt2 = 649, Lt2 = 29;
628
- if (t2 && (et[jt2(991, 996, "5QKR", 899)] && !et[jt2(832, 840, e2, 928)] && this[Bt2(1117, n2, 1189, r2)](), et[Wt2(s2, i2, 865, a2)] = true), et[Ut2(-254, -230, -200, l2)]) return et[Pt2(1561, 1534, c2)];
629
- function Bt2(t3, e3, n3, r3, o2) {
630
- return lt(n3 - 217, e3 - Lt2, n3 - 264, r3 - 434, r3);
649
+ async [ot(0, 427, 0, 0, "H)LY")](t2 = false) {
650
+ const e2 = 440, n2 = "%@Vn", r2 = 514, s2 = 547, i2 = 505, a2 = 578, l2 = 596, c2 = 585, h2 = 1470, d2 = "gbXH", u2 = 1248, g2 = 1328, m2 = 1390, f2 = "BW%9", p2 = 540, _2 = "!LuE", S2 = 379, w2 = "*MTU", y2 = "o&4O", E2 = "bGgW", C2 = 1259, b2 = 1303, v2 = 1389, x2 = 1285, I2 = 1270, R2 = 453, A2 = "0Ddc", M2 = 1406, T2 = "2OG6", N2 = "kG!z", F2 = "6bh&", k2 = 1243, O2 = 417, D2 = 1317, B2 = "9Jn*", L2 = 1306, z2 = 451, P2 = "L)rB", W2 = 1398, V2 = "EOpd", $2 = "A^fy", j2 = 1413, q2 = "o&4O", K2 = "L)rB", Z2 = 403, st2 = 1321, lt2 = 1278, ht2 = "If8y", dt2 = 1256, ut2 = "3vvf", gt2 = "IPBH", mt2 = 867, ft2 = "9Jn*", pt2 = 36;
651
+ function _t2(t3, e3, n3, r3, o2) {
652
+ return ot(0, o2 - -721, 0, 0, r3);
631
653
  }
632
- if (!this[Bt2(h2, 1098, d2, "Pb6Y")][Pt2(u2, 1406, g2)] && (this[Bt2(m2, 1208, 1222, "jGo%")][Pt2(f2, p2, "RmLn")] = new Error("FV")), et[Ut2(-208, -182, -158, _2)]) return et[Bt2(0, S2, 1247, w2)];
633
- let zt2 = null;
634
- function Pt2(t3, e3, n3, r3, o2) {
635
- return Y(0, t3 - Dt2, 0, n3);
654
+ if (t2 && (rt[wt2(1304, 1485, 1387, 1337, "%@Vn")] && !rt[Ct2(e2, n2, r2, 584)] && this[Ct2(s2, "WU8X", i2, a2)](), rt[It2(579, "6bh&", l2, c2)] = true), rt[xt2(h2, 1400, d2, 1451)]) return rt[xt2(u2, g2, "ym93", m2)];
655
+ if (!this[Ct2(479, f2, p2, 609)][Ct2(414, _2, 362, S2)] && (this[Ct2(344, w2, 397, 406)][Ct2(428, y2, 448, 385)] = new Error("FV")), rt[_t2(0, 0, 0, E2, -249)]) return rt[wt2(C2, 1270, b2, v2, "A^fy")];
656
+ let St2 = null;
657
+ function wt2(t3, e3, n3, r3, o2) {
658
+ return it(o2, 0, n3 - pt2);
636
659
  }
637
- function Wt2(t3, e3, n3, r3, o2) {
638
- return lt(r3 - -56, e3 - Ft2, n3 - kt2, r3 - Ot2, t3);
639
- }
640
- et[Ut2(-21, -205, -116, y2)] = new Promise((t3) => {
641
- zt2 = t3;
660
+ rt[xt2(x2, I2, "d@Nn", 1295)] = new Promise((t3) => {
661
+ St2 = t3;
642
662
  });
643
- let Ht2, Vt2 = null;
644
- const $t2 = async (t3, e3) => {
645
- const n3 = 72;
663
+ let yt2, Et2 = null;
664
+ function Ct2(t3, e3, n3, r3, o2) {
665
+ return ot(0, n3 - -29, 0, 0, e3);
666
+ }
667
+ const bt2 = async (t3, e3) => {
646
668
  try {
647
- const a3 = ((t4) => {
669
+ const s3 = ((t4) => {
648
670
  let e4 = t4;
649
671
  const n4 = e4[e4.length - 1], r4 = n4.charCodeAt(0) - 52;
650
672
  if (e4 = e4.substring(0, e4.length - 1), e4 = e4.split("").reverse().join(""), e4 = J(e4), e4 = e4.trim(), e4[e4.length - 1] !== n4) throw new Error();
@@ -656,205 +678,191 @@ class it {
656
678
  } catch (t5) {
657
679
  throw new Error("Invalid license key.");
658
680
  }
659
- })(e3), l3 = await (async (t4) => {
660
- const e4 = "!13e", n4 = 567, r4 = 575, s4 = 996, i4 = 1048, a4 = 1081, l4 = 997, c4 = 1061, h3 = 1087, d3 = 1153, u3 = "jGo%", g3 = 627, m3 = ")FEi", f3 = "T3G9", p3 = 621, _3 = 590, S3 = "k4*b", w3 = 346, y3 = "Z0jx", E3 = 1196, C3 = "z!q$", b3 = 417, v3 = 1186, x3 = 1207, I3 = 658, R3 = 705, A3 = 613, M3 = 649, T3 = 99, N3 = t4[k3("jGo%", 467, 556)], F3 = t4[k3(e4, n4, r4)] ? new Date(t4[B3(s4, i4, 1055, a4, "YKLm")]) : null;
661
- function k3(t5, e5, n5, r5, o2) {
662
- return nt(n5 - T3, t5);
681
+ })(e3), i3 = await (async (t4) => {
682
+ const e4 = 1040, n4 = 1064, r4 = 864, s4 = 217, i4 = 1084, a4 = 1012, l3 = 1112, c3 = 276, h3 = "2OG6", d3 = 213, u3 = "9bz9", g3 = "BW%9", m3 = 1083, f3 = "BW%9", p3 = "]U1q", _3 = 175, S3 = "EOpd", w3 = 629, y3 = 994, E3 = t4[b3(402, 292, 339, "0Ddc", 310)], C3 = t4[A3(e4, n4, 965, r4, "HJ9Z")] ? new Date(t4[R3("3vvf", 232, s4)]) : null;
683
+ function b3(t5, e5, n5, r5, o2) {
684
+ return Q(o2 - -190, r5);
663
685
  }
664
- function O3(t5, e5, n5, r5, o2) {
665
- return nt(t5 - M3, r5);
686
+ t4[A3(i4, 990, a4, l3, "DSKM")];
687
+ const v3 = [];
688
+ function x3(t5, e5, n5, r5, o2) {
689
+ return Q(o2 - -816, n5);
666
690
  }
667
- t4[B3(l4, c4, h3, d3, u3)];
668
- const D3 = [];
669
- function L3(t5, e5, n5, r5, o2) {
670
- return nt(r5 - -839, o2);
691
+ function I3(t5, e5, n5, r5, o2) {
692
+ return Q(r5 - y3, e5);
671
693
  }
672
- function B3(t5, e5, n5, r5, o2) {
673
- return nt(n5 - A3, o2);
694
+ function R3(t5, e5, n5, r5, o2) {
695
+ return Q(n5 - -193, t5);
674
696
  }
675
- function z3(t5, e5, n5, r5, o2) {
676
- return nt(e5 - -196, t5);
697
+ function A3(t5, e5, n5, r5, o2) {
698
+ return Q(n5 - w3, o2);
677
699
  }
678
- if (F3 ? isNaN(F3) ? D3[O3(1263, 0, 0, m3)](k3(f3, 0, p3)) : F3 < /* @__PURE__ */ new Date() && D3[O3(1177, 0, 0, "YKLm")](k3("9tJz", 0, _3) + F3[z3(S3, w3)]()) : D3[k3("YKLm", 0, g3)](L3(-397, -304, -312, -298, "YKLm")), o[k3(y3, 0, 653)]()) ;
700
+ if (C3 ? isNaN(C3) ? v3[x3(0, 0, ")9q6", 0, -394)](x3(0, 0, h3, 0, -485)) : C3 < /* @__PURE__ */ new Date() && v3[R3("!LuE", d3, 202)](b3(0, 0, 0, u3, 332) + C3[b3(0, 0, 0, "o&4O", 157)]()) : v3[b3(0, 0, 0, "Bcx7", 257)](b3(0, 0, 0, "7vxr", c3)), o[x3(0, 0, "0Ddc", 0, -452)]()) ;
679
701
  else {
680
- if (q()) return D3;
681
- if (N3 && 0 !== N3[O3(E3, 0, 0, ")VDr")]) {
702
+ if (Y()) return v3;
703
+ if (E3 && 0 !== E3[I3(0, g3, 0, 1435)]) {
682
704
  let t5 = false;
683
- const e5 = K();
684
- for (let n5 = 0; !t5 && n5 < N3[L3(0, 0, 0, -349, "6)C5")]; n5++) t5 = e5[O3(x3, 0, 0, "iWcW")](N3[n5]);
685
- !t5 && D3[k3("WUFW", 0, I3)](k3("E(5h", 0, R3));
686
- } else D3[z3(C3, b3)](O3(v3, 0, 0, "xPwu"));
705
+ const e5 = X();
706
+ for (let n5 = 0; !t5 && n5 < E3[I3(0, f3, 0, 1435)]; n5++) t5 = e5[x3(0, 0, "qjB#", 0, -464)](E3[n5]);
707
+ !t5 && v3[R3(p3, 0, _3)](I3(0, S3, 0, 1406));
708
+ } else v3[I3(0, "9bz9", 0, 1491)](A3(0, 0, m3, 0, "*MTU"));
687
709
  }
688
- return D3;
689
- })(a3), c3 = X(a3, l3, t3);
690
- return c3[r3 = -368, s3 = -Tt2, i3 = Nt2, Ut2(r3 - 22, s3 - n3, s3 - -209, i3)]() && (Ht2 = c3), c3;
710
+ return v3;
711
+ })(s3), a3 = tt(s3, i3, t3);
712
+ return a3[n3 = ft2, r3 = 84, _t2(0, 0, 0, n3, r3 - 382)]() && (yt2 = a3), a3;
691
713
  } catch (e4) {
692
- Ht2 = ((t4) => {
693
- function e5(t5, e6, n5, r5, o3) {
694
- return nt(e6 - -565, n5);
714
+ yt2 = ((t4) => {
715
+ const e5 = "&ojO", n4 = 243, r4 = 291;
716
+ function o2(t5, e6, n5, r5, o3) {
717
+ return Q(o3 - -503, t5);
695
718
  }
696
- function n4(t5, e6, n5, r5, o3) {
697
- return nt(o3 - 289, e6);
719
+ function s3(t5, e6, n5, r5, o3) {
720
+ return Q(t5 - -273, o3);
698
721
  }
699
- return { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => n4(0, "LHzy", 0, 0, 907), getExceptions: () => {
700
- return [(e6 = "*T4)", r5 = -9, n4(0, e6, 0, 0, r5 - -780) + t4 + "'")];
701
- var e6, r5;
702
- }, hasExceptions: () => true, isValidFor: (t5) => false, isValid: () => false, isEval: () => false, getFeatures: () => Object[e5(0, -63, "!13e")]({}), getKeyFrom: () => t4, getBuildVersion: W[e5(0, -120, ")FEi")], getBuildDate: W[r4 = 646, o2 = "7sL7", nt(r4 - 178, o2)] };
703
- var r4, o2;
722
+ return { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => o2("IPBH", 0, 0, 0, -96), getExceptions: () => {
723
+ return [(s4 = e5, i4 = n4, o2(s4, 0, 0, 0, i4 - r4) + t4 + "'")];
724
+ var s4, i4;
725
+ }, hasExceptions: () => true, isValidFor: (t5) => false, isValid: () => false, isEval: () => false, getFeatures: () => Object[s3(233, 0, 0, 0, "9bz9")]({}), getKeyFrom: () => t4, getBuildVersion: H[s3(53, 0, 0, 0, "BW%9")], getBuildDate: H[i3 = "3vvf", a3 = -120, Q(a3 - -444, i3)] };
726
+ var i3, a3;
704
727
  })(t3);
705
728
  }
706
- var r3, s3, i3;
729
+ var n3, r3;
707
730
  };
708
- function jt2(t3, e3, n3, r3, o2) {
709
- return ht(t3 - At2, n3, n3 - Mt2, r3 - -489);
710
- }
711
- et[Ut2(-275, -220, -232, E2)] && (Vt2 = await $t2(et[Ut2(-82, -141, -58, C2)], et[Wt2("iY#P", b2, 881, 878)]));
712
- let Gt2 = false;
713
- if (rt && (Gt2 = true, Vt2 = Z(Bt2(0, 1123, v2, x2))), !Vt2) {
714
- if (o[Pt2(I2, 0, "6)C5")]()) {
715
- if (!Vt2) {
716
- const t3 = process[jt2(R2, 0, A2, 788)], e3 = t3[Ut2(-216, -188, -183, "m5]q")] || t3[Bt2(0, M2, 1210, T2)] || t3[Wt2(y2, N2, F2, k2)] || t3[jt2(807, 0, O2, 858)];
717
- e3 && (Vt2 = await $t2(Pt2(1554, 0, "D*Aq"), e3));
731
+ rt[It2(391, "*MTU", 352, R2)] && (Et2 = await bt2(rt[_t2(0, 0, 0, A2, -229)], rt[xt2(1370, M2, "Q4#e", 1359)]));
732
+ let vt2 = false;
733
+ function xt2(t3, e3, n3, r3, o2) {
734
+ return ot(0, e3 - mt2, 0, 0, n3);
735
+ }
736
+ function It2(t3, e3, n3, r3, o2) {
737
+ return it(e3, 0, r3 - -768);
738
+ }
739
+ if (at && (vt2 = true, Et2 = et(xt2(0, 1261, T2))), !Et2) {
740
+ if (o[_t2(0, 0, 0, N2, -171)]()) {
741
+ if (!Et2) {
742
+ const t3 = process[Ct2(0, "3vvf", 373)], e3 = t3[_t2(0, 0, 0, F2, -215)] || t3[_t2(0, 0, 0, "Hv(e", -245)] || t3[xt2(0, 1334, "qjB#")] || t3[wt2(0, 0, k2, 0, "9bz9")];
743
+ e3 && (Et2 = await bt2(Ct2(0, "d@Nn", O2), e3));
718
744
  }
719
- if (!Vt2) {
720
- const t3 = await G[Bt2(0, D2, L2, B2)]();
721
- t3 && (Vt2 = await $t2(Ut2(-74, -101, -164, l2), t3));
745
+ if (!Et2) {
746
+ const t3 = await G[xt2(0, D2, B2)]();
747
+ t3 && (Et2 = await bt2(xt2(0, 1388, "!LuE"), t3));
722
748
  }
723
- !Vt2 && (Gt2 = true);
749
+ !Et2 && (vt2 = true);
724
750
  } else {
725
- if (!Vt2) {
751
+ if (!Et2) {
726
752
  let t3 = false;
727
753
  try {
728
- const e3 = await fetch("./" + st);
754
+ const e3 = await fetch("./" + ct);
729
755
  let n3 = null;
730
- if (200 === e3[Bt2(0, z2, 1199, P2)]) {
731
- const r3 = (await e3[Wt2("#xTl", H2, 962, 865)]())[jt2(755, 0, P2, V2)]("\n"), o2 = r3[Pt2($2, 0, "JAV$")];
756
+ if (200 === e3[xt2(0, L2, "0Agl")]) {
757
+ const r3 = (await e3[Ct2(0, "O]%*", 484)]())[It2(0, "kG!z", 0, 516)]("\n"), o2 = r3[It2(0, "NgH6", 0, z2)];
732
758
  for (let e4 = 0; !n3 && e4 < o2; e4++) {
733
- const o3 = r3[e4][Ut2(-j2, -Q2, -ot2, "m5]q", -it2)]();
734
- 0 !== o3[jt2(at2, 0, "jGo%", 907)] && (o3[Wt2("!13e", 886, 799, ct2)](Pt2(dt2, 0, ut2)) ? t3 = true : n3 = o3);
759
+ const o3 = r3[e4][wt2(0, 0, 1404, 0, P2)]();
760
+ 0 !== o3[wt2(0, 0, W2, 0, V2)] && (o3[It2(0, $2, 0, 529)](wt2(0, 0, 1310, 0, F2)) ? t3 = true : n3 = o3);
735
761
  }
736
762
  }
737
763
  if (t3 && n3) {
738
- const t4 = Ut2(-gt2, -275, -223, mt2, -ft2) + st + "')";
739
- Vt2 = await $t2(t4, n3);
764
+ const t4 = wt2(0, 0, j2, 0, q2) + ct + "')";
765
+ Et2 = await bt2(t4, n3);
740
766
  }
741
767
  } catch (t4) {
742
768
  }
743
769
  }
744
- !Vt2 && q() && (Gt2 = true);
770
+ !Et2 && Y() && (vt2 = true);
745
771
  }
746
772
  }
747
- function Ut2(t3, e3, n3, r3, o2) {
748
- return Y(0, n3 - -982, 0, r3);
749
- }
750
- return !Vt2 && Gt2 && (Vt2 = Z(Pt2(pt2, 0, _t2))), !Vt2 && Ht2 && (Vt2 = Ht2), !Vt2 && (Vt2 = { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => null, isEval: () => false, getExceptions: () => [Bt2(0, 1314, 1232, "#xTl")], hasExceptions: () => true, isValidFor: (t3) => false, isValid: () => false, getFeatures: () => Object[Pt2(1475, 0, "4yfj")]({}), getKeyFrom: () => Pt2(1523, 0, "Z0jx"), getBuildVersion: W[Bt2(0, St2, 1164, "LHzy")], getBuildDate: W[jt2(wt2, 0, yt2, 926)] }), et[jt2(Et2, 0, "YKLm", Ct2)] = Vt2, et[Ut2(-226, -134, -148, bt2)] = t2 && tt(), zt2(Vt2), et[Pt2(vt2, 0, "!13e")] && this[Pt2(xt2, 0, ")FEi")](), et[Wt2("ApAw", 865, It2, Rt2)];
773
+ return !Et2 && vt2 && (Et2 = et(Ct2(0, K2, 424))), !Et2 && yt2 && (Et2 = yt2), !Et2 && (Et2 = { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => null, isEval: () => false, getExceptions: () => [It2(0, "bGgW", 0, 440)], hasExceptions: () => true, isValidFor: (t3) => false, isValid: () => false, getFeatures: () => Object[Ct2(0, "*MTU", 535)]({}), getKeyFrom: () => _t2(0, 0, 0, "O]%*", -317), getBuildVersion: H[_t2(0, 0, 0, "2OG6", -204)], getBuildDate: H[It2(0, w2, 0, 576)] }), rt[It2(0, "j0Ni", 0, Z2)] = Et2, rt[xt2(0, st2, "If8y")] = t2 && nt(), St2(Et2), rt[wt2(0, 0, lt2, 0, ht2)] && this[wt2(0, 0, dt2, 0, ut2)](), rt[Ct2(0, gt2, 423)];
751
774
  }
752
- async [lt(845, 790, 774, 910, "JAV$")](t2) {
753
- const e2 = 957, n2 = "3(v3", r2 = 1599, o2 = "iY#P", s2 = "iY#P", i2 = 863, a2 = "5QKR", l2 = 994, c2 = "Z0jx", h2 = 983, d2 = "#$Dm", u2 = 900, g2 = "n3E0", m2 = 125, f2 = 416, p2 = 28, _2 = 344, S2 = 185;
754
- function w2(t3, e3, n3, r3, o3) {
755
- return ht(t3 - _2, r3, n3 - 126, n3 - S2);
775
+ async [st("EOpd", 0, 0, 0, 146)](t2) {
776
+ const e2 = 237, n2 = 225, r2 = "EOpd", o2 = "]FHL", s2 = "EOpd", i2 = 447, a2 = "$sNK", l2 = 560, c2 = 159, h2 = "H)LY";
777
+ function d2(t3, e3, n3, r3, o3) {
778
+ return st(o3, 0, 0, 0, n3 - 264);
756
779
  }
757
- function y2(t3, e3, n3, r3, o3) {
758
- return ht(t3 - 45, r3, n3 - 166, n3 - -400);
780
+ rt[g2(150, 113, 141, 72, "IPBH")] = true;
781
+ const u2 = await this[g2(240, e2, n2, 157, r2)]();
782
+ function g2(t3, e3, n3, r3, o3) {
783
+ return ot(0, e3 - -298, 0, 0, o3);
759
784
  }
760
- et[w2(1688, 1607, 1611, "k4*b")] = true;
761
- const E2 = await this[y2(1002, 0, e2, n2)]();
762
- var C2, b2;
763
- function v2(t3, e3, n3, r3, o3) {
764
- return lt(t3 - -1332, e3 - m2, n3 - f2, r3 - p2, n3);
785
+ function m2(t3, e3, n3, r3, o3) {
786
+ return K(0, 0, 0, r3 - -1529, o3);
765
787
  }
766
- return await G[w2(1698, 0, r2, o2)](t2), !t2 && !et[C2 = s2, b2 = i2, Y(0, b2 - 2, 0, C2)] && (E2[v2(-465, -410, a2, -477)]() || E2[y2(l2, 0, 911, c2)]()) && await this[y2(1001, 0, h2, d2)](t2, E2[y2(959, 0, u2, g2)]()), Promise[v2(-349, -287, "3(v3", -443)]();
788
+ return await G[m2(-141, -318, -303, -221, o2)](t2), !t2 && !rt[m2(0, 0, 0, -284, s2)] && (u2[g2(0, 119, 0, 0, "nNsw")]() || u2[d2(0, 0, i2, 0, a2)]()) && await this[d2(0, 0, l2, 0, "7vxr")](t2, u2[g2(0, c2, 0, 0, h2)]()), Promise[f2 = "nNsw", p2 = -253, st(f2, 0, 0, 0, p2 - -474)]();
789
+ var f2, p2;
767
790
  }
768
- async [Q(0, 0, 829, 0, "D*Aq")](t2 = false, e2 = false, n2 = false) {
769
- const r2 = 1170, o2 = 474, s2 = 815, i2 = "m5]q", a2 = "9tJz", l2 = 522, c2 = 539, h2 = "jGo%", d2 = 1162, u2 = 386, g2 = 6;
770
- function m2(t3, e3, n3, r3, o3) {
771
- return Y(0, e3 - u2, 0, o3);
791
+ async [Z(0, -397, 0, 0, "NxN1")](t2 = false, e2 = false, n2 = false) {
792
+ const r2 = 254, o2 = "3vvf", s2 = 356, i2 = 331, a2 = 381, l2 = "O]%*", c2 = 188, h2 = "3vvf", d2 = "2OG6";
793
+ function u2(t3, e3, n3, r3, o3) {
794
+ return K(0, 0, 0, t3 - -1006, e3);
795
+ }
796
+ rt[p2(197, "o&4O", 152, 247)] = true;
797
+ const g2 = await this[p2(r2, o2, s2, i2)]();
798
+ var m2, f2;
799
+ rt[u2(a2, l2)] || !g2[u2(252, "3vvf")]() && !g2[p2(c2, h2, 278, 238)]() ? await G[m2 = d2, f2 = -306, ot(0, f2 - -794, 0, 0, m2)](g2, t2, e2, n2) : await this[u2(294, "0Ddc")](t2);
800
+ function p2(t3, e3, n3, r3, o3) {
801
+ return ot(0, r3 - -174, 0, 0, e3);
772
802
  }
773
- et[m2(1401, 1307, 1368, 1333, "XG&1")] = true;
774
- const f2 = await this[m2(0, r2, 0, 0, "iWaH")]();
775
- var p2, _2, S2, w2, y2, E2, C2, b2, v2;
776
- et[b2 = "*&i1", v2 = o2, Y(0, v2 - -303, 0, b2)] || !f2[y2 = s2, E2 = i2, C2 = 770, ht(y2 - 225, E2, E2 - g2, C2 - -672)]() && !f2[p2 = a2, _2 = l2, S2 = c2, w2 = 594, lt(S2 - -325, _2 - 166, S2 - 152, w2 - 133, p2)]() ? await G[m2(0, d2, 0, 0, "wtM8")](f2, t2, e2, n2) : await this[m2(0, 1127, 0, 0, h2)](t2);
777
803
  }
778
- async [ht(1289, "E(5h", 1425, 1331)]() {
779
- const t2 = "3(v3";
780
- if (tt()) {
781
- if (ot) return void setTimeout(() => {
804
+ async [Z(0, -248, 0, 0, "If8y")]() {
805
+ const t2 = 615, e2 = "1bOh", n2 = "$sNK";
806
+ if (nt()) {
807
+ if (lt) return void setTimeout(() => {
782
808
  var t3, e3;
783
- this[t3 = "Pb6Y", e3 = 1247, nt(e3 - 772, t3)](false, false);
809
+ this[t3 = n2, e3 = 601, Q(e3 - 148, t3)](false, false);
784
810
  }, 8e3);
785
- await this[e2 = -232, n2 = t2, Q(0, 0, e2 - -991, 0, n2)](false, false);
811
+ await this[r2 = t2, o2 = e2, st(o2, 0, 0, 0, r2 - 374)](false, false);
786
812
  }
787
- var e2, n2;
813
+ var r2, o2;
788
814
  }
789
- async [ht(1420, "*T4)", 1435, 1406)](t2, e2) {
790
- const n2 = 221, r2 = 271, s2 = "n3E0", i2 = 1470, a2 = 1495, l2 = 1536, c2 = "O61E", h2 = "E(5h", d2 = 463, u2 = 452, g2 = 506, m2 = 402, f2 = 258, p2 = 302, _2 = 364, S2 = 699, w2 = 424;
791
- function y2(t3, e3, n3, r3, o2) {
792
- return ct(r3, e3 - 404, n3 - w2, r3 - 493, t3 - -915);
815
+ async [Z(0, -421, 0, 0, "]&eG")](t2, e2) {
816
+ const n2 = "1bOh", r2 = "EOpd", s2 = 38, i2 = "3vvf", a2 = 1016, l2 = "If8y", c2 = 998, h2 = "Hv(e", d2 = "HJ9Z", u2 = "o&4O";
817
+ if (!t2 && (rt[m2(-39, "qjB#", 33)] || rt[p2(-362, -233, -395, n2, -326)])) return;
818
+ function g2(t3, e3, n3, r3, o2) {
819
+ return K(0, 0, 0, n3 - -316, o2);
793
820
  }
794
- if (!t2 && (et[y2(369, 458, 413, "QIbJ")] || et[y2(n2, r2, 282, s2)])) return;
795
- var E2, C2;
796
- function b2(t3, e3, n3, r3, o2) {
797
- return Q(0, 0, n3 - -305, 0, t3);
821
+ function m2(t3, e3, n3, r3, o2) {
822
+ return K(0, 0, 0, n3 - -1347, e3);
798
823
  }
799
- et[R2(1442, i2, a2, l2, c2)] = true, et[E2 = -135, C2 = h2, Q(0, 0, E2 - -953, 0, C2)] = true, await this[b2("T3G9", d2, u2, g2)](t2);
800
- const v2 = o[x2(266, 309, m2, 223, "RvW7")]();
801
- function x2(t3, e3, n3, r3, o2) {
802
- return ht(t3 - 396, o2, n3 - 65, e3 - -1014);
824
+ rt[m2(127, r2, s2)] = true, rt[p2(-356, -287, -197, i2, -255)] = true, await this[g2(0, 0, a2, 0, l2)](t2);
825
+ const f2 = o[g2(0, 0, c2, 0, h2)]();
826
+ function p2(t3, e3, n3, r3, o2) {
827
+ return st(r3, 0, 0, 0, o2 - -458);
803
828
  }
804
- const I2 = t2 || v2 ? console[x2(260, f2, p2, 0, "iWaH")] : o[b2("n3E0", 0, _2)];
805
- function R2(t3, e3, n3, r3, o2) {
806
- return Y(0, t3 - S2, 0, o2);
807
- }
808
- v2 && I2(""), await this[R2(1610, 1598, 1553, 1564, "9tJz")](t2, e2), I2("");
829
+ const _2 = t2 || f2 ? console[y2 = d2, E2 = 149, st(y2, 0, 0, 0, E2 - -32)] : o[S2 = u2, w2 = 245, K(0, 0, 0, w2 - -1094, S2)];
830
+ var S2, w2, y2, E2;
831
+ f2 && _2(""), await this[p2(0, 0, 0, "bGgW", -172)](t2, e2), _2("");
809
832
  }
810
- [ct("E(5h", 1212, 1191, 1076, 1112)]() {
811
- return this[t2 = "Fkjm", e2 = 277, Q(0, 0, e2 - -554, 0, t2)](true);
833
+ [Z(0, -379, 0, 0, "%@Vn")]() {
834
+ return this[t2 = 767, e2 = "nNsw", it(e2, 0, t2 - -597)](true);
812
835
  var t2, e2;
813
836
  }
814
- [ct("7ALB", 1091, 1148, 1240, 1170)](t2) {
815
- return this[e2 = "Pb6Y", n2 = 937, r2 = 923, o2 = 851, ct(e2, n2 - 94, r2 - 311, o2 - 225, o2 - -293)](true, t2);
816
- var e2, n2, r2, o2;
837
+ [K(0, 0, 0, 1268, "$sNK")](t2) {
838
+ return this[e2 = 1251, n2 = "EOpd", it(n2, 0, e2 - -19)](true, t2);
839
+ var e2, n2;
817
840
  }
818
- [ht(1324, "JAV$", 1443, 1375)]() {
819
- const t2 = 337;
820
- return et[s2 = 1189, i2 = 1254, a2 = "XG&1", l2 = 1167, ht(s2 - 203, a2, i2 - 253, l2 - -155)] || et[e2 = "E(5h", n2 = 257, r2 = 328, o2 = t2, lt(n2 - -765, n2 - 116, r2 - 464, o2 - 19, e2)];
821
- var e2, n2, r2, o2, s2, i2, a2, l2;
841
+ [K(0, 0, 0, 1362, "1bOh")]() {
842
+ const t2 = ")9q6";
843
+ function e2(t3, e3, n2, r2, o2) {
844
+ return ot(0, r2 - 522, 0, 0, n2);
845
+ }
846
+ return rt[e2(0, 0, "HJ9Z", 1071)] || rt[e2(0, 0, t2, 1066)];
822
847
  }
823
- [ht(1398, "E(5h", 1500, 1409)](t2) {
824
- ot = true;
848
+ [ot(0, 481, 0, 0, "ym93")](t2) {
849
+ lt = true;
825
850
  }
826
- async [ct("WUFW", 1080, 1196, 1193, 1121)]() {
827
- return this[t2 = 1313, e2 = 1348, n2 = "iWaH", ht(t2 - 62, n2, e2 - 166, e2 - -17)](true);
828
- var t2, e2, n2;
851
+ async [ot(0, 547, 0, 0, "X(ea")]() {
852
+ return this[t2 = "*MTU", e2 = -444, st(t2, 0, 0, 0, e2 - -733)](true);
853
+ var t2, e2;
829
854
  }
830
- async [ct("iWaH", 1398, 1338, 1347, 1303)](t2, e2) {
831
- const n2 = "iWcW", r2 = await this[o2 = 684, s2 = "QIbJ", Q(0, 0, o2 - -132, 0, s2)]();
832
- var o2, s2, i2, a2;
833
- return await this[i2 = -469, a2 = n2, Y(0, i2 - -1241, 0, a2)](true, t2, e2), r2;
855
+ async [it("Bcx7", 0, 1312)](t2, e2) {
856
+ const n2 = "9Jn*", r2 = 1349, o2 = "NgH6", s2 = 58, i2 = 75, a2 = await this[l2 = 1453, c2 = n2, K(0, 0, 0, l2 - s2, c2)]();
857
+ var l2, c2, h2, d2;
858
+ return await this[h2 = r2, d2 = o2, K(0, 0, 0, h2 - i2, d2)](true, t2, e2), a2;
834
859
  }
835
- async [Q(0, 0, 780, 0, "S5o)")]() {
836
- const t2 = "Pb6Y", e2 = 584;
837
- var n2, r2;
838
- return await G[n2 = t2, r2 = e2, Q(0, 0, r2 - -190, 0, n2)]();
860
+ async [it("aEJv", 0, 1372)]() {
861
+ var t2, e2;
862
+ return await G[t2 = -296, e2 = "WU8X", st(e2, 0, 0, 0, t2 - -498)]();
839
863
  }
840
864
  }
841
- const at = new it();
842
- function lt(t2, e2, n2, r2, o2) {
843
- return nt(t2 - 395, o2);
844
- }
845
- function ct(t2, e2, n2, r2, o2) {
846
- return nt(o2 - 669, t2);
847
- }
848
- function ht(t2, e2, n2, r2, o2) {
849
- return nt(r2 - 814, e2);
850
- }
851
- function dt() {
852
- const t2 = ["W4VdRmkEzgxdKSkq", "W4aUWRBdRHTVW7BdLeqpt8oBWQpcSa", "WQxcImkFfSkLnvi", "j0lcRSoojxy4iKKkWRlcIa", "WRKoW6rzWRtdOIPtnSk6W5O", "Cuq9WRWGWQZdKmkuWPeZhmo3", "tSoKymo9jq", "W4PikdVcISkGACkhWQ1WWRdcSmor", "W5ddLtRcVCo/WPO", "ASoymu3dR8ocuCoHwW", "oSkuW40Zd8kmxSkLW73dV8oCWPdcMt8", "luJcOSo/W4SkasG+W6ZcVshcTG", "u8kzowiZndFcO8oOvG", "WPykW6XBWQNdHcPjpq", "bCoQWP3cKKxcQazVvq", "vSo0W4ZcNvL7", "D8krzCkxC3iiW47dKSkrWQxdRxG", "W5awiYy", "W7GTWRldRa", "W4DCgrmPW6pdOJJdGgBdHSopW4a", "WOFdG8kDWRjkW6tcVh7dQuPgsmki", "mmoUFc3cM8ob", "W6CVW6ddGX5LW7C", "W4KqftJdVeu", "W53dSSk2WPhcISktq8kNWRnzh8ouuqRdGKK7W58H", "WQZcJ8kisKfiW64h", "W4fAedtcG8k7xq", "W6BdLG3cOSoWWOi4WOFcHuRdJCowWQG", "lL/cUCoEW4SAaq", "W4jyaZKPW6xdKYpdHxS", "z8k+yxb/lCkYWPFdPCkmEG", "f8kFW48ZcSkjsCovW6VdUCoFWOxcLtu", "DGpcI8oUeJ8", "W6yZWRGSgCkNmq", "W47dQ0CElmke", "AZ3cLMbXWQOu", "W7HkWRGgW7JcKXfVp8k0W77cRq", "WR0AWPDIW4JcKSklEtJdKGxdP8kxW5a", "W4hcHCocW6WhWPldOfJdUxzMuW", "sSoJW43cL0rGWOK", "i8ooWRSSDmkwWOG", "ymosm1JdTSoyw8oH", "cSoWEblcLmohWQbvWPDzcmoXWP0", "DSkaFSk6Exu2W4G", "h1hcU8oGoxS1mMG", "zSkeASklyNmpW5xdJ8kx", "lCotWRidDmka", "fmkFW48wbSkrw8oSW7xdOW", "W5xcSSoDWQBcUmkyxSoTW4uRW4HPWQRdTa", "W689WRxdHJddTr/dV8oCWRj6WRbHxmo8", "emkyW5FdIfuLWPO", "w8o4y8o7iW", "W57dR00fkSktWO0RW4pdHCkiBCkH", "zmk4AwX/emkaWPVdTCkb", "cSoBjbtdOXhcGJZcSmkdWRhdMG", "i07cTSkIpgCGi2GdWRu", "WPO4WQiBW7hcN8kEvmkvW4lcSq", "bCofWP/cIutcQcTrzgrOdG", "W49mmHFcMSk7vCkrWOb/WRdcSa", "W4/cT37cQgK1WRydW69YWR8nba", "W4RcS2tcHhKUWOOvW5b5WRKBcCkKwa", "pSoAWOdcGupcSHO", "W53cMmom", "WP4kWOBcKCoHEWi", "WRmcWR8GeCkFka", "C8kPFh9Id8kK", "jmorbLLIW7/dMGXlxW", "W4JcUgy", "W6HoW5C1WPxdI8opgqBdSWxdMmkgW7C", "WR8UW6HbFCoFW6K", "W4FcTSohWRBcSCkXwa", "aCoOdSk0bmkQjCo3cSoCWOnEWPeI", "Ag52W4nRWOVcT8ons0JdKLG", "W5hdHWZcJSoMWPuzWPlcHuldI8ouWQG", "oCoGWOmBmCo/WP3cOCkiWQFcRq", "wCkvlMq1B3xdHSkI", "W6rxuCkKW7Hx", "W5xcMmogW6mAWRJdTG", "nmoAWONcHwpcUa", "zYGwW5VcJbi", "CSk0EhD5gG", "W64oW5DmFmoZ", "bSoIfmkMaSkQm8oWeCobWOvKWPSvsd9JWRfY", "W6iiBCoRzvxdNuHZW5zVFCkj", "zvuOWOWHWRBdQ8kzWQe6", "WOyGWPnXW47cISkxDHu", "aCowe11GW6xdM2DIt3NcKxtdMCoDBmodW6NcMt59W4pdJLVdHSotdq", "WPldUr9EW4n7W7JcPXpdLrxcTG", "W73dR8k6BgFdJ8kWW6tdRJ53WQ3cTa", "W5C8WQ7dLdFdTr3dRW", "dCoScCkqfCkLm8oxdmoCWOjeWOC", "CrxdRCkIydfKAdW", "lSoMWQv9xCoJWOm7dmo+WQ4y", "WPFdVqvYW5nGW4tcSt7dMHxcTSov", "W6SyW7DeBmo+", "W7xdJXZcRSoWWOuzW4lcLfpdLmotWQNcUttdUcKDWOq", "vd0kW5xcLG4", "aSoOdSkApG", "W7CpW7zoCCoLW6G", "oCooobRdUq0", "W5BcKSoFW4ywWQldPexdTgW", "W5n0lmotW5eTWRlcLCkUWQXyW6X0", "WQNcTSk7p8kycx9WWQi", "W6FdSSk4CxddUSkgW7pdUYy", "WQOAWPDiW4tcHW", "t8kcm2KP", "CCk+BxTXbG", "AtxcG110W6C", "sYGiW5VcLG", "W5zjfG84W6ldPspdNwa", "WR8uiSoHWQGcqSoDAZiUFXC", "W4fAcdRcI8k3", "WRSEWO1TW4tcJmkOwYpdLr/dTSkw", "eSkoW6ddOumV", "W40UWQddQdddVqFdSSoLWRKOWRnTqCo7dCo8pgxcH8o8W68RWQqJ", "tdJcI8oDjWVdTCo2kt5zjHFcV8kgW7SDuCoI", "W5tcMCopW7eKWR/dSuq", "pw/dKWqVW75dW49FW7jun8o+", "W74XWRldRthcVa", "b8kiW5iZdW", "WR8zWPpcNmo9DGusWPpdI0xcLaxdHeDwW5JdOG", "lmkEW5qceCkmvmoX", "uY7cG1HXWQmqW71G", "W4RcS2tcJwK+", "pCokjtJdTqBcPs3cQSkeWRVdHKq", "C3O1W4fCW4a", "f0pcOmosW44aagyOW7hcHI3cVstcHSoIW6a1", "WRtcN8kBsG", "W6iKW7JdHqzK", "o8ooWRyMB8kAWObzW6NcPmkLWQBdKq", "W6FdUmoUWOK", "AxLNW6rKWOC", "omoEWRec", "nSoQWOqPoSo/WOtcSq", "W6qsW7DfCCoXW55jeSkDW7W", "W4FcLSohW7CwWPddSW", "WPddQGPW", "fSoLh8kWgCk+oSo4fmoCWO5pWPO1qHv6WRDU", "C1COWPi", "lmooWRylB8kvWPy", "W6pdR8o5WPdcISkdqW", "C8o7lmoWpLb1mfGPumklW57cSmoBodOzt28", "ymofn0NdUCop", "WQuvW65sWQ7dKY52pCkM", "j8oAd1LVW7G", "bSoeW6ipFSkjWOXfW7VcTCkhWQZdHG", "yCkFr8kwDwe0W5NdV8kEWQxdRu99W6uKWPnb", "W49mmHhcISkMwmkCWQHT", "WRSoWQGKfSkapHlcRSk2", "wmoDW6ldP0qVWPNdV15pWPaZqW", "WRdcLmkcqvT1W64hxuVdPq", "yd3cJfnSWQ8", "tSo8ACoXjuv4", "WOPblmo7W4GAWR0", "ANSsW4bmW6SODSogWR0A", "W67cH8ozW6SDWQldH03dTNfVuG", "W6KKW6ldOaDLW7/dNMephCoJWQ/cPSkC", "y2rHW6bQWOVcTmoh", "W5jMeCo5W40R", "CCkvF8kyF2WRW6ZdICkwWR/dVhLT", "sCo0W5BcSuHQ", "zHJdOmkcW7SMpIKmW4G", "W4FdSCkSDL7dKSkaW6K", "WPO/WRGD", "WReEWPbgW5NcNCkDwt7dKGtdVCkb", "iSokjs3dVWZcRINcU8kj", "aSkKWPddJhHsWRZcTgxcMa", "W5tcJ8oBW6SbWQ8", "AWlcP8o1", "W7JdK8oDhNz0W5enEg8", "av3cPmoAW4WDjICJW6FcKZy", "vu4KWPmGWQVdLCkeWQW", "W7DzndZcGCkM", "sve7WPC7WRhdUmkvWQeZaCo+WQe", "W4FdTSoVySojxKrwWQddUmosbq", "xmoJW4FcN1D2", "AmkgW5NdLH3dPv9yAwzacmkC", "WQ0zW7LwWQNdJdHTkSk2W4BcSCk0W7q", "W6LbymkZW7bxaq", "jCo/pcG8wSoHWPRdOSkfuZ0s", "W53cKSofW6uhWR4", "smkOz055cSk5WOy", "tCoMy8o5oe5X", "l8ooWRy+B8kuWOa", "W7JcMCoDW6mFWR/dOqZdThzPrCk3kCoqWO7dJSoVW4DP", "zWCuW4dcJriZjsK", "nSoqWOpcH17cTa", "xZ0kW5FcKaCOhZGcaCk+vau", "n1HZW6n7WQVcVW", "WR9iWQSvtCoxW51xeCk1", "W7v6F8o9W4W3", "sYWfW4BcLXu", "W5PmntRcG8kKxa", "WPhcPCkUhCkEcxTnWQm", "AZ3cLNzTWQ4DW61tW5TEnmoKWPBdTq", "nmkhzb/cSSktdSo+rCkWoSo/WPW", "f8oif1vIW7G", "g8oIWQ1/cCoRWO8Scmo5WReoeILCnq", "jmohoSojitLQW7RdOCkZWQNdUg8", "amkpW4SIeCkasCo2W4NdOSoyWP/cHa"];
853
- return (dt = function() {
854
- return t2;
855
- })();
856
- }
857
- const ut = (t2, e2) => {
865
+ const dt = new ht(), ut = (t2, e2) => {
858
866
  const n2 = [];
859
867
  for (let r2 = 0; r2 < t2.length; r2++) {
860
868
  const o2 = t2[r2];
@@ -1755,15 +1763,15 @@ var Dt;
1755
1763
  }
1756
1764
  t2.OutOfOrderError = e2;
1757
1765
  })(Dt || (Dt = {}));
1758
- const Lt = { lessThanXSeconds: { one: "less than a second", other: "less than {{count}} seconds" }, xSeconds: { one: "1 second", other: "{{count}} seconds" }, halfAMinute: "half a minute", lessThanXMinutes: { one: "less than a minute", other: "less than {{count}} minutes" }, xMinutes: { one: "1 minute", other: "{{count}} minutes" }, aboutXHours: { one: "about 1 hour", other: "about {{count}} hours" }, xHours: { one: "1 hour", other: "{{count}} hours" }, xDays: { one: "1 day", other: "{{count}} days" }, aboutXWeeks: { one: "about 1 week", other: "about {{count}} weeks" }, xWeeks: { one: "1 week", other: "{{count}} weeks" }, aboutXMonths: { one: "about 1 month", other: "about {{count}} months" }, xMonths: { one: "1 month", other: "{{count}} months" }, aboutXYears: { one: "about 1 year", other: "about {{count}} years" }, xYears: { one: "1 year", other: "{{count}} years" }, overXYears: { one: "over 1 year", other: "over {{count}} years" }, almostXYears: { one: "almost 1 year", other: "almost {{count}} years" } };
1759
- function Bt(t2) {
1766
+ const Bt = { lessThanXSeconds: { one: "less than a second", other: "less than {{count}} seconds" }, xSeconds: { one: "1 second", other: "{{count}} seconds" }, halfAMinute: "half a minute", lessThanXMinutes: { one: "less than a minute", other: "less than {{count}} minutes" }, xMinutes: { one: "1 minute", other: "{{count}} minutes" }, aboutXHours: { one: "about 1 hour", other: "about {{count}} hours" }, xHours: { one: "1 hour", other: "{{count}} hours" }, xDays: { one: "1 day", other: "{{count}} days" }, aboutXWeeks: { one: "about 1 week", other: "about {{count}} weeks" }, xWeeks: { one: "1 week", other: "{{count}} weeks" }, aboutXMonths: { one: "about 1 month", other: "about {{count}} months" }, xMonths: { one: "1 month", other: "{{count}} months" }, aboutXYears: { one: "about 1 year", other: "about {{count}} years" }, xYears: { one: "1 year", other: "{{count}} years" }, overXYears: { one: "over 1 year", other: "over {{count}} years" }, almostXYears: { one: "almost 1 year", other: "almost {{count}} years" } };
1767
+ function Lt(t2) {
1760
1768
  return (e2 = {}) => {
1761
1769
  const n2 = e2.width ? String(e2.width) : t2.defaultWidth;
1762
1770
  return t2.formats[n2] || t2.formats[t2.defaultWidth];
1763
1771
  };
1764
1772
  }
1765
- const zt = { date: Bt({ formats: { full: "EEEE, MMMM do, y", long: "MMMM do, y", medium: "MMM d, y", short: "MM/dd/yyyy" }, defaultWidth: "full" }), time: Bt({ formats: { full: "h:mm:ss a zzzz", long: "h:mm:ss a z", medium: "h:mm:ss a", short: "h:mm a" }, defaultWidth: "full" }), dateTime: Bt({ formats: { full: "{{date}} 'at' {{time}}", long: "{{date}} 'at' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" }, defaultWidth: "full" }) }, Pt = { lastWeek: "'last' eeee 'at' p", yesterday: "'yesterday at' p", today: "'today at' p", tomorrow: "'tomorrow at' p", nextWeek: "eeee 'at' p", other: "P" };
1766
- function Wt(t2) {
1773
+ const zt = { date: Lt({ formats: { full: "EEEE, MMMM do, y", long: "MMMM do, y", medium: "MMM d, y", short: "MM/dd/yyyy" }, defaultWidth: "full" }), time: Lt({ formats: { full: "h:mm:ss a zzzz", long: "h:mm:ss a z", medium: "h:mm:ss a", short: "h:mm a" }, defaultWidth: "full" }), dateTime: Lt({ formats: { full: "{{date}} 'at' {{time}}", long: "{{date}} 'at' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" }, defaultWidth: "full" }) }, Pt = { lastWeek: "'last' eeee 'at' p", yesterday: "'yesterday at' p", today: "'today at' p", tomorrow: "'tomorrow at' p", nextWeek: "eeee 'at' p", other: "P" };
1774
+ function Ht(t2) {
1767
1775
  return (e2, n2) => {
1768
1776
  let r2;
1769
1777
  if ("formatting" === (n2?.context ? String(n2.context) : "standalone") && t2.formattingValues) {
@@ -1776,7 +1784,7 @@ function Wt(t2) {
1776
1784
  return r2[t2.argumentCallback ? t2.argumentCallback(e2) : e2];
1777
1785
  };
1778
1786
  }
1779
- function Ht(t2) {
1787
+ function Wt(t2) {
1780
1788
  return (e2, n2 = {}) => {
1781
1789
  const r2 = n2.width, o2 = r2 && t2.matchPatterns[r2] || t2.matchPatterns[t2.defaultMatchWidth], s2 = e2.match(o2);
1782
1790
  if (!s2) return null;
@@ -1795,7 +1803,7 @@ function Ht(t2) {
1795
1803
  var Vt;
1796
1804
  const $t = { code: "en-US", formatDistance: (t2, e2, n2) => {
1797
1805
  let r2;
1798
- const o2 = Lt[t2];
1806
+ const o2 = Bt[t2];
1799
1807
  return r2 = "string" == typeof o2 ? o2 : 1 === e2 ? o2.one : o2.other.replace("{{count}}", e2.toString()), n2?.addSuffix ? n2.comparison && n2.comparison > 0 ? "in " + r2 : r2 + " ago" : r2;
1800
1808
  }, formatLong: zt, formatRelative: (t2, e2, n2, r2) => Pt[t2], localize: { ordinalNumber: (t2, e2) => {
1801
1809
  const n2 = Number(t2), r2 = n2 % 100;
@@ -1808,14 +1816,14 @@ const $t = { code: "en-US", formatDistance: (t2, e2, n2) => {
1808
1816
  return n2 + "rd";
1809
1817
  }
1810
1818
  return n2 + "th";
1811
- }, era: Wt({ values: { narrow: ["B", "A"], abbreviated: ["BC", "AD"], wide: ["Before Christ", "Anno Domini"] }, defaultWidth: "wide" }), quarter: Wt({ values: { narrow: ["1", "2", "3", "4"], abbreviated: ["Q1", "Q2", "Q3", "Q4"], wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"] }, defaultWidth: "wide", argumentCallback: (t2) => t2 - 1 }), month: Wt({ values: { narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"] }, defaultWidth: "wide" }), day: Wt({ values: { narrow: ["S", "M", "T", "W", "T", "F", "S"], short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] }, defaultWidth: "wide" }), dayPeriod: Wt({ values: { narrow: { am: "a", pm: "p", midnight: "mi", noon: "n", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" }, abbreviated: { am: "AM", pm: "PM", midnight: "midnight", noon: "noon", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" }, wide: { am: "a.m.", pm: "p.m.", midnight: "midnight", noon: "noon", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" } }, defaultWidth: "wide", formattingValues: { narrow: { am: "a", pm: "p", midnight: "mi", noon: "n", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" }, abbreviated: { am: "AM", pm: "PM", midnight: "midnight", noon: "noon", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" }, wide: { am: "a.m.", pm: "p.m.", midnight: "midnight", noon: "noon", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" } }, defaultFormattingWidth: "wide" }) }, match: { ordinalNumber: (Vt = { matchPattern: /^(\d+)(th|st|nd|rd)?/i, parsePattern: /\d+/i, valueCallback: (t2) => parseInt(t2, 10) }, (t2, e2 = {}) => {
1819
+ }, era: Ht({ values: { narrow: ["B", "A"], abbreviated: ["BC", "AD"], wide: ["Before Christ", "Anno Domini"] }, defaultWidth: "wide" }), quarter: Ht({ values: { narrow: ["1", "2", "3", "4"], abbreviated: ["Q1", "Q2", "Q3", "Q4"], wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"] }, defaultWidth: "wide", argumentCallback: (t2) => t2 - 1 }), month: Ht({ values: { narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"] }, defaultWidth: "wide" }), day: Ht({ values: { narrow: ["S", "M", "T", "W", "T", "F", "S"], short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] }, defaultWidth: "wide" }), dayPeriod: Ht({ values: { narrow: { am: "a", pm: "p", midnight: "mi", noon: "n", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" }, abbreviated: { am: "AM", pm: "PM", midnight: "midnight", noon: "noon", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" }, wide: { am: "a.m.", pm: "p.m.", midnight: "midnight", noon: "noon", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" } }, defaultWidth: "wide", formattingValues: { narrow: { am: "a", pm: "p", midnight: "mi", noon: "n", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" }, abbreviated: { am: "AM", pm: "PM", midnight: "midnight", noon: "noon", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" }, wide: { am: "a.m.", pm: "p.m.", midnight: "midnight", noon: "noon", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" } }, defaultFormattingWidth: "wide" }) }, match: { ordinalNumber: (Vt = { matchPattern: /^(\d+)(th|st|nd|rd)?/i, parsePattern: /\d+/i, valueCallback: (t2) => parseInt(t2, 10) }, (t2, e2 = {}) => {
1812
1820
  const n2 = t2.match(Vt.matchPattern);
1813
1821
  if (!n2) return null;
1814
1822
  const r2 = n2[0], o2 = t2.match(Vt.parsePattern);
1815
1823
  if (!o2) return null;
1816
1824
  let s2 = Vt.valueCallback ? Vt.valueCallback(o2[0]) : o2[0];
1817
1825
  return s2 = e2.valueCallback ? e2.valueCallback(s2) : s2, { value: s2, rest: t2.slice(r2.length) };
1818
- }), era: Ht({ matchPatterns: { narrow: /^(b|a)/i, abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, wide: /^(before christ|before common era|anno domini|common era)/i }, defaultMatchWidth: "wide", parsePatterns: { any: [/^b/i, /^(a|c)/i] }, defaultParseWidth: "any" }), quarter: Ht({ matchPatterns: { narrow: /^[1234]/i, abbreviated: /^q[1234]/i, wide: /^[1234](th|st|nd|rd)? quarter/i }, defaultMatchWidth: "wide", parsePatterns: { any: [/1/i, /2/i, /3/i, /4/i] }, defaultParseWidth: "any", valueCallback: (t2) => t2 + 1 }), month: Ht({ matchPatterns: { narrow: /^[jfmasond]/i, abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i, wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i }, defaultMatchWidth: "wide", parsePatterns: { narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] }, defaultParseWidth: "any" }), day: Ht({ matchPatterns: { narrow: /^[smtwf]/i, short: /^(su|mo|tu|we|th|fr|sa)/i, abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i, wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i }, defaultMatchWidth: "wide", parsePatterns: { narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] }, defaultParseWidth: "any" }), dayPeriod: Ht({ matchPatterns: { narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i }, defaultMatchWidth: "any", parsePatterns: { any: { am: /^a/i, pm: /^p/i, midnight: /^mi/i, noon: /^no/i, morning: /morning/i, afternoon: /afternoon/i, evening: /evening/i, night: /night/i } }, defaultParseWidth: "any" }) }, options: { weekStartsOn: 0, firstWeekContainsDate: 1 } }, jt = (t2, e2) => {
1826
+ }), era: Wt({ matchPatterns: { narrow: /^(b|a)/i, abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, wide: /^(before christ|before common era|anno domini|common era)/i }, defaultMatchWidth: "wide", parsePatterns: { any: [/^b/i, /^(a|c)/i] }, defaultParseWidth: "any" }), quarter: Wt({ matchPatterns: { narrow: /^[1234]/i, abbreviated: /^q[1234]/i, wide: /^[1234](th|st|nd|rd)? quarter/i }, defaultMatchWidth: "wide", parsePatterns: { any: [/1/i, /2/i, /3/i, /4/i] }, defaultParseWidth: "any", valueCallback: (t2) => t2 + 1 }), month: Wt({ matchPatterns: { narrow: /^[jfmasond]/i, abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i, wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i }, defaultMatchWidth: "wide", parsePatterns: { narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] }, defaultParseWidth: "any" }), day: Wt({ matchPatterns: { narrow: /^[smtwf]/i, short: /^(su|mo|tu|we|th|fr|sa)/i, abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i, wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i }, defaultMatchWidth: "wide", parsePatterns: { narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] }, defaultParseWidth: "any" }), dayPeriod: Wt({ matchPatterns: { narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i }, defaultMatchWidth: "any", parsePatterns: { any: { am: /^a/i, pm: /^p/i, midnight: /^mi/i, noon: /^no/i, morning: /morning/i, afternoon: /afternoon/i, evening: /evening/i, night: /night/i } }, defaultParseWidth: "any" }) }, options: { weekStartsOn: 0, firstWeekContainsDate: 1 } }, jt = (t2, e2) => {
1819
1827
  switch (t2) {
1820
1828
  case "P":
1821
1829
  return e2.date({ width: "short" });
@@ -1855,19 +1863,19 @@ const $t = { code: "en-US", formatDistance: (t2, e2, n2) => {
1855
1863
  s2 = e2.dateTime({ width: "full" });
1856
1864
  }
1857
1865
  return s2.replace("{{date}}", jt(r2, e2)).replace("{{time}}", Gt(o2, e2));
1858
- } }, Jt = /^D+$/, Kt = /^Y+$/, qt = ["D", "DD", "YY", "YYYY"];
1866
+ } }, Jt = /^D+$/, qt = /^Y+$/, Kt = ["D", "DD", "YY", "YYYY"];
1859
1867
  function Xt(t2) {
1860
1868
  return Jt.test(t2);
1861
1869
  }
1862
1870
  function Yt(t2) {
1863
- return Kt.test(t2);
1871
+ return qt.test(t2);
1864
1872
  }
1865
1873
  function Qt(t2, e2, n2) {
1866
1874
  const r2 = (function(t3, e3, n3) {
1867
1875
  const r3 = "Y" === t3[0] ? "years" : "days of the month";
1868
1876
  return `Use \`${t3.toLowerCase()}\` instead of \`${t3}\` (in \`${e3}\`) for formatting ${r3} to the input \`${n3}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
1869
1877
  })(t2, e2, n2);
1870
- if (console.warn(r2), qt.includes(t2)) throw new RangeError(r2);
1878
+ if (console.warn(r2), Kt.includes(t2)) throw new RangeError(r2);
1871
1879
  }
1872
1880
  const Zt = Symbol.for("constructDateFrom");
1873
1881
  function te(t2, e2) {
@@ -2133,13 +2141,13 @@ function De(t2, e2) {
2133
2141
  var n2 = "" + t2;
2134
2142
  return n2.length >= e2 ? n2 : Fe(" ", e2 - n2.length) + n2;
2135
2143
  }
2136
- function Le(t2, e2) {
2144
+ function Be(t2, e2) {
2137
2145
  var n2 = "" + t2;
2138
2146
  return n2.length >= e2 ? n2 : n2 + Fe(" ", e2 - n2.length);
2139
2147
  }
2140
- var Be = Math.pow(2, 32);
2148
+ var Le = Math.pow(2, 32);
2141
2149
  function ze(t2, e2) {
2142
- return t2 > Be || t2 < -Be ? (function(t3, e3) {
2150
+ return t2 > Le || t2 < -Le ? (function(t3, e3) {
2143
2151
  var n2 = "" + Math.round(t3);
2144
2152
  return n2.length >= e3 ? n2 : Fe("0", e3 - n2.length) + n2;
2145
2153
  })(t2, e2) : (function(t3, e3) {
@@ -2150,7 +2158,7 @@ function ze(t2, e2) {
2150
2158
  function Pe(t2, e2) {
2151
2159
  return e2 = e2 || 0, t2.length >= 7 + e2 && 103 == (32 | t2.charCodeAt(e2)) && 101 == (32 | t2.charCodeAt(e2 + 1)) && 110 == (32 | t2.charCodeAt(e2 + 2)) && 101 == (32 | t2.charCodeAt(e2 + 3)) && 114 == (32 | t2.charCodeAt(e2 + 4)) && 97 == (32 | t2.charCodeAt(e2 + 5)) && 108 == (32 | t2.charCodeAt(e2 + 6));
2152
2160
  }
2153
- var We = [["Sun", "Sunday"], ["Mon", "Monday"], ["Tue", "Tuesday"], ["Wed", "Wednesday"], ["Thu", "Thursday"], ["Fri", "Friday"], ["Sat", "Saturday"]], He = [["J", "Jan", "January"], ["F", "Feb", "February"], ["M", "Mar", "March"], ["A", "Apr", "April"], ["M", "May", "May"], ["J", "Jun", "June"], ["J", "Jul", "July"], ["A", "Aug", "August"], ["S", "Sep", "September"], ["O", "Oct", "October"], ["N", "Nov", "November"], ["D", "Dec", "December"]], Ve = { 0: "General", 1: "0", 2: "0.00", 3: "#,##0", 4: "#,##0.00", 5: "$#,##0_);($#,##0)", 6: "$#,##0_);[Red]($#,##0)", 7: "$#,##0.00_);($#,##0.00)", 8: "$#,##0.00_);[Red]($#,##0.00)", 9: "0%", 10: "0.00%", 11: "0.00E+00", 12: "# ?/?", 13: "# ??/??", 14: "m/d/yy", 15: "d-mmm-yy", 16: "d-mmm", 17: "mmm-yy", 18: "h:mm AM/PM", 19: "h:mm:ss AM/PM", 20: "h:mm", 21: "h:mm:ss", 22: "m/d/yy h:mm", 23: "General", 24: "General", 25: "General", 26: "General", 27: "m/d/yyyy", 28: "m/d/yyyy", 29: "m/d/yyyy", 30: "m/d/yyyy", 32: "h:mm:ss", 31: "m/d/yyyy", 33: "h:mm:ss", 34: "h:mm:ss", 35: "h:mm:ss", 36: "m/d/yyyy", 37: "#,##0_);(#,##0)", 38: "#,##0_);[Red](#,##0)", 39: "#,##0.00_);(#,##0.00)", 40: "#,##0.00_);[Red](#,##0.00)", 41: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)', 42: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)', 43: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)', 44: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)', 45: "mm:ss", 46: "[h]:mm:ss", 47: "mmss.0", 48: "##0.0E+0", 49: "@", 50: "m/d/yyyy", 51: "m/d/yyyy", 52: "m/d/yyyy", 53: "m/d/yyyy", 54: "m/d/yyyy", 55: "m/d/yyyy", 56: '"上午/下午 "hh"時"mm"分"ss"秒 "' }, $e = { 5: 37, 6: 38, 7: 39, 8: 40, 23: 0, 24: 0, 25: 0, 26: 0, 27: 14, 28: 14, 29: 14, 30: 14, 31: 14, 50: 14, 51: 14, 52: 14, 53: 14, 54: 14, 55: 14, 56: 14, 57: 14, 58: 14, 59: 1, 60: 2, 61: 3, 62: 4, 67: 9, 68: 10, 69: 12, 70: 13, 71: 14, 72: 14, 73: 15, 74: 16, 75: 17, 76: 20, 77: 21, 78: 22, 79: 45, 80: 46, 81: 47, 82: 0 }, je = { 5: '"$"#,##0_);\\("$"#,##0\\)', 63: '"$"#,##0_);\\("$"#,##0\\)', 6: '"$"#,##0_);[Red]\\("$"#,##0\\)', 64: '"$"#,##0_);[Red]\\("$"#,##0\\)', 7: '"$"#,##0.00_);\\("$"#,##0.00\\)', 65: '"$"#,##0.00_);\\("$"#,##0.00\\)', 8: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', 66: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', 41: '_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)', 42: '_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)', 43: '_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)', 44: '_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)' };
2161
+ var He = [["Sun", "Sunday"], ["Mon", "Monday"], ["Tue", "Tuesday"], ["Wed", "Wednesday"], ["Thu", "Thursday"], ["Fri", "Friday"], ["Sat", "Saturday"]], We = [["J", "Jan", "January"], ["F", "Feb", "February"], ["M", "Mar", "March"], ["A", "Apr", "April"], ["M", "May", "May"], ["J", "Jun", "June"], ["J", "Jul", "July"], ["A", "Aug", "August"], ["S", "Sep", "September"], ["O", "Oct", "October"], ["N", "Nov", "November"], ["D", "Dec", "December"]], Ve = { 0: "General", 1: "0", 2: "0.00", 3: "#,##0", 4: "#,##0.00", 5: "$#,##0_);($#,##0)", 6: "$#,##0_);[Red]($#,##0)", 7: "$#,##0.00_);($#,##0.00)", 8: "$#,##0.00_);[Red]($#,##0.00)", 9: "0%", 10: "0.00%", 11: "0.00E+00", 12: "# ?/?", 13: "# ??/??", 14: "m/d/yy", 15: "d-mmm-yy", 16: "d-mmm", 17: "mmm-yy", 18: "h:mm AM/PM", 19: "h:mm:ss AM/PM", 20: "h:mm", 21: "h:mm:ss", 22: "m/d/yy h:mm", 23: "General", 24: "General", 25: "General", 26: "General", 27: "m/d/yyyy", 28: "m/d/yyyy", 29: "m/d/yyyy", 30: "m/d/yyyy", 32: "h:mm:ss", 31: "m/d/yyyy", 33: "h:mm:ss", 34: "h:mm:ss", 35: "h:mm:ss", 36: "m/d/yyyy", 37: "#,##0_);(#,##0)", 38: "#,##0_);[Red](#,##0)", 39: "#,##0.00_);(#,##0.00)", 40: "#,##0.00_);[Red](#,##0.00)", 41: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)', 42: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)', 43: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)', 44: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)', 45: "mm:ss", 46: "[h]:mm:ss", 47: "mmss.0", 48: "##0.0E+0", 49: "@", 50: "m/d/yyyy", 51: "m/d/yyyy", 52: "m/d/yyyy", 53: "m/d/yyyy", 54: "m/d/yyyy", 55: "m/d/yyyy", 56: '"上午/下午 "hh"時"mm"分"ss"秒 "' }, $e = { 5: 37, 6: 38, 7: 39, 8: 40, 23: 0, 24: 0, 25: 0, 26: 0, 27: 14, 28: 14, 29: 14, 30: 14, 31: 14, 50: 14, 51: 14, 52: 14, 53: 14, 54: 14, 55: 14, 56: 14, 57: 14, 58: 14, 59: 1, 60: 2, 61: 3, 62: 4, 67: 9, 68: 10, 69: 12, 70: 13, 71: 14, 72: 14, 73: 15, 74: 16, 75: 17, 76: 20, 77: 21, 78: 22, 79: 45, 80: 46, 81: 47, 82: 0 }, je = { 5: '"$"#,##0_);\\("$"#,##0\\)', 63: '"$"#,##0_);\\("$"#,##0\\)', 6: '"$"#,##0_);[Red]\\("$"#,##0\\)', 64: '"$"#,##0_);[Red]\\("$"#,##0\\)', 7: '"$"#,##0.00_);\\("$"#,##0.00\\)', 65: '"$"#,##0.00_);\\("$"#,##0.00\\)', 8: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', 66: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', 41: '_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)', 42: '_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)', 43: '_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)', 44: '_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)' };
2154
2162
  function Ge(t2, e2, n2) {
2155
2163
  for (var r2 = t2 < 0 ? -1 : 1, o2 = t2 * r2, s2 = 0, i2 = 1, a2 = 0, l2 = 1, c2 = 0, h2 = 0, d2 = Math.floor(o2); c2 < e2 && (a2 = (d2 = Math.floor(o2)) * i2 + s2, h2 = d2 * c2 + l2, !(o2 - d2 < 5e-8)); ) o2 = 1 / (o2 - d2), s2 = i2, i2 = a2, l2 = c2, c2 = h2;
2156
2164
  if (h2 > e2 && (c2 > e2 ? (h2 = l2, a2 = s2) : (h2 = c2, a2 = i2)), !n2) return [0, r2 * a2, h2];
@@ -2174,10 +2182,10 @@ function Ue(t2, e2, n2) {
2174
2182
  }
2175
2183
  return a2.y = i2[0], a2.m = i2[1], a2.d = i2[2], a2.S = o2 % 60, o2 = Math.floor(o2 / 60), a2.M = o2 % 60, o2 = Math.floor(o2 / 60), a2.H = o2, a2.q = s2, a2;
2176
2184
  }
2177
- var Je = new Date(1899, 11, 31, 0, 0, 0), Ke = Je.getTime(), qe = new Date(1900, 2, 1, 0, 0, 0);
2185
+ var Je = new Date(1899, 11, 31, 0, 0, 0), qe = Je.getTime(), Ke = new Date(1900, 2, 1, 0, 0, 0);
2178
2186
  function Xe(t2, e2 = false) {
2179
2187
  var n2 = t2.getTime();
2180
- return e2 ? n2 -= 1262304e5 : t2 >= qe && (n2 += 864e5), (n2 - (Ke + 6e4 * (t2.getTimezoneOffset() - Je.getTimezoneOffset()))) / 864e5;
2188
+ return e2 ? n2 -= 1262304e5 : t2 >= Ke && (n2 += 864e5), (n2 - (qe + 6e4 * (t2.getTimezoneOffset() - Je.getTimezoneOffset()))) / 864e5;
2181
2189
  }
2182
2190
  function Ye(t2) {
2183
2191
  return -1 === t2.indexOf(".") ? t2 : t2.replace(/(?:\.0*|(\.\d*[1-9])0+)$/, "$1");
@@ -2232,11 +2240,11 @@ function tn(t2, e2, n2, r2) {
2232
2240
  o2 = n2.m, c2 = e2.length;
2233
2241
  break;
2234
2242
  case 3:
2235
- return He[n2.m - 1][1];
2243
+ return We[n2.m - 1][1];
2236
2244
  case 5:
2237
- return He[n2.m - 1][0];
2245
+ return We[n2.m - 1][0];
2238
2246
  default:
2239
- return He[n2.m - 1][2];
2247
+ return We[n2.m - 1][2];
2240
2248
  }
2241
2249
  break;
2242
2250
  case 100:
@@ -2246,9 +2254,9 @@ function tn(t2, e2, n2, r2) {
2246
2254
  o2 = n2.d, c2 = e2.length;
2247
2255
  break;
2248
2256
  case 3:
2249
- return We[n2.q][0];
2257
+ return He[n2.q][0];
2250
2258
  default:
2251
- return We[n2.q][1];
2259
+ return He[n2.q][1];
2252
2260
  }
2253
2261
  break;
2254
2262
  case 104:
@@ -2407,8 +2415,8 @@ function gn(t2, e2, n2) {
2407
2415
  }));
2408
2416
  if (e2.match(ln)) return "(" + (o2 = gn(t2, "##########", n2)).substr(0, 3) + ") " + o2.substr(3, 3) + "-" + o2.substr(6);
2409
2417
  var h2 = "";
2410
- if (s2 = e2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(s2[4].length, 7), a2 = Ge(l2, Math.pow(10, i2) - 1, false), o2 = "" + c2, " " === (h2 = pn("n", s2[1], a2[1])).charAt(h2.length - 1) && (h2 = h2.substr(0, h2.length - 1) + "0"), o2 += h2 + s2[2] + "/" + s2[3], (h2 = Le(a2[2], i2)).length < s2[4].length && (h2 = cn(s2[4].substr(s2[4].length - h2.length)) + h2), o2 += h2;
2411
- if (s2 = e2.match(/[#0?] ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), a2 = Ge(l2, Math.pow(10, i2) - 1, true), c2 + gn(t2, e2.substring(0, s2.index + 1), a2[0]) + " " + (a2[1] ? De(a2[1], i2) + s2[2] + "/" + s2[3] + Le(a2[2], i2) : Fe(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2418
+ if (s2 = e2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(s2[4].length, 7), a2 = Ge(l2, Math.pow(10, i2) - 1, false), o2 = "" + c2, " " === (h2 = pn("n", s2[1], a2[1])).charAt(h2.length - 1) && (h2 = h2.substr(0, h2.length - 1) + "0"), o2 += h2 + s2[2] + "/" + s2[3], (h2 = Be(a2[2], i2)).length < s2[4].length && (h2 = cn(s2[4].substr(s2[4].length - h2.length)) + h2), o2 += h2;
2419
+ if (s2 = e2.match(/[#0?] ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), a2 = Ge(l2, Math.pow(10, i2) - 1, true), c2 + gn(t2, e2.substring(0, s2.index + 1), a2[0]) + " " + (a2[1] ? De(a2[1], i2) + s2[2] + "/" + s2[3] + Be(a2[2], i2) : Fe(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2412
2420
  if (s2 = e2.match(/^[#0?]+$/)) return o2 = ze(n2, 0), e2.length <= o2.length ? o2 : cn(e2.substr(0, e2.length - o2.length)) + o2;
2413
2421
  if (s2 = e2.match(/^([#0?]+)\.([#0]+)$/)) {
2414
2422
  o2 = "" + n2.toFixed(Math.min(s2[2].length, 10)).replace(/([^0])0+$/, "$1"), i2 = o2.indexOf(".");
@@ -2487,8 +2495,8 @@ function fn(t2, e2, n2) {
2487
2495
  }));
2488
2496
  if (e2.match(ln)) return "(" + (o2 = fn(t2, "##########", n2)).substr(0, 3) + ") " + o2.substr(3, 3) + "-" + o2.substr(6);
2489
2497
  var h2 = "";
2490
- if (s2 = e2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(s2[4].length, 7), a2 = Ge(l2, Math.pow(10, i2) - 1, false), o2 = "" + c2, " " === (h2 = pn("n", s2[1], a2[1])).charAt(h2.length - 1) && (h2 = h2.substr(0, h2.length - 1) + "0"), o2 += h2 + s2[2] + "/" + s2[3], (h2 = Le(a2[2], i2)).length < s2[4].length && (h2 = cn(s2[4].substr(s2[4].length - h2.length)) + h2), o2 += h2;
2491
- if (s2 = e2.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), c2 + ((a2 = Ge(l2, Math.pow(10, i2) - 1, true))[0] || (a2[1] ? "" : "0")) + " " + (a2[1] ? De(a2[1], i2) + s2[2] + "/" + s2[3] + Le(a2[2], i2) : Fe(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2498
+ if (s2 = e2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(s2[4].length, 7), a2 = Ge(l2, Math.pow(10, i2) - 1, false), o2 = "" + c2, " " === (h2 = pn("n", s2[1], a2[1])).charAt(h2.length - 1) && (h2 = h2.substr(0, h2.length - 1) + "0"), o2 += h2 + s2[2] + "/" + s2[3], (h2 = Be(a2[2], i2)).length < s2[4].length && (h2 = cn(s2[4].substr(s2[4].length - h2.length)) + h2), o2 += h2;
2499
+ if (s2 = e2.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), c2 + ((a2 = Ge(l2, Math.pow(10, i2) - 1, true))[0] || (a2[1] ? "" : "0")) + " " + (a2[1] ? De(a2[1], i2) + s2[2] + "/" + s2[3] + Be(a2[2], i2) : Fe(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2492
2500
  if (s2 = e2.match(/^[#0?]+$/)) return o2 = "" + n2, e2.length <= o2.length ? o2 : cn(e2.substr(0, e2.length - o2.length)) + o2;
2493
2501
  if (s2 = e2.match(/^([#0]+)\.([#0]+)$/)) {
2494
2502
  o2 = "" + n2.toFixed(Math.min(s2[2].length, 10)).replace(/([^0])0+$/, "$1"), i2 = o2.indexOf(".");
@@ -2891,11 +2899,11 @@ const vn = { format: Cn, dateNumLocal: Xe, load: bn, split_fmt: _n, _table: Ve,
2891
2899
  for (var e2 = 0; 392 !== e2; ++e2) void 0 !== t2[e2] && bn(t2[e2], e2);
2892
2900
  }, parse_date_code: Ue, is_date: wn, get_table: function() {
2893
2901
  return vn._table = Ve;
2894
- } }, xn = "\\s*([-]?[0-9e]*[.]?[0-9]+)", In = new RegExp(`^rgb\\(${xn},${xn},${xn}\\)$`), Rn = new RegExp(`^rgba\\(${xn},${xn},${xn},${xn}\\)$`), An = new RegExp(`^lrgb\\(${xn},${xn},${xn}\\)$`), Mn = new RegExp(`^lrgba\\(${xn},${xn},${xn},${xn}\\)$`), Tn = new RegExp(`^hsl\\(${xn},${xn},${xn}\\)$`), Nn = new RegExp(`^hsla\\(${xn},${xn},${xn},${xn}\\)$`), Fn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), kn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), On = new RegExp("^index(\\d+)$", "i"), Dn = (t2, e2, n2) => [parseFloat(t2), parseFloat(e2), parseFloat(n2)], Ln = (t2, e2 = 255) => {
2902
+ } }, xn = "\\s*([-]?[0-9e]*[.]?[0-9]+)", In = new RegExp(`^rgb\\(${xn},${xn},${xn}\\)$`), Rn = new RegExp(`^rgba\\(${xn},${xn},${xn},${xn}\\)$`), An = new RegExp(`^lrgb\\(${xn},${xn},${xn}\\)$`), Mn = new RegExp(`^lrgba\\(${xn},${xn},${xn},${xn}\\)$`), Tn = new RegExp(`^hsl\\(${xn},${xn},${xn}\\)$`), Nn = new RegExp(`^hsla\\(${xn},${xn},${xn},${xn}\\)$`), Fn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), kn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), On = new RegExp("^index(\\d+)$", "i"), Dn = (t2, e2, n2) => [parseFloat(t2), parseFloat(e2), parseFloat(n2)], Bn = (t2, e2 = 255) => {
2895
2903
  const n2 = [...t2];
2896
2904
  for (var r2 = 0; r2 < t2.length; r2++) n2[r2] = t2[r2] / e2;
2897
2905
  return n2;
2898
- }, Bn = (t2, e2 = 0) => {
2906
+ }, Ln = (t2, e2 = 0) => {
2899
2907
  const n2 = [...t2];
2900
2908
  for (var r2 = 0; r2 < t2.length; r2++) o.roundAccurately(t2[r2], e2 + 8) % 1 == 0.5 ? n2[r2] = Math.floor(t2[r2]) : n2[r2] = o.roundAccurately(t2[r2], e2);
2901
2909
  return n2;
@@ -2903,7 +2911,7 @@ const vn = { format: Cn, dateNumLocal: Xe, load: bn, split_fmt: _n, _table: Ve,
2903
2911
  const n2 = [...t2], r2 = e2 ? 1 : 255;
2904
2912
  for (var o2 = 0; o2 < t2.length; o2++) n2[o2] = Math.max(0, Math.min(r2, t2[o2]));
2905
2913
  return n2;
2906
- }, Pn = (t2) => Math.max(0, Math.min(1, t2)), Wn = (t2) => ((t2 %= 360) < 0 && (t2 -= 360), t2), Hn = (t2) => {
2914
+ }, Pn = (t2) => Math.max(0, Math.min(1, t2)), Hn = (t2) => ((t2 %= 360) < 0 && (t2 -= 360), t2), Wn = (t2) => {
2907
2915
  const e2 = [...t2];
2908
2916
  for (var n2 = 0; n2 < t2.length; n2++) e2[n2] = $n(t2[n2]);
2909
2917
  return e2;
@@ -2922,10 +2930,10 @@ const vn = { format: Cn, dateNumLocal: Xe, load: bn, split_fmt: _n, _table: Ve,
2922
2930
  const a2 = (s2 + o2) / 2;
2923
2931
  let l2 = 0;
2924
2932
  return l2 = s2 === o2 ? 0 : a2 <= 0.5 ? (s2 - o2) / (s2 + o2) : (s2 - o2) / (2 - s2 - o2), [i2, 100 * l2, 100 * a2];
2925
- }, Kn = 0, qn = 1, Xn = 2, Yn = 0, Qn = 1, Zn = 2, tr = 0, er = 1, nr = 2, rr = (t2, e2) => {
2933
+ }, qn = 0, Kn = 1, Xn = 2, Yn = 0, Qn = 1, Zn = 2, tr = 0, er = 1, nr = 2, rr = (t2, e2) => {
2926
2934
  let n2 = e2 / 100;
2927
2935
  return ((t3, e3) => {
2928
- let n3 = Hn(t3);
2936
+ let n3 = Wn(t3);
2929
2937
  n3[0] = e3(n3[0], n3), n3[1] = e3(n3[1], n3), n3[2] = e3(n3[2], n3);
2930
2938
  let r2 = Vn(n3);
2931
2939
  return r2 = zn(r2), r2;
@@ -2937,20 +2945,20 @@ const vn = { format: Cn, dateNumLocal: Xe, load: bn, split_fmt: _n, _table: Ve,
2937
2945
  let l2 = Gn(n2);
2938
2946
  return l2 = zn(l2), l2;
2939
2947
  }, ir = (t2, e2) => {
2940
- let n2 = Hn(t2), r2 = e2 / 100;
2948
+ let n2 = Wn(t2), r2 = e2 / 100;
2941
2949
  for (var o2 = 0; o2 < 3; o2++) n2[o2] = n2[o2] * r2 + (1 - r2);
2942
2950
  let s2 = Vn(n2);
2943
2951
  return s2 = zn(s2), s2;
2944
2952
  }, ar = (t2, e2, n2) => {
2945
2953
  let r2 = Jn(e2), o2 = n2 / 1;
2946
- t2 === Kn && (o2 = Wn(n2)), r2[t2] = o2;
2954
+ t2 === qn && (o2 = Hn(n2)), r2[t2] = o2;
2947
2955
  let s2 = Gn(r2);
2948
2956
  return s2 = zn(s2), s2;
2949
2957
  }, lr = (t2, e2, n2) => {
2950
2958
  let r2 = Jn(e2);
2951
- if (t2 === Kn) {
2959
+ if (t2 === qn) {
2952
2960
  let t3 = n2 / 360;
2953
- r2[Kn] = 360 * (r2[Kn] / 360 + t3), r2[Kn] %= 360, r2[Kn] < 0 && (r2[Kn] -= 360);
2961
+ r2[qn] = 360 * (r2[qn] / 360 + t3), r2[qn] %= 360, r2[qn] < 0 && (r2[qn] -= 360);
2954
2962
  } else {
2955
2963
  let e3 = n2 / 0.1;
2956
2964
  r2[t2] = 0.1 * (r2[t2] / 0.1 + e3);
@@ -2959,26 +2967,26 @@ const vn = { format: Cn, dateNumLocal: Xe, load: bn, split_fmt: _n, _table: Ve,
2959
2967
  return o2 = zn(o2), o2;
2960
2968
  }, cr = (t2, e2, n2) => {
2961
2969
  let r2 = Jn(e2), o2 = n2 / 100;
2962
- r2[t2] = r2[t2] * o2, t2 === Kn && (r2[Kn] = Wn(r2[Kn]));
2970
+ r2[t2] = r2[t2] * o2, t2 === qn && (r2[qn] = Hn(r2[qn]));
2963
2971
  let s2 = Gn(r2);
2964
2972
  return s2 = zn(s2), s2;
2965
2973
  }, hr = (t2, e2, n2, r2) => {
2966
- let o2 = Hn(e2), s2 = n2 / 100;
2974
+ let o2 = Wn(e2), s2 = n2 / 100;
2967
2975
  r2 === tr ? o2[t2] = s2 : r2 === er ? o2[t2] += s2 : r2 === nr && (o2[t2] *= s2);
2968
2976
  let i2 = Vn(o2);
2969
2977
  return i2 = zn(i2), i2;
2970
2978
  }, dr = (t2) => {
2971
- let e2 = Hn(t2), n2 = 0.213 * e2[Yn] + 0.715 * e2[Qn] + 0.072 * e2[Zn];
2979
+ let e2 = Wn(t2), n2 = 0.213 * e2[Yn] + 0.715 * e2[Qn] + 0.072 * e2[Zn];
2972
2980
  e2[0] = n2, e2[1] = n2, e2[2] = n2;
2973
2981
  let r2 = Vn(e2);
2974
2982
  return r2 = zn(r2), r2;
2975
2983
  }, ur = (t2) => {
2976
2984
  let e2 = Jn(t2);
2977
- e2[Kn] += 180, e2[Kn] %= 360, e2[Kn] < 0 && (e2[Kn] -= 360);
2985
+ e2[qn] += 180, e2[qn] %= 360, e2[qn] < 0 && (e2[qn] -= 360);
2978
2986
  let n2 = Gn(e2);
2979
2987
  return n2 = zn(n2), n2;
2980
2988
  }, gr = (t2, e2 = true) => {
2981
- let n2 = e2 ? Hn(t2) : [...t2];
2989
+ let n2 = e2 ? Wn(t2) : [...t2];
2982
2990
  const r2 = e2 ? 1 : 255;
2983
2991
  return n2[0] = r2 - n2[0], n2[1] = r2 - n2[1], n2[2] = r2 - n2[2], e2 && (n2 = Vn(n2)), n2 = zn(n2, e2), n2;
2984
2992
  }, mr = (t2) => {
@@ -3114,27 +3122,27 @@ const Mr = () => Ar || (Ar = Intl.DateTimeFormat().resolvedOptions().locale ?? "
3114
3122
  i2 = i2.substring(0, a2) + t3 + i2.substring(a2 + 9), s2 = true;
3115
3123
  }
3116
3124
  return s2 ? { fmt: i2, date: r2 } : null;
3117
- }, Dr = Object.freeze({ "General Number": "General", "General Date": "m/d/yyyy h:mm", "Medium Date": vn.get_table()[15], "Medium Time": vn.get_table()[18], "Short Time": vn.get_table()[20], Currency: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', Fixed: vn.get_table()[2], Standard: vn.get_table()[4], Percent: vn.get_table()[10], Scientific: vn.get_table()[11], "Yes/No": '"Yes";"Yes";"No";@', "True/False": '"True";"True";"False";@', "On/Off": '"Yes";"Yes";"No";@' }), Lr = Object.freeze({ black: 0, white: 1, red: 2, green: 3, blue: 4, yellow: 5, magenta: 6, cyan: 7 }), Br = (t2) => {
3125
+ }, Dr = Object.freeze({ "General Number": "General", "General Date": "m/d/yyyy h:mm", "Medium Date": vn.get_table()[15], "Medium Time": vn.get_table()[18], "Short Time": vn.get_table()[20], Currency: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', Fixed: vn.get_table()[2], Standard: vn.get_table()[4], Percent: vn.get_table()[10], Scientific: vn.get_table()[11], "Yes/No": '"Yes";"Yes";"No";@', "True/False": '"True";"True";"False";@', "On/Off": '"Yes";"Yes";"No";@' }), Br = Object.freeze({ black: 0, white: 1, red: 2, green: 3, blue: 4, yellow: 5, magenta: 6, cyan: 7 }), Lr = (t2) => {
3118
3126
  let e2 = null;
3119
3127
  if ((t2 = t2.toLowerCase()).startsWith("color")) {
3120
3128
  const n2 = parseInt(t2.substring(5));
3121
3129
  n2 >= 0 && n2 <= 56 && (e2 = `Index${n2 + 7}`);
3122
3130
  }
3123
3131
  if (!e2) {
3124
- const n2 = Lr[t2];
3132
+ const n2 = Br[t2];
3125
3133
  void 0 !== n2 && (e2 = Ir(n2).toString());
3126
3134
  }
3127
3135
  return e2;
3128
- }, zr = "=", Pr = "<>", Wr = ">", Hr = "<", Vr = ">=", $r = "<=", jr = /* @__PURE__ */ new Map();
3129
- jr.set(zr, (t2, e2) => t2 === e2), jr.set(Pr, (t2, e2) => t2 !== e2), jr.set(Wr, (t2, e2) => t2 > e2), jr.set(Hr, (t2, e2) => t2 < e2), jr.set(Vr, (t2, e2) => t2 >= e2), jr.set($r, (t2, e2) => t2 <= e2);
3130
- const Gr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Ur = /(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)/i, Jr = /\[(.*?)\]/g, Kr = (t2, e2) => {
3136
+ }, zr = "=", Pr = "<>", Hr = ">", Wr = "<", Vr = ">=", $r = "<=", jr = /* @__PURE__ */ new Map();
3137
+ jr.set(zr, (t2, e2) => t2 === e2), jr.set(Pr, (t2, e2) => t2 !== e2), jr.set(Hr, (t2, e2) => t2 > e2), jr.set(Wr, (t2, e2) => t2 < e2), jr.set(Vr, (t2, e2) => t2 >= e2), jr.set($r, (t2, e2) => t2 <= e2);
3138
+ const Gr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Ur = /(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)/i, Jr = /\[(.*?)\]/g, qr = (t2, e2) => {
3131
3139
  const n2 = { color: null, condition: null };
3132
3140
  let r2 = null, o2 = new RegExp(Jr);
3133
3141
  for (; null !== (r2 = o2.exec(t2)); ) {
3134
3142
  let e3 = false, o3 = Gr.exec(r2[1]);
3135
3143
  if (o3) {
3136
3144
  if (e3 = true, n2.color) throw new Error(`format error, two colors specified: '${t2}' and '${n2.color}'.`);
3137
- n2.color = Br(o3[1]), n2.color || console.warn("Unable to parse LegacyColor", o3[1]);
3145
+ n2.color = Lr(o3[1]), n2.color || console.warn("Unable to parse LegacyColor", o3[1]);
3138
3146
  }
3139
3147
  let s2 = Ur.exec(r2[1]);
3140
3148
  if (s2) {
@@ -3144,14 +3152,14 @@ const Gr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Ur =
3144
3152
  if (!e3) return n2;
3145
3153
  }
3146
3154
  return n2.condition || (n2.condition = e2), n2;
3147
- }, qr = Object.freeze({ op: Vr, comp: 0 }), Xr = Object.freeze({ op: Hr, comp: 0 }), Yr = Object.freeze({ op: Wr, comp: 0 }), Qr = Object.freeze({ op: zr, comp: 0 }), Zr = (t2, e2) => {
3155
+ }, Kr = Object.freeze({ op: Vr, comp: 0 }), Xr = Object.freeze({ op: Wr, comp: 0 }), Yr = Object.freeze({ op: Hr, comp: 0 }), Qr = Object.freeze({ op: zr, comp: 0 }), Zr = (t2, e2) => {
3148
3156
  let n2 = ((t3) => {
3149
3157
  if (!t3) return o.EmptyArray;
3150
3158
  const e3 = [], n3 = t3.split(";"), r3 = n3.length;
3151
3159
  for (let t4 = 0; t4 < r3; t4++) {
3152
3160
  let o2 = null;
3153
- 2 === r3 ? 0 === t4 ? o2 = qr : 1 === t4 && (o2 = Xr) : 3 !== r3 && 4 !== r3 || (o2 = 0 === t4 ? Yr : 1 === t4 ? Xr : 2 === t4 ? Qr : null);
3154
- const s3 = n3[t4], i2 = Kr(s3, o2);
3161
+ 2 === r3 ? 0 === t4 ? o2 = Kr : 1 === t4 && (o2 = Xr) : 3 !== r3 && 4 !== r3 || (o2 = 0 === t4 ? Yr : 1 === t4 ? Xr : 2 === t4 ? Qr : null);
3162
+ const s3 = n3[t4], i2 = qr(s3, o2);
3155
3163
  e3.push({ format: s3, colorAndCondition: i2 });
3156
3164
  }
3157
3165
  return e3;
@@ -3352,9 +3360,9 @@ const Mo = (t2, e2, n2 = 1e3) => {
3352
3360
  if (void 0 === t2) return 0;
3353
3361
  let e2 = t2.toString().split(".");
3354
3362
  return e2.length <= 1 ? 0 : e2[1].length || 0;
3355
- }, Do = new RegExp(/^["|'|`](.*)["|'|`]$/), Lo = new RegExp("^([a-zA-Z]+:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$", "i"), Bo = (t2 = ",", e2 = "'") => new RegExp(`\\s*${t2}\\s*(?=(?:[^${e2}]*${e2}[^${e2}]*${e2})*[^${e2}]*$)`, "g"), zo = Bo(), Po = (t2) => t2 && t2.length > 1 && Do.test(t2) && t2[0] === t2[t2.length - 1], Wo = (t2) => t2.replace(Do, "$1"), Ho = (t2, e2 = "'") => `${e2}${t2}${e2}`, Vo = (t2, e2 = void 0, n2 = void 0) => {
3363
+ }, Do = new RegExp(/^["|'|`](.*)["|'|`]$/), Bo = new RegExp("^([a-zA-Z]+:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$", "i"), Lo = (t2 = ",", e2 = "'") => new RegExp(`\\s*${t2}\\s*(?=(?:[^${e2}]*${e2}[^${e2}]*${e2})*[^${e2}]*$)`, "g"), zo = Lo(), Po = (t2) => t2 && t2.length > 1 && Do.test(t2) && t2[0] === t2[t2.length - 1], Ho = (t2) => t2.replace(Do, "$1"), Wo = (t2, e2 = "'") => `${e2}${t2}${e2}`, Vo = (t2, e2 = void 0, n2 = void 0) => {
3356
3364
  let r2 = zo;
3357
- return void 0 === e2 && void 0 === n2 || (r2 = Bo(e2, n2)), t2.split(r2);
3365
+ return void 0 === e2 && void 0 === n2 || (r2 = Lo(e2, n2)), t2.split(r2);
3358
3366
  }, $o = (t2) => {
3359
3367
  let e2;
3360
3368
  try {
@@ -3362,18 +3370,18 @@ const Mo = (t2, e2, n2 = 1e3) => {
3362
3370
  } catch (t3) {
3363
3371
  return false;
3364
3372
  }
3365
- return ("http:" === e2.protocol || "https:" === e2.protocol) && Lo.test(t2);
3373
+ return ("http:" === e2.protocol || "https:" === e2.protocol) && Bo.test(t2);
3366
3374
  }, jo = new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/i), Go = (t2) => !!t2.toLowerCase().startsWith("mailto:") || jo.test(t2), Uo = (t2) => ((t2 >= 26 ? Uo((t2 / 26 | 0) - 1) : "") + "abcdefghijklmnopqrstuvwxyz"[t2 % 26 | 0]).toUpperCase(), Jo = Object.freeze(Object.defineProperty({ __proto__: null, DefaultUnQuoteRegEx: zo, camelToSnake: (t2) => t2 ? t2.replace(/[A-Z]/g, (t3) => `_${t3.toLowerCase()}`) : t2, capitalize: To, clampString: ko, countDecimals: Oo, findValidTextValue: Mo, getBaseName: (t2, e2 = false) => {
3367
3375
  if (!t2 || "string" != typeof t2) return "";
3368
3376
  const n2 = t2.split(/[\\/]/).pop() || "";
3369
3377
  if ("" === n2) return "";
3370
3378
  const r2 = No(n2), o2 = 0 === r2.length ? n2 : n2.slice(0, n2.length - r2.length - 1);
3371
3379
  return e2 ? To(o2, true) : o2;
3372
- }, getFileNameExtension: No, isQuoted: Po, isValidEmail: Go, isValidHttpUrl: $o, numberToAlphabet: Uo, quote: Ho, snakeToCamel: Fo, splitUnquoted: Vo, unquote: Wo }, Symbol.toStringTag, { value: "Module" })), Ko = (t2, e2, n2, r2 = null) => {
3380
+ }, getFileNameExtension: No, isQuoted: Po, isValidEmail: Go, isValidHttpUrl: $o, numberToAlphabet: Uo, quote: Wo, snakeToCamel: Fo, splitUnquoted: Vo, unquote: Ho }, Symbol.toStringTag, { value: "Module" })), qo = (t2, e2, n2, r2 = null) => {
3373
3381
  const o2 = (e2 || 11 * rs.getDeviceScale()) / rs.getDeviceScale(), s2 = r2?.letterSpacing || 0, i2 = t2.length;
3374
3382
  const a2 = i2 * (0.55 * o2) - (t2.match(/[il.,;!|]/g) || []).length * o2 * 0.15 + (t2.match(/[mwMW]/g) || []).length * o2 * 0.1 + (i2 > 0 ? (i2 - 1) * s2 : 0), l2 = Math.ceil(1.2 * o2), c2 = Math.ceil(0.8 * o2), h2 = Math.ceil(0.2 * o2), d2 = Math.ceil(0.45 * o2), u2 = Math.ceil(1.1 * o2), g2 = Math.max(1, Math.ceil(0.08 * o2));
3375
3383
  return { width: a2, lineHeight: l2, baseline: c2, lineGap: h2, strikePosition: d2, underlinePosition: u2, strikeThickness: g2, underlineThickness: g2, actualBoundingBoxLeft: 0, actualBoundingBoxRight: a2, actualBoundingBoxAscent: c2, actualBoundingBoxDescent: l2 - c2, fontBoundingBoxAscent: c2, fontBoundingBoxDescent: l2 - c2, emHeightAscent: c2, emHeightDescent: l2 - c2, hangingBaseline: 0.8 * c2, alphabeticBaseline: c2, ideographicBaseline: l2 };
3376
- }, qo = () => Ko;
3384
+ }, Ko = () => qo;
3377
3385
  let Xo = "./packages/sdk/src/__tests__/fonts/";
3378
3386
  const Yo = /* @__PURE__ */ new Map(), Qo = /* @__PURE__ */ new Set(), Zo = (t2, e2, n2, r2 = null) => {
3379
3387
  const o2 = e2, s2 = Xo + n2.toLowerCase() + ".ttf";
@@ -3386,7 +3394,7 @@ const Yo = /* @__PURE__ */ new Map(), Qo = /* @__PURE__ */ new Set(), Zo = (t2,
3386
3394
  i2 = M(Xo + "calibri.ttf");
3387
3395
  } catch (t3) {
3388
3396
  }
3389
- if (!i2) return Qo.has(s2) || Qo.add(s2), qo().call(null, t2, e2, n2, r2);
3397
+ if (!i2) return Qo.has(s2) || Qo.add(s2), Ko().call(null, t2, e2, n2, r2);
3390
3398
  const a2 = `${s2}${t2}${o2}`;
3391
3399
  let l2 = Yo.get(a2);
3392
3400
  l2 || (l2 = i2.layout(t2), t2.length < 2 && Yo.set(a2, l2));
@@ -3414,7 +3422,7 @@ var rs, os;
3414
3422
  ts = Zo;
3415
3423
  } catch {
3416
3424
  }
3417
- return ts || (console.warn("⚠️ FontKitFontMeasurer not available, falling back to SimpleFontMeasurer"), ts = qo()), ts;
3425
+ return ts || (console.warn("⚠️ FontKitFontMeasurer not available, falling back to SimpleFontMeasurer"), ts = Ko()), ts;
3418
3426
  })(), ns), os.getDeviceScale = () => es(), os.getPanoseFallback = (t2) => {
3419
3427
  const e2 = [], n2 = t2.length;
3420
3428
  for (let r3 = 0; r3 < n2; r3 += 2) e2.push(parseInt(t2.substring(r3, r3 + 2), 16));
@@ -3924,13 +3932,13 @@ function Ds(t2, e2) {
3924
3932
  }
3925
3933
  return { preceding: s2, modified: a2, trailing: i2 };
3926
3934
  }
3927
- function Ls(t2) {
3935
+ function Bs(t2) {
3928
3936
  return t2 ? t2.sort((t3, e2) => {
3929
3937
  let n2 = t3.min - e2.min;
3930
3938
  return 0 === n2 && (n2 = t3.max - e2.max), n2;
3931
3939
  }) : t2;
3932
3940
  }
3933
- const Bs = (t2, e2 = false) => {
3941
+ const Ls = (t2, e2 = false) => {
3934
3942
  if (!t2 || 0 === t2.length) return o.EmptyArray;
3935
3943
  const n2 = e2 ? t2 : t2.sort(), r2 = [];
3936
3944
  let s2 = null;
@@ -3942,7 +3950,7 @@ const Bs = (t2, e2 = false) => {
3942
3950
  }, zs = (t2, e2) => t2 ? e2 ? t2 || e2 ? t2.min > e2.max || t2.max < e2.min ? null : { min: Math.max(t2.min, e2.min), max: Math.min(t2.max, e2.max) } : null : { ...t2 } : { ...e2 }, Ps = (t2) => {
3943
3951
  const e2 = 0 === t2.length;
3944
3952
  return { runs: t2, run: { min: e2 ? Number.MIN_SAFE_INTEGER : Number.MAX_SAFE_INTEGER, max: e2 ? Number.MAX_SAFE_INTEGER : Number.MIN_SAFE_INTEGER, value: null }, index: Number.MAX_SAFE_INTEGER };
3945
- }, Ws = (t2, e2) => {
3953
+ }, Hs = (t2, e2) => {
3946
3954
  const n2 = e2.run, r2 = n2.min, s2 = n2.max;
3947
3955
  if (t2 >= r2 && t2 <= s2) return n2.value;
3948
3956
  let i2 = e2.index;
@@ -3965,7 +3973,7 @@ const Bs = (t2, e2 = false) => {
3965
3973
  return n2.value = t3, t3;
3966
3974
  }
3967
3975
  return i2--, e2.index = i2, n2.min = i2 >= 0 ? a2[i2].max + 1 : Number.MIN_SAFE_INTEGER, n2.max = c2 - 1, n2.value = null, null;
3968
- }, Hs = function(t2, e2, n2, r2) {
3976
+ }, Ws = function(t2, e2, n2, r2) {
3969
3977
  if (0 === t2.length) {
3970
3978
  if (null != n2 || null != r2) {
3971
3979
  const t3 = e2({ min: n2 ?? r2, max: r2 ?? n2 });
@@ -3989,7 +3997,7 @@ const Bs = (t2, e2 = false) => {
3989
3997
  if (t3 && t3.break) return t3;
3990
3998
  }
3991
3999
  }, Vs = new RegExp("([0-9]+)$");
3992
- var $s, js, Gs, Us, Js, Ks;
4000
+ var $s, js, Gs, Us, Js, qs;
3993
4001
  ((t2) => {
3994
4002
  t2.Date = class {
3995
4003
  constructor(t3) {
@@ -4241,7 +4249,7 @@ var $s, js, Gs, Us, Js, Ks;
4241
4249
  }
4242
4250
  const f2 = Ps(a2);
4243
4251
  return (t4) => {
4244
- const e4 = t4 >= 0, n4 = Math.abs(t4), o4 = Ws(n4 % r3, f2);
4252
+ const e4 = t4 >= 0, n4 = Math.abs(t4), o4 = Hs(n4 % r3, f2);
4245
4253
  if (!o4) return null;
4246
4254
  const s4 = Math.floor(n4 / r3), i4 = o4.length, a3 = o4.start, l3 = (s4 + (e4 ? 1 : 0)) * a3 + (s4 + (e4 ? 0 : 1)) * (r3 - (a3 + i4));
4247
4255
  let c3 = t4 + (e4 ? -l3 : l3);
@@ -4260,13 +4268,13 @@ var $s, js, Gs, Us, Js, Ks;
4260
4268
  for (let t4 = s3; t4 < n3; t4++) o3.push(i3(t4));
4261
4269
  return o3;
4262
4270
  };
4263
- })($s || ($s = {})), js || (js = {}), (Us = Gs || (Gs = {})).Type = { None: "none", Solid: "solid", Gradient: "gradient", Pattern: "pattern", Image: "pattern", Background: "background", Group: "group", Custom: "custom" }, Us.GradientType = { Linear: "linear", Path: "path", Circular: "circular", Rect: "rect" }, Us.TileMirror = { None: "none", Vertical: "v", Horizontal: "h", Both: "b" }, Us.BuiltInSheetPattern = { None: "none", Solid: "solid", DarkGray: "darkGray", MediumGray: "mediumGray", LightGray: "lightGray", Gray0625: "gray0625", Gray125: "gray125", DarkHorizontal: "darkHorizontal", DarkVertical: "darkVertical", DarkDown: "darkDown", DarkUp: "darkUp", DarkGrid: "darkGrid", DarkTrellis: "darkTrellis", LightHorizontal: "lightHorizontal", LightVertical: "lightVertical", LightDown: "lightDown", LightUp: "lightUp", LightGrid: "lightGrid", LightTrellis: "lightTrellis", Custom: "custom" }, (Ks = Js || (Js = {})).AdjustmentType = { Alpha: "alpha", AlphaOff: "alphaOff", AlphaMod: "alphaMod", Hue: "hue", Sat: "sat", Lum: "lum", HueOff: "hueOff", SatOff: "satOff", LumOff: "lumOff", HueMod: "hueMod", SatMod: "satMod", LumMod: "lumMod", Red: "red", Green: "green", Blue: "blue", RedOff: "redOff", GreenOff: "greenOff", BlueOff: "blueOff", RedMod: "redMod", GreenMod: "greenMod", BlueMod: "blueMod", Shade: "shade", Tint: "tint", ETint: "eTint", Gray: "gray", Comp: "comp", Inv: "inv", Gamma: "gamma", InvGamma: "invGamma" }, Ks.Named = { ActiveBorder: "activeBorder", ActiveCaption: "activeCaption", CaptionText: "captionText", AppWorkspace: "appWorkspace", BtnFace: "btnFace", BtnShadow: "btnShadow", DkShadow3d: "3dDkShadow", BtnHighlight: "btnHighlight", Light3d: "3dLight", BtnText: "btnText", Background: "background", GrayText: "grayText", Highlight: "highlight", HighlightText: "highlightText", HotLight: "hotLight", InactiveBorder: "inactiveBorder", InactiveCaption: "inactiveCaption", InactiveCaptionText: "inactiveCaptionText", InfoBk: "infoBk", InfoText: "infoText", Menu: "menu", MenuText: "menuText", ScrollBar: "scrollBar", Window: "window", WindowFrame: "windowFrame", WindowText: "windowText", Transparent: "transparent", AliceBlue: "aliceBlue", AntiqueWhite: "antiqueWhite", Aqua: "aqua", Aquamarine: "aquamarine", Azure: "azure", Beige: "beige", Bisque: "bisque", Black: "black", BlanchedAlmond: "blanchedAlmond", Blue: "blue", BlueViolet: "blueViolet", Brown: "brown", BurlyWood: "burlyWood", CadetBlue: "cadetBlue", Chartreuse: "chartreuse", Chocolate: "chocolate", Coral: "coral", CornflowerBlue: "cornflowerBlue", Cornsilk: "cornsilk", Crimson: "crimson", Cyan: "cyan", DkBlue: "dkBlue", DkCyan: "dkCyan", DkGoldenrod: "dkGoldenrod", DkGray: "dkGray", DkGreen: "dkGreen", DkKhaki: "dkKhaki", DkMagenta: "dkMagenta", DkOliveGreen: "dkOliveGreen", DkOrange: "dkOrange", DkOrchid: "dkOrchid", DkRed: "dkRed", DkSalmon: "dkSalmon", DkSeaGreen: "dkSeaGreen", DkSlateBlue: "dkSlateBlue", DkSlateGray: "dkSlateGray", DkTurquoise: "dkTurquoise", DkViolet: "dkViolet", DeepPink: "deepPink", DeepSkyBlue: "deepSkyBlue", DimGray: "dimGray", DodgerBlue: "dodgerBlue", Firebrick: "firebrick", FloralWhite: "floralWhite", ForestGreen: "forestGreen", Fuchsia: "fuchsia", Gainsboro: "gainsboro", GhostWhite: "ghostWhite", Gold: "gold", Goldenrod: "goldenrod", Gray: "gray", Green: "green", GreenYellow: "greenYellow", Honeydew: "honeydew", HotPink: "hotPink", IndianRed: "indianRed", Indigo: "indigo", Ivory: "ivory", Khaki: "khaki", Lavender: "lavender", LavenderBlush: "lavenderBlush", LawnGreen: "lawnGreen", LemonChiffon: "lemonChiffon", LtBlue: "ltBlue", LtCoral: "ltCoral", LtCyan: "ltCyan", LtGoldenrodYellow: "ltGoldenrodYellow", LtGray: "ltGray", LtGreen: "ltGreen", LtPink: "ltPink", LtSalmon: "ltSalmon", LtSeaGreen: "ltSeaGreen", LtSkyBlue: "ltSkyBlue", LtSlateGray: "ltSlateGray", LtSteelBlue: "ltSteelBlue", LtYellow: "ltYellow", Lime: "lime", LimeGreen: "limeGreen", Linen: "linen", Magenta: "magenta", Maroon: "maroon", MedAquamarine: "medAquamarine", MedBlue: "medBlue", MedOrchid: "medOrchid", MedPurple: "medPurple", MedSeaGreen: "medSeaGreen", MedSlateBlue: "medSlateBlue", MedSpringGreen: "medSpringGreen", MedTurquoise: "medTurquoise", MedVioletRed: "medVioletRed", MidnightBlue: "midnightBlue", MintCream: "mintCream", MistyRose: "mistyRose", Moccasin: "moccasin", NavajoWhite: "navajoWhite", Navy: "navy", OldLace: "oldLace", Olive: "olive", OliveDrab: "oliveDrab", Orange: "orange", OrangeRed: "orangeRed", Orchid: "orchid", PaleGoldenrod: "paleGoldenrod", PaleGreen: "paleGreen", PaleTurquoise: "paleTurquoise", PaleVioletRed: "paleVioletRed", PapayaWhip: "papayaWhip", PeachPuff: "peachPuff", Peru: "peru", Pink: "pink", Plum: "plum", PowderBlue: "powderBlue", Purple: "purple", Red: "red", RosyBrown: "rosyBrown", RoyalBlue: "royalBlue", SaddleBrown: "saddleBrown", Salmon: "salmon", SandyBrown: "sandyBrown", SeaGreen: "seaGreen", SeaShell: "seaShell", Sienna: "sienna", Silver: "silver", SkyBlue: "skyBlue", SlateBlue: "slateBlue", SlateGray: "slateGray", Snow: "snow", SpringGreen: "springGreen", SteelBlue: "steelBlue", Tan: "tan", Teal: "teal", Thistle: "thistle", Tomato: "tomato", Turquoise: "turquoise", Violet: "violet", Wheat: "wheat", White: "white", WhiteSmoke: "whiteSmoke", Yellow: "yellow", YellowGreen: "yellowGreen", ButtonFace: "buttonFace", ButtonHighlight: "buttonHighlight", ButtonShadow: "buttonShadow", GradientActiveCaption: "gradientActiveCaption", GradientInactiveCaption: "gradientInactiveCaption", MenuBar: "menuBar", MenuHighlight: "menuHighlight" }, Ks.Scheme = { Bg1: "bg1", Bg2: "bg2", Tx1: "tx1", Tx2: "tx2", Accent1: "accent1", Accent2: "accent2", Accent3: "accent3", Accent4: "accent4", Accent5: "accent5", Accent6: "accent6", Hlink: "hlink", FolHlink: "folHlink" }, Ks.Type = { Scheme: "scheme", Named: "named", Index: "index", HSL: "hsl", RGB: "rgb", LRGB: "lrgb", Hex: "hex" };
4264
- const qs = [[4290032820, 1, Js.Named.ActiveBorder, true], [4288263377, 2, Js.Named.ActiveCaption, true], [4278190080, 3, Js.Named.CaptionText, true], [4289440683, 4, Js.Named.AppWorkspace, true], [4293980400, 5, Js.Named.BtnFace, true], [4285098345, 6, Js.Named.BtnShadow, true], [4278190080, 7, Js.Named.DkShadow3d, true], [4293125091, 8, Js.Named.BtnHighlight, true], [4293125091, 9, Js.Named.Light3d, true], [4278190080, 10, Js.Named.BtnText, true], [4278190080, 11, Js.Named.Background, true], [4285361517, 12, Js.Named.GrayText, true], [4281571839, 13, Js.Named.Highlight, true], [4294967295, 14, Js.Named.HighlightText, true], [4278216396, 15, Js.Named.HotLight, true], [4294244348, 16, Js.Named.InactiveBorder, true], [4290760155, 17, Js.Named.InactiveCaption, true], [4278190080, 18, Js.Named.InactiveCaptionText, true], [4294967265, 19, Js.Named.InfoBk, true], [4278190080, 20, Js.Named.InfoText, true], [4293980400, 21, Js.Named.Menu, true], [4278190080, 22, Js.Named.MenuText, true], [4291348680, 23, Js.Named.ScrollBar, true], [4294967295, 24, Js.Named.Window, true], [4284769380, 25, Js.Named.WindowFrame, true], [4278190080, 26, Js.Named.WindowText, true], [16777215, 27, Js.Named.Transparent], [4293982463, 28, Js.Named.AliceBlue], [4294634455, 29, Js.Named.AntiqueWhite], [4278255615, 30, Js.Named.Aqua], [4286578644, 31, Js.Named.Aquamarine], [4293984255, 32, Js.Named.Azure], [4294309340, 33, Js.Named.Beige], [4294960324, 34, Js.Named.Bisque], [4278190080, 35, Js.Named.Black], [4294962125, 36, Js.Named.BlanchedAlmond], [4278190335, 37, Js.Named.Blue], [4287245282, 38, Js.Named.BlueViolet], [4289014314, 39, Js.Named.Brown], [4292786311, 40, Js.Named.BurlyWood], [4284456608, 41, Js.Named.CadetBlue], [4286578432, 42, Js.Named.Chartreuse], [4291979550, 43, Js.Named.Chocolate], [4294934352, 44, Js.Named.Coral], [4284782061, 45, Js.Named.CornflowerBlue], [4294965468, 46, Js.Named.Cornsilk], [4292613180, 47, Js.Named.Crimson], [4278255615, 48, Js.Named.Cyan], [4278190219, 49, Js.Named.DkBlue], [4278225803, 50, Js.Named.DkCyan], [4290283019, 51, Js.Named.DkGoldenrod], [4289309097, 52, Js.Named.DkGray], [4278215680, 53, Js.Named.DkGreen], [4290623339, 54, Js.Named.DkKhaki], [4287299723, 55, Js.Named.DkMagenta], [4283788079, 56, Js.Named.DkOliveGreen], [4294937600, 57, Js.Named.DkOrange], [4288230092, 58, Js.Named.DkOrchid], [4287299584, 59, Js.Named.DkRed], [4293498490, 60, Js.Named.DkSalmon], [4287609995, 61, Js.Named.DkSeaGreen], [4282924427, 62, Js.Named.DkSlateBlue], [4281290575, 63, Js.Named.DkSlateGray], [4278243025, 64, Js.Named.DkTurquoise], [4287889619, 65, Js.Named.DkViolet], [4294907027, 66, Js.Named.DeepPink], [4278239231, 67, Js.Named.DeepSkyBlue], [4285098345, 68, Js.Named.DimGray], [4280193279, 69, Js.Named.DodgerBlue], [4289864226, 70, Js.Named.Firebrick], [4294966e3, 71, Js.Named.FloralWhite], [4280453922, 72, Js.Named.ForestGreen], [4294902015, 73, Js.Named.Fuchsia], [4292664540, 74, Js.Named.Gainsboro], [4294506751, 75, Js.Named.GhostWhite], [4294956800, 76, Js.Named.Gold], [4292519200, 77, Js.Named.Goldenrod], [4286611584, 78, Js.Named.Gray], [4278222848, 79, Js.Named.Green], [4289593135, 80, Js.Named.GreenYellow], [4293984240, 81, Js.Named.Honeydew], [4294928820, 82, Js.Named.HotPink], [4291648604, 83, Js.Named.IndianRed], [4283105410, 84, Js.Named.Indigo], [4294967280, 85, Js.Named.Ivory], [4293977740, 86, Js.Named.Khaki], [4293322490, 87, Js.Named.Lavender], [4294963445, 88, Js.Named.LavenderBlush], [4286381056, 89, Js.Named.LawnGreen], [4294965965, 90, Js.Named.LemonChiffon], [4289583334, 91, Js.Named.LtBlue], [4293951616, 92, Js.Named.LtCoral], [4292935679, 93, Js.Named.LtCyan], [4294638200, 94, Js.Named.LtGoldenrodYellow], [4292072403, 95, Js.Named.LtGray], [4287688336, 96, Js.Named.LtGreen], [4294948545, 97, Js.Named.LtPink], [4294942842, 98, Js.Named.LtSalmon], [4280332970, 99, Js.Named.LtSeaGreen], [4287090426, 100, Js.Named.LtSkyBlue], [4286023833, 101, Js.Named.LtSlateGray], [4289774814, 102, Js.Named.LtSteelBlue], [4294967264, 103, Js.Named.LtYellow], [4278255360, 104, Js.Named.Lime], [4281519410, 105, Js.Named.LimeGreen], [4294635750, 106, Js.Named.Linen], [4294902015, 107, Js.Named.Magenta], [4286578688, 108, Js.Named.Maroon], [4284927402, 109, Js.Named.MedAquamarine], [4278190285, 110, Js.Named.MedBlue], [4290401747, 111, Js.Named.MedOrchid], [4287852763, 112, Js.Named.MedPurple], [4282168177, 113, Js.Named.MedSeaGreen], [4286277870, 114, Js.Named.MedSlateBlue], [4278254234, 115, Js.Named.MedSpringGreen], [4282962380, 116, Js.Named.MedTurquoise], [4291237253, 117, Js.Named.MedVioletRed], [4279834992, 118, Js.Named.MidnightBlue], [4294311930, 119, Js.Named.MintCream], [4294960353, 120, Js.Named.MistyRose], [4294960309, 121, Js.Named.Moccasin], [4294958765, 122, Js.Named.NavajoWhite], [4278190208, 123, Js.Named.Navy], [4294833638, 124, Js.Named.OldLace], [4286611456, 125, Js.Named.Olive], [4285238819, 126, Js.Named.OliveDrab], [4294944e3, 127, Js.Named.Orange], [4294919424, 128, Js.Named.OrangeRed], [4292505814, 129, Js.Named.Orchid], [4293847210, 130, Js.Named.PaleGoldenrod], [4288215960, 131, Js.Named.PaleGreen], [4289720046, 132, Js.Named.PaleTurquoise], [4292571283, 133, Js.Named.PaleVioletRed], [4294963157, 134, Js.Named.PapayaWhip], [4294957753, 135, Js.Named.PeachPuff], [4291659071, 136, Js.Named.Peru], [4294951115, 137, Js.Named.Pink], [4292714717, 138, Js.Named.Plum], [4289781990, 139, Js.Named.PowderBlue], [4286578816, 140, Js.Named.Purple], [4294901760, 141, Js.Named.Red], [4290547599, 142, Js.Named.RosyBrown], [4282477025, 143, Js.Named.RoyalBlue], [4287317267, 144, Js.Named.SaddleBrown], [4294606962, 145, Js.Named.Salmon], [4294222944, 146, Js.Named.SandyBrown], [4281240407, 147, Js.Named.SeaGreen], [4294964718, 148, Js.Named.SeaShell], [4288696877, 149, Js.Named.Sienna], [4290822336, 150, Js.Named.Silver], [4287090411, 151, Js.Named.SkyBlue], [4285160141, 152, Js.Named.SlateBlue], [4285563024, 153, Js.Named.SlateGray], [4294966010, 154, Js.Named.Snow], [4278255487, 155, Js.Named.SpringGreen], [4282811060, 156, Js.Named.SteelBlue], [4291998860, 157, Js.Named.Tan], [4278222976, 158, Js.Named.Teal], [4292394968, 159, Js.Named.Thistle], [4294927175, 160, Js.Named.Tomato], [4282441936, 161, Js.Named.Turquoise], [4293821166, 162, Js.Named.Violet], [4294303411, 163, Js.Named.Wheat], [4294967295, 164, Js.Named.White], [4294309365, 165, Js.Named.WhiteSmoke], [4294967040, 166, Js.Named.Yellow], [4288335154, 167, Js.Named.YellowGreen], [4293980400, 168, Js.Named.ButtonFace], [4294967295, 169, Js.Named.ButtonHighlight], [4288716960, 170, Js.Named.ButtonShadow], [4290367978, 171, Js.Named.GradientActiveCaption], [4292338930, 172, Js.Named.GradientInactiveCaption], [4293980400, 173, Js.Named.MenuBar], [4281571839, 174, Js.Named.MenuHighlight]];
4271
+ })($s || ($s = {})), js || (js = {}), (Us = Gs || (Gs = {})).Type = { None: "none", Solid: "solid", Gradient: "gradient", Pattern: "pattern", Image: "pattern", Background: "background", Group: "group", Custom: "custom" }, Us.GradientType = { Linear: "linear", Path: "path", Circular: "circular", Rect: "rect" }, Us.TileMirror = { None: "none", Vertical: "v", Horizontal: "h", Both: "b" }, Us.BuiltInSheetPattern = { None: "none", Solid: "solid", DarkGray: "darkGray", MediumGray: "mediumGray", LightGray: "lightGray", Gray0625: "gray0625", Gray125: "gray125", DarkHorizontal: "darkHorizontal", DarkVertical: "darkVertical", DarkDown: "darkDown", DarkUp: "darkUp", DarkGrid: "darkGrid", DarkTrellis: "darkTrellis", LightHorizontal: "lightHorizontal", LightVertical: "lightVertical", LightDown: "lightDown", LightUp: "lightUp", LightGrid: "lightGrid", LightTrellis: "lightTrellis", Custom: "custom" }, (qs = Js || (Js = {})).AdjustmentType = { Alpha: "alpha", AlphaOff: "alphaOff", AlphaMod: "alphaMod", Hue: "hue", Sat: "sat", Lum: "lum", HueOff: "hueOff", SatOff: "satOff", LumOff: "lumOff", HueMod: "hueMod", SatMod: "satMod", LumMod: "lumMod", Red: "red", Green: "green", Blue: "blue", RedOff: "redOff", GreenOff: "greenOff", BlueOff: "blueOff", RedMod: "redMod", GreenMod: "greenMod", BlueMod: "blueMod", Shade: "shade", Tint: "tint", ETint: "eTint", Gray: "gray", Comp: "comp", Inv: "inv", Gamma: "gamma", InvGamma: "invGamma" }, qs.Named = { ActiveBorder: "activeBorder", ActiveCaption: "activeCaption", CaptionText: "captionText", AppWorkspace: "appWorkspace", BtnFace: "btnFace", BtnShadow: "btnShadow", DkShadow3d: "3dDkShadow", BtnHighlight: "btnHighlight", Light3d: "3dLight", BtnText: "btnText", Background: "background", GrayText: "grayText", Highlight: "highlight", HighlightText: "highlightText", HotLight: "hotLight", InactiveBorder: "inactiveBorder", InactiveCaption: "inactiveCaption", InactiveCaptionText: "inactiveCaptionText", InfoBk: "infoBk", InfoText: "infoText", Menu: "menu", MenuText: "menuText", ScrollBar: "scrollBar", Window: "window", WindowFrame: "windowFrame", WindowText: "windowText", Transparent: "transparent", AliceBlue: "aliceBlue", AntiqueWhite: "antiqueWhite", Aqua: "aqua", Aquamarine: "aquamarine", Azure: "azure", Beige: "beige", Bisque: "bisque", Black: "black", BlanchedAlmond: "blanchedAlmond", Blue: "blue", BlueViolet: "blueViolet", Brown: "brown", BurlyWood: "burlyWood", CadetBlue: "cadetBlue", Chartreuse: "chartreuse", Chocolate: "chocolate", Coral: "coral", CornflowerBlue: "cornflowerBlue", Cornsilk: "cornsilk", Crimson: "crimson", Cyan: "cyan", DkBlue: "dkBlue", DkCyan: "dkCyan", DkGoldenrod: "dkGoldenrod", DkGray: "dkGray", DkGreen: "dkGreen", DkKhaki: "dkKhaki", DkMagenta: "dkMagenta", DkOliveGreen: "dkOliveGreen", DkOrange: "dkOrange", DkOrchid: "dkOrchid", DkRed: "dkRed", DkSalmon: "dkSalmon", DkSeaGreen: "dkSeaGreen", DkSlateBlue: "dkSlateBlue", DkSlateGray: "dkSlateGray", DkTurquoise: "dkTurquoise", DkViolet: "dkViolet", DeepPink: "deepPink", DeepSkyBlue: "deepSkyBlue", DimGray: "dimGray", DodgerBlue: "dodgerBlue", Firebrick: "firebrick", FloralWhite: "floralWhite", ForestGreen: "forestGreen", Fuchsia: "fuchsia", Gainsboro: "gainsboro", GhostWhite: "ghostWhite", Gold: "gold", Goldenrod: "goldenrod", Gray: "gray", Green: "green", GreenYellow: "greenYellow", Honeydew: "honeydew", HotPink: "hotPink", IndianRed: "indianRed", Indigo: "indigo", Ivory: "ivory", Khaki: "khaki", Lavender: "lavender", LavenderBlush: "lavenderBlush", LawnGreen: "lawnGreen", LemonChiffon: "lemonChiffon", LtBlue: "ltBlue", LtCoral: "ltCoral", LtCyan: "ltCyan", LtGoldenrodYellow: "ltGoldenrodYellow", LtGray: "ltGray", LtGreen: "ltGreen", LtPink: "ltPink", LtSalmon: "ltSalmon", LtSeaGreen: "ltSeaGreen", LtSkyBlue: "ltSkyBlue", LtSlateGray: "ltSlateGray", LtSteelBlue: "ltSteelBlue", LtYellow: "ltYellow", Lime: "lime", LimeGreen: "limeGreen", Linen: "linen", Magenta: "magenta", Maroon: "maroon", MedAquamarine: "medAquamarine", MedBlue: "medBlue", MedOrchid: "medOrchid", MedPurple: "medPurple", MedSeaGreen: "medSeaGreen", MedSlateBlue: "medSlateBlue", MedSpringGreen: "medSpringGreen", MedTurquoise: "medTurquoise", MedVioletRed: "medVioletRed", MidnightBlue: "midnightBlue", MintCream: "mintCream", MistyRose: "mistyRose", Moccasin: "moccasin", NavajoWhite: "navajoWhite", Navy: "navy", OldLace: "oldLace", Olive: "olive", OliveDrab: "oliveDrab", Orange: "orange", OrangeRed: "orangeRed", Orchid: "orchid", PaleGoldenrod: "paleGoldenrod", PaleGreen: "paleGreen", PaleTurquoise: "paleTurquoise", PaleVioletRed: "paleVioletRed", PapayaWhip: "papayaWhip", PeachPuff: "peachPuff", Peru: "peru", Pink: "pink", Plum: "plum", PowderBlue: "powderBlue", Purple: "purple", Red: "red", RosyBrown: "rosyBrown", RoyalBlue: "royalBlue", SaddleBrown: "saddleBrown", Salmon: "salmon", SandyBrown: "sandyBrown", SeaGreen: "seaGreen", SeaShell: "seaShell", Sienna: "sienna", Silver: "silver", SkyBlue: "skyBlue", SlateBlue: "slateBlue", SlateGray: "slateGray", Snow: "snow", SpringGreen: "springGreen", SteelBlue: "steelBlue", Tan: "tan", Teal: "teal", Thistle: "thistle", Tomato: "tomato", Turquoise: "turquoise", Violet: "violet", Wheat: "wheat", White: "white", WhiteSmoke: "whiteSmoke", Yellow: "yellow", YellowGreen: "yellowGreen", ButtonFace: "buttonFace", ButtonHighlight: "buttonHighlight", ButtonShadow: "buttonShadow", GradientActiveCaption: "gradientActiveCaption", GradientInactiveCaption: "gradientInactiveCaption", MenuBar: "menuBar", MenuHighlight: "menuHighlight" }, qs.Scheme = { Bg1: "bg1", Bg2: "bg2", Tx1: "tx1", Tx2: "tx2", Accent1: "accent1", Accent2: "accent2", Accent3: "accent3", Accent4: "accent4", Accent5: "accent5", Accent6: "accent6", Hlink: "hlink", FolHlink: "folHlink" }, qs.Type = { Scheme: "scheme", Named: "named", Index: "index", HSL: "hsl", RGB: "rgb", LRGB: "lrgb", Hex: "hex" };
4272
+ const Ks = [[4290032820, 1, Js.Named.ActiveBorder, true], [4288263377, 2, Js.Named.ActiveCaption, true], [4278190080, 3, Js.Named.CaptionText, true], [4289440683, 4, Js.Named.AppWorkspace, true], [4293980400, 5, Js.Named.BtnFace, true], [4285098345, 6, Js.Named.BtnShadow, true], [4278190080, 7, Js.Named.DkShadow3d, true], [4293125091, 8, Js.Named.BtnHighlight, true], [4293125091, 9, Js.Named.Light3d, true], [4278190080, 10, Js.Named.BtnText, true], [4278190080, 11, Js.Named.Background, true], [4285361517, 12, Js.Named.GrayText, true], [4281571839, 13, Js.Named.Highlight, true], [4294967295, 14, Js.Named.HighlightText, true], [4278216396, 15, Js.Named.HotLight, true], [4294244348, 16, Js.Named.InactiveBorder, true], [4290760155, 17, Js.Named.InactiveCaption, true], [4278190080, 18, Js.Named.InactiveCaptionText, true], [4294967265, 19, Js.Named.InfoBk, true], [4278190080, 20, Js.Named.InfoText, true], [4293980400, 21, Js.Named.Menu, true], [4278190080, 22, Js.Named.MenuText, true], [4291348680, 23, Js.Named.ScrollBar, true], [4294967295, 24, Js.Named.Window, true], [4284769380, 25, Js.Named.WindowFrame, true], [4278190080, 26, Js.Named.WindowText, true], [16777215, 27, Js.Named.Transparent], [4293982463, 28, Js.Named.AliceBlue], [4294634455, 29, Js.Named.AntiqueWhite], [4278255615, 30, Js.Named.Aqua], [4286578644, 31, Js.Named.Aquamarine], [4293984255, 32, Js.Named.Azure], [4294309340, 33, Js.Named.Beige], [4294960324, 34, Js.Named.Bisque], [4278190080, 35, Js.Named.Black], [4294962125, 36, Js.Named.BlanchedAlmond], [4278190335, 37, Js.Named.Blue], [4287245282, 38, Js.Named.BlueViolet], [4289014314, 39, Js.Named.Brown], [4292786311, 40, Js.Named.BurlyWood], [4284456608, 41, Js.Named.CadetBlue], [4286578432, 42, Js.Named.Chartreuse], [4291979550, 43, Js.Named.Chocolate], [4294934352, 44, Js.Named.Coral], [4284782061, 45, Js.Named.CornflowerBlue], [4294965468, 46, Js.Named.Cornsilk], [4292613180, 47, Js.Named.Crimson], [4278255615, 48, Js.Named.Cyan], [4278190219, 49, Js.Named.DkBlue], [4278225803, 50, Js.Named.DkCyan], [4290283019, 51, Js.Named.DkGoldenrod], [4289309097, 52, Js.Named.DkGray], [4278215680, 53, Js.Named.DkGreen], [4290623339, 54, Js.Named.DkKhaki], [4287299723, 55, Js.Named.DkMagenta], [4283788079, 56, Js.Named.DkOliveGreen], [4294937600, 57, Js.Named.DkOrange], [4288230092, 58, Js.Named.DkOrchid], [4287299584, 59, Js.Named.DkRed], [4293498490, 60, Js.Named.DkSalmon], [4287609995, 61, Js.Named.DkSeaGreen], [4282924427, 62, Js.Named.DkSlateBlue], [4281290575, 63, Js.Named.DkSlateGray], [4278243025, 64, Js.Named.DkTurquoise], [4287889619, 65, Js.Named.DkViolet], [4294907027, 66, Js.Named.DeepPink], [4278239231, 67, Js.Named.DeepSkyBlue], [4285098345, 68, Js.Named.DimGray], [4280193279, 69, Js.Named.DodgerBlue], [4289864226, 70, Js.Named.Firebrick], [4294966e3, 71, Js.Named.FloralWhite], [4280453922, 72, Js.Named.ForestGreen], [4294902015, 73, Js.Named.Fuchsia], [4292664540, 74, Js.Named.Gainsboro], [4294506751, 75, Js.Named.GhostWhite], [4294956800, 76, Js.Named.Gold], [4292519200, 77, Js.Named.Goldenrod], [4286611584, 78, Js.Named.Gray], [4278222848, 79, Js.Named.Green], [4289593135, 80, Js.Named.GreenYellow], [4293984240, 81, Js.Named.Honeydew], [4294928820, 82, Js.Named.HotPink], [4291648604, 83, Js.Named.IndianRed], [4283105410, 84, Js.Named.Indigo], [4294967280, 85, Js.Named.Ivory], [4293977740, 86, Js.Named.Khaki], [4293322490, 87, Js.Named.Lavender], [4294963445, 88, Js.Named.LavenderBlush], [4286381056, 89, Js.Named.LawnGreen], [4294965965, 90, Js.Named.LemonChiffon], [4289583334, 91, Js.Named.LtBlue], [4293951616, 92, Js.Named.LtCoral], [4292935679, 93, Js.Named.LtCyan], [4294638200, 94, Js.Named.LtGoldenrodYellow], [4292072403, 95, Js.Named.LtGray], [4287688336, 96, Js.Named.LtGreen], [4294948545, 97, Js.Named.LtPink], [4294942842, 98, Js.Named.LtSalmon], [4280332970, 99, Js.Named.LtSeaGreen], [4287090426, 100, Js.Named.LtSkyBlue], [4286023833, 101, Js.Named.LtSlateGray], [4289774814, 102, Js.Named.LtSteelBlue], [4294967264, 103, Js.Named.LtYellow], [4278255360, 104, Js.Named.Lime], [4281519410, 105, Js.Named.LimeGreen], [4294635750, 106, Js.Named.Linen], [4294902015, 107, Js.Named.Magenta], [4286578688, 108, Js.Named.Maroon], [4284927402, 109, Js.Named.MedAquamarine], [4278190285, 110, Js.Named.MedBlue], [4290401747, 111, Js.Named.MedOrchid], [4287852763, 112, Js.Named.MedPurple], [4282168177, 113, Js.Named.MedSeaGreen], [4286277870, 114, Js.Named.MedSlateBlue], [4278254234, 115, Js.Named.MedSpringGreen], [4282962380, 116, Js.Named.MedTurquoise], [4291237253, 117, Js.Named.MedVioletRed], [4279834992, 118, Js.Named.MidnightBlue], [4294311930, 119, Js.Named.MintCream], [4294960353, 120, Js.Named.MistyRose], [4294960309, 121, Js.Named.Moccasin], [4294958765, 122, Js.Named.NavajoWhite], [4278190208, 123, Js.Named.Navy], [4294833638, 124, Js.Named.OldLace], [4286611456, 125, Js.Named.Olive], [4285238819, 126, Js.Named.OliveDrab], [4294944e3, 127, Js.Named.Orange], [4294919424, 128, Js.Named.OrangeRed], [4292505814, 129, Js.Named.Orchid], [4293847210, 130, Js.Named.PaleGoldenrod], [4288215960, 131, Js.Named.PaleGreen], [4289720046, 132, Js.Named.PaleTurquoise], [4292571283, 133, Js.Named.PaleVioletRed], [4294963157, 134, Js.Named.PapayaWhip], [4294957753, 135, Js.Named.PeachPuff], [4291659071, 136, Js.Named.Peru], [4294951115, 137, Js.Named.Pink], [4292714717, 138, Js.Named.Plum], [4289781990, 139, Js.Named.PowderBlue], [4286578816, 140, Js.Named.Purple], [4294901760, 141, Js.Named.Red], [4290547599, 142, Js.Named.RosyBrown], [4282477025, 143, Js.Named.RoyalBlue], [4287317267, 144, Js.Named.SaddleBrown], [4294606962, 145, Js.Named.Salmon], [4294222944, 146, Js.Named.SandyBrown], [4281240407, 147, Js.Named.SeaGreen], [4294964718, 148, Js.Named.SeaShell], [4288696877, 149, Js.Named.Sienna], [4290822336, 150, Js.Named.Silver], [4287090411, 151, Js.Named.SkyBlue], [4285160141, 152, Js.Named.SlateBlue], [4285563024, 153, Js.Named.SlateGray], [4294966010, 154, Js.Named.Snow], [4278255487, 155, Js.Named.SpringGreen], [4282811060, 156, Js.Named.SteelBlue], [4291998860, 157, Js.Named.Tan], [4278222976, 158, Js.Named.Teal], [4292394968, 159, Js.Named.Thistle], [4294927175, 160, Js.Named.Tomato], [4282441936, 161, Js.Named.Turquoise], [4293821166, 162, Js.Named.Violet], [4294303411, 163, Js.Named.Wheat], [4294967295, 164, Js.Named.White], [4294309365, 165, Js.Named.WhiteSmoke], [4294967040, 166, Js.Named.Yellow], [4288335154, 167, Js.Named.YellowGreen], [4293980400, 168, Js.Named.ButtonFace], [4294967295, 169, Js.Named.ButtonHighlight], [4288716960, 170, Js.Named.ButtonShadow], [4290367978, 171, Js.Named.GradientActiveCaption], [4292338930, 172, Js.Named.GradientInactiveCaption], [4293980400, 173, Js.Named.MenuBar], [4281571839, 174, Js.Named.MenuHighlight]];
4265
4273
  const Xs = new class {
4266
4274
  constructor() {
4267
4275
  this._lookupByName = /* @__PURE__ */ new Map();
4268
- for (let t2 = 0; t2 < qs.length; t2++) {
4269
- const e2 = qs[t2], n2 = e2[0], r2 = (n2 >> 24 & 255) / 255, o2 = n2 >> 16 & 255, s2 = n2 >> 8 & 255, i2 = 255 & n2, a2 = { id: e2[1], name: e2[2], rgbaColor: { r: o2, g: s2, b: i2, a: r2 }, system: e2.length > 3 };
4276
+ for (let t2 = 0; t2 < Ks.length; t2++) {
4277
+ const e2 = Ks[t2], n2 = e2[0], r2 = (n2 >> 24 & 255) / 255, o2 = n2 >> 16 & 255, s2 = n2 >> 8 & 255, i2 = 255 & n2, a2 = { id: e2[1], name: e2[2], rgbaColor: { r: o2, g: s2, b: i2, a: r2 }, system: e2.length > 3 };
4270
4278
  this._lookupByName.set(a2.name.toLowerCase(), a2);
4271
4279
  }
4272
4280
  }
@@ -4289,21 +4297,21 @@ const Zs = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], a
4289
4297
  let e3 = t2.match(Fn) || t2.match(kn);
4290
4298
  if (e3) {
4291
4299
  let t3, n3 = 1;
4292
- 4 === e3.length ? t3 = [parseInt(e3[1], 16), parseInt(e3[2], 16), parseInt(e3[3], 16)] : (t3 = [parseInt(e3[2], 16), parseInt(e3[3], 16), parseInt(e3[4], 16)], n3 = Pn(parseInt(e3[1], 16) / 255)), t3 = Ln(t3), t3 = zn(t3), o2 = { srgb: t3, alpha: n3 }, a2 = Js.Type.Hex;
4300
+ 4 === e3.length ? t3 = [parseInt(e3[1], 16), parseInt(e3[2], 16), parseInt(e3[3], 16)] : (t3 = [parseInt(e3[2], 16), parseInt(e3[3], 16), parseInt(e3[4], 16)], n3 = Pn(parseInt(e3[1], 16) / 255)), t3 = Bn(t3), t3 = zn(t3), o2 = { srgb: t3, alpha: n3 }, a2 = Js.Type.Hex;
4293
4301
  }
4294
4302
  }
4295
4303
  if (null === o2) {
4296
4304
  let e3 = t2.match(In) || t2.match(Rn);
4297
4305
  if (e3) {
4298
4306
  let t3 = Dn(e3[1], e3[2], e3[3]);
4299
- t3 = Ln(t3), t3 = zn(t3), o2 = { srgb: t3, alpha: e3[4] ? Pn(parseFloat(e3[4])) : 1 }, a2 = Js.Type.RGB;
4307
+ t3 = Bn(t3), t3 = zn(t3), o2 = { srgb: t3, alpha: e3[4] ? Pn(parseFloat(e3[4])) : 1 }, a2 = Js.Type.RGB;
4300
4308
  }
4301
4309
  }
4302
4310
  if (null === o2) {
4303
4311
  let e3 = t2.match(An) || t2.match(Mn);
4304
4312
  if (e3) {
4305
4313
  let t3 = Dn(e3[1], e3[2], e3[3]);
4306
- t3 = Ln(t3, 100), t3 = Vn(t3), t3 = zn(t3), o2 = { srgb: t3, alpha: e3[4] ? Pn(parseFloat(e3[4])) : 1 }, a2 = Js.Type.LRGB;
4314
+ t3 = Bn(t3, 100), t3 = Vn(t3), t3 = zn(t3), o2 = { srgb: t3, alpha: e3[4] ? Pn(parseFloat(e3[4])) : 1 }, a2 = Js.Type.LRGB;
4307
4315
  }
4308
4316
  }
4309
4317
  if (null === o2) {
@@ -4375,10 +4383,10 @@ class li {
4375
4383
  const s3 = (t4) => Math.round(Math.max(0, Math.min(255, t4))), i2 = t3[0], a2 = t3[1], l2 = t3[2];
4376
4384
  return [s3(n3[0] * i2 + n3[1] * a2 + n3[2] * l2), s3(n3[3] * i2 + n3[4] * a2 + n3[5] * l2), s3(n3[6] * i2 + n3[7] * a2 + n3[8] * l2)];
4377
4385
  })(n2, 180), n2 = gr(n2, false);
4378
- let r2 = Hn(n2);
4386
+ let r2 = Wn(n2);
4379
4387
  const o2 = Jn(r2);
4380
- if (o2[Xn] = 0.95 * o2[Xn], r2 = Gn(o2), n2 = Vn(r2), n2 = Bn(n2), n2 = zn(n2, false), t2) return new yr.RGBA(n2[0], n2[1], n2[2], e2.alpha);
4381
- const s2 = Jn(Hn(n2));
4388
+ if (o2[Xn] = 0.95 * o2[Xn], r2 = Gn(o2), n2 = Vn(r2), n2 = Ln(n2), n2 = zn(n2, false), t2) return new yr.RGBA(n2[0], n2[1], n2[2], e2.alpha);
4389
+ const s2 = Jn(Wn(n2));
4382
4390
  return new yr.HSLA(s2[0], s2[1], s2[2], e2.alpha);
4383
4391
  }
4384
4392
  _resolve() {
@@ -4393,7 +4401,7 @@ class li {
4393
4401
  const o2 = e3 ? e3.length : 0;
4394
4402
  for (var s2 = 0; s2 < o2; s2++) {
4395
4403
  const t4 = e3[s2], o3 = Object.keys(t4)[0], i2 = t4[o3];
4396
- o3 === Js.AdjustmentType.Alpha ? (r3 = i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : o3 === Js.AdjustmentType.AlphaOff ? (r3 += i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : o3 === Js.AdjustmentType.AlphaMod ? (r3 *= i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : o3 === Js.AdjustmentType.Hue ? n3 = ar(Kn, n3, i2) : o3 === Js.AdjustmentType.Sat ? n3 = ar(qn, n3, i2) : o3 === Js.AdjustmentType.Lum ? n3 = ar(Xn, n3, i2) : o3 === Js.AdjustmentType.HueOff ? n3 = lr(Kn, n3, i2) : o3 === Js.AdjustmentType.SatOff ? n3 = lr(qn, n3, i2) : o3 === Js.AdjustmentType.LumOff ? n3 = lr(Xn, n3, i2) : o3 === Js.AdjustmentType.HueMod ? n3 = cr(Kn, n3, i2) : o3 === Js.AdjustmentType.SatMod ? n3 = cr(qn, n3, i2) : o3 === Js.AdjustmentType.LumMod ? n3 = cr(Xn, n3, i2) : o3 === Js.AdjustmentType.Red ? n3 = hr(Yn, n3, i2, tr) : o3 === Js.AdjustmentType.Green ? n3 = hr(Qn, n3, i2, tr) : o3 === Js.AdjustmentType.Blue ? n3 = hr(Zn, n3, i2, tr) : o3 === Js.AdjustmentType.RedOff ? n3 = hr(Yn, n3, i2, er) : o3 === Js.AdjustmentType.GreenOff ? n3 = hr(Qn, n3, i2, er) : o3 === Js.AdjustmentType.BlueOff ? n3 = hr(Zn, n3, i2, er) : o3 === Js.AdjustmentType.RedMod ? n3 = hr(Yn, n3, i2, nr) : o3 === Js.AdjustmentType.GreenMod ? n3 = hr(Qn, n3, i2, nr) : o3 === Js.AdjustmentType.BlueMod ? n3 = hr(Zn, n3, i2, nr) : o3 === Js.AdjustmentType.Shade ? n3 = rr(n3, i2) : o3 === Js.AdjustmentType.Tint ? n3 = ir(n3, i2) : o3 === Js.AdjustmentType.ETint ? n3 = sr(n3, i2) : o3 === Js.AdjustmentType.Gray ? n3 = dr(n3) : o3 === Js.AdjustmentType.Comp ? n3 = ur(n3) : o3 === Js.AdjustmentType.Inv ? n3 = gr(n3, i2) : o3 === Js.AdjustmentType.Gamma ? n3 = mr(n3) : o3 === Js.AdjustmentType.InvGamma ? n3 = fr(n3) : console.warn("unknown adjustmentType: " + o3);
4404
+ o3 === Js.AdjustmentType.Alpha ? (r3 = i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : o3 === Js.AdjustmentType.AlphaOff ? (r3 += i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : o3 === Js.AdjustmentType.AlphaMod ? (r3 *= i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : o3 === Js.AdjustmentType.Hue ? n3 = ar(qn, n3, i2) : o3 === Js.AdjustmentType.Sat ? n3 = ar(Kn, n3, i2) : o3 === Js.AdjustmentType.Lum ? n3 = ar(Xn, n3, i2) : o3 === Js.AdjustmentType.HueOff ? n3 = lr(qn, n3, i2) : o3 === Js.AdjustmentType.SatOff ? n3 = lr(Kn, n3, i2) : o3 === Js.AdjustmentType.LumOff ? n3 = lr(Xn, n3, i2) : o3 === Js.AdjustmentType.HueMod ? n3 = cr(qn, n3, i2) : o3 === Js.AdjustmentType.SatMod ? n3 = cr(Kn, n3, i2) : o3 === Js.AdjustmentType.LumMod ? n3 = cr(Xn, n3, i2) : o3 === Js.AdjustmentType.Red ? n3 = hr(Yn, n3, i2, tr) : o3 === Js.AdjustmentType.Green ? n3 = hr(Qn, n3, i2, tr) : o3 === Js.AdjustmentType.Blue ? n3 = hr(Zn, n3, i2, tr) : o3 === Js.AdjustmentType.RedOff ? n3 = hr(Yn, n3, i2, er) : o3 === Js.AdjustmentType.GreenOff ? n3 = hr(Qn, n3, i2, er) : o3 === Js.AdjustmentType.BlueOff ? n3 = hr(Zn, n3, i2, er) : o3 === Js.AdjustmentType.RedMod ? n3 = hr(Yn, n3, i2, nr) : o3 === Js.AdjustmentType.GreenMod ? n3 = hr(Qn, n3, i2, nr) : o3 === Js.AdjustmentType.BlueMod ? n3 = hr(Zn, n3, i2, nr) : o3 === Js.AdjustmentType.Shade ? n3 = rr(n3, i2) : o3 === Js.AdjustmentType.Tint ? n3 = ir(n3, i2) : o3 === Js.AdjustmentType.ETint ? n3 = sr(n3, i2) : o3 === Js.AdjustmentType.Gray ? n3 = dr(n3) : o3 === Js.AdjustmentType.Comp ? n3 = ur(n3) : o3 === Js.AdjustmentType.Inv ? n3 = gr(n3, i2) : o3 === Js.AdjustmentType.Gamma ? n3 = mr(n3) : o3 === Js.AdjustmentType.InvGamma ? n3 = fr(n3) : console.warn("unknown adjustmentType: " + o3);
4397
4405
  }
4398
4406
  return { srgb: n3, alpha: r3 };
4399
4407
  })(t2.srgbAlpha, this._private.adjs), n2 = ((t3, e3 = 255) => {
@@ -4401,7 +4409,7 @@ class li {
4401
4409
  for (var r3 = 0; r3 < t3.length; r3++) n3[r3] = t3[r3] * e3;
4402
4410
  return n3;
4403
4411
  })(e2.srgb);
4404
- n2 = Bn(n2);
4412
+ n2 = Ln(n2);
4405
4413
  let r2 = Pn(e2.alpha);
4406
4414
  this._private.adjusted = e2, this._private.parsedVal = t2, this._private.resolved = new yr.RGBA(n2[0], n2[1], n2[2], r2);
4407
4415
  }
@@ -4463,7 +4471,7 @@ class li {
4463
4471
  getType() {
4464
4472
  return this._resolve(), this._private.parsedVal.type ?? null;
4465
4473
  }
4466
- toCSS(t2 = false, e2 = true) {
4474
+ toCSS(t2 = false, e2 = false) {
4467
4475
  const n2 = t2 ? this._forceDark() : this.toRGBA();
4468
4476
  return 0 === n2.alpha ? "none" : n2.toString(e2);
4469
4477
  }
@@ -4599,7 +4607,7 @@ const Ni = (t2, e2, n2, r2, o2) => {
4599
4607
  };
4600
4608
  var ki, Oi;
4601
4609
  (ki || (ki = {})).buildPalette = Fi, (Oi || (Oi = {})).BuiltInFilterType = { BuiltIn: "builtIn", All: "all", Custom: "custom" };
4602
- const Di = [["Office", "windowText", "window", "0E2841", "E8E8E8", "156082", "E97132", "196B24", "0F9ED5", "A02B93", "4EA72E", "467886", "96607D"], ["Office 2013-2022", "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"], ["Office 2007-2010", "windowText", "window", "1F497D", "EEECE1", "4F81BD", "C0504D", "9BBB59", "8064A2", "4BACC6", "F79646", "0000FF", "800080"], ["Grayscale", "windowText", "window", "000000", "F8F8F8", "DDDDDD", "B2B2B2", "969696", "808080", "5F5F5F", "4D4D4D", "5F5F5F", "919191"], ["Atlas", "windowText", "window", "454545", "E0E0E0", "F81B02", "FC7715", "AFBF41", "50C49F", "3B95C4", "B560D4", "FC5A1A", "B49E74"], ["Banded", "2C2C2C", "FFFFFF", "099BDD", "F2F2F2", "FFC000", "A5D028", "08CC78", "F24099", "828288", "F56617", "005DBA", "6C606A"], ["Basis", "000000", "FFFFFF", "565349", "DDDDDD", "A6B727", "DF5327", "FE9E00", "418AB3", "D7D447", "818183", "F59E00", "B2B2B2"], ["Berlin", "windowText", "window", "9D360E", "E7E6E6", "F09415", "C1B56B", "4BAF73", "5AA6C0", "D17DF9", "FA7E5C", "FFAE3E", "FCC77E"], ["Celestial", "windowText", "window", "18276C", "EBEBEB", "AC3EC1", "477BD1", "46B298", "90BA4C", "DD9D31", "E25247", "C573D2", "CCAEE8"], ["Circuit", "windowText", "window", "134770", "82FFFF", "9ACD4C", "FAA93A", "D35940", "B258D3", "63A0CC", "8AC4A7", "B8FA56", "7AF8CC"], ["Damask", "windowText", "window", "2A5B7F", "ABDAFC", "9EC544", "50BEA3", "4A9CCC", "9A66CA", "C54F71", "DE9C3C", "6BA9DA", "A0BCD3"], ["Depth", "windowText", "window", "455F51", "94D7E4", "41AEBD", "97E9D5", "A2CF49", "608F3D", "F4DE3A", "FCB11C", "FBCA98", "D3B86D"], ["Dividend", "windowText", "window", "3D3D3D", "EBEBEB", "4D1434", "903163", "B2324B", "969FA7", "66B1CE", "40619D", "828282", "A5A5A5"], ["Droplet", "windowText", "window", "355071", "AABED7", "2FA3EE", "4BCAAD", "86C157", "D99C3F", "CE6633", "A35DD1", "56BCFE", "97C5E3"], ["Facet", "windowText", "window", "2C3C43", "EBEBEB", "90C226", "54A021", "E6B91E", "E76618", "C42F1A", "918655", "99CA3C", "B9D181"], ["Frame", "000000", "FFFFFF", "545454", "BFBFBF", "40BAD2", "FAB900", "90BB23", "EE7008", "1AB39F", "D5393D", "90BB23", "EE7008"], ["Gallery", "windowText", "window", "454545", "DFDBD5", "B71E42", "DE478E", "BC72F0", "795FAF", "586EA6", "6892A0", "FA2B5C", "BC658E"], ["Integral", "windowText", "window", "335B74", "DFE3E5", "1CADE4", "2683C6", "27CED7", "42BA97", "3E8853", "62A39F", "6B9F25", "B26B02"], ["Ion Boardroom", "windowText", "window", "3B3059", "EBEBEB", "B31166", "E33D6F", "E45F3C", "E9943A", "9B6BF2", "D53DD0", "8F8F8F", "A5A5A5"], ["Ion", "windowText", "window", "1E5155", "EBEBEB", "B01513", "EA6312", "E6B729", "6AAC90", "54849A", "9E5E9B", "58C1BA", "9DFFCB"], ["Madison", "windowText", "window", "1F2D29", "C5FAEB", "A1D68B", "5EC795", "4DADCF", "CDB756", "E29C36", "8EC0C1", "6D9D9B", "6D8583"], ["Main Event", "windowText", "window", "424242", "C8C8C8", "B80E0F", "A6987D", "7F9A71", "64969F", "9B75B2", "80737A", "F21213", "B6A394"], ["Mesh", "windowText", "window", "363D46", "EBEBEB", "6F6F6F", "BFBFA5", "DCD084", "E7BF5F", "E9A039", "CF7133", "F28943", "F1B76C"], ["Metropolitan", "windowText", "window", "162F33", "EAF0E0", "50B4C8", "A8B97F", "9B9256", "657689", "7A855D", "84AC9D", "2370CD", "877589"], ["Organic", "windowText", "window", "212121", "DADADA", "83992A", "3C9770", "44709D", "A23C33", "D97828", "DEB340", "A8BF4D", "B4CA80"], ["Parallax", "windowText", "window", "212121", "CDD0D1", "30ACEC", "80C34F", "E29D3E", "D64A3B", "D64787", "A666E1", "3085ED", "82B6F4"], ["Parcel", "000000", "FFFFFF", "4A5356", "E8E3CE", "F6A21D", "9BAFB5", "C96731", "9CA383", "87795D", "A0988C", "00B0F0", "738F97"], ["Quotable", "windowText", "window", "212121", "636363", "00C6BB", "6FEBA0", "B6DF5E", "EFB251", "EF755F", "ED515C", "8F8F8F", "A5A5A5"], ["Retrospect", "000000", "window", "637052", "CCDDEA", "E48312", "BD582C", "865640", "9B8357", "C2BC80", "94A088", "2998E3", "8C8C8C"], ["Savon", "windowText", "window", "1485A4", "E3DED1", "1CADE4", "2683C6", "27CED7", "42BA97", "3E8853", "62A39F", "F49100", "739D9B"], ["Slate", "windowText", "window", "212123", "DADADA", "BC451B", "D3BA68", "BB8640", "AD9277", "A55A43", "AD9D7B", "E98052", "F4B69B"], ["Slice", "windowText", "window", "146194", "76DBF4", "052F61", "A50E82", "14967C", "6A9E1F", "E87D37", "C62324", "0D2E46", "356A95"], ["Vapor Trail", "windowText", "window", "454545", "DADADA", "DF2E28", "FE801A", "E9BF35", "81BB42", "32C7A9", "4A9BDC", "F0532B", "F38B53"], ["View", "000000", "FFFFFF", "46464A", "D6D3CC", "6F6F74", "92A9B9", "A7B789", "B9A489", "8D6374", "9B7362", "67AABF", "ABAFA5"], ["Wisp", "windowText", "window", "766F54", "E3EACF", "A53010", "DE7E18", "9F8351", "728653", "92AA4C", "6AAC91", "FB4A18", "FB9318"], ["Wood Type", "windowText", "window", "696464", "E9E5DC", "D34817", "9B2D1F", "A28E6A", "956251", "918485", "855D5D", "CC9900", "96A9A9"]], Li = [["Office", "Calibri Light", "Calibri"], ["Office 2013-2022", "Calibri Light", "Calibri"], ["Office 2007-2010", "Calibri Light", "Calibri"], ["Grayscale", "Calibri Light", "Calibri"], ["Atlas", "Calibri Light", "Rockwell"], ["Banded", "Corbel", "Corbel"], ["Basis", "Corbel", "Corbel"], ["Berlin", "Trebuchet MS", "Trebuchet MS"], ["Celestial", "Calibri Light", "Calibri"], ["Circuit", "Tw Cen MT", "Tw Cen MT"], ["Damask", "Bookman Old Style", "Rockwell"], ["Depth", "Corbel", "Corbel"], ["Madison", "Arial", "Arial"], ["Main Event", "Impact", "Impact"], ["Mesh", "Century Gothic", "Century Gothic"], ["Metropolitan", "Calibri Light", "Calibri Light"], ["Organic", "Garamond", "Garamond"], ["Parallax", "Corbel", "Corbel"], ["Parcel", "Gill Sans MT", "Gill Sans MT"], ["Quotable", "Century Gothic", "Century Gothic"], ["Retrospect", "Calibri Light", "Calibri"], ["Savon", "Century Gothic", "Century Gothic"], ["Slate", "Calisto MT", "Calisto MT"], ["Slice", "Century Gothic", "Century Gothic"], ["Vapor Trail", "Century Gothic", "Century Gothic"], ["View", "Century Schoolbook", "Century Schoolbook"], ["Wisp", "Century Gothic", "Century Gothic"], ["Wood Type", "Rockwell Condensed", "Rockwell"]], Bi = [["Office", "Office", "Office"], ["2013-2022", "Office 2013-2022", "Office 2013-2022"], ["Atlas", "Atlas", "Atlas"], ["Banded", "Banded", "Banded"], ["Basis", "Basis", "Basis"], ["Berlin", "Berlin", "Berlin"], ["Celestial", "Celestial", "Celestial"], ["Circuit", "Circuit", "Circuit"], ["Damask", "Damask", "Damask"], ["Depth", "Depth", "Depth"], ["Dividend", "Dividend", "Dividend"], ["Droplet", "Droplet", "Droplet"], ["Facet", "Facet", "Facet"], ["Frame", "Frame", "Frame"], ["Gallery", "Gallery", "Gallery"], ["Grayscale", "Grayscale", "Grayscale"], ["Integral", "Integral", "Integral"], ["Ion Boardroom", "Ion Boardroom", "Ion Boardroom"], ["Ion", "Ion", "Ion"], ["Madison", "Madison", "Madison"], ["Main Event", "Main Event", "Main Event"], ["Mesh", "Mesh", "Mesh"], ["Metropolitan", "Metropolitan", "Metropolitan"], ["Organic", "Organic", "Organic"], ["Parallax", "Parallax", "Parallax"], ["Parcel", "Parcel", "Parcel"], ["Quotable", "Quotable", "Quotable"], ["Retrospect", "Retrospect", "Retrospect"], ["Savon", "Savon", "Savon"], ["Slate", "Slate", "Slate"], ["Slice", "Slice", "Slice"], ["Vapor Trail", "Vapor Trail", "Vapor Trail"], ["View", "View", "View"], ["Wisp", "Wisp", "Wisp"], ["Wood Type", "Wood Type", "Wood Type"], ["Office 2007-2010", "Office 2007-2010", "Office 2007-2010"]], zi = "Themes is readonly. To make modifications create a new DocsThemes instance.", Pi = { [Js.Scheme.Bg1]: "lt1", [Js.Scheme.Bg2]: "lt2", [Js.Scheme.Tx1]: "dk1", [Js.Scheme.Tx2]: "dk2", [Js.Scheme.Accent1]: "accent1", [Js.Scheme.Accent2]: "accent2", [Js.Scheme.Accent3]: "accent3", [Js.Scheme.Accent4]: "accent4", [Js.Scheme.Accent5]: "accent5", [Js.Scheme.Accent6]: "accent6", [Js.Scheme.Hlink]: "hlink", [Js.Scheme.FolHlink]: "folHlink" }, Wi = "Office", Hi = [Wi, "Calibri Light", "Calibri"], Vi = ["dk1", "lt1", "dk2", "lt2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hlink", "folHlink"], $i = (t2) => {
4610
+ const Di = [["Office", "windowText", "window", "0E2841", "E8E8E8", "156082", "E97132", "196B24", "0F9ED5", "A02B93", "4EA72E", "467886", "96607D"], ["Office 2013-2022", "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"], ["Office 2007-2010", "windowText", "window", "1F497D", "EEECE1", "4F81BD", "C0504D", "9BBB59", "8064A2", "4BACC6", "F79646", "0000FF", "800080"], ["Grayscale", "windowText", "window", "000000", "F8F8F8", "DDDDDD", "B2B2B2", "969696", "808080", "5F5F5F", "4D4D4D", "5F5F5F", "919191"], ["Atlas", "windowText", "window", "454545", "E0E0E0", "F81B02", "FC7715", "AFBF41", "50C49F", "3B95C4", "B560D4", "FC5A1A", "B49E74"], ["Banded", "2C2C2C", "FFFFFF", "099BDD", "F2F2F2", "FFC000", "A5D028", "08CC78", "F24099", "828288", "F56617", "005DBA", "6C606A"], ["Basis", "000000", "FFFFFF", "565349", "DDDDDD", "A6B727", "DF5327", "FE9E00", "418AB3", "D7D447", "818183", "F59E00", "B2B2B2"], ["Berlin", "windowText", "window", "9D360E", "E7E6E6", "F09415", "C1B56B", "4BAF73", "5AA6C0", "D17DF9", "FA7E5C", "FFAE3E", "FCC77E"], ["Celestial", "windowText", "window", "18276C", "EBEBEB", "AC3EC1", "477BD1", "46B298", "90BA4C", "DD9D31", "E25247", "C573D2", "CCAEE8"], ["Circuit", "windowText", "window", "134770", "82FFFF", "9ACD4C", "FAA93A", "D35940", "B258D3", "63A0CC", "8AC4A7", "B8FA56", "7AF8CC"], ["Damask", "windowText", "window", "2A5B7F", "ABDAFC", "9EC544", "50BEA3", "4A9CCC", "9A66CA", "C54F71", "DE9C3C", "6BA9DA", "A0BCD3"], ["Depth", "windowText", "window", "455F51", "94D7E4", "41AEBD", "97E9D5", "A2CF49", "608F3D", "F4DE3A", "FCB11C", "FBCA98", "D3B86D"], ["Dividend", "windowText", "window", "3D3D3D", "EBEBEB", "4D1434", "903163", "B2324B", "969FA7", "66B1CE", "40619D", "828282", "A5A5A5"], ["Droplet", "windowText", "window", "355071", "AABED7", "2FA3EE", "4BCAAD", "86C157", "D99C3F", "CE6633", "A35DD1", "56BCFE", "97C5E3"], ["Facet", "windowText", "window", "2C3C43", "EBEBEB", "90C226", "54A021", "E6B91E", "E76618", "C42F1A", "918655", "99CA3C", "B9D181"], ["Frame", "000000", "FFFFFF", "545454", "BFBFBF", "40BAD2", "FAB900", "90BB23", "EE7008", "1AB39F", "D5393D", "90BB23", "EE7008"], ["Gallery", "windowText", "window", "454545", "DFDBD5", "B71E42", "DE478E", "BC72F0", "795FAF", "586EA6", "6892A0", "FA2B5C", "BC658E"], ["Integral", "windowText", "window", "335B74", "DFE3E5", "1CADE4", "2683C6", "27CED7", "42BA97", "3E8853", "62A39F", "6B9F25", "B26B02"], ["Ion Boardroom", "windowText", "window", "3B3059", "EBEBEB", "B31166", "E33D6F", "E45F3C", "E9943A", "9B6BF2", "D53DD0", "8F8F8F", "A5A5A5"], ["Ion", "windowText", "window", "1E5155", "EBEBEB", "B01513", "EA6312", "E6B729", "6AAC90", "54849A", "9E5E9B", "58C1BA", "9DFFCB"], ["Madison", "windowText", "window", "1F2D29", "C5FAEB", "A1D68B", "5EC795", "4DADCF", "CDB756", "E29C36", "8EC0C1", "6D9D9B", "6D8583"], ["Main Event", "windowText", "window", "424242", "C8C8C8", "B80E0F", "A6987D", "7F9A71", "64969F", "9B75B2", "80737A", "F21213", "B6A394"], ["Mesh", "windowText", "window", "363D46", "EBEBEB", "6F6F6F", "BFBFA5", "DCD084", "E7BF5F", "E9A039", "CF7133", "F28943", "F1B76C"], ["Metropolitan", "windowText", "window", "162F33", "EAF0E0", "50B4C8", "A8B97F", "9B9256", "657689", "7A855D", "84AC9D", "2370CD", "877589"], ["Organic", "windowText", "window", "212121", "DADADA", "83992A", "3C9770", "44709D", "A23C33", "D97828", "DEB340", "A8BF4D", "B4CA80"], ["Parallax", "windowText", "window", "212121", "CDD0D1", "30ACEC", "80C34F", "E29D3E", "D64A3B", "D64787", "A666E1", "3085ED", "82B6F4"], ["Parcel", "000000", "FFFFFF", "4A5356", "E8E3CE", "F6A21D", "9BAFB5", "C96731", "9CA383", "87795D", "A0988C", "00B0F0", "738F97"], ["Quotable", "windowText", "window", "212121", "636363", "00C6BB", "6FEBA0", "B6DF5E", "EFB251", "EF755F", "ED515C", "8F8F8F", "A5A5A5"], ["Retrospect", "000000", "window", "637052", "CCDDEA", "E48312", "BD582C", "865640", "9B8357", "C2BC80", "94A088", "2998E3", "8C8C8C"], ["Savon", "windowText", "window", "1485A4", "E3DED1", "1CADE4", "2683C6", "27CED7", "42BA97", "3E8853", "62A39F", "F49100", "739D9B"], ["Slate", "windowText", "window", "212123", "DADADA", "BC451B", "D3BA68", "BB8640", "AD9277", "A55A43", "AD9D7B", "E98052", "F4B69B"], ["Slice", "windowText", "window", "146194", "76DBF4", "052F61", "A50E82", "14967C", "6A9E1F", "E87D37", "C62324", "0D2E46", "356A95"], ["Vapor Trail", "windowText", "window", "454545", "DADADA", "DF2E28", "FE801A", "E9BF35", "81BB42", "32C7A9", "4A9BDC", "F0532B", "F38B53"], ["View", "000000", "FFFFFF", "46464A", "D6D3CC", "6F6F74", "92A9B9", "A7B789", "B9A489", "8D6374", "9B7362", "67AABF", "ABAFA5"], ["Wisp", "windowText", "window", "766F54", "E3EACF", "A53010", "DE7E18", "9F8351", "728653", "92AA4C", "6AAC91", "FB4A18", "FB9318"], ["Wood Type", "windowText", "window", "696464", "E9E5DC", "D34817", "9B2D1F", "A28E6A", "956251", "918485", "855D5D", "CC9900", "96A9A9"]], Bi = [["Office", "Calibri Light", "Calibri"], ["Office 2013-2022", "Calibri Light", "Calibri"], ["Office 2007-2010", "Calibri Light", "Calibri"], ["Grayscale", "Calibri Light", "Calibri"], ["Atlas", "Calibri Light", "Rockwell"], ["Banded", "Corbel", "Corbel"], ["Basis", "Corbel", "Corbel"], ["Berlin", "Trebuchet MS", "Trebuchet MS"], ["Celestial", "Calibri Light", "Calibri"], ["Circuit", "Tw Cen MT", "Tw Cen MT"], ["Damask", "Bookman Old Style", "Rockwell"], ["Depth", "Corbel", "Corbel"], ["Madison", "Arial", "Arial"], ["Main Event", "Impact", "Impact"], ["Mesh", "Century Gothic", "Century Gothic"], ["Metropolitan", "Calibri Light", "Calibri Light"], ["Organic", "Garamond", "Garamond"], ["Parallax", "Corbel", "Corbel"], ["Parcel", "Gill Sans MT", "Gill Sans MT"], ["Quotable", "Century Gothic", "Century Gothic"], ["Retrospect", "Calibri Light", "Calibri"], ["Savon", "Century Gothic", "Century Gothic"], ["Slate", "Calisto MT", "Calisto MT"], ["Slice", "Century Gothic", "Century Gothic"], ["Vapor Trail", "Century Gothic", "Century Gothic"], ["View", "Century Schoolbook", "Century Schoolbook"], ["Wisp", "Century Gothic", "Century Gothic"], ["Wood Type", "Rockwell Condensed", "Rockwell"]], Li = [["Office", "Office", "Office"], ["2013-2022", "Office 2013-2022", "Office 2013-2022"], ["Atlas", "Atlas", "Atlas"], ["Banded", "Banded", "Banded"], ["Basis", "Basis", "Basis"], ["Berlin", "Berlin", "Berlin"], ["Celestial", "Celestial", "Celestial"], ["Circuit", "Circuit", "Circuit"], ["Damask", "Damask", "Damask"], ["Depth", "Depth", "Depth"], ["Dividend", "Dividend", "Dividend"], ["Droplet", "Droplet", "Droplet"], ["Facet", "Facet", "Facet"], ["Frame", "Frame", "Frame"], ["Gallery", "Gallery", "Gallery"], ["Grayscale", "Grayscale", "Grayscale"], ["Integral", "Integral", "Integral"], ["Ion Boardroom", "Ion Boardroom", "Ion Boardroom"], ["Ion", "Ion", "Ion"], ["Madison", "Madison", "Madison"], ["Main Event", "Main Event", "Main Event"], ["Mesh", "Mesh", "Mesh"], ["Metropolitan", "Metropolitan", "Metropolitan"], ["Organic", "Organic", "Organic"], ["Parallax", "Parallax", "Parallax"], ["Parcel", "Parcel", "Parcel"], ["Quotable", "Quotable", "Quotable"], ["Retrospect", "Retrospect", "Retrospect"], ["Savon", "Savon", "Savon"], ["Slate", "Slate", "Slate"], ["Slice", "Slice", "Slice"], ["Vapor Trail", "Vapor Trail", "Vapor Trail"], ["View", "View", "View"], ["Wisp", "Wisp", "Wisp"], ["Wood Type", "Wood Type", "Wood Type"], ["Office 2007-2010", "Office 2007-2010", "Office 2007-2010"]], zi = "Themes is readonly. To make modifications create a new DocsThemes instance.", Pi = { [Js.Scheme.Bg1]: "lt1", [Js.Scheme.Bg2]: "lt2", [Js.Scheme.Tx1]: "dk1", [Js.Scheme.Tx2]: "dk2", [Js.Scheme.Accent1]: "accent1", [Js.Scheme.Accent2]: "accent2", [Js.Scheme.Accent3]: "accent3", [Js.Scheme.Accent4]: "accent4", [Js.Scheme.Accent5]: "accent5", [Js.Scheme.Accent6]: "accent6", [Js.Scheme.Hlink]: "hlink", [Js.Scheme.FolHlink]: "folHlink" }, Hi = "Office", Wi = [Hi, "Calibri Light", "Calibri"], Vi = ["dk1", "lt1", "dk2", "lt2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hlink", "folHlink"], $i = (t2) => {
4603
4611
  const e2 = {};
4604
4612
  for (let n2 = 0; n2 < t2.length; n2++) {
4605
4613
  const r2 = t2[n2], o2 = r2[0], s2 = { name: o2 };
@@ -4616,11 +4624,11 @@ const Di = [["Office", "windowText", "window", "0E2841", "E8E8E8", "156082", "E9
4616
4624
  const e2 = {};
4617
4625
  for (let n2 = 0; n2 < t2.length; n2++) {
4618
4626
  const r2 = t2[n2], o2 = r2[0], s2 = { name: o2 };
4619
- e2[o2] = s2, s2.majorFont = r2[1] ?? Hi[1], s2.minorFont = r2[2] ?? Hi[2];
4627
+ e2[o2] = s2, s2.majorFont = r2[1] ?? Wi[1], s2.minorFont = r2[2] ?? Wi[2];
4620
4628
  }
4621
4629
  return e2;
4622
- }, Gi = $i([[Wi, "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"]]), Ui = ji([Hi]), Ji = Gi[Wi], Ki = Ui[Wi];
4623
- let qi = null;
4630
+ }, Gi = $i([[Hi, "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"]]), Ui = ji([Wi]), Ji = Gi[Hi], qi = Ui[Hi];
4631
+ let Ki = null;
4624
4632
  const Xi = new class {
4625
4633
  constructor() {
4626
4634
  this._colors = {};
@@ -4740,19 +4748,19 @@ const Qi = new class {
4740
4748
  }
4741
4749
  }
4742
4750
  getName() {
4743
- return Ki.name;
4751
+ return qi.name;
4744
4752
  }
4745
4753
  getMajorFont() {
4746
- return Ki.majorFont;
4754
+ return qi.majorFont;
4747
4755
  }
4748
4756
  getMinorFont() {
4749
- return Ki.minorFont;
4757
+ return qi.minorFont;
4750
4758
  }
4751
4759
  getMajorFallbacks() {
4752
- return Ki.majorFallbacks;
4760
+ return qi.majorFallbacks;
4753
4761
  }
4754
4762
  getMinorFallbacks() {
4755
- return Ki.minorFallbacks;
4763
+ return qi.minorFallbacks;
4756
4764
  }
4757
4765
  }();
4758
4766
  class Zi {
@@ -4793,10 +4801,10 @@ class Zi {
4793
4801
  class ta {
4794
4802
  constructor(t2, e2 = null, n2 = null) {
4795
4803
  if (this._cacheColors = /* @__PURE__ */ new Map(), !e2 && t2?.name) {
4796
- const n3 = qi ? qi.get(t2.name.toLowerCase()) : null;
4804
+ const n3 = Ki ? Ki.get(t2.name.toLowerCase()) : null;
4797
4805
  n3 && (e2 = n3);
4798
4806
  }
4799
- if (!e2 && qi && (e2 = qi.get(Wi.toLowerCase())), this._name = t2?.name ?? e2?.getName(), !this._name) throw new Error("Theme must have a name.");
4807
+ if (!e2 && Ki && (e2 = Ki.get(Hi.toLowerCase())), this._name = t2?.name ?? e2?.getName(), !this._name) throw new Error("Theme must have a name.");
4800
4808
  this._builtInID = n2, this._delegate = e2, this._colors = new Yi(t2?.colors, this._delegate?.getColorScheme()), this._fonts = new Zi(t2?.fonts, this._delegate?.getFontScheme());
4801
4809
  const r2 = Pi, o2 = {}, s2 = Object.keys(r2);
4802
4810
  for (let t3 = 0; t3 < s2.length; t3++) {
@@ -4841,24 +4849,24 @@ class ta {
4841
4849
  const t2 = { name: this.getName() }, e2 = this._colors.toJSON();
4842
4850
  e2 && (Object.keys(e2).length > 1 || e2.name && e2.name !== t2.name) && (t2.colors = e2);
4843
4851
  const n2 = this._fonts.toJSON();
4844
- return n2 && (Object.keys(n2).length > 1 || n2.name && n2.name !== t2.name) && (t2.fonts = n2), 1 === Object.keys(t2).length && t2.name === Wi ? null : t2;
4852
+ return n2 && (Object.keys(n2).length > 1 || n2.name && n2.name !== t2.name) && (t2.fonts = n2), 1 === Object.keys(t2).length && t2.name === Hi ? null : t2;
4845
4853
  }
4846
4854
  }
4847
4855
  const ea = () => {
4848
- if (qi) return qi;
4856
+ if (Ki) return Ki;
4849
4857
  const t2 = ((t3, e3, n2) => {
4850
4858
  const r2 = [];
4851
4859
  for (let o2 = 0; o2 < t3.length; o2++) {
4852
- const s2 = t3[o2], i2 = s2[0], a2 = e3[s2[1]] ?? Ji, l2 = n2[s2[2]] ?? Ki;
4860
+ const s2 = t3[o2], i2 = s2[0], a2 = e3[s2[1]] ?? Ji, l2 = n2[s2[2]] ?? qi;
4853
4861
  r2.push({ name: i2, colors: a2, fonts: l2 });
4854
4862
  }
4855
4863
  return r2;
4856
- })(Bi, $i(Di), ji(Li)), e2 = /* @__PURE__ */ new Map();
4864
+ })(Li, $i(Di), ji(Bi)), e2 = /* @__PURE__ */ new Map();
4857
4865
  for (let n2 = 0; n2 < t2.length; n2++) {
4858
4866
  const r2 = new ta(t2[n2]), o2 = new ta(null, r2, n2 + 1);
4859
4867
  e2.set(o2.getName().toLowerCase(), o2);
4860
4868
  }
4861
- return qi = e2, e2;
4869
+ return Ki = e2, e2;
4862
4870
  };
4863
4871
  class na {
4864
4872
  constructor(t2 = null, e2 = false) {
@@ -4876,18 +4884,18 @@ class na {
4876
4884
  getByName(t2) {
4877
4885
  t2 = t2.toLowerCase();
4878
4886
  const e2 = this._customMap.get(t2);
4879
- return e2 || (qi.get(t2) ?? null);
4887
+ return e2 || (Ki.get(t2) ?? null);
4880
4888
  }
4881
4889
  getItems(t2) {
4882
4890
  const e2 = t2?.type ?? Oi.BuiltInFilterType.All, n2 = /* @__PURE__ */ new Map();
4883
- e2 !== Oi.BuiltInFilterType.BuiltIn && e2 !== Oi.BuiltInFilterType.All || qi.forEach((t3, e3) => n2.set(e3, t3)), e2 !== Oi.BuiltInFilterType.Custom && e2 !== Oi.BuiltInFilterType.All || this._customMap.forEach((t3, e3) => n2.set(e3, t3)), t2?.selected && n2.set(t2.selected.getName().toLowerCase(), t2.selected);
4891
+ e2 !== Oi.BuiltInFilterType.BuiltIn && e2 !== Oi.BuiltInFilterType.All || Ki.forEach((t3, e3) => n2.set(e3, t3)), e2 !== Oi.BuiltInFilterType.Custom && e2 !== Oi.BuiltInFilterType.All || this._customMap.forEach((t3, e3) => n2.set(e3, t3)), t2?.selected && n2.set(t2.selected.getName().toLowerCase(), t2.selected);
4884
4892
  return ((t3) => {
4885
4893
  const e3 = [...t3];
4886
4894
  return e3.sort((t4, e4) => o.isDefined(t4.builtInID) && !o.isDefined(e4.builtInID) ? 1 : !o.isDefined(t4.builtInID) && o.isDefined(e4.builtInID) ? -1 : o.isDefined(t4.builtInID) && o.isDefined(e4.builtInID) ? t4.builtInID - e4.builtInID : t4.getName().localeCompare(e4.getName())), e3;
4887
4895
  })(Array.from(n2.values()));
4888
4896
  }
4889
4897
  getCount() {
4890
- return this._customMap.size + qi.size;
4898
+ return this._customMap.size + Ki.size;
4891
4899
  }
4892
4900
  setCustomTheme(t2) {
4893
4901
  if (this._isReadOnly) throw new Error(zi);
@@ -5664,7 +5672,7 @@ class Aa {
5664
5672
  if (void 0 !== t4 && u2(t4), !a2) return;
5665
5673
  if (i4 = a2.next(), i4.done) return void (a2 = void 0);
5666
5674
  const d2 = i4.value, m3 = d2[0], f3 = d2[1], p2 = m3.min, _2 = m3.max, S2 = Math.max(p2, r2) - p2, w2 = Math.max(S2, Math.min(_2, o2)) - p2;
5667
- La.bounds.min = S2, La.bounds.max = w2, La.reverse = !s2, La.processSkip = n2, La.reuseResult = e2, c2 = p2, h2 = _2, l2 = f3.entries(La);
5675
+ Ba.bounds.min = S2, Ba.bounds.max = w2, Ba.reverse = !s2, Ba.processSkip = n2, Ba.reuseResult = e2, c2 = p2, h2 = _2, l2 = f3.entries(Ba);
5668
5676
  const y2 = g2(t4);
5669
5677
  if (y2) return y2;
5670
5678
  t4 = void 0;
@@ -5711,8 +5719,8 @@ class Aa {
5711
5719
  if (void 0 === e2 && (e2 = o2 + 1), 0 === this._count || t2 <= r2 && e2 - 1 >= o2) return this.clone();
5712
5720
  const s2 = Math.max(r2, t2), i2 = Math.min(o2, e2 - 1), a2 = i2 - s2, l2 = [];
5713
5721
  let c2 = 0;
5714
- Ha.bounds.min = s2, Ha.bounds.max = i2;
5715
- const h2 = this.runs(Ha);
5722
+ Wa.bounds.min = s2, Wa.bounds.max = i2;
5723
+ const h2 = this.runs(Wa);
5716
5724
  let d2 = h2.next();
5717
5725
  for (; !d2.done; ) {
5718
5726
  const t3 = d2.value;
@@ -5752,7 +5760,7 @@ class Aa {
5752
5760
  toArray(t2 = Number.MAX_SAFE_INTEGER, e2 = true) {
5753
5761
  if (0 === this.length) return o.EmptyArray;
5754
5762
  const n2 = e2 ? 0 : Number.MIN_SAFE_INTEGER, r2 = Math.min(this._runs.maxKey().max, t2);
5755
- return Ba.bounds.min = Number.MIN_SAFE_INTEGER, Ba.bounds.max = r2, ka(this.entries(Ba), e2, r2, n2);
5763
+ return La.bounds.min = Number.MIN_SAFE_INTEGER, La.bounds.max = r2, ka(this.entries(La), e2, r2, n2);
5756
5764
  }
5757
5765
  get isIReadableList() {
5758
5766
  return true;
@@ -5835,7 +5843,7 @@ class Aa {
5835
5843
  if (n3 <= t2 && e2.max >= t2) return this._lastListRead.at(t2 - n3);
5836
5844
  }
5837
5845
  let n2, r2;
5838
- const o2 = this._runs.getPairOrNextHigher(za, Wa);
5846
+ const o2 = this._runs.getPairOrNextHigher(za, Ha);
5839
5847
  if (o2 && (n2 = o2[0], r2 = o2[1]), this._lastRunsRead = n2, this._lastListRead = r2, !(!n2 || t2 < n2.min || t2 > n2.max)) return r2.at(t2 - n2.min);
5840
5848
  }
5841
5849
  [Symbol.iterator]() {
@@ -5879,7 +5887,7 @@ const Ma = (t2) => "boolean" != typeof t2 ? (t2 && !t2.value && (t2.value = [-1,
5879
5887
  }
5880
5888
  if (e2) for (let t3 = i2; t3 < n2; t3++) o2.push(void 0);
5881
5889
  return o2;
5882
- }, Oa = Object.seal({ done: false, value: [{ min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, null] }), Da = Object.seal({ done: false, value: [-1, null] }), La = { reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: Da }, Ba = Object.freeze({ reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: Da }), za = { min: 0, max: Number.MAX_SAFE_INTEGER }, Pa = { min: 0, max: Number.MAX_SAFE_INTEGER }, Wa = [null, null], Ha = { bounds: { min: 0, max: 0 }, overflowRun: true };
5890
+ }, Oa = Object.seal({ done: false, value: [{ min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, null] }), Da = Object.seal({ done: false, value: [-1, null] }), Ba = { reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: Da }, La = Object.freeze({ reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: Da }), za = { min: 0, max: Number.MAX_SAFE_INTEGER }, Pa = { min: 0, max: Number.MAX_SAFE_INTEGER }, Ha = [null, null], Wa = { bounds: { min: 0, max: 0 }, overflowRun: true };
5883
5891
  class Va {
5884
5892
  constructor(t2 = 9) {
5885
5893
  this._maxEntries = Math.max(4, t2), this._minEntries = Math.max(2, Math.ceil(0.4 * this._maxEntries)), this.clear();
@@ -6001,7 +6009,7 @@ class Va {
6001
6009
  for (; r2.push(e2), !e2.leaf && r2.length - 1 !== n2; ) {
6002
6010
  let n3, r3 = 1 / 0, o2 = 1 / 0;
6003
6011
  for (let s2 = 0; s2 < e2.children.length; s2++) {
6004
- const i2 = e2.children[s2], a2 = qa(i2), l2 = Ya(t2, i2) - a2;
6012
+ const i2 = e2.children[s2], a2 = Ka(i2), l2 = Ya(t2, i2) - a2;
6005
6013
  l2 < o2 ? (o2 = l2, r3 = a2 < r3 ? a2 : r3, n3 = i2) : l2 === o2 && a2 < r3 && (r3 = a2, n3 = i2);
6006
6014
  }
6007
6015
  e2 = n3 || e2.children[0];
@@ -6025,13 +6033,13 @@ class Va {
6025
6033
  _chooseSplitIndex(t2, e2, n2) {
6026
6034
  let r2 = -1, o2 = 1 / 0, s2 = 1 / 0;
6027
6035
  for (let i2 = e2; i2 <= n2 - e2; i2++) {
6028
- const e3 = Ga(t2, 0, i2, this.toBBox), a2 = Ga(t2, i2, n2, this.toBBox), l2 = Qa(e3, a2), c2 = qa(e3) + qa(a2);
6036
+ const e3 = Ga(t2, 0, i2, this.toBBox), a2 = Ga(t2, i2, n2, this.toBBox), l2 = Qa(e3, a2), c2 = Ka(e3) + Ka(a2);
6029
6037
  l2 < o2 ? (o2 = l2, r2 = i2, s2 = c2 < s2 ? c2 : s2) : l2 === o2 && c2 < s2 && (s2 = c2, r2 = i2);
6030
6038
  }
6031
6039
  return r2 || n2 - e2;
6032
6040
  }
6033
6041
  _chooseSplitAxis(t2, e2, n2) {
6034
- const r2 = t2.leaf ? this.compareMinX : Ja, o2 = t2.leaf ? this.compareMinY : Ka;
6042
+ const r2 = t2.leaf ? this.compareMinX : Ja, o2 = t2.leaf ? this.compareMinY : qa;
6035
6043
  this._allDistMargin(t2, e2, n2, r2) < this._allDistMargin(t2, e2, n2, o2) && t2.children.sort(r2);
6036
6044
  }
6037
6045
  _allDistMargin(t2, e2, n2, r2) {
@@ -6077,10 +6085,10 @@ function Ua(t2, e2) {
6077
6085
  function Ja(t2, e2) {
6078
6086
  return t2.minX - e2.minX;
6079
6087
  }
6080
- function Ka(t2, e2) {
6088
+ function qa(t2, e2) {
6081
6089
  return t2.minY - e2.minY;
6082
6090
  }
6083
- function qa(t2) {
6091
+ function Ka(t2) {
6084
6092
  return (t2.maxX - t2.minX) * (t2.maxY - t2.minY);
6085
6093
  }
6086
6094
  function Xa(t2) {
@@ -6226,17 +6234,17 @@ class il {
6226
6234
  }
6227
6235
  }
6228
6236
  }, w2);
6229
- let L2 = null;
6230
- L2 = r2 && (f2.length > 0 || p2.length > 0 || E2.size > 0) ? this.clone() : this, L2._updateNodes(p2, f2), E2.size > 0 && L2._updateGroupedEntries(y2, E2);
6231
- let B2 = o.EmptyArray;
6237
+ let B2 = null;
6238
+ B2 = r2 && (f2.length > 0 || p2.length > 0 || E2.size > 0) ? this.clone() : this, B2._updateNodes(p2, f2), E2.size > 0 && B2._updateGroupedEntries(y2, E2);
6239
+ let L2 = o.EmptyArray;
6232
6240
  if (b2 && S2 && _2) {
6233
6241
  let t3 = true;
6234
6242
  if (m2 > 0 && (t3 = a2 ? e2.rowStart > S2.rowStart || e2.rowEnd < S2.rowEnd : e2.colStart > S2.colStart || e2.colEnd < S2.colEnd), t3) {
6235
6243
  const t4 = al(_2, c.unionRanges(S2, _2), a2 ? 0 : 1, a2 ? 1 : 0);
6236
- N2 && (B2 = L2._mergeNodes(t4, false));
6244
+ N2 && (L2 = B2._mergeNodes(t4, false));
6237
6245
  }
6238
6246
  }
6239
- return F2 && D2.length > 0 && F2(D2), M2 && k2.length > 0 && M2(k2), N2 && B2.length > 0 && N2(B2), T2 && O2.length > 0 && T2(O2), L2;
6247
+ return F2 && D2.length > 0 && F2(D2), M2 && k2.length > 0 && M2(k2), N2 && L2.length > 0 && N2(L2), T2 && O2.length > 0 && T2(O2), B2;
6240
6248
  }
6241
6249
  insertNonOverlapping(t2, e2) {
6242
6250
  const n2 = e2?.onIntersect ?? ((t3, e3) => ({ ...t3, value: e3.value })), r2 = this.search(t2), s2 = /* @__PURE__ */ new Map(), i2 = /* @__PURE__ */ new Map(), a2 = this._options?.updateEntryOptions, h2 = a2?.onUpdated, d2 = a2?.onRemoved, u2 = a2?.onMerged, g2 = a2?.getSplit, m2 = a2?.getIntersect, f2 = a2?.getUpdate;
@@ -6931,7 +6939,7 @@ const Al = "Must be an array of arrays.", Ml = (t2, e2, n2) => {
6931
6939
  };
6932
6940
  class Dl {
6933
6941
  constructor(t2) {
6934
- this._major = null, this._dataCoords = null, this._count = 0, this._isColumn = true, this._lastMajor = Number.MIN_SAFE_INTEGER, this._lastMinorSpan = null, this._maxCoords = null, this._isShared = false, this._options = { orientation: l.Row, ...t2 }, this._isColumn = (t2?.orientation ?? l.Column) === l.Column, t2?.maxCoords && (this._maxCoords = Object.freeze({ colStart: Math.max(0, t2.maxCoords.colStart ?? 0), rowStart: Math.max(0, t2.maxCoords.rowStart ?? 0), colEnd: Math.min(Number.MAX_SAFE_INTEGER, t2.maxCoords.colEnd ?? Number.MAX_SAFE_INTEGER), rowEnd: Math.min(Number.MAX_SAFE_INTEGER, t2.maxCoords.rowEnd ?? Number.MAX_SAFE_INTEGER) })), this._createRun = t2?.createRun ?? ((t3) => new wa(t3)), this._optionsMinor = {}, this._major = new Aa({ nodeSize: Ll });
6942
+ this._major = null, this._dataCoords = null, this._count = 0, this._isColumn = true, this._lastMajor = Number.MIN_SAFE_INTEGER, this._lastMinorSpan = null, this._maxCoords = null, this._isShared = false, this._options = { orientation: l.Row, ...t2 }, this._isColumn = (t2?.orientation ?? l.Column) === l.Column, t2?.maxCoords && (this._maxCoords = Object.freeze({ colStart: Math.max(0, t2.maxCoords.colStart ?? 0), rowStart: Math.max(0, t2.maxCoords.rowStart ?? 0), colEnd: Math.min(Number.MAX_SAFE_INTEGER, t2.maxCoords.colEnd ?? Number.MAX_SAFE_INTEGER), rowEnd: Math.min(Number.MAX_SAFE_INTEGER, t2.maxCoords.rowEnd ?? Number.MAX_SAFE_INTEGER) })), this._createRun = t2?.createRun ?? ((t3) => new wa(t3)), this._optionsMinor = {}, this._major = new Aa({ nodeSize: Bl });
6935
6943
  }
6936
6944
  getRuns(t2) {
6937
6945
  const e2 = this._isColumn, n2 = this._maxCoords, r2 = this.getCoords();
@@ -6978,13 +6986,13 @@ class Dl {
6978
6986
  p2 = t2.reverse ?? false, h2 = /* @__PURE__ */ ((t3) => "boolean" != typeof t3 ? t3 : true === t3 ? { done: false, value: [{ colIndex: -1, rowIndex: -1 }, null] } : void 0)(t2.reuseResult), a2 = e2 ? t2.processColumnSkip : t2.processRowSkip, a2 && (p2 ? u2 = a2(u2, p2) : d2 = a2(d2, p2)), c2 = e2 ? t2.processRowSkip : t2.processColumnSkip, c2 && (p2 ? f2 = c2(u2, p2) : g2 = c2(g2, p2));
6979
6987
  }
6980
6988
  if (!s2) return _a;
6981
- r2 || d2 !== u2 || (r2 = true), Hl.bounds.min = d2, Hl.bounds.max = u2, Hl.reverse = p2, Hl.processSkip = a2, Hl.reuseResult = Pl;
6982
- let _2 = this._major.entries(Hl), S2 = Vl();
6989
+ r2 || d2 !== u2 || (r2 = true), Wl.bounds.min = d2, Wl.bounds.max = u2, Wl.reverse = p2, Wl.processSkip = a2, Wl.reuseResult = Pl;
6990
+ let _2 = this._major.entries(Wl), S2 = Vl();
6983
6991
  const w2 = (t3) => {
6984
6992
  if (!t3.nextActive) return;
6985
6993
  const e3 = (e4) => {
6986
6994
  const n4 = t3.nextMinorIndex, r4 = t3.nextMinorValue, o3 = t3.nextActive;
6987
- return e4 ? (t3.nextMinorIndex = e4[0], t3.nextMinorValue = e4[1], t3.nextActive = true) : (t3.nextActive = false, t3.nextMinorIndex = p2 ? Number.MIN_SAFE_INTEGER : Number.MAX_SAFE_INTEGER, t3.nextMinorValue = null), t3.value = r4, t3.minorIndex = n4, t3.active = o3, Bl[0] = t3.majorIndex, Bl[1] = n4, Bl[2] = r4, Bl;
6995
+ return e4 ? (t3.nextMinorIndex = e4[0], t3.nextMinorValue = e4[1], t3.nextActive = true) : (t3.nextActive = false, t3.nextMinorIndex = p2 ? Number.MIN_SAFE_INTEGER : Number.MAX_SAFE_INTEGER, t3.nextMinorValue = null), t3.value = r4, t3.minorIndex = n4, t3.active = o3, Ll[0] = t3.majorIndex, Ll[1] = n4, Ll[2] = r4, Ll;
6988
6996
  }, n3 = t3.minorIterator;
6989
6997
  if (!n3) return e3();
6990
6998
  const r3 = n3.next();
@@ -6994,8 +7002,8 @@ class Dl {
6994
7002
  const e3 = _2.next();
6995
7003
  if (e3.done) return void (_2 = void 0);
6996
7004
  const n3 = e3.value, r3 = n3[1];
6997
- r3 || console.warn("issue", r3), t3.majorIndex = n3[0], t3.active = true, t3.nextActive = false, Wl.bounds.min = g2, Wl.bounds.max = f2, Wl.reverse = p2, Wl.processSkip = c2, Wl.reuseResult = zl;
6998
- const o3 = r3.entries(Wl), s3 = o3.next();
7005
+ r3 || console.warn("issue", r3), t3.majorIndex = n3[0], t3.active = true, t3.nextActive = false, Hl.bounds.min = g2, Hl.bounds.max = f2, Hl.reverse = p2, Hl.processSkip = c2, Hl.reuseResult = zl;
7006
+ const o3 = r3.entries(Hl), s3 = o3.next();
6999
7007
  if (!s3.done) {
7000
7008
  const e4 = s3.value;
7001
7009
  return t3.nextMinorIndex = e4[0], t3.nextMinorValue = e4[1], t3.minorIterator = o3, t3.nextActive = true, w2(t3);
@@ -7027,7 +7035,7 @@ class Dl {
7027
7035
  } else s3 = false, i3();
7028
7036
  } else {
7029
7037
  const t4 = S2.minorIndex, s4 = S2.nextMinorIndex;
7030
- t4 === r3 ? (Bl[0] = S2.majorIndex, Bl[1] = t4, Bl[2] = S2.value, a3 = Bl) : !p2 && t4 > r3 || p2 && t4 < r3 ? o3 = p2 ? Math.max(o3, t4) : Math.min(o3, t4) : !p2 && s4 > r3 || p2 && s4 < r3 ? o3 = p2 ? Math.max(o3, s4) : Math.min(o3, s4) : a3 = w2(S2), S2.active && (o3 = p2 ? Math.max(o3, S2.nextMinorIndex) : Math.min(o3, S2.nextMinorIndex)), e3 === r3 || S2.active || (S2.prevMajorCursor ? S2.prevMajorCursor.nextMajorCursor = S2.nextMajorCursor : n3 = S2.nextMajorCursor, S2.nextMajorCursor && (S2.nextMajorCursor.prevMajorCursor = S2.prevMajorCursor)), i3();
7038
+ t4 === r3 ? (Ll[0] = S2.majorIndex, Ll[1] = t4, Ll[2] = S2.value, a3 = Ll) : !p2 && t4 > r3 || p2 && t4 < r3 ? o3 = p2 ? Math.max(o3, t4) : Math.min(o3, t4) : !p2 && s4 > r3 || p2 && s4 < r3 ? o3 = p2 ? Math.max(o3, s4) : Math.min(o3, s4) : a3 = w2(S2), S2.active && (o3 = p2 ? Math.max(o3, S2.nextMinorIndex) : Math.min(o3, S2.nextMinorIndex)), e3 === r3 || S2.active || (S2.prevMajorCursor ? S2.prevMajorCursor.nextMajorCursor = S2.nextMajorCursor : n3 = S2.nextMajorCursor, S2.nextMajorCursor && (S2.nextMajorCursor.prevMajorCursor = S2.prevMajorCursor)), i3();
7031
7039
  }
7032
7040
  if (a3) return a3;
7033
7041
  }
@@ -7117,8 +7125,8 @@ class Dl {
7117
7125
  const e3 = t2[_2], n3 = e3[0], r3 = e3[1], o3 = new Aa(p2);
7118
7126
  m2(o3, r3, n3);
7119
7127
  }, w2 = this._major;
7120
- Hl.bounds.min = e2, Hl.bounds.max = n2, Hl.reverse = false, Hl.processSkip = null, Hl.reuseResult = Pl;
7121
- const y2 = w2.entries(Hl);
7128
+ Wl.bounds.min = e2, Wl.bounds.max = n2, Wl.reverse = false, Wl.processSkip = null, Wl.reuseResult = Pl;
7129
+ const y2 = w2.entries(Wl);
7122
7130
  let E2 = y2.next();
7123
7131
  for (; !E2.done; ) {
7124
7132
  const e3 = E2.value, n3 = e3[0];
@@ -7164,8 +7172,8 @@ class Dl {
7164
7172
  let f2 = false, p2 = 0;
7165
7173
  const _2 = this._major;
7166
7174
  if (l2 <= g2 && h2 >= m2) {
7167
- Hl.bounds.min = i2, Hl.bounds.max = a2;
7168
- const t3 = _2.entries(Hl);
7175
+ Wl.bounds.min = i2, Wl.bounds.max = a2;
7176
+ const t3 = _2.entries(Wl);
7169
7177
  let e3 = t3.next();
7170
7178
  for (; !e3.done; ) {
7171
7179
  p2 -= e3.value[1].getCount(), e3 = t3.next();
@@ -7173,8 +7181,8 @@ class Dl {
7173
7181
  return _2.delete(i2, a2 - i2 + 1), this._count += p2, this._dataCoords = null, 0 !== p2;
7174
7182
  }
7175
7183
  const S2 = [], w2 = this._isShared, y2 = [];
7176
- Hl.bounds.min = i2, Hl.bounds.max = a2, Wl.reverse = false, Wl.processSkip = null, Wl.reuseResult = Pl;
7177
- const E2 = _2.entries(Hl);
7184
+ Wl.bounds.min = i2, Wl.bounds.max = a2, Hl.reverse = false, Hl.processSkip = null, Hl.reuseResult = Pl;
7185
+ const E2 = _2.entries(Wl);
7178
7186
  let C2 = E2.next();
7179
7187
  for (; !C2.done; ) {
7180
7188
  const t3 = C2.value, e3 = t3[0];
@@ -7191,7 +7199,7 @@ class Dl {
7191
7199
  this._updateMajorSpan(y2);
7192
7200
  const b2 = S2.length;
7193
7201
  if (b2 > 0) {
7194
- const t3 = Bs(S2, true);
7202
+ const t3 = Ls(S2, true);
7195
7203
  for (let e4 = 0; e4 < t3.length; e4++) {
7196
7204
  const n3 = t3[e4];
7197
7205
  _2.delete(n3.min, n3.max - n3.min + 1);
@@ -7217,10 +7225,10 @@ class Dl {
7217
7225
  if (!o2 && (C2 *= -1, c.isRangeWithinRange(f2, t2))) return this.clear(), true;
7218
7226
  let b2 = 0;
7219
7227
  const v2 = this._major, x2 = [];
7220
- if (Hl.bounds.min = a2, Hl.bounds.max = E2 ? Number.MAX_SAFE_INTEGER : l2, Wl.reverse = !o2, Wl.processSkip = null, Wl.reuseResult = Pl, E2 && y2) {
7228
+ if (Wl.bounds.min = a2, Wl.bounds.max = E2 ? Number.MAX_SAFE_INTEGER : l2, Hl.reverse = !o2, Hl.processSkip = null, Hl.reuseResult = Pl, E2 && y2) {
7221
7229
  if (!o2) {
7222
- Hl.bounds.max = l2;
7223
- const t4 = v2.entries(Hl);
7230
+ Wl.bounds.max = l2;
7231
+ const t4 = v2.entries(Wl);
7224
7232
  let e3 = t4.next();
7225
7233
  for (; !e3.done; ) {
7226
7234
  b2 -= e3.value[1].getCount(), e3 = t4.next();
@@ -7234,10 +7242,10 @@ class Dl {
7234
7242
  o2 || (A2 = Number.MAX_SAFE_INTEGER, M2 = Number.MIN_SAFE_INTEGER);
7235
7243
  let T2 = Number.MAX_SAFE_INTEGER;
7236
7244
  r2 && (T2 = s2 ? r2.colEnd : r2.rowEnd);
7237
- const N2 = /* @__PURE__ */ new Set(), F2 = E2 ? /* @__PURE__ */ new Map() : null, k2 = [], O2 = v2.entries(Hl), D2 = { bounds: { min: g2, max: m2 } };
7238
- let L2 = O2.next();
7239
- for (; !L2.done; ) {
7240
- const t3 = L2.value, e3 = t3[0], n3 = t3[1].clone(), r3 = n3.getCoords(), o3 = r3.min, s3 = r3.max;
7245
+ const N2 = /* @__PURE__ */ new Set(), F2 = E2 ? /* @__PURE__ */ new Map() : null, k2 = [], O2 = v2.entries(Wl), D2 = { bounds: { min: g2, max: m2 } };
7246
+ let B2 = O2.next();
7247
+ for (; !B2.done; ) {
7248
+ const t3 = B2.value, e3 = t3[0], n3 = t3[1].clone(), r3 = n3.getCoords(), o3 = r3.min, s3 = r3.max;
7241
7249
  if (E2 && F2.set(e3, n3), g2 <= s3) {
7242
7250
  const t4 = n3.getCount();
7243
7251
  E2 ? (e3 >= a2 - C2 && ga(n3.runs(D2), (t5, n4) => {
@@ -7253,17 +7261,17 @@ class Dl {
7253
7261
  }
7254
7262
  b2 += r4 - t4, x2.push([e3, n3]);
7255
7263
  }
7256
- L2 = O2.next();
7264
+ B2 = O2.next();
7257
7265
  }
7258
- const B2 = this._optionsMinor;
7266
+ const L2 = this._optionsMinor;
7259
7267
  let z2 = false;
7260
7268
  for (let t3 = 0; t3 < k2.length; t3++) {
7261
7269
  const e3 = k2[t3], n3 = e3.majorIndex, r3 = e3.run;
7262
7270
  let o3 = F2.get(n3);
7263
- o3 || (o3 = new Aa(B2), F2.set(n3, o3), x2.push([n3, o3]), z2 = true), o3.setRunAt(e3.minorIndex, r3), b2 += r3.length, I2 = Math.min(I2, n3), R2 = Math.max(R2, n3), N2 && N2.delete(n3);
7271
+ o3 || (o3 = new Aa(L2), F2.set(n3, o3), x2.push([n3, o3]), z2 = true), o3.setRunAt(e3.minorIndex, r3), b2 += r3.length, I2 = Math.min(I2, n3), R2 = Math.max(R2, n3), N2 && N2.delete(n3);
7264
7272
  }
7265
7273
  if (this._updateMajorSpan(x2, z2), N2 && N2.size > 0) {
7266
- const t3 = Array.from(N2.values()), e3 = Bs(t3);
7274
+ const t3 = Array.from(N2.values()), e3 = Ls(t3);
7267
7275
  for (let t4 = 0; t4 < e3.length; t4++) {
7268
7276
  const n4 = e3[t4];
7269
7277
  v2.delete(n4.min, n4.max - n4.min + 1);
@@ -7350,9 +7358,9 @@ class Dl {
7350
7358
  }
7351
7359
  }
7352
7360
  Dl || (Dl = {});
7353
- const Ll = 12;
7361
+ const Bl = 12;
7354
7362
  Object.seal({ done: false, value: null });
7355
- const Bl = [-1, -1, null], zl = Object.seal({ done: false, value: [-1, null] }), Pl = Object.seal({ done: false, value: [-1, null] }), Wl = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: zl }, Hl = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Pl }, Vl = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: false, nextMinorIndex: -1, nextActive: false, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
7363
+ const Ll = [-1, -1, null], zl = Object.seal({ done: false, value: [-1, null] }), Pl = Object.seal({ done: false, value: [-1, null] }), Hl = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: zl }, Wl = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Pl }, Vl = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: false, nextMinorIndex: -1, nextActive: false, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
7356
7364
  class $l {
7357
7365
  constructor(t2) {
7358
7366
  if (this._l = 0, this._at = null, this._dt = ic.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, !t2) throw new Error("options is required");
@@ -7382,9 +7390,9 @@ class $l {
7382
7390
  case Xl:
7383
7391
  case Yl:
7384
7392
  return this._cv(n2, o2 ? Number(r2) : r2);
7385
- case Kl:
7386
- return this._vi64[o2 ? t2 : r2];
7387
7393
  case ql:
7394
+ return this._vi64[o2 ? t2 : r2];
7395
+ case Kl:
7388
7396
  return this._vf64[o2 ? t2 : r2];
7389
7397
  case tc:
7390
7398
  return Number.NaN;
@@ -7434,7 +7442,7 @@ class $l {
7434
7442
  let i2 = this._createArrayBuffer(s2 * Int8Array.BYTES_PER_ELEMENT), a2 = new Uint8Array(i2), l2 = 0, c2 = false, h2 = ac(t2[0], r2);
7435
7443
  for (let e3 = 0; e3 < s2; e3++) {
7436
7444
  const n3 = t2[e3], o3 = ac(n3, r2);
7437
- o3 !== ql && o3 !== Kl || l2++, h2 !== o3 && (a2[e3] = o3, c2 = true);
7445
+ o3 !== Kl && o3 !== ql || l2++, h2 !== o3 && (a2[e3] = o3, c2 = true);
7438
7446
  }
7439
7447
  c2 || (a2 = null, i2 = null);
7440
7448
  let d2, u2, g2, m2, f2, p2, _2, S2, w2 = false;
@@ -7452,10 +7460,10 @@ class $l {
7452
7460
  case Ul:
7453
7461
  u2[n3] = r3;
7454
7462
  break;
7455
- case Kl:
7463
+ case ql:
7456
7464
  d2[n3] = r3;
7457
7465
  break;
7458
- case ql:
7466
+ case Kl:
7459
7467
  u2[n3] = r3;
7460
7468
  break;
7461
7469
  case Xl:
@@ -7480,10 +7488,10 @@ class $l {
7480
7488
  case Ul:
7481
7489
  u2[r3] = o3;
7482
7490
  break;
7483
- case Kl:
7491
+ case ql:
7484
7492
  _2[r3] = n3, m2[n3] = o3, n3++;
7485
7493
  break;
7486
- case ql:
7494
+ case Kl:
7487
7495
  _2[r3] = n3, f2[n3] = o3, n3++;
7488
7496
  break;
7489
7497
  case Xl:
@@ -7498,7 +7506,7 @@ class $l {
7498
7506
  return new $l({ length: s2, types: c2 ? i2 : null, type: h2, values32: p2, values64: g2, getCoercedValue: n2 });
7499
7507
  }
7500
7508
  }
7501
- const jl = 0.1, Gl = 1, Ul = 2, Jl = 3, Kl = 4, ql = 5, Xl = 6, Yl = 7, Ql = 8, Zl = 9, tc = 10, ec = 11, nc = 12, rc = 13, oc = 14, sc = 127, ic = { Undefined: oc }, ac = (t2, e2) => {
7509
+ const jl = 0.1, Gl = 1, Ul = 2, Jl = 3, ql = 4, Kl = 5, Xl = 6, Yl = 7, Ql = 8, Zl = 9, tc = 10, ec = 11, nc = 12, rc = 13, oc = 14, sc = 127, ic = { Undefined: oc }, ac = (t2, e2) => {
7502
7510
  switch (typeof t2) {
7503
7511
  case "number":
7504
7512
  const n2 = t2;
@@ -7509,7 +7517,7 @@ const jl = 0.1, Gl = 1, Ul = 2, Jl = 3, Kl = 4, ql = 5, Xl = 6, Yl = 7, Ql = 8,
7509
7517
  if (n2 === Number.MAX_SAFE_INTEGER) return ec;
7510
7518
  if (n2 === Number.MIN_SAFE_INTEGER) return nc;
7511
7519
  if (Number.isInteger(n2) && n2 <= 2147483647 && n2 >= -2147483648) return Gl;
7512
- return Math.fround(n2) === n2 ? Ul : ql;
7520
+ return Math.fround(n2) === n2 ? Ul : Kl;
7513
7521
  case "string":
7514
7522
  return Xl;
7515
7523
  case "boolean":
@@ -7522,7 +7530,7 @@ const jl = 0.1, Gl = 1, Ul = 2, Jl = 3, Kl = 4, ql = 5, Xl = 6, Yl = 7, Ql = 8,
7522
7530
  if (r2 < 128 || r2 > 255) throw new Error("Custom type must be between 128 and 255");
7523
7531
  return r2;
7524
7532
  case "bigint":
7525
- return Kl;
7533
+ return ql;
7526
7534
  case "undefined":
7527
7535
  return oc;
7528
7536
  case "symbol":
@@ -7809,15 +7817,15 @@ class pc {
7809
7817
  1 === p2 && (t2.colEnd = t2.colStart), 1 === _2 && (t2.rowEnd = t2.rowStart), A2 = new Il({ delegate: g2._entries({ ...s2, type: l2 ?? null, orientation: x2, bounds: t2, reuseResult: false }), bounds: t2, orientation: x2, dims: { major: I2 ? S2 : w2, minor: I2 ? w2 : S2 } });
7810
7818
  } else A2 = g2._entries({ ...s2, type: l2 ?? null, orientation: x2, bounds: M2, reuseResult: false });
7811
7819
  const T2 = i2.colStart, N2 = i2.rowStart, F2 = T2 - M2.colStart, k2 = N2 - M2.rowStart, O2 = x2 === v2 ? new Dt.Builder() : new Dt.TransposedBuilder(), D2 = new Rl({ ...s2, bounds: i2, comparator: (I2 ? uc : gc)(i2, M2) }, R2, A2);
7812
- let L2, B2 = D2.next();
7813
- for (; !B2.done; ) {
7814
- const t2 = B2.value;
7820
+ let B2, L2 = D2.next();
7821
+ for (; !L2.done; ) {
7822
+ const t2 = L2.value;
7815
7823
  let e2 = t2[1], r3 = t2[3];
7816
7824
  const s3 = t2[0], i3 = t2[2], a3 = s3 ? s3.colIndex : i3.colIndex + F2, l3 = s3 ? s3.rowIndex : i3.rowIndex + k2;
7817
7825
  let c2, u3;
7818
7826
  e2 instanceof n.Value ? c2 = e2 : r3 instanceof n.Value && (c2 = r3), u3 = c2 || o2(e2 ?? h2, r3 ?? d2, { colIndex: a3 - T2, rowIndex: l3 - N2 }, this);
7819
7827
  const g3 = I2 ? a3 : l3, m3 = I2 ? l3 : a3;
7820
- O2.addValue(g3, m3, u3), B2 = D2.next();
7828
+ O2.addValue(g3, m3, u3), L2 = D2.next();
7821
7829
  }
7822
7830
  if (C2 && y2 > S2 || E2 > w2) {
7823
7831
  const t2 = this._values.clone();
@@ -7829,9 +7837,9 @@ class pc {
7829
7837
  const e2 = El(T2, N2 + w2, T2 + y2 - 1, N2 + E2 - 1, I2), n2 = Ml(C2, e2, I2);
7830
7838
  t2.setValues(n2.tuples);
7831
7839
  }
7832
- L2 = new pc(t2, { colStart: T2, rowStart: N2, colEnd: T2 + y2 - 1, rowEnd: N2 + E2 - 1 }, this._type);
7833
- } else L2 = this._cloneFromBuilder(O2, s2, y2, E2);
7834
- return L2;
7840
+ B2 = new pc(t2, { colStart: T2, rowStart: N2, colEnd: T2 + y2 - 1, rowEnd: N2 + E2 - 1 }, this._type);
7841
+ } else B2 = this._cloneFromBuilder(O2, s2, y2, E2);
7842
+ return B2;
7835
7843
  }
7836
7844
  _fill(t2, n2, r2) {
7837
7845
  if (null === r2) return void t2.delete(n2);
@@ -8191,7 +8199,7 @@ const _c = { colStart: Number.MIN_SAFE_INTEGER, rowStart: Number.MIN_SAFE_INTEGE
8191
8199
  const i2 = n2.getOrientation() === e.Orientation.Column, a2 = Tl(s2, i2, El(r2?.colStart ?? 0, r2?.rowStart ?? 0, void 0, void 0, i2), true), l2 = Cl(a2.bounds, i2);
8192
8200
  n2.setValues(a2.tuples);
8193
8201
  return new pc(n2, l2, o2, !r2);
8194
- }, Fc = new RegExp(/^([$]?[a-zA-Z]*[$]?[0-9]*)[:]?([$]?[a-zA-Z]*[$]?[0-9]*)?$/), kc = new RegExp(/^(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?)(:(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?))?$/, "i"), Oc = new RegExp(/^(R?)(\[?[-+]?\d+\]?|\d+)?(C?)(\[?[-+]?\d+\]?|\d+)?$/, "i"), Dc = new RegExp("(?:'[^']+'|[A-Za-z0-9_\\-.]+?!)?(\\$?[A-Za-z]+\\$?\\d+(?::\\$?[A-Za-z]+\\$?\\d+)?|\\$?[A-Za-z]+:\\$?[A-Za-z]+|\\$?\\d+:\\$?\\d+)", "g"), Lc = /\s+/g, Bc = /"(?:[^"]|"")*"|\[[^[\]]+\]/g, zc = /[\uE000-\uF8FF]/g, Pc = "#REF!", Wc = Math.pow(2, 14), Hc = Math.pow(2, 20);
8202
+ }, Fc = new RegExp(/^([$]?[a-zA-Z]*[$]?[0-9]*)[:]?([$]?[a-zA-Z]*[$]?[0-9]*)?$/), kc = new RegExp(/^(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?)(:(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?))?$/, "i"), Oc = new RegExp(/^(R?)(\[?[-+]?\d+\]?|\d+)?(C?)(\[?[-+]?\d+\]?|\d+)?$/, "i"), Dc = new RegExp("(?:'[^']+'|[A-Za-z0-9_\\-.]+?!)?(\\$?[A-Za-z]+\\$?\\d+(?::\\$?[A-Za-z]+\\$?\\d+)?|\\$?[A-Za-z]+:\\$?[A-Za-z]+|\\$?\\d+:\\$?\\d+)", "g"), Bc = /\s+/g, Lc = /"(?:[^"]|"")*"|\[[^[\]]+\]/g, zc = /[\uE000-\uF8FF]/g, Pc = "#REF!", Hc = Math.pow(2, 14), Wc = Math.pow(2, 20);
8195
8203
  let Vc, $c;
8196
8204
  const jc = (t2) => (Vc === t2 || ($c = "" + (t2 + 1), Vc = t2), $c);
8197
8205
  let Gc, Uc;
@@ -8201,7 +8209,7 @@ const Jc = (t2) => {
8201
8209
  let e2 = "";
8202
8210
  for (++t2; t2; t2 = Math.floor((t2 - 1) / 26)) e2 = String.fromCharCode((t2 - 1) % 26 + 65) + e2;
8203
8211
  return Uc = e2, Uc;
8204
- }, Kc = /[^a-zA-Z0-9]/, qc = (t2) => {
8212
+ }, qc = /[^a-zA-Z0-9]/, Kc = (t2) => {
8205
8213
  if (!t2) return null;
8206
8214
  return Jc(t2.colIndex) + jc(t2.rowIndex);
8207
8215
  }, Xc = (t2) => {
@@ -8211,8 +8219,8 @@ const Jc = (t2) => {
8211
8219
  }, Yc = (t2, e2) => {
8212
8220
  let n2 = t2 ?? e2;
8213
8221
  var r2;
8214
- return n2 && (n2 = Wo(n2), n2 = n2.replace(/'/g, "''"), r2 = n2, Kc.test(r2) && (n2 = Ho(n2))), n2;
8215
- }, Qc = (t2, e2) => t2 ? t2 + (t2.endsWith("!") ? "" : "!") + e2 : Pc, Zc = (t2, e2, n2 = qc) => {
8222
+ return n2 && (n2 = Ho(n2), n2 = n2.replace(/'/g, "''"), r2 = n2, qc.test(r2) && (n2 = Wo(n2))), n2;
8223
+ }, Qc = (t2, e2) => t2 ? t2 + (t2.endsWith("!") ? "" : "!") + e2 : Pc, Zc = (t2, e2, n2 = Kc) => {
8216
8224
  if (!t2) return null;
8217
8225
  const r2 = t2.colStart, o2 = t2.rowStart, s2 = t2.colEnd, i2 = t2.rowEnd;
8218
8226
  if (r2 === s2 && o2 === i2) return n2({ colIndex: r2, rowIndex: o2 });
@@ -8287,7 +8295,7 @@ const Jc = (t2) => {
8287
8295
  const e3 = t3.lastIndexOf("!");
8288
8296
  if (-1 === e3) return null;
8289
8297
  let n3 = t3.slice(0, e3);
8290
- return n3 = Wo(n3), n3 = n3.replace(/''/g, "'"), [n3, t3.slice(e3 + 1)];
8298
+ return n3 = Ho(n3), n3 = n3.replace(/''/g, "'"), [n3, t3.slice(e3 + 1)];
8291
8299
  })(t2);
8292
8300
  let o2;
8293
8301
  if (r2) {
@@ -8415,7 +8423,7 @@ const Jc = (t2) => {
8415
8423
  }, fh = (t2, e2 = false) => {
8416
8424
  const n2 = t2.match(e2 ? kc : Fc);
8417
8425
  return t2.endsWith(":") ? null : n2;
8418
- }, ph = { rowIndex: -1, colIndex: -1, $colIndex: false, $rowIndex: false }, _h = (t2, e2, n2, r2 = Wc) => {
8426
+ }, ph = { rowIndex: -1, colIndex: -1, $colIndex: false, $rowIndex: false }, _h = (t2, e2, n2, r2 = Hc) => {
8419
8427
  let o2 = t2.lastIndexOf("!"), s2 = "";
8420
8428
  -1 !== o2 && (s2 = t2.slice(0, o2) + "!", t2 = t2.slice(o2 + 1));
8421
8429
  let i2 = null;
@@ -8482,7 +8490,7 @@ const Jc = (t2) => {
8482
8490
  return r2 ? (u2 = r2, u2.colStart = o2, u2.rowStart = s2, u2.colEnd = i2, u2.rowEnd = a2, u2.$colStart = l2, u2.$rowStart = c2, u2.$colEnd = h2, u2.$rowEnd = d2) : u2 = { colStart: o2, rowStart: s2, colEnd: i2, rowEnd: a2, $colStart: l2, $rowStart: c2, $colEnd: h2, $rowEnd: d2 }, t2.sheetName && (u2.sheetName = t2.sheetName), u2;
8483
8491
  }, xh = (t2, e2, n2, r2) => {
8484
8492
  Sh.length = 0;
8485
- let o2 = 0, s2 = t2.replace(Bc, wh), i2 = 0, a2 = s2.replace(Dc, (t3, a3, l2) => {
8493
+ let o2 = 0, s2 = t2.replace(Lc, wh), i2 = 0, a2 = s2.replace(Dc, (t3, a3, l2) => {
8486
8494
  const c2 = _h(t3, e2, n2);
8487
8495
  if (r2) {
8488
8496
  if (l2 > i2) {
@@ -8501,7 +8509,7 @@ const Jc = (t2) => {
8501
8509
  const t3 = s2.slice(i2);
8502
8510
  r2.push(t3.replace(zc, (t4, e3) => Sh[o2++]));
8503
8511
  }
8504
- return a2 = a2.toUpperCase().replace(Lc, ""), a2.replace(zc, yh);
8512
+ return a2 = a2.toUpperCase().replace(Bc, ""), a2.replace(zc, yh);
8505
8513
  }, Ih = "Must specify an address.", Rh = "Only a single range is allowed for this operation. Use 'getRanges' instead.", Ah = "Only a single cell is allowed.", Mh = "Invalid range. The Range must be specified as '{ TOP_LEFT:BOTTOM_RIGHT }'.", Th = (t2) => `Invalid address. Can not parse ${"string" == typeof t2 ? `'${t2}' ` : ""}as an address or named item.`, Nh = () => {
8506
8514
  throw new Error("Invalid range.");
8507
8515
  };
@@ -8569,8 +8577,8 @@ const Oh = (t2, n2) => {
8569
8577
  }
8570
8578
  }
8571
8579
  return r2;
8572
- }, Dh = 0, Lh = 1;
8573
- class Bh {
8580
+ }, Dh = 0, Bh = 1;
8581
+ class Lh {
8574
8582
  constructor(t2, e2, n2) {
8575
8583
  this.ref = t2, this.formula = e2;
8576
8584
  const r2 = t2.colStart, s2 = t2.rowStart;
@@ -8605,12 +8613,12 @@ class Bh {
8605
8613
  }
8606
8614
  getShifted(t2) {
8607
8615
  if (!t2.after) return null;
8608
- const e2 = c.sanitizeRange(t2.after), n2 = [...this.calcs], r2 = new Bh(e2, this.formula, n2);
8616
+ const e2 = c.sanitizeRange(t2.after), n2 = [...this.calcs], r2 = new Lh(e2, this.formula, n2);
8609
8617
  return { ...t2.after, value: r2 };
8610
8618
  }
8611
8619
  setReferenceAt(t2, e2) {
8612
8620
  const n2 = this.formula.setReferenceAt(t2, e2), r2 = [...this.calcs];
8613
- return new Bh(this.ref, n2, r2);
8621
+ return new Lh(this.ref, n2, r2);
8614
8622
  }
8615
8623
  getMerged(t2, n2, r2) {
8616
8624
  const o2 = this.formula, s2 = t2.formula;
@@ -8623,7 +8631,7 @@ class Bh {
8623
8631
  l2 = new Array(t3);
8624
8632
  for (let e2 = 0; e2 < t3; e2++) l2[e2] = [...i2[e2], ...a2[e2]];
8625
8633
  }
8626
- return new Bh(n2, o2, l2);
8634
+ return new Lh(n2, o2, l2);
8627
8635
  }
8628
8636
  getSplit(t2, n2, r2) {
8629
8637
  const o2 = this.formula, s2 = n2 === e.Orientation.Column;
@@ -8637,11 +8645,11 @@ class Bh {
8637
8645
  i2[e2] = t4.slice(0, r2), a2[e2] = t4.slice(r2);
8638
8646
  }
8639
8647
  } else i2 = l2.slice(0, r2), a2 = l2.slice(r2);
8640
- return [new Bh(t2[0], o2, i2), new Bh(t2[1], o2, a2)];
8648
+ return [new Lh(t2[0], o2, i2), new Lh(t2[1], o2, a2)];
8641
8649
  }
8642
8650
  copyTo(t2, e2) {
8643
8651
  const n2 = this.formula;
8644
- return new Bh(t2, n2);
8652
+ return new Lh(t2, n2);
8645
8653
  }
8646
8654
  canTile(t2, e2) {
8647
8655
  return true;
@@ -8660,9 +8668,9 @@ class Bh {
8660
8668
  const zh = Object.freeze({ break: true });
8661
8669
  var Ph;
8662
8670
  (Ph || (Ph = {})).Type = { Style: "style", Continuous: "continuous", Table: "table", Merge: "merge", Hyperlink: "hyperlink", Comments: "comments", Unlock: "unlock", Contentful: "contentful", Conditional: "conditional", Formula: "formula", Spill: "spill", Pending: "pending", CalcError: "calcError", Validation: "dataValidation" };
8663
- const Wh = Object.freeze({ [Ph.Type.Style]: false, [Ph.Type.Table]: false, [Ph.Type.Merge]: false, [Ph.Type.Hyperlink]: false, [Ph.Type.Comments]: false, [Ph.Type.Unlock]: false, [Ph.Type.Formula]: false, [Ph.Type.Spill]: false, [Ph.Type.Pending]: false, [Ph.Type.CalcError]: false, [Ph.Type.Contentful]: false, [Ph.Type.Conditional]: false, [Ph.Type.Continuous]: false }), Hh = Object.freeze({ [Ph.Type.Style]: false, [Ph.Type.Table]: false, [Ph.Type.Merge]: false, [Ph.Type.Hyperlink]: false, [Ph.Type.Comments]: false, [Ph.Type.Unlock]: false, [Ph.Type.Formula]: false, [Ph.Type.Spill]: false, [Ph.Type.Pending]: false, [Ph.Type.CalcError]: false, [Ph.Type.Conditional]: false, [Ph.Type.Continuous]: false }), Vh = Object.freeze({ [Ph.Type.Style]: false, [Ph.Type.Table]: true, [Ph.Type.Merge]: false, [Ph.Type.Hyperlink]: false, [Ph.Type.Comments]: false, [Ph.Type.Unlock]: false, [Ph.Type.Formula]: false });
8671
+ const Hh = Object.freeze({ [Ph.Type.Style]: false, [Ph.Type.Table]: false, [Ph.Type.Merge]: false, [Ph.Type.Hyperlink]: false, [Ph.Type.Comments]: false, [Ph.Type.Unlock]: false, [Ph.Type.Formula]: false, [Ph.Type.Spill]: false, [Ph.Type.Pending]: false, [Ph.Type.CalcError]: false, [Ph.Type.Contentful]: false, [Ph.Type.Conditional]: false, [Ph.Type.Continuous]: false }), Wh = Object.freeze({ [Ph.Type.Style]: false, [Ph.Type.Table]: false, [Ph.Type.Merge]: false, [Ph.Type.Hyperlink]: false, [Ph.Type.Comments]: false, [Ph.Type.Unlock]: false, [Ph.Type.Formula]: false, [Ph.Type.Spill]: false, [Ph.Type.Pending]: false, [Ph.Type.CalcError]: false, [Ph.Type.Conditional]: false, [Ph.Type.Continuous]: false }), Vh = Object.freeze({ [Ph.Type.Style]: false, [Ph.Type.Table]: true, [Ph.Type.Merge]: false, [Ph.Type.Hyperlink]: false, [Ph.Type.Comments]: false, [Ph.Type.Unlock]: false, [Ph.Type.Formula]: false });
8664
8672
  Object.freeze({ [Ph.Type.Style]: false, [Ph.Type.Table]: false, [Ph.Type.Hyperlink]: false, [Ph.Type.Comments]: false, [Ph.Type.Unlock]: false, [Ph.Type.Contentful]: false, [Ph.Type.Formula]: false });
8665
- const $h = Object.freeze({ [Ph.Type.Style]: false, [Ph.Type.Hyperlink]: false, [Ph.Type.Continuous]: false, [Ph.Type.Contentful]: false }), jh = "This sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.", Gh = (t2 = "update") => `Unable to ${t2}, this sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.`, Uh = "The range is outside of the bounds of the sheet.", Jh = "Listener can not be null", Kh = "We can't insert items. The sheet is protected.", qh = (t2) => `We can't create a ${t2} that overlaps with another table or merge.`, Xh = "Overlapping ranges can not be merged.", Yh = "We can't insert cells because this would push values off the end of the worksheet. These cells may appear empty but they have some formatting or formulas. Delete enough rows or columns and try again.", Qh = "Unable to partially fill over merged cells.", Zh = "Unable to sort merged cells unless they are all the same size.", td = "Sheet has been closed. No further operations are allowed.", ed = "IteratorContext can only be used during visit.", nd = "When using addresses directly from the sheet do not include the sheet name.", rd = (t2) => `Unable to return more than ${t2} values. To access values in a more scalable solution use 'ICellRange.forEach' or an iterator.`, od = "'setValue' expects a single value; when working with an array use 'setValue'.", sd = "Multiple selection ranges can not be copied.", id = "Unable to determine source.", ad = "When pasting before or after the cut area both areas must align.";
8673
+ const $h = Object.freeze({ [Ph.Type.Style]: false, [Ph.Type.Hyperlink]: false, [Ph.Type.Continuous]: false, [Ph.Type.Contentful]: false }), jh = "This sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.", Gh = (t2 = "update") => `Unable to ${t2}, this sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.`, Uh = "The range is outside of the bounds of the sheet.", Jh = "Listener can not be null", qh = "We can't insert items. The sheet is protected.", Kh = (t2) => `We can't create a ${t2} that overlaps with another table or merge.`, Xh = "Overlapping ranges can not be merged.", Yh = "We can't insert cells because this would push values off the end of the worksheet. These cells may appear empty but they have some formatting or formulas. Delete enough rows or columns and try again.", Qh = "Unable to partially fill over merged cells.", Zh = "Unable to sort merged cells unless they are all the same size.", td = "Sheet has been closed. No further operations are allowed.", ed = "IteratorContext can only be used during visit.", nd = "When using addresses directly from the sheet do not include the sheet name.", rd = (t2) => `Unable to return more than ${t2} values. To access values in a more scalable solution use 'ICellRange.forEach' or an iterator.`, od = "'setValue' expects a single value; when working with an array use 'setValue'.", sd = "Multiple selection ranges can not be copied.", id = "Unable to determine source.", ad = "When pasting before or after the cut area both areas must align.";
8666
8674
  var ld, cd;
8667
8675
  (cd = ld || (ld = {})).CalcStatus = { Ready: "ready", Stale: "stale", Pending: "pending", Streaming: "streaming" }, cd.Content = { Values: "values", Formats: "formats", Formulas: "formula", Hyperlinks: "hyperlinks", Tables: "tables", Notes: "notes", Comments: "comments", Warnings: "warnings", Errors: "errors", Merges: "merges" };
8668
8676
  class hd {
@@ -8718,10 +8726,10 @@ const dd = (t2) => {
8718
8726
  n2 && "]" !== s2 && '"' !== s2 ? e2 += s2 : '"' === s2 ? (e2 += "\\0022", n2 = !n2) : ["[", "]", ",", "#", ".", "@", "/", ":", ";", "-", " "].includes(s2) ? (e2 += "\\" + s2, "[" === s2 ? n2 = true : "]" === s2 && (n2 = false)) : ["(", ")"].includes(s2) ? e2 += "_" === r2 ? "\\" + s2 : "\\\\\\" + s2 : ["$"].includes(s2) ? e2 += "\\0022" + s2 + "\\0022" : e2 += s2, r2 = s2;
8719
8727
  }
8720
8728
  return '"' + e2 + '"';
8721
- }, Ed = "Thin", Cd = "Hairline", bd = "Extra Light", vd = "Ultra Light", xd = "Light", Id = "Normal", Rd = "Regular", Ad = "Medium", Md = "Semi Bold", Td = "Demi Bold", Nd = "Bold", Fd = "Extra Bold", kd = "Ultra Bold", Od = "Black", Dd = "Heavy", Ld = "Extra Black", Bd = "Ultra Black", zd = "lighter", Pd = "normal", Wd = "bold", Hd = "bolder", Vd = /* @__PURE__ */ new Map();
8722
- Vd.set(o.textToKey(Ed), 100), Vd.set(o.textToKey(Cd), 100), Vd.set(o.textToKey(bd), 200), Vd.set(o.textToKey(vd), 200), Vd.set(o.textToKey(xd), 300), Vd.set(o.textToKey(Id), 400), Vd.set(o.textToKey(Rd), 400), Vd.set(o.textToKey(Ad), 500), Vd.set(o.textToKey(Md), 600), Vd.set(o.textToKey(Td), 600), Vd.set(o.textToKey(Id), 400), Vd.set(o.textToKey(Nd), 700), Vd.set(o.textToKey(Fd), 800), Vd.set(o.textToKey(kd), 800), Vd.set(o.textToKey(Od), 900), Vd.set(o.textToKey(Dd), 900), Vd.set(o.textToKey(Ld), 950), Vd.set(o.textToKey(Bd), 950), Vd.set(o.textToKey(zd), 100), Vd.set(o.textToKey(Pd), 400), Vd.set(o.textToKey(Wd), 700), Vd.set(o.textToKey(Hd), 700);
8723
- const $d = "xx-small", jd = "x-small", Gd = "small", Ud = "medium", Jd = "large", Kd = "x-large", qd = "xx-large", Xd = "xxx-large", Yd = "smaller", Qd = "larger", Zd = "math", tu = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), eu = /* @__PURE__ */ new Map();
8724
- eu.set(o.textToKey($d), (t2) => 0.4 * t2), eu.set(o.textToKey(jd), (t2) => 0.5 * t2), eu.set(o.textToKey(Gd), (t2) => 0.6 * t2), eu.set(o.textToKey(Ud), (t2) => t2), eu.set(o.textToKey(Jd), (t2) => 1.1 * t2), eu.set(o.textToKey(Kd), (t2) => 1.25 * t2), eu.set(o.textToKey(qd), (t2) => 1.5 * t2), eu.set(o.textToKey(Xd), (t2) => 2 * t2), eu.set(o.textToKey(Yd), (t2) => 0.9 * t2), eu.set(o.textToKey(Qd), (t2) => 1.1 * t2), eu.set(o.textToKey(Zd), (t2) => t2);
8729
+ }, Ed = "Thin", Cd = "Hairline", bd = "Extra Light", vd = "Ultra Light", xd = "Light", Id = "Normal", Rd = "Regular", Ad = "Medium", Md = "Semi Bold", Td = "Demi Bold", Nd = "Bold", Fd = "Extra Bold", kd = "Ultra Bold", Od = "Black", Dd = "Heavy", Bd = "Extra Black", Ld = "Ultra Black", zd = "lighter", Pd = "normal", Hd = "bold", Wd = "bolder", Vd = /* @__PURE__ */ new Map();
8730
+ Vd.set(o.textToKey(Ed), 100), Vd.set(o.textToKey(Cd), 100), Vd.set(o.textToKey(bd), 200), Vd.set(o.textToKey(vd), 200), Vd.set(o.textToKey(xd), 300), Vd.set(o.textToKey(Id), 400), Vd.set(o.textToKey(Rd), 400), Vd.set(o.textToKey(Ad), 500), Vd.set(o.textToKey(Md), 600), Vd.set(o.textToKey(Td), 600), Vd.set(o.textToKey(Id), 400), Vd.set(o.textToKey(Nd), 700), Vd.set(o.textToKey(Fd), 800), Vd.set(o.textToKey(kd), 800), Vd.set(o.textToKey(Od), 900), Vd.set(o.textToKey(Dd), 900), Vd.set(o.textToKey(Bd), 950), Vd.set(o.textToKey(Ld), 950), Vd.set(o.textToKey(zd), 100), Vd.set(o.textToKey(Pd), 400), Vd.set(o.textToKey(Hd), 700), Vd.set(o.textToKey(Wd), 700);
8731
+ const $d = "xx-small", jd = "x-small", Gd = "small", Ud = "medium", Jd = "large", qd = "x-large", Kd = "xx-large", Xd = "xxx-large", Yd = "smaller", Qd = "larger", Zd = "math", tu = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), eu = /* @__PURE__ */ new Map();
8732
+ eu.set(o.textToKey($d), (t2) => 0.4 * t2), eu.set(o.textToKey(jd), (t2) => 0.5 * t2), eu.set(o.textToKey(Gd), (t2) => 0.6 * t2), eu.set(o.textToKey(Ud), (t2) => t2), eu.set(o.textToKey(Jd), (t2) => 1.1 * t2), eu.set(o.textToKey(qd), (t2) => 1.25 * t2), eu.set(o.textToKey(Kd), (t2) => 1.5 * t2), eu.set(o.textToKey(Xd), (t2) => 2 * t2), eu.set(o.textToKey(Yd), (t2) => 0.9 * t2), eu.set(o.textToKey(Qd), (t2) => 1.1 * t2), eu.set(o.textToKey(Zd), (t2) => t2);
8725
8733
  const nu = (t2, e2 = 11, n2 = "pt") => {
8726
8734
  if (!t2) return null;
8727
8735
  let r2 = e2;
@@ -8831,10 +8839,10 @@ const Su = new RegExp(`(\\s*(?:${pu}))`, "g"), wu = new RegExp("(\\s*[0-9]*[.]?[
8831
8839
  const a2 = n2 ? n2.trim() : null;
8832
8840
  let l2 = null === i2 ? s2 : `${i2.toString()} ${s2}`, c2 = gu.get(l2);
8833
8841
  return c2 || (c2 = gu.get(s2)), c2 ? { color: a2, style: c2 } : null;
8834
- }, Eu = "start", Cu = "end", bu = "left", vu = "right", xu = "center", Iu = "justify", Ru = "justify-all", Au = "baseline", Mu = "top", Tu = "middle", Nu = "bottom", Fu = "sub", ku = "text-top", Ou = "justify", Du = "distributed", Lu = /* @__PURE__ */ new Map();
8835
- Lu.set(o.textToKey(Eu), Ro.HorizontalAlignment.Left), Lu.set(o.textToKey(bu), Ro.HorizontalAlignment.Left), Lu.set(o.textToKey(Cu), Ro.HorizontalAlignment.Right), Lu.set(o.textToKey(vu), Ro.HorizontalAlignment.Right), Lu.set(o.textToKey(xu), Ro.HorizontalAlignment.Center), Lu.set(o.textToKey(Iu), Ro.HorizontalAlignment.Justify), Lu.set(o.textToKey(Ru), Ro.HorizontalAlignment.Justify);
8836
- const Bu = /* @__PURE__ */ new Map();
8837
- Bu.set(o.textToKey(Au), Ro.VerticalAlignment.Bottom), Bu.set(o.textToKey(Mu), Ro.VerticalAlignment.Top), Bu.set(o.textToKey(Tu), Ro.VerticalAlignment.Center), Bu.set(o.textToKey(Nu), Ro.VerticalAlignment.Bottom), Bu.set(o.textToKey(Fu), Ro.VerticalAlignment.Bottom), Bu.set(o.textToKey(ku), Ro.VerticalAlignment.Top), Bu.set(o.textToKey(Ou), Ro.VerticalAlignment.Justify), Bu.set(o.textToKey(Du), Ro.VerticalAlignment.Distributed);
8842
+ }, Eu = "start", Cu = "end", bu = "left", vu = "right", xu = "center", Iu = "justify", Ru = "justify-all", Au = "baseline", Mu = "top", Tu = "middle", Nu = "bottom", Fu = "sub", ku = "text-top", Ou = "justify", Du = "distributed", Bu = /* @__PURE__ */ new Map();
8843
+ Bu.set(o.textToKey(Eu), Ro.HorizontalAlignment.Left), Bu.set(o.textToKey(bu), Ro.HorizontalAlignment.Left), Bu.set(o.textToKey(Cu), Ro.HorizontalAlignment.Right), Bu.set(o.textToKey(vu), Ro.HorizontalAlignment.Right), Bu.set(o.textToKey(xu), Ro.HorizontalAlignment.Center), Bu.set(o.textToKey(Iu), Ro.HorizontalAlignment.Justify), Bu.set(o.textToKey(Ru), Ro.HorizontalAlignment.Justify);
8844
+ const Lu = /* @__PURE__ */ new Map();
8845
+ Lu.set(o.textToKey(Au), Ro.VerticalAlignment.Bottom), Lu.set(o.textToKey(Mu), Ro.VerticalAlignment.Top), Lu.set(o.textToKey(Tu), Ro.VerticalAlignment.Center), Lu.set(o.textToKey(Nu), Ro.VerticalAlignment.Bottom), Lu.set(o.textToKey(Fu), Ro.VerticalAlignment.Bottom), Lu.set(o.textToKey(ku), Ro.VerticalAlignment.Top), Lu.set(o.textToKey(Ou), Ro.VerticalAlignment.Justify), Lu.set(o.textToKey(Du), Ro.VerticalAlignment.Distributed);
8838
8846
  const zu = (t2) => {
8839
8847
  if (t2 instanceof li) return { color: t2.toString() };
8840
8848
  if ("string" == typeof t2) try {
@@ -8851,7 +8859,7 @@ const zu = (t2) => {
8851
8859
  console.warn("error", t3);
8852
8860
  }
8853
8861
  return t2;
8854
- }, merge: (t2, e2, n2) => t2 }, Wu = { shorthand: (t2, e2) => {
8862
+ }, merge: (t2, e2, n2) => t2 }, Hu = { shorthand: (t2, e2) => {
8855
8863
  if (t2.isIStroke) return t2.getProperties();
8856
8864
  if ("string" == typeof t2 && (t2 = yu(t2, (t3) => {
8857
8865
  try {
@@ -8862,7 +8870,7 @@ const zu = (t2) => {
8862
8870
  })), !t2) return null;
8863
8871
  const n2 = {};
8864
8872
  return t2.style && (n2.style = t2.style), t2.color && (n2.color = t2.color), n2;
8865
- }, properties: { color: Pu } }, Hu = { shorthand: (t2, e2) => {
8873
+ }, properties: { color: Pu } }, Wu = { shorthand: (t2, e2) => {
8866
8874
  if (t2.isIBorder) return t2.getProperties();
8867
8875
  if ("string" == typeof t2) {
8868
8876
  const n2 = yu(t2, (t3) => {
@@ -8875,7 +8883,7 @@ const zu = (t2) => {
8875
8883
  return { left: n2, right: n2, top: n2, bottom: n2, horizontal: null, vertical: null, diagonalUp: null, diagonalDown: null };
8876
8884
  }
8877
8885
  return t2;
8878
- }, properties: { top: Wu, left: Wu, right: Wu, bottom: Wu, horizontal: Wu, vertical: Wu, diagonalUp: Wu, diagonalDown: Wu } }, Vu = { shorthand: (t2, e2) => {
8886
+ }, properties: { top: Hu, left: Hu, right: Hu, bottom: Hu, horizontal: Hu, vertical: Hu, diagonalUp: Hu, diagonalDown: Hu } }, Vu = { shorthand: (t2, e2) => {
8879
8887
  if ("string" == typeof t2) {
8880
8888
  let e3 = Ri.Styles.lookupDefault(t2);
8881
8889
  return void 0 !== e3 ? e3 : t2;
@@ -8925,7 +8933,7 @@ const zu = (t2) => {
8925
8933
  if (!t3) return;
8926
8934
  let n2 = t3;
8927
8935
  return "string" == typeof t3 && (n2 = zu(t3)), t3.isIColor && (n2 = { color: t3.toString() }), n2;
8928
- })), t2), arrayType: { shorthand: (t2) => t2 = zu(t2), properties: { color: Pu } } } } }, Ku = { shorthand: (t2, e2) => {
8936
+ })), t2), arrayType: { shorthand: (t2) => t2 = zu(t2), properties: { color: Pu } } } } }, qu = { shorthand: (t2, e2) => {
8929
8937
  if ("object" == typeof t2) {
8930
8938
  const e3 = t2;
8931
8939
  (e3.foreground || e3.background || e3.patternType) && (e3.type = Gs.Type.Pattern, e3.patternType = e3.patternType ?? Gs.BuiltInSheetPattern.Solid);
@@ -8935,10 +8943,14 @@ const zu = (t2) => {
8935
8943
  if (t2.background && t2.foreground) return t2;
8936
8944
  e2?.toJSON && (e2 = e2.toJSON());
8937
8945
  const r2 = Gs.BuiltInSheetPattern.MediumGray;
8938
- return e2?.type === Gs.Type.Pattern ? { ...e2, ...t2 } : e2?.type === Gs.Type.Solid ? { patternType: r2, foreground: e2?.color ?? Js.Named.WindowText, background: Js.Scheme.Bg1, ...t2 } : e2?.type === Gs.Type.Gradient ? { patternType: r2, foreground: e2?.stops?.[0]?.color ?? Js.Named.WindowText, background: e2?.stops?.[1]?.color ?? Js.Scheme.Bg1, ...t2 } : t2 ? { type: Gs.Type.Pattern, patternType: Gs.BuiltInSheetPattern.Solid, foreground: Js.Named.WindowText, background: Js.Scheme.Bg1, ...t2 } : null;
8939
- }, properties: { foreground: Pu, background: Pu } }, qu = [Gu, Uu, Ju, Ku], Xu = [];
8940
- for (let t2 = 0; t2 < qu.length; t2++) {
8941
- const e2 = qu[t2]?.shorthand;
8946
+ if (e2?.type === Gs.Type.Pattern) {
8947
+ const n3 = { type: Gs.Type.Pattern, patternType: t2.patternType ?? e2.patternType };
8948
+ return t2.foreground || t2.background ? (t2.foreground && (n3.foreground = t2.foreground), t2.background && (n3.background = t2.background)) : (e2.foreground && (n3.foreground = e2.foreground), e2.background && (n3.background = e2.background)), n3;
8949
+ }
8950
+ return e2?.type === Gs.Type.Solid ? { patternType: r2, foreground: e2?.color ?? Js.Named.WindowText, background: Js.Scheme.Bg1, ...t2 } : e2?.type === Gs.Type.Gradient ? { patternType: r2, foreground: e2?.stops?.[0]?.color ?? Js.Named.WindowText, background: e2?.stops?.[1]?.color ?? Js.Scheme.Bg1, ...t2 } : t2 ? { type: Gs.Type.Pattern, patternType: Gs.BuiltInSheetPattern.Solid, foreground: Js.Named.WindowText, background: Js.Scheme.Bg1, ...t2 } : null;
8951
+ }, properties: { foreground: Pu, background: Pu } }, Ku = [Gu, Uu, Ju, qu], Xu = [];
8952
+ for (let t2 = 0; t2 < Ku.length; t2++) {
8953
+ const e2 = Ku[t2]?.shorthand;
8942
8954
  Xu.push(e2);
8943
8955
  }
8944
8956
  const Yu = Xu.length, Qu = { properties: { font: $u, fill: { shorthand: (t2, e2) => {
@@ -8948,7 +8960,7 @@ const Yu = Xu.length, Qu = { properties: { font: $u, fill: { shorthand: (t2, e2)
8948
8960
  if (r2?.type) return r2;
8949
8961
  }
8950
8962
  return t2;
8951
- }, getSubType: (t2) => t2.type === Gs.Type.None ? Gu : t2.type === Gs.Type.Solid ? Uu : t2.type === Gs.Type.Gradient ? Ju : t2.type === Gs.Type.Pattern ? Ku : null }, alignment: ju, border: Hu, numberFormat: Vu } }, Zu = { properties: { style: Qu } }, tg = Object.freeze({ displayText: "", conditionalColor: null, repeatChars: o.EmptyArray, spacingChars: o.EmptyArray, repeatPlaceholder: null, formattedRuns: Object.freeze({ runs: o.EmptyArray, length: 0, width: 0, lastRepeatIndex: -1 }), canWrap: false, asDate: null, isDateFormat: false, isTimeFormat: false, isDate1904: false }), eg = (e2, n2, r2, s2, i2, a2 = false) => {
8963
+ }, getSubType: (t2) => t2.type === Gs.Type.None ? Gu : t2.type === Gs.Type.Solid ? Uu : t2.type === Gs.Type.Gradient ? Ju : t2.type === Gs.Type.Pattern ? qu : null }, alignment: ju, border: Wu, numberFormat: Vu } }, Zu = { properties: { style: Qu } }, tg = Object.freeze({ displayText: "", conditionalColor: null, repeatChars: o.EmptyArray, spacingChars: o.EmptyArray, repeatPlaceholder: null, formattedRuns: Object.freeze({ runs: o.EmptyArray, length: 0, width: 0, lastRepeatIndex: -1 }), canWrap: false, asDate: null, isDateFormat: false, isTimeFormat: false, isDate1904: false }), eg = (e2, n2, r2, s2, i2, a2 = false) => {
8952
8964
  if (null == e2) return tg;
8953
8965
  let l2 = "", c2 = null, h2 = null, d2 = null;
8954
8966
  if (r2 === t.Error) l2 = e2.getLabel();
@@ -9007,12 +9019,12 @@ const Yu = Xu.length, Qu = { properties: { font: $u, fill: { shorthand: (t2, e2)
9007
9019
  }
9008
9020
  const b2 = Zr(s2, e2), v2 = { displayText: l2 ?? "", conditionalColor: b2 ? i2(b2) : null, repeatChars: h2 ?? o.EmptyArray, spacingChars: d2 ?? o.EmptyArray, repeatPlaceholder: c2, formattedRuns: f2, canWrap: y2, asDate: m2, isDateFormat: u2, isTimeFormat: g2, isDate1904: a2 };
9009
9021
  return Object.freeze(v2);
9010
- }, ng = Object.freeze({ fallbacks: o.EmptyArray, weight: 400, style: rs.Style.Normal, fill: Js.Scheme.Tx1, letterSpacing: null, underline: rs.UnderlineStyle.None, strike: false, scheme: rs.Scheme.Minor, verticalAlign: rs.VerticalAlignment.Baseline, shadow: false, outline: false, extend: false }), rg = Object.freeze({ style: ci.StrokeStyle.None, color: Js.Scheme.Tx1 }), og = Object.freeze({ [ci.Edge.Top]: rg, [ci.Edge.Left]: rg, [ci.Edge.Bottom]: rg, [ci.Edge.Right]: rg, [ci.Edge.Horizontal]: rg, [ci.Edge.Vertical]: rg, [ci.Edge.DiagonalUp]: rg, [ci.Edge.DiagonalDown]: rg }), sg = Object.freeze({ horizontal: Ro.HorizontalAlignment.General, vertical: Ro.VerticalAlignment.Bottom, indent: 0, relativeIndent: 0, overflow: Ro.Overflow.Visible, rotation: 0, stacked: false, quotePrefix: false, justifyLastLine: false, readingOrder: Ro.ReadingDirection.Auto, readingDirection: Ro.ReadingDirection.Auto }), ig = Object.freeze({ locked: false, formulaHidden: false }), ag = Object.freeze({ fill: { type: Gs.Type.None }, numberFormat: "General", alignment: sg, font: ng, border: og, protection: ig, quotePrefix: false, namedStyle: null }), lg = (() => {
9011
- const t2 = [{ named: Mi.BuiltInName.Normal }, { named: Mi.BuiltInName.RowLevel }, { named: Mi.BuiltInName.ColLevel }, { named: Mi.BuiltInName.Comma, numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)' }, { named: Mi.BuiltInName.Currency, numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)' }, { named: Mi.BuiltInName.Percent, numberFormat: "0%" }, { named: Mi.BuiltInName.Comma0, numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)' }, { named: Mi.BuiltInName.Currency0, numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)' }, { named: Mi.BuiltInName.Hyperlink, font: { ...ng, fill: Js.Scheme.Hlink, underline: rs.UnderlineStyle.Single } }, { named: Mi.BuiltInName.FollowedHyperlink, font: { ...ng, fill: Js.Scheme.FolHlink, underline: rs.UnderlineStyle.Single } }, { named: Mi.BuiltInName.Note, fill: "FFFFFFCC", font: { ...ng, style: rs.Style.Normal, fill: Js.Scheme.Tx1 }, border: { left: { style: ci.StrokeStyle.Thin, color: "FFB2B2B2" }, top: { style: ci.StrokeStyle.Thin, color: "FFB2B2B2" }, right: { style: ci.StrokeStyle.Thin, color: "FFB2B2B2" }, bottom: { style: ci.StrokeStyle.Thin, color: "FFB2B2B2" } } }, { named: Mi.BuiltInName.WarningText, font: { ...ng, fill: "FFFF0000" } }, { named: Mi.BuiltInName.Unknown12 }, { named: Mi.BuiltInName.Unknown13 }, { named: Mi.BuiltInName.Unknown14 }, { named: Mi.BuiltInName.Title, font: { ...ng, size: 18, fill: Js.Scheme.Tx2 } }, { named: Mi.BuiltInName.Heading1, font: { ...ng, size: 15, weight: "bold", fill: Js.Scheme.Tx2 }, border: { bottom: { style: ci.StrokeStyle.Thick, color: Js.Scheme.Accent1 } } }, { named: Mi.BuiltInName.Heading2, font: { ...ng, size: 13, weight: "bold", fill: Js.Scheme.Tx2 }, border: { bottom: { style: ci.StrokeStyle.Thick, color: "accent1 lumMod 40, lumOff 60" } } }, { named: Mi.BuiltInName.Heading3, font: { ...ng, weight: "bold", fill: Js.Scheme.Tx2 }, border: { bottom: { style: ci.StrokeStyle.Medium, color: "accent1 lumMod 40, lumOff 60" } } }, { named: Mi.BuiltInName.Heading4, font: { weight: "bold", fill: Js.Scheme.Tx2, ...ng } }, { named: Mi.BuiltInName.Input, fill: "FFFFCC99", font: { ...ng, fill: "FF3F3F76" }, border: { left: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: Mi.BuiltInName.Output, fill: "FFF2F2F2", font: { ...ng, fill: "FF3F3F3F" }, border: { left: { style: ci.StrokeStyle.Thin, color: "FF3F3F3F" }, top: { style: ci.StrokeStyle.Thin, color: "FF3F3F3F" }, right: { style: ci.StrokeStyle.Thin, color: "FF3F3F3F" }, bottom: { style: ci.StrokeStyle.Thin, color: "FF3F3F3F" } } }, { named: Mi.BuiltInName.Calculation, fill: "FFF2F2F2", font: { ...ng, fill: "FFFA7D00" }, border: { left: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: Mi.BuiltInName.CheckCell, fill: "FFA5A5A5", font: { ...ng, fill: Js.Scheme.Bg1 }, border: { left: { style: ci.StrokeStyle.Double, color: "FF3F3F3F" }, top: { style: ci.StrokeStyle.Double, color: "FF3F3F3F" }, right: { style: ci.StrokeStyle.Double, color: "FF3F3F3F" }, bottom: { style: ci.StrokeStyle.Double, color: "FF3F3F3F" } } }, { named: Mi.BuiltInName.LinkedCell, font: { ...ng, fill: "FFFA7D00" }, border: { bottom: { style: ci.StrokeStyle.Double, color: "FFFF8001" } } }, { named: Mi.BuiltInName.Total, font: { ...ng, weight: "bold", fill: Js.Scheme.Tx1 }, border: { top: { style: ci.StrokeStyle.Thin, color: Js.Scheme.Accent1 }, bottom: { style: ci.StrokeStyle.Double, color: Js.Scheme.Accent1 } } }, { named: Mi.BuiltInName.Good, fill: "FFC6EFCE", font: { ...ng, fill: "FF006100" } }, { named: Mi.BuiltInName.Bad, fill: "FFFFC7CE", font: { ...ng, fill: "FF9C0006" } }, { named: Mi.BuiltInName.Neutral, fill: "FFFFEB9C", font: { ...ng, fill: "FF9C5700" } }, { named: Mi.BuiltInName.Accent1 }, { named: Mi.BuiltInName.Accent1_20 }, { named: Mi.BuiltInName.Accent1_40 }, { named: Mi.BuiltInName.Accent1_60 }, { named: Mi.BuiltInName.Accent2 }, { named: Mi.BuiltInName.Accent2_20 }, { named: Mi.BuiltInName.Accent2_40 }, { named: Mi.BuiltInName.Accent2_60 }, { named: Mi.BuiltInName.Accent3 }, { named: Mi.BuiltInName.Accent3_20 }, { named: Mi.BuiltInName.Accent3_40 }, { named: Mi.BuiltInName.Accent3_60 }, { named: Mi.BuiltInName.Accent4 }, { named: Mi.BuiltInName.Accent4_20 }, { named: Mi.BuiltInName.Accent4_40 }, { named: Mi.BuiltInName.Accent4_60 }, { named: Mi.BuiltInName.Accent5 }, { named: Mi.BuiltInName.Accent5_20 }, { named: Mi.BuiltInName.Accent5_40 }, { named: Mi.BuiltInName.Accent5_60 }, { named: Mi.BuiltInName.Accent6 }, { named: Mi.BuiltInName.Accent6_20 }, { named: Mi.BuiltInName.Accent6_40 }, { named: Mi.BuiltInName.Accent6_60 }, { named: Mi.BuiltInName.ExplanatoryText, font: { ...ng, style: rs.Style.Italic, fill: "FF7F7F7F" } }];
9022
+ }, ng = Object.freeze({ fallbacks: o.EmptyArray, weight: 400, style: rs.Style.Normal, fill: Js.Scheme.Tx1, letterSpacing: null, underline: rs.UnderlineStyle.None, strike: false, scheme: rs.Scheme.Minor, verticalAlign: rs.VerticalAlignment.Baseline, shadow: false, outline: false, extend: false }), rg = Object.freeze({ style: ci.StrokeStyle.None }), og = Object.freeze({ [ci.Edge.Top]: rg, [ci.Edge.Left]: rg, [ci.Edge.Bottom]: rg, [ci.Edge.Right]: rg, [ci.Edge.Horizontal]: rg, [ci.Edge.Vertical]: rg, [ci.Edge.DiagonalUp]: rg, [ci.Edge.DiagonalDown]: rg }), sg = Object.freeze({ horizontal: Ro.HorizontalAlignment.General, vertical: Ro.VerticalAlignment.Bottom, indent: 0, relativeIndent: 0, overflow: Ro.Overflow.Visible, rotation: 0, stacked: false, quotePrefix: false, justifyLastLine: false, readingOrder: Ro.ReadingDirection.Auto, readingDirection: Ro.ReadingDirection.Auto }), ig = Object.freeze({ locked: false, formulaHidden: false }), ag = Object.freeze({ fill: Object.freeze({ type: Gs.Type.None }), numberFormat: "General", alignment: sg, font: ng, border: og, protection: ig, quotePrefix: false, namedStyle: null }), lg = (() => {
9023
+ const t2 = [{ named: Mi.BuiltInName.Normal }, { named: Mi.BuiltInName.RowLevel }, { named: Mi.BuiltInName.ColLevel }, { named: Mi.BuiltInName.Comma, numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)' }, { named: Mi.BuiltInName.Currency, numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)' }, { named: Mi.BuiltInName.Percent, numberFormat: "0%" }, { named: Mi.BuiltInName.Comma0, numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)' }, { named: Mi.BuiltInName.Currency0, numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)' }, { named: Mi.BuiltInName.Hyperlink, font: { fill: Js.Scheme.Hlink, underline: rs.UnderlineStyle.Single } }, { named: Mi.BuiltInName.FollowedHyperlink, font: { fill: Js.Scheme.FolHlink, underline: rs.UnderlineStyle.Single } }, { named: Mi.BuiltInName.Note, fill: "FFFFFFCC", font: { style: rs.Style.Normal, fill: Js.Scheme.Tx1 }, border: { left: { style: ci.StrokeStyle.Thin, color: "FFB2B2B2" }, top: { style: ci.StrokeStyle.Thin, color: "FFB2B2B2" }, right: { style: ci.StrokeStyle.Thin, color: "FFB2B2B2" }, bottom: { style: ci.StrokeStyle.Thin, color: "FFB2B2B2" } } }, { named: Mi.BuiltInName.WarningText, font: { fill: "FFFF0000" } }, { named: Mi.BuiltInName.Unknown12 }, { named: Mi.BuiltInName.Unknown13 }, { named: Mi.BuiltInName.Unknown14 }, { named: Mi.BuiltInName.Title, font: { size: 18, fill: Js.Scheme.Tx2 } }, { named: Mi.BuiltInName.Heading1, font: { size: 15, weight: "bold", fill: Js.Scheme.Tx2 }, border: { bottom: { style: ci.StrokeStyle.Thick, color: Js.Scheme.Accent1 } } }, { named: Mi.BuiltInName.Heading2, font: { size: 13, weight: "bold", fill: Js.Scheme.Tx2 }, border: { bottom: { style: ci.StrokeStyle.Thick, color: "accent1 lumMod 40, lumOff 60" } } }, { named: Mi.BuiltInName.Heading3, font: { weight: "bold", fill: Js.Scheme.Tx2 }, border: { bottom: { style: ci.StrokeStyle.Medium, color: "accent1 lumMod 40, lumOff 60" } } }, { named: Mi.BuiltInName.Heading4, font: { weight: "bold", fill: Js.Scheme.Tx2 } }, { named: Mi.BuiltInName.Input, fill: "FFFFCC99", font: { fill: "FF3F3F76" }, border: { left: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: Mi.BuiltInName.Output, fill: "FFF2F2F2", font: { fill: "FF3F3F3F" }, border: { left: { style: ci.StrokeStyle.Thin, color: "FF3F3F3F" }, top: { style: ci.StrokeStyle.Thin, color: "FF3F3F3F" }, right: { style: ci.StrokeStyle.Thin, color: "FF3F3F3F" }, bottom: { style: ci.StrokeStyle.Thin, color: "FF3F3F3F" } } }, { named: Mi.BuiltInName.Calculation, fill: "FFF2F2F2", font: { fill: "FFFA7D00" }, border: { left: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: ci.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: Mi.BuiltInName.CheckCell, fill: "FFA5A5A5", font: { fill: Js.Scheme.Bg1 }, border: { left: { style: ci.StrokeStyle.Double, color: "FF3F3F3F" }, top: { style: ci.StrokeStyle.Double, color: "FF3F3F3F" }, right: { style: ci.StrokeStyle.Double, color: "FF3F3F3F" }, bottom: { style: ci.StrokeStyle.Double, color: "FF3F3F3F" } } }, { named: Mi.BuiltInName.LinkedCell, font: { fill: "FFFA7D00" }, border: { bottom: { style: ci.StrokeStyle.Double, color: "FFFF8001" } } }, { named: Mi.BuiltInName.Total, font: { weight: "bold", fill: Js.Scheme.Tx1 }, border: { top: { style: ci.StrokeStyle.Thin, color: Js.Scheme.Accent1 }, bottom: { style: ci.StrokeStyle.Double, color: Js.Scheme.Accent1 } } }, { named: Mi.BuiltInName.Good, fill: "FFC6EFCE", font: { fill: "FF006100" } }, { named: Mi.BuiltInName.Bad, fill: "FFFFC7CE", font: { fill: "FF9C0006" } }, { named: Mi.BuiltInName.Neutral, fill: "FFFFEB9C", font: { fill: "FF9C5700" } }, { named: Mi.BuiltInName.Accent1 }, { named: Mi.BuiltInName.Accent1_20 }, { named: Mi.BuiltInName.Accent1_40 }, { named: Mi.BuiltInName.Accent1_60 }, { named: Mi.BuiltInName.Accent2 }, { named: Mi.BuiltInName.Accent2_20 }, { named: Mi.BuiltInName.Accent2_40 }, { named: Mi.BuiltInName.Accent2_60 }, { named: Mi.BuiltInName.Accent3 }, { named: Mi.BuiltInName.Accent3_20 }, { named: Mi.BuiltInName.Accent3_40 }, { named: Mi.BuiltInName.Accent3_60 }, { named: Mi.BuiltInName.Accent4 }, { named: Mi.BuiltInName.Accent4_20 }, { named: Mi.BuiltInName.Accent4_40 }, { named: Mi.BuiltInName.Accent4_60 }, { named: Mi.BuiltInName.Accent5 }, { named: Mi.BuiltInName.Accent5_20 }, { named: Mi.BuiltInName.Accent5_40 }, { named: Mi.BuiltInName.Accent5_60 }, { named: Mi.BuiltInName.Accent6 }, { named: Mi.BuiltInName.Accent6_20 }, { named: Mi.BuiltInName.Accent6_40 }, { named: Mi.BuiltInName.Accent6_60 }, { named: Mi.BuiltInName.ExplanatoryText, font: { style: rs.Style.Italic, fill: "FF7F7F7F" } }];
9012
9024
  for (let e2 = 29; e2 <= 52; e2++) {
9013
9025
  const n2 = (e2 - 29) % 4, r2 = Math.floor((e2 - 29) / 4);
9014
9026
  let o2 = "";
9015
- 1 === n2 ? o2 = " lumMod 20, lumOff 80" : 2 === n2 ? o2 = " lumMod 40, lumOff 60" : 3 === n2 && (o2 = " lumMod 60, lumOff 40"), t2[e2].fill = `accent${r2 + 1}${o2}`, t2[e2].font = { fill: 0 === n2 ? Js.Scheme.Bg1 : Js.Scheme.Tx1, ...ng };
9027
+ 1 === n2 ? o2 = " lumMod 20, lumOff 80" : 2 === n2 ? o2 = " lumMod 40, lumOff 60" : 3 === n2 && (o2 = " lumMod 60, lumOff 40"), t2[e2].fill = `accent${r2 + 1}${o2}`, t2[e2].font = { fill: 0 === n2 ? Js.Scheme.Bg1 : Js.Scheme.Tx1 };
9016
9028
  }
9017
9029
  return o.deepFreeze(t2);
9018
9030
  })();
@@ -9795,22 +9807,18 @@ class Ag {
9795
9807
  }
9796
9808
  getPropertiesAt(t2, e2, n2) {
9797
9809
  const r2 = this._p;
9798
- let s2 = r2, i2 = null;
9799
- const a2 = this._t;
9800
- if (a2) {
9801
- const n3 = this._r, r3 = a2.colEnd - a2.colStart + 1, o2 = a2.rowEnd - a2.rowStart + 1;
9802
- e2 = n3.colStart + (e2 - n3.colStart + (a2.colStart - n3.colStart)) % r3, t2 = n3.rowStart + (t2 - n3.rowStart + (a2.rowStart - n3.rowStart)) % o2;
9803
- }
9804
- const l2 = r2?.font;
9805
- l2 && l2.fill && (i2 = i2 ?? this._c.getNormalRanged().getPropertiesAt(t2, e2, n2), i2 && i2.font && l2.fill === i2.font.fill && (s2 === r2 && (s2 = { ...s2 }), s2.font = { ...l2 }, delete s2.font.fill));
9806
- const c2 = r2?.fill;
9807
- c2 && (i2 = i2 ?? this._c.getNormalRanged().getPropertiesAt(t2, e2, n2), i2 && o.deepEqual(c2, i2.fill) && (s2 === r2 && (s2 = { ...s2 }), delete s2.fill));
9808
- const h2 = s2?.border;
9809
- if (h2) {
9810
- const n3 = a2 ?? this._r, o2 = this._localizeBorder(h2, n3, t2, e2);
9811
- void 0 !== o2 && (s2 === r2 && (s2 = { ...s2 }), null === o2 ? delete s2.border : s2.border = o2);
9810
+ let o2 = r2;
9811
+ const s2 = this._t;
9812
+ if (s2) {
9813
+ const n3 = this._r, r3 = s2.colEnd - s2.colStart + 1, o3 = s2.rowEnd - s2.rowStart + 1;
9814
+ e2 = n3.colStart + (e2 - n3.colStart + (s2.colStart - n3.colStart)) % r3, t2 = n3.rowStart + (t2 - n3.rowStart + (s2.rowStart - n3.rowStart)) % o3;
9812
9815
  }
9813
- return s2;
9816
+ const i2 = o2?.border;
9817
+ if (i2) {
9818
+ const n3 = s2 ?? this._r, a2 = this._localizeBorder(i2, n3, t2, e2);
9819
+ void 0 !== a2 && (o2 === r2 && (o2 = { ...o2 }), null === a2 ? delete o2.border : o2.border = a2);
9820
+ }
9821
+ return o2;
9814
9822
  }
9815
9823
  toJSON() {
9816
9824
  return o.toSafeJSON(this._p);
@@ -9868,12 +9876,12 @@ const Og = new class {
9868
9876
  } else p2 = g2;
9869
9877
  let _2 = false;
9870
9878
  return void 0 !== c2 && (null === c2 ? (a2.value = null, a2.type = t.Null) : (a2.value = c2, a2.type = l2), _2 = true), void 0 !== p2 && (a2.style = p2, _2 = true), void 0 !== d2 && (a2.hyperlink = d2, _2 = true), void 0 !== u2 && (a2.formula = u2, _2 = true), s2 || (a2.stringToParse = m2, _2 = true), _2 ? (a2.type = l2, a2) : void 0;
9871
- }, Lg = (t2, e2, n2, r2) => eg(n2, e2, t2, e2.getNumberFormat(), (t3) => r2.styles.parseColor(t3), r2.date1904), Bg = (e2, n2, r2, o2, s2 = false) => {
9879
+ }, Bg = (t2, e2, n2, r2) => eg(n2, e2, t2, e2.getNumberFormat(), (t3) => r2.styles.parseColor(t3), r2.date1904), Lg = (e2, n2, r2, o2, s2 = false) => {
9872
9880
  if (e2 === t.Null) return null;
9873
9881
  let i2 = "";
9874
9882
  if (s2) i2 = "" + r2;
9875
9883
  else {
9876
- const t2 = Lg(e2, n2, r2, o2);
9884
+ const t2 = Bg(e2, n2, r2, o2);
9877
9885
  if (t2.formattedRuns) {
9878
9886
  const e3 = t2.formattedRuns.runs;
9879
9887
  for (let t3 = 0; t3 < e3.length; t3++) {
@@ -9897,7 +9905,7 @@ const Og = new class {
9897
9905
  }, Pg = (e2, n2) => {
9898
9906
  const r2 = n2.getAlignment(), o2 = r2.getRotation(), s2 = r2.getHorizontal();
9899
9907
  return 0 !== o2 && s2 === Ro.HorizontalAlignment.General ? o2 > 0 && o2 < 90 || o2 > 180 && o2 <= 270 ? Ro.HorizontalAlignment.Right : Ro.HorizontalAlignment.Left : s2 === Ro.HorizontalAlignment.General ? e2 === t.Null ? Ro.HorizontalAlignment.Left : e2 === t.Boolean || e2 === t.Error ? Ro.HorizontalAlignment.Center : "@" === n2.getNumberFormat() ? Ro.HorizontalAlignment.Left : e2 === t.Number ? Ro.HorizontalAlignment.Right : Ro.HorizontalAlignment.Left : s2;
9900
- }, Wg = (e2, n2, r2, o2, s2, i2, a2, l2, c2) => {
9908
+ }, Hg = (e2, n2, r2, o2, s2, i2, a2, l2, c2) => {
9901
9909
  if (r2 === t.Null || "" === s2) return null;
9902
9910
  const h2 = n2;
9903
9911
  if (!((e3, n3, r3 = false, o3 = false) => {
@@ -9917,9 +9925,9 @@ const Og = new class {
9917
9925
  const S2 = ((t2) => t2 === Ro.HorizontalAlignment.Center || t2 === Ro.HorizontalAlignment.CenterContinuous ? p.Center : t2 === Ro.HorizontalAlignment.Right ? p.Right : p.Left)(Pg(r2, o2));
9918
9926
  let w2 = 0, y2 = 0, E2 = 0, C2 = 0, b2 = 1;
9919
9927
  if (_2 && null !== s2 && l2) {
9920
- qg.colIndex = n2, qg.rowIndex = e2;
9928
+ Kg.colIndex = n2, Kg.rowIndex = e2;
9921
9929
  const t2 = l2.colEnd;
9922
- b2 = Math.min(c2.nextContentful(qg, t2), t2) - n2 + 1;
9930
+ b2 = Math.min(c2.nextContentful(Kg, t2), t2) - n2 + 1;
9923
9931
  }
9924
9932
  const v2 = c2.colHeaders, x2 = v2.findOffset.bind(v2), I2 = v2.findIndex.bind(v2);
9925
9933
  let R2 = x2(h2);
@@ -9927,11 +9935,11 @@ const Og = new class {
9927
9935
  let M2 = x2(h2 + b2), T2 = M2 - R2, N2 = h2, F2 = h2;
9928
9936
  const k2 = { x: 0, y: 0, width: T2, height: d2?.height ?? 0 };
9929
9937
  const O2 = h2 - h2 + b2;
9930
- let D2 = d2 ? d2.width - T2 : 0, L2 = k2;
9931
- T2 > 0 && D2 > 0 && !m2 && (S2 === p.Center && (D2 /= 2), S2 !== p.Left && S2 !== p.Center || (F2 = I2(M2 + D2), null !== a2 && (F2 = Math.min(F2, a2.colIndex - 1)), M2 = x2(F2), C2 = D2, y2 = F2 - h2), S2 !== p.Right && S2 !== p.Center || (N2 = I2(R2 - D2), null !== i2 && (N2 = Math.max(N2, i2.colIndex + 1)), R2 = x2(N2), E2 = D2, w2 = h2 - N2), k2.x = A2 - R2, L2.x = k2.x), b2 > 1 && (y2 = S2 === p.Center ? Math.max(O2 - 1, y2) : b2 - 1, M2 = x2(h2 + 1), k2.width = M2 - R2, L2 = { ...k2 }, L2.width = T2);
9932
- return { anchorBounds: k2, leftIndex: w2, rightIndex: y2, leftOffset: E2, rightOffset: C2, colSpan: O2, colBounds: L2 };
9938
+ let D2 = d2 ? d2.width - T2 : 0, B2 = k2;
9939
+ T2 > 0 && D2 > 0 && !m2 && (S2 === p.Center && (D2 /= 2), S2 !== p.Left && S2 !== p.Center || (F2 = I2(M2 + D2), null !== a2 && (F2 = Math.min(F2, a2.colIndex - 1)), M2 = x2(F2), C2 = D2, y2 = F2 - h2), S2 !== p.Right && S2 !== p.Center || (N2 = I2(R2 - D2), null !== i2 && (N2 = Math.max(N2, i2.colIndex + 1)), R2 = x2(N2), E2 = D2, w2 = h2 - N2), k2.x = A2 - R2, B2.x = k2.x), b2 > 1 && (y2 = S2 === p.Center ? Math.max(O2 - 1, y2) : b2 - 1, M2 = x2(h2 + 1), k2.width = M2 - R2, B2 = { ...k2 }, B2.width = T2);
9940
+ return { anchorBounds: k2, leftIndex: w2, rightIndex: y2, leftOffset: E2, rightOffset: C2, colSpan: O2, colBounds: B2 };
9933
9941
  };
9934
- class Hg {
9942
+ class Wg {
9935
9943
  constructor(t2, e2) {
9936
9944
  this._styles = t2, this._ri = e2;
9937
9945
  const n2 = e2?.table;
@@ -9961,13 +9969,18 @@ class Hg {
9961
9969
  }
9962
9970
  let i2 = null;
9963
9971
  const a2 = this._table?.getPropertiesAt(t2, e2, n2);
9964
- a2 && (i2 = i2 ? f.resolveTypedUpdates(a2, Qu, s2, i2) : a2), r2 && (i2 = i2 ? f.resolveTypedUpdates(r2, Qu, s2, i2) : r2);
9965
- const l2 = this._conditionals;
9966
- if (l2) for (let r3 = 0; r3 < l2.length; r3++) {
9967
- const o3 = l2[r3].getPropertiesAt(t2, e2, n2);
9968
- o3 && (i2 = i2 ? f.resolveTypedUpdates(o3, Qu, s2, i2) : o3);
9972
+ a2 && (i2 = i2 ? f.resolveTypedUpdates(a2, Qu, s2, i2) : a2);
9973
+ let l2 = null;
9974
+ r2 && (l2 = l2 ? f.resolveTypedUpdates(r2, Qu, s2, l2) : r2), o2 && (l2 = l2 ? f.resolveTypedUpdates(o2, Qu, s2, l2) : o2), l2 && (l2 = s2.normalize(l2, Mi.BuiltInName.Normal), i2 = i2 && l2 ? f.resolveTypedUpdates(l2, Qu, s2, i2) : l2 ?? i2);
9975
+ const c2 = this._conditionals;
9976
+ if (c2) {
9977
+ const r3 = c2.length;
9978
+ for (let o3 = 0; o3 < r3; o3++) {
9979
+ const r4 = c2[o3].getPropertiesAt(t2, e2, n2);
9980
+ r4 && (i2 = i2 ? f.resolveTypedUpdates(r4, Qu, s2, i2) : r4);
9981
+ }
9969
9982
  }
9970
- return o2 && (i2 = i2 ? f.resolveTypedUpdates(o2, Qu, s2, i2) : o2), i2;
9983
+ return i2;
9971
9984
  }
9972
9985
  cloneWithUpdate(t2) {
9973
9986
  return (this._ri.directStyle ?? this._styles.getNormalRanged()).cloneWithUpdate(t2);
@@ -9975,7 +9988,7 @@ class Hg {
9975
9988
  }
9976
9989
  const Vg = (t2, e2, n2, r2) => {
9977
9990
  const o2 = r2.styles;
9978
- return vg(o2, n2 ? new Hg(o2, n2) : null, e2, r2.styleUpdater);
9991
+ return vg(o2, n2 ? new Wg(o2, n2) : null, e2, r2.styleUpdater);
9979
9992
  }, $g = (e2, n2, r2, s2, i2, a2, l2, c2 = null, h2 = kg) => {
9980
9993
  if (null === r2) return n2 ? n2.getBestFit() : null;
9981
9994
  const d2 = e2 === t.String, u2 = n2.getFont(), g2 = u2.getWeight(), m2 = u2.getSize(), f2 = u2.getFamily(), p2 = n2.getAlignment(), _2 = p2.getOverflow(), S2 = p2.getRotation(), w2 = p2.getVertical(), y2 = n2.getNumberFormat(), E2 = d2 && _2 === Ro.Overflow.Visible, C2 = d2 && (_2 === Ro.Overflow.Wrap || w2 === Ro.VerticalAlignment.Justify || w2 === Ro.VerticalAlignment.Distributed), b2 = (c2 ?? "") + "\0" + m2 + f2 + g2 + y2 + S2 + E2 + C2 + a2 + l2 + (c2 ? "" : r2), v2 = h2.get(b2);
@@ -9984,7 +9997,7 @@ const Vg = (t2, e2, n2, r2) => {
9984
9997
  const R2 = zg(e2, n2), A2 = R2.top + R2.bottom + +um(n2);
9985
9998
  let M2 = false, T2 = false;
9986
9999
  l2 && (T2 = true, (0 !== S2 || C2) && (T2 = false));
9987
- const N2 = T2 ? void 0 : Bg(e2, n2, r2, s2), F2 = R2.left + R2.right + 2;
10000
+ const N2 = T2 ? void 0 : Lg(e2, n2, r2, s2), F2 = R2.left + R2.right + 2;
9988
10001
  if (N2) {
9989
10002
  if (e2 === t.Number && "General" === y2 && a2) {
9990
10003
  let t2 = r2, e3 = o.splitNumber(t2), s3 = "";
@@ -10042,7 +10055,7 @@ class Gg {
10042
10055
  return this._options.sheet;
10043
10056
  }
10044
10057
  select(t2) {
10045
- return this._options.opener("#" + qc(this._coords), t2);
10058
+ return this._options.opener("#" + Kc(this._coords), t2);
10046
10059
  }
10047
10060
  getColumnFilter() {
10048
10061
  if (!this._ri) return null;
@@ -10068,7 +10081,7 @@ class Gg {
10068
10081
  let o2 = null;
10069
10082
  if (r2 === t.String || n2 && n2.continuous) {
10070
10083
  const t2 = this.getStyle(), e3 = this._coords;
10071
- o2 = Wg(e3.rowIndex, e3.colIndex, r2, t2, this._v, this._p, this._n, n2?.continuous?.getCoords() ?? null, this._options);
10084
+ o2 = Hg(e3.rowIndex, e3.colIndex, r2, t2, this._v, this._p, this._n, n2?.continuous?.getCoords() ?? null, this._options);
10072
10085
  }
10073
10086
  return null === o2 || 0 === o2.leftIndex && 0 === o2.rightIndex && o2.colSpan <= 1 ? (this._to = null, null) : (this._to = o2, this._to);
10074
10087
  }
@@ -10112,7 +10125,7 @@ class Gg {
10112
10125
  let n2, r2;
10113
10126
  if (e2 && (r2 = this.getFormulaText()), n2 = r2 ?? this._v, null === n2) return null;
10114
10127
  const o2 = this.getStyle();
10115
- return r2 ? ((e3, n3) => n3 === t.Null ? null : xs(n3, e3.getFont(), e3.getAlignment(), false, true))(o2, n2, this._options) : Bg(this._t, o2, n2, this._options, e2);
10128
+ return r2 ? ((e3, n3) => n3 === t.Null ? null : xs(n3, e3.getFont(), e3.getAlignment(), false, true))(o2, n2, this._options) : Lg(this._t, o2, n2, this._options, e2);
10116
10129
  }
10117
10130
  getValue() {
10118
10131
  return this._v;
@@ -10163,7 +10176,7 @@ class Gg {
10163
10176
  const e2 = this._v;
10164
10177
  return eg(e2, this.getStyle(), this._t, t2, (t3) => this._options.styles.parseColor(t3), this._isDate1904());
10165
10178
  }
10166
- return Lg(this._t, this.getStyle(), this._v, this._options);
10179
+ return Bg(this._t, this.getStyle(), this._v, this._options);
10167
10180
  }
10168
10181
  toDate() {
10169
10182
  return this._t !== t.Number ? null : this._ri ? this.getNumberFormat().asDate : null;
@@ -10235,7 +10248,7 @@ class Gg {
10235
10248
  let t2 = this._ri?.spills;
10236
10249
  if (!t2) return null;
10237
10250
  if (!this._coords) return null;
10238
- Array.isArray(t2) || (Kg[0] = t2, t2 = Kg);
10251
+ Array.isArray(t2) || (qg[0] = t2, t2 = qg);
10239
10252
  let e2 = null;
10240
10253
  for (let n2 = 0; !e2 && n2 < t2.length; n2++) {
10241
10254
  const r2 = t2[n2];
@@ -10247,7 +10260,7 @@ class Gg {
10247
10260
  let t2 = this._ri?.spills;
10248
10261
  if (!t2) return false;
10249
10262
  if (!this._coords) return null;
10250
- Array.isArray(t2) || (Kg[0] = t2, t2 = Kg);
10263
+ Array.isArray(t2) || (qg[0] = t2, t2 = qg);
10251
10264
  for (let e2 = 0; e2 < t2.length; e2++) {
10252
10265
  const n2 = t2[e2].getCoords();
10253
10266
  if (this._coords.colIndex === n2.colStart && this._coords.rowIndex === n2.rowStart) return false;
@@ -10318,7 +10331,7 @@ class Jg {
10318
10331
  return this.toText();
10319
10332
  }
10320
10333
  }
10321
- const Kg = [null], qg = { colIndex: -1, rowIndex: -1 };
10334
+ const qg = [null], Kg = { colIndex: -1, rowIndex: -1 };
10322
10335
  let Xg;
10323
10336
  const Yg = (t2, n2, r2, o2 = false) => {
10324
10337
  const s2 = r2 === e.Orientation.Row, i2 = t2.length, a2 = new Array(i2);
@@ -10370,7 +10383,7 @@ const Yg = (t2, n2, r2, o2 = false) => {
10370
10383
  return Xg || (Xg = new Qm().getNormal(), Xg);
10371
10384
  }
10372
10385
  toString() {
10373
- return `${this._coords ? qc(this._coords) : Pc} => ${this._v ?? "{blank}"}`;
10386
+ return `${this._coords ? Kc(this._coords) : Pc} => ${this._v ?? "{blank}"}`;
10374
10387
  }
10375
10388
  }(), am = () => lm, lm = { forEach: () => {
10376
10389
  }, [Symbol.iterator]: om, entries: om, values: om, select: Nh, find: Nh, calculate: Nh, getCell: () => im, getValue: rm, setValue: Nh, setFormula: Nh, setValues: Nh, updateCells: Nh, getCells: () => [[im]], getStyle: Nh, getValues: () => [[null]], toText: () => "", getBounds: rm, getIntersect: am, getUnion: am, getDifferences: Nh, getResizeBy: am, getResizeTo: am, getOffsetBy: am, getOffsetTo: am, getFixed: am, getUsedRange: am, getEntireRows: am, getEntireColumns: am, getSurrounding: Nh, getExtended: Nh, isEntireRows: em, isEntireColumns: em, isEntireRange: em, getWidth: sm, getHeight: sm, size: 0, sort: Nh, clear: Nh, setHyperlink: Nh, setComments: Nh, merge: Nh, unmerge: Nh, getMerges: Nh, insert: Nh, insertFrom: Nh, delete: Nh, getDefaultShiftOrientation: Nh, getDefaultSortCriteria: Nh, autoFill: Nh, autoFit: Nh, getSnapshot: Nh, copyFrom: Nh, doBatch: Nh, startIncrementalUpdates: Nh, getRowHeaders: Nh, getColumnHeaders: Nh, getCounts: Nh, getCount: sm, isContentful: em, addListener: Nh, getColumnStart: sm, getRowStart: sm, getColumnEnd: sm, getRowEnd: sm, getRowCount: sm, getColumnCount: sm, getVisible: Nh, getCoords: rm, isEmpty: nm, toString: () => Pc, getA1: () => Pc, isInvalid: nm, getSheet: rm, isReadOnly: nm, isICellRange: true };
@@ -10516,7 +10529,7 @@ const hm = /^[\\+-]?[0-9]*\.?[0-9]*$/, dm = (t2, e2, r2) => {
10516
10529
  }, fm = (t2, n2, r2, o2) => {
10517
10530
  const s2 = o2?.asJSDate;
10518
10531
  let i2;
10519
- r2 ? i2 = Hh : (s2 || o2?.includeMergeOverflow) && (i2 = {}, s2 && (i2[Ph.Type.Style] = false, i2[Ph.Type.Table] = false), o2.includeMergeOverflow && (i2[Ph.Type.Merge] = false));
10532
+ r2 ? i2 = Wh : (s2 || o2?.includeMergeOverflow) && (i2 = {}, s2 && (i2[Ph.Type.Style] = false, i2[Ph.Type.Table] = false), o2.includeMergeOverflow && (i2[Ph.Type.Merge] = false));
10520
10533
  const a2 = o2?.orientation ?? e.Orientation.Row, l2 = o2?.maxSize ?? 1e4, c2 = t2({ includeEmpty: true, orientation: a2, reverse: o2?.reverse, ignoreHidden: o2?.ignoreHidden, includeMergeOverflow: o2?.includeMergeOverflow, includeRangeTypes: i2, bounds: n2, ignoreCellDetails: !s2 }), h2 = a2 !== e.Orientation.Row, d2 = [];
10521
10534
  let u2, g2 = -1, m2 = null, f2 = 0;
10522
10535
  for (u2 = c2.next(); !u2.done; ) {
@@ -10941,7 +10954,7 @@ class Dm extends xm {
10941
10954
  return n2.length > 0 && (t2.fields = n2), e2.sort, 0 === Object.keys(t2).length ? null : t2;
10942
10955
  }
10943
10956
  }
10944
- const Lm = "A table must have a least one row for the data.", Bm = "Table1", zm = Object.freeze({ showRowStripes: true, showColumnStripes: false, showFirstColumn: false, showLastColumn: false }), Pm = (t2, e2, n2) => {
10957
+ const Bm = "A table must have a least one row for the data.", Lm = "Table1", zm = Object.freeze({ showRowStripes: true, showColumnStripes: false, showFirstColumn: false, showLastColumn: false }), Pm = (t2, e2, n2) => {
10945
10958
  if (t2.length !== e2.length) return console.warn("make columns the same length"), false;
10946
10959
  const r2 = /* @__PURE__ */ new Set();
10947
10960
  for (let t3 = 0; t3 < e2.length; t3++) {
@@ -10976,7 +10989,7 @@ const Lm = "A table must have a least one row for the data.", Bm = "Table1", zm
10976
10989
  }
10977
10990
  return a2 > 0;
10978
10991
  };
10979
- class Wm {
10992
+ class Hm {
10980
10993
  constructor(t2, e2, n2, r2) {
10981
10994
  this._name = t2, this._filter = e2, this._sort = n2, this._offset = r2;
10982
10995
  }
@@ -11005,7 +11018,7 @@ class Wm {
11005
11018
  return this._filter?.getFieldAt(this._offset)?.hiddenButton ?? false;
11006
11019
  }
11007
11020
  }
11008
- class Hm extends ca {
11021
+ class Wm extends ca {
11009
11022
  constructor(t2, e2, n2, r2) {
11010
11023
  super({ ...r2, type: "namedTable" }), this._names = t2, this._sheet = e2, this._table = n2;
11011
11024
  const o2 = this;
@@ -11315,7 +11328,7 @@ class Vm extends xm {
11315
11328
  if (!e2) return null;
11316
11329
  const n2 = this.getSort();
11317
11330
  let r2 = null;
11318
- return r2 = this._getState()?.columns[t2], null === r2 ? null : new Wm(r2.name, e2, n2, t2);
11331
+ return r2 = this._getState()?.columns[t2], null === r2 ? null : new Hm(r2.name, e2, n2, t2);
11319
11332
  }
11320
11333
  getVisibleRefRangeCoords() {
11321
11334
  return this._visibleRange ? this._visibleRange : this.getAnchorCoords();
@@ -11397,7 +11410,7 @@ class Vm extends xm {
11397
11410
  _processContainerShift(t2) {
11398
11411
  if (t2.isSplit) throw new Error("We can not partially insert or remove cells as this would split a table.");
11399
11412
  const n2 = this._getState();
11400
- if (t2.after && t2.after.rowStart + n2.headerRowCount >= t2.after.rowEnd + 1) throw new Error(Lm);
11413
+ if (t2.after && t2.after.rowStart + n2.headerRowCount >= t2.after.rowEnd + 1) throw new Error(Bm);
11401
11414
  const r2 = t2.orientation === e.Orientation.Column;
11402
11415
  if (t2.amount < 0 && t2.after && !r2) {
11403
11416
  const e2 = this._getHeaderCoords();
@@ -11453,7 +11466,7 @@ class Vm extends xm {
11453
11466
  const t3 = [...r2.columns];
11454
11467
  l2.colEnd > o2.colEnd ? t3.splice(o2.colEnd + 1, 0, ...Array(l2.colEnd - o2.colEnd).fill(null)) : l2.colEnd < o2.colEnd && (a3 = t3.splice(l2.colEnd - 1, o2.colEnd - l2.colEnd)), l2.colStart < o2.colStart ? t3.splice(0, 0, ...Array(o2.colStart - l2.colStart).fill(null)) : l2.colStart > o2.colStart && (a3 = a3.concat(t3.splice(0, l2.colStart - o2.colStart))), e2 = t3;
11455
11468
  }
11456
- if (this._options.setContainerCoords?.(l2), this._updateState({ anchor: l2, columns: e2 }, { description: n2 }), !this._getUsedCoords()) throw new Error(Lm);
11469
+ if (this._options.setContainerCoords?.(l2), this._updateState({ anchor: l2, columns: e2 }, { description: n2 }), !this._getUsedCoords()) throw new Error(Bm);
11457
11470
  if (i3 || s3) {
11458
11471
  const t3 = s3 ? { columns: e2, forceUpdate: true } : this._columnsFromSheet();
11459
11472
  t3 && (this._updateColumns(t3.columns, false, t3.forceUpdate, a3), this._processHeaderListener());
@@ -11505,16 +11518,16 @@ class Vm extends xm {
11505
11518
  }
11506
11519
  _createNamed() {
11507
11520
  const t2 = this._sheet?.getName();
11508
- return t2 && this._names ? new Hm(this._names, this._sheet, this, { transactions: this._getTransactions(), json: { name: this.getName() } }) : null;
11521
+ return t2 && this._names ? new Wm(this._names, this._sheet, this, { transactions: this._getTransactions(), json: { name: this.getName() } }) : null;
11509
11522
  }
11510
11523
  _fromJSON(t2) {
11511
11524
  const e2 = t2 ?? {}, n2 = { headerRowCount: 1, totalsRowCount: 0 };
11512
11525
  var r2;
11513
11526
  if (e2.name && (n2.name = e2.name), e2.ref && (e2.ref = (r2 = e2.ref) && "string" == typeof r2 ? oh(r2) : r2), this._names) {
11514
- const t3 = this._names.findValidName(n2.name ?? Bm);
11527
+ const t3 = this._names.findValidName(n2.name ?? Lm);
11515
11528
  n2.name !== t3 && (n2.name = t3);
11516
11529
  }
11517
- n2.name || (n2.name = Bm), e2.description && (n2.description = e2.description), void 0 !== e2.headerRowCount && (n2.headerRowCount = e2.headerRowCount), void 0 !== e2.totalsRowCount && (n2.totalsRowCount = e2.totalsRowCount), n2.columns = e2.columns ?? o.EmptyArray, n2.styleOptions = { ...zm, ...e2.styleOptions };
11530
+ n2.name || (n2.name = Lm), e2.description && (n2.description = e2.description), void 0 !== e2.headerRowCount && (n2.headerRowCount = e2.headerRowCount), void 0 !== e2.totalsRowCount && (n2.totalsRowCount = e2.totalsRowCount), n2.columns = e2.columns ?? o.EmptyArray, n2.styleOptions = { ...zm, ...e2.styleOptions };
11518
11531
  const s2 = "Insert Table";
11519
11532
  this._updateState(n2, { description: s2 });
11520
11533
  const i2 = this._columnsFromSheet();
@@ -11556,8 +11569,8 @@ class Um {
11556
11569
  }
11557
11570
  getPropertiesAt(t2, e2) {
11558
11571
  const n2 = this._table, r2 = this._styles, o2 = this._properties;
11559
- Km.rowIndex = t2, Km.colIndex = e2;
11560
- const s2 = n2.getVisibleCellCoords(Km), i2 = n2.getVisibleRefRangeCoords();
11572
+ qm.rowIndex = t2, qm.colIndex = e2;
11573
+ const s2 = n2.getVisibleCellCoords(qm), i2 = n2.getVisibleRefRangeCoords();
11561
11574
  if (!i2) return null;
11562
11575
  const a2 = Math.max(0, i2.colEnd - i2.colStart) + 1, l2 = Math.max(0, i2.rowEnd - i2.rowStart) + 1, c2 = Math.max(0, s2.rowIndex - i2.rowStart), h2 = Math.max(0, s2.colIndex - i2.colStart), d2 = { rowIndex: c2, colIndex: h2 }, u2 = n2.getStyleOptions();
11563
11576
  let g2 = {}, m2 = false, p2 = 0;
@@ -11576,23 +11589,29 @@ class Um {
11576
11589
  s3 || (n3 -= t3);
11577
11590
  let i3 = s3 ? o2.firstColumnStripe : o2.secondColumnStripe;
11578
11591
  if (i3) {
11579
- const d3 = { rowIndex: c2, colIndex: n3 }, u3 = { rowStart: p2, rowEnd: l2 - S2 - 1, colStart: 0, colEnd: Math.min(a2 - h2, s3 ? t3 : e3) };
11580
- s3 && 0 === n3 && h2 > 0 && i3.border?.left && o2.secondColumnStripe?.border.right && (i3 = { ...i3 }, i3.border = { ...i3.border }, delete i3.border.left), s3 && n3 === t3 - 1 && h2 < a2 - 1 && i3.border?.right && o2.secondColumnStripe?.border.left && (i3 = { ...i3 }, i3.border = { ...i3.border }, delete i3.border.right);
11581
- const m3 = i3.border ? Gm(i3, d3, u3) : i3;
11582
- g2 = f.resolveTypedUpdates(m3, Qu, r2, g2);
11592
+ let d3 = i3, u3 = i3.border;
11593
+ if (u3) {
11594
+ const r3 = { rowIndex: c2, colIndex: n3 }, i4 = { rowStart: p2, rowEnd: l2 - S2 - 1, colStart: 0, colEnd: Math.min(a2 - h2, s3 ? t3 : e3) };
11595
+ d3 = Gm(d3, r3, i4), s3 && 0 === n3 && h2 > 0 && u3?.left && o2.secondColumnStripe?.border.right && (u3 = { ...d3.border }, d3.border = u3, u3.left = null), s3 && n3 === t3 - 1 && h2 < a2 - 1 && u3?.right && o2.secondColumnStripe?.border.left && (u3 = { ...d3.border }, d3.border = u3, u3.right = null);
11596
+ }
11597
+ g2 = f.resolveTypedUpdates(d3, Qu, r2, g2);
11583
11598
  }
11584
11599
  }
11585
11600
  if (E2 && u2.showRowStripes) {
11586
- const t3 = p2, e3 = o2.firstRowStripe?.size ?? 1, n3 = o2.secondRowStripe?.size ?? 1;
11587
- let s3 = (c2 - t3) % (e3 + n3);
11588
- const i3 = s3 < e3;
11589
- i3 || (s3 -= e3);
11590
- let d3 = i3 ? o2.firstRowStripe : o2.secondRowStripe;
11591
- if (d3) {
11592
- const u3 = { colIndex: h2, rowIndex: s3 }, m3 = { colStart: 0, colEnd: a2 - 1, rowStart: 0, rowEnd: Math.min(l2 - c2, i3 ? e3 : n3) };
11593
- i3 && 0 === s3 && c2 > t3 && d3.border?.top && o2.secondRowStripe?.border.bottom && (d3 = { ...d3 }, d3.border = { ...d3.border }, delete d3.border.top), i3 && s3 === e3 - 1 && c2 < l2 - 1 && d3.border?.bottom && o2.secondRowStripe?.border.top && (d3 = { ...d3 }, d3.border = { ...d3.border }, delete d3.border.bottom);
11594
- const p3 = d3.border ? Gm(d3, u3, m3) : d3;
11595
- g2 = f.resolveTypedUpdates(p3, Qu, r2, g2);
11601
+ const t3 = p2, e3 = l2 - S2 - 1, n3 = o2.firstRowStripe?.size ?? 1, s3 = o2.secondRowStripe?.size ?? 1;
11602
+ let i3 = (c2 - t3) % (n3 + s3);
11603
+ const d3 = i3 < n3;
11604
+ d3 || (i3 -= n3);
11605
+ let u3 = d3 ? o2.firstRowStripe : o2.secondRowStripe;
11606
+ if (u3) {
11607
+ let m3 = u3, p3 = u3.border;
11608
+ if (p3) {
11609
+ const r3 = { colIndex: h2, rowIndex: i3 }, g3 = { colStart: 0, colEnd: a2 - 1, rowStart: 0, rowEnd: Math.min(l2 - c2, d3 ? n3 : s3) };
11610
+ m3 = Gm(m3, r3, g3), d3 && 0 === i3 && c2 >= t3 && u3.border?.top && o2.secondRowStripe?.border.bottom && (p3 = { ...m3.border }, m3.border = p3, p3.top = null);
11611
+ const f2 = u3.border?.bottom;
11612
+ (f2 && d3 && i3 === n3 - 1 && c2 < e3 && o2.secondRowStripe?.border.top || f2 && c2 === e3) && (p3 = { ...m3.border }, m3.border = p3, p3.bottom = null);
11613
+ }
11614
+ g2 = f.resolveTypedUpdates(m3, Qu, r2, g2);
11596
11615
  }
11597
11616
  }
11598
11617
  if (w2 && o2.lastColumn) {
@@ -11676,8 +11695,8 @@ class Jm {
11676
11695
  return true;
11677
11696
  }
11678
11697
  }
11679
- const Km = { rowIndex: 0, colIndex: 0 };
11680
- class qm extends Ag {
11698
+ const qm = { rowIndex: 0, colIndex: 0 };
11699
+ class Km extends Ag {
11681
11700
  constructor(t2, e2) {
11682
11701
  super(t2, c.EmptyRange, e2);
11683
11702
  }
@@ -11723,7 +11742,7 @@ class qm extends Ag {
11723
11742
  }
11724
11743
  class Xm {
11725
11744
  constructor(t2, e2, n2, r2 = null) {
11726
- this._name = e2.name, this._properties = e2, this._rangeStyle = new qm(t2, e2.style), this._doDelete = n2, this._builtInID = r2;
11745
+ this._name = e2.name, this._properties = e2, this._rangeStyle = new Km(t2, e2.style), this._doDelete = n2, this._builtInID = r2;
11727
11746
  }
11728
11747
  getRanged() {
11729
11748
  return this._rangeStyle;
@@ -11973,16 +11992,19 @@ class Qm {
11973
11992
  if (!t2 || 0 === t2.trim().length) throw new Error("Style name cannot be empty.");
11974
11993
  if (e2 && null !== this.getNamed(t2)) throw new Error("Style name is already taken.");
11975
11994
  }
11976
- normalize(t2) {
11995
+ normalize(t2, e2) {
11977
11996
  if (!t2) return null;
11978
- const e2 = f.resolveTypedUpdates(t2, Qu, this), n2 = ag;
11979
- let r2 = null;
11980
- if (r2 = e2.named ? this.getNamed(e2.named)?.getRanged().getPropertiesAt(0, 0, null) : this._normalRanged.getPropertiesAt(0, 0, null), r2) {
11981
- const t3 = { ...r2 };
11982
- o.removeEqualValues(e2, t3);
11997
+ const n2 = f.resolveTypedUpdates(t2, Qu, this);
11998
+ if (!n2) return null;
11999
+ const r2 = ag;
12000
+ let s2 = null;
12001
+ const i2 = e2 ?? n2.named ?? Mi.BuiltInName.Normal;
12002
+ if (s2 = i2 === Mi.BuiltInName.Normal ? this._normalRanged.getPropertiesAt(0, 0, null) : this.getNamed(i2)?.getRanged().getPropertiesAt(0, 0, null), s2) {
12003
+ const t3 = { ...s2 };
12004
+ o.removeEqualValues(n2, t3);
11983
12005
  }
11984
- const s2 = this.getTheme().getFontScheme();
11985
- return o.removeEqualValues(e2, { font: { size: this.getDefaultFontSize(), family: s2.getMinorFont(), fallbacks: s2.getMinorFallbacks() } }), o.removeEqualValues(e2, n2), e2;
12006
+ const a2 = this.getTheme().getFontScheme();
12007
+ return o.removeEqualValues(n2, { font: { size: this.getDefaultFontSize(), family: a2.getMinorFont(), fallbacks: a2.getMinorFallbacks() } }), o.removeEqualValues(n2, r2), n2;
11986
12008
  }
11987
12009
  schemeLookup() {
11988
12010
  return this._schemeLookup;
@@ -12644,7 +12666,7 @@ class Sf {
12644
12666
  const n3 = o3[t4];
12645
12667
  if (n3 === l3) continue;
12646
12668
  Jf[0] = { colStart: r3.ref.colStart, rowStart: l3, colEnd: r3.ref.colEnd, rowEnd: n3 - 1, value: r3 }, Jf[1] = { colStart: r3.ref.colStart, rowStart: n3, colEnd: r3.ref.colStart, rowEnd: r3.ref.rowEnd, value: r3 };
12647
- const s4 = qf(r3, Jf, e.Orientation.Row, n3);
12669
+ const s4 = Kf(r3, Jf, e.Orientation.Row, n3);
12648
12670
  let i4 = s4[0];
12649
12671
  _2(i4, a3), g2.push(i4), i4 = s4[1], _2(i4, a3), g2.push(i4), l3 = n3;
12650
12672
  }
@@ -12692,7 +12714,7 @@ class Sf {
12692
12714
  _formulaAt(t2, e2) {
12693
12715
  Uf.colStart = e2, Uf.rowStart = t2, Uf.colEnd = e2, Uf.rowEnd = t2;
12694
12716
  const n2 = this._formulaSpatial.search(Uf);
12695
- if (0 === n2.length) throw new Error(`No formula found at ${qc({ rowIndex: t2, colIndex: e2 })}`);
12717
+ if (0 === n2.length) throw new Error(`No formula found at ${Kc({ rowIndex: t2, colIndex: e2 })}`);
12696
12718
  return n2[0];
12697
12719
  }
12698
12720
  getDirectPrecedentsAt(t2, e2, n2) {
@@ -12947,7 +12969,7 @@ class Sf {
12947
12969
  if ((a2 > 0 || i2) && l2.getStatus() === lf.Status.Starting) return this._addToPending(() => {
12948
12970
  const e2 = this._setInputs(t2, n2, r2), s3 = { formulaInserts: e2.inserts ?? o.EmptyArray, formulaRemoves: e2.removes ?? o.EmptyArray, cycleId: this._cycleId, bounds: c.unionRanges(c.unionRangesArrays(e2.inserts), c.unionRangesArrays(e2.removes)) };
12949
12971
  return Promise.resolve(s3);
12950
- }), Kf;
12972
+ }), qf;
12951
12973
  const h2 = this._values.getOrientation() !== e.Orientation.Row, d2 = this._spillSpatial, u2 = this._errorSpatial, g2 = this._contentfulSpatial, m2 = [];
12952
12974
  let f2, p2, _2 = i2 ? [] : null, S2 = this._values;
12953
12975
  if (t2 && t2.tuples) {
@@ -12985,8 +13007,8 @@ class Sf {
12985
13007
  const b2 = this._getFormulaParser(), v2 = (t3, e2) => {
12986
13008
  const n3 = t3.rowStart, r3 = t3.colStart, o2 = { ...t3, value: null };
12987
13009
  if (s2.insertNonOverlapping(o2, { noMerge: true, onIntersect: (t4, e3) => null === t4.value ? null : (C2 || (C2 = []), C2.push(t4), e3) }), null !== e2) {
12988
- y2.sheetName = this._options.getSheetName?.(), y2.rowIndex = n3, y2.colIndex = r3;
12989
- const o3 = b2.parse(w2, e2), s3 = new Bh(t3, o3), i3 = { ...t3, value: s3 };
13010
+ y2.rowIndex = n3, y2.colIndex = r3, y2.sheetName = this._options.getSheetName?.();
13011
+ const o3 = b2.parse(w2, e2), s3 = new Lh(t3, o3), i3 = { ...t3, value: s3 };
12990
13012
  E2 || (E2 = []), E2.push(i3);
12991
13013
  }
12992
13014
  }, x2 = _2 ? _2.length : 0;
@@ -13016,7 +13038,7 @@ class Sf {
13016
13038
  }
13017
13039
  }
13018
13040
  }
13019
- (E2 || C2) && (s2._updateNodes(E2, o.EmptyArray), pf(this._cycleId, C2, E2, g2, d2, S2, m2, this._notifyValues, this._notifySpills, this._notifyPending, u2, h2, true), this._invalidate(m2));
13041
+ (E2 || C2) && (s2._updateNodes(E2, o.EmptyArray), pf(this._cycleId, C2, E2, g2, d2, S2, m2, this._notifyValues, this._notifySpills, this._notifyPending, u2, h2, true)), (i2 || E2 || C2) && this._invalidate(m2);
13020
13042
  return { inserts: this._notifyFormulaInsertEntries ?? o.EmptyArray, removes: this._notifyFormulaRemoveEntries ?? o.EmptyArray };
13021
13043
  }
13022
13044
  _invalidate(t2) {
@@ -13027,21 +13049,21 @@ class Sf {
13027
13049
  }
13028
13050
  _markAndPlan(t2, e2, n2) {
13029
13051
  let r2;
13030
- Df = 0, Wf = 0, Hf = 0, $f = 0;
13052
+ Df = 0, Hf = 0, Wf = 0, $f = 0;
13031
13053
  const s2 = this._precedentSpatial, i2 = this._formulaSpatial;
13032
- Bf = 0, zf = 0;
13054
+ Lf = 0, zf = 0;
13033
13055
  const a2 = this._cycleId, l2 = e2.length;
13034
13056
  for (let t3 = 0; t3 < l2; t3++) {
13035
13057
  const r3 = e2[t3];
13036
- r3.markId !== n2 && (r3.markId = n2, r3.cycleId = a2, r3.inDegree = 0, Of[Df++] = r3, Lf[zf++] = r3);
13058
+ r3.markId !== n2 && (r3.markId = n2, r3.cycleId = a2, r3.inDegree = 0, Of[Df++] = r3, Bf[zf++] = r3);
13037
13059
  }
13038
13060
  const c2 = (e3, n3, o2) => {
13039
13061
  (t2 || e3.state === Dh) && (r2 || (r2 = []), r2.push(n3), t2 || o2(e3));
13040
13062
  }, h2 = (t3) => {
13041
- t3.markId !== n2 && (t3.markId = n2, t3.cycleId = a2, t3.inDegree = 0, Of[Df++] = t3, Lf[zf++] = t3);
13063
+ t3.markId !== n2 && (t3.markId = n2, t3.cycleId = a2, t3.inDegree = 0, Of[Df++] = t3, Bf[zf++] = t3);
13042
13064
  };
13043
- for (; Bf < zf; ) {
13044
- const t3 = Lf[Bf++], e3 = t3.colIndex, n3 = t3.rowIndex;
13065
+ for (; Lf < zf; ) {
13066
+ const t3 = Bf[Lf++], e3 = t3.colIndex, n3 = t3.rowIndex;
13045
13067
  bf.colStart = e3, bf.rowStart = n3, bf.colEnd = e3, bf.rowEnd = n3;
13046
13068
  const r3 = s2.search(bf), i3 = r3.length;
13047
13069
  if (0 === i3) t3.dependents = o.EmptyArray;
@@ -13076,13 +13098,13 @@ class Sf {
13076
13098
  }
13077
13099
  }
13078
13100
  }
13079
- e3.inDegree = l3, 0 === e3.inDegree && (Pf[Hf++] = e3);
13101
+ e3.inDegree = l3, 0 === e3.inDegree && (Pf[Wf++] = e3);
13080
13102
  }
13081
13103
  const d2 = (t3) => {
13082
- t3.markId === n2 && (t3.inDegree--, 0 === t3.inDegree && (Pf[Hf++] = t3));
13104
+ t3.markId === n2 && (t3.inDegree--, 0 === t3.inDegree && (Pf[Wf++] = t3));
13083
13105
  };
13084
- for (; Wf < Hf; ) {
13085
- const t3 = Pf[Wf++];
13106
+ for (; Hf < Wf; ) {
13107
+ const t3 = Pf[Hf++];
13086
13108
  Vf[$f++] = t3;
13087
13109
  const e3 = t3.colIndex, n3 = t3.rowIndex;
13088
13110
  bf.colStart = e3, bf.rowStart = n3, bf.colEnd = e3, bf.rowEnd = n3;
@@ -13107,7 +13129,7 @@ class Sf {
13107
13129
  let E2;
13108
13130
  for (let e2 = 0; e2 < $f; e2++) {
13109
13131
  const C2 = Vf[e2];
13110
- if (C2.state === Lh && l2 === C2.cycleId) {
13132
+ if (C2.state === Bh && l2 === C2.cycleId) {
13111
13133
  C2.state = Dh;
13112
13134
  continue;
13113
13135
  }
@@ -13145,8 +13167,8 @@ class Sf {
13145
13167
  const F2 = b2.formula;
13146
13168
  let k2, O2;
13147
13169
  const D2 = C2.pending;
13148
- let L2 = D2;
13149
- if ((A2 || C2.pendingPromise) && (L2 = true, k2 = C2.cachedValue ?? null, C2.pendingPromise && (C2.pendingResolved ? (C2.pendingPromise = null, C2.pendingResolved = false, L2 = false) : (C2.pendingPromise.cancelled = true, k2 = void 0))), void 0 === k2 && (o2.formula = F2, o2.colIndex = v2, o2.rowIndex = x2, k2 = F2.evaluate(r2, void 0, C2.inputs), o2.formula = null, O2 = k2 && k2.then ? k2 : null, L2 = !!O2), L2 !== D2 && (C2.pending = L2, w2 || (w2 = Ol(S2)), w2.append(T2, N2, L2)), O2 && (k2 = C2.cachedValue ?? null, !O2.__originator)) {
13170
+ let B2 = D2;
13171
+ if ((A2 || C2.pendingPromise) && (B2 = true, k2 = C2.cachedValue ?? null, C2.pendingPromise && (C2.pendingResolved ? (C2.pendingPromise = null, C2.pendingResolved = false, B2 = false) : (C2.pendingPromise.cancelled = true, k2 = void 0))), void 0 === k2 && (o2.formula = F2, o2.colIndex = v2, o2.rowIndex = x2, k2 = F2.evaluate(r2, void 0, C2.inputs), o2.formula = null, O2 = k2 && k2.then ? k2 : null, B2 = !!O2), B2 !== D2 && (C2.pending = B2, w2 || (w2 = Ol(S2)), w2.append(T2, N2, B2)), O2 && (k2 = C2.cachedValue ?? null, !O2.__originator)) {
13150
13172
  O2.__originator = l2;
13151
13173
  const t3 = C2;
13152
13174
  kf.add(t3), t3.pendingPromise = O2, t3.pendingResolved = false, O2.then((e3) => {
@@ -13157,24 +13179,24 @@ class Sf {
13157
13179
  }, (t4) => {
13158
13180
  });
13159
13181
  }
13160
- let B2 = 1, z2 = 1;
13182
+ let L2 = 1, z2 = 1;
13161
13183
  const P2 = I2 instanceof pc;
13162
- let W2;
13163
- const H2 = I2 instanceof n.Spill;
13164
- if (P2 || H2) {
13184
+ let H2;
13185
+ const W2 = I2 instanceof n.Spill;
13186
+ if (P2 || W2) {
13165
13187
  Rf.colStart = v2, Rf.rowStart = x2, Rf.colEnd = v2, Rf.rowEnd = x2;
13166
13188
  const t3 = f2.search(Rf);
13167
- for (let e3 = 0; !W2 && e3 < t3.length; e3++) {
13189
+ for (let e3 = 0; !H2 && e3 < t3.length; e3++) {
13168
13190
  const n2 = t3[e3];
13169
- n2.colStart === v2 && n2.rowStart === x2 && (W2 = n2);
13191
+ n2.colStart === v2 && n2.rowStart === x2 && (H2 = n2);
13170
13192
  }
13171
- if (W2) {
13193
+ if (H2) {
13172
13194
  if (P2) {
13173
13195
  const t5 = I2;
13174
- B2 = t5.getWidth(), z2 = t5.getHeight();
13196
+ L2 = t5.getWidth(), z2 = t5.getHeight();
13175
13197
  }
13176
- const t4 = { colStart: v2, rowStart: x2, colEnd: v2 + B2 - 1, rowEnd: x2 + z2 - 1 };
13177
- f2.remove(W2), W2 && W2.value.getError() || (d2.insertNonOverlapping({ ...t4, value: null }), p2.delete(t4), u2.insertNonOverlapping(t4));
13198
+ const t4 = { colStart: v2, rowStart: x2, colEnd: v2 + L2 - 1, rowEnd: x2 + z2 - 1 };
13199
+ f2.remove(H2), H2 && H2.value.getError() || (d2.insertNonOverlapping({ ...t4, value: null }), p2.delete(t4), u2.insertNonOverlapping(t4));
13178
13200
  }
13179
13201
  }
13180
13202
  let V2 = 1, $2 = 1;
@@ -13200,9 +13222,9 @@ class Sf {
13200
13222
  }
13201
13223
  U2 = { ...t3, value: new Fh(t3, l2, J2) }, f2.insert(U2), E2 = _f(E2, C2, t3), u2.insertNonOverlapping(i3), h2.insertNonOverlapping(i3), d2.insertNonOverlapping({ ...i3, value: new kh(i3, _2) });
13202
13224
  }
13203
- (!c.isEqualRanges(W2, U2) || J2 || H2) && (W2 && g2.insert(W2), U2 && g2.insert(U2)), V2 === B2 && $2 === z2 || (C2.state = Lh, h2.insertNonOverlapping({ colStart: v2, rowStart: x2, colEnd: v2 + Math.max(V2, B2) - 1, rowEnd: x2 + Math.max($2, z2) - 1 }), a2 = false);
13204
- let K2 = k2 && k2.isFormulaError ? k2 : null;
13205
- F2.getError() && (K2 = F2.getError()), (K2 || R2 && !t2) && (K2 && !K2.equals(R2) || R2 && R2.equals(K2)), C2.cachedValue = k2, s2[i2++] = C2;
13225
+ (!c.isEqualRanges(H2, U2) || J2 || W2) && (H2 && g2.insert(H2), U2 && g2.insert(U2)), V2 === L2 && $2 === z2 || (C2.state = Bh, h2.insertNonOverlapping({ colStart: v2, rowStart: x2, colEnd: v2 + Math.max(V2, L2) - 1, rowEnd: x2 + Math.max($2, z2) - 1 }), a2 = false);
13226
+ let q2 = k2 && k2.isFormulaError ? k2 : null;
13227
+ F2.getError() && (q2 = F2.getError()), (q2 || R2 && !t2) && (q2 && !q2.equals(R2) || R2 && R2.equals(q2)), C2.cachedValue = k2, s2[i2++] = C2;
13206
13228
  }
13207
13229
  if (o2.node = null, o2.colIndex = Number.MAX_SAFE_INTEGER, o2.rowIndex = Number.MAX_SAFE_INTEGER, w2) {
13208
13230
  const t3 = w2.done(true);
@@ -13329,7 +13351,7 @@ class Sf {
13329
13351
  let p3 = m2.parse(u2, a3);
13330
13352
  const _2 = p3.getDirectPrecedentsAt(c2, f3, true, vf, xf), S2 = _2.length;
13331
13353
  1 === S2 && (p3 = p3.wrapImplicit(c2, f3, i2));
13332
- const w2 = { ...o3 }, y2 = new Bh(w2, p3);
13354
+ const w2 = { ...o3 }, y2 = new Lh(w2, p3);
13333
13355
  o3.value = y2, l2[t3] = o3;
13334
13356
  const E2 = o3.rowEnd, C2 = o3.colEnd - f3, b2 = E2 - c2, v2 = [];
13335
13357
  for (let t4 = 0; t4 < S2; t4++) {
@@ -13487,14 +13509,14 @@ const Af = (t2) => new wa(t2);
13487
13509
  let Mf = 0;
13488
13510
  const Tf = 1e4, Nf = new Array(Tf), Ff = new Array(Tf), kf = /* @__PURE__ */ new Set(), Of = new Array(Tf);
13489
13511
  let Df = 0;
13490
- const Lf = new Array(Tf);
13491
- let Bf = 0, zf = 0;
13512
+ const Bf = new Array(Tf);
13513
+ let Lf = 0, zf = 0;
13492
13514
  const Pf = new Array(Tf);
13493
- let Wf = 0, Hf = 0;
13515
+ let Hf = 0, Wf = 0;
13494
13516
  const Vf = new Array(Tf);
13495
13517
  let $f = 0;
13496
- const jf = new Array(Tf), Gf = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, Uf = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, Jf = [null, null], Kf = Object.freeze({ inserts: o.EmptyArray, removes: o.EmptyArray });
13497
- function qf(t2, e2, n2, r2) {
13518
+ const jf = new Array(Tf), Gf = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, Uf = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, Jf = [null, null], qf = Object.freeze({ inserts: o.EmptyArray, removes: o.EmptyArray });
13519
+ function Kf(t2, e2, n2, r2) {
13498
13520
  const o2 = t2;
13499
13521
  if (o2?.getSplit) {
13500
13522
  const t3 = o2.getSplit(e2, n2, r2);
@@ -13512,9 +13534,9 @@ class Yf {
13512
13534
  this._instanceScope = t2;
13513
13535
  }
13514
13536
  async _initialize() {
13515
- const t2 = await at._validate(true), e2 = Zf();
13537
+ const t2 = await dt._validate(true), e2 = Zf();
13516
13538
  this._calcScope = e2, this._runtime = new Qf(this._options, t2);
13517
- const { initializeBuiltIns: n2 } = await import("./BmfULQ9Tvl9Tj6g6.mjs"), r2 = this;
13539
+ const { initializeBuiltIns: n2 } = await import("./CSg2ysafDv5h1zz2.mjs"), r2 = this;
13518
13540
  return this._builtInFunctions = Object.freeze(n2(() => r2)), { builtInFunctions: this._builtInFunctions, calcScope: this._calcScope };
13519
13541
  }
13520
13542
  getBuiltInFunctions() {
@@ -13687,7 +13709,7 @@ class Qf {
13687
13709
  }
13688
13710
  getVersion() {
13689
13711
  try {
13690
- const t2 = "0.7.25";
13712
+ const t2 = "0.7.27";
13691
13713
  if (-1 === t2.indexOf(".env.")) return `${t2}`;
13692
13714
  } catch (t2) {
13693
13715
  return "local";
@@ -14237,7 +14259,7 @@ class vp extends la {
14237
14259
  this._context = r2;
14238
14260
  const o2 = await r2._initialize(), s2 = o2.builtInFunctions;
14239
14261
  this._functions = new bp({ transactions: this._transactions, context: r2, readonlyFunctions: s2 });
14240
- const i2 = await import("./64xhOVrPXMWmdSZV.mjs");
14262
+ const i2 = await import("./lUsLEOryW9viP9g7.mjs");
14241
14263
  this._formulaParser = new i2.FormulaParser(), this._scope = o2.calcScope, this._status = lf.Status.Ready, this._emitter.notify("onStatusChange"), this._emitter.notify("onReady");
14242
14264
  } catch (t2) {
14243
14265
  throw this._status = lf.Status.Off, this._emitter.notify("onError", t2), this._emitter.notify("onStatusChange"), t2;
@@ -14256,7 +14278,7 @@ class vp extends la {
14256
14278
  getStatus() {
14257
14279
  return this._status;
14258
14280
  }
14259
- async calculate(t2) {
14281
+ async ready(t2) {
14260
14282
  this._status === lf.Status.Starting && await this._statusTransition;
14261
14283
  const e2 = t2?.full ?? false ? this._getAllGraphs() : this._getCalcingGraphs();
14262
14284
  if (0 === e2.size) return xp;
@@ -14323,10 +14345,10 @@ class Dp {
14323
14345
  })(s2.textDecoration);
14324
14346
  r2.font.underline = a2.underline, r2.font.strike = a2.strike, s2.textUnderlineStyle && (r2.font.underline = pd(s2.textUnderlineStyle)), r2.alignment = {}, s2?.textAlign && (r2.alignment.horizontal = ((t3) => {
14325
14347
  const e3 = o.textToKey(t3);
14326
- return Lu.get(e3) || null;
14348
+ return Bu.get(e3) || null;
14327
14349
  })(s2.textAlign)), s2?.textAlign && !r2.alignment.horizontal && "general" !== s2?.textAlign && ("center-across" === s2.textAlign ? r2.alignment.horizontal = Ro.HorizontalAlignment.CenterContinuous : "fill" === s2.textAlign ? r2.alignment.horizontal = Ro.HorizontalAlignment.Fill : "121" === s2.textAlign || "010" === s2.textAlign ? (r2.alignment.horizontal = Ro.HorizontalAlignment.Distributed, r2.alignment.justifyLastLine = "121" === s2.textAlign) : console.warn("unknown text-align", s2.textAlign)), s2.verticalAlign && ("super" === s2.verticalAlign.toLowerCase() ? r2.font.verticalAlign = rs.VerticalAlignment.Super : "sup" === s2.verticalAlign.toLowerCase() ? r2.font.verticalAlign = rs.VerticalAlignment.Sub : r2.alignment.vertical = ((t3) => {
14328
14350
  const e3 = o.textToKey(t3);
14329
- return Bu.get(e3) || null;
14351
+ return Lu.get(e3) || null;
14330
14352
  })(s2.verticalAlign), r2.alignment.vertical || ("121" === s2.verticalAlign ? r2.alignment.vertical = Ro.VerticalAlignment.Distributed : console.warn("unknown vertical-align", s2.verticalAlign))), s2.msoCharIndentCount && (r2.alignment.indent = s2.msoCharIndentCount), s2.whiteSpace && (r2.alignment.overflow = "no-wrap" === s2.whiteSpace || "nowrap" === s2.whiteSpace ? Ro.Overflow.Visible : Ro.Overflow.Wrap), "shrinktofit" === s2.msoTextControl && (r2.alignment.overflow = Ro.Overflow.Shrink);
14331
14353
  let l2 = null;
14332
14354
  if (s2.background ? l2 = s2.background : s2.backgroundColor && (l2 = s2.backgroundColor), l2 && (r2.fill = { color: l2 }), s2.msoPattern) {
@@ -14403,8 +14425,8 @@ class Dp {
14403
14425
  return this._sheet;
14404
14426
  }
14405
14427
  }
14406
- let Lp = false;
14407
- class Bp {
14428
+ let Bp = false;
14429
+ class Lp {
14408
14430
  constructor(t2, e2) {
14409
14431
  this._mapStylesByName = /* @__PURE__ */ new Map(), this._arrStyleNames = [], this._mapStylesByName = t2, this._arrStyleNames = e2;
14410
14432
  }
@@ -14459,7 +14481,7 @@ const zp = (t2) => {
14459
14481
  }
14460
14482
  }
14461
14483
  return n2;
14462
- }, Wp = (t2, e2, n2) => {
14484
+ }, Hp = (t2, e2, n2) => {
14463
14485
  try {
14464
14486
  let r2 = null, o2 = null;
14465
14487
  const s2 = (t3) => ((t4, e3) => {
@@ -14609,7 +14631,7 @@ const zp = (t2) => {
14609
14631
  throw console.warn(t3), t3;
14610
14632
  }
14611
14633
  };
14612
- class Hp {
14634
+ class Wp {
14613
14635
  constructor(t2) {
14614
14636
  if (!t2) throw new u("snapshot is required.");
14615
14637
  this._snapshot = t2;
@@ -14693,7 +14715,7 @@ class Vp {
14693
14715
  });
14694
14716
  }))(e2) : [[]]);
14695
14717
  let s2;
14696
- if (Wp(n2, o2, r2) ? (t2 = r2.sheet(), s2 = t2.getUsedRange()) : n2 = null, s2) return this._parsed = { async copyTo(t3, e3) {
14718
+ if (Hp(n2, o2, r2) ? (t2 = r2.sheet(), s2 = t2.getUsedRange()) : n2 = null, s2) return this._parsed = { async copyTo(t3, e3) {
14697
14719
  const n3 = await t3.copyFrom(s2, e3);
14698
14720
  return n3?.getCoords() ?? null;
14699
14721
  }, getCoords: () => s2.getCoords(), getSource: () => t2, getName: () => t2.getName() }, true;
@@ -15070,7 +15092,7 @@ class Jp extends ca {
15070
15092
  return this._getDescription();
15071
15093
  }
15072
15094
  }
15073
- const Kp = "Item must be specified.", qp = "Name must be a non-empty string", Xp = (t2, e2 = null) => `Named item '${t2}' already exists${e2 ? `in scope ${e2}` : ""}.`, Yp = (t2) => {
15095
+ const qp = "Item must be specified.", Kp = "Name must be a non-empty string", Xp = (t2, e2 = null) => `Named item '${t2}' already exists${e2 ? `in scope ${e2}` : ""}.`, Yp = (t2) => {
15074
15096
  const e2 = [];
15075
15097
  for (let n2 = 0; n2 < t2.getCount(); n2++) {
15076
15098
  let r2 = null;
@@ -15196,14 +15218,14 @@ class t_ {
15196
15218
  }
15197
15219
  _validateName(t2, e2, n2 = false) {
15198
15220
  if (this._closed) throw new Error(sa);
15199
- if (!t2 || 0 === t2.length) throw new Error(qp);
15221
+ if (!t2 || 0 === t2.length) throw new Error(Kp);
15200
15222
  if (t2.length > 255) throw new Error("Name must not exceed 255 characters.");
15201
15223
  if (-1 !== t2.indexOf(" ")) throw new Error("Name must not contain any spaces.");
15202
15224
  const r2 = t2.trim().toLowerCase(), o2 = r2.substring(1, t2.length - 1);
15203
15225
  if (new RegExp(Qp).test(r2[0])) throw new Error("First letter must be either a letter, an underscore, or a backslash.");
15204
15226
  if (new RegExp(Zp).test(o2)) throw new Error("Name must be either letters, numbers, periods or underscores.");
15205
15227
  if (1 === r2.length && ("r" === r2[0] || "c" === r2[0])) throw new Error("Name can not be 'r' or 'c'.");
15206
- if (((t3, e3 = Hc, n3 = Wc, r3 = false) => {
15228
+ if (((t3, e3 = Wc, n3 = Hc, r3 = false) => {
15207
15229
  let o3 = fh(t3, r3);
15208
15230
  if (!o3) return false;
15209
15231
  if (o3[2]) return false;
@@ -15240,7 +15262,7 @@ class t_ {
15240
15262
  }
15241
15263
  add(t2) {
15242
15264
  if (this._closed) throw new Error(sa);
15243
- if (!t2) throw new Error(Kp);
15265
+ if (!t2) throw new Error(qp);
15244
15266
  if (!t2.getName || "string" == typeof t2) throw new Error("Add must take a 'INamed' object. To add a string use 'addReference'.");
15245
15267
  if (this._validateName(t2.getName(), t2.getScope(), false), this._options.isReadOnly?.()) throw new Error("Names are read-only.");
15246
15268
  const e2 = this._beginCommit(`Insert Named Item '${t2.getName()}'`), n2 = this._add([t2]);
@@ -15253,7 +15275,7 @@ class t_ {
15253
15275
  return e2.startsWith("_xlnm.") && (e2 = e2.substring(6)), t2.getScope() ? e2 + ":" + t2.getScope().toLowerCase() : e2;
15254
15276
  }
15255
15277
  _delete(t2, e2) {
15256
- if (!t2) throw new Error(Kp);
15278
+ if (!t2) throw new Error(qp);
15257
15279
  if (this._closed) throw new Error(sa);
15258
15280
  const n2 = this._beginCommit(e2?.description ?? `Delete Named Item '${t2.getName()}'`);
15259
15281
  let r2 = null;
@@ -15339,7 +15361,7 @@ class t_ {
15339
15361
  const n2 = this._cloneState(), r2 = t2.length;
15340
15362
  for (let e3 = 0; e3 < r2; e3++) {
15341
15363
  const r3 = t2[e3];
15342
- if (!r3.getName()) throw new Error(qp);
15364
+ if (!r3.getName()) throw new Error(Kp);
15343
15365
  const o2 = this._toKey(r3);
15344
15366
  try {
15345
15367
  this._index(o2, r3, n2);
@@ -15510,7 +15532,7 @@ class s_ {
15510
15532
  this._add = t2, this._get = e2, this._getByName = n2;
15511
15533
  }
15512
15534
  add(t2, e2) {
15513
- if (!t2) throw new Error(Lm);
15535
+ if (!t2) throw new Error(Bm);
15514
15536
  return this._add(t2, e2);
15515
15537
  }
15516
15538
  getItems(t2) {
@@ -16136,7 +16158,7 @@ const w_ = (t2, n2, r2) => {
16136
16158
  const [t3, n3] = ((t4, e3) => {
16137
16159
  const n4 = e3.getRowHeaders(), r3 = e3.getColumnHeaders(), s3 = e3.getUsedRange()?.getCoords(), i3 = n4.getUsedRange()?.getCoords(), a3 = r3.getUsedRange()?.getCoords(), l3 = { ...c.EmptyRange, ...s3, colEnd: Math.max(s3?.colEnd ?? 0, a3?.max ?? 0), rowEnd: Math.max(s3?.rowEnd ?? 0, i3?.max ?? 0) }, h3 = /* @__PURE__ */ new Map(), d3 = [];
16138
16160
  t4.onStart?.();
16139
- const u2 = { rows: [], cols: [] }, g2 = new Bp(h3, d3);
16161
+ const u2 = { rows: [], cols: [] }, g2 = new Lp(h3, d3);
16140
16162
  g2.setNode(u2), t4.onTable?.(g2, l3);
16141
16163
  let m2 = 0;
16142
16164
  r3.forEachSpan((e4, n5) => {
@@ -16151,7 +16173,7 @@ const w_ = (t2, n2, r2) => {
16151
16173
  const n5 = e4.getCoords();
16152
16174
  f2 = f2 + n5.max - n5.min + 1, p2.push({ min: n5.min, max: n5.max, value: e4.getCellHeader() });
16153
16175
  }, { address: l3, includeEmpty: true, includeStyles: true, ignoreHidden: false }), m2 * f2 > 5e4) {
16154
- if (!Lp) throw Lp = true, new E("Unable to write more than 50000 cells to system clipboard. Items can still be pasted within the application to but if you want to copy to another application select a smaller set of data.");
16176
+ if (!Bp) throw Bp = true, new E("Unable to write more than 50000 cells to system clipboard. Items can still be pasted within the application to but if you want to copy to another application select a smaller set of data.");
16155
16177
  return [null, null];
16156
16178
  }
16157
16179
  let _2 = 0, S2 = -1, w2 = null;
@@ -16375,7 +16397,7 @@ class D_ {
16375
16397
  forEachVisibleSpan(t2, e2) {
16376
16398
  const n2 = this._coords, r2 = n2?.min ?? null, o2 = n2?.max ?? null;
16377
16399
  let s2;
16378
- if (s2 = e2?.includeHidden ? t2(r2, o2) : Hs(this._header._indexedHidden, (e3) => {
16400
+ if (s2 = e2?.includeHidden ? t2(r2, o2) : Ws(this._header._indexedHidden, (e3) => {
16379
16401
  if (e3.value) return;
16380
16402
  const n3 = t2(e3.min, e3.max);
16381
16403
  return n3 && n3.break ? n3 : void 0;
@@ -16456,7 +16478,7 @@ class D_ {
16456
16478
  return true;
16457
16479
  }
16458
16480
  }
16459
- class L_ {
16481
+ class B_ {
16460
16482
  constructor(t2, e2) {
16461
16483
  this._header = t2, this._coords = e2;
16462
16484
  }
@@ -16557,7 +16579,7 @@ class L_ {
16557
16579
  return true;
16558
16580
  }
16559
16581
  }
16560
- class B_ {
16582
+ class L_ {
16561
16583
  constructor(t2) {
16562
16584
  if (this._emitter = null, this._closed = false, this._scaleFactor = 1, this._defaultSize = -1, this._defaultCustomSize = -1, this._defaultPxSize = 1, this._isColumn = true, this._indexedSizes = [], this._indexedHidden = [], this._headerRunCoords = null, this._hasCustomFormats = false, this._hasStyles = false, this._hasHidden = false, this._lastHeaderRead = null, this._readCache = null, this._lastVisibleRunsRead = null, this._lastVisibleRunCoords = null, this._options = { isProtected: () => false, getUpdateId: () => null, scaleFactor: () => 1, defaultSize: () => 100, minSize: () => 0, maxSize: () => 500, maxSheetCoords: () => null, orientation: e.Orientation.Column, createCellHeader: (t3, e2, n3) => new T_(t3, e2, n3), ...t2 }, !this._options.sheet) throw new Error("An ISheet must be provided");
16563
16585
  if (this._emptyHeader = this._options.createCellHeader(this, null, null), this._scaleFactor = this._options.scaleFactor(), this._defaultSize = this._options.defaultSize(), this._defaultSize <= 0) throw new Error("defaultSize must be greater than 0");
@@ -16638,7 +16660,7 @@ class B_ {
16638
16660
  }, getA1(t3) {
16639
16661
  if (!_2) throw new Error(ed);
16640
16662
  return this._parseHeaderRangeAddress({ min: i2 + t3, end: i2 + t3 }) ?? _2;
16641
- } }, w2 = Hs(e2, (e3) => {
16663
+ } }, w2 = Ws(e2, (e3) => {
16642
16664
  const n3 = e3.value;
16643
16665
  if (!l2 && !n3) return;
16644
16666
  let r3 = l2;
@@ -16674,7 +16696,7 @@ class B_ {
16674
16696
  for (let s2 = 0; s2 < r2; s2++) o2[s2] = v_(t3[s2], e3, n3);
16675
16697
  return o2;
16676
16698
  })(t2, this._isColumn, this._maxRangeCoords);
16677
- return new L_(this, n2);
16699
+ return new B_(this, n2);
16678
16700
  }
16679
16701
  getSelectedRange(t2) {
16680
16702
  const e2 = this._options.sheet.getSelection().getRangesCoords()[0];
@@ -16692,7 +16714,7 @@ class B_ {
16692
16714
  at(t2) {
16693
16715
  if (t2 < 0 || t2 > this._maxDataIndex) return this._emptyHeader;
16694
16716
  if (this._lastHeaderRead?.offset === t2) return this._lastHeaderRead.header;
16695
- const e2 = Ws(t2, this._readCache);
16717
+ const e2 = Hs(t2, this._readCache);
16696
16718
  if (!e2) return this._emptyHeader;
16697
16719
  const n2 = this._options.getTextAt?.(t2) ?? t2 + "", r2 = this._options.createCellHeader(this, e2, { value: n2 });
16698
16720
  return this._lastHeaderRead = { offset: t2, header: r2 }, r2;
@@ -17047,7 +17069,7 @@ const P_ = (t2) => {
17047
17069
  }
17048
17070
  }
17049
17071
  return e2;
17050
- }, W_ = (t2, e2 = 0, n2 = 0) => {
17072
+ }, H_ = (t2, e2 = 0, n2 = 0) => {
17051
17073
  let r2 = "";
17052
17074
  const o2 = bh, s2 = t2.length;
17053
17075
  for (let i2 = 0; i2 < s2; i2++) {
@@ -17060,12 +17082,12 @@ const P_ = (t2) => {
17060
17082
  }
17061
17083
  return r2;
17062
17084
  };
17063
- class H_ {
17085
+ class W_ {
17064
17086
  constructor(t2, e2, n2) {
17065
17087
  this._c = t2, this._tokens = e2, this._references = n2 || o.EmptyArray;
17066
17088
  }
17067
17089
  getFormulaTextAt(t2, e2, n2 = false) {
17068
- return n2 ? P_(this._tokens) : W_(this._tokens, t2, e2);
17090
+ return n2 ? P_(this._tokens) : H_(this._tokens, t2, e2);
17069
17091
  }
17070
17092
  getTokensAt(t2, e2, n2) {
17071
17093
  let r2 = this._tokens;
@@ -17324,7 +17346,7 @@ class J_ {
17324
17346
  const n2 = this._state.selection;
17325
17347
  if (n2) {
17326
17348
  let e3 = {};
17327
- !n2.cell || 0 === n2.cell.colIndex && 0 === n2.cell.rowIndex || (e3.cell = qc(n2.cell)), n2.ranges && n2.ranges.length > 0 && (e3.ranges = ih(n2.ranges), void 0 !== n2.rangeIndex && -1 !== n2.rangeIndex && 0 !== n2.rangeIndex && (e3.rangeIndex = n2.rangeIndex)), Object.keys(e3).length > 0 && (t2.selection = e3);
17349
+ !n2.cell || 0 === n2.cell.colIndex && 0 === n2.cell.rowIndex || (e3.cell = Kc(n2.cell)), n2.ranges && n2.ranges.length > 0 && (e3.ranges = ih(n2.ranges), void 0 !== n2.rangeIndex && -1 !== n2.rangeIndex && 0 !== n2.rangeIndex && (e3.rangeIndex = n2.rangeIndex)), Object.keys(e3).length > 0 && (t2.selection = e3);
17328
17350
  }
17329
17351
  if (delete t2.freezePanes, this._state.freezePanes && (0 !== this._state.freezePanes.coords.colIndex || 0 !== this._state.freezePanes.coords.rowIndex)) {
17330
17352
  const e3 = {};
@@ -17377,11 +17399,11 @@ class J_ {
17377
17399
  return true;
17378
17400
  }
17379
17401
  }
17380
- async function K_() {
17381
- const { getCrypto: t2 } = await import("./COwR3Fxheu0DPRLP.mjs");
17402
+ async function q_() {
17403
+ const { getCrypto: t2 } = await import("./B94PecmbGgqY0k9O.mjs");
17382
17404
  return t2();
17383
17405
  }
17384
- const q_ = async (t2, e2, ...n2) => {
17406
+ const K_ = async (t2, e2, ...n2) => {
17385
17407
  const r2 = X_(...n2);
17386
17408
  return t2.subtle.digest(e2, r2);
17387
17409
  }, X_ = (...t2) => {
@@ -17405,7 +17427,7 @@ class Q_ {
17405
17427
  }
17406
17428
  static async generateSaltAndHash(t2, e2 = Q_.DefaultAlgo, n2 = Q_.DefaultSpinCount) {
17407
17429
  if (!t2) return null;
17408
- const r2 = (await K_()).getRandomValues(new Uint8Array(16)), o2 = Y_(r2.buffer);
17430
+ const r2 = (await q_()).getRandomValues(new Uint8Array(16)), o2 = Y_(r2.buffer);
17409
17431
  return { salt: o2, hash: await Q_._convertPasswordToHash(t2, o2, e2, n2) };
17410
17432
  }
17411
17433
  static async verifyPassword(t2, e2, n2 = Q_.DefaultAlgo, r2 = Q_.DefaultSpinCount) {
@@ -17418,7 +17440,7 @@ class Q_ {
17418
17440
  })(await Q_._convertPasswordToHash(t2, e2.salt, n2, r2), e2.hash);
17419
17441
  }
17420
17442
  static async _convertPasswordToHash(t2, e2, n2, r2) {
17421
- const o2 = await K_();
17443
+ const o2 = await q_();
17422
17444
  n2 = n2.toUpperCase();
17423
17445
  const s2 = ((t3) => {
17424
17446
  const e3 = new ArrayBuffer(2 * t3.length), n3 = new DataView(e3);
@@ -17429,10 +17451,10 @@ class Q_ {
17429
17451
  for (let t4 = 0; t4 < e3.length; t4++) n3[t4] = e3.charCodeAt(t4);
17430
17452
  return n3.buffer;
17431
17453
  })(e2);
17432
- let a2 = await q_(o2, n2, i2, s2.buffer);
17454
+ let a2 = await K_(o2, n2, i2, s2.buffer);
17433
17455
  for (let t3 = 0; t3 < r2; t3++) {
17434
17456
  const e3 = new Uint32Array([t3]).buffer;
17435
- a2 = await q_(o2, n2, a2, e3);
17457
+ a2 = await K_(o2, n2, a2, e3);
17436
17458
  }
17437
17459
  return Y_(a2);
17438
17460
  }
@@ -18222,7 +18244,7 @@ class dS {
18222
18244
  constructor(t2) {
18223
18245
  this._lastTransactionUUID = null, this._emitter = null, this._initializing = true, this._emitterMovables = null, this._rangesListenerSorted = null, this._lastCellDecoded = { address: null, coords: null }, this._lastCellSelected = { coords: null, cell: null }, this._lastCellRead = { coords: null, cell: null }, this._lastValueRead = { range: null, isDateOrTime: null }, this._lastGetRangeRead = {}, this._lastUsedCoordsRead = { coords: null, range: null }, this._lastActiveRead = { selection: null, range: null, ranges: null }, this._lastRangeRead = { address: null, range: null, ranges: null }, this._isDataColumn = true, this._isDate1904 = false, this._colHeaders = null, this._colHeadersShiftCallback = null, this._colHeadersListener = null, this._colHeadersRemoveListener = null, this._rowHeaders = null, this._rowHeadersShiftCallback = null, this._rowHeadersListener = null, this._rowHeadersRemoveListener = null, this._closed = false;
18224
18246
  const e2 = Object.freeze({ ...t2 });
18225
- at._validate(true), this._transactions = e2.transactions ?? new O(), this._ownTransactions = !e2.transactions;
18247
+ dt._validate(true), this._transactions = e2.transactions ?? new O(), this._ownTransactions = !e2.transactions;
18226
18248
  const n2 = this._beginCommit({ description: "New Sheet" }), r2 = this;
18227
18249
  try {
18228
18250
  this._entireCoords = Object.freeze({ colStart: 0, rowStart: 0, colEnd: (e2.maxColumns ?? oS.width) - 1, rowEnd: (e2.maxRows ?? oS.height) - 1 }), this._strings = e2.strings ?? new sf(), this._ownStrings = !e2.strings;
@@ -18450,7 +18472,7 @@ class dS {
18450
18472
  if (!n2 || !t2 || !t2.includeRangeTypes) return _a;
18451
18473
  const r2 = t2?.bounds ?? this._getUsedCoords() ?? this._entireCoords;
18452
18474
  let s2 = null;
18453
- true === t2.includeRangeTypes ? s2 = Wh : o.isObject(t2.includeRangeTypes) && (s2 = t2.includeRangeTypes);
18475
+ true === t2.includeRangeTypes ? s2 = Hh : o.isObject(t2.includeRangeTypes) && (s2 = t2.includeRangeTypes);
18454
18476
  const i2 = t2?.ignoreHidden, a2 = true === i2 || i2 === e.Orientation.Row, l2 = true === i2 || i2 === e.Orientation.Column, c2 = t2?.includeMergeOverflow ?? false, h2 = [], d2 = this, u2 = { includeHidden: !l2 }, g2 = { min: r2.colStart, max: r2.colEnd }, m2 = { includeHidden: !a2 }, f2 = { min: r2.rowStart, max: r2.rowEnd };
18455
18477
  this._rowHeaders.getRange(f2).forEachVisibleSpan((t3, e2) => {
18456
18478
  this._colHeaders.getRange(g2).forEachVisibleSpan((r3, o2) => {
@@ -18515,7 +18537,7 @@ class dS {
18515
18537
  vS.colStart = o3, vS.rowStart = r3, vS.colEnd = o3, vS.rowEnd = r3;
18516
18538
  const e3 = Vg(0, vS, n3.intersection, _2);
18517
18539
  n3.style = e3;
18518
- const a3 = Wg(r3, o3, t.String, e3, s3, null, null, i3?.getCoords(), _2);
18540
+ const a3 = Hg(r3, o3, t.String, e3, s3, null, null, i3?.getCoords(), _2);
18519
18541
  if (a3) {
18520
18542
  const t2 = a3.leftIndex, e4 = a3.rightIndex;
18521
18543
  n3.leftIndex = t2, n3.rightIndex = e4, (e4 > 0 && o3 < l2 || t2 > 0 && o3 > h2) && (n3.overflow = a3);
@@ -18542,7 +18564,7 @@ class dS {
18542
18564
  }
18543
18565
  const u2 = a2 || !t2?.ignoreEmptyIntersections;
18544
18566
  let g2 = t2.includeRangeTypes;
18545
- true === g2 && (g2 = Hh);
18567
+ true === g2 && (g2 = Wh);
18546
18568
  const m2 = t2?.includeMergeOverflow ?? false, f2 = g2 ? this._rangeStateIterator({ bounds: o2, orientation: s2, reverse: i2, includeRangeTypes: g2, includeMergeOverflow: m2, ignoreHidden: t2.ignoreHidden, byCell: true }) : _a;
18547
18569
  let p2, _2;
18548
18570
  if (m2 && r2) {
@@ -18734,19 +18756,19 @@ class dS {
18734
18756
  } while (F2);
18735
18757
  return F2;
18736
18758
  };
18737
- const O2 = c2.getState(this), D2 = O2.cellValuesGrid.clone(), L2 = O2.calcGraph.clone(), B2 = O2.formulaSpatial.clone(), z2 = O2.spillSpatial.clone(), P2 = O2.pendingSpatial.clone(), W2 = O2.calcErrorsSpatial.clone(), H2 = O2.contentfulSpatial.clone(), V2 = Ol(u2), $2 = Ol(u2, (t3, e2) => {
18759
+ const O2 = c2.getState(this), D2 = O2.cellValuesGrid.clone(), B2 = O2.calcGraph.clone(), L2 = O2.formulaSpatial.clone(), z2 = O2.spillSpatial.clone(), P2 = O2.pendingSpatial.clone(), H2 = O2.calcErrorsSpatial.clone(), W2 = O2.contentfulSpatial.clone(), V2 = Ol(u2), $2 = Ol(u2, (t3, e2) => {
18738
18760
  if (t3 === e2) return e2;
18739
18761
  }), j2 = Ol(u2, (t3, e2) => {
18740
18762
  if (t3 === e2) return e2;
18741
18763
  }), G2 = Ol(u2, (t3, e2) => {
18742
18764
  if (t3 === e2) return e2;
18743
18765
  }), U2 = [];
18744
- let J2 = null, K2 = null;
18766
+ let J2 = null, q2 = null;
18745
18767
  if (false !== n2?.textParser) {
18746
18768
  const t3 = n2 && true !== n2.textParser ? n2.textParser : {};
18747
- K2 = { ignoreQuotePrefix: false, date1904: this._isDate1904, dateNF: false, parse: null, ...t3 }, J2 = new Sm(p2, null, this._cellOptions);
18769
+ q2 = { ignoreQuotePrefix: false, date1904: this._isDate1904, dateNF: false, parse: null, ...t3 }, J2 = new Sm(p2, null, this._cellOptions);
18748
18770
  }
18749
- const q2 = [], X2 = this._cellOptions, Y2 = /* @__PURE__ */ new Map(), Q2 = Em, Z2 = (t3, e2, n3) => {
18771
+ const K2 = [], X2 = this._cellOptions, Y2 = /* @__PURE__ */ new Map(), Q2 = Em, Z2 = (t3, e2, n3) => {
18750
18772
  const r3 = k2?.(e2, n3);
18751
18773
  if (r3?.merge) {
18752
18774
  const t4 = r3.merge.getCoords(), o4 = u2 ? t4.colStart : t4.rowStart, s3 = u2 ? t4.rowStart : t4.colStart;
@@ -18759,12 +18781,12 @@ class dS {
18759
18781
  U2.push({ colStart: u2 ? e2 : n3, rowStart: u2 ? n3 : e2, colEnd: (u2 ? e2 : n3) + t4.width - 1, rowEnd: (u2 ? n3 : e2) + t4.height - 1 });
18760
18782
  }
18761
18783
  }
18762
- let o3 = Dg(t3, X2, K2, Y2);
18784
+ let o3 = Dg(t3, X2, q2, Y2);
18763
18785
  if (void 0 === o3) return;
18764
18786
  const a3 = o3.value;
18765
18787
  if (o3.stringToParse) {
18766
18788
  wS[0].colIndex = u2 ? e2 : n3, wS[0].rowIndex = u2 ? n3 : e2, wS[1] = a3, wS[2] = r3, J2.setState(wS);
18767
- const t4 = K2?.parse(o3.stringToParse, J2.context), s3 = Dg(t4, X2, K2, Y2, true);
18789
+ const t4 = q2?.parse(o3.stringToParse, J2.context), s3 = Dg(t4, X2, q2, Y2, true);
18768
18790
  if (J2.clear(), null === s3) return s3;
18769
18791
  void 0 !== s3 && (o3 = { ...s3 });
18770
18792
  }
@@ -18812,28 +18834,28 @@ class dS {
18812
18834
  o4.push([l3, t6]), h3 = null;
18813
18835
  }
18814
18836
  }
18815
- o4.length > 0 && q2.push([n3, o4]);
18837
+ o4.length > 0 && K2.push([n3, o4]);
18816
18838
  }
18817
18839
  const r3 = V2.done(), o3 = r3.length;
18818
18840
  for (let t4 = 0; t4 < o3; t4++) {
18819
18841
  const e2 = r3[t4];
18820
- D2.delete(r3[t4]), H2.insertNonOverlapping({ ...e2, value: null });
18821
- const n3 = L2.delete(e2);
18822
- this._updateFormulaSpatial(B2, null, n3);
18842
+ D2.delete(r3[t4]), W2.insertNonOverlapping({ ...e2, value: null });
18843
+ const n3 = B2.delete(e2);
18844
+ this._updateFormulaSpatial(L2, null, n3);
18823
18845
  }
18824
18846
  let i3;
18825
- q2.length > 0 && (D2.setValues(q2), i3 = { tuples: q2, bounds: l2 });
18847
+ K2.length > 0 && (D2.setValues(K2), i3 = { tuples: K2, bounds: l2 });
18826
18848
  let g3, m3 = G2.done();
18827
18849
  if (m3.length > 1 && (m3 = ul(m3, e.Orientation.Column, 1)), i3 || m3.length > 0) {
18828
- const t4 = L2.setInputs(i3, m3);
18829
- g3 = this._updateFormulaSpatial(B2, t4.inserts, t4.removes, O2.directStyleSpatial);
18850
+ const t4 = B2.setInputs(i3, m3);
18851
+ g3 = this._updateFormulaSpatial(L2, t4.inserts, t4.removes, O2.directStyleSpatial);
18830
18852
  }
18831
- const f3 = Cm(q2, u2), C2 = f3.length;
18832
- for (let t4 = 0; t4 < C2; t4++) H2.insertNonOverlapping(f3[t4]);
18853
+ const f3 = Cm(K2, u2), C2 = f3.length;
18854
+ for (let t4 = 0; t4 < C2; t4++) W2.insertNonOverlapping(f3[t4]);
18833
18855
  const b3 = $2.done();
18834
18856
  b3.length > 0 && this._updateStyles(b3), U2.length > 0 && this._merge(U2);
18835
18857
  const v3 = j2.done();
18836
- if (v3.length > 0 && this._setHyperlinks(v3), this._updateState({ cellValuesGrid: D2, contentfulSpatial: H2, calcGraph: L2, formulaSpatial: B2, spillSpatial: z2, pendingSpatial: P2, calcErrorsSpatial: W2 }), g3 && g3.length > 0 && this._updateStyles(g3, void 0, {}, true), n2?.autoFit) {
18858
+ if (v3.length > 0 && this._setHyperlinks(v3), this._updateState({ cellValuesGrid: D2, contentfulSpatial: W2, calcGraph: B2, formulaSpatial: L2, spillSpatial: z2, pendingSpatial: P2, calcErrorsSpatial: H2 }), g3 && g3.length > 0 && this._updateStyles(g3, void 0, {}, true), n2?.autoFit) {
18837
18859
  const t4 = "boolean" == typeof n2.autoFit ? CS : n2.autoFit;
18838
18860
  this._autoFit([E2], t4);
18839
18861
  }
@@ -18907,7 +18929,7 @@ class dS {
18907
18929
  if (0 === w2.length) return;
18908
18930
  const N2 = /* @__PURE__ */ new Map(), F2 = /* @__PURE__ */ new Map(), k2 = n2?.collators ?? da.DefaultCollators, O2 = k2.length;
18909
18931
  for (let t3 = 0; t3 < O2; t3++) N2.set(k2[t3].type, k2[t3].compare), F2.set(k2[t3].type, t3);
18910
- let D2 = null, L2 = null, B2 = null;
18932
+ let D2 = null, B2 = null, L2 = null;
18911
18933
  w2.sort((t3, e2) => {
18912
18934
  const n3 = p2.length;
18913
18935
  for (let r3 = 0; r3 < n3; r3++) {
@@ -18922,14 +18944,14 @@ class dS {
18922
18944
  let t4 = F2.get(h3);
18923
18945
  u3 = F2.get(d2) - t4;
18924
18946
  } else {
18925
- let t4 = L2;
18947
+ let t4 = B2;
18926
18948
  if (D2 !== h3) {
18927
- t4 = N2.get(h3), L2 = t4, D2 = h3;
18949
+ t4 = N2.get(h3), B2 = t4, D2 = h3;
18928
18950
  let e3 = F2.get(d2);
18929
18951
  const r4 = k2[e3].defaultOptions;
18930
- B2 = { ...r4, ...n4.collatorOptions };
18952
+ L2 = { ...r4, ...n4.collatorOptions };
18931
18953
  }
18932
- u3 = t4(i3, a3, B2);
18954
+ u3 = t4(i3, a3, L2);
18933
18955
  }
18934
18956
  return n4.reverse && (u3 *= -1), u3;
18935
18957
  }
@@ -18938,21 +18960,21 @@ class dS {
18938
18960
  const z2 = this._beginCommit({ description: r2 });
18939
18961
  let P2 = [u2];
18940
18962
  I2 || (P2 = this._getVisible(P2, { orientations: c2 ? e.Orientations.Row : e.Orientations.Column })), this._clear(P2, void 0, void 0, true);
18941
- const W2 = this._createIncrementalUpdater({ orientation: l2 });
18942
- let H2 = c2 ? u2.rowStart : u2.colStart;
18963
+ const H2 = this._createIncrementalUpdater({ orientation: l2 });
18964
+ let W2 = c2 ? u2.rowStart : u2.colStart;
18943
18965
  const V2 = w2.length;
18944
18966
  for (let t3 = 0; t3 < V2; t3++) {
18945
18967
  const e2 = w2[t3];
18946
- if (x2 && (H2 = x2(H2)), e2) {
18968
+ if (x2 && (W2 = x2(W2)), e2) {
18947
18969
  const t4 = e2.values, n3 = t4.length;
18948
18970
  for (let e3 = 0; e3 < n3; e3++) {
18949
- const n4 = t4[e3], r3 = c2 ? H2 : n4.getCoords().rowIndex, o3 = c2 ? n4.getCoords().colIndex : H2;
18950
- W2.pushAt(r3, o3, n4);
18971
+ const n4 = t4[e3], r3 = c2 ? W2 : n4.getCoords().rowIndex, o3 = c2 ? n4.getCoords().colIndex : W2;
18972
+ H2.pushAt(r3, o3, n4);
18951
18973
  }
18952
18974
  }
18953
- H2 += A2;
18975
+ W2 += A2;
18954
18976
  }
18955
- return W2.apply(), z2.commit(), u2;
18977
+ return H2.apply(), z2.commit(), u2;
18956
18978
  }
18957
18979
  _autoFill(t2, n2, r2) {
18958
18980
  const { direction: o2, amount: s2 } = ((t3, n3) => {
@@ -18984,43 +19006,43 @@ class dS {
18984
19006
  const F2 = N2 ? A2 + 1 : M2, k2 = (N2 ? T2 : R2 - 1) - F2 + 1, O2 = i2 ? t2.colEnd : t2.rowEnd;
18985
19007
  l2.push(c.unionRanges(p2, t2));
18986
19008
  const D2 = [];
18987
- let L2 = null;
19009
+ let B2 = null;
18988
19010
  h2 || (m2 = this._beginCommit({ description: "Auto Fill", operation: { name: "autoFill", params: [t2, n2, r2] } }));
18989
- const B2 = this._cellIterator({ bounds: h2 ? y2 : t2, reverse: !N2, orientation: i2 ? e.Orientation.Column : e.Orientation.Row, includeRangeTypes: { [Ph.Type.Style]: false } });
18990
- let z2 = B2.next();
19011
+ const L2 = this._cellIterator({ bounds: h2 ? y2 : t2, reverse: !N2, orientation: i2 ? e.Orientation.Column : e.Orientation.Row, includeRangeTypes: { [Ph.Type.Style]: false } });
19012
+ let z2 = L2.next();
18991
19013
  for (; !z2.done; ) {
18992
19014
  const t3 = z2.value.context, e2 = t3.getCell(), n3 = t3.getCoords();
18993
- L2?.oppositeIndex !== n3[v2] && (L2 = { oppositeIndex: n3[v2], lastIndex: N2 ? R2 - 1 : A2 + 1, values: [] }, D2.push(L2));
19015
+ B2?.oppositeIndex !== n3[v2] && (B2 = { oppositeIndex: n3[v2], lastIndex: N2 ? R2 - 1 : A2 + 1, values: [] }, D2.push(B2));
18994
19016
  const r3 = n3[b2];
18995
- if (N2) for (let t4 = L2.lastIndex + 1; t4 < r3; t4++) L2.values.push(null);
18996
- else for (let t4 = L2.lastIndex - 1; t4 > r3; t4--) L2.values.push(null);
18997
- L2.lastIndex = r3;
19017
+ if (N2) for (let t4 = B2.lastIndex + 1; t4 < r3; t4++) B2.values.push(null);
19018
+ else for (let t4 = B2.lastIndex - 1; t4 > r3; t4--) B2.values.push(null);
19019
+ B2.lastIndex = r3;
18998
19020
  const o3 = e2.toDate();
18999
- if (o3) L2.values.push(o3);
19021
+ if (o3) B2.values.push(o3);
19000
19022
  else {
19001
19023
  let t4 = e2.getValue();
19002
- L2.values.push(t4);
19024
+ B2.values.push(t4);
19003
19025
  }
19004
- z2 = B2.next();
19026
+ z2 = L2.next();
19005
19027
  }
19006
19028
  const P2 = D2.length;
19007
19029
  for (let t3 = 0; t3 < P2; t3++) {
19008
19030
  const e2 = D2[t3].values;
19009
19031
  for (let t4 = e2.length; t4 < I2; t4++) e2.push(null);
19010
19032
  }
19011
- const W2 = (t3, e2) => {
19033
+ const H2 = (t3, e2) => {
19012
19034
  if (t3.canFill(e2[0], [])) {
19013
19035
  const n3 = t3.createFillAt(e2, g2);
19014
19036
  if (n3) return n3;
19015
19037
  }
19016
19038
  return $s.Types.Copy.createFillAt(e2);
19017
- }, H2 = this;
19039
+ }, W2 = this;
19018
19040
  if (h2) {
19019
19041
  const t3 = D2[D2.length - 1];
19020
19042
  if (D2[D2.length - 1]?.oppositeIndex !== O2) return null;
19021
- const n3 = W2(u2, t3.values);
19043
+ const n3 = H2(u2, t3.values);
19022
19044
  return h2((t4) => {
19023
- const r3 = H2._rangeToCoords(t4);
19045
+ const r3 = W2._rangeToCoords(t4);
19024
19046
  let s3;
19025
19047
  o2 === e.Direction.Down || o2 === e.Direction.Right ? s3 = { rowIndex: r3.rowEnd, colIndex: r3.colEnd } : o2 === e.Direction.Left ? s3 = { rowIndex: r3.rowEnd, colIndex: r3.colStart } : o2 === e.Direction.Up && (s3 = { rowIndex: r3.rowStart, colIndex: r3.colEnd });
19026
19048
  const a3 = i2 ? s3.rowIndex : s3.colIndex, l3 = { value: n3(N2 ? a3 - R2 : R2 - a3 + I2 - 1) };
@@ -19031,7 +19053,7 @@ class dS {
19031
19053
  const V2 = this._createIncrementalUpdater({ orientation: i2 ? e.Orientation.Column : e.Orientation.Row }), $2 = D2.length;
19032
19054
  D2.sort((t3, e2) => t3.oppositeIndex - e2.oppositeIndex);
19033
19055
  for (let t3 = 0; t3 < $2; t3++) {
19034
- const e2 = t3, n3 = W2(u2, D2[e2].values), r3 = D2[e2].oppositeIndex, o3 = N2 ? I2 : I2 + k2 - 1, s3 = this.isDate1904();
19056
+ const e2 = t3, n3 = H2(u2, D2[e2].values), r3 = D2[e2].oppositeIndex, o3 = N2 ? I2 : I2 + k2 - 1, s3 = this.isDate1904();
19035
19057
  for (let t4 = 0; t4 < k2; t4++) {
19036
19058
  let e3 = n3(o3 + (N2 ? t4 : -t4));
19037
19059
  no(e3) && (e3 = co(e3, s3));
@@ -19065,17 +19087,17 @@ class dS {
19065
19087
  }
19066
19088
  this._merge(n3);
19067
19089
  }
19068
- const U2 = this._getState(), J2 = {}, K2 = {};
19069
- K2.directStyleSpatial = U2.directStyleSpatial, K2.continuousFillSpatial = U2.continuousFillSpatial;
19070
- let q2 = t2, X2 = p2;
19090
+ const U2 = this._getState(), J2 = {}, q2 = {};
19091
+ q2.directStyleSpatial = U2.directStyleSpatial, q2.continuousFillSpatial = U2.continuousFillSpatial;
19092
+ let K2 = t2, X2 = p2;
19071
19093
  if (!N2) {
19072
19094
  let e2 = (i2 ? _2.rowEnd + 1 - _2.rowStart : _2.colEnd + 1 - _2.colStart) % I2;
19073
19095
  const n3 = i2 ? "rowStart" : "colStart", r3 = i2 ? "rowEnd" : "colEnd";
19074
- 0 !== e2 && (X2 = { ...p2, [r3]: Math.min(p2[r3], p2[n3] + e2) }, q2 = { ...t2, [n3]: t2[r3] - e2 + 1 }, p2[n3] = p2[n3] + e2);
19096
+ 0 !== e2 && (X2 = { ...p2, [r3]: Math.min(p2[r3], p2[n3] + e2) }, K2 = { ...t2, [n3]: t2[r3] - e2 + 1 }, p2[n3] = p2[n3] + e2);
19075
19097
  }
19076
- const Y2 = Object.keys(K2), Q2 = Y2.length;
19098
+ const Y2 = Object.keys(q2), Q2 = Y2.length;
19077
19099
  for (let t3 = 0; t3 < Q2; t3++) {
19078
- const e2 = Y2[t3], n3 = K2[e2].createCopiedEntries(q2, X2), r3 = U2[e2].clone(), o3 = n3.removes, s3 = o3.length;
19100
+ const e2 = Y2[t3], n3 = q2[e2].createCopiedEntries(K2, X2), r3 = U2[e2].clone(), o3 = n3.removes, s3 = o3.length;
19079
19101
  for (let t4 = 0; t4 < s3; t4++) r3.remove(o3[t4]);
19080
19102
  r3.load(n3.inserts), J2[e2] = r3;
19081
19103
  }
@@ -19157,7 +19179,7 @@ class dS {
19157
19179
  if (e2) {
19158
19180
  const n3 = [], s2 = e2.length;
19159
19181
  for (let t3 = 0; t3 < s2; t3++) {
19160
- const s3 = e2[t3], i2 = c.sanitizeRange(s3), a2 = new H_(i2, s3.value.tokens, s3.value.references);
19182
+ const s3 = e2[t3], i2 = c.sanitizeRange(s3), a2 = new W_(i2, s3.value.tokens, s3.value.references);
19161
19183
  if (n3.push({ colStart: i2.colStart, rowStart: i2.rowStart, colEnd: i2.colEnd, rowEnd: i2.rowEnd, value: a2 }), !r2) continue;
19162
19184
  const l2 = s3.value.precedents;
19163
19185
  let h2, d2, u2 = false;
@@ -19711,13 +19733,13 @@ class dS {
19711
19733
  }
19712
19734
  const F2 = n2._getState(), k2 = {}, O2 = { transpose: s3 ?? false };
19713
19735
  g2 && (k2.directStyleSpatial = F2.directStyleSpatial, k2.continuousFillSpatial = F2.continuousFillSpatial, k2.mergeSpatial = F2.mergeSpatial), u2 && (t2._clear([d2], void 0, void 0, false, true), E2.push(d2), k2.rangesListenerSpatial2 = F2.rangesListenerSpatial2);
19714
- const D2 = l2, L2 = D2._getState(), B2 = Object.keys(k2), z2 = B2.length;
19736
+ const D2 = l2, B2 = D2._getState(), L2 = Object.keys(k2), z2 = L2.length;
19715
19737
  for (let t3 = 0; t3 < z2; t3++) {
19716
- const e2 = B2[t3], n3 = k2[e2].createCopiedEntries(d2, x2, O2), r4 = L2[e2].clone(), o2 = n3.removes, s4 = o2.length;
19738
+ const e2 = L2[t3], n3 = k2[e2].createCopiedEntries(d2, x2, O2), r4 = B2[e2].clone(), o2 = n3.removes, s4 = o2.length;
19717
19739
  for (let t4 = 0; t4 < s4; t4++) r4.remove(o2[t4]);
19718
- r4.load(n3.inserts), L2[e2] = r4;
19740
+ r4.load(n3.inserts), B2[e2] = r4;
19719
19741
  }
19720
- D2._updateState(L2), E2.push(x2), b2.push(x2), w2 && w2.length > 0 && D2._colHeaders.updateHeaderPairs(w2), y2 && y2.length > 0 && D2._rowHeaders.updateHeaderPairs(y2), N2?.apply(), S2.length > 0 && l2.getRanges(S2).merge(), R2.commit({ viewBefore: I2, viewAfter: (t3) => ({ ...t3, view: l2.getView(), selection: u_(b2), ranges: E2 }) });
19742
+ D2._updateState(B2), E2.push(x2), b2.push(x2), w2 && w2.length > 0 && D2._colHeaders.updateHeaderPairs(w2), y2 && y2.length > 0 && D2._rowHeaders.updateHeaderPairs(y2), N2?.apply(), S2.length > 0 && l2.getRanges(S2).merge(), R2.commit({ viewBefore: I2, viewAfter: (t3) => ({ ...t3, view: l2.getView(), selection: u_(b2), ranges: E2 }) });
19721
19743
  } catch (t3) {
19722
19744
  throw console.warn(t3), R2.rollback(), new Error(((t4) => `Unable to paste: ${t4}`)(t3.message), { cause: t3 });
19723
19745
  }
@@ -19914,10 +19936,10 @@ class dS {
19914
19936
  const r3 = [];
19915
19937
  let f3 = -1, p3 = false, A3 = b2, T3 = 1, N3 = 1, F3 = 1;
19916
19938
  const D2 = R2[n3];
19917
- let L2 = D2.colStart, B2 = D2.rowStart, z2 = D2.colEnd, P2 = D2.rowEnd;
19918
- const W2 = this._getUsedCoords();
19919
- (u2 || d2) && W2 && (L2 = u2 ? W2.colStart : D2.colStart, B2 = d2 ? W2.rowStart : D2.rowStart, z2 = u2 ? W2.colEnd : D2.colEnd, P2 = d2 ? W2.rowEnd : D2.rowEnd);
19920
- const H2 = { includeRangeTypes: { [Ph.Type.Style]: false, [Ph.Type.Merge]: false, [Ph.Type.Continuous]: false, [Ph.Type.Contentful]: false }, ignoreHidden: false, bounds: { colStart: L2, rowStart: B2, colEnd: z2, rowEnd: P2 }, orientation: e.Orientation.Column }, V2 = h2 ? [] : void 0, $2 = l2 ? [] : void 0, j2 = (t2, e2, n4) => {
19939
+ let B2 = D2.colStart, L2 = D2.rowStart, z2 = D2.colEnd, P2 = D2.rowEnd;
19940
+ const H2 = this._getUsedCoords();
19941
+ (u2 || d2) && H2 && (B2 = u2 ? H2.colStart : D2.colStart, L2 = d2 ? H2.rowStart : D2.rowStart, z2 = u2 ? H2.colEnd : D2.colEnd, P2 = d2 ? H2.rowEnd : D2.rowEnd);
19942
+ const W2 = { includeRangeTypes: { [Ph.Type.Style]: false, [Ph.Type.Merge]: false, [Ph.Type.Continuous]: false, [Ph.Type.Contentful]: false }, ignoreHidden: false, bounds: { colStart: B2, rowStart: L2, colEnd: z2, rowEnd: P2 }, orientation: e.Orientation.Column }, V2 = h2 ? [] : void 0, $2 = l2 ? [] : void 0, j2 = (t2, e2, n4) => {
19921
19943
  if (t2 > e2) return null;
19922
19944
  const r4 = [];
19923
19945
  let o4 = t2;
@@ -19936,29 +19958,29 @@ class dS {
19936
19958
  r4.push(t3);
19937
19959
  }
19938
19960
  return r4;
19939
- }, G2 = this._rangeStateIterator(H2);
19961
+ }, G2 = this._rangeStateIterator(W2);
19940
19962
  let U2 = G2.next();
19941
19963
  for (; !U2.done; ) {
19942
19964
  const t2 = U2.value, e2 = t2.intersection, n4 = t2.start, r4 = t2.end;
19943
19965
  mS.colStart = n4.colIndex, mS.rowStart = n4.rowIndex, mS.colEnd = r4.colIndex, mS.rowEnd = r4.rowIndex;
19944
19966
  const o4 = c.intersectRanges(mS, D2, gS), s4 = Vg(0, o4, e2, v2).getBestFit();
19945
19967
  if (h2) {
19946
- const t3 = Math.max(n4.rowIndex, B2), e3 = Math.min(r4.rowIndex, P2), o5 = s4.height, i4 = { address: { min: t3, max: e3 }, update: { size: k2(o5), autoSize: true }, sizeSet: null === o5 ? -1 : o5 };
19968
+ const t3 = Math.max(n4.rowIndex, L2), e3 = Math.min(r4.rowIndex, P2), o5 = s4.height, i4 = { address: { min: t3, max: e3 }, update: { size: k2(o5), autoSize: true }, sizeSet: null === o5 ? -1 : o5 };
19947
19969
  V2.push(i4);
19948
19970
  }
19949
19971
  if (l2) {
19950
- const t3 = Math.max(n4.colIndex, L2), e3 = Math.min(r4.colIndex, z2), o5 = s4.width, i4 = { address: { min: t3, max: e3 }, update: { size: O2(o5), autoSize: true }, sizeSet: null === o5 ? -1 : o5 };
19972
+ const t3 = Math.max(n4.colIndex, B2), e3 = Math.min(r4.colIndex, z2), o5 = s4.width, i4 = { address: { min: t3, max: e3 }, update: { size: O2(o5), autoSize: true }, sizeSet: null === o5 ? -1 : o5 };
19951
19973
  $2.push(i4);
19952
19974
  }
19953
19975
  U2 = G2.next();
19954
19976
  }
19955
- const J2 = this._cellStateIterator({ ...H2, includeRangeTypes: { [Ph.Type.Merge]: false, [Ph.Type.Table]: false, [Ph.Type.Style]: false, [Ph.Type.Continuous]: false }, ignoreEmptyIntersections: true });
19956
- let K2, q2, X2, Y2 = J2.next(), Q2 = 1, Z2 = 1;
19977
+ const J2 = this._cellStateIterator({ ...W2, includeRangeTypes: { [Ph.Type.Merge]: false, [Ph.Type.Table]: false, [Ph.Type.Style]: false, [Ph.Type.Continuous]: false }, ignoreEmptyIntersections: true });
19978
+ let q2, K2, X2, Y2 = J2.next(), Q2 = 1, Z2 = 1;
19957
19979
  for (; !Y2.done; ) {
19958
19980
  const e2 = Y2.value, n4 = e2[0], l3 = e2[2];
19959
19981
  let h3 = b2;
19960
- const d3 = l3?.directStyle ?? l3?.table.getStyle() ?? null;
19961
- d3 === K2 ? h3 = q2 : (h3 = d3 ? Vg(0, c.cellToRange(n4, fS), l3, v2) : b2, q2 = h3);
19982
+ const d3 = l3?.directStyle ?? l3?.table?.getStyle() ?? null;
19983
+ d3 === q2 ? h3 = K2 : (h3 = d3 ? Vg(0, c.cellToRange(n4, fS), l3, v2) : b2, K2 = h3);
19962
19984
  let u3 = 1, g3 = 1;
19963
19985
  const m3 = l3?.merge ?? null;
19964
19986
  if (m3 === X2) u3 = Q2, g3 = Z2;
@@ -19973,8 +19995,8 @@ class dS {
19973
19995
  if (O3) {
19974
19996
  F3 = O3.getCoords().colEnd - x3 + 1;
19975
19997
  }
19976
- let L3 = false, B3 = false;
19977
- if (K2 === d3 && u3 === T3 && g3 === N3 && M3 !== t.String && M3 !== t.Error && k3 === p3 || (L3 = true, M3 === t.RichData && (B3 = true), B3 && (L3 = false)), K2 = d3, X2 = m3, (f3 !== x3 || L3) && (-1 !== f3 && r3.push({ col: f3, style: A3, spanWidth: u3, spanHeight: g3, minVal: o3, maxVal: s3, hasZero: i3, text: a3, textId: _2, hasFalse: w2, hasTrue: S2, hasEmpty: y2, minRow: E2, maxRow: C2, colWidth: this._colHeaders.getSpanSize(f3), measureWidth: -1, measureHeight: -1, colSpan: F3, isFit: p3 }), f3 = x3, A3 = h3, p3 = k3, T3 = u3, N3 = g3, o3 = Number.MAX_SAFE_INTEGER, s3 = Number.MIN_SAFE_INTEGER, i3 = false, a3 = "", _2 = -1, w2 = false, S2 = false, y2 = false, E2 = I3), C2 = I3, !B3) if (null === R3) y2 = true;
19998
+ let B3 = false, L3 = false;
19999
+ if (q2 === d3 && u3 === T3 && g3 === N3 && M3 !== t.String && M3 !== t.Error && k3 === p3 || (B3 = true, M3 === t.RichData && (L3 = true), L3 && (B3 = false)), q2 = d3, X2 = m3, (f3 !== x3 || B3) && (-1 !== f3 && r3.push({ col: f3, style: A3, spanWidth: u3, spanHeight: g3, minVal: o3, maxVal: s3, hasZero: i3, text: a3, textId: _2, hasFalse: w2, hasTrue: S2, hasEmpty: y2, minRow: E2, maxRow: C2, colWidth: this._colHeaders.getSpanSize(f3), measureWidth: -1, measureHeight: -1, colSpan: F3, isFit: p3 }), f3 = x3, A3 = h3, p3 = k3, T3 = u3, N3 = g3, o3 = Number.MAX_SAFE_INTEGER, s3 = Number.MIN_SAFE_INTEGER, i3 = false, a3 = "", _2 = -1, w2 = false, S2 = false, y2 = false, E2 = I3), C2 = I3, !L3) if (null === R3) y2 = true;
19978
20000
  else switch (M3) {
19979
20001
  case t.Number:
19980
20002
  0 === R3 && (i3 = true), o3 = Math.min(o3, R3), s3 = Math.max(s3, R3);
@@ -20036,7 +20058,7 @@ class dS {
20036
20058
  }
20037
20059
  $2.sort(m2);
20038
20060
  let t2 = this._colHeaders.updateHeaderPairs($2, M2);
20039
- t2 = Os(Ds(Ls(t2)));
20061
+ t2 = Os(Ds(Bs(t2)));
20040
20062
  const e2 = j2(D2.colStart, D2.colEnd, t2);
20041
20063
  e2 && this._colHeaders.updateHeaderPairs(e2, M2);
20042
20064
  }
@@ -20049,7 +20071,7 @@ class dS {
20049
20071
  }
20050
20072
  V2.sort(m2);
20051
20073
  let t2 = this._rowHeaders.updateHeaderPairs(V2, M2);
20052
- t2 = Os(Ds(Ls(t2)));
20074
+ t2 = Os(Ds(Bs(t2)));
20053
20075
  const e2 = j2(D2.rowStart, D2.rowEnd, t2);
20054
20076
  e2 && this._rowHeaders.updateHeaderPairs(e2, M2);
20055
20077
  }
@@ -20839,7 +20861,7 @@ class dS {
20839
20861
  }
20840
20862
  }
20841
20863
  async _addMovable(t2) {
20842
- if (!this.getProtection().isObjectsAllowed()) throw new C(Kh);
20864
+ if (!this.getProtection().isObjectsAllowed()) throw new C(qh);
20843
20865
  if (!t2) throw new C("No movable options provided");
20844
20866
  if (this._closed) throw new Error(td);
20845
20867
  const e2 = {};
@@ -20858,7 +20880,7 @@ class dS {
20858
20880
  }
20859
20881
  async _addImage(t2, e2 = { type: "picture" }) {
20860
20882
  if (!t2) throw new C("An image must be provided as a string or a resource option.");
20861
- if (!this.getProtection().isObjectsAllowed()) throw new C(Kh);
20883
+ if (!this.getProtection().isObjectsAllowed()) throw new C(qh);
20862
20884
  const n2 = this._resources.add(t2), r2 = await n2.toBuffer(), s2 = await n2.getType(), i2 = this._getBoundsAtCoords(this.getSelection().getRangesCoords()[0]), { naturalSize: a2, asUrl: l2 } = await w.loadImageDetails(r2, s2);
20863
20885
  URL.revokeObjectURL(l2);
20864
20886
  const c2 = { ...i2, ...a2, ...e2?.bounds };
@@ -20892,7 +20914,7 @@ class dS {
20892
20914
  _validateOrRemoveOverlaps(t2, e2, n2 = null, r2 = false) {
20893
20915
  const o2 = this;
20894
20916
  "merge" !== e2 && dc(this._getMerges([t2]), t2, (t3, n3) => {
20895
- if (n3 || !r2) throw new C(qh(e2));
20917
+ if (n3 || !r2) throw new C(Kh(e2));
20896
20918
  o2._unmerge([t3]);
20897
20919
  });
20898
20920
  const s2 = [], i2 = this.getTables().getItems({ address: t2 }), a2 = i2.length;
@@ -20901,7 +20923,7 @@ class dS {
20901
20923
  n2 !== e3 && s2.push(e3.getAnchorCoords());
20902
20924
  }
20903
20925
  dc(s2, t2, (t3, n3, o3) => {
20904
- if (n3 || !r2) throw new C(qh(e2));
20926
+ if (n3 || !r2) throw new C(Kh(e2));
20905
20927
  i2[o3].delete();
20906
20928
  });
20907
20929
  }
@@ -21238,7 +21260,7 @@ class dS {
21238
21260
  const h3 = r3?.events;
21239
21261
  h3 && (h3.address && (c3.trigger = "address", t2._notifyAddressListeners(l3, h3.address, n3, c3)), h3.dataListeners && (c3.trigger = "data", t2._notifyAddressListeners(l3, h3.dataListeners, n3, c3)), h3.data && (c3.trigger = "data", t2._notifyDataListeners(e2.rangesListenerSpatial2, e2.rangesListenerMap2, h3.data, n3, c3)));
21240
21262
  }
21241
- if (r3 && !r3.calculationSideEffect && r3.ranges && !r3.initial && e2.calcGraph.calculate(), r3?.ranges) {
21263
+ if (r3 && !r3.initial && (!r3.calculationSideEffect && r3.ranges && e2.calcGraph.calculate(), r3.ranges)) {
21242
21264
  t2._notifyUsedRangeChange();
21243
21265
  const e3 = t2._rangesListenerMap;
21244
21266
  if (e3.size > 0) {
@@ -21311,7 +21333,7 @@ class dS {
21311
21333
  t2._defaultColWidthCache = 0, t2._defaultRowHeightCache = 0, t2._defaultFontBoundsCache = null, t2._emitter.notify("onLayoutChange"), t2._emitter.notify("onViewChange");
21312
21334
  } }, c2 = new J_({ sheet: this });
21313
21335
  this._view = c2, this._clearState(), this._viewRemoveListener = c2.addListeners(l2, { transactional: false }), this._viewListener = l2, this._colHeadersRemoveListener?.();
21314
- this._colHeaders = new B_({ sheet: t2, orientation: e.Orientation.Column, transactions: this._transactions, isProtected: () => !t2._initializing && !t2.getProtection().isFormatColumnsAllowed(), getTextAt: (t3) => {
21336
+ this._colHeaders = new L_({ sheet: t2, orientation: e.Orientation.Column, transactions: this._transactions, isProtected: () => !t2._initializing && !t2.getProtection().isFormatColumnsAllowed(), getTextAt: (t3) => {
21315
21337
  const e2 = this.getView().getColumnHeaderStyle();
21316
21338
  return e2 === Op.HeaderTextStyle.A1 ? iS(t3) : e2 === Op.HeaderTextStyle.Zero ? sS(t3) : e2 === Op.HeaderTextStyle.One ? aS(t3) : void 0;
21317
21339
  }, defaultSize: () => this._defaultColWidth(), scaleFactor: () => {
@@ -21321,7 +21343,7 @@ class dS {
21321
21343
  this._colHeadersShiftCallback = t3;
21322
21344
  } }), this._colHeadersRemoveListener = this._colHeaders.addListeners(this._colHeadersListener, { transactional: true }), this._rowHeadersRemoveListener?.();
21323
21345
  const h2 = rs.getDeviceScale();
21324
- this._rowHeaders = new B_({ sheet: t2, orientation: e.Orientation.Row, transactions: this._transactions, isProtected: () => !t2._initializing && !t2.getProtection().isFormatRowsAllowed(), getTextAt: (t3) => {
21346
+ this._rowHeaders = new L_({ sheet: t2, orientation: e.Orientation.Row, transactions: this._transactions, isProtected: () => !t2._initializing && !t2.getProtection().isFormatRowsAllowed(), getTextAt: (t3) => {
21325
21347
  const e2 = this.getView().getRowHeaderStyle();
21326
21348
  return e2 === Op.HeaderTextStyle.One ? aS(t3) : e2 === Op.HeaderTextStyle.Zero ? sS(t3) : e2 === Op.HeaderTextStyle.A1 ? iS(t3) : void 0;
21327
21349
  }, defaultSize: () => this._defaultRowHeight(), scaleFactor: () => h2, minSize: () => 0, maxSize: () => 409, maxSheetCoords: () => t2._entireCoords, setContainerShiftedCallback: (t3) => {
@@ -21815,27 +21837,27 @@ class dS {
21815
21837
  }
21816
21838
  k2.load(t2);
21817
21839
  }
21818
- const O2 = m2.tableMapModel, D2 = m2.tableMapName, L2 = m2.tableSpatial, B2 = s2.tables;
21819
- if (B2) {
21820
- const t2 = [], e2 = B2.length;
21840
+ const O2 = m2.tableMapModel, D2 = m2.tableMapName, B2 = m2.tableSpatial, L2 = s2.tables;
21841
+ if (L2) {
21842
+ const t2 = [], e2 = L2.length;
21821
21843
  for (let n3 = 0; n3 < e2; n3++) {
21822
- const e3 = B2[n3], r3 = this._createTableEntry(e3), o2 = r3.value.model;
21844
+ const e3 = L2[n3], r3 = this._createTableEntry(e3), o2 = r3.value.model;
21823
21845
  O2.set(o2, r3), D2.set(r3.value.currentName, o2), t2.push(r3);
21824
21846
  }
21825
- L2.load(t2);
21847
+ B2.load(t2);
21826
21848
  }
21827
- const z2 = m2.conditionalSpatial, P2 = m2.conditionalModels, W2 = s2.conditionals;
21828
- if (W2) {
21829
- const t2 = W2.length;
21849
+ const z2 = m2.conditionalSpatial, P2 = m2.conditionalModels, H2 = s2.conditionals;
21850
+ if (H2) {
21851
+ const t2 = H2.length;
21830
21852
  for (let e2 = 0; e2 < t2; e2++) {
21831
- const t3 = W2[e2];
21853
+ const t3 = H2[e2];
21832
21854
  this._createConditionalEntries(t3, z2, P2);
21833
21855
  }
21834
21856
  }
21835
- const H2 = m2.calcGraph, V2 = H2.fromJSON({ formulas: s2.formulas, data: y2, dynamic: s2.dynamicArray, volatile: s2.volatile });
21836
- m2 = this._updateState({ hyperlinkSpatial: A2, commentsSpatial: T2, movableSpatial: k2, movableMapModel: F2, tableSpatial: L2, tableMapModel: O2, tableMapName: D2, conditionalSpatial: z2, conditionalModels: P2, calcGraph: H2 });
21857
+ const W2 = m2.calcGraph, V2 = W2.fromJSON({ formulas: s2.formulas, data: y2, dynamic: s2.dynamicArray, volatile: s2.volatile });
21858
+ m2 = this._updateState({ hyperlinkSpatial: A2, commentsSpatial: T2, movableSpatial: k2, movableMapModel: F2, tableSpatial: B2, tableMapModel: O2, tableMapName: D2, conditionalSpatial: z2, conditionalModels: P2, calcGraph: W2 });
21837
21859
  const $2 = this._getUsedCoords();
21838
- $2 && this._autoFit([$2], { orientations: e.Orientations.Row, skipCustomSize: true }), r2.commit(), V2 && this._realizeCalcedValues(V2), s2.protection && this._protection.fromJSON(s2.protection), this._emitter.notify("onLoad");
21860
+ $2 && this._autoFit([$2], { orientations: e.Orientations.Row, skipCustomSize: true, expandOnly: true }), r2.commit(), V2 && this._realizeCalcedValues(V2), s2.protection && this._protection.fromJSON(s2.protection), this._emitter.notify("onLoad");
21839
21861
  } finally {
21840
21862
  h2.endPersist(), l2.endPersist(), a2.endPersist();
21841
21863
  }
@@ -22191,7 +22213,7 @@ const DS = async (t2, e2) => {
22191
22213
  let o2 = n2[r2];
22192
22214
  if (!o2 && e2.behavior.default && (o2 = n2.default), !o2) throw new Error(`Found the descriptor for '${r2}' but not the function. The descriptor manifest must be corrupt.`);
22193
22215
  return o2;
22194
- }, LS = async (t2, e2, n2 = false) => {
22216
+ }, BS = async (t2, e2, n2 = false) => {
22195
22217
  const r2 = e2?.functions, o2 = /* @__PURE__ */ new Map();
22196
22218
  if (r2) for (let t3 = 0; t3 < r2.length; t3++) {
22197
22219
  const s2 = r2[t3], i2 = s2[0], a2 = s2[1];
@@ -22201,7 +22223,7 @@ const DS = async (t2, e2) => {
22201
22223
  }
22202
22224
  return new OS({ json: e2, readonlyFunctions: o2, name: t2 });
22203
22225
  };
22204
- class BS {
22226
+ class LS {
22205
22227
  constructor(t2) {
22206
22228
  this._emitter = null, this._options = t2, this._emitter = new aa(this), this._initState();
22207
22229
  }
@@ -22212,7 +22234,7 @@ class BS {
22212
22234
  }
22213
22235
  async createModule(t2) {
22214
22236
  const e2 = await import("@sheetxl/scripting"), n2 = await e2.ScriptingUtils.compileTypescript(t2);
22215
- return n2 ? await LS("scripts", n2, t2?.declarationsOnly ?? false) : null;
22237
+ return n2 ? await BS("scripts", n2, t2?.declarationsOnly ?? false) : null;
22216
22238
  }
22217
22239
  addModule(t2, e2, n2) {
22218
22240
  this._modules.add(t2, e2, n2);
@@ -22251,7 +22273,7 @@ class BS {
22251
22273
  if (e2) {
22252
22274
  const t3 = Object.keys(e2);
22253
22275
  for (let r3 = 0; r3 < t3.length; r3++) {
22254
- const o2 = t3[r3], s3 = e2[o2], i3 = await LS(o2, s3);
22276
+ const o2 = t3[r3], s3 = e2[o2], i3 = await BS(o2, s3);
22255
22277
  n2[o2] = i3;
22256
22278
  }
22257
22279
  }
@@ -22317,8 +22339,8 @@ class PS extends Z_ {
22317
22339
  return super._toJSON(t2);
22318
22340
  }
22319
22341
  }
22320
- const WS = (t2) => `Invalid SheetKey: ${t2}`, HS = "A workbook must contain at least one visible worksheet.", VS = "Internal error no visible sheetRefs", $S = "Workbook has been closed. No further operations are allowed.", jS = "This workbook structure is protected. To make a change, unprotect the workbook. You might be requested to enter a password.", GS = "A sheet name", US = `${GS} can not be blank.`, JS = `${GS} can not be longer than 31 characters.`, KS = `${GS} can not begin or end with a "'" (single quote).`;
22321
- class qS {
22342
+ const HS = (t2) => `Invalid SheetKey: ${t2}`, WS = "A workbook must contain at least one visible worksheet.", VS = "Internal error no visible sheetRefs", $S = "Workbook has been closed. No further operations are allowed.", jS = "This workbook structure is protected. To make a change, unprotect the workbook. You might be requested to enter a password.", GS = "A sheet name", US = `${GS} can not be blank.`, JS = `${GS} can not be longer than 31 characters.`, qS = `${GS} can not begin or end with a "'" (single quote).`;
22343
+ class KS {
22322
22344
  constructor(t2, e2) {
22323
22345
  this._add = t2, this._get = e2;
22324
22346
  }
@@ -22348,7 +22370,7 @@ const XS = new RegExp(/[\\/\\*?:[\]]+/), YS = new RegExp(/\(((\d+)(?!.*\d))\)$/,
22348
22370
  t2 = t2.substring(0, 31);
22349
22371
  }
22350
22372
  if ("'" === t2.charAt(0) || "'" === t2.charAt(n2 - 1)) {
22351
- if (!e2) throw new Error(KS);
22373
+ if (!e2) throw new Error(qS);
22352
22374
  t2 = t2.replace(/^'|'$/g, "");
22353
22375
  }
22354
22376
  return t2;
@@ -22504,7 +22526,7 @@ class rw {
22504
22526
  } catch (t3) {
22505
22527
  throw o2.rollback(), t3;
22506
22528
  }
22507
- this._sheets = new qS((t3) => e2._addSheetOptions(t3), (t3, e3) => t3 ? [this.getSheet(t3, e3)] : this._getSheets(e3)), this._initializing = false;
22529
+ this._sheets = new KS((t3) => e2._addSheetOptions(t3), (t3, e3) => t3 ? [this.getSheet(t3, e3)] : this._getSheets(e3)), this._initializing = false;
22508
22530
  }
22509
22531
  _initState() {
22510
22532
  let t2 = this._getSheetRefs();
@@ -22785,7 +22807,7 @@ class rw {
22785
22807
  let e2 = this._getSheetRef(t2);
22786
22808
  if (!e2) throw new C(((t3) => `Invalid reference for delete: ${t3}`)(t2));
22787
22809
  const n2 = this._getState().sheetRefsVisible;
22788
- if (1 === n2.length && n2[0].id === e2.id) throw new C(HS);
22810
+ if (1 === n2.length && n2[0].id === e2.id) throw new C(WS);
22789
22811
  }
22790
22812
  _findOffsetForId(t2, e2) {
22791
22813
  const n2 = e2.length;
@@ -22873,7 +22895,7 @@ class rw {
22873
22895
  const e2 = this._getSheetRefs(), n2 = this.getSelectedSheetIndex();
22874
22896
  let r2 = null;
22875
22897
  if (t2) {
22876
- if (r2 = this._getSheetRef(t2), !r2) throw new C(WS(r2));
22898
+ if (r2 = this._getSheetRef(t2), !r2) throw new C(HS(r2));
22877
22899
  } else r2 = e2[n2];
22878
22900
  if (!r2) return null;
22879
22901
  const o2 = r2.sheet, s2 = this._strings.beginPersist(), i2 = this.getResources().beginPersist(), a2 = this.getStyles().beginPersist();
@@ -22978,7 +23000,7 @@ class rw {
22978
23000
  if (this._closed) throw new Error($S);
22979
23001
  if (!this.getProtection().isStructureAllowed()) throw new C(jS);
22980
23002
  const n2 = this._getSheetRef(t2);
22981
- if (!n2) throw new C(WS(t2));
23003
+ if (!n2) throw new C(HS(t2));
22982
23004
  if (e2 === n2.name) return n2.sheet;
22983
23005
  e2 = this._validateNewSheetName(e2);
22984
23006
  const r2 = Object.freeze({ ...n2, name: e2 });
@@ -23005,7 +23027,7 @@ class rw {
23005
23027
  const s2 = this.beginCommit(o2);
23006
23028
  try {
23007
23029
  const t3 = this._getState().sheetRefsVisible;
23008
- if (e2 !== $p.Visibility.Visible && 1 === t3.length && t3[0].id === n2.id) throw new C(HS);
23030
+ if (e2 !== $p.Visibility.Visible && 1 === t3.length && t3[0].id === n2.id) throw new C(WS);
23009
23031
  const o3 = { ...n2, visibility: e2 };
23010
23032
  let i2 = -1;
23011
23033
  e2 !== $p.Visibility.Visible && (i2 = this._findOffsetForId(n2.id, t3));
@@ -23041,7 +23063,7 @@ class rw {
23041
23063
  _setSelectedSheet(t2) {
23042
23064
  if (this._closed) throw new Error($S);
23043
23065
  const e2 = this._getSheetRef(t2);
23044
- if (!e2) throw new C(WS(t2));
23066
+ if (!e2) throw new C(HS(t2));
23045
23067
  let n2 = null;
23046
23068
  return e2.visibility !== $p.Visibility.Visible && this._setSheetVisibility(e2, $p.Visibility.Visible), this._view.setActiveSheetId(e2.id), n2 = e2.sheet, n2;
23047
23069
  }
@@ -23085,7 +23107,7 @@ class rw {
23085
23107
  };
23086
23108
  }
23087
23109
  _fromJSON(t2) {
23088
- if (this._emitter.notify("onBeforeLoad", { params: t2 }), this._initState(), !t2.sheets || 0 === t2.sheets.length) throw new C(HS);
23110
+ if (this._emitter.notify("onBeforeLoad", { params: t2 }), this._initState(), !t2.sheets || 0 === t2.sheets.length) throw new C(WS);
23089
23111
  t2.theme && (this._theme = new ta(t2.theme), this._styles.setTheme(this._theme));
23090
23112
  const e2 = this._strings.beginPersist(), n2 = this._resources.beginPersist(), r2 = this._styles.beginPersist();
23091
23113
  try {
@@ -23109,7 +23131,7 @@ class rw {
23109
23131
  }
23110
23132
  _createScripts(t2) {
23111
23133
  const e2 = this;
23112
- return new BS({ transactions: this._transactions, json: t2, workbook: e2, getBuiltInFunctions: () => e2._calculation?.getFunctions(), onAdd: (t3, n2) => {
23134
+ return new LS({ transactions: this._transactions, json: t2, workbook: e2, getBuiltInFunctions: () => e2._calculation?.getFunctions(), onAdd: (t3, n2) => {
23113
23135
  const r2 = e2._calculation;
23114
23136
  r2.getStatus() !== lf.Status.Off && r2.start().then(() => {
23115
23137
  const t4 = n2.getFunctions().getItems({ type: "formula" }), e3 = t4.length;
@@ -23217,7 +23239,7 @@ class rw {
23217
23239
  return true;
23218
23240
  }
23219
23241
  }
23220
- const ow = { address: null, scope: null }, sw = "0.7.25", iw = "Mon Oct 20 2025";
23242
+ const ow = { address: null, scope: null }, sw = "0.7.27", iw = "Sat Dec 27 2025";
23221
23243
  export {
23222
23244
  Im as AddressUtils,
23223
23245
  $s as AutoFill,
@@ -23253,10 +23275,10 @@ export {
23253
23275
  Ro as ITextFrame,
23254
23276
  ki as ITheme,
23255
23277
  Oi as IThemeCollection,
23256
- at as LicenseManager,
23278
+ dt as LicenseManager,
23257
23279
  Ri as NumberFormat,
23258
23280
  cf as Picture,
23259
- Hp as RangeClipboardItem,
23281
+ Wp as RangeClipboardItem,
23260
23282
  ef as Resource,
23261
23283
  rf as ResourceCollection,
23262
23284
  dS as Sheet,
@@ -23275,7 +23297,7 @@ export {
23275
23297
  sw as VERSION,
23276
23298
  rw as Workbook,
23277
23299
  RS as WorkbookView,
23278
- W_ as a,
23300
+ H_ as a,
23279
23301
  P_ as b,
23280
23302
  Ic as c,
23281
23303
  vh as d,