@fileverse-dev/dsheet 1.2.93-ydoc-2 → 1.2.93-ydoc-4
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/index.es.js +232 -226
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -14,7 +14,7 @@ var VN = (e, t, r, i) => ({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
import * as Ie from "react";
|
|
17
|
-
import W, { useRef as hr, useContext as da, useState as Qt, useMemo as In, useEffect as
|
|
17
|
+
import W, { useRef as hr, useContext as da, useState as Qt, useMemo as In, useEffect as or, useCallback as xr, forwardRef as $l, createElement as Vr, createContext as pl, memo as uD, useLayoutEffect as To, useId as vD, Children as uae, isValidElement as vae, useInsertionEffect as tz, createRef as Qu, Fragment as wg, Suspense as mae, Component as rz, cloneElement as az, useImperativeHandle as hae } from "react";
|
|
18
18
|
import * as xg from "react-dom";
|
|
19
19
|
import dae, { createPortal as mD } from "react-dom";
|
|
20
20
|
var Ea = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -7378,7 +7378,7 @@ ow.exports;
|
|
|
7378
7378
|
return !0;
|
|
7379
7379
|
return !1;
|
|
7380
7380
|
}
|
|
7381
|
-
var Bc =
|
|
7381
|
+
var Bc = cr("length");
|
|
7382
7382
|
function B0(Vt) {
|
|
7383
7383
|
return Vt.split("");
|
|
7384
7384
|
}
|
|
@@ -7414,7 +7414,7 @@ ow.exports;
|
|
|
7414
7414
|
var ir = Vt == null ? 0 : Vt.length;
|
|
7415
7415
|
return ir ? Ct(Vt, pr) / ir : I;
|
|
7416
7416
|
}
|
|
7417
|
-
function
|
|
7417
|
+
function cr(Vt) {
|
|
7418
7418
|
return function(pr) {
|
|
7419
7419
|
return pr == null ? r : pr[Vt];
|
|
7420
7420
|
};
|
|
@@ -9494,7 +9494,7 @@ ow.exports;
|
|
|
9494
9494
|
if (_1(we))
|
|
9495
9495
|
return re = k1(we.length, re), !0;
|
|
9496
9496
|
}), _t(re, function(we) {
|
|
9497
|
-
return Wa(V,
|
|
9497
|
+
return Wa(V, cr(we));
|
|
9498
9498
|
});
|
|
9499
9499
|
}
|
|
9500
9500
|
function V4(V, re) {
|
|
@@ -10511,7 +10511,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
10511
10511
|
}
|
|
10512
10512
|
var oi = D4(Wa), J1 = D4(Ga), v0 = D4(I0);
|
|
10513
10513
|
function T1(V) {
|
|
10514
|
-
return Gm(V) ?
|
|
10514
|
+
return Gm(V) ? cr(ro(V)) : l_(V);
|
|
10515
10515
|
}
|
|
10516
10516
|
function rl(V) {
|
|
10517
10517
|
return function(re) {
|
|
@@ -92153,8 +92153,8 @@ function YL(e, t, r, i, n, a) {
|
|
|
92153
92153
|
var Uv = ns[Ol].rangeType;
|
|
92154
92154
|
if (Uv === "range")
|
|
92155
92155
|
for (var Z1 = ns[Ol].borderType, zr = ns[Ol].color, Ur = ns[Ol].style, Ji = ns[Ol].range, wm = function(I1) {
|
|
92156
|
-
var
|
|
92157
|
-
if (
|
|
92156
|
+
var cr = Ji[I1].row[0], mn = Ji[I1].row[1], vi = Ji[I1].column[0], yn = Ji[I1].column[1];
|
|
92157
|
+
if (cr < t && (cr = t), mn > r && (mn = r), vi < i && (vi = i), yn > n && (yn = n), Z1 === "border-slash") {
|
|
92158
92158
|
var Ct = Ji[0].row_focus, _t = Ji[0].column_focus;
|
|
92159
92159
|
if (!ce.isNil(Ma.rowhidden) && !ce.isNil(Ma.rowhidden[Ct]) || _t < i || _t > n || Ct < t || Ct > r) return "continue";
|
|
92160
92160
|
Tt["".concat(Ct, "_").concat(_t)] === void 0 && (Tt["".concat(Ct, "_").concat(_t)] = {}), Tt["".concat(Ct, "_").concat(_t)].s = {
|
|
@@ -92189,7 +92189,7 @@ function YL(e, t, r, i, n, a) {
|
|
|
92189
92189
|
var Ri = Wi[xl], Zi = Ri.c, $i = Ri.r, Qs = Ri.cs, Js = Ri.rs;
|
|
92190
92190
|
vi <= Zi + Qs - 1 && vi > Zi && ga >= $i && ga <= $i + Js - 1 && (Tt["".concat(ga, "_").concat(vi)].l = null);
|
|
92191
92191
|
});
|
|
92192
|
-
}, Ct =
|
|
92192
|
+
}, Ct = cr; Ct <= mn; Ct += 1)
|
|
92193
92193
|
Vi(Ct);
|
|
92194
92194
|
else if (Z1 === "border-right")
|
|
92195
92195
|
for (var Hv = function(ga) {
|
|
@@ -92218,17 +92218,17 @@ function YL(e, t, r, i, n, a) {
|
|
|
92218
92218
|
var Ri = Wi[xl], Zi = Ri.c, $i = Ri.r, Qs = Ri.cs, Js = Ri.rs;
|
|
92219
92219
|
yn < Zi + Qs - 1 && yn >= Zi && ga >= $i && ga <= $i + Js - 1 && (Tt["".concat(ga, "_").concat(yn)].r = null);
|
|
92220
92220
|
});
|
|
92221
|
-
}, Ct =
|
|
92221
|
+
}, Ct = cr; Ct <= mn; Ct += 1)
|
|
92222
92222
|
Hv(Ct);
|
|
92223
92223
|
else if (Z1 === "border-top") {
|
|
92224
|
-
if (!ce.isNil(Ma.rowhidden) && !ce.isNil(Ma.rowhidden[
|
|
92224
|
+
if (!ce.isNil(Ma.rowhidden) && !ce.isNil(Ma.rowhidden[cr]))
|
|
92225
92225
|
return "continue";
|
|
92226
92226
|
for (var Rn = function(ga) {
|
|
92227
|
-
Tt["".concat(
|
|
92227
|
+
Tt["".concat(cr, "_").concat(ga)] === void 0 && (Tt["".concat(cr, "_").concat(ga)] = {}), Tt["".concat(cr, "_").concat(ga)].t = {
|
|
92228
92228
|
color: zr,
|
|
92229
92229
|
style: Ur
|
|
92230
92230
|
};
|
|
92231
|
-
var Yn =
|
|
92231
|
+
var Yn = cr - 1;
|
|
92232
92232
|
if (Yn >= 0 && Tt["".concat(Yn, "_").concat(ga)])
|
|
92233
92233
|
if (ce.isNil((b = (d = Jr[Yn]) === null || d === void 0 ? void 0 : d[ga]) === null || b === void 0 ? void 0 : b.mc))
|
|
92234
92234
|
Tt["".concat(Yn, "_").concat(ga)].b = {
|
|
@@ -92245,7 +92245,7 @@ function YL(e, t, r, i, n, a) {
|
|
|
92245
92245
|
var Wi = Ma.merge || {};
|
|
92246
92246
|
Object.keys(Wi).forEach(function(xl) {
|
|
92247
92247
|
var Ri = Wi[xl], Zi = Ri.c, $i = Ri.r, Qs = Ri.cs, Js = Ri.rs;
|
|
92248
|
-
|
|
92248
|
+
cr <= $i + Js - 1 && cr > $i && ga >= Zi && ga <= Zi + Qs - 1 && (Tt["".concat(cr, "_").concat(ga)].t = null);
|
|
92249
92249
|
});
|
|
92250
92250
|
}, _t = vi; _t <= yn; _t += 1)
|
|
92251
92251
|
Rn(_t);
|
|
@@ -92279,7 +92279,7 @@ function YL(e, t, r, i, n, a) {
|
|
|
92279
92279
|
}, _t = vi; _t <= yn; _t += 1)
|
|
92280
92280
|
Fi(_t);
|
|
92281
92281
|
} else if (Z1 === "border-all") {
|
|
92282
|
-
for (var Ct =
|
|
92282
|
+
for (var Ct = cr; Ct <= mn; Ct += 1)
|
|
92283
92283
|
if (!(!ce.isNil(Ma.rowhidden) && !ce.isNil(Ma.rowhidden[Ct])))
|
|
92284
92284
|
for (var _t = vi; _t <= yn; _t += 1) {
|
|
92285
92285
|
if (ce.isNil((z = (R = Jr[Ct]) === null || R === void 0 ? void 0 : R[_t]) === null || z === void 0 ? void 0 : z.mc))
|
|
@@ -92312,8 +92312,8 @@ function YL(e, t, r, i, n, a) {
|
|
|
92312
92312
|
style: Ur
|
|
92313
92313
|
});
|
|
92314
92314
|
}
|
|
92315
|
-
if (Ct ===
|
|
92316
|
-
var Na =
|
|
92315
|
+
if (Ct === cr) {
|
|
92316
|
+
var Na = cr - 1;
|
|
92317
92317
|
if (Na >= 0 && Tt["".concat(Na, "_").concat(_t)])
|
|
92318
92318
|
if (ce.isNil((C = (A = Jr[Na]) === null || A === void 0 ? void 0 : A[_t]) === null || C === void 0 ? void 0 : C.mc))
|
|
92319
92319
|
Tt["".concat(Na, "_").concat(_t)].b = {
|
|
@@ -92378,16 +92378,16 @@ function YL(e, t, r, i, n, a) {
|
|
|
92378
92378
|
}
|
|
92379
92379
|
}
|
|
92380
92380
|
} else if (Z1 === "border-outside") {
|
|
92381
|
-
for (var Ct =
|
|
92381
|
+
for (var Ct = cr; Ct <= mn; Ct += 1)
|
|
92382
92382
|
if (!(!ce.isNil(Ma.rowhidden) && !ce.isNil(Ma.rowhidden[Ct]))) {
|
|
92383
92383
|
for (var _t = vi; _t <= yn; _t += 1)
|
|
92384
|
-
if (Ct ===
|
|
92385
|
-
if (Ct ===
|
|
92384
|
+
if (Ct === cr || Ct === mn || _t === vi || _t === yn) {
|
|
92385
|
+
if (Ct === cr) {
|
|
92386
92386
|
Tt["".concat(Ct, "_").concat(_t)] === void 0 && (Tt["".concat(Ct, "_").concat(_t)] = {}), Tt["".concat(Ct, "_").concat(_t)].t = {
|
|
92387
92387
|
color: zr,
|
|
92388
92388
|
style: Ur
|
|
92389
92389
|
};
|
|
92390
|
-
var Na =
|
|
92390
|
+
var Na = cr - 1;
|
|
92391
92391
|
if (Na >= 0 && Tt["".concat(Na, "_").concat(_t)])
|
|
92392
92392
|
if (ce.isNil((ge = (me = Jr[Na]) === null || me === void 0 ? void 0 : me[_t]) === null || ge === void 0 ? void 0 : ge.mc))
|
|
92393
92393
|
Tt["".concat(Na, "_").concat(_t)].b = {
|
|
@@ -92465,10 +92465,10 @@ function YL(e, t, r, i, n, a) {
|
|
|
92465
92465
|
}
|
|
92466
92466
|
}
|
|
92467
92467
|
} else if (Z1 === "border-inside") {
|
|
92468
|
-
for (var Ct =
|
|
92468
|
+
for (var Ct = cr; Ct <= mn; Ct += 1)
|
|
92469
92469
|
if (!(!ce.isNil(Ma.rowhidden) && !ce.isNil(Ma.rowhidden[Ct])))
|
|
92470
92470
|
for (var _t = vi; _t <= yn; _t += 1)
|
|
92471
|
-
if (Ct ===
|
|
92471
|
+
if (Ct === cr && _t === vi)
|
|
92472
92472
|
ce.isNil((Re = (mt = Jr[Ct]) === null || mt === void 0 ? void 0 : mt[_t]) === null || Re === void 0 ? void 0 : Re.mc) && (Tt["".concat(Ct, "_").concat(_t)] === void 0 && (Tt["".concat(Ct, "_").concat(_t)] = {}), !Ct === mn && (Tt["".concat(Ct, "_").concat(_t)].r = {
|
|
92473
92473
|
color: zr,
|
|
92474
92474
|
style: Ur
|
|
@@ -92484,7 +92484,7 @@ function YL(e, t, r, i, n, a) {
|
|
|
92484
92484
|
color: zr,
|
|
92485
92485
|
style: Ur
|
|
92486
92486
|
});
|
|
92487
|
-
else if (Ct ===
|
|
92487
|
+
else if (Ct === cr && _t === yn)
|
|
92488
92488
|
ce.isNil((Be = (kt = Jr[Ct]) === null || kt === void 0 ? void 0 : kt[_t]) === null || Be === void 0 ? void 0 : Be.mc) && (Tt["".concat(Ct, "_").concat(_t)] === void 0 && (Tt["".concat(Ct, "_").concat(_t)] = {}), Tt["".concat(Ct, "_").concat(_t)].l = {
|
|
92489
92489
|
color: zr,
|
|
92490
92490
|
style: Ur
|
|
@@ -92500,7 +92500,7 @@ function YL(e, t, r, i, n, a) {
|
|
|
92500
92500
|
color: zr,
|
|
92501
92501
|
style: Ur
|
|
92502
92502
|
});
|
|
92503
|
-
else if (Ct ===
|
|
92503
|
+
else if (Ct === cr)
|
|
92504
92504
|
if (ce.isNil((gt = (rt = Jr[Ct]) === null || rt === void 0 ? void 0 : rt[_t]) === null || gt === void 0 ? void 0 : gt.mc))
|
|
92505
92505
|
Tt["".concat(Ct, "_").concat(_t)] === void 0 && (Tt["".concat(Ct, "_").concat(_t)] = {}), Tt["".concat(Ct, "_").concat(_t)].l = {
|
|
92506
92506
|
color: zr,
|
|
@@ -92619,10 +92619,10 @@ function YL(e, t, r, i, n, a) {
|
|
|
92619
92619
|
}));
|
|
92620
92620
|
}
|
|
92621
92621
|
} else if (Z1 === "border-horizontal") {
|
|
92622
|
-
for (var Ct =
|
|
92622
|
+
for (var Ct = cr; Ct <= mn; Ct += 1)
|
|
92623
92623
|
if (!(!ce.isNil(Ma.rowhidden) && !ce.isNil(Ma.rowhidden[Ct])))
|
|
92624
92624
|
for (var _t = vi; _t <= yn; _t += 1)
|
|
92625
|
-
if (Ct ===
|
|
92625
|
+
if (Ct === cr)
|
|
92626
92626
|
ce.isNil((ra = (sa = Jr[Ct]) === null || sa === void 0 ? void 0 : sa[_t]) === null || ra === void 0 ? void 0 : ra.mc) && (Tt["".concat(Ct, "_").concat(_t)] === void 0 && (Tt["".concat(Ct, "_").concat(_t)] = {}), Tt["".concat(Ct, "_").concat(_t)].b = {
|
|
92627
92627
|
color: zr,
|
|
92628
92628
|
style: Ur
|
|
@@ -92651,7 +92651,7 @@ function YL(e, t, r, i, n, a) {
|
|
|
92651
92651
|
});
|
|
92652
92652
|
}
|
|
92653
92653
|
} else if (Z1 === "border-vertical") {
|
|
92654
|
-
for (var Ct =
|
|
92654
|
+
for (var Ct = cr; Ct <= mn; Ct += 1)
|
|
92655
92655
|
if (!(!ce.isNil(Ma.rowhidden) && !ce.isNil(Ma.rowhidden[Ct])))
|
|
92656
92656
|
for (var _t = vi; _t <= yn; _t += 1)
|
|
92657
92657
|
if (_t === vi)
|
|
@@ -92683,11 +92683,11 @@ function YL(e, t, r, i, n, a) {
|
|
|
92683
92683
|
});
|
|
92684
92684
|
}
|
|
92685
92685
|
} else if (Z1 === "border-none") {
|
|
92686
|
-
for (var Ct =
|
|
92686
|
+
for (var Ct = cr; Ct <= mn; Ct += 1)
|
|
92687
92687
|
if (!(!ce.isNil(Ma.rowhidden) && !ce.isNil(Ma.rowhidden[Ct])))
|
|
92688
92688
|
for (var _t = vi; _t <= yn; _t += 1) {
|
|
92689
|
-
if (ce.isNil(Tt["".concat(Ct, "_").concat(_t)]) || delete Tt["".concat(Ct, "_").concat(_t)], Ct ===
|
|
92690
|
-
var Na =
|
|
92689
|
+
if (ce.isNil(Tt["".concat(Ct, "_").concat(_t)]) || delete Tt["".concat(Ct, "_").concat(_t)], Ct === cr) {
|
|
92690
|
+
var Na = cr - 1;
|
|
92691
92691
|
Na >= 0 && Tt["".concat(Na, "_").concat(_t)] && delete Tt["".concat(Na, "_").concat(_t)].b;
|
|
92692
92692
|
}
|
|
92693
92693
|
if (Ct === mn) {
|
|
@@ -103241,7 +103241,7 @@ var m5e = function(t, r) {
|
|
|
103241
103241
|
var G, q, Q, ne, oe, Z;
|
|
103242
103242
|
return ((G = w == null ? void 0 : w.frozen) === null || G === void 0 ? void 0 : G.type) === "column" || ((q = w == null ? void 0 : w.frozen) === null || q === void 0 ? void 0 : q.type) === "rangeColumn" || ((Q = w == null ? void 0 : w.frozen) === null || Q === void 0 ? void 0 : Q.type) === "rangeBoth" || ((ne = w == null ? void 0 : w.frozen) === null || ne === void 0 ? void 0 : ne.type) === "both" ? Ui(((Z = (oe = w == null ? void 0 : w.frozen) === null || oe === void 0 ? void 0 : oe.range) === null || Z === void 0 ? void 0 : Z.column_focus) || 0, i.visibledatacolumn)[1] - 2 + i.scrollLeft : i.scrollLeft;
|
|
103243
103243
|
}, [i.visibledatacolumn, w == null ? void 0 : w.frozen, i.scrollLeft]), k = hr(p);
|
|
103244
|
-
|
|
103244
|
+
or(function() {
|
|
103245
103245
|
k.current = p;
|
|
103246
103246
|
}, [p]);
|
|
103247
103247
|
var E = m5e(l, k), F = E.initiateDrag, D = E.getColIndexClicked, B = E.isColDoubleClicked, R = E.mouseDown, z = xr(function(G) {
|
|
@@ -103308,7 +103308,7 @@ var m5e = function(t, r) {
|
|
|
103308
103308
|
MZ(Q, a.globalCache, q, l.current, a.workbookContainer.current, a.cellArea.current);
|
|
103309
103309
|
}), G.stopPropagation();
|
|
103310
103310
|
}, [a.cellArea, a.globalCache, a.workbookContainer, n]);
|
|
103311
|
-
|
|
103311
|
+
or(function() {
|
|
103312
103312
|
var G = i.luckysheet_select_save;
|
|
103313
103313
|
if (!ce.isNil(G) && (d([]), !G[0].row_select)) {
|
|
103314
103314
|
for (var q = {}, Q = 0; Q < G.length; Q += 1) {
|
|
@@ -103328,7 +103328,7 @@ var m5e = function(t, r) {
|
|
|
103328
103328
|
}
|
|
103329
103329
|
}, [i.luckysheet_select_save, i.visibledatacolumn]);
|
|
103330
103330
|
var C = Qt([]), S = C[0], L = C[1];
|
|
103331
|
-
|
|
103331
|
+
or(function() {
|
|
103332
103332
|
var G, q;
|
|
103333
103333
|
if (g != null) {
|
|
103334
103334
|
var Q = [], ne = (q = (G = i.luckysheetfile[g]) === null || G === void 0 ? void 0 : G.config) === null || q === void 0 ? void 0 : q.colhidden;
|
|
@@ -103369,7 +103369,7 @@ var m5e = function(t, r) {
|
|
|
103369
103369
|
}));
|
|
103370
103370
|
}
|
|
103371
103371
|
};
|
|
103372
|
-
|
|
103372
|
+
or(function() {
|
|
103373
103373
|
l.current.scrollLeft = i.scrollLeft;
|
|
103374
103374
|
}, [i.scrollLeft]);
|
|
103375
103375
|
var I = function(q) {
|
|
@@ -103720,7 +103720,7 @@ var m5e = function(t, r) {
|
|
|
103720
103720
|
var q, Q, ne, oe, Z, Y;
|
|
103721
103721
|
return ((q = w == null ? void 0 : w.frozen) === null || q === void 0 ? void 0 : q.type) === "row" || ((Q = w == null ? void 0 : w.frozen) === null || Q === void 0 ? void 0 : Q.type) === "rangeRow" || ((ne = w == null ? void 0 : w.frozen) === null || ne === void 0 ? void 0 : ne.type) === "rangeBoth" || ((oe = w == null ? void 0 : w.frozen) === null || oe === void 0 ? void 0 : oe.type) === "both" ? zi(((Y = (Z = w == null ? void 0 : w.frozen) === null || Z === void 0 ? void 0 : Z.range) === null || Y === void 0 ? void 0 : Y.row_focus) || 0, i.visibledatarow)[1] + i.scrollTop : i.scrollTop;
|
|
103722
103722
|
}, [i.visibledatarow, w == null ? void 0 : w.frozen, i.scrollTop]), k = hr(d);
|
|
103723
|
-
|
|
103723
|
+
or(function() {
|
|
103724
103724
|
k.current = d;
|
|
103725
103725
|
}, [d]);
|
|
103726
103726
|
var E = xr(function(q) {
|
|
@@ -103790,7 +103790,7 @@ var m5e = function(t, r) {
|
|
|
103790
103790
|
EF(ne, a, Q, l.workbookContainer.current, l.cellArea.current, "rowHeader");
|
|
103791
103791
|
});
|
|
103792
103792
|
}, [l.workbookContainer, n, a, l.cellArea]);
|
|
103793
|
-
|
|
103793
|
+
or(function() {
|
|
103794
103794
|
var q, Q = i.luckysheet_select_save || [];
|
|
103795
103795
|
if (!ce.isNil(Q) && (b([]), !(!((q = Q[0]) === null || q === void 0) && q.column_select))) {
|
|
103796
103796
|
for (var ne = {}, oe = 0; oe < Q.length; oe += 1) {
|
|
@@ -103810,7 +103810,7 @@ var m5e = function(t, r) {
|
|
|
103810
103810
|
}
|
|
103811
103811
|
}, [i.luckysheet_select_save, i.visibledatarow]);
|
|
103812
103812
|
var S = Qt([]), L = S[0], T = S[1];
|
|
103813
|
-
|
|
103813
|
+
or(function() {
|
|
103814
103814
|
var q, Q;
|
|
103815
103815
|
if (g != null) {
|
|
103816
103816
|
var ne = [], oe = (Q = (q = i.luckysheetfile[g]) === null || q === void 0 ? void 0 : q.config) === null || Q === void 0 ? void 0 : Q.rowhidden;
|
|
@@ -103851,7 +103851,7 @@ var m5e = function(t, r) {
|
|
|
103851
103851
|
}));
|
|
103852
103852
|
}
|
|
103853
103853
|
};
|
|
103854
|
-
|
|
103854
|
+
or(function() {
|
|
103855
103855
|
f.current.scrollTop = i.scrollTop;
|
|
103856
103856
|
}, [i.scrollTop]);
|
|
103857
103857
|
var G = function(Q) {
|
|
@@ -135740,7 +135740,7 @@ function BY(e = !0) {
|
|
|
135740
135740
|
if (t === null)
|
|
135741
135741
|
return [!0, null];
|
|
135742
135742
|
const { isPresent: r, onExitComplete: i, register: n } = t, a = vD();
|
|
135743
|
-
|
|
135743
|
+
or(() => {
|
|
135744
135744
|
e && n(a);
|
|
135745
135745
|
}, [e]);
|
|
135746
135746
|
const l = xr(() => e && i && i(a), [a, i, e]);
|
|
@@ -135753,7 +135753,7 @@ function nj(e) {
|
|
|
135753
135753
|
vae(r) && t.push(r);
|
|
135754
135754
|
}), t;
|
|
135755
135755
|
}
|
|
135756
|
-
const JF = typeof window < "u", OY = JF ? To :
|
|
135756
|
+
const JF = typeof window < "u", OY = JF ? To : or, idt = ({ children: e, custom: t, initial: r = !0, onExitComplete: i, presenceAffectsLayout: n = !0, mode: a = "sync", propagate: l = !1 }) => {
|
|
135757
135757
|
const [c, f] = BY(l), s = In(() => nj(e), [e]), o = l && !c ? [] : s.map(ay), u = hr(!0), v = hr(s), m = KF(() => /* @__PURE__ */ new Map()), [h, p] = Qt(s), [d, b] = Qt(s);
|
|
135758
135758
|
OY(() => {
|
|
135759
135759
|
u.current = !1, v.current = s;
|
|
@@ -136053,7 +136053,7 @@ function ydt(e, t, r, i, n) {
|
|
|
136053
136053
|
const p = r[UY], d = hr(!!p && !(!((a = window.MotionHandoffIsComplete) === null || a === void 0) && a.call(window, p)) && ((l = window.MotionHasOptimisedAnimation) === null || l === void 0 ? void 0 : l.call(window, p)));
|
|
136054
136054
|
return OY(() => {
|
|
136055
136055
|
v && (h.current = !0, window.MotionIsMounted = !0, v.updateFeatures(), aR.render(v.render), d.current && v.animationState && v.animationState.animateChanges());
|
|
136056
|
-
}),
|
|
136056
|
+
}), or(() => {
|
|
136057
136057
|
v && (!d.current && v.animationState && v.animationState.animateChanges(), d.current && (queueMicrotask(() => {
|
|
136058
136058
|
var b;
|
|
136059
136059
|
(b = window.MotionHandoffMarkAsComplete) === null || b === void 0 || b.call(window, p);
|
|
@@ -145990,7 +145990,7 @@ const vy = {
|
|
|
145990
145990
|
/* @__PURE__ */ ke.jsx("div", { children: /* @__PURE__ */ ke.jsx(Xr, { fill: "none", name: "RectangleHorizontal" }) }),
|
|
145991
145991
|
/* @__PURE__ */ ke.jsx("div", { children: /* @__PURE__ */ ke.jsx(Xr, { fill: "none", name: "Square", size: "md" }) })
|
|
145992
145992
|
];
|
|
145993
|
-
return
|
|
145993
|
+
return or(() => {
|
|
145994
145994
|
s(vy[o]), n == null || n(vy[o]);
|
|
145995
145995
|
}, [o]), /* @__PURE__ */ ke.jsxs(
|
|
145996
145996
|
JR,
|
|
@@ -146410,7 +146410,7 @@ function y$() {
|
|
|
146410
146410
|
function $R(e) {
|
|
146411
146411
|
return typeof window < "u" && window.navigator != null ? e.test(window.navigator.platform) : void 0;
|
|
146412
146412
|
}
|
|
146413
|
-
const j7t = 24, P7t = typeof window < "u" ? To :
|
|
146413
|
+
const j7t = 24, P7t = typeof window < "u" ? To : or;
|
|
146414
146414
|
function OP(...e) {
|
|
146415
146415
|
return (...t) => {
|
|
146416
146416
|
for (let r of e)
|
|
@@ -147509,7 +147509,7 @@ const H$ = Ie.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ ke.jsx(
|
|
|
147509
147509
|
H$.displayName = Su.Description.displayName;
|
|
147510
147510
|
var f8t = typeof $9 == "object" && $9 && $9.Object === Object && $9, u8t = typeof self == "object" && self && self.Object === Object && self;
|
|
147511
147511
|
f8t || u8t || Function("return this")();
|
|
147512
|
-
var v8t = typeof window < "u" ? To :
|
|
147512
|
+
var v8t = typeof window < "u" ? To : or, m8t = typeof window > "u";
|
|
147513
147513
|
function h8t(e, {
|
|
147514
147514
|
defaultValue: t = !1,
|
|
147515
147515
|
initializeWithValue: r = !0
|
|
@@ -147864,7 +147864,7 @@ $l(
|
|
|
147864
147864
|
);
|
|
147865
147865
|
const k8t = ({ content: e }) => {
|
|
147866
147866
|
const [t, r] = Qt(0), i = hr(null);
|
|
147867
|
-
return
|
|
147867
|
+
return or(() => {
|
|
147868
147868
|
e && i.current ? r(i.current.scrollHeight) : r(0);
|
|
147869
147869
|
}, [e]), /* @__PURE__ */ ke.jsx(
|
|
147870
147870
|
Ep.div,
|
|
@@ -148757,7 +148757,7 @@ function K8t(e, t) {
|
|
|
148757
148757
|
return w9t(e) > t;
|
|
148758
148758
|
}
|
|
148759
148759
|
function Q8t(e) {
|
|
148760
|
-
|
|
148760
|
+
or(function() {
|
|
148761
148761
|
e(!0);
|
|
148762
148762
|
}, [e]);
|
|
148763
148763
|
}
|
|
@@ -165944,7 +165944,7 @@ function R9t(e) {
|
|
|
165944
165944
|
var t, r = Qt(function() {
|
|
165945
165945
|
return GP(e);
|
|
165946
165946
|
}), i = r[0], n = r[1];
|
|
165947
|
-
return
|
|
165947
|
+
return or(function() {
|
|
165948
165948
|
nee(i, e) || n(GP(e));
|
|
165949
165949
|
}, [(t = e.customEmojis) == null ? void 0 : t.length, e.open, e.emojiVersion, e.reactionsDefaultOpen, e.searchPlaceHolder, e.searchPlaceholder, e.defaultSkinTone, e.skinTonesDisabled, e.autoFocusSearch, e.emojiStyle, e.theme, e.suggestedEmojisMode, e.lazyLoadEmojis, e.className, e.height, e.width, e.searchDisabled, e.skinTonePickerLocation, e.allowExpandReactions]), i;
|
|
165950
165950
|
}
|
|
@@ -166330,7 +166330,7 @@ function Iee() {
|
|
|
166330
166330
|
}
|
|
166331
166331
|
function vyt() {
|
|
166332
166332
|
var e = Po(), t = Nee(), r = Iee();
|
|
166333
|
-
|
|
166333
|
+
or(function() {
|
|
166334
166334
|
var i = e.current;
|
|
166335
166335
|
i == null || i.addEventListener("mousemove", n, {
|
|
166336
166336
|
passive: !0
|
|
@@ -166493,7 +166493,7 @@ function _yt() {
|
|
|
166493
166493
|
}
|
|
166494
166494
|
};
|
|
166495
166495
|
}, [r, t, c, n, a, l]);
|
|
166496
|
-
|
|
166496
|
+
or(function() {
|
|
166497
166497
|
var s = e.current;
|
|
166498
166498
|
if (s)
|
|
166499
166499
|
return s.addEventListener("keydown", f), function() {
|
|
@@ -166520,7 +166520,7 @@ function Tyt() {
|
|
|
166520
166520
|
}
|
|
166521
166521
|
};
|
|
166522
166522
|
}, [e, l, a, r, c]);
|
|
166523
|
-
|
|
166523
|
+
or(function() {
|
|
166524
166524
|
var s = i.current;
|
|
166525
166525
|
if (s)
|
|
166526
166526
|
return s.addEventListener("keydown", f), function() {
|
|
@@ -166572,7 +166572,7 @@ function Eyt() {
|
|
|
166572
166572
|
}
|
|
166573
166573
|
);
|
|
166574
166574
|
}, [a, t, l, i, s, c, f]);
|
|
166575
|
-
|
|
166575
|
+
or(function() {
|
|
166576
166576
|
var u = e.current;
|
|
166577
166577
|
if (u)
|
|
166578
166578
|
return u.addEventListener("keydown", o), function() {
|
|
@@ -166603,7 +166603,7 @@ function Myt() {
|
|
|
166603
166603
|
}
|
|
166604
166604
|
};
|
|
166605
166605
|
}, [r, e, i]);
|
|
166606
|
-
|
|
166606
|
+
or(function() {
|
|
166607
166607
|
var a = t.current;
|
|
166608
166608
|
if (a)
|
|
166609
166609
|
return a.addEventListener("keydown", n), function() {
|
|
@@ -166648,7 +166648,7 @@ function Ayt() {
|
|
|
166648
166648
|
}
|
|
166649
166649
|
);
|
|
166650
166650
|
}, [t, a, r, i, n]);
|
|
166651
|
-
|
|
166651
|
+
or(function() {
|
|
166652
166652
|
var c = e.current;
|
|
166653
166653
|
if (c)
|
|
166654
166654
|
return c.addEventListener("keydown", l), function() {
|
|
@@ -166712,7 +166712,7 @@ function Fyt(e) {
|
|
|
166712
166712
|
}
|
|
166713
166713
|
function Ryt() {
|
|
166714
166714
|
var e = Po(), t = z5(), r = U5();
|
|
166715
|
-
|
|
166715
|
+
or(function() {
|
|
166716
166716
|
if (t === Is.NATIVE)
|
|
166717
166717
|
return;
|
|
166718
166718
|
var i = e.current;
|
|
@@ -167081,7 +167081,7 @@ function rte(e, t) {
|
|
|
167081
167081
|
n.current = !1;
|
|
167082
167082
|
});
|
|
167083
167083
|
}, [n]);
|
|
167084
|
-
|
|
167084
|
+
or(function() {
|
|
167085
167085
|
if (e.current) {
|
|
167086
167086
|
var g = e.current;
|
|
167087
167087
|
return g.addEventListener("click", p, {
|
|
@@ -167430,7 +167430,7 @@ var rq = /* @__PURE__ */ y1.create({
|
|
|
167430
167430
|
});
|
|
167431
167431
|
function awt(e) {
|
|
167432
167432
|
var t = Ud(), r = Qt(0), i = r[0], n = r[1];
|
|
167433
|
-
return
|
|
167433
|
+
return or(function() {
|
|
167434
167434
|
var a = e.current;
|
|
167435
167435
|
if (!a)
|
|
167436
167436
|
return;
|
|
@@ -167477,9 +167477,9 @@ function swt(e) {
|
|
|
167477
167477
|
}
|
|
167478
167478
|
}
|
|
167479
167479
|
}, [t, e]);
|
|
167480
|
-
return
|
|
167480
|
+
return or(function() {
|
|
167481
167481
|
u();
|
|
167482
|
-
}, [e, i, u, c.length]),
|
|
167482
|
+
}, [e, i, u, c.length]), or(function() {
|
|
167483
167483
|
var v = n.current;
|
|
167484
167484
|
if (v) {
|
|
167485
167485
|
var m = function(h) {
|
|
@@ -167514,7 +167514,7 @@ function cwt(e) {
|
|
|
167514
167514
|
var x = u(w), k = l(w), E = k.failedToLoad, F = k.filteredOut, D = k.hidden;
|
|
167515
167515
|
return !E && !F && !D && !x;
|
|
167516
167516
|
}), b = swt(d.length);
|
|
167517
|
-
|
|
167517
|
+
or(function() {
|
|
167518
167518
|
b && i(b.categoryHeight);
|
|
167519
167519
|
}, [b, i, d.length]);
|
|
167520
167520
|
var g = d.reduce(function(w, x, k) {
|
|
@@ -167649,7 +167649,7 @@ var mwt = /* @__PURE__ */ y1.create({
|
|
|
167649
167649
|
})(Sp || (Sp = {}));
|
|
167650
167650
|
function dwt() {
|
|
167651
167651
|
var e = IC(), t = eyt(), r = P5(), i = r[0], n = z5(), a = bwt(t), l = a.getTop, c = a.getMenuDirection, f = Lee(), s = pwt(t), o = U5(), u = cf(e.current), v = !!(i && u && q5(i) && u.classList.contains(di.emojiHasVariations));
|
|
167652
|
-
|
|
167652
|
+
or(function() {
|
|
167653
167653
|
v && OC(t.current);
|
|
167654
167654
|
}, [t, v, e]);
|
|
167655
167655
|
var m, h;
|
|
@@ -167794,7 +167794,7 @@ function wwt(e, t) {
|
|
|
167794
167794
|
}
|
|
167795
167795
|
function xwt(e, t) {
|
|
167796
167796
|
var r = Po(), i = Iee(), n = Nee();
|
|
167797
|
-
|
|
167797
|
+
or(function() {
|
|
167798
167798
|
if (!e)
|
|
167799
167799
|
return;
|
|
167800
167800
|
var a = r.current;
|
|
@@ -168106,7 +168106,7 @@ function Swt(e) {
|
|
|
168106
168106
|
}
|
|
168107
168107
|
function Dwt(e) {
|
|
168108
168108
|
var t = e.setActiveCategory, r = e.setVisibleCategories, i = Po();
|
|
168109
|
-
|
|
168109
|
+
or(function() {
|
|
168110
168110
|
var n = /* @__PURE__ */ new Map(), a = i.current, l = new IntersectionObserver(function(c) {
|
|
168111
168111
|
if (a) {
|
|
168112
168112
|
for (var f = G8t(c), s; !(s = f()).done; ) {
|
|
@@ -168494,7 +168494,7 @@ function Zwt(e) {
|
|
|
168494
168494
|
}
|
|
168495
168495
|
function Ywt() {
|
|
168496
168496
|
var e = zd(), t = e[0], r = wee(), i = Qt(!t), n = i[0], a = i[1], l = P9t();
|
|
168497
|
-
return
|
|
168497
|
+
return or(function() {
|
|
168498
168498
|
t && !r || n || a(!0);
|
|
168499
168499
|
}, [n, r, t]), l ? Vr(Iyt, null, Vr(rwt, null), Vr(Xwt, {
|
|
168500
168500
|
renderAll: n
|
|
@@ -169607,10 +169607,10 @@ var GS = function() {
|
|
|
169607
169607
|
return r;
|
|
169608
169608
|
}, _te = function(t) {
|
|
169609
169609
|
var r = Yxt(t, []), i = hr(""), n = hr(null), a = r.autoFocus, l = r.initialContent, c = r.onChange;
|
|
169610
|
-
|
|
169610
|
+
or(function() {
|
|
169611
169611
|
var v;
|
|
169612
169612
|
a && ((v = n.current) === null || v === void 0 || v.focus());
|
|
169613
|
-
}, [a]),
|
|
169613
|
+
}, [a]), or(function() {
|
|
169614
169614
|
l && n.current != null && (n.current.innerHTML = l);
|
|
169615
169615
|
}, [l]);
|
|
169616
169616
|
var f = xr(function(v, m) {
|
|
@@ -169993,7 +169993,7 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
|
|
|
169993
169993
|
C && ((F = C == null ? void 0 : C.style) === null || F === void 0 ? void 0 : F.display) !== "none" && (A = 25), p(A);
|
|
169994
169994
|
}
|
|
169995
169995
|
};
|
|
169996
|
-
return
|
|
169996
|
+
return or(function() {
|
|
169997
169997
|
d();
|
|
169998
169998
|
}), ce.isEmpty(n.functionCandidates) && ce.isEmpty(n.defaultCandidates) ? null : /* @__PURE__ */ W.createElement("div", {
|
|
169999
169999
|
className: "flex color-border-default border flex-col luckysheet-formula-search-c-p custom-scroll ".concat((t == null ? void 0 : t.from) === "fx" ? "fx-search" : "cell-search"),
|
|
@@ -170214,7 +170214,7 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
|
|
|
170214
170214
|
x: 0,
|
|
170215
170215
|
y: 0
|
|
170216
170216
|
}), g = b[0], w = b[1], x = hr(null);
|
|
170217
|
-
|
|
170217
|
+
or(function() {
|
|
170218
170218
|
if (x.current) {
|
|
170219
170219
|
var z = x.current.getBoundingClientRect(), P = z.left + window.scrollX, N = z.top + window.scrollY;
|
|
170220
170220
|
w({
|
|
@@ -170222,7 +170222,7 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
|
|
|
170222
170222
|
y: N
|
|
170223
170223
|
});
|
|
170224
170224
|
}
|
|
170225
|
-
}, []),
|
|
170225
|
+
}, []), or(function() {
|
|
170226
170226
|
o({
|
|
170227
170227
|
x: s.x,
|
|
170228
170228
|
y: n
|
|
@@ -170296,7 +170296,7 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
|
|
|
170296
170296
|
}, ZS.apply(this, arguments);
|
|
170297
170297
|
}, Ete = function(t) {
|
|
170298
170298
|
var r, i = t.showFormulaHint, n = t.handleShowFormulaHint, a = t.commaCount, l = t.functionName, c = hr(!1), f = da(Dn).context, s = (r = f.luckysheet_select_save) === null || r === void 0 ? void 0 : r[0], o = qn(f).formulaMore, u = l ? f.formulaCache.functionlistMap[l] : f.formulaCache.functionlistMap[(f == null ? void 0 : f.functionHint) || ""], v = Qt(localStorage.getItem(u == null ? void 0 : u.API_KEY)), m = v[0], h = v[1], p = Qt(!m), d = p[0], b = p[1], g = Qt(!!localStorage.getItem(u == null ? void 0 : u.API_KEY)), w = g[0], x = g[1], k = localStorage.getItem("formula-expand") === "true", E = Qt(k), F = E[0], D = E[1];
|
|
170299
|
-
|
|
170299
|
+
or(function() {
|
|
170300
170300
|
u && (x(!!localStorage.getItem(u == null ? void 0 : u.API_KEY)), h(localStorage.getItem(u == null ? void 0 : u.API_KEY) || ""), b(!localStorage.getItem(u == null ? void 0 : u.API_KEY)));
|
|
170301
170301
|
}, [u]);
|
|
170302
170302
|
var B = {
|
|
@@ -170315,9 +170315,9 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
|
|
|
170315
170315
|
var q = G ? "rgb(".concat(L(G), ", 0.4)") : "#FFDF0A";
|
|
170316
170316
|
return q;
|
|
170317
170317
|
};
|
|
170318
|
-
return
|
|
170318
|
+
return or(function() {
|
|
170319
170319
|
S();
|
|
170320
|
-
}, []),
|
|
170320
|
+
}, []), or(function() {
|
|
170321
170321
|
P || setTimeout(function() {
|
|
170322
170322
|
C(!0);
|
|
170323
170323
|
}, 40);
|
|
@@ -170677,7 +170677,7 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
|
|
|
170677
170677
|
};
|
|
170678
170678
|
function Tx(e) {
|
|
170679
170679
|
var t = hr(null);
|
|
170680
|
-
return
|
|
170680
|
+
return or(function() {
|
|
170681
170681
|
t.current = e;
|
|
170682
170682
|
}, [e]), t.current;
|
|
170683
170683
|
}
|
|
@@ -171276,11 +171276,11 @@ var C6 = function() {
|
|
|
171276
171276
|
fV(v.current);
|
|
171277
171277
|
}), delete u.globalCache.doNotFocus;
|
|
171278
171278
|
}
|
|
171279
|
-
}, [s.luckysheetCellUpdate, s.luckysheetfile, s.currentSheetId, A]),
|
|
171279
|
+
}, [s.luckysheetCellUpdate, s.luckysheetfile, s.currentSheetId, A]), or(function() {
|
|
171280
171280
|
ce.isEmpty(s.luckysheetCellUpdate) && v.current && (v.current.innerHTML = "");
|
|
171281
|
-
}, [s.luckysheetCellUpdate]),
|
|
171281
|
+
}, [s.luckysheetCellUpdate]), or(function() {
|
|
171282
171282
|
g(XL(s));
|
|
171283
|
-
}, [s.luckysheet_select_save]),
|
|
171283
|
+
}, [s.luckysheet_select_save]), or(function() {
|
|
171284
171284
|
var Be;
|
|
171285
171285
|
(!A || !((Be = s.rangeDialog) === null || Be === void 0) && Be.show || ce.isEmpty(s.luckysheetCellUpdate)) && k(!1);
|
|
171286
171286
|
}, [A, (i = s.rangeDialog) === null || i === void 0 ? void 0 : i.show, s.luckysheetCellUpdate]);
|
|
@@ -171435,7 +171435,7 @@ var C6 = function() {
|
|
|
171435
171435
|
display: "block"
|
|
171436
171436
|
};
|
|
171437
171437
|
}, [A, (n = s.rangeDialog) === null || n === void 0 ? void 0 : n.show, s.luckysheetCellUpdate, u.cellArea, x, N, s.scrollLeft, s.scrollTop]);
|
|
171438
|
-
|
|
171438
|
+
or(function() {
|
|
171439
171439
|
var Be;
|
|
171440
171440
|
if (A && !(!((Be = s.rangeDialog) === null || Be === void 0) && Be.show) && !x && !ce.isEmpty(s.luckysheetCellUpdate)) {
|
|
171441
171441
|
var He = u.cellArea.current;
|
|
@@ -171462,10 +171462,10 @@ var C6 = function() {
|
|
|
171462
171462
|
var Be = A.row_focus || 0, He = A.column_focus || 0, Se = Ki(He), rt = Be + 1;
|
|
171463
171463
|
return "".concat(Se).concat(rt);
|
|
171464
171464
|
}, [A]);
|
|
171465
|
-
|
|
171465
|
+
or(function() {
|
|
171466
171466
|
var Be;
|
|
171467
171467
|
x && (D(mt()), L((Be = s.luckysheet_select_save) === null || Be === void 0 ? void 0 : Be[0]));
|
|
171468
|
-
}, [x]),
|
|
171468
|
+
}, [x]), or(function() {
|
|
171469
171469
|
var Be = function(Se) {
|
|
171470
171470
|
Se.key === "F10" && (Se.preventDefault(), ge());
|
|
171471
171471
|
};
|
|
@@ -171591,7 +171591,7 @@ var C6 = function() {
|
|
|
171591
171591
|
}))))));
|
|
171592
171592
|
}, vq = function(t) {
|
|
171593
171593
|
var r = t.axis, i = da(Dn), n = i.context, a = i.refs, l = i.setContext;
|
|
171594
|
-
return
|
|
171594
|
+
return or(function() {
|
|
171595
171595
|
r === "x" ? a.scrollbarX.current.scrollLeft = n.scrollLeft : a.scrollbarY.current.scrollTop = n.scrollTop;
|
|
171596
171596
|
}, [r === "x" ? n.scrollLeft : n.scrollTop]), /* @__PURE__ */ W.createElement("div", {
|
|
171597
171597
|
ref: r === "x" ? a.scrollbarX : a.scrollbarY,
|
|
@@ -172011,7 +172011,7 @@ var okt = function() {
|
|
|
172011
172011
|
}, []);
|
|
172012
172012
|
return To(function() {
|
|
172013
172013
|
B(c), E(a), P(l);
|
|
172014
|
-
}, [n, c, a, l]),
|
|
172014
|
+
}, [n, c, a, l]), or(function() {
|
|
172015
172015
|
var G = document.querySelector(".luckysheet-cs-draghandle-top.luckysheet-cs-draghandle"), q = h.current;
|
|
172016
172016
|
if (!G || !q) {
|
|
172017
172017
|
w(s.cellBottom + 8);
|
|
@@ -172024,7 +172024,7 @@ var okt = function() {
|
|
|
172024
172024
|
} else
|
|
172025
172025
|
U = s.cellBottom + 8;
|
|
172026
172026
|
w(U);
|
|
172027
|
-
}, [s.cellBottom, f]),
|
|
172027
|
+
}, [s.cellBottom, f]), or(function() {
|
|
172028
172028
|
var G, q;
|
|
172029
172029
|
p.current && !D && f && ((G = p.current) === null || G === void 0 || G.focus({
|
|
172030
172030
|
preventScroll: !0
|
|
@@ -172160,7 +172160,7 @@ var okt = function() {
|
|
|
172160
172160
|
}, Sx.apply(this, arguments);
|
|
172161
172161
|
}, fkt = function(t) {
|
|
172162
172162
|
var r, i, n, a, l = t.getContainer, c = da(Dn), f = c.context, s = c.setContext, o = c.refs, u = f.filterOptions, v = f.currentSheetId, m = f.filter, h = f.visibledatarow, p = f.visibledatacolumn, d = Xt(f, f.currentSheetId), b = f.luckysheetfile[d], g = b.filter_select, w = b.frozen;
|
|
172163
|
-
|
|
172163
|
+
or(function() {
|
|
172164
172164
|
s(function(D) {
|
|
172165
172165
|
var B = Xt(D, D.currentSheetId);
|
|
172166
172166
|
B != null && (D.luckysheet_filter_save = D.luckysheetfile[B].filter_select, D.filter = D.luckysheetfile[B].filter || {}, Uk(D, D.luckysheet_filter_save, void 0));
|
|
@@ -172425,7 +172425,7 @@ var okt = function() {
|
|
|
172425
172425
|
}));
|
|
172426
172426
|
}, vkt = function() {
|
|
172427
172427
|
var t, r = da(Dn), i = r.context, n = r.setContext, a = r.refs, l = r.settings, c = lr(i);
|
|
172428
|
-
|
|
172428
|
+
or(function() {
|
|
172429
172429
|
var s;
|
|
172430
172430
|
if (c) {
|
|
172431
172431
|
for (var o = [], u = 0; u < c.length; u += 1)
|
|
@@ -172535,7 +172535,7 @@ var mkt = function() {
|
|
|
172535
172535
|
p.indexOf("conditionRules") >= 0 && ((h = document.getElementById("conditional-format-button")) === null || h === void 0 || h.click());
|
|
172536
172536
|
}
|
|
172537
172537
|
}, [i, n, r]);
|
|
172538
|
-
return
|
|
172538
|
+
return or(function() {
|
|
172539
172539
|
o(YS(r));
|
|
172540
172540
|
}, [r, r.luckysheet_select_save]), /* @__PURE__ */ W.createElement("div", {
|
|
172541
172541
|
id: "range-dialog",
|
|
@@ -172595,7 +172595,7 @@ var mkt = function() {
|
|
|
172595
172595
|
}, c.confirm)));
|
|
172596
172596
|
};
|
|
172597
172597
|
function V5(e, t, r, i) {
|
|
172598
|
-
|
|
172598
|
+
or(function() {
|
|
172599
172599
|
function n(a) {
|
|
172600
172600
|
e && e.current && !e.current.contains(a.target) && t();
|
|
172601
172601
|
}
|
|
@@ -172611,7 +172611,7 @@ var hkt = function() {
|
|
|
172611
172611
|
B["".concat((E = k.luckysheet_select_save) === null || E === void 0 ? void 0 : E[0].row_focus, "_").concat((F = k.luckysheet_select_save) === null || F === void 0 ? void 0 : F[0].column_focus)] || (k.dataVerificationDropDownList = !1);
|
|
172612
172612
|
});
|
|
172613
172613
|
}, [i]);
|
|
172614
|
-
return V5(n, x, [x]),
|
|
172614
|
+
return V5(n, x, [x]), or(function() {
|
|
172615
172615
|
var k, E;
|
|
172616
172616
|
if (r.luckysheet_select_save) {
|
|
172617
172617
|
var F = r.luckysheet_select_save[r.luckysheet_select_save.length - 1], D = F.row_focus, B = F.column_focus;
|
|
@@ -172639,7 +172639,7 @@ var hkt = function() {
|
|
|
172639
172639
|
}
|
|
172640
172640
|
}
|
|
172641
172641
|
}
|
|
172642
|
-
}, [r.luckysheet_select_save]),
|
|
172642
|
+
}, [r.luckysheet_select_save]), or(function() {
|
|
172643
172643
|
if (r.luckysheet_select_save) {
|
|
172644
172644
|
var k = r.luckysheet_select_save[r.luckysheet_select_save.length - 1], E = k.row_focus, F = k.column_focus;
|
|
172645
172645
|
if (!(E == null || F == null)) {
|
|
@@ -172736,7 +172736,7 @@ var hkt = function() {
|
|
|
172736
172736
|
});
|
|
172737
172737
|
return (c == null ? void 0 : c.iframes) || [];
|
|
172738
172738
|
}, [r.luckysheetfile, r.currentSheetId]);
|
|
172739
|
-
return
|
|
172739
|
+
return or(function() {
|
|
172740
172740
|
var c = function(s) {
|
|
172741
172741
|
if (a.current) {
|
|
172742
172742
|
var o = a.current.querySelectorAll(".luckysheet-modal-dialog-iframe"), u = Array.from(o).some(function(v) {
|
|
@@ -172957,13 +172957,13 @@ var hkt = function() {
|
|
|
172957
172957
|
});
|
|
172958
172958
|
}
|
|
172959
172959
|
}, [h, x.rowOverLimit, p, B]);
|
|
172960
|
-
return
|
|
172960
|
+
return or(function() {
|
|
172961
172961
|
h.warnDialog && setTimeout(function() {
|
|
172962
172962
|
k(h.warnDialog, "yesno", "Invalid data", "Retry"), p(function(q) {
|
|
172963
172963
|
q.warnDialog = void 0;
|
|
172964
172964
|
});
|
|
172965
172965
|
}, 240);
|
|
172966
|
-
}, [h.warnDialog, p, k]),
|
|
172966
|
+
}, [h.warnDialog, p, k]), or(function() {
|
|
172967
172967
|
b.cellArea.current.scrollLeft = h.scrollLeft, b.cellArea.current.scrollTop = h.scrollTop;
|
|
172968
172968
|
}, [h.scrollLeft, h.scrollTop, b.cellArea, (t = b.cellArea.current) === null || t === void 0 ? void 0 : t.scrollLeft, (r = b.cellArea.current) === null || r === void 0 ? void 0 : r.scrollTop]), To(function() {
|
|
172969
172969
|
var q;
|
|
@@ -172973,15 +172973,15 @@ var hkt = function() {
|
|
|
172973
172973
|
}), [h.hoveredCommentBox, h.editingCommentBox]).forEach(function(Q) {
|
|
172974
172974
|
Q && GG(Q.rc, Q.size);
|
|
172975
172975
|
});
|
|
172976
|
-
}, [h.commentBoxes, h.hoveredCommentBox, h.editingCommentBox]),
|
|
172976
|
+
}, [h.commentBoxes, h.hoveredCommentBox, h.editingCommentBox]), or(function() {
|
|
172977
172977
|
return document.addEventListener("mousemove", C), function() {
|
|
172978
172978
|
document.removeEventListener("mousemove", C);
|
|
172979
172979
|
};
|
|
172980
|
-
}, [C]),
|
|
172980
|
+
}, [C]), or(function() {
|
|
172981
172981
|
return document.addEventListener("mouseup", S), function() {
|
|
172982
172982
|
document.removeEventListener("mouseup", S);
|
|
172983
172983
|
};
|
|
172984
|
-
}, [S]),
|
|
172984
|
+
}, [S]), or(function() {
|
|
172985
172985
|
return document.addEventListener("keydown", L), function() {
|
|
172986
172986
|
document.removeEventListener("keydown", L);
|
|
172987
172987
|
};
|
|
@@ -173422,7 +173422,7 @@ var hkt = function() {
|
|
|
173422
173422
|
d(), b();
|
|
173423
173423
|
};
|
|
173424
173424
|
}
|
|
173425
|
-
|
|
173425
|
+
or(function() {
|
|
173426
173426
|
var o = t.current, u = n.scrollbarX.current, v = n.scrollbarY.current;
|
|
173427
173427
|
if (!o || !u || !v) return function() {
|
|
173428
173428
|
};
|
|
@@ -173431,7 +173431,7 @@ var hkt = function() {
|
|
|
173431
173431
|
}, [i.zoomRatio]);
|
|
173432
173432
|
}, ykt = function(t) {
|
|
173433
173433
|
var r, i, n, a = t.sheet, l = a.data, c = hr(null), f = hr(null), s = da(Dn), o = s.context, u = s.setContext, v = s.refs, m = s.settings;
|
|
173434
|
-
return
|
|
173434
|
+
return or(function() {
|
|
173435
173435
|
function h() {
|
|
173436
173436
|
l && u(function(p) {
|
|
173437
173437
|
m.devicePixelRatio === 0 && (p.devicePixelRatio = (globalThis || window).devicePixelRatio), V6(p, l), dA(p, v.canvas.current, f.current);
|
|
@@ -173440,17 +173440,17 @@ var hkt = function() {
|
|
|
173440
173440
|
return window.addEventListener("resize", h), function() {
|
|
173441
173441
|
window.removeEventListener("resize", h);
|
|
173442
173442
|
};
|
|
173443
|
-
}, [l, v.canvas, u, m.devicePixelRatio]),
|
|
173443
|
+
}, [l, v.canvas, u, m.devicePixelRatio]), or(function() {
|
|
173444
173444
|
l && u(function(h) {
|
|
173445
173445
|
return V6(h, l);
|
|
173446
173446
|
});
|
|
173447
|
-
}, [(r = o.config) === null || r === void 0 ? void 0 : r.rowlen, (i = o.config) === null || i === void 0 ? void 0 : i.columnlen, (n = o.config) === null || n === void 0 ? void 0 : n.rowhidden, o.config.colhidden, l, o.zoomRatio, u]),
|
|
173447
|
+
}, [(r = o.config) === null || r === void 0 ? void 0 : r.rowlen, (i = o.config) === null || i === void 0 ? void 0 : i.columnlen, (n = o.config) === null || n === void 0 ? void 0 : n.rowhidden, o.config.colhidden, l, o.zoomRatio, u]), or(function() {
|
|
173448
173448
|
u(function(h) {
|
|
173449
173449
|
return dA(h, v.canvas.current, f.current);
|
|
173450
173450
|
});
|
|
173451
|
-
}, [v.canvas, u, o.rowHeaderWidth, o.columnHeaderHeight, o.devicePixelRatio]),
|
|
173451
|
+
}, [v.canvas, u, o.rowHeaderWidth, o.columnHeaderHeight, o.devicePixelRatio]), or(function() {
|
|
173452
173452
|
vG(o, v.globalCache, o.currentSheetId);
|
|
173453
|
-
}, [v.globalCache, a.frozen, o.currentSheetId, o.visibledatacolumn, o.visibledatarow]),
|
|
173453
|
+
}, [v.globalCache, a.frozen, o.currentSheetId, o.visibledatacolumn, o.visibledatarow]), or(function() {
|
|
173454
173454
|
if (!(o.groupValuesRefreshData.length > 0)) {
|
|
173455
173455
|
var h = new uF(v.canvas.current, o), p = function() {
|
|
173456
173456
|
var b, g, w, x, k, E = (b = v.globalCache.freezen) === null || b === void 0 ? void 0 : b[a.id];
|
|
@@ -173753,7 +173753,7 @@ var Akt = function(t) {
|
|
|
173753
173753
|
}], !1);
|
|
173754
173754
|
});
|
|
173755
173755
|
};
|
|
173756
|
-
|
|
173756
|
+
or(function() {
|
|
173757
173757
|
if (r.length === 0) {
|
|
173758
173758
|
var F = 1;
|
|
173759
173759
|
i(function(D) {
|
|
@@ -174021,11 +174021,11 @@ var Lkt = function() {
|
|
|
174021
174021
|
}).join(","), j = z.map(function(T) {
|
|
174022
174022
|
return T.color;
|
|
174023
174023
|
}).join(",");
|
|
174024
|
-
|
|
174024
|
+
or(function() {
|
|
174025
174025
|
d(function(T) {
|
|
174026
174026
|
T.dataVerification.dataRegulation.color = j, T.dataVerification.dataRegulation.value1 = N;
|
|
174027
174027
|
});
|
|
174028
|
-
}, [z]),
|
|
174028
|
+
}, [z]), or(function() {
|
|
174029
174029
|
var T, I, G, q, Q, ne, oe, Z, Y, U, H = (G = (I = (T = p.luckysheet_select_save) === null || T === void 0 ? void 0 : T[0]) === null || I === void 0 ? void 0 : I.row) === null || G === void 0 ? void 0 : G[0], le = (ne = (Q = (q = p.luckysheet_select_save) === null || q === void 0 ? void 0 : q[0]) === null || Q === void 0 ? void 0 : Q.column) === null || ne === void 0 ? void 0 : ne[0], ue = B(), pe = (Z = (oe = p.luckysheetfile[ue]) === null || oe === void 0 ? void 0 : oe.dataVerification) !== null && Z !== void 0 ? Z : {};
|
|
174030
174030
|
if (pe) {
|
|
174031
174031
|
var de = (Y = pe == null ? void 0 : pe["".concat(H, "_").concat(le)]) === null || Y === void 0 ? void 0 : Y.value1, fe = (U = pe == null ? void 0 : pe["".concat(H, "_").concat(le)]) === null || U === void 0 ? void 0 : U.color;
|
|
@@ -174082,7 +174082,7 @@ var Lkt = function() {
|
|
|
174082
174082
|
delete oe["".concat(le, "_").concat(ue)];
|
|
174083
174083
|
}), w();
|
|
174084
174084
|
}, [k, F, w, d, g]);
|
|
174085
|
-
|
|
174085
|
+
or(function() {
|
|
174086
174086
|
d(function(T) {
|
|
174087
174087
|
var I, G, q, Q = "";
|
|
174088
174088
|
if (T.luckysheet_select_save) {
|
|
@@ -174373,7 +174373,7 @@ var Lte = function(t) {
|
|
|
174373
174373
|
textColor: "#177E23",
|
|
174374
174374
|
cellColor: "#DDFBDF"
|
|
174375
174375
|
}), q = G[0], Q = G[1], ne = Qt(!1), oe = ne[0], Z = ne[1], Y = Qt(!1), U = Y[0], H = Y[1], le = Qt(!1), ue = le[0], pe = le[1], de = Qt(!1), fe = de[0], me = de[1];
|
|
174376
|
-
|
|
174376
|
+
or(function() {
|
|
174377
174377
|
var ae, se;
|
|
174378
174378
|
if (!f) {
|
|
174379
174379
|
var be = Xt(i, i == null ? void 0 : i.currentSheetId) || 0, Te = i.luckysheetfile[be].luckysheet_conditionformat_save;
|
|
@@ -174423,7 +174423,7 @@ var Lte = function(t) {
|
|
|
174423
174423
|
se.conditionRules.textColor.color = q.textColor, se.conditionRules.cellColor.color = q.cellColor, se.rangeDialog.show = !0, se.rangeDialog.type = ae, se.rangeDialog.rangeTxt = se.conditionRules.rulesValue, se.rangeDialog.singleSelect = !1;
|
|
174424
174424
|
}), ge();
|
|
174425
174425
|
}, [q.cellColor, q.textColor, A, j]);
|
|
174426
|
-
|
|
174426
|
+
or(function() {
|
|
174427
174427
|
ge();
|
|
174428
174428
|
}, [a, oe, U, ue, fe, q]);
|
|
174429
174429
|
var Ee = xr(function(ae) {
|
|
@@ -174475,7 +174475,7 @@ var Lte = function(t) {
|
|
|
174475
174475
|
((Te = (be = se.luckysheetfile[Pe]) === null || be === void 0 ? void 0 : be.conditionRules) === null || Te === void 0 ? void 0 : Te.editKey) !== void 0 && (se.luckysheetfile[Pe].conditionRules.editKey = null);
|
|
174476
174476
|
}), A();
|
|
174477
174477
|
}, [q, S, I, A, T, j, oe, U, ue, fe, a, h, E, w]);
|
|
174478
|
-
|
|
174478
|
+
or(function() {
|
|
174479
174479
|
j(function(ae) {
|
|
174480
174480
|
if (ae.conditionRules.rulesType = a, !!ae.rangeDialog) {
|
|
174481
174481
|
var se = ae.rangeDialog.type, be = ae.rangeDialog.rangeTxt;
|
|
@@ -175205,7 +175205,7 @@ var Lte = function(t) {
|
|
|
175205
175205
|
});
|
|
175206
175206
|
}
|
|
175207
175207
|
}, [r, w, i, g, f, a.splitConfirmToExe]);
|
|
175208
|
-
return
|
|
175208
|
+
return or(function() {
|
|
175209
175209
|
p(function(k) {
|
|
175210
175210
|
return k = CA(f, r), k;
|
|
175211
175211
|
});
|
|
@@ -175645,7 +175645,7 @@ var Lte = function(t) {
|
|
|
175645
175645
|
}, b.confirm)));
|
|
175646
175646
|
}, Pkt = function(t) {
|
|
175647
175647
|
var r = t.isOpen, i = t.onClose, n = t.onSubmit, a = t.submitText, l = a === void 0 ? "Submit" : a, c = t.placeholder, f = c === void 0 ? "Enter a value..." : c, s = Qt(""), o = s[0], u = s[1], v = Qt(!1), m = v[0], h = v[1], p = hr(null);
|
|
175648
|
-
if (
|
|
175648
|
+
if (or(function() {
|
|
175649
175649
|
if (r && p.current) {
|
|
175650
175650
|
var g = setTimeout(function() {
|
|
175651
175651
|
var w;
|
|
@@ -176665,16 +176665,16 @@ var Wkt = function(e, t, r, i) {
|
|
|
176665
176665
|
var gt = rt.className === "condition-format-item" ? rt.parentElement : rt.querySelector(".".concat(Se));
|
|
176666
176666
|
ce.isNil(gt) || (gt.style.display = "none");
|
|
176667
176667
|
}, []);
|
|
176668
|
-
|
|
176668
|
+
or(function() {
|
|
176669
176669
|
var He = function() {
|
|
176670
176670
|
j(window.innerWidth >= 1280);
|
|
176671
176671
|
};
|
|
176672
176672
|
return window.addEventListener("resize", He), function() {
|
|
176673
176673
|
return window.removeEventListener("resize", He);
|
|
176674
176674
|
};
|
|
176675
|
-
}, []),
|
|
176675
|
+
}, []), or(function() {
|
|
176676
176676
|
k(-1);
|
|
176677
|
-
}, [h.toolbarItems, h.customToolbarItems]),
|
|
176677
|
+
}, [h.toolbarItems, h.customToolbarItems]), or(function() {
|
|
176678
176678
|
if (x === -1) {
|
|
176679
176679
|
var He = g.current;
|
|
176680
176680
|
if (!He) return;
|
|
@@ -176686,7 +176686,7 @@ var Wkt = function(e, t, r, i) {
|
|
|
176686
176686
|
}
|
|
176687
176687
|
D(rt);
|
|
176688
176688
|
}
|
|
176689
|
-
}, [x, Pe]),
|
|
176689
|
+
}, [x, Pe]), or(function() {
|
|
176690
176690
|
if (N) {
|
|
176691
176691
|
k(-1), l(null);
|
|
176692
176692
|
return;
|
|
@@ -176702,7 +176702,7 @@ var Wkt = function(e, t, r, i) {
|
|
|
176702
176702
|
}
|
|
176703
176703
|
}
|
|
176704
176704
|
}
|
|
176705
|
-
}, [F, l, h.toolbarItems.length, Pe, N]),
|
|
176705
|
+
}, [F, l, h.toolbarItems.length, Pe, N]), or(function() {
|
|
176706
176706
|
v(function(He) {
|
|
176707
176707
|
He.dataVerification.dataRegulation.value1 = "value1";
|
|
176708
176708
|
});
|
|
@@ -176732,7 +176732,7 @@ var Wkt = function(e, t, r, i) {
|
|
|
176732
176732
|
it(!0);
|
|
176733
176733
|
}, 100);
|
|
176734
176734
|
};
|
|
176735
|
-
|
|
176735
|
+
or(function() {
|
|
176736
176736
|
window.dataVerificationClick = yt, window.conditionalFormatClick = kt;
|
|
176737
176737
|
}, []);
|
|
176738
176738
|
var Be = xr(function(He, Se) {
|
|
@@ -177803,7 +177803,7 @@ var Wkt = function(e, t, r, i) {
|
|
|
177803
177803
|
var t, r = localStorage.getItem("formulaMore") === "true", i = Qt(!1), n = i[0], a = i[1], l = Qt(!r), c = l[0], f = l[1], s = Qt(0), o = s[0], u = s[1], v = da(Dn), m = v.context, h = v.setContext, p = v.refs, d = hr(null), b = hr(null), g = Qt(!1), w = g[0], x = g[1], k = (t = m.luckysheet_select_save) === null || t === void 0 ? void 0 : t[0], E = Tx(k), F = Tx(m.currentSheetId), D = hr(""), B = function() {
|
|
177804
177804
|
localStorage.setItem("formulaMore", String(c)), f(!c);
|
|
177805
177805
|
};
|
|
177806
|
-
|
|
177806
|
+
or(function() {
|
|
177807
177807
|
var U;
|
|
177808
177808
|
if (x(XL(m)), !(ce.isEqual(E, k) && m.currentSheetId === F)) {
|
|
177809
177809
|
var H = lr(m), le = "";
|
|
@@ -178034,7 +178034,7 @@ var Wkt = function(e, t, r, i) {
|
|
|
178034
178034
|
}));
|
|
178035
178035
|
}, tCt = typeof Ea == "object" && Ea && Ea.Object === Object && Ea, rCt = typeof self == "object" && self && self.Object === Object && self;
|
|
178036
178036
|
tCt || rCt || Function("return this")();
|
|
178037
|
-
var aCt = typeof window < "u" ? To :
|
|
178037
|
+
var aCt = typeof window < "u" ? To : or, nCt = typeof window > "u";
|
|
178038
178038
|
function Ote(e, {
|
|
178039
178039
|
defaultValue: t = !1,
|
|
178040
178040
|
initializeWithValue: r = !0
|
|
@@ -178052,12 +178052,12 @@ function Ote(e, {
|
|
|
178052
178052
|
}
|
|
178053
178053
|
var iCt = function(t) {
|
|
178054
178054
|
var r = t.sheet, i = t.isDropPlaceholder, n = da(Dn), a = n.context, l = n.setContext, c = n.refs, f = Qt(!1), s = f[0], o = f[1], u = hr(null), v = hr(null), m = Qt(!1), h = m[0], p = m[1], d = pm().showAlert;
|
|
178055
|
-
|
|
178055
|
+
or(function() {
|
|
178056
178056
|
l(function(k) {
|
|
178057
178057
|
var E, F, D, B, R = a.sheetScrollRecord[k == null ? void 0 : k.currentSheetId];
|
|
178058
178058
|
R ? (k.scrollLeft = (E = R.scrollLeft) !== null && E !== void 0 ? E : 0, k.scrollTop = (F = R.scrollTop) !== null && F !== void 0 ? F : 0, k.luckysheet_select_status = (D = R.luckysheet_select_status) !== null && D !== void 0 ? D : !1, k.luckysheet_select_save = (B = R.luckysheet_select_save) !== null && B !== void 0 ? B : void 0) : (k.scrollLeft = 0, k.scrollTop = 0, k.luckysheet_select_status = !1, k.luckysheet_select_save = void 0), k.luckysheet_selection_range = [];
|
|
178059
178059
|
});
|
|
178060
|
-
}, [a.currentSheetId, a.sheetScrollRecord, l]),
|
|
178060
|
+
}, [a.currentSheetId, a.sheetScrollRecord, l]), or(function() {
|
|
178061
178061
|
if (v.current) {
|
|
178062
178062
|
if (s) {
|
|
178063
178063
|
if (window.getSelection) {
|
|
@@ -178245,7 +178245,7 @@ var iCt = function(t) {
|
|
|
178245
178245
|
noHistory: !0
|
|
178246
178246
|
});
|
|
178247
178247
|
}, [i]);
|
|
178248
|
-
return
|
|
178248
|
+
return or(function() {
|
|
178249
178249
|
var o = function(v) {
|
|
178250
178250
|
(v.metaKey || v.ctrlKey) && v.code === "Equal" ? (s(r.zoomRatio + 0.1), v.stopPropagation()) : (v.metaKey || v.ctrlKey) && v.code === "Minus" && (s(r.zoomRatio - 0.1), v.stopPropagation());
|
|
178251
178251
|
};
|
|
@@ -178343,13 +178343,13 @@ var iCt = function(t) {
|
|
|
178343
178343
|
});
|
|
178344
178344
|
}
|
|
178345
178345
|
}, []);
|
|
178346
|
-
|
|
178346
|
+
or(function() {
|
|
178347
178347
|
var A = i.luckysheet_select_save;
|
|
178348
178348
|
if (A) {
|
|
178349
178349
|
var C = cG(i);
|
|
178350
178350
|
g(C);
|
|
178351
178351
|
}
|
|
178352
|
-
}, [i.luckysheet_select_save]),
|
|
178352
|
+
}, [i.luckysheet_select_save]), or(function() {
|
|
178353
178353
|
var A = c.current;
|
|
178354
178354
|
A && v(A.scrollWidth - 2 > A.clientWidth);
|
|
178355
178355
|
}, [i.luckysheetfile]);
|
|
@@ -178368,10 +178368,10 @@ var iCt = function(t) {
|
|
|
178368
178368
|
var C = document.getElementById("corner-plus");
|
|
178369
178369
|
C && (C.style.display = "block");
|
|
178370
178370
|
};
|
|
178371
|
-
|
|
178371
|
+
or(function() {
|
|
178372
178372
|
var A = document.getElementById("corner-plus");
|
|
178373
178373
|
A && (A.style.display = "none");
|
|
178374
|
-
}, [t]),
|
|
178374
|
+
}, [t]), or(function() {
|
|
178375
178375
|
var A;
|
|
178376
178376
|
(A = a.onSheetCountChange) === null || A === void 0 || A.call(a, i.luckysheetfile.length);
|
|
178377
178377
|
}, [i.luckysheetfile.length]);
|
|
@@ -180673,7 +180673,7 @@ function Y_t(e, t) {
|
|
|
180673
180673
|
})
|
|
180674
180674
|
});
|
|
180675
180675
|
}
|
|
180676
|
-
var mM = sre ? To :
|
|
180676
|
+
var mM = sre ? To : or;
|
|
180677
180677
|
function X_t(e) {
|
|
180678
180678
|
var t = hr();
|
|
180679
180679
|
return t.current || (t.current = typeof e == "function" ? e() : e), t.current;
|
|
@@ -183740,7 +183740,7 @@ var $_t = function() {
|
|
|
183740
183740
|
}))))));
|
|
183741
183741
|
}, iTt = function(t) {
|
|
183742
183742
|
var r = t.triggerParentUpdate, i = da(Dn), n = i.context, a = i.setContext, l = Qt(n.luckysheetfile[Xt(n, n.currentSheetId)].color), c = l[0], f = l[1];
|
|
183743
|
-
return
|
|
183743
|
+
return or(function() {
|
|
183744
183744
|
a(function(s) {
|
|
183745
183745
|
if (s.allowEdit !== !1) {
|
|
183746
183746
|
var o = Xt(s, s.currentSheetId);
|
|
@@ -183977,9 +183977,9 @@ function sTt(e, t, r, i, n, a, l, c, f, s) {
|
|
|
183977
183977
|
});
|
|
183978
183978
|
});
|
|
183979
183979
|
},
|
|
183980
|
-
setCellValue: function(u, v, m, h) {
|
|
183981
|
-
return h === void 0 && (h = {}), t(function(
|
|
183982
|
-
return $g(
|
|
183980
|
+
setCellValue: function(u, v, m, h, p) {
|
|
183981
|
+
return h === void 0 && (h = {}), t(function(d) {
|
|
183982
|
+
return $g(d, u, v, m, a, h, p);
|
|
183983
183983
|
});
|
|
183984
183984
|
},
|
|
183985
183985
|
setCellError: function(u, v, m) {
|
|
@@ -184408,13 +184408,13 @@ var Fx = function() {
|
|
|
184408
184408
|
se.left + se.width > be && (Te.left -= se.width, q(Te));
|
|
184409
184409
|
}
|
|
184410
184410
|
}
|
|
184411
|
-
}, [G]),
|
|
184411
|
+
}, [G]), or(function() {
|
|
184412
184412
|
if (b != null) {
|
|
184413
184413
|
T(""), U(!1), P.current = {}, N.current = (u == null ? void 0 : u.hiddenRows) || [];
|
|
184414
184414
|
var xe = SW(f.current, b, m, p, h);
|
|
184415
184415
|
k(ce.omit(xe, ["datesUncheck", "valuesUncheck"])), D(xe.datesUncheck), z(xe.valuesUncheck), C(xe.flattenValues);
|
|
184416
184416
|
}
|
|
184417
|
-
}, [b, p, m, h, N, u == null ? void 0 : u.hiddenRows]),
|
|
184417
|
+
}, [b, p, m, h, N, u == null ? void 0 : u.hiddenRows]), or(function() {
|
|
184418
184418
|
b != null && oe(DW(f.current, b, m, p));
|
|
184419
184419
|
}, [b, p, m]), u == null ? null : /* @__PURE__ */ W.createElement(W.Fragment, null, /* @__PURE__ */ W.createElement("div", {
|
|
184420
184420
|
className: "fortune-context-menu luckysheet-cols-menu fortune-filter-menu",
|
|
@@ -184659,7 +184659,7 @@ var Fx = function() {
|
|
|
184659
184659
|
}) : "");
|
|
184660
184660
|
}, uTt = function(t) {
|
|
184661
184661
|
var r = t.sheet, i = t.isDropPlaceholder, n = da(Dn), a = n.context, l = n.setContext, c = n.refs, f = hr(null);
|
|
184662
|
-
return
|
|
184662
|
+
return or(function() {
|
|
184663
184663
|
l(function(s) {
|
|
184664
184664
|
var o, u, v, m, h = a.sheetScrollRecord[s == null ? void 0 : s.currentSheetId];
|
|
184665
184665
|
h ? (s.scrollLeft = (o = h.scrollLeft) !== null && o !== void 0 ? o : 0, s.scrollTop = (u = h.scrollTop) !== null && u !== void 0 ? u : 0, s.luckysheet_select_status = (v = h.luckysheet_select_status) !== null && v !== void 0 ? v : !1, s.luckysheet_select_save = (m = h.luckysheet_select_save) !== null && m !== void 0 ? m : void 0) : (s.scrollLeft = 0, s.scrollTop = 0, s.luckysheet_select_status = !1, s.luckysheet_select_save = void 0), s.luckysheet_selection_range = [];
|
|
@@ -184954,12 +184954,12 @@ var pTt = function(t) {
|
|
|
184954
184954
|
return de ? fe : pe;
|
|
184955
184955
|
});
|
|
184956
184956
|
}, [B, f]);
|
|
184957
|
-
|
|
184957
|
+
or(function() {
|
|
184958
184958
|
var Y, U;
|
|
184959
184959
|
(U = (Y = F.hooks) === null || Y === void 0 ? void 0 : Y.afterActivateSheet) === null || U === void 0 || U.call(Y, g.currentSheetId);
|
|
184960
|
-
}, [g.currentSheetId]),
|
|
184960
|
+
}, [g.currentSheetId]), or(function() {
|
|
184961
184961
|
NF("bitcoin", "usd");
|
|
184962
|
-
}, []),
|
|
184962
|
+
}, []), or(function() {
|
|
184963
184963
|
var Y, U;
|
|
184964
184964
|
w(function(H) {
|
|
184965
184965
|
for (var le, ue, pe = lr(H), de = Jg(pe), fe = !1, me = 0, ge = de; me < ge.length; me++) {
|
|
@@ -184983,7 +184983,7 @@ var pTt = function(t) {
|
|
|
184983
184983
|
refs: d
|
|
184984
184984
|
};
|
|
184985
184985
|
}, [g, j, N, F, d, P]);
|
|
184986
|
-
|
|
184986
|
+
or(function() {
|
|
184987
184987
|
var Y;
|
|
184988
184988
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.sheetLengthChange && g.hooks.sheetLengthChange();
|
|
184989
184989
|
}, [g.luckysheetfile.length]);
|
|
@@ -184993,54 +184993,60 @@ var pTt = function(t) {
|
|
|
184993
184993
|
return U.id === (g == null ? void 0 : g.currentSheetId);
|
|
184994
184994
|
});
|
|
184995
184995
|
}, [g == null ? void 0 : g.luckysheetfile, g == null ? void 0 : g.currentSheetId]);
|
|
184996
|
-
|
|
184996
|
+
or(function() {
|
|
184997
184997
|
var Y;
|
|
184998
184998
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.calcChainChange && g.hooks.calcChainChange();
|
|
184999
|
-
}, [C == null ? void 0 : C.calcChain]),
|
|
184999
|
+
}, [C == null ? void 0 : C.calcChain]), or(function() {
|
|
185000
185000
|
var Y;
|
|
185001
185001
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.afterImagesChange && g.hooks.afterImagesChange();
|
|
185002
|
-
}, [C == null ? void 0 : C.images]),
|
|
185002
|
+
}, [C == null ? void 0 : C.images]), or(function() {
|
|
185003
185003
|
var Y;
|
|
185004
185004
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.afterIframesChange && g.hooks.afterIframesChange();
|
|
185005
|
-
}, [C == null ? void 0 : C.iframes]),
|
|
185005
|
+
}, [C == null ? void 0 : C.iframes]), or(function() {
|
|
185006
185006
|
var Y;
|
|
185007
185007
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.afterFrozenChange && g.hooks.afterFrozenChange();
|
|
185008
|
-
}, [C == null ? void 0 : C.frozen]),
|
|
185008
|
+
}, [C == null ? void 0 : C.frozen]), or(function() {
|
|
185009
185009
|
var Y;
|
|
185010
185010
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.afterOrderChanges && g.hooks.afterOrderChanges();
|
|
185011
|
-
}, [C == null ? void 0 : C.order]),
|
|
185011
|
+
}, [C == null ? void 0 : C.order]), or(function() {
|
|
185012
185012
|
var Y;
|
|
185013
185013
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.afterConfigChanges && g.hooks.afterConfigChanges();
|
|
185014
|
-
}, [C == null ? void 0 : C.config]),
|
|
185014
|
+
}, [C == null ? void 0 : C.config]), or(function() {
|
|
185015
185015
|
var Y;
|
|
185016
185016
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.afterColRowChanges && g.hooks.afterColRowChanges();
|
|
185017
|
-
}, [C == null ? void 0 : C.row, C == null ? void 0 : C.column]),
|
|
185017
|
+
}, [C == null ? void 0 : C.row, C == null ? void 0 : C.column]), or(function() {
|
|
185018
185018
|
var Y;
|
|
185019
185019
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.afterShowGridLinesChange && g.hooks.afterShowGridLinesChange();
|
|
185020
|
-
}, [C == null ? void 0 : C.showGridLines]),
|
|
185020
|
+
}, [C == null ? void 0 : C.showGridLines]), or(function() {
|
|
185021
|
+
var Y;
|
|
185022
|
+
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.afterNameChanges && g.hooks.afterNameChanges();
|
|
185023
|
+
}, [C == null ? void 0 : C.name]), or(function() {
|
|
185024
|
+
var Y;
|
|
185025
|
+
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.afterStatusChanges && g.hooks.afterStatusChanges();
|
|
185026
|
+
}, [C == null ? void 0 : C.status]), or(function() {
|
|
185021
185027
|
var Y;
|
|
185022
185028
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.dataVerificationChange && g.hooks.dataVerificationChange();
|
|
185023
|
-
}, [C == null ? void 0 : C.dataVerification]),
|
|
185029
|
+
}, [C == null ? void 0 : C.dataVerification]), or(function() {
|
|
185024
185030
|
var Y;
|
|
185025
185031
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.liveQueryChange && g.hooks.liveQueryChange();
|
|
185026
|
-
}, [C == null ? void 0 : C.liveQueryList]),
|
|
185032
|
+
}, [C == null ? void 0 : C.liveQueryList]), or(function() {
|
|
185027
185033
|
var Y;
|
|
185028
185034
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.imageListChange && g.hooks.imageListChange();
|
|
185029
|
-
}, [C == null ? void 0 : C.images]),
|
|
185035
|
+
}, [C == null ? void 0 : C.images]), or(function() {
|
|
185030
185036
|
var Y;
|
|
185031
185037
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.iframeListChange && g.hooks.iframeListChange();
|
|
185032
|
-
}, [C == null ? void 0 : C.iframes]),
|
|
185038
|
+
}, [C == null ? void 0 : C.iframes]), or(function() {
|
|
185033
185039
|
var Y;
|
|
185034
185040
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.conditionRulesChange && g.hooks.conditionRulesChange();
|
|
185035
|
-
}, [C == null ? void 0 : C.conditionRules]),
|
|
185041
|
+
}, [C == null ? void 0 : C.conditionRules]), or(function() {
|
|
185036
185042
|
var Y;
|
|
185037
185043
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.conditionFormatChange && g.hooks.conditionFormatChange();
|
|
185038
|
-
}, [C == null ? void 0 : C.luckysheet_conditionformat_save]),
|
|
185044
|
+
}, [C == null ? void 0 : C.luckysheet_conditionformat_save]), or(function() {
|
|
185039
185045
|
var Y;
|
|
185040
185046
|
!((Y = g == null ? void 0 : g.hooks) === null || Y === void 0) && Y.hyperlinkChange && g.hooks.hyperlinkChange();
|
|
185041
|
-
}, [C == null ? void 0 : C.hyperlink]),
|
|
185047
|
+
}, [C == null ? void 0 : C.hyperlink]), or(function() {
|
|
185042
185048
|
ce.isEmpty(g.luckysheetfile) || i == null || i(g.luckysheetfile);
|
|
185043
|
-
}, [g.luckysheetfile, i]),
|
|
185049
|
+
}, [g.luckysheetfile, i]), or(function() {
|
|
185044
185050
|
P(function(Y) {
|
|
185045
185051
|
var U, H, le, ue, pe, de, fe, me, ge, ye, Ee, xe;
|
|
185046
185052
|
if (Y.defaultcolumnNum = F.column, Y.defaultrowNum = F.row, Y.defaultFontSize = F.defaultFontSize, ce.isEmpty(Y.luckysheetfile)) {
|
|
@@ -185219,7 +185225,7 @@ var pTt = function(t) {
|
|
|
185219
185225
|
}, [g, P]), ne = xr(function() {
|
|
185220
185226
|
E(null);
|
|
185221
185227
|
}, []);
|
|
185222
|
-
|
|
185228
|
+
or(function() {
|
|
185223
185229
|
return document.addEventListener("paste", Q), function() {
|
|
185224
185230
|
document.removeEventListener("paste", Q);
|
|
185225
185231
|
};
|
|
@@ -185418,7 +185424,7 @@ const yTt = H1e, rAt = hf, ure = [
|
|
|
185418
185424
|
isReadOnly: r = !1,
|
|
185419
185425
|
loading: i = !1
|
|
185420
185426
|
}) => {
|
|
185421
|
-
|
|
185427
|
+
or(() => {
|
|
185422
185428
|
const n = () => {
|
|
185423
185429
|
const c = document.getElementsByClassName(
|
|
185424
185430
|
"template-button"
|
|
@@ -185435,7 +185441,7 @@ const yTt = H1e, rAt = hf, ure = [
|
|
|
185435
185441
|
return () => {
|
|
185436
185442
|
clearInterval(l);
|
|
185437
185443
|
};
|
|
185438
|
-
}, [e, t]),
|
|
185444
|
+
}, [e, t]), or(() => {
|
|
185439
185445
|
if (r && i) {
|
|
185440
185446
|
const n = document.querySelectorAll(
|
|
185441
185447
|
".luckysheet-sheets-item-name"
|
|
@@ -185459,7 +185465,7 @@ const yTt = H1e, rAt = hf, ure = [
|
|
|
185459
185465
|
});
|
|
185460
185466
|
});
|
|
185461
185467
|
}
|
|
185462
|
-
}, [r, i]),
|
|
185468
|
+
}, [r, i]), or(() => {
|
|
185463
185469
|
const n = "readonly-pointer-events-style";
|
|
185464
185470
|
let a = document.getElementById(n);
|
|
185465
185471
|
r ? a || (a = document.createElement("style"), a.id = n, a.innerHTML = `
|
|
@@ -185473,7 +185479,7 @@ const yTt = H1e, rAt = hf, ure = [
|
|
|
185473
185479
|
}, [r]);
|
|
185474
185480
|
}, M6 = "animate-[pulse_2s_ease-in-out_infinite]", _Tt = (e) => {
|
|
185475
185481
|
const [t, r] = Qt({ width: 0, height: 0 });
|
|
185476
|
-
return
|
|
185482
|
+
return or(() => {
|
|
185477
185483
|
const i = () => {
|
|
185478
185484
|
if (e.current) {
|
|
185479
185485
|
const a = e.current.getBoundingClientRect();
|
|
@@ -185762,7 +185768,7 @@ const rEt = (e, t = !0, r = !1) => {
|
|
|
185762
185768
|
console.error("[DSheet] IndexedDB persistence error:", s), l("error");
|
|
185763
185769
|
}));
|
|
185764
185770
|
};
|
|
185765
|
-
return
|
|
185771
|
+
return or(() => {
|
|
185766
185772
|
if (i.current || (i.current = new Ad()), r) {
|
|
185767
185773
|
l("synced"), c.current = !0;
|
|
185768
185774
|
return;
|
|
@@ -186515,7 +186521,7 @@ const pEt = (e) => {
|
|
|
186515
186521
|
kEt(a, t), (f = n.current) == null || f.setCellValue(r, i, {
|
|
186516
186522
|
...e,
|
|
186517
186523
|
m: _re
|
|
186518
|
-
});
|
|
186524
|
+
}, {}, !1);
|
|
186519
186525
|
}, _Et = (e) => (e.match(/\r?\n/g) || []).length, TEt = (e, t) => e * fEt * (t + 1), EEt = ({
|
|
186520
186526
|
newValue: e,
|
|
186521
186527
|
sheetEditorRef: t,
|
|
@@ -186740,7 +186746,7 @@ const pEt = (e) => {
|
|
|
186740
186746
|
o.current = !1;
|
|
186741
186747
|
}
|
|
186742
186748
|
};
|
|
186743
|
-
return
|
|
186749
|
+
return or(() => {
|
|
186744
186750
|
if (!r || !e) return;
|
|
186745
186751
|
const v = setInterval(() => {
|
|
186746
186752
|
u();
|
|
@@ -186868,7 +186874,7 @@ const LEt = (e, t, r, i, n, a = !1, l, c, f, s, o, u = !1, v, m, h) => {
|
|
|
186868
186874
|
u,
|
|
186869
186875
|
v
|
|
186870
186876
|
);
|
|
186871
|
-
|
|
186877
|
+
or(() => {
|
|
186872
186878
|
var N;
|
|
186873
186879
|
if (console.log("portalContent important", w, B, n, "wewe"), !(!(n != null && n.length) || !e.current || !t || B.current))
|
|
186874
186880
|
try {
|
|
@@ -186896,7 +186902,7 @@ const LEt = (e, t, r, i, n, a = !1, l, c, f, s, o, u = !1, v, m, h) => {
|
|
|
186896
186902
|
j
|
|
186897
186903
|
);
|
|
186898
186904
|
}
|
|
186899
|
-
}, [n]),
|
|
186905
|
+
}, [n]), or(() => {
|
|
186900
186906
|
var N;
|
|
186901
186907
|
if (!(!e.current || !t))
|
|
186902
186908
|
try {
|
|
@@ -186931,7 +186937,7 @@ const LEt = (e, t, r, i, n, a = !1, l, c, f, s, o, u = !1, v, m, h) => {
|
|
|
186931
186937
|
} catch (j) {
|
|
186932
186938
|
console.error("[DSheet] Error processing comment data:", j);
|
|
186933
186939
|
}
|
|
186934
|
-
}, [f, t, e, a, b, n, h, c]),
|
|
186940
|
+
}, [f, t, e, a, b, n, h, c]), or(() => {
|
|
186935
186941
|
!e.current || !t || c === "synced" && (() => {
|
|
186936
186942
|
var C;
|
|
186937
186943
|
if (k.current)
|
|
@@ -186939,7 +186945,7 @@ const LEt = (e, t, r, i, n, a = !1, l, c, f, s, o, u = !1, v, m, h) => {
|
|
|
186939
186945
|
const j = (C = e.current) == null ? void 0 : C.getArray(t), A = Array.from(j || []);
|
|
186940
186946
|
z(A), k.current = !0, g(!0);
|
|
186941
186947
|
})();
|
|
186942
|
-
}, [t, a, c]),
|
|
186948
|
+
}, [t, a, c]), or(() => {
|
|
186943
186949
|
if (!e.current || !t) return;
|
|
186944
186950
|
const N = e.current.getArray(t), j = () => {
|
|
186945
186951
|
F.current || (x.current = !0, D.current !== null && window.clearTimeout(D.current), D.current = window.setTimeout(() => {
|
|
@@ -190215,7 +190221,7 @@ class iMt extends lz {
|
|
|
190215
190221
|
}
|
|
190216
190222
|
const lMt = (e, t, r = "Anonymous", i = !0, n = "") => {
|
|
190217
190223
|
const [a, l] = Qt("disconnected"), [c, f] = Qt([]);
|
|
190218
|
-
return
|
|
190224
|
+
return or(() => {
|
|
190219
190225
|
if (!e || !t || !i)
|
|
190220
190226
|
return;
|
|
190221
190227
|
let s = null;
|
|
@@ -190271,7 +190277,7 @@ const lMt = (e, t, r = "Anonymous", i = !0, n = "") => {
|
|
|
190271
190277
|
let Ee;
|
|
190272
190278
|
pe === "row" ? Ee = FEt(ye, le, ue, fe, me) : Ee = REt(ye, le, ue, fe, me), Ee !== ye && (ge[de] = Ee), JSON.stringify(ge) !== JSON.stringify(B) && R(ge);
|
|
190273
190279
|
};
|
|
190274
|
-
|
|
190280
|
+
or(() => (window.updateDataBlockCalcFunctionAfterRowDrag = z, () => {
|
|
190275
190281
|
delete window.updateDataBlockCalcFunctionAfterRowDrag;
|
|
190276
190282
|
}), [z]);
|
|
190277
190283
|
const { ydocRef: P, persistenceRef: N, syncStatus: j, isSyncedRef: A, refreshIndexedDB: C } = rEt(a, f, o);
|
|
@@ -190321,7 +190327,7 @@ const lMt = (e, t, r = "Anonymous", i = !0, n = "") => {
|
|
|
190321
190327
|
s,
|
|
190322
190328
|
c
|
|
190323
190329
|
);
|
|
190324
|
-
|
|
190330
|
+
or(() => {
|
|
190325
190331
|
q && j === "synced" && A.current && E((le) => le + 1);
|
|
190326
190332
|
}, [q, j]);
|
|
190327
190333
|
const U = !q || j === "initializing" || j === "syncing" || // In read-only mode, continue showing the loading state if we have no data yet
|
|
@@ -194639,7 +194645,7 @@ const xM = /* @__PURE__ */ pae(S0e);
|
|
|
194639
194645
|
return _(), N(O);
|
|
194640
194646
|
}, _bufs: O };
|
|
194641
194647
|
}
|
|
194642
|
-
function
|
|
194648
|
+
function cr(y, _, M, O) {
|
|
194643
194649
|
var K = +_;
|
|
194644
194650
|
if (!isNaN(K)) {
|
|
194645
194651
|
_ = 1 + (128 <= K ? 1 : 0) + 1, 128 <= (O = O || $m[K].p || (M || []).length || 0) && ++_, 16384 <= O && ++_, 2097152 <= O && ++_;
|
|
@@ -196623,9 +196629,9 @@ const xM = /* @__PURE__ */ pae(S0e);
|
|
|
196623
196629
|
};
|
|
196624
196630
|
function w4(y) {
|
|
196625
196631
|
var _, M, O = I1();
|
|
196626
|
-
|
|
196627
|
-
for (var K = 0; K < y.length; ++K)
|
|
196628
|
-
return
|
|
196632
|
+
cr(O, 159, (_ = y, (M = M || fr(8)).write_shift(4, _.Count), M.write_shift(4, _.Unique), M));
|
|
196633
|
+
for (var K = 0; K < y.length; ++K) cr(O, 19, s_(y[K]));
|
|
196634
|
+
return cr(O, 160), O.end();
|
|
196629
196635
|
}
|
|
196630
196636
|
function Ln(y) {
|
|
196631
196637
|
if (a !== void 0) return a.utils.encode(c, y);
|
|
@@ -197290,27 +197296,27 @@ const xM = /* @__PURE__ */ pae(S0e);
|
|
|
197290
197296
|
var M;
|
|
197291
197297
|
_ && (M = 0, [[5, 8], [23, 26], [41, 44], [50, 392]].forEach(function(O) {
|
|
197292
197298
|
for (var K = O[0]; K <= O[1]; ++K) _[K] != null && ++M;
|
|
197293
|
-
}), M != 0 && (
|
|
197294
|
-
for (var K, te, J, ie = O[0]; ie <= O[1]; ++ie) _[ie] != null &&
|
|
197295
|
-
}),
|
|
197299
|
+
}), M != 0 && (cr(y, 615, Pi(M)), [[5, 8], [23, 26], [41, 44], [50, 392]].forEach(function(O) {
|
|
197300
|
+
for (var K, te, J, ie = O[0]; ie <= O[1]; ++ie) _[ie] != null && cr(y, 44, (K = ie, te = _[ie], (J = (J = void 0) || fr(6 + 4 * te.length)).write_shift(2, K), ga(te, J), te = J.length > J.l ? J.slice(0, J.l) : J, J.l == null && (J.l = J.length), te));
|
|
197301
|
+
}), cr(y, 616)));
|
|
197296
197302
|
}
|
|
197297
197303
|
function v3(y) {
|
|
197298
197304
|
var _;
|
|
197299
|
-
|
|
197305
|
+
cr(y, 613, Pi(1)), cr(y, 46, ((_ = _ || fr(51)).write_shift(1, 0), n2(0, _), n2(0, _), n2(0, _), n2(0, _), n2(0, _), _.length > _.l ? _.slice(0, _.l) : _)), cr(y, 614);
|
|
197300
197306
|
}
|
|
197301
197307
|
function v8(y) {
|
|
197302
197308
|
var _, M;
|
|
197303
|
-
|
|
197309
|
+
cr(y, 619, Pi(1)), cr(y, 48, (_ = { xfId: 0, builtinId: 0, name: "Normal" }, (M = M || fr(52)).write_shift(4, _.xfId), M.write_shift(2, 1), M.write_shift(1, +_.builtinId), M.write_shift(1, 0), Gd(_.name || "", M), M.length > M.l ? M.slice(0, M.l) : M)), cr(y, 620);
|
|
197304
197310
|
}
|
|
197305
197311
|
function m3(y) {
|
|
197306
197312
|
var _, M, O, K;
|
|
197307
|
-
|
|
197313
|
+
cr(y, 508, (_ = 0, M = "TableStyleMedium9", O = "PivotStyleMedium4", (K = fr(2052)).write_shift(4, _), Gd(M, K), Gd(O, K), K.length > K.l ? K.slice(0, K.l) : K)), cr(y, 509);
|
|
197308
197314
|
}
|
|
197309
197315
|
function D4(y, _) {
|
|
197310
197316
|
var M, O = I1();
|
|
197311
|
-
return
|
|
197312
|
-
|
|
197313
|
-
}),
|
|
197317
|
+
return cr(O, 278), u8(O, y.SSF), cr(y = O, 611, Pi(1)), cr(y, 43, s8({ sz: 12, color: { theme: 1 }, name: "Calibri", family: 2, scheme: "minor" })), cr(y, 612), cr(y = O, 603, Pi(2)), cr(y, 45, a2({ patternType: "none" })), cr(y, 45, a2({ patternType: "gray125" })), cr(y, 604), v3(O), cr(y = O, 626, Pi(1)), cr(y, 47, f8({ numFmtId: 0 }, 65535)), cr(y, 627), M = O, _ = _.cellXfs, cr(M, 617, Pi(_.length)), _.forEach(function(K) {
|
|
197318
|
+
cr(M, 47, f8(K, 0));
|
|
197319
|
+
}), cr(M, 618), v8(O), cr(_ = O, 505, Pi(0)), cr(_, 506), m3(O), cr(O, 279), O.end();
|
|
197314
197320
|
}
|
|
197315
197321
|
var h3 = ["</a:lt1>", "</a:dk1>", "</a:lt2>", "</a:dk2>", "</a:accent1>", "</a:accent2>", "</a:accent3>", "</a:accent4>", "</a:accent5>", "</a:accent6>", "</a:hlink>", "</a:folHlink>"];
|
|
197316
197322
|
function f_(y, _, M) {
|
|
@@ -197422,12 +197428,12 @@ const xM = /* @__PURE__ */ pae(S0e);
|
|
|
197422
197428
|
}
|
|
197423
197429
|
function b8() {
|
|
197424
197430
|
var y, _, M, O = I1();
|
|
197425
|
-
return
|
|
197431
|
+
return cr(O, 332), cr(O, 334, Pi(1)), cr(O, 335, ((M = fr(12 + 2 * (_ = { name: "XLDAPR", version: 12e4, flags: 3496657072 }).name.length)).write_shift(4, _.flags), M.write_shift(4, _.version), ga(_.name, M), M.slice(0, M.l))), cr(O, 336), cr(O, 339, (y = 1, (M = fr(8 + 2 * (_ = "XLDAPR").length)).write_shift(4, y), ga(_, M), M.slice(0, M.l))), cr(O, 52), cr(O, 35, Pi(514)), cr(O, 4096, Pi(0)), cr(O, 4097, Cl(1)), cr(O, 36), cr(O, 53), cr(O, 340), cr(O, 337, (y = 1, _ = !0, (M = fr(8)).write_shift(4, y), M.write_shift(4, _ ? 1 : 0), M)), cr(O, 51, function(K) {
|
|
197426
197432
|
var te = fr(4 + 8 * K.length);
|
|
197427
197433
|
te.write_shift(4, K.length);
|
|
197428
197434
|
for (var J = 0; J < K.length; ++J) te.write_shift(4, K[J][0]), te.write_shift(4, K[J][1]);
|
|
197429
197435
|
return te;
|
|
197430
|
-
}([[1, 0]])),
|
|
197436
|
+
}([[1, 0]])), cr(O, 338), cr(O, 333), O.end();
|
|
197431
197437
|
}
|
|
197432
197438
|
function g8() {
|
|
197433
197439
|
var y = [Rr];
|
|
@@ -197507,17 +197513,17 @@ const xM = /* @__PURE__ */ pae(S0e);
|
|
|
197507
197513
|
Le = B1;
|
|
197508
197514
|
function F4(y) {
|
|
197509
197515
|
var _ = I1(), M = [];
|
|
197510
|
-
return
|
|
197516
|
+
return cr(_, 628), cr(_, 630), y.forEach(function(O) {
|
|
197511
197517
|
O[1].forEach(function(K) {
|
|
197512
|
-
-1 < M.indexOf(K.a) || (M.push(K.a.slice(0, 54)),
|
|
197518
|
+
-1 < M.indexOf(K.a) || (M.push(K.a.slice(0, 54)), cr(_, 632, ga(K.a.slice(0, 54))));
|
|
197513
197519
|
});
|
|
197514
|
-
}),
|
|
197520
|
+
}), cr(_, 631), cr(_, 633), y.forEach(function(O) {
|
|
197515
197521
|
O[1].forEach(function(K) {
|
|
197516
197522
|
K.iauthor = M.indexOf(K.a);
|
|
197517
197523
|
var te, J = { s: Fi(O[0]), e: Fi(O[0]) };
|
|
197518
|
-
|
|
197524
|
+
cr(_, 635, (J = [J, K], (te = te ?? fr(36)).write_shift(4, J[1].iauthor), pa(J[0], te), te.write_shift(4, 0), te.write_shift(4, 0), te.write_shift(4, 0), te.write_shift(4, 0), te)), K.t && 0 < K.t.length && cr(_, 637, X1(K)), cr(_, 636), delete K.iauthor;
|
|
197519
197525
|
});
|
|
197520
|
-
}),
|
|
197526
|
+
}), cr(_, 634), cr(_, 629), _.end();
|
|
197521
197527
|
}
|
|
197522
197528
|
var y3 = "application/vnd.ms-office.vbaProject", Uu = ["xlsb", "xlsm", "xlam", "biff8", "xla"], Ja, Hm, Of = (Hm = /(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g, function(y, _) {
|
|
197523
197529
|
return Ja = _, y.replace(Hm, Hu);
|
|
@@ -198409,7 +198415,7 @@ const xM = /* @__PURE__ */ pae(S0e);
|
|
|
198409
198415
|
De < 0 || (++he, ie.write_shift(4, De), ie.write_shift(4, ze));
|
|
198410
198416
|
}
|
|
198411
198417
|
return K = ie.l, ie.l = Ce, ie.write_shift(4, he), ie.l = K, ie.length > ie.l ? ie.slice(0, ie.l) : ie;
|
|
198412
|
-
}(O, M, _), (17 < M.length || (_["!rows"] || [])[O]) &&
|
|
198418
|
+
}(O, M, _), (17 < M.length || (_["!rows"] || [])[O]) && cr(y, 0, M);
|
|
198413
198419
|
}
|
|
198414
198420
|
var C3 = ir, z4 = pa;
|
|
198415
198421
|
function U8(y) {
|
|
@@ -198437,51 +198443,51 @@ const xM = /* @__PURE__ */ pae(S0e);
|
|
|
198437
198443
|
switch (nr.s = qf(K.cellXfs, _, K), _.l && te["!links"].push([Ar(nr), _.l]), _.c && te["!comments"].push([Ar(nr), _.c]), _.t) {
|
|
198438
198444
|
case "s":
|
|
198439
198445
|
case "str":
|
|
198440
|
-
return K.bookSST ? (ie = P4(K.Strings, _.v, K.revStrings), nr.t = "s", nr.v = ie, J ?
|
|
198446
|
+
return K.bookSST ? (ie = P4(K.Strings, _.v, K.revStrings), nr.t = "s", nr.v = ie, J ? cr(y, 18, (Zi(Ut = nr, er = er ?? fr(8)), er.write_shift(4, Ut.v), er)) : cr(y, 7, (xl(Ut = nr, Gt = Gt ?? fr(12)), Gt.write_shift(4, Ut.v), Gt))) : (nr.t = "str", J ? cr(y, 17, (ft = _, Zi(nr, Ot = Ot ?? fr(8 + 4 * ft.v.length)), ga(ft.v, Ot), Ot.length > Ot.l ? Ot.slice(0, Ot.l) : Ot)) : cr(y, 6, (ft = _, xl(nr, lt = lt ?? fr(12 + 4 * ft.v.length)), ga(ft.v, lt), lt.length > lt.l ? lt.slice(0, lt.l) : lt))), !0;
|
|
198441
198447
|
case "n":
|
|
198442
|
-
return _.v == (0 | _.v) && -1e3 < _.v && _.v < 1e3 ? J ?
|
|
198448
|
+
return _.v == (0 | _.v) && -1e3 < _.v && _.v < 1e3 ? J ? cr(y, 13, (je = _, Zi(nr, $e = $e ?? fr(8)), Vt(je.v, $e), $e)) : cr(y, 2, (je = _, xl(nr, We = We ?? fr(12)), Vt(je.v, We), We)) : J ? cr(y, 16, (Ne = _, Zi(nr, tt = tt ?? fr(12)), Kn(Ne.v, tt), tt)) : cr(y, 5, (Ne = _, xl(nr, ze = ze ?? fr(16)), Kn(Ne.v, ze), ze)), !0;
|
|
198443
198449
|
case "b":
|
|
198444
|
-
return nr.t = "b", J ?
|
|
198450
|
+
return nr.t = "b", J ? cr(y, 15, (Ae = _, Zi(nr, De = De ?? fr(5)), De.write_shift(1, Ae.v ? 1 : 0), De)) : cr(y, 4, (Ae = _, xl(nr, Me = Me ?? fr(9)), Me.write_shift(1, Ae.v ? 1 : 0), Me)), !0;
|
|
198445
198451
|
case "e":
|
|
198446
|
-
return nr.t = "e", J ?
|
|
198452
|
+
return nr.t = "e", J ? cr(y, 14, (he = _, Zi(nr, Ce = Ce ?? fr(8)), Ce.write_shift(1, he.v), Ce.write_shift(2, 0), Ce.write_shift(1, 0), Ce)) : cr(y, 3, (he = _, xl(nr, ve = ve ?? fr(9)), ve.write_shift(1, he.v), ve)), !0;
|
|
198447
198453
|
}
|
|
198448
|
-
return J ?
|
|
198454
|
+
return J ? cr(y, 12, Zi(nr, yr = yr ?? fr(4))) : cr(y, 1, xl(nr, gr = gr ?? fr(8))), !0;
|
|
198449
198455
|
}
|
|
198450
198456
|
function F_(y, _) {
|
|
198451
198457
|
var M, O;
|
|
198452
|
-
_ && _["!merges"] && (
|
|
198453
|
-
|
|
198454
|
-
}),
|
|
198458
|
+
_ && _["!merges"] && (cr(y, 177, (M = _["!merges"].length, (O = O ?? fr(4)).write_shift(4, M), O)), _["!merges"].forEach(function(K) {
|
|
198459
|
+
cr(y, 176, D_(K));
|
|
198460
|
+
}), cr(y, 178));
|
|
198455
198461
|
}
|
|
198456
198462
|
function R_(y, _) {
|
|
198457
|
-
_ && _["!cols"] && (
|
|
198458
|
-
M &&
|
|
198463
|
+
_ && _["!cols"] && (cr(y, 390), _["!cols"].forEach(function(M, O) {
|
|
198464
|
+
M && cr(y, 60, function(K, te, J) {
|
|
198459
198465
|
J == null && (J = fr(18));
|
|
198460
198466
|
var ie = x3(K, te);
|
|
198461
198467
|
return J.write_shift(-4, K), J.write_shift(-4, K), J.write_shift(4, 256 * (ie.width || 10)), J.write_shift(4, 0), K = 0, te.hidden && (K |= 1), typeof ie.width == "number" && (K |= 2), te.level && (K |= te.level << 8), J.write_shift(2, K), J;
|
|
198462
198468
|
}(O, M));
|
|
198463
|
-
}),
|
|
198469
|
+
}), cr(y, 391));
|
|
198464
198470
|
}
|
|
198465
198471
|
function N_(y, _) {
|
|
198466
198472
|
var M;
|
|
198467
|
-
_ && _["!ref"] && (
|
|
198473
|
+
_ && _["!ref"] && (cr(y, 648), cr(y, 649, (M = tn(_["!ref"]), (_ = fr(24)).write_shift(4, 4), _.write_shift(4, 1), pa(M, _), _)), cr(y, 650));
|
|
198468
198474
|
}
|
|
198469
198475
|
function I_(y, _, M) {
|
|
198470
198476
|
_["!links"].forEach(function(O) {
|
|
198471
198477
|
var K, te;
|
|
198472
|
-
O[1].Target && (K = ki(M, -1, O[1].Target.replace(/#.*$/, ""), ln.HLINK),
|
|
198478
|
+
O[1].Target && (K = ki(M, -1, O[1].Target.replace(/#.*$/, ""), ln.HLINK), cr(y, 494, (te = K, O = fr(50 + 4 * ((K = O)[1].Target.length + (K[1].Tooltip || "").length)), pa({ s: Fi(K[0]), e: Fi(K[0]) }, O), Z5("rId" + te, O), ga(((te = K[1].Target.indexOf("#")) == -1 ? "" : K[1].Target.slice(te + 1)) || "", O), ga(K[1].Tooltip || "", O), ga("", O), O.slice(0, O.l))));
|
|
198473
198479
|
}), delete _["!links"];
|
|
198474
198480
|
}
|
|
198475
198481
|
function B_(y, _, M) {
|
|
198476
|
-
|
|
198482
|
+
cr(y, 133), cr(y, 137, function(O, K) {
|
|
198477
198483
|
K == null && (K = fr(30));
|
|
198478
198484
|
var te = 924;
|
|
198479
198485
|
return (((O || {}).Views || [])[0] || {}).RTL && (te |= 32), K.write_shift(2, te), K.write_shift(4, 0), K.write_shift(4, 0), K.write_shift(4, 0), K.write_shift(1, 0), K.write_shift(1, 0), K.write_shift(2, 0), K.write_shift(2, 100), K.write_shift(2, 0), K.write_shift(2, 0), K.write_shift(2, 0), K.write_shift(4, 0), K;
|
|
198480
|
-
}(M)),
|
|
198486
|
+
}(M)), cr(y, 138), cr(y, 134);
|
|
198481
198487
|
}
|
|
198482
198488
|
function O_(y, _) {
|
|
198483
198489
|
var M, O;
|
|
198484
|
-
_["!protect"] &&
|
|
198490
|
+
_["!protect"] && cr(y, 535, (M = _["!protect"], (O = O ?? fr(66)).write_shift(2, M.password ? Pl(M.password) : 0), O.write_shift(4, 1), [["objects", !1], ["scenarios", !1], ["formatCells", !0], ["formatColumns", !0], ["formatRows", !0], ["insertColumns", !0], ["insertRows", !0], ["insertHyperlinks", !0], ["deleteColumns", !0], ["deleteRows", !0], ["selectLockedCells", !1], ["sort", !0], ["autoFilter", !0], ["pivotTables", !0], ["selectUnlockedCells", !1]].forEach(function(K) {
|
|
198485
198491
|
K[1] ? O.write_shift(4, M[K[0]] == null || M[K[0]] ? 0 : 1) : O.write_shift(4, M[K[0]] != null && M[K[0]] ? 0 : 1);
|
|
198486
198492
|
}), O));
|
|
198487
198493
|
}
|
|
@@ -198496,15 +198502,15 @@ const xM = /* @__PURE__ */ pae(S0e);
|
|
|
198496
198502
|
if (_.WTF) throw new Error("Range " + (te["!ref"] || "A1") + " exceeds format limit A1:XFD1048576");
|
|
198497
198503
|
he.e.c = Math.min(he.e.c, 16383), he.e.r = Math.min(he.e.c, 1048575);
|
|
198498
198504
|
}
|
|
198499
|
-
return te["!links"] = [], te["!comments"] = [],
|
|
198505
|
+
return te["!links"] = [], te["!comments"] = [], cr(K, 129), (M.vbaraw || te["!outline"]) && cr(K, 147, function(Ce, Me, Ae) {
|
|
198500
198506
|
Ae == null && (Ae = fr(84 + 4 * Ce.length));
|
|
198501
198507
|
var De = 192;
|
|
198502
198508
|
Me && (Me.above && (De &= -65), Me.left && (De &= -129)), Ae.write_shift(1, De);
|
|
198503
198509
|
for (var ze = 1; ze < 3; ++ze) Ae.write_shift(1, 0);
|
|
198504
198510
|
return c1({ auto: 1 }, Ae), Ae.write_shift(-4, -1), Ae.write_shift(-4, -1), Qs(Ce, Ae), Ae.slice(0, Ae.l);
|
|
198505
|
-
}(J, te["!outline"])),
|
|
198511
|
+
}(J, te["!outline"])), cr(K, 148, z4(he)), B_(K, 0, M.Workbook), R_(K, te), function(Ce, Me, Ae) {
|
|
198506
198512
|
var De, ze = tn(Me["!ref"] || "A1"), Ne = [];
|
|
198507
|
-
|
|
198513
|
+
cr(Ce, 145);
|
|
198508
198514
|
var tt = Array.isArray(Me), We = ze.e.r;
|
|
198509
198515
|
Me["!rows"] && (We = Math.max(ze.e.r, Me["!rows"].length - 1));
|
|
198510
198516
|
for (var je = ze.s.r; je <= We; ++je) {
|
|
@@ -198516,7 +198522,7 @@ const xM = /* @__PURE__ */ pae(S0e);
|
|
|
198516
198522
|
ft ? $e = L_(Ce, ft, je, lt, Ae, Me, $e) : $e = !1;
|
|
198517
198523
|
}
|
|
198518
198524
|
}
|
|
198519
|
-
|
|
198525
|
+
cr(Ce, 146);
|
|
198520
198526
|
}(K, te, _), O_(K, te), function(Ce, Me, Ae, De) {
|
|
198521
198527
|
if (Me["!autofilter"]) {
|
|
198522
198528
|
var tt = Me["!autofilter"], ze = typeof tt.ref == "string" ? tt.ref : Na(tt.ref);
|
|
@@ -198530,11 +198536,11 @@ const xM = /* @__PURE__ */ pae(S0e);
|
|
|
198530
198536
|
break;
|
|
198531
198537
|
}
|
|
198532
198538
|
}
|
|
198533
|
-
We == Ne.length && Ne.push({ Name: "_xlnm._FilterDatabase", Sheet: De, Ref: "'" + Ae.SheetNames[De] + "'!" + ze }),
|
|
198539
|
+
We == Ne.length && Ne.push({ Name: "_xlnm._FilterDatabase", Sheet: De, Ref: "'" + Ae.SheetNames[De] + "'!" + ze }), cr(Ce, 161, pa(tn(ze))), cr(Ce, 162);
|
|
198534
198540
|
}
|
|
198535
|
-
}(K, te, M, y), F_(K, te), I_(K, te, O), te["!margins"] &&
|
|
198541
|
+
}(K, te, M, y), F_(K, te), I_(K, te, O), te["!margins"] && cr(K, 476, (ie = te["!margins"], ve == null && (ve = fr(48)), Gu(ie), H8.forEach(function(Ce) {
|
|
198536
198542
|
Kn(ie[Ce], ve);
|
|
198537
|
-
}), ve)), _ && !_.ignoreEC && _.ignoreEC != null || N_(K, te), he = K, _ = y, O = O, 0 < (te = te)["!comments"].length && (_ = ki(O, -1, "../drawings/vmlDrawing" + (_ + 1) + ".vml", ln.VML),
|
|
198543
|
+
}), ve)), _ && !_.ignoreEC && _.ignoreEC != null || N_(K, te), he = K, _ = y, O = O, 0 < (te = te)["!comments"].length && (_ = ki(O, -1, "../drawings/vmlDrawing" + (_ + 1) + ".vml", ln.VML), cr(he, 551, Z5("rId" + _)), te["!legacy"] = _), cr(K, 130), K.end();
|
|
198538
198544
|
}
|
|
198539
198545
|
function P_(y, _, M, O, K, te) {
|
|
198540
198546
|
var J = te || { "!type": "chart" };
|
|
@@ -198649,30 +198655,30 @@ const xM = /* @__PURE__ */ pae(S0e);
|
|
|
198649
198655
|
return y.read_shift(4), M.ArchID = y.read_shift(4), y.l += _ - 8, M;
|
|
198650
198656
|
}
|
|
198651
198657
|
function G_(y, _) {
|
|
198652
|
-
|
|
198658
|
+
cr(y, 143);
|
|
198653
198659
|
for (var M, O = 0; O != _.SheetNames.length; ++O) {
|
|
198654
198660
|
var K = { Hidden: _.Workbook && _.Workbook.Sheets && _.Workbook.Sheets[O] && _.Workbook.Sheets[O].Hidden || 0, iTabID: O + 1, strRelID: "rId" + (O + 1), name: _.SheetNames[O] };
|
|
198655
|
-
|
|
198661
|
+
cr(y, 156, (M = K, (K = (K = void 0) || fr(127)).write_shift(4, M.Hidden), K.write_shift(4, M.iTabID), Z5(M.strRelID, K), ga(M.name.slice(0, 31), K), K.length > K.l ? K.slice(0, K.l) : K));
|
|
198656
198662
|
}
|
|
198657
|
-
|
|
198663
|
+
cr(y, 144);
|
|
198658
198664
|
}
|
|
198659
198665
|
function W_(y, _) {
|
|
198660
198666
|
if (_.Workbook && _.Workbook.Sheets) {
|
|
198661
198667
|
for (var M, O = _.Workbook.Sheets, K = 0, te = -1, J = -1; K < O.length; ++K) !O[K] || !O[K].Hidden && te == -1 ? te = K : O[K].Hidden == 1 && J == -1 && (J = K);
|
|
198662
|
-
te < J || (
|
|
198668
|
+
te < J || (cr(y, 135), cr(y, 158, (_ = te, (M = M || fr(29)).write_shift(-4, 0), M.write_shift(-4, 460), M.write_shift(4, 28800), M.write_shift(4, 17600), M.write_shift(4, 500), M.write_shift(4, _), M.write_shift(4, _), M.write_shift(1, 120), M.length > M.l ? M.slice(0, M.l) : M)), cr(y, 136));
|
|
198663
198669
|
}
|
|
198664
198670
|
}
|
|
198665
198671
|
function Z_(y, _) {
|
|
198666
198672
|
var M = I1();
|
|
198667
|
-
return
|
|
198673
|
+
return cr(M, 131), cr(M, 128, function(O) {
|
|
198668
198674
|
O = O || fr(127);
|
|
198669
198675
|
for (var K = 0; K != 4; ++K) O.write_shift(4, 0);
|
|
198670
198676
|
return ga("SheetJS", O), ga(n.version, O), ga(n.version, O), ga("7262", O), O.length > O.l ? O.slice(0, O.l) : O;
|
|
198671
|
-
}()),
|
|
198677
|
+
}()), cr(M, 153, function(O, K) {
|
|
198672
198678
|
K = K || fr(72);
|
|
198673
198679
|
var te = 0;
|
|
198674
198680
|
return O && O.filterPrivacy && (te |= 8), K.write_shift(4, te), K.write_shift(4, 0), Qs(O && O.CodeName || "ThisWorkbook", K), K.slice(0, K.l);
|
|
198675
|
-
}(y.Workbook && y.Workbook.WBProps || null)), W_(M, y), G_(M, y),
|
|
198681
|
+
}(y.Workbook && y.Workbook.WBProps || null)), W_(M, y), G_(M, y), cr(M, 132), M.end();
|
|
198676
198682
|
}
|
|
198677
198683
|
function Y_(y, _, M) {
|
|
198678
198684
|
return (_.slice(-4) === ".bin" ? function(O, K) {
|
|
@@ -234889,10 +234895,10 @@ const EMt = ({
|
|
|
234889
234895
|
}) => {
|
|
234890
234896
|
console.log("avoid re-render", n);
|
|
234891
234897
|
const [l, c] = Qt([]), [f, s] = Qt(null);
|
|
234892
|
-
return
|
|
234898
|
+
return or(() => {
|
|
234893
234899
|
var u;
|
|
234894
234900
|
e && e.current && l.length > 0 && s(((u = l[0].config) == null ? void 0 : u.merge) ?? null);
|
|
234895
|
-
}, [l]),
|
|
234901
|
+
}, [l]), or(() => {
|
|
234896
234902
|
f && Object.keys(f).forEach((u) => {
|
|
234897
234903
|
const v = f[u], m = v.r, h = v.c, p = v.r + v.rs - 1, d = v.c + v.cs - 1;
|
|
234898
234904
|
e && e.current && e.current.mergeCells(
|
|
@@ -235004,7 +235010,7 @@ const EMt = ({
|
|
|
235004
235010
|
sheetEditorRef: c,
|
|
235005
235011
|
updateDocumentTitle: f
|
|
235006
235012
|
}) => {
|
|
235007
|
-
|
|
235013
|
+
or(() => {
|
|
235008
235014
|
const s = new URLSearchParams(window.location.search), o = s.get("xlsx");
|
|
235009
235015
|
o && fetch(o).then((m) => m.blob()).then((m) => {
|
|
235010
235016
|
const h = new File([m], "import.xlsx");
|
|
@@ -235070,7 +235076,7 @@ const DMt = ({
|
|
|
235070
235076
|
}
|
|
235071
235077
|
c.length > 0 && ((F = e.current) == null || F.calculateCellReferencedSubSheetFormula(currentSubSheetId, c));
|
|
235072
235078
|
};
|
|
235073
|
-
return
|
|
235079
|
+
return or(() => (i(), r.current = setInterval(
|
|
235074
235080
|
() => {
|
|
235075
235081
|
i();
|
|
235076
235082
|
},
|
|
@@ -235119,7 +235125,7 @@ const DMt = ({
|
|
|
235119
235125
|
updateDocumentTitle: C,
|
|
235120
235126
|
handleLiveQuery: S
|
|
235121
235127
|
} = jx();
|
|
235122
|
-
|
|
235128
|
+
or(() => {
|
|
235123
235129
|
window.editorRef = k.current, window.ydocRef = E.current, window.setForceRenderEditor = R, window.currentDataRef = F;
|
|
235124
235130
|
}, [i]);
|
|
235125
235131
|
const { handleXLSXUpload: L } = EMt({
|
|
@@ -738320,7 +738326,7 @@ const DMt = ({
|
|
|
738320
738326
|
setDataBlockCalcFunction: l,
|
|
738321
738327
|
initialiseLiveQueryData: c
|
|
738322
738328
|
}) => {
|
|
738323
|
-
console.log("selectedTemplate ignore", i, l, c, Ec, n),
|
|
738329
|
+
console.log("selectedTemplate ignore", i, l, c, Ec, n), or(() => {
|
|
738324
738330
|
var o;
|
|
738325
738331
|
if (!e || !t.current) return;
|
|
738326
738332
|
const f = t.current.getArray(r), s = qMt[e];
|
|
@@ -738354,7 +738360,7 @@ const DMt = ({
|
|
|
738354
738360
|
transitionClasses: i
|
|
738355
738361
|
}) => {
|
|
738356
738362
|
const [n, a] = Qt(e), [l, c] = Qt(e);
|
|
738357
|
-
return
|
|
738363
|
+
return or(() => {
|
|
738358
738364
|
if (e)
|
|
738359
738365
|
c(!0), requestAnimationFrame(() => {
|
|
738360
738366
|
requestAnimationFrame(() => {
|
|
@@ -738472,7 +738478,7 @@ const DMt = ({
|
|
|
738472
738478
|
const Z = new dc();
|
|
738473
738479
|
return G.set("luckysheet_conditionformat_save", Z), G;
|
|
738474
738480
|
};
|
|
738475
|
-
return
|
|
738481
|
+
return or(() => {
|
|
738476
738482
|
var T;
|
|
738477
738483
|
E && ((T = R.current) == null || T.transact(() => {
|
|
738478
738484
|
var q, Q, ne;
|