climb-onyx-gui 0.15.5-dev.2 → 0.15.5-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/climb-onyx-gui.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as Se, jsxs as cr, Fragment as hs } from "react/jsx-runtime";
|
|
2
2
|
import * as ir from "react";
|
|
3
|
-
import Fr, { useContext as Dn, useRef as vr, useState as ur, useCallback as Zr, useEffect as
|
|
3
|
+
import Fr, { useContext as Dn, useRef as vr, useState as ur, useCallback as Zr, useEffect as On, useMemo as Tr, cloneElement as ib, useReducer as VG, createContext as wy, useLayoutEffect as yu, forwardRef as sp, useImperativeHandle as ab, Component as _P, Fragment as b2, memo as ks, createElement as zG } from "react";
|
|
4
4
|
class Jv {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
@@ -3156,7 +3156,7 @@ function uH() {
|
|
|
3156
3156
|
function Pn(b) {
|
|
3157
3157
|
return b & -b;
|
|
3158
3158
|
}
|
|
3159
|
-
function
|
|
3159
|
+
function kn(b) {
|
|
3160
3160
|
for (var I = [], H = 0; 31 > H; H++) I.push(b);
|
|
3161
3161
|
return I;
|
|
3162
3162
|
}
|
|
@@ -6489,7 +6489,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
6489
6489
|
return I = ws(4, b.children !== null ? b.children : [], b.key, I), I.lanes = H, I.stateNode = { containerInfo: b.containerInfo, pendingChildren: null, implementation: b.implementation }, I;
|
|
6490
6490
|
}
|
|
6491
6491
|
function qb(b, I, H) {
|
|
6492
|
-
this.tag = I, this.containerInfo = b, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.pendingContext = this.context = null, this.hydrate = H, this.callbackNode = null, this.callbackPriority = 0, this.eventTimes =
|
|
6492
|
+
this.tag = I, this.containerInfo = b, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.pendingContext = this.context = null, this.hydrate = H, this.callbackNode = null, this.callbackPriority = 0, this.eventTimes = kn(0), this.expirationTimes = kn(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = kn(0), this.mutableSourceEagerHydrationData = null;
|
|
6493
6493
|
}
|
|
6494
6494
|
function jp(b, I, H) {
|
|
6495
6495
|
var me = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
@@ -7957,7 +7957,7 @@ Error generating stack: ` + G.message + `
|
|
|
7957
7957
|
// Focused number inputs synchronize on blur. See ChangeEventPlugin.js
|
|
7958
7958
|
(f !== "number" || zr(l.ownerDocument) !== l) && (F == null ? l.defaultValue = Gt(l._wrapperState.initialValue) : l.defaultValue !== Gt(F) && (l.defaultValue = Gt(F)));
|
|
7959
7959
|
}
|
|
7960
|
-
var
|
|
7960
|
+
var kn = !1, Wn = !1;
|
|
7961
7961
|
function Ln(l) {
|
|
7962
7962
|
var f = "";
|
|
7963
7963
|
return e.Children.forEach(l, function(F) {
|
|
@@ -7967,7 +7967,7 @@ Error generating stack: ` + G.message + `
|
|
|
7967
7967
|
function di(l, f) {
|
|
7968
7968
|
typeof f.children == "object" && f.children !== null && e.Children.forEach(f.children, function(F) {
|
|
7969
7969
|
F != null && (typeof F == "string" || typeof F == "number" || typeof F.type == "string" && (Wn || (Wn = !0, o("Only strings and numbers are supported as <option> children."))));
|
|
7970
|
-
}), f.selected != null && !
|
|
7970
|
+
}), f.selected != null && !kn && (o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."), kn = !0);
|
|
7971
7971
|
}
|
|
7972
7972
|
function Vn(l, f) {
|
|
7973
7973
|
f.value != null && l.setAttribute("value", Gt(kt(f.value)));
|
|
@@ -19550,7 +19550,7 @@ function BH() {
|
|
|
19550
19550
|
const qv = /* @__PURE__ */ ir.createContext(null), hc = /* @__PURE__ */ ir.createContext(null), tp = (e, t = null) => e != null ? String(e) : t || null;
|
|
19551
19551
|
function VH(e) {
|
|
19552
19552
|
const t = vr(e);
|
|
19553
|
-
return
|
|
19553
|
+
return On(() => {
|
|
19554
19554
|
t.current = e;
|
|
19555
19555
|
}, [e]), t;
|
|
19556
19556
|
}
|
|
@@ -19599,7 +19599,7 @@ function DT({
|
|
|
19599
19599
|
unmountOnExit: a
|
|
19600
19600
|
}) {
|
|
19601
19601
|
const u = vr(null), o = vr(t), c = Qo(r);
|
|
19602
|
-
|
|
19602
|
+
On(() => {
|
|
19603
19603
|
t ? o.current = !0 : c(u.current);
|
|
19604
19604
|
}, [t, c]);
|
|
19605
19605
|
const i = cb(u, eg(e)), s = /* @__PURE__ */ ib(e, {
|
|
@@ -21217,7 +21217,7 @@ function qc(e, t) {
|
|
|
21217
21217
|
}
|
|
21218
21218
|
function $I(e) {
|
|
21219
21219
|
const t = vr(null);
|
|
21220
|
-
return
|
|
21220
|
+
return On(() => {
|
|
21221
21221
|
t.current = e;
|
|
21222
21222
|
}), t.current;
|
|
21223
21223
|
}
|
|
@@ -21227,7 +21227,7 @@ function XI() {
|
|
|
21227
21227
|
}
|
|
21228
21228
|
function cB(e, t, r, n = !1) {
|
|
21229
21229
|
const a = Qo(r);
|
|
21230
|
-
|
|
21230
|
+
On(() => {
|
|
21231
21231
|
const u = typeof e == "function" ? e() : e;
|
|
21232
21232
|
return u.addEventListener(t, a, n), () => u.removeEventListener(t, a, n);
|
|
21233
21233
|
}, [e]);
|
|
@@ -21290,7 +21290,7 @@ function Km(e, t) {
|
|
|
21290
21290
|
}
|
|
21291
21291
|
function ZI() {
|
|
21292
21292
|
const e = vr(!0), t = vr(() => e.current);
|
|
21293
|
-
return
|
|
21293
|
+
return On(() => (e.current = !0, () => {
|
|
21294
21294
|
e.current = !1;
|
|
21295
21295
|
}), []), t.current;
|
|
21296
21296
|
}
|
|
@@ -22252,13 +22252,13 @@ function bV(e, t, r = {}) {
|
|
|
22252
22252
|
});
|
|
22253
22253
|
}
|
|
22254
22254
|
}), [p, d, v]), C = Tr(() => (Km(i.current, o) || (i.current = o), i.current), [o]);
|
|
22255
|
-
return
|
|
22255
|
+
return On(() => {
|
|
22256
22256
|
!s.current || !n || s.current.setOptions({
|
|
22257
22257
|
placement: a,
|
|
22258
22258
|
strategy: u,
|
|
22259
22259
|
modifiers: [...C, m, mV]
|
|
22260
22260
|
});
|
|
22261
|
-
}, [u, a, m, n, C]),
|
|
22261
|
+
}, [u, a, m, n, C]), On(() => {
|
|
22262
22262
|
if (!(!n || e == null || t == null))
|
|
22263
22263
|
return s.current = pV(e, t, Object.assign({}, c, {
|
|
22264
22264
|
placement: a,
|
|
@@ -22304,7 +22304,7 @@ function xV(e, t = q3, {
|
|
|
22304
22304
|
}), i = Qo((s) => {
|
|
22305
22305
|
a.current || t(s);
|
|
22306
22306
|
});
|
|
22307
|
-
|
|
22307
|
+
On(() => {
|
|
22308
22308
|
var s, p;
|
|
22309
22309
|
if (r || e == null) return;
|
|
22310
22310
|
const d = Sy(Bx(e)), h = d.defaultView || window;
|
|
@@ -22664,9 +22664,9 @@ function My({
|
|
|
22664
22664
|
const O = qc(d.current, a)[0];
|
|
22665
22665
|
O && O.focus && O.focus();
|
|
22666
22666
|
});
|
|
22667
|
-
|
|
22667
|
+
On(() => {
|
|
22668
22668
|
s ? k() : S.current && (S.current = !1, D());
|
|
22669
|
-
}, [s, S, D, k]),
|
|
22669
|
+
}, [s, S, D, k]), On(() => {
|
|
22670
22670
|
w.current = null;
|
|
22671
22671
|
});
|
|
22672
22672
|
const M = (L, R) => {
|
|
@@ -22788,7 +22788,7 @@ function ng(e, t) {
|
|
|
22788
22788
|
}
|
|
22789
22789
|
function WV(e) {
|
|
22790
22790
|
const t = vr(e);
|
|
22791
|
-
return
|
|
22791
|
+
return On(() => {
|
|
22792
22792
|
t.current = e;
|
|
22793
22793
|
}, [e]), t;
|
|
22794
22794
|
}
|
|
@@ -22828,7 +22828,7 @@ const hL = /* @__PURE__ */ ir.forwardRef(({
|
|
|
22828
22828
|
hL.displayName = "DropdownHeader";
|
|
22829
22829
|
const UV = typeof global < "u" && // @ts-ignore
|
|
22830
22830
|
global.navigator && // @ts-ignore
|
|
22831
|
-
global.navigator.product === "ReactNative", jV = typeof document < "u", aF = jV || UV ? yu :
|
|
22831
|
+
global.navigator.product === "ReactNative", jV = typeof document < "u", aF = jV || UV ? yu : On, YV = ["onKeyDown"];
|
|
22832
22832
|
function $V(e, t) {
|
|
22833
22833
|
if (e == null) return {};
|
|
22834
22834
|
var r = {};
|
|
@@ -22899,7 +22899,7 @@ const vL = /* @__PURE__ */ ir.forwardRef(({
|
|
|
22899
22899
|
vL.displayName = "DropdownItemText";
|
|
22900
22900
|
const ZV = typeof global < "u" && // @ts-ignore
|
|
22901
22901
|
global.navigator && // @ts-ignore
|
|
22902
|
-
global.navigator.product === "ReactNative", KV = typeof document < "u", gL = KV || ZV ? yu :
|
|
22902
|
+
global.navigator.product === "ReactNative", KV = typeof document < "u", gL = KV || ZV ? yu : On, yb = /* @__PURE__ */ ir.createContext(null);
|
|
22903
22903
|
yb.displayName = "InputGroupContext";
|
|
22904
22904
|
const up = /* @__PURE__ */ ir.createContext(null);
|
|
22905
22905
|
up.displayName = "NavbarContext";
|
|
@@ -23192,7 +23192,7 @@ const oF = () => {
|
|
|
23192
23192
|
}
|
|
23193
23193
|
E && (S.preventDefault(), y(E.dataset[OV("EventKey")] || null, S), s.current = !0, i());
|
|
23194
23194
|
};
|
|
23195
|
-
|
|
23195
|
+
On(() => {
|
|
23196
23196
|
if (m.current && s.current) {
|
|
23197
23197
|
const S = m.current.querySelector(`[${sF}][aria-selected=true]`);
|
|
23198
23198
|
S == null || S.focus();
|
|
@@ -23508,7 +23508,7 @@ function uz(e) {
|
|
|
23508
23508
|
}
|
|
23509
23509
|
function cz(e) {
|
|
23510
23510
|
const t = uz(e);
|
|
23511
|
-
|
|
23511
|
+
On(() => () => t.current(), []);
|
|
23512
23512
|
}
|
|
23513
23513
|
function dz(e = document) {
|
|
23514
23514
|
const t = e.defaultView;
|
|
@@ -23571,8 +23571,8 @@ function fz(e, t) {
|
|
|
23571
23571
|
const u = zx(e);
|
|
23572
23572
|
u && a(u);
|
|
23573
23573
|
}
|
|
23574
|
-
return
|
|
23575
|
-
}, [t, n]),
|
|
23574
|
+
return On(() => {
|
|
23575
|
+
}, [t, n]), On(() => {
|
|
23576
23576
|
const u = zx(e);
|
|
23577
23577
|
u !== n && a(u);
|
|
23578
23578
|
}, [e, n]), n;
|
|
@@ -23786,14 +23786,14 @@ const EL = /* @__PURE__ */ sp((e, t) => {
|
|
|
23786
23786
|
(we = ie.current) == null || we.focus == null || we.focus(w), ie.current = null;
|
|
23787
23787
|
}
|
|
23788
23788
|
});
|
|
23789
|
-
|
|
23789
|
+
On(() => {
|
|
23790
23790
|
!r || !ee || ce();
|
|
23791
23791
|
}, [
|
|
23792
23792
|
r,
|
|
23793
23793
|
ee,
|
|
23794
23794
|
/* should never change: */
|
|
23795
23795
|
ce
|
|
23796
|
-
]),
|
|
23796
|
+
]), On(() => {
|
|
23797
23797
|
_ && $();
|
|
23798
23798
|
}, [_, $]), cz(() => {
|
|
23799
23799
|
$();
|
|
@@ -24072,7 +24072,7 @@ const OL = /* @__PURE__ */ ir.forwardRef(({
|
|
|
24072
24072
|
const O = vr();
|
|
24073
24073
|
e = mn(e, "offcanvas");
|
|
24074
24074
|
const [N, Y] = ur(!1), W = yf(h), ee = lz(u || "xs", "up");
|
|
24075
|
-
|
|
24075
|
+
On(() => {
|
|
24076
24076
|
Y(u ? o && !ee : o);
|
|
24077
24077
|
}, [o, u, ee]);
|
|
24078
24078
|
const re = Tr(() => ({
|
|
@@ -24368,14 +24368,14 @@ const V2 = Object.assign(WL, {
|
|
|
24368
24368
|
UL.displayName = "Spinner";
|
|
24369
24369
|
function bb(e, t) {
|
|
24370
24370
|
const [r, n] = ur(e);
|
|
24371
|
-
return
|
|
24371
|
+
return On(() => {
|
|
24372
24372
|
const a = setTimeout(() => n(e), t);
|
|
24373
24373
|
return () => clearTimeout(a);
|
|
24374
24374
|
}, [e, t]), r;
|
|
24375
24375
|
}
|
|
24376
24376
|
const jL = (e) => {
|
|
24377
24377
|
const [t, r] = ur(!1);
|
|
24378
|
-
return
|
|
24378
|
+
return On(() => {
|
|
24379
24379
|
const n = setTimeout(
|
|
24380
24380
|
() => r(!0),
|
|
24381
24381
|
e === void 0 ? 500 : e
|
|
@@ -24384,16 +24384,16 @@ const jL = (e) => {
|
|
|
24384
24384
|
}), t;
|
|
24385
24385
|
}, Oz = (e, t, r) => {
|
|
24386
24386
|
const [n, a] = ur(e);
|
|
24387
|
-
return
|
|
24387
|
+
return On(() => {
|
|
24388
24388
|
const u = setInterval(() => {
|
|
24389
24389
|
a((o) => (o + 1) % (t + 1));
|
|
24390
24390
|
}, 200);
|
|
24391
24391
|
return () => clearInterval(u);
|
|
24392
24392
|
}), n;
|
|
24393
24393
|
}, YL = (e, t, r, n, a) => {
|
|
24394
|
-
|
|
24394
|
+
On(() => {
|
|
24395
24395
|
e !== null && n();
|
|
24396
|
-
}, [n, e]),
|
|
24396
|
+
}, [n, e]), On(() => {
|
|
24397
24397
|
a(
|
|
24398
24398
|
r ? new Date(r).toLocaleString() : t ? new Date(t).toLocaleString() : null
|
|
24399
24399
|
);
|
|
@@ -24401,9 +24401,9 @@ const jL = (e) => {
|
|
|
24401
24401
|
};
|
|
24402
24402
|
function lc(e, t, r) {
|
|
24403
24403
|
const { getItem: n, setItem: a } = e, [u, o] = ur(() => (n && n(t)) ?? r), c = bb(u, 500);
|
|
24404
|
-
return
|
|
24404
|
+
return On(() => {
|
|
24405
24405
|
a && a(t, c);
|
|
24406
|
-
}, [a, t, c]),
|
|
24406
|
+
}, [a, t, c]), On(() => () => {
|
|
24407
24407
|
a && a(t, null);
|
|
24408
24408
|
}, [a, t]), [u, o];
|
|
24409
24409
|
}
|
|
@@ -24902,7 +24902,7 @@ function ak(e) {
|
|
|
24902
24902
|
r(!1);
|
|
24903
24903
|
}, 2e3);
|
|
24904
24904
|
};
|
|
24905
|
-
return
|
|
24905
|
+
return On(() => () => {
|
|
24906
24906
|
r(!1);
|
|
24907
24907
|
}, []), /* @__PURE__ */ cr(
|
|
24908
24908
|
oi,
|
|
@@ -27866,7 +27866,7 @@ function Cj(e) {
|
|
|
27866
27866
|
}, [v, h, d]), C = Zr(function(y) {
|
|
27867
27867
|
y && (y.removeEventListener("wheel", d, !1), y.removeEventListener("touchstart", h, !1), y.removeEventListener("touchmove", v, !1));
|
|
27868
27868
|
}, [v, h, d]);
|
|
27869
|
-
return
|
|
27869
|
+
return On(function() {
|
|
27870
27870
|
if (t) {
|
|
27871
27871
|
var y = s.current;
|
|
27872
27872
|
return m(y), function() {
|
|
@@ -27926,7 +27926,7 @@ function bj(e) {
|
|
|
27926
27926
|
}), s && UF() && (s.removeEventListener("touchmove", zF, Av), i && (i.removeEventListener("touchstart", WF, Av), i.removeEventListener("touchmove", _F, Av)));
|
|
27927
27927
|
}
|
|
27928
27928
|
}, [n]);
|
|
27929
|
-
return
|
|
27929
|
+
return On(function() {
|
|
27930
27930
|
if (t) {
|
|
27931
27931
|
var i = u.current;
|
|
27932
27932
|
return o(i), function() {
|
|
@@ -29636,7 +29636,7 @@ function nY(e) {
|
|
|
29636
29636
|
}
|
|
29637
29637
|
function iY(e) {
|
|
29638
29638
|
const t = nY(e);
|
|
29639
|
-
|
|
29639
|
+
On(() => () => t.current(), []);
|
|
29640
29640
|
}
|
|
29641
29641
|
const s4 = /* @__PURE__ */ ir.forwardRef(({
|
|
29642
29642
|
className: e,
|
|
@@ -30259,11 +30259,8 @@ const p4 = (e) => {
|
|
|
30259
30259
|
};
|
|
30260
30260
|
p4.displayName = "Tabs";
|
|
30261
30261
|
function Fb({ children: e, ...t }) {
|
|
30262
|
-
const
|
|
30263
|
-
return
|
|
30264
|
-
const a = document.querySelector(".Onyx");
|
|
30265
|
-
a instanceof HTMLElement && n(a);
|
|
30266
|
-
}, []), /* @__PURE__ */ Se(ko, { ...t, container: r || void 0, centered: !0, children: e });
|
|
30262
|
+
const r = vr(null);
|
|
30263
|
+
return /* @__PURE__ */ Se("div", { ref: r, children: /* @__PURE__ */ Se(ko, { ...t, container: r, centered: !0, children: e }) });
|
|
30267
30264
|
}
|
|
30268
30265
|
function v4(e) {
|
|
30269
30266
|
return /* @__PURE__ */ cr(qn, { children: [
|
|
@@ -30641,7 +30638,7 @@ const y4 = ({ className: e, name: t, value: r, setValue: n, handleKeyPress: a, s
|
|
|
30641
30638
|
}, autoFocus: !0 }) : Se("span", { onDoubleClick: () => a(!0), className: "jer-value-boolean", style: s("boolean", o), children: String(e) });
|
|
30642
30639
|
}, GY = ({ value: e, isEditing: t, setIsEditing: r, handleEdit: n, nodeData: a, handleKeyboard: u, keyboardCommon: o }) => {
|
|
30643
30640
|
const { getStyles: c } = mc(), i = vr();
|
|
30644
|
-
|
|
30641
|
+
On(() => {
|
|
30645
30642
|
if (t) return i.current = window.setTimeout(() => window.addEventListener("keydown", s), 100), () => window.removeEventListener("keydown", s);
|
|
30646
30643
|
window.clearTimeout(i.current);
|
|
30647
30644
|
}, [t]);
|
|
@@ -30775,7 +30772,7 @@ const y4 = ({ className: e, name: t, value: r, setValue: n, handleKeyPress: a, s
|
|
|
30775
30772
|
const Ge = u({ currentData: Y.fullData, newValue: Re, currentValue: R, name: ee, path: W });
|
|
30776
30773
|
O(Ge);
|
|
30777
30774
|
}, [u]);
|
|
30778
|
-
|
|
30775
|
+
On(() => {
|
|
30779
30776
|
O(typeof t == "function" ? K2 : t), ve(d1(t, oe));
|
|
30780
30777
|
}, [t, _]);
|
|
30781
30778
|
const { CustomNode: Me, customNodeProps: He, hideKey: we, showEditTools: Ee = !0, showOnEdit: De, showOnView: K } = oe, te = [...$Y, ...g.filter(({ showInTypesSelector: Re = !1, name: Ge }) => Re && !!Ge).map(({ name: Re }) => Re)], se = Tr(() => {
|
|
@@ -30895,12 +30892,12 @@ const y4 = ({ className: e, name: t, value: r, setValue: n, handleKeyPress: a, s
|
|
|
30895
30892
|
}
|
|
30896
30893
|
}, maxHeight: Ft, collapsed: lr, cssTransitionValue: br };
|
|
30897
30894
|
})(s, w, _, i), { pathString: le, nodeData: oe, path: ue, name: ve, size: be, canEdit: Me, canDelete: He, canAdd: we, canDrag: Ee, error: De, setError: K, onError: te, handleEditKey: se, derivedValues: U } = A4({ props: e, collapsed: $ }), { dragSourceProps: V, getDropTargetProps: de, BottomDropTarget: X, DropTargetPadding: he } = E4({ canDrag: Ee, canDragOnto: y, path: ue, nodeData: oe, onMove: S, onError: te, translate: L }), ge = vr(!_);
|
|
30898
|
-
|
|
30895
|
+
On(() => {
|
|
30899
30896
|
Z(N(s)), Ct && o(null);
|
|
30900
|
-
}, [s]),
|
|
30897
|
+
}, [s]), On(() => {
|
|
30901
30898
|
const St = g(oe) && !U.isEditing;
|
|
30902
30899
|
ge.current = !St, j(St);
|
|
30903
|
-
}, [g]),
|
|
30900
|
+
}, [g]), On(() => {
|
|
30904
30901
|
r !== null && a(ue) && (ge.current = !0, j(r.collapsed));
|
|
30905
30902
|
}, [r]);
|
|
30906
30903
|
const xe = vr(null), Fe = Tr(() => (St, wt) => typeof M != "function" ? M : M(St, wt), [M]), { CustomNode: Be, customNodeProps: Ve, CustomWrapper: Ze, wrapperProps: Qe = {}, hideKey: qe, showEditTools: Re = !0, showOnEdit: Ge, showOnView: Le, showCollectionWrapper: _e = !0 } = Tr(() => R4(R, oe), [s]), ot = c(le);
|
|
@@ -30997,11 +30994,11 @@ const qY = ({ data: e, setData: t, rootName: r = "root", onUpdate: n = () => {
|
|
|
30997
30994
|
const [Ve, Ze] = ur(Fe ? void 0 : Be), Qe = Zr((qe) => {
|
|
30998
30995
|
Fe ? Fe(qe) : Ze(qe);
|
|
30999
30996
|
}, [Fe]);
|
|
31000
|
-
return
|
|
30997
|
+
return On(() => {
|
|
31001
30998
|
Fe || Ze(Be);
|
|
31002
30999
|
}, [Be]), [Fe ? Be : Ve, Qe];
|
|
31003
31000
|
})({ setData: t, data: e }), we = vr(null);
|
|
31004
|
-
|
|
31001
|
+
On(() => {
|
|
31005
31002
|
le(null);
|
|
31006
31003
|
const Fe = setTimeout(() => be(x), T);
|
|
31007
31004
|
return () => clearTimeout(Fe);
|
|
@@ -31056,7 +31053,7 @@ const qY = ({ data: e, setData: t, rootName: r = "root", onUpdate: n = () => {
|
|
|
31056
31053
|
}, e$ = (e) => {
|
|
31057
31054
|
var t;
|
|
31058
31055
|
const [r, n] = ur();
|
|
31059
|
-
return
|
|
31056
|
+
return On(() => {
|
|
31060
31057
|
const a = document.documentElement;
|
|
31061
31058
|
n(a);
|
|
31062
31059
|
}, []), r ? Se(DY, { theme: (t = e.theme) !== null && t !== void 0 ? t : kR, icons: e.icons, docRoot: r, children: Se(LY, { children: Se(qY, Object.assign({}, e)) }) }) : null;
|
|
@@ -61636,7 +61633,7 @@ var x5 = sp((e, t) => {
|
|
|
61636
61633
|
}
|
|
61637
61634
|
}), kne = (e) => {
|
|
61638
61635
|
const { initialProps: t, addUpdateCallback: r, CustomComponentClass: n, setMethods: a } = e, [{ key: u, ...o }, c] = ur(t);
|
|
61639
|
-
return
|
|
61636
|
+
return On(() => {
|
|
61640
61637
|
r((i) => c(i));
|
|
61641
61638
|
}, []), /* @__PURE__ */ Fr.createElement(bA.Provider, { value: { setMethods: a } }, /* @__PURE__ */ Fr.createElement(n, { key: u, ...o }));
|
|
61642
61639
|
}, One = ks(kne), Nne = 0;
|
|
@@ -62067,7 +62064,7 @@ var Xne = 1e3, Zne = class {
|
|
|
62067
62064
|
yu(
|
|
62068
62065
|
() => Vy(a, r, s.current, p),
|
|
62069
62066
|
[a]
|
|
62070
|
-
),
|
|
62067
|
+
), On(() => {
|
|
62071
62068
|
e.setDragSource(c.current);
|
|
62072
62069
|
}, [a]);
|
|
62073
62070
|
const v = Tr(() => !!((a == null ? void 0 : a.componentFromFramework) && fg(a.componentClass)), [a]), m = a && a.componentFromFramework, C = a && a.componentClass;
|
|
@@ -62162,7 +62159,7 @@ var Xne = 1e3, Zne = class {
|
|
|
62162
62159
|
};
|
|
62163
62160
|
e.setComp(k, D, C.current, y.current, v.current);
|
|
62164
62161
|
}, []);
|
|
62165
|
-
yu(() => Vy(p, t, y.current), [p]),
|
|
62162
|
+
yu(() => Vy(p, t, y.current), [p]), On(() => {
|
|
62166
62163
|
m.current && e.setDragSource(m.current);
|
|
62167
62164
|
}, [p]);
|
|
62168
62165
|
const S = Tr(() => !!((p == null ? void 0 : p.componentFromFramework) && fg(p.componentClass)), [p]), E = Tr(() => "ag-header-group-cell " + r.toString(), [r]), x = Tr(
|
|
@@ -62262,7 +62259,7 @@ var Xne = 1e3, Zne = class {
|
|
|
62262
62259
|
);
|
|
62263
62260
|
return /* @__PURE__ */ Fr.createElement("div", { ref: c, className: i, style: s, role: "presentation" }, /* @__PURE__ */ Fr.createElement(C2, { pinned: "left" }), /* @__PURE__ */ Fr.createElement(C2, { pinned: null }), /* @__PURE__ */ Fr.createElement(C2, { pinned: "right" }));
|
|
62264
62261
|
}, oie = ks(aie), sie = (e, t) => {
|
|
62265
|
-
|
|
62262
|
+
On(() => {
|
|
62266
62263
|
const r = t.current;
|
|
62267
62264
|
if (r) {
|
|
62268
62265
|
const n = r.parentElement;
|
|
@@ -62312,7 +62309,7 @@ var Xne = 1e3, Zne = class {
|
|
|
62312
62309
|
}
|
|
62313
62310
|
}, uie = (e) => {
|
|
62314
62311
|
const t = vr(e), r = vr(), n = vr(!1), a = vr(!1), [, u] = ur(0);
|
|
62315
|
-
n.current && (a.current = !0),
|
|
62312
|
+
n.current && (a.current = !0), On(() => (n.current || (r.current = t.current(), n.current = !0), u((o) => o + 1), () => {
|
|
62316
62313
|
var o;
|
|
62317
62314
|
a.current && ((o = r.current) == null || o.call(r));
|
|
62318
62315
|
}), []);
|
|
@@ -62356,7 +62353,7 @@ var Xne = 1e3, Zne = class {
|
|
|
62356
62353
|
const s = i.getGui();
|
|
62357
62354
|
s && s.parentElement && s.parentElement.removeChild(s), o.destroyBean(i), a.current = void 0;
|
|
62358
62355
|
}, []);
|
|
62359
|
-
|
|
62356
|
+
On(() => {
|
|
62360
62357
|
const i = e != null, s = (e == null ? void 0 : e.compDetails) && !e.compDetails.componentFromFramework, p = t && r == null;
|
|
62361
62358
|
if (!(i && s && !p)) {
|
|
62362
62359
|
c();
|
|
@@ -62378,7 +62375,7 @@ var Xne = 1e3, Zne = class {
|
|
|
62378
62375
|
return;
|
|
62379
62376
|
(t ? r : u.current).appendChild(C), a.current = m;
|
|
62380
62377
|
});
|
|
62381
|
-
}, [e, t, n]),
|
|
62378
|
+
}, [e, t, n]), On(() => c, []);
|
|
62382
62379
|
}, fie = die, hie = (e, t, r) => {
|
|
62383
62380
|
const { compProxy: n } = e;
|
|
62384
62381
|
r(n);
|
|
@@ -62554,7 +62551,7 @@ var Xne = 1e3, Zne = class {
|
|
|
62554
62551
|
), [D, k] = ur(
|
|
62555
62552
|
() => c ? e.getInitialTransform(t) : void 0
|
|
62556
62553
|
), M = vr(null), L = vr(), R = vr(!1), [O, N] = ur(0);
|
|
62557
|
-
|
|
62554
|
+
On(() => {
|
|
62558
62555
|
var $;
|
|
62559
62556
|
if (R.current || !E || O > 10)
|
|
62560
62557
|
return;
|
|
@@ -62607,7 +62604,7 @@ var Xne = 1e3, Zne = class {
|
|
|
62607
62604
|
const ce = { top: T, transform: D };
|
|
62608
62605
|
return Object.assign(ce, m), ce;
|
|
62609
62606
|
}, [T, D, m]), re = o && (E == null ? void 0 : E.componentFromFramework), z = !o && w != null, Z = Tr(() => !!((E == null ? void 0 : E.componentFromFramework) && fg(E.componentClass)), [E]), _ = vr(!1);
|
|
62610
|
-
|
|
62607
|
+
On(() => {
|
|
62611
62608
|
_.current = Z && !!E && !!n.get("reactiveCustomComponents");
|
|
62612
62609
|
}, [Z, E]);
|
|
62613
62610
|
const J = () => w == null ? void 0 : w.map((ce) => /* @__PURE__ */ Fr.createElement(
|
|
@@ -62913,7 +62910,7 @@ var Xne = 1e3, Zne = class {
|
|
|
62913
62910
|
};
|
|
62914
62911
|
Y.setComp(W, N, N), h(!0);
|
|
62915
62912
|
}, []);
|
|
62916
|
-
|
|
62913
|
+
On(() => {
|
|
62917
62914
|
const N = C.current, Y = y.current;
|
|
62918
62915
|
if (!v || !D || !N || !w || !Y)
|
|
62919
62916
|
return;
|
|
@@ -63069,7 +63066,7 @@ var Xne = 1e3, Zne = class {
|
|
|
63069
63066
|
var w;
|
|
63070
63067
|
s.current && !((w = c.current) != null && w.shouldQueueUpdates()) ? g() : u.current.push(g);
|
|
63071
63068
|
}, []);
|
|
63072
|
-
return
|
|
63069
|
+
return On(() => {
|
|
63073
63070
|
const g = Fie(o.current, e);
|
|
63074
63071
|
o.current = e, C(() => {
|
|
63075
63072
|
t.current && J$(g, t.current);
|
|
@@ -63673,7 +63670,7 @@ function I5(e) {
|
|
|
63673
63670
|
return ((g = e.fields.get(y)) == null ? void 0 : g.type) === "structure";
|
|
63674
63671
|
}
|
|
63675
63672
|
), [s, e.fields]);
|
|
63676
|
-
|
|
63673
|
+
On(() => {
|
|
63677
63674
|
(s == null ? void 0 : s.status) === "success" && s.data.is_published === !1 && e.setUnpublished();
|
|
63678
63675
|
}, [s, e]);
|
|
63679
63676
|
const m = Tr(
|
|
@@ -69307,8 +69304,8 @@ var _5 = { exports: {} };
|
|
|
69307
69304
|
gd: U
|
|
69308
69305
|
});
|
|
69309
69306
|
if (Pn)
|
|
69310
|
-
for (var
|
|
69311
|
-
|
|
69307
|
+
for (var kn, Wn = 0; Wn < Pn.length; Wn++)
|
|
69308
|
+
kn = Pn[Wn], p(kn.x0) && p(kn.y0) && rt.push(ve(kn, qe));
|
|
69312
69309
|
} else
|
|
69313
69310
|
h.log("Unrecognized trace type in hover:", Ye);
|
|
69314
69311
|
if (qe === "closest" && rt.length > ut && (rt.splice(0, ut), br = rt[0].distance), Qe && Wt !== 0 && rt.length === 0) {
|
|
@@ -69339,8 +69336,8 @@ var _5 = { exports: {} };
|
|
|
69339
69336
|
}
|
|
69340
69337
|
wr();
|
|
69341
69338
|
function Ur(pn, bi, yn) {
|
|
69342
|
-
for (var Pn = null,
|
|
69343
|
-
Le && Le._id !== pn[Ln].xa._id || _e && _e._id !== pn[Ln].ya._id || (Wn = pn[Ln].spikeDistance, yn && Ln === 0 && (Wn = -1 / 0), Wn <=
|
|
69339
|
+
for (var Pn = null, kn = 1 / 0, Wn, Ln = 0; Ln < pn.length; Ln++)
|
|
69340
|
+
Le && Le._id !== pn[Ln].xa._id || _e && _e._id !== pn[Ln].ya._id || (Wn = pn[Ln].spikeDistance, yn && Ln === 0 && (Wn = -1 / 0), Wn <= kn && Wn <= bi && (Pn = pn[Ln], kn = Wn));
|
|
69344
69341
|
return Pn;
|
|
69345
69342
|
}
|
|
69346
69343
|
function Ar(pn) {
|
|
@@ -84339,12 +84336,12 @@ var _5 = { exports: {} };
|
|
|
84339
84336
|
for (var bi = Ut.map(function(ua) {
|
|
84340
84337
|
return ua.value;
|
|
84341
84338
|
}), yn = [], Pn = 0; Pn < _t.length; Pn++) {
|
|
84342
|
-
var
|
|
84339
|
+
var kn = _t[Pn], Wn = kn.value;
|
|
84343
84340
|
if (bi.indexOf(Wn) === -1) {
|
|
84344
84341
|
for (var Ln = !1, di = 0; !Ln && di < Ut.length; di++)
|
|
84345
84342
|
// add 10e6 to eliminate problematic digits
|
|
84346
84343
|
1e7 + Ut[di].value === 1e7 + Wn && (Ln = !0);
|
|
84347
|
-
Ln || yn.push(
|
|
84344
|
+
Ln || yn.push(kn);
|
|
84348
84345
|
}
|
|
84349
84346
|
}
|
|
84350
84347
|
_t = yn;
|
|
@@ -84886,7 +84883,7 @@ var _5 = { exports: {} };
|
|
|
84886
84883
|
}
|
|
84887
84884
|
}
|
|
84888
84885
|
}
|
|
84889
|
-
var
|
|
84886
|
+
var kn, Wn = we.getTickSigns(ae), Ln = we.getTickSigns(ae, "minor");
|
|
84890
84887
|
if (ae.ticks || ae.minor && ae.minor.ticks) {
|
|
84891
84888
|
var di = we.makeTickPath(ae, rr, Wn[2]), Vn = we.makeTickPath(ae, rr, Ln[2], {
|
|
84892
84889
|
minor: !0
|
|
@@ -84897,18 +84894,18 @@ var _5 = { exports: {} };
|
|
|
84897
84894
|
var ma = {};
|
|
84898
84895
|
for (xt = 0; xt < Oi.length; xt++)
|
|
84899
84896
|
ma[Oi[xt].x] = 1;
|
|
84900
|
-
|
|
84897
|
+
kn = function(Ki) {
|
|
84901
84898
|
return ma[Ki.x] ? hi : wi;
|
|
84902
84899
|
};
|
|
84903
84900
|
} else
|
|
84904
|
-
|
|
84901
|
+
kn = function(Ki) {
|
|
84905
84902
|
return Ki.minor ? ri : wi;
|
|
84906
84903
|
};
|
|
84907
84904
|
}
|
|
84908
84905
|
if (we.drawTicks(Te, ae, {
|
|
84909
84906
|
vals: an,
|
|
84910
84907
|
layer: Ut,
|
|
84911
|
-
path:
|
|
84908
|
+
path: kn,
|
|
84912
84909
|
transFn: zr
|
|
84913
84910
|
}), ae.mirror === "allticks") {
|
|
84914
84911
|
var Wi = Object.keys(ae._linepositions || {});
|
|
@@ -85249,7 +85246,7 @@ var _5 = { exports: {} };
|
|
|
85249
85246
|
return yn.text;
|
|
85250
85247
|
}), vt = ft.labelFns, dt = ft.secondary ? 0 : ae.tickangle, Tt = (ae._prevTickAngles || {})[xt], It = ft.layer.selectAll("g." + xt).data(ae.showticklabels ? bt : [], ht), Gt = [];
|
|
85251
85248
|
It.enter().append("g").classed(xt, 1).append("text").attr("text-anchor", "middle").each(function(yn) {
|
|
85252
|
-
var Pn = s.select(this),
|
|
85249
|
+
var Pn = s.select(this), kn = Te._promises.length;
|
|
85253
85250
|
Pn.call(C.positionText, vt.xFn(yn), vt.yFn(yn)).call(w.font, {
|
|
85254
85251
|
family: yn.font,
|
|
85255
85252
|
size: yn.fontSize,
|
|
@@ -85260,15 +85257,15 @@ var _5 = { exports: {} };
|
|
|
85260
85257
|
textcase: yn.fontTextcase,
|
|
85261
85258
|
lineposition: yn.fontLineposition,
|
|
85262
85259
|
shadow: yn.fontShadow
|
|
85263
|
-
}).text(yn.text).call(C.convertToTspans, Te), Te._promises[
|
|
85260
|
+
}).text(yn.text).call(C.convertToTspans, Te), Te._promises[kn] ? Gt.push(Te._promises.pop().then(function() {
|
|
85264
85261
|
kt(Pn, dt);
|
|
85265
85262
|
})) : kt(Pn, dt);
|
|
85266
85263
|
}), nn(ae, [ne]), It.exit().remove(), ft.repositionOnUpdate && It.each(function(yn) {
|
|
85267
85264
|
s.select(this).select("text").call(C.positionText, vt.xFn(yn), vt.yFn(yn));
|
|
85268
85265
|
});
|
|
85269
85266
|
function kt(yn, Pn) {
|
|
85270
|
-
yn.each(function(
|
|
85271
|
-
var Wn = s.select(this), Ln = Wn.select(".text-math-group"), di = vt.anchorFn(
|
|
85267
|
+
yn.each(function(kn) {
|
|
85268
|
+
var Wn = s.select(this), Ln = Wn.select(".text-math-group"), di = vt.anchorFn(kn, Pn), Vn = ft.transFn.call(Wn.node(), kn) + (p(Pn) && +Pn != 0 ? " rotate(" + Pn + "," + vt.xFn(kn) + "," + (vt.yFn(kn) - kn.fontSize / 2) + ")" : ""), hi = C.lineCount(Wn), _i = be * kn.fontSize, wi = vt.heightFn(kn, p(Pn) ? +Pn : 0, (hi - 1) * _i);
|
|
85272
85269
|
if (wi && (Vn += m(0, wi)), Ln.empty()) {
|
|
85273
85270
|
var ri = Wn.select("text");
|
|
85274
85271
|
ri.attr({
|
|
@@ -85287,7 +85284,7 @@ var _5 = { exports: {} };
|
|
|
85287
85284
|
ae._adjustTickLabelsOverflow = function() {
|
|
85288
85285
|
var yn = ae.ticklabeloverflow;
|
|
85289
85286
|
if (!(!yn || yn === "allow")) {
|
|
85290
|
-
var Pn = yn.indexOf("hide") !== -1,
|
|
85287
|
+
var Pn = yn.indexOf("hide") !== -1, kn = ae._id.charAt(0) === "x", Wn = 0, Ln = kn ? Te._fullLayout.width : Te._fullLayout.height;
|
|
85291
85288
|
if (yn.indexOf("domain") !== -1) {
|
|
85292
85289
|
var di = v.simpleMap(ae.range, ae.r2l);
|
|
85293
85290
|
Wn = ae.l2p(di[0]) + ae._offset, Ln = ae.l2p(di[1]) + ae._offset;
|
|
@@ -85297,26 +85294,26 @@ var _5 = { exports: {} };
|
|
|
85297
85294
|
var ha = s.select(this), $a = ha.select(".text-math-group");
|
|
85298
85295
|
if ($a.empty()) {
|
|
85299
85296
|
var ua = w.bBox(ha.node()), ca = 0;
|
|
85300
|
-
|
|
85297
|
+
kn ? (ua.right > hi || ua.left < Vn) && (ca = 1) : (ua.bottom > hi || ua.top + (ae.tickangle ? 0 : Zi.fontSize / 4) < Vn) && (ca = 1);
|
|
85301
85298
|
var co = ha.select("text");
|
|
85302
|
-
ca ? Pn && co.style("opacity", 0) : (co.style("opacity", 1), _i === "bottom" || _i === "right" ? wi = Math.min(wi,
|
|
85299
|
+
ca ? Pn && co.style("opacity", 0) : (co.style("opacity", 1), _i === "bottom" || _i === "right" ? wi = Math.min(wi, kn ? ua.top : ua.left) : wi = -1 / 0, _i === "top" || _i === "left" ? ri = Math.max(ri, kn ? ua.bottom : ua.right) : ri = 1 / 0);
|
|
85303
85300
|
}
|
|
85304
85301
|
});
|
|
85305
85302
|
for (var ma in it._plots) {
|
|
85306
85303
|
var Wi = it._plots[ma];
|
|
85307
85304
|
if (!(ae._id !== Wi.xaxis._id && ae._id !== Wi.yaxis._id)) {
|
|
85308
|
-
var Fi =
|
|
85305
|
+
var Fi = kn ? Wi.yaxis : Wi.xaxis;
|
|
85309
85306
|
Fi && (Fi["_visibleLabelMin_" + ae._id] = wi, Fi["_visibleLabelMax_" + ae._id] = ri);
|
|
85310
85307
|
}
|
|
85311
85308
|
}
|
|
85312
85309
|
}
|
|
85313
85310
|
}, ae._hideCounterAxisInsideTickLabels = function(yn) {
|
|
85314
|
-
var Pn = ae._id.charAt(0) === "x",
|
|
85311
|
+
var Pn = ae._id.charAt(0) === "x", kn = [];
|
|
85315
85312
|
for (var Wn in it._plots) {
|
|
85316
85313
|
var Ln = it._plots[Wn];
|
|
85317
|
-
ae._id !== Ln.xaxis._id && ae._id !== Ln.yaxis._id ||
|
|
85314
|
+
ae._id !== Ln.xaxis._id && ae._id !== Ln.yaxis._id || kn.push(Pn ? Ln.yaxis : Ln.xaxis);
|
|
85318
85315
|
}
|
|
85319
|
-
|
|
85316
|
+
kn.forEach(function(di, Vn) {
|
|
85320
85317
|
di && Br(di) && (yn || [ie, $, ce, j, ne]).forEach(function(hi) {
|
|
85321
85318
|
var _i = hi.K === "tick" && hi.L === "text" && ae.ticklabelmode === "period", wi = it._plots[ae._mainSubplot], ri;
|
|
85322
85319
|
hi.K === ie.K ? ri = wi.zerolinelayer.selectAll("." + ae._id + "zl") : hi.K === $.K ? ri = wi.minorGridlayer.selectAll("." + ae._id) : hi.K === ce.K ? ri = wi.gridlayer.selectAll("." + ae._id) : ri = wi[ae._id.charAt(0) + "axislayer"], ri.each(function() {
|
|
@@ -85336,7 +85333,7 @@ var _5 = { exports: {} };
|
|
|
85336
85333
|
function _t() {
|
|
85337
85334
|
if (kt(It, dt), bt.length && ae.autotickangles && (ae.type !== "log" || String(ae.dtick).charAt(0) !== "D")) {
|
|
85338
85335
|
Ut = ae.autotickangles[0];
|
|
85339
|
-
var yn = 0, Pn = [],
|
|
85336
|
+
var yn = 0, Pn = [], kn, Wn = 1;
|
|
85340
85337
|
It.each(function(ui) {
|
|
85341
85338
|
yn = Math.max(yn, ui.fontSize);
|
|
85342
85339
|
var Gi = ae.l2p(ui.x), no = Mr(this), So = w.bBox(no.node());
|
|
@@ -85362,8 +85359,8 @@ var _5 = { exports: {} };
|
|
|
85362
85359
|
var Fi = Wi * (180 / Math.PI);
|
|
85363
85360
|
if (Ln) {
|
|
85364
85361
|
var Zi = 2;
|
|
85365
|
-
for (ae.ticks && (Zi += ae.tickwidth / 2),
|
|
85366
|
-
var ha = bt[
|
|
85362
|
+
for (ae.ticks && (Zi += ae.tickwidth / 2), kn = 0; kn < Pn.length; kn++) {
|
|
85363
|
+
var ha = bt[kn].xbnd, $a = Pn[kn];
|
|
85367
85364
|
if (ha[0] !== null && $a.left - ae.l2p(ha[0]) < Zi || ha[1] !== null && ae.l2p(ha[1]) - $a.right < Zi) {
|
|
85368
85365
|
Ut = Fi;
|
|
85369
85366
|
break;
|
|
@@ -85373,8 +85370,8 @@ var _5 = { exports: {} };
|
|
|
85373
85370
|
var ua = ae.ticklabelposition || "", ca = function(ui) {
|
|
85374
85371
|
return ua.indexOf(ui) !== -1;
|
|
85375
85372
|
}, co = ca("top"), qo = ca("left"), Ki = ca("right"), Ui = ca("bottom"), ya = Ui || qo || co || Ki, Ca = ya ? (ae.tickwidth || 0) + 2 * He : 0;
|
|
85376
|
-
for (
|
|
85377
|
-
if (v.bBoxIntersect(Pn[
|
|
85373
|
+
for (kn = 0; kn < Pn.length - 1; kn++)
|
|
85374
|
+
if (v.bBoxIntersect(Pn[kn], Pn[kn + 1], Ca)) {
|
|
85378
85375
|
Ut = Fi;
|
|
85379
85376
|
break;
|
|
85380
85377
|
}
|
|
@@ -85391,7 +85388,7 @@ var _5 = { exports: {} };
|
|
|
85391
85388
|
});
|
|
85392
85389
|
var nr = function() {
|
|
85393
85390
|
var yn = 0, Pn = 0;
|
|
85394
|
-
return It.each(function(
|
|
85391
|
+
return It.each(function(kn, Wn) {
|
|
85395
85392
|
var Ln = Mr(this), di = Ln.select(".text-math-group");
|
|
85396
85393
|
if (di.empty()) {
|
|
85397
85394
|
var Vn;
|
|
@@ -97275,12 +97272,12 @@ var _5 = { exports: {} };
|
|
|
97275
97272
|
}, Pn.clip = function(A) {
|
|
97276
97273
|
for (var B, Q = Ln(A), fe = -1, pe = this.length - Ln(this), ye, Oe, Pe = this[pe - 1], ze, Je, et; ++fe < pe; ) {
|
|
97277
97274
|
for (B = A.slice(), A.length = 0, ze = this[fe], Je = B[(Oe = B.length - Q) - 1], ye = -1; ++ye < Oe; )
|
|
97278
|
-
et = B[ye],
|
|
97275
|
+
et = B[ye], kn(et, Pe, ze) ? (kn(Je, Pe, ze) || A.push(Wn(Je, et, Pe, ze)), A.push(et)) : kn(Je, Pe, ze) && A.push(Wn(Je, et, Pe, ze)), Je = et;
|
|
97279
97276
|
Q && A.push(A[0]), Pe = ze;
|
|
97280
97277
|
}
|
|
97281
97278
|
return A;
|
|
97282
97279
|
};
|
|
97283
|
-
function
|
|
97280
|
+
function kn(A, B, Q) {
|
|
97284
97281
|
return (Q[0] - B[0]) * (A[1] - B[1]) < (Q[1] - B[1]) * (A[0] - B[0]);
|
|
97285
97282
|
}
|
|
97286
97283
|
function Wn(A, B, Q, fe) {
|
|
@@ -112648,7 +112645,7 @@ function Hae(e) {
|
|
|
112648
112645
|
),
|
|
112649
112646
|
[e.columns, c]
|
|
112650
112647
|
), s = Tr(() => `${n.size} column${n.size !== 1 ? "s" : ""} selected. ${n.size ? "" : "All columns will be displayed."}`, [n]);
|
|
112651
|
-
|
|
112648
|
+
On(() => {
|
|
112652
112649
|
a(new Set(e.activeColumns));
|
|
112653
112650
|
}, [e.activeColumns]);
|
|
112654
112651
|
const p = (m) => {
|
|
@@ -112739,7 +112736,7 @@ function Bae(e) {
|
|
|
112739
112736
|
},
|
|
112740
112737
|
[t, e]
|
|
112741
112738
|
), c = () => e.setWidth(e.defaultWidth);
|
|
112742
|
-
return
|
|
112739
|
+
return On(() => (t ? (document.addEventListener("mousemove", o), document.addEventListener("mouseup", u), document.body.style.cursor = "col-resize", document.body.style.userSelect = "none") : (document.removeEventListener("mousemove", o), document.removeEventListener("mouseup", u), document.body.style.cursor = "", document.body.style.userSelect = ""), () => {
|
|
112743
112740
|
document.removeEventListener("mousemove", o), document.removeEventListener("mouseup", u), document.body.style.cursor = "", document.body.style.userSelect = "";
|
|
112744
112741
|
}), [t, o]), /* @__PURE__ */ Se(
|
|
112745
112742
|
"div",
|
|
@@ -113130,7 +113127,7 @@ function Xae(e) {
|
|
|
113130
113127
|
const [t, r] = ur(
|
|
113131
113128
|
localStorage.getItem("onyx-theme") === Mv.DARK
|
|
113132
113129
|
);
|
|
113133
|
-
|
|
113130
|
+
On(() => {
|
|
113134
113131
|
const D = document.querySelector("html");
|
|
113135
113132
|
D == null || D.setAttribute(
|
|
113136
113133
|
"data-bs-theme",
|
|
@@ -113164,7 +113161,7 @@ function Xae(e) {
|
|
|
113164
113161
|
), [s, p] = lc(e, "recentlyViewed", []), d = (D) => {
|
|
113165
113162
|
D !== u && (o(D), i(a), p([]));
|
|
113166
113163
|
}, { setTitle: h } = e;
|
|
113167
|
-
|
|
113164
|
+
On(() => {
|
|
113168
113165
|
if (!(!h || !u))
|
|
113169
113166
|
switch (!0) {
|
|
113170
113167
|
case c.tabKey === ta.USER:
|
|
@@ -113206,7 +113203,7 @@ function Xae(e) {
|
|
|
113206
113203
|
);
|
|
113207
113204
|
return [...new Map(D.map((k) => [k.code, k])).values()];
|
|
113208
113205
|
}, [C]);
|
|
113209
|
-
|
|
113206
|
+
On(() => {
|
|
113210
113207
|
!u && w.length > 0 && o(w[0]);
|
|
113211
113208
|
}, [u, w, o]);
|
|
113212
113209
|
const S = Zr(
|
|
@@ -113258,7 +113255,7 @@ function Xae(e) {
|
|
|
113258
113255
|
analysisTabKey: id.LIST
|
|
113259
113256
|
}));
|
|
113260
113257
|
}, [i]);
|
|
113261
|
-
return /* @__PURE__ */ cr("div", { className: "
|
|
113258
|
+
return /* @__PURE__ */ cr("div", { className: "onyx h-100", children: [
|
|
113262
113259
|
/* @__PURE__ */ Se(
|
|
113263
113260
|
Bz,
|
|
113264
113261
|
{
|