@fileverse-dev/dsheet 3.0.1-yjs-10 → 3.0.1-yjs-11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ var Wu = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
9
9
  function bs(e) {
10
10
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
11
11
  }
12
- function hp(e) {
12
+ function pp(e) {
13
13
  if (e.__esModule) return e;
14
14
  var t = e.default;
15
15
  if (typeof t == "function") {
@@ -35,7 +35,7 @@ const hr = {}, Ra = {
35
35
  hi: () => import("./hi-Ca55EZ4A.js"),
36
36
  "zh-TW": () => import("./zh_tw-CINWHD2H.js")
37
37
  };
38
- async function pp(e) {
38
+ async function gp(e) {
39
39
  const t = e in Ra ? e : e.split("-")[0], n = t in Ra ? t : "en";
40
40
  if (hr[n]) return;
41
41
  const r = await Ra[n]();
@@ -119,7 +119,7 @@ function Ju(e) {
119
119
  function Bn(e) {
120
120
  return e == null ? !1 : typeof e != "object" ? !0 : ha(e);
121
121
  }
122
- function gp(e, t) {
122
+ function yp(e, t) {
123
123
  if (e === t) return !0;
124
124
  if (e == null || t == null) return !1;
125
125
  const n = e, r = t;
@@ -235,7 +235,7 @@ function ac(e) {
235
235
  }
236
236
  return n.push([r, a]), n;
237
237
  }
238
- function yp(e, t, n) {
238
+ function bp(e, t, n) {
239
239
  if (!(e != null && e.length)) return [];
240
240
  const r = [];
241
241
  return e.forEach((a) => {
@@ -249,7 +249,7 @@ function yp(e, t, n) {
249
249
  });
250
250
  }), Jn(r);
251
251
  }
252
- function bp(e, t, n) {
252
+ function wp(e, t, n) {
253
253
  if (!(e != null && e.length)) return [];
254
254
  const r = { ...t }, a = n.row[0] - t.row[0], l = n.column[0] - t.column[0], o = [];
255
255
  e.forEach((s) => {
@@ -418,7 +418,7 @@ function Ao(e, t) {
418
418
  }
419
419
  }
420
420
  }
421
- function wp(e) {
421
+ function vp(e) {
422
422
  var s;
423
423
  if (Array.isArray(e.data) && e.data.length > 0)
424
424
  return e.data;
@@ -462,7 +462,7 @@ function fc(e, t) {
462
462
  return !0;
463
463
  return !1;
464
464
  }
465
- function vp(e) {
465
+ function _p(e) {
466
466
  return e.luckysheetfile;
467
467
  }
468
468
  function Ss(e, t, n) {
@@ -489,7 +489,7 @@ function Eo(e, t = {}) {
489
489
  const r = e.luckysheetfile[n];
490
490
  return r ? (a = r.data) != null && a.length ? r.data : Ss(e, n, r) : null;
491
491
  }
492
- function _p(e, t) {
492
+ function Tp(e, t) {
493
493
  const n = Ee(e, t);
494
494
  e.luckysheetfile[n].hide = 1, e.luckysheetfile[n].status = 0;
495
495
  const r = e.luckysheetfile.filter(
@@ -497,7 +497,7 @@ function _p(e, t) {
497
497
  );
498
498
  e.currentSheetId = r[0].id;
499
499
  }
500
- function Tp(e, t) {
500
+ function $p(e, t) {
501
501
  const n = Ee(e, t);
502
502
  e.luckysheetfile[n].hide = void 0;
503
503
  }
@@ -525,10 +525,10 @@ function dc(e, t) {
525
525
  } while (s.indexOf(c) !== -1);
526
526
  return c;
527
527
  }
528
- function $p(e, t) {
528
+ function Cp(e, t) {
529
529
  var c, f, m, d, p;
530
530
  const n = Ee(e, t), r = e.luckysheetfile[n].order + 1, a = dc(e, t), l = h.cloneDeep(e.luckysheetfile[n]);
531
- delete l.id, delete l.status, l.celldata = To(l.data), delete l.data, Jh(
531
+ delete l.id, delete l.status, l.celldata = To(l.data), delete l.data, ep(
532
532
  e,
533
533
  void 0,
534
534
  ws(),
@@ -548,7 +548,7 @@ function $p(e, t) {
548
548
  (g) => g && typeof g == "object" && "id" in g ? { ...g, id: u } : g
549
549
  ));
550
550
  const s = {};
551
- if (s[u] = r, ep(e, s), wo(e, u), (d = e == null ? void 0 : e.hooks) != null && d.updateAllCell)
551
+ if (s[u] = r, tp(e, s), wo(e, u), (d = e == null ? void 0 : e.hooks) != null && d.updateAllCell)
552
552
  e.hooks.updateAllCell(u, "duplicateSheet");
553
553
  else if ((p = e == null ? void 0 : e.hooks) != null && p.updateCellYdoc) {
554
554
  const g = [], y = i.celldata || To(i.data);
@@ -565,7 +565,7 @@ function $p(e, t) {
565
565
  }), g.length > 0 && e.hooks.updateCellYdoc(g);
566
566
  }
567
567
  }
568
- function Cp(e, t) {
568
+ function Np(e, t) {
569
569
  var r, a, l;
570
570
  const n = Ee(e, t);
571
571
  if (e.luckysheetfile[n].data)
@@ -588,7 +588,7 @@ function Cp(e, t) {
588
588
  On(e, o, i, t);
589
589
  }
590
590
  }
591
- function Np(e, t, n) {
591
+ function Sp(e, t, n) {
592
592
  var a, l, o, i, u;
593
593
  const r = Ee(e, t);
594
594
  if (e.luckysheetfile[r].data)
@@ -14478,7 +14478,7 @@ let Do = "uk";
14478
14478
  function ef(e) {
14479
14479
  return e === "us" ? "us" : "uk";
14480
14480
  }
14481
- function Sp(e) {
14481
+ function kp(e) {
14482
14482
  Do = ef(e);
14483
14483
  }
14484
14484
  function tf() {
@@ -14512,7 +14512,7 @@ function af(e) {
14512
14512
  function of(e, t) {
14513
14513
  return af(e) ? e : Is(t);
14514
14514
  }
14515
- const Nr = "light", kp = "#EFC703", io = {
14515
+ const Nr = "light", Ap = "#EFC703", io = {
14516
14516
  light: {
14517
14517
  cellBg: "#FFFFFF",
14518
14518
  gridLine: "#e8ebec",
@@ -14565,11 +14565,11 @@ const Nr = "light", kp = "#EFC703", io = {
14565
14565
  }
14566
14566
  }, lf = (e) => io[e ?? Nr] ?? io[Nr];
14567
14567
  let sr = io[Nr], Pi = Nr;
14568
- const Ap = (e) => {
14568
+ const Ep = (e) => {
14569
14569
  const t = e ?? Nr;
14570
14570
  return t === Pi ? !1 : (Pi = t, sr = lf(t), !0);
14571
14571
  };
14572
- function Ep(e) {
14572
+ function Mp(e) {
14573
14573
  if (document.createRange)
14574
14574
  if (e.innerHTML !== e.innerText || e.innerHTML === "") {
14575
14575
  e.focus();
@@ -14661,7 +14661,7 @@ function Oa(e, t, n) {
14661
14661
  c.setStart(l, o), c.setEnd(i, u), r.removeAllRanges(), r.addRange(c);
14662
14662
  }
14663
14663
  }
14664
- function Mp(e, t, n) {
14664
+ function Rp(e, t, n) {
14665
14665
  if (t >= n) return [];
14666
14666
  let r = 0, a = null, l = 0, o = null, i = 0;
14667
14667
  function u(f) {
@@ -14724,7 +14724,7 @@ function $n(e) {
14724
14724
  var t;
14725
14725
  return (e == null ? void 0 : e.t) === "inlineStr" && (((t = e == null ? void 0 : e.s) == null ? void 0 : t.length) ?? 0) > 0;
14726
14726
  }
14727
- function Rp(e, t, n) {
14727
+ function xp(e, t, n) {
14728
14728
  const r = at(e, t, n, "ct");
14729
14729
  if ($n(r)) {
14730
14730
  const a = r.s;
@@ -15267,7 +15267,7 @@ function Ps(e) {
15267
15267
  if (!(!r || !a) && !(r.linkType !== a.linkType || r.linkAddress !== a.linkAddress))
15268
15268
  return r;
15269
15269
  }
15270
- function xp(e) {
15270
+ function Ip(e) {
15271
15271
  const t = window.getSelection();
15272
15272
  if (!(t != null && t.rangeCount) || !t.anchorNode || !e.contains(t.anchorNode))
15273
15273
  return;
@@ -18101,7 +18101,7 @@ function Uf(e) {
18101
18101
  let n = 1, r = e.replace(/([\d]),([\d])/g, "$1$2").replace(/[$]/g, "").replace(/[%]/g, () => (n *= 100, ""));
18102
18102
  return t = Number(r), !Number.isNaN(t) || (r = r.replace(/[(](.*)[)]/, (a, l) => (n = -n, l)), t = Number(r), !Number.isNaN(t)) ? t / n : t;
18103
18103
  }
18104
- function Ip(e, t, n) {
18104
+ function qp(e, t, n) {
18105
18105
  var a, l, o, i, u, s;
18106
18106
  let r = at(e, t, n, "m");
18107
18107
  return r == null ? r = at(e, t, n, "v") : Number.isNaN(Uf(r)) ? ((o = (l = (a = n[e]) == null ? void 0 : a[t]) == null ? void 0 : l.ct) == null ? void 0 : o.t) === "d" || ((s = (u = (i = n[e]) == null ? void 0 : i[t]) == null ? void 0 : u.ct) == null ? void 0 : s.t) === "b" || (r = at(e, t, n, "v")) : h.isString(r) && r.indexOf("%") > -1 || (r = at(e, t, n, "v")), r;
@@ -18158,8 +18158,8 @@ function zn(e, t) {
18158
18158
  let n = h.sortedIndex(t, e);
18159
18159
  return n >= t.length && e > 0 ? n = t.length - 1 : n === -1 && e <= 0 && (n = 0), mo(n, t);
18160
18160
  }
18161
- const zf = 15, Yf = 50, qp = 100, Dp = 300, Op = 3e4, Vf = "fortune-formula-execution-debug";
18162
- function Fp() {
18161
+ const zf = 15, Yf = 50, Dp = 100, Op = 300, Fp = 3e4, Vf = "fortune-formula-execution-debug";
18162
+ function Lp() {
18163
18163
  if (typeof window > "u") return !1;
18164
18164
  try {
18165
18165
  return localStorage.getItem(Vf) === "true";
@@ -18171,7 +18171,7 @@ function ho(e) {
18171
18171
  return !!(e.isFormulaCalculating && e.formulaAsyncEval);
18172
18172
  }
18173
18173
  const Wf = /\b(SEQUENCE|FILTER|SORT|SORTBY|UNIQUE|TRANSPOSE|ARRAYFORMULA|INDIRECT|OFFSET|INDEX|SPARKLINE)\s*\(/i;
18174
- function Lp(e) {
18174
+ function Bp(e) {
18175
18175
  return Wf.test(e);
18176
18176
  }
18177
18177
  function Gf(e, t, n, r, a) {
@@ -19069,7 +19069,7 @@ function wd(e, t, n) {
19069
19069
  o.add(t), e.formulaCache.revDepsByCell.set(l, o);
19070
19070
  });
19071
19071
  }
19072
- function Bp(e, t, n, r, a = [], l) {
19072
+ function Pp(e, t, n, r, a = [], l) {
19073
19073
  wa(e);
19074
19074
  const o = new Set(a);
19075
19075
  for (const i of t.results) {
@@ -19124,7 +19124,7 @@ function Bp(e, t, n, r, a = [], l) {
19124
19124
  });
19125
19125
  }
19126
19126
  }
19127
- function Pp(e, t, n = Yf) {
19127
+ function Hp(e, t, n = Yf) {
19128
19128
  wa(e);
19129
19129
  const r = new Set(t.calcChainKeys), a = new Set(t.impactedByCircular), l = new Set(t.cycleNodes), o = Se(e), i = Math.min(t.nextIndex + n, t.formulaRunList.length);
19130
19130
  for (let s = t.nextIndex; s < i; s += 1) {
@@ -19404,7 +19404,7 @@ function vd(e, t, n) {
19404
19404
  }
19405
19405
  return null;
19406
19406
  }
19407
- function Hp(e) {
19407
+ function Up(e) {
19408
19408
  var r, a;
19409
19409
  if (e.formulaCache.func_selectedrange) return !0;
19410
19410
  const t = e.luckysheet_select_save;
@@ -19436,7 +19436,7 @@ function Td(e, t, n = -1) {
19436
19436
  if (o === n) return;
19437
19437
  const i = Hn(e, l.textContent || "");
19438
19438
  if (!(o === e.formulaCache.selectingRangeIndex || i == null) && (i.sheetId === e.currentSheetId || i.sheetId === -1 && e.formulaCache.rangetosheet === e.currentSheetId)) {
19439
- const u = Lm(
19439
+ const u = Bm(
19440
19440
  e,
19441
19441
  i.row[0],
19442
19442
  i.row[1],
@@ -19808,7 +19808,7 @@ function va(e) {
19808
19808
  const o = parseInt(l, 10);
19809
19809
  return Number.isNaN(o) ? null : o;
19810
19810
  }
19811
- function Up(e, t) {
19811
+ function zp(e, t) {
19812
19812
  e.formulaCache.formulaEditorOwner = t;
19813
19813
  }
19814
19814
  function Uo(e) {
@@ -19897,7 +19897,7 @@ function qd(e) {
19897
19897
  function Dd(e) {
19898
19898
  e.formulaCache.rangeSelectionActive = !1, e.formulaRangeHighlight = [], e.formulaRangeSelect = void 0, e.formulaCache.selectingRangeIndex = -1, e.formulaCache.func_selectedrange = void 0, e.formulaCache.rangestart = !1, e.formulaCache.rangedrag_column_start = !1, e.formulaCache.rangedrag_row_start = !1, e.formulaCache.rangechangeindex = void 0;
19899
19899
  }
19900
- function zp(e) {
19900
+ function Yp(e) {
19901
19901
  const t = va(e);
19902
19902
  if (t !== null) return t;
19903
19903
  const n = Ad(e);
@@ -19962,7 +19962,7 @@ function Od(e, t, n, r, a, l = !0) {
19962
19962
  }, y = a ?? g(n);
19963
19963
  let b = g(n);
19964
19964
  if ((r === 8 || r === 46) && (b = b.replace(/\n{2,}$/, `
19965
- `)), b = Wh(b), b.length > 0 && b.substring(0, 1) === "=" && (r !== 229 || b.length === 1)) {
19965
+ `)), b = Gh(b), b.length > 0 && b.substring(0, 1) === "=" && (r !== 229 || b.length === 1)) {
19966
19966
  if (l || (wr = nu(n)), b = na(b), !l && wn < wr.length && (l = !0), p = na(y), wr = [], window.getSelection) {
19967
19967
  const w = window.getSelection();
19968
19968
  if (!w) return;
@@ -20023,7 +20023,7 @@ function Fd(e) {
20023
20023
  }
20024
20024
  return Ua(t);
20025
20025
  }
20026
- function Yp(e, t, n) {
20026
+ function Vp(e, t, n) {
20027
20027
  if (!n) return !1;
20028
20028
  const r = window.getSelection();
20029
20029
  if (!r || r.rangeCount === 0 || !r.anchorNode || !n.contains(r.anchorNode)) return !1;
@@ -20128,7 +20128,7 @@ function Zi(e, t, n) {
20128
20128
  }
20129
20129
  return !1;
20130
20130
  }
20131
- function Vp(e) {
20131
+ function Wp(e) {
20132
20132
  return !!e.formulaCache.rangestart || !!e.formulaCache.rangedrag_column_start || !!e.formulaCache.rangedrag_row_start || e.formulaCache.rangeSelectionActive === !0 || xr(e);
20133
20133
  }
20134
20134
  function xr(e, t) {
@@ -20202,11 +20202,11 @@ function xr(e, t) {
20202
20202
  }
20203
20203
  return !1;
20204
20204
  }
20205
- function Wp(e) {
20205
+ function Gp(e) {
20206
20206
  const t = ru(e), n = ((t == null ? void 0 : t.innerText) || "").trim(), r = !!e.formulaCache.rangestart || !!e.formulaCache.rangedrag_column_start || !!e.formulaCache.rangedrag_row_start, a = !!t && zo(t), l = r || e.formulaCache.rangeSelectionActive === !0;
20207
20207
  return n.startsWith("=") ? e.formulaCache.rangeSelectionActive === !0 && t && va(t) !== null ? !0 : /^=\s*[A-Za-z_][A-Za-z0-9_]*$/.test(n) || e.formulaCache.rangeSelectionActive === !1 ? !1 : l ? r ? !0 : a : a ? !0 : xr(e) : !1;
20208
20208
  }
20209
- function Gp(e) {
20209
+ function jp(e) {
20210
20210
  if (e.formulaCache.rangeSelectionActive !== !1)
20211
20211
  return !1;
20212
20212
  const t = ru(e);
@@ -20290,8 +20290,8 @@ function _a(e, t, n, r) {
20290
20290
  `<div>${t.innerHTML}</div>`,
20291
20291
  "text/html"
20292
20292
  ).querySelectorAll("span"), i = o[o.length - 1], u = ((y = i == null ? void 0 : i.classList) == null ? void 0 : y.contains("fortune-formula-functionrange-cell")) ?? !1;
20293
- if (i && Gh(i == null ? void 0 : i.innerText) && !u) {
20294
- const T = jh(t.innerHTML);
20293
+ if (i && jh(i == null ? void 0 : i.innerText) && !u) {
20294
+ const T = Xh(t.innerHTML);
20295
20295
  t.innerHTML = `${T}`, t.focus();
20296
20296
  const C = t.childNodes;
20297
20297
  e.formulaCache.rangeSetValueTo = C.length > 0 ? C[C.length - 1] : void 0;
@@ -20337,7 +20337,7 @@ function _a(e, t, n, r) {
20337
20337
  }
20338
20338
  c && (c.innerHTML = s.innerHTML);
20339
20339
  }
20340
- function jp(e) {
20340
+ function Xp(e) {
20341
20341
  if (e.formulaCache.func_selectedrange) {
20342
20342
  const {
20343
20343
  left_move: t,
@@ -20361,7 +20361,7 @@ function Yo(e, t, n, r, a) {
20361
20361
  );
20362
20362
  l != null && (l.style.left = `${t}px`, l.style.top = `${n}px`, l.style.height = `${r}px`, l.style.width = `${a}px`);
20363
20363
  }
20364
- function Xp(e, t, n, r, a, l, o) {
20364
+ function Zp(e, t, n, r, a, l, o) {
20365
20365
  e.formulaCache.rangeSelectionActive = !0;
20366
20366
  const { func_selectedrange: i } = e.formulaCache;
20367
20367
  if (!i || i.left == null || i.height == null || i.top == null || i.width == null)
@@ -20391,7 +20391,7 @@ function Xp(e, t, n, r, a, l, o) {
20391
20391
  o
20392
20392
  ), Yo(l, _, b, w, T), t.preventDefault();
20393
20393
  }
20394
- function Zp(e, t, n, r, a, l, o) {
20394
+ function Kp(e, t, n, r, a, l, o) {
20395
20395
  e.formulaCache.rangeSelectionActive = !0;
20396
20396
  const { func_selectedrange: i } = e.formulaCache;
20397
20397
  if (!i || i.left == null || i.height == null || i.top == null || i.width == null)
@@ -20419,7 +20419,7 @@ function Zp(e, t, n, r, a, l, o) {
20419
20419
  o
20420
20420
  ), Yo(l, b, d, m - d - 1, w);
20421
20421
  }
20422
- function Kp(e, t, n, r, a, l, o) {
20422
+ function Qp(e, t, n, r, a, l, o) {
20423
20423
  e.formulaCache.rangeSelectionActive = !0;
20424
20424
  const { func_selectedrange: i } = e.formulaCache;
20425
20425
  if (!i || i.left == null || i.height == null || i.top == null || i.width == null)
@@ -20678,7 +20678,7 @@ function ou(e, t, n, r) {
20678
20678
  const i = (c = a.config) == null ? void 0 : c.authority;
20679
20679
  return !(h.isNil(i) || h.isNil(i.sheet) || i.sheet === 0);
20680
20680
  }
20681
- function Qp(e, t, n, r) {
20681
+ function Jp(e, t, n, r) {
20682
20682
  var u;
20683
20683
  const a = Ma(e, r);
20684
20684
  if (h.isNil(a) || h.isNil(a.config) || h.isNil(a.config.authority))
@@ -20689,7 +20689,7 @@ function Qp(e, t, n, r) {
20689
20689
  const { data: o } = a, i = (u = o == null ? void 0 : o[t]) == null ? void 0 : u[n];
20690
20690
  return i && i.lo === 0 ? !!(l.selectunLockedCells === 1 || h.isNil(l.selectunLockedCells)) : !!(l.selectLockedCells === 1 || h.isNil(l.selectLockedCells));
20691
20691
  }
20692
- function Jp(e, t) {
20692
+ function eg(e, t) {
20693
20693
  const n = Ma(e, t);
20694
20694
  if (h.isNil(n) || h.isNil(n.config) || h.isNil(n.config.authority))
20695
20695
  return !0;
@@ -20840,7 +20840,7 @@ function po(e) {
20840
20840
  return Wn(t);
20841
20841
  }
20842
20842
  }
20843
- function eg(e) {
20843
+ function tg(e) {
20844
20844
  const t = ra;
20845
20845
  if (!e || e.length === 0)
20846
20846
  return {
@@ -20967,7 +20967,7 @@ function go(e) {
20967
20967
  let a = String(e.dateValue ?? "").trim();
20968
20968
  return n !== "exact" && (a = a || po(n)), [`preset:${n}`, a, r];
20969
20969
  }
20970
- function tg(e, t, n, r, a, l, o) {
20970
+ function ng(e, t, n, r, a, l, o) {
20971
20971
  var g, y, b, w;
20972
20972
  if (!Xd(e))
20973
20973
  return;
@@ -22022,7 +22022,7 @@ function cm(e, t) {
22022
22022
  }
22023
22023
  return n;
22024
22024
  }
22025
- function ng(e, t, n, r) {
22025
+ function rg(e, t, n, r) {
22026
22026
  const a = ct(e), l = Du(e);
22027
22027
  if (!a || l) return;
22028
22028
  const o = document.getElementById(
@@ -22055,7 +22055,7 @@ function ng(e, t, n, r) {
22055
22055
  C === "en" ? T = '<span style="color:#f72626;">Failure: </span>' : C === "zh" || C === "zh-CN" || C === "zh-TW" ? T = '<span style="color:#f72626;">失效:</span>' : C === "es" ? T = '<span style="color:#f72626;">Caducidad: </span>' : C === "hi" && (T = '<span style="color:#f72626;">असफलता: </span>'), T = $ + T + fu(e, c), o.innerHTML = T, o.style.display = "block", o.style.left = `${y}px`, o.style.top = `${d}px`;
22056
22056
  }
22057
22057
  }
22058
- function rg(e, t, n) {
22058
+ function ag(e, t, n) {
22059
22059
  var p, g;
22060
22060
  if (!e.luckysheet_select_save) return;
22061
22061
  const r = Se(e);
@@ -22100,12 +22100,12 @@ function rg(e, t, n) {
22100
22100
  type: "update"
22101
22101
  }
22102
22102
  ]);
22103
- const m = Qh(e, [l])[l], d = 22 * (t.split(",").length || (s == null ? void 0 : s.length)) || 22;
22104
- m < d && Kh(e, {
22103
+ const m = Jh(e, [l])[l], d = 22 * (t.split(",").length || (s == null ? void 0 : s.length)) || 22;
22104
+ m < d && Qh(e, {
22105
22105
  [String(l)]: d
22106
22106
  }), Wo(e, null, void 0);
22107
22107
  }
22108
- function ag(e, t, n) {
22108
+ function og(e, t, n) {
22109
22109
  var p, g;
22110
22110
  const r = Tr(
22111
22111
  e,
@@ -22282,7 +22282,7 @@ function mm(e, t, n = 0) {
22282
22282
  f || du(e, a, m, n, t, s, c, i, u);
22283
22283
  }
22284
22284
  }
22285
- function og(e, t) {
22285
+ function lg(e, t) {
22286
22286
  var f, m, d;
22287
22287
  if (e.allowEdit === !1) return;
22288
22288
  const n = Se(e);
@@ -22435,7 +22435,7 @@ function Rt(e, t, n = 10) {
22435
22435
  if (t in r || t === "fs" && sn(e))
22436
22436
  a || (a = "0");
22437
22437
  else if (["fc", "bg", "bc"].includes(t))
22438
- ["fc", "bc"].includes(t) && (a || (a = "#000000")), (a == null ? void 0 : a.indexOf("rgba")) > -1 && (a = Vh(a));
22438
+ ["fc", "bc"].includes(t) && (a || (a = "#000000")), (a == null ? void 0 : a.indexOf("rgba")) > -1 && (a = Wh(a));
22439
22439
  else if (t.substring(0, 2) === "bs")
22440
22440
  a || (a = "none");
22441
22441
  else if (t === "ht" || t === "vt") {
@@ -22678,7 +22678,7 @@ function It(e, t, n, r, a) {
22678
22678
  q && (l.m = q[0].toString(), [, l.ct, l.v] = q);
22679
22679
  }
22680
22680
  else if (Ge(i)) {
22681
- s && !G.includes(",") && (G = Xh(String(i), s)), i = parseFloat(i), G.includes("%") && !m.includes("%") && (!o || Z) && (i /= 100), l != null && l.ct && (l.ct = { ...l.ct, fa: G, t: "n" });
22681
+ s && !G.includes(",") && (G = Zh(String(i), s)), i = parseFloat(i), G.includes("%") && !m.includes("%") && (!o || Z) && (i /= 100), l != null && l.ct && (l.ct = { ...l.ct, fa: G, t: "n" });
22682
22682
  const q = ut(G, i);
22683
22683
  if (q === i) {
22684
22684
  const A = Yr(
@@ -22738,7 +22738,7 @@ function It(e, t, n, r, a) {
22738
22738
  }
22739
22739
  h.isNil(l.f) || (u ? (l.ct || (l.ct = { fa: "General", t: "g" }), l.ct.s = u) : l != null && l.ct && h.isPlainObject(a) && Object.prototype.hasOwnProperty.call(a, "ct") && delete l.ct.s), r[t][n] = l, e.luckysheet_selection_range && (e.luckysheet_selection_range = []);
22740
22740
  }
22741
- function lg(e, t, n, r) {
22741
+ function ig(e, t, n, r) {
22742
22742
  let a = at(e, t, n, "m");
22743
22743
  if (h.isNil(a) && (a = at(e, t, n, r), h.isNil(a))) {
22744
22744
  const l = at(e, t, n, "ct");
@@ -23156,7 +23156,7 @@ function Cm(e) {
23156
23156
  }
23157
23157
  return !1;
23158
23158
  }
23159
- function ig(e, t) {
23159
+ function sg(e, t) {
23160
23160
  const n = (t ?? "").trim();
23161
23161
  return n === "" ? !0 : Cm(n) ? !1 : Tr(e, n).length > 0;
23162
23162
  }
@@ -23310,7 +23310,7 @@ function pu(e, t, n, r) {
23310
23310
  }
23311
23311
  return "";
23312
23312
  }
23313
- function sg(e, t, n) {
23313
+ function ug(e, t, n) {
23314
23314
  let r = "";
23315
23315
  if (e.toString().indexOf("pt") > -1) {
23316
23316
  const l = parseFloat(e);
@@ -23339,7 +23339,7 @@ function Am(e, t, n) {
23339
23339
  }
23340
23340
  return l;
23341
23341
  }
23342
- function ug(e, t, n) {
23342
+ function cg(e, t, n) {
23343
23343
  var l;
23344
23344
  const r = Se(e), a = (l = r == null ? void 0 : r[t]) == null ? void 0 : l[n];
23345
23345
  (a == null ? void 0 : a.f) != null && String(a.f).trim() !== "" && Id(e), e.luckysheetCellUpdate = [t, n];
@@ -23388,7 +23388,7 @@ function Zo(e) {
23388
23388
  ...a != null && typeof a == "object" ? { ct: a } : {}
23389
23389
  } : null;
23390
23390
  }
23391
- function cg(e) {
23391
+ function fg(e) {
23392
23392
  var o;
23393
23393
  const t = Ee(e, e.currentSheetId);
23394
23394
  if (t == null) return;
@@ -23435,7 +23435,7 @@ function cg(e) {
23435
23435
  })), e.hooks.updateCellYdoc(i);
23436
23436
  }
23437
23437
  }
23438
- function fg(e) {
23438
+ function dg(e) {
23439
23439
  var i, u;
23440
23440
  const t = Ee(e, e.currentSheetId);
23441
23441
  if (t == null) return;
@@ -23482,7 +23482,7 @@ function fg(e) {
23482
23482
  })), e.hooks.updateCellYdoc(s);
23483
23483
  }
23484
23484
  }
23485
- function dg(e) {
23485
+ function mg(e) {
23486
23486
  var i;
23487
23487
  const t = Ee(e, e.currentSheetId);
23488
23488
  if (t == null) return;
@@ -23547,7 +23547,7 @@ class Mm {
23547
23547
  }
23548
23548
  }
23549
23549
  }
23550
- function mg(e, t, n, r, a) {
23550
+ function hg(e, t, n, r, a) {
23551
23551
  var Q, K, le, F, J;
23552
23552
  const l = Se(e);
23553
23553
  if (!l) return;
@@ -23601,30 +23601,42 @@ function la(e, t) {
23601
23601
  const n = e.config, r = { ...n || {}, ...t };
23602
23602
  t.cellFormatRanges == null && (n == null ? void 0 : n.cellFormatRanges) != null && (r.cellFormatRanges = n.cellFormatRanges), e.config = r;
23603
23603
  }
23604
- function xm(e) {
23604
+ function xm(e, t, n, r, a, l, o) {
23605
+ if (!t || !(n != null && n.length)) return null;
23606
+ const i = Ns(
23607
+ t.cellFormatRanges,
23608
+ n,
23609
+ r,
23610
+ a,
23611
+ l,
23612
+ o
23613
+ );
23614
+ return i.changed ? (t.cellFormatRanges = i.ranges, e.config || (e.config = {}), e.config.cellFormatRanges = i.ranges, i.ranges) : null;
23615
+ }
23616
+ function Im(e) {
23605
23617
  const t = Ee(e, e.currentSheetId);
23606
23618
  if (t == null) return;
23607
23619
  const n = e.luckysheetfile[t];
23608
23620
  la(n, e.config), e.config = n.config, n.luckysheet_select_save = e.luckysheet_select_save, n.luckysheet_selection_range = e.luckysheet_selection_range, n.zoomRatio = e.zoomRatio;
23609
23621
  }
23610
- function Im(e) {
23611
- xm(e);
23622
+ function qm(e) {
23623
+ Im(e);
23612
23624
  }
23613
23625
  function wo(e, t, n, r, a) {
23614
23626
  var o, i, u, s;
23615
23627
  if (t === e.currentSheetId)
23616
23628
  return;
23617
23629
  const l = e.luckysheetfile[Ee(e, t)];
23618
- ((i = (o = e.hooks).beforeActivateSheet) == null ? void 0 : i.call(o, t)) !== !1 && (Im(e), e.currentSheetId = t, l.isPivotTable ? e.luckysheetcurrentisPivotTable = !0 : e.luckysheetcurrentisPivotTable = !1, e.hooks.afterActivateSheet && ((s = (u = e.hooks).afterActivateSheet) == null || s.call(u, t)));
23630
+ ((i = (o = e.hooks).beforeActivateSheet) == null ? void 0 : i.call(o, t)) !== !1 && (qm(e), e.currentSheetId = t, l.isPivotTable ? e.luckysheetcurrentisPivotTable = !0 : e.luckysheetcurrentisPivotTable = !1, e.hooks.afterActivateSheet && ((s = (u = e.hooks).afterActivateSheet) == null || s.call(u, t)));
23619
23631
  }
23620
- function qm(e, t, n = void 0, r = !1, a = void 0, l = void 0) {
23632
+ function Dm(e, t, n = void 0, r = !1, a = void 0, l = void 0) {
23621
23633
  var c, f, m, d;
23622
23634
  if (
23623
23635
  /* isEditMode() || */
23624
23636
  e.allowEdit === !1
23625
23637
  )
23626
23638
  return;
23627
- const o = e.luckysheetfile.length, i = n ?? (t == null ? void 0 : t.generateSheetId()), u = a || Yh(e.luckysheetfile, r, e);
23639
+ const o = e.luckysheetfile.length, i = n ?? (t == null ? void 0 : t.generateSheetId()), u = a || Vh(e.luckysheetfile, r, e);
23628
23640
  h.isNil(l) || (delete l.data, e.luckysheetfile.forEach((p) => (p.order = p.order < l.order ? p.order : p.order + 1, p)));
23629
23641
  const s = h.isNil(l) ? {
23630
23642
  name: a === void 0 ? u : a,
@@ -23640,7 +23652,7 @@ function qm(e, t, n = void 0, r = !1, a = void 0, l = void 0) {
23640
23652
  } : l;
23641
23653
  a !== void 0 && (s.name = a), s.id === void 0 && (s.id = ws()), ((f = (c = e.hooks).beforeAddSheet) == null ? void 0 : f.call(c, s)) !== !1 && (e.luckysheetfile.push(s), e.hooks.afterAddSheet && ((d = (m = e.hooks).afterAddSheet) == null || d.call(m, { ...s })));
23642
23654
  }
23643
- function Dm(e, t) {
23655
+ function Om(e, t) {
23644
23656
  var r, a, l, o, i;
23645
23657
  if (e.allowEdit === !1)
23646
23658
  return;
@@ -23655,7 +23667,7 @@ function Dm(e, t) {
23655
23667
  e.hooks.afterDeleteSheet && ((i = (o = e.hooks).afterDeleteSheet) == null || i.call(o, t));
23656
23668
  }
23657
23669
  }
23658
- function Om(e, t) {
23670
+ function Fm(e, t) {
23659
23671
  t.forEach((n) => {
23660
23672
  const { data: r, row: a, column: l } = n, o = Ee(e, n.id);
23661
23673
  if (r != null) {
@@ -23672,7 +23684,7 @@ function Om(e, t) {
23672
23684
  } else n.celldata != null && Ss(e, o, n);
23673
23685
  });
23674
23686
  }
23675
- function hg(e, t) {
23687
+ function pg(e, t) {
23676
23688
  var o, i;
23677
23689
  const n = Ee(e, e.currentSheetId);
23678
23690
  if (e.allowEdit === !1) {
@@ -23699,7 +23711,7 @@ function hg(e, t) {
23699
23711
  }
23700
23712
  }
23701
23713
  }
23702
- function pg(e, t, n) {
23714
+ function gg(e, t, n) {
23703
23715
  if (t <= 0 && n <= 0)
23704
23716
  return e;
23705
23717
  if (e.length + t >= 1e4)
@@ -23720,10 +23732,10 @@ function pg(e, t, n) {
23720
23732
  e.push(h.times(r + n, () => null));
23721
23733
  return e;
23722
23734
  }
23723
- const gg = {
23735
+ const yg = {
23724
23736
  isPasteAction: !1,
23725
23737
  isPasteValuesOnly: !1
23726
- }, Fm = 14e5;
23738
+ }, Lm = 14e5;
23727
23739
  function Xn(e, t, n) {
23728
23740
  var c, f, m, d;
23729
23741
  const { scrollLeft: r, scrollTop: a } = e, l = e.cellmainHeight, o = e.cellmainWidth, i = Ee(e, e.currentSheetId), u = i == null ? null : e.luckysheetfile[i];
@@ -23748,7 +23760,7 @@ function Xn(e, t, n) {
23748
23760
  }
23749
23761
  }
23750
23762
  }
23751
- function Lm(e, t, n, r, a) {
23763
+ function Bm(e, t, n, r, a) {
23752
23764
  const l = e.visibledatarow[n], o = t - 1 === -1 ? 0 : e.visibledatarow[t - 1], i = e.visibledatacolumn[a], u = r - 1 === -1 ? 0 : e.visibledatacolumn[r - 1];
23753
23765
  return h.isNumber(l) && h.isNumber(o) && h.isNumber(i) && h.isNumber(u) ? {
23754
23766
  left: u,
@@ -23757,7 +23769,7 @@ function Lm(e, t, n, r, a) {
23757
23769
  height: l - o - 1
23758
23770
  } : null;
23759
23771
  }
23760
- function Bm(e, t) {
23772
+ function Pm(e, t) {
23761
23773
  var u;
23762
23774
  const n = Math.min(t.row[0], t.row[1]), r = Math.max(t.row[0], t.row[1]), a = Math.min(t.column[0], t.column[1]), l = Math.max(t.column[0], t.column[1]);
23763
23775
  if (n === r && a === l)
@@ -23778,7 +23790,7 @@ function rs(e, t) {
23778
23790
  e.primaryCellActive = null;
23779
23791
  return;
23780
23792
  }
23781
- if (Bm(e, r)) {
23793
+ if (Pm(e, r)) {
23782
23794
  e.primaryCellActive = null;
23783
23795
  return;
23784
23796
  }
@@ -23789,7 +23801,7 @@ function rs(e, t) {
23789
23801
  e.primaryCellActive = { r: l, c: o };
23790
23802
  }
23791
23803
  }
23792
- function yg(e, t = !0) {
23804
+ function bg(e, t = !0) {
23793
23805
  const n = e.luckysheet_select_save;
23794
23806
  if (!(n != null && n.length)) return !1;
23795
23807
  const r = n[n.length - 1], a = r.row[0], l = r.row[1], o = r.column[0], i = r.column[1];
@@ -23801,10 +23813,10 @@ function yg(e, t = !0) {
23801
23813
  let y, b;
23802
23814
  return t ? d < s ? (y = d + 1, b = p) : p < f ? (y = u, b = p + 1) : (y = u, b = c) : d > u ? (y = d - 1, b = p) : p > c ? (y = s, b = p - 1) : (y = s, b = f), r.row_focus = y, r.column_focus = b, Kt(e, n), !0;
23803
23815
  }
23804
- function bg(e, t, n) {
23816
+ function wg(e, t, n) {
23805
23817
  e.primaryCellActive = { r: t, c: n };
23806
23818
  }
23807
- function wg(e, t, n) {
23819
+ function vg(e, t, n) {
23808
23820
  const r = e.luckysheet_select_save, a = r == null ? void 0 : r[r.length - 1];
23809
23821
  if (!(a != null && a.row) || a.row.length < 2 || !a.column || a.column.length < 2) {
23810
23822
  e.luckysheet_select_save = [
@@ -23827,7 +23839,7 @@ function wg(e, t, n) {
23827
23839
  }
23828
23840
  ], Kt(e, e.luckysheet_select_save));
23829
23841
  }
23830
- function vg(e) {
23842
+ function _g(e) {
23831
23843
  var t, n, r, a;
23832
23844
  return (n = (t = e == null ? void 0 : e[0]) == null ? void 0 : t[0]) != null && n.mc && !h.isNil((r = e[0][0].mc) == null ? void 0 : r.rs) && !h.isNil((a = e[0][0].mc) == null ? void 0 : a.cs) ? [
23833
23845
  {
@@ -23854,13 +23866,13 @@ function Kt(e, t) {
23854
23866
  }
23855
23867
  return rs(e, t), t;
23856
23868
  }
23857
- function _g(e, t, n) {
23869
+ function Tg(e, t, n) {
23858
23870
  const r = e || {};
23859
23871
  for (let a = t; a <= n; a += 1)
23860
23872
  a in r || (r[a] = 0);
23861
23873
  return r;
23862
23874
  }
23863
- function Tg(e) {
23875
+ function $g(e) {
23864
23876
  const t = Object.keys(e).map(Number);
23865
23877
  t.sort((a, l) => a - l);
23866
23878
  let n, r = [];
@@ -23872,7 +23884,7 @@ function Tg(e) {
23872
23884
  n = [], n.push([t[0]]);
23873
23885
  return n;
23874
23886
  }
23875
- function Pm(e, t) {
23887
+ function Hm(e, t) {
23876
23888
  return e.row[0] === t.row[0] && e.row[1] === t.row[1] && e.column[0] === t.column[0] && e.column[1] === t.column[1];
23877
23889
  }
23878
23890
  function as(e) {
@@ -23880,7 +23892,7 @@ function as(e) {
23880
23892
  const t = h.cloneDeep(e);
23881
23893
  return delete t.cellrange, JSON.stringify(t);
23882
23894
  }
23883
- function $g(e, t) {
23895
+ function Cg(e, t) {
23884
23896
  var Y;
23885
23897
  const n = e.config;
23886
23898
  if (n.merge == null && (n.merge = {}), !t) return;
@@ -24005,28 +24017,23 @@ function $g(e, t) {
24005
24017
  v[G] = Z;
24006
24018
  }
24007
24019
  }
24008
- const F = Ns(
24009
- n.cellFormatRanges,
24020
+ const F = xm(
24021
+ e,
24022
+ n,
24010
24023
  v,
24011
24024
  f,
24012
24025
  m,
24013
24026
  d,
24014
24027
  p
24015
24028
  );
24016
- if (F.changed && (n.cellFormatRanges = F.ranges, e.config || (e.config = {}), e.config.cellFormatRanges = F.ranges), (Y = e == null ? void 0 : e.hooks) != null && Y.updateCellYdoc) {
24017
- const O = [
24018
- ..._,
24019
- ...T,
24020
- ...F.changed ? [
24021
- {
24022
- sheetId: e.currentSheetId,
24023
- path: ["config", "cellFormatRanges"],
24024
- value: n.cellFormatRanges ?? [],
24025
- type: "update"
24026
- }
24027
- ] : []
24028
- ];
24029
- O.length > 0 && e.hooks.updateCellYdoc(O);
24029
+ if ((Y = e == null ? void 0 : e.hooks) != null && Y.updateCellYdoc) {
24030
+ const O = [..._, ...T];
24031
+ F && O.push({
24032
+ sheetId: e.currentSheetId,
24033
+ path: ["config", "cellFormatRanges"],
24034
+ value: F,
24035
+ type: "update"
24036
+ }), O.length > 0 && e.hooks.updateCellYdoc(O);
24030
24037
  }
24031
24038
  const J = e.luckysheetfile[Ee(e, e.currentSheetId)];
24032
24039
  la(J, n), e.config = J.config, M != null && (J.dataVerification = M);
@@ -24056,7 +24063,7 @@ function $g(e, t) {
24056
24063
  if (A >= 0) {
24057
24064
  const P = h.cloneDeep(G[A]);
24058
24065
  Array.isArray(P.cellrange) || (P.cellrange = []), P.cellrange.some(
24059
- (Ce) => Pm(Ce, we)
24066
+ (Ce) => Hm(Ce, we)
24060
24067
  ) || P.cellrange.push({ ...we }), G[A] = P;
24061
24068
  } else {
24062
24069
  const P = h.cloneDeep(O[Z]);
@@ -24180,7 +24187,7 @@ function dn(e, t, n, r) {
24180
24187
  i = l;
24181
24188
  return [o, i];
24182
24189
  }
24183
- function Cg(e, t, n, r) {
24190
+ function Ng(e, t, n, r) {
24184
24191
  var g;
24185
24192
  const a = Se(e);
24186
24193
  if (!a) return;
@@ -24258,7 +24265,7 @@ function Cg(e, t, n, r) {
24258
24265
  }, Xn(e, s, d);
24259
24266
  }
24260
24267
  }
24261
- function Ng(e, t, n, r) {
24268
+ function Sg(e, t, n, r) {
24262
24269
  let a, l, o, i;
24263
24270
  const u = Se(e);
24264
24271
  if (!h.isNil(u) && !h.isNil(e.luckysheet_select_save)) {
@@ -24466,7 +24473,7 @@ function zt(e, t) {
24466
24473
  13: "Thick"
24467
24474
  }[e.toString()], e.indexOf("Medium") > -1 ? n += "1pt " : e === "Thick" ? n += "1.5pt " : n += "0.5pt ", e === "Hair" ? n += "double " : e.indexOf("DashDotDot") > -1 ? n += "dotted " : e.indexOf("DashDot") > -1 ? n += "dashed " : e.indexOf("Dotted") > -1 ? n += "dotted " : e.indexOf("Dashed") > -1 ? n += "dashed " : n += "solid ", `${n + t};`;
24468
24475
  }
24469
- function Hm(e, t, n, r) {
24476
+ function Um(e, t, n, r) {
24470
24477
  var w, v;
24471
24478
  const a = (r == null ? void 0 : r.includeCellMetadata) ?? !1, l = (r == null ? void 0 : r.preferRichText) ?? !1, o = (r == null ? void 0 : r.respectFilterHiddenRows) ?? !1, i = su(e), u = /* @__PURE__ */ new Set();
24472
24479
  o && t === e.currentSheetId && !h.isNil(e.luckysheet_filter_save) && !h.isEmpty(e.filter) && Object.values(e.filter || {}).forEach((_) => {
@@ -24635,7 +24642,7 @@ function Hm(e, t, n, r) {
24635
24642
  }
24636
24643
  return `<table data-type="fortune-copy-action-table">${y}${p}</table>`;
24637
24644
  }
24638
- function Sg(e) {
24645
+ function kg(e) {
24639
24646
  var g, y, b, w;
24640
24647
  const t = Se(e);
24641
24648
  e.lastInternalCopyHtmlMetadataStripped = !1, e.luckysheet_selection_range = [];
@@ -24705,7 +24712,7 @@ function Sg(e) {
24705
24712
  ) : "";
24706
24713
  f = `<table data-type="fortune-copy-action-table"><tr><td style="white-space: pre-line; ${Q}" data-fortune-cell="${le}">${K}</td></tr></table>`;
24707
24714
  } else
24708
- f = Hm(
24715
+ f = Um(
24709
24716
  e,
24710
24717
  e.currentSheetId,
24711
24718
  e.luckysheet_select_save,
@@ -24716,9 +24723,9 @@ function Sg(e) {
24716
24723
  }
24717
24724
  ), f = f === null ? f : f.replace('<td style="', '<td style="white-space: pre-line; ');
24718
24725
  let p = !1;
24719
- f && c && f.length > Fm && (p = !0, f = f.replace(/\sdata-fortune-cell="[^"]*"/g, "")), f && (e.iscopyself = !0, e.lastInternalCopyHtmlMetadataStripped = p, Mm.writeHtml(f));
24726
+ f && c && f.length > Lm && (p = !0, f = f.replace(/\sdata-fortune-cell="[^"]*"/g, "")), f && (e.iscopyself = !0, e.lastInternalCopyHtmlMetadataStripped = p, Mm.writeHtml(f));
24720
24727
  }
24721
- function kg(e) {
24728
+ function Ag(e) {
24722
24729
  var r, a, l, o, i, u, s, c;
24723
24730
  if (ct(e) === !1 || e.isFlvReadOnly)
24724
24731
  return "allowEdit";
@@ -24771,7 +24778,7 @@ function kg(e) {
24771
24778
  }
24772
24779
  return "success";
24773
24780
  }
24774
- function Ag(e) {
24781
+ function Eg(e) {
24775
24782
  var r;
24776
24783
  if (ct(e) === !1)
24777
24784
  return "allowEdit";
@@ -24809,7 +24816,7 @@ function Ag(e) {
24809
24816
  }
24810
24817
  return "success";
24811
24818
  }
24812
- function Eg(e) {
24819
+ function Mg(e) {
24813
24820
  var r, a, l;
24814
24821
  if (ct(e) === !1)
24815
24822
  return "allowEdit";
@@ -24916,7 +24923,7 @@ function Eg(e) {
24916
24923
  }
24917
24924
  return "success";
24918
24925
  }
24919
- function Mg(e) {
24926
+ function Rg(e) {
24920
24927
  var r, a, l;
24921
24928
  if (ct(e) === !1)
24922
24929
  return "allowEdit";
@@ -25023,7 +25030,7 @@ function Mg(e) {
25023
25030
  }
25024
25031
  return "success";
25025
25032
  }
25026
- function Rg(e, t) {
25033
+ function xg(e, t) {
25027
25034
  var a;
25028
25035
  if (ct(e) === !1)
25029
25036
  return "allowEdit";
@@ -25061,7 +25068,7 @@ function Rg(e, t) {
25061
25068
  }
25062
25069
  return "success";
25063
25070
  }
25064
- function xg(e) {
25071
+ function Ig(e) {
25065
25072
  var r;
25066
25073
  if (ct(e) === !1)
25067
25074
  return "allowEdit";
@@ -25104,7 +25111,7 @@ function xg(e) {
25104
25111
  }
25105
25112
  return "success";
25106
25113
  }
25107
- function Ig(e) {
25114
+ function qg(e) {
25108
25115
  var r;
25109
25116
  if (ct(e) === !1)
25110
25117
  return "allowEdit";
@@ -25146,7 +25153,7 @@ function Ig(e) {
25146
25153
  }
25147
25154
  return "success";
25148
25155
  }
25149
- function qg(e) {
25156
+ function Dg(e) {
25150
25157
  var r;
25151
25158
  if (ct(e) === !1)
25152
25159
  return "allowEdit";
@@ -25189,10 +25196,10 @@ function qg(e) {
25189
25196
  }
25190
25197
  return "success";
25191
25198
  }
25192
- function Dg(e, t) {
25199
+ function Og(e, t) {
25193
25200
  return !1;
25194
25201
  }
25195
- function Og(e) {
25202
+ function Fg(e) {
25196
25203
  const t = Se(e);
25197
25204
  t && (e.luckysheet_select_status = !1, e.luckysheet_select_save = [
25198
25205
  {
@@ -25205,7 +25212,7 @@ function Og(e) {
25205
25212
  }
25206
25213
  ], Kt(e, e.luckysheet_select_save));
25207
25214
  }
25208
- function Fg(e, t, n, r) {
25215
+ function Lg(e, t, n, r) {
25209
25216
  var u;
25210
25217
  if (!r) return {};
25211
25218
  const a = {}, { scrollTop: l } = e, o = (u = r.horizontal) == null ? void 0 : u.freezenhorizontaldata;
@@ -25216,7 +25223,7 @@ function Fg(e, t, n, r) {
25216
25223
  }
25217
25224
  return i || (a.display = "none"), a;
25218
25225
  }
25219
- function Lg(e, t, n, r) {
25226
+ function Bg(e, t, n, r) {
25220
25227
  var u;
25221
25228
  if (!r) return {};
25222
25229
  const a = {}, { scrollLeft: l } = e, o = (u = r.vertical) == null ? void 0 : u.freezenverticaldata;
@@ -25227,7 +25234,7 @@ function Lg(e, t, n, r) {
25227
25234
  }
25228
25235
  return i || (a.display = "none"), a;
25229
25236
  }
25230
- function Bg(e) {
25237
+ function Pg(e) {
25231
25238
  var u, s, c, f, m, d, p, g, y, b, w, v, _, T, C, $, S, N;
25232
25239
  const t = e.luckysheet_select_save;
25233
25240
  let n = 0, r = 0, a = 0, l = -1 / 0, o = 1 / 0;
@@ -25246,7 +25253,7 @@ function Bg(e) {
25246
25253
  const i = String(a / n);
25247
25254
  return { numberC: n, count: r, sum: a, max: l, min: o, average: i };
25248
25255
  }
25249
- function Pg(e, t, n) {
25256
+ function Hg(e, t, n) {
25250
25257
  var i, u;
25251
25258
  const r = Se(e);
25252
25259
  if (!(r != null && r.length) || !((i = r[0]) != null && i.length)) return;
@@ -25255,7 +25262,7 @@ function Pg(e, t, n) {
25255
25262
  const l = Math.max(0, Math.min(t, r.length - 1)), o = Math.max(0, Math.min(n, r[0].length - 1));
25256
25263
  a.row = [l, l], a.column = [o, o], a.row_focus = l, a.column_focus = o, a.moveXY = { x: l, y: o }, Kt(e, e.luckysheet_select_save), Xn(e, l, o);
25257
25264
  }
25258
- function Hg(e, t, n) {
25265
+ function Ug(e, t, n) {
25259
25266
  var s;
25260
25267
  if (!ct(e)) return !1;
25261
25268
  const r = e.luckysheet_select_save;
@@ -25281,7 +25288,7 @@ function Hg(e, t, n) {
25281
25288
  }
25282
25289
  return !0;
25283
25290
  }
25284
- function Ug(e) {
25291
+ function zg(e) {
25285
25292
  return {
25286
25293
  luckysheetfile: [],
25287
25294
  defaultcolumnNum: 60,
@@ -25571,7 +25578,7 @@ function Se(e, t) {
25571
25578
  const n = Ee(e, t || e.currentSheetId);
25572
25579
  return h.isNil(n) ? null : (a = (r = e.luckysheetfile) == null ? void 0 : r[n]) == null ? void 0 : a.data;
25573
25580
  }
25574
- function Um(e, t, n) {
25581
+ function zm(e, t, n) {
25575
25582
  var l, o, i, u, s, c, f, m, d, p, g;
25576
25583
  e.visibledatarow = [], e.rh_height = 0;
25577
25584
  for (let y = 0; y < t; y += 1) {
@@ -25596,7 +25603,7 @@ function Um(e, t, n) {
25596
25603
  }
25597
25604
  e.ch_width += r;
25598
25605
  }
25599
- function zg(e, t) {
25606
+ function Yg(e, t) {
25600
25607
  if ((e == null ? void 0 : e.length) > 0) {
25601
25608
  let n = !1;
25602
25609
  const r = [];
@@ -25605,7 +25612,7 @@ function zg(e, t) {
25605
25612
  }), n || (e[0].status = 1);
25606
25613
  }
25607
25614
  }
25608
- function Yg(e) {
25615
+ function Vg(e) {
25609
25616
  const t = e.luckysheetfile.filter(
25610
25617
  (n) => h.isUndefined(n.hide) || n.hide !== 1
25611
25618
  );
@@ -25616,11 +25623,11 @@ function Yg(e) {
25616
25623
  break;
25617
25624
  }
25618
25625
  }
25619
- function Vg(e, t) {
25626
+ function Wg(e, t) {
25620
25627
  const n = t.length, r = n === 0 ? 0 : t[0].length;
25621
- Um(e, n, r), Kt(e, e.luckysheet_select_save);
25628
+ zm(e, n, r), Kt(e, e.luckysheet_select_save);
25622
25629
  }
25623
- function Wg(e, t, n) {
25630
+ function Gg(e, t, n) {
25624
25631
  e.luckysheetTableContentHW = [
25625
25632
  n.clientWidth,
25626
25633
  n.clientHeight
@@ -25630,7 +25637,7 @@ function Wg(e, t, n) {
25630
25637
  e.luckysheetTableContentHW[1] * e.devicePixelRatio
25631
25638
  );
25632
25639
  }
25633
- function zm(e, t, n, r, a, l) {
25640
+ function Ym(e, t, n, r, a, l) {
25634
25641
  var f, m, d, p, g, y, b, w, v, _, T, C, $, S, N, M, z, Q, K, le, F, J, j, Y, O, $e, ae, G, Z, V, ge, we, q, A, P, Ce, B, ue, E, W, D, ne, ee, U, ye, _e, me, ve, ce, te, Oe, Me, qe, Te, I, L, pe, H, x, X, ie, fe, re, be, xe, We, Ie, De, nt, Le, Be, ze, tt, Ye, Je, cn, gn, Jt, el, tl, nl, rl, al, ol, ll, il, sl, ul, cl, fl, dl, ml, hl, pl, gl, yl, bl, wl, vl, _l, Tl, $l, Cl, Nl, Sl, kl, Al, El, Ml, Rl, xl, Il, ql, Dl, Ol, Fl, Ll, Bl, Pl, Hl, Ul, zl, Yl, Vl, Wl, Gl, jl, Xl, Zl, Kl, Ql, Jl, ei, ti, ni, ri, ai, oi, li, ii, si, ui, ci, fi, di, mi, hi, pi, gi, yi, bi, wi, vi, _i, Ti, $i, Ci, Ni, Si, ki, Ai;
25635
25642
  const o = {}, i = Se(e);
25636
25643
  let u, s;
@@ -26398,7 +26405,7 @@ function Ko(e, t) {
26398
26405
  else
26399
26406
  return n;
26400
26407
  }
26401
- return n = zm(
26408
+ return n = Ym(
26402
26409
  e,
26403
26410
  0,
26404
26411
  a.length,
@@ -26445,7 +26452,7 @@ function Sa(e) {
26445
26452
  });
26446
26453
  }
26447
26454
  }
26448
- function Ym(e, t) {
26455
+ function Vm(e, t) {
26449
26456
  if (e === t) return !0;
26450
26457
  if (e == null || t == null) return !1;
26451
26458
  if (typeof e != "object" || typeof t != "object")
@@ -26481,12 +26488,12 @@ function wu(e, t, n, r, a, l) {
26481
26488
  }
26482
26489
  return o;
26483
26490
  }
26484
- function Vm(e, t, n, r, a, l) {
26491
+ function Wm(e, t, n, r, a, l) {
26485
26492
  const o = `${n}_${r}`, i = l == null ? void 0 : l.get(o), u = (l == null ? void 0 : l.has(o)) ?? !1;
26486
26493
  if (Bn(
26487
26494
  a
26488
26495
  )) {
26489
- if (u && Ym(i, a)) return;
26496
+ if (u && Vm(i, a)) return;
26490
26497
  e.push({
26491
26498
  sheetId: t,
26492
26499
  path: ["celldata"],
@@ -26504,7 +26511,7 @@ function Vm(e, t, n, r, a, l) {
26504
26511
  type: "delete"
26505
26512
  });
26506
26513
  }
26507
- function Wm(e, t, n, r, a, l, o) {
26514
+ function Gm(e, t, n, r, a, l, o) {
26508
26515
  const i = bu(t, n, r, a, l);
26509
26516
  if (!i) return [];
26510
26517
  const { rowStart: u, rowEnd: s, colStart: c, colEnd: f } = i, m = [];
@@ -26513,7 +26520,7 @@ function Wm(e, t, n, r, a, l, o) {
26513
26520
  if (!(!p && !(o != null && o.size)))
26514
26521
  for (let g = c; g <= f; g += 1) {
26515
26522
  const y = (p == null ? void 0 : p[g]) ?? null, b = `${d}_${g}`;
26516
- y == null && !(o != null && o.has(b)) && !Bn(y) || Vm(
26523
+ y == null && !(o != null && o.has(b)) && !Bn(y) || Wm(
26517
26524
  m,
26518
26525
  e,
26519
26526
  d,
@@ -26525,10 +26532,10 @@ function Wm(e, t, n, r, a, l, o) {
26525
26532
  }
26526
26533
  return m;
26527
26534
  }
26528
- function Gm(e, t, n, r, a, l, o, i) {
26535
+ function jm(e, t, n, r, a, l, o, i) {
26529
26536
  var s;
26530
26537
  if (!((s = e == null ? void 0 : e.hooks) != null && s.updateCellYdoc)) return;
26531
- const u = Wm(
26538
+ const u = Gm(
26532
26539
  t,
26533
26540
  n,
26534
26541
  r,
@@ -26539,7 +26546,7 @@ function Gm(e, t, n, r, a, l, o, i) {
26539
26546
  );
26540
26547
  u.length > 0 && e.hooks.updateCellYdoc(u);
26541
26548
  }
26542
- function jm(e, t, n, r, a, l) {
26549
+ function Xm(e, t, n, r, a, l) {
26543
26550
  const o = Math.max(0, r - 1), i = Math.max(0, a - 1);
26544
26551
  if (e === "row") {
26545
26552
  const c = n === "lefttop" ? t : t + 1, f = l ? Math.min(c, l.minR) : c;
@@ -26548,7 +26555,7 @@ function jm(e, t, n, r, a, l) {
26548
26555
  const u = n === "lefttop" ? t : t + 1, s = l ? Math.min(u, l.minC) : u;
26549
26556
  return { r1: 0, r2: o, c1: Math.max(0, s), c2: i };
26550
26557
  }
26551
- function Xm(e, t, n, r, a) {
26558
+ function Zm(e, t, n, r, a) {
26552
26559
  const l = Math.max(0, n - 1), o = Math.max(0, r - 1);
26553
26560
  if (e === "row") {
26554
26561
  const u = a ? Math.min(t, a.minR) : t;
@@ -26570,7 +26577,7 @@ const vu = (e, t) => {
26570
26577
  const t = { ...e };
26571
26578
  return delete t.v, delete t.m, delete t.f, delete t.ps, delete t.hl, t;
26572
26579
  };
26573
- function Zm(e, t, n, r) {
26580
+ function Km(e, t, n, r) {
26574
26581
  var o, i, u;
26575
26582
  const a = [], l = e[t];
26576
26583
  if (!l || !e[0]) return a;
@@ -26590,7 +26597,7 @@ function Zm(e, t, n, r) {
26590
26597
  }
26591
26598
  return a;
26592
26599
  }
26593
- function Km(e, t, n, r) {
26600
+ function Qm(e, t, n, r) {
26594
26601
  var l, o, i;
26595
26602
  const a = [];
26596
26603
  for (let u = 0; u < e.length; u += 1) {
@@ -26618,7 +26625,7 @@ const sa = (e) => {
26618
26625
  !Number.isFinite(o) || !Number.isFinite(i) || (t = Math.min(t, o), n = Math.min(n, i), r = Math.max(r, o + Math.max(1, u) - 1), a = Math.max(a, i + Math.max(1, s) - 1));
26619
26626
  }), t === 1 / 0 ? null : { minR: t, minC: n, maxR: r, maxC: a };
26620
26627
  }, ua = (e, t, n, r, a, l, o, i) => {
26621
- Gm(
26628
+ jm(
26622
26629
  e,
26623
26630
  t,
26624
26631
  n,
@@ -26658,7 +26665,7 @@ const sa = (e) => {
26658
26665
  }
26659
26666
  }
26660
26667
  };
26661
- function Qm(e, t, n = !0) {
26668
+ function Jm(e, t, n = !0) {
26662
26669
  var V, ge, we, q, A, P, Ce, B, ue, E, W, D, ne, ee, U, ye, _e, me, ve, ce, te, Oe, Me, qe, Te, I, L, pe;
26663
26670
  let { count: r, id: a } = t;
26664
26671
  const { type: l, index: o, direction: i, templateSourceRows: u, templateSourceColumns: s } = t;
@@ -26694,7 +26701,7 @@ function Qm(e, t, n = !0) {
26694
26701
  throw new Error("maxExceeded");
26695
26702
  if (l === "column" && m[0] && m[0].length + r >= 1e3)
26696
26703
  throw new Error("maxExceeded");
26697
- const v = jm(
26704
+ const v = Xm(
26698
26705
  l,
26699
26706
  o,
26700
26707
  i,
@@ -26968,7 +26975,7 @@ function Qm(e, t, n = !0) {
26968
26975
  ), h.isEqual(nt, d.cellFormatRanges) || Qr(e, a, d.cellFormatRanges);
26969
26976
  const Le = [];
26970
26977
  for (let Be = 0; Be < r; Be += 1) {
26971
- const ze = g ? b : o, tt = Zm(m, ze, r, i);
26978
+ const ze = g ? b : o, tt = Km(m, ze, r, i);
26972
26979
  Le.push(JSON.stringify(tt));
26973
26980
  let Ye = [];
26974
26981
  g ? Ye = H.filter(
@@ -27027,7 +27034,7 @@ function Qm(e, t, n = !0) {
27027
27034
  for (let Ie = 0; Ie < r; Ie += 1) {
27028
27035
  const De = y ? w : o;
27029
27036
  be.push(
27030
- Km(m, De, r, i)
27037
+ Qm(m, De, r, i)
27031
27038
  );
27032
27039
  }
27033
27040
  const xe = [];
@@ -27235,7 +27242,7 @@ function Tu(e, t) {
27235
27242
  }
27236
27243
  return;
27237
27244
  }
27238
- const f = a - r + 1, m = Xm(
27245
+ const f = a - r + 1, m = Zm(
27239
27246
  n,
27240
27247
  r,
27241
27248
  c.length,
@@ -27570,7 +27577,7 @@ function Tu(e, t) {
27570
27577
  ue.length > 0 && (e.formulaCache.execFunctionExist = ue, ln(e, null, null, null, null, Se(e)), e.formulaCache.execFunctionExist = void 0);
27571
27578
  }
27572
27579
  }
27573
- function Gg(e, t) {
27580
+ function jg(e, t) {
27574
27581
  if (!e.luckysheet_select_save || e.luckysheet_select_save.length > 1)
27575
27582
  return "noMulti";
27576
27583
  const n = Ee(e, e.currentSheetId);
@@ -27592,7 +27599,7 @@ function Gg(e, t) {
27592
27599
  }
27593
27600
  return e.luckysheetfile[n].config = e.config, "";
27594
27601
  }
27595
- function jg(e, t) {
27602
+ function Xg(e, t) {
27596
27603
  if (!e.luckysheet_select_save || e.luckysheet_select_save.length > 1)
27597
27604
  return "noMulti";
27598
27605
  const n = Ee(e, e.currentSheetId);
@@ -27610,7 +27617,7 @@ function jg(e, t) {
27610
27617
  }
27611
27618
  return e.luckysheetfile[n].config = e.config, "";
27612
27619
  }
27613
- function Xg(e) {
27620
+ function Zg(e) {
27614
27621
  var t, n, r, a;
27615
27622
  if (!e.luckysheet_select_save || !e.config.colhidden && !e.config.rowhidden)
27616
27623
  return !1;
@@ -27626,7 +27633,7 @@ function Xg(e) {
27626
27633
  }
27627
27634
  return !1;
27628
27635
  }
27629
- function Zg(e, t) {
27636
+ function Kg(e, t) {
27630
27637
  let n = 1;
27631
27638
  if (!e.luckysheet_select_save) return 0;
27632
27639
  const r = e.luckysheet_select_save[0], a = e.config.rowhidden ?? {}, l = e.config.colhidden ?? {};
@@ -27671,12 +27678,12 @@ function Zg(e, t) {
27671
27678
  }
27672
27679
  return n;
27673
27680
  }
27674
- function Jm(e) {
27681
+ function eh(e) {
27675
27682
  var t;
27676
27683
  return e == null ? !1 : $n(e.ct) || !h.isEmpty(e.v) || e.f != null || // @ts-ignore
27677
27684
  e.s != null || e.ct && ((t = e.ct.s) == null ? void 0 : t.length);
27678
27685
  }
27679
- function Kg(e) {
27686
+ function Qg(e) {
27680
27687
  var n, r;
27681
27688
  const t = Se(e);
27682
27689
  if (!t || !((n = e.luckysheet_select_save) != null && n.length)) return !1;
@@ -27684,11 +27691,11 @@ function Kg(e) {
27684
27691
  const l = e.luckysheet_select_save[a].row[0], o = e.luckysheet_select_save[a].row[1], i = e.luckysheet_select_save[a].column[0], u = e.luckysheet_select_save[a].column[1];
27685
27692
  for (let s = l; s <= o; s += 1)
27686
27693
  for (let c = i; c <= u; c += 1)
27687
- if (Jm((r = t[s]) == null ? void 0 : r[c])) return !0;
27694
+ if (eh((r = t[s]) == null ? void 0 : r[c])) return !0;
27688
27695
  }
27689
27696
  return !1;
27690
27697
  }
27691
- function eh(e, t, n, r) {
27698
+ function th(e, t, n, r) {
27692
27699
  var s, c, f, m;
27693
27700
  const a = Ee(e, t);
27694
27701
  if (a == null) return;
@@ -27868,7 +27875,7 @@ function Mr(e) {
27868
27875
  `).replace(/\r/g, `
27869
27876
  `);
27870
27877
  }
27871
- function Qg(e, t, n, r, a) {
27878
+ function Jg(e, t, n, r, a) {
27872
27879
  const l = Se(e);
27873
27880
  if (l == null) return;
27874
27881
  const { scrollLeft: o } = r, { scrollTop: i } = a, u = n.getBoundingClientRect();
@@ -27910,10 +27917,10 @@ function qr(e, t, n) {
27910
27917
  ((u = (i = Se(e)) == null ? void 0 : i[t]) == null ? void 0 : u[n]) ?? void 0
27911
27918
  );
27912
27919
  }
27913
- function Jg(e, t, n) {
27920
+ function e1(e, t, n) {
27914
27921
  return qr(e, t, n)[0];
27915
27922
  }
27916
- function th(e, t) {
27923
+ function nh(e, t) {
27917
27924
  var n;
27918
27925
  return ((n = e == null ? void 0 : e.ct) == null ? void 0 : n.t) !== "inlineStr" || !Array.isArray(e.ct.s) ? "" : e.ct.s.filter((r) => r.link && _n(r.link, t)).map((r) => r.v ?? "").join("");
27919
27926
  }
@@ -27922,7 +27929,7 @@ function Jo(e) {
27922
27929
  `).replace(/\r/g, `
27923
27930
  `);
27924
27931
  }
27925
- function e1(e, t) {
27932
+ function t1(e, t) {
27926
27933
  var l;
27927
27934
  if (((l = e == null ? void 0 : e.ct) == null ? void 0 : l.t) !== "inlineStr" || !Array.isArray(e.ct.s))
27928
27935
  return;
@@ -27938,7 +27945,7 @@ function e1(e, t) {
27938
27945
  if (!(r == null || a == null || r === a))
27939
27946
  return { start: r, end: a };
27940
27947
  }
27941
- function nh(e, t, n) {
27948
+ function rh(e, t, n) {
27942
27949
  var l, o, i;
27943
27950
  if (t >= n || ((l = e == null ? void 0 : e.ct) == null ? void 0 : l.t) !== "inlineStr" || !Array.isArray(e.ct.s))
27944
27951
  return;
@@ -27956,7 +27963,7 @@ function nh(e, t, n) {
27956
27963
  }
27957
27964
  return a;
27958
27965
  }
27959
- function rh(e, t) {
27966
+ function ah(e, t) {
27960
27967
  var r, a, l;
27961
27968
  if (((r = e == null ? void 0 : e.ct) == null ? void 0 : r.t) !== "inlineStr" || !Array.isArray(e.ct.s))
27962
27969
  return;
@@ -27972,7 +27979,7 @@ function Qn(e, t, n, r) {
27972
27979
  const a = `${t}_${n}`;
27973
27980
  e.hyperlink || (e.hyperlink = {}), r.length === 0 ? delete e.hyperlink[a] : r.length === 1 ? e.hyperlink[a] = r[0] : e.hyperlink[a] = r;
27974
27981
  }
27975
- function ah(e) {
27982
+ function oh(e) {
27976
27983
  var t, n, r;
27977
27984
  if (!(((t = e == null ? void 0 : e.ct) == null ? void 0 : t.t) !== "inlineStr" || !Array.isArray(e.ct.s)))
27978
27985
  for (const a of e.ct.s) {
@@ -27987,13 +27994,13 @@ function ka(e) {
27987
27994
  const t = e.ct.s.map((r) => r.v ?? "").join("");
27988
27995
  e.v = t, e.m = t;
27989
27996
  }
27990
- function oh(e) {
27997
+ function lh(e) {
27991
27998
  var t;
27992
27999
  return ((t = e == null ? void 0 : e.ct) == null ? void 0 : t.t) === "inlineStr" && Array.isArray(e.ct.s) ? Mr(
27993
28000
  e.ct.s.map((n) => (n == null ? void 0 : n.v) ?? "").join("")
27994
28001
  ) : (e == null ? void 0 : e.v) == null || Array.isArray(e.v) ? "" : Mr(`${e.v}`);
27995
28002
  }
27996
- function lh(e, t, n, r, a) {
28003
+ function ih(e, t, n, r, a) {
27997
28004
  const l = [], o = { ...a }, i = (s) => {
27998
28005
  s && l.push({ ...o, v: s });
27999
28006
  }, u = (s) => {
@@ -28007,7 +28014,7 @@ function lh(e, t, n, r, a) {
28007
28014
  };
28008
28015
  return i(e.slice(0, t)), u(e.slice(t, n)), i(e.slice(n)), l;
28009
28016
  }
28010
- function ih(e, t, n, r, a, l, o, i) {
28017
+ function sh(e, t, n, r, a, l, o, i) {
28011
28018
  var le, F;
28012
28019
  const u = (le = e.linkCard) == null ? void 0 : le.selectionOffsets;
28013
28020
  if (!u || !a || !l) return !1;
@@ -28016,12 +28023,12 @@ function ih(e, t, n, r, a, l, o, i) {
28016
28023
  const c = s;
28017
28024
  if (sn(c) && Pn(c).length > 0)
28018
28025
  return !1;
28019
- const f = String(r ?? "").trim() || String(l ?? "").trim(), m = Mr(f), d = oh(c), p = Math.max(0, Math.min(u.start, d.length)), g = Math.max(p, Math.min(u.end, d.length)), y = d.slice(p, g), b = m.length > 0 && m !== y, w = typeof ((F = e.linkCard) == null ? void 0 : F.linkInsertOffset) == "number" ? e.linkCard.linkInsertOffset : g, v = Math.max(0, Math.min(w, d.length));
28026
+ const f = String(r ?? "").trim() || String(l ?? "").trim(), m = Mr(f), d = lh(c), p = Math.max(0, Math.min(u.start, d.length)), g = Math.max(p, Math.min(u.end, d.length)), y = d.slice(p, g), b = m.length > 0 && m !== y, w = typeof ((F = e.linkCard) == null ? void 0 : F.linkInsertOffset) == "number" ? e.linkCard.linkInsertOffset : g, v = Math.max(0, Math.min(w, d.length));
28020
28027
  let _, T, C;
28021
28028
  if (b ? (_ = d.slice(0, v) + m + d.slice(v), T = v, C = v + m.length) : (_ = d, T = p, C = g), C <= T) return !1;
28022
28029
  const $ = { linkType: a, linkAddress: l }, N = { fs: c.fs || 10 };
28023
28030
  c.ff != null && (N.ff = c.ff), c.bl != null && (N.bl = c.bl), c.it != null && (N.it = c.it);
28024
- const M = lh(
28031
+ const M = ih(
28025
28032
  _,
28026
28033
  T,
28027
28034
  C,
@@ -28071,10 +28078,10 @@ function ca(e, t, n) {
28071
28078
  const i = (o.length > 0 ? o : a)[0];
28072
28079
  e.linkCard.originType = i.linkType, e.linkCard.originAddress = i.linkAddress, e.linkCard.originText = (l == null ? void 0 : l.v) != null && !Array.isArray(l.v) ? `${l.v}` : "";
28073
28080
  }
28074
- function t1(e, t, n, r, a, l, o) {
28081
+ function n1(e, t, n, r, a, l, o) {
28075
28082
  var c, f, m, d;
28076
28083
  const i = Ee(e, e.currentSheetId), u = Se(e);
28077
- if (o != null && o.applySelectionFromModel && i != null && u != null && ih(
28084
+ if (o != null && o.applySelectionFromModel && i != null && u != null && sh(
28078
28085
  e,
28079
28086
  t,
28080
28087
  n,
@@ -28140,7 +28147,7 @@ function t1(e, t, n, r, a, l, o) {
28140
28147
  ]));
28141
28148
  }
28142
28149
  }
28143
- function sh(e, t, n) {
28150
+ function uh(e, t, n) {
28144
28151
  var i, u, s, c;
28145
28152
  if (!ct(e)) return;
28146
28153
  const a = Ee(e, e.currentSheetId), l = Se(e);
@@ -28152,7 +28159,7 @@ function sh(e, t, n) {
28152
28159
  );
28153
28160
  h.set(e.luckysheetfile[a], "hyperlink", f);
28154
28161
  const m = l[t][n];
28155
- m != null && (ah(m), (i = l[t][n]) == null || delete i.hl, (u = l[t][n]) == null || delete u.un, (s = l[t][n]) == null || delete s.fc, o = l[t][n]);
28162
+ m != null && (oh(m), (i = l[t][n]) == null || delete i.hl, (u = l[t][n]) == null || delete u.un, (s = l[t][n]) == null || delete s.fc, o = l[t][n]);
28156
28163
  }
28157
28164
  if (e.linkCard = void 0, (c = e == null ? void 0 : e.hooks) != null && c.updateCellYdoc) {
28158
28165
  const f = [
@@ -28173,7 +28180,7 @@ function sh(e, t, n) {
28173
28180
  }), e.hooks.updateCellYdoc(f);
28174
28181
  }
28175
28182
  }
28176
- function n1(e, t, n, r) {
28183
+ function r1(e, t, n, r) {
28177
28184
  var m, d, p;
28178
28185
  if (!ct(e)) return;
28179
28186
  const l = Ee(e, e.currentSheetId), o = Se(e);
@@ -28191,7 +28198,7 @@ function n1(e, t, n, r) {
28191
28198
  const c = Qo((d = i.hyperlink) == null ? void 0 : d[u]), f = c.filter((g) => !_n(g, r));
28192
28199
  if (f.length !== c.length) {
28193
28200
  if (f.length === 0) {
28194
- sh(e, t, n);
28201
+ uh(e, t, n);
28195
28202
  return;
28196
28203
  }
28197
28204
  Qn(i, t, n, f), (p = e == null ? void 0 : e.hooks) != null && p.updateCellYdoc && e.hooks.updateCellYdoc([
@@ -28205,7 +28212,7 @@ function n1(e, t, n, r) {
28205
28212
  ]), ca(e, t, n);
28206
28213
  }
28207
28214
  }
28208
- function r1(e, t, n, r, a, l, o) {
28215
+ function a1(e, t, n, r, a, l, o) {
28209
28216
  var y, b, w;
28210
28217
  if (!ct(e)) return;
28211
28218
  const u = Ee(e, e.currentSheetId), s = Se(e);
@@ -28244,7 +28251,7 @@ function r1(e, t, n, r, a, l, o) {
28244
28251
  }
28245
28252
  ca(e, t, n);
28246
28253
  }
28247
- function uh(e, t, n, r, a = !1, l = !1) {
28254
+ function ch(e, t, n, r, a = !1, l = !1) {
28248
28255
  var p, g, y, b, w, v, _, T, C, $;
28249
28256
  const o = (((p = e.luckysheetCellUpdate) == null ? void 0 : p.length) ?? 0) === 2 && e.luckysheetCellUpdate[0] === t && e.luckysheetCellUpdate[1] === n, i = r == null ? void 0 : r.caretViewLink;
28250
28257
  if (o && !a && !i || (g = e.linkCard) != null && g.selectingCellRange && !a || `${t}_${n}` === ((y = e.linkCard) == null ? void 0 : y.rc) && !(r != null && r.applyToSelection) && !l && !a && !i)
@@ -28258,7 +28265,7 @@ function uh(e, t, n, r, a = !1, l = !1) {
28258
28265
  const S = n - 1 === -1 ? 0 : e.visibledatacolumn[n - 1], N = e.visibledatarow[t], M = (() => {
28259
28266
  if ((r == null ? void 0 : r.originText) !== void 0) return r.originText;
28260
28267
  if (i && c) {
28261
- const K = th(c, i);
28268
+ const K = nh(c, i);
28262
28269
  if (K.length > 0) return K;
28263
28270
  }
28264
28271
  return (c == null ? void 0 : c.v) == null ? "" : `${c.v}`;
@@ -28284,7 +28291,7 @@ function uh(e, t, n, r, a = !1, l = !1) {
28284
28291
  };
28285
28292
  }
28286
28293
  }
28287
- function a1(e, t, n, r, a, l, o) {
28294
+ function o1(e, t, n, r, a, l, o) {
28288
28295
  if (Ee(e, e.currentSheetId) != null && qr(e, t, n).length !== 0) {
28289
28296
  if (r === "webpage") {
28290
28297
  const u = String(a ?? "").trim();
@@ -28310,12 +28317,12 @@ function a1(e, t, n, r, a, l, o) {
28310
28317
  e.linkCard = void 0;
28311
28318
  }
28312
28319
  }
28313
- function o1(e, t, n) {
28320
+ function l1(e, t, n) {
28314
28321
  if (!n) return { isValid: !1, tooltip: "" };
28315
28322
  const { insertLink: r } = Et(e), a = String(n ?? "").trim();
28316
28323
  return $u(a) ? { isValid: !0, tooltip: "" } : (/^https?:\/\//i.test(n) || (n = `https://${n}`), /^(https?):\/\/[^\s$.?#].[^\s]*$/i.test(n) ? t === "cellrange" && !Dt(n) ? { isValid: !1, tooltip: r.invalidCellRangeTip } : { isValid: !0, tooltip: "" } : { isValid: !1, tooltip: r.tooltipInfo1 });
28317
28324
  }
28318
- function l1(e, t) {
28325
+ function i1(e, t) {
28319
28326
  var u;
28320
28327
  const n = (u = e.linkCard) == null ? void 0 : u.rangeSelectionModal;
28321
28328
  if (n == null) return;
@@ -28325,10 +28332,10 @@ function l1(e, t) {
28325
28332
  let { top: o, left: i } = n.initialPosition;
28326
28333
  i += t.pageX - a, o += t.pageY - l, o < 0 && (o = 0), r.style.left = `${i}px`, r.style.top = `${o}px`;
28327
28334
  }
28328
- function i1(e) {
28335
+ function s1(e) {
28329
28336
  h.set(e, "linkCard.rangeSelectionModal", void 0);
28330
28337
  }
28331
- function ch(e, t, n, r) {
28338
+ function fh(e, t, n, r) {
28332
28339
  let a = [];
28333
28340
  const l = n.row[0] - t.row[0], o = n.column[0] - t.column[0], i = e.row[0], u = e.row[1], s = e.column[0], c = e.column[1];
28334
28341
  return i >= t.row[0] && u <= t.row[1] && s >= t.column[0] && c <= t.column[1] ? r === "allPart" ? a = [
@@ -28588,7 +28595,7 @@ function ch(e, t, n, r) {
28588
28595
  }
28589
28596
  ]) : r === "allPart" ? a = [{ row: [i, u], column: [s, c] }] : r === "restPart" ? a = [{ row: [i, u], column: [s, c] }] : r === "operatePart" && (a = []), a;
28590
28597
  }
28591
- function fh(e, t, n, r, a) {
28598
+ function dh(e, t, n, r, a) {
28592
28599
  if (!e.length) return [];
28593
28600
  const l = [];
28594
28601
  for (let o = 0; o < e.length; o += 1) {
@@ -28598,7 +28605,7 @@ function fh(e, t, n, r, a) {
28598
28605
  let c = [];
28599
28606
  for (let f = 0; f < s.length; f += 1)
28600
28607
  c = c.concat(
28601
- ch(
28608
+ fh(
28602
28609
  s[f],
28603
28610
  { row: [t, n], column: [r, a] },
28604
28611
  { row: [t, n], column: [r, a] },
@@ -28616,7 +28623,7 @@ function fh(e, t, n, r, a) {
28616
28623
  function Nu(e, t) {
28617
28624
  let n = e ?? [];
28618
28625
  return t.forEach((r) => {
28619
- n = fh(
28626
+ n = dh(
28620
28627
  n,
28621
28628
  r.row[0],
28622
28629
  r.row[1],
@@ -28876,7 +28883,7 @@ function fa(e) {
28876
28883
  let t = e;
28877
28884
  return h.isPlainObject(t) && (t = t.v), !!(!ot(t) && Vs(t).num && (e.ct == null || e.ct.t == null || e.ct.t === "n" || e.ct.t === "g"));
28878
28885
  }
28879
- function dh(e) {
28886
+ function mh(e) {
28880
28887
  let t = e;
28881
28888
  return h.isPlainObject(t) && (t = t.v), !ot(t);
28882
28889
  }
@@ -28957,7 +28964,7 @@ function Vr(e, t, n, r, a, l, o, i, u, s, c, f, m) {
28957
28964
  let d = !0, p = !1;
28958
28965
  for (let g = o; g <= i; g += 1) {
28959
28966
  let y = null;
28960
- s === "c" ? y = r[g][l] : y = r[l][g], fa(y) ? (d = !1, p = !0) : dh(y) && (d = !1);
28967
+ s === "c" ? y = r[g][l] : y = r[l][g], fa(y) ? (d = !1, p = !0) : mh(y) && (d = !1);
28961
28968
  }
28962
28969
  if (d && m) {
28963
28970
  let g = $r(r, a, l, s);
@@ -29059,7 +29066,7 @@ function Vr(e, t, n, r, a, l, o, i, u, s, c, f, m) {
29059
29066
  }
29060
29067
  return !0;
29061
29068
  }
29062
- function mh(e, t, n, r, a) {
29069
+ function hh(e, t, n, r, a) {
29063
29070
  if (!ct(e)) return;
29064
29071
  const o = Se(e);
29065
29072
  if (o == null) return;
@@ -29191,7 +29198,7 @@ function mh(e, t, n, r, a) {
29191
29198
  i = i && i;
29192
29199
  }), i || (e.formulaCache.execFunctionExist.reverse(), ln(e, null, null, null, null, o), e.formulaCache.execFunctionGlobalData = null));
29193
29200
  }
29194
- function hh(e) {
29201
+ function ph(e) {
29195
29202
  var t;
29196
29203
  if (e.luckysheet_copy_save !== null) {
29197
29204
  if (((t = e.luckysheet_copy_save) == null ? void 0 : t.dataSheetId) === e.currentSheetId)
@@ -29210,7 +29217,7 @@ function hh(e) {
29210
29217
  }, e.luckysheetPaintModelOn = !1;
29211
29218
  }
29212
29219
  }
29213
- function ph(e, t) {
29220
+ function gh(e, t) {
29214
29221
  const n = Se(e);
29215
29222
  if (!n) return;
29216
29223
  const r = e.currency || "¥";
@@ -29222,11 +29229,11 @@ function ph(e, t) {
29222
29229
  Xs(r, 2)
29223
29230
  );
29224
29231
  }
29225
- function gh(e, t) {
29232
+ function yh(e, t) {
29226
29233
  const n = Se(e);
29227
29234
  n && Xt(e, t, n, "ct", "0.00%");
29228
29235
  }
29229
- function yh(e, t) {
29236
+ function bh(e, t) {
29230
29237
  var p;
29231
29238
  const n = Se(e);
29232
29239
  if (!n || !e.luckysheet_select_save) return;
@@ -29282,7 +29289,7 @@ function yh(e, t) {
29282
29289
  }
29283
29290
  Xt(e, t, n, "ct", d);
29284
29291
  }
29285
- function bh(e, t) {
29292
+ function wh(e, t) {
29286
29293
  const n = Se(e);
29287
29294
  if (!n || !e.luckysheet_select_save) return;
29288
29295
  const r = e.luckysheet_select_save[0].row_focus, a = e.luckysheet_select_save[0].column_focus;
@@ -29324,32 +29331,32 @@ function bh(e, t) {
29324
29331
  m.length > 0 ? d = `${c.replace(m, "")}.0${m}` : d = `${c}.0${m}`;
29325
29332
  Xt(e, t, n, "ct", d);
29326
29333
  }
29327
- function wh(e, t) {
29334
+ function vh(e, t) {
29328
29335
  Ea(e, t, "bl");
29329
29336
  }
29330
- function vh(e, t) {
29337
+ function _h(e, t) {
29331
29338
  Ea(e, t, "it");
29332
29339
  }
29333
- function _h(e, t) {
29340
+ function Th(e, t) {
29334
29341
  Ea(e, t, "cl");
29335
29342
  }
29336
- function Th(e, t) {
29343
+ function $h(e, t) {
29337
29344
  Ea(e, t, "un");
29338
29345
  }
29339
- function s1(e, t, n) {
29346
+ function u1(e, t, n) {
29340
29347
  Dr(e, t, "ht", n);
29341
29348
  }
29342
- function u1(e, t, n) {
29349
+ function c1(e, t, n) {
29343
29350
  Dr(e, t, "vt", n);
29344
29351
  }
29345
- function $h(e) {
29352
+ function Ch(e) {
29346
29353
  if (!ct(e) || e.luckysheet_select_save == null || e.luckysheet_select_save.length === 0 || e.luckysheet_select_save.length > 1)
29347
29354
  return;
29348
29355
  let n = !1;
29349
29356
  const r = e.luckysheet_select_save[0].row[0], a = e.luckysheet_select_save[0].row[1], l = e.luckysheet_select_save[0].column[0], o = e.luckysheet_select_save[0].column[1];
29350
29357
  if (n = un(e, e.config, r, a, l, o), n)
29351
29358
  return;
29352
- hh(e), e.luckysheet_selection_range = [
29359
+ ph(e), e.luckysheet_selection_range = [
29353
29360
  {
29354
29361
  row: e.luckysheet_select_save[0].row,
29355
29362
  column: e.luckysheet_select_save[0].column
@@ -29378,7 +29385,7 @@ function $h(e) {
29378
29385
  HasMC: u
29379
29386
  }, e.luckysheetPaintModelOn = !0, e.luckysheetPaintSingle = !0;
29380
29387
  }
29381
- function Ch(e) {
29388
+ function Nh(e) {
29382
29389
  var l, o, i, u, s;
29383
29390
  if (e.allowEdit === !1) return;
29384
29391
  const t = Se(e);
@@ -29416,13 +29423,13 @@ function Ch(e) {
29416
29423
  }
29417
29424
  (u = e == null ? void 0 : e.hooks) != null && u.updateCellYdoc && (r && vo(e, ((s = e.config) == null ? void 0 : s.borderInfo) ?? []), n.length > 0 && e.hooks.updateCellYdoc(n));
29418
29425
  }
29419
- function c1(e, t, n) {
29426
+ function f1(e, t, n) {
29420
29427
  Dr(e, t, "fc", n);
29421
29428
  }
29422
- function f1(e, t, n) {
29429
+ function d1(e, t, n) {
29423
29430
  Dr(e, t, "bg", n);
29424
29431
  }
29425
- function Nh(e, t, n, r) {
29432
+ function Sh(e, t, n, r) {
29426
29433
  var c;
29427
29434
  if (!ct(e)) return;
29428
29435
  t == null && (t = "border-all");
@@ -29470,7 +29477,7 @@ function Nh(e, t, n, r) {
29470
29477
  const s = Ee(e, e.currentSheetId);
29471
29478
  s != null && (la(e.luckysheetfile[s], e.config), e.config = e.luckysheetfile[s].config, vo(e, i.borderInfo));
29472
29479
  }
29473
- function Sh(e, t) {
29480
+ function kh(e, t) {
29474
29481
  if (!ct(e)) return;
29475
29482
  if (e.config.merge != null) {
29476
29483
  let a = !1;
@@ -29483,12 +29490,12 @@ function Sh(e, t) {
29483
29490
  if (a)
29484
29491
  return;
29485
29492
  }
29486
- Se(e) && e.luckysheet_select_save && eh(e, e.currentSheetId, e.luckysheet_select_save, t);
29493
+ Se(e) && e.luckysheet_select_save && th(e, e.currentSheetId, e.luckysheet_select_save, t);
29487
29494
  }
29488
- function kh(e, t) {
29495
+ function Ah(e, t) {
29489
29496
  mm(e, t);
29490
29497
  }
29491
- function d1(e, t) {
29498
+ function m1(e, t) {
29492
29499
  var u, s;
29493
29500
  if (!ct(e)) return;
29494
29501
  const r = e.luckysheetfile[Ee(e, e.currentSheetId)];
@@ -29504,18 +29511,18 @@ function d1(e, t) {
29504
29511
  const i = (s = e.config.merge) == null ? void 0 : s[`${l}_${o}`];
29505
29512
  i && (l = i.r + i.rs - 1, o = i.c + i.cs - 1), r.frozen = { type: "both", range: { row_focus: l, column_focus: o } }, t === "freeze-row" ? r.frozen.type = "rangeRow" : t === "freeze-col" && (r.frozen.type = "rangeColumn");
29506
29513
  }
29507
- function m1(e, t, n, r) {
29514
+ function h1(e, t, n, r) {
29508
29515
  Dr(e, t, "fs", n, r);
29509
29516
  }
29510
- function h1(e, t, n, r) {
29511
- mh(e, t, n, "SUM", r);
29517
+ function p1(e, t, n, r) {
29518
+ hh(e, t, n, "SUM", r);
29512
29519
  }
29513
29520
  function Au(e) {
29514
29521
  return e.replace(/\r\n/g, `
29515
29522
  `).replace(/\r/g, `
29516
29523
  `);
29517
29524
  }
29518
- function Ah(e, t) {
29525
+ function Eh(e, t) {
29519
29526
  var a;
29520
29527
  if (!(((a = e.luckysheetCellUpdate) == null ? void 0 : a.length) === 2 && e.luckysheetCellUpdate[0] != null && e.luckysheetCellUpdate[1] != null)) return "";
29521
29528
  if (Uo(e) === "fx") {
@@ -29526,16 +29533,16 @@ function Ah(e, t) {
29526
29533
  }
29527
29534
  return (t == null ? void 0 : t.innerText) ?? "";
29528
29535
  }
29529
- function Eh(e, t) {
29536
+ function Mh(e, t) {
29530
29537
  var s, c;
29531
29538
  const n = (s = e.luckysheet_select_save) == null ? void 0 : s[0], r = Se(e);
29532
29539
  if (r == null || n == null) return !1;
29533
29540
  const a = n.row[0], l = n.column[0], o = (c = r[a]) == null ? void 0 : c[l];
29534
29541
  if ((o == null ? void 0 : o.f) != null && String(o.f).trim() !== "") return !0;
29535
- const u = Ah(e, t);
29542
+ const u = Eh(e, t);
29536
29543
  return !!(u.length > 0 && u.trimStart().startsWith("="));
29537
29544
  }
29538
- function p1(e, t, n) {
29545
+ function g1(e, t, n) {
29539
29546
  if (!n || !t) return;
29540
29547
  if (e.luckysheetCellUpdate.length !== 2) {
29541
29548
  delete n.linkEditorOpenSnapshot;
@@ -29561,10 +29568,10 @@ function p1(e, t, n) {
29561
29568
  selectedPlain: s
29562
29569
  };
29563
29570
  }
29564
- function Mh(e, t, n) {
29571
+ function Rh(e, t, n) {
29565
29572
  var g, y, b, w;
29566
29573
  if (!ct(e)) return;
29567
- if (Eh(e, t)) {
29574
+ if (Mh(e, t)) {
29568
29575
  (g = n == null ? void 0 : n.onHyperlinkInsertBlocked) == null || g.call(n);
29569
29576
  return;
29570
29577
  }
@@ -29593,11 +29600,11 @@ function Mh(e, t, n) {
29593
29600
  }
29594
29601
  }
29595
29602
  }
29596
- f && p && v.substring(0, 1) !== "=" && (d = Ps(t) ?? nh(
29603
+ f && p && v.substring(0, 1) !== "=" && (d = Ps(t) ?? rh(
29597
29604
  p,
29598
29605
  f.start,
29599
29606
  f.end
29600
- ) ?? rh(
29607
+ ) ?? ah(
29601
29608
  p,
29602
29609
  f.start
29603
29610
  ));
@@ -29612,7 +29619,7 @@ function Mh(e, t, n) {
29612
29619
  const $ = qr(e, o, i)[0];
29613
29620
  T > 0 ? (f = { start: 0, end: T }, c = _, m = T) : (f = { start: 0, end: 0 }, c = "", m = 0), $ && (d = $), e.luckysheetCellUpdate = [o, i];
29614
29621
  }
29615
- uh(
29622
+ ch(
29616
29623
  e,
29617
29624
  o,
29618
29625
  i,
@@ -29627,36 +29634,36 @@ function Mh(e, t, n) {
29627
29634
  !1
29628
29635
  );
29629
29636
  }
29630
- const Rh = {
29631
- "currency-format": ph,
29632
- "percentage-format": gh,
29633
- "number-decrease": yh,
29634
- "number-increase": bh,
29635
- "sort-cell": (e) => kh(e, !0),
29636
- "merge-all": (e) => Sh(e, "merge-all"),
29637
- "border-all": (e) => Nh(e, "border-all"),
29638
- bold: wh,
29639
- italic: vh,
29640
- "strike-through": _h,
29641
- underline: Th,
29642
- "clear-format": Ch,
29643
- "format-painter": $h,
29637
+ const xh = {
29638
+ "currency-format": gh,
29639
+ "percentage-format": yh,
29640
+ "number-decrease": bh,
29641
+ "number-increase": wh,
29642
+ "sort-cell": (e) => Ah(e, !0),
29643
+ "merge-all": (e) => kh(e, "merge-all"),
29644
+ "border-all": (e) => Sh(e, "border-all"),
29645
+ bold: vh,
29646
+ italic: _h,
29647
+ "strike-through": Th,
29648
+ underline: $h,
29649
+ "clear-format": Nh,
29650
+ "format-painter": Ch,
29644
29651
  search: (e) => {
29645
29652
  e.showSearch = !0;
29646
29653
  },
29647
- link: (e, t, n) => Mh(e, t, n)
29648
- }, xh = {
29654
+ link: (e, t, n) => Rh(e, t, n)
29655
+ }, Ih = {
29649
29656
  bold: (e) => (e == null ? void 0 : e.bl) === 1,
29650
29657
  italic: (e) => (e == null ? void 0 : e.it) === 1,
29651
29658
  "strike-through": (e) => (e == null ? void 0 : e.cl) === 1,
29652
29659
  underline: (e) => (e == null ? void 0 : e.un) === 1
29653
29660
  };
29654
- function g1(e) {
29655
- return Rh[e];
29656
- }
29657
29661
  function y1(e) {
29658
29662
  return xh[e];
29659
29663
  }
29664
+ function b1(e) {
29665
+ return Ih[e];
29666
+ }
29660
29667
  function Wr(e) {
29661
29668
  return `${e}px`;
29662
29669
  }
@@ -29706,7 +29713,7 @@ function nn(e) {
29706
29713
  }
29707
29714
  return t + n;
29708
29715
  }
29709
- function Ih(e) {
29716
+ function qh(e) {
29710
29717
  let t = "", n = "", r = 0, a = !0;
29711
29718
  for (; e > 0; ) {
29712
29719
  const l = e % 10;
@@ -29714,13 +29721,13 @@ function Ih(e) {
29714
29721
  }
29715
29722
  return n;
29716
29723
  }
29717
- function qh(e) {
29724
+ function Dh(e) {
29718
29725
  let t = "", n = "", r = 0, a = !1;
29719
29726
  if (e === 0)
29720
29727
  return Ke.chnNumChar2[0];
29721
29728
  for (; e > 0; ) {
29722
29729
  const l = e % 1e4;
29723
- a && (n = Ke.chnNumChar2[0] + n), t = Ih(l), t += l !== 0 ? Ke.chnUnitSection[r] : Ke.chnUnitSection[0], n = t + n, a = l < 1e3 && l > 0, e = Math.floor(e / 1e4), r += 1;
29730
+ a && (n = Ke.chnNumChar2[0] + n), t = qh(l), t += l !== 0 ? Ke.chnUnitSection[r] : Ke.chnUnitSection[0], n = t + n, a = l < 1e3 && l > 0, e = Math.floor(e / 1e4), r += 1;
29724
29731
  }
29725
29732
  return n;
29726
29733
  }
@@ -29773,7 +29780,7 @@ function lr(e) {
29773
29780
  }
29774
29781
  return t;
29775
29782
  }
29776
- function Dh(e) {
29783
+ function Oh(e) {
29777
29784
  let t = !0;
29778
29785
  const n = e[1] / e[0];
29779
29786
  for (let r = 1; r < e.length; r += 1)
@@ -29783,7 +29790,7 @@ function Dh(e) {
29783
29790
  }
29784
29791
  return t;
29785
29792
  }
29786
- function Oh(e) {
29793
+ function Fh(e) {
29787
29794
  const t = [];
29788
29795
  for (let n = 1; n <= e; n += 1)
29789
29796
  t.push(n);
@@ -29827,13 +29834,13 @@ function xu({ width: e, height: t, top: n, left: r }, a) {
29827
29834
  );
29828
29835
  l && (l.style.left = Wr(r), l.style.width = Wr(e), l.style.top = Wr(n), l.style.height = Wr(t), l.style.display = "block");
29829
29836
  }
29830
- function Fh(e) {
29837
+ function Lh(e) {
29831
29838
  const t = e.querySelector(
29832
29839
  ".fortune-cell-selected-extend"
29833
29840
  );
29834
29841
  t && (t.style.display = "none");
29835
29842
  }
29836
- function b1(e, t, n) {
29843
+ function w1(e, t, n) {
29837
29844
  e.luckysheet_cell_selected_extend = !0, e.luckysheet_scroll_status = !0;
29838
29845
  const { scrollLeft: r, scrollTop: a } = e, l = n.getBoundingClientRect(), o = t.pageX - l.left - e.rowHeaderWidth + r, i = t.pageY - l.top - e.columnHeaderHeight + a, u = Un(i, e.visibledatarow), s = u[0], c = u[1], f = u[2], m = zn(o, e.visibledatacolumn), d = m[0], p = m[1], g = m[2];
29839
29846
  e.luckysheet_cell_selected_extend_index = [f, g], xu(
@@ -29846,7 +29853,7 @@ function b1(e, t, n) {
29846
29853
  n
29847
29854
  );
29848
29855
  }
29849
- function w1(e, t, n, r, a) {
29856
+ function v1(e, t, n, r, a) {
29850
29857
  const { scrollLeft: l } = n, { scrollTop: o } = r, i = a.getBoundingClientRect(), u = t.pageX - i.left - e.rowHeaderWidth + l, s = t.pageY - i.top - e.columnHeaderHeight + o, c = Un(s, e.visibledatarow), f = c[1], m = c[0], d = c[2], p = zn(u, e.visibledatacolumn), g = p[1], y = p[0], b = p[2], w = e.luckysheet_cell_selected_extend_index[0], v = e.luckysheet_cell_selected_extend_index[1];
29851
29858
  if (!e.luckysheet_select_save) return;
29852
29859
  let _ = e.luckysheet_select_save[0].row[0], T = e.luckysheet_select_save[0].row[1], C = e.luckysheet_select_save[0].column[0], $ = e.luckysheet_select_save[0].column[1], S = e.luckysheet_select_save[0].top_move, N = e.luckysheet_select_save[0].height_move, M = e.luckysheet_select_save[0].left_move, z = e.luckysheet_select_save[0].width_move;
@@ -29860,13 +29867,13 @@ function Yt(e, t) {
29860
29867
  }
29861
29868
  return n;
29862
29869
  }
29863
- function Lh(e, t, n) {
29870
+ function Bh(e, t, n) {
29864
29871
  const r = [], a = [];
29865
29872
  for (let l = 0; l < e.length; l += 1) {
29866
29873
  const o = h.cloneDeep(e[l]);
29867
29874
  o != null && a.push(Number(o.v));
29868
29875
  }
29869
- if (e.length > 2 && Dh(a) && e[0] != null && e[1] != null)
29876
+ if (e.length > 2 && Oh(a) && e[0] != null && e[1] != null)
29870
29877
  for (let l = 1; l <= t; l += 1) {
29871
29878
  const o = (l - 1) % e.length, i = h.cloneDeep(e[o]);
29872
29879
  if (i != null) {
@@ -29875,7 +29882,7 @@ function Lh(e, t, n) {
29875
29882
  }
29876
29883
  }
29877
29884
  else {
29878
- const l = Oh(e.length);
29885
+ const l = Fh(e.length);
29879
29886
  for (let o = 1; o <= t; o += 1) {
29880
29887
  const i = (o - 1) % e.length, u = h.cloneDeep(e[i]);
29881
29888
  if (u != null) {
@@ -29886,7 +29893,7 @@ function Lh(e, t, n) {
29886
29893
  }
29887
29894
  return r;
29888
29895
  }
29889
- function Bh(e, t, n) {
29896
+ function Ph(e, t, n) {
29890
29897
  var l;
29891
29898
  const r = [], a = /0|([1-9]+[0-9]*)/g;
29892
29899
  for (let o = 1; o <= t; o += 1) {
@@ -29937,7 +29944,7 @@ function is(e, t, n) {
29937
29944
  }
29938
29945
  return r;
29939
29946
  }
29940
- function Ph(e, t, n) {
29947
+ function Hh(e, t, n) {
29941
29948
  var a;
29942
29949
  const r = [];
29943
29950
  for (let l = 1; l <= t; l += 1) {
@@ -29952,7 +29959,7 @@ function Ph(e, t, n) {
29952
29959
  }
29953
29960
  return r;
29954
29961
  }
29955
- function Hh(e, t, n) {
29962
+ function Uh(e, t, n) {
29956
29963
  var a;
29957
29964
  const r = [];
29958
29965
  for (let l = 1; l <= t; l += 1) {
@@ -29974,7 +29981,7 @@ function Hh(e, t, n) {
29974
29981
  }
29975
29982
  return r;
29976
29983
  }
29977
- function Uh(e, t, n) {
29984
+ function zh(e, t, n) {
29978
29985
  var a;
29979
29986
  const r = [];
29980
29987
  for (let l = 1; l <= t; l += 1) {
@@ -30004,7 +30011,7 @@ function ss(e, t, n) {
30004
30011
  if (u != null && i != null) {
30005
30012
  const s = nn(`${u}`) + n * l;
30006
30013
  let c;
30007
- s <= 0 ? c = "零" : c = qh(s), i.v = c, i.m = c.toString(), r.push(i);
30014
+ s <= 0 ? c = "零" : c = Dh(s), i.v = c, i.m = c.toString(), r.push(i);
30008
30015
  }
30009
30016
  }
30010
30017
  return r;
@@ -30058,7 +30065,7 @@ function _t(e, t, n, r, a) {
30058
30065
  (n === "up" || n === "left") && e.reverse(), l = Yt(e, t);
30059
30066
  else if (r === "1")
30060
30067
  if (a === "number")
30061
- l = Lh(e, t, n);
30068
+ l = Bh(e, t, n);
30062
30069
  else if (a === "extendNumber") {
30063
30070
  const I = [];
30064
30071
  for (let L = 0; L < e.length; L += 1) {
@@ -30067,7 +30074,7 @@ function _t(e, t, n, r, a) {
30067
30074
  }
30068
30075
  if ((n === "up" || n === "left") && (e.reverse(), I.reverse()), lr(I)) {
30069
30076
  const L = I[1] - I[0];
30070
- l = Bh(e, t, L);
30077
+ l = Ph(e, t, L);
30071
30078
  } else
30072
30079
  l = Yt(e, t);
30073
30080
  } else if (a === "date") {
@@ -30097,7 +30104,7 @@ function _t(e, t, n, r, a) {
30097
30104
  if ((n === "up" || n === "left") && (e.reverse(), L.reverse()), lr(L))
30098
30105
  if (I || L[L.length - 1] < 6 && L[0] > 0 || L[0] < 6 && L[L.length - 1] > 0) {
30099
30106
  const H = L[1] - L[0];
30100
- l = Ph(e, t, H);
30107
+ l = Hh(e, t, H);
30101
30108
  } else {
30102
30109
  const H = L[1] - L[0];
30103
30110
  l = ss(e, t, H);
@@ -30117,7 +30124,7 @@ function _t(e, t, n, r, a) {
30117
30124
  }
30118
30125
  if ((n === "up" || n === "left") && (e.reverse(), I.reverse()), lr(I)) {
30119
30126
  const pe = I[1] - I[0];
30120
- l = Hh(e, t, pe);
30127
+ l = Uh(e, t, pe);
30121
30128
  } else
30122
30129
  l = Yt(e, t);
30123
30130
  } else if (a === "chnWeek3") {
@@ -30133,7 +30140,7 @@ function _t(e, t, n, r, a) {
30133
30140
  }
30134
30141
  if ((n === "up" || n === "left") && (e.reverse(), I.reverse()), lr(I)) {
30135
30142
  const pe = I[1] - I[0];
30136
- l = Uh(e, t, pe);
30143
+ l = zh(e, t, pe);
30137
30144
  } else
30138
30145
  l = Yt(e, t);
30139
30146
  } else
@@ -30342,7 +30349,7 @@ function _t(e, t, n, r, a) {
30342
30349
  I != null && delete I.ps;
30343
30350
  }), l;
30344
30351
  }
30345
- function zh(e, t, n, r, a, l) {
30352
+ function Yh(e, t, n, r, a, l) {
30346
30353
  const o = [];
30347
30354
  let i, u, s, c;
30348
30355
  l === "down" || l === "up" ? (i = r, u = a, s = t, c = n) : (i = t, u = n, s = r, c = a);
@@ -30519,7 +30526,7 @@ function qu(e) {
30519
30526
  if (a == null) return;
30520
30527
  const l = e.luckysheetfile[a], o = new Set(Object.keys(((M = l.config) == null ? void 0 : M.rowhidden) || {})), i = new Set(Object.keys(((z = l.config) == null ? void 0 : z.colhidden) || {})), u = h.cloneDeep(e.config);
30521
30528
  u.borderInfo == null && (u.borderInfo = []);
30522
- const s = Ko(e, e.currentSheetId), c = h.cloneDeep(l.dataVerification), { direction: f } = Ke, { copyRange: m } = Ke, d = m.row[0], p = m.row[1], g = m.column[0], y = m.column[1], b = zh(
30529
+ const s = Ko(e, e.currentSheetId), c = h.cloneDeep(l.dataVerification), { direction: f } = Ke, { copyRange: m } = Ke, d = m.row[0], p = m.row[1], g = m.column[0], y = m.column[1], b = Yh(
30523
30530
  t,
30524
30531
  d,
30525
30532
  p,
@@ -30888,9 +30895,9 @@ function qu(e) {
30888
30895
  }
30889
30896
  l.dataVerification = c, Wo(e, t, e.luckysheet_select_save);
30890
30897
  }
30891
- function v1(e, t, n) {
30898
+ function _1(e, t, n) {
30892
30899
  var b, w, v;
30893
- e.luckysheet_cell_selected_extend = !1, Fh(n);
30900
+ e.luckysheet_cell_selected_extend = !1, Lh(n);
30894
30901
  const { scrollLeft: r, scrollTop: a } = e, l = n.getBoundingClientRect(), o = t.pageX - l.left - e.rowHeaderWidth + r, i = t.pageY - l.top - e.columnHeaderHeight + a, u = Un(i, e.visibledatarow), s = u[0], c = u[2], f = zn(o, e.visibledatacolumn), m = f[0], d = f[2], p = e.luckysheet_cell_selected_extend_index[0], g = e.luckysheet_cell_selected_extend_index[1], y = (b = e.luckysheet_select_save) == null ? void 0 : b[e.luckysheet_select_save.length - 1];
30895
30902
  if (y && y.top != null && y.left != null && y.height != null && y.width != null && y.row_focus != null && y.column_focus != null) {
30896
30903
  let _ = y.row[0], T = y.row[1], C = y.column[0], $ = y.column[1];
@@ -30962,7 +30969,7 @@ function v1(e, t, n) {
30962
30969
  Q && (Q.style.display = "none");
30963
30970
  }
30964
30971
  }
30965
- function Yh(e, t, n) {
30972
+ function Vh(e, t, n) {
30966
30973
  let r = e.length;
30967
30974
  const a = Et(n).pivotTable, { title: l } = a;
30968
30975
  for (let o = 0; o < e.length; o += 1)
@@ -30974,7 +30981,7 @@ function Yh(e, t, n) {
30974
30981
  }
30975
30982
  return t ? l + (r + 1) : `Sheet${r + 1}`;
30976
30983
  }
30977
- function Vh(e) {
30984
+ function Wh(e) {
30978
30985
  let t;
30979
30986
  e.indexOf("rgba") > -1 ? t = e.replace("rgba(", "").replace(")", "").split(",") : t = e.replace("rgb(", "").replace(")", "").split(",");
30980
30987
  const n = Number(t[0]), r = Number(t[1]), a = Number(t[2]);
@@ -30995,7 +31002,7 @@ function qt(e) {
30995
31002
  l = r(t[o]), a += l * 26 ** (n - o - 1);
30996
31003
  return a === 0 ? NaN : a - 1;
30997
31004
  }
30998
- function Wh(e) {
31005
+ function Gh(e) {
30999
31006
  return typeof e != "string" ? e : e.replace(/<script>/g, "&lt;script&gt;").replace(/<\/script>/, "&lt;/script&gt;");
31000
31007
  }
31001
31008
  function Cr(e) {
@@ -31019,7 +31026,7 @@ function Ma(e, t) {
31019
31026
  const n = Ee(e, t);
31020
31027
  return h.isNil(n) ? null : e.luckysheetfile[n];
31021
31028
  }
31022
- function _1(e) {
31029
+ function T1(e) {
31023
31030
  const t = /* @__PURE__ */ new Date(), n = t.getFullYear();
31024
31031
  let r = t.getMonth(), a = t.getDate(), l = t.getHours(), o = t.getMinutes(), i = t.getSeconds();
31025
31032
  r += 1, r < 10 && (r = `0${r}`), a < 10 && (a = `0${a}`), l < 10 && (l = `0${l}`), o < 10 && (o = `0${o}`), i < 10 && (i = `0${i}`);
@@ -31032,10 +31039,10 @@ function fs(e, t) {
31032
31039
  return typeof a < "u" ? a : n;
31033
31040
  });
31034
31041
  }
31035
- function T1(e) {
31042
+ function $1(e) {
31036
31043
  return e.replace("~*", "\\*").replace("~?", "\\?").replace(".", "\\.").replace("*", ".*").replace("?", ".");
31037
31044
  }
31038
- function $1(e) {
31045
+ function C1(e) {
31039
31046
  let a = "";
31040
31047
  for (; e >= 0; )
31041
31048
  a = String.fromCharCode(e % 26 + 97) + a, e = Math.floor(e / 26) - 1;
@@ -31075,10 +31082,10 @@ function Du(e, t) {
31075
31082
  return !0;
31076
31083
  }) && (h.isUndefined(e.isFlvReadOnly) ? !0 : e.isFlvReadOnly);
31077
31084
  }
31078
- function Gh(e) {
31085
+ function jh(e) {
31079
31086
  return /^[a-zA-Z]\d+$/.test(e);
31080
31087
  }
31081
- function jh(e) {
31088
+ function Xh(e) {
31082
31089
  const t = document.createElement("div");
31083
31090
  t.innerHTML = e;
31084
31091
  const n = t.querySelectorAll("span");
@@ -31143,7 +31150,7 @@ function Fu(e, t, n) {
31143
31150
  }
31144
31151
  }), s || u;
31145
31152
  }
31146
- function Xh(e, t) {
31153
+ function Zh(e, t) {
31147
31154
  var l;
31148
31155
  let n = "";
31149
31156
  const r = e.includes("."), a = t;
@@ -31163,7 +31170,7 @@ const Zt = new Error("invalid params"), _o = new Error("sheet not found"), To =
31163
31170
  a != null && Bn(a) && t.push({ r: n, c: r, v: a });
31164
31171
  }
31165
31172
  return t;
31166
- }, C1 = (e, t, n, r) => {
31173
+ }, N1 = (e, t, n, r) => {
31167
31174
  const a = h.maxBy(e, "r"), l = h.maxBy(e, "c");
31168
31175
  let o = ((a == null ? void 0 : a.r) ?? 0) + 1, i = ((l == null ? void 0 : l.c) ?? 0) + 1;
31169
31176
  t != null && n != null && t > 0 && n > 0 && (o = Math.max(o, t), i = Math.max(i, n));
@@ -31188,11 +31195,11 @@ function At(e, t = {}) {
31188
31195
  throw _o;
31189
31196
  return r;
31190
31197
  }
31191
- function N1(e, t = {}) {
31198
+ function S1(e, t = {}) {
31192
31199
  const n = At(e, t);
31193
31200
  return { ...n, celldata: To(n.data) };
31194
31201
  }
31195
- function S1(e, t, n, r = {}) {
31202
+ function k1(e, t, n, r = {}) {
31196
31203
  var s;
31197
31204
  if (!h.isNumber(t) || !h.isNumber(n))
31198
31205
  throw new Error("row or column cannot be null or undefined");
@@ -31270,7 +31277,7 @@ function Lu(e, t, n, r, a, l = {}, o) {
31270
31277
  r.toString().substr(0, 1) === "=" || r.toString().substr(0, 5) === "<span" ? yo(e, t, n, a, r) : (Ft(e, t, n), It(e, t, n, u, r));
31271
31278
  o && ((m = (f = e.hooks).onLocalCellEdit) == null || m.call(f), e.hooks.afterUpdateCell && ((p = (d = e.hooks).afterUpdateCell) == null || p.call(d, t, n, null, r)));
31272
31279
  }
31273
- function Zh(e, t, n, r) {
31280
+ function Kh(e, t, n, r) {
31274
31281
  e.celldata || (e.celldata = []);
31275
31282
  const a = e.celldata.findIndex((u) => u.r === t && u.c === n);
31276
31283
  if (r == null || typeof r == "string" && r.length === 0 || r instanceof Object && !Bn(r)) {
@@ -31287,12 +31294,12 @@ function Zh(e, t, n, r) {
31287
31294
  const i = { r: t, c: n, v: o };
31288
31295
  a >= 0 ? e.celldata[a] = i : e.celldata.push(i);
31289
31296
  }
31290
- function k1(e, t, n, r, a = {}) {
31297
+ function A1(e, t, n, r, a = {}) {
31291
31298
  if (!h.isNumber(t) || !h.isNumber(n))
31292
31299
  throw new Error("row or column cannot be null or undefined");
31293
31300
  const l = At(e, a), o = a.id ?? l.id ?? e.currentSheetId, { data: i } = l;
31294
31301
  if (!i) {
31295
- if (Zh(l, t, n, r), r == null || r.toString().length === 0)
31302
+ if (Kh(l, t, n, r), r == null || r.toString().length === 0)
31296
31303
  Ft(e, t, n, o);
31297
31304
  else if (r instanceof Object)
31298
31305
  r.f != null ? On(e, t, n, o) : Ft(e, t, n, o);
@@ -31314,14 +31321,14 @@ function k1(e, t, n, r, a = {}) {
31314
31321
  const u = r.toString();
31315
31322
  u.substr(0, 1) === "=" || u.substr(0, 5) === "<span" ? (It(e, t, n, i, { f: u }), On(e, t, n, o)) : (Ft(e, t, n, o), It(e, t, n, i, r));
31316
31323
  }
31317
- function A1(e, t, n, r = {}) {
31324
+ function E1(e, t, n, r = {}) {
31318
31325
  var o, i;
31319
31326
  if (!h.isNumber(t) || !h.isNumber(n))
31320
31327
  throw new Error("row or column cannot be null or undefined");
31321
31328
  const a = At(e, r), l = (i = (o = a.data) == null ? void 0 : o[t]) == null ? void 0 : i[n];
31322
31329
  l && h.isPlainObject(l) && (delete l.m, delete l.v, l.f != null && (delete l.f, Ft(e, t, n, a.id), delete l.spl));
31323
31330
  }
31324
- function E1(e, t, n, r, a, l = {}) {
31331
+ function M1(e, t, n, r, a, l = {}) {
31325
31332
  var c;
31326
31333
  if (!h.isNumber(t) || !h.isNumber(n))
31327
31334
  throw new Error("row or column cannot be null or undefined");
@@ -31352,12 +31359,12 @@ function E1(e, t, n, r, a, l = {}) {
31352
31359
  u[r] = a;
31353
31360
  i[t][n] = u, o.config = s, e.config = s;
31354
31361
  }
31355
- function M1(e, t, n, r) {
31362
+ function R1(e, t, n, r) {
31356
31363
  Ke.copyRange = t, Ke.applyRange = n, Ke.direction = r;
31357
31364
  const a = Iu(e);
31358
31365
  !a[0] && !a[1] && !a[2] && !a[3] && !a[4] && !a[5] && !a[6] ? Ke.applyType = "0" : Ke.applyType = "1", qu(e);
31359
31366
  }
31360
- function R1(e, t, n, r = {}) {
31367
+ function x1(e, t, n, r = {}) {
31361
31368
  const a = At(e, r), o = {
31362
31369
  row: "rangeRow",
31363
31370
  column: "rangeColumn",
@@ -31372,12 +31379,12 @@ function R1(e, t, n, r = {}) {
31372
31379
  }
31373
31380
  };
31374
31381
  }
31375
- function x1(e, t, n, r, a, l = {}) {
31382
+ function I1(e, t, n, r, a, l = {}) {
31376
31383
  if (!["row", "column"].includes(t) || !h.isNumber(n) || !h.isNumber(r) || !["lefttop", "rightbottom"].includes(a))
31377
31384
  throw Zt;
31378
31385
  const o = At(e, l);
31379
31386
  try {
31380
- Qm(e, {
31387
+ Jm(e, {
31381
31388
  type: t,
31382
31389
  index: n,
31383
31390
  count: r,
@@ -31388,13 +31395,13 @@ function x1(e, t, n, r, a, l = {}) {
31388
31395
  console.error(i);
31389
31396
  }
31390
31397
  }
31391
- function I1(e, t, n, r, a = {}) {
31398
+ function q1(e, t, n, r, a = {}) {
31392
31399
  if (!["row", "column"].includes(t) || !h.isNumber(n) || !h.isNumber(r))
31393
31400
  throw Zt;
31394
31401
  const l = At(e, a);
31395
31402
  Tu(e, { type: t, start: n, end: r, id: l.id });
31396
31403
  }
31397
- function q1(e, t, n) {
31404
+ function D1(e, t, n) {
31398
31405
  if (!["row", "column"].includes(n))
31399
31406
  throw Zt;
31400
31407
  if (!e || !e.config) return;
@@ -31413,7 +31420,7 @@ function q1(e, t, n) {
31413
31420
  }
31414
31421
  e.luckysheetfile[r].config = e.config;
31415
31422
  }
31416
- function D1(e, t, n) {
31423
+ function O1(e, t, n) {
31417
31424
  if (!["row", "column"].includes(n))
31418
31425
  throw Zt;
31419
31426
  if (!e || !e.config) return;
@@ -31432,7 +31439,7 @@ function D1(e, t, n) {
31432
31439
  }
31433
31440
  e.luckysheetfile[r].config = e.config;
31434
31441
  }
31435
- function Kh(e, t, n = {}, r = !1) {
31442
+ function Qh(e, t, n = {}, r = !1) {
31436
31443
  if (!h.isPlainObject(t))
31437
31444
  throw Zt;
31438
31445
  const a = At(e, n), l = a.config || {};
@@ -31448,7 +31455,7 @@ function Kh(e, t, n = {}, r = !1) {
31448
31455
  }
31449
31456
  }), a.config = l, e.currentSheetId === a.id && (e.config = l);
31450
31457
  }
31451
- function O1(e, t, n = {}, r = !1) {
31458
+ function F1(e, t, n = {}, r = !1) {
31452
31459
  if (!h.isPlainObject(t))
31453
31460
  throw Zt;
31454
31461
  const a = At(e, n), l = a.config || {};
@@ -31464,7 +31471,7 @@ function O1(e, t, n = {}, r = !1) {
31464
31471
  }
31465
31472
  }), a.config = l, e.currentSheetId === a.id && (e.config = l);
31466
31473
  }
31467
- function Qh(e, t, n = {}) {
31474
+ function Jh(e, t, n = {}) {
31468
31475
  if (!h.isArray(t) || t.length === 0)
31469
31476
  throw Zt;
31470
31477
  const l = (At(e, n).config || {}).rowlen || {}, o = {};
@@ -31475,7 +31482,7 @@ function Qh(e, t, n = {}) {
31475
31482
  }
31476
31483
  }), o;
31477
31484
  }
31478
- function F1(e, t, n = {}) {
31485
+ function L1(e, t, n = {}) {
31479
31486
  if (!h.isArray(t) || t.length === 0)
31480
31487
  throw Zt;
31481
31488
  const l = (At(e, n).config || {}).columnlen || {}, o = {};
@@ -31486,8 +31493,8 @@ function F1(e, t, n = {}) {
31486
31493
  }
31487
31494
  }), o;
31488
31495
  }
31489
- function Jh(e, t, n, r = !1, a = void 0, l = void 0) {
31490
- qm(
31496
+ function ep(e, t, n, r = !1, a = void 0, l = void 0) {
31497
+ Dm(
31491
31498
  e,
31492
31499
  t,
31493
31500
  n,
@@ -31496,22 +31503,22 @@ function Jh(e, t, n, r = !1, a = void 0, l = void 0) {
31496
31503
  l
31497
31504
  );
31498
31505
  }
31499
- function L1(e, t = {}) {
31506
+ function B1(e, t = {}) {
31500
31507
  const n = At(e, t);
31501
- Dm(e, n.id);
31508
+ Om(e, n.id);
31502
31509
  }
31503
- function B1(e, t) {
31504
- Om(e, t);
31510
+ function P1(e, t) {
31511
+ Fm(e, t);
31505
31512
  }
31506
- function P1(e, t = {}) {
31513
+ function H1(e, t = {}) {
31507
31514
  const n = At(e, t);
31508
31515
  e.currentSheetId = n.id;
31509
31516
  }
31510
- function H1(e, t, n = {}) {
31517
+ function U1(e, t, n = {}) {
31511
31518
  const r = At(e, n);
31512
31519
  r.name = t;
31513
31520
  }
31514
- function ep(e, t) {
31521
+ function tp(e, t) {
31515
31522
  var n;
31516
31523
  (n = e.luckysheetfile) == null || n.forEach((r) => {
31517
31524
  r.id in t && (r.order = t[r.id]);
@@ -31519,7 +31526,7 @@ function ep(e, t) {
31519
31526
  r.order = a;
31520
31527
  });
31521
31528
  }
31522
- function U1(e, t, n, r) {
31529
+ function z1(e, t, n, r) {
31523
31530
  if (r.scrollLeft != null) {
31524
31531
  if (!h.isNumber(r.scrollLeft))
31525
31532
  throw Zt;
@@ -31541,17 +31548,17 @@ function U1(e, t, n, r) {
31541
31548
  n && (n.scrollTop = a);
31542
31549
  }
31543
31550
  }
31544
- function tp(e) {
31551
+ function np(e) {
31545
31552
  return Number.isFinite(Number(e)) && !Number.isNaN(Number(e));
31546
31553
  }
31547
- function np(e) {
31554
+ function rp(e) {
31548
31555
  return /^0x?[a-fA-F0-9]+$/.test(e);
31549
31556
  }
31550
31557
  const ds = "#f3f3f3", ms = 5;
31551
31558
  function Bu(e) {
31552
31559
  return typeof e != "string" ? !1 : ["price", "fully_diluted_value"].includes(e) || e.toLowerCase().includes("usd") || e.toLowerCase().includes("price_in");
31553
31560
  }
31554
- const Pu = `$#,##0.${"0".repeat(2)}`, rp = (e, t, n, r) => {
31561
+ const Pu = `$#,##0.${"0".repeat(2)}`, ap = (e, t, n, r) => {
31555
31562
  var l;
31556
31563
  if (!n.length) return e;
31557
31564
  const a = n.map((o) => {
@@ -31571,7 +31578,7 @@ const Pu = `$#,##0.${"0".repeat(2)}`, rp = (e, t, n, r) => {
31571
31578
  {},
31572
31579
  !1
31573
31580
  ), e + n.length;
31574
- }, ap = ({
31581
+ }, op = ({
31575
31582
  row: e,
31576
31583
  column: t,
31577
31584
  newValue: n,
@@ -31589,7 +31596,7 @@ const Pu = `$#,##0.${"0".repeat(2)}`, rp = (e, t, n, r) => {
31589
31596
  return;
31590
31597
  }
31591
31598
  let i = e;
31592
- o != null && o.length && (i = rp(
31599
+ o != null && o.length && (i = ap(
31593
31600
  e,
31594
31601
  t,
31595
31602
  o,
@@ -31656,7 +31663,7 @@ const Pu = `$#,##0.${"0".repeat(2)}`, rp = (e, t, n, r) => {
31656
31663
  }
31657
31664
  }
31658
31665
  } else {
31659
- if (op({
31666
+ if (lp({
31660
31667
  row: i,
31661
31668
  column: t,
31662
31669
  apiData: r,
@@ -31717,7 +31724,7 @@ const Pu = `$#,##0.${"0".repeat(2)}`, rp = (e, t, n, r) => {
31717
31724
  var l, o, i;
31718
31725
  const r = (o = (l = n.current) == null ? void 0 : l.getSheet()) == null ? void 0 : o.data, a = (i = r == null ? void 0 : r[e]) == null ? void 0 : i[t];
31719
31726
  return a == null ? {} : typeof a == "object" ? { ...a } : { v: a };
31720
- }, $o = (e) => tp(e) && !np(e), Hu = (e) => Array.isArray(e) ? e.map((t) => ({ ...t })) : e, mr = (e, t, n) => {
31727
+ }, $o = (e) => np(e) && !rp(e), Hu = (e) => Array.isArray(e) ? e.map((t) => ({ ...t })) : e, mr = (e, t, n) => {
31721
31728
  const r = $o(e);
31722
31729
  if (n && r && Bu(n)) {
31723
31730
  const { s: i, ...u } = t || {};
@@ -31742,7 +31749,7 @@ const Pu = `$#,##0.${"0".repeat(2)}`, rp = (e, t, n, r) => {
31742
31749
  if (!e || typeof e != "object") return e ?? {};
31743
31750
  const t = e.ct;
31744
31751
  return !t || !Array.isArray(t.s) ? { ...e } : { ...e, ct: { ...t, s: Hu(t.s) } };
31745
- }, op = ({
31752
+ }, lp = ({
31746
31753
  row: e,
31747
31754
  column: t,
31748
31755
  apiData: n,
@@ -31770,7 +31777,7 @@ const Pu = `$#,##0.${"0".repeat(2)}`, rp = (e, t, n, r) => {
31770
31777
  {},
31771
31778
  !0
31772
31779
  ), (d = r.current) == null || d.clearCellError(e, t), !0;
31773
- }, lp = (e) => e !== null && typeof e == "object" && !Array.isArray(e) && (e == null ? void 0 : e.responseType) === "smart-contract", ip = async ({
31780
+ }, ip = (e) => e !== null && typeof e == "object" && !Array.isArray(e) && (e == null ? void 0 : e.responseType) === "smart-contract", sp = async ({
31774
31781
  result: e,
31775
31782
  handleSmartContractQuery: t,
31776
31783
  sheetEditorRef: n,
@@ -31785,7 +31792,7 @@ const Pu = `$#,##0.${"0".repeat(2)}`, rp = (e, t, n, r) => {
31785
31792
  row: r,
31786
31793
  column: a,
31787
31794
  newValue: l,
31788
- formulaResponseUiSync: ap
31795
+ formulaResponseUiSync: op
31789
31796
  }, { callSignature: i } = e;
31790
31797
  await t(o)(i);
31791
31798
  }, gs = (e, t, n) => {
@@ -31795,7 +31802,7 @@ const Pu = `$#,##0.${"0".repeat(2)}`, rp = (e, t, n, r) => {
31795
31802
  } catch {
31796
31803
  return;
31797
31804
  }
31798
- }, z1 = async ({
31805
+ }, Y1 = async ({
31799
31806
  functionCallString: e,
31800
31807
  sheetEditorRef: t,
31801
31808
  dataBlockRow: n,
@@ -31807,9 +31814,9 @@ const Pu = `$#,##0.${"0".repeat(2)}`, rp = (e, t, n, r) => {
31807
31814
  const o = await import("@fileverse-dev/formulajs"), i = e == null ? void 0 : e.match(/^(\w+)\((.*)\)$/);
31808
31815
  if (!i)
31809
31816
  throw new Error(`Invalid function call format: ${e}`);
31810
- const u = i[1].toUpperCase(), s = i[2], f = sp(s).map((m) => {
31817
+ const u = i[1].toUpperCase(), s = i[2], f = up(s).map((m) => {
31811
31818
  if (Uu(m)) {
31812
- const d = up(m);
31819
+ const d = cp(m);
31813
31820
  return d == null ? void 0 : d.map(
31814
31821
  (g) => gs(t, g == null ? void 0 : g.row, g == null ? void 0 : g.column)
31815
31822
  );
@@ -31826,8 +31833,8 @@ const Pu = `$#,##0.${"0".repeat(2)}`, rp = (e, t, n, r) => {
31826
31833
  });
31827
31834
  if (typeof o[u] == "function") {
31828
31835
  const m = await o[u](...f);
31829
- if (lp(m)) {
31830
- await ip({
31836
+ if (ip(m)) {
31837
+ await sp({
31831
31838
  result: m,
31832
31839
  handleSmartContractQuery: a,
31833
31840
  sheetEditorRef: t,
@@ -31848,7 +31855,7 @@ const Pu = `$#,##0.${"0".repeat(2)}`, rp = (e, t, n, r) => {
31848
31855
  return;
31849
31856
  }
31850
31857
  };
31851
- function sp(e) {
31858
+ function up(e) {
31852
31859
  if (!(e != null && e.trim()))
31853
31860
  return [];
31854
31861
  const t = [];
@@ -31911,7 +31918,7 @@ function Co(e) {
31911
31918
  column: a
31912
31919
  };
31913
31920
  }
31914
- function up(e) {
31921
+ function cp(e) {
31915
31922
  if (!Uu(e))
31916
31923
  return null;
31917
31924
  const t = e.split(":"), n = Co(t[0]), r = Co(t[1]);
@@ -31924,7 +31931,7 @@ function up(e) {
31924
31931
  return u;
31925
31932
  }
31926
31933
  export {
31927
- ch as $,
31934
+ fh as $,
31928
31935
  ct as A,
31929
31936
  vn as B,
31930
31937
  Et as C,
@@ -31934,107 +31941,107 @@ export {
31934
31941
  ot as G,
31935
31942
  Ft as H,
31936
31943
  bn as I,
31937
- Ip as J,
31944
+ qp as J,
31938
31945
  Tr as K,
31939
31946
  It as L,
31940
31947
  Kt as M,
31941
31948
  Xn as N,
31942
- $1 as O,
31949
+ C1 as O,
31943
31950
  wo as P,
31944
- T1 as Q,
31951
+ $1 as Q,
31945
31952
  Lt as R,
31946
- kp as S,
31953
+ Ap as S,
31947
31954
  Ir as T,
31948
31955
  Sa as U,
31949
- Vh as V,
31956
+ Wh as V,
31950
31957
  ut as W,
31951
31958
  du as X,
31952
31959
  Ks as Y,
31953
31960
  Am as Z,
31954
31961
  Ko as _,
31955
31962
  Ee as a,
31956
- Mh as a$,
31963
+ Rh as a$,
31957
31964
  uu as a0,
31958
- bp as a1,
31965
+ wp as a1,
31959
31966
  tc as a2,
31960
31967
  or as a3,
31961
- Vg as a4,
31968
+ Wg as a4,
31962
31969
  zn as a5,
31963
31970
  Un as a6,
31964
31971
  At as a7,
31965
31972
  Zt as a8,
31966
- Hm as a9,
31973
+ Um as a9,
31967
31974
  Ss as aA,
31968
- x1 as aB,
31969
- mg as aC,
31970
- U1 as aD,
31975
+ I1 as aB,
31976
+ hg as aC,
31977
+ z1 as aD,
31971
31978
  Er as aE,
31972
- O1 as aF,
31973
- Kh as aG,
31974
- H1 as aH,
31975
- ep as aI,
31976
- D1 as aJ,
31977
- Tp as aK,
31978
- B1 as aL,
31979
+ F1 as aF,
31980
+ Qh as aG,
31981
+ U1 as aH,
31982
+ tp as aI,
31983
+ O1 as aJ,
31984
+ $p as aK,
31985
+ P1 as aL,
31979
31986
  ws as aM,
31980
- hh as aN,
31981
- Dg as aO,
31982
- Sg as aP,
31983
- Pg as aQ,
31984
- Hg as aR,
31985
- _h as aS,
31986
- Nh as aT,
31987
+ ph as aN,
31988
+ Og as aO,
31989
+ kg as aP,
31990
+ Hg as aQ,
31991
+ Ug as aR,
31992
+ Th as aS,
31993
+ Sh as aT,
31987
31994
  Xt as aU,
31988
- bh as aV,
31989
- yh as aW,
31990
- Gg as aX,
31991
- gh as aY,
31992
- ph as aZ,
31993
- Rg as a_,
31995
+ wh as aV,
31996
+ bh as aW,
31997
+ jg as aX,
31998
+ yh as aY,
31999
+ gh as aZ,
32000
+ xg as a_,
31994
32001
  oa as aa,
31995
- E1 as ab,
32002
+ M1 as ab,
31996
32003
  Lu as ac,
31997
- eh as ad,
32004
+ th as ad,
31998
32005
  To as ae,
31999
32006
  la as af,
32000
32007
  Eo as ag,
32001
32008
  cs as ah,
32002
- P1 as ai,
32003
- Jh as aj,
32004
- k1 as ak,
32005
- M1 as al,
32006
- Np as am,
32007
- Cp as an,
32008
- C1 as ao,
32009
- A1 as ap,
32010
- $p as aq,
32011
- I1 as ar,
32012
- L1 as as,
32013
- R1 as at,
32014
- vp as au,
32015
- S1 as av,
32016
- Qh as aw,
32017
- N1 as ax,
32018
- q1 as ay,
32019
- _p as az,
32020
- wp as b,
32009
+ H1 as ai,
32010
+ ep as aj,
32011
+ A1 as ak,
32012
+ R1 as al,
32013
+ Sp as am,
32014
+ Np as an,
32015
+ N1 as ao,
32016
+ E1 as ap,
32017
+ Cp as aq,
32018
+ q1 as ar,
32019
+ B1 as as,
32020
+ x1 as at,
32021
+ _p as au,
32022
+ k1 as av,
32023
+ Jh as aw,
32024
+ S1 as ax,
32025
+ D1 as ay,
32026
+ Tp as az,
32027
+ vp as b,
32021
32028
  Na as b$,
32022
- qg as b0,
32023
- Ig as b1,
32024
- xg as b2,
32025
- Eg as b3,
32026
- Mg as b4,
32027
- Og as b5,
32028
- Wp as b6,
32029
+ Dg as b0,
32030
+ qg as b1,
32031
+ Ig as b2,
32032
+ Mg as b3,
32033
+ Rg as b4,
32034
+ Fg as b5,
32035
+ Gp as b6,
32029
32036
  yo as b7,
32030
- Cg as b8,
32031
- Zg as b9,
32037
+ Ng as b8,
32038
+ Kg as b9,
32032
32039
  Bs as bA,
32033
- sg as bB,
32040
+ ug as bB,
32034
32041
  xr as bC,
32035
- ug as bD,
32036
- uh as bE,
32037
- ng as bF,
32042
+ cg as bD,
32043
+ ch as bE,
32044
+ rg as bF,
32038
32045
  Ar as bG,
32039
32046
  na as bH,
32040
32047
  hu as bI,
@@ -32042,188 +32049,189 @@ export {
32042
32049
  Sd as bK,
32043
32050
  _a as bL,
32044
32051
  _d as bM,
32045
- Qp as bN,
32046
- Jp as bO,
32047
- Lm as bP,
32052
+ Jp as bN,
32053
+ eg as bO,
32054
+ Bm as bP,
32048
32055
  rs as bQ,
32049
- l1 as bR,
32050
- jp as bS,
32051
- i1 as bT,
32052
- $g as bU,
32053
- v1 as bV,
32054
- Xp as bW,
32055
- Kp as bX,
32056
- Zp as bY,
32057
- w1 as bZ,
32058
- pg as b_,
32056
+ i1 as bR,
32057
+ Xp as bS,
32058
+ s1 as bT,
32059
+ Cg as bU,
32060
+ _1 as bV,
32061
+ Zp as bW,
32062
+ Qp as bX,
32063
+ Kp as bY,
32064
+ v1 as bZ,
32065
+ gg as b_,
32059
32066
  Du as ba,
32060
32067
  Id as bb,
32061
32068
  Uo as bc,
32062
- Yp as bd,
32069
+ Vp as bd,
32063
32070
  hn as be,
32064
32071
  Dd as bf,
32065
- kg as bg,
32066
- Up as bh,
32072
+ Ag as bg,
32073
+ zp as bh,
32067
32074
  Od as bi,
32068
- Ep as bj,
32069
- yg as bk,
32070
- Vp as bl,
32071
- _1 as bm,
32072
- wh as bn,
32073
- vh as bo,
32074
- Th as bp,
32075
- Ag as bq,
32076
- Gp as br,
32077
- Ng as bs,
32075
+ Mp as bj,
32076
+ bg as bk,
32077
+ Wp as bl,
32078
+ T1 as bm,
32079
+ vh as bn,
32080
+ _h as bo,
32081
+ $h as bp,
32082
+ Eg as bq,
32083
+ jp as br,
32084
+ Sg as bs,
32078
32085
  va as bt,
32079
32086
  zo as bu,
32080
- Hp as bv,
32081
- gg as bw,
32082
- t1 as bx,
32087
+ Up as bv,
32088
+ yg as bw,
32089
+ n1 as bx,
32083
32090
  Qe as by,
32084
32091
  Ge as bz,
32085
32092
  Wu as c,
32086
- Sh as c$,
32093
+ u1 as c$,
32087
32094
  Rm as c0,
32088
32095
  Bn as c1,
32089
- Im as c2,
32090
- Mm as c3,
32091
- ra as c4,
32092
- Yf as c5,
32093
- zf as c6,
32094
- Dp as c7,
32095
- qp as c8,
32096
- fd as c9,
32097
- Is as cA,
32098
- Jg as cB,
32099
- qr as cC,
32100
- Qg as cD,
32101
- tf as cE,
32102
- of as cF,
32103
- im as cG,
32104
- yu as cH,
32105
- jt as cI,
32106
- zp as cJ,
32107
- xp as cK,
32108
- th as cL,
32109
- Pn as cM,
32110
- e1 as cN,
32111
- pu as cO,
32112
- Rp as cP,
32113
- Mp as cQ,
32114
- bo as cR,
32115
- rh as cS,
32116
- nh as cT,
32117
- Ps as cU,
32118
- Hn as cV,
32119
- Nd as cW,
32120
- a1 as cX,
32121
- bd as cY,
32122
- d1 as cZ,
32123
- s1 as c_,
32124
- qm as ca,
32125
- wf as cb,
32126
- Bp as cc,
32127
- mh as cd,
32128
- Xs as ce,
32129
- Bg as cf,
32130
- p1 as cg,
32131
- dg as ch,
32132
- fg as ci,
32133
- cg as cj,
32134
- ag as ck,
32135
- b1 as cl,
32136
- Ug as cm,
32137
- vg as cn,
32138
- Tu as co,
32139
- Dm as cp,
32140
- ga as cq,
32141
- Vt as cr,
32142
- hg as cs,
32143
- zg as ct,
32144
- Cr as cu,
32145
- Wh as cv,
32146
- ln as cw,
32147
- Lg as cx,
32148
- Fg as cy,
32149
- po as cz,
32096
+ xm as c2,
32097
+ qm as c3,
32098
+ Mm as c4,
32099
+ ra as c5,
32100
+ Yf as c6,
32101
+ zf as c7,
32102
+ Op as c8,
32103
+ Dp as c9,
32104
+ po as cA,
32105
+ Is as cB,
32106
+ e1 as cC,
32107
+ qr as cD,
32108
+ Jg as cE,
32109
+ tf as cF,
32110
+ of as cG,
32111
+ im as cH,
32112
+ yu as cI,
32113
+ jt as cJ,
32114
+ Yp as cK,
32115
+ Ip as cL,
32116
+ nh as cM,
32117
+ Pn as cN,
32118
+ t1 as cO,
32119
+ pu as cP,
32120
+ xp as cQ,
32121
+ Rp as cR,
32122
+ bo as cS,
32123
+ ah as cT,
32124
+ rh as cU,
32125
+ Ps as cV,
32126
+ Hn as cW,
32127
+ Nd as cX,
32128
+ o1 as cY,
32129
+ bd as cZ,
32130
+ m1 as c_,
32131
+ fd as ca,
32132
+ Dm as cb,
32133
+ wf as cc,
32134
+ Pp as cd,
32135
+ hh as ce,
32136
+ Xs as cf,
32137
+ Pg as cg,
32138
+ g1 as ch,
32139
+ mg as ci,
32140
+ dg as cj,
32141
+ fg as ck,
32142
+ og as cl,
32143
+ w1 as cm,
32144
+ zg as cn,
32145
+ _g as co,
32146
+ Tu as cp,
32147
+ Om as cq,
32148
+ ga as cr,
32149
+ Vt as cs,
32150
+ pg as ct,
32151
+ Yg as cu,
32152
+ Cr as cv,
32153
+ Gh as cw,
32154
+ ln as cx,
32155
+ Bg as cy,
32156
+ Lg as cz,
32150
32157
  mo as d,
32151
- ic as d$,
32158
+ sc as d$,
32152
32159
  kh as d0,
32153
- h1 as d1,
32154
- f1 as d2,
32155
- c1 as d3,
32156
- m1 as d4,
32157
- u1 as d5,
32158
- Yg as d6,
32159
- Qm as d7,
32160
- On as d8,
32161
- Pf as d9,
32162
- Bm as dA,
32163
- Sr as dB,
32164
- tg as dC,
32165
- Sp as dD,
32166
- rg as dE,
32167
- bg as dF,
32168
- af as dG,
32169
- jg as dH,
32170
- wg as dI,
32171
- mm as dJ,
32172
- og as dK,
32173
- ca as dL,
32174
- g1 as dM,
32160
+ Ah as d1,
32161
+ p1 as d2,
32162
+ d1 as d3,
32163
+ f1 as d4,
32164
+ h1 as d5,
32165
+ c1 as d6,
32166
+ Vg as d7,
32167
+ Jm as d8,
32168
+ On as d9,
32169
+ $g as dA,
32170
+ Pm as dB,
32171
+ Sr as dC,
32172
+ ng as dD,
32173
+ kp as dE,
32174
+ ag as dF,
32175
+ wg as dG,
32176
+ af as dH,
32177
+ Xg as dI,
32178
+ vg as dJ,
32179
+ mm as dK,
32180
+ lg as dL,
32181
+ ca as dM,
32175
32182
  y1 as dN,
32176
- Wg as dO,
32177
- r1 as dP,
32178
- Op as dQ,
32179
- wu as dR,
32180
- yp as dS,
32181
- Gm as dT,
32182
- So as dU,
32183
- Ao as dV,
32184
- Ap as dW,
32185
- Fp as dX,
32183
+ b1 as dO,
32184
+ Gg as dP,
32185
+ a1 as dQ,
32186
+ Fp as dR,
32187
+ wu as dS,
32188
+ bp as dT,
32189
+ jm as dU,
32190
+ So as dV,
32191
+ Ao as dW,
32192
+ Ep as dX,
32186
32193
  Lp as dY,
32187
- Qs as dZ,
32188
- sc as d_,
32189
- ho as da,
32190
- Eh as db,
32191
- o1 as dc,
32192
- Xg as dd,
32193
- Bf as de,
32194
- Oo as df,
32195
- ig as dg,
32196
- ya as dh,
32197
- Dt as di,
32198
- Vs as dj,
32199
- Kn as dk,
32200
- pp as dl,
32201
- Kg as dm,
32202
- ef as dn,
32203
- Rt as dp,
32204
- eg as dq,
32205
- kr as dr,
32206
- js as ds,
32207
- Yd as dt,
32208
- sh as du,
32209
- n1 as dv,
32210
- fs as dw,
32211
- Pp as dx,
32212
- _g as dy,
32194
+ Bp as dZ,
32195
+ Qs as d_,
32196
+ Pf as da,
32197
+ ho as db,
32198
+ Mh as dc,
32199
+ l1 as dd,
32200
+ Zg as de,
32201
+ Bf as df,
32202
+ Oo as dg,
32203
+ sg as dh,
32204
+ ya as di,
32205
+ Dt as dj,
32206
+ Vs as dk,
32207
+ Kn as dl,
32208
+ gp as dm,
32209
+ Qg as dn,
32210
+ ef as dp,
32211
+ Rt as dq,
32212
+ tg as dr,
32213
+ kr as ds,
32214
+ js as dt,
32215
+ Yd as du,
32216
+ uh as dv,
32217
+ r1 as dw,
32218
+ fs as dx,
32219
+ Hp as dy,
32213
32220
  Tg as dz,
32214
- z1 as e,
32215
- gp as e0,
32216
- hp as e1,
32217
- np as e2,
32218
- sp as e3,
32219
- Uu as e4,
32220
- up as e5,
32221
- ma as e6,
32222
- Co as e7,
32223
- lp as e8,
32221
+ Y1 as e,
32222
+ ic as e0,
32223
+ yp as e1,
32224
+ pp as e2,
32225
+ rp as e3,
32226
+ up as e4,
32227
+ Uu as e5,
32228
+ cp as e6,
32229
+ ma as e7,
32230
+ Co as e8,
32224
32231
  ip as e9,
32225
- Pu as ea,
32226
- ap as f,
32232
+ sp as ea,
32233
+ Pu as eb,
32234
+ op as f,
32227
32235
  bs as g,
32228
32236
  Nf as h,
32229
32237
  sr as i,
@@ -32231,13 +32239,13 @@ export {
32231
32239
  rt as k,
32232
32240
  Se as l,
32233
32241
  su as m,
32234
- lg as n,
32235
- zm as o,
32242
+ ig as n,
32243
+ Ym as o,
32236
32244
  mu as p,
32237
32245
  Ys as q,
32238
32246
  fo as r,
32239
32247
  lm as s,
32240
- F1 as t,
32248
+ L1 as t,
32241
32249
  tn as u,
32242
32250
  cu as v,
32243
32251
  Vi as w,