@sheetxl/sdk 0.6.11 → 0.6.12

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 (85) hide show
  1. package/browser/cjs/{BZydpsUlRyxq33dn.cjs → B1zWd3st1ozR250n.cjs} +1 -1
  2. package/browser/cjs/{BKXlE4xw0_7CZ-cj.cjs → BB6vCaGGLDjHxJQI.cjs} +1 -1
  3. package/browser/cjs/{BPm905ETO9Rm7xEA.cjs → BK2sbrJDcVCNWEQH.cjs} +1 -1
  4. package/browser/cjs/{DfoBdguJXjvZsdhs.cjs → BSifzyneq21ybUi5.cjs} +3 -3
  5. package/browser/cjs/{C7E_8694EW1sP-pY.cjs → BXYrX2lIdSOARu4H.cjs} +1 -1
  6. package/browser/cjs/{umlSvj53ypBAsO6i.cjs → B_3Zj1bW7tkLwqqW.cjs} +1 -1
  7. package/browser/cjs/{aHOXPfpjNgIR2ahP.cjs → Bnp1bjxFGNPxQCbM.cjs} +1 -1
  8. package/browser/cjs/{zkG3oUEZg_86HP8a.cjs → BwEvFCusE_TJCzgb.cjs} +1 -1
  9. package/browser/cjs/{CMuLGfAGSOHVooRJ.cjs → BxjB5h-Xg0A8N1AR.cjs} +1 -1
  10. package/browser/cjs/{BRXuoGnLKFX0iGEK.cjs → C-fip5g_xikmRmDT.cjs} +1 -1
  11. package/browser/cjs/{CYHdhG-YwgF30pQR.cjs → C0ZMw0y3G6zdIaQG.cjs} +1 -1
  12. package/browser/cjs/{DKjzL2NzrTZUkMd4.cjs → C19WOy0GLFLOY8ck.cjs} +1 -1
  13. package/browser/cjs/{Bjp6SpwCMr7F7XDc.cjs → C1Smy4MKFJ3pB8l1.cjs} +1 -1
  14. package/browser/cjs/{DKh8QkElXnTnz70Y.cjs → CWy_J48Xrr9hTfJV.cjs} +1 -1
  15. package/browser/cjs/{BoalX-e5aTvbk6ZS.cjs → CwgOy6GOeB_w6_yn.cjs} +1 -1
  16. package/browser/cjs/D9AcAGDT1IutKwML.cjs +54 -0
  17. package/browser/cjs/{BFYDG5qsx5NnKbmL.cjs → DCfUdgP7Qh5zLu_S.cjs} +2 -2
  18. package/browser/cjs/{SNmBvUmtxYR9DEGK.cjs → DSC2UXN01jb6tdhz.cjs} +1 -1
  19. package/browser/cjs/{C5aE0e4yb49hXZxP.cjs → DeDJah0RnFnMP8rO.cjs} +1 -1
  20. package/browser/cjs/{BwVG3czdgfHJZq2b.cjs → Dh6qUnuK7BxsfXRw.cjs} +1 -1
  21. package/browser/cjs/{CeAqTHYb20jQ-EgX.cjs → DmjKSO008oGcN9VL.cjs} +1 -1
  22. package/browser/cjs/{D_2asXAjjqb1MQSo.cjs → Dnc3kI4srJLGVmJn.cjs} +1 -1
  23. package/browser/cjs/{C9mkRbnc83WHBzfq.cjs → DzHRsnF-FhIY0PD9.cjs} +1 -1
  24. package/browser/cjs/{CcHy9ET_0AoOGH3-.cjs → DzP68lkKL4yXIkav.cjs} +2 -2
  25. package/browser/cjs/{DUksWASvIBVekZLH.cjs → GJAx3q4wCjlYr5DB.cjs} +1 -1
  26. package/browser/cjs/index.cjs +2 -2
  27. package/browser/cjs/{CVHSDn92ZAUg2hT6.cjs → pFuL393J5zc42aQN.cjs} +1 -1
  28. package/browser/cjs/{OFesyof4pRn9n6BX.cjs → qFWg_M-b3Ctgq0ZF.cjs} +1 -1
  29. package/browser/esm/{CqsQGdokIfRXHM31.mjs → B4VMgA6g5-9VwnyF.mjs} +1 -1
  30. package/browser/esm/{3tHdTCn2N2Ai-aa2.mjs → B7yI-hHeNYbwvtLM.mjs} +1 -1
  31. package/browser/esm/{jeGBWsuFMi2y1vmE.mjs → BA6MAyuNluTlgNUU.mjs} +1 -1
  32. package/browser/esm/{qufRtSOJ-1Rs8wCB.mjs → B_pC9iGtnyasAnay.mjs} +1 -1
  33. package/{node/esm/B87NL_k3SOOLqwau.mjs → browser/esm/BiGFS2hKcu_O6F9-.mjs} +1 -1
  34. package/{node/esm/B8jnncFQL6kSvNA8.mjs → browser/esm/BkgOIotQjkaBsv6l.mjs} +1 -1
  35. package/browser/esm/{2WCTXpmQ_zXr00dR.mjs → Bs13LyExFQBF5ziS.mjs} +1 -1
  36. package/{node/esm/CQ9dBF9qXvcfB4QN.mjs → browser/esm/BsLsjMcWZoi0_PNG.mjs} +1 -1
  37. package/browser/esm/{VUsxt3O40sPqPww_.mjs → BvNssETbqnDUrWaE.mjs} +1 -1
  38. package/browser/esm/{vXio9h6XTorGXIHu.mjs → C59bvecNTUTRBpT3.mjs} +1 -1
  39. package/browser/esm/{CLix7948FIacIj_r.mjs → C7ytBIR4YVhNd400.mjs} +1 -1
  40. package/browser/esm/{BuML5CZyyYM-EQZb.mjs → C8FTVudRau0L-X3y.mjs} +1 -1
  41. package/browser/esm/{BW7RBbJWOyc8XVol.mjs → CVdQI5RZGoSC4A67.mjs} +1 -1
  42. package/browser/esm/{CHY2yV-VwIAwEa7u.mjs → CkVncRXs3zxlXcN1.mjs} +2 -2
  43. package/browser/esm/{hzLgUazsNKVVvoWO.mjs → CxeqaMqxhm6cjo9h.mjs} +2 -2
  44. package/browser/esm/{B9G9meBN6KR1iHfF.mjs → DY93noNoenzdZnq2.mjs} +1 -1
  45. package/{node/esm/DjTcXf0TcxIWNzvf.mjs → browser/esm/Dkok60jUniz6HTlH.mjs} +1 -1
  46. package/browser/esm/{ClK01MZAe1HZTl4g.mjs → DrHCgcLjcr0EdL2h.mjs} +1 -1
  47. package/{node/esm/BXkZuQ-0lXmV1EIN.mjs → browser/esm/HINsM-oJV0anMFQ3.mjs} +1 -1
  48. package/browser/esm/{BHcVxaKDavX_AyMY.mjs → KcL8mZn8m5ARBPx2.mjs} +1 -1
  49. package/{node/esm/CnYUuciMeOJ7pmMb.mjs → browser/esm/Q4XFMgKjDEuagKj_.mjs} +1 -1
  50. package/browser/esm/TBLTpDtYZ0mEwE7r.mjs +23110 -0
  51. package/{node/esm/ByG-blWLsit1vu-b.mjs → browser/esm/ZUsSL4eqtp9AnIUN.mjs} +1 -1
  52. package/{node/esm/BSr44CFvujt_XEqQ.mjs → browser/esm/hWaTWtTIod5bIIk5.mjs} +1 -1
  53. package/browser/esm/index.mjs +2 -2
  54. package/browser/esm/{CD9GGigM6jXuYSS8.mjs → l33rm1-Istq3IaJs.mjs} +1 -1
  55. package/browser/esm/{Dz68gx-4a5NFxIwR.mjs → lXjOin-xLosMAppt.mjs} +1 -1
  56. package/browser/esm/{ni5ddQNGrm94WxCB.mjs → ywyRLb79ZIvblLh-.mjs} +3 -3
  57. package/node/esm/{BDiANu0RdLHHeDjE.mjs → 3oDj1dTnCbDwAhJV.mjs} +2 -2
  58. package/node/esm/{daDckEMoiAicWOsM.mjs → 7ZS04uQ7l-rCXu-8.mjs} +1 -1
  59. package/node/esm/{CqsQGdokIfRXHM31.mjs → B4VMgA6g5-9VwnyF.mjs} +1 -1
  60. package/node/esm/{3tHdTCn2N2Ai-aa2.mjs → B7yI-hHeNYbwvtLM.mjs} +1 -1
  61. package/node/esm/{B9FNPAsnB8gsaXKo.mjs → BC7mf8IrN4m-u-kn.mjs} +1 -1
  62. package/node/esm/{CBEEVLGu7m369zSR.mjs → BJaoqTkQvn0_H-a7.mjs} +1 -1
  63. package/{browser/esm/B87NL_k3SOOLqwau.mjs → node/esm/BiGFS2hKcu_O6F9-.mjs} +1 -1
  64. package/{browser/esm/B8jnncFQL6kSvNA8.mjs → node/esm/BkgOIotQjkaBsv6l.mjs} +1 -1
  65. package/node/esm/{CUoxGi8s6L-kzIKs.mjs → Bm_EVrik9OrtAaDp.mjs} +1 -1
  66. package/node/esm/{2WCTXpmQ_zXr00dR.mjs → Bs13LyExFQBF5ziS.mjs} +1 -1
  67. package/{browser/esm/CQ9dBF9qXvcfB4QN.mjs → node/esm/BsLsjMcWZoi0_PNG.mjs} +1 -1
  68. package/node/esm/{VUsxt3O40sPqPww_.mjs → BvNssETbqnDUrWaE.mjs} +1 -1
  69. package/node/esm/{BW7RBbJWOyc8XVol.mjs → CVdQI5RZGoSC4A67.mjs} +1 -1
  70. package/node/esm/{CGWHAItceXFlvwC8.mjs → Cepv_nCKh_KiXPso.mjs} +1 -1
  71. package/node/esm/{BysJqet7b2YMN6kV.mjs → DESXBdJuV9FtP2Rv.mjs} +1 -1
  72. package/node/esm/{CSi4kx--AQTJXWKa.mjs → DZKV8YMKiYEpXnE1.mjs} +1 -1
  73. package/{browser/esm/DjTcXf0TcxIWNzvf.mjs → node/esm/Dkok60jUniz6HTlH.mjs} +1 -1
  74. package/node/esm/{ClK01MZAe1HZTl4g.mjs → DrHCgcLjcr0EdL2h.mjs} +1 -1
  75. package/{browser/esm/BXkZuQ-0lXmV1EIN.mjs → node/esm/HINsM-oJV0anMFQ3.mjs} +1 -1
  76. package/node/esm/{BHcVxaKDavX_AyMY.mjs → KcL8mZn8m5ARBPx2.mjs} +1 -1
  77. package/node/esm/{C6CzYcWcgSF60FQh.mjs → MqFLkY02HqE70XzV.mjs} +1 -1
  78. package/{browser/esm/CnYUuciMeOJ7pmMb.mjs → node/esm/Q4XFMgKjDEuagKj_.mjs} +1 -1
  79. package/{browser/esm/ByG-blWLsit1vu-b.mjs → node/esm/ZUsSL4eqtp9AnIUN.mjs} +1 -1
  80. package/{browser/esm/BSr44CFvujt_XEqQ.mjs → node/esm/hWaTWtTIod5bIIk5.mjs} +1 -1
  81. package/node/esm/index.mjs +640 -635
  82. package/node/esm/{CD9GGigM6jXuYSS8.mjs → l33rm1-Istq3IaJs.mjs} +1 -1
  83. package/package.json +4 -4
  84. package/browser/cjs/DdaSifgClArXfbZj.cjs +0 -54
  85. package/browser/esm/CYv1qOnVQIvi7d0l.mjs +0 -23113
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.12
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.
@@ -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 B extends s {
361
+ class L extends s {
362
362
  constructor(t2, e2 = 50) {
363
363
  super(e2), this._transactions = t2;
364
364
  const n2 = this;
@@ -375,20 +375,20 @@ class B extends s {
375
375
  this._removeLister();
376
376
  }
377
377
  }
378
- const L = () => {
378
+ const B = () => {
379
379
  try {
380
- return "0.6.11";
380
+ return "0.6.12";
381
381
  } catch (t2) {
382
382
  return "";
383
383
  }
384
384
  }, P = Object.freeze(Object.defineProperty({ __proto__: null, getBuildDate: () => {
385
385
  try {
386
- return "Thu Aug 28 2025";
386
+ return "Fri Aug 29 2025";
387
387
  } catch (t2) {
388
388
  return "";
389
389
  }
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 () => {
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", $ = 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 */
@@ -451,154 +451,177 @@ KeyFrom: '${t2.keyFrom()}'`, console.log(l2(o2))), Promise.resolve();
451
451
  } catch (t3) {
452
452
  console.warn("Unable to save license key to config store.");
453
453
  }
454
- } }, Symbol.toStringTag, { value: "Module" })), $ = (t2, e2, n2 = 126) => ((t3, e3, n3 = 126) => {
454
+ } }, Symbol.toStringTag, { value: "Module" })), j = (t2, e2, n2 = 126) => ((t3, e3, n3 = 126) => {
455
455
  let r2 = t3.split("");
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
459
  function U(t2, e2, n2, r2, o2) {
460
- return ot(o2 - 213, n2);
460
+ return ot(o2 - 669, r2);
461
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);
462
+ function J() {
463
+ const t2 = ["hJtcNCoLzSk3WO3cKmoOW5BcHSkOwdBcOSoDzqVcUq", "sCoTWP7cRJ7cLa", "AXzadmo/W4ve", "W6pcG8kZW5aVWOnBW5ZdQq", "qt/cT8opW783vWym", "WOJcTCkyW59pW7e", "WQ3dShmvq2lcGa", "zSomaCkgWPZcS8kaWODsuX7cJXFdSXvC", "l33dP8kvWQ9HFWetphNcSW", "gmkPW5fdW61Ynmk1WQRcNHaoWP7cPmoQW5G", "WPJdK09fr8k4WRxcLa", "vCo6WP/cPcpcJ8o4", "WRX7qXHaWOu", "W6vMiJVdOSkAW7ai", "WRVcJ8kgW4PuW60JW6/cTa", "W5erWPvzW68", "W58kamkGWOq9grfYW5ldK8ogWQS", "WRVcQWFdIrNdRta", "WOP+zWjiWO3cJbFcOq", "dSo7eCkyWOTRxvGHW5e", "iSongmkgWOpdVmkEWO1umbZcMW3dPa", "WRNcJ8kMoejf", "EdVcS8ogW6W2", "WPieeSk8W64NxmomW6GfjL8", "f8k4W4NcNqVcRCo/B1O", "WQ/cVbZdHrNdSIy", "W5VdMJlcSfJcO8oPc8kwoIRdRWO", "WPyjBCo7W4FcV0hcMG", "eSk9W4ddUx3dJSkLtNycgmkOW5C", "mwlcM3eKgW", "nMxcVg1Zpey", "W6GwFfpdP8kD", "W5BdP8ogW7rtW68cW5hcUW", "iCongSk3WOBdVSkl", "WRJcMmk3e1DeWRhdVSo9", "iY7dJCo5FCkXWPVcJColW4hdJ8k2xG", "vWJcGmoUomkRegT9WP3dKmoYWPW", "W4tdVCk4jLpcOwiUW75X", "zNqJW7VdKwNdMG", "vCkaWPSddSoxBCkVchLkWPFcMmkoWQhcSW", "gSoBnxFdVvaPpYvXWQ3cJSoD", "WPeevXVdGXSOW7RcVSk5WQadW7a", "W7NdQfldHq", "ohJcTujZkG", "W6NdMGmqnLdcH8kYW7G", "W4xdOmkViKRcUxG", "CrjchSoUW6S", "AgibW5JdIgNdKKaIWQ7dNW4cDSoz", "WPTNjGveWPa", "W59CaLVcKwvM", "WOVdPCotvq", "WPZdTCouF0BdTfhcPCk3sx/cMG", "iSkIW5nUW6H4nCo7WRFcLd8oWQ4", "W6NcLmoaW4ZcKmoE", "e8kSW54z", "W7FdLhZcKLtcSSoCf8kmmx7dGqTw", "cqmocMJcIa", "WRFcMmkZW71VW4ea", "W5/cMSk8W48PWOTFW7/dPx0cWPhdTt7cOmoJW67cItW", "pZNdL8oSBmkG", "W6q6mfGwW5ddNW/cTYldQ8oPlq", "AN8wW7/dJxtdL0SAWRG", "o3xcKhmQfG", "ESo4WOlcOctcImozwM0Zh8kuW70", "WRjTCIXuWOdcGqFcGbFdImov", "WOCeaSklW7GR", "BqvdfmoZW7bx", "wrzOW4OFACoDAq4JvhW8r8oFWOz4W6ZdISkfi8oWEaP5", "s8knAvZdVxeoasq", "yuJcUuWYd8kC", "W5LMjrhdO8kBW5WDWPFdP0VdVG", "EHjynSoj", "W6b6obFdVW", "W6FdUY7cPa", "E8k8WPNcUSo6AG", "WOiafCkUW6KNxSoCW4Ka", "iJ7dJSoMy8kIWO0", "W6vuduVcMLb1WPBcQCkUWQmTW4ZcSCknoNaNWOS", "dYVdJ8oGyCkGWQZcM8oVW5ldJ8k0wq", "cCo3c8k7WPD3vq", "jGetdM/cJ3i", "qZ95W5qfFmogxZ4", "W6n7nHhdOCop", "W70rWOTzW7ua", "bSkHW44udmkpnbP5W5i", "W6tdUJZcVIlcNSo1f8kUW5C", "hCooW7lcLW", "WQv6BWbvWQVcJa3cQHpdJG", "zCo/zbpdPW", "W7/dJr4DkJZdHCoOWRBdHMBdTG", "WQ/cVbZdHrNdSIBdReJcOCkUWPJcI3q", "amkWW4fFemkdkrbYW4Kv", "WPnqW4KdWQ1dW4xdJ3NdSCo+W5e", "BdtdTb04ywldT8o3smorAW", "WOmeACoQW4BcTuG", "WQldUsRcRtlcG8oa", "W4aaWPDEW74gW6ZdJxBdUmo9W43dNW", "W4JdQ8kTiK/cVg8", "W4JcMSkEW5mLWOzwW43dIgGEWRRdIrNcVCo/W7lcJq", "z8kFW6b6W61Qja", "WPCjEmoeW5FcTa", "W6fZiZZdQmkBW78vWPxdUG", "WP5LfmkNWRT7kCkYWQDkW5C", "W7vInGRdUCkCW4KvWO3dOq", "FhaEWRfjjbmvWQXMWRj1", "W57dNIJcNeJcUmovhCkPmsZdUqDaWQy", "Eav9W4CdzmoAubmKgNG8uq", "imoAc8kgWPxdTG", "F8o8rHxdT8kF", "WQ1sqmoKW4PouXj8W7S", "mrysbNtcNwpcJsZcO8kmW6pcJmoP", "omoRW4C/W7fO", "bmoiW4/cKb/dKq", "jGypcW", "y8kEWP8kwSoJAmktax5AWPFdLSk2WQhcLvFcOX0", "umkIs8kPWQrjwKmh", "WP1Jhmk7WRTkh8k1WR1h", "CSkxWPqbs8oPvmk+bhLnWPFdNa", "WPPOWO3dI8kDkmoNwCk6qhO8gLnO", "BgGBW7ZdLgFdRvaBWRNdIa", "kxNcTu4", "WQlcU2xdU2lcOSoAc8k0W5PV", "qwHvW77dKM3dN00AWRJcJq4BFmouxCk2fSkIWOC", "B8kmCvdcGGhdJmk2kSouDrVcMgm", "pd7dK8oUE8k8", "bSk3W5S", "pCkOW4rdW7vYp8o7", "W7/dIGqB", "W44eWPDxW68C", "vSo8WPhcUZ7cJ8okvM06", "WPFdQSk6rHvCWR5PvdTEdSoeWRm9", "WPJdLu9brCkJWR/cGSkq", "W6RcISk0pfXoWRy", "vCoGzrFdPSkuW6RdQuC", "j8oRW50tW6b5", "imond8kxWPRdOCklWPS", "WQtdOmosvf3dQq", "WQVcMmk7kq", "pCkIW4LfW7vZ", "qCoTWOtcQcpcKmoUB2S7gmkmW6VcRG", "W6/dU0FdPxTEWOVcOCozWOhdOZKe", "qtNcPmokW7GNDbmhp0xcPW", "WRNdRxCAxKJcLSoTWRHcW7jJ", "W4fEo8kHWOldOXtdH8kw", "DCkQqNtcUJddPmojaSoYwZ/cV17dJxNdKCoPW6K", "WRhdJe1mxmkQWQtcMmkldL7cHX/dMSkTiCk6W44", "d8k8W4mwcmkt", "WPHkq8o4", "W59uhuFcGam", "o3/cMq", "bYPJW7bcthC", "WOP4emkOWQzxoW", "W494irNdOCkgW7PCWPxdOe3dQxzXxqNcLZZdLCkW", "W6SpWO9rW7CDW5JcN1pdV8oQW43dLtNdHSkAdxbxW5iOW744wmkvu8oJ", "p3/cJwaWh8kflG", "uhChW7pdK3tdVeuAWQxdIa8", "WOP4DaDpWP0", "EsZcOSo3W78+uW", "qmoMWOBcNYVcJG", "zCk8WP9UWRi5rSo4wmkSoeNcHW", "W6pdVdtcRtO", "C8o3EbpdOCkd", "pCoKe8krWOX8wwCH", "t8kruvdcGGhdJa", "W4JdTSkvleFcSa", "WOaEzCoHW4y", "W5dcNmkXW5KOWPrFW6pdQxa", "tCk5WR3cOmoYySkXW7TU", "h8oFl1VdRuSvkqH+WQ3cJG", "WPH1WPRdRmkynCoIuSkcvG", "b8k8W5KqfCkxlIvLW4GiiWpcRq", "oMxcSw9Kj0RdRCoHvG", "jNddR8kwWQfRdJ4BpLpcKHy", "cCoEW7xcNHldMbG", "WPhdLeHtFSkIWQtcMq", "lNtcPf90ia", "dmo9fSkyWQX8", "W5xcHSkxW4ONWOS", "WOqEzCoI", "xSkmWRpcUH7dPXWNEa", "WRKcESoUW57cPeddIColtCopW5BcN3xcOSoxmbFdRmoT", "i8oqhSkkWP3dQG", "qtNcPmokW7GNCHCDmeNcUsS", "WQRcV8owW51dW6KLW4lcISodEa/cPa", "mCoGW40RW5jPamo8", "WPfKWPRdRmkgmSoUDSkjxa", "W5WGtCkfWQDpbSk9WPK", "nZ7dK8oSFCk1WPZcM8ovW5ZdGSk9yZ0", "DSkQWQJcRCoYASkJW595WQ4sicxcQW", "WPhdJe1m", "W57dOcVcRtRcHmogxSk/W4DuW5xcQCopW60CWQ7dGq", "WOmacSklW74irG", "WOpcTCkcW7PoW7aGW5tcR8owzqu", "emkTW4WdcmkicHXJW4K", "ur5phmo0W7bxW4OKmSkPW7uBgWJcNWBdUh/cHCkojLFdVuCgW4BdP0C", "W4fDpmk8WOtdUL3cMCobq8oBW4O", "pe3dG8k2z8kqaf1nWQZdQq", "WOfmzSoXW59Mrq", "BwyBW7tdMhldRLyDWQxdMrGp", "W6VdMGmsnXtdK8omWQxdHMtdSuGz", "oZjeWQVcJe/dQNCWWPVdVq", "WPldO8oUuLFdUa", "WPieeSk6W746uCobW4ax", "WOPExSo+W5z9Crj0W6ZdICoZWPy", "keiutSkUW4XkWP8Komkw", "WPBdGg4grxJcNmogWOy"];
464
+ return (J = function() {
465
+ return t2;
466
+ })();
467
467
  }
468
468
  !(function() {
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;
470
- function m2(t3, e3, n3, r3, o3) {
471
- return ot(e3 - g2, n3);
472
- }
473
- function f2(t3, e3, n3, r3, o3) {
474
- return ot(r3 - u2, n3);
475
- }
476
- const p2 = rt();
477
- function _2(t3, e3, n3, r3, o3) {
478
- return ot(n3 - 698, r3);
469
+ const t2 = 1017, e2 = "]ztY", n2 = 435, r2 = "zkqq", o2 = "QG(R", s2 = 1207, i2 = 1123, a2 = "l*)V", l2 = "T7wN", c2 = 553, h2 = "G(uQ", d2 = "9W#S", u2 = 1134, g2 = 1063, m2 = "ZV8z", f2 = 894;
470
+ function p2(t3, e3, n3, r3, o3) {
471
+ return ot(e3 - f2, o3);
479
472
  }
473
+ const _2 = J();
480
474
  function S2(t3, e3, n3, r3, o3) {
481
- return ot(o3 - 790, t3);
475
+ return ot(t3 - 974, n3);
482
476
  }
483
477
  function w2(t3, e3, n3, r3, o3) {
484
- return ot(r3 - d2, o3);
478
+ return ot(t3 - 288, o3);
479
+ }
480
+ function y2(t3, e3, n3, r3, o3) {
481
+ return ot(r3 - -571, n3);
482
+ }
483
+ function E2(t3, e3, n3, r3, o3) {
484
+ return ot(n3 - -841, o3);
485
485
  }
486
486
  for (; ; ) try {
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());
487
+ if (793801 === -parseInt(p2(0, t2, 0, 0, e2)) / 1 * (-parseInt(w2(n2, 0, 0, 0, r2)) / 2) + parseInt(w2(538, 0, 0, 0, o2)) / 3 * (-parseInt(S2(s2, 0, "mLZp")) / 4) + parseInt(S2(i2, 0, "OBRc")) / 5 * (-parseInt(S2(1200, 0, a2)) / 6) + -parseInt(y2(0, 0, l2, -313)) / 7 + parseInt(E2(0, 0, -c2, 0, h2)) / 8 + parseInt(w2(434, 0, 0, 0, d2)) / 9 * (parseInt(p2(0, u2, 0, 0, "Ykc7")) / 10) + parseInt(p2(0, g2, 0, 0, "4][6")) / 11 * (parseInt(w2(501, 0, 0, 0, m2)) / 12)) break;
488
+ _2.push(_2.shift());
489
489
  } catch (t3) {
490
- p2.push(p2.shift());
490
+ _2.push(_2.shift());
491
491
  }
492
492
  })();
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);
493
+ const q = () => {
494
+ const t2 = 519, e2 = 610, n2 = 481, r2 = 558;
495
+ if (typeof window === s2(398, 354, 457, 420, "rP*Q")) return window[s2(t2, 465, 524, 474, "T]kd")][s2(e2, n2, 552, 546, "]ztY")];
496
+ function s2(t3, e3, n3, r3, o2) {
497
+ return ot(n3 - 344, o2);
499
498
  }
500
- return o[h2 = 1363, d2 = l2, ot(h2 - 872, d2)]();
501
- }, X = () => {
502
- const t2 = 1339, e2 = "CSJl", n2 = 1230;
499
+ return o[i2 = r2, a2 = "T7wN", ot(i2 - 433, a2)]();
500
+ var i2, a2;
501
+ }, K = () => {
502
+ const t2 = "ZV8z", e2 = "#$c*", n2 = 164;
503
503
  function r2(t3, e3, n3, r3, o2) {
504
- return ot(n3 - 818, e3);
504
+ return ot(r3 - -433, n3);
505
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;
506
+ return q()[r2(0, 0, t2, -195)](r2(0, 0, "L8pV", -248)) || q() === ot(n2 - -33, e2);
507
+ };
508
+ function X(t2, e2, n2, r2, o2) {
509
+ return ot(t2 - 130, n2);
510
+ }
511
+ function Y(t2, e2, n2, r2, o2) {
512
+ return ot(r2 - 258, o2);
513
+ }
514
+ function Q(t2, e2, n2, r2, o2) {
515
+ return ot(n2 - -868, o2);
516
+ }
517
+ const Z = (t2) => {
518
+ const e2 = "z^RQ", n2 = 412, r2 = "l*)V", s2 = 121, i2 = "DLPi", a2 = 7, l2 = "NLHq", c2 = 113;
519
+ let h2 = o[p2(280, 276, "TI(i")];
509
520
  function d2(t3, e3, n3, r3, o2) {
510
- return ot(n3 - -945, e3);
521
+ return ot(r3 - 0, o2);
511
522
  }
512
523
  function u2(t3, e3, n3, r3, o2) {
513
- return ot(o2 - -419, e3);
524
+ return ot(e3 - -239, o2);
514
525
  }
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 = [];
526
+ if (K() || o[f2(1268, "9AJl")]()) {
527
+ const t3 = P[f2(1177, e2)](), o2 = new Date(t3), i3 = /* @__PURE__ */ new Date(), a3 = 864e5;
528
+ Math[f2(1081, "$HoA")]((i3[g2 = n2, m2 = "bcdl", ot(g2 - 119, m2)]() - o2[u2(0, -28, 0, 0, r2)]()) / a3) >= 120 && (h2 = [d2(0, 0, 0, s2, "&@n$")]);
529
+ } else h2 = [];
530
+ var g2, m2;
523
531
  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 {
534
- constructor() {
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;
532
+ return ot(t3 - 955, e3);
538
533
  }
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);
544
- }
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;
548
- }
549
- function L2(t3, e3, n3, r3, o2) {
550
- return q(e3, 0, 0, t3 - -379);
551
- }
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);
557
- }
558
- function W2(t3, e3, n3, r3, o2) {
559
- return q(o2, 0, 0, t3 - -570);
560
- }
561
- function H2(t3, e3, n3, r3, o2) {
562
- return J(0, o2, 0, 0, e3 - -808);
563
- }
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"));
567
- }
568
- return P2;
534
+ function p2(t3, e3, n3, r3, o2) {
535
+ return ot(e3 - c2, n3);
569
536
  }
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);
575
- }
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);
579
- }
580
- let U2 = null;
581
- function nt2(t3, e3, n3, r3, o2) {
582
- return at(r3 - L2, e3 - z2, n3);
537
+ return { licensee: () => u2(0, -40, 0, 0, "L8pV"), expiration: () => null, domains: () => [q()], developerCount: () => 1, cpuCount: () => 0, type: () => p2(0, 415, "^zch"), isEval: () => true, exceptions: () => h2, isValidFor: () => 0 === h2[f2(1120, "ZV8z")], isValid: () => false, features: () => Object[p2(0, 395, "l*)V")]({}), keyFrom: () => t2, getBuildVersion: P[d2(0, 0, 0, 159, i2)], getBuildDate: P[u2(0, a2, 0, 0, l2)] };
538
+ };
539
+ function tt(t2, e2, n2, r2, o2) {
540
+ return ot(t2 - 43, r2);
541
+ }
542
+ const et = { promise: null, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
543
+ let nt = false, rt = false;
544
+ function ot(t2, e2) {
545
+ const n2 = J();
546
+ return ot = function(e3, r2) {
547
+ let o2 = n2[e3 -= 109];
548
+ if (void 0 === ot.dwceNL) {
549
+ const e4 = function(t3, e5) {
550
+ let n3, r3, o3 = [], s3 = 0, i3 = "";
551
+ for (t3 = (function(t4) {
552
+ let e6 = "", n4 = "";
553
+ 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);
554
+ for (let t5 = 0, r4 = e6.length; t5 < r4; t5++) n4 += "%" + ("00" + e6.charCodeAt(t5).toString(16)).slice(-2);
555
+ return decodeURIComponent(n4);
556
+ })(t3), r3 = 0; r3 < 256; r3++) o3[r3] = r3;
557
+ 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;
558
+ r3 = 0, s3 = 0;
559
+ 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]);
560
+ return i3;
561
+ };
562
+ ot.ejBFiO = e4, t2 = arguments, ot.dwceNL = true;
583
563
  }
584
- Q[nt2(727, i2, a2, 811)] = new Promise((t3) => {
585
- U2 = t3;
564
+ const s2 = e3 + n2[0], i2 = t2[s2];
565
+ return i2 ? o2 = i2 : (void 0 === ot.CDSyPP && (ot.CDSyPP = true), o2 = ot.ejBFiO(o2, r2), t2[s2] = o2), o2;
566
+ }, ot(t2, e2);
567
+ }
568
+ const st = Y(0, 0, 0, 403, "V#]*")[Q(0, 0, -593, 0, "9W#S")]("")[U(0, 0, 0, "YcI9", 788)]((t2, e2) => e2 + t2, "");
569
+ class it {
570
+ constructor() {
571
+ const t2 = 1591;
572
+ function e2(e3, n2, r2, o2, s2) {
573
+ return Q(0, 0, s2 - t2, 0, r2);
574
+ }
575
+ this[e2(0, 0, "&@n$", 0, 858)][e2(0, 0, "YcI9", 0, 968)] = null;
576
+ }
577
+ async [Q(0, 0, -556, 0, "T]kd")](t2, e2 = false) {
578
+ const n2 = 78, r2 = "FSm]", s2 = 70, i2 = 93, a2 = 126, l2 = 97, c2 = 72, h2 = "$HoA", d2 = 158, u2 = 63, g2 = 149, m2 = 66, f2 = 84, p2 = 1196, _2 = 1288, S2 = 1261, w2 = "OBRc", y2 = "G(uQ", E2 = 1199, C2 = 1296, b2 = "L8pV", v2 = 1203, x2 = 1262, I2 = "W$iV", R2 = 52, A2 = 76, M2 = 26, N2 = "w9w2", T2 = "TI(i", k2 = 162, F2 = "4][6", O2 = "zkqq", D2 = 144, L2 = 17, B2 = "v(gg", P2 = "W)F6", z2 = 1273, W2 = "^kHC", H2 = "#$c*", V2 = "rU(l", j2 = 263, G2 = 1092, J2 = 1850;
579
+ function q2(t3, e3, n3, r3, o2) {
580
+ return Y(0, 0, 0, e3 - -259, r3);
581
+ }
582
+ if (!t2 || t2[ot2(61, 34, "OBRc", 155, 66)](ot2(n2, 169, r2, 75, 129)) || t2[ot2(s2, i2, "Ykc7", a2, l2)](ot2(c2, -19, h2, d2, u2)) || t2[ot2(g2, 51, h2, m2, f2)](Z2(p2, 1270, _2, S2, w2)) || t2[q2(0, 182, 0, y2)](Z2(1225, E2, C2, 1203, b2))) return nt = true, await this[Z2(v2, x2, 1227, 1284, I2)](true);
583
+ if (nt = false, !e2 && et[K2(33, 126, R2, "w9w2")]) {
584
+ const t3 = await this[K2(A2, M2, 36, N2)]();
585
+ if (t3[ot2(90, 117, T2, k2, 178)]() && !t3[rt2(-450, "w9w2", -417, -570, -473)]()) return t3;
586
+ }
587
+ function K2(t3, e3, n3, r3, o2) {
588
+ return X(t3 - -317, 0, r3);
589
+ }
590
+ function Z2(t3, e3, n3, r3, o2) {
591
+ return Q(0, 0, t3 - J2, 0, o2);
592
+ }
593
+ et[rt2(-426, F2, -407, -486, -425)] = t2, et[Z2(1272, 1173, 1340, 1329, O2)] = K2(7, 0, 0, "^zch"), et[Z2(1267, 0, 0, 0, "pLjC")] = null, et[ot2(D2, 31, "UdIk", L2, 61)] = null;
594
+ const tt2 = await this[rt2(-346, B2, -421, -474, -426)]();
595
+ if (!tt2[K2(30, 0, 0, P2)]()) throw await this[Z2(z2, 0, 0, 0, W2)](true), new Error(rt2(-369, H2, -429, -415, -470));
596
+ function rt2(t3, e3, n3, r3, o2) {
597
+ return U(0, 0, 0, e3, o2 - -1373);
598
+ }
599
+ function ot2(t3, e3, n3, r3, o2) {
600
+ return Y(0, 0, 0, o2 - -331, n3);
601
+ }
602
+ if (o[rt2(0, V2, 0, 0, -542)]()) {
603
+ await $[K2(1, 0, 0, "ZV8z")](t2, e2);
604
+ if (!(await this[q2(0, j2, 0, "l*)V")]())[ot2(0, 0, "plK!", 0, 225)]()) throw await this[Z2(G2, 0, 0, 0, "UdIk")](true), new Error(q2(0, 205, 0, "$HoA"));
605
+ }
606
+ return tt2;
607
+ }
608
+ async [Y(0, 0, 0, 521, "w9w2")](t2 = false) {
609
+ const e2 = "pLjC", n2 = 119, r2 = 166, s2 = 136, i2 = 135, a2 = 1166, l2 = 1084, c2 = "NLHq", h2 = 787, d2 = "T7wN", u2 = 152, g2 = 245, m2 = 151, f2 = 676, p2 = "G(uQ", _2 = "w9w2", S2 = 1004, w2 = 1085, y2 = 995, E2 = 223, C2 = 311, b2 = 168, v2 = 243, x2 = 369, I2 = 349, R2 = 908, A2 = 896, M2 = 863, N2 = "lINb", T2 = 975, k2 = 926, F2 = 685, O2 = 732, D2 = 963, L2 = 829, B2 = 808, z2 = 258, W2 = 612, H2 = 653, V2 = 716, J2 = "G(uQ", Y2 = "#$c*", it2 = 840, at2 = 907, lt2 = 882, ct2 = 786, ht2 = 725, dt2 = 252, ut2 = 869, gt2 = "V#]*", mt2 = 781, ft2 = 822, pt2 = 734, _t2 = 660, St2 = "NLt4", wt2 = 1045, yt2 = 1061, Et2 = 577, Ct2 = "plK!", bt2 = 246, vt2 = 209, xt2 = 196, It2 = 56, Rt2 = 96, At2 = 7, Mt2 = 887, Nt2 = 930, Tt2 = "G(uQ", kt2 = "bcdl", Ft2 = 299, Ot2 = 671, Dt2 = "mLZp", Lt2 = 337, Bt2 = 139, Pt2 = 635, zt2 = 1402, Wt2 = 326, Ht2 = 225, Vt2 = 113;
610
+ if (et[Kt2("veFA", 191, 95, 62, 93)]) return et[Kt2(e2, 170, 88, n2, r2)];
611
+ if (!this[Kt2("U]gb", s2, 185, i2, 148)][Qt2(1156, "FSm]", 1121, a2, l2)] && (this[Xt2(790, c2, h2, 808)][Kt2(d2, u2, 139, g2, m2)] = new Error("FV")), et[Xt2(f2, "T7wN", 566, 654)]) return et[Xt2(572, "T7wN", 608, 654)];
612
+ let $t2 = null;
613
+ et[Xt2(775, p2, 710, 805)] = new Promise((t3) => {
614
+ $t2 = t3;
586
615
  });
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);
593
- }
594
- const ct2 = async (t3, e3) => {
595
- const n3 = 1176;
616
+ let jt2, Gt2 = null;
617
+ const Ut2 = async (t3, e3) => {
618
+ const n3 = 77, r3 = 89, s3 = 230, i3 = 85;
596
619
  try {
597
- const l3 = ((t4) => {
620
+ const f3 = ((t4) => {
598
621
  let e4 = t4;
599
622
  const n4 = e4[e4.length - 1], r4 = n4.charCodeAt(0) - 52;
600
623
  if (e4 = e4.substring(0, e4.length - 1), e4 = e4.split("").reverse().join(""), e4 = G(e4), e4 = e4.trim(), e4[e4.length - 1] !== n4) throw new Error();
601
- e4 = e4.substring(0, e4.length - 1), e4 = $(e4, r4);
624
+ e4 = e4.substring(0, e4.length - 1), e4 = j(e4, r4);
602
625
  try {
603
626
  e4.startsWith("{") || (e4 = "{" + e4);
604
627
  const t5 = JSON.parse(e4), n5 = { licensee: t5.l, domains: t5.d, nodeId: t5.n, expiry: t5.e, developerCount: t5.dc, cpuCount: t5.cc, type: t5.t };
@@ -606,229 +629,211 @@ class nt {
606
629
  } catch (t5) {
607
630
  throw new Error("Invalid license key.");
608
631
  }
609
- })(e3), c3 = ((t4, e4, n4) => {
610
- function r4(t5, e5, n5, r5, o3) {
611
- return ot(o3 - -896, r5);
612
- }
613
- function o2(t5, e5, n5, r5, o3) {
614
- return ot(o3 - 496, e5);
615
- }
616
- function s4(t5, e5, n5, r5, o3) {
617
- return ot(n5 - 292, r5);
632
+ })(e3), p3 = ((t4, e4, n4) => {
633
+ const r4 = "YcI9", o2 = 749, s4 = 443;
634
+ function i4(t5, e5, n5, r5, o3) {
635
+ return ot(t5 - s4, e5);
618
636
  }
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")] };
624
- })(l3, await (async (t4) => {
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);
637
+ function a4(t5, e5, n5, r5, o3) {
638
+ return ot(e5 - -215, t5);
628
639
  }
629
- const B3 = t4[L3(s4, -261)];
630
- function L3(t5, e5, n5, r5, o2) {
631
- return ot(e5 - -670, t5);
640
+ function l4(t5, e5, n5, r5, o3) {
641
+ return ot(t5 - -276, o3);
632
642
  }
633
- function P2(t5, e5, n5, r5, o2) {
634
- return ot(n5 - T3, r5);
643
+ return { licensee: () => t4[a4("L8pV", 55)], expiration: () => new Date(t4[l4(-41, 0, 0, 0, "bcdl")]), domains: () => t4[i4(648, "Ykc7")] ?? [], developerCount: () => t4[a4("bcdl", 65)] ?? 1, cpuCount: () => t4[a4("$HoA", 58)] ?? 0, type: () => t4[l4(-102, 0, 0, 0, "zkqq")] ?? l4(-89, 0, 0, 0, "rU(l"), exceptions: () => e4, isValidFor: (t5) => {
644
+ return !(e4?.[n5 = o2, r5 = "T]kd", i4(n5 - 114, r5)] > 0);
645
+ var n5, r5;
646
+ }, isValid: () => true, isEval: () => false, features: () => Object[l4(-115, 0, 0, 0, "bcdl")](t4[i4(730, "#$c*")] ?? {}), keyFrom: () => n4, getBuildVersion: P[c4 = "IhR(", h4 = -714, ot(h4 - -886, c4)], getBuildDate: P[i4(726, r4)] };
647
+ var c4, h4;
648
+ })(f3, await (async (t4) => {
649
+ const e4 = "rU(l", n4 = "zkqq", r4 = 732, s4 = "UdIk", i4 = 669, a4 = "NLHq", l4 = "alEA", c4 = "TI(i", h4 = 703, d4 = "FSm]", u4 = "w9w2", g4 = "NLt4", m4 = 812, f4 = "T7wN", p4 = 878, _3 = "T]kd", S3 = "bcdl", w3 = 769, y3 = 680, E3 = "plK!", C3 = "L8pV", b3 = "W)F6", v3 = 589, x3 = 431, I3 = t4[T3(-250, -171, "U]gb")];
650
+ function R3(t5, e5, n5, r5, o2) {
651
+ return ot(o2 - 502, t5);
635
652
  }
636
- const z3 = [];
637
- function W3(t5, e5, n5, r5, o2) {
638
- return ot(o2 - N3, n5);
653
+ const A3 = t4[R3(e4, 0, 0, 0, 717)] ? new Date(t4[T3(-184, -134, n4)]) : null, M3 = t4[R3("4][6", 0, 0, 0, r4)], N3 = [];
654
+ function T3(t5, e5, n5, r5, o2) {
655
+ return ot(e5 - -437, n5);
639
656
  }
640
- function H3(t5, e5, n5, r5, o2) {
641
- return ot(o2 - 136, r5);
657
+ function k3(t5, e5, n5, r5, o2) {
658
+ return ot(t5 - 564, n5);
642
659
  }
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);
660
+ if (A3 ? isNaN(A3) ? N3[T3(0, -127, l4)](O3(-482, -459, -438, -405, "OBRc")) : A3 < /* @__PURE__ */ new Date() && N3[R3(c4, 0, 0, 0, h4)](T3(0, -306, d4) + A3[R3(u4, 0, 0, 0, 654)]()) : N3[R3(s4, 0, 0, 0, i4)](T3(0, -200, a4)), o[k3(819, 0, "alEA")]()) {
661
+ if (!M3) return N3[O3(-545, -453, -621, -477, g4)](k3(m4, 0, f4)), N3;
662
+ const t5 = await $[O3(-485, -548, -430, -444, "rP*Q")]();
663
+ t5 !== M3 && N3[k3(p4, 0, "V#]*")](O3(-457, -536, -495, -357, _3) + M3 + R3(S3, 0, 0, 0, w3) + t5);
647
664
  } else {
648
- if (X()) return z3;
649
- if (F3 && 0 !== F3[D3(0, b3, 0, v3)]) {
665
+ if (K()) return N3;
666
+ if (I3 && 0 !== I3[F3("NLHq", 680, y3, 590)]) {
650
667
  let t5 = false;
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));
668
+ const e5 = q();
669
+ for (let n5 = 0; !t5 && n5 < I3[R3("rP*Q", 0, 0, 0, 680)]; n5++) t5 = e5[T3(0, -209, C3)](I3[n5]);
670
+ !t5 && N3[k3(691, 0, "OBRc")](F3(b3, v3, x3, 502));
671
+ } else N3[O3(-586, -520, -560, -514, "mLZp")](O3(-550, -627, -475, -558, E3));
655
672
  }
656
- return z3;
657
- })(l3), t3);
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;
673
+ function F3(t5, e5, n5, r5, o2) {
674
+ return ot(r5 - 325, t5);
675
+ }
676
+ function O3(t5, e5, n5, r5, o2) {
677
+ return ot(t5 - -726, o2);
678
+ }
679
+ return N3;
680
+ })(f3), t3);
681
+ return p3[d3 = -375, u3 = -Wt2, g3 = -Ht2, m3 = "lINb", Kt2(m3, d3 - 158, u3 - n3, g3 - 291, u3 - -512)]()[a3 = "9W#S", l3 = 156, c3 = Vt2, h3 = 243, Kt2(a3, l3 - r3, c3 - 390, h3 - s3, l3 - i3)] > 0 && (jt2 = p3), p3;
659
682
  } catch (e4) {
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);
683
+ jt2 = ((t4) => {
684
+ const e5 = 995;
685
+ function n4(t5, e6, n5, r5, o2) {
686
+ return ot(r5 - 60, t5);
664
687
  }
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;
688
+ function r4(t5, e6, n5, r5, o2) {
689
+ return ot(e6 - -228, t5);
690
+ }
691
+ return { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => r4("lINb", -77), exceptions: () => {
692
+ return [(n5 = "9W#S", o2 = e5, r4(n5, o2 - 1016) + t4 + "'")];
693
+ var n5, o2;
694
+ }, isValidFor: (t5) => false, isValid: () => false, isEval: () => false, features: () => Object[n4("NVU@", 0, 0, 341)]({}), keyFrom: () => t4, getBuildVersion: P[r4("yURb", -44)], getBuildDate: P[n4("alEA", 0, 0, 371)] };
670
695
  })(t3);
671
696
  }
672
- var r3, s3, i3, a3;
697
+ var a3, l3, c3, h3, d3, u3, g3, m3;
673
698
  };
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));
699
+ et[Qt2(893, _2, S2, w2, y2)] && (Gt2 = await Ut2(et[qt2(E2, "4][6", C2, b2, v2)], et[qt2(x2, "IhR(", 278, 270, I2)]));
700
+ let Jt2 = false;
701
+ function qt2(t3, e3, n3, r3, o2) {
702
+ return X(o2 - -20, 0, e3);
703
+ }
704
+ if (nt && (Jt2 = true, Gt2 = Z(Yt2(977, R2, "Hptk"))), !Gt2) {
705
+ if (o[Yt2(A2, M2, N2)]()) {
706
+ if (!Gt2) {
707
+ const t3 = process[Qt2(T2, "V#]*", 893, k2, 954)], e3 = t3[Xt2(826, "W)F6", F2, O2)] || t3[Qt2(D2, c2, L2, B2, 886)] || t3[qt2(0, "#$c*", 0, 0, z2)] || t3[Xt2(W2, "Hptk", H2, 702)];
708
+ e3 && (Gt2 = await Ut2(Xt2(V2, J2, 663, 746), e3));
681
709
  }
682
- if (!st2) {
683
- const t3 = await j[it2(724, p2, 0, "rc69")]();
684
- t3 && (st2 = await ct2(it2(743, 739, 0, "pku2"), t3));
710
+ if (!Gt2) {
711
+ const t3 = await $[qt2(0, Y2, 0, 0, 264)]();
712
+ t3 && (Gt2 = await Ut2(Yt2(851, it2, "plK!"), t3));
685
713
  }
686
- !st2 && (ht2 = true);
714
+ !Gt2 && (Jt2 = true);
687
715
  } else {
688
- if (!st2) try {
689
- const t3 = await fetch("./" + et);
716
+ if (!Gt2) try {
717
+ const t3 = await fetch("./" + st);
690
718
  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);
719
+ if (200 === t3[Yt2(at2, 975, "zkqq", 995, lt2)]) {
720
+ const n3 = (await t3[Xt2(ct2, "NVU@", 643, ht2, 670)]())[qt2(0, "rU(l", 0, 0, dt2)]("\n");
721
+ for (let t4 = 0; !e3 && t4 < n3[qt2(0, "]ztY", 0, 0, 226)]; t4++) {
722
+ const r3 = n3[t4][Qt2(1021, Y2, 1085, 970, 1007)]();
723
+ r3[Yt2(925, ut2, gt2, 872, 917)]("#") || 0 === r3[Xt2(mt2, gt2, ft2, pt2, _t2)] || (e3 = r3);
696
724
  }
697
725
  }
698
726
  if (e3) {
699
- const t4 = lt2(-b2, "0w]M") + et + "')";
700
- st2 = await ct2(t4, e3);
727
+ const t4 = Yt2(982, 964, St2, wt2, yt2) + st + "')";
728
+ Gt2 = await Ut2(t4, e3);
701
729
  }
702
730
  } catch (t3) {
703
731
  }
704
- !st2 && X() && (ht2 = true);
732
+ !Gt2 && K() && (Jt2 = true);
705
733
  }
706
734
  }
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(() => {
710
- var t3, e3, n3;
711
- this[t3 = -216, e3 = "znmB", n3 = -242, it2(n3 - -925, t3 - 267, 0, e3)](false, false);
735
+ function Kt2(t3, e3, n3, r3, o2) {
736
+ return U(0, 0, 0, t3, o2 - -780);
737
+ }
738
+ function Xt2(t3, e3, n3, r3, o2) {
739
+ return Q(0, 0, r3 - zt2, 0, e3);
740
+ }
741
+ function Yt2(t3, e3, n3, r3, o2) {
742
+ return tt(t3 - Pt2, 0, 0, n3);
743
+ }
744
+ function Qt2(t3, e3, n3, r3, o2) {
745
+ return X(o2 - 645, 0, e3);
746
+ }
747
+ if (!Gt2 && Jt2 && (Gt2 = Z(Xt2(744, "DLPi", Et2, 643))), !Gt2 && jt2 && (Gt2 = jt2), !Gt2 && (Gt2 = { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => null, isEval: () => false, exceptions: () => [qt2(0, "rP*Q", 0, 0, 370)], isValidFor: (t3) => false, isValid: () => false, features: () => Object[Xt2(759, "]ztY", 809, 823)]({}), keyFrom: () => Yt2(986, 929, "v(gg"), getBuildVersion: P[Kt2(Ct2, bt2, vt2, 108, xt2)], getBuildDate: P[Kt2("v(gg", It2, Rt2, 88, At2)] }), et[Yt2(983, Mt2, "lINb")] = Gt2, $t2(Gt2), t2) {
748
+ if (!(et[Yt2(Nt2, 0, "plK!")] && et[qt2(0, "pLjC", 0, 0, 254)]) && (Jt2 || Gt2[Qt2(0, "plK!", 0, 0, 890)]()[Yt2(939, 0, Tt2)] > 0 || Gt2[qt2(0, kt2, 0, 0, Ft2)]()?.pb)) {
749
+ if (rt) return void setTimeout(() => {
750
+ var t3, e3;
751
+ this[t3 = "v(gg", e3 = Bt2, qt2(0, t3, 0, 0, e3 - -181)](false, false);
712
752
  }, 8e3);
713
- await this[nt2(0, 901, f2, 804)](false, false);
753
+ await this[Xt2(0, "9W#S", 0, Ot2)](false, false);
714
754
  }
715
755
  }
716
- return Q[H2(F2, -247, 0, -185)];
717
- }
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")]();
722
- function f2(t3, e3, n3, r3, o3) {
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;
756
+ return et[qt2(0, Dt2, 0, 0, Lt2)];
727
757
  }
728
- async [at(-379, -405, "LSwT")](t2 = false, e2 = false, n2 = false) {
729
- const r2 = 704, o2 = 555, s2 = 4;
758
+ async [X(325, 0, "l*)V")](t2) {
759
+ const e2 = "v(gg", n2 = 441, r2 = 520, o2 = "rP*Q";
760
+ et[l2(-578, -586, "TI(i", -639)] = true;
761
+ const s2 = await this[l2(-579, -610, "YcI9", -487)]();
730
762
  function i2(t3, e3, n3, r3, o3) {
731
- return U(0, 0, r3, 0, n3 - s2);
763
+ return Y(0, 0, 0, e3 - -884, o3);
764
+ }
765
+ function a2(t3, e3, n3, r3, o3) {
766
+ return U(0, 0, 0, t3, e3 - -1134);
732
767
  }
733
- Q[l2(1032, 977, 1072, 960, "U7uu")] = true;
734
- const a2 = await this[i2(0, 0, r2, "6e]*")]();
735
768
  function l2(t3, e3, n3, r3, o3) {
736
- return J(0, o3, 0, 0, e3 - -220);
769
+ return Q(0, 0, t3 - 33, 0, n3);
737
770
  }
738
771
  function c2(t3, e3, n3, r3, o3) {
739
- return q(r3, 0, 0, o3 - -695);
772
+ return Q(0, 0, r3 - 1116, 0, e3);
740
773
  }
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);
774
+ return await $[l2(-694, -622, e2, -612)](t2), !et[c2(0, "G(uQ", 0, n2)] && (s2[c2(0, e2, 0, r2)]() || s2[a2("IhR(", -242)]()[i2(0, -448, 0, 0, o2)] > 0) && await this[a2("G(uQ", -348)](t2), Promise[i2(0, -496, 0, 0, o2)]();
743
775
  }
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);
776
+ async [Q(0, 0, -736, 0, "rP*Q")](t2 = false, e2 = false, n2 = false) {
777
+ const r2 = 1274, o2 = "NLt4";
778
+ function s2(t3, e3, n3, r3, o3) {
779
+ return U(0, 0, 0, o3, r3 - 299);
758
780
  }
759
- f2 && p2(""), await this[g2(0, -483, 0, 0, "Mt8v")](t2, e2), p2("");
760
- }
761
- [at(-266, -165, "ZEpk")]() {
762
- return this[t2 = "05[c", e2 = -315, q(t2, 0, 0, e2 - -886)]();
781
+ function i2(t3, e3, n3, r3, o3) {
782
+ return U(0, 0, 0, n3, o3 - -1520);
783
+ }
784
+ et[s2(1241, 1317, 1215, 1221, "NLt4")] = true;
785
+ const a2 = await this[l2 = "zkqq", c2 = -715, Q(0, 0, c2 - -72, 0, l2)]();
786
+ var l2, c2, h2, d2;
787
+ et[s2(0, 0, 0, 1139, "Hptk")] || !(a2[i2(0, 0, "W$iV", 0, -723)]() || a2[i2(0, 0, "V#]*", 0, -713)]()[s2(0, 0, 0, r2, "T7wN")] > 0) ? await $[h2 = o2, d2 = -856, tt(d2 - -1042, 0, 0, h2)](a2, t2, e2, n2) : await this[i2(0, 0, "cn6&", 0, -693)](t2);
788
+ }
789
+ async [tt(153, 0, 0, "UdIk")](t2, e2) {
790
+ const n2 = 984, r2 = 989, s2 = 1011, i2 = "&@n$", a2 = "z^RQ", l2 = 837, c2 = "W$iV", h2 = "plK!", d2 = 1070, u2 = "mLZp", g2 = "]ztY", m2 = 1025, f2 = "w9w2", p2 = 942, _2 = 1200, S2 = 1772;
791
+ if (!t2 && (et[A2(1038, 1162, "DLPi", 1116)] || et[w2(n2, r2, s2, 1064, i2)])) return;
792
+ function w2(t3, e3, n3, r3, o2) {
793
+ return Q(0, 0, r3 - S2, 0, o2);
794
+ }
795
+ var y2, E2, C2, b2;
796
+ et[A2(1041, 1053, a2, 1130)] = true, et[C2 = l2, b2 = c2, U(0, 0, 0, b2, C2 - -74)] = true, await this[y2 = 437, E2 = h2, Y(0, 0, 0, y2 - -30, E2)](t2);
797
+ const v2 = o[w2(0, 0, 0, d2, u2)](), x2 = t2 || v2 ? console[I2 = -225, R2 = g2, U(0, 0, 0, R2, I2 - -1097)] : o[A2(977, m2, f2, p2)];
798
+ var I2, R2;
799
+ function A2(t3, e3, n3, r3, o2) {
800
+ return tt(r3 - 787, 0, 0, n3);
801
+ }
802
+ v2 && x2(""), await this[w2(0, 0, 0, _2, "QG(R")](t2, e2), x2("");
803
+ }
804
+ [X(285, 0, "$HoA")]() {
805
+ return this[t2 = "4][6", e2 = 63, Y(0, 0, 0, e2 - -411, t2)]();
763
806
  var t2, e2;
764
807
  }
765
- [q("klDZ", 0, 0, 587)](t2) {
766
- return this[e2 = "CSJl", n2 = -198, J(0, e2, 0, 0, n2 - -1238)](true, t2);
808
+ [Q(0, 0, -649, 0, "#$c*")](t2) {
809
+ return this[e2 = "alEA", n2 = -656, X(n2 - -976, 0, e2)](true, t2);
767
810
  var e2, n2;
768
811
  }
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);
773
- }
774
- return Q[n2(0, "SGgd", 0, 0, 381)] || Q[n2(0, t2, 0, 0, e2)];
812
+ [tt(172, 0, 0, "YcI9")]() {
813
+ const t2 = "V#]*", e2 = 736, n2 = 254;
814
+ return et[s2 = -389, i2 = "9W#S", Y(0, 0, 0, s2 - -797, i2)] || et[r2 = t2, o2 = e2, Y(0, 0, 0, o2 - n2, r2)];
815
+ var r2, o2, s2, i2;
775
816
  }
776
- [it(1202, 1185, 1152, ")*Ew")](t2) {
777
- tt = true;
817
+ [Y(0, 0, 0, 553, "rP*Q")](t2) {
818
+ rt = true;
778
819
  }
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;
820
+ async [Q(0, 0, -712, 0, "Ykc7")]() {
821
+ return this[t2 = 142, e2 = "$HoA", tt(t2 - -25, 0, 0, e2)](true);
822
+ var t2, e2;
782
823
  }
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)]();
824
+ async [Y(0, 0, 0, 454, "U]gb")](t2, e2) {
825
+ const n2 = 480, r2 = "l*)V", o2 = 1112;
826
+ const s2 = await this[i2 = -741, a2 = "zkqq", tt(i2 - -1009, 0, 0, a2)]();
785
827
  var i2, a2, l2, c2;
786
- return await this[l2 = o2, c2 = -208, U(0, 0, l2, 0, c2 - -758)](true, t2, e2), s2;
828
+ return await this[l2 = n2, c2 = r2, Q(0, 0, l2 - o2, 0, c2)](true, t2, e2), s2;
787
829
  }
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)]();
830
+ async [U(0, 0, 0, "NVU@", 963)]() {
831
+ const t2 = 952;
832
+ var e2, n2;
833
+ return await $[e2 = "UdIk", n2 = 248, Q(0, 0, n2 - t2, 0, e2)]();
792
834
  }
793
835
  }
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);
823
- }
824
- const st = new nt();
825
- function it(t2, e2, n2, r2, o2) {
826
- return ot(n2 - 770, r2);
827
- }
828
- function at(t2, e2, n2, r2, o2) {
829
- return ot(t2 - -721, n2);
830
- }
831
- const lt = (t2, e2) => {
836
+ const at = new it(), lt = (t2, e2) => {
832
837
  const n2 = [];
833
838
  for (let r2 = 0; r2 < t2.length; r2++) {
834
839
  const o2 = t2[r2];
@@ -1734,7 +1739,7 @@ function Ft(t2) {
1734
1739
  };
1735
1740
  }
1736
1741
  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" };
1737
- function Bt(t2) {
1742
+ function Lt(t2) {
1738
1743
  return (e2, n2) => {
1739
1744
  let r2;
1740
1745
  if ("formatting" === (n2?.context ? String(n2.context) : "standalone") && t2.formattingValues) {
@@ -1747,7 +1752,7 @@ function Bt(t2) {
1747
1752
  return r2[t2.argumentCallback ? t2.argumentCallback(e2) : e2];
1748
1753
  };
1749
1754
  }
1750
- function Lt(t2) {
1755
+ function Bt(t2) {
1751
1756
  return (e2, n2 = {}) => {
1752
1757
  const r2 = n2.width, o2 = r2 && t2.matchPatterns[r2] || t2.matchPatterns[t2.defaultMatchWidth], s2 = e2.match(o2);
1753
1758
  if (!s2) return null;
@@ -1779,14 +1784,14 @@ const zt = { code: "en-US", formatDistance: (t2, e2, n2) => {
1779
1784
  return n2 + "rd";
1780
1785
  }
1781
1786
  return n2 + "th";
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 = {}) => {
1787
+ }, 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 = {}) => {
1783
1788
  const n2 = t2.match(Pt.matchPattern);
1784
1789
  if (!n2) return null;
1785
1790
  const r2 = n2[0], o2 = t2.match(Pt.parsePattern);
1786
1791
  if (!o2) return null;
1787
1792
  let s2 = Pt.valueCallback ? Pt.valueCallback(o2[0]) : o2[0];
1788
1793
  return s2 = e2.valueCallback ? e2.valueCallback(s2) : s2, { value: s2, rest: t2.slice(r2.length) };
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) => {
1794
+ }), 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) => {
1790
1795
  switch (t2) {
1791
1796
  case "P":
1792
1797
  return e2.date({ width: "short" });
@@ -1826,12 +1831,12 @@ const zt = { code: "en-US", formatDistance: (t2, e2, n2) => {
1826
1831
  s2 = e2.dateTime({ width: "full" });
1827
1832
  }
1828
1833
  return s2.replace("{{date}}", Wt(r2, e2)).replace("{{time}}", Ht(o2, e2));
1829
- } }, jt = /^D+$/, $t = /^Y+$/, Gt = ["D", "DD", "YY", "YYYY"];
1834
+ } }, $t = /^D+$/, jt = /^Y+$/, Gt = ["D", "DD", "YY", "YYYY"];
1830
1835
  function Ut(t2) {
1831
- return jt.test(t2);
1836
+ return $t.test(t2);
1832
1837
  }
1833
1838
  function Jt(t2) {
1834
- return $t.test(t2);
1839
+ return jt.test(t2);
1835
1840
  }
1836
1841
  function qt(t2, e2, n2) {
1837
1842
  const r2 = (function(t3, e3, n3) {
@@ -2121,7 +2126,7 @@ function Oe(t2, e2) {
2121
2126
  function De(t2, e2) {
2122
2127
  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));
2123
2128
  }
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\\);_("$"* "-"??_);_(@_)' };
2129
+ 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\\);_("$"* "-"??_);_(@_)' };
2125
2130
  function He(t2, e2, n2) {
2126
2131
  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;
2127
2132
  if (h2 > e2 && (c2 > e2 ? (h2 = l2, a2 = s2) : (h2 = c2, a2 = i2)), !n2) return [0, r2 * a2, h2];
@@ -2145,10 +2150,10 @@ function Ve(t2, e2, n2) {
2145
2150
  }
2146
2151
  return a2.y = i2[0], a2.m = i2[1], a2.d = i2[2], a2.S = o2 % 60, o2 = Math.floor(o2 / 60), a2.M = o2 % 60, o2 = Math.floor(o2 / 60), a2.H = o2, a2.q = s2, a2;
2147
2152
  }
2148
- var je = new Date(1899, 11, 31, 0, 0, 0), $e = je.getTime(), Ge = new Date(1900, 2, 1, 0, 0, 0);
2153
+ var $e = new Date(1899, 11, 31, 0, 0, 0), je = $e.getTime(), Ge = new Date(1900, 2, 1, 0, 0, 0);
2149
2154
  function Ue(t2, e2 = false) {
2150
2155
  var n2 = t2.getTime();
2151
- return e2 ? n2 -= 1262304e5 : t2 >= Ge && (n2 += 864e5), (n2 - ($e + 6e4 * (t2.getTimezoneOffset() - je.getTimezoneOffset()))) / 864e5;
2156
+ return e2 ? n2 -= 1262304e5 : t2 >= Ge && (n2 += 864e5), (n2 - (je + 6e4 * (t2.getTimezoneOffset() - $e.getTimezoneOffset()))) / 864e5;
2152
2157
  }
2153
2158
  function Je(t2) {
2154
2159
  return -1 === t2.indexOf(".") ? t2 : t2.replace(/(?:\.0*|(\.\d*[1-9])0+)$/, "$1");
@@ -2203,11 +2208,11 @@ function Xe(t2, e2, n2, r2) {
2203
2208
  o2 = n2.m, c2 = e2.length;
2204
2209
  break;
2205
2210
  case 3:
2206
- return Le[n2.m - 1][1];
2211
+ return Be[n2.m - 1][1];
2207
2212
  case 5:
2208
- return Le[n2.m - 1][0];
2213
+ return Be[n2.m - 1][0];
2209
2214
  default:
2210
- return Le[n2.m - 1][2];
2215
+ return Be[n2.m - 1][2];
2211
2216
  }
2212
2217
  break;
2213
2218
  case 100:
@@ -2217,9 +2222,9 @@ function Xe(t2, e2, n2, r2) {
2217
2222
  o2 = n2.d, c2 = e2.length;
2218
2223
  break;
2219
2224
  case 3:
2220
- return Be[n2.q][0];
2225
+ return Le[n2.q][0];
2221
2226
  default:
2222
- return Be[n2.q][1];
2227
+ return Le[n2.q][1];
2223
2228
  }
2224
2229
  break;
2225
2230
  case 104:
@@ -2874,7 +2879,7 @@ const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table: Pe,
2874
2879
  const n2 = [...t2], r2 = e2 ? 1 : 255;
2875
2880
  for (var o2 = 0; o2 < t2.length; o2++) n2[o2] = Math.max(0, Math.min(r2, t2[o2]));
2876
2881
  return n2;
2877
- }, Dn = (t2) => Math.max(0, Math.min(1, t2)), Bn = (t2) => ((t2 %= 360) < 0 && (t2 -= 360), t2), Ln = (t2) => {
2882
+ }, Dn = (t2) => Math.max(0, Math.min(1, t2)), Ln = (t2) => ((t2 %= 360) < 0 && (t2 -= 360), t2), Bn = (t2) => {
2878
2883
  const e2 = [...t2];
2879
2884
  for (var n2 = 0; n2 < t2.length; n2++) e2[n2] = zn(t2[n2]);
2880
2885
  return e2;
@@ -2887,41 +2892,41 @@ const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table: Pe,
2887
2892
  e2 %= 360, e2 /= 360, n2 /= 100, r2 /= 100;
2888
2893
  let o2 = r2 < 0.5 ? r2 * (1 + n2) : r2 + n2 - n2 * r2, s2 = 2 * r2 - o2;
2889
2894
  return [Math.max(0, Vn(s2, o2, e2 + 1 / 3)), Math.max(0, Vn(s2, o2, e2)), Math.max(0, Vn(s2, o2, e2 - 1 / 3))];
2890
- }, Vn = (t2, e2, n2) => (n2 < 0 && (n2 += 1), n2 > 1 && (n2 -= 1), 6 * n2 < 1 ? t2 + 6 * (e2 - t2) * n2 : 2 * n2 < 1 ? e2 : 3 * n2 < 2 ? t2 + 6 * (e2 - t2) * (2 / 3 - n2) : t2), jn = (t2) => {
2895
+ }, Vn = (t2, e2, n2) => (n2 < 0 && (n2 += 1), n2 > 1 && (n2 -= 1), 6 * n2 < 1 ? t2 + 6 * (e2 - t2) * n2 : 2 * n2 < 1 ? e2 : 3 * n2 < 2 ? t2 + 6 * (e2 - t2) * (2 / 3 - n2) : t2), $n = (t2) => {
2891
2896
  let e2 = t2[0], n2 = t2[1], r2 = t2[2], o2 = Math.min(e2, Math.min(n2, r2)), s2 = Math.max(e2, Math.max(n2, r2)), i2 = 0;
2892
2897
  s2 === o2 ? i2 = 0 : s2 === e2 ? i2 = (60 * (n2 - r2) / (s2 - o2) + 360) % 360 : s2 === n2 ? i2 = 60 * (r2 - e2) / (s2 - o2) + 120 : s2 === r2 && (i2 = 60 * (e2 - n2) / (s2 - o2) + 240);
2893
2898
  const a2 = (s2 + o2) / 2;
2894
2899
  let l2 = 0;
2895
2900
  return l2 = s2 === o2 ? 0 : a2 <= 0.5 ? (s2 - o2) / (s2 + o2) : (s2 - o2) / (2 - s2 - o2), [i2, 100 * l2, 100 * a2];
2896
- }, $n = 0, Gn = 1, Un = 2, Jn = 0, qn = 1, Kn = 2, Xn = 0, Yn = 1, Qn = 2, Zn = (t2, e2) => {
2901
+ }, jn = 0, Gn = 1, Un = 2, Jn = 0, qn = 1, Kn = 2, Xn = 0, Yn = 1, Qn = 2, Zn = (t2, e2) => {
2897
2902
  let n2 = e2 / 100;
2898
2903
  return ((t3, e3) => {
2899
- let n3 = Ln(t3);
2904
+ let n3 = Bn(t3);
2900
2905
  n3[0] = e3(n3[0], n3), n3[1] = e3(n3[1], n3), n3[2] = e3(n3[2], n3);
2901
2906
  let r2 = Pn(n3);
2902
2907
  return r2 = On(r2), r2;
2903
2908
  })(t2, (t3, e3) => t3 * n2);
2904
2909
  }, tr = 2.55, er = (t2, e2) => {
2905
- const n2 = jn(t2), r2 = n2[2], s2 = o.roundAccurately((i2 = r2, (a2 = e2) > 0 ? (i2 * tr * (1 - a2) + (255 - 255 * (1 - a2))) / tr : a2 < 0 ? i2 * tr * (1 + a2) / tr : i2), 3);
2910
+ const n2 = $n(t2), r2 = n2[2], s2 = o.roundAccurately((i2 = r2, (a2 = e2) > 0 ? (i2 * tr * (1 - a2) + (255 - 255 * (1 - a2))) / tr : a2 < 0 ? i2 * tr * (1 + a2) / tr : i2), 3);
2906
2911
  var i2, a2;
2907
2912
  n2[2] = s2;
2908
2913
  let l2 = Hn(n2);
2909
2914
  return l2 = On(l2), l2;
2910
2915
  }, nr = (t2, e2) => {
2911
- let n2 = Ln(t2), r2 = e2 / 100;
2916
+ let n2 = Bn(t2), r2 = e2 / 100;
2912
2917
  for (var o2 = 0; o2 < 3; o2++) n2[o2] = n2[o2] * r2 + (1 - r2);
2913
2918
  let s2 = Pn(n2);
2914
2919
  return s2 = On(s2), s2;
2915
2920
  }, rr = (t2, e2, n2) => {
2916
- let r2 = jn(e2), o2 = n2 / 1;
2917
- t2 === $n && (o2 = Bn(n2)), r2[t2] = o2;
2921
+ let r2 = $n(e2), o2 = n2 / 1;
2922
+ t2 === jn && (o2 = Ln(n2)), r2[t2] = o2;
2918
2923
  let s2 = Hn(r2);
2919
2924
  return s2 = On(s2), s2;
2920
2925
  }, or = (t2, e2, n2) => {
2921
- let r2 = jn(e2);
2922
- if (t2 === $n) {
2926
+ let r2 = $n(e2);
2927
+ if (t2 === jn) {
2923
2928
  let t3 = n2 / 360;
2924
- r2[$n] = 360 * (r2[$n] / 360 + t3), r2[$n] %= 360, r2[$n] < 0 && (r2[$n] -= 360);
2929
+ r2[jn] = 360 * (r2[jn] / 360 + t3), r2[jn] %= 360, r2[jn] < 0 && (r2[jn] -= 360);
2925
2930
  } else {
2926
2931
  let e3 = n2 / 0.1;
2927
2932
  r2[t2] = 0.1 * (r2[t2] / 0.1 + e3);
@@ -2929,27 +2934,27 @@ const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table: Pe,
2929
2934
  let o2 = Hn(r2);
2930
2935
  return o2 = On(o2), o2;
2931
2936
  }, sr = (t2, e2, n2) => {
2932
- let r2 = jn(e2), o2 = n2 / 100;
2933
- r2[t2] = r2[t2] * o2, t2 === $n && (r2[$n] = Bn(r2[$n]));
2937
+ let r2 = $n(e2), o2 = n2 / 100;
2938
+ r2[t2] = r2[t2] * o2, t2 === jn && (r2[jn] = Ln(r2[jn]));
2934
2939
  let s2 = Hn(r2);
2935
2940
  return s2 = On(s2), s2;
2936
2941
  }, ir = (t2, e2, n2, r2) => {
2937
- let o2 = Ln(e2), s2 = n2 / 100;
2942
+ let o2 = Bn(e2), s2 = n2 / 100;
2938
2943
  r2 === Xn ? o2[t2] = s2 : r2 === Yn ? o2[t2] += s2 : r2 === Qn && (o2[t2] *= s2);
2939
2944
  let i2 = Pn(o2);
2940
2945
  return i2 = On(i2), i2;
2941
2946
  }, ar = (t2) => {
2942
- let e2 = Ln(t2), n2 = 0.213 * e2[Jn] + 0.715 * e2[qn] + 0.072 * e2[Kn];
2947
+ let e2 = Bn(t2), n2 = 0.213 * e2[Jn] + 0.715 * e2[qn] + 0.072 * e2[Kn];
2943
2948
  e2[0] = n2, e2[1] = n2, e2[2] = n2;
2944
2949
  let r2 = Pn(e2);
2945
2950
  return r2 = On(r2), r2;
2946
2951
  }, lr = (t2) => {
2947
- let e2 = jn(t2);
2948
- e2[$n] += 180, e2[$n] %= 360, e2[$n] < 0 && (e2[$n] -= 360);
2952
+ let e2 = $n(t2);
2953
+ e2[jn] += 180, e2[jn] %= 360, e2[jn] < 0 && (e2[jn] -= 360);
2949
2954
  let n2 = Hn(e2);
2950
2955
  return n2 = On(n2), n2;
2951
2956
  }, cr = (t2, e2 = true) => {
2952
- let n2 = e2 ? Ln(t2) : [...t2];
2957
+ let n2 = e2 ? Bn(t2) : [...t2];
2953
2958
  const r2 = e2 ? 1 : 255;
2954
2959
  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;
2955
2960
  }, hr = (t2) => {
@@ -3096,11 +3101,11 @@ const xr = () => vr || (vr = Intl.DateTimeFormat().resolvedOptions().locale ?? "
3096
3101
  void 0 !== n2 && (e2 = Cr(n2).toString());
3097
3102
  }
3098
3103
  return 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);
3101
- const Hr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Vr = /(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)/i, jr = /\[(.*?)\]/g, $r = (t2, e2) => {
3104
+ }, Or = "=", Dr = "<>", Lr = ">", Br = "<", Pr = ">=", zr = "<=", Wr = /* @__PURE__ */ new Map();
3105
+ 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);
3106
+ const Hr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Vr = /(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)/i, $r = /\[(.*?)\]/g, jr = (t2, e2) => {
3102
3107
  const n2 = { color: null, condition: null };
3103
- let r2 = null, o2 = new RegExp(jr);
3108
+ let r2 = null, o2 = new RegExp($r);
3104
3109
  for (; null !== (r2 = o2.exec(t2)); ) {
3105
3110
  let e3 = false, o3 = Hr.exec(r2[1]);
3106
3111
  if (o3) {
@@ -3122,8 +3127,8 @@ const Hr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Vr =
3122
3127
  const n3 = t3.split(";");
3123
3128
  for (let t4 = 0; t4 < n3.length; t4++) {
3124
3129
  let r3 = 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);
3126
- const o2 = n3[t4], s2 = $r(o2, r3);
3130
+ 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);
3131
+ const o2 = n3[t4], s2 = jr(o2, r3);
3127
3132
  e3.push({ format: o2, colorAndCondition: s2 });
3128
3133
  }
3129
3134
  return e3;
@@ -3332,19 +3337,19 @@ const Eo = (t2, e2, n2 = 1e3) => {
3332
3337
  return false;
3333
3338
  }
3334
3339
  return ("http:" === e2.protocol || "https:" === e2.protocol) && Ao.test(t2);
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) => {
3340
+ }, 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: 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) => {
3336
3341
  if (!t2 || "string" != typeof t2) return "";
3337
3342
  const n2 = t2.split(/[\\/]/).pop() || "";
3338
3343
  if ("" === n2) return "";
3339
3344
  const r2 = bo(n2), o2 = 0 === r2.length ? n2 : n2.slice(0, n2.length - r2.length - 1);
3340
3345
  return e2 ? Co(o2, true) : o2;
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) => {
3346
+ }, 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: To }, Symbol.toStringTag, { value: "Module" })), zo = (t2, e2, n2, r2 = null) => {
3342
3347
  const o2 = (e2 || 11 * qo.getDeviceScale()) / qo.getDeviceScale(), s2 = r2?.letterSpacing || 0, i2 = t2.length;
3343
3348
  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));
3344
3349
  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 };
3345
3350
  }, Wo = () => zo;
3346
3351
  let Ho = "./packages/sdk/src/__tests__/fonts/";
3347
- const Vo = /* @__PURE__ */ new Map(), jo = /* @__PURE__ */ new Set(), $o = (t2, e2, n2, r2 = null) => {
3352
+ const Vo = /* @__PURE__ */ new Map(), $o = /* @__PURE__ */ new Set(), jo = (t2, e2, n2, r2 = null) => {
3348
3353
  const o2 = e2, s2 = Ho + n2.toLowerCase() + ".ttf";
3349
3354
  let i2 = null;
3350
3355
  try {
@@ -3355,7 +3360,7 @@ const Vo = /* @__PURE__ */ new Map(), jo = /* @__PURE__ */ new Set(), $o = (t2,
3355
3360
  i2 = R(Ho + "calibri.ttf");
3356
3361
  } catch (t3) {
3357
3362
  }
3358
- if (!i2) return jo.has(s2) || jo.add(s2), Wo().call(null, t2, e2, n2, r2);
3363
+ if (!i2) return $o.has(s2) || $o.add(s2), Wo().call(null, t2, e2, n2, r2);
3359
3364
  const a2 = `${s2}${t2}${o2}`;
3360
3365
  let l2 = Vo.get(a2);
3361
3366
  l2 || (l2 = i2.layout(t2), t2.length < 2 && Vo.set(a2, l2));
@@ -3380,7 +3385,7 @@ var qo, Ko;
3380
3385
  }, Ko.getSharedMeasurer = () => Jo || (Jo = (() => {
3381
3386
  if (Go) return Go;
3382
3387
  try {
3383
- Go = $o;
3388
+ Go = jo;
3384
3389
  } catch {
3385
3390
  }
3386
3391
  return Go || (console.warn("⚠️ FontKitFontMeasurer not available, falling back to SimpleFontMeasurer"), Go = Wo()), Go;
@@ -3951,7 +3956,7 @@ const Is = (t2, e2 = false) => {
3951
3956
  if (t3 && t3.break) return t3;
3952
3957
  }
3953
3958
  }, Ts = new RegExp("([0-9]+)$");
3954
- var ks, Fs, Os, Ds, Bs, Ls;
3959
+ var ks, Fs, Os, Ds, Ls, Bs;
3955
3960
  ((t2) => {
3956
3961
  t2.Date = class {
3957
3962
  constructor(t3) {
@@ -4222,8 +4227,8 @@ var ks, Fs, Os, Ds, Bs, Ls;
4222
4227
  for (let t4 = s3; t4 < n3; t4++) o3.push(i3(t4));
4223
4228
  return o3;
4224
4229
  };
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]];
4230
+ })(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" };
4231
+ 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]];
4227
4232
  const zs = new class {
4228
4233
  constructor() {
4229
4234
  this._lookupByName = /* @__PURE__ */ new Map();
@@ -4235,44 +4240,44 @@ const zs = new class {
4235
4240
  valueOfName(t2) {
4236
4241
  return this._lookupByName.get(t2 ? t2.toLowerCase() : "transparent");
4237
4242
  }
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();
4243
+ }(), 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();
4239
4244
  for (let t2 = 0; t2 < Ws.length; t2++) Hs.set(Ws[t2].scheme.toLowerCase(), Ws[t2]);
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) {
4245
+ const Vs = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], alpha: void 0 !== t2.alpha ? t2.alpha : 1 } : null, $s = function(t2, e2, n2, r2) {
4241
4246
  let o2 = Vs(((t3) => {
4242
4247
  let e3 = zs.valueOfName(t3);
4243
4248
  return e3 ? new pr.RGBA(e3.rgbaColor.r, e3.rgbaColor.g, e3.rgbaColor.b, e3.rgbaColor.a) : null;
4244
4249
  })(t2)), s2 = null, i2 = null, a2 = null;
4245
4250
  if (null === o2 && (l2 = t2, Hs.get(l2.toLowerCase()))) {
4246
4251
  if (!e2) throw new Error("a scheme val was used but a schemeLookup was not provided");
4247
- s2 = t2, i2 = e2(s2), o2 = Vs(i2), a2 = Bs.Type.Scheme;
4252
+ s2 = t2, i2 = e2(s2), o2 = Vs(i2), a2 = Ls.Type.Scheme;
4248
4253
  }
4249
4254
  var l2;
4250
4255
  if (null === o2) {
4251
4256
  let e3 = t2.match(An) || t2.match(Mn);
4252
4257
  if (e3) {
4253
4258
  let t3, n3 = 1;
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;
4259
+ 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;
4255
4260
  }
4256
4261
  }
4257
4262
  if (null === o2) {
4258
4263
  let e3 = t2.match(Cn) || t2.match(bn);
4259
4264
  if (e3) {
4260
4265
  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;
4266
+ t3 = kn(t3), t3 = On(t3), o2 = { srgb: t3, alpha: e3[4] ? Dn(parseFloat(e3[4])) : 1 }, a2 = Ls.Type.RGB;
4262
4267
  }
4263
4268
  }
4264
4269
  if (null === o2) {
4265
4270
  let e3 = t2.match(vn) || t2.match(xn);
4266
4271
  if (e3) {
4267
4272
  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;
4273
+ 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;
4269
4274
  }
4270
4275
  }
4271
4276
  if (null === o2) {
4272
4277
  let e3 = t2.match(In) || t2.match(Rn);
4273
4278
  if (e3) {
4274
4279
  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;
4280
+ t3 = Hn(t3), t3 = On(t3), o2 = { srgb: t3, alpha: e3[4] ? Dn(parseFloat(e3[4])) : 1 }, a2 = Ls.Type.HSL;
4276
4281
  }
4277
4282
  }
4278
4283
  if (null === o2) {
@@ -4280,16 +4285,16 @@ const Vs = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], a
4280
4285
  if (e3) {
4281
4286
  const t3 = parseInt(e3[1]);
4282
4287
  let r3 = n2?.(t3) ?? Cr(t3);
4283
- r3 && (o2 = { srgb: [r3.red / 255, r3.green / 255, r3.blue / 255], alpha: r3.alpha }, a2 = Bs.Type.Index);
4288
+ r3 && (o2 = { srgb: [r3.red / 255, r3.green / 255, r3.blue / 255], alpha: r3.alpha }, a2 = Ls.Type.Index);
4284
4289
  }
4285
4290
  }
4286
4291
  if (null === o2) throw new Error("Not a valid color format: " + t2);
4287
4292
  return { srgbAlpha: o2, key: s2, color: i2, type: a2 };
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]]);
4293
+ }, js = /* @__PURE__ */ new Map(), Gs = Object.keys(Ls.AdjustmentType);
4294
+ for (let t2 = 0; t2 < Gs.length; t2++) js.set(Ls.AdjustmentType[Gs[t2]].toLowerCase(), Ls.AdjustmentType[Gs[t2]]);
4290
4295
  const Us = new RegExp("\\s+\\s*(?![^()]*\\))|,\\s*(?![^()]*\\))"), Js = new RegExp("\\s*[,]\\s*|\\s+");
4291
4296
  let qs = null;
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" };
4297
+ 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" };
4293
4298
  class Xs {
4294
4299
  constructor(t2, e2, n2, r2 = null) {
4295
4300
  let o2 = null, s2 = null;
@@ -4299,7 +4304,7 @@ class Xs {
4299
4304
  o2 = e3.val, s2 = e3.adjs;
4300
4305
  } else t2?.val && (o2 = t2.val, s2 = t2.adjs);
4301
4306
  if (!o2) throw new Error("Unable to determine color value");
4302
- this._private = { val: o2, adjs: s2, schemeLookup: e2, indexedLookup: n2, parsedVal: js(o2, e2, n2), adjusted: null, resolved: null };
4307
+ this._private = { val: o2, adjs: s2, schemeLookup: e2, indexedLookup: n2, parsedVal: $s(o2, e2, n2), adjusted: null, resolved: null };
4303
4308
  }
4304
4309
  _parse(t2) {
4305
4310
  let e2 = null, n2 = t2.toLowerCase().trim();
@@ -4309,10 +4314,10 @@ class Xs {
4309
4314
  for (let t3 = 0; t3 < s2.length; t3++) {
4310
4315
  const e3 = s2[t3];
4311
4316
  if (!e3) continue;
4312
- const n3 = $s.get(e3.toLowerCase());
4317
+ const n3 = js.get(e3.toLowerCase());
4313
4318
  if (!n3) throw new Error("Invalid adjustment type:" + e3);
4314
4319
  let r3 = null;
4315
- if (n3 === Bs.AdjustmentType.Gray || n3 === Bs.AdjustmentType.Comp || n3 === Bs.AdjustmentType.Inv || n3 === Bs.AdjustmentType.Gamma || n3 === Bs.AdjustmentType.InvGamma) ;
4320
+ if (n3 === Ls.AdjustmentType.Gray || n3 === Ls.AdjustmentType.Comp || n3 === Ls.AdjustmentType.Inv || n3 === Ls.AdjustmentType.Gamma || n3 === Ls.AdjustmentType.InvGamma) ;
4316
4321
  else {
4317
4322
  t3++;
4318
4323
  const n4 = s2[t3];
@@ -4334,10 +4339,10 @@ class Xs {
4334
4339
  const s3 = (t4) => Math.round(Math.max(0, Math.min(255, t4))), i2 = t3[0], a2 = t3[1], l2 = t3[2];
4335
4340
  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)];
4336
4341
  })(n2, 180), n2 = cr(n2, false);
4337
- let r2 = Ln(n2);
4338
- const o2 = jn(r2);
4342
+ let r2 = Bn(n2);
4343
+ const o2 = $n(r2);
4339
4344
  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);
4340
- const s2 = jn(Ln(n2));
4345
+ const s2 = $n(Bn(n2));
4341
4346
  return new pr.HSLA(s2[0], s2[1], s2[2], e2.alpha);
4342
4347
  }
4343
4348
  _resolve() {
@@ -4346,12 +4351,12 @@ class Xs {
4346
4351
  let t3 = this._private.schemeLookup(this._private.parsedVal.key);
4347
4352
  if (t3 === this._private.parsedVal.color || t3?.isEqual(this._private.parsedVal.color)) return;
4348
4353
  }
4349
- const t2 = js(this._private.val, this._private.schemeLookup, this._private.indexedLookup, this._private.last);
4354
+ const t2 = $s(this._private.val, this._private.schemeLookup, this._private.indexedLookup, this._private.last);
4350
4355
  let e2 = ((t3, e3) => {
4351
4356
  let n3 = [...t3.srgb], r3 = void 0 !== t3.alpha ? t3.alpha : 1;
4352
4357
  for (var o2 = 0; e3 && o2 < e3.length; o2++) {
4353
4358
  const t4 = e3[o2], s2 = Object.keys(t4)[0], i2 = t4[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);
4359
+ 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(jn, 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(jn, 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(jn, 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);
4355
4360
  }
4356
4361
  return { srgb: n3, alpha: r3 };
4357
4362
  })(t2.srgbAlpha, this._private.adjs), n2 = ((t3, e3 = 255) => {
@@ -4377,10 +4382,10 @@ class Xs {
4377
4382
  for (let e3 = 0; e3 < o3.length; e3++) {
4378
4383
  const n3 = o3[e3];
4379
4384
  if (!n3) continue;
4380
- const r3 = $s.get(n3.toLowerCase());
4385
+ const r3 = js.get(n3.toLowerCase());
4381
4386
  if (!r3) throw new Error("Invalid adjustment type:" + n3);
4382
4387
  let s3 = null;
4383
- if (r3 === Bs.AdjustmentType.Gray || r3 === Bs.AdjustmentType.Comp || r3 === Bs.AdjustmentType.Inv || r3 === Bs.AdjustmentType.Gamma || r3 === Bs.AdjustmentType.InvGamma) ;
4388
+ if (r3 === Ls.AdjustmentType.Gray || r3 === Ls.AdjustmentType.Comp || r3 === Ls.AdjustmentType.Inv || r3 === Ls.AdjustmentType.Gamma || r3 === Ls.AdjustmentType.InvGamma) ;
4384
4389
  else {
4385
4390
  e3++;
4386
4391
  const t4 = o3[e3];
@@ -4430,7 +4435,7 @@ class Xs {
4430
4435
  }
4431
4436
  toHSLA(t2 = false) {
4432
4437
  if (this._resolve(), t2) return this._forceDark(false);
4433
- let e2 = jn(this._private.adjusted.srgb);
4438
+ let e2 = $n(this._private.adjusted.srgb);
4434
4439
  return new pr.HSLA(e2[0], e2[1], e2[2], Dn(this._private.adjusted.alpha ?? 1));
4435
4440
  }
4436
4441
  toHex(t2 = false) {
@@ -4537,7 +4542,7 @@ const wi = (t2, e2, n2, r2, o2) => {
4537
4542
  const s2 = JSON.parse(JSON.stringify(t2.definition));
4538
4543
  s2.adjs || (s2.adjs = []);
4539
4544
  let i2 = "", a2 = 0, l2 = 0;
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 });
4545
+ 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 });
4541
4546
  const c2 = new Xs({ val: s2.val, adjs: s2.adjs }, n2), h2 = c2.toString();
4542
4547
  r2?.set(h2, c2);
4543
4548
  const d2 = c2.toRGBA().toString();
@@ -4557,7 +4562,7 @@ const wi = (t2, e2, n2, r2, o2) => {
4557
4562
  };
4558
4563
  var Ei, Ci;
4559
4564
  (Ei || (Ei = {})).buildPalette = yi, (Ci || (Ci = {})).BuiltInFilterType = { BuiltIn: "builtIn", All: "all", Custom: "custom" };
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) => {
4565
+ 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"], Ni = ["dk1", "lt1", "dk2", "lt2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hlink", "folHlink"], Ti = (t2) => {
4561
4566
  const e2 = {};
4562
4567
  for (let n2 = 0; n2 < t2.length; n2++) {
4563
4568
  const r2 = t2[n2], o2 = r2[0], s2 = { name: o2 };
@@ -4577,8 +4582,8 @@ const bi = [["Office", "windowText", "window", "0E2841", "E8E8E8", "156082", "E9
4577
4582
  e2[o2] = s2, s2.majorFont = r2[1] ?? Mi[1], s2.minorFont = r2[2] ?? Mi[2];
4578
4583
  }
4579
4584
  return e2;
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;
4585
+ }, Fi = Ti([[Ai, "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"]]), Oi = ki([Mi]), Di = Fi[Ai], Li = Oi[Ai];
4586
+ let Bi = null;
4582
4587
  const Pi = new class {
4583
4588
  constructor() {
4584
4589
  this._colors = {};
@@ -4698,19 +4703,19 @@ const Wi = new class {
4698
4703
  }
4699
4704
  }
4700
4705
  getName() {
4701
- return Bi.name;
4706
+ return Li.name;
4702
4707
  }
4703
4708
  getMajorFont() {
4704
- return Bi.majorFont;
4709
+ return Li.majorFont;
4705
4710
  }
4706
4711
  getMinorFont() {
4707
- return Bi.minorFont;
4712
+ return Li.minorFont;
4708
4713
  }
4709
4714
  getMajorFallbacks() {
4710
- return Bi.majorFallbacks;
4715
+ return Li.majorFallbacks;
4711
4716
  }
4712
4717
  getMinorFallbacks() {
4713
- return Bi.minorFallbacks;
4718
+ return Li.minorFallbacks;
4714
4719
  }
4715
4720
  }();
4716
4721
  class Hi {
@@ -4751,10 +4756,10 @@ class Hi {
4751
4756
  class Vi {
4752
4757
  constructor(t2, e2 = null, n2 = null) {
4753
4758
  if (this._cacheColors = /* @__PURE__ */ new Map(), !e2 && t2?.name) {
4754
- const n3 = Li ? Li.get(t2.name.toLowerCase()) : null;
4759
+ const n3 = Bi ? Bi.get(t2.name.toLowerCase()) : null;
4755
4760
  n3 && (e2 = n3);
4756
4761
  }
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.");
4762
+ if (!e2 && Bi && (e2 = Bi.get(Ai.toLowerCase())), this._name = t2?.name ?? e2?.getName(), !this._name) throw new Error("Theme must have a name.");
4758
4763
  this._builtInID = n2, this._delegate = e2, this._colors = new zi(t2?.colors, this._delegate?.getColorScheme()), this._fonts = new Hi(t2?.fonts, this._delegate?.getFontScheme());
4759
4764
  const r2 = Ri, o2 = {}, s2 = Object.keys(r2);
4760
4765
  for (let t3 = 0; t3 < s2.length; t3++) {
@@ -4802,12 +4807,12 @@ class Vi {
4802
4807
  return n2 && (Object.keys(n2).length > 1 || n2.name && n2.name !== t2.name) && (t2.fonts = n2), 1 === Object.keys(t2).length && t2.name === Ai ? null : t2;
4803
4808
  }
4804
4809
  }
4805
- const ji = () => {
4806
- if (Li) return Li;
4810
+ const $i = () => {
4811
+ if (Bi) return Bi;
4807
4812
  const t2 = ((t3, e3, n2) => {
4808
4813
  const r2 = [];
4809
4814
  for (let o2 = 0; o2 < t3.length; o2++) {
4810
- const s2 = t3[o2], i2 = s2[0], a2 = e3[s2[1]] ?? Di, l2 = n2[s2[2]] ?? Bi;
4815
+ const s2 = t3[o2], i2 = s2[0], a2 = e3[s2[1]] ?? Di, l2 = n2[s2[2]] ?? Li;
4811
4816
  r2.push({ name: i2, colors: a2, fonts: l2 });
4812
4817
  }
4813
4818
  return r2;
@@ -4816,11 +4821,11 @@ const ji = () => {
4816
4821
  const r2 = new Vi(t2[n2]), o2 = new Vi(null, r2, n2 + 1);
4817
4822
  e2.set(o2.getName().toLowerCase(), o2);
4818
4823
  }
4819
- return Li = e2, e2;
4824
+ return Bi = e2, e2;
4820
4825
  };
4821
- class $i {
4826
+ class ji {
4822
4827
  constructor(t2 = null, e2 = false) {
4823
- ji(), this._isReadOnly = e2, this._customMap = /* @__PURE__ */ new Map(), this._defaultTheme = this.getByName("Office");
4828
+ $i(), this._isReadOnly = e2, this._customMap = /* @__PURE__ */ new Map(), this._defaultTheme = this.getByName("Office");
4824
4829
  }
4825
4830
  getDefaultTheme() {
4826
4831
  return this._defaultTheme;
@@ -4834,18 +4839,18 @@ class $i {
4834
4839
  getByName(t2) {
4835
4840
  t2 = t2.toLowerCase();
4836
4841
  const e2 = this._customMap.get(t2);
4837
- return e2 || (Li.get(t2) ?? null);
4842
+ return e2 || (Bi.get(t2) ?? null);
4838
4843
  }
4839
4844
  getItems(t2) {
4840
4845
  const e2 = t2?.type ?? Ci.BuiltInFilterType.All, n2 = /* @__PURE__ */ new Map();
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);
4846
+ 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);
4842
4847
  return ((t3) => {
4843
4848
  const e3 = [...t3];
4844
4849
  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;
4845
4850
  })(Array.from(n2.values()));
4846
4851
  }
4847
4852
  getCount() {
4848
- return this._customMap.size + Li.size;
4853
+ return this._customMap.size + Bi.size;
4849
4854
  }
4850
4855
  setCustomTheme(t2) {
4851
4856
  if (this._isReadOnly) throw new Error(Ii);
@@ -5895,7 +5900,7 @@ class Na {
5895
5900
  return t2 && this._insert(t2, this.data.height - 1), this;
5896
5901
  }
5897
5902
  clear() {
5898
- return this.data = ja([]), this;
5903
+ return this.data = $a([]), this;
5899
5904
  }
5900
5905
  remove(t2, e2) {
5901
5906
  if (!t2) return this;
@@ -5934,13 +5939,13 @@ class Na {
5934
5939
  _build(t2, e2, n2, r2) {
5935
5940
  const o2 = n2 - e2 + 1;
5936
5941
  let s2, i2 = this._maxEntries;
5937
- if (o2 <= i2) return s2 = ja(t2.slice(e2, n2 + 1)), ka(s2, this.toBBox), s2;
5938
- r2 || (r2 = Math.ceil(Math.log(o2) / Math.log(i2)), i2 = Math.ceil(o2 / Math.pow(i2, r2 - 1))), s2 = ja([]), s2.leaf = false, s2.height = r2;
5942
+ if (o2 <= i2) return s2 = $a(t2.slice(e2, n2 + 1)), ka(s2, this.toBBox), s2;
5943
+ r2 || (r2 = Math.ceil(Math.log(o2) / Math.log(i2)), i2 = Math.ceil(o2 / Math.pow(i2, r2 - 1))), s2 = $a([]), s2.leaf = false, s2.height = r2;
5939
5944
  const a2 = Math.ceil(o2 / i2), l2 = a2 * Math.ceil(Math.sqrt(i2));
5940
- $a(t2, e2, n2, l2, this.compareMinX);
5945
+ ja(t2, e2, n2, l2, this.compareMinX);
5941
5946
  for (let o3 = e2; o3 <= n2; o3 += l2) {
5942
5947
  const e3 = Math.min(o3 + l2 - 1, n2);
5943
- $a(t2, o3, e3, a2, this.compareMinY);
5948
+ ja(t2, o3, e3, a2, this.compareMinY);
5944
5949
  for (let n3 = o3; n3 <= e3; n3 += a2) {
5945
5950
  const o4 = Math.min(n3 + a2 - 1, e3);
5946
5951
  s2.children.push(this._build(t2, n3, o4, r2 - 1));
@@ -5952,7 +5957,7 @@ class Na {
5952
5957
  for (; r2.push(e2), !e2.leaf && r2.length - 1 !== n2; ) {
5953
5958
  let n3, r3 = 1 / 0, o2 = 1 / 0;
5954
5959
  for (let s2 = 0; s2 < e2.children.length; s2++) {
5955
- const i2 = e2.children[s2], a2 = La(i2), l2 = za(t2, i2) - a2;
5960
+ const i2 = e2.children[s2], a2 = Ba(i2), l2 = za(t2, i2) - a2;
5956
5961
  l2 < o2 ? (o2 = l2, r3 = a2 < r3 ? a2 : r3, n3 = i2) : l2 === o2 && a2 < r3 && (r3 = a2, n3 = i2);
5957
5962
  }
5958
5963
  e2 = n3 || e2.children[0];
@@ -5967,22 +5972,22 @@ class Na {
5967
5972
  _split(t2, e2) {
5968
5973
  const n2 = t2[e2], r2 = n2.children.length, o2 = this._minEntries;
5969
5974
  this._chooseSplitAxis(n2, o2, r2);
5970
- const s2 = this._chooseSplitIndex(n2, o2, r2), i2 = ja(n2.children.splice(s2, n2.children.length - s2));
5975
+ const s2 = this._chooseSplitIndex(n2, o2, r2), i2 = $a(n2.children.splice(s2, n2.children.length - s2));
5971
5976
  i2.height = n2.height, i2.leaf = n2.leaf, ka(n2, this.toBBox), ka(i2, this.toBBox), e2 ? t2[e2 - 1].children.push(i2) : this._splitRoot(n2, i2);
5972
5977
  }
5973
5978
  _splitRoot(t2, e2) {
5974
- this.data = ja([t2, e2]), this.data.height = t2.height + 1, this.data.leaf = false, ka(this.data, this.toBBox);
5979
+ this.data = $a([t2, e2]), this.data.height = t2.height + 1, this.data.leaf = false, ka(this.data, this.toBBox);
5975
5980
  }
5976
5981
  _chooseSplitIndex(t2, e2, n2) {
5977
5982
  let r2 = -1, o2 = 1 / 0, s2 = 1 / 0;
5978
5983
  for (let i2 = e2; i2 <= n2 - e2; i2++) {
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);
5984
+ const e3 = Fa(t2, 0, i2, this.toBBox), a2 = Fa(t2, i2, n2, this.toBBox), l2 = Wa(e3, a2), c2 = Ba(e3) + Ba(a2);
5980
5985
  l2 < o2 ? (o2 = l2, r2 = i2, s2 = c2 < s2 ? c2 : s2) : l2 === o2 && c2 < s2 && (s2 = c2, r2 = i2);
5981
5986
  }
5982
5987
  return r2 || n2 - e2;
5983
5988
  }
5984
5989
  _chooseSplitAxis(t2, e2, n2) {
5985
- const r2 = t2.leaf ? this.compareMinX : Da, o2 = t2.leaf ? this.compareMinY : Ba;
5990
+ const r2 = t2.leaf ? this.compareMinX : Da, o2 = t2.leaf ? this.compareMinY : La;
5986
5991
  this._allDistMargin(t2, e2, n2, r2) < this._allDistMargin(t2, e2, n2, o2) && t2.children.sort(r2);
5987
5992
  }
5988
5993
  _allDistMargin(t2, e2, n2, r2) {
@@ -6015,7 +6020,7 @@ function ka(t2, e2) {
6015
6020
  Fa(t2, 0, t2.children.length, e2, t2);
6016
6021
  }
6017
6022
  function Fa(t2, e2, n2, r2, o2 = null) {
6018
- o2 || (o2 = ja(null)), o2.minX = 1 / 0, o2.minY = 1 / 0, o2.maxX = -1 / 0, o2.maxY = -1 / 0;
6023
+ o2 || (o2 = $a(null)), o2.minX = 1 / 0, o2.minY = 1 / 0, o2.maxX = -1 / 0, o2.maxY = -1 / 0;
6019
6024
  for (let s2 = e2; s2 < n2; s2++) {
6020
6025
  const e3 = t2.children[s2];
6021
6026
  Oa(o2, t2.leaf ? r2(e3) : e3);
@@ -6028,10 +6033,10 @@ function Oa(t2, e2) {
6028
6033
  function Da(t2, e2) {
6029
6034
  return t2.minX - e2.minX;
6030
6035
  }
6031
- function Ba(t2, e2) {
6036
+ function La(t2, e2) {
6032
6037
  return t2.minY - e2.minY;
6033
6038
  }
6034
- function La(t2) {
6039
+ function Ba(t2) {
6035
6040
  return (t2.maxX - t2.minX) * (t2.maxY - t2.minY);
6036
6041
  }
6037
6042
  function Pa(t2) {
@@ -6050,10 +6055,10 @@ function Ha(t2, e2) {
6050
6055
  function Va(t2, e2) {
6051
6056
  return e2.minX <= t2.maxX && e2.minY <= t2.maxY && e2.maxX >= t2.minX && e2.maxY >= t2.minY;
6052
6057
  }
6053
- function ja(t2) {
6058
+ function $a(t2) {
6054
6059
  return { children: t2, height: 1, leaf: true, minX: 1 / 0, minY: 1 / 0, maxX: -1 / 0, maxY: -1 / 0 };
6055
6060
  }
6056
- function $a(t2, e2, n2, r2, o2) {
6061
+ function ja(t2, e2, n2, r2, o2) {
6057
6062
  const s2 = [e2, n2];
6058
6063
  for (; s2.length; ) {
6059
6064
  if ((n2 = s2.pop()) - (e2 = s2.pop()) <= r2) continue;
@@ -6177,17 +6182,17 @@ class qa {
6177
6182
  }
6178
6183
  }
6179
6184
  }, w2);
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;
6185
+ let L2 = null;
6186
+ 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);
6187
+ let B2 = o.EmptyArray;
6183
6188
  if (b2 && S2 && _2) {
6184
6189
  let t3 = true;
6185
6190
  if (m2 > 0 && (t3 = a2 ? e2.rowStart > S2.rowStart || e2.rowEnd < S2.rowEnd : e2.colStart > S2.colStart || e2.colEnd < S2.colEnd), t3) {
6186
6191
  const t4 = Ka(_2, c.unionRanges(S2, _2), a2 ? 0 : 1, a2 ? 1 : 0);
6187
- T2 && (L2 = B2._mergeNodes(t4, false));
6192
+ T2 && (B2 = L2._mergeNodes(t4, false));
6188
6193
  }
6189
6194
  }
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;
6195
+ return k2 && D2.length > 0 && k2(D2), M2 && F2.length > 0 && M2(F2), T2 && B2.length > 0 && T2(B2), N2 && O2.length > 0 && N2(O2), L2;
6191
6196
  }
6192
6197
  insertNonOverlapping(t2, e2) {
6193
6198
  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;
@@ -7186,9 +7191,9 @@ class bl {
7186
7191
  let N2 = Number.MAX_SAFE_INTEGER;
7187
7192
  r2 && (N2 = s2 ? r2.colEnd : r2.rowEnd);
7188
7193
  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;
7194
+ let L2 = O2.next();
7195
+ for (; !L2.done; ) {
7196
+ const t3 = L2.value, e3 = t3[0], n3 = t3[1].clone(), r3 = n3.getCoords(), o3 = r3.min, s3 = r3.max;
7192
7197
  if (E2 && k2.set(e3, n3), g2 <= s3) {
7193
7198
  const t4 = n3.getCount();
7194
7199
  E2 ? (e3 >= a2 - C2 && ea(n3.runs(D2), (t5, n4) => {
@@ -7204,14 +7209,14 @@ class bl {
7204
7209
  }
7205
7210
  b2 += r4 - t4, x2.push([e3, n3]);
7206
7211
  }
7207
- B2 = O2.next();
7212
+ L2 = O2.next();
7208
7213
  }
7209
- const L2 = this._optionsMinor;
7214
+ const B2 = this._optionsMinor;
7210
7215
  let P2 = false;
7211
7216
  for (let t3 = 0; t3 < F2.length; t3++) {
7212
7217
  const e3 = F2[t3], n3 = e3.majorIndex, r3 = e3.run;
7213
7218
  let o3 = k2.get(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);
7219
+ 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), T2 && T2.delete(n3);
7215
7220
  }
7216
7221
  if (this._updateMajorSpan(x2, P2), T2 && T2.size > 0) {
7217
7222
  const t3 = Array.from(T2.values()), e3 = Is(t3);
@@ -7333,15 +7338,15 @@ class Tl {
7333
7338
  case Pl:
7334
7339
  case zl:
7335
7340
  return this._cv(n2, o2 ? Number(r2) : r2);
7336
- case Bl:
7337
- return this._vi64[o2 ? t2 : r2];
7338
7341
  case Ll:
7342
+ return this._vi64[o2 ? t2 : r2];
7343
+ case Bl:
7339
7344
  return this._vf64[o2 ? t2 : r2];
7340
7345
  case Vl:
7341
7346
  return Number.NaN;
7342
- case jl:
7343
- return Number.MAX_SAFE_INTEGER;
7344
7347
  case $l:
7348
+ return Number.MAX_SAFE_INTEGER;
7349
+ case jl:
7345
7350
  return Number.MIN_SAFE_INTEGER;
7346
7351
  case Wl:
7347
7352
  return 1 / 0;
@@ -7385,7 +7390,7 @@ class Tl {
7385
7390
  let i2 = this._createArrayBuffer(s2 * Int8Array.BYTES_PER_ELEMENT), a2 = new Uint8Array(i2), l2 = 0, c2 = false, h2 = Kl(t2[0], r2);
7386
7391
  for (let e3 = 0; e3 < s2; e3++) {
7387
7392
  const n3 = t2[e3], o3 = Kl(n3, r2);
7388
- o3 !== Ll && o3 !== Bl || l2++, h2 !== o3 && (a2[e3] = o3, c2 = true);
7393
+ o3 !== Bl && o3 !== Ll || l2++, h2 !== o3 && (a2[e3] = o3, c2 = true);
7389
7394
  }
7390
7395
  c2 || (a2 = null, i2 = null);
7391
7396
  let d2, u2, g2, m2, f2, p2, _2, S2, w2 = false;
@@ -7403,10 +7408,10 @@ class Tl {
7403
7408
  case Ol:
7404
7409
  u2[n3] = r3;
7405
7410
  break;
7406
- case Bl:
7411
+ case Ll:
7407
7412
  d2[n3] = r3;
7408
7413
  break;
7409
- case Ll:
7414
+ case Bl:
7410
7415
  u2[n3] = r3;
7411
7416
  break;
7412
7417
  case Pl:
@@ -7431,10 +7436,10 @@ class Tl {
7431
7436
  case Ol:
7432
7437
  u2[r3] = o3;
7433
7438
  break;
7434
- case Bl:
7439
+ case Ll:
7435
7440
  _2[r3] = n3, m2[n3] = o3, n3++;
7436
7441
  break;
7437
- case Ll:
7442
+ case Bl:
7438
7443
  _2[r3] = n3, f2[n3] = o3, n3++;
7439
7444
  break;
7440
7445
  case Pl:
@@ -7449,7 +7454,7 @@ class Tl {
7449
7454
  return new Tl({ length: s2, types: c2 ? i2 : null, type: h2, values32: p2, values64: g2, getCoercedValue: n2 });
7450
7455
  }
7451
7456
  }
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) => {
7457
+ const kl = 0.1, Fl = 1, Ol = 2, Dl = 3, Ll = 4, Bl = 5, Pl = 6, zl = 7, Wl = 8, Hl = 9, Vl = 10, $l = 11, jl = 12, Gl = 13, Ul = 14, Jl = 127, ql = { Undefined: Ul }, Kl = (t2, e2) => {
7453
7458
  switch (typeof t2) {
7454
7459
  case "number":
7455
7460
  const n2 = t2;
@@ -7457,10 +7462,10 @@ const kl = 0.1, Fl = 1, Ol = 2, Dl = 3, Bl = 4, Ll = 5, Pl = 6, zl = 7, Wl = 8,
7457
7462
  if (n2 === 1 / 0) return Wl;
7458
7463
  if (n2 === -1 / 0) return Hl;
7459
7464
  if (Object.is(n2, -0)) return Ol;
7460
- if (n2 === Number.MAX_SAFE_INTEGER) return jl;
7461
- if (n2 === Number.MIN_SAFE_INTEGER) return $l;
7465
+ if (n2 === Number.MAX_SAFE_INTEGER) return $l;
7466
+ if (n2 === Number.MIN_SAFE_INTEGER) return jl;
7462
7467
  if (Number.isInteger(n2) && n2 <= 2147483647 && n2 >= -2147483648) return Fl;
7463
- return Math.fround(n2) === n2 ? Ol : Ll;
7468
+ return Math.fround(n2) === n2 ? Ol : Bl;
7464
7469
  case "string":
7465
7470
  return Pl;
7466
7471
  case "boolean":
@@ -7473,7 +7478,7 @@ const kl = 0.1, Fl = 1, Ol = 2, Dl = 3, Bl = 4, Ll = 5, Pl = 6, zl = 7, Wl = 8,
7473
7478
  if (r2 < 128 || r2 > 255) throw new Error("Custom type must be between 128 and 255");
7474
7479
  return r2;
7475
7480
  case "bigint":
7476
- return Bl;
7481
+ return Ll;
7477
7482
  case "undefined":
7478
7483
  return Ul;
7479
7484
  case "symbol":
@@ -7759,15 +7764,15 @@ class rc {
7759
7764
  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 } });
7760
7765
  } else A2 = g2._entries({ ...s2, type: l2 ?? null, orientation: x2, bounds: M2, reuseResult: false });
7761
7766
  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;
7767
+ let L2, B2 = D2.next();
7768
+ for (; !B2.done; ) {
7769
+ const t2 = B2.value;
7765
7770
  let e2 = t2[1], r3 = t2[3];
7766
7771
  const s3 = t2[0], i3 = t2[2], a3 = s3 ? s3.colIndex : i3.colIndex + k2, l3 = s3 ? s3.rowIndex : i3.rowIndex + F2;
7767
7772
  let c2, u3;
7768
7773
  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);
7769
7774
  const g3 = I2 ? a3 : l3, m3 = I2 ? l3 : a3;
7770
- O2.addValue(g3, m3, u3), L2 = D2.next();
7775
+ O2.addValue(g3, m3, u3), B2 = D2.next();
7771
7776
  }
7772
7777
  if (C2 && y2 > S2 || E2 > w2) {
7773
7778
  const t2 = this._values.clone();
@@ -7779,9 +7784,9 @@ class rc {
7779
7784
  const e2 = cl(N2, T2 + w2, N2 + y2 - 1, T2 + E2 - 1, I2), n2 = _l(C2, e2, I2);
7780
7785
  t2.setValues(n2.tuples);
7781
7786
  }
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;
7787
+ L2 = new rc(t2, { colStart: N2, rowStart: T2, colEnd: N2 + y2 - 1, rowEnd: T2 + E2 - 1 }, this._type);
7788
+ } else L2 = this._cloneFromBuilder(O2, s2, y2, E2);
7789
+ return L2;
7785
7790
  }
7786
7791
  _fill(t2, n2, r2) {
7787
7792
  if (null === r2) return void t2.delete(n2);
@@ -8151,7 +8156,7 @@ const Dc = (t2) => {
8151
8156
  let e2 = "";
8152
8157
  for (++t2; t2; t2 = Math.floor((t2 - 1) / 26)) e2 = String.fromCharCode((t2 - 1) % 26 + 65) + e2;
8153
8158
  return Oc = e2, Oc;
8154
- }, Bc = /[^a-zA-Z0-9]/, Lc = (t2) => {
8159
+ }, Lc = /[^a-zA-Z0-9]/, Bc = (t2) => {
8155
8160
  if (!t2) return null;
8156
8161
  return Dc(t2.colIndex) + kc(t2.rowIndex);
8157
8162
  }, Pc = (t2) => {
@@ -8161,8 +8166,8 @@ const Dc = (t2) => {
8161
8166
  }, zc = (t2, e2) => {
8162
8167
  let n2 = t2 ?? e2;
8163
8168
  var r2;
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) => {
8169
+ return n2 && (n2 = To(n2), n2 = n2.replace(/'/g, "''"), r2 = n2, Lc.test(r2) && (n2 = ko(n2))), n2;
8170
+ }, Wc = (t2, e2) => t2 ? t2 + (t2.endsWith("!") ? "" : "!") + e2 : Rc, Hc = (t2, e2, n2 = Bc) => {
8166
8171
  if (!t2) return null;
8167
8172
  const r2 = t2.colStart, o2 = t2.rowStart, s2 = t2.colEnd, i2 = t2.rowEnd;
8168
8173
  if (r2 === s2 && o2 === i2) return n2({ colIndex: r2, rowIndex: o2 });
@@ -8181,7 +8186,7 @@ const Dc = (t2) => {
8181
8186
  i2 = Wc(n3, i2);
8182
8187
  }
8183
8188
  return i2;
8184
- }, jc = (t2, e2, n2 = Pc) => {
8189
+ }, $c = (t2, e2, n2 = Pc) => {
8185
8190
  if (!t2) return Rc;
8186
8191
  const r2 = void 0 !== t2.rowStart && t2.rowStart === t2.rowEnd;
8187
8192
  if (void 0 !== t2.colStart && t2.colStart === t2.colEnd && r2) return n2({ colIndex: t2.colStart, rowIndex: t2.rowStart, $colIndex: t2.$colStart, $rowIndex: t2.$rowStart });
@@ -8191,8 +8196,8 @@ const Dc = (t2) => {
8191
8196
  o2 ? (i2 = Dc(t2.colStart), i2 = t2.$colStart ? "$" + i2 : i2) : s2 ? (i2 = kc(t2.rowStart), i2 = t2.$rowStart ? "$" + i2 : i2) : i2 = n2({ colIndex: t2.colStart, rowIndex: t2.rowStart, $colIndex: t2.$colStart, $rowIndex: t2.$rowStart });
8192
8197
  let a2 = null;
8193
8198
  return o2 ? (a2 = Dc(t2.colEnd), a2 = t2.$colEnd ? "$" + a2 : a2) : s2 ? (a2 = kc(t2.rowEnd), a2 = t2.$rowEnd ? "$" + a2 : a2) : a2 = n2({ colIndex: t2.colEnd, rowIndex: t2.rowEnd, $colIndex: t2.$colEnd, $rowIndex: t2.$rowEnd }), i2 + ":" + a2;
8194
- }, $c = (t2, e2, n2 = Pc) => {
8195
- const r2 = jc(t2, e2, n2), o2 = zc(t2?.sheetName, e2?.sheetName);
8199
+ }, jc = (t2, e2, n2 = Pc) => {
8200
+ const r2 = $c(t2, e2, n2), o2 = zc(t2?.sheetName, e2?.sheetName);
8196
8201
  return Wc(o2, r2);
8197
8202
  }, Gc = (t2, e2 = false) => {
8198
8203
  if (!t2) return null;
@@ -8245,7 +8250,7 @@ const Dc = (t2) => {
8245
8250
  o2.sheetName = r2[0];
8246
8251
  } else o2 = Uc(t2, e2, n2);
8247
8252
  return o2 || null;
8248
- }, qc = (t2, e2, n2 = jc, r2 = Pc) => {
8253
+ }, qc = (t2, e2, n2 = $c, r2 = Pc) => {
8249
8254
  if (!t2 || 0 === t2.length) return null;
8250
8255
  const o2 = [], s2 = t2.length;
8251
8256
  for (let i2 = 0; i2 < s2; i2++) {
@@ -8254,7 +8259,7 @@ const Dc = (t2) => {
8254
8259
  s3 ? void 0 !== s3.rowIndex || void 0 !== s3.colIndex ? a2 = r2(s3) : void 0 !== s3.rowStart || void 0 !== s3.colStart ? a2 = n2(s3, e2, r2) : "string" == typeof s3 && (a2 = s3) : a2 = Rc, a2 && o2.push(a2);
8255
8260
  }
8256
8261
  return o2;
8257
- }, Kc = (t2, e2, n2 = $c, r2 = Pc) => {
8262
+ }, Kc = (t2, e2, n2 = jc, r2 = Pc) => {
8258
8263
  const o2 = qc(t2, e2, n2, r2);
8259
8264
  return o2 ? o2.join(",") : Rc;
8260
8265
  }, Xc = (t2, e2, n2, r2 = Jc, o2, s2 = false) => {
@@ -8612,7 +8617,7 @@ var Rh;
8612
8617
  (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" };
8613
8618
  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 });
8614
8619
  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 });
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.";
8620
+ 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", 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.", $h = "IteratorContext can only be used during visit.", jh = "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.";
8616
8621
  var Xh, Yh;
8617
8622
  (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" };
8618
8623
  class Qh {
@@ -8670,9 +8675,9 @@ const Zh = (t2) => {
8670
8675
  return '"' + e2 + '"';
8671
8676
  }, 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
8677
  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);
8675
- const $d = (t2, e2 = 11, n2 = "pt") => {
8678
+ const Td = "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"), $d = /* @__PURE__ */ new Map();
8679
+ $d.set(o.textToKey(Td), (t2) => 0.4 * t2), $d.set(o.textToKey(kd), (t2) => 0.5 * t2), $d.set(o.textToKey(Fd), (t2) => 0.6 * t2), $d.set(o.textToKey(Od), (t2) => t2), $d.set(o.textToKey(Dd), (t2) => 1.1 * t2), $d.set(o.textToKey(Ld), (t2) => 1.25 * t2), $d.set(o.textToKey(Bd), (t2) => 1.5 * t2), $d.set(o.textToKey(Pd), (t2) => 2 * t2), $d.set(o.textToKey(zd), (t2) => 0.9 * t2), $d.set(o.textToKey(Wd), (t2) => 1.1 * t2), $d.set(o.textToKey(Hd), (t2) => t2);
8680
+ const jd = (t2, e2 = 11, n2 = "pt") => {
8676
8681
  if (!t2) return null;
8677
8682
  let r2 = e2;
8678
8683
  t2 = t2.trim().toLowerCase();
@@ -8687,7 +8692,7 @@ const $d = (t2, e2 = 11, n2 = "pt") => {
8687
8692
  else if (t2.endsWith("rem")) r2 = parseFloat(t2.substring(0, t2.length - 3).trim()) * e2;
8688
8693
  else if (t2.endsWith("%")) r2 = parseFloat(t2.substring(0, t2.length - 1).trim()) / 100 * e2;
8689
8694
  else if ("string" == typeof t2) {
8690
- const n3 = o.textToKey(t2), r3 = jd.get(n3);
8695
+ const n3 = o.textToKey(t2), r3 = $d.get(n3);
8691
8696
  if (r3) return r3(e2);
8692
8697
  }
8693
8698
  return isNaN(r2) ? null : r2;
@@ -8801,7 +8806,7 @@ const xu = (t2, e2) => {
8801
8806
  if ("string" == typeof t2 && (t2 = au(t2)), !t2) return null;
8802
8807
  const n2 = {};
8803
8808
  return t2.style && (n2.style = t2.style), t2.color && (n2.color = t2.color), t2.isIStroke ? t2.getProperties() : n2;
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) => {
8809
+ }, 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 } }, 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 ?? 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 } } } } }, Tu = { shorthand: (t2, e2) => {
8805
8810
  if ("object" == typeof t2) {
8806
8811
  const e3 = t2;
8807
8812
  (e3.foreground || e3.background || e3.patternType) && (e3.type = Os.Type.Pattern, e3.patternType = e3.patternType ?? Os.BuiltInSheetPattern.Solid);
@@ -8811,13 +8816,13 @@ const xu = (t2, e2) => {
8811
8816
  if (t2.background && t2.foreground) return t2;
8812
8817
  e2?.toJSON && (e2 = e2.toJSON());
8813
8818
  const r2 = Os.BuiltInSheetPattern.MediumGray;
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;
8819
+ 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;
8815
8820
  }, properties: { foreground: Iu, background: Iu } }, ku = { properties: { font: { shorthand: (t2, e2) => {
8816
8821
  if ("string" == typeof t2) {
8817
8822
  const e3 = Zh(t2);
8818
8823
  if (e3) {
8819
8824
  const t3 = {};
8820
- if (e3.family && (t3.family = e3.family), e3.fallbacks && (t3.fallbacks = e3.fallbacks), e3.size && (t3.size = $d(e3.size)), Object.keys(e3).length > 0) return t3;
8825
+ if (e3.family && (t3.family = e3.family), e3.fallbacks && (t3.fallbacks = e3.fallbacks), e3.size && (t3.size = jd(e3.size)), Object.keys(e3).length > 0) return t3;
8821
8826
  }
8822
8827
  }
8823
8828
  return t2;
@@ -8829,7 +8834,7 @@ const xu = (t2, e2) => {
8829
8834
  return n2.fallbacks && (r2 = r2.concat(n2.fallbacks)), r2;
8830
8835
  } }, size: { shorthand: (t2, e2) => {
8831
8836
  let n2 = t2;
8832
- return "string" == typeof t2 && (n2 = $d(t2, e2.getNormal().getFont().getSize())), isNaN(n2) || "number" != typeof n2 ? null : (n2 = Math.max(1, Math.min(o.roundAccurately(n2, 1), 409)), n2);
8837
+ return "string" == typeof t2 && (n2 = jd(t2, e2.getNormal().getFont().getSize())), isNaN(n2) || "number" != typeof n2 ? null : (n2 = Math.max(1, Math.min(o.roundAccurately(n2, 1), 409)), n2);
8833
8838
  } }, weight: { shorthand: (t2, e2) => {
8834
8839
  if ("string" != typeof t2) return t2;
8835
8840
  const n2 = ((t3) => {
@@ -8929,23 +8934,23 @@ const xu = (t2, e2) => {
8929
8934
  }
8930
8935
  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 };
8931
8936
  return Object.freeze(v2);
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" } }];
8937
+ }, 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 = (() => {
8938
+ 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" } }];
8934
8939
  for (let e2 = 29; e2 <= 52; e2++) {
8935
8940
  const n2 = (e2 - 29) % 4, r2 = Math.floor((e2 - 29) / 4);
8936
8941
  let o2 = "";
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 };
8942
+ 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 };
8938
8943
  }
8939
8944
  return o.deepFreeze(t2);
8940
8945
  })();
8941
- const ju = new class {
8946
+ const $u = new class {
8942
8947
  _svgImage(t2, e2, n2, r2 = 8) {
8943
8948
  return { backgroundImage: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${r2}' height='${r2}' viewBox='0 0 ${r2} ${r2}' shape-rendering='crispEdges' %3E%3Cpath d='${n2}' stroke='${t2}' %3E%3C/path%3E%3C/svg%3E")`, backgroundRepeat: "repeat", backgroundSize: `${r2}px ${r2}px`, backgroundPositionX: "0px", backgroundPositionY: "0px", backgroundPosition: "" + -r2, backgroundColor: e2 };
8944
8949
  }
8945
8950
  toCSS(t2, e2, n2) {
8946
8951
  return t2 && t2 !== Os.BuiltInSheetPattern.None ? t2 === Os.BuiltInSheetPattern.Solid ? { background: n2 } : t2 === Os.BuiltInSheetPattern.Gray0625 ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 0.5 4.5 L 0.5 5.5 M 4.5 2.5 L 4.5 3.5 M 4.5 6.5 L 4.5 7.5", 8) : t2 === Os.BuiltInSheetPattern.LightGray ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 0.5 2.5 L 0.5 3.5 M 2.5 -0.5 L 2.5 0.5 M 2.5 1.5 L 2.5 2.5 M 2.5 3.5 L 2.5 4.5", 4) : t2 === Os.BuiltInSheetPattern.MediumGray ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 1.5 1.5 L 1.5 2.5 M 1.5 -0.5 L 1.5 0.5 M -0.5 -0.5 L -0.5 0.5", 2) : t2 === Os.BuiltInSheetPattern.DarkGray ? this._svgImage(e2, n2, "M 0 0 L 0 4 M 1 1 L 1 2 M 1 3 L 1 4 M 2 0 L 2 4 M 3 0.5 L 3 1.5 M 3 2.5 L 3 3.5 M 4 0 L 4 4", 4) : t2 === Os.BuiltInSheetPattern.LightHorizontal ? this._svgImage(e2, n2, "M 0 2 L 4 2", 4) : t2 === Os.BuiltInSheetPattern.DarkHorizontal ? this._svgImage(e2, n2, "M 0 2 L 4 2 M 0 3 L 4 3", 4) : t2 === Os.BuiltInSheetPattern.LightVertical ? this._svgImage(e2, n2, "M 2 0 L 2 4", 4) : t2 === Os.BuiltInSheetPattern.DarkVertical ? this._svgImage(e2, n2, "M 2 0 L 2 4 M 3 0 L 3 4", 4) : t2 === Os.BuiltInSheetPattern.LightUp ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 1.5 3.5 L 1.5 4.5 M 1.5 -0.5 L 1.5 0.5 M 2.5 2.5 L 2.5 3.5 M 3.5 1.5 L 3.5 2.5", 4) : t2 === Os.BuiltInSheetPattern.DarkUp ? this._svgImage(e2, n2, "M 0.5 -0.5 L 0.5 1.5 M 0.5 3.5 L 0.5 4.5 M 1.5 2.5 L 1.5 4.5 M 2.5 1.5 L 2.5 3.5 M 3.5 0.5 L 3.5 2.5 M 1.5 -0.5 L 1.5 0.5", 4) : t2 === Os.BuiltInSheetPattern.LightDown ? this._svgImage(e2, n2, "M 0.5 0 L 0.5 1 M 1.5 1 L 1.5 2 M 2.5 2 L 2.5 3 M 3.5 3 L 3.5 4", 4) : t2 === Os.BuiltInSheetPattern.DarkDown ? this._svgImage(e2, n2, "M 0.5 -0.5 L 0.5 2 M 1.5 1 L 1.5 3 M 2.5 2 L 2.5 4 M 3.5 3 L 3.5 5 M 3.5 -0.5 L 3.5 1.0", 4) : t2 === Os.BuiltInSheetPattern.LightGrid ? this._svgImage(e2, n2, "M 1.5 -0.5 L 1.5 4.5 M -0.5 1.5 L 4.5 1.5", 4) : t2 === Os.BuiltInSheetPattern.DarkGrid ? this._svgImage(e2, n2, "M 0.5 -0.5 L 0.5 1.5 M 1.5 -0.5 L 1.5 1.5 M 2.5 1.5 L 2.5 3.5 M 3.5 1.5 L 3.5 3.5 M 0.5 3.5 L 0.5 4.5 M 1.5 3.5 L 1.5 4.5", 4) : t2 === Os.BuiltInSheetPattern.LightTrellis ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 1.5 3.5 L 1.5 4.5 M 1.5 -0.5 L 1.5 0.5 M 2.5 2.5 L 2.5 3.5 M 3.5 1.5 L 3.5 2.5 M 1.5 1.5 L 1.5 2.5 M 3.5 3.5 L 3.5 4.5 M 3.5 -0.5 L 3.5 0.5", 4) : t2 === Os.BuiltInSheetPattern.DarkTrellis ? this._svgImage(e2, n2, "M 0 0 L 4 0 M 0 1 L 2 1 M 0 2 L 4 2 M 2 3 L 4 3 M 0 4 L 4 4", 4) : (Os.BuiltInSheetPattern.Custom, this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 0.5 4.5 L 0.5 5.5 M 2.5 2.5 L 2.5 3.5 M 2.5 6.5 L 2.5 7.5 M 4.5 0.5 L 4.5 1.5 M 4.5 4.5 L 4.5 5.5 M 6.5 2.5 L 6.5 3.5 M 6.5 6.5 L 6.5 7.5", 8)) : { background: "none" };
8947
8952
  }
8948
- }(), $u = (t2, e2, n2) => {
8953
+ }(), ju = (t2, e2, n2) => {
8949
8954
  if (void 0 === e2) return;
8950
8955
  if (null === e2) return null;
8951
8956
  if (e2.isIStyle) return e2._p.getProperties();
@@ -9156,7 +9161,7 @@ class Xu extends Uu {
9156
9161
  }
9157
9162
  getFill() {
9158
9163
  const t2 = this._value("fill");
9159
- return this._c.parseColor(t2 ?? Bs.Scheme.Bg1);
9164
+ return this._c.parseColor(t2 ?? Ls.Scheme.Bg1);
9160
9165
  }
9161
9166
  getLetterSpacing() {
9162
9167
  return this._value("letterSpacing") ?? this.getSize() / -25;
@@ -9203,7 +9208,7 @@ class Zu extends Uu {
9203
9208
  return Os.Type.Solid;
9204
9209
  }
9205
9210
  getColor() {
9206
- return this._c.parseColor(this._value("color") ?? Bs.Scheme.Bg1);
9211
+ return this._c.parseColor(this._value("color") ?? Ls.Scheme.Bg1);
9207
9212
  }
9208
9213
  toCSS(t2) {
9209
9214
  return { background: this.getColor().toCSS(t2) };
@@ -9217,7 +9222,7 @@ class tg extends Uu {
9217
9222
  return this._value("offset") ?? 0;
9218
9223
  }
9219
9224
  getColor() {
9220
- return this._c.parseColor(this._value("color") ?? Bs.Scheme.Bg1);
9225
+ return this._c.parseColor(this._value("color") ?? Ls.Scheme.Bg1);
9221
9226
  }
9222
9227
  }
9223
9228
  class eg extends Uu {
@@ -9260,18 +9265,18 @@ class ng extends Uu {
9260
9265
  return Os.Type.Pattern;
9261
9266
  }
9262
9267
  getBackground() {
9263
- const t2 = this._value("background") ?? Bs.Named.Window;
9268
+ const t2 = this._value("background") ?? Ls.Named.Window;
9264
9269
  return this._c.parseColor(t2);
9265
9270
  }
9266
9271
  getForeground() {
9267
- return this._c.parseColor(this._value("foreground") ?? Bs.Scheme.Tx1);
9272
+ return this._c.parseColor(this._value("foreground") ?? Ls.Scheme.Tx1);
9268
9273
  }
9269
9274
  getPatternType() {
9270
9275
  return this._value("patternType") ?? Os.BuiltInSheetPattern.None;
9271
9276
  }
9272
9277
  toCSS(t2) {
9273
9278
  const e2 = this.getBackground().toCSS(t2), n2 = this.getForeground().toCSS(t2);
9274
- return this.getPatternType() === Os.BuiltInSheetPattern.None ? { background: "none" } : this.getPatternType() === Os.BuiltInSheetPattern.Solid ? { background: this.getForeground().toCSS(t2) } : ju.toCSS(this.getPatternType(), n2, e2);
9279
+ return this.getPatternType() === Os.BuiltInSheetPattern.None ? { background: "none" } : this.getPatternType() === Os.BuiltInSheetPattern.Solid ? { background: this.getForeground().toCSS(t2) } : $u.toCSS(this.getPatternType(), n2, e2);
9275
9280
  }
9276
9281
  toJSON() {
9277
9282
  const t2 = { type: Os.Type.Pattern };
@@ -9297,7 +9302,7 @@ class rg {
9297
9302
  return this._c.getNamed(t2);
9298
9303
  }
9299
9304
  createTemporaryStyle(t2) {
9300
- const e2 = this._c, n2 = $u(0, t2, this), r2 = this._options, o2 = r2.range, s2 = r2.direct.cloneWithUpdate(n2);
9305
+ const e2 = this._c, n2 = ju(0, t2, this), r2 = this._options, o2 = r2.range, s2 = r2.direct.cloneWithUpdate(n2);
9301
9306
  return og(e2, s2, o2);
9302
9307
  }
9303
9308
  measureText(t2, e2 = this.getFont().getSize(), n2, r2) {
@@ -9615,9 +9620,9 @@ const gg = new class {
9615
9620
  let M2 = x2(h2 + b2), N2 = M2 - R2, T2 = h2, k2 = h2;
9616
9621
  const F2 = { x: 0, y: 0, width: N2, height: d2?.height ?? 0 };
9617
9622
  const O2 = h2 - h2 + b2;
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 };
9623
+ let D2 = d2 ? d2.width - N2 : 0, L2 = F2;
9624
+ 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, 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 = N2);
9625
+ return { anchorBounds: F2, leftIndex: w2, rightIndex: y2, leftOffset: E2, rightOffset: C2, colSpan: O2, colBounds: L2 };
9621
9626
  };
9622
9627
  class yg {
9623
9628
  constructor(t2, e2) {
@@ -9724,13 +9729,13 @@ class vg {
9724
9729
  }
9725
9730
  getA1() {
9726
9731
  const t2 = this._coords;
9727
- return t2 ? jc(this._options.resolveRange(t2).getCoords()) : Rc;
9732
+ return t2 ? $c(this._options.resolveRange(t2).getCoords()) : Rc;
9728
9733
  }
9729
9734
  getSheet() {
9730
9735
  return this._options.sheet;
9731
9736
  }
9732
9737
  select(t2) {
9733
- return this._options.opener("#" + Lc(this._coords), t2);
9738
+ return this._options.opener("#" + Bc(this._coords), t2);
9734
9739
  }
9735
9740
  getColumnFilter() {
9736
9741
  if (!this._ri) return null;
@@ -9837,7 +9842,7 @@ class vg {
9837
9842
  const n2 = mg(t2, this._options);
9838
9843
  let r2 = this._ri;
9839
9844
  if (void 0 !== n2.style) {
9840
- const t3 = this._coords ?? c.EmptyCell, o3 = c.cellToRange(t3), s3 = () => Eg(0, o3, this._ri, this._options), i2 = $u(this._options.styles, n2.style, s3), a2 = (this._ri?.directStyle ?? new ag(e2.styles, o3)).cloneWithUpdate(i2);
9845
+ const t3 = this._coords ?? c.EmptyCell, o3 = c.cellToRange(t3), s3 = () => Eg(0, o3, this._ri, this._options), i2 = ju(this._options.styles, n2.style, s3), a2 = (this._ri?.directStyle ?? new ag(e2.styles, o3)).cloneWithUpdate(i2);
9841
9846
  r2 = { ...r2, directStyle: a2 };
9842
9847
  }
9843
9848
  let o2 = this._t, s2 = this._v;
@@ -10049,7 +10054,7 @@ const Ng = (t2, n2, r2, o2 = false) => {
10049
10054
  if (t2.rowStart <= n2.rowStart && t2.rowEnd >= n2.rowEnd) return e.Orientation.Column;
10050
10055
  }
10051
10056
  return t2 ? ((t3) => t3.rowEnd - t3.rowStart > t3.colEnd - t3.colStart ? e.Orientation.Column : e.Orientation.Row)(t2) : e.Orientation.Row;
10052
- }, Dg = () => false, Bg = () => true, Lg = () => null, Pg = () => sa, zg = () => 0, Wg = new class extends vg {
10057
+ }, Dg = () => false, Lg = () => true, Bg = () => null, Pg = () => sa, zg = () => 0, Wg = new class extends vg {
10053
10058
  constructor() {
10054
10059
  super(null, null);
10055
10060
  }
@@ -10066,14 +10071,14 @@ const Ng = (t2, n2, r2, o2 = false) => {
10066
10071
  return Mg || (Mg = new Fm().getNormal(), Mg);
10067
10072
  }
10068
10073
  toString() {
10069
- return `${this._coords ? Lc(this._coords) : Rc} => ${this._v ?? "{blank}"}`;
10074
+ return `${this._coords ? Bc(this._coords) : Rc} => ${this._v ?? "{blank}"}`;
10070
10075
  }
10071
10076
  }(), Hg = () => Vg, Vg = { forEach: () => {
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 };
10073
- function jg(t2, e2 = null, n2 = null, r2 = Rc) {
10077
+ }, [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 };
10078
+ function $g(t2, e2 = null, n2 = null, r2 = Rc) {
10074
10079
  return t2 || n2 ? Object.freeze({ ...Vg, getSheet: () => t2, bounds: () => n2, getA1: () => r2, toString: () => n2 ? Hc(n2, e2) : r2 }) : Vg;
10075
10080
  }
10076
- const $g = /^[\\+-]?[0-9]*\.?[0-9]*$/, Gg = (t2, e2, r2) => {
10081
+ const jg = /^[\\+-]?[0-9]*\.?[0-9]*$/, Gg = (t2, e2, r2) => {
10077
10082
  if (void 0 === t2) throw new Error("A value is required to create a cell from a text.");
10078
10083
  const s2 = r2 ?? { value: null };
10079
10084
  if ("" === (t2 = o.castToString(t2)).trim()) return s2;
@@ -10116,7 +10121,7 @@ const $g = /^[\\+-]?[0-9]*\.?[0-9]*$/, Gg = (t2, e2, r2) => {
10116
10121
  return m2 = e3.length < t3.length, e3;
10117
10122
  }
10118
10123
  return t3;
10119
- })(c2), c2.match($g) && !isNaN(c2)) {
10124
+ })(c2), c2.match(jg) && !isNaN(c2)) {
10120
10125
  if (s2.value = c2 * h2, 0 !== u2) s2.value = s2.value * Math.pow(10, u2), s2.style = { numberFormat: `0${l2 + "0".repeat(2)}E+00` };
10121
10126
  else if (m2) {
10122
10127
  let t3 = Io(c2);
@@ -10172,7 +10177,7 @@ const $g = /^[\\+-]?[0-9]*\.?[0-9]*$/, Gg = (t2, e2, r2) => {
10172
10177
  return f2 && (t3 += f2.asOADate), p2 && (t3 += p2.parsed.oaDateTime), s2.value = t3, s2;
10173
10178
  }
10174
10179
  const _2 = n.getBuiltInByLabel(t2);
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);
10180
+ 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);
10176
10181
  }, Ug = (t2) => {
10177
10182
  const e2 = t2.getFont().getUnderline() === qo.UnderlineStyle.SingleAccounting, n2 = t2.getFont().getUnderline() === qo.UnderlineStyle.DoubleAccounting;
10178
10183
  let r2 = 0;
@@ -10230,16 +10235,16 @@ class Yg {
10230
10235
  o2._c = null;
10231
10236
  }, this.context = { getCoords() {
10232
10237
  const t2 = o2._c;
10233
- if (!t2) throw new Error(jh);
10238
+ if (!t2) throw new Error($h);
10234
10239
  return t2;
10235
10240
  }, getCell() {
10236
10241
  const t2 = o2._c;
10237
- if (!t2) throw new Error(jh);
10242
+ if (!t2) throw new Error($h);
10238
10243
  if (this.excludeCellDetails) throw new Error("IteratorContext can only return a cell if the forEach excludeCellDetails has not been set to false.");
10239
10244
  const e3 = o2._r, n3 = o2._t, s2 = o2._v;
10240
10245
  return null !== s2 || e3 ? new vg(r2, t2, n3, s2, e3, o2._p, o2._n) : new vg(r2, t2);
10241
10246
  }, getType: () => o2._t, getA1(t2) {
10242
- if (!o2.context) throw new Error(jh);
10247
+ if (!o2.context) throw new Error($h);
10243
10248
  let e3 = o2._c;
10244
10249
  return t2 && (e3 = { ...o2._c, ...t2 }), r2.resolveRange(e3).toString();
10245
10250
  }, toJSDate(e3) {
@@ -11467,7 +11472,7 @@ let km = class {
11467
11472
  };
11468
11473
  class Fm {
11469
11474
  constructor(t2 = null, e2 = null, n2 = 11) {
11470
- this._emitter = null, this._normalRanged = null, this._theme = t2 ?? new $i().getDefaultTheme(), this._defaultFontSize = n2;
11475
+ this._emitter = null, this._normalRanged = null, this._theme = t2 ?? new ji().getDefaultTheme(), this._defaultFontSize = n2;
11471
11476
  const r2 = this;
11472
11477
  this._emitter = new Ki(this), this._schemeLookup = (t3) => r2._theme.schemeLookup()(t3), this._indexedColors = this._fromJSONIndexedColors(e2), this._indexedLookup = (t3) => {
11473
11478
  const e3 = this._indexedColors[t3];
@@ -11599,7 +11604,7 @@ class Fm {
11599
11604
  const t3 = this._customCellStyles.get(r2) ?? o2;
11600
11605
  i2 = t3?._properties ?? null;
11601
11606
  }
11602
- const a2 = $u(0, t2.style, this.getNormal());
11607
+ const a2 = ju(0, t2.style, this.getNormal());
11603
11608
  t2 = { ...t2, style: a2 };
11604
11609
  const l2 = f.resolveTypedUpdates(t2, Fu, this, i2), c2 = new Tm(this, l2, this._hideOrRemoveNamed.bind(this), s2);
11605
11610
  return l2.name === _i.BuiltInName.Normal && (this._normalRanged = c2.getRanged(), this._normalStyle = og(this, null)), this._customCellStyles.set(r2, c2), c2;
@@ -11760,7 +11765,7 @@ class Fm {
11760
11765
  }
11761
11766
  }
11762
11767
  const Om = "BinaryResource must have only one initial data value.", Dm = "Resource is closed.";
11763
- class Bm {
11768
+ class Lm {
11764
11769
  constructor(t2) {
11765
11770
  if (this._listeners = /* @__PURE__ */ new Set(), this._type = t2.type, this._name = t2?.name, t2.base64) {
11766
11771
  const e2 = t2.base64;
@@ -11842,7 +11847,7 @@ class Bm {
11842
11847
  return this._isClosed;
11843
11848
  }
11844
11849
  }
11845
- let Lm = class {
11850
+ let Bm = class {
11846
11851
  constructor(t2, e2, n2) {
11847
11852
  this._state = t2, this._fromJSON = e2, this._onLastEnd = n2, this._state.openScopes.add(this), this._isClosed = false;
11848
11853
  }
@@ -11884,10 +11889,10 @@ class Pm {
11884
11889
  let e3 = false;
11885
11890
  this._resources.forEach((n3) => {
11886
11891
  n3.getName() === t2 && (e3 = true, t2 = n3);
11887
- }), e3 || (t2 = new Bm({ name: t2, fetch: t2, type: null }));
11892
+ }), e3 || (t2 = new Lm({ name: t2, fetch: t2, type: null }));
11888
11893
  }
11889
11894
  let e2 = null;
11890
- e2 = t2 instanceof Bm ? t2 : new Bm({ ...t2 });
11895
+ e2 = t2 instanceof Lm ? t2 : new Lm({ ...t2 });
11891
11896
  const n2 = this;
11892
11897
  return this._resources.has(e2) || (e2.addUnloadListener({ onUnload: (t3) => {
11893
11898
  n2._resources.delete(e2);
@@ -11902,7 +11907,7 @@ class Pm {
11902
11907
  beginPersist() {
11903
11908
  this._persistOpen || (this._persistOpen = { byRefs: /* @__PURE__ */ new Map(), byIds: /* @__PURE__ */ new Map(), openScopes: /* @__PURE__ */ new Set() });
11904
11909
  const t2 = {}, e2 = /* @__PURE__ */ new Set(), n2 = this;
11905
- return new Lm(this._persistOpen, (r2) => {
11910
+ return new Bm(this._persistOpen, (r2) => {
11906
11911
  const o2 = n2.add({ base64: r2.base64, name: r2.name, type: r2.type });
11907
11912
  return o2.addReference(t2), e2.add(o2), o2;
11908
11913
  }, () => {
@@ -11984,7 +11989,7 @@ class Wm {
11984
11989
  }
11985
11990
  var Hm, Vm;
11986
11991
  Hm || (Hm = {});
11987
- class jm extends Xi {
11992
+ class $m extends Xi {
11988
11993
  constructor(t2) {
11989
11994
  super(t2), t2.json && (this._resource = t2.fromResourceId(t2.json.resId));
11990
11995
  }
@@ -12034,13 +12039,13 @@ class jm extends Xi {
12034
12039
  }
12035
12040
  }
12036
12041
  (Vm || (Vm = {})).Status = { Ready: "ready", Error: "error", Starting: "starting", Stopping: "stopping", Off: "off" };
12037
- class $m extends rc {
12042
+ class jm extends rc {
12038
12043
  constructor(t2, e2 = null, n2, r2, o2) {
12039
12044
  if (super(t2, n2, e2), this._sheetName = r2 || null, this._getEntireCoords = o2 ?? lc, this._coords = Gm(n2, this._getEntireCoords()), !n2) throw new Error("ReferenceRange requires a coords");
12040
12045
  this._validateCoords(n2);
12041
12046
  }
12042
12047
  toType(t2) {
12043
- return new $m(this._values, t2, this._coords, this._sheetName, this._getEntireCoords);
12048
+ return new jm(this._values, t2, this._coords, this._sheetName, this._getEntireCoords);
12044
12049
  }
12045
12050
  getCoords() {
12046
12051
  return this._coords;
@@ -12355,7 +12360,7 @@ class Qm {
12355
12360
  _formulaAt(t2, e2) {
12356
12361
  Rf.colStart = e2, Rf.rowStart = t2, Rf.colEnd = e2, Rf.rowEnd = t2;
12357
12362
  const n2 = this._formulaSpatial.search(Rf);
12358
- if (0 === n2.length) throw new Error(`No formula found at ${Lc({ rowIndex: t2, colIndex: e2 })}`);
12363
+ if (0 === n2.length) throw new Error(`No formula found at ${Bc({ rowIndex: t2, colIndex: e2 })}`);
12359
12364
  return n2[0];
12360
12365
  }
12361
12366
  getDirectPrecedentsAt(t2, e2, n2) {
@@ -12797,7 +12802,7 @@ class Qm {
12797
12802
  continue;
12798
12803
  }
12799
12804
  const o3 = t4.colStart, a3 = t4.rowStart, l3 = t4.colEnd;
12800
- t4.rowEnd !== a3 || o3 !== l3 ? (i2 > 0 && (s2.length = i2, Zm(s2, p2, u2, S2), i2 = 0), e3[n2] = new $m(p2, null, { ...t4 }, null, y2)) : e3[n2] = void 0 === r3 ? t4 : r3.cachedValue;
12805
+ t4.rowEnd !== a3 || o3 !== l3 ? (i2 > 0 && (s2.length = i2, Zm(s2, p2, u2, S2), i2 = 0), e3[n2] = new jm(p2, null, { ...t4 }, null, y2)) : e3[n2] = void 0 === r3 ? t4 : r3.cachedValue;
12801
12806
  }
12802
12807
  C2.pendingPrecedents = A2;
12803
12808
  }
@@ -12806,8 +12811,8 @@ class Qm {
12806
12811
  const k2 = b2.formula;
12807
12812
  let F2, O2;
12808
12813
  const D2 = C2.pending;
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)) {
12814
+ let L2 = D2;
12815
+ 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(N2, T2, L2)), O2 && (F2 = C2.cachedValue ?? null, !O2.__originator)) {
12811
12816
  O2.__originator = l2;
12812
12817
  const t3 = C2;
12813
12818
  mf.add(t3), t3.pendingPromise = O2, t3.pendingResolved = false, O2.then((e3) => {
@@ -12818,7 +12823,7 @@ class Qm {
12818
12823
  }, (t4) => {
12819
12824
  });
12820
12825
  }
12821
- let L2 = 1, P2 = 1;
12826
+ let B2 = 1, P2 = 1;
12822
12827
  const z2 = I2 instanceof rc;
12823
12828
  let W2;
12824
12829
  const H2 = I2 instanceof n.Spill;
@@ -12832,18 +12837,18 @@ class Qm {
12832
12837
  if (W2) {
12833
12838
  if (z2) {
12834
12839
  const t5 = I2;
12835
- L2 = t5.getWidth(), P2 = t5.getHeight();
12840
+ B2 = t5.getWidth(), P2 = t5.getHeight();
12836
12841
  }
12837
- const t4 = { colStart: v2, rowStart: x2, colEnd: v2 + L2 - 1, rowEnd: x2 + P2 - 1 };
12842
+ const t4 = { colStart: v2, rowStart: x2, colEnd: v2 + B2 - 1, rowEnd: x2 + P2 - 1 };
12838
12843
  f2.remove(W2), W2 && W2.value.getError() || (d2.insertNonOverlapping({ ...t4, value: null }), p2.delete(t4), u2.insertNonOverlapping(t4));
12839
12844
  }
12840
12845
  }
12841
- let V2 = 1, j2 = 1;
12842
- const $2 = F2, G2 = $2?.isIRange;
12846
+ let V2 = 1, $2 = 1;
12847
+ const j2 = F2, G2 = j2?.isIRange;
12843
12848
  let U2, J2 = F2 instanceof n.Spill;
12844
- if (G2 && $2.size > 1) {
12845
- V2 = $2.getWidth(), j2 = $2.getHeight();
12846
- const t3 = { colStart: v2, rowStart: x2, colEnd: v2 + V2 - 1, rowEnd: x2 + j2 - 1 }, e3 = r2.getEntireCoords(), o3 = !c.isRangeWithinRange(t3, e3);
12849
+ if (G2 && j2.size > 1) {
12850
+ V2 = j2.getWidth(), $2 = j2.getHeight();
12851
+ const t3 = { colStart: v2, rowStart: x2, colEnd: v2 + V2 - 1, rowEnd: x2 + $2 - 1 }, e3 = r2.getEntireCoords(), o3 = !c.isRangeWithinRange(t3, e3);
12847
12852
  if (o3 && (t3.colEnd = Math.min(t3.colEnd, e3.colEnd), t3.rowEnd = Math.min(t3.rowEnd, e3.rowEnd)), J2 = o3, !J2) {
12848
12853
  const e4 = d2.search(t3);
12849
12854
  if (J2 = e4.length > 1, !J2 && 1 === e4.length) {
@@ -12853,15 +12858,15 @@ class Qm {
12853
12858
  }
12854
12859
  let s3, i3;
12855
12860
  if (J2) {
12856
- F2 = n.BuiltIn.Spill, V2 = 1, j2 = 1;
12861
+ F2 = n.BuiltIn.Spill, V2 = 1, $2 = 1;
12857
12862
  s3 = [[N2, [[T2, [F2]]]]], p2.setValues(s3), i3 = { colStart: v2, rowStart: x2, colEnd: v2, rowEnd: x2 };
12858
12863
  } else {
12859
- const e4 = Km($2, N2, T2);
12864
+ const e4 = Km(j2, N2, T2);
12860
12865
  e4 && (s3 = e4.tuples), s3 && p2.setValues(s3), i3 = t3;
12861
12866
  }
12862
12867
  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) });
12863
12868
  }
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);
12869
+ (!c.isEqualRanges(W2, U2) || J2 || H2) && (W2 && g2.insert(W2), U2 && g2.insert(U2)), V2 === B2 && $2 === P2 || (C2.state = vh, h2.insertNonOverlapping({ colStart: v2, rowStart: x2, colEnd: v2 + Math.max(V2, B2) - 1, rowEnd: x2 + Math.max($2, P2) - 1 }), a2 = false);
12865
12870
  let q2 = F2 && F2.isFormulaError ? F2 : null;
12866
12871
  k2.getError() && (q2 = k2.getError()), (q2 || R2 && !t2) && (q2 && !q2.equals(R2) || R2 && R2.equals(q2)), C2.cachedValue = F2, s2[i2++] = C2;
12867
12872
  }
@@ -13171,9 +13176,9 @@ class Tf {
13171
13176
  this._instanceScope = t2;
13172
13177
  }
13173
13178
  async _initialize() {
13174
- const t2 = await st._validate(true), e2 = Ff();
13179
+ const t2 = await at._validate(true), e2 = Ff();
13175
13180
  this._calcScope = e2, this._runtime = new kf(this._options, t2);
13176
- const { initializeBuiltIns: n2 } = await import("./BDiANu0RdLHHeDjE.mjs"), r2 = this;
13181
+ const { initializeBuiltIns: n2 } = await import("./3oDj1dTnCbDwAhJV.mjs"), r2 = this;
13177
13182
  return this._builtInFunctions = Object.freeze(n2(() => r2)), { builtInFunctions: this._builtInFunctions, calcScope: this._calcScope };
13178
13183
  }
13179
13184
  getBuiltInFunctions() {
@@ -13191,8 +13196,8 @@ class Tf {
13191
13196
  getFormulaAt(t2, e2) {
13192
13197
  const n2 = this._calcScope.formulaSpatial;
13193
13198
  if (!n2) return null;
13194
- Bf.colStart = e2, Bf.rowStart = t2, Bf.colEnd = e2, Bf.rowEnd = t2;
13195
- const r2 = n2.search(Bf);
13199
+ Lf.colStart = e2, Lf.rowStart = t2, Lf.colEnd = e2, Lf.rowEnd = t2;
13200
+ const r2 = n2.search(Lf);
13196
13201
  if (0 === r2.length) return null;
13197
13202
  return r2[0].value.formula.getTextAt(t2, e2) ?? null;
13198
13203
  }
@@ -13232,8 +13237,8 @@ class Tf {
13232
13237
  getSpillAt(t2, e2) {
13233
13238
  const n2 = this._calcScope.spillSpatial;
13234
13239
  if (!n2) return null;
13235
- Lf.rowStart = t2, Lf.colStart = e2, Lf.rowEnd = t2, Lf.colEnd = e2;
13236
- const r2 = n2.search(Lf);
13240
+ Bf.rowStart = t2, Bf.colStart = e2, Bf.rowEnd = t2, Bf.colEnd = e2;
13241
+ const r2 = n2.search(Bf);
13237
13242
  if (0 === r2.length) return null;
13238
13243
  for (let n3 = 0; n3 < r2.length; n3++) {
13239
13244
  const o2 = r2[n3];
@@ -13286,8 +13291,8 @@ class Tf {
13286
13291
  }
13287
13292
  if (l2) {
13288
13293
  const e3 = l2.calc;
13289
- i2 = e3 && e3.isIReferenceRange ? e3.cachedValue : new $m(s2, void 0, t2, null, o2);
13290
- } else r2.dynamicPrecedentsInserts = Ym(r2.dynamicPrecedentsInserts, a2, t2), i2 = new $m(s2, void 0, t2, null, o2);
13294
+ i2 = e3 && e3.isIReferenceRange ? e3.cachedValue : new jm(s2, void 0, t2, null, o2);
13295
+ } else r2.dynamicPrecedentsInserts = Ym(r2.dynamicPrecedentsInserts, a2, t2), i2 = new jm(s2, void 0, t2, null, o2);
13291
13296
  return i2;
13292
13297
  }
13293
13298
  getAddress(t2, e2 = false) {
@@ -13346,7 +13351,7 @@ class kf {
13346
13351
  }
13347
13352
  getVersion() {
13348
13353
  try {
13349
- const t2 = "0.6.11";
13354
+ const t2 = "0.6.12";
13350
13355
  if (-1 === t2.indexOf(".env.")) return `${t2}`;
13351
13356
  } catch (t2) {
13352
13357
  return "local";
@@ -13369,7 +13374,7 @@ const Ff = () => ({ rowIndex: 0, colIndex: 0, sheetName: null, node: null, value
13369
13374
  if (void 0 !== a2 && (n3.colStart === r2 && n3.rowStart === o2 && n3.colEnd === s2 && n3.rowEnd === i2)) return a2;
13370
13375
  }
13371
13376
  return null;
13372
- }, Bf = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 }, Lf = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 };
13377
+ }, Lf = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 }, Bf = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 };
13373
13378
  class Pf {
13374
13379
  _setScope(t2) {
13375
13380
  this._scope = t2;
@@ -13451,12 +13456,12 @@ class Pf {
13451
13456
  const zf = new Pf(), Wf = "__SHEETXL";
13452
13457
  let Hf;
13453
13458
  const Vf = { FormulaContext: Hf, ScalarType: t, IRange: e, FormulaError: n, Observable: r };
13454
- let jf;
13455
- function $f(t2) {
13456
- Hf || (Hf = zf, Vf.FormulaContext = Hf), jf = globalThis[Wf], globalThis[Wf] = Vf, Hf._setScope(t2);
13459
+ let $f;
13460
+ function jf(t2) {
13461
+ Hf || (Hf = zf, Vf.FormulaContext = Hf), $f = globalThis[Wf], globalThis[Wf] = Vf, Hf._setScope(t2);
13457
13462
  }
13458
13463
  function Gf() {
13459
- jf ? (globalThis[Wf] = jf, jf = void 0) : delete globalThis[Wf], Hf && Hf._setScope(null);
13464
+ $f ? (globalThis[Wf] = $f, $f = void 0) : delete globalThis[Wf], Hf && Hf._setScope(null);
13460
13465
  }
13461
13466
  var Uf;
13462
13467
  (Uf || (Uf = {})).Context = { Workbook: "workbook", Sheet: "sheet", Ranges: "ranges", Range: "range", Calculation: "calculation" };
@@ -13473,7 +13478,7 @@ class Jf {
13473
13478
  }
13474
13479
  execute(...e2) {
13475
13480
  const r2 = this._pj, o2 = [], s2 = this._cf?.();
13476
- $f(s2);
13481
+ jf(s2);
13477
13482
  let i2 = false, a2 = null;
13478
13483
  const l2 = r2?.length ?? 0;
13479
13484
  let c2, h2 = this._broadcast;
@@ -13890,7 +13895,7 @@ class op extends Xi {
13890
13895
  this._context = r2;
13891
13896
  const o2 = await r2._initialize(), s2 = o2.builtInFunctions;
13892
13897
  this._functions = new rp({ transactions: this._transactions, context: r2, readonlyFunctions: s2 });
13893
- const i2 = await import("./C6CzYcWcgSF60FQh.mjs");
13898
+ const i2 = await import("./MqFLkY02HqE70XzV.mjs");
13894
13899
  this._formulaParser = new i2.FormulaParser(), this._scope = o2.calcScope, this._status = Vm.Status.Ready, this._emitter.notify("onStatusChange"), this._emitter.notify("onReady");
13895
13900
  } catch (t2) {
13896
13901
  throw this._status = Vm.Status.Off, this._emitter.notify("onError", t2), this._emitter.notify("onStatusChange"), t2;
@@ -14020,9 +14025,9 @@ class mp {
14020
14025
  const o2 = n2(r2);
14021
14026
  if ("userset" !== o2.msoHeightSource) return;
14022
14027
  let s2 = r2.getAttribute("height") ?? o2.height, i2 = null;
14023
- if (s2 && (i2 = $d(s2, this._styles.getNormal().getFont().getSize(), "px")), null === i2) for (let t3 = 0; t3 < r2.cells.length; t3++) {
14028
+ if (s2 && (i2 = jd(s2, this._styles.getNormal().getFont().getSize(), "px")), null === i2) for (let t3 = 0; t3 < r2.cells.length; t3++) {
14024
14029
  const e3 = r2.cells[t3], o3 = e3.getAttribute("height") ?? n2(e3).height;
14025
- let s3 = $d(o3, this._styles.getNormal().getFont().getSize(), "px");
14030
+ let s3 = jd(o3, this._styles.getNormal().getFont().getSize(), "px");
14026
14031
  null !== s3 && (i2 = Math.max(s3, i2 ?? 0));
14027
14032
  }
14028
14033
  null !== i2 && this._rowsReading.push({ address: { min: this._topLeft.rowIndex + t2, max: this._topLeft.rowIndex + t2 + e2 - 1 }, update: { size: i2 * qo.getDeviceScale() } });
@@ -14031,7 +14036,7 @@ class mp {
14031
14036
  const o2 = n2(r2);
14032
14037
  if ("userset" !== o2.msoWidthSource) return;
14033
14038
  let s2 = r2.getAttribute("width") ?? o2.width, i2 = null;
14034
- s2 && (i2 = $d(s2, this._styles.getNormal().getFont().getSize(), "px")), null !== i2 && this._colsReading.push({ address: { min: this._topLeft.colIndex + t2, max: this._topLeft.colIndex + t2 + e2 - 1 }, update: { size: i2 * qo.getDeviceScale() } });
14039
+ s2 && (i2 = jd(s2, this._styles.getNormal().getFont().getSize(), "px")), null !== i2 && this._colsReading.push({ address: { min: this._topLeft.colIndex + t2, max: this._topLeft.colIndex + t2 + e2 - 1 }, update: { size: i2 * qo.getDeviceScale() } });
14035
14040
  }
14036
14041
  onDone() {
14037
14042
  this._colsReading.length > 0 && this._sheet.getColumnHeaders().updateHeaderPairs(this._colsReading), this._rowsReading.length > 0 && this._sheet.getRowHeaders().updateHeaderPairs(this._rowsReading), this._sheet.doBatch(() => {
@@ -15092,7 +15097,7 @@ class Dp extends Xi {
15092
15097
  return "Shape";
15093
15098
  }
15094
15099
  }
15095
- class Bp extends Xi {
15100
+ class Lp extends Xi {
15096
15101
  constructor(t2) {
15097
15102
  super(t2), t2.json && this._updateState({ data: t2.json });
15098
15103
  }
@@ -15112,7 +15117,7 @@ class Bp extends Xi {
15112
15117
  return "CustomElement";
15113
15118
  }
15114
15119
  }
15115
- const Lp = (t2, e2, n2 = true, r2 = true) => {
15120
+ const Bp = (t2, e2, n2 = true, r2 = true) => {
15116
15121
  let o2 = 0, s2 = 0;
15117
15122
  if (!n2 && !r2) return { x: o2, y: s2 };
15118
15123
  let i2 = false, a2 = 0;
@@ -15164,7 +15169,7 @@ const zp = (t2, n2, r2) => {
15164
15169
  if (0 === e2) return o2;
15165
15170
  s2 ? o2 += e2 : o2 -= e2;
15166
15171
  }
15167
- }, Wp = Object.freeze({ colIndex: 0, rowIndex: 0 }), Hp = Object.freeze([]), Vp = Object.freeze({ cell: c.EmptyCell, ranges: Hp, rangeIndex: -1 }), jp = (t2, n2 = e.Direction.Right, r2, o2, s2, i2 = null) => {
15172
+ }, Wp = Object.freeze({ colIndex: 0, rowIndex: 0 }), Hp = Object.freeze([]), Vp = Object.freeze({ cell: c.EmptyCell, ranges: Hp, rangeIndex: -1 }), $p = (t2, n2 = e.Direction.Right, r2, o2, s2, i2 = null) => {
15168
15173
  if (i2 && c.isEqualSelectionCoords(i2, t2)) return t2;
15169
15174
  const a2 = t2.ranges[t2.rangeIndex];
15170
15175
  if (!c.isRangesIntersect({ rowStart: t2.cell.rowIndex, colStart: t2.cell.colIndex, rowEnd: t2.cell.rowIndex, colEnd: t2.cell.colIndex }, a2)) return t2;
@@ -15234,11 +15239,11 @@ const zp = (t2, n2, r2) => {
15234
15239
  case e.Direction.Up:
15235
15240
  t2.ranges[h2].rowStart === g2.rowStart && t2.ranges[h2].rowEnd === g2.rowEnd && (l2.colIndex = g2.colStart), l2.colIndex === g2.colStart ? l2.rowIndex = g2.rowStart + 1 : l2.rowIndex = g2.rowStart;
15236
15241
  }
15237
- return i2 && console.warn("call recursive > 1"), jp({ cell: l2, ranges: t2.ranges, rangeIndex: h2 }, n2, r2, o2, s2, i2 ?? t2);
15242
+ return i2 && console.warn("call recursive > 1"), $p({ cell: l2, ranges: t2.ranges, rangeIndex: h2 }, n2, r2, o2, s2, i2 ?? t2);
15238
15243
  }
15239
15244
  return { ranges: t2.ranges, cell: l2, rangeIndex: h2 };
15240
15245
  };
15241
- class $p {
15246
+ class jp {
15242
15247
  constructor(t2) {
15243
15248
  this._adjusting = null, this._emitter = null, this._coords = Vp, this._sheet = t2.sheet, this._emitter = new Ki(this);
15244
15249
  const n2 = t2.sheet;
@@ -15395,7 +15400,7 @@ class $p {
15395
15400
  if (0 === o2.ranges.length) return this.navigate(r2);
15396
15401
  const s2 = this._getCellCoordsAsRangeCoords(o2.cell);
15397
15402
  if (c.isEqualRangesArrays([s2], o2.ranges)) return this.navigate(r2);
15398
- const i2 = jp(o2, r2, this._getCellCoordsAsRangeCoords.bind(this), this._hiddenRowsAt.bind(this), this._hiddenColumnsAt.bind(this));
15403
+ const i2 = $p(o2, r2, this._getCellCoordsAsRangeCoords.bind(this), this._hiddenRowsAt.bind(this), this._hiddenColumnsAt.bind(this));
15399
15404
  this.updateCoords(i2);
15400
15405
  }
15401
15406
  clear() {
@@ -15868,7 +15873,7 @@ const o_ = (t2, e2, n2, r2) => {
15868
15873
  const e3 = void 0 === n2?.sz ? t2.getDefaultSize() : n2?.sz * t2.getScaleFactor();
15869
15874
  c2 = c2?.(e3);
15870
15875
  }
15871
- if ("string" == typeof c2 && (c2 = $d(c2, e2.getNormal().getFont().getSize(), "px")), "number" == typeof c2) {
15876
+ if ("string" == typeof c2 && (c2 = jd(c2, e2.getNormal().getFont().getSize(), "px")), "number" == typeof c2) {
15872
15877
  const e3 = t2.getMinSize(), n3 = t2.getMaxSize();
15873
15878
  if (c2 = Math.max(e3, Math.min(o.roundAccurately(c2, e3), n3)), true !== s2.relativeSize) {
15874
15879
  c2 /= t2.getScaleFactor();
@@ -16009,13 +16014,13 @@ class h_ {
16009
16014
  const i2 = o2?.min ?? null, a2 = o2?.max ?? null, l2 = s2?.includeEmpty ?? false, c2 = s2?.includeStyles ?? false, h2 = s2?.excludeHidden ?? false, d2 = s2?.includeSizes ?? false, u2 = this, g2 = this._options.sheet.getStyles().getNormal(), m2 = this._defaultSize, f2 = this._scaleFactor, p2 = this._emptyHeader;
16010
16015
  let _2;
16011
16016
  const S2 = { getCoords() {
16012
- if (!_2) throw new Error(jh);
16017
+ if (!_2) throw new Error($h);
16013
16018
  return { min: _2.min, max: _2.max };
16014
16019
  }, getIndex: () => _2.min, getCellHeader() {
16015
- if (!_2) throw new Error(jh);
16020
+ if (!_2) throw new Error($h);
16016
16021
  return _2.value ? n2(u2, _2.value) : p2;
16017
16022
  }, getA1(t3) {
16018
- if (!_2) throw new Error(jh);
16023
+ if (!_2) throw new Error($h);
16019
16024
  return this._parseHeaderRangeAddress({ min: i2 + t3, end: i2 + t3 }) ?? _2;
16020
16025
  } }, w2 = Ns(e2, (e3) => {
16021
16026
  const n3 = e3.value;
@@ -16046,7 +16051,7 @@ class h_ {
16046
16051
  if (l2 && l2.break) return l2.break;
16047
16052
  }, s2 = () => {
16048
16053
  const t3 = n2._isColumn ? { colStart: r2.min, colEnd: r2.max } : { rowStart: r2.min, rowEnd: r2.max };
16049
- return jc(t3, n2._maxRangeCoords) ?? Rc;
16054
+ return $c(t3, n2._maxRangeCoords) ?? Rc;
16050
16055
  }, i2 = { getCoords: () => r2, getA1: s2, toString: s2, forEach: (t3, e3) => {
16051
16056
  let n3 = Number.MAX_SAFE_INTEGER, s3 = null;
16052
16057
  const i3 = { getIndex: () => n3, getCellHeader: () => s3.getCellHeader(), getA1: (t4) => s3.getA1(t4), getCoords: () => s3.getCoords() };
@@ -16566,7 +16571,7 @@ class p_ {
16566
16571
  const o2 = () => {
16567
16572
  if (r2) return r2;
16568
16573
  const t3 = n2.sheet, o3 = n2.isRanges, s3 = n2.coords;
16569
- return e2 || !s3 || 0 === s3.length ? jg(t3, t3.getEntireRange().getCoords(), null, e2) : o3 ? (r2 = t3.getRanges(n2.coords), r2) : (r2 = t3.getRange(n2.coords[0]), r2);
16574
+ return e2 || !s3 || 0 === s3.length ? $g(t3, t3.getEntireRange().getCoords(), null, e2) : o3 ? (r2 = t3.getRanges(n2.coords), r2) : (r2 = t3.getRange(n2.coords[0]), r2);
16570
16575
  }, s2 = t2.trigger;
16571
16576
  return { getSource: o2, trigger: s2, isTransactional: t2.isTransactional ?? true, toString: () => `SheetRangeEvent: ('${s2}', ${o2().toString()})`, timeStamp: t2.timeStamp ?? Date.now() };
16572
16577
  }
@@ -16732,7 +16737,7 @@ class y_ {
16732
16737
  const n2 = this._state.selection;
16733
16738
  if (n2) {
16734
16739
  let 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);
16740
+ !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);
16736
16741
  }
16737
16742
  if (delete t2.freezePanes, this._state.freezePanes && (0 !== this._state.freezePanes.coords.colIndex || 0 !== this._state.freezePanes.coords.rowIndex)) {
16738
16743
  const e3 = {};
@@ -16786,7 +16791,7 @@ class y_ {
16786
16791
  }
16787
16792
  }
16788
16793
  async function E_() {
16789
- const { getCrypto: t2 } = await import("./CSi4kx--AQTJXWKa.mjs");
16794
+ const { getCrypto: t2 } = await import("./DZKV8YMKiYEpXnE1.mjs");
16790
16795
  return t2();
16791
16796
  }
16792
16797
  const C_ = async (t2, e2, ...n2) => {
@@ -17177,7 +17182,7 @@ class M_ {
17177
17182
  return false;
17178
17183
  }
17179
17184
  getA1() {
17180
- return Kc(this.getCoords(), this._sheet._entireCoords, jc, Pc);
17185
+ return Kc(this.getCoords(), this._sheet._entireCoords, $c, Pc);
17181
17186
  }
17182
17187
  getSheet() {
17183
17188
  return this._sheet;
@@ -17204,8 +17209,8 @@ class N_ {
17204
17209
  }
17205
17210
  _createRange(t2, e2) {
17206
17211
  const n2 = this._sheet;
17207
- if (!t2) return jg(n2, n2._entireCoords);
17208
- if (n2._validateCoords(t2), n2._closed) return jg(null, n2._entireCoords, t2);
17212
+ if (!t2) return $g(n2, n2._entireCoords);
17213
+ if (n2._validateCoords(t2), n2._closed) return $g(null, n2._entireCoords, t2);
17209
17214
  let r2 = this._options;
17210
17215
  return e2 && (r2 = { ...this._options, getOptions: Qg(this._options?.getOptions, e2) }), new N_(t2, this._sheet, r2);
17211
17216
  }
@@ -17277,7 +17282,7 @@ class N_ {
17277
17282
  const o2 = this.getCoords();
17278
17283
  r2 || (r2 = o2);
17279
17284
  const s2 = this._sheet, i2 = s2._isDataColumn, a2 = { majorStart: i2 ? o2.colStart : o2.rowStart, majorEnd: i2 ? o2.colEnd : o2.rowEnd, minorStart: i2 ? o2.rowStart : o2.colStart, minorEnd: i2 ? o2.rowEnd : o2.colEnd }, l2 = (n2?.orientation ?? e.Orientation.Row) === e.Orientation.Column !== i2, h2 = Sl(Array.isArray(t2) ? t2 : [[t2]], l2, a2);
17280
- return s2._updateTuples(h2, { description: n2?.description ?? `Set ${c.isSingleCell(r2) ? "Cell" : "Range"} ${jc(r2, s2._entireCoords)}`, ...n2 }, null, { isCell: true }), this;
17285
+ return s2._updateTuples(h2, { description: n2?.description ?? `Set ${c.isSingleCell(r2) ? "Cell" : "Range"} ${$c(r2, s2._entireCoords)}`, ...n2 }, null, { isCell: true }), this;
17281
17286
  }
17282
17287
  setValues(t2, e2) {
17283
17288
  if (!Array.isArray(t2)) throw new Error("'setValues' expects a 2d array; when working with a single value use 'setValue'.");
@@ -17304,7 +17309,7 @@ class N_ {
17304
17309
  }
17305
17310
  const h2 = { majorStart: i2 ? r2.colStart : r2.rowStart, majorEnd: i2 ? r2.colEnd : r2.rowEnd, minorStart: i2 ? r2.rowStart : r2.colStart, minorEnd: i2 ? r2.rowEnd : r2.colEnd }, d2 = a2 !== i2;
17306
17311
  let u2 = null;
17307
- return u2 = l2 ? Sl(Array.isArray(t2) ? t2 : [[t2]], d2, h2) : _l(t2, h2, i2), s2._updateTuples(u2, { description: n2?.description ?? `Set ${c.isSingleCell(r2) ? "Value" : "Values"} ${jc(r2, s2._entireCoords)}`, ...n2 }), o2;
17312
+ return u2 = l2 ? Sl(Array.isArray(t2) ? t2 : [[t2]], d2, h2) : _l(t2, h2, i2), s2._updateTuples(u2, { description: n2?.description ?? `Set ${c.isSingleCell(r2) ? "Value" : "Values"} ${$c(r2, s2._entireCoords)}`, ...n2 }), o2;
17308
17313
  }
17309
17314
  getValues(t2) {
17310
17315
  this._validateMaxSize(t2?.maxSize);
@@ -17584,28 +17589,28 @@ class N_ {
17584
17589
  }
17585
17590
  getA1() {
17586
17591
  const t2 = this._sheet;
17587
- return jc(this.getCoords(), t2._entireCoords);
17592
+ return $c(this.getCoords(), t2._entireCoords);
17588
17593
  }
17589
17594
  get [Symbol.toStringTag]() {
17590
17595
  return "[SheetRange]";
17591
17596
  }
17592
17597
  toString() {
17593
17598
  const t2 = this._sheet;
17594
- return jc(this.getCoords(), t2._entireCoords);
17599
+ return $c(this.getCoords(), t2._entireCoords);
17595
17600
  }
17596
17601
  get isICellRange() {
17597
17602
  return true;
17598
17603
  }
17599
17604
  }
17600
17605
  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_ = () => [];
17606
+ let L_ = 0;
17607
+ const B_ = () => [];
17603
17608
  let P_ = 0;
17604
17609
  class z_ {
17605
17610
  constructor(t2) {
17606
17611
  this._lastTransactionUUID = null, this._emitter = null, this._initializing = true, this._emitterMovables = null, this._rangesListenerSorted = null, this._lastCellDecoded = { address: null, coords: null }, this._lastCellSelected = { coords: null, cell: null }, this._lastCellRead = { coords: null, cell: null }, this._lastValueRead = { range: null, isDateOrTime: null }, this._lastGetRangeRead = {}, this._lastUsedCoordsRead = { coords: null, range: null }, this._lastActiveRead = { selection: null, range: null, ranges: null }, this._lastRangeRead = { address: null, range: null, ranges: null }, this._isDataColumn = true, this._isDate1904 = false, this._colHeaders = null, this._colHeadersShiftCallback = null, this._colHeadersListener = null, this._colHeadersRemoveListener = null, this._rowHeaders = null, this._rowHeadersShiftCallback = null, this._rowHeadersListener = null, this._rowHeadersRemoveListener = null, this._closed = false;
17607
17612
  const e2 = Object.freeze({ ...t2 });
17608
- st._validate(true), this._transactions = e2.transactions ?? new k(), this._ownTransactions = !e2.transactions;
17613
+ at._validate(true), this._transactions = e2.transactions ?? new k(), this._ownTransactions = !e2.transactions;
17609
17614
  const n2 = this._beginCommit({ description: "New Sheet" }), r2 = this;
17610
17615
  try {
17611
17616
  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;
@@ -17653,8 +17658,8 @@ class z_ {
17653
17658
  this._initializing = false;
17654
17659
  }
17655
17660
  _createRange(t2, e2, n2 = null) {
17656
- if (!t2) return jg(this, this._entireCoords);
17657
- if (this._validateCoords(t2), this._closed) return jg(null, this._entireCoords, t2);
17661
+ if (!t2) return $g(this, this._entireCoords);
17662
+ if (this._validateCoords(t2), this._closed) return $g(null, this._entireCoords, t2);
17658
17663
  null === n2 && this._options.readonly && (n2 = "Readonly sheet");
17659
17664
  let r2 = null;
17660
17665
  return (e2 || n2) && (r2 = { getOptions: e2, readOnly: n2 }), new N_(((t3) => {
@@ -17749,7 +17754,7 @@ class z_ {
17749
17754
  const e3 = s2.getNames()?.getByName(t3);
17750
17755
  if (e3) return e3.getRanges().getCoords();
17751
17756
  const n3 = this._options.resolveRange?.(t3);
17752
- if (n3 && n3.getSheet() === s2) return console.warn($h), [n3.getCoords()];
17757
+ if (n3 && n3.getSheet() === s2) return console.warn(jh), [n3.getCoords()];
17753
17758
  throw new Error(`Invalid sheet reference '${t3}'.`);
17754
17759
  }
17755
17760
  }), a2 = i2.length;
@@ -17758,7 +17763,7 @@ class z_ {
17758
17763
  if (e3) {
17759
17764
  if (r2) {
17760
17765
  const t4 = e3.sheetName;
17761
- if (t4 && t4 !== this.getName()) throw new Error($h);
17766
+ if (t4 && t4 !== this.getName()) throw new Error(jh);
17762
17767
  }
17763
17768
  this._validateCoords(e3);
17764
17769
  }
@@ -18044,7 +18049,7 @@ class z_ {
18044
18049
  for (let n3 = 0; n3 < m2; n3++) {
18045
18050
  const o2 = (t3, e3) => {
18046
18051
  let n4 = null;
18047
- const r3 = $u(0, e3, () => {
18052
+ const r3 = ju(0, e3, () => {
18048
18053
  if (n4) return n4;
18049
18054
  const e4 = t3.getCoords();
18050
18055
  return n4 = og(g2, t3, e4), n4;
@@ -18134,12 +18139,12 @@ class z_ {
18134
18139
  } while (T2);
18135
18140
  return T2;
18136
18141
  };
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) => {
18138
- if (t3 === e2) return e2;
18139
- }), j2 = Cl(u2, (t3, e2) => {
18142
+ 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) => {
18140
18143
  if (t3 === e2) return e2;
18141
18144
  }), $2 = Cl(u2, (t3, e2) => {
18142
18145
  if (t3 === e2) return e2;
18146
+ }), j2 = Cl(u2, (t3, e2) => {
18147
+ if (t3 === e2) return e2;
18143
18148
  }), G2 = [];
18144
18149
  let U2 = null, J2 = null;
18145
18150
  if (false !== n2?.textParser) {
@@ -18176,10 +18181,10 @@ class z_ {
18176
18181
  const t4 = o3.style;
18177
18182
  void 0 === t4 || null === t4 && !s2 || V2.append(e2, n3, t4);
18178
18183
  const r4 = o3.hyperlink;
18179
- void 0 === r4 || null === r4 && !s2 || j2.append(e2, n3, r4);
18184
+ void 0 === r4 || null === r4 && !s2 || $2.append(e2, n3, r4);
18180
18185
  }
18181
18186
  const l3 = o3.formula;
18182
- return void 0 === l3 || null === l3 && !s2 || $2.append(e2, n3, l3), a3;
18187
+ return void 0 === l3 || null === l3 && !s2 || j2.append(e2, n3, l3), a3;
18183
18188
  };
18184
18189
  let Z2 = -1, tt2 = -1;
18185
18190
  try {
@@ -18219,21 +18224,21 @@ class z_ {
18219
18224
  const e2 = r3[t4];
18220
18225
  O2.delete(r3[t4]), W2.insertNonOverlapping({ ...e2, value: null });
18221
18226
  const n3 = D2.delete(e2);
18222
- this._updateFormulaSpatial(B2, null, n3);
18227
+ this._updateFormulaSpatial(L2, null, n3);
18223
18228
  }
18224
18229
  let i3;
18225
18230
  q2.length > 0 && (O2.setValues(q2), i3 = { tuples: q2, bounds: l2 });
18226
- let g3, m3 = $2.done();
18231
+ let g3, m3 = j2.done();
18227
18232
  if (m3.length > 1 && (m3 = tl(m3, e.Orientation.Column, 1)), i3 || m3.length > 0) {
18228
18233
  const t4 = D2.setInputs(i3, m3);
18229
- g3 = this._updateFormulaSpatial(B2, t4.inserts, t4.removes, F2.directStyleSpatial);
18234
+ g3 = this._updateFormulaSpatial(L2, t4.inserts, t4.removes, F2.directStyleSpatial);
18230
18235
  }
18231
18236
  const f3 = em(q2, u2), C3 = f3.length;
18232
18237
  for (let t4 = 0; t4 < C3; t4++) W2.insertNonOverlapping(f3[t4]);
18233
18238
  const b3 = V2.done();
18234
18239
  b3.length > 0 && this._updateStyles(b3), G2.length > 0 && this._merge(G2);
18235
- const x3 = j2.done();
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) {
18240
+ const x3 = $2.done();
18241
+ 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) {
18237
18242
  const t4 = "boolean" == typeof n2.autoFit ? X_ : n2.autoFit;
18238
18243
  this._autoFit([E2], t4);
18239
18244
  }
@@ -18335,9 +18340,9 @@ class z_ {
18335
18340
  }
18336
18341
  return 0;
18337
18342
  });
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);
18343
+ const L2 = this._beginCommit({ description: r2 });
18344
+ let B2 = [u2];
18345
+ v2 || (B2 = this._getVisible(B2, { orientations: c2 ? e.Orientations.Row : e.Orientations.Column })), this._clear(B2, void 0, void 0, true);
18341
18346
  const P2 = this._createIncrementalUpdater({ orientation: l2 });
18342
18347
  let z2 = c2 ? u2.rowStart : u2.colStart;
18343
18348
  const W2 = S2.length;
@@ -18352,7 +18357,7 @@ class z_ {
18352
18357
  }
18353
18358
  z2 += I2;
18354
18359
  }
18355
- return P2.apply(), B2.commit(), u2;
18360
+ return P2.apply(), L2.commit(), u2;
18356
18361
  }
18357
18362
  _autoFill(t2, n2, r2) {
18358
18363
  const { direction: o2, amount: s2 } = ((t3, n3) => {
@@ -18386,10 +18391,10 @@ class z_ {
18386
18391
  const O2 = [];
18387
18392
  let D2 = null;
18388
18393
  h2 || (m2 = this._beginCommit({ description: "Auto Fill", operation: { name: "autoFill", params: [t2, n2, r2] } }));
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();
18394
+ const L2 = this._cellIterator({ bounds: h2 ? y2 : t2, reverse: !N2, orientation: i2 ? e.Orientation.Column : e.Orientation.Row, includeRangeTypes: { [Rh.Type.Style]: false } });
18395
+ let B2 = L2.next();
18396
+ for (; !B2.done; ) {
18397
+ const t3 = B2.value.context, e2 = t3.getCell(), n3 = t3.getCoords();
18393
18398
  D2?.oppositeIndex !== n3[v2] && (D2 = { oppositeIndex: n3[v2], lastIndex: N2 ? I2 - 1 : R2 + 1, values: [] }, O2.push(D2));
18394
18399
  const r3 = n3[C2];
18395
18400
  if (N2) for (let t4 = D2.lastIndex + 1; t4 < r3; t4++) D2.values.push(null);
@@ -18401,7 +18406,7 @@ class z_ {
18401
18406
  let t4 = e2.getValue();
18402
18407
  D2.values.push(t4);
18403
18408
  }
18404
- L2 = B2.next();
18409
+ B2 = L2.next();
18405
18410
  }
18406
18411
  const P2 = O2.length;
18407
18412
  for (let t3 = 0; t3 < P2; t3++) {
@@ -18440,23 +18445,23 @@ class z_ {
18440
18445
  }
18441
18446
  }
18442
18447
  this._clear([p2], r2?.contentsOnly ? Xh.Content.Formats : void 0), H2.apply();
18443
- const j2 = this._getMerges([_2]), $2 = c.unionRangesArrays(j2);
18444
- if (j2.length > 0 && !c.isRangeWithinRange($2, _2)) throw new Error(Wh);
18445
- if (j2.length > 0) {
18448
+ const $2 = this._getMerges([_2]), j2 = c.unionRangesArrays($2);
18449
+ if ($2.length > 0 && !c.isRangeWithinRange(j2, _2)) throw new Error(Wh);
18450
+ if ($2.length > 0) {
18446
18451
  const n3 = [], r3 = s2 / E2;
18447
18452
  if (i2) {
18448
- const s3 = t2.rowEnd - t2.rowStart + 1, i3 = o2 === e.Direction.Up ? p2.rowStart : t2.rowEnd + 1, a3 = j2.length;
18453
+ const s3 = t2.rowEnd - t2.rowStart + 1, i3 = o2 === e.Direction.Up ? p2.rowStart : t2.rowEnd + 1, a3 = $2.length;
18449
18454
  for (let e2 = 0; e2 < a3; e2++) {
18450
- const o3 = j2[e2], a4 = o3.rowStart - t2.rowStart, l3 = o3.rowEnd - o3.rowStart + 1;
18455
+ const o3 = $2[e2], a4 = o3.rowStart - t2.rowStart, l3 = o3.rowEnd - o3.rowStart + 1;
18451
18456
  for (let t3 = 0; t3 < r3; t3++) {
18452
18457
  const e3 = t3 * s3;
18453
18458
  n3.push({ colStart: o3.colStart, rowStart: i3 + e3 + a4, colEnd: o3.colEnd, rowEnd: i3 + e3 + a4 + l3 - 1 });
18454
18459
  }
18455
18460
  }
18456
18461
  } else {
18457
- const s3 = t2.colEnd - t2.colStart + 1, i3 = o2 === e.Direction.Left ? p2.colStart : t2.colEnd + 1, a3 = j2.length;
18462
+ const s3 = t2.colEnd - t2.colStart + 1, i3 = o2 === e.Direction.Left ? p2.colStart : t2.colEnd + 1, a3 = $2.length;
18458
18463
  for (let e2 = 0; e2 < a3; e2++) {
18459
- const o3 = j2[e2], a4 = o3.colStart - t2.colStart, l3 = o3.colEnd - o3.colStart + 1;
18464
+ const o3 = $2[e2], a4 = o3.colStart - t2.colStart, l3 = o3.colEnd - o3.colStart + 1;
18460
18465
  for (let t3 = 0; t3 < r3; t3++) {
18461
18466
  const e3 = t3 * s3;
18462
18467
  n3.push({ colStart: i3 + e3 + a4, rowStart: o3.rowStart, colEnd: i3 + e3 + a4 + l3 - 1, rowEnd: o3.rowEnd });
@@ -18748,7 +18753,7 @@ class z_ {
18748
18753
  }
18749
18754
  }
18750
18755
  _merge(t2, n2 = null) {
18751
- if (this._protectionCheck(L_, t2), 1 === t2.length && c.isSingleCell(t2[0])) return;
18756
+ if (this._protectionCheck(B_, t2), 1 === t2.length && c.isSingleCell(t2[0])) return;
18752
18757
  let r2 = e.Orientations.Both;
18753
18758
  n2?.orientations ? r2 = n2?.orientations : n2 === e.Orientations.Row ? r2 = e.Orientations.Row : n2 === e.Orientations.Column && (r2 = e.Orientations.Column);
18754
18759
  const o2 = n2?.discardMultipleValues ?? false;
@@ -18835,7 +18840,7 @@ class z_ {
18835
18840
  }
18836
18841
  }
18837
18842
  _unmerge(t2, e2) {
18838
- if (this._protectionCheck(L_, t2), Xl(t2)) throw new Error("We can't unmerge intersecting ranges.");
18843
+ if (this._protectionCheck(B_, t2), Xl(t2)) throw new Error("We can't unmerge intersecting ranges.");
18839
18844
  if (!this._getState()) return null;
18840
18845
  const n2 = c.unionRangesArrays(t2), r2 = om(t2), o2 = this._beginCommit({ description: e2?.description ?? "Unmerge" }), s2 = o2.getState(this).mergeSpatial, i2 = [];
18841
18846
  try {
@@ -18913,7 +18918,7 @@ class z_ {
18913
18918
  s4 = Math.min(e6.x, s4), i5 = Math.min(e6.y, i5);
18914
18919
  }
18915
18920
  e5 = t4 - s4, n5 = r5 - i5;
18916
- const c3 = o2[0].getCoords(), d4 = { ...c3, x: c3.x + e5, y: c3.y + n5 }, u4 = Lp(a4.getMovables(), d4);
18921
+ const c3 = o2[0].getCoords(), d4 = { ...c3, x: c3.x + e5, y: c3.y + n5 }, u4 = Bp(a4.getMovables(), d4);
18917
18922
  e5 += u4.x, n5 += u4.y;
18918
18923
  } else if (s3) {
18919
18924
  const t4 = a4.getRange(d3).getBounds();
@@ -19114,13 +19119,13 @@ class z_ {
19114
19119
  }
19115
19120
  const k2 = n2._getState(), F2 = {}, O2 = { transpose: s3 ?? false };
19116
19121
  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);
19117
- const D2 = l2, B2 = D2._getState(), L2 = Object.keys(F2), P2 = L2.length;
19122
+ const D2 = l2, L2 = D2._getState(), B2 = Object.keys(F2), P2 = B2.length;
19118
19123
  for (let t3 = 0; t3 < P2; t3++) {
19119
- const e2 = L2[t3], n3 = F2[e2].createCopiedEntries(d2, v2, O2), r4 = B2[e2].clone(), o2 = n3.removes, s4 = o2.length;
19124
+ const e2 = B2[t3], n3 = F2[e2].createCopiedEntries(d2, v2, O2), r4 = L2[e2].clone(), o2 = n3.removes, s4 = o2.length;
19120
19125
  for (let t4 = 0; t4 < s4; t4++) r4.remove(o2[t4]);
19121
- r4.load(n3.inserts), B2[e2] = r4;
19126
+ r4.load(n3.inserts), L2[e2] = r4;
19122
19127
  }
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 }) });
19128
+ 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), T2?.apply(), S2.length > 0 && l2.getRanges(S2).merge(), I2.commit({ viewBefore: x2, viewAfter: (t3) => ({ ...t3, view: l2.getView(), selection: om(C2), ranges: E2 }) });
19124
19129
  } catch (t3) {
19125
19130
  throw console.warn(t3), I2.rollback(), new Error(((t4) => `Unable to paste: ${t4}`)(t3.message), { cause: t3 });
19126
19131
  }
@@ -19310,12 +19315,12 @@ class z_ {
19310
19315
  };
19311
19316
  for (let n3 = 0; n3 < A2; n3++) {
19312
19317
  const r3 = [];
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;
19318
+ let f3 = -1, p3 = false, A3 = b2, N3 = 1, D2 = 1, L2 = 1;
19319
+ const B2 = R2[n3];
19320
+ let P2 = B2.colStart, z2 = B2.rowStart, W2 = B2.colEnd, H2 = B2.rowEnd;
19316
19321
  const V2 = this._getUsedCoords();
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);
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) => {
19322
+ (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);
19323
+ const $2 = { 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 }, j2 = h2 ? [] : void 0, G2 = l2 ? [] : void 0, U2 = (t2, e2, n4) => {
19319
19324
  if (t2 > e2) return null;
19320
19325
  const r4 = [];
19321
19326
  let o4 = t2;
@@ -19334,15 +19339,15 @@ class z_ {
19334
19339
  r4.push(t3);
19335
19340
  }
19336
19341
  return r4;
19337
- }, J2 = this._rangeStateIterator(j2);
19342
+ }, J2 = this._rangeStateIterator($2);
19338
19343
  let q2 = J2.next();
19339
19344
  for (; !q2.done; ) {
19340
19345
  const t2 = q2.value, e2 = t2.intersection, n4 = t2.start, r4 = t2.end;
19341
19346
  V_.colStart = n4.colIndex, V_.rowStart = n4.rowIndex, V_.colEnd = r4.colIndex, V_.rowEnd = r4.rowIndex;
19342
- const o4 = c.intersectRanges(V_, L2, H_), s4 = Eg(0, o4, e2, v2).getBestFit();
19347
+ const o4 = c.intersectRanges(V_, B2, H_), s4 = Eg(0, o4, e2, v2).getBestFit();
19343
19348
  if (h2) {
19344
19349
  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 };
19345
- $2.push(i4);
19350
+ j2.push(i4);
19346
19351
  }
19347
19352
  if (l2) {
19348
19353
  const t3 = Math.max(n4.colIndex, P2), e3 = Math.min(r4.colIndex, W2), o5 = s4.width, i4 = { address: { min: t3, max: e3 }, update: { size: O2(s4.width), autoSize: true }, sizeSet: null === o5 ? k2 : o5 };
@@ -19354,23 +19359,23 @@ class z_ {
19354
19359
  G2.sort(m2);
19355
19360
  let t2 = this._colHeaders.updateHeaderPairs(G2, M2);
19356
19361
  t2 = bs(vs(xs(t2)));
19357
- const e2 = U2(L2.colStart, L2.colEnd, t2);
19362
+ const e2 = U2(B2.colStart, B2.colEnd, t2);
19358
19363
  e2 && this._colHeaders.updateHeaderPairs(e2, M2);
19359
19364
  }
19360
- if ($2) {
19361
- $2.sort(m2);
19362
- let t2 = this._rowHeaders.updateHeaderPairs($2, M2);
19365
+ if (j2) {
19366
+ j2.sort(m2);
19367
+ let t2 = this._rowHeaders.updateHeaderPairs(j2, M2);
19363
19368
  t2 = bs(vs(xs(t2)));
19364
- const e2 = U2(L2.rowStart, L2.rowEnd, t2);
19369
+ const e2 = U2(B2.rowStart, B2.rowEnd, t2);
19365
19370
  e2 && this._rowHeaders.updateHeaderPairs(e2, M2);
19366
19371
  }
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 });
19372
+ const K2 = this._cellStateIterator({ ...$2, includeRangeTypes: { [Rh.Type.Merge]: false, [Rh.Type.Table]: false, [Rh.Type.Style]: false, [Rh.Type.Continuous]: false }, ignoreEmptyIntersections: true });
19368
19373
  let X2, Y2, Q2, Z2 = K2.next(), tt2 = 1, et2 = 1;
19369
19374
  for (; !Z2.done; ) {
19370
19375
  const e2 = Z2.value, n4 = e2[0], l3 = e2[2];
19371
19376
  let h3 = b2;
19372
19377
  const d3 = l3?.directStyle ?? l3?.table.getStyle() ?? null;
19373
- d3 === X2 ? h3 = Y2 : (h3 = d3 ? Eg(0, c.cellToRange(n4, j_), l3, v2) : b2, Y2 = h3);
19378
+ d3 === X2 ? h3 = Y2 : (h3 = d3 ? Eg(0, c.cellToRange(n4, $_), l3, v2) : b2, Y2 = h3);
19374
19379
  let u3 = 1, g3 = 1;
19375
19380
  const m3 = l3?.merge ?? null;
19376
19381
  if (m3 === Q2) u3 = tt2, g3 = et2;
@@ -19381,12 +19386,12 @@ class z_ {
19381
19386
  } else u3 = 1, g3 = 1;
19382
19387
  tt2 = u3, et2 = g3;
19383
19388
  }
19384
- const x3 = n4.colIndex, I3 = n4.rowIndex, R3 = e2[1], M3 = hc(R3), T3 = c.isCellWithinRange(n4, L2), k3 = l3?.continuous ?? null;
19389
+ const x3 = n4.colIndex, I3 = n4.rowIndex, R3 = e2[1], M3 = hc(R3), T3 = c.isCellWithinRange(n4, B2), k3 = l3?.continuous ?? null;
19385
19390
  if (k3) {
19386
- B2 = k3.getCoords().colEnd - x3 + 1;
19391
+ L2 = k3.getCoords().colEnd - x3 + 1;
19387
19392
  }
19388
19393
  let F3 = false, O3 = false;
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;
19394
+ 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: L2, 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;
19390
19395
  else switch (M3) {
19391
19396
  case t.Number:
19392
19397
  0 === R3 && (i3 = true), o3 = Math.min(o3, R3), s3 = Math.max(s3, R3);
@@ -19402,7 +19407,7 @@ class z_ {
19402
19407
  }
19403
19408
  Z2 = K2.next();
19404
19409
  }
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 });
19410
+ -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: L2, measureWidth: -1, measureHeight: -1, isFit: p3 });
19406
19411
  let nt2 = -1, rt2 = -1;
19407
19412
  const ot2 = r3.length;
19408
19413
  for (let e2 = 0; e2 < ot2; e2++) {
@@ -19476,7 +19481,7 @@ class z_ {
19476
19481
  _createRangeEvent(t2, e2) {
19477
19482
  const n2 = this, r2 = () => {
19478
19483
  const e3 = n2._getState();
19479
- return this._closed || e3.deleted ? jg(null) : t2 ? Array.isArray(t2) ? n2._createRanges(t2) : n2._createRange(t2) : jg(this, this._entireCoords);
19484
+ return this._closed || e3.deleted ? $g(null) : t2 ? Array.isArray(t2) ? n2._createRanges(t2) : n2._createRange(t2) : $g(this, this._entireCoords);
19480
19485
  }, o2 = e2.trigger;
19481
19486
  return { getSource: r2, getFrom: () => e2.from ?? null, getTo: () => e2.to ?? null, trigger: o2, isUndo: e2.isUndo ?? false, isDataChange: e2.isDataChange ?? false, isTransactional: e2.isTransactional ?? true, toString: () => `SheetRangeEvent: ('${o2}', ${r2().toString()})`, timeStamp: e2.timeStamp ?? Date.now() };
19482
19487
  }
@@ -19572,7 +19577,7 @@ class z_ {
19572
19577
  if (this._closed) throw new Error(Vh);
19573
19578
  if (!e2) throw new Error(Dh);
19574
19579
  n2 = n2 ? { ...G_, ...n2 } : G_;
19575
- const r2 = n2?.transactional ?? false, o2 = this, s2 = B_++ % Number.MAX_SAFE_INTEGER, i2 = () => {
19580
+ const r2 = n2?.transactional ?? false, o2 = this, s2 = L_++ % Number.MAX_SAFE_INTEGER, i2 = () => {
19576
19581
  let t3 = null, e3 = null;
19577
19582
  if (r2) {
19578
19583
  const n4 = o2._getState();
@@ -20227,7 +20232,7 @@ class z_ {
20227
20232
  }
20228
20233
  }
20229
20234
  async _addMovable(t2) {
20230
- if (!this.getProtection().isObjectsAllowed()) throw new Error(Bh);
20235
+ if (!this.getProtection().isObjectsAllowed()) throw new Error(Lh);
20231
20236
  if (!t2) throw new Error("No movable options provided");
20232
20237
  if (this._closed) throw new Error(Vh);
20233
20238
  const e2 = {};
@@ -20246,12 +20251,12 @@ class z_ {
20246
20251
  }
20247
20252
  async _addImage(t2, e2 = { type: "picture" }) {
20248
20253
  if (!t2) throw new Error("An image must be provided as a string or a resource option.");
20249
- if (!this.getProtection().isObjectsAllowed()) throw new Error(Bh);
20254
+ if (!this.getProtection().isObjectsAllowed()) throw new Error(Lh);
20250
20255
  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);
20251
20256
  URL.revokeObjectURL(l2);
20252
20257
  const c2 = { ...i2, ...a2, ...e2?.bounds };
20253
20258
  if (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));
20259
+ const t3 = Bp(this.getMovables(), c2, o.isNullOrUndefined(e2?.bounds?.x), o.isNullOrUndefined(e2?.bounds?.y));
20255
20260
  c2.x += t3.x, c2.y += t3.y;
20256
20261
  }
20257
20262
  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));
@@ -20280,7 +20285,7 @@ class z_ {
20280
20285
  _validateOrRemoveOverlaps(t2, e2, n2 = null, r2 = false) {
20281
20286
  const o2 = this;
20282
20287
  "merge" !== e2 && Ql(this._getMerges([t2]), t2, (t3, n3) => {
20283
- if (n3 || !r2) throw new Error(Lh(e2));
20288
+ if (n3 || !r2) throw new Error(Bh(e2));
20284
20289
  o2._unmerge([t3]);
20285
20290
  });
20286
20291
  const s2 = [], i2 = this.getTables().getItems({ address: t2 }), a2 = i2.length;
@@ -20289,7 +20294,7 @@ class z_ {
20289
20294
  n2 !== e3 && s2.push(e3.getAnchorCoords());
20290
20295
  }
20291
20296
  Ql(s2, t2, (t3, n3, o3) => {
20292
- if (n3 || !r2) throw new Error(Lh(e2));
20297
+ if (n3 || !r2) throw new Error(Bh(e2));
20293
20298
  i2[o3].delete();
20294
20299
  });
20295
20300
  }
@@ -20418,18 +20423,18 @@ class z_ {
20418
20423
  this._rowHeaders.getRange(e2).forEachVisibleSpan((e3, n3) => {
20419
20424
  this._colHeaders.getRange(t4).forEachVisibleSpan((t5, r4) => {
20420
20425
  u2(h2.search({ colStart: t5, rowStart: e3, colEnd: r4, rowEnd: n3 }, i2));
20421
- }, $_);
20422
- }, $_);
20426
+ }, j_);
20427
+ }, j_);
20423
20428
  } else if (s2 === e.Orientation.Column) {
20424
20429
  const t4 = { min: r3.colStart, max: r3.colEnd };
20425
20430
  this._colHeaders.getRange(t4).forEachVisibleSpan((t5, e2) => {
20426
20431
  u2(h2.search({ colStart: t5, rowStart: r3.rowStart, colEnd: e2, rowEnd: r3.rowEnd }, i2));
20427
- }, $_);
20432
+ }, j_);
20428
20433
  } else if (s2 === e.Orientation.Row) {
20429
20434
  const t4 = { min: r3.rowStart, max: r3.rowEnd };
20430
20435
  this._rowHeaders.getRange(t4).forEachVisibleSpan((t5, e2) => {
20431
20436
  u2(h2.search({ colStart: r3.colStart, rowStart: t5, colEnd: r3.colEnd, rowEnd: e2 }, i2));
20432
- }, $_);
20437
+ }, j_);
20433
20438
  }
20434
20439
  } else u2(h2.search(r3, i2));
20435
20440
  }
@@ -20626,7 +20631,7 @@ class z_ {
20626
20631
  const e2 = t2._getState();
20627
20632
  e2 && e2.movableSpatial.clear();
20628
20633
  } });
20629
- const r2 = new $p({ sheet: this }), o2 = { onChange() {
20634
+ const r2 = new jp({ sheet: this }), o2 = { onChange() {
20630
20635
  t2._emitter.notify("onSelectionChange");
20631
20636
  } }, s2 = r2.addListeners(o2, { transactional: false });
20632
20637
  this._rangeSelection = r2, this._rangeSelectionRemoveListener = s2;
@@ -21031,12 +21036,12 @@ class z_ {
21031
21036
  (i2()?.value ?? o2).processLayoutCallback = t3;
21032
21037
  }, initialAnchor: r2, maxRangeCoords: this._entireCoords, json: t2 }, _2 = t2.content.json, S2 = { type: d2, transactions: this._transactions, beginPersistResource: m2, fromResourceId: n2, defaultLockAspectRatio: f2, json: _2 };
21033
21038
  let w2 = null;
21034
- if ("picture" === d2) w2 = new jm(S2);
21039
+ if ("picture" === d2) w2 = new $m(S2);
21035
21040
  else if ("chart" === d2) w2 = new Op(S2);
21036
21041
  else if ("sp" === d2 || "cxnSp" === d2 || "grpSp" === d2) w2 = new Dp(S2);
21037
21042
  else {
21038
21043
  if ("graphicFrame" !== d2) throw new Error(((t3) => `Unsupported float type: ${t3}`)(d2));
21039
- w2 = new Bp(S2);
21044
+ w2 = new Lp(S2);
21040
21045
  }
21041
21046
  return o2.model = new bp({ ...p2, content: w2 }), u2 = false, s2;
21042
21047
  }
@@ -21171,10 +21176,10 @@ class z_ {
21171
21176
  this._createConditionalEntries(t3, k2, F2);
21172
21177
  }
21173
21178
  }
21174
- const D2 = h2.calcGraph, B2 = D2.fromJSON({ formulas: o2.formulas, data: p2, dynamic: o2.dynamicArray, volatile: o2.volatile });
21179
+ const D2 = h2.calcGraph, L2 = D2.fromJSON({ formulas: o2.formulas, data: p2, dynamic: o2.dynamicArray, volatile: o2.volatile });
21175
21180
  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");
21181
+ const B2 = this._getUsedCoords();
21182
+ 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");
21178
21183
  } finally {
21179
21184
  l2.endPersist(), a2.endPersist(), i2.endPersist();
21180
21185
  }
@@ -21228,7 +21233,7 @@ class z_ {
21228
21233
  return true;
21229
21234
  }
21230
21235
  }
21231
- const W_ = { address: null, scope: null }, H_ = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, V_ = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, j_ = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, $_ = { includeHidden: false };
21236
+ const W_ = { address: null, scope: null }, H_ = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, V_ = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, $_ = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, j_ = { includeHidden: false };
21232
21237
  Object.freeze({ [Xh.Content.Values]: Number.MAX_SAFE_INTEGER, [Xh.Content.Formulas]: Number.MAX_SAFE_INTEGER }), Object.freeze({ [Xh.Content.Values]: 1, [Xh.Content.Formulas]: 1 });
21233
21238
  const G_ = { ignoreDataChanges: false }, U_ = { colStart: -1, rowStart: -1, colEnd: -1, rowEnd: -1 }, J_ = [{ colIndex: -1, rowIndex: -1 }, null, null, null, null], q_ = [Xh.Content.Values], K_ = { size: null, autoSize: true }, X_ = { skipCustomSize: true, expandOnly: true, minContent: true }, Y_ = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 }, Q_ = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 }, Z_ = { showFormulaBar: true, showTabs: true, tabRatio: 600, showHorizontalScrollbar: true, showVerticalScrollbar: true, showStatusBar: true, activeSheetId: null };
21234
21239
  class tS {
@@ -21406,7 +21411,7 @@ class eS {
21406
21411
  }
21407
21412
  }
21408
21413
  let 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);
21414
+ 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);
21410
21415
  let sS;
21411
21416
  class iS extends Jf {
21412
21417
  constructor(t2, e2, n2, r2 = null, o2 = false) {
@@ -21456,7 +21461,7 @@ class iS extends Jf {
21456
21461
  })({});
21457
21462
  }
21458
21463
  try {
21459
- $f({ getPosition: () => n4.getCell().getCoords() }), sS = globalThis[rS], globalThis[rS] = oS;
21464
+ jf({ getPosition: () => n4.getCell().getCoords() }), sS = globalThis[rS], globalThis[rS] = oS;
21460
21465
  const e3 = this._fn;
21461
21466
  o2 = e3.call(s2, ...t3), sS ? (globalThis[rS] = sS, sS = void 0) : delete globalThis[rS], Gf();
21462
21467
  } catch (t4) {
@@ -21510,7 +21515,7 @@ class aS {
21510
21515
  const lS = async (t2, e2) => {
21511
21516
  let n2 = null;
21512
21517
  try {
21513
- $f(null);
21518
+ jf(null);
21514
21519
  } catch (t3) {
21515
21520
  console.warn("Error setting global scope", t3);
21516
21521
  }
@@ -21676,7 +21681,7 @@ class CS {
21676
21681
  return this._get().length;
21677
21682
  }
21678
21683
  }
21679
- const bS = new RegExp(/[\\/\\*?:[\]]+/), vS = new RegExp(/\(((\d+)(?!.*\d))\)$/, "g"), xS = (t2) => `Sheet${t2 + 1}`, IS = (t2, e2) => ({ ...Vg, getSheet: () => null, toString: () => $c(t2, e2) }), RS = (t2, e2 = false) => {
21684
+ const bS = new RegExp(/[\\/\\*?:[\]]+/), vS = new RegExp(/\(((\d+)(?!.*\d))\)$/, "g"), xS = (t2) => `Sheet${t2 + 1}`, IS = (t2, e2) => ({ ...Vg, getSheet: () => null, toString: () => jc(t2, e2) }), RS = (t2, e2 = false) => {
21680
21685
  if (!t2) throw new Error(wS);
21681
21686
  if (bS.test(t2)) {
21682
21687
  if (!e2) throw new Error(((t3) => `${t3 ? `'${t3}'` : SS} can not contain any of the following characters '\\ , / , * , ? , : , [ , ]'.`)(t2));
@@ -21739,7 +21744,7 @@ class AS extends M_ {
21739
21744
  }
21740
21745
  toString() {
21741
21746
  const t2 = this.getCoords(), e2 = this._sheet, n2 = e2.getEntireRange().getCoords(), r2 = { sheetName: e2.getName(), ...n2 };
21742
- return Kc(t2, r2, $c, Pc);
21747
+ return Kc(t2, r2, jc, Pc);
21743
21748
  }
21744
21749
  }
21745
21750
  class MS extends N_ {
@@ -21752,8 +21757,8 @@ class MS extends N_ {
21752
21757
  }
21753
21758
  _createRange(t2, e2) {
21754
21759
  const n2 = this._sheet;
21755
- if (!t2) return jg(n2, n2._entireCoords);
21756
- if (n2._validateCoords(t2), n2._closed) return jg(null, n2._entireCoords, t2);
21760
+ if (!t2) return $g(n2, n2._entireCoords);
21761
+ if (n2._validateCoords(t2), n2._closed) return $g(null, n2._entireCoords, t2);
21757
21762
  let r2 = this._options;
21758
21763
  return e2 && (r2 = { ...this._options, getOptions: Qg(this._options?.getOptions, e2) }), new MS(t2, this._sheet, this._workbook, r2);
21759
21764
  }
@@ -21765,7 +21770,7 @@ class MS extends N_ {
21765
21770
  }
21766
21771
  toString() {
21767
21772
  const t2 = this._sheet, e2 = t2?.getEntireRange().getCoords() ?? null;
21768
- return $c(this.getCoords(), { ...e2, sheetName: t2.getName() });
21773
+ return jc(this.getCoords(), { ...e2, sheetName: t2.getName() });
21769
21774
  }
21770
21775
  addListener(t2, e2) {
21771
21776
  if (!this.getCoords()) return () => {
@@ -21851,7 +21856,7 @@ class NS {
21851
21856
  _initState() {
21852
21857
  let t2 = this._getSheetRefs();
21853
21858
  for (let e3 = t2 && t2.length - 1; e3 >= 0; e3--) ;
21854
- this._isDate1904 = this._options.date1904 ?? false, this._theme = this._options.theme ?? new $i().getDefaultTheme(), this._styles = this._options?.styles ?? new Fm(this._theme), this._ownStyles = !this._options.styles, this._styles.getTheme() || this._styles.setTheme(this.getTheme()), this._activeSheetOffset = 0, this.setView(new tS()), this._listenerProtection?.(), this._protection = new uS(void 0, this._options.readonly ?? false), this._listenerProtection = this._protection.addListeners({ onChange: (t3) => {
21859
+ this._isDate1904 = this._options.date1904 ?? false, this._theme = this._options.theme ?? new ji().getDefaultTheme(), this._styles = this._options?.styles ?? new Fm(this._theme), this._ownStyles = !this._options.styles, this._styles.getTheme() || this._styles.setTheme(this.getTheme()), this._activeSheetOffset = 0, this.setView(new tS()), this._listenerProtection?.(), this._protection = new uS(void 0, this._options.readonly ?? false), this._listenerProtection = this._protection.addListeners({ onChange: (t3) => {
21855
21860
  e2._emitter.notify("onProtectionChange");
21856
21861
  } });
21857
21862
  const e2 = this;
@@ -22547,7 +22552,7 @@ export {
22547
22552
  Xh as ICell,
22548
22553
  ap as ICellHeaderRange,
22549
22554
  ip as ICellRange,
22550
- Bs as IColor,
22555
+ Ls as IColor,
22551
22556
  dp as IConditionalFormat,
22552
22557
  Os as IFill,
22553
22558
  qo as IFont,
@@ -22564,11 +22569,11 @@ export {
22564
22569
  wo as ITextFrame,
22565
22570
  Ei as ITheme,
22566
22571
  Ci as IThemeCollection,
22567
- st as LicenseManager,
22572
+ at as LicenseManager,
22568
22573
  fi as NumberFormat,
22569
- jm as Picture,
22574
+ $m as Picture,
22570
22575
  yp as RangeClipboardItem,
22571
- Bm as Resource,
22576
+ Lm as Resource,
22572
22577
  Pm as ResourceCollection,
22573
22578
  z_ as Sheet,
22574
22579
  Xo as SimpleFontFace,
@@ -22579,9 +22584,9 @@ export {
22579
22584
  bm as Table,
22580
22585
  Po as TextUtils,
22581
22586
  Vi as Theme,
22582
- $i as ThemeCollection,
22587
+ ji as ThemeCollection,
22583
22588
  k as TransactionStore,
22584
- B as TransactionUndoManager,
22589
+ L as TransactionUndoManager,
22585
22590
  Tt as Tuple,
22586
22591
  NS as Workbook,
22587
22592
  tS as WorkbookView,