@fileverse-dev/dsheet 4.1.6-addRow-duplicate-fix-1 → 4.1.7
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.
- package/dist/{executeStringFunction-ClAZ0rjQ.js → executeStringFunction-BfLGPmcB.js} +525 -525
- package/dist/formula.js +1 -1
- package/dist/{index-BQukP2ta.js → index-3Pi4crPa.js} +3361 -3341
- package/dist/index.es.js +2 -2
- package/dist/{use-xlsx-import-impl-DbMx-7oQ.js → use-xlsx-import-impl-mxEtz-60.js} +4 -4
- package/dist/{xlsx-defined-names-BQtuEMR2.js → xlsx-defined-names-CV1qn7_-.js} +2 -2
- package/dist/{xlsx-export-impl-B7aHq3gF.js → xlsx-export-impl-Cjh1IQVi.js} +4 -4
- package/dist/{xlsx-hyperlink-inline-Cs524jnm.js → xlsx-hyperlink-inline-D0c7KJyS.js} +2 -2
- package/package.json +5 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Bc = Object.defineProperty;
|
|
2
2
|
var Pc = (e, t, n) => t in e ? Bc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Xe = (e, t, n) => Pc(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import h, { isPlainObject as
|
|
4
|
+
import h, { isPlainObject as Ji } from "lodash";
|
|
5
5
|
import Ne from "dayjs";
|
|
6
6
|
import * as ia from "@fileverse-dev/formulajs";
|
|
7
7
|
import { F as Hc } from "./crypto-constants-CY-Whjwy.js";
|
|
@@ -156,7 +156,7 @@ function xg(e, t) {
|
|
|
156
156
|
const n = e, r = t;
|
|
157
157
|
return typeof n.r != "number" || typeof n.c != "number" || typeof r.r != "number" || typeof r.c != "number" ? !1 : n.r === r.r && n.c === r.c && h.isEqual(n.v, r.v);
|
|
158
158
|
}
|
|
159
|
-
const Gs = ["tb", "ht", "vt", "tr", "fs", "ff", "fc", "bl", "it", "un", "cl", "bg"],
|
|
159
|
+
const Gs = ["tb", "ht", "vt", "tr", "fs", "ff", "fc", "bl", "it", "un", "cl", "bg"], es = [...Gs, "ct"];
|
|
160
160
|
function Qc(e) {
|
|
161
161
|
return JSON.stringify(h.omit(e, ["row", "column"]));
|
|
162
162
|
}
|
|
@@ -216,7 +216,7 @@ function Un(e) {
|
|
|
216
216
|
}
|
|
217
217
|
}), r;
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function Yo(e, t) {
|
|
220
220
|
const n = [
|
|
221
221
|
Math.max(e.row[0], t.row[0]),
|
|
222
222
|
Math.min(e.row[1], t.row[1])
|
|
@@ -244,7 +244,7 @@ function Zs(e, t) {
|
|
|
244
244
|
function ho(e, t) {
|
|
245
245
|
const n = { ...t }, r = [];
|
|
246
246
|
return (e ?? []).forEach((a) => {
|
|
247
|
-
const l =
|
|
247
|
+
const l = Yo(a, n);
|
|
248
248
|
if (!l) {
|
|
249
249
|
r.push(a);
|
|
250
250
|
return;
|
|
@@ -284,7 +284,7 @@ function Fg(e, t, n) {
|
|
|
284
284
|
if (!(e != null && e.length)) return [];
|
|
285
285
|
const r = { ...t }, a = n.row[0] - t.row[0], l = n.column[0] - t.column[0], o = [];
|
|
286
286
|
e.forEach((s) => {
|
|
287
|
-
const c =
|
|
287
|
+
const c = Yo(s, r);
|
|
288
288
|
c && o.push({
|
|
289
289
|
...s,
|
|
290
290
|
row: [c.row[0] + a, c.row[1] + a],
|
|
@@ -302,9 +302,9 @@ function Fg(e, t, n) {
|
|
|
302
302
|
}
|
|
303
303
|
function rf(e, t, n, r) {
|
|
304
304
|
const a = { ...e, row: n, column: r };
|
|
305
|
-
return
|
|
305
|
+
return es.forEach((l) => {
|
|
306
306
|
t[l] != null && delete a[l];
|
|
307
|
-
}),
|
|
307
|
+
}), es.some((l) => a[l] != null) ? a : null;
|
|
308
308
|
}
|
|
309
309
|
function af(e, t, n, r, a, l) {
|
|
310
310
|
const o = {
|
|
@@ -313,7 +313,7 @@ function af(e, t, n, r, a, l) {
|
|
|
313
313
|
...l
|
|
314
314
|
}, i = [];
|
|
315
315
|
return (e ?? []).forEach((u) => {
|
|
316
|
-
const s =
|
|
316
|
+
const s = Yo(u, o);
|
|
317
317
|
if (!s) {
|
|
318
318
|
i.push(u);
|
|
319
319
|
return;
|
|
@@ -328,7 +328,7 @@ function af(e, t, n, r, a, l) {
|
|
|
328
328
|
c && i.push(c);
|
|
329
329
|
}), i.push(o), Un(i);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function Vo(e) {
|
|
332
332
|
if (!(e != null && e.length)) return null;
|
|
333
333
|
let t = 0, n = 0;
|
|
334
334
|
return e.forEach((r) => {
|
|
@@ -391,10 +391,10 @@ function Js(e, t, n) {
|
|
|
391
391
|
ho(e, { row: t, column: n })
|
|
392
392
|
) : [];
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function Go(e, t, n, r, a) {
|
|
395
395
|
return Js(e, [t, n], [r, a]);
|
|
396
396
|
}
|
|
397
|
-
function
|
|
397
|
+
function ts(e, t, n, r, a) {
|
|
398
398
|
if (!(e != null && e.length)) return [];
|
|
399
399
|
const l = e.map((o) => {
|
|
400
400
|
let [i, u] = o.row, [s, c] = o.column;
|
|
@@ -426,7 +426,7 @@ function sf(e, t, n, r) {
|
|
|
426
426
|
l.push(...lf(o, t, n, r, a));
|
|
427
427
|
}), Un(l);
|
|
428
428
|
}
|
|
429
|
-
function
|
|
429
|
+
function jo(e, t) {
|
|
430
430
|
if (!(!(e != null && e.length) || !(t != null && t.length)))
|
|
431
431
|
for (const n of t) {
|
|
432
432
|
const [r, a] = n.row, [l, o] = n.column;
|
|
@@ -454,7 +454,7 @@ function Bg(e) {
|
|
|
454
454
|
var s;
|
|
455
455
|
if (Array.isArray(e.data) && e.data.length > 0)
|
|
456
456
|
return e.data;
|
|
457
|
-
const t = e.celldata ?? [], n = (s = e.config) == null ? void 0 : s.cellFormatRanges, r =
|
|
457
|
+
const t = e.celldata ?? [], n = (s = e.config) == null ? void 0 : s.cellFormatRanges, r = Vo(n), a = h.maxBy(t, "r"), l = h.maxBy(t, "c");
|
|
458
458
|
let o = ((a == null ? void 0 : a.r) ?? 0) + 1, i = ((l == null ? void 0 : l.c) ?? 0) + 1;
|
|
459
459
|
if (e.row != null && e.column != null && e.row > 0 && e.column > 0 && (o = Math.max(o, e.row), i = Math.max(i, e.column)), r && (o = Math.max(o, r.maxRow + 1), i = Math.max(i, r.maxCol + 1)), !o || !i) return [];
|
|
460
460
|
const u = h.times(
|
|
@@ -463,7 +463,7 @@ function Bg(e) {
|
|
|
463
463
|
);
|
|
464
464
|
return t.forEach((c) => {
|
|
465
465
|
u[c.r][c.c] = c.v;
|
|
466
|
-
}),
|
|
466
|
+
}), jo(u, n), u;
|
|
467
467
|
}
|
|
468
468
|
function uf(e, t) {
|
|
469
469
|
function n(c) {
|
|
@@ -502,7 +502,7 @@ function eu(e, t, n) {
|
|
|
502
502
|
const { celldata: r, row: a, column: l } = n, o = h.maxBy(r, "r"), i = h.maxBy(r, "c");
|
|
503
503
|
let u = ((o == null ? void 0 : o.r) ?? 0) + 1, s = ((i == null ? void 0 : i.c) ?? 0) + 1;
|
|
504
504
|
a != null && l != null && a > 0 && l > 0 ? (u = Math.max(u, a), s = Math.max(s, l)) : (u = Math.max(u, e.defaultrowNum), s = Math.max(s, e.defaultcolumnNum));
|
|
505
|
-
const c =
|
|
505
|
+
const c = Vo((f = n.config) == null ? void 0 : f.cellFormatRanges);
|
|
506
506
|
if (c && (u = Math.max(u, c.maxRow + 1), s = Math.max(s, c.maxCol + 1)), u && s) {
|
|
507
507
|
const p = h.times(
|
|
508
508
|
u,
|
|
@@ -510,7 +510,7 @@ function eu(e, t, n) {
|
|
|
510
510
|
);
|
|
511
511
|
return r == null || r.forEach((g) => {
|
|
512
512
|
p[g.r][g.c] = g.v;
|
|
513
|
-
}),
|
|
513
|
+
}), jo(p, (m = n.config) == null ? void 0 : m.cellFormatRanges), Ys(p, (d = n.config) == null ? void 0 : d.merge), e.luckysheetfile[t] == null ? (n.data = p, delete n.celldata, e.luckysheetfile.push(n)) : (e.luckysheetfile[t].data = p, delete e.luckysheetfile[t].celldata), p;
|
|
514
514
|
}
|
|
515
515
|
return null;
|
|
516
516
|
}
|
|
@@ -1070,10 +1070,10 @@ var tu = { exports: {} };
|
|
|
1070
1070
|
})(tu);
|
|
1071
1071
|
var ff = tu.exports;
|
|
1072
1072
|
const on = /* @__PURE__ */ zs(ff);
|
|
1073
|
-
var
|
|
1074
|
-
function
|
|
1073
|
+
var Xo = { exports: {} };
|
|
1074
|
+
function Zo() {
|
|
1075
1075
|
}
|
|
1076
|
-
|
|
1076
|
+
Zo.prototype = {
|
|
1077
1077
|
on: function(e, t, n) {
|
|
1078
1078
|
var r = this.e || (this.e = {});
|
|
1079
1079
|
return (r[e] || (r[e] = [])).push({
|
|
@@ -1102,9 +1102,9 @@ Xo.prototype = {
|
|
|
1102
1102
|
return a.length ? n[e] = a : delete n[e], this;
|
|
1103
1103
|
}
|
|
1104
1104
|
};
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
var df =
|
|
1105
|
+
Xo.exports = Zo;
|
|
1106
|
+
Xo.exports.TinyEmitter = Zo;
|
|
1107
|
+
var df = Xo.exports;
|
|
1108
1108
|
const mf = /* @__PURE__ */ zs(df), hf = /^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?$/i;
|
|
1109
1109
|
function en(e) {
|
|
1110
1110
|
if (e == null || e === "")
|
|
@@ -1128,10 +1128,10 @@ function en(e) {
|
|
|
1128
1128
|
function pf(e) {
|
|
1129
1129
|
return -1 * en(e);
|
|
1130
1130
|
}
|
|
1131
|
-
const Cr = "ERROR",
|
|
1131
|
+
const Cr = "ERROR", Ko = "DIV/0", Jn = "NAME", gf = "N/A", nu = "NULL", ru = "NUM", $r = "REF", An = "VALUE", au = "CIRC", Nr = {
|
|
1132
1132
|
"Error: lookup_range and result_range are required": "Lookup range and result range are required",
|
|
1133
1133
|
[Cr]: "Syntax error",
|
|
1134
|
-
[
|
|
1134
|
+
[Ko]: "#DIV/0!",
|
|
1135
1135
|
[Jn]: "Wrong function name or parameter",
|
|
1136
1136
|
[gf]: "#N/A",
|
|
1137
1137
|
[nu]: "#NULL!",
|
|
@@ -1184,7 +1184,7 @@ function yo(e, ...t) {
|
|
|
1184
1184
|
(r, a) => r / en(a),
|
|
1185
1185
|
en(e)
|
|
1186
1186
|
);
|
|
1187
|
-
return n === 1 / 0 ?
|
|
1187
|
+
return n === 1 / 0 ? Ko : isNaN(n) ? An : n;
|
|
1188
1188
|
}
|
|
1189
1189
|
yo.SYMBOL = vf;
|
|
1190
1190
|
const _f = "=";
|
|
@@ -12949,14 +12949,14 @@ If the value is FALSE, return the accrued interest from the first interest accru
|
|
|
12949
12949
|
}, Cf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12950
12950
|
__proto__: null,
|
|
12951
12951
|
default: ou
|
|
12952
|
-
}, Symbol.toStringTag, { value: "Module" })), $f = Tf,
|
|
12952
|
+
}, Symbol.toStringTag, { value: "Module" })), $f = Tf, ns = (ou.functionlist || []).reduce((e, t) => (t != null && t.n && (e[t.n.toUpperCase()] = t), e), /* @__PURE__ */ Object.create(null));
|
|
12953
12953
|
function ma(e) {
|
|
12954
12954
|
return function(...n) {
|
|
12955
12955
|
e = e.toUpperCase();
|
|
12956
12956
|
const r = e.split(".");
|
|
12957
12957
|
let a = !1, l;
|
|
12958
12958
|
if (r.length === 1)
|
|
12959
|
-
ia[r[0]] && (a = !0,
|
|
12959
|
+
ia[r[0]] && (a = !0, ns[r[0]], l = ia[r[0]](...n));
|
|
12960
12960
|
else {
|
|
12961
12961
|
const o = r.length;
|
|
12962
12962
|
let i = 0, u = ia;
|
|
@@ -12965,7 +12965,7 @@ function ma(e) {
|
|
|
12965
12965
|
u = null;
|
|
12966
12966
|
break;
|
|
12967
12967
|
}
|
|
12968
|
-
u && (a = !0,
|
|
12968
|
+
u && (a = !0, ns[r[0]], l = u(...n));
|
|
12969
12969
|
}
|
|
12970
12970
|
if (!a)
|
|
12971
12971
|
throw Error(Jn);
|
|
@@ -13030,7 +13030,7 @@ function So(e, t) {
|
|
|
13030
13030
|
}
|
|
13031
13031
|
So.SYMBOL = If;
|
|
13032
13032
|
const ha = /* @__PURE__ */ Object.create(null);
|
|
13033
|
-
function
|
|
13033
|
+
function rs(e, t = []) {
|
|
13034
13034
|
if (e = e.toUpperCase(), !ha[e])
|
|
13035
13035
|
throw Error(Jn);
|
|
13036
13036
|
return ha[e](...t);
|
|
@@ -13072,7 +13072,7 @@ const Df = "[A-Za-z0-9_À-ʯ]+", xf = "'(?:(?!').|'')*'", Ra = `(?:${Df}|${xf})!
|
|
|
13072
13072
|
var sa, Ue = function(e, t, n, r) {
|
|
13073
13073
|
for (n = n || {}, r = e.length; r--; n[e[r]] = t) ;
|
|
13074
13074
|
return n;
|
|
13075
|
-
}, ct = [1, 5], ft = [1, 8], dt = [1, 6], mt = [1, 7], ht = [1, 9], pt = [1, 14], gt = [1, 15], yt = [1, 16], bt = [1, 12], wt = [1, 13], it = [1, 17], _t = [1, 19], ur = [1, 20], Ut = [1, 21], Mn = [1, 22], In = [1, 23], Yn = [1, 24], zt = [1, 25], $t = [1, 26], Nt = [1, 27], Tt = [1, 28], ot = [5, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 29, 30],
|
|
13075
|
+
}, ct = [1, 5], ft = [1, 8], dt = [1, 6], mt = [1, 7], ht = [1, 9], pt = [1, 14], gt = [1, 15], yt = [1, 16], bt = [1, 12], wt = [1, 13], it = [1, 17], _t = [1, 19], ur = [1, 20], Ut = [1, 21], Mn = [1, 22], In = [1, 23], Yn = [1, 24], zt = [1, 25], $t = [1, 26], Nt = [1, 27], Tt = [1, 28], ot = [5, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 29, 30], as = [5, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 29, 30, 32], eo = [5, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 29, 30, 34], Zr = [5, 10, 11, 13, 14, 15, 16, 17, 29, 30], cr = [5, 10, 13, 14, 15, 16, 29, 30], os = [5, 10, 11, 13, 14, 15, 16, 17, 18, 19, 29, 30], Kr = [13, 29, 30], Qo = {
|
|
13076
13076
|
trace: function() {
|
|
13077
13077
|
},
|
|
13078
13078
|
yy: {},
|
|
@@ -13407,7 +13407,7 @@ var sa, Ue = function(e, t, n, r) {
|
|
|
13407
13407
|
{ 12: [1, 34] },
|
|
13408
13408
|
Ue(ot, [2, 23]),
|
|
13409
13409
|
Ue(ot, [2, 24], { 2: 35, 35: it }),
|
|
13410
|
-
Ue(
|
|
13410
|
+
Ue(as, [2, 42]),
|
|
13411
13411
|
Ue(eo, [2, 44], { 32: [1, 36] }),
|
|
13412
13412
|
Ue(ot, [2, 26], { 27: [1, 37] }),
|
|
13413
13413
|
Ue(ot, [2, 27], { 27: [1, 38] }),
|
|
@@ -13720,10 +13720,10 @@ var sa, Ue = function(e, t, n, r) {
|
|
|
13720
13720
|
20: Tt
|
|
13721
13721
|
}),
|
|
13722
13722
|
Ue(Zr, [2, 15], { 9: _t, 18: $t, 19: Nt, 20: Tt }),
|
|
13723
|
-
Ue(
|
|
13724
|
-
Ue(
|
|
13723
|
+
Ue(os, [2, 16], { 9: _t, 20: Tt }),
|
|
13724
|
+
Ue(os, [2, 17], { 9: _t, 20: Tt }),
|
|
13725
13725
|
Ue([5, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 29, 30], [2, 18], { 9: _t }),
|
|
13726
|
-
Ue(
|
|
13726
|
+
Ue(as, [2, 43]),
|
|
13727
13727
|
Ue(ot, [2, 8]),
|
|
13728
13728
|
Ue(ot, [2, 21]),
|
|
13729
13729
|
{ 13: [1, 72], 29: [1, 73], 30: [1, 74] },
|
|
@@ -14278,12 +14278,12 @@ Expecting ` + ae.join(", ") + ", got '" + (this.terminals_[T] || T) + "'" : Q =
|
|
|
14278
14278
|
};
|
|
14279
14279
|
return e;
|
|
14280
14280
|
}();
|
|
14281
|
-
|
|
14282
|
-
function
|
|
14281
|
+
Qo.lexer = Hf;
|
|
14282
|
+
function Jo() {
|
|
14283
14283
|
this.yy = {};
|
|
14284
14284
|
}
|
|
14285
|
-
|
|
14286
|
-
|
|
14285
|
+
Jo.prototype = Qo;
|
|
14286
|
+
Qo.Parser = Jo;
|
|
14287
14287
|
function Uf(e, t = 1) {
|
|
14288
14288
|
return e = e.substring(t, e.length - t), e;
|
|
14289
14289
|
}
|
|
@@ -14311,13 +14311,13 @@ function Vf(e) {
|
|
|
14311
14311
|
t = String.fromCharCode(e % ko + 97) + t, e = Math.floor(e / ko) - 1;
|
|
14312
14312
|
return t.toUpperCase();
|
|
14313
14313
|
}
|
|
14314
|
-
const Gf = "[A-Za-z0-9_À-ʯ]+", jf = "'(?:(?!').|'')*'", Xf = `(${Gf}|${jf})!`,
|
|
14314
|
+
const Gf = "[A-Za-z0-9_À-ʯ]+", jf = "'(?:(?!').|'')*'", Xf = `(${Gf}|${jf})!`, ls = new RegExp(
|
|
14315
14315
|
`^(?:${Xf})?([$])?([A-Za-z]*)([$])?([0-9]*)$`
|
|
14316
14316
|
);
|
|
14317
14317
|
function to(e) {
|
|
14318
|
-
if (typeof e != "string" || !
|
|
14318
|
+
if (typeof e != "string" || !ls.test(e))
|
|
14319
14319
|
return [];
|
|
14320
|
-
const [, t, n, r, a, l] = e.toUpperCase().match(
|
|
14320
|
+
const [, t, n, r, a, l] = e.toUpperCase().match(ls);
|
|
14321
14321
|
if (r == null && l == null) return [];
|
|
14322
14322
|
const o = t == null ? null : e.slice(0, t.length).replace(/^'|'$/g, "").replace(/''/g, "'");
|
|
14323
14323
|
return [
|
|
@@ -14334,7 +14334,7 @@ function to(e) {
|
|
|
14334
14334
|
o
|
|
14335
14335
|
];
|
|
14336
14336
|
}
|
|
14337
|
-
function
|
|
14337
|
+
function is(e, t) {
|
|
14338
14338
|
const n = (e.isAbsolute ? "$" : "") + Wf(e.index);
|
|
14339
14339
|
return (t.isAbsolute ? "$" : "") + Vf(t.index) + n;
|
|
14340
14340
|
}
|
|
@@ -14343,13 +14343,13 @@ function Zf(e) {
|
|
|
14343
14343
|
}
|
|
14344
14344
|
class Kf extends mf {
|
|
14345
14345
|
constructor() {
|
|
14346
|
-
super(), this.parser = new
|
|
14346
|
+
super(), this.parser = new Jo(), this.cryptoDenomination = "", this.cryptoDecimals = 0, this.parser.yy = {
|
|
14347
14347
|
toNumber: en,
|
|
14348
14348
|
trimEdges: Uf,
|
|
14349
14349
|
invertNumber: pf,
|
|
14350
14350
|
throwError: (t) => this._throwError(t),
|
|
14351
14351
|
callVariable: (t) => this._callVariable(t),
|
|
14352
|
-
evaluateByOperator:
|
|
14352
|
+
evaluateByOperator: rs,
|
|
14353
14353
|
callFunction: (t, n, r) => this._callFunction(t, n, r),
|
|
14354
14354
|
cellValue: (t) => this._callCellValue(t),
|
|
14355
14355
|
rangeValue: (t, n) => this._callRangeValue(t, n)
|
|
@@ -14445,7 +14445,7 @@ class Kf extends mf {
|
|
|
14445
14445
|
let l;
|
|
14446
14446
|
return a && (l = a(n)), this.emit("callFunction", t, n, (o) => {
|
|
14447
14447
|
o !== void 0 && (l = o);
|
|
14448
|
-
}), l === void 0 ?
|
|
14448
|
+
}), l === void 0 ? rs(t, n) : l;
|
|
14449
14449
|
}
|
|
14450
14450
|
/**
|
|
14451
14451
|
* Retrieve value by its label (`B3`, `B$3`, `B$3`, `$B$3`).
|
|
@@ -14487,7 +14487,7 @@ class Kf extends mf {
|
|
|
14487
14487
|
if (u != null && l != u)
|
|
14488
14488
|
throw Error(An);
|
|
14489
14489
|
let s = {}, c = {};
|
|
14490
|
-
s.sheetName = l, r.index <= o.index ? (s.row = r, c.row = o) : (s.row = o, c.row = r), a.index <= i.index ? (s.column = a, c.column = i) : (s.column = i, c.column = a), s.label =
|
|
14490
|
+
s.sheetName = l, r.index <= o.index ? (s.row = r, c.row = o) : (s.row = o, c.row = r), a.index <= i.index ? (s.column = a, c.column = i) : (s.column = i, c.column = a), s.label = is(s.row, s.column), c.label = is(c.row, c.column);
|
|
14491
14491
|
let f = [];
|
|
14492
14492
|
return this.emit(
|
|
14493
14493
|
"callRangeValue",
|
|
@@ -14510,21 +14510,21 @@ class Kf extends mf {
|
|
|
14510
14510
|
throw yf(t) ? Error(t) : Error(Cr);
|
|
14511
14511
|
}
|
|
14512
14512
|
}
|
|
14513
|
-
let
|
|
14513
|
+
let el = "uk";
|
|
14514
14514
|
function Qf(e) {
|
|
14515
14515
|
return e === "us" ? "us" : "uk";
|
|
14516
14516
|
}
|
|
14517
14517
|
function Vg(e) {
|
|
14518
|
-
|
|
14518
|
+
el = Qf(e);
|
|
14519
14519
|
}
|
|
14520
14520
|
function Jf() {
|
|
14521
|
-
return
|
|
14521
|
+
return el;
|
|
14522
14522
|
}
|
|
14523
|
-
function
|
|
14524
|
-
return
|
|
14523
|
+
function tl() {
|
|
14524
|
+
return el === "us";
|
|
14525
14525
|
}
|
|
14526
14526
|
function iu(e) {
|
|
14527
|
-
return
|
|
14527
|
+
return tl() ? e ? "MM/dd/yyyy HH:mm:ss" : "MM/dd/yyyy" : e ? "dd/MM/yyyy HH:mm:ss" : "dd/MM/yyyy";
|
|
14528
14528
|
}
|
|
14529
14529
|
function ed(e) {
|
|
14530
14530
|
return e ? ((e.toLowerCase().replace(/"[^"]*"/g, "").replace(/\[[^\]]*]/g, "").split(/(?:am\/pm|h+)/i)[0] || "").match(/[dmy]+/g) || []).map((i) => i[0]).filter((i, u, s) => u === 0 || i !== s[u - 1]) : [];
|
|
@@ -14543,7 +14543,7 @@ function td(e) {
|
|
|
14543
14543
|
return i && u;
|
|
14544
14544
|
}
|
|
14545
14545
|
function nd(e) {
|
|
14546
|
-
return !e || e === "General" || e === "@" ? !1 : td(e) ? !0 :
|
|
14546
|
+
return !e || e === "General" || e === "@" ? !1 : td(e) ? !0 : tl() ? Qr(e, ["m", "d", "y"]) || Qr(e, ["y", "m", "d"]) : Qr(e, ["d", "m", "y"]) || Qr(e, ["y", "m", "d"]);
|
|
14547
14547
|
}
|
|
14548
14548
|
function rd(e, t) {
|
|
14549
14549
|
return nd(e) ? e : iu(t);
|
|
@@ -14600,12 +14600,12 @@ const Ir = "light", Gg = "#EFC703", Ao = {
|
|
|
14600
14600
|
freezeLine: "hsla(120, 8%, 30%, 1)"
|
|
14601
14601
|
}
|
|
14602
14602
|
}, ad = (e) => Ao[e ?? Ir] ?? Ao[Ir];
|
|
14603
|
-
let gr = Ao[Ir],
|
|
14603
|
+
let gr = Ao[Ir], Eo = Ir;
|
|
14604
14604
|
const jg = (e) => {
|
|
14605
14605
|
const t = e ?? Ir;
|
|
14606
|
-
return t ===
|
|
14607
|
-
};
|
|
14608
|
-
function
|
|
14606
|
+
return t === Eo ? !1 : (Eo = t, gr = ad(t), !0);
|
|
14607
|
+
}, Xg = () => Eo;
|
|
14608
|
+
function Zg(e) {
|
|
14609
14609
|
if (document.createRange)
|
|
14610
14610
|
if (e.innerHTML !== e.innerText || e.innerHTML === "") {
|
|
14611
14611
|
e.focus();
|
|
@@ -14642,7 +14642,7 @@ function uu(e, t) {
|
|
|
14642
14642
|
l && o && (a.setStart(l, 0), a.setEnd(o, o.length), a.startContainer && su(a.startContainer) && ((n = window.getSelection()) == null || n.removeAllRanges(), (r = window.getSelection()) == null || r.addRange(a)));
|
|
14643
14643
|
}
|
|
14644
14644
|
}
|
|
14645
|
-
function
|
|
14645
|
+
function Ro(e) {
|
|
14646
14646
|
return e.replace(/\r\n/g, `
|
|
14647
14647
|
`).replace(/\r/g, `
|
|
14648
14648
|
`);
|
|
@@ -14653,7 +14653,7 @@ function cu(e) {
|
|
|
14653
14653
|
const n = t.focusNode;
|
|
14654
14654
|
if (!n || !e.contains(n)) return null;
|
|
14655
14655
|
const r = document.createRange();
|
|
14656
|
-
return r.selectNodeContents(e), r.setEnd(n, t.focusOffset),
|
|
14656
|
+
return r.selectNodeContents(e), r.setEnd(n, t.focusOffset), Ro(r.toString()).length;
|
|
14657
14657
|
}
|
|
14658
14658
|
function fu(e) {
|
|
14659
14659
|
const t = window.getSelection();
|
|
@@ -14663,7 +14663,7 @@ function fu(e) {
|
|
|
14663
14663
|
return null;
|
|
14664
14664
|
const r = document.createRange();
|
|
14665
14665
|
r.selectNodeContents(e), r.setEnd(n.startContainer, n.startOffset);
|
|
14666
|
-
const a =
|
|
14666
|
+
const a = Ro(r.toString()).length, l = Ro(n.toString());
|
|
14667
14667
|
return { start: a, end: a + l.length };
|
|
14668
14668
|
}
|
|
14669
14669
|
function no(e, t, n) {
|
|
@@ -14697,7 +14697,7 @@ function no(e, t, n) {
|
|
|
14697
14697
|
c.setStart(l, o), c.setEnd(i, u), r.removeAllRanges(), r.addRange(c);
|
|
14698
14698
|
}
|
|
14699
14699
|
}
|
|
14700
|
-
function
|
|
14700
|
+
function Kg(e, t, n) {
|
|
14701
14701
|
if (t >= n) return [];
|
|
14702
14702
|
let r = 0, a = null, l = 0, o = null, i = 0;
|
|
14703
14703
|
function u(f) {
|
|
@@ -14760,7 +14760,7 @@ function Nn(e) {
|
|
|
14760
14760
|
var t;
|
|
14761
14761
|
return (e == null ? void 0 : e.t) === "inlineStr" && (((t = e == null ? void 0 : e.s) == null ? void 0 : t.length) ?? 0) > 0;
|
|
14762
14762
|
}
|
|
14763
|
-
function
|
|
14763
|
+
function Qg(e, t, n) {
|
|
14764
14764
|
const r = rt(e, t, n, "ct");
|
|
14765
14765
|
if (Nn(r)) {
|
|
14766
14766
|
const a = r.s;
|
|
@@ -14912,7 +14912,7 @@ function pn(e, t, n) {
|
|
|
14912
14912
|
let u = cs(e, "font-size");
|
|
14913
14913
|
u === "" && (u = "11"), r._fontSize = Number(u), r._color = i;
|
|
14914
14914
|
}
|
|
14915
|
-
const a =
|
|
14915
|
+
const a = yl(r, void 0, void 0, !1);
|
|
14916
14916
|
if (e = dd(e, t), h.isEmpty(a))
|
|
14917
14917
|
return e;
|
|
14918
14918
|
const l = h.kebabCase(Object.keys(a)[0]), o = Object.values(a)[0];
|
|
@@ -15283,7 +15283,7 @@ function gd(e, t, n) {
|
|
|
15283
15283
|
Q[L] ? ro(Q[L]) : uu(Q[Y], Q[L]), ao(l);
|
|
15284
15284
|
}
|
|
15285
15285
|
}
|
|
15286
|
-
function
|
|
15286
|
+
function Mo(e, t) {
|
|
15287
15287
|
var r, a;
|
|
15288
15288
|
let n = e;
|
|
15289
15289
|
for (; n && n !== t; ) {
|
|
@@ -15299,16 +15299,16 @@ function hu(e) {
|
|
|
15299
15299
|
const t = window.getSelection();
|
|
15300
15300
|
if (!(t != null && t.rangeCount) || !t.anchorNode || !e.contains(t.anchorNode))
|
|
15301
15301
|
return;
|
|
15302
|
-
const n = t.getRangeAt(0), r =
|
|
15302
|
+
const n = t.getRangeAt(0), r = Mo(n.startContainer, e), a = Mo(n.endContainer, e);
|
|
15303
15303
|
if (!(!r || !a) && !(r.linkType !== a.linkType || r.linkAddress !== a.linkAddress))
|
|
15304
15304
|
return r;
|
|
15305
15305
|
}
|
|
15306
|
-
function
|
|
15306
|
+
function Jg(e) {
|
|
15307
15307
|
const t = window.getSelection();
|
|
15308
15308
|
if (!(t != null && t.rangeCount) || !t.anchorNode || !e.contains(t.anchorNode))
|
|
15309
15309
|
return;
|
|
15310
15310
|
const n = t.getRangeAt(0);
|
|
15311
|
-
return n.collapsed ?
|
|
15311
|
+
return n.collapsed ? Mo(n.startContainer, e) ?? void 0 : hu(e);
|
|
15312
15312
|
}
|
|
15313
15313
|
function fs(e) {
|
|
15314
15314
|
return Math.ceil(e.charCodeAt(0).toString(2).length / 8);
|
|
@@ -16041,7 +16041,7 @@ const er = {
|
|
|
16041
16041
|
circ: "#CIRC!"
|
|
16042
16042
|
// 循环引用
|
|
16043
16043
|
}, $d = {
|
|
16044
|
-
[
|
|
16044
|
+
[Ko]: "Invalid calculation: the divisor (second value) cannot be zero",
|
|
16045
16045
|
[Jn]: "Wrong function name or parameter",
|
|
16046
16046
|
[nu]: "Formula returned null",
|
|
16047
16047
|
[ru]: "Invalid number",
|
|
@@ -16054,7 +16054,7 @@ function Nd(e) {
|
|
|
16054
16054
|
return $d[e];
|
|
16055
16055
|
}
|
|
16056
16056
|
const Sd = Object.values(er);
|
|
16057
|
-
function
|
|
16057
|
+
function Io(e) {
|
|
16058
16058
|
return Sd.includes(e);
|
|
16059
16059
|
}
|
|
16060
16060
|
function at(e) {
|
|
@@ -16108,7 +16108,7 @@ function Ze(e, t, n) {
|
|
|
16108
16108
|
}
|
|
16109
16109
|
function Ma(e) {
|
|
16110
16110
|
if (!e || e.toString().length < 5) return null;
|
|
16111
|
-
const t = e.toString().trim(), n = (/* @__PURE__ */ new Date()).getFullYear(), r =
|
|
16111
|
+
const t = e.toString().trim(), n = (/* @__PURE__ */ new Date()).getFullYear(), r = tl();
|
|
16112
16112
|
let a;
|
|
16113
16113
|
if (a = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/.exec(t), a) {
|
|
16114
16114
|
const l = +a[1], o = +a[2], i = +a[3], u = +a[4], s = +a[5], c = a[6] != null ? +a[6] : 0;
|
|
@@ -17775,9 +17775,9 @@ const Ed = function(t) {
|
|
|
17775
17775
|
}, t.init_table = p, t.format = pe;
|
|
17776
17776
|
};
|
|
17777
17777
|
Ed(Ot);
|
|
17778
|
-
const Rd = new Date(1900, 2, 1, 0, 0, 0), Md = 999999999999997,
|
|
17779
|
-
function
|
|
17780
|
-
return Number.isFinite(e) && e > Md && e <
|
|
17778
|
+
const Rd = new Date(1900, 2, 1, 0, 0, 0), Md = 999999999999997, nl = 1e15;
|
|
17779
|
+
function rl(e) {
|
|
17780
|
+
return Number.isFinite(e) && e > Md && e < nl;
|
|
17781
17781
|
}
|
|
17782
17782
|
function vu(e) {
|
|
17783
17783
|
if (typeof e != "string") return !1;
|
|
@@ -17787,16 +17787,16 @@ function vu(e) {
|
|
|
17787
17787
|
function yr(e) {
|
|
17788
17788
|
const t = Math.abs(e);
|
|
17789
17789
|
if (e === 1 / 0 || e === -1 / 0) return String(e);
|
|
17790
|
-
if (
|
|
17790
|
+
if (rl(t)) {
|
|
17791
17791
|
const n = e.toString();
|
|
17792
17792
|
let r = 0;
|
|
17793
17793
|
if (n.toLowerCase().includes("e")) {
|
|
17794
17794
|
const a = n.split(/[eE]/)[0];
|
|
17795
17795
|
a.includes(".") && (r = Math.min(5, (a.split(".")[1] || "").length));
|
|
17796
17796
|
} else n.includes(".") && (r = Math.min(5, (n.split(".")[1] || "").split(/[eE]/)[0].length));
|
|
17797
|
-
return
|
|
17797
|
+
return al(e, r);
|
|
17798
17798
|
}
|
|
17799
|
-
return t >=
|
|
17799
|
+
return t >= nl ? e.toLocaleString("en-US", {
|
|
17800
17800
|
maximumFractionDigits: 50,
|
|
17801
17801
|
useGrouping: !1
|
|
17802
17802
|
}) : e.toLocaleString("en-US", {
|
|
@@ -17813,9 +17813,9 @@ function qd(e) {
|
|
|
17813
17813
|
function Dd(e) {
|
|
17814
17814
|
const t = e.toExponential().split("e")[0];
|
|
17815
17815
|
let n = 0;
|
|
17816
|
-
return t.includes(".") && (n = (t.split(".")[1] || "").length),
|
|
17816
|
+
return t.includes(".") && (n = (t.split(".")[1] || "").length), al(e, Math.min(5, Math.max(0, n)));
|
|
17817
17817
|
}
|
|
17818
|
-
function
|
|
17818
|
+
function al(e, t = 5) {
|
|
17819
17819
|
if (!Number.isFinite(e)) return String(e);
|
|
17820
17820
|
const n = e.toExponential(Math.max(0, Math.min(20, t))), [r, a = "0"] = n.split("e"), l = r.replace(/(\.\d*?[1-9])0+$/, "$1").replace(/\.0+$/, "").replace(/\.$/, ""), o = Number(a), i = o >= 0 ? "+" : "-", u = Math.abs(o).toString().padStart(2, "0");
|
|
17821
17821
|
return `${l}E${i}${u}`;
|
|
@@ -17823,7 +17823,7 @@ function rl(e, t = 5) {
|
|
|
17823
17823
|
function _u(e) {
|
|
17824
17824
|
if (!Number.isFinite(e) || Number.isInteger(e)) return null;
|
|
17825
17825
|
const t = Math.abs(e);
|
|
17826
|
-
if (
|
|
17826
|
+
if (rl(t)) return null;
|
|
17827
17827
|
const n = t >= 1 ? Math.floor(Math.log10(t)) + 1 : 1, r = Math.max(0, 10 - n);
|
|
17828
17828
|
let a = Number(e.toFixed(r));
|
|
17829
17829
|
return Object.is(a, -0) && (a = 0), a.toFixed(r).replace(/(\.\d*?[1-9])0+$/, "$1").replace(/\.0+$/, "");
|
|
@@ -17859,7 +17859,7 @@ function Qe(e) {
|
|
|
17859
17859
|
t = "TRUE", n = { fa: "General", t: "b" }, r = !0;
|
|
17860
17860
|
else if (e.toString().toUpperCase() === "FALSE")
|
|
17861
17861
|
t = "FALSE", n = { fa: "General", t: "b" }, r = !1;
|
|
17862
|
-
else if (
|
|
17862
|
+
else if (Io(e.toString()))
|
|
17863
17863
|
t = e.toString(), n = { fa: "General", t: "e" };
|
|
17864
17864
|
else if (/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(
|
|
17865
17865
|
e
|
|
@@ -17868,11 +17868,11 @@ function Qe(e) {
|
|
|
17868
17868
|
else if (vu(e)) {
|
|
17869
17869
|
const a = e.trim().replace(/,/g, "");
|
|
17870
17870
|
t = a, r = a, n = { fa: "General", t: "g" };
|
|
17871
|
-
} else if (Ge(e) && Math.abs(parseFloat(e)) > 0 && (Math.abs(parseFloat(e)) < 1e-9 ||
|
|
17871
|
+
} else if (Ge(e) && Math.abs(parseFloat(e)) > 0 && (Math.abs(parseFloat(e)) < 1e-9 || rl(Math.abs(parseFloat(e))))) {
|
|
17872
17872
|
r = parseFloat(e);
|
|
17873
17873
|
const a = r.toExponential();
|
|
17874
17874
|
let l = 0;
|
|
17875
|
-
a.indexOf(".") > -1 && (l = Math.min(5, a.split(".")[1].split("e")[0].length)), n = { fa: `#0${l > 0 ? `.${new Array(l + 1).join("#")}` : ""}E+00`, t: "n" }, t =
|
|
17875
|
+
a.indexOf(".") > -1 && (l = Math.min(5, a.split(".")[1].split("e")[0].length)), n = { fa: `#0${l > 0 ? `.${new Array(l + 1).join("#")}` : ""}E+00`, t: "n" }, t = al(r, l);
|
|
17876
17876
|
} else if (e.toString().indexOf("%") > -1) {
|
|
17877
17877
|
const a = e.toString().indexOf("%"), l = e.toString().substring(0, a), o = l.replace(/,/g, "");
|
|
17878
17878
|
if (a === e.toString().length - 1 && Ge(o))
|
|
@@ -17928,7 +17928,7 @@ function Qe(e) {
|
|
|
17928
17928
|
t = e.toString(), n = { fa: "@", t: "s" };
|
|
17929
17929
|
else if (Ge(e)) {
|
|
17930
17930
|
const a = parseFloat(e), l = Math.abs(a);
|
|
17931
|
-
r = a, n = { fa: "General", t: "n" }, l >=
|
|
17931
|
+
r = a, n = { fa: "General", t: "n" }, l >= nl ? t = a.toLocaleString("en-US", {
|
|
17932
17932
|
maximumFractionDigits: 50,
|
|
17933
17933
|
useGrouping: !1
|
|
17934
17934
|
}) : t = a.toString();
|
|
@@ -18023,7 +18023,7 @@ function Qe(e) {
|
|
|
18023
18023
|
return [t, n, r];
|
|
18024
18024
|
}
|
|
18025
18025
|
const Tu = ["BTC", "ETH", "SOL"];
|
|
18026
|
-
function
|
|
18026
|
+
function ol(e) {
|
|
18027
18027
|
const t = Array.isArray(e) ? e.filter((r) => r && r.pos !== "after") : [], n = /* @__PURE__ */ new Map();
|
|
18028
18028
|
return t.forEach((r, a) => {
|
|
18029
18029
|
r != null && r.value && !n.has(r.value) && n.set(r.value, a);
|
|
@@ -18039,12 +18039,12 @@ function xd(e, t) {
|
|
|
18039
18039
|
if (!e) return !1;
|
|
18040
18040
|
for (const n of Tu)
|
|
18041
18041
|
if (e.includes(`"${n}"`)) return !0;
|
|
18042
|
-
return
|
|
18042
|
+
return ol(t).some(
|
|
18043
18043
|
(n) => (e.startsWith(n) || e.startsWith(Cu(n))) && /#,##0/.test(e)
|
|
18044
18044
|
);
|
|
18045
18045
|
}
|
|
18046
18046
|
function Od(e, t) {
|
|
18047
|
-
return !e || e === "General" || e === "@" ? !1 : !!(xd(e, t) || e.includes('_("') && /#,?#+0/.test(e) || /#,##0/.test(e) && !e.includes("%") &&
|
|
18047
|
+
return !e || e === "General" || e === "@" ? !1 : !!(xd(e, t) || e.includes('_("') && /#,?#+0/.test(e) || /#,##0/.test(e) && !e.includes("%") && ol(t).some((r) => e.includes(r)));
|
|
18048
18048
|
}
|
|
18049
18049
|
function Fd(e, t) {
|
|
18050
18050
|
if (typeof e != "string" || e.trim() === "") return null;
|
|
@@ -18052,7 +18052,7 @@ function Fd(e, t) {
|
|
|
18052
18052
|
if (n.startsWith("=") || n.startsWith("'")) return null;
|
|
18053
18053
|
let r = 1;
|
|
18054
18054
|
if (n.startsWith("-") ? (r = -1, n = n.slice(1).trim()) : n.startsWith("+") && (n = n.slice(1).trim()), n === "") return null;
|
|
18055
|
-
const a =
|
|
18055
|
+
const a = ol(t), o = [
|
|
18056
18056
|
...[...Tu].sort(
|
|
18057
18057
|
(i, u) => u.length - i.length
|
|
18058
18058
|
).map((i) => ({ sym: i, kind: "crypto" })),
|
|
@@ -18168,7 +18168,7 @@ function Pd(e) {
|
|
|
18168
18168
|
let n = 1, r = e.replace(/([\d]),([\d])/g, "$1$2").replace(/[$]/g, "").replace(/[%]/g, () => (n *= 100, ""));
|
|
18169
18169
|
return t = Number(r), !Number.isNaN(t) || (r = r.replace(/[(](.*)[)]/, (a, l) => (n = -n, l)), t = Number(r), !Number.isNaN(t)) ? t / n : t;
|
|
18170
18170
|
}
|
|
18171
|
-
function
|
|
18171
|
+
function e1(e, t, n) {
|
|
18172
18172
|
var a, l, o, i, u, s;
|
|
18173
18173
|
let r = rt(e, t, n, "m");
|
|
18174
18174
|
return r == null ? r = rt(e, t, n, "v") : Number.isNaN(Pd(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 = rt(e, t, n, "v")) : h.isString(r) && r.indexOf("%") > -1 || (r = rt(e, t, n, "v")), r;
|
|
@@ -18209,24 +18209,24 @@ function Nu(e, t, n) {
|
|
|
18209
18209
|
n.toolbarHeight - n.calculatebarHeight - n.columnHeaderHeight;
|
|
18210
18210
|
return [r, a];
|
|
18211
18211
|
}
|
|
18212
|
-
function
|
|
18212
|
+
function qo(e, t) {
|
|
18213
18213
|
let n = 0, r = 0;
|
|
18214
18214
|
return n = t[e], e === 0 ? r = 0 : r = t[e - 1], [r, n, e];
|
|
18215
18215
|
}
|
|
18216
18216
|
function zn(e, t) {
|
|
18217
18217
|
let n = h.sortedIndex(t, e);
|
|
18218
|
-
return n >= t.length && e > 0 ? n = t.length - 1 : n === -1 && e <= 0 && (n = 0),
|
|
18218
|
+
return n >= t.length && e > 0 ? n = t.length - 1 : n === -1 && e <= 0 && (n = 0), qo(n, t);
|
|
18219
18219
|
}
|
|
18220
|
-
function
|
|
18220
|
+
function Do(e, t) {
|
|
18221
18221
|
let n = 0, r = 0;
|
|
18222
18222
|
return n = t[e], e === 0 ? r = 0 : r = t[e - 1], [r, n, e];
|
|
18223
18223
|
}
|
|
18224
18224
|
function Wn(e, t) {
|
|
18225
18225
|
let n = h.sortedIndex(t, e);
|
|
18226
|
-
return n >= t.length && e > 0 ? n = t.length - 1 : n === -1 && e <= 0 && (n = 0),
|
|
18226
|
+
return n >= t.length && e > 0 ? n = t.length - 1 : n === -1 && e <= 0 && (n = 0), Do(n, t);
|
|
18227
18227
|
}
|
|
18228
|
-
const Hd = 15, Ud = 50,
|
|
18229
|
-
function
|
|
18228
|
+
const Hd = 15, Ud = 50, t1 = 100, n1 = 300, r1 = 3e4, zd = "fortune-formula-execution-debug";
|
|
18229
|
+
function a1() {
|
|
18230
18230
|
if (typeof window > "u") return !1;
|
|
18231
18231
|
try {
|
|
18232
18232
|
return localStorage.getItem(zd) === "true";
|
|
@@ -18234,11 +18234,11 @@ function r1() {
|
|
|
18234
18234
|
return !1;
|
|
18235
18235
|
}
|
|
18236
18236
|
}
|
|
18237
|
-
function
|
|
18237
|
+
function xo(e) {
|
|
18238
18238
|
return !!(e.isFormulaCalculating && e.formulaAsyncEval);
|
|
18239
18239
|
}
|
|
18240
18240
|
const Wd = /\b(SEQUENCE|FILTER|SORT|SORTBY|UNIQUE|TRANSPOSE|ARRAYFORMULA|INDIRECT|OFFSET|INDEX|SPARKLINE)\s*\(/i;
|
|
18241
|
-
function
|
|
18241
|
+
function o1(e) {
|
|
18242
18242
|
return Wd.test(e);
|
|
18243
18243
|
}
|
|
18244
18244
|
function qr(e, t) {
|
|
@@ -18348,7 +18348,7 @@ function Zd(e, t) {
|
|
|
18348
18348
|
} else n.celldata != null && eu(e, o, n);
|
|
18349
18349
|
});
|
|
18350
18350
|
}
|
|
18351
|
-
function
|
|
18351
|
+
function l1(e, t) {
|
|
18352
18352
|
var o, i;
|
|
18353
18353
|
const n = Se(e, e.currentSheetId);
|
|
18354
18354
|
if (e.allowEdit === !1) {
|
|
@@ -18375,7 +18375,7 @@ function o1(e, t) {
|
|
|
18375
18375
|
}
|
|
18376
18376
|
}
|
|
18377
18377
|
}
|
|
18378
|
-
function
|
|
18378
|
+
function i1(e, t, n) {
|
|
18379
18379
|
if (t <= 0 && n <= 0)
|
|
18380
18380
|
return e;
|
|
18381
18381
|
if (e.length + t >= 1e4)
|
|
@@ -18415,12 +18415,12 @@ function Da(e, t) {
|
|
|
18415
18415
|
for (; (r = ms.exec(t)) !== null; ) {
|
|
18416
18416
|
const a = r[1] != null ? r[1].replace(/''/g, "'") : r[2];
|
|
18417
18417
|
if (!a) continue;
|
|
18418
|
-
const l =
|
|
18418
|
+
const l = Ho(e, a);
|
|
18419
18419
|
l && n.add(l);
|
|
18420
18420
|
}
|
|
18421
18421
|
return n;
|
|
18422
18422
|
}
|
|
18423
|
-
function
|
|
18423
|
+
function ll(e) {
|
|
18424
18424
|
var n, r;
|
|
18425
18425
|
if (!((n = e.celldata) != null && n.length)) return;
|
|
18426
18426
|
const t = /* @__PURE__ */ new Map();
|
|
@@ -18510,7 +18510,7 @@ function tm(e, t, n) {
|
|
|
18510
18510
|
e.luckysheetfile.forEach((r) => {
|
|
18511
18511
|
var o;
|
|
18512
18512
|
if (!r.id || r.id === t || n.has(r.id)) return;
|
|
18513
|
-
const a =
|
|
18513
|
+
const a = ll(r);
|
|
18514
18514
|
let l = !1;
|
|
18515
18515
|
(o = r.calcChain) == null || o.forEach((i) => {
|
|
18516
18516
|
if (l || i == null) return;
|
|
@@ -18550,7 +18550,7 @@ function rm(e, t) {
|
|
|
18550
18550
|
var i;
|
|
18551
18551
|
const n = /* @__PURE__ */ new Set(), r = Se(e, t);
|
|
18552
18552
|
if (r == null) return n;
|
|
18553
|
-
const a = e.luckysheetfile[r], l =
|
|
18553
|
+
const a = e.luckysheetfile[r], l = ll(a), o = (u) => {
|
|
18554
18554
|
typeof u != "string" || !u.startsWith("=") || Da(e, u).forEach((s) => n.add(s));
|
|
18555
18555
|
};
|
|
18556
18556
|
return nm(e, t, a, l) || (i = a.calcChain) == null || i.forEach((u) => {
|
|
@@ -18584,7 +18584,7 @@ function am(e, t, n, r, a) {
|
|
|
18584
18584
|
});
|
|
18585
18585
|
}
|
|
18586
18586
|
function om(e, t) {
|
|
18587
|
-
const n = /* @__PURE__ */ new Set([t]), r = Se(e, t), a = r != null ? e.luckysheetfile[r] : void 0, l = a != null ?
|
|
18587
|
+
const n = /* @__PURE__ */ new Set([t]), r = Se(e, t), a = r != null ? e.luckysheetfile[r] : void 0, l = a != null ? ll(a) : void 0;
|
|
18588
18588
|
Jd(e, t, n), em(e, t, n), rm(e, t).forEach(
|
|
18589
18589
|
(i) => n.add(i)
|
|
18590
18590
|
), tm(e, t, n), a && am(
|
|
@@ -18608,7 +18608,7 @@ function Su(e, t) {
|
|
|
18608
18608
|
required: r
|
|
18609
18609
|
}, new Set(r);
|
|
18610
18610
|
}
|
|
18611
|
-
function
|
|
18611
|
+
function s1(e) {
|
|
18612
18612
|
const t = Su(e, e.currentSheetId);
|
|
18613
18613
|
return e.luckysheetfile.forEach((n) => {
|
|
18614
18614
|
var r;
|
|
@@ -18627,7 +18627,7 @@ function lm(e, t) {
|
|
|
18627
18627
|
const r = e.luckysheetfile[n];
|
|
18628
18628
|
r != null && r.data && (r.celldata = ka(r.data), delete r.data);
|
|
18629
18629
|
}
|
|
18630
|
-
function
|
|
18630
|
+
function u1(e, t, n) {
|
|
18631
18631
|
if (n && n !== t) {
|
|
18632
18632
|
rr();
|
|
18633
18633
|
const a = Se(e, n);
|
|
@@ -18692,7 +18692,7 @@ function Au(e) {
|
|
|
18692
18692
|
const t = e.trim();
|
|
18693
18693
|
return !(!t || !/^[A-Za-z_][A-Za-z0-9._]*$/.test(t) || /^[A-Za-z]+\d+$/i.test(t) || /^[A-Za-z]+\d+:[A-Za-z]+\d+$/i.test(t));
|
|
18694
18694
|
}
|
|
18695
|
-
function
|
|
18695
|
+
function c1(e, t) {
|
|
18696
18696
|
return Lr(
|
|
18697
18697
|
e,
|
|
18698
18698
|
t.sheetId,
|
|
@@ -18704,7 +18704,7 @@ function u1(e, t) {
|
|
|
18704
18704
|
"__named_range_list__"
|
|
18705
18705
|
) || "";
|
|
18706
18706
|
}
|
|
18707
|
-
function
|
|
18707
|
+
function f1(e) {
|
|
18708
18708
|
var r, a;
|
|
18709
18709
|
const t = h.last(e.luckysheet_select_save);
|
|
18710
18710
|
if (!((r = t == null ? void 0 : t.row) != null && r.length) || !((a = t == null ? void 0 : t.column) != null && a.length)) return null;
|
|
@@ -18734,7 +18734,7 @@ function Ru(e, t, n) {
|
|
|
18734
18734
|
}
|
|
18735
18735
|
return a.find((l) => l.scope !== "sheet") ?? a[0] ?? null;
|
|
18736
18736
|
}
|
|
18737
|
-
function
|
|
18737
|
+
function d1(e, t) {
|
|
18738
18738
|
const n = t.name.trim();
|
|
18739
18739
|
if (!Au(n))
|
|
18740
18740
|
return {
|
|
@@ -18758,7 +18758,7 @@ function f1(e, t) {
|
|
|
18758
18758
|
};
|
|
18759
18759
|
return e.definedNames || (e.definedNames = []), e.definedNames.push(r), lr(e), { ok: !0, namedRange: r };
|
|
18760
18760
|
}
|
|
18761
|
-
function
|
|
18761
|
+
function m1(e, t, n) {
|
|
18762
18762
|
const r = e.definedNames || [], a = r.findIndex((c) => c.id === t);
|
|
18763
18763
|
if (a < 0) return { ok: !1, error: "Named range not found." };
|
|
18764
18764
|
const l = r[a], o = (n.name ?? l.name).trim();
|
|
@@ -18783,11 +18783,11 @@ function d1(e, t, n) {
|
|
|
18783
18783
|
};
|
|
18784
18784
|
return r[a] = s, lr(e), { ok: !0, namedRange: s };
|
|
18785
18785
|
}
|
|
18786
|
-
function
|
|
18786
|
+
function h1(e, t) {
|
|
18787
18787
|
const n = e.definedNames || [], r = n.filter((a) => a.id !== t);
|
|
18788
18788
|
return r.length === n.length ? !1 : (e.definedNames = r, lr(e), !0);
|
|
18789
18789
|
}
|
|
18790
|
-
function
|
|
18790
|
+
function p1(e, t) {
|
|
18791
18791
|
const n = (e.definedNames || []).find((l) => l.id === t);
|
|
18792
18792
|
if (!n) return !1;
|
|
18793
18793
|
n.sheetId !== e.currentSheetId && (e.sheetScrollRecord[e.currentSheetId] = {
|
|
@@ -18813,7 +18813,7 @@ function h1(e, t) {
|
|
|
18813
18813
|
luckysheet_select_status: !1
|
|
18814
18814
|
}, !0;
|
|
18815
18815
|
}
|
|
18816
|
-
function
|
|
18816
|
+
function g1() {
|
|
18817
18817
|
var e;
|
|
18818
18818
|
(e = document.getElementById("named-ranges-button")) == null || e.click();
|
|
18819
18819
|
}
|
|
@@ -18908,7 +18908,7 @@ function hm(e, t, n, r, a) {
|
|
|
18908
18908
|
}
|
|
18909
18909
|
return (i.length !== l.length || o.length > 0) && (e.definedNames = i, lr(e)), o;
|
|
18910
18910
|
}
|
|
18911
|
-
function
|
|
18911
|
+
function y1(e, t) {
|
|
18912
18912
|
const n = e.definedNames || [];
|
|
18913
18913
|
if (!n.length) return [];
|
|
18914
18914
|
const r = [], a = n.filter((l) => l.sheetId === t || l.localSheetId === t ? (r.push(l.name), !1) : !0);
|
|
@@ -19082,7 +19082,7 @@ class qu {
|
|
|
19082
19082
|
"callCellValue",
|
|
19083
19083
|
(a, l, o) => {
|
|
19084
19084
|
var d, p;
|
|
19085
|
-
const i = t.parser.context, u = a.sheetName == null ? l.sheetId :
|
|
19085
|
+
const i = t.parser.context, u = a.sheetName == null ? l.sheetId : Ho(i, a.sheetName);
|
|
19086
19086
|
if (u == null) throw Error($r);
|
|
19087
19087
|
r(n(u, a.row.index, a.column.index));
|
|
19088
19088
|
const s = _n(i, { id: u }), c = `${a.row.index}_${a.column.index}_${u}`, f = ((d = i == null ? void 0 : i.formulaCache.execFunctionGlobalData) == null ? void 0 : d[c]) || ((p = s == null ? void 0 : s[a.row.index]) == null ? void 0 : p[a.column.index]), m = t.tryGetCellAsNumber(f);
|
|
@@ -19091,7 +19091,7 @@ class qu {
|
|
|
19091
19091
|
), this.parser.on(
|
|
19092
19092
|
"callRangeValue",
|
|
19093
19093
|
(a, l, o, i) => {
|
|
19094
|
-
const u = t.parser.context, s = a.sheetName == null ? o.sheetId :
|
|
19094
|
+
const u = t.parser.context, s = a.sheetName == null ? o.sheetId : Ho(u, a.sheetName);
|
|
19095
19095
|
if (s == null) throw Error($r);
|
|
19096
19096
|
const c = _n(u, { id: s });
|
|
19097
19097
|
let f = a.row.index, m = l.row.index, d = a.column.index, p = l.column.index;
|
|
@@ -19493,7 +19493,7 @@ function br(e, t, n, r, a, l, o) {
|
|
|
19493
19493
|
o
|
|
19494
19494
|
), c;
|
|
19495
19495
|
}
|
|
19496
|
-
function
|
|
19496
|
+
function il(e) {
|
|
19497
19497
|
const { luckysheetfile: t } = e;
|
|
19498
19498
|
let n = [];
|
|
19499
19499
|
for (let r = 0; r < t.length; r += 1) {
|
|
@@ -19727,7 +19727,7 @@ function xu(e) {
|
|
|
19727
19727
|
l.length > 0 && ((r = e == null ? void 0 : e.hooks) != null && r.updateCellYdoc) && e.hooks.updateCellYdoc(l), e.groupValuesRefreshData = [];
|
|
19728
19728
|
}
|
|
19729
19729
|
}
|
|
19730
|
-
function
|
|
19730
|
+
function sl(e, t, n, r, a, l) {
|
|
19731
19731
|
if (xa(e), t.level === Math.max)
|
|
19732
19732
|
return;
|
|
19733
19733
|
const { calc_funcStr: o } = t, i = `${t.id}:${t.r}:${t.c}`;
|
|
@@ -19841,7 +19841,7 @@ function Dm(e, t, n, r, a = [], l) {
|
|
|
19841
19841
|
continue;
|
|
19842
19842
|
}
|
|
19843
19843
|
if (Array.isArray(i.v)) {
|
|
19844
|
-
|
|
19844
|
+
sl(
|
|
19845
19845
|
e,
|
|
19846
19846
|
{
|
|
19847
19847
|
r: i.r,
|
|
@@ -19877,7 +19877,7 @@ function xm(e, t, n = Ud) {
|
|
|
19877
19877
|
const r = new Set(t.calcChainKeys), a = new Set(t.impactedByCircular), l = new Set(t.cycleNodes), o = ke(e), i = Math.min(t.nextIndex + n, t.formulaRunList.length);
|
|
19878
19878
|
for (let s = t.nextIndex; s < i; s += 1) {
|
|
19879
19879
|
const c = t.formulaRunList[s];
|
|
19880
|
-
|
|
19880
|
+
sl(
|
|
19881
19881
|
e,
|
|
19882
19882
|
c,
|
|
19883
19883
|
r,
|
|
@@ -19890,7 +19890,7 @@ function xm(e, t, n = Ud) {
|
|
|
19890
19890
|
const u = i >= t.formulaRunList.length;
|
|
19891
19891
|
return u && (e.formulaCache.execFunctionExist = void 0, ku(e.formulaCache), e.formulaCache.execFunctionGlobalData = null), u;
|
|
19892
19892
|
}
|
|
19893
|
-
function
|
|
19893
|
+
function ul(e, t) {
|
|
19894
19894
|
if (!t.length) return;
|
|
19895
19895
|
const n = t.map((l) => l.trim()).filter(Boolean).map(
|
|
19896
19896
|
(l) => new RegExp(
|
|
@@ -19899,7 +19899,7 @@ function sl(e, t) {
|
|
|
19899
19899
|
)
|
|
19900
19900
|
);
|
|
19901
19901
|
if (!n.length) return;
|
|
19902
|
-
const r =
|
|
19902
|
+
const r = il(e), a = [];
|
|
19903
19903
|
for (let l = 0; l < r.length; l += 1) {
|
|
19904
19904
|
const o = r[l], i = Fr(e, o.r, o.c, o.id);
|
|
19905
19905
|
i && n.some((u) => u.test(i)) && a.push({ r: o.r, c: o.c, i: o.id });
|
|
@@ -19917,7 +19917,7 @@ function Ft(e, t, n, r, a, l, o = !1) {
|
|
|
19917
19917
|
]
|
|
19918
19918
|
] = C;
|
|
19919
19919
|
}
|
|
19920
|
-
const c =
|
|
19920
|
+
const c = il(e);
|
|
19921
19921
|
let f = c;
|
|
19922
19922
|
if (!o && !h.isNil(t) && !h.isNil(n) && !h.isNil(a) && e.formulaCache.revDepsByCell.size > 0) {
|
|
19923
19923
|
const C = hs(
|
|
@@ -20150,7 +20150,7 @@ function Ft(e, t, n, r, a, l, o = !1) {
|
|
|
20150
20150
|
}
|
|
20151
20151
|
for (let C = 0; C < v.length; C += 1) {
|
|
20152
20152
|
const S = v[C];
|
|
20153
|
-
|
|
20153
|
+
sl(
|
|
20154
20154
|
e,
|
|
20155
20155
|
S,
|
|
20156
20156
|
$,
|
|
@@ -20269,7 +20269,7 @@ function Fu(e, t, n = -1) {
|
|
|
20269
20269
|
}
|
|
20270
20270
|
}), e.formulaRangeHighlight = a;
|
|
20271
20271
|
}
|
|
20272
|
-
function
|
|
20272
|
+
function cl(e) {
|
|
20273
20273
|
if (!e || !(e instanceof Node)) return;
|
|
20274
20274
|
e.focus();
|
|
20275
20275
|
const t = document.createRange(), n = window.getSelection();
|
|
@@ -20323,7 +20323,7 @@ function ar(e, t, n, r, a) {
|
|
|
20323
20323
|
) : c.setStart(s, Math.min(Math.max(r, 0), s.childNodes.length));
|
|
20324
20324
|
c.collapse(!0), f == null || f.removeAllRanges(), f == null || f.addRange(c), s.focus();
|
|
20325
20325
|
} catch {
|
|
20326
|
-
a && a instanceof HTMLElement &&
|
|
20326
|
+
a && a instanceof HTMLElement && cl(a);
|
|
20327
20327
|
}
|
|
20328
20328
|
}
|
|
20329
20329
|
function Lm(e, t, n, r) {
|
|
@@ -20640,7 +20640,7 @@ function Fa(e) {
|
|
|
20640
20640
|
function Uu(e) {
|
|
20641
20641
|
if (e.luckysheetCellUpdate.length === 0) return !1;
|
|
20642
20642
|
if (e.formulaCache.rangetosheet) return !0;
|
|
20643
|
-
const t =
|
|
20643
|
+
const t = fl(e);
|
|
20644
20644
|
return ((t == null ? void 0 : t.innerText) || "").trim().startsWith("=");
|
|
20645
20645
|
}
|
|
20646
20646
|
function Um(e) {
|
|
@@ -20677,7 +20677,7 @@ function zu(e) {
|
|
|
20677
20677
|
const r = e.luckysheetfile[Se(e, t)];
|
|
20678
20678
|
return (r == null ? void 0 : r.zoomRatio) != null && (e.zoomRatio = r.zoomRatio || 1), !0;
|
|
20679
20679
|
}
|
|
20680
|
-
function
|
|
20680
|
+
function fl(e) {
|
|
20681
20681
|
var l;
|
|
20682
20682
|
const t = document.getElementById(
|
|
20683
20683
|
"luckysheet-rich-text-editor"
|
|
@@ -20703,7 +20703,7 @@ function Gm(e, t) {
|
|
|
20703
20703
|
const n = ln(e.textContent || ""), r = n.slice(0, t), a = n.slice(t), l = /[=,()+\-*/&<>%^]/, o = (r.split(l).pop() || "").trim(), i = (a.split(l)[0] || "").trim(), u = `${o}${i}`;
|
|
20704
20704
|
return Vm(u);
|
|
20705
20705
|
}
|
|
20706
|
-
function
|
|
20706
|
+
function dl(e) {
|
|
20707
20707
|
const t = e.trim();
|
|
20708
20708
|
if (!t.startsWith("=")) return !1;
|
|
20709
20709
|
const n = t.slice(1).trim();
|
|
@@ -20720,7 +20720,7 @@ function La(e) {
|
|
|
20720
20720
|
if (n && !e.contains(n))
|
|
20721
20721
|
return !1;
|
|
20722
20722
|
const r = ln(e.innerText).trim();
|
|
20723
|
-
if (!r.startsWith("=") || /^=\s*[A-Za-z_][A-Za-z0-9_]*$/.test(r) ||
|
|
20723
|
+
if (!r.startsWith("=") || /^=\s*[A-Za-z_][A-Za-z0-9_]*$/.test(r) || dl(r))
|
|
20724
20724
|
return !1;
|
|
20725
20725
|
const a = t.getRangeAt(0).cloneRange(), l = document.createRange();
|
|
20726
20726
|
l.selectNodeContents(e), l.setEnd(a.endContainer, a.endOffset);
|
|
@@ -21076,13 +21076,13 @@ function sr(e, t) {
|
|
|
21076
21076
|
return !1;
|
|
21077
21077
|
}
|
|
21078
21078
|
function eh(e) {
|
|
21079
|
-
const t =
|
|
21080
|
-
return n.startsWith("=") ? e.formulaCache.rangeSelectionActive === !0 && t && ir(t) !== null || e.formulaCache.rangeSelectionActive === !0 &&
|
|
21079
|
+
const t = fl(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 && La(t), l = r || e.formulaCache.rangeSelectionActive === !0;
|
|
21080
|
+
return n.startsWith("=") ? e.formulaCache.rangeSelectionActive === !0 && t && ir(t) !== null || e.formulaCache.rangeSelectionActive === !0 && dl(n) ? !0 : /^=\s*[A-Za-z_][A-Za-z0-9_]*$/.test(n) || e.formulaCache.rangeSelectionActive === !1 ? !1 : l ? r ? !0 : a : a ? !0 : sr(e) : !1;
|
|
21081
21081
|
}
|
|
21082
21082
|
function th(e) {
|
|
21083
21083
|
if (e.formulaCache.rangeSelectionActive !== !1)
|
|
21084
21084
|
return !1;
|
|
21085
|
-
const t =
|
|
21085
|
+
const t = fl(e);
|
|
21086
21086
|
if (!t)
|
|
21087
21087
|
return !1;
|
|
21088
21088
|
const n = (t.innerText || "").trim(), r = ir(t), a = La(t), l = sr(e);
|
|
@@ -21206,7 +21206,7 @@ function Wr(e, t, n, r) {
|
|
|
21206
21206
|
s.appendChild(S);
|
|
21207
21207
|
e.formulaCache.rangechangeindex = $, wn = Math.max(wn, $ + 1);
|
|
21208
21208
|
const R = S != null && S.parentNode ? S : null;
|
|
21209
|
-
R ? ar(e, R, 0, f.length, s) :
|
|
21209
|
+
R ? ar(e, R, 0, f.length, s) : cl(s);
|
|
21210
21210
|
}
|
|
21211
21211
|
c && (c.innerHTML = s.innerHTML);
|
|
21212
21212
|
}
|
|
@@ -21228,7 +21228,7 @@ function nh(e) {
|
|
|
21228
21228
|
}
|
|
21229
21229
|
e.formulaCache.selectingRangeIndex = -1;
|
|
21230
21230
|
}
|
|
21231
|
-
function
|
|
21231
|
+
function ml(e, t, n, r, a) {
|
|
21232
21232
|
const l = e.querySelector(
|
|
21233
21233
|
".fortune-formula-functionrange-select"
|
|
21234
21234
|
);
|
|
@@ -21262,7 +21262,7 @@ function rh(e, t, n, r, a, l, o) {
|
|
|
21262
21262
|
column: $
|
|
21263
21263
|
},
|
|
21264
21264
|
o
|
|
21265
|
-
),
|
|
21265
|
+
), ml(l, _, b, w, T), t.preventDefault();
|
|
21266
21266
|
}
|
|
21267
21267
|
function ah(e, t, n, r, a, l, o) {
|
|
21268
21268
|
e.formulaCache.rangeSelectionActive = !0;
|
|
@@ -21290,7 +21290,7 @@ function ah(e, t, n, r, a, l, o) {
|
|
|
21290
21290
|
column: v
|
|
21291
21291
|
},
|
|
21292
21292
|
o
|
|
21293
|
-
),
|
|
21293
|
+
), ml(l, b, d, m - d - 1, w);
|
|
21294
21294
|
}
|
|
21295
21295
|
function oh(e, t, n, r, a, l, o) {
|
|
21296
21296
|
e.formulaCache.rangeSelectionActive = !0;
|
|
@@ -21318,7 +21318,7 @@ function oh(e, t, n, r, a, l, o) {
|
|
|
21318
21318
|
column: [null, null]
|
|
21319
21319
|
},
|
|
21320
21320
|
o
|
|
21321
|
-
),
|
|
21321
|
+
), ml(l, y, b, w, g - y - 1);
|
|
21322
21322
|
}
|
|
21323
21323
|
function Ba(e, t, n) {
|
|
21324
21324
|
const r = t.split("!");
|
|
@@ -21555,7 +21555,7 @@ const ph = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21555
21555
|
functionHTMLGenerate: Dr,
|
|
21556
21556
|
functionMoveReference: jn,
|
|
21557
21557
|
functionStrChange: Et,
|
|
21558
|
-
getAllFunctionGroup:
|
|
21558
|
+
getAllFunctionGroup: il,
|
|
21559
21559
|
getFormulaEditorOwner: Oa,
|
|
21560
21560
|
getFormulaRangeIndexAtCaret: ir,
|
|
21561
21561
|
getFormulaRangeIndexForKeyboardSync: Xm,
|
|
@@ -21565,7 +21565,7 @@ const ph = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21565
21565
|
groupValuesRefresh: xu,
|
|
21566
21566
|
handleFormulaInput: Vu,
|
|
21567
21567
|
insertUpdateFunctionGroup: $n,
|
|
21568
|
-
isBareCellOrRangeOnlyFormula:
|
|
21568
|
+
isBareCellOrRangeOnlyFormula: dl,
|
|
21569
21569
|
isCaretAtValidFormulaRangeInsertionPoint: La,
|
|
21570
21570
|
isFormulaReferenceInputMode: eh,
|
|
21571
21571
|
isLegacyFormulaRangeMode: Jm,
|
|
@@ -21574,14 +21574,14 @@ const ph = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21574
21574
|
israngeseleciton: sr,
|
|
21575
21575
|
markRangeSelectionDirty: Yu,
|
|
21576
21576
|
maybeRecoverDirtyRangeSelection: th,
|
|
21577
|
-
moveCursorToEnd:
|
|
21577
|
+
moveCursorToEnd: cl,
|
|
21578
21578
|
onFormulaRangeDragEnd: nh,
|
|
21579
21579
|
rangeDrag: rh,
|
|
21580
21580
|
rangeDragColumn: ah,
|
|
21581
21581
|
rangeDragRow: oh,
|
|
21582
21582
|
rangeHightlightselected: Bu,
|
|
21583
21583
|
rangeSetValue: Wr,
|
|
21584
|
-
refreshFormulasUsingDefinedNames:
|
|
21584
|
+
refreshFormulasUsingDefinedNames: ul,
|
|
21585
21585
|
remapFormulaReferencesByMap: ju,
|
|
21586
21586
|
returnToFormulaOriginSheet: zu,
|
|
21587
21587
|
runFormulaEvalChunk: xm,
|
|
@@ -21603,7 +21603,7 @@ function Xu(e, t, n, r) {
|
|
|
21603
21603
|
const i = (c = a.config) == null ? void 0 : c.authority;
|
|
21604
21604
|
return !(h.isNil(i) || h.isNil(i.sheet) || i.sheet === 0);
|
|
21605
21605
|
}
|
|
21606
|
-
function
|
|
21606
|
+
function b1(e, t, n, r) {
|
|
21607
21607
|
var u;
|
|
21608
21608
|
const a = Za(e, r);
|
|
21609
21609
|
if (h.isNil(a) || h.isNil(a.config) || h.isNil(a.config.authority))
|
|
@@ -21614,7 +21614,7 @@ function y1(e, t, n, r) {
|
|
|
21614
21614
|
const { data: o } = a, i = (u = o == null ? void 0 : o[t]) == null ? void 0 : u[n];
|
|
21615
21615
|
return i && i.lo === 0 ? !!(l.selectunLockedCells === 1 || h.isNil(l.selectunLockedCells)) : !!(l.selectLockedCells === 1 || h.isNil(l.selectLockedCells));
|
|
21616
21616
|
}
|
|
21617
|
-
function
|
|
21617
|
+
function w1(e, t) {
|
|
21618
21618
|
const n = Za(e, t);
|
|
21619
21619
|
if (h.isNil(n) || h.isNil(n.config) || h.isNil(n.config.authority))
|
|
21620
21620
|
return !0;
|
|
@@ -21705,7 +21705,7 @@ function xr(e) {
|
|
|
21705
21705
|
const o = new Date(l, a, r);
|
|
21706
21706
|
return o.getFullYear() !== l || o.getMonth() !== a || o.getDate() !== r ? null : Ur(o, 0);
|
|
21707
21707
|
}
|
|
21708
|
-
function
|
|
21708
|
+
function hl(e, t = !1) {
|
|
21709
21709
|
var n, r;
|
|
21710
21710
|
if (!e) return "";
|
|
21711
21711
|
if (((n = e.ct) == null ? void 0 : n.t) === "inlineStr" && Array.isArray((r = e.ct) == null ? void 0 : r.s)) {
|
|
@@ -21723,10 +21723,10 @@ function ml(e, t = !1) {
|
|
|
21723
21723
|
return e.v != null && !at(e.v) && typeof e.v != "string" ? String(e.v) : "";
|
|
21724
21724
|
}
|
|
21725
21725
|
function uo(e) {
|
|
21726
|
-
return h.isNil(e) ? !0 : !(
|
|
21726
|
+
return h.isNil(e) ? !0 : !(hl(e, !0) !== "" || !h.isNil(e.v) && !at(e.v));
|
|
21727
21727
|
}
|
|
21728
21728
|
function vh(e) {
|
|
21729
|
-
return
|
|
21729
|
+
return hl(e, !0);
|
|
21730
21730
|
}
|
|
21731
21731
|
function Ss(e) {
|
|
21732
21732
|
var r, a;
|
|
@@ -21746,7 +21746,7 @@ function Ss(e) {
|
|
|
21746
21746
|
function Ku() {
|
|
21747
21747
|
return Math.floor(Ur(Zu(), 0));
|
|
21748
21748
|
}
|
|
21749
|
-
function
|
|
21749
|
+
function Oo(e) {
|
|
21750
21750
|
const t = Zu();
|
|
21751
21751
|
switch (e) {
|
|
21752
21752
|
case "today":
|
|
@@ -21765,12 +21765,12 @@ function xo(e) {
|
|
|
21765
21765
|
return Xn(t);
|
|
21766
21766
|
}
|
|
21767
21767
|
}
|
|
21768
|
-
function
|
|
21768
|
+
function v1(e) {
|
|
21769
21769
|
const t = ya;
|
|
21770
21770
|
if (!e || e.length === 0)
|
|
21771
21771
|
return {
|
|
21772
21772
|
preset: "today",
|
|
21773
|
-
snapshotOrExact:
|
|
21773
|
+
snapshotOrExact: Oo("today"),
|
|
21774
21774
|
format: t
|
|
21775
21775
|
};
|
|
21776
21776
|
const n = String(e[0] ?? "");
|
|
@@ -21877,22 +21877,22 @@ function Ch(e, t) {
|
|
|
21877
21877
|
else return !1;
|
|
21878
21878
|
return r > i;
|
|
21879
21879
|
}
|
|
21880
|
-
function
|
|
21880
|
+
function Fo(e) {
|
|
21881
21881
|
const t = e.rulesType;
|
|
21882
21882
|
if (t === "dateAfter") {
|
|
21883
21883
|
let l = e.datePreset || "today";
|
|
21884
21884
|
Ha.has(l) || (l = "today");
|
|
21885
21885
|
const o = e.dateFormat || ya;
|
|
21886
21886
|
let i = String(e.dateValue ?? "").trim();
|
|
21887
|
-
return l !== "exact" && (i = i ||
|
|
21887
|
+
return l !== "exact" && (i = i || Oo(l)), [`preset:${l}`, i, o];
|
|
21888
21888
|
}
|
|
21889
21889
|
if (t !== "dateIs" && t !== "dateBefore")
|
|
21890
21890
|
return null;
|
|
21891
21891
|
const n = e.datePreset || "today", r = e.dateFormat || ya;
|
|
21892
21892
|
let a = String(e.dateValue ?? "").trim();
|
|
21893
|
-
return n !== "exact" && (a = a ||
|
|
21893
|
+
return n !== "exact" && (a = a || Oo(n)), [`preset:${n}`, a, r];
|
|
21894
21894
|
}
|
|
21895
|
-
function
|
|
21895
|
+
function _1(e, t, n, r, a, l, o) {
|
|
21896
21896
|
var g, y, b, w;
|
|
21897
21897
|
if (!gh(e))
|
|
21898
21898
|
return;
|
|
@@ -21976,7 +21976,7 @@ function v1(e, t, n, r, a, l, o) {
|
|
|
21976
21976
|
return;
|
|
21977
21977
|
}
|
|
21978
21978
|
}
|
|
21979
|
-
const _ =
|
|
21979
|
+
const _ = Fo(a);
|
|
21980
21980
|
_ && s.push(_[0], _[1], _[2]);
|
|
21981
21981
|
} else if (i === "dateAfter") {
|
|
21982
21982
|
let v = a.datePreset || "today";
|
|
@@ -21987,7 +21987,7 @@ function v1(e, t, n, r, a, l, o) {
|
|
|
21987
21987
|
return;
|
|
21988
21988
|
}
|
|
21989
21989
|
}
|
|
21990
|
-
const _ =
|
|
21990
|
+
const _ = Fo(a);
|
|
21991
21991
|
_ && s.push(_[0], _[1], _[2]);
|
|
21992
21992
|
} else if (i === "occurrenceDate") {
|
|
21993
21993
|
const v = a.dateValue;
|
|
@@ -22184,7 +22184,7 @@ function $h(e, t, n) {
|
|
|
22184
22184
|
for (let v = o[b].column[0]; v <= o[b].column[1]; v += 1) {
|
|
22185
22185
|
if (h.isNil(n[w]) || h.isNil(n[w][v]))
|
|
22186
22186
|
continue;
|
|
22187
|
-
const _ = n[w][v], T = uo(_), $ =
|
|
22187
|
+
const _ = n[w][v], T = uo(_), $ = hl(_), C = T || h.isNil(_ == null ? void 0 : _.v) || at(_.v) ? $ || null : _.v, S = s == null ? "" : String(s), N = $.toLowerCase(), R = S.toLowerCase();
|
|
22188
22188
|
T && u !== "textDoesNotContain" || (u === "greaterThan" && Cs(C, s, ">") && !(`${w}_${v}` in r) ? r[`${w}_${v}`] = {
|
|
22189
22189
|
textColor: f,
|
|
22190
22190
|
cellColor: m,
|
|
@@ -22520,7 +22520,7 @@ function Nh(e) {
|
|
|
22520
22520
|
}
|
|
22521
22521
|
function Sh(e) {
|
|
22522
22522
|
if (!e) return [""];
|
|
22523
|
-
const t =
|
|
22523
|
+
const t = Fo(e);
|
|
22524
22524
|
if (t) return t;
|
|
22525
22525
|
const n = e.rulesType;
|
|
22526
22526
|
return n === "occurrenceDate" ? [e.dateValue || ""] : (n === "between" || n === "notBetween") && e.betweenValue ? [e.betweenValue.value1, e.betweenValue.value2] : [e.rulesValue || ""];
|
|
@@ -22947,7 +22947,7 @@ function Rh(e, t) {
|
|
|
22947
22947
|
}
|
|
22948
22948
|
return n;
|
|
22949
22949
|
}
|
|
22950
|
-
function
|
|
22950
|
+
function T1(e, t, n, r) {
|
|
22951
22951
|
const a = ut(e), l = Mc(e);
|
|
22952
22952
|
if (!a || l) return;
|
|
22953
22953
|
const o = document.getElementById(
|
|
@@ -22980,7 +22980,7 @@ function _1(e, t, n, r) {
|
|
|
22980
22980
|
$ === "en" ? T = '<span style="color:#f72626;">Failure: </span>' : $ === "zh" || $ === "zh-CN" || $ === "zh-TW" ? T = '<span style="color:#f72626;">失效:</span>' : $ === "es" ? T = '<span style="color:#f72626;">Caducidad: </span>' : $ === "hi" && (T = '<span style="color:#f72626;">असफलता: </span>'), T = C + T + nc(e, c), o.innerHTML = T, o.style.display = "block", o.style.left = `${y}px`, o.style.top = `${d}px`;
|
|
22981
22981
|
}
|
|
22982
22982
|
}
|
|
22983
|
-
function
|
|
22983
|
+
function C1(e, t, n) {
|
|
22984
22984
|
var p, g;
|
|
22985
22985
|
if (!e.luckysheet_select_save) return;
|
|
22986
22986
|
const r = ke(e);
|
|
@@ -23028,9 +23028,9 @@ function T1(e, t, n) {
|
|
|
23028
23028
|
const m = yg(e, [l])[l], d = 22 * (t.split(",").length || (s == null ? void 0 : s.length)) || 22;
|
|
23029
23029
|
m < d && gg(e, {
|
|
23030
23030
|
[String(l)]: d
|
|
23031
|
-
}),
|
|
23031
|
+
}), pl(e, null, void 0);
|
|
23032
23032
|
}
|
|
23033
|
-
function
|
|
23033
|
+
function $1(e, t, n) {
|
|
23034
23034
|
var p, g;
|
|
23035
23035
|
const r = Er(
|
|
23036
23036
|
e,
|
|
@@ -23093,9 +23093,9 @@ function Mh(e, t, n, r) {
|
|
|
23093
23093
|
for (let l = t[a].row[0]; l <= t[a].row[1]; l += 1)
|
|
23094
23094
|
for (let o = t[a].column[0]; o <= t[a].column[1]; o += 1)
|
|
23095
23095
|
e.formulaCache.execFunctionExist.push({ r: l, c: o, i: n });
|
|
23096
|
-
e.formulaCache.execFunctionExist.reverse(), Ft(e, null, null, null, null, r),
|
|
23096
|
+
e.formulaCache.execFunctionExist.reverse(), Ft(e, null, null, null, null, r), xo(e) || (e.formulaCache.execFunctionGlobalData = null);
|
|
23097
23097
|
}
|
|
23098
|
-
function
|
|
23098
|
+
function pl(e, t, n, r = !0) {
|
|
23099
23099
|
t == null && (t = ke(e)), !(n == null && (n = e.luckysheet_select_save, n == null)) && r && Mh(e, n, e.currentSheetId, t);
|
|
23100
23100
|
}
|
|
23101
23101
|
function Ih(e, t, n) {
|
|
@@ -23151,7 +23151,7 @@ function rc(e, t, n, r, a, l, o, i, u) {
|
|
|
23151
23151
|
if ((g = d == null ? void 0 : d.calcChain) == null || g.forEach((b) => {
|
|
23152
23152
|
const w = f[b.r];
|
|
23153
23153
|
h.isNil(w) || (b.r = w);
|
|
23154
|
-
}),
|
|
23154
|
+
}), pl(e, t, [{ row: [l, o], column: [i, u] }]), (y = e == null ? void 0 : e.hooks) != null && y.updateCellYdoc) {
|
|
23155
23155
|
const b = [];
|
|
23156
23156
|
for (let w = l; w <= o; w += 1) {
|
|
23157
23157
|
const v = t[w] || [];
|
|
@@ -23207,7 +23207,7 @@ function qh(e, t, n = 0) {
|
|
|
23207
23207
|
f || rc(e, a, m, n, t, s, c, i, u);
|
|
23208
23208
|
}
|
|
23209
23209
|
}
|
|
23210
|
-
function
|
|
23210
|
+
function N1(e, t) {
|
|
23211
23211
|
var f, m, d;
|
|
23212
23212
|
if (e.allowEdit === !1) return;
|
|
23213
23213
|
const n = ke(e);
|
|
@@ -23330,7 +23330,7 @@ function Ua(e, t, n, r, a) {
|
|
|
23330
23330
|
return !0;
|
|
23331
23331
|
}
|
|
23332
23332
|
const xh = 8;
|
|
23333
|
-
function
|
|
23333
|
+
function gl(e, t, n, r) {
|
|
23334
23334
|
var s, c, f, m;
|
|
23335
23335
|
if (!r) return;
|
|
23336
23336
|
const a = Se(e, e.currentSheetId), l = ((s = e.luckysheetfile[a]) == null ? void 0 : s.config) || {};
|
|
@@ -23501,7 +23501,7 @@ function Lt(e, t, n, r, a) {
|
|
|
23501
23501
|
return;
|
|
23502
23502
|
}
|
|
23503
23503
|
if ((at(l) || (h.isString(l) || h.isNumber(l)) && l === a) && (l = {}), !l) return;
|
|
23504
|
-
if (!h.isNil(l.f) && typeof i == "string" && Ge(i) && !
|
|
23504
|
+
if (!h.isNil(l.f) && typeof i == "string" && Ge(i) && !Io(i)) {
|
|
23505
23505
|
const V = i.trim();
|
|
23506
23506
|
if (!/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(
|
|
23507
23507
|
V
|
|
@@ -23521,7 +23521,7 @@ function Lt(e, t, n, r, a) {
|
|
|
23521
23521
|
l.m = "FALSE", l.ct = { fa: "General", t: "b" }, l.v = !1;
|
|
23522
23522
|
else if (m.substr(-1) === "%" && Ge(m.substring(0, m.length - 1)) && (h.isNil((v = l.ct) == null ? void 0 : v.fa) || ((_ = l.ct) == null ? void 0 : _.fa) !== "@"))
|
|
23523
23523
|
l.ct = { fa: "0%", t: "n" }, l.v = m.substring(0, m.length - 1) / 100, l.m = i;
|
|
23524
|
-
else if (
|
|
23524
|
+
else if (Io(i))
|
|
23525
23525
|
l.m = m, h.isNil(l.ct) ? l.ct = { fa: "General", t: "e" } : l.ct.t = "e", l.v = i;
|
|
23526
23526
|
else if (vu(m) && h.isNil(l.f)) {
|
|
23527
23527
|
const V = m.trim().replace(/,/g, "");
|
|
@@ -23663,7 +23663,7 @@ function Lt(e, t, n, r, a) {
|
|
|
23663
23663
|
}
|
|
23664
23664
|
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 = []);
|
|
23665
23665
|
}
|
|
23666
|
-
function
|
|
23666
|
+
function S1(e, t, n, r) {
|
|
23667
23667
|
let a = rt(e, t, n, "m");
|
|
23668
23668
|
if (h.isNil(a) && (a = rt(e, t, n, r), h.isNil(a))) {
|
|
23669
23669
|
const l = rt(e, t, n, "ct");
|
|
@@ -23761,7 +23761,7 @@ function Ph(e) {
|
|
|
23761
23761
|
const t = e[0];
|
|
23762
23762
|
return Array.isArray(t) && e.every((n) => Array.isArray(n)) ? e.map((n) => n.map((r) => String(r ?? "")).join(", ")).join("; ") : e.map((n) => String(n ?? "")).join(", ");
|
|
23763
23763
|
}
|
|
23764
|
-
function
|
|
23764
|
+
function Lo(e, t, n, r, a, l) {
|
|
23765
23765
|
var o, i, u, s, c, f, m, d, p, g, y, b, w, v, _, T, $, C, S, N, R, H, Z, K, ae, x, Q, j, Y;
|
|
23766
23766
|
try {
|
|
23767
23767
|
if (e.allowEdit === !1 || e.isFlvReadOnly) return;
|
|
@@ -23981,7 +23981,7 @@ function Fo(e, t, n, r, a, l) {
|
|
|
23981
23981
|
}
|
|
23982
23982
|
);
|
|
23983
23983
|
}
|
|
23984
|
-
|
|
23984
|
+
xo(e) || (e.formulaCache.execFunctionGlobalData = null);
|
|
23985
23985
|
return;
|
|
23986
23986
|
}
|
|
23987
23987
|
} catch {
|
|
@@ -23994,13 +23994,13 @@ function Fo(e, t, n, r, a, l) {
|
|
|
23994
23994
|
q && G.hyperlink && delete G.hyperlink[X], typeof a == "object" && a && "hl" in a && delete a.hl;
|
|
23995
23995
|
Lt(e, t, n, Me, a), hn(e);
|
|
23996
23996
|
const M = e.luckysheetfile[Se(e, e.currentSheetId)].config || {}, ne = (z == null ? void 0 : z.tb) === "2" && !h.isNil(z == null ? void 0 : z.v) && (z == null ? void 0 : z.v) !== "" || sn(z), se = Me[t][n], Te = (se == null ? void 0 : se.tb) === "2" && !h.isNil(se == null ? void 0 : se.v) && (se == null ? void 0 : se.v) !== "" || sn(se);
|
|
23997
|
-
if ((ne || Te) && !((Q = M.customHeight) != null && Q[t]) && l &&
|
|
23997
|
+
if ((ne || Te) && !((Q = M.customHeight) != null && Q[t]) && l && gl(e, t, Me, l), e.hooks.afterUpdateCell) {
|
|
23998
23998
|
const ie = h.cloneDeep(P[t][n]), { afterUpdateCell: be } = e.hooks;
|
|
23999
23999
|
(Y = (j = e.hooks).onLocalCellEdit) == null || Y.call(j), setTimeout(() => {
|
|
24000
24000
|
be == null || be(t, n, z, ie);
|
|
24001
24001
|
});
|
|
24002
24002
|
}
|
|
24003
|
-
|
|
24003
|
+
xo(e) || (e.formulaCache.execFunctionGlobalData = null);
|
|
24004
24004
|
} catch (L) {
|
|
24005
24005
|
console.error(L), hn(e);
|
|
24006
24006
|
}
|
|
@@ -24082,7 +24082,7 @@ function Wh(e) {
|
|
|
24082
24082
|
}
|
|
24083
24083
|
return !1;
|
|
24084
24084
|
}
|
|
24085
|
-
function
|
|
24085
|
+
function k1(e, t) {
|
|
24086
24086
|
const n = (t ?? "").trim();
|
|
24087
24087
|
return n === "" ? !0 : Wh(n) ? !1 : Er(e, n).length > 0;
|
|
24088
24088
|
}
|
|
@@ -24137,7 +24137,7 @@ function As(e, t) {
|
|
|
24137
24137
|
}
|
|
24138
24138
|
}
|
|
24139
24139
|
}
|
|
24140
|
-
function
|
|
24140
|
+
function yl(e, t, n, r = !0) {
|
|
24141
24141
|
const a = {};
|
|
24142
24142
|
return e && h.forEach(e, (l, o) => {
|
|
24143
24143
|
let i = e[o];
|
|
@@ -24149,7 +24149,7 @@ function gl(e, t, n, r = !0) {
|
|
|
24149
24149
|
}
|
|
24150
24150
|
}), a;
|
|
24151
24151
|
}
|
|
24152
|
-
function
|
|
24152
|
+
function Bo(e, t, n, r, a) {
|
|
24153
24153
|
var c;
|
|
24154
24154
|
let l = {};
|
|
24155
24155
|
const o = [], i = a ?? Qu(e), u = Ju(n, r, i), s = (c = t == null ? void 0 : t[n]) == null ? void 0 : c[r];
|
|
@@ -24171,7 +24171,7 @@ function Lo(e, t, n, r, a) {
|
|
|
24171
24171
|
const f = It(s, "vt");
|
|
24172
24172
|
Number(f) === 0 ? l.alignItems = "center" : Number(f) === 2 && (l.alignItems = "flex-end");
|
|
24173
24173
|
}
|
|
24174
|
-
return l = h.assign(l,
|
|
24174
|
+
return l = h.assign(l, yl(s, o, u)), As(l, u), l;
|
|
24175
24175
|
}
|
|
24176
24176
|
function Vh(e) {
|
|
24177
24177
|
const t = /* @__PURE__ */ new Set(), n = {
|
|
@@ -24203,7 +24203,7 @@ function lc(e, t, n, r) {
|
|
|
24203
24203
|
if (u.v) {
|
|
24204
24204
|
const s = {
|
|
24205
24205
|
...r != null && r.useSemanticMarkup ? r.inheritedStyle ?? {} : {},
|
|
24206
|
-
...
|
|
24206
|
+
...yl(u)
|
|
24207
24207
|
}, c = r != null && r.useSemanticMarkup ? Vh(s) : s;
|
|
24208
24208
|
c.fontWeight || (c.fontWeight = "400"), c.fontStyle || (c.fontStyle = "normal"), c.fontSize || (c.fontSize = "11pt"), c.fontFamily || (c.fontFamily = "Arial");
|
|
24209
24209
|
const { link: f } = u, m = u, d = Object.prototype.hasOwnProperty.call(
|
|
@@ -24236,7 +24236,7 @@ function lc(e, t, n, r) {
|
|
|
24236
24236
|
}
|
|
24237
24237
|
return "";
|
|
24238
24238
|
}
|
|
24239
|
-
function
|
|
24239
|
+
function A1(e, t, n) {
|
|
24240
24240
|
let r = "";
|
|
24241
24241
|
if (e.toString().indexOf("pt") > -1) {
|
|
24242
24242
|
const l = parseFloat(e);
|
|
@@ -24265,7 +24265,7 @@ function jh(e, t, n) {
|
|
|
24265
24265
|
}
|
|
24266
24266
|
return l;
|
|
24267
24267
|
}
|
|
24268
|
-
function
|
|
24268
|
+
function E1(e, t, n) {
|
|
24269
24269
|
var l;
|
|
24270
24270
|
const r = ke(e), a = (l = r == null ? void 0 : r[t]) == null ? void 0 : l[n];
|
|
24271
24271
|
(a == null ? void 0 : a.f) != null && String(a.f).trim() !== "" && (Wu(e), Fa(e)), e.luckysheetCellUpdate = [t, n];
|
|
@@ -24286,7 +24286,7 @@ function Xh(e, t) {
|
|
|
24286
24286
|
}
|
|
24287
24287
|
return n;
|
|
24288
24288
|
}
|
|
24289
|
-
function
|
|
24289
|
+
function bl(e) {
|
|
24290
24290
|
if (!e) return e ?? null;
|
|
24291
24291
|
const { v: t, m: n, f: r, ct: a } = e, l = (a == null ? void 0 : a.t) === "inlineStr" && Array.isArray(a.s) && a.s.length > 0, o = l ? {
|
|
24292
24292
|
...a,
|
|
@@ -24314,7 +24314,7 @@ function yl(e) {
|
|
|
24314
24314
|
...a != null && typeof a == "object" ? { ct: a } : {}
|
|
24315
24315
|
} : null;
|
|
24316
24316
|
}
|
|
24317
|
-
function
|
|
24317
|
+
function R1(e) {
|
|
24318
24318
|
var o;
|
|
24319
24319
|
const t = Se(e, e.currentSheetId);
|
|
24320
24320
|
if (t == null) return;
|
|
@@ -24328,7 +24328,7 @@ function E1(e) {
|
|
|
24328
24328
|
if (p)
|
|
24329
24329
|
for (let g = f; g <= m; g++) {
|
|
24330
24330
|
if (p[g] === void 0) continue;
|
|
24331
|
-
p[g] =
|
|
24331
|
+
p[g] = bl(
|
|
24332
24332
|
p[g]
|
|
24333
24333
|
);
|
|
24334
24334
|
const y = p[g] ?? null, b = `${d}_${g}`;
|
|
@@ -24346,7 +24346,7 @@ function E1(e) {
|
|
|
24346
24346
|
r.config || (r.config = {});
|
|
24347
24347
|
let u = r.config.cellFormatRanges;
|
|
24348
24348
|
a.forEach(({ row: s, column: c }) => {
|
|
24349
|
-
u =
|
|
24349
|
+
u = Go(
|
|
24350
24350
|
u,
|
|
24351
24351
|
s[0],
|
|
24352
24352
|
s[1],
|
|
@@ -24361,7 +24361,7 @@ function E1(e) {
|
|
|
24361
24361
|
})), i.length > 0 && e.hooks.updateCellYdoc(i);
|
|
24362
24362
|
}
|
|
24363
24363
|
}
|
|
24364
|
-
function
|
|
24364
|
+
function M1(e) {
|
|
24365
24365
|
var i, u;
|
|
24366
24366
|
const t = Se(e, e.currentSheetId);
|
|
24367
24367
|
if (t == null) return;
|
|
@@ -24375,7 +24375,7 @@ function R1(e) {
|
|
|
24375
24375
|
if (d)
|
|
24376
24376
|
for (let p = 0; p < o; p++) {
|
|
24377
24377
|
if (d[p] === void 0) continue;
|
|
24378
|
-
d[p] =
|
|
24378
|
+
d[p] = bl(
|
|
24379
24379
|
d[p]
|
|
24380
24380
|
);
|
|
24381
24381
|
const g = d[p] ?? null, y = `${m}_${p}`;
|
|
@@ -24393,7 +24393,7 @@ function R1(e) {
|
|
|
24393
24393
|
r.config || (r.config = {});
|
|
24394
24394
|
let c = r.config.cellFormatRanges;
|
|
24395
24395
|
a.forEach(({ row: f }) => {
|
|
24396
|
-
c =
|
|
24396
|
+
c = Go(
|
|
24397
24397
|
c,
|
|
24398
24398
|
f[0],
|
|
24399
24399
|
f[1],
|
|
@@ -24408,7 +24408,7 @@ function R1(e) {
|
|
|
24408
24408
|
})), e.hooks.updateCellYdoc(s);
|
|
24409
24409
|
}
|
|
24410
24410
|
}
|
|
24411
|
-
function
|
|
24411
|
+
function I1(e) {
|
|
24412
24412
|
var i;
|
|
24413
24413
|
const t = Se(e, e.currentSheetId);
|
|
24414
24414
|
if (t == null) return;
|
|
@@ -24422,7 +24422,7 @@ function M1(e) {
|
|
|
24422
24422
|
if (m)
|
|
24423
24423
|
for (let d = s; d <= c; d++) {
|
|
24424
24424
|
if (m[d] === void 0) continue;
|
|
24425
|
-
m[d] =
|
|
24425
|
+
m[d] = bl(
|
|
24426
24426
|
m[d]
|
|
24427
24427
|
);
|
|
24428
24428
|
const p = m[d] ?? null, g = `${f}_${d}`;
|
|
@@ -24440,7 +24440,7 @@ function M1(e) {
|
|
|
24440
24440
|
r.config || (r.config = {});
|
|
24441
24441
|
let s = r.config.cellFormatRanges;
|
|
24442
24442
|
a.forEach(({ column: c }) => {
|
|
24443
|
-
s =
|
|
24443
|
+
s = Go(
|
|
24444
24444
|
s,
|
|
24445
24445
|
0,
|
|
24446
24446
|
o - 1,
|
|
@@ -24474,22 +24474,22 @@ class Zh {
|
|
|
24474
24474
|
}
|
|
24475
24475
|
}
|
|
24476
24476
|
let wa = null, za = null, Wa = null;
|
|
24477
|
-
function
|
|
24477
|
+
function q1() {
|
|
24478
24478
|
return wa ? { ...wa } : null;
|
|
24479
24479
|
}
|
|
24480
|
-
function
|
|
24480
|
+
function D1() {
|
|
24481
24481
|
return za;
|
|
24482
24482
|
}
|
|
24483
|
-
function
|
|
24483
|
+
function x1() {
|
|
24484
24484
|
return Wa;
|
|
24485
24485
|
}
|
|
24486
|
-
function
|
|
24486
|
+
function O1(e, t = !1, n = null) {
|
|
24487
24487
|
wa = e ? { ...e } : null, za = t && e ? e.id : null, Wa = t && e ? n : null;
|
|
24488
24488
|
}
|
|
24489
24489
|
function Kh() {
|
|
24490
24490
|
wa = null, za = null, Wa = null;
|
|
24491
24491
|
}
|
|
24492
|
-
function
|
|
24492
|
+
function F1() {
|
|
24493
24493
|
za = null, Wa = null;
|
|
24494
24494
|
}
|
|
24495
24495
|
function Qh(e, t, n) {
|
|
@@ -24505,7 +24505,7 @@ function Qh(e, t, n) {
|
|
|
24505
24505
|
cols: t.slice(l, o + 1)
|
|
24506
24506
|
};
|
|
24507
24507
|
}
|
|
24508
|
-
function
|
|
24508
|
+
function L1(e, t, n, r, a) {
|
|
24509
24509
|
var Z, K, ae, x, Q;
|
|
24510
24510
|
const l = ke(e);
|
|
24511
24511
|
if (!l) return;
|
|
@@ -24554,7 +24554,7 @@ function Jh(e) {
|
|
|
24554
24554
|
});
|
|
24555
24555
|
});
|
|
24556
24556
|
}
|
|
24557
|
-
const
|
|
24557
|
+
const B1 = {
|
|
24558
24558
|
isPasteAction: !1,
|
|
24559
24559
|
isPasteValuesOnly: !1
|
|
24560
24560
|
}, ep = 14e5;
|
|
@@ -24623,7 +24623,7 @@ function Es(e, t) {
|
|
|
24623
24623
|
e.primaryCellActive = { r: l, c: o };
|
|
24624
24624
|
}
|
|
24625
24625
|
}
|
|
24626
|
-
function
|
|
24626
|
+
function P1(e, t = !0) {
|
|
24627
24627
|
const n = e.luckysheet_select_save;
|
|
24628
24628
|
if (!(n != null && n.length)) return !1;
|
|
24629
24629
|
const r = n[n.length - 1], a = r.row[0], l = r.row[1], o = r.column[0], i = r.column[1];
|
|
@@ -24635,10 +24635,10 @@ function B1(e, t = !0) {
|
|
|
24635
24635
|
let y, b;
|
|
24636
24636
|
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, Bt(e, n), !0;
|
|
24637
24637
|
}
|
|
24638
|
-
function
|
|
24638
|
+
function H1(e, t, n) {
|
|
24639
24639
|
e.primaryCellActive = { r: t, c: n };
|
|
24640
24640
|
}
|
|
24641
|
-
function
|
|
24641
|
+
function U1(e, t, n) {
|
|
24642
24642
|
const r = e.luckysheet_select_save, a = r == null ? void 0 : r[r.length - 1];
|
|
24643
24643
|
if (!(a != null && a.row) || a.row.length < 2 || !a.column || a.column.length < 2) {
|
|
24644
24644
|
e.luckysheet_select_save = [
|
|
@@ -24661,7 +24661,7 @@ function H1(e, t, n) {
|
|
|
24661
24661
|
}
|
|
24662
24662
|
], Bt(e, e.luckysheet_select_save));
|
|
24663
24663
|
}
|
|
24664
|
-
function
|
|
24664
|
+
function z1(e) {
|
|
24665
24665
|
var t, n, r, a;
|
|
24666
24666
|
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) ? [
|
|
24667
24667
|
{
|
|
@@ -24702,13 +24702,13 @@ function Bt(e, t) {
|
|
|
24702
24702
|
}
|
|
24703
24703
|
return Es(e, t), t;
|
|
24704
24704
|
}
|
|
24705
|
-
function
|
|
24705
|
+
function W1(e, t, n) {
|
|
24706
24706
|
const r = e || {};
|
|
24707
24707
|
for (let a = t; a <= n; a += 1)
|
|
24708
24708
|
a in r || (r[a] = 0);
|
|
24709
24709
|
return r;
|
|
24710
24710
|
}
|
|
24711
|
-
function
|
|
24711
|
+
function Y1(e) {
|
|
24712
24712
|
const t = Object.keys(e).map(Number);
|
|
24713
24713
|
t.sort((a, l) => a - l);
|
|
24714
24714
|
let n, r = [];
|
|
@@ -24728,7 +24728,7 @@ function Rs(e) {
|
|
|
24728
24728
|
const t = h.cloneDeep(e);
|
|
24729
24729
|
return delete t.cellrange, JSON.stringify(t);
|
|
24730
24730
|
}
|
|
24731
|
-
function
|
|
24731
|
+
function V1(e, t) {
|
|
24732
24732
|
var Y;
|
|
24733
24733
|
const n = e.config;
|
|
24734
24734
|
if (n.merge == null && (n.merge = {}), !t) return;
|
|
@@ -24760,7 +24760,7 @@ function Y1(e, t) {
|
|
|
24760
24760
|
}
|
|
24761
24761
|
const b = Math.ceil((m - f + 1) / g), w = Math.ceil((p - d + 1) / y), v = ke(e);
|
|
24762
24762
|
if (v == null) return;
|
|
24763
|
-
const _ = [], T = [], $ = v[0].length, C = v.length, S =
|
|
24763
|
+
const _ = [], T = [], $ = v[0].length, C = v.length, S = wl(e, a), N = h.cloneDeep(
|
|
24764
24764
|
e.luckysheetfile[Se(e, a)].dataVerification
|
|
24765
24765
|
) || {};
|
|
24766
24766
|
let R = null, H = 0, Z = 0, K = 0, ae = 0;
|
|
@@ -24813,9 +24813,9 @@ function Y1(e, t) {
|
|
|
24813
24813
|
type: "update"
|
|
24814
24814
|
});
|
|
24815
24815
|
}
|
|
24816
|
-
|
|
24816
|
+
Ji(J[W]) && J[W].mc && (J[W].mc.rs && delete n.merge[`${J[W].mc.r}_${J[W].mc.c}`], delete J[W].mc);
|
|
24817
24817
|
let pe = null;
|
|
24818
|
-
if (s[V - H] != null && s[V - H][W - Z] != null && (pe = s[V - H][W - Z]),
|
|
24818
|
+
if (s[V - H] != null && s[V - H][W - Z] != null && (pe = s[V - H][W - Z]), Ji(J[W]) ? J[W].ct && J[W].ct.t === "inlineStr" && pe ? delete pe.ct : [
|
|
24819
24819
|
"bg",
|
|
24820
24820
|
"fc",
|
|
24821
24821
|
"ct",
|
|
@@ -25023,7 +25023,7 @@ function dn(e, t, n, r) {
|
|
|
25023
25023
|
i = l;
|
|
25024
25024
|
return [o, i];
|
|
25025
25025
|
}
|
|
25026
|
-
function
|
|
25026
|
+
function G1(e, t, n, r) {
|
|
25027
25027
|
var g;
|
|
25028
25028
|
const a = ke(e);
|
|
25029
25029
|
if (!a) return;
|
|
@@ -25101,7 +25101,7 @@ function V1(e, t, n, r) {
|
|
|
25101
25101
|
}, Qn(e, s, d);
|
|
25102
25102
|
}
|
|
25103
25103
|
}
|
|
25104
|
-
function
|
|
25104
|
+
function j1(e, t, n, r) {
|
|
25105
25105
|
let a, l, o, i;
|
|
25106
25106
|
const u = ke(e);
|
|
25107
25107
|
if (!h.isNil(u) && !h.isNil(e.luckysheet_select_save)) {
|
|
@@ -25333,7 +25333,7 @@ function ap(e, t, n, r) {
|
|
|
25333
25333
|
}
|
|
25334
25334
|
}
|
|
25335
25335
|
let d;
|
|
25336
|
-
(w = c.config) != null && w.borderInfo && c.config.borderInfo.length > 0 && (d =
|
|
25336
|
+
(w = c.config) != null && w.borderInfo && c.config.borderInfo.length > 0 && (d = wl(e, t));
|
|
25337
25337
|
let p = "";
|
|
25338
25338
|
const g = c.data;
|
|
25339
25339
|
if (!g) return null;
|
|
@@ -25366,7 +25366,7 @@ function ap(e, t, n, r) {
|
|
|
25366
25366
|
const Z = /^(w|W)((0?)|(0\.0+))$/;
|
|
25367
25367
|
let K;
|
|
25368
25368
|
!h.isNil(N.ct) && !h.isNil(N.ct.fa) && N.ct.fa.match(Z) ? K = rt(T, C, g) : K = rt(T, C, g, "m");
|
|
25369
|
-
const ae =
|
|
25369
|
+
const ae = Bo(e, g, T, C, i);
|
|
25370
25370
|
if (R += h.map(ae, (Q, j) => `${h.kebabCase(j)}:${h.isNumber(Q) ? `${Q}px` : Q};`).join(""), N.mc)
|
|
25371
25371
|
if ("rs" in N.mc) {
|
|
25372
25372
|
if (H = `rowspan="${N.mc.rs}" colspan="${N.mc.cs}"`, d && d[`${T}_${C}`]) {
|
|
@@ -25492,7 +25492,7 @@ function ap(e, t, n, r) {
|
|
|
25492
25492
|
const Z = c.defaultRowHeight ?? e.defaultrowlen;
|
|
25493
25493
|
h.isNil(c.config) || h.isNil(c.config.rowlen) || h.isNil(c.config.rowlen[T.toString()]) ? R += `height:${Z}px;` : R += `height:${c.config.rowlen[T.toString()]}px;`;
|
|
25494
25494
|
}
|
|
25495
|
-
const H =
|
|
25495
|
+
const H = Bo(e, g, T, C, i);
|
|
25496
25496
|
R += h.map(H, (Z, K) => `${h.kebabCase(K)}:${h.isNumber(Z) ? `${Z}px` : Z};`).join(""), S = Os(S, { style: R, span: "", cellData: "" }), S += "";
|
|
25497
25497
|
}
|
|
25498
25498
|
S += "</td>", p += S;
|
|
@@ -25501,7 +25501,7 @@ function ap(e, t, n, r) {
|
|
|
25501
25501
|
}
|
|
25502
25502
|
return `<table data-type="fortune-copy-action-table">${y}${p}</table>`;
|
|
25503
25503
|
}
|
|
25504
|
-
function
|
|
25504
|
+
function X1(e) {
|
|
25505
25505
|
var g, y, b, w;
|
|
25506
25506
|
const t = ke(e);
|
|
25507
25507
|
e.lastInternalCopyHtmlMetadataStripped = !1, e.luckysheet_selection_range = [], Kh();
|
|
@@ -25548,7 +25548,7 @@ function j1(e) {
|
|
|
25548
25548
|
fontStyle: "normal",
|
|
25549
25549
|
textAlign: "left",
|
|
25550
25550
|
backgroundColor: "transparent"
|
|
25551
|
-
}, C = (w = t == null ? void 0 : t[v]) == null ? void 0 : w[_], S = C != null && sn(C), N =
|
|
25551
|
+
}, C = (w = t == null ? void 0 : t[v]) == null ? void 0 : w[_], S = C != null && sn(C), N = Bo(e, t, v, _), R = { ...$, ...N }, H = /* @__PURE__ */ new Set([
|
|
25552
25552
|
"color",
|
|
25553
25553
|
"fontFamily",
|
|
25554
25554
|
"fontSize",
|
|
@@ -25584,7 +25584,7 @@ function j1(e) {
|
|
|
25584
25584
|
let p = !1;
|
|
25585
25585
|
f && c && f.length > ep && (p = !0, f = f.replace(/\sdata-fortune-cell="[^"]*"/g, "")), f && (e.iscopyself = !0, e.lastInternalCopyHtmlMetadataStripped = p, Zh.writeHtml(f));
|
|
25586
25586
|
}
|
|
25587
|
-
function
|
|
25587
|
+
function Z1(e) {
|
|
25588
25588
|
var r, a, l, o, i, u, s, c;
|
|
25589
25589
|
if (ut(e) === !1 || e.isFlvReadOnly)
|
|
25590
25590
|
return "allowEdit";
|
|
@@ -25633,11 +25633,11 @@ function X1(e) {
|
|
|
25633
25633
|
const y = ((c = (s = (u = (i = e.getRefs) == null ? void 0 : i.call(e)) == null ? void 0 : u.canvas) == null ? void 0 : s.current) == null ? void 0 : c.getContext("2d")) ?? null;
|
|
25634
25634
|
if (y && m.size > 0)
|
|
25635
25635
|
for (const b of m)
|
|
25636
|
-
|
|
25636
|
+
gl(e, b, f, y);
|
|
25637
25637
|
}
|
|
25638
25638
|
return "success";
|
|
25639
25639
|
}
|
|
25640
|
-
function
|
|
25640
|
+
function K1(e) {
|
|
25641
25641
|
var r;
|
|
25642
25642
|
if (ut(e) === !1)
|
|
25643
25643
|
return "allowEdit";
|
|
@@ -25675,7 +25675,7 @@ function Z1(e) {
|
|
|
25675
25675
|
}
|
|
25676
25676
|
return "success";
|
|
25677
25677
|
}
|
|
25678
|
-
function
|
|
25678
|
+
function Q1(e) {
|
|
25679
25679
|
var r, a, l;
|
|
25680
25680
|
if (ut(e) === !1)
|
|
25681
25681
|
return "allowEdit";
|
|
@@ -25782,7 +25782,7 @@ function K1(e) {
|
|
|
25782
25782
|
}
|
|
25783
25783
|
return "success";
|
|
25784
25784
|
}
|
|
25785
|
-
function
|
|
25785
|
+
function J1(e) {
|
|
25786
25786
|
var r, a, l;
|
|
25787
25787
|
if (ut(e) === !1)
|
|
25788
25788
|
return "allowEdit";
|
|
@@ -25889,7 +25889,7 @@ function Q1(e) {
|
|
|
25889
25889
|
}
|
|
25890
25890
|
return "success";
|
|
25891
25891
|
}
|
|
25892
|
-
function
|
|
25892
|
+
function ey(e, t) {
|
|
25893
25893
|
var a;
|
|
25894
25894
|
if (ut(e) === !1)
|
|
25895
25895
|
return "allowEdit";
|
|
@@ -25927,7 +25927,7 @@ function J1(e, t) {
|
|
|
25927
25927
|
}
|
|
25928
25928
|
return "success";
|
|
25929
25929
|
}
|
|
25930
|
-
function
|
|
25930
|
+
function ty(e) {
|
|
25931
25931
|
var r;
|
|
25932
25932
|
if (ut(e) === !1)
|
|
25933
25933
|
return "allowEdit";
|
|
@@ -25970,7 +25970,7 @@ function ey(e) {
|
|
|
25970
25970
|
}
|
|
25971
25971
|
return "success";
|
|
25972
25972
|
}
|
|
25973
|
-
function
|
|
25973
|
+
function ny(e) {
|
|
25974
25974
|
var r;
|
|
25975
25975
|
if (ut(e) === !1)
|
|
25976
25976
|
return "allowEdit";
|
|
@@ -26012,7 +26012,7 @@ function ty(e) {
|
|
|
26012
26012
|
}
|
|
26013
26013
|
return "success";
|
|
26014
26014
|
}
|
|
26015
|
-
function
|
|
26015
|
+
function ry(e) {
|
|
26016
26016
|
var r;
|
|
26017
26017
|
if (ut(e) === !1)
|
|
26018
26018
|
return "allowEdit";
|
|
@@ -26055,10 +26055,10 @@ function ny(e) {
|
|
|
26055
26055
|
}
|
|
26056
26056
|
return "success";
|
|
26057
26057
|
}
|
|
26058
|
-
function
|
|
26058
|
+
function ay(e, t) {
|
|
26059
26059
|
return !1;
|
|
26060
26060
|
}
|
|
26061
|
-
function
|
|
26061
|
+
function oy(e) {
|
|
26062
26062
|
const t = ke(e);
|
|
26063
26063
|
t && (e.luckysheet_select_status = !1, e.luckysheet_select_save = [
|
|
26064
26064
|
{
|
|
@@ -26071,7 +26071,7 @@ function ay(e) {
|
|
|
26071
26071
|
}
|
|
26072
26072
|
], Bt(e, e.luckysheet_select_save));
|
|
26073
26073
|
}
|
|
26074
|
-
function
|
|
26074
|
+
function ly(e, t, n, r) {
|
|
26075
26075
|
var u;
|
|
26076
26076
|
if (!r) return {};
|
|
26077
26077
|
const a = {}, { scrollTop: l } = e, o = (u = r.horizontal) == null ? void 0 : u.freezenhorizontaldata;
|
|
@@ -26082,7 +26082,7 @@ function oy(e, t, n, r) {
|
|
|
26082
26082
|
}
|
|
26083
26083
|
return i || (a.display = "none"), a;
|
|
26084
26084
|
}
|
|
26085
|
-
function
|
|
26085
|
+
function iy(e, t, n, r) {
|
|
26086
26086
|
var u;
|
|
26087
26087
|
if (!r) return {};
|
|
26088
26088
|
const a = {}, { scrollLeft: l } = e, o = (u = r.vertical) == null ? void 0 : u.freezenverticaldata;
|
|
@@ -26093,7 +26093,7 @@ function ly(e, t, n, r) {
|
|
|
26093
26093
|
}
|
|
26094
26094
|
return i || (a.display = "none"), a;
|
|
26095
26095
|
}
|
|
26096
|
-
function
|
|
26096
|
+
function sy(e) {
|
|
26097
26097
|
var u, s, c, f, m, d, p, g, y, b, w, v, _, T, $, C, S, N;
|
|
26098
26098
|
const t = e.luckysheet_select_save;
|
|
26099
26099
|
let n = 0, r = 0, a = 0, l = -1 / 0, o = 1 / 0;
|
|
@@ -26112,7 +26112,7 @@ function iy(e) {
|
|
|
26112
26112
|
const i = String(a / n);
|
|
26113
26113
|
return { numberC: n, count: r, sum: a, max: l, min: o, average: i };
|
|
26114
26114
|
}
|
|
26115
|
-
function
|
|
26115
|
+
function uy(e, t, n) {
|
|
26116
26116
|
var i, u;
|
|
26117
26117
|
const r = ke(e);
|
|
26118
26118
|
if (!(r != null && r.length) || !((i = r[0]) != null && i.length)) return;
|
|
@@ -26121,12 +26121,12 @@ function sy(e, t, n) {
|
|
|
26121
26121
|
const l = Math.max(0, Math.min(t, r.length - 1)), o = Math.max(0, Math.min(n, r[0].length - 1));
|
|
26122
26122
|
a.row = [l, l], a.column = [o, o], a.row_focus = l, a.column_focus = o, a.moveXY = { x: l, y: o }, Bt(e, e.luckysheet_select_save), Qn(e, l, o);
|
|
26123
26123
|
}
|
|
26124
|
-
function
|
|
26124
|
+
function cy(e, t, n) {
|
|
26125
26125
|
var s;
|
|
26126
26126
|
if (!ut(e)) return !1;
|
|
26127
26127
|
const r = e.luckysheet_select_save;
|
|
26128
26128
|
if (!(r != null && r.length)) return !1;
|
|
26129
|
-
e.luckysheetCellUpdate.length > 0 &&
|
|
26129
|
+
e.luckysheetCellUpdate.length > 0 && Lo(
|
|
26130
26130
|
e,
|
|
26131
26131
|
e.luckysheetCellUpdate[0],
|
|
26132
26132
|
e.luckysheetCellUpdate[1],
|
|
@@ -26147,7 +26147,7 @@ function uy(e, t, n) {
|
|
|
26147
26147
|
}
|
|
26148
26148
|
return !0;
|
|
26149
26149
|
}
|
|
26150
|
-
function
|
|
26150
|
+
function fy(e) {
|
|
26151
26151
|
return {
|
|
26152
26152
|
luckysheetfile: [],
|
|
26153
26153
|
defaultcolumnNum: 60,
|
|
@@ -26463,7 +26463,7 @@ function op(e, t, n) {
|
|
|
26463
26463
|
}
|
|
26464
26464
|
e.ch_width += r;
|
|
26465
26465
|
}
|
|
26466
|
-
function
|
|
26466
|
+
function dy(e, t) {
|
|
26467
26467
|
if ((e == null ? void 0 : e.length) > 0) {
|
|
26468
26468
|
let n = !1;
|
|
26469
26469
|
const r = [];
|
|
@@ -26472,7 +26472,7 @@ function fy(e, t) {
|
|
|
26472
26472
|
}), n || (e[0].status = 1);
|
|
26473
26473
|
}
|
|
26474
26474
|
}
|
|
26475
|
-
function
|
|
26475
|
+
function my(e) {
|
|
26476
26476
|
const t = e.luckysheetfile.filter(
|
|
26477
26477
|
(n) => h.isUndefined(n.hide) || n.hide !== 1
|
|
26478
26478
|
);
|
|
@@ -26483,11 +26483,11 @@ function dy(e) {
|
|
|
26483
26483
|
break;
|
|
26484
26484
|
}
|
|
26485
26485
|
}
|
|
26486
|
-
function
|
|
26486
|
+
function hy(e, t) {
|
|
26487
26487
|
const n = t.length, r = n === 0 ? 0 : t[0].length;
|
|
26488
26488
|
op(e, n, r), Bt(e, e.luckysheet_select_save);
|
|
26489
26489
|
}
|
|
26490
|
-
function
|
|
26490
|
+
function py(e, t, n) {
|
|
26491
26491
|
e.luckysheetTableContentHW = [
|
|
26492
26492
|
n.clientWidth,
|
|
26493
26493
|
n.clientHeight
|
|
@@ -26498,7 +26498,7 @@ function hy(e, t, n) {
|
|
|
26498
26498
|
);
|
|
26499
26499
|
}
|
|
26500
26500
|
function lp(e, t, n, r, a, l) {
|
|
26501
|
-
var f, m, d, p, g, y, b, w, v, _, T, $, C, S, N, R, H, Z, K, ae, x, Q, j, Y, L, Ce, oe, V, J, W, pe, we, O, A, U, $e, P, ce, E, G, F, re, te, z, ge, ve, me, ye, fe, ee, xe, Me, qe, _e, D, B, X, q, M, ne, se, Te, ie, be, Le, De, Re, je, Oe, Be, ze, tt, We, Je, cn, gn, tn,
|
|
26501
|
+
var f, m, d, p, g, y, b, w, v, _, T, $, C, S, N, R, H, Z, K, ae, x, Q, j, Y, L, Ce, oe, V, J, W, pe, we, O, A, U, $e, P, ce, E, G, F, re, te, z, ge, ve, me, ye, fe, ee, xe, Me, qe, _e, D, B, X, q, M, ne, se, Te, ie, be, Le, De, Re, je, Oe, Be, ze, tt, We, Je, cn, gn, tn, Tl, Cl, $l, Nl, Sl, kl, Al, El, Rl, Ml, Il, ql, Dl, xl, Ol, Fl, Ll, Bl, Pl, Hl, Ul, zl, Wl, Yl, Vl, 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, Ci, $i, Ni, Si, ki, Ai, Ei, Ri, Mi, Ii, qi, Di, xi, Oi, Fi, Li, Bi, Pi, Hi, Ui, zi, Wi, Yi, Vi, Gi, ji, Xi, Zi, Ki;
|
|
26502
26502
|
const o = {}, i = ke(e);
|
|
26503
26503
|
let u, s;
|
|
26504
26504
|
if (!l)
|
|
@@ -26514,8 +26514,8 @@ function lp(e, t, n, r, a, l) {
|
|
|
26514
26514
|
const { borderInfo: c } = u;
|
|
26515
26515
|
if (!c || h.isEmpty(c)) return o;
|
|
26516
26516
|
for (let Ht = 0; Ht < c.length; Ht += 1) {
|
|
26517
|
-
const { rangeType:
|
|
26518
|
-
if (
|
|
26517
|
+
const { rangeType: Qi } = c[Ht];
|
|
26518
|
+
if (Qi === "range") {
|
|
26519
26519
|
const { borderType: Ee } = c[Ht], de = c[Ht].color, he = c[Ht].style, Pe = c[Ht].range;
|
|
26520
26520
|
for (let He = 0; He < Pe.length; He += 1) {
|
|
26521
26521
|
let Ae = Pe[He].row[0], Ie = Pe[He].row[1], Ye = Pe[He].column[0], Ve = Pe[He].column[1];
|
|
@@ -26874,7 +26874,7 @@ function lp(e, t, n, r, a, l) {
|
|
|
26874
26874
|
style: he
|
|
26875
26875
|
});
|
|
26876
26876
|
else {
|
|
26877
|
-
const ue = s[k][I], le = (
|
|
26877
|
+
const ue = s[k][I], le = (Tl = u.merge) == null ? void 0 : Tl[`${(gn = ue == null ? void 0 : ue.mc) == null ? void 0 : gn.r}_${(tn = ue == null ? void 0 : ue.mc) == null ? void 0 : tn.c}`];
|
|
26878
26878
|
(le == null ? void 0 : le.c) === I ? (o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].l = {
|
|
26879
26879
|
color: de,
|
|
26880
26880
|
style: he
|
|
@@ -26884,7 +26884,7 @@ function lp(e, t, n, r, a, l) {
|
|
|
26884
26884
|
}));
|
|
26885
26885
|
}
|
|
26886
26886
|
else if (k === Ie)
|
|
26887
|
-
if (h.isNil((
|
|
26887
|
+
if (h.isNil(($l = (Cl = s[k]) == null ? void 0 : Cl[I]) == null ? void 0 : $l.mc))
|
|
26888
26888
|
o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].l = {
|
|
26889
26889
|
color: de,
|
|
26890
26890
|
style: he
|
|
@@ -26896,7 +26896,7 @@ function lp(e, t, n, r, a, l) {
|
|
|
26896
26896
|
style: he
|
|
26897
26897
|
};
|
|
26898
26898
|
else {
|
|
26899
|
-
const ue = s[k][I], le = (
|
|
26899
|
+
const ue = s[k][I], le = (kl = u.merge) == null ? void 0 : kl[`${(Nl = ue == null ? void 0 : ue.mc) == null ? void 0 : Nl.r}_${(Sl = ue == null ? void 0 : ue.mc) == null ? void 0 : Sl.c}`];
|
|
26900
26900
|
(le == null ? void 0 : le.c) === I ? (o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].l = {
|
|
26901
26901
|
color: de,
|
|
26902
26902
|
style: he
|
|
@@ -26906,7 +26906,7 @@ function lp(e, t, n, r, a, l) {
|
|
|
26906
26906
|
}));
|
|
26907
26907
|
}
|
|
26908
26908
|
else if (I === Ye)
|
|
26909
|
-
if (h.isNil((
|
|
26909
|
+
if (h.isNil((El = (Al = s[k]) == null ? void 0 : Al[I]) == null ? void 0 : El.mc))
|
|
26910
26910
|
o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), !k === Ie && (o[`${k}_${I}`].r = {
|
|
26911
26911
|
color: de,
|
|
26912
26912
|
style: he
|
|
@@ -26918,7 +26918,7 @@ function lp(e, t, n, r, a, l) {
|
|
|
26918
26918
|
style: he
|
|
26919
26919
|
});
|
|
26920
26920
|
else {
|
|
26921
|
-
const ue = s[k][I], le = (
|
|
26921
|
+
const ue = s[k][I], le = (Il = u.merge) == null ? void 0 : Il[`${(Rl = ue == null ? void 0 : ue.mc) == null ? void 0 : Rl.r}_${(Ml = ue == null ? void 0 : ue.mc) == null ? void 0 : Ml.c}`];
|
|
26922
26922
|
(le == null ? void 0 : le.r) === k ? (o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].t = {
|
|
26923
26923
|
color: de,
|
|
26924
26924
|
style: he
|
|
@@ -26928,7 +26928,7 @@ function lp(e, t, n, r, a, l) {
|
|
|
26928
26928
|
}));
|
|
26929
26929
|
}
|
|
26930
26930
|
else if (I === Ve)
|
|
26931
|
-
if (h.isNil((
|
|
26931
|
+
if (h.isNil((Dl = (ql = s[k]) == null ? void 0 : ql[I]) == null ? void 0 : Dl.mc))
|
|
26932
26932
|
o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].l = {
|
|
26933
26933
|
color: de,
|
|
26934
26934
|
style: he
|
|
@@ -26940,7 +26940,7 @@ function lp(e, t, n, r, a, l) {
|
|
|
26940
26940
|
style: he
|
|
26941
26941
|
});
|
|
26942
26942
|
else {
|
|
26943
|
-
const ue = s[k][I], le = (
|
|
26943
|
+
const ue = s[k][I], le = (Fl = u.merge) == null ? void 0 : Fl[`${(xl = ue == null ? void 0 : ue.mc) == null ? void 0 : xl.r}_${(Ol = ue == null ? void 0 : ue.mc) == null ? void 0 : Ol.c}`];
|
|
26944
26944
|
(le == null ? void 0 : le.r) === k ? (o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].t = {
|
|
26945
26945
|
color: de,
|
|
26946
26946
|
style: he
|
|
@@ -26949,7 +26949,7 @@ function lp(e, t, n, r, a, l) {
|
|
|
26949
26949
|
style: he
|
|
26950
26950
|
}));
|
|
26951
26951
|
}
|
|
26952
|
-
else if (h.isNil((
|
|
26952
|
+
else if (h.isNil((Bl = (Ll = s[k]) == null ? void 0 : Ll[I]) == null ? void 0 : Bl.mc))
|
|
26953
26953
|
o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].l = {
|
|
26954
26954
|
color: de,
|
|
26955
26955
|
style: he
|
|
@@ -26964,7 +26964,7 @@ function lp(e, t, n, r, a, l) {
|
|
|
26964
26964
|
style: he
|
|
26965
26965
|
});
|
|
26966
26966
|
else {
|
|
26967
|
-
const ue = s[k][I], le = (
|
|
26967
|
+
const ue = s[k][I], le = (Ul = u.merge) == null ? void 0 : Ul[`${(Pl = ue == null ? void 0 : ue.mc) == null ? void 0 : Pl.r}_${(Hl = ue == null ? void 0 : ue.mc) == null ? void 0 : Hl.c}`];
|
|
26968
26968
|
(le == null ? void 0 : le.r) === k ? (o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].t = {
|
|
26969
26969
|
color: de,
|
|
26970
26970
|
style: he
|
|
@@ -26984,16 +26984,16 @@ function lp(e, t, n, r, a, l) {
|
|
|
26984
26984
|
if (!(!h.isNil(u.rowhidden) && !h.isNil(u.rowhidden[k])))
|
|
26985
26985
|
for (let I = Ye; I <= Ve; I += 1)
|
|
26986
26986
|
if (k === Ae)
|
|
26987
|
-
h.isNil((
|
|
26987
|
+
h.isNil((Wl = (zl = s[k]) == null ? void 0 : zl[I]) == null ? void 0 : Wl.mc) && (o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].b = {
|
|
26988
26988
|
color: de,
|
|
26989
26989
|
style: he
|
|
26990
26990
|
});
|
|
26991
26991
|
else if (k === Ie)
|
|
26992
|
-
h.isNil((
|
|
26992
|
+
h.isNil((Vl = (Yl = s[k]) == null ? void 0 : Yl[I]) == null ? void 0 : Vl.mc) && (o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].t = {
|
|
26993
26993
|
color: de,
|
|
26994
26994
|
style: he
|
|
26995
26995
|
});
|
|
26996
|
-
else if (h.isNil((
|
|
26996
|
+
else if (h.isNil((jl = (Gl = s[k]) == null ? void 0 : Gl[I]) == null ? void 0 : jl.mc))
|
|
26997
26997
|
o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].t = {
|
|
26998
26998
|
color: de,
|
|
26999
26999
|
style: he
|
|
@@ -27002,7 +27002,7 @@ function lp(e, t, n, r, a, l) {
|
|
|
27002
27002
|
style: he
|
|
27003
27003
|
};
|
|
27004
27004
|
else {
|
|
27005
|
-
const ue = s[k][I], le = (
|
|
27005
|
+
const ue = s[k][I], le = (Kl = u.merge) == null ? void 0 : Kl[`${(Xl = ue == null ? void 0 : ue.mc) == null ? void 0 : Xl.r}_${(Zl = ue == null ? void 0 : ue.mc) == null ? void 0 : Zl.c}`];
|
|
27006
27006
|
(le == null ? void 0 : le.r) === k ? (o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].t = {
|
|
27007
27007
|
color: de,
|
|
27008
27008
|
style: he
|
|
@@ -27016,16 +27016,16 @@ function lp(e, t, n, r, a, l) {
|
|
|
27016
27016
|
if (!(!h.isNil(u.rowhidden) && !h.isNil(u.rowhidden[k])))
|
|
27017
27017
|
for (let I = Ye; I <= Ve; I += 1)
|
|
27018
27018
|
if (I === Ye)
|
|
27019
|
-
h.isNil((
|
|
27019
|
+
h.isNil((Jl = (Ql = s[k]) == null ? void 0 : Ql[I]) == null ? void 0 : Jl.mc) && (o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].r = {
|
|
27020
27020
|
color: de,
|
|
27021
27021
|
style: he
|
|
27022
27022
|
});
|
|
27023
27023
|
else if (I === Ve)
|
|
27024
|
-
h.isNil((
|
|
27024
|
+
h.isNil((ti = (ei = s[k]) == null ? void 0 : ei[I]) == null ? void 0 : ti.mc) && (o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].l = {
|
|
27025
27025
|
color: de,
|
|
27026
27026
|
style: he
|
|
27027
27027
|
});
|
|
27028
|
-
else if (h.isNil((
|
|
27028
|
+
else if (h.isNil((ri = (ni = s[k]) == null ? void 0 : ni[I]) == null ? void 0 : ri.mc))
|
|
27029
27029
|
o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].l = {
|
|
27030
27030
|
color: de,
|
|
27031
27031
|
style: he
|
|
@@ -27034,7 +27034,7 @@ function lp(e, t, n, r, a, l) {
|
|
|
27034
27034
|
style: he
|
|
27035
27035
|
};
|
|
27036
27036
|
else {
|
|
27037
|
-
const ue = s[k][I], le = (
|
|
27037
|
+
const ue = s[k][I], le = (li = u.merge) == null ? void 0 : li[`${(ai = ue == null ? void 0 : ue.mc) == null ? void 0 : ai.r}_${(oi = ue == null ? void 0 : ue.mc) == null ? void 0 : oi.c}`];
|
|
27038
27038
|
(le == null ? void 0 : le.c) === I ? (o[`${k}_${I}`] === void 0 && (o[`${k}_${I}`] = {}), o[`${k}_${I}`].l = {
|
|
27039
27039
|
color: de,
|
|
27040
27040
|
style: he
|
|
@@ -27066,12 +27066,12 @@ function lp(e, t, n, r, a, l) {
|
|
|
27066
27066
|
}
|
|
27067
27067
|
}
|
|
27068
27068
|
}
|
|
27069
|
-
} else if (
|
|
27069
|
+
} else if (Qi === "cell") {
|
|
27070
27070
|
const { value: Ee } = c[Ht], de = Ee.row_index, he = Ee.col_index;
|
|
27071
27071
|
if (de < t || de > n || he < r || he > a || !h.isNil(u.rowhidden) && !h.isNil(u.rowhidden[de]))
|
|
27072
27072
|
continue;
|
|
27073
27073
|
if (!h.isNil(Ee.l) || !h.isNil(Ee.r) || !h.isNil(Ee.t) || !h.isNil(Ee.b))
|
|
27074
|
-
if (o[`${de}_${he}`] === void 0 && (o[`${de}_${he}`] = {}), h.isNil((
|
|
27074
|
+
if (o[`${de}_${he}`] === void 0 && (o[`${de}_${he}`] = {}), h.isNil((si = (ii = s[de]) == null ? void 0 : ii[he]) == null ? void 0 : si.mc)) {
|
|
27075
27075
|
if (h.isNil(Ee.l))
|
|
27076
27076
|
o[`${de}_${he}`].l = null;
|
|
27077
27077
|
else {
|
|
@@ -27081,13 +27081,13 @@ function lp(e, t, n, r, a, l) {
|
|
|
27081
27081
|
};
|
|
27082
27082
|
const Pe = he - 1;
|
|
27083
27083
|
if (Pe >= 0 && o[`${de}_${Pe}`])
|
|
27084
|
-
if (h.isNil((
|
|
27084
|
+
if (h.isNil((qi = (Ii = s[de]) == null ? void 0 : Ii[Pe]) == null ? void 0 : qi.mc))
|
|
27085
27085
|
o[`${de}_${Pe}`].r = {
|
|
27086
27086
|
color: Ee.l.color,
|
|
27087
27087
|
style: Ee.l.style
|
|
27088
27088
|
};
|
|
27089
27089
|
else {
|
|
27090
|
-
const He = s[de][Pe], Ae = (
|
|
27090
|
+
const He = s[de][Pe], Ae = (Oi = u.merge) == null ? void 0 : Oi[`${(Di = He == null ? void 0 : He.mc) == null ? void 0 : Di.r}_${(xi = He == null ? void 0 : He.mc) == null ? void 0 : xi.c}`];
|
|
27091
27091
|
Ae && Ae.c + Ae.cs - 1 === Pe && (o[`${de}_${Pe}`].r = {
|
|
27092
27092
|
color: Ee.l.color,
|
|
27093
27093
|
style: Ee.l.style
|
|
@@ -27103,8 +27103,8 @@ function lp(e, t, n, r, a, l) {
|
|
|
27103
27103
|
};
|
|
27104
27104
|
const Pe = he + 1;
|
|
27105
27105
|
if (Pe < s[0].length && o[`${de}_${Pe}`])
|
|
27106
|
-
if (!h.isNil(s[de]) && h.isPlainObject(s[de][Pe]) && !h.isNil((
|
|
27107
|
-
const He = s[de][Pe], Ae = (
|
|
27106
|
+
if (!h.isNil(s[de]) && h.isPlainObject(s[de][Pe]) && !h.isNil((Li = (Fi = s[de]) == null ? void 0 : Fi[Pe]) == null ? void 0 : Li.mc)) {
|
|
27107
|
+
const He = s[de][Pe], Ae = (Hi = u.merge) == null ? void 0 : Hi[`${(Bi = He == null ? void 0 : He.mc) == null ? void 0 : Bi.r}_${(Pi = He == null ? void 0 : He.mc) == null ? void 0 : Pi.c}`];
|
|
27108
27108
|
(Ae == null ? void 0 : Ae.c) === Pe && (o[`${de}_${Pe}`].l = {
|
|
27109
27109
|
color: Ee.r.color,
|
|
27110
27110
|
style: Ee.r.style
|
|
@@ -27124,13 +27124,13 @@ function lp(e, t, n, r, a, l) {
|
|
|
27124
27124
|
};
|
|
27125
27125
|
const Pe = de - 1;
|
|
27126
27126
|
if (Pe >= 0 && o[`${Pe}_${he}`])
|
|
27127
|
-
if (h.isNil((
|
|
27127
|
+
if (h.isNil((zi = (Ui = s[Pe]) == null ? void 0 : Ui[he]) == null ? void 0 : zi.mc))
|
|
27128
27128
|
o[`${Pe}_${he}`].b = {
|
|
27129
27129
|
color: Ee.t.color,
|
|
27130
27130
|
style: Ee.t.style
|
|
27131
27131
|
};
|
|
27132
27132
|
else {
|
|
27133
|
-
const He = s[Pe][he], Ae = (
|
|
27133
|
+
const He = s[Pe][he], Ae = (Vi = u.merge) == null ? void 0 : Vi[`${(Wi = He == null ? void 0 : He.mc) == null ? void 0 : Wi.r}_${(Yi = He == null ? void 0 : He.mc) == null ? void 0 : Yi.c}`];
|
|
27134
27134
|
Ae && Ae.r + Ae.rs - 1 === Pe && (o[`${Pe}_${he}`].b = {
|
|
27135
27135
|
color: Ee.t.color,
|
|
27136
27136
|
style: Ee.t.style
|
|
@@ -27146,13 +27146,13 @@ function lp(e, t, n, r, a, l) {
|
|
|
27146
27146
|
};
|
|
27147
27147
|
const Pe = de + 1;
|
|
27148
27148
|
if (Pe < s.length && o[`${Pe}_${he}`])
|
|
27149
|
-
if (h.isNil((
|
|
27149
|
+
if (h.isNil((ji = (Gi = s[Pe]) == null ? void 0 : Gi[he]) == null ? void 0 : ji.mc))
|
|
27150
27150
|
o[`${Pe}_${he}`].t = {
|
|
27151
27151
|
color: Ee.b.color,
|
|
27152
27152
|
style: Ee.b.style
|
|
27153
27153
|
};
|
|
27154
27154
|
else {
|
|
27155
|
-
const He = s[Pe][he], Ae = (
|
|
27155
|
+
const He = s[Pe][he], Ae = (Ki = u.merge) == null ? void 0 : Ki[`${(Xi = He == null ? void 0 : He.mc) == null ? void 0 : Xi.r}_${(Zi = He == null ? void 0 : He.mc) == null ? void 0 : Zi.c}`];
|
|
27156
27156
|
(Ae == null ? void 0 : Ae.r) === Pe && (o[`${Pe}_${he}`].t = {
|
|
27157
27157
|
color: Ee.b.color,
|
|
27158
27158
|
style: Ee.b.style
|
|
@@ -27160,7 +27160,7 @@ function lp(e, t, n, r, a, l) {
|
|
|
27160
27160
|
}
|
|
27161
27161
|
}
|
|
27162
27162
|
} else {
|
|
27163
|
-
const Pe = s[de][he], He = (
|
|
27163
|
+
const Pe = s[de][he], He = (fi = u.merge) == null ? void 0 : fi[`${(ui = Pe == null ? void 0 : Pe.mc) == null ? void 0 : ui.r}_${(ci = Pe == null ? void 0 : Pe.mc) == null ? void 0 : ci.c}`];
|
|
27164
27164
|
if (!h.isNil(Ee.l) && he === (He == null ? void 0 : He.c)) {
|
|
27165
27165
|
o[`${de}_${he}`].l = {
|
|
27166
27166
|
color: Ee.l.color,
|
|
@@ -27168,13 +27168,13 @@ function lp(e, t, n, r, a, l) {
|
|
|
27168
27168
|
};
|
|
27169
27169
|
const Ae = he - 1;
|
|
27170
27170
|
if (Ae >= 0 && o[`${de}_${Ae}`])
|
|
27171
|
-
if (h.isNil((
|
|
27171
|
+
if (h.isNil((mi = (di = s[de]) == null ? void 0 : di[Ae]) == null ? void 0 : mi.mc))
|
|
27172
27172
|
o[`${de}_${Ae}`].r = {
|
|
27173
27173
|
color: Ee.l.color,
|
|
27174
27174
|
style: Ee.l.style
|
|
27175
27175
|
};
|
|
27176
27176
|
else {
|
|
27177
|
-
const Ie = s[de][Ae], Ye = (
|
|
27177
|
+
const Ie = s[de][Ae], Ye = (gi = u.merge) == null ? void 0 : gi[`${(hi = Ie == null ? void 0 : Ie.mc) == null ? void 0 : hi.r}_${(pi = Ie == null ? void 0 : Ie.mc) == null ? void 0 : pi.c}`];
|
|
27178
27178
|
Ye && Ye.c + Ye.cs - 1 === Ae && (o[`${de}_${Ae}`].r = {
|
|
27179
27179
|
color: Ee.l.color,
|
|
27180
27180
|
style: Ee.l.style
|
|
@@ -27189,13 +27189,13 @@ function lp(e, t, n, r, a, l) {
|
|
|
27189
27189
|
};
|
|
27190
27190
|
const Ae = he + 1;
|
|
27191
27191
|
if (Ae < s[0].length && o[`${de}_${Ae}`])
|
|
27192
|
-
if (h.isNil((
|
|
27192
|
+
if (h.isNil((bi = (yi = s[de]) == null ? void 0 : yi[Ae]) == null ? void 0 : bi.mc))
|
|
27193
27193
|
o[`${de}_${Ae}`].l = {
|
|
27194
27194
|
color: Ee.r.color,
|
|
27195
27195
|
style: Ee.r.style
|
|
27196
27196
|
};
|
|
27197
27197
|
else {
|
|
27198
|
-
const Ie = s[de][Ae], Ye = (
|
|
27198
|
+
const Ie = s[de][Ae], Ye = (_i = u.merge) == null ? void 0 : _i[`${(wi = Ie == null ? void 0 : Ie.mc) == null ? void 0 : wi.r}_${(vi = Ie == null ? void 0 : Ie.mc) == null ? void 0 : vi.c}`];
|
|
27199
27199
|
(Ye == null ? void 0 : Ye.c) === Ae && (o[`${de}_${Ae}`].l = {
|
|
27200
27200
|
color: Ee.r.color,
|
|
27201
27201
|
style: Ee.r.style
|
|
@@ -27210,13 +27210,13 @@ function lp(e, t, n, r, a, l) {
|
|
|
27210
27210
|
};
|
|
27211
27211
|
const Ae = de - 1;
|
|
27212
27212
|
if (Ae >= 0 && o[`${Ae}_${he}`])
|
|
27213
|
-
if (h.isNil((
|
|
27213
|
+
if (h.isNil((Ci = (Ti = s[Ae]) == null ? void 0 : Ti[he]) == null ? void 0 : Ci.mc))
|
|
27214
27214
|
o[`${Ae}_${he}`].b = {
|
|
27215
27215
|
color: Ee.t.color,
|
|
27216
27216
|
style: Ee.t.style
|
|
27217
27217
|
};
|
|
27218
27218
|
else {
|
|
27219
|
-
const Ie = s[Ae][he], Ye = (
|
|
27219
|
+
const Ie = s[Ae][he], Ye = (Si = u.merge) == null ? void 0 : Si[`${($i = Ie == null ? void 0 : Ie.mc) == null ? void 0 : $i.r}_${(Ni = Ie == null ? void 0 : Ie.mc) == null ? void 0 : Ni.c}`];
|
|
27220
27220
|
Ye && Ye.r + Ye.rs - 1 === Ae && (o[`${Ae}_${he}`].b = {
|
|
27221
27221
|
color: Ee.t.color,
|
|
27222
27222
|
style: Ee.t.style
|
|
@@ -27231,13 +27231,13 @@ function lp(e, t, n, r, a, l) {
|
|
|
27231
27231
|
};
|
|
27232
27232
|
const Ae = de + 1;
|
|
27233
27233
|
if (Ae < s.length && o[`${Ae}_${he}`])
|
|
27234
|
-
if (h.isNil((
|
|
27234
|
+
if (h.isNil((Ai = (ki = s[Ae]) == null ? void 0 : ki[he]) == null ? void 0 : Ai.mc))
|
|
27235
27235
|
o[`${Ae}_${he}`].t = {
|
|
27236
27236
|
color: Ee.b.color,
|
|
27237
27237
|
style: Ee.b.style
|
|
27238
27238
|
};
|
|
27239
27239
|
else {
|
|
27240
|
-
const Ie = s[Ae][he], Ye = (
|
|
27240
|
+
const Ie = s[Ae][he], Ye = (Mi = u.merge) == null ? void 0 : Mi[`${(Ei = Ie == null ? void 0 : Ie.mc) == null ? void 0 : Ei.r}_${(Ri = Ie == null ? void 0 : Ie.mc) == null ? void 0 : Ri.c}`];
|
|
27241
27241
|
(Ye == null ? void 0 : Ye.r) === Ae && (o[`${Ae}_${he}`].t = {
|
|
27242
27242
|
color: Ee.b.color,
|
|
27243
27243
|
style: Ee.b.style
|
|
@@ -27252,7 +27252,7 @@ function lp(e, t, n, r, a, l) {
|
|
|
27252
27252
|
}
|
|
27253
27253
|
return o;
|
|
27254
27254
|
}
|
|
27255
|
-
function
|
|
27255
|
+
function wl(e, t) {
|
|
27256
27256
|
let n = {};
|
|
27257
27257
|
const r = ke(e);
|
|
27258
27258
|
let a = {};
|
|
@@ -27442,7 +27442,7 @@ function mp(e, t, n, r, a) {
|
|
|
27442
27442
|
const i = a ? Math.min(t, a.minC) : t;
|
|
27443
27443
|
return { r1: 0, r2: l, c1: Math.max(0, i), c2: o };
|
|
27444
27444
|
}
|
|
27445
|
-
function
|
|
27445
|
+
function gy(e, t, n, r) {
|
|
27446
27446
|
if (e <= 0 || n <= 0) return {};
|
|
27447
27447
|
const a = Array.from({ length: e }, (u, s) => s), l = a.splice(t, n);
|
|
27448
27448
|
let o = r;
|
|
@@ -27475,9 +27475,8 @@ const mc = (e, t) => {
|
|
|
27475
27475
|
(i = t == null ? void 0 : t.data) != null && i[u] && (u === r && s === a ? t.data[u][s] = { ...t.data[u][s] || {}, mc: { r, c: a, rs: l, cs: o } } : t.data[u][s] = { ...t.data[u][s] || {}, mc: { r, c: a } });
|
|
27476
27476
|
});
|
|
27477
27477
|
}, va = (e) => {
|
|
27478
|
-
var n;
|
|
27479
27478
|
const t = { ...e };
|
|
27480
|
-
return delete t.v, delete t.m, delete t.f, delete t.ps, delete t.hl,
|
|
27479
|
+
return delete t.v, delete t.m, delete t.f, delete t.ps, delete t.hl, t;
|
|
27481
27480
|
};
|
|
27482
27481
|
function hp(e, t, n, r) {
|
|
27483
27482
|
var o, i, u;
|
|
@@ -27868,7 +27867,7 @@ function gp(e, t, n = !0) {
|
|
|
27868
27867
|
d.borderInfo = Be;
|
|
27869
27868
|
}
|
|
27870
27869
|
const je = d.cellFormatRanges;
|
|
27871
|
-
d.cellFormatRanges =
|
|
27870
|
+
d.cellFormatRanges = ts(
|
|
27872
27871
|
d.cellFormatRanges,
|
|
27873
27872
|
"row",
|
|
27874
27873
|
o,
|
|
@@ -27973,7 +27972,7 @@ function gp(e, t, n = !0) {
|
|
|
27973
27972
|
d.borderInfo = De;
|
|
27974
27973
|
}
|
|
27975
27974
|
const Le = d.cellFormatRanges;
|
|
27976
|
-
d.cellFormatRanges =
|
|
27975
|
+
d.cellFormatRanges = ts(
|
|
27977
27976
|
d.cellFormatRanges,
|
|
27978
27977
|
"column",
|
|
27979
27978
|
o,
|
|
@@ -28071,7 +28070,7 @@ function gp(e, t, n = !0) {
|
|
|
28071
28070
|
r,
|
|
28072
28071
|
i
|
|
28073
28072
|
);
|
|
28074
|
-
J.length > 0 &&
|
|
28073
|
+
J.length > 0 && ul(e, J);
|
|
28075
28074
|
const W = _a(d.merge);
|
|
28076
28075
|
if (l === "row") {
|
|
28077
28076
|
const X = i === "lefttop" ? o : o + 1, q = W ? Math.min(X, W.minR) : X;
|
|
@@ -28462,7 +28461,7 @@ function pc(e, t) {
|
|
|
28462
28461
|
a
|
|
28463
28462
|
), h.isEqual(K, u.cellFormatRanges) || da(e, l, u.cellFormatRanges);
|
|
28464
28463
|
const ae = hm(e, l, n, r, a);
|
|
28465
|
-
ae.length > 0 &&
|
|
28464
|
+
ae.length > 0 && ul(e, ae);
|
|
28466
28465
|
const x = _a(u.merge);
|
|
28467
28466
|
if (n === "row") {
|
|
28468
28467
|
const ce = x ? Math.min(r, x.minR) : r;
|
|
@@ -28512,7 +28511,7 @@ function pc(e, t) {
|
|
|
28512
28511
|
ce.length > 0 && (e.formulaCache.execFunctionExist = ce, Ft(e, null, null, null, null, ke(e)), e.formulaCache.execFunctionExist = void 0);
|
|
28513
28512
|
}
|
|
28514
28513
|
}
|
|
28515
|
-
function
|
|
28514
|
+
function yy(e, t) {
|
|
28516
28515
|
if (!e.luckysheet_select_save || e.luckysheet_select_save.length > 1)
|
|
28517
28516
|
return "noMulti";
|
|
28518
28517
|
const n = Se(e, e.currentSheetId);
|
|
@@ -28534,7 +28533,7 @@ function gy(e, t) {
|
|
|
28534
28533
|
}
|
|
28535
28534
|
return e.luckysheetfile[n].config = e.config, "";
|
|
28536
28535
|
}
|
|
28537
|
-
function
|
|
28536
|
+
function by(e, t) {
|
|
28538
28537
|
if (!e.luckysheet_select_save || e.luckysheet_select_save.length > 1)
|
|
28539
28538
|
return "noMulti";
|
|
28540
28539
|
const n = Se(e, e.currentSheetId);
|
|
@@ -28552,7 +28551,7 @@ function yy(e, t) {
|
|
|
28552
28551
|
}
|
|
28553
28552
|
return e.luckysheetfile[n].config = e.config, "";
|
|
28554
28553
|
}
|
|
28555
|
-
function
|
|
28554
|
+
function wy(e) {
|
|
28556
28555
|
var t, n, r, a;
|
|
28557
28556
|
if (!e.luckysheet_select_save || !e.config.colhidden && !e.config.rowhidden)
|
|
28558
28557
|
return !1;
|
|
@@ -28568,7 +28567,7 @@ function by(e) {
|
|
|
28568
28567
|
}
|
|
28569
28568
|
return !1;
|
|
28570
28569
|
}
|
|
28571
|
-
function
|
|
28570
|
+
function vy(e, t) {
|
|
28572
28571
|
let n = 1;
|
|
28573
28572
|
if (!e.luckysheet_select_save) return 0;
|
|
28574
28573
|
const r = e.luckysheet_select_save[0], a = e.config.rowhidden ?? {}, l = e.config.colhidden ?? {};
|
|
@@ -28618,7 +28617,7 @@ function yp(e) {
|
|
|
28618
28617
|
return e == null ? !1 : Nn(e.ct) || !h.isEmpty(e.v) || e.f != null || // @ts-ignore
|
|
28619
28618
|
e.s != null || e.ct && ((t = e.ct.s) == null ? void 0 : t.length);
|
|
28620
28619
|
}
|
|
28621
|
-
function
|
|
28620
|
+
function _y(e) {
|
|
28622
28621
|
var n, r;
|
|
28623
28622
|
const t = ke(e);
|
|
28624
28623
|
if (!t || !((n = e.luckysheet_select_save) != null && n.length)) return !1;
|
|
@@ -28810,7 +28809,7 @@ function Pr(e) {
|
|
|
28810
28809
|
`).replace(/\r/g, `
|
|
28811
28810
|
`);
|
|
28812
28811
|
}
|
|
28813
|
-
function
|
|
28812
|
+
function Ty(e, t, n, r, a) {
|
|
28814
28813
|
const l = ke(e);
|
|
28815
28814
|
if (l == null) return;
|
|
28816
28815
|
const { scrollLeft: o } = r, { scrollTop: i } = a, u = n.getBoundingClientRect();
|
|
@@ -28820,7 +28819,7 @@ function _y(e, t, n, r, a) {
|
|
|
28820
28819
|
const d = vn(e, l, f, m);
|
|
28821
28820
|
return d && ([, , f] = d.row, [, , m] = d.column), { r: f, c: m };
|
|
28822
28821
|
}
|
|
28823
|
-
function
|
|
28822
|
+
function vl(e) {
|
|
28824
28823
|
return e == null ? [] : Array.isArray(e) ? e.filter(
|
|
28825
28824
|
(t) => t && typeof t == "object" && t.linkType && t.linkAddress
|
|
28826
28825
|
) : typeof e == "object" && e.linkType && e.linkAddress ? [e] : [];
|
|
@@ -28847,30 +28846,30 @@ function Vr(e, t, n) {
|
|
|
28847
28846
|
var o, i, u;
|
|
28848
28847
|
const r = Se(e, e.currentSheetId);
|
|
28849
28848
|
if (r == null) return [];
|
|
28850
|
-
const a = (o = e.luckysheetfile[r].hyperlink) == null ? void 0 : o[`${t}_${n}`], l =
|
|
28849
|
+
const a = (o = e.luckysheetfile[r].hyperlink) == null ? void 0 : o[`${t}_${n}`], l = vl(a);
|
|
28851
28850
|
return l.length > 0 ? l : Hn(
|
|
28852
28851
|
((u = (i = ke(e)) == null ? void 0 : i[t]) == null ? void 0 : u[n]) ?? void 0
|
|
28853
28852
|
);
|
|
28854
28853
|
}
|
|
28855
|
-
function
|
|
28854
|
+
function Cy(e, t, n) {
|
|
28856
28855
|
return Vr(e, t, n)[0];
|
|
28857
28856
|
}
|
|
28858
28857
|
function wp(e, t) {
|
|
28859
28858
|
var n;
|
|
28860
28859
|
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 && Tn(r.link, t)).map((r) => r.v ?? "").join("");
|
|
28861
28860
|
}
|
|
28862
|
-
function
|
|
28861
|
+
function _l(e) {
|
|
28863
28862
|
return (e ?? "").replace(/\r\n/g, `
|
|
28864
28863
|
`).replace(/\r/g, `
|
|
28865
28864
|
`);
|
|
28866
28865
|
}
|
|
28867
|
-
function
|
|
28866
|
+
function $y(e, t) {
|
|
28868
28867
|
var l;
|
|
28869
28868
|
if (((l = e == null ? void 0 : e.ct) == null ? void 0 : l.t) !== "inlineStr" || !Array.isArray(e.ct.s))
|
|
28870
28869
|
return;
|
|
28871
28870
|
let n = 0, r, a;
|
|
28872
28871
|
for (const o of e.ct.s) {
|
|
28873
|
-
const u =
|
|
28872
|
+
const u = _l(o == null ? void 0 : o.v).length;
|
|
28874
28873
|
if ((o == null ? void 0 : o.link) && Tn(o.link, t))
|
|
28875
28874
|
r == null && (r = n), a = n + u;
|
|
28876
28875
|
else if (r != null)
|
|
@@ -28886,7 +28885,7 @@ function vp(e, t, n) {
|
|
|
28886
28885
|
return;
|
|
28887
28886
|
let r = 0, a;
|
|
28888
28887
|
for (const u of e.ct.s) {
|
|
28889
|
-
const c =
|
|
28888
|
+
const c = _l(u == null ? void 0 : u.v).length, f = r + c, m = Math.max(t, r), d = Math.min(n, f);
|
|
28890
28889
|
if (m < d) {
|
|
28891
28890
|
if (!((o = u == null ? void 0 : u.link) != null && o.linkType) || !((i = u == null ? void 0 : u.link) != null && i.linkAddress)) return;
|
|
28892
28891
|
if (a == null)
|
|
@@ -28904,7 +28903,7 @@ function _p(e, t) {
|
|
|
28904
28903
|
return;
|
|
28905
28904
|
let n = 0;
|
|
28906
28905
|
for (const o of e.ct.s) {
|
|
28907
|
-
const u =
|
|
28906
|
+
const u = _l(o == null ? void 0 : o.v).length;
|
|
28908
28907
|
if (u > 0 && t >= n && t < n + u)
|
|
28909
28908
|
return (a = o == null ? void 0 : o.link) != null && a.linkType && ((l = o == null ? void 0 : o.link) != null && l.linkAddress) ? o.link : void 0;
|
|
28910
28909
|
n += u;
|
|
@@ -29013,7 +29012,7 @@ function Ca(e, t, n) {
|
|
|
29013
29012
|
const i = (o.length > 0 ? o : a)[0];
|
|
29014
29013
|
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}` : "";
|
|
29015
29014
|
}
|
|
29016
|
-
function
|
|
29015
|
+
function Ny(e, t, n, r, a, l, o) {
|
|
29017
29016
|
var c, f, m, d;
|
|
29018
29017
|
const i = Se(e, e.currentSheetId), u = ke(e);
|
|
29019
29018
|
if (o != null && o.applySelectionFromModel && i != null && u != null && Np(
|
|
@@ -29115,7 +29114,7 @@ function Sp(e, t, n) {
|
|
|
29115
29114
|
}), e.hooks.updateCellYdoc(f);
|
|
29116
29115
|
}
|
|
29117
29116
|
}
|
|
29118
|
-
function
|
|
29117
|
+
function Sy(e, t, n, r) {
|
|
29119
29118
|
var m, d, p;
|
|
29120
29119
|
if (!ut(e)) return;
|
|
29121
29120
|
const l = Se(e, e.currentSheetId), o = ke(e);
|
|
@@ -29130,7 +29129,7 @@ function Ny(e, t, n, r) {
|
|
|
29130
29129
|
or(i, t, n, g), Ga(e, t, n, s, i), Ca(e, t, n);
|
|
29131
29130
|
return;
|
|
29132
29131
|
}
|
|
29133
|
-
const c =
|
|
29132
|
+
const c = vl((d = i.hyperlink) == null ? void 0 : d[u]), f = c.filter((g) => !Tn(g, r));
|
|
29134
29133
|
if (f.length !== c.length) {
|
|
29135
29134
|
if (f.length === 0) {
|
|
29136
29135
|
Sp(e, t, n);
|
|
@@ -29147,7 +29146,7 @@ function Ny(e, t, n, r) {
|
|
|
29147
29146
|
]), Ca(e, t, n);
|
|
29148
29147
|
}
|
|
29149
29148
|
}
|
|
29150
|
-
function
|
|
29149
|
+
function ky(e, t, n, r, a, l, o) {
|
|
29151
29150
|
var y, b, w;
|
|
29152
29151
|
if (!ut(e)) return;
|
|
29153
29152
|
const u = Se(e, e.currentSheetId), s = ke(e);
|
|
@@ -29163,7 +29162,7 @@ function Sy(e, t, n, r, a, l, o) {
|
|
|
29163
29162
|
or(c, t, n, T), Ga(e, t, n, m, c), Ca(e, t, n);
|
|
29164
29163
|
return;
|
|
29165
29164
|
}
|
|
29166
|
-
const d =
|
|
29165
|
+
const d = vl((b = c.hyperlink) == null ? void 0 : b[f]), p = d.findIndex((v) => Tn(v, r));
|
|
29167
29166
|
if (p < 0) return;
|
|
29168
29167
|
const g = [...d];
|
|
29169
29168
|
if (g[p] = { linkType: l, linkAddress: o }, or(c, t, n, g), m && typeof m == "object" && (m.v = a || o, m.m = a || o), (w = e == null ? void 0 : e.hooks) != null && w.updateCellYdoc) {
|
|
@@ -29226,7 +29225,7 @@ function kp(e, t, n, r, a = !1, l = !1) {
|
|
|
29226
29225
|
};
|
|
29227
29226
|
}
|
|
29228
29227
|
}
|
|
29229
|
-
function
|
|
29228
|
+
function Ay(e, t, n, r, a, l, o) {
|
|
29230
29229
|
if (Se(e, e.currentSheetId) != null && Vr(e, t, n).length !== 0) {
|
|
29231
29230
|
if (r === "webpage") {
|
|
29232
29231
|
const u = String(a ?? "").trim();
|
|
@@ -29252,12 +29251,12 @@ function ky(e, t, n, r, a, l, o) {
|
|
|
29252
29251
|
e.linkCard = void 0;
|
|
29253
29252
|
}
|
|
29254
29253
|
}
|
|
29255
|
-
function
|
|
29254
|
+
function Ey(e, t, n) {
|
|
29256
29255
|
if (!n) return { isValid: !1, tooltip: "" };
|
|
29257
29256
|
const { insertLink: r } = At(e), a = String(n ?? "").trim();
|
|
29258
29257
|
return gc(a) ? { isValid: !0, tooltip: "" } : (/^https?:\/\//i.test(n) || (n = `https://${n}`), /^(https?):\/\/[^\s$.?#].[^\s]*$/i.test(n) ? t === "cellrange" && !Rt(n) ? { isValid: !1, tooltip: r.invalidCellRangeTip } : { isValid: !0, tooltip: "" } : { isValid: !1, tooltip: r.tooltipInfo1 });
|
|
29259
29258
|
}
|
|
29260
|
-
function
|
|
29259
|
+
function Ry(e, t) {
|
|
29261
29260
|
var u;
|
|
29262
29261
|
const n = (u = e.linkCard) == null ? void 0 : u.rangeSelectionModal;
|
|
29263
29262
|
if (n == null) return;
|
|
@@ -29267,7 +29266,7 @@ function Ey(e, t) {
|
|
|
29267
29266
|
let { top: o, left: i } = n.initialPosition;
|
|
29268
29267
|
i += t.pageX - a, o += t.pageY - l, o < 0 && (o = 0), r.style.left = `${i}px`, r.style.top = `${o}px`;
|
|
29269
29268
|
}
|
|
29270
|
-
function
|
|
29269
|
+
function My(e) {
|
|
29271
29270
|
h.set(e, "linkCard.rangeSelectionModal", void 0);
|
|
29272
29271
|
}
|
|
29273
29272
|
function Ap(e, t, n, r) {
|
|
@@ -29544,7 +29543,7 @@ function Ep(e) {
|
|
|
29544
29543
|
}
|
|
29545
29544
|
return t.push([n, r]), t;
|
|
29546
29545
|
}
|
|
29547
|
-
function
|
|
29546
|
+
function Iy(e, t, n) {
|
|
29548
29547
|
if (!(e != null && e.length)) return [];
|
|
29549
29548
|
const r = [];
|
|
29550
29549
|
for (let a = 0; a < e.length; a += 1) {
|
|
@@ -29629,7 +29628,7 @@ function bc(e, t) {
|
|
|
29629
29628
|
);
|
|
29630
29629
|
}), n;
|
|
29631
29630
|
}
|
|
29632
|
-
function
|
|
29631
|
+
function Po(e, t) {
|
|
29633
29632
|
var n;
|
|
29634
29633
|
(n = e == null ? void 0 : e.hooks) != null && n.updateCellYdoc && e.hooks.updateCellYdoc([
|
|
29635
29634
|
{
|
|
@@ -29854,7 +29853,7 @@ function Cc(e, t, n, r, a, l, o, i, u) {
|
|
|
29854
29853
|
const ye = (ce = (P = e.luckysheetfile) == null ? void 0 : P[z]) == null ? void 0 : ce.config;
|
|
29855
29854
|
(E = ye == null ? void 0 : ye.customHeight) != null && E[me] && delete ye.customHeight[me], (F = (G = e.config) == null ? void 0 : G.customHeight) != null && F[me] && delete e.config.customHeight[me];
|
|
29856
29855
|
}
|
|
29857
|
-
|
|
29856
|
+
gl(e, me, t, u);
|
|
29858
29857
|
}
|
|
29859
29858
|
}
|
|
29860
29859
|
(re = e == null ? void 0 : e.hooks) != null && re.updateCellYdoc && ge.length > 0 && ((te = e.hooks) == null || te.updateCellYdoc(ge));
|
|
@@ -29951,7 +29950,7 @@ function Zn(e, t, n, r, a, l, o, i, u, s) {
|
|
|
29951
29950
|
ar(n, y[y.length - 2], 0, 1);
|
|
29952
29951
|
return;
|
|
29953
29952
|
}
|
|
29954
|
-
const c =
|
|
29953
|
+
const c = qo(l[0], n.visibledatarow)[0], f = qo(l[1], n.visibledatarow)[1], m = Do(o[0], n.visibledatacolumn)[0], d = Do(o[1], n.visibledatacolumn)[1], p = `<span dir="auto" class="luckysheet-formula-text-color">=</span><span dir="auto" class="luckysheet-formula-text-color">${i.toUpperCase()}</span><span dir="auto" class="luckysheet-formula-text-color">(</span><span class="fortune-formula-functionrange-cell" rangeindex="0" dir="auto" style="color:${qa[0]};">${Lr(
|
|
29955
29954
|
n,
|
|
29956
29955
|
n.currentSheetId,
|
|
29957
29956
|
{ row: l, column: o },
|
|
@@ -30391,10 +30390,10 @@ function Pp(e, t) {
|
|
|
30391
30390
|
function Hp(e, t) {
|
|
30392
30391
|
Xa(e, t, "un");
|
|
30393
30392
|
}
|
|
30394
|
-
function
|
|
30393
|
+
function qy(e, t, n) {
|
|
30395
30394
|
Gr(e, t, "ht", n);
|
|
30396
30395
|
}
|
|
30397
|
-
function
|
|
30396
|
+
function Dy(e, t, n) {
|
|
30398
30397
|
Gr(e, t, "vt", n);
|
|
30399
30398
|
}
|
|
30400
30399
|
function Up(e) {
|
|
@@ -30483,17 +30482,17 @@ function zp(e) {
|
|
|
30483
30482
|
);
|
|
30484
30483
|
}), h.isEqual(g, p) || (d.config.cellFormatRanges = p, e.config.cellFormatRanges = p, l = !0);
|
|
30485
30484
|
}
|
|
30486
|
-
(f = e == null ? void 0 : e.hooks) != null && f.updateCellYdoc && (r &&
|
|
30485
|
+
(f = e == null ? void 0 : e.hooks) != null && f.updateCellYdoc && (r && Po(e, ((m = e.config) == null ? void 0 : m.borderInfo) ?? []), l && n.push({
|
|
30487
30486
|
sheetId: e.currentSheetId,
|
|
30488
30487
|
path: ["config", "cellFormatRanges"],
|
|
30489
30488
|
value: e.config.cellFormatRanges ?? [],
|
|
30490
30489
|
type: "update"
|
|
30491
30490
|
}), n.length > 0 && e.hooks.updateCellYdoc(n));
|
|
30492
30491
|
}
|
|
30493
|
-
function
|
|
30492
|
+
function xy(e, t, n) {
|
|
30494
30493
|
Gr(e, t, "fc", n);
|
|
30495
30494
|
}
|
|
30496
|
-
function
|
|
30495
|
+
function Oy(e, t, n) {
|
|
30497
30496
|
Gr(e, t, "bg", n);
|
|
30498
30497
|
}
|
|
30499
30498
|
function Wp(e, t, n, r) {
|
|
@@ -30512,7 +30511,7 @@ function Wp(e, t, n, r) {
|
|
|
30512
30511
|
i.borderInfo = bc(i.borderInfo, u);
|
|
30513
30512
|
const f = Se(e, e.currentSheetId);
|
|
30514
30513
|
if (f == null) return;
|
|
30515
|
-
qr(e.luckysheetfile[f], e.config), e.config = e.luckysheetfile[f].config,
|
|
30514
|
+
qr(e.luckysheetfile[f], e.config), e.config = e.luckysheetfile[f].config, Po(e, i.borderInfo);
|
|
30516
30515
|
return;
|
|
30517
30516
|
}
|
|
30518
30517
|
if (t !== "border-slash") {
|
|
@@ -30543,7 +30542,7 @@ function Wp(e, t, n, r) {
|
|
|
30543
30542
|
});
|
|
30544
30543
|
}
|
|
30545
30544
|
const s = Se(e, e.currentSheetId);
|
|
30546
|
-
s != null && (qr(e.luckysheetfile[s], e.config), e.config = e.luckysheetfile[s].config,
|
|
30545
|
+
s != null && (qr(e.luckysheetfile[s], e.config), e.config = e.luckysheetfile[s].config, Po(e, i.borderInfo));
|
|
30547
30546
|
}
|
|
30548
30547
|
function Yp(e, t) {
|
|
30549
30548
|
if (!ut(e)) return;
|
|
@@ -30563,7 +30562,7 @@ function Yp(e, t) {
|
|
|
30563
30562
|
function Vp(e, t) {
|
|
30564
30563
|
qh(e, t);
|
|
30565
30564
|
}
|
|
30566
|
-
function
|
|
30565
|
+
function Fy(e, t) {
|
|
30567
30566
|
var u, s;
|
|
30568
30567
|
if (!ut(e)) return;
|
|
30569
30568
|
const r = e.luckysheetfile[Se(e, e.currentSheetId)];
|
|
@@ -30579,10 +30578,10 @@ function Oy(e, t) {
|
|
|
30579
30578
|
const i = (s = e.config.merge) == null ? void 0 : s[`${l}_${o}`];
|
|
30580
30579
|
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");
|
|
30581
30580
|
}
|
|
30582
|
-
function
|
|
30581
|
+
function Ly(e, t, n, r) {
|
|
30583
30582
|
Gr(e, t, "fs", n, r);
|
|
30584
30583
|
}
|
|
30585
|
-
function
|
|
30584
|
+
function By(e, t, n, r) {
|
|
30586
30585
|
Ip(e, t, n, "SUM", r);
|
|
30587
30586
|
}
|
|
30588
30587
|
function $c(e) {
|
|
@@ -30610,7 +30609,7 @@ function jp(e, t) {
|
|
|
30610
30609
|
const u = Gp(e, t);
|
|
30611
30610
|
return !!(u.length > 0 && u.trimStart().startsWith("="));
|
|
30612
30611
|
}
|
|
30613
|
-
function
|
|
30612
|
+
function Py(e, t, n) {
|
|
30614
30613
|
if (!n || !t) return;
|
|
30615
30614
|
if (e.luckysheetCellUpdate.length !== 2) {
|
|
30616
30615
|
delete n.linkEditorOpenSnapshot;
|
|
@@ -30726,10 +30725,10 @@ const Zp = {
|
|
|
30726
30725
|
"strike-through": (e) => (e == null ? void 0 : e.cl) === 1,
|
|
30727
30726
|
underline: (e) => (e == null ? void 0 : e.un) === 1
|
|
30728
30727
|
};
|
|
30729
|
-
function
|
|
30728
|
+
function Hy(e) {
|
|
30730
30729
|
return Zp[e];
|
|
30731
30730
|
}
|
|
30732
|
-
function
|
|
30731
|
+
function Uy(e) {
|
|
30733
30732
|
return Kp[e];
|
|
30734
30733
|
}
|
|
30735
30734
|
function oa(e) {
|
|
@@ -30908,7 +30907,7 @@ function ng(e) {
|
|
|
30908
30907
|
);
|
|
30909
30908
|
t && (t.style.display = "none");
|
|
30910
30909
|
}
|
|
30911
|
-
function
|
|
30910
|
+
function zy(e, t, n) {
|
|
30912
30911
|
e.luckysheet_cell_selected_extend = !0, e.luckysheet_scroll_status = !0;
|
|
30913
30912
|
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 = zn(i, e.visibledatarow), s = u[0], c = u[1], f = u[2], m = Wn(o, e.visibledatacolumn), d = m[0], p = m[1], g = m[2];
|
|
30914
30913
|
e.luckysheet_cell_selected_extend_index = [f, g], Ac(
|
|
@@ -30921,7 +30920,7 @@ function Uy(e, t, n) {
|
|
|
30921
30920
|
n
|
|
30922
30921
|
);
|
|
30923
30922
|
}
|
|
30924
|
-
function
|
|
30923
|
+
function Wy(e, t, n, r, a) {
|
|
30925
30924
|
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 = zn(s, e.visibledatarow), f = c[1], m = c[0], d = c[2], p = Wn(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];
|
|
30926
30925
|
if (!e.luckysheet_select_save) return;
|
|
30927
30926
|
let _ = e.luckysheet_select_save[0].row[0], T = e.luckysheet_select_save[0].row[1], $ = e.luckysheet_select_save[0].column[0], C = e.luckysheet_select_save[0].column[1], S = e.luckysheet_select_save[0].top_move, N = e.luckysheet_select_save[0].height_move, R = e.luckysheet_select_save[0].left_move, H = e.luckysheet_select_save[0].width_move;
|
|
@@ -31594,7 +31593,7 @@ function Rc(e) {
|
|
|
31594
31593
|
if (a == null) return;
|
|
31595
31594
|
const l = e.luckysheetfile[a], o = new Set(Object.keys(((R = l.config) == null ? void 0 : R.rowhidden) || {})), i = new Set(Object.keys(((H = l.config) == null ? void 0 : H.colhidden) || {})), u = h.cloneDeep(e.config);
|
|
31596
31595
|
u.borderInfo == null && (u.borderInfo = []);
|
|
31597
|
-
const s =
|
|
31596
|
+
const s = wl(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 = sg(
|
|
31598
31597
|
t,
|
|
31599
31598
|
d,
|
|
31600
31599
|
p,
|
|
@@ -31961,9 +31960,9 @@ function Rc(e) {
|
|
|
31961
31960
|
}
|
|
31962
31961
|
Q.length > 0 && N[ae].cellrange.push(v);
|
|
31963
31962
|
}
|
|
31964
|
-
l.dataVerification = c,
|
|
31963
|
+
l.dataVerification = c, pl(e, t, e.luckysheet_select_save);
|
|
31965
31964
|
}
|
|
31966
|
-
function
|
|
31965
|
+
function Yy(e, t, n) {
|
|
31967
31966
|
var b, w, v;
|
|
31968
31967
|
e.luckysheet_cell_selected_extend = !1, ng(n);
|
|
31969
31968
|
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 = zn(i, e.visibledatarow), s = u[0], c = u[2], f = Wn(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];
|
|
@@ -32083,7 +32082,7 @@ function Se(e, t) {
|
|
|
32083
32082
|
return r;
|
|
32084
32083
|
return null;
|
|
32085
32084
|
}
|
|
32086
|
-
function
|
|
32085
|
+
function Ho(e, t) {
|
|
32087
32086
|
for (let n = 0; n < e.luckysheetfile.length; n += 1)
|
|
32088
32087
|
if (e.luckysheetfile[n].name === t)
|
|
32089
32088
|
return e.luckysheetfile[n].id;
|
|
@@ -32094,7 +32093,7 @@ function Za(e, t) {
|
|
|
32094
32093
|
const n = Se(e, t);
|
|
32095
32094
|
return h.isNil(n) ? null : e.luckysheetfile[n];
|
|
32096
32095
|
}
|
|
32097
|
-
function
|
|
32096
|
+
function Vy(e) {
|
|
32098
32097
|
const t = /* @__PURE__ */ new Date(), n = t.getFullYear();
|
|
32099
32098
|
let r = t.getMonth(), a = t.getDate(), l = t.getHours(), o = t.getMinutes(), i = t.getSeconds();
|
|
32100
32099
|
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}`);
|
|
@@ -32107,10 +32106,10 @@ function Os(e, t) {
|
|
|
32107
32106
|
return typeof a < "u" ? a : n;
|
|
32108
32107
|
});
|
|
32109
32108
|
}
|
|
32110
|
-
function
|
|
32109
|
+
function Gy(e) {
|
|
32111
32110
|
return e.replace("~*", "\\*").replace("~?", "\\?").replace(".", "\\.").replace("*", ".*").replace("?", ".");
|
|
32112
32111
|
}
|
|
32113
|
-
function
|
|
32112
|
+
function jy(e) {
|
|
32114
32113
|
let a = "";
|
|
32115
32114
|
for (; e >= 0; )
|
|
32116
32115
|
a = String.fromCharCode(e % 26 + 97) + a, e = Math.floor(e / 26) - 1;
|
|
@@ -32228,7 +32227,7 @@ function hg(e, t) {
|
|
|
32228
32227
|
} else a ? n = "#,##0" : n = "General";
|
|
32229
32228
|
return n;
|
|
32230
32229
|
}
|
|
32231
|
-
const Jt = new Error("invalid params"),
|
|
32230
|
+
const Jt = new Error("invalid params"), Uo = new Error("sheet not found"), ka = (e) => {
|
|
32232
32231
|
const t = [];
|
|
32233
32232
|
if (e == null)
|
|
32234
32233
|
return t;
|
|
@@ -32238,11 +32237,11 @@ const Jt = new Error("invalid params"), Ho = new Error("sheet not found"), ka =
|
|
|
32238
32237
|
a != null && Sn(a) && t.push({ r: n, c: r, v: a });
|
|
32239
32238
|
}
|
|
32240
32239
|
return t;
|
|
32241
|
-
},
|
|
32240
|
+
}, Xy = (e, t, n, r, a) => {
|
|
32242
32241
|
const l = h.maxBy(e, "r"), o = h.maxBy(e, "c");
|
|
32243
32242
|
let i = ((l == null ? void 0 : l.r) ?? 0) + 1, u = ((o == null ? void 0 : o.c) ?? 0) + 1;
|
|
32244
32243
|
t != null && n != null && t > 0 && n > 0 && (i = Math.max(i, t), u = Math.max(u, n));
|
|
32245
|
-
const s =
|
|
32244
|
+
const s = Vo(r);
|
|
32246
32245
|
if (s && (i = Math.max(i, s.maxRow + 1), u = Math.max(u, s.maxCol + 1)), i && u) {
|
|
32247
32246
|
const c = h.times(
|
|
32248
32247
|
i,
|
|
@@ -32250,30 +32249,30 @@ const Jt = new Error("invalid params"), Ho = new Error("sheet not found"), ka =
|
|
|
32250
32249
|
);
|
|
32251
32250
|
return e == null || e.forEach((f) => {
|
|
32252
32251
|
c[f.r][f.c] = f.v;
|
|
32253
|
-
}),
|
|
32252
|
+
}), jo(c, r), Ys(c, a), c;
|
|
32254
32253
|
}
|
|
32255
32254
|
return null;
|
|
32256
32255
|
};
|
|
32257
32256
|
function kt(e, t = {}) {
|
|
32258
32257
|
const { index: n = Se(e, t.id || e.currentSheetId) } = t;
|
|
32259
32258
|
if (n == null)
|
|
32260
|
-
throw
|
|
32259
|
+
throw Uo;
|
|
32261
32260
|
const r = e.luckysheetfile[n];
|
|
32262
32261
|
if (r == null)
|
|
32263
|
-
throw
|
|
32262
|
+
throw Uo;
|
|
32264
32263
|
return r;
|
|
32265
32264
|
}
|
|
32266
|
-
function
|
|
32265
|
+
function Zy(e, t = {}) {
|
|
32267
32266
|
const n = kt(e, t);
|
|
32268
32267
|
return { ...n, celldata: ka(n.data) };
|
|
32269
32268
|
}
|
|
32270
|
-
function
|
|
32269
|
+
function Ky(e, t, n, r = {}) {
|
|
32271
32270
|
var s;
|
|
32272
32271
|
if (!h.isNumber(t) || !h.isNumber(n))
|
|
32273
32272
|
throw new Error("row or column cannot be null or undefined");
|
|
32274
32273
|
const a = kt(e, r), { type: l = "v" } = r, o = a.data;
|
|
32275
32274
|
if (!o)
|
|
32276
|
-
throw
|
|
32275
|
+
throw Uo;
|
|
32277
32276
|
const i = o[t][n];
|
|
32278
32277
|
let u;
|
|
32279
32278
|
return i && h.isPlainObject(i) && (u = i[l], l === "f" && u != null ? u = Dr(u) : l === "f" ? u = i.v : i && i.ct && i.ct.fa === "yyyy-MM-dd" ? u = i.m : ((s = i.ct) == null ? void 0 : s.t) === "inlineStr" && (u = i.ct.s.reduce(
|
|
@@ -32329,7 +32328,7 @@ function Dc(e, t, n, r, a, l = {}, o) {
|
|
|
32329
32328
|
const g = {};
|
|
32330
32329
|
((c = u == null ? void 0 : u[t]) == null ? void 0 : c[n]) == null && (u[t][n] = {});
|
|
32331
32330
|
const y = u[t][n];
|
|
32332
|
-
r.f != null && r.v == null ? (g.f = r.f, r.ct != null && (g.ct = r.ct),
|
|
32331
|
+
r.f != null && r.v == null ? (g.f = r.f, r.ct != null && (g.ct = r.ct), Lo(e, t, n, a, g)) : (r.ct != null && (g.ct = r.ct), r.f != null && (g.f = r.f), r.v != null ? g.v = r.v : g.v = y.v, r.m != null && (g.m = r.m), qt(e, t, n), Lt(e, t, n, u, g)), h.forEach(r, (b, w) => {
|
|
32333
32332
|
w in s && o ? Cc(
|
|
32334
32333
|
e,
|
|
32335
32334
|
u,
|
|
@@ -32342,7 +32341,7 @@ function Dc(e, t, n, r, a, l = {}, o) {
|
|
|
32342
32341
|
) : y[w] = b;
|
|
32343
32342
|
}), u[t][n] = y;
|
|
32344
32343
|
} else
|
|
32345
|
-
r.toString().substr(0, 1) === "=" || r.toString().substr(0, 5) === "<span" ?
|
|
32344
|
+
r.toString().substr(0, 1) === "=" || r.toString().substr(0, 5) === "<span" ? Lo(e, t, n, a, r) : (qt(e, t, n), Lt(e, t, n, u, r));
|
|
32346
32345
|
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)));
|
|
32347
32346
|
}
|
|
32348
32347
|
function pg(e, t, n, r) {
|
|
@@ -32362,7 +32361,7 @@ function pg(e, t, n, r) {
|
|
|
32362
32361
|
const i = { r: t, c: n, v: o };
|
|
32363
32362
|
a >= 0 ? e.celldata[a] = i : e.celldata.push(i);
|
|
32364
32363
|
}
|
|
32365
|
-
function
|
|
32364
|
+
function Qy(e, t, n, r, a = {}) {
|
|
32366
32365
|
if (!h.isNumber(t) || !h.isNumber(n))
|
|
32367
32366
|
throw new Error("row or column cannot be null or undefined");
|
|
32368
32367
|
const l = kt(e, a), o = a.id ?? l.id ?? e.currentSheetId, { data: i } = l;
|
|
@@ -32389,14 +32388,14 @@ function Ky(e, t, n, r, a = {}) {
|
|
|
32389
32388
|
const u = r.toString();
|
|
32390
32389
|
u.substr(0, 1) === "=" || u.substr(0, 5) === "<span" ? (Lt(e, t, n, i, { f: u }), $n(e, t, n, o)) : (qt(e, t, n, o), Lt(e, t, n, i, r));
|
|
32391
32390
|
}
|
|
32392
|
-
function
|
|
32391
|
+
function Jy(e, t, n, r = {}) {
|
|
32393
32392
|
var o, i;
|
|
32394
32393
|
if (!h.isNumber(t) || !h.isNumber(n))
|
|
32395
32394
|
throw new Error("row or column cannot be null or undefined");
|
|
32396
32395
|
const a = kt(e, r), l = (i = (o = a.data) == null ? void 0 : o[t]) == null ? void 0 : i[n];
|
|
32397
32396
|
l && h.isPlainObject(l) && (delete l.m, delete l.v, l.f != null && (delete l.f, qt(e, t, n, a.id), delete l.spl));
|
|
32398
32397
|
}
|
|
32399
|
-
function
|
|
32398
|
+
function e0(e, t, n, r, a, l = {}) {
|
|
32400
32399
|
var c;
|
|
32401
32400
|
if (!h.isNumber(t) || !h.isNumber(n))
|
|
32402
32401
|
throw new Error("row or column cannot be null or undefined");
|
|
@@ -32427,12 +32426,12 @@ function Jy(e, t, n, r, a, l = {}) {
|
|
|
32427
32426
|
u[r] = a;
|
|
32428
32427
|
i[t][n] = u, o.config = s, e.config = s;
|
|
32429
32428
|
}
|
|
32430
|
-
function
|
|
32429
|
+
function t0(e, t, n, r) {
|
|
32431
32430
|
Ke.copyRange = t, Ke.applyRange = n, Ke.direction = r;
|
|
32432
32431
|
const a = Ec(e);
|
|
32433
32432
|
!a[0] && !a[1] && !a[2] && !a[3] && !a[4] && !a[5] && !a[6] ? Ke.applyType = "0" : Ke.applyType = "1", Rc(e);
|
|
32434
32433
|
}
|
|
32435
|
-
function
|
|
32434
|
+
function n0(e, t, n, r = {}) {
|
|
32436
32435
|
const a = kt(e, r), o = {
|
|
32437
32436
|
row: "rangeRow",
|
|
32438
32437
|
column: "rangeColumn",
|
|
@@ -32447,7 +32446,7 @@ function t0(e, t, n, r = {}) {
|
|
|
32447
32446
|
}
|
|
32448
32447
|
};
|
|
32449
32448
|
}
|
|
32450
|
-
function
|
|
32449
|
+
function r0(e, t, n, r, a, l = {}) {
|
|
32451
32450
|
if (!["row", "column"].includes(t) || !h.isNumber(n) || !h.isNumber(r) || !["lefttop", "rightbottom"].includes(a))
|
|
32452
32451
|
throw Jt;
|
|
32453
32452
|
const o = kt(e, l);
|
|
@@ -32463,13 +32462,13 @@ function n0(e, t, n, r, a, l = {}) {
|
|
|
32463
32462
|
console.error(i);
|
|
32464
32463
|
}
|
|
32465
32464
|
}
|
|
32466
|
-
function
|
|
32465
|
+
function a0(e, t, n, r, a = {}) {
|
|
32467
32466
|
if (!["row", "column"].includes(t) || !h.isNumber(n) || !h.isNumber(r))
|
|
32468
32467
|
throw Jt;
|
|
32469
32468
|
const l = kt(e, a);
|
|
32470
32469
|
pc(e, { type: t, start: n, end: r, id: l.id });
|
|
32471
32470
|
}
|
|
32472
|
-
function
|
|
32471
|
+
function o0(e, t, n) {
|
|
32473
32472
|
if (!["row", "column"].includes(n))
|
|
32474
32473
|
throw Jt;
|
|
32475
32474
|
if (!e || !e.config) return;
|
|
@@ -32488,7 +32487,7 @@ function a0(e, t, n) {
|
|
|
32488
32487
|
}
|
|
32489
32488
|
e.luckysheetfile[r].config = e.config;
|
|
32490
32489
|
}
|
|
32491
|
-
function
|
|
32490
|
+
function l0(e, t, n) {
|
|
32492
32491
|
if (!["row", "column"].includes(n))
|
|
32493
32492
|
throw Jt;
|
|
32494
32493
|
if (!e || !e.config) return;
|
|
@@ -32523,7 +32522,7 @@ function gg(e, t, n = {}, r = !1) {
|
|
|
32523
32522
|
}
|
|
32524
32523
|
}), a.config = l, e.currentSheetId === a.id && (e.config = l);
|
|
32525
32524
|
}
|
|
32526
|
-
function
|
|
32525
|
+
function i0(e, t, n = {}, r = !1) {
|
|
32527
32526
|
if (!h.isPlainObject(t))
|
|
32528
32527
|
throw Jt;
|
|
32529
32528
|
const a = kt(e, n), l = a.config || {};
|
|
@@ -32550,7 +32549,7 @@ function yg(e, t, n = {}) {
|
|
|
32550
32549
|
}
|
|
32551
32550
|
}), o;
|
|
32552
32551
|
}
|
|
32553
|
-
function
|
|
32552
|
+
function s0(e, t, n = {}) {
|
|
32554
32553
|
if (!h.isArray(t) || t.length === 0)
|
|
32555
32554
|
throw Jt;
|
|
32556
32555
|
const l = (kt(e, n).config || {}).columnlen || {}, o = {};
|
|
@@ -32571,18 +32570,18 @@ function bg(e, t, n, r = !1, a = void 0, l = void 0) {
|
|
|
32571
32570
|
l
|
|
32572
32571
|
);
|
|
32573
32572
|
}
|
|
32574
|
-
function
|
|
32573
|
+
function u0(e, t = {}) {
|
|
32575
32574
|
const n = kt(e, t);
|
|
32576
32575
|
Xd(e, n.id);
|
|
32577
32576
|
}
|
|
32578
|
-
function
|
|
32577
|
+
function c0(e, t) {
|
|
32579
32578
|
Zd(e, t);
|
|
32580
32579
|
}
|
|
32581
|
-
function
|
|
32580
|
+
function f0(e, t = {}) {
|
|
32582
32581
|
const n = kt(e, t);
|
|
32583
32582
|
e.currentSheetId = n.id;
|
|
32584
32583
|
}
|
|
32585
|
-
function
|
|
32584
|
+
function d0(e, t, n = {}) {
|
|
32586
32585
|
const r = kt(e, n);
|
|
32587
32586
|
r.name = t;
|
|
32588
32587
|
}
|
|
@@ -32594,7 +32593,7 @@ function wg(e, t) {
|
|
|
32594
32593
|
r.order = a;
|
|
32595
32594
|
});
|
|
32596
32595
|
}
|
|
32597
|
-
function
|
|
32596
|
+
function m0(e, t, n, r) {
|
|
32598
32597
|
if (r.scrollLeft != null) {
|
|
32599
32598
|
if (!h.isNumber(r.scrollLeft))
|
|
32600
32599
|
throw Jt;
|
|
@@ -32716,7 +32715,7 @@ const Oc = `$#,##0.${"0".repeat(2)}`, Tg = (e, t, n, r) => {
|
|
|
32716
32715
|
i + Z,
|
|
32717
32716
|
t + x,
|
|
32718
32717
|
a
|
|
32719
|
-
), { m: j, ct: Y, ...L } = Q || {}, Ce =
|
|
32718
|
+
), { m: j, ct: Y, ...L } = Q || {}, Ce = zo(ae);
|
|
32720
32719
|
K.push({
|
|
32721
32720
|
...L,
|
|
32722
32721
|
...Bs(Q, Ce),
|
|
@@ -32775,7 +32774,7 @@ const Oc = `$#,##0.${"0".repeat(2)}`, Tg = (e, t, n, r) => {
|
|
|
32775
32774
|
i + 1 + H,
|
|
32776
32775
|
t + ae,
|
|
32777
32776
|
a
|
|
32778
|
-
), { m: j, ct: Y, ...L } = Q || {}, Ce =
|
|
32777
|
+
), { m: j, ct: Y, ...L } = Q || {}, Ce = zo(x), oe = {};
|
|
32779
32778
|
Ce && xc(K) && !l ? (oe.m = st(Oc, x), oe.ht = 2) : x && (oe.m = String(x)), Z.push({
|
|
32780
32779
|
...L,
|
|
32781
32780
|
...Bs(Q, Ce),
|
|
@@ -32792,8 +32791,8 @@ const Oc = `$#,##0.${"0".repeat(2)}`, Tg = (e, t, n, r) => {
|
|
|
32792
32791
|
var l, o, i;
|
|
32793
32792
|
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];
|
|
32794
32793
|
return a == null ? {} : typeof a == "object" ? { ...a } : { v: a };
|
|
32795
|
-
},
|
|
32796
|
-
const r =
|
|
32794
|
+
}, zo = (e) => vg(e) && !_g(e), Fc = (e) => Array.isArray(e) ? e.map((t) => ({ ...t })) : e, _r = (e, t, n) => {
|
|
32795
|
+
const r = zo(e);
|
|
32797
32796
|
if (n && r && xc(n)) {
|
|
32798
32797
|
const { s: i, ...u } = t || {};
|
|
32799
32798
|
return { ...u, t: "n", fa: Oc, ht: 2 };
|
|
@@ -32870,7 +32869,7 @@ const Oc = `$#,##0.${"0".repeat(2)}`, Tg = (e, t, n, r) => {
|
|
|
32870
32869
|
} catch {
|
|
32871
32870
|
return;
|
|
32872
32871
|
}
|
|
32873
|
-
},
|
|
32872
|
+
}, h0 = async ({
|
|
32874
32873
|
functionCallString: e,
|
|
32875
32874
|
sheetEditorRef: t,
|
|
32876
32875
|
dataBlockRow: n,
|
|
@@ -32890,7 +32889,7 @@ const Oc = `$#,##0.${"0".repeat(2)}`, Tg = (e, t, n, r) => {
|
|
|
32890
32889
|
);
|
|
32891
32890
|
}
|
|
32892
32891
|
if (Aa(m)) {
|
|
32893
|
-
const d =
|
|
32892
|
+
const d = Wo(m);
|
|
32894
32893
|
return Hs(
|
|
32895
32894
|
t,
|
|
32896
32895
|
d == null ? void 0 : d.row,
|
|
@@ -32969,7 +32968,7 @@ function Lc(e) {
|
|
|
32969
32968
|
const t = e.split(":");
|
|
32970
32969
|
return t.length !== 2 ? !1 : Aa(t[0]) && Aa(t[1]);
|
|
32971
32970
|
}
|
|
32972
|
-
function
|
|
32971
|
+
function Wo(e) {
|
|
32973
32972
|
if (!Aa(e))
|
|
32974
32973
|
return null;
|
|
32975
32974
|
const t = e.match(/^([A-Z]+)(\d+)$/);
|
|
@@ -32989,7 +32988,7 @@ function zo(e) {
|
|
|
32989
32988
|
function Ag(e) {
|
|
32990
32989
|
if (!Lc(e))
|
|
32991
32990
|
return null;
|
|
32992
|
-
const t = e.split(":"), n =
|
|
32991
|
+
const t = e.split(":"), n = Wo(t[0]), r = Wo(t[1]);
|
|
32993
32992
|
if (!n || !r)
|
|
32994
32993
|
return null;
|
|
32995
32994
|
const a = Math.min(n.row, r.row), l = Math.max(n.row, r.row), o = Math.min(n.column, r.column), i = Math.max(n.column, r.column), u = [];
|
|
@@ -33002,27 +33001,27 @@ export {
|
|
|
33002
33001
|
st as $,
|
|
33003
33002
|
ut as A,
|
|
33004
33003
|
vn as B,
|
|
33005
|
-
|
|
33006
|
-
|
|
33007
|
-
|
|
33008
|
-
|
|
33009
|
-
|
|
33004
|
+
O1 as C,
|
|
33005
|
+
q1 as D,
|
|
33006
|
+
F1 as E,
|
|
33007
|
+
D1 as F,
|
|
33008
|
+
x1 as G,
|
|
33010
33009
|
At as H,
|
|
33011
|
-
|
|
33012
|
-
|
|
33010
|
+
pl as I,
|
|
33011
|
+
gl as J,
|
|
33013
33012
|
rt as K,
|
|
33014
33013
|
at as L,
|
|
33015
33014
|
qt as M,
|
|
33016
33015
|
bn as N,
|
|
33017
|
-
|
|
33016
|
+
e1 as O,
|
|
33018
33017
|
Er as P,
|
|
33019
33018
|
Lt as Q,
|
|
33020
33019
|
Bt as R,
|
|
33021
33020
|
Gg as S,
|
|
33022
33021
|
Qn as T,
|
|
33023
|
-
|
|
33022
|
+
jy as U,
|
|
33024
33023
|
nr as V,
|
|
33025
|
-
|
|
33024
|
+
Gy as W,
|
|
33026
33025
|
Dt as X,
|
|
33027
33026
|
Yr as Y,
|
|
33028
33027
|
Ya as Z,
|
|
@@ -33032,39 +33031,39 @@ export {
|
|
|
33032
33031
|
rc as a0,
|
|
33033
33032
|
Nu as a1,
|
|
33034
33033
|
jh as a2,
|
|
33035
|
-
|
|
33034
|
+
wl as a3,
|
|
33036
33035
|
Ap as a4,
|
|
33037
33036
|
ec as a5,
|
|
33038
33037
|
Fg as a6,
|
|
33039
33038
|
Jc as a7,
|
|
33040
33039
|
jn as a8,
|
|
33041
|
-
|
|
33040
|
+
hy as a9,
|
|
33042
33041
|
Pg as aA,
|
|
33043
|
-
|
|
33042
|
+
Ky as aB,
|
|
33044
33043
|
yg as aC,
|
|
33045
|
-
|
|
33046
|
-
|
|
33044
|
+
Zy as aD,
|
|
33045
|
+
s1 as aE,
|
|
33047
33046
|
Su as aF,
|
|
33048
|
-
|
|
33047
|
+
o0 as aG,
|
|
33049
33048
|
Hg as aH,
|
|
33050
33049
|
eu as aI,
|
|
33051
|
-
|
|
33050
|
+
r0 as aJ,
|
|
33052
33051
|
rr as aK,
|
|
33053
|
-
|
|
33054
|
-
|
|
33052
|
+
L1 as aL,
|
|
33053
|
+
m0 as aM,
|
|
33055
33054
|
Br as aN,
|
|
33056
|
-
|
|
33055
|
+
i0 as aO,
|
|
33057
33056
|
gg as aP,
|
|
33058
|
-
|
|
33057
|
+
d0 as aQ,
|
|
33059
33058
|
wg as aR,
|
|
33060
|
-
|
|
33059
|
+
l0 as aS,
|
|
33061
33060
|
Ug as aT,
|
|
33062
|
-
|
|
33063
|
-
|
|
33061
|
+
u1 as aU,
|
|
33062
|
+
c0 as aV,
|
|
33064
33063
|
Ws as aW,
|
|
33065
33064
|
qp as aX,
|
|
33066
|
-
|
|
33067
|
-
|
|
33065
|
+
ay as aY,
|
|
33066
|
+
X1 as aZ,
|
|
33068
33067
|
Wm as a_,
|
|
33069
33068
|
dc as aa,
|
|
33070
33069
|
fc as ab,
|
|
@@ -33074,56 +33073,56 @@ export {
|
|
|
33074
33073
|
Jt as af,
|
|
33075
33074
|
ap as ag,
|
|
33076
33075
|
Lr as ah,
|
|
33077
|
-
|
|
33076
|
+
e0 as ai,
|
|
33078
33077
|
Dc as aj,
|
|
33079
33078
|
bp as ak,
|
|
33080
|
-
|
|
33079
|
+
f0 as al,
|
|
33081
33080
|
bg as am,
|
|
33082
|
-
|
|
33083
|
-
|
|
33081
|
+
Qy as an,
|
|
33082
|
+
t0 as ao,
|
|
33084
33083
|
Yg as ap,
|
|
33085
33084
|
Wg as aq,
|
|
33086
|
-
|
|
33087
|
-
|
|
33085
|
+
Xy as ar,
|
|
33086
|
+
Jy as as,
|
|
33088
33087
|
zg as at,
|
|
33089
33088
|
ka as au,
|
|
33090
|
-
|
|
33091
|
-
|
|
33089
|
+
a0 as av,
|
|
33090
|
+
u0 as aw,
|
|
33092
33091
|
lm as ax,
|
|
33093
33092
|
_n as ay,
|
|
33094
|
-
|
|
33093
|
+
n0 as az,
|
|
33095
33094
|
Bg as b,
|
|
33096
|
-
|
|
33097
|
-
|
|
33098
|
-
|
|
33095
|
+
b1 as b$,
|
|
33096
|
+
uy as b0,
|
|
33097
|
+
cy as b1,
|
|
33099
33098
|
Pp as b2,
|
|
33100
33099
|
Wp as b3,
|
|
33101
33100
|
Qt as b4,
|
|
33102
33101
|
Fp as b5,
|
|
33103
33102
|
Op as b6,
|
|
33104
|
-
|
|
33103
|
+
yy as b7,
|
|
33105
33104
|
xp as b8,
|
|
33106
33105
|
Dp as b9,
|
|
33107
33106
|
Lp as bA,
|
|
33108
33107
|
Bp as bB,
|
|
33109
33108
|
Hp as bC,
|
|
33110
|
-
|
|
33109
|
+
K1 as bD,
|
|
33111
33110
|
th as bE,
|
|
33112
|
-
|
|
33111
|
+
j1 as bF,
|
|
33113
33112
|
ir as bG,
|
|
33114
|
-
|
|
33113
|
+
dl as bH,
|
|
33115
33114
|
La as bI,
|
|
33116
33115
|
Fm as bJ,
|
|
33117
|
-
|
|
33118
|
-
|
|
33116
|
+
B1 as bK,
|
|
33117
|
+
Ny as bL,
|
|
33119
33118
|
Qe as bM,
|
|
33120
33119
|
Ge as bN,
|
|
33121
33120
|
mu as bO,
|
|
33122
|
-
|
|
33121
|
+
A1 as bP,
|
|
33123
33122
|
sr as bQ,
|
|
33124
|
-
|
|
33123
|
+
E1 as bR,
|
|
33125
33124
|
kp as bS,
|
|
33126
|
-
|
|
33125
|
+
T1 as bT,
|
|
33127
33126
|
Or as bU,
|
|
33128
33127
|
Dr as bV,
|
|
33129
33128
|
oc as bW,
|
|
@@ -33131,74 +33130,74 @@ export {
|
|
|
33131
33130
|
Bu as bY,
|
|
33132
33131
|
Wr as bZ,
|
|
33133
33132
|
Ou as b_,
|
|
33134
|
-
|
|
33133
|
+
ey as ba,
|
|
33135
33134
|
Xp as bb,
|
|
33136
|
-
|
|
33137
|
-
|
|
33138
|
-
|
|
33139
|
-
|
|
33140
|
-
|
|
33141
|
-
|
|
33135
|
+
ry as bc,
|
|
33136
|
+
ny as bd,
|
|
33137
|
+
ty as be,
|
|
33138
|
+
Q1 as bf,
|
|
33139
|
+
J1 as bg,
|
|
33140
|
+
oy as bh,
|
|
33142
33141
|
eh as bi,
|
|
33143
|
-
|
|
33144
|
-
|
|
33145
|
-
|
|
33142
|
+
Lo as bj,
|
|
33143
|
+
G1 as bk,
|
|
33144
|
+
vy as bl,
|
|
33146
33145
|
Mc as bm,
|
|
33147
33146
|
Wu as bn,
|
|
33148
33147
|
Oa as bo,
|
|
33149
33148
|
Km as bp,
|
|
33150
33149
|
zu as bq,
|
|
33151
33150
|
Yu as br,
|
|
33152
|
-
|
|
33151
|
+
Z1 as bs,
|
|
33153
33152
|
Hm as bt,
|
|
33154
33153
|
Fa as bu,
|
|
33155
33154
|
Vu as bv,
|
|
33156
|
-
|
|
33157
|
-
|
|
33155
|
+
Zg as bw,
|
|
33156
|
+
P1 as bx,
|
|
33158
33157
|
Jm as by,
|
|
33159
|
-
|
|
33158
|
+
Vy as bz,
|
|
33160
33159
|
Uc as c,
|
|
33161
33160
|
kh as c$,
|
|
33162
|
-
|
|
33161
|
+
w1 as c0,
|
|
33163
33162
|
tp as c1,
|
|
33164
33163
|
Es as c2,
|
|
33165
|
-
|
|
33164
|
+
Ry as c3,
|
|
33166
33165
|
nh as c4,
|
|
33167
|
-
|
|
33168
|
-
|
|
33169
|
-
|
|
33166
|
+
My as c5,
|
|
33167
|
+
V1 as c6,
|
|
33168
|
+
Yy as c7,
|
|
33170
33169
|
rh as c8,
|
|
33171
33170
|
oh as c9,
|
|
33172
|
-
|
|
33173
|
-
|
|
33174
|
-
|
|
33175
|
-
|
|
33176
|
-
|
|
33177
|
-
|
|
33171
|
+
R1 as cA,
|
|
33172
|
+
$1 as cB,
|
|
33173
|
+
zy as cC,
|
|
33174
|
+
fy as cD,
|
|
33175
|
+
z1 as cE,
|
|
33176
|
+
h1 as cF,
|
|
33178
33177
|
pc as cG,
|
|
33179
33178
|
Xd as cH,
|
|
33180
33179
|
Ma as cI,
|
|
33181
33180
|
Vt as cJ,
|
|
33182
|
-
|
|
33183
|
-
|
|
33181
|
+
l1 as cK,
|
|
33182
|
+
dy as cL,
|
|
33184
33183
|
Mr as cM,
|
|
33185
33184
|
fg as cN,
|
|
33186
33185
|
Ft as cO,
|
|
33187
33186
|
Eu as cP,
|
|
33188
|
-
|
|
33189
|
-
|
|
33190
|
-
|
|
33191
|
-
|
|
33187
|
+
f1 as cQ,
|
|
33188
|
+
iy as cR,
|
|
33189
|
+
ly as cS,
|
|
33190
|
+
Oo as cT,
|
|
33192
33191
|
iu as cU,
|
|
33193
|
-
|
|
33192
|
+
Cy as cV,
|
|
33194
33193
|
Vr as cW,
|
|
33195
|
-
|
|
33194
|
+
Ty as cX,
|
|
33196
33195
|
Jf as cY,
|
|
33197
33196
|
rd as cZ,
|
|
33198
|
-
|
|
33197
|
+
c1 as c_,
|
|
33199
33198
|
ah as ca,
|
|
33200
|
-
|
|
33201
|
-
|
|
33199
|
+
Wy as cb,
|
|
33200
|
+
i1 as cc,
|
|
33202
33201
|
Sn as cd,
|
|
33203
33202
|
qr as ce,
|
|
33204
33203
|
Ua as cf,
|
|
@@ -33209,132 +33208,133 @@ export {
|
|
|
33209
33208
|
ya as ck,
|
|
33210
33209
|
Ud as cl,
|
|
33211
33210
|
Hd as cm,
|
|
33212
|
-
|
|
33213
|
-
|
|
33211
|
+
n1 as cn,
|
|
33212
|
+
t1 as co,
|
|
33214
33213
|
qu as cp,
|
|
33215
|
-
|
|
33214
|
+
d1 as cq,
|
|
33216
33215
|
jd as cr,
|
|
33217
33216
|
gd as cs,
|
|
33218
33217
|
Dm as ct,
|
|
33219
33218
|
Ip as cu,
|
|
33220
33219
|
$u as cv,
|
|
33221
|
-
|
|
33222
|
-
|
|
33223
|
-
|
|
33224
|
-
|
|
33225
|
-
|
|
33226
|
-
|
|
33220
|
+
sy as cw,
|
|
33221
|
+
Py as cx,
|
|
33222
|
+
I1 as cy,
|
|
33223
|
+
M1 as cz,
|
|
33224
|
+
Do as d,
|
|
33225
|
+
Y1 as d$,
|
|
33227
33226
|
sc as d0,
|
|
33228
33227
|
Xt as d1,
|
|
33229
33228
|
Xm as d2,
|
|
33230
|
-
|
|
33229
|
+
Jg as d3,
|
|
33231
33230
|
wp as d4,
|
|
33232
33231
|
Hn as d5,
|
|
33233
|
-
|
|
33232
|
+
$y as d6,
|
|
33234
33233
|
lc as d7,
|
|
33235
|
-
|
|
33236
|
-
|
|
33234
|
+
Qg as d8,
|
|
33235
|
+
Kg as d9,
|
|
33237
33236
|
xd as dA,
|
|
33238
|
-
|
|
33237
|
+
tl as dB,
|
|
33239
33238
|
Au as dC,
|
|
33240
|
-
|
|
33239
|
+
k1 as dD,
|
|
33241
33240
|
Ia as dE,
|
|
33242
33241
|
Rt as dF,
|
|
33243
33242
|
wu as dG,
|
|
33244
33243
|
tr as dH,
|
|
33245
33244
|
Dg as dI,
|
|
33246
|
-
|
|
33245
|
+
_y as dJ,
|
|
33247
33246
|
Qf as dK,
|
|
33248
33247
|
It as dL,
|
|
33249
|
-
|
|
33250
|
-
|
|
33248
|
+
g1 as dM,
|
|
33249
|
+
v1 as dN,
|
|
33251
33250
|
xr as dO,
|
|
33252
33251
|
Cu as dP,
|
|
33253
|
-
|
|
33252
|
+
ul as dQ,
|
|
33254
33253
|
ju as dR,
|
|
33255
|
-
|
|
33254
|
+
y1 as dS,
|
|
33256
33255
|
Sp as dT,
|
|
33257
|
-
|
|
33256
|
+
Sy as dU,
|
|
33258
33257
|
Os as dV,
|
|
33259
33258
|
Ru as dW,
|
|
33260
33259
|
xm as dX,
|
|
33261
33260
|
lr as dY,
|
|
33262
|
-
|
|
33263
|
-
|
|
33264
|
-
|
|
33261
|
+
p1 as dZ,
|
|
33262
|
+
W1 as d_,
|
|
33263
|
+
Bo as da,
|
|
33265
33264
|
_p as db,
|
|
33266
33265
|
vp as dc,
|
|
33267
33266
|
hu as dd,
|
|
33268
33267
|
kn as de,
|
|
33269
33268
|
Lu as df,
|
|
33270
|
-
|
|
33269
|
+
Ay as dg,
|
|
33271
33270
|
xu as dh,
|
|
33272
|
-
|
|
33273
|
-
|
|
33271
|
+
Fy as di,
|
|
33272
|
+
qy as dj,
|
|
33274
33273
|
Yp as dk,
|
|
33275
33274
|
Vp as dl,
|
|
33276
|
-
|
|
33277
|
-
|
|
33278
|
-
|
|
33279
|
-
|
|
33280
|
-
|
|
33281
|
-
|
|
33275
|
+
By as dm,
|
|
33276
|
+
Oy as dn,
|
|
33277
|
+
xy as dp,
|
|
33278
|
+
Ly as dq,
|
|
33279
|
+
Dy as dr,
|
|
33280
|
+
my as ds,
|
|
33282
33281
|
gp as dt,
|
|
33283
33282
|
$n as du,
|
|
33284
33283
|
Od as dv,
|
|
33285
|
-
|
|
33284
|
+
xo as dw,
|
|
33286
33285
|
jp as dx,
|
|
33287
|
-
|
|
33288
|
-
|
|
33289
|
-
|
|
33286
|
+
Ey as dy,
|
|
33287
|
+
wy as dz,
|
|
33288
|
+
h0 as e,
|
|
33290
33289
|
np as e0,
|
|
33291
33290
|
ar as e1,
|
|
33292
|
-
|
|
33291
|
+
_1 as e2,
|
|
33293
33292
|
Vg as e3,
|
|
33294
|
-
|
|
33295
|
-
|
|
33293
|
+
C1 as e4,
|
|
33294
|
+
H1 as e5,
|
|
33296
33295
|
hm as e6,
|
|
33297
33296
|
mm as e7,
|
|
33298
33297
|
nd as e8,
|
|
33299
33298
|
Uu as e9,
|
|
33300
|
-
|
|
33301
|
-
|
|
33302
|
-
|
|
33303
|
-
|
|
33304
|
-
|
|
33305
|
-
|
|
33306
|
-
|
|
33307
|
-
|
|
33308
|
-
|
|
33309
|
-
|
|
33310
|
-
|
|
33311
|
-
|
|
33312
|
-
|
|
33313
|
-
|
|
33299
|
+
Lg as eA,
|
|
33300
|
+
of as eB,
|
|
33301
|
+
xg as eC,
|
|
33302
|
+
qg as eD,
|
|
33303
|
+
_g as eE,
|
|
33304
|
+
kg as eF,
|
|
33305
|
+
Lc as eG,
|
|
33306
|
+
Ag as eH,
|
|
33307
|
+
Aa as eI,
|
|
33308
|
+
Wo as eJ,
|
|
33309
|
+
Ng as eK,
|
|
33310
|
+
Sg as eL,
|
|
33311
|
+
Oc as eM,
|
|
33312
|
+
by as ea,
|
|
33313
|
+
U1 as eb,
|
|
33314
33314
|
qh as ec,
|
|
33315
|
-
|
|
33315
|
+
N1 as ed,
|
|
33316
33316
|
Ca as ee,
|
|
33317
|
-
|
|
33318
|
-
|
|
33319
|
-
|
|
33320
|
-
|
|
33321
|
-
|
|
33322
|
-
|
|
33317
|
+
Hy as ef,
|
|
33318
|
+
Uy as eg,
|
|
33319
|
+
py as eh,
|
|
33320
|
+
m1 as ei,
|
|
33321
|
+
ky as ej,
|
|
33322
|
+
r1 as ek,
|
|
33323
33323
|
cc as el,
|
|
33324
|
-
|
|
33324
|
+
gy as em,
|
|
33325
33325
|
Og as en,
|
|
33326
|
-
|
|
33326
|
+
Iy as eo,
|
|
33327
33327
|
cp as ep,
|
|
33328
|
-
|
|
33329
|
-
|
|
33330
|
-
|
|
33331
|
-
|
|
33332
|
-
|
|
33328
|
+
Xg as eq,
|
|
33329
|
+
Vo as er,
|
|
33330
|
+
jo as es,
|
|
33331
|
+
Ys as et,
|
|
33332
|
+
jg as eu,
|
|
33333
33333
|
a1 as ev,
|
|
33334
|
-
|
|
33335
|
-
|
|
33336
|
-
|
|
33337
|
-
|
|
33334
|
+
o1 as ew,
|
|
33335
|
+
ku as ex,
|
|
33336
|
+
Vs as ey,
|
|
33337
|
+
Un as ez,
|
|
33338
33338
|
Cg as f,
|
|
33339
33339
|
zs as g,
|
|
33340
33340
|
Td as h,
|
|
@@ -33343,13 +33343,13 @@ export {
|
|
|
33343
33343
|
qn as k,
|
|
33344
33344
|
ke as l,
|
|
33345
33345
|
Qu as m,
|
|
33346
|
-
|
|
33346
|
+
S1 as n,
|
|
33347
33347
|
lp as o,
|
|
33348
33348
|
ac as p,
|
|
33349
33349
|
bu as q,
|
|
33350
|
-
|
|
33350
|
+
qo as r,
|
|
33351
33351
|
Ju as s,
|
|
33352
|
-
|
|
33352
|
+
s0 as t,
|
|
33353
33353
|
rn as u,
|
|
33354
33354
|
tc as v,
|
|
33355
33355
|
ds as w,
|