@sheetxl/sdk 0.7.18 → 0.7.19

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/{DIye4N5BqikuUrqW.cjs → 5Ec7uqe_KzqaHYUn.cjs} +1 -1
  2. package/browser/cjs/{BlACsFWxH2bn0vGS.cjs → 9eLW8qnyDnIczGNg.cjs} +1 -1
  3. package/browser/cjs/{CPnvjVbtWDrMHnVp.cjs → 9falDGOhQd1uqt7E.cjs} +1 -1
  4. package/browser/cjs/{BzCNjJop_8cj4BIB.cjs → B-dxb9qiwpGDukV1.cjs} +1 -1
  5. package/browser/cjs/{Bv6e5w1XVj_jN-80.cjs → BFHcO95DPI5PXeNW.cjs} +1 -1
  6. package/browser/cjs/{Bq6Zm7vwFPsApjT5.cjs → BV2mVZVmmoeCEsow.cjs} +1 -1
  7. package/browser/cjs/{Dk_raaxnKnVYaHd7.cjs → BiwYy7jsLimHBJtb.cjs} +1 -1
  8. package/browser/cjs/{DTzA3L6KzutJ0CbY.cjs → C0BGV_db6RPmpTn6.cjs} +1 -1
  9. package/browser/cjs/{xcuC5xgcUcatsh4E.cjs → CJQxCfdVcdoEkk5J.cjs} +1 -1
  10. package/browser/cjs/{QbVnUM46A8SB45k2.cjs → CJqmqCC82qly_N9O.cjs} +1 -1
  11. package/browser/cjs/{X37GrEENAlW0Qox3.cjs → COFIhECWXKH2vKQh.cjs} +3 -3
  12. package/browser/cjs/{BEh6d5Q8uH2QcOR5.cjs → CQuMp0DaPHLylzzs.cjs} +1 -1
  13. package/browser/cjs/{DX26zq_h6hmXFJVW.cjs → CVUsSNwxfYFGzFmq.cjs} +1 -1
  14. package/browser/cjs/{qYG4rnu3uxXHcfGV.cjs → Cuxtf2wvDMMrF6jZ.cjs} +1 -1
  15. package/browser/cjs/{CDJMoY-OmzOxwZKp.cjs → D9upaBte_0A9NsBE.cjs} +1 -1
  16. package/browser/cjs/{g3AcDhTMwqygk1IV.cjs → DCdIYRDWVYKQUtSr.cjs} +2 -2
  17. package/browser/cjs/{DpIYBI4O-Xj4hjvh.cjs → DHHpCsWylq2ilkNg.cjs} +1 -1
  18. package/browser/cjs/{D9q__GBTtg6U-DjT.cjs → DMXmAnbKdyBh5HJe.cjs} +1 -1
  19. package/browser/cjs/{CqVw8m0gLJvjj5O8.cjs → DODJ56uKXuMHBqUD.cjs} +1 -1
  20. package/browser/cjs/{CCfRS9bSenD7fkfc.cjs → Da5aRgCxp8hX6730.cjs} +1 -1
  21. package/browser/cjs/De3jUs80wQIeNdtk.cjs +55 -0
  22. package/browser/cjs/{VusdQS1kFDRo5fAC.cjs → DtmfArGNC0VE8BfY.cjs} +1 -1
  23. package/browser/cjs/{VNCsLiN_k-qg4LBm.cjs → DxlrlBRIcBoXAO_Q.cjs} +1 -1
  24. package/browser/cjs/{BWUPqYD6exxbYbYX.cjs → DzGSQzHR7LuZVCHk.cjs} +2 -2
  25. package/browser/cjs/{DX5BhPPVmacn6em6.cjs → XVXCDepnSGD3-r2I.cjs} +1 -1
  26. package/browser/cjs/{D6GXbdIfAgb90zFg.cjs → cajx4-BtrcsHmwLQ.cjs} +1 -1
  27. package/browser/cjs/{CEPvnP1qxucXEkTm.cjs → exZZohur71emWSB8.cjs} +1 -1
  28. package/browser/cjs/index.cjs +2 -2
  29. package/browser/esm/{DUs0xHGEPdrOeFuR.mjs → 4OnzR9YwWqxWCbLx.mjs} +1 -1
  30. package/{node/esm/CPYTgIoo0dalPN8U.mjs → browser/esm/5aCbF-pPxIWT9fPD.mjs} +1 -1
  31. package/browser/esm/{Duw_adOlvhxXXY0r.mjs → 7B6Obu_Ya-gQ10dC.mjs} +1 -1
  32. package/{node/esm/CFKkK-BxwJI0N3-d.mjs → browser/esm/AuP5ZjL5xNhx38LV.mjs} +1 -1
  33. package/{node/esm/DTGgzW6voEeEBi7m.mjs → browser/esm/B1Owkps-kCSGNo71.mjs} +1 -1
  34. package/{node/esm/DKnfNZAqS_Hl-FZg.mjs → browser/esm/BLiMgJqZVen3oPi3.mjs} +1 -1
  35. package/browser/esm/{BkeUxvKotX6-gUPt.mjs → BT3Pkk0D24yI07K3.mjs} +1 -1
  36. package/browser/esm/{CnJrv00wG4BRe9p4.mjs → BW9ehwNOKmjebpua.mjs} +1 -1
  37. package/{node/esm/kAoNb4jYhGS7YLnn.mjs → browser/esm/BcXrVnCDoObUaQ86.mjs} +1 -1
  38. package/browser/esm/{BWz-EqOB00nMCMu1.mjs → Behw0s4Vl9hYzSQn.mjs} +1 -1
  39. package/browser/esm/{BUKwYevbtFUTFvEk.mjs → Bla4Tm-f1RgXR6Xt.mjs} +2 -2
  40. package/browser/esm/{CjuUnGzdICLoX5Wq.mjs → Bxay6ecg3uP5lNgt.mjs} +4479 -4486
  41. package/browser/esm/{BWdIXJQZ9gGQHZcG.mjs → Cbe5R2so2CiFfqM5.mjs} +1 -1
  42. package/browser/esm/{Ey-MKNGUUZGBAeog.mjs → CgIV4RmEXKz1vO-c.mjs} +2 -2
  43. package/{node/esm/B5LhSErbDacN0vzJ.mjs → browser/esm/D-HGwDEmxhcjKRh9.mjs} +1 -1
  44. package/browser/esm/{SV73RYu81mTiVaLH.mjs → DCKJEq_tqYmgRj1v.mjs} +3 -3
  45. package/browser/esm/{DnTvw54xOdft1kbE.mjs → DLPNARxxIWtrQUxW.mjs} +1 -1
  46. package/browser/esm/{BjjQrZDNavK9Xd5U.mjs → DgwfnwqUoUFH_y7j.mjs} +1 -1
  47. package/{node/esm/DhDtmBknuqzJeq7y.mjs → browser/esm/Dwkp_uj3FyE2W4ql.mjs} +1 -1
  48. package/browser/esm/{CPKA7xorDhsQoRnm.mjs → EX90VzZjHii6-74z.mjs} +1 -1
  49. package/browser/esm/{DMNxe1ARPmW1bmju.mjs → GnFUK3ZiX7CfU_rY.mjs} +1 -1
  50. package/browser/esm/{BGnTNoh2YPKUYDeq.mjs → GtI6yffY8DXIptU5.mjs} +1 -1
  51. package/browser/esm/{BQZ9WWeIH98WA4gO.mjs → WdshuHfK_r13CmXu.mjs} +1 -1
  52. package/browser/esm/{CIsqxbxO3wGJSzeZ.mjs → _XKsIuqSGLSVkhUJ.mjs} +1 -1
  53. package/browser/esm/index.mjs +2 -2
  54. package/{node/esm/CiSrzIQR345S85Xb.mjs → browser/esm/qTvKaICzD2TRbmKO.mjs} +1 -1
  55. package/{node/esm/1pZk-mU-oK2TFnIp.mjs → browser/esm/qz2XX5Zz1o0vswQF.mjs} +1 -1
  56. package/browser/esm/{B6Tf7OHoZzcRj-hn.mjs → wRnJv89npiCcfS74.mjs} +1 -1
  57. package/node/esm/{CbXYLHuy7YQcWajS.mjs → 18-IgFR3zjp3E9CY.mjs} +1 -1
  58. package/node/esm/{DUs0xHGEPdrOeFuR.mjs → 4OnzR9YwWqxWCbLx.mjs} +1 -1
  59. package/{browser/esm/CPYTgIoo0dalPN8U.mjs → node/esm/5aCbF-pPxIWT9fPD.mjs} +1 -1
  60. package/node/esm/{Duw_adOlvhxXXY0r.mjs → 7B6Obu_Ya-gQ10dC.mjs} +1 -1
  61. package/{browser/esm/CFKkK-BxwJI0N3-d.mjs → node/esm/AuP5ZjL5xNhx38LV.mjs} +1 -1
  62. package/{browser/esm/DTGgzW6voEeEBi7m.mjs → node/esm/B1Owkps-kCSGNo71.mjs} +1 -1
  63. package/node/esm/{BfC6R8KAhwVOYY4Q.mjs → B5ltFB1YT5B2r9RK.mjs} +1 -1
  64. package/{browser/esm/DKnfNZAqS_Hl-FZg.mjs → node/esm/BLiMgJqZVen3oPi3.mjs} +1 -1
  65. package/node/esm/{CnJrv00wG4BRe9p4.mjs → BW9ehwNOKmjebpua.mjs} +1 -1
  66. package/{browser/esm/kAoNb4jYhGS7YLnn.mjs → node/esm/BcXrVnCDoObUaQ86.mjs} +1 -1
  67. package/node/esm/{DDzbg1oh0tJfP_hd.mjs → C9J55b2W8sv680zc.mjs} +1 -1
  68. package/node/esm/{BWdIXJQZ9gGQHZcG.mjs → Cbe5R2so2CiFfqM5.mjs} +1 -1
  69. package/node/esm/{CERm73z9jKj2EzE0.mjs → Cu2RC8MhdPYMbQdD.mjs} +1 -1
  70. package/{browser/esm/B5LhSErbDacN0vzJ.mjs → node/esm/D-HGwDEmxhcjKRh9.mjs} +1 -1
  71. package/node/esm/{D2sXjIWSmrqmMwYR.mjs → D-OhdsCsmrzkSf9e.mjs} +1 -1
  72. package/node/esm/{IaLPtR8GqpJFJiH8.mjs → DMbCamPzz9vVfYdv.mjs} +1 -1
  73. package/node/esm/{Lirjxqh6GXfjlZ06.mjs → DNV4Zh8yqwrLYSkN.mjs} +1 -1
  74. package/{browser/esm/DhDtmBknuqzJeq7y.mjs → node/esm/Dwkp_uj3FyE2W4ql.mjs} +1 -1
  75. package/node/esm/{CiRpCaJbHi6MRe9K.mjs → EJE_HywvophL9XZb.mjs} +2 -2
  76. package/node/esm/{BSV6Rl3JgdYlhVjD.mjs → GIARNN3tc_0GNfFD.mjs} +1 -1
  77. package/node/esm/{DMNxe1ARPmW1bmju.mjs → GnFUK3ZiX7CfU_rY.mjs} +1 -1
  78. package/node/esm/{CIsqxbxO3wGJSzeZ.mjs → _XKsIuqSGLSVkhUJ.mjs} +1 -1
  79. package/node/esm/index.mjs +793 -791
  80. package/{browser/esm/CiSrzIQR345S85Xb.mjs → node/esm/qTvKaICzD2TRbmKO.mjs} +1 -1
  81. package/{browser/esm/1pZk-mU-oK2TFnIp.mjs → node/esm/qz2XX5Zz1o0vswQF.mjs} +1 -1
  82. package/node/esm/{B6Tf7OHoZzcRj-hn.mjs → wRnJv89npiCcfS74.mjs} +1 -1
  83. package/package.json +4 -4
  84. package/browser/cjs/wCFGKCN3WHUbYmBo.cjs +0 -55
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.18
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.19
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.
@@ -377,18 +377,18 @@ class z extends s {
377
377
  }
378
378
  const P = () => {
379
379
  try {
380
- return "0.7.18";
380
+ return "0.7.19";
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
386
  return "Thu Oct 09 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 = `
391
- https://www.sheetxl.com ${P()}`, $ = "#1976d2", j = "#FFA726", G = Object.freeze(Object.defineProperty({ __proto__: null, generateNodeId: async () => {
390
+ }, getBuildVersion: P }, Symbol.toStringTag, { value: "Module" })), W = "\n███████╗██╗ ██╗███████╗███████╗████████╗ ██╗ ██╗██╗\n██╔════╝██║ ██║██╔════╝██╔════╝╚══██╔══╝ ╚██╗██╔╝██║\n███████╗███████║█████╗ █████╗ ██║ ╚███╔╝ ██║\n╚════██║██╔══██║██╔══╝ ██╔══╝ ██║ ██╔██╗ ██║\n███████║██║ ██║███████╗███████╗ ██║ ██╔╝ ██╗███████╗\n╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝", V = `
391
+ https://www.sheetxl.com ${P()}`, j = "#1976d2", $ = "#FFA726", G = Object.freeze(Object.defineProperty({ __proto__: null, generateNodeId: async () => {
392
392
  if (!o.isNode()) return null;
393
393
  const t2 = await import(
394
394
  /* @vite-ignore */
@@ -412,10 +412,10 @@ const P = () => {
412
412
  "chalk"
413
413
  )).default;
414
414
  t3.level = 2;
415
- const e2 = t3.hex($), n2 = t3.hex(j);
416
- return console.log(e2(H) + n2(V));
415
+ const e2 = t3.hex(j), n2 = t3.hex($);
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;
@@ -425,7 +425,7 @@ const P = () => {
425
425
  "chalk"
426
426
  )).default;
427
427
  s2.level = 2;
428
- const i2 = s2.red, a2 = s2.hex($), l2 = s2.hex(j), c2 = t2.isEval();
428
+ const i2 = s2.red, a2 = s2.hex(j), l2 = s2.hex($), c2 = t2.isEval();
429
429
  if (c2) o2 = "Evaluation Only", console.log(i2(o2)), o2 = "Please visit https://my.sheetxl.com to register.", console.log(a2(o2)), o2 = null;
430
430
  else {
431
431
  o2 = `Licensee: ${t2.getLicensee() ?? "Invalid License"}`;
@@ -469,152 +469,195 @@ Cpus: ${r3}`), console.log(a2(o2)), o2 = null;
469
469
  let r2 = t3.split("");
470
470
  for (let t4 = 0; t4 < r2.length; t4++) r2[t4].charCodeAt(0) <= n3 && (r2[t4] = String.fromCharCode((r2[t4].charCodeAt(0) + e3) % n3));
471
471
  return r2.join("");
472
- })(t2, n2 - e2), J = (t2) => "object" == typeof window ? window.atob(t2) : Buffer.from(t2, "base64").toString("ascii");
473
- function q(t2, e2, n2, r2, o2) {
474
- return ht(r2 - -244, e2);
472
+ })(t2, n2 - e2), q = (t2) => "object" == typeof window ? window.atob(t2) : Buffer.from(t2, "base64").toString("ascii");
473
+ function J(t2, e2, n2, r2, o2) {
474
+ return lt(o2 - -470, t2);
475
475
  }
476
476
  !(function() {
477
- const t2 = "g6wG", e2 = "JyVZ", n2 = 1e3, r2 = 1051, o2 = "7GCD", s2 = 1074, i2 = 1444, a2 = 941, l2 = "8#)A", c2 = 244, h2 = 632, d2 = 926, u2 = 558, g2 = 459, m2 = 34;
478
- function f2(t3, e3, n3, r3, o3) {
479
- return ht(r3 - -744, t3);
477
+ const t2 = "yl!d", e2 = "bo@N", n2 = "XepX", r2 = 583, o2 = "P@L7", s2 = 497, i2 = 142, a2 = "wUSL", l2 = 59;
478
+ function c2(t3, e3, n3, r3, o3) {
479
+ return lt(n3 - 800, o3);
480
480
  }
481
- function p2(t3, e3, n3, r3, o3) {
482
- return ht(e3 - m2, r3);
481
+ function h2(t3, e3, n3, r3, o3) {
482
+ return lt(e3 - l2, o3);
483
483
  }
484
- function _2(t3, e3, n3, r3, o3) {
485
- return ht(e3 - g2, o3);
484
+ function d2(t3, e3, n3, r3, o3) {
485
+ return lt(o3 - -28, n3);
486
486
  }
487
- function S2(t3, e3, n3, r3, o3) {
488
- return ht(n3 - u2, e3);
487
+ function u2(t3, e3, n3, r3, o3) {
488
+ return lt(t3 - -329, e3);
489
489
  }
490
- const w2 = lt();
491
- function y2(t3, e3, n3, r3, o3) {
492
- return ht(e3 - d2, r3);
490
+ function g2(t3, e3, n3, r3, o3) {
491
+ return lt(r3 - -329, t3);
493
492
  }
493
+ const m2 = it();
494
494
  for (; ; ) try {
495
- if (147165 === -parseInt(f2(t2, 0, 0, -187)) / 1 * (-parseInt(f2(e2, 0, 0, -139)) / 2) + parseInt(S2(0, "^5jN", n2)) / 3 * (-parseInt(_2(0, r2, 0, 0, "br8u")) / 4) + -parseInt(S2(0, o2, s2)) / 5 + -parseInt(_2(0, 881, 0, 0, "BoT$")) / 6 * (parseInt(y2(0, i2, 0, "i5lk")) / 7) + -parseInt(_2(0, a2, 0, 0, "NFCH")) / 8 * (-parseInt(_2(0, 987, 0, 0, l2)) / 9) + -parseInt(y2(0, 1453, 0, "wW3d")) / 10 + -parseInt(f2("NFCH", 0, 0, -c2)) / 11 * (-parseInt(p2(0, h2, 0, "pOwl")) / 12)) break;
496
- w2.push(w2.shift());
495
+ if (456919 === -parseInt(c2(0, 0, 1339, 0, t2)) / 1 + parseInt(g2(e2, 0, 0, 238)) / 2 * (-parseInt(c2(0, 0, 1269, 0, n2)) / 3) + -parseInt(d2(0, 0, "vXS1", 0, r2)) / 4 * (parseInt(h2(0, 588, 0, 0, o2)) / 5) + parseInt(d2(0, 0, "MKyw", 0, s2)) / 6 + parseInt(h2(0, 533, 0, 0, "yl!d")) / 7 + -parseInt(u2(i2, a2)) / 8 + parseInt(u2(310, "vXS1")) / 9) break;
496
+ m2.push(m2.shift());
497
497
  } catch (t3) {
498
- w2.push(w2.shift());
498
+ m2.push(m2.shift());
499
499
  }
500
500
  })();
501
501
  const K = () => {
502
- const t2 = 1238, e2 = 1086, n2 = 691, r2 = 662;
503
- function s2(t3, e3, n3, o2, s3) {
504
- return ht(n3 - r2, s3);
502
+ const t2 = 599, e2 = "MKyw", n2 = 575, r2 = "WS1v", s2 = 72;
503
+ if (typeof window === l2(514, 653, 582, 571, "bo@N")) return window[l2(573, 650, t2, 580, e2)][i2 = "xgCh", a2 = 1141, lt(a2 - 540, i2)];
504
+ var i2, a2;
505
+ function l2(t3, e3, n3, r3, o2) {
506
+ return lt(r3 - s2, o2);
505
507
  }
506
- if (typeof window === s2(0, 0, 1096, 0, "pOwl")) return window[l2 = "BoT$", c2 = -468, ht(c2 - -908, l2)][i2 = t2, a2 = "^z)7", ht(i2 - n2, a2)];
507
- var i2, a2, l2, c2;
508
- return o[s2(0, 0, e2, 0, "JyVZ")]();
508
+ return o[l2(0, 0, 0, n2, r2)]();
509
509
  }, X = () => {
510
- const t2 = 344, e2 = "N1sM";
511
- function n2(t3, e3, n3, r2, o2) {
512
- return ht(t3 - -110, e3);
513
- }
514
- return K()[n2(t2, "d7]x")](n2(424, "zb3d")) || K() === ht(376 - -79, e2);
515
- }, Y = (t2, e2) => {
516
- const n2 = "H6@Y", r2 = 375, o2 = "Khuv";
517
- function s2(t3, e3, n3, r3, o3) {
518
- return ht(o3 - -90, n3);
519
- }
520
- function i2(t3, e3, n3, r3, o3) {
521
- return ht(o3 - -819, t3);
510
+ const t2 = "8gBq", e2 = 820;
511
+ function n2(t3, n3, r2, o2, s2) {
512
+ return lt(r2 - e2, t3);
522
513
  }
523
- return { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => i2("^z)7", 0, 0, 0, -330), getExceptions: () => {
524
- return [(e3 = -73, n3 = o2, i2(n3, 0, 0, 0, e3 - 179) + t2 + "'")];
525
- var e3, n3;
526
- }, hasExceptions: () => true, isValidFor: (t3) => false, isValid: () => false, isEval: () => false, getFeatures: () => {
527
- return Object[t3 = 939, e3 = "sF92", ht(t3 - 335, e3)]({});
528
- var t3, e3;
529
- }, getKeyFrom: () => t2, getBuildVersion: W[s2(0, 0, "i5lk", 0, 324)], getBuildDate: W[s2(0, 0, n2, 0, r2)] };
514
+ return K()[n2("wsRC", 0, 1422)](lt(-445 - -898, t2)) || K() === n2("v]]*", 0, 1442);
530
515
  };
516
+ function Y(t2, e2, n2, r2, o2) {
517
+ return lt(e2 - -142, t2);
518
+ }
531
519
  function Q(t2, e2, n2, r2, o2) {
532
- return ht(e2 - -611, t2);
520
+ return lt(r2 - 183, t2);
533
521
  }
534
- const Z = (t2) => {
535
- const e2 = "QS[u", n2 = 437, r2 = 401, s2 = "ku%^", i2 = "yBhu", a2 = 938, l2 = 758, c2 = 377, h2 = 300;
536
- let d2 = o[f2(857, 915, "6lCd")];
537
- function u2(t3, e3, n3, r3, o2) {
538
- return ht(t3 - h2, r3);
522
+ const Z = (t2, e2, n2, r2) => {
523
+ const o2 = 1431, s2 = "nSS[", i2 = "vXS1", a2 = 170, l2 = 13;
524
+ function c2(t3, e3, n3, r3, o3) {
525
+ return lt(o3 - 738, t3);
526
+ }
527
+ function h2(t3, e3, n3, r3, o3) {
528
+ return lt(e3 - 747, n3);
529
+ }
530
+ function d2(t3, e3, n3, r3, o3) {
531
+ return lt(t3 - l2, r3);
532
+ }
533
+ function u2(t3, e3, n3, r3, o3) {
534
+ return lt(e3 - -560, r3);
535
+ }
536
+ return { getLicensee: () => t2[c2("#y]r", 0, 0, 0, 1372)], getExpiration: () => new Date(t2[u2(0, -28, 0, "nSS[")]), getDomains: () => t2[u2(0, -92, 0, "73Ur")] ?? [], getDeveloperCount: () => t2[h2(0, 1389, "mP4m")] ?? 1, getCpuCount: () => t2[c2("o1wd", 0, 0, 0, 1313)] ?? 0, getType: () => t2[d2(612, 0, 0, "mP4m")] ?? u2(0, 40, 0, "TL6u"), getExceptions: () => e2, hasExceptions() {
537
+ return !!e2 && e2[t3 = i2, n3 = a2, d2(n3 - -412, 0, 0, t3)] > 0;
538
+ var t3, n3;
539
+ }, isValidFor: (t3) => {
540
+ return !(e2?.[n3 = o2, r3 = s2, h2(0, n3 - 223, r3)] > 0);
541
+ var n3, r3;
542
+ }, isValid: () => true, isEval: () => false, getFeatures: () => {
543
+ return Object[u2(0, -106, 0, "yl!d")](t2[e3 = -235, n3 = "7tG!", lt(e3 - -855, n3)] ?? {});
544
+ var e3, n3;
545
+ }, getKeyFrom: () => n2, getBuildVersion: H[u2(0, -70, 0, "m2dL")], getBuildDate: H[d2(593, 0, 0, "WS1v")] };
546
+ }, tt = (t2) => {
547
+ const e2 = "o1wd", n2 = "Gz*G", r2 = 1517, s2 = "Gj22", i2 = 47, a2 = 944;
548
+ function l2(t3, e3, n3, r3, o2) {
549
+ return lt(e3 - a2, o2);
539
550
  }
540
- function g2(t3, e3, n3, r3, o2) {
541
- return ht(e3 - 971, o2);
551
+ function c2(t3, e3, n3, r3, o2) {
552
+ return lt(r3 - -580, n3);
542
553
  }
543
- function m2(t3, e3, n3, r3, o2) {
544
- return ht(n3 - -70, t3);
554
+ function h2(t3, e3, n3, r3, o2) {
555
+ return lt(r3 - -639, e3);
545
556
  }
546
- function f2(t3, e3, n3, r3, o2) {
547
- return ht(t3 - c2, n3);
557
+ let d2 = o[h2(0, "yl!d", 0, -46)];
558
+ function u2(t3, e3, n3, r3, o2) {
559
+ return lt(n3 - -534, e3);
548
560
  }
549
- if (X() || o[m2(e2, 0, n2)]()) {
550
- const t3 = W[m2(")n62", 0, r2)](), e3 = new Date(t3), n3 = /* @__PURE__ */ new Date(), o2 = 864e5;
551
- Math[g2(0, 1415, 0, 0, s2)]((n3[f2(908, 0, i2)]() - e3[m2("PD5@", 0, 418)]()) / o2) >= 120 && (d2 = [f2(a2, 0, "!Z4f")]);
561
+ if (X() || o[h2(0, e2, 0, -13)]()) {
562
+ const t3 = H[c2(0, 0, n2, -56)](), e3 = new Date(t3), o2 = /* @__PURE__ */ new Date(), s3 = 864e5;
563
+ Math[h2(0, "v]]*", 0, -76)]((o2[l2(0, r2, 0, 0, "RHhE")]() - e3[h2(0, "B30j", 0, -42)]()) / s3) >= 120 && (d2 = [u2(0, "*LP4", 6)]);
552
564
  } else d2 = [];
553
- return { getLicensee: () => u2(869, 0, 0, "&!(@"), getExpiration: () => null, getDomains: () => [K()], getDeveloperCount: () => 1, getCpuCount: () => 0, getType: () => f2(956, 0, "H6@Y"), isEval: () => true, getExceptions: () => d2, hasExceptions: () => d2[m2("B6^k", 0, 455)] > 0, isValidFor: () => 0 === d2[g2(0, 1567, 0, 0, "ToDE")], isValid: () => false, getFeatures: () => Object[f2(783, 0, "QS[u")]({}), getKeyFrom: () => t2, getBuildVersion: W[u2(l2, 0, 0, "^z)7")], getBuildDate: W[f2(809, 0, "8#)A")] };
554
- }, tt = { promise: null, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
555
- function et(t2, e2, n2, r2, o2) {
556
- return ht(r2 - 430, n2);
565
+ return { getLicensee: () => c2(0, 0, "%pQ)", -100), getExpiration: () => null, getDomains: () => [K()], getDeveloperCount: () => 1, getCpuCount: () => 0, getType: () => l2(0, 1536, 0, 0, "o1wd"), isEval: () => true, getExceptions: () => d2, hasExceptions: () => d2[l2(0, 1400, 0, 0, "qt7)")] > 0, isValidFor: () => 0 === d2[l2(0, 1436, 0, 0, "#y]r")], isValid: () => false, getFeatures: () => Object[l2(0, 1585, 0, 0, "TL6u")]({}), getKeyFrom: () => t2, getBuildVersion: H[l2(0, 1459, 0, 0, s2)], getBuildDate: H[u2(0, "yl!d", i2)] };
566
+ }, et = { promise: null, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
567
+ function nt(t2, e2, n2, r2, o2) {
568
+ return lt(n2 - 315, e2);
557
569
  }
558
- let nt = false, rt = false;
559
- function ot(t2, e2, n2, r2, o2) {
560
- return ht(o2 - 967, n2);
570
+ let rt = false, ot = false;
571
+ function st(t2, e2, n2, r2, o2) {
572
+ return lt(e2 - 348, r2);
561
573
  }
562
- const st = Q("[Z]J", -200)[it(143, 327, "H6@Y", 242)]("")[et(0, 0, "K&eB", 1004)]((t2, e2) => e2 + t2, "");
563
- function it(t2, e2, n2, r2, o2) {
564
- return ht(r2 - -167, n2);
574
+ function it() {
575
+ const t2 = ["W4xdIXiCW67dGSkrwCoG", "bmk6WOVcJ8ohb8kkW5m", "cKZdI8o7q8khW7FcMq", "W7WPW4/cNa", "fuxcVmojWQaRW7pcJmoxtNVcLCoUW6S", "W6v6eq5MoW", "qKzCamkZWRq", "bd1QhSkYWODxpSkLfmkCW7xcPG", "ceFdM8ooCCkpW7FcHd3cNKe", "W4JcG2XXWPatymovrG", "W7mLxCk8EmoPW7dcMSoAgCkKot8", "aSoWiNf+A8kehu7cPSkfpW", "Fmo6W7mgBWbDoCo5uKn6", "W5pcMSkUWOupW6hdSCkDWQzrWPX5", "dCoqsqaCW5FcRHa", "WRa/W77dJG", "zvOYbmkYWQG", "WQyyWPJcIXaNW4ldMLX4", "k8k7tCktzSobDW", "W6KTW4hcNCoAWPWW", "W7uPWPhcNx57Bmo9", "W6BdPmk0W4RdQM/cLq", "WPTsWO7dPaNcUHmxyq", "W7/cJ8kOWQaiW7BdLSksWRTAWRjUWQ8", "imkXBINcV2K", "W4/dIGKqW7FdHCkCdCo9W5mdqhdcMG", "W6hcTmk+W6uxW7a", "A0Wil8kZWRLApxZcPq", "WQddSXhdRhhcV0iMoCkF", "f8kdW7rZdSofamozn8o/nrVcGW", "u3ymgCk5WRLuc08", "W4yaW57cGSoCWPS6qSke", "xmkfcIvmmW", "vCkLsIGtycu", "sSktWOviW6CDW4SJ", "p8kGytRcVNi", "W4hcPNFdLZFdGH9heLBdUCknrem", "W7WXW5JcPSosWP0", "t8oFFCouwG", "aSoYkNf7ACooFwlcNSk4nLCx", "W5BcQ2BdKYRdLGa", "W6ddLHOuW6hdIq", "WRmKWODjWOBcUZ7dPJ4DW5m7A8kA", "ESkrt8oznsKpxSocr3OMW5ddSComWRxdSff0WPm", "e8kKCIFcPxxdGCoGn3zLWRuB", "W5G6y8k6DCo8W5JcMSoQgCk5mb/dSmkaW6/dPga", "dmoGueRcPSk5eJ3dNq", "W4NcRgddLZldHGnKfa", "W4mEW7dcG8k3WO8", "W5/cVchcMWWJWOT7jMBdR8kqya", "W4RcOJZdGwFdHW", "BSk6vsauEG", "xSk+W48TwmoGWOmBo1G", "pmkSvSk8ESoBFSkOW6BdHSk1W7ZcSWNcMa", "e8kqW794eCos", "WQ0yWOlcQae7", "W6hcJ8k4emojW6VcNmoAjmkeu8oh", "p8o5vG", "s8oRW7iQErD6kmoJvuLMWRu", "smkfcIXCi3FdMaVdGmo9cCoAWRO4", "yZKuuCo0WQxcTCogbmk7", "pb1fxWqYwXvHW512zmkF", "fu/cPCojWQaPW7m", "ug03sCoLWOXifmkMc8kX", "W48oW53cUw7dVvDr", "W7n/WRxcNZ/dHmojccWHW5fWAG", "WRRcS8oLWOFdUCoz", "tmkdBaCTW5/cTq", "WPrAWQZdN8o6W57dKSk3W4lcTMNcOCou", "W7pcUwHIWPylFa", "wYObECo4WRxcTCoBdq", "W4bGnX1PjmkVlIeoW7/dVhBdRdldVSowC8oh", "mSk6z8kiBSoE", "W4CnW7VcImkOWPJcSSk8W73cUN7cHSod", "tCowWPJdVmkdW5lcPmost3VcPmkDW4dcKSoYECkyqq", "CmkqdaDhpG", "sCkVW5O+rCo/WQC", "jSkQW59yp8oVha", "W6qpWPNcPLddT0zxi8owW6ldUhe3W4Tgk8oKiq", "W7ZdR8k2W6ddO38", "EmosWPddVSkcW7FcTCopqxZdQmkI", "W5n5jHfPiW", "WP4nWP7cPHSN", "kSkuW7TXaSotmCoFoW", "qIPQW5fTeY56W5JdNc3cHtHDnG", "j8kXEqJcUw7dQa", "sSkFWOHkW70g", "mXLyFW4WsGbBW5T9B8kLWQG", "W5FcJmkCgmolW7BcUG", "W7RcS3hdNZddMIHYff7dVSkvuG", "W6z1W4GyW53dOJtdMG0lW5mR", "W5FcSCkrW6yAW7hcRM7dUG", "jXLcvHuYwWTMW5fsB8kv", "y0SwdSk1WRK", "umo6W60gDq", "W5mnW7NcK8kOWQZcLa", "aHbpWR8eeXCOjmk4", "W6JdR8k2W6tdLq", "EmovWORdUa", "WPNcRYnNWO0aysi7", "xCk/W503", "WPdcR2KlrSk9WQ3cGSkKW6FcQCk5", "W4a6tmk0ySo0W5VcKq", "cSkgWQjKW69XjtFdRLRcUIJdRa", "W7/dUmkTW4BdR3xcLa", "WRm/W73dLN3cKCkcnJeeW6frtG", "mrja", "wCoxyCouxf4", "W5uEW7RcI8kKWPNcHW", "bCkcWQvJW6j7lcpdJfBcPZxdTMpcRW", "WQC0WOje", "omkGtSoqy8okzSkPW5xdI8k0", "W55eW6WGAmoQW6BcHSoYW7CysW", "vwK8sCoNW4u/aCkblCkXW5/cKG", "W43cONddSYBdJqLNffBdUmkxuG", "W6ldGqSqW7ldGmkl", "W43cRYdcMaaIWR4", "W73dRmkNW5RcV8onWOujdSoJW5FcOaVdKa", "nmoZrwtcUSk0hY3dVbVdJbu", "WP5Ng8oHj8kOWOlcNmoil8kOlYm", "o8o3qMpcT8k+fJNdJbpdLX7dMW", "AYa+W7zGcITSW6/dJtBcMt8", "pq9ZBb09", "WOVcKSk5lCovW7RcMa", "W47cQs7cHX0IWOXGo2a", "xCkhDda9W7dcRY4gFrVdMG", "WQqfWPZcPGCQ", "k8kXDaRcRNxdPmoSl2q", "kmkHr8kBE8okFSktW5ZdISkKW6RcTbxcKXSoWOLJ", "W4yfW5FcRu3dVa", "WPnDWQBdN8o/WPpcRCkwW77cPvm", "q8k2CIS9", "atLWo8kYWOW", "WPjFWQxdNSo/W5pcQSkxW77cOxdcHa", "W7JcQY7cMrWWWQ9GigBcU8kfywdcGaZdV8kmisrpW4DZWRSj", "W61DW70SAmoTW4hcRmo5W6a", "yI4fCmoRWRq", "vJT/W6fScrv3W7RdKq", "W6pcRNvU", "kmk9q8kmE8obrCkLW4tdIW", "mSk6BmkrA8ox", "qcj/W7P0wG", "vCkoWODFW70DW7KVrWy", "vSkiWO9dW70SW48OxqVcKG", "yZKuw8o+WRxcSCoMda", "W6VcQmkEW7KCW7NcQK3dTKxcRKqEW77cPGVdTJTL", "B8kuWPbmW6uhW4PMFWFcG8k5WRvQWOVcMCoQre1oWRDByCoAnmkjW6a", "W4lcPNFdTcVdHWbZjf7dO8kC", "WOKcW6xdP13dKfWpWONdVGTZW6i", "W47cJCkLfmooW6ZcUW", "vCoCr8oCqK7dMG", "W7WNW57cMCobWPy", "ydKuDmo4WR3cP8o/gSkHW4ueCay", "W7aJWP7cJ2jUwSo6vSkNWQa", "q8k2CIS9h8kFkMhcLSky", "WRbQW4eVW4dcJmk3WQLlh8oyqMu", "Bs8UESo1WRq", "W4WmW5BcPuS", "WQxdTXhdK2/cOeK", "W4lcOIBdH3RdG8kqtCoElvtdG8o5rq", "W7tdGrSeW7JdIq", "oXS1gCkcWOnwdG", "iSk6W5JcT8oabCkcW5HSCxyrW6JcMG", "x8kHDsi9nq", "WPKUW5fiWOxcUs/dQIiTWPW9DCklraNdGSoFp14", "EeWehW", "WOZcTgmaxmkkWQ3cVCkGW7C", "i8kvWRGxW44JW4y", "W6BcQmkuW686W7e", "W6VcT8kfW4KCW6dcOw4", "v8kHBYqGmCknfh3cMSkelMS7", "WQdcVdzOWOXmj3HX", "WOqlWO3cO1uFW4RdKfvLWQ7cHCkioJqz", "CCkDWR8xW5uRW6u", "W6JdR8k2W6NdS2/cNCkUW6ZdVWFdGG", "W4ijW6hcPmk4WOpcJSkQW5dcTx7cHG", "wYWsFmo/WQxcKmokhmkPW4iCzG", "W4aWqCkYySo1", "rmk5W6aWsmo2", "a0VdJmoTESkDW6BcUIRcGG", "c8kCiCkfhb7dTSkVgZiVWP0", "t8kRW4aXsCoHWOqajL7cGSk2W4G", "W7/dV8kXW4m", "W5hcSwRdLZi", "W6BcPfVcHttdOHWRcSkzW7tcS8o9", "W7i6W5FcTSobWOa4", "W63cSCkrW6y", "W6abW6xcKSk0WQVcKmk8W7xcRq", "dSoQW6i2t8o2WRObkHdcVCk2W5u", "WPmcW4JdO1VcRmk9gI0/W4T6Dmo6DCkPb8kEW6q", "ESkQBsqLnmkAzgRcI8kAm3W+WQZdOHXj", "vSkVuX0tyZm", "ECkkWPreW6CA", "WQm4WOfj"];
576
+ return (it = function() {
577
+ return t2;
578
+ })();
565
579
  }
566
- class at {
567
- constructor() {
568
- const t2 = "N1sM";
569
- function e2(t3, e3, n2, r2, o2) {
570
- return it(0, 0, t3, r2 - -160);
580
+ const at = Y("1)U%", 375)[Y("*T)m", 496)]("")[Y("TL6u", 424)]((t2, e2) => e2 + t2, "");
581
+ function lt(t2, e2) {
582
+ const n2 = it();
583
+ return lt = function(e3, r2) {
584
+ let o2 = n2[e3 -= 450];
585
+ if (void 0 === lt.wFyVKl) {
586
+ const e4 = function(t3, e5) {
587
+ let n3, r3, o3 = [], s3 = 0, i3 = "";
588
+ for (t3 = (function(t4) {
589
+ let e6 = "", n4 = "";
590
+ 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);
591
+ for (let t5 = 0, r4 = e6.length; t5 < r4; t5++) n4 += "%" + ("00" + e6.charCodeAt(t5).toString(16)).slice(-2);
592
+ return decodeURIComponent(n4);
593
+ })(t3), r3 = 0; r3 < 256; r3++) o3[r3] = r3;
594
+ 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;
595
+ r3 = 0, s3 = 0;
596
+ 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]);
597
+ return i3;
598
+ };
599
+ lt.svNTLo = e4, t2 = arguments, lt.wFyVKl = true;
571
600
  }
572
- this[e2("br8u", 0, 0, 137)][e2(t2, 0, 0, 225)] = null;
601
+ const s2 = e3 + n2[0], i2 = t2[s2];
602
+ return i2 ? o2 = i2 : (void 0 === lt.dqygKM && (lt.dqygKM = true), o2 = lt.svNTLo(o2, r2), t2[s2] = o2), o2;
603
+ }, lt(t2, e2);
604
+ }
605
+ class ct {
606
+ constructor() {
607
+ var t2, e2, n2, r2;
608
+ this[n2 = "FSJ%", r2 = 995, Y(n2, r2 - 528)][t2 = "yl!d", e2 = -143, J(t2, 0, 0, 0, e2 - -174)] = null;
573
609
  }
574
- async [Q("ku%^", -117)](t2, e2 = false) {
575
- const n2 = "&!(@", r2 = 1453, s2 = 1502, i2 = 1417, a2 = 767, l2 = "WR@*", c2 = 727, h2 = 791, d2 = 1408, u2 = 1387, g2 = 977, m2 = 896, f2 = 993, p2 = 1393, _2 = "6lCd", S2 = 1454, w2 = 980, y2 = 903, E2 = 784, C2 = "EJbQ", b2 = 981, v2 = 824, x2 = 775, I2 = 1069, R2 = "tbTu", A2 = 1364, M2 = 923, T2 = 1336, N2 = 677, F2 = 801, k2 = 827, O2 = "BoT$", D2 = 874, B2 = 887, L2 = 833, z2 = 816, P2 = 861, W2 = ")n62", H2 = "^5jN", V2 = 736, $2 = 765, j2 = 796, U2 = 717, J2 = "aHkR", q2 = 34, K2 = 1033;
576
- if (!t2 || t2[Y2(782, "g6wG", 871, 830)](X2(1454, n2, r2)) || t2[X2(s2, "ToDE", i2)](Y2(a2, l2, c2, h2)) || t2[X2(1347, "PD5@", d2)](st2(g2, m2, 1063, f2, "8#)A")) || t2[X2(p2, _2, S2)](st2(w2, 965, 865, y2, "!Z4f"))) return nt = true, o[Y2(E2, C2, 730, 683)]() && await G[X2(u2, "t*bs", 1301)](t2, e2), await this[ot2("B6^k", 884, 809, b2, 900)](true);
577
- function X2(t3, e3, n3, r3, o2) {
578
- return it(0, 0, e3, n3 - K2);
610
+ async [st(0, 971, 0, "ZU%M")](t2, e2 = false) {
611
+ const n2 = "0[Tx", r2 = 1075, s2 = 1088, i2 = 1035, a2 = 1313, l2 = "1)U%", c2 = "m2dL", h2 = 1199, d2 = 1027, u2 = 1110, g2 = 1439, m2 = 1343, f2 = 304, p2 = 243, _2 = 272, S2 = 404, w2 = 317, y2 = 346, E2 = 189, C2 = "cfcz", b2 = 249, v2 = 231, x2 = 1330, I2 = "WS1v", R2 = "Gz*G", A2 = 1015, M2 = "T3zR", T2 = 1135, N2 = "o1wd", F2 = "*T)m", k2 = 363, O2 = 1061, D2 = 73, B2 = 165, L2 = 1181, z2 = 1361, P2 = "!4B7", H2 = "iS6q", W2 = 1411, V2 = "u%DJ", j2 = "GRGJ", $2 = 508, U2 = 248, q2 = 453;
612
+ function J2(t3, e3, n3, r3, o2) {
613
+ return nt(0, o2, e3 - q2);
614
+ }
615
+ if (!t2 || t2[X2("*LP4", 1040, 1017, 1093)](X2(n2, r2, s2, i2)) || t2[J2(0, a2, 0, 0, l2)](X2(c2, h2, d2, u2)) || t2[Q2(1426, g2, m2, 1399, "m2dL")](tt2(f2, "8gBq", p2, 363, _2)) || t2[K2(319, S2, w2, y2, ")[u6")](tt2(E2, C2, b2, v2, 286))) return rt = true, o[J2(0, x2, 0, 0, "esah")]() && await G[X2(I2, 1019, 1139, 1048)](t2, e2), await this[X2(R2, 998, 1074, A2)](true);
616
+ function K2(t3, e3, n3, r3, o2) {
617
+ return Y(o2, t3 - 3);
579
618
  }
580
- function Y2(t3, e3, n3, r3, o2) {
581
- return et(0, 0, e3, r3 - -177);
619
+ function X2(t3, e3, n3, r3, o2) {
620
+ return nt(0, t3, r3 - U2);
582
621
  }
583
- if (nt = false, !e2 && tt[Y2(0, "[I0y", 0, x2)]) {
584
- const t3 = await this[Y2(0, "*5RK", 0, 720)]();
585
- if (t3[X2(0, "^3ll", 1424)]() && !t3[st2(I2, 997, 1056, 1061, "K&eB")]()) return t3;
622
+ if (rt = false, !e2 && et[X2(M2, 0, 0, T2)]) {
623
+ const t3 = await this[X2(N2, 0, 0, 1060)]();
624
+ if (t3[X2(F2, 0, 0, 1119)]() && !t3[X2("9RO#", 0, 0, 1091)]()) return t3;
586
625
  }
587
- var Q2, Z2;
588
- tt[X2(0, R2, A2)] = t2, tt[st2(837, M2, 982, 924, n2)] = X2(0, "2Z7g", 1457), tt[X2(0, "dVRP", T2)] = null, tt[Q2 = N2, Z2 = "PD5@", it(0, 0, Z2, Q2 - 425)] = null;
589
- const rt2 = await this[ot2(l2, v2, F2, k2, 778)]();
590
- if (!rt2[ot2(O2, D2, 986, 986, B2)]()) throw await this[st2(L2, z2, P2, 887, W2)](true), new Error(ot2(H2, V2, $2, j2, U2));
591
- function ot2(t3, e3, n3, r3, o2) {
592
- return it(0, 0, t3, o2 - 464);
626
+ function Q2(t3, e3, n3, r3, o2) {
627
+ return st(0, r3 - $2, 0, o2);
593
628
  }
594
- function st2(t3, e3, n3, r3, o2) {
595
- return et(0, 0, o2, r3 - q2);
629
+ et[K2(k2, 0, 0, 0, "tWa2")] = t2, et[J2(0, 1259, 0, 0, "X8y^")] = X2("9RO#", 0, 0, O2), et[tt2(v2, ")[u6", D2, 204, B2)] = null, et[X2(l2, 0, 0, L2)] = null;
630
+ const Z2 = await this[Q2(0, 0, 0, z2, P2)]();
631
+ if (!Z2[K2(355, 0, 0, 0, "P@L7")]()) throw await this[Q2(0, 0, 0, 1343, H2)](true), new Error(J2(0, W2, 0, 0, V2));
632
+ function tt2(t3, e3, n3, r3, o2) {
633
+ return st(0, o2 - -665, 0, e3);
596
634
  }
597
- return await G[Y2(0, J2, 0, 792)](t2, e2), rt2;
635
+ return await G[X2(j2, 0, 0, 1195)](t2, e2), Z2;
598
636
  }
599
- async [Q("&!(@", -182)](t2 = false) {
600
- const e2 = "cQtp", n2 = 480, r2 = 478, s2 = 1184, i2 = 539, a2 = "()F0", l2 = 378, c2 = "*5RK", h2 = 1278, d2 = 404, u2 = 369, g2 = 541, m2 = "H6@Y", f2 = 476, p2 = "8#)A", _2 = 320, S2 = 1370, w2 = 1310, y2 = 390, E2 = 465, C2 = "K&eB", b2 = 624, v2 = "BoT$", x2 = 1307, I2 = 1187, R2 = 1233, A2 = "%S2q", M2 = 1343, T2 = 1267, N2 = "N1sM", F2 = 327, k2 = 430, O2 = 396, D2 = 467, B2 = 471, L2 = 445, z2 = 444, P2 = "yBhu", H2 = 492, V2 = 513, $2 = 509, j2 = 603, et2 = 752, at2 = 671, lt2 = "7GCD", ct2 = 658, dt2 = "yBhu", ut2 = 328, gt2 = "d7]x", mt2 = 1297, ft2 = 1340, pt2 = 1328, _t2 = "6lCd", St2 = 373, wt2 = 1518, yt2 = 1423, Et2 = 1212, Ct2 = "dVRP", bt2 = 374, vt2 = 358, xt2 = "NFCH", It2 = "foo3", Rt2 = 318, At2 = "dVRP", Mt2 = 990, Tt2 = 699, Nt2 = "zb3d", Ft2 = 622, kt2 = 69;
601
- if (tt[Wt2(374, 282, 296, 402, "EJbQ")]) return tt[Vt2(712, 643, e2)];
602
- if (!this[Wt2(n2, r2, 421, 533, "%S2q")][$t2("JyVZ", 1308, 1285, s2, 1251)] && (this[Vt2(599, i2, a2)][Dt2("BoT$", l2, 425)] = new Error("FV")), tt[Ht2(-260, "aHkR", -196)]) return tt[$t2(c2, h2, 1241, 1228, 1259)];
603
- let Ot2 = null;
604
- function Dt2(t3, e3, n3, r3, o2) {
605
- return q(0, t3, 0, e3 - kt2);
637
+ async [nt(0, "esah", 791)](t2 = false) {
638
+ const e2 = 1546, n2 = "yl!d", r2 = 1451, s2 = "bo@N", i2 = 1381, a2 = 1376, l2 = "7Zom", c2 = 1410, h2 = 1382, d2 = "7Zom", u2 = "cfcz", g2 = 1370, m2 = 90, f2 = "P@L7", p2 = 39, _2 = "WS1v", S2 = "wsRC", w2 = 1336, y2 = 1490, E2 = "snT@", C2 = 469, b2 = "nSS[", v2 = 403, x2 = "9RO#", I2 = "Dwx)", R2 = 1234, A2 = 123, M2 = 131, T2 = 187, N2 = 17, F2 = 76, k2 = 46, O2 = "XepX", D2 = "7tG!", B2 = 3, L2 = 45, z2 = 41, P2 = 35, W2 = "nSS[", V2 = "FSJ%", j2 = 1295, $2 = 107, Y2 = 89, nt2 = 32, it2 = 48, ct2 = 1497, ht2 = "#y]r", dt2 = 468, ut2 = "xgCh", gt2 = 356, mt2 = "#y]r", ft2 = "FSJ%", pt2 = "nSS[", _t2 = 403, St2 = "Gz*G", wt2 = 589, yt2 = 361;
639
+ function Et2(t3, e3, n3, r3, o2) {
640
+ return Q(r3, 0, 0, e3 - 766);
606
641
  }
607
- tt[Wt2(450, 490, d2, u2, "yBhu")] = new Promise((t3) => {
608
- Ot2 = t3;
642
+ if (et[Mt2("*LP4", 1273, 1272)]) return et[bt2(e2, 1453, 1451, n2, r2)];
643
+ function Ct2(t3, e3, n3, r3, o2) {
644
+ return J(o2, 0, 0, 0, t3 - yt2);
645
+ }
646
+ if (!this[Mt2(s2, i2, 1374)][bt2(1366, a2, 1412, l2, c2)] && (this[Mt2("cfcz", h2, 1338)][Ct2(364, 0, 0, 0, d2)] = new Error("FV")), et[Mt2(u2, g2, 1345)]) return et[Tt2(38, -35, 38, m2, f2)];
647
+ function bt2(t3, e3, n3, r3, o2) {
648
+ return st(0, o2 - wt2, 0, r3);
649
+ }
650
+ let vt2 = null;
651
+ et[Tt2(-7, -102, 55, p2, _2)] = new Promise((t3) => {
652
+ vt2 = t3;
609
653
  });
610
- let Bt2, Lt2 = null;
611
- const zt2 = async (t3, e3) => {
612
- const n3 = 173, r3 = 135;
654
+ let xt2, It2 = null;
655
+ const Rt2 = async (t3, e3) => {
613
656
  try {
614
- const c3 = ((t4) => {
657
+ const s3 = ((t4) => {
615
658
  let e4 = t4;
616
659
  const n4 = e4[e4.length - 1], r4 = n4.charCodeAt(0) - 52;
617
- 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();
660
+ 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();
618
661
  e4 = e4.substring(0, e4.length - 1), e4 = U(e4, r4);
619
662
  try {
620
663
  e4.startsWith("{") || (e4 = "{" + e4);
@@ -623,232 +666,191 @@ class at {
623
666
  } catch (t5) {
624
667
  throw new Error("Invalid license key.");
625
668
  }
626
- })(e3), h3 = ((t4, e4, n4) => {
627
- const r4 = "2Z7g", o2 = "%S2q", s4 = "BoT$", i4 = "i5lk", a4 = 904, l4 = 173;
628
- function c4(t5, e5, n5, r5, o3) {
629
- return ht(t5 - 653, o3);
630
- }
631
- function h4(t5, e5, n5, r5, o3) {
632
- return ht(r5 - 170, o3);
669
+ })(e3), i3 = await (async (t4) => {
670
+ const e4 = 419, n4 = "cfcz", r4 = 552, s4 = 456, i4 = "*T)m", a4 = 666, l3 = 766, c3 = 758, h3 = "o1wd", d3 = 591, u3 = 606, g3 = "WS1v", m3 = 556, f3 = "m2dL", p3 = 774, _3 = 483, S3 = ")[u6", w3 = 330, y3 = "bo@N", E3 = "MKyw", C3 = "mP4m", b3 = 38, v3 = 19, x3 = 128, I3 = t4[T3(568, "B30j", 520)];
671
+ function R3(t5, e5, n5, r5, o2) {
672
+ return lt(n5 - -919, o2);
633
673
  }
634
- function d3(t5, e5, n5, r5, o3) {
635
- return ht(o3 - l4, e5);
674
+ const A3 = t4[T3(e4, n4, 444)] ? new Date(t4[F3(r4, s4, 409, i4, 481)]) : null;
675
+ function M3(t5, e5, n5, r5, o2) {
676
+ return lt(o2 - -497, t5);
636
677
  }
637
- return { getLicensee: () => t4[c4(1131, 0, 0, 0, "foo3")], getExpiration: () => new Date(t4[c4(1234, 0, 0, 0, "6lCd")]), getDomains: () => t4[h4(0, 0, 0, 741, "WR@*")] ?? [], getDeveloperCount: () => t4[h4(0, 0, 0, 734, "8#)A")] ?? 1, getCpuCount: () => t4[d3(0, "EJbQ", 0, 0, 713)] ?? 0, getType: () => t4[d3(0, "[Z]J", 0, 0, 733)] ?? d3(0, "H6@Y", 0, 0, 755), getExceptions: () => e4, hasExceptions() {
638
- return !!e4 && e4[t5 = i4, n5 = a4, c4(n5 - -199, 0, 0, 0, t5)] > 0;
639
- var t5, n5;
640
- }, isValidFor: (t5) => {
641
- return !(e4?.[n5 = s4, r5 = 273, d3(0, n5, 0, 0, r5 - -502)] > 0);
642
- var n5, r5;
643
- }, isValid: () => true, isEval: () => false, getFeatures: () => Object[d3(0, "%S2q", 0, 0, 646)](t4[h4(0, 0, 0, 638, "[I0y")] ?? {}), getKeyFrom: () => n4, getBuildVersion: W[h4(0, 0, 0, 629, r4)], getBuildDate: W[u3 = o2, g3 = 253, ht(g3 - -159, u3)] };
644
- var u3, g3;
645
- })(c3, await (async (t4) => {
646
- const e4 = "cQtp", n4 = 897, r4 = "i5lk", s4 = 824, i4 = 223, a4 = 1, l4 = 128, c4 = 49, h4 = "i]1&", d3 = 268, u3 = 244, g3 = 181, m3 = "Khuv", f3 = "foo3", p3 = "2Z7g", _3 = 68, S3 = 906, w3 = "2Z7g", y3 = ")n62", E3 = "ToDE", C3 = 610, b3 = 292, v3 = 192, x3 = "6lCd", I3 = 141, R3 = 386, A3 = t4[O3(98, -8, 124, 37, "%S2q")], M3 = t4[N3(929, e4)] ? new Date(t4[N3(n4, r4)]) : null;
647
- t4[N3(s4, "^5jN")];
648
- const T3 = [];
649
- function N3(t5, e5, n5, r5, o2) {
650
- return ht(t5 - R3, e5);
678
+ function T3(t5, e5, n5, r5, o2) {
679
+ return lt(n5 - -113, e5);
651
680
  }
681
+ t4[k3(a4, l3, c3, 752, h3)];
682
+ const N3 = [];
652
683
  function F3(t5, e5, n5, r5, o2) {
653
- return ht(n5 - -274, e5);
684
+ return lt(o2 - -32, r5);
654
685
  }
655
686
  function k3(t5, e5, n5, r5, o2) {
656
- return ht(r5 - I3, n5);
687
+ return lt(n5 - 184, o2);
657
688
  }
658
- function O3(t5, e5, n5, r5, o2) {
659
- return ht(r5 - -384, o2);
660
- }
661
- if (M3 ? isNaN(M3) ? T3[O3(50, l4, 28, c4, h4)](O3(166, d3, u3, 222, "BoT$")) : M3 < /* @__PURE__ */ new Date() && T3[N3(831, "2Z7g")](O3(161, i4, 107, g3, m3) + M3[k3(725, 616, f3, 709)]()) : T3[F3(i4, "foo3", 163)](O3(a4, 69, -15, 63, "zb3d")), o[O3(0, 0, 0, 160, p3)]()) ;
689
+ if (A3 ? isNaN(A3) ? N3[k3(758, p3, 799, 865, "wUSL")](T3(0, "vXS1", _3)) : A3 < /* @__PURE__ */ new Date() && N3[R3(0, 0, -413, 0, S3)](T3(0, "iS6q", 364) + A3[F3(449, w3, 430, "MKyw", e4)]()) : N3[F3(487, d3, u3, g3, m3)](M3(f3, 0, 0, 0, 30)), o[R3(0, 0, -303, 0, y3)]()) ;
662
690
  else {
663
- if (X()) return T3;
664
- if (A3 && 0 !== A3[F3(0, "B6^k", 251)]) {
691
+ if (X()) return N3;
692
+ if (I3 && 0 !== I3[R3(0, 0, -336, 0, E3)]) {
665
693
  let t5 = false;
666
694
  const e5 = K();
667
- for (let n5 = 0; !t5 && n5 < A3[N3(883, y3)]; n5++) t5 = e5[k3(0, 0, E3, C3)](A3[n5]);
668
- !t5 && T3[F3(0, "WR@*", b3)](O3(0, 0, 0, v3, x3));
669
- } else T3[O3(0, 0, 0, _3, "t*bs")](N3(S3, w3));
695
+ for (let n5 = 0; !t5 && n5 < I3[M3("v]]*", 0, 0, 0, b3)]; n5++) t5 = e5[R3(0, 0, -449, 0, "v]]*")](I3[n5]);
696
+ !t5 && N3[M3("mP4m", 0, 0, 0, v3)](M3("TL6u", 0, 0, 0, x3));
697
+ } else N3[T3(0, "%pQ)", 391)](R3(0, 0, -349, 0, C3));
670
698
  }
671
- return T3;
672
- })(c3), t3);
673
- return h3[s3 = Nt2, i3 = Ft2, a3 = 642, l3 = 618, Wt2(a3 - 184, i3 - n3, a3 - 227, l3 - r3, s3)]() && (Bt2 = h3), h3;
699
+ return N3;
700
+ })(s3), a3 = Z(s3, i3, t3);
701
+ return a3[n3 = St2, r3 = 632, Et2(0, r3 - -843, 0, n3)]() && (xt2 = a3), a3;
674
702
  } catch (e4) {
675
- Bt2 = Y(t3);
676
- }
677
- var s3, i3, a3, l3;
703
+ xt2 = ((t4) => {
704
+ const e5 = "7Zom", n4 = 726;
705
+ function r4(t5, e6, n5, r5, o3) {
706
+ return lt(e6 - -686, t5);
707
+ }
708
+ return { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => r4("WS1v", -65), getExceptions: () => {
709
+ return [(e6 = 1056, n5 = "#y]r", r4(n5, e6 - 1190) + t4 + "'")];
710
+ var e6, n5;
711
+ }, hasExceptions: () => true, isValidFor: (t5) => false, isValid: () => false, isEval: () => false, getFeatures: () => Object[r4("esah", -144)]({}), getKeyFrom: () => t4, getBuildVersion: H[i3 = -146, a3 = "1)U%", lt(i3 - -605, a3)], getBuildDate: H[o2 = 1257, s3 = e5, lt(o2 - n4, s3)] };
712
+ var o2, s3, i3, a3;
713
+ })(t3);
714
+ }
715
+ var n3, r3;
678
716
  };
679
- tt[Dt2("zb3d", 410)] && (Lt2 = await zt2(tt[Vt2(540, g2, "^z)7")], tt[Dt2(m2, 286)]));
680
- let Pt2 = false;
681
- if (nt && (Pt2 = true, Lt2 = Z(Ht2(-186, "foo3", -138))), !Lt2) {
682
- if (o[Vt2(f2, 571, "ku%^")]()) {
683
- if (!Lt2) {
684
- const t3 = process[Dt2("2Z7g", 326)], e3 = t3[Dt2(p2, _2)] || t3[$t2("N1sM", 1220, S2, 1237, w2)] || t3[Wt2(425, y2, 359, E2, "i5lk")] || t3[Vt2(622, 618, C2)];
685
- e3 && (Lt2 = await zt2($t2(v2, 1246, x2, I2, R2), e3));
717
+ et[Mt2(S2, w2, 1385)] && (It2 = await Rt2(et[bt2(0, 0, 0, u2, 1528)], et[Et2(0, y2, 0, E2)]));
718
+ let At2 = false;
719
+ function Mt2(t3, e3, n3, r3, o2) {
720
+ return st(0, e3 - _t2, 0, t3);
721
+ }
722
+ if (rt && (At2 = true, It2 = tt(Ct2(C2, 0, 0, 0, b2))), !It2) {
723
+ if (o[bt2(0, 0, 0, ")[u6", 1521)]()) {
724
+ if (!It2) {
725
+ const t3 = process[Ct2(v2, 0, 0, 0, x2)], e3 = t3[bt2(0, 0, 0, "wUSL", 1532)] || t3[Mt2(I2, R2)] || t3[Tt2(A2, M2, T2, 85, "8gBq")] || t3[Tt2(N2, -19, F2, k2, "1)U%")];
726
+ e3 && (It2 = await Rt2(Ct2(528, 0, 0, 0, "cfcz"), e3));
686
727
  }
687
- if (!Lt2) {
688
- const t3 = await G[$t2(A2, 1192, M2, T2, 1279)]();
689
- t3 && (Lt2 = await zt2(Dt2(N2, F2), t3));
728
+ if (!It2) {
729
+ const t3 = await G[Mt2(O2, 1289)]();
730
+ t3 && (It2 = await Rt2(Mt2(D2, 1310), t3));
690
731
  }
691
- !Lt2 && (Pt2 = true);
732
+ !It2 && (At2 = true);
692
733
  } else {
693
- if (!Lt2) {
734
+ if (!It2) {
694
735
  let t3 = false;
695
736
  try {
696
- const e3 = await fetch("./" + st);
737
+ const e3 = await fetch("./" + at);
697
738
  let n3 = null;
698
- if (200 === e3[Wt2(k2, 484, O2, 464, "tbTu")]) {
699
- const r3 = (await e3[Wt2(D2, B2, 532, L2, ")n62")]())[Wt2(393, z2, 390, 481, P2)]("\n"), o2 = r3[Vt2(H2, V2, "Js0z", 483, $2)];
739
+ if (200 === e3[Mt2("X8y^", 1386)]) {
740
+ const r3 = (await e3[Tt2(54, 12, -B2, L2, s2)]())[bt2(0, 0, 0, "fcpF", 1437)]("\n"), o2 = r3[Tt2(-56, -14, -z2, -P2, W2)];
700
741
  for (let e4 = 0; !n3 && e4 < o2; e4++) {
701
- const o3 = r3[e4][Vt2(589, 674, "^z)7", j2, et2)]();
702
- 0 !== o3[Vt2(698, at2, lt2, ct2, b2)] && (o3[Dt2(dt2, ut2)]($t2(gt2, 1377, mt2, ft2, pt2)) ? t3 = true : n3 = o3);
742
+ const o3 = r3[e4][Mt2(V2, j2)]();
743
+ 0 !== o3[Tt2($2, Y2, nt2, it2, "X8y^")] && (o3[Et2(0, ct2, 0, ht2)](Et2(0, 1543, 0, ")[u6")) ? t3 = true : n3 = o3);
703
744
  }
704
745
  }
705
746
  if (t3 && n3) {
706
- const t4 = Dt2(_t2, St2) + st + "')";
707
- Lt2 = await zt2(t4, n3);
747
+ const t4 = Ct2(dt2, 0, 0, 0, "!4B7") + at + "')";
748
+ It2 = await Rt2(t4, n3);
708
749
  }
709
750
  } catch (t4) {
710
751
  }
711
752
  }
712
- !Lt2 && X() && (Pt2 = true);
753
+ !It2 && X() && (At2 = true);
713
754
  }
714
755
  }
715
- function Wt2(t3, e3, n3, r3, o2) {
716
- return ot(0, 0, o2, 0, t3 - -1050);
717
- }
718
- function Ht2(t3, e3, n3, r3, o2) {
719
- return Q(e3, n3 - -31);
720
- }
721
- function Vt2(t3, e3, n3, r3, o2) {
722
- return Q(n3, e3 - Tt2);
723
- }
724
- !Lt2 && Pt2 && (Lt2 = Z($t2("pOwl", wt2, 1518, 1491, yt2))), !Lt2 && Bt2 && (Lt2 = Bt2), !Lt2 && (Lt2 = { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => null, isEval: () => false, getExceptions: () => [Dt2("JyVZ", 379)], hasExceptions: () => true, isValidFor: (t3) => false, isValid: () => false, getFeatures: () => Object[Dt2("cQtp", 351)]({}), getKeyFrom: () => Wt2(389, 0, 0, 0, "ku%^"), getBuildVersion: W[$t2("NFCH", Et2, 1293, 1329, 1240)], getBuildDate: W[Dt2(Ct2, bt2)] }), tt[Wt2(vt2, 0, 0, 0, xt2)] = Lt2, Ot2(Lt2);
725
- function $t2(t3, e3, n3, r3, o2) {
726
- return it(0, 0, t3, o2 - Mt2);
756
+ function Tt2(t3, e3, n3, r3, o2) {
757
+ return Q(o2, 0, 0, t3 - -700);
727
758
  }
759
+ !It2 && At2 && (It2 = tt(Mt2(ut2, 1319))), !It2 && xt2 && (It2 = xt2), !It2 && (It2 = { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => null, isEval: () => false, getExceptions: () => [Mt2("v]]*", 1235)], hasExceptions: () => true, isValidFor: (t3) => false, isValid: () => false, getFeatures: () => Object[Ct2(351, 0, 0, 0, "Dwx)")]({}), getKeyFrom: () => Ct2(497, 0, 0, 0, "bo@N"), getBuildVersion: H[Ct2(gt2, 0, 0, 0, "GRGJ")], getBuildDate: H[Ct2(444, 0, 0, 0, "8gBq")] }), et[Tt2(4, 51, -85, -24, "TL6u")] = It2, vt2(It2);
728
760
  if (t2 && ((t3, e3) => {
729
- const n3 = "cQtp";
730
- if (tt[r3 = "t*bs", o2 = 1274, ht(o2 - 811, r3)] && tt[a3(-138, -137, -182, -144, n3)]) return false;
731
- var r3, o2, s3, i3;
732
- function a3(t4, e4, n4, r4, o3) {
733
- return ht(r4 - -618, o3);
734
- }
735
- return t3 || e3[a3(-56, -101, 38, -45, "7GCD")]() || e3[s3 = -559, i3 = "ku%^", ht(s3 - -975, i3)]()?.pb;
736
- })(Pt2, Lt2)) {
737
- if (rt) return void setTimeout(() => {
761
+ const n3 = "esah", r3 = 855, o2 = "fcpF";
762
+ function s3(t4, e4, n4, r4, o3) {
763
+ return lt(o3 - 297, n4);
764
+ }
765
+ if (et[i3(64, -19, -90, "xEQ3")] && et[s3(0, 0, n3, 0, r3)]) return false;
766
+ function i3(t4, e4, n4, r4, o3) {
767
+ return lt(e4 - -580, r4);
768
+ }
769
+ return t3 || e3[i3(0, -116, 0, o2)]() || e3[s3(0, 0, "wsRC", 0, 905)]()?.pb;
770
+ })(At2, It2)) {
771
+ if (ot) return void setTimeout(() => {
738
772
  var t3, e3;
739
- this[t3 = -311, e3 = At2, Vt2(0, t3 - -1e3, e3)](false, false);
773
+ this[t3 = -284, e3 = pt2, Et2(0, t3 - -1721, 0, e3)](false, false);
740
774
  }, 8e3);
741
- await this[$t2(It2, 0, 0, 0, 1340)](false, false);
775
+ await this[Et2(0, 1547, 0, mt2)](false, false);
742
776
  }
743
- return tt[Dt2("tbTu", Rt2)];
777
+ return et[Tt2(-42, 0, 0, 0, ft2)];
744
778
  }
745
- async [ot(0, 0, "*5RK", 0, 1473)](t2) {
746
- const e2 = "*5RK", n2 = "Js0z", r2 = "^z)7", o2 = "WR@*", s2 = 851;
747
- function i2(t3, e3, n3, r3, o3) {
748
- return it(0, 0, r3, e3 - -742);
749
- }
750
- tt[l2(287, "tbTu", 306, 282)] = true;
751
- const a2 = await this[l2(209, "8#)A", 250, 155)]();
752
- function l2(t3, e3, n3, r3, o3) {
753
- return ot(0, 0, e3, 0, n3 - -1241);
779
+ async [Q("snT@", 0, 0, 701)](t2) {
780
+ const e2 = 740, n2 = 1246, r2 = 1308, o2 = "#y]r", s2 = "vXS1", i2 = "Gj22", a2 = "8gBq", l2 = 864;
781
+ et[_2(1084, 1177, 1237, 1165, "*LP4")] = true;
782
+ const c2 = await this[h2(e2, 735, "esah", 803)]();
783
+ function h2(t3, e3, n3, r3, o3) {
784
+ return J(n3, 0, 0, 0, r3 - 807);
754
785
  }
755
- function c2(t3, e3, n3, r3, o3) {
756
- return Q(e3, t3 - 962);
786
+ var d2, u2, g2, m2, f2, p2;
787
+ function _2(t3, e3, n3, r3, o3) {
788
+ return Y(o3, e3 - l2);
757
789
  }
758
- return await G[i2(0, -496, 0, e2)](t2), !t2 && !tt[i2(0, -460, 0, n2)] && (a2[i2(0, -331, 0, r2)]() || a2[l2(0, o2, 134)]()) && await this[h2 = s2, d2 = "N1sM", q(0, d2, 0, h2 - 586)](t2, a2[c2(866, "PD5@")]()), Promise[c2(923, "6lCd")]();
759
- var h2, d2;
790
+ return await G[_2(1299, 1271, n2, r2, o2)](t2), !t2 && !et[f2 = s2, p2 = 1209, J(f2, 0, 0, 0, p2 - 1103)] && (c2[h2(0, 0, "iS6q", 942)]() || c2[h2(0, 0, i2, 846)]()) && await this[g2 = "esah", m2 = 744, Q(g2, 0, 0, m2 - -21)](t2, c2[d2 = 77, u2 = a2, Q(u2, 0, 0, d2 - -626)]()), Promise[h2(0, 0, "d2oP", 901)]();
760
791
  }
761
- async [q(0, "[Z]J", 0, 266)](t2 = false, e2 = false, n2 = false) {
762
- const r2 = "cQtp", o2 = 719, s2 = 603, i2 = 675, a2 = "sF92", l2 = 811;
763
- tt[h2(764, "N1sM", 730, 690)] = true;
764
- const c2 = await this[h2(761, "ToDE", 724, 685)]();
765
- function h2(t3, e3, n3, r3, o3) {
766
- return Q(e3, r3 - l2);
792
+ async [Q("MKyw", 0, 0, 793)](t2 = false, e2 = false, n2 = false) {
793
+ const r2 = 866, o2 = 553, s2 = "X8y^", i2 = "1)U%", a2 = 786, l2 = "9RO#", c2 = 1431, h2 = "P@L7", d2 = "%pQ)", u2 = 125, g2 = 654;
794
+ function m2(t3, e3, n3, r3, o3) {
795
+ return nt(0, n3, e3 - g2);
767
796
  }
768
- var d2, u2, g2, m2;
769
- tt[h2(0, r2, 0, o2)] || !c2[g2 = 1148, m2 = "2Z7g", Q(m2, g2 - 1214)]() && !c2[d2 = s2, u2 = "g6wG", Q(u2, d2 - 621)]() ? await G[h2(0, a2, 0, 677)](c2, t2, e2, n2) : await this[h2(0, "PD5@", 0, i2)](t2);
770
- }
771
- async [ot(0, 0, "BoT$", 0, 1503)](t2, e2) {
772
- const n2 = 433, r2 = 423, s2 = 431, i2 = 508, a2 = 541, l2 = 620, c2 = 629, h2 = "ToDE", d2 = "Khuv", u2 = "br8u", g2 = 682, m2 = 610, f2 = 711, p2 = "dUHH";
773
- if (!t2 && (tt[w2(349, 388, 478, "WR@*")] || tt[_2 = 740, S2 = "pOwl", Q(S2, _2 - 762)])) return;
774
- var _2, S2;
775
- function w2(t3, e3, n3, r3, o2) {
776
- return it(0, 0, r3, e3 - 76);
797
+ function f2(t3, e3, n3, r3, o3) {
798
+ return nt(0, o3, t3 - -295);
777
799
  }
778
- tt[w2(n2, r2, s2, "aHkR")] = true, tt[w2(532, i2, a2, "zb3d")] = true, await this[b2(716, l2, 774, c2, "wW3d")](t2);
779
- const y2 = o[C2(-219, h2, -310)](), E2 = t2 || y2 ? console[w2(0, 444, 0, d2)] : o[C2(-533, u2, -467)];
780
- function C2(t3, e3, n3, r3, o2) {
781
- return Q(e3, n3 - -274);
800
+ function p2(t3, e3, n3, r3, o3) {
801
+ return Q(t3, 0, 0, o3 - u2);
782
802
  }
783
- function b2(t3, e3, n3, r3, o2) {
784
- return ot(0, 0, o2, 0, t3 - -797);
803
+ et[p2("esah", 780, 846, 874, r2)] = true;
804
+ const _2 = await this[f2(o2, 0, 0, 0, s2)]();
805
+ var S2, w2;
806
+ et[m2(0, 1556, ")[u6")] || !_2[p2(i2, 0, 0, 0, a2)]() && !_2[S2 = l2, w2 = -74, st(0, w2 - -889, 0, S2)]() ? await G[f2(506, 0, 0, 0, d2)](_2, t2, e2, n2) : await this[m2(0, c2, h2)](t2);
807
+ }
808
+ async [nt(0, "GRGJ", 796)](t2, e2) {
809
+ const n2 = "Dwx)", r2 = "ZU%M", s2 = "Gz*G";
810
+ if (!t2 && (et[i2(-298, "yl!d", -368, -375)] || et[i2(-324, "73Ur", -327, -250)])) return;
811
+ function i2(t3, e3, n3, r3, o2) {
812
+ return Q(e3, 0, 0, r3 - -1037);
785
813
  }
786
- y2 && E2(""), await this[b2(g2, m2, 776, f2, p2)](t2, e2), E2("");
814
+ et[l2(-123, -84, -72, -25, n2)] = true, et[l2(-65, -172, -136, -121, "qt7)")] = true, await this[l2(-174, -69, -88, -166, r2)](t2);
815
+ const a2 = o[l2(-92, -128, -155, -91, "1)U%")]();
816
+ function l2(t3, e3, n3, r3, o2) {
817
+ return nt(0, o2, n3 - -1016);
818
+ }
819
+ const c2 = t2 || a2 ? console[h2 = 0, d2 = s2, J(d2, 0, 0, 0, h2 - 7)] : o[l2(0, 0, -150, 0, "o1wd")];
820
+ var h2, d2;
821
+ a2 && c2(""), await this[l2(0, 0, -251, 0, "X8y^")](t2, e2), c2("");
787
822
  }
788
- [Q("cQtp", -185)]() {
789
- return this[t2 = 730, e2 = "JyVZ", q(0, e2, 0, t2 - 488)]();
823
+ [J("nSS[", 0, 0, 0, 147)]() {
824
+ return this[t2 = 532, e2 = "Dwx)", nt(0, e2, t2 - -272)]();
790
825
  var t2, e2;
791
826
  }
792
- [et(0, 0, "mbe!", 1025)](t2) {
793
- return this[e2 = 162, n2 = "dVRP", Q(n2, e2 - 172)](true, t2);
827
+ [st(0, 885, 0, "vXS1")](t2) {
828
+ return this[e2 = "B30j", n2 = 908, Q(e2, 0, 0, n2 - 268)](true, t2);
794
829
  var e2, n2;
795
830
  }
796
- [Q("g6wG", -112)]() {
797
- const t2 = "wW3d", e2 = 1199;
798
- return tt[o2 = "pOwl", s2 = -279, q(0, o2, 0, s2 - -556)] || tt[n2 = t2, r2 = e2, et(0, 0, n2, r2 - 277)];
799
- var n2, r2, o2, s2;
831
+ [Q("d2oP", 0, 0, 811)]() {
832
+ return et[n2 = "XepX", r2 = -307, J(n2, 0, 0, 0, r2 - -444)] || et[t2 = 719, e2 = "8gBq", st(0, t2 - -265, 0, e2)];
833
+ var t2, e2, n2, r2;
800
834
  }
801
- [it(0, 0, "!Z4f", 370)](t2) {
802
- rt = true;
835
+ [st(0, 859, 0, "wUSL")](t2) {
836
+ ot = true;
803
837
  }
804
- async [et(0, 0, "dVRP", 873)]() {
805
- return this[t2 = 318, e2 = "PXEZ", Q(e2, t2 - 406)](true);
838
+ async [st(0, 908, 0, "vXS1")]() {
839
+ return this[t2 = 715, e2 = "fcpF", J(e2, 0, 0, 0, t2 - 573)](true);
806
840
  var t2, e2;
807
841
  }
808
- async [et(0, 0, "ToDE", 1e3)](t2, e2) {
809
- const n2 = 806, r2 = "br8u", o2 = 1207;
810
- const s2 = await this[i2 = "[I0y", a2 = n2, q(0, i2, 0, a2 - 494)]();
811
- var i2, a2, l2, c2;
812
- return await this[l2 = 1023, c2 = r2, Q(c2, l2 - o2)](true, t2, e2), s2;
842
+ async [J("T3zR", 0, 0, 0, 37)](t2, e2) {
843
+ const n2 = 896, r2 = await this[o2 = -221, s2 = "bo@N", Q(s2, 0, 0, o2 - -1031)]();
844
+ var o2, s2, i2, a2;
845
+ return await this[i2 = "8gBq", a2 = n2, st(0, a2 - 53, 0, i2)](true, t2, e2), r2;
813
846
  }
814
- async [q(0, "&!(@", 0, 288)]() {
815
- const t2 = 48, e2 = "ToDE";
816
- var n2, r2;
817
- return await G[n2 = t2, r2 = e2, q(0, r2, 0, n2 - -123)]();
847
+ async [Y("esah", 408)]() {
848
+ const t2 = 374;
849
+ var e2, n2;
850
+ return await G[e2 = "9RO#", n2 = t2, nt(0, e2, n2 - -434)]();
818
851
  }
819
852
  }
820
- function lt() {
821
- const t2 = ["FgzxWQtcI8kawSkPnCkBW7ffWO7cS8kh", "AmomyNGhWPfeWPP7wSkwW5JcSIBcI8o1nmokWRm", "WQyHW4hcQWLGW7K", "W7OWvt9IW6f0WRaoWOHOWOLFDI7dIZOVWO/cQG", "W4uWW7nDf8kYoq", "WQGpWOFcRMWqpedcUCk1WPO", "o8oZWQzOW48Z", "qCkQWR0VWRC", "nCo9WRikcgu", "juzBW5lcU0hdVCo4j04", "vmotFMigWOLLWQHMt8kxW7RcRG", "umkUWQuvWOfVW7O", "WQZcHYmuWPbmW6S7W6S", "mSkpFmoAxgq", "CHxdK38NW7zgjSoUF8kxEW", "iSo3W5WeDhDEWR4njGOZ", "W4tdQSk+Ba", "WPNdPCkzwNldJW", "a8ovD8klpx4", "W45+WQxdS8kwd8kk", "gSkQi2q", "W50XrZThW6W", "WRZdSmkOW4S", "W7nrW5pdUcauph8", "F2zxWOFcL8kfrq", "WOjVeMC8WRLAW7CxWQbAWOe", "DSocWQnsfSoUW50Vnq/dLa", "WP4GWRldVG8", "jvhdNCoH", "rCoaqSovW6joza", "tSoBfdqpqX9ZWRhcUcLeWOG", "kJiuW5FdJ8oAa8kpiCkFW4HpWPi", "pCo9WQGmfwfwW7tcRr7dTaJdOCkp", "WQpcJmkUnMddOq", "tSkKWPddS0mWWPjNW6i", "amofCmkO", "WOzeW5RdGCkEWR3dUa", "nCobWODUWR5FWPldGq", "W6uDnYVcUSkkW6dcTSoD", "W4y6W6P3g8kL", "k8koxCoyuxldSa", "WOPeW5FdHCkzWRVdUtfbeeRdKSkcEf8", "mKhdMSolr3NdV2izWQPuW7RcJSo1W4C", "WPJcLdS+WOThW6C", "EGxdJSo7kZBdMuxcMmkW", "h8kbWQFdP17cLmoxWOldIWddIW4", "eSorBCkUpxxcH8ksE1BcQSodhW", "vmo8FhKhWOLoWPjn", "CqNdMCoCmcZdKgRcUCkOWQvg", "u8kYW6m2WPKQxqeXWRxdLq", "W6f6WQVdSSkwgmkoEWO", "WRmkn2ZcVGVcGCkg", "WOX7WP/cNKtcQ2WK", "ySovWR5Dc8oaW48", "a8oMWQbdW5qUxJqBWP7dQSk/", "WRyJW73dUHJdJq", "W4CTW7Tzbmk5", "jKzBW7FcT1NdR8obovtcVmoKsmoR", "WOKJW5ZcRW5NW57cJdfVW7ZdUG", "W7ddQCkUBv0", "WR7cKCk/W4qXWPDvW6rrW63dQaq", "bSk2m2NcPfSTWP4", "e37dH8kXFmodW6pdV8kbW7/cJwlcNG", "W4hdTMFdVSozaxNdHSoxnW", "lMNdImkZCmovW5ldUCkn", "lJuuW5xdHSoDqSkMbCkXW4rH", "WPe/WPpdVHNdKq", "W6DQWPBdVLaNW6JcQbjaW7ZdGq", "WO5WWO/cQxBcTNKLcJO", "ECk5WQGmWO1nW60VgW", "WODNruddNSo8WPW", "WRe2W5RcKGL+W7K", "WOrpW5xdPSkaWRVdSq", "WRbkDgtdO8oiWQpdImkEeH8tW7Xw", "W7/cSCkVW6CRWPXj", "WOL+A1epW58mkSoMWP7dPmkQW7yI", "WQHeWQ1LWP8TAq", "WOSPWQNdNrtdL0XQEtr4WRNdMq", "fSoAW60dvuz+WOufdJ0tBCklh0CnfW8", "W6RcSCo4WP/cTIWjW55uWPdcU8oQ", "cmoMWRPMW5uV", "WQbiWRPHWPGYF3yDWRW", "xCowW6pcHbtdIConWP3dIcS", "lZqqWRpcT8kqzmkFka", "meRdMa", "WRDaBMpdO8odWOpdRmkdcrq", "W7ddRCkJDL10kSktWOpcIW", "l8kPmwddQMqHWPJcISkOWRfGiSkZWPJdVG", "C8kpWQ90WOPtWOJdMLxdSmkoW4FdOa", "W6f8WRJdT8krcmkTBGeRs8kK", "WQrsyXKIWOa", "WRZcGCkLngddSCke", "WOTFCMZdPmoqWPtdVCkygHGlW6O", "hftcKc97WRnijmoVx8kVEMu", "WQRcKCkWogBdSa", "W5ddQ1hdJI/cJCo7WOfYDmoUW7KL", "WR9vWRHWWOmY", "v8otq8owW65puCopW7tcJvygWRi", "WR4YW53cGXHWW7NcNsTOW7BdPSoL", "W6JcHmoeW7rqWQFcUXKSWOW5WPSJ", "nCkViMxcPfW", "W77dN8oXnhZdQmkBWQldNW", "iejbW7JcU0FdJmoJiLpcPSo1sq", "g0VcJSoTxx3dSM8HWRWgW7RcL8o/W4ODW7hcTtVdHG", "WPtdPSkDuxtdICoZFmovWPrNox4", "WRKgnx3cPqRcGCk+s8ke", "WRxdIvfvWQNcJrddSZ5Xm8k9", "iSo3W5WczgPtWRmLna", "DbXuWQvDlG", "jffkW7pcPfa", "W5WIkabrWODplSonWRddMmk8W5S", "DmkQW6eODgTtWQK", "mCoGW4eNBq", "pmkvWRFcL0HBW4lcImkfccLQBJtdOHldIvyl", "W6tdVmk2uebQga", "WPtcLdy2WPzmW68gW6O", "W7pdQ8kTAub0ga", "BmoBvZaBwXLYWQq", "wmo2WOS", "W4boW4ldSdOj", "WQRdS8k5W5FdSh85W6bdWRdcNmobW4W", "fhldImk2DCkr", "rSoxwCoZW65e", "omkmr8o2v3tdU8ok", "AmovrXqpubnXWQtcPs9fWPu", "WQuNW4/cTbrGW4VcHcTP", "j1TFW7/cReW", "pfFdOmoMvNu", "pfFdQ8o/u3W", "WRjRBvKiW4C9g8o6WPNdR8kS", "WOvoW5ddS8kcWRpdUda", "W6ldVMpdQCoiAcZcMSkz", "yCovWR5+f8ofW5aLhWVdKJO", "emoMWQX1", "WPPHWPRcN2FcSu8LeIe", "WQjoBhddR8oIWQy", "W6LFW5ZdRde7jq", "AmkGW6KmWO1kW6K1dxbpW4inetrzlCocW4u", "mLfaW7VcT0BdUq", "WRikiLZcRG3cHCkCqSko", "g8oLW6NcMqJdR8oA", "ymoPFrOTfmkM", "qCkjnmoWBZpdP8k0s3/cJmoemW", "n13cKIm", "WPZdSmkOW4VdT3S+W7P8WQZdLCoFW53cJSoVrYn9W5KvW5xcH8o/iuy", "ku8lWQDbj1SnwG", "W74aW65oeCkOjsNcVq", "iCo3W54JBxfcWR87bbeJtCkS", "EmoWWO/cLgapw8kWW7DNWRBcUImKcmoCdSo6WOe", "awRdMSk3", "FCo3WPRcKgivwSkWW552WQxcTJ8YcCoCcSoXW5HnvSo+D8owuW5a", "hSkWhgpcQuKKWP7cQ8kNWRzGuCkmWO/dRSoljG", "WRBcHYmuWOXjW74MW6hdTxjps1ayWOxcQgC", "WPLNWPlcG2FcHN04bYbRdW", "fxddHmk+CmoFW4a", "W7BdVMtdPComnM4", "WRhdLmkaWOazW7FdQYSAWOqDWOWL", "pCkyWRBcH19g", "WObMWRxcGNFcPW", "W43dTwhdQ8omkw/cLmosiCkfW5ebka", "wCodW7hcPHldK8o0WOddMsC", "WOrsW6BdSCknWR4", "CXRdJmoY", "WQ5aWRDQWPmZsK8rWQVcK8oglq", "W6hdO2FdO8osoq", "vqpdGmoZmcVdLxRcHa", "WRxdKmkDWQivW7W", "mSkeBtyyrYfM", "BmoDvZqzqbnkWRxcTq", "WPLtW4RdQG", "WOxcMderWO0i", "W7FdR3BdUmoum1ZdNCocjG", "WPldOSkhxNJdL8oqxSooWPn9kh9J", "W7znW6BdUdGunW", "jKhdMSofw3pdTMG8WQPTW6ZcNG", "oCktvwWhWOL2WQO", "qSowW6pcKr7dG8ogWPNdMsBdOZFdJG", "zbZdP8oNr2xdSNu", "EJaMW4uZ", "WOvWWPxcIMFcQG", "jSkoWPFcHf1p", "W4FcVSolbYhcJ8oxs8oXWRT2fq", "zmorqdaExWvrWQlcPs5FWOpcRa", "WRJdQmotC3JdMmogymopWP8Zf39+", "wCoaWRHvdmoy", "W7nBW57dVIav", "rW9BWQ5aiKKEEW", "WQJcKCkZW48/WRy", "fCo4W7HyW5aFW48wouCHW7C", "W5zqW4BdUdGunZhcSSkhWQhcJq1htCkZW58f", "WQTtsbm8WOa", "nmkdbWq+sIrtWPS", "gx7dMSkAyCosW5BdVCkCW7JcLMNcIq", "zrZdGCo3mq", "W7PqW4BdJZup", "ie3cJMH5WR94jmo+vSk1", "W4y6W6P+c8k1jHlcPSosmmkY", "W45+WQpdSmklpSkoyqeGxa", "WQJcJmk0e2hdOmkeWQhdJCoYWRbzaqtcLG", "WO5WWPxcIghcO2WPkczJgCkcW6O", "WP8PWQNdLXJdLv1XEdra"];
822
- return (lt = function() {
823
- return t2;
824
- })();
825
- }
826
- const ct = new at();
827
- function ht(t2, e2) {
828
- const n2 = lt();
829
- return ht = function(e3, r2) {
830
- let o2 = n2[e3 -= 406];
831
- if (void 0 === ht.ADAQhA) {
832
- const e4 = function(t3, e5) {
833
- let n3, r3, o3 = [], s3 = 0, i3 = "";
834
- for (t3 = (function(t4) {
835
- let e6 = "", n4 = "";
836
- 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);
837
- for (let t5 = 0, r4 = e6.length; t5 < r4; t5++) n4 += "%" + ("00" + e6.charCodeAt(t5).toString(16)).slice(-2);
838
- return decodeURIComponent(n4);
839
- })(t3), r3 = 0; r3 < 256; r3++) o3[r3] = r3;
840
- 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;
841
- r3 = 0, s3 = 0;
842
- 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]);
843
- return i3;
844
- };
845
- ht.dqxchM = e4, t2 = arguments, ht.ADAQhA = true;
846
- }
847
- const s2 = e3 + n2[0], i2 = t2[s2];
848
- return i2 ? o2 = i2 : (void 0 === ht.OcOYYB && (ht.OcOYYB = true), o2 = ht.dqxchM(o2, r2), t2[s2] = o2), o2;
849
- }, ht(t2, e2);
850
- }
851
- const dt = (t2, e2) => {
853
+ const ht = new ct(), dt = (t2, e2) => {
852
854
  const n2 = [];
853
855
  for (let r2 = 0; r2 < t2.length; r2++) {
854
856
  const o2 = t2[r2];
@@ -1770,7 +1772,7 @@ function Pt(t2) {
1770
1772
  return r2[t2.argumentCallback ? t2.argumentCallback(e2) : e2];
1771
1773
  };
1772
1774
  }
1773
- function Wt(t2) {
1775
+ function Ht(t2) {
1774
1776
  return (e2, n2 = {}) => {
1775
1777
  const r2 = n2.width, o2 = r2 && t2.matchPatterns[r2] || t2.matchPatterns[t2.defaultMatchWidth], s2 = e2.match(o2);
1776
1778
  if (!s2) return null;
@@ -1786,7 +1788,7 @@ function Wt(t2) {
1786
1788
  return { value: c2, rest: e2.slice(i2.length) };
1787
1789
  };
1788
1790
  }
1789
- var Ht;
1791
+ var Wt;
1790
1792
  const Vt = { code: "en-US", formatDistance: (t2, e2, n2) => {
1791
1793
  let r2;
1792
1794
  const o2 = Dt[t2];
@@ -1802,14 +1804,14 @@ const Vt = { code: "en-US", formatDistance: (t2, e2, n2) => {
1802
1804
  return n2 + "rd";
1803
1805
  }
1804
1806
  return n2 + "th";
1805
- }, era: Pt({ values: { narrow: ["B", "A"], abbreviated: ["BC", "AD"], wide: ["Before Christ", "Anno Domini"] }, defaultWidth: "wide" }), quarter: Pt({ 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: Pt({ 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: Pt({ 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: Pt({ 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: (Ht = { matchPattern: /^(\d+)(th|st|nd|rd)?/i, parsePattern: /\d+/i, valueCallback: (t2) => parseInt(t2, 10) }, (t2, e2 = {}) => {
1806
- const n2 = t2.match(Ht.matchPattern);
1807
+ }, era: Pt({ values: { narrow: ["B", "A"], abbreviated: ["BC", "AD"], wide: ["Before Christ", "Anno Domini"] }, defaultWidth: "wide" }), quarter: Pt({ 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: Pt({ 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: Pt({ 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: Pt({ 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: (Wt = { matchPattern: /^(\d+)(th|st|nd|rd)?/i, parsePattern: /\d+/i, valueCallback: (t2) => parseInt(t2, 10) }, (t2, e2 = {}) => {
1808
+ const n2 = t2.match(Wt.matchPattern);
1807
1809
  if (!n2) return null;
1808
- const r2 = n2[0], o2 = t2.match(Ht.parsePattern);
1810
+ const r2 = n2[0], o2 = t2.match(Wt.parsePattern);
1809
1811
  if (!o2) return null;
1810
- let s2 = Ht.valueCallback ? Ht.valueCallback(o2[0]) : o2[0];
1812
+ let s2 = Wt.valueCallback ? Wt.valueCallback(o2[0]) : o2[0];
1811
1813
  return s2 = e2.valueCallback ? e2.valueCallback(s2) : s2, { value: s2, rest: t2.slice(r2.length) };
1812
- }), 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 } }, $t = (t2, e2) => {
1814
+ }), 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) => {
1813
1815
  switch (t2) {
1814
1816
  case "P":
1815
1817
  return e2.date({ width: "short" });
@@ -1820,7 +1822,7 @@ const Vt = { code: "en-US", formatDistance: (t2, e2, n2) => {
1820
1822
  default:
1821
1823
  return e2.date({ width: "full" });
1822
1824
  }
1823
- }, jt = (t2, e2) => {
1825
+ }, $t = (t2, e2) => {
1824
1826
  switch (t2) {
1825
1827
  case "p":
1826
1828
  return e2.time({ width: "short" });
@@ -1831,9 +1833,9 @@ const Vt = { code: "en-US", formatDistance: (t2, e2, n2) => {
1831
1833
  default:
1832
1834
  return e2.time({ width: "full" });
1833
1835
  }
1834
- }, Gt = { p: jt, P: (t2, e2) => {
1836
+ }, Gt = { p: $t, P: (t2, e2) => {
1835
1837
  const n2 = t2.match(/(P+)(p+)?/) || [], r2 = n2[1], o2 = n2[2];
1836
- if (!o2) return $t(t2, e2);
1838
+ if (!o2) return jt(t2, e2);
1837
1839
  let s2;
1838
1840
  switch (r2) {
1839
1841
  case "P":
@@ -1848,20 +1850,20 @@ const Vt = { code: "en-US", formatDistance: (t2, e2, n2) => {
1848
1850
  default:
1849
1851
  s2 = e2.dateTime({ width: "full" });
1850
1852
  }
1851
- return s2.replace("{{date}}", $t(r2, e2)).replace("{{time}}", jt(o2, e2));
1852
- } }, Ut = /^D+$/, Jt = /^Y+$/, qt = ["D", "DD", "YY", "YYYY"];
1853
+ return s2.replace("{{date}}", jt(r2, e2)).replace("{{time}}", $t(o2, e2));
1854
+ } }, Ut = /^D+$/, qt = /^Y+$/, Jt = ["D", "DD", "YY", "YYYY"];
1853
1855
  function Kt(t2) {
1854
1856
  return Ut.test(t2);
1855
1857
  }
1856
1858
  function Xt(t2) {
1857
- return Jt.test(t2);
1859
+ return qt.test(t2);
1858
1860
  }
1859
1861
  function Yt(t2, e2, n2) {
1860
1862
  const r2 = (function(t3, e3, n3) {
1861
1863
  const r3 = "Y" === t3[0] ? "years" : "days of the month";
1862
1864
  return `Use \`${t3.toLowerCase()}\` instead of \`${t3}\` (in \`${e3}\`) for formatting ${r3} to the input \`${n3}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
1863
1865
  })(t2, e2, n2);
1864
- if (console.warn(r2), qt.includes(t2)) throw new RangeError(r2);
1866
+ if (console.warn(r2), Jt.includes(t2)) throw new RangeError(r2);
1865
1867
  }
1866
1868
  const Qt = Symbol.for("constructDateFrom");
1867
1869
  function Zt(t2, e2) {
@@ -2144,8 +2146,8 @@ function Le(t2, e2) {
2144
2146
  function ze(t2, e2) {
2145
2147
  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));
2146
2148
  }
2147
- var Pe = [["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"]], He = { 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"秒 "' }, Ve = { 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 }, $e = { 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\\);_("$"* "-"??_);_(@_)' };
2148
- function je(t2, e2, n2) {
2149
+ var Pe = [["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"]], We = { 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"秒 "' }, Ve = { 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\\);_("$"* "-"??_);_(@_)' };
2150
+ function $e(t2, e2, n2) {
2149
2151
  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;
2150
2152
  if (h2 > e2 && (c2 > e2 ? (h2 = l2, a2 = s2) : (h2 = c2, a2 = i2)), !n2) return [0, r2 * a2, h2];
2151
2153
  var u2 = Math.floor(r2 * a2 / h2);
@@ -2168,10 +2170,10 @@ function Ge(t2, e2, n2) {
2168
2170
  }
2169
2171
  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;
2170
2172
  }
2171
- var Ue = new Date(1899, 11, 31, 0, 0, 0), Je = Ue.getTime(), qe = new Date(1900, 2, 1, 0, 0, 0);
2173
+ var Ue = new Date(1899, 11, 31, 0, 0, 0), qe = Ue.getTime(), Je = new Date(1900, 2, 1, 0, 0, 0);
2172
2174
  function Ke(t2, e2 = false) {
2173
2175
  var n2 = t2.getTime();
2174
- return e2 ? n2 -= 1262304e5 : t2 >= qe && (n2 += 864e5), (n2 - (Je + 6e4 * (t2.getTimezoneOffset() - Ue.getTimezoneOffset()))) / 864e5;
2176
+ return e2 ? n2 -= 1262304e5 : t2 >= Je && (n2 += 864e5), (n2 - (qe + 6e4 * (t2.getTimezoneOffset() - Ue.getTimezoneOffset()))) / 864e5;
2175
2177
  }
2176
2178
  function Xe(t2) {
2177
2179
  return -1 === t2.indexOf(".") ? t2 : t2.replace(/(?:\.0*|(\.\d*[1-9])0+)$/, "$1");
@@ -2226,11 +2228,11 @@ function Ze(t2, e2, n2, r2) {
2226
2228
  o2 = n2.m, c2 = e2.length;
2227
2229
  break;
2228
2230
  case 3:
2229
- return We[n2.m - 1][1];
2231
+ return He[n2.m - 1][1];
2230
2232
  case 5:
2231
- return We[n2.m - 1][0];
2233
+ return He[n2.m - 1][0];
2232
2234
  default:
2233
- return We[n2.m - 1][2];
2235
+ return He[n2.m - 1][2];
2234
2236
  }
2235
2237
  break;
2236
2238
  case 100:
@@ -2401,8 +2403,8 @@ function un(t2, e2, n2) {
2401
2403
  }));
2402
2404
  if (e2.match(an)) return "(" + (o2 = un(t2, "##########", n2)).substr(0, 3) + ") " + o2.substr(3, 3) + "-" + o2.substr(6);
2403
2405
  var h2 = "";
2404
- if (s2 = e2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(s2[4].length, 7), a2 = je(l2, Math.pow(10, i2) - 1, false), o2 = "" + c2, " " === (h2 = fn("n", s2[1], a2[1])).charAt(h2.length - 1) && (h2 = h2.substr(0, h2.length - 1) + "0"), o2 += h2 + s2[2] + "/" + s2[3], (h2 = De(a2[2], i2)).length < s2[4].length && (h2 = ln(s2[4].substr(s2[4].length - h2.length)) + h2), o2 += h2;
2405
- if (s2 = e2.match(/[#0?] ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), a2 = je(l2, Math.pow(10, i2) - 1, true), c2 + un(t2, e2.substring(0, s2.index + 1), a2[0]) + " " + (a2[1] ? Oe(a2[1], i2) + s2[2] + "/" + s2[3] + De(a2[2], i2) : Ne(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2406
+ if (s2 = e2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(s2[4].length, 7), a2 = $e(l2, Math.pow(10, i2) - 1, false), o2 = "" + c2, " " === (h2 = fn("n", s2[1], a2[1])).charAt(h2.length - 1) && (h2 = h2.substr(0, h2.length - 1) + "0"), o2 += h2 + s2[2] + "/" + s2[3], (h2 = De(a2[2], i2)).length < s2[4].length && (h2 = ln(s2[4].substr(s2[4].length - h2.length)) + h2), o2 += h2;
2407
+ if (s2 = e2.match(/[#0?] ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), a2 = $e(l2, Math.pow(10, i2) - 1, true), c2 + un(t2, e2.substring(0, s2.index + 1), a2[0]) + " " + (a2[1] ? Oe(a2[1], i2) + s2[2] + "/" + s2[3] + De(a2[2], i2) : Ne(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2406
2408
  if (s2 = e2.match(/^[#0?]+$/)) return o2 = Le(n2, 0), e2.length <= o2.length ? o2 : ln(e2.substr(0, e2.length - o2.length)) + o2;
2407
2409
  if (s2 = e2.match(/^([#0?]+)\.([#0]+)$/)) {
2408
2410
  o2 = "" + n2.toFixed(Math.min(s2[2].length, 10)).replace(/([^0])0+$/, "$1"), i2 = o2.indexOf(".");
@@ -2481,8 +2483,8 @@ function mn(t2, e2, n2) {
2481
2483
  }));
2482
2484
  if (e2.match(an)) return "(" + (o2 = mn(t2, "##########", n2)).substr(0, 3) + ") " + o2.substr(3, 3) + "-" + o2.substr(6);
2483
2485
  var h2 = "";
2484
- if (s2 = e2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(s2[4].length, 7), a2 = je(l2, Math.pow(10, i2) - 1, false), o2 = "" + c2, " " === (h2 = fn("n", s2[1], a2[1])).charAt(h2.length - 1) && (h2 = h2.substr(0, h2.length - 1) + "0"), o2 += h2 + s2[2] + "/" + s2[3], (h2 = De(a2[2], i2)).length < s2[4].length && (h2 = ln(s2[4].substr(s2[4].length - h2.length)) + h2), o2 += h2;
2485
- if (s2 = e2.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), c2 + ((a2 = je(l2, Math.pow(10, i2) - 1, true))[0] || (a2[1] ? "" : "0")) + " " + (a2[1] ? Oe(a2[1], i2) + s2[2] + "/" + s2[3] + De(a2[2], i2) : Ne(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2486
+ if (s2 = e2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(s2[4].length, 7), a2 = $e(l2, Math.pow(10, i2) - 1, false), o2 = "" + c2, " " === (h2 = fn("n", s2[1], a2[1])).charAt(h2.length - 1) && (h2 = h2.substr(0, h2.length - 1) + "0"), o2 += h2 + s2[2] + "/" + s2[3], (h2 = De(a2[2], i2)).length < s2[4].length && (h2 = ln(s2[4].substr(s2[4].length - h2.length)) + h2), o2 += h2;
2487
+ if (s2 = e2.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), c2 + ((a2 = $e(l2, Math.pow(10, i2) - 1, true))[0] || (a2[1] ? "" : "0")) + " " + (a2[1] ? Oe(a2[1], i2) + s2[2] + "/" + s2[3] + De(a2[2], i2) : Ne(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2486
2488
  if (s2 = e2.match(/^[#0?]+$/)) return o2 = "" + n2, e2.length <= o2.length ? o2 : ln(e2.substr(0, e2.length - o2.length)) + o2;
2487
2489
  if (s2 = e2.match(/^([#0]+)\.([#0]+)$/)) {
2488
2490
  o2 = "" + n2.toFixed(Math.min(s2[2].length, 10)).replace(/([^0])0+$/, "$1"), i2 = o2.indexOf(".");
@@ -2634,7 +2636,7 @@ function En(t2, e2, n2) {
2634
2636
  r2 = "m/d/yy" === t2 && n2.dateNF ? n2.dateNF : t2;
2635
2637
  break;
2636
2638
  case "number":
2637
- null == (r2 = 14 === t2 && n2.dateNF ? n2.dateNF : (null != n2.table ? n2.table : He)[t2]) && (r2 = n2.table && n2.table[Ve[t2]] || He[Ve[t2]]), null == r2 && (r2 = $e[t2] || "General");
2639
+ null == (r2 = 14 === t2 && n2.dateNF ? n2.dateNF : (null != n2.table ? n2.table : We)[t2]) && (r2 = n2.table && n2.table[Ve[t2]] || We[Ve[t2]]), null == r2 && (r2 = je[t2] || "General");
2638
2640
  }
2639
2641
  if (ze(r2, 0)) return Qe(e2, n2);
2640
2642
  Me(e2) && (e2 = Ke(e2, n2.date1904));
@@ -2871,20 +2873,20 @@ function En(t2, e2, n2) {
2871
2873
  function Cn(t2, e2) {
2872
2874
  if ("number" != typeof e2) {
2873
2875
  e2 = +e2 || -1;
2874
- for (var n2 = 0; n2 < 392; ++n2) if (void 0 !== He[n2]) {
2875
- if (He[n2] === t2) {
2876
+ for (var n2 = 0; n2 < 392; ++n2) if (void 0 !== We[n2]) {
2877
+ if (We[n2] === t2) {
2876
2878
  e2 = n2;
2877
2879
  break;
2878
2880
  }
2879
2881
  } else e2 < 0 && (e2 = n2);
2880
2882
  e2 < 0 && (e2 = 391);
2881
2883
  }
2882
- return He[e2] = t2, e2;
2884
+ return We[e2] = t2, e2;
2883
2885
  }
2884
- const bn = { format: En, dateNumLocal: Ke, load: Cn, split_fmt: pn, _table: He, load_table: function(t2) {
2886
+ const bn = { format: En, dateNumLocal: Ke, load: Cn, split_fmt: pn, _table: We, load_table: function(t2) {
2885
2887
  for (var e2 = 0; 392 !== e2; ++e2) void 0 !== t2[e2] && Cn(t2[e2], e2);
2886
2888
  }, parse_date_code: Ge, is_date: Sn, get_table: function() {
2887
- return bn._table = He;
2889
+ return bn._table = We;
2888
2890
  } }, vn = "\\s*([-]?[0-9e]*[.]?[0-9]+)", xn = new RegExp(`^rgb\\(${vn},${vn},${vn}\\)$`), In = new RegExp(`^rgba\\(${vn},${vn},${vn},${vn}\\)$`), Rn = new RegExp(`^lrgb\\(${vn},${vn},${vn}\\)$`), An = new RegExp(`^lrgba\\(${vn},${vn},${vn},${vn}\\)$`), Mn = new RegExp(`^hsl\\(${vn},${vn},${vn}\\)$`), Tn = new RegExp(`^hsla\\(${vn},${vn},${vn},${vn}\\)$`), Nn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), Fn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), kn = new RegExp("^index(\\d+)$", "i"), On = (t2, e2, n2) => [parseFloat(t2), parseFloat(e2), parseFloat(n2)], Dn = (t2, e2 = 255) => {
2889
2891
  const n2 = [...t2];
2890
2892
  for (var r2 = 0; r2 < t2.length; r2++) n2[r2] = t2[r2] / e2;
@@ -2897,15 +2899,15 @@ const bn = { format: En, dateNumLocal: Ke, load: Cn, split_fmt: pn, _table: He,
2897
2899
  const n2 = [...t2], r2 = e2 ? 1 : 255;
2898
2900
  for (var o2 = 0; o2 < t2.length; o2++) n2[o2] = Math.max(0, Math.min(r2, t2[o2]));
2899
2901
  return n2;
2900
- }, zn = (t2) => Math.max(0, Math.min(1, t2)), Pn = (t2) => ((t2 %= 360) < 0 && (t2 -= 360), t2), Wn = (t2) => {
2902
+ }, zn = (t2) => Math.max(0, Math.min(1, t2)), Pn = (t2) => ((t2 %= 360) < 0 && (t2 -= 360), t2), Hn = (t2) => {
2901
2903
  const e2 = [...t2];
2902
2904
  for (var n2 = 0; n2 < t2.length; n2++) e2[n2] = Vn(t2[n2]);
2903
2905
  return e2;
2904
- }, Hn = (t2) => {
2906
+ }, Wn = (t2) => {
2905
2907
  const e2 = [...t2];
2906
- for (var n2 = 0; n2 < t2.length; n2++) e2[n2] = $n(t2[n2]);
2908
+ for (var n2 = 0; n2 < t2.length; n2++) e2[n2] = jn(t2[n2]);
2907
2909
  return e2;
2908
- }, Vn = (t2) => t2 < 0.04045 ? t2 / 12.92 : Math.pow((t2 + 0.055) / 1.055, 2.4), $n = (t2) => t2 < 31308e-7 ? 12.92 * t2 : 1.055 * Math.pow(t2, 1 / 2.4) - 0.055, jn = (t2) => {
2910
+ }, Vn = (t2) => t2 < 0.04045 ? t2 / 12.92 : Math.pow((t2 + 0.055) / 1.055, 2.4), jn = (t2) => t2 < 31308e-7 ? 12.92 * t2 : 1.055 * Math.pow(t2, 1 / 2.4) - 0.055, $n = (t2) => {
2909
2911
  let e2 = t2[0], n2 = t2[1], r2 = t2[2];
2910
2912
  e2 %= 360, e2 /= 360, n2 /= 100, r2 /= 100;
2911
2913
  let o2 = r2 < 0.5 ? r2 * (1 + n2) : r2 + n2 - n2 * r2, s2 = 2 * r2 - o2;
@@ -2916,68 +2918,68 @@ const bn = { format: En, dateNumLocal: Ke, load: Cn, split_fmt: pn, _table: He,
2916
2918
  const a2 = (s2 + o2) / 2;
2917
2919
  let l2 = 0;
2918
2920
  return l2 = s2 === o2 ? 0 : a2 <= 0.5 ? (s2 - o2) / (s2 + o2) : (s2 - o2) / (2 - s2 - o2), [i2, 100 * l2, 100 * a2];
2919
- }, Jn = 0, qn = 1, Kn = 2, Xn = 0, Yn = 1, Qn = 2, Zn = 0, tr = 1, er = 2, nr = (t2, e2) => {
2921
+ }, qn = 0, Jn = 1, Kn = 2, Xn = 0, Yn = 1, Qn = 2, Zn = 0, tr = 1, er = 2, nr = (t2, e2) => {
2920
2922
  let n2 = e2 / 100;
2921
2923
  return ((t3, e3) => {
2922
- let n3 = Wn(t3);
2924
+ let n3 = Hn(t3);
2923
2925
  n3[0] = e3(n3[0], n3), n3[1] = e3(n3[1], n3), n3[2] = e3(n3[2], n3);
2924
- let r2 = Hn(n3);
2926
+ let r2 = Wn(n3);
2925
2927
  return r2 = Ln(r2), r2;
2926
2928
  })(t2, (t3, e3) => t3 * n2);
2927
2929
  }, rr = 2.55, or = (t2, e2) => {
2928
2930
  const n2 = Un(t2), r2 = n2[2], s2 = o.roundAccurately((i2 = r2, (a2 = e2) > 0 ? (i2 * rr * (1 - a2) + (255 - 255 * (1 - a2))) / rr : a2 < 0 ? i2 * rr * (1 + a2) / rr : i2), 3);
2929
2931
  var i2, a2;
2930
2932
  n2[2] = s2;
2931
- let l2 = jn(n2);
2933
+ let l2 = $n(n2);
2932
2934
  return l2 = Ln(l2), l2;
2933
2935
  }, sr = (t2, e2) => {
2934
- let n2 = Wn(t2), r2 = e2 / 100;
2936
+ let n2 = Hn(t2), r2 = e2 / 100;
2935
2937
  for (var o2 = 0; o2 < 3; o2++) n2[o2] = n2[o2] * r2 + (1 - r2);
2936
- let s2 = Hn(n2);
2938
+ let s2 = Wn(n2);
2937
2939
  return s2 = Ln(s2), s2;
2938
2940
  }, ir = (t2, e2, n2) => {
2939
2941
  let r2 = Un(e2), o2 = n2 / 1;
2940
- t2 === Jn && (o2 = Pn(n2)), r2[t2] = o2;
2941
- let s2 = jn(r2);
2942
+ t2 === qn && (o2 = Pn(n2)), r2[t2] = o2;
2943
+ let s2 = $n(r2);
2942
2944
  return s2 = Ln(s2), s2;
2943
2945
  }, ar = (t2, e2, n2) => {
2944
2946
  let r2 = Un(e2);
2945
- if (t2 === Jn) {
2947
+ if (t2 === qn) {
2946
2948
  let t3 = n2 / 360;
2947
- r2[Jn] = 360 * (r2[Jn] / 360 + t3), r2[Jn] %= 360, r2[Jn] < 0 && (r2[Jn] -= 360);
2949
+ r2[qn] = 360 * (r2[qn] / 360 + t3), r2[qn] %= 360, r2[qn] < 0 && (r2[qn] -= 360);
2948
2950
  } else {
2949
2951
  let e3 = n2 / 0.1;
2950
2952
  r2[t2] = 0.1 * (r2[t2] / 0.1 + e3);
2951
2953
  }
2952
- let o2 = jn(r2);
2954
+ let o2 = $n(r2);
2953
2955
  return o2 = Ln(o2), o2;
2954
2956
  }, lr = (t2, e2, n2) => {
2955
2957
  let r2 = Un(e2), o2 = n2 / 100;
2956
- r2[t2] = r2[t2] * o2, t2 === Jn && (r2[Jn] = Pn(r2[Jn]));
2957
- let s2 = jn(r2);
2958
+ r2[t2] = r2[t2] * o2, t2 === qn && (r2[qn] = Pn(r2[qn]));
2959
+ let s2 = $n(r2);
2958
2960
  return s2 = Ln(s2), s2;
2959
2961
  }, cr = (t2, e2, n2, r2) => {
2960
- let o2 = Wn(e2), s2 = n2 / 100;
2962
+ let o2 = Hn(e2), s2 = n2 / 100;
2961
2963
  r2 === Zn ? o2[t2] = s2 : r2 === tr ? o2[t2] += s2 : r2 === er && (o2[t2] *= s2);
2962
- let i2 = Hn(o2);
2964
+ let i2 = Wn(o2);
2963
2965
  return i2 = Ln(i2), i2;
2964
2966
  }, hr = (t2) => {
2965
- let e2 = Wn(t2), n2 = 0.213 * e2[Xn] + 0.715 * e2[Yn] + 0.072 * e2[Qn];
2967
+ let e2 = Hn(t2), n2 = 0.213 * e2[Xn] + 0.715 * e2[Yn] + 0.072 * e2[Qn];
2966
2968
  e2[0] = n2, e2[1] = n2, e2[2] = n2;
2967
- let r2 = Hn(e2);
2969
+ let r2 = Wn(e2);
2968
2970
  return r2 = Ln(r2), r2;
2969
2971
  }, dr = (t2) => {
2970
2972
  let e2 = Un(t2);
2971
- e2[Jn] += 180, e2[Jn] %= 360, e2[Jn] < 0 && (e2[Jn] -= 360);
2972
- let n2 = jn(e2);
2973
+ e2[qn] += 180, e2[qn] %= 360, e2[qn] < 0 && (e2[qn] -= 360);
2974
+ let n2 = $n(e2);
2973
2975
  return n2 = Ln(n2), n2;
2974
2976
  }, ur = (t2, e2 = true) => {
2975
- let n2 = e2 ? Wn(t2) : [...t2];
2977
+ let n2 = e2 ? Hn(t2) : [...t2];
2976
2978
  const r2 = e2 ? 1 : 255;
2977
- return n2[0] = r2 - n2[0], n2[1] = r2 - n2[1], n2[2] = r2 - n2[2], e2 && (n2 = Hn(n2)), n2 = Ln(n2, e2), n2;
2979
+ return n2[0] = r2 - n2[0], n2[1] = r2 - n2[1], n2[2] = r2 - n2[2], e2 && (n2 = Wn(n2)), n2 = Ln(n2, e2), n2;
2978
2980
  }, gr = (t2) => {
2979
2981
  const e2 = [0, 0, 0];
2980
- e2[0] = $n(t2[0]), e2[1] = $n(t2[1]), e2[2] = $n(t2[2]);
2982
+ e2[0] = jn(t2[0]), e2[1] = jn(t2[1]), e2[2] = jn(t2[2]);
2981
2983
  return Ln(e2);
2982
2984
  }, mr = (t2) => {
2983
2985
  const e2 = [0, 0, 0];
@@ -3119,13 +3121,13 @@ const Ar = () => Rr || (Rr = Intl.DateTimeFormat().resolvedOptions().locale ?? "
3119
3121
  void 0 !== n2 && (e2 = xr(n2).toString());
3120
3122
  }
3121
3123
  return e2;
3122
- }, Lr = "=", zr = "<>", Pr = ">", Wr = "<", Hr = ">=", Vr = "<=", $r = /* @__PURE__ */ new Map();
3123
- $r.set(Lr, (t2, e2) => t2 === e2), $r.set(zr, (t2, e2) => t2 !== e2), $r.set(Pr, (t2, e2) => t2 > e2), $r.set(Wr, (t2, e2) => t2 < e2), $r.set(Hr, (t2, e2) => t2 >= e2), $r.set(Vr, (t2, e2) => t2 <= e2);
3124
- const jr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Gr = /(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)/i, Ur = /\[(.*?)\]/g, Jr = (t2, e2) => {
3124
+ }, Lr = "=", zr = "<>", Pr = ">", Hr = "<", Wr = ">=", Vr = "<=", jr = /* @__PURE__ */ new Map();
3125
+ jr.set(Lr, (t2, e2) => t2 === e2), 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);
3126
+ const $r = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Gr = /(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)/i, Ur = /\[(.*?)\]/g, qr = (t2, e2) => {
3125
3127
  const n2 = { color: null, condition: null };
3126
3128
  let r2 = null, o2 = new RegExp(Ur);
3127
3129
  for (; null !== (r2 = o2.exec(t2)); ) {
3128
- let e3 = false, o3 = jr.exec(r2[1]);
3130
+ let e3 = false, o3 = $r.exec(r2[1]);
3129
3131
  if (o3) {
3130
3132
  if (e3 = true, n2.color) throw new Error(`format error, two colors specified: '${t2}' and '${n2.color}'.`);
3131
3133
  n2.color = Br(o3[1]), n2.color || console.warn("Unable to parse LegacyColor", o3[1]);
@@ -3138,14 +3140,14 @@ const jr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Gr =
3138
3140
  if (!e3) return n2;
3139
3141
  }
3140
3142
  return n2.condition || (n2.condition = e2), n2;
3141
- }, qr = Object.freeze({ op: Hr, comp: 0 }), Kr = Object.freeze({ op: Wr, comp: 0 }), Xr = Object.freeze({ op: Pr, comp: 0 }), Yr = Object.freeze({ op: Lr, comp: 0 }), Qr = (t2, e2) => {
3143
+ }, Jr = Object.freeze({ op: Wr, comp: 0 }), Kr = Object.freeze({ op: Hr, comp: 0 }), Xr = Object.freeze({ op: Pr, comp: 0 }), Yr = Object.freeze({ op: Lr, comp: 0 }), Qr = (t2, e2) => {
3142
3144
  let n2 = ((t3) => {
3143
3145
  if (!t3) return o.EmptyArray;
3144
3146
  const e3 = [], n3 = t3.split(";"), r3 = n3.length;
3145
3147
  for (let t4 = 0; t4 < r3; t4++) {
3146
3148
  let o2 = null;
3147
- 2 === r3 ? 0 === t4 ? o2 = qr : 1 === t4 && (o2 = Kr) : 3 !== r3 && 4 !== r3 || (o2 = 0 === t4 ? Xr : 1 === t4 ? Kr : 2 === t4 ? Yr : null);
3148
- const s3 = n3[t4], i2 = Jr(s3, o2);
3149
+ 2 === r3 ? 0 === t4 ? o2 = Jr : 1 === t4 && (o2 = Kr) : 3 !== r3 && 4 !== r3 || (o2 = 0 === t4 ? Xr : 1 === t4 ? Kr : 2 === t4 ? Yr : null);
3150
+ const s3 = n3[t4], i2 = qr(s3, o2);
3149
3151
  e3.push({ format: s3, colorAndCondition: i2 });
3150
3152
  }
3151
3153
  return e3;
@@ -3159,7 +3161,7 @@ const jr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Gr =
3159
3161
  let r3 = s2?.condition ?? void 0;
3160
3162
  if (3 === t3) return "string" == typeof e2 && s2?.color ? s2.color : null;
3161
3163
  if (r3 && "number" == typeof e2) {
3162
- if ($r.get(r3.op)(e2, r3.comp)) return s2?.color ?? null;
3164
+ if (jr.get(r3.op)(e2, r3.comp)) return s2?.color ?? null;
3163
3165
  }
3164
3166
  }
3165
3167
  }, Zr = (t2) => {
@@ -3346,7 +3348,7 @@ const Ao = (t2, e2, n2 = 1e3) => {
3346
3348
  if (void 0 === t2) return 0;
3347
3349
  let e2 = t2.toString().split(".");
3348
3350
  return e2.length <= 1 ? 0 : e2[1].length || 0;
3349
- }, Oo = new RegExp(/^["|'|`](.*)["|'|`]$/), Do = 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"), Lo = Bo(), zo = (t2) => t2 && t2.length > 1 && Oo.test(t2) && t2[0] === t2[t2.length - 1], Po = (t2) => t2.replace(Oo, "$1"), Wo = (t2, e2 = "'") => `${e2}${t2}${e2}`, Ho = (t2, e2 = void 0, n2 = void 0) => {
3351
+ }, Oo = new RegExp(/^["|'|`](.*)["|'|`]$/), Do = 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"), Lo = Bo(), zo = (t2) => t2 && t2.length > 1 && Oo.test(t2) && t2[0] === t2[t2.length - 1], Po = (t2) => t2.replace(Oo, "$1"), Ho = (t2, e2 = "'") => `${e2}${t2}${e2}`, Wo = (t2, e2 = void 0, n2 = void 0) => {
3350
3352
  let r2 = Lo;
3351
3353
  return void 0 === e2 && void 0 === n2 || (r2 = Bo(e2, n2)), t2.split(r2);
3352
3354
  }, Vo = (t2) => {
@@ -3357,17 +3359,17 @@ const Ao = (t2, e2, n2 = 1e3) => {
3357
3359
  return false;
3358
3360
  }
3359
3361
  return ("http:" === e2.protocol || "https:" === e2.protocol) && Do.test(t2);
3360
- }, $o = new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/i), jo = (t2) => !!t2.toLowerCase().startsWith("mailto:") || $o.test(t2), Go = (t2) => ((t2 >= 26 ? Go((t2 / 26 | 0) - 1) : "") + "abcdefghijklmnopqrstuvwxyz"[t2 % 26 | 0]).toUpperCase(), Uo = Object.freeze(Object.defineProperty({ __proto__: null, DefaultUnQuoteRegEx: Lo, camelToSnake: (t2) => t2 ? t2.replace(/[A-Z]/g, (t3) => `_${t3.toLowerCase()}`) : t2, capitalize: Mo, clampString: Fo, countDecimals: ko, findValidTextValue: Ao, getBaseName: (t2, e2 = false) => {
3362
+ }, jo = new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/i), $o = (t2) => !!t2.toLowerCase().startsWith("mailto:") || jo.test(t2), Go = (t2) => ((t2 >= 26 ? Go((t2 / 26 | 0) - 1) : "") + "abcdefghijklmnopqrstuvwxyz"[t2 % 26 | 0]).toUpperCase(), Uo = Object.freeze(Object.defineProperty({ __proto__: null, DefaultUnQuoteRegEx: Lo, camelToSnake: (t2) => t2 ? t2.replace(/[A-Z]/g, (t3) => `_${t3.toLowerCase()}`) : t2, capitalize: Mo, clampString: Fo, countDecimals: ko, findValidTextValue: Ao, getBaseName: (t2, e2 = false) => {
3361
3363
  if (!t2 || "string" != typeof t2) return "";
3362
3364
  const n2 = t2.split(/[\\/]/).pop() || "";
3363
3365
  if ("" === n2) return "";
3364
3366
  const r2 = To(n2), o2 = 0 === r2.length ? n2 : n2.slice(0, n2.length - r2.length - 1);
3365
3367
  return e2 ? Mo(o2, true) : o2;
3366
- }, getFileNameExtension: To, isQuoted: zo, isValidEmail: jo, isValidHttpUrl: Vo, numberToAlphabet: Go, quote: Wo, snakeToCamel: No, splitUnquoted: Ho, unquote: Po }, Symbol.toStringTag, { value: "Module" })), Jo = (t2, e2, n2, r2 = null) => {
3368
+ }, getFileNameExtension: To, isQuoted: zo, isValidEmail: $o, isValidHttpUrl: Vo, numberToAlphabet: Go, quote: Ho, snakeToCamel: No, splitUnquoted: Wo, unquote: Po }, Symbol.toStringTag, { value: "Module" })), qo = (t2, e2, n2, r2 = null) => {
3367
3369
  const o2 = (e2 || 11 * ns.getDeviceScale()) / ns.getDeviceScale(), s2 = r2?.letterSpacing || 0, i2 = t2.length;
3368
3370
  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));
3369
3371
  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 };
3370
- }, qo = () => Jo;
3372
+ }, Jo = () => qo;
3371
3373
  let Ko = "./packages/sdk/src/__tests__/fonts/";
3372
3374
  const Xo = /* @__PURE__ */ new Map(), Yo = /* @__PURE__ */ new Set(), Qo = (t2, e2, n2, r2 = null) => {
3373
3375
  const o2 = e2, s2 = Ko + n2.toLowerCase() + ".ttf";
@@ -3380,7 +3382,7 @@ const Xo = /* @__PURE__ */ new Map(), Yo = /* @__PURE__ */ new Set(), Qo = (t2,
3380
3382
  i2 = M(Ko + "calibri.ttf");
3381
3383
  } catch (t3) {
3382
3384
  }
3383
- if (!i2) return Yo.has(s2) || Yo.add(s2), qo().call(null, t2, e2, n2, r2);
3385
+ if (!i2) return Yo.has(s2) || Yo.add(s2), Jo().call(null, t2, e2, n2, r2);
3384
3386
  const a2 = `${s2}${t2}${o2}`;
3385
3387
  let l2 = Xo.get(a2);
3386
3388
  l2 || (l2 = i2.layout(t2), t2.length < 2 && Xo.set(a2, l2));
@@ -3408,7 +3410,7 @@ var ns, rs;
3408
3410
  Zo = Qo;
3409
3411
  } catch {
3410
3412
  }
3411
- return Zo || (console.warn("⚠️ FontKitFontMeasurer not available, falling back to SimpleFontMeasurer"), Zo = qo()), Zo;
3413
+ return Zo || (console.warn("⚠️ FontKitFontMeasurer not available, falling back to SimpleFontMeasurer"), Zo = Jo()), Zo;
3412
3414
  })(), es), rs.getDeviceScale = () => ts(), rs.getPanoseFallback = (t2) => {
3413
3415
  const e2 = [], n2 = t2.length;
3414
3416
  for (let r3 = 0; r3 < n2; r3 += 2) e2.push(parseInt(t2.substring(r3, r3 + 2), 16));
@@ -3959,7 +3961,7 @@ const Bs = (t2, e2 = false) => {
3959
3961
  return n2.value = t3, t3;
3960
3962
  }
3961
3963
  return i2--, e2.index = i2, n2.min = i2 >= 0 ? a2[i2].max + 1 : Number.MIN_SAFE_INTEGER, n2.max = c2 - 1, n2.value = null, null;
3962
- }, Ws = function(t2, e2, n2, r2) {
3964
+ }, Hs = function(t2, e2, n2, r2) {
3963
3965
  if (0 === t2.length) {
3964
3966
  if (null != n2 || null != r2) {
3965
3967
  const t3 = e2({ min: n2 ?? r2, max: r2 ?? n2 });
@@ -3982,8 +3984,8 @@ const Bs = (t2, e2 = false) => {
3982
3984
  const t3 = e2({ min: Math.min(a2 + 1, i2), max: i2 });
3983
3985
  if (t3 && t3.break) return t3;
3984
3986
  }
3985
- }, Hs = new RegExp("([0-9]+)$");
3986
- var Vs, $s, js, Gs, Us, Js;
3987
+ }, Ws = new RegExp("([0-9]+)$");
3988
+ var Vs, js, $s, Gs, Us, qs;
3987
3989
  ((t2) => {
3988
3990
  t2.Date = class {
3989
3991
  constructor(t3) {
@@ -4049,7 +4051,7 @@ var Vs, $s, js, Gs, Us, Js;
4049
4051
  const e2 = { value: null, template: null }, n2 = { sensitivity: "accent" };
4050
4052
  t2.Ordinal = class {
4051
4053
  _template(t3) {
4052
- const e3 = t3.match(Hs);
4054
+ const e3 = t3.match(Ws);
4053
4055
  if (!e3) return null;
4054
4056
  const n3 = e3[1], r3 = t3.lastIndexOf(n3);
4055
4057
  return -1 === r3 ? null : t3.substring(0, r3);
@@ -4064,7 +4066,7 @@ var Vs, $s, js, Gs, Us, Js;
4064
4066
  const n3 = [], r3 = t3[0];
4065
4067
  let o3 = null, s3 = null, i3 = 0;
4066
4068
  if (r3) {
4067
- const t4 = r3.match(Hs);
4069
+ const t4 = r3.match(Ws);
4068
4070
  if (t4) {
4069
4071
  o3 = t4[1], o3.startsWith("0") && (i3 = o3.length);
4070
4072
  const e4 = r3.lastIndexOf(o3);
@@ -4254,13 +4256,13 @@ var Vs, $s, js, Gs, Us, Js;
4254
4256
  for (let t4 = s3; t4 < n3; t4++) o3.push(i3(t4));
4255
4257
  return o3;
4256
4258
  };
4257
- })(Vs || (Vs = {})), $s || ($s = {}), (Gs = js || (js = {})).Type = { None: "none", Solid: "solid", Gradient: "gradient", Pattern: "pattern", Image: "pattern", Background: "background", Group: "group", Custom: "custom" }, Gs.GradientType = { Linear: "linear", Path: "path", Circular: "circular", Rect: "rect" }, Gs.TileMirror = { None: "none", Vertical: "v", Horizontal: "h", Both: "b" }, Gs.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" }, (Js = Us || (Us = {})).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" }, Js.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" }, Js.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" }, Js.Type = { Scheme: "scheme", Named: "named", Index: "index", HSL: "hsl", RGB: "rgb", LRGB: "lrgb", Hex: "hex" };
4258
- const qs = [[4290032820, 1, Us.Named.ActiveBorder, true], [4288263377, 2, Us.Named.ActiveCaption, true], [4278190080, 3, Us.Named.CaptionText, true], [4289440683, 4, Us.Named.AppWorkspace, true], [4293980400, 5, Us.Named.BtnFace, true], [4285098345, 6, Us.Named.BtnShadow, true], [4278190080, 7, Us.Named.DkShadow3d, true], [4293125091, 8, Us.Named.BtnHighlight, true], [4293125091, 9, Us.Named.Light3d, true], [4278190080, 10, Us.Named.BtnText, true], [4278190080, 11, Us.Named.Background, true], [4285361517, 12, Us.Named.GrayText, true], [4281571839, 13, Us.Named.Highlight, true], [4294967295, 14, Us.Named.HighlightText, true], [4278216396, 15, Us.Named.HotLight, true], [4294244348, 16, Us.Named.InactiveBorder, true], [4290760155, 17, Us.Named.InactiveCaption, true], [4278190080, 18, Us.Named.InactiveCaptionText, true], [4294967265, 19, Us.Named.InfoBk, true], [4278190080, 20, Us.Named.InfoText, true], [4293980400, 21, Us.Named.Menu, true], [4278190080, 22, Us.Named.MenuText, true], [4291348680, 23, Us.Named.ScrollBar, true], [4294967295, 24, Us.Named.Window, true], [4284769380, 25, Us.Named.WindowFrame, true], [4278190080, 26, Us.Named.WindowText, true], [16777215, 27, Us.Named.Transparent], [4293982463, 28, Us.Named.AliceBlue], [4294634455, 29, Us.Named.AntiqueWhite], [4278255615, 30, Us.Named.Aqua], [4286578644, 31, Us.Named.Aquamarine], [4293984255, 32, Us.Named.Azure], [4294309340, 33, Us.Named.Beige], [4294960324, 34, Us.Named.Bisque], [4278190080, 35, Us.Named.Black], [4294962125, 36, Us.Named.BlanchedAlmond], [4278190335, 37, Us.Named.Blue], [4287245282, 38, Us.Named.BlueViolet], [4289014314, 39, Us.Named.Brown], [4292786311, 40, Us.Named.BurlyWood], [4284456608, 41, Us.Named.CadetBlue], [4286578432, 42, Us.Named.Chartreuse], [4291979550, 43, Us.Named.Chocolate], [4294934352, 44, Us.Named.Coral], [4284782061, 45, Us.Named.CornflowerBlue], [4294965468, 46, Us.Named.Cornsilk], [4292613180, 47, Us.Named.Crimson], [4278255615, 48, Us.Named.Cyan], [4278190219, 49, Us.Named.DkBlue], [4278225803, 50, Us.Named.DkCyan], [4290283019, 51, Us.Named.DkGoldenrod], [4289309097, 52, Us.Named.DkGray], [4278215680, 53, Us.Named.DkGreen], [4290623339, 54, Us.Named.DkKhaki], [4287299723, 55, Us.Named.DkMagenta], [4283788079, 56, Us.Named.DkOliveGreen], [4294937600, 57, Us.Named.DkOrange], [4288230092, 58, Us.Named.DkOrchid], [4287299584, 59, Us.Named.DkRed], [4293498490, 60, Us.Named.DkSalmon], [4287609995, 61, Us.Named.DkSeaGreen], [4282924427, 62, Us.Named.DkSlateBlue], [4281290575, 63, Us.Named.DkSlateGray], [4278243025, 64, Us.Named.DkTurquoise], [4287889619, 65, Us.Named.DkViolet], [4294907027, 66, Us.Named.DeepPink], [4278239231, 67, Us.Named.DeepSkyBlue], [4285098345, 68, Us.Named.DimGray], [4280193279, 69, Us.Named.DodgerBlue], [4289864226, 70, Us.Named.Firebrick], [4294966e3, 71, Us.Named.FloralWhite], [4280453922, 72, Us.Named.ForestGreen], [4294902015, 73, Us.Named.Fuchsia], [4292664540, 74, Us.Named.Gainsboro], [4294506751, 75, Us.Named.GhostWhite], [4294956800, 76, Us.Named.Gold], [4292519200, 77, Us.Named.Goldenrod], [4286611584, 78, Us.Named.Gray], [4278222848, 79, Us.Named.Green], [4289593135, 80, Us.Named.GreenYellow], [4293984240, 81, Us.Named.Honeydew], [4294928820, 82, Us.Named.HotPink], [4291648604, 83, Us.Named.IndianRed], [4283105410, 84, Us.Named.Indigo], [4294967280, 85, Us.Named.Ivory], [4293977740, 86, Us.Named.Khaki], [4293322490, 87, Us.Named.Lavender], [4294963445, 88, Us.Named.LavenderBlush], [4286381056, 89, Us.Named.LawnGreen], [4294965965, 90, Us.Named.LemonChiffon], [4289583334, 91, Us.Named.LtBlue], [4293951616, 92, Us.Named.LtCoral], [4292935679, 93, Us.Named.LtCyan], [4294638200, 94, Us.Named.LtGoldenrodYellow], [4292072403, 95, Us.Named.LtGray], [4287688336, 96, Us.Named.LtGreen], [4294948545, 97, Us.Named.LtPink], [4294942842, 98, Us.Named.LtSalmon], [4280332970, 99, Us.Named.LtSeaGreen], [4287090426, 100, Us.Named.LtSkyBlue], [4286023833, 101, Us.Named.LtSlateGray], [4289774814, 102, Us.Named.LtSteelBlue], [4294967264, 103, Us.Named.LtYellow], [4278255360, 104, Us.Named.Lime], [4281519410, 105, Us.Named.LimeGreen], [4294635750, 106, Us.Named.Linen], [4294902015, 107, Us.Named.Magenta], [4286578688, 108, Us.Named.Maroon], [4284927402, 109, Us.Named.MedAquamarine], [4278190285, 110, Us.Named.MedBlue], [4290401747, 111, Us.Named.MedOrchid], [4287852763, 112, Us.Named.MedPurple], [4282168177, 113, Us.Named.MedSeaGreen], [4286277870, 114, Us.Named.MedSlateBlue], [4278254234, 115, Us.Named.MedSpringGreen], [4282962380, 116, Us.Named.MedTurquoise], [4291237253, 117, Us.Named.MedVioletRed], [4279834992, 118, Us.Named.MidnightBlue], [4294311930, 119, Us.Named.MintCream], [4294960353, 120, Us.Named.MistyRose], [4294960309, 121, Us.Named.Moccasin], [4294958765, 122, Us.Named.NavajoWhite], [4278190208, 123, Us.Named.Navy], [4294833638, 124, Us.Named.OldLace], [4286611456, 125, Us.Named.Olive], [4285238819, 126, Us.Named.OliveDrab], [4294944e3, 127, Us.Named.Orange], [4294919424, 128, Us.Named.OrangeRed], [4292505814, 129, Us.Named.Orchid], [4293847210, 130, Us.Named.PaleGoldenrod], [4288215960, 131, Us.Named.PaleGreen], [4289720046, 132, Us.Named.PaleTurquoise], [4292571283, 133, Us.Named.PaleVioletRed], [4294963157, 134, Us.Named.PapayaWhip], [4294957753, 135, Us.Named.PeachPuff], [4291659071, 136, Us.Named.Peru], [4294951115, 137, Us.Named.Pink], [4292714717, 138, Us.Named.Plum], [4289781990, 139, Us.Named.PowderBlue], [4286578816, 140, Us.Named.Purple], [4294901760, 141, Us.Named.Red], [4290547599, 142, Us.Named.RosyBrown], [4282477025, 143, Us.Named.RoyalBlue], [4287317267, 144, Us.Named.SaddleBrown], [4294606962, 145, Us.Named.Salmon], [4294222944, 146, Us.Named.SandyBrown], [4281240407, 147, Us.Named.SeaGreen], [4294964718, 148, Us.Named.SeaShell], [4288696877, 149, Us.Named.Sienna], [4290822336, 150, Us.Named.Silver], [4287090411, 151, Us.Named.SkyBlue], [4285160141, 152, Us.Named.SlateBlue], [4285563024, 153, Us.Named.SlateGray], [4294966010, 154, Us.Named.Snow], [4278255487, 155, Us.Named.SpringGreen], [4282811060, 156, Us.Named.SteelBlue], [4291998860, 157, Us.Named.Tan], [4278222976, 158, Us.Named.Teal], [4292394968, 159, Us.Named.Thistle], [4294927175, 160, Us.Named.Tomato], [4282441936, 161, Us.Named.Turquoise], [4293821166, 162, Us.Named.Violet], [4294303411, 163, Us.Named.Wheat], [4294967295, 164, Us.Named.White], [4294309365, 165, Us.Named.WhiteSmoke], [4294967040, 166, Us.Named.Yellow], [4288335154, 167, Us.Named.YellowGreen], [4293980400, 168, Us.Named.ButtonFace], [4294967295, 169, Us.Named.ButtonHighlight], [4288716960, 170, Us.Named.ButtonShadow], [4290367978, 171, Us.Named.GradientActiveCaption], [4292338930, 172, Us.Named.GradientInactiveCaption], [4293980400, 173, Us.Named.MenuBar], [4281571839, 174, Us.Named.MenuHighlight]];
4259
+ })(Vs || (Vs = {})), js || (js = {}), (Gs = $s || ($s = {})).Type = { None: "none", Solid: "solid", Gradient: "gradient", Pattern: "pattern", Image: "pattern", Background: "background", Group: "group", Custom: "custom" }, Gs.GradientType = { Linear: "linear", Path: "path", Circular: "circular", Rect: "rect" }, Gs.TileMirror = { None: "none", Vertical: "v", Horizontal: "h", Both: "b" }, Gs.BuiltInSheetPattern = { None: "none", Solid: "solid", DarkGray: "darkGray", MediumGray: "mediumGray", LightGray: "lightGray", Gray0625: "gray0625", Gray125: "gray125", DarkHorizontal: "darkHorizontal", DarkVertical: "darkVertical", DarkDown: "darkDown", DarkUp: "darkUp", DarkGrid: "darkGrid", DarkTrellis: "darkTrellis", LightHorizontal: "lightHorizontal", LightVertical: "lightVertical", LightDown: "lightDown", LightUp: "lightUp", LightGrid: "lightGrid", LightTrellis: "lightTrellis", Custom: "custom" }, (qs = Us || (Us = {})).AdjustmentType = { Alpha: "alpha", AlphaOff: "alphaOff", AlphaMod: "alphaMod", Hue: "hue", Sat: "sat", Lum: "lum", HueOff: "hueOff", SatOff: "satOff", LumOff: "lumOff", HueMod: "hueMod", SatMod: "satMod", LumMod: "lumMod", Red: "red", Green: "green", Blue: "blue", RedOff: "redOff", GreenOff: "greenOff", BlueOff: "blueOff", RedMod: "redMod", GreenMod: "greenMod", BlueMod: "blueMod", Shade: "shade", Tint: "tint", ETint: "eTint", Gray: "gray", Comp: "comp", Inv: "inv", Gamma: "gamma", InvGamma: "invGamma" }, qs.Named = { ActiveBorder: "activeBorder", ActiveCaption: "activeCaption", CaptionText: "captionText", AppWorkspace: "appWorkspace", BtnFace: "btnFace", BtnShadow: "btnShadow", DkShadow3d: "3dDkShadow", BtnHighlight: "btnHighlight", Light3d: "3dLight", BtnText: "btnText", Background: "background", GrayText: "grayText", Highlight: "highlight", HighlightText: "highlightText", HotLight: "hotLight", InactiveBorder: "inactiveBorder", InactiveCaption: "inactiveCaption", InactiveCaptionText: "inactiveCaptionText", InfoBk: "infoBk", InfoText: "infoText", Menu: "menu", MenuText: "menuText", ScrollBar: "scrollBar", Window: "window", WindowFrame: "windowFrame", WindowText: "windowText", Transparent: "transparent", AliceBlue: "aliceBlue", AntiqueWhite: "antiqueWhite", Aqua: "aqua", Aquamarine: "aquamarine", Azure: "azure", Beige: "beige", Bisque: "bisque", Black: "black", BlanchedAlmond: "blanchedAlmond", Blue: "blue", BlueViolet: "blueViolet", Brown: "brown", BurlyWood: "burlyWood", CadetBlue: "cadetBlue", Chartreuse: "chartreuse", Chocolate: "chocolate", Coral: "coral", CornflowerBlue: "cornflowerBlue", Cornsilk: "cornsilk", Crimson: "crimson", Cyan: "cyan", DkBlue: "dkBlue", DkCyan: "dkCyan", DkGoldenrod: "dkGoldenrod", DkGray: "dkGray", DkGreen: "dkGreen", DkKhaki: "dkKhaki", DkMagenta: "dkMagenta", DkOliveGreen: "dkOliveGreen", DkOrange: "dkOrange", DkOrchid: "dkOrchid", DkRed: "dkRed", DkSalmon: "dkSalmon", DkSeaGreen: "dkSeaGreen", DkSlateBlue: "dkSlateBlue", DkSlateGray: "dkSlateGray", DkTurquoise: "dkTurquoise", DkViolet: "dkViolet", DeepPink: "deepPink", DeepSkyBlue: "deepSkyBlue", DimGray: "dimGray", DodgerBlue: "dodgerBlue", Firebrick: "firebrick", FloralWhite: "floralWhite", ForestGreen: "forestGreen", Fuchsia: "fuchsia", Gainsboro: "gainsboro", GhostWhite: "ghostWhite", Gold: "gold", Goldenrod: "goldenrod", Gray: "gray", Green: "green", GreenYellow: "greenYellow", Honeydew: "honeydew", HotPink: "hotPink", IndianRed: "indianRed", Indigo: "indigo", Ivory: "ivory", Khaki: "khaki", Lavender: "lavender", LavenderBlush: "lavenderBlush", LawnGreen: "lawnGreen", LemonChiffon: "lemonChiffon", LtBlue: "ltBlue", LtCoral: "ltCoral", LtCyan: "ltCyan", LtGoldenrodYellow: "ltGoldenrodYellow", LtGray: "ltGray", LtGreen: "ltGreen", LtPink: "ltPink", LtSalmon: "ltSalmon", LtSeaGreen: "ltSeaGreen", LtSkyBlue: "ltSkyBlue", LtSlateGray: "ltSlateGray", LtSteelBlue: "ltSteelBlue", LtYellow: "ltYellow", Lime: "lime", LimeGreen: "limeGreen", Linen: "linen", Magenta: "magenta", Maroon: "maroon", MedAquamarine: "medAquamarine", MedBlue: "medBlue", MedOrchid: "medOrchid", MedPurple: "medPurple", MedSeaGreen: "medSeaGreen", MedSlateBlue: "medSlateBlue", MedSpringGreen: "medSpringGreen", MedTurquoise: "medTurquoise", MedVioletRed: "medVioletRed", MidnightBlue: "midnightBlue", MintCream: "mintCream", MistyRose: "mistyRose", Moccasin: "moccasin", NavajoWhite: "navajoWhite", Navy: "navy", OldLace: "oldLace", Olive: "olive", OliveDrab: "oliveDrab", Orange: "orange", OrangeRed: "orangeRed", Orchid: "orchid", PaleGoldenrod: "paleGoldenrod", PaleGreen: "paleGreen", PaleTurquoise: "paleTurquoise", PaleVioletRed: "paleVioletRed", PapayaWhip: "papayaWhip", PeachPuff: "peachPuff", Peru: "peru", Pink: "pink", Plum: "plum", PowderBlue: "powderBlue", Purple: "purple", Red: "red", RosyBrown: "rosyBrown", RoyalBlue: "royalBlue", SaddleBrown: "saddleBrown", Salmon: "salmon", SandyBrown: "sandyBrown", SeaGreen: "seaGreen", SeaShell: "seaShell", Sienna: "sienna", Silver: "silver", SkyBlue: "skyBlue", SlateBlue: "slateBlue", SlateGray: "slateGray", Snow: "snow", SpringGreen: "springGreen", SteelBlue: "steelBlue", Tan: "tan", Teal: "teal", Thistle: "thistle", Tomato: "tomato", Turquoise: "turquoise", Violet: "violet", Wheat: "wheat", White: "white", WhiteSmoke: "whiteSmoke", Yellow: "yellow", YellowGreen: "yellowGreen", ButtonFace: "buttonFace", ButtonHighlight: "buttonHighlight", ButtonShadow: "buttonShadow", GradientActiveCaption: "gradientActiveCaption", GradientInactiveCaption: "gradientInactiveCaption", MenuBar: "menuBar", MenuHighlight: "menuHighlight" }, qs.Scheme = { Bg1: "bg1", Bg2: "bg2", Tx1: "tx1", Tx2: "tx2", Accent1: "accent1", Accent2: "accent2", Accent3: "accent3", Accent4: "accent4", Accent5: "accent5", Accent6: "accent6", Hlink: "hlink", FolHlink: "folHlink" }, qs.Type = { Scheme: "scheme", Named: "named", Index: "index", HSL: "hsl", RGB: "rgb", LRGB: "lrgb", Hex: "hex" };
4260
+ const Js = [[4290032820, 1, Us.Named.ActiveBorder, true], [4288263377, 2, Us.Named.ActiveCaption, true], [4278190080, 3, Us.Named.CaptionText, true], [4289440683, 4, Us.Named.AppWorkspace, true], [4293980400, 5, Us.Named.BtnFace, true], [4285098345, 6, Us.Named.BtnShadow, true], [4278190080, 7, Us.Named.DkShadow3d, true], [4293125091, 8, Us.Named.BtnHighlight, true], [4293125091, 9, Us.Named.Light3d, true], [4278190080, 10, Us.Named.BtnText, true], [4278190080, 11, Us.Named.Background, true], [4285361517, 12, Us.Named.GrayText, true], [4281571839, 13, Us.Named.Highlight, true], [4294967295, 14, Us.Named.HighlightText, true], [4278216396, 15, Us.Named.HotLight, true], [4294244348, 16, Us.Named.InactiveBorder, true], [4290760155, 17, Us.Named.InactiveCaption, true], [4278190080, 18, Us.Named.InactiveCaptionText, true], [4294967265, 19, Us.Named.InfoBk, true], [4278190080, 20, Us.Named.InfoText, true], [4293980400, 21, Us.Named.Menu, true], [4278190080, 22, Us.Named.MenuText, true], [4291348680, 23, Us.Named.ScrollBar, true], [4294967295, 24, Us.Named.Window, true], [4284769380, 25, Us.Named.WindowFrame, true], [4278190080, 26, Us.Named.WindowText, true], [16777215, 27, Us.Named.Transparent], [4293982463, 28, Us.Named.AliceBlue], [4294634455, 29, Us.Named.AntiqueWhite], [4278255615, 30, Us.Named.Aqua], [4286578644, 31, Us.Named.Aquamarine], [4293984255, 32, Us.Named.Azure], [4294309340, 33, Us.Named.Beige], [4294960324, 34, Us.Named.Bisque], [4278190080, 35, Us.Named.Black], [4294962125, 36, Us.Named.BlanchedAlmond], [4278190335, 37, Us.Named.Blue], [4287245282, 38, Us.Named.BlueViolet], [4289014314, 39, Us.Named.Brown], [4292786311, 40, Us.Named.BurlyWood], [4284456608, 41, Us.Named.CadetBlue], [4286578432, 42, Us.Named.Chartreuse], [4291979550, 43, Us.Named.Chocolate], [4294934352, 44, Us.Named.Coral], [4284782061, 45, Us.Named.CornflowerBlue], [4294965468, 46, Us.Named.Cornsilk], [4292613180, 47, Us.Named.Crimson], [4278255615, 48, Us.Named.Cyan], [4278190219, 49, Us.Named.DkBlue], [4278225803, 50, Us.Named.DkCyan], [4290283019, 51, Us.Named.DkGoldenrod], [4289309097, 52, Us.Named.DkGray], [4278215680, 53, Us.Named.DkGreen], [4290623339, 54, Us.Named.DkKhaki], [4287299723, 55, Us.Named.DkMagenta], [4283788079, 56, Us.Named.DkOliveGreen], [4294937600, 57, Us.Named.DkOrange], [4288230092, 58, Us.Named.DkOrchid], [4287299584, 59, Us.Named.DkRed], [4293498490, 60, Us.Named.DkSalmon], [4287609995, 61, Us.Named.DkSeaGreen], [4282924427, 62, Us.Named.DkSlateBlue], [4281290575, 63, Us.Named.DkSlateGray], [4278243025, 64, Us.Named.DkTurquoise], [4287889619, 65, Us.Named.DkViolet], [4294907027, 66, Us.Named.DeepPink], [4278239231, 67, Us.Named.DeepSkyBlue], [4285098345, 68, Us.Named.DimGray], [4280193279, 69, Us.Named.DodgerBlue], [4289864226, 70, Us.Named.Firebrick], [4294966e3, 71, Us.Named.FloralWhite], [4280453922, 72, Us.Named.ForestGreen], [4294902015, 73, Us.Named.Fuchsia], [4292664540, 74, Us.Named.Gainsboro], [4294506751, 75, Us.Named.GhostWhite], [4294956800, 76, Us.Named.Gold], [4292519200, 77, Us.Named.Goldenrod], [4286611584, 78, Us.Named.Gray], [4278222848, 79, Us.Named.Green], [4289593135, 80, Us.Named.GreenYellow], [4293984240, 81, Us.Named.Honeydew], [4294928820, 82, Us.Named.HotPink], [4291648604, 83, Us.Named.IndianRed], [4283105410, 84, Us.Named.Indigo], [4294967280, 85, Us.Named.Ivory], [4293977740, 86, Us.Named.Khaki], [4293322490, 87, Us.Named.Lavender], [4294963445, 88, Us.Named.LavenderBlush], [4286381056, 89, Us.Named.LawnGreen], [4294965965, 90, Us.Named.LemonChiffon], [4289583334, 91, Us.Named.LtBlue], [4293951616, 92, Us.Named.LtCoral], [4292935679, 93, Us.Named.LtCyan], [4294638200, 94, Us.Named.LtGoldenrodYellow], [4292072403, 95, Us.Named.LtGray], [4287688336, 96, Us.Named.LtGreen], [4294948545, 97, Us.Named.LtPink], [4294942842, 98, Us.Named.LtSalmon], [4280332970, 99, Us.Named.LtSeaGreen], [4287090426, 100, Us.Named.LtSkyBlue], [4286023833, 101, Us.Named.LtSlateGray], [4289774814, 102, Us.Named.LtSteelBlue], [4294967264, 103, Us.Named.LtYellow], [4278255360, 104, Us.Named.Lime], [4281519410, 105, Us.Named.LimeGreen], [4294635750, 106, Us.Named.Linen], [4294902015, 107, Us.Named.Magenta], [4286578688, 108, Us.Named.Maroon], [4284927402, 109, Us.Named.MedAquamarine], [4278190285, 110, Us.Named.MedBlue], [4290401747, 111, Us.Named.MedOrchid], [4287852763, 112, Us.Named.MedPurple], [4282168177, 113, Us.Named.MedSeaGreen], [4286277870, 114, Us.Named.MedSlateBlue], [4278254234, 115, Us.Named.MedSpringGreen], [4282962380, 116, Us.Named.MedTurquoise], [4291237253, 117, Us.Named.MedVioletRed], [4279834992, 118, Us.Named.MidnightBlue], [4294311930, 119, Us.Named.MintCream], [4294960353, 120, Us.Named.MistyRose], [4294960309, 121, Us.Named.Moccasin], [4294958765, 122, Us.Named.NavajoWhite], [4278190208, 123, Us.Named.Navy], [4294833638, 124, Us.Named.OldLace], [4286611456, 125, Us.Named.Olive], [4285238819, 126, Us.Named.OliveDrab], [4294944e3, 127, Us.Named.Orange], [4294919424, 128, Us.Named.OrangeRed], [4292505814, 129, Us.Named.Orchid], [4293847210, 130, Us.Named.PaleGoldenrod], [4288215960, 131, Us.Named.PaleGreen], [4289720046, 132, Us.Named.PaleTurquoise], [4292571283, 133, Us.Named.PaleVioletRed], [4294963157, 134, Us.Named.PapayaWhip], [4294957753, 135, Us.Named.PeachPuff], [4291659071, 136, Us.Named.Peru], [4294951115, 137, Us.Named.Pink], [4292714717, 138, Us.Named.Plum], [4289781990, 139, Us.Named.PowderBlue], [4286578816, 140, Us.Named.Purple], [4294901760, 141, Us.Named.Red], [4290547599, 142, Us.Named.RosyBrown], [4282477025, 143, Us.Named.RoyalBlue], [4287317267, 144, Us.Named.SaddleBrown], [4294606962, 145, Us.Named.Salmon], [4294222944, 146, Us.Named.SandyBrown], [4281240407, 147, Us.Named.SeaGreen], [4294964718, 148, Us.Named.SeaShell], [4288696877, 149, Us.Named.Sienna], [4290822336, 150, Us.Named.Silver], [4287090411, 151, Us.Named.SkyBlue], [4285160141, 152, Us.Named.SlateBlue], [4285563024, 153, Us.Named.SlateGray], [4294966010, 154, Us.Named.Snow], [4278255487, 155, Us.Named.SpringGreen], [4282811060, 156, Us.Named.SteelBlue], [4291998860, 157, Us.Named.Tan], [4278222976, 158, Us.Named.Teal], [4292394968, 159, Us.Named.Thistle], [4294927175, 160, Us.Named.Tomato], [4282441936, 161, Us.Named.Turquoise], [4293821166, 162, Us.Named.Violet], [4294303411, 163, Us.Named.Wheat], [4294967295, 164, Us.Named.White], [4294309365, 165, Us.Named.WhiteSmoke], [4294967040, 166, Us.Named.Yellow], [4288335154, 167, Us.Named.YellowGreen], [4293980400, 168, Us.Named.ButtonFace], [4294967295, 169, Us.Named.ButtonHighlight], [4288716960, 170, Us.Named.ButtonShadow], [4290367978, 171, Us.Named.GradientActiveCaption], [4292338930, 172, Us.Named.GradientInactiveCaption], [4293980400, 173, Us.Named.MenuBar], [4281571839, 174, Us.Named.MenuHighlight]];
4259
4261
  const Ks = new class {
4260
4262
  constructor() {
4261
4263
  this._lookupByName = /* @__PURE__ */ new Map();
4262
- for (let t2 = 0; t2 < qs.length; t2++) {
4263
- 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 };
4264
+ for (let t2 = 0; t2 < Js.length; t2++) {
4265
+ 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 };
4264
4266
  this._lookupByName.set(a2.name.toLowerCase(), a2);
4265
4267
  }
4266
4268
  }
@@ -4297,14 +4299,14 @@ const Qs = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], a
4297
4299
  let e3 = t2.match(Rn) || t2.match(An);
4298
4300
  if (e3) {
4299
4301
  let t3 = On(e3[1], e3[2], e3[3]);
4300
- t3 = Dn(t3, 100), t3 = Hn(t3), t3 = Ln(t3), o2 = { srgb: t3, alpha: e3[4] ? zn(parseFloat(e3[4])) : 1 }, a2 = Us.Type.LRGB;
4302
+ t3 = Dn(t3, 100), t3 = Wn(t3), t3 = Ln(t3), o2 = { srgb: t3, alpha: e3[4] ? zn(parseFloat(e3[4])) : 1 }, a2 = Us.Type.LRGB;
4301
4303
  }
4302
4304
  }
4303
4305
  if (null === o2) {
4304
4306
  let e3 = t2.match(Mn) || t2.match(Tn);
4305
4307
  if (e3) {
4306
4308
  let t3 = On(e3[1], e3[2], e3[3]);
4307
- t3 = jn(t3), t3 = Ln(t3), o2 = { srgb: t3, alpha: e3[4] ? zn(parseFloat(e3[4])) : 1 }, a2 = Us.Type.HSL;
4309
+ t3 = $n(t3), t3 = Ln(t3), o2 = { srgb: t3, alpha: e3[4] ? zn(parseFloat(e3[4])) : 1 }, a2 = Us.Type.HSL;
4308
4310
  }
4309
4311
  }
4310
4312
  if (null === o2) {
@@ -4369,10 +4371,10 @@ class ai {
4369
4371
  const s3 = (t4) => Math.round(Math.max(0, Math.min(255, t4))), i2 = t3[0], a2 = t3[1], l2 = t3[2];
4370
4372
  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)];
4371
4373
  })(n2, 180), n2 = ur(n2, false);
4372
- let r2 = Wn(n2);
4374
+ let r2 = Hn(n2);
4373
4375
  const o2 = Un(r2);
4374
- if (o2[Kn] = 0.95 * o2[Kn], r2 = jn(o2), n2 = Hn(r2), n2 = Bn(n2), n2 = Ln(n2, false), t2) return new wr.RGBA(n2[0], n2[1], n2[2], e2.alpha);
4375
- const s2 = Un(Wn(n2));
4376
+ if (o2[Kn] = 0.95 * o2[Kn], r2 = $n(o2), n2 = Wn(r2), n2 = Bn(n2), n2 = Ln(n2, false), t2) return new wr.RGBA(n2[0], n2[1], n2[2], e2.alpha);
4377
+ const s2 = Un(Hn(n2));
4376
4378
  return new wr.HSLA(s2[0], s2[1], s2[2], e2.alpha);
4377
4379
  }
4378
4380
  _resolve() {
@@ -4387,7 +4389,7 @@ class ai {
4387
4389
  const o2 = e3 ? e3.length : 0;
4388
4390
  for (var s2 = 0; s2 < o2; s2++) {
4389
4391
  const t4 = e3[s2], o3 = Object.keys(t4)[0], i2 = t4[o3];
4390
- o3 === Us.AdjustmentType.Alpha ? (r3 = i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : o3 === Us.AdjustmentType.AlphaOff ? (r3 += i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : o3 === Us.AdjustmentType.AlphaMod ? (r3 *= i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : o3 === Us.AdjustmentType.Hue ? n3 = ir(Jn, n3, i2) : o3 === Us.AdjustmentType.Sat ? n3 = ir(qn, n3, i2) : o3 === Us.AdjustmentType.Lum ? n3 = ir(Kn, n3, i2) : o3 === Us.AdjustmentType.HueOff ? n3 = ar(Jn, n3, i2) : o3 === Us.AdjustmentType.SatOff ? n3 = ar(qn, n3, i2) : o3 === Us.AdjustmentType.LumOff ? n3 = ar(Kn, n3, i2) : o3 === Us.AdjustmentType.HueMod ? n3 = lr(Jn, n3, i2) : o3 === Us.AdjustmentType.SatMod ? n3 = lr(qn, n3, i2) : o3 === Us.AdjustmentType.LumMod ? n3 = lr(Kn, n3, i2) : o3 === Us.AdjustmentType.Red ? n3 = cr(Xn, n3, i2, Zn) : o3 === Us.AdjustmentType.Green ? n3 = cr(Yn, n3, i2, Zn) : o3 === Us.AdjustmentType.Blue ? n3 = cr(Qn, n3, i2, Zn) : o3 === Us.AdjustmentType.RedOff ? n3 = cr(Xn, n3, i2, tr) : o3 === Us.AdjustmentType.GreenOff ? n3 = cr(Yn, n3, i2, tr) : o3 === Us.AdjustmentType.BlueOff ? n3 = cr(Qn, n3, i2, tr) : o3 === Us.AdjustmentType.RedMod ? n3 = cr(Xn, n3, i2, er) : o3 === Us.AdjustmentType.GreenMod ? n3 = cr(Yn, n3, i2, er) : o3 === Us.AdjustmentType.BlueMod ? n3 = cr(Qn, n3, i2, er) : o3 === Us.AdjustmentType.Shade ? n3 = nr(n3, i2) : o3 === Us.AdjustmentType.Tint ? n3 = sr(n3, i2) : o3 === Us.AdjustmentType.ETint ? n3 = or(n3, i2) : o3 === Us.AdjustmentType.Gray ? n3 = hr(n3) : o3 === Us.AdjustmentType.Comp ? n3 = dr(n3) : o3 === Us.AdjustmentType.Inv ? n3 = ur(n3, i2) : o3 === Us.AdjustmentType.Gamma ? n3 = gr(n3) : o3 === Us.AdjustmentType.InvGamma ? n3 = mr(n3) : console.warn("unknown adjustmentType: " + o3);
4392
+ o3 === Us.AdjustmentType.Alpha ? (r3 = i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : o3 === Us.AdjustmentType.AlphaOff ? (r3 += i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : o3 === Us.AdjustmentType.AlphaMod ? (r3 *= i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : o3 === Us.AdjustmentType.Hue ? n3 = ir(qn, n3, i2) : o3 === Us.AdjustmentType.Sat ? n3 = ir(Jn, n3, i2) : o3 === Us.AdjustmentType.Lum ? n3 = ir(Kn, n3, i2) : o3 === Us.AdjustmentType.HueOff ? n3 = ar(qn, n3, i2) : o3 === Us.AdjustmentType.SatOff ? n3 = ar(Jn, n3, i2) : o3 === Us.AdjustmentType.LumOff ? n3 = ar(Kn, n3, i2) : o3 === Us.AdjustmentType.HueMod ? n3 = lr(qn, n3, i2) : o3 === Us.AdjustmentType.SatMod ? n3 = lr(Jn, n3, i2) : o3 === Us.AdjustmentType.LumMod ? n3 = lr(Kn, n3, i2) : o3 === Us.AdjustmentType.Red ? n3 = cr(Xn, n3, i2, Zn) : o3 === Us.AdjustmentType.Green ? n3 = cr(Yn, n3, i2, Zn) : o3 === Us.AdjustmentType.Blue ? n3 = cr(Qn, n3, i2, Zn) : o3 === Us.AdjustmentType.RedOff ? n3 = cr(Xn, n3, i2, tr) : o3 === Us.AdjustmentType.GreenOff ? n3 = cr(Yn, n3, i2, tr) : o3 === Us.AdjustmentType.BlueOff ? n3 = cr(Qn, n3, i2, tr) : o3 === Us.AdjustmentType.RedMod ? n3 = cr(Xn, n3, i2, er) : o3 === Us.AdjustmentType.GreenMod ? n3 = cr(Yn, n3, i2, er) : o3 === Us.AdjustmentType.BlueMod ? n3 = cr(Qn, n3, i2, er) : o3 === Us.AdjustmentType.Shade ? n3 = nr(n3, i2) : o3 === Us.AdjustmentType.Tint ? n3 = sr(n3, i2) : o3 === Us.AdjustmentType.ETint ? n3 = or(n3, i2) : o3 === Us.AdjustmentType.Gray ? n3 = hr(n3) : o3 === Us.AdjustmentType.Comp ? n3 = dr(n3) : o3 === Us.AdjustmentType.Inv ? n3 = ur(n3, i2) : o3 === Us.AdjustmentType.Gamma ? n3 = gr(n3) : o3 === Us.AdjustmentType.InvGamma ? n3 = mr(n3) : console.warn("unknown adjustmentType: " + o3);
4391
4393
  }
4392
4394
  return { srgb: n3, alpha: r3 };
4393
4395
  })(t2.srgbAlpha, this._private.adjs), n2 = ((t3, e3 = 255) => {
@@ -4593,33 +4595,33 @@ const Ti = (t2, e2, n2, r2, o2) => {
4593
4595
  };
4594
4596
  var Fi, ki;
4595
4597
  (Fi || (Fi = {})).buildPalette = Ni, (ki || (ki = {})).BuiltInFilterType = { BuiltIn: "builtIn", All: "all", Custom: "custom" };
4596
- const Oi = [["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"]], Di = [["Office", "Calibri Light", "Calibri"], ["Office 2013-2022", "Calibri Light", "Calibri"], ["Office 2007-2010", "Calibri Light", "Calibri"], ["Grayscale", "Calibri Light", "Calibri"], ["Atlas", "Calibri Light", "Rockwell"], ["Banded", "Corbel", "Corbel"], ["Basis", "Corbel", "Corbel"], ["Berlin", "Trebuchet MS", "Trebuchet MS"], ["Celestial", "Calibri Light", "Calibri"], ["Circuit", "Tw Cen MT", "Tw Cen MT"], ["Damask", "Bookman Old Style", "Rockwell"], ["Depth", "Corbel", "Corbel"], ["Madison", "Arial", "Arial"], ["Main Event", "Impact", "Impact"], ["Mesh", "Century Gothic", "Century Gothic"], ["Metropolitan", "Calibri Light", "Calibri Light"], ["Organic", "Garamond", "Garamond"], ["Parallax", "Corbel", "Corbel"], ["Parcel", "Gill Sans MT", "Gill Sans MT"], ["Quotable", "Century Gothic", "Century Gothic"], ["Retrospect", "Calibri Light", "Calibri"], ["Savon", "Century Gothic", "Century Gothic"], ["Slate", "Calisto MT", "Calisto MT"], ["Slice", "Century Gothic", "Century Gothic"], ["Vapor Trail", "Century Gothic", "Century Gothic"], ["View", "Century Schoolbook", "Century Schoolbook"], ["Wisp", "Century Gothic", "Century Gothic"], ["Wood Type", "Rockwell Condensed", "Rockwell"]], Bi = [["Office", "Office", "Office"], ["2013-2022", "Office 2013-2022", "Office 2013-2022"], ["Atlas", "Atlas", "Atlas"], ["Banded", "Banded", "Banded"], ["Basis", "Basis", "Basis"], ["Berlin", "Berlin", "Berlin"], ["Celestial", "Celestial", "Celestial"], ["Circuit", "Circuit", "Circuit"], ["Damask", "Damask", "Damask"], ["Depth", "Depth", "Depth"], ["Dividend", "Dividend", "Dividend"], ["Droplet", "Droplet", "Droplet"], ["Facet", "Facet", "Facet"], ["Frame", "Frame", "Frame"], ["Gallery", "Gallery", "Gallery"], ["Grayscale", "Grayscale", "Grayscale"], ["Integral", "Integral", "Integral"], ["Ion Boardroom", "Ion Boardroom", "Ion Boardroom"], ["Ion", "Ion", "Ion"], ["Madison", "Madison", "Madison"], ["Main Event", "Main Event", "Main Event"], ["Mesh", "Mesh", "Mesh"], ["Metropolitan", "Metropolitan", "Metropolitan"], ["Organic", "Organic", "Organic"], ["Parallax", "Parallax", "Parallax"], ["Parcel", "Parcel", "Parcel"], ["Quotable", "Quotable", "Quotable"], ["Retrospect", "Retrospect", "Retrospect"], ["Savon", "Savon", "Savon"], ["Slate", "Slate", "Slate"], ["Slice", "Slice", "Slice"], ["Vapor Trail", "Vapor Trail", "Vapor Trail"], ["View", "View", "View"], ["Wisp", "Wisp", "Wisp"], ["Wood Type", "Wood Type", "Wood Type"], ["Office 2007-2010", "Office 2007-2010", "Office 2007-2010"]], Li = "Themes is readonly. To make modifications create a new DocsThemes instance.", zi = { [Us.Scheme.Bg1]: "lt1", [Us.Scheme.Bg2]: "lt2", [Us.Scheme.Tx1]: "dk1", [Us.Scheme.Tx2]: "dk2", [Us.Scheme.Accent1]: "accent1", [Us.Scheme.Accent2]: "accent2", [Us.Scheme.Accent3]: "accent3", [Us.Scheme.Accent4]: "accent4", [Us.Scheme.Accent5]: "accent5", [Us.Scheme.Accent6]: "accent6", [Us.Scheme.Hlink]: "hlink", [Us.Scheme.FolHlink]: "folHlink" }, Pi = "Office", Wi = [Pi, "Calibri Light", "Calibri"], Hi = ["dk1", "lt1", "dk2", "lt2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hlink", "folHlink"], Vi = (t2) => {
4598
+ const Oi = [["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"]], Di = [["Office", "Calibri Light", "Calibri"], ["Office 2013-2022", "Calibri Light", "Calibri"], ["Office 2007-2010", "Calibri Light", "Calibri"], ["Grayscale", "Calibri Light", "Calibri"], ["Atlas", "Calibri Light", "Rockwell"], ["Banded", "Corbel", "Corbel"], ["Basis", "Corbel", "Corbel"], ["Berlin", "Trebuchet MS", "Trebuchet MS"], ["Celestial", "Calibri Light", "Calibri"], ["Circuit", "Tw Cen MT", "Tw Cen MT"], ["Damask", "Bookman Old Style", "Rockwell"], ["Depth", "Corbel", "Corbel"], ["Madison", "Arial", "Arial"], ["Main Event", "Impact", "Impact"], ["Mesh", "Century Gothic", "Century Gothic"], ["Metropolitan", "Calibri Light", "Calibri Light"], ["Organic", "Garamond", "Garamond"], ["Parallax", "Corbel", "Corbel"], ["Parcel", "Gill Sans MT", "Gill Sans MT"], ["Quotable", "Century Gothic", "Century Gothic"], ["Retrospect", "Calibri Light", "Calibri"], ["Savon", "Century Gothic", "Century Gothic"], ["Slate", "Calisto MT", "Calisto MT"], ["Slice", "Century Gothic", "Century Gothic"], ["Vapor Trail", "Century Gothic", "Century Gothic"], ["View", "Century Schoolbook", "Century Schoolbook"], ["Wisp", "Century Gothic", "Century Gothic"], ["Wood Type", "Rockwell Condensed", "Rockwell"]], Bi = [["Office", "Office", "Office"], ["2013-2022", "Office 2013-2022", "Office 2013-2022"], ["Atlas", "Atlas", "Atlas"], ["Banded", "Banded", "Banded"], ["Basis", "Basis", "Basis"], ["Berlin", "Berlin", "Berlin"], ["Celestial", "Celestial", "Celestial"], ["Circuit", "Circuit", "Circuit"], ["Damask", "Damask", "Damask"], ["Depth", "Depth", "Depth"], ["Dividend", "Dividend", "Dividend"], ["Droplet", "Droplet", "Droplet"], ["Facet", "Facet", "Facet"], ["Frame", "Frame", "Frame"], ["Gallery", "Gallery", "Gallery"], ["Grayscale", "Grayscale", "Grayscale"], ["Integral", "Integral", "Integral"], ["Ion Boardroom", "Ion Boardroom", "Ion Boardroom"], ["Ion", "Ion", "Ion"], ["Madison", "Madison", "Madison"], ["Main Event", "Main Event", "Main Event"], ["Mesh", "Mesh", "Mesh"], ["Metropolitan", "Metropolitan", "Metropolitan"], ["Organic", "Organic", "Organic"], ["Parallax", "Parallax", "Parallax"], ["Parcel", "Parcel", "Parcel"], ["Quotable", "Quotable", "Quotable"], ["Retrospect", "Retrospect", "Retrospect"], ["Savon", "Savon", "Savon"], ["Slate", "Slate", "Slate"], ["Slice", "Slice", "Slice"], ["Vapor Trail", "Vapor Trail", "Vapor Trail"], ["View", "View", "View"], ["Wisp", "Wisp", "Wisp"], ["Wood Type", "Wood Type", "Wood Type"], ["Office 2007-2010", "Office 2007-2010", "Office 2007-2010"]], Li = "Themes is readonly. To make modifications create a new DocsThemes instance.", zi = { [Us.Scheme.Bg1]: "lt1", [Us.Scheme.Bg2]: "lt2", [Us.Scheme.Tx1]: "dk1", [Us.Scheme.Tx2]: "dk2", [Us.Scheme.Accent1]: "accent1", [Us.Scheme.Accent2]: "accent2", [Us.Scheme.Accent3]: "accent3", [Us.Scheme.Accent4]: "accent4", [Us.Scheme.Accent5]: "accent5", [Us.Scheme.Accent6]: "accent6", [Us.Scheme.Hlink]: "hlink", [Us.Scheme.FolHlink]: "folHlink" }, Pi = "Office", Hi = [Pi, "Calibri Light", "Calibri"], Wi = ["dk1", "lt1", "dk2", "lt2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hlink", "folHlink"], Vi = (t2) => {
4597
4599
  const e2 = {};
4598
4600
  for (let n2 = 0; n2 < t2.length; n2++) {
4599
4601
  const r2 = t2[n2], o2 = r2[0], s2 = { name: o2 };
4600
4602
  e2[o2] = s2;
4601
- for (let t3 = 0; t3 < Hi.length; t3++) {
4602
- const e3 = Hi[t3], n3 = r2[t3 + 1];
4603
+ for (let t3 = 0; t3 < Wi.length; t3++) {
4604
+ const e3 = Wi[t3], n3 = r2[t3 + 1];
4603
4605
  if (!n3) continue;
4604
4606
  const o3 = ai.parse(n3);
4605
4607
  n3 && (s2[e3] = o3.toString());
4606
4608
  }
4607
4609
  }
4608
4610
  return e2;
4609
- }, $i = (t2) => {
4611
+ }, ji = (t2) => {
4610
4612
  const e2 = {};
4611
4613
  for (let n2 = 0; n2 < t2.length; n2++) {
4612
4614
  const r2 = t2[n2], o2 = r2[0], s2 = { name: o2 };
4613
- e2[o2] = s2, s2.majorFont = r2[1] ?? Wi[1], s2.minorFont = r2[2] ?? Wi[2];
4615
+ e2[o2] = s2, s2.majorFont = r2[1] ?? Hi[1], s2.minorFont = r2[2] ?? Hi[2];
4614
4616
  }
4615
4617
  return e2;
4616
- }, ji = Vi([[Pi, "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"]]), Gi = $i([Wi]), Ui = ji[Pi], Ji = Gi[Pi];
4617
- let qi = null;
4618
+ }, $i = Vi([[Pi, "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"]]), Gi = ji([Hi]), Ui = $i[Pi], qi = Gi[Pi];
4619
+ let Ji = null;
4618
4620
  const Ki = new class {
4619
4621
  constructor() {
4620
4622
  this._colors = {};
4621
- for (let t2 = 0; t2 < Hi.length; t2++) {
4622
- const e2 = Hi[t2], n2 = ai.parse(Ui[e2]);
4623
+ for (let t2 = 0; t2 < Wi.length; t2++) {
4624
+ const e2 = Wi[t2], n2 = ai.parse(Ui[e2]);
4623
4625
  this._colors[e2] = n2;
4624
4626
  }
4625
4627
  }
@@ -4728,25 +4730,25 @@ class Xi {
4728
4730
  const Yi = new class {
4729
4731
  constructor() {
4730
4732
  this._colors = {};
4731
- for (let t2 = 0; t2 < Hi.length; t2++) {
4732
- const e2 = Hi[t2], n2 = ai.parse(Ui[e2]);
4733
+ for (let t2 = 0; t2 < Wi.length; t2++) {
4734
+ const e2 = Wi[t2], n2 = ai.parse(Ui[e2]);
4733
4735
  this._colors[e2] = n2;
4734
4736
  }
4735
4737
  }
4736
4738
  getName() {
4737
- return Ji.name;
4739
+ return qi.name;
4738
4740
  }
4739
4741
  getMajorFont() {
4740
- return Ji.majorFont;
4742
+ return qi.majorFont;
4741
4743
  }
4742
4744
  getMinorFont() {
4743
- return Ji.minorFont;
4745
+ return qi.minorFont;
4744
4746
  }
4745
4747
  getMajorFallbacks() {
4746
- return Ji.majorFallbacks;
4748
+ return qi.majorFallbacks;
4747
4749
  }
4748
4750
  getMinorFallbacks() {
4749
- return Ji.minorFallbacks;
4751
+ return qi.minorFallbacks;
4750
4752
  }
4751
4753
  }();
4752
4754
  class Qi {
@@ -4787,10 +4789,10 @@ class Qi {
4787
4789
  class Zi {
4788
4790
  constructor(t2, e2 = null, n2 = null) {
4789
4791
  if (this._cacheColors = /* @__PURE__ */ new Map(), !e2 && t2?.name) {
4790
- const n3 = qi ? qi.get(t2.name.toLowerCase()) : null;
4792
+ const n3 = Ji ? Ji.get(t2.name.toLowerCase()) : null;
4791
4793
  n3 && (e2 = n3);
4792
4794
  }
4793
- if (!e2 && qi && (e2 = qi.get(Pi.toLowerCase())), this._name = t2?.name ?? e2?.getName(), !this._name) throw new Error("Theme must have a name.");
4795
+ if (!e2 && Ji && (e2 = Ji.get(Pi.toLowerCase())), this._name = t2?.name ?? e2?.getName(), !this._name) throw new Error("Theme must have a name.");
4794
4796
  this._builtInID = n2, this._delegate = e2, this._colors = new Xi(t2?.colors, this._delegate?.getColorScheme()), this._fonts = new Qi(t2?.fonts, this._delegate?.getFontScheme());
4795
4797
  const r2 = zi, o2 = {}, s2 = Object.keys(r2);
4796
4798
  for (let t3 = 0; t3 < s2.length; t3++) {
@@ -4839,20 +4841,20 @@ class Zi {
4839
4841
  }
4840
4842
  }
4841
4843
  const ta = () => {
4842
- if (qi) return qi;
4844
+ if (Ji) return Ji;
4843
4845
  const t2 = ((t3, e3, n2) => {
4844
4846
  const r2 = [];
4845
4847
  for (let o2 = 0; o2 < t3.length; o2++) {
4846
- const s2 = t3[o2], i2 = s2[0], a2 = e3[s2[1]] ?? Ui, l2 = n2[s2[2]] ?? Ji;
4848
+ const s2 = t3[o2], i2 = s2[0], a2 = e3[s2[1]] ?? Ui, l2 = n2[s2[2]] ?? qi;
4847
4849
  r2.push({ name: i2, colors: a2, fonts: l2 });
4848
4850
  }
4849
4851
  return r2;
4850
- })(Bi, Vi(Oi), $i(Di)), e2 = /* @__PURE__ */ new Map();
4852
+ })(Bi, Vi(Oi), ji(Di)), e2 = /* @__PURE__ */ new Map();
4851
4853
  for (let n2 = 0; n2 < t2.length; n2++) {
4852
4854
  const r2 = new Zi(t2[n2]), o2 = new Zi(null, r2, n2 + 1);
4853
4855
  e2.set(o2.getName().toLowerCase(), o2);
4854
4856
  }
4855
- return qi = e2, e2;
4857
+ return Ji = e2, e2;
4856
4858
  };
4857
4859
  class ea {
4858
4860
  constructor(t2 = null, e2 = false) {
@@ -4870,18 +4872,18 @@ class ea {
4870
4872
  getByName(t2) {
4871
4873
  t2 = t2.toLowerCase();
4872
4874
  const e2 = this._customMap.get(t2);
4873
- return e2 || (qi.get(t2) ?? null);
4875
+ return e2 || (Ji.get(t2) ?? null);
4874
4876
  }
4875
4877
  getItems(t2) {
4876
4878
  const e2 = t2?.type ?? ki.BuiltInFilterType.All, n2 = /* @__PURE__ */ new Map();
4877
- e2 !== ki.BuiltInFilterType.BuiltIn && e2 !== ki.BuiltInFilterType.All || qi.forEach((t3, e3) => n2.set(e3, t3)), e2 !== ki.BuiltInFilterType.Custom && e2 !== ki.BuiltInFilterType.All || this._customMap.forEach((t3, e3) => n2.set(e3, t3)), t2?.selected && n2.set(t2.selected.getName().toLowerCase(), t2.selected);
4879
+ e2 !== ki.BuiltInFilterType.BuiltIn && e2 !== ki.BuiltInFilterType.All || Ji.forEach((t3, e3) => n2.set(e3, t3)), e2 !== ki.BuiltInFilterType.Custom && e2 !== ki.BuiltInFilterType.All || this._customMap.forEach((t3, e3) => n2.set(e3, t3)), t2?.selected && n2.set(t2.selected.getName().toLowerCase(), t2.selected);
4878
4880
  return ((t3) => {
4879
4881
  const e3 = [...t3];
4880
4882
  return e3.sort((t4, e4) => o.isDefined(t4.builtInID) && !o.isDefined(e4.builtInID) ? 1 : !o.isDefined(t4.builtInID) && o.isDefined(e4.builtInID) ? -1 : o.isDefined(t4.builtInID) && o.isDefined(e4.builtInID) ? t4.builtInID - e4.builtInID : t4.getName().localeCompare(e4.getName())), e3;
4881
4883
  })(Array.from(n2.values()));
4882
4884
  }
4883
4885
  getCount() {
4884
- return this._customMap.size + qi.size;
4886
+ return this._customMap.size + Ji.size;
4885
4887
  }
4886
4888
  setCustomTheme(t2) {
4887
4889
  if (this._isReadOnly) throw new Error(Li);
@@ -5705,8 +5707,8 @@ class Ra {
5705
5707
  if (void 0 === e2 && (e2 = o2 + 1), 0 === this._count || t2 <= r2 && e2 - 1 >= o2) return this.clone();
5706
5708
  const s2 = Math.max(r2, t2), i2 = Math.min(o2, e2 - 1), a2 = i2 - s2, l2 = [];
5707
5709
  let c2 = 0;
5708
- Wa.bounds.min = s2, Wa.bounds.max = i2;
5709
- const h2 = this.runs(Wa);
5710
+ Ha.bounds.min = s2, Ha.bounds.max = i2;
5711
+ const h2 = this.runs(Ha);
5710
5712
  let d2 = h2.next();
5711
5713
  for (; !d2.done; ) {
5712
5714
  const t3 = d2.value;
@@ -5873,8 +5875,8 @@ const Aa = (t2) => "boolean" != typeof t2 ? (t2 && !t2.value && (t2.value = [-1,
5873
5875
  }
5874
5876
  if (e2) for (let t3 = i2; t3 < n2; t3++) o2.push(void 0);
5875
5877
  return o2;
5876
- }, ka = Object.seal({ done: false, value: [{ min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, null] }), Oa = Object.seal({ done: false, value: [-1, null] }), Da = { reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: Oa }, Ba = Object.freeze({ reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: Oa }), La = { min: 0, max: Number.MAX_SAFE_INTEGER }, za = { min: 0, max: Number.MAX_SAFE_INTEGER }, Pa = [null, null], Wa = { bounds: { min: 0, max: 0 }, overflowRun: true };
5877
- class Ha {
5878
+ }, ka = Object.seal({ done: false, value: [{ min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, null] }), Oa = Object.seal({ done: false, value: [-1, null] }), Da = { reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: Oa }, Ba = Object.freeze({ reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: Oa }), La = { min: 0, max: Number.MAX_SAFE_INTEGER }, za = { min: 0, max: Number.MAX_SAFE_INTEGER }, Pa = [null, null], Ha = { bounds: { min: 0, max: 0 }, overflowRun: true };
5879
+ class Wa {
5878
5880
  constructor(t2 = 9) {
5879
5881
  this._maxEntries = Math.max(4, t2), this._minEntries = Math.max(2, Math.ceil(0.4 * this._maxEntries)), this.clear();
5880
5882
  }
@@ -5977,7 +5979,7 @@ class Ha {
5977
5979
  _build(t2, e2, n2, r2) {
5978
5980
  const o2 = n2 - e2 + 1;
5979
5981
  let s2, i2 = this._maxEntries;
5980
- if (o2 <= i2) return s2 = tl(t2.slice(e2, n2 + 1)), $a(s2, this.toBBox), s2;
5982
+ if (o2 <= i2) return s2 = tl(t2.slice(e2, n2 + 1)), ja(s2, this.toBBox), s2;
5981
5983
  r2 || (r2 = Math.ceil(Math.log(o2) / Math.log(i2)), i2 = Math.ceil(o2 / Math.pow(i2, r2 - 1))), s2 = tl([]), s2.leaf = false, s2.height = r2;
5982
5984
  const a2 = Math.ceil(o2 / i2), l2 = a2 * Math.ceil(Math.sqrt(i2));
5983
5985
  el(t2, e2, n2, l2, this.compareMinX);
@@ -5989,13 +5991,13 @@ class Ha {
5989
5991
  s2.children.push(this._build(t2, n3, o4, r2 - 1));
5990
5992
  }
5991
5993
  }
5992
- return $a(s2, this.toBBox), s2;
5994
+ return ja(s2, this.toBBox), s2;
5993
5995
  }
5994
5996
  _chooseSubtree(t2, e2, n2, r2) {
5995
5997
  for (; r2.push(e2), !e2.leaf && r2.length - 1 !== n2; ) {
5996
5998
  let n3, r3 = 1 / 0, o2 = 1 / 0;
5997
5999
  for (let s2 = 0; s2 < e2.children.length; s2++) {
5998
- const i2 = e2.children[s2], a2 = qa(i2), l2 = Xa(t2, i2) - a2;
6000
+ const i2 = e2.children[s2], a2 = Ja(i2), l2 = Xa(t2, i2) - a2;
5999
6001
  l2 < o2 ? (o2 = l2, r3 = a2 < r3 ? a2 : r3, n3 = i2) : l2 === o2 && a2 < r3 && (r3 = a2, n3 = i2);
6000
6002
  }
6001
6003
  e2 = n3 || e2.children[0];
@@ -6011,26 +6013,26 @@ class Ha {
6011
6013
  const n2 = t2[e2], r2 = n2.children.length, o2 = this._minEntries;
6012
6014
  this._chooseSplitAxis(n2, o2, r2);
6013
6015
  const s2 = this._chooseSplitIndex(n2, o2, r2), i2 = tl(n2.children.splice(s2, n2.children.length - s2));
6014
- i2.height = n2.height, i2.leaf = n2.leaf, $a(n2, this.toBBox), $a(i2, this.toBBox), e2 ? t2[e2 - 1].children.push(i2) : this._splitRoot(n2, i2);
6016
+ i2.height = n2.height, i2.leaf = n2.leaf, ja(n2, this.toBBox), ja(i2, this.toBBox), e2 ? t2[e2 - 1].children.push(i2) : this._splitRoot(n2, i2);
6015
6017
  }
6016
6018
  _splitRoot(t2, e2) {
6017
- this.data = tl([t2, e2]), this.data.height = t2.height + 1, this.data.leaf = false, $a(this.data, this.toBBox);
6019
+ this.data = tl([t2, e2]), this.data.height = t2.height + 1, this.data.leaf = false, ja(this.data, this.toBBox);
6018
6020
  }
6019
6021
  _chooseSplitIndex(t2, e2, n2) {
6020
6022
  let r2 = -1, o2 = 1 / 0, s2 = 1 / 0;
6021
6023
  for (let i2 = e2; i2 <= n2 - e2; i2++) {
6022
- const e3 = ja(t2, 0, i2, this.toBBox), a2 = ja(t2, i2, n2, this.toBBox), l2 = Ya(e3, a2), c2 = qa(e3) + qa(a2);
6024
+ const e3 = $a(t2, 0, i2, this.toBBox), a2 = $a(t2, i2, n2, this.toBBox), l2 = Ya(e3, a2), c2 = Ja(e3) + Ja(a2);
6023
6025
  l2 < o2 ? (o2 = l2, r2 = i2, s2 = c2 < s2 ? c2 : s2) : l2 === o2 && c2 < s2 && (s2 = c2, r2 = i2);
6024
6026
  }
6025
6027
  return r2 || n2 - e2;
6026
6028
  }
6027
6029
  _chooseSplitAxis(t2, e2, n2) {
6028
- const r2 = t2.leaf ? this.compareMinX : Ua, o2 = t2.leaf ? this.compareMinY : Ja;
6030
+ const r2 = t2.leaf ? this.compareMinX : Ua, o2 = t2.leaf ? this.compareMinY : qa;
6029
6031
  this._allDistMargin(t2, e2, n2, r2) < this._allDistMargin(t2, e2, n2, o2) && t2.children.sort(r2);
6030
6032
  }
6031
6033
  _allDistMargin(t2, e2, n2, r2) {
6032
6034
  t2.children.sort(r2);
6033
- const o2 = this.toBBox, s2 = ja(t2, 0, e2, o2), i2 = ja(t2, n2 - e2, n2, o2);
6035
+ const o2 = this.toBBox, s2 = $a(t2, 0, e2, o2), i2 = $a(t2, n2 - e2, n2, o2);
6034
6036
  let a2 = Ka(s2) + Ka(i2);
6035
6037
  for (let r3 = e2; r3 < n2 - e2; r3++) {
6036
6038
  const e3 = t2.children[r3];
@@ -6046,7 +6048,7 @@ class Ha {
6046
6048
  for (let r2 = n2; r2 >= 0; r2--) Ga(e2[r2], t2);
6047
6049
  }
6048
6050
  _condense(t2) {
6049
- 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() : $a(t2[n2], this.toBBox);
6051
+ 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() : ja(t2[n2], this.toBBox);
6050
6052
  }
6051
6053
  }
6052
6054
  function Va(t2, e2, n2) {
@@ -6054,10 +6056,10 @@ function Va(t2, e2, n2) {
6054
6056
  for (let r2 = 0; r2 < e2.length; r2++) if (n2(t2, e2[r2])) return r2;
6055
6057
  return -1;
6056
6058
  }
6057
- function $a(t2, e2) {
6058
- ja(t2, 0, t2.children.length, e2, t2);
6059
+ function ja(t2, e2) {
6060
+ $a(t2, 0, t2.children.length, e2, t2);
6059
6061
  }
6060
- function ja(t2, e2, n2, r2, o2 = null) {
6062
+ function $a(t2, e2, n2, r2, o2 = null) {
6061
6063
  o2 || (o2 = tl(null)), o2.minX = 1 / 0, o2.minY = 1 / 0, o2.maxX = -1 / 0, o2.maxY = -1 / 0;
6062
6064
  for (let s2 = e2; s2 < n2; s2++) {
6063
6065
  const e3 = t2.children[s2];
@@ -6071,10 +6073,10 @@ function Ga(t2, e2) {
6071
6073
  function Ua(t2, e2) {
6072
6074
  return t2.minX - e2.minX;
6073
6075
  }
6074
- function Ja(t2, e2) {
6076
+ function qa(t2, e2) {
6075
6077
  return t2.minY - e2.minY;
6076
6078
  }
6077
- function qa(t2) {
6079
+ function Ja(t2) {
6078
6080
  return (t2.maxX - t2.minX) * (t2.maxY - t2.minY);
6079
6081
  }
6080
6082
  function Ka(t2) {
@@ -6123,7 +6125,7 @@ function rl(t2, e2, n2) {
6123
6125
  const r2 = t2[e2];
6124
6126
  t2[e2] = t2[n2], t2[n2] = r2;
6125
6127
  }
6126
- class ol extends Ha {
6128
+ class ol extends Wa {
6127
6129
  toBBox(t2) {
6128
6130
  return { minX: 10 * t2.colStart, minY: 10 * t2.rowStart, maxX: 10 * t2.colEnd + 5, maxY: 10 * t2.rowEnd + 5 };
6129
6131
  }
@@ -6972,8 +6974,8 @@ class Ol {
6972
6974
  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));
6973
6975
  }
6974
6976
  if (!s2) return pa;
6975
- r2 || d2 !== u2 || (r2 = true), Wl.bounds.min = d2, Wl.bounds.max = u2, Wl.reverse = p2, Wl.processSkip = a2, Wl.reuseResult = zl;
6976
- let _2 = this._major.entries(Wl), S2 = Hl();
6977
+ r2 || d2 !== u2 || (r2 = true), Hl.bounds.min = d2, Hl.bounds.max = u2, Hl.reverse = p2, Hl.processSkip = a2, Hl.reuseResult = zl;
6978
+ let _2 = this._major.entries(Hl), S2 = Wl();
6977
6979
  const w2 = (t3) => {
6978
6980
  if (!t3.nextActive) return;
6979
6981
  const e3 = (e4) => {
@@ -7013,7 +7015,7 @@ class Ol {
7013
7015
  for (; S2; ) {
7014
7016
  let a3 = null;
7015
7017
  if (s3) {
7016
- let e4 = n3 ? Hl() : S2;
7018
+ let e4 = n3 ? Wl() : S2;
7017
7019
  if (a3 = y2(e4), a3) {
7018
7020
  n3 ? (e4.prevMajorCursor = S2, S2.nextMajorCursor = e4, S2 = e4) : n3 = S2, o3 = p2 ? Math.max(o3, S2.nextMinorIndex) : Math.min(o3, S2.nextMinorIndex);
7019
7021
  const r4 = S2.minorIndex;
@@ -7111,8 +7113,8 @@ class Ol {
7111
7113
  const e3 = t2[_2], n3 = e3[0], r3 = e3[1], o3 = new Ra(p2);
7112
7114
  m2(o3, r3, n3);
7113
7115
  }, w2 = this._major;
7114
- Wl.bounds.min = e2, Wl.bounds.max = n2, Wl.reverse = false, Wl.processSkip = null, Wl.reuseResult = zl;
7115
- const y2 = w2.entries(Wl);
7116
+ Hl.bounds.min = e2, Hl.bounds.max = n2, Hl.reverse = false, Hl.processSkip = null, Hl.reuseResult = zl;
7117
+ const y2 = w2.entries(Hl);
7116
7118
  let E2 = y2.next();
7117
7119
  for (; !E2.done; ) {
7118
7120
  const e3 = E2.value, n3 = e3[0];
@@ -7158,8 +7160,8 @@ class Ol {
7158
7160
  let f2 = false, p2 = 0;
7159
7161
  const _2 = this._major;
7160
7162
  if (l2 <= g2 && h2 >= m2) {
7161
- Wl.bounds.min = i2, Wl.bounds.max = a2;
7162
- const t3 = _2.entries(Wl);
7163
+ Hl.bounds.min = i2, Hl.bounds.max = a2;
7164
+ const t3 = _2.entries(Hl);
7163
7165
  let e3 = t3.next();
7164
7166
  for (; !e3.done; ) {
7165
7167
  p2 -= e3.value[1].getCount(), e3 = t3.next();
@@ -7167,8 +7169,8 @@ class Ol {
7167
7169
  return _2.delete(i2, a2 - i2 + 1), this._count += p2, this._dataCoords = null, 0 !== p2;
7168
7170
  }
7169
7171
  const S2 = [], w2 = this._isShared, y2 = [];
7170
- Wl.bounds.min = i2, Wl.bounds.max = a2, Pl.reverse = false, Pl.processSkip = null, Pl.reuseResult = zl;
7171
- const E2 = _2.entries(Wl);
7172
+ Hl.bounds.min = i2, Hl.bounds.max = a2, Pl.reverse = false, Pl.processSkip = null, Pl.reuseResult = zl;
7173
+ const E2 = _2.entries(Hl);
7172
7174
  let C2 = E2.next();
7173
7175
  for (; !C2.done; ) {
7174
7176
  const t3 = C2.value, e3 = t3[0];
@@ -7211,10 +7213,10 @@ class Ol {
7211
7213
  if (!o2 && (C2 *= -1, c.isRangeWithinRange(f2, t2))) return this.clear(), true;
7212
7214
  let b2 = 0;
7213
7215
  const v2 = this._major, x2 = [];
7214
- if (Wl.bounds.min = a2, Wl.bounds.max = E2 ? Number.MAX_SAFE_INTEGER : l2, Pl.reverse = !o2, Pl.processSkip = null, Pl.reuseResult = zl, E2 && y2) {
7216
+ if (Hl.bounds.min = a2, Hl.bounds.max = E2 ? Number.MAX_SAFE_INTEGER : l2, Pl.reverse = !o2, Pl.processSkip = null, Pl.reuseResult = zl, E2 && y2) {
7215
7217
  if (!o2) {
7216
- Wl.bounds.max = l2;
7217
- const t4 = v2.entries(Wl);
7218
+ Hl.bounds.max = l2;
7219
+ const t4 = v2.entries(Hl);
7218
7220
  let e3 = t4.next();
7219
7221
  for (; !e3.done; ) {
7220
7222
  b2 -= e3.value[1].getCount(), e3 = t4.next();
@@ -7228,7 +7230,7 @@ class Ol {
7228
7230
  o2 || (A2 = Number.MAX_SAFE_INTEGER, M2 = Number.MIN_SAFE_INTEGER);
7229
7231
  let T2 = Number.MAX_SAFE_INTEGER;
7230
7232
  r2 && (T2 = s2 ? r2.colEnd : r2.rowEnd);
7231
- const N2 = /* @__PURE__ */ new Set(), F2 = E2 ? /* @__PURE__ */ new Map() : null, k2 = [], O2 = v2.entries(Wl), D2 = { bounds: { min: g2, max: m2 } };
7233
+ const N2 = /* @__PURE__ */ new Set(), F2 = E2 ? /* @__PURE__ */ new Map() : null, k2 = [], O2 = v2.entries(Hl), D2 = { bounds: { min: g2, max: m2 } };
7232
7234
  let B2 = O2.next();
7233
7235
  for (; !B2.done; ) {
7234
7236
  const t3 = B2.value, e3 = t3[0], n3 = t3[1].clone(), r3 = n3.getCoords(), o3 = r3.min, s3 = r3.max;
@@ -7346,7 +7348,7 @@ class Ol {
7346
7348
  Ol || (Ol = {});
7347
7349
  const Dl = 12;
7348
7350
  Object.seal({ done: false, value: null });
7349
- const Bl = [-1, -1, null], Ll = Object.seal({ done: false, value: [-1, null] }), zl = Object.seal({ done: false, value: [-1, null] }), Pl = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Ll }, Wl = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: zl }, Hl = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: false, nextMinorIndex: -1, nextActive: false, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
7351
+ const Bl = [-1, -1, null], Ll = Object.seal({ done: false, value: [-1, null] }), zl = Object.seal({ done: false, value: [-1, null] }), Pl = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Ll }, Hl = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: zl }, Wl = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: false, nextMinorIndex: -1, nextActive: false, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
7350
7352
  class Vl {
7351
7353
  constructor(t2) {
7352
7354
  if (this._l = 0, this._at = null, this._dt = sc.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");
@@ -7367,7 +7369,7 @@ class Vl {
7367
7369
  const e2 = this._vt, n2 = e2 && e2[t2] || this._dt;
7368
7370
  let r2, o2 = false;
7369
7371
  switch (this._vi32 ? r2 = this._vi32[t2] : (o2 = true, r2 = Number(this._vi64[t2])), n2) {
7370
- case jl:
7372
+ case $l:
7371
7373
  return o2 ? Number(r2) : r2;
7372
7374
  case Gl:
7373
7375
  return o2 ? this._vf64[t2] : this._vf32[t2];
@@ -7376,9 +7378,9 @@ class Vl {
7376
7378
  case Kl:
7377
7379
  case Xl:
7378
7380
  return this._cv(n2, o2 ? Number(r2) : r2);
7379
- case Jl:
7380
- return this._vi64[o2 ? t2 : r2];
7381
7381
  case ql:
7382
+ return this._vi64[o2 ? t2 : r2];
7383
+ case Jl:
7382
7384
  return this._vf64[o2 ? t2 : r2];
7383
7385
  case Zl:
7384
7386
  return Number.NaN;
@@ -7422,13 +7424,13 @@ class Vl {
7422
7424
  }
7423
7425
  return new ArrayBuffer(t2);
7424
7426
  }
7425
- static fromArray(t2, e2, n2, r2, o2 = $l) {
7427
+ static fromArray(t2, e2, n2, r2, o2 = jl) {
7426
7428
  const s2 = t2.length;
7427
7429
  if (0 === s2) return new Vl({ type: sc.Undefined, length: s2, getCoercedValue: n2 });
7428
7430
  let i2 = this._createArrayBuffer(s2 * Int8Array.BYTES_PER_ELEMENT), a2 = new Uint8Array(i2), l2 = 0, c2 = false, h2 = ic(t2[0], r2);
7429
7431
  for (let e3 = 0; e3 < s2; e3++) {
7430
7432
  const n3 = t2[e3], o3 = ic(n3, r2);
7431
- o3 !== ql && o3 !== Jl || l2++, h2 !== o3 && (a2[e3] = o3, c2 = true);
7433
+ o3 !== Jl && o3 !== ql || l2++, h2 !== o3 && (a2[e3] = o3, c2 = true);
7432
7434
  }
7433
7435
  c2 || (a2 = null, i2 = null);
7434
7436
  let d2, u2, g2, m2, f2, p2, _2, S2, w2 = false;
@@ -7437,7 +7439,7 @@ class Vl {
7437
7439
  if (w2) for (let n3 = 0; n3 < s2; n3++) {
7438
7440
  const r3 = t2[n3];
7439
7441
  switch (a2 && (y2 = a2[n3] || h2), y2) {
7440
- case jl:
7442
+ case $l:
7441
7443
  d2[n3] = BigInt(r3);
7442
7444
  break;
7443
7445
  case Ul:
@@ -7446,10 +7448,10 @@ class Vl {
7446
7448
  case Gl:
7447
7449
  u2[n3] = r3;
7448
7450
  break;
7449
- case Jl:
7451
+ case ql:
7450
7452
  d2[n3] = r3;
7451
7453
  break;
7452
- case ql:
7454
+ case Jl:
7453
7455
  u2[n3] = r3;
7454
7456
  break;
7455
7457
  case Kl:
@@ -7465,7 +7467,7 @@ class Vl {
7465
7467
  for (let r3 = 0; r3 < s2; r3++) {
7466
7468
  const o3 = t2[r3];
7467
7469
  switch (a2 && (y2 = a2[r3] || h2), y2) {
7468
- case jl:
7470
+ case $l:
7469
7471
  d2[r3] = o3;
7470
7472
  break;
7471
7473
  case Ul:
@@ -7474,10 +7476,10 @@ class Vl {
7474
7476
  case Gl:
7475
7477
  u2[r3] = o3;
7476
7478
  break;
7477
- case Jl:
7479
+ case ql:
7478
7480
  _2[r3] = n3, m2[n3] = o3, n3++;
7479
7481
  break;
7480
- case ql:
7482
+ case Jl:
7481
7483
  _2[r3] = n3, f2[n3] = o3, n3++;
7482
7484
  break;
7483
7485
  case Kl:
@@ -7492,7 +7494,7 @@ class Vl {
7492
7494
  return new Vl({ length: s2, types: c2 ? i2 : null, type: h2, values32: p2, values64: g2, getCoercedValue: n2 });
7493
7495
  }
7494
7496
  }
7495
- const $l = 0.1, jl = 1, Gl = 2, Ul = 3, Jl = 4, ql = 5, Kl = 6, Xl = 7, Yl = 8, Ql = 9, Zl = 10, tc = 11, ec = 12, nc = 13, rc = 14, oc = 127, sc = { Undefined: rc }, ic = (t2, e2) => {
7497
+ const jl = 0.1, $l = 1, Gl = 2, Ul = 3, ql = 4, Jl = 5, Kl = 6, Xl = 7, Yl = 8, Ql = 9, Zl = 10, tc = 11, ec = 12, nc = 13, rc = 14, oc = 127, sc = { Undefined: rc }, ic = (t2, e2) => {
7496
7498
  switch (typeof t2) {
7497
7499
  case "number":
7498
7500
  const n2 = t2;
@@ -7502,8 +7504,8 @@ const $l = 0.1, jl = 1, Gl = 2, Ul = 3, Jl = 4, ql = 5, Kl = 6, Xl = 7, Yl = 8,
7502
7504
  if (Object.is(n2, -0)) return Gl;
7503
7505
  if (n2 === Number.MAX_SAFE_INTEGER) return tc;
7504
7506
  if (n2 === Number.MIN_SAFE_INTEGER) return ec;
7505
- if (Number.isInteger(n2) && n2 <= 2147483647 && n2 >= -2147483648) return jl;
7506
- return Math.fround(n2) === n2 ? Gl : ql;
7507
+ if (Number.isInteger(n2) && n2 <= 2147483647 && n2 >= -2147483648) return $l;
7508
+ return Math.fround(n2) === n2 ? Gl : Jl;
7507
7509
  case "string":
7508
7510
  return Kl;
7509
7511
  case "boolean":
@@ -7516,7 +7518,7 @@ const $l = 0.1, jl = 1, Gl = 2, Ul = 3, Jl = 4, ql = 5, Kl = 6, Xl = 7, Yl = 8,
7516
7518
  if (r2 < 128 || r2 > 255) throw new Error("Custom type must be between 128 and 255");
7517
7519
  return r2;
7518
7520
  case "bigint":
7519
- return Jl;
7521
+ return ql;
7520
7522
  case "undefined":
7521
7523
  return rc;
7522
7524
  case "symbol":
@@ -8184,42 +8186,42 @@ const pc = { colStart: Number.MIN_SAFE_INTEGER, rowStart: Number.MIN_SAFE_INTEGE
8184
8186
  const i2 = n2.getOrientation() === e.Orientation.Column, a2 = Ml(s2, i2, yl(r2?.colStart ?? 0, r2?.rowStart ?? 0, void 0, void 0, i2), true), l2 = El(a2.bounds, i2);
8185
8187
  n2.setValues(a2.tuples);
8186
8188
  return new fc(n2, l2, o2, !r2);
8187
- }, Nc = new RegExp(/^([$]?[a-zA-Z]*[$]?[0-9]*)[:]?([$]?[a-zA-Z]*[$]?[0-9]*)?$/), Fc = new RegExp(/^(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?)(:(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?))?$/, "i"), kc = new RegExp(/^(R?)(\[?[-+]?\d+\]?|\d+)?(C?)(\[?[-+]?\d+\]?|\d+)?$/, "i"), Oc = new RegExp("(?:'[^']+'|[A-Za-z0-9_\\-.]+?!)?(\\$?[A-Za-z]+\\$?\\d+(?::\\$?[A-Za-z]+\\$?\\d+)?|\\$?[A-Za-z]+:\\$?[A-Za-z]+|\\$?\\d+:\\$?\\d+)", "g"), Dc = /\s+/g, Bc = /"(?:[^"]|"")*"|\[[^[\]]+\]/g, Lc = /[\uE000-\uF8FF]/g, zc = "#REF!", Pc = Math.pow(2, 14), Wc = Math.pow(2, 20);
8188
- let Hc, Vc;
8189
- const $c = (t2) => (Hc === t2 || (Vc = "" + (t2 + 1), Hc = t2), Vc);
8190
- let jc, Gc;
8189
+ }, Nc = new RegExp(/^([$]?[a-zA-Z]*[$]?[0-9]*)[:]?([$]?[a-zA-Z]*[$]?[0-9]*)?$/), Fc = new RegExp(/^(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?)(:(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?))?$/, "i"), kc = new RegExp(/^(R?)(\[?[-+]?\d+\]?|\d+)?(C?)(\[?[-+]?\d+\]?|\d+)?$/, "i"), Oc = new RegExp("(?:'[^']+'|[A-Za-z0-9_\\-.]+?!)?(\\$?[A-Za-z]+\\$?\\d+(?::\\$?[A-Za-z]+\\$?\\d+)?|\\$?[A-Za-z]+:\\$?[A-Za-z]+|\\$?\\d+:\\$?\\d+)", "g"), Dc = /\s+/g, Bc = /"(?:[^"]|"")*"|\[[^[\]]+\]/g, Lc = /[\uE000-\uF8FF]/g, zc = "#REF!", Pc = Math.pow(2, 14), Hc = Math.pow(2, 20);
8190
+ let Wc, Vc;
8191
+ const jc = (t2) => (Wc === t2 || (Vc = "" + (t2 + 1), Wc = t2), Vc);
8192
+ let $c, Gc;
8191
8193
  const Uc = (t2) => {
8192
- if (jc === t2) return Gc;
8193
- if (jc = t2, t2 < 0) throw new Error("invalid column " + t2);
8194
+ if ($c === t2) return Gc;
8195
+ if ($c = t2, t2 < 0) throw new Error("invalid column " + t2);
8194
8196
  let e2 = "";
8195
8197
  for (++t2; t2; t2 = Math.floor((t2 - 1) / 26)) e2 = String.fromCharCode((t2 - 1) % 26 + 65) + e2;
8196
8198
  return Gc = e2, Gc;
8197
- }, Jc = /[^a-zA-Z0-9]/, qc = (t2) => {
8199
+ }, qc = /[^a-zA-Z0-9]/, Jc = (t2) => {
8198
8200
  if (!t2) return null;
8199
- return Uc(t2.colIndex) + $c(t2.rowIndex);
8201
+ return Uc(t2.colIndex) + jc(t2.rowIndex);
8200
8202
  }, Kc = (t2) => {
8201
8203
  if (!t2) return zc;
8202
- const e2 = Uc(t2.colIndex), n2 = $c(t2.rowIndex);
8204
+ const e2 = Uc(t2.colIndex), n2 = jc(t2.rowIndex);
8203
8205
  return (t2.$colIndex ? "$" + e2 : e2) + (t2.$rowIndex ? "$" + n2 : n2);
8204
8206
  }, Xc = (t2, e2) => {
8205
8207
  let n2 = t2 ?? e2;
8206
8208
  var r2;
8207
- return n2 && (n2 = Po(n2), n2 = n2.replace(/'/g, "''"), r2 = n2, Jc.test(r2) && (n2 = Wo(n2))), n2;
8208
- }, Yc = (t2, e2) => t2 ? t2 + (t2.endsWith("!") ? "" : "!") + e2 : zc, Qc = (t2, e2, n2 = qc) => {
8209
+ return n2 && (n2 = Po(n2), n2 = n2.replace(/'/g, "''"), r2 = n2, qc.test(r2) && (n2 = Ho(n2))), n2;
8210
+ }, Yc = (t2, e2) => t2 ? t2 + (t2.endsWith("!") ? "" : "!") + e2 : zc, Qc = (t2, e2, n2 = Jc) => {
8209
8211
  if (!t2) return null;
8210
8212
  const r2 = t2.colStart, o2 = t2.rowStart, s2 = t2.colEnd, i2 = t2.rowEnd;
8211
8213
  if (r2 === s2 && o2 === i2) return n2({ colIndex: r2, rowIndex: o2 });
8212
8214
  t2 = { ...e2, ...t2 };
8213
8215
  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;
8214
8216
  let c2 = null;
8215
- c2 = l2 ? Uc(r2) : a2 ? $c(o2) : n2({ colIndex: r2, rowIndex: o2 });
8217
+ c2 = l2 ? Uc(r2) : a2 ? jc(o2) : n2({ colIndex: r2, rowIndex: o2 });
8216
8218
  let h2 = null;
8217
- return h2 = l2 ? Uc(s2) : a2 ? $c(i2) : n2({ colIndex: s2, rowIndex: i2 }), c2 + ":" + h2;
8219
+ return h2 = l2 ? Uc(s2) : a2 ? jc(i2) : n2({ colIndex: s2, rowIndex: i2 }), c2 + ":" + h2;
8218
8220
  }, Zc = (t2, e2, n2 = Kc) => {
8219
8221
  if (!t2) return zc;
8220
8222
  const r2 = t2.colIndex, o2 = t2.rowIndex, s2 = r2 === Number.MIN_SAFE_INTEGER;
8221
8223
  let i2 = null;
8222
- if (o2 === Number.MIN_SAFE_INTEGER ? (i2 = Uc(r2), t2.$colIndex && (i2 = "$" + i2)) : s2 ? (i2 = $c(o2), t2.$rowIndex && (i2 = "$" + i2)) : i2 = n2(t2), t2.sheetName || e2) {
8224
+ if (o2 === Number.MIN_SAFE_INTEGER ? (i2 = Uc(r2), t2.$colIndex && (i2 = "$" + i2)) : s2 ? (i2 = jc(o2), t2.$rowIndex && (i2 = "$" + i2)) : i2 = n2(t2), t2.sheetName || e2) {
8223
8225
  const n3 = Xc(t2.sheetName, e2);
8224
8226
  i2 = Yc(n3, i2);
8225
8227
  }
@@ -8231,9 +8233,9 @@ const Uc = (t2) => {
8231
8233
  t2 = { ...e2, ...t2 };
8232
8234
  const o2 = e2 && t2.rowStart <= e2.rowStart && t2.rowEnd >= e2.rowEnd, s2 = e2 && t2.colStart <= e2.colStart && t2.colEnd >= e2.colEnd;
8233
8235
  let i2 = null;
8234
- o2 ? (i2 = Uc(t2.colStart), i2 = t2.$colStart ? "$" + i2 : i2) : s2 ? (i2 = $c(t2.rowStart), i2 = t2.$rowStart ? "$" + i2 : i2) : i2 = n2({ colIndex: t2.colStart, rowIndex: t2.rowStart, $colIndex: t2.$colStart, $rowIndex: t2.$rowStart });
8236
+ o2 ? (i2 = Uc(t2.colStart), i2 = t2.$colStart ? "$" + i2 : i2) : s2 ? (i2 = jc(t2.rowStart), i2 = t2.$rowStart ? "$" + i2 : i2) : i2 = n2({ colIndex: t2.colStart, rowIndex: t2.rowStart, $colIndex: t2.$colStart, $rowIndex: t2.$rowStart });
8235
8237
  let a2 = null;
8236
- return o2 ? (a2 = Uc(t2.colEnd), a2 = t2.$colEnd ? "$" + a2 : a2) : s2 ? (a2 = $c(t2.rowEnd), a2 = t2.$rowEnd ? "$" + a2 : a2) : a2 = n2({ colIndex: t2.colEnd, rowIndex: t2.rowEnd, $colIndex: t2.$colEnd, $rowIndex: t2.$rowEnd }), i2 + ":" + a2;
8238
+ return o2 ? (a2 = Uc(t2.colEnd), a2 = t2.$colEnd ? "$" + a2 : a2) : s2 ? (a2 = jc(t2.rowEnd), a2 = t2.$rowEnd ? "$" + a2 : a2) : a2 = n2({ colIndex: t2.colEnd, rowIndex: t2.rowEnd, $colIndex: t2.$colEnd, $rowIndex: t2.$rowEnd }), i2 + ":" + a2;
8237
8239
  }, eh = (t2, e2, n2 = Kc) => {
8238
8240
  const r2 = th(t2, e2, n2), o2 = Xc(t2?.sheetName, e2?.sheetName);
8239
8241
  return Yc(o2, r2);
@@ -8330,7 +8332,7 @@ const Uc = (t2) => {
8330
8332
  }, lh = (t2, e2, n2 = oh, r2, o2 = false) => {
8331
8333
  if (!t2) return [e2];
8332
8334
  let s2;
8333
- s2 = "string" == typeof t2 ? Ho(t2) : t2.isICellRanges ? t2.getCoords() : Array.isArray(t2) ? t2 : [t2];
8335
+ s2 = "string" == typeof t2 ? Wo(t2) : t2.isICellRanges ? t2.getCoords() : Array.isArray(t2) ? t2 : [t2];
8334
8336
  const i2 = [], a2 = s2.length;
8335
8337
  for (let t3 = 0; t3 < a2; t3++) {
8336
8338
  const a3 = s2[t3];
@@ -8459,7 +8461,7 @@ const Uc = (t2) => {
8459
8461
  const o2 = t2.colIndex;
8460
8462
  o2 !== Number.MIN_SAFE_INTEGER && (t2.$colIndex ? r2 += "$" + Uc(o2) : r2 += Uc(o2 + n2));
8461
8463
  const s2 = t2.rowIndex;
8462
- return s2 !== Number.MIN_SAFE_INTEGER && (t2.$rowIndex ? r2 += "$" + $c(s2) : r2 += $c(s2 + e2)), r2;
8464
+ return s2 !== Number.MIN_SAFE_INTEGER && (t2.$rowIndex ? r2 += "$" + jc(s2) : r2 += jc(s2 + e2)), r2;
8463
8465
  }, bh = (t2, e2, n2, r2) => {
8464
8466
  let o2 = t2.colStart, s2 = t2.rowStart, i2 = t2.colEnd, a2 = t2.rowEnd;
8465
8467
  const l2 = t2.$colStart ?? false, c2 = t2.$rowStart ?? false, h2 = t2.$colEnd ?? false, d2 = t2.$rowEnd ?? false;
@@ -8653,9 +8655,9 @@ class Bh {
8653
8655
  const Lh = Object.freeze({ break: true });
8654
8656
  var zh;
8655
8657
  (zh || (zh = {})).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" };
8656
- const Ph = Object.freeze({ [zh.Type.Style]: false, [zh.Type.Table]: false, [zh.Type.Merge]: false, [zh.Type.Hyperlink]: false, [zh.Type.Comments]: false, [zh.Type.Unlock]: false, [zh.Type.Formula]: false, [zh.Type.Spill]: false, [zh.Type.Pending]: false, [zh.Type.CalcError]: false, [zh.Type.Contentful]: false, [zh.Type.Conditional]: false, [zh.Type.Continuous]: false }), Wh = Object.freeze({ [zh.Type.Style]: false, [zh.Type.Table]: false, [zh.Type.Merge]: false, [zh.Type.Hyperlink]: false, [zh.Type.Comments]: false, [zh.Type.Unlock]: false, [zh.Type.Formula]: false, [zh.Type.Spill]: false, [zh.Type.Pending]: false, [zh.Type.CalcError]: false, [zh.Type.Conditional]: false, [zh.Type.Continuous]: false }), Hh = Object.freeze({ [zh.Type.Style]: false, [zh.Type.Table]: true, [zh.Type.Merge]: false, [zh.Type.Hyperlink]: false, [zh.Type.Comments]: false, [zh.Type.Unlock]: false, [zh.Type.Formula]: false });
8658
+ const Ph = Object.freeze({ [zh.Type.Style]: false, [zh.Type.Table]: false, [zh.Type.Merge]: false, [zh.Type.Hyperlink]: false, [zh.Type.Comments]: false, [zh.Type.Unlock]: false, [zh.Type.Formula]: false, [zh.Type.Spill]: false, [zh.Type.Pending]: false, [zh.Type.CalcError]: false, [zh.Type.Contentful]: false, [zh.Type.Conditional]: false, [zh.Type.Continuous]: false }), Hh = Object.freeze({ [zh.Type.Style]: false, [zh.Type.Table]: false, [zh.Type.Merge]: false, [zh.Type.Hyperlink]: false, [zh.Type.Comments]: false, [zh.Type.Unlock]: false, [zh.Type.Formula]: false, [zh.Type.Spill]: false, [zh.Type.Pending]: false, [zh.Type.CalcError]: false, [zh.Type.Conditional]: false, [zh.Type.Continuous]: false }), Wh = Object.freeze({ [zh.Type.Style]: false, [zh.Type.Table]: true, [zh.Type.Merge]: false, [zh.Type.Hyperlink]: false, [zh.Type.Comments]: false, [zh.Type.Unlock]: false, [zh.Type.Formula]: false });
8657
8659
  Object.freeze({ [zh.Type.Style]: false, [zh.Type.Table]: false, [zh.Type.Hyperlink]: false, [zh.Type.Comments]: false, [zh.Type.Unlock]: false, [zh.Type.Contentful]: false, [zh.Type.Formula]: false });
8658
- const Vh = Object.freeze({ [zh.Type.Style]: false, [zh.Type.Hyperlink]: false, [zh.Type.Continuous]: false, [zh.Type.Contentful]: false }), $h = "This sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.", jh = (t2 = "update") => `Unable to ${t2}, this sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.`, Gh = "The range is outside of the bounds of the sheet.", Uh = "Listener can not be null", Jh = "We can't insert items. The sheet is protected.", qh = (t2) => `We can't create a ${t2} that overlaps with another table or merge.`, Kh = "Overlapping ranges can not be merged.", Xh = "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.", Yh = "Unable to partially fill over merged cells.", Qh = "Unable to sort merged cells unless they are all the same size.", Zh = "Sheet has been closed. No further operations are allowed.", td = "IteratorContext can only be used during visit.", ed = "When using addresses directly from the sheet do not include the sheet name.", nd = (t2) => `Unable to return more than ${t2} values. To access values in a more scalable solution use 'ICellRange.forEach' or an iterator.`, rd = "'setValue' expects a single value; when working with an array use 'setValue'.", od = "Multiple selection ranges can not be copied.", sd = "Unable to determine source.", id = "When pasting before or after the cut area both areas must align.";
8660
+ const Vh = Object.freeze({ [zh.Type.Style]: false, [zh.Type.Hyperlink]: false, [zh.Type.Continuous]: false, [zh.Type.Contentful]: false }), jh = "This sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.", $h = (t2 = "update") => `Unable to ${t2}, this sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.`, Gh = "The range is outside of the bounds of the sheet.", Uh = "Listener can not be null", qh = "We can't insert items. The sheet is protected.", Jh = (t2) => `We can't create a ${t2} that overlaps with another table or merge.`, Kh = "Overlapping ranges can not be merged.", Xh = "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.", Yh = "Unable to partially fill over merged cells.", Qh = "Unable to sort merged cells unless they are all the same size.", Zh = "Sheet has been closed. No further operations are allowed.", td = "IteratorContext can only be used during visit.", ed = "When using addresses directly from the sheet do not include the sheet name.", nd = (t2) => `Unable to return more than ${t2} values. To access values in a more scalable solution use 'ICellRange.forEach' or an iterator.`, rd = "'setValue' expects a single value; when working with an array use 'setValue'.", od = "Multiple selection ranges can not be copied.", sd = "Unable to determine source.", id = "When pasting before or after the cut area both areas must align.";
8659
8661
  var ad, ld;
8660
8662
  (ld = ad || (ad = {})).CalcStatus = { Ready: "ready", Stale: "stale", Pending: "pending", Streaming: "streaming" }, ld.Content = { Values: "values", Formats: "formats", Formulas: "formula", Hyperlinks: "hyperlinks", Tables: "tables", Notes: "notes", Comments: "comments", Warnings: "warnings", Errors: "errors", Merges: "merges" };
8661
8663
  class cd {
@@ -8711,10 +8713,10 @@ const hd = (t2) => {
8711
8713
  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;
8712
8714
  }
8713
8715
  return '"' + e2 + '"';
8714
- }, yd = "Thin", Ed = "Hairline", Cd = "Extra Light", bd = "Ultra Light", vd = "Light", xd = "Normal", Id = "Regular", Rd = "Medium", Ad = "Semi Bold", Md = "Demi Bold", Td = "Bold", Nd = "Extra Bold", Fd = "Ultra Bold", kd = "Black", Od = "Heavy", Dd = "Extra Black", Bd = "Ultra Black", Ld = "lighter", zd = "normal", Pd = "bold", Wd = "bolder", Hd = /* @__PURE__ */ new Map();
8715
- Hd.set(o.textToKey(yd), 100), Hd.set(o.textToKey(Ed), 100), Hd.set(o.textToKey(Cd), 200), Hd.set(o.textToKey(bd), 200), Hd.set(o.textToKey(vd), 300), Hd.set(o.textToKey(xd), 400), Hd.set(o.textToKey(Id), 400), Hd.set(o.textToKey(Rd), 500), Hd.set(o.textToKey(Ad), 600), Hd.set(o.textToKey(Md), 600), Hd.set(o.textToKey(xd), 400), Hd.set(o.textToKey(Td), 700), Hd.set(o.textToKey(Nd), 800), Hd.set(o.textToKey(Fd), 800), Hd.set(o.textToKey(kd), 900), Hd.set(o.textToKey(Od), 900), Hd.set(o.textToKey(Dd), 950), Hd.set(o.textToKey(Bd), 950), Hd.set(o.textToKey(Ld), 100), Hd.set(o.textToKey(zd), 400), Hd.set(o.textToKey(Pd), 700), Hd.set(o.textToKey(Wd), 700);
8716
- const Vd = "xx-small", $d = "x-small", jd = "small", Gd = "medium", Ud = "large", Jd = "x-large", qd = "xx-large", Kd = "xxx-large", Xd = "smaller", Yd = "larger", Qd = "math", Zd = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), tu = /* @__PURE__ */ new Map();
8717
- tu.set(o.textToKey(Vd), (t2) => 0.4 * t2), tu.set(o.textToKey($d), (t2) => 0.5 * t2), tu.set(o.textToKey(jd), (t2) => 0.6 * t2), tu.set(o.textToKey(Gd), (t2) => t2), tu.set(o.textToKey(Ud), (t2) => 1.1 * t2), tu.set(o.textToKey(Jd), (t2) => 1.25 * t2), tu.set(o.textToKey(qd), (t2) => 1.5 * t2), tu.set(o.textToKey(Kd), (t2) => 2 * t2), tu.set(o.textToKey(Xd), (t2) => 0.9 * t2), tu.set(o.textToKey(Yd), (t2) => 1.1 * t2), tu.set(o.textToKey(Qd), (t2) => t2);
8716
+ }, yd = "Thin", Ed = "Hairline", Cd = "Extra Light", bd = "Ultra Light", vd = "Light", xd = "Normal", Id = "Regular", Rd = "Medium", Ad = "Semi Bold", Md = "Demi Bold", Td = "Bold", Nd = "Extra Bold", Fd = "Ultra Bold", kd = "Black", Od = "Heavy", Dd = "Extra Black", Bd = "Ultra Black", Ld = "lighter", zd = "normal", Pd = "bold", Hd = "bolder", Wd = /* @__PURE__ */ new Map();
8717
+ Wd.set(o.textToKey(yd), 100), Wd.set(o.textToKey(Ed), 100), Wd.set(o.textToKey(Cd), 200), Wd.set(o.textToKey(bd), 200), Wd.set(o.textToKey(vd), 300), Wd.set(o.textToKey(xd), 400), Wd.set(o.textToKey(Id), 400), Wd.set(o.textToKey(Rd), 500), Wd.set(o.textToKey(Ad), 600), Wd.set(o.textToKey(Md), 600), Wd.set(o.textToKey(xd), 400), Wd.set(o.textToKey(Td), 700), Wd.set(o.textToKey(Nd), 800), Wd.set(o.textToKey(Fd), 800), Wd.set(o.textToKey(kd), 900), Wd.set(o.textToKey(Od), 900), Wd.set(o.textToKey(Dd), 950), Wd.set(o.textToKey(Bd), 950), Wd.set(o.textToKey(Ld), 100), Wd.set(o.textToKey(zd), 400), Wd.set(o.textToKey(Pd), 700), Wd.set(o.textToKey(Hd), 700);
8718
+ const Vd = "xx-small", jd = "x-small", $d = "small", Gd = "medium", Ud = "large", qd = "x-large", Jd = "xx-large", Kd = "xxx-large", Xd = "smaller", Yd = "larger", Qd = "math", Zd = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), tu = /* @__PURE__ */ new Map();
8719
+ tu.set(o.textToKey(Vd), (t2) => 0.4 * t2), tu.set(o.textToKey(jd), (t2) => 0.5 * t2), tu.set(o.textToKey($d), (t2) => 0.6 * t2), tu.set(o.textToKey(Gd), (t2) => t2), tu.set(o.textToKey(Ud), (t2) => 1.1 * t2), tu.set(o.textToKey(qd), (t2) => 1.25 * t2), tu.set(o.textToKey(Jd), (t2) => 1.5 * t2), tu.set(o.textToKey(Kd), (t2) => 2 * t2), tu.set(o.textToKey(Xd), (t2) => 0.9 * t2), tu.set(o.textToKey(Yd), (t2) => 1.1 * t2), tu.set(o.textToKey(Qd), (t2) => t2);
8718
8720
  const eu = (t2, e2 = 11, n2 = "pt") => {
8719
8721
  if (!t2) return null;
8720
8722
  let r2 = e2;
@@ -8735,7 +8737,7 @@ const eu = (t2, e2 = 11, n2 = "pt") => {
8735
8737
  }
8736
8738
  return isNaN(r2) ? null : r2;
8737
8739
  }, nu = /* @__PURE__ */ new Map();
8738
- nu.set(js.BuiltInSheetPattern.None, { description: "None", cssKey: "none" }), nu.set(js.BuiltInSheetPattern.Solid, { description: "Solid", cssKey: "solid" }), nu.set(js.BuiltInSheetPattern.DarkGray, { description: "75% gray", cssKey: "gray-75" }), nu.set(js.BuiltInSheetPattern.MediumGray, { description: "50% gray", cssKey: "gray-50" }), nu.set(js.BuiltInSheetPattern.LightGray, { description: "25% gray", cssKey: "gray-25" }), nu.set(js.BuiltInSheetPattern.Gray125, { description: "12.5% Gray", cssKey: "gray-125" }), nu.set(js.BuiltInSheetPattern.Gray0625, { description: "6.25% Gray", cssKey: "gray-0625" }), nu.set(js.BuiltInSheetPattern.DarkHorizontal, { description: "Horizontal Strip", cssKey: "horz-stripe" }), nu.set(js.BuiltInSheetPattern.DarkVertical, { description: "Vertical Strip", cssKey: "vert-stripe" }), nu.set(js.BuiltInSheetPattern.DarkDown, { description: "Reverse Diagonal Stripe", cssKey: "reverse-diag-stripe" }), nu.set(js.BuiltInSheetPattern.DarkUp, { description: "Diagonal Strip", cssKey: "diag-stripe" }), nu.set(js.BuiltInSheetPattern.DarkGrid, { description: "Diagonal Crosshatch", cssKey: "diag-cross" }), nu.set(js.BuiltInSheetPattern.DarkTrellis, { description: "Thick Diagonal Crosshatch", cssKey: "thick-diag-cross" }), nu.set(js.BuiltInSheetPattern.LightHorizontal, { description: "Thin Horizontal Stripe", cssKey: "thin-horz-stripe" }), nu.set(js.BuiltInSheetPattern.LightVertical, { description: "Thin Vertical Stripe", cssKey: "thin-vert-stripe" }), nu.set(js.BuiltInSheetPattern.LightDown, { description: "Thin Reverse Diagonal Stripe", cssKey: "thin-reverse-diag-stripe" }), nu.set(js.BuiltInSheetPattern.LightUp, { description: "Thin Diagonal Stripe", cssKey: "thin-diag-stripe" }), nu.set(js.BuiltInSheetPattern.LightGrid, { description: "Thin Horizontal Cross", cssKey: "thin-horz-cross" }), nu.set(js.BuiltInSheetPattern.LightTrellis, { description: "Thin Diagonal Cross", cssKey: "thin-diag-cross" });
8740
+ nu.set($s.BuiltInSheetPattern.None, { description: "None", cssKey: "none" }), nu.set($s.BuiltInSheetPattern.Solid, { description: "Solid", cssKey: "solid" }), nu.set($s.BuiltInSheetPattern.DarkGray, { description: "75% gray", cssKey: "gray-75" }), nu.set($s.BuiltInSheetPattern.MediumGray, { description: "50% gray", cssKey: "gray-50" }), nu.set($s.BuiltInSheetPattern.LightGray, { description: "25% gray", cssKey: "gray-25" }), nu.set($s.BuiltInSheetPattern.Gray125, { description: "12.5% Gray", cssKey: "gray-125" }), nu.set($s.BuiltInSheetPattern.Gray0625, { description: "6.25% Gray", cssKey: "gray-0625" }), nu.set($s.BuiltInSheetPattern.DarkHorizontal, { description: "Horizontal Strip", cssKey: "horz-stripe" }), nu.set($s.BuiltInSheetPattern.DarkVertical, { description: "Vertical Strip", cssKey: "vert-stripe" }), nu.set($s.BuiltInSheetPattern.DarkDown, { description: "Reverse Diagonal Stripe", cssKey: "reverse-diag-stripe" }), nu.set($s.BuiltInSheetPattern.DarkUp, { description: "Diagonal Strip", cssKey: "diag-stripe" }), nu.set($s.BuiltInSheetPattern.DarkGrid, { description: "Diagonal Crosshatch", cssKey: "diag-cross" }), nu.set($s.BuiltInSheetPattern.DarkTrellis, { description: "Thick Diagonal Crosshatch", cssKey: "thick-diag-cross" }), nu.set($s.BuiltInSheetPattern.LightHorizontal, { description: "Thin Horizontal Stripe", cssKey: "thin-horz-stripe" }), nu.set($s.BuiltInSheetPattern.LightVertical, { description: "Thin Vertical Stripe", cssKey: "thin-vert-stripe" }), nu.set($s.BuiltInSheetPattern.LightDown, { description: "Thin Reverse Diagonal Stripe", cssKey: "thin-reverse-diag-stripe" }), nu.set($s.BuiltInSheetPattern.LightUp, { description: "Thin Diagonal Stripe", cssKey: "thin-diag-stripe" }), nu.set($s.BuiltInSheetPattern.LightGrid, { description: "Thin Horizontal Cross", cssKey: "thin-horz-cross" }), nu.set($s.BuiltInSheetPattern.LightTrellis, { description: "Thin Diagonal Cross", cssKey: "thin-diag-cross" });
8739
8741
  let ru = "";
8740
8742
  const ou = /* @__PURE__ */ new Map();
8741
8743
  nu.forEach((t2, e2) => {
@@ -8765,7 +8767,7 @@ const su = new RegExp(`(\\s*(?:${ru}))`, "g"), iu = (t2) => {
8765
8767
  r2 += dd(o3.getColor(), e2) + " " + 100 * (o3.getOffset() ?? n3 * (t2.getStops().length - 1)) + "%", n3 < t2.getStops().length - 1 && (r2 += ", ");
8766
8768
  }
8767
8769
  let o2 = t2.getAngle() ?? 0;
8768
- if (t2.getGradientType() === js.GradientType.Path) {
8770
+ if (t2.getGradientType() === $s.GradientType.Path) {
8769
8771
  const n3 = dd(t2.getStops()[0]?.getColor(), e2), s2 = dd((t2.getStops()[1] ?? t2.getStops()[0])?.getColor(), e2), i2 = t2.getFillTo() ?? { left: 0, top: 0, right: 0, bottom: 0 }, a2 = -1;
8770
8772
  let l2 = `${100 - a2}% ${100 - a2}%`;
8771
8773
  if (o2 = 315, 1 === i2.left && 1 === i2.right && 1 === i2.right && 1 === i2.bottom) o2 = 135, l2 = `${a2}% ${a2}%`;
@@ -8855,7 +8857,7 @@ const Lu = (t2) => {
8855
8857
  })), !t2) return null;
8856
8858
  const n2 = {};
8857
8859
  return t2.style && (n2.style = t2.style), t2.color && (n2.color = t2.color), n2;
8858
- }, properties: { color: zu } }, Wu = { shorthand: (t2, e2) => {
8860
+ }, properties: { color: zu } }, Hu = { shorthand: (t2, e2) => {
8859
8861
  if (t2.isIBorder) return t2.getProperties();
8860
8862
  if ("string" == typeof t2) {
8861
8863
  const n2 = wu(t2, (t3) => {
@@ -8868,7 +8870,7 @@ const Lu = (t2) => {
8868
8870
  return { left: n2, right: n2, top: n2, bottom: n2, horizontal: null, vertical: null, diagonalUp: null, diagonalDown: null };
8869
8871
  }
8870
8872
  return t2;
8871
- }, properties: { top: Pu, left: Pu, right: Pu, bottom: Pu, horizontal: Pu, vertical: Pu, diagonalUp: Pu, diagonalDown: Pu } }, Hu = { shorthand: (t2, e2) => {
8873
+ }, properties: { top: Pu, left: Pu, right: Pu, bottom: Pu, horizontal: Pu, vertical: Pu, diagonalUp: Pu, diagonalDown: Pu } }, Wu = { shorthand: (t2, e2) => {
8872
8874
  if ("string" == typeof t2) {
8873
8875
  let e3 = Ii.Styles.lookupDefault(t2);
8874
8876
  return void 0 !== e3 ? e3 : t2;
@@ -8902,36 +8904,36 @@ const Lu = (t2) => {
8902
8904
  let e3 = 400;
8903
8905
  if (e3 = "number" == typeof t3 ? t3 : parseFloat(t3), !isNaN(e3)) return e3;
8904
8906
  if ("string" == typeof t3) {
8905
- const e4 = o.textToKey(t3), n3 = Hd.get(e4);
8907
+ const e4 = o.textToKey(t3), n3 = Wd.get(e4);
8906
8908
  if (n3) return n3;
8907
8909
  }
8908
8910
  return e3;
8909
8911
  })(t2);
8910
8912
  return isNaN(n2) || "number" != typeof n2 ? null : n2;
8911
- } }, underline: { shorthand: (t2, e2) => t2 ? true === t2 ? ns.UnderlineStyle.Single : fd(t2) : ns.UnderlineStyle.None } } }, $u = { properties: { indent: { shorthand: (t2, e2) => {
8913
+ } }, underline: { shorthand: (t2, e2) => t2 ? true === t2 ? ns.UnderlineStyle.Single : fd(t2) : ns.UnderlineStyle.None } } }, ju = { properties: { indent: { shorthand: (t2, e2) => {
8912
8914
  let n2 = t2;
8913
8915
  return "string" == typeof t2 && (n2 = parseFloat(t2)), isNaN(n2) || "number" != typeof n2 ? null : n2;
8914
8916
  } }, rotation: { shorthand: (t2, e2) => {
8915
8917
  let n2 = t2;
8916
8918
  return "string" == typeof t2 && (n2 = parseFloat(t2)), isNaN(n2) || "number" != typeof n2 ? null : (n2 %= 360, n2 < 0 && (n2 += 360), n2);
8917
- } } } }, ju = { shorthand: (t2, e2) => "none" === t2 || "transparent" === t2 || "object" == typeof t2 && 0 === Object.keys(t2).length ? { type: js.Type.None } : (t2.getType?.(), js.Type.None, t2) }, Gu = { shorthand: (t2) => ("object" == typeof (t2 = Lu(t2)) && t2.color && (t2.type = js.Type.Solid), t2), merge: (t2, e2) => t2.color ? t2 : (e2?.toJSON && (e2 = e2.toJSON()), e2?.type === js.Type.Solid ? { ...e2 } : e2?.type === js.Type.Gradient ? { type: js.Type.Solid, color: e2?.stops?.[0]?.color ?? Us.Scheme.Bg1 } : e2?.type === js.Type.Pattern ? { type: js.Type.Solid, color: e2?.foreground ?? Us.Scheme.Bg1 } : t2 ? { ...t2 } : null), properties: { color: zu } }, Uu = { shorthand: (t2) => ("object" == typeof t2 && t2.stops && (t2.type = js.Type.Gradient), t2), merge: (t2, e2, n2) => t2.stops ? t2 : (e2?.toJSON && (e2 = e2.toJSON()), e2?.type === js.Type.Gradient ? { ...e2 } : e2?.type === js.Type.Solid ? { type: js.Type.Gradient, stops: [{ offset: 0, color: e2?.color ?? Us.Scheme.Accent1 }, { offset: 1, color: Us.Scheme.Bg1 }] } : e2?.type === js.Type.Pattern ? { type: js.Type.Gradient, stops: [{ offset: 0, color: e2?.foreground ?? Us.Scheme.Bg1 }, { offset: 1, color: e2?.background ?? Us.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) => {
8919
+ } } } }, $u = { 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) }, Gu = { shorthand: (t2) => ("object" == typeof (t2 = Lu(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 ?? Us.Scheme.Bg1 } : e2?.type === $s.Type.Pattern ? { type: $s.Type.Solid, color: e2?.foreground ?? Us.Scheme.Bg1 } : t2 ? { ...t2 } : null), properties: { color: zu } }, Uu = { 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 ?? Us.Scheme.Accent1 }, { offset: 1, color: Us.Scheme.Bg1 }] } : e2?.type === $s.Type.Pattern ? { type: $s.Type.Gradient, stops: [{ offset: 0, color: e2?.foreground ?? Us.Scheme.Bg1 }, { offset: 1, color: e2?.background ?? Us.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) => {
8918
8920
  if (!t3) return;
8919
8921
  let n2 = t3;
8920
8922
  return "string" == typeof t3 && (n2 = Lu(t3)), t3.isIColor && (n2 = { color: t3.toString() }), n2;
8921
- })), t2), arrayType: { shorthand: (t2) => t2 = Lu(t2), properties: { color: zu } } } } }, Ju = { shorthand: (t2, e2) => {
8923
+ })), t2), arrayType: { shorthand: (t2) => t2 = Lu(t2), properties: { color: zu } } } } }, qu = { shorthand: (t2, e2) => {
8922
8924
  if ("object" == typeof t2) {
8923
8925
  const e3 = t2;
8924
- (e3.foreground || e3.background || e3.patternType) && (e3.type = js.Type.Pattern, e3.patternType = e3.patternType ?? js.BuiltInSheetPattern.Solid);
8926
+ (e3.foreground || e3.background || e3.patternType) && (e3.type = $s.Type.Pattern, e3.patternType = e3.patternType ?? $s.BuiltInSheetPattern.Solid);
8925
8927
  }
8926
8928
  return t2;
8927
8929
  }, merge: (t2, e2, n2) => {
8928
8930
  if (t2.background && t2.foreground) return t2;
8929
8931
  e2?.toJSON && (e2 = e2.toJSON());
8930
- const r2 = js.BuiltInSheetPattern.MediumGray;
8931
- return e2?.type === js.Type.Pattern ? { ...e2, ...t2 } : e2?.type === js.Type.Solid ? { patternType: r2, foreground: e2?.color ?? Us.Named.WindowText, background: Us.Scheme.Bg1, ...t2 } : e2?.type === js.Type.Gradient ? { patternType: r2, foreground: e2?.stops?.[0]?.color ?? Us.Named.WindowText, background: e2?.stops?.[1]?.color ?? Us.Scheme.Bg1, ...t2 } : t2 ? { type: js.Type.Pattern, patternType: js.BuiltInSheetPattern.Solid, foreground: Us.Named.WindowText, background: Us.Scheme.Bg1, ...t2 } : null;
8932
- }, properties: { foreground: zu, background: zu } }, qu = [ju, Gu, Uu, Ju], Ku = [];
8933
- for (let t2 = 0; t2 < qu.length; t2++) {
8934
- const e2 = qu[t2]?.shorthand;
8932
+ const r2 = $s.BuiltInSheetPattern.MediumGray;
8933
+ return e2?.type === $s.Type.Pattern ? { ...e2, ...t2 } : e2?.type === $s.Type.Solid ? { patternType: r2, foreground: e2?.color ?? Us.Named.WindowText, background: Us.Scheme.Bg1, ...t2 } : e2?.type === $s.Type.Gradient ? { patternType: r2, foreground: e2?.stops?.[0]?.color ?? Us.Named.WindowText, background: e2?.stops?.[1]?.color ?? Us.Scheme.Bg1, ...t2 } : t2 ? { type: $s.Type.Pattern, patternType: $s.BuiltInSheetPattern.Solid, foreground: Us.Named.WindowText, background: Us.Scheme.Bg1, ...t2 } : null;
8934
+ }, properties: { foreground: zu, background: zu } }, Ju = [$u, Gu, Uu, qu], Ku = [];
8935
+ for (let t2 = 0; t2 < Ju.length; t2++) {
8936
+ const e2 = Ju[t2]?.shorthand;
8935
8937
  Ku.push(e2);
8936
8938
  }
8937
8939
  const Xu = Ku.length, Yu = { properties: { font: Vu, fill: { shorthand: (t2, e2) => {
@@ -8941,7 +8943,7 @@ const Xu = Ku.length, Yu = { properties: { font: Vu, fill: { shorthand: (t2, e2)
8941
8943
  if (r2?.type) return r2;
8942
8944
  }
8943
8945
  return t2;
8944
- }, getSubType: (t2) => t2.type === js.Type.None ? ju : t2.type === js.Type.Solid ? Gu : t2.type === js.Type.Gradient ? Uu : t2.type === js.Type.Pattern ? Ju : null }, alignment: $u, border: Wu, numberFormat: Hu } }, Qu = { properties: { style: Yu } }, Zu = 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 }), tg = (e2, n2, r2, s2, i2, a2 = false) => {
8946
+ }, getSubType: (t2) => t2.type === $s.Type.None ? $u : t2.type === $s.Type.Solid ? Gu : t2.type === $s.Type.Gradient ? Uu : t2.type === $s.Type.Pattern ? qu : null }, alignment: ju, border: Hu, numberFormat: Wu } }, Qu = { properties: { style: Yu } }, Zu = 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 }), tg = (e2, n2, r2, s2, i2, a2 = false) => {
8945
8947
  if (null == e2) return Zu;
8946
8948
  let l2 = "", c2 = null, h2 = null, d2 = null;
8947
8949
  if (r2 === t.Error) l2 = e2.getLabel();
@@ -9000,7 +9002,7 @@ const Xu = Ku.length, Yu = { properties: { font: Vu, fill: { shorthand: (t2, e2)
9000
9002
  }
9001
9003
  const b2 = Qr(s2, e2), v2 = { displayText: l2 ?? "", conditionalColor: b2 ? i2(b2) : null, repeatChars: h2 ?? o.EmptyArray, spacingChars: d2 ?? o.EmptyArray, repeatPlaceholder: c2, formattedRuns: f2, canWrap: y2, asDate: m2, isDateFormat: u2, isTimeFormat: g2, isDate1904: a2 };
9002
9004
  return Object.freeze(v2);
9003
- }, eg = Object.freeze({ fallbacks: o.EmptyArray, weight: 400, style: ns.Style.Normal, fill: Us.Scheme.Tx1, letterSpacing: null, underline: ns.UnderlineStyle.None, strike: false, scheme: ns.Scheme.Minor, verticalAlign: ns.VerticalAlignment.Baseline, shadow: false, outline: false, extend: false }), ng = Object.freeze({ style: li.StrokeStyle.None, color: Us.Scheme.Tx1 }), rg = Object.freeze({ [li.Edge.Top]: ng, [li.Edge.Left]: ng, [li.Edge.Bottom]: ng, [li.Edge.Right]: ng, [li.Edge.Horizontal]: ng, [li.Edge.Vertical]: ng, [li.Edge.DiagonalUp]: ng, [li.Edge.DiagonalDown]: ng }), og = Object.freeze({ horizontal: Io.HorizontalAlignment.General, vertical: Io.VerticalAlignment.Bottom, indent: 0, relativeIndent: 0, overflow: Io.Overflow.Visible, rotation: 0, stacked: false, quotePrefix: false, justifyLastLine: false, readingOrder: Io.ReadingDirection.Auto, readingDirection: Io.ReadingDirection.Auto }), sg = Object.freeze({ locked: false, formulaHidden: false }), ig = Object.freeze({ fill: { type: js.Type.None }, numberFormat: "General", alignment: og, font: eg, border: rg, protection: sg, quotePrefix: false, namedStyle: null }), ag = (() => {
9005
+ }, eg = Object.freeze({ fallbacks: o.EmptyArray, weight: 400, style: ns.Style.Normal, fill: Us.Scheme.Tx1, letterSpacing: null, underline: ns.UnderlineStyle.None, strike: false, scheme: ns.Scheme.Minor, verticalAlign: ns.VerticalAlignment.Baseline, shadow: false, outline: false, extend: false }), ng = Object.freeze({ style: li.StrokeStyle.None, color: Us.Scheme.Tx1 }), rg = Object.freeze({ [li.Edge.Top]: ng, [li.Edge.Left]: ng, [li.Edge.Bottom]: ng, [li.Edge.Right]: ng, [li.Edge.Horizontal]: ng, [li.Edge.Vertical]: ng, [li.Edge.DiagonalUp]: ng, [li.Edge.DiagonalDown]: ng }), og = Object.freeze({ horizontal: Io.HorizontalAlignment.General, vertical: Io.VerticalAlignment.Bottom, indent: 0, relativeIndent: 0, overflow: Io.Overflow.Visible, rotation: 0, stacked: false, quotePrefix: false, justifyLastLine: false, readingOrder: Io.ReadingDirection.Auto, readingDirection: Io.ReadingDirection.Auto }), sg = Object.freeze({ locked: false, formulaHidden: false }), ig = Object.freeze({ fill: { type: $s.Type.None }, numberFormat: "General", alignment: og, font: eg, border: rg, protection: sg, quotePrefix: false, namedStyle: null }), ag = (() => {
9004
9006
  const t2 = [{ named: Ai.BuiltInName.Normal }, { named: Ai.BuiltInName.RowLevel }, { named: Ai.BuiltInName.ColLevel }, { named: Ai.BuiltInName.Comma, numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)' }, { named: Ai.BuiltInName.Currency, numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)' }, { named: Ai.BuiltInName.Percent, numberFormat: "0%" }, { named: Ai.BuiltInName.Comma0, numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)' }, { named: Ai.BuiltInName.Currency0, numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)' }, { named: Ai.BuiltInName.Hyperlink, font: { ...eg, fill: Us.Scheme.Hlink, underline: ns.UnderlineStyle.Single } }, { named: Ai.BuiltInName.FollowedHyperlink, font: { ...eg, fill: Us.Scheme.FolHlink, underline: ns.UnderlineStyle.Single } }, { named: Ai.BuiltInName.Note, fill: "FFFFFFCC", font: { ...eg, style: ns.Style.Normal, fill: Us.Scheme.Tx1 }, border: { left: { style: li.StrokeStyle.Thin, color: "FFB2B2B2" }, top: { style: li.StrokeStyle.Thin, color: "FFB2B2B2" }, right: { style: li.StrokeStyle.Thin, color: "FFB2B2B2" }, bottom: { style: li.StrokeStyle.Thin, color: "FFB2B2B2" } } }, { named: Ai.BuiltInName.WarningText, font: { ...eg, fill: "FFFF0000" } }, { named: Ai.BuiltInName.Unknown12 }, { named: Ai.BuiltInName.Unknown13 }, { named: Ai.BuiltInName.Unknown14 }, { named: Ai.BuiltInName.Title, font: { ...eg, size: 18, fill: Us.Scheme.Tx2 } }, { named: Ai.BuiltInName.Heading1, font: { ...eg, size: 15, weight: "bold", fill: Us.Scheme.Tx2 }, border: { bottom: { style: li.StrokeStyle.Thick, color: Us.Scheme.Accent1 } } }, { named: Ai.BuiltInName.Heading2, font: { ...eg, size: 13, weight: "bold", fill: Us.Scheme.Tx2 }, border: { bottom: { style: li.StrokeStyle.Thick, color: "accent1 lumMod 40, lumOff 60" } } }, { named: Ai.BuiltInName.Heading3, font: { ...eg, weight: "bold", fill: Us.Scheme.Tx2 }, border: { bottom: { style: li.StrokeStyle.Medium, color: "accent1 lumMod 40, lumOff 60" } } }, { named: Ai.BuiltInName.Heading4, font: { weight: "bold", fill: Us.Scheme.Tx2, ...eg } }, { named: Ai.BuiltInName.Input, fill: "FFFFCC99", font: { ...eg, fill: "FF3F3F76" }, border: { left: { style: li.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: li.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: li.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: li.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: Ai.BuiltInName.Output, fill: "FFF2F2F2", font: { ...eg, fill: "FF3F3F3F" }, border: { left: { style: li.StrokeStyle.Thin, color: "FF3F3F3F" }, top: { style: li.StrokeStyle.Thin, color: "FF3F3F3F" }, right: { style: li.StrokeStyle.Thin, color: "FF3F3F3F" }, bottom: { style: li.StrokeStyle.Thin, color: "FF3F3F3F" } } }, { named: Ai.BuiltInName.Calculation, fill: "FFF2F2F2", font: { ...eg, fill: "FFFA7D00" }, border: { left: { style: li.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: li.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: li.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: li.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: Ai.BuiltInName.CheckCell, fill: "FFA5A5A5", font: { ...eg, fill: Us.Scheme.Bg1 }, border: { left: { style: li.StrokeStyle.Double, color: "FF3F3F3F" }, top: { style: li.StrokeStyle.Double, color: "FF3F3F3F" }, right: { style: li.StrokeStyle.Double, color: "FF3F3F3F" }, bottom: { style: li.StrokeStyle.Double, color: "FF3F3F3F" } } }, { named: Ai.BuiltInName.LinkedCell, font: { ...eg, fill: "FFFA7D00" }, border: { bottom: { style: li.StrokeStyle.Double, color: "FFFF8001" } } }, { named: Ai.BuiltInName.Total, font: { ...eg, weight: "bold", fill: Us.Scheme.Tx1 }, border: { top: { style: li.StrokeStyle.Thin, color: Us.Scheme.Accent1 }, bottom: { style: li.StrokeStyle.Double, color: Us.Scheme.Accent1 } } }, { named: Ai.BuiltInName.Good, fill: "FFC6EFCE", font: { ...eg, fill: "FF006100" } }, { named: Ai.BuiltInName.Bad, fill: "FFFFC7CE", font: { ...eg, fill: "FF9C0006" } }, { named: Ai.BuiltInName.Neutral, fill: "FFFFEB9C", font: { ...eg, fill: "FF9C5700" } }, { named: Ai.BuiltInName.Accent1 }, { named: Ai.BuiltInName.Accent1_20 }, { named: Ai.BuiltInName.Accent1_40 }, { named: Ai.BuiltInName.Accent1_60 }, { named: Ai.BuiltInName.Accent2 }, { named: Ai.BuiltInName.Accent2_20 }, { named: Ai.BuiltInName.Accent2_40 }, { named: Ai.BuiltInName.Accent2_60 }, { named: Ai.BuiltInName.Accent3 }, { named: Ai.BuiltInName.Accent3_20 }, { named: Ai.BuiltInName.Accent3_40 }, { named: Ai.BuiltInName.Accent3_60 }, { named: Ai.BuiltInName.Accent4 }, { named: Ai.BuiltInName.Accent4_20 }, { named: Ai.BuiltInName.Accent4_40 }, { named: Ai.BuiltInName.Accent4_60 }, { named: Ai.BuiltInName.Accent5 }, { named: Ai.BuiltInName.Accent5_20 }, { named: Ai.BuiltInName.Accent5_40 }, { named: Ai.BuiltInName.Accent5_60 }, { named: Ai.BuiltInName.Accent6 }, { named: Ai.BuiltInName.Accent6_20 }, { named: Ai.BuiltInName.Accent6_40 }, { named: Ai.BuiltInName.Accent6_60 }, { named: Ai.BuiltInName.ExplanatoryText, font: { ...eg, style: ns.Style.Italic, fill: "FF7F7F7F" } }];
9005
9007
  for (let e2 = 29; e2 <= 52; e2++) {
9006
9008
  const n2 = (e2 - 29) % 4, r2 = Math.floor((e2 - 29) / 4);
@@ -9014,7 +9016,7 @@ const lg = new class {
9014
9016
  return { backgroundImage: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${r2}' height='${r2}' viewBox='0 0 ${r2} ${r2}' shape-rendering='crispEdges' %3E%3Cpath d='${n2}' stroke='${t2}' %3E%3C/path%3E%3C/svg%3E")`, backgroundRepeat: "repeat", backgroundSize: `${r2}px ${r2}px`, backgroundPositionX: "0px", backgroundPositionY: "0px", backgroundPosition: "" + -r2, backgroundColor: e2 };
9015
9017
  }
9016
9018
  toCSS(t2, e2, n2) {
9017
- return t2 && t2 !== js.BuiltInSheetPattern.None ? t2 === js.BuiltInSheetPattern.Solid ? { background: n2 } : t2 === js.BuiltInSheetPattern.Gray0625 ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 0.5 4.5 L 0.5 5.5 M 4.5 2.5 L 4.5 3.5 M 4.5 6.5 L 4.5 7.5", 8) : t2 === js.BuiltInSheetPattern.LightGray ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 0.5 2.5 L 0.5 3.5 M 2.5 -0.5 L 2.5 0.5 M 2.5 1.5 L 2.5 2.5 M 2.5 3.5 L 2.5 4.5", 4) : t2 === js.BuiltInSheetPattern.MediumGray ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 1.5 1.5 L 1.5 2.5 M 1.5 -0.5 L 1.5 0.5 M -0.5 -0.5 L -0.5 0.5", 2) : t2 === js.BuiltInSheetPattern.DarkGray ? this._svgImage(e2, n2, "M 0 0 L 0 4 M 1 1 L 1 2 M 1 3 L 1 4 M 2 0 L 2 4 M 3 0.5 L 3 1.5 M 3 2.5 L 3 3.5 M 4 0 L 4 4", 4) : t2 === js.BuiltInSheetPattern.LightHorizontal ? this._svgImage(e2, n2, "M 0 2 L 4 2", 4) : t2 === js.BuiltInSheetPattern.DarkHorizontal ? this._svgImage(e2, n2, "M 0 2 L 4 2 M 0 3 L 4 3", 4) : t2 === js.BuiltInSheetPattern.LightVertical ? this._svgImage(e2, n2, "M 2 0 L 2 4", 4) : t2 === js.BuiltInSheetPattern.DarkVertical ? this._svgImage(e2, n2, "M 2 0 L 2 4 M 3 0 L 3 4", 4) : t2 === js.BuiltInSheetPattern.LightUp ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 1.5 3.5 L 1.5 4.5 M 1.5 -0.5 L 1.5 0.5 M 2.5 2.5 L 2.5 3.5 M 3.5 1.5 L 3.5 2.5", 4) : t2 === js.BuiltInSheetPattern.DarkUp ? this._svgImage(e2, n2, "M 0.5 -0.5 L 0.5 1.5 M 0.5 3.5 L 0.5 4.5 M 1.5 2.5 L 1.5 4.5 M 2.5 1.5 L 2.5 3.5 M 3.5 0.5 L 3.5 2.5 M 1.5 -0.5 L 1.5 0.5", 4) : t2 === js.BuiltInSheetPattern.LightDown ? this._svgImage(e2, n2, "M 0.5 0 L 0.5 1 M 1.5 1 L 1.5 2 M 2.5 2 L 2.5 3 M 3.5 3 L 3.5 4", 4) : t2 === js.BuiltInSheetPattern.DarkDown ? this._svgImage(e2, n2, "M 0.5 -0.5 L 0.5 2 M 1.5 1 L 1.5 3 M 2.5 2 L 2.5 4 M 3.5 3 L 3.5 5 M 3.5 -0.5 L 3.5 1.0", 4) : t2 === js.BuiltInSheetPattern.LightGrid ? this._svgImage(e2, n2, "M 1.5 -0.5 L 1.5 4.5 M -0.5 1.5 L 4.5 1.5", 4) : t2 === js.BuiltInSheetPattern.DarkGrid ? this._svgImage(e2, n2, "M 0.5 -0.5 L 0.5 1.5 M 1.5 -0.5 L 1.5 1.5 M 2.5 1.5 L 2.5 3.5 M 3.5 1.5 L 3.5 3.5 M 0.5 3.5 L 0.5 4.5 M 1.5 3.5 L 1.5 4.5", 4) : t2 === js.BuiltInSheetPattern.LightTrellis ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 1.5 3.5 L 1.5 4.5 M 1.5 -0.5 L 1.5 0.5 M 2.5 2.5 L 2.5 3.5 M 3.5 1.5 L 3.5 2.5 M 1.5 1.5 L 1.5 2.5 M 3.5 3.5 L 3.5 4.5 M 3.5 -0.5 L 3.5 0.5", 4) : t2 === js.BuiltInSheetPattern.DarkTrellis ? this._svgImage(e2, n2, "M 0 0 L 4 0 M 0 1 L 2 1 M 0 2 L 4 2 M 2 3 L 4 3 M 0 4 L 4 4", 4) : (js.BuiltInSheetPattern.Custom, this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 0.5 4.5 L 0.5 5.5 M 2.5 2.5 L 2.5 3.5 M 2.5 6.5 L 2.5 7.5 M 4.5 0.5 L 4.5 1.5 M 4.5 4.5 L 4.5 5.5 M 6.5 2.5 L 6.5 3.5 M 6.5 6.5 L 6.5 7.5", 8)) : { background: "none" };
9019
+ return t2 && t2 !== $s.BuiltInSheetPattern.None ? t2 === $s.BuiltInSheetPattern.Solid ? { background: n2 } : t2 === $s.BuiltInSheetPattern.Gray0625 ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 0.5 4.5 L 0.5 5.5 M 4.5 2.5 L 4.5 3.5 M 4.5 6.5 L 4.5 7.5", 8) : t2 === $s.BuiltInSheetPattern.LightGray ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 0.5 2.5 L 0.5 3.5 M 2.5 -0.5 L 2.5 0.5 M 2.5 1.5 L 2.5 2.5 M 2.5 3.5 L 2.5 4.5", 4) : t2 === $s.BuiltInSheetPattern.MediumGray ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 1.5 1.5 L 1.5 2.5 M 1.5 -0.5 L 1.5 0.5 M -0.5 -0.5 L -0.5 0.5", 2) : t2 === $s.BuiltInSheetPattern.DarkGray ? this._svgImage(e2, n2, "M 0 0 L 0 4 M 1 1 L 1 2 M 1 3 L 1 4 M 2 0 L 2 4 M 3 0.5 L 3 1.5 M 3 2.5 L 3 3.5 M 4 0 L 4 4", 4) : t2 === $s.BuiltInSheetPattern.LightHorizontal ? this._svgImage(e2, n2, "M 0 2 L 4 2", 4) : t2 === $s.BuiltInSheetPattern.DarkHorizontal ? this._svgImage(e2, n2, "M 0 2 L 4 2 M 0 3 L 4 3", 4) : t2 === $s.BuiltInSheetPattern.LightVertical ? this._svgImage(e2, n2, "M 2 0 L 2 4", 4) : t2 === $s.BuiltInSheetPattern.DarkVertical ? this._svgImage(e2, n2, "M 2 0 L 2 4 M 3 0 L 3 4", 4) : t2 === $s.BuiltInSheetPattern.LightUp ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 1.5 3.5 L 1.5 4.5 M 1.5 -0.5 L 1.5 0.5 M 2.5 2.5 L 2.5 3.5 M 3.5 1.5 L 3.5 2.5", 4) : t2 === $s.BuiltInSheetPattern.DarkUp ? this._svgImage(e2, n2, "M 0.5 -0.5 L 0.5 1.5 M 0.5 3.5 L 0.5 4.5 M 1.5 2.5 L 1.5 4.5 M 2.5 1.5 L 2.5 3.5 M 3.5 0.5 L 3.5 2.5 M 1.5 -0.5 L 1.5 0.5", 4) : t2 === $s.BuiltInSheetPattern.LightDown ? this._svgImage(e2, n2, "M 0.5 0 L 0.5 1 M 1.5 1 L 1.5 2 M 2.5 2 L 2.5 3 M 3.5 3 L 3.5 4", 4) : t2 === $s.BuiltInSheetPattern.DarkDown ? this._svgImage(e2, n2, "M 0.5 -0.5 L 0.5 2 M 1.5 1 L 1.5 3 M 2.5 2 L 2.5 4 M 3.5 3 L 3.5 5 M 3.5 -0.5 L 3.5 1.0", 4) : t2 === $s.BuiltInSheetPattern.LightGrid ? this._svgImage(e2, n2, "M 1.5 -0.5 L 1.5 4.5 M -0.5 1.5 L 4.5 1.5", 4) : t2 === $s.BuiltInSheetPattern.DarkGrid ? this._svgImage(e2, n2, "M 0.5 -0.5 L 0.5 1.5 M 1.5 -0.5 L 1.5 1.5 M 2.5 1.5 L 2.5 3.5 M 3.5 1.5 L 3.5 3.5 M 0.5 3.5 L 0.5 4.5 M 1.5 3.5 L 1.5 4.5", 4) : t2 === $s.BuiltInSheetPattern.LightTrellis ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 1.5 3.5 L 1.5 4.5 M 1.5 -0.5 L 1.5 0.5 M 2.5 2.5 L 2.5 3.5 M 3.5 1.5 L 3.5 2.5 M 1.5 1.5 L 1.5 2.5 M 3.5 3.5 L 3.5 4.5 M 3.5 -0.5 L 3.5 0.5", 4) : t2 === $s.BuiltInSheetPattern.DarkTrellis ? this._svgImage(e2, n2, "M 0 0 L 4 0 M 0 1 L 2 1 M 0 2 L 4 2 M 2 3 L 4 3 M 0 4 L 4 4", 4) : ($s.BuiltInSheetPattern.Custom, this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 0.5 4.5 L 0.5 5.5 M 2.5 2.5 L 2.5 3.5 M 2.5 6.5 L 2.5 7.5 M 4.5 0.5 L 4.5 1.5 M 4.5 4.5 L 4.5 5.5 M 6.5 2.5 L 6.5 3.5 M 6.5 6.5 L 6.5 7.5", 8)) : { background: "none" };
9018
9020
  }
9019
9021
  }(), cg = (t2, e2, n2) => {
9020
9022
  if (void 0 === e2) return;
@@ -9389,13 +9391,13 @@ class fg extends dg {
9389
9391
  const pg = Object.freeze({ background: "none" });
9390
9392
  class _g extends dg {
9391
9393
  getType() {
9392
- return js.Type.None;
9394
+ return $s.Type.None;
9393
9395
  }
9394
9396
  toCSS(t2) {
9395
9397
  return pg;
9396
9398
  }
9397
9399
  toJSON() {
9398
- return { type: js.Type.None };
9400
+ return { type: $s.Type.None };
9399
9401
  }
9400
9402
  get [Symbol.toStringTag]() {
9401
9403
  return "[NoneFill]";
@@ -9409,7 +9411,7 @@ class _g extends dg {
9409
9411
  }
9410
9412
  class Sg extends dg {
9411
9413
  getType() {
9412
- return js.Type.Solid;
9414
+ return $s.Type.Solid;
9413
9415
  }
9414
9416
  getColor() {
9415
9417
  return this._c.parseColor(this._value("color") ?? Us.Scheme.Bg1);
@@ -9421,7 +9423,7 @@ class Sg extends dg {
9421
9423
  return { background: this.getColor().toCSS(t2) };
9422
9424
  }
9423
9425
  toJSON() {
9424
- return { type: js.Type.Solid, color: this.getColor()?.toString() ?? null };
9426
+ return { type: $s.Type.Solid, color: this.getColor()?.toString() ?? null };
9425
9427
  }
9426
9428
  get [Symbol.toStringTag]() {
9427
9429
  return "[SolidFill]";
@@ -9446,7 +9448,7 @@ class wg extends dg {
9446
9448
  }
9447
9449
  class yg extends dg {
9448
9450
  getType() {
9449
- return js.Type.Gradient;
9451
+ return $s.Type.Gradient;
9450
9452
  }
9451
9453
  getStops() {
9452
9454
  const t2 = this._value("stops") ?? o.EmptyArray, e2 = t2.length, n2 = 0 === e2 ? o.EmptyArray : new Array(e2);
@@ -9460,7 +9462,7 @@ class yg extends dg {
9460
9462
  return this._o.updater({ fill: { stops: t2 } }, { description: "Set Stops", ...e2 }).getFill();
9461
9463
  }
9462
9464
  getGradientType() {
9463
- return this._value("gradientType") ?? js.GradientType.Linear;
9465
+ return this._value("gradientType") ?? $s.GradientType.Linear;
9464
9466
  }
9465
9467
  setGradientType(t2, e2) {
9466
9468
  return this._o.updater({ fill: { gradientType: t2 } }, { description: "Set Gradient Type", ...e2 }).getFill();
@@ -9482,7 +9484,7 @@ class yg extends dg {
9482
9484
  return n2 ? { background: n2 } : null;
9483
9485
  }
9484
9486
  toJSON() {
9485
- const t2 = { type: js.Type.Gradient }, e2 = this._value("stops") ?? o.EmptyArray, n2 = e2.length;
9487
+ const t2 = { type: $s.Type.Gradient }, e2 = this._value("stops") ?? o.EmptyArray, n2 = e2.length;
9486
9488
  if (n2 > 0) {
9487
9489
  const r2 = new Array(n2);
9488
9490
  for (let t3 = 0; t3 < n2; t3++) {
@@ -9491,7 +9493,7 @@ class yg extends dg {
9491
9493
  }
9492
9494
  t2.stops = r2;
9493
9495
  }
9494
- return 0 !== this.getAngle() && (t2.angle = this.getAngle()), this.getGradientType() !== js.GradientType.Linear && (t2.gradientType = this.getGradientType()), this.getFillTo() && (t2.fillTo = this.getFillTo()), t2;
9496
+ return 0 !== this.getAngle() && (t2.angle = this.getAngle()), this.getGradientType() !== $s.GradientType.Linear && (t2.gradientType = this.getGradientType()), this.getFillTo() && (t2.fillTo = this.getFillTo()), t2;
9495
9497
  }
9496
9498
  get [Symbol.toStringTag]() {
9497
9499
  return "[GradientFill]";
@@ -9505,7 +9507,7 @@ class yg extends dg {
9505
9507
  }
9506
9508
  class Eg extends dg {
9507
9509
  getType() {
9508
- return js.Type.Pattern;
9510
+ return $s.Type.Pattern;
9509
9511
  }
9510
9512
  getBackground() {
9511
9513
  const t2 = this._value("background") ?? Us.Named.Window;
@@ -9521,18 +9523,18 @@ class Eg extends dg {
9521
9523
  return this._o.updater({ fill: { foreground: t2 } }, { description: "Set Foreground Color", ...e2 }).getFill();
9522
9524
  }
9523
9525
  getPatternType() {
9524
- return this._value("patternType") ?? js.BuiltInSheetPattern.None;
9526
+ return this._value("patternType") ?? $s.BuiltInSheetPattern.None;
9525
9527
  }
9526
9528
  setPatternType(t2, e2) {
9527
9529
  return this._o.updater({ fill: { patternType: t2 } }, { description: "Set Pattern Type", ...e2 }).getFill();
9528
9530
  }
9529
9531
  toCSS(t2) {
9530
9532
  const e2 = this.getBackground().toCSS(t2), n2 = this.getForeground().toCSS(t2);
9531
- return this.getPatternType() === js.BuiltInSheetPattern.None ? { background: "none" } : this.getPatternType() === js.BuiltInSheetPattern.Solid ? { background: this.getForeground().toCSS(t2) } : lg.toCSS(this.getPatternType(), n2, e2);
9533
+ return this.getPatternType() === $s.BuiltInSheetPattern.None ? { background: "none" } : this.getPatternType() === $s.BuiltInSheetPattern.Solid ? { background: this.getForeground().toCSS(t2) } : lg.toCSS(this.getPatternType(), n2, e2);
9532
9534
  }
9533
9535
  toJSON() {
9534
- const t2 = { type: js.Type.Pattern };
9535
- this.getPatternType() !== js.BuiltInSheetPattern.None && (t2.patternType = this.getPatternType());
9536
+ const t2 = { type: $s.Type.Pattern };
9537
+ this.getPatternType() !== $s.BuiltInSheetPattern.None && (t2.patternType = this.getPatternType());
9536
9538
  const e2 = this.getForeground();
9537
9539
  e2 && (t2.foreground = e2.toString());
9538
9540
  const n2 = this.getBackground();
@@ -9550,7 +9552,7 @@ class Eg extends dg {
9550
9552
  }
9551
9553
  class Cg {
9552
9554
  constructor(t2) {
9553
- this._o = t2, this._p = new hg(t2.properties), this._hasVisibleStyling = !this.getFill() || this.getFill().getType() !== js.Type.None || !this.getBorder().isEmpty();
9555
+ this._o = t2, this._p = new hg(t2.properties), this._hasVisibleStyling = !this.getFill() || this.getFill().getType() !== $s.Type.None || !this.getBorder().isEmpty();
9554
9556
  }
9555
9557
  toJSON() {
9556
9558
  const t2 = this._p.toJSON(), e2 = t2.namedStyle ?? Ai.BuiltInName.Normal;
@@ -9607,7 +9609,7 @@ class Cg {
9607
9609
  getFill() {
9608
9610
  const t2 = this._p;
9609
9611
  let e2 = t2.values("fill"), n2 = t2.value("fill");
9610
- return n2.type === js.Type.None ? new _g(this._o, e2) : n2.type === js.Type.Solid || !n2.type && n2.color ? new Sg(this._o, e2) : n2.type === js.Type.Gradient ? new yg(this._o, e2) : n2.type === js.Type.Pattern ? new Eg(this._o, e2) : new _g(this._o, e2);
9612
+ return n2.type === $s.Type.None ? new _g(this._o, e2) : n2.type === $s.Type.Solid || !n2.type && n2.color ? new Sg(this._o, e2) : n2.type === $s.Type.Gradient ? new yg(this._o, e2) : n2.type === $s.Type.Pattern ? new Eg(this._o, e2) : new _g(this._o, e2);
9611
9613
  }
9612
9614
  setFill(t2, e2) {
9613
9615
  return this._o.updater({ fill: t2 }, { description: "Set Fill", ...e2 });
@@ -9905,14 +9907,14 @@ const kg = new class {
9905
9907
  const a3 = s3.getVertical();
9906
9908
  return a3 !== Io.VerticalAlignment.Justify && a3 !== Io.VerticalAlignment.Distributed;
9907
9909
  })(r2, o2, null !== i2 && i2.colIndex + 1 === h2, null !== a2 && a2.colIndex - 1 === h2)) return null;
9908
- const d2 = $g(r2, o2, s2, c2), u2 = o2.getAlignment(), g2 = u2.getHorizontal(), m2 = u2.getOverflow() === Io.Overflow.Wrap || r2 === t.String && (g2 === Io.HorizontalAlignment.Justify || g2 === Io.HorizontalAlignment.Distributed || u2.getVertical() === Io.VerticalAlignment.Justify || u2.getVertical() === Io.VerticalAlignment.Distributed), f2 = g2 === Io.HorizontalAlignment.Fill, _2 = g2 === Io.HorizontalAlignment.CenterContinuous || f2;
9910
+ const d2 = jg(r2, o2, s2, c2), u2 = o2.getAlignment(), g2 = u2.getHorizontal(), m2 = u2.getOverflow() === Io.Overflow.Wrap || r2 === t.String && (g2 === Io.HorizontalAlignment.Justify || g2 === Io.HorizontalAlignment.Distributed || u2.getVertical() === Io.VerticalAlignment.Justify || u2.getVertical() === Io.VerticalAlignment.Distributed), f2 = g2 === Io.HorizontalAlignment.Fill, _2 = g2 === Io.HorizontalAlignment.CenterContinuous || f2;
9909
9911
  if (!d2 && !_2) return null;
9910
9912
  const S2 = ((t2) => t2 === Io.HorizontalAlignment.Center || t2 === Io.HorizontalAlignment.CenterContinuous ? p.Center : t2 === Io.HorizontalAlignment.Right ? p.Right : p.Left)(zg(r2, o2));
9911
9913
  let w2 = 0, y2 = 0, E2 = 0, C2 = 0, b2 = 1;
9912
9914
  if (_2 && null !== s2 && l2) {
9913
- qg.colIndex = n2, qg.rowIndex = e2;
9915
+ Jg.colIndex = n2, Jg.rowIndex = e2;
9914
9916
  const t2 = l2.colEnd;
9915
- b2 = Math.min(c2.nextContentful(qg, t2), t2) - n2 + 1;
9917
+ b2 = Math.min(c2.nextContentful(Jg, t2), t2) - n2 + 1;
9916
9918
  }
9917
9919
  const v2 = c2.colHeaders, x2 = v2.findOffset.bind(v2), I2 = v2.findIndex.bind(v2);
9918
9920
  let R2 = x2(h2);
@@ -9924,7 +9926,7 @@ const kg = new class {
9924
9926
  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);
9925
9927
  return { anchorBounds: k2, leftIndex: w2, rightIndex: y2, leftOffset: E2, rightOffset: C2, colSpan: O2, colBounds: B2 };
9926
9928
  };
9927
- class Wg {
9929
+ class Hg {
9928
9930
  constructor(t2, e2) {
9929
9931
  this._styles = t2, this._ri = e2;
9930
9932
  const n2 = e2?.table;
@@ -9966,9 +9968,9 @@ class Wg {
9966
9968
  return (this._ri.directStyle ?? this._styles.getNormalRanged()).cloneWithUpdate(t2);
9967
9969
  }
9968
9970
  }
9969
- const Hg = (t2, e2, n2, r2) => {
9971
+ const Wg = (t2, e2, n2, r2) => {
9970
9972
  const o2 = r2.styles;
9971
- return bg(o2, n2 ? new Wg(o2, n2) : null, e2, r2.styleUpdater);
9973
+ return bg(o2, n2 ? new Hg(o2, n2) : null, e2, r2.styleUpdater);
9972
9974
  }, Vg = (e2, n2, r2, s2, i2, a2, l2, c2 = null, h2 = Fg) => {
9973
9975
  if (null === r2) return n2 ? n2.getBestFit() : null;
9974
9976
  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 === Io.Overflow.Visible, C2 = d2 && (_2 === Io.Overflow.Wrap || w2 === Io.VerticalAlignment.Justify || w2 === Io.VerticalAlignment.Distributed), b2 = (c2 ?? "") + "\0" + m2 + f2 + g2 + y2 + S2 + E2 + C2 + a2 + l2 + (c2 ? "" : r2), v2 = h2.get(b2);
@@ -10003,14 +10005,14 @@ const Hg = (t2, e2, n2, r2) => {
10003
10005
  a2 && M2 && (x2 = 0);
10004
10006
  const k2 = { width: x2, height: I2 }, O2 = Object.freeze(k2);
10005
10007
  return h2.set(b2, O2), O2;
10006
- }, $g = (t2, e2, n2, r2) => {
10008
+ }, jg = (t2, e2, n2, r2) => {
10007
10009
  const o2 = Lg(t2, e2), s2 = zg(t2, e2);
10008
10010
  let i2 = o2.left + o2.right;
10009
10011
  s2 === Io.HorizontalAlignment.Left ? i2 = o2.right : s2 === Io.HorizontalAlignment.Right ? i2 = o2.left : s2 === Io.HorizontalAlignment.Center && (i2 = o2.left + o2.right);
10010
10012
  const a2 = Vg(t2, e2, n2, r2, Number.MAX_SAFE_INTEGER, false, false);
10011
10013
  return { width: Math.ceil(a2.width - i2), height: Math.ceil(a2.height) };
10012
10014
  };
10013
- class jg {
10015
+ class $g {
10014
10016
  constructor(e2, n2, r2 = t.Null, o2 = null, s2 = null, i2 = null, a2 = null) {
10015
10017
  this._options = e2, this._coords = n2 ?? null, this._t = r2, this._ri = s2, this._v = o2, this._p = i2, this._n = a2;
10016
10018
  }
@@ -10035,7 +10037,7 @@ class jg {
10035
10037
  return this._options.sheet;
10036
10038
  }
10037
10039
  select(t2) {
10038
- return this._options.opener("#" + qc(this._coords), t2);
10040
+ return this._options.opener("#" + Jc(this._coords), t2);
10039
10041
  }
10040
10042
  getColumnFilter() {
10041
10043
  if (!this._ri) return null;
@@ -10133,20 +10135,20 @@ class jg {
10133
10135
  getStyle(t2 = false) {
10134
10136
  if (!t2 && this._styleConditional) return this._styleConditional;
10135
10137
  if (t2 && this._styleSpecific) return this._styleSpecific;
10136
- const e2 = Hg(0, c.cellToRange(this._coords), this._ri, this._options);
10138
+ const e2 = Wg(0, c.cellToRange(this._coords), this._ri, this._options);
10137
10139
  return t2 ? this._styleSpecific = e2 : this._styleConditional = e2, e2;
10138
10140
  }
10139
10141
  createTemporaryCell(t2) {
10140
10142
  const e2 = this._options;
10141
- if (null === t2) return new jg(e2, this._coords, null);
10143
+ if (null === t2) return new $g(e2, this._coords, null);
10142
10144
  const n2 = Og(t2, this._options);
10143
10145
  let r2 = this._ri;
10144
10146
  if (void 0 !== n2.style) {
10145
- const t3 = this._coords ?? c.EmptyCell, o3 = c.cellToRange(t3), s3 = () => Hg(0, o3, this._ri, this._options), i2 = cg(this._options.styles, n2.style, s3), a2 = (this._ri?.directStyle ?? new Rg(e2.styles, o3)).cloneWithUpdate(i2);
10147
+ const t3 = this._coords ?? c.EmptyCell, o3 = c.cellToRange(t3), s3 = () => Wg(0, o3, this._ri, this._options), i2 = cg(this._options.styles, n2.style, s3), a2 = (this._ri?.directStyle ?? new Rg(e2.styles, o3)).cloneWithUpdate(i2);
10146
10148
  r2 = { ...r2, directStyle: a2 };
10147
10149
  }
10148
10150
  let o2 = this._t, s2 = this._v;
10149
- return n2 && void 0 !== n2.value && (s2 = n2.value, o2 = n2.type), s2 === this._v && o2 === this._t && r2 === this._ri ? this : null !== s2 || r2 ? new jg(this._options, this._coords, o2, s2, r2) : new jg(this._options, this._coords);
10151
+ return n2 && void 0 !== n2.value && (s2 = n2.value, o2 = n2.type), s2 === this._v && o2 === this._t && r2 === this._ri ? this : null !== s2 || r2 ? new $g(this._options, this._coords, o2, s2, r2) : new $g(this._options, this._coords);
10150
10152
  }
10151
10153
  _isDate1904() {
10152
10154
  return this._options.date1904;
@@ -10228,7 +10230,7 @@ class jg {
10228
10230
  let t2 = this._ri?.spills;
10229
10231
  if (!t2) return null;
10230
10232
  if (!this._coords) return null;
10231
- Array.isArray(t2) || (Jg[0] = t2, t2 = Jg);
10233
+ Array.isArray(t2) || (qg[0] = t2, t2 = qg);
10232
10234
  let e2 = null;
10233
10235
  for (let n2 = 0; !e2 && n2 < t2.length; n2++) {
10234
10236
  const r2 = t2[n2];
@@ -10240,7 +10242,7 @@ class jg {
10240
10242
  let t2 = this._ri?.spills;
10241
10243
  if (!t2) return false;
10242
10244
  if (!this._coords) return null;
10243
- Array.isArray(t2) || (Jg[0] = t2, t2 = Jg);
10245
+ Array.isArray(t2) || (qg[0] = t2, t2 = qg);
10244
10246
  for (let e2 = 0; e2 < t2.length; e2++) {
10245
10247
  const n2 = t2[e2].getCoords();
10246
10248
  if (this._coords.colIndex === n2.colStart && this._coords.rowIndex === n2.rowStart) return false;
@@ -10258,7 +10260,7 @@ class jg {
10258
10260
  return true;
10259
10261
  }
10260
10262
  }
10261
- let Gg = class extends jg {
10263
+ let Gg = class extends $g {
10262
10264
  constructor(t2) {
10263
10265
  super(t2, null, null, null);
10264
10266
  }
@@ -10311,7 +10313,7 @@ class Ug {
10311
10313
  return this.toText();
10312
10314
  }
10313
10315
  }
10314
- const Jg = [null], qg = { colIndex: -1, rowIndex: -1 };
10316
+ const qg = [null], Jg = { colIndex: -1, rowIndex: -1 };
10315
10317
  let Kg;
10316
10318
  const Xg = (t2, n2, r2, o2 = false) => {
10317
10319
  const s2 = r2 === e.Orientation.Row, i2 = t2.length, a2 = new Array(i2);
@@ -10346,7 +10348,7 @@ const Xg = (t2, n2, r2, o2 = false) => {
10346
10348
  if (t2.rowStart <= n2.rowStart && t2.rowEnd >= n2.rowEnd) return e.Orientation.Column;
10347
10349
  }
10348
10350
  return t2 ? ((t3) => t3.rowEnd - t3.rowStart > t3.colEnd - t3.colStart ? e.Orientation.Column : e.Orientation.Row)(t2) : e.Orientation.Row;
10349
- }, tm = () => false, em = () => true, nm = () => null, rm = () => pa, om = () => 0, sm = new class extends jg {
10351
+ }, tm = () => false, em = () => true, nm = () => null, rm = () => pa, om = () => 0, sm = new class extends $g {
10350
10352
  constructor() {
10351
10353
  super(null, null);
10352
10354
  }
@@ -10363,7 +10365,7 @@ const Xg = (t2, n2, r2, o2 = false) => {
10363
10365
  return Kg || (Kg = new Zm().getNormal(), Kg);
10364
10366
  }
10365
10367
  toString() {
10366
- return `${this._coords ? qc(this._coords) : zc} => ${this._v ?? "{blank}"}`;
10368
+ return `${this._coords ? Jc(this._coords) : zc} => ${this._v ?? "{blank}"}`;
10367
10369
  }
10368
10370
  }(), im = () => am, am = { forEach: () => {
10369
10371
  }, [Symbol.iterator]: rm, entries: rm, values: rm, select: Th, find: Th, calculate: Th, getCell: () => sm, getValue: nm, waitForCalcs: () => Promise.resolve(am), setValue: Th, setFormula: Th, setValues: Th, updateCells: Th, getCells: () => [[sm]], getStyle: Th, getValues: () => [[null]], toText: () => "", getBounds: nm, getIntersect: im, getUnion: im, getDifferences: Th, getResizeBy: im, getResizeTo: im, getOffsetBy: im, getOffsetTo: im, getFixed: im, getUsedRange: im, getEntireRows: im, getEntireColumns: im, getSurrounding: Th, getExtended: Th, isEntireRows: tm, isEntireColumns: tm, isEntireRange: tm, getWidth: om, getHeight: om, size: 0, sort: Th, clear: Th, setHyperlink: Th, setComments: Th, merge: Th, unmerge: Th, getMerges: Th, insert: Th, insertFrom: Th, delete: Th, getDefaultShiftOrientation: Th, getDefaultSortCriteria: Th, autoFill: Th, autoFit: Th, getSnapshot: Th, copyFrom: Th, doBatch: Th, startIncrementalUpdates: Th, getRowHeaders: Th, getColumnHeaders: Th, getCounts: Th, getCount: om, isContentful: tm, addListener: Th, getColumnStart: om, getRowStart: om, getColumnEnd: om, getRowEnd: om, getRowCount: om, getColumnCount: om, getVisible: Th, getCoords: nm, isEmpty: em, toString: () => zc, getA1: () => zc, isInvalid: em, getSheet: nm, isReadOnly: em, isICellRange: true };
@@ -10469,7 +10471,7 @@ const cm = /^[\\+-]?[0-9]*\.?[0-9]*$/, hm = (t2, e2, r2) => {
10469
10471
  return f2 && (t3 += f2.asOADate), p2 && (t3 += p2.parsed.oaDateTime), s2.value = t3, s2;
10470
10472
  }
10471
10473
  const _2 = n.getBuiltInByLabel(t2);
10472
- return _2 ? (s2.value = _2, s2) : (s2.value = t2, Vo(t2) ? s2.hyperlink = t2 : jo(t2) && (s2.hyperlink = t2, s2.hyperlink.toLowerCase().startsWith("mailto:") || (s2.hyperlink = `mailto:${s2.hyperlink}`)), t2.includes("\n") && (s2.style = { ...s2?.style, alignment: { overflow: Io.Overflow.Wrap } }), s2);
10474
+ return _2 ? (s2.value = _2, s2) : (s2.value = t2, Vo(t2) ? s2.hyperlink = t2 : $o(t2) && (s2.hyperlink = t2, s2.hyperlink.toLowerCase().startsWith("mailto:") || (s2.hyperlink = `mailto:${s2.hyperlink}`)), t2.includes("\n") && (s2.style = { ...s2?.style, alignment: { overflow: Io.Overflow.Wrap } }), s2);
10473
10475
  }, dm = (t2) => {
10474
10476
  const e2 = t2.getFont().getUnderline() === ns.UnderlineStyle.SingleAccounting, n2 = t2.getFont().getUnderline() === ns.UnderlineStyle.DoubleAccounting;
10475
10477
  let r2 = 0;
@@ -10509,7 +10511,7 @@ const cm = /^[\\+-]?[0-9]*\.?[0-9]*$/, hm = (t2, e2, r2) => {
10509
10511
  }, mm = (t2, n2, r2, o2) => {
10510
10512
  const s2 = o2?.asJSDate;
10511
10513
  let i2;
10512
- r2 ? i2 = Wh : (s2 || o2?.includeMergeOverflow) && (i2 = {}, s2 && (i2[zh.Type.Style] = false, i2[zh.Type.Table] = false), o2.includeMergeOverflow && (i2[zh.Type.Merge] = false));
10514
+ r2 ? i2 = Hh : (s2 || o2?.includeMergeOverflow) && (i2 = {}, s2 && (i2[zh.Type.Style] = false, i2[zh.Type.Table] = false), o2.includeMergeOverflow && (i2[zh.Type.Merge] = false));
10513
10515
  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 = [];
10514
10516
  let u2, g2 = -1, m2 = null, f2 = 0;
10515
10517
  for (u2 = c2.next(); !u2.done; ) {
@@ -10556,7 +10558,7 @@ class _m {
10556
10558
  if (!t2) throw new Error(td);
10557
10559
  if (this.ignoreCellDetails) throw new Error("IteratorContext can only return a cell if the forEach ignoreCellDetails has not been set to false.");
10558
10560
  const e3 = o2._r, n3 = o2._t, s2 = o2._v;
10559
- return null !== s2 || e3 ? new jg(r2, t2, n3, s2, e3, o2._p, o2._n) : new jg(r2, t2);
10561
+ return null !== s2 || e3 ? new $g(r2, t2, n3, s2, e3, o2._p, o2._n) : new $g(r2, t2);
10560
10562
  }, getType: () => o2._t, getA1(t2) {
10561
10563
  if (!o2.context) throw new Error(td);
10562
10564
  let e3 = o2._c;
@@ -10945,7 +10947,7 @@ class Bm extends Im {
10945
10947
  return n2.length > 0 && (t2.fields = n2), e2.sort, 0 === Object.keys(t2).length ? null : t2;
10946
10948
  }
10947
10949
  }
10948
- 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 }), Wm = (t2, e2, n2) => {
10950
+ 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) => {
10949
10951
  if (t2.length !== e2.length) return console.warn("make columns the same length"), false;
10950
10952
  const r2 = /* @__PURE__ */ new Set();
10951
10953
  for (let t3 = 0; t3 < e2.length; t3++) {
@@ -10980,7 +10982,7 @@ const Lm = "A table must have a least one row for the data.", zm = "Table1", Pm
10980
10982
  }
10981
10983
  return a2 > 0;
10982
10984
  };
10983
- class Hm {
10985
+ class Wm {
10984
10986
  constructor(t2, e2, n2, r2) {
10985
10987
  this._name = t2, this._filter = e2, this._sort = n2, this._offset = r2;
10986
10988
  }
@@ -11040,7 +11042,7 @@ class Vm extends la {
11040
11042
  return this._table;
11041
11043
  }
11042
11044
  }
11043
- class $m extends Im {
11045
+ class jm extends Im {
11044
11046
  constructor(t2) {
11045
11047
  if (super({ ...t2, createDescription: "Insert Table" }), this._isUpdatingHeader = false, this._colHeadersSizeUnlistener = null, this._rowHeadersSizeUnlistener = null, this._visibleRange = null, this._isHeaderVisible = true, this._isTotalVisible = true, this._isFirstColumnVisible = true, this._isLastColumnVisible = true, this._range = null, !t2.json) throw new Error("json is required");
11046
11048
  if (!t2.json.ref) throw new Error("json.ref is required");
@@ -11319,7 +11321,7 @@ class $m extends Im {
11319
11321
  if (!e2) return null;
11320
11322
  const n2 = this.getSort();
11321
11323
  let r2 = null;
11322
- return r2 = this._getState()?.columns[t2], null === r2 ? null : new Hm(r2.name, e2, n2, t2);
11324
+ return r2 = this._getState()?.columns[t2], null === r2 ? null : new Wm(r2.name, e2, n2, t2);
11323
11325
  }
11324
11326
  getVisibleRefRangeCoords() {
11325
11327
  return this._visibleRange ? this._visibleRange : this.getAnchorCoords();
@@ -11371,7 +11373,7 @@ class $m extends Im {
11371
11373
  n3.add(a3.toLocaleLowerCase()), t3[i3]?.name !== a3 && (t3[i3].name = a3, s3++);
11372
11374
  }
11373
11375
  return s3 > 0;
11374
- })(a2, c2) : Wm(a2, c2, o2);
11376
+ })(a2, c2) : Hm(a2, c2, o2);
11375
11377
  if (!(r2 || c2.length !== a2.length || l2)) return;
11376
11378
  const h2 = "Update Columns";
11377
11379
  this._isUpdatingHeader = true;
@@ -11427,7 +11429,7 @@ class $m extends Im {
11427
11429
  const o4 = l2 + (c2 + r4 + 1);
11428
11430
  o4 && !t3.has(o4.toLowerCase().trim()) && (e3.name = o4);
11429
11431
  }
11430
- Wm(s2, o3, null);
11432
+ Hm(s2, o3, null);
11431
11433
  } else s2 = o3, i2 = s2.splice(n3, -e2);
11432
11434
  this._updateState({ columns: s2 }, { description: "Process Columns" }), this._updateColumns(s2, false, true, i2);
11433
11435
  } else t2.after || this._updateState({ columns: [] }, { description: "Process Columns" });
@@ -11531,7 +11533,7 @@ class $m extends Im {
11531
11533
  return true;
11532
11534
  }
11533
11535
  }
11534
- let jm = null;
11536
+ let $m = null;
11535
11537
  const Gm = "TableStyleMedium2", Um = (t2, e2, n2) => {
11536
11538
  if (!t2.border) return t2;
11537
11539
  let r2 = ((t3, e3, n3) => {
@@ -11541,7 +11543,7 @@ const Gm = "TableStyleMedium2", Um = (t2, e2, n2) => {
11541
11543
  })(t2.border, e2, n2), o2 = t2;
11542
11544
  return r2 !== t2.border && (o2 = { ...t2 }, Object.keys(r2).length > 0 ? o2.border = r2 : delete o2.border), o2;
11543
11545
  };
11544
- class Jm {
11546
+ class qm {
11545
11547
  constructor(t2, e2, n2) {
11546
11548
  this._table = t2, this._styles = e2, this._properties = n2;
11547
11549
  }
@@ -11634,7 +11636,7 @@ class Jm {
11634
11636
  return m2 && o2.headerRow && n2.getColumnFilter(h2) && !n2.getColumnFilter(h2).hasHiddenButton() && (g2.insets = { right: 15 }), g2;
11635
11637
  }
11636
11638
  }
11637
- class qm {
11639
+ class Jm {
11638
11640
  constructor(t2, e2, n2, r2) {
11639
11641
  this._styles = t2, this._isBuiltIn = n2, this._doDelete = r2, this._properties = o.deepFreeze(this._resolveProperties(e2)), this.isShownInTableStyles();
11640
11642
  }
@@ -11655,7 +11657,7 @@ class qm {
11655
11657
  this._doDelete(this._properties.name);
11656
11658
  }
11657
11659
  getRanged(t2) {
11658
- return new Jm(t2, this._styles, this._properties);
11660
+ return new qm(t2, this._styles, this._properties);
11659
11661
  }
11660
11662
  getProperties() {
11661
11663
  return this._properties;
@@ -11809,13 +11811,13 @@ class Zm {
11809
11811
  }
11810
11812
  _initializeTableStyles() {
11811
11813
  const t2 = (() => {
11812
- if (jm) return jm;
11813
- jm = /* @__PURE__ */ new Map();
11814
+ if ($m) return $m;
11815
+ $m = /* @__PURE__ */ new Map();
11814
11816
  const t3 = (t4, e4) => {
11815
11817
  if (0 === e4) return "TableStyleNone";
11816
11818
  let n3 = "Custom";
11817
11819
  return "l" === t4 ? n3 = "Light" : "m" === t4 ? n3 = "Medium" : "d" === t4 && (n3 = "Dark"), `TableStyle${n3}${e4}`;
11818
- }, e3 = (t4, e4 = 0) => 0 === e4 ? t4 : e4 > 0 ? `${t4} lumMod ${100 - e4}, lumOff ${e4}` : e4 < 0 ? `${t4} lumMod ${100 + e4}` : void 0, n2 = (t4) => ({ type: js.Type.Pattern, patternType: js.BuiltInSheetPattern.Solid, foreground: t4, background: t4 }), r2 = (t4, e4 = false) => {
11820
+ }, e3 = (t4, e4 = 0) => 0 === e4 ? t4 : e4 > 0 ? `${t4} lumMod ${100 - e4}, lumOff ${e4}` : e4 < 0 ? `${t4} lumMod ${100 + e4}` : void 0, n2 = (t4) => ({ type: $s.Type.Pattern, patternType: $s.BuiltInSheetPattern.Solid, foreground: t4, background: t4 }), r2 = (t4, e4 = false) => {
11819
11821
  const n3 = { fill: t4 };
11820
11822
  return e4 && (n3.weight = 700), n3;
11821
11823
  }, o2 = (t4, e4 = li.StrokeStyle.Thin) => ({ style: e4, color: t4 }), s2 = (t4, e4) => {
@@ -11825,52 +11827,52 @@ class Zm {
11825
11827
  a2.push(["dk1", e3("bg1", -15), "dk1"]), s2(a2, (t4) => [e3(t4, -25), e3(t4, 80), t4]), i2 = 1;
11826
11828
  for (let e4 = 0; e4 < 7; e4++) {
11827
11829
  const s3 = t3("l", e4 + i2), l2 = a2[e4][0], c2 = a2[e4][1] ?? l2, h2 = a2[e4][2] ?? l2;
11828
- jm.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), border: { top: o2(h2), bottom: o2(h2) } }, headerRow: { font: r2(l2, true), border: { bottom: o2(h2) } }, totalRow: { font: r2(l2, true), border: { top: o2(h2) } }, firstColumn: { font: r2(l2, true) }, lastColumn: { font: r2(l2, true) }, firstRowStripe: { fill: n2(c2) }, firstColumnStripe: { fill: n2(c2) } }));
11830
+ $m.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), border: { top: o2(h2), bottom: o2(h2) } }, headerRow: { font: r2(l2, true), border: { bottom: o2(h2) } }, totalRow: { font: r2(l2, true), border: { top: o2(h2) } }, firstColumn: { font: r2(l2, true) }, lastColumn: { font: r2(l2, true) }, firstRowStripe: { fill: n2(c2) }, firstColumnStripe: { fill: n2(c2) } }));
11829
11831
  }
11830
11832
  i2 += 7, a2 = [], a2.push(["dk1", "dk1", "lt1"]), s2(a2, (t4) => ["dk1", t4, "lt1"]);
11831
11833
  for (let e4 = 0; e4 < 7; e4++) {
11832
11834
  const s3 = t3("l", e4 + i2), l2 = a2[e4][0], c2 = a2[e4][1], h2 = a2[e4][2];
11833
- jm.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), border: { left: o2(c2), right: o2(c2), top: o2(c2), bottom: o2(c2) } }, headerRow: { font: r2(h2, true), fill: n2(c2) }, totalRow: { font: r2(l2, true), border: { top: o2(c2, li.StrokeStyle.Double) } }, firstColumn: { font: r2(l2, true) }, lastColumn: { font: r2(l2, true) }, firstRowStripe: { border: { top: o2(c2) } }, secondRowStripe: { border: { top: o2(c2) } }, firstColumnStripe: { border: { left: o2(c2) } }, secondColumnStripe: { border: { left: o2(c2) } } }));
11835
+ $m.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), border: { left: o2(c2), right: o2(c2), top: o2(c2), bottom: o2(c2) } }, headerRow: { font: r2(h2, true), fill: n2(c2) }, totalRow: { font: r2(l2, true), border: { top: o2(c2, li.StrokeStyle.Double) } }, firstColumn: { font: r2(l2, true) }, lastColumn: { font: r2(l2, true) }, firstRowStripe: { border: { top: o2(c2) } }, secondRowStripe: { border: { top: o2(c2) } }, firstColumnStripe: { border: { left: o2(c2) } }, secondColumnStripe: { border: { left: o2(c2) } } }));
11834
11836
  }
11835
11837
  i2 += 7, a2 = [], a2.push(["dk1", e3("bg1", -15)]), s2(a2, (t4) => [t4, e3(t4, 80)]);
11836
11838
  for (let e4 = 0; e4 < 7; e4++) {
11837
11839
  const s3 = t3("l", e4 + i2), l2 = "dk1", c2 = a2[e4][0], h2 = a2[e4][1];
11838
- jm.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), border: { left: o2(c2), right: o2(c2), top: o2(c2), bottom: o2(c2), horizontal: o2(c2), vertical: o2(c2) } }, headerRow: { font: r2(l2, true) }, totalRow: { font: r2(l2, true), border: { top: o2(c2, li.StrokeStyle.Double) } }, firstColumn: { font: r2(l2, true) }, lastColumn: { font: r2(l2, true) }, firstRowStripe: { fill: n2(h2) }, firstColumnStripe: { fill: n2(h2) } }));
11840
+ $m.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), border: { left: o2(c2), right: o2(c2), top: o2(c2), bottom: o2(c2), horizontal: o2(c2), vertical: o2(c2) } }, headerRow: { font: r2(l2, true) }, totalRow: { font: r2(l2, true), border: { top: o2(c2, li.StrokeStyle.Double) } }, firstColumn: { font: r2(l2, true) }, lastColumn: { font: r2(l2, true) }, firstRowStripe: { fill: n2(h2) }, firstColumnStripe: { fill: n2(h2) } }));
11839
11841
  }
11840
11842
  i2 = 1, a2 = [], a2.push(["dk1", "dk1", e3("bg1", -15)]), s2(a2, (t4) => [t4, e3(t4, 40), e3(t4, 80)]);
11841
11843
  for (let e4 = 0; e4 < 7; e4++) {
11842
11844
  const s3 = t3("m", e4 + i2), l2 = "dk1", c2 = "lt1", h2 = a2[e4][0], d2 = a2[e4][1], u2 = a2[e4][2];
11843
- jm.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), border: { left: o2(d2), right: o2(d2), top: o2(d2), bottom: o2(d2), horizontal: o2(d2) } }, headerRow: { font: r2(c2, true), fill: n2(h2) }, totalRow: { font: r2(l2, true), border: { top: o2(h2, li.StrokeStyle.Double) } }, firstColumn: { font: r2(l2, true) }, lastColumn: { font: r2(l2, true) }, firstRowStripe: { fill: n2(u2) }, firstColumnStripe: { fill: n2(u2) } }));
11845
+ $m.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), border: { left: o2(d2), right: o2(d2), top: o2(d2), bottom: o2(d2), horizontal: o2(d2) } }, headerRow: { font: r2(c2, true), fill: n2(h2) }, totalRow: { font: r2(l2, true), border: { top: o2(h2, li.StrokeStyle.Double) } }, firstColumn: { font: r2(l2, true) }, lastColumn: { font: r2(l2, true) }, firstRowStripe: { fill: n2(u2) }, firstColumnStripe: { fill: n2(u2) } }));
11844
11846
  }
11845
11847
  i2 += 7, a2 = [], a2.push(["dk1", e3("bg1", -15), e3("bg1", -35)]), s2(a2, (t4) => [t4, e3(t4, 80), e3(t4, 60)]);
11846
11848
  for (let e4 = 0; e4 < 7; e4++) {
11847
11849
  const s3 = t3("m", e4 + i2), l2 = "dk1", c2 = "lt1", h2 = a2[e4][0], d2 = a2[e4][1], u2 = a2[e4][2];
11848
- jm.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), fill: n2(d2), border: { horizontal: o2(c2), vertical: o2(c2) } }, headerRow: { font: r2(c2, true), fill: n2(h2), border: { bottom: o2(c2, li.StrokeStyle.Thick) } }, totalRow: { font: r2(c2, true), fill: n2(h2), border: { top: o2(c2, li.StrokeStyle.Thick) } }, firstColumn: { font: r2(c2, true), fill: n2(h2) }, lastColumn: { font: r2(c2, true), fill: n2(h2) }, firstRowStripe: { fill: n2(u2) }, firstColumnStripe: { fill: n2(u2) } }));
11850
+ $m.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), fill: n2(d2), border: { horizontal: o2(c2), vertical: o2(c2) } }, headerRow: { font: r2(c2, true), fill: n2(h2), border: { bottom: o2(c2, li.StrokeStyle.Thick) } }, totalRow: { font: r2(c2, true), fill: n2(h2), border: { top: o2(c2, li.StrokeStyle.Thick) } }, firstColumn: { font: r2(c2, true), fill: n2(h2) }, lastColumn: { font: r2(c2, true), fill: n2(h2) }, firstRowStripe: { fill: n2(u2) }, firstColumnStripe: { fill: n2(u2) } }));
11849
11851
  }
11850
11852
  i2 += 7, a2 = [], a2.push(["dk1", e3("bg1", -15), e3("bg1", -35)]), s2(a2, (t4) => [t4, e3(t4, 80), e3(t4, 60)]);
11851
11853
  for (let s3 = 0; s3 < 7; s3++) {
11852
11854
  const l2 = t3("m", s3 + i2), c2 = "dk1", h2 = "lt1", d2 = a2[s3][0], u2 = e3("bg1", -15);
11853
- jm.set(l2.toLocaleLowerCase(), Object.freeze({ name: l2, wholeTable: { font: r2(c2), border: { top: o2(c2, li.StrokeStyle.Medium), bottom: o2(c2, li.StrokeStyle.Medium), left: 0 === s3 ? o2(c2, li.StrokeStyle.Thin) : void 0, right: 0 === s3 ? o2(c2, li.StrokeStyle.Thin) : void 0, horizontal: 0 === s3 ? o2(c2, li.StrokeStyle.Thin) : void 0, vertical: 0 === s3 ? o2(c2, li.StrokeStyle.Thin) : void 0 } }, headerRow: { font: r2(h2, true), fill: n2(d2), border: { bottom: o2(c2, li.StrokeStyle.Medium) } }, totalRow: { border: { top: o2(c2, li.StrokeStyle.Double) } }, firstColumn: { font: r2(h2, true), fill: n2(d2) }, lastColumn: { font: r2(h2, true), fill: n2(d2) }, firstRowStripe: { fill: n2(u2) }, firstColumnStripe: { fill: n2(u2) } }));
11855
+ $m.set(l2.toLocaleLowerCase(), Object.freeze({ name: l2, wholeTable: { font: r2(c2), border: { top: o2(c2, li.StrokeStyle.Medium), bottom: o2(c2, li.StrokeStyle.Medium), left: 0 === s3 ? o2(c2, li.StrokeStyle.Thin) : void 0, right: 0 === s3 ? o2(c2, li.StrokeStyle.Thin) : void 0, horizontal: 0 === s3 ? o2(c2, li.StrokeStyle.Thin) : void 0, vertical: 0 === s3 ? o2(c2, li.StrokeStyle.Thin) : void 0 } }, headerRow: { font: r2(h2, true), fill: n2(d2), border: { bottom: o2(c2, li.StrokeStyle.Medium) } }, totalRow: { border: { top: o2(c2, li.StrokeStyle.Double) } }, firstColumn: { font: r2(h2, true), fill: n2(d2) }, lastColumn: { font: r2(h2, true), fill: n2(d2) }, firstRowStripe: { fill: n2(u2) }, firstColumnStripe: { fill: n2(u2) } }));
11854
11856
  }
11855
11857
  i2 += 7, a2 = [], a2.push(["dk1", e3("bg1", -15), e3("bg1", -35), "dk1"]), s2(a2, (t4) => [t4, e3(t4, 80), e3(t4, 60), e3(t4, 40)]);
11856
11858
  for (let e4 = 0; e4 < 7; e4++) {
11857
11859
  const s3 = t3("m", e4 + i2), l2 = "dk1", c2 = a2[e4][0], h2 = a2[e4][1], d2 = a2[e4][2], u2 = a2[e4][3];
11858
- jm.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), fill: n2(h2), border: { top: o2(u2), right: o2(u2), left: o2(u2), bottom: o2(u2), vertical: o2(u2), horizontal: o2(u2) } }, headerRow: { font: r2(l2), fill: n2(h2) }, totalRow: { font: r2(l2), border: { top: o2(c2, li.StrokeStyle.Medium) } }, firstColumn: { font: r2(l2, true) }, lastColumn: { font: r2(l2, true) }, firstRowStripe: { fill: n2(d2) }, firstColumnStripe: { fill: n2(d2) } }));
11860
+ $m.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), fill: n2(h2), border: { top: o2(u2), right: o2(u2), left: o2(u2), bottom: o2(u2), vertical: o2(u2), horizontal: o2(u2) } }, headerRow: { font: r2(l2), fill: n2(h2) }, totalRow: { font: r2(l2), border: { top: o2(c2, li.StrokeStyle.Medium) } }, firstColumn: { font: r2(l2, true) }, lastColumn: { font: r2(l2, true) }, firstRowStripe: { fill: n2(d2) }, firstColumnStripe: { fill: n2(d2) } }));
11859
11861
  }
11860
11862
  i2 = 1, a2 = [], a2.push(["dk1", e3("dk1", 15), e3("dk1", 25), e3("dk1", 50)]), s2(a2, (t4) => ["dk1", e3(t4, -50), e3(t4, -25), t4]);
11861
11863
  for (let e4 = 0; e4 < 7; e4++) {
11862
11864
  const s3 = t3("d", e4 + i2), l2 = "lt1", c2 = a2[e4][0], h2 = a2[e4][1], d2 = a2[e4][2], u2 = a2[e4][3];
11863
- jm.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), fill: n2(u2) }, headerRow: { font: r2(l2, true), fill: n2(c2), border: { bottom: o2(l2, li.StrokeStyle.Medium) } }, totalRow: { font: r2(l2, true), fill: n2(h2), border: { top: o2(l2, li.StrokeStyle.Medium) } }, firstColumn: { font: r2(l2, true), fill: n2(d2), border: { right: o2(l2, li.StrokeStyle.Medium) } }, lastColumn: { font: r2(l2, true), fill: n2(d2), border: { left: o2(l2, li.StrokeStyle.Medium) } }, firstRowStripe: { fill: n2(d2) }, firstColumnStripe: { fill: n2(d2) } }));
11865
+ $m.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), fill: n2(u2) }, headerRow: { font: r2(l2, true), fill: n2(c2), border: { bottom: o2(l2, li.StrokeStyle.Medium) } }, totalRow: { font: r2(l2, true), fill: n2(h2), border: { top: o2(l2, li.StrokeStyle.Medium) } }, firstColumn: { font: r2(l2, true), fill: n2(d2), border: { right: o2(l2, li.StrokeStyle.Medium) } }, lastColumn: { font: r2(l2, true), fill: n2(d2), border: { left: o2(l2, li.StrokeStyle.Medium) } }, firstRowStripe: { fill: n2(d2) }, firstColumnStripe: { fill: n2(d2) } }));
11864
11866
  }
11865
11867
  i2 += 7, a2 = [], a2.push([e3("bg1", -15), "dk1", e3("bg1", -35)]), a2.push([e3("accent1", 80), "accent2", e3("accent1", 60)]), a2.push([e3("accent3", 80), "accent4", e3("accent3", 60)]), a2.push([e3("accent5", 80), "accent6", e3("accent5", 60)]);
11866
11868
  for (let e4 = 0; e4 < 4; e4++) {
11867
11869
  const s3 = t3("d", e4 + i2), l2 = "dk1", c2 = "lt1", h2 = a2[e4][0], d2 = a2[e4][1], u2 = a2[e4][2];
11868
- jm.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), fill: n2(h2) }, headerRow: { font: r2(c2, true), fill: n2(d2) }, totalRow: { font: r2(l2, true), border: { top: o2(l2, li.StrokeStyle.Double) } }, firstColumn: { font: r2(l2, true) }, lastColumn: { font: r2(l2, true) }, firstRowStripe: { fill: n2(u2) }, firstColumnStripe: { fill: n2(u2) } }));
11870
+ $m.set(s3.toLocaleLowerCase(), Object.freeze({ name: s3, wholeTable: { font: r2(l2), fill: n2(h2) }, headerRow: { font: r2(c2, true), fill: n2(d2) }, totalRow: { font: r2(l2, true), border: { top: o2(l2, li.StrokeStyle.Double) } }, firstColumn: { font: r2(l2, true) }, lastColumn: { font: r2(l2, true) }, firstRowStripe: { fill: n2(u2) }, firstColumnStripe: { fill: n2(u2) } }));
11869
11871
  }
11870
- return jm;
11872
+ return $m;
11871
11873
  })(), e2 = /* @__PURE__ */ new Map();
11872
11874
  return t2.forEach((t3, n2) => {
11873
- const r2 = t3.name.toLowerCase(), o2 = new qm(this, t3, true);
11875
+ const r2 = t3.name.toLowerCase(), o2 = new Jm(this, t3, true);
11874
11876
  e2.set(r2, o2);
11875
11877
  }), e2;
11876
11878
  }
@@ -11933,7 +11935,7 @@ class Zm {
11933
11935
  const n2 = t2.toLowerCase();
11934
11936
  let r2 = this._customTableStyles.get(n2) ?? this._builtInsTableStyles.get(n2);
11935
11937
  r2 && (t2 = r2.getName());
11936
- const o2 = new qm(this, { ...e2, name: t2 }, false, this._deleteCustomTableStyle.bind(this));
11938
+ const o2 = new Jm(this, { ...e2, name: t2 }, false, this._deleteCustomTableStyle.bind(this));
11937
11939
  return this._customTableStyles.set(n2, o2), o2;
11938
11940
  }
11939
11941
  _hideOrRemoveNamed(t2) {
@@ -12632,8 +12634,8 @@ class wf {
12632
12634
  for (let t4 = 0; t4 < s3; t4++) {
12633
12635
  const n3 = o3[t4];
12634
12636
  if (n3 === l3) continue;
12635
- 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 };
12636
- const s4 = Xf(r3, qf, e.Orientation.Row, n3);
12637
+ 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 };
12638
+ const s4 = Xf(r3, Jf, e.Orientation.Row, n3);
12637
12639
  let i4 = s4[0];
12638
12640
  _2(i4, a3), g2.push(i4), i4 = s4[1], _2(i4, a3), g2.push(i4), l3 = n3;
12639
12641
  }
@@ -12678,9 +12680,9 @@ class wf {
12678
12680
  return o2.formula ? o2.formula.getTextAt(n2.rowStart, n2.colStart, e2) : void 0;
12679
12681
  }
12680
12682
  _formulaAt(t2, e2) {
12681
- Jf.colStart = e2, Jf.rowStart = t2, Jf.colEnd = e2, Jf.rowEnd = t2;
12682
- const n2 = this._formulaSpatial.search(Jf);
12683
- if (0 === n2.length) throw new Error(`No formula found at ${qc({ rowIndex: t2, colIndex: e2 })}`);
12683
+ qf.colStart = e2, qf.rowStart = t2, qf.colEnd = e2, qf.rowEnd = t2;
12684
+ const n2 = this._formulaSpatial.search(qf);
12685
+ if (0 === n2.length) throw new Error(`No formula found at ${Jc({ rowIndex: t2, colIndex: e2 })}`);
12684
12686
  return n2[0];
12685
12687
  }
12686
12688
  getDirectPrecedentsAt(t2, e2, n2) {
@@ -12903,7 +12905,7 @@ class wf {
12903
12905
  let n5 = e3[t4];
12904
12906
  if (ff(i4.rowStart, i4.colStart, n5) && a3.getCycleId() === o2) {
12905
12907
  r3 || (r3 = [], s3 = /* @__PURE__ */ new Set());
12906
- const t5 = Uc(n5.colStart) + $c(n5.rowStart);
12908
+ const t5 = Uc(n5.colStart) + jc(n5.rowStart);
12907
12909
  if (s3.has(t5)) continue;
12908
12910
  s3.add(t5), r3.push({ colStart: i4.colStart, rowStart: i4.rowStart, colEnd: i4.colEnd, rowEnd: i4.rowEnd, value: n5.value.getError() });
12909
12911
  }
@@ -13013,7 +13015,7 @@ class wf {
13013
13015
  }
13014
13016
  _markAndPlan(t2, e2, n2) {
13015
13017
  let r2;
13016
- Bf = 0, Hf = 0, Vf = 0, jf = 0;
13018
+ Bf = 0, Wf = 0, Vf = 0, $f = 0;
13017
13019
  const s2 = this._precedentSpatial, i2 = this._formulaSpatial;
13018
13020
  zf = 0, Pf = 0;
13019
13021
  const a2 = this._cycleId, l2 = e2.length;
@@ -13062,14 +13064,14 @@ class wf {
13062
13064
  }
13063
13065
  }
13064
13066
  }
13065
- e3.inDegree = l3, 0 === e3.inDegree && (Wf[Vf++] = e3);
13067
+ e3.inDegree = l3, 0 === e3.inDegree && (Hf[Vf++] = e3);
13066
13068
  }
13067
13069
  const d2 = (t3) => {
13068
- t3.markId === n2 && (t3.inDegree--, 0 === t3.inDegree && (Wf[Vf++] = t3));
13070
+ t3.markId === n2 && (t3.inDegree--, 0 === t3.inDegree && (Hf[Vf++] = t3));
13069
13071
  };
13070
- for (; Hf < Vf; ) {
13071
- const t3 = Wf[Hf++];
13072
- $f[jf++] = t3;
13072
+ for (; Wf < Vf; ) {
13073
+ const t3 = Hf[Wf++];
13074
+ jf[$f++] = t3;
13073
13075
  const e3 = t3.colIndex, n3 = t3.rowIndex;
13074
13076
  vf.colStart = e3, vf.rowStart = n3, vf.colEnd = e3, vf.rowEnd = n3;
13075
13077
  const r3 = s2.search(vf), o2 = r3.length;
@@ -13078,7 +13080,7 @@ class wf {
13078
13080
  s3 ? c2(s3, o3, d2) : Cf(o3, n3, e3, d2);
13079
13081
  }
13080
13082
  }
13081
- return jf < Bf ? { completed: false, onces: r2 } : { completed: true, onces: r2 };
13083
+ return $f < Bf ? { completed: false, onces: r2 } : { completed: true, onces: r2 };
13082
13084
  }
13083
13085
  _evaluate(t2) {
13084
13086
  const r2 = this._calculation._getContext(), o2 = this._calculation._getScope();
@@ -13091,8 +13093,8 @@ class wf {
13091
13093
  o2.spillSpatial = this._spillSpatial, o2.values = p2;
13092
13094
  const y2 = r2.getEntireCoords.bind(r2);
13093
13095
  let E2;
13094
- for (let e2 = 0; e2 < jf; e2++) {
13095
- const C2 = $f[e2];
13096
+ for (let e2 = 0; e2 < $f; e2++) {
13097
+ const C2 = jf[e2];
13096
13098
  if (C2.state === Dh && l2 === C2.cycleId) {
13097
13099
  C2.state = Oh;
13098
13100
  continue;
@@ -13145,56 +13147,56 @@ class wf {
13145
13147
  }
13146
13148
  let L2 = 1, z2 = 1;
13147
13149
  const P2 = I2 instanceof fc;
13148
- let W2;
13149
- const H2 = I2 instanceof n.Spill;
13150
- if (P2 || H2) {
13150
+ let H2;
13151
+ const W2 = I2 instanceof n.Spill;
13152
+ if (P2 || W2) {
13151
13153
  Af.colStart = v2, Af.rowStart = x2, Af.colEnd = v2, Af.rowEnd = x2;
13152
13154
  const t3 = f2.search(Af);
13153
- for (let e3 = 0; !W2 && e3 < t3.length; e3++) {
13155
+ for (let e3 = 0; !H2 && e3 < t3.length; e3++) {
13154
13156
  const n2 = t3[e3];
13155
- n2.colStart === v2 && n2.rowStart === x2 && (W2 = n2);
13157
+ n2.colStart === v2 && n2.rowStart === x2 && (H2 = n2);
13156
13158
  }
13157
- if (W2) {
13159
+ if (H2) {
13158
13160
  if (P2) {
13159
13161
  const t5 = I2;
13160
13162
  L2 = t5.getWidth(), z2 = t5.getHeight();
13161
13163
  }
13162
13164
  const t4 = { colStart: v2, rowStart: x2, colEnd: v2 + L2 - 1, rowEnd: x2 + z2 - 1 };
13163
- f2.remove(W2), W2 && W2.value.getError() || (d2.insertNonOverlapping({ ...t4, value: null }), p2.delete(t4), u2.insertNonOverlapping(t4));
13165
+ f2.remove(H2), H2 && H2.value.getError() || (d2.insertNonOverlapping({ ...t4, value: null }), p2.delete(t4), u2.insertNonOverlapping(t4));
13164
13166
  }
13165
13167
  }
13166
- let V2 = 1, $2 = 1;
13167
- const j2 = k2, G2 = j2?.isIRange;
13168
- let U2, J2 = k2 instanceof n.Spill;
13169
- if (G2 && j2.size > 1) {
13170
- V2 = j2.getWidth(), $2 = j2.getHeight();
13171
- const t3 = { colStart: v2, rowStart: x2, colEnd: v2 + V2 - 1, rowEnd: x2 + $2 - 1 }, e3 = r2.getEntireCoords(), o3 = !c.isRangeWithinRange(t3, e3);
13172
- if (o3 && (t3.colEnd = Math.min(t3.colEnd, e3.colEnd), t3.rowEnd = Math.min(t3.rowEnd, e3.rowEnd)), J2 = o3, !J2) {
13168
+ let V2 = 1, j2 = 1;
13169
+ const $2 = k2, G2 = $2?.isIRange;
13170
+ let U2, q2 = k2 instanceof n.Spill;
13171
+ if (G2 && $2.size > 1) {
13172
+ V2 = $2.getWidth(), j2 = $2.getHeight();
13173
+ const t3 = { colStart: v2, rowStart: x2, colEnd: v2 + V2 - 1, rowEnd: x2 + j2 - 1 }, e3 = r2.getEntireCoords(), o3 = !c.isRangeWithinRange(t3, e3);
13174
+ if (o3 && (t3.colEnd = Math.min(t3.colEnd, e3.colEnd), t3.rowEnd = Math.min(t3.rowEnd, e3.rowEnd)), q2 = o3, !q2) {
13173
13175
  const e4 = d2.search(t3);
13174
- if (J2 = e4.length > 1, !J2 && 1 === e4.length) {
13176
+ if (q2 = e4.length > 1, !q2 && 1 === e4.length) {
13175
13177
  const n2 = e4[0], r3 = c.intersectRanges(t3, n2, vf);
13176
- (r3 && (r3.rowEnd !== r3.rowStart || r3.colStart !== r3.colEnd) || r3.colStart !== v2 || r3.rowStart !== x2) && (J2 = true);
13178
+ (r3 && (r3.rowEnd !== r3.rowStart || r3.colStart !== r3.colEnd) || r3.colStart !== v2 || r3.rowStart !== x2) && (q2 = true);
13177
13179
  }
13178
13180
  }
13179
13181
  let s3, i3;
13180
- if (J2) {
13181
- k2 = n.BuiltIn.Spill, V2 = 1, $2 = 1;
13182
+ if (q2) {
13183
+ k2 = n.BuiltIn.Spill, V2 = 1, j2 = 1;
13182
13184
  s3 = [[T2, [[N2, [k2]]]]], p2.setValues(s3), i3 = { colStart: v2, rowStart: x2, colEnd: v2, rowEnd: x2 };
13183
13185
  } else {
13184
- const e4 = pf(j2, T2, N2);
13186
+ const e4 = pf($2, T2, N2);
13185
13187
  e4 && (s3 = e4.tuples), s3 && p2.setValues(s3), i3 = t3;
13186
13188
  }
13187
- U2 = { ...t3, value: new Nh(t3, l2, J2) }, f2.insert(U2), E2 = Sf(E2, C2, t3), u2.insertNonOverlapping(i3), h2.insertNonOverlapping(i3), d2.insertNonOverlapping({ ...i3, value: new Fh(i3, _2) });
13189
+ U2 = { ...t3, value: new Nh(t3, l2, q2) }, f2.insert(U2), E2 = Sf(E2, C2, t3), u2.insertNonOverlapping(i3), h2.insertNonOverlapping(i3), d2.insertNonOverlapping({ ...i3, value: new Fh(i3, _2) });
13188
13190
  }
13189
- (!c.isEqualRanges(W2, U2) || J2 || H2) && (W2 && g2.insert(W2), U2 && g2.insert(U2)), V2 === L2 && $2 === z2 || (C2.state = Dh, h2.insertNonOverlapping({ colStart: v2, rowStart: x2, colEnd: v2 + Math.max(V2, L2) - 1, rowEnd: x2 + Math.max($2, z2) - 1 }), a2 = false);
13190
- let q2 = k2 && k2.isFormulaError ? k2 : null;
13191
- F2.getError() && (q2 = F2.getError()), (q2 || R2 && !t2) && (q2 && !q2.equals(R2) || R2 && R2.equals(q2)), C2.cachedValue = k2, s2[i2++] = C2;
13191
+ (!c.isEqualRanges(H2, U2) || q2 || W2) && (H2 && g2.insert(H2), U2 && g2.insert(U2)), V2 === L2 && j2 === z2 || (C2.state = Dh, h2.insertNonOverlapping({ colStart: v2, rowStart: x2, colEnd: v2 + Math.max(V2, L2) - 1, rowEnd: x2 + Math.max(j2, z2) - 1 }), a2 = false);
13192
+ let J2 = k2 && k2.isFormulaError ? k2 : null;
13193
+ F2.getError() && (J2 = F2.getError()), (J2 || R2 && !t2) && (J2 && !J2.equals(R2) || R2 && R2.equals(J2)), C2.cachedValue = k2, s2[i2++] = C2;
13192
13194
  }
13193
13195
  if (o2.node = null, o2.colIndex = Number.MAX_SAFE_INTEGER, o2.rowIndex = Number.MAX_SAFE_INTEGER, w2) {
13194
13196
  const t3 = w2.done(true);
13195
13197
  this._notifyPending.load(t3);
13196
13198
  }
13197
- return i2 > 0 && (s2.length = i2, yf(s2, p2, u2, S2), i2 = 0), { completed: a2, dynamic: E2, count: jf };
13199
+ return i2 > 0 && (s2.length = i2, yf(s2, p2, u2, S2), i2 = 0), { completed: a2, dynamic: E2, count: $f };
13198
13200
  }
13199
13201
  async calculate(t2) {
13200
13202
  const e2 = this._calculation.getStatus();
@@ -13474,11 +13476,11 @@ const Nf = 1e4, Ff = new Array(Nf), kf = new Array(Nf), Of = /* @__PURE__ */ new
13474
13476
  let Bf = 0;
13475
13477
  const Lf = new Array(Nf);
13476
13478
  let zf = 0, Pf = 0;
13477
- const Wf = new Array(Nf);
13478
- let Hf = 0, Vf = 0;
13479
- const $f = new Array(Nf);
13480
- let jf = 0;
13481
- 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 });
13479
+ const Hf = new Array(Nf);
13480
+ let Wf = 0, Vf = 0;
13481
+ const jf = new Array(Nf);
13482
+ let $f = 0;
13483
+ 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 });
13482
13484
  function Xf(t2, e2, n2, r2) {
13483
13485
  const o2 = t2;
13484
13486
  if (o2?.getSplit) {
@@ -13497,9 +13499,9 @@ class Qf {
13497
13499
  this._instanceScope = t2;
13498
13500
  }
13499
13501
  async _initialize() {
13500
- const t2 = await ct._validate(true), e2 = tp();
13502
+ const t2 = await ht._validate(true), e2 = tp();
13501
13503
  this._calcScope = e2, this._runtime = new Zf(this._options, t2);
13502
- const { initializeBuiltIns: n2 } = await import("./CiRpCaJbHi6MRe9K.mjs"), r2 = this;
13504
+ const { initializeBuiltIns: n2 } = await import("./EJE_HywvophL9XZb.mjs"), r2 = this;
13503
13505
  return this._builtInFunctions = Object.freeze(n2(() => r2)), { builtInFunctions: this._builtInFunctions, calcScope: this._calcScope };
13504
13506
  }
13505
13507
  getBuiltInFunctions() {
@@ -13672,7 +13674,7 @@ class Zf {
13672
13674
  }
13673
13675
  getVersion() {
13674
13676
  try {
13675
- const t2 = "0.7.18";
13677
+ const t2 = "0.7.19";
13676
13678
  if (-1 === t2.indexOf(".env.")) return `${t2}`;
13677
13679
  } catch (t2) {
13678
13680
  return "local";
@@ -14216,7 +14218,7 @@ class xp extends aa {
14216
14218
  this._context = r2;
14217
14219
  const o2 = await r2._initialize(), s2 = o2.builtInFunctions;
14218
14220
  this._functions = new vp({ transactions: this._transactions, context: r2, readonlyFunctions: s2 });
14219
- const i2 = await import("./CERm73z9jKj2EzE0.mjs");
14221
+ const i2 = await import("./Cu2RC8MhdPYMbQdD.mjs");
14220
14222
  this._formulaParser = new i2.FormulaParser(), this._scope = o2.calcScope, this._status = cf.Status.Ready, this._emitter.notify("onStatusChange"), this._emitter.notify("onReady");
14221
14223
  } catch (t2) {
14222
14224
  throw this._status = cf.Status.Off, this._emitter.notify("onError", t2), this._emitter.notify("onStatusChange"), t2;
@@ -14305,7 +14307,7 @@ class Bp {
14305
14307
  let l2 = null;
14306
14308
  if (s2.background ? l2 = s2.background : s2.backgroundColor && (l2 = s2.backgroundColor), l2 && (r2.fill = { color: l2 }), s2.msoPattern) {
14307
14309
  let t3 = iu(s2.msoPattern);
14308
- t3 && (t3.patternType === js.BuiltInSheetPattern.Solid ? r2.fill = { color: t3.foreground } : t3.patternType !== js.BuiltInSheetPattern.None && (l2 && (t3.background = l2), r2.fill = t3));
14310
+ t3 && (t3.patternType === $s.BuiltInSheetPattern.Solid ? r2.fill = { color: t3.foreground } : t3.patternType !== $s.BuiltInSheetPattern.None && (l2 && (t3.background = l2), r2.fill = t3));
14309
14311
  }
14310
14312
  void 0 !== s2.msoRotate && (r2.alignment.rotation = ((t3) => {
14311
14313
  let e3 = parseFloat(t3);
@@ -14421,7 +14423,7 @@ const Pp = (t2) => {
14421
14423
  o2 = r2.index + 1;
14422
14424
  }
14423
14425
  return e2;
14424
- }, Wp = (t2, e2) => {
14426
+ }, Hp = (t2, e2) => {
14425
14427
  const n2 = [];
14426
14428
  if (!t2) return n2;
14427
14429
  const r2 = t2.children;
@@ -14433,7 +14435,7 @@ const Pp = (t2) => {
14433
14435
  }
14434
14436
  }
14435
14437
  return n2;
14436
- }, Hp = (t2, e2, n2) => {
14438
+ }, Wp = (t2, e2, n2) => {
14437
14439
  try {
14438
14440
  let r2 = null, o2 = null;
14439
14441
  const s2 = (t3) => ((t4, e3) => {
@@ -14489,18 +14491,18 @@ const Pp = (t2) => {
14489
14491
  g2 = t3[0], m2 = t3.length > 1;
14490
14492
  }
14491
14493
  if (!g2) {
14492
- g2 = Wp(d2, i3)[0];
14494
+ g2 = Hp(d2, i3)[0];
14493
14495
  }
14494
14496
  if (!g2) {
14495
- g2 = Wp(t2, i3)[0];
14497
+ g2 = Hp(t2, i3)[0];
14496
14498
  }
14497
14499
  if ("TABLE" === g2?.nodeName.toUpperCase()) {
14498
14500
  n2.onStart?.(o2);
14499
14501
  const t3 = g2;
14500
14502
  n2.onTableStart?.(s2, t3);
14501
- const e3 = Wp(t3, "COLGROUP");
14503
+ const e3 = Hp(t3, "COLGROUP");
14502
14504
  for (let t4 = 0; e3 && t4 < e3.length; t4++) {
14503
- const r3 = Wp(e3[t4], "COL");
14505
+ const r3 = Hp(e3[t4], "COL");
14504
14506
  let o3 = 0;
14505
14507
  for (let t5 = 0; t5 < r3.length; t5++) {
14506
14508
  const e4 = r3[t5], i5 = parseFloat(e4.getAttribute("span")), a5 = isNaN(i5) ? 1 : i5;
@@ -14616,7 +14618,7 @@ class Vp {
14616
14618
  return true;
14617
14619
  }
14618
14620
  }
14619
- class $p {
14621
+ class jp {
14620
14622
  constructor(t2, e2, n2, r2) {
14621
14623
  if (this._parsed = void 0, !t2) throw new u("nativeItems are required.");
14622
14624
  this._native = t2, this._markOptions = Object.freeze(e2 ?? {}), this._styles = n2, this._isDate1904 = r2;
@@ -14667,7 +14669,7 @@ class $p {
14667
14669
  });
14668
14670
  }))(e2) : [[]]);
14669
14671
  let s2;
14670
- if (Hp(n2, o2, r2) ? (t2 = r2.sheet(), s2 = t2.getUsedRange()) : n2 = null, s2) return this._parsed = { async copyTo(t3, e3) {
14672
+ if (Wp(n2, o2, r2) ? (t2 = r2.sheet(), s2 = t2.getUsedRange()) : n2 = null, s2) return this._parsed = { async copyTo(t3, e3) {
14671
14673
  const n3 = await t3.copyFrom(s2, e3);
14672
14674
  return n3?.getCoords() ?? null;
14673
14675
  }, getCoords: () => s2.getCoords(), getSource: () => t2, getName: () => t2.getName() }, true;
@@ -14687,8 +14689,8 @@ class $p {
14687
14689
  return true;
14688
14690
  }
14689
14691
  }
14690
- var jp;
14691
- (jp || (jp = {})).Visibility = { Visible: "visible", Hidden: "hidden", VeryHidden: "veryHidden" };
14692
+ var $p;
14693
+ ($p || ($p = {})).Visibility = { Visible: "visible", Hidden: "hidden", VeryHidden: "veryHidden" };
14692
14694
  class Gp extends Im {
14693
14695
  static {
14694
14696
  this.instanceCounter = 0;
@@ -14955,8 +14957,8 @@ class Up {
14955
14957
  return this._addImage(t2, e2);
14956
14958
  }
14957
14959
  }
14958
- const Jp = { transactional: true, ignoreDataChanges: true };
14959
- class qp extends la {
14960
+ const qp = { transactional: true, ignoreDataChanges: true };
14961
+ class Jp extends la {
14960
14962
  constructor(t2) {
14961
14963
  super({ ...t2, type: "namedReference" });
14962
14964
  const e2 = this;
@@ -14980,7 +14982,7 @@ class qp extends la {
14980
14982
  }
14981
14983
  const u2 = this._options.addressToRanges(l3);
14982
14984
  let g2;
14983
- r3.removeListener?.(), u2.isInvalid() || (g2 = u2.addListener(e2._listener, Jp)), s2.ranges = u2, s2.removeListener = g2;
14985
+ r3.removeListener?.(), u2.isInvalid() || (g2 = u2.addListener(e2._listener, qp)), s2.ranges = u2, s2.removeListener = g2;
14984
14986
  }
14985
14987
  this._updateState(s2, null, ["onRangesChange"]);
14986
14988
  const i2 = r2.getCoords();
@@ -14994,7 +14996,7 @@ class qp extends la {
14994
14996
  };
14995
14997
  const n2 = t2.value;
14996
14998
  if (n2 && !n2.isInvalid()) {
14997
- const t3 = n2.addListener(this._listener, Jp);
14999
+ const t3 = n2.addListener(this._listener, qp);
14998
15000
  this._updateState({ ranges: n2, removeListener: t3 }, null);
14999
15001
  }
15000
15002
  }
@@ -15003,7 +15005,7 @@ class qp extends la {
15003
15005
  if (e2 && !e2.isInvalid()) {
15004
15006
  const t3 = this._getState();
15005
15007
  t3.removeListener?.();
15006
- const n2 = e2.addListener(this._listener, Jp);
15008
+ const n2 = e2.addListener(this._listener, qp);
15007
15009
  this._updateState({ ranges: e2, removeListener: n2 }, null);
15008
15010
  }
15009
15011
  return null;
@@ -15177,7 +15179,7 @@ class e_ {
15177
15179
  if (new RegExp(Zp).test(r2[0])) throw new Error("First letter must be either a letter, an underscore, or a backslash.");
15178
15180
  if (new RegExp(t_).test(o2)) throw new Error("Name must be either letters, numbers, periods or underscores.");
15179
15181
  if (1 === r2.length && ("r" === r2[0] || "c" === r2[0])) throw new Error("Name can not be 'r' or 'c'.");
15180
- if (((t3, e3 = Wc, n3 = Pc, r3 = false) => {
15182
+ if (((t3, e3 = Hc, n3 = Pc, r3 = false) => {
15181
15183
  let o3 = mh(t3, r3);
15182
15184
  if (!o3) return false;
15183
15185
  if (o3[2]) return false;
@@ -15206,7 +15208,7 @@ class e_ {
15206
15208
  if (!n2) throw new Error(Yp(t2));
15207
15209
  this._delete(o2, { description: `Delete Named '${o2.getName()}'` });
15208
15210
  }
15209
- s2 = new qp({ value: r2, addressToRanges: this._options.addressToRanges, json: { name: t2, ref: r2.toString() }, transactions: this._transactions }), this.add(s2), i2.commit();
15211
+ s2 = new Jp({ value: r2, addressToRanges: this._options.addressToRanges, json: { name: t2, ref: r2.toString() }, transactions: this._transactions }), this.add(s2), i2.commit();
15210
15212
  } catch (t3) {
15211
15213
  throw i2.rollback(), t3;
15212
15214
  }
@@ -15358,7 +15360,7 @@ class e_ {
15358
15360
  for (let r3 = 0; r3 < n2; r3++) {
15359
15361
  const n3 = t2[r3];
15360
15362
  try {
15361
- const t3 = this._options.addressToRanges(n3.ref), r4 = new qp({ value: t3, addressToRanges: this._options.addressToRanges, deleteFromContainer: (t4) => {
15363
+ const t3 = this._options.addressToRanges(n3.ref), r4 = new Jp({ value: t3, addressToRanges: this._options.addressToRanges, deleteFromContainer: (t4) => {
15362
15364
  this._delete(r4, t4);
15363
15365
  }, json: n3, transactions: this._transactions });
15364
15366
  e3.push(r4);
@@ -16017,12 +16019,12 @@ class f_ {
16017
16019
  }
16018
16020
  const p_ = (t2, e2) => {
16019
16021
  if (e2) {
16020
- if (e2.getType() === js.Type.Solid) t2.background = dd(e2.getColor()) || "none", t2["mso-pattern"] = "black none";
16021
- else if (e2.getType() === js.Type.Pattern) {
16022
+ if (e2.getType() === $s.Type.Solid) t2.background = dd(e2.getColor()) || "none", t2["mso-pattern"] = "black none";
16023
+ else if (e2.getType() === $s.Type.Pattern) {
16022
16024
  const n2 = e2;
16023
16025
  t2.background = dd(n2.getBackground()) || "none";
16024
16026
  const r2 = dd(n2.getForeground()) || "";
16025
- if (n2.getPatternType() === js.BuiltInSheetPattern.Solid) t2["mso-pattern"] = `${t2.background} none`, t2.background = r2;
16027
+ if (n2.getPatternType() === $s.BuiltInSheetPattern.Solid) t2["mso-pattern"] = `${t2.background} none`, t2.background = r2;
16026
16028
  else {
16027
16029
  const e3 = ((t3) => {
16028
16030
  const e4 = nu.get(t3);
@@ -16030,7 +16032,7 @@ const p_ = (t2, e2) => {
16030
16032
  })(n2.getPatternType());
16031
16033
  t2["mso-pattern"] = r2 + (e3 ? " " : "") + e3;
16032
16034
  }
16033
- } else if (e2.getType() === js.Type.Gradient) {
16035
+ } else if (e2.getType() === $s.Type.Gradient) {
16034
16036
  const n2 = e2;
16035
16037
  t2.background = dd(n2.getStops()?.[0]?.getColor()) || "auto", t2.msoGradient = au(n2) || "auto";
16036
16038
  }
@@ -16359,7 +16361,7 @@ class O_ {
16359
16361
  forEachVisibleSpan(t2, e2) {
16360
16362
  const n2 = this._coords, r2 = n2?.min ?? null, o2 = n2?.max ?? null;
16361
16363
  let s2;
16362
- if (s2 = e2?.includeHidden ? t2(r2, o2) : Ws(this._header._indexedHidden, (e3) => {
16364
+ if (s2 = e2?.includeHidden ? t2(r2, o2) : Hs(this._header._indexedHidden, (e3) => {
16363
16365
  if (e3.value) return;
16364
16366
  const n3 = t2(e3.min, e3.max);
16365
16367
  return n3 && n3.break ? n3 : void 0;
@@ -16622,7 +16624,7 @@ class B_ {
16622
16624
  }, getA1(t3) {
16623
16625
  if (!_2) throw new Error(td);
16624
16626
  return this._parseHeaderRangeAddress({ min: i2 + t3, end: i2 + t3 }) ?? _2;
16625
- } }, w2 = Ws(e2, (e3) => {
16627
+ } }, w2 = Hs(e2, (e3) => {
16626
16628
  const n3 = e3.value;
16627
16629
  if (!l2 && !n3) return;
16628
16630
  let r3 = l2;
@@ -17044,7 +17046,7 @@ const z_ = (t2) => {
17044
17046
  }
17045
17047
  return r2;
17046
17048
  };
17047
- class W_ {
17049
+ class H_ {
17048
17050
  constructor(t2, e2, n2) {
17049
17051
  this._c = t2, this._tokens = e2, this._references = n2 || o.EmptyArray;
17050
17052
  }
@@ -17108,7 +17110,7 @@ class W_ {
17108
17110
  return this._c;
17109
17111
  }
17110
17112
  }
17111
- class H_ {
17113
+ class W_ {
17112
17114
  constructor(t2, e2, n2) {
17113
17115
  this.groupId = t2, this.uuid = e2, this.noShift = n2;
17114
17116
  }
@@ -17117,12 +17119,12 @@ class H_ {
17117
17119
  getShifted(t2) {
17118
17120
  if (!t2.after) return null;
17119
17121
  const e2 = this.noShift;
17120
- return e2 ? void 0 : { ...t2.after, value: new H_(this.groupId, this.uuid, e2) };
17122
+ return e2 ? void 0 : { ...t2.after, value: new W_(this.groupId, this.uuid, e2) };
17121
17123
  }
17122
17124
  getSplit(t2, e2) {
17123
17125
  }
17124
17126
  copyTo(t2, e2) {
17125
- return new H_(this.groupId, this.uuid, this.noShift);
17127
+ return new W_(this.groupId, this.uuid, this.noShift);
17126
17128
  }
17127
17129
  canTile(t2, e2) {
17128
17130
  return false;
@@ -17171,7 +17173,7 @@ class V_ {
17171
17173
  processMerge(t2) {
17172
17174
  }
17173
17175
  }
17174
- const $_ = Object.freeze({ coords: c.EmptyCell, topLeft: a.EmptyTopLeft }), j_ = Object.freeze({ cell: c.EmptyCell, ranges: o.EmptyArray, rangeIndex: 0 }), G_ = Object.freeze({ selection: j_, topLeft: a.EmptyTopLeft, freezePanes: $_, showRowHeaders: true, showColumnHeaders: true, showRowGridlines: true, showColumnGridlines: true, rowHeaderStyle: Dp.HeaderTextStyle.One, columnHeaderStyle: Dp.HeaderTextStyle.A1, showFormulas: false, showZeros: true, zoomScale: 100, gridLineColor: null });
17176
+ const j_ = Object.freeze({ coords: c.EmptyCell, topLeft: a.EmptyTopLeft }), $_ = Object.freeze({ cell: c.EmptyCell, ranges: o.EmptyArray, rangeIndex: 0 }), G_ = Object.freeze({ selection: $_, topLeft: a.EmptyTopLeft, freezePanes: j_, showRowHeaders: true, showColumnHeaders: true, showRowGridlines: true, showColumnGridlines: true, rowHeaderStyle: Dp.HeaderTextStyle.One, columnHeaderStyle: Dp.HeaderTextStyle.A1, showFormulas: false, showZeros: true, zoomScale: 100, gridLineColor: null });
17175
17177
  class U_ {
17176
17178
  constructor(t2) {
17177
17179
  if (this._emitter = null, !t2?.sheet) throw new Error("SheetView requires a sheet.");
@@ -17195,7 +17197,7 @@ class U_ {
17195
17197
  return this._state.freezePanes = this._mergeFreezePanes(t2), this._emitter.notify("onFreezeSplitChange"), this;
17196
17198
  }
17197
17199
  _mergeFreezePanes(t2) {
17198
- return t2 ? { ...this._state.freezePanes, coords: { colIndex: t2?.coords?.colIndex ?? this._state.freezePanes.coords.colIndex, rowIndex: t2?.coords?.rowIndex ?? this._state.freezePanes.coords.rowIndex }, topLeft: { left: t2?.topLeft?.left ?? this._state.topLeft.left, top: t2?.topLeft?.top ?? this._state.topLeft.top } } : $_;
17200
+ return t2 ? { ...this._state.freezePanes, coords: { colIndex: t2?.coords?.colIndex ?? this._state.freezePanes.coords.colIndex, rowIndex: t2?.coords?.rowIndex ?? this._state.freezePanes.coords.rowIndex }, topLeft: { left: t2?.topLeft?.left ?? this._state.topLeft.left, top: t2?.topLeft?.top ?? this._state.topLeft.top } } : j_;
17199
17201
  }
17200
17202
  isShowRowHeaders() {
17201
17203
  return this._state.showRowHeaders;
@@ -17308,7 +17310,7 @@ class U_ {
17308
17310
  const n2 = this._state.selection;
17309
17311
  if (n2) {
17310
17312
  let e3 = {};
17311
- !n2.cell || 0 === n2.cell.colIndex && 0 === n2.cell.rowIndex || (e3.cell = qc(n2.cell)), n2.ranges && n2.ranges.length > 0 && (e3.ranges = sh(n2.ranges), void 0 !== n2.rangeIndex && -1 !== n2.rangeIndex && 0 !== n2.rangeIndex && (e3.rangeIndex = n2.rangeIndex)), Object.keys(e3).length > 0 && (t2.selection = e3);
17313
+ !n2.cell || 0 === n2.cell.colIndex && 0 === n2.cell.rowIndex || (e3.cell = Jc(n2.cell)), n2.ranges && n2.ranges.length > 0 && (e3.ranges = sh(n2.ranges), void 0 !== n2.rangeIndex && -1 !== n2.rangeIndex && 0 !== n2.rangeIndex && (e3.rangeIndex = n2.rangeIndex)), Object.keys(e3).length > 0 && (t2.selection = e3);
17312
17314
  }
17313
17315
  if (delete t2.freezePanes, this._state.freezePanes && (0 !== this._state.freezePanes.coords.colIndex || 0 !== this._state.freezePanes.coords.rowIndex)) {
17314
17316
  const e3 = {};
@@ -17361,11 +17363,11 @@ class U_ {
17361
17363
  return true;
17362
17364
  }
17363
17365
  }
17364
- async function J_() {
17365
- const { getCrypto: t2 } = await import("./IaLPtR8GqpJFJiH8.mjs");
17366
+ async function q_() {
17367
+ const { getCrypto: t2 } = await import("./DMbCamPzz9vVfYdv.mjs");
17366
17368
  return t2();
17367
17369
  }
17368
- const q_ = async (t2, e2, ...n2) => {
17370
+ const J_ = async (t2, e2, ...n2) => {
17369
17371
  const r2 = K_(...n2);
17370
17372
  return t2.subtle.digest(e2, r2);
17371
17373
  }, K_ = (...t2) => {
@@ -17389,7 +17391,7 @@ class Y_ {
17389
17391
  }
17390
17392
  static async generateSaltAndHash(t2, e2 = Y_.DefaultAlgo, n2 = Y_.DefaultSpinCount) {
17391
17393
  if (!t2) return null;
17392
- const r2 = (await J_()).getRandomValues(new Uint8Array(16)), o2 = X_(r2.buffer);
17394
+ const r2 = (await q_()).getRandomValues(new Uint8Array(16)), o2 = X_(r2.buffer);
17393
17395
  return { salt: o2, hash: await Y_._convertPasswordToHash(t2, o2, e2, n2) };
17394
17396
  }
17395
17397
  static async verifyPassword(t2, e2, n2 = Y_.DefaultAlgo, r2 = Y_.DefaultSpinCount) {
@@ -17402,7 +17404,7 @@ class Y_ {
17402
17404
  })(await Y_._convertPasswordToHash(t2, e2.salt, n2, r2), e2.hash);
17403
17405
  }
17404
17406
  static async _convertPasswordToHash(t2, e2, n2, r2) {
17405
- const o2 = await J_();
17407
+ const o2 = await q_();
17406
17408
  n2 = n2.toUpperCase();
17407
17409
  const s2 = ((t3) => {
17408
17410
  const e3 = new ArrayBuffer(2 * t3.length), n3 = new DataView(e3);
@@ -17413,10 +17415,10 @@ class Y_ {
17413
17415
  for (let t4 = 0; t4 < e3.length; t4++) n3[t4] = e3.charCodeAt(t4);
17414
17416
  return n3.buffer;
17415
17417
  })(e2);
17416
- let a2 = await q_(o2, n2, i2, s2.buffer);
17418
+ let a2 = await J_(o2, n2, i2, s2.buffer);
17417
17419
  for (let t3 = 0; t3 < r2; t3++) {
17418
17420
  const e3 = new Uint32Array([t3]).buffer;
17419
- a2 = await q_(o2, n2, a2, e3);
17421
+ a2 = await J_(o2, n2, a2, e3);
17420
17422
  }
17421
17423
  return X_(a2);
17422
17424
  }
@@ -18210,7 +18212,7 @@ class dS {
18210
18212
  constructor(t2) {
18211
18213
  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;
18212
18214
  const e2 = Object.freeze({ ...t2 });
18213
- ct._validate(true), this._transactions = e2.transactions ?? new O(), this._ownTransactions = !e2.transactions;
18215
+ ht._validate(true), this._transactions = e2.transactions ?? new O(), this._ownTransactions = !e2.transactions;
18214
18216
  const n2 = this._beginCommit({ description: "New Sheet" }), r2 = this;
18215
18217
  try {
18216
18218
  this._entireCoords = Object.freeze({ colStart: 0, rowStart: 0, colEnd: (e2.maxColumns ?? rS) - 1, rowEnd: (e2.maxRows ?? oS) - 1 }), this._strings = e2.strings ?? new af(), this._ownStrings = !e2.strings;
@@ -18342,11 +18344,11 @@ class dS {
18342
18344
  e2 && !Array.isArray(e2) && (e2 = [e2]);
18343
18345
  const r2 = t2(e2), o2 = this.getProtection(), s2 = o2?.getProperties();
18344
18346
  if (s2) {
18345
- if (0 === r2.length) throw new C($h);
18347
+ if (0 === r2.length) throw new C(jh);
18346
18348
  if (r2) {
18347
18349
  const t3 = r2.length;
18348
18350
  for (let e3 = 0; e3 < t3; e3++) {
18349
- if (true !== o2[r2[e3]]) throw new C(jh());
18351
+ if (true !== o2[r2[e3]]) throw new C($h());
18350
18352
  }
18351
18353
  }
18352
18354
  }
@@ -18501,7 +18503,7 @@ class dS {
18501
18503
  const i3 = n3.continuous;
18502
18504
  if ("string" == typeof s3 || i3) {
18503
18505
  vS.colStart = o3, vS.rowStart = r3, vS.colEnd = o3, vS.rowEnd = r3;
18504
- const e3 = Hg(0, vS, n3.intersection, _2);
18506
+ const e3 = Wg(0, vS, n3.intersection, _2);
18505
18507
  n3.style = e3;
18506
18508
  const a3 = Pg(r3, o3, t.String, e3, s3, null, null, i3?.getCoords(), _2);
18507
18509
  if (a3) {
@@ -18530,7 +18532,7 @@ class dS {
18530
18532
  }
18531
18533
  const u2 = a2 || !t2?.ignoreEmptyIntersections;
18532
18534
  let g2 = t2.includeRangeTypes;
18533
- true === g2 && (g2 = Wh);
18535
+ true === g2 && (g2 = Hh);
18534
18536
  const m2 = t2?.includeMergeOverflow ?? false, f2 = g2 ? this._rangeStateIterator({ bounds: o2, orientation: s2, reverse: i2, includeRangeTypes: g2, includeMergeOverflow: m2, ignoreHidden: t2.ignoreHidden, byCell: true }) : pa;
18535
18537
  let p2, _2;
18536
18538
  if (m2 && r2) {
@@ -18722,17 +18724,17 @@ class dS {
18722
18724
  } while (F2);
18723
18725
  return F2;
18724
18726
  };
18725
- 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(), W2 = O2.calcErrorsSpatial.clone(), H2 = O2.contentfulSpatial.clone(), V2 = kl(u2), $2 = kl(u2, (t3, e2) => {
18727
+ 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 = kl(u2), j2 = kl(u2, (t3, e2) => {
18726
18728
  if (t3 === e2) return e2;
18727
- }), j2 = kl(u2, (t3, e2) => {
18729
+ }), $2 = kl(u2, (t3, e2) => {
18728
18730
  if (t3 === e2) return e2;
18729
18731
  }), G2 = kl(u2, (t3, e2) => {
18730
18732
  if (t3 === e2) return e2;
18731
18733
  }), U2 = [];
18732
- let J2 = null, q2 = null;
18734
+ let q2 = null, J2 = null;
18733
18735
  if (false !== n2?.textParser) {
18734
18736
  const t3 = n2 && true !== n2.textParser ? n2.textParser : {};
18735
- q2 = { ignoreQuotePrefix: false, date1904: this._isDate1904, dateNF: false, parse: null, ...t3 }, J2 = new _m(p2, null, this._cellOptions);
18737
+ J2 = { ignoreQuotePrefix: false, date1904: this._isDate1904, dateNF: false, parse: null, ...t3 }, q2 = new _m(p2, null, this._cellOptions);
18736
18738
  }
18737
18739
  const K2 = [], X2 = this._cellOptions, Y2 = /* @__PURE__ */ new Map(), Q2 = ym, Z2 = (t3, e2, n3) => {
18738
18740
  const r3 = k2?.(e2, n3);
@@ -18747,24 +18749,24 @@ class dS {
18747
18749
  U2.push({ colStart: u2 ? e2 : n3, rowStart: u2 ? n3 : e2, colEnd: (u2 ? e2 : n3) + t4.width - 1, rowEnd: (u2 ? n3 : e2) + t4.height - 1 });
18748
18750
  }
18749
18751
  }
18750
- let o3 = Og(t3, X2, q2, Y2);
18752
+ let o3 = Og(t3, X2, J2, Y2);
18751
18753
  if (void 0 === o3) return;
18752
18754
  const a3 = o3.value;
18753
18755
  if (o3.stringToParse) {
18754
- wS[0].colIndex = u2 ? e2 : n3, wS[0].rowIndex = u2 ? n3 : e2, wS[1] = a3, wS[2] = r3, J2.setState(wS);
18755
- const t4 = q2?.parse(o3.stringToParse, J2.context), s3 = Og(t4, X2, q2, Y2, true);
18756
- if (J2.clear(), null === s3) return s3;
18756
+ wS[0].colIndex = u2 ? e2 : n3, wS[0].rowIndex = u2 ? n3 : e2, wS[1] = a3, wS[2] = r3, q2.setState(wS);
18757
+ const t4 = J2?.parse(o3.stringToParse, q2.context), s3 = Og(t4, X2, J2, Y2, true);
18758
+ if (q2.clear(), null === s3) return s3;
18757
18759
  void 0 !== s3 && (o3 = { ...s3 });
18758
18760
  }
18759
18761
  if (m2) {
18760
- if (m2 && (null === t3 || void 0 !== o3.value)) throw new C($h);
18761
- if (!f2 && void 0 !== o3.style) throw new C($h);
18762
+ if (m2 && (null === t3 || void 0 !== o3.value)) throw new C(jh);
18763
+ if (!f2 && void 0 !== o3.style) throw new C(jh);
18762
18764
  }
18763
18765
  if (!i2) {
18764
18766
  const t4 = o3.style;
18765
- void 0 === t4 || null === t4 && !s2 || $2.append(e2, n3, t4);
18767
+ void 0 === t4 || null === t4 && !s2 || j2.append(e2, n3, t4);
18766
18768
  const r4 = o3.hyperlink;
18767
- void 0 === r4 || null === r4 && !s2 || j2.append(e2, n3, r4);
18769
+ void 0 === r4 || null === r4 && !s2 || $2.append(e2, n3, r4);
18768
18770
  }
18769
18771
  const l3 = o3.formula;
18770
18772
  return void 0 === l3 || null === l3 && !s2 || G2.append(e2, n3, l3), a3;
@@ -18805,7 +18807,7 @@ class dS {
18805
18807
  const r3 = V2.done(), o3 = r3.length;
18806
18808
  for (let t4 = 0; t4 < o3; t4++) {
18807
18809
  const e2 = r3[t4];
18808
- D2.delete(r3[t4]), H2.insertNonOverlapping({ ...e2, value: null });
18810
+ D2.delete(r3[t4]), W2.insertNonOverlapping({ ...e2, value: null });
18809
18811
  const n3 = B2.delete(e2);
18810
18812
  this._updateFormulaSpatial(L2, null, n3);
18811
18813
  }
@@ -18817,11 +18819,11 @@ class dS {
18817
18819
  g3 = this._updateFormulaSpatial(L2, t4.inserts, t4.removes, O2.directStyleSpatial);
18818
18820
  }
18819
18821
  const f3 = Em(K2, u2), C2 = f3.length;
18820
- for (let t4 = 0; t4 < C2; t4++) H2.insertNonOverlapping(f3[t4]);
18821
- const b3 = $2.done();
18822
+ for (let t4 = 0; t4 < C2; t4++) W2.insertNonOverlapping(f3[t4]);
18823
+ const b3 = j2.done();
18822
18824
  b3.length > 0 && this._updateStyles(b3), U2.length > 0 && this._merge(U2);
18823
- const v3 = j2.done();
18824
- if (v3.length > 0 && this._setHyperlinks(v3), this._updateState({ cellValuesGrid: D2, contentfulSpatial: H2, calcGraph: B2, formulaSpatial: L2, spillSpatial: z2, pendingSpatial: P2, calcErrorsSpatial: W2 }), g3 && g3.length > 0 && this._updateStyles(g3, void 0, {}, true), n2?.autoFit) {
18825
+ const v3 = $2.done();
18826
+ 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) {
18825
18827
  const t4 = "boolean" == typeof n2.autoFit ? CS : n2.autoFit;
18826
18828
  this._autoFit([E2], t4);
18827
18829
  }
@@ -18926,21 +18928,21 @@ class dS {
18926
18928
  const z2 = this._beginCommit({ description: r2 });
18927
18929
  let P2 = [u2];
18928
18930
  I2 || (P2 = this._getVisible(P2, { orientations: c2 ? e.Orientations.Row : e.Orientations.Column })), this._clear(P2, void 0, void 0, true);
18929
- const W2 = this._createIncrementalUpdater({ orientation: l2 });
18930
- let H2 = c2 ? u2.rowStart : u2.colStart;
18931
+ const H2 = this._createIncrementalUpdater({ orientation: l2 });
18932
+ let W2 = c2 ? u2.rowStart : u2.colStart;
18931
18933
  const V2 = w2.length;
18932
18934
  for (let t3 = 0; t3 < V2; t3++) {
18933
18935
  const e2 = w2[t3];
18934
- if (x2 && (H2 = x2(H2)), e2) {
18936
+ if (x2 && (W2 = x2(W2)), e2) {
18935
18937
  const t4 = e2.values, n3 = t4.length;
18936
18938
  for (let e3 = 0; e3 < n3; e3++) {
18937
- const n4 = t4[e3], r3 = c2 ? H2 : n4.getCoords().rowIndex, o3 = c2 ? n4.getCoords().colIndex : H2;
18938
- W2.pushAt(r3, o3, n4);
18939
+ const n4 = t4[e3], r3 = c2 ? W2 : n4.getCoords().rowIndex, o3 = c2 ? n4.getCoords().colIndex : W2;
18940
+ H2.pushAt(r3, o3, n4);
18939
18941
  }
18940
18942
  }
18941
- H2 += A2;
18943
+ W2 += A2;
18942
18944
  }
18943
- return W2.apply(), z2.commit(), u2;
18945
+ return H2.apply(), z2.commit(), u2;
18944
18946
  }
18945
18947
  _autoFill(t2, n2, r2) {
18946
18948
  const { direction: o2, amount: s2 } = ((t3, n3) => {
@@ -18996,19 +18998,19 @@ class dS {
18996
18998
  const e2 = D2[t3].values;
18997
18999
  for (let t4 = e2.length; t4 < I2; t4++) e2.push(null);
18998
19000
  }
18999
- const W2 = (t3, e2) => {
19001
+ const H2 = (t3, e2) => {
19000
19002
  if (t3.canFill(e2[0], [])) {
19001
19003
  const n3 = t3.createFillAt(e2, g2);
19002
19004
  if (n3) return n3;
19003
19005
  }
19004
19006
  return Vs.Types.Copy.createFillAt(e2);
19005
- }, H2 = this;
19007
+ }, W2 = this;
19006
19008
  if (h2) {
19007
19009
  const t3 = D2[D2.length - 1];
19008
19010
  if (D2[D2.length - 1]?.oppositeIndex !== O2) return null;
19009
- const n3 = W2(u2, t3.values);
19011
+ const n3 = H2(u2, t3.values);
19010
19012
  return h2((t4) => {
19011
- const r3 = H2._rangeToCoords(t4);
19013
+ const r3 = W2._rangeToCoords(t4);
19012
19014
  let s3;
19013
19015
  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 });
19014
19016
  const a3 = i2 ? s3.rowIndex : s3.colIndex, l3 = { value: n3(N2 ? a3 - R2 : R2 - a3 + I2 - 1) };
@@ -19016,10 +19018,10 @@ class dS {
19016
19018
  return c2 = d2 ? this.createTemporaryCell(l3, s3) : this.createTemporaryCell(null, s3).createTemporaryCell(l3), c2;
19017
19019
  }), false;
19018
19020
  }
19019
- const V2 = this._createIncrementalUpdater({ orientation: i2 ? e.Orientation.Column : e.Orientation.Row }), $2 = D2.length;
19021
+ const V2 = this._createIncrementalUpdater({ orientation: i2 ? e.Orientation.Column : e.Orientation.Row }), j2 = D2.length;
19020
19022
  D2.sort((t3, e2) => t3.oppositeIndex - e2.oppositeIndex);
19021
- for (let t3 = 0; t3 < $2; t3++) {
19022
- const e2 = t3, n3 = W2(u2, D2[e2].values), r3 = D2[e2].oppositeIndex, o3 = N2 ? I2 : I2 + k2 - 1, s3 = this.isDate1904();
19023
+ for (let t3 = 0; t3 < j2; t3++) {
19024
+ const e2 = t3, n3 = H2(u2, D2[e2].values), r3 = D2[e2].oppositeIndex, o3 = N2 ? I2 : I2 + k2 - 1, s3 = this.isDate1904();
19023
19025
  for (let t4 = 0; t4 < k2; t4++) {
19024
19026
  let e3 = n3(o3 + (N2 ? t4 : -t4));
19025
19027
  eo(e3) && (e3 = lo(e3, s3));
@@ -19028,23 +19030,23 @@ class dS {
19028
19030
  }
19029
19031
  }
19030
19032
  this._clear([p2], r2?.contentsOnly ? ad.Content.Formats : void 0), V2.apply();
19031
- const j2 = this._getMerges([_2]), G2 = c.unionRangesArrays(j2);
19032
- if (j2.length > 0 && !c.isRangeWithinRange(G2, _2)) throw new C(Yh);
19033
- if (j2.length > 0) {
19033
+ const $2 = this._getMerges([_2]), G2 = c.unionRangesArrays($2);
19034
+ if ($2.length > 0 && !c.isRangeWithinRange(G2, _2)) throw new C(Yh);
19035
+ if ($2.length > 0) {
19034
19036
  const n3 = [], r3 = s2 / E2;
19035
19037
  if (i2) {
19036
- const s3 = t2.rowEnd - t2.rowStart + 1, i3 = o2 === e.Direction.Up ? p2.rowStart : t2.rowEnd + 1, a3 = j2.length;
19038
+ const s3 = t2.rowEnd - t2.rowStart + 1, i3 = o2 === e.Direction.Up ? p2.rowStart : t2.rowEnd + 1, a3 = $2.length;
19037
19039
  for (let e2 = 0; e2 < a3; e2++) {
19038
- const o3 = j2[e2], a4 = o3.rowStart - t2.rowStart, l3 = o3.rowEnd - o3.rowStart + 1;
19040
+ const o3 = $2[e2], a4 = o3.rowStart - t2.rowStart, l3 = o3.rowEnd - o3.rowStart + 1;
19039
19041
  for (let t3 = 0; t3 < r3; t3++) {
19040
19042
  const e3 = t3 * s3;
19041
19043
  n3.push({ colStart: o3.colStart, rowStart: i3 + e3 + a4, colEnd: o3.colEnd, rowEnd: i3 + e3 + a4 + l3 - 1 });
19042
19044
  }
19043
19045
  }
19044
19046
  } else {
19045
- const s3 = t2.colEnd - t2.colStart + 1, i3 = o2 === e.Direction.Left ? p2.colStart : t2.colEnd + 1, a3 = j2.length;
19047
+ const s3 = t2.colEnd - t2.colStart + 1, i3 = o2 === e.Direction.Left ? p2.colStart : t2.colEnd + 1, a3 = $2.length;
19046
19048
  for (let e2 = 0; e2 < a3; e2++) {
19047
- const o3 = j2[e2], a4 = o3.colStart - t2.colStart, l3 = o3.colEnd - o3.colStart + 1;
19049
+ const o3 = $2[e2], a4 = o3.colStart - t2.colStart, l3 = o3.colEnd - o3.colStart + 1;
19048
19050
  for (let t3 = 0; t3 < r3; t3++) {
19049
19051
  const e3 = t3 * s3;
19050
19052
  n3.push({ colStart: i3 + e3 + a4, rowStart: o3.rowStart, colEnd: i3 + e3 + a4 + l3 - 1, rowEnd: o3.rowEnd });
@@ -19053,19 +19055,19 @@ class dS {
19053
19055
  }
19054
19056
  this._merge(n3);
19055
19057
  }
19056
- const U2 = this._getState(), J2 = {}, q2 = {};
19057
- q2.directStyleSpatial = U2.directStyleSpatial, q2.continuousFillSpatial = U2.continuousFillSpatial;
19058
+ const U2 = this._getState(), q2 = {}, J2 = {};
19059
+ J2.directStyleSpatial = U2.directStyleSpatial, J2.continuousFillSpatial = U2.continuousFillSpatial;
19058
19060
  let K2 = t2, X2 = p2;
19059
19061
  if (!N2) {
19060
19062
  let e2 = (i2 ? _2.rowEnd + 1 - _2.rowStart : _2.colEnd + 1 - _2.colStart) % I2;
19061
19063
  const n3 = i2 ? "rowStart" : "colStart", r3 = i2 ? "rowEnd" : "colEnd";
19062
19064
  0 !== e2 && (X2 = { ...p2, [r3]: Math.min(p2[r3], p2[n3] + e2) }, K2 = { ...t2, [n3]: t2[r3] - e2 + 1 }, p2[n3] = p2[n3] + e2);
19063
19065
  }
19064
- const Y2 = Object.keys(q2), Q2 = Y2.length;
19066
+ const Y2 = Object.keys(J2), Q2 = Y2.length;
19065
19067
  for (let t3 = 0; t3 < Q2; t3++) {
19066
- const e2 = Y2[t3], n3 = q2[e2].createCopiedEntries(K2, X2), r3 = U2[e2].clone(), o3 = n3.removes, s3 = o3.length;
19068
+ const e2 = Y2[t3], n3 = J2[e2].createCopiedEntries(K2, X2), r3 = U2[e2].clone(), o3 = n3.removes, s3 = o3.length;
19067
19069
  for (let t4 = 0; t4 < s3; t4++) r3.remove(o3[t4]);
19068
- r3.load(n3.inserts), J2[e2] = r3;
19070
+ r3.load(n3.inserts), q2[e2] = r3;
19069
19071
  }
19070
19072
  if (N2) {
19071
19073
  const e2 = this.getTables().getItems({ address: { rowIndex: t2.rowEnd, colIndex: t2.colEnd } });
@@ -19075,7 +19077,7 @@ class dS {
19075
19077
  }
19076
19078
  }
19077
19079
  const Z2 = U2.calcGraph.clone();
19078
- 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);
19080
+ 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);
19079
19081
  } catch (t3) {
19080
19082
  throw m2?.rollback(), t3;
19081
19083
  }
@@ -19145,7 +19147,7 @@ class dS {
19145
19147
  if (e2) {
19146
19148
  const n3 = [], s2 = e2.length;
19147
19149
  for (let t3 = 0; t3 < s2; t3++) {
19148
- const s3 = e2[t3], i2 = c.sanitizeRange(s3), a2 = new W_(i2, s3.value.tokens, s3.value.references);
19150
+ const s3 = e2[t3], i2 = c.sanitizeRange(s3), a2 = new H_(i2, s3.value.tokens, s3.value.references);
19149
19151
  if (n3.push({ colStart: i2.colStart, rowStart: i2.rowStart, colEnd: i2.colEnd, rowEnd: i2.rowEnd, value: a2 }), !r2) continue;
19150
19152
  const l2 = s3.value.precedents;
19151
19153
  let h2, d2, u2 = false;
@@ -19650,7 +19652,7 @@ class dS {
19650
19652
  }
19651
19653
  s3 && (_3 = true), a2.singleMerge && (g2 = false, f2 = false);
19652
19654
  const C2 = h2.colStart - d2.colStart, v3 = h2.rowStart - d2.rowStart, A2 = i2.adjustCells;
19653
- let M2 = { ...Hh };
19655
+ let M2 = { ...Wh };
19654
19656
  if (delete M2[zh.Type.Style], !g2) {
19655
19657
  const t3 = this.getProtection().isLocked();
19656
19658
  M2 = {}, t3 && (M2[zh.Type.Unlock] = false);
@@ -19906,9 +19908,9 @@ class dS {
19906
19908
  let f3 = -1, p3 = false, A3 = b2, T3 = 1, N3 = 1, F3 = 1;
19907
19909
  const D2 = R2[n3];
19908
19910
  let B2 = D2.colStart, L2 = D2.rowStart, z2 = D2.colEnd, P2 = D2.rowEnd;
19909
- const W2 = this._getUsedCoords();
19910
- (u2 || d2) && W2 && (B2 = u2 ? W2.colStart : D2.colStart, L2 = d2 ? W2.rowStart : D2.rowStart, z2 = u2 ? W2.colEnd : D2.colEnd, P2 = d2 ? W2.rowEnd : D2.rowEnd);
19911
- const H2 = { includeRangeTypes: { [zh.Type.Style]: false, [zh.Type.Merge]: false, [zh.Type.Continuous]: false, [zh.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) => {
19911
+ const H2 = this._getUsedCoords();
19912
+ (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);
19913
+ const W2 = { includeRangeTypes: { [zh.Type.Style]: false, [zh.Type.Merge]: false, [zh.Type.Continuous]: false, [zh.Type.Contentful]: false }, ignoreHidden: false, bounds: { colStart: B2, rowStart: L2, colEnd: z2, rowEnd: P2 }, orientation: e.Orientation.Column }, V2 = h2 ? [] : void 0, j2 = l2 ? [] : void 0, $2 = (t2, e2, n4) => {
19912
19914
  if (t2 > e2) return null;
19913
19915
  const r4 = [];
19914
19916
  let o4 = t2;
@@ -19927,29 +19929,29 @@ class dS {
19927
19929
  r4.push(t3);
19928
19930
  }
19929
19931
  return r4;
19930
- }, G2 = this._rangeStateIterator(H2);
19932
+ }, G2 = this._rangeStateIterator(W2);
19931
19933
  let U2 = G2.next();
19932
19934
  for (; !U2.done; ) {
19933
19935
  const t2 = U2.value, e2 = t2.intersection, n4 = t2.start, r4 = t2.end;
19934
19936
  mS.colStart = n4.colIndex, mS.rowStart = n4.rowIndex, mS.colEnd = r4.colIndex, mS.rowEnd = r4.rowIndex;
19935
- const o4 = c.intersectRanges(mS, D2, gS), s4 = Hg(0, o4, e2, v2).getBestFit();
19937
+ const o4 = c.intersectRanges(mS, D2, gS), s4 = Wg(0, o4, e2, v2).getBestFit();
19936
19938
  if (h2) {
19937
19939
  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 };
19938
19940
  V2.push(i4);
19939
19941
  }
19940
19942
  if (l2) {
19941
19943
  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 };
19942
- $2.push(i4);
19944
+ j2.push(i4);
19943
19945
  }
19944
19946
  U2 = G2.next();
19945
19947
  }
19946
- const J2 = this._cellStateIterator({ ...H2, includeRangeTypes: { [zh.Type.Merge]: false, [zh.Type.Table]: false, [zh.Type.Style]: false, [zh.Type.Continuous]: false }, ignoreEmptyIntersections: true });
19947
- let q2, K2, X2, Y2 = J2.next(), Q2 = 1, Z2 = 1;
19948
+ const q2 = this._cellStateIterator({ ...W2, includeRangeTypes: { [zh.Type.Merge]: false, [zh.Type.Table]: false, [zh.Type.Style]: false, [zh.Type.Continuous]: false }, ignoreEmptyIntersections: true });
19949
+ let J2, K2, X2, Y2 = q2.next(), Q2 = 1, Z2 = 1;
19948
19950
  for (; !Y2.done; ) {
19949
19951
  const e2 = Y2.value, n4 = e2[0], l3 = e2[2];
19950
19952
  let h3 = b2;
19951
19953
  const d3 = l3?.directStyle ?? l3?.table.getStyle() ?? null;
19952
- d3 === q2 ? h3 = K2 : (h3 = d3 ? Hg(0, c.cellToRange(n4, fS), l3, v2) : b2, K2 = h3);
19954
+ d3 === J2 ? h3 = K2 : (h3 = d3 ? Wg(0, c.cellToRange(n4, fS), l3, v2) : b2, K2 = h3);
19953
19955
  let u3 = 1, g3 = 1;
19954
19956
  const m3 = l3?.merge ?? null;
19955
19957
  if (m3 === X2) u3 = Q2, g3 = Z2;
@@ -19965,7 +19967,7 @@ class dS {
19965
19967
  F3 = O3.getCoords().colEnd - x3 + 1;
19966
19968
  }
19967
19969
  let B3 = false, L3 = false;
19968
- if (q2 === d3 && u3 === T3 && g3 === N3 && M3 !== t.String && M3 !== t.Error && k3 === p3 || (B3 = true, M3 === t.RichData && (L3 = true), L3 && (B3 = false)), q2 = d3, X2 = m3, (f3 !== x3 || B3) && (-1 !== f3 && r3.push({ col: f3, style: A3, spanWidth: u3, spanHeight: g3, minVal: o3, maxVal: s3, hasZero: i3, text: a3, textId: _2, hasFalse: w2, hasTrue: S2, hasEmpty: y2, minRow: E2, maxRow: C2, colWidth: this._colHeaders.getSpanSize(f3), measureWidth: -1, measureHeight: -1, colSpan: F3, isFit: p3 }), f3 = x3, A3 = h3, p3 = k3, T3 = u3, N3 = g3, o3 = Number.MAX_SAFE_INTEGER, s3 = Number.MIN_SAFE_INTEGER, i3 = false, a3 = "", _2 = -1, w2 = false, S2 = false, y2 = false, E2 = I3), C2 = I3, !L3) if (null === R3) y2 = true;
19970
+ 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;
19969
19971
  else switch (M3) {
19970
19972
  case t.Number:
19971
19973
  0 === R3 && (i3 = true), o3 = Math.min(o3, R3), s3 = Math.max(s3, R3);
@@ -19979,7 +19981,7 @@ class dS {
19979
19981
  case t.Boolean:
19980
19982
  R3 ? S2 = true : w2 = true;
19981
19983
  }
19982
- Y2 = J2.next();
19984
+ Y2 = q2.next();
19983
19985
  }
19984
19986
  -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 });
19985
19987
  let tt2 = -1, et2 = -1;
@@ -20023,12 +20025,12 @@ class dS {
20023
20025
  for (; o4 && o4.col === n4; ) o4.measureWidth && (s4 = Math.max(o4.measureWidth ?? 0, s4)), t3++, e3 = r3[t3], o4 = r3[t3 + 1];
20024
20026
  0 === s4 && (s4 = null);
20025
20027
  const i4 = O2(s4, e3.spanWidth);
20026
- $2.push({ address: { min: n4, max: n4 }, update: { size: i4, autoSize: true }, sizeSet: null === s4 ? -1 : s4 });
20028
+ j2.push({ address: { min: n4, max: n4 }, update: { size: i4, autoSize: true }, sizeSet: null === s4 ? -1 : s4 });
20027
20029
  }
20028
- $2.sort(m2);
20029
- let t2 = this._colHeaders.updateHeaderPairs($2, M2);
20030
+ j2.sort(m2);
20031
+ let t2 = this._colHeaders.updateHeaderPairs(j2, M2);
20030
20032
  t2 = ks(Os(Ds(t2)));
20031
- const e2 = j2(D2.colStart, D2.colEnd, t2);
20033
+ const e2 = $2(D2.colStart, D2.colEnd, t2);
20032
20034
  e2 && this._colHeaders.updateHeaderPairs(e2, M2);
20033
20035
  }
20034
20036
  if (h2) {
@@ -20041,7 +20043,7 @@ class dS {
20041
20043
  V2.sort(m2);
20042
20044
  let t2 = this._rowHeaders.updateHeaderPairs(V2, M2);
20043
20045
  t2 = ks(Os(Ds(t2)));
20044
- const e2 = j2(D2.rowStart, D2.rowEnd, t2);
20046
+ const e2 = $2(D2.rowStart, D2.rowEnd, t2);
20045
20047
  e2 && this._rowHeaders.updateHeaderPairs(e2, M2);
20046
20048
  }
20047
20049
  }
@@ -20224,7 +20226,7 @@ class dS {
20224
20226
  for (let e3 = 0; e3 < w2; e3++) {
20225
20227
  const r3 = { ...t2[e3] };
20226
20228
  _2[e3] = r3;
20227
- const s3 = o.uuidV4(), i3 = new H_(a2, s3, n2?.ignoreAddressChanges ?? false);
20229
+ const s3 = o.uuidV4(), i3 = new W_(a2, s3, n2?.ignoreAddressChanges ?? false);
20228
20230
  S2.push(s3);
20229
20231
  const l3 = { ...c.sanitizeRange(r3), value: i3 };
20230
20232
  p2.push(l3);
@@ -20816,7 +20818,7 @@ class dS {
20816
20818
  }
20817
20819
  }
20818
20820
  async _addMovable(t2) {
20819
- if (!this.getProtection().isObjectsAllowed()) throw new C(Jh);
20821
+ if (!this.getProtection().isObjectsAllowed()) throw new C(qh);
20820
20822
  if (!t2) throw new C("No movable options provided");
20821
20823
  if (this._closed) throw new Error(Zh);
20822
20824
  const e2 = {};
@@ -20835,7 +20837,7 @@ class dS {
20835
20837
  }
20836
20838
  async _addImage(t2, e2 = { type: "picture" }) {
20837
20839
  if (!t2) throw new C("An image must be provided as a string or a resource option.");
20838
- if (!this.getProtection().isObjectsAllowed()) throw new C(Jh);
20840
+ if (!this.getProtection().isObjectsAllowed()) throw new C(qh);
20839
20841
  const n2 = this._resources.add(t2), r2 = await n2.toBuffer(), s2 = await n2.getType(), i2 = this._getBoundsAtCoords(this.getSelection().getRangesCoords()[0]), { naturalSize: a2, asUrl: l2 } = await w.loadImageDetails(r2, s2);
20840
20842
  URL.revokeObjectURL(l2);
20841
20843
  const c2 = { ...i2, ...a2, ...e2?.bounds };
@@ -20869,7 +20871,7 @@ class dS {
20869
20871
  _validateOrRemoveOverlaps(t2, e2, n2 = null, r2 = false) {
20870
20872
  const o2 = this;
20871
20873
  "merge" !== e2 && hc(this._getMerges([t2]), t2, (t3, n3) => {
20872
- if (n3 || !r2) throw new C(qh(e2));
20874
+ if (n3 || !r2) throw new C(Jh(e2));
20873
20875
  o2._unmerge([t3]);
20874
20876
  });
20875
20877
  const s2 = [], i2 = this.getTables().getItems({ address: t2 }), a2 = i2.length;
@@ -20878,7 +20880,7 @@ class dS {
20878
20880
  n2 !== e3 && s2.push(e3.getAnchorCoords());
20879
20881
  }
20880
20882
  hc(s2, t2, (t3, n3, o3) => {
20881
- if (n3 || !r2) throw new C(qh(e2));
20883
+ if (n3 || !r2) throw new C(Jh(e2));
20882
20884
  i2[o3].delete();
20883
20885
  });
20884
20886
  }
@@ -21168,7 +21170,7 @@ class dS {
21168
21170
  const s2 = xS;
21169
21171
  this._collectRanges(n2, s2);
21170
21172
  const i2 = gm(s2);
21171
- return Hg(0, n2, i2, o2);
21173
+ return Wg(0, n2, i2, o2);
21172
21174
  }
21173
21175
  _initState() {
21174
21176
  const t2 = this, n2 = () => {
@@ -21176,7 +21178,7 @@ class dS {
21176
21178
  };
21177
21179
  this._transactionsRemoveListener = this._transactions.addStateListener(this, { onBeforeCommitStart(e2, n3, r3) {
21178
21180
  if (!t2._initializing && !n3?.skipProtectionCheck) {
21179
- if (t2.getProtection().isLocked()) throw new C($h);
21181
+ if (t2.getProtection().isLocked()) throw new C(jh);
21180
21182
  }
21181
21183
  }, async onBeforeCommitEnd(e2, n3, r3) {
21182
21184
  if (n3?.ranges) {
@@ -21453,7 +21455,7 @@ class dS {
21453
21455
  (i2()?.value ?? n2).processShiftCallback = t3;
21454
21456
  }, processTableUpdate() {
21455
21457
  s2._notifyUsedRangeChange();
21456
- }, initialAnchor: r2 }, h2 = new $m(l2);
21458
+ }, initialAnchor: r2 }, h2 = new jm(l2);
21457
21459
  return o2.value.model = h2, o2.value.removeListener = h2.addListeners({ onStyleChange(t3) {
21458
21460
  s2._emitter.notify("onStyleChange");
21459
21461
  }, onDelete(t3) {
@@ -21799,18 +21801,18 @@ class dS {
21799
21801
  }
21800
21802
  B2.load(t2);
21801
21803
  }
21802
- const z2 = m2.conditionalSpatial, P2 = m2.conditionalModels, W2 = s2.conditionals;
21803
- if (W2) {
21804
- const t2 = W2.length;
21804
+ const z2 = m2.conditionalSpatial, P2 = m2.conditionalModels, H2 = s2.conditionals;
21805
+ if (H2) {
21806
+ const t2 = H2.length;
21805
21807
  for (let e2 = 0; e2 < t2; e2++) {
21806
- const t3 = W2[e2];
21808
+ const t3 = H2[e2];
21807
21809
  this._createConditionalEntries(t3, z2, P2);
21808
21810
  }
21809
21811
  }
21810
- const H2 = m2.calcGraph, V2 = H2.fromJSON({ formulas: s2.formulas, data: y2, dynamic: s2.dynamicArray, volatile: s2.volatile });
21811
- m2 = this._updateState({ hyperlinkSpatial: A2, commentsSpatial: T2, movableSpatial: k2, movableMapModel: F2, tableSpatial: B2, tableMapModel: O2, tableMapName: D2, conditionalSpatial: z2, conditionalModels: P2, calcGraph: H2 });
21812
- const $2 = this._getUsedCoords();
21813
- $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");
21812
+ const W2 = m2.calcGraph, V2 = W2.fromJSON({ formulas: s2.formulas, data: y2, dynamic: s2.dynamicArray, volatile: s2.volatile });
21813
+ m2 = this._updateState({ hyperlinkSpatial: A2, commentsSpatial: T2, movableSpatial: k2, movableMapModel: F2, tableSpatial: B2, tableMapModel: O2, tableMapName: D2, conditionalSpatial: z2, conditionalModels: P2, calcGraph: W2 });
21814
+ const j2 = this._getUsedCoords();
21815
+ j2 && this._autoFit([j2], { orientations: e.Orientations.Row, skipCustomSize: true }), r2.commit(), V2 && this._realizeCalcedValues(V2), s2.protection && this._protection.fromJSON(s2.protection), this._emitter.notify("onLoad");
21814
21816
  } finally {
21815
21817
  h2.endPersist(), l2.endPersist(), a2.endPersist();
21816
21818
  }
@@ -21826,14 +21828,14 @@ class dS {
21826
21828
  return e2(t2), this;
21827
21829
  }
21828
21830
  getVisibility() {
21829
- return this._closed ? jp.Visibility.VeryHidden : this._options.container?.getVisibility?.() ?? jp.Visibility.Hidden;
21831
+ return this._closed ? $p.Visibility.VeryHidden : this._options.container?.getVisibility?.() ?? $p.Visibility.Hidden;
21830
21832
  }
21831
21833
  setVisibility(t2 = true) {
21832
21834
  if (this._closed) throw new Error(Zh);
21833
21835
  const e2 = this._options.container?.setVisibility;
21834
21836
  if (!e2) throw new C("Unable to set visibility for sheet.");
21835
21837
  let n2;
21836
- return n2 = true === t2 ? jp.Visibility.Visible : false === t2 ? jp.Visibility.Hidden : t2, e2(n2), this;
21838
+ return n2 = true === t2 ? $p.Visibility.Visible : false === t2 ? $p.Visibility.Hidden : t2, e2(n2), this;
21837
21839
  }
21838
21840
  async select(t2) {
21839
21841
  return await this._options.container?.requestSelect?.(t2), this;
@@ -22041,7 +22043,7 @@ class AS {
22041
22043
  }
22042
22044
  }
22043
22045
  let MS;
22044
- const TS = "SheetXL", NS = MS || (MS = o.deepFreeze({ ISheet: { Visibility: jp.Visibility }, ICell: { Content: ad.Content, CalcStatus: ad.CalcStatus }, IColor: { Named: Us.Named, Scheme: Us.Scheme, Type: Us.Type, AdjustmentType: Us.AdjustmentType }, Direction: h }), MS);
22046
+ const TS = "SheetXL", NS = MS || (MS = o.deepFreeze({ ISheet: { Visibility: $p.Visibility }, ICell: { Content: ad.Content, CalcStatus: ad.CalcStatus }, IColor: { Named: Us.Named, Scheme: Us.Scheme, Type: Us.Type, AdjustmentType: Us.AdjustmentType }, Direction: h }), MS);
22045
22047
  let FS;
22046
22048
  class kS extends mp {
22047
22049
  constructor(t2, e2, n2, r2 = null, o2 = false) {
@@ -22292,7 +22294,7 @@ class PS extends Q_ {
22292
22294
  return super._toJSON(t2);
22293
22295
  }
22294
22296
  }
22295
- const WS = (t2) => `Invalid SheetKey: ${t2}`, HS = "A workbook must contain at least one visible worksheet.", VS = "Internal error no visible sheetRefs", $S = "Workbook has been closed. No further operations are allowed.", jS = "This workbook structure is protected. To make a change, unprotect the workbook. You might be requested to enter a password.", GS = "A sheet name", US = `${GS} can not be blank.`, JS = `${GS} can not be longer than 31 characters.`, qS = `${GS} can not begin or end with a "'" (single quote).`;
22297
+ const HS = (t2) => `Invalid SheetKey: ${t2}`, WS = "A workbook must contain at least one visible worksheet.", VS = "Internal error no visible sheetRefs", jS = "Workbook has been closed. No further operations are allowed.", $S = "This workbook structure is protected. To make a change, unprotect the workbook. You might be requested to enter a password.", GS = "A sheet name", US = `${GS} can not be blank.`, qS = `${GS} can not be longer than 31 characters.`, JS = `${GS} can not begin or end with a "'" (single quote).`;
22296
22298
  class KS {
22297
22299
  constructor(t2, e2) {
22298
22300
  this._add = t2, this._get = e2;
@@ -22319,11 +22321,11 @@ const XS = new RegExp(/[\\/\\*?:[\]]+/), YS = new RegExp(/\(((\d+)(?!.*\d))\)$/,
22319
22321
  if (0 === t2.length) throw new Error(US);
22320
22322
  const n2 = t2.length;
22321
22323
  if (n2 > 31) {
22322
- if (!e2) throw new Error(JS);
22324
+ if (!e2) throw new Error(qS);
22323
22325
  t2 = t2.substring(0, 31);
22324
22326
  }
22325
22327
  if ("'" === t2.charAt(0) || "'" === t2.charAt(n2 - 1)) {
22326
- if (!e2) throw new Error(qS);
22328
+ if (!e2) throw new Error(JS);
22327
22329
  t2 = t2.replace(/^'|'$/g, "");
22328
22330
  }
22329
22331
  return t2;
@@ -22341,7 +22343,7 @@ class ew extends eS {
22341
22343
  }
22342
22344
  _createRange(t2, e2) {
22343
22345
  const n2 = t2 ? { ...t2 } : null;
22344
- if (!(n2 ? this._workbook._getSheetRef(n2.sheetName, jp.Visibility.VeryHidden) : null)) {
22346
+ if (!(n2 ? this._workbook._getSheetRef(n2.sheetName, $p.Visibility.VeryHidden) : null)) {
22345
22347
  const t3 = this._workbook.getSelectedSheet();
22346
22348
  return delete n2?.sheetName, ZS(n2, n2 ? { sheetName: zc, ...t3.getEntireRange().getCoords() } : null);
22347
22349
  }
@@ -22417,7 +22419,7 @@ class rw {
22417
22419
  t3 || (t3 = (t4) => new dS(t4)), this._sheetOnNameChange = /* @__PURE__ */ new Map(), this._sheetOnVisibilityChange = /* @__PURE__ */ new Map(), this._sheetOnIndexChange = /* @__PURE__ */ new Map(), this._createSheet = (n3, r3, o3, s3, i2) => {
22418
22420
  let a2 = null;
22419
22421
  const l2 = { date1904: e2.isDate1904(), readonly: e2._options.readonly ?? false, transactions: e2._transactions, styles: e2._styles, strings: e2._strings, resources: e2._resources, names: e2._names, workbook: e2, calculation: e2._calculation, resolveRange: (t4) => e2._options.resolveRange?.(t4) ?? e2.getRange(t4), container: { beforeFromJSON: (t4) => {
22420
- a2 = t4, e2._addSheetRef({ name: r3, id: n3, visibility: o3 ?? jp.Visibility.Visible, sheet: t4 }, s3);
22422
+ a2 = t4, e2._addSheetRef({ name: r3, id: n3, visibility: o3 ?? $p.Visibility.Visible, sheet: t4 }, s3);
22421
22423
  }, getName: () => {
22422
22424
  const t4 = e2._getSheetRef(a2);
22423
22425
  return t4 ? t4.name : e2._createSheetName(1);
@@ -22425,20 +22427,20 @@ class rw {
22425
22427
  e2._getSheetRef(a2) && e2._setSheetName(a2, t4);
22426
22428
  }, getIndex: () => {
22427
22429
  const t4 = e2._getSheetRef(a2);
22428
- return t4 ? e2._findOffsetForId(t4.id, e2._getSheetRefs(jp.Visibility.VeryHidden)) : -1;
22430
+ return t4 ? e2._findOffsetForId(t4.id, e2._getSheetRefs($p.Visibility.VeryHidden)) : -1;
22429
22431
  }, setIndexCallback: (t4) => {
22430
22432
  e2._sheetOnIndexChange.set(n3, t4);
22431
22433
  }, setNameChangeCallback: (t4) => {
22432
22434
  e2._sheetOnNameChange.set(n3, t4);
22433
22435
  }, getVisibility: () => {
22434
22436
  const t4 = e2._getSheetRef(a2);
22435
- return t4 ? t4.visibility : jp.Visibility.Visible;
22437
+ return t4 ? t4.visibility : $p.Visibility.Visible;
22436
22438
  }, setVisibility: (t4) => {
22437
22439
  e2._setSheetVisibility(a2, t4);
22438
22440
  }, setVisibilityCallback: (t4) => {
22439
22441
  e2._sheetOnVisibilityChange.set(n3, t4);
22440
22442
  }, duplicate: () => e2._duplicateSheet(a2), setPosition: (t4) => {
22441
- const n4 = e2._getSheetRef(a2, jp.Visibility.VeryHidden);
22443
+ const n4 = e2._getSheetRef(a2, $p.Visibility.VeryHidden);
22442
22444
  return !!n4 && (e2._moveSheet(n4, t4), true);
22443
22445
  }, requestSelect: async () => (e2._setSelectedSheet(a2), await this._emitter.notify("onRequestSelect", { source: e2, params: a2, async: true }), e2.getSelectedSheet() === a2) } };
22444
22446
  return i2 && (l2.json = i2), a2 = t3(l2, r3, s3, o3), a2;
@@ -22452,7 +22454,7 @@ class rw {
22452
22454
  }
22453
22455
  }, getSheetIndex: (t4) => {
22454
22456
  if (void 0 === t4) return e2.getSelectedSheetIndex();
22455
- const n3 = this._getSheetRefs(jp.Visibility.Hidden);
22457
+ const n3 = this._getSheetRefs($p.Visibility.Hidden);
22456
22458
  t4 = t4.toLowerCase();
22457
22459
  const r3 = n3.length;
22458
22460
  for (let e3 = 0; e3 < r3; e3++) if (n3[e3].name.toLowerCase() === t4) return e3;
@@ -22463,7 +22465,7 @@ class rw {
22463
22465
  const n4 = e3[0].getRanges().getCoords()?.[0];
22464
22466
  let r4 = n4?.sheetName;
22465
22467
  if (!r4) return -1;
22466
- const o3 = this._getSheetRefs(jp.Visibility.Hidden);
22468
+ const o3 = this._getSheetRefs($p.Visibility.Hidden);
22467
22469
  r4 = r4.toLowerCase();
22468
22470
  const s3 = o3.length;
22469
22471
  for (let t5 = 0; t5 < s3; t5++) if (o3[t5].name.toLowerCase() === r4) return t5;
@@ -22512,7 +22514,7 @@ class rw {
22512
22514
  return this._view;
22513
22515
  }
22514
22516
  setView(t2) {
22515
- if (this._closed) throw new Error($S);
22517
+ if (this._closed) throw new Error(jS);
22516
22518
  if (!t2) throw new C("View can not be empty.");
22517
22519
  this._listenerWorkbookView?.();
22518
22520
  const e2 = this;
@@ -22526,7 +22528,7 @@ class rw {
22526
22528
  return this._isDate1904;
22527
22529
  }
22528
22530
  setDate1904(t2) {
22529
- if (this._closed) throw new Error($S);
22531
+ if (this._closed) throw new Error(jS);
22530
22532
  return this._isDate1904 = t2, this._notifyAllChange(), this;
22531
22533
  }
22532
22534
  getStyles() {
@@ -22545,7 +22547,7 @@ class rw {
22545
22547
  return this._theme;
22546
22548
  }
22547
22549
  setTheme(t2) {
22548
- if (this._closed) throw new Error($S);
22550
+ if (this._closed) throw new Error(jS);
22549
22551
  if (!t2) throw new C("A value must be provided.");
22550
22552
  const e2 = this._theme;
22551
22553
  return this._theme = t2, this.getStyles().setTheme(t2), this._emitter.notify("onThemeChange"), e2;
@@ -22557,12 +22559,12 @@ class rw {
22557
22559
  const t2 = this._getSheetRef(this.getSelectedSheetIndex());
22558
22560
  return t2 ? t2?.sheet : null;
22559
22561
  }
22560
- getSheet(t2, e2 = jp.Visibility.Visible) {
22562
+ getSheet(t2, e2 = $p.Visibility.Visible) {
22561
22563
  const n2 = this._getSheetRef(t2, e2);
22562
22564
  if (!n2) throw new d(`Sheet '${t2}' not found.`);
22563
22565
  return n2.sheet;
22564
22566
  }
22565
- getSheetAt(t2, e2 = jp.Visibility.Visible) {
22567
+ getSheetAt(t2, e2 = $p.Visibility.Visible) {
22566
22568
  const n2 = this._getSheetRef(t2, e2);
22567
22569
  if (!n2) throw new d(((t3) => `No sheet found at ${t3}.`)(t2));
22568
22570
  return n2.sheet;
@@ -22573,17 +22575,17 @@ class rw {
22573
22575
  addSheet(t2) {
22574
22576
  return this.getSheets().add(t2);
22575
22577
  }
22576
- _getSheets(t2 = jp.Visibility.Visible) {
22578
+ _getSheets(t2 = $p.Visibility.Visible) {
22577
22579
  const e2 = this._getSheetRefs(t2), n2 = [], r2 = e2.length;
22578
22580
  for (let t3 = 0; t3 < r2; t3++) n2.push(e2[t3].sheet);
22579
22581
  return n2;
22580
22582
  }
22581
- _getSheetRefs(t2 = jp.Visibility.Visible) {
22583
+ _getSheetRefs(t2 = $p.Visibility.Visible) {
22582
22584
  if (this._closed) return o.EmptyArray;
22583
22585
  const e2 = this._getState();
22584
- return e2 ? t2 === jp.Visibility.Visible ? e2.sheetRefsVisible : t2 === jp.Visibility.Hidden ? e2.sheetRefsVisibleAndHidden : t2 === jp.Visibility.VeryHidden ? e2.sheetRefsAll : o.EmptyArray : [];
22586
+ return e2 ? t2 === $p.Visibility.Visible ? e2.sheetRefsVisible : t2 === $p.Visibility.Hidden ? e2.sheetRefsVisibleAndHidden : t2 === $p.Visibility.VeryHidden ? e2.sheetRefsAll : o.EmptyArray : [];
22585
22587
  }
22586
- _getSheetRef(t2, e2 = jp.Visibility.Visible) {
22588
+ _getSheetRef(t2, e2 = $p.Visibility.Visible) {
22587
22589
  if (this._closed) return null;
22588
22590
  let n2 = null;
22589
22591
  if ("number" == typeof t2) {
@@ -22623,8 +22625,8 @@ class rw {
22623
22625
  return !XS.test(t2);
22624
22626
  }
22625
22627
  _addSheetOptions(t2) {
22626
- if (this._closed) throw new Error($S);
22627
- if (!this.getProtection().isStructureAllowed()) throw new C(jS);
22628
+ if (this._closed) throw new Error(jS);
22629
+ if (!this.getProtection().isStructureAllowed()) throw new C($S);
22628
22630
  let e2, n2 = null;
22629
22631
  e2 = "string" == typeof t2 ? { name: t2 } : "number" == typeof t2 ? { index: t2 } : t2, e2 = { ...e2, description: e2?.description ?? "Add Sheet" };
22630
22632
  const r2 = this.beginCommit(e2);
@@ -22660,15 +22662,15 @@ class rw {
22660
22662
  }
22661
22663
  _addSheet(t2, e2 = null, n2 = null) {
22662
22664
  e2 = this._nextSheetName(e2);
22663
- const r2 = this._getState(), o2 = this._createSheet(r2.lastId, e2, jp.Visibility.Visible, n2, null);
22665
+ const r2 = this._getState(), o2 = this._createSheet(r2.lastId, e2, $p.Visibility.Visible, n2, null);
22664
22666
  if (!o2) throw new C(US);
22665
22667
  return t2 && this._emitter.notify("onSheetsChange"), o2;
22666
22668
  }
22667
22669
  _updateSheetRefStates(t2) {
22668
- if (this._closed) throw new Error($S);
22669
- if (!this._initializing && !this.getProtection().isStructureAllowed()) throw new C(jS);
22670
+ if (this._closed) throw new Error(jS);
22671
+ if (!this._initializing && !this.getProtection().isStructureAllowed()) throw new C($S);
22670
22672
  const e2 = t2, n2 = [], r2 = [], o2 = e2.length;
22671
- for (let t3 = 0; t3 < o2; t3++) e2[t3].visibility === jp.Visibility.Visible ? (n2.push(e2[t3]), r2.push(e2[t3])) : e2[t3].visibility === jp.Visibility.Hidden && r2.push(e2[t3]);
22673
+ 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]);
22672
22674
  this._updateState({ sheetRefsAll: e2, sheetRefsVisible: n2, sheetRefsVisibleAndHidden: r2 });
22673
22675
  }
22674
22676
  _addSheetRef(t2, e2 = null) {
@@ -22691,7 +22693,7 @@ class rw {
22691
22693
  const e3 = i2.addListeners({ onBeforeDelete: (t3) => {
22692
22694
  g2._validateDeleteSheet(t3);
22693
22695
  }, onDelete(t3) {
22694
- let e4 = g2._getSheetRef(t3, jp.Visibility.VeryHidden);
22696
+ let e4 = g2._getSheetRef(t3, $p.Visibility.VeryHidden);
22695
22697
  if (!e4) return;
22696
22698
  const n3 = g2._beginCommit({ description: `Remove Sheet ${e4.name}` });
22697
22699
  try {
@@ -22740,15 +22742,15 @@ class rw {
22740
22742
  if (-1 === e2) return;
22741
22743
  let n2 = this._view.getActiveSheetId();
22742
22744
  null == n2 && (this._view.setActiveSheetId(e2), n2 = e2);
22743
- t2.refsById.get(n2).visibility === jp.Visibility.Visible && (this._activeSheetOffset = this._findOffsetForId(n2, t2.sheetRefsVisible));
22745
+ t2.refsById.get(n2).visibility === $p.Visibility.Visible && (this._activeSheetOffset = this._findOffsetForId(n2, t2.sheetRefsVisible));
22744
22746
  }
22745
22747
  _validateDeleteSheet(t2) {
22746
- if (this._closed) throw new Error($S);
22747
- if (!this.getProtection().isStructureAllowed()) throw new C(jS);
22748
+ if (this._closed) throw new Error(jS);
22749
+ if (!this.getProtection().isStructureAllowed()) throw new C($S);
22748
22750
  let e2 = this._getSheetRef(t2);
22749
22751
  if (!e2) throw new C(((t3) => `Invalid reference for delete: ${t3}`)(t2));
22750
22752
  const n2 = this._getState().sheetRefsVisible;
22751
- if (1 === n2.length && n2[0].id === e2.id) throw new C(HS);
22753
+ if (1 === n2.length && n2[0].id === e2.id) throw new C(WS);
22752
22754
  }
22753
22755
  _findOffsetForId(t2, e2) {
22754
22756
  const n2 = e2.length;
@@ -22756,7 +22758,7 @@ class rw {
22756
22758
  throw new C(VS);
22757
22759
  }
22758
22760
  find(t2) {
22759
- if (this._closed) throw new Error($S);
22761
+ if (this._closed) throw new Error(jS);
22760
22762
  const e2 = this._getSheets();
22761
22763
  if (1 === e2.length) return e2[0].find(t2);
22762
22764
  "string" == typeof t2 && (t2 = { text: t2 });
@@ -22821,22 +22823,22 @@ class rw {
22821
22823
  return 1 === n2 ? 0 : (void 0 === t2 && (t2 = this.getSelectedSheetIndex()), (t2 = Math.max(0, Math.min(t2, n2 - 1))) <= 0 ? n2 - 1 : t2 - 1);
22822
22824
  }
22823
22825
  getNextSheet(t2) {
22824
- if (this._closed) throw new Error($S);
22826
+ if (this._closed) throw new Error(jS);
22825
22827
  const e2 = this._getSheetRefs();
22826
22828
  return e2[this._nextSheetIndex(t2, e2)]?.sheet ?? null;
22827
22829
  }
22828
22830
  getPreviousSheet(t2) {
22829
- if (this._closed) throw new Error($S);
22831
+ if (this._closed) throw new Error(jS);
22830
22832
  const e2 = this._getSheetRefs();
22831
22833
  return e2[this._prevSheetIndex(t2, e2)]?.sheet ?? null;
22832
22834
  }
22833
22835
  async _duplicateSheet(t2) {
22834
- if (this._closed) throw new Error($S);
22835
- if (!this.getProtection().isStructureAllowed()) throw new C(jS);
22836
+ if (this._closed) throw new Error(jS);
22837
+ if (!this.getProtection().isStructureAllowed()) throw new C($S);
22836
22838
  const e2 = this._getSheetRefs(), n2 = this.getSelectedSheetIndex();
22837
22839
  let r2 = null;
22838
22840
  if (t2) {
22839
- if (r2 = this._getSheetRef(t2), !r2) throw new C(WS(r2));
22841
+ if (r2 = this._getSheetRef(t2), !r2) throw new C(HS(r2));
22840
22842
  } else r2 = e2[n2];
22841
22843
  if (!r2) return null;
22842
22844
  const o2 = r2.sheet, s2 = this._strings.beginPersist(), i2 = this.getResources().beginPersist(), a2 = this.getStyles().beginPersist();
@@ -22854,7 +22856,7 @@ class rw {
22854
22856
  }
22855
22857
  _createRange(t2, e2) {
22856
22858
  const n2 = t2 ? { ...t2 } : null;
22857
- if (!(n2 ? this._getSheetRef(n2.sheetName, jp.Visibility.VeryHidden) : null)) {
22859
+ if (!(n2 ? this._getSheetRef(n2.sheetName, $p.Visibility.VeryHidden) : null)) {
22858
22860
  const t3 = this.getSelectedSheet();
22859
22861
  return t3 ? (delete n2?.sheetName, ZS(n2, n2 ? { sheetName: zc, ...t3.getEntireRange().getCoords() } : null)) : void console.warn(VS);
22860
22862
  }
@@ -22896,7 +22898,7 @@ class rw {
22896
22898
  getSelectedCell() {
22897
22899
  return this.getSelectedSheet().getSelectedCell();
22898
22900
  }
22899
- _rangesAddressToCoords(t2, e2 = true, n2 = jp.Visibility.Hidden) {
22901
+ _rangesAddressToCoords(t2, e2 = true, n2 = $p.Visibility.Hidden) {
22900
22902
  if (!t2) throw new C(xh);
22901
22903
  const r2 = this.getSelectedSheet(), o2 = r2?.getEntireRange().getCoords(), s2 = { ...o2 }, i2 = r2?.getName();
22902
22904
  if (i2 && (s2.sheetName = i2), "string" == typeof t2) {
@@ -22917,7 +22919,7 @@ class rw {
22917
22919
  for (let t3 = 0; t3 < c2; t3++) this._validateCoords(l2[t3], n2);
22918
22920
  return l2;
22919
22921
  }
22920
- _validateCoords(t2, e2 = jp.Visibility.Visible, n2 = Gh) {
22922
+ _validateCoords(t2, e2 = $p.Visibility.Visible, n2 = Gh) {
22921
22923
  if (null === t2) return;
22922
22924
  const r2 = this.getSheet(t2.sheetName, e2).getEntireRange().getCoords();
22923
22925
  if (!c.isRangeWithinRange(t2, r2)) throw new d(n2);
@@ -22938,10 +22940,10 @@ class rw {
22938
22940
  return h2.set(c2, e2), this._updateState({ refsById: o2, refsByLowerCaseName: a2, sheetsByLowerCaseName: l2, refsByInstance: h2 }), e2;
22939
22941
  }
22940
22942
  _setSheetName(t2, e2) {
22941
- if (this._closed) throw new Error($S);
22942
- if (!this.getProtection().isStructureAllowed()) throw new C(jS);
22943
+ if (this._closed) throw new Error(jS);
22944
+ if (!this.getProtection().isStructureAllowed()) throw new C($S);
22943
22945
  const n2 = this._getSheetRef(t2);
22944
- if (!n2) throw new C(WS(t2));
22946
+ if (!n2) throw new C(HS(t2));
22945
22947
  if (e2 === n2.name) return n2.sheet;
22946
22948
  e2 = this._validateNewSheetName(e2);
22947
22949
  const r2 = Object.freeze({ ...n2, name: e2 });
@@ -22957,23 +22959,23 @@ class rw {
22957
22959
  }
22958
22960
  return o2;
22959
22961
  }
22960
- _setSheetVisibility(t2, e2 = jp.Visibility.Visible) {
22961
- if (this._closed) throw new Error($S);
22962
- if (!this.getProtection().isStructureAllowed()) throw new C(jS);
22963
- const n2 = this._getSheetRef(t2, jp.Visibility.VeryHidden);
22962
+ _setSheetVisibility(t2, e2 = $p.Visibility.Visible) {
22963
+ if (this._closed) throw new Error(jS);
22964
+ if (!this.getProtection().isStructureAllowed()) throw new C($S);
22965
+ const n2 = this._getSheetRef(t2, $p.Visibility.VeryHidden);
22964
22966
  if (!n2) return null;
22965
22967
  if (e2 === n2.visibility) return;
22966
22968
  let r2 = null, o2 = "";
22967
- e2 === jp.Visibility.Visible ? o2 = "Unhide Sheet" : e2 === jp.Visibility.Hidden ? o2 = "Hide Sheet" : e2 === jp.Visibility.VeryHidden && (o2 = "Very Hide Sheet");
22969
+ e2 === $p.Visibility.Visible ? o2 = "Unhide Sheet" : e2 === $p.Visibility.Hidden ? o2 = "Hide Sheet" : e2 === $p.Visibility.VeryHidden && (o2 = "Very Hide Sheet");
22968
22970
  const s2 = this.beginCommit(o2);
22969
22971
  try {
22970
22972
  const t3 = this._getState().sheetRefsVisible;
22971
- if (e2 !== jp.Visibility.Visible && 1 === t3.length && t3[0].id === n2.id) throw new C(HS);
22973
+ if (e2 !== $p.Visibility.Visible && 1 === t3.length && t3[0].id === n2.id) throw new C(WS);
22972
22974
  const o3 = { ...n2, visibility: e2 };
22973
22975
  let i2 = -1;
22974
- e2 !== jp.Visibility.Visible && (i2 = this._findOffsetForId(n2.id, t3));
22976
+ e2 !== $p.Visibility.Visible && (i2 = this._findOffsetForId(n2.id, t3));
22975
22977
  const a2 = this._updateSheetRef(n2, o3);
22976
- e2 !== jp.Visibility.Visible && this._adjustRemoveSelectionIfRequired(i2, n2.id), r2 = a2.sheet, this._adjustSheetNamesIfRequired(), s2.commit();
22978
+ e2 !== $p.Visibility.Visible && this._adjustRemoveSelectionIfRequired(i2, n2.id), r2 = a2.sheet, this._adjustSheetNamesIfRequired(), s2.commit();
22977
22979
  } catch (t3) {
22978
22980
  throw s2.rollback(), t3;
22979
22981
  }
@@ -22982,8 +22984,8 @@ class rw {
22982
22984
  }), this._emitter.notify("onSheetsChange"), r2;
22983
22985
  }
22984
22986
  _moveSheet(t2, e2) {
22985
- if (this._closed) throw new Error($S);
22986
- if (!this.getProtection().isStructureAllowed()) throw new C(jS);
22987
+ if (this._closed) throw new Error(jS);
22988
+ if (!this.getProtection().isStructureAllowed()) throw new C($S);
22987
22989
  let n2 = null;
22988
22990
  const r2 = this.beginCommit(`Move Sheet '${t2.name}'`);
22989
22991
  try {
@@ -23002,11 +23004,11 @@ class rw {
23002
23004
  return n2;
23003
23005
  }
23004
23006
  _setSelectedSheet(t2) {
23005
- if (this._closed) throw new Error($S);
23007
+ if (this._closed) throw new Error(jS);
23006
23008
  const e2 = this._getSheetRef(t2);
23007
- if (!e2) throw new C(WS(t2));
23009
+ if (!e2) throw new C(HS(t2));
23008
23010
  let n2 = null;
23009
- return e2.visibility !== jp.Visibility.Visible && this._setSheetVisibility(e2, jp.Visibility.Visible), this._view.setActiveSheetId(e2.id), n2 = e2.sheet, n2;
23011
+ return e2.visibility !== $p.Visibility.Visible && this._setSheetVisibility(e2, $p.Visibility.Visible), this._view.setActiveSheetId(e2.id), n2 = e2.sheet, n2;
23010
23012
  }
23011
23013
  getProtection() {
23012
23014
  return this._protection;
@@ -23048,7 +23050,7 @@ class rw {
23048
23050
  };
23049
23051
  }
23050
23052
  _fromJSON(t2) {
23051
- if (this._emitter.notify("onBeforeLoad", { params: t2 }), this._initState(), !t2.sheets || 0 === t2.sheets.length) throw new C(HS);
23053
+ if (this._emitter.notify("onBeforeLoad", { params: t2 }), this._initState(), !t2.sheets || 0 === t2.sheets.length) throw new C(WS);
23052
23054
  t2.theme && (this._theme = new Zi(t2.theme), this._styles.setTheme(this._theme));
23053
23055
  const e2 = this._strings.beginPersist(), n2 = this._resources.beginPersist(), r2 = this._styles.beginPersist();
23054
23056
  try {
@@ -23058,8 +23060,8 @@ class rw {
23058
23060
  null !== i2 && (i2 = Math.min(Math.max(1, i2), s2));
23059
23061
  let a2 = null;
23060
23062
  for (let t3 = 0; t3 < s2; t3++) {
23061
- const e3 = o2[t3], n3 = e3.visibility || jp.Visibility.Visible, r3 = t3 + 1;
23062
- n3 === jp.Visibility.Visible ? a2 = r3 : null !== i2 && i2 === r3 && (i2 = null), this._createSheet(r3, e3.name, n3, void 0, e3.sheet);
23063
+ const e3 = o2[t3], n3 = e3.visibility || $p.Visibility.Visible, r3 = t3 + 1;
23064
+ n3 === $p.Visibility.Visible ? a2 = r3 : null !== i2 && i2 === r3 && (i2 = null), this._createSheet(r3, e3.name, n3, void 0, e3.sheet);
23063
23065
  }
23064
23066
  this._updateState({ lastId: a2 }), t2.names && this._names.fromJSON(t2.names), t2.view.activeSheetId = i2 ?? a2, this.setView(new RS({ json: t2.view })), this._adjustSheetNamesIfRequired(), this._listenerProtection?.();
23065
23067
  const l2 = this;
@@ -23085,7 +23087,7 @@ class rw {
23085
23087
  } });
23086
23088
  }
23087
23089
  async toJSON(t2 = false) {
23088
- if (this._closed) throw new Error($S);
23090
+ if (this._closed) throw new Error(jS);
23089
23091
  await this._emitter.notify("onBeforeSave", { async: true });
23090
23092
  const e2 = { sheets: [] };
23091
23093
  await Promise.resolve(this._starting);
@@ -23098,7 +23100,7 @@ class rw {
23098
23100
  const l2 = this._getState(), c2 = l2.sheetRefsAll, h2 = l2.sheetsById, d2 = c2.length;
23099
23101
  for (let r3 = 0; r3 < d2; r3++) {
23100
23102
  const o3 = c2[r3], s3 = r3 + 1, l3 = await h2.get(o3.id).toJSON(t2), d3 = { name: o3.name, sheet: l3 };
23101
- o3.visibility === jp.Visibility.Visible ? a2 = s3 : d3.visibility = o3.visibility, o3.id === n3 && (i2 = s3), e2.sheets.push(d3);
23103
+ o3.visibility === $p.Visibility.Visible ? a2 = s3 : d3.visibility = o3.visibility, o3.id === n3 && (i2 = s3), e2.sheets.push(d3);
23102
23104
  }
23103
23105
  const u2 = s2.toJSON();
23104
23106
  u2 && Object.keys(u2).length > 0 && (e2.styles = u2);
@@ -23140,7 +23142,7 @@ class rw {
23140
23142
  this._ownResources, this._ownNames && this._names.close(), this._ownsCalculation && this._calculation.close(), this._ownStyles, this._transactionsRemoveListener?.(), this._closed = true;
23141
23143
  }
23142
23144
  beginCommit(t2) {
23143
- if (this._closed) throw new Error($S);
23145
+ if (this._closed) throw new Error(jS);
23144
23146
  return this._beginCommit("string" == typeof t2 ? { description: t2 } : t2);
23145
23147
  }
23146
23148
  doBatch(t2, e2) {
@@ -23187,7 +23189,7 @@ export {
23187
23189
  xp as Calculation,
23188
23190
  ai as Color,
23189
23191
  Mp as DateUtils,
23190
- $p as ExternalRangeClipboardItem,
23192
+ jp as ExternalRangeClipboardItem,
23191
23193
  ip as F,
23192
23194
  ms as FontUtils,
23193
23195
  Et as GeomUtils,
@@ -23200,13 +23202,13 @@ export {
23200
23202
  Rp as ICellRange,
23201
23203
  Us as IColor,
23202
23204
  kp as IConditionalFormat,
23203
- js as IFill,
23205
+ $s as IFill,
23204
23206
  ns as IFont,
23205
23207
  us as IFontCollection,
23206
23208
  Tp as IMovable,
23207
23209
  lf as IPicture,
23208
- $s as IPrint,
23209
- jp as ISheet,
23210
+ js as IPrint,
23211
+ $p as ISheet,
23210
23212
  Dp as ISheetView,
23211
23213
  ca as ISort,
23212
23214
  Ai as IStyle,
@@ -23215,7 +23217,7 @@ export {
23215
23217
  Io as ITextFrame,
23216
23218
  Fi as ITheme,
23217
23219
  ki as IThemeCollection,
23218
- ct as LicenseManager,
23220
+ ht as LicenseManager,
23219
23221
  Ii as NumberFormat,
23220
23222
  hf as Picture,
23221
23223
  Vp as RangeClipboardItem,
@@ -23227,7 +23229,7 @@ export {
23227
23229
  af as StringCollection,
23228
23230
  Zm as StyleCollection,
23229
23231
  mp as T,
23230
- $m as Table,
23232
+ jm as Table,
23231
23233
  Uo as TextUtils,
23232
23234
  Zi as Theme,
23233
23235
  ea as ThemeCollection,
@@ -23244,6 +23246,6 @@ export {
23244
23246
  yc as f,
23245
23247
  Tc as g,
23246
23248
  Mc as m,
23247
- $c as r,
23249
+ jc as r,
23248
23250
  Ec as t
23249
23251
  };