@sheetxl/sdk 0.6.10 → 0.6.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/browser/cjs/{u9aOv3NkeqWPEnIN.cjs → BFYDG5qsx5NnKbmL.cjs} +2 -2
  2. package/browser/cjs/{DLCBd2khaRDayLV8.cjs → BKXlE4xw0_7CZ-cj.cjs} +1 -1
  3. package/browser/cjs/{BLjt3M__FbocaxsQ.cjs → BPm905ETO9Rm7xEA.cjs} +1 -1
  4. package/browser/cjs/{CS7tC7wC-1IsYcq5.cjs → BRXuoGnLKFX0iGEK.cjs} +1 -1
  5. package/browser/cjs/{kJJD1qhHnJuAQ_SR.cjs → BZydpsUlRyxq33dn.cjs} +1 -1
  6. package/browser/cjs/{DtrIr0UpteUDosDw.cjs → Bjp6SpwCMr7F7XDc.cjs} +1 -1
  7. package/browser/cjs/{C-l3kX1tTJuLLGHM.cjs → BoalX-e5aTvbk6ZS.cjs} +1 -1
  8. package/browser/cjs/{pHI3E3ze3oXdOAsj.cjs → BwVG3czdgfHJZq2b.cjs} +1 -1
  9. package/browser/cjs/{DysvCDF-J-UsNTf3.cjs → C5aE0e4yb49hXZxP.cjs} +1 -1
  10. package/browser/cjs/{C7AfDCZ-fY17nv0q.cjs → C7E_8694EW1sP-pY.cjs} +1 -1
  11. package/browser/cjs/{jwkAn1ue1dA6Jfz1.cjs → C9mkRbnc83WHBzfq.cjs} +1 -1
  12. package/browser/cjs/{BC7VBU1_Wpl0Di2U.cjs → CMuLGfAGSOHVooRJ.cjs} +1 -1
  13. package/browser/cjs/{CBQhrBRh5y4uVatW.cjs → CVHSDn92ZAUg2hT6.cjs} +1 -1
  14. package/browser/cjs/{DpJMX_08dM3HK1y7.cjs → CYHdhG-YwgF30pQR.cjs} +1 -1
  15. package/browser/cjs/{i7a7nCjRVnxbg1rE.cjs → CcHy9ET_0AoOGH3-.cjs} +2 -2
  16. package/browser/cjs/{WDe-6XKGlY0TFeDz.cjs → CeAqTHYb20jQ-EgX.cjs} +1 -1
  17. package/browser/cjs/{2OZ2XYji0QVhHafF.cjs → DKh8QkElXnTnz70Y.cjs} +1 -1
  18. package/browser/cjs/{C8Ahdl69XtERyIyg.cjs → DKjzL2NzrTZUkMd4.cjs} +1 -1
  19. package/browser/cjs/{BcbdV2iI_us8L90m.cjs → DUksWASvIBVekZLH.cjs} +1 -1
  20. package/browser/cjs/{BOVTRHktxQAnM0A1.cjs → D_2asXAjjqb1MQSo.cjs} +1 -1
  21. package/browser/cjs/DdaSifgClArXfbZj.cjs +54 -0
  22. package/browser/cjs/{ByD6TAQltzv7183W.cjs → DfoBdguJXjvZsdhs.cjs} +3 -3
  23. package/browser/cjs/{DLNCV4aKhIbye0en.cjs → OFesyof4pRn9n6BX.cjs} +1 -1
  24. package/browser/cjs/{DxeRBAbZBBGzzuxa.cjs → SNmBvUmtxYR9DEGK.cjs} +1 -1
  25. package/browser/cjs/{Cr_AmcD3luMLvRtL.cjs → aHOXPfpjNgIR2ahP.cjs} +1 -1
  26. package/browser/cjs/index.cjs +2 -2
  27. package/browser/cjs/{B2NYIFfS1pGlincD.cjs → umlSvj53ypBAsO6i.cjs} +1 -1
  28. package/browser/cjs/{DVdcC0aLx_u4s3Ql.cjs → zkG3oUEZg_86HP8a.cjs} +1 -1
  29. package/{node/esm/DXpF2Aw0-VRWU7Jn.mjs → browser/esm/2WCTXpmQ_zXr00dR.mjs} +1 -1
  30. package/{node/esm/DunQ2mhBc2eq0aQQ.mjs → browser/esm/3tHdTCn2N2Ai-aa2.mjs} +1 -1
  31. package/{node/esm/Bzxos6XaLwkHnjw5.mjs → browser/esm/B87NL_k3SOOLqwau.mjs} +1 -1
  32. package/browser/esm/{CVTEC7hQF7J2QS_Y.mjs → B8jnncFQL6kSvNA8.mjs} +1 -1
  33. package/browser/esm/{BBqvQt7oA_HexsyU.mjs → B9G9meBN6KR1iHfF.mjs} +1 -1
  34. package/browser/esm/{CnEwL9atF_U4Qxkk.mjs → BHcVxaKDavX_AyMY.mjs} +1 -1
  35. package/{node/esm/DYAH43HIRWXwbkrH.mjs → browser/esm/BSr44CFvujt_XEqQ.mjs} +1 -1
  36. package/{node/esm/J3NpGGoFL3GSkKtL.mjs → browser/esm/BW7RBbJWOyc8XVol.mjs} +1 -1
  37. package/browser/esm/{wV9d-D720E5iTgiZ.mjs → BXkZuQ-0lXmV1EIN.mjs} +1 -1
  38. package/browser/esm/{sJWWOu1kh1gMAkYQ.mjs → BuML5CZyyYM-EQZb.mjs} +1 -1
  39. package/browser/esm/{prPoJqjwvMP6Jp2d.mjs → ByG-blWLsit1vu-b.mjs} +1 -1
  40. package/browser/esm/{BuYYH9m6plNJbK9h.mjs → CD9GGigM6jXuYSS8.mjs} +1 -1
  41. package/browser/esm/{90S8euK4swdkO8Ti.mjs → CHY2yV-VwIAwEa7u.mjs} +2 -2
  42. package/browser/esm/{dsBcK4QGe_zSkMsp.mjs → CLix7948FIacIj_r.mjs} +1 -1
  43. package/browser/esm/{-1R9Gmxjsic9GZ8C.mjs → CQ9dBF9qXvcfB4QN.mjs} +1 -1
  44. package/browser/esm/CYv1qOnVQIvi7d0l.mjs +23113 -0
  45. package/{node/esm/Dxnxz6lv6UME8Ux1.mjs → browser/esm/ClK01MZAe1HZTl4g.mjs} +1 -1
  46. package/{node/esm/Cm8dJb5cBI3nxWVq.mjs → browser/esm/CnYUuciMeOJ7pmMb.mjs} +1 -1
  47. package/{node/esm/BIjdS2MKSEYAdAsu.mjs → browser/esm/CqsQGdokIfRXHM31.mjs} +1 -1
  48. package/browser/esm/{BmNSNMSshOeynT5V.mjs → DjTcXf0TcxIWNzvf.mjs} +1 -1
  49. package/browser/esm/{H2dvgVTfFmLYKsaR.mjs → Dz68gx-4a5NFxIwR.mjs} +1 -1
  50. package/{node/esm/CAegSu4ZPuPArotE.mjs → browser/esm/VUsxt3O40sPqPww_.mjs} +1 -1
  51. package/browser/esm/{D9TXR0ribGAEm_nB.mjs → hzLgUazsNKVVvoWO.mjs} +2 -2
  52. package/browser/esm/index.mjs +2 -2
  53. package/browser/esm/{DV2DbLLDcYCjuNs5.mjs → jeGBWsuFMi2y1vmE.mjs} +1 -1
  54. package/browser/esm/{qGF1wJBzEV4nDceo.mjs → ni5ddQNGrm94WxCB.mjs} +3 -3
  55. package/browser/esm/{DjZgldItQEVZw8m8.mjs → qufRtSOJ-1Rs8wCB.mjs} +1 -1
  56. package/browser/esm/{CuMR0epKrUCZyhWz.mjs → vXio9h6XTorGXIHu.mjs} +1 -1
  57. package/{browser/esm/DXpF2Aw0-VRWU7Jn.mjs → node/esm/2WCTXpmQ_zXr00dR.mjs} +1 -1
  58. package/{browser/esm/DunQ2mhBc2eq0aQQ.mjs → node/esm/3tHdTCn2N2Ai-aa2.mjs} +1 -1
  59. package/{browser/esm/Bzxos6XaLwkHnjw5.mjs → node/esm/B87NL_k3SOOLqwau.mjs} +1 -1
  60. package/node/esm/{CVTEC7hQF7J2QS_Y.mjs → B8jnncFQL6kSvNA8.mjs} +1 -1
  61. package/node/esm/{Dmi_acXP66kUBEAS.mjs → B9FNPAsnB8gsaXKo.mjs} +1 -1
  62. package/node/esm/{7H3yxcnDV3XLhva8.mjs → BDiANu0RdLHHeDjE.mjs} +2 -2
  63. package/node/esm/{CnEwL9atF_U4Qxkk.mjs → BHcVxaKDavX_AyMY.mjs} +1 -1
  64. package/{browser/esm/DYAH43HIRWXwbkrH.mjs → node/esm/BSr44CFvujt_XEqQ.mjs} +1 -1
  65. package/{browser/esm/J3NpGGoFL3GSkKtL.mjs → node/esm/BW7RBbJWOyc8XVol.mjs} +1 -1
  66. package/node/esm/{wV9d-D720E5iTgiZ.mjs → BXkZuQ-0lXmV1EIN.mjs} +1 -1
  67. package/node/esm/{prPoJqjwvMP6Jp2d.mjs → ByG-blWLsit1vu-b.mjs} +1 -1
  68. package/node/esm/{DjPbGw1XZovJY0Zg.mjs → BysJqet7b2YMN6kV.mjs} +1 -1
  69. package/node/esm/{DYfoyGfCcVCiIKnt.mjs → C6CzYcWcgSF60FQh.mjs} +1 -1
  70. package/node/esm/{CaqXgkKRzOaBYS5l.mjs → CBEEVLGu7m369zSR.mjs} +1 -1
  71. package/node/esm/{BuYYH9m6plNJbK9h.mjs → CD9GGigM6jXuYSS8.mjs} +1 -1
  72. package/node/esm/{CyhB8oFUOUD-3j5G.mjs → CGWHAItceXFlvwC8.mjs} +1 -1
  73. package/node/esm/{-1R9Gmxjsic9GZ8C.mjs → CQ9dBF9qXvcfB4QN.mjs} +1 -1
  74. package/node/esm/{BdxiWApp1wAGXbrK.mjs → CSi4kx--AQTJXWKa.mjs} +1 -1
  75. package/node/esm/{CKJvZ3k1v8ETXIis.mjs → CUoxGi8s6L-kzIKs.mjs} +1 -1
  76. package/{browser/esm/Dxnxz6lv6UME8Ux1.mjs → node/esm/ClK01MZAe1HZTl4g.mjs} +1 -1
  77. package/{browser/esm/Cm8dJb5cBI3nxWVq.mjs → node/esm/CnYUuciMeOJ7pmMb.mjs} +1 -1
  78. package/{browser/esm/BIjdS2MKSEYAdAsu.mjs → node/esm/CqsQGdokIfRXHM31.mjs} +1 -1
  79. package/node/esm/{BmNSNMSshOeynT5V.mjs → DjTcXf0TcxIWNzvf.mjs} +1 -1
  80. package/{browser/esm/CAegSu4ZPuPArotE.mjs → node/esm/VUsxt3O40sPqPww_.mjs} +1 -1
  81. package/node/esm/{BojveOtmE7xMbPtQ.mjs → daDckEMoiAicWOsM.mjs} +1 -1
  82. package/node/esm/index.mjs +683 -679
  83. package/package.json +4 -4
  84. package/types/index.d.ts +4 -0
  85. package/types/scripting.d.ts +4 -0
  86. package/browser/cjs/CiR2qyYiwsFx9ldH.cjs +0 -54
  87. package/browser/esm/DPjkihAePf1X1MvT.mjs +0 -23107
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.10
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -18,8 +18,8 @@ const M = (t2, e2) => {
18
18
  e2.get(r2) !== t3 && n2.set(r2, t3);
19
19
  }), n2;
20
20
  };
21
- let T = false;
22
- class N {
21
+ let N = false;
22
+ class T {
23
23
  constructor(t2) {
24
24
  this._record = t2;
25
25
  }
@@ -44,15 +44,15 @@ class N {
44
44
  }
45
45
  class k {
46
46
  constructor(t2) {
47
- this._listeners = /* @__PURE__ */ new Set(), this._listenersState = /* @__PURE__ */ new Map(), this._commits = /* @__PURE__ */ new Map(), this._locked = false, this._current = null, this._pending = null, this._isSync = t2?.sync ?? T, this._isTransient = t2?.transient ?? false, this._author = t2?.author;
48
- const e2 = { id: "0", description: "initial", meta: {}, author: this._author, timestamp: Date.now(), states: /* @__PURE__ */ new Map(), version: 0, previousId: null }, n2 = { record: e2, commit: new N(e2) };
47
+ this._listeners = /* @__PURE__ */ new Set(), this._listenersState = /* @__PURE__ */ new Map(), this._commits = /* @__PURE__ */ new Map(), this._locked = false, this._current = null, this._pending = null, this._isSync = t2?.sync ?? N, this._isTransient = t2?.transient ?? false, this._author = t2?.author;
48
+ const e2 = { id: "0", description: "initial", meta: {}, author: this._author, timestamp: Date.now(), states: /* @__PURE__ */ new Map(), version: 0, previousId: null }, n2 = { record: e2, commit: new T(e2) };
49
49
  this._current = n2, this._cacheModel = null, this._cacheState = null, this._states = e2.states, this._transactionStack = [], this._transactionOpen = false;
50
50
  const r2 = /* @__PURE__ */ new Map();
51
51
  r2.set(e2.id, n2), this._commits = r2;
52
52
  }
53
53
  static {
54
54
  this.setDefaultSync = (t2) => {
55
- T = t2;
55
+ N = t2;
56
56
  };
57
57
  }
58
58
  getLog(t2, e2 = 100) {
@@ -132,7 +132,7 @@ class k {
132
132
  };
133
133
  let l2;
134
134
  if (0 === n2.length) {
135
- const e3 = this._current.record, n3 = { states: /* @__PURE__ */ new Map(), id: o.uuidV4(), description: "string" == typeof t2 ? t2 : t2?.description ?? null, meta: {}, timestamp: Date.now(), author: null, version: e3.version + 1, previousId: e3.id, viewBefore: null, viewAfter: {}, operation: t2?.operation }, r3 = { record: n3, commit: new N(n3) };
135
+ const e3 = this._current.record, n3 = { states: /* @__PURE__ */ new Map(), id: o.uuidV4(), description: "string" == typeof t2 ? t2 : t2?.description ?? null, meta: {}, timestamp: Date.now(), author: null, version: e3.version + 1, previousId: e3.id, viewBefore: null, viewAfter: {}, operation: t2?.operation }, r3 = { record: n3, commit: new T(n3) };
136
136
  this._pending = r3, this._notify("onCommitStart", r3.commit), l2 = new O(this, r3, e3?.states, t2, a2);
137
137
  } else {
138
138
  l2 = n2[n2.length - 1].beginTransaction(t2, a2);
@@ -358,7 +358,7 @@ class D extends F {
358
358
  }), this._parent._removeChild(this), this._closed = true, this._onClose?.(this, true, null), this._parent ?? this;
359
359
  }
360
360
  }
361
- class L extends s {
361
+ class B extends s {
362
362
  constructor(t2, e2 = 50) {
363
363
  super(e2), this._transactions = t2;
364
364
  const n2 = this;
@@ -375,9 +375,9 @@ class L extends s {
375
375
  this._removeLister();
376
376
  }
377
377
  }
378
- const B = () => {
378
+ const L = () => {
379
379
  try {
380
- return "0.6.10";
380
+ return "0.6.11";
381
381
  } catch (t2) {
382
382
  return "";
383
383
  }
@@ -387,8 +387,8 @@ const B = () => {
387
387
  } catch (t2) {
388
388
  return "";
389
389
  }
390
- }, getBuildVersion: B }, Symbol.toStringTag, { value: "Module" })), z = "\n███████╗██╗ ██╗███████╗███████╗████████╗ ██╗ ██╗██╗\n██╔════╝██║ ██║██╔════╝██╔════╝╚══██╔══╝ ╚██╗██╔╝██║\n███████╗███████║█████╗ █████╗ ██║ ╚███╔╝ ██║\n╚════██║██╔══██║██╔══╝ ██╔══╝ ██║ ██╔██╗ ██║\n███████║██║ ██║███████╗███████╗ ██║ ██╔╝ ██╗███████╗\n╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝", W = `
391
- https://www.sheetxl.com ${B()}`, H = "#1976d2", V = "#FFA726", j = Object.freeze(Object.defineProperty({ __proto__: null, generateNodeId: async () => {
390
+ }, getBuildVersion: L }, Symbol.toStringTag, { value: "Module" })), z = "\n███████╗██╗ ██╗███████╗███████╗████████╗ ██╗ ██╗██╗\n██╔════╝██║ ██║██╔════╝██╔════╝╚══██╔══╝ ╚██╗██╔╝██║\n███████╗███████║█████╗ █████╗ ██║ ╚███╔╝ ██║\n╚════██║██╔══██║██╔══╝ ██╔══╝ ██║ ██╔██╗ ██║\n███████║██║ ██║███████╗███████╗ ██║ ██╔╝ ██╗███████╗\n╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝", W = `
391
+ https://www.sheetxl.com ${L()}`, H = "#1976d2", V = "#FFA726", j = 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 */
@@ -456,161 +456,143 @@ KeyFrom: '${t2.keyFrom()}'`, console.log(l2(o2))), Promise.resolve();
456
456
  for (let t4 = 0; t4 < r2.length; t4++) r2[t4].charCodeAt(0) <= n3 && (r2[t4] = String.fromCharCode((r2[t4].charCodeAt(0) + e3) % n3));
457
457
  return r2.join("");
458
458
  })(t2, n2 - e2), G = (t2) => "object" == typeof window ? window.atob(t2) : Buffer.from(t2, "base64").toString("ascii");
459
+ function U(t2, e2, n2, r2, o2) {
460
+ return ot(o2 - 213, n2);
461
+ }
462
+ function J(t2, e2, n2, r2, o2) {
463
+ return ot(o2 - 672, e2);
464
+ }
465
+ function q(t2, e2, n2, r2, o2) {
466
+ return ot(r2 - 165, t2);
467
+ }
459
468
  !(function() {
460
- const t2 = 859, e2 = "YT8!", n2 = 593, r2 = 768, o2 = "^h(m", s2 = 1044, i2 = 636, a2 = "]rEn", l2 = 914, c2 = "U^A1", h2 = 901, d2 = 707, u2 = et();
461
- function g2(t3, e3, n3, r3, o3) {
462
- return Z(n3 - d2, t3);
463
- }
469
+ const t2 = 1126, e2 = "rc69", n2 = 1399, r2 = "tLJ5", o2 = 1226, s2 = 1064, i2 = 790, a2 = "znmB", l2 = 1306, c2 = "0w]M", h2 = "NeJ4", d2 = 373, u2 = 887, g2 = 728;
464
470
  function m2(t3, e3, n3, r3, o3) {
465
- return Z(r3 - 518, t3);
471
+ return ot(e3 - g2, n3);
466
472
  }
467
473
  function f2(t3, e3, n3, r3, o3) {
468
- return Z(r3 - 286, e3);
474
+ return ot(r3 - u2, n3);
469
475
  }
470
- function p2(t3, e3, n3, r3, o3) {
471
- return Z(r3 - 645, t3);
476
+ const p2 = rt();
477
+ function _2(t3, e3, n3, r3, o3) {
478
+ return ot(n3 - 698, r3);
479
+ }
480
+ function S2(t3, e3, n3, r3, o3) {
481
+ return ot(o3 - 790, t3);
482
+ }
483
+ function w2(t3, e3, n3, r3, o3) {
484
+ return ot(r3 - d2, o3);
472
485
  }
473
486
  for (; ; ) try {
474
- if (401252 === -parseInt(m2("&sIl", 0, 0, t2)) / 1 + -parseInt(m2(e2, 0, 0, 778)) / 2 + parseInt(f2(0, "Ijrg", 0, n2)) / 3 * (parseInt(m2("(H#@", 0, 0, r2)) / 4) + parseInt(p2(o2, 0, 0, s2)) / 5 + -parseInt(f2(0, "DYpU", 0, i2)) / 6 + -parseInt(p2(a2, 0, 0, l2)) / 7 + parseInt(g2(c2, 0, 1010)) / 8 * (parseInt(p2("vr$&", 0, 0, h2)) / 9)) break;
475
- u2.push(u2.shift());
487
+ if (885896 === parseInt(m2(0, t2, e2)) / 1 + parseInt(_2(0, 0, 1038, "y4Rq")) / 2 * (parseInt(f2(0, 0, "as$j", 1371)) / 3) + -parseInt(f2(0, 0, "6e]*", n2)) / 4 * (parseInt(S2(r2, 0, 0, 0, o2)) / 5) + -parseInt(_2(0, 0, s2, "FtQ&")) / 6 * (-parseInt(w2(0, 0, 0, i2, a2)) / 7) + parseInt(S2("NeJ4", 0, 0, 0, l2)) / 8 * (parseInt(_2(0, 0, 1188, "!QhC")) / 9) + -parseInt(w2(0, 0, 0, 761, c2)) / 10 * (parseInt(m2(0, 1079, h2)) / 11) + -parseInt(S2("Dp1s", 0, 0, 0, 1287)) / 12) break;
488
+ p2.push(p2.shift());
476
489
  } catch (t3) {
477
- u2.push(u2.shift());
490
+ p2.push(p2.shift());
478
491
  }
479
492
  })();
480
- const U = () => {
481
- const t2 = 759, e2 = 687, n2 = 420;
482
- if (typeof window === r2(670, 692, "fwEv", 763)) return window[r2(837, 710, "8FLz", t2)][r2(657, 677, "&sIl", e2)];
483
- function r2(t3, e3, r3, o2, s3) {
484
- return Z(o2 - n2, r3);
485
- }
486
- return o[s2 = "vzV2", i2 = -454, Z(i2 - -844, s2)]();
487
- var s2, i2;
488
- }, J = () => {
489
- const t2 = "fTBS", e2 = 1031, n2 = "jD#z";
493
+ const K = () => {
494
+ const t2 = 1028, e2 = 1e3, n2 = 1152, r2 = 1075, s2 = 1141, i2 = 1099, a2 = "FwfC", l2 = "hoT)", c2 = 652;
495
+ if (typeof window === ot(-267 - -641, "w0Pw")) return window[u2(1114, t2, 970, e2, "!QhC")][u2(n2, r2, s2, i2, a2)];
496
+ var h2, d2;
497
+ function u2(t3, e3, n3, r3, o2) {
498
+ return ot(e3 - c2, o2);
499
+ }
500
+ return o[h2 = 1363, d2 = l2, ot(h2 - 872, d2)]();
501
+ }, X = () => {
502
+ const t2 = 1339, e2 = "CSJl", n2 = 1230;
490
503
  function r2(t3, e3, n3, r3, o2) {
491
- return Z(e3 - 658, t3);
492
- }
493
- return U()[r2(t2, 894)](r2("(H#@", e2)) || U() === r2(n2, 903);
494
- }, q = (t2) => {
495
- const e2 = 259, n2 = 303, r2 = 251, s2 = 411, i2 = 310, a2 = 333, l2 = 273, c2 = 313, h2 = 888, d2 = 837, u2 = "KYOn", g2 = 889, m2 = 763, f2 = 604;
496
- function p2(t3, e3, n3, r3, o2) {
497
- return Z(t3 - 397, e3);
498
- }
499
- let _2 = o[w2(318, 479, "IvN&", 491, 394)];
500
- if (J() || o[w2(336, e2, "Ypua", n2, r2)]()) {
501
- const t3 = P[w2(s2, i2, "8FLz", 249, a2)](), e3 = new Date(t3), n3 = /* @__PURE__ */ new Date(), r3 = 864e5;
502
- Math[p2(782, "(H#@")]((n3[w2(344, l2, "7]IL", 325, c2)]() - e3[p2(755, "jD&4")]()) / r3) >= 120 && (_2 = [S2(h2, d2, u2, g2)]);
503
- } else _2 = [];
504
- function S2(t3, e3, n3, r3, o2) {
505
- return Z(r3 - f2, n3);
506
- }
507
- function w2(t3, e3, n3, r3, o2) {
508
- return Z(o2 - 31, n3);
509
- }
510
- function y2(t3, e3, n3, r3, o2) {
511
- return Z(e3 - -334, n3);
512
- }
513
- return { licensee: () => y2(0, 21, "jD&4"), expiration: () => null, domains: () => [U()], developerCount: () => 1, cpuCount: () => 0, type: () => y2(0, -39, "uWu!"), isEval: () => true, exceptions: () => _2, isValidFor: () => 0 === _2[y2(0, -1, "IhbX")], isValid: () => false, features: () => Object[S2(0, 0, "^h(m", 965)]({}), keyFrom: () => t2, getBuildVersion: P[p2(m2, "jD#z")], getBuildDate: P[w2(0, 0, "L4RS", 0, 324)] };
514
- };
515
- function K(t2, e2, n2, r2, o2) {
516
- return Z(r2 - 628, o2);
517
- }
518
- const X = { promise: null, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
519
- let Y = false, Q = false;
520
- function Z(t2, e2) {
521
- const n2 = et();
522
- return Z = function(e3, r2) {
523
- let o2 = n2[e3 -= 219];
524
- if (void 0 === Z.NZWAOA) {
525
- const e4 = function(t3, e5) {
526
- let n3, r3, o3 = [], s3 = 0, i3 = "";
527
- for (t3 = (function(t4) {
528
- let e6 = "", n4 = "";
529
- 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);
530
- for (let t5 = 0, r4 = e6.length; t5 < r4; t5++) n4 += "%" + ("00" + e6.charCodeAt(t5).toString(16)).slice(-2);
531
- return decodeURIComponent(n4);
532
- })(t3), r3 = 0; r3 < 256; r3++) o3[r3] = r3;
533
- 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;
534
- r3 = 0, s3 = 0;
535
- 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]);
536
- return i3;
537
- };
538
- Z.AKqjKE = e4, t2 = arguments, Z.NZWAOA = true;
539
- }
540
- const s2 = e3 + n2[0], i2 = t2[s2];
541
- return i2 ? o2 = i2 : (void 0 === Z.LyzfmQ && (Z.LyzfmQ = true), o2 = Z.AKqjKE(o2, r2), t2[s2] = o2), o2;
542
- }, Z(t2, e2);
543
- }
544
- function tt(t2, e2, n2, r2, o2) {
545
- return Z(n2 - -816, r2);
546
- }
547
- function et() {
548
- const t2 = ["WPxdM8kBW4ufvgf0WRWUWQuoW48Gx0baxG", "oSoVhSkgbtK", "xYlcQLr1vSkIWPVdQSoRlszgW7RcQGP2W7Pefq", "lv5FlmkeWOtdRSkzpmkC", "W4tdSmk+emolif1RW50hd8o2W68", "WQZdPCoFW7xcPCkFWRvTb3NdKSoaWQS", "W7/cS8kCWO7dPCoaW6fAeMZdJmoQ", "WPuRWRBcSa", "WRxcSqhcPr7cOaVcJSo3W680lCoT", "WQrHWOlcR3Gqea", "W6mXW57dRYrUmwpdMdWdEa", "WOrsjxdcRwNcQa", "hCkQCSkmvJlcRmogWPWZfa", "W59kWP/cIaWCW4fyW7xcL8ouWRxdNru1FSksEW", "WPyVWRlcUv8Z", "iLHsl8kdWPddMmkMnSkxDq", "W71zWORcSbaqW5a", "naSVECkRW6hcMSojtxtcSSkM", "u3ncovBdNZG", "W7NcQSonxXtcHq", "iXJcVb0QyCkUW4zCW44", "W4SEWOdcUmkLWQRcISkgwh4", "WOJcO8kLoL5T", "ExKwm1RdIG", "WOPeb1pcTgNcOgVcICoYp8oSjX7dRq", "W5pdJCkTWQ5reW", "WRRdHmkAcdD2bW4", "W4P7BYBcUM7cOCoSW7i", "WPpcUXZcLMdcJSkOW7ldImke", "W44/qmkeAW", "q2tdV8k+W4LodrHNWRW", "bcy5W4WRdmowW4NcQq", "DLX1pmo5WPpcNG", "bmoBoCo7WOlcU0X8atnJWP/dQ0unkqTgCW", "W5BdKmk/WRnqqa", "kSk9W5ldNSkGWRxdNqLkWQTmW5FdJG", "W55RpuJcL2pcUa", "WPW4WRNcU1e+", "kYy3W4aYcSoqW47cPa", "WOJcO8kUi1TK", "WPdcSrRcLMRcNW", "ibNcRGC", "fmori8oeWOtcTeXfgYjaWRtdVq", "dIu1W4i1", "WOCyW5XqpKLqj3O", "WQSVW4hdPWKtf8kSW4T9f8k5", "vJ1SgSopWOrt", "ymklWQ3dKmk7WQBdHG", "W4hdTmkKmCo9", "W4vTvsRcTIm", "WOBcTCkoku1GW6qpW5BcG08DW6FcHa", "W7NdOCkIf8oajK94W5OhhSoH", "Dub8W5bkW5hcPKNdT2ZcK1BcNq", "q3K+gHSb", "WRVdKmkzW6yCvgKWWP03WQec", "WOtcVSkw", "W7nOEINcUYldP8k2WRG", "WQZdR8kAcvZdMqbCWORcL0tdN8oz", "D8kCWQZdMmkGWRtdLYRcPSkVvH9+za", "WR4IW41wje9AcW", "vsNcVKPhlCoxemk6m8odD1TIb8obW6m7hq", "W7RdO8oVws0FWOpdVWG", "muvvj8kE", "WPRcPHhcLgtcKG", "zeS+k8kpWQOlWQBdHCohAqaXfa", "W5edWOlcPCkYWP8", "WQ4RW5VdIXKik8k6W6zYf8k5W5C", "dXRcVam3DSkyW5Tn", "naNcQq43FSkk", "F8kBACoWCtmPWRy", "WQZdLmkifa", "e8oBg8oNWO7cTKvolcz/WRtdL2iqnrDc", "FIxcQwTmkSotwCkZoa", "W7RdJmoTqIWF", "W7npWQJcHruuW5e", "WRldJSkFgqTG", "WRxdHSkJW4Snwa", "W6ddLmkqiSkpa8oVW7xcH8oTAGtdOa", "z8owAs1MoW", "W5BdImo+wtyyWRVdIspcRW", "rh3dSSk1W5XinavGWQhcU8oicW", "a8ori8oPWOtcU1O", "wYPWoCohWO4", "WRFcUCoDWRNcUSoRlLu", "W5dcSSotWO1hq8o4W7HbqG", "W6xdKmkkb8kpca", "W7nbAZFcVtldQCkDWOi", "W7ddJSkeWORcLYbcArNdHIukWRJdMmkE", "W5ldO8k5eW", "hGpdVqm3CCkCW4fBW4nWCSoBBCk3wN7cN8kP", "WOVcUCoAWPpcU8oQbetcOSkDvmkzna", "a8ori8oPWOtcU1P7gI5LWQxdOxi", "cmk2F8krDrNcUCoa", "WQfOWOVcV2KUcNpdOtGhuwPAWRhcNcZcP8kW", "FsJdPfDUuW", "WPhcPCktja", "WOdcPMpdP8k9W6uXAuxcVSoIWQr6sa", "WPm6W4FdJbiooCkPW6fYbSkU", "W6GwW4pdT8k3WOBdOG", "vmkAlCoMxIO0WQZcUvyao8kC", "WR5PWO3cV3mLa0K", "W5Wtrd/dSs7dVchdRG", "W4ioWO8fba", "WQKYW4xdJa4d", "W7hcPCk+WQ3dVmoaW6K", "v3K+eWSrcmo4qLtdQ8k/W4P3WQi", "wx9SWPTWu8klW6lcNSoavmkPW5G", "kCk9W5hdHG", "nCkHW4hdI8k8WQpdIZf/WQa", "DIJdVNr/t8kIWPVdQmoR", "WQGLW5JdHbuuca", "nXCXWQ4rWOBdS1tdLfVcIvhcPG", "eYZcPCoJWO8cdtHbWONcM8ob", "rg4Jmbi", "W409q8kaDSo0WO8", "WRWIW5HdoffmkfC8W5ZcTSoTWPq", "as5Zy0XmvmoVrgpdImkUW6e", "W4xcUmoFWOvErmo0", "cSo9bSkkcdLezSoDWOOUWRz3", "WOBcTGZcMW", "c8oroCoVWPNcVW", "W73cRSkyWQxdOSoq", "t0qMjmkgWRe/W7tdImogCaq8", "WOZcRgtdSSk6W6GVxa", "W4FcOmkjWQddUConW6XkmW", "WOL5gSoDkmkZWPHrWRRcSmo+W6G", "napcSa43Fmkk", "W5hdVCk7cCk+kCoZW5JcOSokxstdISoWW4XgWO3cGmk8", "WOrspx7cPwu", "WRVdKmkzW6amswq9WRuL", "WRVdHmkppJDTdHNdH0xdLxvDWPVdSq", "W4/dOSkEeCoknW", "WRBcU1ffrmon", "WPBcK8oSW7qxcSkAggTDWQJcIXS", "W53dG8kFimkdfCoEW7pcIW", "WOBcSrBcNwtcVSkKW6NdH8kEW53cUq", "cCk9B8kdsXZcVSo4WOa/cgNdH0S", "x8kdBmoVbHy0WR3cVuWAmCosa0ZcVa", "W5lcR8oeWRXEwSo0", "qmobbmolWRhcOSkZoSkFArTDE1GTpa", "WQThWPBcUSoKW7JdVCkLf3a9ma", "AfmPjSkwWQiBW6/dJSogjbe9chpdRWePjCofWP7cKSo7fwu", "nZ87W4eUamoyW47cUa", "wt1HpCouWODnW6ueWQBdVmk4W59u", "W5yBWPCIh0yoWPtdRW", "W4ehW53dQ8k8WRtdLSklmvGmlG", "WQWIW5rw", "W5xdLSkXWQPmqmok", "AtxcRKC", "W4T7BWFcPY/dQSkMWPNdLSkdWOG", "W6JdSxpdQKRdUG", "W7ldNCkrWQq", "W6BdP0ldMe7dOLlcTmokW6G", "W7VdJSkEWQ/cLIe", "W7BcKWNcPSo8W5DsrbTgexbd", "W4fRW6hdQHjHbXqVtZBdHSoT", "oqlcQW4YE8kD", "oCoOgSkeeIu", "wJ1HhSoiWOjsW5eYWQ7dPSkP", "cCkxkqPBjmkKDCky", "WPddImkygsX3b13dV0/dKYzcWPxdSYGUWPpdKmkkCCoxfCoueJKnFmoX", "W5BdO8k5emoAfMHTW5uaf8oG", "W5zFrsaSWOXiD0lcJ8k6WP5dW6q", "W6/dQ8k1jrrNfG", "W7SAW47dQ8k+W6a", "yJNdQ0jUsmkuWPVdSmoW", "W6tdULxdUvVdOLRcSSoiW6G", "WQvHWP3cIM8/cfJdQdu", "EmohndtdT8ovWQiUycFcG8kPW4fLWRL8oSk0rG7cG8k3b15UWOqd", "W6xdJSkdWQFcJJ9l", "WRNdJCkDW40Bra", "vhNdUmkUW5PF", "W5dcPmogWR5wrq", "W5edWOlcPCkYWP/cUSkvv2NcUKG", "WOmPWRBcRLeLyIuysa", "W5XSDcJcUZxdOW", "W7tcVCorFbZcJ1G", "zuXKWRjpW4RcT0ldOwhcQW", "W6i/xSkeCCoZ", "WOfofa", "WOuKW4pdHbath8oOW6n1amk5W50Xf8kAWOSgW4/dJq", "WOX6DcdcOwBdQmkTWQNcL8kAWOXoiM/cGW", "FmkqWQhdMmk8WQBdHGtcJCk5", "W7ZcS8kEWQNdVmogW71Bje7dL8o6WQlcHa", "tmoFAYe", "Amo5WPddOmkbWRVdUX1B", "W6BdKmkklCkdhComW5FcNmoQCbxdOCoh", "wSohDsPTpCkHymkWnmkGWRi9", "xvCHjmkxWOeoW6JdJ8onDG", "W4NdMCoXtdyd", "WRddHmkvgZzS", "WOpdL8kAecTGaWNdTa", "W50xWOajhLeoWPBdRKK", "W5nsWOJcHruuW5erW7BcKmkxWPZdMGu1mmkkE3hdSW", "WP5jfNtcTxJcOa", "utD2pCojWOjrW5S", "W40/W6RdH8kgWPJdMa", "W5xdSIFcS8oTWRevDMlcUSoRWPW"];
549
- return (et = function() {
550
- return t2;
551
- })();
552
- }
553
- const nt = tt(0, 0, -495, "3#eE")[ot("]rEn", 719, 771)]("")[it("vr$&", -541, -478)]((t2, e2) => e2 + t2, "");
554
- class rt {
504
+ return ot(n3 - 818, e3);
505
+ }
506
+ return K()[r2(0, "pku2", t2)](r2(0, e2, n2)) || K() === ot(-220 - -705, "pku2");
507
+ }, Y = (t2) => {
508
+ const e2 = 75, n2 = 143, r2 = 743, s2 = "y4Rq", i2 = "FwfC", a2 = 96, l2 = "Dp1s", c2 = "f5PS", h2 = 360;
509
+ function d2(t3, e3, n3, r3, o2) {
510
+ return ot(n3 - -945, e3);
511
+ }
512
+ function u2(t3, e3, n3, r3, o2) {
513
+ return ot(o2 - -419, e3);
514
+ }
515
+ function g2(t3, e3, n3, r3, o2) {
516
+ return ot(e3 - -268, o2);
517
+ }
518
+ let m2 = o[d2(0, ")*Ew", -492)];
519
+ if (X() || o[g2(0, e2, 0, 0, "hoT)")]()) {
520
+ const t3 = P[g2(0, n2, 0, 0, "0w]M")](), e3 = new Date(t3), o2 = /* @__PURE__ */ new Date(), c3 = 864e5;
521
+ Math[f2(r2, 754, 729, "tLJ5")]((o2[d2(0, s2, -582)]() - e3[u2(0, i2, 0, 0, a2)]()) / c3) >= 120 && (m2 = [g2(0, 226, 0, 0, l2)]);
522
+ } else m2 = [];
523
+ function f2(t3, e3, n3, r3, o2) {
524
+ return ot(n3 - h2, r3);
525
+ }
526
+ return { licensee: () => d2(0, "V*h[", -562), expiration: () => null, domains: () => [K()], developerCount: () => 1, cpuCount: () => 0, type: () => u2(0, "utgK", 0, 0, 88), isEval: () => true, exceptions: () => m2, isValidFor: () => 0 === m2[g2(0, 57, 0, 0, "6e]*")], isValid: () => false, features: () => {
527
+ return Object[t3 = 1178, e3 = "w0Pw", ot(t3 - 709, e3)]({});
528
+ var t3, e3;
529
+ }, keyFrom: () => t2, getBuildVersion: P[d2(0, c2, -614)], getBuildDate: P[f2(0, 0, 808, "NJ[J")] };
530
+ }, Q = { promise: null, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
531
+ let Z = false, tt = false;
532
+ const et = J(0, "Dp1s", 0, 0, 1021)[J(0, "FtQ&", 0, 0, 1079)]("")[q("Ho94", 0, 0, 616)]((t2, e2) => e2 + t2, "");
533
+ class nt {
555
534
  constructor() {
556
- const t2 = "Cj8n", e2 = 1203;
557
- var n2, r2, o2, s2;
558
- this[o2 = "6Cdj", s2 = -355, it(o2, o2 - 204, s2 - 52)][n2 = 761, r2 = t2, it(r2, n2 - 295, n2 - e2)] = null;
535
+ const t2 = "vy!x", e2 = 883, n2 = 310;
536
+ var r2, o2, s2, i2;
537
+ this[s2 = "BVPz", i2 = 930, J(0, s2, 0, 0, i2 - -241)][r2 = t2, o2 = e2, q(r2, 0, 0, o2 - n2)] = null;
559
538
  }
560
- async [it("3#eE", -315, -399)](t2, e2 = false) {
561
- const n2 = 157, r2 = 216, s2 = "JqVN", i2 = 838, a2 = 597, l2 = 629, c2 = 479, h2 = 763, d2 = 734, u2 = "#abK", g2 = 258, m2 = 626, f2 = 816, p2 = 748, _2 = "yrLO", S2 = 715, w2 = 799, y2 = "Ijrg", E2 = 182, C2 = 894, b2 = 968, v2 = "NAeO", x2 = 6, I2 = 86, R2 = 762, A2 = "yD90", M2 = 829, T2 = "yD90", N2 = 443, k2 = 175, F2 = "]Sp7", O2 = 513, D2 = "NAeO", L2 = "YT8!", B2 = 840, P2 = 798, z2 = "jD&4", W2 = 167, H2 = 1261, V2 = 51;
562
- if (!t2 || t2[U2(609, "IhbX", 699, 668)]($2(133, n2, 71, r2, "]4Jb")) || t2[K2(848, 903, s2)](K2(i2, 926, "2&&4")) || t2[G2(a2, l2, c2, "JqVN", 536)](U2(h2, "YT8!", d2, 702)) || t2[J2(-282, u2, -299, -207, -258)](G2(m2, 472, 531, s2, 567))) return Y = true, await this[K2(f2, 757, "(H#@")](true);
563
- if (Y = false, !e2 && X[U2(p2, _2, S2, 790)]) {
564
- const t3 = await this[K2(865, w2, y2)]();
565
- if (t3[$2(E2, g2, 134, 163, "jD&4")]() && !t3[K2(C2, b2, v2)]()) return t3;
539
+ async [U(0, 0, "hoT)", 0, 638)](t2, e2 = false) {
540
+ const n2 = 249, r2 = "CSJl", s2 = 147, i2 = 116, a2 = 1185, l2 = "ub5Z", c2 = "LSwT", h2 = 2, d2 = "r^k&", u2 = 1090, g2 = "*OUS", m2 = 1124, f2 = 280, p2 = 230, _2 = 920, S2 = 344, w2 = 294, y2 = "f5PS", E2 = 1125, C2 = "r^k&", b2 = 191, v2 = "4NjS", x2 = "zVDv", I2 = "tLJ5", R2 = "NJ[J", A2 = 245, M2 = 51, N2 = "U7uu", T2 = 267, k2 = 344, F2 = 493, O2 = 20, D2 = 479;
541
+ if (!t2 || t2[H2(307, 325, 349, 384, "NeJ4")](H2(n2, 229, 305, 315, r2)) || t2[L2(s2, "g(BI", 178)](W2(108, i2, 69, 90, "rc69")) || t2[B2(a2, l2, 1202, 1116)](z2(-602, c2, -628, -624, -579)) || t2[W2(70, 54, 94, h2, d2)](B2(u2, g2, m2, 1124))) return Z = true, await this[B2(887, "w0Pw", 949, 989)](true);
542
+ function B2(t3, e3, n3, r3, o2) {
543
+ return it(t3 - O2, e3 - D2, r3 - -165, e3);
566
544
  }
567
- function $2(t3, e3, n3, r3, o2) {
568
- return tt(0, 0, t3 - 582, o2);
545
+ if (Z = false, !e2 && Q[H2(337, f2, p2, 348, "Ho94")]) {
546
+ const t3 = await this[B2(_2, "vLoA", 0, 983)]();
547
+ if (t3[H2(409, S2, w2, 350, "pku2")]() && !t3[B2(1082, y2, 0, E2)]()) return t3;
569
548
  }
570
- function G2(t3, e3, n3, r3, o2) {
571
- return at(r3, e3 - V2, o2 - 337);
549
+ function L2(t3, e3, n3, r3, o2) {
550
+ return q(e3, 0, 0, t3 - -379);
572
551
  }
573
- function U2(t3, e3, n3, r3, o2) {
574
- return tt(0, 0, r3 - H2, e3);
552
+ Q[B2(895, C2, 0, 935)] = t2, Q[L2(b2, "pku2", 90)] = z2(-653, v2, -651, -609, -631), Q[z2(-539, "gDiz", -570, -707, -626)] = null, Q[z2(-622, x2, -552, -452, -540)] = null;
553
+ const P2 = await this[L2(201, I2)]();
554
+ if (!P2[z2(-619, "Zj4v", -611, -473, -528)]()) throw await this[z2(-559, R2, -444, -635, -544)](true), new Error(L2(A2, "pku2"));
555
+ function z2(t3, e3, n3, r3, o2) {
556
+ return it(t3 - k2, e3 - F2, o2 - -1740, e3);
575
557
  }
576
- function J2(t3, e3, n3, r3, o2) {
577
- return ot(e3, e3 - W2, o2 - -1020);
558
+ function W2(t3, e3, n3, r3, o2) {
559
+ return q(o2, 0, 0, t3 - -570);
578
560
  }
579
- X[$2(18, -17, -63, x2, "caCv")] = t2, X[$2(I2, 0, 0, 0, "^h(m")] = U2(R2, A2, 787, M2), X[G2(0, 399, 0, T2, N2)] = null, X[K2(788, 716, "]rEn")] = null;
580
- const q2 = await this[$2(k2, 0, 0, 0, "#abK")]();
581
- if (!q2[U2(0, F2, 0, 693)]()) throw await this[$2(88, 0, 0, 0, "]rEn")](true), new Error(G2(0, O2, 0, "PRyC", 542));
582
- function K2(t3, e3, n3, r3, o2) {
583
- return it(n3, e3 - 277, t3 - 1323);
561
+ function H2(t3, e3, n3, r3, o2) {
562
+ return J(0, o2, 0, 0, e3 - -808);
584
563
  }
585
- if (o[$2(147, 0, 0, 0, D2)]()) {
586
- await j[U2(0, L2, 0, B2)](t2, e2);
587
- if (!(await this[K2(P2, 866, "]Sp7")]())[U2(0, "jD#z", 0, 798)]()) throw await this[K2(937, 975, "IvN&")](true), new Error(J2(0, z2, 0, 0, -283));
564
+ if (o[L2(229, "ub5Z")]()) {
565
+ await j[H2(0, 305, 0, 0, "g(BI")](t2, e2);
566
+ if (!(await this[W2(M2, 0, 0, 0, N2)]())[L2(T2, "tLJ5")]()) throw await this[z2(-551, "FtQ&", 0, 0, -487)](true), new Error(W2(109, 0, 0, 0, "Zj4v"));
588
567
  }
589
- return q2;
568
+ return P2;
590
569
  }
591
- async [K(0, 0, 0, 1026, "L4RS")](t2 = false) {
592
- const e2 = "L4RS", n2 = "7]IL", r2 = "IhbX", s2 = 912, i2 = "GrfN", a2 = 876, l2 = "2&&4", c2 = 793, h2 = 1338, d2 = 1337, u2 = 1323, g2 = 1275, m2 = "vWF3", f2 = 99, p2 = 987, _2 = 915, S2 = 1255, w2 = 1274, y2 = 1281, E2 = 1289, C2 = "jD#z", b2 = 46, v2 = 750, x2 = 819, I2 = "Cj8n", R2 = 814, A2 = 747, M2 = "yrLO", T2 = 859, N2 = 862, k2 = "]4Jb", F2 = "6Cdj", O2 = 713, D2 = 764, L2 = "nL3W", B2 = "JqVN", z2 = 881, W2 = 906, H2 = "il%0", V2 = 1295, K2 = 1318, et2 = "]OrR", rt2 = 1223, st2 = "Ypua", lt2 = 104, ct2 = 1359, ht2 = "vzV2", dt2 = "vr$&", ut2 = 883, gt2 = 903, mt2 = "]rEn", ft2 = 824, pt2 = "IhbX", _t2 = 11, St2 = 1765, wt2 = "7]IL", yt2 = "JqVN", Et2 = 405, Ct2 = 211, bt2 = 162, vt2 = 118;
593
- function xt2(t3, e3, n3, r3, o2) {
594
- return at(n3, e3 - 270, o2 - 621);
570
+ async [it(1176, 1204, 1137, "SGgd")](t2 = false) {
571
+ const e2 = 907, n2 = 700, r2 = "FwfC", s2 = "V@HE", i2 = 892, a2 = "w0Pw", l2 = 721, c2 = 717, h2 = "SGgd", d2 = "U7uu", u2 = 787, g2 = "ZEpk", m2 = "g(BI", f2 = "0w]M", p2 = 633, _2 = 158, S2 = "fR7&", w2 = 72, y2 = "vLoA", E2 = 756, C2 = 178, b2 = 490, v2 = 750, x2 = 709, I2 = "LSwT", R2 = 976, A2 = 944, M2 = 776, N2 = "Dp1s", T2 = "NeJ4", k2 = "znmB", F2 = "t([e", O2 = 688, D2 = "Mt8v", B2 = 1166, L2 = 1139, z2 = 423, W2 = 188;
572
+ if (Q[V2(-2, "hoT)", -72)]) return Q[V2(-202, ")*Ew", -142)];
573
+ function H2(t3, e3, n3, r3, o2) {
574
+ return at(r3 - W2, e3 - 366, t3);
595
575
  }
596
- if (X[At2(-263, -340, -229, e2)]) return X[At2(-321, -294, -223, n2)];
597
- if (!this[At2(-179, -102, -213, r2)][xt2(0, s2, i2, 0, a2)] && (this[Nt2(-150, "L4RS", -62)][At2(-340, -300, -372, l2)] = new Error("FV")), X[Nt2(-65, "7]IL", -31)]) return X[xt2(0, 876, "]4Jb", 0, c2)];
598
- let It2 = null;
599
- function Rt2(t3, e3, n3, r3, o2) {
600
- return ot(o2, e3 - bt2, n3 - vt2);
576
+ if (!this[V2(-237, "U7uu", -165)][V2(-119, "LSwT", -91)] && (this[lt2(-570, "utgK", -476, -659)][nt2(841, e2, "V*h[", 872)] = new Error("FV")), Q[it2(762, n2, 723, r2)]) return Q[lt2(-459, s2, -407, -536)];
577
+ function V2(t3, e3, n3, r3, o2) {
578
+ return q(e3, 0, 0, n3 - -702);
601
579
  }
602
- function At2(t3, e3, n3, r3, o2) {
603
- return it(r3, e3 - 385, t3 - Ct2);
580
+ let U2 = null;
581
+ function nt2(t3, e3, n3, r3, o2) {
582
+ return at(r3 - L2, e3 - z2, n3);
604
583
  }
605
- X[Ot2(1261, 1315, 1403, h2, "vWF3")] = new Promise((t3) => {
606
- It2 = t3;
584
+ Q[nt2(727, i2, a2, 811)] = new Promise((t3) => {
585
+ U2 = t3;
607
586
  });
608
- let Mt2, Tt2 = null;
609
- function Nt2(t3, e3, n3, r3, o2) {
610
- return at(e3, e3 - Et2, n3 - -173);
587
+ let rt2, st2 = null;
588
+ function it2(t3, e3, n3, r3, o2) {
589
+ return at(t3 - 966, e3 - 177, r3);
590
+ }
591
+ function lt2(t3, e3, n3, r3, o2) {
592
+ return J(0, e3, 0, 0, t3 - -1639);
611
593
  }
612
- const kt2 = async (t3, e3) => {
613
- const n3 = 223;
594
+ const ct2 = async (t3, e3) => {
595
+ const n3 = 1176;
614
596
  try {
615
597
  const l3 = ((t4) => {
616
598
  let e4 = t4;
@@ -625,204 +607,226 @@ class rt {
625
607
  throw new Error("Invalid license key.");
626
608
  }
627
609
  })(e3), c3 = ((t4, e4, n4) => {
628
- const r4 = "PRyC", o2 = "Ijrg", s4 = 283;
629
- function i4(t5, e5, n5, r5, o3) {
630
- return Z(n5 - -332, r5);
610
+ function r4(t5, e5, n5, r5, o3) {
611
+ return ot(o3 - -896, r5);
631
612
  }
632
- function a4(t5, e5, n5, r5, o3) {
633
- return Z(t5 - 282, n5);
613
+ function o2(t5, e5, n5, r5, o3) {
614
+ return ot(o3 - 496, e5);
634
615
  }
635
- function l4(t5, e5, n5, r5, o3) {
636
- return Z(e5 - -883, r5);
616
+ function s4(t5, e5, n5, r5, o3) {
617
+ return ot(n5 - 292, r5);
637
618
  }
638
- return { licensee: () => t4[i4(0, 0, -88, "Cj8n")], expiration: () => new Date(t4[l4(0, -636, 0, "PRyC")]), domains: () => t4[i4(0, 0, -62, "#abK")] ?? [], developerCount: () => t4[i4(0, 0, -5, "]Sp7")] ?? 1, cpuCount: () => t4[i4(0, 0, -105, "zc5$")] ?? 0, type: () => t4[l4(0, -555, 0, "U^A1")] ?? l4(0, -503, 0, "(H#@"), exceptions: () => e4, isValidFor: (t5) => {
639
- return !(e4?.[n5 = o2, r5 = -566, a4(r5 - -1182, 0, n5)] > 0);
640
- var n5, r5;
641
- }, isValid: () => true, isEval: () => false, features: () => Object[a4(508, 0, "8FLz")](t4[i4(0, 0, 36, "Ijrg")] ?? {}), keyFrom: () => n4, getBuildVersion: P[a4(513, 0, "uWu!")], getBuildDate: P[c4 = 670, h3 = r4, Z(c4 - s4, h3)] };
642
- var c4, h3;
619
+ return { licensee: () => t4[o2(0, "dJh$", 0, 0, 1018)], expiration: () => new Date(t4[s4(0, 0, 774, "U7uu")]), domains: () => t4[s4(0, 0, 702, "rc69")] ?? [], developerCount: () => t4[o2(0, "vy!x", 0, 0, 1019)] ?? 1, cpuCount: () => t4[r4(0, 0, 0, "utgK", -400)] ?? 0, type: () => t4[r4(0, 0, 0, "utgK", -428)] ?? o2(0, "!QhC", 0, 0, 1014), exceptions: () => e4, isValidFor: (t5) => {
620
+ const n5 = 106;
621
+ return !(e4?.[o3 = "pku2", s5 = -409, r4(0, 0, 0, o3, s5 - n5)] > 0);
622
+ var o3, s5;
623
+ }, isValid: () => true, isEval: () => false, features: () => Object[r4(0, 0, 0, "r^k&", -494)](t4[o2(0, "*OUS", 0, 0, 933)] ?? {}), keyFrom: () => n4, getBuildVersion: P[s4(0, 0, 625, "V@HE")], getBuildDate: P[s4(0, 0, 766, "utgK")] };
643
624
  })(l3, await (async (t4) => {
644
- const e4 = 88, n4 = 87, r4 = 111, s4 = "]Sp7", i4 = 456, a4 = 568, l4 = 660, c4 = 579, h3 = 473, d3 = 509, u3 = 476, g3 = 562, m3 = "NAeO", f3 = 654, p3 = 629, _3 = 655, S3 = "NAeO", w3 = 664, y3 = 684, E3 = 726, C3 = 103, b3 = 784, v3 = 581, x3 = 483, I3 = 523, R3 = 534, A3 = 593, M3 = 588, T3 = 603, N3 = 529, k3 = "WlFl", F3 = 661, O3 = 643, D3 = 659, L3 = "KYOn", B3 = 325, P2 = t4[$2(2, 46, 24, 93, "PRyC")];
645
- function z3(t5, e5, n5, r5, o2) {
646
- return Z(t5 - -487, o2);
625
+ const e4 = 1282, n4 = 1296, r4 = 436, s4 = "V@HE", i4 = 376, a4 = 473, l4 = 430, c4 = "ZEpk", h3 = "rc69", d3 = "BVPz", u3 = 1180, g3 = "znmB", m3 = 468, f3 = 1345, p3 = "ub5Z", _3 = 1306, S3 = 1323, w3 = "Er)c", y3 = "Myim", E3 = 1349, C3 = ")*Ew", b3 = 1320, v3 = "zVDv", x3 = 509, I3 = 1358, R3 = "Ho94", A3 = 571, M3 = "uPCF", N3 = 835, T3 = 80, k3 = 863, F3 = t4[D3(1224, 1253, 1226, "ZEpk")], O3 = t4[D3(1247, e4, n4, "tLJ5")] ? new Date(t4[P2(477, 362, r4, "rc69")]) : null;
626
+ function D3(t5, e5, n5, r5, o2) {
627
+ return ot(e5 - k3, r5);
647
628
  }
648
- const W3 = t4[$2(177, e4, n4, 153, "Ypua")] ? new Date(t4[$2(17, r4, 125, 104, s4)]) : null, H3 = t4[K3(498, i4, 524, "Ijrg")], V3 = [];
649
- function $2(t5, e5, n5, r5, o2) {
650
- return Z(r5 - -161, o2);
629
+ const B3 = t4[L3(s4, -261)];
630
+ function L3(t5, e5, n5, r5, o2) {
631
+ return ot(e5 - -670, t5);
651
632
  }
652
- function G2(t5, e5, n5, r5, o2) {
653
- return Z(o2 - 401, n5);
633
+ function P2(t5, e5, n5, r5, o2) {
634
+ return ot(n5 - T3, r5);
654
635
  }
655
- function q2(t5, e5, n5, r5, o2) {
656
- return Z(t5 - B3, n5);
636
+ const z3 = [];
637
+ function W3(t5, e5, n5, r5, o2) {
638
+ return ot(o2 - N3, n5);
657
639
  }
658
- if (W3 ? isNaN(W3) ? V3[q2(576, 0, "caCv")](K3(l4, c4, 551, "Ypua")) : W3 < /* @__PURE__ */ new Date() && V3[z3(-75, 0, 0, 0, "Ijrg")](z3(-85, 0, 0, 0, "WlFl") + W3[$2(0, 0, 0, 252, "yD90")]()) : V3[G2(0, 0, "#abK", 0, 784)](q2(a4, 0, "8L1u")), o[K3(h3, d3, 606, "jD#z")]()) {
659
- if (!H3) return V3[K3(505, u3, g3, m3)](G2(0, 0, "Ijrg", 0, 705)), V3;
660
- const t5 = await j[K3(f3, p3, _3, S3)]();
661
- t5 !== H3 && V3[G2(0, 0, "D[qe", 0, w3)](G2(0, 0, "Py)W", 0, y3) + H3 + G2(0, 0, "L4RS", 0, E3) + t5);
640
+ function H3(t5, e5, n5, r5, o2) {
641
+ return ot(o2 - 136, r5);
642
+ }
643
+ if (O3 ? isNaN(O3) ? z3[P2(0, 0, 547, "05[c")](L3("4NjS", -290)) : O3 < /* @__PURE__ */ new Date() && z3[P2(0, 0, 421, "FwfC")](L3(h3, -281) + O3[D3(0, 1326, 0, "rc69")]()) : z3[W3(0, 0, "Er)c", 0, 1295)](H3(i4, a4, l4, c4, 465)), o[W3(0, 0, d3, 0, u3)]()) {
644
+ if (!B3) return z3[H3(0, 0, 0, g3, m3)](W3(0, 0, "as$j", 0, f3)), z3;
645
+ const t5 = await j[W3(0, 0, p3, 0, _3)]();
646
+ t5 !== B3 && z3[D3(0, S3, 0, w3)](L3(y3, -221) + B3 + D3(0, E3, 0, C3) + t5);
662
647
  } else {
663
- if (J()) return V3;
664
- if (P2 && 0 !== P2[$2(0, 0, 0, C3, "yD90")]) {
648
+ if (X()) return z3;
649
+ if (F3 && 0 !== F3[D3(0, b3, 0, v3)]) {
665
650
  let t5 = false;
666
- const e5 = U();
667
- for (let n5 = 0; !t5 && n5 < P2[K3(I3, R3, A3, "uWu!")]; n5++) t5 = e5[K3(713, 648, M3, "8L1u")](P2[n5]);
668
- !t5 && V3[K3(T3, N3, 451, k3)](K3(F3, O3, D3, L3));
669
- } else V3[G2(0, 0, "#abK", 0, b3)](K3(599, v3, x3, "il%0"));
670
- }
671
- function K3(t5, e5, n5, r5, o2) {
672
- return Z(e5 - 237, r5);
651
+ const e5 = K();
652
+ for (let n5 = 0; !t5 && n5 < F3[D3(0, I3, 0, "f5PS")]; n5++) t5 = e5[H3(0, 0, 0, R3, A3)](F3[n5]);
653
+ !t5 && z3[P2(0, 0, 481, M3)](P2(0, 0, 479, "klDZ"));
654
+ } else z3[P2(0, 0, x3, "rc69")](L3("vLoA", -226));
673
655
  }
674
- return V3;
656
+ return z3;
675
657
  })(l3), t3);
676
- return c3[i3 = wt2, a3 = -75, At2(a3 - 279, i3 - 93, 0, i3)]()[r3 = 498, s3 = yt2, xt2(0, r3 - n3, s3, 0, r3 - -383)] > 0 && (Mt2 = c3), c3;
658
+ return c3[i3 = O2, a3 = D2, V2(0, a3, i3 - 838)]()[r3 = "ub5Z", s3 = B2, V2(0, r3, s3 - n3)] > 0 && (rt2 = c3), c3;
677
659
  } catch (e4) {
678
- Mt2 = ((t4) => {
679
- const e5 = 178;
680
- function n4(t5, n5, r5, o2, s4) {
681
- return Z(t5 - e5, s4);
682
- }
683
- function r4(t5, e6, n5, r5, o2) {
684
- return Z(t5 - -465, n5);
660
+ rt2 = ((t4) => {
661
+ const e5 = "ub5Z", n4 = 122, r4 = 953;
662
+ function o2(t5, e6, n5, r5, o3) {
663
+ return ot(e6 - -247, n5);
685
664
  }
686
- return { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => n4(478, 0, 0, 0, "#abK"), exceptions: () => {
687
- return [(e6 = "pgVZ", r5 = 456, n4(r5 - -34, 0, 0, 0, e6) + t4 + "'")];
688
- var e6, r5;
689
- }, isValidFor: (t5) => false, isValid: () => false, isEval: () => false, features: () => Object[n4(560, 0, 0, 0, "D[qe")]({}), keyFrom: () => t4, getBuildVersion: P[r4(-216, 0, "YT8!")], getBuildDate: P[r4(-117, 0, "]Sp7")] };
665
+ return { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => o2(0, 99, "Ho94"), exceptions: () => {
666
+ return [(e6 = "uPCF", n5 = r4, o2(0, n5 - 712, e6) + t4 + "'")];
667
+ var e6, n5;
668
+ }, isValidFor: (t5) => false, isValid: () => false, isEval: () => false, features: () => Object[o2(0, 217, "ZEpk")]({}), keyFrom: () => t4, getBuildVersion: P[a4 = "vy!x", l3 = 381, ot(l3 - 34, a4)], getBuildDate: P[s4 = e5, i4 = n4, ot(i4 - -309, s4)] };
669
+ var s4, i4, a4, l3;
690
670
  })(t3);
691
671
  }
692
672
  var r3, s3, i3, a3;
693
673
  };
694
- X[Ot2(1316, 1328, 1240, 1285, "nL3W")] && (Tt2 = await kt2(X[Ot2(1342, 1340, 1400, d2, "8FLz")], X[Ot2(1277, 1352, u2, g2, m2)]));
695
- let Ft2 = false;
696
- if (Y && (Ft2 = true, Tt2 = q(Nt2(0, "8L1u", -11))), !Tt2) {
697
- if (o[Nt2(0, "L4RS", f2)]()) {
698
- if (!Tt2) {
699
- const t3 = process[Rt2(0, p2, _2, 0, "NAeO")], e3 = t3[At2(-311, -212, 0, "K)M]")] || t3[Ot2(S2, w2, y2, E2, "2&&4")] || t3[Nt2(0, C2, b2)] || t3[Rt2(0, x2, 755, 0, I2)];
700
- e3 && (Tt2 = await kt2(At2(-266, -334, 0, "7]IL"), e3));
674
+ Q[lt2(-582, "V*h[")] && (st2 = await ct2(Q[it2(l2, c2, 0, h2)], Q[lt2(-554, d2)]));
675
+ let ht2 = false;
676
+ if (Z && (ht2 = true, st2 = Y(lt2(-535, "uPCF"))), !st2) {
677
+ if (o[it2(715, u2, 0, g2)]()) {
678
+ if (!st2) {
679
+ const t3 = process[lt2(-643, "FwfC")], e3 = t3[H2("zVDv", -281, 0, -197)] || t3[H2(m2, -47, 0, -88)] || t3[V2(0, "vLoA", -37)] || t3[H2("FwfC", -144, 0, -106)];
680
+ e3 && (st2 = await ct2(H2(f2, -194, 0, -99), e3));
701
681
  }
702
- if (!Tt2) {
703
- const t3 = await j[Rt2(0, R2, A2, 0, "K)M]")]();
704
- t3 && (Tt2 = await kt2(xt2(0, 790, M2, 0, T2), t3));
682
+ if (!st2) {
683
+ const t3 = await j[it2(724, p2, 0, "rc69")]();
684
+ t3 && (st2 = await ct2(it2(743, 739, 0, "pku2"), t3));
705
685
  }
706
- !Tt2 && (Ft2 = true);
686
+ !st2 && (ht2 = true);
707
687
  } else {
708
- if (!Tt2) try {
709
- const t3 = await fetch("./" + nt);
710
- let n3 = null;
711
- if (200 === t3[xt2(0, N2, k2, 0, 878)]) {
712
- const e3 = (await t3[xt2(0, 774, F2, 0, 792)]())[Rt2(0, O2, D2, 0, L2)]("\n");
713
- for (let t4 = 0; !n3 && t4 < e3[xt2(0, 965, B2, 0, z2)]; t4++) {
714
- const r3 = e3[t4][Rt2(0, 782, v2, 0, "vzV2")]();
715
- r3[xt2(0, W2, H2, 0, 811)]("#") || 0 === r3[Rt2(0, 964, 923, 0, "D[qe")] || (n3 = r3);
688
+ if (!st2) try {
689
+ const t3 = await fetch("./" + et);
690
+ let e3 = null;
691
+ if (200 === t3[V2(0, "uPCF", -_2)]) {
692
+ const n3 = (await t3[lt2(-547, "LSwT")]())[H2(S2, -w2, 0, -139)]("\n");
693
+ for (let t4 = 0; !e3 && t4 < n3[nt2(0, 885, "E6gf", 788)]; t4++) {
694
+ const r3 = n3[t4][nt2(0, 1016, y2, 919)]();
695
+ r3[it2(E2, 674, 0, "ub5Z")]("#") || 0 === r3[H2(d2, -277, 0, -C2)] || (e3 = r3);
716
696
  }
717
697
  }
718
- if (n3) {
719
- const t4 = Ot2(1278, V2, 1249, K2, e2) + nt + "')";
720
- Tt2 = await kt2(t4, n3);
698
+ if (e3) {
699
+ const t4 = lt2(-b2, "0w]M") + et + "')";
700
+ st2 = await ct2(t4, e3);
721
701
  }
722
702
  } catch (t3) {
723
703
  }
724
- !Tt2 && J() && (Ft2 = true);
704
+ !st2 && X() && (ht2 = true);
725
705
  }
726
706
  }
727
- function Ot2(t3, e3, n3, r3, o2) {
728
- return tt(0, 0, r3 - St2, o2);
729
- }
730
- if (!Tt2 && Ft2 && (Tt2 = q(Ot2(1201, 1237, 1311, S2, et2))), !Tt2 && Mt2 && (Tt2 = Mt2), !Tt2 && (Tt2 = { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => null, isEval: () => false, exceptions: () => [At2(-349, -401, 0, "#abK")], isValidFor: (t3) => false, isValid: () => false, features: () => Object[xt2(0, 789, "JqVN", 0, 858)]({}), keyFrom: () => xt2(0, 775, "Giqj", 0, 867), getBuildVersion: P[Ot2(0, 0, 0, rt2, "Ijrg")], getBuildDate: P[Nt2(0, st2, lt2)] }), X[Ot2(0, 0, 0, ct2, "#abK")] = Tt2, It2(Tt2), t2) {
731
- if (!(X[At2(-236, -288, 0, ht2)] && X[xt2(0, 755, "yD90", 0, 737)]) && (Ft2 || Tt2[Nt2(0, dt2, 80)]()[Rt2(0, ut2, x2, 0, "fwEv")] > 0 || Tt2[xt2(0, 870, "6Cdj", 0, gt2)]()?.pb)) {
732
- if (Q) return void setTimeout(() => {
707
+ if (!st2 && ht2 && (st2 = Y(it2(v2, x2, 0, a2))), !st2 && rt2 && (st2 = rt2), !st2 && (st2 = { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => null, isEval: () => false, exceptions: () => [it2(703, 703, 0, "BVPz")], isValidFor: (t3) => false, isValid: () => false, features: () => Object[lt2(-564, "utgK")]({}), keyFrom: () => it2(599, 588, 0, "vLoA"), getBuildVersion: P[nt2(0, 1004, I2, 920)], getBuildDate: P[nt2(0, R2, "*OUS", A2)] }), Q[nt2(0, M2, "znmB", 746)] = st2, U2(st2), t2) {
708
+ if (!(Q[V2(0, N2, -65)] && Q[H2(T2, -68, 0, -141)]) && (ht2 || st2[lt2(-633, "r^k&")]()[H2("f5PS", -124, 0, -38)] > 0 || st2[it2(737, 687, 0, k2)]()?.pb)) {
709
+ if (tt) return void setTimeout(() => {
733
710
  var t3, e3, n3;
734
- this[t3 = -31, e3 = pt2, n3 = _t2, xt2(0, t3 - 256, e3, 0, n3 - -906)](false, false);
711
+ this[t3 = -216, e3 = "znmB", n3 = -242, it2(n3 - -925, t3 - 267, 0, e3)](false, false);
735
712
  }, 8e3);
736
- await this[xt2(0, 726, mt2, 0, ft2)](false, false);
713
+ await this[nt2(0, 901, f2, 804)](false, false);
737
714
  }
738
715
  }
739
- return X[At2(-222, -174, 0, "Giqj")];
716
+ return Q[H2(F2, -247, 0, -185)];
740
717
  }
741
- async [it("vzV2", -447, -400)](t2) {
742
- const e2 = 1027, n2 = 182, r2 = 846, o2 = "il%0", s2 = "u&h2", i2 = 28, a2 = 1044, l2 = "uWu!", c2 = 249, h2 = 483, d2 = 167, u2 = 850, g2 = 351, m2 = 1401;
718
+ async [J(0, "Mt8v", 0, 0, 1134)](t2) {
719
+ const e2 = 1142, n2 = 1084, r2 = "pku2", o2 = 1110, s2 = "NeJ4", i2 = "CSJl", a2 = "zVDv", l2 = "klDZ", c2 = 1407, h2 = 1332, d2 = 229, u2 = 428, g2 = 304;
720
+ Q[f2(1104, 1031, "SGgd")] = true;
721
+ const m2 = await this[f2(1089, e2, "V@HE")]();
743
722
  function f2(t3, e3, n3, r3, o3) {
744
- return it(r3, e3 - g2, e3 - m2);
745
- }
746
- function p2(t3, e3, n3, r3, o3) {
747
- return at(r3, e3 - d2, t3 - u2);
748
- }
749
- X[p2(955, 896, 0, "vr$&")] = true;
750
- const _2 = await this[p2(e2, 1e3, 0, "DYpU")]();
751
- var S2, w2, y2, E2, C2;
752
- return await j[S2 = 115, w2 = n2, y2 = "KYOn", at(y2, w2 - h2, S2 - -98)](t2), !X[f2(0, 848, 0, "&sIl")] && (_2[p2(1025, 967, 0, "DYpU")]() || _2[f2(0, 918, 0, "DYpU")]()[f2(0, r2, 0, o2)] > 0) && await this[E2 = s2, C2 = i2, at(E2, C2 - c2, C2 - -151)](t2), Promise[p2(a2, 1017, 0, l2)]();
753
- }
754
- async [at("fwEv", 174, 143)](t2 = false, e2 = false, n2 = false) {
755
- const r2 = "KYOn", o2 = "kHXf", s2 = 104, i2 = 54, a2 = "D[qe", l2 = "vzV2", c2 = 463, h2 = 148;
756
- function d2(t3, e3, n3, r3, o3) {
757
- return K(0, 0, 0, n3 - -1053, r3);
758
- }
759
- X[d2(-178, -164, -95, "K)M]")] = true;
760
- const u2 = await this[d2(0, 0, -152, "Ypua")]();
761
- var g2, m2, f2;
762
- X[g2 = -480, m2 = -414, f2 = r2, at(f2, m2 - h2, g2 - -627)] || !(u2[p2(20, -13, -122, -77, o2)]() || u2[p2(s2, i2, -27, 17, "D[qe")]()[d2(0, 0, -20, a2)] > 0) ? await j[p2(0, 0, 0, -48, l2)](u2, t2, e2, n2) : await this[d2(0, 0, -108, "IvN&")](t2);
763
- function p2(t3, e3, n3, r3, o3) {
764
- return tt(0, 0, r3 - c2, o3);
765
- }
766
- }
767
- async [it("U^A1", -573, -571)](t2, e2) {
768
- const n2 = 1169, r2 = "2&&4", s2 = 686, i2 = "vzV2", a2 = "yD90", l2 = "zc5$";
769
- if (!t2 && (X[h2(632, 613, 714, "K)M]")] || X[c2(-236, "8FLz")])) return;
770
- function c2(t3, e3, n3, r3, o2) {
771
- return ot(e3, e3 - 231, t3 - -923);
772
- }
773
- function h2(t3, e3, n3, r3, o2) {
774
- return K(0, 0, 0, t3 - -217, r3);
775
- }
776
- var d2, u2;
777
- X[h2(742, 0, 0, "U^A1")] = true, X[d2 = "6Cdj", u2 = n2, at(d2, d2 - 293, u2 - 1029)] = true, await this[h2(700, 0, 0, r2)](t2);
778
- const g2 = o[h2(s2, 0, 0, i2)](), m2 = t2 || g2 ? console[c2(-200, "jD#z")] : o[f2 = 1191, p2 = 1242, _2 = a2, at(_2, f2 - 251, p2 - 986)];
779
- var f2, p2, _2;
780
- g2 && m2(""), await this[c2(-289, l2)](t2, e2), m2("");
781
- }
782
- [at("il%0", 121, 134)]() {
783
- return this[t2 = 486, e2 = 415, n2 = "K)M]", it(n2, t2 - 184, e2 - 930)]();
784
- var t2, e2, n2;
785
- }
786
- [it("yrLO", -322, -389)](t2) {
787
- return this[e2 = 54, n2 = "U^A1", K(0, 0, 0, e2 - -796, n2)](true, t2);
788
- var e2, n2;
723
+ return at(t3 - h2, e3 - d2, n3);
724
+ }
725
+ return await j[f2(n2, 1048, r2)](t2), !Q[f2(1029, o2, "SGgd")] && (m2[f2(982, 1011, s2)]() || m2[C2 = 343, b2 = 293, v2 = "V*h[", at(b2 - 574, C2 - 271, v2)]()[w2 = i2, y2 = -404, E2 = -466, at(E2 - -107, y2 - u2, w2)] > 0) && await this[f2(969, 983, a2)](t2), Promise[p2 = 1495, _2 = l2, S2 = c2, at(S2 - 1678, p2 - g2, _2)]();
726
+ var p2, _2, S2, w2, y2, E2, C2, b2, v2;
789
727
  }
790
- [it("Cj8n", -485, -482)]() {
791
- const t2 = "fTBS", e2 = 244;
792
- function n2(t3, n3, r2, o2, s2) {
793
- return at(r2, n3 - e2, t3 - -857);
728
+ async [at(-379, -405, "LSwT")](t2 = false, e2 = false, n2 = false) {
729
+ const r2 = 704, o2 = 555, s2 = 4;
730
+ function i2(t3, e3, n3, r3, o3) {
731
+ return U(0, 0, r3, 0, n3 - s2);
732
+ }
733
+ Q[l2(1032, 977, 1072, 960, "U7uu")] = true;
734
+ const a2 = await this[i2(0, 0, r2, "6e]*")]();
735
+ function l2(t3, e3, n3, r3, o3) {
736
+ return J(0, o3, 0, 0, e3 - -220);
794
737
  }
795
- return X[n2(-568, -501, "PRyC")] || X[n2(-696, -776, t2)];
738
+ function c2(t3, e3, n3, r3, o3) {
739
+ return q(r3, 0, 0, o3 - -695);
740
+ }
741
+ var h2, d2;
742
+ Q[i2(0, 0, o2, "V*h[")] || !(a2[c2(0, 0, 0, "Mt8v", -166)]() || a2[h2 = 463, d2 = "FtQ&", U(0, 0, d2, 0, h2 - -123)]()[l2(0, 812, 0, 0, "BVPz")] > 0) ? await j[c2(0, 0, 0, "Er)c", -204)](a2, t2, e2, n2) : await this[c2(0, 0, 0, "V*h[", -64)](t2);
796
743
  }
797
- [K(0, 0, 0, 1005, "caCv")](t2) {
798
- Q = true;
744
+ async [it(1157, 1361, 1259, "dJh$")](t2, e2) {
745
+ const n2 = "SGgd", r2 = 20, s2 = "g(BI", i2 = "znmB", a2 = 222, l2 = "NJ[J", c2 = 159, h2 = 302, d2 = 608, u2 = 68;
746
+ if (!t2 && (Q[m2(-574, -714, -715, -653, "hoT)")] || Q[m2(-619, -583, -556, -562, n2)])) return;
747
+ function g2(t3, e3, n3, r3, o2) {
748
+ return at(e3 - -162, e3 - u2, o2);
749
+ }
750
+ function m2(t3, e3, n3, r3, o2) {
751
+ return q(o2, 0, 0, r3 - -1145);
752
+ }
753
+ Q[y2(-243, -158, -207, -81, "05[c")] = true, Q[y2(r2, -56, -8, 34, s2)] = true, await this[y2(-161, -129, -58, -106, "!QhC")](t2);
754
+ const f2 = o[y2(-268, -212, -218, -177, i2)](), p2 = t2 || f2 ? console[g2(0, -379, 0, 0, "y4Rq")] : o[_2 = 214, S2 = a2, w2 = l2, at(S2 - d2, _2 - 166, w2)];
755
+ var _2, S2, w2;
756
+ function y2(t3, e3, n3, r3, o2) {
757
+ return at(e3 - c2, e3 - h2, o2);
758
+ }
759
+ f2 && p2(""), await this[g2(0, -483, 0, 0, "Mt8v")](t2, e2), p2("");
799
760
  }
800
- async [it("fTBS", -481, -439)]() {
801
- return this[t2 = "PRyC", e2 = 688, tt(0, 0, e2 - 1263, t2)](true);
761
+ [at(-266, -165, "ZEpk")]() {
762
+ return this[t2 = "05[c", e2 = -315, q(t2, 0, 0, e2 - -886)]();
802
763
  var t2, e2;
803
764
  }
804
- async [K(0, 0, 0, 907, "D[qe")](t2, e2) {
805
- const n2 = 439, r2 = "WlFl", o2 = await this[s2(608, 540, 517, n2, r2)]();
806
- function s2(t3, e3, n3, r3, o3) {
807
- return K(0, 0, 0, n3 - -525, o3);
765
+ [q("klDZ", 0, 0, 587)](t2) {
766
+ return this[e2 = "CSJl", n2 = -198, J(0, e2, 0, 0, n2 - -1238)](true, t2);
767
+ var e2, n2;
768
+ }
769
+ [it(1152, 1111, 1191, "pku2")]() {
770
+ const t2 = "Er)c", e2 = 412;
771
+ function n2(t3, e3, n3, r2, o2) {
772
+ return q(e3, 0, 0, o2 - -277);
808
773
  }
809
- return await this[s2(0, 0, 401, 0, "u&h2")](true, t2, e2), o2;
774
+ return Q[n2(0, "SGgd", 0, 0, 381)] || Q[n2(0, t2, 0, 0, e2)];
810
775
  }
811
- async [it("nL3W", -411, -505)]() {
812
- const t2 = 180;
813
- var e2, n2;
814
- return await j[e2 = "vWF3", n2 = t2, K(0, 0, 0, n2 - -848, e2)]();
776
+ [it(1202, 1185, 1152, ")*Ew")](t2) {
777
+ tt = true;
778
+ }
779
+ async [q("y4Rq", 0, 0, 593)]() {
780
+ return this[t2 = "w0Pw", e2 = 167, n2 = 125, it(t2 - 420, e2 - 86, n2 - -1022, t2)](true);
781
+ var t2, e2, n2;
782
+ }
783
+ async [q("rYv#", 0, 0, 561)](t2, e2) {
784
+ const n2 = "V@HE", r2 = 474, o2 = "Dp1s", s2 = await this[i2 = n2, a2 = r2, J(0, i2, 0, 0, a2 - -676)]();
785
+ var i2, a2, l2, c2;
786
+ return await this[l2 = o2, c2 = -208, U(0, 0, l2, 0, c2 - -758)](true, t2, e2), s2;
787
+ }
788
+ async [U(0, 0, "V*h[", 0, 637)]() {
789
+ const t2 = 457, e2 = "uPCF";
790
+ var n2, r2;
791
+ return await j[n2 = t2, r2 = e2, q(r2, 0, 0, n2 - -217)]();
815
792
  }
816
793
  }
817
- function ot(t2, e2, n2, r2, o2) {
818
- return Z(n2 - 400, t2);
794
+ function rt() {
795
+ const t2 = ["W4ikW7Ccg0lcThJdN3Hpk8kxW5hcMmoNWQbVWO8", "WRr8khvgWQvqW4NdRCkXlWdcU2nBWRCtwCo0", "zK7cNSo0W41LvKbbeCksW788", "FSkhtGBcT8kRW5ZcRSk/W7FcJmolvq", "bSoPk8otW53cGCoaWPNcL3LIW4FdMq", "CSoWoXn9WOrejCkMCNBdLa", "WRNdKJ9k", "W5RcKSoKzSoIlmoSWPrBW4zJAsa", "pmomWOvVWPNdJG", "W5dcVGm/g8kxWPu", "WOneWPyjWPVcRG", "AhNdQMnPEmo8", "W7ldHmkQW4q5vreMwSk1FZtdK8oPW7m", "lNGmWQJdHHFdIW", "wLFcGmkZW49PzKbqgmki", "WOTRWOJcRxfV", "FZxdM8oSWOLlqH7cJ8oM", "WQjVtCoWAmkpba", "W5pdKSoEWR/cJvpdMSk9WRpcGKv3WPW", "WPxdGNSpj8ku", "W4PuWRNcISk+W7C", "jW3cN8o6W6JdSG", "W5ufvqGKW4r7W7ddOSk7ndW", "WRHeh1L8WOLyW7pdLCkzbsNcHG", "ucXDaSkaqcBcS2O", "WOzsWRybWOVcOW", "WOrqm8kjt8kBc0ZcOWG", "W5/cVCkPgSkyWQS", "jmkGFxyJW5fe", "WRBcUCkOvCkWWP8", "W4xcSCk0fmkyW6m", "AsJcLZVcKfHrW6ZcLW", "f0BdVSksWRddRSo7WR9k", "W6ZcQmk1fmkcWRC", "jSk2kmoJWRK", "gMOsW5pcJs4", "jhpcQmkPWOr0", "W7LUWQFcN8kLW6Tli8kh", "pwpdHJhcP09EW5pcQSoA", "ebRdMmkxWQtdQa", "W5mUW7/dTca4iSk7tSkJg8ozW4eV", "q8oAaW3cR8kHCLC", "iaJdGmkBWQNdQmkWWOldPMVcJcG", "WOtdMZOik8kjWPFdHde", "W44AhCoWW6TS", "pmoIkCo+W5JcI8obW5FcGwrzW4VdKJjDW7C1qW", "W71CsSo+Amkf", "W67cICkDWO9OWRuzeZ/dUGqHBW", "wCkqqqtcP8k4W7JcTCk5W7FdMmoIwfVdGmkSkSob", "ia7dK8kEWQ7dUmktWPFdRq", "CmkpqW3cVmkQW6NcL8kZW6a", "zmo+WPjBWP0j", "WRRcSSkorSkHWODnrw9W", "cCk2W5bbWPyKW4qWWPS", "dHZcJmo2W7tdUdBcPHBcL8o5WRVcUs4uCLDYtW", "qeBdUCkgW6pcG20", "W7hcKmo/BSoG", "kwxcMCk+WOX0Ed7cI8owtZddR8ku", "dWRdNCkFWQ7dR8kx", "ra8GW6/dTW", "W63cJSkcWPjZWQmp", "W7rqgmo0pSoKrdONW7LShW", "lCoGyCkawHClW4VcQa", "C0hdNCkJWQlcSMRdHWNcHSoIWPJcGG", "WRldGCo1WQtcO8kIWR3cPSoPlSkWumoPWPu", "WOdcUSkFsSk/WODGt3vIWPbhvG", "W40Bd8oS", "W7fQyhNcJ8o7", "fmonDmkxtWy", "WOddG8kvWOy5zmogfSodpXXdW5y", "W7PCxCoFBSkcdq", "WR3dLmkAWOq1CSo3emop", "k2VdIt3cOW", "W6pdGmkYW7mPEGS", "EmoGFCkbWQ1b", "jHRcGSoYW7pdPsa", "xmoRWPrWWOyuW7SKWQ8EWRqj", "W5/cT8kKhmkaWQVcVCkaWRW", "W4PyWRtcImkKW6Xbn8k9W6q", "W4/cTquAW5u+D8kYE19fWPBdTW", "h8kSjSoGWQjDW63cNN0", "Bx7dV2DRySo9WR98kq", "W5aPW77dUImZDCoPFCkefSoo", "lfxdQ8kFWRddPSoPWPTDe8orW4xdGCkt", "jCkIn8oLWRLa", "W7hcH8oUEW", "W6zyv8ojBSkedKlcImka", "WOVdNCoQWQVcUW", "WQhdId9wW7HHW6VcGq", "E8kdvcBcVCk9W6NcLCkY", "jSoAWR9mWPtdIbdcU0nLWRBcQwK", "W74vW6SygLO", "WRRdJYLhW6j4W6RcUWjNWQBcVaBcMSkmpfWqwq", "m8k3yeW+W75aoCkhDu0", "mGdcNmo7", "WPDgaL17WO55", "WP4QudDpW6ZcMSk7bmohWP5v", "W7GyhCoOWR5tmSoPWR54lmoDo8okW5DR", "CmofeGxcTCk8x1JcGtBcJSkQ", "xSoGWPzKWPip", "zhNdUhfsEmoSWPW", "CCoQC8k5WQfbW7ZcHgSv", "ECk3gSkjWRXQW67dOW", "WR1OWRtcQ3T+", "cCk7W5ybWP8UW54WWP0M", "ECkEqW3cOSkTW6xcS8k4W6O", "WOrbjSkWxSkr", "c2C7emkjCbe", "WPa8AHPEW6a", "WPxdGNSalCkaWPFdMtRdICkLW51lW7VdUSkoW49powC", "WQrSf8k+B8kWea", "W7pcG8o6ESoPhSoE", "W7JcL3GxW7X4W7BcIH1B", "W4yaW60ZauFcVuVdSM1taa", "WQ7cHCkCW6RdMa7cISokWRdcPLfhWOpdK8oXW40", "WONdISoWWQRcO8k9WRW", "C3ldUhDMDa", "rZXoW5VcVIxcICosuG", "W5JcKCkDWOTJWPeyeG7dSq", "ASkhtb3cT8kFW7O", "q0ZdOmkJW6/cMx9KW5/dGa", "W7LhWRBcGCkJW7Tfcmk9", "WOTra1DMWPu", "WQryW7GkWPBcQc/cL8k6WRBcKM/cNmkiW68FW7mMuW", "W5HxuSo4CmkebbBcGCknkmoeW7ikWOxcOZddQvym", "WQCjWRlcRG", "pNtcJmkTWPfRxaFcJCox", "WOdcUSkFsSk/WODMs29TWPXz", "nHRcO8o8W7NdQJ/dOZFcJSo9WRFcMd8co1z7", "qLVdSCkcW7dcIa", "jConWQrTWPtdMba", "q8kwuGhcVmkTW47cVCk4W7FcNCoC", "WPldL8kiWOa", "bSogyCkx", "gqRdL8kxWR3dUq", "tvRdMSkiW67cIa", "WP4QsHbiW6tcGSk6dSojWO5vk0S", "w1/cGSoZW4zJqLDChSkpW7yR", "W6fltCo3AmkVavJcG8kboq", "fCoAzCkWqaOiW7dcS1BdHW8", "W6rSzg7cGCoTA3pdRCo8", "i1xdPSk4WQVdPCo3", "xCoRWPrrWPTvWRbUW4q", "CCoQBCkGWOfrcCoeW5DK", "jrdcM8oyW7/dSG", "W7HkCSo4Cmkeba", "kCkPeCoTWQDqW6G", "W4njWQFcHmk4W6y", "b2VdLZ3cUu8", "gmoTWOdcHHZcJaS", "WQale8k3lmodubJdNa", "WR3cMmkcWPPPW7aedXVcQaaUBYaOWRO", "bmkphCouuxRdPueyea", "W7qacSoLW7j2p8kQWPD/pmoDDCoYW5CYWRZdS8ovWQtcT8kPbubIumo6", "WQhdSuvdWOnZ", "fSopgJ7cMmkIwW", "mSoAWR9pWQ4", "WOr9WQFcTMb4D8o8", "kLhdSCkqWRZdUmokWRLgfmolW5tdGa", "FeJcJCoXW5zWzKXAhSoBW6mQhd9YW5nYW63dU8kWzCoFqmkm", "oWBdVSkzWPxcJa", "eCopzmkXwHykW6a", "caJdLCkRWPyJiHfffmkUW703iG", "W7jwsSo/DCkkm0lcGSkwlG", "WRvOWQGuWPdcVYxcPSkw", "WQJdHt4bnSkvWPO", "WQ/dNZij", "W6lcH8oItCo5mCoeWPv5W4j4DJOsWPe", "FdxdN8oUW5iGBHZcTSoDAdy", "l8kQBG", "mrFcKSk+WQ7dV8kxWO3dU2ddIrhdRmoV", "WPnbjSkAuSkel3xcPqNdVtdcKmkZ", "f8ojCmkE", "zSo9DSkjWO1wdq", "W5OleSoHW6X+l8oVWPv5o8oDuSoL", "z8osWORcIGBcNqRdNYKoWO/dUHOur1VcGSo5BgBdQJZdNvviW5vBW5nj", "WOO7rqDoW7BcOCk2nmoo", "wSoFwCkOEhtdRgqroq", "jXJcJSo6W7BcQW", "k3OBemkjCbhdO3BcJwFdRv8AeZZcS8oAW6hcJq", "WQ7dGJH2W79TW6m", "EtNdMCoRW5WSpZNcLmo0urhdNa", "WRNdLsnpW79ZW6m", "BmoAdqhcRSkMDe3cLG", "ESkKgSkr", "pHddLCkiWOdcIa", "W7rxqmoQs8keff4", "WPldQfrpWOn0k8kw", "W7hdHmkOW6mGuW0NFSktyJldLmoY", "WRmzWRxcP8k6W4NcGSkAWRiShSkeW7Hv", "W4juWQpcJmkJW7nxlmkQW7tcQSoNlc8", "Emk3d8k/WRXXW6FdTmoFdxxcUq", "WPuQsHjoW60", "jCkCwJRcKCkZW4O", "WQZdItO", "d8kpb8o3qgy", "WQCoWQJcQmkNW6hcLmk+WQeShmkd", "n8oEWQvUWPJdMsxcP1LUWONcQxq", "WOz9WRlcO3XMyq", "AKBcTmkcW7lcNxD/W5ldH8kQWQKz", "W7TXzNNcM8oTwvhdVmoT", "maBdPmk8WPtcJCoLdWK1WRyHomkymq", "WPjTWRxcQG", "CCoQBCkMWPfmbmojW61YeSoQwYK/", "W7jGzNNcHCoQvxxdT8oN"];
796
+ return (rt = function() {
797
+ return t2;
798
+ })();
799
+ }
800
+ function ot(t2, e2) {
801
+ const n2 = rt();
802
+ return ot = function(e3, r2) {
803
+ let o2 = n2[e3 -= 323];
804
+ if (void 0 === ot.jquYHj) {
805
+ const e4 = function(t3, e5) {
806
+ let n3, r3, o3 = [], s3 = 0, i3 = "";
807
+ for (t3 = (function(t4) {
808
+ let e6 = "", n4 = "";
809
+ 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);
810
+ for (let t5 = 0, r4 = e6.length; t5 < r4; t5++) n4 += "%" + ("00" + e6.charCodeAt(t5).toString(16)).slice(-2);
811
+ return decodeURIComponent(n4);
812
+ })(t3), r3 = 0; r3 < 256; r3++) o3[r3] = r3;
813
+ 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;
814
+ r3 = 0, s3 = 0;
815
+ 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]);
816
+ return i3;
817
+ };
818
+ ot.pcvuPm = e4, t2 = arguments, ot.jquYHj = true;
819
+ }
820
+ const s2 = e3 + n2[0], i2 = t2[s2];
821
+ return i2 ? o2 = i2 : (void 0 === ot.SfKxTN && (ot.SfKxTN = true), o2 = ot.pcvuPm(o2, r2), t2[s2] = o2), o2;
822
+ }, ot(t2, e2);
819
823
  }
820
- const st = new rt();
824
+ const st = new nt();
821
825
  function it(t2, e2, n2, r2, o2) {
822
- return Z(n2 - -793, t2);
826
+ return ot(n2 - 770, r2);
823
827
  }
824
828
  function at(t2, e2, n2, r2, o2) {
825
- return Z(n2 - -119, t2);
829
+ return ot(t2 - -721, n2);
826
830
  }
827
831
  const lt = (t2, e2) => {
828
832
  const n2 = [];
@@ -1611,8 +1615,8 @@ var At;
1611
1615
  }, At.simpleComparator = function(t2, e2) {
1612
1616
  return t2 > e2 ? 1 : t2 < e2 ? -1 : 0;
1613
1617
  };
1614
- const Mt = [-1, null], Tt = { done: false, value: [-1, null] };
1615
- var Nt;
1618
+ const Mt = [-1, null], Nt = { done: false, value: [-1, null] };
1619
+ var Tt;
1616
1620
  ((t2) => {
1617
1621
  t2.Builder = class {
1618
1622
  constructor(t3, e3 = 0, n2 = 0) {
@@ -1705,7 +1709,7 @@ var Nt;
1705
1709
  return h2 + d2.length !== t3 && (d2 = [], h2 = t3, l2.push([h2, d2])), d2.push(r2), this._majorMax = Math.max(this._majorMax, t3), this._minorIndex = n2, this;
1706
1710
  }
1707
1711
  build() {
1708
- const t3 = [], e3 = this._createList, n2 = this._minors.entries(void 0, Tt);
1712
+ const t3 = [], e3 = this._createList, n2 = this._minors.entries(void 0, Nt);
1709
1713
  let r2 = n2.next();
1710
1714
  for (; !r2.done; ) {
1711
1715
  const o2 = r2.value[1].span;
@@ -1721,7 +1725,7 @@ var Nt;
1721
1725
  }
1722
1726
  }
1723
1727
  t2.OutOfOrderError = e2;
1724
- })(Nt || (Nt = {}));
1728
+ })(Tt || (Tt = {}));
1725
1729
  const kt = { lessThanXSeconds: { one: "less than a second", other: "less than {{count}} seconds" }, xSeconds: { one: "1 second", other: "{{count}} seconds" }, halfAMinute: "half a minute", lessThanXMinutes: { one: "less than a minute", other: "less than {{count}} minutes" }, xMinutes: { one: "1 minute", other: "{{count}} minutes" }, aboutXHours: { one: "about 1 hour", other: "about {{count}} hours" }, xHours: { one: "1 hour", other: "{{count}} hours" }, xDays: { one: "1 day", other: "{{count}} days" }, aboutXWeeks: { one: "about 1 week", other: "about {{count}} weeks" }, xWeeks: { one: "1 week", other: "{{count}} weeks" }, aboutXMonths: { one: "about 1 month", other: "about {{count}} months" }, xMonths: { one: "1 month", other: "{{count}} months" }, aboutXYears: { one: "about 1 year", other: "about {{count}} years" }, xYears: { one: "1 year", other: "{{count}} years" }, overXYears: { one: "over 1 year", other: "over {{count}} years" }, almostXYears: { one: "almost 1 year", other: "almost {{count}} years" } };
1726
1730
  function Ft(t2) {
1727
1731
  return (e2 = {}) => {
@@ -1730,7 +1734,7 @@ function Ft(t2) {
1730
1734
  };
1731
1735
  }
1732
1736
  const Ot = { date: Ft({ formats: { full: "EEEE, MMMM do, y", long: "MMMM do, y", medium: "MMM d, y", short: "MM/dd/yyyy" }, defaultWidth: "full" }), time: Ft({ formats: { full: "h:mm:ss a zzzz", long: "h:mm:ss a z", medium: "h:mm:ss a", short: "h:mm a" }, defaultWidth: "full" }), dateTime: Ft({ formats: { full: "{{date}} 'at' {{time}}", long: "{{date}} 'at' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" }, defaultWidth: "full" }) }, Dt = { lastWeek: "'last' eeee 'at' p", yesterday: "'yesterday at' p", today: "'today at' p", tomorrow: "'tomorrow at' p", nextWeek: "eeee 'at' p", other: "P" };
1733
- function Lt(t2) {
1737
+ function Bt(t2) {
1734
1738
  return (e2, n2) => {
1735
1739
  let r2;
1736
1740
  if ("formatting" === (n2?.context ? String(n2.context) : "standalone") && t2.formattingValues) {
@@ -1743,7 +1747,7 @@ function Lt(t2) {
1743
1747
  return r2[t2.argumentCallback ? t2.argumentCallback(e2) : e2];
1744
1748
  };
1745
1749
  }
1746
- function Bt(t2) {
1750
+ function Lt(t2) {
1747
1751
  return (e2, n2 = {}) => {
1748
1752
  const r2 = n2.width, o2 = r2 && t2.matchPatterns[r2] || t2.matchPatterns[t2.defaultMatchWidth], s2 = e2.match(o2);
1749
1753
  if (!s2) return null;
@@ -1775,14 +1779,14 @@ const zt = { code: "en-US", formatDistance: (t2, e2, n2) => {
1775
1779
  return n2 + "rd";
1776
1780
  }
1777
1781
  return n2 + "th";
1778
- }, era: Lt({ values: { narrow: ["B", "A"], abbreviated: ["BC", "AD"], wide: ["Before Christ", "Anno Domini"] }, defaultWidth: "wide" }), quarter: Lt({ 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: Lt({ 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: Lt({ 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: Lt({ 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: (Pt = { matchPattern: /^(\d+)(th|st|nd|rd)?/i, parsePattern: /\d+/i, valueCallback: (t2) => parseInt(t2, 10) }, (t2, e2 = {}) => {
1782
+ }, era: Bt({ values: { narrow: ["B", "A"], abbreviated: ["BC", "AD"], wide: ["Before Christ", "Anno Domini"] }, defaultWidth: "wide" }), quarter: Bt({ 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: Bt({ 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: Bt({ 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: Bt({ 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: (Pt = { matchPattern: /^(\d+)(th|st|nd|rd)?/i, parsePattern: /\d+/i, valueCallback: (t2) => parseInt(t2, 10) }, (t2, e2 = {}) => {
1779
1783
  const n2 = t2.match(Pt.matchPattern);
1780
1784
  if (!n2) return null;
1781
1785
  const r2 = n2[0], o2 = t2.match(Pt.parsePattern);
1782
1786
  if (!o2) return null;
1783
1787
  let s2 = Pt.valueCallback ? Pt.valueCallback(o2[0]) : o2[0];
1784
1788
  return s2 = e2.valueCallback ? e2.valueCallback(s2) : s2, { value: s2, rest: t2.slice(r2.length) };
1785
- }), era: Bt({ 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: Bt({ 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: Bt({ 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: Bt({ 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: Bt({ 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 } }, Wt = (t2, e2) => {
1789
+ }), era: Lt({ 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: Lt({ 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: Lt({ 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: Lt({ 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: Lt({ 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 } }, Wt = (t2, e2) => {
1786
1790
  switch (t2) {
1787
1791
  case "P":
1788
1792
  return e2.date({ width: "short" });
@@ -2092,11 +2096,11 @@ function Me(t2) {
2092
2096
  for (var e2 = "", n2 = t2.length - 1; n2 >= 0; ) e2 += t2.charAt(n2--);
2093
2097
  return e2;
2094
2098
  }
2095
- function Te(t2, e2) {
2099
+ function Ne(t2, e2) {
2096
2100
  var n2 = "" + t2;
2097
2101
  return n2.length >= e2 ? n2 : Ae("0", e2 - n2.length) + n2;
2098
2102
  }
2099
- function Ne(t2, e2) {
2103
+ function Te(t2, e2) {
2100
2104
  var n2 = "" + t2;
2101
2105
  return n2.length >= e2 ? n2 : Ae(" ", e2 - n2.length) + n2;
2102
2106
  }
@@ -2117,7 +2121,7 @@ function Oe(t2, e2) {
2117
2121
  function De(t2, e2) {
2118
2122
  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));
2119
2123
  }
2120
- var Le = [["Sun", "Sunday"], ["Mon", "Monday"], ["Tue", "Tuesday"], ["Wed", "Wednesday"], ["Thu", "Thursday"], ["Fri", "Friday"], ["Sat", "Saturday"]], Be = [["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"]], Pe = { 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"秒 "' }, ze = { 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 }, We = { 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\\);_("$"* "-"??_);_(@_)' };
2124
+ var Be = [["Sun", "Sunday"], ["Mon", "Monday"], ["Tue", "Tuesday"], ["Wed", "Wednesday"], ["Thu", "Thursday"], ["Fri", "Friday"], ["Sat", "Saturday"]], Le = [["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"]], Pe = { 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"秒 "' }, ze = { 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 }, We = { 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\\);_("$"* "-"??_);_(@_)' };
2121
2125
  function He(t2, e2, n2) {
2122
2126
  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;
2123
2127
  if (h2 > e2 && (c2 > e2 ? (h2 = l2, a2 = s2) : (h2 = c2, a2 = i2)), !n2) return [0, r2 * a2, h2];
@@ -2199,11 +2203,11 @@ function Xe(t2, e2, n2, r2) {
2199
2203
  o2 = n2.m, c2 = e2.length;
2200
2204
  break;
2201
2205
  case 3:
2202
- return Be[n2.m - 1][1];
2206
+ return Le[n2.m - 1][1];
2203
2207
  case 5:
2204
- return Be[n2.m - 1][0];
2208
+ return Le[n2.m - 1][0];
2205
2209
  default:
2206
- return Be[n2.m - 1][2];
2210
+ return Le[n2.m - 1][2];
2207
2211
  }
2208
2212
  break;
2209
2213
  case 100:
@@ -2213,9 +2217,9 @@ function Xe(t2, e2, n2, r2) {
2213
2217
  o2 = n2.d, c2 = e2.length;
2214
2218
  break;
2215
2219
  case 3:
2216
- return Le[n2.q][0];
2220
+ return Be[n2.q][0];
2217
2221
  default:
2218
- return Le[n2.q][1];
2222
+ return Be[n2.q][1];
2219
2223
  }
2220
2224
  break;
2221
2225
  case 104:
@@ -2250,7 +2254,7 @@ function Xe(t2, e2, n2, r2) {
2250
2254
  break;
2251
2255
  case 115:
2252
2256
  if ("s" !== e2 && "ss" !== e2 && ".0" !== e2 && ".00" !== e2 && ".000" !== e2) throw new Error("bad second format: " + e2);
2253
- return 0 !== n2.u || "s" !== e2 && "ss" !== e2 ? (a2 = r2 >= 2 ? 3 === r2 ? 1e3 : 100 : 1 === r2 ? 10 : 1, (i2 = Math.round(a2 * (n2.S + n2.u))) >= 60 * a2 && (i2 = 0), "s" === e2 ? 0 === i2 ? "0" : "" + i2 / a2 : (s2 = Te(i2, 2 + r2), "ss" === e2 ? s2.substr(0, 2) : "." + s2.substr(2, e2.length - 1))) : Te(n2.S, e2.length);
2257
+ return 0 !== n2.u || "s" !== e2 && "ss" !== e2 ? (a2 = r2 >= 2 ? 3 === r2 ? 1e3 : 100 : 1 === r2 ? 10 : 1, (i2 = Math.round(a2 * (n2.S + n2.u))) >= 60 * a2 && (i2 = 0), "s" === e2 ? 0 === i2 ? "0" : "" + i2 / a2 : (s2 = Ne(i2, 2 + r2), "ss" === e2 ? s2.substr(0, 2) : "." + s2.substr(2, e2.length - 1))) : Ne(n2.S, e2.length);
2254
2258
  case 90:
2255
2259
  switch (e2) {
2256
2260
  case "[h]":
@@ -2273,7 +2277,7 @@ function Xe(t2, e2, n2, r2) {
2273
2277
  case 101:
2274
2278
  o2 = l2, c2 = 1;
2275
2279
  }
2276
- return c2 > 0 ? Te(o2, c2) : "";
2280
+ return c2 > 0 ? Ne(o2, c2) : "";
2277
2281
  }
2278
2282
  function Ye(t2) {
2279
2283
  if (t2.length <= 3) return t2;
@@ -2355,7 +2359,7 @@ function cn(t2, e2, n2) {
2355
2359
  if (e2.match(/^[#?]+$/)) return "0" === (o2 = Oe(n2, 0)) && (o2 = ""), o2.length > e2.length ? o2 : on(e2.substr(0, e2.length - o2.length)) + o2;
2356
2360
  if (s2 = e2.match(tn)) return (function(t3, e3, n3) {
2357
2361
  var r3 = parseInt(t3[4], 10), o3 = Math.round(e3 * r3), s3 = Math.floor(o3 / r3), i3 = o3 - s3 * r3, a3 = r3;
2358
- return n3 + (0 === s3 ? "" : "" + s3) + " " + (0 === i3 ? Ae(" ", t3[1].length + 1 + t3[4].length) : Ne(i3, t3[1].length) + t3[2] + "/" + t3[3] + Te(a3, t3[4].length));
2362
+ return n3 + (0 === s3 ? "" : "" + s3) + " " + (0 === i3 ? Ae(" ", t3[1].length + 1 + t3[4].length) : Te(i3, t3[1].length) + t3[2] + "/" + t3[3] + Ne(a3, t3[4].length));
2359
2363
  })(s2, l2, c2);
2360
2364
  if (e2.match(/^#+0+$/)) return c2 + Oe(l2, e2.length - e2.indexOf("0"));
2361
2365
  if (s2 = e2.match(en)) return i2 = Math.trunc(sn(n2, s2[2].length)), a2 = an(Math.abs(i2 - n2), s2[2].length), a2 = (a2 = "" + an(a2, (function(t3) {
@@ -2367,7 +2371,7 @@ function cn(t2, e2, n2) {
2367
2371
  if (s2 = e2.match(/^#{1,3},##0(\.?)$/)) return c2 + Ye(Oe(l2, 0));
2368
2372
  if (s2 = e2.match(/^#,##0\.([#0]*0)$/)) return n2 < 0 ? "-" + cn(t2, e2, -n2) : Ye("" + (Math.floor(n2) + (function(t3, e3) {
2369
2373
  return e3 < ("" + Math.round((t3 - Math.floor(t3)) * Math.pow(10, e3))).length ? 1 : 0;
2370
- })(n2, s2[1].length))) + "." + Te(ln(n2, s2[1].length), s2[1].length);
2374
+ })(n2, s2[1].length))) + "." + Ne(ln(n2, s2[1].length), s2[1].length);
2371
2375
  if (s2 = e2.match(/^#,#*,#0/)) return cn(t2, e2.replace(/^#,#*,/, ""), n2);
2372
2376
  if (s2 = e2.match(/^([0#]+)(\\?-([0#]+))+$/)) return o2 = Me(cn(t2, e2.replace(/[\\-]/g, ""), n2)), i2 = 0, Me(Me(e2.replace(/\\/g, "")).replace(/[0#]/g, function(t3) {
2373
2377
  return i2 < o2.length ? o2.charAt(i2++) : "0" === t3 ? "0" : "";
@@ -2375,7 +2379,7 @@ function cn(t2, e2, n2) {
2375
2379
  if (e2.match(rn)) return "(" + (o2 = cn(t2, "##########", n2)).substr(0, 3) + ") " + o2.substr(3, 3) + "-" + o2.substr(6);
2376
2380
  var h2 = "";
2377
2381
  if (s2 = e2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(s2[4].length, 7), a2 = He(l2, Math.pow(10, i2) - 1, false), o2 = "" + c2, " " === (h2 = un("n", s2[1], a2[1])).charAt(h2.length - 1) && (h2 = h2.substr(0, h2.length - 1) + "0"), o2 += h2 + s2[2] + "/" + s2[3], (h2 = ke(a2[2], i2)).length < s2[4].length && (h2 = on(s2[4].substr(s2[4].length - h2.length)) + h2), o2 += h2;
2378
- if (s2 = e2.match(/[#0?] ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), a2 = He(l2, Math.pow(10, i2) - 1, true), c2 + cn(t2, e2.substring(0, s2.index + 1), a2[0]) + " " + (a2[1] ? Ne(a2[1], i2) + s2[2] + "/" + s2[3] + ke(a2[2], i2) : Ae(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2382
+ if (s2 = e2.match(/[#0?] ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), a2 = He(l2, Math.pow(10, i2) - 1, true), c2 + cn(t2, e2.substring(0, s2.index + 1), a2[0]) + " " + (a2[1] ? Te(a2[1], i2) + s2[2] + "/" + s2[3] + ke(a2[2], i2) : Ae(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2379
2383
  if (s2 = e2.match(/^[#0?]+$/)) return o2 = Oe(n2, 0), e2.length <= o2.length ? o2 : on(e2.substr(0, e2.length - o2.length)) + o2;
2380
2384
  if (s2 = e2.match(/^([#0?]+)\.([#0]+)$/)) {
2381
2385
  o2 = "" + n2.toFixed(Math.min(s2[2].length, 10)).replace(/([^0])0+$/, "$1"), i2 = o2.indexOf(".");
@@ -2385,8 +2389,8 @@ function cn(t2, e2, n2) {
2385
2389
  if (s2 = e2.match(/^00,000\.([#0]*0)$/)) return i2 = ln(n2, s2[1].length), n2 < 0 ? "-" + cn(t2, e2, -n2) : Ye((function(t3) {
2386
2390
  return t3 < 2147483647 && t3 > -2147483648 ? "" + (t3 >= 0 ? 0 | t3 : t3 - 1 | 0) : "" + Math.floor(t3);
2387
2391
  })(n2)).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(t3) {
2388
- return "00," + (t3.length < 3 ? Te(0, 3 - t3.length) : "") + t3;
2389
- }) + "." + Te(i2, s2[1].length);
2392
+ return "00," + (t3.length < 3 ? Ne(0, 3 - t3.length) : "") + t3;
2393
+ }) + "." + Ne(i2, s2[1].length);
2390
2394
  switch (e2) {
2391
2395
  case "###,##0.00":
2392
2396
  return cn(t2, "#,##0.00", n2);
@@ -2436,13 +2440,13 @@ function dn(t2, e2, n2) {
2436
2440
  if (-1 !== e2.indexOf("E")) return hn(e2, n2);
2437
2441
  if (36 === e2.charCodeAt(0)) return "$" + dn(t2, e2.substr(" " === e2.charAt(1) ? 2 : 1), n2);
2438
2442
  var o2, s2, i2, a2, l2 = Math.abs(n2), c2 = n2 < 0 ? "-" : "";
2439
- if (e2.match(/^00+$/)) return c2 + Te(l2, e2.length);
2443
+ if (e2.match(/^00+$/)) return c2 + Ne(l2, e2.length);
2440
2444
  if (e2.match(/^[#?]+$/)) return o2 = "" + n2, 0 === n2 && (o2 = ""), o2.length > e2.length ? o2 : on(e2.substr(0, e2.length - o2.length)) + o2;
2441
2445
  if (s2 = e2.match(tn)) return (function(t3, e3, n3) {
2442
2446
  return n3 + (0 === e3 ? "" : "" + e3) + Ae(" ", t3[1].length + 2 + t3[4].length);
2443
2447
  })(s2, l2, c2);
2444
- if (e2.match(/^#+0+$/)) return c2 + Te(l2, e2.length - e2.indexOf("0"));
2445
- if (s2 = e2.match(en)) return o2 = ("" + n2).replace(/^([^.]+)$/, "." + on(s2[2])).replace(/\.$/, "." + on(s2[2])), o2 = Te(Math.abs(n2), s2[1].length) + o2.replace(/\.(\d*)$/, function(t3, e3) {
2448
+ if (e2.match(/^#+0+$/)) return c2 + Ne(l2, e2.length - e2.indexOf("0"));
2449
+ if (s2 = e2.match(en)) return o2 = ("" + n2).replace(/^([^.]+)$/, "." + on(s2[2])).replace(/\.$/, "." + on(s2[2])), o2 = Ne(Math.abs(n2), s2[1].length) + o2.replace(/\.(\d*)$/, function(t3, e3) {
2446
2450
  return "." + e3 + Ae("0", on(s2[2]).length - e3.length);
2447
2451
  }), o2 = -1 !== e2.indexOf("0.") ? o2 : o2.replace(/^0\./, "."), n2 < 0 ? "-" + o2 : o2;
2448
2452
  if (e2 = e2.replace(/^#+([0.])/, "$1"), s2 = e2.match(/^(0*)\.(#*)$/)) return c2 + ("" + l2).replace(/\.(\d*[1-9])0*$/, ".$1").replace(/^(-?\d*)$/, "$1.").replace(/^0\./, s2[1].length ? "0." : ".");
@@ -2455,7 +2459,7 @@ function dn(t2, e2, n2) {
2455
2459
  if (e2.match(rn)) return "(" + (o2 = dn(t2, "##########", n2)).substr(0, 3) + ") " + o2.substr(3, 3) + "-" + o2.substr(6);
2456
2460
  var h2 = "";
2457
2461
  if (s2 = e2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(s2[4].length, 7), a2 = He(l2, Math.pow(10, i2) - 1, false), o2 = "" + c2, " " === (h2 = un("n", s2[1], a2[1])).charAt(h2.length - 1) && (h2 = h2.substr(0, h2.length - 1) + "0"), o2 += h2 + s2[2] + "/" + s2[3], (h2 = ke(a2[2], i2)).length < s2[4].length && (h2 = on(s2[4].substr(s2[4].length - h2.length)) + h2), o2 += h2;
2458
- if (s2 = e2.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), c2 + ((a2 = He(l2, Math.pow(10, i2) - 1, true))[0] || (a2[1] ? "" : "0")) + " " + (a2[1] ? Ne(a2[1], i2) + s2[2] + "/" + s2[3] + ke(a2[2], i2) : Ae(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2462
+ if (s2 = e2.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), c2 + ((a2 = He(l2, Math.pow(10, i2) - 1, true))[0] || (a2[1] ? "" : "0")) + " " + (a2[1] ? Te(a2[1], i2) + s2[2] + "/" + s2[3] + ke(a2[2], i2) : Ae(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2459
2463
  if (s2 = e2.match(/^[#0?]+$/)) return o2 = "" + n2, e2.length <= o2.length ? o2 : on(e2.substr(0, e2.length - o2.length)) + o2;
2460
2464
  if (s2 = e2.match(/^([#0]+)\.([#0]+)$/)) {
2461
2465
  o2 = "" + n2.toFixed(Math.min(s2[2].length, 10)).replace(/([^0])0+$/, "$1"), i2 = o2.indexOf(".");
@@ -2463,8 +2467,8 @@ function dn(t2, e2, n2) {
2463
2467
  return on(e2.substr(0, d2) + o2 + e2.substr(e2.length - u2));
2464
2468
  }
2465
2469
  if (s2 = e2.match(/^00,000\.([#0]*0)$/)) return n2 < 0 ? "-" + dn(t2, e2, -n2) : Ye("" + n2).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(t3) {
2466
- return "00," + (t3.length < 3 ? Te(0, 3 - t3.length) : "") + t3;
2467
- }) + "." + Te(0, s2[1].length);
2470
+ return "00," + (t3.length < 3 ? Ne(0, 3 - t3.length) : "") + t3;
2471
+ }) + "." + Ne(0, s2[1].length);
2468
2472
  switch (e2) {
2469
2473
  case "###,###":
2470
2474
  case "##,###":
@@ -2858,7 +2862,7 @@ const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table: Pe,
2858
2862
  for (var e2 = 0; 392 !== e2; ++e2) void 0 !== t2[e2] && wn(t2[e2], e2);
2859
2863
  }, parse_date_code: Ve, is_date: fn, get_table: function() {
2860
2864
  return yn._table = Pe;
2861
- } }, En = "\\s*([-]?[0-9e]*[.]?[0-9]+)", Cn = new RegExp(`^rgb\\(${En},${En},${En}\\)$`), bn = new RegExp(`^rgba\\(${En},${En},${En},${En}\\)$`), vn = new RegExp(`^lrgb\\(${En},${En},${En}\\)$`), xn = new RegExp(`^lrgba\\(${En},${En},${En},${En}\\)$`), In = new RegExp(`^hsl\\(${En},${En},${En}\\)$`), Rn = new RegExp(`^hsla\\(${En},${En},${En},${En}\\)$`), An = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), Mn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), Tn = new RegExp("^index(\\d+)$", "i"), Nn = (t2, e2, n2) => [parseFloat(t2), parseFloat(e2), parseFloat(n2)], kn = (t2, e2 = 255) => {
2865
+ } }, En = "\\s*([-]?[0-9e]*[.]?[0-9]+)", Cn = new RegExp(`^rgb\\(${En},${En},${En}\\)$`), bn = new RegExp(`^rgba\\(${En},${En},${En},${En}\\)$`), vn = new RegExp(`^lrgb\\(${En},${En},${En}\\)$`), xn = new RegExp(`^lrgba\\(${En},${En},${En},${En}\\)$`), In = new RegExp(`^hsl\\(${En},${En},${En}\\)$`), Rn = new RegExp(`^hsla\\(${En},${En},${En},${En}\\)$`), An = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), Mn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), Nn = new RegExp("^index(\\d+)$", "i"), Tn = (t2, e2, n2) => [parseFloat(t2), parseFloat(e2), parseFloat(n2)], kn = (t2, e2 = 255) => {
2862
2866
  const n2 = [...t2];
2863
2867
  for (var r2 = 0; r2 < t2.length; r2++) n2[r2] = t2[r2] / e2;
2864
2868
  return n2;
@@ -2870,7 +2874,7 @@ const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table: Pe,
2870
2874
  const n2 = [...t2], r2 = e2 ? 1 : 255;
2871
2875
  for (var o2 = 0; o2 < t2.length; o2++) n2[o2] = Math.max(0, Math.min(r2, t2[o2]));
2872
2876
  return n2;
2873
- }, Dn = (t2) => Math.max(0, Math.min(1, t2)), Ln = (t2) => ((t2 %= 360) < 0 && (t2 -= 360), t2), Bn = (t2) => {
2877
+ }, Dn = (t2) => Math.max(0, Math.min(1, t2)), Bn = (t2) => ((t2 %= 360) < 0 && (t2 -= 360), t2), Ln = (t2) => {
2874
2878
  const e2 = [...t2];
2875
2879
  for (var n2 = 0; n2 < t2.length; n2++) e2[n2] = zn(t2[n2]);
2876
2880
  return e2;
@@ -2892,7 +2896,7 @@ const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table: Pe,
2892
2896
  }, $n = 0, Gn = 1, Un = 2, Jn = 0, qn = 1, Kn = 2, Xn = 0, Yn = 1, Qn = 2, Zn = (t2, e2) => {
2893
2897
  let n2 = e2 / 100;
2894
2898
  return ((t3, e3) => {
2895
- let n3 = Bn(t3);
2899
+ let n3 = Ln(t3);
2896
2900
  n3[0] = e3(n3[0], n3), n3[1] = e3(n3[1], n3), n3[2] = e3(n3[2], n3);
2897
2901
  let r2 = Pn(n3);
2898
2902
  return r2 = On(r2), r2;
@@ -2904,13 +2908,13 @@ const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table: Pe,
2904
2908
  let l2 = Hn(n2);
2905
2909
  return l2 = On(l2), l2;
2906
2910
  }, nr = (t2, e2) => {
2907
- let n2 = Bn(t2), r2 = e2 / 100;
2911
+ let n2 = Ln(t2), r2 = e2 / 100;
2908
2912
  for (var o2 = 0; o2 < 3; o2++) n2[o2] = n2[o2] * r2 + (1 - r2);
2909
2913
  let s2 = Pn(n2);
2910
2914
  return s2 = On(s2), s2;
2911
2915
  }, rr = (t2, e2, n2) => {
2912
2916
  let r2 = jn(e2), o2 = n2 / 1;
2913
- t2 === $n && (o2 = Ln(n2)), r2[t2] = o2;
2917
+ t2 === $n && (o2 = Bn(n2)), r2[t2] = o2;
2914
2918
  let s2 = Hn(r2);
2915
2919
  return s2 = On(s2), s2;
2916
2920
  }, or = (t2, e2, n2) => {
@@ -2926,16 +2930,16 @@ const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table: Pe,
2926
2930
  return o2 = On(o2), o2;
2927
2931
  }, sr = (t2, e2, n2) => {
2928
2932
  let r2 = jn(e2), o2 = n2 / 100;
2929
- r2[t2] = r2[t2] * o2, t2 === $n && (r2[$n] = Ln(r2[$n]));
2933
+ r2[t2] = r2[t2] * o2, t2 === $n && (r2[$n] = Bn(r2[$n]));
2930
2934
  let s2 = Hn(r2);
2931
2935
  return s2 = On(s2), s2;
2932
2936
  }, ir = (t2, e2, n2, r2) => {
2933
- let o2 = Bn(e2), s2 = n2 / 100;
2937
+ let o2 = Ln(e2), s2 = n2 / 100;
2934
2938
  r2 === Xn ? o2[t2] = s2 : r2 === Yn ? o2[t2] += s2 : r2 === Qn && (o2[t2] *= s2);
2935
2939
  let i2 = Pn(o2);
2936
2940
  return i2 = On(i2), i2;
2937
2941
  }, ar = (t2) => {
2938
- let e2 = Bn(t2), n2 = 0.213 * e2[Jn] + 0.715 * e2[qn] + 0.072 * e2[Kn];
2942
+ let e2 = Ln(t2), n2 = 0.213 * e2[Jn] + 0.715 * e2[qn] + 0.072 * e2[Kn];
2939
2943
  e2[0] = n2, e2[1] = n2, e2[2] = n2;
2940
2944
  let r2 = Pn(e2);
2941
2945
  return r2 = On(r2), r2;
@@ -2945,7 +2949,7 @@ const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table: Pe,
2945
2949
  let n2 = Hn(e2);
2946
2950
  return n2 = On(n2), n2;
2947
2951
  }, cr = (t2, e2 = true) => {
2948
- let n2 = e2 ? Bn(t2) : [...t2];
2952
+ let n2 = e2 ? Ln(t2) : [...t2];
2949
2953
  const r2 = e2 ? 1 : 255;
2950
2954
  return n2[0] = r2 - n2[0], n2[1] = r2 - n2[1], n2[2] = r2 - n2[2], e2 && (n2 = Pn(n2)), n2 = On(n2, e2), n2;
2951
2955
  }, hr = (t2) => {
@@ -3047,12 +3051,12 @@ const xr = () => vr || (vr = Intl.DateTimeFormat().resolvedOptions().locale ?? "
3047
3051
  let t3 = r2[1];
3048
3052
  Rr.test(t3) || t3.includes("-");
3049
3053
  }
3050
- if (Nr[t2] && (t2 = Nr[t2]), "number" == typeof e2) {
3051
- const r3 = Tr(t2, e2, { locale: o2, ...n2 });
3054
+ if (Tr[t2] && (t2 = Tr[t2]), "number" == typeof e2) {
3055
+ const r3 = Nr(t2, e2, { locale: o2, ...n2 });
3052
3056
  if (null !== r3) return r3.fmt;
3053
3057
  }
3054
3058
  return yn.format(t2, e2, n2);
3055
- }, Tr = (t2, e2, n2) => {
3059
+ }, Nr = (t2, e2, n2) => {
3056
3060
  if ("number" != typeof e2) return null;
3057
3061
  const r2 = to(e2, n2?.date1904 ?? false), o2 = n2?.locale ?? xr();
3058
3062
  let s2 = false, i2 = t2, a2 = -1;
@@ -3081,7 +3085,7 @@ const xr = () => vr || (vr = Intl.DateTimeFormat().resolvedOptions().locale ?? "
3081
3085
  i2 = i2.substring(0, a2) + t3 + i2.substring(a2 + 9), s2 = true;
3082
3086
  }
3083
3087
  return s2 ? { fmt: i2, date: r2 } : null;
3084
- }, Nr = Object.freeze({ "General Number": "General", "General Date": "m/d/yyyy h:mm", "Medium Date": yn.get_table()[15], "Medium Time": yn.get_table()[18], "Short Time": yn.get_table()[20], Currency: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', Fixed: yn.get_table()[2], Standard: yn.get_table()[4], Percent: yn.get_table()[10], Scientific: yn.get_table()[11], "Yes/No": '"Yes";"Yes";"No";@', "True/False": '"True";"True";"False";@', "On/Off": '"Yes";"Yes";"No";@' }), kr = Object.freeze({ black: 0, white: 1, red: 2, green: 3, blue: 4, yellow: 5, magenta: 6, cyan: 7 }), Fr = (t2) => {
3088
+ }, Tr = Object.freeze({ "General Number": "General", "General Date": "m/d/yyyy h:mm", "Medium Date": yn.get_table()[15], "Medium Time": yn.get_table()[18], "Short Time": yn.get_table()[20], Currency: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', Fixed: yn.get_table()[2], Standard: yn.get_table()[4], Percent: yn.get_table()[10], Scientific: yn.get_table()[11], "Yes/No": '"Yes";"Yes";"No";@', "True/False": '"True";"True";"False";@', "On/Off": '"Yes";"Yes";"No";@' }), kr = Object.freeze({ black: 0, white: 1, red: 2, green: 3, blue: 4, yellow: 5, magenta: 6, cyan: 7 }), Fr = (t2) => {
3085
3089
  let e2 = null;
3086
3090
  if ((t2 = t2.toLowerCase()).startsWith("color")) {
3087
3091
  const n2 = parseInt(t2.substring(5));
@@ -3092,8 +3096,8 @@ const xr = () => vr || (vr = Intl.DateTimeFormat().resolvedOptions().locale ?? "
3092
3096
  void 0 !== n2 && (e2 = Cr(n2).toString());
3093
3097
  }
3094
3098
  return e2;
3095
- }, Or = "=", Dr = "<>", Lr = ">", Br = "<", Pr = ">=", zr = "<=", Wr = /* @__PURE__ */ new Map();
3096
- Wr.set(Or, (t2, e2) => t2 === e2), Wr.set(Dr, (t2, e2) => t2 !== e2), Wr.set(Lr, (t2, e2) => t2 > e2), Wr.set(Br, (t2, e2) => t2 < e2), Wr.set(Pr, (t2, e2) => t2 >= e2), Wr.set(zr, (t2, e2) => t2 <= e2);
3099
+ }, Or = "=", Dr = "<>", Br = ">", Lr = "<", Pr = ">=", zr = "<=", Wr = /* @__PURE__ */ new Map();
3100
+ Wr.set(Or, (t2, e2) => t2 === e2), Wr.set(Dr, (t2, e2) => t2 !== e2), Wr.set(Br, (t2, e2) => t2 > e2), Wr.set(Lr, (t2, e2) => t2 < e2), Wr.set(Pr, (t2, e2) => t2 >= e2), Wr.set(zr, (t2, e2) => t2 <= e2);
3097
3101
  const Hr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Vr = /(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)/i, jr = /\[(.*?)\]/g, $r = (t2, e2) => {
3098
3102
  const n2 = { color: null, condition: null };
3099
3103
  let r2 = null, o2 = new RegExp(jr);
@@ -3118,7 +3122,7 @@ const Hr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Vr =
3118
3122
  const n3 = t3.split(";");
3119
3123
  for (let t4 = 0; t4 < n3.length; t4++) {
3120
3124
  let r3 = null;
3121
- 2 === n3.length ? 0 === t4 ? r3 = { op: Pr, comp: 0 } : 1 === t4 && (r3 = { op: Br, comp: 0 }) : 3 !== n3.length && 4 !== n3.length || (r3 = 0 === t4 ? { op: Lr, comp: 0 } : 1 === t4 ? { op: Br, comp: 0 } : 2 === t4 ? { op: Or, comp: 0 } : null);
3125
+ 2 === n3.length ? 0 === t4 ? r3 = { op: Pr, comp: 0 } : 1 === t4 && (r3 = { op: Lr, comp: 0 }) : 3 !== n3.length && 4 !== n3.length || (r3 = 0 === t4 ? { op: Br, comp: 0 } : 1 === t4 ? { op: Lr, comp: 0 } : 2 === t4 ? { op: Or, comp: 0 } : null);
3122
3126
  const o2 = n3[t4], s2 = $r(o2, r3);
3123
3127
  e3.push({ format: o2, colorAndCondition: s2 });
3124
3128
  }
@@ -3317,8 +3321,8 @@ const Eo = (t2, e2, n2 = 1e3) => {
3317
3321
  if (void 0 === t2) return 0;
3318
3322
  let e2 = t2.toString().split(".");
3319
3323
  return e2.length <= 1 ? 0 : e2[1].length || 0;
3320
- }, Ro = new RegExp(/^["|'|`](.*)["|'|`]$/), Ao = 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"), Mo = (t2 = ",", e2 = "'") => new RegExp(`\\s*${t2}\\s*(?=(?:[^${e2}]*${e2}[^${e2}]*${e2})*[^${e2}]*$)`, "g"), To = Mo(), No = (t2) => t2.replace(Ro, "$1"), ko = (t2, e2 = "'") => `${e2}${t2}${e2}`, Fo = (t2, e2 = void 0, n2 = void 0) => {
3321
- let r2 = To;
3324
+ }, Ro = new RegExp(/^["|'|`](.*)["|'|`]$/), Ao = 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"), Mo = (t2 = ",", e2 = "'") => new RegExp(`\\s*${t2}\\s*(?=(?:[^${e2}]*${e2}[^${e2}]*${e2})*[^${e2}]*$)`, "g"), No = Mo(), To = (t2) => t2.replace(Ro, "$1"), ko = (t2, e2 = "'") => `${e2}${t2}${e2}`, Fo = (t2, e2 = void 0, n2 = void 0) => {
3325
+ let r2 = No;
3322
3326
  return void 0 === e2 && void 0 === n2 || (r2 = Mo(e2, n2)), t2.split(r2);
3323
3327
  }, Oo = (t2) => {
3324
3328
  let e2;
@@ -3328,13 +3332,13 @@ const Eo = (t2, e2, n2 = 1e3) => {
3328
3332
  return false;
3329
3333
  }
3330
3334
  return ("http:" === e2.protocol || "https:" === e2.protocol) && Ao.test(t2);
3331
- }, Do = new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/i), Lo = (t2) => !!t2.toLowerCase().startsWith("mailto:") || Do.test(t2), Bo = (t2) => ((t2 >= 26 ? Bo((t2 / 26 | 0) - 1) : "") + "abcdefghijklmnopqrstuvwxyz"[t2 % 26 | 0]).toUpperCase(), Po = Object.freeze(Object.defineProperty({ __proto__: null, DefaultUnQuoteRegEx: To, camelToSnake: (t2) => t2 ? t2.replace(/[A-Z]/g, (t3) => `_${t3.toLowerCase()}`) : t2, capitalize: Co, clampString: xo, countDecimals: Io, findValidTextValue: Eo, getBaseName: (t2, e2 = false) => {
3335
+ }, Do = new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/i), Bo = (t2) => !!t2.toLowerCase().startsWith("mailto:") || Do.test(t2), Lo = (t2) => ((t2 >= 26 ? Lo((t2 / 26 | 0) - 1) : "") + "abcdefghijklmnopqrstuvwxyz"[t2 % 26 | 0]).toUpperCase(), Po = Object.freeze(Object.defineProperty({ __proto__: null, DefaultUnQuoteRegEx: No, camelToSnake: (t2) => t2 ? t2.replace(/[A-Z]/g, (t3) => `_${t3.toLowerCase()}`) : t2, capitalize: Co, clampString: xo, countDecimals: Io, findValidTextValue: Eo, getBaseName: (t2, e2 = false) => {
3332
3336
  if (!t2 || "string" != typeof t2) return "";
3333
3337
  const n2 = t2.split(/[\\/]/).pop() || "";
3334
3338
  if ("" === n2) return "";
3335
3339
  const r2 = bo(n2), o2 = 0 === r2.length ? n2 : n2.slice(0, n2.length - r2.length - 1);
3336
3340
  return e2 ? Co(o2, true) : o2;
3337
- }, getFileNameExtension: bo, isQuoted: (t2) => t2 && t2.length > 1 && Ro.test(t2) && t2[0] === t2[t2.length - 1], isValidEmail: Lo, isValidHttpUrl: Oo, numberToAlphabet: Bo, quote: ko, snakeToCamel: vo, splitUnquoted: Fo, unquote: No }, Symbol.toStringTag, { value: "Module" })), zo = (t2, e2, n2, r2 = null) => {
3341
+ }, getFileNameExtension: bo, isQuoted: (t2) => t2 && t2.length > 1 && Ro.test(t2) && t2[0] === t2[t2.length - 1], isValidEmail: Bo, isValidHttpUrl: Oo, numberToAlphabet: Lo, quote: ko, snakeToCamel: vo, splitUnquoted: Fo, unquote: To }, Symbol.toStringTag, { value: "Module" })), zo = (t2, e2, n2, r2 = null) => {
3338
3342
  const o2 = (e2 || 11 * qo.getDeviceScale()) / qo.getDeviceScale(), s2 = r2?.letterSpacing || 0, i2 = t2.length;
3339
3343
  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));
3340
3344
  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 };
@@ -3923,7 +3927,7 @@ const Is = (t2, e2 = false) => {
3923
3927
  return n2.value = t3, t3;
3924
3928
  }
3925
3929
  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;
3926
- }, Ts = function(t2, e2, n2, r2) {
3930
+ }, Ns = function(t2, e2, n2, r2) {
3927
3931
  if (0 === t2.length) {
3928
3932
  if (null != n2 || null != r2) {
3929
3933
  const t3 = e2({ min: n2 ?? r2, max: r2 ?? n2 });
@@ -3946,8 +3950,8 @@ const Is = (t2, e2 = false) => {
3946
3950
  const t3 = e2({ min: Math.min(a2 + 1, i2), max: i2 });
3947
3951
  if (t3 && t3.break) return t3;
3948
3952
  }
3949
- }, Ns = new RegExp("([0-9]+)$");
3950
- var ks, Fs, Os, Ds, Ls, Bs;
3953
+ }, Ts = new RegExp("([0-9]+)$");
3954
+ var ks, Fs, Os, Ds, Bs, Ls;
3951
3955
  ((t2) => {
3952
3956
  t2.Date = class {
3953
3957
  constructor(t3) {
@@ -4013,7 +4017,7 @@ var ks, Fs, Os, Ds, Ls, Bs;
4013
4017
  const e2 = { value: null, template: null }, n2 = { sensitivity: "accent" };
4014
4018
  t2.Ordinal = class {
4015
4019
  _template(t3) {
4016
- const e3 = t3.match(Ns);
4020
+ const e3 = t3.match(Ts);
4017
4021
  if (!e3) return null;
4018
4022
  const n3 = e3[1], r3 = t3.lastIndexOf(n3);
4019
4023
  return -1 === r3 ? null : t3.substring(0, r3);
@@ -4028,7 +4032,7 @@ var ks, Fs, Os, Ds, Ls, Bs;
4028
4032
  const n3 = [], r3 = t3[0];
4029
4033
  let o3 = null, s3 = null, i3 = 0;
4030
4034
  if (r3) {
4031
- const t4 = r3.match(Ns);
4035
+ const t4 = r3.match(Ts);
4032
4036
  if (t4) {
4033
4037
  o3 = t4[1], o3.startsWith("0") && (i3 = o3.length);
4034
4038
  const e4 = r3.lastIndexOf(o3);
@@ -4218,8 +4222,8 @@ var ks, Fs, Os, Ds, Ls, Bs;
4218
4222
  for (let t4 = s3; t4 < n3; t4++) o3.push(i3(t4));
4219
4223
  return o3;
4220
4224
  };
4221
- })(ks || (ks = {})), Fs || (Fs = {}), (Ds = Os || (Os = {})).Type = { None: "none", Solid: "solid", Gradient: "gradient", Pattern: "pattern", Image: "pattern", Background: "background", Group: "group", Custom: "custom" }, Ds.GradientType = { Linear: "linear", Path: "path", Circular: "circular", Rect: "rect" }, Ds.TileMirror = { None: "none", Vertical: "v", Horizontal: "h", Both: "b" }, Ds.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" }, (Bs = Ls || (Ls = {})).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" }, Bs.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" }, Bs.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" }, Bs.Type = { Scheme: "scheme", Named: "named", Index: "index", HSL: "hsl", RGB: "rgb", LRGB: "lrgb", Hex: "hex" };
4222
- const Ps = [[4290032820, 1, Ls.Named.ActiveBorder, true], [4288263377, 2, Ls.Named.ActiveCaption, true], [4278190080, 3, Ls.Named.CaptionText, true], [4289440683, 4, Ls.Named.AppWorkspace, true], [4293980400, 5, Ls.Named.BtnFace, true], [4285098345, 6, Ls.Named.BtnShadow, true], [4278190080, 7, Ls.Named.DkShadow3d, true], [4293125091, 8, Ls.Named.BtnHighlight, true], [4293125091, 9, Ls.Named.Light3d, true], [4278190080, 10, Ls.Named.BtnText, true], [4278190080, 11, Ls.Named.Background, true], [4285361517, 12, Ls.Named.GrayText, true], [4281571839, 13, Ls.Named.Highlight, true], [4294967295, 14, Ls.Named.HighlightText, true], [4278216396, 15, Ls.Named.HotLight, true], [4294244348, 16, Ls.Named.InactiveBorder, true], [4290760155, 17, Ls.Named.InactiveCaption, true], [4278190080, 18, Ls.Named.InactiveCaptionText, true], [4294967265, 19, Ls.Named.InfoBk, true], [4278190080, 20, Ls.Named.InfoText, true], [4293980400, 21, Ls.Named.Menu, true], [4278190080, 22, Ls.Named.MenuText, true], [4291348680, 23, Ls.Named.ScrollBar, true], [4294967295, 24, Ls.Named.Window, true], [4284769380, 25, Ls.Named.WindowFrame, true], [4278190080, 26, Ls.Named.WindowText, true], [16777215, 27, Ls.Named.Transparent], [4293982463, 28, Ls.Named.AliceBlue], [4294634455, 29, Ls.Named.AntiqueWhite], [4278255615, 30, Ls.Named.Aqua], [4286578644, 31, Ls.Named.Aquamarine], [4293984255, 32, Ls.Named.Azure], [4294309340, 33, Ls.Named.Beige], [4294960324, 34, Ls.Named.Bisque], [4278190080, 35, Ls.Named.Black], [4294962125, 36, Ls.Named.BlanchedAlmond], [4278190335, 37, Ls.Named.Blue], [4287245282, 38, Ls.Named.BlueViolet], [4289014314, 39, Ls.Named.Brown], [4292786311, 40, Ls.Named.BurlyWood], [4284456608, 41, Ls.Named.CadetBlue], [4286578432, 42, Ls.Named.Chartreuse], [4291979550, 43, Ls.Named.Chocolate], [4294934352, 44, Ls.Named.Coral], [4284782061, 45, Ls.Named.CornflowerBlue], [4294965468, 46, Ls.Named.Cornsilk], [4292613180, 47, Ls.Named.Crimson], [4278255615, 48, Ls.Named.Cyan], [4278190219, 49, Ls.Named.DkBlue], [4278225803, 50, Ls.Named.DkCyan], [4290283019, 51, Ls.Named.DkGoldenrod], [4289309097, 52, Ls.Named.DkGray], [4278215680, 53, Ls.Named.DkGreen], [4290623339, 54, Ls.Named.DkKhaki], [4287299723, 55, Ls.Named.DkMagenta], [4283788079, 56, Ls.Named.DkOliveGreen], [4294937600, 57, Ls.Named.DkOrange], [4288230092, 58, Ls.Named.DkOrchid], [4287299584, 59, Ls.Named.DkRed], [4293498490, 60, Ls.Named.DkSalmon], [4287609995, 61, Ls.Named.DkSeaGreen], [4282924427, 62, Ls.Named.DkSlateBlue], [4281290575, 63, Ls.Named.DkSlateGray], [4278243025, 64, Ls.Named.DkTurquoise], [4287889619, 65, Ls.Named.DkViolet], [4294907027, 66, Ls.Named.DeepPink], [4278239231, 67, Ls.Named.DeepSkyBlue], [4285098345, 68, Ls.Named.DimGray], [4280193279, 69, Ls.Named.DodgerBlue], [4289864226, 70, Ls.Named.Firebrick], [4294966e3, 71, Ls.Named.FloralWhite], [4280453922, 72, Ls.Named.ForestGreen], [4294902015, 73, Ls.Named.Fuchsia], [4292664540, 74, Ls.Named.Gainsboro], [4294506751, 75, Ls.Named.GhostWhite], [4294956800, 76, Ls.Named.Gold], [4292519200, 77, Ls.Named.Goldenrod], [4286611584, 78, Ls.Named.Gray], [4278222848, 79, Ls.Named.Green], [4289593135, 80, Ls.Named.GreenYellow], [4293984240, 81, Ls.Named.Honeydew], [4294928820, 82, Ls.Named.HotPink], [4291648604, 83, Ls.Named.IndianRed], [4283105410, 84, Ls.Named.Indigo], [4294967280, 85, Ls.Named.Ivory], [4293977740, 86, Ls.Named.Khaki], [4293322490, 87, Ls.Named.Lavender], [4294963445, 88, Ls.Named.LavenderBlush], [4286381056, 89, Ls.Named.LawnGreen], [4294965965, 90, Ls.Named.LemonChiffon], [4289583334, 91, Ls.Named.LtBlue], [4293951616, 92, Ls.Named.LtCoral], [4292935679, 93, Ls.Named.LtCyan], [4294638200, 94, Ls.Named.LtGoldenrodYellow], [4292072403, 95, Ls.Named.LtGray], [4287688336, 96, Ls.Named.LtGreen], [4294948545, 97, Ls.Named.LtPink], [4294942842, 98, Ls.Named.LtSalmon], [4280332970, 99, Ls.Named.LtSeaGreen], [4287090426, 100, Ls.Named.LtSkyBlue], [4286023833, 101, Ls.Named.LtSlateGray], [4289774814, 102, Ls.Named.LtSteelBlue], [4294967264, 103, Ls.Named.LtYellow], [4278255360, 104, Ls.Named.Lime], [4281519410, 105, Ls.Named.LimeGreen], [4294635750, 106, Ls.Named.Linen], [4294902015, 107, Ls.Named.Magenta], [4286578688, 108, Ls.Named.Maroon], [4284927402, 109, Ls.Named.MedAquamarine], [4278190285, 110, Ls.Named.MedBlue], [4290401747, 111, Ls.Named.MedOrchid], [4287852763, 112, Ls.Named.MedPurple], [4282168177, 113, Ls.Named.MedSeaGreen], [4286277870, 114, Ls.Named.MedSlateBlue], [4278254234, 115, Ls.Named.MedSpringGreen], [4282962380, 116, Ls.Named.MedTurquoise], [4291237253, 117, Ls.Named.MedVioletRed], [4279834992, 118, Ls.Named.MidnightBlue], [4294311930, 119, Ls.Named.MintCream], [4294960353, 120, Ls.Named.MistyRose], [4294960309, 121, Ls.Named.Moccasin], [4294958765, 122, Ls.Named.NavajoWhite], [4278190208, 123, Ls.Named.Navy], [4294833638, 124, Ls.Named.OldLace], [4286611456, 125, Ls.Named.Olive], [4285238819, 126, Ls.Named.OliveDrab], [4294944e3, 127, Ls.Named.Orange], [4294919424, 128, Ls.Named.OrangeRed], [4292505814, 129, Ls.Named.Orchid], [4293847210, 130, Ls.Named.PaleGoldenrod], [4288215960, 131, Ls.Named.PaleGreen], [4289720046, 132, Ls.Named.PaleTurquoise], [4292571283, 133, Ls.Named.PaleVioletRed], [4294963157, 134, Ls.Named.PapayaWhip], [4294957753, 135, Ls.Named.PeachPuff], [4291659071, 136, Ls.Named.Peru], [4294951115, 137, Ls.Named.Pink], [4292714717, 138, Ls.Named.Plum], [4289781990, 139, Ls.Named.PowderBlue], [4286578816, 140, Ls.Named.Purple], [4294901760, 141, Ls.Named.Red], [4290547599, 142, Ls.Named.RosyBrown], [4282477025, 143, Ls.Named.RoyalBlue], [4287317267, 144, Ls.Named.SaddleBrown], [4294606962, 145, Ls.Named.Salmon], [4294222944, 146, Ls.Named.SandyBrown], [4281240407, 147, Ls.Named.SeaGreen], [4294964718, 148, Ls.Named.SeaShell], [4288696877, 149, Ls.Named.Sienna], [4290822336, 150, Ls.Named.Silver], [4287090411, 151, Ls.Named.SkyBlue], [4285160141, 152, Ls.Named.SlateBlue], [4285563024, 153, Ls.Named.SlateGray], [4294966010, 154, Ls.Named.Snow], [4278255487, 155, Ls.Named.SpringGreen], [4282811060, 156, Ls.Named.SteelBlue], [4291998860, 157, Ls.Named.Tan], [4278222976, 158, Ls.Named.Teal], [4292394968, 159, Ls.Named.Thistle], [4294927175, 160, Ls.Named.Tomato], [4282441936, 161, Ls.Named.Turquoise], [4293821166, 162, Ls.Named.Violet], [4294303411, 163, Ls.Named.Wheat], [4294967295, 164, Ls.Named.White], [4294309365, 165, Ls.Named.WhiteSmoke], [4294967040, 166, Ls.Named.Yellow], [4288335154, 167, Ls.Named.YellowGreen], [4293980400, 168, Ls.Named.ButtonFace], [4294967295, 169, Ls.Named.ButtonHighlight], [4288716960, 170, Ls.Named.ButtonShadow], [4290367978, 171, Ls.Named.GradientActiveCaption], [4292338930, 172, Ls.Named.GradientInactiveCaption], [4293980400, 173, Ls.Named.MenuBar], [4281571839, 174, Ls.Named.MenuHighlight]];
4225
+ })(ks || (ks = {})), Fs || (Fs = {}), (Ds = Os || (Os = {})).Type = { None: "none", Solid: "solid", Gradient: "gradient", Pattern: "pattern", Image: "pattern", Background: "background", Group: "group", Custom: "custom" }, Ds.GradientType = { Linear: "linear", Path: "path", Circular: "circular", Rect: "rect" }, Ds.TileMirror = { None: "none", Vertical: "v", Horizontal: "h", Both: "b" }, Ds.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" }, (Ls = Bs || (Bs = {})).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" }, Ls.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" }, Ls.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" }, Ls.Type = { Scheme: "scheme", Named: "named", Index: "index", HSL: "hsl", RGB: "rgb", LRGB: "lrgb", Hex: "hex" };
4226
+ const Ps = [[4290032820, 1, Bs.Named.ActiveBorder, true], [4288263377, 2, Bs.Named.ActiveCaption, true], [4278190080, 3, Bs.Named.CaptionText, true], [4289440683, 4, Bs.Named.AppWorkspace, true], [4293980400, 5, Bs.Named.BtnFace, true], [4285098345, 6, Bs.Named.BtnShadow, true], [4278190080, 7, Bs.Named.DkShadow3d, true], [4293125091, 8, Bs.Named.BtnHighlight, true], [4293125091, 9, Bs.Named.Light3d, true], [4278190080, 10, Bs.Named.BtnText, true], [4278190080, 11, Bs.Named.Background, true], [4285361517, 12, Bs.Named.GrayText, true], [4281571839, 13, Bs.Named.Highlight, true], [4294967295, 14, Bs.Named.HighlightText, true], [4278216396, 15, Bs.Named.HotLight, true], [4294244348, 16, Bs.Named.InactiveBorder, true], [4290760155, 17, Bs.Named.InactiveCaption, true], [4278190080, 18, Bs.Named.InactiveCaptionText, true], [4294967265, 19, Bs.Named.InfoBk, true], [4278190080, 20, Bs.Named.InfoText, true], [4293980400, 21, Bs.Named.Menu, true], [4278190080, 22, Bs.Named.MenuText, true], [4291348680, 23, Bs.Named.ScrollBar, true], [4294967295, 24, Bs.Named.Window, true], [4284769380, 25, Bs.Named.WindowFrame, true], [4278190080, 26, Bs.Named.WindowText, true], [16777215, 27, Bs.Named.Transparent], [4293982463, 28, Bs.Named.AliceBlue], [4294634455, 29, Bs.Named.AntiqueWhite], [4278255615, 30, Bs.Named.Aqua], [4286578644, 31, Bs.Named.Aquamarine], [4293984255, 32, Bs.Named.Azure], [4294309340, 33, Bs.Named.Beige], [4294960324, 34, Bs.Named.Bisque], [4278190080, 35, Bs.Named.Black], [4294962125, 36, Bs.Named.BlanchedAlmond], [4278190335, 37, Bs.Named.Blue], [4287245282, 38, Bs.Named.BlueViolet], [4289014314, 39, Bs.Named.Brown], [4292786311, 40, Bs.Named.BurlyWood], [4284456608, 41, Bs.Named.CadetBlue], [4286578432, 42, Bs.Named.Chartreuse], [4291979550, 43, Bs.Named.Chocolate], [4294934352, 44, Bs.Named.Coral], [4284782061, 45, Bs.Named.CornflowerBlue], [4294965468, 46, Bs.Named.Cornsilk], [4292613180, 47, Bs.Named.Crimson], [4278255615, 48, Bs.Named.Cyan], [4278190219, 49, Bs.Named.DkBlue], [4278225803, 50, Bs.Named.DkCyan], [4290283019, 51, Bs.Named.DkGoldenrod], [4289309097, 52, Bs.Named.DkGray], [4278215680, 53, Bs.Named.DkGreen], [4290623339, 54, Bs.Named.DkKhaki], [4287299723, 55, Bs.Named.DkMagenta], [4283788079, 56, Bs.Named.DkOliveGreen], [4294937600, 57, Bs.Named.DkOrange], [4288230092, 58, Bs.Named.DkOrchid], [4287299584, 59, Bs.Named.DkRed], [4293498490, 60, Bs.Named.DkSalmon], [4287609995, 61, Bs.Named.DkSeaGreen], [4282924427, 62, Bs.Named.DkSlateBlue], [4281290575, 63, Bs.Named.DkSlateGray], [4278243025, 64, Bs.Named.DkTurquoise], [4287889619, 65, Bs.Named.DkViolet], [4294907027, 66, Bs.Named.DeepPink], [4278239231, 67, Bs.Named.DeepSkyBlue], [4285098345, 68, Bs.Named.DimGray], [4280193279, 69, Bs.Named.DodgerBlue], [4289864226, 70, Bs.Named.Firebrick], [4294966e3, 71, Bs.Named.FloralWhite], [4280453922, 72, Bs.Named.ForestGreen], [4294902015, 73, Bs.Named.Fuchsia], [4292664540, 74, Bs.Named.Gainsboro], [4294506751, 75, Bs.Named.GhostWhite], [4294956800, 76, Bs.Named.Gold], [4292519200, 77, Bs.Named.Goldenrod], [4286611584, 78, Bs.Named.Gray], [4278222848, 79, Bs.Named.Green], [4289593135, 80, Bs.Named.GreenYellow], [4293984240, 81, Bs.Named.Honeydew], [4294928820, 82, Bs.Named.HotPink], [4291648604, 83, Bs.Named.IndianRed], [4283105410, 84, Bs.Named.Indigo], [4294967280, 85, Bs.Named.Ivory], [4293977740, 86, Bs.Named.Khaki], [4293322490, 87, Bs.Named.Lavender], [4294963445, 88, Bs.Named.LavenderBlush], [4286381056, 89, Bs.Named.LawnGreen], [4294965965, 90, Bs.Named.LemonChiffon], [4289583334, 91, Bs.Named.LtBlue], [4293951616, 92, Bs.Named.LtCoral], [4292935679, 93, Bs.Named.LtCyan], [4294638200, 94, Bs.Named.LtGoldenrodYellow], [4292072403, 95, Bs.Named.LtGray], [4287688336, 96, Bs.Named.LtGreen], [4294948545, 97, Bs.Named.LtPink], [4294942842, 98, Bs.Named.LtSalmon], [4280332970, 99, Bs.Named.LtSeaGreen], [4287090426, 100, Bs.Named.LtSkyBlue], [4286023833, 101, Bs.Named.LtSlateGray], [4289774814, 102, Bs.Named.LtSteelBlue], [4294967264, 103, Bs.Named.LtYellow], [4278255360, 104, Bs.Named.Lime], [4281519410, 105, Bs.Named.LimeGreen], [4294635750, 106, Bs.Named.Linen], [4294902015, 107, Bs.Named.Magenta], [4286578688, 108, Bs.Named.Maroon], [4284927402, 109, Bs.Named.MedAquamarine], [4278190285, 110, Bs.Named.MedBlue], [4290401747, 111, Bs.Named.MedOrchid], [4287852763, 112, Bs.Named.MedPurple], [4282168177, 113, Bs.Named.MedSeaGreen], [4286277870, 114, Bs.Named.MedSlateBlue], [4278254234, 115, Bs.Named.MedSpringGreen], [4282962380, 116, Bs.Named.MedTurquoise], [4291237253, 117, Bs.Named.MedVioletRed], [4279834992, 118, Bs.Named.MidnightBlue], [4294311930, 119, Bs.Named.MintCream], [4294960353, 120, Bs.Named.MistyRose], [4294960309, 121, Bs.Named.Moccasin], [4294958765, 122, Bs.Named.NavajoWhite], [4278190208, 123, Bs.Named.Navy], [4294833638, 124, Bs.Named.OldLace], [4286611456, 125, Bs.Named.Olive], [4285238819, 126, Bs.Named.OliveDrab], [4294944e3, 127, Bs.Named.Orange], [4294919424, 128, Bs.Named.OrangeRed], [4292505814, 129, Bs.Named.Orchid], [4293847210, 130, Bs.Named.PaleGoldenrod], [4288215960, 131, Bs.Named.PaleGreen], [4289720046, 132, Bs.Named.PaleTurquoise], [4292571283, 133, Bs.Named.PaleVioletRed], [4294963157, 134, Bs.Named.PapayaWhip], [4294957753, 135, Bs.Named.PeachPuff], [4291659071, 136, Bs.Named.Peru], [4294951115, 137, Bs.Named.Pink], [4292714717, 138, Bs.Named.Plum], [4289781990, 139, Bs.Named.PowderBlue], [4286578816, 140, Bs.Named.Purple], [4294901760, 141, Bs.Named.Red], [4290547599, 142, Bs.Named.RosyBrown], [4282477025, 143, Bs.Named.RoyalBlue], [4287317267, 144, Bs.Named.SaddleBrown], [4294606962, 145, Bs.Named.Salmon], [4294222944, 146, Bs.Named.SandyBrown], [4281240407, 147, Bs.Named.SeaGreen], [4294964718, 148, Bs.Named.SeaShell], [4288696877, 149, Bs.Named.Sienna], [4290822336, 150, Bs.Named.Silver], [4287090411, 151, Bs.Named.SkyBlue], [4285160141, 152, Bs.Named.SlateBlue], [4285563024, 153, Bs.Named.SlateGray], [4294966010, 154, Bs.Named.Snow], [4278255487, 155, Bs.Named.SpringGreen], [4282811060, 156, Bs.Named.SteelBlue], [4291998860, 157, Bs.Named.Tan], [4278222976, 158, Bs.Named.Teal], [4292394968, 159, Bs.Named.Thistle], [4294927175, 160, Bs.Named.Tomato], [4282441936, 161, Bs.Named.Turquoise], [4293821166, 162, Bs.Named.Violet], [4294303411, 163, Bs.Named.Wheat], [4294967295, 164, Bs.Named.White], [4294309365, 165, Bs.Named.WhiteSmoke], [4294967040, 166, Bs.Named.Yellow], [4288335154, 167, Bs.Named.YellowGreen], [4293980400, 168, Bs.Named.ButtonFace], [4294967295, 169, Bs.Named.ButtonHighlight], [4288716960, 170, Bs.Named.ButtonShadow], [4290367978, 171, Bs.Named.GradientActiveCaption], [4292338930, 172, Bs.Named.GradientInactiveCaption], [4293980400, 173, Bs.Named.MenuBar], [4281571839, 174, Bs.Named.MenuHighlight]];
4223
4227
  const zs = new class {
4224
4228
  constructor() {
4225
4229
  this._lookupByName = /* @__PURE__ */ new Map();
@@ -4231,7 +4235,7 @@ const zs = new class {
4231
4235
  valueOfName(t2) {
4232
4236
  return this._lookupByName.get(t2 ? t2.toLowerCase() : "transparent");
4233
4237
  }
4234
- }(), Ws = [{ scheme: Ls.Scheme.Tx1, description: "First Text Color" }, { scheme: Ls.Scheme.Tx2, description: "Second Text Color" }, { scheme: Ls.Scheme.Bg1, description: "First Background Color" }, { scheme: Ls.Scheme.Bg2, description: "Second Background Color" }, { scheme: Ls.Scheme.Accent1, description: "Accent 1" }, { scheme: Ls.Scheme.Accent2, description: "Accent 2" }, { scheme: Ls.Scheme.Accent3, description: "Accent 3" }, { scheme: Ls.Scheme.Accent4, description: "Accent 4" }, { scheme: Ls.Scheme.Accent5, description: "Accent 5" }, { scheme: Ls.Scheme.Accent6, description: "Accent 6" }, { scheme: Ls.Scheme.Hlink, description: "Hyperlink" }, { scheme: Ls.Scheme.FolHlink, description: "Followed Hyperlink" }, { scheme: "dk1", description: "Text/Background - Dark 1" }, { scheme: "lt1", description: "Text/Background - Light 1" }, { scheme: "dk2", description: "Text/Background - Dark 2" }, { scheme: "lt2", description: "Text/Background - Light 2" }], Hs = /* @__PURE__ */ new Map();
4238
+ }(), Ws = [{ scheme: Bs.Scheme.Tx1, description: "First Text Color" }, { scheme: Bs.Scheme.Tx2, description: "Second Text Color" }, { scheme: Bs.Scheme.Bg1, description: "First Background Color" }, { scheme: Bs.Scheme.Bg2, description: "Second Background Color" }, { scheme: Bs.Scheme.Accent1, description: "Accent 1" }, { scheme: Bs.Scheme.Accent2, description: "Accent 2" }, { scheme: Bs.Scheme.Accent3, description: "Accent 3" }, { scheme: Bs.Scheme.Accent4, description: "Accent 4" }, { scheme: Bs.Scheme.Accent5, description: "Accent 5" }, { scheme: Bs.Scheme.Accent6, description: "Accent 6" }, { scheme: Bs.Scheme.Hlink, description: "Hyperlink" }, { scheme: Bs.Scheme.FolHlink, description: "Followed Hyperlink" }, { scheme: "dk1", description: "Text/Background - Dark 1" }, { scheme: "lt1", description: "Text/Background - Light 1" }, { scheme: "dk2", description: "Text/Background - Dark 2" }, { scheme: "lt2", description: "Text/Background - Light 2" }], Hs = /* @__PURE__ */ new Map();
4235
4239
  for (let t2 = 0; t2 < Ws.length; t2++) Hs.set(Ws[t2].scheme.toLowerCase(), Ws[t2]);
4236
4240
  const Vs = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], alpha: void 0 !== t2.alpha ? t2.alpha : 1 } : null, js = function(t2, e2, n2, r2) {
4237
4241
  let o2 = Vs(((t3) => {
@@ -4240,52 +4244,52 @@ const Vs = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], a
4240
4244
  })(t2)), s2 = null, i2 = null, a2 = null;
4241
4245
  if (null === o2 && (l2 = t2, Hs.get(l2.toLowerCase()))) {
4242
4246
  if (!e2) throw new Error("a scheme val was used but a schemeLookup was not provided");
4243
- s2 = t2, i2 = e2(s2), o2 = Vs(i2), a2 = Ls.Type.Scheme;
4247
+ s2 = t2, i2 = e2(s2), o2 = Vs(i2), a2 = Bs.Type.Scheme;
4244
4248
  }
4245
4249
  var l2;
4246
4250
  if (null === o2) {
4247
4251
  let e3 = t2.match(An) || t2.match(Mn);
4248
4252
  if (e3) {
4249
4253
  let t3, n3 = 1;
4250
- 4 === e3.length ? t3 = [parseInt(e3[1], 16), parseInt(e3[2], 16), parseInt(e3[3], 16)] : (t3 = [parseInt(e3[2], 16), parseInt(e3[3], 16), parseInt(e3[4], 16)], n3 = Dn(parseInt(e3[1], 16) / 255)), t3 = kn(t3), t3 = On(t3), o2 = { srgb: t3, alpha: n3 }, a2 = Ls.Type.Hex;
4254
+ 4 === e3.length ? t3 = [parseInt(e3[1], 16), parseInt(e3[2], 16), parseInt(e3[3], 16)] : (t3 = [parseInt(e3[2], 16), parseInt(e3[3], 16), parseInt(e3[4], 16)], n3 = Dn(parseInt(e3[1], 16) / 255)), t3 = kn(t3), t3 = On(t3), o2 = { srgb: t3, alpha: n3 }, a2 = Bs.Type.Hex;
4251
4255
  }
4252
4256
  }
4253
4257
  if (null === o2) {
4254
4258
  let e3 = t2.match(Cn) || t2.match(bn);
4255
4259
  if (e3) {
4256
- let t3 = Nn(e3[1], e3[2], e3[3]);
4257
- t3 = kn(t3), t3 = On(t3), o2 = { srgb: t3, alpha: e3[4] ? Dn(parseFloat(e3[4])) : 1 }, a2 = Ls.Type.RGB;
4260
+ let t3 = Tn(e3[1], e3[2], e3[3]);
4261
+ t3 = kn(t3), t3 = On(t3), o2 = { srgb: t3, alpha: e3[4] ? Dn(parseFloat(e3[4])) : 1 }, a2 = Bs.Type.RGB;
4258
4262
  }
4259
4263
  }
4260
4264
  if (null === o2) {
4261
4265
  let e3 = t2.match(vn) || t2.match(xn);
4262
4266
  if (e3) {
4263
- let t3 = Nn(e3[1], e3[2], e3[3]);
4264
- t3 = kn(t3, 100), t3 = Pn(t3), t3 = On(t3), o2 = { srgb: t3, alpha: e3[4] ? Dn(parseFloat(e3[4])) : 1 }, a2 = Ls.Type.LRGB;
4267
+ let t3 = Tn(e3[1], e3[2], e3[3]);
4268
+ t3 = kn(t3, 100), t3 = Pn(t3), t3 = On(t3), o2 = { srgb: t3, alpha: e3[4] ? Dn(parseFloat(e3[4])) : 1 }, a2 = Bs.Type.LRGB;
4265
4269
  }
4266
4270
  }
4267
4271
  if (null === o2) {
4268
4272
  let e3 = t2.match(In) || t2.match(Rn);
4269
4273
  if (e3) {
4270
- let t3 = Nn(e3[1], e3[2], e3[3]);
4271
- t3 = Hn(t3), t3 = On(t3), o2 = { srgb: t3, alpha: e3[4] ? Dn(parseFloat(e3[4])) : 1 }, a2 = Ls.Type.HSL;
4274
+ let t3 = Tn(e3[1], e3[2], e3[3]);
4275
+ t3 = Hn(t3), t3 = On(t3), o2 = { srgb: t3, alpha: e3[4] ? Dn(parseFloat(e3[4])) : 1 }, a2 = Bs.Type.HSL;
4272
4276
  }
4273
4277
  }
4274
4278
  if (null === o2) {
4275
- let e3 = t2.match(Tn);
4279
+ let e3 = t2.match(Nn);
4276
4280
  if (e3) {
4277
4281
  const t3 = parseInt(e3[1]);
4278
4282
  let r3 = n2?.(t3) ?? Cr(t3);
4279
- r3 && (o2 = { srgb: [r3.red / 255, r3.green / 255, r3.blue / 255], alpha: r3.alpha }, a2 = Ls.Type.Index);
4283
+ r3 && (o2 = { srgb: [r3.red / 255, r3.green / 255, r3.blue / 255], alpha: r3.alpha }, a2 = Bs.Type.Index);
4280
4284
  }
4281
4285
  }
4282
4286
  if (null === o2) throw new Error("Not a valid color format: " + t2);
4283
4287
  return { srgbAlpha: o2, key: s2, color: i2, type: a2 };
4284
- }, $s = /* @__PURE__ */ new Map(), Gs = Object.keys(Ls.AdjustmentType);
4285
- for (let t2 = 0; t2 < Gs.length; t2++) $s.set(Ls.AdjustmentType[Gs[t2]].toLowerCase(), Ls.AdjustmentType[Gs[t2]]);
4288
+ }, $s = /* @__PURE__ */ new Map(), Gs = Object.keys(Bs.AdjustmentType);
4289
+ for (let t2 = 0; t2 < Gs.length; t2++) $s.set(Bs.AdjustmentType[Gs[t2]].toLowerCase(), Bs.AdjustmentType[Gs[t2]]);
4286
4290
  const Us = new RegExp("\\s+\\s*(?![^()]*\\))|,\\s*(?![^()]*\\))"), Js = new RegExp("\\s*[,]\\s*|\\s+");
4287
4291
  let qs = null;
4288
- const Ks = { [Ls.Scheme.Bg1]: "window", [Ls.Scheme.Bg2]: "E7E6E6", [Ls.Scheme.Tx1]: "windowText", [Ls.Scheme.Tx2]: "44546A", [Ls.Scheme.Accent1]: "4472C4", [Ls.Scheme.Accent2]: "ED7D31", [Ls.Scheme.Accent3]: "A5A5A5", [Ls.Scheme.Accent4]: "FFC000", [Ls.Scheme.Accent5]: "5B9BD5", [Ls.Scheme.Accent6]: "70AD47", [Ls.Scheme.Hlink]: "0563C1", [Ls.Scheme.FolHlink]: "954F72" };
4292
+ const Ks = { [Bs.Scheme.Bg1]: "window", [Bs.Scheme.Bg2]: "E7E6E6", [Bs.Scheme.Tx1]: "windowText", [Bs.Scheme.Tx2]: "44546A", [Bs.Scheme.Accent1]: "4472C4", [Bs.Scheme.Accent2]: "ED7D31", [Bs.Scheme.Accent3]: "A5A5A5", [Bs.Scheme.Accent4]: "FFC000", [Bs.Scheme.Accent5]: "5B9BD5", [Bs.Scheme.Accent6]: "70AD47", [Bs.Scheme.Hlink]: "0563C1", [Bs.Scheme.FolHlink]: "954F72" };
4289
4293
  class Xs {
4290
4294
  constructor(t2, e2, n2, r2 = null) {
4291
4295
  let o2 = null, s2 = null;
@@ -4308,7 +4312,7 @@ class Xs {
4308
4312
  const n3 = $s.get(e3.toLowerCase());
4309
4313
  if (!n3) throw new Error("Invalid adjustment type:" + e3);
4310
4314
  let r3 = null;
4311
- if (n3 === Ls.AdjustmentType.Gray || n3 === Ls.AdjustmentType.Comp || n3 === Ls.AdjustmentType.Inv || n3 === Ls.AdjustmentType.Gamma || n3 === Ls.AdjustmentType.InvGamma) ;
4315
+ if (n3 === Bs.AdjustmentType.Gray || n3 === Bs.AdjustmentType.Comp || n3 === Bs.AdjustmentType.Inv || n3 === Bs.AdjustmentType.Gamma || n3 === Bs.AdjustmentType.InvGamma) ;
4312
4316
  else {
4313
4317
  t3++;
4314
4318
  const n4 = s2[t3];
@@ -4330,10 +4334,10 @@ class Xs {
4330
4334
  const s3 = (t4) => Math.round(Math.max(0, Math.min(255, t4))), i2 = t3[0], a2 = t3[1], l2 = t3[2];
4331
4335
  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)];
4332
4336
  })(n2, 180), n2 = cr(n2, false);
4333
- let r2 = Bn(n2);
4337
+ let r2 = Ln(n2);
4334
4338
  const o2 = jn(r2);
4335
4339
  if (o2[Un] = 0.95 * o2[Un], r2 = Hn(o2), n2 = Pn(r2), n2 = Fn(n2), n2 = On(n2, false), t2) return new pr.RGBA(n2[0], n2[1], n2[2], e2.alpha);
4336
- const s2 = jn(Bn(n2));
4340
+ const s2 = jn(Ln(n2));
4337
4341
  return new pr.HSLA(s2[0], s2[1], s2[2], e2.alpha);
4338
4342
  }
4339
4343
  _resolve() {
@@ -4347,7 +4351,7 @@ class Xs {
4347
4351
  let n3 = [...t3.srgb], r3 = void 0 !== t3.alpha ? t3.alpha : 1;
4348
4352
  for (var o2 = 0; e3 && o2 < e3.length; o2++) {
4349
4353
  const t4 = e3[o2], s2 = Object.keys(t4)[0], i2 = t4[s2];
4350
- s2 === Ls.AdjustmentType.Alpha ? (r3 = i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === Ls.AdjustmentType.AlphaOff ? (r3 += i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === Ls.AdjustmentType.AlphaMod ? (r3 *= i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === Ls.AdjustmentType.Hue ? n3 = rr($n, n3, i2) : s2 === Ls.AdjustmentType.Sat ? n3 = rr(Gn, n3, i2) : s2 === Ls.AdjustmentType.Lum ? n3 = rr(Un, n3, i2) : s2 === Ls.AdjustmentType.HueOff ? n3 = or($n, n3, i2) : s2 === Ls.AdjustmentType.SatOff ? n3 = or(Gn, n3, i2) : s2 === Ls.AdjustmentType.LumOff ? n3 = or(Un, n3, i2) : s2 === Ls.AdjustmentType.HueMod ? n3 = sr($n, n3, i2) : s2 === Ls.AdjustmentType.SatMod ? n3 = sr(Gn, n3, i2) : s2 === Ls.AdjustmentType.LumMod ? n3 = sr(Un, n3, i2) : s2 === Ls.AdjustmentType.Red ? n3 = ir(Jn, n3, i2, Xn) : s2 === Ls.AdjustmentType.Green ? n3 = ir(qn, n3, i2, Xn) : s2 === Ls.AdjustmentType.Blue ? n3 = ir(Kn, n3, i2, Xn) : s2 === Ls.AdjustmentType.RedOff ? n3 = ir(Jn, n3, i2, Yn) : s2 === Ls.AdjustmentType.GreenOff ? n3 = ir(qn, n3, i2, Yn) : s2 === Ls.AdjustmentType.BlueOff ? n3 = ir(Kn, n3, i2, Yn) : s2 === Ls.AdjustmentType.RedMod ? n3 = ir(Jn, n3, i2, Qn) : s2 === Ls.AdjustmentType.GreenMod ? n3 = ir(qn, n3, i2, Qn) : s2 === Ls.AdjustmentType.BlueMod ? n3 = ir(Kn, n3, i2, Qn) : s2 === Ls.AdjustmentType.Shade ? n3 = Zn(n3, i2) : s2 === Ls.AdjustmentType.Tint ? n3 = nr(n3, i2) : s2 === Ls.AdjustmentType.ETint ? n3 = er(n3, i2) : s2 === Ls.AdjustmentType.Gray ? n3 = ar(n3) : s2 === Ls.AdjustmentType.Comp ? n3 = lr(n3) : s2 === Ls.AdjustmentType.Inv ? n3 = cr(n3, i2) : s2 === Ls.AdjustmentType.Gamma ? n3 = hr(n3) : s2 === Ls.AdjustmentType.InvGamma ? n3 = dr(n3) : console.warn("unknown adjustmentType: " + s2);
4354
+ s2 === Bs.AdjustmentType.Alpha ? (r3 = i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === Bs.AdjustmentType.AlphaOff ? (r3 += i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === Bs.AdjustmentType.AlphaMod ? (r3 *= i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === Bs.AdjustmentType.Hue ? n3 = rr($n, n3, i2) : s2 === Bs.AdjustmentType.Sat ? n3 = rr(Gn, n3, i2) : s2 === Bs.AdjustmentType.Lum ? n3 = rr(Un, n3, i2) : s2 === Bs.AdjustmentType.HueOff ? n3 = or($n, n3, i2) : s2 === Bs.AdjustmentType.SatOff ? n3 = or(Gn, n3, i2) : s2 === Bs.AdjustmentType.LumOff ? n3 = or(Un, n3, i2) : s2 === Bs.AdjustmentType.HueMod ? n3 = sr($n, n3, i2) : s2 === Bs.AdjustmentType.SatMod ? n3 = sr(Gn, n3, i2) : s2 === Bs.AdjustmentType.LumMod ? n3 = sr(Un, n3, i2) : s2 === Bs.AdjustmentType.Red ? n3 = ir(Jn, n3, i2, Xn) : s2 === Bs.AdjustmentType.Green ? n3 = ir(qn, n3, i2, Xn) : s2 === Bs.AdjustmentType.Blue ? n3 = ir(Kn, n3, i2, Xn) : s2 === Bs.AdjustmentType.RedOff ? n3 = ir(Jn, n3, i2, Yn) : s2 === Bs.AdjustmentType.GreenOff ? n3 = ir(qn, n3, i2, Yn) : s2 === Bs.AdjustmentType.BlueOff ? n3 = ir(Kn, n3, i2, Yn) : s2 === Bs.AdjustmentType.RedMod ? n3 = ir(Jn, n3, i2, Qn) : s2 === Bs.AdjustmentType.GreenMod ? n3 = ir(qn, n3, i2, Qn) : s2 === Bs.AdjustmentType.BlueMod ? n3 = ir(Kn, n3, i2, Qn) : s2 === Bs.AdjustmentType.Shade ? n3 = Zn(n3, i2) : s2 === Bs.AdjustmentType.Tint ? n3 = nr(n3, i2) : s2 === Bs.AdjustmentType.ETint ? n3 = er(n3, i2) : s2 === Bs.AdjustmentType.Gray ? n3 = ar(n3) : s2 === Bs.AdjustmentType.Comp ? n3 = lr(n3) : s2 === Bs.AdjustmentType.Inv ? n3 = cr(n3, i2) : s2 === Bs.AdjustmentType.Gamma ? n3 = hr(n3) : s2 === Bs.AdjustmentType.InvGamma ? n3 = dr(n3) : console.warn("unknown adjustmentType: " + s2);
4351
4355
  }
4352
4356
  return { srgb: n3, alpha: r3 };
4353
4357
  })(t2.srgbAlpha, this._private.adjs), n2 = ((t3, e3 = 255) => {
@@ -4376,7 +4380,7 @@ class Xs {
4376
4380
  const r3 = $s.get(n3.toLowerCase());
4377
4381
  if (!r3) throw new Error("Invalid adjustment type:" + n3);
4378
4382
  let s3 = null;
4379
- if (r3 === Ls.AdjustmentType.Gray || r3 === Ls.AdjustmentType.Comp || r3 === Ls.AdjustmentType.Inv || r3 === Ls.AdjustmentType.Gamma || r3 === Ls.AdjustmentType.InvGamma) ;
4383
+ if (r3 === Bs.AdjustmentType.Gray || r3 === Bs.AdjustmentType.Comp || r3 === Bs.AdjustmentType.Inv || r3 === Bs.AdjustmentType.Gamma || r3 === Bs.AdjustmentType.InvGamma) ;
4380
4384
  else {
4381
4385
  e3++;
4382
4386
  const t4 = o3[e3];
@@ -4533,7 +4537,7 @@ const wi = (t2, e2, n2, r2, o2) => {
4533
4537
  const s2 = JSON.parse(JSON.stringify(t2.definition));
4534
4538
  s2.adjs || (s2.adjs = []);
4535
4539
  let i2 = "", a2 = 0, l2 = 0;
4536
- e2 > 0 ? (l2 = e2, a2 = 100 - e2, i2 = `Lighter ${e2}%`) : e2 < 0 && (a2 = 100 + e2, i2 = `Darker ${-e2}%`), a2 && s2.adjs.push({ [Ls.AdjustmentType.LumMod]: a2 }), l2 && s2.adjs.push({ [Ls.AdjustmentType.LumOff]: l2 });
4540
+ e2 > 0 ? (l2 = e2, a2 = 100 - e2, i2 = `Lighter ${e2}%`) : e2 < 0 && (a2 = 100 + e2, i2 = `Darker ${-e2}%`), a2 && s2.adjs.push({ [Bs.AdjustmentType.LumMod]: a2 }), l2 && s2.adjs.push({ [Bs.AdjustmentType.LumOff]: l2 });
4537
4541
  const c2 = new Xs({ val: s2.val, adjs: s2.adjs }, n2), h2 = c2.toString();
4538
4542
  r2?.set(h2, c2);
4539
4543
  const d2 = c2.toRGBA().toString();
@@ -4553,13 +4557,13 @@ const wi = (t2, e2, n2, r2, o2) => {
4553
4557
  };
4554
4558
  var Ei, Ci;
4555
4559
  (Ei || (Ei = {})).buildPalette = yi, (Ci || (Ci = {})).BuiltInFilterType = { BuiltIn: "builtIn", All: "all", Custom: "custom" };
4556
- const bi = [["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"]], vi = [["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"]], xi = [["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"]], Ii = "Themes is readonly. To make modifications create a new DocsThemes instance.", Ri = { [Ls.Scheme.Bg1]: "lt1", [Ls.Scheme.Bg2]: "lt2", [Ls.Scheme.Tx1]: "dk1", [Ls.Scheme.Tx2]: "dk2", [Ls.Scheme.Accent1]: "accent1", [Ls.Scheme.Accent2]: "accent2", [Ls.Scheme.Accent3]: "accent3", [Ls.Scheme.Accent4]: "accent4", [Ls.Scheme.Accent5]: "accent5", [Ls.Scheme.Accent6]: "accent6", [Ls.Scheme.Hlink]: "hlink", [Ls.Scheme.FolHlink]: "folHlink" }, Ai = "Office", Mi = [Ai, "Calibri Light", "Calibri"], Ti = ["dk1", "lt1", "dk2", "lt2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hlink", "folHlink"], Ni = (t2) => {
4560
+ const bi = [["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"]], vi = [["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"]], xi = [["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"]], Ii = "Themes is readonly. To make modifications create a new DocsThemes instance.", Ri = { [Bs.Scheme.Bg1]: "lt1", [Bs.Scheme.Bg2]: "lt2", [Bs.Scheme.Tx1]: "dk1", [Bs.Scheme.Tx2]: "dk2", [Bs.Scheme.Accent1]: "accent1", [Bs.Scheme.Accent2]: "accent2", [Bs.Scheme.Accent3]: "accent3", [Bs.Scheme.Accent4]: "accent4", [Bs.Scheme.Accent5]: "accent5", [Bs.Scheme.Accent6]: "accent6", [Bs.Scheme.Hlink]: "hlink", [Bs.Scheme.FolHlink]: "folHlink" }, Ai = "Office", Mi = [Ai, "Calibri Light", "Calibri"], Ni = ["dk1", "lt1", "dk2", "lt2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hlink", "folHlink"], Ti = (t2) => {
4557
4561
  const e2 = {};
4558
4562
  for (let n2 = 0; n2 < t2.length; n2++) {
4559
4563
  const r2 = t2[n2], o2 = r2[0], s2 = { name: o2 };
4560
4564
  e2[o2] = s2;
4561
- for (let t3 = 0; t3 < Ti.length; t3++) {
4562
- const e3 = Ti[t3], n3 = r2[t3 + 1];
4565
+ for (let t3 = 0; t3 < Ni.length; t3++) {
4566
+ const e3 = Ni[t3], n3 = r2[t3 + 1];
4563
4567
  if (!n3) continue;
4564
4568
  const o3 = Xs.parse(n3);
4565
4569
  n3 && (s2[e3] = o3.toString());
@@ -4573,13 +4577,13 @@ const bi = [["Office", "windowText", "window", "0E2841", "E8E8E8", "156082", "E9
4573
4577
  e2[o2] = s2, s2.majorFont = r2[1] ?? Mi[1], s2.minorFont = r2[2] ?? Mi[2];
4574
4578
  }
4575
4579
  return e2;
4576
- }, Fi = Ni([[Ai, "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"]]), Oi = ki([Mi]), Di = Fi[Ai], Li = Oi[Ai];
4577
- let Bi = null;
4580
+ }, Fi = Ti([[Ai, "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"]]), Oi = ki([Mi]), Di = Fi[Ai], Bi = Oi[Ai];
4581
+ let Li = null;
4578
4582
  const Pi = new class {
4579
4583
  constructor() {
4580
4584
  this._colors = {};
4581
- for (let t2 = 0; t2 < Ti.length; t2++) {
4582
- const e2 = Ti[t2], n2 = Xs.parse(Di[e2]);
4585
+ for (let t2 = 0; t2 < Ni.length; t2++) {
4586
+ const e2 = Ni[t2], n2 = Xs.parse(Di[e2]);
4583
4587
  this._colors[e2] = n2;
4584
4588
  }
4585
4589
  }
@@ -4688,25 +4692,25 @@ class zi {
4688
4692
  const Wi = new class {
4689
4693
  constructor() {
4690
4694
  this._colors = {};
4691
- for (let t2 = 0; t2 < Ti.length; t2++) {
4692
- const e2 = Ti[t2], n2 = Xs.parse(Di[e2]);
4695
+ for (let t2 = 0; t2 < Ni.length; t2++) {
4696
+ const e2 = Ni[t2], n2 = Xs.parse(Di[e2]);
4693
4697
  this._colors[e2] = n2;
4694
4698
  }
4695
4699
  }
4696
4700
  getName() {
4697
- return Li.name;
4701
+ return Bi.name;
4698
4702
  }
4699
4703
  getMajorFont() {
4700
- return Li.majorFont;
4704
+ return Bi.majorFont;
4701
4705
  }
4702
4706
  getMinorFont() {
4703
- return Li.minorFont;
4707
+ return Bi.minorFont;
4704
4708
  }
4705
4709
  getMajorFallbacks() {
4706
- return Li.majorFallbacks;
4710
+ return Bi.majorFallbacks;
4707
4711
  }
4708
4712
  getMinorFallbacks() {
4709
- return Li.minorFallbacks;
4713
+ return Bi.minorFallbacks;
4710
4714
  }
4711
4715
  }();
4712
4716
  class Hi {
@@ -4747,10 +4751,10 @@ class Hi {
4747
4751
  class Vi {
4748
4752
  constructor(t2, e2 = null, n2 = null) {
4749
4753
  if (this._cacheColors = /* @__PURE__ */ new Map(), !e2 && t2?.name) {
4750
- const n3 = Bi ? Bi.get(t2.name.toLowerCase()) : null;
4754
+ const n3 = Li ? Li.get(t2.name.toLowerCase()) : null;
4751
4755
  n3 && (e2 = n3);
4752
4756
  }
4753
- if (!e2 && Bi && (e2 = Bi.get(Ai.toLowerCase())), this._name = t2?.name ?? e2?.getName(), !this._name) throw new Error("Theme must have a name.");
4757
+ if (!e2 && Li && (e2 = Li.get(Ai.toLowerCase())), this._name = t2?.name ?? e2?.getName(), !this._name) throw new Error("Theme must have a name.");
4754
4758
  this._builtInID = n2, this._delegate = e2, this._colors = new zi(t2?.colors, this._delegate?.getColorScheme()), this._fonts = new Hi(t2?.fonts, this._delegate?.getFontScheme());
4755
4759
  const r2 = Ri, o2 = {}, s2 = Object.keys(r2);
4756
4760
  for (let t3 = 0; t3 < s2.length; t3++) {
@@ -4799,20 +4803,20 @@ class Vi {
4799
4803
  }
4800
4804
  }
4801
4805
  const ji = () => {
4802
- if (Bi) return Bi;
4806
+ if (Li) return Li;
4803
4807
  const t2 = ((t3, e3, n2) => {
4804
4808
  const r2 = [];
4805
4809
  for (let o2 = 0; o2 < t3.length; o2++) {
4806
- const s2 = t3[o2], i2 = s2[0], a2 = e3[s2[1]] ?? Di, l2 = n2[s2[2]] ?? Li;
4810
+ const s2 = t3[o2], i2 = s2[0], a2 = e3[s2[1]] ?? Di, l2 = n2[s2[2]] ?? Bi;
4807
4811
  r2.push({ name: i2, colors: a2, fonts: l2 });
4808
4812
  }
4809
4813
  return r2;
4810
- })(xi, Ni(bi), ki(vi)), e2 = /* @__PURE__ */ new Map();
4814
+ })(xi, Ti(bi), ki(vi)), e2 = /* @__PURE__ */ new Map();
4811
4815
  for (let n2 = 0; n2 < t2.length; n2++) {
4812
4816
  const r2 = new Vi(t2[n2]), o2 = new Vi(null, r2, n2 + 1);
4813
4817
  e2.set(o2.getName().toLowerCase(), o2);
4814
4818
  }
4815
- return Bi = e2, e2;
4819
+ return Li = e2, e2;
4816
4820
  };
4817
4821
  class $i {
4818
4822
  constructor(t2 = null, e2 = false) {
@@ -4830,18 +4834,18 @@ class $i {
4830
4834
  getByName(t2) {
4831
4835
  t2 = t2.toLowerCase();
4832
4836
  const e2 = this._customMap.get(t2);
4833
- return e2 || (Bi.get(t2) ?? null);
4837
+ return e2 || (Li.get(t2) ?? null);
4834
4838
  }
4835
4839
  getItems(t2) {
4836
4840
  const e2 = t2?.type ?? Ci.BuiltInFilterType.All, n2 = /* @__PURE__ */ new Map();
4837
- e2 !== Ci.BuiltInFilterType.BuiltIn && e2 !== Ci.BuiltInFilterType.All || Bi.forEach((t3, e3) => n2.set(e3, t3)), e2 !== Ci.BuiltInFilterType.Custom && e2 !== Ci.BuiltInFilterType.All || this._customMap.forEach((t3, e3) => n2.set(e3, t3)), t2?.selected && n2.set(t2.selected.getName().toLowerCase(), t2.selected);
4841
+ e2 !== Ci.BuiltInFilterType.BuiltIn && e2 !== Ci.BuiltInFilterType.All || Li.forEach((t3, e3) => n2.set(e3, t3)), e2 !== Ci.BuiltInFilterType.Custom && e2 !== Ci.BuiltInFilterType.All || this._customMap.forEach((t3, e3) => n2.set(e3, t3)), t2?.selected && n2.set(t2.selected.getName().toLowerCase(), t2.selected);
4838
4842
  return ((t3) => {
4839
4843
  const e3 = [...t3];
4840
4844
  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;
4841
4845
  })(Array.from(n2.values()));
4842
4846
  }
4843
4847
  getCount() {
4844
- return this._customMap.size + Bi.size;
4848
+ return this._customMap.size + Li.size;
4845
4849
  }
4846
4850
  setCustomTheme(t2) {
4847
4851
  if (this._isReadOnly) throw new Error(Ii);
@@ -5827,7 +5831,7 @@ const _a = (t2) => "boolean" != typeof t2 ? (t2 && !t2.value && (t2.value = [-1,
5827
5831
  if (e2) for (let t3 = i2; t3 < n2; t3++) o2.push(void 0);
5828
5832
  return o2;
5829
5833
  }, Ca = Object.seal({ done: false, value: [{ min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, null] }), ba = Object.seal({ done: false, value: [-1, null] }), va = { reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: ba }, xa = Object.freeze({ reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: ba }), Ia = { min: 0, max: Number.MAX_SAFE_INTEGER }, Ra = { min: 0, max: Number.MAX_SAFE_INTEGER }, Aa = [null, null], Ma = { bounds: { min: 0, max: 0 }, overflowRun: true };
5830
- class Ta {
5834
+ class Na {
5831
5835
  constructor(t2 = 9) {
5832
5836
  this._maxEntries = Math.max(4, t2), this._minEntries = Math.max(2, Math.ceil(0.4 * this._maxEntries)), this.clear();
5833
5837
  }
@@ -5900,7 +5904,7 @@ class Ta {
5900
5904
  let i2, a2, l2;
5901
5905
  for (; n2 || o2.length; ) {
5902
5906
  if (n2 || (n2 = o2.pop(), a2 = o2[o2.length - 1], i2 = s2.pop(), l2 = true), n2.leaf) {
5903
- const r3 = Na(t2, n2.children, e2);
5907
+ const r3 = Ta(t2, n2.children, e2);
5904
5908
  if (-1 !== r3) return n2.children.splice(r3, 1), o2.push(n2), this._condense(o2), this;
5905
5909
  }
5906
5910
  l2 || n2.leaf || !Ha(n2, r2) ? a2 ? (i2++, n2 = a2.children[i2], l2 = false) : n2 = null : (o2.push(n2), s2.push(i2), i2 = 0, a2 = n2, n2 = n2.children[0]);
@@ -5948,7 +5952,7 @@ class Ta {
5948
5952
  for (; r2.push(e2), !e2.leaf && r2.length - 1 !== n2; ) {
5949
5953
  let n3, r3 = 1 / 0, o2 = 1 / 0;
5950
5954
  for (let s2 = 0; s2 < e2.children.length; s2++) {
5951
- const i2 = e2.children[s2], a2 = Ba(i2), l2 = za(t2, i2) - a2;
5955
+ const i2 = e2.children[s2], a2 = La(i2), l2 = za(t2, i2) - a2;
5952
5956
  l2 < o2 ? (o2 = l2, r3 = a2 < r3 ? a2 : r3, n3 = i2) : l2 === o2 && a2 < r3 && (r3 = a2, n3 = i2);
5953
5957
  }
5954
5958
  e2 = n3 || e2.children[0];
@@ -5972,13 +5976,13 @@ class Ta {
5972
5976
  _chooseSplitIndex(t2, e2, n2) {
5973
5977
  let r2 = -1, o2 = 1 / 0, s2 = 1 / 0;
5974
5978
  for (let i2 = e2; i2 <= n2 - e2; i2++) {
5975
- const e3 = Fa(t2, 0, i2, this.toBBox), a2 = Fa(t2, i2, n2, this.toBBox), l2 = Wa(e3, a2), c2 = Ba(e3) + Ba(a2);
5979
+ const e3 = Fa(t2, 0, i2, this.toBBox), a2 = Fa(t2, i2, n2, this.toBBox), l2 = Wa(e3, a2), c2 = La(e3) + La(a2);
5976
5980
  l2 < o2 ? (o2 = l2, r2 = i2, s2 = c2 < s2 ? c2 : s2) : l2 === o2 && c2 < s2 && (s2 = c2, r2 = i2);
5977
5981
  }
5978
5982
  return r2 || n2 - e2;
5979
5983
  }
5980
5984
  _chooseSplitAxis(t2, e2, n2) {
5981
- const r2 = t2.leaf ? this.compareMinX : Da, o2 = t2.leaf ? this.compareMinY : La;
5985
+ const r2 = t2.leaf ? this.compareMinX : Da, o2 = t2.leaf ? this.compareMinY : Ba;
5982
5986
  this._allDistMargin(t2, e2, n2, r2) < this._allDistMargin(t2, e2, n2, o2) && t2.children.sort(r2);
5983
5987
  }
5984
5988
  _allDistMargin(t2, e2, n2, r2) {
@@ -6002,7 +6006,7 @@ class Ta {
6002
6006
  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() : ka(t2[n2], this.toBBox);
6003
6007
  }
6004
6008
  }
6005
- function Na(t2, e2, n2) {
6009
+ function Ta(t2, e2, n2) {
6006
6010
  if (!n2) return e2.indexOf(t2);
6007
6011
  for (let r2 = 0; r2 < e2.length; r2++) if (n2(t2, e2[r2])) return r2;
6008
6012
  return -1;
@@ -6024,10 +6028,10 @@ function Oa(t2, e2) {
6024
6028
  function Da(t2, e2) {
6025
6029
  return t2.minX - e2.minX;
6026
6030
  }
6027
- function La(t2, e2) {
6031
+ function Ba(t2, e2) {
6028
6032
  return t2.minY - e2.minY;
6029
6033
  }
6030
- function Ba(t2) {
6034
+ function La(t2) {
6031
6035
  return (t2.maxX - t2.minX) * (t2.maxY - t2.minY);
6032
6036
  }
6033
6037
  function Pa(t2) {
@@ -6076,7 +6080,7 @@ function Ua(t2, e2, n2) {
6076
6080
  const r2 = t2[e2];
6077
6081
  t2[e2] = t2[n2], t2[n2] = r2;
6078
6082
  }
6079
- class Ja extends Ta {
6083
+ class Ja extends Na {
6080
6084
  toBBox(t2) {
6081
6085
  return { minX: 10 * t2.colStart, minY: 10 * t2.rowStart, maxX: 10 * t2.colEnd + 5, maxY: 10 * t2.rowEnd + 5 };
6082
6086
  }
@@ -6146,7 +6150,7 @@ class qa {
6146
6150
  let _2 = null;
6147
6151
  const S2 = this.getBoundingCoords();
6148
6152
  if (!S2) return this;
6149
- const w2 = n2 === h.Up || n2 === h.Left ? h.Right : h.Left, y2 = /* @__PURE__ */ new Map(), E2 = /* @__PURE__ */ new Map(), C2 = this._options?.updateEntryOptions, b2 = C2?.isMergeOnShift ?? false, v2 = C2?.isSplitOnExpand ?? false, x2 = C2?.isTrailingEdge ?? false, I2 = n2 === h.Left || n2 === h.Up, R2 = C2?.getSplit ?? nl, A2 = C2?.getShifted, M2 = C2?.onShifted, T2 = C2?.onRemoved, N2 = C2?.onMerged, k2 = C2?.onUpdated, F2 = M2 ? [] : null, O2 = T2 ? [] : null, D2 = k2 ? [] : null;
6153
+ const w2 = n2 === h.Up || n2 === h.Left ? h.Right : h.Left, y2 = /* @__PURE__ */ new Map(), E2 = /* @__PURE__ */ new Map(), C2 = this._options?.updateEntryOptions, b2 = C2?.isMergeOnShift ?? false, v2 = C2?.isSplitOnExpand ?? false, x2 = C2?.isTrailingEdge ?? false, I2 = n2 === h.Left || n2 === h.Up, R2 = C2?.getSplit ?? nl, A2 = C2?.getShifted, M2 = C2?.onShifted, N2 = C2?.onRemoved, T2 = C2?.onMerged, k2 = C2?.onUpdated, F2 = M2 ? [] : null, O2 = N2 ? [] : null, D2 = k2 ? [] : null;
6150
6154
  this.visitRanges({ colStart: e2.colStart - (a2 ? 1 : 0), rowStart: e2.rowStart - (a2 ? 0 : 1), colEnd: a2 ? S2.colEnd : e2.colEnd, rowEnd: a2 ? e2.rowEnd : S2.rowEnd }, (t3) => {
6151
6155
  if ((a2 ? t3.colEnd < e2.colStart : t3.rowEnd < e2.rowStart) && !x2) return;
6152
6156
  const r3 = ol(e2, t3, a2 ? g.Column : g.Row), o2 = t3.group;
@@ -6173,17 +6177,17 @@ class qa {
6173
6177
  }
6174
6178
  }
6175
6179
  }, w2);
6176
- let L2 = null;
6177
- L2 = r2 && (f2.length > 0 || p2.length > 0 || E2.size > 0) ? this.clone() : this, L2._updateNodes(p2, f2), E2.size > 0 && L2._updateGroupedEntries(y2, E2);
6178
- let B2 = o.EmptyArray;
6180
+ let B2 = null;
6181
+ B2 = r2 && (f2.length > 0 || p2.length > 0 || E2.size > 0) ? this.clone() : this, B2._updateNodes(p2, f2), E2.size > 0 && B2._updateGroupedEntries(y2, E2);
6182
+ let L2 = o.EmptyArray;
6179
6183
  if (b2 && S2 && _2) {
6180
6184
  let t3 = true;
6181
6185
  if (m2 > 0 && (t3 = a2 ? e2.rowStart > S2.rowStart || e2.rowEnd < S2.rowEnd : e2.colStart > S2.colStart || e2.colEnd < S2.colEnd), t3) {
6182
6186
  const t4 = Ka(_2, c.unionRanges(S2, _2), a2 ? 0 : 1, a2 ? 1 : 0);
6183
- N2 && (B2 = L2._mergeNodes(t4, false));
6187
+ T2 && (L2 = B2._mergeNodes(t4, false));
6184
6188
  }
6185
6189
  }
6186
- return k2 && D2.length > 0 && k2(D2), M2 && F2.length > 0 && M2(F2), N2 && B2.length > 0 && N2(B2), T2 && O2.length > 0 && T2(O2), L2;
6190
+ return k2 && D2.length > 0 && k2(D2), M2 && F2.length > 0 && M2(F2), T2 && L2.length > 0 && T2(L2), N2 && O2.length > 0 && N2(O2), B2;
6187
6191
  }
6188
6192
  insertNonOverlapping(t2, e2) {
6189
6193
  const n2 = e2?.onIntersect ?? ((t3, e3) => ({ ...t3, value: e3.value })), r2 = this.search(t2), s2 = /* @__PURE__ */ new Map(), i2 = /* @__PURE__ */ new Map(), a2 = this._options?.updateEntryOptions, h2 = a2?.onUpdated, d2 = a2?.onRemoved, u2 = a2?.onMerged, g2 = a2?.getSplit, m2 = a2?.getIntersect, f2 = a2?.getUpdate;
@@ -6287,7 +6291,7 @@ class qa {
6287
6291
  }
6288
6292
  w2 = t3;
6289
6293
  }
6290
- if (this._updateNodes(w2, r2, e2?.onUpdates), s2.size > 0 && this._updateGroupedEntries(s2, i2), y2 && !e2?.noMerge) {
6294
+ if (this._updateNodes(w2, r2, e2?.onUpdates), s2.size > 0 && this._updateGroupedEntries(s2, i2), y2 && !a2?.noMerge && !e2?.noMerge) {
6291
6295
  const n3 = Ka(t2, c.unionRanges(y2, t2)), r3 = this.search(n3);
6292
6296
  if (r3.length > 1) {
6293
6297
  const t3 = a2?.getMerged ?? rl;
@@ -6840,7 +6844,7 @@ const pl = "Must be an array of arrays.", _l = (t2, e2, n2) => {
6840
6844
  }
6841
6845
  if (!Array.isArray(t2)) throw new Error(pl);
6842
6846
  if (t2.length > i2) throw new d();
6843
- const l2 = e2 ? new Nt.TransposedBuilder() : new Nt.Builder();
6847
+ const l2 = e2 ? new Tt.TransposedBuilder() : new Tt.Builder();
6844
6848
  for (let e3 = 0; e3 < t2.length; e3++) {
6845
6849
  let n3 = t2[e3];
6846
6850
  if (null != n3 && 0 !== n3.length) {
@@ -6926,7 +6930,7 @@ class bl {
6926
6930
  }
6927
6931
  if (!s2) return sa;
6928
6932
  r2 || d2 !== u2 || (r2 = true), Ml.bounds.min = d2, Ml.bounds.max = u2, Ml.reverse = p2, Ml.processSkip = a2, Ml.reuseResult = Rl;
6929
- let _2 = this._major.entries(Ml), S2 = Tl();
6933
+ let _2 = this._major.entries(Ml), S2 = Nl();
6930
6934
  const w2 = (t3) => {
6931
6935
  if (!t3.nextActive) return;
6932
6936
  const e3 = (e4) => {
@@ -6966,7 +6970,7 @@ class bl {
6966
6970
  for (; S2; ) {
6967
6971
  let a3 = null;
6968
6972
  if (s3) {
6969
- let e4 = n3 ? Tl() : S2;
6973
+ let e4 = n3 ? Nl() : S2;
6970
6974
  if (a3 = y2(e4), a3) {
6971
6975
  n3 ? (e4.prevMajorCursor = S2, S2.nextMajorCursor = e4, S2 = e4) : n3 = S2, o3 = p2 ? Math.max(o3, S2.nextMinorIndex) : Math.min(o3, S2.nextMinorIndex);
6972
6976
  const r4 = S2.minorIndex;
@@ -7041,13 +7045,13 @@ class bl {
7041
7045
  if (!t2 || 0 === t2.length) return this;
7042
7046
  let a2 = Number.MAX_SAFE_INTEGER, l2 = Number.MIN_SAFE_INTEGER, c2 = 0, h2 = e2 - 1;
7043
7047
  const g2 = [], m2 = (t3, e3, n3) => {
7044
- if (h2 === n3) throw new Nt.OutOfOrderError(`Duplicate major Indices: {${n3}}.`);
7048
+ if (h2 === n3) throw new Tt.OutOfOrderError(`Duplicate major Indices: {${n3}}.`);
7045
7049
  h2 = n3, e3 = e3.sort(ul), t3 = t3.clone();
7046
7050
  let s3 = Number.MIN_SAFE_INTEGER;
7047
7051
  const i3 = e3.length;
7048
7052
  for (let h3 = 0; h3 < i3; h3++) {
7049
7053
  const i4 = e3[h3], u2 = i4[0], g3 = i4[1], m3 = u2 + g3.length - 1;
7050
- if (s3 >= u2) throw new Nt.OutOfOrderError(`Overlapping minor Indices: {${n3}, ${u2}}.`);
7054
+ if (s3 >= u2) throw new Tt.OutOfOrderError(`Overlapping minor Indices: {${n3}, ${u2}}.`);
7051
7055
  if (u2 < r2 || m3 > o2) throw new d();
7052
7056
  if (g3 && g3.length > 0) {
7053
7057
  const e4 = t3.getCount();
@@ -7179,12 +7183,12 @@ class bl {
7179
7183
  }
7180
7184
  let I2 = n2 ? f2.colStart : f2.rowStart, R2 = n2 ? f2.colEnd : f2.rowEnd, A2 = n2 ? f2.rowStart : f2.colStart, M2 = n2 ? f2.rowEnd : f2.colEnd;
7181
7185
  o2 || (A2 = Number.MAX_SAFE_INTEGER, M2 = Number.MIN_SAFE_INTEGER);
7182
- let T2 = Number.MAX_SAFE_INTEGER;
7183
- r2 && (T2 = s2 ? r2.colEnd : r2.rowEnd);
7184
- const N2 = /* @__PURE__ */ new Set(), k2 = E2 ? /* @__PURE__ */ new Map() : null, F2 = [], O2 = v2.entries(Ml), D2 = { bounds: { min: g2, max: m2 } };
7185
- let L2 = O2.next();
7186
- for (; !L2.done; ) {
7187
- const t3 = L2.value, e3 = t3[0], n3 = t3[1].clone(), r3 = n3.getCoords(), o3 = r3.min, s3 = r3.max;
7186
+ let N2 = Number.MAX_SAFE_INTEGER;
7187
+ r2 && (N2 = s2 ? r2.colEnd : r2.rowEnd);
7188
+ const T2 = /* @__PURE__ */ new Set(), k2 = E2 ? /* @__PURE__ */ new Map() : null, F2 = [], O2 = v2.entries(Ml), D2 = { bounds: { min: g2, max: m2 } };
7189
+ let B2 = O2.next();
7190
+ for (; !B2.done; ) {
7191
+ const t3 = B2.value, e3 = t3[0], n3 = t3[1].clone(), r3 = n3.getCoords(), o3 = r3.min, s3 = r3.max;
7188
7192
  if (E2 && k2.set(e3, n3), g2 <= s3) {
7189
7193
  const t4 = n3.getCount();
7190
7194
  E2 ? (e3 >= a2 - C2 && ea(n3.runs(D2), (t5, n4) => {
@@ -7193,24 +7197,24 @@ class bl {
7193
7197
  r5 - 1 <= m2 && o4 > m2 && (s4 = s4.slice(0, m2 + 1 - r5)), r5 < g2 && o4 + 1 >= g2 && (s4 = s4.slice(g2 - r5)), F2.push({ majorIndex: e3 + C2, minorIndex: Math.max(r5, g2), run: s4 });
7194
7198
  }), n3.delete(g2, m2 - g2 + 1)) : n3.shift(g2, C2);
7195
7199
  const r4 = n3.getCount();
7196
- if (0 === r4) N2.add(e3), A2 = Math.min(A2, s3), M2 = Math.max(M2, o3);
7200
+ if (0 === r4) T2.add(e3), A2 = Math.min(A2, s3), M2 = Math.max(M2, o3);
7197
7201
  else {
7198
7202
  const t5 = n3.getCoords();
7199
- if (A2 = Math.min(A2, t5.min), M2 = Math.max(M2, t5.max), M2 > T2) throw new d();
7203
+ if (A2 = Math.min(A2, t5.min), M2 = Math.max(M2, t5.max), M2 > N2) throw new d();
7200
7204
  }
7201
7205
  b2 += r4 - t4, x2.push([e3, n3]);
7202
7206
  }
7203
- L2 = O2.next();
7207
+ B2 = O2.next();
7204
7208
  }
7205
- const B2 = this._optionsMinor;
7209
+ const L2 = this._optionsMinor;
7206
7210
  let P2 = false;
7207
7211
  for (let t3 = 0; t3 < F2.length; t3++) {
7208
7212
  const e3 = F2[t3], n3 = e3.majorIndex, r3 = e3.run;
7209
7213
  let o3 = k2.get(n3);
7210
- o3 || (o3 = new pa(B2), k2.set(n3, o3), x2.push([n3, o3]), P2 = true), o3.setRunAt(e3.minorIndex, r3), b2 += r3.length, I2 = Math.min(I2, n3), R2 = Math.max(R2, n3), N2 && N2.delete(n3);
7214
+ o3 || (o3 = new pa(L2), k2.set(n3, o3), x2.push([n3, o3]), P2 = true), o3.setRunAt(e3.minorIndex, r3), b2 += r3.length, I2 = Math.min(I2, n3), R2 = Math.max(R2, n3), T2 && T2.delete(n3);
7211
7215
  }
7212
- if (this._updateMajorSpan(x2, P2), N2 && N2.size > 0) {
7213
- const t3 = Array.from(N2.values()), e3 = Is(t3);
7216
+ if (this._updateMajorSpan(x2, P2), T2 && T2.size > 0) {
7217
+ const t3 = Array.from(T2.values()), e3 = Is(t3);
7214
7218
  for (let t4 = 0; t4 < e3.length; t4++) {
7215
7219
  const n4 = e3[t4];
7216
7220
  v2.delete(n4.min, n4.max - n4.min + 1);
@@ -7250,7 +7254,7 @@ class bl {
7250
7254
  m2 = { ...m2 };
7251
7255
  const f2 = o2 !== l.Row, p2 = t2.getMaxCoords();
7252
7256
  g2 = cl(a2?.colStart ?? Number.MIN_SAFE_INTEGER, a2?.rowStart ?? Number.MIN_SAFE_INTEGER, a2?.colEnd ?? Number.MAX_SAFE_INTEGER, a2?.rowEnd ?? Number.MAX_SAFE_INTEGER, f2, p2), g2 = { ...g2 };
7253
- const _2 = g2.majorStart - m2.majorStart, S2 = g2.minorStart - m2.minorStart, w2 = r2 === o2 ? new Nt.Builder() : new Nt.TransposedBuilder();
7257
+ const _2 = g2.majorStart - m2.majorStart, S2 = g2.minorStart - m2.minorStart, w2 = r2 === o2 ? new Tt.Builder() : new Tt.TransposedBuilder();
7254
7258
  for (; !i2.done; ) {
7255
7259
  const t3 = i2.value[0];
7256
7260
  let e3 = i2.value[1], n3 = i2.value[2];
@@ -7299,8 +7303,8 @@ class bl {
7299
7303
  bl || (bl = {});
7300
7304
  const vl = 12;
7301
7305
  Object.seal({ done: false, value: null });
7302
- const xl = [-1, -1, null], Il = Object.seal({ done: false, value: [-1, null] }), Rl = Object.seal({ done: false, value: [-1, null] }), Al = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Il }, Ml = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Rl }, Tl = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: false, nextMinorIndex: -1, nextActive: false, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
7303
- class Nl {
7306
+ const xl = [-1, -1, null], Il = Object.seal({ done: false, value: [-1, null] }), Rl = Object.seal({ done: false, value: [-1, null] }), Al = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Il }, Ml = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Rl }, Nl = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: false, nextMinorIndex: -1, nextActive: false, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
7307
+ class Tl {
7304
7308
  constructor(t2) {
7305
7309
  if (this._l = 0, this._at = null, this._dt = ql.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");
7306
7310
  const e2 = t2.length;
@@ -7329,9 +7333,9 @@ class Nl {
7329
7333
  case Pl:
7330
7334
  case zl:
7331
7335
  return this._cv(n2, o2 ? Number(r2) : r2);
7332
- case Ll:
7333
- return this._vi64[o2 ? t2 : r2];
7334
7336
  case Bl:
7337
+ return this._vi64[o2 ? t2 : r2];
7338
+ case Ll:
7335
7339
  return this._vf64[o2 ? t2 : r2];
7336
7340
  case Vl:
7337
7341
  return Number.NaN;
@@ -7377,11 +7381,11 @@ class Nl {
7377
7381
  }
7378
7382
  static fromArray(t2, e2, n2, r2, o2 = kl) {
7379
7383
  const s2 = t2.length;
7380
- if (0 === s2) return new Nl({ type: ql.Undefined, length: s2, getCoercedValue: n2 });
7384
+ if (0 === s2) return new Tl({ type: ql.Undefined, length: s2, getCoercedValue: n2 });
7381
7385
  let i2 = this._createArrayBuffer(s2 * Int8Array.BYTES_PER_ELEMENT), a2 = new Uint8Array(i2), l2 = 0, c2 = false, h2 = Kl(t2[0], r2);
7382
7386
  for (let e3 = 0; e3 < s2; e3++) {
7383
7387
  const n3 = t2[e3], o3 = Kl(n3, r2);
7384
- o3 !== Bl && o3 !== Ll || l2++, h2 !== o3 && (a2[e3] = o3, c2 = true);
7388
+ o3 !== Ll && o3 !== Bl || l2++, h2 !== o3 && (a2[e3] = o3, c2 = true);
7385
7389
  }
7386
7390
  c2 || (a2 = null, i2 = null);
7387
7391
  let d2, u2, g2, m2, f2, p2, _2, S2, w2 = false;
@@ -7399,10 +7403,10 @@ class Nl {
7399
7403
  case Ol:
7400
7404
  u2[n3] = r3;
7401
7405
  break;
7402
- case Ll:
7406
+ case Bl:
7403
7407
  d2[n3] = r3;
7404
7408
  break;
7405
- case Bl:
7409
+ case Ll:
7406
7410
  u2[n3] = r3;
7407
7411
  break;
7408
7412
  case Pl:
@@ -7427,10 +7431,10 @@ class Nl {
7427
7431
  case Ol:
7428
7432
  u2[r3] = o3;
7429
7433
  break;
7430
- case Ll:
7434
+ case Bl:
7431
7435
  _2[r3] = n3, m2[n3] = o3, n3++;
7432
7436
  break;
7433
- case Bl:
7437
+ case Ll:
7434
7438
  _2[r3] = n3, f2[n3] = o3, n3++;
7435
7439
  break;
7436
7440
  case Pl:
@@ -7442,10 +7446,10 @@ class Nl {
7442
7446
  }
7443
7447
  }
7444
7448
  }
7445
- return new Nl({ length: s2, types: c2 ? i2 : null, type: h2, values32: p2, values64: g2, getCoercedValue: n2 });
7449
+ return new Tl({ length: s2, types: c2 ? i2 : null, type: h2, values32: p2, values64: g2, getCoercedValue: n2 });
7446
7450
  }
7447
7451
  }
7448
- const kl = 0.1, Fl = 1, Ol = 2, Dl = 3, Ll = 4, Bl = 5, Pl = 6, zl = 7, Wl = 8, Hl = 9, Vl = 10, jl = 11, $l = 12, Gl = 13, Ul = 14, Jl = 127, ql = { Undefined: Ul }, Kl = (t2, e2) => {
7452
+ const kl = 0.1, Fl = 1, Ol = 2, Dl = 3, Bl = 4, Ll = 5, Pl = 6, zl = 7, Wl = 8, Hl = 9, Vl = 10, jl = 11, $l = 12, Gl = 13, Ul = 14, Jl = 127, ql = { Undefined: Ul }, Kl = (t2, e2) => {
7449
7453
  switch (typeof t2) {
7450
7454
  case "number":
7451
7455
  const n2 = t2;
@@ -7456,7 +7460,7 @@ const kl = 0.1, Fl = 1, Ol = 2, Dl = 3, Ll = 4, Bl = 5, Pl = 6, zl = 7, Wl = 8,
7456
7460
  if (n2 === Number.MAX_SAFE_INTEGER) return jl;
7457
7461
  if (n2 === Number.MIN_SAFE_INTEGER) return $l;
7458
7462
  if (Number.isInteger(n2) && n2 <= 2147483647 && n2 >= -2147483648) return Fl;
7459
- return Math.fround(n2) === n2 ? Ol : Bl;
7463
+ return Math.fround(n2) === n2 ? Ol : Ll;
7460
7464
  case "string":
7461
7465
  return Pl;
7462
7466
  case "boolean":
@@ -7469,7 +7473,7 @@ const kl = 0.1, Fl = 1, Ol = 2, Dl = 3, Ll = 4, Bl = 5, Pl = 6, zl = 7, Wl = 8,
7469
7473
  if (r2 < 128 || r2 > 255) throw new Error("Custom type must be between 128 and 255");
7470
7474
  return r2;
7471
7475
  case "bigint":
7472
- return Ll;
7476
+ return Bl;
7473
7477
  case "undefined":
7474
7478
  return Ul;
7475
7479
  case "symbol":
@@ -7655,7 +7659,7 @@ class rc {
7655
7659
  return (t2 > o2 || e2 > s2) && (a2 = a2.clone(), t2 > o2 && (oc.colStart = r2.colEnd + 1, oc.rowStart = r2.rowStart, oc.colEnd = r2.colEnd, oc.rowEnd = r2.rowEnd, this._fill(a2, r2, n2)), e2 > s2 && (oc.colStart = r2.colStart, oc.rowStart = r2.rowEnd + 1, oc.colEnd = r2.colEnd, oc.rowEnd = r2.rowEnd, this._fill(a2, r2, n2))), new rc(a2, i2, this._type);
7656
7660
  }
7657
7661
  _mergeIterators(t2, n2, r2) {
7658
- const o2 = this._coords ?? c.EmptyRange, s2 = t2._coords ?? c.EmptyRange, i2 = this._values.getOrientation(), a2 = r2?.orientation ?? i2, l2 = a2 !== e.Orientation.Row, h2 = this._entries(r2), d2 = this._entries(r2), u2 = o2.colStart, g2 = o2.rowStart, m2 = u2 - s2.colStart, f2 = g2 - s2.rowStart, p2 = a2 === i2 ? new Nt.Builder() : new Nt.TransposedBuilder(), _2 = new fl({ ...r2, bounds: o2, comparator: (l2 ? Zl : tc)(o2, s2) }, h2, d2);
7662
+ const o2 = this._coords ?? c.EmptyRange, s2 = t2._coords ?? c.EmptyRange, i2 = this._values.getOrientation(), a2 = r2?.orientation ?? i2, l2 = a2 !== e.Orientation.Row, h2 = this._entries(r2), d2 = this._entries(r2), u2 = o2.colStart, g2 = o2.rowStart, m2 = u2 - s2.colStart, f2 = g2 - s2.rowStart, p2 = a2 === i2 ? new Tt.Builder() : new Tt.TransposedBuilder(), _2 = new fl({ ...r2, bounds: o2, comparator: (l2 ? Zl : tc)(o2, s2) }, h2, d2);
7659
7663
  let S2 = _2.next();
7660
7664
  for (; !S2.done; ) {
7661
7665
  const t3 = S2.value;
@@ -7673,7 +7677,7 @@ class rc {
7673
7677
  return this._cloneFromBuilder(i2, n2);
7674
7678
  }
7675
7679
  startIncrementalUpdates(t2) {
7676
- const n2 = t2?.orientation ?? e.Orientation.Column, r2 = this._values.getOrientation(), o2 = (t2?.orientation ?? r2) !== e.Orientation.Row, s2 = n2 === r2 ? new Nt.Builder() : new Nt.TransposedBuilder(), i2 = this, a2 = this._coords ?? c.EmptyRange, l2 = a2.colStart, h2 = a2.rowStart, d2 = o2 ? l2 : h2, u2 = o2 ? h2 : l2, g2 = { pushAt(t3, e2, n3) {
7680
+ const n2 = t2?.orientation ?? e.Orientation.Column, r2 = this._values.getOrientation(), o2 = (t2?.orientation ?? r2) !== e.Orientation.Row, s2 = n2 === r2 ? new Tt.Builder() : new Tt.TransposedBuilder(), i2 = this, a2 = this._coords ?? c.EmptyRange, l2 = a2.colStart, h2 = a2.rowStart, d2 = o2 ? l2 : h2, u2 = o2 ? h2 : l2, g2 = { pushAt(t3, e2, n3) {
7677
7681
  const r3 = o2 ? e2 : t3, i3 = o2 ? t3 : e2;
7678
7682
  return s2.addValue(r3 + d2, i3 + u2, n3), g2;
7679
7683
  }, pushMultipleAt(t3, e2, n3) {
@@ -7754,30 +7758,30 @@ class rc {
7754
7758
  const t2 = { ...M2 };
7755
7759
  1 === p2 && (t2.colEnd = t2.colStart), 1 === _2 && (t2.rowEnd = t2.rowStart), A2 = new ml({ delegate: g2._entries({ ...s2, type: l2 ?? null, orientation: x2, bounds: t2, reuseResult: false }), bounds: t2, orientation: x2, dims: { major: I2 ? S2 : w2, minor: I2 ? w2 : S2 } });
7756
7760
  } else A2 = g2._entries({ ...s2, type: l2 ?? null, orientation: x2, bounds: M2, reuseResult: false });
7757
- const T2 = i2.colStart, N2 = i2.rowStart, k2 = T2 - M2.colStart, F2 = N2 - M2.rowStart, O2 = x2 === v2 ? new Nt.Builder() : new Nt.TransposedBuilder(), D2 = new fl({ ...s2, bounds: i2, comparator: (I2 ? Zl : tc)(i2, M2) }, R2, A2);
7758
- let L2, B2 = D2.next();
7759
- for (; !B2.done; ) {
7760
- const t2 = B2.value;
7761
+ const N2 = i2.colStart, T2 = i2.rowStart, k2 = N2 - M2.colStart, F2 = T2 - M2.rowStart, O2 = x2 === v2 ? new Tt.Builder() : new Tt.TransposedBuilder(), D2 = new fl({ ...s2, bounds: i2, comparator: (I2 ? Zl : tc)(i2, M2) }, R2, A2);
7762
+ let B2, L2 = D2.next();
7763
+ for (; !L2.done; ) {
7764
+ const t2 = L2.value;
7761
7765
  let e2 = t2[1], r3 = t2[3];
7762
7766
  const s3 = t2[0], i3 = t2[2], a3 = s3 ? s3.colIndex : i3.colIndex + k2, l3 = s3 ? s3.rowIndex : i3.rowIndex + F2;
7763
7767
  let c2, u3;
7764
- e2 instanceof n.Value ? c2 = e2 : r3 instanceof n.Value && (c2 = r3), u3 = c2 || o2(e2 ?? h2, r3 ?? d2, { colIndex: a3 - T2, rowIndex: l3 - N2 }, this);
7768
+ e2 instanceof n.Value ? c2 = e2 : r3 instanceof n.Value && (c2 = r3), u3 = c2 || o2(e2 ?? h2, r3 ?? d2, { colIndex: a3 - N2, rowIndex: l3 - T2 }, this);
7765
7769
  const g3 = I2 ? a3 : l3, m3 = I2 ? l3 : a3;
7766
- O2.addValue(g3, m3, u3), B2 = D2.next();
7770
+ O2.addValue(g3, m3, u3), L2 = D2.next();
7767
7771
  }
7768
7772
  if (C2 && y2 > S2 || E2 > w2) {
7769
7773
  const t2 = this._values.clone();
7770
7774
  if (this._applyBuilder(t2, O2), y2 > S2) {
7771
- const e2 = cl(T2 + S2, N2, T2 + y2 - 1, N2 + E2 - 1, I2), n2 = _l(C2, e2, I2);
7775
+ const e2 = cl(N2 + S2, T2, N2 + y2 - 1, T2 + E2 - 1, I2), n2 = _l(C2, e2, I2);
7772
7776
  t2.setValues(n2.tuples);
7773
7777
  }
7774
7778
  if (E2 > w2) {
7775
- const e2 = cl(T2, N2 + w2, T2 + y2 - 1, N2 + E2 - 1, I2), n2 = _l(C2, e2, I2);
7779
+ const e2 = cl(N2, T2 + w2, N2 + y2 - 1, T2 + E2 - 1, I2), n2 = _l(C2, e2, I2);
7776
7780
  t2.setValues(n2.tuples);
7777
7781
  }
7778
- L2 = new rc(t2, { colStart: T2, rowStart: N2, colEnd: T2 + y2 - 1, rowEnd: N2 + E2 - 1 }, this._type);
7779
- } else L2 = this._cloneFromBuilder(O2, s2, y2, E2);
7780
- return L2;
7782
+ B2 = new rc(t2, { colStart: N2, rowStart: T2, colEnd: N2 + y2 - 1, rowEnd: T2 + E2 - 1 }, this._type);
7783
+ } else B2 = this._cloneFromBuilder(O2, s2, y2, E2);
7784
+ return B2;
7781
7785
  }
7782
7786
  _fill(t2, n2, r2) {
7783
7787
  if (null === r2) return void t2.delete(n2);
@@ -7810,7 +7814,7 @@ class rc {
7810
7814
  if (n2 < 1 && r2 < 1) throw new Error("Must be at least size of 1");
7811
7815
  const i2 = s2.getOrientation(), a2 = i2, l2 = a2 === e.Orientation.Column, c2 = Math.max(this.getWidth(), n2), h2 = Math.max(this.getHeight(), r2), d2 = l2 ? o2.colStart : o2.rowStart, u2 = l2 ? o2.rowStart : o2.colStart, g2 = l2 ? o2.colStart + c2 - 1 : o2.rowStart + h2 - 1, m2 = l2 ? o2.rowStart + h2 - 1 : o2.colStart + c2 - 1, f2 = s2.getRuns({ bounds: { colStart: o2.colStart, rowStart: o2.rowStart, colEnd: l2 ? g2 : m2, rowEnd: l2 ? m2 : g2 }, overflowRun: true });
7812
7816
  let p2 = f2.next(), _2 = d2, S2 = u2;
7813
- const w2 = a2 === i2 ? new Nt.Builder() : new Nt.TransposedBuilder();
7817
+ const w2 = a2 === i2 ? new Tt.Builder() : new Tt.TransposedBuilder();
7814
7818
  for (; !p2.done; ) {
7815
7819
  const e2 = p2.value, n3 = e2[0];
7816
7820
  for (; _2 < n3; ) {
@@ -7832,7 +7836,7 @@ class rc {
7832
7836
  }
7833
7837
  transpose() {
7834
7838
  if (this.size <= 1) return this;
7835
- const t2 = this._values.getOrientation(), n2 = this._coords, r2 = this.getWidth(), o2 = this.getHeight(), s2 = this._entries({ orientation: t2 === e.Orientation.Column ? e.Orientation.Row : e.Orientation.Column, bounds: n2, reuseResult: true }), i2 = t2 === e.Orientation.Column, a2 = new Nt.Builder(), l2 = i2 ? n2.colStart : n2.rowStart, c2 = i2 ? n2.rowStart : n2.colStart;
7839
+ const t2 = this._values.getOrientation(), n2 = this._coords, r2 = this.getWidth(), o2 = this.getHeight(), s2 = this._entries({ orientation: t2 === e.Orientation.Column ? e.Orientation.Row : e.Orientation.Column, bounds: n2, reuseResult: true }), i2 = t2 === e.Orientation.Column, a2 = new Tt.Builder(), l2 = i2 ? n2.colStart : n2.rowStart, c2 = i2 ? n2.rowStart : n2.colStart;
7836
7840
  let h2 = s2.next();
7837
7841
  for (; !h2.done; ) {
7838
7842
  const t3 = h2.value, e2 = t3[0], n3 = i2 ? e2.colIndex : e2.rowIndex - l2, r3 = (i2 ? e2.rowIndex : e2.colIndex - c2) + l2, o3 = n3 + c2, d2 = t3[1];
@@ -7851,7 +7855,7 @@ class rc {
7851
7855
  }
7852
7856
  _createTupleBuilder(t2) {
7853
7857
  const n2 = this._coords, r2 = this._values.getOrientation(), o2 = t2 ?? r2, s2 = o2 !== e.Orientation.Row, i2 = s2 ? n2.colStart : n2.rowStart, a2 = s2 ? n2.rowStart : n2.colStart;
7854
- return o2 === r2 ? new Nt.Builder(null, i2, a2) : new Nt.TransposedBuilder(null, i2, a2);
7858
+ return o2 === r2 ? new Tt.Builder(null, i2, a2) : new Tt.TransposedBuilder(null, i2, a2);
7855
7859
  }
7856
7860
  entries(t2) {
7857
7861
  const e2 = this._coords;
@@ -8138,8 +8142,8 @@ const oc = { colStart: Number.MIN_SAFE_INTEGER, rowStart: Number.MIN_SAFE_INTEGE
8138
8142
  n2.setValues(a2.tuples);
8139
8143
  return new rc(n2, l2, o2, !r2);
8140
8144
  }, yc = new RegExp(/^([$]?[a-zA-Z]*[$]?[0-9]*)[:]?([$]?[a-zA-Z]*[$]?[0-9]*)?$/), Ec = new RegExp(/^(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?)(:(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?))?$/, "i"), Cc = new RegExp(/^(R?)(\[?[-+]?\d+\]?|\d+)?(C?)(\[?[-+]?\d+\]?|\d+)?$/, "i"), bc = new RegExp("(?:'[^']+'|[A-Za-z0-9_\\-.]+?!)?(\\$?[A-Za-z]+\\$?\\d+(?::\\$?[A-Za-z]+\\$?\\d+)?|\\$?[A-Za-z]+:\\$?[A-Za-z]+|\\$?\\d+:\\$?\\d+)", "g"), vc = /\s+/g, xc = /"(?:[^"]|"")*"|\[[^[\]]+\]/g, Ic = /[\uE000-\uF8FF]/g, Rc = "#REF!", Ac = Math.pow(2, 14), Mc = Math.pow(2, 20);
8141
- let Tc, Nc;
8142
- const kc = (t2) => (Tc === t2 || (Nc = "" + (t2 + 1), Tc = t2), Nc);
8145
+ let Nc, Tc;
8146
+ const kc = (t2) => (Nc === t2 || (Tc = "" + (t2 + 1), Nc = t2), Tc);
8143
8147
  let Fc, Oc;
8144
8148
  const Dc = (t2) => {
8145
8149
  if (Fc === t2) return Oc;
@@ -8147,7 +8151,7 @@ const Dc = (t2) => {
8147
8151
  let e2 = "";
8148
8152
  for (++t2; t2; t2 = Math.floor((t2 - 1) / 26)) e2 = String.fromCharCode((t2 - 1) % 26 + 65) + e2;
8149
8153
  return Oc = e2, Oc;
8150
- }, Lc = /[^a-zA-Z0-9]/, Bc = (t2) => {
8154
+ }, Bc = /[^a-zA-Z0-9]/, Lc = (t2) => {
8151
8155
  if (!t2) return null;
8152
8156
  return Dc(t2.colIndex) + kc(t2.rowIndex);
8153
8157
  }, Pc = (t2) => {
@@ -8157,8 +8161,8 @@ const Dc = (t2) => {
8157
8161
  }, zc = (t2, e2) => {
8158
8162
  let n2 = t2 ?? e2;
8159
8163
  var r2;
8160
- return n2 && (n2 = No(n2), n2 = n2.replace(/'/g, "''"), r2 = n2, Lc.test(r2) && (n2 = ko(n2))), n2;
8161
- }, Wc = (t2, e2) => t2 ? t2 + (t2.endsWith("!") ? "" : "!") + e2 : Rc, Hc = (t2, e2, n2 = Bc) => {
8164
+ return n2 && (n2 = To(n2), n2 = n2.replace(/'/g, "''"), r2 = n2, Bc.test(r2) && (n2 = ko(n2))), n2;
8165
+ }, Wc = (t2, e2) => t2 ? t2 + (t2.endsWith("!") ? "" : "!") + e2 : Rc, Hc = (t2, e2, n2 = Lc) => {
8162
8166
  if (!t2) return null;
8163
8167
  const r2 = t2.colStart, o2 = t2.rowStart, s2 = t2.colEnd, i2 = t2.rowEnd;
8164
8168
  if (r2 === s2 && o2 === i2) return n2({ colIndex: r2, rowIndex: o2 });
@@ -8233,7 +8237,7 @@ const Dc = (t2) => {
8233
8237
  const e3 = t3.lastIndexOf("!");
8234
8238
  if (-1 === e3) return null;
8235
8239
  let n3 = t3.slice(0, e3);
8236
- return n3 = No(n3), n3 = n3.replace(/''/g, "'"), [n3, t3.slice(e3 + 1)];
8240
+ return n3 = To(n3), n3 = n3.replace(/''/g, "'"), [n3, t3.slice(e3 + 1)];
8237
8241
  })(t2);
8238
8242
  let o2;
8239
8243
  if (r2) {
@@ -8606,9 +8610,9 @@ class xh {
8606
8610
  const Ih = Object.freeze({ break: true });
8607
8611
  var Rh;
8608
8612
  (Rh || (Rh = {})).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" };
8609
- const Ah = Object.freeze({ [Rh.Type.Style]: false, [Rh.Type.Table]: false, [Rh.Type.Merge]: false, [Rh.Type.Hyperlink]: false, [Rh.Type.Comments]: false, [Rh.Type.Unlock]: false, [Rh.Type.Formula]: false, [Rh.Type.Spill]: false, [Rh.Type.Pending]: false, [Rh.Type.CalcError]: false, [Rh.Type.Contentful]: false, [Rh.Type.Conditional]: false, [Rh.Type.Continuous]: false }), Mh = Object.freeze({ [Rh.Type.Style]: false, [Rh.Type.Table]: false, [Rh.Type.Merge]: false, [Rh.Type.Hyperlink]: false, [Rh.Type.Comments]: false, [Rh.Type.Unlock]: false, [Rh.Type.Formula]: false, [Rh.Type.Spill]: false, [Rh.Type.Pending]: false, [Rh.Type.CalcError]: false, [Rh.Type.Conditional]: false, [Rh.Type.Continuous]: false }), Th = Object.freeze({ [Rh.Type.Style]: false, [Rh.Type.Table]: true, [Rh.Type.Merge]: false, [Rh.Type.Hyperlink]: false, [Rh.Type.Comments]: false, [Rh.Type.Unlock]: false, [Rh.Type.Formula]: false });
8613
+ const Ah = Object.freeze({ [Rh.Type.Style]: false, [Rh.Type.Table]: false, [Rh.Type.Merge]: false, [Rh.Type.Hyperlink]: false, [Rh.Type.Comments]: false, [Rh.Type.Unlock]: false, [Rh.Type.Formula]: false, [Rh.Type.Spill]: false, [Rh.Type.Pending]: false, [Rh.Type.CalcError]: false, [Rh.Type.Contentful]: false, [Rh.Type.Conditional]: false, [Rh.Type.Continuous]: false }), Mh = Object.freeze({ [Rh.Type.Style]: false, [Rh.Type.Table]: false, [Rh.Type.Merge]: false, [Rh.Type.Hyperlink]: false, [Rh.Type.Comments]: false, [Rh.Type.Unlock]: false, [Rh.Type.Formula]: false, [Rh.Type.Spill]: false, [Rh.Type.Pending]: false, [Rh.Type.CalcError]: false, [Rh.Type.Conditional]: false, [Rh.Type.Continuous]: false }), Nh = Object.freeze({ [Rh.Type.Style]: false, [Rh.Type.Table]: true, [Rh.Type.Merge]: false, [Rh.Type.Hyperlink]: false, [Rh.Type.Comments]: false, [Rh.Type.Unlock]: false, [Rh.Type.Formula]: false });
8610
8614
  Object.freeze({ [Rh.Type.Style]: false, [Rh.Type.Table]: false, [Rh.Type.Hyperlink]: false, [Rh.Type.Comments]: false, [Rh.Type.Unlock]: false, [Rh.Type.Contentful]: false, [Rh.Type.Formula]: false });
8611
- const Nh = Object.freeze({ [Rh.Type.Style]: false, [Rh.Type.Hyperlink]: false, [Rh.Type.Continuous]: false, [Rh.Type.Contentful]: false }), kh = "This sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.", Fh = (t2 = "update") => `Unable to ${t2}, this sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.`, Oh = "The range is outside of the bounds of the sheet.", Dh = "Listener can not be null", Lh = "We can't insert items. The sheet is protected.", Bh = (t2) => `We can't create a ${t2} that overlaps with another table or merge.`, Ph = "Overlapping ranges can not be merged.", zh = "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.", Wh = "Unable to partially fill over merged cells.", Hh = "Unable to sort merged cells unless they are all the same size.", Vh = "Sheet has been closed. No further operations are allowed.", jh = "IteratorContext can only be used during visit.", $h = "When using addresses directly from the sheet do not include the sheet name.", Gh = (t2) => `Unable to return more than ${t2} values. To access values in a more scalable solution use 'ICellRange.forEach' or an iterator.`, Uh = "'setValue' expects a single value; when working with an array use 'setValue'.", Jh = "Multiple selection ranges can not be copied.", qh = "Unable to determine source.", Kh = "When pasting before or after the cut area both areas must align.";
8615
+ const Th = Object.freeze({ [Rh.Type.Style]: false, [Rh.Type.Hyperlink]: false, [Rh.Type.Continuous]: false, [Rh.Type.Contentful]: false }), kh = "This sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.", Fh = (t2 = "update") => `Unable to ${t2}, this sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.`, Oh = "The range is outside of the bounds of the sheet.", Dh = "Listener can not be null", Bh = "We can't insert items. The sheet is protected.", Lh = (t2) => `We can't create a ${t2} that overlaps with another table or merge.`, Ph = "Overlapping ranges can not be merged.", zh = "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.", Wh = "Unable to partially fill over merged cells.", Hh = "Unable to sort merged cells unless they are all the same size.", Vh = "Sheet has been closed. No further operations are allowed.", jh = "IteratorContext can only be used during visit.", $h = "When using addresses directly from the sheet do not include the sheet name.", Gh = (t2) => `Unable to return more than ${t2} values. To access values in a more scalable solution use 'ICellRange.forEach' or an iterator.`, Uh = "'setValue' expects a single value; when working with an array use 'setValue'.", Jh = "Multiple selection ranges can not be copied.", qh = "Unable to determine source.", Kh = "When pasting before or after the cut area both areas must align.";
8612
8616
  var Xh, Yh;
8613
8617
  (Yh = Xh || (Xh = {})).CalcStatus = { Ready: "ready", Stale: "stale", Pending: "pending", Streaming: "streaming" }, Yh.Content = { Values: "values", Formats: "formats", Formulas: "formula", Hyperlinks: "hyperlinks", Tables: "tables", Notes: "notes", Comments: "comments", Warnings: "warnings", Errors: "errors", Merges: "merges" };
8614
8618
  class Qh {
@@ -8664,10 +8668,10 @@ const Zh = (t2) => {
8664
8668
  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;
8665
8669
  }
8666
8670
  return '"' + e2 + '"';
8667
- }, cd = "Thin", hd = "Hairline", dd = "Extra Light", ud = "Ultra Light", gd = "Light", md = "Normal", fd = "Regular", pd = "Medium", _d = "Semi Bold", Sd = "Demi Bold", wd = "Bold", yd = "Extra Bold", Ed = "Ultra Bold", Cd = "Black", bd = "Heavy", vd = "Extra Black", xd = "Ultra Black", Id = "lighter", Rd = "normal", Ad = "bold", Md = "bolder", Td = /* @__PURE__ */ new Map();
8668
- Td.set(o.textToKey(cd), 100), Td.set(o.textToKey(hd), 100), Td.set(o.textToKey(dd), 200), Td.set(o.textToKey(ud), 200), Td.set(o.textToKey(gd), 300), Td.set(o.textToKey(md), 400), Td.set(o.textToKey(fd), 400), Td.set(o.textToKey(pd), 500), Td.set(o.textToKey(_d), 600), Td.set(o.textToKey(Sd), 600), Td.set(o.textToKey(md), 400), Td.set(o.textToKey(wd), 700), Td.set(o.textToKey(yd), 800), Td.set(o.textToKey(Ed), 800), Td.set(o.textToKey(Cd), 900), Td.set(o.textToKey(bd), 900), Td.set(o.textToKey(vd), 950), Td.set(o.textToKey(xd), 950), Td.set(o.textToKey(Id), 100), Td.set(o.textToKey(Rd), 400), Td.set(o.textToKey(Ad), 700), Td.set(o.textToKey(Md), 700);
8669
- const Nd = "xx-small", kd = "x-small", Fd = "small", Od = "medium", Dd = "large", Ld = "x-large", Bd = "xx-large", Pd = "xxx-large", zd = "smaller", Wd = "larger", Hd = "math", Vd = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), jd = /* @__PURE__ */ new Map();
8670
- jd.set(o.textToKey(Nd), (t2) => 0.4 * t2), jd.set(o.textToKey(kd), (t2) => 0.5 * t2), jd.set(o.textToKey(Fd), (t2) => 0.6 * t2), jd.set(o.textToKey(Od), (t2) => t2), jd.set(o.textToKey(Dd), (t2) => 1.1 * t2), jd.set(o.textToKey(Ld), (t2) => 1.25 * t2), jd.set(o.textToKey(Bd), (t2) => 1.5 * t2), jd.set(o.textToKey(Pd), (t2) => 2 * t2), jd.set(o.textToKey(zd), (t2) => 0.9 * t2), jd.set(o.textToKey(Wd), (t2) => 1.1 * t2), jd.set(o.textToKey(Hd), (t2) => t2);
8671
+ }, cd = "Thin", hd = "Hairline", dd = "Extra Light", ud = "Ultra Light", gd = "Light", md = "Normal", fd = "Regular", pd = "Medium", _d = "Semi Bold", Sd = "Demi Bold", wd = "Bold", yd = "Extra Bold", Ed = "Ultra Bold", Cd = "Black", bd = "Heavy", vd = "Extra Black", xd = "Ultra Black", Id = "lighter", Rd = "normal", Ad = "bold", Md = "bolder", Nd = /* @__PURE__ */ new Map();
8672
+ Nd.set(o.textToKey(cd), 100), Nd.set(o.textToKey(hd), 100), Nd.set(o.textToKey(dd), 200), Nd.set(o.textToKey(ud), 200), Nd.set(o.textToKey(gd), 300), Nd.set(o.textToKey(md), 400), Nd.set(o.textToKey(fd), 400), Nd.set(o.textToKey(pd), 500), Nd.set(o.textToKey(_d), 600), Nd.set(o.textToKey(Sd), 600), Nd.set(o.textToKey(md), 400), Nd.set(o.textToKey(wd), 700), Nd.set(o.textToKey(yd), 800), Nd.set(o.textToKey(Ed), 800), Nd.set(o.textToKey(Cd), 900), Nd.set(o.textToKey(bd), 900), Nd.set(o.textToKey(vd), 950), Nd.set(o.textToKey(xd), 950), Nd.set(o.textToKey(Id), 100), Nd.set(o.textToKey(Rd), 400), Nd.set(o.textToKey(Ad), 700), Nd.set(o.textToKey(Md), 700);
8673
+ const Td = "xx-small", kd = "x-small", Fd = "small", Od = "medium", Dd = "large", Bd = "x-large", Ld = "xx-large", Pd = "xxx-large", zd = "smaller", Wd = "larger", Hd = "math", Vd = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), jd = /* @__PURE__ */ new Map();
8674
+ jd.set(o.textToKey(Td), (t2) => 0.4 * t2), jd.set(o.textToKey(kd), (t2) => 0.5 * t2), jd.set(o.textToKey(Fd), (t2) => 0.6 * t2), jd.set(o.textToKey(Od), (t2) => t2), jd.set(o.textToKey(Dd), (t2) => 1.1 * t2), jd.set(o.textToKey(Bd), (t2) => 1.25 * t2), jd.set(o.textToKey(Ld), (t2) => 1.5 * t2), jd.set(o.textToKey(Pd), (t2) => 2 * t2), jd.set(o.textToKey(zd), (t2) => 0.9 * t2), jd.set(o.textToKey(Wd), (t2) => 1.1 * t2), jd.set(o.textToKey(Hd), (t2) => t2);
8671
8675
  const $d = (t2, e2 = 11, n2 = "pt") => {
8672
8676
  if (!t2) return null;
8673
8677
  let r2 = e2;
@@ -8797,7 +8801,7 @@ const xu = (t2, e2) => {
8797
8801
  if ("string" == typeof t2 && (t2 = au(t2)), !t2) return null;
8798
8802
  const n2 = {};
8799
8803
  return t2.style && (n2.style = t2.style), t2.color && (n2.color = t2.color), t2.isIStroke ? t2.getProperties() : n2;
8800
- }, properties: { color: Iu } }, Au = { shorthand: (t2, e2) => "none" === t2 || "transparent" === t2 || "object" == typeof t2 && 0 === Object.keys(t2).length ? { type: Os.Type.None } : (t2.getType?.(), Os.Type.None, t2) }, Mu = { shorthand: (t2, e2) => ("object" == typeof (t2 = xu(t2, e2.parseColor.bind(e2))) && t2.color && (t2.type = Os.Type.Solid), t2), merge: (t2, e2, n2) => t2.color ? t2 : (e2?.toJSON && (e2 = e2.toJSON()), e2?.type === Os.Type.Solid ? { ...e2 } : e2?.type === Os.Type.Gradient ? { type: Os.Type.Solid, color: e2?.stops?.[0]?.color ?? n2.parseColor(Ls.Scheme.Bg1) } : e2?.type === Os.Type.Pattern ? { type: Os.Type.Solid, color: e2?.foreground ?? n2.parseColor(Ls.Scheme.Bg1) } : t2 ? { ...t2 } : null), properties: { color: Iu } }, Tu = { shorthand: (t2, e2) => ("object" == typeof t2 && t2.stops && (t2.type = Os.Type.Gradient), t2), merge: (t2, e2, n2) => t2.stops ? t2 : (e2?.toJSON && (e2 = e2.toJSON()), e2?.type === Os.Type.Gradient ? { ...e2 } : e2?.type === Os.Type.Solid ? { type: Os.Type.Gradient, stops: [{ offset: 0, color: e2?.color ?? Ls.Scheme.Accent1 }, { offset: 1, color: Ls.Scheme.Bg1 }] } : e2?.type === Os.Type.Pattern ? { type: Os.Type.Gradient, stops: [{ offset: 0, color: e2?.foreground ?? Ls.Scheme.Bg1 }, { offset: 1, color: e2?.background ?? Ls.Scheme.Accent1 }] } : t2 ? { ...t2 } : null), properties: { stops: { shorthand: (t2, e2) => t2, arrayType: { shorthand: (t2, e2) => t2 = xu(t2, e2.parseColor.bind(e2)), properties: { color: Iu } } } } }, Nu = { shorthand: (t2, e2) => {
8804
+ }, properties: { color: Iu } }, Au = { shorthand: (t2, e2) => "none" === t2 || "transparent" === t2 || "object" == typeof t2 && 0 === Object.keys(t2).length ? { type: Os.Type.None } : (t2.getType?.(), Os.Type.None, t2) }, Mu = { shorthand: (t2, e2) => ("object" == typeof (t2 = xu(t2, e2.parseColor.bind(e2))) && t2.color && (t2.type = Os.Type.Solid), t2), merge: (t2, e2, n2) => t2.color ? t2 : (e2?.toJSON && (e2 = e2.toJSON()), e2?.type === Os.Type.Solid ? { ...e2 } : e2?.type === Os.Type.Gradient ? { type: Os.Type.Solid, color: e2?.stops?.[0]?.color ?? n2.parseColor(Bs.Scheme.Bg1) } : e2?.type === Os.Type.Pattern ? { type: Os.Type.Solid, color: e2?.foreground ?? n2.parseColor(Bs.Scheme.Bg1) } : t2 ? { ...t2 } : null), properties: { color: Iu } }, Nu = { shorthand: (t2, e2) => ("object" == typeof t2 && t2.stops && (t2.type = Os.Type.Gradient), t2), merge: (t2, e2, n2) => t2.stops ? t2 : (e2?.toJSON && (e2 = e2.toJSON()), e2?.type === Os.Type.Gradient ? { ...e2 } : e2?.type === Os.Type.Solid ? { type: Os.Type.Gradient, stops: [{ offset: 0, color: e2?.color ?? Bs.Scheme.Accent1 }, { offset: 1, color: Bs.Scheme.Bg1 }] } : e2?.type === Os.Type.Pattern ? { type: Os.Type.Gradient, stops: [{ offset: 0, color: e2?.foreground ?? Bs.Scheme.Bg1 }, { offset: 1, color: e2?.background ?? Bs.Scheme.Accent1 }] } : t2 ? { ...t2 } : null), properties: { stops: { shorthand: (t2, e2) => t2, arrayType: { shorthand: (t2, e2) => t2 = xu(t2, e2.parseColor.bind(e2)), properties: { color: Iu } } } } }, Tu = { shorthand: (t2, e2) => {
8801
8805
  if ("object" == typeof t2) {
8802
8806
  const e3 = t2;
8803
8807
  (e3.foreground || e3.background || e3.patternType) && (e3.type = Os.Type.Pattern, e3.patternType = e3.patternType ?? Os.BuiltInSheetPattern.Solid);
@@ -8807,7 +8811,7 @@ const xu = (t2, e2) => {
8807
8811
  if (t2.background && t2.foreground) return t2;
8808
8812
  e2?.toJSON && (e2 = e2.toJSON());
8809
8813
  const r2 = Os.BuiltInSheetPattern.MediumGray;
8810
- return e2?.type === Os.Type.Pattern ? { ...e2, ...t2 } : e2?.type === Os.Type.Solid ? { patternType: r2, ...t2, foreground: e2?.color ?? Ls.Named.WindowText, background: Ls.Scheme.Bg1 } : e2?.type === Os.Type.Gradient ? { patternType: r2, ...t2, foreground: e2?.stops?.[0]?.color ?? Ls.Named.WindowText, background: e2?.stops?.[1]?.color ?? Ls.Scheme.Bg1 } : t2 ? { type: Os.Type.Pattern, patternType: Os.BuiltInSheetPattern.Solid, foreground: Ls.Named.WindowText, background: Ls.Scheme.Bg1, ...t2 } : null;
8814
+ return e2?.type === Os.Type.Pattern ? { ...e2, ...t2 } : e2?.type === Os.Type.Solid ? { patternType: r2, ...t2, foreground: e2?.color ?? Bs.Named.WindowText, background: Bs.Scheme.Bg1 } : e2?.type === Os.Type.Gradient ? { patternType: r2, ...t2, foreground: e2?.stops?.[0]?.color ?? Bs.Named.WindowText, background: e2?.stops?.[1]?.color ?? Bs.Scheme.Bg1 } : t2 ? { type: Os.Type.Pattern, patternType: Os.BuiltInSheetPattern.Solid, foreground: Bs.Named.WindowText, background: Bs.Scheme.Bg1, ...t2 } : null;
8811
8815
  }, properties: { foreground: Iu, background: Iu } }, ku = { properties: { font: { shorthand: (t2, e2) => {
8812
8816
  if ("string" == typeof t2) {
8813
8817
  const e3 = Zh(t2);
@@ -8832,20 +8836,20 @@ const xu = (t2, e2) => {
8832
8836
  let e3 = 400;
8833
8837
  if (e3 = "number" == typeof t3 ? t3 : parseFloat(t3), !isNaN(e3)) return e3;
8834
8838
  if ("string" == typeof t3) {
8835
- const e4 = o.textToKey(t3), n3 = Td.get(e4);
8839
+ const e4 = o.textToKey(t3), n3 = Nd.get(e4);
8836
8840
  if (n3) return n3;
8837
8841
  }
8838
8842
  return e3;
8839
8843
  })(t2);
8840
8844
  return isNaN(n2) || "number" != typeof n2 ? null : n2;
8841
8845
  } }, underline: { shorthand: (t2, e2) => t2 ? true === t2 ? qo.UnderlineStyle.Single : od(t2) : qo.UnderlineStyle.None } } }, fill: { shorthand: (t2, e2) => {
8842
- const n2 = [Au, Mu, Tu, Nu];
8846
+ const n2 = [Au, Mu, Nu, Tu];
8843
8847
  for (let r2 = 0; r2 < n2.length; r2++) {
8844
8848
  let o2 = n2[r2]?.shorthand?.(t2, e2);
8845
8849
  if (o2?.type) return o2;
8846
8850
  }
8847
8851
  return t2;
8848
- }, getSubType: (t2) => t2.type === Os.Type.None ? Au : t2.type === Os.Type.Solid ? Mu : t2.type === Os.Type.Gradient ? Tu : t2.type === Os.Type.Pattern ? Nu : null }, alignment: { properties: { indent: { shorthand: (t2, e2) => {
8852
+ }, getSubType: (t2) => t2.type === Os.Type.None ? Au : t2.type === Os.Type.Solid ? Mu : t2.type === Os.Type.Gradient ? Nu : t2.type === Os.Type.Pattern ? Tu : null }, alignment: { properties: { indent: { shorthand: (t2, e2) => {
8849
8853
  let n2 = t2;
8850
8854
  return "string" == typeof t2 && (n2 = parseFloat(t2)), isNaN(n2) || "number" != typeof n2 ? null : n2;
8851
8855
  } }, rotation: { shorthand: (t2, e2) => {
@@ -8925,12 +8929,12 @@ const xu = (t2, e2) => {
8925
8929
  }
8926
8930
  const b2 = Gr(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 };
8927
8931
  return Object.freeze(v2);
8928
- }, Lu = Object.freeze({ fallbacks: o.EmptyArray, weight: 400, style: qo.Style.Normal, fill: Ls.Scheme.Tx1, letterSpacing: null, underline: qo.UnderlineStyle.None, strike: false, scheme: qo.Scheme.Minor, verticalAlign: qo.VerticalAlignment.Baseline, shadow: false, outline: false, extend: false }), Bu = Object.freeze({ style: Ys.StrokeStyle.None, color: Ls.Scheme.Tx1 }), Pu = Object.freeze({ [Ys.Edge.Top]: Bu, [Ys.Edge.Left]: Bu, [Ys.Edge.Bottom]: Bu, [Ys.Edge.Right]: Bu, [Ys.Edge.Horizontal]: Bu, [Ys.Edge.Vertical]: Bu, [Ys.Edge.DiagonalUp]: Bu, [Ys.Edge.DiagonalDown]: Bu }), zu = Object.freeze({ horizontal: wo.HorizontalAlignment.General, vertical: wo.VerticalAlignment.Bottom, indent: 0, relativeIndent: 0, overflow: wo.Overflow.Visible, rotation: 0, stacked: false, quotePrefix: false, justifyLastLine: false, readingOrder: wo.ReadingDirection.Auto, readingDirection: wo.ReadingDirection.Auto }), Wu = Object.freeze({ locked: false, formulaHidden: false }), Hu = Object.freeze({ fill: { type: Os.Type.None }, numberFormat: "General", alignment: zu, font: Lu, border: Pu, protection: Wu, quotePrefix: false, namedStyle: null }), Vu = (() => {
8929
- const t2 = [{ named: _i.BuiltInName.Normal }, { named: _i.BuiltInName.RowLevel }, { named: _i.BuiltInName.ColLevel }, { named: _i.BuiltInName.Comma, numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)' }, { named: _i.BuiltInName.Currency, numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)' }, { named: _i.BuiltInName.Percent, numberFormat: "0%" }, { named: _i.BuiltInName.Comma0, numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)' }, { named: _i.BuiltInName.Currency0, numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)' }, { named: _i.BuiltInName.Hyperlink, font: { ...Lu, fill: Ls.Scheme.Hlink, underline: qo.UnderlineStyle.Single } }, { named: _i.BuiltInName.FollowedHyperlink, font: { ...Lu, fill: Ls.Scheme.FolHlink, underline: qo.UnderlineStyle.Single } }, { named: _i.BuiltInName.Note, fill: "FFFFFFCC", font: { ...Lu, style: qo.Style.Normal, fill: Ls.Scheme.Tx1 }, border: { left: { style: Ys.StrokeStyle.Thin, color: "FFB2B2B2" }, top: { style: Ys.StrokeStyle.Thin, color: "FFB2B2B2" }, right: { style: Ys.StrokeStyle.Thin, color: "FFB2B2B2" }, bottom: { style: Ys.StrokeStyle.Thin, color: "FFB2B2B2" } } }, { named: _i.BuiltInName.WarningText, font: { ...Lu, fill: "FFFF0000" } }, { named: _i.BuiltInName.Unknown12 }, { named: _i.BuiltInName.Unknown13 }, { named: _i.BuiltInName.Unknown14 }, { named: _i.BuiltInName.Title, font: { ...Lu, size: 18, fill: Ls.Scheme.Tx2 } }, { named: _i.BuiltInName.Heading1, font: { ...Lu, size: 15, weight: "bold", fill: Ls.Scheme.Tx2 }, border: { bottom: { style: Ys.StrokeStyle.Thick, color: Ls.Scheme.Accent1 } } }, { named: _i.BuiltInName.Heading2, font: { ...Lu, size: 13, weight: "bold", fill: Ls.Scheme.Tx2 }, border: { bottom: { style: Ys.StrokeStyle.Thick, color: "accent1 lumMod 40, lumOff 60" } } }, { named: _i.BuiltInName.Heading3, font: { ...Lu, weight: "bold", fill: Ls.Scheme.Tx2 }, border: { bottom: { style: Ys.StrokeStyle.Medium, color: "accent1 lumMod 40, lumOff 60" } } }, { named: _i.BuiltInName.Heading4, font: { weight: "bold", fill: Ls.Scheme.Tx2, ...Lu } }, { named: _i.BuiltInName.Input, fill: "FFFFCC99", font: { ...Lu, fill: "FF3F3F76" }, border: { left: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: _i.BuiltInName.Output, fill: "FFF2F2F2", font: { ...Lu, fill: "FF3F3F3F" }, border: { left: { style: Ys.StrokeStyle.Thin, color: "FF3F3F3F" }, top: { style: Ys.StrokeStyle.Thin, color: "FF3F3F3F" }, right: { style: Ys.StrokeStyle.Thin, color: "FF3F3F3F" }, bottom: { style: Ys.StrokeStyle.Thin, color: "FF3F3F3F" } } }, { named: _i.BuiltInName.Calculation, fill: "FFF2F2F2", font: { ...Lu, fill: "FFFA7D00" }, border: { left: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: _i.BuiltInName.CheckCell, fill: "FFA5A5A5", font: { ...Lu, fill: Ls.Scheme.Bg1 }, border: { left: { style: Ys.StrokeStyle.Double, color: "FF3F3F3F" }, top: { style: Ys.StrokeStyle.Double, color: "FF3F3F3F" }, right: { style: Ys.StrokeStyle.Double, color: "FF3F3F3F" }, bottom: { style: Ys.StrokeStyle.Double, color: "FF3F3F3F" } } }, { named: _i.BuiltInName.LinkedCell, font: { ...Lu, fill: "FFFA7D00" }, border: { bottom: { style: Ys.StrokeStyle.Double, color: "FFFF8001" } } }, { named: _i.BuiltInName.Total, font: { ...Lu, weight: "bold", fill: Ls.Scheme.Tx1 }, border: { top: { style: Ys.StrokeStyle.Thin, color: Ls.Scheme.Accent1 }, bottom: { style: Ys.StrokeStyle.Double, color: Ls.Scheme.Accent1 } } }, { named: _i.BuiltInName.Good, fill: "FFC6EFCE", font: { ...Lu, fill: "FF006100" } }, { named: _i.BuiltInName.Bad, fill: "FFFFC7CE", font: { ...Lu, fill: "FF9C0006" } }, { named: _i.BuiltInName.Neutral, fill: "FFFFEB9C", font: { ...Lu, fill: "FF9C5700" } }, { named: _i.BuiltInName.Accent1 }, { named: _i.BuiltInName.Accent1_20 }, { named: _i.BuiltInName.Accent1_40 }, { named: _i.BuiltInName.Accent1_60 }, { named: _i.BuiltInName.Accent2 }, { named: _i.BuiltInName.Accent2_20 }, { named: _i.BuiltInName.Accent2_40 }, { named: _i.BuiltInName.Accent2_60 }, { named: _i.BuiltInName.Accent3 }, { named: _i.BuiltInName.Accent3_20 }, { named: _i.BuiltInName.Accent3_40 }, { named: _i.BuiltInName.Accent3_60 }, { named: _i.BuiltInName.Accent4 }, { named: _i.BuiltInName.Accent4_20 }, { named: _i.BuiltInName.Accent4_40 }, { named: _i.BuiltInName.Accent4_60 }, { named: _i.BuiltInName.Accent5 }, { named: _i.BuiltInName.Accent5_20 }, { named: _i.BuiltInName.Accent5_40 }, { named: _i.BuiltInName.Accent5_60 }, { named: _i.BuiltInName.Accent6 }, { named: _i.BuiltInName.Accent6_20 }, { named: _i.BuiltInName.Accent6_40 }, { named: _i.BuiltInName.Accent6_60 }, { named: _i.BuiltInName.ExplanatoryText, font: { ...Lu, style: qo.Style.Italic, fill: "FF7F7F7F" } }];
8932
+ }, Bu = Object.freeze({ fallbacks: o.EmptyArray, weight: 400, style: qo.Style.Normal, fill: Bs.Scheme.Tx1, letterSpacing: null, underline: qo.UnderlineStyle.None, strike: false, scheme: qo.Scheme.Minor, verticalAlign: qo.VerticalAlignment.Baseline, shadow: false, outline: false, extend: false }), Lu = Object.freeze({ style: Ys.StrokeStyle.None, color: Bs.Scheme.Tx1 }), Pu = Object.freeze({ [Ys.Edge.Top]: Lu, [Ys.Edge.Left]: Lu, [Ys.Edge.Bottom]: Lu, [Ys.Edge.Right]: Lu, [Ys.Edge.Horizontal]: Lu, [Ys.Edge.Vertical]: Lu, [Ys.Edge.DiagonalUp]: Lu, [Ys.Edge.DiagonalDown]: Lu }), zu = Object.freeze({ horizontal: wo.HorizontalAlignment.General, vertical: wo.VerticalAlignment.Bottom, indent: 0, relativeIndent: 0, overflow: wo.Overflow.Visible, rotation: 0, stacked: false, quotePrefix: false, justifyLastLine: false, readingOrder: wo.ReadingDirection.Auto, readingDirection: wo.ReadingDirection.Auto }), Wu = Object.freeze({ locked: false, formulaHidden: false }), Hu = Object.freeze({ fill: { type: Os.Type.None }, numberFormat: "General", alignment: zu, font: Bu, border: Pu, protection: Wu, quotePrefix: false, namedStyle: null }), Vu = (() => {
8933
+ const t2 = [{ named: _i.BuiltInName.Normal }, { named: _i.BuiltInName.RowLevel }, { named: _i.BuiltInName.ColLevel }, { named: _i.BuiltInName.Comma, numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)' }, { named: _i.BuiltInName.Currency, numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)' }, { named: _i.BuiltInName.Percent, numberFormat: "0%" }, { named: _i.BuiltInName.Comma0, numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)' }, { named: _i.BuiltInName.Currency0, numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)' }, { named: _i.BuiltInName.Hyperlink, font: { ...Bu, fill: Bs.Scheme.Hlink, underline: qo.UnderlineStyle.Single } }, { named: _i.BuiltInName.FollowedHyperlink, font: { ...Bu, fill: Bs.Scheme.FolHlink, underline: qo.UnderlineStyle.Single } }, { named: _i.BuiltInName.Note, fill: "FFFFFFCC", font: { ...Bu, style: qo.Style.Normal, fill: Bs.Scheme.Tx1 }, border: { left: { style: Ys.StrokeStyle.Thin, color: "FFB2B2B2" }, top: { style: Ys.StrokeStyle.Thin, color: "FFB2B2B2" }, right: { style: Ys.StrokeStyle.Thin, color: "FFB2B2B2" }, bottom: { style: Ys.StrokeStyle.Thin, color: "FFB2B2B2" } } }, { named: _i.BuiltInName.WarningText, font: { ...Bu, fill: "FFFF0000" } }, { named: _i.BuiltInName.Unknown12 }, { named: _i.BuiltInName.Unknown13 }, { named: _i.BuiltInName.Unknown14 }, { named: _i.BuiltInName.Title, font: { ...Bu, size: 18, fill: Bs.Scheme.Tx2 } }, { named: _i.BuiltInName.Heading1, font: { ...Bu, size: 15, weight: "bold", fill: Bs.Scheme.Tx2 }, border: { bottom: { style: Ys.StrokeStyle.Thick, color: Bs.Scheme.Accent1 } } }, { named: _i.BuiltInName.Heading2, font: { ...Bu, size: 13, weight: "bold", fill: Bs.Scheme.Tx2 }, border: { bottom: { style: Ys.StrokeStyle.Thick, color: "accent1 lumMod 40, lumOff 60" } } }, { named: _i.BuiltInName.Heading3, font: { ...Bu, weight: "bold", fill: Bs.Scheme.Tx2 }, border: { bottom: { style: Ys.StrokeStyle.Medium, color: "accent1 lumMod 40, lumOff 60" } } }, { named: _i.BuiltInName.Heading4, font: { weight: "bold", fill: Bs.Scheme.Tx2, ...Bu } }, { named: _i.BuiltInName.Input, fill: "FFFFCC99", font: { ...Bu, fill: "FF3F3F76" }, border: { left: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: _i.BuiltInName.Output, fill: "FFF2F2F2", font: { ...Bu, fill: "FF3F3F3F" }, border: { left: { style: Ys.StrokeStyle.Thin, color: "FF3F3F3F" }, top: { style: Ys.StrokeStyle.Thin, color: "FF3F3F3F" }, right: { style: Ys.StrokeStyle.Thin, color: "FF3F3F3F" }, bottom: { style: Ys.StrokeStyle.Thin, color: "FF3F3F3F" } } }, { named: _i.BuiltInName.Calculation, fill: "FFF2F2F2", font: { ...Bu, fill: "FFFA7D00" }, border: { left: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: Ys.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: _i.BuiltInName.CheckCell, fill: "FFA5A5A5", font: { ...Bu, fill: Bs.Scheme.Bg1 }, border: { left: { style: Ys.StrokeStyle.Double, color: "FF3F3F3F" }, top: { style: Ys.StrokeStyle.Double, color: "FF3F3F3F" }, right: { style: Ys.StrokeStyle.Double, color: "FF3F3F3F" }, bottom: { style: Ys.StrokeStyle.Double, color: "FF3F3F3F" } } }, { named: _i.BuiltInName.LinkedCell, font: { ...Bu, fill: "FFFA7D00" }, border: { bottom: { style: Ys.StrokeStyle.Double, color: "FFFF8001" } } }, { named: _i.BuiltInName.Total, font: { ...Bu, weight: "bold", fill: Bs.Scheme.Tx1 }, border: { top: { style: Ys.StrokeStyle.Thin, color: Bs.Scheme.Accent1 }, bottom: { style: Ys.StrokeStyle.Double, color: Bs.Scheme.Accent1 } } }, { named: _i.BuiltInName.Good, fill: "FFC6EFCE", font: { ...Bu, fill: "FF006100" } }, { named: _i.BuiltInName.Bad, fill: "FFFFC7CE", font: { ...Bu, fill: "FF9C0006" } }, { named: _i.BuiltInName.Neutral, fill: "FFFFEB9C", font: { ...Bu, fill: "FF9C5700" } }, { named: _i.BuiltInName.Accent1 }, { named: _i.BuiltInName.Accent1_20 }, { named: _i.BuiltInName.Accent1_40 }, { named: _i.BuiltInName.Accent1_60 }, { named: _i.BuiltInName.Accent2 }, { named: _i.BuiltInName.Accent2_20 }, { named: _i.BuiltInName.Accent2_40 }, { named: _i.BuiltInName.Accent2_60 }, { named: _i.BuiltInName.Accent3 }, { named: _i.BuiltInName.Accent3_20 }, { named: _i.BuiltInName.Accent3_40 }, { named: _i.BuiltInName.Accent3_60 }, { named: _i.BuiltInName.Accent4 }, { named: _i.BuiltInName.Accent4_20 }, { named: _i.BuiltInName.Accent4_40 }, { named: _i.BuiltInName.Accent4_60 }, { named: _i.BuiltInName.Accent5 }, { named: _i.BuiltInName.Accent5_20 }, { named: _i.BuiltInName.Accent5_40 }, { named: _i.BuiltInName.Accent5_60 }, { named: _i.BuiltInName.Accent6 }, { named: _i.BuiltInName.Accent6_20 }, { named: _i.BuiltInName.Accent6_40 }, { named: _i.BuiltInName.Accent6_60 }, { named: _i.BuiltInName.ExplanatoryText, font: { ...Bu, style: qo.Style.Italic, fill: "FF7F7F7F" } }];
8930
8934
  for (let e2 = 29; e2 <= 52; e2++) {
8931
8935
  const n2 = (e2 - 29) % 4, r2 = Math.floor((e2 - 29) / 4);
8932
8936
  let o2 = "";
8933
- 1 === n2 ? o2 = " lumMod 20, lumOff 80" : 2 === n2 ? o2 = " lumMod 40, lumOff 60" : 3 === n2 && (o2 = " lumMod 60, lumOff 40"), t2[e2].fill = `accent${r2 + 1}${o2}`, t2[e2].font = { fill: 0 === n2 ? Ls.Scheme.Bg1 : Ls.Scheme.Tx1, ...Lu };
8937
+ 1 === n2 ? o2 = " lumMod 20, lumOff 80" : 2 === n2 ? o2 = " lumMod 40, lumOff 60" : 3 === n2 && (o2 = " lumMod 60, lumOff 40"), t2[e2].fill = `accent${r2 + 1}${o2}`, t2[e2].font = { fill: 0 === n2 ? Bs.Scheme.Bg1 : Bs.Scheme.Tx1, ...Bu };
8934
8938
  }
8935
8939
  return o.deepFreeze(t2);
8936
8940
  })();
@@ -9152,7 +9156,7 @@ class Xu extends Uu {
9152
9156
  }
9153
9157
  getFill() {
9154
9158
  const t2 = this._value("fill");
9155
- return this._c.parseColor(t2 ?? Ls.Scheme.Bg1);
9159
+ return this._c.parseColor(t2 ?? Bs.Scheme.Bg1);
9156
9160
  }
9157
9161
  getLetterSpacing() {
9158
9162
  return this._value("letterSpacing") ?? this.getSize() / -25;
@@ -9199,7 +9203,7 @@ class Zu extends Uu {
9199
9203
  return Os.Type.Solid;
9200
9204
  }
9201
9205
  getColor() {
9202
- return this._c.parseColor(this._value("color") ?? Ls.Scheme.Bg1);
9206
+ return this._c.parseColor(this._value("color") ?? Bs.Scheme.Bg1);
9203
9207
  }
9204
9208
  toCSS(t2) {
9205
9209
  return { background: this.getColor().toCSS(t2) };
@@ -9213,7 +9217,7 @@ class tg extends Uu {
9213
9217
  return this._value("offset") ?? 0;
9214
9218
  }
9215
9219
  getColor() {
9216
- return this._c.parseColor(this._value("color") ?? Ls.Scheme.Bg1);
9220
+ return this._c.parseColor(this._value("color") ?? Bs.Scheme.Bg1);
9217
9221
  }
9218
9222
  }
9219
9223
  class eg extends Uu {
@@ -9256,11 +9260,11 @@ class ng extends Uu {
9256
9260
  return Os.Type.Pattern;
9257
9261
  }
9258
9262
  getBackground() {
9259
- const t2 = this._value("background") ?? Ls.Named.Window;
9263
+ const t2 = this._value("background") ?? Bs.Named.Window;
9260
9264
  return this._c.parseColor(t2);
9261
9265
  }
9262
9266
  getForeground() {
9263
- return this._c.parseColor(this._value("foreground") ?? Ls.Scheme.Tx1);
9267
+ return this._c.parseColor(this._value("foreground") ?? Bs.Scheme.Tx1);
9264
9268
  }
9265
9269
  getPatternType() {
9266
9270
  return this._value("patternType") ?? Os.BuiltInSheetPattern.None;
@@ -9608,12 +9612,12 @@ const gg = new class {
9608
9612
  const v2 = c2.colHeaders, x2 = v2.findOffset.bind(v2), I2 = v2.findIndex.bind(v2);
9609
9613
  let R2 = x2(h2);
9610
9614
  const A2 = R2;
9611
- let M2 = x2(h2 + b2), T2 = M2 - R2, N2 = h2, k2 = h2;
9612
- const F2 = { x: 0, y: 0, width: T2, height: d2?.height ?? 0 };
9615
+ let M2 = x2(h2 + b2), N2 = M2 - R2, T2 = h2, k2 = h2;
9616
+ const F2 = { x: 0, y: 0, width: N2, height: d2?.height ?? 0 };
9613
9617
  const O2 = h2 - h2 + b2;
9614
- let D2 = d2 ? d2.width - T2 : 0, L2 = F2;
9615
- T2 > 0 && D2 > 0 && !m2 && (S2 === p.Center && (D2 /= 2), S2 !== p.Left && S2 !== p.Center || (k2 = I2(M2 + D2), null !== a2 && (k2 = Math.min(k2, a2.colIndex - 1)), M2 = x2(k2), C2 = D2, y2 = k2 - 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), F2.x = A2 - R2, L2.x = F2.x), b2 > 1 && (y2 = S2 === p.Center ? Math.max(O2 - 1, y2) : b2 - 1, M2 = x2(h2 + 1), F2.width = M2 - R2, L2 = { ...F2 }, L2.width = T2);
9616
- return { anchorBounds: F2, leftIndex: w2, rightIndex: y2, leftOffset: E2, rightOffset: C2, colSpan: O2, colBounds: L2 };
9618
+ let D2 = d2 ? d2.width - N2 : 0, B2 = F2;
9619
+ N2 > 0 && D2 > 0 && !m2 && (S2 === p.Center && (D2 /= 2), S2 !== p.Left && S2 !== p.Center || (k2 = I2(M2 + D2), null !== a2 && (k2 = Math.min(k2, a2.colIndex - 1)), M2 = x2(k2), C2 = D2, y2 = k2 - h2), S2 !== p.Right && S2 !== p.Center || (T2 = I2(R2 - D2), null !== i2 && (T2 = Math.max(T2, i2.colIndex + 1)), R2 = x2(T2), E2 = D2, w2 = h2 - T2), F2.x = A2 - R2, B2.x = F2.x), b2 > 1 && (y2 = S2 === p.Center ? Math.max(O2 - 1, y2) : b2 - 1, M2 = x2(h2 + 1), F2.width = M2 - R2, B2 = { ...F2 }, B2.width = N2);
9620
+ return { anchorBounds: F2, leftIndex: w2, rightIndex: y2, leftOffset: E2, rightOffset: C2, colSpan: O2, colBounds: B2 };
9617
9621
  };
9618
9622
  class yg {
9619
9623
  constructor(t2, e2) {
@@ -9666,10 +9670,10 @@ const Eg = (t2, e2, n2, r2) => {
9666
9670
  if (v2) return v2;
9667
9671
  let x2 = null, I2 = null;
9668
9672
  const R2 = _g(e2, n2), A2 = R2.top + R2.bottom + +Ug(n2);
9669
- let M2 = false, T2 = false;
9670
- l2 && (T2 = true, (0 !== S2 || C2) && (T2 = false));
9671
- const N2 = T2 ? void 0 : pg(e2, n2, r2, s2), k2 = R2.left + R2.right + 2;
9672
- if (N2) {
9673
+ let M2 = false, N2 = false;
9674
+ l2 && (N2 = true, (0 !== S2 || C2) && (N2 = false));
9675
+ const T2 = N2 ? void 0 : pg(e2, n2, r2, s2), k2 = R2.left + R2.right + 2;
9676
+ if (T2) {
9673
9677
  if (e2 === t.Number && "General" === y2 && a2) {
9674
9678
  let t2 = r2, e3 = o.splitNumber(t2), s3 = "";
9675
9679
  s3 = Math.abs(t2) >= Math.pow(10, 12) || Math.abs(t2) <= Math.pow(10, -12) ? `0.${"0".repeat(Math.max(2, Math.min(e3.ipLength, 5)))}E+00` : 0 === Math.abs(e3.ipLength) ? "0.0" : Math.abs(e3.fpLength) > 0 ? "0".repeat(e3.ipLength) + ".0" : "0".repeat(e3.ipLength), t2 < 0 && (s3 = "-" + s3), s3 = "0".repeat(s3.length);
@@ -9678,7 +9682,7 @@ const Eg = (t2, e2, n2, r2) => {
9678
9682
  } else {
9679
9683
  let t2 = null;
9680
9684
  C2 && (t2 = { width: Math.max(1, i2 - k2) });
9681
- const e3 = N2.layout(t2);
9685
+ const e3 = T2.layout(t2);
9682
9686
  x2 = e3.bounds.width, I2 = e3.bounds.height;
9683
9687
  }
9684
9688
  if (null !== x2 && (x2 += k2), null !== I2 && (I2 += A2), M2 = e2 === t.String, S2) {
@@ -9726,7 +9730,7 @@ class vg {
9726
9730
  return this._options.sheet;
9727
9731
  }
9728
9732
  select(t2) {
9729
- return this._options.opener("#" + Bc(this._coords), t2);
9733
+ return this._options.opener("#" + Lc(this._coords), t2);
9730
9734
  }
9731
9735
  getColumnFilter() {
9732
9736
  if (!this._ri) return null;
@@ -9869,14 +9873,14 @@ class vg {
9869
9873
  const s3 = parseFloat(e3), a2 = s3 % 1 != 0, l2 = s3 >= 1;
9870
9874
  if (s3 < 0) return o.castToString(e3);
9871
9875
  if (!n2 || r4 || a2) if (!r4 || n2 || l2) {
9872
- const e4 = Tr("Short Date", t2, i2), n3 = Tr("Long Time", t2, i2);
9876
+ const e4 = Nr("Short Date", t2, i2), n3 = Nr("Long Time", t2, i2);
9873
9877
  if (e4 && n3) return e4.fmt + " " + n3.fmt;
9874
9878
  } else {
9875
- const e4 = Tr("Long Time", t2, i2);
9879
+ const e4 = Nr("Long Time", t2, i2);
9876
9880
  if (e4) return e4.fmt;
9877
9881
  }
9878
9882
  else {
9879
- const e4 = Tr("Short Date", t2, i2);
9883
+ const e4 = Nr("Short Date", t2, i2);
9880
9884
  if (e4) return e4.fmt;
9881
9885
  }
9882
9886
  }
@@ -10004,7 +10008,7 @@ class Ig {
10004
10008
  }
10005
10009
  const Rg = [null], Ag = { colIndex: -1, rowIndex: -1 };
10006
10010
  let Mg;
10007
- const Tg = (t2, n2, r2, o2 = false) => {
10011
+ const Ng = (t2, n2, r2, o2 = false) => {
10008
10012
  const s2 = r2 === e.Orientation.Row, i2 = t2.length, a2 = new Array(i2);
10009
10013
  for (let e2 = 0; e2 < i2; e2++) {
10010
10014
  const r3 = t2[e2];
@@ -10017,7 +10021,7 @@ const Tg = (t2, n2, r2, o2 = false) => {
10017
10021
  }
10018
10022
  }
10019
10023
  return a2;
10020
- }, Ng = (t2, e2, n2) => {
10024
+ }, Tg = (t2, e2, n2) => {
10021
10025
  const r2 = e2, o2 = t2.length;
10022
10026
  for (let e3 = 0; e3 < o2; e3++) {
10023
10027
  const o3 = t2[e3];
@@ -10045,7 +10049,7 @@ const Tg = (t2, n2, r2, o2 = false) => {
10045
10049
  if (t2.rowStart <= n2.rowStart && t2.rowEnd >= n2.rowEnd) return e.Orientation.Column;
10046
10050
  }
10047
10051
  return t2 ? ((t3) => t3.rowEnd - t3.rowStart > t3.colEnd - t3.colStart ? e.Orientation.Column : e.Orientation.Row)(t2) : e.Orientation.Row;
10048
- }, Dg = () => false, Lg = () => true, Bg = () => null, Pg = () => sa, zg = () => 0, Wg = new class extends vg {
10052
+ }, Dg = () => false, Bg = () => true, Lg = () => null, Pg = () => sa, zg = () => 0, Wg = new class extends vg {
10049
10053
  constructor() {
10050
10054
  super(null, null);
10051
10055
  }
@@ -10062,10 +10066,10 @@ const Tg = (t2, n2, r2, o2 = false) => {
10062
10066
  return Mg || (Mg = new Fm().getNormal(), Mg);
10063
10067
  }
10064
10068
  toString() {
10065
- return `${this._coords ? Bc(this._coords) : Rc} => ${this._v ?? "{blank}"}`;
10069
+ return `${this._coords ? Lc(this._coords) : Rc} => ${this._v ?? "{blank}"}`;
10066
10070
  }
10067
10071
  }(), Hg = () => Vg, Vg = { forEach: () => {
10068
- }, [Symbol.iterator]: Pg, entries: Pg, select: wh, find: wh, calculate: wh, getCell: () => Wg, getValue: Bg, waitForCalcs: () => Promise.resolve(Vg), setValue: wh, setFormula: wh, setValues: wh, updateCells: wh, updateStyle: wh, getCells: () => [[Wg]], getStyleUpdater: wh, getValues: () => [[null]], getBounds: Bg, getIntersect: Hg, getUnion: Hg, getDifferences: wh, getResizeBy: Hg, getResizeTo: Hg, getOffsetBy: Hg, getOffsetTo: Hg, getFixed: Hg, getUsedRange: Hg, getEntireRows: Hg, getEntireColumns: Hg, getSurrounding: wh, getExtended: wh, isEntireRows: Dg, isEntireColumns: Dg, isEntireRange: Dg, getWidth: zg, getHeight: zg, size: 0, sort: wh, clear: wh, setHyperlink: wh, setComments: wh, merge: wh, unmerge: wh, getMerges: wh, insert: wh, insertFrom: wh, delete: wh, getDefaultShiftOrientation: wh, getDefaultSortCriteria: wh, autoFill: wh, autoFit: wh, getSnapshot: wh, copyFrom: wh, doBatch: wh, startIncrementalUpdates: wh, getRowHeaders: wh, getColumnHeaders: wh, getCounts: wh, getCount: zg, isContentful: Dg, addListener: wh, getColumnStart: zg, getRowStart: zg, getColumnEnd: zg, getRowEnd: zg, getRowCount: zg, getColumnCount: zg, getVisible: wh, getCoords: Bg, isEmpty: Lg, toString: () => Rc, getA1: () => Rc, isInvalid: Lg, getSheet: Bg, isReadOnly: Lg, isICellRange: true };
10072
+ }, [Symbol.iterator]: Pg, entries: Pg, select: wh, find: wh, calculate: wh, getCell: () => Wg, getValue: Lg, waitForCalcs: () => Promise.resolve(Vg), setValue: wh, setFormula: wh, setValues: wh, updateCells: wh, updateStyle: wh, getCells: () => [[Wg]], getStyleUpdater: wh, getValues: () => [[null]], getBounds: Lg, getIntersect: Hg, getUnion: Hg, getDifferences: wh, getResizeBy: Hg, getResizeTo: Hg, getOffsetBy: Hg, getOffsetTo: Hg, getFixed: Hg, getUsedRange: Hg, getEntireRows: Hg, getEntireColumns: Hg, getSurrounding: wh, getExtended: wh, isEntireRows: Dg, isEntireColumns: Dg, isEntireRange: Dg, getWidth: zg, getHeight: zg, size: 0, sort: wh, clear: wh, setHyperlink: wh, setComments: wh, merge: wh, unmerge: wh, getMerges: wh, insert: wh, insertFrom: wh, delete: wh, getDefaultShiftOrientation: wh, getDefaultSortCriteria: wh, autoFill: wh, autoFit: wh, getSnapshot: wh, copyFrom: wh, doBatch: wh, startIncrementalUpdates: wh, getRowHeaders: wh, getColumnHeaders: wh, getCounts: wh, getCount: zg, isContentful: Dg, addListener: wh, getColumnStart: zg, getRowStart: zg, getColumnEnd: zg, getRowEnd: zg, getRowCount: zg, getColumnCount: zg, getVisible: wh, getCoords: Lg, isEmpty: Bg, toString: () => Rc, getA1: () => Rc, isInvalid: Bg, getSheet: Lg, isReadOnly: Bg, isICellRange: true };
10069
10073
  function jg(t2, e2 = null, n2 = null, r2 = Rc) {
10070
10074
  return t2 || n2 ? Object.freeze({ ...Vg, getSheet: () => t2, bounds: () => n2, getA1: () => r2, toString: () => n2 ? Hc(n2, e2) : r2 }) : Vg;
10071
10075
  }
@@ -10168,7 +10172,7 @@ const $g = /^[\\+-]?[0-9]*\.?[0-9]*$/, Gg = (t2, e2, r2) => {
10168
10172
  return f2 && (t3 += f2.asOADate), p2 && (t3 += p2.parsed.oaDateTime), s2.value = t3, s2;
10169
10173
  }
10170
10174
  const _2 = n.getBuiltInByLabel(t2);
10171
- return _2 ? (s2.value = _2, s2) : (s2.value = t2, Oo(t2) ? s2.hyperlink = t2 : Lo(t2) && (s2.hyperlink = t2, s2.hyperlink.toLowerCase().startsWith("mailto:") || (s2.hyperlink = `mailto:${s2.hyperlink}`)), t2.includes("\n") && (s2.style = { ...s2?.style, alignment: { overflow: wo.Overflow.Wrap } }), s2);
10175
+ return _2 ? (s2.value = _2, s2) : (s2.value = t2, Oo(t2) ? s2.hyperlink = t2 : Bo(t2) && (s2.hyperlink = t2, s2.hyperlink.toLowerCase().startsWith("mailto:") || (s2.hyperlink = `mailto:${s2.hyperlink}`)), t2.includes("\n") && (s2.style = { ...s2?.style, alignment: { overflow: wo.Overflow.Wrap } }), s2);
10172
10176
  }, Ug = (t2) => {
10173
10177
  const e2 = t2.getFont().getUnderline() === qo.UnderlineStyle.SingleAccounting, n2 = t2.getFont().getUnderline() === qo.UnderlineStyle.DoubleAccounting;
10174
10178
  let r2 = 0;
@@ -11352,7 +11356,7 @@ class Am {
11352
11356
  }
11353
11357
  }
11354
11358
  const Mm = { rowIndex: 0, colIndex: 0 };
11355
- class Tm extends ag {
11359
+ class Nm extends ag {
11356
11360
  constructor(t2, e2) {
11357
11361
  super(t2, c.EmptyRange, e2);
11358
11362
  }
@@ -11396,9 +11400,9 @@ class Tm extends ag {
11396
11400
  return o.toSafeJSON(this._p);
11397
11401
  }
11398
11402
  }
11399
- class Nm {
11403
+ class Tm {
11400
11404
  constructor(t2, e2, n2, r2 = null) {
11401
- this._name = e2.name, this._properties = e2, this._rangeStyle = new Tm(t2, e2.style), this._doDelete = n2, this._builtInID = r2;
11405
+ this._name = e2.name, this._properties = e2, this._rangeStyle = new Nm(t2, e2.style), this._doDelete = n2, this._builtInID = r2;
11402
11406
  }
11403
11407
  getRanged() {
11404
11408
  return this._rangeStyle;
@@ -11474,7 +11478,7 @@ class Fm {
11474
11478
  for (let n2 = 0; n2 < t2.length; n2++) {
11475
11479
  const r2 = t2[n2], o2 = { ...r2 }, s2 = r2.named;
11476
11480
  delete o2.named;
11477
- const i2 = f.resolveTypedUpdates(o2, ku, this), a2 = new Nm(this, { name: s2, style: i2 }, this._hideOrRemoveNamed.bind(this), n2);
11481
+ const i2 = f.resolveTypedUpdates(o2, ku, this), a2 = new Tm(this, { name: s2, style: i2 }, this._hideOrRemoveNamed.bind(this), n2);
11478
11482
  s2 === _i.BuiltInName.Normal && (this._normalRanged = a2.getRanged(), this._normalStyle = og(this, null)), e2.set(s2.toLowerCase(), a2);
11479
11483
  }
11480
11484
  }
@@ -11597,7 +11601,7 @@ class Fm {
11597
11601
  }
11598
11602
  const a2 = $u(0, t2.style, this.getNormal());
11599
11603
  t2 = { ...t2, style: a2 };
11600
- const l2 = f.resolveTypedUpdates(t2, Fu, this, i2), c2 = new Nm(this, l2, this._hideOrRemoveNamed.bind(this), s2);
11604
+ const l2 = f.resolveTypedUpdates(t2, Fu, this, i2), c2 = new Tm(this, l2, this._hideOrRemoveNamed.bind(this), s2);
11601
11605
  return l2.name === _i.BuiltInName.Normal && (this._normalRanged = c2.getRanged(), this._normalStyle = og(this, null)), this._customCellStyles.set(r2, c2), c2;
11602
11606
  }
11603
11607
  _setCustomTableStyleInternal(t2, e2) {
@@ -11756,7 +11760,7 @@ class Fm {
11756
11760
  }
11757
11761
  }
11758
11762
  const Om = "BinaryResource must have only one initial data value.", Dm = "Resource is closed.";
11759
- class Lm {
11763
+ class Bm {
11760
11764
  constructor(t2) {
11761
11765
  if (this._listeners = /* @__PURE__ */ new Set(), this._type = t2.type, this._name = t2?.name, t2.base64) {
11762
11766
  const e2 = t2.base64;
@@ -11838,7 +11842,7 @@ class Lm {
11838
11842
  return this._isClosed;
11839
11843
  }
11840
11844
  }
11841
- let Bm = class {
11845
+ let Lm = class {
11842
11846
  constructor(t2, e2, n2) {
11843
11847
  this._state = t2, this._fromJSON = e2, this._onLastEnd = n2, this._state.openScopes.add(this), this._isClosed = false;
11844
11848
  }
@@ -11880,10 +11884,10 @@ class Pm {
11880
11884
  let e3 = false;
11881
11885
  this._resources.forEach((n3) => {
11882
11886
  n3.getName() === t2 && (e3 = true, t2 = n3);
11883
- }), e3 || (t2 = new Lm({ name: t2, fetch: t2, type: null }));
11887
+ }), e3 || (t2 = new Bm({ name: t2, fetch: t2, type: null }));
11884
11888
  }
11885
11889
  let e2 = null;
11886
- e2 = t2 instanceof Lm ? t2 : new Lm({ ...t2 });
11890
+ e2 = t2 instanceof Bm ? t2 : new Bm({ ...t2 });
11887
11891
  const n2 = this;
11888
11892
  return this._resources.has(e2) || (e2.addUnloadListener({ onUnload: (t3) => {
11889
11893
  n2._resources.delete(e2);
@@ -11898,7 +11902,7 @@ class Pm {
11898
11902
  beginPersist() {
11899
11903
  this._persistOpen || (this._persistOpen = { byRefs: /* @__PURE__ */ new Map(), byIds: /* @__PURE__ */ new Map(), openScopes: /* @__PURE__ */ new Set() });
11900
11904
  const t2 = {}, e2 = /* @__PURE__ */ new Set(), n2 = this;
11901
- return new Bm(this._persistOpen, (r2) => {
11905
+ return new Lm(this._persistOpen, (r2) => {
11902
11906
  const o2 = n2.add({ base64: r2.base64, name: r2.name, type: r2.type });
11903
11907
  return o2.addReference(t2), e2.add(o2), o2;
11904
11908
  }, () => {
@@ -12062,7 +12066,7 @@ const Gm = (t2, e2) => {
12062
12066
  let n2 = t2.rowStart, r2 = t2.rowEnd, o2 = t2.colStart, s2 = t2.colEnd, i2 = false;
12063
12067
  return o2 === Number.MIN_SAFE_INTEGER && (o2 = e2.colStart, i2 = true), n2 === Number.MIN_SAFE_INTEGER && (n2 = e2.rowStart, i2 = true), r2 === Number.MAX_SAFE_INTEGER && (r2 = e2.rowEnd, i2 = true), s2 === Number.MAX_SAFE_INTEGER && (s2 = e2.colEnd, i2 = true), i2 ? { rowStart: n2, rowEnd: r2, colStart: o2, colEnd: s2 } : t2;
12064
12068
  }, Um = (t2, e2) => t2.value?.once === e2.value?.once, Jm = (t2, e2) => t2.colStart === e2.colStart && t2.rowStart === e2.rowStart, qm = (t2, e2, n2) => !!n2 && (t2 === n2.rowStart && e2 === n2.colStart), Km = (t2, n2 = 0, r2 = 0) => {
12065
- const o2 = t2._values, s2 = t2._coords, i2 = o2.getRuns({ bounds: s2 }), a2 = o2.getOrientation() !== e.Orientation.Row, l2 = a2 ? s2.colStart : s2.rowStart, c2 = a2 ? s2.rowStart : s2.colStart, h2 = new Nt.Builder(null, n2, r2);
12069
+ const o2 = t2._values, s2 = t2._coords, i2 = o2.getRuns({ bounds: s2 }), a2 = o2.getOrientation() !== e.Orientation.Row, l2 = a2 ? s2.colStart : s2.rowStart, c2 = a2 ? s2.rowStart : s2.colStart, h2 = new Tt.Builder(null, n2, r2);
12066
12070
  let d2 = i2.next();
12067
12071
  for (; !d2.done; ) {
12068
12072
  const t3 = d2.value;
@@ -12304,7 +12308,7 @@ class Qm {
12304
12308
  const n3 = o3[t4];
12305
12309
  if (n3 === l3) continue;
12306
12310
  Af[0] = { colStart: r3.ref.colStart, rowStart: l3, colEnd: r3.ref.colEnd, rowEnd: n3 - 1, value: r3 }, Af[1] = { colStart: r3.ref.colStart, rowStart: n3, colEnd: r3.ref.colStart, rowEnd: r3.ref.rowEnd, value: r3 };
12307
- const s4 = Tf(r3, Af, e.Orientation.Row, n3);
12311
+ const s4 = Nf(r3, Af, e.Orientation.Row, n3);
12308
12312
  let i4 = s4[0];
12309
12313
  _2(i4, a3), g2.push(i4), i4 = s4[1], _2(i4, a3), g2.push(i4), l3 = n3;
12310
12314
  }
@@ -12351,7 +12355,7 @@ class Qm {
12351
12355
  _formulaAt(t2, e2) {
12352
12356
  Rf.colStart = e2, Rf.rowStart = t2, Rf.colEnd = e2, Rf.rowEnd = t2;
12353
12357
  const n2 = this._formulaSpatial.search(Rf);
12354
- if (0 === n2.length) throw new Error(`No formula found at ${Bc({ rowIndex: t2, colIndex: e2 })}`);
12358
+ if (0 === n2.length) throw new Error(`No formula found at ${Lc({ rowIndex: t2, colIndex: e2 })}`);
12355
12359
  return n2[0];
12356
12360
  }
12357
12361
  getDirectPrecedentsAt(t2, e2, n2) {
@@ -12372,7 +12376,7 @@ class Qm {
12372
12376
  let r2 = null;
12373
12377
  const o2 = "string" == typeof t2 ? Qc(t2, nf) : t2;
12374
12378
  if (null !== n2) {
12375
- const t3 = new Nt.Builder(), s2 = this._values.getOrientation() === e.Orientation.Column, i2 = s2 ? o2.colIndex : o2.rowIndex, a2 = s2 ? o2.rowIndex : o2.colIndex;
12379
+ const t3 = new Tt.Builder(), s2 = this._values.getOrientation() === e.Orientation.Column, i2 = s2 ? o2.colIndex : o2.rowIndex, a2 = s2 ? o2.rowIndex : o2.colIndex;
12376
12380
  t3.addValue(i2, a2, n2), r2 = this.setInputs(t3.build(), null);
12377
12381
  } else this.delete(c.cellToRange(o2, rf));
12378
12382
  return r2;
@@ -12526,7 +12530,7 @@ class Qm {
12526
12530
  }
12527
12531
  }
12528
12532
  o3 && (t3 = s2.concat(o3)), t3.sort(c.columnFirstRangeComparator);
12529
- const i3 = new Nt.Builder((t4) => new aa(t4));
12533
+ const i3 = new Tt.Builder((t4) => new aa(t4));
12530
12534
  let a3;
12531
12535
  const l3 = n2._values, g3 = l3.getOrientation() === e.Orientation.Column, m3 = t3.length;
12532
12536
  for (let e2 = 0; e2 < m3; e2++) {
@@ -12797,13 +12801,13 @@ class Qm {
12797
12801
  }
12798
12802
  C2.pendingPrecedents = A2;
12799
12803
  }
12800
- const T2 = S2 ? v2 : x2, N2 = S2 ? x2 : v2;
12804
+ const N2 = S2 ? v2 : x2, T2 = S2 ? x2 : v2;
12801
12805
  o2.node = C2, o2.colIndex = v2, o2.rowIndex = x2;
12802
12806
  const k2 = b2.formula;
12803
12807
  let F2, O2;
12804
12808
  const D2 = C2.pending;
12805
- let L2 = D2;
12806
- if ((A2 || C2.pendingPromise) && (L2 = true, F2 = C2.cachedValue ?? null, C2.pendingPromise && (C2.pendingResolved ? (C2.pendingPromise = null, C2.pendingResolved = false, L2 = false) : (C2.pendingPromise.cancelled = true, F2 = void 0))), void 0 === F2 && (o2.formula = k2, o2.colIndex = v2, o2.rowIndex = x2, F2 = k2.evaluate(r2, void 0, C2.inputs), o2.formula = null, O2 = F2 && F2.then ? F2 : null, L2 = !!O2), L2 !== D2 && (C2.pending = L2, w2 || (w2 = Cl(S2)), w2.append(T2, N2, L2)), O2 && (F2 = C2.cachedValue ?? null, !O2.__originator)) {
12809
+ let B2 = D2;
12810
+ if ((A2 || C2.pendingPromise) && (B2 = true, F2 = C2.cachedValue ?? null, C2.pendingPromise && (C2.pendingResolved ? (C2.pendingPromise = null, C2.pendingResolved = false, B2 = false) : (C2.pendingPromise.cancelled = true, F2 = void 0))), void 0 === F2 && (o2.formula = k2, o2.colIndex = v2, o2.rowIndex = x2, F2 = k2.evaluate(r2, void 0, C2.inputs), o2.formula = null, O2 = F2 && F2.then ? F2 : null, B2 = !!O2), B2 !== D2 && (C2.pending = B2, w2 || (w2 = Cl(S2)), w2.append(N2, T2, B2)), O2 && (F2 = C2.cachedValue ?? null, !O2.__originator)) {
12807
12811
  O2.__originator = l2;
12808
12812
  const t3 = C2;
12809
12813
  mf.add(t3), t3.pendingPromise = O2, t3.pendingResolved = false, O2.then((e3) => {
@@ -12814,7 +12818,7 @@ class Qm {
12814
12818
  }, (t4) => {
12815
12819
  });
12816
12820
  }
12817
- let B2 = 1, P2 = 1;
12821
+ let L2 = 1, P2 = 1;
12818
12822
  const z2 = I2 instanceof rc;
12819
12823
  let W2;
12820
12824
  const H2 = I2 instanceof n.Spill;
@@ -12828,9 +12832,9 @@ class Qm {
12828
12832
  if (W2) {
12829
12833
  if (z2) {
12830
12834
  const t5 = I2;
12831
- B2 = t5.getWidth(), P2 = t5.getHeight();
12835
+ L2 = t5.getWidth(), P2 = t5.getHeight();
12832
12836
  }
12833
- const t4 = { colStart: v2, rowStart: x2, colEnd: v2 + B2 - 1, rowEnd: x2 + P2 - 1 };
12837
+ const t4 = { colStart: v2, rowStart: x2, colEnd: v2 + L2 - 1, rowEnd: x2 + P2 - 1 };
12834
12838
  f2.remove(W2), W2 && W2.value.getError() || (d2.insertNonOverlapping({ ...t4, value: null }), p2.delete(t4), u2.insertNonOverlapping(t4));
12835
12839
  }
12836
12840
  }
@@ -12850,14 +12854,14 @@ class Qm {
12850
12854
  let s3, i3;
12851
12855
  if (J2) {
12852
12856
  F2 = n.BuiltIn.Spill, V2 = 1, j2 = 1;
12853
- s3 = [[T2, [[N2, [F2]]]]], p2.setValues(s3), i3 = { colStart: v2, rowStart: x2, colEnd: v2, rowEnd: x2 };
12857
+ s3 = [[N2, [[T2, [F2]]]]], p2.setValues(s3), i3 = { colStart: v2, rowStart: x2, colEnd: v2, rowEnd: x2 };
12854
12858
  } else {
12855
- const e4 = Km($2, T2, N2);
12859
+ const e4 = Km($2, N2, T2);
12856
12860
  e4 && (s3 = e4.tuples), s3 && p2.setValues(s3), i3 = t3;
12857
12861
  }
12858
12862
  U2 = { ...t3, value: new yh(t3, l2, J2) }, f2.insert(U2), E2 = Ym(E2, C2, t3), u2.insertNonOverlapping(i3), h2.insertNonOverlapping(i3), d2.insertNonOverlapping({ ...i3, value: new Eh(i3, _2) });
12859
12863
  }
12860
- (!c.isEqualRanges(W2, U2) || J2 || H2) && (W2 && g2.insert(W2), U2 && g2.insert(U2)), V2 === B2 && j2 === P2 || (C2.state = vh, h2.insertNonOverlapping({ colStart: v2, rowStart: x2, colEnd: v2 + Math.max(V2, B2) - 1, rowEnd: x2 + Math.max(j2, P2) - 1 }), a2 = false);
12864
+ (!c.isEqualRanges(W2, U2) || J2 || H2) && (W2 && g2.insert(W2), U2 && g2.insert(U2)), V2 === L2 && j2 === P2 || (C2.state = vh, h2.insertNonOverlapping({ colStart: v2, rowStart: x2, colEnd: v2 + Math.max(V2, L2) - 1, rowEnd: x2 + Math.max(j2, P2) - 1 }), a2 = false);
12861
12865
  let q2 = F2 && F2.isFormulaError ? F2 : null;
12862
12866
  k2.getError() && (q2 = k2.getError()), (q2 || R2 && !t2) && (q2 && !q2.equals(R2) || R2 && R2.equals(q2)), C2.cachedValue = F2, s2[i2++] = C2;
12863
12867
  }
@@ -13090,7 +13094,7 @@ class Qm {
13090
13094
  }
13091
13095
  }
13092
13096
  const Zm = (t2, e2, n2, r2) => {
13093
- const o2 = new Nt.Builder(cf), s2 = Cl(r2);
13097
+ const o2 = new Tt.Builder(cf), s2 = Cl(r2);
13094
13098
  t2.sort(r2 ? c.columnFirstCellComparator : c.rowFirstCellComparator);
13095
13099
  const i2 = t2.length;
13096
13100
  for (let e3 = 0; e3 < i2; e3++) {
@@ -13150,7 +13154,7 @@ let Ef = 0, Cf = 0;
13150
13154
  const bf = new Array(df);
13151
13155
  let vf = 0;
13152
13156
  const xf = new Array(df), If = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, Rf = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, Af = [null, null], Mf = Object.freeze({ inserts: o.EmptyArray, removes: o.EmptyArray });
13153
- function Tf(t2, e2, n2, r2) {
13157
+ function Nf(t2, e2, n2, r2) {
13154
13158
  const o2 = t2;
13155
13159
  if (o2?.getSplit) {
13156
13160
  const t3 = o2.getSplit(e2, n2, r2);
@@ -13159,7 +13163,7 @@ function Tf(t2, e2, n2, r2) {
13159
13163
  }
13160
13164
  return e2;
13161
13165
  }
13162
- class Nf {
13166
+ class Tf {
13163
13167
  constructor(t2, e2 = true) {
13164
13168
  this._options = { ...Of, ...t2 }, this._getFunction = this._options.getFunction, this._isColumn = e2;
13165
13169
  }
@@ -13169,7 +13173,7 @@ class Nf {
13169
13173
  async _initialize() {
13170
13174
  const t2 = await st._validate(true), e2 = Ff();
13171
13175
  this._calcScope = e2, this._runtime = new kf(this._options, t2);
13172
- const { initializeBuiltIns: n2 } = await import("./7H3yxcnDV3XLhva8.mjs"), r2 = this;
13176
+ const { initializeBuiltIns: n2 } = await import("./BDiANu0RdLHHeDjE.mjs"), r2 = this;
13173
13177
  return this._builtInFunctions = Object.freeze(n2(() => r2)), { builtInFunctions: this._builtInFunctions, calcScope: this._calcScope };
13174
13178
  }
13175
13179
  getBuiltInFunctions() {
@@ -13187,8 +13191,8 @@ class Nf {
13187
13191
  getFormulaAt(t2, e2) {
13188
13192
  const n2 = this._calcScope.formulaSpatial;
13189
13193
  if (!n2) return null;
13190
- Lf.colStart = e2, Lf.rowStart = t2, Lf.colEnd = e2, Lf.rowEnd = t2;
13191
- const r2 = n2.search(Lf);
13194
+ Bf.colStart = e2, Bf.rowStart = t2, Bf.colEnd = e2, Bf.rowEnd = t2;
13195
+ const r2 = n2.search(Bf);
13192
13196
  if (0 === r2.length) return null;
13193
13197
  return r2[0].value.formula.getTextAt(t2, e2) ?? null;
13194
13198
  }
@@ -13228,8 +13232,8 @@ class Nf {
13228
13232
  getSpillAt(t2, e2) {
13229
13233
  const n2 = this._calcScope.spillSpatial;
13230
13234
  if (!n2) return null;
13231
- Bf.rowStart = t2, Bf.colStart = e2, Bf.rowEnd = t2, Bf.colEnd = e2;
13232
- const r2 = n2.search(Bf);
13235
+ Lf.rowStart = t2, Lf.colStart = e2, Lf.rowEnd = t2, Lf.colEnd = e2;
13236
+ const r2 = n2.search(Lf);
13233
13237
  if (0 === r2.length) return null;
13234
13238
  for (let n3 = 0; n3 < r2.length; n3++) {
13235
13239
  const o2 = r2[n3];
@@ -13342,7 +13346,7 @@ class kf {
13342
13346
  }
13343
13347
  getVersion() {
13344
13348
  try {
13345
- const t2 = "0.6.10";
13349
+ const t2 = "0.6.11";
13346
13350
  if (-1 === t2.indexOf(".env.")) return `${t2}`;
13347
13351
  } catch (t2) {
13348
13352
  return "local";
@@ -13365,7 +13369,7 @@ const Ff = () => ({ rowIndex: 0, colIndex: 0, sheetName: null, node: null, value
13365
13369
  if (void 0 !== a2 && (n3.colStart === r2 && n3.rowStart === o2 && n3.colEnd === s2 && n3.rowEnd === i2)) return a2;
13366
13370
  }
13367
13371
  return null;
13368
- }, Lf = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 }, Bf = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 };
13372
+ }, Bf = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 }, Lf = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 };
13369
13373
  class Pf {
13370
13374
  _setScope(t2) {
13371
13375
  this._scope = t2;
@@ -13882,11 +13886,11 @@ class op extends Xi {
13882
13886
  return this._statusTransition || (this._statusTransition = (async () => {
13883
13887
  if (this._status === Vm.Status.Off) try {
13884
13888
  this._status = Vm.Status.Starting, this._emitter.notify("onStatusChange"), this._emitter.notify("onStarting");
13885
- const t2 = this, e2 = this._options, n2 = (n3) => t2.getFunctions().getByName(n3) ?? e2?.getFunction?.(n3), r2 = new Nf({ ...e2, getFunction: n2 });
13889
+ const t2 = this, e2 = this._options, n2 = (n3) => t2.getFunctions().getByName(n3) ?? e2?.getFunction?.(n3), r2 = new Tf({ ...e2, getFunction: n2 });
13886
13890
  this._context = r2;
13887
13891
  const o2 = await r2._initialize(), s2 = o2.builtInFunctions;
13888
13892
  this._functions = new rp({ transactions: this._transactions, context: r2, readonlyFunctions: s2 });
13889
- const i2 = await import("./DYfoyGfCcVCiIKnt.mjs");
13893
+ const i2 = await import("./C6CzYcWcgSF60FQh.mjs");
13890
13894
  this._formulaParser = new i2.FormulaParser(), this._scope = o2.calcScope, this._status = Vm.Status.Ready, this._emitter.notify("onStatusChange"), this._emitter.notify("onReady");
13891
13895
  } catch (t2) {
13892
13896
  throw this._status = Vm.Status.Off, this._emitter.notify("onError", t2), this._emitter.notify("onStatusChange"), t2;
@@ -14695,7 +14699,7 @@ class Ip extends Yi {
14695
14699
  t2 && t2.removeListener?.(), super._processDelete();
14696
14700
  }
14697
14701
  }
14698
- const Rp = "Item must be specified.", Ap = "Name must be a non-empty string", Mp = (t2, e2 = null) => `Named item '${t2}' already exists${e2 ? `in scope ${e2}` : ""}.`, Tp = (t2) => {
14702
+ const Rp = "Item must be specified.", Ap = "Name must be a non-empty string", Mp = (t2, e2 = null) => `Named item '${t2}' already exists${e2 ? `in scope ${e2}` : ""}.`, Np = (t2) => {
14699
14703
  const e2 = [];
14700
14704
  for (let n2 = 0; n2 < t2.getCount(); n2++) {
14701
14705
  let r2 = null;
@@ -14707,7 +14711,7 @@ const Rp = "Item must be specified.", Ap = "Name must be a non-empty string", Mp
14707
14711
  e2.push(r2 ? r2.toString().toLowerCase() : Rc);
14708
14712
  }
14709
14713
  return e2.sort(), e2.join(",");
14710
- }, Np = /^[^a-zA-Z_\\]+$/, kp = /^[^a-zA-Z0-9_.]+$/;
14714
+ }, Tp = /^[^a-zA-Z_\\]+$/, kp = /^[^a-zA-Z0-9_.]+$/;
14711
14715
  class Fp {
14712
14716
  constructor(t2) {
14713
14717
  this._emitter = null, this._closed = false, this._lastLookup = o.EmptyArray, this._lastLookupAddress = null, this._lastLookupScope = null, this._lastLookupType = null, this._allowExtrudes = false, this._options = { ...t2 };
@@ -14771,7 +14775,7 @@ class Fp {
14771
14775
  const n2 = this._getState();
14772
14776
  if (!n2) return null;
14773
14777
  if (0 === n2.itemsByKey.size) return null;
14774
- const r2 = Tp(e2), o2 = n2.itemsByFullRange.get(r2);
14778
+ const r2 = Np(e2), o2 = n2.itemsByFullRange.get(r2);
14775
14779
  if (!o2) return null;
14776
14780
  const s2 = [];
14777
14781
  return o2.forEach((t3) => {
@@ -14825,7 +14829,7 @@ class Fp {
14825
14829
  if (t2.length > 255) throw new Error("Name must not exceed 255 characters.");
14826
14830
  if (-1 !== t2.indexOf(" ")) throw new Error("Name must not contain any spaces.");
14827
14831
  const r2 = t2.trim().toLowerCase(), o2 = r2.substring(1, t2.length - 1);
14828
- if (new RegExp(Np).test(r2[0])) throw new Error("First letter must be either a letter, an underscore, or a backslash.");
14832
+ if (new RegExp(Tp).test(r2[0])) throw new Error("First letter must be either a letter, an underscore, or a backslash.");
14829
14833
  if (new RegExp(kp).test(o2)) throw new Error("Name must be either letters, numbers, periods or underscores.");
14830
14834
  if (1 === r2.length && ("r" === r2[0] || "c" === r2[0])) throw new Error("Name can not be 'r' or 'c'.");
14831
14835
  if (((t3, e3 = Mc, n3 = Ac, r3 = false) => {
@@ -14927,7 +14931,7 @@ class Fp {
14927
14931
  const i2 = this._toKey(e2);
14928
14932
  if (o2) {
14929
14933
  const { asFullRange: a3, asPartialRanges: l3, asRanges: c3 } = ((t4) => {
14930
- const e3 = t4.getCoords(), n3 = Tp(t4), r4 = n3.split(",");
14934
+ const e3 = t4.getCoords(), n3 = Np(t4), r4 = n3.split(",");
14931
14935
  return { asFullRange: n3, asPartialRanges: r4, asRanges: e3 };
14932
14936
  })(o2);
14933
14937
  if (r3 = a3, s2 = l3, c3) {
@@ -15088,7 +15092,7 @@ class Dp extends Xi {
15088
15092
  return "Shape";
15089
15093
  }
15090
15094
  }
15091
- class Lp extends Xi {
15095
+ class Bp extends Xi {
15092
15096
  constructor(t2) {
15093
15097
  super(t2), t2.json && this._updateState({ data: t2.json });
15094
15098
  }
@@ -15108,7 +15112,7 @@ class Lp extends Xi {
15108
15112
  return "CustomElement";
15109
15113
  }
15110
15114
  }
15111
- const Bp = (t2, e2, n2 = true, r2 = true) => {
15115
+ const Lp = (t2, e2, n2 = true, r2 = true) => {
15112
15116
  let o2 = 0, s2 = 0;
15113
15117
  if (!n2 && !r2) return { x: o2, y: s2 };
15114
15118
  let i2 = false, a2 = 0;
@@ -16013,7 +16017,7 @@ class h_ {
16013
16017
  }, getA1(t3) {
16014
16018
  if (!_2) throw new Error(jh);
16015
16019
  return this._parseHeaderRangeAddress({ min: i2 + t3, end: i2 + t3 }) ?? _2;
16016
- } }, w2 = Ts(e2, (e3) => {
16020
+ } }, w2 = Ns(e2, (e3) => {
16017
16021
  const n3 = e3.value;
16018
16022
  if (!l2 && !n3) return;
16019
16023
  let r3 = l2;
@@ -16053,7 +16057,7 @@ class h_ {
16053
16057
  }, forEachSpan: (t3, e3) => o2(t3, e3, this._headers), forEachVisibleSpan: (t3, e3) => {
16054
16058
  const n3 = r2?.min ?? null, o3 = r2?.max ?? null;
16055
16059
  let s3;
16056
- if (s3 = e3?.includeHidden ? t3(n3, o3) : Ts(this._indexedHidden, (e4) => {
16060
+ if (s3 = e3?.includeHidden ? t3(n3, o3) : Ns(this._indexedHidden, (e4) => {
16057
16061
  if (e4.value) return;
16058
16062
  const n4 = t3(e4.min, e4.max);
16059
16063
  return n4 && n4.break ? n4 : void 0;
@@ -16728,7 +16732,7 @@ class y_ {
16728
16732
  const n2 = this._state.selection;
16729
16733
  if (n2) {
16730
16734
  let e3 = {};
16731
- !n2.cell || 0 === n2.cell.colIndex && 0 === n2.cell.rowIndex || (e3.cell = Bc(n2.cell)), n2.ranges && n2.ranges.length > 0 && (e3.ranges = qc(n2.ranges), void 0 !== n2.rangeIndex && -1 !== n2.rangeIndex && 0 !== n2.rangeIndex && (e3.rangeIndex = n2.rangeIndex)), Object.keys(e3).length > 0 && (t2.selection = e3);
16735
+ !n2.cell || 0 === n2.cell.colIndex && 0 === n2.cell.rowIndex || (e3.cell = Lc(n2.cell)), n2.ranges && n2.ranges.length > 0 && (e3.ranges = qc(n2.ranges), void 0 !== n2.rangeIndex && -1 !== n2.rangeIndex && 0 !== n2.rangeIndex && (e3.rangeIndex = n2.rangeIndex)), Object.keys(e3).length > 0 && (t2.selection = e3);
16732
16736
  }
16733
16737
  if (delete t2.freezePanes, this._state.freezePanes && (0 !== this._state.freezePanes.coords.colIndex || 0 !== this._state.freezePanes.coords.rowIndex)) {
16734
16738
  const e3 = {};
@@ -16782,7 +16786,7 @@ class y_ {
16782
16786
  }
16783
16787
  }
16784
16788
  async function E_() {
16785
- const { getCrypto: t2 } = await import("./BdxiWApp1wAGXbrK.mjs");
16789
+ const { getCrypto: t2 } = await import("./CSi4kx--AQTJXWKa.mjs");
16786
16790
  return t2();
16787
16791
  }
16788
16792
  const C_ = async (t2, e2, ...n2) => {
@@ -17003,7 +17007,7 @@ class M_ {
17003
17007
  }
17004
17008
  _createRange(t2, e2) {
17005
17009
  let n2 = this._options;
17006
- return e2 && (n2 = { ...this._options, getOptions: Qg(this._options?.getOptions, e2) }), new T_(t2, this._sheet, n2);
17010
+ return e2 && (n2 = { ...this._options, getOptions: Qg(this._options?.getOptions, e2) }), new N_(t2, this._sheet, n2);
17007
17011
  }
17008
17012
  _validateWrite() {
17009
17013
  const t2 = this._readOnly;
@@ -17123,10 +17127,10 @@ class M_ {
17123
17127
  return this._sheet._getSnapshot(this.getCoords(), t2);
17124
17128
  }
17125
17129
  getEntireRows(t2, n2) {
17126
- return this._createRanges(Tg(this.getCoords(), this._sheet._entireCoords, e.Orientation.Column, t2), n2);
17130
+ return this._createRanges(Ng(this.getCoords(), this._sheet._entireCoords, e.Orientation.Column, t2), n2);
17127
17131
  }
17128
17132
  getEntireColumns(t2, n2) {
17129
- return this._createRanges(Tg(this.getCoords(), this._sheet._entireCoords, e.Orientation.Row, t2), n2);
17133
+ return this._createRanges(Ng(this.getCoords(), this._sheet._entireCoords, e.Orientation.Row, t2), n2);
17130
17134
  }
17131
17135
  getDefaultShiftOrientation() {
17132
17136
  return this._sheet._getDefaultShiftOrientation(this.getCoords()[0]);
@@ -17147,13 +17151,13 @@ class M_ {
17147
17151
  return Fg(this.getCoords(), e.Orientation.Column);
17148
17152
  }
17149
17153
  isEntireRowsAny() {
17150
- return Ng(this.getCoords(), this._sheet._entireCoords, false);
17154
+ return Tg(this.getCoords(), this._sheet._entireCoords, false);
17151
17155
  }
17152
17156
  isEntireColumnsAny() {
17153
17157
  return kg(this.getCoords(), this._sheet._entireCoords, false);
17154
17158
  }
17155
17159
  isEntireRows() {
17156
- return Ng(this.getCoords(), this._sheet._entireCoords, true);
17160
+ return Tg(this.getCoords(), this._sheet._entireCoords, true);
17157
17161
  }
17158
17162
  isEntireColumns() {
17159
17163
  return kg(this.getCoords(), this._sheet._entireCoords, true);
@@ -17191,7 +17195,7 @@ class M_ {
17191
17195
  return true;
17192
17196
  }
17193
17197
  }
17194
- class T_ {
17198
+ class N_ {
17195
17199
  constructor(t2, e2, n2) {
17196
17200
  this._coords = Object.freeze(t2), this._sheet = e2, this._readOnly = n2?.readOnly ?? null;
17197
17201
  }
@@ -17203,7 +17207,7 @@ class T_ {
17203
17207
  if (!t2) return jg(n2, n2._entireCoords);
17204
17208
  if (n2._validateCoords(t2), n2._closed) return jg(null, n2._entireCoords, t2);
17205
17209
  let r2 = this._options;
17206
- return e2 && (r2 = { ...this._options, getOptions: Qg(this._options?.getOptions, e2) }), new T_(t2, this._sheet, r2);
17210
+ return e2 && (r2 = { ...this._options, getOptions: Qg(this._options?.getOptions, e2) }), new N_(t2, this._sheet, r2);
17207
17211
  }
17208
17212
  _createRanges(t2, e2) {
17209
17213
  let n2 = this._options;
@@ -17372,11 +17376,11 @@ class T_ {
17372
17376
  }
17373
17377
  getEntireRows(t2, n2) {
17374
17378
  const r2 = this._sheet;
17375
- return this._createRange(Tg([this.getCoords()], r2._entireCoords, e.Orientation.Column, t2)[0], n2);
17379
+ return this._createRange(Ng([this.getCoords()], r2._entireCoords, e.Orientation.Column, t2)[0], n2);
17376
17380
  }
17377
17381
  getEntireColumns(t2, n2) {
17378
17382
  const r2 = this._sheet;
17379
- return this._createRange(Tg([this.getCoords()], r2._entireCoords, e.Orientation.Row, t2)[0], n2);
17383
+ return this._createRange(Ng([this.getCoords()], r2._entireCoords, e.Orientation.Row, t2)[0], n2);
17380
17384
  }
17381
17385
  getRowHeaders(t2) {
17382
17386
  const e2 = this.getCoords();
@@ -17461,7 +17465,7 @@ class T_ {
17461
17465
  }
17462
17466
  isEntireRows() {
17463
17467
  const t2 = this._sheet;
17464
- return Ng([this.getCoords()], t2._entireCoords, true);
17468
+ return Tg([this.getCoords()], t2._entireCoords, true);
17465
17469
  }
17466
17470
  isEntireColumns() {
17467
17471
  const t2 = this._sheet;
@@ -17469,7 +17473,7 @@ class T_ {
17469
17473
  }
17470
17474
  isEntireRange() {
17471
17475
  const t2 = this.getCoords(), e2 = this._sheet;
17472
- return kg([t2], e2._entireCoords, true) && Ng([t2], e2._entireCoords, true);
17476
+ return kg([t2], e2._entireCoords, true) && Tg([t2], e2._entireCoords, true);
17473
17477
  }
17474
17478
  getWidth() {
17475
17479
  const t2 = this._coords;
@@ -17593,9 +17597,9 @@ class T_ {
17593
17597
  return true;
17594
17598
  }
17595
17599
  }
17596
- const N_ = Math.pow(2, 14), k_ = Math.pow(2, 20), F_ = (t2) => `${t2}`, O_ = (t2) => Dc(t2), D_ = (t2) => `${t2 + 1}`;
17597
- let L_ = 0;
17598
- const B_ = () => [];
17600
+ const T_ = Math.pow(2, 14), k_ = Math.pow(2, 20), F_ = (t2) => `${t2}`, O_ = (t2) => Dc(t2), D_ = (t2) => `${t2 + 1}`;
17601
+ let B_ = 0;
17602
+ const L_ = () => [];
17599
17603
  let P_ = 0;
17600
17604
  class z_ {
17601
17605
  constructor(t2) {
@@ -17604,7 +17608,7 @@ class z_ {
17604
17608
  st._validate(true), this._transactions = e2.transactions ?? new k(), this._ownTransactions = !e2.transactions;
17605
17609
  const n2 = this._beginCommit({ description: "New Sheet" }), r2 = this;
17606
17610
  try {
17607
- this._entireCoords = Object.freeze({ colStart: 0, rowStart: 0, colEnd: (e2.maxColumns ?? N_) - 1, rowEnd: (e2.maxRows ?? k_) - 1 }), this._strings = e2.strings ?? new Wm(), this._ownStrings = !e2.strings;
17611
+ this._entireCoords = Object.freeze({ colStart: 0, rowStart: 0, colEnd: (e2.maxColumns ?? T_) - 1, rowEnd: (e2.maxRows ?? k_) - 1 }), this._strings = e2.strings ?? new Wm(), this._ownStrings = !e2.strings;
17608
17612
  const t3 = e2.styles ?? new Fm();
17609
17613
  this._styles = t3, this._ownStyles = !e2.styles, this._names = e2.names ?? new Fp({ addressToRanges: (t4) => r2.getRanges(t4), getCurrentScope: () => r2.getName(), isReadOnly: () => r2._options.readonly ?? false, transactions: r2._transactions }), this._ownNames = !e2.names, this._namesRemoveListener = this._names.addListeners({ onCollectionChange: (t4) => {
17610
17614
  r2._calculateFull();
@@ -17653,7 +17657,7 @@ class z_ {
17653
17657
  if (this._validateCoords(t2), this._closed) return jg(null, this._entireCoords, t2);
17654
17658
  null === n2 && this._options.readonly && (n2 = "Readonly sheet");
17655
17659
  let r2 = null;
17656
- return (e2 || n2) && (r2 = { getOptions: e2, readOnly: n2 }), new T_(((t3) => {
17660
+ return (e2 || n2) && (r2 = { getOptions: e2, readOnly: n2 }), new N_(((t3) => {
17657
17661
  if (!t3) return null;
17658
17662
  const e3 = { colStart: t3.colIndex ?? t3.colStart ?? 0, rowStart: t3.rowIndex ?? t3.rowStart ?? 0, colEnd: t3.colIndex ?? t3.colEnd ?? 0, rowEnd: t3.rowIndex ?? t3.rowEnd ?? 0 };
17659
17663
  return (t3.$colStart || t3.$colIndex) && (e3.$colStart = true), (t3.$colEnd || t3.$colIndex) && (e3.$colEnd = true), (t3.$rowStart || t3.$rowIndex) && (e3.$rowStart = true), (t3.$rowEnd || t3.$rowIndex) && (e3.$rowEnd = true), e3;
@@ -17878,7 +17882,7 @@ class z_ {
17878
17882
  if (!o2 || !n2) return null;
17879
17883
  let s2 = this._entireCoords;
17880
17884
  r2 && (s2 = { colStart: Math.max(s2.colStart - r2, s2.colStart), rowStart: s2.rowStart, colEnd: Math.min(s2.colEnd + r2, s2.colEnd), rowEnd: s2.rowEnd });
17881
- const i2 = { rowStart: n2.rowStart, colStart: s2.colStart, rowEnd: n2.rowEnd, colEnd: s2.colEnd }, a2 = { bounds: i2, includeRangeTypes: Nh, orientation: e.Orientation.Row, excludeHidden: true, byCell: false }, l2 = n2.colStart, h2 = n2.colEnd;
17885
+ const i2 = { rowStart: n2.rowStart, colStart: s2.colStart, rowEnd: n2.rowEnd, colEnd: s2.colEnd }, a2 = { bounds: i2, includeRangeTypes: Th, orientation: e.Orientation.Row, excludeHidden: true, byCell: false }, l2 = n2.colStart, h2 = n2.colEnd;
17882
17886
  let d2, u2, g2 = -1;
17883
17887
  const m2 = (t2, e2) => {
17884
17888
  let n3 = t2.next();
@@ -17950,14 +17954,14 @@ class z_ {
17950
17954
  const C2 = n2?.cellValuesGrid ?? null;
17951
17955
  let b2 = C2 ? C2.entries(l2) : sa, v2 = b2.next(), x2 = null, I2 = null, R2 = null;
17952
17956
  v2.done || (x2 = v2.value[0], I2 = v2.value[1]);
17953
- let A2 = p2?.[y2++], M2 = f2.next(), T2 = null;
17954
- const N2 = s2 !== e.Orientation.Row;
17957
+ let A2 = p2?.[y2++], M2 = f2.next(), N2 = null;
17958
+ const T2 = s2 !== e.Orientation.Row;
17955
17959
  let k2;
17956
17960
  const F2 = c.createCellComparator(s2, i2);
17957
17961
  let O2;
17958
17962
  if (!M2.done) {
17959
17963
  const t3 = M2.value;
17960
- T2 = t3.intersection, O2 = t3.start;
17964
+ N2 = t3.intersection, O2 = t3.start;
17961
17965
  }
17962
17966
  k2 = (t3) => {
17963
17967
  let e2 = null, n3 = null, r3 = null, o3 = false, s3 = false, i3 = null, a3 = null, l3 = false;
@@ -17969,25 +17973,25 @@ class z_ {
17969
17973
  if (l3) e2 = { colIndex: A2.colIndex, rowIndex: A2.rowIndex }, n3 = A2.scalar, r3 = A2.intersection, A2 = p2[y2++];
17970
17974
  else if (x2 && O2) {
17971
17975
  const t4 = F2(x2, O2);
17972
- t4 < 0 ? (e2 = x2, n3 = I2, o3 = true) : t4 > 0 ? (e2 = O2, r3 = T2, s3 = true) : (e2 = x2, n3 = I2, r3 = T2, o3 = true, s3 = true);
17976
+ t4 < 0 ? (e2 = x2, n3 = I2, o3 = true) : t4 > 0 ? (e2 = O2, r3 = N2, s3 = true) : (e2 = x2, n3 = I2, r3 = N2, o3 = true, s3 = true);
17973
17977
  } else if (x2) e2 = x2, n3 = I2, o3 = true;
17974
17978
  else {
17975
17979
  if (!O2 || !u2) return oa;
17976
- e2 = O2, r3 = T2, s3 = true;
17980
+ e2 = O2, r3 = N2, s3 = true;
17977
17981
  }
17978
17982
  if (o3 && (v2 = b2.next(), v2.done ? x2 = null : (x2 = v2.value[0], I2 = v2.value[1])), s3) {
17979
17983
  const t4 = u2 ? void 0 : x2;
17980
- if (M2 = f2.next(t4), M2.done) O2 = null, T2 = null;
17984
+ if (M2 = f2.next(t4), M2.done) O2 = null, N2 = null;
17981
17985
  else {
17982
17986
  const t5 = M2.value;
17983
- T2 = t5.intersection, O2 = t5.cell;
17987
+ N2 = t5.intersection, O2 = t5.cell;
17984
17988
  }
17985
17989
  }
17986
17990
  let c2 = false;
17987
17991
  const h3 = e2.rowIndex, d3 = e2.colIndex;
17988
- N2 || (c2 = h3 === R2?.rowIndex);
17992
+ T2 || (c2 = h3 === R2?.rowIndex);
17989
17993
  let g3 = false;
17990
- if (N2 || (g3 = h3 === x2?.rowIndex), c2) i3 = R2;
17994
+ if (T2 || (g3 = h3 === x2?.rowIndex), c2) i3 = R2;
17991
17995
  else if (m2) {
17992
17996
  let t4 = false;
17993
17997
  for (; !t4 && E2 < w2; ) {
@@ -18083,7 +18087,7 @@ class z_ {
18083
18087
  }
18084
18088
  _createIncrementalUpdater(t2, n2 = null, r2) {
18085
18089
  const s2 = t2?.orientation ?? e.Orientation.Row, i2 = t2?.allowUnorderedWrites ?? false, a2 = s2 === e.Orientation.Column, l2 = this._isDataColumn, h2 = a2 !== l2, u2 = this;
18086
- let g2, m2, f2, p2 = h2 ? new Nt.TransposedBuilder() : new Nt.Builder(), _2 = null;
18090
+ let g2, m2, f2, p2 = h2 ? new Tt.TransposedBuilder() : new Tt.Builder(), _2 = null;
18087
18091
  if (n2) {
18088
18092
  const t3 = n2.getCoords(), e2 = t3.colStart, r3 = t3.rowStart, o2 = t3.colEnd, s3 = t3.rowEnd;
18089
18093
  _2 = (t4, n3) => {
@@ -18098,7 +18102,7 @@ class z_ {
18098
18102
  let E2 = null;
18099
18103
  return g2 = Object.freeze({ push: (t3, e2) => {
18100
18104
  const n3 = u2._cellToCoords(t3);
18101
- return w2 && (E2 && w2(n3, E2) <= 0 && (S2(y2), p2 = h2 ? new Nt.TransposedBuilder() : new Nt.Builder()), E2 = n3), m2(a2 ? n3.colIndex : n3.rowIndex, a2 ? n3.rowIndex : n3.colIndex, e2);
18105
+ return w2 && (E2 && w2(n3, E2) <= 0 && (S2(y2), p2 = h2 ? new Tt.TransposedBuilder() : new Tt.Builder()), E2 = n3), m2(a2 ? n3.colIndex : n3.rowIndex, a2 ? n3.rowIndex : n3.colIndex, e2);
18102
18106
  }, pushAt: m2, pushMultipleAt: f2, apply: S2 }), g2;
18103
18107
  }
18104
18108
  _updateTuples(t2, n2, r2 = void 0, o2 = null) {
@@ -18113,24 +18117,24 @@ class z_ {
18113
18117
  let v2 = false;
18114
18118
  m2 && this._hasRangedEntries("unlockSpatial", E2) && (b2[Rh.Type.Unlock] = false, v2 = true), this._hasRangedEntries("mergeSpatial", E2) && (b2[Rh.Type.Merge] = false, v2 = true);
18115
18119
  const x2 = this._rangeStateIterator({ bounds: E2, orientation: g2, includeRangeTypes: b2, reuseIterator: { done: false, value: null } });
18116
- let I2 = x2.next(), R2 = -1, A2 = -1, M2 = -1, T2 = -1, N2 = null;
18120
+ let I2 = x2.next(), R2 = -1, A2 = -1, M2 = -1, N2 = -1, T2 = null;
18117
18121
  if (!I2.done) {
18118
18122
  const t3 = I2.value, e2 = t3.start, n3 = t3.end;
18119
- R2 = u2 ? e2.colIndex : e2.rowIndex, A2 = u2 ? n3.colIndex : n3.rowIndex, M2 = u2 ? e2.rowIndex : e2.colIndex, T2 = u2 ? n3.rowIndex : n3.colIndex, N2 = t3.intersection;
18123
+ R2 = u2 ? e2.colIndex : e2.rowIndex, A2 = u2 ? n3.colIndex : n3.rowIndex, M2 = u2 ? e2.rowIndex : e2.colIndex, N2 = u2 ? n3.rowIndex : n3.colIndex, T2 = t3.intersection;
18120
18124
  }
18121
18125
  let k2 = (t3, e2) => {
18122
18126
  do {
18123
- if (!N2 || t3 <= M2 && e2 < M2) return null;
18124
- if (t3 >= R2 && e2 >= M2 && t3 <= A2 && e2 <= T2) return N2;
18125
- if (I2 = x2.next(), I2.done) N2 = null, k2 = null, v2 = false;
18127
+ if (!T2 || t3 <= M2 && e2 < M2) return null;
18128
+ if (t3 >= R2 && e2 >= M2 && t3 <= A2 && e2 <= N2) return T2;
18129
+ if (I2 = x2.next(), I2.done) T2 = null, k2 = null, v2 = false;
18126
18130
  else {
18127
18131
  const t4 = I2.value;
18128
- R2 = u2 ? t4.start.colIndex : t4.start.rowIndex, A2 = u2 ? t4.end.colIndex : t4.end.rowIndex, M2 = u2 ? t4.start.rowIndex : t4.start.colIndex, T2 = u2 ? t4.end.rowIndex : t4.end.colIndex, N2 = t4.intersection;
18132
+ R2 = u2 ? t4.start.colIndex : t4.start.rowIndex, A2 = u2 ? t4.end.colIndex : t4.end.rowIndex, M2 = u2 ? t4.start.rowIndex : t4.start.colIndex, N2 = u2 ? t4.end.rowIndex : t4.end.colIndex, T2 = t4.intersection;
18129
18133
  }
18130
- } while (N2);
18131
- return N2;
18134
+ } while (T2);
18135
+ return T2;
18132
18136
  };
18133
- const F2 = c2.getState(this), O2 = F2.cellValuesGrid.clone(), D2 = F2.calcGraph.clone(), L2 = F2.formulaSpatial.clone(), B2 = F2.spillSpatial.clone(), P2 = F2.pendingSpatial.clone(), z2 = F2.calcErrorsSpatial.clone(), W2 = F2.contentfulSpatial.clone(), H2 = Cl(u2), V2 = Cl(u2, (t3, e2) => {
18137
+ const F2 = c2.getState(this), O2 = F2.cellValuesGrid.clone(), D2 = F2.calcGraph.clone(), B2 = F2.formulaSpatial.clone(), L2 = F2.spillSpatial.clone(), P2 = F2.pendingSpatial.clone(), z2 = F2.calcErrorsSpatial.clone(), W2 = F2.contentfulSpatial.clone(), H2 = Cl(u2), V2 = Cl(u2, (t3, e2) => {
18134
18138
  if (t3 === e2) return e2;
18135
18139
  }), j2 = Cl(u2, (t3, e2) => {
18136
18140
  if (t3 === e2) return e2;
@@ -18182,13 +18186,13 @@ class z_ {
18182
18186
  const t3 = a2.length;
18183
18187
  for (let e2 = 0; e2 < t3; e2++) {
18184
18188
  const t4 = a2[e2], n3 = t4[0];
18185
- if (Z2 >= n3) throw new Nt.OutOfOrderError(`Duplicate or out of order major indices: {${n3}}.`);
18189
+ if (Z2 >= n3) throw new Tt.OutOfOrderError(`Duplicate or out of order major indices: {${n3}}.`);
18186
18190
  if (Z2 = n3, tt2 = Number.MIN_SAFE_INTEGER, n3 < _2 || n3 > S2) throw new d("Provided major bounds is invalid");
18187
18191
  const r4 = t4[1], o4 = [], i4 = r4.length;
18188
18192
  for (let t5 = 0; t5 < i4; t5++) {
18189
18193
  const e3 = r4[t5], i5 = e3[1], a3 = i5.length;
18190
18194
  let l3 = e3[0], c3 = l3;
18191
- if (tt2 > c3) throw new Nt.OutOfOrderError(`Duplicate or out of order minor indices: {${c3}}.`);
18195
+ if (tt2 > c3) throw new Tt.OutOfOrderError(`Duplicate or out of order minor indices: {${c3}}.`);
18192
18196
  if (c3 < w2 || c3 + a3 > y2 + 1) throw new d("Provided minor bounds is invalid");
18193
18197
  let h3 = [];
18194
18198
  for (let t6 = 0; t6 < a3; t6++) {
@@ -18215,21 +18219,21 @@ class z_ {
18215
18219
  const e2 = r3[t4];
18216
18220
  O2.delete(r3[t4]), W2.insertNonOverlapping({ ...e2, value: null });
18217
18221
  const n3 = D2.delete(e2);
18218
- this._updateFormulaSpatial(L2, null, n3);
18222
+ this._updateFormulaSpatial(B2, null, n3);
18219
18223
  }
18220
18224
  let i3;
18221
18225
  q2.length > 0 && (O2.setValues(q2), i3 = { tuples: q2, bounds: l2 });
18222
18226
  let g3, m3 = $2.done();
18223
18227
  if (m3.length > 1 && (m3 = tl(m3, e.Orientation.Column, 1)), i3 || m3.length > 0) {
18224
18228
  const t4 = D2.setInputs(i3, m3);
18225
- g3 = this._updateFormulaSpatial(L2, t4.inserts, t4.removes, F2.directStyleSpatial);
18229
+ g3 = this._updateFormulaSpatial(B2, t4.inserts, t4.removes, F2.directStyleSpatial);
18226
18230
  }
18227
18231
  const f3 = em(q2, u2), C3 = f3.length;
18228
18232
  for (let t4 = 0; t4 < C3; t4++) W2.insertNonOverlapping(f3[t4]);
18229
18233
  const b3 = V2.done();
18230
18234
  b3.length > 0 && this._updateStyles(b3), G2.length > 0 && this._merge(G2);
18231
18235
  const x3 = j2.done();
18232
- if (x3.length > 0 && this._setHyperlinks(x3), this._updateState({ cellValuesGrid: O2, contentfulSpatial: W2, calcGraph: D2, formulaSpatial: L2, spillSpatial: B2, pendingSpatial: P2, calcErrorsSpatial: z2 }), g3 && g3.length > 0 && this._updateStyles(g3, void 0, {}, true), n2?.autoFit) {
18236
+ if (x3.length > 0 && this._setHyperlinks(x3), this._updateState({ cellValuesGrid: O2, contentfulSpatial: W2, calcGraph: D2, formulaSpatial: B2, spillSpatial: L2, pendingSpatial: P2, calcErrorsSpatial: z2 }), g3 && g3.length > 0 && this._updateStyles(g3, void 0, {}, true), n2?.autoFit) {
18233
18237
  const t4 = "boolean" == typeof n2.autoFit ? X_ : n2.autoFit;
18234
18238
  this._autoFit([E2], t4);
18235
18239
  }
@@ -18301,8 +18305,8 @@ class z_ {
18301
18305
  }
18302
18306
  if (!w2) return;
18303
18307
  if (0 === S2.length) return;
18304
- const M2 = /* @__PURE__ */ new Map(), T2 = /* @__PURE__ */ new Map(), N2 = n2?.collators ?? Zi.DefaultCollators, k2 = N2.length;
18305
- for (let t3 = 0; t3 < k2; t3++) M2.set(N2[t3].type, N2[t3].compare), T2.set(N2[t3].type, t3);
18308
+ const M2 = /* @__PURE__ */ new Map(), N2 = /* @__PURE__ */ new Map(), T2 = n2?.collators ?? Zi.DefaultCollators, k2 = T2.length;
18309
+ for (let t3 = 0; t3 < k2; t3++) M2.set(T2[t3].type, T2[t3].compare), N2.set(T2[t3].type, t3);
18306
18310
  let F2 = null, O2 = null, D2 = null;
18307
18311
  S2.sort((t3, e2) => {
18308
18312
  const n3 = p2.length;
@@ -18315,14 +18319,14 @@ class z_ {
18315
18319
  const h3 = o3.getType(), d2 = s3.getType();
18316
18320
  let u3 = 0;
18317
18321
  if (h3 !== d2) {
18318
- let t4 = T2.get(h3);
18319
- u3 = T2.get(d2) - t4;
18322
+ let t4 = N2.get(h3);
18323
+ u3 = N2.get(d2) - t4;
18320
18324
  } else {
18321
18325
  let t4 = O2;
18322
18326
  if (F2 !== h3) {
18323
18327
  t4 = M2.get(h3), O2 = t4, F2 = h3;
18324
- let e3 = T2.get(d2);
18325
- const r4 = N2[e3].defaultOptions;
18328
+ let e3 = N2.get(d2);
18329
+ const r4 = T2[e3].defaultOptions;
18326
18330
  D2 = { ...r4, ...n4.collatorOptions };
18327
18331
  }
18328
18332
  u3 = t4(i3, a3, D2);
@@ -18331,9 +18335,9 @@ class z_ {
18331
18335
  }
18332
18336
  return 0;
18333
18337
  });
18334
- const L2 = this._beginCommit({ description: r2 });
18335
- let B2 = [u2];
18336
- v2 || (B2 = this._getVisible(B2, { orientations: c2 ? e.Orientations.Row : e.Orientations.Column })), this._clear(B2, void 0, void 0, true);
18338
+ const B2 = this._beginCommit({ description: r2 });
18339
+ let L2 = [u2];
18340
+ v2 || (L2 = this._getVisible(L2, { orientations: c2 ? e.Orientations.Row : e.Orientations.Column })), this._clear(L2, void 0, void 0, true);
18337
18341
  const P2 = this._createIncrementalUpdater({ orientation: l2 });
18338
18342
  let z2 = c2 ? u2.rowStart : u2.colStart;
18339
18343
  const W2 = S2.length;
@@ -18348,7 +18352,7 @@ class z_ {
18348
18352
  }
18349
18353
  z2 += I2;
18350
18354
  }
18351
- return P2.apply(), L2.commit(), u2;
18355
+ return P2.apply(), B2.commit(), u2;
18352
18356
  }
18353
18357
  _autoFill(t2, n2, r2) {
18354
18358
  const { direction: o2, amount: s2 } = ((t3, n3) => {
@@ -18375,20 +18379,20 @@ class z_ {
18375
18379
  p2.rowEnd = _2.rowEnd = t2.rowEnd + s2, p2.rowStart = t2.rowEnd + 1, E2 = 0 === w2.length ? E2 : t2.rowEnd + 1 - t2.rowStart, y2.colStart = y2.colEnd;
18376
18380
  }
18377
18381
  if (s2 % E2 !== 0) throw new Error(((t3) => `When filling with merged cells the amount to fill must be a multiple of the input range [${t3}].`)(E2));
18378
- const C2 = i2 ? "rowIndex" : "colIndex", v2 = i2 ? "colIndex" : "rowIndex", x2 = i2 ? t2.rowEnd + 1 - t2.rowStart : t2.colEnd + 1 - t2.colStart, I2 = i2 ? t2.rowStart : t2.colStart, R2 = i2 ? t2.rowEnd : t2.colEnd, A2 = i2 ? n2.rowStart : n2.colStart, M2 = i2 ? n2.rowEnd : n2.colEnd, T2 = i2 ? o2 === e.Direction.Down : o2 === e.Direction.Right;
18379
- T2 || (g2.reverse = true);
18380
- const N2 = T2 ? R2 + 1 : A2, k2 = (T2 ? M2 : I2 - 1) - N2 + 1, F2 = i2 ? t2.colEnd : t2.rowEnd;
18382
+ const C2 = i2 ? "rowIndex" : "colIndex", v2 = i2 ? "colIndex" : "rowIndex", x2 = i2 ? t2.rowEnd + 1 - t2.rowStart : t2.colEnd + 1 - t2.colStart, I2 = i2 ? t2.rowStart : t2.colStart, R2 = i2 ? t2.rowEnd : t2.colEnd, A2 = i2 ? n2.rowStart : n2.colStart, M2 = i2 ? n2.rowEnd : n2.colEnd, N2 = i2 ? o2 === e.Direction.Down : o2 === e.Direction.Right;
18383
+ N2 || (g2.reverse = true);
18384
+ const T2 = N2 ? R2 + 1 : A2, k2 = (N2 ? M2 : I2 - 1) - T2 + 1, F2 = i2 ? t2.colEnd : t2.rowEnd;
18381
18385
  l2.push(c.unionRanges(p2, t2));
18382
18386
  const O2 = [];
18383
18387
  let D2 = null;
18384
18388
  h2 || (m2 = this._beginCommit({ description: "Auto Fill", operation: { name: "autoFill", params: [t2, n2, r2] } }));
18385
- const L2 = this._cellIterator({ bounds: h2 ? y2 : t2, reverse: !T2, orientation: i2 ? e.Orientation.Column : e.Orientation.Row, includeRangeTypes: { [Rh.Type.Style]: false } });
18386
- let B2 = L2.next();
18387
- for (; !B2.done; ) {
18388
- const t3 = B2.value.context, e2 = t3.getCell(), n3 = t3.getCoords();
18389
- D2?.oppositeIndex !== n3[v2] && (D2 = { oppositeIndex: n3[v2], lastIndex: T2 ? I2 - 1 : R2 + 1, values: [] }, O2.push(D2));
18389
+ const B2 = this._cellIterator({ bounds: h2 ? y2 : t2, reverse: !N2, orientation: i2 ? e.Orientation.Column : e.Orientation.Row, includeRangeTypes: { [Rh.Type.Style]: false } });
18390
+ let L2 = B2.next();
18391
+ for (; !L2.done; ) {
18392
+ const t3 = L2.value.context, e2 = t3.getCell(), n3 = t3.getCoords();
18393
+ D2?.oppositeIndex !== n3[v2] && (D2 = { oppositeIndex: n3[v2], lastIndex: N2 ? I2 - 1 : R2 + 1, values: [] }, O2.push(D2));
18390
18394
  const r3 = n3[C2];
18391
- if (T2) for (let t4 = D2.lastIndex + 1; t4 < r3; t4++) D2.values.push(null);
18395
+ if (N2) for (let t4 = D2.lastIndex + 1; t4 < r3; t4++) D2.values.push(null);
18392
18396
  else for (let t4 = D2.lastIndex - 1; t4 > r3; t4--) D2.values.push(null);
18393
18397
  D2.lastIndex = r3;
18394
18398
  const o3 = e2.toDate();
@@ -18397,7 +18401,7 @@ class z_ {
18397
18401
  let t4 = e2.getValue();
18398
18402
  D2.values.push(t4);
18399
18403
  }
18400
- B2 = L2.next();
18404
+ L2 = B2.next();
18401
18405
  }
18402
18406
  const P2 = O2.length;
18403
18407
  for (let t3 = 0; t3 < P2; t3++) {
@@ -18419,7 +18423,7 @@ class z_ {
18419
18423
  const r3 = W2._rangeToCoords(t4);
18420
18424
  let s3;
18421
18425
  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 });
18422
- const a3 = i2 ? s3.rowIndex : s3.colIndex, l3 = { value: n3(T2 ? a3 - I2 : I2 - a3 + x2 - 1) };
18426
+ const a3 = i2 ? s3.rowIndex : s3.colIndex, l3 = { value: n3(N2 ? a3 - I2 : I2 - a3 + x2 - 1) };
18423
18427
  let c2 = null;
18424
18428
  return c2 = d2 ? this.createTemporaryCell(l3, s3) : this.createTemporaryCell(null, s3).createTemporaryCell(l3), c2;
18425
18429
  }), false;
@@ -18427,11 +18431,11 @@ class z_ {
18427
18431
  const H2 = this._createIncrementalUpdater({ orientation: i2 ? e.Orientation.Column : e.Orientation.Row }), V2 = O2.length;
18428
18432
  O2.sort((t3, e2) => t3.oppositeIndex - e2.oppositeIndex);
18429
18433
  for (let t3 = 0; t3 < V2; t3++) {
18430
- const e2 = t3, n3 = z2(u2, O2[e2].values), r3 = O2[e2].oppositeIndex, o3 = T2 ? x2 : x2 + k2 - 1, s3 = this.isDate1904();
18434
+ const e2 = t3, n3 = z2(u2, O2[e2].values), r3 = O2[e2].oppositeIndex, o3 = N2 ? x2 : x2 + k2 - 1, s3 = this.isDate1904();
18431
18435
  for (let t4 = 0; t4 < k2; t4++) {
18432
- let e3 = n3(o3 + (T2 ? t4 : -t4));
18436
+ let e3 = n3(o3 + (N2 ? t4 : -t4));
18433
18437
  qr(e3) && (e3 = eo(e3, s3));
18434
- const a3 = N2 + t4;
18438
+ const a3 = T2 + t4;
18435
18439
  i2 ? H2.pushAt(a3, r3, e3) : H2.pushAt(r3, a3, e3);
18436
18440
  }
18437
18441
  }
@@ -18464,7 +18468,7 @@ class z_ {
18464
18468
  const G2 = this._getState(), U2 = {}, J2 = {};
18465
18469
  J2.directStyleSpatial = G2.directStyleSpatial, J2.continuousFillSpatial = G2.continuousFillSpatial;
18466
18470
  let q2 = t2, K2 = p2;
18467
- if (!T2) {
18471
+ if (!N2) {
18468
18472
  let e2 = (i2 ? _2.rowEnd + 1 - _2.rowStart : _2.colEnd + 1 - _2.colStart) % x2;
18469
18473
  const n3 = i2 ? "rowStart" : "colStart", r3 = i2 ? "rowEnd" : "colEnd";
18470
18474
  0 !== e2 && (K2 = { ...p2, [r3]: Math.min(p2[r3], p2[n3] + e2) }, q2 = { ...t2, [n3]: t2[r3] - e2 + 1 }, p2[n3] = p2[n3] + e2);
@@ -18475,7 +18479,7 @@ class z_ {
18475
18479
  for (let t4 = 0; t4 < s3; t4++) r3.remove(o3[t4]);
18476
18480
  r3.load(n3.inserts), U2[e2] = r3;
18477
18481
  }
18478
- if (T2) {
18482
+ if (N2) {
18479
18483
  const e2 = this.getTables().getItems({ address: { rowIndex: t2.rowEnd, colIndex: t2.colEnd } });
18480
18484
  if (1 === e2.length) {
18481
18485
  const t3 = e2[0], n3 = t3.getRange().getCoords();
@@ -18507,7 +18511,7 @@ class z_ {
18507
18511
  const a3 = s4.value, g3 = void 0 !== a3 ? a3 : n2;
18508
18512
  let m2;
18509
18513
  if (null !== g3) {
18510
- if (g3.isIHyperlink) m2 = { ...g3._j }, i3 = g3.getDisplayText();
18514
+ if (g3.isIHyperlink) m2 = { ...g3._p }, i3 = g3.getDisplayText();
18511
18515
  else if ("string" == typeof g3) m2 = { address: g3 }, i3 = g3;
18512
18516
  else if (g3.address) {
18513
18517
  const t3 = g3, e2 = { ...t3 };
@@ -18744,7 +18748,7 @@ class z_ {
18744
18748
  }
18745
18749
  }
18746
18750
  _merge(t2, n2 = null) {
18747
- if (this._protectionCheck(B_, t2), 1 === t2.length && c.isSingleCell(t2[0])) return;
18751
+ if (this._protectionCheck(L_, t2), 1 === t2.length && c.isSingleCell(t2[0])) return;
18748
18752
  let r2 = e.Orientations.Both;
18749
18753
  n2?.orientations ? r2 = n2?.orientations : n2 === e.Orientations.Row ? r2 = e.Orientations.Row : n2 === e.Orientations.Column && (r2 = e.Orientations.Column);
18750
18754
  const o2 = n2?.discardMultipleValues ?? false;
@@ -18831,7 +18835,7 @@ class z_ {
18831
18835
  }
18832
18836
  }
18833
18837
  _unmerge(t2, e2) {
18834
- if (this._protectionCheck(B_, t2), Xl(t2)) throw new Error("We can't unmerge intersecting ranges.");
18838
+ if (this._protectionCheck(L_, t2), Xl(t2)) throw new Error("We can't unmerge intersecting ranges.");
18835
18839
  if (!this._getState()) return null;
18836
18840
  const n2 = c.unionRangesArrays(t2), r2 = om(t2), o2 = this._beginCommit({ description: e2?.description ?? "Unmerge" }), s2 = o2.getState(this).mergeSpatial, i2 = [];
18837
18841
  try {
@@ -18909,7 +18913,7 @@ class z_ {
18909
18913
  s4 = Math.min(e6.x, s4), i5 = Math.min(e6.y, i5);
18910
18914
  }
18911
18915
  e5 = t4 - s4, n5 = r5 - i5;
18912
- const c3 = o2[0].getCoords(), d4 = { ...c3, x: c3.x + e5, y: c3.y + n5 }, u4 = Bp(a4.getMovables(), d4);
18916
+ const c3 = o2[0].getCoords(), d4 = { ...c3, x: c3.x + e5, y: c3.y + n5 }, u4 = Lp(a4.getMovables(), d4);
18913
18917
  e5 += u4.x, n5 += u4.y;
18914
18918
  } else if (s3) {
18915
18919
  const t4 = a4.getRange(d3).getBounds();
@@ -19058,16 +19062,16 @@ class z_ {
19058
19062
  }
19059
19063
  s3 && (_3 = true), a2.singleMerge && (g2 = false, f2 = false);
19060
19064
  const b3 = h2.colStart - d2.colStart, R2 = h2.rowStart - d2.rowStart, A2 = i2.adjustCells;
19061
- let M2 = { ...Th };
19065
+ let M2 = { ...Nh };
19062
19066
  if (delete M2[Rh.Type.Style], !g2) {
19063
19067
  const t3 = this.getProtection().isLocked();
19064
19068
  M2 = {}, t3 && (M2[Rh.Type.Unlock] = false);
19065
19069
  }
19066
- const T2 = e.Orientation.Column;
19067
- let N2;
19070
+ const N2 = e.Orientation.Column;
19071
+ let T2;
19068
19072
  if (m2) {
19069
- N2 = p2.startIncrementalUpdates({ orientation: i2.transpose ? e.Orientation.Row : e.Orientation.Column });
19070
- const t3 = { orientation: T2, includeRangeTypes: M2, bounds: d2 }, n3 = new Yg(this._strings, t3, this._cellOptions), r4 = (t4, e2, r5) => {
19073
+ T2 = p2.startIncrementalUpdates({ orientation: i2.transpose ? e.Orientation.Row : e.Orientation.Column });
19074
+ const t3 = { orientation: N2, includeRangeTypes: M2, bounds: d2 }, n3 = new Yg(this._strings, t3, this._cellOptions), r4 = (t4, e2, r5) => {
19071
19075
  const o3 = t4[0], a3 = n3.setState(t4), l4 = n3.context, c2 = l4.getCell(), u4 = c2.isTopLeft();
19072
19076
  let p3 = R2, w3 = b3;
19073
19077
  if (s3) {
@@ -19086,7 +19090,7 @@ class z_ {
19086
19090
  const t5 = A2(a3, l4, { rowIndex: p3, colIndex: w3 }, i2);
19087
19091
  void 0 !== t5 && (C3 = t5, y3 = true);
19088
19092
  }
19089
- if (y3 && (N2.pushAt(p3, w3, C3), g2)) {
19093
+ if (y3 && (T2.pushAt(p3, w3, C3), g2)) {
19090
19094
  const t5 = c2.getSpans();
19091
19095
  (t5.width > 1 || t5.height > 1) && u4 && S2.push({ colStart: w3, rowStart: p3, colEnd: w3 + (i2.transpose ? t5.height : t5.width) - 1, rowEnd: p3 + (i2.transpose ? t5.width : t5.height) - 1 });
19092
19096
  }
@@ -19100,7 +19104,7 @@ class z_ {
19100
19104
  } };
19101
19105
  if (!a2.singleMerge && !c.isEqualRanges(v2, d2)) {
19102
19106
  const t4 = v2.colEnd - v2.colStart + 1, e2 = v2.rowEnd - v2.rowStart + 1;
19103
- l3 = new ml({ delegate: l3, bounds: d2, orientation: T2, dims: { major: i2.transpose ? e2 : t4, minor: i2.transpose ? t4 : e2 } });
19107
+ l3 = new ml({ delegate: l3, bounds: d2, orientation: N2, dims: { major: i2.transpose ? e2 : t4, minor: i2.transpose ? t4 : e2 } });
19104
19108
  }
19105
19109
  let u3 = l3.next();
19106
19110
  for (; !u3.done; ) {
@@ -19110,13 +19114,13 @@ class z_ {
19110
19114
  }
19111
19115
  const k2 = n2._getState(), F2 = {}, O2 = { transpose: s3 ?? false };
19112
19116
  g2 && (F2.directStyleSpatial = k2.directStyleSpatial, F2.continuousFillSpatial = k2.continuousFillSpatial, F2.mergeSpatial = k2.mergeSpatial), u2 && (t2._clear([d2], void 0, void 0, false, true), E2.push(d2), F2.rangesListenerSpatial2 = k2.rangesListenerSpatial2);
19113
- const D2 = l2, L2 = D2._getState(), B2 = Object.keys(F2), P2 = B2.length;
19117
+ const D2 = l2, B2 = D2._getState(), L2 = Object.keys(F2), P2 = L2.length;
19114
19118
  for (let t3 = 0; t3 < P2; t3++) {
19115
- const e2 = B2[t3], n3 = F2[e2].createCopiedEntries(d2, v2, O2), r4 = L2[e2].clone(), o2 = n3.removes, s4 = o2.length;
19119
+ const e2 = L2[t3], n3 = F2[e2].createCopiedEntries(d2, v2, O2), r4 = B2[e2].clone(), o2 = n3.removes, s4 = o2.length;
19116
19120
  for (let t4 = 0; t4 < s4; t4++) r4.remove(o2[t4]);
19117
- r4.load(n3.inserts), L2[e2] = r4;
19121
+ r4.load(n3.inserts), B2[e2] = r4;
19118
19122
  }
19119
- D2._updateState(L2), E2.push(v2), C2.push(v2), w2 && w2.length > 0 && D2._colHeaders.updateHeaderPairs(w2), y2 && y2.length > 0 && D2._rowHeaders.updateHeaderPairs(y2), N2?.apply(), S2.length > 0 && l2.getRanges(S2).merge(), I2.commit({ viewBefore: x2, viewAfter: (t3) => ({ ...t3, view: l2.getView(), selection: om(C2), ranges: E2 }) });
19123
+ D2._updateState(B2), E2.push(v2), C2.push(v2), w2 && w2.length > 0 && D2._colHeaders.updateHeaderPairs(w2), y2 && y2.length > 0 && D2._rowHeaders.updateHeaderPairs(y2), T2?.apply(), S2.length > 0 && l2.getRanges(S2).merge(), I2.commit({ viewBefore: x2, viewAfter: (t3) => ({ ...t3, view: l2.getView(), selection: om(C2), ranges: E2 }) });
19120
19124
  } catch (t3) {
19121
19125
  throw console.warn(t3), I2.rollback(), new Error(((t4) => `Unable to paste: ${t4}`)(t3.message), { cause: t3 });
19122
19126
  }
@@ -19238,18 +19242,18 @@ class z_ {
19238
19242
  }
19239
19243
  n3 = n3.clone(), n3.shift(e2, f2), this._updateState({ cellValuesGrid: n3 });
19240
19244
  }
19241
- const g3 = e2.colStart <= l2.colStart && e2.colEnd >= l2.colEnd, M3 = e2.rowStart <= l2.rowStart && e2.rowEnd >= l2.rowEnd, T3 = (t4, e3, n4, r4) => {
19245
+ const g3 = e2.colStart <= l2.colStart && e2.colEnd >= l2.colEnd, M3 = e2.rowStart <= l2.rowStart && e2.rowEnd >= l2.rowEnd, N3 = (t4, e3, n4, r4) => {
19242
19246
  let o3 = null;
19243
19247
  n4 > 1 && (o3 = t4.at(n4 - 1));
19244
19248
  const s4 = r4 - n4 + 1;
19245
19249
  e3?.(n4, s4), o3 && t4.updateHeaderPairs([{ address: { min: n4, max: r4 }, update: o3 }]);
19246
19250
  };
19247
- g3 && T3(this._rowHeaders, this._rowHeadersShiftCallback, e2.rowStart, e2.rowEnd), M3 && T3(this._colHeaders, this._colHeadersShiftCallback, e2.colStart, e2.colEnd), s3 = s3.shift({ range: e2, direction: f2, cloneIfUpdate: s3 === m2.contentfulSpatial, coordValidator: o2 }), i3 = i3.shift({ range: e2, direction: f2, cloneIfUpdate: i3 === m2.unlockSpatial, coordValidator: o2 }), d2 = d2.shift({ range: e2, direction: f2, cloneIfUpdate: d2 === m2.mergeSpatial, coordValidator: o2 }), p2 = p2.shift({ range: e2, direction: f2, cloneIfUpdate: p2 === m2.directStyleSpatial, coordValidator: o2 }), _2 = _2.shift({ range: e2, direction: f2, cloneIfUpdate: _2 === m2.continuousFillSpatial, coordValidator: o2 }), S2 = S2.shift({ range: e2, direction: f2, cloneIfUpdate: S2 === m2.conditionalSpatial, coordValidator: o2 }), w2 = w2.shift({ range: e2, direction: f2, cloneIfUpdate: w2 === m2.hyperlinkSpatial, coordValidator: o2 }), y2 = y2.shift({ range: e2, direction: f2, cloneIfUpdate: y2 === m2.commentsSpatial, coordValidator: o2 }), E2 = E2.shift({ range: e2, direction: f2, cloneIfUpdate: E2 === m2.movableSpatial, coordValidator: o2 }), C2 = C2.shift({ range: e2, direction: f2, cloneIfUpdate: C2 === m2.tableSpatial, coordValidator: o2 }), b2 = b2.shift({ range: e2, direction: f2, cloneIfUpdate: b2 === m2.calcGraph }), x2 = x2.shift({ range: e2, direction: f2, cloneIfUpdate: x2 === m2.rangeListenerSpatial, onShift: (t4) => {
19251
+ g3 && N3(this._rowHeaders, this._rowHeadersShiftCallback, e2.rowStart, e2.rowEnd), M3 && N3(this._colHeaders, this._colHeadersShiftCallback, e2.colStart, e2.colEnd), s3 = s3.shift({ range: e2, direction: f2, cloneIfUpdate: s3 === m2.contentfulSpatial, coordValidator: o2 }), i3 = i3.shift({ range: e2, direction: f2, cloneIfUpdate: i3 === m2.unlockSpatial, coordValidator: o2 }), d2 = d2.shift({ range: e2, direction: f2, cloneIfUpdate: d2 === m2.mergeSpatial, coordValidator: o2 }), p2 = p2.shift({ range: e2, direction: f2, cloneIfUpdate: p2 === m2.directStyleSpatial, coordValidator: o2 }), _2 = _2.shift({ range: e2, direction: f2, cloneIfUpdate: _2 === m2.continuousFillSpatial, coordValidator: o2 }), S2 = S2.shift({ range: e2, direction: f2, cloneIfUpdate: S2 === m2.conditionalSpatial, coordValidator: o2 }), w2 = w2.shift({ range: e2, direction: f2, cloneIfUpdate: w2 === m2.hyperlinkSpatial, coordValidator: o2 }), y2 = y2.shift({ range: e2, direction: f2, cloneIfUpdate: y2 === m2.commentsSpatial, coordValidator: o2 }), E2 = E2.shift({ range: e2, direction: f2, cloneIfUpdate: E2 === m2.movableSpatial, coordValidator: o2 }), C2 = C2.shift({ range: e2, direction: f2, cloneIfUpdate: C2 === m2.tableSpatial, coordValidator: o2 }), b2 = b2.shift({ range: e2, direction: f2, cloneIfUpdate: b2 === m2.calcGraph }), x2 = x2.shift({ range: e2, direction: f2, cloneIfUpdate: x2 === m2.rangeListenerSpatial, onShift: (t4) => {
19248
19252
  I2 === m2.rangesListenerMap && (I2 = new Map(I2)), this._processListenerShift(I2, R2, m2.rangesListenerMap, t4);
19249
19253
  } }), v2 = v2.shift({ range: e2, direction: f2, cloneIfUpdate: v2 === m2.rangesListenerSpatial2, coordValidator: o2 });
19250
19254
  }
19251
- let T2 = m2.formulaSpatial, N2 = m2.spillSpatial, k2 = m2.pendingSpatial;
19252
- b2 !== m2.calcGraph && (T2 = T2.clone(), N2 = N2.clone(), k2 = k2.clone()), this._updateState({ contentfulSpatial: s3, unlockSpatial: i3, mergeSpatial: d2, directStyleSpatial: p2, continuousFillSpatial: _2, conditionalSpatial: S2, hyperlinkSpatial: w2, commentsSpatial: y2, movableSpatial: E2, tableSpatial: C2, calcGraph: b2, formulaSpatial: T2, spillSpatial: N2, pendingSpatial: k2, rangesListenerSpatial2: v2, rangeListenerSpatial: x2, rangesListenerMap: I2 }), this._commitAndAutoSelect(g2, u2, r2?.autoSelect, { viewAfter: { ranges: A2, listeners: R2 } });
19255
+ let N2 = m2.formulaSpatial, T2 = m2.spillSpatial, k2 = m2.pendingSpatial;
19256
+ b2 !== m2.calcGraph && (N2 = N2.clone(), T2 = T2.clone(), k2 = k2.clone()), this._updateState({ contentfulSpatial: s3, unlockSpatial: i3, mergeSpatial: d2, directStyleSpatial: p2, continuousFillSpatial: _2, conditionalSpatial: S2, hyperlinkSpatial: w2, commentsSpatial: y2, movableSpatial: E2, tableSpatial: C2, calcGraph: b2, formulaSpatial: N2, spillSpatial: T2, pendingSpatial: k2, rangesListenerSpatial2: v2, rangeListenerSpatial: x2, rangesListenerMap: I2 }), this._commitAndAutoSelect(g2, u2, r2?.autoSelect, { viewAfter: { ranges: A2, listeners: R2 } });
19253
19257
  } catch (t3) {
19254
19258
  if (console.warn(t3), g2.rollback(), t3 instanceof d) throw new Error(t3.message ?? zh);
19255
19259
  throw t3;
@@ -19284,7 +19288,7 @@ class z_ {
19284
19288
  r2 = { expandOnly: false, skipCustomSize: false, minContent: false, ...r2 };
19285
19289
  const o2 = "Autofit";
19286
19290
  let s2;
19287
- const i2 = kg(n2, this._entireCoords, true), a2 = Ng(n2, this._entireCoords, true);
19291
+ const i2 = kg(n2, this._entireCoords, true), a2 = Tg(n2, this._entireCoords, true);
19288
19292
  !i2 && a2 ? (r2.orientations = r2.orientations ?? e.Orientations.Column, s2 = `${o2} ${c_}`) : !a2 && i2 ? (r2.orientations = r2.orientations ?? e.Orientations.Row, s2 = `${o2} ${l_}`) : a2 && i2 ? (r2.orientations = r2.orientations ?? e.Orientations.Both, s2 = `${o2} All`) : (r2.orientations = r2.orientations ?? e.Orientations.Both, s2 = `${o2}`);
19289
19293
  let l2 = r2.orientations !== e.Orientations.Row;
19290
19294
  this._colHeaders.isProtected() && (l2 = false);
@@ -19299,18 +19303,18 @@ class z_ {
19299
19303
  let o3 = Number.MAX_SAFE_INTEGER, s3 = Number.MIN_SAFE_INTEGER, i3 = false, a3 = "", _2 = -1, S2 = false, w2 = false, y2 = false, E2 = Number.MAX_SAFE_INTEGER, C2 = Number.MIN_SAFE_INTEGER;
19300
19304
  const b2 = this._styles.getNormal(), v2 = this._cellOptions, x2 = r2.orientations === e.Orientations.Row, I2 = /* @__PURE__ */ new Map(), R2 = el(n2, 1);
19301
19305
  R2.sort(c.createRangeComparator(e.Orientation.Column));
19302
- const A2 = R2.length, M2 = { skipCustomSize: r2.skipCustomSize }, T2 = qo.getDeviceScale(), N2 = this._defaultRowHeight() * T2, k2 = this._defaultColWidth(), F2 = (t2, e2 = 1) => {
19303
- if (0 !== t2 && null !== t2 && !(e2 > 1)) return t2 = Math.max(t2, N2), (e3) => u2 ? t2 : Math.max(e3, t2);
19306
+ const A2 = R2.length, M2 = { skipCustomSize: r2.skipCustomSize }, N2 = qo.getDeviceScale(), T2 = this._defaultRowHeight() * N2, k2 = this._defaultColWidth(), F2 = (t2, e2 = 1) => {
19307
+ if (0 !== t2 && null !== t2 && !(e2 > 1)) return t2 = Math.max(t2, T2), (e3) => u2 ? t2 : Math.max(e3, t2);
19304
19308
  }, O2 = (t2, e2 = 1) => {
19305
19309
  if (0 !== t2 && !(e2 > 1)) return (e3) => d2 ? t2 : null !== t2 ? Math.max(e3, t2) : t2;
19306
19310
  };
19307
19311
  for (let n3 = 0; n3 < A2; n3++) {
19308
19312
  const r3 = [];
19309
- let f3 = -1, p3 = false, A3 = b2, T3 = 1, D2 = 1, L2 = 1;
19310
- const B2 = R2[n3];
19311
- let P2 = B2.colStart, z2 = B2.rowStart, W2 = B2.colEnd, H2 = B2.rowEnd;
19313
+ let f3 = -1, p3 = false, A3 = b2, N3 = 1, D2 = 1, B2 = 1;
19314
+ const L2 = R2[n3];
19315
+ let P2 = L2.colStart, z2 = L2.rowStart, W2 = L2.colEnd, H2 = L2.rowEnd;
19312
19316
  const V2 = this._getUsedCoords();
19313
- (u2 || d2) && V2 && (P2 = u2 ? V2.colStart : B2.colStart, z2 = d2 ? V2.rowStart : B2.rowStart, W2 = u2 ? V2.colEnd : B2.colEnd, H2 = d2 ? V2.rowEnd : B2.rowEnd);
19317
+ (u2 || d2) && V2 && (P2 = u2 ? V2.colStart : L2.colStart, z2 = d2 ? V2.rowStart : L2.rowStart, W2 = u2 ? V2.colEnd : L2.colEnd, H2 = d2 ? V2.rowEnd : L2.rowEnd);
19314
19318
  const j2 = { includeRangeTypes: { [Rh.Type.Style]: false, [Rh.Type.Merge]: false, [Rh.Type.Continuous]: false, [Rh.Type.Contentful]: false }, excludeHidden: false, bounds: { colStart: P2, rowStart: z2, colEnd: W2, rowEnd: H2 }, orientation: e.Orientation.Column }, $2 = h2 ? [] : void 0, G2 = l2 ? [] : void 0, U2 = (t2, e2, n4) => {
19315
19319
  if (t2 > e2) return null;
19316
19320
  const r4 = [];
@@ -19335,9 +19339,9 @@ class z_ {
19335
19339
  for (; !q2.done; ) {
19336
19340
  const t2 = q2.value, e2 = t2.intersection, n4 = t2.start, r4 = t2.end;
19337
19341
  V_.colStart = n4.colIndex, V_.rowStart = n4.rowIndex, V_.colEnd = r4.colIndex, V_.rowEnd = r4.rowIndex;
19338
- const o4 = c.intersectRanges(V_, B2, H_), s4 = Eg(0, o4, e2, v2).getBestFit();
19342
+ const o4 = c.intersectRanges(V_, L2, H_), s4 = Eg(0, o4, e2, v2).getBestFit();
19339
19343
  if (h2) {
19340
- const t3 = Math.max(n4.rowIndex, z2), e3 = Math.min(r4.rowIndex, H2), o5 = s4.height, i4 = { address: { min: t3, max: e3 }, update: { size: F2(o5), autoSize: true }, sizeSet: null === o5 ? N2 : o5 };
19344
+ const t3 = Math.max(n4.rowIndex, z2), e3 = Math.min(r4.rowIndex, H2), o5 = s4.height, i4 = { address: { min: t3, max: e3 }, update: { size: F2(o5), autoSize: true }, sizeSet: null === o5 ? T2 : o5 };
19341
19345
  $2.push(i4);
19342
19346
  }
19343
19347
  if (l2) {
@@ -19350,14 +19354,14 @@ class z_ {
19350
19354
  G2.sort(m2);
19351
19355
  let t2 = this._colHeaders.updateHeaderPairs(G2, M2);
19352
19356
  t2 = bs(vs(xs(t2)));
19353
- const e2 = U2(B2.colStart, B2.colEnd, t2);
19357
+ const e2 = U2(L2.colStart, L2.colEnd, t2);
19354
19358
  e2 && this._colHeaders.updateHeaderPairs(e2, M2);
19355
19359
  }
19356
19360
  if ($2) {
19357
19361
  $2.sort(m2);
19358
19362
  let t2 = this._rowHeaders.updateHeaderPairs($2, M2);
19359
19363
  t2 = bs(vs(xs(t2)));
19360
- const e2 = U2(B2.rowStart, B2.rowEnd, t2);
19364
+ const e2 = U2(L2.rowStart, L2.rowEnd, t2);
19361
19365
  e2 && this._rowHeaders.updateHeaderPairs(e2, M2);
19362
19366
  }
19363
19367
  const K2 = this._cellStateIterator({ ...j2, includeRangeTypes: { [Rh.Type.Merge]: false, [Rh.Type.Table]: false, [Rh.Type.Style]: false, [Rh.Type.Continuous]: false }, ignoreEmptyIntersections: true });
@@ -19377,12 +19381,12 @@ class z_ {
19377
19381
  } else u3 = 1, g3 = 1;
19378
19382
  tt2 = u3, et2 = g3;
19379
19383
  }
19380
- const x3 = n4.colIndex, I3 = n4.rowIndex, R3 = e2[1], M3 = hc(R3), N3 = c.isCellWithinRange(n4, B2), k3 = l3?.continuous ?? null;
19384
+ const x3 = n4.colIndex, I3 = n4.rowIndex, R3 = e2[1], M3 = hc(R3), T3 = c.isCellWithinRange(n4, L2), k3 = l3?.continuous ?? null;
19381
19385
  if (k3) {
19382
- L2 = k3.getCoords().colEnd - x3 + 1;
19386
+ B2 = k3.getCoords().colEnd - x3 + 1;
19383
19387
  }
19384
19388
  let F3 = false, O3 = false;
19385
- if (X2 === d3 && u3 === T3 && g3 === D2 && M3 !== t.String && M3 !== t.Error && N3 === p3 || (F3 = true, M3 === t.RichData && (O3 = true), O3 && (F3 = false)), X2 = d3, Q2 = m3, (f3 !== x3 || F3) && (-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: L2, isFit: p3 }), f3 = x3, A3 = h3, p3 = N3, T3 = u3, D2 = 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, !O3) if (null === R3) y2 = true;
19389
+ if (X2 === d3 && u3 === N3 && g3 === D2 && M3 !== t.String && M3 !== t.Error && T3 === p3 || (F3 = true, M3 === t.RichData && (O3 = true), O3 && (F3 = false)), X2 = d3, Q2 = m3, (f3 !== x3 || F3) && (-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: B2, isFit: p3 }), f3 = x3, A3 = h3, p3 = T3, N3 = u3, D2 = 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, !O3) if (null === R3) y2 = true;
19386
19390
  else switch (M3) {
19387
19391
  case t.Number:
19388
19392
  0 === R3 && (i3 = true), o3 = Math.min(o3, R3), s3 = Math.max(s3, R3);
@@ -19398,7 +19402,7 @@ class z_ {
19398
19402
  }
19399
19403
  Z2 = K2.next();
19400
19404
  }
19401
- -1 !== f3 && r3.push({ col: f3, style: A3, spanWidth: T3, spanHeight: D2, 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: L2, measureWidth: -1, measureHeight: -1, isFit: p3 });
19405
+ -1 !== f3 && r3.push({ col: f3, style: A3, spanWidth: N3, spanHeight: D2, 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: B2, measureWidth: -1, measureHeight: -1, isFit: p3 });
19402
19406
  let nt2 = -1, rt2 = -1;
19403
19407
  const ot2 = r3.length;
19404
19408
  for (let e2 = 0; e2 < ot2; e2++) {
@@ -19568,7 +19572,7 @@ class z_ {
19568
19572
  if (this._closed) throw new Error(Vh);
19569
19573
  if (!e2) throw new Error(Dh);
19570
19574
  n2 = n2 ? { ...G_, ...n2 } : G_;
19571
- const r2 = n2?.transactional ?? false, o2 = this, s2 = L_++ % Number.MAX_SAFE_INTEGER, i2 = () => {
19575
+ const r2 = n2?.transactional ?? false, o2 = this, s2 = B_++ % Number.MAX_SAFE_INTEGER, i2 = () => {
19572
19576
  let t3 = null, e3 = null;
19573
19577
  if (r2) {
19574
19578
  const n4 = o2._getState();
@@ -20223,7 +20227,7 @@ class z_ {
20223
20227
  }
20224
20228
  }
20225
20229
  async _addMovable(t2) {
20226
- if (!this.getProtection().isObjectsAllowed()) throw new Error(Lh);
20230
+ if (!this.getProtection().isObjectsAllowed()) throw new Error(Bh);
20227
20231
  if (!t2) throw new Error("No movable options provided");
20228
20232
  if (this._closed) throw new Error(Vh);
20229
20233
  const e2 = {};
@@ -20242,12 +20246,12 @@ class z_ {
20242
20246
  }
20243
20247
  async _addImage(t2, e2 = { type: "picture" }) {
20244
20248
  if (!t2) throw new Error("An image must be provided as a string or a resource option.");
20245
- if (!this.getProtection().isObjectsAllowed()) throw new Error(Lh);
20249
+ if (!this.getProtection().isObjectsAllowed()) throw new Error(Bh);
20246
20250
  const n2 = this._resources.add(t2), r2 = await n2.toBuffer(), s2 = await n2.getType(), i2 = this._getBoundsAtCoords(rm(this.getSelection().getCoords())[0]), { naturalDimensions: a2, asUrl: l2 } = await w.loadImageDetails(r2, s2);
20247
20251
  URL.revokeObjectURL(l2);
20248
20252
  const c2 = { ...i2, ...a2, ...e2?.bounds };
20249
20253
  if (o.isNullOrUndefined(e2?.bounds?.x) || o.isNullOrUndefined(e2?.bounds?.y)) {
20250
- const t3 = Bp(this.getMovables(), c2, o.isNullOrUndefined(e2?.bounds?.x), o.isNullOrUndefined(e2?.bounds?.y));
20254
+ const t3 = Lp(this.getMovables(), c2, o.isNullOrUndefined(e2?.bounds?.x), o.isNullOrUndefined(e2?.bounds?.y));
20251
20255
  c2.x += t3.x, c2.y += t3.y;
20252
20256
  }
20253
20257
  e2?.bounds && false !== e2?.json?.lockAspect && (o.isNullOrUndefined(e2?.bounds.width) && o.isDefined(e2?.bounds.height) && (c2.width = c2.height * a2.width / a2.height), o.isNullOrUndefined(e2?.bounds.height) && o.isDefined(e2?.bounds.width) && (c2.height = c2.width * a2.height / a2.width));
@@ -20270,13 +20274,13 @@ class z_ {
20270
20274
  const s2 = [t2];
20271
20275
  for (let e3 = 0; e3 < t2; e3++) s2.push(e3);
20272
20276
  e2 && console.profileEnd("nativeArray"), window.noLoseArray = s2, o2 = performance.now(), console.log(`NativeArray: ${t2} records in ${o2 - r2} milliseconds`), r2 = performance.now(), e2 && console.profile("mixedType");
20273
- const i2 = Nl.fromArray(n2);
20277
+ const i2 = Tl.fromArray(n2);
20274
20278
  e2 && console.profileEnd("mixedType"), window.noLoseList = i2, o2 = performance.now(), console.log(`MixedTypedList: ${t2} records in ${o2 - r2} milliseconds`);
20275
20279
  }
20276
20280
  _validateOrRemoveOverlaps(t2, e2, n2 = null, r2 = false) {
20277
20281
  const o2 = this;
20278
20282
  "merge" !== e2 && Ql(this._getMerges([t2]), t2, (t3, n3) => {
20279
- if (n3 || !r2) throw new Error(Bh(e2));
20283
+ if (n3 || !r2) throw new Error(Lh(e2));
20280
20284
  o2._unmerge([t3]);
20281
20285
  });
20282
20286
  const s2 = [], i2 = this.getTables().getItems({ address: t2 }), a2 = i2.length;
@@ -20285,7 +20289,7 @@ class z_ {
20285
20289
  n2 !== e3 && s2.push(e3.getAnchorCoords());
20286
20290
  }
20287
20291
  Ql(s2, t2, (t3, n3, o3) => {
20288
- if (n3 || !r2) throw new Error(Bh(e2));
20292
+ if (n3 || !r2) throw new Error(Lh(e2));
20289
20293
  i2[o3].delete();
20290
20294
  });
20291
20295
  }
@@ -21032,7 +21036,7 @@ class z_ {
21032
21036
  else if ("sp" === d2 || "cxnSp" === d2 || "grpSp" === d2) w2 = new Dp(S2);
21033
21037
  else {
21034
21038
  if ("graphicFrame" !== d2) throw new Error(((t3) => `Unsupported float type: ${t3}`)(d2));
21035
- w2 = new Lp(S2);
21039
+ w2 = new Bp(S2);
21036
21040
  }
21037
21041
  return o2.model = new bp({ ...p2, content: w2 }), u2 = false, s2;
21038
21042
  }
@@ -21150,14 +21154,14 @@ class z_ {
21150
21154
  }
21151
21155
  R2.load(t2);
21152
21156
  }
21153
- const A2 = h2.tableMapModel, M2 = h2.tableMapName, T2 = h2.tableSpatial, N2 = o2.tables;
21154
- if (N2) {
21155
- const t2 = [], e2 = N2.length;
21157
+ const A2 = h2.tableMapModel, M2 = h2.tableMapName, N2 = h2.tableSpatial, T2 = o2.tables;
21158
+ if (T2) {
21159
+ const t2 = [], e2 = T2.length;
21156
21160
  for (let n3 = 0; n3 < e2; n3++) {
21157
- const e3 = N2[n3], r3 = this._createTableEntry(e3), o3 = r3.value.model;
21161
+ const e3 = T2[n3], r3 = this._createTableEntry(e3), o3 = r3.value.model;
21158
21162
  A2.set(o3, r3), M2.set(r3.value.currentName, o3), t2.push(r3);
21159
21163
  }
21160
- T2.load(t2);
21164
+ N2.load(t2);
21161
21165
  }
21162
21166
  const k2 = h2.conditionalSpatial, F2 = h2.conditionalModels, O2 = o2.conditionals;
21163
21167
  if (O2) {
@@ -21167,10 +21171,10 @@ class z_ {
21167
21171
  this._createConditionalEntries(t3, k2, F2);
21168
21172
  }
21169
21173
  }
21170
- const D2 = h2.calcGraph, L2 = D2.fromJSON({ formulas: o2.formulas, data: p2, dynamic: o2.dynamicArray, volatile: o2.volatile });
21171
- h2 = this._updateState({ hyperlinkSpatial: C2, commentsSpatial: v2, movableSpatial: R2, movableMapModel: I2, tableSpatial: T2, tableMapModel: A2, tableMapName: M2, conditionalSpatial: k2, conditionalModels: F2, calcGraph: D2 });
21172
- const B2 = this._getUsedCoords();
21173
- B2 && this._autoFit([B2], { orientations: e.Orientations.Row, skipCustomSize: true }), r2.commit(), L2 && this._realizeCalcedValues(L2), o2.protection && this._protection.fromJSON(o2.protection), this._emitter.notify("onLoad");
21174
+ const D2 = h2.calcGraph, B2 = D2.fromJSON({ formulas: o2.formulas, data: p2, dynamic: o2.dynamicArray, volatile: o2.volatile });
21175
+ h2 = this._updateState({ hyperlinkSpatial: C2, commentsSpatial: v2, movableSpatial: R2, movableMapModel: I2, tableSpatial: N2, tableMapModel: A2, tableMapName: M2, conditionalSpatial: k2, conditionalModels: F2, calcGraph: D2 });
21176
+ const L2 = this._getUsedCoords();
21177
+ L2 && this._autoFit([L2], { orientations: e.Orientations.Row, skipCustomSize: true }), r2.commit(), B2 && this._realizeCalcedValues(B2), o2.protection && this._protection.fromJSON(o2.protection), this._emitter.notify("onLoad");
21174
21178
  } finally {
21175
21179
  l2.endPersist(), a2.endPersist(), i2.endPersist();
21176
21180
  }
@@ -21402,7 +21406,7 @@ class eS {
21402
21406
  }
21403
21407
  }
21404
21408
  let nS;
21405
- const rS = "SheetXL", oS = nS || (nS = o.deepFreeze({ ISheet: { Visibility: Cp.Visibility }, ICell: { Content: Xh.Content, CalcStatus: Xh.CalcStatus }, IColor: { Named: Ls.Named, Scheme: Ls.Scheme, Type: Ls.Type, AdjustmentType: Ls.AdjustmentType }, Direction: h }), nS);
21409
+ const rS = "SheetXL", oS = nS || (nS = o.deepFreeze({ ISheet: { Visibility: Cp.Visibility }, ICell: { Content: Xh.Content, CalcStatus: Xh.CalcStatus }, IColor: { Named: Bs.Named, Scheme: Bs.Scheme, Type: Bs.Type, AdjustmentType: Bs.AdjustmentType }, Direction: h }), nS);
21406
21410
  let sS;
21407
21411
  class iS extends Jf {
21408
21412
  constructor(t2, e2, n2, r2 = null, o2 = false) {
@@ -21738,7 +21742,7 @@ class AS extends M_ {
21738
21742
  return Kc(t2, r2, $c, Pc);
21739
21743
  }
21740
21744
  }
21741
- class MS extends T_ {
21745
+ class MS extends N_ {
21742
21746
  constructor(t2, e2, n2, r2) {
21743
21747
  super(t2, e2, r2), this._workbook = n2;
21744
21748
  }
@@ -21770,7 +21774,7 @@ class MS extends T_ {
21770
21774
  return super.addListener(n2, e2);
21771
21775
  }
21772
21776
  }
21773
- class TS {
21777
+ class NS {
21774
21778
  constructor(t2) {
21775
21779
  this._lastTransactionUUID = null, this._closed = false, this._initializing = true, this._emitter = null, this._names = null, this._calculation = null, this._isDate1904 = false;
21776
21780
  const e2 = this, n2 = { ...t2 }, r2 = n2.json;
@@ -21809,8 +21813,8 @@ class TS {
21809
21813
  return i2 && (l2.json = i2), a2 = t3(l2, r3, s3, o3), a2;
21810
21814
  }, this._names = n2.names ?? new Fp({ addressToRanges: (t4) => e2.getRanges(t4), getCurrentScope: () => e2.getSelectedSheet().getName(), isReadOnly: () => e2._options.readonly ?? false, transactions: e2._transactions }), this._ownNames = !n2.names, this._calculation = n2.calculation ?? new op({ getNamed: (t4, e3) => {
21811
21815
  try {
21812
- NS.address = t4, NS.scope = e3;
21813
- const n3 = this._names.getItems(NS);
21816
+ TS.address = t4, TS.scope = e3;
21817
+ const n3 = this._names.getItems(TS);
21814
21818
  return n3 && 0 !== n3.length ? n3[0].getRanges().getCoords() : null;
21815
21819
  } catch (t5) {
21816
21820
  return null;
@@ -21821,8 +21825,8 @@ class TS {
21821
21825
  t4 = t4.toLowerCase();
21822
21826
  for (let e3 = 0; e3 < n3.length; e3++) if (n3[e3].name.toLowerCase() === t4) return e3;
21823
21827
  try {
21824
- NS.address = t4, NS.scope = void 0;
21825
- const e3 = this._names.getItems(NS);
21828
+ TS.address = t4, TS.scope = void 0;
21829
+ const e3 = this._names.getItems(TS);
21826
21830
  if (!e3 || 0 === e3.length) return -1;
21827
21831
  const n4 = e3[0].getRanges().getCoords()?.[0];
21828
21832
  let r3 = n4?.sheetName;
@@ -22527,7 +22531,7 @@ class TS {
22527
22531
  return true;
22528
22532
  }
22529
22533
  }
22530
- const NS = { address: null, scope: null };
22534
+ const TS = { address: null, scope: null };
22531
22535
  export {
22532
22536
  am as AddressUtils,
22533
22537
  ks as AutoFill,
@@ -22543,7 +22547,7 @@ export {
22543
22547
  Xh as ICell,
22544
22548
  ap as ICellHeaderRange,
22545
22549
  ip as ICellRange,
22546
- Ls as IColor,
22550
+ Bs as IColor,
22547
22551
  dp as IConditionalFormat,
22548
22552
  Os as IFill,
22549
22553
  qo as IFont,
@@ -22564,7 +22568,7 @@ export {
22564
22568
  fi as NumberFormat,
22565
22569
  jm as Picture,
22566
22570
  yp as RangeClipboardItem,
22567
- Lm as Resource,
22571
+ Bm as Resource,
22568
22572
  Pm as ResourceCollection,
22569
22573
  z_ as Sheet,
22570
22574
  Xo as SimpleFontFace,
@@ -22577,9 +22581,9 @@ export {
22577
22581
  Vi as Theme,
22578
22582
  $i as ThemeCollection,
22579
22583
  k as TransactionStore,
22580
- L as TransactionUndoManager,
22581
- Nt as Tuple,
22582
- TS as Workbook,
22584
+ B as TransactionUndoManager,
22585
+ Tt as Tuple,
22586
+ NS as Workbook,
22583
22587
  tS as WorkbookView,
22584
22588
  g_ as a,
22585
22589
  u_ as b,