@sheetxl/sdk 0.7.10 → 0.7.11

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 (84) hide show
  1. package/browser/cjs/{pAaoznCw2R-NvoJO.cjs → 5gZevu8mexJt-Tk0.cjs} +3 -3
  2. package/browser/cjs/{s2__xJk4opSAXMT4.cjs → BDCDRjfkEm0pytLk.cjs} +1 -1
  3. package/browser/cjs/{wsNrOvjgANfZCUcJ.cjs → BUwCvXFu15osbjB5.cjs} +1 -1
  4. package/browser/cjs/BXCJwFo_6EDfSUlX.cjs +55 -0
  5. package/browser/cjs/{zV5DYS2805g6oBg0.cjs → B_JdiofX0puC2mFc.cjs} +1 -1
  6. package/browser/cjs/{i1zPKZAngwRK1H6R.cjs → Bjh0M1RIejIAj4Pq.cjs} +1 -1
  7. package/browser/cjs/{Dps8tDhlL1soLNAN.cjs → BrXmwqy3StJEwsOr.cjs} +1 -1
  8. package/browser/cjs/{CXi7-QPH2qOvW2ig.cjs → BsNHpUpskD-exH1H.cjs} +1 -1
  9. package/browser/cjs/{mWnzwcbrwDSuOQ5k.cjs → Bv_X8OqEmlRsQkmf.cjs} +2 -2
  10. package/browser/cjs/{DhnjaWdsnq2k0WB6.cjs → C59rgmZJK3FlOUR6.cjs} +1 -1
  11. package/browser/cjs/{Fvg-zk7oHo6A28wS.cjs → C8Bcqt5a7LucHlYg.cjs} +1 -1
  12. package/browser/cjs/{rJvO21DUgDkVVJ98.cjs → C8lgtu3oD-6oTt1F.cjs} +1 -1
  13. package/browser/cjs/{C43pmRixdQcJAYhM.cjs → CVfHDyUmU_1JV8RE.cjs} +2 -2
  14. package/browser/cjs/{CsoyCFi-i5balUsy.cjs → CjUZ3yMr_gsVgXPn.cjs} +1 -1
  15. package/browser/cjs/{CUHf3R7HAqlFgZfr.cjs → CrL6ZYcWHsZ6jwws.cjs} +1 -1
  16. package/browser/cjs/{mJI4PWzSNTlX2y_7.cjs → CyrQiGGpakMpaktt.cjs} +1 -1
  17. package/browser/cjs/{B5sOr_qNfzdlK6r5.cjs → D1FZwjQHdS5YuyKy.cjs} +1 -1
  18. package/browser/cjs/{Bt1Imuv4UJakhq34.cjs → DchXJvBNii6Xtg7w.cjs} +1 -1
  19. package/browser/cjs/{D0HSm46wnMwqM0fV.cjs → Dm3SxDzQhUD777p8.cjs} +1 -1
  20. package/browser/cjs/{Bw_6g6HnrYARaE_c.cjs → Dpn-9o-fsUddPCil.cjs} +1 -1
  21. package/browser/cjs/{Jr--WwZDSz0u7gpu.cjs → DtWHmqYZIIx2p37y.cjs} +1 -1
  22. package/browser/cjs/{DYh18BCrb2nRAWSC.cjs → MWn8zBfjwx4WEaRc.cjs} +1 -1
  23. package/browser/cjs/{DFZn272cF7DnvpVs.cjs → Q7H5TC0IH1qRSJbI.cjs} +1 -1
  24. package/browser/cjs/{BYJYiOa62d2KcthP.cjs → bIfYFpHp8XCKu4XX.cjs} +1 -1
  25. package/browser/cjs/{YhQ_DJJ-NASBcutY.cjs → f9LzlZDedrTDVYaW.cjs} +1 -1
  26. package/browser/cjs/index.cjs +2 -2
  27. package/browser/cjs/{DkK2KLukNSE20weE.cjs → loINt7m5DwgCk0o9.cjs} +1 -1
  28. package/browser/cjs/{BMAXavmiWEoQ4d7w.cjs → y-f4O_t985QBIjv1.cjs} +1 -1
  29. package/{node/esm/BkX0U6wwm5bhhoOc.mjs → browser/esm/2VqvsSteXZ_vIKsT.mjs} +1 -1
  30. package/browser/esm/{BhZy8T3_0HmqrtYn.mjs → 2XeY8EYFW7ysBXQC.mjs} +1 -1
  31. package/browser/esm/{DpCweIlJhb7rwPUQ.mjs → 9z6CRFodxnfx9iDD.mjs} +1 -1
  32. package/browser/esm/{Dub8ZgcEXucEp2NI.mjs → B37h4qPiiKhdkmhq.mjs} +1 -1
  33. package/browser/esm/{DWCeeKtyWbwBsMtd.mjs → BAU9OtGs9yYnSf9K.mjs} +1 -1
  34. package/browser/esm/{B4cJvX94gkjInKF9.mjs → BPEbOkOMocukDAar.mjs} +1 -1
  35. package/browser/esm/{Ch1-YbB2C42189ma.mjs → BXSgUGgeI4HG_8R-.mjs} +1 -1
  36. package/browser/esm/{DGLu7QFVBNDLxamQ.mjs → BnGCEHYqDceiuVJy.mjs} +1 -1
  37. package/browser/esm/{CuUVvXtLjRd07JGG.mjs → ChEZIvO9NuTvHcOA.mjs} +1 -1
  38. package/browser/esm/{MLzNHv219T3C5hvE.mjs → CovVGEuAngdp3Qcy.mjs} +1 -1
  39. package/browser/esm/{CfhLzbwjjeTmk029.mjs → Crw-7_O7d6Qkc4cu.mjs} +2 -2
  40. package/{node/esm/kV8uXcO0eq-dKVP6.mjs → browser/esm/CsT_89Zow9b3Y3se.mjs} +1 -1
  41. package/browser/esm/{jMZ0iMZ-2uMoOS91.mjs → D-ZOoxK1cxc5_BJI.mjs} +3 -3
  42. package/browser/esm/{2YmVbenvf3pJnVgX.mjs → D0PO4OUSFJci0kGA.mjs} +5603 -5594
  43. package/browser/esm/{pFiDhbuMy42dhPsi.mjs → D1e9hAO9FlJWf7FJ.mjs} +1 -1
  44. package/{node/esm/BQ7ZqtqqmMvl87Xx.mjs → browser/esm/D1zSypswe90EC3I6.mjs} +1 -1
  45. package/{node/esm/F-KBakghLhTUf7o1.mjs → browser/esm/D2864L-Xux_M6oO_.mjs} +1 -1
  46. package/{node/esm/DoZ_BtRRWO1CTdku.mjs → browser/esm/DH4xqJygUlG2lET2.mjs} +1 -1
  47. package/browser/esm/{DkABk-qW6Oyyokp1.mjs → DXWuE1o-UUQfzt0A.mjs} +2 -2
  48. package/browser/esm/{CkpqqAG46XpO7nXX.mjs → D_xHjggCuNwxWwLi.mjs} +1 -1
  49. package/browser/esm/{9jzbE6uqSvh2gkcM.mjs → DaVEypU8BFYwsSfA.mjs} +1 -1
  50. package/{node/esm/OYzq3aFElHhhWUbl.mjs → browser/esm/Ldad50b3N2BrQH9d.mjs} +1 -1
  51. package/browser/esm/{CfxraIBE6h5Sxyav.mjs → MGzrljP3VHRt7nmk.mjs} +1 -1
  52. package/browser/esm/{fwEmOMkbOozZtG_Z.mjs → aABK-zFqofnPJqGj.mjs} +1 -1
  53. package/{node/esm/DefSqdVcNBlKVAMo.mjs → browser/esm/bJBo3uc8j5S2Go5P.mjs} +1 -1
  54. package/browser/esm/index.mjs +2 -2
  55. package/browser/esm/{CCJHhN0uG4RlLT21.mjs → jzRUvp4sjg6M9n3j.mjs} +1 -1
  56. package/browser/esm/{BB5FMNWC9DoXj2F_.mjs → nU8LEuctytxi6s8t.mjs} +1 -1
  57. package/{browser/esm/BkX0U6wwm5bhhoOc.mjs → node/esm/2VqvsSteXZ_vIKsT.mjs} +1 -1
  58. package/node/esm/{DpCweIlJhb7rwPUQ.mjs → 9z6CRFodxnfx9iDD.mjs} +1 -1
  59. package/node/esm/{Dub8ZgcEXucEp2NI.mjs → B37h4qPiiKhdkmhq.mjs} +1 -1
  60. package/node/esm/{DWCeeKtyWbwBsMtd.mjs → BAU9OtGs9yYnSf9K.mjs} +1 -1
  61. package/node/esm/{BtVIwG6U8r7kikQn.mjs → BFfXGP7TlVH1UKYL.mjs} +1 -1
  62. package/node/esm/{DzTkpJZ5xV-M-8g3.mjs → BJ27lhC2nHft7hxZ.mjs} +1 -1
  63. package/node/esm/{B4cJvX94gkjInKF9.mjs → BPEbOkOMocukDAar.mjs} +1 -1
  64. package/node/esm/{X8L9OldTik-62PGX.mjs → CGqkx3RVBQTmg5TU.mjs} +1 -1
  65. package/node/esm/{DfshBT8P2doaHCH-.mjs → C_9uNDj180I7dwXb.mjs} +1 -1
  66. package/node/esm/{BVNYg8Q9tkggTFax.mjs → C_Etz1Ndt6MGtcR7.mjs} +1 -1
  67. package/node/esm/{B1YReOzxQ_MwWTr7.mjs → Cbc6DQzMsCf4bGWu.mjs} +1 -1
  68. package/node/esm/{CuUVvXtLjRd07JGG.mjs → ChEZIvO9NuTvHcOA.mjs} +1 -1
  69. package/{browser/esm/kV8uXcO0eq-dKVP6.mjs → node/esm/CsT_89Zow9b3Y3se.mjs} +1 -1
  70. package/node/esm/{DTATxp-TMmO0pR0E.mjs → Cu68B-_Hko3cotQs.mjs} +2 -2
  71. package/node/esm/{pFiDhbuMy42dhPsi.mjs → D1e9hAO9FlJWf7FJ.mjs} +1 -1
  72. package/{browser/esm/BQ7ZqtqqmMvl87Xx.mjs → node/esm/D1zSypswe90EC3I6.mjs} +1 -1
  73. package/{browser/esm/F-KBakghLhTUf7o1.mjs → node/esm/D2864L-Xux_M6oO_.mjs} +1 -1
  74. package/{browser/esm/DoZ_BtRRWO1CTdku.mjs → node/esm/DH4xqJygUlG2lET2.mjs} +1 -1
  75. package/node/esm/{DhnJcCAHnMAvIKHY.mjs → DsII_YZ19g2EexaT.mjs} +1 -1
  76. package/{browser/esm/OYzq3aFElHhhWUbl.mjs → node/esm/Ldad50b3N2BrQH9d.mjs} +1 -1
  77. package/node/esm/{CfxraIBE6h5Sxyav.mjs → MGzrljP3VHRt7nmk.mjs} +1 -1
  78. package/node/esm/{DVAwEnfivTa21GDa.mjs → T5-7OxISllpg94OC.mjs} +1 -1
  79. package/{browser/esm/DefSqdVcNBlKVAMo.mjs → node/esm/bJBo3uc8j5S2Go5P.mjs} +1 -1
  80. package/node/esm/index.mjs +773 -782
  81. package/node/esm/{CCJHhN0uG4RlLT21.mjs → jzRUvp4sjg6M9n3j.mjs} +1 -1
  82. package/node/esm/{BB5FMNWC9DoXj2F_.mjs → nU8LEuctytxi6s8t.mjs} +1 -1
  83. package/package.json +4 -4
  84. package/browser/cjs/DoS3hyIHWQdr-NLW.cjs +0 -55
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.10
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.11
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.10";
380
+ return "0.7.11";
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 "Thu Oct 02 2025";
386
+ return "Fri Oct 03 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;
@@ -467,199 +467,176 @@ Cpus: ${n3}`), console.log(a2(o2)), o2 = null;
467
467
  let r2 = t3.split("");
468
468
  for (let t4 = 0; t4 < r2.length; t4++) r2[t4].charCodeAt(0) <= n3 && (r2[t4] = String.fromCharCode((r2[t4].charCodeAt(0) + e3) % n3));
469
469
  return r2.join("");
470
- })(t2, n2 - e2), J = (t2) => "object" == typeof window ? window.atob(t2) : Buffer.from(t2, "base64").toString("ascii");
471
- function q(t2, e2, n2, r2, o2) {
472
- return lt(n2 - -70, o2);
473
- }
474
- function K(t2, e2, n2, r2, o2) {
475
- return lt(r2 - 957, n2);
476
- }
477
- function X(t2, e2, n2, r2, o2) {
478
- return lt(r2 - -537, e2);
470
+ })(t2, n2 - e2), q = (t2) => "object" == typeof window ? window.atob(t2) : Buffer.from(t2, "base64").toString("ascii");
471
+ function J(t2, e2, n2, r2, o2) {
472
+ return ht(r2 - -541, t2);
479
473
  }
480
474
  !(function() {
481
- const t2 = 337, e2 = "!xjD", n2 = 209, r2 = 194, o2 = 486, s2 = "sEBa", i2 = 233, a2 = "hHq9", l2 = "xxaZ", c2 = 944;
475
+ const t2 = 654, e2 = 1308, n2 = 277, r2 = 899, o2 = "PZLU", s2 = 1317, i2 = 862, a2 = 173;
476
+ function l2(t3, e3, n3, r3, o3) {
477
+ return ht(o3 - 935, r3);
478
+ }
479
+ function c2(t3, e3, n3, r3, o3) {
480
+ return ht(o3 - 405, e3);
481
+ }
482
482
  function h2(t3, e3, n3, r3, o3) {
483
- return lt(o3 - -22, e3);
483
+ return ht(o3 - a2, n3);
484
484
  }
485
485
  function d2(t3, e3, n3, r3, o3) {
486
- return lt(t3 - -851, o3);
486
+ return ht(t3 - -678, n3);
487
487
  }
488
488
  function u2(t3, e3, n3, r3, o3) {
489
- return lt(e3 - c2, n3);
490
- }
491
- const g2 = et();
492
- function m2(t3, e3, n3, r3, o3) {
493
- return lt(e3 - -14, o3);
489
+ return ht(n3 - 188, o3);
494
490
  }
491
+ const g2 = it();
495
492
  for (; ; ) try {
496
- if (502875 === parseInt(h2(0, "rx9)", 0, 0, t2)) / 1 + -parseInt(h2(0, e2, 0, 0, n2)) / 2 * (-parseInt(m2(0, r2, 0, 0, "pmYx")) / 3) + -parseInt(m2(0, 329, 0, 0, "!xjD")) / 4 * (parseInt(d2(-o2, 0, 0, 0, s2)) / 5) + parseInt(m2(0, i2, 0, 0, a2)) / 6 + parseInt(h2(0, l2, 0, 0, 362)) / 7 * (parseInt(u2(0, 1153, "pmYx")) / 8) + parseInt(d2(-544, 0, 0, 0, "4kEp")) / 9 + -parseInt(m2(0, 223, 0, 0, "E02)")) / 10 * (parseInt(d2(-632, 0, 0, 0, "o%I7")) / 11)) break;
493
+ if (131003 === -parseInt(h2(0, 0, "rvOd", 0, t2)) / 1 + -parseInt(l2(0, 0, 0, "Bqhn", e2)) / 2 + parseInt(l2(0, 0, 0, "Uegi", 1403)) / 3 * (parseInt(l2(0, 0, 0, "bFhl", 1430)) / 4) + -parseInt(d2(-n2, 0, "*Q*O")) / 5 * (parseInt(u2(0, 0, 594, 0, "X0sR")) / 6) + -parseInt(u2(0, 0, 608, 0, "^ox!")) / 7 * (-parseInt(c2(0, "L]BG", 0, 0, r2)) / 8) + parseInt(l2(0, 0, 0, o2, s2)) / 9 + parseInt(c2(0, "X0sR", 0, 0, i2)) / 10) break;
497
494
  g2.push(g2.shift());
498
495
  } catch (t3) {
499
496
  g2.push(g2.shift());
500
497
  }
501
498
  })();
502
- const Y = () => {
503
- const t2 = "bGSG", e2 = 721, n2 = 710, r2 = 772, s2 = 699, i2 = "o%I7", a2 = 425, l2 = 823;
504
- if (typeof window === g2(703, 712, 653, 739, "(s&^")) return window[c2 = t2, h2 = 1140, lt(h2 - l2, c2)][g2(e2, n2, r2, s2, "hHq9")];
505
- var c2, h2, d2, u2;
506
- function g2(t3, e3, n3, r3, o2) {
507
- return lt(r3 - a2, o2);
508
- }
509
- return o[d2 = -361, u2 = i2, lt(d2 - -737, u2)]();
510
- }, Q = () => {
511
- const t2 = 743, e2 = "v0gW", n2 = "v0gW";
512
- function r2(t3, e3, n3, r3, o2) {
513
- return lt(o2 - 502, r3);
514
- }
515
- return Y()[r2(0, 0, 0, "q#wa", t2)](r2(0, 0, 0, e2, 767)) || Y() === lt(-753 - -969, n2);
516
- }, Z = (t2, e2) => {
517
- const n2 = "hHq9";
518
- function r2(t3, e3, n3, r3, o3) {
519
- return lt(n3 - 39, r3);
520
- }
499
+ const K = () => {
500
+ const t2 = "rvOd", e2 = "ME^C", n2 = 346;
501
+ if (typeof window === ht(813 - 443, "4KzE")) return window[i2 = t2, a2 = 392, ht(a2 - 45, i2)][r2 = 985, s2 = e2, ht(r2 - 497, s2)];
502
+ var r2, s2, i2, a2, l2, c2;
503
+ return o[l2 = "sn6m", c2 = n2, ht(c2 - -21, l2)]();
504
+ }, X = () => {
505
+ const t2 = "2LsP", e2 = 907, n2 = "4sUc", r2 = 456;
506
+ function o2(t3, e3, n3, o3, s2) {
507
+ return ht(s2 - r2, n3);
508
+ }
509
+ return K()[o2(0, 0, t2, 0, 964)](o2(0, 0, "bFhl", 0, e2)) || K() === ht(1105 - 675, n2);
510
+ }, Y = (t2, e2) => {
511
+ const n2 = "2LsP", r2 = 477;
521
512
  function o2(t3, e3, n3, r3, o3) {
522
- return lt(e3 - -981, o3);
513
+ return ht(n3 - 909, o3);
523
514
  }
524
- return { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => r2(0, 0, 291, "6GeL"), getExceptions: () => {
525
- return [(e3 = -353, o3 = n2, r2(0, 0, e3 - -740, o3) + t2 + "'")];
526
- var e3, o3;
515
+ return { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => o2(0, 0, 1272, 0, "czR3"), getExceptions: () => {
516
+ return [(e3 = 508, r3 = n2, o2(0, 0, e3 - -805, 0, r3) + t2 + "'")];
517
+ var e3, r3;
527
518
  }, hasExceptions: () => true, isValidFor: (t3) => false, isValid: () => false, isEval: () => false, getFeatures: () => {
528
- return Object[t3 = "d0jh", e3 = 165, lt(e3 - -95, t3)]({});
519
+ return Object[t3 = 990, e3 = "a(%1", ht(t3 - r2, e3)]({});
529
520
  var t3, e3;
530
- }, getKeyFrom: () => t2, getBuildVersion: W[o2(0, -627, 0, 0, "d1ko")], getBuildDate: W[o2(0, -761, 0, 0, "*VHz")] };
531
- };
532
- function tt(t2, e2, n2, r2, o2) {
533
- return lt(t2 - -25, e2);
534
- }
535
- function et() {
536
- const t2 = ["E8kZCmonyqbUsCkVrG", "WPfMWQnTWQ7dKq", "WOn/WOKCysDNW6yuWPFcUexcNW", "bMpdLKBcM0/dVmo2WPhdMCkc", "WRtcKHddSCkcdmkSwq", "W6OwWQehWRfEWQ/cGmkrW7BcOKW", "W4u1W5DPaGSyxmk+Dg/cLri", "FmoIagDsW7/dVMBcPgSCW54H", "WPtcQCkfj3/cVmoleSo/hq", "W4hdMc3cJCkZWRWaqZeNC8opF8oifCohbsG", "W4ldRYyIAmoTfrpcKCk9", "W6G2m8oTrSo3scC5sCkWrq", "i8k/qHqfWRNcRN3cPw8", "yNyRoq", "WOLRgGq", "W7C9vSoJW54RWP54dhRcISkuWQxdMG", "WQxdVmoUyc0iWQu", "wdFcJbhdNhu", "W4qNW6PdhG0", "WRuOmmoEW73cNSobi8oQWQVdR1O", "W7KpWRalWRfzWOJdGCkAW6dcT1D3WRKLWORdSuL9", "vYlcLZxdH2JdGCof", "W5e0jmoHuSoM", "w8o/uCkGudKR", "W6qKBuW7iCkuWPRcMCoj", "eSkOWO3dQWldG04", "cW3dH8odWRGR", "W541f8oLrmoQBG", "W6PtWP/dJstdKgOaWR1k", "W5hdQmk3cZJcKq", "W4/dPXaqW6lcNdCTW7xcQmoY", "WQbFyblcJCk8W4CaWOX9WO1oW4K", "W6ddIZJcGmkVWRehEIWGpCo3C8op", "WO3cImk9WOnyWRa", "W6VcN2mWmG7cImoUW4xcKSoC", "WOvfW5BcQt/cO8oiW4ldLCoKW5KpW5TzgLuod2vhW5pdLmkqWQ0VW6xdTa", "B8oSjMC", "WQzbgr44W6ddNfhdNW", "W6q6W7PKWPKKAWNcMvm", "WPOlWOtdSf7dUrjBva", "WP7dQCoOAcOq", "W6CsdSk/WQ9oyX0rW5JdOGqPuSoo", "W4C0kmoQxmohBZi2tSk5ra", "d8kSWPJdMbxdQLu", "DSo+sSkGvt48xtFdSNb/hLHRWOKRW54", "W7NdPMDjWQ/dGMBcKue", "W7pcQmkUmxC2WOuhA11m", "n8kIW5tdGrNdJ0BdGCkoj8kpcCoMWQnVW7GZWRBcLG", "W4xcQ8o4CYbkWRDgW4tdMghdMmkCsSoJW5pcT8k0jW", "W4hdS2fUWQ7dKG", "W6VcJ8k1EdKNuSoQW6FcUXBdUCkc", "WQzOcaa+W7ddKNRdPq", "dCkLsSk5EGC9dq", "WO3cMCkOWRPjWRRdTSkMW7NdKq", "W480WQT8WPVdV8oqlG", "WQHoW5tcQtRcPSoFWRldQ8oKW5qEW5bo", "W481W4PchXOTxSkJC3tcNGu", "W7SRW7vXWPK/", "WR4Kj8o5W6BcHmoidmolWRm", "WR3cHqpdUCkeha", "W6mHW5D5WO42uaxcQvRcGdLBWO7cO8oTWQVcGa", "WOxcRCkDfN/cJSoC", "WR9FW4hcUIFcUCo7WOVdRCoL", "W7aRW69zWR4", "lmopsSkgWRZcOG7dQCoLWOmu", "p8ostCkoWQhcHZZdS8oKWPqd", "WPtcQCkfiw/cOCogh8oxd8owta", "W64yhSkyWPnd", "W4C0kmoQxa", "W7yEcCkuWQ4h", "hSkOWPRdIaldJvFdISkZlColhmoDWQG", "ACoXWO3dUHpcRSkdvSo1ca", "rcFcKr4", "WRv8pbezCq", "W5tdVSkxaYJcNa", "WPXWdr8aW73dH2y", "W4C0kmoQxmobAYG5qSkN", "WPnBW5lcOt3cVG", "W7bFWPfeW63cICo7dxBcVqeCe8k3", "W4OXW5bUdWersmkCEhlcIaJcTCk2", "W5VdOCk2aZ4", "D8o3lg/dV8kRW57cUCkJW4K", "lgqzW5pdItDrWRpcGmkdW4y", "W7ORBSoPW5yH", "WRzbzbRcJ8kHW6DfWPr1WODhW5rVWRrCc8kTwmkX", "W6pdPYi3EmoafdhcGSkTW78tWOxdJG", "W5ywzSknWO3cUq", "rZFcLJ3dJwq", "vLlcGSkTW64/d8koA8k2WPW", "wLBcGCkHWPCPnCkVBSkA", "WPJcS0DmWR/cOHakW6xcS8oYu08", "W5RdQmkTlJNcKmkdW63dRfJdVwi", "l8oMmSk6num4vSkTB8odDCoF", "WPT/bWiYW6BdO3ZdQx07mCkL", "ymoptmkZvIm3iG0", "CSo+dsuaWRVdGs3cMeH7W5pdSG", "WO5xfmovW5ZdU8kVjhm", "h8oXW7ddMJS5WPG8CW", "WPLHWR1kWRJdJmo7pmo7WQldPY1NW61t", "WQ92WQ0HW59LdrlcGeZcSrLy", "lSo9WPXYW4pdV0iya8kxWOfe", "W63dS39UWRq", "CCk3WQhcJJ8RWP4Iz8oO", "WPn0W5dcUJZcVSodWR3dHG", "DCkYWQJcHgOrWO4DB8o7pq", "WQewW5nMA8k7W6zkmwtdKSomcW", "W4NdRxy9Dmov", "W4uuWRWdWRzzWOG", "fheFW7ZdGIjHWQpcHSkhW5W3WRK", "W6biWOXeW6G", "W79FWPXJW7BcISoL", "W4/dPM14WRZcQqG1", "W47dUCk4hJJcISk4W6ddNfe", "WR5oW4tcVtdcRW", "W7RcNSk3FYG", "W7iAbLNcSmkSE8oVkmogW6vioW", "WQpdNdLMCsZcNSoYW5lcMCo5W4a", "W5hdMcHSDmoKrqa", "ECkUDmoGDG0", "WPBcVKeMfNbs", "WOhcUuKIc2zntGhdO8o8yfZdLf7dNCocWPhdGW", "utZcHGxdV3tdM8oz", "W7/dJmo2W4e1W5X3", "WPahWPpdTLJcOLaq", "WRffsmomW68wpZqTW6NdNryn", "W7HvWOi", "EmoXixNdVSk0W57cPCkVW4tcHuJcVt5VrSk+mSkm", "W70zWPldUwBdU8kCWQ/dS8ozW7ClW7G", "jCo/W6hdNYaK", "imk/qJejWQhcVa", "W5Olvq", "W6CsdSkPWRnkAG", "W7FdRwvMWQZdJ2C", "W67dSxXQWQNdLwy", "pmk7WPxdGvddOeRdJmkylmoChmk0WOD8W6G", "W63dNqNcL8kNWRe", "mmoytCkpWRZcIa", "WPnkFbZcL8kG", "cSk5WPxdNWtdN3tdHSkjkG", "b8kXW4/cQXdcRmkMxCoQag7dJq", "W5VdV8k8ctBcNa", "WOdcUmkqf2/cUW", "W7ZdJmo2W7q1W51HAYP8WOSJnqy", "g8kQrdKoWRNcI3hcVx0WW7Cc", "W78Xq8oJW5W3WOTwg0a", "W5mkqmkAWOdcVCoWEty", "W67cI8kVvcK8BSo8W4RcTbBdUq", "g8kSWPRdGXxdNNpdNCkulmoBhmoW", "WP/cQCkFbg7cOa", "WPXOcaa", "W5JdSIq/F8oyjqdcNSkQW7qv", "W7NdPMDfWRxdJ2/cVhmGW4xcVSkVrLm", "kSkKW47cRrlcRSkb", "WQe4nmoSW7RcKSoEnmo+WRJdSLfv", "WQreW5pcVd3cQ8obWOC", "W7fBWO/dUdJdIMe/WR1x", "WOWBWOpdUW", "W7u9qCoYW4C2WOTU", "s8o4WOldLtpdVeBdNW", "W4jeWO3dSt/dNwuaWR0", "WRhcVKeQcNbizrq", "W5KdWR0jWQTc", "t8k5yef1WO7dPr3cPG1ZbSkSW7tdSCkAW4NdQCkKWRxdTCoqWR9+WR0", "WOJcJmkLWR1yWO/dLW", "WPOCWPxdTKZcTa", "W67dTMbV", "FSkQEvK", "ACo6cIWrWRVdGtpcN0rFW5JdUa", "DCkLsSoMybe", "W6aWrCoJW4y8WOi", "W4OXW5bNhXe", "wSoMxCkT", "Emo3iYtdVCkGW4/cL8kJW5JcNG", "WQboW47cRYFcOG", "WPVcRCkcjMlcQ8opc8oNb8onr8oo", "W7affCkqWRnuAG", "WPbTpW07W73dLW", "CCo/hmknudq9eYhdRYbDcua", "WQToW5tcJdBcVSonWOVdTCo+", "q8kMDSoGAGa", "WOykWR1SD8kU", "W50MW4TbeXSy", "g8kQrdKoWRK", "W4VdOCohW5aiW6LE", "W5rCWPRdVdRdKgbuWRXbW5idECo4", "kCoIqmotyG1hBq", "CMOVpsddMdS", "W4WFjeJdKSo/WRqtWPzgWPDtW5q", "WPdcMIv1s8onzW", "dSoOWRhdKJ0WWPGHEmo9AxdcHmkrW53dQ8kMW5/dQJK", "WRapWPjVESkVW65mnq", "lmoptmkfWQhcKWO", "W5VdNJ7cImkOWQKWtYOOoSoVzq"];
537
- return (et = function() {
538
- return t2;
539
- })();
540
- }
541
- const nt = (t2, e2, n2, r2) => {
542
- const o2 = 593, s2 = 317, i2 = 81, a2 = 51, l2 = 322;
521
+ }, getKeyFrom: () => t2, getBuildVersion: H[a2 = -241, l2 = "^ox!", ht(a2 - -751, l2)], getBuildDate: H[s2 = 217, i2 = "rvOd", ht(s2 - -216, i2)] };
522
+ var s2, i2, a2, l2;
523
+ }, Q = (t2, e2, n2, r2) => {
524
+ const o2 = "a(%1", s2 = 194, i2 = 53, a2 = 615;
525
+ function l2(t3, e3, n3, r3, o3) {
526
+ return ht(t3 - a2, o3);
527
+ }
543
528
  function c2(t3, e3, n3, r3, o3) {
544
- return lt(e3 - l2, n3);
529
+ return ht(t3 - 586, n3);
545
530
  }
546
531
  function h2(t3, e3, n3, r3, o3) {
547
- return lt(o3 - a2, t3);
532
+ return ht(r3 - -576, o3);
548
533
  }
549
534
  function d2(t3, e3, n3, r3, o3) {
550
- return lt(n3 - 230, t3);
535
+ return ht(o3 - i2, r3);
551
536
  }
552
- function u2(t3, e3, n3, r3, o3) {
553
- return lt(e3 - -468, n3);
554
- }
555
- return { getLicensee: () => t2[c2(0, 565, "nn[F")], getExpiration: () => new Date(t2[c2(0, 694, "bGSG")]), getDomains: () => t2[d2("czO$", 0, 469)] ?? [], getDeveloperCount: () => t2[d2("yJ9!", 0, 558)] ?? 1, getCpuCount: () => t2[c2(0, 656, "q#wa")] ?? 0, getType: () => t2[h2("ft&c", 0, 0, 0, 377)] ?? u2(0, -188, "czO$"), getExceptions: () => e2, hasExceptions() {
556
- return !!e2 && e2[t3 = i2, n3 = "q#wa", lt(t3 - -411 - 162, n3)] > 0;
537
+ return { getLicensee: () => t2[l2(948, 0, 0, 0, "hO63")], getExpiration: () => new Date(t2[l2(1064, 0, 0, 0, "gEfi")]), getDomains: () => t2[d2(0, 0, 0, "4sUc", 407)] ?? [], getDeveloperCount: () => t2[d2(0, 0, 0, "4g!Q", 451)] ?? 1, getCpuCount: () => t2[d2(0, 0, 0, "V)Xr", 408)] ?? 0, getType: () => {
538
+ return t2[e3 = "VG)a", n3 = -107, ht(n3 - -626, e3)] ?? c2(962, 0, "MI[X");
539
+ var e3, n3;
540
+ }, getExceptions: () => e2, hasExceptions() {
541
+ return !!e2 && e2[t3 = "bFhl", n3 = 383, c2(n3 - -622, 0, t3)] > 0;
557
542
  var t3, n3;
558
543
  }, isValidFor: (t3) => {
559
- if (e2?.[n3 = "FmSX", r3 = 234, d2(n3, 0, r3 - -252)] > 0) return false;
544
+ return !(e2?.[n3 = s2, r3 = "2LsP", l2(n3 - -826, 0, 0, 0, r3)] > 0);
560
545
  var n3, r3;
561
- return true;
562
- }, isValid: () => true, isEval: () => false, getFeatures: () => Object[d2("nn[F", 0, 514)](t2[u2(0, -191, "yJ9!")] ?? {}), getKeyFrom: () => n2, getBuildVersion: W[c2(0, o2, "6GeL")], getBuildDate: W[h2("TZPZ", 0, 0, 0, s2)] };
563
- }, rt = (t2) => {
564
- const e2 = 24, n2 = "AJ8u", r2 = 209, s2 = "d1ko", i2 = 81, a2 = "L40y", l2 = "d0jh", c2 = 758;
565
- function h2(t3, e3, n3, r3, o2) {
566
- return lt(e3 - c2, t3);
567
- }
568
- function d2(t3, e3, n3, r3, o2) {
569
- return lt(t3 - -281, n3);
570
- }
571
- let u2 = o[h2("ZMbO", 1081)];
572
- if (Q() || o[g2("d0jh", e2)]()) {
573
- const t3 = W[g2(n2, r2)](), e3 = new Date(t3), o2 = /* @__PURE__ */ new Date(), a3 = 864e5;
574
- Math[d2(-81, 0, "d0jh")]((o2[g2(s2, i2)]() - e3[d2(-39, 0, "hxP]")]()) / a3) >= 120 && (u2 = [g2("leer", 112)]);
575
- } else u2 = [];
576
- function g2(t3, e3, n3, r3, o2) {
577
- return lt(e3 - -170, t3);
578
- }
579
- return { getLicensee: () => h2("d2P&", 1080), getExpiration: () => null, getDomains: () => [Y()], getDeveloperCount: () => 1, getCpuCount: () => 0, getType: () => h2("N&36", 1027), isEval: () => true, getExceptions: () => u2, hasExceptions: () => u2[d2(-24, 0, "4kEp")] > 0, isValidFor: () => 0 === u2[g2("o%I7", 200)], isValid: () => false, getFeatures: () => Object[h2("kN0$", 1093)]({}), getKeyFrom: () => t2, getBuildVersion: W[h2(a2, 957)], getBuildDate: W[m2 = -280, f2 = l2, lt(m2 - -491, f2)] };
580
- var m2, f2;
546
+ }, isValid: () => true, isEval: () => false, getFeatures: () => Object[l2(980, 0, 0, 0, "c(ne")](t2[h2(0, 0, 0, -80, "a(%1")] ?? {}), getKeyFrom: () => n2, getBuildVersion: H[d2(0, 0, 0, "4g!Q", 388)], getBuildDate: H[h2(0, 0, 0, -183, o2)] };
581
547
  };
548
+ function Z(t2, e2, n2, r2, o2) {
549
+ return ht(n2 - 387, t2);
550
+ }
551
+ const tt = (t2) => {
552
+ const e2 = "Uegi", n2 = 10, r2 = "B2]e", s2 = 5, i2 = "rvOd", a2 = 1157, l2 = 1325, c2 = "HC(p", h2 = "a(%1", d2 = "ujm6", u2 = "Dk$W";
553
+ let g2 = o[_2("a(%1", 1299, 1278)];
554
+ function m2(t3, e3, n3, r3, o2) {
555
+ return ht(t3 - 881, o2);
556
+ }
557
+ function f2(t3, e3, n3, r3, o2) {
558
+ return ht(o2 - -334, n3);
559
+ }
560
+ function p2(t3, e3, n3, r3, o2) {
561
+ return ht(e3 - -604, r3);
562
+ }
563
+ function _2(t3, e3, n3, r3, o2) {
564
+ return ht(n3 - 825, t3);
565
+ }
566
+ if (X() || o[f2(0, 0, e2, 0, n2)]()) {
567
+ const t3 = H[f2(0, 0, r2, 0, s2)](), e3 = new Date(t3), n3 = /* @__PURE__ */ new Date(), o2 = 864e5;
568
+ Math[_2(i2, 0, a2)]((n3[m2(l2, 0, 0, 0, c2)]() - e3[f2(0, 0, h2, 0, 44)]()) / o2) >= 120 && (g2 = [_2(d2, 0, 1204)]);
569
+ } else g2 = [];
570
+ return { getLicensee: () => f2(0, 0, "X0sR", 0, 92), getExpiration: () => null, getDomains: () => [K()], getDeveloperCount: () => 1, getCpuCount: () => 0, getType: () => p2(0, -193, 0, "Agwo"), isEval: () => true, getExceptions: () => g2, hasExceptions: () => g2[_2("H8Uc", 0, 1183)] > 0, isValidFor: () => 0 === g2[_2("2LsP", 0, 1230)], isValid: () => false, getFeatures: () => Object[m2(1381, 0, 0, 0, "B2]e")]({}), getKeyFrom: () => t2, getBuildVersion: H[p2(0, -118, 0, u2)], getBuildDate: H[_2("H8Uc", 0, 1316)] };
571
+ };
572
+ function et(t2, e2, n2, r2, o2) {
573
+ return ht(r2 - -614, t2);
574
+ }
575
+ const nt = { promise: null, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
576
+ let rt = false;
582
577
  function ot(t2, e2, n2, r2, o2) {
583
- return lt(n2 - 260, o2);
578
+ return ht(r2 - 77, n2);
584
579
  }
585
- const st = { promise: null, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
586
- let it = false, at = false;
587
- function lt(t2, e2) {
588
- const n2 = et();
589
- return lt = function(e3, r2) {
590
- let o2 = n2[e3 -= 192];
591
- if (void 0 === lt.xowIxN) {
592
- const e4 = function(t3, e5) {
593
- let n3, r3, o3 = [], s3 = 0, i3 = "";
594
- for (t3 = (function(t4) {
595
- let e6 = "", n4 = "";
596
- for (let n5, r4, o4 = 0, s4 = 0; r4 = t4.charAt(s4++); ~r4 && (n5 = o4 % 4 ? 64 * n5 + r4 : r4, o4++ % 4) ? e6 += String.fromCharCode(255 & n5 >> (-2 * o4 & 6)) : 0) r4 = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r4);
597
- for (let t5 = 0, r4 = e6.length; t5 < r4; t5++) n4 += "%" + ("00" + e6.charCodeAt(t5).toString(16)).slice(-2);
598
- return decodeURIComponent(n4);
599
- })(t3), r3 = 0; r3 < 256; r3++) o3[r3] = r3;
600
- for (r3 = 0; r3 < 256; r3++) s3 = (s3 + o3[r3] + e5.charCodeAt(r3 % e5.length)) % 256, n3 = o3[r3], o3[r3] = o3[s3], o3[s3] = n3;
601
- r3 = 0, s3 = 0;
602
- 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]);
603
- return i3;
604
- };
605
- lt.xQDjyJ = e4, t2 = arguments, lt.xowIxN = true;
606
- }
607
- const s2 = e3 + n2[0], i2 = t2[s2];
608
- return i2 ? o2 = i2 : (void 0 === lt.lxNyed && (lt.lxNyed = true), o2 = lt.xQDjyJ(o2, r2), t2[s2] = o2), o2;
609
- }, lt(t2, e2);
580
+ let st = false;
581
+ function it() {
582
+ const t2 = ["hcRdRqtdKXPg", "u8oBd1G", "W6dcKSkBACoqW4Lndmk3W7tdR8kRC30wW6BdKGG+", "W5dcU0jhW5q1WQFdIeOgzG", "eSk0WOtcLNFcMq", "WPOJWQldOCkwWO7cMW", "ow3cH3BdGmo3WRNcPZmA", "WQFcLCkzW5WinmoXW50NCG", "WPuMj8k1W7/dK8o1", "CvZdOYnzWQy", "evdcStemW4BcG1pdVeS", "W7pdPIa3WPSRWQy2WOJdGuODrL1keSkfWQi", "wwSbW4TfWQW", "pZZcKNtdQN3dUmobWOVcJCkhW7G", "W6FdGYqNWPGwWP0NpxZcSSklW54", "a8oFlJKGcX3dHSkL", "vSoxCvz3BW", "l8orWOG9wbJdNa", "WPf9WPdcP8k5W7D+WQZdJdRcKCoZ", "W4jUwMyBjZtcSXNdMCooCmom", "WR7dUbqDWO0sWPFdQKK", "bINcLh7dRchcNCkoW4O", "eJZdJYVdKbDhWOFcUa", "W44jAmoCWRFdS8oDW4OxbCon", "EmkyW73cMXK3W54", "bKFcRbSDW7BcH07dSve1pG", "WQelfSk2W47dQSonW6LSWQ5n", "pXpcKg/dQ33dLCo/WRO", "z8kdWQTJBWJdKKxdIMC", "ELZdUrbeWQmN", "W6pcOmoIWOSDW7frWRO+hCk9W6zu", "m8okWOq1xXJdNmkjWRr2", "nHOYW5e", "gr8ZW5beCCkFW6u+CLNcHmov", "WROlhadcGSk0", "lmoxWOyIrrJdRSkRWQvN", "eSk+WONcKg/cMqvHW7q", "W54tWQxdT8kvWPVcUCkTeWLPnNO", "FfVcUCkugCkZqSopWPVcRG", "WRFdMCkjWRS", "sSoDWRaucCoW", "C07cSmkPWRtcGfddJJtdN8oLBvZcVq", "WOlcPNzTW596W6ipWQJdNXi/Dq", "W65axvZdG8o9WQNdLe4eW5OM", "W6P2iWezW5L5D8o/WRlcGCoPAf7dO8kzWPFdM0y", "hmkTW6JcPSk6W4i", "W5/dOW80WOOV", "W67cQXnActWZeSkGlYaBW44", "W4pdGK/dKqNdHa", "o8ogWPmXwaFdISksWQnMfSooW5tdSG", "WO4Gc8kiWPKsxuhcHxiuWR0yWPm", "W550sCoCW4zlv0lcOwWwWQS", "bvdcSt4mW4S", "uW4UDCkbBYm", "WOzQWOVcImkLW613", "qSkyAN8", "bcNcLhZdRwxdICoWWPFcISkmW74hW5u", "W5ldTtu6WOCMWQe", "yCkyW6dcQaG9", "omkpocbJBSoLb3jr", "W49SdGStW48", "W4jUwMCmoJZcQbBdNSkhBmosCmkkBCkNWRZcPIC", "s8khWRH4Dq8", "DCkOW7VdKmovW7VdJc1zW74", "WRtcKdGzWPmsWP04", "imkEibrLCSoF", "W4qRW5ZdKCo/WQXiWQZdPHZcRCox", "bsVdLaJdLGbh", "u1pcImkNWRZcJa", "WQFcHmkmW6ivjmodW5OGF8oLA3S", "BmotW6m6fmoQq1/cICksWPBdLZ4", "WR3dUfaUtwvVjSk5oIOgW70ItW", "ymoxW6qEbCoLvq", "whC8W5bpWQH+W7y", "WQFcICkDW4Sip8okW6S/C8onA2ZdGYFdONBdOCo+", "lmogWPmBvbi", "W4f6ncycW4nWm8oEWQVcHCoL", "e0vLW43dOKq4ssP/W7Lr", "W4lcMmovySonW4i", "WPJdICkkn8klWP5mg8kVW5lcV8kk", "t8oKW53dHZpcSJTeW6zdnG", "x1pcQmkufCkavCoo", "iGO1W5HdACkOW5a4EL7cNmodWOK", "h0BcGamiW54", "o3dcG1VdL8o6", "jCkVW7/cQSkUW5m", "WQFcHCkRW5xcPeqmsmo5", "W53dMfJdNa", "Av3cGgJdJ8o1WP8", "WQDpmCkcWQZcIt9Nta", "ESkUW7BdK8osW6/dUHjtW7xdGG", "W50eWRJdLCkiWRRcVCkTdGLq", "wuNcQSoMWRtcKudcIZxdMmo7", "CCkzWQ5ItbldSuq", "WO3dNmotWR/dVg3dSYTXbSo/WRTq", "W4OtWQxdUCkjWPhcSmkNnGLqigRcHZi", "WRpdRMeAwwa", "wSktW7lcVaCXW5CyWP3dVmoBFqLzAg7dRJ0", "x0tcRmkfgSkx", "CSoBW6mwgmkP", "e1VcSW", "WO7cKSkMW4ZcQgyB", "wwSzW4vnWQb3", "W63cQmoVWOawW7bKWOmYcG", "mHyXW5W", "ELZdUqzyWQCUl1tcTsFcGW", "rSk3W7NdMCosW6ZdIbjz", "W4GoWQhdKSkoWOe", "WPb0WOVcISk+", "WPxcOSoYW5Dos8kmFa", "umkmD3L1v33cMSo9gs1ZW4W", "y8oxW6q9gCoGsKVcQ8kEWOVdIItdMSoN", "W4ldVW00WO0RWR46WQpdJH40FePDfCkyWQa", "WQpdICkoWRldKmoBtmo2zaddM8kXW4NdPq", "zvdcTmkHWRBcNxdcIYtdKCoHyey", "jmk4W67cJCkHW581saH4WPFcRW", "WP3cJ8koW48qlSocWPq/C8onA2ZdGYFcNxBdOCo+cG", "W6bKfgqxpW", "WONdLmodWP/dQN3dSXbGfG", "z8kyW7ZcQq", "crWQq8kGrq", "WRuZhSkfWPKAt2xcKG", "WO0Gc8kTWPukt3JcM2G", "WPP3WOFcHmk4W7D9WQy", "kmocWPqaqWldL8k2WRrR", "W44QW4/cQrxcQmkTW6BdKwaHf8kl", "WQFcG8k4W5dcO1qPwCoOoCoXFci", "dmk0WPNcNM/cHW8", "WQb4g1Pdkmo8fmouetxdM8kW", "WPBdJComWPpdSa", "vSkcDhz5s14", "wvdcS8klWRFcNfRcMG", "W7hcMmolW6hcI8kdw8oFFsRdHCku", "WPBdICobWO7dSx0", "W4P6lGmdW4i", "W7xdKcuKWPqxWQG", "WOxdOrGqWO0yWOu", "qSoFb1K", "W40QW4ZcSq", "tbbaw04qmq", "xSkiD3bKtq", "W6pdKc8SWOCb", "gCk0WP7cS3BcMaz2W5zhnSoElSodWRW", "rIxcOZ/dVW", "aftcQqamW7tcLa", "BmokyLz1oW", "WOuNfCkmWPmk", "oZBcMYNdLHbhWQdcR8opWOFcSZtcHG", "bJ7cHxJdVMW", "jSkWW4tdGCoYWO9XFYiSu8oI", "W7xcN8ocW6FcISkfzCocEc7dVCke", "EG5eu0Wn", "W4lcRSoHWOGnW61OWRWU", "dmoRWQivztpdTCkDWP1go8o/W7/dHudcG8oOW5v/", "xLpcVCk0cCkFvq", "WOmya8kCW57dQSonW7vXWQuEnWFdM8kmrmk9WOddGCkoWRqOWQJdLcy", "xuxcSSkdWR3cKa", "WP1xjSk4WQtcNW", "pCkwnqOVlGLmaCoxWPrn", "W44zWR/dImktWPtcUCkucrHkhwZcUZpdICkiW706", "WQFcG8k4W5dcO1q", "WQFcG8k4W5dcO1qVxCoYnSo9yG", "bComjg3cH30S", "W7XZe20x", "WOJcGCkLW5tcPfmi", "uNKHW4PeWRTdW6ffsCobySkJ", "W63cRSoR", "u1Pvfmo8eIhcJHaZy1q", "WOjQWO3cHmkG", "xLpcVCkIfCkBxmozWR7cTSkGea", "W7LambyyW55Zcmof", "WQddICkuWRBdI8ows8odwaBdKCkGW6xdPq", "ymkvW6hcUb8GW58", "WQilfSkrW4ldP8ok", "ymoxW6yAamoMvKRcJ8k4WPBdJcpdGq", "WRhcJ8kCW50RlSosW5W", "BCobW5ujdCoL", "WPZcNHRcGxpcKmkHm8knrSksW7G", "qw3dNvddOSo9WQHHB8ohWONdH8kyDcdcSa", "ELZdUqbiWROJiNZcPW", "xCkzWRXWDXldOqZdSMzRWPTjoGnIW5/cQrrscdRcJCkNWPddOmk7", "EmksWQr2BXm", "WOFcOJmlWOa8WOiY", "BuVdPcPzWOONp3hcVt/cLq", "qrTcw0SvjSoby8ovvGKvnG", "W44VW5pcSbm", "sutcPSkncCkbvq", "Fmk3W7NdMq", "kwRcTqCgW4BcJwxdJW", "FCoKWOBcVmkYW55KqYiIDSo9W4W", "tmknW7BcTauSW7fzWPBdQSoozG"];
583
+ return (it = function() {
584
+ return t2;
585
+ })();
610
586
  }
611
- const ct = X(0, "nWbd", 0, -245)[q(0, 0, 151, 0, "6GeL")]("")[q(0, 0, 163, 0, "hHq9")]((t2, e2) => e2 + t2, "");
612
- class ht {
587
+ const at = ot(0, 0, "V)Xr", 584)[ot(0, 0, "d]q9", 430)]("")[J("jyX7", 0, 0, -68)]((t2, e2) => e2 + t2, "");
588
+ class lt {
613
589
  constructor() {
614
- const t2 = 381;
615
- function e2(t3, e3, n2, r2, o2) {
616
- return X(0, t3, 0, e3 - 635);
617
- }
618
- this[e2("sEBa", 312)][e2("k[@^", t2)] = null;
619
- }
620
- async [q(0, 0, 245, 0, "m2Fy")](t2, e2 = false) {
621
- const n2 = 17, r2 = 85, s2 = 102, i2 = 23, a2 = "d0jh", l2 = 197, c2 = 194, h2 = 182, d2 = 305, u2 = 174, g2 = 33, m2 = "q#wa", f2 = 333, p2 = "nWbd", _2 = "!h00", S2 = 24, w2 = 177, y2 = 144, E2 = 138, C2 = 152, b2 = 90, v2 = 18, x2 = 20, I2 = 152, R2 = 183, A2 = 298, M2 = "#42)", T2 = "ft&c", N2 = 104, F2 = 27, k2 = 65, O2 = "N&36", D2 = 3, L2 = "ho@8", B2 = 130, z2 = "4kEp", P2 = 299, W2 = 335, H2 = 1014;
622
- if (!t2 || t2[$2(n2, 95, 21, "hHq9")]($2(r2, s2, 41, "d1ko")) || t2[$2(i2, -48, -30, a2)](Q2(-142, -4, "xu6X", -95, -62)) || t2[Q2(71, 113, "k[@^", l2, 111)](V2(c2, "L*bg", 261, 139, h2)) || t2[$2(-40, -22, -4, "LXf#")](V2(d2, "sEBa", u2, 260, 244))) return it = true, o[Q2(30, 121, "nriX", 13, g2)]() && await G[$2(-160, -73, -30, m2)](t2, e2), await this[V2(f2, "N&36", 326, 341, 317)](true);
623
- if (it = false, !e2 && st[$2(-84, -79, -77, p2)]) {
624
- const t3 = await this[Q2(1, -31, _2, -1, S2)]();
625
- if (t3[Y2(w2, y2, 190, "kN0$", E2)]() && !t3[V2(180, "d2P&", 143, C2, 208)]()) return t3;
626
- }
627
- function V2(t3, e3, n3, r3, o2) {
628
- return K(0, 0, e3, o2 - -1004);
629
- }
630
- function $2(t3, e3, n3, r3, o2) {
631
- return q(0, 0, e3 - -210, 0, r3);
632
- }
633
- var j2, U2;
634
- st[Q2(b2, v2, _2, n2, x2)] = t2, st[V2(I2, "L*bg", 229, 114, R2)] = V2(A2, M2, 149, 240, 240), st[Y2(41, 97, 96, T2, N2)] = null, st[j2 = "6GeL", U2 = 730, X(0, j2, 0, U2 - H2)] = null;
635
- const J2 = await this[Y2(40, 52, F2, "m6tR", 108)]();
636
- function Y2(t3, e3, n3, r3, o2) {
637
- return X(0, r3, 0, o2 - W2);
638
- }
639
- if (!J2[Q2(k2, 133, O2, -50, 41)]()) throw await this[Q2(93, D2, L2, B2, 47)](true), new Error($2(0, -76, 0, z2));
640
- function Q2(t3, e3, n3, r3, o2) {
641
- return q(0, 0, o2 - -185, 0, n3);
642
- }
643
- return await G[V2(0, "k[@^", 0, 0, P2)](t2, e2), J2;
644
- }
645
- async [K(0, 0, "Otek", 1174)](t2 = false) {
646
- const e2 = 46, n2 = 65, r2 = "N&36", s2 = 71, i2 = 527, a2 = 496, l2 = 23, c2 = 759, h2 = "FmSX", d2 = 795, u2 = "L40y", g2 = 53, m2 = "LXf#", f2 = 5, p2 = "yJ9!", _2 = 804, S2 = "XsHz", w2 = "pmYx", y2 = 823, E2 = 594, C2 = 559, b2 = 732, v2 = "AJ8u", x2 = 403, I2 = 354, R2 = 378, A2 = 329, M2 = 54, T2 = "^]#0", N2 = 982, F2 = 954, k2 = 948, O2 = 187, D2 = 243, L2 = 314, B2 = 996, z2 = "o%I7", P2 = 1064, H2 = 981, V2 = "nn[F", $2 = 836, j2 = 601, X2 = "sEBa", et2 = "(s&^", ot2 = "TzRd", ht2 = "rx9)", dt2 = 834, ut2 = "AJ8u", gt2 = 931, mt2 = 509;
647
- if (st[Ct2(-333, -398, "d1ko", -382, -320)]) return st[bt2(0, -51, -58, "^]#0")];
648
- if (!this[bt2(e2, -30, n2, r2)][bt2(35, 140, s2, "LXf#")] && (this[Et2(i2, "hHq9", a2, 613)][Ct2(-156, -268, "AJ8u", -334, -241)] = new Error("FV")), st[bt2(-38, -17, l2, "E02)")]) return st[pt2(c2, 721, h2, 779, d2)];
649
- let ft2 = null;
650
- function pt2(t3, e3, n3, r3, o2) {
651
- return tt(o2 - mt2, n3);
652
- }
653
- st[Ct2(-387, -351, u2, -369, -314)] = new Promise((t3) => {
654
- ft2 = t3;
590
+ const t2 = "4Vkr";
591
+ var e2, n2, r2, o2, s2;
592
+ this[r2 = "H8Uc", o2 = 969, s2 = 920, dt(r2, o2 - 486, s2 - 429, s2 - 1361)][e2 = -471, n2 = t2, J(n2, 0, 0, e2 - -298)] = null;
593
+ }
594
+ async [J("^ox!", 0, 0, -89)](t2, e2 = false) {
595
+ const n2 = 1399, r2 = "4g!Q", s2 = 1294, i2 = 1367, a2 = 176, l2 = 1271, c2 = 1380, h2 = 1391, d2 = 52, u2 = 40, g2 = "rvOd", m2 = 1005, f2 = 1046, p2 = "tu^g", _2 = 1112, S2 = 1049, w2 = 1301, y2 = 1301, E2 = 1306, C2 = 1125, b2 = 1056, v2 = 1110, x2 = 1333, I2 = 1331, R2 = 319, A2 = "4KzE", M2 = 1219, T2 = 1327, N2 = 1232, F2 = 385, k2 = 131, O2 = 170, D2 = 92, B2 = "H2XI", L2 = 374, z2 = 1352, P2 = "MI[X", H2 = 1408, W2 = 1153, V2 = "[%A1", $2 = 1178, j2 = 1348, U2 = 203, q2 = "4g!Q", J2 = "a(%1", K2 = 177, X2 = "ME^C", Y2 = 1407, Q2 = 91, Z2 = 967, tt2 = 274, st2 = 1725;
596
+ if (!t2 || t2[ut2("%qxZ", 300, 230, 257)](it2(1475, n2, 1337, r2, 1404)) || t2[it2(1420, s2, i2, "2LsP", 1333)](ut2("PZLU", 134, 239, a2)) || t2[it2(l2, c2, h2, "[%A1", 1364)](lt2(d2, 108, u2, a2, g2)) || t2[ct2(m2, f2, p2, _2, S2)](it2(w2, 1274, y2, "MiSW", E2))) return rt = true, o[ct2(C2, b2, "V)Xr", 1124, v2)]() && await G[it2(x2, 1349, I2, "%qxZ", c2)](t2, e2), await this[at2(R2, A2, 312)](true);
597
+ function it2(t3, e3, n3, r3, o2) {
598
+ return dt(r3, e3 - 111, n3 - 43, o2 - st2);
599
+ }
600
+ function at2(t3, e3, n3, r3, o2) {
601
+ return et(e3, 0, 0, t3 - 588);
602
+ }
603
+ if (rt = false, !e2 && nt[it2(0, M2, T2, "d]q9", N2)]) {
604
+ const t3 = await this[ut2("Agwo", F2, 307, 328)]();
605
+ if (t3[lt2(217, k2, O2, D2, B2)]() && !t3[at2(L2, r2)]()) return t3;
606
+ }
607
+ function lt2(t3, e3, n3, r3, o2) {
608
+ return et(o2, 0, 0, e3 - 330);
609
+ }
610
+ function ct2(t3, e3, n3, r3, o2) {
611
+ return ot(0, 0, n3, o2 - 550);
612
+ }
613
+ nt[it2(0, z2, 1355, P2, H2)] = t2, nt[ct2(W2, 1040, V2, $2, 1107)] = it2(0, j2, 1299, "tu^g", 1374), nt[lt2(0, U2, 0, 0, q2)] = null, nt[at2(384, J2)] = null;
614
+ const ht2 = await this[ut2("^$9T", K2, 167, 242)]();
615
+ if (!ht2[it2(0, 1317, 1316, X2, Y2)]()) throw await this[lt2(0, Q2, 0, 0, "czR3")](true), new Error(ct2(0, 0, p2, 0, Z2));
616
+ function ut2(t3, e3, n3, r3, o2) {
617
+ return et(t3, 0, 0, r3 - 421);
618
+ }
619
+ return await G[ut2("4Vkr", 0, 0, tt2)](t2, e2), ht2;
620
+ }
621
+ async [dt("rbG9", -417, -340, -334)](t2 = false) {
622
+ const e2 = 835, n2 = "rvOd", r2 = 705, s2 = 817, i2 = "4Vkr", a2 = 1059, l2 = 1101, c2 = "rbG9", h2 = 644, d2 = "2o(D", u2 = 779, g2 = 671, m2 = "4Vkr", f2 = 728, p2 = 512, _2 = 418, S2 = "rbG9", w2 = 547, y2 = 605, E2 = 612, C2 = "%qxZ", b2 = "jyX7", v2 = 1021, x2 = 1064, I2 = 463, R2 = 621, A2 = 1058, M2 = 40, T2 = 76, N2 = 172, F2 = "ujm6", k2 = 533, O2 = 440, D2 = 871, B2 = "Agwo", L2 = 723, z2 = "d]q9", P2 = 90, W2 = 952, V2 = 9, $2 = 115, j2 = "MiSW", Z2 = 600, et2 = 567, it2 = "2LsP", lt2 = 69, ct2 = 1075, ut2 = "H2XI", gt2 = "bFhl", mt2 = 644, ft2 = "HC(p", pt2 = 940, _t2 = 849, St2 = 613, wt2 = 559, yt2 = 39, Et2 = "X0sR", Ct2 = 1084, bt2 = 543, vt2 = "B2]e", xt2 = 135, It2 = 384, Rt2 = 108, At2 = 201, Mt2 = 382, Tt2 = "Bqhn", Nt2 = 346, Ft2 = 27;
623
+ if (nt[kt2(-23, 1, "c(ne", 83, 58)]) return nt[zt2(e2, 839, 835, 847, n2)];
624
+ function kt2(t3, e3, n3, r3, o2) {
625
+ return dt(n3, e3 - Nt2, n3 - Ft2, o2 - 534);
626
+ }
627
+ if (!this[zt2(730, r2, 778, s2, i2)][Wt2(1124, a2, l2, c2)] && (this[Vt2(659, 566, 543, h2, d2)][zt2(u2, g2, 734, 815, m2)] = new Error("FV")), nt[zt2(823, 889, 798, f2, "%qxZ")]) return nt[Vt2(472, p2, 473, _2, S2)];
628
+ let Ot2 = null;
629
+ nt[Vt2(w2, 606, y2, E2, "H2XI")] = new Promise((t3) => {
630
+ Ot2 = t3;
655
631
  });
656
- let _t2, St2 = null;
657
- const wt2 = async (t3, e3) => {
632
+ let Dt2, Bt2 = null;
633
+ const Lt2 = async (t3, e3) => {
634
+ const n3 = 230, r3 = 337, s3 = 85;
658
635
  try {
659
- const i3 = ((t4) => {
636
+ const h3 = ((t4) => {
660
637
  let e4 = t4;
661
638
  const n4 = e4[e4.length - 1], r4 = n4.charCodeAt(0) - 52;
662
- 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();
639
+ if (e4 = e4.substring(0, e4.length - 1), e4 = e4.split("").reverse().join(""), e4 = q(e4), e4 = e4.trim(), e4[e4.length - 1] !== n4) throw new Error();
663
640
  e4 = e4.substring(0, e4.length - 1), e4 = U(e4, r4);
664
641
  try {
665
642
  e4.startsWith("{") || (e4 = "{" + e4);
@@ -668,192 +645,206 @@ class ht {
668
645
  } catch (t5) {
669
646
  throw new Error("Invalid license key.");
670
647
  }
671
- })(e3), a3 = await (async (t4) => {
672
- const e4 = "sEBa", n4 = 429, r4 = "Otek", s4 = 491, i4 = "nriX", a4 = "d1ko", l4 = "6GeL", c3 = 951, h3 = 841, d3 = 866, u3 = 260, g3 = 889, m3 = 940, f3 = 960, p3 = "^]#0", _3 = 555, S3 = 626, w3 = 610, y3 = "o%I7", E3 = "m6tR", C3 = "AJ8u", b3 = 517, v3 = 445, x3 = 455, I3 = "q#wa", R3 = 271, A3 = 325, M3 = 224, T3 = 381, N3 = 309, F3 = 445, k3 = 448, O3 = 441, D3 = "nn[F", L3 = "!h00", B3 = 837, z3 = 870, P3 = 885, W2 = 253, H3 = t4[V3(-336, e4)];
673
- function V3(t5, e5, n5, r5, o2) {
674
- return lt(t5 - -672, e5);
648
+ })(e3), d3 = await (async (t4) => {
649
+ const e4 = 257, n4 = 251, r4 = 220, s4 = 191, i4 = "0dBB", a4 = 1066, l4 = 1150, c4 = 1130, h4 = "HMdh", d4 = "*Q*O", u4 = 16, g3 = 35, m3 = "H8Uc", f3 = 33, p3 = 122, _3 = "tu^g", S3 = 1123, w3 = t4[E3(118, 99, 199, 93, "^$9T")], y3 = t4[E3(e4, n4, r4, s4, i4)] ? new Date(t4[I3(-112, -179, -114, "^ox!")]) : null;
650
+ function E3(t5, e5, n5, r5, o2) {
651
+ return ht(t5 - -242, o2);
675
652
  }
676
- const $3 = t4[q2(470, 501, n4, r4)] ? new Date(t4[q2(480, 491, s4, i4)]) : null;
677
- t4[V3(-292, a4)];
678
- const j3 = [];
679
- if ($3 ? isNaN($3) ? j3[J2(l4, 939, 833, g3, 866)](J2(e4, 875, 848, m3, 938)) : $3 < /* @__PURE__ */ new Date() && j3[J2("N&36", 889, f3, 966, 908)](V3(-339, p3) + $3[q2(_3, S3, w3, y3)]()) : j3[J2(l4, c3, 809, h3, d3)](U2(u3, "m6tR", 204, 308, 241)), o[G2(-298, -343, E3)]()) ;
680
- else {
681
- if (Q()) return j3;
682
- if (H3 && 0 !== H3[G2(-297, -375, C3)]) {
683
- let t5 = false;
684
- const e5 = Y();
685
- for (let n5 = 0; !t5 && n5 < H3[U2(M3, "hHq9", 297, T3, N3)]; n5++) t5 = e5[q2(F3, k3, O3, "N&36")](H3[n5]);
686
- !t5 && j3[V3(-396, D3)](J2(L3, B3, z3, 978, P3));
687
- } else j3[q2(b3, v3, x3, I3)](U2(R3, r4, 264, 297, A3));
653
+ function C3(t5, e5, n5, r5, o2) {
654
+ return ht(o2 - -976, n5);
688
655
  }
689
- function G2(t5, e5, n5, r5, o2) {
690
- return lt(e5 - -643, n5);
656
+ t4[v3(1080, a4, "*Q*O", l4, c4)];
657
+ const b3 = [];
658
+ function v3(t5, e5, n5, r5, o2) {
659
+ return ht(o2 - 667, n5);
691
660
  }
692
- function U2(t5, e5, n5, r5, o2) {
693
- return lt(o2 - 16, e5);
661
+ if (y3 ? isNaN(y3) ? b3[E3(260, 0, 0, 0, d4)](E3(270, 0, 0, 0, "jyX7")) : y3 < /* @__PURE__ */ new Date() && b3[C3(0, 0, "R0W3", 0, -614)](I3(u4, -28, g3, m3) + y3[x3(-228, -319, "X0sR")]()) : b3[E3(228, 0, 0, 0, "4sUc")](x3(-130, -97, h4)), o[E3(233, 0, 0, 0, m3)]()) ;
662
+ else {
663
+ if (X()) return b3;
664
+ if (w3 && 0 !== w3[x3(-71, -31, "L]BG")]) {
665
+ let t5 = false;
666
+ const e5 = K();
667
+ for (let n5 = 0; !t5 && n5 < w3[v3(0, 0, "HMdh", 0, 1008)]; n5++) t5 = e5[C3(0, 0, _3, 0, -577)](w3[n5]);
668
+ !t5 && b3[x3(-117, -201, "VG)a")](v3(0, 0, "V)Xr", 0, S3));
669
+ } else b3[C3(0, 0, "^vpo", 0, -522)](I3(f3, -44, p3, "HMdh"));
694
670
  }
695
- function J2(t5, e5, n5, r5, o2) {
696
- return lt(o2 - 581, t5);
671
+ function x3(t5, e5, n5, r5, o2) {
672
+ return ht(t5 - -564, n5);
697
673
  }
698
- function q2(t5, e5, n5, r5, o2) {
699
- return lt(e5 - W2, r5);
674
+ function I3(t5, e5, n5, r5, o2) {
675
+ return ht(t5 - -443, r5);
700
676
  }
701
- return j3;
702
- })(i3), l3 = nt(i3, a3, t3);
703
- return l3[n3 = dt2, r3 = ut2, s3 = gt2, Et2(s3 - 333, r3, n3 - 141, r3 - 190)]() && (_t2 = l3), l3;
677
+ return b3;
678
+ })(h3), u3 = Q(h3, d3, t3);
679
+ return u3[i3 = At2, a3 = Mt2, l3 = 291, c3 = Tt2, zt2(i3 - n3, a3 - r3, l3 - -488, l3 - s3, c3)]() && (Dt2 = u3), u3;
704
680
  } catch (e4) {
705
- _t2 = Z(t3);
681
+ Dt2 = Y(t3);
706
682
  }
707
- var n3, r3, s3;
683
+ var i3, a3, l3, c3;
708
684
  };
709
- st[pt2(0, 0, "TzRd", 0, 855)] && (St2 = await wt2(st[bt2(96, -25, g2, m2)], st[bt2(19, f2, -21, p2)]));
710
- let yt2 = false;
711
- if (it && (yt2 = true, St2 = rt(Ct2(-315, -423, "LXf#", -268, -361))), !St2) {
712
- if (o[vt2(_2, p2, 894, 876)]()) {
713
- if (!St2) {
714
- const t3 = process[Et2(554, "v0gW", 590, 583)], e3 = t3[Ct2(-203, -253, S2, -315, -254)] || t3[Ct2(-330, -324, "hxP]", -222, -312)] || t3[pt2(0, 0, "yJ9!", 0, 773)] || t3[Ct2(-363, -435, "czO$", -332, -375)];
715
- e3 && (St2 = await wt2(pt2(0, 0, w2, 0, y2), e3));
685
+ function zt2(t3, e3, n3, r3, o2) {
686
+ return J(o2, 0, 0, n3 - 907);
687
+ }
688
+ function Pt2(t3, e3, n3, r3, o2) {
689
+ return J(n3, 0, 0, t3 - Rt2);
690
+ }
691
+ nt[kt2(0, 57, C2, 0, 145)] && (Bt2 = await Lt2(nt[kt2(0, 177, b2, 0, 138)], nt[Wt2(1021, v2, x2, "Agwo")]));
692
+ let Ht2 = false;
693
+ if (rt && (Ht2 = true, Bt2 = tt(zt2(0, 0, 768, 0, "TeI^"))), !Bt2) {
694
+ if (o[Vt2(I2, 551, 564, R2, "ME^C")]()) {
695
+ if (!Bt2) {
696
+ const t3 = process[Wt2(1101, A2, 1036, m2)], e3 = t3[kt2(0, M2, "%qxZ", 0, T2)] || t3[kt2(0, N2, F2, 0, 122)] || t3[Pt2(-37, 0, b2)] || t3[Vt2(641, 613, 676, k2, "tu^g")];
697
+ e3 && (Bt2 = await Lt2(Vt2(O2, 505, 557, 417, "Kt]I"), e3));
716
698
  }
717
- if (!St2) {
718
- const t3 = await G[Et2(E2, u2, C2, 534)]();
719
- t3 && (St2 = await wt2(Et2(682, "FmSX", 674, b2), t3));
699
+ if (!Bt2) {
700
+ const t3 = await G[kt2(0, 55, "V)Xr", 0, 79)]();
701
+ t3 && (Bt2 = await Lt2(zt2(0, 0, D2, 0, B2), t3));
720
702
  }
721
- !St2 && (yt2 = true);
703
+ !Bt2 && (Ht2 = true);
722
704
  } else {
723
- if (!St2) try {
724
- const t3 = await fetch("./" + ct);
705
+ if (!Bt2) try {
706
+ const t3 = await fetch("./" + at);
725
707
  let e3 = null;
726
- if (200 === t3[Ct2(-374, -390, v2, -x2, -I2)]) {
727
- const n3 = (await t3[Ct2(-355, -R2, "leer", -422, -A2)]())[bt2(-82, -M2, -51, "TZPZ", -41)]("\n");
728
- for (let t4 = 0; !e3 && t4 < n3[vt2(1008, T2, N2, F2, k2)]; t4++) {
729
- const r3 = n3[t4][Ct2(-O2, -D2, "nWbd", -L2, -266)]();
730
- r3[vt2(B2, z2, P2, 1024, H2)]("#") || 0 === r3[Ct2(-201, -233, "d0jh", -356, -273)] || (e3 = r3);
708
+ if (200 === t3[zt2(0, 0, L2, 0, z2)]) {
709
+ const n3 = (await t3[Pt2(-P2, 0, b2)]())[Wt2(1007, W2, 916, "R0W3", 1031)]("\n");
710
+ for (let t4 = 0; !e3 && t4 < n3[Pt2(-V2, 0, "HC(p")]; t4++) {
711
+ const r3 = n3[t4][kt2(0, $2, j2, 0, 60)]();
712
+ r3[Vt2(Z2, et2, 629, 474, it2)]("#") || 0 === r3[Pt2(-lt2, 0, "4sUc")] || (e3 = r3);
731
713
  }
732
714
  }
733
715
  if (e3) {
734
- const t4 = pt2(0, 0, V2, 0, $2) + ct + "')";
735
- St2 = await wt2(t4, e3);
716
+ const t4 = Wt2(949, 979, ct2, "2o(D", 1037) + at + "')";
717
+ Bt2 = await Lt2(t4, e3);
736
718
  }
737
719
  } catch (t3) {
738
720
  }
739
- !St2 && Q() && (yt2 = true);
721
+ !Bt2 && X() && (Ht2 = true);
740
722
  }
741
723
  }
742
- function Et2(t3, e3, n3, r3, o2) {
743
- return q(0, 0, t3 - 374, 0, e3);
724
+ !Bt2 && Ht2 && (Bt2 = tt(Pt2(-62, 0, ut2))), !Bt2 && Dt2 && (Bt2 = Dt2), !Bt2 && (Bt2 = { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => null, isEval: () => false, getExceptions: () => [zt2(0, 0, 783, 0, "L]BG")], hasExceptions: () => true, isValidFor: (t3) => false, isValid: () => false, getFeatures: () => Object[zt2(0, 0, 738, 0, "2o(D")]({}), getKeyFrom: () => zt2(0, 0, 821, 0, "4g!Q"), getBuildVersion: H[Pt2(-67, 0, gt2)], getBuildDate: H[Vt2(561, mt2, 575, 729, ft2)] }), nt[Wt2(894, pt2, _t2, F2)] = Bt2, Ot2(Bt2);
725
+ if (t2 || ((t3, e3) => {
726
+ const n3 = 1450, r3 = "4KzE", o2 = 1406, s3 = 965;
727
+ if (nt[i3 = 171, a3 = "ME^C", ht(i3 - -218, a3)] && nt[h3(n3, 1518, 1430, r3)]) return false;
728
+ var i3, a3, l3, c3;
729
+ function h3(t4, e4, n4, r4, o3) {
730
+ return ht(n4 - s3, r4);
731
+ }
732
+ return t3 || e3[l3 = "4g!Q", c3 = 225, ht(c3 - -260, l3)]() || e3[h3(1466, 1422, o2, "ujm6")]()?.pb;
733
+ })(Ht2, Bt2)) {
734
+ if (st) return void setTimeout(() => {
735
+ var t3, e3;
736
+ this[t3 = bt2, e3 = vt2, kt2(0, e3 - xt2, e3, 0, t3 - It2)](false, false);
737
+ }, 8e3);
738
+ await this[Vt2(St2, 601, wt2, 505, it2)](false, false);
744
739
  }
745
- function Ct2(t3, e3, n3, r3, o2) {
746
- return K(0, 0, n3, o2 - -1572);
740
+ function Wt2(t3, e3, n3, r3, o2) {
741
+ return J(r3, 0, 0, e3 - Ct2);
747
742
  }
748
- function bt2(t3, e3, n3, r3, o2) {
749
- return K(0, 0, r3, n3 - -1242);
743
+ function Vt2(t3, e3, n3, r3, o2) {
744
+ return ot(0, 0, o2, e3 - 47);
750
745
  }
751
- !St2 && yt2 && (St2 = rt(Et2(j2, X2, E2, 683))), !St2 && _t2 && (St2 = _t2), !St2 && (St2 = { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => null, isEval: () => false, getExceptions: () => [vt2(1066, "LXf#", 1064, 1033)], hasExceptions: () => true, isValidFor: (t3) => false, isValid: () => false, getFeatures: () => Object[pt2(0, 0, "kN0$", 0, 819)]({}), getKeyFrom: () => Ct2(-446, -442, "ZMbO", -459, -389), getBuildVersion: W[Ct2(-340, -377, et2, -313, -397)], getBuildDate: W[Ct2(-245, -273, ot2, -260, -283)] }), st[vt2(960, "ho@8", 936, 922)] = St2, ft2(St2);
752
- function vt2(t3, e3, n3, r3, o2) {
753
- return tt(r3 - 698, e3);
746
+ return nt[Pt2(yt2, 0, Et2)];
747
+ }
748
+ async [ot(0, 0, "2o(D", 505)](t2) {
749
+ const e2 = "4Vkr", n2 = "d]q9", r2 = 692;
750
+ nt[h2(-17, -54, -6, "4sUc")] = true;
751
+ const o2 = await this[h2(14, 33, 95, "0dBB")]();
752
+ function s2(t3, e3, n3, r3, o3) {
753
+ return Z(r3, 0, t3 - -1137);
754
754
  }
755
- if (t2 || ((t3, e3) => {
756
- const n3 = "NRB!";
757
- function r3(t4, e4, n4, r4, o3) {
758
- return lt(n4 - -526, t4);
759
- }
760
- function o2(t4, e4, n4, r4, o3) {
761
- return lt(r4 - 153, n4);
762
- }
763
- return (!st[r3("!xjD", 0, -316)] || !st[r3("d2P&", 0, -181)]) && (t3 || e3[o2(0, 0, n3, 388)]() || e3[o2(0, 0, "H0r1", 355)]()?.pb);
764
- })(yt2, St2)) {
765
- if (at) return void setTimeout(() => {
766
- var t3, e3;
767
- this[t3 = 245, e3 = "nriX", pt2(0, 0, e3, 0, t3 - -538)](false, false);
768
- }, 8e3);
769
- await this[pt2(0, 0, "hHq9", 0, 681)](false, false);
755
+ var i2, a2, l2, c2;
756
+ function h2(t3, e3, n3, r3, o3) {
757
+ return et(r3, 0, 0, e3 - 226);
770
758
  }
771
- return st[vt2(0, ht2, 0, 1002)];
759
+ return await G[i2 = "^ox!", a2 = 1138, J(i2, 0, 0, a2 - 1173)](t2), !nt[h2(-34, 20, -9, "czR3")] && (o2[s2(-252, 0, 0, e2)]() || o2[l2 = n2, c2 = r2, J(l2, 0, 0, c2 - 724)]()) && await this[s2(-412, 0, 0, "V)Xr")](t2), Promise[s2(-399, 0, 0, "bFhl")]();
772
760
  }
773
- async [X(0, "xxaZ", 0, -278)](t2) {
774
- const e2 = 1191, n2 = 1109, r2 = 1082, o2 = 960, s2 = 1049, i2 = "4kEp";
775
- function a2(t3, e3, n3, r3, o3) {
776
- return q(0, 0, t3 - -33, 0, n3);
777
- }
778
- st[u2("N&36", 1085, 1022, 913, 997)] = true;
779
- const l2 = await this[u2("ho@8", 1152, e2, 1104, n2)]();
780
- function c2(t3, e3, n3, r3, o3) {
781
- return q(0, 0, n3 - 775, 0, r3);
782
- }
783
- var h2, d2;
784
- function u2(t3, e3, n3, r3, o3) {
785
- return X(0, t3, 0, o3 - 1321);
786
- }
787
- return await G[c2(0, 0, r2, "FmSX")](t2), !st[h2 = -213, d2 = "hxP]", ot(0, 0, h2 - -735, 0, d2)] && (l2[c2(0, 0, o2, "d2P&")]() || l2[a2(112, 0, "#42)")]()) && await this[c2(0, 0, s2, i2)](t2), Promise[a2(169, 0, "xxaZ")]();
788
- }
789
- async [K(0, 0, "d2P&", 1269)](t2 = false, e2 = false, n2 = false) {
790
- const r2 = "hHq9", o2 = 88, s2 = "v0gW", i2 = "L40y", a2 = "kN0$";
791
- function l2(t3, e3, n3, r3, o3) {
792
- return K(0, 0, o3, e3 - -1798);
793
- }
794
- function c2(t3, e3, n3, r3, o3) {
795
- return X(0, r3, 0, t3 - 379);
796
- }
797
- st[c2(210, 155, 283, r2)] = true;
798
- const h2 = await this[l2(0, -543, 0, 0, r2)]();
799
- var d2, u2, g2, m2;
800
- st[g2 = -105, m2 = "L40y", tt(g2 - -449, m2)] || !h2[d2 = o2, u2 = s2, ot(0, 0, d2 - -378, 0, u2)]() && !h2[l2(0, -522, 0, 0, i2)]() ? await G[l2(0, -486, 0, 0, a2)](h2, t2, e2, n2) : await this[c2(160, 0, 0, "^]#0")](t2);
801
- }
802
- async [K(0, 0, "6GeL", 1319)](t2, e2) {
803
- const n2 = 316, r2 = 267, s2 = 239, i2 = 483, a2 = 394, l2 = 481, c2 = 499, h2 = 476;
804
- if (!t2 && (st[_2(220, "LXf#", 159, 135)] || st[S2(-287, "d2P&", -256, -278, -261)])) return;
805
- var d2, u2;
806
- st[_2(n2, "TZPZ", r2, s2)] = true, st[d2 = "ZMbO", u2 = -127, ot(0, 0, u2 - -592, 0, d2)] = true, await this[S2(-256, "ZMbO", -267, -324, -336)](t2);
807
- const g2 = o[f2 = 136, p2 = "L40y", K(0, 0, p2, f2 - -1152)](), m2 = t2 || g2 ? console[w2(i2, a2, l2, 565, "L*bg")] : o[S2(-322, "nWbd", -290, -298, -360)];
808
- var f2, p2;
809
- function _2(t3, e3, n3, r3, o2) {
810
- return q(0, 0, t3 - 23, 0, e3);
761
+ async [et("rbG9", 0, 0, -264)](t2 = false, e2 = false, n2 = false) {
762
+ const r2 = 725, o2 = "c(ne", s2 = 751, i2 = "Dk$W", a2 = 833, l2 = "Bqhn", c2 = "jyX7", h2 = 736;
763
+ nt[p2("^vpo", 659)] = true;
764
+ const d2 = await this[p2("HC(p", r2)]();
765
+ var u2, g2, m2, f2;
766
+ nt[p2(o2, s2)] || !d2[p2(i2, a2)]() && !d2[u2 = 606, g2 = l2, Z(g2, 0, u2 - -194)]() ? await G[m2 = 414, f2 = "HC(p", J(f2, 0, 0, m2 - 548)](d2, t2, e2, n2) : await this[p2(c2, h2)](t2);
767
+ function p2(t3, e3, n3, r3, o3) {
768
+ return Z(t3, 0, e3 - -65);
811
769
  }
812
- function S2(t3, e3, n3, r3, o2) {
813
- return tt(o2 - -581, e3);
770
+ }
771
+ async [et("PZLU", 0, 0, -183)](t2, e2) {
772
+ const n2 = 1121, r2 = "4sUc", s2 = 907, i2 = 784, a2 = 824, l2 = 1248, c2 = "X0sR", h2 = "MI[X", d2 = 293, u2 = "^ox!", g2 = 927, m2 = 276;
773
+ if (!t2 && (nt[f2(1232, "MI[X", 1255)] || nt[f2(1251, "%qxZ", 1166)])) return;
774
+ function f2(t3, e3, n3, r3, o2) {
775
+ return et(e3, 0, 0, t3 - 1401);
814
776
  }
815
- function w2(t3, e3, n3, r3, o2) {
816
- return X(0, o2, 0, n3 - 773);
777
+ nt[f2(n2, r2, 1105)] = true, nt[_2(s2, i2, "2o(D", 827, a2)] = true, await this[_2(815, 738, "rbG9", 713, 738)](t2);
778
+ const p2 = o[f2(l2, c2)]();
779
+ function _2(t3, e3, n3, r3, o2) {
780
+ return ot(0, 0, n3, o2 - m2);
817
781
  }
818
- g2 && m2(""), await this[w2(538, 595, c2, h2, "ho@8")](t2, e2), m2("");
782
+ const S2 = t2 || p2 ? console[E2 = h2, C2 = d2, Z(E2, 0, C2 - -484)] : o[w2 = u2, y2 = g2, Z(w2, 0, y2 - 157)];
783
+ var w2, y2, E2, C2;
784
+ p2 && S2(""), await this[f2(1235, "VG)a")](t2, e2), S2("");
819
785
  }
820
- [tt(296, "AJ8u")]() {
821
- return this[t2 = "!h00", e2 = 512, tt(e2 - 258, t2)]();
786
+ [dt("4Vkr", -450, -335, -410)]() {
787
+ return this[t2 = "Kt]I", e2 = -149, et(t2, 0, 0, e2 - -39)]();
822
788
  var t2, e2;
823
789
  }
824
- [ot(0, 0, 641, 0, "kN0$")](t2) {
825
- return this[e2 = 396, n2 = "rx9)", ot(0, 0, e2 - -217, 0, n2)](true, t2);
826
- var e2, n2;
790
+ [et("HMdh", 0, 0, -227)](t2) {
791
+ return this[e2 = 453, n2 = 439, r2 = "rbG9", dt(r2, n2 - 289, r2 - 190, e2 - 904)](true, t2);
792
+ var e2, n2, r2;
827
793
  }
828
- [K(0, 0, "!h00", 1298)]() {
829
- const t2 = 1071;
830
- function e2(t3, e3, n2, r2, o2) {
831
- return K(0, 0, r2, n2 - -84);
832
- }
833
- return st[e2(0, 0, 1236, "TZPZ")] || st[e2(0, 0, t2, "L*bg")];
794
+ [dt("%qxZ", -445, -546, -487)]() {
795
+ const t2 = "VG)a", e2 = 1204;
796
+ return nt[o2 = "*k[g", s2 = 853, Z(o2, 0, s2 - 114)] || nt[n2 = t2, r2 = 1160, J(n2, 0, 0, r2 - e2)];
797
+ var n2, r2, o2, s2;
834
798
  }
835
- [ot(0, 0, 533, 0, "TzRd")](t2) {
836
- at = true;
799
+ [J("R0W3", 0, 0, -192)](t2) {
800
+ st = true;
837
801
  }
838
- async [K(0, 0, "kN0$", 1153)]() {
839
- return this[t2 = 768, e2 = "kN0$", K(0, 0, e2, t2 - -513)](true);
802
+ async [ot(0, 0, "@Y%y", 515)]() {
803
+ return this[t2 = "!Aci", e2 = 967, Z(t2, 0, e2 - 88)](true);
840
804
  var t2, e2;
841
805
  }
842
- async [ot(0, 0, 496, 0, "Z2Zq")](t2, e2) {
843
- const n2 = "nriX", r2 = 677;
844
- function o2(t3, e3, n3, r3, o3) {
845
- return K(0, 0, n3, t3 - -508);
806
+ async [ot(0, 0, "4Vkr", 517)](t2, e2) {
807
+ const n2 = "4KzE", r2 = 1252, o2 = 1123, s2 = 764, i2 = await this[a2(1160, 1216, n2, 1240, 1187)]();
808
+ function a2(t3, e3, n3, r3, o3) {
809
+ return ot(0, 0, n3, o3 - s2);
846
810
  }
847
- const s2 = await this[o2(762, 0, n2)]();
848
- return await this[o2(r2, 0, "H0r1")](true, t2, e2), s2;
811
+ return await this[a2(1195, r2, "V)Xr", o2, 1179)](true, t2, e2), i2;
849
812
  }
850
- async [K(0, 0, "6GeL", 1315)]() {
851
- const t2 = "LXf#", e2 = 824;
852
- var n2, r2;
853
- return await G[n2 = t2, r2 = 1137, q(0, 0, r2 - e2, 0, n2)]();
813
+ async [Z("H2XI", 0, 824)]() {
814
+ const t2 = 233;
815
+ var e2, n2;
816
+ return await G[e2 = 14, n2 = "^vpo", et(n2, 0, 0, e2 - t2)]();
854
817
  }
855
818
  }
856
- const dt = new ht(), ut = (t2, e2) => {
819
+ const ct = new lt();
820
+ function ht(t2, e2) {
821
+ const n2 = it();
822
+ return ht = function(e3, r2) {
823
+ let o2 = n2[e3 -= 331];
824
+ if (void 0 === ht.SCWUzM) {
825
+ const e4 = function(t3, e5) {
826
+ let n3, r3, o3 = [], s3 = 0, i3 = "";
827
+ for (t3 = (function(t4) {
828
+ let e6 = "", n4 = "";
829
+ for (let n5, r4, o4 = 0, s4 = 0; r4 = t4.charAt(s4++); ~r4 && (n5 = o4 % 4 ? 64 * n5 + r4 : r4, o4++ % 4) ? e6 += String.fromCharCode(255 & n5 >> (-2 * o4 & 6)) : 0) r4 = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r4);
830
+ for (let t5 = 0, r4 = e6.length; t5 < r4; t5++) n4 += "%" + ("00" + e6.charCodeAt(t5).toString(16)).slice(-2);
831
+ return decodeURIComponent(n4);
832
+ })(t3), r3 = 0; r3 < 256; r3++) o3[r3] = r3;
833
+ for (r3 = 0; r3 < 256; r3++) s3 = (s3 + o3[r3] + e5.charCodeAt(r3 % e5.length)) % 256, n3 = o3[r3], o3[r3] = o3[s3], o3[s3] = n3;
834
+ r3 = 0, s3 = 0;
835
+ 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]);
836
+ return i3;
837
+ };
838
+ ht.CgGUBc = e4, t2 = arguments, ht.SCWUzM = true;
839
+ }
840
+ const s2 = e3 + n2[0], i2 = t2[s2];
841
+ return i2 ? o2 = i2 : (void 0 === ht.EyPzTa && (ht.EyPzTa = true), o2 = ht.CgGUBc(o2, r2), t2[s2] = o2), o2;
842
+ }, ht(t2, e2);
843
+ }
844
+ function dt(t2, e2, n2, r2, o2) {
845
+ return ht(r2 - -835, t2);
846
+ }
847
+ const ut = (t2, e2) => {
857
848
  const n2 = [];
858
849
  for (let r2 = 0; r2 < t2.length; r2++) {
859
850
  const o2 = t2[r2];
@@ -1754,15 +1745,15 @@ var Dt;
1754
1745
  }
1755
1746
  t2.OutOfOrderError = e2;
1756
1747
  })(Dt || (Dt = {}));
1757
- 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" } };
1758
- function Bt(t2) {
1748
+ 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" } };
1749
+ function Lt(t2) {
1759
1750
  return (e2 = {}) => {
1760
1751
  const n2 = e2.width ? String(e2.width) : t2.defaultWidth;
1761
1752
  return t2.formats[n2] || t2.formats[t2.defaultWidth];
1762
1753
  };
1763
1754
  }
1764
- 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" };
1765
- function Wt(t2) {
1755
+ 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" };
1756
+ function Ht(t2) {
1766
1757
  return (e2, n2) => {
1767
1758
  let r2;
1768
1759
  if ("formatting" === (n2?.context ? String(n2.context) : "standalone") && t2.formattingValues) {
@@ -1775,7 +1766,7 @@ function Wt(t2) {
1775
1766
  return r2[t2.argumentCallback ? t2.argumentCallback(e2) : e2];
1776
1767
  };
1777
1768
  }
1778
- function Ht(t2) {
1769
+ function Wt(t2) {
1779
1770
  return (e2, n2 = {}) => {
1780
1771
  const r2 = n2.width, o2 = r2 && t2.matchPatterns[r2] || t2.matchPatterns[t2.defaultMatchWidth], s2 = e2.match(o2);
1781
1772
  if (!s2) return null;
@@ -1794,7 +1785,7 @@ function Ht(t2) {
1794
1785
  var Vt;
1795
1786
  const $t = { code: "en-US", formatDistance: (t2, e2, n2) => {
1796
1787
  let r2;
1797
- const o2 = Lt[t2];
1788
+ const o2 = Bt[t2];
1798
1789
  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;
1799
1790
  }, formatLong: zt, formatRelative: (t2, e2, n2, r2) => Pt[t2], localize: { ordinalNumber: (t2, e2) => {
1800
1791
  const n2 = Number(t2), r2 = n2 % 100;
@@ -1807,14 +1798,14 @@ const $t = { code: "en-US", formatDistance: (t2, e2, n2) => {
1807
1798
  return n2 + "rd";
1808
1799
  }
1809
1800
  return n2 + "th";
1810
- }, 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 = {}) => {
1801
+ }, 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 = {}) => {
1811
1802
  const n2 = t2.match(Vt.matchPattern);
1812
1803
  if (!n2) return null;
1813
1804
  const r2 = n2[0], o2 = t2.match(Vt.parsePattern);
1814
1805
  if (!o2) return null;
1815
1806
  let s2 = Vt.valueCallback ? Vt.valueCallback(o2[0]) : o2[0];
1816
1807
  return s2 = e2.valueCallback ? e2.valueCallback(s2) : s2, { value: s2, rest: t2.slice(r2.length) };
1817
- }), 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) => {
1808
+ }), 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) => {
1818
1809
  switch (t2) {
1819
1810
  case "P":
1820
1811
  return e2.date({ width: "short" });
@@ -1854,12 +1845,12 @@ const $t = { code: "en-US", formatDistance: (t2, e2, n2) => {
1854
1845
  s2 = e2.dateTime({ width: "full" });
1855
1846
  }
1856
1847
  return s2.replace("{{date}}", jt(r2, e2)).replace("{{time}}", Gt(o2, e2));
1857
- } }, Jt = /^D+$/, qt = /^Y+$/, Kt = ["D", "DD", "YY", "YYYY"];
1848
+ } }, qt = /^D+$/, Jt = /^Y+$/, Kt = ["D", "DD", "YY", "YYYY"];
1858
1849
  function Xt(t2) {
1859
- return Jt.test(t2);
1850
+ return qt.test(t2);
1860
1851
  }
1861
1852
  function Yt(t2) {
1862
- return qt.test(t2);
1853
+ return Jt.test(t2);
1863
1854
  }
1864
1855
  function Qt(t2, e2, n2) {
1865
1856
  const r2 = (function(t3, e3, n3) {
@@ -2132,13 +2123,13 @@ function De(t2, e2) {
2132
2123
  var n2 = "" + t2;
2133
2124
  return n2.length >= e2 ? n2 : Fe(" ", e2 - n2.length) + n2;
2134
2125
  }
2135
- function Le(t2, e2) {
2126
+ function Be(t2, e2) {
2136
2127
  var n2 = "" + t2;
2137
2128
  return n2.length >= e2 ? n2 : n2 + Fe(" ", e2 - n2.length);
2138
2129
  }
2139
- var Be = Math.pow(2, 32);
2130
+ var Le = Math.pow(2, 32);
2140
2131
  function ze(t2, e2) {
2141
- return t2 > Be || t2 < -Be ? (function(t3, e3) {
2132
+ return t2 > Le || t2 < -Le ? (function(t3, e3) {
2142
2133
  var n2 = "" + Math.round(t3);
2143
2134
  return n2.length >= e3 ? n2 : Fe("0", e3 - n2.length) + n2;
2144
2135
  })(t2, e2) : (function(t3, e3) {
@@ -2149,7 +2140,7 @@ function ze(t2, e2) {
2149
2140
  function Pe(t2, e2) {
2150
2141
  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));
2151
2142
  }
2152
- 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\\);_("$"* "-"??_);_(@_)' };
2143
+ 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\\);_("$"* "-"??_);_(@_)' };
2153
2144
  function Ge(t2, e2, n2) {
2154
2145
  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;
2155
2146
  if (h2 > e2 && (c2 > e2 ? (h2 = l2, a2 = s2) : (h2 = c2, a2 = i2)), !n2) return [0, r2 * a2, h2];
@@ -2173,10 +2164,10 @@ function Ue(t2, e2, n2) {
2173
2164
  }
2174
2165
  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;
2175
2166
  }
2176
- var Je = new Date(1899, 11, 31, 0, 0, 0), qe = Je.getTime(), Ke = new Date(1900, 2, 1, 0, 0, 0);
2167
+ var qe = new Date(1899, 11, 31, 0, 0, 0), Je = qe.getTime(), Ke = new Date(1900, 2, 1, 0, 0, 0);
2177
2168
  function Xe(t2, e2 = false) {
2178
2169
  var n2 = t2.getTime();
2179
- return e2 ? n2 -= 1262304e5 : t2 >= Ke && (n2 += 864e5), (n2 - (qe + 6e4 * (t2.getTimezoneOffset() - Je.getTimezoneOffset()))) / 864e5;
2170
+ return e2 ? n2 -= 1262304e5 : t2 >= Ke && (n2 += 864e5), (n2 - (Je + 6e4 * (t2.getTimezoneOffset() - qe.getTimezoneOffset()))) / 864e5;
2180
2171
  }
2181
2172
  function Ye(t2) {
2182
2173
  return -1 === t2.indexOf(".") ? t2 : t2.replace(/(?:\.0*|(\.\d*[1-9])0+)$/, "$1");
@@ -2231,11 +2222,11 @@ function tn(t2, e2, n2, r2) {
2231
2222
  o2 = n2.m, c2 = e2.length;
2232
2223
  break;
2233
2224
  case 3:
2234
- return He[n2.m - 1][1];
2225
+ return We[n2.m - 1][1];
2235
2226
  case 5:
2236
- return He[n2.m - 1][0];
2227
+ return We[n2.m - 1][0];
2237
2228
  default:
2238
- return He[n2.m - 1][2];
2229
+ return We[n2.m - 1][2];
2239
2230
  }
2240
2231
  break;
2241
2232
  case 100:
@@ -2245,9 +2236,9 @@ function tn(t2, e2, n2, r2) {
2245
2236
  o2 = n2.d, c2 = e2.length;
2246
2237
  break;
2247
2238
  case 3:
2248
- return We[n2.q][0];
2239
+ return He[n2.q][0];
2249
2240
  default:
2250
- return We[n2.q][1];
2241
+ return He[n2.q][1];
2251
2242
  }
2252
2243
  break;
2253
2244
  case 104:
@@ -2406,8 +2397,8 @@ function gn(t2, e2, n2) {
2406
2397
  }));
2407
2398
  if (e2.match(ln)) return "(" + (o2 = gn(t2, "##########", n2)).substr(0, 3) + ") " + o2.substr(3, 3) + "-" + o2.substr(6);
2408
2399
  var h2 = "";
2409
- 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;
2410
- 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));
2400
+ 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;
2401
+ 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));
2411
2402
  if (s2 = e2.match(/^[#0?]+$/)) return o2 = ze(n2, 0), e2.length <= o2.length ? o2 : cn(e2.substr(0, e2.length - o2.length)) + o2;
2412
2403
  if (s2 = e2.match(/^([#0?]+)\.([#0]+)$/)) {
2413
2404
  o2 = "" + n2.toFixed(Math.min(s2[2].length, 10)).replace(/([^0])0+$/, "$1"), i2 = o2.indexOf(".");
@@ -2486,8 +2477,8 @@ function fn(t2, e2, n2) {
2486
2477
  }));
2487
2478
  if (e2.match(ln)) return "(" + (o2 = fn(t2, "##########", n2)).substr(0, 3) + ") " + o2.substr(3, 3) + "-" + o2.substr(6);
2488
2479
  var h2 = "";
2489
- 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;
2490
- 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));
2480
+ 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;
2481
+ 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));
2491
2482
  if (s2 = e2.match(/^[#0?]+$/)) return o2 = "" + n2, e2.length <= o2.length ? o2 : cn(e2.substr(0, e2.length - o2.length)) + o2;
2492
2483
  if (s2 = e2.match(/^([#0]+)\.([#0]+)$/)) {
2493
2484
  o2 = "" + n2.toFixed(Math.min(s2[2].length, 10)).replace(/([^0])0+$/, "$1"), i2 = o2.indexOf(".");
@@ -2890,11 +2881,11 @@ const vn = { format: Cn, dateNumLocal: Xe, load: bn, split_fmt: _n, _table: Ve,
2890
2881
  for (var e2 = 0; 392 !== e2; ++e2) void 0 !== t2[e2] && bn(t2[e2], e2);
2891
2882
  }, parse_date_code: Ue, is_date: wn, get_table: function() {
2892
2883
  return vn._table = Ve;
2893
- } }, 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) => {
2884
+ } }, 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) => {
2894
2885
  const n2 = [...t2];
2895
2886
  for (var r2 = 0; r2 < t2.length; r2++) n2[r2] = t2[r2] / e2;
2896
2887
  return n2;
2897
- }, Bn = (t2, e2 = 0) => {
2888
+ }, Ln = (t2, e2 = 0) => {
2898
2889
  const n2 = [...t2];
2899
2890
  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);
2900
2891
  return n2;
@@ -2902,7 +2893,7 @@ const vn = { format: Cn, dateNumLocal: Xe, load: bn, split_fmt: _n, _table: Ve,
2902
2893
  const n2 = [...t2], r2 = e2 ? 1 : 255;
2903
2894
  for (var o2 = 0; o2 < t2.length; o2++) n2[o2] = Math.max(0, Math.min(r2, t2[o2]));
2904
2895
  return n2;
2905
- }, Pn = (t2) => Math.max(0, Math.min(1, t2)), Wn = (t2) => ((t2 %= 360) < 0 && (t2 -= 360), t2), Hn = (t2) => {
2896
+ }, Pn = (t2) => Math.max(0, Math.min(1, t2)), Hn = (t2) => ((t2 %= 360) < 0 && (t2 -= 360), t2), Wn = (t2) => {
2906
2897
  const e2 = [...t2];
2907
2898
  for (var n2 = 0; n2 < t2.length; n2++) e2[n2] = $n(t2[n2]);
2908
2899
  return e2;
@@ -2915,41 +2906,41 @@ const vn = { format: Cn, dateNumLocal: Xe, load: bn, split_fmt: _n, _table: Ve,
2915
2906
  e2 %= 360, e2 /= 360, n2 /= 100, r2 /= 100;
2916
2907
  let o2 = r2 < 0.5 ? r2 * (1 + n2) : r2 + n2 - n2 * r2, s2 = 2 * r2 - o2;
2917
2908
  return [Math.max(0, Un(s2, o2, e2 + 1 / 3)), Math.max(0, Un(s2, o2, e2)), Math.max(0, Un(s2, o2, e2 - 1 / 3))];
2918
- }, Un = (t2, e2, n2) => (n2 < 0 && (n2 += 1), n2 > 1 && (n2 -= 1), 6 * n2 < 1 ? t2 + 6 * (e2 - t2) * n2 : 2 * n2 < 1 ? e2 : 3 * n2 < 2 ? t2 + 6 * (e2 - t2) * (2 / 3 - n2) : t2), Jn = (t2) => {
2909
+ }, Un = (t2, e2, n2) => (n2 < 0 && (n2 += 1), n2 > 1 && (n2 -= 1), 6 * n2 < 1 ? t2 + 6 * (e2 - t2) * n2 : 2 * n2 < 1 ? e2 : 3 * n2 < 2 ? t2 + 6 * (e2 - t2) * (2 / 3 - n2) : t2), qn = (t2) => {
2919
2910
  let e2 = t2[0], n2 = t2[1], r2 = t2[2], o2 = Math.min(e2, Math.min(n2, r2)), s2 = Math.max(e2, Math.max(n2, r2)), i2 = 0;
2920
2911
  s2 === o2 ? i2 = 0 : s2 === e2 ? i2 = (60 * (n2 - r2) / (s2 - o2) + 360) % 360 : s2 === n2 ? i2 = 60 * (r2 - e2) / (s2 - o2) + 120 : s2 === r2 && (i2 = 60 * (e2 - n2) / (s2 - o2) + 240);
2921
2912
  const a2 = (s2 + o2) / 2;
2922
2913
  let l2 = 0;
2923
2914
  return l2 = s2 === o2 ? 0 : a2 <= 0.5 ? (s2 - o2) / (s2 + o2) : (s2 - o2) / (2 - s2 - o2), [i2, 100 * l2, 100 * a2];
2924
- }, qn = 0, Kn = 1, Xn = 2, Yn = 0, Qn = 1, Zn = 2, tr = 0, er = 1, nr = 2, rr = (t2, e2) => {
2915
+ }, Jn = 0, Kn = 1, Xn = 2, Yn = 0, Qn = 1, Zn = 2, tr = 0, er = 1, nr = 2, rr = (t2, e2) => {
2925
2916
  let n2 = e2 / 100;
2926
2917
  return ((t3, e3) => {
2927
- let n3 = Hn(t3);
2918
+ let n3 = Wn(t3);
2928
2919
  n3[0] = e3(n3[0], n3), n3[1] = e3(n3[1], n3), n3[2] = e3(n3[2], n3);
2929
2920
  let r2 = Vn(n3);
2930
2921
  return r2 = zn(r2), r2;
2931
2922
  })(t2, (t3, e3) => t3 * n2);
2932
2923
  }, or = 2.55, sr = (t2, e2) => {
2933
- const n2 = Jn(t2), r2 = n2[2], s2 = o.roundAccurately((i2 = r2, (a2 = e2) > 0 ? (i2 * or * (1 - a2) + (255 - 255 * (1 - a2))) / or : a2 < 0 ? i2 * or * (1 + a2) / or : i2), 3);
2924
+ const n2 = qn(t2), r2 = n2[2], s2 = o.roundAccurately((i2 = r2, (a2 = e2) > 0 ? (i2 * or * (1 - a2) + (255 - 255 * (1 - a2))) / or : a2 < 0 ? i2 * or * (1 + a2) / or : i2), 3);
2934
2925
  var i2, a2;
2935
2926
  n2[2] = s2;
2936
2927
  let l2 = Gn(n2);
2937
2928
  return l2 = zn(l2), l2;
2938
2929
  }, ir = (t2, e2) => {
2939
- let n2 = Hn(t2), r2 = e2 / 100;
2930
+ let n2 = Wn(t2), r2 = e2 / 100;
2940
2931
  for (var o2 = 0; o2 < 3; o2++) n2[o2] = n2[o2] * r2 + (1 - r2);
2941
2932
  let s2 = Vn(n2);
2942
2933
  return s2 = zn(s2), s2;
2943
2934
  }, ar = (t2, e2, n2) => {
2944
- let r2 = Jn(e2), o2 = n2 / 1;
2945
- t2 === qn && (o2 = Wn(n2)), r2[t2] = o2;
2935
+ let r2 = qn(e2), o2 = n2 / 1;
2936
+ t2 === Jn && (o2 = Hn(n2)), r2[t2] = o2;
2946
2937
  let s2 = Gn(r2);
2947
2938
  return s2 = zn(s2), s2;
2948
2939
  }, lr = (t2, e2, n2) => {
2949
- let r2 = Jn(e2);
2950
- if (t2 === qn) {
2940
+ let r2 = qn(e2);
2941
+ if (t2 === Jn) {
2951
2942
  let t3 = n2 / 360;
2952
- r2[qn] = 360 * (r2[qn] / 360 + t3), r2[qn] %= 360, r2[qn] < 0 && (r2[qn] -= 360);
2943
+ r2[Jn] = 360 * (r2[Jn] / 360 + t3), r2[Jn] %= 360, r2[Jn] < 0 && (r2[Jn] -= 360);
2953
2944
  } else {
2954
2945
  let e3 = n2 / 0.1;
2955
2946
  r2[t2] = 0.1 * (r2[t2] / 0.1 + e3);
@@ -2957,27 +2948,27 @@ const vn = { format: Cn, dateNumLocal: Xe, load: bn, split_fmt: _n, _table: Ve,
2957
2948
  let o2 = Gn(r2);
2958
2949
  return o2 = zn(o2), o2;
2959
2950
  }, cr = (t2, e2, n2) => {
2960
- let r2 = Jn(e2), o2 = n2 / 100;
2961
- r2[t2] = r2[t2] * o2, t2 === qn && (r2[qn] = Wn(r2[qn]));
2951
+ let r2 = qn(e2), o2 = n2 / 100;
2952
+ r2[t2] = r2[t2] * o2, t2 === Jn && (r2[Jn] = Hn(r2[Jn]));
2962
2953
  let s2 = Gn(r2);
2963
2954
  return s2 = zn(s2), s2;
2964
2955
  }, hr = (t2, e2, n2, r2) => {
2965
- let o2 = Hn(e2), s2 = n2 / 100;
2956
+ let o2 = Wn(e2), s2 = n2 / 100;
2966
2957
  r2 === tr ? o2[t2] = s2 : r2 === er ? o2[t2] += s2 : r2 === nr && (o2[t2] *= s2);
2967
2958
  let i2 = Vn(o2);
2968
2959
  return i2 = zn(i2), i2;
2969
2960
  }, dr = (t2) => {
2970
- let e2 = Hn(t2), n2 = 0.213 * e2[Yn] + 0.715 * e2[Qn] + 0.072 * e2[Zn];
2961
+ let e2 = Wn(t2), n2 = 0.213 * e2[Yn] + 0.715 * e2[Qn] + 0.072 * e2[Zn];
2971
2962
  e2[0] = n2, e2[1] = n2, e2[2] = n2;
2972
2963
  let r2 = Vn(e2);
2973
2964
  return r2 = zn(r2), r2;
2974
2965
  }, ur = (t2) => {
2975
- let e2 = Jn(t2);
2976
- e2[qn] += 180, e2[qn] %= 360, e2[qn] < 0 && (e2[qn] -= 360);
2966
+ let e2 = qn(t2);
2967
+ e2[Jn] += 180, e2[Jn] %= 360, e2[Jn] < 0 && (e2[Jn] -= 360);
2977
2968
  let n2 = Gn(e2);
2978
2969
  return n2 = zn(n2), n2;
2979
2970
  }, gr = (t2, e2 = true) => {
2980
- let n2 = e2 ? Hn(t2) : [...t2];
2971
+ let n2 = e2 ? Wn(t2) : [...t2];
2981
2972
  const r2 = e2 ? 1 : 255;
2982
2973
  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;
2983
2974
  }, mr = (t2) => {
@@ -3113,27 +3104,27 @@ const Mr = () => Ar || (Ar = Intl.DateTimeFormat().resolvedOptions().locale ?? "
3113
3104
  i2 = i2.substring(0, a2) + t3 + i2.substring(a2 + 9), s2 = true;
3114
3105
  }
3115
3106
  return s2 ? { fmt: i2, date: r2 } : null;
3116
- }, 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) => {
3107
+ }, 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) => {
3117
3108
  let e2 = null;
3118
3109
  if ((t2 = t2.toLowerCase()).startsWith("color")) {
3119
3110
  const n2 = parseInt(t2.substring(5));
3120
3111
  n2 >= 0 && n2 <= 56 && (e2 = `Index${n2 + 7}`);
3121
3112
  }
3122
3113
  if (!e2) {
3123
- const n2 = Lr[t2];
3114
+ const n2 = Br[t2];
3124
3115
  void 0 !== n2 && (e2 = Ir(n2).toString());
3125
3116
  }
3126
3117
  return e2;
3127
- }, zr = "=", Pr = "<>", Wr = ">", Hr = "<", Vr = ">=", $r = "<=", jr = /* @__PURE__ */ new Map();
3128
- 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);
3129
- const Gr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Ur = /(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)/i, Jr = /\[(.*?)\]/g, qr = (t2, e2) => {
3118
+ }, zr = "=", Pr = "<>", Hr = ">", Wr = "<", Vr = ">=", $r = "<=", jr = /* @__PURE__ */ new Map();
3119
+ 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);
3120
+ const Gr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Ur = /(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)/i, qr = /\[(.*?)\]/g, Jr = (t2, e2) => {
3130
3121
  const n2 = { color: null, condition: null };
3131
- let r2 = null, o2 = new RegExp(Jr);
3122
+ let r2 = null, o2 = new RegExp(qr);
3132
3123
  for (; null !== (r2 = o2.exec(t2)); ) {
3133
3124
  let e3 = false, o3 = Gr.exec(r2[1]);
3134
3125
  if (o3) {
3135
3126
  if (e3 = true, n2.color) throw new Error(`format error, two colors specified: '${t2}' and '${n2.color}'.`);
3136
- n2.color = Br(o3[1]), n2.color || console.warn("Unable to parse LegacyColor", o3[1]);
3127
+ n2.color = Lr(o3[1]), n2.color || console.warn("Unable to parse LegacyColor", o3[1]);
3137
3128
  }
3138
3129
  let s2 = Ur.exec(r2[1]);
3139
3130
  if (s2) {
@@ -3143,14 +3134,14 @@ const Gr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Ur =
3143
3134
  if (!e3) return n2;
3144
3135
  }
3145
3136
  return n2.condition || (n2.condition = e2), n2;
3146
- }, Kr = 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) => {
3137
+ }, 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) => {
3147
3138
  let n2 = ((t3) => {
3148
3139
  if (!t3) return o.EmptyArray;
3149
3140
  const e3 = [], n3 = t3.split(";"), r3 = n3.length;
3150
3141
  for (let t4 = 0; t4 < r3; t4++) {
3151
3142
  let o2 = null;
3152
3143
  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);
3153
- const s3 = n3[t4], i2 = qr(s3, o2);
3144
+ const s3 = n3[t4], i2 = Jr(s3, o2);
3154
3145
  e3.push({ format: s3, colorAndCondition: i2 });
3155
3146
  }
3156
3147
  return e3;
@@ -3351,9 +3342,9 @@ const Mo = (t2, e2, n2 = 1e3) => {
3351
3342
  if (void 0 === t2) return 0;
3352
3343
  let e2 = t2.toString().split(".");
3353
3344
  return e2.length <= 1 ? 0 : e2[1].length || 0;
3354
- }, 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) => {
3345
+ }, 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) => {
3355
3346
  let r2 = zo;
3356
- return void 0 === e2 && void 0 === n2 || (r2 = Bo(e2, n2)), t2.split(r2);
3347
+ return void 0 === e2 && void 0 === n2 || (r2 = Lo(e2, n2)), t2.split(r2);
3357
3348
  }, $o = (t2) => {
3358
3349
  let e2;
3359
3350
  try {
@@ -3361,18 +3352,18 @@ const Mo = (t2, e2, n2 = 1e3) => {
3361
3352
  } catch (t3) {
3362
3353
  return false;
3363
3354
  }
3364
- return ("http:" === e2.protocol || "https:" === e2.protocol) && Lo.test(t2);
3365
- }, 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) => {
3355
+ return ("http:" === e2.protocol || "https:" === e2.protocol) && Bo.test(t2);
3356
+ }, 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(), qo = 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) => {
3366
3357
  if (!t2 || "string" != typeof t2) return "";
3367
3358
  const n2 = t2.split(/[\\/]/).pop() || "";
3368
3359
  if ("" === n2) return "";
3369
3360
  const r2 = No(n2), o2 = 0 === r2.length ? n2 : n2.slice(0, n2.length - r2.length - 1);
3370
3361
  return e2 ? To(o2, true) : o2;
3371
- }, getFileNameExtension: No, isQuoted: Po, isValidEmail: Go, isValidHttpUrl: $o, numberToAlphabet: Uo, quote: Ho, snakeToCamel: Fo, splitUnquoted: Vo, unquote: Wo }, Symbol.toStringTag, { value: "Module" })), qo = (t2, e2, n2, r2 = null) => {
3362
+ }, getFileNameExtension: No, isQuoted: Po, isValidEmail: Go, isValidHttpUrl: $o, numberToAlphabet: Uo, quote: Wo, snakeToCamel: Fo, splitUnquoted: Vo, unquote: Ho }, Symbol.toStringTag, { value: "Module" })), Jo = (t2, e2, n2, r2 = null) => {
3372
3363
  const o2 = (e2 || 11 * rs.getDeviceScale()) / rs.getDeviceScale(), s2 = r2?.letterSpacing || 0, i2 = t2.length;
3373
3364
  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));
3374
3365
  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 };
3375
- }, Ko = () => qo;
3366
+ }, Ko = () => Jo;
3376
3367
  let Xo = "./packages/sdk/src/__tests__/fonts/";
3377
3368
  const Yo = /* @__PURE__ */ new Map(), Qo = /* @__PURE__ */ new Set(), Zo = (t2, e2, n2, r2 = null) => {
3378
3369
  const o2 = e2, s2 = Xo + n2.toLowerCase() + ".ttf";
@@ -3931,7 +3922,7 @@ const Ds = (t2, e2 = false) => {
3931
3922
  s2 ? s2.max === e3 - 1 ? s2.max = e3 : (r2.push(s2), s2 = { min: e3, max: e3 }) : s2 = { min: e3, max: e3 };
3932
3923
  }
3933
3924
  return s2 && r2.push(s2), r2;
3934
- }, Ls = (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 }, Bs = (t2) => {
3925
+ }, Bs = (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 }, Ls = (t2) => {
3935
3926
  const e2 = 0 === t2.length;
3936
3927
  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 };
3937
3928
  }, zs = (t2, e2) => {
@@ -3980,8 +3971,8 @@ const Ds = (t2, e2 = false) => {
3980
3971
  const t3 = e2({ min: Math.min(a2 + 1, i2), max: i2 });
3981
3972
  if (t3 && t3.break) return t3;
3982
3973
  }
3983
- }, Ws = new RegExp("([0-9]+)$");
3984
- var Hs, Vs, $s, js, Gs, Us;
3974
+ }, Hs = new RegExp("([0-9]+)$");
3975
+ var Ws, Vs, $s, js, Gs, Us;
3985
3976
  ((t2) => {
3986
3977
  t2.Date = class {
3987
3978
  constructor(t3) {
@@ -4047,7 +4038,7 @@ var Hs, Vs, $s, js, Gs, Us;
4047
4038
  const e2 = { value: null, template: null }, n2 = { sensitivity: "accent" };
4048
4039
  t2.Ordinal = class {
4049
4040
  _template(t3) {
4050
- const e3 = t3.match(Ws);
4041
+ const e3 = t3.match(Hs);
4051
4042
  if (!e3) return null;
4052
4043
  const n3 = e3[1], r3 = t3.lastIndexOf(n3);
4053
4044
  return -1 === r3 ? null : t3.substring(0, r3);
@@ -4062,7 +4053,7 @@ var Hs, Vs, $s, js, Gs, Us;
4062
4053
  const n3 = [], r3 = t3[0];
4063
4054
  let o3 = null, s3 = null, i3 = 0;
4064
4055
  if (r3) {
4065
- const t4 = r3.match(Ws);
4056
+ const t4 = r3.match(Hs);
4066
4057
  if (t4) {
4067
4058
  o3 = t4[1], o3.startsWith("0") && (i3 = o3.length);
4068
4059
  const e4 = r3.lastIndexOf(o3);
@@ -4231,7 +4222,7 @@ var Hs, Vs, $s, js, Gs, Us;
4231
4222
  }
4232
4223
  d2 += s4;
4233
4224
  }
4234
- const f2 = Bs(a2);
4225
+ const f2 = Ls(a2);
4235
4226
  return (t4) => {
4236
4227
  const e4 = t4 >= 0, n4 = Math.abs(t4), o4 = zs(n4 % r3, f2);
4237
4228
  if (!o4) return null;
@@ -4252,13 +4243,13 @@ var Hs, Vs, $s, js, Gs, Us;
4252
4243
  for (let t4 = s3; t4 < n3; t4++) o3.push(i3(t4));
4253
4244
  return o3;
4254
4245
  };
4255
- })(Hs || (Hs = {})), Vs || (Vs = {}), (js = $s || ($s = {})).Type = { None: "none", Solid: "solid", Gradient: "gradient", Pattern: "pattern", Image: "pattern", Background: "background", Group: "group", Custom: "custom" }, js.GradientType = { Linear: "linear", Path: "path", Circular: "circular", Rect: "rect" }, js.TileMirror = { None: "none", Vertical: "v", Horizontal: "h", Both: "b" }, js.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" }, (Us = Gs || (Gs = {})).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" }, Us.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" }, Us.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" }, Us.Type = { Scheme: "scheme", Named: "named", Index: "index", HSL: "hsl", RGB: "rgb", LRGB: "lrgb", Hex: "hex" };
4256
- const Js = [[4290032820, 1, Gs.Named.ActiveBorder, true], [4288263377, 2, Gs.Named.ActiveCaption, true], [4278190080, 3, Gs.Named.CaptionText, true], [4289440683, 4, Gs.Named.AppWorkspace, true], [4293980400, 5, Gs.Named.BtnFace, true], [4285098345, 6, Gs.Named.BtnShadow, true], [4278190080, 7, Gs.Named.DkShadow3d, true], [4293125091, 8, Gs.Named.BtnHighlight, true], [4293125091, 9, Gs.Named.Light3d, true], [4278190080, 10, Gs.Named.BtnText, true], [4278190080, 11, Gs.Named.Background, true], [4285361517, 12, Gs.Named.GrayText, true], [4281571839, 13, Gs.Named.Highlight, true], [4294967295, 14, Gs.Named.HighlightText, true], [4278216396, 15, Gs.Named.HotLight, true], [4294244348, 16, Gs.Named.InactiveBorder, true], [4290760155, 17, Gs.Named.InactiveCaption, true], [4278190080, 18, Gs.Named.InactiveCaptionText, true], [4294967265, 19, Gs.Named.InfoBk, true], [4278190080, 20, Gs.Named.InfoText, true], [4293980400, 21, Gs.Named.Menu, true], [4278190080, 22, Gs.Named.MenuText, true], [4291348680, 23, Gs.Named.ScrollBar, true], [4294967295, 24, Gs.Named.Window, true], [4284769380, 25, Gs.Named.WindowFrame, true], [4278190080, 26, Gs.Named.WindowText, true], [16777215, 27, Gs.Named.Transparent], [4293982463, 28, Gs.Named.AliceBlue], [4294634455, 29, Gs.Named.AntiqueWhite], [4278255615, 30, Gs.Named.Aqua], [4286578644, 31, Gs.Named.Aquamarine], [4293984255, 32, Gs.Named.Azure], [4294309340, 33, Gs.Named.Beige], [4294960324, 34, Gs.Named.Bisque], [4278190080, 35, Gs.Named.Black], [4294962125, 36, Gs.Named.BlanchedAlmond], [4278190335, 37, Gs.Named.Blue], [4287245282, 38, Gs.Named.BlueViolet], [4289014314, 39, Gs.Named.Brown], [4292786311, 40, Gs.Named.BurlyWood], [4284456608, 41, Gs.Named.CadetBlue], [4286578432, 42, Gs.Named.Chartreuse], [4291979550, 43, Gs.Named.Chocolate], [4294934352, 44, Gs.Named.Coral], [4284782061, 45, Gs.Named.CornflowerBlue], [4294965468, 46, Gs.Named.Cornsilk], [4292613180, 47, Gs.Named.Crimson], [4278255615, 48, Gs.Named.Cyan], [4278190219, 49, Gs.Named.DkBlue], [4278225803, 50, Gs.Named.DkCyan], [4290283019, 51, Gs.Named.DkGoldenrod], [4289309097, 52, Gs.Named.DkGray], [4278215680, 53, Gs.Named.DkGreen], [4290623339, 54, Gs.Named.DkKhaki], [4287299723, 55, Gs.Named.DkMagenta], [4283788079, 56, Gs.Named.DkOliveGreen], [4294937600, 57, Gs.Named.DkOrange], [4288230092, 58, Gs.Named.DkOrchid], [4287299584, 59, Gs.Named.DkRed], [4293498490, 60, Gs.Named.DkSalmon], [4287609995, 61, Gs.Named.DkSeaGreen], [4282924427, 62, Gs.Named.DkSlateBlue], [4281290575, 63, Gs.Named.DkSlateGray], [4278243025, 64, Gs.Named.DkTurquoise], [4287889619, 65, Gs.Named.DkViolet], [4294907027, 66, Gs.Named.DeepPink], [4278239231, 67, Gs.Named.DeepSkyBlue], [4285098345, 68, Gs.Named.DimGray], [4280193279, 69, Gs.Named.DodgerBlue], [4289864226, 70, Gs.Named.Firebrick], [4294966e3, 71, Gs.Named.FloralWhite], [4280453922, 72, Gs.Named.ForestGreen], [4294902015, 73, Gs.Named.Fuchsia], [4292664540, 74, Gs.Named.Gainsboro], [4294506751, 75, Gs.Named.GhostWhite], [4294956800, 76, Gs.Named.Gold], [4292519200, 77, Gs.Named.Goldenrod], [4286611584, 78, Gs.Named.Gray], [4278222848, 79, Gs.Named.Green], [4289593135, 80, Gs.Named.GreenYellow], [4293984240, 81, Gs.Named.Honeydew], [4294928820, 82, Gs.Named.HotPink], [4291648604, 83, Gs.Named.IndianRed], [4283105410, 84, Gs.Named.Indigo], [4294967280, 85, Gs.Named.Ivory], [4293977740, 86, Gs.Named.Khaki], [4293322490, 87, Gs.Named.Lavender], [4294963445, 88, Gs.Named.LavenderBlush], [4286381056, 89, Gs.Named.LawnGreen], [4294965965, 90, Gs.Named.LemonChiffon], [4289583334, 91, Gs.Named.LtBlue], [4293951616, 92, Gs.Named.LtCoral], [4292935679, 93, Gs.Named.LtCyan], [4294638200, 94, Gs.Named.LtGoldenrodYellow], [4292072403, 95, Gs.Named.LtGray], [4287688336, 96, Gs.Named.LtGreen], [4294948545, 97, Gs.Named.LtPink], [4294942842, 98, Gs.Named.LtSalmon], [4280332970, 99, Gs.Named.LtSeaGreen], [4287090426, 100, Gs.Named.LtSkyBlue], [4286023833, 101, Gs.Named.LtSlateGray], [4289774814, 102, Gs.Named.LtSteelBlue], [4294967264, 103, Gs.Named.LtYellow], [4278255360, 104, Gs.Named.Lime], [4281519410, 105, Gs.Named.LimeGreen], [4294635750, 106, Gs.Named.Linen], [4294902015, 107, Gs.Named.Magenta], [4286578688, 108, Gs.Named.Maroon], [4284927402, 109, Gs.Named.MedAquamarine], [4278190285, 110, Gs.Named.MedBlue], [4290401747, 111, Gs.Named.MedOrchid], [4287852763, 112, Gs.Named.MedPurple], [4282168177, 113, Gs.Named.MedSeaGreen], [4286277870, 114, Gs.Named.MedSlateBlue], [4278254234, 115, Gs.Named.MedSpringGreen], [4282962380, 116, Gs.Named.MedTurquoise], [4291237253, 117, Gs.Named.MedVioletRed], [4279834992, 118, Gs.Named.MidnightBlue], [4294311930, 119, Gs.Named.MintCream], [4294960353, 120, Gs.Named.MistyRose], [4294960309, 121, Gs.Named.Moccasin], [4294958765, 122, Gs.Named.NavajoWhite], [4278190208, 123, Gs.Named.Navy], [4294833638, 124, Gs.Named.OldLace], [4286611456, 125, Gs.Named.Olive], [4285238819, 126, Gs.Named.OliveDrab], [4294944e3, 127, Gs.Named.Orange], [4294919424, 128, Gs.Named.OrangeRed], [4292505814, 129, Gs.Named.Orchid], [4293847210, 130, Gs.Named.PaleGoldenrod], [4288215960, 131, Gs.Named.PaleGreen], [4289720046, 132, Gs.Named.PaleTurquoise], [4292571283, 133, Gs.Named.PaleVioletRed], [4294963157, 134, Gs.Named.PapayaWhip], [4294957753, 135, Gs.Named.PeachPuff], [4291659071, 136, Gs.Named.Peru], [4294951115, 137, Gs.Named.Pink], [4292714717, 138, Gs.Named.Plum], [4289781990, 139, Gs.Named.PowderBlue], [4286578816, 140, Gs.Named.Purple], [4294901760, 141, Gs.Named.Red], [4290547599, 142, Gs.Named.RosyBrown], [4282477025, 143, Gs.Named.RoyalBlue], [4287317267, 144, Gs.Named.SaddleBrown], [4294606962, 145, Gs.Named.Salmon], [4294222944, 146, Gs.Named.SandyBrown], [4281240407, 147, Gs.Named.SeaGreen], [4294964718, 148, Gs.Named.SeaShell], [4288696877, 149, Gs.Named.Sienna], [4290822336, 150, Gs.Named.Silver], [4287090411, 151, Gs.Named.SkyBlue], [4285160141, 152, Gs.Named.SlateBlue], [4285563024, 153, Gs.Named.SlateGray], [4294966010, 154, Gs.Named.Snow], [4278255487, 155, Gs.Named.SpringGreen], [4282811060, 156, Gs.Named.SteelBlue], [4291998860, 157, Gs.Named.Tan], [4278222976, 158, Gs.Named.Teal], [4292394968, 159, Gs.Named.Thistle], [4294927175, 160, Gs.Named.Tomato], [4282441936, 161, Gs.Named.Turquoise], [4293821166, 162, Gs.Named.Violet], [4294303411, 163, Gs.Named.Wheat], [4294967295, 164, Gs.Named.White], [4294309365, 165, Gs.Named.WhiteSmoke], [4294967040, 166, Gs.Named.Yellow], [4288335154, 167, Gs.Named.YellowGreen], [4293980400, 168, Gs.Named.ButtonFace], [4294967295, 169, Gs.Named.ButtonHighlight], [4288716960, 170, Gs.Named.ButtonShadow], [4290367978, 171, Gs.Named.GradientActiveCaption], [4292338930, 172, Gs.Named.GradientInactiveCaption], [4293980400, 173, Gs.Named.MenuBar], [4281571839, 174, Gs.Named.MenuHighlight]];
4257
- const qs = new class {
4246
+ })(Ws || (Ws = {})), Vs || (Vs = {}), (js = $s || ($s = {})).Type = { None: "none", Solid: "solid", Gradient: "gradient", Pattern: "pattern", Image: "pattern", Background: "background", Group: "group", Custom: "custom" }, js.GradientType = { Linear: "linear", Path: "path", Circular: "circular", Rect: "rect" }, js.TileMirror = { None: "none", Vertical: "v", Horizontal: "h", Both: "b" }, js.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" }, (Us = Gs || (Gs = {})).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" }, Us.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" }, Us.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" }, Us.Type = { Scheme: "scheme", Named: "named", Index: "index", HSL: "hsl", RGB: "rgb", LRGB: "lrgb", Hex: "hex" };
4247
+ const qs = [[4290032820, 1, Gs.Named.ActiveBorder, true], [4288263377, 2, Gs.Named.ActiveCaption, true], [4278190080, 3, Gs.Named.CaptionText, true], [4289440683, 4, Gs.Named.AppWorkspace, true], [4293980400, 5, Gs.Named.BtnFace, true], [4285098345, 6, Gs.Named.BtnShadow, true], [4278190080, 7, Gs.Named.DkShadow3d, true], [4293125091, 8, Gs.Named.BtnHighlight, true], [4293125091, 9, Gs.Named.Light3d, true], [4278190080, 10, Gs.Named.BtnText, true], [4278190080, 11, Gs.Named.Background, true], [4285361517, 12, Gs.Named.GrayText, true], [4281571839, 13, Gs.Named.Highlight, true], [4294967295, 14, Gs.Named.HighlightText, true], [4278216396, 15, Gs.Named.HotLight, true], [4294244348, 16, Gs.Named.InactiveBorder, true], [4290760155, 17, Gs.Named.InactiveCaption, true], [4278190080, 18, Gs.Named.InactiveCaptionText, true], [4294967265, 19, Gs.Named.InfoBk, true], [4278190080, 20, Gs.Named.InfoText, true], [4293980400, 21, Gs.Named.Menu, true], [4278190080, 22, Gs.Named.MenuText, true], [4291348680, 23, Gs.Named.ScrollBar, true], [4294967295, 24, Gs.Named.Window, true], [4284769380, 25, Gs.Named.WindowFrame, true], [4278190080, 26, Gs.Named.WindowText, true], [16777215, 27, Gs.Named.Transparent], [4293982463, 28, Gs.Named.AliceBlue], [4294634455, 29, Gs.Named.AntiqueWhite], [4278255615, 30, Gs.Named.Aqua], [4286578644, 31, Gs.Named.Aquamarine], [4293984255, 32, Gs.Named.Azure], [4294309340, 33, Gs.Named.Beige], [4294960324, 34, Gs.Named.Bisque], [4278190080, 35, Gs.Named.Black], [4294962125, 36, Gs.Named.BlanchedAlmond], [4278190335, 37, Gs.Named.Blue], [4287245282, 38, Gs.Named.BlueViolet], [4289014314, 39, Gs.Named.Brown], [4292786311, 40, Gs.Named.BurlyWood], [4284456608, 41, Gs.Named.CadetBlue], [4286578432, 42, Gs.Named.Chartreuse], [4291979550, 43, Gs.Named.Chocolate], [4294934352, 44, Gs.Named.Coral], [4284782061, 45, Gs.Named.CornflowerBlue], [4294965468, 46, Gs.Named.Cornsilk], [4292613180, 47, Gs.Named.Crimson], [4278255615, 48, Gs.Named.Cyan], [4278190219, 49, Gs.Named.DkBlue], [4278225803, 50, Gs.Named.DkCyan], [4290283019, 51, Gs.Named.DkGoldenrod], [4289309097, 52, Gs.Named.DkGray], [4278215680, 53, Gs.Named.DkGreen], [4290623339, 54, Gs.Named.DkKhaki], [4287299723, 55, Gs.Named.DkMagenta], [4283788079, 56, Gs.Named.DkOliveGreen], [4294937600, 57, Gs.Named.DkOrange], [4288230092, 58, Gs.Named.DkOrchid], [4287299584, 59, Gs.Named.DkRed], [4293498490, 60, Gs.Named.DkSalmon], [4287609995, 61, Gs.Named.DkSeaGreen], [4282924427, 62, Gs.Named.DkSlateBlue], [4281290575, 63, Gs.Named.DkSlateGray], [4278243025, 64, Gs.Named.DkTurquoise], [4287889619, 65, Gs.Named.DkViolet], [4294907027, 66, Gs.Named.DeepPink], [4278239231, 67, Gs.Named.DeepSkyBlue], [4285098345, 68, Gs.Named.DimGray], [4280193279, 69, Gs.Named.DodgerBlue], [4289864226, 70, Gs.Named.Firebrick], [4294966e3, 71, Gs.Named.FloralWhite], [4280453922, 72, Gs.Named.ForestGreen], [4294902015, 73, Gs.Named.Fuchsia], [4292664540, 74, Gs.Named.Gainsboro], [4294506751, 75, Gs.Named.GhostWhite], [4294956800, 76, Gs.Named.Gold], [4292519200, 77, Gs.Named.Goldenrod], [4286611584, 78, Gs.Named.Gray], [4278222848, 79, Gs.Named.Green], [4289593135, 80, Gs.Named.GreenYellow], [4293984240, 81, Gs.Named.Honeydew], [4294928820, 82, Gs.Named.HotPink], [4291648604, 83, Gs.Named.IndianRed], [4283105410, 84, Gs.Named.Indigo], [4294967280, 85, Gs.Named.Ivory], [4293977740, 86, Gs.Named.Khaki], [4293322490, 87, Gs.Named.Lavender], [4294963445, 88, Gs.Named.LavenderBlush], [4286381056, 89, Gs.Named.LawnGreen], [4294965965, 90, Gs.Named.LemonChiffon], [4289583334, 91, Gs.Named.LtBlue], [4293951616, 92, Gs.Named.LtCoral], [4292935679, 93, Gs.Named.LtCyan], [4294638200, 94, Gs.Named.LtGoldenrodYellow], [4292072403, 95, Gs.Named.LtGray], [4287688336, 96, Gs.Named.LtGreen], [4294948545, 97, Gs.Named.LtPink], [4294942842, 98, Gs.Named.LtSalmon], [4280332970, 99, Gs.Named.LtSeaGreen], [4287090426, 100, Gs.Named.LtSkyBlue], [4286023833, 101, Gs.Named.LtSlateGray], [4289774814, 102, Gs.Named.LtSteelBlue], [4294967264, 103, Gs.Named.LtYellow], [4278255360, 104, Gs.Named.Lime], [4281519410, 105, Gs.Named.LimeGreen], [4294635750, 106, Gs.Named.Linen], [4294902015, 107, Gs.Named.Magenta], [4286578688, 108, Gs.Named.Maroon], [4284927402, 109, Gs.Named.MedAquamarine], [4278190285, 110, Gs.Named.MedBlue], [4290401747, 111, Gs.Named.MedOrchid], [4287852763, 112, Gs.Named.MedPurple], [4282168177, 113, Gs.Named.MedSeaGreen], [4286277870, 114, Gs.Named.MedSlateBlue], [4278254234, 115, Gs.Named.MedSpringGreen], [4282962380, 116, Gs.Named.MedTurquoise], [4291237253, 117, Gs.Named.MedVioletRed], [4279834992, 118, Gs.Named.MidnightBlue], [4294311930, 119, Gs.Named.MintCream], [4294960353, 120, Gs.Named.MistyRose], [4294960309, 121, Gs.Named.Moccasin], [4294958765, 122, Gs.Named.NavajoWhite], [4278190208, 123, Gs.Named.Navy], [4294833638, 124, Gs.Named.OldLace], [4286611456, 125, Gs.Named.Olive], [4285238819, 126, Gs.Named.OliveDrab], [4294944e3, 127, Gs.Named.Orange], [4294919424, 128, Gs.Named.OrangeRed], [4292505814, 129, Gs.Named.Orchid], [4293847210, 130, Gs.Named.PaleGoldenrod], [4288215960, 131, Gs.Named.PaleGreen], [4289720046, 132, Gs.Named.PaleTurquoise], [4292571283, 133, Gs.Named.PaleVioletRed], [4294963157, 134, Gs.Named.PapayaWhip], [4294957753, 135, Gs.Named.PeachPuff], [4291659071, 136, Gs.Named.Peru], [4294951115, 137, Gs.Named.Pink], [4292714717, 138, Gs.Named.Plum], [4289781990, 139, Gs.Named.PowderBlue], [4286578816, 140, Gs.Named.Purple], [4294901760, 141, Gs.Named.Red], [4290547599, 142, Gs.Named.RosyBrown], [4282477025, 143, Gs.Named.RoyalBlue], [4287317267, 144, Gs.Named.SaddleBrown], [4294606962, 145, Gs.Named.Salmon], [4294222944, 146, Gs.Named.SandyBrown], [4281240407, 147, Gs.Named.SeaGreen], [4294964718, 148, Gs.Named.SeaShell], [4288696877, 149, Gs.Named.Sienna], [4290822336, 150, Gs.Named.Silver], [4287090411, 151, Gs.Named.SkyBlue], [4285160141, 152, Gs.Named.SlateBlue], [4285563024, 153, Gs.Named.SlateGray], [4294966010, 154, Gs.Named.Snow], [4278255487, 155, Gs.Named.SpringGreen], [4282811060, 156, Gs.Named.SteelBlue], [4291998860, 157, Gs.Named.Tan], [4278222976, 158, Gs.Named.Teal], [4292394968, 159, Gs.Named.Thistle], [4294927175, 160, Gs.Named.Tomato], [4282441936, 161, Gs.Named.Turquoise], [4293821166, 162, Gs.Named.Violet], [4294303411, 163, Gs.Named.Wheat], [4294967295, 164, Gs.Named.White], [4294309365, 165, Gs.Named.WhiteSmoke], [4294967040, 166, Gs.Named.Yellow], [4288335154, 167, Gs.Named.YellowGreen], [4293980400, 168, Gs.Named.ButtonFace], [4294967295, 169, Gs.Named.ButtonHighlight], [4288716960, 170, Gs.Named.ButtonShadow], [4290367978, 171, Gs.Named.GradientActiveCaption], [4292338930, 172, Gs.Named.GradientInactiveCaption], [4293980400, 173, Gs.Named.MenuBar], [4281571839, 174, Gs.Named.MenuHighlight]];
4248
+ const Js = new class {
4258
4249
  constructor() {
4259
4250
  this._lookupByName = /* @__PURE__ */ new Map();
4260
- for (let t2 = 0; t2 < Js.length; t2++) {
4261
- const e2 = Js[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 };
4251
+ for (let t2 = 0; t2 < qs.length; t2++) {
4252
+ 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 };
4262
4253
  this._lookupByName.set(a2.name.toLowerCase(), a2);
4263
4254
  }
4264
4255
  }
@@ -4269,7 +4260,7 @@ const qs = new class {
4269
4260
  for (let t2 = 0; t2 < Ks.length; t2++) Xs.set(Ks[t2].scheme.toLowerCase(), Ks[t2]);
4270
4261
  const Ys = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], alpha: void 0 !== t2.alpha ? t2.alpha : 1 } : null, Qs = function(t2, e2, n2, r2) {
4271
4262
  let o2 = Ys(((t3) => {
4272
- let e3 = qs.valueOfName(t3);
4263
+ let e3 = Js.valueOfName(t3);
4273
4264
  return e3 ? new yr.RGBA(e3.rgbaColor.r, e3.rgbaColor.g, e3.rgbaColor.b, e3.rgbaColor.a) : null;
4274
4265
  })(t2)), s2 = null, i2 = null, a2 = null;
4275
4266
  if (null === o2 && (l2 = t2, Xs.get(l2.toLowerCase()))) {
@@ -4281,21 +4272,21 @@ const Ys = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], a
4281
4272
  let e3 = t2.match(Fn) || t2.match(kn);
4282
4273
  if (e3) {
4283
4274
  let t3, n3 = 1;
4284
- 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 = Gs.Type.Hex;
4275
+ 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 = Gs.Type.Hex;
4285
4276
  }
4286
4277
  }
4287
4278
  if (null === o2) {
4288
4279
  let e3 = t2.match(In) || t2.match(Rn);
4289
4280
  if (e3) {
4290
4281
  let t3 = Dn(e3[1], e3[2], e3[3]);
4291
- t3 = Ln(t3), t3 = zn(t3), o2 = { srgb: t3, alpha: e3[4] ? Pn(parseFloat(e3[4])) : 1 }, a2 = Gs.Type.RGB;
4282
+ t3 = Bn(t3), t3 = zn(t3), o2 = { srgb: t3, alpha: e3[4] ? Pn(parseFloat(e3[4])) : 1 }, a2 = Gs.Type.RGB;
4292
4283
  }
4293
4284
  }
4294
4285
  if (null === o2) {
4295
4286
  let e3 = t2.match(An) || t2.match(Mn);
4296
4287
  if (e3) {
4297
4288
  let t3 = Dn(e3[1], e3[2], e3[3]);
4298
- t3 = Ln(t3, 100), t3 = Vn(t3), t3 = zn(t3), o2 = { srgb: t3, alpha: e3[4] ? Pn(parseFloat(e3[4])) : 1 }, a2 = Gs.Type.LRGB;
4289
+ t3 = Bn(t3, 100), t3 = Vn(t3), t3 = zn(t3), o2 = { srgb: t3, alpha: e3[4] ? Pn(parseFloat(e3[4])) : 1 }, a2 = Gs.Type.LRGB;
4299
4290
  }
4300
4291
  }
4301
4292
  if (null === o2) {
@@ -4364,10 +4355,10 @@ class si {
4364
4355
  const s3 = (t4) => Math.round(Math.max(0, Math.min(255, t4))), i2 = t3[0], a2 = t3[1], l2 = t3[2];
4365
4356
  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)];
4366
4357
  })(n2, 180), n2 = gr(n2, false);
4367
- let r2 = Hn(n2);
4368
- const o2 = Jn(r2);
4369
- 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);
4370
- const s2 = Jn(Hn(n2));
4358
+ let r2 = Wn(n2);
4359
+ const o2 = qn(r2);
4360
+ 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);
4361
+ const s2 = qn(Wn(n2));
4371
4362
  return new yr.HSLA(s2[0], s2[1], s2[2], e2.alpha);
4372
4363
  }
4373
4364
  _resolve() {
@@ -4381,7 +4372,7 @@ class si {
4381
4372
  let n3 = [...t3.srgb], r3 = void 0 !== t3.alpha ? t3.alpha : 1;
4382
4373
  for (var o2 = 0; e3 && o2 < e3.length; o2++) {
4383
4374
  const t4 = e3[o2], s2 = Object.keys(t4)[0], i2 = t4[s2];
4384
- s2 === Gs.AdjustmentType.Alpha ? (r3 = i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === Gs.AdjustmentType.AlphaOff ? (r3 += i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === Gs.AdjustmentType.AlphaMod ? (r3 *= i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === Gs.AdjustmentType.Hue ? n3 = ar(qn, n3, i2) : s2 === Gs.AdjustmentType.Sat ? n3 = ar(Kn, n3, i2) : s2 === Gs.AdjustmentType.Lum ? n3 = ar(Xn, n3, i2) : s2 === Gs.AdjustmentType.HueOff ? n3 = lr(qn, n3, i2) : s2 === Gs.AdjustmentType.SatOff ? n3 = lr(Kn, n3, i2) : s2 === Gs.AdjustmentType.LumOff ? n3 = lr(Xn, n3, i2) : s2 === Gs.AdjustmentType.HueMod ? n3 = cr(qn, n3, i2) : s2 === Gs.AdjustmentType.SatMod ? n3 = cr(Kn, n3, i2) : s2 === Gs.AdjustmentType.LumMod ? n3 = cr(Xn, n3, i2) : s2 === Gs.AdjustmentType.Red ? n3 = hr(Yn, n3, i2, tr) : s2 === Gs.AdjustmentType.Green ? n3 = hr(Qn, n3, i2, tr) : s2 === Gs.AdjustmentType.Blue ? n3 = hr(Zn, n3, i2, tr) : s2 === Gs.AdjustmentType.RedOff ? n3 = hr(Yn, n3, i2, er) : s2 === Gs.AdjustmentType.GreenOff ? n3 = hr(Qn, n3, i2, er) : s2 === Gs.AdjustmentType.BlueOff ? n3 = hr(Zn, n3, i2, er) : s2 === Gs.AdjustmentType.RedMod ? n3 = hr(Yn, n3, i2, nr) : s2 === Gs.AdjustmentType.GreenMod ? n3 = hr(Qn, n3, i2, nr) : s2 === Gs.AdjustmentType.BlueMod ? n3 = hr(Zn, n3, i2, nr) : s2 === Gs.AdjustmentType.Shade ? n3 = rr(n3, i2) : s2 === Gs.AdjustmentType.Tint ? n3 = ir(n3, i2) : s2 === Gs.AdjustmentType.ETint ? n3 = sr(n3, i2) : s2 === Gs.AdjustmentType.Gray ? n3 = dr(n3) : s2 === Gs.AdjustmentType.Comp ? n3 = ur(n3) : s2 === Gs.AdjustmentType.Inv ? n3 = gr(n3, i2) : s2 === Gs.AdjustmentType.Gamma ? n3 = mr(n3) : s2 === Gs.AdjustmentType.InvGamma ? n3 = fr(n3) : console.warn("unknown adjustmentType: " + s2);
4375
+ s2 === Gs.AdjustmentType.Alpha ? (r3 = i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === Gs.AdjustmentType.AlphaOff ? (r3 += i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === Gs.AdjustmentType.AlphaMod ? (r3 *= i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === Gs.AdjustmentType.Hue ? n3 = ar(Jn, n3, i2) : s2 === Gs.AdjustmentType.Sat ? n3 = ar(Kn, n3, i2) : s2 === Gs.AdjustmentType.Lum ? n3 = ar(Xn, n3, i2) : s2 === Gs.AdjustmentType.HueOff ? n3 = lr(Jn, n3, i2) : s2 === Gs.AdjustmentType.SatOff ? n3 = lr(Kn, n3, i2) : s2 === Gs.AdjustmentType.LumOff ? n3 = lr(Xn, n3, i2) : s2 === Gs.AdjustmentType.HueMod ? n3 = cr(Jn, n3, i2) : s2 === Gs.AdjustmentType.SatMod ? n3 = cr(Kn, n3, i2) : s2 === Gs.AdjustmentType.LumMod ? n3 = cr(Xn, n3, i2) : s2 === Gs.AdjustmentType.Red ? n3 = hr(Yn, n3, i2, tr) : s2 === Gs.AdjustmentType.Green ? n3 = hr(Qn, n3, i2, tr) : s2 === Gs.AdjustmentType.Blue ? n3 = hr(Zn, n3, i2, tr) : s2 === Gs.AdjustmentType.RedOff ? n3 = hr(Yn, n3, i2, er) : s2 === Gs.AdjustmentType.GreenOff ? n3 = hr(Qn, n3, i2, er) : s2 === Gs.AdjustmentType.BlueOff ? n3 = hr(Zn, n3, i2, er) : s2 === Gs.AdjustmentType.RedMod ? n3 = hr(Yn, n3, i2, nr) : s2 === Gs.AdjustmentType.GreenMod ? n3 = hr(Qn, n3, i2, nr) : s2 === Gs.AdjustmentType.BlueMod ? n3 = hr(Zn, n3, i2, nr) : s2 === Gs.AdjustmentType.Shade ? n3 = rr(n3, i2) : s2 === Gs.AdjustmentType.Tint ? n3 = ir(n3, i2) : s2 === Gs.AdjustmentType.ETint ? n3 = sr(n3, i2) : s2 === Gs.AdjustmentType.Gray ? n3 = dr(n3) : s2 === Gs.AdjustmentType.Comp ? n3 = ur(n3) : s2 === Gs.AdjustmentType.Inv ? n3 = gr(n3, i2) : s2 === Gs.AdjustmentType.Gamma ? n3 = mr(n3) : s2 === Gs.AdjustmentType.InvGamma ? n3 = fr(n3) : console.warn("unknown adjustmentType: " + s2);
4385
4376
  }
4386
4377
  return { srgb: n3, alpha: r3 };
4387
4378
  })(t2.srgbAlpha, this._private.adjs), n2 = ((t3, e3 = 255) => {
@@ -4389,7 +4380,7 @@ class si {
4389
4380
  for (var r3 = 0; r3 < t3.length; r3++) n3[r3] = t3[r3] * e3;
4390
4381
  return n3;
4391
4382
  })(e2.srgb);
4392
- n2 = Bn(n2);
4383
+ n2 = Ln(n2);
4393
4384
  let r2 = Pn(e2.alpha);
4394
4385
  this._private.adjusted = e2, this._private.parsedVal = t2, this._private.resolved = new yr.RGBA(n2[0], n2[1], n2[2], r2);
4395
4386
  }
@@ -4460,7 +4451,7 @@ class si {
4460
4451
  }
4461
4452
  toHSLA(t2 = false) {
4462
4453
  if (this._resolve(), t2) return this._forceDark(false);
4463
- let e2 = Jn(this._private.adjusted.srgb);
4454
+ let e2 = qn(this._private.adjusted.srgb);
4464
4455
  return new yr.HSLA(e2[0], e2[1], e2[2], Pn(this._private.adjusted.alpha ?? 1));
4465
4456
  }
4466
4457
  toHex(t2 = false) {
@@ -4587,7 +4578,7 @@ const Ai = (t2, e2, n2, r2, o2) => {
4587
4578
  };
4588
4579
  var Ti, Ni;
4589
4580
  (Ti || (Ti = {})).buildPalette = Mi, (Ni || (Ni = {})).BuiltInFilterType = { BuiltIn: "builtIn", All: "all", Custom: "custom" };
4590
- const Fi = [["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"]], ki = [["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"]], Oi = [["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"]], Di = "Themes is readonly. To make modifications create a new DocsThemes instance.", Li = { [Gs.Scheme.Bg1]: "lt1", [Gs.Scheme.Bg2]: "lt2", [Gs.Scheme.Tx1]: "dk1", [Gs.Scheme.Tx2]: "dk2", [Gs.Scheme.Accent1]: "accent1", [Gs.Scheme.Accent2]: "accent2", [Gs.Scheme.Accent3]: "accent3", [Gs.Scheme.Accent4]: "accent4", [Gs.Scheme.Accent5]: "accent5", [Gs.Scheme.Accent6]: "accent6", [Gs.Scheme.Hlink]: "hlink", [Gs.Scheme.FolHlink]: "folHlink" }, Bi = "Office", zi = [Bi, "Calibri Light", "Calibri"], Pi = ["dk1", "lt1", "dk2", "lt2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hlink", "folHlink"], Wi = (t2) => {
4581
+ const Fi = [["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"]], ki = [["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"]], Oi = [["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"]], Di = "Themes is readonly. To make modifications create a new DocsThemes instance.", Bi = { [Gs.Scheme.Bg1]: "lt1", [Gs.Scheme.Bg2]: "lt2", [Gs.Scheme.Tx1]: "dk1", [Gs.Scheme.Tx2]: "dk2", [Gs.Scheme.Accent1]: "accent1", [Gs.Scheme.Accent2]: "accent2", [Gs.Scheme.Accent3]: "accent3", [Gs.Scheme.Accent4]: "accent4", [Gs.Scheme.Accent5]: "accent5", [Gs.Scheme.Accent6]: "accent6", [Gs.Scheme.Hlink]: "hlink", [Gs.Scheme.FolHlink]: "folHlink" }, Li = "Office", zi = [Li, "Calibri Light", "Calibri"], Pi = ["dk1", "lt1", "dk2", "lt2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hlink", "folHlink"], Hi = (t2) => {
4591
4582
  const e2 = {};
4592
4583
  for (let n2 = 0; n2 < t2.length; n2++) {
4593
4584
  const r2 = t2[n2], o2 = r2[0], s2 = { name: o2 };
@@ -4600,16 +4591,16 @@ const Fi = [["Office", "windowText", "window", "0E2841", "E8E8E8", "156082", "E9
4600
4591
  }
4601
4592
  }
4602
4593
  return e2;
4603
- }, Hi = (t2) => {
4594
+ }, Wi = (t2) => {
4604
4595
  const e2 = {};
4605
4596
  for (let n2 = 0; n2 < t2.length; n2++) {
4606
4597
  const r2 = t2[n2], o2 = r2[0], s2 = { name: o2 };
4607
4598
  e2[o2] = s2, s2.majorFont = r2[1] ?? zi[1], s2.minorFont = r2[2] ?? zi[2];
4608
4599
  }
4609
4600
  return e2;
4610
- }, Vi = Wi([[Bi, "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"]]), $i = Hi([zi]), ji = Vi[Bi], Gi = $i[Bi];
4601
+ }, Vi = Hi([[Li, "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"]]), $i = Wi([zi]), ji = Vi[Li], Gi = $i[Li];
4611
4602
  let Ui = null;
4612
- const Ji = new class {
4603
+ const qi = new class {
4613
4604
  constructor() {
4614
4605
  this._colors = {};
4615
4606
  for (let t2 = 0; t2 < Pi.length; t2++) {
@@ -4660,8 +4651,8 @@ const Ji = new class {
4660
4651
  return null;
4661
4652
  }
4662
4653
  }();
4663
- class qi {
4664
- constructor(t2, e2 = Ji) {
4654
+ class Ji {
4655
+ constructor(t2, e2 = qi) {
4665
4656
  this._delegate = e2, this._fromJSON(t2);
4666
4657
  }
4667
4658
  _fromJSON(t2) {
@@ -4784,9 +4775,9 @@ class Yi {
4784
4775
  const n3 = Ui ? Ui.get(t2.name.toLowerCase()) : null;
4785
4776
  n3 && (e2 = n3);
4786
4777
  }
4787
- if (!e2 && Ui && (e2 = Ui.get(Bi.toLowerCase())), this._name = t2?.name ?? e2?.getName(), !this._name) throw new Error("Theme must have a name.");
4788
- this._builtInID = n2, this._delegate = e2, this._colors = new qi(t2?.colors, this._delegate?.getColorScheme()), this._fonts = new Xi(t2?.fonts, this._delegate?.getFontScheme());
4789
- const r2 = Li, o2 = {}, s2 = Object.keys(r2);
4778
+ if (!e2 && Ui && (e2 = Ui.get(Li.toLowerCase())), this._name = t2?.name ?? e2?.getName(), !this._name) throw new Error("Theme must have a name.");
4779
+ this._builtInID = n2, this._delegate = e2, this._colors = new Ji(t2?.colors, this._delegate?.getColorScheme()), this._fonts = new Xi(t2?.fonts, this._delegate?.getFontScheme());
4780
+ const r2 = Bi, o2 = {}, s2 = Object.keys(r2);
4790
4781
  for (let t3 = 0; t3 < s2.length; t3++) {
4791
4782
  const e3 = s2[t3];
4792
4783
  o2[e3] = `get${To(r2[e3])}`;
@@ -4800,7 +4791,7 @@ class Yi {
4800
4791
  if (!n3) throw new Error(`Invalid color scheme key: ${t3}`);
4801
4792
  const r3 = i2.getColorScheme();
4802
4793
  let o3 = r3[n3].bind(r3)();
4803
- o3 || (o3 = ji[Li[t3] ?? t3]);
4794
+ o3 || (o3 = ji[Bi[t3] ?? t3]);
4804
4795
  return e3 = new si(o3).toRGBA(), i2._cacheColors[t3] = e3, e3;
4805
4796
  };
4806
4797
  }
@@ -4829,7 +4820,7 @@ class Yi {
4829
4820
  const t2 = { name: this.getName() }, e2 = this._colors.toJSON();
4830
4821
  e2 && (Object.keys(e2).length > 1 || e2.name && e2.name !== t2.name) && (t2.colors = e2);
4831
4822
  const n2 = this._fonts.toJSON();
4832
- return n2 && (Object.keys(n2).length > 1 || n2.name && n2.name !== t2.name) && (t2.fonts = n2), 1 === Object.keys(t2).length && t2.name === Bi ? null : t2;
4823
+ return n2 && (Object.keys(n2).length > 1 || n2.name && n2.name !== t2.name) && (t2.fonts = n2), 1 === Object.keys(t2).length && t2.name === Li ? null : t2;
4833
4824
  }
4834
4825
  }
4835
4826
  const Qi = () => {
@@ -4841,7 +4832,7 @@ const Qi = () => {
4841
4832
  r2.push({ name: i2, colors: a2, fonts: l2 });
4842
4833
  }
4843
4834
  return r2;
4844
- })(Oi, Wi(Fi), Hi(ki)), e2 = /* @__PURE__ */ new Map();
4835
+ })(Oi, Hi(Fi), Wi(ki)), e2 = /* @__PURE__ */ new Map();
4845
4836
  for (let n2 = 0; n2 < t2.length; n2++) {
4846
4837
  const r2 = new Yi(t2[n2]), o2 = new Yi(null, r2, n2 + 1);
4847
4838
  e2.set(o2.getName().toLowerCase(), o2);
@@ -5769,10 +5760,10 @@ class xa {
5769
5760
  _update(t2, e2, n2 = null, r2 = void 0) {
5770
5761
  const o2 = t2, s2 = o2 + e2 - 1;
5771
5762
  let i2 = 0, a2 = s2, l2 = s2, c2 = null, h2 = null;
5772
- Da.min = o2, La.min = s2, (n2 || r2) && (Da.min -= 1, La.min += 1);
5763
+ Da.min = o2, Ba.min = s2, (n2 || r2) && (Da.min -= 1, Ba.min += 1);
5773
5764
  const d2 = this._runs;
5774
5765
  let u2 = false;
5775
- if (d2.editRange(Da, La, true, (t3, e3, n3) => {
5766
+ if (d2.editRange(Da, Ba, true, (t3, e3, n3) => {
5776
5767
  const r3 = t3.min, d3 = t3.max;
5777
5768
  return r3 < o2 && d3 + 1 >= o2 && (a2 = r3, c2 = e3), r3 - 1 <= s2 && d3 > s2 && (l2 = r3, h2 = e3), i2 -= d3 - r3 + 1, u2 = true, bt.DeleteValue;
5778
5769
  }), n2 || void 0 === r2 || (n2 = new pa([r2])), n2) {
@@ -5803,10 +5794,10 @@ class xa {
5803
5794
  const o2 = this._runs, s2 = o2.maxKey();
5804
5795
  if (e2 < 0 && r2 >= s2.max && n2 <= o2.minKey().min) return this._runs.clear(), this._dataCoords = null, this._count = 0, this._length = 0, true;
5805
5796
  let i2 = 0, a2 = n2, l2 = r2, c2 = null, h2 = null;
5806
- Da.min = a2, La.min = s2.min, e2 < 0 && (Da.min -= 1, La.min += 1);
5797
+ Da.min = a2, Ba.min = s2.min, e2 < 0 && (Da.min -= 1, Ba.min += 1);
5807
5798
  let d2 = false;
5808
5799
  const u2 = [];
5809
- if (o2.editRange(Da, La, true, (t3, o3, s3) => {
5800
+ if (o2.editRange(Da, Ba, true, (t3, o3, s3) => {
5810
5801
  const g2 = t3.min, m2 = t3.max;
5811
5802
  return g2 < n2 && m2 + 1 >= n2 && (a2 = g2, c2 = o3), (g2 < n2 || e2 < 0) && g2 - 1 <= r2 && t3.max > r2 && (l2 = g2, h2 = o3), e2 > 0 && g2 >= n2 || e2 < 0 && g2 - 1 > r2 ? u2.push([{ min: g2 + e2, max: m2 + e2 }, o3]) : i2 -= m2 - g2 + 1, d2 = true, bt.DeleteValue;
5812
5803
  }), e2 > 0) {
@@ -5823,7 +5814,7 @@ class xa {
5823
5814
  if (n3 <= t2 && e2.max >= t2) return this._lastListRead.at(t2 - n3);
5824
5815
  }
5825
5816
  let n2, r2;
5826
- const o2 = this._runs.getPairOrNextHigher(Da, Ba);
5817
+ const o2 = this._runs.getPairOrNextHigher(Da, La);
5827
5818
  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);
5828
5819
  }
5829
5820
  [Symbol.iterator]() {
@@ -5867,7 +5858,7 @@ const Ia = (t2) => "boolean" != typeof t2 ? (t2 && !t2.value && (t2.value = [-1,
5867
5858
  }
5868
5859
  if (e2) for (let t3 = i2; t3 < n2; t3++) o2.push(void 0);
5869
5860
  return o2;
5870
- }, Na = Object.seal({ done: false, value: [{ min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, null] }), Fa = Object.seal({ done: false, value: [-1, null] }), ka = { reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: Fa }, Oa = Object.freeze({ reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: Fa }), Da = { min: 0, max: Number.MAX_SAFE_INTEGER }, La = { min: 0, max: Number.MAX_SAFE_INTEGER }, Ba = [null, null], za = { bounds: { min: 0, max: 0 }, overflowRun: true };
5861
+ }, Na = Object.seal({ done: false, value: [{ min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, null] }), Fa = Object.seal({ done: false, value: [-1, null] }), ka = { reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: Fa }, Oa = Object.freeze({ reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: Fa }), Da = { min: 0, max: Number.MAX_SAFE_INTEGER }, Ba = { min: 0, max: Number.MAX_SAFE_INTEGER }, La = [null, null], za = { bounds: { min: 0, max: 0 }, overflowRun: true };
5871
5862
  class Pa {
5872
5863
  constructor(t2 = 9) {
5873
5864
  this._maxEntries = Math.max(4, t2), this._minEntries = Math.max(2, Math.ceil(0.4 * this._maxEntries)), this.clear();
@@ -5941,7 +5932,7 @@ class Pa {
5941
5932
  let i2, a2, l2;
5942
5933
  for (; n2 || o2.length; ) {
5943
5934
  if (n2 || (n2 = o2.pop(), a2 = o2[o2.length - 1], i2 = s2.pop(), l2 = true), n2.leaf) {
5944
- const r3 = Wa(t2, n2.children, e2);
5935
+ const r3 = Ha(t2, n2.children, e2);
5945
5936
  if (-1 !== r3) return n2.children.splice(r3, 1), o2.push(n2), this._condense(o2), this;
5946
5937
  }
5947
5938
  l2 || n2.leaf || !Xa(n2, r2) ? a2 ? (i2++, n2 = a2.children[i2], l2 = false) : n2 = null : (o2.push(n2), s2.push(i2), i2 = 0, a2 = n2, n2 = n2.children[0]);
@@ -5971,7 +5962,7 @@ class Pa {
5971
5962
  _build(t2, e2, n2, r2) {
5972
5963
  const o2 = n2 - e2 + 1;
5973
5964
  let s2, i2 = this._maxEntries;
5974
- if (o2 <= i2) return s2 = Qa(t2.slice(e2, n2 + 1)), Ha(s2, this.toBBox), s2;
5965
+ if (o2 <= i2) return s2 = Qa(t2.slice(e2, n2 + 1)), Wa(s2, this.toBBox), s2;
5975
5966
  r2 || (r2 = Math.ceil(Math.log(o2) / Math.log(i2)), i2 = Math.ceil(o2 / Math.pow(i2, r2 - 1))), s2 = Qa([]), s2.leaf = false, s2.height = r2;
5976
5967
  const a2 = Math.ceil(o2 / i2), l2 = a2 * Math.ceil(Math.sqrt(i2));
5977
5968
  Za(t2, e2, n2, l2, this.compareMinX);
@@ -5983,13 +5974,13 @@ class Pa {
5983
5974
  s2.children.push(this._build(t2, n3, o4, r2 - 1));
5984
5975
  }
5985
5976
  }
5986
- return Ha(s2, this.toBBox), s2;
5977
+ return Wa(s2, this.toBBox), s2;
5987
5978
  }
5988
5979
  _chooseSubtree(t2, e2, n2, r2) {
5989
5980
  for (; r2.push(e2), !e2.leaf && r2.length - 1 !== n2; ) {
5990
5981
  let n3, r3 = 1 / 0, o2 = 1 / 0;
5991
5982
  for (let s2 = 0; s2 < e2.children.length; s2++) {
5992
- const i2 = e2.children[s2], a2 = Ua(i2), l2 = qa(t2, i2) - a2;
5983
+ const i2 = e2.children[s2], a2 = Ua(i2), l2 = Ja(t2, i2) - a2;
5993
5984
  l2 < o2 ? (o2 = l2, r3 = a2 < r3 ? a2 : r3, n3 = i2) : l2 === o2 && a2 < r3 && (r3 = a2, n3 = i2);
5994
5985
  }
5995
5986
  e2 = n3 || e2.children[0];
@@ -6005,10 +5996,10 @@ class Pa {
6005
5996
  const n2 = t2[e2], r2 = n2.children.length, o2 = this._minEntries;
6006
5997
  this._chooseSplitAxis(n2, o2, r2);
6007
5998
  const s2 = this._chooseSplitIndex(n2, o2, r2), i2 = Qa(n2.children.splice(s2, n2.children.length - s2));
6008
- i2.height = n2.height, i2.leaf = n2.leaf, Ha(n2, this.toBBox), Ha(i2, this.toBBox), e2 ? t2[e2 - 1].children.push(i2) : this._splitRoot(n2, i2);
5999
+ i2.height = n2.height, i2.leaf = n2.leaf, Wa(n2, this.toBBox), Wa(i2, this.toBBox), e2 ? t2[e2 - 1].children.push(i2) : this._splitRoot(n2, i2);
6009
6000
  }
6010
6001
  _splitRoot(t2, e2) {
6011
- this.data = Qa([t2, e2]), this.data.height = t2.height + 1, this.data.leaf = false, Ha(this.data, this.toBBox);
6002
+ this.data = Qa([t2, e2]), this.data.height = t2.height + 1, this.data.leaf = false, Wa(this.data, this.toBBox);
6012
6003
  }
6013
6004
  _chooseSplitIndex(t2, e2, n2) {
6014
6005
  let r2 = -1, o2 = 1 / 0, s2 = 1 / 0;
@@ -6025,14 +6016,14 @@ class Pa {
6025
6016
  _allDistMargin(t2, e2, n2, r2) {
6026
6017
  t2.children.sort(r2);
6027
6018
  const o2 = this.toBBox, s2 = Va(t2, 0, e2, o2), i2 = Va(t2, n2 - e2, n2, o2);
6028
- let a2 = Ja(s2) + Ja(i2);
6019
+ let a2 = qa(s2) + qa(i2);
6029
6020
  for (let r3 = e2; r3 < n2 - e2; r3++) {
6030
6021
  const e3 = t2.children[r3];
6031
- $a(s2, t2.leaf ? o2(e3) : e3), a2 += Ja(s2);
6022
+ $a(s2, t2.leaf ? o2(e3) : e3), a2 += qa(s2);
6032
6023
  }
6033
6024
  for (let r3 = n2 - e2 - 1; r3 >= e2; r3--) {
6034
6025
  const e3 = t2.children[r3];
6035
- $a(i2, t2.leaf ? o2(e3) : e3), a2 += Ja(i2);
6026
+ $a(i2, t2.leaf ? o2(e3) : e3), a2 += qa(i2);
6036
6027
  }
6037
6028
  return a2;
6038
6029
  }
@@ -6040,15 +6031,15 @@ class Pa {
6040
6031
  for (let r2 = n2; r2 >= 0; r2--) $a(e2[r2], t2);
6041
6032
  }
6042
6033
  _condense(t2) {
6043
- for (let e2, n2 = t2.length - 1; n2 >= 0; n2--) 0 === t2[n2].children.length ? n2 > 0 ? (e2 = t2[n2 - 1].children, e2.splice(e2.indexOf(t2[n2]), 1)) : this.clear() : Ha(t2[n2], this.toBBox);
6034
+ for (let e2, n2 = t2.length - 1; n2 >= 0; n2--) 0 === t2[n2].children.length ? n2 > 0 ? (e2 = t2[n2 - 1].children, e2.splice(e2.indexOf(t2[n2]), 1)) : this.clear() : Wa(t2[n2], this.toBBox);
6044
6035
  }
6045
6036
  }
6046
- function Wa(t2, e2, n2) {
6037
+ function Ha(t2, e2, n2) {
6047
6038
  if (!n2) return e2.indexOf(t2);
6048
6039
  for (let r2 = 0; r2 < e2.length; r2++) if (n2(t2, e2[r2])) return r2;
6049
6040
  return -1;
6050
6041
  }
6051
- function Ha(t2, e2) {
6042
+ function Wa(t2, e2) {
6052
6043
  Va(t2, 0, t2.children.length, e2, t2);
6053
6044
  }
6054
6045
  function Va(t2, e2, n2, r2, o2 = null) {
@@ -6071,10 +6062,10 @@ function Ga(t2, e2) {
6071
6062
  function Ua(t2) {
6072
6063
  return (t2.maxX - t2.minX) * (t2.maxY - t2.minY);
6073
6064
  }
6074
- function Ja(t2) {
6065
+ function qa(t2) {
6075
6066
  return t2.maxX - t2.minX + (t2.maxY - t2.minY);
6076
6067
  }
6077
- function qa(t2, e2) {
6068
+ function Ja(t2, e2) {
6078
6069
  return (Math.max(e2.maxX, t2.maxX) - Math.min(e2.minX, t2.minX)) * (Math.max(e2.maxY, t2.maxY) - Math.min(e2.minY, t2.minY));
6079
6070
  }
6080
6071
  function Ka(t2, e2) {
@@ -6214,17 +6205,17 @@ class rl {
6214
6205
  }
6215
6206
  }
6216
6207
  }, w2);
6217
- let L2 = null;
6218
- 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);
6219
- let B2 = o.EmptyArray;
6208
+ let B2 = null;
6209
+ 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);
6210
+ let L2 = o.EmptyArray;
6220
6211
  if (b2 && S2 && _2) {
6221
6212
  let t3 = true;
6222
6213
  if (m2 > 0 && (t3 = a2 ? e2.rowStart > S2.rowStart || e2.rowEnd < S2.rowEnd : e2.colStart > S2.colStart || e2.colEnd < S2.colEnd), t3) {
6223
6214
  const t4 = ol(_2, c.unionRanges(S2, _2), a2 ? 0 : 1, a2 ? 1 : 0);
6224
- N2 && (B2 = L2._mergeNodes(t4, false));
6215
+ N2 && (L2 = B2._mergeNodes(t4, false));
6225
6216
  }
6226
6217
  }
6227
- 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;
6218
+ 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;
6228
6219
  }
6229
6220
  insertNonOverlapping(t2, e2) {
6230
6221
  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;
@@ -6966,7 +6957,7 @@ class Fl {
6966
6957
  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));
6967
6958
  }
6968
6959
  if (!s2) return ma;
6969
- r2 || d2 !== u2 || (r2 = true), zl.bounds.min = d2, zl.bounds.max = u2, zl.reverse = p2, zl.processSkip = a2, zl.reuseResult = Ll;
6960
+ r2 || d2 !== u2 || (r2 = true), zl.bounds.min = d2, zl.bounds.max = u2, zl.reverse = p2, zl.processSkip = a2, zl.reuseResult = Bl;
6970
6961
  let _2 = this._major.entries(zl), S2 = Pl();
6971
6962
  const w2 = (t3) => {
6972
6963
  if (!t3.nextActive) return;
@@ -6982,8 +6973,8 @@ class Fl {
6982
6973
  const e3 = _2.next();
6983
6974
  if (e3.done) return void (_2 = void 0);
6984
6975
  const n3 = e3.value, r3 = n3[1];
6985
- r3 || console.warn("issue", r3), t3.majorIndex = n3[0], t3.active = true, t3.nextActive = false, Bl.bounds.min = g2, Bl.bounds.max = f2, Bl.reverse = p2, Bl.processSkip = c2, Bl.reuseResult = Dl;
6986
- const o3 = r3.entries(Bl), s3 = o3.next();
6976
+ r3 || console.warn("issue", r3), t3.majorIndex = n3[0], t3.active = true, t3.nextActive = false, Ll.bounds.min = g2, Ll.bounds.max = f2, Ll.reverse = p2, Ll.processSkip = c2, Ll.reuseResult = Dl;
6977
+ const o3 = r3.entries(Ll), s3 = o3.next();
6987
6978
  if (!s3.done) {
6988
6979
  const e4 = s3.value;
6989
6980
  return t3.nextMinorIndex = e4[0], t3.nextMinorValue = e4[1], t3.minorIterator = o3, t3.nextActive = true, w2(t3);
@@ -7105,7 +7096,7 @@ class Fl {
7105
7096
  const e3 = t2[_2], n3 = e3[0], r3 = e3[1], o3 = new xa(p2);
7106
7097
  m2(o3, r3, n3);
7107
7098
  }, w2 = this._major;
7108
- zl.bounds.min = e2, zl.bounds.max = n2, zl.reverse = false, zl.processSkip = null, zl.reuseResult = Ll;
7099
+ zl.bounds.min = e2, zl.bounds.max = n2, zl.reverse = false, zl.processSkip = null, zl.reuseResult = Bl;
7109
7100
  const y2 = w2.entries(zl);
7110
7101
  let E2 = y2.next();
7111
7102
  for (; !E2.done; ) {
@@ -7161,7 +7152,7 @@ class Fl {
7161
7152
  return _2.delete(i2, a2 - i2 + 1), this._count += p2, this._dataCoords = null, 0 !== p2;
7162
7153
  }
7163
7154
  const S2 = [], w2 = this._isShared, y2 = [];
7164
- zl.bounds.min = i2, zl.bounds.max = a2, Bl.reverse = false, Bl.processSkip = null, Bl.reuseResult = Ll;
7155
+ zl.bounds.min = i2, zl.bounds.max = a2, Ll.reverse = false, Ll.processSkip = null, Ll.reuseResult = Bl;
7165
7156
  const E2 = _2.entries(zl);
7166
7157
  let C2 = E2.next();
7167
7158
  for (; !C2.done; ) {
@@ -7205,7 +7196,7 @@ class Fl {
7205
7196
  if (!o2 && (C2 *= -1, c.isRangeWithinRange(f2, t2))) return this.clear(), true;
7206
7197
  let b2 = 0;
7207
7198
  const v2 = this._major, x2 = [];
7208
- if (zl.bounds.min = a2, zl.bounds.max = E2 ? Number.MAX_SAFE_INTEGER : l2, Bl.reverse = !o2, Bl.processSkip = null, Bl.reuseResult = Ll, E2 && y2) {
7199
+ if (zl.bounds.min = a2, zl.bounds.max = E2 ? Number.MAX_SAFE_INTEGER : l2, Ll.reverse = !o2, Ll.processSkip = null, Ll.reuseResult = Bl, E2 && y2) {
7209
7200
  if (!o2) {
7210
7201
  zl.bounds.max = l2;
7211
7202
  const t4 = v2.entries(zl);
@@ -7223,9 +7214,9 @@ class Fl {
7223
7214
  let T2 = Number.MAX_SAFE_INTEGER;
7224
7215
  r2 && (T2 = s2 ? r2.colEnd : r2.rowEnd);
7225
7216
  const N2 = /* @__PURE__ */ new Set(), F2 = E2 ? /* @__PURE__ */ new Map() : null, k2 = [], O2 = v2.entries(zl), D2 = { bounds: { min: g2, max: m2 } };
7226
- let L2 = O2.next();
7227
- for (; !L2.done; ) {
7228
- const t3 = L2.value, e3 = t3[0], n3 = t3[1].clone(), r3 = n3.getCoords(), o3 = r3.min, s3 = r3.max;
7217
+ let B2 = O2.next();
7218
+ for (; !B2.done; ) {
7219
+ const t3 = B2.value, e3 = t3[0], n3 = t3[1].clone(), r3 = n3.getCoords(), o3 = r3.min, s3 = r3.max;
7229
7220
  if (E2 && F2.set(e3, n3), g2 <= s3) {
7230
7221
  const t4 = n3.getCount();
7231
7222
  E2 ? (e3 >= a2 - C2 && ha(n3.runs(D2), (t5, n4) => {
@@ -7241,14 +7232,14 @@ class Fl {
7241
7232
  }
7242
7233
  b2 += r4 - t4, x2.push([e3, n3]);
7243
7234
  }
7244
- L2 = O2.next();
7235
+ B2 = O2.next();
7245
7236
  }
7246
- const B2 = this._optionsMinor;
7237
+ const L2 = this._optionsMinor;
7247
7238
  let z2 = false;
7248
7239
  for (let t3 = 0; t3 < k2.length; t3++) {
7249
7240
  const e3 = k2[t3], n3 = e3.majorIndex, r3 = e3.run;
7250
7241
  let o3 = F2.get(n3);
7251
- o3 || (o3 = new xa(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);
7242
+ o3 || (o3 = new xa(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);
7252
7243
  }
7253
7244
  if (this._updateMajorSpan(x2, z2), N2 && N2.size > 0) {
7254
7245
  const t3 = Array.from(N2.values()), e3 = Ds(t3);
@@ -7340,8 +7331,8 @@ class Fl {
7340
7331
  Fl || (Fl = {});
7341
7332
  const kl = 12;
7342
7333
  Object.seal({ done: false, value: null });
7343
- const Ol = [-1, -1, null], Dl = Object.seal({ done: false, value: [-1, null] }), Ll = Object.seal({ done: false, value: [-1, null] }), Bl = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Dl }, zl = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Ll }, Pl = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: false, nextMinorIndex: -1, nextActive: false, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
7344
- class Wl {
7334
+ const Ol = [-1, -1, null], Dl = Object.seal({ done: false, value: [-1, null] }), Bl = Object.seal({ done: false, value: [-1, null] }), Ll = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Dl }, zl = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Bl }, Pl = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: false, nextMinorIndex: -1, nextActive: false, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
7335
+ class Hl {
7345
7336
  constructor(t2) {
7346
7337
  if (this._l = 0, this._at = null, this._dt = rc.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");
7347
7338
  const e2 = t2.length;
@@ -7367,8 +7358,8 @@ class Wl {
7367
7358
  return o2 ? this._vf64[t2] : this._vf32[t2];
7368
7359
  case jl:
7369
7360
  return !!r2;
7370
- case Jl:
7371
7361
  case ql:
7362
+ case Jl:
7372
7363
  return this._cv(n2, o2 ? Number(r2) : r2);
7373
7364
  case Gl:
7374
7365
  return this._vi64[o2 ? t2 : r2];
@@ -7416,9 +7407,9 @@ class Wl {
7416
7407
  }
7417
7408
  return new ArrayBuffer(t2);
7418
7409
  }
7419
- static fromArray(t2, e2, n2, r2, o2 = Hl) {
7410
+ static fromArray(t2, e2, n2, r2, o2 = Wl) {
7420
7411
  const s2 = t2.length;
7421
- if (0 === s2) return new Wl({ type: rc.Undefined, length: s2, getCoercedValue: n2 });
7412
+ if (0 === s2) return new Hl({ type: rc.Undefined, length: s2, getCoercedValue: n2 });
7422
7413
  let i2 = this._createArrayBuffer(s2 * Int8Array.BYTES_PER_ELEMENT), a2 = new Uint8Array(i2), l2 = 0, c2 = false, h2 = oc(t2[0], r2);
7423
7414
  for (let e3 = 0; e3 < s2; e3++) {
7424
7415
  const n3 = t2[e3], o3 = oc(n3, r2);
@@ -7446,8 +7437,8 @@ class Wl {
7446
7437
  case Ul:
7447
7438
  u2[n3] = r3;
7448
7439
  break;
7449
- case Jl:
7450
7440
  case ql:
7441
+ case Jl:
7451
7442
  d2[n3] = BigInt(e2?.(y2, r3) ?? 0);
7452
7443
  break;
7453
7444
  default:
@@ -7474,8 +7465,8 @@ class Wl {
7474
7465
  case Ul:
7475
7466
  _2[r3] = n3, f2[n3] = o3, n3++;
7476
7467
  break;
7477
- case Jl:
7478
7468
  case ql:
7469
+ case Jl:
7479
7470
  d2[r3] = e2?.(y2, o3) ?? 0;
7480
7471
  break;
7481
7472
  default:
@@ -7483,10 +7474,10 @@ class Wl {
7483
7474
  }
7484
7475
  }
7485
7476
  }
7486
- return new Wl({ length: s2, types: c2 ? i2 : null, type: h2, values32: p2, values64: g2, getCoercedValue: n2 });
7477
+ return new Hl({ length: s2, types: c2 ? i2 : null, type: h2, values32: p2, values64: g2, getCoercedValue: n2 });
7487
7478
  }
7488
7479
  }
7489
- const Hl = 0.1, Vl = 1, $l = 2, jl = 3, Gl = 4, Ul = 5, Jl = 6, ql = 7, Kl = 8, Xl = 9, Yl = 10, Ql = 11, Zl = 12, tc = 13, ec = 14, nc = 127, rc = { Undefined: ec }, oc = (t2, e2) => {
7480
+ const Wl = 0.1, Vl = 1, $l = 2, jl = 3, Gl = 4, Ul = 5, ql = 6, Jl = 7, Kl = 8, Xl = 9, Yl = 10, Ql = 11, Zl = 12, tc = 13, ec = 14, nc = 127, rc = { Undefined: ec }, oc = (t2, e2) => {
7490
7481
  switch (typeof t2) {
7491
7482
  case "number":
7492
7483
  const n2 = t2;
@@ -7499,12 +7490,12 @@ const Hl = 0.1, Vl = 1, $l = 2, jl = 3, Gl = 4, Ul = 5, Jl = 6, ql = 7, Kl = 8,
7499
7490
  if (Number.isInteger(n2) && n2 <= 2147483647 && n2 >= -2147483648) return Vl;
7500
7491
  return Math.fround(n2) === n2 ? $l : Ul;
7501
7492
  case "string":
7502
- return Jl;
7493
+ return ql;
7503
7494
  case "boolean":
7504
7495
  return jl;
7505
7496
  case "object":
7506
7497
  if (null === t2) return tc;
7507
- if (t2 instanceof Error) return ql;
7498
+ if (t2 instanceof Error) return Jl;
7508
7499
  if (!e2) return nc;
7509
7500
  const r2 = e2(t2);
7510
7501
  if (r2 < 128 || r2 > 255) throw new Error("Custom type must be between 128 and 255");
@@ -7796,15 +7787,15 @@ class gc {
7796
7787
  1 === p2 && (t2.colEnd = t2.colStart), 1 === _2 && (t2.rowEnd = t2.rowStart), A2 = new bl({ 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 } });
7797
7788
  } else A2 = g2._entries({ ...s2, type: l2 ?? null, orientation: x2, bounds: M2, reuseResult: false });
7798
7789
  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 vl({ ...s2, bounds: i2, comparator: (I2 ? lc : hc)(i2, M2) }, R2, A2);
7799
- let L2, B2 = D2.next();
7800
- for (; !B2.done; ) {
7801
- const t2 = B2.value;
7790
+ let B2, L2 = D2.next();
7791
+ for (; !L2.done; ) {
7792
+ const t2 = L2.value;
7802
7793
  let e2 = t2[1], r3 = t2[3];
7803
7794
  const s3 = t2[0], i3 = t2[2], a3 = s3 ? s3.colIndex : i3.colIndex + F2, l3 = s3 ? s3.rowIndex : i3.rowIndex + k2;
7804
7795
  let c2, u3;
7805
7796
  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);
7806
7797
  const g3 = I2 ? a3 : l3, m3 = I2 ? l3 : a3;
7807
- O2.addValue(g3, m3, u3), B2 = D2.next();
7798
+ O2.addValue(g3, m3, u3), L2 = D2.next();
7808
7799
  }
7809
7800
  if (C2 && y2 > S2 || E2 > w2) {
7810
7801
  const t2 = this._values.clone();
@@ -7816,9 +7807,9 @@ class gc {
7816
7807
  const e2 = Sl(T2, N2 + w2, T2 + y2 - 1, N2 + E2 - 1, I2), n2 = Il(C2, e2, I2);
7817
7808
  t2.setValues(n2.tuples);
7818
7809
  }
7819
- L2 = new gc(t2, { colStart: T2, rowStart: N2, colEnd: T2 + y2 - 1, rowEnd: N2 + E2 - 1 }, this._type);
7820
- } else L2 = this._cloneFromBuilder(O2, s2, y2, E2);
7821
- return L2;
7810
+ B2 = new gc(t2, { colStart: T2, rowStart: N2, colEnd: T2 + y2 - 1, rowEnd: N2 + E2 - 1 }, this._type);
7811
+ } else B2 = this._cloneFromBuilder(O2, s2, y2, E2);
7812
+ return B2;
7822
7813
  }
7823
7814
  _fill(t2, n2, r2) {
7824
7815
  if (null === r2) return void t2.delete(n2);
@@ -8178,9 +8169,9 @@ const mc = { colStart: Number.MIN_SAFE_INTEGER, rowStart: Number.MIN_SAFE_INTEGE
8178
8169
  const i2 = n2.getOrientation() === e.Orientation.Column, a2 = Rl(s2, i2, Sl(r2?.colStart ?? 0, r2?.rowStart ?? 0, void 0, void 0, i2), true), l2 = wl(a2.bounds, i2);
8179
8170
  n2.setValues(a2.tuples);
8180
8171
  return new gc(n2, l2, o2, !r2);
8181
- }, Mc = new RegExp(/^([$]?[a-zA-Z]*[$]?[0-9]*)[:]?([$]?[a-zA-Z]*[$]?[0-9]*)?$/), Tc = new RegExp(/^(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?)(:(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?))?$/, "i"), Nc = new RegExp(/^(R?)(\[?[-+]?\d+\]?|\d+)?(C?)(\[?[-+]?\d+\]?|\d+)?$/, "i"), Fc = new RegExp("(?:'[^']+'|[A-Za-z0-9_\\-.]+?!)?(\\$?[A-Za-z]+\\$?\\d+(?::\\$?[A-Za-z]+\\$?\\d+)?|\\$?[A-Za-z]+:\\$?[A-Za-z]+|\\$?\\d+:\\$?\\d+)", "g"), kc = /\s+/g, Oc = /"(?:[^"]|"")*"|\[[^[\]]+\]/g, Dc = /[\uE000-\uF8FF]/g, Lc = "#REF!", Bc = Math.pow(2, 14), zc = Math.pow(2, 20);
8182
- let Pc, Wc;
8183
- const Hc = (t2) => (Pc === t2 || (Wc = "" + (t2 + 1), Pc = t2), Wc);
8172
+ }, Mc = new RegExp(/^([$]?[a-zA-Z]*[$]?[0-9]*)[:]?([$]?[a-zA-Z]*[$]?[0-9]*)?$/), Tc = new RegExp(/^(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?)(:(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?))?$/, "i"), Nc = new RegExp(/^(R?)(\[?[-+]?\d+\]?|\d+)?(C?)(\[?[-+]?\d+\]?|\d+)?$/, "i"), Fc = new RegExp("(?:'[^']+'|[A-Za-z0-9_\\-.]+?!)?(\\$?[A-Za-z]+\\$?\\d+(?::\\$?[A-Za-z]+\\$?\\d+)?|\\$?[A-Za-z]+:\\$?[A-Za-z]+|\\$?\\d+:\\$?\\d+)", "g"), kc = /\s+/g, Oc = /"(?:[^"]|"")*"|\[[^[\]]+\]/g, Dc = /[\uE000-\uF8FF]/g, Bc = "#REF!", Lc = Math.pow(2, 14), zc = Math.pow(2, 20);
8173
+ let Pc, Hc;
8174
+ const Wc = (t2) => (Pc === t2 || (Hc = "" + (t2 + 1), Pc = t2), Hc);
8184
8175
  let Vc, $c;
8185
8176
  const jc = (t2) => {
8186
8177
  if (Vc === t2) return $c;
@@ -8190,46 +8181,46 @@ const jc = (t2) => {
8190
8181
  return $c = e2, $c;
8191
8182
  }, Gc = /[^a-zA-Z0-9]/, Uc = (t2) => {
8192
8183
  if (!t2) return null;
8193
- return jc(t2.colIndex) + Hc(t2.rowIndex);
8194
- }, Jc = (t2) => {
8195
- if (!t2) return Lc;
8196
- const e2 = jc(t2.colIndex), n2 = Hc(t2.rowIndex);
8184
+ return jc(t2.colIndex) + Wc(t2.rowIndex);
8185
+ }, qc = (t2) => {
8186
+ if (!t2) return Bc;
8187
+ const e2 = jc(t2.colIndex), n2 = Wc(t2.rowIndex);
8197
8188
  return (t2.$colIndex ? "$" + e2 : e2) + (t2.$rowIndex ? "$" + n2 : n2);
8198
- }, qc = (t2, e2) => {
8189
+ }, Jc = (t2, e2) => {
8199
8190
  let n2 = t2 ?? e2;
8200
8191
  var r2;
8201
- return n2 && (n2 = Wo(n2), n2 = n2.replace(/'/g, "''"), r2 = n2, Gc.test(r2) && (n2 = Ho(n2))), n2;
8202
- }, Kc = (t2, e2) => t2 ? t2 + (t2.endsWith("!") ? "" : "!") + e2 : Lc, Xc = (t2, e2, n2 = Uc) => {
8192
+ return n2 && (n2 = Ho(n2), n2 = n2.replace(/'/g, "''"), r2 = n2, Gc.test(r2) && (n2 = Wo(n2))), n2;
8193
+ }, Kc = (t2, e2) => t2 ? t2 + (t2.endsWith("!") ? "" : "!") + e2 : Bc, Xc = (t2, e2, n2 = Uc) => {
8203
8194
  if (!t2) return null;
8204
8195
  const r2 = t2.colStart, o2 = t2.rowStart, s2 = t2.colEnd, i2 = t2.rowEnd;
8205
8196
  if (r2 === s2 && o2 === i2) return n2({ colIndex: r2, rowIndex: o2 });
8206
8197
  t2 = { ...e2, ...t2 };
8207
8198
  const a2 = r2 === Number.MIN_SAFE_INTEGER || e2 && r2 <= e2.colStart && s2 >= e2.colEnd, l2 = o2 === Number.MIN_SAFE_INTEGER || e2 && o2 <= e2.rowStart && i2 >= e2.rowEnd;
8208
8199
  let c2 = null;
8209
- c2 = l2 ? jc(r2) : a2 ? Hc(o2) : n2({ colIndex: r2, rowIndex: o2 });
8200
+ c2 = l2 ? jc(r2) : a2 ? Wc(o2) : n2({ colIndex: r2, rowIndex: o2 });
8210
8201
  let h2 = null;
8211
- return h2 = l2 ? jc(s2) : a2 ? Hc(i2) : n2({ colIndex: s2, rowIndex: i2 }), c2 + ":" + h2;
8212
- }, Yc = (t2, e2, n2 = Jc) => {
8213
- if (!t2) return Lc;
8202
+ return h2 = l2 ? jc(s2) : a2 ? Wc(i2) : n2({ colIndex: s2, rowIndex: i2 }), c2 + ":" + h2;
8203
+ }, Yc = (t2, e2, n2 = qc) => {
8204
+ if (!t2) return Bc;
8214
8205
  const r2 = t2.colIndex, o2 = t2.rowIndex, s2 = r2 === Number.MIN_SAFE_INTEGER;
8215
8206
  let i2 = null;
8216
- if (o2 === Number.MIN_SAFE_INTEGER ? (i2 = jc(r2), t2.$colIndex && (i2 = "$" + i2)) : s2 ? (i2 = Hc(o2), t2.$rowIndex && (i2 = "$" + i2)) : i2 = n2(t2), t2.sheetName || e2) {
8217
- const n3 = qc(t2.sheetName, e2);
8207
+ if (o2 === Number.MIN_SAFE_INTEGER ? (i2 = jc(r2), t2.$colIndex && (i2 = "$" + i2)) : s2 ? (i2 = Wc(o2), t2.$rowIndex && (i2 = "$" + i2)) : i2 = n2(t2), t2.sheetName || e2) {
8208
+ const n3 = Jc(t2.sheetName, e2);
8218
8209
  i2 = Kc(n3, i2);
8219
8210
  }
8220
8211
  return i2;
8221
- }, Qc = (t2, e2, n2 = Jc) => {
8222
- if (!t2) return Lc;
8212
+ }, Qc = (t2, e2, n2 = qc) => {
8213
+ if (!t2) return Bc;
8223
8214
  const r2 = void 0 !== t2.rowStart && t2.rowStart === t2.rowEnd;
8224
8215
  if (void 0 !== t2.colStart && t2.colStart === t2.colEnd && r2) return n2({ colIndex: t2.colStart, rowIndex: t2.rowStart, $colIndex: t2.$colStart, $rowIndex: t2.$rowStart });
8225
8216
  t2 = { ...e2, ...t2 };
8226
8217
  const o2 = e2 && t2.rowStart <= e2.rowStart && t2.rowEnd >= e2.rowEnd, s2 = e2 && t2.colStart <= e2.colStart && t2.colEnd >= e2.colEnd;
8227
8218
  let i2 = null;
8228
- o2 ? (i2 = jc(t2.colStart), i2 = t2.$colStart ? "$" + i2 : i2) : s2 ? (i2 = Hc(t2.rowStart), i2 = t2.$rowStart ? "$" + i2 : i2) : i2 = n2({ colIndex: t2.colStart, rowIndex: t2.rowStart, $colIndex: t2.$colStart, $rowIndex: t2.$rowStart });
8219
+ o2 ? (i2 = jc(t2.colStart), i2 = t2.$colStart ? "$" + i2 : i2) : s2 ? (i2 = Wc(t2.rowStart), i2 = t2.$rowStart ? "$" + i2 : i2) : i2 = n2({ colIndex: t2.colStart, rowIndex: t2.rowStart, $colIndex: t2.$colStart, $rowIndex: t2.$rowStart });
8229
8220
  let a2 = null;
8230
- return o2 ? (a2 = jc(t2.colEnd), a2 = t2.$colEnd ? "$" + a2 : a2) : s2 ? (a2 = Hc(t2.rowEnd), a2 = t2.$rowEnd ? "$" + a2 : a2) : a2 = n2({ colIndex: t2.colEnd, rowIndex: t2.rowEnd, $colIndex: t2.$colEnd, $rowIndex: t2.$rowEnd }), i2 + ":" + a2;
8231
- }, Zc = (t2, e2, n2 = Jc) => {
8232
- const r2 = Qc(t2, e2, n2), o2 = qc(t2?.sheetName, e2?.sheetName);
8221
+ return o2 ? (a2 = jc(t2.colEnd), a2 = t2.$colEnd ? "$" + a2 : a2) : s2 ? (a2 = Wc(t2.rowEnd), a2 = t2.$rowEnd ? "$" + a2 : a2) : a2 = n2({ colIndex: t2.colEnd, rowIndex: t2.rowEnd, $colIndex: t2.$colEnd, $rowIndex: t2.$rowEnd }), i2 + ":" + a2;
8222
+ }, Zc = (t2, e2, n2 = qc) => {
8223
+ const r2 = Qc(t2, e2, n2), o2 = Jc(t2?.sheetName, e2?.sheetName);
8233
8224
  return Kc(o2, r2);
8234
8225
  }, th = (t2, e2 = false) => {
8235
8226
  if (!t2) return null;
@@ -8274,7 +8265,7 @@ const jc = (t2) => {
8274
8265
  const e3 = t3.lastIndexOf("!");
8275
8266
  if (-1 === e3) return null;
8276
8267
  let n3 = t3.slice(0, e3);
8277
- return n3 = Wo(n3), n3 = n3.replace(/''/g, "'"), [n3, t3.slice(e3 + 1)];
8268
+ return n3 = Ho(n3), n3 = n3.replace(/''/g, "'"), [n3, t3.slice(e3 + 1)];
8278
8269
  })(t2);
8279
8270
  let o2;
8280
8271
  if (r2) {
@@ -8282,18 +8273,18 @@ const jc = (t2) => {
8282
8273
  o2.sheetName = r2[0];
8283
8274
  } else o2 = eh(t2, e2, n2);
8284
8275
  return o2 || null;
8285
- }, rh = (t2, e2, n2 = Qc, r2 = Jc) => {
8276
+ }, rh = (t2, e2, n2 = Qc, r2 = qc) => {
8286
8277
  if (!t2 || 0 === t2.length) return null;
8287
8278
  const o2 = [], s2 = t2.length;
8288
8279
  for (let i2 = 0; i2 < s2; i2++) {
8289
8280
  const s3 = t2[i2];
8290
8281
  let a2 = null;
8291
- s3 ? void 0 !== s3.rowIndex || void 0 !== s3.colIndex ? a2 = r2(s3) : void 0 !== s3.rowStart || void 0 !== s3.colStart ? a2 = n2(s3, e2, r2) : "string" == typeof s3 && (a2 = s3) : a2 = Lc, a2 && o2.push(a2);
8282
+ s3 ? void 0 !== s3.rowIndex || void 0 !== s3.colIndex ? a2 = r2(s3) : void 0 !== s3.rowStart || void 0 !== s3.colStart ? a2 = n2(s3, e2, r2) : "string" == typeof s3 && (a2 = s3) : a2 = Bc, a2 && o2.push(a2);
8292
8283
  }
8293
8284
  return o2;
8294
- }, oh = (t2, e2, n2 = Zc, r2 = Jc) => {
8285
+ }, oh = (t2, e2, n2 = Zc, r2 = qc) => {
8295
8286
  const o2 = rh(t2, e2, n2, r2);
8296
- return o2 ? o2.join(",") : Lc;
8287
+ return o2 ? o2.join(",") : Bc;
8297
8288
  }, sh = (t2, e2, n2, r2 = nh, o2, s2 = false) => {
8298
8289
  if (null !== e2) {
8299
8290
  if ("string" == typeof e2) {
@@ -8402,7 +8393,7 @@ const jc = (t2) => {
8402
8393
  }, uh = (t2, e2 = false) => {
8403
8394
  const n2 = t2.match(e2 ? Tc : Mc);
8404
8395
  return t2.endsWith(":") ? null : n2;
8405
- }, gh = { rowIndex: -1, colIndex: -1, $colIndex: false, $rowIndex: false }, mh = (t2, e2, n2, r2 = Bc) => {
8396
+ }, gh = { rowIndex: -1, colIndex: -1, $colIndex: false, $rowIndex: false }, mh = (t2, e2, n2, r2 = Lc) => {
8406
8397
  let o2 = t2.lastIndexOf("!"), s2 = "";
8407
8398
  -1 !== o2 && (s2 = t2.slice(0, o2) + "!", t2 = t2.slice(o2 + 1));
8408
8399
  let i2 = null;
@@ -8447,13 +8438,13 @@ const jc = (t2) => {
8447
8438
  r2 !== Number.MIN_SAFE_INTEGER && (t2.$rowIndex ? n2 += `R${r2 + 1}` : n2 += 0 === r2 ? "R" : `R[${r2 + 1}]`);
8448
8439
  let o2 = "";
8449
8440
  const s2 = t2.colIndex;
8450
- return s2 !== Number.MIN_SAFE_INTEGER && (t2.$colIndex ? o2 += `C${s2 + 1}` : o2 += 0 === s2 ? "C" : `C[${s2 + 1}]`), t2.sheetName && (n2 = qc(t2.sheetName, e2) + "!" + n2), n2 + o2;
8441
+ return s2 !== Number.MIN_SAFE_INTEGER && (t2.$colIndex ? o2 += `C${s2 + 1}` : o2 += 0 === s2 ? "C" : `C[${s2 + 1}]`), t2.sheetName && (n2 = Jc(t2.sheetName, e2) + "!" + n2), n2 + o2;
8451
8442
  }, yh = (t2, e2, n2) => {
8452
8443
  let r2 = "";
8453
8444
  const o2 = t2.colIndex;
8454
8445
  o2 !== Number.MIN_SAFE_INTEGER && (t2.$colIndex ? r2 += "$" + jc(o2) : r2 += jc(o2 + n2));
8455
8446
  const s2 = t2.rowIndex;
8456
- return s2 !== Number.MIN_SAFE_INTEGER && (t2.$rowIndex ? r2 += "$" + Hc(s2) : r2 += Hc(s2 + e2)), r2;
8447
+ return s2 !== Number.MIN_SAFE_INTEGER && (t2.$rowIndex ? r2 += "$" + Wc(s2) : r2 += Wc(s2 + e2)), r2;
8457
8448
  }, Eh = (t2, e2, n2, r2) => {
8458
8449
  let o2 = t2.colStart, s2 = t2.rowStart, i2 = t2.colEnd, a2 = t2.rowEnd;
8459
8450
  const l2 = t2.$colStart ?? false, c2 = t2.$rowStart ?? false, h2 = t2.$colEnd ?? false, d2 = t2.$rowEnd ?? false;
@@ -8645,11 +8636,11 @@ class Oh {
8645
8636
  }
8646
8637
  }
8647
8638
  const Dh = Object.freeze({ break: true });
8648
- var Lh;
8649
- (Lh || (Lh = {})).Type = { Style: "style", Table: "table", Merge: "merge", Hyperlink: "hyperlink", Comments: "comments", Unlock: "unlock", Contentful: "contentful", Conditional: "conditional", Formula: "formula", Spill: "spill", Continuous: "continuous", Pending: "pending", CalcError: "calcError" };
8650
- const Bh = Object.freeze({ [Lh.Type.Style]: false, [Lh.Type.Table]: false, [Lh.Type.Merge]: false, [Lh.Type.Hyperlink]: false, [Lh.Type.Comments]: false, [Lh.Type.Unlock]: false, [Lh.Type.Formula]: false, [Lh.Type.Spill]: false, [Lh.Type.Pending]: false, [Lh.Type.CalcError]: false, [Lh.Type.Contentful]: false, [Lh.Type.Conditional]: false, [Lh.Type.Continuous]: false }), zh = Object.freeze({ [Lh.Type.Style]: false, [Lh.Type.Table]: false, [Lh.Type.Merge]: false, [Lh.Type.Hyperlink]: false, [Lh.Type.Comments]: false, [Lh.Type.Unlock]: false, [Lh.Type.Formula]: false, [Lh.Type.Spill]: false, [Lh.Type.Pending]: false, [Lh.Type.CalcError]: false, [Lh.Type.Conditional]: false, [Lh.Type.Continuous]: false }), Ph = Object.freeze({ [Lh.Type.Style]: false, [Lh.Type.Table]: true, [Lh.Type.Merge]: false, [Lh.Type.Hyperlink]: false, [Lh.Type.Comments]: false, [Lh.Type.Unlock]: false, [Lh.Type.Formula]: false });
8651
- Object.freeze({ [Lh.Type.Style]: false, [Lh.Type.Table]: false, [Lh.Type.Hyperlink]: false, [Lh.Type.Comments]: false, [Lh.Type.Unlock]: false, [Lh.Type.Contentful]: false, [Lh.Type.Formula]: false });
8652
- const Wh = Object.freeze({ [Lh.Type.Style]: false, [Lh.Type.Hyperlink]: false, [Lh.Type.Continuous]: false, [Lh.Type.Contentful]: false }), Hh = "This sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.", Vh = (t2 = "update") => `Unable to ${t2}, this sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.`, $h = "The range is outside of the bounds of the sheet.", jh = "Listener can not be null", Gh = "We can't insert items. The sheet is protected.", Uh = (t2) => `We can't create a ${t2} that overlaps with another table or merge.`, Jh = "Overlapping ranges can not be merged.", qh = "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.", Kh = "Unable to partially fill over merged cells.", Xh = "Unable to sort merged cells unless they are all the same size.", Yh = "Sheet has been closed. No further operations are allowed.", Qh = "IteratorContext can only be used during visit.", Zh = "When using addresses directly from the sheet do not include the sheet name.", td = (t2) => `Unable to return more than ${t2} values. To access values in a more scalable solution use 'ICellRange.forEach' or an iterator.`, ed = "'setValue' expects a single value; when working with an array use 'setValue'.", nd = "Multiple selection ranges can not be copied.", rd = "Unable to determine source.", od = "When pasting before or after the cut area both areas must align.";
8639
+ var Bh;
8640
+ (Bh || (Bh = {})).Type = { Style: "style", Table: "table", Merge: "merge", Hyperlink: "hyperlink", Comments: "comments", Unlock: "unlock", Contentful: "contentful", Conditional: "conditional", Formula: "formula", Spill: "spill", Continuous: "continuous", Pending: "pending", CalcError: "calcError" };
8641
+ const Lh = Object.freeze({ [Bh.Type.Style]: false, [Bh.Type.Table]: false, [Bh.Type.Merge]: false, [Bh.Type.Hyperlink]: false, [Bh.Type.Comments]: false, [Bh.Type.Unlock]: false, [Bh.Type.Formula]: false, [Bh.Type.Spill]: false, [Bh.Type.Pending]: false, [Bh.Type.CalcError]: false, [Bh.Type.Contentful]: false, [Bh.Type.Conditional]: false, [Bh.Type.Continuous]: false }), zh = Object.freeze({ [Bh.Type.Style]: false, [Bh.Type.Table]: false, [Bh.Type.Merge]: false, [Bh.Type.Hyperlink]: false, [Bh.Type.Comments]: false, [Bh.Type.Unlock]: false, [Bh.Type.Formula]: false, [Bh.Type.Spill]: false, [Bh.Type.Pending]: false, [Bh.Type.CalcError]: false, [Bh.Type.Conditional]: false, [Bh.Type.Continuous]: false }), Ph = Object.freeze({ [Bh.Type.Style]: false, [Bh.Type.Table]: true, [Bh.Type.Merge]: false, [Bh.Type.Hyperlink]: false, [Bh.Type.Comments]: false, [Bh.Type.Unlock]: false, [Bh.Type.Formula]: false });
8642
+ Object.freeze({ [Bh.Type.Style]: false, [Bh.Type.Table]: false, [Bh.Type.Hyperlink]: false, [Bh.Type.Comments]: false, [Bh.Type.Unlock]: false, [Bh.Type.Contentful]: false, [Bh.Type.Formula]: false });
8643
+ const Hh = Object.freeze({ [Bh.Type.Style]: false, [Bh.Type.Hyperlink]: false, [Bh.Type.Continuous]: false, [Bh.Type.Contentful]: false }), Wh = "This sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.", Vh = (t2 = "update") => `Unable to ${t2}, this sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.`, $h = "The range is outside of the bounds of the sheet.", jh = "Listener can not be null", Gh = "We can't insert items. The sheet is protected.", Uh = (t2) => `We can't create a ${t2} that overlaps with another table or merge.`, qh = "Overlapping ranges can not be merged.", Jh = "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.", Kh = "Unable to partially fill over merged cells.", Xh = "Unable to sort merged cells unless they are all the same size.", Yh = "Sheet has been closed. No further operations are allowed.", Qh = "IteratorContext can only be used during visit.", Zh = "When using addresses directly from the sheet do not include the sheet name.", td = (t2) => `Unable to return more than ${t2} values. To access values in a more scalable solution use 'ICellRange.forEach' or an iterator.`, ed = "'setValue' expects a single value; when working with an array use 'setValue'.", nd = "Multiple selection ranges can not be copied.", rd = "Unable to determine source.", od = "When pasting before or after the cut area both areas must align.";
8653
8644
  var sd, id;
8654
8645
  (id = sd || (sd = {})).CalcStatus = { Ready: "ready", Stale: "stale", Pending: "pending", Streaming: "streaming" }, id.Content = { Values: "values", Formats: "formats", Formulas: "formula", Hyperlinks: "hyperlinks", Tables: "tables", Notes: "notes", Comments: "comments", Warnings: "warnings", Errors: "errors", Merges: "merges" };
8655
8646
  class ad {
@@ -8705,10 +8696,10 @@ const ld = (t2) => {
8705
8696
  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;
8706
8697
  }
8707
8698
  return '"' + e2 + '"';
8708
- }, Sd = "Thin", wd = "Hairline", yd = "Extra Light", Ed = "Ultra Light", Cd = "Light", bd = "Normal", vd = "Regular", xd = "Medium", Id = "Semi Bold", Rd = "Demi Bold", Ad = "Bold", Md = "Extra Bold", Td = "Ultra Bold", Nd = "Black", Fd = "Heavy", kd = "Extra Black", Od = "Ultra Black", Dd = "lighter", Ld = "normal", Bd = "bold", zd = "bolder", Pd = /* @__PURE__ */ new Map();
8709
- Pd.set(o.textToKey(Sd), 100), Pd.set(o.textToKey(wd), 100), Pd.set(o.textToKey(yd), 200), Pd.set(o.textToKey(Ed), 200), Pd.set(o.textToKey(Cd), 300), Pd.set(o.textToKey(bd), 400), Pd.set(o.textToKey(vd), 400), Pd.set(o.textToKey(xd), 500), Pd.set(o.textToKey(Id), 600), Pd.set(o.textToKey(Rd), 600), Pd.set(o.textToKey(bd), 400), Pd.set(o.textToKey(Ad), 700), Pd.set(o.textToKey(Md), 800), Pd.set(o.textToKey(Td), 800), Pd.set(o.textToKey(Nd), 900), Pd.set(o.textToKey(Fd), 900), Pd.set(o.textToKey(kd), 950), Pd.set(o.textToKey(Od), 950), Pd.set(o.textToKey(Dd), 100), Pd.set(o.textToKey(Ld), 400), Pd.set(o.textToKey(Bd), 700), Pd.set(o.textToKey(zd), 700);
8710
- const Wd = "xx-small", Hd = "x-small", Vd = "small", $d = "medium", jd = "large", Gd = "x-large", Ud = "xx-large", Jd = "xxx-large", qd = "smaller", Kd = "larger", Xd = "math", Yd = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), Qd = /* @__PURE__ */ new Map();
8711
- Qd.set(o.textToKey(Wd), (t2) => 0.4 * t2), Qd.set(o.textToKey(Hd), (t2) => 0.5 * t2), Qd.set(o.textToKey(Vd), (t2) => 0.6 * t2), Qd.set(o.textToKey($d), (t2) => t2), Qd.set(o.textToKey(jd), (t2) => 1.1 * t2), Qd.set(o.textToKey(Gd), (t2) => 1.25 * t2), Qd.set(o.textToKey(Ud), (t2) => 1.5 * t2), Qd.set(o.textToKey(Jd), (t2) => 2 * t2), Qd.set(o.textToKey(qd), (t2) => 0.9 * t2), Qd.set(o.textToKey(Kd), (t2) => 1.1 * t2), Qd.set(o.textToKey(Xd), (t2) => t2);
8699
+ }, Sd = "Thin", wd = "Hairline", yd = "Extra Light", Ed = "Ultra Light", Cd = "Light", bd = "Normal", vd = "Regular", xd = "Medium", Id = "Semi Bold", Rd = "Demi Bold", Ad = "Bold", Md = "Extra Bold", Td = "Ultra Bold", Nd = "Black", Fd = "Heavy", kd = "Extra Black", Od = "Ultra Black", Dd = "lighter", Bd = "normal", Ld = "bold", zd = "bolder", Pd = /* @__PURE__ */ new Map();
8700
+ Pd.set(o.textToKey(Sd), 100), Pd.set(o.textToKey(wd), 100), Pd.set(o.textToKey(yd), 200), Pd.set(o.textToKey(Ed), 200), Pd.set(o.textToKey(Cd), 300), Pd.set(o.textToKey(bd), 400), Pd.set(o.textToKey(vd), 400), Pd.set(o.textToKey(xd), 500), Pd.set(o.textToKey(Id), 600), Pd.set(o.textToKey(Rd), 600), Pd.set(o.textToKey(bd), 400), Pd.set(o.textToKey(Ad), 700), Pd.set(o.textToKey(Md), 800), Pd.set(o.textToKey(Td), 800), Pd.set(o.textToKey(Nd), 900), Pd.set(o.textToKey(Fd), 900), Pd.set(o.textToKey(kd), 950), Pd.set(o.textToKey(Od), 950), Pd.set(o.textToKey(Dd), 100), Pd.set(o.textToKey(Bd), 400), Pd.set(o.textToKey(Ld), 700), Pd.set(o.textToKey(zd), 700);
8701
+ const Hd = "xx-small", Wd = "x-small", Vd = "small", $d = "medium", jd = "large", Gd = "x-large", Ud = "xx-large", qd = "xxx-large", Jd = "smaller", Kd = "larger", Xd = "math", Yd = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), Qd = /* @__PURE__ */ new Map();
8702
+ Qd.set(o.textToKey(Hd), (t2) => 0.4 * t2), Qd.set(o.textToKey(Wd), (t2) => 0.5 * t2), Qd.set(o.textToKey(Vd), (t2) => 0.6 * t2), Qd.set(o.textToKey($d), (t2) => t2), Qd.set(o.textToKey(jd), (t2) => 1.1 * t2), Qd.set(o.textToKey(Gd), (t2) => 1.25 * t2), Qd.set(o.textToKey(Ud), (t2) => 1.5 * t2), Qd.set(o.textToKey(qd), (t2) => 2 * t2), Qd.set(o.textToKey(Jd), (t2) => 0.9 * t2), Qd.set(o.textToKey(Kd), (t2) => 1.1 * t2), Qd.set(o.textToKey(Xd), (t2) => t2);
8712
8703
  const Zd = (t2, e2 = 11, n2 = "pt") => {
8713
8704
  if (!t2) return null;
8714
8705
  let r2 = e2;
@@ -8830,7 +8821,7 @@ const Du = (t2) => {
8830
8821
  throw t3;
8831
8822
  }
8832
8823
  return t2;
8833
- }, Lu = { shorthand: (t2, e2) => {
8824
+ }, Bu = { shorthand: (t2, e2) => {
8834
8825
  if (!t2 || "none" === t2 || "transparent" === t2) return null;
8835
8826
  try {
8836
8827
  return e2.parseColor(t2).toString();
@@ -8838,7 +8829,7 @@ const Du = (t2) => {
8838
8829
  console.warn("error", t3);
8839
8830
  }
8840
8831
  return t2;
8841
- }, merge: (t2, e2, n2) => t2 }, Bu = { shorthand: (t2, e2) => {
8832
+ }, merge: (t2, e2, n2) => t2 }, Lu = { shorthand: (t2, e2) => {
8842
8833
  if (t2.isIStroke) return t2.getProperties();
8843
8834
  if ("string" == typeof t2 && (t2 = _u(t2, (t3) => {
8844
8835
  try {
@@ -8849,7 +8840,7 @@ const Du = (t2) => {
8849
8840
  })), !t2) return null;
8850
8841
  const n2 = {};
8851
8842
  return t2.style && (n2.style = t2.style), t2.color && (n2.color = t2.color), n2;
8852
- }, properties: { color: Lu } }, zu = { shorthand: (t2, e2) => {
8843
+ }, properties: { color: Bu } }, zu = { shorthand: (t2, e2) => {
8853
8844
  if (t2.isIBorder) return t2.getProperties();
8854
8845
  if ("string" == typeof t2) {
8855
8846
  const n2 = _u(t2, (t3) => {
@@ -8862,7 +8853,7 @@ const Du = (t2) => {
8862
8853
  return { left: n2, right: n2, top: n2, bottom: n2, horizontal: null, vertical: null, diagonalUp: null, diagonalDown: null };
8863
8854
  }
8864
8855
  return t2;
8865
- }, properties: { top: Bu, left: Bu, right: Bu, bottom: Bu, horizontal: Bu, vertical: Bu, diagonalUp: Bu, diagonalDown: Bu } }, Pu = { shorthand: (t2, e2) => {
8856
+ }, properties: { top: Lu, left: Lu, right: Lu, bottom: Lu, horizontal: Lu, vertical: Lu, diagonalUp: Lu, diagonalDown: Lu } }, Pu = { shorthand: (t2, e2) => {
8866
8857
  if ("string" == typeof t2) {
8867
8858
  let e3 = vi.Styles.lookupDefault(t2);
8868
8859
  return void 0 !== e3 ? e3 : t2;
@@ -8871,7 +8862,7 @@ const Du = (t2) => {
8871
8862
  return fi(t2);
8872
8863
  }
8873
8864
  return null;
8874
- } }, Wu = { shorthand: (t2, e2) => {
8865
+ } }, Hu = { shorthand: (t2, e2) => {
8875
8866
  if (t2.isIStyledFont) return t2.toJSON();
8876
8867
  if ("string" == typeof t2) {
8877
8868
  const e3 = ld(t2);
@@ -8902,17 +8893,17 @@ const Du = (t2) => {
8902
8893
  return e3;
8903
8894
  })(t2);
8904
8895
  return isNaN(n2) || "number" != typeof n2 ? null : n2;
8905
- } }, underline: { shorthand: (t2, e2) => t2 ? true === t2 ? rs.UnderlineStyle.Single : gd(t2) : rs.UnderlineStyle.None } } }, Hu = { properties: { indent: { shorthand: (t2, e2) => {
8896
+ } }, underline: { shorthand: (t2, e2) => t2 ? true === t2 ? rs.UnderlineStyle.Single : gd(t2) : rs.UnderlineStyle.None } } }, Wu = { properties: { indent: { shorthand: (t2, e2) => {
8906
8897
  let n2 = t2;
8907
8898
  return "string" == typeof t2 && (n2 = parseFloat(t2)), isNaN(n2) || "number" != typeof n2 ? null : n2;
8908
8899
  } }, rotation: { shorthand: (t2, e2) => {
8909
8900
  let n2 = t2;
8910
8901
  return "string" == typeof t2 && (n2 = parseFloat(t2)), isNaN(n2) || "number" != typeof n2 ? null : (n2 %= 360, n2 < 0 && (n2 += 360), n2);
8911
- } } } }, Vu = { shorthand: (t2, e2) => "none" === t2 || "transparent" === t2 || "object" == typeof t2 && 0 === Object.keys(t2).length ? { type: $s.Type.None } : (t2.getType?.(), $s.Type.None, t2) }, $u = { shorthand: (t2) => ("object" == typeof (t2 = Du(t2)) && t2.color && (t2.type = $s.Type.Solid), t2), merge: (t2, e2) => t2.color ? t2 : (e2?.toJSON && (e2 = e2.toJSON()), e2?.type === $s.Type.Solid ? { ...e2 } : e2?.type === $s.Type.Gradient ? { type: $s.Type.Solid, color: e2?.stops?.[0]?.color ?? Gs.Scheme.Bg1 } : e2?.type === $s.Type.Pattern ? { type: $s.Type.Solid, color: e2?.foreground ?? Gs.Scheme.Bg1 } : t2 ? { ...t2 } : null), properties: { color: Lu } }, ju = { shorthand: (t2) => ("object" == typeof t2 && t2.stops && (t2.type = $s.Type.Gradient), t2), merge: (t2, e2, n2) => t2.stops ? t2 : (e2?.toJSON && (e2 = e2.toJSON()), e2?.type === $s.Type.Gradient ? { ...e2 } : e2?.type === $s.Type.Solid ? { type: $s.Type.Gradient, stops: [{ offset: 0, color: e2?.color ?? Gs.Scheme.Accent1 }, { offset: 1, color: Gs.Scheme.Bg1 }] } : e2?.type === $s.Type.Pattern ? { type: $s.Type.Gradient, stops: [{ offset: 0, color: e2?.foreground ?? Gs.Scheme.Bg1 }, { offset: 1, color: e2?.background ?? Gs.Scheme.Accent1 }] } : t2 ? { ...t2 } : null), properties: { stops: { shorthand: (t2) => ("string" == typeof t2 && (t2 = t2.split(",").map((t3) => t3.trim())), Array.isArray(t2) && (t2 = t2.map((t3, e2) => {
8902
+ } } } }, Vu = { shorthand: (t2, e2) => "none" === t2 || "transparent" === t2 || "object" == typeof t2 && 0 === Object.keys(t2).length ? { type: $s.Type.None } : (t2.getType?.(), $s.Type.None, t2) }, $u = { shorthand: (t2) => ("object" == typeof (t2 = Du(t2)) && t2.color && (t2.type = $s.Type.Solid), t2), merge: (t2, e2) => t2.color ? t2 : (e2?.toJSON && (e2 = e2.toJSON()), e2?.type === $s.Type.Solid ? { ...e2 } : e2?.type === $s.Type.Gradient ? { type: $s.Type.Solid, color: e2?.stops?.[0]?.color ?? Gs.Scheme.Bg1 } : e2?.type === $s.Type.Pattern ? { type: $s.Type.Solid, color: e2?.foreground ?? Gs.Scheme.Bg1 } : t2 ? { ...t2 } : null), properties: { color: Bu } }, ju = { shorthand: (t2) => ("object" == typeof t2 && t2.stops && (t2.type = $s.Type.Gradient), t2), merge: (t2, e2, n2) => t2.stops ? t2 : (e2?.toJSON && (e2 = e2.toJSON()), e2?.type === $s.Type.Gradient ? { ...e2 } : e2?.type === $s.Type.Solid ? { type: $s.Type.Gradient, stops: [{ offset: 0, color: e2?.color ?? Gs.Scheme.Accent1 }, { offset: 1, color: Gs.Scheme.Bg1 }] } : e2?.type === $s.Type.Pattern ? { type: $s.Type.Gradient, stops: [{ offset: 0, color: e2?.foreground ?? Gs.Scheme.Bg1 }, { offset: 1, color: e2?.background ?? Gs.Scheme.Accent1 }] } : t2 ? { ...t2 } : null), properties: { stops: { shorthand: (t2) => ("string" == typeof t2 && (t2 = t2.split(",").map((t3) => t3.trim())), Array.isArray(t2) && (t2 = t2.map((t3, e2) => {
8912
8903
  if (!t3) return;
8913
8904
  let n2 = t3;
8914
8905
  return "string" == typeof t3 && (n2 = Du(t3)), t3.isIColor && (n2 = { color: t3.toString() }), n2;
8915
- })), t2), arrayType: { shorthand: (t2) => t2 = Du(t2), properties: { color: Lu } } } } }, Gu = { shorthand: (t2, e2) => {
8906
+ })), t2), arrayType: { shorthand: (t2) => t2 = Du(t2), properties: { color: Bu } } } } }, Gu = { shorthand: (t2, e2) => {
8916
8907
  if ("object" == typeof t2) {
8917
8908
  const e3 = t2;
8918
8909
  (e3.foreground || e3.background || e3.patternType) && (e3.type = $s.Type.Pattern, e3.patternType = e3.patternType ?? $s.BuiltInSheetPattern.Solid);
@@ -8923,19 +8914,19 @@ const Du = (t2) => {
8923
8914
  e2?.toJSON && (e2 = e2.toJSON());
8924
8915
  const r2 = $s.BuiltInSheetPattern.MediumGray;
8925
8916
  return e2?.type === $s.Type.Pattern ? { ...e2, ...t2 } : e2?.type === $s.Type.Solid ? { patternType: r2, foreground: e2?.color ?? Gs.Named.WindowText, background: Gs.Scheme.Bg1, ...t2 } : e2?.type === $s.Type.Gradient ? { patternType: r2, foreground: e2?.stops?.[0]?.color ?? Gs.Named.WindowText, background: e2?.stops?.[1]?.color ?? Gs.Scheme.Bg1, ...t2 } : t2 ? { type: $s.Type.Pattern, patternType: $s.BuiltInSheetPattern.Solid, foreground: Gs.Named.WindowText, background: Gs.Scheme.Bg1, ...t2 } : null;
8926
- }, properties: { foreground: Lu, background: Lu } }, Uu = [Vu, $u, ju, Gu], Ju = [];
8917
+ }, properties: { foreground: Bu, background: Bu } }, Uu = [Vu, $u, ju, Gu], qu = [];
8927
8918
  for (let t2 = 0; t2 < Uu.length; t2++) {
8928
8919
  const e2 = Uu[t2]?.shorthand;
8929
- Ju.push(e2);
8920
+ qu.push(e2);
8930
8921
  }
8931
- const qu = Ju.length, Ku = { properties: { font: Wu, fill: { shorthand: (t2, e2) => {
8922
+ const Ju = qu.length, Ku = { properties: { font: Hu, fill: { shorthand: (t2, e2) => {
8932
8923
  t2.isIFill && (t2 = t2.toJSON());
8933
- for (let n2 = 0; n2 < qu; n2++) {
8934
- let r2 = Ju[n2](t2, e2);
8924
+ for (let n2 = 0; n2 < Ju; n2++) {
8925
+ let r2 = qu[n2](t2, e2);
8935
8926
  if (r2?.type) return r2;
8936
8927
  }
8937
8928
  return t2;
8938
- }, getSubType: (t2) => t2.type === $s.Type.None ? Vu : t2.type === $s.Type.Solid ? $u : t2.type === $s.Type.Gradient ? ju : t2.type === $s.Type.Pattern ? Gu : null }, alignment: Hu, border: zu, numberFormat: Pu } }, Xu = { properties: { style: Ku } }, Yu = 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 }), Qu = (e2, n2, r2, s2, i2, a2 = false) => {
8929
+ }, getSubType: (t2) => t2.type === $s.Type.None ? Vu : t2.type === $s.Type.Solid ? $u : t2.type === $s.Type.Gradient ? ju : t2.type === $s.Type.Pattern ? Gu : null }, alignment: Wu, border: zu, numberFormat: Pu } }, Xu = { properties: { style: Ku } }, Yu = 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 }), Qu = (e2, n2, r2, s2, i2, a2 = false) => {
8939
8930
  if (null == e2) return Yu;
8940
8931
  let l2 = "", c2 = null, h2 = null, d2 = null;
8941
8932
  if (r2 === t.Error) l2 = e2.getLabel();
@@ -9873,7 +9864,7 @@ const Ng = new class {
9873
9864
  const r2 = n2.getInsets();
9874
9865
  if (e2 === t.Null) return r2;
9875
9866
  let o2 = r2;
9876
- const s2 = Lg(e2, n2), i2 = n2.getAlignment().getIndent();
9867
+ const s2 = Bg(e2, n2), i2 = n2.getAlignment().getIndent();
9877
9868
  if (i2 && (s2 === Ro.HorizontalAlignment.Left || s2 === Ro.HorizontalAlignment.Right)) {
9878
9869
  o2 = { ...r2 };
9879
9870
  const t2 = n2.measureText(" ".repeat(1 * i2)), e3 = Math.min(3, Math.max(1, (26 - n2.getFont().getSize()) / 2));
@@ -9881,10 +9872,10 @@ const Ng = new class {
9881
9872
  s2 === Ro.HorizontalAlignment.Left ? o2.left += a2 : s2 === Ro.HorizontalAlignment.Right && (o2.right += a2);
9882
9873
  }
9883
9874
  return Object.freeze(o2);
9884
- }, Lg = (e2, n2) => {
9875
+ }, Bg = (e2, n2) => {
9885
9876
  const r2 = n2.getAlignment(), o2 = r2.getRotation(), s2 = r2.getHorizontal();
9886
9877
  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;
9887
- }, Bg = (e2, n2, r2, o2, s2, i2, a2, l2, c2) => {
9878
+ }, Lg = (e2, n2, r2, o2, s2, i2, a2, l2, c2) => {
9888
9879
  if (r2 === t.Null || "" === s2) return null;
9889
9880
  const h2 = n2;
9890
9881
  if (!((e3, n3, r3 = false, o3 = false) => {
@@ -9899,9 +9890,9 @@ const Ng = new class {
9899
9890
  const a3 = s3.getVertical();
9900
9891
  return a3 !== Ro.VerticalAlignment.Justify && a3 !== Ro.VerticalAlignment.Distributed;
9901
9892
  })(r2, o2, null !== i2 && i2.colIndex + 1 === h2, null !== a2 && a2.colIndex - 1 === h2)) return null;
9902
- const d2 = Hg(r2, o2, s2, c2), u2 = o2.getAlignment(), g2 = u2.getHorizontal(), m2 = u2.getOverflow() === Ro.Overflow.Wrap || r2 === t.String && (g2 === Ro.HorizontalAlignment.Justify || g2 === Ro.HorizontalAlignment.Distributed || u2.getVertical() === Ro.VerticalAlignment.Justify || u2.getVertical() === Ro.VerticalAlignment.Distributed), f2 = g2 === Ro.HorizontalAlignment.Fill, _2 = g2 === Ro.HorizontalAlignment.CenterContinuous || f2;
9893
+ const d2 = Wg(r2, o2, s2, c2), u2 = o2.getAlignment(), g2 = u2.getHorizontal(), m2 = u2.getOverflow() === Ro.Overflow.Wrap || r2 === t.String && (g2 === Ro.HorizontalAlignment.Justify || g2 === Ro.HorizontalAlignment.Distributed || u2.getVertical() === Ro.VerticalAlignment.Justify || u2.getVertical() === Ro.VerticalAlignment.Distributed), f2 = g2 === Ro.HorizontalAlignment.Fill, _2 = g2 === Ro.HorizontalAlignment.CenterContinuous || f2;
9903
9894
  if (!d2 && !_2) return null;
9904
- const S2 = ((t2) => t2 === Ro.HorizontalAlignment.Center || t2 === Ro.HorizontalAlignment.CenterContinuous ? p.Center : t2 === Ro.HorizontalAlignment.Right ? p.Right : p.Left)(Lg(r2, o2));
9895
+ const S2 = ((t2) => t2 === Ro.HorizontalAlignment.Center || t2 === Ro.HorizontalAlignment.CenterContinuous ? p.Center : t2 === Ro.HorizontalAlignment.Right ? p.Right : p.Left)(Bg(r2, o2));
9905
9896
  let w2 = 0, y2 = 0, E2 = 0, C2 = 0, b2 = 1;
9906
9897
  if (_2 && null !== s2 && l2) {
9907
9898
  Ug.colIndex = n2, Ug.rowIndex = e2;
@@ -9914,9 +9905,9 @@ const Ng = new class {
9914
9905
  let M2 = x2(h2 + b2), T2 = M2 - R2, N2 = h2, F2 = h2;
9915
9906
  const k2 = { x: 0, y: 0, width: T2, height: d2?.height ?? 0 };
9916
9907
  const O2 = h2 - h2 + b2;
9917
- let D2 = d2 ? d2.width - T2 : 0, L2 = k2;
9918
- 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);
9919
- return { anchorBounds: k2, leftIndex: w2, rightIndex: y2, leftOffset: E2, rightOffset: C2, colSpan: O2, colBounds: L2 };
9908
+ let D2 = d2 ? d2.width - T2 : 0, B2 = k2;
9909
+ 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);
9910
+ return { anchorBounds: k2, leftIndex: w2, rightIndex: y2, leftOffset: E2, rightOffset: C2, colSpan: O2, colBounds: B2 };
9920
9911
  };
9921
9912
  class zg {
9922
9913
  constructor(t2, e2) {
@@ -9963,7 +9954,7 @@ class zg {
9963
9954
  const Pg = (t2, e2, n2, r2) => {
9964
9955
  const o2 = r2.styles;
9965
9956
  return Eg(o2, n2 ? new zg(o2, n2) : null, e2, r2.styleUpdater);
9966
- }, Wg = (e2, n2, r2, s2, i2, a2, l2, c2 = null, h2 = Tg) => {
9957
+ }, Hg = (e2, n2, r2, s2, i2, a2, l2, c2 = null, h2 = Tg) => {
9967
9958
  if (null === r2) return n2 ? n2.getBestFit() : null;
9968
9959
  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);
9969
9960
  if (v2) return v2;
@@ -9997,11 +9988,11 @@ const Pg = (t2, e2, n2, r2) => {
9997
9988
  a2 && M2 && (x2 = 0);
9998
9989
  const k2 = { width: x2, height: I2 }, O2 = Object.freeze(k2);
9999
9990
  return h2.set(b2, O2), O2;
10000
- }, Hg = (t2, e2, n2, r2) => {
10001
- const o2 = Dg(t2, e2), s2 = Lg(t2, e2);
9991
+ }, Wg = (t2, e2, n2, r2) => {
9992
+ const o2 = Dg(t2, e2), s2 = Bg(t2, e2);
10002
9993
  let i2 = o2.left + o2.right;
10003
9994
  s2 === Ro.HorizontalAlignment.Left ? i2 = o2.right : s2 === Ro.HorizontalAlignment.Right ? i2 = o2.left : s2 === Ro.HorizontalAlignment.Center && (i2 = o2.left + o2.right);
10004
- const a2 = Wg(t2, e2, n2, r2, Number.MAX_SAFE_INTEGER, false, false);
9995
+ const a2 = Hg(t2, e2, n2, r2, Number.MAX_SAFE_INTEGER, false, false);
10005
9996
  return { width: Math.ceil(a2.width - i2), height: Math.ceil(a2.height) };
10006
9997
  };
10007
9998
  class Vg {
@@ -10023,7 +10014,7 @@ class Vg {
10023
10014
  }
10024
10015
  getA1() {
10025
10016
  const t2 = this._coords;
10026
- return t2 ? Qc(this._options.resolveRange(t2).getCoords()) : Lc;
10017
+ return t2 ? Qc(this._options.resolveRange(t2).getCoords()) : Bc;
10027
10018
  }
10028
10019
  getSheet() {
10029
10020
  return this._options.sheet;
@@ -10055,12 +10046,12 @@ class Vg {
10055
10046
  let o2 = null;
10056
10047
  if (r2 === t.String || n2 && n2.continuous) {
10057
10048
  const t2 = this.getStyle(), e3 = this._coords;
10058
- o2 = Bg(e3.rowIndex, e3.colIndex, r2, t2, this._v, this._p, this._n, n2?.continuous?.getCoords() ?? null, this._options);
10049
+ o2 = Lg(e3.rowIndex, e3.colIndex, r2, t2, this._v, this._p, this._n, n2?.continuous?.getCoords() ?? null, this._options);
10059
10050
  }
10060
10051
  return null === o2 || 0 === o2.leftIndex && 0 === o2.rightIndex && o2.colSpan <= 1 ? (this._to = null, null) : (this._to = o2, this._to);
10061
10052
  }
10062
10053
  getRenderHorizontalAlignment() {
10063
- return Lg(this._t, this.getStyle());
10054
+ return Bg(this._t, this.getStyle());
10064
10055
  }
10065
10056
  isEmpty() {
10066
10057
  return null === this._v && !this._ri;
@@ -10089,7 +10080,7 @@ class Vg {
10089
10080
  return null !== this._v;
10090
10081
  }
10091
10082
  getBestFit(t2, e2 = false) {
10092
- return void 0 === t2 && (t2 = this._options.sheet.getColumnHeaders().getSpanSize(this._coords.colIndex) ?? 64), Wg(this._t, this.getStyle(), this._v, this._options, t2, e2, false);
10083
+ return void 0 === t2 && (t2 = this._options.sheet.getColumnHeaders().getSpanSize(this._coords.colIndex) ?? 64), Hg(this._t, this.getStyle(), this._v, this._options, t2, e2, false);
10093
10084
  }
10094
10085
  getInsets() {
10095
10086
  if (null === this._v) return this.getStyle().getInsets();
@@ -10306,8 +10297,8 @@ class jg {
10306
10297
  }
10307
10298
  }
10308
10299
  const Gg = [null], Ug = { colIndex: -1, rowIndex: -1 };
10309
- let Jg;
10310
- const qg = (t2, n2, r2, o2 = false) => {
10300
+ let qg;
10301
+ const Jg = (t2, n2, r2, o2 = false) => {
10311
10302
  const s2 = r2 === e.Orientation.Row, i2 = t2.length, a2 = new Array(i2);
10312
10303
  for (let e2 = 0; e2 < i2; e2++) {
10313
10304
  const r3 = t2[e2];
@@ -10359,17 +10350,17 @@ const qg = (t2, n2, r2, o2 = false) => {
10359
10350
  return t.Error;
10360
10351
  }
10361
10352
  getWarnings() {
10362
- return [Lc];
10353
+ return [Bc];
10363
10354
  }
10364
10355
  getStyle(t2 = false) {
10365
- return Jg || (Jg = new Zm().getNormal(), Jg);
10356
+ return qg || (qg = new Zm().getNormal(), qg);
10366
10357
  }
10367
10358
  toString() {
10368
- return `${this._coords ? Uc(this._coords) : Lc} => ${this._v ?? "{blank}"}`;
10359
+ return `${this._coords ? Uc(this._coords) : Bc} => ${this._v ?? "{blank}"}`;
10369
10360
  }
10370
10361
  }(), sm = () => im, im = { forEach: () => {
10371
- }, [Symbol.iterator]: nm, entries: nm, values: nm, select: Ah, find: Ah, calculate: Ah, getCell: () => om, getValue: em, waitForCalcs: () => Promise.resolve(im), setValue: Ah, setFormula: Ah, setValues: Ah, updateCells: Ah, getCells: () => [[om]], getStyle: Ah, getValues: () => [[null]], toText: () => "", getBounds: em, getIntersect: sm, getUnion: sm, getDifferences: Ah, getResizeBy: sm, getResizeTo: sm, getOffsetBy: sm, getOffsetTo: sm, getFixed: sm, getUsedRange: sm, getEntireRows: sm, getEntireColumns: sm, getSurrounding: Ah, getExtended: Ah, isEntireRows: Zg, isEntireColumns: Zg, isEntireRange: Zg, getWidth: rm, getHeight: rm, size: 0, sort: Ah, clear: Ah, setHyperlink: Ah, setComments: Ah, merge: Ah, unmerge: Ah, getMerges: Ah, insert: Ah, insertFrom: Ah, delete: Ah, getDefaultShiftOrientation: Ah, getDefaultSortCriteria: Ah, autoFill: Ah, autoFit: Ah, getSnapshot: Ah, copyFrom: Ah, doBatch: Ah, startIncrementalUpdates: Ah, getRowHeaders: Ah, getColumnHeaders: Ah, getCounts: Ah, getCount: rm, isContentful: Zg, addListener: Ah, getColumnStart: rm, getRowStart: rm, getColumnEnd: rm, getRowEnd: rm, getRowCount: rm, getColumnCount: rm, getVisible: Ah, getCoords: em, isEmpty: tm, toString: () => Lc, getA1: () => Lc, isInvalid: tm, getSheet: em, isReadOnly: tm, isICellRange: true };
10372
- function am(t2, e2 = null, n2 = null, r2 = Lc) {
10362
+ }, [Symbol.iterator]: nm, entries: nm, values: nm, select: Ah, find: Ah, calculate: Ah, getCell: () => om, getValue: em, waitForCalcs: () => Promise.resolve(im), setValue: Ah, setFormula: Ah, setValues: Ah, updateCells: Ah, getCells: () => [[om]], getStyle: Ah, getValues: () => [[null]], toText: () => "", getBounds: em, getIntersect: sm, getUnion: sm, getDifferences: Ah, getResizeBy: sm, getResizeTo: sm, getOffsetBy: sm, getOffsetTo: sm, getFixed: sm, getUsedRange: sm, getEntireRows: sm, getEntireColumns: sm, getSurrounding: Ah, getExtended: Ah, isEntireRows: Zg, isEntireColumns: Zg, isEntireRange: Zg, getWidth: rm, getHeight: rm, size: 0, sort: Ah, clear: Ah, setHyperlink: Ah, setComments: Ah, merge: Ah, unmerge: Ah, getMerges: Ah, insert: Ah, insertFrom: Ah, delete: Ah, getDefaultShiftOrientation: Ah, getDefaultSortCriteria: Ah, autoFill: Ah, autoFit: Ah, getSnapshot: Ah, copyFrom: Ah, doBatch: Ah, startIncrementalUpdates: Ah, getRowHeaders: Ah, getColumnHeaders: Ah, getCounts: Ah, getCount: rm, isContentful: Zg, addListener: Ah, getColumnStart: rm, getRowStart: rm, getColumnEnd: rm, getRowEnd: rm, getRowCount: rm, getColumnCount: rm, getVisible: Ah, getCoords: em, isEmpty: tm, toString: () => Bc, getA1: () => Bc, isInvalid: tm, getSheet: em, isReadOnly: tm, isICellRange: true };
10363
+ function am(t2, e2 = null, n2 = null, r2 = Bc) {
10373
10364
  return t2 || n2 ? Object.freeze({ ...im, getSheet: () => t2, bounds: () => n2, getA1: () => r2, toString: () => n2 ? Xc(n2, e2) : r2 }) : im;
10374
10365
  }
10375
10366
  const lm = /^[\\+-]?[0-9]*\.?[0-9]*$/, cm = (t2, e2, r2) => {
@@ -10511,7 +10502,7 @@ const lm = /^[\\+-]?[0-9]*\.?[0-9]*$/, cm = (t2, e2, r2) => {
10511
10502
  }, gm = (t2, n2, r2, o2) => {
10512
10503
  const s2 = o2?.asJSDate;
10513
10504
  let i2;
10514
- r2 ? i2 = zh : (s2 || o2?.includeMergeOverflow) && (i2 = {}, s2 && (i2[Lh.Type.Style] = false, i2[Lh.Type.Table] = false), o2.includeMergeOverflow && (i2[Lh.Type.Merge] = false));
10505
+ r2 ? i2 = zh : (s2 || o2?.includeMergeOverflow) && (i2 = {}, s2 && (i2[Bh.Type.Style] = false, i2[Bh.Type.Table] = false), o2.includeMergeOverflow && (i2[Bh.Type.Merge] = false));
10515
10506
  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 = [];
10516
10507
  let u2, g2 = -1, m2 = null, f2 = 0;
10517
10508
  for (u2 = c2.next(); !u2.done; ) {
@@ -10782,7 +10773,7 @@ class Im {
10782
10773
  }
10783
10774
  }
10784
10775
  var Rm, Am;
10785
- (Am = Rm || (Rm = {})).fastStringToCol = hh, Am.fastStringToCell = ah, Am.fastStringToRange = dh, Am.rangeToString = Xc, Am.cellToString = Jc, Am.normalizeA1ToR1C1 = Ch, Am.resolveRelativeToA1 = Sh;
10776
+ (Am = Rm || (Rm = {})).fastStringToCol = hh, Am.fastStringToCell = ah, Am.fastStringToRange = dh, Am.rangeToString = Xc, Am.cellToString = qc, Am.normalizeA1ToR1C1 = Ch, Am.resolveRelativeToA1 = Sh;
10786
10777
  const Mm = (t2, e2) => t2.offset - e2.offset, Tm = (t2) => {
10787
10778
  if (!t2 || 0 === t2.size) return [];
10788
10779
  let e2 = [];
@@ -10868,7 +10859,7 @@ const Fm = (t2, e2) => t2.offset - e2.offset, km = (t2) => {
10868
10859
  } while (!r2.done);
10869
10860
  return e2;
10870
10861
  };
10871
- class Lm extends Im {
10862
+ class Bm extends Im {
10872
10863
  constructor(t2) {
10873
10864
  super({ ...t2, createDescription: "Insert AutoFilter" }), this._apply = t2.apply, this._processUpdate = t2.processUpdate, t2.setFilterCoordsCallback?.((t3) => {
10874
10865
  this._getState().anchor;
@@ -10953,7 +10944,7 @@ class Lm extends Im {
10953
10944
  return n2.length > 0 && (t2.fields = n2), e2.sort, 0 === Object.keys(t2).length ? null : t2;
10954
10945
  }
10955
10946
  }
10956
- const Bm = "A table must have a least one row for the data.", zm = "Table1", Pm = Object.freeze({ showRowStripes: true, showColumnStripes: false, showFirstColumn: false, showLastColumn: false }), Wm = (t2, e2, n2) => {
10947
+ const Lm = "A table must have a least one row for the data.", zm = "Table1", Pm = Object.freeze({ showRowStripes: true, showColumnStripes: false, showFirstColumn: false, showLastColumn: false }), Hm = (t2, e2, n2) => {
10957
10948
  if (t2.length !== e2.length) return console.warn("make columns the same length"), false;
10958
10949
  const r2 = /* @__PURE__ */ new Set();
10959
10950
  for (let t3 = 0; t3 < e2.length; t3++) {
@@ -10988,7 +10979,7 @@ const Bm = "A table must have a least one row for the data.", zm = "Table1", Pm
10988
10979
  }
10989
10980
  return a2 > 0;
10990
10981
  };
10991
- class Hm {
10982
+ class Wm {
10992
10983
  constructor(t2, e2, n2, r2) {
10993
10984
  this._name = t2, this._filter = e2, this._sort = n2, this._offset = r2;
10994
10985
  }
@@ -11286,7 +11277,7 @@ class $m extends Im {
11286
11277
  }
11287
11278
  _createFilter(t2) {
11288
11279
  const e2 = this;
11289
- return new Lm({ initialAnchor: this._getUsedCoords(), maxRangeCoords: this._options.maxRangeCoords, json: t2, transactions: this._getTransactions(), setContainerShiftCallback(t3) {
11280
+ return new Bm({ initialAnchor: this._getUsedCoords(), maxRangeCoords: this._options.maxRangeCoords, json: t2, transactions: this._getTransactions(), setContainerShiftCallback(t3) {
11290
11281
  e2._filterShiftCallback = t3;
11291
11282
  }, setFilterCoordsCallback(t3) {
11292
11283
  e2._filterCoordsCallback = t3;
@@ -11327,7 +11318,7 @@ class $m extends Im {
11327
11318
  if (!e2) return null;
11328
11319
  const n2 = this.getSort();
11329
11320
  let r2 = null;
11330
- return r2 = this._getState()?.columns[t2], null === r2 ? null : new Hm(r2.name, e2, n2, t2);
11321
+ return r2 = this._getState()?.columns[t2], null === r2 ? null : new Wm(r2.name, e2, n2, t2);
11331
11322
  }
11332
11323
  getVisibleRefRangeCoords() {
11333
11324
  return this._visibleRange ? this._visibleRange : this.getAnchorCoords();
@@ -11379,7 +11370,7 @@ class $m extends Im {
11379
11370
  n3.add(a3.toLocaleLowerCase()), t3[i3]?.name !== a3 && (t3[i3].name = a3, s3++);
11380
11371
  }
11381
11372
  return s3 > 0;
11382
- })(a2, c2) : Wm(a2, c2, o2);
11373
+ })(a2, c2) : Hm(a2, c2, o2);
11383
11374
  if (!(r2 || c2.length !== a2.length || l2)) return;
11384
11375
  const h2 = "Update Columns";
11385
11376
  this._isUpdatingHeader = true;
@@ -11409,7 +11400,7 @@ class $m extends Im {
11409
11400
  _processContainerShift(t2) {
11410
11401
  if (t2.isSplit) throw new Error("We can not partially insert or remove cells as this would split a table.");
11411
11402
  const n2 = this._getState();
11412
- if (t2.after && t2.after.rowStart + n2.headerRowCount >= t2.after.rowEnd + 1) throw new Error(Bm);
11403
+ if (t2.after && t2.after.rowStart + n2.headerRowCount >= t2.after.rowEnd + 1) throw new Error(Lm);
11413
11404
  const r2 = t2.orientation === e.Orientation.Column;
11414
11405
  if (t2.amount < 0 && t2.after && !r2) {
11415
11406
  const e2 = this._getHeaderCoords();
@@ -11435,7 +11426,7 @@ class $m extends Im {
11435
11426
  const o4 = l2 + (c2 + r4 + 1);
11436
11427
  o4 && !t3.has(o4.toLowerCase().trim()) && (e3.name = o4);
11437
11428
  }
11438
- Wm(s2, o3, null);
11429
+ Hm(s2, o3, null);
11439
11430
  } else s2 = o3, i2 = s2.splice(n3, -e2);
11440
11431
  this._updateState({ columns: s2 }, { description: "Process Columns" }), this._updateColumns(s2, false, true, i2);
11441
11432
  } else t2.after || this._updateState({ columns: [] }, { description: "Process Columns" });
@@ -11465,7 +11456,7 @@ class $m extends Im {
11465
11456
  const t3 = [...r2.columns];
11466
11457
  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;
11467
11458
  }
11468
- if (this._options.setContainerCoords?.(l2), this._updateState({ anchor: l2, columns: e2 }, { description: n2 }), !this._getUsedCoords()) throw new Error(Bm);
11459
+ if (this._options.setContainerCoords?.(l2), this._updateState({ anchor: l2, columns: e2 }, { description: n2 }), !this._getUsedCoords()) throw new Error(Lm);
11469
11460
  if (i3 || s3) {
11470
11461
  const t3 = s3 ? { columns: e2, forceUpdate: true } : this._columnsFromSheet();
11471
11462
  t3 && (this._updateColumns(t3.columns, false, t3.forceUpdate, a3), this._processHeaderListener());
@@ -11549,7 +11540,7 @@ const Gm = "TableStyleMedium2", Um = (t2, e2, n2) => {
11549
11540
  })(t2.border, e2, n2), o2 = t2;
11550
11541
  return r2 !== t2.border && (o2 = { ...t2 }, Object.keys(r2).length > 0 ? o2.border = r2 : delete o2.border), o2;
11551
11542
  };
11552
- class Jm {
11543
+ class qm {
11553
11544
  constructor(t2, e2, n2) {
11554
11545
  this._table = t2, this._styles = e2, this._properties = n2;
11555
11546
  }
@@ -11642,7 +11633,7 @@ class Jm {
11642
11633
  return m2 && o2.headerRow && n2.getColumnFilter(h2) && !n2.getColumnFilter(h2).hasHiddenButton() && (g2.insets = { right: 15 }), g2;
11643
11634
  }
11644
11635
  }
11645
- class qm {
11636
+ class Jm {
11646
11637
  constructor(t2, e2, n2, r2) {
11647
11638
  this._styles = t2, this._isBuiltIn = n2, this._doDelete = r2, this._properties = o.deepFreeze(this._resolveProperties(e2)), this.isShownInTableStyles();
11648
11639
  }
@@ -11663,7 +11654,7 @@ class qm {
11663
11654
  this._doDelete(this._properties.name);
11664
11655
  }
11665
11656
  getRanged(t2) {
11666
- return new Jm(t2, this._styles, this._properties);
11657
+ return new qm(t2, this._styles, this._properties);
11667
11658
  }
11668
11659
  getProperties() {
11669
11660
  return this._properties;
@@ -11878,7 +11869,7 @@ class Zm {
11878
11869
  return jm;
11879
11870
  })(), e2 = /* @__PURE__ */ new Map();
11880
11871
  return t2.forEach((t3, n2) => {
11881
- const r2 = t3.name.toLowerCase(), o2 = new qm(this, t3, true);
11872
+ const r2 = t3.name.toLowerCase(), o2 = new Jm(this, t3, true);
11882
11873
  e2.set(r2, o2);
11883
11874
  }), e2;
11884
11875
  }
@@ -11941,7 +11932,7 @@ class Zm {
11941
11932
  const n2 = t2.toLowerCase();
11942
11933
  let r2 = this._customTableStyles.get(n2) ?? this._builtInsTableStyles.get(n2);
11943
11934
  r2 && (t2 = r2.getName());
11944
- const o2 = new qm(this, { ...e2, name: t2 }, false, this._deleteCustomTableStyle.bind(this));
11935
+ const o2 = new Jm(this, { ...e2, name: t2 }, false, this._deleteCustomTableStyle.bind(this));
11945
11936
  return this._customTableStyles.set(n2, o2), o2;
11946
11937
  }
11947
11938
  _hideOrRemoveNamed(t2) {
@@ -12640,8 +12631,8 @@ class wf {
12640
12631
  for (let t4 = 0; t4 < s3; t4++) {
12641
12632
  const n3 = o3[t4];
12642
12633
  if (n3 === l3) continue;
12643
- qf[0] = { colStart: r3.ref.colStart, rowStart: l3, colEnd: r3.ref.colEnd, rowEnd: n3 - 1, value: r3 }, qf[1] = { colStart: r3.ref.colStart, rowStart: n3, colEnd: r3.ref.colStart, rowEnd: r3.ref.rowEnd, value: r3 };
12644
- const s4 = Xf(r3, qf, e.Orientation.Row, n3);
12634
+ 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 };
12635
+ const s4 = Xf(r3, Jf, e.Orientation.Row, n3);
12645
12636
  let i4 = s4[0];
12646
12637
  _2(i4, a3), g2.push(i4), i4 = s4[1], _2(i4, a3), g2.push(i4), l3 = n3;
12647
12638
  }
@@ -12686,8 +12677,8 @@ class wf {
12686
12677
  return o2.formula ? o2.formula.getTextAt(n2.rowStart, n2.colStart, e2) : void 0;
12687
12678
  }
12688
12679
  _formulaAt(t2, e2) {
12689
- Jf.colStart = e2, Jf.rowStart = t2, Jf.colEnd = e2, Jf.rowEnd = t2;
12690
- const n2 = this._formulaSpatial.search(Jf);
12680
+ qf.colStart = e2, qf.rowStart = t2, qf.colEnd = e2, qf.rowEnd = t2;
12681
+ const n2 = this._formulaSpatial.search(qf);
12691
12682
  if (0 === n2.length) throw new Error(`No formula found at ${Uc({ rowIndex: t2, colIndex: e2 })}`);
12692
12683
  return n2[0];
12693
12684
  }
@@ -12911,7 +12902,7 @@ class wf {
12911
12902
  let n5 = e3[t4];
12912
12903
  if (ff(i4.rowStart, i4.colStart, n5) && a3.getCycleId() === o2) {
12913
12904
  r3 || (r3 = [], s3 = /* @__PURE__ */ new Set());
12914
- const t5 = jc(n5.colStart) + Hc(n5.rowStart);
12905
+ const t5 = jc(n5.colStart) + Wc(n5.rowStart);
12915
12906
  if (s3.has(t5)) continue;
12916
12907
  s3.add(t5), r3.push({ colStart: i4.colStart, rowStart: i4.rowStart, colEnd: i4.colEnd, rowEnd: i4.rowEnd, value: n5.value.getError() });
12917
12908
  }
@@ -13021,21 +13012,21 @@ class wf {
13021
13012
  }
13022
13013
  _markAndPlan(t2, e2, n2) {
13023
13014
  let r2;
13024
- Lf = 0, Hf = 0, Vf = 0, jf = 0;
13015
+ Bf = 0, Wf = 0, Vf = 0, jf = 0;
13025
13016
  const s2 = this._precedentSpatial, i2 = this._formulaSpatial;
13026
13017
  zf = 0, Pf = 0;
13027
13018
  const a2 = this._cycleId, l2 = e2.length;
13028
13019
  for (let t3 = 0; t3 < l2; t3++) {
13029
13020
  const r3 = e2[t3];
13030
- r3.markId !== n2 && (r3.markId = n2, r3.cycleId = a2, r3.inDegree = 0, Df[Lf++] = r3, Bf[Pf++] = r3);
13021
+ r3.markId !== n2 && (r3.markId = n2, r3.cycleId = a2, r3.inDegree = 0, Df[Bf++] = r3, Lf[Pf++] = r3);
13031
13022
  }
13032
13023
  const c2 = (e3, n3, o2) => {
13033
13024
  (t2 || e3.state === Fh) && (r2 || (r2 = []), r2.push(n3), t2 || o2(e3));
13034
13025
  }, h2 = (t3) => {
13035
- t3.markId !== n2 && (t3.markId = n2, t3.cycleId = a2, t3.inDegree = 0, Df[Lf++] = t3, Bf[Pf++] = t3);
13026
+ t3.markId !== n2 && (t3.markId = n2, t3.cycleId = a2, t3.inDegree = 0, Df[Bf++] = t3, Lf[Pf++] = t3);
13036
13027
  };
13037
13028
  for (; zf < Pf; ) {
13038
- const t3 = Bf[zf++], e3 = t3.colIndex, n3 = t3.rowIndex;
13029
+ const t3 = Lf[zf++], e3 = t3.colIndex, n3 = t3.rowIndex;
13039
13030
  vf.colStart = e3, vf.rowStart = n3, vf.colEnd = e3, vf.rowEnd = n3;
13040
13031
  const r3 = s2.search(vf), i3 = r3.length;
13041
13032
  if (0 === i3) t3.dependents = o.EmptyArray;
@@ -13044,7 +13035,7 @@ class wf {
13044
13035
  s3 ? c2(s3, o2, h2) : Cf(o2, n3, e3, h2);
13045
13036
  }
13046
13037
  }
13047
- for (let t3 = 0; t3 < Lf; t3++) {
13038
+ for (let t3 = 0; t3 < Bf; t3++) {
13048
13039
  const e3 = Df[t3], r3 = e3.block, o2 = e3.rowIndex, s3 = e3.colIndex, a3 = r3.formula.getDirectPrecedentsAt(o2, s3);
13049
13040
  let l3 = 0;
13050
13041
  const c3 = e3.precedents;
@@ -13070,13 +13061,13 @@ class wf {
13070
13061
  }
13071
13062
  }
13072
13063
  }
13073
- e3.inDegree = l3, 0 === e3.inDegree && (Wf[Vf++] = e3);
13064
+ e3.inDegree = l3, 0 === e3.inDegree && (Hf[Vf++] = e3);
13074
13065
  }
13075
13066
  const d2 = (t3) => {
13076
- t3.markId === n2 && (t3.inDegree--, 0 === t3.inDegree && (Wf[Vf++] = t3));
13067
+ t3.markId === n2 && (t3.inDegree--, 0 === t3.inDegree && (Hf[Vf++] = t3));
13077
13068
  };
13078
- for (; Hf < Vf; ) {
13079
- const t3 = Wf[Hf++];
13069
+ for (; Wf < Vf; ) {
13070
+ const t3 = Hf[Wf++];
13080
13071
  $f[jf++] = t3;
13081
13072
  const e3 = t3.colIndex, n3 = t3.rowIndex;
13082
13073
  vf.colStart = e3, vf.rowStart = n3, vf.colEnd = e3, vf.rowEnd = n3;
@@ -13086,7 +13077,7 @@ class wf {
13086
13077
  s3 ? c2(s3, o3, d2) : Cf(o3, n3, e3, d2);
13087
13078
  }
13088
13079
  }
13089
- return jf < Lf ? { completed: false, onces: r2 } : { completed: true, onces: r2 };
13080
+ return jf < Bf ? { completed: false, onces: r2 } : { completed: true, onces: r2 };
13090
13081
  }
13091
13082
  _evaluate(t2) {
13092
13083
  const r2 = this._calculation._getContext(), o2 = this._calculation._getScope();
@@ -13139,8 +13130,8 @@ class wf {
13139
13130
  const F2 = b2.formula;
13140
13131
  let k2, O2;
13141
13132
  const D2 = C2.pending;
13142
- let L2 = D2;
13143
- 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 = Nl(S2)), w2.append(T2, N2, L2)), O2 && (k2 = C2.cachedValue ?? null, !O2.__originator)) {
13133
+ let B2 = D2;
13134
+ 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 = Nl(S2)), w2.append(T2, N2, B2)), O2 && (k2 = C2.cachedValue ?? null, !O2.__originator)) {
13144
13135
  O2.__originator = l2;
13145
13136
  const t3 = C2;
13146
13137
  Of.add(t3), t3.pendingPromise = O2, t3.pendingResolved = false, O2.then((e3) => {
@@ -13151,52 +13142,52 @@ class wf {
13151
13142
  }, (t4) => {
13152
13143
  });
13153
13144
  }
13154
- let B2 = 1, z2 = 1;
13145
+ let L2 = 1, z2 = 1;
13155
13146
  const P2 = I2 instanceof gc;
13156
- let W2;
13157
- const H2 = I2 instanceof n.Spill;
13158
- if (P2 || H2) {
13147
+ let H2;
13148
+ const W2 = I2 instanceof n.Spill;
13149
+ if (P2 || W2) {
13159
13150
  Af.colStart = v2, Af.rowStart = x2, Af.colEnd = v2, Af.rowEnd = x2;
13160
13151
  const t3 = f2.search(Af);
13161
- for (let e3 = 0; !W2 && e3 < t3.length; e3++) {
13152
+ for (let e3 = 0; !H2 && e3 < t3.length; e3++) {
13162
13153
  const n2 = t3[e3];
13163
- n2.colStart === v2 && n2.rowStart === x2 && (W2 = n2);
13154
+ n2.colStart === v2 && n2.rowStart === x2 && (H2 = n2);
13164
13155
  }
13165
- if (W2) {
13156
+ if (H2) {
13166
13157
  if (P2) {
13167
13158
  const t5 = I2;
13168
- B2 = t5.getWidth(), z2 = t5.getHeight();
13159
+ L2 = t5.getWidth(), z2 = t5.getHeight();
13169
13160
  }
13170
- const t4 = { colStart: v2, rowStart: x2, colEnd: v2 + B2 - 1, rowEnd: x2 + z2 - 1 };
13171
- f2.remove(W2), W2 && W2.value.getError() || (d2.insertNonOverlapping({ ...t4, value: null }), p2.delete(t4), u2.insertNonOverlapping(t4));
13161
+ const t4 = { colStart: v2, rowStart: x2, colEnd: v2 + L2 - 1, rowEnd: x2 + z2 - 1 };
13162
+ f2.remove(H2), H2 && H2.value.getError() || (d2.insertNonOverlapping({ ...t4, value: null }), p2.delete(t4), u2.insertNonOverlapping(t4));
13172
13163
  }
13173
13164
  }
13174
13165
  let V2 = 1, $2 = 1;
13175
13166
  const j2 = k2, G2 = j2?.isIRange;
13176
- let U2, J2 = k2 instanceof n.Spill;
13167
+ let U2, q2 = k2 instanceof n.Spill;
13177
13168
  if (G2 && j2.size > 1) {
13178
13169
  V2 = j2.getWidth(), $2 = j2.getHeight();
13179
13170
  const t3 = { colStart: v2, rowStart: x2, colEnd: v2 + V2 - 1, rowEnd: x2 + $2 - 1 }, e3 = r2.getEntireCoords(), o3 = !c.isRangeWithinRange(t3, e3);
13180
- if (o3 && (t3.colEnd = Math.min(t3.colEnd, e3.colEnd), t3.rowEnd = Math.min(t3.rowEnd, e3.rowEnd)), J2 = o3, !J2) {
13171
+ if (o3 && (t3.colEnd = Math.min(t3.colEnd, e3.colEnd), t3.rowEnd = Math.min(t3.rowEnd, e3.rowEnd)), q2 = o3, !q2) {
13181
13172
  const e4 = d2.search(t3);
13182
- if (J2 = e4.length > 1, !J2 && 1 === e4.length) {
13173
+ if (q2 = e4.length > 1, !q2 && 1 === e4.length) {
13183
13174
  const n2 = e4[0], r3 = c.intersectRanges(t3, n2, vf);
13184
- (r3 && (r3.rowEnd !== r3.rowStart || r3.colStart !== r3.colEnd) || r3.colStart !== v2 || r3.rowStart !== x2) && (J2 = true);
13175
+ (r3 && (r3.rowEnd !== r3.rowStart || r3.colStart !== r3.colEnd) || r3.colStart !== v2 || r3.rowStart !== x2) && (q2 = true);
13185
13176
  }
13186
13177
  }
13187
13178
  let s3, i3;
13188
- if (J2) {
13179
+ if (q2) {
13189
13180
  k2 = n.BuiltIn.Spill, V2 = 1, $2 = 1;
13190
13181
  s3 = [[T2, [[N2, [k2]]]]], p2.setValues(s3), i3 = { colStart: v2, rowStart: x2, colEnd: v2, rowEnd: x2 };
13191
13182
  } else {
13192
13183
  const e4 = pf(j2, T2, N2);
13193
13184
  e4 && (s3 = e4.tuples), s3 && p2.setValues(s3), i3 = t3;
13194
13185
  }
13195
- U2 = { ...t3, value: new Mh(t3, l2, J2) }, f2.insert(U2), E2 = Sf(E2, C2, t3), u2.insertNonOverlapping(i3), h2.insertNonOverlapping(i3), d2.insertNonOverlapping({ ...i3, value: new Th(i3, _2) });
13186
+ U2 = { ...t3, value: new Mh(t3, l2, q2) }, f2.insert(U2), E2 = Sf(E2, C2, t3), u2.insertNonOverlapping(i3), h2.insertNonOverlapping(i3), d2.insertNonOverlapping({ ...i3, value: new Th(i3, _2) });
13196
13187
  }
13197
- (!c.isEqualRanges(W2, U2) || J2 || H2) && (W2 && g2.insert(W2), U2 && g2.insert(U2)), V2 === B2 && $2 === z2 || (C2.state = kh, h2.insertNonOverlapping({ colStart: v2, rowStart: x2, colEnd: v2 + Math.max(V2, B2) - 1, rowEnd: x2 + Math.max($2, z2) - 1 }), a2 = false);
13198
- let q2 = k2 && k2.isFormulaError ? k2 : null;
13199
- F2.getError() && (q2 = F2.getError()), (q2 || R2 && !t2) && (q2 && !q2.equals(R2) || R2 && R2.equals(q2)), C2.cachedValue = k2, s2[i2++] = C2;
13188
+ (!c.isEqualRanges(H2, U2) || q2 || W2) && (H2 && g2.insert(H2), U2 && g2.insert(U2)), V2 === L2 && $2 === z2 || (C2.state = kh, h2.insertNonOverlapping({ colStart: v2, rowStart: x2, colEnd: v2 + Math.max(V2, L2) - 1, rowEnd: x2 + Math.max($2, z2) - 1 }), a2 = false);
13189
+ let J2 = k2 && k2.isFormulaError ? k2 : null;
13190
+ F2.getError() && (J2 = F2.getError()), (J2 || R2 && !t2) && (J2 && !J2.equals(R2) || R2 && R2.equals(J2)), C2.cachedValue = k2, s2[i2++] = C2;
13200
13191
  }
13201
13192
  if (o2.node = null, o2.colIndex = Number.MAX_SAFE_INTEGER, o2.rowIndex = Number.MAX_SAFE_INTEGER, w2) {
13202
13193
  const t3 = w2.done(true);
@@ -13479,14 +13470,14 @@ new n.Calc("Cyclical dependency");
13479
13470
  const Mf = (t2) => new pa(t2);
13480
13471
  let Tf = 0;
13481
13472
  const Nf = 1e4, Ff = new Array(Nf), kf = new Array(Nf), Of = /* @__PURE__ */ new Set(), Df = new Array(Nf);
13482
- let Lf = 0;
13483
- const Bf = new Array(Nf);
13473
+ let Bf = 0;
13474
+ const Lf = new Array(Nf);
13484
13475
  let zf = 0, Pf = 0;
13485
- const Wf = new Array(Nf);
13486
- let Hf = 0, Vf = 0;
13476
+ const Hf = new Array(Nf);
13477
+ let Wf = 0, Vf = 0;
13487
13478
  const $f = new Array(Nf);
13488
13479
  let jf = 0;
13489
- const Gf = new Array(Nf), Uf = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, Jf = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, qf = [null, null], Kf = Object.freeze({ inserts: o.EmptyArray, removes: o.EmptyArray });
13480
+ const Gf = new Array(Nf), Uf = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, qf = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, Jf = [null, null], Kf = Object.freeze({ inserts: o.EmptyArray, removes: o.EmptyArray });
13490
13481
  function Xf(t2, e2, n2, r2) {
13491
13482
  const o2 = t2;
13492
13483
  if (o2?.getSplit) {
@@ -13505,9 +13496,9 @@ class Qf {
13505
13496
  this._instanceScope = t2;
13506
13497
  }
13507
13498
  async _initialize() {
13508
- const t2 = await dt._validate(true), e2 = tp();
13499
+ const t2 = await ct._validate(true), e2 = tp();
13509
13500
  this._calcScope = e2, this._runtime = new Zf(this._options, t2);
13510
- const { initializeBuiltIns: n2 } = await import("./DTATxp-TMmO0pR0E.mjs"), r2 = this;
13501
+ const { initializeBuiltIns: n2 } = await import("./Cu68B-_Hko3cotQs.mjs"), r2 = this;
13511
13502
  return this._builtInFunctions = Object.freeze(n2(() => r2)), { builtInFunctions: this._builtInFunctions, calcScope: this._calcScope };
13512
13503
  }
13513
13504
  getBuiltInFunctions() {
@@ -13680,7 +13671,7 @@ class Zf {
13680
13671
  }
13681
13672
  getVersion() {
13682
13673
  try {
13683
- const t2 = "0.7.10";
13674
+ const t2 = "0.7.11";
13684
13675
  if (-1 === t2.indexOf(".env.")) return `${t2}`;
13685
13676
  } catch (t2) {
13686
13677
  return "local";
@@ -14224,7 +14215,7 @@ class xp extends sa {
14224
14215
  this._context = r2;
14225
14216
  const o2 = await r2._initialize(), s2 = o2.builtInFunctions;
14226
14217
  this._functions = new vp({ transactions: this._transactions, context: r2, readonlyFunctions: s2 });
14227
- const i2 = await import("./DhnJcCAHnMAvIKHY.mjs");
14218
+ const i2 = await import("./DsII_YZ19g2EexaT.mjs");
14228
14219
  this._formulaParser = new i2.FormulaParser(), this._scope = o2.calcScope, this._status = cf.Status.Ready, this._emitter.notify("onStatusChange"), this._emitter.notify("onReady");
14229
14220
  } catch (t2) {
14230
14221
  throw this._status = cf.Status.Off, this._emitter.notify("onError", t2), this._emitter.notify("onStatusChange"), t2;
@@ -14382,8 +14373,8 @@ class Dp {
14382
14373
  return this._sheet;
14383
14374
  }
14384
14375
  }
14385
- let Lp = false;
14386
- class Bp {
14376
+ let Bp = false;
14377
+ class Lp {
14387
14378
  constructor(t2, e2) {
14388
14379
  this._mapStylesByName = /* @__PURE__ */ new Map(), this._arrStyleNames = [], this._mapStylesByName = t2, this._arrStyleNames = e2;
14389
14380
  }
@@ -14438,7 +14429,7 @@ const zp = (t2) => {
14438
14429
  }
14439
14430
  }
14440
14431
  return n2;
14441
- }, Wp = (t2, e2, n2) => {
14432
+ }, Hp = (t2, e2, n2) => {
14442
14433
  try {
14443
14434
  let r2 = null, o2 = null;
14444
14435
  const s2 = (t3) => ((t4, e3) => {
@@ -14585,7 +14576,7 @@ const zp = (t2) => {
14585
14576
  throw console.warn(t3), t3;
14586
14577
  }
14587
14578
  };
14588
- class Hp {
14579
+ class Wp {
14589
14580
  constructor(t2) {
14590
14581
  if (!t2) throw new u("snapshot is required.");
14591
14582
  this._snapshot = t2;
@@ -14669,7 +14660,7 @@ class Vp {
14669
14660
  });
14670
14661
  }))(e2) : [[]]);
14671
14662
  let s2;
14672
- if (Wp(n2, o2, r2) ? (t2 = r2.sheet(), s2 = t2.getUsedRange()) : n2 = null, s2) return this._parsed = { async copyTo(t3, e3) {
14663
+ if (Hp(n2, o2, r2) ? (t2 = r2.sheet(), s2 = t2.getUsedRange()) : n2 = null, s2) return this._parsed = { async copyTo(t3, e3) {
14673
14664
  const n3 = await t3.copyFrom(s2, e3);
14674
14665
  return n3?.getCoords() ?? null;
14675
14666
  }, getCoords: () => s2.getCoords(), getSource: () => t2, getName: () => t2.getName() }, true;
@@ -14958,7 +14949,7 @@ class Gp {
14958
14949
  }
14959
14950
  }
14960
14951
  const Up = { transactional: true, ignoreDataChanges: true };
14961
- class Jp extends ia {
14952
+ class qp extends ia {
14962
14953
  constructor(t2) {
14963
14954
  super({ ...t2, type: "namedReference" });
14964
14955
  const e2 = this;
@@ -15046,7 +15037,7 @@ class Jp extends ia {
15046
15037
  return this._getDescription();
15047
15038
  }
15048
15039
  }
15049
- 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) => {
15040
+ const Jp = "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) => {
15050
15041
  const e2 = [];
15051
15042
  for (let n2 = 0; n2 < t2.getCount(); n2++) {
15052
15043
  let r2 = null;
@@ -15055,7 +15046,7 @@ const qp = "Item must be specified.", Kp = "Name must be a non-empty string", Xp
15055
15046
  } catch (t3) {
15056
15047
  b.warn("Invalid range", t3);
15057
15048
  }
15058
- e2.push(r2 ? r2.toString().toLowerCase() : Lc);
15049
+ e2.push(r2 ? r2.toString().toLowerCase() : Bc);
15059
15050
  }
15060
15051
  return e2.sort(), e2.join(",");
15061
15052
  }, Qp = /^[^a-zA-Z_\\]+$/, Zp = /^[^a-zA-Z0-9_.]+$/;
@@ -15179,7 +15170,7 @@ class t_ {
15179
15170
  if (new RegExp(Qp).test(r2[0])) throw new Error("First letter must be either a letter, an underscore, or a backslash.");
15180
15171
  if (new RegExp(Zp).test(o2)) throw new Error("Name must be either letters, numbers, periods or underscores.");
15181
15172
  if (1 === r2.length && ("r" === r2[0] || "c" === r2[0])) throw new Error("Name can not be 'r' or 'c'.");
15182
- if (((t3, e3 = zc, n3 = Bc, r3 = false) => {
15173
+ if (((t3, e3 = zc, n3 = Lc, r3 = false) => {
15183
15174
  let o3 = uh(t3, r3);
15184
15175
  if (!o3) return false;
15185
15176
  if (o3[2]) return false;
@@ -15208,7 +15199,7 @@ class t_ {
15208
15199
  if (!n2) throw new Error(Xp(t2));
15209
15200
  this._delete(o2, { description: `Delete Named '${o2.getName()}'` });
15210
15201
  }
15211
- s2 = new Jp({ value: r2, addressToRanges: this._options.addressToRanges, json: { name: t2, ref: r2.toString() }, transactions: this._transactions }), this.add(s2), i2.commit();
15202
+ s2 = new qp({ value: r2, addressToRanges: this._options.addressToRanges, json: { name: t2, ref: r2.toString() }, transactions: this._transactions }), this.add(s2), i2.commit();
15212
15203
  } catch (t3) {
15213
15204
  throw i2.rollback(), t3;
15214
15205
  }
@@ -15216,7 +15207,7 @@ class t_ {
15216
15207
  }
15217
15208
  add(t2) {
15218
15209
  if (this._closed) throw new Error(na);
15219
- if (!t2) throw new Error(qp);
15210
+ if (!t2) throw new Error(Jp);
15220
15211
  if (!t2.getName || "string" == typeof t2) throw new Error("Add must take a 'INamed' object. To add a string use 'addReference'.");
15221
15212
  if (this._validateName(t2.getName(), t2.getScope(), false), this._options.isReadOnly?.()) throw new Error("Names are read-only.");
15222
15213
  const e2 = this._beginCommit(`Insert Named Item '${t2.getName()}'`), n2 = this._add([t2]);
@@ -15229,7 +15220,7 @@ class t_ {
15229
15220
  return e2.startsWith("_xlnm.") && (e2 = e2.substring(6)), t2.getScope() ? e2 + ":" + t2.getScope().toLowerCase() : e2;
15230
15221
  }
15231
15222
  _delete(t2, e2) {
15232
- if (!t2) throw new Error(qp);
15223
+ if (!t2) throw new Error(Jp);
15233
15224
  if (this._closed) throw new Error(na);
15234
15225
  const n2 = this._beginCommit(e2?.description ?? `Delete Named Item '${t2.getName()}'`);
15235
15226
  let r2 = null;
@@ -15360,7 +15351,7 @@ class t_ {
15360
15351
  for (let r3 = 0; r3 < n2; r3++) {
15361
15352
  const n3 = t2[r3];
15362
15353
  try {
15363
- const t3 = this._options.addressToRanges(n3.ref), r4 = new Jp({ value: t3, addressToRanges: this._options.addressToRanges, deleteFromContainer: (t4) => {
15354
+ const t3 = this._options.addressToRanges(n3.ref), r4 = new qp({ value: t3, addressToRanges: this._options.addressToRanges, deleteFromContainer: (t4) => {
15364
15355
  this._delete(r4, t4);
15365
15356
  }, json: n3, transactions: this._transactions });
15366
15357
  e3.push(r4);
@@ -15486,7 +15477,7 @@ class s_ {
15486
15477
  this._add = t2, this._get = e2, this._getByName = n2;
15487
15478
  }
15488
15479
  add(t2, e2) {
15489
- if (!t2) throw new Error(Bm);
15480
+ if (!t2) throw new Error(Lm);
15490
15481
  return this._add(t2, e2);
15491
15482
  }
15492
15483
  getItems(t2) {
@@ -16109,7 +16100,7 @@ const __ = (t2, n2, r2) => {
16109
16100
  const [t3, n3] = ((t4, e3) => {
16110
16101
  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 = [];
16111
16102
  t4.onStart?.();
16112
- const u2 = { rows: [], cols: [] }, g2 = new Bp(h3, d3);
16103
+ const u2 = { rows: [], cols: [] }, g2 = new Lp(h3, d3);
16113
16104
  g2.setNode(u2), t4.onTable?.(g2, l3);
16114
16105
  let m2 = 0;
16115
16106
  r3.forEachSpan((e4, n5) => {
@@ -16124,7 +16115,7 @@ const __ = (t2, n2, r2) => {
16124
16115
  const n5 = e4.getCoords();
16125
16116
  f2 = f2 + n5.max - n5.min + 1, p2.push({ min: n5.min, max: n5.max, value: e4.getCellHeader() });
16126
16117
  }, { address: l3, includeEmpty: true, includeStyles: true, ignoreHidden: false }), m2 * f2 > 5e4) {
16127
- 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.");
16118
+ 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.");
16128
16119
  return [null, null];
16129
16120
  }
16130
16121
  let _2 = 0, S2 = -1, w2 = null;
@@ -16310,7 +16301,7 @@ class N_ {
16310
16301
  let a2 = s2;
16311
16302
  if (e2?.address) {
16312
16303
  const t3 = o2._parseHeaderRangeAddress(e2?.address);
16313
- if (t3 && (a2 = Ls(s2, t3), !a2)) return;
16304
+ if (t3 && (a2 = Bs(s2, t3), !a2)) return;
16314
16305
  }
16315
16306
  const l2 = o2._scanHeaders(t2, n2, r2, i2, a2, e2);
16316
16307
  if (l2 && l2.break) return l2.break;
@@ -16349,7 +16340,7 @@ class N_ {
16349
16340
  getUsedRange(t2) {
16350
16341
  const e2 = this._header, n2 = e2._headerRunCoords;
16351
16342
  if (!n2 || n2.min < 0 || n2.max > e2._maxDataIndex) return null;
16352
- return Ls(n2, this._coords) ? e2.getRange(n2, t2) : null;
16343
+ return Bs(n2, this._coords) ? e2.getRange(n2, t2) : null;
16353
16344
  }
16354
16345
  getCount() {
16355
16346
  const t2 = this._coords;
@@ -16386,7 +16377,7 @@ class N_ {
16386
16377
  }
16387
16378
  getA1() {
16388
16379
  const t2 = this._coords, e2 = this._header, n2 = e2._isColumn ? { colStart: t2.min, colEnd: t2.max } : { rowStart: t2.min, rowEnd: t2.max };
16389
- return Qc(n2, e2._maxRangeCoords) ?? Lc;
16380
+ return Qc(n2, e2._maxRangeCoords) ?? Bc;
16390
16381
  }
16391
16382
  get [Symbol.toStringTag]() {
16392
16383
  return "[SheetCellHeaderRange]";
@@ -16443,7 +16434,7 @@ class F_ {
16443
16434
  const r2 = this._scaleFactor;
16444
16435
  this._defaultPxSize = w_(n2, r2);
16445
16436
  const o2 = y_(t2, n2, r2);
16446
- this._indexedSizes = o2.sizes, this._indexedHidden = o2.hidden, this._lastHeaderRead = null, this._readCache = Bs(this._lastHeaders), this._lastVisibleRunsRead = null, this._lastVisibleRunCoords = null;
16437
+ this._indexedSizes = o2.sizes, this._indexedHidden = o2.hidden, this._lastHeaderRead = null, this._readCache = Ls(this._lastHeaders), this._lastVisibleRunsRead = null, this._lastVisibleRunCoords = null;
16447
16438
  const s2 = this._options.sheet.getStyles().getNormal();
16448
16439
  let i2 = false, a2 = false, l2 = false, c2 = -1;
16449
16440
  for (let e3 = t2.length - 1; e3 >= 0; e3--) {
@@ -16493,7 +16484,7 @@ class F_ {
16493
16484
  if (!t2) throw new Error(bh);
16494
16485
  const n2 = this._parseHeaderRangeAddress(t2);
16495
16486
  return n2.min < 0 || n2.max > this._maxDataIndex ? (function(t3) {
16496
- const e3 = { getCoords: () => null, getOrientation: () => t3.getOrientation(), toString: () => Lc, getA1: () => Lc, getCount: b_, getVisibleCount: b_, isEntireHeaders: v_, forEach: C_, forEachSpan: C_, forEachVisibleSpan: C_, getUsedRange: Ah, getSnapshot: Ah, updateHeaders: Ah, clear: Ah, setHidden: Ah, setSize: Ah, at: Ah, doBatch: Ah, getSheetHeader: () => t3, isICellHeaderRange: true };
16487
+ const e3 = { getCoords: () => null, getOrientation: () => t3.getOrientation(), toString: () => Bc, getA1: () => Bc, getCount: b_, getVisibleCount: b_, isEntireHeaders: v_, forEach: C_, forEachSpan: C_, forEachVisibleSpan: C_, getUsedRange: Ah, getSnapshot: Ah, updateHeaders: Ah, clear: Ah, setHidden: Ah, setSize: Ah, at: Ah, doBatch: Ah, getSheetHeader: () => t3, isICellHeaderRange: true };
16497
16488
  return Object.freeze(e3);
16498
16489
  })(this) : new N_(this, n2);
16499
16490
  }
@@ -16900,7 +16891,7 @@ const O_ = (t2) => {
16900
16891
  }
16901
16892
  return r2;
16902
16893
  };
16903
- class L_ {
16894
+ class B_ {
16904
16895
  constructor(t2, e2, n2) {
16905
16896
  this._c = t2, this._tokens = e2, this._references = n2 || o.EmptyArray;
16906
16897
  }
@@ -16964,7 +16955,7 @@ class L_ {
16964
16955
  return this._c;
16965
16956
  }
16966
16957
  }
16967
- class B_ {
16958
+ class L_ {
16968
16959
  constructor(t2, e2, n2) {
16969
16960
  this.groupId = t2, this.uuid = e2, this.noShift = n2;
16970
16961
  }
@@ -16973,12 +16964,12 @@ class B_ {
16973
16964
  getShifted(t2) {
16974
16965
  if (!t2.after) return null;
16975
16966
  const e2 = this.noShift;
16976
- return e2 ? void 0 : { ...t2.after, value: new B_(this.groupId, this.uuid, e2) };
16967
+ return e2 ? void 0 : { ...t2.after, value: new L_(this.groupId, this.uuid, e2) };
16977
16968
  }
16978
16969
  getSplit(t2, e2) {
16979
16970
  }
16980
16971
  copyTo(t2, e2) {
16981
- return new B_(this.groupId, this.uuid, this.noShift);
16972
+ return new L_(this.groupId, this.uuid, this.noShift);
16982
16973
  }
16983
16974
  canTile(t2, e2) {
16984
16975
  return false;
@@ -17027,7 +17018,7 @@ class z_ {
17027
17018
  processMerge(t2) {
17028
17019
  }
17029
17020
  }
17030
- const P_ = Object.freeze({ coords: c.EmptyCell, topLeft: a.EmptyTopLeft }), W_ = Object.freeze({ cell: c.EmptyCell, ranges: o.EmptyArray, rangeIndex: 0 }), H_ = Object.freeze({ selection: W_, topLeft: a.EmptyTopLeft, freezePanes: P_, showRowHeaders: true, showColumnHeaders: true, showRowGridlines: true, showColumnGridlines: true, rowHeaderStyle: Op.HeaderTextStyle.One, columnHeaderStyle: Op.HeaderTextStyle.A1, showFormulas: false, showZeros: true, zoomScale: 100, gridLineColor: null });
17021
+ const P_ = Object.freeze({ coords: c.EmptyCell, topLeft: a.EmptyTopLeft }), H_ = Object.freeze({ cell: c.EmptyCell, ranges: o.EmptyArray, rangeIndex: 0 }), W_ = Object.freeze({ selection: H_, topLeft: a.EmptyTopLeft, freezePanes: P_, showRowHeaders: true, showColumnHeaders: true, showRowGridlines: true, showColumnGridlines: true, rowHeaderStyle: Op.HeaderTextStyle.One, columnHeaderStyle: Op.HeaderTextStyle.A1, showFormulas: false, showZeros: true, zoomScale: 100, gridLineColor: null });
17031
17022
  class V_ {
17032
17023
  constructor(t2) {
17033
17024
  if (this._emitter = null, !t2?.sheet) throw new Error("SheetView requires a sheet.");
@@ -17158,7 +17149,7 @@ class V_ {
17158
17149
  const t2 = {}, e2 = Object.keys(this._state);
17159
17150
  for (let n3 = 0; n3 < e2.length; n3++) {
17160
17151
  const r2 = this._state[e2[n3]];
17161
- null != r2 && r2 !== H_[e2[n3]] && (t2[e2[n3]] = r2);
17152
+ null != r2 && r2 !== W_[e2[n3]] && (t2[e2[n3]] = r2);
17162
17153
  }
17163
17154
  delete t2.movableSelection, delete t2.gridLineColor, this._state.gridLineColor instanceof si && (t2.gridLineColor = this._state.gridLineColor.toString()), delete t2.topLeft, !this._state.topLeft || 0 === this._state.topLeft.left && 0 === this._state.topLeft.top || (t2.topLeft = { left: this._state.topLeft.left ?? 0, top: this._state.topLeft.top ?? 0 }), delete t2.selection;
17164
17155
  const n2 = this._state.selection;
@@ -17208,17 +17199,17 @@ class V_ {
17208
17199
  this.update(e2);
17209
17200
  }
17210
17201
  clear(t2 = true) {
17211
- return this._state = { ...H_ }, this._movableSelection = Object.freeze([]), t2 && this._notifyAll(), this;
17202
+ return this._state = { ...W_ }, this._movableSelection = Object.freeze([]), t2 && this._notifyAll(), this;
17212
17203
  }
17213
17204
  update(t2) {
17214
- return this._state = { ...H_, ...this._state, ...t2 }, this._state.freezePanes = this._mergeFreezePanes(this._state.freezePanes), this._state.zoomScale = Math.min(400, Math.max(10, this._state.zoomScale)), this._notifyAll(), this;
17205
+ return this._state = { ...W_, ...this._state, ...t2 }, this._state.freezePanes = this._mergeFreezePanes(this._state.freezePanes), this._state.zoomScale = Math.min(400, Math.max(10, this._state.zoomScale)), this._notifyAll(), this;
17215
17206
  }
17216
17207
  get isISheetView() {
17217
17208
  return true;
17218
17209
  }
17219
17210
  }
17220
17211
  async function $_() {
17221
- const { getCrypto: t2 } = await import("./B1YReOzxQ_MwWTr7.mjs");
17212
+ const { getCrypto: t2 } = await import("./Cbc6DQzMsCf4bGWu.mjs");
17222
17213
  return t2();
17223
17214
  }
17224
17215
  const j_ = async (t2, e2, ...n2) => {
@@ -17236,26 +17227,26 @@ const j_ = async (t2, e2, ...n2) => {
17236
17227
  for (let t3 = 0; t3 < e2.byteLength; t3++) n2 += String.fromCharCode(e2[t3]);
17237
17228
  return btoa(n2);
17238
17229
  };
17239
- class J_ {
17230
+ class q_ {
17240
17231
  static {
17241
17232
  this.DefaultAlgo = "SHA-512";
17242
17233
  }
17243
17234
  static {
17244
17235
  this.DefaultSpinCount = 1e5;
17245
17236
  }
17246
- static async generateSaltAndHash(t2, e2 = J_.DefaultAlgo, n2 = J_.DefaultSpinCount) {
17237
+ static async generateSaltAndHash(t2, e2 = q_.DefaultAlgo, n2 = q_.DefaultSpinCount) {
17247
17238
  if (!t2) return null;
17248
17239
  const r2 = (await $_()).getRandomValues(new Uint8Array(16)), o2 = U_(r2.buffer);
17249
- return { salt: o2, hash: await J_._convertPasswordToHash(t2, o2, e2, n2) };
17240
+ return { salt: o2, hash: await q_._convertPasswordToHash(t2, o2, e2, n2) };
17250
17241
  }
17251
- static async verifyPassword(t2, e2, n2 = J_.DefaultAlgo, r2 = J_.DefaultSpinCount) {
17242
+ static async verifyPassword(t2, e2, n2 = q_.DefaultAlgo, r2 = q_.DefaultSpinCount) {
17252
17243
  if (!t2 || !e2) throw new u();
17253
17244
  return ((t3, e3) => {
17254
17245
  const n3 = t3.length, r3 = e3.length;
17255
17246
  let o2 = n3 === r3 ? 0 : 1;
17256
17247
  for (let s2 = 0; s2 < Math.max(n3, r3); s2++) o2 |= t3.charCodeAt(s2 % n3) ^ e3.charCodeAt(s2 % r3);
17257
17248
  return 0 === o2;
17258
- })(await J_._convertPasswordToHash(t2, e2.salt, n2, r2), e2.hash);
17249
+ })(await q_._convertPasswordToHash(t2, e2.salt, n2, r2), e2.hash);
17259
17250
  }
17260
17251
  static async _convertPasswordToHash(t2, e2, n2, r2) {
17261
17252
  const o2 = await $_();
@@ -17277,7 +17268,7 @@ class J_ {
17277
17268
  return U_(a2);
17278
17269
  }
17279
17270
  }
17280
- class q_ {
17271
+ class J_ {
17281
17272
  constructor(t2, e2 = false) {
17282
17273
  this._emitter = null, this._emitter = new oa(this), this.fromJSON(t2), this._isReadOnly = e2;
17283
17274
  }
@@ -17291,7 +17282,7 @@ class q_ {
17291
17282
  }
17292
17283
  let o2;
17293
17284
  if (e2) {
17294
- const t3 = await J_.generateSaltAndHash(e2, n2, r2);
17285
+ const t3 = await q_.generateSaltAndHash(e2, n2, r2);
17295
17286
  o2 = { salt: t3.salt, hash: t3.hash }, n2 && (o2.algorithm = n2), r2 && (o2.spinCount = r2);
17296
17287
  } else o2 = null;
17297
17288
  return t2 = t2 ?? {}, this._updateProperties(t2), this._properties = t2, this._password = o2, this._emitter.notify("onLockChange"), this._emitter.notify("onChange"), this;
@@ -17325,7 +17316,7 @@ class q_ {
17325
17316
  const e2 = this._password;
17326
17317
  if (!(t2 && 0 !== t2.length || e2 && e2.hash)) return true;
17327
17318
  if (!t2) throw new Error("Password is required.");
17328
- if (!await J_.verifyPassword(t2, { salt: e2.salt, hash: e2.hash }, e2.algorithm, e2.spinCount)) throw new Error("Invalid password.");
17319
+ if (!await q_.verifyPassword(t2, { salt: e2.salt, hash: e2.hash }, e2.algorithm, e2.spinCount)) throw new Error("Invalid password.");
17329
17320
  return true;
17330
17321
  }
17331
17322
  getProperties() {
@@ -17361,7 +17352,7 @@ class q_ {
17361
17352
  }
17362
17353
  }
17363
17354
  const K_ = Object.freeze({ selectLockedCells: true, selectUnlockedCells: true, autoFilter: false, deleteColumns: false, deleteRows: false, formatCells: false, formatColumns: false, formatRows: false, insertColumns: false, insertHyperlinks: false, insertRows: false, objects: false, pivotTables: false, scenarios: false, sheet: false, sort: false, verifier: null });
17364
- class X_ extends q_ {
17355
+ class X_ extends J_ {
17365
17356
  isAutoFilterAllowed() {
17366
17357
  return this._isPropertyAllowed("autoFilter");
17367
17358
  }
@@ -17562,10 +17553,10 @@ class Y_ {
17562
17553
  return this._sheet._getSnapshot(this.getCoords(), t2);
17563
17554
  }
17564
17555
  getEntireRows(t2, n2) {
17565
- return this._createRanges(qg(this.getCoords(), this._sheet._entireCoords, e.Orientation.Column, t2), n2);
17556
+ return this._createRanges(Jg(this.getCoords(), this._sheet._entireCoords, e.Orientation.Column, t2), n2);
17566
17557
  }
17567
17558
  getEntireColumns(t2, n2) {
17568
- return this._createRanges(qg(this.getCoords(), this._sheet._entireCoords, e.Orientation.Row, t2), n2);
17559
+ return this._createRanges(Jg(this.getCoords(), this._sheet._entireCoords, e.Orientation.Row, t2), n2);
17569
17560
  }
17570
17561
  getDefaultShiftOrientation() {
17571
17562
  return this._sheet._getDefaultShiftOrientation(this.getCoords()[0]);
@@ -17612,7 +17603,7 @@ class Y_ {
17612
17603
  return false;
17613
17604
  }
17614
17605
  getA1() {
17615
- return oh(this.getCoords(), this._sheet._entireCoords, Qc, Jc);
17606
+ return oh(this.getCoords(), this._sheet._entireCoords, Qc, qc);
17616
17607
  }
17617
17608
  getSheet() {
17618
17609
  return this._sheet;
@@ -17753,7 +17744,7 @@ class Q_ {
17753
17744
  this._validateMaxSize(n2?.maxSize);
17754
17745
  const r2 = this.getCoords();
17755
17746
  return ((n3, r3, o2) => {
17756
- const s2 = { [Lh.Type.Style]: false, [Lh.Type.Table]: false }, i2 = o2?.orientation ?? e.Orientation.Row, a2 = o2?.maxSize ?? 1e4, l2 = n3({ includeEmpty: true, orientation: i2, reverse: o2?.reverse, ignoreHidden: o2?.ignoreHidden, includeMergeOverflow: o2?.includeMergeOverflow, includeRangeTypes: s2, bounds: r3 }), c2 = i2 !== e.Orientation.Row, h2 = o2?.ignoreFormatting ?? false;
17747
+ const s2 = { [Bh.Type.Style]: false, [Bh.Type.Table]: false }, i2 = o2?.orientation ?? e.Orientation.Row, a2 = o2?.maxSize ?? 1e4, l2 = n3({ includeEmpty: true, orientation: i2, reverse: o2?.reverse, ignoreHidden: o2?.ignoreHidden, includeMergeOverflow: o2?.includeMergeOverflow, includeRangeTypes: s2, bounds: r3 }), c2 = i2 !== e.Orientation.Row, h2 = o2?.ignoreFormatting ?? false;
17757
17748
  let d2, u2 = -1, g2 = 0, m2 = 0;
17758
17749
  d2 = l2.next();
17759
17750
  let f2 = "";
@@ -17833,11 +17824,11 @@ class Q_ {
17833
17824
  }
17834
17825
  getEntireRows(t2, n2) {
17835
17826
  const r2 = this._sheet;
17836
- return this._createRange(qg([this.getCoords()], r2._entireCoords, e.Orientation.Column, t2)[0], n2);
17827
+ return this._createRange(Jg([this.getCoords()], r2._entireCoords, e.Orientation.Column, t2)[0], n2);
17837
17828
  }
17838
17829
  getEntireColumns(t2, n2) {
17839
17830
  const r2 = this._sheet;
17840
- return this._createRange(qg([this.getCoords()], r2._entireCoords, e.Orientation.Row, t2)[0], n2);
17831
+ return this._createRange(Jg([this.getCoords()], r2._entireCoords, e.Orientation.Row, t2)[0], n2);
17841
17832
  }
17842
17833
  getRowHeaders(t2) {
17843
17834
  const e2 = this.getCoords();
@@ -18058,7 +18049,7 @@ class aS {
18058
18049
  constructor(t2) {
18059
18050
  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;
18060
18051
  const e2 = Object.freeze({ ...t2 });
18061
- dt._validate(true), this._transactions = e2.transactions ?? new O(), this._ownTransactions = !e2.transactions;
18052
+ ct._validate(true), this._transactions = e2.transactions ?? new O(), this._ownTransactions = !e2.transactions;
18062
18053
  const n2 = this._beginCommit({ description: "New Sheet" }), r2 = this;
18063
18054
  try {
18064
18055
  this._entireCoords = Object.freeze({ colStart: 0, rowStart: 0, colEnd: (e2.maxColumns ?? Z_) - 1, rowEnd: (e2.maxRows ?? tS) - 1 }), this._strings = e2.strings ?? new af(), this._ownStrings = !e2.strings;
@@ -18190,7 +18181,7 @@ class aS {
18190
18181
  e2 && !Array.isArray(e2) && (e2 = [e2]);
18191
18182
  const r2 = t2(e2), o2 = this.getProtection(), s2 = o2?.getProperties();
18192
18183
  if (s2) {
18193
- if (0 === r2.length) throw new C(Hh);
18184
+ if (0 === r2.length) throw new C(Wh);
18194
18185
  if (r2) {
18195
18186
  const t3 = r2.length;
18196
18187
  for (let e3 = 0; e3 < t3; e3++) {
@@ -18246,22 +18237,22 @@ class aS {
18246
18237
  void 0 === a3 && (a3 = true), e2.push({ ...o4, value: { [s3]: a3 } });
18247
18238
  }
18248
18239
  };
18249
- if (s2(Lh.Type.Merge) && r2.mergeSpatial) {
18240
+ if (s2(Bh.Type.Merge) && r2.mergeSpatial) {
18250
18241
  const n3 = r2.mergeSpatial.search(t2), s3 = n3.length;
18251
18242
  for (let r3 = 0; r3 < s3; r3++) {
18252
18243
  const s4 = n3[r3], i3 = o2 ? s4 : c.intersectRanges(t2, s4);
18253
18244
  e2.push({ ...i3, value: { merge: s4.value } });
18254
18245
  }
18255
18246
  }
18256
- if (i2(Lh.Type.Unlock, r2.unlockSpatial, "unlock"), i2(Lh.Type.Contentful, r2.contentfulSpatial, "contentful"), i2(Lh.Type.Continuous, r2.continuousFillSpatial, "continuous"), i2(Lh.Type.Hyperlink, r2.hyperlinkSpatial, "hyperlink"), i2(Lh.Type.Comments, r2.commentsSpatial, "comments"), i2(Lh.Type.Style, r2.directStyleSpatial, "directStyle"), i2(Lh.Type.Formula, r2.formulaSpatial, "formula"), i2(Lh.Type.Pending, r2.pendingSpatial, "pending"), i2(Lh.Type.CalcError, r2.calcErrorsSpatial, "calcError"), i2(Lh.Type.Spill, r2.spillSpatial, "spills"), s2(Lh.Type.Conditional) && r2.conditionalSpatial) {
18257
- const o3 = r2.conditionalSpatial.search(t2), s3 = n2[Lh.Type.Conditional], i3 = o3.length;
18247
+ if (i2(Bh.Type.Unlock, r2.unlockSpatial, "unlock"), i2(Bh.Type.Contentful, r2.contentfulSpatial, "contentful"), i2(Bh.Type.Continuous, r2.continuousFillSpatial, "continuous"), i2(Bh.Type.Hyperlink, r2.hyperlinkSpatial, "hyperlink"), i2(Bh.Type.Comments, r2.commentsSpatial, "comments"), i2(Bh.Type.Style, r2.directStyleSpatial, "directStyle"), i2(Bh.Type.Formula, r2.formulaSpatial, "formula"), i2(Bh.Type.Pending, r2.pendingSpatial, "pending"), i2(Bh.Type.CalcError, r2.calcErrorsSpatial, "calcError"), i2(Bh.Type.Spill, r2.spillSpatial, "spills"), s2(Bh.Type.Conditional) && r2.conditionalSpatial) {
18248
+ const o3 = r2.conditionalSpatial.search(t2), s3 = n2[Bh.Type.Conditional], i3 = o3.length;
18258
18249
  for (let n3 = 0; n3 < i3; n3++) {
18259
18250
  const r3 = o3[n3], i4 = c.intersectRanges(t2, r3);
18260
18251
  s3 && !i4 || e2.push({ ...i4, value: { conditionals: [r3.value] } });
18261
18252
  }
18262
18253
  }
18263
- if (s2(Lh.Type.Table) && r2.tableSpatial) {
18264
- const o3 = r2.tableSpatial.search(t2), s3 = n2[Lh.Type.Table], i3 = o3.length;
18254
+ if (s2(Bh.Type.Table) && r2.tableSpatial) {
18255
+ const o3 = r2.tableSpatial.search(t2), s3 = n2[Bh.Type.Table], i3 = o3.length;
18265
18256
  for (let n3 = 0; n3 < i3; n3++) {
18266
18257
  const r3 = o3[n3];
18267
18258
  if (s3 && !c.isRangeWithinRange(t2, r3)) continue;
@@ -18286,7 +18277,7 @@ class aS {
18286
18277
  if (!n2 || !t2 || !t2.includeRangeTypes) return ma;
18287
18278
  const r2 = t2?.bounds ?? this._getUsedCoords() ?? this._entireCoords;
18288
18279
  let s2 = null;
18289
- true === t2.includeRangeTypes ? s2 = Bh : o.isObject(t2.includeRangeTypes) && (s2 = t2.includeRangeTypes);
18280
+ true === t2.includeRangeTypes ? s2 = Lh : o.isObject(t2.includeRangeTypes) && (s2 = t2.includeRangeTypes);
18290
18281
  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 };
18291
18282
  this._rowHeaders.getRange(f2).forEachVisibleSpan((t3, e2) => {
18292
18283
  this._colHeaders.getRange(g2).forEachVisibleSpan((r3, o2) => {
@@ -18318,7 +18309,7 @@ class aS {
18318
18309
  if (!o2 || !n2) return null;
18319
18310
  let s2 = this._entireCoords;
18320
18311
  r2 && (s2 = { colStart: Math.max(s2.colStart - r2, s2.colStart), rowStart: s2.rowStart, colEnd: Math.min(s2.colEnd + r2, s2.colEnd), rowEnd: s2.rowEnd });
18321
- const i2 = { rowStart: n2.rowStart, colStart: s2.colStart, rowEnd: n2.rowEnd, colEnd: s2.colEnd }, a2 = { bounds: i2, includeRangeTypes: Wh, orientation: e.Orientation.Row, ignoreHidden: true, byCell: false }, l2 = n2.colStart, h2 = n2.colEnd;
18312
+ const i2 = { rowStart: n2.rowStart, colStart: s2.colStart, rowEnd: n2.rowEnd, colEnd: s2.colEnd }, a2 = { bounds: i2, includeRangeTypes: Hh, orientation: e.Orientation.Row, ignoreHidden: true, byCell: false }, l2 = n2.colStart, h2 = n2.colEnd;
18322
18313
  let d2, u2, g2 = -1;
18323
18314
  const m2 = (t2, e2) => {
18324
18315
  let n3 = t2.next();
@@ -18351,7 +18342,7 @@ class aS {
18351
18342
  yS.colStart = o3, yS.rowStart = r3, yS.colEnd = o3, yS.rowEnd = r3;
18352
18343
  const e3 = Pg(0, yS, n3.intersection, _2);
18353
18344
  n3.style = e3;
18354
- const a3 = Bg(r3, o3, t.String, e3, s3, null, null, i3?.getCoords(), _2);
18345
+ const a3 = Lg(r3, o3, t.String, e3, s3, null, null, i3?.getCoords(), _2);
18355
18346
  if (a3) {
18356
18347
  const t2 = a3.leftIndex, e4 = a3.rightIndex;
18357
18348
  n3.leftIndex = t2, n3.rightIndex = e4, (e4 > 0 && o3 < l2 || t2 > 0 && o3 > h2) && (n3.overflow = a3);
@@ -18549,9 +18540,9 @@ class aS {
18549
18540
  (r2 = r2 ?? ((t3, e2) => {
18550
18541
  b2._validateCoords(t3, e2 ?? $h);
18551
18542
  }))(E2);
18552
- const v2 = { [Lh.Type.Style]: false, [Lh.Type.Table]: false };
18543
+ const v2 = { [Bh.Type.Style]: false, [Bh.Type.Table]: false };
18553
18544
  let x2 = false;
18554
- m2 && this._hasRangedEntries("unlockSpatial", E2) && (v2[Lh.Type.Unlock] = false, x2 = true), this._hasRangedEntries("mergeSpatial", E2) && (v2[Lh.Type.Merge] = false, x2 = true);
18545
+ m2 && this._hasRangedEntries("unlockSpatial", E2) && (v2[Bh.Type.Unlock] = false, x2 = true), this._hasRangedEntries("mergeSpatial", E2) && (v2[Bh.Type.Merge] = false, x2 = true);
18555
18546
  const I2 = this._rangeStateIterator({ bounds: E2, orientation: g2, includeRangeTypes: v2, reuseIterator: { done: false, value: null } });
18556
18547
  let R2 = I2.next(), A2 = -1, M2 = -1, T2 = -1, N2 = -1, F2 = null;
18557
18548
  if (!R2.done) {
@@ -18570,17 +18561,17 @@ class aS {
18570
18561
  } while (F2);
18571
18562
  return F2;
18572
18563
  };
18573
- 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 = Nl(u2), $2 = Nl(u2, (t3, e2) => {
18564
+ 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 = Nl(u2), $2 = Nl(u2, (t3, e2) => {
18574
18565
  if (t3 === e2) return e2;
18575
18566
  }), j2 = Nl(u2, (t3, e2) => {
18576
18567
  if (t3 === e2) return e2;
18577
18568
  }), G2 = Nl(u2, (t3, e2) => {
18578
18569
  if (t3 === e2) return e2;
18579
18570
  }), U2 = [];
18580
- let J2 = null, q2 = null;
18571
+ let q2 = null, J2 = null;
18581
18572
  if (false !== n2?.textParser) {
18582
18573
  const t3 = n2 && true !== n2.textParser ? n2.textParser : {};
18583
- q2 = { ignoreQuotePrefix: false, date1904: this._isDate1904, dateNF: false, parse: null, ...t3 }, J2 = new pm(p2, null, this._cellOptions);
18574
+ J2 = { ignoreQuotePrefix: false, date1904: this._isDate1904, dateNF: false, parse: null, ...t3 }, q2 = new pm(p2, null, this._cellOptions);
18584
18575
  }
18585
18576
  const K2 = [], X2 = this._cellOptions, Y2 = /* @__PURE__ */ new Map(), Q2 = wm, Z2 = (t3, e2, n3) => {
18586
18577
  const r3 = k2?.(e2, n3);
@@ -18595,18 +18586,18 @@ class aS {
18595
18586
  U2.push({ colStart: u2 ? e2 : n3, rowStart: u2 ? n3 : e2, colEnd: (u2 ? e2 : n3) + t4.width - 1, rowEnd: (u2 ? n3 : e2) + t4.height - 1 });
18596
18587
  }
18597
18588
  }
18598
- let o3 = Fg(t3, X2, q2, Y2);
18589
+ let o3 = Fg(t3, X2, J2, Y2);
18599
18590
  if (void 0 === o3) return;
18600
18591
  const a3 = o3.value;
18601
18592
  if (o3.stringToParse) {
18602
- fS[0].colIndex = u2 ? e2 : n3, fS[0].rowIndex = u2 ? n3 : e2, fS[1] = a3, fS[2] = r3, J2.setState(fS);
18603
- const t4 = q2?.parse(o3.stringToParse, J2.context), s3 = Fg(t4, X2, q2, Y2, true);
18604
- if (J2.clear(), null === s3) return s3;
18593
+ fS[0].colIndex = u2 ? e2 : n3, fS[0].rowIndex = u2 ? n3 : e2, fS[1] = a3, fS[2] = r3, q2.setState(fS);
18594
+ const t4 = J2?.parse(o3.stringToParse, q2.context), s3 = Fg(t4, X2, J2, Y2, true);
18595
+ if (q2.clear(), null === s3) return s3;
18605
18596
  void 0 !== s3 && (o3 = { ...s3 });
18606
18597
  }
18607
18598
  if (m2) {
18608
- if (m2 && (null === t3 || void 0 !== o3.value)) throw new C(Hh);
18609
- if (!f2 && void 0 !== o3.style) throw new C(Hh);
18599
+ if (m2 && (null === t3 || void 0 !== o3.value)) throw new C(Wh);
18600
+ if (!f2 && void 0 !== o3.style) throw new C(Wh);
18610
18601
  }
18611
18602
  if (!i2) {
18612
18603
  const t4 = o3.style;
@@ -18653,23 +18644,23 @@ class aS {
18653
18644
  const r3 = V2.done(), o3 = r3.length;
18654
18645
  for (let t4 = 0; t4 < o3; t4++) {
18655
18646
  const e2 = r3[t4];
18656
- D2.delete(r3[t4]), H2.insertNonOverlapping({ ...e2, value: null });
18657
- const n3 = L2.delete(e2);
18658
- this._updateFormulaSpatial(B2, null, n3);
18647
+ D2.delete(r3[t4]), W2.insertNonOverlapping({ ...e2, value: null });
18648
+ const n3 = B2.delete(e2);
18649
+ this._updateFormulaSpatial(L2, null, n3);
18659
18650
  }
18660
18651
  let i3;
18661
18652
  K2.length > 0 && (D2.setValues(K2), i3 = { tuples: K2, bounds: l2 });
18662
18653
  let g3, m3 = G2.done();
18663
18654
  if (m3.length > 1 && (m3 = cl(m3, e.Orientation.Column, 1)), i3 || m3.length > 0) {
18664
- const t4 = L2.setInputs(i3, m3);
18665
- g3 = this._updateFormulaSpatial(B2, t4.inserts, t4.removes, O2.directStyleSpatial);
18655
+ const t4 = B2.setInputs(i3, m3);
18656
+ g3 = this._updateFormulaSpatial(L2, t4.inserts, t4.removes, O2.directStyleSpatial);
18666
18657
  }
18667
18658
  const f3 = ym(K2, u2), C2 = f3.length;
18668
- for (let t4 = 0; t4 < C2; t4++) H2.insertNonOverlapping(f3[t4]);
18659
+ for (let t4 = 0; t4 < C2; t4++) W2.insertNonOverlapping(f3[t4]);
18669
18660
  const b3 = $2.done();
18670
18661
  b3.length > 0 && this._updateStyles(b3), U2.length > 0 && this._merge(U2);
18671
18662
  const v3 = j2.done();
18672
- 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) {
18663
+ 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) {
18673
18664
  const t4 = "boolean" == typeof n2.autoFit ? SS : n2.autoFit;
18674
18665
  this._autoFit([E2], t4);
18675
18666
  }
@@ -18720,7 +18711,7 @@ class aS {
18720
18711
  const t3 = dm(c2 ? this._rowHeaders : this._colHeaders);
18721
18712
  x2 = ua(t3);
18722
18713
  }
18723
- const R2 = this._cellIterator({ bounds: u2, orientation: l2, ignoreHidden: !I2 && l2, includeRangeTypes: { [Lh.Type.Style]: false, [Lh.Type.Merge]: false } }), A2 = c2 ? s2 : o2;
18714
+ const R2 = this._cellIterator({ bounds: u2, orientation: l2, ignoreHidden: !I2 && l2, includeRangeTypes: { [Bh.Type.Style]: false, [Bh.Type.Merge]: false } }), A2 = c2 ? s2 : o2;
18724
18715
  let M2 = (c2 ? u2.rowStart : u2.colStart) - A2, T2 = R2.next();
18725
18716
  for (; !T2.done; ) {
18726
18717
  const t3 = T2.value.context, e2 = t3.getCell();
@@ -18743,7 +18734,7 @@ class aS {
18743
18734
  if (0 === w2.length) return;
18744
18735
  const N2 = /* @__PURE__ */ new Map(), F2 = /* @__PURE__ */ new Map(), k2 = n2?.collators ?? la.DefaultCollators, O2 = k2.length;
18745
18736
  for (let t3 = 0; t3 < O2; t3++) N2.set(k2[t3].type, k2[t3].compare), F2.set(k2[t3].type, t3);
18746
- let D2 = null, L2 = null, B2 = null;
18737
+ let D2 = null, B2 = null, L2 = null;
18747
18738
  w2.sort((t3, e2) => {
18748
18739
  const n3 = p2.length;
18749
18740
  for (let r3 = 0; r3 < n3; r3++) {
@@ -18758,14 +18749,14 @@ class aS {
18758
18749
  let t4 = F2.get(h3);
18759
18750
  u3 = F2.get(d2) - t4;
18760
18751
  } else {
18761
- let t4 = L2;
18752
+ let t4 = B2;
18762
18753
  if (D2 !== h3) {
18763
- t4 = N2.get(h3), L2 = t4, D2 = h3;
18754
+ t4 = N2.get(h3), B2 = t4, D2 = h3;
18764
18755
  let e3 = F2.get(d2);
18765
18756
  const r4 = k2[e3].defaultOptions;
18766
- B2 = { ...r4, ...n4.collatorOptions };
18757
+ L2 = { ...r4, ...n4.collatorOptions };
18767
18758
  }
18768
- u3 = t4(i3, a3, B2);
18759
+ u3 = t4(i3, a3, L2);
18769
18760
  }
18770
18761
  return n4.reverse && (u3 *= -1), u3;
18771
18762
  }
@@ -18774,21 +18765,21 @@ class aS {
18774
18765
  const z2 = this._beginCommit({ description: r2 });
18775
18766
  let P2 = [u2];
18776
18767
  I2 || (P2 = this._getVisible(P2, { orientations: c2 ? e.Orientations.Row : e.Orientations.Column })), this._clear(P2, void 0, void 0, true);
18777
- const W2 = this._createIncrementalUpdater({ orientation: l2 });
18778
- let H2 = c2 ? u2.rowStart : u2.colStart;
18768
+ const H2 = this._createIncrementalUpdater({ orientation: l2 });
18769
+ let W2 = c2 ? u2.rowStart : u2.colStart;
18779
18770
  const V2 = w2.length;
18780
18771
  for (let t3 = 0; t3 < V2; t3++) {
18781
18772
  const e2 = w2[t3];
18782
- if (x2 && (H2 = x2(H2)), e2) {
18773
+ if (x2 && (W2 = x2(W2)), e2) {
18783
18774
  const t4 = e2.values, n3 = t4.length;
18784
18775
  for (let e3 = 0; e3 < n3; e3++) {
18785
- const n4 = t4[e3], r3 = c2 ? H2 : n4.getCoords().rowIndex, o3 = c2 ? n4.getCoords().colIndex : H2;
18786
- W2.pushAt(r3, o3, n4);
18776
+ const n4 = t4[e3], r3 = c2 ? W2 : n4.getCoords().rowIndex, o3 = c2 ? n4.getCoords().colIndex : W2;
18777
+ H2.pushAt(r3, o3, n4);
18787
18778
  }
18788
18779
  }
18789
- H2 += A2;
18780
+ W2 += A2;
18790
18781
  }
18791
- return W2.apply(), z2.commit(), u2;
18782
+ return H2.apply(), z2.commit(), u2;
18792
18783
  }
18793
18784
  _autoFill(t2, n2, r2) {
18794
18785
  const { direction: o2, amount: s2 } = ((t3, n3) => {
@@ -18798,7 +18789,7 @@ class aS {
18798
18789
  return { direction: r3, amount: o3 };
18799
18790
  })(t2, n2);
18800
18791
  if (s2 <= 0) return false;
18801
- const i2 = o2 === e.Direction.Up || o2 === e.Direction.Down, a2 = this.getSelection().getCoords(), l2 = [], h2 = r2?.previewOnly, d2 = r2?.contentsOnly, u2 = r2?.filler ?? Hs.Types.Series, g2 = { ...r2?.fillerOptions };
18792
+ const i2 = o2 === e.Direction.Up || o2 === e.Direction.Down, a2 = this.getSelection().getCoords(), l2 = [], h2 = r2?.previewOnly, d2 = r2?.contentsOnly, u2 = r2?.filler ?? Ws.Types.Series, g2 = { ...r2?.fillerOptions };
18802
18793
  let m2 = null, f2 = null;
18803
18794
  try {
18804
18795
  const p2 = { ...t2 };
@@ -18820,43 +18811,43 @@ class aS {
18820
18811
  const F2 = N2 ? A2 + 1 : M2, k2 = (N2 ? T2 : R2 - 1) - F2 + 1, O2 = i2 ? t2.colEnd : t2.rowEnd;
18821
18812
  l2.push(c.unionRanges(p2, t2));
18822
18813
  const D2 = [];
18823
- let L2 = null;
18814
+ let B2 = null;
18824
18815
  h2 || (m2 = this._beginCommit({ description: "Auto Fill", operation: { name: "autoFill", params: [t2, n2, r2] } }));
18825
- const B2 = this._cellIterator({ bounds: h2 ? y2 : t2, reverse: !N2, orientation: i2 ? e.Orientation.Column : e.Orientation.Row, includeRangeTypes: { [Lh.Type.Style]: false } });
18826
- let z2 = B2.next();
18816
+ const L2 = this._cellIterator({ bounds: h2 ? y2 : t2, reverse: !N2, orientation: i2 ? e.Orientation.Column : e.Orientation.Row, includeRangeTypes: { [Bh.Type.Style]: false } });
18817
+ let z2 = L2.next();
18827
18818
  for (; !z2.done; ) {
18828
18819
  const t3 = z2.value.context, e2 = t3.getCell(), n3 = t3.getCoords();
18829
- L2?.oppositeIndex !== n3[v2] && (L2 = { oppositeIndex: n3[v2], lastIndex: N2 ? R2 - 1 : A2 + 1, values: [] }, D2.push(L2));
18820
+ B2?.oppositeIndex !== n3[v2] && (B2 = { oppositeIndex: n3[v2], lastIndex: N2 ? R2 - 1 : A2 + 1, values: [] }, D2.push(B2));
18830
18821
  const r3 = n3[b2];
18831
- if (N2) for (let t4 = L2.lastIndex + 1; t4 < r3; t4++) L2.values.push(null);
18832
- else for (let t4 = L2.lastIndex - 1; t4 > r3; t4--) L2.values.push(null);
18833
- L2.lastIndex = r3;
18822
+ if (N2) for (let t4 = B2.lastIndex + 1; t4 < r3; t4++) B2.values.push(null);
18823
+ else for (let t4 = B2.lastIndex - 1; t4 > r3; t4--) B2.values.push(null);
18824
+ B2.lastIndex = r3;
18834
18825
  const o3 = e2.toDate();
18835
- if (o3) L2.values.push(o3);
18826
+ if (o3) B2.values.push(o3);
18836
18827
  else {
18837
18828
  let t4 = e2.getValue();
18838
- L2.values.push(t4);
18829
+ B2.values.push(t4);
18839
18830
  }
18840
- z2 = B2.next();
18831
+ z2 = L2.next();
18841
18832
  }
18842
18833
  const P2 = D2.length;
18843
18834
  for (let t3 = 0; t3 < P2; t3++) {
18844
18835
  const e2 = D2[t3].values;
18845
18836
  for (let t4 = e2.length; t4 < I2; t4++) e2.push(null);
18846
18837
  }
18847
- const W2 = (t3, e2) => {
18838
+ const H2 = (t3, e2) => {
18848
18839
  if (t3.canFill(e2[0], [])) {
18849
18840
  const n3 = t3.createFillAt(e2, g2);
18850
18841
  if (n3) return n3;
18851
18842
  }
18852
- return Hs.Types.Copy.createFillAt(e2);
18853
- }, H2 = this;
18843
+ return Ws.Types.Copy.createFillAt(e2);
18844
+ }, W2 = this;
18854
18845
  if (h2) {
18855
18846
  const t3 = D2[D2.length - 1];
18856
18847
  if (D2[D2.length - 1]?.oppositeIndex !== O2) return null;
18857
- const n3 = W2(u2, t3.values);
18848
+ const n3 = H2(u2, t3.values);
18858
18849
  return h2((t4) => {
18859
- const r3 = H2._rangeToCoords(t4);
18850
+ const r3 = W2._rangeToCoords(t4);
18860
18851
  let s3;
18861
18852
  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 });
18862
18853
  const a3 = i2 ? s3.rowIndex : s3.colIndex, l3 = { value: n3(N2 ? a3 - R2 : R2 - a3 + I2 - 1) };
@@ -18867,7 +18858,7 @@ class aS {
18867
18858
  const V2 = this._createIncrementalUpdater({ orientation: i2 ? e.Orientation.Column : e.Orientation.Row }), $2 = D2.length;
18868
18859
  D2.sort((t3, e2) => t3.oppositeIndex - e2.oppositeIndex);
18869
18860
  for (let t3 = 0; t3 < $2; t3++) {
18870
- const e2 = t3, n3 = W2(u2, D2[e2].values), r3 = D2[e2].oppositeIndex, o3 = N2 ? I2 : I2 + k2 - 1, s3 = this.isDate1904();
18861
+ const e2 = t3, n3 = H2(u2, D2[e2].values), r3 = D2[e2].oppositeIndex, o3 = N2 ? I2 : I2 + k2 - 1, s3 = this.isDate1904();
18871
18862
  for (let t4 = 0; t4 < k2; t4++) {
18872
18863
  let e3 = n3(o3 + (N2 ? t4 : -t4));
18873
18864
  no(e3) && (e3 = co(e3, s3));
@@ -18901,19 +18892,19 @@ class aS {
18901
18892
  }
18902
18893
  this._merge(n3);
18903
18894
  }
18904
- const U2 = this._getState(), J2 = {}, q2 = {};
18905
- q2.directStyleSpatial = U2.directStyleSpatial, q2.continuousFillSpatial = U2.continuousFillSpatial;
18895
+ const U2 = this._getState(), q2 = {}, J2 = {};
18896
+ J2.directStyleSpatial = U2.directStyleSpatial, J2.continuousFillSpatial = U2.continuousFillSpatial;
18906
18897
  let K2 = t2, X2 = p2;
18907
18898
  if (!N2) {
18908
18899
  let e2 = (i2 ? _2.rowEnd + 1 - _2.rowStart : _2.colEnd + 1 - _2.colStart) % I2;
18909
18900
  const n3 = i2 ? "rowStart" : "colStart", r3 = i2 ? "rowEnd" : "colEnd";
18910
18901
  0 !== e2 && (X2 = { ...p2, [r3]: Math.min(p2[r3], p2[n3] + e2) }, K2 = { ...t2, [n3]: t2[r3] - e2 + 1 }, p2[n3] = p2[n3] + e2);
18911
18902
  }
18912
- const Y2 = Object.keys(q2), Q2 = Y2.length;
18903
+ const Y2 = Object.keys(J2), Q2 = Y2.length;
18913
18904
  for (let t3 = 0; t3 < Q2; t3++) {
18914
- const e2 = Y2[t3], n3 = q2[e2].createCopiedEntries(K2, X2), r3 = U2[e2].clone(), o3 = n3.removes, s3 = o3.length;
18905
+ const e2 = Y2[t3], n3 = J2[e2].createCopiedEntries(K2, X2), r3 = U2[e2].clone(), o3 = n3.removes, s3 = o3.length;
18915
18906
  for (let t4 = 0; t4 < s3; t4++) r3.remove(o3[t4]);
18916
- r3.load(n3.inserts), J2[e2] = r3;
18907
+ r3.load(n3.inserts), q2[e2] = r3;
18917
18908
  }
18918
18909
  if (N2) {
18919
18910
  const e2 = this.getTables().getItems({ address: { rowIndex: t2.rowEnd, colIndex: t2.colEnd } });
@@ -18923,7 +18914,7 @@ class aS {
18923
18914
  }
18924
18915
  }
18925
18916
  const Z2 = U2.calcGraph.clone();
18926
- Z2.autoFill(t2, p2), J2.calcGraph = Z2, this._updateState(J2), f2 = { ...a2, ranges: l2 }, m2.commit({ viewBefore: { view: this.getView(), selection: bm([t2]), selectOptions: r2?.autoSelect }, viewAfter: { view: this.getView(), selection: f2, selectOptions: r2?.autoSelect } }), this._autoSelect(r2?.autoSelect ?? false, f2);
18917
+ Z2.autoFill(t2, p2), q2.calcGraph = Z2, this._updateState(q2), f2 = { ...a2, ranges: l2 }, m2.commit({ viewBefore: { view: this.getView(), selection: bm([t2]), selectOptions: r2?.autoSelect }, viewAfter: { view: this.getView(), selection: f2, selectOptions: r2?.autoSelect } }), this._autoSelect(r2?.autoSelect ?? false, f2);
18927
18918
  } catch (t3) {
18928
18919
  throw m2?.rollback(), t3;
18929
18920
  }
@@ -18993,7 +18984,7 @@ class aS {
18993
18984
  if (e2) {
18994
18985
  const n3 = [], s2 = e2.length;
18995
18986
  for (let t3 = 0; t3 < s2; t3++) {
18996
- const s3 = e2[t3], i2 = c.sanitizeRange(s3), a2 = new L_(i2, s3.value.tokens, s3.value.references);
18987
+ const s3 = e2[t3], i2 = c.sanitizeRange(s3), a2 = new B_(i2, s3.value.tokens, s3.value.references);
18997
18988
  if (n3.push({ colStart: i2.colStart, rowStart: i2.rowStart, colEnd: i2.colEnd, rowEnd: i2.rowEnd, value: a2 }), !r2) continue;
18998
18989
  const l2 = s3.value.precedents;
18999
18990
  let h2, d2, u2 = false;
@@ -19197,7 +19188,7 @@ class aS {
19197
19188
  const d2 = this._getMerges(t2);
19198
19189
  if (sc(t2) || d2.length > 0) {
19199
19190
  const e2 = c.unionRangesArrays(d2), n3 = c.unionRangesArrays(t2);
19200
- if (!(!e2 && !n3 || e2 && n3 && c.isRangeWithinRange(e2, n3))) throw console.warn(Jh, t2), new C(Jh);
19191
+ if (!(!e2 && !n3 || e2 && n3 && c.isRangeWithinRange(e2, n3))) throw console.warn(qh, t2), new C(qh);
19201
19192
  this._unmerge(d2);
19202
19193
  }
19203
19194
  const u2 = this._createIncrementalUpdater({ orientation: e.Orientation.Column }), g2 = [], m2 = [];
@@ -19499,9 +19490,9 @@ class aS {
19499
19490
  s3 && (_3 = true), a2.singleMerge && (g2 = false, f2 = false);
19500
19491
  const C2 = h2.colStart - d2.colStart, v3 = h2.rowStart - d2.rowStart, A2 = i2.adjustCells;
19501
19492
  let M2 = { ...Ph };
19502
- if (delete M2[Lh.Type.Style], !g2) {
19493
+ if (delete M2[Bh.Type.Style], !g2) {
19503
19494
  const t3 = this.getProtection().isLocked();
19504
- M2 = {}, t3 && (M2[Lh.Type.Unlock] = false);
19495
+ M2 = {}, t3 && (M2[Bh.Type.Unlock] = false);
19505
19496
  }
19506
19497
  const T2 = e.Orientation.Column;
19507
19498
  let N2;
@@ -19550,13 +19541,13 @@ class aS {
19550
19541
  }
19551
19542
  const F2 = n2._getState(), k2 = {}, O2 = { transpose: s3 ?? false };
19552
19543
  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);
19553
- const D2 = l2, L2 = D2._getState(), B2 = Object.keys(k2), z2 = B2.length;
19544
+ const D2 = l2, B2 = D2._getState(), L2 = Object.keys(k2), z2 = L2.length;
19554
19545
  for (let t3 = 0; t3 < z2; t3++) {
19555
- const e2 = B2[t3], n3 = k2[e2].createCopiedEntries(d2, x2, O2), r4 = L2[e2].clone(), o2 = n3.removes, s4 = o2.length;
19546
+ const e2 = L2[t3], n3 = k2[e2].createCopiedEntries(d2, x2, O2), r4 = B2[e2].clone(), o2 = n3.removes, s4 = o2.length;
19556
19547
  for (let t4 = 0; t4 < s4; t4++) r4.remove(o2[t4]);
19557
- r4.load(n3.inserts), L2[e2] = r4;
19548
+ r4.load(n3.inserts), B2[e2] = r4;
19558
19549
  }
19559
- 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: bm(b2), ranges: E2 }) });
19550
+ 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: bm(b2), ranges: E2 }) });
19560
19551
  } catch (t3) {
19561
19552
  throw console.warn(t3), R2.rollback(), new Error(((t4) => `Unable to paste: ${t4}`)(t3.message), { cause: t3 });
19562
19553
  }
@@ -19590,7 +19581,7 @@ class aS {
19590
19581
  }
19591
19582
  _createFilter(t2, e2, n2) {
19592
19583
  const r2 = this;
19593
- return new Lm({ initialAnchor: t2, maxRangeCoords: this._entireCoords, json: e2, transactions: this._transactions, deleteFromContainer: (t3) => {
19584
+ return new Bm({ initialAnchor: t2, maxRangeCoords: this._entireCoords, json: e2, transactions: this._transactions, deleteFromContainer: (t3) => {
19594
19585
  const e3 = this._beginCommit({ description: t3?.description ?? "Delete Filter" });
19595
19586
  this._updateState({ filter: null }), e3.commit();
19596
19587
  }, apply: (t3) => {
@@ -19657,7 +19648,7 @@ class aS {
19657
19648
  const o2 = this;
19658
19649
  let s2;
19659
19650
  r2 = r2 ?? ((t3, e2) => {
19660
- o2._validateCoords(t3, e2 ?? qh);
19651
+ o2._validateCoords(t3, e2 ?? Jh);
19661
19652
  }), n2 === e.Orientation.Column || n2 === e.Orientation.Row ? (s2 = n2, n2 = {}) : n2 && (s2 = n2.orientation);
19662
19653
  const i2 = n2?.description ?? "Insert Cells", a2 = (s2 ?? this._getDefaultShiftOrientation(t2[0])) === e.Orientation.Column;
19663
19654
  if (this._protectionCheck(() => [a2 ? "insertColumns" : "insertRows"], t2, i2), sc(t2)) throw new C("We can't insert cells with overlapping selections.");
@@ -19692,7 +19683,7 @@ class aS {
19692
19683
  let T2 = m2.formulaSpatial, N2 = m2.spillSpatial, F2 = m2.pendingSpatial;
19693
19684
  b2 !== m2.calcGraph && (T2 = T2.clone(), N2 = N2.clone(), F2 = F2.clone()), this._updateState({ contentfulSpatial: s3, unlockSpatial: i3, mergeSpatial: d2, directStyleSpatial: p2, continuousFillSpatial: _2, conditionalSpatial: S2, hyperlinkSpatial: w2, commentsSpatial: y2, movableSpatial: E2, tableSpatial: C2, calcGraph: b2, formulaSpatial: T2, spillSpatial: N2, pendingSpatial: F2, rangesListenerSpatial2: v2, rangeListenerSpatial: x2, rangesListenerMap: I2 }), this._commitAndAutoSelect(g2, u2, n2?.autoSelect, { viewAfter: { ranges: A2, listeners: R2 } }, a2 ? e.Orientation.Column : e.Orientation.Row);
19694
19685
  } catch (t3) {
19695
- if (g2.rollback(), t3 instanceof d) throw new C(t3.message ?? qh);
19686
+ if (g2.rollback(), t3 instanceof d) throw new C(t3.message ?? Jh);
19696
19687
  throw t3;
19697
19688
  }
19698
19689
  }
@@ -19718,7 +19709,7 @@ class aS {
19718
19709
  }
19719
19710
  this._updateState({ contentfulSpatial: o3, unlockSpatial: d2, mergeSpatial: s3, directStyleSpatial: m2, continuousFillSpatial: f2, conditionalSpatial: p2, hyperlinkSpatial: _2, commentsSpatial: S2, movableSpatial: w2, movableMapModel: y2, tableSpatial: E2, tableMapModel: C2, calcGraph: b2, rangesListenerSpatial2: v2, rangeListenerSpatial: x2, rangesListenerMap: I2 }), this._commitAndAutoSelect(u2, h2, n2?.autoSelect, { viewAfter: { ranges: A2, listeners: R2 } });
19720
19711
  } catch (t3) {
19721
- if (u2.rollback(), t3 instanceof d) throw new C(t3.message ?? qh);
19712
+ if (u2.rollback(), t3 instanceof d) throw new C(t3.message ?? Jh);
19722
19713
  throw t3;
19723
19714
  }
19724
19715
  }
@@ -19753,10 +19744,10 @@ class aS {
19753
19744
  const r3 = [];
19754
19745
  let f3 = -1, p3 = false, A3 = b2, T3 = 1, N3 = 1, F3 = 1;
19755
19746
  const D2 = R2[n3];
19756
- let L2 = D2.colStart, B2 = D2.rowStart, z2 = D2.colEnd, P2 = D2.rowEnd;
19757
- const W2 = this._getUsedCoords();
19758
- (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);
19759
- const H2 = { includeRangeTypes: { [Lh.Type.Style]: false, [Lh.Type.Merge]: false, [Lh.Type.Continuous]: false, [Lh.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) => {
19747
+ let B2 = D2.colStart, L2 = D2.rowStart, z2 = D2.colEnd, P2 = D2.rowEnd;
19748
+ const H2 = this._getUsedCoords();
19749
+ (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);
19750
+ const W2 = { includeRangeTypes: { [Bh.Type.Style]: false, [Bh.Type.Merge]: false, [Bh.Type.Continuous]: false, [Bh.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) => {
19760
19751
  if (t2 > e2) return null;
19761
19752
  const r4 = [];
19762
19753
  let o4 = t2;
@@ -19775,29 +19766,29 @@ class aS {
19775
19766
  r4.push(t3);
19776
19767
  }
19777
19768
  return r4;
19778
- }, G2 = this._rangeStateIterator(H2);
19769
+ }, G2 = this._rangeStateIterator(W2);
19779
19770
  let U2 = G2.next();
19780
19771
  for (; !U2.done; ) {
19781
19772
  const t2 = U2.value, e2 = t2.intersection, n4 = t2.start, r4 = t2.end;
19782
19773
  hS.colStart = n4.colIndex, hS.rowStart = n4.rowIndex, hS.colEnd = r4.colIndex, hS.rowEnd = r4.rowIndex;
19783
19774
  const o4 = c.intersectRanges(hS, D2, cS), s4 = Pg(0, o4, e2, v2).getBestFit();
19784
19775
  if (h2) {
19785
- 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 };
19776
+ 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 };
19786
19777
  V2.push(i4);
19787
19778
  }
19788
19779
  if (l2) {
19789
- 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 };
19780
+ 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 };
19790
19781
  $2.push(i4);
19791
19782
  }
19792
19783
  U2 = G2.next();
19793
19784
  }
19794
- const J2 = this._cellStateIterator({ ...H2, includeRangeTypes: { [Lh.Type.Merge]: false, [Lh.Type.Table]: false, [Lh.Type.Style]: false, [Lh.Type.Continuous]: false }, ignoreEmptyIntersections: true });
19795
- let q2, K2, X2, Y2 = J2.next(), Q2 = 1, Z2 = 1;
19785
+ const q2 = this._cellStateIterator({ ...W2, includeRangeTypes: { [Bh.Type.Merge]: false, [Bh.Type.Table]: false, [Bh.Type.Style]: false, [Bh.Type.Continuous]: false }, ignoreEmptyIntersections: true });
19786
+ let J2, K2, X2, Y2 = q2.next(), Q2 = 1, Z2 = 1;
19796
19787
  for (; !Y2.done; ) {
19797
19788
  const e2 = Y2.value, n4 = e2[0], l3 = e2[2];
19798
19789
  let h3 = b2;
19799
19790
  const d3 = l3?.directStyle ?? l3?.table.getStyle() ?? null;
19800
- d3 === q2 ? h3 = K2 : (h3 = d3 ? Pg(0, c.cellToRange(n4, dS), l3, v2) : b2, K2 = h3);
19791
+ d3 === J2 ? h3 = K2 : (h3 = d3 ? Pg(0, c.cellToRange(n4, dS), l3, v2) : b2, K2 = h3);
19801
19792
  let u3 = 1, g3 = 1;
19802
19793
  const m3 = l3?.merge ?? null;
19803
19794
  if (m3 === X2) u3 = Q2, g3 = Z2;
@@ -19812,8 +19803,8 @@ class aS {
19812
19803
  if (O3) {
19813
19804
  F3 = O3.getCoords().colEnd - x3 + 1;
19814
19805
  }
19815
- let L3 = false, B3 = false;
19816
- if (q2 === d3 && u3 === T3 && g3 === N3 && M3 !== t.String && M3 !== t.Error && k3 === p3 || (L3 = true, M3 === t.RichData && (B3 = true), B3 && (L3 = false)), q2 = 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;
19806
+ let B3 = false, L3 = false;
19807
+ if (J2 === d3 && u3 === T3 && g3 === N3 && M3 !== t.String && M3 !== t.Error && k3 === p3 || (B3 = true, M3 === t.RichData && (L3 = true), L3 && (B3 = false)), J2 = 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;
19817
19808
  else switch (M3) {
19818
19809
  case t.Number:
19819
19810
  0 === R3 && (i3 = true), o3 = Math.min(o3, R3), s3 = Math.max(s3, R3);
@@ -19827,7 +19818,7 @@ class aS {
19827
19818
  case t.Boolean:
19828
19819
  R3 ? S2 = true : w2 = true;
19829
19820
  }
19830
- Y2 = J2.next();
19821
+ Y2 = q2.next();
19831
19822
  }
19832
19823
  -1 !== f3 && r3.push({ col: f3, style: A3, spanWidth: T3, spanHeight: N3, 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), colSpan: F3, measureWidth: -1, measureHeight: -1, isFit: p3 });
19833
19824
  let tt2 = -1, et2 = -1;
@@ -19836,29 +19827,29 @@ class aS {
19836
19827
  const n4 = r3[e2], o4 = x2 || !n4.isFit, s4 = n4.maxVal, i4 = n4.style, a4 = n4.colSpan;
19837
19828
  let l3 = n4.colWidth;
19838
19829
  if (a4 > 1 && (l3 = this._colHeaders.getSpanSize(f3, f3 + a4)), tt2 = 0, et2 = 0, s4 !== Number.MIN_SAFE_INTEGER) {
19839
- const e3 = Wg(t.Number, i4, s4, v2, l3, g2, o4);
19830
+ const e3 = Hg(t.Number, i4, s4, v2, l3, g2, o4);
19840
19831
  tt2 = e3.width, et2 = e3.height;
19841
19832
  const r4 = n4.minVal;
19842
19833
  if (r4 * s4 < 0) {
19843
- const e4 = Wg(t.Number, i4, r4, v2, l3, g2, o4);
19834
+ const e4 = Hg(t.Number, i4, r4, v2, l3, g2, o4);
19844
19835
  tt2 = Math.max(tt2, e4.width), et2 = Math.max(et2, e4.height);
19845
19836
  }
19846
19837
  if (n4.hasZero && 0 !== r4 && 0 !== s4) {
19847
- const e4 = Wg(t.Number, i4, 0, v2, l3, g2, o4);
19838
+ const e4 = Hg(t.Number, i4, 0, v2, l3, g2, o4);
19848
19839
  tt2 = Math.max(tt2, e4.width), et2 = Math.max(et2, e4.height);
19849
19840
  }
19850
19841
  }
19851
19842
  const c2 = n4.text;
19852
19843
  if (c2.length > 0) {
19853
- const e3 = Wg(t.String, i4, c2, v2, l3, g2, o4, void 0, I2);
19844
+ const e3 = Hg(t.String, i4, c2, v2, l3, g2, o4, void 0, I2);
19854
19845
  tt2 = Math.max(tt2, e3.width), et2 = Math.max(et2, e3.height);
19855
19846
  }
19856
19847
  if (n4.hasTrue || n4.hasFalse) {
19857
- const e3 = Wg(t.Boolean, i4, !n4.hasFalse, v2, l3, g2, o4);
19848
+ const e3 = Hg(t.Boolean, i4, !n4.hasFalse, v2, l3, g2, o4);
19858
19849
  tt2 = Math.max(tt2, e3.width), et2 = Math.max(et2, e3.height);
19859
19850
  }
19860
19851
  if (n4.hasEmpty) {
19861
- const e3 = Wg(t.Boolean, i4, null, v2, l3, g2, o4);
19852
+ const e3 = Hg(t.Boolean, i4, null, v2, l3, g2, o4);
19862
19853
  tt2 = Math.max(tt2, e3.width), et2 = Math.max(et2, e3.height);
19863
19854
  }
19864
19855
  n4.measureWidth = tt2, n4.measureHeight = et2;
@@ -20072,7 +20063,7 @@ class aS {
20072
20063
  for (let e3 = 0; e3 < w2; e3++) {
20073
20064
  const r3 = { ...t2[e3] };
20074
20065
  _2[e3] = r3;
20075
- const s3 = o.uuidV4(), i3 = new B_(a2, s3, n2?.ignoreAddressChanges ?? false);
20066
+ const s3 = o.uuidV4(), i3 = new L_(a2, s3, n2?.ignoreAddressChanges ?? false);
20076
20067
  S2.push(s3);
20077
20068
  const l3 = { ...c.sanitizeRange(r3), value: i3 };
20078
20069
  p2.push(l3);
@@ -20107,7 +20098,7 @@ class aS {
20107
20098
  let s2, i2, a2 = false;
20108
20099
  for (let t3 = 0; t3 < o2; t3++) {
20109
20100
  const n3 = e2[t3];
20110
- n3 === sd.Content.Values ? r2[Lh.Type.Contentful] = false : n3 === sd.Content.Formulas ? r2[Lh.Type.Formula] = false : n3 === sd.Content.Formats ? r2[Lh.Type.Style] = false : n3 === sd.Content.Tables && (r2[Lh.Type.Table] = false, a2 = true);
20101
+ n3 === sd.Content.Values ? r2[Bh.Type.Contentful] = false : n3 === sd.Content.Formulas ? r2[Bh.Type.Formula] = false : n3 === sd.Content.Formats ? r2[Bh.Type.Style] = false : n3 === sd.Content.Tables && (r2[Bh.Type.Table] = false, a2 = true);
20111
20102
  }
20112
20103
  const l2 = () => {
20113
20104
  s2 = /* @__PURE__ */ new Set(), i2 = {};
@@ -20710,7 +20701,7 @@ class aS {
20710
20701
  const s2 = [t2];
20711
20702
  for (let e3 = 0; e3 < t2; e3++) s2.push(e3);
20712
20703
  e2 && console.profileEnd("nativeArray"), window.noLoseArray = s2, o2 = performance.now(), console.log(`NativeArray: ${t2} records in ${o2 - r2} milliseconds`), r2 = performance.now(), e2 && console.profile("mixedType");
20713
- const i2 = Wl.fromArray(n2);
20704
+ const i2 = Hl.fromArray(n2);
20714
20705
  e2 && console.profileEnd("mixedType"), window.noLoseList = i2, o2 = performance.now(), console.log(`MixedTypedList: ${t2} records in ${o2 - r2} milliseconds`);
20715
20706
  }
20716
20707
  _validateOrRemoveOverlaps(t2, e2, n2 = null, r2 = false) {
@@ -21023,7 +21014,7 @@ class aS {
21023
21014
  };
21024
21015
  this._transactionsRemoveListener = this._transactions.addStateListener(this, { onBeforeCommitStart(e2, n3, r3) {
21025
21016
  if (!t2._initializing && !n3?.skipProtectionCheck) {
21026
- if (t2.getProtection().isLocked()) throw new C(Hh);
21017
+ if (t2.getProtection().isLocked()) throw new C(Wh);
21027
21018
  }
21028
21019
  }, async onBeforeCommitEnd(e2, n3, r3) {
21029
21020
  if (n3?.ranges) {
@@ -21637,25 +21628,25 @@ class aS {
21637
21628
  }
21638
21629
  k2.load(t2);
21639
21630
  }
21640
- const O2 = m2.tableMapModel, D2 = m2.tableMapName, L2 = m2.tableSpatial, B2 = s2.tables;
21641
- if (B2) {
21642
- const t2 = [], e2 = B2.length;
21631
+ const O2 = m2.tableMapModel, D2 = m2.tableMapName, B2 = m2.tableSpatial, L2 = s2.tables;
21632
+ if (L2) {
21633
+ const t2 = [], e2 = L2.length;
21643
21634
  for (let n3 = 0; n3 < e2; n3++) {
21644
- const e3 = B2[n3], r3 = this._createTableEntry(e3), o2 = r3.value.model;
21635
+ const e3 = L2[n3], r3 = this._createTableEntry(e3), o2 = r3.value.model;
21645
21636
  O2.set(o2, r3), D2.set(r3.value.currentName, o2), t2.push(r3);
21646
21637
  }
21647
- L2.load(t2);
21638
+ B2.load(t2);
21648
21639
  }
21649
- const z2 = m2.conditionalSpatial, P2 = m2.conditionalModels, W2 = s2.conditionals;
21650
- if (W2) {
21651
- const t2 = W2.length;
21640
+ const z2 = m2.conditionalSpatial, P2 = m2.conditionalModels, H2 = s2.conditionals;
21641
+ if (H2) {
21642
+ const t2 = H2.length;
21652
21643
  for (let e2 = 0; e2 < t2; e2++) {
21653
- const t3 = W2[e2];
21644
+ const t3 = H2[e2];
21654
21645
  this._createConditionalEntries(t3, z2, P2);
21655
21646
  }
21656
21647
  }
21657
- const H2 = m2.calcGraph, V2 = H2.fromJSON({ formulas: s2.formulas, data: y2, dynamic: s2.dynamicArray, volatile: s2.volatile });
21658
- m2 = this._updateState({ hyperlinkSpatial: A2, commentsSpatial: T2, movableSpatial: k2, movableMapModel: F2, tableSpatial: L2, tableMapModel: O2, tableMapName: D2, conditionalSpatial: z2, conditionalModels: P2, calcGraph: H2 });
21648
+ const W2 = m2.calcGraph, V2 = W2.fromJSON({ formulas: s2.formulas, data: y2, dynamic: s2.dynamicArray, volatile: s2.volatile });
21649
+ m2 = this._updateState({ hyperlinkSpatial: A2, commentsSpatial: T2, movableSpatial: k2, movableMapModel: F2, tableSpatial: B2, tableMapModel: O2, tableMapName: D2, conditionalSpatial: z2, conditionalModels: P2, calcGraph: W2 });
21659
21650
  const $2 = this._getUsedCoords();
21660
21651
  $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");
21661
21652
  } finally {
@@ -21664,7 +21655,7 @@ class aS {
21664
21655
  this._initializing = false;
21665
21656
  }
21666
21657
  getName() {
21667
- return this._closed ? Lc : this._options.container?.getName?.() ?? null;
21658
+ return this._closed ? Bc : this._options.container?.getName?.() ?? null;
21668
21659
  }
21669
21660
  setName(t2) {
21670
21661
  if (this._closed) throw new Error(Yh);
@@ -22113,7 +22104,7 @@ class kS {
22113
22104
  }
22114
22105
  }
22115
22106
  const OS = Object.freeze({ lockStructure: false, lockWindows: false, lockRevision: false, workbookPassword: null, revisionsPassword: null });
22116
- class DS extends q_ {
22107
+ class DS extends J_ {
22117
22108
  isWindowsAllowed() {
22118
22109
  return this._isPropertyAllowed("windows");
22119
22110
  }
@@ -22139,7 +22130,7 @@ class DS extends q_ {
22139
22130
  return super._toJSON(t2);
22140
22131
  }
22141
22132
  }
22142
- const LS = (t2) => `Invalid SheetKey: ${t2}`, BS = "A workbook must contain at least one visible worksheet.", zS = "Internal error no visible sheetRefs", PS = "Workbook has been closed. No further operations are allowed.", WS = "This workbook structure is protected. To make a change, unprotect the workbook. You might be requested to enter a password.", HS = "A sheet name", VS = `${HS} can not be blank.`, $S = `${HS} can not be longer than 31 characters.`, jS = `${HS} can not begin or end with a "'" (single quote).`;
22133
+ const BS = (t2) => `Invalid SheetKey: ${t2}`, LS = "A workbook must contain at least one visible worksheet.", zS = "Internal error no visible sheetRefs", PS = "Workbook has been closed. No further operations are allowed.", HS = "This workbook structure is protected. To make a change, unprotect the workbook. You might be requested to enter a password.", WS = "A sheet name", VS = `${WS} can not be blank.`, $S = `${WS} can not be longer than 31 characters.`, jS = `${WS} can not begin or end with a "'" (single quote).`;
22143
22134
  class GS {
22144
22135
  constructor(t2, e2) {
22145
22136
  this._add = t2, this._get = e2;
@@ -22157,10 +22148,10 @@ class GS {
22157
22148
  return this._get().length;
22158
22149
  }
22159
22150
  }
22160
- const US = new RegExp(/[\\/\\*?:[\]]+/), JS = new RegExp(/\(((\d+)(?!.*\d))\)$/, "g"), qS = (t2) => `Sheet${t2 + 1}`, KS = (t2, e2) => ({ ...im, getSheet: () => null, toString: () => Zc(t2, e2) }), XS = (t2, e2 = false) => {
22151
+ const US = new RegExp(/[\\/\\*?:[\]]+/), qS = new RegExp(/\(((\d+)(?!.*\d))\)$/, "g"), JS = (t2) => `Sheet${t2 + 1}`, KS = (t2, e2) => ({ ...im, getSheet: () => null, toString: () => Zc(t2, e2) }), XS = (t2, e2 = false) => {
22161
22152
  if (!t2) throw new Error(VS);
22162
22153
  if (US.test(t2)) {
22163
- if (!e2) throw new Error(((t3) => `${t3 ? `'${t3}'` : HS} can not contain any of the following characters '\\ , / , * , ? , : , [ , ]'.`)(t2));
22154
+ if (!e2) throw new Error(((t3) => `${t3 ? `'${t3}'` : WS} can not contain any of the following characters '\\ , / , * , ? , : , [ , ]'.`)(t2));
22164
22155
  t2 = t2.replace(US, "");
22165
22156
  }
22166
22157
  if (0 === t2.length) throw new Error(VS);
@@ -22190,7 +22181,7 @@ class YS extends Y_ {
22190
22181
  const n2 = t2 ? { ...t2 } : null;
22191
22182
  if (!(n2 ? this._workbook._getSheetRef(n2.sheetName, $p.Visibility.VeryHidden) : null)) {
22192
22183
  const t3 = this._workbook.getSelectedSheet();
22193
- return delete n2?.sheetName, KS(n2, n2 ? { sheetName: Lc, ...t3.getEntireRange().getCoords() } : null);
22184
+ return delete n2?.sheetName, KS(n2, n2 ? { sheetName: Bc, ...t3.getEntireRange().getCoords() } : null);
22194
22185
  }
22195
22186
  let r2 = this._options;
22196
22187
  return e2 && (r2 = { ...this._options, getOptions: _m(this._options.getOptions, e2) }), new QS(t2, this._sheet, this._workbook, r2);
@@ -22220,7 +22211,7 @@ class YS extends Y_ {
22220
22211
  }
22221
22212
  toString() {
22222
22213
  const t2 = this.getCoords(), e2 = this._sheet, n2 = e2.getEntireRange().getCoords(), r2 = { sheetName: e2.getName(), ...n2 };
22223
- return oh(t2, r2, Zc, Jc);
22214
+ return oh(t2, r2, Zc, qc);
22224
22215
  }
22225
22216
  }
22226
22217
  class QS extends Q_ {
@@ -22259,7 +22250,7 @@ class ZS {
22259
22250
  delete n2.json, this._transactions = n2.transactions ?? new O(), this._ownTransactions = !n2.transactions, this._emitter = new oa(this, this._transactions);
22260
22251
  const o2 = this._beginCommit({ description: (r2 ? "Open" : "New") + " Workbook" });
22261
22252
  try {
22262
- this._strings = n2.strings ?? new af(), this._ownStrings = !n2.strings, this._resources = n2.resources ?? new of(), this._ownResources = !n2.resources, this._createSheetName = n2.createSheetNameCallback ?? qS;
22253
+ this._strings = n2.strings ?? new af(), this._ownStrings = !n2.strings, this._resources = n2.resources ?? new of(), this._ownResources = !n2.resources, this._createSheetName = n2.createSheetNameCallback ?? JS;
22263
22254
  let t3 = n2.createSheetCallback;
22264
22255
  t3 || (t3 = (t4) => new aS(t4)), this._sheetOnNameChange = /* @__PURE__ */ new Map(), this._sheetOnVisibilityChange = /* @__PURE__ */ new Map(), this._sheetOnIndexChange = /* @__PURE__ */ new Map(), this._createSheet = (n3, r3, o3, s3, i2) => {
22265
22256
  let a2 = null;
@@ -22451,7 +22442,7 @@ class ZS {
22451
22442
  if (e2(t3)) return t3;
22452
22443
  } catch (t4) {
22453
22444
  }
22454
- let n2, r2, o2 = JS.exec(t3);
22445
+ let n2, r2, o2 = qS.exec(t3);
22455
22446
  for (null !== o2 ? (n2 = t3.substring(0, o2.index), r2 = parseFloat(o2[1])) : (n2 = t3 + " ", r2 = 1); r2 < 256; ) {
22456
22447
  r2++;
22457
22448
  const t4 = "(" + r2 + ")", o3 = n2.substring(0, 31 - t4.length) + t4;
@@ -22471,7 +22462,7 @@ class ZS {
22471
22462
  }
22472
22463
  _addSheetOptions(t2) {
22473
22464
  if (this._closed) throw new Error(PS);
22474
- if (!this.getProtection().isStructureAllowed()) throw new C(WS);
22465
+ if (!this.getProtection().isStructureAllowed()) throw new C(HS);
22475
22466
  let e2, n2 = null;
22476
22467
  e2 = "string" == typeof t2 ? { name: t2 } : "number" == typeof t2 ? { index: t2 } : t2, e2 = { ...e2, description: e2?.description ?? "Add Sheet" };
22477
22468
  const r2 = this.beginCommit(e2);
@@ -22513,7 +22504,7 @@ class ZS {
22513
22504
  }
22514
22505
  _updateSheetRefStates(t2) {
22515
22506
  if (this._closed) throw new Error(PS);
22516
- if (!this._initializing && !this.getProtection().isStructureAllowed()) throw new C(WS);
22507
+ if (!this._initializing && !this.getProtection().isStructureAllowed()) throw new C(HS);
22517
22508
  const e2 = t2, n2 = [], r2 = [], o2 = e2.length;
22518
22509
  for (let t3 = 0; t3 < o2; t3++) e2[t3].visibility === $p.Visibility.Visible ? (n2.push(e2[t3]), r2.push(e2[t3])) : e2[t3].visibility === $p.Visibility.Hidden && r2.push(e2[t3]);
22519
22510
  this._updateState({ sheetRefsAll: e2, sheetRefsVisible: n2, sheetRefsVisibleAndHidden: r2 });
@@ -22591,11 +22582,11 @@ class ZS {
22591
22582
  }
22592
22583
  _validateDeleteSheet(t2) {
22593
22584
  if (this._closed) throw new Error(PS);
22594
- if (!this.getProtection().isStructureAllowed()) throw new C(WS);
22585
+ if (!this.getProtection().isStructureAllowed()) throw new C(HS);
22595
22586
  let e2 = this._getSheetRef(t2);
22596
22587
  if (!e2) throw new C(((t3) => `Invalid reference for delete: ${t3}`)(t2));
22597
22588
  const n2 = this._getState().sheetRefsVisible;
22598
- if (1 === n2.length && n2[0].id === e2.id) throw new C(BS);
22589
+ if (1 === n2.length && n2[0].id === e2.id) throw new C(LS);
22599
22590
  }
22600
22591
  _findOffsetForId(t2, e2) {
22601
22592
  const n2 = e2.length;
@@ -22679,11 +22670,11 @@ class ZS {
22679
22670
  }
22680
22671
  async _duplicateSheet(t2) {
22681
22672
  if (this._closed) throw new Error(PS);
22682
- if (!this.getProtection().isStructureAllowed()) throw new C(WS);
22673
+ if (!this.getProtection().isStructureAllowed()) throw new C(HS);
22683
22674
  const e2 = this._getSheetRefs(), n2 = this.getSelectedSheetIndex();
22684
22675
  let r2 = null;
22685
22676
  if (t2) {
22686
- if (r2 = this._getSheetRef(t2), !r2) throw new C(LS(r2));
22677
+ if (r2 = this._getSheetRef(t2), !r2) throw new C(BS(r2));
22687
22678
  } else r2 = e2[n2];
22688
22679
  if (!r2) return null;
22689
22680
  const o2 = r2.sheet, s2 = this._strings.beginPersist(), i2 = this.getResources().beginPersist(), a2 = this.getStyles().beginPersist();
@@ -22703,7 +22694,7 @@ class ZS {
22703
22694
  const n2 = t2 ? { ...t2 } : null;
22704
22695
  if (!(n2 ? this._getSheetRef(n2.sheetName, $p.Visibility.VeryHidden) : null)) {
22705
22696
  const t3 = this.getSelectedSheet();
22706
- return t3 ? (delete n2?.sheetName, KS(n2, n2 ? { sheetName: Lc, ...t3.getEntireRange().getCoords() } : null)) : void console.warn(zS);
22697
+ return t3 ? (delete n2?.sheetName, KS(n2, n2 ? { sheetName: Bc, ...t3.getEntireRange().getCoords() } : null)) : void console.warn(zS);
22707
22698
  }
22708
22699
  const r2 = this.getSelectedSheet();
22709
22700
  let o2 = null;
@@ -22786,9 +22777,9 @@ class ZS {
22786
22777
  }
22787
22778
  _setSheetName(t2, e2) {
22788
22779
  if (this._closed) throw new Error(PS);
22789
- if (!this.getProtection().isStructureAllowed()) throw new C(WS);
22780
+ if (!this.getProtection().isStructureAllowed()) throw new C(HS);
22790
22781
  const n2 = this._getSheetRef(t2);
22791
- if (!n2) throw new C(LS(t2));
22782
+ if (!n2) throw new C(BS(t2));
22792
22783
  if (e2 === n2.name) return n2.sheet;
22793
22784
  e2 = this._validateNewSheetName(e2);
22794
22785
  const r2 = Object.freeze({ ...n2, name: e2 });
@@ -22806,7 +22797,7 @@ class ZS {
22806
22797
  }
22807
22798
  _setSheetVisibility(t2, e2 = $p.Visibility.Visible) {
22808
22799
  if (this._closed) throw new Error(PS);
22809
- if (!this.getProtection().isStructureAllowed()) throw new C(WS);
22800
+ if (!this.getProtection().isStructureAllowed()) throw new C(HS);
22810
22801
  const n2 = this._getSheetRef(t2, $p.Visibility.VeryHidden);
22811
22802
  if (!n2) return null;
22812
22803
  if (e2 === n2.visibility) return;
@@ -22815,7 +22806,7 @@ class ZS {
22815
22806
  const s2 = this.beginCommit(o2);
22816
22807
  try {
22817
22808
  const t3 = this._getState().sheetRefsVisible;
22818
- if (e2 !== $p.Visibility.Visible && 1 === t3.length && t3[0].id === n2.id) throw new C(BS);
22809
+ if (e2 !== $p.Visibility.Visible && 1 === t3.length && t3[0].id === n2.id) throw new C(LS);
22819
22810
  const o3 = { ...n2, visibility: e2 };
22820
22811
  let i2 = -1;
22821
22812
  e2 !== $p.Visibility.Visible && (i2 = this._findOffsetForId(n2.id, t3));
@@ -22830,7 +22821,7 @@ class ZS {
22830
22821
  }
22831
22822
  _moveSheet(t2, e2) {
22832
22823
  if (this._closed) throw new Error(PS);
22833
- if (!this.getProtection().isStructureAllowed()) throw new C(WS);
22824
+ if (!this.getProtection().isStructureAllowed()) throw new C(HS);
22834
22825
  let n2 = null;
22835
22826
  const r2 = this.beginCommit(`Move Sheet '${t2.name}'`);
22836
22827
  try {
@@ -22851,7 +22842,7 @@ class ZS {
22851
22842
  _setSelectedSheet(t2) {
22852
22843
  if (this._closed) throw new Error(PS);
22853
22844
  const e2 = this._getSheetRef(t2);
22854
- if (!e2) throw new C(LS(t2));
22845
+ if (!e2) throw new C(BS(t2));
22855
22846
  let n2 = null;
22856
22847
  return e2.visibility !== $p.Visibility.Visible && this._setSheetVisibility(e2, $p.Visibility.Visible), this._view.setActiveSheetId(e2.id), n2 = e2.sheet, n2;
22857
22848
  }
@@ -22895,7 +22886,7 @@ class ZS {
22895
22886
  };
22896
22887
  }
22897
22888
  _fromJSON(t2) {
22898
- if (this._emitter.notify("onBeforeLoad", { params: t2 }), this._initState(), !t2.sheets || 0 === t2.sheets.length) throw new C(BS);
22889
+ if (this._emitter.notify("onBeforeLoad", { params: t2 }), this._initState(), !t2.sheets || 0 === t2.sheets.length) throw new C(LS);
22899
22890
  t2.theme && (this._theme = new Yi(t2.theme), this._styles.setTheme(this._theme));
22900
22891
  const e2 = this._strings.beginPersist(), n2 = this._resources.beginPersist(), r2 = this._styles.beginPersist();
22901
22892
  try {
@@ -23030,7 +23021,7 @@ class ZS {
23030
23021
  const tw = { address: null, scope: null };
23031
23022
  export {
23032
23023
  Rm as AddressUtils,
23033
- Hs as AutoFill,
23024
+ Ws as AutoFill,
23034
23025
  xp as Calculation,
23035
23026
  si as Color,
23036
23027
  Vp as ExternalRangeClipboardItem,
@@ -23060,10 +23051,10 @@ export {
23060
23051
  Ro as ITextFrame,
23061
23052
  Ti as ITheme,
23062
23053
  Ni as IThemeCollection,
23063
- dt as LicenseManager,
23054
+ ct as LicenseManager,
23064
23055
  vi as NumberFormat,
23065
23056
  hf as Picture,
23066
- Hp as RangeClipboardItem,
23057
+ Wp as RangeClipboardItem,
23067
23058
  nf as Resource,
23068
23059
  of as ResourceCollection,
23069
23060
  aS as Sheet,
@@ -23073,7 +23064,7 @@ export {
23073
23064
  Zm as StyleCollection,
23074
23065
  mp as T,
23075
23066
  $m as Table,
23076
- Jo as TextUtils,
23067
+ qo as TextUtils,
23077
23068
  Yi as Theme,
23078
23069
  Zi as ThemeCollection,
23079
23070
  O as TransactionStore,
@@ -23089,6 +23080,6 @@ export {
23089
23080
  Sc as f,
23090
23081
  Ac as g,
23091
23082
  Rc as m,
23092
- Hc as r,
23083
+ Wc as r,
23093
23084
  wc as t
23094
23085
  };