@arbocollab/arbo-xlsx-mapping 0.0.2-alpha.2 → 0.0.2-alpha.3
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/ARBO_XLSX_MAPPING_APP_LOADER.md +117 -0
- package/CHANGELOG.md +25 -0
- package/README.md +201 -37
- package/index.es.js +703 -690
- package/package.json +4 -2
package/index.es.js
CHANGED
|
@@ -36136,7 +36136,7 @@ function Vd(t) {
|
|
|
36136
36136
|
return t ? "open" : "closed";
|
|
36137
36137
|
}
|
|
36138
36138
|
Ki(Vd, "getState");
|
|
36139
|
-
var Nk = Object.defineProperty, As = (t, c) => Nk(t, "name", { value: c, configurable: !0 }), jk = "AlertDialog", [Ik,
|
|
36139
|
+
var Nk = Object.defineProperty, As = (t, c) => Nk(t, "name", { value: c, configurable: !0 }), jk = "AlertDialog", [Ik, Fz] = /* @__PURE__ */ bo(jk, [
|
|
36140
36140
|
W5
|
|
36141
36141
|
]), Os = W5(), Pk = /* @__PURE__ */ As((t) => {
|
|
36142
36142
|
const { __scopeAlertDialog: c, ...e } = t, l = Os(c);
|
|
@@ -37793,7 +37793,7 @@ function Rg(t, [c, e]) {
|
|
|
37793
37793
|
return Math.min(e, Math.max(c, t));
|
|
37794
37794
|
}
|
|
37795
37795
|
RT(Rg, "clamp");
|
|
37796
|
-
var AT = Object.defineProperty, Pr = (t, c) => AT(t, "name", { value: c, configurable: !0 }), OT = [" ", "Enter", "ArrowUp", "ArrowDown"], DT = [" ", "Enter"], Jl = "Select", [Jd, eh, NT] = /* @__PURE__ */ u5(Jl), [rl,
|
|
37796
|
+
var AT = Object.defineProperty, Pr = (t, c) => AT(t, "name", { value: c, configurable: !0 }), OT = [" ", "Enter", "ArrowUp", "ArrowDown"], DT = [" ", "Enter"], Jl = "Select", [Jd, eh, NT] = /* @__PURE__ */ u5(Jl), [rl, Hz] = /* @__PURE__ */ bo(Jl, [
|
|
37797
37797
|
NT,
|
|
37798
37798
|
Zd
|
|
37799
37799
|
]), hb = Zd(), [jT, yo] = rl(Jl), [IT, PT] = rl(Jl);
|
|
@@ -38328,7 +38328,7 @@ var zT = /* @__PURE__ */ Pr((t) => {
|
|
|
38328
38328
|
) })
|
|
38329
38329
|
] });
|
|
38330
38330
|
}, "SelectViewport")
|
|
38331
|
-
), eM = "SelectGroup", [
|
|
38331
|
+
), eM = "SelectGroup", [Uz, qz] = rl(eM), Ag = "SelectItem", [tM, k8] = rl(Ag), rM = /* @__PURE__ */ Y.forwardRef(
|
|
38332
38332
|
/* @__PURE__ */ Pr(function(c, e) {
|
|
38333
38333
|
const {
|
|
38334
38334
|
__scopeSelect: l,
|
|
@@ -38583,7 +38583,7 @@ function M8(t, c) {
|
|
|
38583
38583
|
return t.map((e, l) => t[(c + l) % t.length]);
|
|
38584
38584
|
}
|
|
38585
38585
|
Pr(M8, "wrapArray");
|
|
38586
|
-
var cM = Object.defineProperty, qn = (t, c) => cM(t, "name", { value: c, configurable: !0 }), [bb,
|
|
38586
|
+
var cM = Object.defineProperty, qn = (t, c) => cM(t, "name", { value: c, configurable: !0 }), [bb, $z] = /* @__PURE__ */ bo("Tooltip", [
|
|
38587
38587
|
Zd
|
|
38588
38588
|
]), th = Zd(), fM = "TooltipProvider", dM = 700, Og = "tooltip.open", [hM, vb] = bb(fM), pM = /* @__PURE__ */ qn((t) => {
|
|
38589
38589
|
const {
|
|
@@ -40236,13 +40236,22 @@ function LR({
|
|
|
40236
40236
|
] });
|
|
40237
40237
|
}
|
|
40238
40238
|
const FR = Y.lazy(
|
|
40239
|
-
() => Promise.resolve().then(() =>
|
|
40239
|
+
() => Promise.resolve().then(() => ez).then((t) => ({ default: t.PreviewGrid }))
|
|
40240
40240
|
), K8 = "tessr-upload";
|
|
40241
40241
|
function HR(t) {
|
|
40242
40242
|
return t.trim().replace(/\.xlsx$/i, "").replace(/[\\/:*?"<>|]/g, "").trim() || K8;
|
|
40243
40243
|
}
|
|
40244
|
-
|
|
40245
|
-
|
|
40244
|
+
function UR() {
|
|
40245
|
+
const t = sessionStorage.getItem("BASE_URL");
|
|
40246
|
+
if (!t) return null;
|
|
40247
|
+
try {
|
|
40248
|
+
return new URL(t).origin;
|
|
40249
|
+
} catch {
|
|
40250
|
+
return null;
|
|
40251
|
+
}
|
|
40252
|
+
}
|
|
40253
|
+
const qR = "Changing the mapping will discard the edits you made in the preview. Continue?", $R = "This cell keeps bold or italic text from your file. Editing it here turns it into plain text in the exported file. Continue?";
|
|
40254
|
+
function VR({ runtime: t } = {}) {
|
|
40246
40255
|
const c = (t == null ? void 0 : t.uniqueId) || "arbo-fallback", [e, l] = Y.useState(null), [d, s] = Y.useState(null), [a, o] = Y.useState(null), [i, r] = Y.useState({}), [u, m] = Y.useState(
|
|
40247
40256
|
() => uw(ow())
|
|
40248
40257
|
), f = u.present, [h, g] = Y.useState(null), [v, b] = Y.useState(null), [w, y] = Y.useState(!1), [C, M] = Y.useState(0), [O, I] = Y.useState(!0), [$, z] = Y.useState(!1), [F, V] = Y.useState(null), [W, H] = Y.useState(null), [A, N] = Y.useState(0), [E, _] = Y.useState(!1), [S, k] = Y.useTransition(), [T, D] = Y.useState(!1), [j, P] = Y.useState(null), [G, Z] = Y.useState(K8), te = Y.useMemo(() => z9(localStorage), []), U = Y.useMemo(
|
|
@@ -40290,7 +40299,7 @@ function $R({ runtime: t } = {}) {
|
|
|
40290
40299
|
}
|
|
40291
40300
|
P({
|
|
40292
40301
|
title: "Discard your preview edits?",
|
|
40293
|
-
description:
|
|
40302
|
+
description: qR,
|
|
40294
40303
|
confirmLabel: "Discard edits",
|
|
40295
40304
|
onConfirm: () => {
|
|
40296
40305
|
re(), Se();
|
|
@@ -40337,7 +40346,7 @@ function $R({ runtime: t } = {}) {
|
|
|
40337
40346
|
if (Ae.length > 0 && !$) {
|
|
40338
40347
|
P({
|
|
40339
40348
|
title: Ae.length === 1 ? "This cell keeps bold or italic" : `${Ae.length} cells keep bold or italic`,
|
|
40340
|
-
description: Ae.length === 1 ?
|
|
40349
|
+
description: Ae.length === 1 ? $R : `${Ae.length} of the cells you are changing keep bold or italic text from your file. Continuing turns them into plain text in the exported file. Continue?`,
|
|
40341
40350
|
confirmLabel: "Edit as plain text",
|
|
40342
40351
|
onConfirm: () => {
|
|
40343
40352
|
z(!0), Ne();
|
|
@@ -40361,14 +40370,18 @@ function $R({ runtime: t } = {}) {
|
|
|
40361
40370
|
rows: u9(B, f)
|
|
40362
40371
|
}), Pe = new Blob([Se], {
|
|
40363
40372
|
type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
40364
|
-
});
|
|
40373
|
+
}), Ae = UR();
|
|
40374
|
+
if (!Ae) {
|
|
40375
|
+
g("Unable to export: BASE_URL is missing or invalid.");
|
|
40376
|
+
return;
|
|
40377
|
+
}
|
|
40365
40378
|
window.parent.postMessage(
|
|
40366
40379
|
{
|
|
40367
40380
|
type: "TOOLBOX_EXPORT_DATA",
|
|
40368
40381
|
file: Pe,
|
|
40369
40382
|
fileName: `${HR(G)}.xlsx`
|
|
40370
40383
|
},
|
|
40371
|
-
|
|
40384
|
+
Ae
|
|
40372
40385
|
);
|
|
40373
40386
|
} finally {
|
|
40374
40387
|
D(!1);
|
|
@@ -40532,13 +40545,13 @@ function $R({ runtime: t } = {}) {
|
|
|
40532
40545
|
}
|
|
40533
40546
|
) });
|
|
40534
40547
|
}
|
|
40535
|
-
function
|
|
40548
|
+
function Vz(t = {}) {
|
|
40536
40549
|
let c;
|
|
40537
40550
|
const e = `arbo-${Math.random().toString(36).slice(2, 9)}`;
|
|
40538
40551
|
return {
|
|
40539
40552
|
element: "xlsx-mapping-id",
|
|
40540
40553
|
mount(l) {
|
|
40541
|
-
l.id = e, c = e9.createRoot(l), c.render(/* @__PURE__ */ le.jsx(
|
|
40554
|
+
l.id = e, c = e9.createRoot(l), c.render(/* @__PURE__ */ le.jsx(VR, { runtime: { ...t, uniqueId: e } }));
|
|
40542
40555
|
},
|
|
40543
40556
|
unmount() {
|
|
40544
40557
|
c == null || c.unmount(), c = void 0;
|
|
@@ -40546,7 +40559,7 @@ function $z(t = {}) {
|
|
|
40546
40559
|
};
|
|
40547
40560
|
}
|
|
40548
40561
|
var cm, Kw;
|
|
40549
|
-
function
|
|
40562
|
+
function WR() {
|
|
40550
40563
|
if (Kw) return cm;
|
|
40551
40564
|
Kw = 1;
|
|
40552
40565
|
var t = Object.prototype, c = t.hasOwnProperty;
|
|
@@ -40584,7 +40597,7 @@ function Uc() {
|
|
|
40584
40597
|
return pm = c, pm;
|
|
40585
40598
|
}
|
|
40586
40599
|
var mm, t3;
|
|
40587
|
-
function
|
|
40600
|
+
function XR() {
|
|
40588
40601
|
if (t3) return mm;
|
|
40589
40602
|
t3 = 1;
|
|
40590
40603
|
var t = Uc(), c = Object.prototype, e = c.hasOwnProperty, l = c.toString, d = t ? t.toStringTag : void 0;
|
|
@@ -40601,7 +40614,7 @@ function WR() {
|
|
|
40601
40614
|
return mm = s, mm;
|
|
40602
40615
|
}
|
|
40603
40616
|
var gm, r3;
|
|
40604
|
-
function
|
|
40617
|
+
function YR() {
|
|
40605
40618
|
if (r3) return gm;
|
|
40606
40619
|
r3 = 1;
|
|
40607
40620
|
var t = Object.prototype, c = t.toString;
|
|
@@ -40614,7 +40627,7 @@ var bm, n3;
|
|
|
40614
40627
|
function qc() {
|
|
40615
40628
|
if (n3) return bm;
|
|
40616
40629
|
n3 = 1;
|
|
40617
|
-
var t = Uc(), c =
|
|
40630
|
+
var t = Uc(), c = XR(), e = YR(), l = "[object Null]", d = "[object Undefined]", s = t ? t.toStringTag : void 0;
|
|
40618
40631
|
function a(o) {
|
|
40619
40632
|
return o == null ? o === void 0 ? d : l : s && s in Object(o) ? c(o) : e(o);
|
|
40620
40633
|
}
|
|
@@ -40676,17 +40689,17 @@ function Q8() {
|
|
|
40676
40689
|
return _m = a, _m;
|
|
40677
40690
|
}
|
|
40678
40691
|
var Sm, u3;
|
|
40679
|
-
function
|
|
40692
|
+
function GR() {
|
|
40680
40693
|
if (u3) return Sm;
|
|
40681
40694
|
u3 = 1;
|
|
40682
40695
|
var t = Ga(), c = t["__core-js_shared__"];
|
|
40683
40696
|
return Sm = c, Sm;
|
|
40684
40697
|
}
|
|
40685
40698
|
var Cm, c3;
|
|
40686
|
-
function
|
|
40699
|
+
function KR() {
|
|
40687
40700
|
if (c3) return Cm;
|
|
40688
40701
|
c3 = 1;
|
|
40689
|
-
var t =
|
|
40702
|
+
var t = GR(), c = (function() {
|
|
40690
40703
|
var l = /[^.]+$/.exec(t && t.keys && t.keys.IE_PROTO || "");
|
|
40691
40704
|
return l ? "Symbol(src)_1." + l : "";
|
|
40692
40705
|
})();
|
|
@@ -40716,10 +40729,10 @@ function J8() {
|
|
|
40716
40729
|
return km = e, km;
|
|
40717
40730
|
}
|
|
40718
40731
|
var Em, d3;
|
|
40719
|
-
function
|
|
40732
|
+
function ZR() {
|
|
40720
40733
|
if (d3) return Em;
|
|
40721
40734
|
d3 = 1;
|
|
40722
|
-
var t = Q8(), c =
|
|
40735
|
+
var t = Q8(), c = KR(), e = il(), l = J8(), d = /[\\^$.*+?()[\]{}|]/g, s = /^\[object .+?Constructor\]$/, a = Function.prototype, o = Object.prototype, i = a.toString, r = o.hasOwnProperty, u = RegExp(
|
|
40723
40736
|
"^" + i.call(r).replace(d, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
40724
40737
|
);
|
|
40725
40738
|
function m(f) {
|
|
@@ -40731,7 +40744,7 @@ function KR() {
|
|
|
40731
40744
|
return Em = m, Em;
|
|
40732
40745
|
}
|
|
40733
40746
|
var Tm, h3;
|
|
40734
|
-
function
|
|
40747
|
+
function QR() {
|
|
40735
40748
|
if (h3) return Tm;
|
|
40736
40749
|
h3 = 1;
|
|
40737
40750
|
function t(c, e) {
|
|
@@ -40743,7 +40756,7 @@ var Mm, p3;
|
|
|
40743
40756
|
function al() {
|
|
40744
40757
|
if (p3) return Mm;
|
|
40745
40758
|
p3 = 1;
|
|
40746
|
-
var t =
|
|
40759
|
+
var t = ZR(), c = QR();
|
|
40747
40760
|
function e(l, d) {
|
|
40748
40761
|
var s = c(l, d);
|
|
40749
40762
|
return t(s) ? s : void 0;
|
|
@@ -40758,7 +40771,7 @@ function ih() {
|
|
|
40758
40771
|
return Rm = c, Rm;
|
|
40759
40772
|
}
|
|
40760
40773
|
var Am, g3;
|
|
40761
|
-
function
|
|
40774
|
+
function JR() {
|
|
40762
40775
|
if (g3) return Am;
|
|
40763
40776
|
g3 = 1;
|
|
40764
40777
|
var t = ih();
|
|
@@ -40768,7 +40781,7 @@ function QR() {
|
|
|
40768
40781
|
return Am = c, Am;
|
|
40769
40782
|
}
|
|
40770
40783
|
var Om, b3;
|
|
40771
|
-
function
|
|
40784
|
+
function eA() {
|
|
40772
40785
|
if (b3) return Om;
|
|
40773
40786
|
b3 = 1;
|
|
40774
40787
|
function t(c) {
|
|
@@ -40778,7 +40791,7 @@ function JR() {
|
|
|
40778
40791
|
return Om = t, Om;
|
|
40779
40792
|
}
|
|
40780
40793
|
var Dm, v3;
|
|
40781
|
-
function
|
|
40794
|
+
function tA() {
|
|
40782
40795
|
if (v3) return Dm;
|
|
40783
40796
|
v3 = 1;
|
|
40784
40797
|
var t = ih(), c = "__lodash_hash_undefined__", e = Object.prototype, l = e.hasOwnProperty;
|
|
@@ -40793,7 +40806,7 @@ function eA() {
|
|
|
40793
40806
|
return Dm = d, Dm;
|
|
40794
40807
|
}
|
|
40795
40808
|
var Nm, y3;
|
|
40796
|
-
function
|
|
40809
|
+
function rA() {
|
|
40797
40810
|
if (y3) return Nm;
|
|
40798
40811
|
y3 = 1;
|
|
40799
40812
|
var t = ih(), c = Object.prototype, e = c.hasOwnProperty;
|
|
@@ -40804,7 +40817,7 @@ function tA() {
|
|
|
40804
40817
|
return Nm = l, Nm;
|
|
40805
40818
|
}
|
|
40806
40819
|
var jm, w3;
|
|
40807
|
-
function
|
|
40820
|
+
function nA() {
|
|
40808
40821
|
if (w3) return jm;
|
|
40809
40822
|
w3 = 1;
|
|
40810
40823
|
var t = ih(), c = "__lodash_hash_undefined__";
|
|
@@ -40815,10 +40828,10 @@ function rA() {
|
|
|
40815
40828
|
return jm = e, jm;
|
|
40816
40829
|
}
|
|
40817
40830
|
var Im, x3;
|
|
40818
|
-
function
|
|
40831
|
+
function iA() {
|
|
40819
40832
|
if (x3) return Im;
|
|
40820
40833
|
x3 = 1;
|
|
40821
|
-
var t =
|
|
40834
|
+
var t = JR(), c = eA(), e = tA(), l = rA(), d = nA();
|
|
40822
40835
|
function s(a) {
|
|
40823
40836
|
var o = -1, i = a == null ? 0 : a.length;
|
|
40824
40837
|
for (this.clear(); ++o < i; ) {
|
|
@@ -40829,7 +40842,7 @@ function nA() {
|
|
|
40829
40842
|
return s.prototype.clear = t, s.prototype.delete = c, s.prototype.get = e, s.prototype.has = l, s.prototype.set = d, Im = s, Im;
|
|
40830
40843
|
}
|
|
40831
40844
|
var Pm, _3;
|
|
40832
|
-
function
|
|
40845
|
+
function aA() {
|
|
40833
40846
|
if (_3) return Pm;
|
|
40834
40847
|
_3 = 1;
|
|
40835
40848
|
function t() {
|
|
@@ -40860,7 +40873,7 @@ function ah() {
|
|
|
40860
40873
|
return Bm = c, Bm;
|
|
40861
40874
|
}
|
|
40862
40875
|
var Lm, k3;
|
|
40863
|
-
function
|
|
40876
|
+
function sA() {
|
|
40864
40877
|
if (k3) return Lm;
|
|
40865
40878
|
k3 = 1;
|
|
40866
40879
|
var t = ah(), c = Array.prototype, e = c.splice;
|
|
@@ -40874,7 +40887,7 @@ function aA() {
|
|
|
40874
40887
|
return Lm = l, Lm;
|
|
40875
40888
|
}
|
|
40876
40889
|
var Fm, E3;
|
|
40877
|
-
function
|
|
40890
|
+
function oA() {
|
|
40878
40891
|
if (E3) return Fm;
|
|
40879
40892
|
E3 = 1;
|
|
40880
40893
|
var t = ah();
|
|
@@ -40885,7 +40898,7 @@ function sA() {
|
|
|
40885
40898
|
return Fm = c, Fm;
|
|
40886
40899
|
}
|
|
40887
40900
|
var Hm, T3;
|
|
40888
|
-
function
|
|
40901
|
+
function lA() {
|
|
40889
40902
|
if (T3) return Hm;
|
|
40890
40903
|
T3 = 1;
|
|
40891
40904
|
var t = ah();
|
|
@@ -40895,7 +40908,7 @@ function oA() {
|
|
|
40895
40908
|
return Hm = c, Hm;
|
|
40896
40909
|
}
|
|
40897
40910
|
var Um, M3;
|
|
40898
|
-
function
|
|
40911
|
+
function uA() {
|
|
40899
40912
|
if (M3) return Um;
|
|
40900
40913
|
M3 = 1;
|
|
40901
40914
|
var t = ah();
|
|
@@ -40909,7 +40922,7 @@ var qm, R3;
|
|
|
40909
40922
|
function sh() {
|
|
40910
40923
|
if (R3) return qm;
|
|
40911
40924
|
R3 = 1;
|
|
40912
|
-
var t =
|
|
40925
|
+
var t = aA(), c = sA(), e = oA(), l = lA(), d = uA();
|
|
40913
40926
|
function s(a) {
|
|
40914
40927
|
var o = -1, i = a == null ? 0 : a.length;
|
|
40915
40928
|
for (this.clear(); ++o < i; ) {
|
|
@@ -40927,10 +40940,10 @@ function Cb() {
|
|
|
40927
40940
|
return $m = e, $m;
|
|
40928
40941
|
}
|
|
40929
40942
|
var Vm, O3;
|
|
40930
|
-
function
|
|
40943
|
+
function cA() {
|
|
40931
40944
|
if (O3) return Vm;
|
|
40932
40945
|
O3 = 1;
|
|
40933
|
-
var t =
|
|
40946
|
+
var t = iA(), c = sh(), e = Cb();
|
|
40934
40947
|
function l() {
|
|
40935
40948
|
this.size = 0, this.__data__ = {
|
|
40936
40949
|
hash: new t(),
|
|
@@ -40941,7 +40954,7 @@ function uA() {
|
|
|
40941
40954
|
return Vm = l, Vm;
|
|
40942
40955
|
}
|
|
40943
40956
|
var Wm, D3;
|
|
40944
|
-
function
|
|
40957
|
+
function fA() {
|
|
40945
40958
|
if (D3) return Wm;
|
|
40946
40959
|
D3 = 1;
|
|
40947
40960
|
function t(c) {
|
|
@@ -40954,7 +40967,7 @@ var Xm, N3;
|
|
|
40954
40967
|
function oh() {
|
|
40955
40968
|
if (N3) return Xm;
|
|
40956
40969
|
N3 = 1;
|
|
40957
|
-
var t =
|
|
40970
|
+
var t = fA();
|
|
40958
40971
|
function c(e, l) {
|
|
40959
40972
|
var d = e.__data__;
|
|
40960
40973
|
return t(l) ? d[typeof l == "string" ? "string" : "hash"] : d.map;
|
|
@@ -40962,7 +40975,7 @@ function oh() {
|
|
|
40962
40975
|
return Xm = c, Xm;
|
|
40963
40976
|
}
|
|
40964
40977
|
var Ym, j3;
|
|
40965
|
-
function
|
|
40978
|
+
function dA() {
|
|
40966
40979
|
if (j3) return Ym;
|
|
40967
40980
|
j3 = 1;
|
|
40968
40981
|
var t = oh();
|
|
@@ -40973,7 +40986,7 @@ function fA() {
|
|
|
40973
40986
|
return Ym = c, Ym;
|
|
40974
40987
|
}
|
|
40975
40988
|
var Gm, I3;
|
|
40976
|
-
function
|
|
40989
|
+
function hA() {
|
|
40977
40990
|
if (I3) return Gm;
|
|
40978
40991
|
I3 = 1;
|
|
40979
40992
|
var t = oh();
|
|
@@ -40983,7 +40996,7 @@ function dA() {
|
|
|
40983
40996
|
return Gm = c, Gm;
|
|
40984
40997
|
}
|
|
40985
40998
|
var Km, P3;
|
|
40986
|
-
function
|
|
40999
|
+
function pA() {
|
|
40987
41000
|
if (P3) return Km;
|
|
40988
41001
|
P3 = 1;
|
|
40989
41002
|
var t = oh();
|
|
@@ -40993,7 +41006,7 @@ function hA() {
|
|
|
40993
41006
|
return Km = c, Km;
|
|
40994
41007
|
}
|
|
40995
41008
|
var Zm, z3;
|
|
40996
|
-
function
|
|
41009
|
+
function mA() {
|
|
40997
41010
|
if (z3) return Zm;
|
|
40998
41011
|
z3 = 1;
|
|
40999
41012
|
var t = oh();
|
|
@@ -41007,7 +41020,7 @@ var Qm, B3;
|
|
|
41007
41020
|
function kb() {
|
|
41008
41021
|
if (B3) return Qm;
|
|
41009
41022
|
B3 = 1;
|
|
41010
|
-
var t =
|
|
41023
|
+
var t = cA(), c = dA(), e = hA(), l = pA(), d = mA();
|
|
41011
41024
|
function s(a) {
|
|
41012
41025
|
var o = -1, i = a == null ? 0 : a.length;
|
|
41013
41026
|
for (this.clear(); ++o < i; ) {
|
|
@@ -41018,7 +41031,7 @@ function kb() {
|
|
|
41018
41031
|
return s.prototype.clear = t, s.prototype.delete = c, s.prototype.get = e, s.prototype.has = l, s.prototype.set = d, Qm = s, Qm;
|
|
41019
41032
|
}
|
|
41020
41033
|
var Jm, L3;
|
|
41021
|
-
function
|
|
41034
|
+
function gA() {
|
|
41022
41035
|
if (L3) return Jm;
|
|
41023
41036
|
L3 = 1;
|
|
41024
41037
|
var t = kb(), c = "Expected a function";
|
|
@@ -41037,10 +41050,10 @@ function mA() {
|
|
|
41037
41050
|
return e.Cache = t, Jm = e, Jm;
|
|
41038
41051
|
}
|
|
41039
41052
|
var e0, F3;
|
|
41040
|
-
function
|
|
41053
|
+
function bA() {
|
|
41041
41054
|
if (F3) return e0;
|
|
41042
41055
|
F3 = 1;
|
|
41043
|
-
var t =
|
|
41056
|
+
var t = gA(), c = 500;
|
|
41044
41057
|
function e(l) {
|
|
41045
41058
|
var d = t(l, function(a) {
|
|
41046
41059
|
return s.size === c && s.clear(), a;
|
|
@@ -41050,10 +41063,10 @@ function gA() {
|
|
|
41050
41063
|
return e0 = e, e0;
|
|
41051
41064
|
}
|
|
41052
41065
|
var t0, H3;
|
|
41053
|
-
function
|
|
41066
|
+
function vA() {
|
|
41054
41067
|
if (H3) return t0;
|
|
41055
41068
|
H3 = 1;
|
|
41056
|
-
var t =
|
|
41069
|
+
var t = bA(), c = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, e = /\\(\\)?/g, l = t(function(d) {
|
|
41057
41070
|
var s = [];
|
|
41058
41071
|
return d.charCodeAt(0) === 46 && s.push(""), d.replace(c, function(a, o, i, r) {
|
|
41059
41072
|
s.push(i ? r.replace(e, "$1") : o || a);
|
|
@@ -41062,7 +41075,7 @@ function bA() {
|
|
|
41062
41075
|
return t0 = l, t0;
|
|
41063
41076
|
}
|
|
41064
41077
|
var r0, U3;
|
|
41065
|
-
function
|
|
41078
|
+
function yA() {
|
|
41066
41079
|
if (U3) return r0;
|
|
41067
41080
|
U3 = 1;
|
|
41068
41081
|
function t(c, e) {
|
|
@@ -41073,10 +41086,10 @@ function vA() {
|
|
|
41073
41086
|
return r0 = t, r0;
|
|
41074
41087
|
}
|
|
41075
41088
|
var n0, q3;
|
|
41076
|
-
function
|
|
41089
|
+
function wA() {
|
|
41077
41090
|
if (q3) return n0;
|
|
41078
41091
|
q3 = 1;
|
|
41079
|
-
var t = Uc(), c =
|
|
41092
|
+
var t = Uc(), c = yA(), e = Ya(), l = nh(), d = t ? t.prototype : void 0, s = d ? d.toString : void 0;
|
|
41080
41093
|
function a(o) {
|
|
41081
41094
|
if (typeof o == "string")
|
|
41082
41095
|
return o;
|
|
@@ -41090,10 +41103,10 @@ function yA() {
|
|
|
41090
41103
|
return n0 = a, n0;
|
|
41091
41104
|
}
|
|
41092
41105
|
var i0, $3;
|
|
41093
|
-
function
|
|
41106
|
+
function xA() {
|
|
41094
41107
|
if ($3) return i0;
|
|
41095
41108
|
$3 = 1;
|
|
41096
|
-
var t =
|
|
41109
|
+
var t = wA();
|
|
41097
41110
|
function c(e) {
|
|
41098
41111
|
return e == null ? "" : t(e);
|
|
41099
41112
|
}
|
|
@@ -41103,14 +41116,14 @@ var a0, V3;
|
|
|
41103
41116
|
function e_() {
|
|
41104
41117
|
if (V3) return a0;
|
|
41105
41118
|
V3 = 1;
|
|
41106
|
-
var t = Ya(), c = _b(), e =
|
|
41119
|
+
var t = Ya(), c = _b(), e = vA(), l = xA();
|
|
41107
41120
|
function d(s, a) {
|
|
41108
41121
|
return t(s) ? s : c(s, a) ? [s] : e(l(s));
|
|
41109
41122
|
}
|
|
41110
41123
|
return a0 = d, a0;
|
|
41111
41124
|
}
|
|
41112
41125
|
var s0, W3;
|
|
41113
|
-
function
|
|
41126
|
+
function _A() {
|
|
41114
41127
|
if (W3) return s0;
|
|
41115
41128
|
W3 = 1;
|
|
41116
41129
|
var t = qc(), c = $c(), e = "[object Arguments]";
|
|
@@ -41123,7 +41136,7 @@ var o0, X3;
|
|
|
41123
41136
|
function Eb() {
|
|
41124
41137
|
if (X3) return o0;
|
|
41125
41138
|
X3 = 1;
|
|
41126
|
-
var t =
|
|
41139
|
+
var t = _A(), c = $c(), e = Object.prototype, l = e.hasOwnProperty, d = e.propertyIsEnumerable, s = t(/* @__PURE__ */ (function() {
|
|
41127
41140
|
return arguments;
|
|
41128
41141
|
})()) ? t : function(a) {
|
|
41129
41142
|
return c(a) && l.call(a, "callee") && !d.call(a, "callee");
|
|
@@ -41182,17 +41195,17 @@ function t_() {
|
|
|
41182
41195
|
return f0 = a, f0;
|
|
41183
41196
|
}
|
|
41184
41197
|
var d0, Q3;
|
|
41185
|
-
function
|
|
41198
|
+
function SA() {
|
|
41186
41199
|
if (Q3) return d0;
|
|
41187
41200
|
Q3 = 1;
|
|
41188
|
-
var t =
|
|
41201
|
+
var t = WR(), c = t_();
|
|
41189
41202
|
function e(l, d) {
|
|
41190
41203
|
return l != null && c(l, d, t);
|
|
41191
41204
|
}
|
|
41192
41205
|
return d0 = e, d0;
|
|
41193
41206
|
}
|
|
41194
|
-
var
|
|
41195
|
-
const
|
|
41207
|
+
var CA = SA();
|
|
41208
|
+
const kA = /* @__PURE__ */ Wa(CA);
|
|
41196
41209
|
function r_(t = "This should not happen") {
|
|
41197
41210
|
throw new Error(t);
|
|
41198
41211
|
}
|
|
@@ -41203,7 +41216,7 @@ function Yi(t, c = "Assertion failed") {
|
|
|
41203
41216
|
function Dc(t, c) {
|
|
41204
41217
|
return r_(c ?? "Hell froze over");
|
|
41205
41218
|
}
|
|
41206
|
-
function
|
|
41219
|
+
function EA(t, c) {
|
|
41207
41220
|
try {
|
|
41208
41221
|
return t();
|
|
41209
41222
|
} catch {
|
|
@@ -41277,7 +41290,7 @@ function Xl(t) {
|
|
|
41277
41290
|
}
|
|
41278
41291
|
}
|
|
41279
41292
|
function n_(t) {
|
|
41280
|
-
return
|
|
41293
|
+
return kA(t, "editor");
|
|
41281
41294
|
}
|
|
41282
41295
|
function Ab(t) {
|
|
41283
41296
|
return !(t.readonly ?? !1);
|
|
@@ -41403,18 +41416,18 @@ Rt(ji, "create", (c) => new ji(h0(c))), Rt(ji, "empty", () => r4 ?? (r4 = new ji
|
|
|
41403
41416
|
return new ji(l);
|
|
41404
41417
|
});
|
|
41405
41418
|
let Hr = ji;
|
|
41406
|
-
function
|
|
41419
|
+
function TA(t) {
|
|
41407
41420
|
var c = /* @__PURE__ */ Object.create(null);
|
|
41408
41421
|
return function(e) {
|
|
41409
41422
|
return c[e] === void 0 && (c[e] = t(e)), c[e];
|
|
41410
41423
|
};
|
|
41411
41424
|
}
|
|
41412
|
-
var
|
|
41425
|
+
var MA = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, p0 = /* @__PURE__ */ TA(
|
|
41413
41426
|
function(t) {
|
|
41414
|
-
return
|
|
41427
|
+
return MA.test(t) || t.charCodeAt(0) === 111 && t.charCodeAt(1) === 110 && t.charCodeAt(2) < 91;
|
|
41415
41428
|
}
|
|
41416
41429
|
/* Z+1 */
|
|
41417
|
-
),
|
|
41430
|
+
), RA = function() {
|
|
41418
41431
|
const c = Array.prototype.slice.call(arguments).filter(Boolean), e = {}, l = [];
|
|
41419
41432
|
c.forEach((s) => {
|
|
41420
41433
|
(s ? s.split(" ") : []).forEach((o) => {
|
|
@@ -41429,13 +41442,13 @@ var TA = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
41429
41442
|
for (const s in e)
|
|
41430
41443
|
Object.prototype.hasOwnProperty.call(e, s) && d.push(e[s]);
|
|
41431
41444
|
return d.push(...l), d.join(" ");
|
|
41432
|
-
}, n4 =
|
|
41445
|
+
}, n4 = RA, AA = (t) => t.toUpperCase() === t, OA = (t) => (c) => t.indexOf(c) === -1, i_ = (t, c) => {
|
|
41433
41446
|
const e = {};
|
|
41434
|
-
return Object.keys(t).filter(
|
|
41447
|
+
return Object.keys(t).filter(OA(c)).forEach((l) => {
|
|
41435
41448
|
e[l] = t[l];
|
|
41436
41449
|
}), e;
|
|
41437
41450
|
};
|
|
41438
|
-
function
|
|
41451
|
+
function DA(t, c, e) {
|
|
41439
41452
|
const l = i_(c, e);
|
|
41440
41453
|
if (!t) {
|
|
41441
41454
|
const d = typeof p0 == "function" ? { default: p0 } : p0;
|
|
@@ -41445,13 +41458,13 @@ function OA(t, c, e) {
|
|
|
41445
41458
|
}
|
|
41446
41459
|
return l;
|
|
41447
41460
|
}
|
|
41448
|
-
var
|
|
41461
|
+
var NA = (t, c) => {
|
|
41449
41462
|
};
|
|
41450
|
-
function
|
|
41463
|
+
function jA(t) {
|
|
41451
41464
|
let c = "";
|
|
41452
41465
|
return (e) => {
|
|
41453
41466
|
const l = (s, a) => {
|
|
41454
|
-
const { as: o = t, class: i = c } = s, r = e.propsAsIs === void 0 ? !(typeof o == "string" && o.indexOf("-") === -1 && !
|
|
41467
|
+
const { as: o = t, class: i = c } = s, r = e.propsAsIs === void 0 ? !(typeof o == "string" && o.indexOf("-") === -1 && !AA(o[0])) : e.propsAsIs, u = DA(r, s, [
|
|
41455
41468
|
"as",
|
|
41456
41469
|
"class"
|
|
41457
41470
|
]);
|
|
@@ -41461,7 +41474,7 @@ function NA(t) {
|
|
|
41461
41474
|
const f = {};
|
|
41462
41475
|
for (const v in m) {
|
|
41463
41476
|
const b = m[v], w = b[0], y = b[1] || "", C = typeof w == "function" ? w(s) : w;
|
|
41464
|
-
|
|
41477
|
+
NA(C, e.name), f[`--${v}`] = `${C}${y}`;
|
|
41465
41478
|
}
|
|
41466
41479
|
const h = u.style || {}, g = Object.keys(h);
|
|
41467
41480
|
g.length > 0 && g.forEach((v) => {
|
|
@@ -41483,24 +41496,24 @@ function NA(t) {
|
|
|
41483
41496
|
}, d;
|
|
41484
41497
|
};
|
|
41485
41498
|
}
|
|
41486
|
-
var xi =
|
|
41487
|
-
const
|
|
41499
|
+
var xi = jA;
|
|
41500
|
+
const IA = /* @__PURE__ */ xi("div")({
|
|
41488
41501
|
name: "ImageOverlayEditorStyle",
|
|
41489
41502
|
class: "gdg-i2iowwq",
|
|
41490
41503
|
propsAsIs: !1
|
|
41491
41504
|
});
|
|
41492
41505
|
var m0 = {}, ic = {}, ud = {}, cd = {}, g0 = { exports: {} }, b0, i4;
|
|
41493
|
-
function
|
|
41506
|
+
function PA() {
|
|
41494
41507
|
if (i4) return b0;
|
|
41495
41508
|
i4 = 1;
|
|
41496
41509
|
var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
41497
41510
|
return b0 = t, b0;
|
|
41498
41511
|
}
|
|
41499
41512
|
var v0, a4;
|
|
41500
|
-
function
|
|
41513
|
+
function zA() {
|
|
41501
41514
|
if (a4) return v0;
|
|
41502
41515
|
a4 = 1;
|
|
41503
|
-
var t = /* @__PURE__ */
|
|
41516
|
+
var t = /* @__PURE__ */ PA();
|
|
41504
41517
|
function c() {
|
|
41505
41518
|
}
|
|
41506
41519
|
function e() {
|
|
@@ -41545,14 +41558,14 @@ function PA() {
|
|
|
41545
41558
|
}, v0;
|
|
41546
41559
|
}
|
|
41547
41560
|
var s4;
|
|
41548
|
-
function
|
|
41549
|
-
return s4 || (s4 = 1, g0.exports = /* @__PURE__ */
|
|
41561
|
+
function BA() {
|
|
41562
|
+
return s4 || (s4 = 1, g0.exports = /* @__PURE__ */ zA()()), g0.exports;
|
|
41550
41563
|
}
|
|
41551
41564
|
var o4;
|
|
41552
|
-
function
|
|
41565
|
+
function LA() {
|
|
41553
41566
|
return o4 || (o4 = 1, (function(t) {
|
|
41554
41567
|
(function(c, e) {
|
|
41555
|
-
e(t, go(), /* @__PURE__ */
|
|
41568
|
+
e(t, go(), /* @__PURE__ */ BA());
|
|
41556
41569
|
})(cd, function(c, e, l) {
|
|
41557
41570
|
Object.defineProperty(c, "__esModule", {
|
|
41558
41571
|
value: !0
|
|
@@ -41769,7 +41782,7 @@ var l4;
|
|
|
41769
41782
|
function a_() {
|
|
41770
41783
|
return l4 || (l4 = 1, (function(t) {
|
|
41771
41784
|
(function(c, e) {
|
|
41772
|
-
e(t,
|
|
41785
|
+
e(t, LA());
|
|
41773
41786
|
})(ud, function(c, e) {
|
|
41774
41787
|
Object.defineProperty(c, "__esModule", {
|
|
41775
41788
|
value: !0
|
|
@@ -41791,7 +41804,7 @@ var ac = {}, y0 = { exports: {} };
|
|
|
41791
41804
|
http://jedwatson.github.io/classnames
|
|
41792
41805
|
*/
|
|
41793
41806
|
var u4;
|
|
41794
|
-
function
|
|
41807
|
+
function FA() {
|
|
41795
41808
|
return u4 || (u4 = 1, (function(t) {
|
|
41796
41809
|
(function() {
|
|
41797
41810
|
var c = {}.hasOwnProperty;
|
|
@@ -41829,7 +41842,7 @@ function s_() {
|
|
|
41829
41842
|
c4 = 1, Object.defineProperty(ac, "__esModule", {
|
|
41830
41843
|
value: !0
|
|
41831
41844
|
}), ac.default = void 0;
|
|
41832
|
-
var t = c(
|
|
41845
|
+
var t = c(FA());
|
|
41833
41846
|
function c(d) {
|
|
41834
41847
|
return d && d.__esModule ? d : { default: d };
|
|
41835
41848
|
}
|
|
@@ -41893,7 +41906,7 @@ function s_() {
|
|
|
41893
41906
|
return ac.default = l, ac;
|
|
41894
41907
|
}
|
|
41895
41908
|
var sc = {}, oc = {}, f4;
|
|
41896
|
-
function
|
|
41909
|
+
function HA() {
|
|
41897
41910
|
if (f4) return oc;
|
|
41898
41911
|
f4 = 1, Object.defineProperty(oc, "__esModule", {
|
|
41899
41912
|
value: !0
|
|
@@ -41933,7 +41946,7 @@ function l_() {
|
|
|
41933
41946
|
p4 = 1, Object.defineProperty(sc, "__esModule", {
|
|
41934
41947
|
value: !0
|
|
41935
41948
|
}), sc.default = void 0;
|
|
41936
|
-
var t = i(go()), c = a(s_()), e =
|
|
41949
|
+
var t = i(go()), c = a(s_()), e = HA(), l = a(Ob()), d = a(a_()), s = a(o_());
|
|
41937
41950
|
function a(z) {
|
|
41938
41951
|
return z && z.__esModule ? z : { default: z };
|
|
41939
41952
|
}
|
|
@@ -42236,7 +42249,7 @@ function l_() {
|
|
|
42236
42249
|
}), sc;
|
|
42237
42250
|
}
|
|
42238
42251
|
var cc = {}, m4;
|
|
42239
|
-
function
|
|
42252
|
+
function UA() {
|
|
42240
42253
|
if (m4) return cc;
|
|
42241
42254
|
m4 = 1, Object.defineProperty(cc, "__esModule", {
|
|
42242
42255
|
value: !0
|
|
@@ -42287,7 +42300,7 @@ function u_() {
|
|
|
42287
42300
|
return Wi.setPosition = o, Wi;
|
|
42288
42301
|
}
|
|
42289
42302
|
var wa = {}, b4;
|
|
42290
|
-
function
|
|
42303
|
+
function qA() {
|
|
42291
42304
|
if (b4) return wa;
|
|
42292
42305
|
b4 = 1, Object.defineProperty(wa, "__esModule", {
|
|
42293
42306
|
value: !0
|
|
@@ -42392,12 +42405,12 @@ function UA() {
|
|
|
42392
42405
|
return wa.fadeAnimationHandler = u, wa;
|
|
42393
42406
|
}
|
|
42394
42407
|
var v4;
|
|
42395
|
-
function
|
|
42408
|
+
function $A() {
|
|
42396
42409
|
if (v4) return ic;
|
|
42397
42410
|
v4 = 1, Object.defineProperty(ic, "__esModule", {
|
|
42398
42411
|
value: !0
|
|
42399
42412
|
}), ic.default = void 0;
|
|
42400
|
-
var t = u(go()), c = i(a_()), e = i(s_()), l = i(l_()), d = i(
|
|
42413
|
+
var t = u(go()), c = i(a_()), e = i(s_()), l = i(l_()), d = i(UA()), s = i(o_()), a = u_(), o = qA();
|
|
42401
42414
|
function i(W) {
|
|
42402
42415
|
return W && W.__esModule ? W : { default: W };
|
|
42403
42416
|
}
|
|
@@ -42938,11 +42951,11 @@ function qA() {
|
|
|
42938
42951
|
}), ic;
|
|
42939
42952
|
}
|
|
42940
42953
|
var y4 = {}, w4;
|
|
42941
|
-
function
|
|
42954
|
+
function VA() {
|
|
42942
42955
|
return w4 || (w4 = 1), y4;
|
|
42943
42956
|
}
|
|
42944
42957
|
var x4;
|
|
42945
|
-
function
|
|
42958
|
+
function WA() {
|
|
42946
42959
|
return x4 || (x4 = 1, (function(t) {
|
|
42947
42960
|
Object.defineProperty(t, "__esModule", {
|
|
42948
42961
|
value: !0
|
|
@@ -42962,14 +42975,14 @@ function VA() {
|
|
|
42962
42975
|
return l.default;
|
|
42963
42976
|
}
|
|
42964
42977
|
});
|
|
42965
|
-
var c = d(
|
|
42978
|
+
var c = d($A()), e = VA(), l = d(l_());
|
|
42966
42979
|
function d(s) {
|
|
42967
42980
|
return s && s.__esModule ? s : { default: s };
|
|
42968
42981
|
}
|
|
42969
42982
|
})(m0)), m0;
|
|
42970
42983
|
}
|
|
42971
|
-
var
|
|
42972
|
-
function
|
|
42984
|
+
var XA = WA(), w0, _4;
|
|
42985
|
+
function YA() {
|
|
42973
42986
|
if (_4) return w0;
|
|
42974
42987
|
_4 = 1;
|
|
42975
42988
|
var t = Ga(), c = function() {
|
|
@@ -42978,7 +42991,7 @@ function XA() {
|
|
|
42978
42991
|
return w0 = c, w0;
|
|
42979
42992
|
}
|
|
42980
42993
|
var x0, S4;
|
|
42981
|
-
function
|
|
42994
|
+
function GA() {
|
|
42982
42995
|
if (S4) return x0;
|
|
42983
42996
|
S4 = 1;
|
|
42984
42997
|
var t = /\s/;
|
|
@@ -42990,10 +43003,10 @@ function YA() {
|
|
|
42990
43003
|
return x0 = c, x0;
|
|
42991
43004
|
}
|
|
42992
43005
|
var _0, C4;
|
|
42993
|
-
function
|
|
43006
|
+
function KA() {
|
|
42994
43007
|
if (C4) return _0;
|
|
42995
43008
|
C4 = 1;
|
|
42996
|
-
var t =
|
|
43009
|
+
var t = GA(), c = /^\s+/;
|
|
42997
43010
|
function e(l) {
|
|
42998
43011
|
return l && l.slice(0, t(l) + 1).replace(c, "");
|
|
42999
43012
|
}
|
|
@@ -43003,7 +43016,7 @@ var S0, k4;
|
|
|
43003
43016
|
function Db() {
|
|
43004
43017
|
if (k4) return S0;
|
|
43005
43018
|
k4 = 1;
|
|
43006
|
-
var t =
|
|
43019
|
+
var t = KA(), c = il(), e = nh(), l = NaN, d = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, a = /^0o[0-7]+$/i, o = parseInt;
|
|
43007
43020
|
function i(r) {
|
|
43008
43021
|
if (typeof r == "number")
|
|
43009
43022
|
return r;
|
|
@@ -43025,7 +43038,7 @@ var C0, E4;
|
|
|
43025
43038
|
function c_() {
|
|
43026
43039
|
if (E4) return C0;
|
|
43027
43040
|
E4 = 1;
|
|
43028
|
-
var t = il(), c =
|
|
43041
|
+
var t = il(), c = YA(), e = Db(), l = "Expected a function", d = Math.max, s = Math.min;
|
|
43029
43042
|
function a(o, i, r) {
|
|
43030
43043
|
var u, m, f, h, g, v, b = 0, w = !1, y = !1, C = !0;
|
|
43031
43044
|
if (typeof o != "function")
|
|
@@ -43075,8 +43088,8 @@ function c_() {
|
|
|
43075
43088
|
}
|
|
43076
43089
|
return C0 = a, C0;
|
|
43077
43090
|
}
|
|
43078
|
-
var
|
|
43079
|
-
const f_ = /* @__PURE__ */ Wa(
|
|
43091
|
+
var ZA = c_();
|
|
43092
|
+
const f_ = /* @__PURE__ */ Wa(ZA);
|
|
43080
43093
|
function vi(t, c, e, l, d = !1) {
|
|
43081
43094
|
const s = Y.useRef();
|
|
43082
43095
|
s.current = c, Y.useEffect(
|
|
@@ -43098,9 +43111,9 @@ function vi(t, c, e, l, d = !1) {
|
|
|
43098
43111
|
function lo(t, c) {
|
|
43099
43112
|
return t === void 0 ? void 0 : c;
|
|
43100
43113
|
}
|
|
43101
|
-
const
|
|
43114
|
+
const QA = Math.PI;
|
|
43102
43115
|
function T4(t) {
|
|
43103
|
-
return t *
|
|
43116
|
+
return t * QA / 180;
|
|
43104
43117
|
}
|
|
43105
43118
|
const d_ = (t, c, e) => ({
|
|
43106
43119
|
x1: t - e / 2,
|
|
@@ -43124,7 +43137,7 @@ const d_ = (t, c, e) => ({
|
|
|
43124
43137
|
Y.createElement("path", { d: "M12.7073 7.05029C7.87391 11.8837 10.4544 9.30322 6.03024 13.7273C5.77392 13.9836 5.58981 14.3071 5.50189 14.6587L4.52521 18.5655C4.38789 19.1148 4.88543 19.6123 5.43472 19.475L9.34146 18.4983C9.69313 18.4104 10.0143 18.2286 10.2706 17.9722L16.9499 11.2929", stroke: c, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", fill: "none", vectorEffect: "non-scaling-stroke" }),
|
|
43125
43138
|
Y.createElement("path", { d: "M20.4854 4.92901L19.0712 3.5148C18.2901 2.73375 17.0238 2.73375 16.2428 3.5148L14.475 5.28257C15.5326 7.71912 16.4736 8.6278 18.7176 9.52521L20.4854 7.75744C21.2665 6.97639 21.2665 5.71006 20.4854 4.92901Z", stroke: c, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", fill: "none", vectorEffect: "non-scaling-stroke" })
|
|
43126
43139
|
);
|
|
43127
|
-
},
|
|
43140
|
+
}, JA = (t) => {
|
|
43128
43141
|
const c = t.fgColor ?? "currentColor";
|
|
43129
43142
|
return Y.createElement(
|
|
43130
43143
|
"svg",
|
|
@@ -43132,7 +43145,7 @@ const d_ = (t, c, e) => ({
|
|
|
43132
43145
|
Y.createElement("path", { d: "M19 6L10.3802 17L5.34071 11.8758", vectorEffect: "non-scaling-stroke", stroke: c, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
43133
43146
|
);
|
|
43134
43147
|
};
|
|
43135
|
-
function
|
|
43148
|
+
function eO(t, c, e) {
|
|
43136
43149
|
const [l, d] = Y.useState(t), s = Y.useRef(!0);
|
|
43137
43150
|
Y.useEffect(() => () => {
|
|
43138
43151
|
s.current = !1;
|
|
@@ -43144,9 +43157,9 @@ function JA(t, c, e) {
|
|
|
43144
43157
|
s.current && a.current(() => t());
|
|
43145
43158
|
}, c), l;
|
|
43146
43159
|
}
|
|
43147
|
-
const
|
|
43160
|
+
const tO = "֑-߿יִ-﷽ﹰ-ﻼ", rO = "A-Za-zÀ-ÖØ-öø-ʸ̀-ࠀ-Ⰰ-︀--", nO = new RegExp("^[^" + rO + "]*[" + tO + "]");
|
|
43148
43161
|
function jb(t) {
|
|
43149
|
-
return
|
|
43162
|
+
return nO.test(t) ? "rtl" : "not-rtl";
|
|
43150
43163
|
}
|
|
43151
43164
|
let fd;
|
|
43152
43165
|
function Bg() {
|
|
@@ -43164,7 +43177,7 @@ function Bg() {
|
|
|
43164
43177
|
return e === l && (l = c.clientWidth), c.remove(), fd = e - l, fd;
|
|
43165
43178
|
}
|
|
43166
43179
|
const qo = Symbol();
|
|
43167
|
-
function
|
|
43180
|
+
function iO(t) {
|
|
43168
43181
|
const c = Y.useRef([qo, t]);
|
|
43169
43182
|
c.current[1] !== t && (c.current[0] = t), c.current[1] = t;
|
|
43170
43183
|
const [e, l] = Y.useState(t), [, d] = Y.useState(), s = Y.useCallback((o) => {
|
|
@@ -43186,19 +43199,19 @@ function g_(t) {
|
|
|
43186
43199
|
}
|
|
43187
43200
|
return t.slice(0, c).join(", ");
|
|
43188
43201
|
}
|
|
43189
|
-
function
|
|
43202
|
+
function aO(t) {
|
|
43190
43203
|
const c = Y.useRef(t);
|
|
43191
43204
|
return eu(t, c.current) || (c.current = t), c.current;
|
|
43192
43205
|
}
|
|
43193
|
-
const
|
|
43206
|
+
const sO = (t) => {
|
|
43194
43207
|
const { urls: c, canWrite: e, onEditClick: l, renderImage: d } = t, s = c.filter((o) => o !== "");
|
|
43195
43208
|
if (s.length === 0)
|
|
43196
43209
|
return null;
|
|
43197
43210
|
const a = s.length > 1;
|
|
43198
43211
|
return Y.createElement(
|
|
43199
|
-
|
|
43212
|
+
IA,
|
|
43200
43213
|
{ "data-testid": "GDG-default-image-overlay-editor" },
|
|
43201
|
-
Y.createElement(
|
|
43214
|
+
Y.createElement(XA.Carousel, { showArrows: a, showThumbs: !1, swipeable: a, emulateTouch: a, infiniteLoop: a }, s.map((o) => {
|
|
43202
43215
|
const i = (d == null ? void 0 : d(o)) ?? Y.createElement("img", { draggable: !1, src: o });
|
|
43203
43216
|
return Y.createElement("div", { className: "gdg-centering-container", key: o }, i);
|
|
43204
43217
|
})),
|
|
@@ -43224,14 +43237,14 @@ function Ur(t, c = "") {
|
|
|
43224
43237
|
}, getRegex: () => new RegExp(e, c) };
|
|
43225
43238
|
return l;
|
|
43226
43239
|
}
|
|
43227
|
-
var
|
|
43240
|
+
var oO = (() => {
|
|
43228
43241
|
try {
|
|
43229
43242
|
return !!new RegExp("(?<=1)(?<!1)");
|
|
43230
43243
|
} catch {
|
|
43231
43244
|
return !1;
|
|
43232
43245
|
}
|
|
43233
|
-
})(), wi = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (t) => new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}#`), htmlBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}<(?:[a-z].*>|!--)`, "i") },
|
|
43234
|
-
]`).replace("lheading", y_).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() },
|
|
43246
|
+
})(), wi = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (t) => new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}#`), htmlBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}<(?:[a-z].*>|!--)`, "i") }, lO = /^(?:[ \t]*(?:\n|$))+/, uO = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, cO = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Vc = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, fO = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Pb = /(?:[*+-]|\d{1,9}[.)])/, v_ = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, y_ = Ur(v_).replace(/bull/g, Pb).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), dO = Ur(v_).replace(/bull/g, Pb).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), zb = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, hO = /^[^\n]+/, Bb = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, pO = Ur(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Bb).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), mO = Ur(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Pb).getRegex(), uh = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Lb = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, gO = Ur("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Lb).replace("tag", uh).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), w_ = Ur(zb).replace("hr", Vc).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", uh).getRegex(), bO = Ur(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", w_).getRegex(), Fb = { blockquote: bO, code: uO, def: pO, fences: cO, heading: fO, hr: Vc, html: gO, lheading: y_, list: mO, newline: lO, paragraph: w_, table: _c, text: hO }, M4 = Ur("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Vc).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", uh).getRegex(), vO = { ...Fb, lheading: dO, table: M4, paragraph: Ur(zb).replace("hr", Vc).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", M4).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", uh).getRegex() }, yO = { ...Fb, html: Ur(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Lb).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: _c, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: Ur(zb).replace("hr", Vc).replace("heading", ` *#{1,6} *[^
|
|
43247
|
+
]`).replace("lheading", y_).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, wO = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, xO = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, x_ = /^( {2,}|\\)\n(?!\s*$)/, _O = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, ch = /[\p{P}\p{S}]/u, Hb = /[\s\p{P}\p{S}]/u, __ = /[^\s\p{P}\p{S}]/u, SO = Ur(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Hb).getRegex(), S_ = /(?!~)[\p{P}\p{S}]/u, CO = /(?!~)[\s\p{P}\p{S}]/u, kO = /(?:[^\s\p{P}\p{S}]|~)/u, EO = Ur(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", oO ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), C_ = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, TO = Ur(C_, "u").replace(/punct/g, ch).getRegex(), MO = Ur(C_, "u").replace(/punct/g, S_).getRegex(), k_ = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", RO = Ur(k_, "gu").replace(/notPunctSpace/g, __).replace(/punctSpace/g, Hb).replace(/punct/g, ch).getRegex(), AO = Ur(k_, "gu").replace(/notPunctSpace/g, kO).replace(/punctSpace/g, CO).replace(/punct/g, S_).getRegex(), OO = Ur("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, __).replace(/punctSpace/g, Hb).replace(/punct/g, ch).getRegex(), DO = Ur(/\\(punct)/, "gu").replace(/punct/g, ch).getRegex(), NO = Ur(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), jO = Ur(Lb).replace("(?:-->|$)", "-->").getRegex(), IO = Ur("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", jO).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Id = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, PO = Ur(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", Id).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), E_ = Ur(/^!?\[(label)\]\[(ref)\]/).replace("label", Id).replace("ref", Bb).getRegex(), T_ = Ur(/^!?\[(ref)\](?:\[\])?/).replace("ref", Bb).getRegex(), zO = Ur("reflink|nolink(?!\\()", "g").replace("reflink", E_).replace("nolink", T_).getRegex(), R4 = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, Ub = { _backpedal: _c, anyPunctuation: DO, autolink: NO, blockSkip: EO, br: x_, code: xO, del: _c, emStrongLDelim: TO, emStrongRDelimAst: RO, emStrongRDelimUnd: OO, escape: wO, link: PO, nolink: T_, punctuation: SO, reflink: E_, reflinkSearch: zO, tag: IO, text: _O, url: _c }, BO = { ...Ub, link: Ur(/^!?\[(label)\]\((.*?)\)/).replace("label", Id).getRegex(), reflink: Ur(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Id).getRegex() }, Lg = { ...Ub, emStrongRDelimAst: AO, emStrongLDelim: MO, url: Ur(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", R4).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: Ur(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", R4).getRegex() }, LO = { ...Lg, br: Ur(x_).replace("{2,}", "*").getRegex(), text: Ur(Lg.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, dd = { normal: Fb, gfm: vO, pedantic: yO }, fc = { normal: Ub, gfm: Lg, breaks: LO, pedantic: BO }, FO = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }, A4 = (t) => FO[t];
|
|
43235
43248
|
function La(t, c) {
|
|
43236
43249
|
if (c) {
|
|
43237
43250
|
if (wi.escapeTest.test(t)) return t.replace(wi.escapeReplace, A4);
|
|
@@ -43266,7 +43279,7 @@ function dc(t, c, e) {
|
|
|
43266
43279
|
d++;
|
|
43267
43280
|
return t.slice(0, l - d);
|
|
43268
43281
|
}
|
|
43269
|
-
function
|
|
43282
|
+
function HO(t, c) {
|
|
43270
43283
|
if (t.indexOf(c[1]) === -1) return -1;
|
|
43271
43284
|
let e = 0;
|
|
43272
43285
|
for (let l = 0; l < t.length; l++) if (t[l] === "\\") l++;
|
|
@@ -43280,7 +43293,7 @@ function N4(t, c, e, l, d) {
|
|
|
43280
43293
|
let i = { type: t[0].charAt(0) === "!" ? "image" : "link", raw: e, href: s, title: a, text: o, tokens: l.inlineTokens(o) };
|
|
43281
43294
|
return l.state.inLink = !1, i;
|
|
43282
43295
|
}
|
|
43283
|
-
function
|
|
43296
|
+
function UO(t, c, e) {
|
|
43284
43297
|
let l = t.match(e.other.indentCodeCompensation);
|
|
43285
43298
|
if (l === null) return c;
|
|
43286
43299
|
let d = l[1];
|
|
@@ -43315,7 +43328,7 @@ var Pd = class {
|
|
|
43315
43328
|
fences(t) {
|
|
43316
43329
|
let c = this.rules.block.fences.exec(t);
|
|
43317
43330
|
if (c) {
|
|
43318
|
-
let e = c[0], l =
|
|
43331
|
+
let e = c[0], l = UO(e, c[3] || "", this.rules);
|
|
43319
43332
|
return { type: "code", raw: e, lang: c[2] ? c[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : c[2], text: l };
|
|
43320
43333
|
}
|
|
43321
43334
|
}
|
|
@@ -43479,7 +43492,7 @@ ${u}` : u;
|
|
|
43479
43492
|
let s = dc(e.slice(0, -1), "\\");
|
|
43480
43493
|
if ((e.length - s.length) % 2 === 0) return;
|
|
43481
43494
|
} else {
|
|
43482
|
-
let s =
|
|
43495
|
+
let s = HO(c[2], "()");
|
|
43483
43496
|
if (s === -2) return;
|
|
43484
43497
|
if (s > -1) {
|
|
43485
43498
|
let a = (c[0].indexOf("!") === 0 ? 5 : 4) + c[1].length + s;
|
|
@@ -44106,7 +44119,7 @@ ${t}</tr>
|
|
|
44106
44119
|
provideParser() {
|
|
44107
44120
|
return this.block ? Sa.parse : Sa.parseInline;
|
|
44108
44121
|
}
|
|
44109
|
-
}, Rt(bd, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), Rt(bd, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), bd),
|
|
44122
|
+
}, Rt(bd, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), Rt(bd, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), bd), qO = class {
|
|
44110
44123
|
constructor(...t) {
|
|
44111
44124
|
Rt(this, "defaults", Ib());
|
|
44112
44125
|
Rt(this, "options", this.setOptions);
|
|
@@ -44267,7 +44280,7 @@ Please report this to https://github.com/markedjs/marked.`, t) {
|
|
|
44267
44280
|
throw e;
|
|
44268
44281
|
};
|
|
44269
44282
|
}
|
|
44270
|
-
}, Jo = new
|
|
44283
|
+
}, Jo = new qO();
|
|
44271
44284
|
function Jr(t, c) {
|
|
44272
44285
|
return Jo.parse(t, c);
|
|
44273
44286
|
}
|
|
@@ -44299,12 +44312,12 @@ Jr.walkTokens;
|
|
|
44299
44312
|
Jr.parseInline;
|
|
44300
44313
|
Sa.parse;
|
|
44301
44314
|
_a.lex;
|
|
44302
|
-
const
|
|
44315
|
+
const $O = /* @__PURE__ */ xi("div")({
|
|
44303
44316
|
name: "MarkdownContainer",
|
|
44304
44317
|
class: "gdg-mnuv029",
|
|
44305
44318
|
propsAsIs: !1
|
|
44306
44319
|
});
|
|
44307
|
-
class
|
|
44320
|
+
class VO extends Yr.PureComponent {
|
|
44308
44321
|
constructor() {
|
|
44309
44322
|
super(...arguments);
|
|
44310
44323
|
Rt(this, "targetElement", null);
|
|
@@ -44329,18 +44342,18 @@ class $O extends Yr.PureComponent {
|
|
|
44329
44342
|
u.target = "_blank", u.rel = "noreferrer noopener";
|
|
44330
44343
|
}
|
|
44331
44344
|
render() {
|
|
44332
|
-
return this.renderMarkdownIntoDiv(), Yr.createElement(
|
|
44345
|
+
return this.renderMarkdownIntoDiv(), Yr.createElement($O, { ref: this.containerRefHook });
|
|
44333
44346
|
}
|
|
44334
44347
|
}
|
|
44335
|
-
const
|
|
44348
|
+
const WO = /* @__PURE__ */ xi("textarea")({
|
|
44336
44349
|
name: "InputBox",
|
|
44337
44350
|
class: "gdg-izpuzkl",
|
|
44338
44351
|
propsAsIs: !1
|
|
44339
|
-
}),
|
|
44352
|
+
}), XO = /* @__PURE__ */ xi("div")({
|
|
44340
44353
|
name: "ShadowBox",
|
|
44341
44354
|
class: "gdg-s69h75o",
|
|
44342
44355
|
propsAsIs: !1
|
|
44343
|
-
}),
|
|
44356
|
+
}), YO = /* @__PURE__ */ xi("div")({
|
|
44344
44357
|
name: "GrowingEntryStyle",
|
|
44345
44358
|
class: "gdg-g1y0xocz",
|
|
44346
44359
|
propsAsIs: !1
|
|
@@ -44367,15 +44380,15 @@ const fh = (t) => {
|
|
|
44367
44380
|
g.key === "Enter" && g.shiftKey && s === !0 || l == null || l(g);
|
|
44368
44381
|
}, [s, l]);
|
|
44369
44382
|
return Y.createElement(
|
|
44370
|
-
|
|
44383
|
+
YO,
|
|
44371
44384
|
{ className: "gdg-growing-entry" },
|
|
44372
|
-
Y.createElement(
|
|
44385
|
+
Y.createElement(XO, { className: r }, m + `
|
|
44373
44386
|
`),
|
|
44374
|
-
Y.createElement(
|
|
44387
|
+
Y.createElement(WO, { ...o, className: (r ?? "") + " gdg-input", id: f, ref: u, onKeyDown: h, value: m, placeholder: c, dir: "auto" })
|
|
44375
44388
|
);
|
|
44376
44389
|
}, k0 = {};
|
|
44377
44390
|
let so = null;
|
|
44378
|
-
function
|
|
44391
|
+
function GO() {
|
|
44379
44392
|
const t = document.createElement("div");
|
|
44380
44393
|
return t.style.opacity = "0", t.style.pointerEvents = "none", t.style.position = "fixed", document.body.append(t), t;
|
|
44381
44394
|
}
|
|
@@ -44383,7 +44396,7 @@ function Ug(t) {
|
|
|
44383
44396
|
const c = t.toLowerCase().trim();
|
|
44384
44397
|
if (k0[c] !== void 0)
|
|
44385
44398
|
return k0[c];
|
|
44386
|
-
so = so ||
|
|
44399
|
+
so = so || GO(), so.style.color = "#000", so.style.color = c;
|
|
44387
44400
|
const e = getComputedStyle(so).color;
|
|
44388
44401
|
so.style.color = "#fff", so.style.color = c;
|
|
44389
44402
|
const l = getComputedStyle(so).color;
|
|
@@ -44414,10 +44427,10 @@ function Gi(t, c) {
|
|
|
44414
44427
|
return `rgba(${m}, ${f}, ${h}, ${u})`;
|
|
44415
44428
|
}
|
|
44416
44429
|
var Yl = /* @__PURE__ */ new Map(), Gl = /* @__PURE__ */ new Map(), qg = /* @__PURE__ */ new Map();
|
|
44417
|
-
function
|
|
44430
|
+
function KO() {
|
|
44418
44431
|
Yl.clear(), qg.clear(), Gl.clear();
|
|
44419
44432
|
}
|
|
44420
|
-
function
|
|
44433
|
+
function ZO(t, c, e, l, d) {
|
|
44421
44434
|
var s, a, o;
|
|
44422
44435
|
let i = 0, r = {};
|
|
44423
44436
|
for (let m of t) i += (s = e.get(m)) != null ? s : d, r[m] = ((a = r[m]) != null ? a : 0) + 1;
|
|
@@ -44427,7 +44440,7 @@ function KO(t, c, e, l, d) {
|
|
|
44427
44440
|
e.set(m, b);
|
|
44428
44441
|
}
|
|
44429
44442
|
}
|
|
44430
|
-
function
|
|
44443
|
+
function QO(t, c) {
|
|
44431
44444
|
var e;
|
|
44432
44445
|
let l = /* @__PURE__ */ new Map(), d = 0;
|
|
44433
44446
|
for (let r of "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890,.-+=?") {
|
|
@@ -44443,13 +44456,13 @@ function Sc(t, c, e, l) {
|
|
|
44443
44456
|
let a = Gl.get(e);
|
|
44444
44457
|
if (l && a !== void 0 && a.count > 2e4) {
|
|
44445
44458
|
let r = qg.get(e);
|
|
44446
|
-
if (r === void 0 && (r =
|
|
44459
|
+
if (r === void 0 && (r = QO(t, a.size), qg.set(e, r)), a.count > 5e5) {
|
|
44447
44460
|
let m = 0;
|
|
44448
44461
|
for (let f of c) m += (d = r.get(f)) != null ? d : a.size;
|
|
44449
44462
|
return m * 1.01;
|
|
44450
44463
|
}
|
|
44451
44464
|
let u = t.measureText(c);
|
|
44452
|
-
return
|
|
44465
|
+
return ZO(c, u.width, r, Math.max(0.05, 1 - a.count / 2e5), a.size), Gl.set(e, { count: a.count + c.length, size: a.size }), u.width;
|
|
44453
44466
|
}
|
|
44454
44467
|
let o = t.measureText(c), i = o.width / c.length;
|
|
44455
44468
|
if (((s = a == null ? void 0 : a.count) != null ? s : 0) > 2e4) return o.width;
|
|
@@ -44460,7 +44473,7 @@ function Sc(t, c, e, l) {
|
|
|
44460
44473
|
}
|
|
44461
44474
|
return o.width;
|
|
44462
44475
|
}
|
|
44463
|
-
function
|
|
44476
|
+
function JO(t, c, e, l, d, s, a, o) {
|
|
44464
44477
|
if (c.length <= 1) return c.length;
|
|
44465
44478
|
if (d < e) return -1;
|
|
44466
44479
|
let i = Math.floor(e / d * s), r = Sc(t, c.slice(0, Math.max(0, i)), l, a);
|
|
@@ -44477,7 +44490,7 @@ function QO(t, c, e, l, d, s, a, o) {
|
|
|
44477
44490
|
}
|
|
44478
44491
|
return i;
|
|
44479
44492
|
}
|
|
44480
|
-
function
|
|
44493
|
+
function eD(t, c, e, l, d, s) {
|
|
44481
44494
|
let a = `${c}_${e}_${l}px`, o = Yl.get(a);
|
|
44482
44495
|
if (o !== void 0) return o;
|
|
44483
44496
|
if (l <= 0) return [];
|
|
@@ -44488,7 +44501,7 @@ function JO(t, c, e, l, d, s) {
|
|
|
44488
44501
|
if (g <= l) i.push(h);
|
|
44489
44502
|
else {
|
|
44490
44503
|
for (; g > l; ) {
|
|
44491
|
-
let b =
|
|
44504
|
+
let b = JO(t, h, l, e, g, v, f), w = h.slice(0, Math.max(0, b));
|
|
44492
44505
|
h = h.slice(w.length), i.push(w), g = Sc(t, h.slice(0, Math.max(0, m)), e, f), v = Math.min(h.length, m);
|
|
44493
44506
|
}
|
|
44494
44507
|
g > 0 && i.push(h);
|
|
@@ -44496,7 +44509,7 @@ function JO(t, c, e, l, d, s) {
|
|
|
44496
44509
|
}
|
|
44497
44510
|
return i = i.map((h, g) => g === 0 ? h.trimEnd() : h.trim()), Yl.set(a, i), Yl.size > 500 && Yl.delete(Yl.keys().next().value), i;
|
|
44498
44511
|
}
|
|
44499
|
-
function
|
|
44512
|
+
function tD(t, c) {
|
|
44500
44513
|
return Yr.useMemo(() => t.map((e, l) => ({
|
|
44501
44514
|
group: e.group,
|
|
44502
44515
|
grow: e.grow,
|
|
@@ -44521,7 +44534,7 @@ function eD(t, c) {
|
|
|
44521
44534
|
headerRowMarkerDisabled: e.headerRowMarkerDisabled
|
|
44522
44535
|
})), [t, c]);
|
|
44523
44536
|
}
|
|
44524
|
-
function
|
|
44537
|
+
function rD(t, c) {
|
|
44525
44538
|
const [e, l] = c;
|
|
44526
44539
|
if (t.columns.hasIndex(e) || t.rows.hasIndex(l))
|
|
44527
44540
|
return !0;
|
|
@@ -44538,7 +44551,7 @@ function tD(t, c) {
|
|
|
44538
44551
|
function Nc(t, c) {
|
|
44539
44552
|
return (t ?? "") === (c ?? "");
|
|
44540
44553
|
}
|
|
44541
|
-
function
|
|
44554
|
+
function nD(t, c, e) {
|
|
44542
44555
|
return e.current === void 0 || t[1] !== e.current.cell[1] ? !1 : c.span === void 0 ? e.current.cell[0] === t[0] : e.current.cell[0] >= c.span[0] && e.current.cell[0] <= c.span[1];
|
|
44543
44556
|
}
|
|
44544
44557
|
function M_(t, c) {
|
|
@@ -44560,7 +44573,7 @@ function z4(t, c, e) {
|
|
|
44560
44573
|
const [r, u] = c.span;
|
|
44561
44574
|
return r >= l && r <= d || u >= l && r <= d || r < l && u > d;
|
|
44562
44575
|
}
|
|
44563
|
-
function
|
|
44576
|
+
function iD(t, c, e, l) {
|
|
44564
44577
|
let d = 0;
|
|
44565
44578
|
if (e.current === void 0)
|
|
44566
44579
|
return d;
|
|
@@ -44623,7 +44636,7 @@ function $g(t, c, e, l, d) {
|
|
|
44623
44636
|
}
|
|
44624
44637
|
return a;
|
|
44625
44638
|
}
|
|
44626
|
-
function
|
|
44639
|
+
function aD(t, c, e) {
|
|
44627
44640
|
let l = 0;
|
|
44628
44641
|
for (const d of c) {
|
|
44629
44642
|
const s = d.sticky ? l : l + (e ?? 0);
|
|
@@ -44633,7 +44646,7 @@ function iD(t, c, e) {
|
|
|
44633
44646
|
}
|
|
44634
44647
|
return -1;
|
|
44635
44648
|
}
|
|
44636
|
-
function
|
|
44649
|
+
function sD(t, c, e, l, d, s, a, o, i, r) {
|
|
44637
44650
|
const u = l + d;
|
|
44638
44651
|
if (e && t <= d)
|
|
44639
44652
|
return -2;
|
|
@@ -44661,12 +44674,12 @@ function aD(t, c, e, l, d, s, a, o, i, r) {
|
|
|
44661
44674
|
}
|
|
44662
44675
|
}
|
|
44663
44676
|
let _d = 0, kc = {};
|
|
44664
|
-
const
|
|
44665
|
-
async function
|
|
44677
|
+
const oD = typeof window > "u";
|
|
44678
|
+
async function lD() {
|
|
44666
44679
|
var t;
|
|
44667
|
-
|
|
44680
|
+
oD || ((t = document == null ? void 0 : document.fonts) == null ? void 0 : t.ready) === void 0 || (await document.fonts.ready, _d = 0, kc = {}, KO());
|
|
44668
44681
|
}
|
|
44669
|
-
|
|
44682
|
+
lD();
|
|
44670
44683
|
function O_(t, c, e, l) {
|
|
44671
44684
|
return `${t}_${l ?? (c == null ? void 0 : c.font)}_${e}`;
|
|
44672
44685
|
}
|
|
@@ -44680,7 +44693,7 @@ function D_(t, c) {
|
|
|
44680
44693
|
return kc[e];
|
|
44681
44694
|
}
|
|
44682
44695
|
function wo(t, c) {
|
|
44683
|
-
return typeof c != "string" && (c = c.baseFontFull),
|
|
44696
|
+
return typeof c != "string" && (c = c.baseFontFull), uD(t, c);
|
|
44684
44697
|
}
|
|
44685
44698
|
function B4(t, c) {
|
|
44686
44699
|
const e = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
@@ -44689,7 +44702,7 @@ function B4(t, c) {
|
|
|
44689
44702
|
return t.restore(), l;
|
|
44690
44703
|
}
|
|
44691
44704
|
const L4 = [];
|
|
44692
|
-
function
|
|
44705
|
+
function uD(t, c) {
|
|
44693
44706
|
for (const s of L4)
|
|
44694
44707
|
if (s.key === c)
|
|
44695
44708
|
return s.val;
|
|
@@ -44699,7 +44712,7 @@ function lD(t, c) {
|
|
|
44699
44712
|
val: d
|
|
44700
44713
|
}), d;
|
|
44701
44714
|
}
|
|
44702
|
-
function
|
|
44715
|
+
function cD(t, c, e, l, d, s) {
|
|
44703
44716
|
const { ctx: a, rect: o, theme: i } = t;
|
|
44704
44717
|
let r = Number.MAX_SAFE_INTEGER;
|
|
44705
44718
|
const u = 500;
|
|
@@ -44720,14 +44733,14 @@ function j_(t, c) {
|
|
|
44720
44733
|
const e = lu("ABCi09jgqpy", t, c);
|
|
44721
44734
|
return e.actualBoundingBoxAscent + e.actualBoundingBoxDescent;
|
|
44722
44735
|
}
|
|
44723
|
-
function
|
|
44736
|
+
function fD(t, c) {
|
|
44724
44737
|
t.includes(`
|
|
44725
44738
|
`) && (t = t.split(/\r?\n/, 1)[0]);
|
|
44726
44739
|
const e = c / 4;
|
|
44727
44740
|
return t.length > e && (t = t.slice(0, e)), t;
|
|
44728
44741
|
}
|
|
44729
|
-
function
|
|
44730
|
-
const u = o.baseFontFull, m =
|
|
44742
|
+
function dD(t, c, e, l, d, s, a, o, i, r) {
|
|
44743
|
+
const u = o.baseFontFull, m = eD(t, c, u, d - o.cellHorizontalPadding * 2, r ?? !1), f = j_(t, u), h = o.lineHeight * f, g = f + h * (m.length - 1), v = g + o.cellVerticalPadding > s;
|
|
44731
44744
|
v && (t.save(), t.rect(e, l, d, s), t.clip());
|
|
44732
44745
|
const b = l + s / 2 - g / 2;
|
|
44733
44746
|
let w = Math.max(l + o.cellVerticalPadding, b);
|
|
@@ -44738,11 +44751,11 @@ function fD(t, c, e, l, d, s, a, o, i, r) {
|
|
|
44738
44751
|
}
|
|
44739
44752
|
function xs(t, c, e, l, d) {
|
|
44740
44753
|
const { ctx: s, rect: a, theme: o } = t, { x: i, y: r, width: u, height: m } = a;
|
|
44741
|
-
l = l ?? !1, l || (c =
|
|
44754
|
+
l = l ?? !1, l || (c = fD(c, u));
|
|
44742
44755
|
const f = wo(s, o), h = jb(c) === "rtl";
|
|
44743
44756
|
if (e === void 0 && h && (e = "right"), h && (s.direction = "rtl"), c.length > 0) {
|
|
44744
44757
|
let g = !1;
|
|
44745
|
-
e === "right" ? (s.textAlign = "right", g = !0) : e !== void 0 && e !== "left" && (s.textAlign = e, g = !0), l ?
|
|
44758
|
+
e === "right" ? (s.textAlign = "right", g = !0) : e !== void 0 && e !== "left" && (s.textAlign = e, g = !0), l ? dD(s, c, i, r, u, m, f, o, e, d) : N_(s, c, i, r, u, m, f, o, e), g && (s.textAlign = "start"), h && (s.direction = "inherit");
|
|
44746
44759
|
}
|
|
44747
44760
|
}
|
|
44748
44761
|
function Ua(t, c, e, l, d, s) {
|
|
@@ -44753,10 +44766,10 @@ function Ua(t, c, e, l, d, s) {
|
|
|
44753
44766
|
br: Math.max(0, Math.min(s.br, d / 2, l / 2))
|
|
44754
44767
|
}, t.moveTo(c + s.tl, e), t.arcTo(c + l, e, c + l, e + s.tr, s.tr), t.arcTo(c + l, e + d, c + l - s.br, e + d, s.br), t.arcTo(c, e + d, c, e + d - s.bl, s.bl), t.arcTo(c, e, c + s.tl, e, s.tl);
|
|
44755
44768
|
}
|
|
44756
|
-
function
|
|
44769
|
+
function hD(t, c, e) {
|
|
44757
44770
|
t.arc(c, e - 1.25 * 3.5, 1.25, 0, 2 * Math.PI, !1), t.arc(c, e, 1.25, 0, 2 * Math.PI, !1), t.arc(c, e + 1.25 * 3.5, 1.25, 0, 2 * Math.PI, !1);
|
|
44758
44771
|
}
|
|
44759
|
-
function
|
|
44772
|
+
function pD(t, c, e) {
|
|
44760
44773
|
const l = function(o, i) {
|
|
44761
44774
|
const r = i.x - o.x, u = i.y - o.y, m = Math.sqrt(r * r + u * u), f = r / m, h = u / m;
|
|
44762
44775
|
return {
|
|
@@ -44873,7 +44886,7 @@ class P_ {
|
|
|
44873
44886
|
this.visibleWindow.x === c.x && this.visibleWindow.y === c.y && this.visibleWindow.width === c.width && this.visibleWindow.height === c.height && this.freezeCols === e && eu(this.freezeRows, l) || (this.visibleWindow = c, this.freezeCols = e, this.freezeRows = l, this.clearOutOfWindow());
|
|
44874
44887
|
}
|
|
44875
44888
|
}
|
|
44876
|
-
class
|
|
44889
|
+
class mD extends P_ {
|
|
44877
44890
|
constructor() {
|
|
44878
44891
|
super(...arguments);
|
|
44879
44892
|
Rt(this, "cache", /* @__PURE__ */ new Map());
|
|
@@ -45027,7 +45040,7 @@ function Es(t, ...c) {
|
|
|
45027
45040
|
return (e.headerFontFull === void 0 || t.fontFamily !== e.fontFamily || t.headerFontStyle !== e.headerFontStyle) && (e.headerFontFull = `${e.headerFontStyle} ${e.fontFamily}`), (e.baseFontFull === void 0 || t.fontFamily !== e.fontFamily || t.baseFontStyle !== e.baseFontStyle) && (e.baseFontFull = `${e.baseFontStyle} ${e.fontFamily}`), (e.markerFontFull === void 0 || t.fontFamily !== e.fontFamily || t.markerFontStyle !== e.markerFontStyle) && (e.markerFontFull = `${e.markerFontStyle} ${e.fontFamily}`), e;
|
|
45028
45041
|
}
|
|
45029
45042
|
const Wg = 150;
|
|
45030
|
-
function
|
|
45043
|
+
function gD(t, c, e, l) {
|
|
45031
45044
|
var s;
|
|
45032
45045
|
const d = l(c);
|
|
45033
45046
|
return ((s = d == null ? void 0 : d.measure) == null ? void 0 : s.call(d, t, c, e)) ?? Wg;
|
|
@@ -45035,7 +45048,7 @@ function mD(t, c, e, l) {
|
|
|
45035
45048
|
function H_(t, c, e, l, d, s, a, o, i) {
|
|
45036
45049
|
let r = 0;
|
|
45037
45050
|
const u = d === void 0 ? [] : d.map((h) => {
|
|
45038
|
-
const g =
|
|
45051
|
+
const g = gD(t, h[l], c, i);
|
|
45039
45052
|
return r = Math.max(r, g), g;
|
|
45040
45053
|
});
|
|
45041
45054
|
if (u.length > 5 && o) {
|
|
@@ -45055,7 +45068,7 @@ function H_(t, c, e, l, d, s, a, o, i) {
|
|
|
45055
45068
|
width: f
|
|
45056
45069
|
};
|
|
45057
45070
|
}
|
|
45058
|
-
function
|
|
45071
|
+
function bD(t, c, e, l, d, s, a, o, i) {
|
|
45059
45072
|
const r = Y.useRef(c), u = Y.useRef(e), m = Y.useRef(a);
|
|
45060
45073
|
r.current = c, u.current = e, m.current = a;
|
|
45061
45074
|
const [f, h] = Y.useMemo(() => {
|
|
@@ -45133,7 +45146,7 @@ function gD(t, c, e, l, d, s, a, o, i) {
|
|
|
45133
45146
|
}, [l, t, h, b, a, d, s, o]);
|
|
45134
45147
|
}
|
|
45135
45148
|
var E0, F4;
|
|
45136
|
-
function
|
|
45149
|
+
function vD() {
|
|
45137
45150
|
if (F4) return E0;
|
|
45138
45151
|
F4 = 1;
|
|
45139
45152
|
function t(c, e, l) {
|
|
@@ -45142,19 +45155,19 @@ function bD() {
|
|
|
45142
45155
|
return E0 = t, E0;
|
|
45143
45156
|
}
|
|
45144
45157
|
var T0, H4;
|
|
45145
|
-
function
|
|
45158
|
+
function yD() {
|
|
45146
45159
|
if (H4) return T0;
|
|
45147
45160
|
H4 = 1;
|
|
45148
|
-
var t =
|
|
45161
|
+
var t = vD(), c = Db();
|
|
45149
45162
|
function e(l, d, s) {
|
|
45150
45163
|
return s === void 0 && (s = d, d = void 0), s !== void 0 && (s = c(s), s = s === s ? s : 0), d !== void 0 && (d = c(d), d = d === d ? d : 0), t(c(l), d, s);
|
|
45151
45164
|
}
|
|
45152
45165
|
return T0 = e, T0;
|
|
45153
45166
|
}
|
|
45154
|
-
var
|
|
45155
|
-
const sa = /* @__PURE__ */ Wa(
|
|
45167
|
+
var wD = yD();
|
|
45168
|
+
const sa = /* @__PURE__ */ Wa(wD);
|
|
45156
45169
|
var M0, U4;
|
|
45157
|
-
function
|
|
45170
|
+
function xD() {
|
|
45158
45171
|
if (U4) return M0;
|
|
45159
45172
|
U4 = 1;
|
|
45160
45173
|
var t = "__lodash_hash_undefined__";
|
|
@@ -45164,7 +45177,7 @@ function wD() {
|
|
|
45164
45177
|
return M0 = c, M0;
|
|
45165
45178
|
}
|
|
45166
45179
|
var R0, q4;
|
|
45167
|
-
function
|
|
45180
|
+
function _D() {
|
|
45168
45181
|
if (q4) return R0;
|
|
45169
45182
|
q4 = 1;
|
|
45170
45183
|
function t(c) {
|
|
@@ -45176,7 +45189,7 @@ var A0, $4;
|
|
|
45176
45189
|
function U_() {
|
|
45177
45190
|
if ($4) return A0;
|
|
45178
45191
|
$4 = 1;
|
|
45179
|
-
var t = kb(), c =
|
|
45192
|
+
var t = kb(), c = xD(), e = _D();
|
|
45180
45193
|
function l(d) {
|
|
45181
45194
|
var s = -1, a = d == null ? 0 : d.length;
|
|
45182
45195
|
for (this.__data__ = new t(); ++s < a; )
|
|
@@ -45185,7 +45198,7 @@ function U_() {
|
|
|
45185
45198
|
return l.prototype.add = l.prototype.push = c, l.prototype.has = e, A0 = l, A0;
|
|
45186
45199
|
}
|
|
45187
45200
|
var O0, V4;
|
|
45188
|
-
function
|
|
45201
|
+
function SD() {
|
|
45189
45202
|
if (V4) return O0;
|
|
45190
45203
|
V4 = 1;
|
|
45191
45204
|
function t(c, e, l, d) {
|
|
@@ -45197,7 +45210,7 @@ function _D() {
|
|
|
45197
45210
|
return O0 = t, O0;
|
|
45198
45211
|
}
|
|
45199
45212
|
var D0, W4;
|
|
45200
|
-
function
|
|
45213
|
+
function CD() {
|
|
45201
45214
|
if (W4) return D0;
|
|
45202
45215
|
W4 = 1;
|
|
45203
45216
|
function t(c) {
|
|
@@ -45206,7 +45219,7 @@ function SD() {
|
|
|
45206
45219
|
return D0 = t, D0;
|
|
45207
45220
|
}
|
|
45208
45221
|
var N0, X4;
|
|
45209
|
-
function
|
|
45222
|
+
function kD() {
|
|
45210
45223
|
if (X4) return N0;
|
|
45211
45224
|
X4 = 1;
|
|
45212
45225
|
function t(c, e, l) {
|
|
@@ -45218,20 +45231,20 @@ function CD() {
|
|
|
45218
45231
|
return N0 = t, N0;
|
|
45219
45232
|
}
|
|
45220
45233
|
var j0, Y4;
|
|
45221
|
-
function
|
|
45234
|
+
function ED() {
|
|
45222
45235
|
if (Y4) return j0;
|
|
45223
45236
|
Y4 = 1;
|
|
45224
|
-
var t =
|
|
45237
|
+
var t = SD(), c = CD(), e = kD();
|
|
45225
45238
|
function l(d, s, a) {
|
|
45226
45239
|
return s === s ? e(d, s, a) : t(d, c, a);
|
|
45227
45240
|
}
|
|
45228
45241
|
return j0 = l, j0;
|
|
45229
45242
|
}
|
|
45230
45243
|
var I0, G4;
|
|
45231
|
-
function
|
|
45244
|
+
function TD() {
|
|
45232
45245
|
if (G4) return I0;
|
|
45233
45246
|
G4 = 1;
|
|
45234
|
-
var t =
|
|
45247
|
+
var t = ED();
|
|
45235
45248
|
function c(e, l) {
|
|
45236
45249
|
var d = e == null ? 0 : e.length;
|
|
45237
45250
|
return !!d && t(e, l, 0) > -1;
|
|
@@ -45239,7 +45252,7 @@ function ED() {
|
|
|
45239
45252
|
return I0 = c, I0;
|
|
45240
45253
|
}
|
|
45241
45254
|
var P0, K4;
|
|
45242
|
-
function
|
|
45255
|
+
function MD() {
|
|
45243
45256
|
if (K4) return P0;
|
|
45244
45257
|
K4 = 1;
|
|
45245
45258
|
function t(c, e, l) {
|
|
@@ -45267,7 +45280,7 @@ function $_() {
|
|
|
45267
45280
|
return B0 = e, B0;
|
|
45268
45281
|
}
|
|
45269
45282
|
var L0, J4;
|
|
45270
|
-
function
|
|
45283
|
+
function RD() {
|
|
45271
45284
|
if (J4) return L0;
|
|
45272
45285
|
J4 = 1;
|
|
45273
45286
|
function t() {
|
|
@@ -45287,19 +45300,19 @@ function Xb() {
|
|
|
45287
45300
|
return F0 = t, F0;
|
|
45288
45301
|
}
|
|
45289
45302
|
var H0, t6;
|
|
45290
|
-
function
|
|
45303
|
+
function AD() {
|
|
45291
45304
|
if (t6) return H0;
|
|
45292
45305
|
t6 = 1;
|
|
45293
|
-
var t = $_(), c =
|
|
45306
|
+
var t = $_(), c = RD(), e = Xb(), l = 1 / 0, d = t && 1 / e(new t([, -0]))[1] == l ? function(s) {
|
|
45294
45307
|
return new t(s);
|
|
45295
45308
|
} : c;
|
|
45296
45309
|
return H0 = d, H0;
|
|
45297
45310
|
}
|
|
45298
45311
|
var U0, r6;
|
|
45299
|
-
function
|
|
45312
|
+
function OD() {
|
|
45300
45313
|
if (r6) return U0;
|
|
45301
45314
|
r6 = 1;
|
|
45302
|
-
var t = U_(), c =
|
|
45315
|
+
var t = U_(), c = TD(), e = MD(), l = q_(), d = AD(), s = Xb(), a = 200;
|
|
45303
45316
|
function o(i, r, u) {
|
|
45304
45317
|
var m = -1, f = c, h = i.length, g = !0, v = [], b = v;
|
|
45305
45318
|
if (u)
|
|
@@ -45326,17 +45339,17 @@ function AD() {
|
|
|
45326
45339
|
return U0 = o, U0;
|
|
45327
45340
|
}
|
|
45328
45341
|
var q0, n6;
|
|
45329
|
-
function
|
|
45342
|
+
function DD() {
|
|
45330
45343
|
if (n6) return q0;
|
|
45331
45344
|
n6 = 1;
|
|
45332
|
-
var t =
|
|
45345
|
+
var t = OD();
|
|
45333
45346
|
function c(e) {
|
|
45334
45347
|
return e && e.length ? t(e) : [];
|
|
45335
45348
|
}
|
|
45336
45349
|
return q0 = c, q0;
|
|
45337
45350
|
}
|
|
45338
|
-
var
|
|
45339
|
-
const
|
|
45351
|
+
var ND = DD();
|
|
45352
|
+
const jD = /* @__PURE__ */ Wa(ND);
|
|
45340
45353
|
var $0, i6;
|
|
45341
45354
|
function V_() {
|
|
45342
45355
|
if (i6) return $0;
|
|
@@ -45349,7 +45362,7 @@ function V_() {
|
|
|
45349
45362
|
return $0 = t, $0;
|
|
45350
45363
|
}
|
|
45351
45364
|
var V0, a6;
|
|
45352
|
-
function
|
|
45365
|
+
function ID() {
|
|
45353
45366
|
if (a6) return V0;
|
|
45354
45367
|
a6 = 1;
|
|
45355
45368
|
var t = Uc(), c = Eb(), e = Ya(), l = t ? t.isConcatSpreadable : void 0;
|
|
@@ -45359,10 +45372,10 @@ function jD() {
|
|
|
45359
45372
|
return V0 = d, V0;
|
|
45360
45373
|
}
|
|
45361
45374
|
var W0, s6;
|
|
45362
|
-
function
|
|
45375
|
+
function PD() {
|
|
45363
45376
|
if (s6) return W0;
|
|
45364
45377
|
s6 = 1;
|
|
45365
|
-
var t = V_(), c =
|
|
45378
|
+
var t = V_(), c = ID();
|
|
45366
45379
|
function e(l, d, s, a, o) {
|
|
45367
45380
|
var i = -1, r = l.length;
|
|
45368
45381
|
for (s || (s = c), o || (o = []); ++i < r; ) {
|
|
@@ -45374,20 +45387,20 @@ function ID() {
|
|
|
45374
45387
|
return W0 = e, W0;
|
|
45375
45388
|
}
|
|
45376
45389
|
var X0, o6;
|
|
45377
|
-
function
|
|
45390
|
+
function zD() {
|
|
45378
45391
|
if (o6) return X0;
|
|
45379
45392
|
o6 = 1;
|
|
45380
|
-
var t =
|
|
45393
|
+
var t = PD();
|
|
45381
45394
|
function c(e) {
|
|
45382
45395
|
var l = e == null ? 0 : e.length;
|
|
45383
45396
|
return l ? t(e, 1) : [];
|
|
45384
45397
|
}
|
|
45385
45398
|
return X0 = c, X0;
|
|
45386
45399
|
}
|
|
45387
|
-
var
|
|
45388
|
-
const l6 = /* @__PURE__ */ Wa(
|
|
45400
|
+
var BD = zD();
|
|
45401
|
+
const l6 = /* @__PURE__ */ Wa(BD);
|
|
45389
45402
|
var Y0, u6;
|
|
45390
|
-
function
|
|
45403
|
+
function LD() {
|
|
45391
45404
|
if (u6) return Y0;
|
|
45392
45405
|
u6 = 1;
|
|
45393
45406
|
var t = Math.ceil, c = Math.max;
|
|
@@ -45409,7 +45422,7 @@ function Yb() {
|
|
|
45409
45422
|
return G0 = e, G0;
|
|
45410
45423
|
}
|
|
45411
45424
|
var K0, f6;
|
|
45412
|
-
function
|
|
45425
|
+
function FD() {
|
|
45413
45426
|
if (f6) return K0;
|
|
45414
45427
|
f6 = 1;
|
|
45415
45428
|
var t = Sb(), c = Yb(), e = Tb(), l = il();
|
|
@@ -45422,7 +45435,7 @@ function LD() {
|
|
|
45422
45435
|
return K0 = d, K0;
|
|
45423
45436
|
}
|
|
45424
45437
|
var Z0, d6;
|
|
45425
|
-
function
|
|
45438
|
+
function HD() {
|
|
45426
45439
|
if (d6) return Z0;
|
|
45427
45440
|
d6 = 1;
|
|
45428
45441
|
var t = Db(), c = 1 / 0, e = 17976931348623157e292;
|
|
@@ -45438,10 +45451,10 @@ function FD() {
|
|
|
45438
45451
|
return Z0 = l, Z0;
|
|
45439
45452
|
}
|
|
45440
45453
|
var Q0, h6;
|
|
45441
|
-
function
|
|
45454
|
+
function UD() {
|
|
45442
45455
|
if (h6) return Q0;
|
|
45443
45456
|
h6 = 1;
|
|
45444
|
-
var t =
|
|
45457
|
+
var t = LD(), c = FD(), e = HD();
|
|
45445
45458
|
function l(d) {
|
|
45446
45459
|
return function(s, a, o) {
|
|
45447
45460
|
return o && typeof o != "number" && c(s, a, o) && (a = o = void 0), s = e(s), a === void 0 ? (a = s, s = 0) : a = e(a), o = o === void 0 ? s < a ? 1 : -1 : e(o), t(s, a, o, d);
|
|
@@ -45450,34 +45463,34 @@ function HD() {
|
|
|
45450
45463
|
return Q0 = l, Q0;
|
|
45451
45464
|
}
|
|
45452
45465
|
var J0, p6;
|
|
45453
|
-
function
|
|
45466
|
+
function qD() {
|
|
45454
45467
|
if (p6) return J0;
|
|
45455
45468
|
p6 = 1;
|
|
45456
|
-
var t =
|
|
45469
|
+
var t = UD(), c = t();
|
|
45457
45470
|
return J0 = c, J0;
|
|
45458
45471
|
}
|
|
45459
|
-
var
|
|
45460
|
-
const Vo = /* @__PURE__ */ Wa(
|
|
45472
|
+
var $D = qD();
|
|
45473
|
+
const Vo = /* @__PURE__ */ Wa($D), cn = '<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg">', VD = (t) => {
|
|
45461
45474
|
const c = t.fgColor, e = t.bgColor;
|
|
45462
45475
|
return `
|
|
45463
45476
|
${cn}<rect x="2" y="2" width="16" height="16" rx="2" fill="${e}"/><path d="M15.75 4h-1.5a.25.25 0 0 0-.177.074L9.308 8.838a3.75 3.75 0 1 0 1.854 1.854l1.155-1.157.967.322a.5.5 0 0 0 .65-.55l-.18-1.208.363-.363.727.331a.5.5 0 0 0 .69-.59l-.254-.904.647-.647A.25.25 0 0 0 16 5.75v-1.5a.25.25 0 0 0-.25-.25zM7.5 13.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0z" fill="${c}"/></svg>`;
|
|
45464
|
-
},
|
|
45477
|
+
}, WD = (t) => {
|
|
45465
45478
|
const c = t.fgColor, e = t.bgColor;
|
|
45466
45479
|
return `
|
|
45467
45480
|
${cn}<rect x="2" y="2" width="16" height="16" rx="4" fill="${e}"/><path d="m12.223 13.314 3.052-2.826a.65.65 0 0 0 0-.984l-3.052-2.822c-.27-.25-.634-.242-.865.022-.232.263-.206.636.056.882l2.601 2.41-2.601 2.41c-.262.245-.288.619-.056.882.231.263.595.277.865.026Zm-4.444.005c.266.25.634.241.866-.027.231-.263.206-.636-.06-.882L5.983 10l2.602-2.405c.266-.25.291-.62.06-.887-.232-.263-.596-.272-.866-.022L4.723 9.51a.653.653 0 0 0 0 .983l3.056 2.827Z" fill="${c}"/></svg>`;
|
|
45468
|
-
},
|
|
45481
|
+
}, XD = (t) => {
|
|
45469
45482
|
const c = t.fgColor, e = t.bgColor;
|
|
45470
45483
|
return `${cn}
|
|
45471
45484
|
<path d="M16.22 2H3.78C2.8 2 2 2.8 2 3.78v12.44C2 17.2 2.8 18 3.78 18h12.44c.98 0 1.77-.8 1.77-1.78L18 3.78C18 2.8 17.2 2 16.22 2z" fill="${e}"/>
|
|
45472
45485
|
<path d="M6.52 12.78H5.51V8.74l-1.33.47v-.87l2.29-.83h.05v5.27zm5.2 0H8.15v-.69l1.7-1.83a6.38 6.38 0 0 0 .34-.4c.09-.11.16-.22.22-.32s.1-.19.12-.27a.9.9 0 0 0 0-.56.63.63 0 0 0-.15-.23.58.58 0 0 0-.22-.15.75.75 0 0 0-.29-.05c-.27 0-.48.08-.62.23a.95.95 0 0 0-.2.65H8.03c0-.24.04-.46.13-.67a1.67 1.67 0 0 1 .97-.91c.23-.1.49-.14.77-.14.26 0 .5.04.7.11.21.08.38.18.52.32.14.13.25.3.32.48a1.74 1.74 0 0 1 .03 1.13 2.05 2.05 0 0 1-.24.47 4.16 4.16 0 0 1-.35.47l-.47.5-1 1.05h2.32v.8zm1.8-3.08h.55c.28 0 .48-.06.61-.2a.76.76 0 0 0 .2-.55.8.8 0 0 0-.05-.28.56.56 0 0 0-.13-.22.6.6 0 0 0-.23-.15.93.93 0 0 0-.32-.05.92.92 0 0 0-.29.05.72.72 0 0 0-.23.12.57.57 0 0 0-.21.46H12.4a1.3 1.3 0 0 1 .5-1.04c.15-.13.33-.23.54-.3a2.48 2.48 0 0 1 1.4 0c.2.06.4.15.55.28.15.13.27.28.36.47.08.19.13.4.13.65a1.15 1.15 0 0 1-.2.65 1.36 1.36 0 0 1-.58.49c.15.05.28.12.38.2a1.14 1.14 0 0 1 .43.62c.03.13.05.26.05.4 0 .25-.05.47-.14.66a1.42 1.42 0 0 1-.4.49c-.16.13-.35.23-.58.3a2.51 2.51 0 0 1-.73.1c-.22 0-.44-.03-.65-.09a1.8 1.8 0 0 1-.57-.28 1.43 1.43 0 0 1-.4-.47 1.41 1.41 0 0 1-.15-.66h1a.66.66 0 0 0 .22.5.87.87 0 0 0 .58.2c.25 0 .45-.07.6-.2a.71.71 0 0 0 .21-.56.97.97 0 0 0-.06-.36.61.61 0 0 0-.18-.25.74.74 0 0 0-.28-.15 1.33 1.33 0 0 0-.37-.04h-.55V9.7z" fill="${c}"/>
|
|
45473
45486
|
</svg>`;
|
|
45474
|
-
},
|
|
45487
|
+
}, YD = (t) => {
|
|
45475
45488
|
const c = t.fgColor, e = t.bgColor;
|
|
45476
45489
|
return `${cn}
|
|
45477
45490
|
<path d="M16.222 2H3.778C2.8 2 2 2.8 2 3.778v12.444C2 17.2 2.8 18 3.778 18h12.444c.978 0 1.77-.8 1.77-1.778L18 3.778C18 2.8 17.2 2 16.222 2z" fill="${e}"/>
|
|
45478
45491
|
<path d="M8.182 12.4h3.636l.655 1.6H14l-3.454-8H9.455L6 14h1.527l.655-1.6zM10 7.44l1.36 3.651H8.64L10 7.441z" fill="${c}"/>
|
|
45479
45492
|
</svg>`;
|
|
45480
|
-
},
|
|
45493
|
+
}, GD = (t) => {
|
|
45481
45494
|
const c = t.fgColor, e = t.bgColor;
|
|
45482
45495
|
return `${cn}
|
|
45483
45496
|
<path
|
|
@@ -45499,7 +45512,7 @@ const Vo = /* @__PURE__ */ Wa(qD), cn = '<svg width="20" height="20" fill="none"
|
|
|
45499
45512
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.55 8.678a3.368 3.368 0 015.082.364.71.71 0 01-1.136.85 1.95 1.95 0 00-2.942-.21l-1.591 1.593a1.954 1.954 0 00.027 2.733 1.95 1.95 0 002.73.028l.906-.906a.709.709 0 111.003 1.004l-.91.91-.008.01a3.368 3.368 0 01-4.724-.042 3.375 3.375 0 01-.041-4.728l.009-.009L6.55 8.678z" fill="${c}"/>
|
|
45500
45513
|
</svg>
|
|
45501
45514
|
`;
|
|
45502
|
-
},
|
|
45515
|
+
}, KD = (t) => {
|
|
45503
45516
|
const c = t.bgColor;
|
|
45504
45517
|
return `${cn}
|
|
45505
45518
|
<path stroke="${c}" stroke-width="2" d="M12 3v14"/>
|
|
@@ -45507,13 +45520,13 @@ const Vo = /* @__PURE__ */ Wa(qD), cn = '<svg width="20" height="20" fill="none"
|
|
|
45507
45520
|
<path d="M11 14h4a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3h-4v2h4a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-4v2ZM9.5 8H5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h4.5v2H5a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3h4.5v2Z" fill="${c}"/>
|
|
45508
45521
|
</svg>
|
|
45509
45522
|
`;
|
|
45510
|
-
},
|
|
45523
|
+
}, ZD = W_, QD = (t) => {
|
|
45511
45524
|
const c = t.fgColor, e = t.bgColor;
|
|
45512
45525
|
return `${cn}
|
|
45513
45526
|
<path d="M16.222 2H3.778C2.8 2 2 2.8 2 3.778v12.444C2 17.2 2.8 18 3.778 18h12.444c.978 0 1.77-.8 1.77-1.778L18 3.778C18 2.8 17.2 2 16.222 2z" fill="${e}"/>
|
|
45514
45527
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M7 13.138a.5.5 0 00.748.434l5.492-3.138a.5.5 0 000-.868L7.748 6.427A.5.5 0 007 6.862v6.276z" fill="${c}"/>
|
|
45515
45528
|
</svg>`;
|
|
45516
|
-
},
|
|
45529
|
+
}, JD = (t) => {
|
|
45517
45530
|
const c = t.fgColor, e = t.bgColor;
|
|
45518
45531
|
return `
|
|
45519
45532
|
${cn}
|
|
@@ -45525,34 +45538,34 @@ const Vo = /* @__PURE__ */ Wa(qD), cn = '<svg width="20" height="20" fill="none"
|
|
|
45525
45538
|
<path d="M8 7.86a1 1 0 1 0-.04 2 1 1 0 0 0 .04-2zm4 0a1 1 0 1 0-.04 2 1 1 0 0 0 .04-2z" fill="${c}"/>
|
|
45526
45539
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.53 11.9a2.82 2.82 0 0 1-5.06 0l.77-.38a1.97 1.97 0 0 0 3.52 0l.77.39z" fill="${c}"/>
|
|
45527
45540
|
</svg>`;
|
|
45528
|
-
},
|
|
45541
|
+
}, eN = (t) => {
|
|
45529
45542
|
const c = t.fgColor, e = t.bgColor;
|
|
45530
45543
|
return `${cn}
|
|
45531
45544
|
<path d="M16.222 2H3.778C2.8 2 2 2.8 2 3.778v12.444C2 17.2 2.8 18 3.778 18h12.444c.978 0 1.77-.8 1.77-1.778L18 3.778C18 2.8 17.2 2 16.222 2z" fill="${e}"/>
|
|
45532
45545
|
<path opacity=".5" fill-rule="evenodd" clip-rule="evenodd" d="M12.499 10.801a.5.5 0 01.835 0l2.698 4.098a.5.5 0 01-.418.775H10.22a.5.5 0 01-.417-.775l2.697-4.098z" fill="${c}"/>
|
|
45533
45546
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.07 8.934a.5.5 0 01.824 0l4.08 5.958a.5.5 0 01-.412.782h-8.16a.5.5 0 01-.413-.782l4.08-5.958zM13.75 8.333a2.083 2.083 0 100-4.166 2.083 2.083 0 000 4.166z" fill="${c}"/>
|
|
45534
45547
|
</svg>`;
|
|
45535
|
-
},
|
|
45548
|
+
}, tN = (t) => {
|
|
45536
45549
|
const c = t.fgColor, e = t.bgColor;
|
|
45537
45550
|
return `
|
|
45538
45551
|
${cn}
|
|
45539
45552
|
<path fill="${c}" d="M3 3h14v14H3z"/>
|
|
45540
45553
|
<path d="M16.22 2H3.78C2.8 2 2 2.8 2 3.78v12.44C2 17.2 2.8 18 3.78 18h12.44c.98 0 1.77-.8 1.77-1.78L18 3.78C18 2.8 17.2 2 16.22 2zm-7.24 9.78h1.23c.15 0 .27.06.36.18l.98 1.28a.43.43 0 0 1-.05.58l-1.2 1.21a.45.45 0 0 1-.6.04A6.72 6.72 0 0 1 7.33 10c0-.61.1-1.2.25-1.78a6.68 6.68 0 0 1 2.12-3.3.44.44 0 0 1 .6.04l1.2 1.2c.16.17.18.42.05.59l-.98 1.29a.43.43 0 0 1-.36.17H8.98A5.38 5.38 0 0 0 8.67 10c0 .62.11 1.23.3 1.79z" fill="${e}"/>
|
|
45541
45554
|
</svg>`;
|
|
45542
|
-
},
|
|
45555
|
+
}, rN = (t) => {
|
|
45543
45556
|
const c = t.fgColor, e = t.bgColor;
|
|
45544
45557
|
return `
|
|
45545
45558
|
${cn}
|
|
45546
45559
|
<path d="M16.22 2H3.78C2.8 2 2 2.8 2 3.78v12.44C2 17.2 2.8 18 3.78 18h12.44c.98 0 1.77-.8 1.77-1.78L18 3.78C18 2.8 17.2 2 16.22 2z" fill="${e}"/>
|
|
45547
45560
|
<path d="m13.49 13.15-2.32-3.27h1.4V7h1.86v2.88h1.4l-2.34 3.27zM11 13H9v-3l-1.5 1.92L6 10v3H4V7h2l1.5 2L9 7h2v6z" fill="${c}"/>
|
|
45548
45561
|
</svg>`;
|
|
45549
|
-
},
|
|
45562
|
+
}, nN = (t) => {
|
|
45550
45563
|
const c = t.fgColor, e = t.bgColor;
|
|
45551
45564
|
return `${cn}
|
|
45552
45565
|
<path d="M16.222 2H3.778C2.8 2 2 2.8 2 3.778v12.444C2 17.2 2.8 18 3.778 18h12.444c.978 0 1.77-.8 1.77-1.778L18 3.778C18 2.8 17.2 2 16.222 2z" fill="${e}"/>
|
|
45553
45566
|
<path d="M14.8 4.182h-.6V3H13v1.182H7V3H5.8v1.182h-.6c-.66 0-1.2.532-1.2 1.182v9.454C4 15.468 4.54 16 5.2 16h9.6c.66 0 1.2-.532 1.2-1.182V5.364c0-.65-.54-1.182-1.2-1.182zm0 10.636H5.2V7.136h9.6v7.682z" fill="${c}"/>
|
|
45554
45567
|
</svg>`;
|
|
45555
|
-
},
|
|
45568
|
+
}, iN = (t) => {
|
|
45556
45569
|
const c = t.fgColor, e = t.bgColor;
|
|
45557
45570
|
return `
|
|
45558
45571
|
${cn}
|
|
@@ -45560,14 +45573,14 @@ const Vo = /* @__PURE__ */ Wa(qD), cn = '<svg width="20" height="20" fill="none"
|
|
|
45560
45573
|
<path d="M10 4a6 6 0 0 0-6 6 6 6 0 0 0 6 6 6 6 0 0 0 6-6 6 6 0 0 0-6-6zm0 10.8A4.8 4.8 0 0 1 5.2 10a4.8 4.8 0 1 1 4.8 4.8z" fill="${c}"/>
|
|
45561
45574
|
<path d="M10 7H9v3.93L12.5 13l.5-.8-3-1.76V7z" fill="${c}"/>
|
|
45562
45575
|
</svg>`;
|
|
45563
|
-
},
|
|
45576
|
+
}, aN = (t) => {
|
|
45564
45577
|
const c = t.fgColor, e = t.bgColor;
|
|
45565
45578
|
return `${cn}
|
|
45566
45579
|
<rect x="2" y="2" width="16" height="16" rx="2" fill="${e}"/>
|
|
45567
45580
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 8.643a1.357 1.357 0 100 2.714 1.357 1.357 0 000-2.714zM7.357 10a2.643 2.643 0 115.286 0 2.643 2.643 0 01-5.286 0z" fill="${c}"/>
|
|
45568
45581
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.589 4.898A5.643 5.643 0 0115.643 10v.5a2.143 2.143 0 01-4.286 0V8a.643.643 0 011.286 0v2.5a.857.857 0 001.714 0V10a4.357 4.357 0 10-1.708 3.46.643.643 0 01.782 1.02 5.643 5.643 0 11-5.842-9.582z" fill="${c}"/>
|
|
45569
45582
|
</svg>`;
|
|
45570
|
-
},
|
|
45583
|
+
}, sN = (t) => {
|
|
45571
45584
|
const c = t.fgColor, e = t.bgColor;
|
|
45572
45585
|
return `
|
|
45573
45586
|
${cn}
|
|
@@ -45575,33 +45588,33 @@ const Vo = /* @__PURE__ */ Wa(qD), cn = '<svg width="20" height="20" fill="none"
|
|
|
45575
45588
|
<rect x="8" y="4" width="10" height="8" rx="2" fill="${e}"/>
|
|
45576
45589
|
<path d="M10.68 7.73V6l2.97 3.02-2.97 3.02v-1.77c-2.13 0-3.62.7-4.68 2.2.43-2.15 1.7-4.31 4.68-4.74z" fill="${c}"/>
|
|
45577
45590
|
</svg>`;
|
|
45578
|
-
},
|
|
45591
|
+
}, oN = (t) => {
|
|
45579
45592
|
const c = t.fgColor, e = t.bgColor;
|
|
45580
45593
|
return `${cn}
|
|
45581
45594
|
<path fill="${c}" d="M4 3h12v14H4z"/>
|
|
45582
45595
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.6 2A1.6 1.6 0 002 3.6v12.8A1.6 1.6 0 003.6 18h12.8a1.6 1.6 0 001.6-1.6V3.6A1.6 1.6 0 0016.4 2H3.6zm11.3 10.8a.7.7 0 01.7.7v1.4a.7.7 0 01-.7.7h-1.4a.7.7 0 01-.7-.7v-1.4a.7.7 0 01.6-.693.117.117 0 00.1-.115V10.35a.117.117 0 00-.117-.116h-2.8a.117.117 0 00-.117.116v2.333c0 .064.053.117.117.117h.117a.7.7 0 01.7.7v1.4a.7.7 0 01-.7.7H9.3a.7.7 0 01-.7-.7v-1.4a.7.7 0 01.7-.7h.117a.117.117 0 00.117-.117V10.35a.117.117 0 00-.117-.117h-2.8a.117.117 0 00-.117.117v2.342c0 .058.042.106.1.115a.7.7 0 01.6.693v1.4a.7.7 0 01-.7.7H5.1a.7.7 0 01-.7-.7v-1.4a.7.7 0 01.7-.7h.35a.116.116 0 00.116-.117v-2.45c0-.515.418-.933.934-.933h2.917a.117.117 0 00.117-.117V6.85a.117.117 0 00-.117-.116h-2.45a.7.7 0 01-.7-.7V5.1a.7.7 0 01.7-.7h6.067a.7.7 0 01.7.7v.934a.7.7 0 01-.7.7h-2.45a.117.117 0 00-.118.116v2.333c0 .064.053.117.117.117H13.5c.516 0 .934.418.934.934v2.45c0 .063.052.116.116.116h.35z" fill="${e}"/>
|
|
45583
45596
|
</svg>`;
|
|
45584
|
-
},
|
|
45597
|
+
}, lN = (t) => {
|
|
45585
45598
|
const c = t.fgColor, e = t.bgColor;
|
|
45586
45599
|
return `
|
|
45587
45600
|
${cn}
|
|
45588
45601
|
<rect x="2" y="2" width="16" height="16" rx="2" fill="${e}"/>
|
|
45589
45602
|
<path d="M9.98 13.33c.45 0 .74-.3.73-.75l-.01-.1-.16-1.67 1.45 1.05a.81.81 0 0 0 .5.18c.37 0 .72-.32.72-.76 0-.3-.17-.54-.49-.68l-1.63-.77 1.63-.77c.32-.14.49-.37.49-.67 0-.45-.34-.76-.71-.76a.81.81 0 0 0-.5.18l-1.47 1.03.16-1.74.01-.08c.01-.46-.27-.76-.72-.76-.46 0-.76.32-.75.76l.01.08.16 1.74-1.47-1.03a.77.77 0 0 0-.5-.18.74.74 0 0 0-.72.76c0 .3.17.53.49.67l1.63.77-1.62.77c-.32.14-.5.37-.5.68 0 .44.35.75.72.75a.78.78 0 0 0 .5-.17L9.4 10.8l-.16 1.68v.09c-.02.44.28.75.74.75z" fill="${c}"/>
|
|
45590
45603
|
</svg>`;
|
|
45591
|
-
},
|
|
45604
|
+
}, uN = (t) => {
|
|
45592
45605
|
const c = t.fgColor, e = t.bgColor;
|
|
45593
45606
|
return `
|
|
45594
45607
|
${cn}
|
|
45595
45608
|
<rect x="2" y="2" width="16" height="16" rx="2" fill="${e}"/>
|
|
45596
45609
|
<path d="M8 5.83H5.83a.83.83 0 0 0 0 1.67h1.69A4.55 4.55 0 0 1 8 5.83zm-.33 3.34H5.83a.83.83 0 0 0 0 1.66h2.72a4.57 4.57 0 0 1-.88-1.66zM5.83 12.5a.83.83 0 0 0 0 1.67h7.5a.83.83 0 1 0 0-1.67h-7.5zm8.8-2.9a3.02 3.02 0 0 0 .46-1.6c0-1.66-1.32-3-2.94-3C10.52 5 9.2 6.34 9.2 8s1.31 3 2.93 3c.58 0 1.11-.17 1.56-.47l2.04 2.08.93-.94-2.04-2.08zm-2.48.07c-.9 0-1.63-.75-1.63-1.67s.73-1.67 1.63-1.67c.9 0 1.63.75 1.63 1.67s-.73 1.67-1.63 1.67z" fill="${c}"/>
|
|
45597
45610
|
</svg>`;
|
|
45598
|
-
},
|
|
45611
|
+
}, cN = (t) => {
|
|
45599
45612
|
const c = t.fgColor, e = t.bgColor;
|
|
45600
45613
|
return `${cn}
|
|
45601
45614
|
<rect x="2" y="2" width="16" height="16" rx="2" fill="${e}"/>
|
|
45602
45615
|
<path d="M7.676 4.726V3l2.976 3.021-2.976 3.022v-1.77c-2.125 0-3.613.69-4.676 2.201.425-2.158 1.7-4.316 4.676-4.748zM10.182 14.4h3.636l.655 1.6H16l-3.454-8h-1.091L8 16h1.527l.655-1.6zM12 9.44l1.36 3.65h-2.72L12 9.44z" fill="${c}"/>
|
|
45603
45616
|
</svg>`;
|
|
45604
|
-
},
|
|
45617
|
+
}, fN = (t) => {
|
|
45605
45618
|
const c = t.fgColor, e = t.bgColor;
|
|
45606
45619
|
return `${cn}
|
|
45607
45620
|
<rect x="2" y="2" width="16" height="16" rx="2" fill="${e}"/>
|
|
@@ -45610,87 +45623,87 @@ const Vo = /* @__PURE__ */ Wa(qD), cn = '<svg width="20" height="20" fill="none"
|
|
|
45610
45623
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.313 12.867a.833.833 0 10-1.178-1.179l-2.947 2.947a.833.833 0 101.179 1.178l2.946-2.946z" fill="${c}"/>
|
|
45611
45624
|
<path d="M10.833 12.5c0-.46.373-.833.834-.833h4.166a.833.833 0 110 1.666h-4.166a.833.833 0 01-.834-.833zM10.833 15c0-.46.373-.833.834-.833h4.166a.833.833 0 110 1.666h-4.166a.833.833 0 01-.834-.833z" fill="${c}"/>
|
|
45612
45625
|
</svg>`;
|
|
45613
|
-
},
|
|
45626
|
+
}, dN = (t) => {
|
|
45614
45627
|
const c = t.fgColor, e = t.bgColor;
|
|
45615
45628
|
return `
|
|
45616
45629
|
${cn}
|
|
45617
45630
|
<path d="M16.22 2H3.78C2.8 2 2 2.8 2 3.78v12.44C2 17.2 2.8 18 3.78 18h12.44c.98 0 1.77-.8 1.77-1.78L18 3.78C18 2.8 17.2 2 16.22 2z" fill="${e}"/>
|
|
45618
45631
|
<path d="M10 8.84a1.16 1.16 0 1 0 0 2.32 1.16 1.16 0 0 0 0-2.32zm3.02 3.61a3.92 3.92 0 0 0 .78-3.28.49.49 0 1 0-.95.2c.19.87-.02 1.78-.58 2.47a2.92 2.92 0 1 1-4.13-4.08 2.94 2.94 0 0 1 2.43-.62.49.49 0 1 0 .17-.96 3.89 3.89 0 1 0 2.28 6.27zM10 4.17a5.84 5.84 0 0 0-5.44 7.93.49.49 0 1 0 .9-.35 4.86 4.86 0 1 1 2.5 2.67.49.49 0 1 0-.4.88c.76.35 1.6.54 2.44.53a5.83 5.83 0 0 0 0-11.66zm3.02 3.5a.7.7 0 1 0-1.4 0 .7.7 0 0 0 1.4 0zm-6.97 5.35a.7.7 0 1 1 0 1.4.7.7 0 0 1 0-1.4z" fill="${c}"/>
|
|
45619
45632
|
</svg>`;
|
|
45620
|
-
},
|
|
45633
|
+
}, hN = (t) => {
|
|
45621
45634
|
const c = t.fgColor, e = t.bgColor;
|
|
45622
45635
|
return `${cn}
|
|
45623
45636
|
<rect x="2" y="2" width="16" height="16" rx="2" fill="${e}"/>
|
|
45624
45637
|
<path d="M12.4 13.565c1.865-.545 3.645-2.083 3.645-4.396 0-1.514-.787-2.604-2.071-2.604C12.69 6.565 12 7.63 12 8.939c1.114.072 1.865.726 1.865 1.683 0 .933-.8 1.647-1.84 2.023l.375.92zM4 5h6v2H4zM4 9h5v2H4zM4 13h4v2H4z" fill="${c}"/>
|
|
45625
45638
|
</svg>`;
|
|
45626
|
-
},
|
|
45639
|
+
}, pN = (t) => {
|
|
45627
45640
|
const c = t.fgColor, e = t.bgColor;
|
|
45628
45641
|
return `
|
|
45629
45642
|
${cn}
|
|
45630
45643
|
<rect x="2" y="2" width="16" height="16" rx="2" fill="${e}"/>
|
|
45631
45644
|
<path d="M12.4 13.56c1.86-.54 3.65-2.08 3.65-4.4 0-1.5-.8-2.6-2.08-2.6S12 7.64 12 8.95c1.11.07 1.86.73 1.86 1.68 0 .94-.8 1.65-1.83 2.03l.37.91zM4 5h6v2H4zm0 4h5v2H4zm0 4h4v2H4z" fill="${c}"/>
|
|
45632
45645
|
</svg>`;
|
|
45633
|
-
},
|
|
45646
|
+
}, mN = (t) => {
|
|
45634
45647
|
const c = t.fgColor, e = t.bgColor;
|
|
45635
45648
|
return `${cn}
|
|
45636
45649
|
<path d="M16.222 2H3.778C2.8 2 2 2.8 2 3.778v12.444C2 17.2 2.8 18 3.778 18h12.444c.978 0 1.77-.8 1.77-1.778L18 3.778C18 2.8 17.2 2 16.222 2z" fill="${e}"/>
|
|
45637
45650
|
<path d="M10 7a1 1 0 100-2v2zm0 6a1 1 0 100 2v-2zm0-8H7v2h3V5zm-3 6h5V9H7v2zm5 2h-2v2h2v-2zm1-1a1 1 0 01-1 1v2a3 3 0 003-3h-2zm-1-1a1 1 0 011 1h2a3 3 0 00-3-3v2zM4 8a3 3 0 003 3V9a1 1 0 01-1-1H4zm3-3a3 3 0 00-3 3h2a1 1 0 011-1V5z" fill="${c}"/>
|
|
45638
45651
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.856 12.014a.5.5 0 00-.712.702L5.409 14l-1.265 1.284a.5.5 0 00.712.702l1.255-1.274 1.255 1.274a.5.5 0 00.712-.702L6.813 14l1.265-1.284a.5.5 0 00-.712-.702L6.11 13.288l-1.255-1.274zM12.856 4.014a.5.5 0 00-.712.702L13.409 6l-1.265 1.284a.5.5 0 10.712.702l1.255-1.274 1.255 1.274a.5.5 0 10.712-.702L14.813 6l1.265-1.284a.5.5 0 00-.712-.702L14.11 5.288l-1.255-1.274z" fill="${c}"/>
|
|
45639
45652
|
</svg>`;
|
|
45640
|
-
},
|
|
45653
|
+
}, gN = (t) => {
|
|
45641
45654
|
const c = t.fgColor, e = t.bgColor;
|
|
45642
45655
|
return `${cn}
|
|
45643
45656
|
<rect x="2" y="2" width="16" height="16" rx="2" fill="${e}"/>
|
|
45644
45657
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.25 7.25a.75.75 0 000-1.5h-6.5a.75.75 0 100 1.5h6.5zM15 10a.75.75 0 01-.75.75h-6.5a.75.75 0 010-1.5h6.5A.75.75 0 0115 10zm-.75 4.25a.75.75 0 000-1.5h-6.5a.75.75 0 000 1.5h6.5zm-8.987-7a.75.75 0 100-1.5.75.75 0 000 1.5zm.75 2.75a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm-.75 4.25a.75.75 0 100-1.5.75.75 0 000 1.5z" fill="${c}"/>
|
|
45645
45658
|
</svg>`;
|
|
45646
|
-
},
|
|
45659
|
+
}, bN = (t) => {
|
|
45647
45660
|
const c = t.fgColor;
|
|
45648
45661
|
return `
|
|
45649
45662
|
<svg width="18" height="18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
45650
45663
|
<path d="M2 15v1h14v-2.5c0-.87-.44-1.55-.98-2.04a6.19 6.19 0 0 0-1.9-1.14 12.1 12.1 0 0 0-2.48-.67A4 4 0 1 0 5 6a4 4 0 0 0 2.36 3.65c-.82.13-1.7.36-2.48.67-.69.28-1.37.65-1.9 1.13A2.8 2.8 0 0 0 2 13.5V15z" fill="${t.bgColor}" stroke="${c}" stroke-width="2"/>
|
|
45651
45664
|
</svg>`;
|
|
45652
|
-
},
|
|
45665
|
+
}, vN = (t) => {
|
|
45653
45666
|
const c = t.fgColor;
|
|
45654
45667
|
return `
|
|
45655
45668
|
<svg width="18" height="18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
45656
45669
|
<path d="M12.43 6.04v-.18a3.86 3.86 0 0 0-7.72 0v.18A2.15 2.15 0 0 0 3 8.14v5.72C3 15.04 3.96 16 5.14 16H12c1.18 0 2.14-.96 2.14-2.14V8.14c0-1.03-.73-1.9-1.71-2.1zM7.86 6v-.14a.71.71 0 1 1 1.43 0V6H7.86z" fill="${t.bgColor}" stroke="${c}" stroke-width="2"/>
|
|
45657
45670
|
</svg>
|
|
45658
45671
|
`;
|
|
45659
|
-
},
|
|
45660
|
-
headerRowID:
|
|
45661
|
-
headerNumber:
|
|
45662
|
-
headerCode:
|
|
45663
|
-
headerString:
|
|
45664
|
-
headerBoolean:
|
|
45665
|
-
headerAudioUri:
|
|
45666
|
-
headerVideoUri:
|
|
45667
|
-
headerEmoji:
|
|
45668
|
-
headerImage:
|
|
45672
|
+
}, yN = {
|
|
45673
|
+
headerRowID: VD,
|
|
45674
|
+
headerNumber: XD,
|
|
45675
|
+
headerCode: WD,
|
|
45676
|
+
headerString: YD,
|
|
45677
|
+
headerBoolean: GD,
|
|
45678
|
+
headerAudioUri: ZD,
|
|
45679
|
+
headerVideoUri: QD,
|
|
45680
|
+
headerEmoji: JD,
|
|
45681
|
+
headerImage: eN,
|
|
45669
45682
|
headerUri: W_,
|
|
45670
|
-
headerPhone:
|
|
45671
|
-
headerMarkdown:
|
|
45672
|
-
headerDate:
|
|
45673
|
-
headerTime:
|
|
45674
|
-
headerEmail:
|
|
45675
|
-
headerReference:
|
|
45676
|
-
headerIfThenElse:
|
|
45677
|
-
headerSingleValue:
|
|
45678
|
-
headerLookup:
|
|
45679
|
-
headerTextTemplate:
|
|
45680
|
-
headerMath:
|
|
45681
|
-
headerRollup:
|
|
45682
|
-
headerJoinStrings:
|
|
45683
|
-
headerSplitString:
|
|
45684
|
-
headerGeoDistance:
|
|
45685
|
-
headerArray:
|
|
45686
|
-
rowOwnerOverlay:
|
|
45687
|
-
protectedColumnOverlay:
|
|
45688
|
-
renameIcon:
|
|
45683
|
+
headerPhone: tN,
|
|
45684
|
+
headerMarkdown: rN,
|
|
45685
|
+
headerDate: nN,
|
|
45686
|
+
headerTime: iN,
|
|
45687
|
+
headerEmail: aN,
|
|
45688
|
+
headerReference: sN,
|
|
45689
|
+
headerIfThenElse: oN,
|
|
45690
|
+
headerSingleValue: lN,
|
|
45691
|
+
headerLookup: uN,
|
|
45692
|
+
headerTextTemplate: cN,
|
|
45693
|
+
headerMath: fN,
|
|
45694
|
+
headerRollup: dN,
|
|
45695
|
+
headerJoinStrings: hN,
|
|
45696
|
+
headerSplitString: pN,
|
|
45697
|
+
headerGeoDistance: mN,
|
|
45698
|
+
headerArray: gN,
|
|
45699
|
+
rowOwnerOverlay: bN,
|
|
45700
|
+
protectedColumnOverlay: vN,
|
|
45701
|
+
renameIcon: KD
|
|
45689
45702
|
};
|
|
45690
|
-
function
|
|
45703
|
+
function wN(t, c) {
|
|
45691
45704
|
return t === "normal" ? [c.bgIconHeader, c.fgIconHeader] : t === "selected" ? ["white", c.accentColor] : [c.accentColor, c.bgHeader];
|
|
45692
45705
|
}
|
|
45693
|
-
class
|
|
45706
|
+
class xN {
|
|
45694
45707
|
constructor(c, e) {
|
|
45695
45708
|
Rt(this, "onSettled");
|
|
45696
45709
|
Rt(this, "spriteMap", /* @__PURE__ */ new Map());
|
|
@@ -45699,7 +45712,7 @@ class wN {
|
|
|
45699
45712
|
this.onSettled = e, this.headerIcons = c ?? {};
|
|
45700
45713
|
}
|
|
45701
45714
|
drawSprite(c, e, l, d, s, a, o, i = 1) {
|
|
45702
|
-
const [r, u] =
|
|
45715
|
+
const [r, u] = wN(e, o), m = a * Math.ceil(window.devicePixelRatio), f = `${r}_${u}_${m}_${c}`;
|
|
45703
45716
|
let h = this.spriteMap.get(f);
|
|
45704
45717
|
if (h === void 0) {
|
|
45705
45718
|
const g = this.headerIcons[c];
|
|
@@ -45811,7 +45824,7 @@ function G_(t, c, e, l, d, s, a) {
|
|
|
45811
45824
|
}
|
|
45812
45825
|
return [r, u];
|
|
45813
45826
|
}
|
|
45814
|
-
function
|
|
45827
|
+
function _N(t, c, e, l) {
|
|
45815
45828
|
if (l === "any")
|
|
45816
45829
|
return K_(t, { x: c, y: e, width: 1, height: 1 });
|
|
45817
45830
|
if (l === "vertical" && (c = t.x), l === "horizontal" && (e = t.y), M_([c, e], t))
|
|
@@ -45829,10 +45842,10 @@ function K_(t, c) {
|
|
|
45829
45842
|
const e = Math.min(t.x, c.x), l = Math.min(t.y, c.y), d = Math.max(t.x + t.width, c.x + c.width) - e, s = Math.max(t.y + t.height, c.y + c.height) - l;
|
|
45830
45843
|
return { x: e, y: l, width: d, height: s };
|
|
45831
45844
|
}
|
|
45832
|
-
function
|
|
45845
|
+
function SN(t, c) {
|
|
45833
45846
|
return t.x <= c.x && t.y <= c.y && t.x + t.width >= c.x + c.width && t.y + t.height >= c.y + c.height;
|
|
45834
45847
|
}
|
|
45835
|
-
function
|
|
45848
|
+
function CN(t, c, e, l) {
|
|
45836
45849
|
if (t.x > c || t.y > e || t.x < 0 && t.y < 0 && t.x + t.width > c && t.y + t.height > e)
|
|
45837
45850
|
return;
|
|
45838
45851
|
if (t.x >= 0 && t.y >= 0 && t.x + t.width <= c && t.y + t.height <= e)
|
|
@@ -45840,7 +45853,7 @@ function SN(t, c, e, l) {
|
|
|
45840
45853
|
const d = -4, s = -4, a = c + 4, o = e + 4, i = d - t.x, r = t.x + t.width - a, u = s - t.y, m = t.y + t.height - o, f = i > 0 ? t.x + Math.floor(i / l) * l : t.x, h = r > 0 ? t.x + t.width - Math.floor(r / l) * l : t.x + t.width, g = u > 0 ? t.y + Math.floor(u / l) * l : t.y, v = m > 0 ? t.y + t.height - Math.floor(m / l) * l : t.y + t.height;
|
|
45841
45854
|
return { x: f, y: g, width: h - f, height: v - g };
|
|
45842
45855
|
}
|
|
45843
|
-
function
|
|
45856
|
+
function kN(t, c, e, l, d) {
|
|
45844
45857
|
const [s, a, o, i] = c, [r, u, m, f] = d, { x: h, y: g, width: v, height: b } = t, w = [];
|
|
45845
45858
|
if (v <= 0 || b <= 0)
|
|
45846
45859
|
return w;
|
|
@@ -45995,7 +46008,7 @@ function CN(t, c, e, l, d) {
|
|
|
45995
46008
|
}
|
|
45996
46009
|
return w;
|
|
45997
46010
|
}
|
|
45998
|
-
const
|
|
46011
|
+
const EN = {
|
|
45999
46012
|
kind: _t.Loading,
|
|
46000
46013
|
allowOverlay: !1
|
|
46001
46014
|
};
|
|
@@ -46042,7 +46055,7 @@ function m6(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v, b, w, y, C, M, O, I,
|
|
|
46042
46055
|
if (!Et)
|
|
46043
46056
|
return;
|
|
46044
46057
|
}
|
|
46045
|
-
const it = M.rows.hasIndex(Se), at = h.hasIndex(Se), ot = Se < i ? u(G) :
|
|
46058
|
+
const it = M.rows.hasIndex(Se), at = h.hasIndex(Se), ot = Se < i ? u(G) : EN;
|
|
46046
46059
|
let ht = B, Ze = L.width, Fe = !1, tt = !1;
|
|
46047
46060
|
if (ot.span !== void 0) {
|
|
46048
46061
|
const [Et, kt] = ot.span, be = `${Se},${Et},${kt},${L.sticky}`;
|
|
@@ -46065,8 +46078,8 @@ function m6(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v, b, w, y, C, M, O, I,
|
|
|
46065
46078
|
}
|
|
46066
46079
|
const lt = f == null ? void 0 : f(Se), dt = Ne && ((St = L.trailingRowOptions) == null ? void 0 : St.themeOverride) !== void 0 ? (wt = L.trailingRowOptions) == null ? void 0 : wt.themeOverride : void 0, jt = ot.themeOverride === void 0 && lt === void 0 && dt === void 0 ? pe : Es(pe, lt, dt, ot.themeOverride);
|
|
46067
46080
|
t.beginPath();
|
|
46068
|
-
const Vt =
|
|
46069
|
-
let yt =
|
|
46081
|
+
const Vt = nD(G, ot, M);
|
|
46082
|
+
let yt = iD(G, ot, M, v);
|
|
46070
46083
|
const er = ot.span !== void 0 && M.columns.some(
|
|
46071
46084
|
(Et) => ot.span !== void 0 && Et >= ot.span[0] && Et <= ot.span[1]
|
|
46072
46085
|
//alloc
|
|
@@ -46116,7 +46129,7 @@ function m6(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v, b, w, y, C, M, O, I,
|
|
|
46116
46129
|
const hc = [0, 0], pc = { x: 0, y: 0, width: 0, height: 0 }, e1 = [void 0, () => {
|
|
46117
46130
|
}];
|
|
46118
46131
|
let Xg = !1;
|
|
46119
|
-
function
|
|
46132
|
+
function TN() {
|
|
46120
46133
|
Xg = !0;
|
|
46121
46134
|
}
|
|
46122
46135
|
function Z_(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v, b, w, y, C, M, O, I, $, z) {
|
|
@@ -46144,8 +46157,8 @@ function Z_(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v, b, w, y, C, M, O, I,
|
|
|
46144
46157
|
spriteManager: g,
|
|
46145
46158
|
hyperWrapping: w,
|
|
46146
46159
|
overrideCursor: F !== void 0 ? z : void 0,
|
|
46147
|
-
requestAnimationFrame:
|
|
46148
|
-
}, A =
|
|
46160
|
+
requestAnimationFrame: TN
|
|
46161
|
+
}, A = cD(H, c.lastUpdated, y, M, d, s), N = $(c);
|
|
46149
46162
|
if (N !== void 0) {
|
|
46150
46163
|
(M == null ? void 0 : M.renderer) !== N && ((E = M == null ? void 0 : M.deprep) == null || E.call(M, H), M = void 0);
|
|
46151
46164
|
const S = (_ = N.drawPrep) == null ? void 0 : _.call(N, H, M);
|
|
@@ -46180,7 +46193,7 @@ function Gb(t, c, e, l, d, s, a, o, i = -20, r = -20, u = void 0, m = "center",
|
|
|
46180
46193
|
Dc();
|
|
46181
46194
|
}
|
|
46182
46195
|
}
|
|
46183
|
-
function
|
|
46196
|
+
function MN(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v, b, w, y) {
|
|
46184
46197
|
var F, V, W, H;
|
|
46185
46198
|
const C = a + o;
|
|
46186
46199
|
if (C <= 0)
|
|
@@ -46197,9 +46210,9 @@ function TN(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v, b, w, y) {
|
|
|
46197
46210
|
T.bgHeader !== m.bgHeader && (t.fillStyle = T.bgHeader, t.fill()), T !== m && (t.font = T.headerFontFull);
|
|
46198
46211
|
const D = u.columns.hasIndex(A.sourceIndex), j = i !== void 0 || r || A.headerRowMarkerDisabled === !0, P = !j && O === -1 && M === A.sourceIndex, G = j ? 0 : ((L = h.find((B) => B.item[0] === A.sourceIndex && B.item[1] === -1)) == null ? void 0 : L.hoverAmount) ?? 0, Z = (u == null ? void 0 : u.current) !== void 0 && u.current.cell[0] === A.sourceIndex, te = D ? T.accentColor : Z ? T.bgHeaderHasFocus : T.bgHeader, U = e ? o : 0, Q = A.sourceIndex === 0 ? 0 : 1;
|
|
46199
46212
|
D ? (t.fillStyle = te, t.fillRect(N + Q, U, A.width - Q, a)) : (Z || G > 0) && (t.beginPath(), t.rect(N + Q, U, A.width - Q, a), Z && (t.fillStyle = T.bgHeaderHasFocus, t.fill()), G > 0 && (t.globalAlpha = G, t.fillStyle = T.bgHeaderHovered, t.fill(), t.globalAlpha = 1)), eS(t, N, U, A.width, a, A, D, T, P, P ? I : void 0, P ? $ : void 0, Z, G, f, w, y), t.restore();
|
|
46200
|
-
}), e &&
|
|
46213
|
+
}), e && RN(t, c, d, s, o, l, m, f, h, g, v, b);
|
|
46201
46214
|
}
|
|
46202
|
-
function
|
|
46215
|
+
function RN(t, c, e, l, d, s, a, o, i, r, u, m) {
|
|
46203
46216
|
const [h, g] = (s == null ? void 0 : s[0]) ?? [];
|
|
46204
46217
|
let v = 0;
|
|
46205
46218
|
Y_(c, e, l, d, (b, w, y, C, M, O) => {
|
|
@@ -46233,7 +46246,7 @@ function MN(t, c, e, l, d, s, a, o, i, r, u, m) {
|
|
|
46233
46246
|
}), t.beginPath(), t.moveTo(v + 0.5, 0), t.lineTo(v + 0.5, d), t.moveTo(0, d + 0.5), t.lineTo(e, d + 0.5), t.strokeStyle = a.borderColor, t.lineWidth = 1, t.stroke();
|
|
46234
46247
|
}
|
|
46235
46248
|
const hd = 30;
|
|
46236
|
-
function
|
|
46249
|
+
function AN(t, c, e, l, d) {
|
|
46237
46250
|
return {
|
|
46238
46251
|
x: t + e - hd,
|
|
46239
46252
|
// right align
|
|
@@ -46261,7 +46274,7 @@ function mc(t, c, e) {
|
|
|
46261
46274
|
}
|
|
46262
46275
|
function J_(t, c, e, l, d, s, a, o) {
|
|
46263
46276
|
var w;
|
|
46264
|
-
const i = a.cellHorizontalPadding, r = a.headerIconSize, u =
|
|
46277
|
+
const i = a.cellHorizontalPadding, r = a.headerIconSize, u = AN(e, l, d, s);
|
|
46265
46278
|
let m = e + i;
|
|
46266
46279
|
const f = c.icon === void 0 ? void 0 : {
|
|
46267
46280
|
x: m,
|
|
@@ -46327,7 +46340,7 @@ function g6(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v) {
|
|
|
46327
46340
|
if (C || (t.globalAlpha = 0.7), s.menuIcon === void 0 || s.menuIcon === Nd.Triangle) {
|
|
46328
46341
|
t.beginPath();
|
|
46329
46342
|
const M = y.x + y.width / 2 - 5.5, O = y.y + y.height / 2 - 3;
|
|
46330
|
-
|
|
46343
|
+
pD(t, [
|
|
46331
46344
|
{
|
|
46332
46345
|
x: M,
|
|
46333
46346
|
y: O
|
|
@@ -46344,7 +46357,7 @@ function g6(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v) {
|
|
|
46344
46357
|
} else if (s.menuIcon === Nd.Dots) {
|
|
46345
46358
|
t.beginPath();
|
|
46346
46359
|
const M = y.x + y.width / 2, O = y.y + y.height / 2;
|
|
46347
|
-
|
|
46360
|
+
hD(t, M, O), t.fillStyle = b, t.fill();
|
|
46348
46361
|
} else {
|
|
46349
46362
|
const M = y.x + (y.width - o.headerIconSize) / 2, O = y.y + (y.height - o.headerIconSize) / 2;
|
|
46350
46363
|
f.drawSprite(s.menuIcon, "normal", t, M, O, o.headerIconSize, o);
|
|
@@ -46371,7 +46384,7 @@ function eS(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v) {
|
|
|
46371
46384
|
}, () => g6(t, c, e, l, d, s, a, o, i, r, u, f, h, v, b, w)) : g6(t, c, e, l, d, s, a, o, i, r, u, f, h, v, b, w);
|
|
46372
46385
|
}
|
|
46373
46386
|
var t1, b6;
|
|
46374
|
-
function
|
|
46387
|
+
function ON() {
|
|
46375
46388
|
if (b6) return t1;
|
|
46376
46389
|
b6 = 1;
|
|
46377
46390
|
var t = al(), c = (function() {
|
|
@@ -46384,10 +46397,10 @@ function AN() {
|
|
|
46384
46397
|
return t1 = c, t1;
|
|
46385
46398
|
}
|
|
46386
46399
|
var r1, v6;
|
|
46387
|
-
function
|
|
46400
|
+
function DN() {
|
|
46388
46401
|
if (v6) return r1;
|
|
46389
46402
|
v6 = 1;
|
|
46390
|
-
var t =
|
|
46403
|
+
var t = ON();
|
|
46391
46404
|
function c(e, l, d) {
|
|
46392
46405
|
l == "__proto__" && t ? t(e, l, {
|
|
46393
46406
|
configurable: !0,
|
|
@@ -46399,7 +46412,7 @@ function ON() {
|
|
|
46399
46412
|
return r1 = c, r1;
|
|
46400
46413
|
}
|
|
46401
46414
|
var n1, y6;
|
|
46402
|
-
function
|
|
46415
|
+
function NN() {
|
|
46403
46416
|
if (y6) return n1;
|
|
46404
46417
|
y6 = 1;
|
|
46405
46418
|
function t(c, e, l, d) {
|
|
@@ -46412,7 +46425,7 @@ function DN() {
|
|
|
46412
46425
|
return n1 = t, n1;
|
|
46413
46426
|
}
|
|
46414
46427
|
var i1, w6;
|
|
46415
|
-
function
|
|
46428
|
+
function jN() {
|
|
46416
46429
|
if (w6) return i1;
|
|
46417
46430
|
w6 = 1;
|
|
46418
46431
|
function t(c) {
|
|
@@ -46428,14 +46441,14 @@ function NN() {
|
|
|
46428
46441
|
return i1 = t, i1;
|
|
46429
46442
|
}
|
|
46430
46443
|
var a1, x6;
|
|
46431
|
-
function
|
|
46444
|
+
function IN() {
|
|
46432
46445
|
if (x6) return a1;
|
|
46433
46446
|
x6 = 1;
|
|
46434
|
-
var t =
|
|
46447
|
+
var t = jN(), c = t();
|
|
46435
46448
|
return a1 = c, a1;
|
|
46436
46449
|
}
|
|
46437
46450
|
var s1, _6;
|
|
46438
|
-
function
|
|
46451
|
+
function PN() {
|
|
46439
46452
|
if (_6) return s1;
|
|
46440
46453
|
_6 = 1;
|
|
46441
46454
|
function t(c, e) {
|
|
@@ -46446,7 +46459,7 @@ function IN() {
|
|
|
46446
46459
|
return s1 = t, s1;
|
|
46447
46460
|
}
|
|
46448
46461
|
var yc = { exports: {} }, o1, S6;
|
|
46449
|
-
function
|
|
46462
|
+
function zN() {
|
|
46450
46463
|
if (S6) return o1;
|
|
46451
46464
|
S6 = 1;
|
|
46452
46465
|
function t() {
|
|
@@ -46458,12 +46471,12 @@ yc.exports;
|
|
|
46458
46471
|
var C6;
|
|
46459
46472
|
function tS() {
|
|
46460
46473
|
return C6 || (C6 = 1, (function(t, c) {
|
|
46461
|
-
var e = Ga(), l =
|
|
46474
|
+
var e = Ga(), l = zN(), d = c && !c.nodeType && c, s = d && !0 && t && !t.nodeType && t, a = s && s.exports === d, o = a ? e.Buffer : void 0, i = o ? o.isBuffer : void 0, r = i || l;
|
|
46462
46475
|
t.exports = r;
|
|
46463
46476
|
})(yc, yc.exports)), yc.exports;
|
|
46464
46477
|
}
|
|
46465
46478
|
var l1, k6;
|
|
46466
|
-
function
|
|
46479
|
+
function BN() {
|
|
46467
46480
|
if (k6) return l1;
|
|
46468
46481
|
k6 = 1;
|
|
46469
46482
|
var t = qc(), c = Mb(), e = $c(), l = "[object Arguments]", d = "[object Array]", s = "[object Boolean]", a = "[object Date]", o = "[object Error]", i = "[object Function]", r = "[object Map]", u = "[object Number]", m = "[object Object]", f = "[object RegExp]", h = "[object Set]", g = "[object String]", v = "[object WeakMap]", b = "[object ArrayBuffer]", w = "[object DataView]", y = "[object Float32Array]", C = "[object Float64Array]", M = "[object Int8Array]", O = "[object Int16Array]", I = "[object Int32Array]", $ = "[object Uint8Array]", z = "[object Uint8ClampedArray]", F = "[object Uint16Array]", V = "[object Uint32Array]", W = {};
|
|
@@ -46474,7 +46487,7 @@ function zN() {
|
|
|
46474
46487
|
return l1 = H, l1;
|
|
46475
46488
|
}
|
|
46476
46489
|
var u1, E6;
|
|
46477
|
-
function
|
|
46490
|
+
function LN() {
|
|
46478
46491
|
if (E6) return u1;
|
|
46479
46492
|
E6 = 1;
|
|
46480
46493
|
function t(c) {
|
|
@@ -46487,7 +46500,7 @@ function BN() {
|
|
|
46487
46500
|
var wc = { exports: {} };
|
|
46488
46501
|
wc.exports;
|
|
46489
46502
|
var T6;
|
|
46490
|
-
function
|
|
46503
|
+
function FN() {
|
|
46491
46504
|
return T6 || (T6 = 1, (function(t, c) {
|
|
46492
46505
|
var e = Z8(), l = c && !c.nodeType && c, d = l && !0 && t && !t.nodeType && t, s = d && d.exports === l, a = s && e.process, o = (function() {
|
|
46493
46506
|
try {
|
|
@@ -46503,14 +46516,14 @@ var c1, M6;
|
|
|
46503
46516
|
function rS() {
|
|
46504
46517
|
if (M6) return c1;
|
|
46505
46518
|
M6 = 1;
|
|
46506
|
-
var t =
|
|
46519
|
+
var t = BN(), c = LN(), e = FN(), l = e && e.isTypedArray, d = l ? c(l) : t;
|
|
46507
46520
|
return c1 = d, c1;
|
|
46508
46521
|
}
|
|
46509
46522
|
var f1, R6;
|
|
46510
|
-
function
|
|
46523
|
+
function HN() {
|
|
46511
46524
|
if (R6) return f1;
|
|
46512
46525
|
R6 = 1;
|
|
46513
|
-
var t =
|
|
46526
|
+
var t = PN(), c = Eb(), e = Ya(), l = tS(), d = Tb(), s = rS(), a = Object.prototype, o = a.hasOwnProperty;
|
|
46514
46527
|
function i(r, u) {
|
|
46515
46528
|
var m = e(r), f = !m && c(r), h = !m && !f && l(r), g = !m && !f && !h && s(r), v = m || f || h || g, b = v ? t(r.length, String) : [], w = b.length;
|
|
46516
46529
|
for (var y in r)
|
|
@@ -46524,7 +46537,7 @@ function FN() {
|
|
|
46524
46537
|
return f1 = i, f1;
|
|
46525
46538
|
}
|
|
46526
46539
|
var d1, A6;
|
|
46527
|
-
function
|
|
46540
|
+
function UN() {
|
|
46528
46541
|
if (A6) return d1;
|
|
46529
46542
|
A6 = 1;
|
|
46530
46543
|
var t = Object.prototype;
|
|
@@ -46535,7 +46548,7 @@ function HN() {
|
|
|
46535
46548
|
return d1 = c, d1;
|
|
46536
46549
|
}
|
|
46537
46550
|
var h1, O6;
|
|
46538
|
-
function
|
|
46551
|
+
function qN() {
|
|
46539
46552
|
if (O6) return h1;
|
|
46540
46553
|
O6 = 1;
|
|
46541
46554
|
function t(c, e) {
|
|
@@ -46546,17 +46559,17 @@ function UN() {
|
|
|
46546
46559
|
return h1 = t, h1;
|
|
46547
46560
|
}
|
|
46548
46561
|
var p1, D6;
|
|
46549
|
-
function
|
|
46562
|
+
function $N() {
|
|
46550
46563
|
if (D6) return p1;
|
|
46551
46564
|
D6 = 1;
|
|
46552
|
-
var t =
|
|
46565
|
+
var t = qN(), c = t(Object.keys, Object);
|
|
46553
46566
|
return p1 = c, p1;
|
|
46554
46567
|
}
|
|
46555
46568
|
var m1, N6;
|
|
46556
|
-
function
|
|
46569
|
+
function VN() {
|
|
46557
46570
|
if (N6) return m1;
|
|
46558
46571
|
N6 = 1;
|
|
46559
|
-
var t =
|
|
46572
|
+
var t = UN(), c = $N(), e = Object.prototype, l = e.hasOwnProperty;
|
|
46560
46573
|
function d(s) {
|
|
46561
46574
|
if (!t(s))
|
|
46562
46575
|
return c(s);
|
|
@@ -46571,24 +46584,24 @@ var g1, j6;
|
|
|
46571
46584
|
function Kb() {
|
|
46572
46585
|
if (j6) return g1;
|
|
46573
46586
|
j6 = 1;
|
|
46574
|
-
var t =
|
|
46587
|
+
var t = HN(), c = VN(), e = Yb();
|
|
46575
46588
|
function l(d) {
|
|
46576
46589
|
return e(d) ? t(d) : c(d);
|
|
46577
46590
|
}
|
|
46578
46591
|
return g1 = l, g1;
|
|
46579
46592
|
}
|
|
46580
46593
|
var b1, I6;
|
|
46581
|
-
function
|
|
46594
|
+
function WN() {
|
|
46582
46595
|
if (I6) return b1;
|
|
46583
46596
|
I6 = 1;
|
|
46584
|
-
var t =
|
|
46597
|
+
var t = IN(), c = Kb();
|
|
46585
46598
|
function e(l, d) {
|
|
46586
46599
|
return l && t(l, d, c);
|
|
46587
46600
|
}
|
|
46588
46601
|
return b1 = e, b1;
|
|
46589
46602
|
}
|
|
46590
46603
|
var v1, P6;
|
|
46591
|
-
function
|
|
46604
|
+
function XN() {
|
|
46592
46605
|
if (P6) return v1;
|
|
46593
46606
|
P6 = 1;
|
|
46594
46607
|
var t = Yb();
|
|
@@ -46606,17 +46619,17 @@ function WN() {
|
|
|
46606
46619
|
return v1 = c, v1;
|
|
46607
46620
|
}
|
|
46608
46621
|
var y1, z6;
|
|
46609
|
-
function
|
|
46622
|
+
function YN() {
|
|
46610
46623
|
if (z6) return y1;
|
|
46611
46624
|
z6 = 1;
|
|
46612
|
-
var t =
|
|
46625
|
+
var t = WN(), c = XN(), e = c(t);
|
|
46613
46626
|
return y1 = e, y1;
|
|
46614
46627
|
}
|
|
46615
46628
|
var w1, B6;
|
|
46616
|
-
function
|
|
46629
|
+
function GN() {
|
|
46617
46630
|
if (B6) return w1;
|
|
46618
46631
|
B6 = 1;
|
|
46619
|
-
var t =
|
|
46632
|
+
var t = YN();
|
|
46620
46633
|
function c(e, l, d, s) {
|
|
46621
46634
|
return t(e, function(a, o, i) {
|
|
46622
46635
|
l(s, a, d(a), i);
|
|
@@ -46625,7 +46638,7 @@ function YN() {
|
|
|
46625
46638
|
return w1 = c, w1;
|
|
46626
46639
|
}
|
|
46627
46640
|
var x1, L6;
|
|
46628
|
-
function
|
|
46641
|
+
function KN() {
|
|
46629
46642
|
if (L6) return x1;
|
|
46630
46643
|
L6 = 1;
|
|
46631
46644
|
var t = sh();
|
|
@@ -46635,7 +46648,7 @@ function GN() {
|
|
|
46635
46648
|
return x1 = c, x1;
|
|
46636
46649
|
}
|
|
46637
46650
|
var _1, F6;
|
|
46638
|
-
function
|
|
46651
|
+
function ZN() {
|
|
46639
46652
|
if (F6) return _1;
|
|
46640
46653
|
F6 = 1;
|
|
46641
46654
|
function t(c) {
|
|
@@ -46645,7 +46658,7 @@ function KN() {
|
|
|
46645
46658
|
return _1 = t, _1;
|
|
46646
46659
|
}
|
|
46647
46660
|
var S1, H6;
|
|
46648
|
-
function
|
|
46661
|
+
function QN() {
|
|
46649
46662
|
if (H6) return S1;
|
|
46650
46663
|
H6 = 1;
|
|
46651
46664
|
function t(c) {
|
|
@@ -46654,7 +46667,7 @@ function ZN() {
|
|
|
46654
46667
|
return S1 = t, S1;
|
|
46655
46668
|
}
|
|
46656
46669
|
var C1, U6;
|
|
46657
|
-
function
|
|
46670
|
+
function JN() {
|
|
46658
46671
|
if (U6) return C1;
|
|
46659
46672
|
U6 = 1;
|
|
46660
46673
|
function t(c) {
|
|
@@ -46663,7 +46676,7 @@ function QN() {
|
|
|
46663
46676
|
return C1 = t, C1;
|
|
46664
46677
|
}
|
|
46665
46678
|
var k1, q6;
|
|
46666
|
-
function
|
|
46679
|
+
function ej() {
|
|
46667
46680
|
if (q6) return k1;
|
|
46668
46681
|
q6 = 1;
|
|
46669
46682
|
var t = sh(), c = Cb(), e = kb(), l = 200;
|
|
@@ -46683,7 +46696,7 @@ var E1, $6;
|
|
|
46683
46696
|
function nS() {
|
|
46684
46697
|
if ($6) return E1;
|
|
46685
46698
|
$6 = 1;
|
|
46686
|
-
var t = sh(), c =
|
|
46699
|
+
var t = sh(), c = KN(), e = ZN(), l = QN(), d = JN(), s = ej();
|
|
46687
46700
|
function a(o) {
|
|
46688
46701
|
var i = this.__data__ = new t(o);
|
|
46689
46702
|
this.size = i.size;
|
|
@@ -46691,7 +46704,7 @@ function nS() {
|
|
|
46691
46704
|
return a.prototype.clear = c, a.prototype.delete = e, a.prototype.get = l, a.prototype.has = d, a.prototype.set = s, E1 = a, E1;
|
|
46692
46705
|
}
|
|
46693
46706
|
var T1, V6;
|
|
46694
|
-
function
|
|
46707
|
+
function tj() {
|
|
46695
46708
|
if (V6) return T1;
|
|
46696
46709
|
V6 = 1;
|
|
46697
46710
|
function t(c, e) {
|
|
@@ -46706,7 +46719,7 @@ var M1, W6;
|
|
|
46706
46719
|
function iS() {
|
|
46707
46720
|
if (W6) return M1;
|
|
46708
46721
|
W6 = 1;
|
|
46709
|
-
var t = U_(), c =
|
|
46722
|
+
var t = U_(), c = tj(), e = q_(), l = 1, d = 2;
|
|
46710
46723
|
function s(a, o, i, r, u, m) {
|
|
46711
46724
|
var f = i & l, h = a.length, g = o.length;
|
|
46712
46725
|
if (h != g && !(f && g > h))
|
|
@@ -46743,14 +46756,14 @@ function iS() {
|
|
|
46743
46756
|
return M1 = s, M1;
|
|
46744
46757
|
}
|
|
46745
46758
|
var R1, X6;
|
|
46746
|
-
function
|
|
46759
|
+
function rj() {
|
|
46747
46760
|
if (X6) return R1;
|
|
46748
46761
|
X6 = 1;
|
|
46749
46762
|
var t = Ga(), c = t.Uint8Array;
|
|
46750
46763
|
return R1 = c, R1;
|
|
46751
46764
|
}
|
|
46752
46765
|
var A1, Y6;
|
|
46753
|
-
function
|
|
46766
|
+
function nj() {
|
|
46754
46767
|
if (Y6) return A1;
|
|
46755
46768
|
Y6 = 1;
|
|
46756
46769
|
function t(c) {
|
|
@@ -46762,10 +46775,10 @@ function rj() {
|
|
|
46762
46775
|
return A1 = t, A1;
|
|
46763
46776
|
}
|
|
46764
46777
|
var O1, G6;
|
|
46765
|
-
function
|
|
46778
|
+
function ij() {
|
|
46766
46779
|
if (G6) return O1;
|
|
46767
46780
|
G6 = 1;
|
|
46768
|
-
var t = Uc(), c =
|
|
46781
|
+
var t = Uc(), c = rj(), e = Sb(), l = iS(), d = nj(), s = Xb(), a = 1, o = 2, i = "[object Boolean]", r = "[object Date]", u = "[object Error]", m = "[object Map]", f = "[object Number]", h = "[object RegExp]", g = "[object Set]", v = "[object String]", b = "[object Symbol]", w = "[object ArrayBuffer]", y = "[object DataView]", C = t ? t.prototype : void 0, M = C ? C.valueOf : void 0;
|
|
46769
46782
|
function O(I, $, z, F, V, W, H) {
|
|
46770
46783
|
switch (z) {
|
|
46771
46784
|
case y:
|
|
@@ -46804,7 +46817,7 @@ function nj() {
|
|
|
46804
46817
|
return O1 = O, O1;
|
|
46805
46818
|
}
|
|
46806
46819
|
var D1, K6;
|
|
46807
|
-
function
|
|
46820
|
+
function aj() {
|
|
46808
46821
|
if (K6) return D1;
|
|
46809
46822
|
K6 = 1;
|
|
46810
46823
|
var t = V_(), c = Ya();
|
|
@@ -46815,7 +46828,7 @@ function ij() {
|
|
|
46815
46828
|
return D1 = e, D1;
|
|
46816
46829
|
}
|
|
46817
46830
|
var N1, Z6;
|
|
46818
|
-
function
|
|
46831
|
+
function sj() {
|
|
46819
46832
|
if (Z6) return N1;
|
|
46820
46833
|
Z6 = 1;
|
|
46821
46834
|
function t(c, e) {
|
|
@@ -46828,7 +46841,7 @@ function aj() {
|
|
|
46828
46841
|
return N1 = t, N1;
|
|
46829
46842
|
}
|
|
46830
46843
|
var j1, Q6;
|
|
46831
|
-
function
|
|
46844
|
+
function oj() {
|
|
46832
46845
|
if (Q6) return j1;
|
|
46833
46846
|
Q6 = 1;
|
|
46834
46847
|
function t() {
|
|
@@ -46837,10 +46850,10 @@ function sj() {
|
|
|
46837
46850
|
return j1 = t, j1;
|
|
46838
46851
|
}
|
|
46839
46852
|
var I1, J6;
|
|
46840
|
-
function
|
|
46853
|
+
function lj() {
|
|
46841
46854
|
if (J6) return I1;
|
|
46842
46855
|
J6 = 1;
|
|
46843
|
-
var t =
|
|
46856
|
+
var t = sj(), c = oj(), e = Object.prototype, l = e.propertyIsEnumerable, d = Object.getOwnPropertySymbols, s = d ? function(a) {
|
|
46844
46857
|
return a == null ? [] : (a = Object(a), t(d(a), function(o) {
|
|
46845
46858
|
return l.call(a, o);
|
|
46846
46859
|
}));
|
|
@@ -46848,20 +46861,20 @@ function oj() {
|
|
|
46848
46861
|
return I1 = s, I1;
|
|
46849
46862
|
}
|
|
46850
46863
|
var P1, ex;
|
|
46851
|
-
function
|
|
46864
|
+
function uj() {
|
|
46852
46865
|
if (ex) return P1;
|
|
46853
46866
|
ex = 1;
|
|
46854
|
-
var t =
|
|
46867
|
+
var t = aj(), c = lj(), e = Kb();
|
|
46855
46868
|
function l(d) {
|
|
46856
46869
|
return t(d, e, c);
|
|
46857
46870
|
}
|
|
46858
46871
|
return P1 = l, P1;
|
|
46859
46872
|
}
|
|
46860
46873
|
var z1, tx;
|
|
46861
|
-
function
|
|
46874
|
+
function cj() {
|
|
46862
46875
|
if (tx) return z1;
|
|
46863
46876
|
tx = 1;
|
|
46864
|
-
var t =
|
|
46877
|
+
var t = uj(), c = 1, e = Object.prototype, l = e.hasOwnProperty;
|
|
46865
46878
|
function d(s, a, o, i, r, u) {
|
|
46866
46879
|
var m = o & c, f = t(s), h = f.length, g = t(a), v = g.length;
|
|
46867
46880
|
if (h != v && !m)
|
|
@@ -46896,31 +46909,31 @@ function uj() {
|
|
|
46896
46909
|
return z1 = d, z1;
|
|
46897
46910
|
}
|
|
46898
46911
|
var B1, rx;
|
|
46899
|
-
function
|
|
46912
|
+
function fj() {
|
|
46900
46913
|
if (rx) return B1;
|
|
46901
46914
|
rx = 1;
|
|
46902
46915
|
var t = al(), c = Ga(), e = t(c, "DataView");
|
|
46903
46916
|
return B1 = e, B1;
|
|
46904
46917
|
}
|
|
46905
46918
|
var L1, nx;
|
|
46906
|
-
function
|
|
46919
|
+
function dj() {
|
|
46907
46920
|
if (nx) return L1;
|
|
46908
46921
|
nx = 1;
|
|
46909
46922
|
var t = al(), c = Ga(), e = t(c, "Promise");
|
|
46910
46923
|
return L1 = e, L1;
|
|
46911
46924
|
}
|
|
46912
46925
|
var F1, ix;
|
|
46913
|
-
function
|
|
46926
|
+
function hj() {
|
|
46914
46927
|
if (ix) return F1;
|
|
46915
46928
|
ix = 1;
|
|
46916
46929
|
var t = al(), c = Ga(), e = t(c, "WeakMap");
|
|
46917
46930
|
return F1 = e, F1;
|
|
46918
46931
|
}
|
|
46919
46932
|
var H1, ax;
|
|
46920
|
-
function
|
|
46933
|
+
function pj() {
|
|
46921
46934
|
if (ax) return H1;
|
|
46922
46935
|
ax = 1;
|
|
46923
|
-
var t =
|
|
46936
|
+
var t = fj(), c = Cb(), e = dj(), l = $_(), d = hj(), s = qc(), a = J8(), o = "[object Map]", i = "[object Object]", r = "[object Promise]", u = "[object Set]", m = "[object WeakMap]", f = "[object DataView]", h = a(t), g = a(c), v = a(e), b = a(l), w = a(d), y = s;
|
|
46924
46937
|
return (t && y(new t(new ArrayBuffer(1))) != f || c && y(new c()) != o || e && y(e.resolve()) != r || l && y(new l()) != u || d && y(new d()) != m) && (y = function(C) {
|
|
46925
46938
|
var M = s(C), O = M == i ? C.constructor : void 0, I = O ? a(O) : "";
|
|
46926
46939
|
if (I)
|
|
@@ -46940,10 +46953,10 @@ function hj() {
|
|
|
46940
46953
|
}), H1 = y, H1;
|
|
46941
46954
|
}
|
|
46942
46955
|
var U1, sx;
|
|
46943
|
-
function
|
|
46956
|
+
function mj() {
|
|
46944
46957
|
if (sx) return U1;
|
|
46945
46958
|
sx = 1;
|
|
46946
|
-
var t = nS(), c = iS(), e =
|
|
46959
|
+
var t = nS(), c = iS(), e = ij(), l = cj(), d = pj(), s = Ya(), a = tS(), o = rS(), i = 1, r = "[object Arguments]", u = "[object Array]", m = "[object Object]", f = Object.prototype, h = f.hasOwnProperty;
|
|
46947
46960
|
function g(v, b, w, y, C, M) {
|
|
46948
46961
|
var O = s(v), I = s(b), $ = O ? u : d(v), z = I ? u : d(b);
|
|
46949
46962
|
$ = $ == r ? m : $, z = z == r ? m : z;
|
|
@@ -46970,14 +46983,14 @@ var q1, ox;
|
|
|
46970
46983
|
function aS() {
|
|
46971
46984
|
if (ox) return q1;
|
|
46972
46985
|
ox = 1;
|
|
46973
|
-
var t =
|
|
46986
|
+
var t = mj(), c = $c();
|
|
46974
46987
|
function e(l, d, s, a, o) {
|
|
46975
46988
|
return l === d ? !0 : l == null || d == null || !c(l) && !c(d) ? l !== l && d !== d : t(l, d, s, a, e, o);
|
|
46976
46989
|
}
|
|
46977
46990
|
return q1 = e, q1;
|
|
46978
46991
|
}
|
|
46979
46992
|
var $1, lx;
|
|
46980
|
-
function
|
|
46993
|
+
function gj() {
|
|
46981
46994
|
if (lx) return $1;
|
|
46982
46995
|
lx = 1;
|
|
46983
46996
|
var t = nS(), c = aS(), e = 1, l = 2;
|
|
@@ -47019,7 +47032,7 @@ function sS() {
|
|
|
47019
47032
|
return V1 = c, V1;
|
|
47020
47033
|
}
|
|
47021
47034
|
var W1, cx;
|
|
47022
|
-
function
|
|
47035
|
+
function bj() {
|
|
47023
47036
|
if (cx) return W1;
|
|
47024
47037
|
cx = 1;
|
|
47025
47038
|
var t = sS(), c = Kb();
|
|
@@ -47044,10 +47057,10 @@ function oS() {
|
|
|
47044
47057
|
return X1 = t, X1;
|
|
47045
47058
|
}
|
|
47046
47059
|
var Y1, dx;
|
|
47047
|
-
function
|
|
47060
|
+
function vj() {
|
|
47048
47061
|
if (dx) return Y1;
|
|
47049
47062
|
dx = 1;
|
|
47050
|
-
var t =
|
|
47063
|
+
var t = gj(), c = bj(), e = oS();
|
|
47051
47064
|
function l(d) {
|
|
47052
47065
|
var s = c(d);
|
|
47053
47066
|
return s.length == 1 && s[0][2] ? e(s[0][0], s[0][1]) : function(a) {
|
|
@@ -47070,7 +47083,7 @@ function lS() {
|
|
|
47070
47083
|
return G1 = e, G1;
|
|
47071
47084
|
}
|
|
47072
47085
|
var K1, px;
|
|
47073
|
-
function
|
|
47086
|
+
function yj() {
|
|
47074
47087
|
if (px) return K1;
|
|
47075
47088
|
px = 1;
|
|
47076
47089
|
var t = lS();
|
|
@@ -47081,7 +47094,7 @@ function vj() {
|
|
|
47081
47094
|
return K1 = c, K1;
|
|
47082
47095
|
}
|
|
47083
47096
|
var Z1, mx;
|
|
47084
|
-
function
|
|
47097
|
+
function wj() {
|
|
47085
47098
|
if (mx) return Z1;
|
|
47086
47099
|
mx = 1;
|
|
47087
47100
|
function t(c, e) {
|
|
@@ -47090,20 +47103,20 @@ function yj() {
|
|
|
47090
47103
|
return Z1 = t, Z1;
|
|
47091
47104
|
}
|
|
47092
47105
|
var Q1, gx;
|
|
47093
|
-
function
|
|
47106
|
+
function xj() {
|
|
47094
47107
|
if (gx) return Q1;
|
|
47095
47108
|
gx = 1;
|
|
47096
|
-
var t =
|
|
47109
|
+
var t = wj(), c = t_();
|
|
47097
47110
|
function e(l, d) {
|
|
47098
47111
|
return l != null && c(l, d, t);
|
|
47099
47112
|
}
|
|
47100
47113
|
return Q1 = e, Q1;
|
|
47101
47114
|
}
|
|
47102
47115
|
var J1, bx;
|
|
47103
|
-
function
|
|
47116
|
+
function _j() {
|
|
47104
47117
|
if (bx) return J1;
|
|
47105
47118
|
bx = 1;
|
|
47106
|
-
var t = aS(), c =
|
|
47119
|
+
var t = aS(), c = yj(), e = xj(), l = _b(), d = sS(), s = oS(), a = lh(), o = 1, i = 2;
|
|
47107
47120
|
function r(u, m) {
|
|
47108
47121
|
return l(u) && d(m) ? s(a(u), m) : function(f) {
|
|
47109
47122
|
var h = c(f, u);
|
|
@@ -47113,7 +47126,7 @@ function xj() {
|
|
|
47113
47126
|
return J1 = r, J1;
|
|
47114
47127
|
}
|
|
47115
47128
|
var eg, vx;
|
|
47116
|
-
function
|
|
47129
|
+
function Sj() {
|
|
47117
47130
|
if (vx) return eg;
|
|
47118
47131
|
vx = 1;
|
|
47119
47132
|
function t(c) {
|
|
@@ -47122,7 +47135,7 @@ function _j() {
|
|
|
47122
47135
|
return eg = t, eg;
|
|
47123
47136
|
}
|
|
47124
47137
|
var tg, yx;
|
|
47125
|
-
function
|
|
47138
|
+
function Cj() {
|
|
47126
47139
|
if (yx) return tg;
|
|
47127
47140
|
yx = 1;
|
|
47128
47141
|
function t(c) {
|
|
@@ -47133,7 +47146,7 @@ function Sj() {
|
|
|
47133
47146
|
return tg = t, tg;
|
|
47134
47147
|
}
|
|
47135
47148
|
var rg, wx;
|
|
47136
|
-
function
|
|
47149
|
+
function kj() {
|
|
47137
47150
|
if (wx) return rg;
|
|
47138
47151
|
wx = 1;
|
|
47139
47152
|
var t = lS();
|
|
@@ -47145,30 +47158,30 @@ function Cj() {
|
|
|
47145
47158
|
return rg = c, rg;
|
|
47146
47159
|
}
|
|
47147
47160
|
var ng, xx;
|
|
47148
|
-
function
|
|
47161
|
+
function Ej() {
|
|
47149
47162
|
if (xx) return ng;
|
|
47150
47163
|
xx = 1;
|
|
47151
|
-
var t =
|
|
47164
|
+
var t = Cj(), c = kj(), e = _b(), l = lh();
|
|
47152
47165
|
function d(s) {
|
|
47153
47166
|
return e(s) ? t(l(s)) : c(s);
|
|
47154
47167
|
}
|
|
47155
47168
|
return ng = d, ng;
|
|
47156
47169
|
}
|
|
47157
47170
|
var ig, _x;
|
|
47158
|
-
function
|
|
47171
|
+
function Tj() {
|
|
47159
47172
|
if (_x) return ig;
|
|
47160
47173
|
_x = 1;
|
|
47161
|
-
var t =
|
|
47174
|
+
var t = vj(), c = _j(), e = Sj(), l = Ya(), d = Ej();
|
|
47162
47175
|
function s(a) {
|
|
47163
47176
|
return typeof a == "function" ? a : a == null ? e : typeof a == "object" ? l(a) ? c(a[0], a[1]) : t(a) : d(a);
|
|
47164
47177
|
}
|
|
47165
47178
|
return ig = s, ig;
|
|
47166
47179
|
}
|
|
47167
47180
|
var ag, Sx;
|
|
47168
|
-
function
|
|
47181
|
+
function Mj() {
|
|
47169
47182
|
if (Sx) return ag;
|
|
47170
47183
|
Sx = 1;
|
|
47171
|
-
var t =
|
|
47184
|
+
var t = NN(), c = GN(), e = Tj(), l = Ya();
|
|
47172
47185
|
function d(s, a) {
|
|
47173
47186
|
return function(o, i) {
|
|
47174
47187
|
var r = l(o) ? t : c, u = a ? a() : {};
|
|
@@ -47178,17 +47191,17 @@ function Tj() {
|
|
|
47178
47191
|
return ag = d, ag;
|
|
47179
47192
|
}
|
|
47180
47193
|
var sg, Cx;
|
|
47181
|
-
function
|
|
47194
|
+
function Rj() {
|
|
47182
47195
|
if (Cx) return sg;
|
|
47183
47196
|
Cx = 1;
|
|
47184
|
-
var t =
|
|
47197
|
+
var t = DN(), c = Mj(), e = Object.prototype, l = e.hasOwnProperty, d = c(function(s, a, o) {
|
|
47185
47198
|
l.call(s, o) ? s[o].push(a) : t(s, o, [a]);
|
|
47186
47199
|
});
|
|
47187
47200
|
return sg = d, sg;
|
|
47188
47201
|
}
|
|
47189
|
-
var
|
|
47190
|
-
const
|
|
47191
|
-
function
|
|
47202
|
+
var Aj = Rj();
|
|
47203
|
+
const Oj = /* @__PURE__ */ Wa(Aj);
|
|
47204
|
+
function Dj(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v, b, w, y) {
|
|
47192
47205
|
if (w !== void 0 || c[c.length - 1] !== e[c.length - 1])
|
|
47193
47206
|
return;
|
|
47194
47207
|
const C = X_(b);
|
|
@@ -47207,7 +47220,7 @@ function Oj(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v, b, w, y) {
|
|
|
47207
47220
|
}), t.restore());
|
|
47208
47221
|
});
|
|
47209
47222
|
}
|
|
47210
|
-
function
|
|
47223
|
+
function Nj(t, c, e, l, d, s, a, o, i) {
|
|
47211
47224
|
let r = !1;
|
|
47212
47225
|
for (const g of c)
|
|
47213
47226
|
if (!g.sticky) {
|
|
@@ -47230,7 +47243,7 @@ const uS = (t, c, e) => {
|
|
|
47230
47243
|
}
|
|
47231
47244
|
return { minX: l, maxX: d, minY: s, maxY: a };
|
|
47232
47245
|
};
|
|
47233
|
-
function
|
|
47246
|
+
function jj(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g) {
|
|
47234
47247
|
var H;
|
|
47235
47248
|
const v = g.bgCell, { minX: b, maxX: w, minY: y, maxY: C } = uS(o, s, a), M = [], O = a - ol(h, f, r);
|
|
47236
47249
|
let I = i, $ = e, z = 0;
|
|
@@ -47321,7 +47334,7 @@ function kx(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v, b, w = !1) {
|
|
|
47321
47334
|
H += m(A), A++;
|
|
47322
47335
|
}
|
|
47323
47336
|
}
|
|
47324
|
-
const W =
|
|
47337
|
+
const W = Oj(z, (H) => H.color);
|
|
47325
47338
|
for (const H of Object.keys(W)) {
|
|
47326
47339
|
t.strokeStyle = H;
|
|
47327
47340
|
for (const A of W[H])
|
|
@@ -47330,7 +47343,7 @@ function kx(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v, b, w = !1) {
|
|
|
47330
47343
|
}
|
|
47331
47344
|
i !== void 0 && t.restore();
|
|
47332
47345
|
}
|
|
47333
|
-
function
|
|
47346
|
+
function Ij(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v, b, w, y) {
|
|
47334
47347
|
const C = [];
|
|
47335
47348
|
t.imageSmoothingEnabled = !1;
|
|
47336
47349
|
const M = Math.min(d.cellYOffset, a), O = Math.max(d.cellYOffset, a);
|
|
@@ -47400,7 +47413,7 @@ function jj(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v, b, w, y) {
|
|
|
47400
47413
|
regions: C
|
|
47401
47414
|
};
|
|
47402
47415
|
}
|
|
47403
|
-
function
|
|
47416
|
+
function Pj(t, c, e, l, d, s, a, o, i, r) {
|
|
47404
47417
|
const u = [];
|
|
47405
47418
|
return c !== t.cellXOffset || e !== t.cellYOffset || l !== t.translateX || d !== t.translateY || xo(i, e, l, d, o, (m, f, h, g) => {
|
|
47406
47419
|
if (m.sourceIndex === r) {
|
|
@@ -47414,7 +47427,7 @@ function Ij(t, c, e, l, d, s, a, o, i, r) {
|
|
|
47414
47427
|
}
|
|
47415
47428
|
}), u;
|
|
47416
47429
|
}
|
|
47417
|
-
function
|
|
47430
|
+
function zj(t, c) {
|
|
47418
47431
|
if (c === void 0 || t.width !== c.width || t.height !== c.height || t.theme !== c.theme || t.headerHeight !== c.headerHeight || t.rowHeight !== c.rowHeight || t.rows !== c.rows || t.freezeColumns !== c.freezeColumns || t.getRowThemeOverride !== c.getRowThemeOverride || t.isFocused !== c.isFocused || t.isResizing !== c.isResizing || t.verticalBorder !== c.verticalBorder || t.getCellContent !== c.getCellContent || t.highlightRegions !== c.highlightRegions || t.selection !== c.selection || t.dragAndDropState !== c.dragAndDropState || t.prelightCells !== c.prelightCells || t.touchMode !== c.touchMode || t.maxScaleFactor !== c.maxScaleFactor)
|
|
47419
47432
|
return !1;
|
|
47420
47433
|
if (t.mappedColumns !== c.mappedColumns) {
|
|
@@ -47442,13 +47455,13 @@ function Ex(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v) {
|
|
|
47442
47455
|
return;
|
|
47443
47456
|
const w = tu(o), y = ol(h, f, m), C = [i, 0, o.length, h - f], M = [w, 0, c, e - y], O = b.map(($) => {
|
|
47444
47457
|
const z = $.range, F = $.style ?? "dashed";
|
|
47445
|
-
return
|
|
47458
|
+
return kN(z, C, c, e, M).map((V) => {
|
|
47446
47459
|
const W = V.rect, H = Vg(W.x, W.y, c, e, u, r + u, l, d, s, a, h, i, f, o, m), A = W.width === 1 && W.height === 1 ? H : Vg(W.x + W.width - 1, W.y + W.height - 1, c, e, u, r + u, l, d, s, a, h, i, f, o, m);
|
|
47447
47460
|
return W.x + W.width >= o.length && (A.width -= 1), W.y + W.height >= h && (A.height -= 1), {
|
|
47448
47461
|
color: $.color,
|
|
47449
47462
|
style: F,
|
|
47450
47463
|
clip: V.clip,
|
|
47451
|
-
rect:
|
|
47464
|
+
rect: CN({
|
|
47452
47465
|
x: H.x,
|
|
47453
47466
|
y: H.y,
|
|
47454
47467
|
width: A.x + A.width - H.x,
|
|
@@ -47462,7 +47475,7 @@ function Ex(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v) {
|
|
|
47462
47475
|
for (const z of O)
|
|
47463
47476
|
for (const F of z)
|
|
47464
47477
|
if ((F == null ? void 0 : F.rect) !== void 0 && jc(0, 0, c, e, F.rect.x, F.rect.y, F.rect.width, F.rect.height)) {
|
|
47465
|
-
const V = $, W = !
|
|
47478
|
+
const V = $, W = !SN(F.clip, F.rect);
|
|
47466
47479
|
t.beginPath(), W && (t.save(), t.rect(F.clip.x, F.clip.y, F.clip.width, F.clip.height), t.clip()), F.style === "dashed" && !$ ? (t.setLineDash([5, 3]), $ = !0) : (F.style === "solid" || F.style === "solid-outline") && $ && (t.setLineDash([]), $ = !1), t.strokeStyle = F.style === "solid-outline" ? Gi(Gi(F.color, v.borderColor), v.bgCell) : el(F.color, 1), t.closePath(), t.strokeRect(F.rect.x + 0.5, F.rect.y + 0.5, F.rect.width - 1, F.rect.height - 1), W && (t.restore(), $ = V);
|
|
47467
47480
|
}
|
|
47468
47481
|
$ && t.setLineDash([]);
|
|
@@ -47510,7 +47523,7 @@ function og(t, c, e, l, d, s, a, o, i, r, u, m, f, h, g, v, b) {
|
|
|
47510
47523
|
};
|
|
47511
47524
|
return E(), E;
|
|
47512
47525
|
}
|
|
47513
|
-
function
|
|
47526
|
+
function Bj(t, c, e, l, d, s, a, o, i) {
|
|
47514
47527
|
i === void 0 || i.size === 0 || (t.beginPath(), Y_(c, e, s, l, (r, u, m, f, h, g) => {
|
|
47515
47528
|
i.hasItemInRectangle({
|
|
47516
47529
|
x: r[0],
|
|
@@ -47523,7 +47536,7 @@ function zj(t, c, e, l, d, s, a, o, i) {
|
|
|
47523
47536
|
i.has([r.sourceIndex, -1]) && t.rect(g, l, v, d - l);
|
|
47524
47537
|
}), t.clip());
|
|
47525
47538
|
}
|
|
47526
|
-
function
|
|
47539
|
+
function Lj(t, c, e, l, d, s, a, o, i, r) {
|
|
47527
47540
|
let u = 0;
|
|
47528
47541
|
return xo(t, s, l, d, e, (m, f, h, g, v) => (dh(v, h, c, a, o, i, r, void 0, (b, w, y, C) => {
|
|
47529
47542
|
C || (u = Math.max(w, u));
|
|
@@ -47534,7 +47547,7 @@ function Mx(t, c) {
|
|
|
47534
47547
|
const { canvasCtx: e, headerCanvasCtx: l, width: d, height: s, cellXOffset: a, cellYOffset: o, translateX: i, translateY: r, mappedColumns: u, enableGroups: m, freezeColumns: f, dragAndDropState: h, theme: g, drawFocus: v, headerHeight: b, groupHeaderHeight: w, disabledRows: y, rowHeight: C, verticalBorder: M, overrideCursor: O, isResizing: I, selection: $, fillHandle: z, freezeTrailingRows: F, rows: V, getCellContent: W, getGroupDetails: H, getRowThemeOverride: A, isFocused: N, drawHeaderCallback: E, prelightCells: _, drawCellCallback: S, highlightRegions: k, resizeCol: T, imageLoader: D, lastBlitData: j, hoverValues: P, hyperWrapping: G, hoverInfo: Z, spriteManager: te, maxScaleFactor: U, hasAppendRow: Q, touchMode: L, enqueue: B, renderStateProvider: K, getCellRenderer: ee, renderStrategy: ae, bufferACtx: re, bufferBCtx: se, damage: he, minimumCellWidth: ge, resizeIndicator: ne } = t;
|
|
47535
47548
|
if (d === 0 || s === 0)
|
|
47536
47549
|
return;
|
|
47537
|
-
const ce = ae === "double-buffer", oe = Math.min(U, Math.ceil(window.devicePixelRatio ?? 1)), de = ae !== "direct" &&
|
|
47550
|
+
const ce = ae === "double-buffer", oe = Math.min(U, Math.ceil(window.devicePixelRatio ?? 1)), de = ae !== "direct" && zj(t, c), pe = e.canvas;
|
|
47538
47551
|
(pe.width !== d * oe || pe.height !== s * oe) && (pe.width = d * oe, pe.height = s * oe, pe.style.width = d + "px", pe.style.height = s + "px");
|
|
47539
47552
|
const me = l.canvas, ye = m ? w + b : b, Ce = ye + 1;
|
|
47540
47553
|
(me.width !== d * oe || me.height !== Ce * oe) && (me.width = d * oe, me.height = Ce * oe, me.style.width = d + "px", me.style.height = Ce + "px");
|
|
@@ -47562,7 +47575,7 @@ function Mx(t, c) {
|
|
|
47562
47575
|
}
|
|
47563
47576
|
}
|
|
47564
47577
|
const jt = () => {
|
|
47565
|
-
|
|
47578
|
+
MN(it, Fe, m, Z, d, i, b, w, h, I, $, g, te, P, M, H, he, E, L), kx(it, Fe, o, i, r, d, s, void 0, void 0, w, ye, Ze, A, M, F, V, g, !0), it.beginPath(), it.moveTo(0, Ce - 0.5), it.lineTo(d, Ce - 0.5), it.strokeStyle = Gi(g.headerBottomBorderColor ?? g.horizontalBorderColor ?? g.borderColor, g.bgHeader), it.stroke(), dt && Ex(it, d, s, a, o, i, r, u, f, b, w, C, F, V, k, g), lt && og(it, d, s, o, i, r, Fe, u, g, ye, $, Ze, W, F, Q, z, V);
|
|
47566
47579
|
};
|
|
47567
47580
|
if (he !== void 0) {
|
|
47568
47581
|
const bt = Fe[Fe.length - 1].sourceIndex + 1, Wt = he.hasItemInRegion([
|
|
@@ -47602,15 +47615,15 @@ function Mx(t, c) {
|
|
|
47602
47615
|
const rr = $.current;
|
|
47603
47616
|
z !== !1 && z !== void 0 && v && rr !== void 0 && he.has(R_(rr.range)) && og(wt, d, s, o, i, r, Fe, u, g, ye, $, Ze, W, F, Q, z, V);
|
|
47604
47617
|
};
|
|
47605
|
-
Wt && (St(at), Ne !== null && (Ne.save(), Ne.scale(oe, oe), Ne.textBaseline = "middle", St(Ne), Ne.restore()), he.hasHeader() && (
|
|
47618
|
+
Wt && (St(at), Ne !== null && (Ne.save(), Ne.scale(oe, oe), Ne.textBaseline = "middle", St(Ne), Ne.restore()), he.hasHeader() && (Bj(it, Fe, d, w, ye, i, r, o, he), jt())), at.restore(), it.restore();
|
|
47606
47619
|
return;
|
|
47607
47620
|
}
|
|
47608
47621
|
if ((de !== !0 || a !== (Ae == null ? void 0 : Ae.cellXOffset) || i !== (Ae == null ? void 0 : Ae.translateX) || lt !== (Ae == null ? void 0 : Ae.mustDrawFocusOnHeader) || dt !== (Ae == null ? void 0 : Ae.mustDrawHighlightRingsOnHeader)) && jt(), de === !0) {
|
|
47609
47622
|
Yi(ht !== void 0 && Ae !== void 0);
|
|
47610
|
-
const { regions: bt } =
|
|
47623
|
+
const { regions: bt } = Ij(at, ht, ht === Se ? Ae.aBufferScroll : Ae.bBufferScroll, ht === Se ? Ae.bBufferScroll : Ae.aBufferScroll, Ae, a, o, i, r, F, d, s, V, ye, oe, u, Fe, C, ce);
|
|
47611
47624
|
tt = bt;
|
|
47612
|
-
} else de !== !1 && (Yi(Ae !== void 0), tt =
|
|
47613
|
-
|
|
47625
|
+
} else de !== !1 && (Yi(Ae !== void 0), tt = Pj(Ae, a, o, i, r, d, s, ye, Fe, de));
|
|
47626
|
+
Nj(at, Fe, d, s, F, V, M, Ze, g);
|
|
47614
47627
|
const Vt = Ex(at, d, s, a, o, i, r, u, f, b, w, C, F, V, k, g), yt = v ? og(at, d, s, o, i, r, Fe, u, g, ye, $, Ze, W, F, Q, z, V) : void 0;
|
|
47615
47628
|
if (at.fillStyle = g.bgCell, tt.length > 0) {
|
|
47616
47629
|
at.beginPath();
|
|
@@ -47620,8 +47633,8 @@ function Mx(t, c) {
|
|
|
47620
47633
|
} else
|
|
47621
47634
|
at.fillRect(0, 0, d, s);
|
|
47622
47635
|
const er = m6(at, Fe, u, s, ye, i, r, o, V, Ze, W, H, A, y, N, v, F, Q, tt, he, $, _, k, D, te, P, Z, S, G, g, B, K, ee, O, ge);
|
|
47623
|
-
|
|
47624
|
-
const Ht =
|
|
47636
|
+
Dj(at, Fe, u, d, s, ye, i, r, o, V, Ze, A, $.rows, y, F, Q, tt, he, g), jj(at, Fe, o, i, r, d, s, tt, ye, Ze, A, M, F, V, g), kx(at, Fe, o, i, r, d, s, tt, er, w, ye, Ze, A, M, F, V, g), Vt == null || Vt(), yt == null || yt(), I && ne !== "none" && xo(Fe, 0, i, 0, ye, (bt, Wt) => bt.sourceIndex === T ? (Tx(it, Wt + bt.width, 0, ye + 1, Gi(g.resizeIndicatorColor ?? g.accentLight, g.bgHeader)), ne === "full" && Tx(at, Wt + bt.width, ye, s, Gi(g.resizeIndicatorColor ?? g.accentLight, g.bgCell)), !0) : !1), Ne !== null && (Ne.fillStyle = g.bgCell, Ne.fillRect(0, 0, d, s), Ne.drawImage(at.canvas, 0, 0));
|
|
47637
|
+
const Ht = Lj(Fe, s, ye, i, r, o, V, Ze, F, Q);
|
|
47625
47638
|
D == null || D.setWindow({
|
|
47626
47639
|
x: a,
|
|
47627
47640
|
y: o,
|
|
@@ -47641,12 +47654,12 @@ function Mx(t, c) {
|
|
|
47641
47654
|
bBufferScroll: ot === Pe ? [pt, cr] : Ae == null ? void 0 : Ae.bBufferScroll
|
|
47642
47655
|
}, at.restore(), it.restore();
|
|
47643
47656
|
}
|
|
47644
|
-
const
|
|
47645
|
-
function
|
|
47657
|
+
const Fj = 80;
|
|
47658
|
+
function Hj(t) {
|
|
47646
47659
|
const c = t - 1;
|
|
47647
47660
|
return c * c * c + 1;
|
|
47648
47661
|
}
|
|
47649
|
-
class
|
|
47662
|
+
class Uj {
|
|
47650
47663
|
constructor(c) {
|
|
47651
47664
|
Rt(this, "callback");
|
|
47652
47665
|
Rt(this, "currentHoveredItem");
|
|
@@ -47669,12 +47682,12 @@ class Hj {
|
|
|
47669
47682
|
const c = this.leavingItems.length > 0, e = this.currentHoveredItem !== void 0 && this.currentHoveredItem.hoverAmount < 1;
|
|
47670
47683
|
return c || e;
|
|
47671
47684
|
});
|
|
47672
|
-
Rt(this, "getAnimatingItems", () => this.currentHoveredItem !== void 0 ? [...this.leavingItems, this.currentHoveredItem] : this.leavingItems.map((c) => ({ ...c, hoverAmount:
|
|
47685
|
+
Rt(this, "getAnimatingItems", () => this.currentHoveredItem !== void 0 ? [...this.leavingItems, this.currentHoveredItem] : this.leavingItems.map((c) => ({ ...c, hoverAmount: Hj(c.hoverAmount) })));
|
|
47673
47686
|
Rt(this, "step", (c) => {
|
|
47674
47687
|
if (this.lastAnimationTime === void 0)
|
|
47675
47688
|
this.lastAnimationTime = c;
|
|
47676
47689
|
else {
|
|
47677
|
-
const l = (c - this.lastAnimationTime) /
|
|
47690
|
+
const l = (c - this.lastAnimationTime) / Fj;
|
|
47678
47691
|
for (const s of this.leavingItems)
|
|
47679
47692
|
s.hoverAmount = sa(s.hoverAmount - l, 0, 1);
|
|
47680
47693
|
this.currentHoveredItem !== void 0 && (this.currentHoveredItem.hoverAmount = sa(this.currentHoveredItem.hoverAmount + l, 0, 1));
|
|
@@ -47700,7 +47713,7 @@ class Hj {
|
|
|
47700
47713
|
this.callback = c;
|
|
47701
47714
|
}
|
|
47702
47715
|
}
|
|
47703
|
-
class
|
|
47716
|
+
class qj {
|
|
47704
47717
|
constructor(c) {
|
|
47705
47718
|
Rt(this, "fn");
|
|
47706
47719
|
Rt(this, "val");
|
|
@@ -47711,10 +47724,10 @@ class Uj {
|
|
|
47711
47724
|
}
|
|
47712
47725
|
}
|
|
47713
47726
|
function Zb(t) {
|
|
47714
|
-
return new
|
|
47727
|
+
return new qj(t);
|
|
47715
47728
|
}
|
|
47716
|
-
const
|
|
47717
|
-
function
|
|
47729
|
+
const $j = Zb(() => window.navigator.userAgent.includes("Firefox")), Bd = Zb(() => window.navigator.userAgent.includes("Mac OS") && window.navigator.userAgent.includes("Safari") && !window.navigator.userAgent.includes("Chrome")), Ld = Zb(() => window.navigator.platform.toLowerCase().startsWith("mac"));
|
|
47730
|
+
function Vj(t) {
|
|
47718
47731
|
const c = Y.useRef([]), e = Y.useRef(0), l = Y.useRef(t);
|
|
47719
47732
|
l.current = t;
|
|
47720
47733
|
const d = Y.useCallback(() => {
|
|
@@ -47738,23 +47751,23 @@ var Kl;
|
|
|
47738
47751
|
function cS(t, c) {
|
|
47739
47752
|
return t === c ? !0 : (t == null ? void 0 : t.kind) === "out-of-bounds" ? (t == null ? void 0 : t.kind) === (c == null ? void 0 : c.kind) && (t == null ? void 0 : t.location[0]) === (c == null ? void 0 : c.location[0]) && (t == null ? void 0 : t.location[1]) === (c == null ? void 0 : c.location[1]) && (t == null ? void 0 : t.region[0]) === (c == null ? void 0 : c.region[0]) && (t == null ? void 0 : t.region[1]) === (c == null ? void 0 : c.region[1]) : (t == null ? void 0 : t.kind) === (c == null ? void 0 : c.kind) && (t == null ? void 0 : t.location[0]) === (c == null ? void 0 : c.location[0]) && (t == null ? void 0 : t.location[1]) === (c == null ? void 0 : c.location[1]);
|
|
47740
47753
|
}
|
|
47741
|
-
const
|
|
47754
|
+
const Wj = (t, c) => {
|
|
47742
47755
|
if (t.kind === _t.Custom)
|
|
47743
47756
|
return t.copyData;
|
|
47744
47757
|
const e = c == null ? void 0 : c(t);
|
|
47745
47758
|
return (e == null ? void 0 : e.getAccessibilityString(t)) ?? "";
|
|
47746
|
-
},
|
|
47759
|
+
}, Xj = (t, c) => {
|
|
47747
47760
|
const { width: e, height: l, accessibilityHeight: d, columns: s, cellXOffset: a, cellYOffset: o, headerHeight: i, fillHandle: r = !1, groupHeaderHeight: u, rowHeight: m, rows: f, getCellContent: h, getRowThemeOverride: g, onHeaderMenuClick: v, onHeaderIndicatorClick: b, enableGroups: w, isFilling: y, onCanvasFocused: C, onCanvasBlur: M, isFocused: O, selection: I, freezeColumns: $, onContextMenu: z, freezeTrailingRows: F, fixedShadowX: V = !0, fixedShadowY: W = !0, drawFocusRing: H, onMouseDown: A, onMouseUp: N, onMouseMoveRaw: E, onMouseMove: _, onItemHovered: S, dragAndDropState: k, firstColAccessible: T, onKeyDown: D, onKeyUp: j, highlightRegions: P, canvasRef: G, onDragStart: Z, onDragEnd: te, eventTargetRef: U, isResizing: Q, resizeColumn: L, isDragging: B, isDraggable: K = !1, allowResize: ee, disabledRows: ae, hasAppendRow: re, getGroupDetails: se, theme: he, prelightCells: ge, headerIcons: ne, verticalBorder: ce, drawCell: oe, drawHeader: de, onCellFocused: pe, onDragOverCell: me, onDrop: ye, onDragLeave: Ce, imageWindowLoader: Se, smoothScrollX: Pe = !1, smoothScrollY: Ae = !1, experimental: Ne, getCellRenderer: it, resizeIndicator: at = "full" } = t, ot = t.translateX ?? 0, ht = t.translateY ?? 0, Ze = Math.max($, Math.min(s.length - 1, a)), Fe = Y.useRef(null), tt = Y.useRef((Ne == null ? void 0 : Ne.eventTarget) ?? window), lt = tt.current, dt = Se, jt = Y.useRef(), [Vt, yt] = Y.useState(!1), er = Y.useRef([]), Ht = Y.useRef(), [pt, cr] = Y.useState(), [Zt, bt] = Y.useState(), Wt = Y.useRef(null), [St, wt] = Y.useState(), [rr, Et] = Y.useState(!1), kt = Y.useRef(rr);
|
|
47748
47761
|
kt.current = rr;
|
|
47749
|
-
const be = Y.useMemo(() => new
|
|
47762
|
+
const be = Y.useMemo(() => new xN(ne, () => {
|
|
47750
47763
|
fe.current = void 0, Ct.current();
|
|
47751
|
-
}), [ne]), ke = w ? u + i : i, Le = Y.useRef(-1), st = ((Ne == null ? void 0 : Ne.enableFirefoxRescaling) ?? !1) &&
|
|
47764
|
+
}), [ne]), ke = w ? u + i : i, Le = Y.useRef(-1), st = ((Ne == null ? void 0 : Ne.enableFirefoxRescaling) ?? !1) && $j.value, At = ((Ne == null ? void 0 : Ne.enableSafariRescaling) ?? !1) && Bd.value;
|
|
47752
47765
|
Y.useLayoutEffect(() => {
|
|
47753
47766
|
window.devicePixelRatio === 1 || !st && !At || (Le.current !== -1 && yt(!0), window.clearTimeout(Le.current), Le.current = window.setTimeout(() => {
|
|
47754
47767
|
yt(!1), Le.current = -1;
|
|
47755
47768
|
}, 200));
|
|
47756
47769
|
}, [o, Ze, ot, ht, st, At]);
|
|
47757
|
-
const Ye =
|
|
47770
|
+
const Ye = tD(s, $), xt = Y.useMemo(() => V ? tu(Ye, k) : 0, [Ye, k, V]), ft = Y.useCallback((Re, Ke, Mt) => {
|
|
47758
47771
|
const It = Re.getBoundingClientRect();
|
|
47759
47772
|
if (Ke >= Ye.length || Mt >= f)
|
|
47760
47773
|
return;
|
|
@@ -47779,7 +47792,7 @@ const Vj = (t, c) => {
|
|
|
47779
47792
|
let Ut = 0, _r = 0;
|
|
47780
47793
|
const ar = typeof PointerEvent < "u" && It instanceof PointerEvent && It.pointerType === "mouse" || typeof MouseEvent < "u" && It instanceof MouseEvent, lr = typeof PointerEvent < "u" && It instanceof PointerEvent && It.pointerType === "touch" || typeof TouchEvent < "u" && It instanceof TouchEvent;
|
|
47781
47794
|
ar && (Ut = It.button, _r = It.buttons);
|
|
47782
|
-
const sr =
|
|
47795
|
+
const sr = aD(qt, Sn, ot), kr = sD(mr, l, w, i, u, f, m, o, ht, F), hn = (It == null ? void 0 : It.shiftKey) === !0, zi = (It == null ? void 0 : It.ctrlKey) === !0, ki = (It == null ? void 0 : It.metaKey) === !0, en = [
|
|
47783
47796
|
qt < 0 ? -1 : e < qt ? 1 : 0,
|
|
47784
47797
|
mr < ke ? -1 : l < mr ? 1 : 0
|
|
47785
47798
|
];
|
|
@@ -47905,7 +47918,7 @@ const Vj = (t, c) => {
|
|
|
47905
47918
|
Dr.canvas.remove(), fr.canvas.remove();
|
|
47906
47919
|
};
|
|
47907
47920
|
}, [Dr, fr]);
|
|
47908
|
-
const Vr = Y.useMemo(() => new
|
|
47921
|
+
const Vr = Y.useMemo(() => new mD(), []), qr = st && Vt ? 1 : At && Vt ? 2 : 5, Wr = (Ne == null ? void 0 : Ne.disableMinimumCellWidth) === !0 ? 1 : 10, fe = Y.useRef(), Te = Y.useRef(null), He = Y.useRef(null), Je = Y.useCallback(() => {
|
|
47909
47922
|
var qt;
|
|
47910
47923
|
const Re = Fe.current, Ke = Wt.current;
|
|
47911
47924
|
if (Re === null || Ke === null || (Te.current === null && (Te.current = Re.getContext("2d", { alpha: !1 }), Re.width = 0, Re.height = 0), He.current === null && (He.current = Ke.getContext("2d", { alpha: !1 }), Ke.width = 0, Ke.height = 0), Te.current === null || He.current === null || Dr === null || fr === null))
|
|
@@ -48026,7 +48039,7 @@ const Vj = (t, c) => {
|
|
|
48026
48039
|
}, []);
|
|
48027
48040
|
const rt = Y.useCallback((Re) => {
|
|
48028
48041
|
jt.current = Re, Ct.current(), jt.current = void 0;
|
|
48029
|
-
}, []), ct =
|
|
48042
|
+
}, []), ct = Vj(rt);
|
|
48030
48043
|
Xt.current = ct;
|
|
48031
48044
|
const dr = Y.useCallback((Re) => {
|
|
48032
48045
|
rt(new Ec(Re.map((Ke) => Ke.cell)));
|
|
@@ -48154,7 +48167,7 @@ const Vj = (t, c) => {
|
|
|
48154
48167
|
vi("contextmenu", ua, (U == null ? void 0 : U.current) ?? null, !1);
|
|
48155
48168
|
const ni = Y.useCallback((Re) => {
|
|
48156
48169
|
jt.current = new Ec(Re.map((Ke) => Ke.item)), er.current = Re, Ct.current(), jt.current = void 0;
|
|
48157
|
-
}, []), zt = Y.useMemo(() => new
|
|
48170
|
+
}, []), zt = Y.useMemo(() => new Uj(ni), [ni]), Ma = Y.useRef(zt);
|
|
48158
48171
|
Ma.current = zt, Y.useLayoutEffect(() => {
|
|
48159
48172
|
const Re = Ma.current;
|
|
48160
48173
|
if (Ft === void 0 || Ft[1] < 0) {
|
|
@@ -48367,7 +48380,7 @@ const Vj = (t, c) => {
|
|
|
48367
48380
|
return nt(G.current, Re, Ke, Mt);
|
|
48368
48381
|
}
|
|
48369
48382
|
}), [G, dr, ft, nt]);
|
|
48370
|
-
const Pi = Y.useRef(), Ns =
|
|
48383
|
+
const Pi = Y.useRef(), Ns = eO(() => {
|
|
48371
48384
|
var mr, Bt, Sn;
|
|
48372
48385
|
if (e < 50 || (Ne == null ? void 0 : Ne.disableAccessibilityTree) === !0)
|
|
48373
48386
|
return null;
|
|
@@ -48412,7 +48425,7 @@ const Vj = (t, c) => {
|
|
|
48412
48425
|
var gn, Br;
|
|
48413
48426
|
if (!(en.target === ze.current || ((gn = Pi.current) == null ? void 0 : gn[0]) === ar && ((Br = Pi.current) == null ? void 0 : Br[1]) === Ut))
|
|
48414
48427
|
return Pi.current = zi, pe == null ? void 0 : pe(zi);
|
|
48415
|
-
}, ref: sr ? jr : void 0, tabIndex: -1 },
|
|
48428
|
+
}, ref: sr ? jr : void 0, tabIndex: -1 }, Wj(ki, it));
|
|
48416
48429
|
}))))
|
|
48417
48430
|
);
|
|
48418
48431
|
}, [
|
|
@@ -48473,11 +48486,11 @@ const Vj = (t, c) => {
|
|
|
48473
48486
|
Y.createElement("canvas", { ref: Wt, style: Ue }),
|
|
48474
48487
|
uu
|
|
48475
48488
|
);
|
|
48476
|
-
},
|
|
48489
|
+
}, Yj = Y.memo(Y.forwardRef(Xj));
|
|
48477
48490
|
function gc(t, c, e, l) {
|
|
48478
48491
|
return sa(Math.round(c - (t.growOffset ?? 0)), Math.ceil(e), Math.floor(l));
|
|
48479
48492
|
}
|
|
48480
|
-
const
|
|
48493
|
+
const Gj = (t) => {
|
|
48481
48494
|
const [c, e] = Y.useState(), [l, d] = Y.useState(), [s, a] = Y.useState(), [o, i] = Y.useState(), [r, u] = Y.useState(!1), [m, f] = Y.useState(), [h, g] = Y.useState(), [v, b] = Y.useState(), [w, y] = Y.useState(!1), [C, M] = Y.useState(), { onHeaderMenuClick: O, onHeaderIndicatorClick: I, getCellContent: $, onColumnMoved: z, onColumnResize: F, onColumnResizeStart: V, onColumnResizeEnd: W, gridRef: H, maxColumnWidth: A, minColumnWidth: N, onRowMoved: E, lockColumns: _, onColumnProposeMove: S, onMouseDown: k, onMouseUp: T, onItemHovered: D, onDragStart: j, canvasRef: P } = t, G = (F ?? W ?? V) !== void 0, { columns: Z, selection: te } = t, U = te.columns, Q = Y.useCallback((oe) => {
|
|
48482
48495
|
const [de, pe] = oe.location;
|
|
48483
48496
|
s !== void 0 && o !== de && de >= _ ? (u(!0), i(de)) : h !== void 0 && pe !== void 0 ? (y(!0), b(Math.max(0, pe))) : l === void 0 && !r && !w && (D == null || D(oe));
|
|
@@ -48586,9 +48599,9 @@ const Yj = (t) => {
|
|
|
48586
48599
|
}, [h, v, $]), ce = Y.useCallback((oe) => {
|
|
48587
48600
|
j == null || j(oe), oe.defaultPrevented() || re();
|
|
48588
48601
|
}, [re, j]);
|
|
48589
|
-
return Y.createElement(
|
|
48602
|
+
return Y.createElement(Yj, { accessibilityHeight: t.accessibilityHeight, canvasRef: t.canvasRef, cellXOffset: t.cellXOffset, cellYOffset: t.cellYOffset, columns: t.columns, disabledRows: t.disabledRows, drawFocusRing: t.drawFocusRing, drawHeader: t.drawHeader, drawCell: t.drawCell, enableGroups: t.enableGroups, eventTargetRef: t.eventTargetRef, experimental: t.experimental, fillHandle: t.fillHandle, firstColAccessible: t.firstColAccessible, fixedShadowX: t.fixedShadowX, fixedShadowY: t.fixedShadowY, freezeColumns: t.freezeColumns, getCellRenderer: t.getCellRenderer, getGroupDetails: t.getGroupDetails, getRowThemeOverride: t.getRowThemeOverride, groupHeaderHeight: t.groupHeaderHeight, headerHeight: t.headerHeight, headerIcons: t.headerIcons, height: t.height, highlightRegions: t.highlightRegions, imageWindowLoader: t.imageWindowLoader, resizeColumn: l, isDraggable: t.isDraggable, isFilling: t.isFilling, isFocused: t.isFocused, onCanvasBlur: t.onCanvasBlur, onCanvasFocused: t.onCanvasFocused, onCellFocused: t.onCellFocused, onContextMenu: t.onContextMenu, onDragEnd: t.onDragEnd, onDragLeave: t.onDragLeave, onDragOverCell: t.onDragOverCell, onDrop: t.onDrop, onKeyDown: t.onKeyDown, onKeyUp: t.onKeyUp, onMouseMove: t.onMouseMove, prelightCells: t.prelightCells, rowHeight: t.rowHeight, rows: t.rows, selection: t.selection, smoothScrollX: t.smoothScrollX, smoothScrollY: t.smoothScrollY, theme: t.theme, freezeTrailingRows: t.freezeTrailingRows, hasAppendRow: t.hasAppendRow, translateX: t.translateX, translateY: t.translateY, resizeIndicator: t.resizeIndicator, verticalBorder: t.verticalBorder, width: t.width, getCellContent: ne, isResizing: l !== void 0, onHeaderMenuClick: K, onHeaderIndicatorClick: ee, isDragging: r, onItemHovered: Q, onDragStart: ce, onMouseDown: B, allowResize: G, onMouseUp: se, dragAndDropState: he, onMouseMoveRaw: ge, ref: H });
|
|
48590
48603
|
};
|
|
48591
|
-
function
|
|
48604
|
+
function Kj(t) {
|
|
48592
48605
|
const c = Y.useRef(null), [e, l] = Y.useState({
|
|
48593
48606
|
width: t == null ? void 0 : t[0],
|
|
48594
48607
|
height: t == null ? void 0 : t[1]
|
|
@@ -48605,7 +48618,7 @@ function Gj(t) {
|
|
|
48605
48618
|
};
|
|
48606
48619
|
}, [c.current]), { ref: c, ...e };
|
|
48607
48620
|
}
|
|
48608
|
-
const
|
|
48621
|
+
const Zj = (t, c, e) => {
|
|
48609
48622
|
const l = Y.useRef(null), d = Y.useRef(null), s = Y.useRef(null), a = Y.useRef(0), o = Y.useRef(c);
|
|
48610
48623
|
o.current = c;
|
|
48611
48624
|
const i = e.current;
|
|
@@ -48636,15 +48649,15 @@ const Kj = (t, c, e) => {
|
|
|
48636
48649
|
};
|
|
48637
48650
|
}
|
|
48638
48651
|
}, [t, i]);
|
|
48639
|
-
},
|
|
48652
|
+
}, Qj = () => (t) => t.isSafari ? "scroll" : "auto", Jj = /* @__PURE__ */ xi("div")({
|
|
48640
48653
|
name: "ScrollRegionStyle",
|
|
48641
48654
|
class: "gdg-s1dgczr6",
|
|
48642
48655
|
propsAsIs: !1,
|
|
48643
48656
|
vars: {
|
|
48644
|
-
"s1dgczr6-0": [
|
|
48657
|
+
"s1dgczr6-0": [Qj()]
|
|
48645
48658
|
}
|
|
48646
|
-
}),
|
|
48647
|
-
function
|
|
48659
|
+
}), eI = 33554400, tI = 5e6;
|
|
48660
|
+
function rI(t) {
|
|
48648
48661
|
const [c, e] = Y.useState(!1), l = typeof window > "u" ? null : window, d = Y.useRef(0);
|
|
48649
48662
|
return vi("touchstart", Y.useCallback(() => {
|
|
48650
48663
|
window.clearTimeout(d.current), e(!0);
|
|
@@ -48652,7 +48665,7 @@ function tI(t) {
|
|
|
48652
48665
|
s.touches.length === 0 && (d.current = window.setTimeout(() => e(!1), t));
|
|
48653
48666
|
}, [t]), l, !0, !1), c;
|
|
48654
48667
|
}
|
|
48655
|
-
const
|
|
48668
|
+
const nI = (t) => {
|
|
48656
48669
|
var te, U;
|
|
48657
48670
|
const {
|
|
48658
48671
|
children: c,
|
|
@@ -48682,7 +48695,7 @@ const rI = (t) => {
|
|
|
48682
48695
|
scrollLeft: 0,
|
|
48683
48696
|
scrollTop: 0,
|
|
48684
48697
|
lockDirection: void 0
|
|
48685
|
-
}), F = Y.useRef(null), V =
|
|
48698
|
+
}), F = Y.useRef(null), V = rI(200), [W, H] = Y.useState(!0), A = Y.useRef(0);
|
|
48686
48699
|
Y.useLayoutEffect(() => {
|
|
48687
48700
|
if (!W || V || z.current.lockDirection === void 0) return;
|
|
48688
48701
|
const Q = O.current;
|
|
@@ -48718,7 +48731,7 @@ const rI = (t) => {
|
|
|
48718
48731
|
paddingRight: ((pe = F.current) == null ? void 0 : pe.clientWidth) ?? 0
|
|
48719
48732
|
});
|
|
48720
48733
|
}, [r, u, l, s, i, V]);
|
|
48721
|
-
|
|
48734
|
+
Zj(h && Bd.value, N, O);
|
|
48722
48735
|
const E = Y.useRef(N);
|
|
48723
48736
|
E.current = N;
|
|
48724
48737
|
const _ = Y.useRef(), S = Y.useRef(!1);
|
|
@@ -48729,7 +48742,7 @@ const rI = (t) => {
|
|
|
48729
48742
|
O.current = Q, g !== void 0 && (g.current = Q);
|
|
48730
48743
|
}, [g]);
|
|
48731
48744
|
let T = 0, D = 0;
|
|
48732
|
-
const j = Math.min(l,
|
|
48745
|
+
const j = Math.min(l, eI);
|
|
48733
48746
|
for (b.push(Y.createElement("div", {
|
|
48734
48747
|
key: T++,
|
|
48735
48748
|
style: {
|
|
@@ -48737,7 +48750,7 @@ const rI = (t) => {
|
|
|
48737
48750
|
height: 0
|
|
48738
48751
|
}
|
|
48739
48752
|
})); D < j; ) {
|
|
48740
|
-
const Q = Math.min(
|
|
48753
|
+
const Q = Math.min(tI, j - D);
|
|
48741
48754
|
b.push(Y.createElement("div", {
|
|
48742
48755
|
key: T++,
|
|
48743
48756
|
style: {
|
|
@@ -48750,7 +48763,7 @@ const rI = (t) => {
|
|
|
48750
48763
|
ref: P,
|
|
48751
48764
|
width: G,
|
|
48752
48765
|
height: Z
|
|
48753
|
-
} =
|
|
48766
|
+
} = Kj(v);
|
|
48754
48767
|
return typeof window < "u" && (((te = _.current) == null ? void 0 : te.height) !== Z || ((U = _.current) == null ? void 0 : U.width) !== G) && (window.setTimeout(() => E.current(), 0), _.current = {
|
|
48755
48768
|
width: G,
|
|
48756
48769
|
height: Z
|
|
@@ -48758,7 +48771,7 @@ const rI = (t) => {
|
|
|
48758
48771
|
ref: P
|
|
48759
48772
|
}) : Y.createElement("div", {
|
|
48760
48773
|
ref: P
|
|
48761
|
-
}, Y.createElement(
|
|
48774
|
+
}, Y.createElement(Jj, {
|
|
48762
48775
|
isSafari: Bd.value
|
|
48763
48776
|
}, Y.createElement("div", {
|
|
48764
48777
|
className: "dvn-underlay"
|
|
@@ -48792,7 +48805,7 @@ const rI = (t) => {
|
|
|
48792
48805
|
pointerEvents: "auto"
|
|
48793
48806
|
}
|
|
48794
48807
|
}, m))))));
|
|
48795
|
-
},
|
|
48808
|
+
}, iI = (t) => {
|
|
48796
48809
|
const { columns: c, rows: e, rowHeight: l, headerHeight: d, groupHeaderHeight: s, enableGroups: a, freezeColumns: o, experimental: i, nonGrowWidth: r, clientSize: u, className: m, onVisibleRegionChanged: f, scrollRef: h, preventDiagonalScrolling: g, rightElement: v, rightElementProps: b, overscrollX: w, overscrollY: y, initialSize: C, smoothScrollX: M = !1, smoothScrollY: O = !1, isDraggable: I } = t, { paddingRight: $, paddingBottom: z } = i ?? {}, [F, V] = u, W = Y.useRef(), H = Y.useRef(), A = Y.useRef(), N = Y.useRef(), E = r + Math.max(0, w ?? 0);
|
|
48797
48810
|
let _ = a ? d + s : d;
|
|
48798
48811
|
if (typeof l == "number")
|
|
@@ -48858,27 +48871,27 @@ const rI = (t) => {
|
|
|
48858
48871
|
return Y.useEffect(() => {
|
|
48859
48872
|
k();
|
|
48860
48873
|
}, [k]), Y.createElement(
|
|
48861
|
-
|
|
48874
|
+
nI,
|
|
48862
48875
|
{ scrollRef: h, className: m, kineticScrollPerfHack: i == null ? void 0 : i.kineticScrollPerfHack, preventDiagonalScrolling: g, draggable: I === !0 || typeof I == "string", scrollWidth: E + ($ ?? 0), scrollHeight: _ + (z ?? 0), clientHeight: V, rightElement: v, paddingBottom: z, paddingRight: $, rightElementProps: b, update: T, initialSize: C },
|
|
48863
|
-
Y.createElement(
|
|
48876
|
+
Y.createElement(Gj, { eventTargetRef: h, width: F, height: V, accessibilityHeight: t.accessibilityHeight, canvasRef: t.canvasRef, cellXOffset: t.cellXOffset, cellYOffset: t.cellYOffset, columns: t.columns, disabledRows: t.disabledRows, enableGroups: t.enableGroups, fillHandle: t.fillHandle, firstColAccessible: t.firstColAccessible, fixedShadowX: t.fixedShadowX, fixedShadowY: t.fixedShadowY, freezeColumns: t.freezeColumns, getCellContent: t.getCellContent, getCellRenderer: t.getCellRenderer, getGroupDetails: t.getGroupDetails, getRowThemeOverride: t.getRowThemeOverride, groupHeaderHeight: t.groupHeaderHeight, headerHeight: t.headerHeight, highlightRegions: t.highlightRegions, imageWindowLoader: t.imageWindowLoader, isFilling: t.isFilling, isFocused: t.isFocused, lockColumns: t.lockColumns, maxColumnWidth: t.maxColumnWidth, minColumnWidth: t.minColumnWidth, onHeaderMenuClick: t.onHeaderMenuClick, onHeaderIndicatorClick: t.onHeaderIndicatorClick, onMouseMove: t.onMouseMove, prelightCells: t.prelightCells, rowHeight: t.rowHeight, rows: t.rows, selection: t.selection, theme: t.theme, freezeTrailingRows: t.freezeTrailingRows, hasAppendRow: t.hasAppendRow, translateX: t.translateX, translateY: t.translateY, onColumnProposeMove: t.onColumnProposeMove, verticalBorder: t.verticalBorder, drawFocusRing: t.drawFocusRing, drawHeader: t.drawHeader, drawCell: t.drawCell, experimental: t.experimental, gridRef: t.gridRef, headerIcons: t.headerIcons, isDraggable: t.isDraggable, onCanvasBlur: t.onCanvasBlur, onCanvasFocused: t.onCanvasFocused, onCellFocused: t.onCellFocused, onColumnMoved: t.onColumnMoved, onColumnResize: t.onColumnResize, onColumnResizeEnd: t.onColumnResizeEnd, onColumnResizeStart: t.onColumnResizeStart, onContextMenu: t.onContextMenu, onDragEnd: t.onDragEnd, onDragLeave: t.onDragLeave, onDragOverCell: t.onDragOverCell, onDragStart: t.onDragStart, onDrop: t.onDrop, onItemHovered: t.onItemHovered, onKeyDown: t.onKeyDown, onKeyUp: t.onKeyUp, onMouseDown: t.onMouseDown, onMouseUp: t.onMouseUp, onRowMoved: t.onRowMoved, smoothScrollX: t.smoothScrollX, smoothScrollY: t.smoothScrollY, resizeIndicator: t.resizeIndicator })
|
|
48864
48877
|
);
|
|
48865
|
-
},
|
|
48878
|
+
}, aI = /* @__PURE__ */ xi("div")({
|
|
48866
48879
|
name: "SearchWrapper",
|
|
48867
48880
|
class: "gdg-seveqep",
|
|
48868
48881
|
propsAsIs: !1
|
|
48869
|
-
}),
|
|
48882
|
+
}), sI = Y.createElement(
|
|
48870
48883
|
"svg",
|
|
48871
48884
|
{ className: "button-icon", viewBox: "0 0 512 512" },
|
|
48872
48885
|
Y.createElement("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "48", d: "M112 244l144-144 144 144M256 120v292" })
|
|
48873
|
-
),
|
|
48886
|
+
), oI = Y.createElement(
|
|
48874
48887
|
"svg",
|
|
48875
48888
|
{ className: "button-icon", viewBox: "0 0 512 512" },
|
|
48876
48889
|
Y.createElement("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "48", d: "M112 268l144 144 144-144M256 392V100" })
|
|
48877
|
-
),
|
|
48890
|
+
), lI = Y.createElement(
|
|
48878
48891
|
"svg",
|
|
48879
48892
|
{ className: "button-icon", viewBox: "0 0 512 512" },
|
|
48880
48893
|
Y.createElement("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "32", d: "M368 368L144 144M368 144L144 368" })
|
|
48881
|
-
),
|
|
48894
|
+
), uI = 10, cI = (t) => {
|
|
48882
48895
|
const { canvasRef: c, cellYOffset: e, rows: l, columns: d, searchInputRef: s, searchValue: a, searchResults: o, onSearchValueChange: i, getCellsForSelection: r, onSearchResultsChanged: u, showSearch: m = !1, onSearchClose: f } = t, [h] = Y.useState(() => "search-box-" + Math.round(Math.random() * 1e3)), [g, v] = Y.useState(""), b = a ?? g, w = Y.useCallback((j) => {
|
|
48883
48896
|
v(j), i == null || i(j);
|
|
48884
48897
|
}, [i]), [y, C] = Y.useState(), M = Y.useRef(y);
|
|
@@ -48945,7 +48958,7 @@ const rI = (t) => {
|
|
|
48945
48958
|
rowsSearched: te,
|
|
48946
48959
|
selectedIndex: re
|
|
48947
48960
|
}), u == null || u(U, re), G + Z >= l ? G = 0 : G += Z;
|
|
48948
|
-
const se = ae - L, he = Math.max(se, 1), ge =
|
|
48961
|
+
const se = ae - L, he = Math.max(se, 1), ge = uI / he;
|
|
48949
48962
|
Z = Math.ceil(Z * ge), te < l && U.length < 1e3 && (I.current = window.requestAnimationFrame(Q));
|
|
48950
48963
|
};
|
|
48951
48964
|
V(), I.current = window.requestAnimationFrame(Q);
|
|
@@ -49002,15 +49015,15 @@ const rI = (t) => {
|
|
|
49002
49015
|
width: `${l > 0 ? Math.floor(((y == null ? void 0 : y.rowsSearched) ?? 0) / l * 100) : 0}%`
|
|
49003
49016
|
};
|
|
49004
49017
|
return Y.createElement(
|
|
49005
|
-
|
|
49018
|
+
aI,
|
|
49006
49019
|
{ className: "gdg-search-bar" + (m ? "" : " out"), onMouseDown: P, onMouseMove: P, onMouseUp: P, onClick: P },
|
|
49007
49020
|
Y.createElement(
|
|
49008
49021
|
"div",
|
|
49009
49022
|
{ className: "gdg-search-bar-inner" },
|
|
49010
49023
|
Y.createElement("input", { id: h, "aria-hidden": !m, "data-testid": "search-input", ref: s, onChange: N, value: b, tabIndex: m ? void 0 : -1, onKeyDownCapture: S }),
|
|
49011
|
-
Y.createElement("button", { type: "button", "aria-label": "Previous Result", "aria-hidden": !m, tabIndex: m ? void 0 : -1, onClick: _, disabled: ((y == null ? void 0 : y.results) ?? 0) === 0 },
|
|
49012
|
-
Y.createElement("button", { type: "button", "aria-label": "Next Result", "aria-hidden": !m, tabIndex: m ? void 0 : -1, onClick: E, disabled: ((y == null ? void 0 : y.results) ?? 0) === 0 },
|
|
49013
|
-
f !== void 0 && Y.createElement("button", { type: "button", "aria-label": "Close Search", "aria-hidden": !m, "data-testid": "search-close-button", tabIndex: m ? void 0 : -1, onClick: A },
|
|
49024
|
+
Y.createElement("button", { type: "button", "aria-label": "Previous Result", "aria-hidden": !m, tabIndex: m ? void 0 : -1, onClick: _, disabled: ((y == null ? void 0 : y.results) ?? 0) === 0 }, sI),
|
|
49025
|
+
Y.createElement("button", { type: "button", "aria-label": "Next Result", "aria-hidden": !m, tabIndex: m ? void 0 : -1, onClick: E, disabled: ((y == null ? void 0 : y.results) ?? 0) === 0 }, oI),
|
|
49026
|
+
f !== void 0 && Y.createElement("button", { type: "button", "aria-label": "Close Search", "aria-hidden": !m, "data-testid": "search-close-button", tabIndex: m ? void 0 : -1, onClick: A }, lI)
|
|
49014
49027
|
),
|
|
49015
49028
|
y !== void 0 ? Y.createElement(
|
|
49016
49029
|
Y.Fragment,
|
|
@@ -49045,7 +49058,7 @@ const rI = (t) => {
|
|
|
49045
49058
|
return Y.createElement(
|
|
49046
49059
|
Y.Fragment,
|
|
49047
49060
|
null,
|
|
49048
|
-
Y.createElement(
|
|
49061
|
+
Y.createElement(iI, { prelightCells: F, accessibilityHeight: t.accessibilityHeight, canvasRef: t.canvasRef, cellXOffset: t.cellXOffset, cellYOffset: t.cellYOffset, className: t.className, clientSize: t.clientSize, columns: t.columns, disabledRows: t.disabledRows, enableGroups: t.enableGroups, fillHandle: t.fillHandle, firstColAccessible: t.firstColAccessible, nonGrowWidth: t.nonGrowWidth, fixedShadowX: t.fixedShadowX, fixedShadowY: t.fixedShadowY, freezeColumns: t.freezeColumns, getCellContent: t.getCellContent, getCellRenderer: t.getCellRenderer, getGroupDetails: t.getGroupDetails, getRowThemeOverride: t.getRowThemeOverride, groupHeaderHeight: t.groupHeaderHeight, headerHeight: t.headerHeight, highlightRegions: t.highlightRegions, imageWindowLoader: t.imageWindowLoader, initialSize: t.initialSize, isFilling: t.isFilling, isFocused: t.isFocused, lockColumns: t.lockColumns, maxColumnWidth: t.maxColumnWidth, minColumnWidth: t.minColumnWidth, onHeaderMenuClick: t.onHeaderMenuClick, onHeaderIndicatorClick: t.onHeaderIndicatorClick, onMouseMove: t.onMouseMove, onVisibleRegionChanged: t.onVisibleRegionChanged, overscrollX: t.overscrollX, overscrollY: t.overscrollY, preventDiagonalScrolling: t.preventDiagonalScrolling, rightElement: t.rightElement, rightElementProps: t.rightElementProps, rowHeight: t.rowHeight, rows: t.rows, scrollRef: t.scrollRef, selection: t.selection, theme: t.theme, freezeTrailingRows: t.freezeTrailingRows, hasAppendRow: t.hasAppendRow, translateX: t.translateX, translateY: t.translateY, verticalBorder: t.verticalBorder, onColumnProposeMove: t.onColumnProposeMove, drawFocusRing: t.drawFocusRing, drawCell: t.drawCell, drawHeader: t.drawHeader, experimental: t.experimental, gridRef: t.gridRef, headerIcons: t.headerIcons, isDraggable: t.isDraggable, onCanvasBlur: t.onCanvasBlur, onCanvasFocused: t.onCanvasFocused, onCellFocused: t.onCellFocused, onColumnMoved: t.onColumnMoved, onColumnResize: t.onColumnResize, onColumnResizeEnd: t.onColumnResizeEnd, onColumnResizeStart: t.onColumnResizeStart, onContextMenu: t.onContextMenu, onDragEnd: t.onDragEnd, onDragLeave: t.onDragLeave, onDragOverCell: t.onDragOverCell, onDragStart: t.onDragStart, onDrop: t.onDrop, onItemHovered: t.onItemHovered, onKeyDown: t.onKeyDown, onKeyUp: t.onKeyUp, onMouseDown: t.onMouseDown, onMouseUp: t.onMouseUp, onRowMoved: t.onRowMoved, smoothScrollX: t.smoothScrollX, smoothScrollY: t.smoothScrollY, resizeIndicator: t.resizeIndicator }),
|
|
49049
49062
|
D
|
|
49050
49063
|
);
|
|
49051
49064
|
};
|
|
@@ -49078,14 +49091,14 @@ class fS extends Y.PureComponent {
|
|
|
49078
49091
|
return Y.createElement("div", { ...s, ref: this.wrapperRef }, this.props.children);
|
|
49079
49092
|
}
|
|
49080
49093
|
}
|
|
49081
|
-
const
|
|
49094
|
+
const fI = () => (t) => Math.max(16, t.targetHeight - 10), dI = /* @__PURE__ */ xi("input")({
|
|
49082
49095
|
name: "RenameInput",
|
|
49083
49096
|
class: "gdg-r17m35ur",
|
|
49084
49097
|
propsAsIs: !1,
|
|
49085
49098
|
vars: {
|
|
49086
|
-
"r17m35ur-0": [
|
|
49099
|
+
"r17m35ur-0": [fI(), "px"]
|
|
49087
49100
|
}
|
|
49088
|
-
}),
|
|
49101
|
+
}), hI = (t) => {
|
|
49089
49102
|
const {
|
|
49090
49103
|
bounds: c,
|
|
49091
49104
|
group: e,
|
|
@@ -49103,7 +49116,7 @@ const cI = () => (t) => Math.max(16, t.targetHeight - 10), fI = /* @__PURE__ */
|
|
|
49103
49116
|
},
|
|
49104
49117
|
className: "gdg-c1tqibwd",
|
|
49105
49118
|
onClickOutside: l
|
|
49106
|
-
}, Yr.createElement(
|
|
49119
|
+
}, Yr.createElement(dI, {
|
|
49107
49120
|
targetHeight: c.height,
|
|
49108
49121
|
"data-testid": "group-rename-input",
|
|
49109
49122
|
value: a,
|
|
@@ -49116,7 +49129,7 @@ const cI = () => (t) => Math.max(16, t.targetHeight - 10), fI = /* @__PURE__ */
|
|
|
49116
49129
|
autoFocus: !0
|
|
49117
49130
|
}));
|
|
49118
49131
|
};
|
|
49119
|
-
function
|
|
49132
|
+
function pI(t, c) {
|
|
49120
49133
|
return t === void 0 ? !1 : t.length > 1 && t.startsWith("_") ? Number.parseInt(t.slice(1)) === c.keyCode : t.length === 1 && t >= "a" && t <= "z" ? t.toUpperCase().codePointAt(0) === c.keyCode : t === c.key;
|
|
49121
49134
|
}
|
|
49122
49135
|
function wr(t, c, e) {
|
|
@@ -49135,7 +49148,7 @@ function dS(t, c) {
|
|
|
49135
49148
|
}
|
|
49136
49149
|
let e = !1, l = !1, d = !1, s = !1;
|
|
49137
49150
|
const a = t.split("+"), o = a.pop();
|
|
49138
|
-
if (!
|
|
49151
|
+
if (!pI(o, c))
|
|
49139
49152
|
return !1;
|
|
49140
49153
|
if (a[0] === "any")
|
|
49141
49154
|
return !0;
|
|
@@ -49159,7 +49172,7 @@ function dS(t, c) {
|
|
|
49159
49172
|
}
|
|
49160
49173
|
return c.altKey === d && c.ctrlKey === e && c.shiftKey === l && c.metaKey === s;
|
|
49161
49174
|
}
|
|
49162
|
-
function
|
|
49175
|
+
function mI(t, c, e, l, d, s, a) {
|
|
49163
49176
|
const o = Yr.useCallback((u, m, f, h) => {
|
|
49164
49177
|
var C;
|
|
49165
49178
|
(s === "cell" || s === "multi-cell") && u !== void 0 && (u = {
|
|
@@ -49241,7 +49254,7 @@ function pI(t, c, e, l, d, s, a) {
|
|
|
49241
49254
|
}, [l, t, e, d, c]);
|
|
49242
49255
|
return [o, i, r];
|
|
49243
49256
|
}
|
|
49244
|
-
function
|
|
49257
|
+
function gI(t, c, e, l, d) {
|
|
49245
49258
|
const s = Y.useCallback((r) => {
|
|
49246
49259
|
if (t === !0) {
|
|
49247
49260
|
const u = [];
|
|
@@ -49279,7 +49292,7 @@ function mI(t, c, e, l, d) {
|
|
|
49279
49292
|
}, [l.signal, a, e]);
|
|
49280
49293
|
return [t !== void 0 ? o : void 0, a];
|
|
49281
49294
|
}
|
|
49282
|
-
function
|
|
49295
|
+
function bI(t) {
|
|
49283
49296
|
if (t.copyData !== void 0)
|
|
49284
49297
|
return {
|
|
49285
49298
|
formatted: t.copyData,
|
|
@@ -49355,20 +49368,20 @@ function gI(t) {
|
|
|
49355
49368
|
Dc();
|
|
49356
49369
|
}
|
|
49357
49370
|
}
|
|
49358
|
-
function
|
|
49371
|
+
function vI(t, c) {
|
|
49359
49372
|
return t.map((l, d) => {
|
|
49360
49373
|
const s = c[d];
|
|
49361
49374
|
return l.map((a) => a.span !== void 0 && a.span[0] !== s ? {
|
|
49362
49375
|
formatted: "",
|
|
49363
49376
|
rawValue: "",
|
|
49364
49377
|
format: "string"
|
|
49365
|
-
} :
|
|
49378
|
+
} : bI(a));
|
|
49366
49379
|
});
|
|
49367
49380
|
}
|
|
49368
49381
|
function Rx(t, c) {
|
|
49369
49382
|
return (c ? /[\t\n",]/ : /[\t\n"]/).test(t) && (t = `"${t.replace(/"/g, '""')}"`), t;
|
|
49370
49383
|
}
|
|
49371
|
-
function
|
|
49384
|
+
function yI(t) {
|
|
49372
49385
|
var e;
|
|
49373
49386
|
const c = [];
|
|
49374
49387
|
for (const l of t) {
|
|
@@ -49386,10 +49399,10 @@ function lg(t) {
|
|
|
49386
49399
|
function Ax(t) {
|
|
49387
49400
|
return '"' + t.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">") + '"';
|
|
49388
49401
|
}
|
|
49389
|
-
function
|
|
49402
|
+
function wI(t) {
|
|
49390
49403
|
return t.replace(/"/g, '"').replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
49391
49404
|
}
|
|
49392
|
-
function
|
|
49405
|
+
function xI(t) {
|
|
49393
49406
|
var e;
|
|
49394
49407
|
const c = [];
|
|
49395
49408
|
c.push('<style type="text/css"><!--br {mso-data-placement:same-cell;}--></style>', "<table><tbody>");
|
|
@@ -49403,8 +49416,8 @@ function wI(t) {
|
|
|
49403
49416
|
}
|
|
49404
49417
|
return c.push("</tbody></table>"), c.join("");
|
|
49405
49418
|
}
|
|
49406
|
-
function
|
|
49407
|
-
const e =
|
|
49419
|
+
function _I(t, c) {
|
|
49420
|
+
const e = vI(t, c), l = yI(e), d = xI(e);
|
|
49408
49421
|
return {
|
|
49409
49422
|
textPlain: l,
|
|
49410
49423
|
textHtml: d
|
|
@@ -49449,7 +49462,7 @@ function Ox(t) {
|
|
|
49449
49462
|
});
|
|
49450
49463
|
} else if (h !== null)
|
|
49451
49464
|
s == null || s.push({
|
|
49452
|
-
rawValue:
|
|
49465
|
+
rawValue: wI(h),
|
|
49453
49466
|
formatted: i.textContent ?? "",
|
|
49454
49467
|
format: g
|
|
49455
49468
|
});
|
|
@@ -49465,7 +49478,7 @@ function Ox(t) {
|
|
|
49465
49478
|
}
|
|
49466
49479
|
return s !== void 0 && d.push(s), d;
|
|
49467
49480
|
}
|
|
49468
|
-
function
|
|
49481
|
+
function SI(t, c, e, l, d) {
|
|
49469
49482
|
var o;
|
|
49470
49483
|
const s = t;
|
|
49471
49484
|
if (l === "allowPartial" || t.current === void 0 || c === void 0)
|
|
@@ -49529,7 +49542,7 @@ function _I(t, c, e, l, d) {
|
|
|
49529
49542
|
function Dx(t) {
|
|
49530
49543
|
return t.startsWith('"') && t.endsWith('"') && (t = t.slice(1, -1).replace(/""/g, '"')), t;
|
|
49531
49544
|
}
|
|
49532
|
-
function
|
|
49545
|
+
function CI(t) {
|
|
49533
49546
|
let c;
|
|
49534
49547
|
(function(o) {
|
|
49535
49548
|
o[o.None = 0] = "None", o[o.inString = 1] = "inString", o[o.inStringPostQuote = 2] = "inStringPostQuote";
|
|
@@ -49561,7 +49574,7 @@ function SI(t) {
|
|
|
49561
49574
|
}
|
|
49562
49575
|
function Nx(t, c, e) {
|
|
49563
49576
|
var o;
|
|
49564
|
-
const l =
|
|
49577
|
+
const l = _I(t, c), d = (i) => {
|
|
49565
49578
|
var r;
|
|
49566
49579
|
(r = window.navigator.clipboard) == null || r.writeText(i);
|
|
49567
49580
|
}, s = (i, r) => {
|
|
@@ -49593,28 +49606,28 @@ function hS(t) {
|
|
|
49593
49606
|
function jx(t) {
|
|
49594
49607
|
return typeof t == "string" ? t : `${t}px`;
|
|
49595
49608
|
}
|
|
49596
|
-
const
|
|
49609
|
+
const kI = () => (t) => t.innerWidth, EI = () => (t) => t.innerHeight, TI = /* @__PURE__ */ xi("div")({
|
|
49597
49610
|
name: "Wrapper",
|
|
49598
49611
|
class: "gdg-wmyidgi",
|
|
49599
49612
|
propsAsIs: !1,
|
|
49600
49613
|
vars: {
|
|
49601
|
-
"wmyidgi-0": [
|
|
49602
|
-
"wmyidgi-1": [
|
|
49614
|
+
"wmyidgi-0": [kI()],
|
|
49615
|
+
"wmyidgi-1": [EI()]
|
|
49603
49616
|
}
|
|
49604
|
-
}),
|
|
49617
|
+
}), MI = (t) => {
|
|
49605
49618
|
const {
|
|
49606
49619
|
inWidth: c,
|
|
49607
49620
|
inHeight: e,
|
|
49608
49621
|
children: l,
|
|
49609
49622
|
...d
|
|
49610
49623
|
} = t;
|
|
49611
|
-
return Y.createElement(
|
|
49624
|
+
return Y.createElement(TI, {
|
|
49612
49625
|
innerHeight: jx(e),
|
|
49613
49626
|
innerWidth: jx(c),
|
|
49614
49627
|
...d
|
|
49615
49628
|
}, l);
|
|
49616
|
-
},
|
|
49617
|
-
function
|
|
49629
|
+
}, RI = 2, AI = 1300;
|
|
49630
|
+
function OI(t, c, e) {
|
|
49618
49631
|
const l = Yr.useRef(0), [d, s] = t ?? [0, 0];
|
|
49619
49632
|
Yr.useEffect(() => {
|
|
49620
49633
|
if (d === 0 && s === 0) {
|
|
@@ -49629,8 +49642,8 @@ function AI(t, c, e) {
|
|
|
49629
49642
|
o = r;
|
|
49630
49643
|
else {
|
|
49631
49644
|
const m = r - o;
|
|
49632
|
-
l.current = Math.min(1, l.current + m /
|
|
49633
|
-
const f = l.current ** 1.618 * m *
|
|
49645
|
+
l.current = Math.min(1, l.current + m / AI);
|
|
49646
|
+
const f = l.current ** 1.618 * m * RI;
|
|
49634
49647
|
(u = c.current) == null || u.scrollBy(d * f, s * f), o = r, e == null || e();
|
|
49635
49648
|
}
|
|
49636
49649
|
window.requestAnimationFrame(i);
|
|
@@ -49641,7 +49654,7 @@ function AI(t, c, e) {
|
|
|
49641
49654
|
};
|
|
49642
49655
|
}, [c, d, s, e]);
|
|
49643
49656
|
}
|
|
49644
|
-
function
|
|
49657
|
+
function DI({ rowHeight: t, headerHeight: c, groupHeaderHeight: e, theme: l, overscrollX: d, overscrollY: s, scaleToRem: a, remSize: o }) {
|
|
49645
49658
|
const [i, r, u, m, f, h] = Yr.useMemo(() => {
|
|
49646
49659
|
if (!a || o === 16)
|
|
49647
49660
|
return [t, c, e, l, d, s];
|
|
@@ -49760,8 +49773,8 @@ function Ix(t) {
|
|
|
49760
49773
|
selectToLastRow: xr(t.selectToLastRow, "primary+shift+ArrowDown")
|
|
49761
49774
|
};
|
|
49762
49775
|
}
|
|
49763
|
-
function
|
|
49764
|
-
const c =
|
|
49776
|
+
function NI(t) {
|
|
49777
|
+
const c = aO(t);
|
|
49765
49778
|
return Yr.useMemo(() => {
|
|
49766
49779
|
if (c === void 0)
|
|
49767
49780
|
return Ix(oo);
|
|
@@ -49780,7 +49793,7 @@ function DI(t) {
|
|
|
49780
49793
|
});
|
|
49781
49794
|
}, [c]);
|
|
49782
49795
|
}
|
|
49783
|
-
function
|
|
49796
|
+
function jI(t) {
|
|
49784
49797
|
function c(l, d, s) {
|
|
49785
49798
|
if (typeof l == "number")
|
|
49786
49799
|
return {
|
|
@@ -49820,7 +49833,7 @@ function Qb(t, c) {
|
|
|
49820
49833
|
l(o.subGroups[m], f, r || o.isCollapsed);
|
|
49821
49834
|
}
|
|
49822
49835
|
}
|
|
49823
|
-
const d =
|
|
49836
|
+
const d = jI(t.groups);
|
|
49824
49837
|
for (let o = 0; o < d.length; o++) {
|
|
49825
49838
|
const i = o < d.length - 1 ? d[o + 1].headerIndex : null;
|
|
49826
49839
|
l(d[o], i);
|
|
@@ -49878,7 +49891,7 @@ function Yg(t, c) {
|
|
|
49878
49891
|
groupRows: -1
|
|
49879
49892
|
};
|
|
49880
49893
|
}
|
|
49881
|
-
function
|
|
49894
|
+
function II(t, c, e, l) {
|
|
49882
49895
|
const d = Yr.useMemo(() => t === void 0 ? void 0 : Qb(t, c), [t, c]), s = Yr.useMemo(() => d == null ? void 0 : d.reduce((u, m) => (u[m.rowIndex] = m, u), {}), [d]), a = Yr.useMemo(() => d === void 0 ? c : d.reduce((u, m) => u + (m.isCollapsed ? 1 : m.rows + 1), 0), [d, c]), o = Yr.useMemo(() => t === void 0 || typeof e == "number" && t.height === e ? e : (u) => s != null && s[u] ? t.height : typeof e == "number" ? e : e(u), [s, t, e]), i = Yr.useCallback((u) => {
|
|
49883
49896
|
if (d === void 0)
|
|
49884
49897
|
return u;
|
|
@@ -49913,7 +49926,7 @@ function jI(t, c, e, l) {
|
|
|
49913
49926
|
getRowThemeOverride: r
|
|
49914
49927
|
};
|
|
49915
49928
|
}
|
|
49916
|
-
function
|
|
49929
|
+
function PI(t, c) {
|
|
49917
49930
|
const e = Yr.useMemo(() => t === void 0 ? void 0 : Qb(t, c), [t, c]);
|
|
49918
49931
|
return {
|
|
49919
49932
|
getRowGroupingForPath: mS,
|
|
@@ -49937,7 +49950,7 @@ function mS(t, c) {
|
|
|
49937
49950
|
const [e, ...l] = c;
|
|
49938
49951
|
return l[0] === -1 ? t[e] : mS(t[e].subGroups ?? [], l);
|
|
49939
49952
|
}
|
|
49940
|
-
function
|
|
49953
|
+
function zI(t, c) {
|
|
49941
49954
|
const [e] = Y.useState(() => ({
|
|
49942
49955
|
value: t,
|
|
49943
49956
|
callback: c,
|
|
@@ -49953,7 +49966,7 @@ function PI(t, c) {
|
|
|
49953
49966
|
}));
|
|
49954
49967
|
return e.callback = c, e.facade;
|
|
49955
49968
|
}
|
|
49956
|
-
function
|
|
49969
|
+
function BI(t, c, e, l, d) {
|
|
49957
49970
|
const [s, a] = Y.useMemo(() => [
|
|
49958
49971
|
c !== void 0 && typeof e == "number" ? Math.floor(c / e) : 0,
|
|
49959
49972
|
c !== void 0 && typeof e == "number" ? -(c % e) : 0
|
|
@@ -49964,9 +49977,9 @@ function zI(t, c, e, l, d) {
|
|
|
49964
49977
|
height: l.current.height ?? 1,
|
|
49965
49978
|
// tx: 'TODO',
|
|
49966
49979
|
ty: a
|
|
49967
|
-
}), [l, a, s]), [i, r, u] =
|
|
49980
|
+
}), [l, a, s]), [i, r, u] = iO(o), m = Y.useRef(d);
|
|
49968
49981
|
m.current = d;
|
|
49969
|
-
const f =
|
|
49982
|
+
const f = zI(null, (v) => {
|
|
49970
49983
|
v !== null && c !== void 0 ? v.scrollTop = c : v !== null && t !== void 0 && (v.scrollLeft = t);
|
|
49971
49984
|
}), h = (i.height ?? 1) > 1;
|
|
49972
49985
|
Y.useLayoutEffect(() => {
|
|
@@ -49989,10 +50002,10 @@ function zI(t, c, e, l, d) {
|
|
|
49989
50002
|
scrollRef: f
|
|
49990
50003
|
};
|
|
49991
50004
|
}
|
|
49992
|
-
const
|
|
49993
|
-
let
|
|
49994
|
-
function
|
|
49995
|
-
return
|
|
50005
|
+
const LI = Y.lazy(async () => await Promise.resolve().then(() => fz));
|
|
50006
|
+
let FI = 0;
|
|
50007
|
+
function HI(t) {
|
|
50008
|
+
return jD(l6(l6(t).filter((c) => c.span !== void 0).map((c) => {
|
|
49996
50009
|
var e, l;
|
|
49997
50010
|
return Vo((((e = c.span) == null ? void 0 : e[0]) ?? 0) + 1, (((l = c.span) == null ? void 0 : l[1]) ?? 0) + 1);
|
|
49998
50011
|
})));
|
|
@@ -50021,9 +50034,9 @@ const md = {
|
|
|
50021
50034
|
columns: Hr.empty(),
|
|
50022
50035
|
rows: Hr.empty(),
|
|
50023
50036
|
current: void 0
|
|
50024
|
-
},
|
|
50037
|
+
}, UI = (t, c) => {
|
|
50025
50038
|
var wl, xl, Cu;
|
|
50026
|
-
const [e, l] = Y.useState(gd), [d, s] = Y.useState(), a = Y.useRef(null), o = Y.useRef(null), [i, r] = Y.useState(), u = Y.useRef(), m = typeof window > "u" ? null : window, { imageEditorOverride: f, getRowThemeOverride: h, markdownDivCreateNode: g, width: v, height: b, columns: w, rows: y, getCellContent: C, onCellClicked: M, onCellActivated: O, onFillPattern: I, onFinishedEditing: $, coercePasteValue: z, drawHeader: F, drawCell: V, editorBloom: W, onHeaderClicked: H, onColumnProposeMove: A, rangeSelectionColumnSpanning: N = !0, spanRangeBehavior: E = "default", onGroupHeaderClicked: _, onCellContextMenu: S, className: k, onHeaderContextMenu: T, getCellsForSelection: D, onGroupHeaderContextMenu: j, onGroupHeaderRenamed: P, onCellEdited: G, onCellsEdited: Z, onSearchResultsChanged: te, searchResults: U, onSearchValueChange: Q, searchValue: L, onKeyDown: B, onKeyUp: K, keybindings: ee, editOnType: ae = !0, onRowAppended: re, onColumnAppended: se, onColumnMoved: he, validateCell: ge, highlightRegions: ne, rangeSelect: ce = "rect", columnSelect: oe = "multi", rowSelect: de = "multi", rangeSelectionBlending: pe = "exclusive", columnSelectionBlending: me = "exclusive", rowSelectionBlending: ye = "exclusive", onDelete: Ce, onDragStart: Se, onMouseMove: Pe, onPaste: Ae, copyHeaders: Ne = !1, freezeColumns: it = 0, cellActivationBehavior: at = "second-click", rowSelectionMode: ot = "auto", columnSelectionMode: ht = "auto", onHeaderMenuClick: Ze, onHeaderIndicatorClick: Fe, getGroupDetails: tt, rowGrouping: lt, onSearchClose: dt, onItemHovered: jt, onSelectionCleared: Vt, showSearch: yt, onVisibleRegionChanged: er, gridSelection: Ht, onGridSelectionChange: pt, minColumnWidth: cr = 50, maxColumnWidth: Zt = 500, maxColumnAutoWidth: bt, provideEditor: Wt, trailingRowOptions: St, freezeTrailingRows: wt = 0, allowedFillDirections: rr = "orthogonal", scrollOffsetX: Et, scrollOffsetY: kt, verticalBorder: be, onDragOverCell: ke, onDrop: Le, onColumnResize: st, onColumnResizeEnd: At, onColumnResizeStart: Ye, customRenderers: xt, fillHandle: ft, experimental: nt, fixedShadowX: Ft, fixedShadowY: Xt, headerIcons: Qt, imageWindowLoader: Dr, initialSize: fr, isDraggable: Vr, onDragLeave: qr, onRowMoved: Wr, overscrollX: fe, overscrollY: Te, preventDiagonalScrolling: He, rightElement: Je, rightElementProps: Ct, trapFocus: rt = !1, smoothScrollX: ct, smoothScrollY: dr, scaleToRem: tr = !1, rowHeight: nr = 34, headerHeight: Ot = 36, groupHeaderHeight: or = Ot, theme: Cr, isOutsideClick: hr, renderers: pr, resizeIndicator: un, scrollToActiveCell: fn = !0, drawFocusRing: Pn = !0, portalElementRef: ci } = t, $n = Pn === "no-editor" ? d === void 0 : Pn, Rr = typeof t.rowMarkers == "string" ? void 0 : t.rowMarkers, Nr = (Rr == null ? void 0 : Rr.kind) ?? t.rowMarkers ?? "none", vr = (Rr == null ? void 0 : Rr.width) ?? t.rowMarkerWidth, ir = (Rr == null ? void 0 : Rr.startIndex) ?? t.rowMarkerStartIndex ?? 1, zn = (Rr == null ? void 0 : Rr.theme) ?? t.rowMarkerTheme, yn = Rr == null ? void 0 : Rr.headerTheme, _i = Rr == null ? void 0 : Rr.headerAlwaysVisible, wn = de !== "multi" || (Rr == null ? void 0 : Rr.headerDisabled) === !0, mn = (Rr == null ? void 0 : Rr.checkboxStyle) ?? "square", Bn = Math.max(cr, 20), fi = Math.max(Zt, Bn), ua = Math.max(bt ?? fi, Bn), ni = Y.useMemo(() => typeof window > "u" ? { fontSize: "16px" } : window.getComputedStyle(document.documentElement), []), { rows: zt, rowNumberMapper: Ma, rowHeight: Si, getRowThemeOverride: dn } =
|
|
50039
|
+
const [e, l] = Y.useState(gd), [d, s] = Y.useState(), a = Y.useRef(null), o = Y.useRef(null), [i, r] = Y.useState(), u = Y.useRef(), m = typeof window > "u" ? null : window, { imageEditorOverride: f, getRowThemeOverride: h, markdownDivCreateNode: g, width: v, height: b, columns: w, rows: y, getCellContent: C, onCellClicked: M, onCellActivated: O, onFillPattern: I, onFinishedEditing: $, coercePasteValue: z, drawHeader: F, drawCell: V, editorBloom: W, onHeaderClicked: H, onColumnProposeMove: A, rangeSelectionColumnSpanning: N = !0, spanRangeBehavior: E = "default", onGroupHeaderClicked: _, onCellContextMenu: S, className: k, onHeaderContextMenu: T, getCellsForSelection: D, onGroupHeaderContextMenu: j, onGroupHeaderRenamed: P, onCellEdited: G, onCellsEdited: Z, onSearchResultsChanged: te, searchResults: U, onSearchValueChange: Q, searchValue: L, onKeyDown: B, onKeyUp: K, keybindings: ee, editOnType: ae = !0, onRowAppended: re, onColumnAppended: se, onColumnMoved: he, validateCell: ge, highlightRegions: ne, rangeSelect: ce = "rect", columnSelect: oe = "multi", rowSelect: de = "multi", rangeSelectionBlending: pe = "exclusive", columnSelectionBlending: me = "exclusive", rowSelectionBlending: ye = "exclusive", onDelete: Ce, onDragStart: Se, onMouseMove: Pe, onPaste: Ae, copyHeaders: Ne = !1, freezeColumns: it = 0, cellActivationBehavior: at = "second-click", rowSelectionMode: ot = "auto", columnSelectionMode: ht = "auto", onHeaderMenuClick: Ze, onHeaderIndicatorClick: Fe, getGroupDetails: tt, rowGrouping: lt, onSearchClose: dt, onItemHovered: jt, onSelectionCleared: Vt, showSearch: yt, onVisibleRegionChanged: er, gridSelection: Ht, onGridSelectionChange: pt, minColumnWidth: cr = 50, maxColumnWidth: Zt = 500, maxColumnAutoWidth: bt, provideEditor: Wt, trailingRowOptions: St, freezeTrailingRows: wt = 0, allowedFillDirections: rr = "orthogonal", scrollOffsetX: Et, scrollOffsetY: kt, verticalBorder: be, onDragOverCell: ke, onDrop: Le, onColumnResize: st, onColumnResizeEnd: At, onColumnResizeStart: Ye, customRenderers: xt, fillHandle: ft, experimental: nt, fixedShadowX: Ft, fixedShadowY: Xt, headerIcons: Qt, imageWindowLoader: Dr, initialSize: fr, isDraggable: Vr, onDragLeave: qr, onRowMoved: Wr, overscrollX: fe, overscrollY: Te, preventDiagonalScrolling: He, rightElement: Je, rightElementProps: Ct, trapFocus: rt = !1, smoothScrollX: ct, smoothScrollY: dr, scaleToRem: tr = !1, rowHeight: nr = 34, headerHeight: Ot = 36, groupHeaderHeight: or = Ot, theme: Cr, isOutsideClick: hr, renderers: pr, resizeIndicator: un, scrollToActiveCell: fn = !0, drawFocusRing: Pn = !0, portalElementRef: ci } = t, $n = Pn === "no-editor" ? d === void 0 : Pn, Rr = typeof t.rowMarkers == "string" ? void 0 : t.rowMarkers, Nr = (Rr == null ? void 0 : Rr.kind) ?? t.rowMarkers ?? "none", vr = (Rr == null ? void 0 : Rr.width) ?? t.rowMarkerWidth, ir = (Rr == null ? void 0 : Rr.startIndex) ?? t.rowMarkerStartIndex ?? 1, zn = (Rr == null ? void 0 : Rr.theme) ?? t.rowMarkerTheme, yn = Rr == null ? void 0 : Rr.headerTheme, _i = Rr == null ? void 0 : Rr.headerAlwaysVisible, wn = de !== "multi" || (Rr == null ? void 0 : Rr.headerDisabled) === !0, mn = (Rr == null ? void 0 : Rr.checkboxStyle) ?? "square", Bn = Math.max(cr, 20), fi = Math.max(Zt, Bn), ua = Math.max(bt ?? fi, Bn), ni = Y.useMemo(() => typeof window > "u" ? { fontSize: "16px" } : window.getComputedStyle(document.documentElement), []), { rows: zt, rowNumberMapper: Ma, rowHeight: Si, getRowThemeOverride: dn } = II(lt, y, nr, h), Zi = Y.useMemo(() => Number.parseFloat(ni.fontSize), [ni]), { rowHeight: Ln, headerHeight: di, groupHeaderHeight: ii, theme: Ci, overscrollX: _o, overscrollY: ll } = DI({
|
|
50027
50040
|
groupHeaderHeight: or,
|
|
50028
50041
|
headerHeight: Ot,
|
|
50029
50042
|
overscrollX: fe,
|
|
@@ -50032,17 +50045,17 @@ const md = {
|
|
|
50032
50045
|
rowHeight: Si,
|
|
50033
50046
|
scaleToRem: tr,
|
|
50034
50047
|
theme: Cr
|
|
50035
|
-
}), ai =
|
|
50048
|
+
}), ai = NI(ee), Vn = vr ?? (y > 1e4 ? 48 : y > 1e3 ? 44 : y > 100 ? 36 : 32), Jn = Nr !== "none", ze = Jn ? 1 : 0, jr = St !== void 0, Pi = (St == null ? void 0 : St.sticky) === !0, [Ns, Ra] = Y.useState(!1), js = yt ?? Ns, ca = Y.useCallback(() => {
|
|
50036
50049
|
dt !== void 0 ? dt() : Ra(!1);
|
|
50037
50050
|
}, [dt]), Ue = Y.useMemo(() => Ht === void 0 ? void 0 : pd(Ht, ze), [Ht, ze]) ?? e, Re = Y.useRef();
|
|
50038
50051
|
Re.current === void 0 && (Re.current = new AbortController()), Y.useEffect(() => () => Re == null ? void 0 : Re.current.abort(), []);
|
|
50039
|
-
const [Ke, Mt] =
|
|
50052
|
+
const [Ke, Mt] = gI(D, C, ze, Re.current, zt), It = Y.useCallback((ie, we, ve) => {
|
|
50040
50053
|
if (ge === void 0)
|
|
50041
50054
|
return !0;
|
|
50042
50055
|
const Ee = [ie[0] - ze, ie[1]];
|
|
50043
50056
|
return ge == null ? void 0 : ge(Ee, we, ve);
|
|
50044
50057
|
}, [ze, ge]), mt = Y.useRef(Ht), vt = Y.useCallback((ie, we) => {
|
|
50045
|
-
we && (ie =
|
|
50058
|
+
we && (ie = SI(ie, Ke, ze, E, Re.current)), pt !== void 0 ? (mt.current = pd(ie, -ze), pt(mt.current)) : l(ie);
|
|
50046
50059
|
}, [pt, Ke, ze, E]), qt = lo(st, Y.useCallback((ie, we, ve, Ee) => {
|
|
50047
50060
|
st == null || st(w[ve - ze], we, ve - ze, Ee);
|
|
50048
50061
|
}, [st, ze, w])), mr = lo(At, Y.useCallback((ie, we, ve, Ee) => {
|
|
@@ -50055,7 +50068,7 @@ const md = {
|
|
|
50055
50068
|
return typeof we == "boolean" ? we : pd(we, ze);
|
|
50056
50069
|
}
|
|
50057
50070
|
return !0;
|
|
50058
|
-
}, [Ce, ze]), [ar, lr, sr] =
|
|
50071
|
+
}, [Ce, ze]), [ar, lr, sr] = mI(Ue, vt, pe, me, ye, ce, N), kr = Y.useMemo(() => Es(L_(), Ci), [Ci]), [hn, zi] = Y.useState([0, 0, 0]), ki = Y.useMemo(() => {
|
|
50059
50072
|
if (pr === void 0)
|
|
50060
50073
|
return {};
|
|
50061
50074
|
const ie = {};
|
|
@@ -50063,7 +50076,7 @@ const md = {
|
|
|
50063
50076
|
ie[we.kind] = we;
|
|
50064
50077
|
return ie;
|
|
50065
50078
|
}, [pr]), en = Y.useCallback((ie) => ie.kind !== _t.Custom ? ki[ie.kind] : xt == null ? void 0 : xt.find((we) => we.isMatch(ie)), [xt, ki]);
|
|
50066
|
-
let { sizedColumns: gn, nonGrowWidth: Br } =
|
|
50079
|
+
let { sizedColumns: gn, nonGrowWidth: Br } = bD(w, zt, Mt, hn[0] - (ze === 0 ? 0 : Vn) - hn[2], Bn, ua, kr, en, Re.current);
|
|
50067
50080
|
Nr !== "none" && (Br += Vn);
|
|
50068
50081
|
const Ei = Y.useMemo(() => gn.some((ie) => ie.group !== void 0), [gn]), Rn = Ei ? di + ii : di, Is = Ue.rows.length, fa = Nr === "none" ? void 0 : Is === 0 ? !1 : Is === zt ? !0 : void 0, gr = Y.useMemo(() => Nr === "none" ? gn : [
|
|
50069
50082
|
{
|
|
@@ -50095,7 +50108,7 @@ const md = {
|
|
|
50095
50108
|
width: 1,
|
|
50096
50109
|
x: 0,
|
|
50097
50110
|
y: 0
|
|
50098
|
-
}), Ka = Y.useRef(!1), { setVisibleRegion: Aa, visibleRegion: da, scrollRef: Xr } =
|
|
50111
|
+
}), Ka = Y.useRef(!1), { setVisibleRegion: Aa, visibleRegion: da, scrollRef: Xr } = BI(Et, kt, Ln, xn, () => Ka.current = !0);
|
|
50099
50112
|
xn.current = da;
|
|
50100
50113
|
const ph = da.x + ze, ul = da.y, An = Y.useRef(null), ei = Y.useCallback((ie) => {
|
|
50101
50114
|
var we;
|
|
@@ -50259,7 +50272,7 @@ const md = {
|
|
|
50259
50272
|
if (ve !== void 0)
|
|
50260
50273
|
switch ($e.kind) {
|
|
50261
50274
|
case _t.Number: {
|
|
50262
|
-
const Xe =
|
|
50275
|
+
const Xe = EA(() => ve === "-" ? -0 : Number.parseFloat(ve), 0);
|
|
50263
50276
|
$e = {
|
|
50264
50277
|
...$e,
|
|
50265
50278
|
data: Number.isNaN(Xe) ? 0 : Xe
|
|
@@ -50462,7 +50475,7 @@ const md = {
|
|
|
50462
50475
|
var je;
|
|
50463
50476
|
const [ve, Ee] = we;
|
|
50464
50477
|
return Es(kr, (je = gr[ve]) == null ? void 0 : je.themeOverride, dn == null ? void 0 : dn(Ee), ie.themeOverride);
|
|
50465
|
-
}, [dn, gr, kr]), { mapper: rs } =
|
|
50478
|
+
}, [dn, gr, kr]), { mapper: rs } = PI(lt, y), Li = lt == null ? void 0 : lt.navigationBehavior, Eo = Y.useCallback((ie) => {
|
|
50466
50479
|
var et, gt, Dt;
|
|
50467
50480
|
const we = Ld.value ? ie.metaKey : ie.ctrlKey, ve = we && de === "multi", [Ee, je] = ie.location, We = Ue.columns, Be = Ue.rows, [$e, Xe] = ((et = Ue.current) == null ? void 0 : et.cell) ?? [];
|
|
50468
50481
|
if (ie.kind === "cell") {
|
|
@@ -50931,7 +50944,7 @@ const md = {
|
|
|
50931
50944
|
if ($e < 0 && ($e = xn.current.y), i.fillHandle === !0 && ((Ee = i.previousSelection) == null ? void 0 : Ee.current) !== void 0) {
|
|
50932
50945
|
const Xe = i.previousSelection.current.range;
|
|
50933
50946
|
$e = Math.min($e, jr ? zt - 1 : zt);
|
|
50934
|
-
const et =
|
|
50947
|
+
const et = _N(Xe, Be, $e, rr);
|
|
50935
50948
|
cu(et);
|
|
50936
50949
|
} else {
|
|
50937
50950
|
if (jr && We === zt)
|
|
@@ -50984,7 +50997,7 @@ const md = {
|
|
|
50984
50997
|
location: [Ee, je]
|
|
50985
50998
|
});
|
|
50986
50999
|
}, [gr.length, pi, zt]);
|
|
50987
|
-
|
|
51000
|
+
OI(Ls, Xr, ml);
|
|
50988
51001
|
const bn = Y.useCallback((ie) => {
|
|
50989
51002
|
if (Ue.current === void 0)
|
|
50990
51003
|
return;
|
|
@@ -51026,7 +51039,7 @@ const md = {
|
|
|
51026
51039
|
width: $e - Be - ze,
|
|
51027
51040
|
height: et - Xe
|
|
51028
51041
|
}, Re.current.signal);
|
|
51029
|
-
typeof Tt == "object" && (Kt =
|
|
51042
|
+
typeof Tt == "object" && (Kt = HI(Tt));
|
|
51030
51043
|
}
|
|
51031
51044
|
if (we === 1) {
|
|
51032
51045
|
let Tt = !1;
|
|
@@ -51144,7 +51157,7 @@ const md = {
|
|
|
51144
51157
|
re,
|
|
51145
51158
|
se,
|
|
51146
51159
|
Oa
|
|
51147
|
-
]), bl = Y.useMemo(() => `gdg-overlay-${
|
|
51160
|
+
]), bl = Y.useMemo(() => `gdg-overlay-${FI++}`, []), ma = Y.useCallback((ie) => {
|
|
51148
51161
|
var ve, Ee, je, We;
|
|
51149
51162
|
ei();
|
|
51150
51163
|
const we = [];
|
|
@@ -51332,7 +51345,7 @@ const md = {
|
|
|
51332
51345
|
S == null || S([ve, je], {
|
|
51333
51346
|
...ie,
|
|
51334
51347
|
preventDefault: we
|
|
51335
|
-
}),
|
|
51348
|
+
}), rD(Ue, ie.location) || Ji(Ee, je, !1, !1);
|
|
51336
51349
|
}
|
|
51337
51350
|
}, [
|
|
51338
51351
|
Ue,
|
|
@@ -51420,7 +51433,7 @@ const md = {
|
|
|
51420
51433
|
if (et === void 0) {
|
|
51421
51434
|
if (gt === void 0)
|
|
51422
51435
|
return;
|
|
51423
|
-
et =
|
|
51436
|
+
et = CI(gt);
|
|
51424
51437
|
}
|
|
51425
51438
|
if (Ae === !1 || typeof Ae == "function" && (Ae == null ? void 0 : Ae([We[0] - ze, We[1]], et.map(($t) => $t.map((Pt) => {
|
|
51426
51439
|
var Er;
|
|
@@ -51565,7 +51578,7 @@ const md = {
|
|
|
51565
51578
|
if (fl === void 0 || o.current === null)
|
|
51566
51579
|
return null;
|
|
51567
51580
|
const { bounds: ie, group: we } = fl, ve = o.current.getBoundingClientRect();
|
|
51568
|
-
return Y.createElement(
|
|
51581
|
+
return Y.createElement(hI, { bounds: ie, group: we, canvasBounds: ve, onClose: () => dl(void 0), onFinish: (Ee) => {
|
|
51569
51582
|
dl(void 0), P == null || P(we, Ee);
|
|
51570
51583
|
} });
|
|
51571
51584
|
}, [P, fl]), Ti = Math.min(gr.length, it + (Jn ? 1 : 0));
|
|
@@ -51732,23 +51745,23 @@ const md = {
|
|
|
51732
51745
|
F_.Provider,
|
|
51733
51746
|
{ value: kr },
|
|
51734
51747
|
Y.createElement(
|
|
51735
|
-
|
|
51748
|
+
MI,
|
|
51736
51749
|
{ style: tf, className: k, inWidth: v ?? ra, inHeight: b ?? ba },
|
|
51737
|
-
Y.createElement(
|
|
51750
|
+
Y.createElement(cI, { fillHandle: ft, drawFocusRing: $n, experimental: nt, fixedShadowX: Ft, fixedShadowY: Xt, getRowThemeOverride: dn, headerIcons: Qt, imageWindowLoader: Dr, initialSize: fr, isDraggable: Vr, onDragLeave: qr, onRowMoved: Wr, overscrollX: _o, overscrollY: ll, preventDiagonalScrolling: He, rightElement: Je, rightElementProps: Ct, smoothScrollX: ct, smoothScrollY: dr, className: k, enableGroups: Ei, onCanvasFocused: Ia, onCanvasBlur: ta, canvasRef: o, onContextMenu: Hs, theme: kr, cellXOffset: ph, cellYOffset: ul, accessibilityHeight: da.height, onDragEnd: gh, columns: gr, nonGrowWidth: Br, drawHeader: Sn, onColumnProposeMove: Zc, drawCell: Ut, disabledRows: Jc, freezeColumns: Ti, lockColumns: ze, firstColAccessible: ze === 0, getCellContent: hi, minColumnWidth: Bn, maxColumnWidth: fi, searchInputRef: a, showSearch: js, onSearchClose: ca, highlightRegions: Xc, getCellsForSelection: Ke, getGroupDetails: fu, headerHeight: di, isFocused: Do, groupHeaderHeight: Ei ? ii : 0, freezeTrailingRows: wt + (jr && (St == null ? void 0 : St.sticky) === !0 ? 1 : 0), hasAppendRow: jr, onColumnResize: qt, onColumnResizeEnd: mr, onColumnResizeStart: Bt, onCellFocused: yl, onColumnMoved: Qc, onDragStart: mh, onHeaderMenuClick: bu, onHeaderIndicatorClick: Gc, onItemHovered: pi, isFilling: (i == null ? void 0 : i.fillHandle) === !0, onMouseMove: Fs, onKeyDown: ja, onKeyUp: K, onMouseDown: Yc, onMouseUp: is, onDragOverCell: ke, onDrop: Le, onSearchResultsChanged: ga, onVisibleRegionChanged: Kc, clientSize: hn, rowHeight: Ln, searchResults: U, searchValue: L, onSearchValueChange: Q, rows: Wn, scrollRef: Xr, selection: Ue, translateX: da.tx, translateY: da.ty, verticalBorder: Su, gridRef: An, getCellRenderer: en, resizeIndicator: un }),
|
|
51738
51751
|
ef,
|
|
51739
51752
|
d !== void 0 && Y.createElement(
|
|
51740
51753
|
Y.Suspense,
|
|
51741
51754
|
{ fallback: null },
|
|
51742
|
-
Y.createElement(
|
|
51755
|
+
Y.createElement(LI, { ...d, validateCell: It, bloom: W, id: bl, getCellRenderer: en, className: (nt == null ? void 0 : nt.isSubGrid) === !0 ? "click-outside-ignore" : void 0, provideEditor: Wt, imageEditorOverride: f, portalElementRef: ci, onFinishEditing: gl, markdownDivCreateNode: g, isOutsideClick: hr, customEventTarget: nt == null ? void 0 : nt.eventTarget })
|
|
51743
51756
|
)
|
|
51744
51757
|
)
|
|
51745
51758
|
);
|
|
51746
|
-
},
|
|
51759
|
+
}, qI = Y.forwardRef(UI);
|
|
51747
51760
|
function Px(t) {
|
|
51748
51761
|
const { cell: c, posX: e, posY: l, bounds: d, theme: s } = t, { width: a, height: o, x: i, y: r } = d, u = c.maxSize ?? s.checkboxMaxSize, m = Math.floor(d.y + o / 2), f = p_(u, o, s.cellVerticalPadding), h = h_(c.contentAlign ?? "center", i, a, s.cellHorizontalPadding, f), g = d_(h, m, f), v = m_(i + e, r + l, g);
|
|
51749
51762
|
return Ab(c) && v;
|
|
51750
51763
|
}
|
|
51751
|
-
const
|
|
51764
|
+
const $I = {
|
|
51752
51765
|
getAccessibilityString: (t) => {
|
|
51753
51766
|
var c;
|
|
51754
51767
|
return ((c = t.data) == null ? void 0 : c.toString()) ?? "false";
|
|
@@ -51758,7 +51771,7 @@ const qI = {
|
|
|
51758
51771
|
useLabel: !1,
|
|
51759
51772
|
needsHoverPosition: !0,
|
|
51760
51773
|
measure: () => 50,
|
|
51761
|
-
draw: (t) =>
|
|
51774
|
+
draw: (t) => VI(t, t.cell.data, Ab(t.cell), t.cell.maxSize ?? t.theme.checkboxMaxSize, t.cell.hoverEffectIntensity ?? 0.35),
|
|
51762
51775
|
onDelete: (t) => ({
|
|
51763
51776
|
...t,
|
|
51764
51777
|
data: !1
|
|
@@ -51781,7 +51794,7 @@ const qI = {
|
|
|
51781
51794
|
};
|
|
51782
51795
|
}
|
|
51783
51796
|
};
|
|
51784
|
-
function
|
|
51797
|
+
function VI(t, c, e, l, d) {
|
|
51785
51798
|
if (!e && c === Dd)
|
|
51786
51799
|
return;
|
|
51787
51800
|
const { ctx: s, hoverAmount: a, theme: o, rect: i, highlighted: r, hoverX: u, hoverY: m, cell: { contentAlign: f } } = t, { x: h, y: g, width: v, height: b } = i;
|
|
@@ -51794,19 +51807,19 @@ function $I(t, c, e, l, d) {
|
|
|
51794
51807
|
}
|
|
51795
51808
|
Gb(s, o, c, h, g, v, b, r, u, m, l, f), w && (s.globalAlpha = 1);
|
|
51796
51809
|
}
|
|
51797
|
-
const
|
|
51810
|
+
const WI = /* @__PURE__ */ xi("div")({
|
|
51798
51811
|
name: "BubblesOverlayEditorStyle",
|
|
51799
51812
|
class: "gdg-b1ygi5by",
|
|
51800
51813
|
propsAsIs: !1
|
|
51801
|
-
}),
|
|
51814
|
+
}), XI = (t) => {
|
|
51802
51815
|
const { bubbles: c } = t;
|
|
51803
51816
|
return Y.createElement(
|
|
51804
|
-
|
|
51817
|
+
WI,
|
|
51805
51818
|
null,
|
|
51806
51819
|
c.map((e, l) => Y.createElement("div", { key: l, className: "boe-bubble" }, e)),
|
|
51807
51820
|
Y.createElement("textarea", { className: "gdg-input", autoFocus: !0 })
|
|
51808
51821
|
);
|
|
51809
|
-
},
|
|
51822
|
+
}, YI = {
|
|
51810
51823
|
getAccessibilityString: (t) => g_(t.data),
|
|
51811
51824
|
kind: _t.Bubble,
|
|
51812
51825
|
needsHover: !1,
|
|
@@ -51816,15 +51829,15 @@ const VI = /* @__PURE__ */ xi("div")({
|
|
|
51816
51829
|
const l = c.data.reduce((d, s) => t.measureText(s).width + d + e.bubblePadding * 2 + e.bubbleMargin, 0);
|
|
51817
51830
|
return c.data.length === 0 ? e.cellHorizontalPadding * 2 : l + 2 * e.cellHorizontalPadding - e.bubbleMargin;
|
|
51818
51831
|
},
|
|
51819
|
-
draw: (t) =>
|
|
51832
|
+
draw: (t) => GI(t, t.cell.data),
|
|
51820
51833
|
provideEditor: () => (t) => {
|
|
51821
51834
|
const { value: c } = t;
|
|
51822
|
-
return Y.createElement(
|
|
51835
|
+
return Y.createElement(XI, { bubbles: c.data });
|
|
51823
51836
|
},
|
|
51824
51837
|
onPaste: () => {
|
|
51825
51838
|
}
|
|
51826
51839
|
};
|
|
51827
|
-
function
|
|
51840
|
+
function GI(t, c) {
|
|
51828
51841
|
const { rect: e, theme: l, ctx: d, highlighted: s } = t, { x: a, y: o, width: i, height: r } = e;
|
|
51829
51842
|
let u = a + l.cellHorizontalPadding;
|
|
51830
51843
|
const m = [];
|
|
@@ -51844,36 +51857,36 @@ function YI(t, c) {
|
|
|
51844
51857
|
for (const [f, h] of m.entries())
|
|
51845
51858
|
d.beginPath(), d.fillStyle = l.textBubble, d.fillText(c[f], h.x + l.bubblePadding, o + r / 2 + wo(d, l));
|
|
51846
51859
|
}
|
|
51847
|
-
const
|
|
51860
|
+
const KI = /* @__PURE__ */ xi("div")({
|
|
51848
51861
|
name: "DrilldownOverlayEditorStyle",
|
|
51849
51862
|
class: "gdg-d4zsq0x",
|
|
51850
51863
|
propsAsIs: !1
|
|
51851
|
-
}),
|
|
51864
|
+
}), ZI = (t) => {
|
|
51852
51865
|
const {
|
|
51853
51866
|
drilldowns: c
|
|
51854
51867
|
} = t;
|
|
51855
|
-
return Y.createElement(
|
|
51868
|
+
return Y.createElement(KI, null, c.map((e, l) => Y.createElement("div", {
|
|
51856
51869
|
key: l,
|
|
51857
51870
|
className: "doe-bubble"
|
|
51858
51871
|
}, e.img !== void 0 && Y.createElement("img", {
|
|
51859
51872
|
src: e.img
|
|
51860
51873
|
}), Y.createElement("div", null, e.text))));
|
|
51861
|
-
},
|
|
51874
|
+
}, QI = {
|
|
51862
51875
|
getAccessibilityString: (t) => g_(t.data.map((c) => c.text)),
|
|
51863
51876
|
kind: _t.Drilldown,
|
|
51864
51877
|
needsHover: !1,
|
|
51865
51878
|
useLabel: !1,
|
|
51866
51879
|
needsHoverPosition: !1,
|
|
51867
51880
|
measure: (t, c, e) => c.data.reduce((l, d) => t.measureText(d.text).width + l + e.bubblePadding * 2 + e.bubbleMargin + (d.img !== void 0 ? 18 : 0), 0) + 2 * e.cellHorizontalPadding - 4,
|
|
51868
|
-
draw: (t) =>
|
|
51881
|
+
draw: (t) => eP(t, t.cell.data),
|
|
51869
51882
|
provideEditor: () => (t) => {
|
|
51870
51883
|
const { value: c } = t;
|
|
51871
|
-
return Y.createElement(
|
|
51884
|
+
return Y.createElement(ZI, { drilldowns: c.data });
|
|
51872
51885
|
},
|
|
51873
51886
|
onPaste: () => {
|
|
51874
51887
|
}
|
|
51875
51888
|
}, ug = {};
|
|
51876
|
-
function
|
|
51889
|
+
function JI(t, c, e, l) {
|
|
51877
51890
|
const d = Math.ceil(window.devicePixelRatio), s = 5, a = e - s * 2, o = 4, i = e * d, r = l + s, u = l * 3, m = (u + s * 2) * d, f = `${t},${c},${d},${e}`;
|
|
51878
51891
|
if (ug[f] !== void 0)
|
|
51879
51892
|
return {
|
|
@@ -51896,10 +51909,10 @@ function QI(t, c, e, l) {
|
|
|
51896
51909
|
dpr: d
|
|
51897
51910
|
});
|
|
51898
51911
|
}
|
|
51899
|
-
function
|
|
51912
|
+
function eP(t, c) {
|
|
51900
51913
|
const { rect: e, theme: l, ctx: d, imageLoader: s, col: a, row: o } = t, { x: i, width: r } = e, u = l.baseFontFull, m = j_(d, u), f = Math.min(e.height, Math.max(16, Math.ceil(m * l.lineHeight) * 2)), h = Math.floor(e.y + (e.height - f) / 2), g = f - 10, v = l.bubblePadding, b = l.bubbleMargin;
|
|
51901
51914
|
let w = i + l.cellHorizontalPadding;
|
|
51902
|
-
const y = l.roundingRadius ?? 6, C =
|
|
51915
|
+
const y = l.roundingRadius ?? 6, C = JI(l.bgCell, l.drilldownBorder, f, y), M = [];
|
|
51903
51916
|
for (const O of c) {
|
|
51904
51917
|
if (w > i + r)
|
|
51905
51918
|
break;
|
|
@@ -51934,20 +51947,20 @@ function JI(t, c) {
|
|
|
51934
51947
|
d.beginPath(), d.fillStyle = l.textBubble, d.fillText($.text, z, h + f / 2 + wo(d, l));
|
|
51935
51948
|
}
|
|
51936
51949
|
}
|
|
51937
|
-
const
|
|
51950
|
+
const tP = {
|
|
51938
51951
|
getAccessibilityString: (t) => t.data.join(", "),
|
|
51939
51952
|
kind: _t.Image,
|
|
51940
51953
|
needsHover: !1,
|
|
51941
51954
|
useLabel: !1,
|
|
51942
51955
|
needsHoverPosition: !1,
|
|
51943
|
-
draw: (t) =>
|
|
51956
|
+
draw: (t) => rP(t, t.cell.displayData ?? t.cell.data, t.cell.rounding ?? t.theme.roundingRadius ?? 4, t.cell.contentAlign),
|
|
51944
51957
|
measure: (t, c) => c.data.length * 50,
|
|
51945
51958
|
onDelete: (t) => ({
|
|
51946
51959
|
...t,
|
|
51947
51960
|
data: []
|
|
51948
51961
|
}),
|
|
51949
51962
|
provideEditor: () => (t) => {
|
|
51950
|
-
const { value: c, onFinishedEditing: e, imageEditorOverride: l } = t, d = l ??
|
|
51963
|
+
const { value: c, onFinishedEditing: e, imageEditorOverride: l } = t, d = l ?? sO;
|
|
51951
51964
|
return Y.createElement(d, { urls: c.data, canWrite: c.readonly !== !0, onCancel: e, onChange: (s) => {
|
|
51952
51965
|
e({
|
|
51953
51966
|
...c,
|
|
@@ -51971,7 +51984,7 @@ const eP = {
|
|
|
51971
51984
|
};
|
|
51972
51985
|
}
|
|
51973
51986
|
}, cg = 4;
|
|
51974
|
-
function
|
|
51987
|
+
function rP(t, c, e, l) {
|
|
51975
51988
|
const { rect: d, col: s, row: a, theme: o, ctx: i, imageLoader: r } = t, { x: u, y: m, height: f, width: h } = d, g = f - o.cellVerticalPadding * 2, v = [];
|
|
51976
51989
|
let b = 0;
|
|
51977
51990
|
for (let y = 0; y < c.length; y++) {
|
|
@@ -51997,11 +52010,11 @@ function tP(t, c, e, l) {
|
|
|
51997
52010
|
e > 0 && (i.beginPath(), Ua(i, w, m + o.cellVerticalPadding, C, g, e), i.save(), i.clip()), i.drawImage(y, w, m + o.cellVerticalPadding, C, g), e > 0 && i.restore(), w += C + cg;
|
|
51998
52011
|
}
|
|
51999
52012
|
}
|
|
52000
|
-
function
|
|
52013
|
+
function nP(t, c) {
|
|
52001
52014
|
let e = t * 49632 + c * 325176;
|
|
52002
52015
|
return e ^= e << 13, e ^= e >> 17, e ^= e << 5, e / 4294967295 * 2;
|
|
52003
52016
|
}
|
|
52004
|
-
const
|
|
52017
|
+
const iP = {
|
|
52005
52018
|
getAccessibilityString: () => "",
|
|
52006
52019
|
kind: _t.Loading,
|
|
52007
52020
|
needsHover: !1,
|
|
@@ -52013,7 +52026,7 @@ const nP = {
|
|
|
52013
52026
|
if (c.skeletonWidth === void 0 || c.skeletonWidth === 0)
|
|
52014
52027
|
return;
|
|
52015
52028
|
let o = c.skeletonWidth;
|
|
52016
|
-
c.skeletonWidthVariability !== void 0 && c.skeletonWidthVariability > 0 && (o += Math.round(
|
|
52029
|
+
c.skeletonWidthVariability !== void 0 && c.skeletonWidthVariability > 0 && (o += Math.round(nP(e, l) * c.skeletonWidthVariability));
|
|
52017
52030
|
const i = a.cellHorizontalPadding;
|
|
52018
52031
|
o + i * 2 >= s.width && (o = s.width - i * 2 - 1);
|
|
52019
52032
|
const r = c.skeletonHeight ?? Math.min(18, s.height - 2 * a.cellVerticalPadding);
|
|
@@ -52021,14 +52034,14 @@ const nP = {
|
|
|
52021
52034
|
},
|
|
52022
52035
|
onPaste: () => {
|
|
52023
52036
|
}
|
|
52024
|
-
},
|
|
52037
|
+
}, aP = () => (t) => t.targetWidth, zx = /* @__PURE__ */ xi("div")({
|
|
52025
52038
|
name: "MarkdownOverlayEditorStyle",
|
|
52026
52039
|
class: "gdg-m1pnx84e",
|
|
52027
52040
|
propsAsIs: !1,
|
|
52028
52041
|
vars: {
|
|
52029
|
-
"m1pnx84e-0": [
|
|
52042
|
+
"m1pnx84e-0": [aP(), "px"]
|
|
52030
52043
|
}
|
|
52031
|
-
}),
|
|
52044
|
+
}), sP = (t) => {
|
|
52032
52045
|
const { value: c, onChange: e, forceEditMode: l, createNode: d, targetRect: s, onFinish: a, validatedSelection: o } = t, i = c.data, r = c.readonly === !0, [u, m] = Y.useState(i === "" || l), f = Y.useCallback(() => {
|
|
52033
52046
|
m((g) => !g);
|
|
52034
52047
|
}, []), h = i ? "gdg-ml-6" : "";
|
|
@@ -52041,12 +52054,12 @@ const nP = {
|
|
|
52041
52054
|
Y.createElement(
|
|
52042
52055
|
"div",
|
|
52043
52056
|
{ className: `gdg-edit-icon gdg-checkmark-hover ${h}`, onClick: () => a(c) },
|
|
52044
|
-
Y.createElement(
|
|
52057
|
+
Y.createElement(JA, null)
|
|
52045
52058
|
)
|
|
52046
52059
|
) : Y.createElement(
|
|
52047
52060
|
zx,
|
|
52048
52061
|
{ targetWidth: s.width },
|
|
52049
|
-
Y.createElement(
|
|
52062
|
+
Y.createElement(VO, { contents: i, createNode: d }),
|
|
52050
52063
|
!r && Y.createElement(
|
|
52051
52064
|
Y.Fragment,
|
|
52052
52065
|
null,
|
|
@@ -52059,7 +52072,7 @@ const nP = {
|
|
|
52059
52072
|
),
|
|
52060
52073
|
Y.createElement("textarea", { className: "gdg-md-edit-textarea gdg-input", autoFocus: !0 })
|
|
52061
52074
|
);
|
|
52062
|
-
},
|
|
52075
|
+
}, oP = {
|
|
52063
52076
|
getAccessibilityString: (t) => {
|
|
52064
52077
|
var c;
|
|
52065
52078
|
return ((c = t.data) == null ? void 0 : c.toString()) ?? "";
|
|
@@ -52080,20 +52093,20 @@ const nP = {
|
|
|
52080
52093
|
}),
|
|
52081
52094
|
provideEditor: () => (t) => {
|
|
52082
52095
|
const { onChange: c, value: e, target: l, onFinishedEditing: d, markdownDivCreateNode: s, forceEditMode: a, validatedSelection: o } = t;
|
|
52083
|
-
return Y.createElement(
|
|
52096
|
+
return Y.createElement(sP, { onFinish: d, targetRect: l, value: e, validatedSelection: o, onChange: (i) => c({
|
|
52084
52097
|
...e,
|
|
52085
52098
|
data: i.target.value
|
|
52086
52099
|
}), forceEditMode: a, createNode: s });
|
|
52087
52100
|
},
|
|
52088
52101
|
onPaste: (t, c) => t === c.data ? void 0 : { ...c, data: t }
|
|
52089
|
-
},
|
|
52102
|
+
}, lP = {
|
|
52090
52103
|
getAccessibilityString: (t) => t.row.toString(),
|
|
52091
52104
|
kind: la.Marker,
|
|
52092
52105
|
needsHover: !0,
|
|
52093
52106
|
needsHoverPosition: !1,
|
|
52094
|
-
drawPrep:
|
|
52107
|
+
drawPrep: uP,
|
|
52095
52108
|
measure: () => 44,
|
|
52096
|
-
draw: (t) =>
|
|
52109
|
+
draw: (t) => fP(t, t.cell.row, t.cell.checked, t.cell.markerKind, t.cell.drawHandle, t.cell.checkboxStyle),
|
|
52097
52110
|
onClick: (t) => {
|
|
52098
52111
|
const { bounds: c, cell: e, posX: l, posY: d } = t, { width: s, height: a } = c, o = e.drawHandle ? 7 + (s - 7) / 2 : s / 2, i = a / 2;
|
|
52099
52112
|
if (Math.abs(l - o) <= 10 && Math.abs(d - i) <= 10)
|
|
@@ -52105,15 +52118,15 @@ const nP = {
|
|
|
52105
52118
|
onPaste: () => {
|
|
52106
52119
|
}
|
|
52107
52120
|
};
|
|
52108
|
-
function
|
|
52121
|
+
function uP(t, c) {
|
|
52109
52122
|
const { ctx: e, theme: l } = t, d = l.markerFontFull, s = c ?? {};
|
|
52110
|
-
return (s == null ? void 0 : s.font) !== d && (e.font = d, s.font = d), s.deprep =
|
|
52123
|
+
return (s == null ? void 0 : s.font) !== d && (e.font = d, s.font = d), s.deprep = cP, e.textAlign = "center", s;
|
|
52111
52124
|
}
|
|
52112
|
-
function
|
|
52125
|
+
function cP(t) {
|
|
52113
52126
|
const { ctx: c } = t;
|
|
52114
52127
|
c.textAlign = "start";
|
|
52115
52128
|
}
|
|
52116
|
-
function
|
|
52129
|
+
function fP(t, c, e, l, d, s) {
|
|
52117
52130
|
const { ctx: a, rect: o, hoverAmount: i, theme: r } = t, { x: u, y: m, width: f, height: h } = o, g = e ? 1 : l === "checkbox-visible" ? 0.6 + 0.4 * i : i;
|
|
52118
52131
|
if (l !== "number" && g > 0) {
|
|
52119
52132
|
a.globalAlpha = g;
|
|
@@ -52132,17 +52145,17 @@ function cP(t, c, e, l, d, s) {
|
|
|
52132
52145
|
l === "both" && i !== 0 && (a.globalAlpha = 1 - i), a.fillStyle = r.textLight, a.font = b, a.fillText(v, w, m + h / 2 + wo(a, b)), i !== 0 && (a.globalAlpha = 1);
|
|
52133
52146
|
}
|
|
52134
52147
|
}
|
|
52135
|
-
const
|
|
52148
|
+
const dP = {
|
|
52136
52149
|
getAccessibilityString: () => "",
|
|
52137
52150
|
kind: la.NewRow,
|
|
52138
52151
|
needsHover: !0,
|
|
52139
52152
|
needsHoverPosition: !1,
|
|
52140
52153
|
measure: () => 200,
|
|
52141
|
-
draw: (t) =>
|
|
52154
|
+
draw: (t) => hP(t, t.cell.hint, t.cell.icon),
|
|
52142
52155
|
onPaste: () => {
|
|
52143
52156
|
}
|
|
52144
52157
|
};
|
|
52145
|
-
function
|
|
52158
|
+
function hP(t, c, e) {
|
|
52146
52159
|
const { ctx: l, rect: d, hoverAmount: s, theme: a, spriteManager: o } = t, { x: i, y: r, width: u, height: m } = d;
|
|
52147
52160
|
l.beginPath(), l.globalAlpha = s, l.rect(i + 1, r + 1, u, m - 2), l.fillStyle = a.bgHeaderHovered, l.fill(), l.globalAlpha = 1, l.beginPath();
|
|
52148
52161
|
const f = c !== "";
|
|
@@ -52159,10 +52172,10 @@ function dP(t, c, e) {
|
|
|
52159
52172
|
}
|
|
52160
52173
|
function gS(t, c, e, l, d, s, a) {
|
|
52161
52174
|
t.textBaseline = "alphabetic";
|
|
52162
|
-
const o =
|
|
52175
|
+
const o = pP(t, d, l, c, (e == null ? void 0 : e.fullSize) ?? !1);
|
|
52163
52176
|
t.beginPath(), Ua(t, o.x, o.y, o.width, o.height, c.roundingRadius ?? 4), t.globalAlpha = s, t.fillStyle = (e == null ? void 0 : e.bgColor) ?? el(c.textDark, 0.1), t.fill(), t.globalAlpha = 1, t.fillStyle = c.textDark, t.textBaseline = "middle", a == null || a("text");
|
|
52164
52177
|
}
|
|
52165
|
-
function
|
|
52178
|
+
function pP(t, c, e, l, d) {
|
|
52166
52179
|
const s = l.cellHorizontalPadding, a = l.cellVerticalPadding;
|
|
52167
52180
|
if (d)
|
|
52168
52181
|
return {
|
|
@@ -52179,7 +52192,7 @@ function hP(t, c, e, l, d) {
|
|
|
52179
52192
|
height: r - 1
|
|
52180
52193
|
};
|
|
52181
52194
|
}
|
|
52182
|
-
const
|
|
52195
|
+
const mP = Y.lazy(async () => await Promise.resolve().then(() => Bz)), gP = {
|
|
52183
52196
|
getAccessibilityString: (t) => {
|
|
52184
52197
|
var c;
|
|
52185
52198
|
return ((c = t.data) == null ? void 0 : c.toString()) ?? "";
|
|
@@ -52203,7 +52216,7 @@ const pP = Y.lazy(async () => await Promise.resolve().then(() => zz)), mP = {
|
|
|
52203
52216
|
return Y.createElement(
|
|
52204
52217
|
Y.Suspense,
|
|
52205
52218
|
{ fallback: null },
|
|
52206
|
-
Y.createElement(
|
|
52219
|
+
Y.createElement(mP, { highlight: c, disabled: l.readonly === !0, value: l.data, fixedDecimals: l.fixedDecimals, allowNegative: l.allowNegative, thousandSeparator: l.thousandSeparator, decimalSeparator: l.decimalSeparator, validatedSelection: d, onChange: (s) => e({
|
|
52207
52220
|
...l,
|
|
52208
52221
|
data: Number.isNaN(s.floatValue ?? 0) ? 0 : s.floatValue
|
|
52209
52222
|
}) })
|
|
@@ -52214,17 +52227,17 @@ const pP = Y.lazy(async () => await Promise.resolve().then(() => zz)), mP = {
|
|
|
52214
52227
|
if (!(Number.isNaN(l) || c.data === l))
|
|
52215
52228
|
return { ...c, data: l, displayData: e.formattedString ?? c.displayData };
|
|
52216
52229
|
}
|
|
52217
|
-
},
|
|
52230
|
+
}, bP = {
|
|
52218
52231
|
getAccessibilityString: () => "",
|
|
52219
52232
|
measure: () => 108,
|
|
52220
52233
|
kind: _t.Protected,
|
|
52221
52234
|
needsHover: !1,
|
|
52222
52235
|
needsHoverPosition: !1,
|
|
52223
|
-
draw:
|
|
52236
|
+
draw: vP,
|
|
52224
52237
|
onPaste: () => {
|
|
52225
52238
|
}
|
|
52226
52239
|
};
|
|
52227
|
-
function
|
|
52240
|
+
function vP(t) {
|
|
52228
52241
|
const { ctx: c, theme: e, rect: l } = t, { x: d, y: s, height: a } = l;
|
|
52229
52242
|
c.beginPath();
|
|
52230
52243
|
const o = 2.5;
|
|
@@ -52234,7 +52247,7 @@ function bP(t) {
|
|
|
52234
52247
|
c.moveTo(i, r - o), c.lineTo(i, r + o), c.moveTo(i + u, r - m), c.lineTo(i - u, r + m), c.moveTo(i - u, r - m), c.lineTo(i + u, r + m), i += 8;
|
|
52235
52248
|
c.lineWidth = 1.1, c.lineCap = "square", c.strokeStyle = e.textLight, c.stroke();
|
|
52236
52249
|
}
|
|
52237
|
-
const
|
|
52250
|
+
const yP = {
|
|
52238
52251
|
getAccessibilityString: (t) => {
|
|
52239
52252
|
var c;
|
|
52240
52253
|
return ((c = t.data) == null ? void 0 : c.toString()) ?? "";
|
|
@@ -52255,7 +52268,7 @@ const vP = {
|
|
|
52255
52268
|
},
|
|
52256
52269
|
onPaste: () => {
|
|
52257
52270
|
}
|
|
52258
|
-
},
|
|
52271
|
+
}, wP = {
|
|
52259
52272
|
getAccessibilityString: (t) => {
|
|
52260
52273
|
var c;
|
|
52261
52274
|
return ((c = t.data) == null ? void 0 : c.toString()) ?? "";
|
|
@@ -52292,16 +52305,16 @@ const vP = {
|
|
|
52292
52305
|
}
|
|
52293
52306
|
}),
|
|
52294
52307
|
onPaste: (t, c, e) => t === c.data ? void 0 : { ...c, data: t, displayData: e.formattedString ?? c.displayData }
|
|
52295
|
-
},
|
|
52308
|
+
}, xP = /* @__PURE__ */ xi("div")({
|
|
52296
52309
|
name: "UriOverlayEditorStyle",
|
|
52297
52310
|
class: "gdg-u1rrojo",
|
|
52298
52311
|
propsAsIs: !1
|
|
52299
|
-
}),
|
|
52312
|
+
}), _P = (t) => {
|
|
52300
52313
|
const { uri: c, onChange: e, forceEditMode: l, readonly: d, validatedSelection: s, preview: a } = t, [o, i] = Y.useState(!d && (c === "" || l)), r = Y.useCallback(() => {
|
|
52301
52314
|
i(!0);
|
|
52302
52315
|
}, []);
|
|
52303
52316
|
return o ? Y.createElement(fh, { validatedSelection: s, highlight: !0, autoFocus: !0, value: c, onChange: e }) : Y.createElement(
|
|
52304
|
-
|
|
52317
|
+
xP,
|
|
52305
52318
|
null,
|
|
52306
52319
|
Y.createElement("a", { className: "gdg-link-area", href: c, target: "_blank", rel: "noopener noreferrer" }, a),
|
|
52307
52320
|
!d && Y.createElement(
|
|
@@ -52332,7 +52345,7 @@ function Bx(t) {
|
|
|
52332
52345
|
height: i.height + 8
|
|
52333
52346
|
}, l, d);
|
|
52334
52347
|
}
|
|
52335
|
-
const
|
|
52348
|
+
const SP = {
|
|
52336
52349
|
getAccessibilityString: (t) => {
|
|
52337
52350
|
var c;
|
|
52338
52351
|
return ((c = t.data) == null ? void 0 : c.toString()) ?? "";
|
|
@@ -52370,29 +52383,29 @@ const _P = {
|
|
|
52370
52383
|
}),
|
|
52371
52384
|
provideEditor: (t) => (c) => {
|
|
52372
52385
|
const { onChange: e, value: l, forceEditMode: d, validatedSelection: s } = c;
|
|
52373
|
-
return Y.createElement(
|
|
52386
|
+
return Y.createElement(_P, { forceEditMode: l.readonly !== !0 && (d || t.hoverEffect === !0 && t.onClickUri !== void 0), uri: l.data, preview: l.displayData ?? l.data, validatedSelection: s, readonly: l.readonly === !0, onChange: (a) => e({
|
|
52374
52387
|
...l,
|
|
52375
52388
|
data: a.target.value
|
|
52376
52389
|
}) });
|
|
52377
52390
|
},
|
|
52378
52391
|
onPaste: (t, c, e) => t === c.data ? void 0 : { ...c, data: t, displayData: e.formattedString ?? c.displayData }
|
|
52379
|
-
},
|
|
52392
|
+
}, CP = [
|
|
52393
|
+
lP,
|
|
52394
|
+
dP,
|
|
52395
|
+
$I,
|
|
52396
|
+
YI,
|
|
52397
|
+
QI,
|
|
52398
|
+
tP,
|
|
52399
|
+
iP,
|
|
52380
52400
|
oP,
|
|
52381
|
-
fP,
|
|
52382
|
-
qI,
|
|
52383
|
-
XI,
|
|
52384
|
-
ZI,
|
|
52385
|
-
eP,
|
|
52386
|
-
nP,
|
|
52387
|
-
sP,
|
|
52388
|
-
mP,
|
|
52389
52401
|
gP,
|
|
52390
|
-
|
|
52402
|
+
bP,
|
|
52391
52403
|
yP,
|
|
52392
|
-
|
|
52404
|
+
wP,
|
|
52405
|
+
SP
|
|
52393
52406
|
];
|
|
52394
52407
|
var fg, Lx;
|
|
52395
|
-
function
|
|
52408
|
+
function kP() {
|
|
52396
52409
|
if (Lx) return fg;
|
|
52397
52410
|
Lx = 1;
|
|
52398
52411
|
var t = c_(), c = il(), e = "Expected a function";
|
|
@@ -52408,9 +52421,9 @@ function CP() {
|
|
|
52408
52421
|
}
|
|
52409
52422
|
return fg = l, fg;
|
|
52410
52423
|
}
|
|
52411
|
-
var
|
|
52412
|
-
const
|
|
52413
|
-
class
|
|
52424
|
+
var EP = kP();
|
|
52425
|
+
const TP = /* @__PURE__ */ Wa(EP), dg = [];
|
|
52426
|
+
class MP extends P_ {
|
|
52414
52427
|
constructor() {
|
|
52415
52428
|
super(...arguments);
|
|
52416
52429
|
Rt(this, "imageLoaded", () => {
|
|
@@ -52418,7 +52431,7 @@ class TP extends P_ {
|
|
|
52418
52431
|
Rt(this, "loadedLocations", []);
|
|
52419
52432
|
Rt(this, "cache", {});
|
|
52420
52433
|
// eslint-disable-next-line unicorn/consistent-function-scoping
|
|
52421
|
-
Rt(this, "sendLoaded",
|
|
52434
|
+
Rt(this, "sendLoaded", TP(() => {
|
|
52422
52435
|
this.imageLoaded(new Ec(this.loadedLocations)), this.loadedLocations = [];
|
|
52423
52436
|
}, 20));
|
|
52424
52437
|
Rt(this, "clearOutOfWindow", () => {
|
|
@@ -52476,26 +52489,26 @@ class TP extends P_ {
|
|
|
52476
52489
|
this.loadImage(e, l, d, s);
|
|
52477
52490
|
}
|
|
52478
52491
|
}
|
|
52479
|
-
const
|
|
52480
|
-
const e = Y.useMemo(() => ({ ...
|
|
52481
|
-
return Y.createElement(
|
|
52482
|
-
},
|
|
52483
|
-
function
|
|
52492
|
+
const RP = (t, c) => {
|
|
52493
|
+
const e = Y.useMemo(() => ({ ...yN, ...t.headerIcons }), [t.headerIcons]), l = Y.useMemo(() => t.renderers ?? CP, [t.renderers]), d = Y.useMemo(() => t.imageWindowLoader ?? new MP(), [t.imageWindowLoader]);
|
|
52494
|
+
return Y.createElement(qI, { ...t, renderers: l, headerIcons: e, ref: c, imageWindowLoader: d });
|
|
52495
|
+
}, AP = Y.forwardRef(RP);
|
|
52496
|
+
function OP({
|
|
52484
52497
|
...t
|
|
52485
52498
|
}) {
|
|
52486
52499
|
return /* @__PURE__ */ le.jsx(X5, { "data-slot": "dialog", ...t });
|
|
52487
52500
|
}
|
|
52488
|
-
function
|
|
52501
|
+
function DP({
|
|
52489
52502
|
...t
|
|
52490
52503
|
}) {
|
|
52491
52504
|
return /* @__PURE__ */ le.jsx(Y5, { "data-slot": "dialog-trigger", ...t });
|
|
52492
52505
|
}
|
|
52493
|
-
function
|
|
52506
|
+
function NP({
|
|
52494
52507
|
...t
|
|
52495
52508
|
}) {
|
|
52496
52509
|
return /* @__PURE__ */ le.jsx(Z5, { "data-slot": "dialog-portal", ...t });
|
|
52497
52510
|
}
|
|
52498
|
-
function
|
|
52511
|
+
function jP({
|
|
52499
52512
|
className: t,
|
|
52500
52513
|
...c
|
|
52501
52514
|
}) {
|
|
@@ -52511,15 +52524,15 @@ function NP({
|
|
|
52511
52524
|
}
|
|
52512
52525
|
);
|
|
52513
52526
|
}
|
|
52514
|
-
function
|
|
52527
|
+
function IP({
|
|
52515
52528
|
className: t,
|
|
52516
52529
|
children: c,
|
|
52517
52530
|
showCloseButton: e = !0,
|
|
52518
52531
|
size: l = "sm",
|
|
52519
52532
|
...d
|
|
52520
52533
|
}) {
|
|
52521
|
-
return /* @__PURE__ */ le.jsxs(
|
|
52522
|
-
/* @__PURE__ */ le.jsx(
|
|
52534
|
+
return /* @__PURE__ */ le.jsxs(NP, { children: [
|
|
52535
|
+
/* @__PURE__ */ le.jsx(jP, {}),
|
|
52523
52536
|
/* @__PURE__ */ le.jsxs(
|
|
52524
52537
|
J5,
|
|
52525
52538
|
{
|
|
@@ -52548,7 +52561,7 @@ function jP({
|
|
|
52548
52561
|
)
|
|
52549
52562
|
] });
|
|
52550
52563
|
}
|
|
52551
|
-
function
|
|
52564
|
+
function PP({ className: t, ...c }) {
|
|
52552
52565
|
return /* @__PURE__ */ le.jsx(
|
|
52553
52566
|
"div",
|
|
52554
52567
|
{
|
|
@@ -52558,7 +52571,7 @@ function IP({ className: t, ...c }) {
|
|
|
52558
52571
|
}
|
|
52559
52572
|
);
|
|
52560
52573
|
}
|
|
52561
|
-
function
|
|
52574
|
+
function zP({
|
|
52562
52575
|
className: t,
|
|
52563
52576
|
...c
|
|
52564
52577
|
}) {
|
|
@@ -52571,7 +52584,7 @@ function PP({
|
|
|
52571
52584
|
}
|
|
52572
52585
|
);
|
|
52573
52586
|
}
|
|
52574
|
-
const vS = typeof navigator < "u" && /Mac|iPhone|iPad/.test(navigator.platform), $o = vS ? "⌘" : "Ctrl",
|
|
52587
|
+
const vS = typeof navigator < "u" && /Mac|iPhone|iPad/.test(navigator.platform), $o = vS ? "⌘" : "Ctrl", BP = [
|
|
52575
52588
|
{
|
|
52576
52589
|
title: "Move around",
|
|
52577
52590
|
shortcuts: [
|
|
@@ -52627,15 +52640,15 @@ const vS = typeof navigator < "u" && /Mac|iPhone|iPad/.test(navigator.platform),
|
|
|
52627
52640
|
]
|
|
52628
52641
|
}
|
|
52629
52642
|
];
|
|
52630
|
-
function
|
|
52631
|
-
return /* @__PURE__ */ le.jsxs(
|
|
52632
|
-
/* @__PURE__ */ le.jsx(
|
|
52643
|
+
function LP() {
|
|
52644
|
+
return /* @__PURE__ */ le.jsxs(OP, { children: [
|
|
52645
|
+
/* @__PURE__ */ le.jsx(DP, { asChild: !0, children: /* @__PURE__ */ le.jsxs(ks, { type: "button", variant: "ghost", size: "sm", children: [
|
|
52633
52646
|
/* @__PURE__ */ le.jsx(oR, {}),
|
|
52634
52647
|
" Shortcuts"
|
|
52635
52648
|
] }) }),
|
|
52636
|
-
/* @__PURE__ */ le.jsxs(
|
|
52637
|
-
/* @__PURE__ */ le.jsx(
|
|
52638
|
-
/* @__PURE__ */ le.jsx("dl", { className: "grid max-h-[70vh] grid-cols-[minmax(0,auto)_1fr] items-baseline gap-x-4 gap-y-1.5 overflow-y-auto", children:
|
|
52649
|
+
/* @__PURE__ */ le.jsxs(IP, { size: "lg", children: [
|
|
52650
|
+
/* @__PURE__ */ le.jsx(PP, { children: /* @__PURE__ */ le.jsx(zP, { children: "Grid shortcuts" }) }),
|
|
52651
|
+
/* @__PURE__ */ le.jsx("dl", { className: "grid max-h-[70vh] grid-cols-[minmax(0,auto)_1fr] items-baseline gap-x-4 gap-y-1.5 overflow-y-auto", children: BP.map((t) => /* @__PURE__ */ le.jsxs(Y.Fragment, { children: [
|
|
52639
52652
|
/* @__PURE__ */ le.jsx("h3", { className: "col-span-2 mt-3 text-[12px] font-semibold text-ink-muted uppercase first:mt-0", children: t.title }),
|
|
52640
52653
|
t.shortcuts.map((c) => /* @__PURE__ */ le.jsxs(Y.Fragment, { children: [
|
|
52641
52654
|
/* @__PURE__ */ le.jsx("dt", { className: "w-fit rounded-arbo-sm border border-line bg-surface-muted px-1.5 py-0.5 font-mono text-[12px] whitespace-nowrap text-ink", children: c.keys }),
|
|
@@ -52645,15 +52658,15 @@ function BP() {
|
|
|
52645
52658
|
] })
|
|
52646
52659
|
] });
|
|
52647
52660
|
}
|
|
52648
|
-
const
|
|
52649
|
-
fontFamily:
|
|
52661
|
+
const FP = "Lato, ui-sans-serif, system-ui, 'Segoe UI', Roboto, sans-serif", yS = {
|
|
52662
|
+
fontFamily: FP,
|
|
52650
52663
|
baseFontStyle: "14px",
|
|
52651
52664
|
headerFontStyle: "500 14px",
|
|
52652
52665
|
editorFontSize: "14px",
|
|
52653
52666
|
lineHeight: 20 / 14,
|
|
52654
52667
|
cellHorizontalPadding: 8,
|
|
52655
52668
|
cellVerticalPadding: 4
|
|
52656
|
-
},
|
|
52669
|
+
}, HP = {
|
|
52657
52670
|
...yS,
|
|
52658
52671
|
bgCell: "#ffffff",
|
|
52659
52672
|
// --card
|
|
@@ -52687,7 +52700,7 @@ const LP = "Lato, ui-sans-serif, system-ui, 'Segoe UI', Roboto, sans-serif", yS
|
|
|
52687
52700
|
// --primary
|
|
52688
52701
|
bgSearchResult: "#feecdc"
|
|
52689
52702
|
// --warning-tint
|
|
52690
|
-
},
|
|
52703
|
+
}, UP = {
|
|
52691
52704
|
...yS,
|
|
52692
52705
|
bgCell: "#1e1e1e",
|
|
52693
52706
|
// --card, converted from oklch(0.235 0 0)
|
|
@@ -52721,26 +52734,26 @@ const LP = "Lato, ui-sans-serif, system-ui, 'Segoe UI', Roboto, sans-serif", yS
|
|
|
52721
52734
|
// --primary
|
|
52722
52735
|
bgSearchResult: "#482b0e"
|
|
52723
52736
|
// --warning-tint, converted from oklch(0.32 0.06 62)
|
|
52724
|
-
}, wS = { light:
|
|
52725
|
-
function
|
|
52737
|
+
}, wS = { light: HP, dark: UP };
|
|
52738
|
+
function qP(t) {
|
|
52726
52739
|
return wS[t];
|
|
52727
52740
|
}
|
|
52728
|
-
function
|
|
52741
|
+
function $P(t) {
|
|
52729
52742
|
const c = t === "dark" ? "243, 245, 248" : "24, 29, 31";
|
|
52730
52743
|
return { textDark: `rgba(${c}, 0.4)`, textMedium: `rgba(${c}, 0.4)` };
|
|
52731
52744
|
}
|
|
52732
|
-
function
|
|
52745
|
+
function VP(t) {
|
|
52733
52746
|
const c = wS[t].accentLight;
|
|
52734
52747
|
return { bgCell: c, bgCellMedium: c };
|
|
52735
52748
|
}
|
|
52736
|
-
function
|
|
52749
|
+
function WP() {
|
|
52737
52750
|
const [t, c] = Y.useState(() => zg());
|
|
52738
52751
|
return Y.useEffect(() => {
|
|
52739
52752
|
const e = document.documentElement, l = new MutationObserver(() => c(zg()));
|
|
52740
52753
|
return l.observe(e, { attributes: !0, attributeFilter: ["class"] }), () => l.disconnect();
|
|
52741
52754
|
}, []), t;
|
|
52742
52755
|
}
|
|
52743
|
-
const
|
|
52756
|
+
const XP = 38, YP = 220, GP = 560, KP = {
|
|
52744
52757
|
kind: _t.Custom,
|
|
52745
52758
|
isMatch: (t) => {
|
|
52746
52759
|
var c;
|
|
@@ -52758,7 +52771,7 @@ const WP = 38, XP = 220, YP = 560, GP = {
|
|
|
52758
52771
|
return { ...c, data: c.data };
|
|
52759
52772
|
},
|
|
52760
52773
|
provideEditor: void 0
|
|
52761
|
-
},
|
|
52774
|
+
}, ZP = ({
|
|
52762
52775
|
value: t,
|
|
52763
52776
|
onChange: c,
|
|
52764
52777
|
onFinishedEditing: e
|
|
@@ -52779,23 +52792,23 @@ const WP = 38, XP = 220, YP = 560, GP = {
|
|
|
52779
52792
|
l.key === "Escape" ? e(void 0) : l.key === "Enter" && !l.shiftKey && (l.preventDefault(), e(t));
|
|
52780
52793
|
}
|
|
52781
52794
|
}
|
|
52782
|
-
),
|
|
52795
|
+
), QP = (t) => {
|
|
52783
52796
|
if (t.kind === _t.Text)
|
|
52784
52797
|
return {
|
|
52785
|
-
editor:
|
|
52798
|
+
editor: ZP,
|
|
52786
52799
|
disablePadding: !0,
|
|
52787
52800
|
// Glide's overlay is `min-width: <cell width>; max-width: 400px`. The
|
|
52788
52801
|
// explicit maxWidth is load-bearing, not decoration: without it that
|
|
52789
52802
|
// 400px cap clamps the box and widening does nothing.
|
|
52790
52803
|
styleOverride: {
|
|
52791
|
-
width: `min(${
|
|
52804
|
+
width: `min(${GP}px, calc(100vw - 32px))`,
|
|
52792
52805
|
maxWidth: "calc(100vw - 32px)",
|
|
52793
52806
|
maxHeight: "calc(100vh - 32px)",
|
|
52794
52807
|
boxSizing: "border-box"
|
|
52795
52808
|
}
|
|
52796
52809
|
};
|
|
52797
52810
|
};
|
|
52798
|
-
function
|
|
52811
|
+
function JP({
|
|
52799
52812
|
headers: t,
|
|
52800
52813
|
rows: c,
|
|
52801
52814
|
deletedRows: e,
|
|
@@ -52808,7 +52821,7 @@ function QP({
|
|
|
52808
52821
|
canRedo: r,
|
|
52809
52822
|
onMaximizedChange: u
|
|
52810
52823
|
}) {
|
|
52811
|
-
const m = Y.useMemo(() => new Set(e), [e]), f =
|
|
52824
|
+
const m = Y.useMemo(() => new Set(e), [e]), f = WP(), [h, g] = Y.useState({}), [v, b] = Y.useState(!1);
|
|
52812
52825
|
Y.useEffect(() => {
|
|
52813
52826
|
u == null || u(v);
|
|
52814
52827
|
}, [v, u]);
|
|
@@ -52835,11 +52848,11 @@ function QP({
|
|
|
52835
52848
|
}, []);
|
|
52836
52849
|
const F = Y.useMemo(
|
|
52837
52850
|
() => [
|
|
52838
|
-
{ id: "__gutter", title: "", width:
|
|
52851
|
+
{ id: "__gutter", title: "", width: XP },
|
|
52839
52852
|
...t.map((P) => ({
|
|
52840
52853
|
id: P,
|
|
52841
52854
|
title: P,
|
|
52842
|
-
width: h[P] ??
|
|
52855
|
+
width: h[P] ?? YP
|
|
52843
52856
|
}))
|
|
52844
52857
|
],
|
|
52845
52858
|
[t, h]
|
|
@@ -52876,8 +52889,8 @@ function QP({
|
|
|
52876
52889
|
}, []), A = Y.useCallback(
|
|
52877
52890
|
(P) => d9(c, t, P),
|
|
52878
52891
|
[c, t]
|
|
52879
|
-
), N = Y.useMemo(() =>
|
|
52880
|
-
const P =
|
|
52892
|
+
), N = Y.useMemo(() => qP(f), [f]), E = Y.useMemo(() => {
|
|
52893
|
+
const P = $P(f), G = VP(f), Z = { ...P, ...G };
|
|
52881
52894
|
return (te) => {
|
|
52882
52895
|
const U = m.has(te), Q = te === w;
|
|
52883
52896
|
if (U && Q) return Z;
|
|
@@ -52930,7 +52943,7 @@ function QP({
|
|
|
52930
52943
|
},
|
|
52931
52944
|
[d, s]
|
|
52932
52945
|
), j = Y.useMemo(
|
|
52933
|
-
() => [{ ...
|
|
52946
|
+
() => [{ ...KP, onClick: D }],
|
|
52934
52947
|
[D]
|
|
52935
52948
|
);
|
|
52936
52949
|
return Y.useEffect(() => {
|
|
@@ -52987,7 +53000,7 @@ function QP({
|
|
|
52987
53000
|
/* @__PURE__ */ le.jsxs("div", { className: "ml-auto flex shrink-0 items-center gap-1", children: [
|
|
52988
53001
|
i && /* @__PURE__ */ le.jsx(ks, { type: "button", variant: "ghost", size: "sm", onClick: a, children: "↩ Undo" }),
|
|
52989
53002
|
r && /* @__PURE__ */ le.jsx(ks, { type: "button", variant: "ghost", size: "sm", onClick: o, children: "↪ Redo" }),
|
|
52990
|
-
/* @__PURE__ */ le.jsx(
|
|
53003
|
+
/* @__PURE__ */ le.jsx(LP, {}),
|
|
52991
53004
|
/* @__PURE__ */ le.jsxs(
|
|
52992
53005
|
ks,
|
|
52993
53006
|
{
|
|
@@ -53012,7 +53025,7 @@ function QP({
|
|
|
53012
53025
|
v ? "min-h-0 flex-1" : "h-[calc(100vh-280px)] min-h-[28rem]"
|
|
53013
53026
|
),
|
|
53014
53027
|
children: $ && /* @__PURE__ */ le.jsx(
|
|
53015
|
-
|
|
53028
|
+
AP,
|
|
53016
53029
|
{
|
|
53017
53030
|
columns: F,
|
|
53018
53031
|
rows: c.length,
|
|
@@ -53027,7 +53040,7 @@ function QP({
|
|
|
53027
53040
|
drawCell: T,
|
|
53028
53041
|
onItemHovered: H,
|
|
53029
53042
|
customRenderers: j,
|
|
53030
|
-
provideEditor:
|
|
53043
|
+
provideEditor: QP,
|
|
53031
53044
|
theme: N,
|
|
53032
53045
|
gridSelection: C,
|
|
53033
53046
|
onGridSelectionChange: M,
|
|
@@ -53053,28 +53066,28 @@ function QP({
|
|
|
53053
53066
|
}
|
|
53054
53067
|
);
|
|
53055
53068
|
}
|
|
53056
|
-
const
|
|
53069
|
+
const ez = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
53057
53070
|
__proto__: null,
|
|
53058
|
-
PreviewGrid:
|
|
53059
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
53071
|
+
PreviewGrid: JP
|
|
53072
|
+
}, Symbol.toStringTag, { value: "Module" })), tz = () => (t) => t.targetX, rz = () => (t) => t.targetY, nz = () => (t) => t.targetWidth, iz = () => (t) => t.targetHeight, az = () => (t) => t.targetY + 10, sz = () => (t) => Math.max(0, (t.targetHeight - 28) / 2), oz = /* @__PURE__ */ xi("div")({
|
|
53060
53073
|
name: "DataGridOverlayEditorStyle",
|
|
53061
53074
|
class: "gdg-d19meir1",
|
|
53062
53075
|
propsAsIs: !1,
|
|
53063
53076
|
vars: {
|
|
53064
|
-
"d19meir1-0": [
|
|
53065
|
-
"d19meir1-1": [
|
|
53066
|
-
"d19meir1-2": [
|
|
53067
|
-
"d19meir1-3": [
|
|
53068
|
-
"d19meir1-4": [
|
|
53069
|
-
"d19meir1-5": [
|
|
53077
|
+
"d19meir1-0": [rz(), "px"],
|
|
53078
|
+
"d19meir1-1": [tz(), "px"],
|
|
53079
|
+
"d19meir1-2": [nz(), "px"],
|
|
53080
|
+
"d19meir1-3": [iz(), "px"],
|
|
53081
|
+
"d19meir1-4": [az(), "px"],
|
|
53082
|
+
"d19meir1-5": [sz(), "px"]
|
|
53070
53083
|
}
|
|
53071
53084
|
});
|
|
53072
|
-
function
|
|
53085
|
+
function lz() {
|
|
53073
53086
|
const [t, c] = Y.useState();
|
|
53074
53087
|
return [t ?? void 0, c];
|
|
53075
53088
|
}
|
|
53076
|
-
function
|
|
53077
|
-
const [t, c] =
|
|
53089
|
+
function uz() {
|
|
53090
|
+
const [t, c] = lz(), [e, l] = Y.useState(0), [d, s] = Y.useState(!0);
|
|
53078
53091
|
Y.useLayoutEffect(() => {
|
|
53079
53092
|
if (t === void 0 || !("IntersectionObserver" in window))
|
|
53080
53093
|
return;
|
|
@@ -53100,7 +53113,7 @@ function lz() {
|
|
|
53100
53113
|
style: a
|
|
53101
53114
|
};
|
|
53102
53115
|
}
|
|
53103
|
-
const
|
|
53116
|
+
const cz = (t) => {
|
|
53104
53117
|
const { target: c, content: e, onFinishEditing: l, forceEditMode: d, initialValue: s, imageEditorOverride: a, markdownDivCreateNode: o, highlight: i, className: r, theme: u, id: m, cell: f, bloom: h, portalElementRef: g, validateCell: v, getCellRenderer: b, provideEditor: w, isOutsideClick: y, customEventTarget: C, activation: M } = t, [O, I] = Y.useState(d ? e : void 0), $ = Y.useRef(O ?? e);
|
|
53105
53118
|
$.current = O ?? e;
|
|
53106
53119
|
const [z, F] = Y.useState(() => v === void 0 ? !0 : !(ws(e) && (v == null ? void 0 : v(f, e, $.current)) === !1)), V = Y.useCallback((K, ee) => {
|
|
@@ -53128,7 +53141,7 @@ const uz = (t) => {
|
|
|
53128
53141
|
return [];
|
|
53129
53142
|
const K = { ...e, location: f, activation: M }, ee = w == null ? void 0 : w(K);
|
|
53130
53143
|
return ee !== void 0 ? [ee, !1] : [(re = (ae = b(e)) == null ? void 0 : ae.provideEditor) == null ? void 0 : re.call(ae, K), !1];
|
|
53131
|
-
}, [f, e, b, w, M]), { ref: D, style: j } =
|
|
53144
|
+
}, [f, e, b, w, M]), { ref: D, style: j } = uz();
|
|
53132
53145
|
let P = !0, G, Z = !0, te;
|
|
53133
53146
|
if (k !== void 0) {
|
|
53134
53147
|
P = k.disablePadding !== !0, Z = k.disableStyling !== !0;
|
|
@@ -53151,16 +53164,16 @@ const uz = (t) => {
|
|
|
53151
53164
|
fS,
|
|
53152
53165
|
{ style: z_(u), className: r, onClickOutside: N, isOutsideClick: y, customEventTarget: C },
|
|
53153
53166
|
Y.createElement(
|
|
53154
|
-
|
|
53167
|
+
oz,
|
|
53155
53168
|
{ ref: D, id: m, className: Q, style: te, as: T === !0 ? "label" : void 0, targetX: c.x - L, targetY: c.y - B, targetWidth: c.width + L * 2, targetHeight: c.height + B * 2 },
|
|
53156
53169
|
Y.createElement("div", { className: "gdg-clip-region", onKeyDown: _ }, G)
|
|
53157
53170
|
)
|
|
53158
53171
|
)
|
|
53159
53172
|
), U);
|
|
53160
|
-
},
|
|
53173
|
+
}, fz = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
53161
53174
|
__proto__: null,
|
|
53162
|
-
default:
|
|
53163
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
53175
|
+
default: cz
|
|
53176
|
+
}, Symbol.toStringTag, { value: "Module" })), dz = /* @__PURE__ */ xi("div")({
|
|
53164
53177
|
name: "NumberOverlayEditorStyle",
|
|
53165
53178
|
class: "gdg-n15fjm3e",
|
|
53166
53179
|
propsAsIs: !1
|
|
@@ -53180,7 +53193,7 @@ var ru;
|
|
|
53180
53193
|
})(ru || (ru = {}));
|
|
53181
53194
|
function co() {
|
|
53182
53195
|
}
|
|
53183
|
-
function
|
|
53196
|
+
function hz(t) {
|
|
53184
53197
|
var c, e = void 0;
|
|
53185
53198
|
return function() {
|
|
53186
53199
|
for (var l = [], d = arguments.length; d--; ) l[d] = arguments[d];
|
|
@@ -53195,16 +53208,16 @@ function Ic(t) {
|
|
|
53195
53208
|
function ho(t) {
|
|
53196
53209
|
return t == null;
|
|
53197
53210
|
}
|
|
53198
|
-
function
|
|
53211
|
+
function pz(t) {
|
|
53199
53212
|
return typeof t == "number" && isNaN(t);
|
|
53200
53213
|
}
|
|
53201
53214
|
function _S(t) {
|
|
53202
|
-
return ho(t) ||
|
|
53215
|
+
return ho(t) || pz(t) || typeof t == "number" && !isFinite(t);
|
|
53203
53216
|
}
|
|
53204
53217
|
function SS(t) {
|
|
53205
53218
|
return t.replace(/[-[\]/{}()*+?.\\^$|]/g, "\\$&");
|
|
53206
53219
|
}
|
|
53207
|
-
function
|
|
53220
|
+
function mz(t) {
|
|
53208
53221
|
switch (t) {
|
|
53209
53222
|
case "lakh":
|
|
53210
53223
|
return /(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;
|
|
@@ -53215,8 +53228,8 @@ function pz(t) {
|
|
|
53215
53228
|
return /(\d)(?=(\d{3})+(?!\d))/g;
|
|
53216
53229
|
}
|
|
53217
53230
|
}
|
|
53218
|
-
function
|
|
53219
|
-
var l =
|
|
53231
|
+
function gz(t, c, e) {
|
|
53232
|
+
var l = mz(e), d = t.search(/[1-9]/);
|
|
53220
53233
|
return d = d === -1 ? t.length : d, t.substring(0, d) + t.substring(d, t.length).replace(l, "$1" + c);
|
|
53221
53234
|
}
|
|
53222
53235
|
function Fx(t) {
|
|
@@ -53240,7 +53253,7 @@ function Jb(t, c) {
|
|
|
53240
53253
|
addNegation: l
|
|
53241
53254
|
};
|
|
53242
53255
|
}
|
|
53243
|
-
function
|
|
53256
|
+
function bz(t) {
|
|
53244
53257
|
if (!t)
|
|
53245
53258
|
return t;
|
|
53246
53259
|
var c = t[0] === "-";
|
|
@@ -53285,7 +53298,7 @@ function Wo(t, c) {
|
|
|
53285
53298
|
return t.selectionStart || t.selectionStart === 0 ? (t.focus(), t.setSelectionRange(c, c), !0) : (t.focus(), !1);
|
|
53286
53299
|
}
|
|
53287
53300
|
}
|
|
53288
|
-
var ES =
|
|
53301
|
+
var ES = hz(function(t, c) {
|
|
53289
53302
|
for (var e = 0, l = 0, d = t.length, s = c.length; t[e] === c[e] && e < d; )
|
|
53290
53303
|
e++;
|
|
53291
53304
|
for (; t[d - 1 - l] === c[s - 1 - l] && s - l > e && d - l > e; )
|
|
@@ -53294,23 +53307,23 @@ var ES = dz(function(t, c) {
|
|
|
53294
53307
|
from: { start: e, end: d - l },
|
|
53295
53308
|
to: { start: e, end: s - l }
|
|
53296
53309
|
};
|
|
53297
|
-
}),
|
|
53310
|
+
}), vz = function(t, c) {
|
|
53298
53311
|
var e = Math.min(t.selectionStart, c);
|
|
53299
53312
|
return {
|
|
53300
53313
|
from: { start: e, end: t.selectionEnd },
|
|
53301
53314
|
to: { start: e, end: c }
|
|
53302
53315
|
};
|
|
53303
53316
|
};
|
|
53304
|
-
function
|
|
53317
|
+
function yz(t, c, e) {
|
|
53305
53318
|
return Math.min(Math.max(t, c), e);
|
|
53306
53319
|
}
|
|
53307
53320
|
function hg(t) {
|
|
53308
53321
|
return Math.max(t.selectionStart, t.selectionEnd);
|
|
53309
53322
|
}
|
|
53310
|
-
function
|
|
53323
|
+
function wz() {
|
|
53311
53324
|
return typeof navigator < "u" && !(navigator.platform && /iPhone|iPod/.test(navigator.platform));
|
|
53312
53325
|
}
|
|
53313
|
-
function
|
|
53326
|
+
function xz(t) {
|
|
53314
53327
|
return {
|
|
53315
53328
|
from: {
|
|
53316
53329
|
start: 0,
|
|
@@ -53323,12 +53336,12 @@ function wz(t) {
|
|
|
53323
53336
|
lastValue: ""
|
|
53324
53337
|
};
|
|
53325
53338
|
}
|
|
53326
|
-
function
|
|
53339
|
+
function _z(t) {
|
|
53327
53340
|
var c = t.currentValue, e = t.formattedValue, l = t.currentValueIndex, d = t.formattedValueIndex;
|
|
53328
53341
|
return c[l] === e[d];
|
|
53329
53342
|
}
|
|
53330
|
-
function
|
|
53331
|
-
a === void 0 && (a =
|
|
53343
|
+
function Sz(t, c, e, l, d, s, a) {
|
|
53344
|
+
a === void 0 && (a = _z);
|
|
53332
53345
|
var o = d.findIndex(function(M) {
|
|
53333
53346
|
return M;
|
|
53334
53347
|
}), i = t.slice(0, o);
|
|
@@ -53359,7 +53372,7 @@ function _z(t, c, e, l, d, s, a) {
|
|
|
53359
53372
|
}
|
|
53360
53373
|
function qx(t, c, e, l) {
|
|
53361
53374
|
var d = t.length;
|
|
53362
|
-
if (c =
|
|
53375
|
+
if (c = yz(c, 0, d), l === "left") {
|
|
53363
53376
|
for (; c >= 0 && !e[c]; )
|
|
53364
53377
|
c--;
|
|
53365
53378
|
c === -1 && (c = e.indexOf(!0));
|
|
@@ -53370,7 +53383,7 @@ function qx(t, c, e, l) {
|
|
|
53370
53383
|
}
|
|
53371
53384
|
return c === -1 && (c = d), c;
|
|
53372
53385
|
}
|
|
53373
|
-
function
|
|
53386
|
+
function Cz(t) {
|
|
53374
53387
|
for (var c = Array.from({ length: t.length + 1 }).map(function() {
|
|
53375
53388
|
return !0;
|
|
53376
53389
|
}), e = 0, l = c.length; e < l; e++)
|
|
@@ -53405,21 +53418,21 @@ function TS(t, c, e, l, d, s) {
|
|
|
53405
53418
|
}
|
|
53406
53419
|
}, []), [i, u];
|
|
53407
53420
|
}
|
|
53408
|
-
function
|
|
53421
|
+
function kz(t) {
|
|
53409
53422
|
return t.replace(/[^0-9]/g, "");
|
|
53410
53423
|
}
|
|
53411
|
-
function
|
|
53424
|
+
function Ez(t) {
|
|
53412
53425
|
return t;
|
|
53413
53426
|
}
|
|
53414
|
-
function
|
|
53427
|
+
function Tz(t) {
|
|
53415
53428
|
var c = t.type;
|
|
53416
53429
|
c === void 0 && (c = "text");
|
|
53417
53430
|
var e = t.displayType;
|
|
53418
53431
|
e === void 0 && (e = "input");
|
|
53419
53432
|
var l = t.customInput, d = t.renderText, s = t.getInputRef, a = t.format;
|
|
53420
|
-
a === void 0 && (a =
|
|
53433
|
+
a === void 0 && (a = Ez);
|
|
53421
53434
|
var o = t.removeFormatting;
|
|
53422
|
-
o === void 0 && (o =
|
|
53435
|
+
o === void 0 && (o = kz);
|
|
53423
53436
|
var i = t.defaultValue, r = t.valueIsNumericString, u = t.onValueChange, m = t.isAllowed, f = t.onChange;
|
|
53424
53437
|
f === void 0 && (f = co);
|
|
53425
53438
|
var h = t.onKeyDown;
|
|
@@ -53431,7 +53444,7 @@ function Ez(t) {
|
|
|
53431
53444
|
var b = t.onBlur;
|
|
53432
53445
|
b === void 0 && (b = co);
|
|
53433
53446
|
var w = t.value, y = t.getCaretBoundary;
|
|
53434
|
-
y === void 0 && (y =
|
|
53447
|
+
y === void 0 && (y = Cz);
|
|
53435
53448
|
var C = t.isValidInputCharacter;
|
|
53436
53449
|
C === void 0 && (C = Ic);
|
|
53437
53450
|
var M = t.isCharacterSame, O = xS(t, ["type", "displayType", "customInput", "renderText", "getInputRef", "format", "removeFormatting", "defaultValue", "valueIsNumericString", "onValueChange", "isAllowed", "onChange", "onKeyDown", "onMouseUp", "onFocus", "onBlur", "value", "getCaretBoundary", "isValidInputCharacter", "isCharacterSame"]), I = TS(w, i, !!r, a, o, u), $ = I[0], z = $.formattedValue, F = $.numAsString, V = I[1], W = Y.useRef(), H = Y.useRef({ formattedValue: z, numAsString: F }), A = function(ne, ce) {
|
|
@@ -53459,7 +53472,7 @@ function Ez(t) {
|
|
|
53459
53472
|
}, P = function(ne, ce, oe) {
|
|
53460
53473
|
return qx(ne, ce, y(ne), oe);
|
|
53461
53474
|
}, G = function(ne, ce, oe) {
|
|
53462
|
-
var de = y(ce), pe =
|
|
53475
|
+
var de = y(ce), pe = Sz(ce, z, ne, oe, de, C, M);
|
|
53463
53476
|
return pe = qx(ce, pe, de), pe;
|
|
53464
53477
|
}, Z = function(ne) {
|
|
53465
53478
|
var ce = ne.formattedValue;
|
|
@@ -53487,7 +53500,7 @@ function Ez(t) {
|
|
|
53487
53500
|
}
|
|
53488
53501
|
}, [z]);
|
|
53489
53502
|
var Q = function(ne, ce, oe) {
|
|
53490
|
-
var de = ce.target, pe = W.current ?
|
|
53503
|
+
var de = ce.target, pe = W.current ? vz(W.current, de.selectionEnd) : ES(z, ne), me = Object.assign(Object.assign({}, pe), { lastValue: z }), ye = o(ne, me), Ce = T(ye);
|
|
53491
53504
|
if (ye = o(Ce, void 0), m && !m(D(Ce, ye))) {
|
|
53492
53505
|
var Se = ce.target, Pe = hg(Se), Ae = G(ne, z, Pe);
|
|
53493
53506
|
return Se.value = z, j(Se, Ae, z), !1;
|
|
@@ -53547,7 +53560,7 @@ function Ez(t) {
|
|
|
53547
53560
|
}, 0);
|
|
53548
53561
|
}, re = function(ne) {
|
|
53549
53562
|
S.current = null, clearTimeout(k.current.focusTimeout), clearTimeout(k.current.setCaretTimeout), b(ne);
|
|
53550
|
-
}, se = E &&
|
|
53563
|
+
}, se = E && wz() ? "numeric" : void 0, he = Object.assign({ inputMode: se }, O, {
|
|
53551
53564
|
type: c,
|
|
53552
53565
|
value: z,
|
|
53553
53566
|
onChange: B,
|
|
@@ -53573,7 +53586,7 @@ function $x(t, c) {
|
|
|
53573
53586
|
if (o === void 0 && (o = "thousand"), t === "" || t === "-")
|
|
53574
53587
|
return t;
|
|
53575
53588
|
var i = hh(c), r = i.thousandSeparator, u = i.decimalSeparator, m = e !== 0 && t.indexOf(".") !== -1 || e && l, f = Jb(t, a), h = f.beforeDecimal, g = f.afterDecimal, v = f.addNegation;
|
|
53576
|
-
return e !== void 0 && (g = CS(g, e, !!l)), r && (h =
|
|
53589
|
+
return e !== void 0 && (g = CS(g, e, !!l)), r && (h = gz(h, r, o)), d && (h = d + h), s && (g = g + s), v && (h = "-" + h), t = h + (m && u || "") + g, t;
|
|
53577
53590
|
}
|
|
53578
53591
|
function hh(t) {
|
|
53579
53592
|
var c = t.decimalSeparator;
|
|
@@ -53585,20 +53598,20 @@ function hh(t) {
|
|
|
53585
53598
|
allowedDecimalSeparators: l
|
|
53586
53599
|
};
|
|
53587
53600
|
}
|
|
53588
|
-
function
|
|
53601
|
+
function Mz(t, c) {
|
|
53589
53602
|
t === void 0 && (t = "");
|
|
53590
53603
|
var e = new RegExp("(-)"), l = new RegExp("(-)(.)*(-)"), d = e.test(t), s = l.test(t);
|
|
53591
53604
|
return t = t.replace(/-/g, ""), d && !s && c && (t = "-" + t), t;
|
|
53592
53605
|
}
|
|
53593
|
-
function
|
|
53606
|
+
function Rz(t, c) {
|
|
53594
53607
|
return new RegExp("(^-)|[0-9]|" + SS(t), "g");
|
|
53595
53608
|
}
|
|
53596
|
-
function
|
|
53609
|
+
function Az(t, c, e) {
|
|
53597
53610
|
return t === "" ? !0 : !(c != null && c.match(/\d/)) && !(e != null && e.match(/\d/)) && typeof t == "string" && !isNaN(Number(t));
|
|
53598
53611
|
}
|
|
53599
|
-
function
|
|
53612
|
+
function Oz(t, c, e) {
|
|
53600
53613
|
var l;
|
|
53601
|
-
c === void 0 && (c =
|
|
53614
|
+
c === void 0 && (c = xz(t));
|
|
53602
53615
|
var d = e.allowNegative, s = e.prefix;
|
|
53603
53616
|
s === void 0 && (s = "");
|
|
53604
53617
|
var a = e.suffix;
|
|
@@ -53622,7 +53635,7 @@ function Az(t, c, e) {
|
|
|
53622
53635
|
var F = 0;
|
|
53623
53636
|
t.startsWith(s) ? F += s.length : u < s.length && (F = u), t = t.substring(F), m -= F;
|
|
53624
53637
|
var V = t.length, W = t.length - a.length;
|
|
53625
|
-
t.endsWith(a) ? V = W : (m > W || m > t.length - a.length) && (V = m), t = t.substring(0, V), t =
|
|
53638
|
+
t.endsWith(a) ? V = W : (m > W || m > t.length - a.length) && (V = m), t = t.substring(0, V), t = Mz(C ? "-" + t : t, d), t = (t.match(Rz(g)) || []).join("");
|
|
53626
53639
|
var H = t.indexOf(g);
|
|
53627
53640
|
t = t.replace(new RegExp(SS(g), "g"), function(S, k) {
|
|
53628
53641
|
return k === H ? "." : "";
|
|
@@ -53630,7 +53643,7 @@ function Az(t, c, e) {
|
|
|
53630
53643
|
var A = Jb(t, d), N = A.beforeDecimal, E = A.afterDecimal, _ = A.addNegation;
|
|
53631
53644
|
return r.end - r.start < i.end - i.start && N === "" && v && !parseFloat(E) && (t = _ ? "-" : ""), t;
|
|
53632
53645
|
}
|
|
53633
|
-
function
|
|
53646
|
+
function Dz(t, c) {
|
|
53634
53647
|
var e = c.prefix;
|
|
53635
53648
|
e === void 0 && (e = "");
|
|
53636
53649
|
var l = c.suffix;
|
|
@@ -53642,7 +53655,7 @@ function Oz(t, c) {
|
|
|
53642
53655
|
var a = t.length;
|
|
53643
53656
|
return d.fill(!1, a - l.length + 1, a + 1), d;
|
|
53644
53657
|
}
|
|
53645
|
-
function
|
|
53658
|
+
function Nz(t) {
|
|
53646
53659
|
var c = hh(t), e = c.thousandSeparator, l = c.decimalSeparator, d = t.prefix;
|
|
53647
53660
|
d === void 0 && (d = "");
|
|
53648
53661
|
var s = t.allowNegative;
|
|
@@ -53658,8 +53671,8 @@ function Dz(t) {
|
|
|
53658
53671
|
allowNegative: ` + s + `
|
|
53659
53672
|
`), s = !1), Object.assign(Object.assign({}, t), { allowNegative: s });
|
|
53660
53673
|
}
|
|
53661
|
-
function
|
|
53662
|
-
t =
|
|
53674
|
+
function jz(t) {
|
|
53675
|
+
t = Nz(t), t.decimalSeparator, t.allowedDecimalSeparators, t.thousandsGroupStyle;
|
|
53663
53676
|
var c = t.suffix, e = t.allowNegative, l = t.allowLeadingZeros, d = t.onKeyDown;
|
|
53664
53677
|
d === void 0 && (d = co);
|
|
53665
53678
|
var s = t.onBlur;
|
|
@@ -53669,8 +53682,8 @@ function Nz(t) {
|
|
|
53669
53682
|
var u = t.defaultValue, m = t.value, f = t.valueIsNumericString, h = t.onValueChange, g = xS(t, ["decimalSeparator", "allowedDecimalSeparators", "thousandsGroupStyle", "suffix", "allowNegative", "allowLeadingZeros", "onKeyDown", "onBlur", "thousandSeparator", "decimalScale", "fixedDecimalScale", "prefix", "defaultValue", "value", "valueIsNumericString", "onValueChange"]), v = hh(t), b = v.decimalSeparator, w = v.allowedDecimalSeparators, y = function(_) {
|
|
53670
53683
|
return $x(_, t);
|
|
53671
53684
|
}, C = function(_, S) {
|
|
53672
|
-
return
|
|
53673
|
-
}, M = ho(m) ? u : m, O = f ??
|
|
53685
|
+
return Oz(_, S, t);
|
|
53686
|
+
}, M = ho(m) ? u : m, O = f ?? Az(M, r, c);
|
|
53674
53687
|
ho(m) ? ho(u) || (O = O || typeof u == "number") : O = O || typeof m == "number";
|
|
53675
53688
|
var I = function(_) {
|
|
53676
53689
|
return _S(_) ? _ : (typeof _ == "number" && (_ = kS(_)), O && typeof o == "number" ? Ux(_, o, !!i) : _);
|
|
@@ -53689,7 +53702,7 @@ function Nz(t) {
|
|
|
53689
53702
|
k === "Backspace" && j[T - 1] === P && Wo(S, T - 1), k === "Delete" && j[T] === P && Wo(S, T + 1), d(_);
|
|
53690
53703
|
}, A = function(_) {
|
|
53691
53704
|
var S = F;
|
|
53692
|
-
if (S.match(/\d/g) || (S = ""), l || (S =
|
|
53705
|
+
if (S.match(/\d/g) || (S = ""), l || (S = bz(S)), i && o && (S = Ux(S, o, i)), S !== F) {
|
|
53693
53706
|
var k = $x(S, t);
|
|
53694
53707
|
W({
|
|
53695
53708
|
formattedValue: k,
|
|
@@ -53718,24 +53731,24 @@ function Nz(t) {
|
|
|
53718
53731
|
format: y,
|
|
53719
53732
|
removeFormatting: C,
|
|
53720
53733
|
getCaretBoundary: function(_) {
|
|
53721
|
-
return
|
|
53734
|
+
return Dz(_, t);
|
|
53722
53735
|
},
|
|
53723
53736
|
onKeyDown: H,
|
|
53724
53737
|
onBlur: A
|
|
53725
53738
|
});
|
|
53726
53739
|
}
|
|
53727
|
-
function
|
|
53728
|
-
var c =
|
|
53729
|
-
return Yr.createElement(
|
|
53740
|
+
function Iz(t) {
|
|
53741
|
+
var c = jz(t);
|
|
53742
|
+
return Yr.createElement(Tz, Object.assign({}, c));
|
|
53730
53743
|
}
|
|
53731
53744
|
function MS() {
|
|
53732
53745
|
var e, l, d;
|
|
53733
53746
|
return ((d = (l = (e = Intl.NumberFormat()) == null ? void 0 : e.formatToParts(1.1)) == null ? void 0 : l.find((s) => s.type === "decimal")) == null ? void 0 : d.value) ?? ".";
|
|
53734
53747
|
}
|
|
53735
|
-
function
|
|
53748
|
+
function Pz() {
|
|
53736
53749
|
return MS() === "." ? "," : ".";
|
|
53737
53750
|
}
|
|
53738
|
-
const
|
|
53751
|
+
const zz = (t) => {
|
|
53739
53752
|
const { value: c, onChange: e, disabled: l, highlight: d, validatedSelection: s, fixedDecimals: a, allowNegative: o, thousandSeparator: i, decimalSeparator: r } = t, u = Y.useRef();
|
|
53740
53753
|
return Y.useLayoutEffect(() => {
|
|
53741
53754
|
var m;
|
|
@@ -53744,9 +53757,9 @@ const Pz = (t) => {
|
|
|
53744
53757
|
(m = u.current) == null || m.setSelectionRange(f[0], f[1]);
|
|
53745
53758
|
}
|
|
53746
53759
|
}, [s]), Y.createElement(
|
|
53747
|
-
|
|
53760
|
+
dz,
|
|
53748
53761
|
null,
|
|
53749
|
-
Y.createElement(
|
|
53762
|
+
Y.createElement(Iz, {
|
|
53750
53763
|
autoFocus: !0,
|
|
53751
53764
|
getInputRef: u,
|
|
53752
53765
|
className: "gdg-input",
|
|
@@ -53754,7 +53767,7 @@ const Pz = (t) => {
|
|
|
53754
53767
|
disabled: l === !0,
|
|
53755
53768
|
decimalScale: a,
|
|
53756
53769
|
allowNegative: o,
|
|
53757
|
-
thousandSeparator: i ??
|
|
53770
|
+
thousandSeparator: i ?? Pz(),
|
|
53758
53771
|
decimalSeparator: r ?? MS(),
|
|
53759
53772
|
value: Object.is(c, -0) ? "-" : c ?? "",
|
|
53760
53773
|
// decimalScale={3}
|
|
@@ -53762,10 +53775,10 @@ const Pz = (t) => {
|
|
|
53762
53775
|
onValueChange: e
|
|
53763
53776
|
})
|
|
53764
53777
|
);
|
|
53765
|
-
},
|
|
53778
|
+
}, Bz = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
53766
53779
|
__proto__: null,
|
|
53767
|
-
default:
|
|
53780
|
+
default: zz
|
|
53768
53781
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
53769
53782
|
export {
|
|
53770
|
-
|
|
53783
|
+
Vz as createXlsxMappingInstance
|
|
53771
53784
|
};
|