eidotter 0.17.1 → 0.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +810 -810
- package/dist/index.umd.js +4 -4
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as m, jsxs as D, Fragment as ht } from "react/jsx-runtime";
|
|
2
2
|
import * as fe from "react";
|
|
3
|
-
import C, { createContext as te, useState as H, useRef as _, useCallback as B, useContext as re, useEffect as
|
|
4
|
-
import
|
|
3
|
+
import C, { createContext as te, useState as H, useRef as _, useCallback as B, useContext as re, useEffect as W, useMemo as q, version as ca, useReducer as ua, forwardRef as Se, cloneElement as Xi, isValidElement as fa, useLayoutEffect as Zi, useId as pa } from "react";
|
|
4
|
+
import ha, { flushSync as ur, createPortal as ma } from "react-dom";
|
|
5
5
|
const ba = te(null);
|
|
6
6
|
te(null);
|
|
7
7
|
te(null);
|
|
@@ -66,10 +66,10 @@ function Sa(t) {
|
|
|
66
66
|
return t || `${r}-${e}`;
|
|
67
67
|
}
|
|
68
68
|
const Ca = typeof C.useId == "function" ? Sa : Ea;
|
|
69
|
-
function
|
|
69
|
+
function ka() {
|
|
70
70
|
return !1;
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Pa() {
|
|
73
73
|
return !0;
|
|
74
74
|
}
|
|
75
75
|
function Na(t) {
|
|
@@ -77,7 +77,7 @@ function Na(t) {
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
function nt() {
|
|
80
|
-
return typeof C.useSyncExternalStore == "function" ? C.useSyncExternalStore(Na,
|
|
80
|
+
return typeof C.useSyncExternalStore == "function" ? C.useSyncExternalStore(Na, ka, Pa) : re($a);
|
|
81
81
|
}
|
|
82
82
|
let Ta = !!(typeof window < "u" && window.document && window.document.createElement), ct = /* @__PURE__ */ new Map(), gt;
|
|
83
83
|
typeof FinalizationRegistry < "u" && (gt = new FinalizationRegistry((t) => {
|
|
@@ -98,7 +98,7 @@ function Fe(t) {
|
|
|
98
98
|
};
|
|
99
99
|
}, [
|
|
100
100
|
i
|
|
101
|
-
]),
|
|
101
|
+
]), W(() => {
|
|
102
102
|
let l = r.current;
|
|
103
103
|
return l && n(l), () => {
|
|
104
104
|
l && (r.current = null);
|
|
@@ -128,7 +128,7 @@ function On(t = []) {
|
|
|
128
128
|
...t
|
|
129
129
|
]), n;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function kt(...t) {
|
|
132
132
|
return (...e) => {
|
|
133
133
|
for (let n of t) typeof n == "function" && n(...e);
|
|
134
134
|
};
|
|
@@ -303,7 +303,7 @@ class La {
|
|
|
303
303
|
function Qi(t, e, n, r) {
|
|
304
304
|
return Me() ? new La(t, e, n, r) : t.createTreeWalker(e, n, r);
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function mt(...t) {
|
|
307
307
|
return t.length === 1 && t[0] ? t[0] : (e) => {
|
|
308
308
|
let n = !1;
|
|
309
309
|
const r = t.map((i) => {
|
|
@@ -345,7 +345,7 @@ function ee(...t) {
|
|
|
345
345
|
typeof o == "function" && typeof l == "function" && // This is a lot faster than a regex.
|
|
346
346
|
i[0] === "o" && i[1] === "n" && i.charCodeAt(2) >= /* 'A' */
|
|
347
347
|
65 && i.charCodeAt(2) <= /* 'Z' */
|
|
348
|
-
90 ? e[i] =
|
|
348
|
+
90 ? e[i] = kt(o, l) : (i === "className" || i === "UNSAFE_className") && typeof o == "string" && typeof l == "string" ? e[i] = Ma(o, l) : i === "id" && o && l ? e.id = Da(o, l) : i === "ref" && o && l ? e.ref = mt(o, l) : e[i] = l !== void 0 ? l : o;
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
return e;
|
|
@@ -471,20 +471,20 @@ function ze(t) {
|
|
|
471
471
|
}
|
|
472
472
|
const Ze = ze(function() {
|
|
473
473
|
return fr(/^Mac/i);
|
|
474
|
-
}),
|
|
474
|
+
}), Wa = ze(function() {
|
|
475
475
|
return fr(/^iPhone/i);
|
|
476
476
|
}), to = ze(function() {
|
|
477
477
|
return fr(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
|
478
478
|
Ze() && navigator.maxTouchPoints > 1;
|
|
479
479
|
}), Je = ze(function() {
|
|
480
|
-
return
|
|
481
|
-
}),
|
|
480
|
+
return Wa() || to();
|
|
481
|
+
}), Ua = ze(function() {
|
|
482
482
|
return Ze() || Je();
|
|
483
483
|
}), ja = ze(function() {
|
|
484
484
|
return un(/AppleWebKit/i) && !pr();
|
|
485
485
|
}), pr = ze(function() {
|
|
486
486
|
return un(/Chrome/i);
|
|
487
|
-
}),
|
|
487
|
+
}), hr = ze(function() {
|
|
488
488
|
return un(/Android/i);
|
|
489
489
|
}), Ga = ze(function() {
|
|
490
490
|
return un(/Firefox/i);
|
|
@@ -493,7 +493,7 @@ const Ze = ze(function() {
|
|
|
493
493
|
open: Xa,
|
|
494
494
|
useHref: (t) => t
|
|
495
495
|
});
|
|
496
|
-
function
|
|
496
|
+
function mr() {
|
|
497
497
|
return re(qa);
|
|
498
498
|
}
|
|
499
499
|
function Oe(t, e, n = !0) {
|
|
@@ -529,7 +529,7 @@ function Xa(t, e) {
|
|
|
529
529
|
Ya(t, (n) => Oe(n, e));
|
|
530
530
|
}
|
|
531
531
|
function Za(t) {
|
|
532
|
-
let e =
|
|
532
|
+
let e = mr();
|
|
533
533
|
var n;
|
|
534
534
|
const r = e.useHref((n = t == null ? void 0 : t.href) !== null && n !== void 0 ? n : "");
|
|
535
535
|
return {
|
|
@@ -541,7 +541,7 @@ function Za(t) {
|
|
|
541
541
|
referrerPolicy: t == null ? void 0 : t.referrerPolicy
|
|
542
542
|
};
|
|
543
543
|
}
|
|
544
|
-
let
|
|
544
|
+
let We = /* @__PURE__ */ new Map(), Bn = /* @__PURE__ */ new Set();
|
|
545
545
|
function Ar() {
|
|
546
546
|
if (typeof window > "u") return;
|
|
547
547
|
function t(r) {
|
|
@@ -550,15 +550,15 @@ function Ar() {
|
|
|
550
550
|
let e = (r) => {
|
|
551
551
|
let i = L(r);
|
|
552
552
|
if (!t(r) || !i) return;
|
|
553
|
-
let o =
|
|
554
|
-
o || (o = /* @__PURE__ */ new Set(),
|
|
553
|
+
let o = We.get(i);
|
|
554
|
+
o || (o = /* @__PURE__ */ new Set(), We.set(i, o), i.addEventListener("transitioncancel", n, {
|
|
555
555
|
once: !0
|
|
556
556
|
})), o.add(r.propertyName);
|
|
557
557
|
}, n = (r) => {
|
|
558
558
|
let i = L(r);
|
|
559
559
|
if (!t(r) || !i) return;
|
|
560
|
-
let o =
|
|
561
|
-
if (o && (o.delete(r.propertyName), o.size === 0 && (i.removeEventListener("transitioncancel", n),
|
|
560
|
+
let o = We.get(i);
|
|
561
|
+
if (o && (o.delete(r.propertyName), o.size === 0 && (i.removeEventListener("transitioncancel", n), We.delete(i)), We.size === 0)) {
|
|
562
562
|
for (let l of Bn) l();
|
|
563
563
|
Bn.clear();
|
|
564
564
|
}
|
|
@@ -567,12 +567,12 @@ function Ar() {
|
|
|
567
567
|
}
|
|
568
568
|
typeof document < "u" && (document.readyState !== "loading" ? Ar() : document.addEventListener("DOMContentLoaded", Ar));
|
|
569
569
|
function Ja() {
|
|
570
|
-
for (const [t] of
|
|
571
|
-
"isConnected" in t && !t.isConnected &&
|
|
570
|
+
for (const [t] of We)
|
|
571
|
+
"isConnected" in t && !t.isConnected && We.delete(t);
|
|
572
572
|
}
|
|
573
573
|
function no(t) {
|
|
574
574
|
requestAnimationFrame(() => {
|
|
575
|
-
Ja(),
|
|
575
|
+
Ja(), We.size === 0 ? t() : Bn.add(t);
|
|
576
576
|
});
|
|
577
577
|
}
|
|
578
578
|
function fn() {
|
|
@@ -597,7 +597,7 @@ function fn() {
|
|
|
597
597
|
}, [
|
|
598
598
|
n
|
|
599
599
|
]);
|
|
600
|
-
return
|
|
600
|
+
return W(() => r, [
|
|
601
601
|
r
|
|
602
602
|
]), {
|
|
603
603
|
addGlobalListener: e,
|
|
@@ -712,7 +712,7 @@ function ts() {
|
|
|
712
712
|
width: 0,
|
|
713
713
|
height: 0
|
|
714
714
|
} : Sn());
|
|
715
|
-
return
|
|
715
|
+
return W(() => {
|
|
716
716
|
let r = (a) => {
|
|
717
717
|
n((s) => a.width === s.width && a.height === s.height ? s : a);
|
|
718
718
|
}, i = () => {
|
|
@@ -767,7 +767,7 @@ function rs(t) {
|
|
|
767
767
|
}
|
|
768
768
|
function Ft(t, e, n, r) {
|
|
769
769
|
let i = Ne(n), o = n == null;
|
|
770
|
-
|
|
770
|
+
W(() => {
|
|
771
771
|
if (o || !t.current) return;
|
|
772
772
|
let l = t.current;
|
|
773
773
|
return l.addEventListener(e, i, r), () => {
|
|
@@ -783,22 +783,22 @@ function Ft(t, e, n, r) {
|
|
|
783
783
|
function Vn(t, e, n = {}) {
|
|
784
784
|
let { block: r = "nearest", inline: i = "nearest" } = n;
|
|
785
785
|
if (t === e) return;
|
|
786
|
-
let o = t.scrollTop, l = t.scrollLeft, a = e.getBoundingClientRect(), s = t.getBoundingClientRect(), d = window.getComputedStyle(e), c = window.getComputedStyle(t), f = document.scrollingElement || document.documentElement, p = t === f ? 0 : s.top,
|
|
787
|
-
c.direction === "rtl" && !Je() ? $ += oe :
|
|
788
|
-
let I = se < u || J > T, K =
|
|
786
|
+
let o = t.scrollTop, l = t.scrollLeft, a = e.getBoundingClientRect(), s = t.getBoundingClientRect(), d = window.getComputedStyle(e), c = window.getComputedStyle(t), f = document.scrollingElement || document.documentElement, p = t === f ? 0 : s.top, h = t === f ? t.clientHeight : s.bottom, v = t === f ? 0 : s.left, b = t === f ? t.clientWidth : s.right, g = parseInt(d.scrollMarginTop, 10) || 0, y = parseInt(d.scrollMarginBottom, 10) || 0, x = parseInt(d.scrollMarginLeft, 10) || 0, w = parseInt(d.scrollMarginRight, 10) || 0, S = parseInt(c.scrollPaddingTop, 10) || 0, N = parseInt(c.scrollPaddingBottom, 10) || 0, U = parseInt(c.scrollPaddingLeft, 10) || 0, A = parseInt(c.scrollPaddingRight, 10) || 0, E = parseInt(c.borderTopWidth, 10) || 0, R = parseInt(c.borderBottomWidth, 10) || 0, V = parseInt(c.borderLeftWidth, 10) || 0, le = parseInt(c.borderRightWidth, 10) || 0, se = a.top - g, J = a.bottom + y, P = a.left - x, O = a.right + w, X = t === f ? 0 : V + le, Q = t === f ? 0 : E + R, oe = t.offsetWidth - t.clientWidth - X, de = t.offsetHeight - t.clientHeight - Q, u = p + E + S, T = h - R - N - de, $ = v + V + U, k = b - le - A;
|
|
787
|
+
c.direction === "rtl" && !Je() ? $ += oe : k -= oe;
|
|
788
|
+
let I = se < u || J > T, K = P < $ || O > k;
|
|
789
789
|
if (I && r === "start") o += se - u;
|
|
790
790
|
else if (I && r === "center") o += (se + J) / 2 - (u + T) / 2;
|
|
791
791
|
else if (I && r === "end") o += J - T;
|
|
792
792
|
else if (I && r === "nearest") {
|
|
793
|
-
let G = se - u,
|
|
794
|
-
o += Math.abs(G) <= Math.abs(
|
|
793
|
+
let G = se - u, me = J - T;
|
|
794
|
+
o += Math.abs(G) <= Math.abs(me) ? G : me;
|
|
795
795
|
}
|
|
796
|
-
if (K && i === "start") l +=
|
|
797
|
-
else if (K && i === "center") l += (
|
|
798
|
-
else if (K && i === "end") l += O -
|
|
796
|
+
if (K && i === "start") l += P - $;
|
|
797
|
+
else if (K && i === "center") l += (P + O) / 2 - ($ + k) / 2;
|
|
798
|
+
else if (K && i === "end") l += O - k;
|
|
799
799
|
else if (K && i === "nearest") {
|
|
800
|
-
let G =
|
|
801
|
-
l += Math.abs(G) <= Math.abs(
|
|
800
|
+
let G = P - $, me = O - k;
|
|
801
|
+
l += Math.abs(G) <= Math.abs(me) ? G : me;
|
|
802
802
|
}
|
|
803
803
|
if (process.env.NODE_ENV === "test") {
|
|
804
804
|
t.scrollLeft = l, t.scrollTop = o;
|
|
@@ -831,11 +831,11 @@ function Br(t, e = {}) {
|
|
|
831
831
|
}
|
|
832
832
|
} else {
|
|
833
833
|
let { left: s, top: d } = t.getBoundingClientRect(), c = zr(t, !0);
|
|
834
|
-
for (let
|
|
834
|
+
for (let h of c) Vn(h, t);
|
|
835
835
|
let { left: f, top: p } = t.getBoundingClientRect();
|
|
836
836
|
if (Math.abs(s - f) > 1 || Math.abs(d - p) > 1) {
|
|
837
837
|
c = n ? zr(n, !0) : [];
|
|
838
|
-
for (let
|
|
838
|
+
for (let h of c) Vn(h, n, {
|
|
839
839
|
block: "center",
|
|
840
840
|
inline: "center"
|
|
841
841
|
});
|
|
@@ -844,16 +844,16 @@ function Br(t, e = {}) {
|
|
|
844
844
|
}
|
|
845
845
|
}
|
|
846
846
|
function Hn(t) {
|
|
847
|
-
return t.pointerType === "" && t.isTrusted ? !0 :
|
|
847
|
+
return t.pointerType === "" && t.isTrusted ? !0 : hr() && t.pointerType ? t.type === "click" && t.buttons === 1 : t.detail === 0 && !t.pointerType;
|
|
848
848
|
}
|
|
849
849
|
function is(t) {
|
|
850
|
-
return !
|
|
850
|
+
return !hr() && t.width === 0 && t.height === 0 || t.width === 1 && t.height === 1 && t.pressure === 0 && t.detail === 0 && t.pointerType === "mouse";
|
|
851
851
|
}
|
|
852
852
|
function oo(t, e, n) {
|
|
853
853
|
let r = Ne(() => {
|
|
854
854
|
n && n(e);
|
|
855
855
|
});
|
|
856
|
-
|
|
856
|
+
W(() => {
|
|
857
857
|
var i;
|
|
858
858
|
let o = t == null || (i = t.current) === null || i === void 0 ? void 0 : i.form;
|
|
859
859
|
return o == null || o.addEventListener("reset", r), () => {
|
|
@@ -878,7 +878,7 @@ function br(t, e = !0) {
|
|
|
878
878
|
i
|
|
879
879
|
]), lo(t, i, B(() => r(!1), [])), i;
|
|
880
880
|
}
|
|
881
|
-
function
|
|
881
|
+
function Wn(t, e) {
|
|
882
882
|
let [n, r] = H(e ? "open" : "closed");
|
|
883
883
|
switch (n) {
|
|
884
884
|
case "open":
|
|
@@ -975,12 +975,12 @@ function co(t) {
|
|
|
975
975
|
}
|
|
976
976
|
return !1;
|
|
977
977
|
}
|
|
978
|
-
var
|
|
979
|
-
const fs = typeof document < "u" ? (
|
|
978
|
+
var kn;
|
|
979
|
+
const fs = typeof document < "u" ? (kn = C.useInsertionEffect) !== null && kn !== void 0 ? kn : C.useLayoutEffect : () => {
|
|
980
980
|
};
|
|
981
|
-
function
|
|
981
|
+
function Pt(t, e, n) {
|
|
982
982
|
let [r, i] = H(t || e), o = _(r), l = _(t !== void 0), a = t !== void 0;
|
|
983
|
-
|
|
983
|
+
W(() => {
|
|
984
984
|
let f = l.current;
|
|
985
985
|
f !== a && process.env.NODE_ENV !== "production" && console.warn(`WARN: A component changed from ${f ? "controlled" : "uncontrolled"} to ${a ? "controlled" : "uncontrolled"}.`), l.current = a;
|
|
986
986
|
}, [
|
|
@@ -991,8 +991,8 @@ function kt(t, e, n) {
|
|
|
991
991
|
o.current = s;
|
|
992
992
|
});
|
|
993
993
|
let [, d] = ua(() => ({}), {}), c = B((f, ...p) => {
|
|
994
|
-
let
|
|
995
|
-
Object.is(o.current,
|
|
994
|
+
let h = typeof f == "function" ? f(o.current) : f;
|
|
995
|
+
Object.is(o.current, h) || (o.current = h, i(h), d(), n == null || n(h, ...p));
|
|
996
996
|
}, [
|
|
997
997
|
n
|
|
998
998
|
]);
|
|
@@ -1001,7 +1001,7 @@ function kt(t, e, n) {
|
|
|
1001
1001
|
c
|
|
1002
1002
|
];
|
|
1003
1003
|
}
|
|
1004
|
-
const
|
|
1004
|
+
const Un = Symbol("default");
|
|
1005
1005
|
function Nt({ values: t, children: e }) {
|
|
1006
1006
|
for (let [n, r] of t)
|
|
1007
1007
|
e = /* @__PURE__ */ C.createElement(n.Provider, {
|
|
@@ -1043,12 +1043,12 @@ function Ce(t) {
|
|
|
1043
1043
|
s
|
|
1044
1044
|
]);
|
|
1045
1045
|
}
|
|
1046
|
-
function
|
|
1046
|
+
function hn(t, e) {
|
|
1047
1047
|
let n = re(t);
|
|
1048
1048
|
if (e === null)
|
|
1049
1049
|
return null;
|
|
1050
1050
|
if (n && typeof n == "object" && "slots" in n && n.slots) {
|
|
1051
|
-
let r = e ||
|
|
1051
|
+
let r = e || Un;
|
|
1052
1052
|
if (!n.slots[r]) {
|
|
1053
1053
|
let i = new Intl.ListFormat().format(Object.keys(n.slots).map((l) => `"${l}"`)), o = e ? `Invalid slot "${e}".` : "A slot prop is required.";
|
|
1054
1054
|
throw new Error(`${o} Valid slot names are ${i}.`);
|
|
@@ -1058,7 +1058,7 @@ function mn(t, e) {
|
|
|
1058
1058
|
return n;
|
|
1059
1059
|
}
|
|
1060
1060
|
function Te(t, e, n) {
|
|
1061
|
-
let r =
|
|
1061
|
+
let r = hn(n, t.slot) || {}, { ref: i, ...o } = r, l = je(q(() => mt(e, i), [
|
|
1062
1062
|
e,
|
|
1063
1063
|
i
|
|
1064
1064
|
])), a = ee(o, t);
|
|
@@ -1099,8 +1099,8 @@ function Jt(t) {
|
|
|
1099
1099
|
for (const r in t) e.test(r) || (n[r] = t[r]);
|
|
1100
1100
|
return n;
|
|
1101
1101
|
}
|
|
1102
|
-
function
|
|
1103
|
-
let { render: r, ...i } = e, o = _(null), l = q(() =>
|
|
1102
|
+
function hs(t, e, n) {
|
|
1103
|
+
let { render: r, ...i } = e, o = _(null), l = q(() => mt(n, o), [
|
|
1104
1104
|
n,
|
|
1105
1105
|
o
|
|
1106
1106
|
]);
|
|
@@ -1120,16 +1120,16 @@ const Hr = {}, ye = new Proxy({}, {
|
|
|
1120
1120
|
get(t, e) {
|
|
1121
1121
|
if (typeof e != "string") return;
|
|
1122
1122
|
let n = Hr[e];
|
|
1123
|
-
return n || (n = /* @__PURE__ */ Se(
|
|
1123
|
+
return n || (n = /* @__PURE__ */ Se(hs.bind(null, e)), Hr[e] = n), n;
|
|
1124
1124
|
}
|
|
1125
1125
|
}), uo = 7e3;
|
|
1126
1126
|
let _e = null;
|
|
1127
|
-
function
|
|
1128
|
-
_e ? _e.announce(t, e, n) : (_e = new
|
|
1127
|
+
function Wr(t, e = "assertive", n = uo) {
|
|
1128
|
+
_e ? _e.announce(t, e, n) : (_e = new ms(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? _e.announce(t, e, n) : setTimeout(() => {
|
|
1129
1129
|
_e != null && _e.isAttached() && (_e == null || _e.announce(t, e, n));
|
|
1130
1130
|
}, 100));
|
|
1131
1131
|
}
|
|
1132
|
-
class
|
|
1132
|
+
class ms {
|
|
1133
1133
|
isAttached() {
|
|
1134
1134
|
var e;
|
|
1135
1135
|
return (e = this.node) === null || e === void 0 ? void 0 : e.isConnected;
|
|
@@ -1224,14 +1224,14 @@ function po() {
|
|
|
1224
1224
|
};
|
|
1225
1225
|
}
|
|
1226
1226
|
let jn = po(), yt = /* @__PURE__ */ new Set();
|
|
1227
|
-
function
|
|
1227
|
+
function Ur() {
|
|
1228
1228
|
jn = po();
|
|
1229
1229
|
for (let t of yt) t(jn);
|
|
1230
1230
|
}
|
|
1231
1231
|
function ys() {
|
|
1232
1232
|
let t = nt(), [e, n] = H(jn);
|
|
1233
|
-
return
|
|
1234
|
-
yt.delete(n), yt.size === 0 && window.removeEventListener("languagechange",
|
|
1233
|
+
return W(() => (yt.size === 0 && window.addEventListener("languagechange", Ur), yt.add(n), () => {
|
|
1234
|
+
yt.delete(n), yt.size === 0 && window.removeEventListener("languagechange", Ur);
|
|
1235
1235
|
}), []), t ? {
|
|
1236
1236
|
locale: typeof window < "u" && window[fo] || "en-US",
|
|
1237
1237
|
direction: "ltr"
|
|
@@ -1244,7 +1244,7 @@ function yr() {
|
|
|
1244
1244
|
}
|
|
1245
1245
|
const xs = Symbol.for("react-aria.i18n.locale"), ws = Symbol.for("react-aria.i18n.strings");
|
|
1246
1246
|
let lt;
|
|
1247
|
-
class
|
|
1247
|
+
class mn {
|
|
1248
1248
|
/** Returns a localized string for the given key and locale. */
|
|
1249
1249
|
getStringForLocale(e, n) {
|
|
1250
1250
|
let i = this.getStringsForLocale(n)[e];
|
|
@@ -1263,7 +1263,7 @@ class hn {
|
|
|
1263
1263
|
let i = window[ws];
|
|
1264
1264
|
if (!i) return null;
|
|
1265
1265
|
lt = {};
|
|
1266
|
-
for (let o in i) lt[o] = new
|
|
1266
|
+
for (let o in i) lt[o] = new mn({
|
|
1267
1267
|
[n]: i[o]
|
|
1268
1268
|
}, n);
|
|
1269
1269
|
}
|
|
@@ -1316,15 +1316,15 @@ class Cs {
|
|
|
1316
1316
|
}
|
|
1317
1317
|
}
|
|
1318
1318
|
const qr = /* @__PURE__ */ new WeakMap();
|
|
1319
|
-
function
|
|
1319
|
+
function ks(t) {
|
|
1320
1320
|
let e = qr.get(t);
|
|
1321
|
-
return e || (e = new
|
|
1321
|
+
return e || (e = new mn(t), qr.set(t, e)), e;
|
|
1322
1322
|
}
|
|
1323
|
-
function
|
|
1324
|
-
return e &&
|
|
1323
|
+
function Ps(t, e) {
|
|
1324
|
+
return e && mn.getGlobalDictionaryForPackage(e) || ks(t);
|
|
1325
1325
|
}
|
|
1326
1326
|
function Ns(t, e) {
|
|
1327
|
-
let { locale: n } = yr(), r =
|
|
1327
|
+
let { locale: n } = yr(), r = Ps(t, e);
|
|
1328
1328
|
return q(() => new Cs(n, r), [
|
|
1329
1329
|
n,
|
|
1330
1330
|
r
|
|
@@ -1342,14 +1342,14 @@ function $r(t) {
|
|
|
1342
1342
|
return e.nativeEvent = t, e.isDefaultPrevented = () => e.defaultPrevented, e.isPropagationStopped = () => e.cancelBubble, e.persist = () => {
|
|
1343
1343
|
}, e;
|
|
1344
1344
|
}
|
|
1345
|
-
function
|
|
1345
|
+
function ho(t, e) {
|
|
1346
1346
|
Object.defineProperty(t, "target", {
|
|
1347
1347
|
value: e
|
|
1348
1348
|
}), Object.defineProperty(t, "currentTarget", {
|
|
1349
1349
|
value: e
|
|
1350
1350
|
});
|
|
1351
1351
|
}
|
|
1352
|
-
function
|
|
1352
|
+
function mo(t) {
|
|
1353
1353
|
let e = _({
|
|
1354
1354
|
isFocused: !1,
|
|
1355
1355
|
observer: null
|
|
@@ -1429,7 +1429,7 @@ function Xr(t) {
|
|
|
1429
1429
|
Yt.set(t, t.style[e]), t.style[e] = "none";
|
|
1430
1430
|
}
|
|
1431
1431
|
}
|
|
1432
|
-
function
|
|
1432
|
+
function Pn(t) {
|
|
1433
1433
|
if (Je()) {
|
|
1434
1434
|
if (dt !== "disabled") return;
|
|
1435
1435
|
dt = "restoring", setTimeout(() => {
|
|
@@ -1503,7 +1503,7 @@ class Ot {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
const Jr = Symbol("linkClicked"), Qr = "react-aria-pressable-style", ei = "data-react-aria-pressable";
|
|
1505
1505
|
function ft(t) {
|
|
1506
|
-
let { onPress: e, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: o, onClick: l, isDisabled: a, isPressed: s, preventFocusOnPress: d, shouldCancelOnPointerExit: c, allowTextSelectionOnPress: f, ref: p, ...
|
|
1506
|
+
let { onPress: e, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: o, onClick: l, isDisabled: a, isPressed: s, preventFocusOnPress: d, shouldCancelOnPointerExit: c, allowTextSelectionOnPress: f, ref: p, ...h } = Ls(t), [v, b] = H(!1), g = _({
|
|
1507
1507
|
isPressed: !1,
|
|
1508
1508
|
ignoreEmulatedMouseEvents: !1,
|
|
1509
1509
|
didFirePressStart: !1,
|
|
@@ -1516,20 +1516,20 @@ function ft(t) {
|
|
|
1516
1516
|
}), { addGlobalListener: y, removeAllGlobalListeners: x, removeGlobalListener: w } = fn(), S = B((u, T) => {
|
|
1517
1517
|
let $ = g.current;
|
|
1518
1518
|
if (a || $.didFirePressStart) return !1;
|
|
1519
|
-
let
|
|
1519
|
+
let k = !0;
|
|
1520
1520
|
if ($.isTriggeringEvent = !0, r) {
|
|
1521
1521
|
let I = new Ot("pressstart", T, u);
|
|
1522
|
-
r(I),
|
|
1522
|
+
r(I), k = I.shouldStopPropagation;
|
|
1523
1523
|
}
|
|
1524
|
-
return n && n(!0), $.isTriggeringEvent = !1, $.didFirePressStart = !0, b(!0),
|
|
1524
|
+
return n && n(!0), $.isTriggeringEvent = !1, $.didFirePressStart = !0, b(!0), k;
|
|
1525
1525
|
}, [
|
|
1526
1526
|
a,
|
|
1527
1527
|
r,
|
|
1528
1528
|
n
|
|
1529
1529
|
]), N = B((u, T, $ = !0) => {
|
|
1530
|
-
let
|
|
1531
|
-
if (!
|
|
1532
|
-
|
|
1530
|
+
let k = g.current;
|
|
1531
|
+
if (!k.didFirePressStart) return !1;
|
|
1532
|
+
k.didFirePressStart = !1, k.isTriggeringEvent = !0;
|
|
1533
1533
|
let I = !0;
|
|
1534
1534
|
if (i) {
|
|
1535
1535
|
let K = new Ot("pressend", T, u);
|
|
@@ -1539,19 +1539,19 @@ function ft(t) {
|
|
|
1539
1539
|
let K = new Ot("press", T, u);
|
|
1540
1540
|
e(K), I && (I = K.shouldStopPropagation);
|
|
1541
1541
|
}
|
|
1542
|
-
return
|
|
1542
|
+
return k.isTriggeringEvent = !1, I;
|
|
1543
1543
|
}, [
|
|
1544
1544
|
a,
|
|
1545
1545
|
i,
|
|
1546
1546
|
n,
|
|
1547
1547
|
e
|
|
1548
|
-
]),
|
|
1548
|
+
]), U = Ne(N), A = B((u, T) => {
|
|
1549
1549
|
let $ = g.current;
|
|
1550
1550
|
if (a) return !1;
|
|
1551
1551
|
if (o) {
|
|
1552
1552
|
$.isTriggeringEvent = !0;
|
|
1553
|
-
let
|
|
1554
|
-
return o(
|
|
1553
|
+
let k = new Ot("pressup", T, u);
|
|
1554
|
+
return o(k), $.isTriggeringEvent = !1, k.shouldStopPropagation;
|
|
1555
1555
|
}
|
|
1556
1556
|
return !0;
|
|
1557
1557
|
}, [
|
|
@@ -1560,7 +1560,7 @@ function ft(t) {
|
|
|
1560
1560
|
]), E = Ne(A), R = B((u) => {
|
|
1561
1561
|
let T = g.current;
|
|
1562
1562
|
if (T.isPressed && T.target) {
|
|
1563
|
-
T.didFirePressStart && T.pointerType != null && N(qe(T.target, u), T.pointerType, !1), T.isPressed = !1, oe(null), T.isOverTarget = !1, T.activePointerId = null, T.pointerType = null, x(), f ||
|
|
1563
|
+
T.didFirePressStart && T.pointerType != null && N(qe(T.target, u), T.pointerType, !1), T.isPressed = !1, oe(null), T.isOverTarget = !1, T.activePointerId = null, T.pointerType = null, x(), f || Pn(T.target);
|
|
1564
1564
|
for (let $ of T.disposables) $();
|
|
1565
1565
|
T.disposables = [];
|
|
1566
1566
|
}
|
|
@@ -1581,29 +1581,29 @@ function ft(t) {
|
|
|
1581
1581
|
]), J = B((u, T) => {
|
|
1582
1582
|
if (!a && l) {
|
|
1583
1583
|
let $ = new MouseEvent("click", u);
|
|
1584
|
-
|
|
1584
|
+
ho($, T), l($r($));
|
|
1585
1585
|
}
|
|
1586
1586
|
}, [
|
|
1587
1587
|
a,
|
|
1588
1588
|
l
|
|
1589
|
-
]),
|
|
1589
|
+
]), P = Ne(J), [O, X] = H(!1);
|
|
1590
1590
|
ae(() => {
|
|
1591
1591
|
let u = g.current;
|
|
1592
1592
|
if (O) {
|
|
1593
1593
|
let T = (K) => {
|
|
1594
1594
|
var G;
|
|
1595
1595
|
if (u.isPressed && u.target && Nn(K, u.target)) {
|
|
1596
|
-
var
|
|
1596
|
+
var me;
|
|
1597
1597
|
ri(L(K), K.key) && K.preventDefault();
|
|
1598
1598
|
let ie = L(K), ge = j(u.target, ie);
|
|
1599
|
-
|
|
1599
|
+
U(qe(u.target, K), "keyboard", ge), ge && P(K, u.target), x(), K.key !== "Enter" && wr(u.target) && j(u.target, ie) && !K[Jr] && (K[Jr] = !0, Oe(u.target, K, !1)), u.isPressed = !1, X(!1), (me = u.metaKeyEvents) === null || me === void 0 || me.delete(K.key);
|
|
1600
1600
|
} else if (K.key === "Meta" && (!((G = u.metaKeyEvents) === null || G === void 0) && G.size)) {
|
|
1601
1601
|
var z;
|
|
1602
1602
|
let ie = u.metaKeyEvents;
|
|
1603
1603
|
u.metaKeyEvents = void 0;
|
|
1604
1604
|
for (let ge of ie.values()) (z = u.target) === null || z === void 0 || z.dispatchEvent(new KeyboardEvent("keyup", ge));
|
|
1605
1605
|
}
|
|
1606
|
-
}, $ = u.target, I =
|
|
1606
|
+
}, $ = u.target, I = kt((K) => {
|
|
1607
1607
|
$ && Nn(K, $) && !K.repeat && j($, L(K)) && u.target && E(qe(u.target, K), "keyboard");
|
|
1608
1608
|
}, T);
|
|
1609
1609
|
return y(ne(u.target), "keyup", I, !0), () => {
|
|
@@ -1620,18 +1620,18 @@ function ft(t) {
|
|
|
1620
1620
|
ae(() => {
|
|
1621
1621
|
let u = g.current;
|
|
1622
1622
|
if (Q === "pointer") {
|
|
1623
|
-
let T = (
|
|
1624
|
-
if (
|
|
1625
|
-
if (j(u.target, L(
|
|
1623
|
+
let T = (k) => {
|
|
1624
|
+
if (k.pointerId === u.activePointerId && u.isPressed && k.button === 0 && u.target) {
|
|
1625
|
+
if (j(u.target, L(k)) && u.pointerType != null) {
|
|
1626
1626
|
let I = !1, K = setTimeout(() => {
|
|
1627
|
-
u.isPressed && u.target instanceof HTMLElement && (I ? V(
|
|
1627
|
+
u.isPressed && u.target instanceof HTMLElement && (I ? V(k) : (Ae(u.target), u.target.click()));
|
|
1628
1628
|
}, 80);
|
|
1629
|
-
|
|
1630
|
-
} else V(
|
|
1629
|
+
k.currentTarget && y(k.currentTarget, "click", () => I = !0, !0), u.disposables.push(() => clearTimeout(K));
|
|
1630
|
+
} else V(k);
|
|
1631
1631
|
u.isOverTarget = !1;
|
|
1632
1632
|
}
|
|
1633
|
-
}, $ = (
|
|
1634
|
-
V(
|
|
1633
|
+
}, $ = (k) => {
|
|
1634
|
+
V(k);
|
|
1635
1635
|
};
|
|
1636
1636
|
return y(ne(u.target), "pointerup", T, !1), y(ne(u.target), "pointercancel", $, !1), () => {
|
|
1637
1637
|
w(ne(u.target), "pointerup", T, !1), w(ne(u.target), "pointercancel", $, !1);
|
|
@@ -1672,23 +1672,23 @@ function ft(t) {
|
|
|
1672
1672
|
let u = g.current, T = {
|
|
1673
1673
|
onKeyDown($) {
|
|
1674
1674
|
if (Nn($.nativeEvent, $.currentTarget) && j($.currentTarget, L($))) {
|
|
1675
|
-
var
|
|
1675
|
+
var k;
|
|
1676
1676
|
ri(L($), $.key) && $.preventDefault();
|
|
1677
1677
|
let I = !0;
|
|
1678
|
-
!u.isPressed && !$.repeat && (u.target = $.currentTarget, u.isPressed = !0, X(!0), u.pointerType = "keyboard", I = S($, "keyboard")), I && $.stopPropagation(), $.metaKey && Ze() && ((
|
|
1678
|
+
!u.isPressed && !$.repeat && (u.target = $.currentTarget, u.isPressed = !0, X(!0), u.pointerType = "keyboard", I = S($, "keyboard")), I && $.stopPropagation(), $.metaKey && Ze() && ((k = u.metaKeyEvents) === null || k === void 0 || k.set($.key, $.nativeEvent));
|
|
1679
1679
|
} else $.key === "Meta" && (u.metaKeyEvents = /* @__PURE__ */ new Map());
|
|
1680
1680
|
},
|
|
1681
1681
|
onClick($) {
|
|
1682
1682
|
if (!($ && !j($.currentTarget, L($))) && $ && $.button === 0 && !u.isTriggeringEvent && !Oe.isOpening) {
|
|
1683
|
-
let
|
|
1683
|
+
let k = !0;
|
|
1684
1684
|
if (a && $.preventDefault(), !u.ignoreEmulatedMouseEvents && !u.isPressed && (u.pointerType === "virtual" || Hn($.nativeEvent))) {
|
|
1685
1685
|
let I = S($, "virtual"), K = A($, "virtual"), G = N($, "virtual");
|
|
1686
|
-
se($),
|
|
1686
|
+
se($), k = I && K && G;
|
|
1687
1687
|
} else if (u.isPressed && u.pointerType !== "keyboard") {
|
|
1688
1688
|
let I = u.pointerType || $.nativeEvent.pointerType || "virtual", K = A(qe($.currentTarget, $), I), G = N(qe($.currentTarget, $), I, !0);
|
|
1689
|
-
|
|
1689
|
+
k = K && G, u.isOverTarget = !1, se($), R($);
|
|
1690
1690
|
}
|
|
1691
|
-
u.ignoreEmulatedMouseEvents = !1,
|
|
1691
|
+
u.ignoreEmulatedMouseEvents = !1, k && $.stopPropagation();
|
|
1692
1692
|
}
|
|
1693
1693
|
}
|
|
1694
1694
|
};
|
|
@@ -1699,18 +1699,18 @@ function ft(t) {
|
|
|
1699
1699
|
return;
|
|
1700
1700
|
}
|
|
1701
1701
|
u.pointerType = $.pointerType;
|
|
1702
|
-
let
|
|
1702
|
+
let k = !0;
|
|
1703
1703
|
if (!u.isPressed) {
|
|
1704
|
-
u.isPressed = !0, oe("pointer"), u.isOverTarget = !0, u.activePointerId = $.pointerId, u.target = $.currentTarget, f || Xr(u.target),
|
|
1704
|
+
u.isPressed = !0, oe("pointer"), u.isOverTarget = !0, u.activePointerId = $.pointerId, u.target = $.currentTarget, f || Xr(u.target), k = S($, u.pointerType);
|
|
1705
1705
|
let I = L($);
|
|
1706
1706
|
"releasePointerCapture" in I && ("hasPointerCapture" in I ? I.hasPointerCapture($.pointerId) && I.releasePointerCapture($.pointerId) : I.releasePointerCapture($.pointerId));
|
|
1707
1707
|
}
|
|
1708
|
-
|
|
1708
|
+
k && $.stopPropagation();
|
|
1709
1709
|
}, T.onMouseDown = ($) => {
|
|
1710
1710
|
if (j($.currentTarget, L($)) && $.button === 0) {
|
|
1711
1711
|
if (d) {
|
|
1712
|
-
let
|
|
1713
|
-
|
|
1712
|
+
let k = Yr($.target);
|
|
1713
|
+
k && u.disposables.push(k);
|
|
1714
1714
|
}
|
|
1715
1715
|
$.stopPropagation();
|
|
1716
1716
|
}
|
|
@@ -1734,35 +1734,35 @@ function ft(t) {
|
|
|
1734
1734
|
}
|
|
1735
1735
|
}, T.onMouseEnter = ($) => {
|
|
1736
1736
|
if (!j($.currentTarget, L($))) return;
|
|
1737
|
-
let
|
|
1738
|
-
u.isPressed && !u.ignoreEmulatedMouseEvents && u.pointerType != null && (u.isOverTarget = !0,
|
|
1737
|
+
let k = !0;
|
|
1738
|
+
u.isPressed && !u.ignoreEmulatedMouseEvents && u.pointerType != null && (u.isOverTarget = !0, k = S($, u.pointerType)), k && $.stopPropagation();
|
|
1739
1739
|
}, T.onMouseLeave = ($) => {
|
|
1740
1740
|
if (!j($.currentTarget, L($))) return;
|
|
1741
|
-
let
|
|
1742
|
-
u.isPressed && !u.ignoreEmulatedMouseEvents && u.pointerType != null && (u.isOverTarget = !1,
|
|
1741
|
+
let k = !0;
|
|
1742
|
+
u.isPressed && !u.ignoreEmulatedMouseEvents && u.pointerType != null && (u.isOverTarget = !1, k = N($, u.pointerType, !1), le($)), k && $.stopPropagation();
|
|
1743
1743
|
}, T.onMouseUp = ($) => {
|
|
1744
1744
|
j($.currentTarget, L($)) && !u.ignoreEmulatedMouseEvents && $.button === 0 && !u.isPressed && A($, u.pointerType || "mouse");
|
|
1745
1745
|
}, T.onTouchStart = ($) => {
|
|
1746
1746
|
if (!j($.currentTarget, L($))) return;
|
|
1747
|
-
let
|
|
1748
|
-
if (!
|
|
1749
|
-
u.activePointerId =
|
|
1747
|
+
let k = Ms($.nativeEvent);
|
|
1748
|
+
if (!k) return;
|
|
1749
|
+
u.activePointerId = k.identifier, u.ignoreEmulatedMouseEvents = !0, u.isOverTarget = !0, u.isPressed = !0, oe("touch"), u.target = $.currentTarget, u.pointerType = "touch", f || Xr(u.target), S(Be(u.target, $), u.pointerType) && $.stopPropagation();
|
|
1750
1750
|
}, T.onTouchMove = ($) => {
|
|
1751
1751
|
if (!j($.currentTarget, L($))) return;
|
|
1752
1752
|
if (!u.isPressed) {
|
|
1753
1753
|
$.stopPropagation();
|
|
1754
1754
|
return;
|
|
1755
1755
|
}
|
|
1756
|
-
let
|
|
1757
|
-
|
|
1756
|
+
let k = ti($.nativeEvent, u.activePointerId), I = !0;
|
|
1757
|
+
k && ni(k, $.currentTarget) ? !u.isOverTarget && u.pointerType != null && (u.isOverTarget = !0, I = S(Be(u.target, $), u.pointerType)) : u.isOverTarget && u.pointerType != null && (u.isOverTarget = !1, I = N(Be(u.target, $), u.pointerType, !1), le(Be(u.target, $))), I && $.stopPropagation();
|
|
1758
1758
|
}, T.onTouchEnd = ($) => {
|
|
1759
1759
|
if (!j($.currentTarget, L($))) return;
|
|
1760
1760
|
if (!u.isPressed) {
|
|
1761
1761
|
$.stopPropagation();
|
|
1762
1762
|
return;
|
|
1763
1763
|
}
|
|
1764
|
-
let
|
|
1765
|
-
|
|
1764
|
+
let k = ti($.nativeEvent, u.activePointerId), I = !0;
|
|
1765
|
+
k && ni(k, $.currentTarget) && u.pointerType != null ? (A(Be(u.target, $), u.pointerType), I = N(Be(u.target, $), u.pointerType), J($.nativeEvent, u.target)) : u.isOverTarget && u.pointerType != null && (I = N(Be(u.target, $), u.pointerType, !1)), I && $.stopPropagation(), u.isPressed = !1, oe(null), u.activePointerId = null, u.isOverTarget = !1, u.ignoreEmulatedMouseEvents = !0, u.target && !f && Pn(u.target), x();
|
|
1766
1766
|
}, T.onTouchCancel = ($) => {
|
|
1767
1767
|
j($.currentTarget, L($)) && ($.stopPropagation(), u.isPressed && R(Be(u.target, $)));
|
|
1768
1768
|
}, T.onDragStart = ($) => {
|
|
@@ -1781,7 +1781,7 @@ function ft(t) {
|
|
|
1781
1781
|
se,
|
|
1782
1782
|
J
|
|
1783
1783
|
]);
|
|
1784
|
-
return
|
|
1784
|
+
return W(() => {
|
|
1785
1785
|
if (!p || process.env.NODE_ENV === "test") return;
|
|
1786
1786
|
const u = ne(p.current);
|
|
1787
1787
|
if (!u || !u.head || u.getElementById(Qr)) return;
|
|
@@ -1795,11 +1795,11 @@ function ft(t) {
|
|
|
1795
1795
|
`.trim(), u.head.prepend(T);
|
|
1796
1796
|
}, [
|
|
1797
1797
|
p
|
|
1798
|
-
]),
|
|
1798
|
+
]), W(() => {
|
|
1799
1799
|
let u = g.current;
|
|
1800
1800
|
return () => {
|
|
1801
1801
|
var T;
|
|
1802
|
-
f ||
|
|
1802
|
+
f || Pn((T = u.target) !== null && T !== void 0 ? T : void 0);
|
|
1803
1803
|
for (let $ of u.disposables) $();
|
|
1804
1804
|
u.disposables = [];
|
|
1805
1805
|
};
|
|
@@ -1807,7 +1807,7 @@ function ft(t) {
|
|
|
1807
1807
|
f
|
|
1808
1808
|
]), {
|
|
1809
1809
|
isPressed: s || v,
|
|
1810
|
-
pressProps: ee(
|
|
1810
|
+
pressProps: ee(h, de, {
|
|
1811
1811
|
[ei]: !0
|
|
1812
1812
|
})
|
|
1813
1813
|
};
|
|
@@ -1956,7 +1956,7 @@ function tn() {
|
|
|
1956
1956
|
function Hs(t) {
|
|
1957
1957
|
rt = t, bn(t, null);
|
|
1958
1958
|
}
|
|
1959
|
-
const
|
|
1959
|
+
const Ws = /* @__PURE__ */ new Set([
|
|
1960
1960
|
"checkbox",
|
|
1961
1961
|
"radio",
|
|
1962
1962
|
"range",
|
|
@@ -1967,17 +1967,17 @@ const Us = /* @__PURE__ */ new Set([
|
|
|
1967
1967
|
"submit",
|
|
1968
1968
|
"reset"
|
|
1969
1969
|
]);
|
|
1970
|
-
function
|
|
1970
|
+
function Us(t, e, n) {
|
|
1971
1971
|
let r = ne(n ? L(n) : void 0), i = n ? L(n) : void 0;
|
|
1972
1972
|
const o = typeof window < "u" ? be(i).HTMLInputElement : HTMLInputElement, l = typeof window < "u" ? be(i).HTMLTextAreaElement : HTMLTextAreaElement, a = typeof window < "u" ? be(i).HTMLElement : HTMLElement, s = typeof window < "u" ? be(i).KeyboardEvent : KeyboardEvent;
|
|
1973
1973
|
let d = ue(r);
|
|
1974
|
-
return t = t || d instanceof o && !
|
|
1974
|
+
return t = t || d instanceof o && !Ws.has(d.type) || d instanceof l || d instanceof a && d.isContentEditable, !(t && e === "keyboard" && n instanceof s && !zs[n.key]);
|
|
1975
1975
|
}
|
|
1976
1976
|
function js(t, e, n) {
|
|
1977
|
-
Xn(),
|
|
1977
|
+
Xn(), W(() => {
|
|
1978
1978
|
if ((n == null ? void 0 : n.enabled) === !1) return;
|
|
1979
1979
|
let r = (i, o) => {
|
|
1980
|
-
|
|
1980
|
+
Us(!!(n != null && n.isTextInput), i, o) && t(Zn());
|
|
1981
1981
|
};
|
|
1982
1982
|
return qn.add(r), () => {
|
|
1983
1983
|
qn.delete(r);
|
|
@@ -2003,7 +2003,7 @@ function wo(t) {
|
|
|
2003
2003
|
}, [
|
|
2004
2004
|
r,
|
|
2005
2005
|
i
|
|
2006
|
-
]), l =
|
|
2006
|
+
]), l = mo(o), a = B((s) => {
|
|
2007
2007
|
let d = L(s);
|
|
2008
2008
|
const c = ne(d), f = c ? ue(c) : ue();
|
|
2009
2009
|
d === s.currentTarget && d === f && (n && n(s), i && i(!0), l(s));
|
|
@@ -2061,7 +2061,7 @@ function qs(t) {
|
|
|
2061
2061
|
}
|
|
2062
2062
|
function vn(t, e) {
|
|
2063
2063
|
let { focusProps: n } = wo(t), { keyboardProps: r } = Gs(t), i = ee(n, r), o = qs(e), l = t.isDisabled ? {} : o, a = _(t.autoFocus);
|
|
2064
|
-
|
|
2064
|
+
W(() => {
|
|
2065
2065
|
a.current && e.current && et(e.current), a.current = !1;
|
|
2066
2066
|
}, [
|
|
2067
2067
|
e
|
|
@@ -2093,20 +2093,20 @@ function Er(t) {
|
|
|
2093
2093
|
i,
|
|
2094
2094
|
o,
|
|
2095
2095
|
a
|
|
2096
|
-
]), d =
|
|
2096
|
+
]), d = mo(s), c = B((f) => {
|
|
2097
2097
|
if (!j(f.currentTarget, L(f))) return;
|
|
2098
2098
|
let p = L(f);
|
|
2099
|
-
const
|
|
2099
|
+
const h = ne(p), v = ue(h);
|
|
2100
2100
|
if (!o.current.isFocusWithin && v === p) {
|
|
2101
2101
|
r && r(f), i && i(!0), o.current.isFocusWithin = !0, d(f);
|
|
2102
2102
|
let b = f.currentTarget;
|
|
2103
|
-
l(
|
|
2103
|
+
l(h, "focus", (g) => {
|
|
2104
2104
|
let y = L(g);
|
|
2105
2105
|
if (o.current.isFocusWithin && !j(b, y)) {
|
|
2106
|
-
let x = new
|
|
2106
|
+
let x = new h.defaultView.FocusEvent("blur", {
|
|
2107
2107
|
relatedTarget: y
|
|
2108
2108
|
});
|
|
2109
|
-
|
|
2109
|
+
ho(x, b);
|
|
2110
2110
|
let w = $r(x);
|
|
2111
2111
|
s(w);
|
|
2112
2112
|
}
|
|
@@ -2156,14 +2156,14 @@ function Tt(t) {
|
|
|
2156
2156
|
pointerType: "",
|
|
2157
2157
|
target: null
|
|
2158
2158
|
}).current;
|
|
2159
|
-
|
|
2159
|
+
W(Xs, []);
|
|
2160
2160
|
let { addGlobalListener: s, removeAllGlobalListeners: d } = fn(), { hoverProps: c, triggerHoverEnd: f } = q(() => {
|
|
2161
2161
|
let p = (b, g) => {
|
|
2162
2162
|
if (a.pointerType = g, i || g === "touch" || a.isHovered || !j(b.currentTarget, L(b))) return;
|
|
2163
2163
|
a.isHovered = !0;
|
|
2164
2164
|
let y = b.currentTarget;
|
|
2165
2165
|
a.target = y, s(ne(L(b)), "pointerover", (x) => {
|
|
2166
|
-
a.isHovered && a.target && !j(a.target, L(x)) &&
|
|
2166
|
+
a.isHovered && a.target && !j(a.target, L(x)) && h(x, x.pointerType);
|
|
2167
2167
|
}, {
|
|
2168
2168
|
capture: !0
|
|
2169
2169
|
}), e && e({
|
|
@@ -2171,7 +2171,7 @@ function Tt(t) {
|
|
|
2171
2171
|
target: y,
|
|
2172
2172
|
pointerType: g
|
|
2173
2173
|
}), n && n(!0), l(!0);
|
|
2174
|
-
},
|
|
2174
|
+
}, h = (b, g) => {
|
|
2175
2175
|
let y = a.target;
|
|
2176
2176
|
a.pointerType = "", a.target = null, !(g === "touch" || !a.isHovered || !y) && (a.isHovered = !1, d(), r && r({
|
|
2177
2177
|
type: "hoverend",
|
|
@@ -2182,16 +2182,16 @@ function Tt(t) {
|
|
|
2182
2182
|
return typeof PointerEvent < "u" ? (v.onPointerEnter = (b) => {
|
|
2183
2183
|
nn && b.pointerType === "mouse" || p(b, b.pointerType);
|
|
2184
2184
|
}, v.onPointerLeave = (b) => {
|
|
2185
|
-
!i && j(b.currentTarget, L(b)) &&
|
|
2185
|
+
!i && j(b.currentTarget, L(b)) && h(b, b.pointerType);
|
|
2186
2186
|
}) : process.env.NODE_ENV === "test" && (v.onTouchStart = () => {
|
|
2187
2187
|
a.ignoreEmulatedMouseEvents = !0;
|
|
2188
2188
|
}, v.onMouseEnter = (b) => {
|
|
2189
2189
|
!a.ignoreEmulatedMouseEvents && !nn && p(b, "mouse"), a.ignoreEmulatedMouseEvents = !1;
|
|
2190
2190
|
}, v.onMouseLeave = (b) => {
|
|
2191
|
-
!i && j(b.currentTarget, L(b)) &&
|
|
2191
|
+
!i && j(b.currentTarget, L(b)) && h(b, "mouse");
|
|
2192
2192
|
}), {
|
|
2193
2193
|
hoverProps: v,
|
|
2194
|
-
triggerHoverEnd:
|
|
2194
|
+
triggerHoverEnd: h
|
|
2195
2195
|
};
|
|
2196
2196
|
}, [
|
|
2197
2197
|
e,
|
|
@@ -2202,7 +2202,7 @@ function Tt(t) {
|
|
|
2202
2202
|
s,
|
|
2203
2203
|
d
|
|
2204
2204
|
]);
|
|
2205
|
-
return
|
|
2205
|
+
return W(() => {
|
|
2206
2206
|
i && f({
|
|
2207
2207
|
currentTarget: a.target
|
|
2208
2208
|
}, a.pointerType);
|
|
@@ -2222,7 +2222,7 @@ function Zs(t) {
|
|
|
2222
2222
|
}), a = Ne((s) => {
|
|
2223
2223
|
n && n(s);
|
|
2224
2224
|
});
|
|
2225
|
-
|
|
2225
|
+
W(() => {
|
|
2226
2226
|
let s = o.current;
|
|
2227
2227
|
if (r) return;
|
|
2228
2228
|
const d = e.current, c = ne(d);
|
|
@@ -2234,10 +2234,10 @@ function Zs(t) {
|
|
|
2234
2234
|
c.removeEventListener("pointerdown", l, !0), c.removeEventListener("click", f, !0);
|
|
2235
2235
|
};
|
|
2236
2236
|
} else if (process.env.NODE_ENV === "test") {
|
|
2237
|
-
let f = (
|
|
2238
|
-
s.ignoreEmulatedMouseEvents ? s.ignoreEmulatedMouseEvents = !1 : s.isPointerDown && Bt(
|
|
2239
|
-
}, p = (
|
|
2240
|
-
s.ignoreEmulatedMouseEvents = !0, s.isPointerDown && Bt(
|
|
2237
|
+
let f = (h) => {
|
|
2238
|
+
s.ignoreEmulatedMouseEvents ? s.ignoreEmulatedMouseEvents = !1 : s.isPointerDown && Bt(h, e) && a(h), s.isPointerDown = !1;
|
|
2239
|
+
}, p = (h) => {
|
|
2240
|
+
s.ignoreEmulatedMouseEvents = !0, s.isPointerDown && Bt(h, e) && a(h), s.isPointerDown = !1;
|
|
2241
2241
|
};
|
|
2242
2242
|
return c.addEventListener("mousedown", l, !0), c.addEventListener("mouseup", f, !0), c.addEventListener("touchstart", l, !0), c.addEventListener("touchend", p, !0), () => {
|
|
2243
2243
|
c.removeEventListener("mousedown", l, !0), c.removeEventListener("mouseup", f, !0), c.removeEventListener("touchstart", l, !0), c.removeEventListener("touchend", p, !0);
|
|
@@ -2275,14 +2275,14 @@ function Qs(t) {
|
|
|
2275
2275
|
type: "longpress"
|
|
2276
2276
|
}), a.current = void 0;
|
|
2277
2277
|
}, o), p.pointerType === "touch")) {
|
|
2278
|
-
let
|
|
2278
|
+
let h = (v) => {
|
|
2279
2279
|
v.preventDefault();
|
|
2280
2280
|
};
|
|
2281
|
-
s(p.target, "contextmenu",
|
|
2281
|
+
s(p.target, "contextmenu", h, {
|
|
2282
2282
|
once: !0
|
|
2283
2283
|
}), s(window, "pointerup", () => {
|
|
2284
2284
|
setTimeout(() => {
|
|
2285
|
-
d(p.target, "contextmenu",
|
|
2285
|
+
d(p.target, "contextmenu", h);
|
|
2286
2286
|
}, 30);
|
|
2287
2287
|
}, {
|
|
2288
2288
|
once: !0
|
|
@@ -2311,8 +2311,8 @@ function ed(t) {
|
|
|
2311
2311
|
ae(() => {
|
|
2312
2312
|
let p = s || pe.root;
|
|
2313
2313
|
if (pe.getTreeNode(p.scopeRef) && ce && !rn(ce, p.scopeRef)) {
|
|
2314
|
-
let
|
|
2315
|
-
|
|
2314
|
+
let h = pe.getTreeNode(ce);
|
|
2315
|
+
h && (p = h);
|
|
2316
2316
|
}
|
|
2317
2317
|
p.addChild(d), pe.addNode(d);
|
|
2318
2318
|
}, [
|
|
@@ -2325,26 +2325,26 @@ function ed(t) {
|
|
|
2325
2325
|
n
|
|
2326
2326
|
]), ae(() => {
|
|
2327
2327
|
var p;
|
|
2328
|
-
let
|
|
2329
|
-
for (;
|
|
2330
|
-
v.push(
|
|
2328
|
+
let h = (p = o.current) === null || p === void 0 ? void 0 : p.nextSibling, v = [], b = (g) => g.stopPropagation();
|
|
2329
|
+
for (; h && h !== l.current; )
|
|
2330
|
+
v.push(h), h.addEventListener(er, b), h = h.nextSibling;
|
|
2331
2331
|
return a.current = v, () => {
|
|
2332
2332
|
for (let g of v) g.removeEventListener(er, b);
|
|
2333
2333
|
};
|
|
2334
2334
|
}, [
|
|
2335
2335
|
e
|
|
2336
|
-
]), ad(a, r, n), id(a, n), sd(a, r, n), ld(a, i),
|
|
2336
|
+
]), ad(a, r, n), id(a, n), sd(a, r, n), ld(a, i), W(() => {
|
|
2337
2337
|
const p = ue(ne(a.current ? a.current[0] : void 0));
|
|
2338
|
-
let
|
|
2338
|
+
let h = null;
|
|
2339
2339
|
if (Ee(p, a.current)) {
|
|
2340
|
-
for (let v of pe.traverse()) v.scopeRef && Ee(p, v.scopeRef.current) && (
|
|
2341
|
-
|
|
2340
|
+
for (let v of pe.traverse()) v.scopeRef && Ee(p, v.scopeRef.current) && (h = v);
|
|
2341
|
+
h === pe.getTreeNode(a) && (ce = h.scopeRef);
|
|
2342
2342
|
}
|
|
2343
2343
|
}, [
|
|
2344
2344
|
a
|
|
2345
2345
|
]), ae(() => () => {
|
|
2346
|
-
var p,
|
|
2347
|
-
let b = (v = (
|
|
2346
|
+
var p, h, v;
|
|
2347
|
+
let b = (v = (h = pe.getTreeNode(a)) === null || h === void 0 || (p = h.parent) === null || p === void 0 ? void 0 : p.scopeRef) !== null && v !== void 0 ? v : null;
|
|
2348
2348
|
(a === ce || rn(a, ce)) && (!b || pe.getTreeNode(b)) && (ce = b), pe.removeTreeNode(a);
|
|
2349
2349
|
}, [
|
|
2350
2350
|
a
|
|
@@ -2450,24 +2450,24 @@ function id(t, e) {
|
|
|
2450
2450
|
if (d.key !== "Tab" || d.altKey || d.ctrlKey || d.metaKey || !$t(t) || d.isComposing) return;
|
|
2451
2451
|
let c = ue(o), f = t.current;
|
|
2452
2452
|
if (!f || !Ee(c, f)) return;
|
|
2453
|
-
let p = Xe(f),
|
|
2453
|
+
let p = Xe(f), h = Ke(p, {
|
|
2454
2454
|
tabbable: !0
|
|
2455
2455
|
}, f);
|
|
2456
2456
|
if (!c) return;
|
|
2457
|
-
|
|
2458
|
-
let v = d.shiftKey ?
|
|
2459
|
-
v || (
|
|
2457
|
+
h.currentNode = c;
|
|
2458
|
+
let v = d.shiftKey ? h.previousNode() : h.nextNode();
|
|
2459
|
+
v || (h.currentNode = d.shiftKey ? f[f.length - 1].nextElementSibling : f[0].previousElementSibling, v = d.shiftKey ? h.previousNode() : h.nextNode()), d.preventDefault(), v && Re(v, !0);
|
|
2460
2460
|
}, a = (d) => {
|
|
2461
|
-
(!ce || rn(ce, t)) && Ee(L(d), t.current) ? (ce = t, n.current = L(d)) : $t(t) && !
|
|
2461
|
+
(!ce || rn(ce, t)) && Ee(L(d), t.current) ? (ce = t, n.current = L(d)) : $t(t) && !Ue(L(d), t) ? n.current ? n.current.focus() : ce && ce.current && tr(ce.current) : $t(t) && (n.current = L(d));
|
|
2462
2462
|
}, s = (d) => {
|
|
2463
2463
|
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
|
2464
|
-
let c = tn(), f = (c === "virtual" || c === null) &&
|
|
2465
|
-
if (!f && p && $t(t) && !
|
|
2464
|
+
let c = tn(), f = (c === "virtual" || c === null) && hr() && pr(), p = ue(o);
|
|
2465
|
+
if (!f && p && $t(t) && !Ue(p, t)) {
|
|
2466
2466
|
ce = t;
|
|
2467
2467
|
let v = L(d);
|
|
2468
2468
|
if (v && v.isConnected) {
|
|
2469
|
-
var
|
|
2470
|
-
n.current = v, (
|
|
2469
|
+
var h;
|
|
2470
|
+
n.current = v, (h = n.current) === null || h === void 0 || h.focus();
|
|
2471
2471
|
} else ce.current && tr(ce.current);
|
|
2472
2472
|
}
|
|
2473
2473
|
});
|
|
@@ -2485,19 +2485,19 @@ function id(t, e) {
|
|
|
2485
2485
|
]);
|
|
2486
2486
|
}
|
|
2487
2487
|
function Eo(t) {
|
|
2488
|
-
return
|
|
2488
|
+
return Ue(t);
|
|
2489
2489
|
}
|
|
2490
2490
|
function Ee(t, e) {
|
|
2491
2491
|
return !t || !e ? !1 : e.some((n) => j(n, t));
|
|
2492
2492
|
}
|
|
2493
|
-
function
|
|
2493
|
+
function Ue(t, e = null) {
|
|
2494
2494
|
if (t instanceof Element && t.closest("[data-react-aria-top-layer]")) return !0;
|
|
2495
2495
|
for (let { scopeRef: n } of pe.traverse(pe.getTreeNode(e)))
|
|
2496
2496
|
if (n && Ee(t, n.current)) return !0;
|
|
2497
2497
|
return !1;
|
|
2498
2498
|
}
|
|
2499
2499
|
function od(t) {
|
|
2500
|
-
return
|
|
2500
|
+
return Ue(t, ce);
|
|
2501
2501
|
}
|
|
2502
2502
|
function rn(t, e) {
|
|
2503
2503
|
var n;
|
|
@@ -2533,7 +2533,7 @@ function tr(t, e = !0) {
|
|
|
2533
2533
|
}
|
|
2534
2534
|
function ld(t, e) {
|
|
2535
2535
|
const n = C.useRef(e);
|
|
2536
|
-
|
|
2536
|
+
W(() => {
|
|
2537
2537
|
if (n.current) {
|
|
2538
2538
|
ce = t;
|
|
2539
2539
|
const r = ne(t.current ? t.current[0] : void 0);
|
|
@@ -2591,7 +2591,7 @@ function sd(t, e, n) {
|
|
|
2591
2591
|
let o = (l) => {
|
|
2592
2592
|
if (l.key !== "Tab" || l.altKey || l.ctrlKey || l.metaKey || !$t(t) || l.isComposing) return;
|
|
2593
2593
|
let a = i.activeElement;
|
|
2594
|
-
if (!
|
|
2594
|
+
if (!Ue(a, t) || !ai(t)) return;
|
|
2595
2595
|
let s = pe.getTreeNode(t);
|
|
2596
2596
|
if (!s) return;
|
|
2597
2597
|
let d = s.nodeToRestore, c = Ke(i.body, {
|
|
@@ -2599,11 +2599,11 @@ function sd(t, e, n) {
|
|
|
2599
2599
|
});
|
|
2600
2600
|
c.currentNode = a;
|
|
2601
2601
|
let f = l.shiftKey ? c.previousNode() : c.nextNode();
|
|
2602
|
-
if ((!d || !d.isConnected || d === i.body) && (d = void 0, s.nodeToRestore = void 0), (!f || !
|
|
2602
|
+
if ((!d || !d.isConnected || d === i.body) && (d = void 0, s.nodeToRestore = void 0), (!f || !Ue(f, t)) && d) {
|
|
2603
2603
|
c.currentNode = d;
|
|
2604
2604
|
do
|
|
2605
2605
|
f = l.shiftKey ? c.previousNode() : c.nextNode();
|
|
2606
|
-
while (
|
|
2606
|
+
while (Ue(f, t));
|
|
2607
2607
|
l.preventDefault(), l.stopPropagation(), f ? Re(f, !0) : Eo(d) ? Re(d, !0) : a.blur();
|
|
2608
2608
|
}
|
|
2609
2609
|
};
|
|
@@ -2624,7 +2624,7 @@ function sd(t, e, n) {
|
|
|
2624
2624
|
let a = pe.getTreeNode(t);
|
|
2625
2625
|
if (!a) return;
|
|
2626
2626
|
let s = a.nodeToRestore, d = ue(i);
|
|
2627
|
-
if (e && s && (d &&
|
|
2627
|
+
if (e && s && (d && Ue(d, t) || d === i.body && ai(t))) {
|
|
2628
2628
|
let c = pe.clone();
|
|
2629
2629
|
requestAnimationFrame(() => {
|
|
2630
2630
|
if (i.activeElement === i.body) {
|
|
@@ -2728,13 +2728,13 @@ function it(t = {}) {
|
|
|
2728
2728
|
let { autoFocus: e = !1, isTextInput: n, within: r } = t, i = _({
|
|
2729
2729
|
isFocused: !1,
|
|
2730
2730
|
isFocusVisible: e || Zn()
|
|
2731
|
-
}), [o, l] = H(!1), [a, s] = H(() => i.current.isFocused && i.current.isFocusVisible), d = B(() => s(i.current.isFocused && i.current.isFocusVisible), []), c = B((
|
|
2732
|
-
i.current.isFocused =
|
|
2731
|
+
}), [o, l] = H(!1), [a, s] = H(() => i.current.isFocused && i.current.isFocusVisible), d = B(() => s(i.current.isFocused && i.current.isFocusVisible), []), c = B((h) => {
|
|
2732
|
+
i.current.isFocused = h, i.current.isFocusVisible = Zn(), l(h), d();
|
|
2733
2733
|
}, [
|
|
2734
2734
|
d
|
|
2735
2735
|
]);
|
|
2736
|
-
js((
|
|
2737
|
-
i.current.isFocusVisible =
|
|
2736
|
+
js((h) => {
|
|
2737
|
+
i.current.isFocusVisible = h, d();
|
|
2738
2738
|
}, [
|
|
2739
2739
|
n,
|
|
2740
2740
|
o
|
|
@@ -2785,7 +2785,7 @@ function dd(t, e) {
|
|
|
2785
2785
|
}
|
|
2786
2786
|
function Co(t) {
|
|
2787
2787
|
let e = ud(ne(t));
|
|
2788
|
-
e !== t && (e && cd(e, t), t &&
|
|
2788
|
+
e !== t && (e && cd(e, t), t && ko(t, e));
|
|
2789
2789
|
}
|
|
2790
2790
|
function cd(t, e) {
|
|
2791
2791
|
t.dispatchEvent(new FocusEvent("blur", {
|
|
@@ -2795,7 +2795,7 @@ function cd(t, e) {
|
|
|
2795
2795
|
relatedTarget: e
|
|
2796
2796
|
}));
|
|
2797
2797
|
}
|
|
2798
|
-
function
|
|
2798
|
+
function ko(t, e) {
|
|
2799
2799
|
t.dispatchEvent(new FocusEvent("focus", {
|
|
2800
2800
|
relatedTarget: e
|
|
2801
2801
|
})), t.dispatchEvent(new FocusEvent("focusin", {
|
|
@@ -2810,7 +2810,7 @@ function ud(t) {
|
|
|
2810
2810
|
const Ie = [];
|
|
2811
2811
|
function fd(t, e) {
|
|
2812
2812
|
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: o = !1, isKeyboardDismissDisabled: l = !1, shouldCloseOnInteractOutside: a } = t, s = _(void 0);
|
|
2813
|
-
|
|
2813
|
+
W(() => {
|
|
2814
2814
|
if (i && !Ie.includes(e))
|
|
2815
2815
|
return Ie.push(e), () => {
|
|
2816
2816
|
let b = Ie.indexOf(e);
|
|
@@ -2835,7 +2835,7 @@ function fd(t, e) {
|
|
|
2835
2835
|
onInteractOutside: o && i ? f : void 0,
|
|
2836
2836
|
onInteractOutsideStart: c
|
|
2837
2837
|
});
|
|
2838
|
-
let { focusWithinProps:
|
|
2838
|
+
let { focusWithinProps: h } = Er({
|
|
2839
2839
|
isDisabled: !r,
|
|
2840
2840
|
onBlurWithin: (b) => {
|
|
2841
2841
|
!b.relatedTarget || od(b.relatedTarget) || (!a || a(b.relatedTarget)) && (n == null || n());
|
|
@@ -2846,7 +2846,7 @@ function fd(t, e) {
|
|
|
2846
2846
|
return {
|
|
2847
2847
|
overlayProps: {
|
|
2848
2848
|
onKeyDown: p,
|
|
2849
|
-
...
|
|
2849
|
+
...h
|
|
2850
2850
|
},
|
|
2851
2851
|
underlayProps: {
|
|
2852
2852
|
onPointerDown: v
|
|
@@ -2859,19 +2859,19 @@ function pd(t = {}) {
|
|
|
2859
2859
|
let { isDisabled: e } = t;
|
|
2860
2860
|
ae(() => {
|
|
2861
2861
|
if (!e)
|
|
2862
|
-
return Vt++, Vt === 1 && (Je() ? Tn =
|
|
2862
|
+
return Vt++, Vt === 1 && (Je() ? Tn = md() : Tn = hd()), () => {
|
|
2863
2863
|
Vt--, Vt === 0 && Tn();
|
|
2864
2864
|
};
|
|
2865
2865
|
}, [
|
|
2866
2866
|
e
|
|
2867
2867
|
]);
|
|
2868
2868
|
}
|
|
2869
|
-
function
|
|
2869
|
+
function hd() {
|
|
2870
2870
|
let t = window.innerWidth - document.documentElement.clientWidth;
|
|
2871
|
-
return
|
|
2871
|
+
return kt(t > 0 && // Use scrollbar-gutter when supported because it also works for fixed positioned elements.
|
|
2872
2872
|
("scrollbarGutter" in document.documentElement.style ? Xt(document.documentElement, "scrollbarGutter", "stable") : Xt(document.documentElement, "paddingRight", `${t}px`)), Xt(document.documentElement, "overflow", "hidden"));
|
|
2873
2873
|
}
|
|
2874
|
-
function
|
|
2874
|
+
function md() {
|
|
2875
2875
|
let t = Xt(document.documentElement, "overflow", "hidden"), e, n = !1, r = (d) => {
|
|
2876
2876
|
let c = L(d);
|
|
2877
2877
|
e = St(c) ? c : io(c, !0), n = !1;
|
|
@@ -2900,8 +2900,8 @@ function hd() {
|
|
|
2900
2900
|
}), di(f, xt(c));
|
|
2901
2901
|
else if (!f) {
|
|
2902
2902
|
var p;
|
|
2903
|
-
let
|
|
2904
|
-
|
|
2903
|
+
let h = (p = c.parentElement) === null || p === void 0 ? void 0 : p.closest("[tabindex]");
|
|
2904
|
+
h == null || h.focus({
|
|
2905
2905
|
preventScroll: !0
|
|
2906
2906
|
});
|
|
2907
2907
|
}
|
|
@@ -2913,7 +2913,7 @@ function hd() {
|
|
|
2913
2913
|
preventScroll: !0
|
|
2914
2914
|
}), (!d || !d.preventScroll) && di(this, f);
|
|
2915
2915
|
};
|
|
2916
|
-
let s =
|
|
2916
|
+
let s = kt(Dn(document, "touchstart", r, {
|
|
2917
2917
|
passive: !1,
|
|
2918
2918
|
capture: !0
|
|
2919
2919
|
}), Dn(document, "touchmove", o, {
|
|
@@ -2965,8 +2965,8 @@ function vd() {
|
|
|
2965
2965
|
var t;
|
|
2966
2966
|
return (t = re(bd)) !== null && t !== void 0 ? t : {};
|
|
2967
2967
|
}
|
|
2968
|
-
var
|
|
2969
|
-
|
|
2968
|
+
var Po = {};
|
|
2969
|
+
Po = {
|
|
2970
2970
|
dismiss: "تجاهل"
|
|
2971
2971
|
};
|
|
2972
2972
|
var No = {};
|
|
@@ -3033,12 +3033,12 @@ var Ho = {};
|
|
|
3033
3033
|
Ho = {
|
|
3034
3034
|
dismiss: "무시"
|
|
3035
3035
|
};
|
|
3036
|
-
var Uo = {};
|
|
3037
|
-
Uo = {
|
|
3038
|
-
dismiss: "Atmesti"
|
|
3039
|
-
};
|
|
3040
3036
|
var Wo = {};
|
|
3041
3037
|
Wo = {
|
|
3038
|
+
dismiss: "Atmesti"
|
|
3039
|
+
};
|
|
3040
|
+
var Uo = {};
|
|
3041
|
+
Uo = {
|
|
3042
3042
|
dismiss: "Nerādīt"
|
|
3043
3043
|
};
|
|
3044
3044
|
var jo = {};
|
|
@@ -3103,7 +3103,7 @@ ll = {
|
|
|
3103
3103
|
};
|
|
3104
3104
|
var al = {};
|
|
3105
3105
|
al = {
|
|
3106
|
-
"ar-AE":
|
|
3106
|
+
"ar-AE": Po,
|
|
3107
3107
|
"bg-BG": No,
|
|
3108
3108
|
"cs-CZ": To,
|
|
3109
3109
|
"da-DK": Do,
|
|
@@ -3120,8 +3120,8 @@ al = {
|
|
|
3120
3120
|
"it-IT": Bo,
|
|
3121
3121
|
"ja-JP": Vo,
|
|
3122
3122
|
"ko-KR": Ho,
|
|
3123
|
-
"lt-LT":
|
|
3124
|
-
"lv-LV":
|
|
3123
|
+
"lt-LT": Wo,
|
|
3124
|
+
"lv-LV": Uo,
|
|
3125
3125
|
"nb-NO": jo,
|
|
3126
3126
|
"nl-NL": Go,
|
|
3127
3127
|
"pl-PL": qo,
|
|
@@ -3210,18 +3210,18 @@ function wd(t, e) {
|
|
|
3210
3210
|
for (let N of y.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) a.add(N);
|
|
3211
3211
|
let x = (N) => {
|
|
3212
3212
|
if (s.has(N) || a.has(N) || N.parentElement && s.has(N.parentElement) && N.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
|
|
3213
|
-
for (let
|
|
3214
|
-
if (j(N,
|
|
3213
|
+
for (let U of a)
|
|
3214
|
+
if (j(N, U)) return NodeFilter.FILTER_SKIP;
|
|
3215
3215
|
return NodeFilter.FILTER_ACCEPT;
|
|
3216
3216
|
}, w = Qi(ne(y), y, NodeFilter.SHOW_ELEMENT, {
|
|
3217
3217
|
acceptNode: x
|
|
3218
3218
|
}), S = x(y);
|
|
3219
|
-
if (S === NodeFilter.FILTER_ACCEPT &&
|
|
3219
|
+
if (S === NodeFilter.FILTER_ACCEPT && h(y), S !== NodeFilter.FILTER_REJECT) {
|
|
3220
3220
|
let N = w.nextNode();
|
|
3221
3221
|
for (; N != null; )
|
|
3222
|
-
|
|
3222
|
+
h(N), N = w.nextNode();
|
|
3223
3223
|
}
|
|
3224
|
-
},
|
|
3224
|
+
}, h = (y) => {
|
|
3225
3225
|
var x;
|
|
3226
3226
|
let w = (x = bt.get(y)) !== null && x !== void 0 ? x : 0;
|
|
3227
3227
|
d(y) && w === 0 || (w === 0 && c(y, !0), s.add(y), bt.set(y, w + 1));
|
|
@@ -3308,7 +3308,7 @@ function Ed(t) {
|
|
|
3308
3308
|
contain: (t.shouldContainFocus || i) && !r
|
|
3309
3309
|
}, s)), s = /* @__PURE__ */ C.createElement(sl.Provider, {
|
|
3310
3310
|
value: l
|
|
3311
|
-
}, /* @__PURE__ */ C.createElement(Ys, null, s)), /* @__PURE__ */
|
|
3311
|
+
}, /* @__PURE__ */ C.createElement(Ys, null, s)), /* @__PURE__ */ ha.createPortal(s, n);
|
|
3312
3312
|
}
|
|
3313
3313
|
function dl() {
|
|
3314
3314
|
let t = re(sl), e = t == null ? void 0 : t.setContain;
|
|
@@ -3326,7 +3326,7 @@ function Sd(t, e, n) {
|
|
|
3326
3326
|
}, n);
|
|
3327
3327
|
return pd({
|
|
3328
3328
|
isDisabled: !e.isOpen
|
|
3329
|
-
}), dl(),
|
|
3329
|
+
}), dl(), W(() => {
|
|
3330
3330
|
if (e.isOpen && n.current) return wd([
|
|
3331
3331
|
n.current
|
|
3332
3332
|
], {
|
|
@@ -3358,7 +3358,7 @@ function Cd(t) {
|
|
|
3358
3358
|
fieldProps: s
|
|
3359
3359
|
};
|
|
3360
3360
|
}
|
|
3361
|
-
function
|
|
3361
|
+
function kd(t) {
|
|
3362
3362
|
let { description: e, errorMessage: n, isInvalid: r, validationState: i } = t, { labelProps: o, fieldProps: l } = Cd(t), a = On([
|
|
3363
3363
|
!!e,
|
|
3364
3364
|
!!n,
|
|
@@ -3389,7 +3389,7 @@ function Pd(t) {
|
|
|
3389
3389
|
};
|
|
3390
3390
|
}
|
|
3391
3391
|
function rr(t) {
|
|
3392
|
-
return
|
|
3392
|
+
return Ua() ? t.altKey : t.ctrlKey;
|
|
3393
3393
|
}
|
|
3394
3394
|
function _n(t, e) {
|
|
3395
3395
|
var n, r;
|
|
@@ -3397,7 +3397,7 @@ function _n(t, e) {
|
|
|
3397
3397
|
return o && (i = `[data-collection="${CSS.escape(o)}"]${i}`), (r = t.current) === null || r === void 0 ? void 0 : r.querySelector(i);
|
|
3398
3398
|
}
|
|
3399
3399
|
const cl = /* @__PURE__ */ new WeakMap();
|
|
3400
|
-
function
|
|
3400
|
+
function Pd(t) {
|
|
3401
3401
|
let e = Fe();
|
|
3402
3402
|
return cl.set(t, e), e;
|
|
3403
3403
|
}
|
|
@@ -3433,88 +3433,88 @@ function _d(t) {
|
|
|
3433
3433
|
return t.length === 1 || !/^[A-Z]/i.test(t) ? t : "";
|
|
3434
3434
|
}
|
|
3435
3435
|
function Id(t) {
|
|
3436
|
-
let { selectionManager: e, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: o = !1, disallowEmptySelection: l = !1, disallowSelectAll: a = !1, escapeKeyBehavior: s = "clearSelection", selectOnFocus: d = e.selectionBehavior === "replace", disallowTypeAhead: c = !1, shouldUseVirtualFocus: f, allowsTabNavigation: p = !1, scrollRef:
|
|
3437
|
-
if (
|
|
3436
|
+
let { selectionManager: e, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: o = !1, disallowEmptySelection: l = !1, disallowSelectAll: a = !1, escapeKeyBehavior: s = "clearSelection", selectOnFocus: d = e.selectionBehavior === "replace", disallowTypeAhead: c = !1, shouldUseVirtualFocus: f, allowsTabNavigation: p = !1, scrollRef: h = r, linkBehavior: v = "action" } = t, { direction: b } = yr(), g = mr(), y = (P) => {
|
|
3437
|
+
if (P.altKey && P.key === "Tab" && P.preventDefault(), !r.current || !j(r.current, L(P))) return;
|
|
3438
3438
|
const O = (z, ie) => {
|
|
3439
3439
|
if (z != null) {
|
|
3440
|
-
if (e.isLink(z) && v === "selection" && d && !rr(
|
|
3440
|
+
if (e.isLink(z) && v === "selection" && d && !rr(P)) {
|
|
3441
3441
|
ur(() => {
|
|
3442
3442
|
e.setFocusedKey(z, ie);
|
|
3443
3443
|
});
|
|
3444
3444
|
let ge = _n(r, z), De = e.getItemProps(z);
|
|
3445
|
-
ge && g.open(ge,
|
|
3445
|
+
ge && g.open(ge, P, De.href, De.routerOptions);
|
|
3446
3446
|
return;
|
|
3447
3447
|
}
|
|
3448
3448
|
if (e.setFocusedKey(z, ie), e.isLink(z) && v === "override") return;
|
|
3449
|
-
|
|
3449
|
+
P.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(z) : d && !rr(P) && e.replaceSelection(z);
|
|
3450
3450
|
}
|
|
3451
3451
|
};
|
|
3452
|
-
switch (
|
|
3452
|
+
switch (P.key) {
|
|
3453
3453
|
case "ArrowDown":
|
|
3454
3454
|
if (n.getKeyBelow) {
|
|
3455
3455
|
var X, Q, oe;
|
|
3456
3456
|
let z = e.focusedKey != null ? (X = n.getKeyBelow) === null || X === void 0 ? void 0 : X.call(n, e.focusedKey) : (Q = n.getFirstKey) === null || Q === void 0 ? void 0 : Q.call(n);
|
|
3457
|
-
z == null && o && (z = (oe = n.getFirstKey) === null || oe === void 0 ? void 0 : oe.call(n, e.focusedKey)), z != null && (
|
|
3457
|
+
z == null && o && (z = (oe = n.getFirstKey) === null || oe === void 0 ? void 0 : oe.call(n, e.focusedKey)), z != null && (P.preventDefault(), O(z));
|
|
3458
3458
|
}
|
|
3459
3459
|
break;
|
|
3460
3460
|
case "ArrowUp":
|
|
3461
3461
|
if (n.getKeyAbove) {
|
|
3462
3462
|
var de, u, T;
|
|
3463
3463
|
let z = e.focusedKey != null ? (de = n.getKeyAbove) === null || de === void 0 ? void 0 : de.call(n, e.focusedKey) : (u = n.getLastKey) === null || u === void 0 ? void 0 : u.call(n);
|
|
3464
|
-
z == null && o && (z = (T = n.getLastKey) === null || T === void 0 ? void 0 : T.call(n, e.focusedKey)), z != null && (
|
|
3464
|
+
z == null && o && (z = (T = n.getLastKey) === null || T === void 0 ? void 0 : T.call(n, e.focusedKey)), z != null && (P.preventDefault(), O(z));
|
|
3465
3465
|
}
|
|
3466
3466
|
break;
|
|
3467
3467
|
case "ArrowLeft":
|
|
3468
3468
|
if (n.getKeyLeftOf) {
|
|
3469
|
-
var $,
|
|
3469
|
+
var $, k, I;
|
|
3470
3470
|
let z = e.focusedKey != null ? ($ = n.getKeyLeftOf) === null || $ === void 0 ? void 0 : $.call(n, e.focusedKey) : null;
|
|
3471
|
-
z == null && o && (z = b === "rtl" ? (
|
|
3471
|
+
z == null && o && (z = b === "rtl" ? (k = n.getFirstKey) === null || k === void 0 ? void 0 : k.call(n, e.focusedKey) : (I = n.getLastKey) === null || I === void 0 ? void 0 : I.call(n, e.focusedKey)), z != null && (P.preventDefault(), O(z, b === "rtl" ? "first" : "last"));
|
|
3472
3472
|
}
|
|
3473
3473
|
break;
|
|
3474
3474
|
case "ArrowRight":
|
|
3475
3475
|
if (n.getKeyRightOf) {
|
|
3476
|
-
var K, G,
|
|
3476
|
+
var K, G, me;
|
|
3477
3477
|
let z = e.focusedKey != null ? (K = n.getKeyRightOf) === null || K === void 0 ? void 0 : K.call(n, e.focusedKey) : null;
|
|
3478
|
-
z == null && o && (z = b === "rtl" ? (G = n.getLastKey) === null || G === void 0 ? void 0 : G.call(n, e.focusedKey) : (
|
|
3478
|
+
z == null && o && (z = b === "rtl" ? (G = n.getLastKey) === null || G === void 0 ? void 0 : G.call(n, e.focusedKey) : (me = n.getFirstKey) === null || me === void 0 ? void 0 : me.call(n, e.focusedKey)), z != null && (P.preventDefault(), O(z, b === "rtl" ? "last" : "first"));
|
|
3479
3479
|
}
|
|
3480
3480
|
break;
|
|
3481
3481
|
case "Home":
|
|
3482
3482
|
if (n.getFirstKey) {
|
|
3483
|
-
if (e.focusedKey === null &&
|
|
3484
|
-
|
|
3485
|
-
let z = n.getFirstKey(e.focusedKey, at(
|
|
3486
|
-
e.setFocusedKey(z), z != null && (at(
|
|
3483
|
+
if (e.focusedKey === null && P.shiftKey) return;
|
|
3484
|
+
P.preventDefault();
|
|
3485
|
+
let z = n.getFirstKey(e.focusedKey, at(P));
|
|
3486
|
+
e.setFocusedKey(z), z != null && (at(P) && P.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(z) : d && e.replaceSelection(z));
|
|
3487
3487
|
}
|
|
3488
3488
|
break;
|
|
3489
3489
|
case "End":
|
|
3490
3490
|
if (n.getLastKey) {
|
|
3491
|
-
if (e.focusedKey === null &&
|
|
3492
|
-
|
|
3493
|
-
let z = n.getLastKey(e.focusedKey, at(
|
|
3494
|
-
e.setFocusedKey(z), z != null && (at(
|
|
3491
|
+
if (e.focusedKey === null && P.shiftKey) return;
|
|
3492
|
+
P.preventDefault();
|
|
3493
|
+
let z = n.getLastKey(e.focusedKey, at(P));
|
|
3494
|
+
e.setFocusedKey(z), z != null && (at(P) && P.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(z) : d && e.replaceSelection(z));
|
|
3495
3495
|
}
|
|
3496
3496
|
break;
|
|
3497
3497
|
case "PageDown":
|
|
3498
3498
|
if (n.getKeyPageBelow && e.focusedKey != null) {
|
|
3499
3499
|
let z = n.getKeyPageBelow(e.focusedKey);
|
|
3500
|
-
z != null && (
|
|
3500
|
+
z != null && (P.preventDefault(), O(z));
|
|
3501
3501
|
}
|
|
3502
3502
|
break;
|
|
3503
3503
|
case "PageUp":
|
|
3504
3504
|
if (n.getKeyPageAbove && e.focusedKey != null) {
|
|
3505
3505
|
let z = n.getKeyPageAbove(e.focusedKey);
|
|
3506
|
-
z != null && (
|
|
3506
|
+
z != null && (P.preventDefault(), O(z));
|
|
3507
3507
|
}
|
|
3508
3508
|
break;
|
|
3509
3509
|
case "a":
|
|
3510
|
-
at(
|
|
3510
|
+
at(P) && e.selectionMode === "multiple" && a !== !0 && (P.preventDefault(), e.selectAll());
|
|
3511
3511
|
break;
|
|
3512
3512
|
case "Escape":
|
|
3513
|
-
s === "clearSelection" && !l && e.selectedKeys.size !== 0 && (
|
|
3513
|
+
s === "clearSelection" && !l && e.selectedKeys.size !== 0 && (P.stopPropagation(), P.preventDefault(), e.clearSelection());
|
|
3514
3514
|
break;
|
|
3515
3515
|
case "Tab":
|
|
3516
3516
|
if (!p) {
|
|
3517
|
-
if (
|
|
3517
|
+
if (P.shiftKey) r.current.focus();
|
|
3518
3518
|
else {
|
|
3519
3519
|
let z = Ke(r.current, {
|
|
3520
3520
|
tabbable: !0
|
|
@@ -3532,47 +3532,47 @@ function Id(t) {
|
|
|
3532
3532
|
top: 0,
|
|
3533
3533
|
left: 0
|
|
3534
3534
|
});
|
|
3535
|
-
Ft(
|
|
3536
|
-
var
|
|
3535
|
+
Ft(h, "scroll", () => {
|
|
3536
|
+
var P, O, X, Q;
|
|
3537
3537
|
x.current = {
|
|
3538
|
-
top: (X = (
|
|
3539
|
-
left: (Q = (O =
|
|
3538
|
+
top: (X = (P = h.current) === null || P === void 0 ? void 0 : P.scrollTop) !== null && X !== void 0 ? X : 0,
|
|
3539
|
+
left: (Q = (O = h.current) === null || O === void 0 ? void 0 : O.scrollLeft) !== null && Q !== void 0 ? Q : 0
|
|
3540
3540
|
};
|
|
3541
3541
|
});
|
|
3542
|
-
let w = (
|
|
3542
|
+
let w = (P) => {
|
|
3543
3543
|
if (e.isFocused) {
|
|
3544
|
-
j(
|
|
3544
|
+
j(P.currentTarget, L(P)) || e.setFocused(!1);
|
|
3545
3545
|
return;
|
|
3546
3546
|
}
|
|
3547
|
-
if (j(
|
|
3547
|
+
if (j(P.currentTarget, L(P))) {
|
|
3548
3548
|
if (e.setFocused(!0), e.focusedKey == null) {
|
|
3549
3549
|
var O, X;
|
|
3550
3550
|
let de = (T) => {
|
|
3551
3551
|
T != null && (e.setFocusedKey(T), d && !e.isSelected(T) && e.replaceSelection(T));
|
|
3552
|
-
}, u =
|
|
3552
|
+
}, u = P.relatedTarget;
|
|
3553
3553
|
var Q, oe;
|
|
3554
|
-
u &&
|
|
3555
|
-
} else
|
|
3556
|
-
if (e.focusedKey != null &&
|
|
3554
|
+
u && P.currentTarget.compareDocumentPosition(u) & Node.DOCUMENT_POSITION_FOLLOWING ? de((Q = e.lastSelectedKey) !== null && Q !== void 0 ? Q : (O = n.getLastKey) === null || O === void 0 ? void 0 : O.call(n)) : de((oe = e.firstSelectedKey) !== null && oe !== void 0 ? oe : (X = n.getFirstKey) === null || X === void 0 ? void 0 : X.call(n));
|
|
3555
|
+
} else h.current && (h.current.scrollTop = x.current.top, h.current.scrollLeft = x.current.left);
|
|
3556
|
+
if (e.focusedKey != null && h.current) {
|
|
3557
3557
|
let de = _n(r, e.focusedKey);
|
|
3558
3558
|
de instanceof HTMLElement && (!zn(de) && !f && Ae(de), tn() === "keyboard" && Br(de, {
|
|
3559
3559
|
containingElement: r.current
|
|
3560
3560
|
}));
|
|
3561
3561
|
}
|
|
3562
3562
|
}
|
|
3563
|
-
}, S = (
|
|
3564
|
-
j(
|
|
3563
|
+
}, S = (P) => {
|
|
3564
|
+
j(P.currentTarget, P.relatedTarget) || e.setFocused(!1);
|
|
3565
3565
|
}, N = _(!1);
|
|
3566
|
-
Ft(r, ls, f ? (
|
|
3567
|
-
let { detail: O } =
|
|
3568
|
-
|
|
3566
|
+
Ft(r, ls, f ? (P) => {
|
|
3567
|
+
let { detail: O } = P;
|
|
3568
|
+
P.stopPropagation(), e.setFocused(!0), (O == null ? void 0 : O.focusStrategy) === "first" && (N.current = !0);
|
|
3569
3569
|
} : void 0), Or(() => {
|
|
3570
3570
|
if (N.current) {
|
|
3571
|
-
var
|
|
3572
|
-
let X = (O = (
|
|
3571
|
+
var P, O;
|
|
3572
|
+
let X = (O = (P = n.getFirstKey) === null || P === void 0 ? void 0 : P.call(n)) !== null && O !== void 0 ? O : null;
|
|
3573
3573
|
if (X == null) {
|
|
3574
3574
|
let Q = ue();
|
|
3575
|
-
Co(r.current),
|
|
3575
|
+
Co(r.current), ko(Q, null), e.collection.size > 0 && (N.current = !1);
|
|
3576
3576
|
} else
|
|
3577
3577
|
e.setFocusedKey(X), N.current = !1;
|
|
3578
3578
|
}
|
|
@@ -3582,17 +3582,17 @@ function Id(t) {
|
|
|
3582
3582
|
e.collection.size > 0 && (N.current = !1);
|
|
3583
3583
|
}, [
|
|
3584
3584
|
e.focusedKey
|
|
3585
|
-
]), Ft(r, os, f ? (
|
|
3585
|
+
]), Ft(r, os, f ? (P) => {
|
|
3586
3586
|
var O;
|
|
3587
|
-
|
|
3587
|
+
P.stopPropagation(), e.setFocused(!1), !((O = P.detail) === null || O === void 0) && O.clearFocusKey && e.setFocusedKey(null);
|
|
3588
3588
|
} : void 0);
|
|
3589
|
-
const
|
|
3590
|
-
|
|
3591
|
-
if (
|
|
3592
|
-
var
|
|
3589
|
+
const U = _(i), A = _(!1);
|
|
3590
|
+
W(() => {
|
|
3591
|
+
if (U.current) {
|
|
3592
|
+
var P, O;
|
|
3593
3593
|
let oe = null;
|
|
3594
3594
|
var X;
|
|
3595
|
-
i === "first" && (oe = (X = (
|
|
3595
|
+
i === "first" && (oe = (X = (P = n.getFirstKey) === null || P === void 0 ? void 0 : P.call(n)) !== null && X !== void 0 ? X : null);
|
|
3596
3596
|
var Q;
|
|
3597
3597
|
i === "last" && (oe = (Q = (O = n.getLastKey) === null || O === void 0 ? void 0 : O.call(n)) !== null && Q !== void 0 ? Q : null);
|
|
3598
3598
|
let de = e.selectedKeys;
|
|
@@ -3602,33 +3602,33 @@ function Id(t) {
|
|
|
3602
3602
|
break;
|
|
3603
3603
|
}
|
|
3604
3604
|
}
|
|
3605
|
-
e.setFocused(!0), e.setFocusedKey(oe), oe == null && !f && r.current && et(r.current), e.collection.size > 0 && (
|
|
3605
|
+
e.setFocused(!0), e.setFocusedKey(oe), oe == null && !f && r.current && et(r.current), e.collection.size > 0 && (U.current = !1, A.current = !0);
|
|
3606
3606
|
}
|
|
3607
3607
|
});
|
|
3608
3608
|
let E = _(e.focusedKey), R = _(null);
|
|
3609
|
-
|
|
3610
|
-
if (e.isFocused && e.focusedKey != null && (e.focusedKey !== E.current || A.current) &&
|
|
3611
|
-
let
|
|
3609
|
+
W(() => {
|
|
3610
|
+
if (e.isFocused && e.focusedKey != null && (e.focusedKey !== E.current || A.current) && h.current && r.current) {
|
|
3611
|
+
let P = tn(), O = _n(r, e.focusedKey);
|
|
3612
3612
|
if (!(O instanceof HTMLElement))
|
|
3613
3613
|
return;
|
|
3614
|
-
(
|
|
3615
|
-
|
|
3614
|
+
(P === "keyboard" || A.current) && (R.current && cancelAnimationFrame(R.current), R.current = requestAnimationFrame(() => {
|
|
3615
|
+
h.current && (Vn(h.current, O), P !== "virtual" && Br(O, {
|
|
3616
3616
|
containingElement: r.current
|
|
3617
3617
|
}));
|
|
3618
3618
|
}));
|
|
3619
3619
|
}
|
|
3620
3620
|
!f && e.isFocused && e.focusedKey == null && E.current != null && r.current && et(r.current), E.current = e.focusedKey, A.current = !1;
|
|
3621
|
-
}),
|
|
3621
|
+
}), W(() => () => {
|
|
3622
3622
|
R.current && cancelAnimationFrame(R.current);
|
|
3623
|
-
}, []), Ft(r, "react-aria-focus-scope-restore", (
|
|
3624
|
-
|
|
3623
|
+
}, []), Ft(r, "react-aria-focus-scope-restore", (P) => {
|
|
3624
|
+
P.preventDefault(), e.setFocused(!0);
|
|
3625
3625
|
});
|
|
3626
3626
|
let V = {
|
|
3627
3627
|
onKeyDown: y,
|
|
3628
3628
|
onFocus: w,
|
|
3629
3629
|
onBlur: S,
|
|
3630
|
-
onMouseDown(
|
|
3631
|
-
|
|
3630
|
+
onMouseDown(P) {
|
|
3631
|
+
h.current === L(P) && P.preventDefault();
|
|
3632
3632
|
}
|
|
3633
3633
|
}, { typeSelectProps: le } = Dd({
|
|
3634
3634
|
keyboardDelegate: n,
|
|
@@ -3637,7 +3637,7 @@ function Id(t) {
|
|
|
3637
3637
|
c || (V = ee(le, V));
|
|
3638
3638
|
let se;
|
|
3639
3639
|
f || (se = e.focusedKey == null ? 0 : -1);
|
|
3640
|
-
let J =
|
|
3640
|
+
let J = Pd(e.collection);
|
|
3641
3641
|
return {
|
|
3642
3642
|
collectionProps: ee(V, {
|
|
3643
3643
|
tabIndex: se,
|
|
@@ -3646,9 +3646,9 @@ function Id(t) {
|
|
|
3646
3646
|
};
|
|
3647
3647
|
}
|
|
3648
3648
|
function Kd(t) {
|
|
3649
|
-
let { id: e, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: o, shouldUseVirtualFocus: l, focus: a, isDisabled: s, onAction: d, allowsDifferentPressOrigin: c, linkBehavior: f = "action" } = t, p =
|
|
3649
|
+
let { id: e, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: o, shouldUseVirtualFocus: l, focus: a, isDisabled: s, onAction: d, allowsDifferentPressOrigin: c, linkBehavior: f = "action" } = t, p = mr();
|
|
3650
3650
|
e = Fe(e);
|
|
3651
|
-
let
|
|
3651
|
+
let h = (u) => {
|
|
3652
3652
|
if (u.pointerType === "keyboard" && rr(u)) n.toggleSelection(r);
|
|
3653
3653
|
else {
|
|
3654
3654
|
if (n.selectionMode === "none") return;
|
|
@@ -3662,7 +3662,7 @@ function Kd(t) {
|
|
|
3662
3662
|
n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : u && u.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || u && (at(u) || u.pointerType === "touch" || u.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
|
|
3663
3663
|
}
|
|
3664
3664
|
};
|
|
3665
|
-
|
|
3665
|
+
W(() => {
|
|
3666
3666
|
r === n.focusedKey && n.isFocused && (l ? Co(i.current) : a ? a() : ue() !== i.current && i.current && et(i.current));
|
|
3667
3667
|
}, [
|
|
3668
3668
|
i,
|
|
@@ -3680,14 +3680,14 @@ function Kd(t) {
|
|
|
3680
3680
|
}
|
|
3681
3681
|
} : s && (v.onMouseDown = (u) => {
|
|
3682
3682
|
u.preventDefault();
|
|
3683
|
-
}),
|
|
3683
|
+
}), W(() => {
|
|
3684
3684
|
s && n.focusedKey === r && n.setFocusedKey(null);
|
|
3685
3685
|
}, [
|
|
3686
3686
|
n,
|
|
3687
3687
|
s,
|
|
3688
3688
|
r
|
|
3689
3689
|
]);
|
|
3690
|
-
let b = n.isLink(r) && f === "override", g = d && t.UNSTABLE_itemBehavior === "action", y = n.isLink(r) && f !== "selection" && f !== "none", x = !s && n.canSelectItem(r) && !b && !g, w = (d || y) && !s, S = w && (n.selectionBehavior === "replace" ? !x : !x || n.isEmpty), N = w && x && n.selectionBehavior === "replace",
|
|
3690
|
+
let b = n.isLink(r) && f === "override", g = d && t.UNSTABLE_itemBehavior === "action", y = n.isLink(r) && f !== "selection" && f !== "none", x = !s && n.canSelectItem(r) && !b && !g, w = (d || y) && !s, S = w && (n.selectionBehavior === "replace" ? !x : !x || n.isEmpty), N = w && x && n.selectionBehavior === "replace", U = S || N, A = _(null), E = U && x, R = _(!1), V = _(!1), le = n.getItemProps(r), se = (u) => {
|
|
3691
3691
|
if (d) {
|
|
3692
3692
|
var T;
|
|
3693
3693
|
d(), (T = i.current) === null || T === void 0 || T.dispatchEvent(new CustomEvent("react-aria-item-action", {
|
|
@@ -3699,20 +3699,20 @@ function Kd(t) {
|
|
|
3699
3699
|
ref: i
|
|
3700
3700
|
};
|
|
3701
3701
|
if (o ? (J.onPressStart = (u) => {
|
|
3702
|
-
A.current = u.pointerType, R.current = E, u.pointerType === "keyboard" && (!
|
|
3702
|
+
A.current = u.pointerType, R.current = E, u.pointerType === "keyboard" && (!U || pi(u.key)) && h(u);
|
|
3703
3703
|
}, c ? (J.onPressUp = S ? void 0 : (u) => {
|
|
3704
|
-
u.pointerType === "mouse" && x &&
|
|
3704
|
+
u.pointerType === "mouse" && x && h(u);
|
|
3705
3705
|
}, J.onPress = S ? se : (u) => {
|
|
3706
|
-
u.pointerType !== "keyboard" && u.pointerType !== "mouse" && x &&
|
|
3706
|
+
u.pointerType !== "keyboard" && u.pointerType !== "mouse" && x && h(u);
|
|
3707
3707
|
}) : J.onPress = (u) => {
|
|
3708
3708
|
if (S || N && u.pointerType !== "mouse") {
|
|
3709
3709
|
if (u.pointerType === "keyboard" && !fi(u.key)) return;
|
|
3710
3710
|
se(u);
|
|
3711
|
-
} else u.pointerType !== "keyboard" && x &&
|
|
3711
|
+
} else u.pointerType !== "keyboard" && x && h(u);
|
|
3712
3712
|
}) : (J.onPressStart = (u) => {
|
|
3713
|
-
A.current = u.pointerType, R.current = E, V.current = S, x && (u.pointerType === "mouse" && !S || u.pointerType === "keyboard" && (!w || pi(u.key))) &&
|
|
3713
|
+
A.current = u.pointerType, R.current = E, V.current = S, x && (u.pointerType === "mouse" && !S || u.pointerType === "keyboard" && (!w || pi(u.key))) && h(u);
|
|
3714
3714
|
}, J.onPress = (u) => {
|
|
3715
|
-
(u.pointerType === "touch" || u.pointerType === "pen" || u.pointerType === "virtual" || u.pointerType === "keyboard" &&
|
|
3715
|
+
(u.pointerType === "touch" || u.pointerType === "pen" || u.pointerType === "virtual" || u.pointerType === "keyboard" && U && fi(u.key) || u.pointerType === "mouse" && V.current) && (U ? se(u) : x && h(u));
|
|
3716
3716
|
}), v["data-collection"] = Nd(n.collection), v["data-key"] = r, J.preventFocusOnPress = l, l && (J = ee(J, {
|
|
3717
3717
|
onPressStart(u) {
|
|
3718
3718
|
u.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
|
|
@@ -3728,13 +3728,13 @@ function Kd(t) {
|
|
|
3728
3728
|
"onPress",
|
|
3729
3729
|
"onPressUp",
|
|
3730
3730
|
"onClick"
|
|
3731
|
-
]) le[u] && (J[u] =
|
|
3732
|
-
let { pressProps:
|
|
3731
|
+
]) le[u] && (J[u] = kt(J[u], le[u]));
|
|
3732
|
+
let { pressProps: P, isPressed: O } = ft(J), X = N ? (u) => {
|
|
3733
3733
|
A.current === "mouse" && (u.stopPropagation(), u.preventDefault(), se(u));
|
|
3734
3734
|
} : void 0, { longPressProps: Q } = Qs({
|
|
3735
3735
|
isDisabled: !E,
|
|
3736
3736
|
onLongPress(u) {
|
|
3737
|
-
u.pointerType === "touch" && (
|
|
3737
|
+
u.pointerType === "touch" && (h(u), n.setSelectionBehavior("toggle"));
|
|
3738
3738
|
}
|
|
3739
3739
|
}), oe = (u) => {
|
|
3740
3740
|
A.current === "touch" && R.current && u.preventDefault();
|
|
@@ -3744,7 +3744,7 @@ function Kd(t) {
|
|
|
3744
3744
|
return {
|
|
3745
3745
|
itemProps: ee(
|
|
3746
3746
|
v,
|
|
3747
|
-
x || S || l && !s ?
|
|
3747
|
+
x || S || l && !s ? P : {},
|
|
3748
3748
|
E ? Q : {},
|
|
3749
3749
|
{
|
|
3750
3750
|
onDoubleClick: X,
|
|
@@ -3762,7 +3762,7 @@ function Kd(t) {
|
|
|
3762
3762
|
isFocused: n.isFocused && n.focusedKey === r,
|
|
3763
3763
|
isDisabled: s,
|
|
3764
3764
|
allowsSelection: x,
|
|
3765
|
-
hasAction:
|
|
3765
|
+
hasAction: U
|
|
3766
3766
|
};
|
|
3767
3767
|
}
|
|
3768
3768
|
function fi(t) {
|
|
@@ -3773,7 +3773,7 @@ function pi(t) {
|
|
|
3773
3773
|
}
|
|
3774
3774
|
class Ld {
|
|
3775
3775
|
build(e, n) {
|
|
3776
|
-
return this.context = n,
|
|
3776
|
+
return this.context = n, hi(() => this.iterateCollection(e));
|
|
3777
3777
|
}
|
|
3778
3778
|
*iterateCollection(e) {
|
|
3779
3779
|
let { children: n, items: r } = e;
|
|
@@ -3883,13 +3883,13 @@ class Ld {
|
|
|
3883
3883
|
}
|
|
3884
3884
|
if (e.key == null || e.type == null) return;
|
|
3885
3885
|
let p = this;
|
|
3886
|
-
var
|
|
3886
|
+
var h, v;
|
|
3887
3887
|
let b = {
|
|
3888
3888
|
type: e.type,
|
|
3889
3889
|
props: e.props,
|
|
3890
3890
|
key: e.key,
|
|
3891
3891
|
parentKey: i ? i.key : null,
|
|
3892
|
-
value: (
|
|
3892
|
+
value: (h = e.value) !== null && h !== void 0 ? h : null,
|
|
3893
3893
|
level: i ? i.level + 1 : 0,
|
|
3894
3894
|
index: e.index,
|
|
3895
3895
|
rendered: e.rendered,
|
|
@@ -3898,7 +3898,7 @@ class Ld {
|
|
|
3898
3898
|
wrapper: e.wrapper,
|
|
3899
3899
|
shouldInvalidate: e.shouldInvalidate,
|
|
3900
3900
|
hasChildNodes: e.hasChildNodes || !1,
|
|
3901
|
-
childNodes:
|
|
3901
|
+
childNodes: hi(function* () {
|
|
3902
3902
|
if (!e.hasChildNodes || !e.childNodes) return;
|
|
3903
3903
|
let g = 0;
|
|
3904
3904
|
for (let y of e.childNodes()) {
|
|
@@ -3918,7 +3918,7 @@ class Ld {
|
|
|
3918
3918
|
this.cache = /* @__PURE__ */ new WeakMap();
|
|
3919
3919
|
}
|
|
3920
3920
|
}
|
|
3921
|
-
function
|
|
3921
|
+
function hi(t) {
|
|
3922
3922
|
let e = [], n = null;
|
|
3923
3923
|
return {
|
|
3924
3924
|
*[Symbol.iterator]() {
|
|
@@ -3968,15 +3968,15 @@ function Od(t, e) {
|
|
|
3968
3968
|
function Kn(t, e, n) {
|
|
3969
3969
|
if (e.parentKey === n.parentKey) return e.index - n.index;
|
|
3970
3970
|
let r = [
|
|
3971
|
-
...
|
|
3971
|
+
...mi(t, e),
|
|
3972
3972
|
e
|
|
3973
3973
|
], i = [
|
|
3974
|
-
...
|
|
3974
|
+
...mi(t, n),
|
|
3975
3975
|
n
|
|
3976
3976
|
], o = r.slice(0, i.length).findIndex((l, a) => l !== i[a]);
|
|
3977
3977
|
return o !== -1 ? (e = r[o], n = i[o], e.index - n.index) : r.findIndex((l) => l === n) >= 0 ? 1 : (i.findIndex((l) => l === e) >= 0, -1);
|
|
3978
3978
|
}
|
|
3979
|
-
function
|
|
3979
|
+
function mi(t, e) {
|
|
3980
3980
|
let n = [], r = e;
|
|
3981
3981
|
for (; (r == null ? void 0 : r.parentKey) != null; )
|
|
3982
3982
|
r = t.getItem(r.parentKey), r && n.unshift(r);
|
|
@@ -4003,7 +4003,7 @@ const ul = {
|
|
|
4003
4003
|
validationDetails: ul,
|
|
4004
4004
|
validationErrors: []
|
|
4005
4005
|
}, zd = te({}), on = "__formValidationState" + Date.now();
|
|
4006
|
-
function
|
|
4006
|
+
function kr(t) {
|
|
4007
4007
|
if (t[on]) {
|
|
4008
4008
|
let { realtimeValidation: e, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: o } = t[on];
|
|
4009
4009
|
return {
|
|
@@ -4035,18 +4035,18 @@ function Bd(t) {
|
|
|
4035
4035
|
let c = re(zd), f = q(() => r ? Array.isArray(r) ? r.flatMap((V) => ir(c[V])) : ir(c[r]) : [], [
|
|
4036
4036
|
c,
|
|
4037
4037
|
r
|
|
4038
|
-
]), [p,
|
|
4039
|
-
c !== p && (
|
|
4038
|
+
]), [p, h] = H(c), [v, b] = H(!1);
|
|
4039
|
+
c !== p && (h(c), b(!1));
|
|
4040
4040
|
let g = q(() => bi(v ? [] : f), [
|
|
4041
4041
|
v,
|
|
4042
4042
|
f
|
|
4043
4043
|
]), y = _(st), [x, w] = H(st), S = _(st), N = () => {
|
|
4044
|
-
if (!
|
|
4044
|
+
if (!U) return;
|
|
4045
4045
|
A(!1);
|
|
4046
4046
|
let V = d || o || y.current;
|
|
4047
4047
|
Ln(V, S.current) || (S.current = V, w(V));
|
|
4048
|
-
}, [
|
|
4049
|
-
return
|
|
4048
|
+
}, [U, A] = H(!1);
|
|
4049
|
+
return W(N), {
|
|
4050
4050
|
realtimeValidation: s || g || d || o || st,
|
|
4051
4051
|
displayValidation: a === "native" ? s || g || x : s || g || d || o || x,
|
|
4052
4052
|
updateValidation(V) {
|
|
@@ -4088,7 +4088,7 @@ function pl(t, e, n) {
|
|
|
4088
4088
|
ae(() => {
|
|
4089
4089
|
if (r === "native" && (n != null && n.current) && !n.current.disabled) {
|
|
4090
4090
|
let d = e.realtimeValidation.isInvalid ? e.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
|
|
4091
|
-
n.current.setCustomValidity(d), n.current.hasAttribute("title") || (n.current.title = ""), e.realtimeValidation.isInvalid || e.updateValidation(
|
|
4091
|
+
n.current.setCustomValidity(d), n.current.hasAttribute("title") || (n.current.title = ""), e.realtimeValidation.isInvalid || e.updateValidation(Wd(n.current));
|
|
4092
4092
|
}
|
|
4093
4093
|
});
|
|
4094
4094
|
let o = _(!1), l = Ne(() => {
|
|
@@ -4097,7 +4097,7 @@ function pl(t, e, n) {
|
|
|
4097
4097
|
var c;
|
|
4098
4098
|
e.displayValidation.isInvalid || e.commitValidation();
|
|
4099
4099
|
let f = n == null || (c = n.current) === null || c === void 0 ? void 0 : c.form;
|
|
4100
|
-
if (!d.defaultPrevented && n && f &&
|
|
4100
|
+
if (!d.defaultPrevented && n && f && Ud(f) === n.current) {
|
|
4101
4101
|
var p;
|
|
4102
4102
|
i ? i() : (p = n.current) === null || p === void 0 || p.focus(), Hs("keyboard");
|
|
4103
4103
|
}
|
|
@@ -4105,7 +4105,7 @@ function pl(t, e, n) {
|
|
|
4105
4105
|
}), s = Ne(() => {
|
|
4106
4106
|
e.commitValidation();
|
|
4107
4107
|
});
|
|
4108
|
-
|
|
4108
|
+
W(() => {
|
|
4109
4109
|
let d = n == null ? void 0 : n.current;
|
|
4110
4110
|
if (!d) return;
|
|
4111
4111
|
let c = d.form, f = c == null ? void 0 : c.reset;
|
|
@@ -4135,7 +4135,7 @@ function Hd(t) {
|
|
|
4135
4135
|
valid: e.valid
|
|
4136
4136
|
};
|
|
4137
4137
|
}
|
|
4138
|
-
function
|
|
4138
|
+
function Wd(t) {
|
|
4139
4139
|
return {
|
|
4140
4140
|
isInvalid: !t.validity.valid,
|
|
4141
4141
|
validationDetails: Hd(t),
|
|
@@ -4144,7 +4144,7 @@ function Ud(t) {
|
|
|
4144
4144
|
] : []
|
|
4145
4145
|
};
|
|
4146
4146
|
}
|
|
4147
|
-
function
|
|
4147
|
+
function Ud(t) {
|
|
4148
4148
|
for (let n = 0; n < t.elements.length; n++) {
|
|
4149
4149
|
var e;
|
|
4150
4150
|
let r = t.elements[n];
|
|
@@ -4153,13 +4153,13 @@ function Wd(t) {
|
|
|
4153
4153
|
return null;
|
|
4154
4154
|
}
|
|
4155
4155
|
function jd(t, e) {
|
|
4156
|
-
let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: o = !1, type: l = "text", validationBehavior: a = "aria" } = t, [s, d] =
|
|
4156
|
+
let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: o = !1, type: l = "text", validationBehavior: a = "aria" } = t, [s, d] = Pt(t.value, t.defaultValue || "", t.onChange), { focusableProps: c } = vn(t, e), f = kr({
|
|
4157
4157
|
...t,
|
|
4158
4158
|
value: s
|
|
4159
|
-
}), { isInvalid: p, validationErrors:
|
|
4159
|
+
}), { isInvalid: p, validationErrors: h, validationDetails: v } = f.displayValidation, { labelProps: b, fieldProps: g, descriptionProps: y, errorMessageProps: x } = kd({
|
|
4160
4160
|
...t,
|
|
4161
4161
|
isInvalid: p,
|
|
4162
|
-
errorMessage: t.errorMessage ||
|
|
4162
|
+
errorMessage: t.errorMessage || h
|
|
4163
4163
|
}), w = ve(t, {
|
|
4164
4164
|
labelable: !0
|
|
4165
4165
|
});
|
|
@@ -4168,8 +4168,8 @@ function jd(t, e) {
|
|
|
4168
4168
|
pattern: t.pattern
|
|
4169
4169
|
};
|
|
4170
4170
|
let [N] = H(s);
|
|
4171
|
-
var
|
|
4172
|
-
return oo(e, (
|
|
4171
|
+
var U;
|
|
4172
|
+
return oo(e, (U = t.defaultValue) !== null && U !== void 0 ? U : N, d), pl(t, f, e), {
|
|
4173
4173
|
labelProps: b,
|
|
4174
4174
|
inputProps: ee(w, n === "input" ? S : void 0, {
|
|
4175
4175
|
disabled: r,
|
|
@@ -4214,7 +4214,7 @@ function jd(t, e) {
|
|
|
4214
4214
|
descriptionProps: y,
|
|
4215
4215
|
errorMessageProps: x,
|
|
4216
4216
|
isInvalid: p,
|
|
4217
|
-
validationErrors:
|
|
4217
|
+
validationErrors: h,
|
|
4218
4218
|
validationDetails: v
|
|
4219
4219
|
};
|
|
4220
4220
|
}
|
|
@@ -4235,9 +4235,9 @@ class Dt {
|
|
|
4235
4235
|
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;
|
|
4236
4236
|
}
|
|
4237
4237
|
}
|
|
4238
|
-
class
|
|
4238
|
+
class hl extends Dt {
|
|
4239
4239
|
filter(e, n, r) {
|
|
4240
|
-
let [i, o] =
|
|
4240
|
+
let [i, o] = ml(e, n, this.firstChildKey, r), l = this.clone();
|
|
4241
4241
|
return l.firstChildKey = i, l.lastChildKey = o, l;
|
|
4242
4242
|
}
|
|
4243
4243
|
}
|
|
@@ -4247,7 +4247,7 @@ Gd.type = "header";
|
|
|
4247
4247
|
class qd extends Dt {
|
|
4248
4248
|
}
|
|
4249
4249
|
qd.type = "loader";
|
|
4250
|
-
class Yd extends
|
|
4250
|
+
class Yd extends hl {
|
|
4251
4251
|
filter(e, n, r) {
|
|
4252
4252
|
if (r(this.textValue, this)) {
|
|
4253
4253
|
let i = this.clone();
|
|
@@ -4257,7 +4257,7 @@ class Yd extends ml {
|
|
|
4257
4257
|
}
|
|
4258
4258
|
}
|
|
4259
4259
|
Yd.type = "item";
|
|
4260
|
-
class Xd extends
|
|
4260
|
+
class Xd extends hl {
|
|
4261
4261
|
filter(e, n, r) {
|
|
4262
4262
|
let i = super.filter(e, n, r);
|
|
4263
4263
|
if (i && i.lastChildKey !== null) {
|
|
@@ -4351,14 +4351,14 @@ class Zd {
|
|
|
4351
4351
|
this.firstKey = e, this.lastKey = n, this.frozen = !r;
|
|
4352
4352
|
}
|
|
4353
4353
|
filter(e) {
|
|
4354
|
-
let n = new this.constructor(), [r, i] =
|
|
4354
|
+
let n = new this.constructor(), [r, i] = ml(this, n, this.firstKey, e);
|
|
4355
4355
|
return n == null || n.commit(r, i), n;
|
|
4356
4356
|
}
|
|
4357
4357
|
constructor() {
|
|
4358
4358
|
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
|
|
4359
4359
|
}
|
|
4360
4360
|
}
|
|
4361
|
-
function
|
|
4361
|
+
function ml(t, e, n, r) {
|
|
4362
4362
|
if (n == null) return [
|
|
4363
4363
|
null,
|
|
4364
4364
|
null
|
|
@@ -4492,8 +4492,8 @@ class ut extends bl {
|
|
|
4492
4492
|
c.parentKey = this.parentNode instanceof ut && (f = (e = this.parentNode.node) === null || e === void 0 ? void 0 : e.key) !== null && f !== void 0 ? f : null;
|
|
4493
4493
|
var p;
|
|
4494
4494
|
c.prevKey = (p = (r = this.previousVisibleSibling) === null || r === void 0 || (n = r.node) === null || n === void 0 ? void 0 : n.key) !== null && p !== void 0 ? p : null;
|
|
4495
|
-
var
|
|
4496
|
-
c.nextKey = (
|
|
4495
|
+
var h;
|
|
4496
|
+
c.nextKey = (h = d == null || (i = d.node) === null || i === void 0 ? void 0 : i.key) !== null && h !== void 0 ? h : null, c.hasChildNodes = !!this.firstChild;
|
|
4497
4497
|
var v;
|
|
4498
4498
|
c.firstChildKey = (v = (l = this.firstVisibleChild) === null || l === void 0 || (o = l.node) === null || o === void 0 ? void 0 : o.key) !== null && v !== void 0 ? v : null;
|
|
4499
4499
|
var b;
|
|
@@ -4683,12 +4683,12 @@ function ec() {
|
|
|
4683
4683
|
}
|
|
4684
4684
|
var n = typeof Object.is == "function" ? Object.is : e, r = t.useState, i = t.useEffect, o = t.useLayoutEffect, l = t.useDebugValue;
|
|
4685
4685
|
function a(f, p) {
|
|
4686
|
-
var
|
|
4686
|
+
var h = p(), v = r({ inst: { value: h, getSnapshot: p } }), b = v[0].inst, g = v[1];
|
|
4687
4687
|
return o(
|
|
4688
4688
|
function() {
|
|
4689
|
-
b.value =
|
|
4689
|
+
b.value = h, b.getSnapshot = p, s(b) && g({ inst: b });
|
|
4690
4690
|
},
|
|
4691
|
-
[f,
|
|
4691
|
+
[f, h, p]
|
|
4692
4692
|
), i(
|
|
4693
4693
|
function() {
|
|
4694
4694
|
return s(b) && g({ inst: b }), f(function() {
|
|
@@ -4696,14 +4696,14 @@ function ec() {
|
|
|
4696
4696
|
});
|
|
4697
4697
|
},
|
|
4698
4698
|
[f]
|
|
4699
|
-
), l(
|
|
4699
|
+
), l(h), h;
|
|
4700
4700
|
}
|
|
4701
4701
|
function s(f) {
|
|
4702
4702
|
var p = f.getSnapshot;
|
|
4703
4703
|
f = f.value;
|
|
4704
4704
|
try {
|
|
4705
|
-
var
|
|
4706
|
-
return !n(f,
|
|
4705
|
+
var h = p();
|
|
4706
|
+
return !n(f, h);
|
|
4707
4707
|
} catch {
|
|
4708
4708
|
return !0;
|
|
4709
4709
|
}
|
|
@@ -4727,10 +4727,10 @@ var Rn = {};
|
|
|
4727
4727
|
var gi;
|
|
4728
4728
|
function tc() {
|
|
4729
4729
|
return gi || (gi = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
4730
|
-
function t(
|
|
4731
|
-
return
|
|
4730
|
+
function t(h, v) {
|
|
4731
|
+
return h === v && (h !== 0 || 1 / h === 1 / v) || h !== h && v !== v;
|
|
4732
4732
|
}
|
|
4733
|
-
function e(
|
|
4733
|
+
function e(h, v) {
|
|
4734
4734
|
c || i.startTransition === void 0 || (c = !0, console.error(
|
|
4735
4735
|
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
4736
4736
|
));
|
|
@@ -4749,27 +4749,27 @@ function tc() {
|
|
|
4749
4749
|
function() {
|
|
4750
4750
|
y.value = b, y.getSnapshot = v, n(y) && x({ inst: y });
|
|
4751
4751
|
},
|
|
4752
|
-
[
|
|
4752
|
+
[h, b, v]
|
|
4753
4753
|
), a(
|
|
4754
4754
|
function() {
|
|
4755
|
-
return n(y) && x({ inst: y }),
|
|
4755
|
+
return n(y) && x({ inst: y }), h(function() {
|
|
4756
4756
|
n(y) && x({ inst: y });
|
|
4757
4757
|
});
|
|
4758
4758
|
},
|
|
4759
|
-
[
|
|
4759
|
+
[h]
|
|
4760
4760
|
), d(b), b;
|
|
4761
4761
|
}
|
|
4762
|
-
function n(
|
|
4763
|
-
var v =
|
|
4764
|
-
|
|
4762
|
+
function n(h) {
|
|
4763
|
+
var v = h.getSnapshot;
|
|
4764
|
+
h = h.value;
|
|
4765
4765
|
try {
|
|
4766
4766
|
var b = v();
|
|
4767
|
-
return !o(
|
|
4767
|
+
return !o(h, b);
|
|
4768
4768
|
} catch {
|
|
4769
4769
|
return !0;
|
|
4770
4770
|
}
|
|
4771
4771
|
}
|
|
4772
|
-
function r(
|
|
4772
|
+
function r(h, v) {
|
|
4773
4773
|
return v();
|
|
4774
4774
|
}
|
|
4775
4775
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
@@ -4883,7 +4883,7 @@ function pc(t) {
|
|
|
4883
4883
|
idScope: i,
|
|
4884
4884
|
dependencies: n
|
|
4885
4885
|
});
|
|
4886
|
-
return re(Ct) && (o = /* @__PURE__ */ C.createElement(
|
|
4886
|
+
return re(Ct) && (o = /* @__PURE__ */ C.createElement(hc, null, o)), e = q(() => ({
|
|
4887
4887
|
dependencies: n,
|
|
4888
4888
|
idScope: i
|
|
4889
4889
|
}), [
|
|
@@ -4893,7 +4893,7 @@ function pc(t) {
|
|
|
4893
4893
|
value: e
|
|
4894
4894
|
}, o);
|
|
4895
4895
|
}
|
|
4896
|
-
function
|
|
4896
|
+
function hc({ children: t }) {
|
|
4897
4897
|
let e = re(Ct), n = q(() => /* @__PURE__ */ C.createElement(Ct.Provider, {
|
|
4898
4898
|
value: null
|
|
4899
4899
|
}, /* @__PURE__ */ C.createElement(gl.Provider, {
|
|
@@ -4903,7 +4903,7 @@ function mc({ children: t }) {
|
|
|
4903
4903
|
]);
|
|
4904
4904
|
return nt() ? /* @__PURE__ */ C.createElement(lr.Provider, {
|
|
4905
4905
|
value: e
|
|
4906
|
-
}, n) : /* @__PURE__ */
|
|
4906
|
+
}, n) : /* @__PURE__ */ ma(n, e);
|
|
4907
4907
|
}
|
|
4908
4908
|
const yl = {
|
|
4909
4909
|
CollectionRoot({ collection: t, renderDropIndicator: e }) {
|
|
@@ -4926,11 +4926,11 @@ function xi(t, e, n) {
|
|
|
4926
4926
|
type: "item",
|
|
4927
4927
|
key: r.key,
|
|
4928
4928
|
dropPosition: "before"
|
|
4929
|
-
}), i,
|
|
4929
|
+
}), i, mc(t, r, n));
|
|
4930
4930
|
}
|
|
4931
4931
|
});
|
|
4932
4932
|
}
|
|
4933
|
-
function
|
|
4933
|
+
function mc(t, e, n) {
|
|
4934
4934
|
let r = e.key, i = t.getKeyAfter(r), o = i != null ? t.getItem(i) : null;
|
|
4935
4935
|
for (; o != null && o.type !== "item"; )
|
|
4936
4936
|
i = t.getKeyAfter(o.key), o = i != null ? t.getItem(i) : null;
|
|
@@ -4961,7 +4961,7 @@ function bc(t) {
|
|
|
4961
4961
|
]);
|
|
4962
4962
|
}
|
|
4963
4963
|
function vc(t, e) {
|
|
4964
|
-
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: o, onPressEnd: l, onPressUp: a, onPressChange: s, preventFocusOnPress: d, allowFocusWhenDisabled: c, onClick: f, href: p, target:
|
|
4964
|
+
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: o, onPressEnd: l, onPressUp: a, onPressChange: s, preventFocusOnPress: d, allowFocusWhenDisabled: c, onClick: f, href: p, target: h, rel: v, type: b = "button" } = t, g;
|
|
4965
4965
|
n === "button" ? g = {
|
|
4966
4966
|
type: b,
|
|
4967
4967
|
disabled: r,
|
|
@@ -4976,7 +4976,7 @@ function vc(t, e) {
|
|
|
4976
4976
|
} : g = {
|
|
4977
4977
|
role: "button",
|
|
4978
4978
|
href: n === "a" && !r ? p : void 0,
|
|
4979
|
-
target: n === "a" ?
|
|
4979
|
+
target: n === "a" ? h : void 0,
|
|
4980
4980
|
type: n === "input" ? b : void 0,
|
|
4981
4981
|
disabled: n === "input" ? r : void 0,
|
|
4982
4982
|
"aria-disabled": !r || n === "input" ? void 0 : r,
|
|
@@ -5010,12 +5010,12 @@ function vc(t, e) {
|
|
|
5010
5010
|
};
|
|
5011
5011
|
}
|
|
5012
5012
|
function xl(t, e, n) {
|
|
5013
|
-
let { isDisabled: r = !1, isReadOnly: i = !1, value: o, name: l, form: a, children: s, "aria-label": d, "aria-labelledby": c, validationState: f = "valid", isInvalid: p, onPressStart:
|
|
5013
|
+
let { isDisabled: r = !1, isReadOnly: i = !1, value: o, name: l, form: a, children: s, "aria-label": d, "aria-labelledby": c, validationState: f = "valid", isInvalid: p, onPressStart: h, onPressEnd: v, onPressChange: b, onPress: g, onPressUp: y, onClick: x } = t, w = (J) => {
|
|
5014
5014
|
J.stopPropagation(), e.setSelected(L(J).checked);
|
|
5015
5015
|
}, S = s != null, N = d != null || c != null;
|
|
5016
5016
|
!S && !N && process.env.NODE_ENV !== "production" && console.warn("If you do not provide children, you must specify an aria-label for accessibility");
|
|
5017
|
-
let { pressProps:
|
|
5018
|
-
onPressStart:
|
|
5017
|
+
let { pressProps: U, isPressed: A } = ft({
|
|
5018
|
+
onPressStart: h,
|
|
5019
5019
|
onPressEnd: v,
|
|
5020
5020
|
onPressChange: b,
|
|
5021
5021
|
onPress: g,
|
|
@@ -5023,17 +5023,17 @@ function xl(t, e, n) {
|
|
|
5023
5023
|
onClick: x,
|
|
5024
5024
|
isDisabled: r
|
|
5025
5025
|
}), { pressProps: E, isPressed: R } = ft({
|
|
5026
|
-
onPressStart:
|
|
5026
|
+
onPressStart: h,
|
|
5027
5027
|
onPressEnd: v,
|
|
5028
5028
|
onPressChange: b,
|
|
5029
5029
|
onPressUp: y,
|
|
5030
5030
|
onClick: x,
|
|
5031
5031
|
onPress(J) {
|
|
5032
|
-
var
|
|
5033
|
-
g == null || g(J), e.toggle(), (
|
|
5032
|
+
var P;
|
|
5033
|
+
g == null || g(J), e.toggle(), (P = n.current) === null || P === void 0 || P.focus();
|
|
5034
5034
|
},
|
|
5035
5035
|
isDisabled: r || i
|
|
5036
|
-
}), { focusableProps: V } = vn(t, n), le = ee(
|
|
5036
|
+
}), { focusableProps: V } = vn(t, n), le = ee(U, V), se = ve(t, {
|
|
5037
5037
|
labelable: !0
|
|
5038
5038
|
});
|
|
5039
5039
|
return oo(n, e.defaultSelected, e.setSelected), {
|
|
@@ -5063,7 +5063,7 @@ function xl(t, e, n) {
|
|
|
5063
5063
|
};
|
|
5064
5064
|
}
|
|
5065
5065
|
function wl(t, e, n) {
|
|
5066
|
-
let r =
|
|
5066
|
+
let r = kr({
|
|
5067
5067
|
...t,
|
|
5068
5068
|
value: e.isSelected
|
|
5069
5069
|
}), { isInvalid: i, validationErrors: o, validationDetails: l } = r.displayValidation, { labelProps: a, inputProps: s, isSelected: d, isPressed: c, isDisabled: f, isReadOnly: p } = xl({
|
|
@@ -5071,9 +5071,9 @@ function wl(t, e, n) {
|
|
|
5071
5071
|
isInvalid: i
|
|
5072
5072
|
}, e, n);
|
|
5073
5073
|
pl(t, r, n);
|
|
5074
|
-
let { isIndeterminate:
|
|
5075
|
-
|
|
5076
|
-
n.current && (n.current.indeterminate = !!
|
|
5074
|
+
let { isIndeterminate: h, isRequired: v, validationBehavior: b = "aria" } = t;
|
|
5075
|
+
W(() => {
|
|
5076
|
+
n.current && (n.current.indeterminate = !!h);
|
|
5077
5077
|
});
|
|
5078
5078
|
let { pressProps: g } = ft({
|
|
5079
5079
|
isDisabled: f || p,
|
|
@@ -5104,8 +5104,8 @@ function wl(t, e, n) {
|
|
|
5104
5104
|
};
|
|
5105
5105
|
}
|
|
5106
5106
|
const gc = /* @__PURE__ */ new WeakMap();
|
|
5107
|
-
function
|
|
5108
|
-
let { isReadOnly: e } = t, [n, r] =
|
|
5107
|
+
function Pr(t = {}) {
|
|
5108
|
+
let { isReadOnly: e } = t, [n, r] = Pt(t.isSelected, t.defaultSelected || !1, t.onChange), [i] = H(n);
|
|
5109
5109
|
function o(s) {
|
|
5110
5110
|
e || r(s);
|
|
5111
5111
|
}
|
|
@@ -5121,7 +5121,7 @@ function kr(t = {}) {
|
|
|
5121
5121
|
};
|
|
5122
5122
|
}
|
|
5123
5123
|
function yc(t, e, n) {
|
|
5124
|
-
const r =
|
|
5124
|
+
const r = Pr({
|
|
5125
5125
|
isReadOnly: t.isReadOnly || e.isReadOnly,
|
|
5126
5126
|
isSelected: e.isSelected(t.value),
|
|
5127
5127
|
defaultSelected: e.defaultValue.includes(t.value),
|
|
@@ -5132,7 +5132,7 @@ function yc(t, e, n) {
|
|
|
5132
5132
|
let { name: i, form: o, descriptionId: l, errorMessageId: a, validationBehavior: s } = gc.get(e);
|
|
5133
5133
|
var d;
|
|
5134
5134
|
s = (d = t.validationBehavior) !== null && d !== void 0 ? d : s;
|
|
5135
|
-
let { realtimeValidation: c } =
|
|
5135
|
+
let { realtimeValidation: c } = kr({
|
|
5136
5136
|
...t,
|
|
5137
5137
|
value: r.isSelected,
|
|
5138
5138
|
// Server validation is handled at the group level.
|
|
@@ -5141,8 +5141,8 @@ function yc(t, e, n) {
|
|
|
5141
5141
|
}), f = _(st), p = () => {
|
|
5142
5142
|
e.setInvalid(t.value, c.isInvalid ? c : f.current);
|
|
5143
5143
|
};
|
|
5144
|
-
|
|
5145
|
-
let
|
|
5144
|
+
W(p);
|
|
5145
|
+
let h = e.realtimeValidation.isInvalid ? e.realtimeValidation : c, v = s === "native" ? e.displayValidation : h;
|
|
5146
5146
|
var b;
|
|
5147
5147
|
let g = wl({
|
|
5148
5148
|
...t,
|
|
@@ -5153,7 +5153,7 @@ function yc(t, e, n) {
|
|
|
5153
5153
|
isRequired: (b = t.isRequired) !== null && b !== void 0 ? b : e.isRequired,
|
|
5154
5154
|
validationBehavior: s,
|
|
5155
5155
|
[on]: {
|
|
5156
|
-
realtimeValidation:
|
|
5156
|
+
realtimeValidation: h,
|
|
5157
5157
|
displayValidation: v,
|
|
5158
5158
|
resetValidation: e.resetValidation,
|
|
5159
5159
|
commitValidation: e.commitValidation,
|
|
@@ -5178,7 +5178,7 @@ function $c(t, e) {
|
|
|
5178
5178
|
let { role: n = "dialog" } = t, r = On();
|
|
5179
5179
|
r = t["aria-label"] ? void 0 : r;
|
|
5180
5180
|
let i = _(!1);
|
|
5181
|
-
return
|
|
5181
|
+
return W(() => {
|
|
5182
5182
|
if (e.current && !zn(e.current)) {
|
|
5183
5183
|
et(e.current);
|
|
5184
5184
|
let o = setTimeout(() => {
|
|
@@ -5241,7 +5241,7 @@ function wc(t, e, n) {
|
|
|
5241
5241
|
isDisabled: d,
|
|
5242
5242
|
shouldSelectOnPressUp: o,
|
|
5243
5243
|
linkBehavior: "selection"
|
|
5244
|
-
}), p = ln(e, r, "tab"),
|
|
5244
|
+
}), p = ln(e, r, "tab"), h = ln(e, r, "tabpanel"), { tabIndex: v } = c, b = e.collection.getItem(r), g = ve(b == null ? void 0 : b.props, {
|
|
5245
5245
|
labelable: !0
|
|
5246
5246
|
});
|
|
5247
5247
|
delete g.id;
|
|
@@ -5254,7 +5254,7 @@ function wc(t, e, n) {
|
|
|
5254
5254
|
id: p,
|
|
5255
5255
|
"aria-selected": s,
|
|
5256
5256
|
"aria-disabled": d || void 0,
|
|
5257
|
-
"aria-controls": s ?
|
|
5257
|
+
"aria-controls": s ? h : void 0,
|
|
5258
5258
|
tabIndex: d ? void 0 : v,
|
|
5259
5259
|
role: "tab"
|
|
5260
5260
|
}),
|
|
@@ -5352,7 +5352,7 @@ function Cc(t, e, n) {
|
|
|
5352
5352
|
}
|
|
5353
5353
|
};
|
|
5354
5354
|
}
|
|
5355
|
-
const Sl = /* @__PURE__ */ te({}),
|
|
5355
|
+
const Sl = /* @__PURE__ */ te({}), kc = /* @__PURE__ */ _t(function(e, n) {
|
|
5356
5356
|
[e, n] = Te(e, n, Sl);
|
|
5357
5357
|
let { elementType: r = "label", ...i } = e, o = ye[r];
|
|
5358
5358
|
return /* @__PURE__ */ C.createElement(o, {
|
|
@@ -5360,7 +5360,7 @@ const Sl = /* @__PURE__ */ te({}), Pc = /* @__PURE__ */ _t(function(e, n) {
|
|
|
5360
5360
|
...i,
|
|
5361
5361
|
ref: n
|
|
5362
5362
|
});
|
|
5363
|
-
}),
|
|
5363
|
+
}), Pc = /* @__PURE__ */ te(null), Cl = /* @__PURE__ */ te({}), Nr = /* @__PURE__ */ _t(function(e, n) {
|
|
5364
5364
|
[e, n] = Te(e, n, Cl);
|
|
5365
5365
|
let r = e, { isPending: i } = r, { buttonProps: o, isPressed: l } = vc(e, n);
|
|
5366
5366
|
o = Tc(o, i);
|
|
@@ -5374,18 +5374,18 @@ const Sl = /* @__PURE__ */ te({}), Pc = /* @__PURE__ */ _t(function(e, n) {
|
|
|
5374
5374
|
isFocusVisible: d,
|
|
5375
5375
|
isDisabled: e.isDisabled || !1,
|
|
5376
5376
|
isPending: i ?? !1
|
|
5377
|
-
},
|
|
5377
|
+
}, h = Ce({
|
|
5378
5378
|
...e,
|
|
5379
5379
|
values: p,
|
|
5380
5380
|
defaultClassName: "react-aria-Button"
|
|
5381
5381
|
}), v = Fe(o.id), b = Fe(), g = o["aria-labelledby"];
|
|
5382
5382
|
i && (g ? g = `${g} ${b}` : o["aria-label"] && (g = `${v} ${b}`));
|
|
5383
5383
|
let y = _(i);
|
|
5384
|
-
|
|
5384
|
+
W(() => {
|
|
5385
5385
|
let w = {
|
|
5386
5386
|
"aria-labelledby": g || v
|
|
5387
5387
|
};
|
|
5388
|
-
(!y.current && s && i || y.current && s && !i) &&
|
|
5388
|
+
(!y.current && s && i || y.current && s && !i) && Wr(w, "assertive"), y.current = i;
|
|
5389
5389
|
}, [
|
|
5390
5390
|
i,
|
|
5391
5391
|
s,
|
|
@@ -5396,7 +5396,7 @@ const Sl = /* @__PURE__ */ te({}), Pc = /* @__PURE__ */ _t(function(e, n) {
|
|
|
5396
5396
|
global: !0
|
|
5397
5397
|
});
|
|
5398
5398
|
return delete x.onClick, /* @__PURE__ */ C.createElement(ye.button, {
|
|
5399
|
-
...ee(x,
|
|
5399
|
+
...ee(x, h, o, a, c),
|
|
5400
5400
|
// When the button is in a pending state, we want to stop implicit form submission (ie. when the user presses enter on a text input).
|
|
5401
5401
|
// We do this by changing the button's type to button.
|
|
5402
5402
|
type: o.type === "submit" && i ? "button" : o.type,
|
|
@@ -5411,11 +5411,11 @@ const Sl = /* @__PURE__ */ te({}), Pc = /* @__PURE__ */ _t(function(e, n) {
|
|
|
5411
5411
|
"data-focused": s || void 0,
|
|
5412
5412
|
"data-pending": i || void 0,
|
|
5413
5413
|
"data-focus-visible": d || void 0
|
|
5414
|
-
}, /* @__PURE__ */ C.createElement(
|
|
5414
|
+
}, /* @__PURE__ */ C.createElement(Pc.Provider, {
|
|
5415
5415
|
value: {
|
|
5416
5416
|
id: b
|
|
5417
5417
|
}
|
|
5418
|
-
},
|
|
5418
|
+
}, h.children));
|
|
5419
5419
|
}), Nc = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
|
|
5420
5420
|
function Tc(t, e) {
|
|
5421
5421
|
if (e) {
|
|
@@ -5424,8 +5424,8 @@ function Tc(t, e) {
|
|
|
5424
5424
|
}
|
|
5425
5425
|
return t;
|
|
5426
5426
|
}
|
|
5427
|
-
const
|
|
5428
|
-
[e, n] = Te(e, n,
|
|
5427
|
+
const kl = /* @__PURE__ */ te({}), wi = /* @__PURE__ */ Se(function(e, n) {
|
|
5428
|
+
[e, n] = Te(e, n, kl);
|
|
5429
5429
|
let { elementType: r = "span", ...i } = e, o = ye[r];
|
|
5430
5430
|
return /* @__PURE__ */ C.createElement(o, {
|
|
5431
5431
|
className: "react-aria-Text",
|
|
@@ -5487,9 +5487,9 @@ class Ei {
|
|
|
5487
5487
|
this.lastKey = (l = r == null ? void 0 : r.key) !== null && l !== void 0 ? l : null;
|
|
5488
5488
|
}
|
|
5489
5489
|
}
|
|
5490
|
-
class
|
|
5490
|
+
class ke extends Set {
|
|
5491
5491
|
constructor(e, n, r) {
|
|
5492
|
-
super(e), e instanceof
|
|
5492
|
+
super(e), e instanceof ke ? (this.anchorKey = n ?? e.anchorKey, this.currentKey = r ?? e.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);
|
|
5493
5493
|
}
|
|
5494
5494
|
}
|
|
5495
5495
|
function Dc(t, e) {
|
|
@@ -5501,14 +5501,14 @@ function Dc(t, e) {
|
|
|
5501
5501
|
function _c(t) {
|
|
5502
5502
|
let { selectionMode: e = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: o = "all" } = t, l = _(!1), [, a] = H(!1), s = _(null), d = _(null), [, c] = H(null), f = q(() => Si(t.selectedKeys), [
|
|
5503
5503
|
t.selectedKeys
|
|
5504
|
-
]), p = q(() => Si(t.defaultSelectedKeys, new
|
|
5504
|
+
]), p = q(() => Si(t.defaultSelectedKeys, new ke()), [
|
|
5505
5505
|
t.defaultSelectedKeys
|
|
5506
|
-
]), [
|
|
5506
|
+
]), [h, v] = Pt(f, p, t.onSelectionChange), b = q(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
|
|
5507
5507
|
t.disabledKeys
|
|
5508
5508
|
]), [g, y] = H(i);
|
|
5509
|
-
i === "replace" && g === "toggle" && typeof
|
|
5509
|
+
i === "replace" && g === "toggle" && typeof h == "object" && h.size === 0 && y("replace");
|
|
5510
5510
|
let x = _(i);
|
|
5511
|
-
return
|
|
5511
|
+
return W(() => {
|
|
5512
5512
|
i !== x.current && (y(i), x.current = i);
|
|
5513
5513
|
}, [
|
|
5514
5514
|
i
|
|
@@ -5532,16 +5532,16 @@ function _c(t) {
|
|
|
5532
5532
|
setFocusedKey(w, S = "first") {
|
|
5533
5533
|
s.current = w, d.current = S, c(w);
|
|
5534
5534
|
},
|
|
5535
|
-
selectedKeys:
|
|
5535
|
+
selectedKeys: h,
|
|
5536
5536
|
setSelectedKeys(w) {
|
|
5537
|
-
(r || !Dc(w,
|
|
5537
|
+
(r || !Dc(w, h)) && v(w);
|
|
5538
5538
|
},
|
|
5539
5539
|
disabledKeys: b,
|
|
5540
5540
|
disabledBehavior: o
|
|
5541
5541
|
};
|
|
5542
5542
|
}
|
|
5543
5543
|
function Si(t, e) {
|
|
5544
|
-
return t ? t === "all" ? "all" : new
|
|
5544
|
+
return t ? t === "all" ? "all" : new ke(t) : e;
|
|
5545
5545
|
}
|
|
5546
5546
|
class Tr {
|
|
5547
5547
|
/**
|
|
@@ -5669,14 +5669,14 @@ class Tr {
|
|
|
5669
5669
|
let n = this.getKey(e);
|
|
5670
5670
|
if (n == null) return;
|
|
5671
5671
|
let r;
|
|
5672
|
-
if (this.state.selectedKeys === "all") r = new
|
|
5672
|
+
if (this.state.selectedKeys === "all") r = new ke([
|
|
5673
5673
|
n
|
|
5674
5674
|
], n, n);
|
|
5675
5675
|
else {
|
|
5676
5676
|
let l = this.state.selectedKeys;
|
|
5677
5677
|
var i;
|
|
5678
5678
|
let a = (i = l.anchorKey) !== null && i !== void 0 ? i : n;
|
|
5679
|
-
r = new
|
|
5679
|
+
r = new ke(l, a, n);
|
|
5680
5680
|
var o;
|
|
5681
5681
|
for (let s of this.getKeyRange(a, (o = l.currentKey) !== null && o !== void 0 ? o : n)) r.delete(s);
|
|
5682
5682
|
for (let s of this.getKeyRange(n, a)) this.canSelectItem(s) && r.add(s);
|
|
@@ -5715,7 +5715,7 @@ class Tr {
|
|
|
5715
5715
|
}
|
|
5716
5716
|
let n = this.getKey(e);
|
|
5717
5717
|
if (n == null) return;
|
|
5718
|
-
let r = new
|
|
5718
|
+
let r = new ke(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
|
|
5719
5719
|
r.has(n) ? r.delete(n) : this.canSelectItem(n) && (r.add(n), r.anchorKey = n, r.currentKey = n), !(this.disallowEmptySelection && r.size === 0) && this.state.setSelectedKeys(r);
|
|
5720
5720
|
}
|
|
5721
5721
|
/**
|
|
@@ -5725,9 +5725,9 @@ class Tr {
|
|
|
5725
5725
|
if (this.selectionMode === "none") return;
|
|
5726
5726
|
let n = this.getKey(e);
|
|
5727
5727
|
if (n == null) return;
|
|
5728
|
-
let r = this.canSelectItem(n) ? new
|
|
5728
|
+
let r = this.canSelectItem(n) ? new ke([
|
|
5729
5729
|
n
|
|
5730
|
-
], n, n) : new
|
|
5730
|
+
], n, n) : new ke();
|
|
5731
5731
|
this.state.setSelectedKeys(r);
|
|
5732
5732
|
}
|
|
5733
5733
|
/**
|
|
@@ -5735,7 +5735,7 @@ class Tr {
|
|
|
5735
5735
|
*/
|
|
5736
5736
|
setSelectedKeys(e) {
|
|
5737
5737
|
if (this.selectionMode === "none") return;
|
|
5738
|
-
let n = new
|
|
5738
|
+
let n = new ke();
|
|
5739
5739
|
for (let r of e) {
|
|
5740
5740
|
let i = this.getKey(r);
|
|
5741
5741
|
if (i != null && (n.add(i), this.selectionMode === "single"))
|
|
@@ -5768,7 +5768,7 @@ class Tr {
|
|
|
5768
5768
|
* Removes all keys from the selection.
|
|
5769
5769
|
*/
|
|
5770
5770
|
clearSelection() {
|
|
5771
|
-
!this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new
|
|
5771
|
+
!this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new ke());
|
|
5772
5772
|
}
|
|
5773
5773
|
/**
|
|
5774
5774
|
* Toggles between select all and an empty selection.
|
|
@@ -5846,7 +5846,7 @@ function Ic(t) {
|
|
|
5846
5846
|
}
|
|
5847
5847
|
function Kc(t, e) {
|
|
5848
5848
|
const n = _(null);
|
|
5849
|
-
|
|
5849
|
+
W(() => {
|
|
5850
5850
|
if (e.focusedKey != null && !t.getItem(e.focusedKey) && n.current) {
|
|
5851
5851
|
const c = n.current.getItem(e.focusedKey), f = [
|
|
5852
5852
|
...n.current.getKeys()
|
|
@@ -5860,9 +5860,9 @@ function Kc(t, e) {
|
|
|
5860
5860
|
return (x == null ? void 0 : x.type) === "item" ? x : null;
|
|
5861
5861
|
}).filter((y) => y !== null);
|
|
5862
5862
|
var r, i;
|
|
5863
|
-
const
|
|
5863
|
+
const h = ((r = f == null ? void 0 : f.length) !== null && r !== void 0 ? r : 0) - ((i = p == null ? void 0 : p.length) !== null && i !== void 0 ? i : 0);
|
|
5864
5864
|
var o, l, a;
|
|
5865
|
-
let v = Math.min(
|
|
5865
|
+
let v = Math.min(h > 1 ? Math.max(((o = c == null ? void 0 : c.index) !== null && o !== void 0 ? o : 0) - h + 1, 0) : (l = c == null ? void 0 : c.index) !== null && l !== void 0 ? l : 0, ((a = p == null ? void 0 : p.length) !== null && a !== void 0 ? a : 0) - 1), b = null, g = !1;
|
|
5866
5866
|
for (; v >= 0; ) {
|
|
5867
5867
|
if (!e.isDisabled(p[v].key)) {
|
|
5868
5868
|
b = p[v];
|
|
@@ -5885,7 +5885,7 @@ function Kc(t, e) {
|
|
|
5885
5885
|
}
|
|
5886
5886
|
function Lc(t) {
|
|
5887
5887
|
var e;
|
|
5888
|
-
let [n, r] =
|
|
5888
|
+
let [n, r] = Pt(t.selectedKey, (e = t.defaultSelectedKey) !== null && e !== void 0 ? e : null, t.onSelectionChange), i = q(() => n != null ? [
|
|
5889
5889
|
n
|
|
5890
5890
|
] : [], [
|
|
5891
5891
|
n
|
|
@@ -5912,7 +5912,7 @@ function Lc(t) {
|
|
|
5912
5912
|
};
|
|
5913
5913
|
}
|
|
5914
5914
|
function Mc(t) {
|
|
5915
|
-
let [e, n] =
|
|
5915
|
+
let [e, n] = Pt(t.isOpen, t.defaultOpen || !1, t.onOpenChange);
|
|
5916
5916
|
const r = B(() => {
|
|
5917
5917
|
n(!0);
|
|
5918
5918
|
}, [
|
|
@@ -5946,7 +5946,7 @@ function Rc(t) {
|
|
|
5946
5946
|
suppressTextValueWarning: !0,
|
|
5947
5947
|
defaultSelectedKey: (n = (e = t.defaultSelectedKey) !== null && e !== void 0 ? e : Ci(t.collection, t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set())) !== null && n !== void 0 ? n : void 0
|
|
5948
5948
|
}), { selectionManager: i, collection: o, selectedKey: l } = r, a = _(l);
|
|
5949
|
-
return
|
|
5949
|
+
return W(() => {
|
|
5950
5950
|
let s = l;
|
|
5951
5951
|
t.selectedKey == null && (i.isEmpty || s == null || !o.getItem(s)) && (s = Ci(o, r.disabledKeys), s != null && i.setSelectedKeys([
|
|
5952
5952
|
s
|
|
@@ -5965,15 +5965,15 @@ function Ci(t, e) {
|
|
|
5965
5965
|
}
|
|
5966
5966
|
return n;
|
|
5967
5967
|
}
|
|
5968
|
-
const Fc = /* @__PURE__ */ te(null),
|
|
5968
|
+
const Fc = /* @__PURE__ */ te(null), Pl = /* @__PURE__ */ te(null), Ac = /* @__PURE__ */ te(null), Oc = /* @__PURE__ */ Se(function(e, n) {
|
|
5969
5969
|
let { inputRef: r = null, ...i } = e;
|
|
5970
5970
|
[e, n] = Te(i, n, ba);
|
|
5971
|
-
let { validationBehavior: o } =
|
|
5971
|
+
let { validationBehavior: o } = hn(Pl) || {};
|
|
5972
5972
|
var l, a;
|
|
5973
|
-
let s = (a = (l = e.validationBehavior) !== null && l !== void 0 ? l : o) !== null && a !== void 0 ? a : "native", d = re(Ac), c = je(q(() =>
|
|
5973
|
+
let s = (a = (l = e.validationBehavior) !== null && l !== void 0 ? l : o) !== null && a !== void 0 ? a : "native", d = re(Ac), c = je(q(() => mt(r, e.inputRef !== void 0 ? e.inputRef : null), [
|
|
5974
5974
|
r,
|
|
5975
5975
|
e.inputRef
|
|
5976
|
-
])), { labelProps: f, inputProps: p, isSelected:
|
|
5976
|
+
])), { labelProps: f, inputProps: p, isSelected: h, isDisabled: v, isReadOnly: b, isPressed: g, isInvalid: y } = d ? yc({
|
|
5977
5977
|
...Jt(e),
|
|
5978
5978
|
// Value is optional for standalone checkboxes, but required for CheckboxGroup items;
|
|
5979
5979
|
// it's passed explicitly here to avoid typescript error (requires ignore).
|
|
@@ -5985,14 +5985,14 @@ const Fc = /* @__PURE__ */ te(null), kl = /* @__PURE__ */ te(null), Ac = /* @__P
|
|
|
5985
5985
|
...Jt(e),
|
|
5986
5986
|
children: typeof e.children == "function" ? !0 : e.children,
|
|
5987
5987
|
validationBehavior: s
|
|
5988
|
-
},
|
|
5988
|
+
}, Pr(e), c), { isFocused: x, isFocusVisible: w, focusProps: S } = it(), N = v || b, { hoverProps: U, isHovered: A } = Tt({
|
|
5989
5989
|
...e,
|
|
5990
5990
|
isDisabled: N
|
|
5991
5991
|
}), E = Ce({
|
|
5992
5992
|
...e,
|
|
5993
5993
|
defaultClassName: "react-aria-Checkbox",
|
|
5994
5994
|
values: {
|
|
5995
|
-
isSelected:
|
|
5995
|
+
isSelected: h,
|
|
5996
5996
|
isIndeterminate: e.isIndeterminate || !1,
|
|
5997
5997
|
isPressed: g,
|
|
5998
5998
|
isHovered: A,
|
|
@@ -6007,10 +6007,10 @@ const Fc = /* @__PURE__ */ te(null), kl = /* @__PURE__ */ te(null), Ac = /* @__P
|
|
|
6007
6007
|
global: !0
|
|
6008
6008
|
});
|
|
6009
6009
|
return delete R.id, delete R.onClick, /* @__PURE__ */ C.createElement(ye.label, {
|
|
6010
|
-
...ee(R, f,
|
|
6010
|
+
...ee(R, f, U, E),
|
|
6011
6011
|
ref: n,
|
|
6012
6012
|
slot: e.slot || void 0,
|
|
6013
|
-
"data-selected":
|
|
6013
|
+
"data-selected": h || void 0,
|
|
6014
6014
|
"data-indeterminate": e.isIndeterminate || void 0,
|
|
6015
6015
|
"data-pressed": g || void 0,
|
|
6016
6016
|
"data-hovered": A || void 0,
|
|
@@ -6061,13 +6061,13 @@ const Vc = /* @__PURE__ */ _t(function(e, n) {
|
|
|
6061
6061
|
"data-invalid": s || void 0
|
|
6062
6062
|
});
|
|
6063
6063
|
}), Hc = /* @__PURE__ */ te(null);
|
|
6064
|
-
function
|
|
6064
|
+
function Wc(t) {
|
|
6065
6065
|
let e = _({});
|
|
6066
6066
|
return /* @__PURE__ */ C.createElement(Hc.Provider, {
|
|
6067
6067
|
value: e
|
|
6068
6068
|
}, t.children);
|
|
6069
6069
|
}
|
|
6070
|
-
const
|
|
6070
|
+
const Uc = /* @__PURE__ */ te({
|
|
6071
6071
|
isSelected: !1
|
|
6072
6072
|
}), jc = /* @__PURE__ */ te(null), gn = /* @__PURE__ */ te(null), Gc = /* @__PURE__ */ Se(function(e, n) {
|
|
6073
6073
|
let r = e["aria-labelledby"];
|
|
@@ -6102,7 +6102,7 @@ const Wc = /* @__PURE__ */ te({
|
|
|
6102
6102
|
va,
|
|
6103
6103
|
{
|
|
6104
6104
|
slots: {
|
|
6105
|
-
[
|
|
6105
|
+
[Un]: {},
|
|
6106
6106
|
title: {
|
|
6107
6107
|
...o,
|
|
6108
6108
|
level: 2
|
|
@@ -6114,7 +6114,7 @@ const Wc = /* @__PURE__ */ te({
|
|
|
6114
6114
|
Cl,
|
|
6115
6115
|
{
|
|
6116
6116
|
slots: {
|
|
6117
|
-
[
|
|
6117
|
+
[Un]: {},
|
|
6118
6118
|
close: {
|
|
6119
6119
|
onPress: () => l == null ? void 0 : l.close()
|
|
6120
6120
|
}
|
|
@@ -6139,12 +6139,12 @@ const Wc = /* @__PURE__ */ te({
|
|
|
6139
6139
|
]), g = Object.keys(e).filter((y) => b.has(y));
|
|
6140
6140
|
console.warn(`This modal is already wrapped in a ModalOverlay, props [${g.join(", ")}] should be placed on the ModalOverlay instead.`);
|
|
6141
6141
|
}
|
|
6142
|
-
return /* @__PURE__ */ C.createElement(
|
|
6142
|
+
return /* @__PURE__ */ C.createElement(ki, {
|
|
6143
6143
|
...e,
|
|
6144
6144
|
modalRef: n
|
|
6145
6145
|
}, e.children);
|
|
6146
6146
|
}
|
|
6147
|
-
let { isDismissable: i, isKeyboardDismissDisabled: o, isOpen: l, defaultOpen: a, onOpenChange: s, children: d, isEntering: c, isExiting: f, UNSTABLE_portalContainer: p, shouldCloseOnInteractOutside:
|
|
6147
|
+
let { isDismissable: i, isKeyboardDismissDisabled: o, isOpen: l, defaultOpen: a, onOpenChange: s, children: d, isEntering: c, isExiting: f, UNSTABLE_portalContainer: p, shouldCloseOnInteractOutside: h, ...v } = e;
|
|
6148
6148
|
return /* @__PURE__ */ C.createElement(Tl, {
|
|
6149
6149
|
isDismissable: i,
|
|
6150
6150
|
isKeyboardDismissDisabled: o,
|
|
@@ -6154,8 +6154,8 @@ const Wc = /* @__PURE__ */ te({
|
|
|
6154
6154
|
isEntering: c,
|
|
6155
6155
|
isExiting: f,
|
|
6156
6156
|
UNSTABLE_portalContainer: p,
|
|
6157
|
-
shouldCloseOnInteractOutside:
|
|
6158
|
-
}, /* @__PURE__ */ C.createElement(
|
|
6157
|
+
shouldCloseOnInteractOutside: h
|
|
6158
|
+
}, /* @__PURE__ */ C.createElement(ki, {
|
|
6159
6159
|
...v,
|
|
6160
6160
|
modalRef: n
|
|
6161
6161
|
}, d));
|
|
@@ -6164,7 +6164,7 @@ function Xc(t, e) {
|
|
|
6164
6164
|
[t, e] = Te(t, e, qc);
|
|
6165
6165
|
let n = re(gn), r = Mc(t), i = t.isOpen != null || t.defaultOpen != null || !n ? r : n;
|
|
6166
6166
|
i === n && process.env.NODE_ENV !== "production" && (t.onOpenChange || t.defaultOpen !== void 0 || t.isOpen !== void 0) && console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.");
|
|
6167
|
-
let o = je(e), l = _(null), a =
|
|
6167
|
+
let o = je(e), l = _(null), a = Wn(o, i.isOpen), s = Wn(l, i.isOpen), d = a || s || t.isExiting || !1, c = nt();
|
|
6168
6168
|
return !i.isOpen && !d || c ? null : /* @__PURE__ */ C.createElement(Zc, {
|
|
6169
6169
|
...t,
|
|
6170
6170
|
state: i,
|
|
@@ -6223,8 +6223,8 @@ function Zc({ UNSTABLE_portalContainer: t, ...e }) {
|
|
|
6223
6223
|
]
|
|
6224
6224
|
}, a.children)));
|
|
6225
6225
|
}
|
|
6226
|
-
function
|
|
6227
|
-
let { modalProps: e, modalRef: n, isExiting: r, isDismissable: i } = re(Dr), o = re(gn), l = q(() =>
|
|
6226
|
+
function ki(t) {
|
|
6227
|
+
let { modalProps: e, modalRef: n, isExiting: r, isDismissable: i } = re(Dr), o = re(gn), l = q(() => mt(t.modalRef, n), [
|
|
6228
6228
|
t.modalRef,
|
|
6229
6229
|
n
|
|
6230
6230
|
]), a = je(l), s = br(a), d = Ce({
|
|
@@ -6251,11 +6251,11 @@ function Pi(t) {
|
|
|
6251
6251
|
const Jc = /* @__PURE__ */ te(null), Qc = /* @__PURE__ */ Se(function(e, n) {
|
|
6252
6252
|
let { inputRef: r = null, ...i } = e;
|
|
6253
6253
|
[e, n] = Te(i, n, Jc);
|
|
6254
|
-
let o = je(
|
|
6254
|
+
let o = je(mt(r, e.inputRef !== void 0 ? e.inputRef : null)), l = Pr(e), { labelProps: a, inputProps: s, isSelected: d, isDisabled: c, isReadOnly: f, isPressed: p } = xc({
|
|
6255
6255
|
...Jt(e),
|
|
6256
6256
|
// ReactNode type doesn't allow function children.
|
|
6257
6257
|
children: typeof e.children == "function" ? !0 : e.children
|
|
6258
|
-
}, l, o), { isFocused:
|
|
6258
|
+
}, l, o), { isFocused: h, isFocusVisible: v, focusProps: b } = it(), g = e.isDisabled || e.isReadOnly, { hoverProps: y, isHovered: x } = Tt({
|
|
6259
6259
|
...e,
|
|
6260
6260
|
isDisabled: g
|
|
6261
6261
|
}), w = Ce({
|
|
@@ -6265,7 +6265,7 @@ const Jc = /* @__PURE__ */ te(null), Qc = /* @__PURE__ */ Se(function(e, n) {
|
|
|
6265
6265
|
isSelected: d,
|
|
6266
6266
|
isPressed: p,
|
|
6267
6267
|
isHovered: x,
|
|
6268
|
-
isFocused:
|
|
6268
|
+
isFocused: h,
|
|
6269
6269
|
isFocusVisible: v,
|
|
6270
6270
|
isDisabled: c,
|
|
6271
6271
|
isReadOnly: f,
|
|
@@ -6281,7 +6281,7 @@ const Jc = /* @__PURE__ */ te(null), Qc = /* @__PURE__ */ Se(function(e, n) {
|
|
|
6281
6281
|
"data-selected": d || void 0,
|
|
6282
6282
|
"data-pressed": p || void 0,
|
|
6283
6283
|
"data-hovered": x || void 0,
|
|
6284
|
-
"data-focused":
|
|
6284
|
+
"data-focused": h || void 0,
|
|
6285
6285
|
"data-focus-visible": v || void 0,
|
|
6286
6286
|
"data-disabled": c || void 0,
|
|
6287
6287
|
"data-readonly": f || void 0
|
|
@@ -6358,7 +6358,7 @@ const nu = /* @__PURE__ */ Se(function(e, n) {
|
|
|
6358
6358
|
}) : /* @__PURE__ */ C.createElement(pc, e);
|
|
6359
6359
|
});
|
|
6360
6360
|
function ru({ props: t, forwardedRef: e }) {
|
|
6361
|
-
let n = re(tt), { CollectionRoot: r } = re($l), { orientation: i = "horizontal", keyboardActivation: o = "automatic" } =
|
|
6361
|
+
let n = re(tt), { CollectionRoot: r } = re($l), { orientation: i = "horizontal", keyboardActivation: o = "automatic" } = hn(yn), l = je(e), { tabListProps: a } = Cc({
|
|
6362
6362
|
...t,
|
|
6363
6363
|
orientation: i,
|
|
6364
6364
|
keyboardActivation: o
|
|
@@ -6377,7 +6377,7 @@ function ru({ props: t, forwardedRef: e }) {
|
|
|
6377
6377
|
...ee(d, s, a),
|
|
6378
6378
|
ref: l,
|
|
6379
6379
|
"data-orientation": i || void 0
|
|
6380
|
-
}, /* @__PURE__ */ C.createElement(
|
|
6380
|
+
}, /* @__PURE__ */ C.createElement(Wc, null, /* @__PURE__ */ C.createElement(r, {
|
|
6381
6381
|
collection: n.collection,
|
|
6382
6382
|
persistedKeys: bc(n.selectionManager.focusedKey)
|
|
6383
6383
|
})));
|
|
@@ -6389,7 +6389,7 @@ const iu = /* @__PURE__ */ uc(Dl, (t, e, n) => {
|
|
|
6389
6389
|
let r = re(tt), i = je(e), { tabProps: o, isSelected: l, isDisabled: a, isPressed: s } = wc({
|
|
6390
6390
|
key: n.key,
|
|
6391
6391
|
...t
|
|
6392
|
-
}, r, i), { focusProps: d, isFocused: c, isFocusVisible: f } = it(), { hoverProps: p, isHovered:
|
|
6392
|
+
}, r, i), { focusProps: d, isFocused: c, isFocusVisible: f } = it(), { hoverProps: p, isHovered: h } = Tt({
|
|
6393
6393
|
isDisabled: a,
|
|
6394
6394
|
onHoverStart: t.onHoverStart,
|
|
6395
6395
|
onHoverEnd: t.onHoverEnd,
|
|
@@ -6405,7 +6405,7 @@ const iu = /* @__PURE__ */ uc(Dl, (t, e, n) => {
|
|
|
6405
6405
|
isFocused: c,
|
|
6406
6406
|
isFocusVisible: f,
|
|
6407
6407
|
isPressed: s,
|
|
6408
|
-
isHovered:
|
|
6408
|
+
isHovered: h
|
|
6409
6409
|
}
|
|
6410
6410
|
}), b = n.props.href ? ye.a : ye.div, g = ve(t, {
|
|
6411
6411
|
global: !0
|
|
@@ -6418,8 +6418,8 @@ const iu = /* @__PURE__ */ uc(Dl, (t, e, n) => {
|
|
|
6418
6418
|
"data-focused": c || void 0,
|
|
6419
6419
|
"data-focus-visible": f || void 0,
|
|
6420
6420
|
"data-pressed": s || void 0,
|
|
6421
|
-
"data-hovered":
|
|
6422
|
-
}, /* @__PURE__ */ C.createElement(
|
|
6421
|
+
"data-hovered": h || void 0
|
|
6422
|
+
}, /* @__PURE__ */ C.createElement(Uc.Provider, {
|
|
6423
6423
|
value: {
|
|
6424
6424
|
isSelected: l
|
|
6425
6425
|
}
|
|
@@ -6428,7 +6428,7 @@ const iu = /* @__PURE__ */ uc(Dl, (t, e, n) => {
|
|
|
6428
6428
|
const r = re(tt);
|
|
6429
6429
|
let i = je(n), o = r.selectedKey === e.id, [l, a] = H(r.selectedKey != null ? o : null);
|
|
6430
6430
|
l == null && r.selectedKey != null ? a(o) : !o && l && a(!1);
|
|
6431
|
-
let s =
|
|
6431
|
+
let s = Wn(i, o);
|
|
6432
6432
|
return !o && !e.shouldForceMount && !s ? null : /* @__PURE__ */ C.createElement(lu, {
|
|
6433
6433
|
...e,
|
|
6434
6434
|
tabPanelRef: i,
|
|
@@ -6437,7 +6437,7 @@ const iu = /* @__PURE__ */ uc(Dl, (t, e, n) => {
|
|
|
6437
6437
|
});
|
|
6438
6438
|
});
|
|
6439
6439
|
function lu(t) {
|
|
6440
|
-
let e = re(tt), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: o, ...l } = t, { tabPanelProps: a } = Ec(t, e, r), { focusProps: s, isFocused: d, isFocusVisible: c } = it(), f = e.selectedKey === t.id, p = br(r) && !i,
|
|
6440
|
+
let e = re(tt), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: o, ...l } = t, { tabPanelProps: a } = Ec(t, e, r), { focusProps: s, isFocused: d, isFocusVisible: c } = it(), f = e.selectedKey === t.id, p = br(r) && !i, h = Ce({
|
|
6441
6441
|
...t,
|
|
6442
6442
|
defaultClassName: "react-aria-TabPanel",
|
|
6443
6443
|
values: {
|
|
@@ -6453,7 +6453,7 @@ function lu(t) {
|
|
|
6453
6453
|
global: !0
|
|
6454
6454
|
});
|
|
6455
6455
|
delete v.id;
|
|
6456
|
-
let b = f ? ee(v, a, s,
|
|
6456
|
+
let b = f ? ee(v, a, s, h) : ee(v, h);
|
|
6457
6457
|
return /* @__PURE__ */ C.createElement(ye.div, {
|
|
6458
6458
|
...b,
|
|
6459
6459
|
ref: r,
|
|
@@ -6477,15 +6477,15 @@ function lu(t) {
|
|
|
6477
6477
|
]
|
|
6478
6478
|
}, /* @__PURE__ */ C.createElement($l.Provider, {
|
|
6479
6479
|
value: yl
|
|
6480
|
-
},
|
|
6480
|
+
}, h.children)));
|
|
6481
6481
|
}
|
|
6482
6482
|
const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PURE__ */ _t(function(e, n) {
|
|
6483
6483
|
[e, n] = Te(e, n, su);
|
|
6484
|
-
let { validationBehavior: r } =
|
|
6484
|
+
let { validationBehavior: r } = hn(Pl) || {};
|
|
6485
6485
|
var i, o;
|
|
6486
6486
|
let l = (o = (i = e.validationBehavior) !== null && i !== void 0 ? i : r) !== null && o !== void 0 ? o : "native", a = _(null);
|
|
6487
6487
|
[e, a] = Te(e, a, ga);
|
|
6488
|
-
let [s, d] = ps(!e["aria-label"] && !e["aria-labelledby"]), [c, f] = H("input"), { labelProps: p, inputProps:
|
|
6488
|
+
let [s, d] = ps(!e["aria-label"] && !e["aria-labelledby"]), [c, f] = H("input"), { labelProps: p, inputProps: h, descriptionProps: v, errorMessageProps: b, ...g } = jd({
|
|
6489
6489
|
...Jt(e),
|
|
6490
6490
|
inputElementType: c,
|
|
6491
6491
|
label: d,
|
|
@@ -6527,14 +6527,14 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
6527
6527
|
[
|
|
6528
6528
|
Nl,
|
|
6529
6529
|
{
|
|
6530
|
-
...
|
|
6530
|
+
...h,
|
|
6531
6531
|
ref: y
|
|
6532
6532
|
}
|
|
6533
6533
|
],
|
|
6534
6534
|
[
|
|
6535
6535
|
au,
|
|
6536
6536
|
{
|
|
6537
|
-
...
|
|
6537
|
+
...h,
|
|
6538
6538
|
ref: y
|
|
6539
6539
|
}
|
|
6540
6540
|
],
|
|
@@ -6547,7 +6547,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
6547
6547
|
}
|
|
6548
6548
|
],
|
|
6549
6549
|
[
|
|
6550
|
-
|
|
6550
|
+
kl,
|
|
6551
6551
|
{
|
|
6552
6552
|
slots: {
|
|
6553
6553
|
description: v,
|
|
@@ -6575,24 +6575,24 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
6575
6575
|
nextPart: t,
|
|
6576
6576
|
validators: e,
|
|
6577
6577
|
classGroupId: n
|
|
6578
|
-
}), an = "-",
|
|
6579
|
-
const e =
|
|
6578
|
+
}), an = "-", Pi = [], fu = "arbitrary..", pu = (t) => {
|
|
6579
|
+
const e = mu(t), {
|
|
6580
6580
|
conflictingClassGroups: n,
|
|
6581
6581
|
conflictingClassGroupModifiers: r
|
|
6582
6582
|
} = t;
|
|
6583
6583
|
return {
|
|
6584
6584
|
getClassGroupId: (l) => {
|
|
6585
6585
|
if (l.startsWith("[") && l.endsWith("]"))
|
|
6586
|
-
return
|
|
6586
|
+
return hu(l);
|
|
6587
6587
|
const a = l.split(an), s = a[0] === "" && a.length > 1 ? 1 : 0;
|
|
6588
6588
|
return Il(a, s, e);
|
|
6589
6589
|
},
|
|
6590
6590
|
getConflictingClassGroupIds: (l, a) => {
|
|
6591
6591
|
if (a) {
|
|
6592
6592
|
const s = r[l], d = n[l];
|
|
6593
|
-
return s ? d ? cu(d, s) : s : d ||
|
|
6593
|
+
return s ? d ? cu(d, s) : s : d || Pi;
|
|
6594
6594
|
}
|
|
6595
|
-
return n[l] ||
|
|
6595
|
+
return n[l] || Pi;
|
|
6596
6596
|
}
|
|
6597
6597
|
};
|
|
6598
6598
|
}, Il = (t, e, n) => {
|
|
@@ -6612,10 +6612,10 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
6612
6612
|
if (c.validator(a))
|
|
6613
6613
|
return c.classGroupId;
|
|
6614
6614
|
}
|
|
6615
|
-
},
|
|
6615
|
+
}, hu = (t) => t.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
6616
6616
|
const e = t.slice(1, -1), n = e.indexOf(":"), r = e.slice(0, n);
|
|
6617
6617
|
return r ? fu + r : void 0;
|
|
6618
|
-
})(),
|
|
6618
|
+
})(), mu = (t) => {
|
|
6619
6619
|
const {
|
|
6620
6620
|
theme: e,
|
|
6621
6621
|
classGroups: n
|
|
@@ -6722,16 +6722,16 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
6722
6722
|
g === "[" ? l++ : g === "]" ? l-- : g === "(" ? a++ : g === ")" && a--;
|
|
6723
6723
|
}
|
|
6724
6724
|
const f = o.length === 0 ? i : i.slice(s);
|
|
6725
|
-
let p = f,
|
|
6726
|
-
f.endsWith(ar) ? (p = f.slice(0, -1),
|
|
6725
|
+
let p = f, h = !1;
|
|
6726
|
+
f.endsWith(ar) ? (p = f.slice(0, -1), h = !0) : (
|
|
6727
6727
|
/**
|
|
6728
6728
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
6729
6729
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
6730
6730
|
*/
|
|
6731
|
-
f.startsWith(ar) && (p = f.slice(1),
|
|
6731
|
+
f.startsWith(ar) && (p = f.slice(1), h = !0)
|
|
6732
6732
|
);
|
|
6733
6733
|
const v = d && d > s ? d - s : void 0;
|
|
6734
|
-
return Ti(o,
|
|
6734
|
+
return Ti(o, h, p, v);
|
|
6735
6735
|
};
|
|
6736
6736
|
if (e) {
|
|
6737
6737
|
const i = e + Ni, o = r;
|
|
@@ -6758,24 +6758,24 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
6758
6758
|
}
|
|
6759
6759
|
return i.length > 0 && (i.sort(), r.push(...i)), r;
|
|
6760
6760
|
};
|
|
6761
|
-
},
|
|
6761
|
+
}, ku = (t) => ({
|
|
6762
6762
|
cache: wu(t.cacheSize),
|
|
6763
6763
|
parseClassName: Su(t),
|
|
6764
6764
|
sortModifiers: Cu(t),
|
|
6765
6765
|
...pu(t)
|
|
6766
|
-
}),
|
|
6766
|
+
}), Pu = /\s+/, Nu = (t, e) => {
|
|
6767
6767
|
const {
|
|
6768
6768
|
parseClassName: n,
|
|
6769
6769
|
getClassGroupId: r,
|
|
6770
6770
|
getConflictingClassGroupIds: i,
|
|
6771
6771
|
sortModifiers: o
|
|
6772
|
-
} = e, l = [], a = t.trim().split(
|
|
6772
|
+
} = e, l = [], a = t.trim().split(Pu);
|
|
6773
6773
|
let s = "";
|
|
6774
6774
|
for (let d = a.length - 1; d >= 0; d -= 1) {
|
|
6775
6775
|
const c = a[d], {
|
|
6776
6776
|
isExternal: f,
|
|
6777
6777
|
modifiers: p,
|
|
6778
|
-
hasImportantModifier:
|
|
6778
|
+
hasImportantModifier: h,
|
|
6779
6779
|
baseClassName: v,
|
|
6780
6780
|
maybePostfixModifierPosition: b
|
|
6781
6781
|
} = n(c);
|
|
@@ -6795,13 +6795,13 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
6795
6795
|
}
|
|
6796
6796
|
g = !1;
|
|
6797
6797
|
}
|
|
6798
|
-
const x = p.length === 0 ? "" : p.length === 1 ? p[0] : o(p).join(":"), w =
|
|
6798
|
+
const x = p.length === 0 ? "" : p.length === 1 ? p[0] : o(p).join(":"), w = h ? x + ar : x, S = w + y;
|
|
6799
6799
|
if (l.indexOf(S) > -1)
|
|
6800
6800
|
continue;
|
|
6801
6801
|
l.push(S);
|
|
6802
6802
|
const N = i(y, g);
|
|
6803
|
-
for (let
|
|
6804
|
-
const A = N[
|
|
6803
|
+
for (let U = 0; U < N.length; ++U) {
|
|
6804
|
+
const A = N[U];
|
|
6805
6805
|
l.push(w + A);
|
|
6806
6806
|
}
|
|
6807
6807
|
s = c + (s.length > 0 ? " " + s : s);
|
|
@@ -6823,7 +6823,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
6823
6823
|
let n, r, i, o;
|
|
6824
6824
|
const l = (s) => {
|
|
6825
6825
|
const d = e.reduce((c, f) => f(c), t());
|
|
6826
|
-
return n =
|
|
6826
|
+
return n = ku(d), r = n.cache.get, i = n.cache.set, o = a, a(s);
|
|
6827
6827
|
}, a = (s) => {
|
|
6828
6828
|
const d = r(s);
|
|
6829
6829
|
if (d)
|
|
@@ -6832,7 +6832,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
6832
6832
|
return i(s, c), c;
|
|
6833
6833
|
};
|
|
6834
6834
|
return o = l, (...s) => o(Tu(...s));
|
|
6835
|
-
}, _u = [],
|
|
6835
|
+
}, _u = [], he = (t) => {
|
|
6836
6836
|
const e = (n) => n[t] || _u;
|
|
6837
6837
|
return e.isThemeGetter = !0, e;
|
|
6838
6838
|
}, Ml = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Rl = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Iu = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ku = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Lu = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Mu = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ru = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Fu = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ve = (t) => Iu.test(t), Z = (t) => !!t && !Number.isNaN(Number(t)), He = (t) => !!t && Number.isInteger(Number(t)), Fn = (t) => t.endsWith("%") && Z(t.slice(0, -1)), Le = (t) => Ku.test(t), Fl = () => !0, Au = (t) => (
|
|
@@ -6840,14 +6840,14 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
6840
6840
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
6841
6841
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
6842
6842
|
Lu.test(t) && !Mu.test(t)
|
|
6843
|
-
), Ir = () => !1, Ou = (t) => Ru.test(t), zu = (t) => Fu.test(t), Bu = (t) => !M(t) && !F(t), Vu = (t) => Ge(t, zl, Ir), M = (t) => Ml.test(t), Ye = (t) => Ge(t, Bl, Au), Di = (t) => Ge(t, Xu, Z), Hu = (t) => Ge(t, Hl, Fl),
|
|
6843
|
+
), Ir = () => !1, Ou = (t) => Ru.test(t), zu = (t) => Fu.test(t), Bu = (t) => !M(t) && !F(t), Vu = (t) => Ge(t, zl, Ir), M = (t) => Ml.test(t), Ye = (t) => Ge(t, Bl, Au), Di = (t) => Ge(t, Xu, Z), Hu = (t) => Ge(t, Hl, Fl), Wu = (t) => Ge(t, Vl, Ir), _i = (t) => Ge(t, Al, Ir), Uu = (t) => Ge(t, Ol, zu), Wt = (t) => Ge(t, Wl, Ou), F = (t) => Rl.test(t), vt = (t) => ot(t, Bl), ju = (t) => ot(t, Vl), Ii = (t) => ot(t, Al), Gu = (t) => ot(t, zl), qu = (t) => ot(t, Ol), Ut = (t) => ot(t, Wl, !0), Yu = (t) => ot(t, Hl, !0), Ge = (t, e, n) => {
|
|
6844
6844
|
const r = Ml.exec(t);
|
|
6845
6845
|
return r ? r[1] ? e(r[1]) : n(r[2]) : !1;
|
|
6846
6846
|
}, ot = (t, e, n = !1) => {
|
|
6847
6847
|
const r = Rl.exec(t);
|
|
6848
6848
|
return r ? r[1] ? e(r[1]) : n : !1;
|
|
6849
|
-
}, Al = (t) => t === "position" || t === "percentage", Ol = (t) => t === "image" || t === "url", zl = (t) => t === "length" || t === "size" || t === "bg-size", Bl = (t) => t === "length", Xu = (t) => t === "number", Vl = (t) => t === "family-name", Hl = (t) => t === "number" || t === "weight",
|
|
6850
|
-
const t =
|
|
6849
|
+
}, Al = (t) => t === "position" || t === "percentage", Ol = (t) => t === "image" || t === "url", zl = (t) => t === "length" || t === "size" || t === "bg-size", Bl = (t) => t === "length", Xu = (t) => t === "number", Vl = (t) => t === "family-name", Hl = (t) => t === "number" || t === "weight", Wl = (t) => t === "shadow", Zu = () => {
|
|
6850
|
+
const t = he("color"), e = he("font"), n = he("text"), r = he("font-weight"), i = he("tracking"), o = he("leading"), l = he("breakpoint"), a = he("container"), s = he("spacing"), d = he("radius"), c = he("shadow"), f = he("inset-shadow"), p = he("text-shadow"), h = he("drop-shadow"), v = he("blur"), b = he("perspective"), g = he("aspect"), y = he("ease"), x = he("animate"), w = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [
|
|
6851
6851
|
"center",
|
|
6852
6852
|
"top",
|
|
6853
6853
|
"bottom",
|
|
@@ -6865,13 +6865,13 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
6865
6865
|
"bottom-left",
|
|
6866
6866
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
6867
6867
|
"left-bottom"
|
|
6868
|
-
], N = () => [...S(), F, M],
|
|
6868
|
+
], N = () => [...S(), F, M], U = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", "contain", "none"], E = () => [F, M, s], R = () => [Ve, "full", "auto", ...E()], V = () => [He, "none", "subgrid", F, M], le = () => ["auto", {
|
|
6869
6869
|
span: ["full", He, F, M]
|
|
6870
|
-
}, He, F, M], se = () => [He, "auto", F, M], J = () => ["auto", "min", "max", "fr", F, M],
|
|
6870
|
+
}, He, F, M], se = () => [He, "auto", F, M], J = () => ["auto", "min", "max", "fr", F, M], P = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], X = () => ["auto", ...E()], Q = () => [Ve, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], oe = () => [Ve, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...E()], de = () => [Ve, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...E()], u = () => [t, F, M], T = () => [...S(), Ii, _i, {
|
|
6871
6871
|
position: [F, M]
|
|
6872
6872
|
}], $ = () => ["no-repeat", {
|
|
6873
6873
|
repeat: ["", "x", "y", "space", "round"]
|
|
6874
|
-
}],
|
|
6874
|
+
}], k = () => ["auto", "cover", "contain", Gu, Vu, {
|
|
6875
6875
|
size: [F, M]
|
|
6876
6876
|
}], I = () => [Fn, vt, Ye], K = () => [
|
|
6877
6877
|
// Deprecated since Tailwind CSS v4.0.0
|
|
@@ -6881,7 +6881,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
6881
6881
|
d,
|
|
6882
6882
|
F,
|
|
6883
6883
|
M
|
|
6884
|
-
], G = () => ["", Z, vt, Ye],
|
|
6884
|
+
], G = () => ["", Z, vt, Ye], me = () => ["solid", "dashed", "dotted", "double"], z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ie = () => [Z, Fn, Ii, _i], ge = () => [
|
|
6885
6885
|
// Deprecated since Tailwind CSS v4.0.0
|
|
6886
6886
|
"",
|
|
6887
6887
|
"none",
|
|
@@ -7019,21 +7019,21 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
7019
7019
|
* @see https://tailwindcss.com/docs/overflow
|
|
7020
7020
|
*/
|
|
7021
7021
|
overflow: [{
|
|
7022
|
-
overflow:
|
|
7022
|
+
overflow: U()
|
|
7023
7023
|
}],
|
|
7024
7024
|
/**
|
|
7025
7025
|
* Overflow X
|
|
7026
7026
|
* @see https://tailwindcss.com/docs/overflow
|
|
7027
7027
|
*/
|
|
7028
7028
|
"overflow-x": [{
|
|
7029
|
-
"overflow-x":
|
|
7029
|
+
"overflow-x": U()
|
|
7030
7030
|
}],
|
|
7031
7031
|
/**
|
|
7032
7032
|
* Overflow Y
|
|
7033
7033
|
* @see https://tailwindcss.com/docs/overflow
|
|
7034
7034
|
*/
|
|
7035
7035
|
"overflow-y": [{
|
|
7036
|
-
"overflow-y":
|
|
7036
|
+
"overflow-y": U()
|
|
7037
7037
|
}],
|
|
7038
7038
|
/**
|
|
7039
7039
|
* Overscroll Behavior
|
|
@@ -7317,7 +7317,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
7317
7317
|
* @see https://tailwindcss.com/docs/justify-content
|
|
7318
7318
|
*/
|
|
7319
7319
|
"justify-content": [{
|
|
7320
|
-
justify: [...
|
|
7320
|
+
justify: [...P(), "normal"]
|
|
7321
7321
|
}],
|
|
7322
7322
|
/**
|
|
7323
7323
|
* Justify Items
|
|
@@ -7338,7 +7338,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
7338
7338
|
* @see https://tailwindcss.com/docs/align-content
|
|
7339
7339
|
*/
|
|
7340
7340
|
"align-content": [{
|
|
7341
|
-
content: ["normal", ...
|
|
7341
|
+
content: ["normal", ...P()]
|
|
7342
7342
|
}],
|
|
7343
7343
|
/**
|
|
7344
7344
|
* Align Items
|
|
@@ -7363,7 +7363,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
7363
7363
|
* @see https://tailwindcss.com/docs/place-content
|
|
7364
7364
|
*/
|
|
7365
7365
|
"place-content": [{
|
|
7366
|
-
"place-content":
|
|
7366
|
+
"place-content": P()
|
|
7367
7367
|
}],
|
|
7368
7368
|
/**
|
|
7369
7369
|
* Place Items
|
|
@@ -7708,7 +7708,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
7708
7708
|
* @see https://tailwindcss.com/docs/font-family
|
|
7709
7709
|
*/
|
|
7710
7710
|
"font-family": [{
|
|
7711
|
-
font: [ju,
|
|
7711
|
+
font: [ju, Wu, e]
|
|
7712
7712
|
}],
|
|
7713
7713
|
/**
|
|
7714
7714
|
* Font Feature Settings
|
|
@@ -7825,7 +7825,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
7825
7825
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
7826
7826
|
*/
|
|
7827
7827
|
"text-decoration-style": [{
|
|
7828
|
-
decoration: [...
|
|
7828
|
+
decoration: [...me(), "wavy"]
|
|
7829
7829
|
}],
|
|
7830
7830
|
/**
|
|
7831
7831
|
* Text Decoration Thickness
|
|
@@ -7957,7 +7957,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
7957
7957
|
* @see https://tailwindcss.com/docs/background-size
|
|
7958
7958
|
*/
|
|
7959
7959
|
"bg-size": [{
|
|
7960
|
-
bg:
|
|
7960
|
+
bg: k()
|
|
7961
7961
|
}],
|
|
7962
7962
|
/**
|
|
7963
7963
|
* Background Image
|
|
@@ -7970,7 +7970,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
7970
7970
|
}, He, F, M],
|
|
7971
7971
|
radial: ["", F, M],
|
|
7972
7972
|
conic: [He, F, M]
|
|
7973
|
-
}, qu,
|
|
7973
|
+
}, qu, Uu]
|
|
7974
7974
|
}],
|
|
7975
7975
|
/**
|
|
7976
7976
|
* Background Color
|
|
@@ -8235,14 +8235,14 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
8235
8235
|
* @see https://tailwindcss.com/docs/border-style
|
|
8236
8236
|
*/
|
|
8237
8237
|
"border-style": [{
|
|
8238
|
-
border: [...
|
|
8238
|
+
border: [...me(), "hidden", "none"]
|
|
8239
8239
|
}],
|
|
8240
8240
|
/**
|
|
8241
8241
|
* Divide Style
|
|
8242
8242
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
8243
8243
|
*/
|
|
8244
8244
|
"divide-style": [{
|
|
8245
|
-
divide: [...
|
|
8245
|
+
divide: [...me(), "hidden", "none"]
|
|
8246
8246
|
}],
|
|
8247
8247
|
/**
|
|
8248
8248
|
* Border Color
|
|
@@ -8333,7 +8333,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
8333
8333
|
* @see https://tailwindcss.com/docs/outline-style
|
|
8334
8334
|
*/
|
|
8335
8335
|
"outline-style": [{
|
|
8336
|
-
outline: [...
|
|
8336
|
+
outline: [...me(), "none", "hidden"]
|
|
8337
8337
|
}],
|
|
8338
8338
|
/**
|
|
8339
8339
|
* Outline Offset
|
|
@@ -8369,8 +8369,8 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
8369
8369
|
"",
|
|
8370
8370
|
"none",
|
|
8371
8371
|
c,
|
|
8372
|
-
|
|
8373
|
-
|
|
8372
|
+
Ut,
|
|
8373
|
+
Wt
|
|
8374
8374
|
]
|
|
8375
8375
|
}],
|
|
8376
8376
|
/**
|
|
@@ -8385,7 +8385,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
8385
8385
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
8386
8386
|
*/
|
|
8387
8387
|
"inset-shadow": [{
|
|
8388
|
-
"inset-shadow": ["none", f,
|
|
8388
|
+
"inset-shadow": ["none", f, Ut, Wt]
|
|
8389
8389
|
}],
|
|
8390
8390
|
/**
|
|
8391
8391
|
* Inset Box Shadow Color
|
|
@@ -8452,7 +8452,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
8452
8452
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
8453
8453
|
*/
|
|
8454
8454
|
"text-shadow": [{
|
|
8455
|
-
"text-shadow": ["none", p,
|
|
8455
|
+
"text-shadow": ["none", p, Ut, Wt]
|
|
8456
8456
|
}],
|
|
8457
8457
|
/**
|
|
8458
8458
|
* Text Shadow Color
|
|
@@ -8662,7 +8662,7 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
8662
8662
|
* @see https://tailwindcss.com/docs/mask-size
|
|
8663
8663
|
*/
|
|
8664
8664
|
"mask-size": [{
|
|
8665
|
-
mask:
|
|
8665
|
+
mask: k()
|
|
8666
8666
|
}],
|
|
8667
8667
|
/**
|
|
8668
8668
|
* Mask Type
|
|
@@ -8724,9 +8724,9 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
8724
8724
|
// Deprecated since Tailwind CSS v4.0.0
|
|
8725
8725
|
"",
|
|
8726
8726
|
"none",
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8727
|
+
h,
|
|
8728
|
+
Ut,
|
|
8729
|
+
Wt
|
|
8730
8730
|
]
|
|
8731
8731
|
}],
|
|
8732
8732
|
/**
|
|
@@ -9479,32 +9479,32 @@ const au = /* @__PURE__ */ te({}), su = /* @__PURE__ */ te(null), du = /* @__PUR
|
|
|
9479
9479
|
function Y(...t) {
|
|
9480
9480
|
return Ju(t.filter(Boolean));
|
|
9481
9481
|
}
|
|
9482
|
-
const
|
|
9483
|
-
|
|
9484
|
-
const jl = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24",
|
|
9482
|
+
const Ul = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24", fill: "none", width: t, height: t, color: e, "aria-hidden": "true", ...n }, fe.createElement("path", { d: "M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z", stroke: "currentColor", strokeWidth: n.strokeWidth || 2, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
9483
|
+
Ul.displayName = "AlertCircle";
|
|
9484
|
+
const jl = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24", fill: "none", width: t, height: t, color: e, "aria-hidden": "true", ...n }, fe.createElement("path", { d: "M12 9v4m0 4h.01M10.615 3.892 2.39 18.098c-.456.788-.684 1.182-.65 1.506a1 1 0 0 0 .406.705c.263.191.718.191 1.629.191h16.45c.91 0 1.365 0 1.628-.191a1 1 0 0 0 .407-.705c.034-.324-.195-.718-.65-1.506L13.383 3.892c-.454-.785-.681-1.178-.978-1.31a1 1 0 0 0-.813 0c-.296.132-.523.525-.978 1.31Z", stroke: "currentColor", strokeWidth: n.strokeWidth || 2, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
9485
9485
|
jl.displayName = "AlertTriangle";
|
|
9486
|
-
const sr = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24",
|
|
9486
|
+
const sr = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24", fill: "none", width: t, height: t, color: e, "aria-hidden": "true", ...n }, fe.createElement("path", { d: "m7.5 12 3 3 6-6m5.5 3c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z", stroke: "currentColor", strokeWidth: n.strokeWidth || 2, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
9487
9487
|
sr.displayName = "CheckCircle";
|
|
9488
|
-
const Gl = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24",
|
|
9488
|
+
const Gl = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24", fill: "none", width: t, height: t, color: e, "aria-hidden": "true", ...n }, fe.createElement("path", { d: "m6 9 6 6 6-6", stroke: "currentColor", strokeWidth: n.strokeWidth || 2, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
9489
9489
|
Gl.displayName = "ChevronDown";
|
|
9490
|
-
const ql = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24",
|
|
9490
|
+
const ql = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24", fill: "none", width: t, height: t, color: e, "aria-hidden": "true", ...n }, fe.createElement("path", { d: "m18 15-6-6-6 6", stroke: "currentColor", strokeWidth: n.strokeWidth || 2, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
9491
9491
|
ql.displayName = "ChevronUp";
|
|
9492
|
-
const Yl = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24",
|
|
9492
|
+
const Yl = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24", fill: "none", width: t, height: t, color: e, "aria-hidden": "true", ...n }, fe.createElement("path", { d: "M12 16v-4m0-4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z", stroke: "currentColor", strokeWidth: n.strokeWidth || 2, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
9493
9493
|
Yl.displayName = "InfoCircle";
|
|
9494
|
-
const Xl = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24",
|
|
9494
|
+
const Xl = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24", fill: "none", width: t, height: t, color: e, "aria-hidden": "true", ...n }, fe.createElement("path", { d: "m14 10 7-7m0 0h-6m6 0v6m-11 5-7 7m0 0h6m-6 0v-6", stroke: "currentColor", strokeWidth: n.strokeWidth || 2, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
9495
9495
|
Xl.displayName = "Maximize01";
|
|
9496
|
-
const Zl = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24",
|
|
9496
|
+
const Zl = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24", fill: "none", width: t, height: t, color: e, "aria-hidden": "true", ...n }, fe.createElement("path", { d: "M5 12h14", stroke: "currentColor", strokeWidth: n.strokeWidth || 2, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
9497
9497
|
Zl.displayName = "Minus";
|
|
9498
|
-
const Jl = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24",
|
|
9498
|
+
const Jl = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24", fill: "none", width: t, height: t, color: e, "aria-hidden": "true", ...n }, fe.createElement("path", { d: "M8 21h8m-4-4v4m-5.2-4h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 14.72 22 13.88 22 12.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 3 18.88 3 17.2 3H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 5.28 2 6.12 2 7.8v4.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 17 5.12 17 6.8 17Z", stroke: "currentColor", strokeWidth: n.strokeWidth || 2, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
9499
9499
|
Jl.displayName = "Monitor01";
|
|
9500
|
-
const Ql = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24",
|
|
9500
|
+
const Ql = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24", fill: "none", width: t, height: t, color: e, "aria-hidden": "true", ...n }, fe.createElement("path", { d: "M12 5v14m-7-7h14", stroke: "currentColor", strokeWidth: n.strokeWidth || 2, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
9501
9501
|
Ql.displayName = "Plus";
|
|
9502
|
-
const ea = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24",
|
|
9502
|
+
const ea = ({ size: t = 24, color: e = "currentColor", ...n }) => fe.createElement("svg", { viewBox: "0 0 24 24", fill: "none", width: t, height: t, color: e, "aria-hidden": "true", ...n }, fe.createElement("path", { d: "M17 7 7 17M7 7l10 10", stroke: "currentColor", strokeWidth: n.strokeWidth || 2, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
9503
9503
|
ea.displayName = "X";
|
|
9504
9504
|
const Qu = {
|
|
9505
9505
|
Info: Yl,
|
|
9506
9506
|
Warning: jl,
|
|
9507
|
-
Error:
|
|
9507
|
+
Error: Ul,
|
|
9508
9508
|
Done: sr,
|
|
9509
9509
|
Close: ea,
|
|
9510
9510
|
Check: sr,
|
|
@@ -9514,7 +9514,7 @@ const Qu = {
|
|
|
9514
9514
|
Cancel: Zl,
|
|
9515
9515
|
Fullscreen: Xl,
|
|
9516
9516
|
Add: Ql
|
|
9517
|
-
}, ef = { L: 56, S: 24 },
|
|
9517
|
+
}, ef = { L: 56, S: 24 }, Pe = ({
|
|
9518
9518
|
name: t,
|
|
9519
9519
|
size: e = "L",
|
|
9520
9520
|
className: n = "",
|
|
@@ -9524,7 +9524,7 @@ const Qu = {
|
|
|
9524
9524
|
"aria-label": l
|
|
9525
9525
|
}) => {
|
|
9526
9526
|
const a = Qu[t];
|
|
9527
|
-
return a ? /* @__PURE__ */
|
|
9527
|
+
return a ? /* @__PURE__ */ m(
|
|
9528
9528
|
"span",
|
|
9529
9529
|
{
|
|
9530
9530
|
className: Y("icon", o && "icon--button", n),
|
|
@@ -9532,7 +9532,7 @@ const Qu = {
|
|
|
9532
9532
|
role: o,
|
|
9533
9533
|
"aria-label": l || `${t} icon`,
|
|
9534
9534
|
style: i ? { color: i } : void 0,
|
|
9535
|
-
children: /* @__PURE__ */
|
|
9535
|
+
children: /* @__PURE__ */ m(a, { size: ef[e], className: "icon__svg" })
|
|
9536
9536
|
}
|
|
9537
9537
|
) : null;
|
|
9538
9538
|
};
|
|
@@ -9585,7 +9585,7 @@ const Zf = ({
|
|
|
9585
9585
|
onClickHere: a,
|
|
9586
9586
|
className: s
|
|
9587
9587
|
}) => {
|
|
9588
|
-
const d = rf(t, n), c = of(e), { isClosing: f, triggerClose: p, handleAnimationEnd:
|
|
9588
|
+
const d = rf(t, n), c = of(e), { isClosing: f, triggerClose: p, handleAnimationEnd: h } = Kr("alert-exit", l), v = [
|
|
9589
9589
|
...o || [],
|
|
9590
9590
|
...a ? [{ label: "Click here", onClick: a }] : []
|
|
9591
9591
|
];
|
|
@@ -9603,13 +9603,13 @@ const Zf = ({
|
|
|
9603
9603
|
f && "eidotter-alert--closing",
|
|
9604
9604
|
s
|
|
9605
9605
|
),
|
|
9606
|
-
onAnimationEnd:
|
|
9606
|
+
onAnimationEnd: h,
|
|
9607
9607
|
role: "alert",
|
|
9608
9608
|
"data-color": d,
|
|
9609
9609
|
"data-size": c,
|
|
9610
9610
|
children: [
|
|
9611
|
-
/* @__PURE__ */
|
|
9612
|
-
|
|
9611
|
+
/* @__PURE__ */ m("div", { className: "eidotter-alert__icon", children: /* @__PURE__ */ m(
|
|
9612
|
+
Pe,
|
|
9613
9613
|
{
|
|
9614
9614
|
name: nf[d] || "Info",
|
|
9615
9615
|
size: "S",
|
|
@@ -9618,10 +9618,10 @@ const Zf = ({
|
|
|
9618
9618
|
) }),
|
|
9619
9619
|
/* @__PURE__ */ D("div", { className: Y("flex-1 flex flex-col gap-3 min-w-0", l && "pr-6"), children: [
|
|
9620
9620
|
(r || i) && /* @__PURE__ */ D("div", { className: "flex flex-col gap-1", children: [
|
|
9621
|
-
r && /* @__PURE__ */
|
|
9622
|
-
i && /* @__PURE__ */
|
|
9621
|
+
r && /* @__PURE__ */ m("div", { className: "eidotter-alert__title font-dos leading-[140%]", children: r }),
|
|
9622
|
+
i && /* @__PURE__ */ m("div", { className: "eidotter-alert__text font-dos leading-[140%]", children: i })
|
|
9623
9623
|
] }),
|
|
9624
|
-
v.length > 0 && /* @__PURE__ */
|
|
9624
|
+
v.length > 0 && /* @__PURE__ */ m("div", { className: "flex flex-row gap-3", children: v.map((b, g) => /* @__PURE__ */ D(
|
|
9625
9625
|
"button",
|
|
9626
9626
|
{
|
|
9627
9627
|
type: "button",
|
|
@@ -9635,13 +9635,13 @@ const Zf = ({
|
|
|
9635
9635
|
g
|
|
9636
9636
|
)) })
|
|
9637
9637
|
] }),
|
|
9638
|
-
l && /* @__PURE__ */
|
|
9638
|
+
l && /* @__PURE__ */ m(
|
|
9639
9639
|
Nr,
|
|
9640
9640
|
{
|
|
9641
9641
|
className: "eidotter-alert__close",
|
|
9642
9642
|
onPress: p,
|
|
9643
9643
|
"aria-label": "Close alert",
|
|
9644
|
-
children: /* @__PURE__ */
|
|
9644
|
+
children: /* @__PURE__ */ m(Pe, { name: "Close", size: "S" })
|
|
9645
9645
|
}
|
|
9646
9646
|
)
|
|
9647
9647
|
]
|
|
@@ -9656,7 +9656,7 @@ const Zf = ({
|
|
|
9656
9656
|
onToggle: o
|
|
9657
9657
|
}) => {
|
|
9658
9658
|
const [l, a] = H(n);
|
|
9659
|
-
|
|
9659
|
+
W(() => {
|
|
9660
9660
|
a(n);
|
|
9661
9661
|
}, [n]);
|
|
9662
9662
|
const s = () => {
|
|
@@ -9681,9 +9681,9 @@ const Zf = ({
|
|
|
9681
9681
|
onClick: s,
|
|
9682
9682
|
"aria-expanded": l,
|
|
9683
9683
|
children: [
|
|
9684
|
-
/* @__PURE__ */
|
|
9685
|
-
/* @__PURE__ */
|
|
9686
|
-
|
|
9684
|
+
/* @__PURE__ */ m("div", { className: "flex-1 text-base leading-6", children: t }),
|
|
9685
|
+
/* @__PURE__ */ m("div", { className: "eidotter-section__icon flex items-center justify-center w-6 h-6 ml-2 text-inherit", children: /* @__PURE__ */ m(
|
|
9686
|
+
Pe,
|
|
9687
9687
|
{
|
|
9688
9688
|
name: l ? "Chevron Up" : "Chevron Down",
|
|
9689
9689
|
size: "S"
|
|
@@ -9692,7 +9692,7 @@ const Zf = ({
|
|
|
9692
9692
|
]
|
|
9693
9693
|
}
|
|
9694
9694
|
),
|
|
9695
|
-
/* @__PURE__ */
|
|
9695
|
+
/* @__PURE__ */ m(
|
|
9696
9696
|
"div",
|
|
9697
9697
|
{
|
|
9698
9698
|
className: "eidotter-section__content",
|
|
@@ -9711,11 +9711,11 @@ const Zf = ({
|
|
|
9711
9711
|
const [, r] = H(e), i = (o, l) => {
|
|
9712
9712
|
r(l ? o : -1);
|
|
9713
9713
|
};
|
|
9714
|
-
return /* @__PURE__ */
|
|
9714
|
+
return /* @__PURE__ */ m("div", { className: Y(
|
|
9715
9715
|
"w-full flex flex-col items-stretch gap-2 text-left text-base font-dos text-cga-amber",
|
|
9716
9716
|
"eidotter-accordion-fill",
|
|
9717
9717
|
n
|
|
9718
|
-
), children: t.map((o, l) => /* @__PURE__ */
|
|
9718
|
+
), children: t.map((o, l) => /* @__PURE__ */ m(
|
|
9719
9719
|
lf,
|
|
9720
9720
|
{
|
|
9721
9721
|
title: o.title,
|
|
@@ -9762,7 +9762,7 @@ const Zf = ({
|
|
|
9762
9762
|
isDisabled: f,
|
|
9763
9763
|
onPress: (p) => {
|
|
9764
9764
|
if (l && !f) {
|
|
9765
|
-
const
|
|
9765
|
+
const h = {
|
|
9766
9766
|
type: "press",
|
|
9767
9767
|
target: p.target,
|
|
9768
9768
|
currentTarget: p.target,
|
|
@@ -9771,7 +9771,7 @@ const Zf = ({
|
|
|
9771
9771
|
stopPropagation: () => {
|
|
9772
9772
|
}
|
|
9773
9773
|
};
|
|
9774
|
-
l(
|
|
9774
|
+
l(h);
|
|
9775
9775
|
}
|
|
9776
9776
|
},
|
|
9777
9777
|
className: Y(
|
|
@@ -9793,8 +9793,8 @@ const Zf = ({
|
|
|
9793
9793
|
"data-variant": t,
|
|
9794
9794
|
...c,
|
|
9795
9795
|
children: [
|
|
9796
|
-
i && /* @__PURE__ */
|
|
9797
|
-
/* @__PURE__ */
|
|
9796
|
+
i && /* @__PURE__ */ m("span", { className: "eidotter-btn__loading", "aria-hidden": "true", children: "█" }),
|
|
9797
|
+
/* @__PURE__ */ m("span", { className: Y(
|
|
9798
9798
|
"inline-flex items-center justify-center",
|
|
9799
9799
|
i && "opacity-70"
|
|
9800
9800
|
), children: o })
|
|
@@ -9815,9 +9815,9 @@ const Zf = ({
|
|
|
9815
9815
|
i
|
|
9816
9816
|
].filter(Boolean).join(" ");
|
|
9817
9817
|
return /* @__PURE__ */ D("div", { className: l, ...o, children: [
|
|
9818
|
-
t && /* @__PURE__ */
|
|
9819
|
-
/* @__PURE__ */
|
|
9820
|
-
n && /* @__PURE__ */
|
|
9818
|
+
t && /* @__PURE__ */ m("div", { className: "card__header", children: /* @__PURE__ */ m("span", { className: "card__title", children: t }) }),
|
|
9819
|
+
/* @__PURE__ */ m("div", { className: "card__body", children: e }),
|
|
9820
|
+
n && /* @__PURE__ */ m("div", { className: "card__footer", children: n })
|
|
9821
9821
|
] });
|
|
9822
9822
|
}, ep = ({
|
|
9823
9823
|
checked: t,
|
|
@@ -9832,7 +9832,7 @@ const Zf = ({
|
|
|
9832
9832
|
className: d,
|
|
9833
9833
|
"aria-label": c,
|
|
9834
9834
|
...f
|
|
9835
|
-
}) => /* @__PURE__ */
|
|
9835
|
+
}) => /* @__PURE__ */ m(
|
|
9836
9836
|
Oc,
|
|
9837
9837
|
{
|
|
9838
9838
|
isSelected: t,
|
|
@@ -9853,13 +9853,13 @@ const Zf = ({
|
|
|
9853
9853
|
),
|
|
9854
9854
|
"data-size": l,
|
|
9855
9855
|
...f,
|
|
9856
|
-
children: ({ isSelected: p, isIndeterminate:
|
|
9857
|
-
/* @__PURE__ */
|
|
9856
|
+
children: ({ isSelected: p, isIndeterminate: h }) => /* @__PURE__ */ D(ht, { children: [
|
|
9857
|
+
/* @__PURE__ */ m("span", { className: Y(
|
|
9858
9858
|
"eidotter-checkbox__box",
|
|
9859
9859
|
p && "eidotter-checkbox__box--checked",
|
|
9860
|
-
|
|
9861
|
-
), children:
|
|
9862
|
-
i && /* @__PURE__ */
|
|
9860
|
+
h && "eidotter-checkbox__box--indeterminate"
|
|
9861
|
+
), children: h ? "[-]" : p ? "[X]" : "[ ]" }),
|
|
9862
|
+
i && /* @__PURE__ */ m("span", { className: "eidotter-checkbox__label", children: i })
|
|
9863
9863
|
] })
|
|
9864
9864
|
}
|
|
9865
9865
|
), tp = ({
|
|
@@ -9871,7 +9871,7 @@ const Zf = ({
|
|
|
9871
9871
|
disabled: o = !1
|
|
9872
9872
|
}) => {
|
|
9873
9873
|
const [l, a] = H(""), s = _(null);
|
|
9874
|
-
|
|
9874
|
+
W(() => {
|
|
9875
9875
|
n && s.current && s.current.focus();
|
|
9876
9876
|
}, [n]);
|
|
9877
9877
|
const d = (f) => {
|
|
@@ -9887,9 +9887,9 @@ const Zf = ({
|
|
|
9887
9887
|
role: "textbox",
|
|
9888
9888
|
"aria-label": "Command prompt",
|
|
9889
9889
|
children: [
|
|
9890
|
-
/* @__PURE__ */
|
|
9890
|
+
/* @__PURE__ */ m("span", { className: "command-prompt__prompt", "aria-hidden": "true", children: t }),
|
|
9891
9891
|
/* @__PURE__ */ D("div", { className: "command-prompt__input-wrapper", children: [
|
|
9892
|
-
/* @__PURE__ */
|
|
9892
|
+
/* @__PURE__ */ m(
|
|
9893
9893
|
"input",
|
|
9894
9894
|
{
|
|
9895
9895
|
ref: s,
|
|
@@ -9908,7 +9908,7 @@ const Zf = ({
|
|
|
9908
9908
|
size: l.length || 1
|
|
9909
9909
|
}
|
|
9910
9910
|
),
|
|
9911
|
-
/* @__PURE__ */
|
|
9911
|
+
/* @__PURE__ */ m("span", { className: "command-prompt__cursor", "aria-hidden": "true", children: "█" })
|
|
9912
9912
|
] })
|
|
9913
9913
|
]
|
|
9914
9914
|
}
|
|
@@ -9956,7 +9956,7 @@ const df = ({
|
|
|
9956
9956
|
valueText: c,
|
|
9957
9957
|
className: f,
|
|
9958
9958
|
"aria-label": p,
|
|
9959
|
-
...
|
|
9959
|
+
...h
|
|
9960
9960
|
}) => {
|
|
9961
9961
|
const v = Math.min(80, Math.max(3, Math.floor(l))), b = Math.min(100, Math.max(0, t / e * 100)), g = Math.round(b / 100 * v), y = Y(
|
|
9962
9962
|
"inline-flex items-center gap-2 font-dos",
|
|
@@ -9978,29 +9978,29 @@ const df = ({
|
|
|
9978
9978
|
);
|
|
9979
9979
|
if (n) {
|
|
9980
9980
|
const E = dn.repeat(v);
|
|
9981
|
-
return /* @__PURE__ */ D("div", { className: y, role: "progressbar", ...x, ...
|
|
9981
|
+
return /* @__PURE__ */ D("div", { className: y, role: "progressbar", ...x, ...h, children: [
|
|
9982
9982
|
/* @__PURE__ */ D("span", { className: S, children: [
|
|
9983
|
-
w && /* @__PURE__ */
|
|
9983
|
+
w && /* @__PURE__ */ m("span", { className: "eidotter-progress__bracket", children: "[" }),
|
|
9984
9984
|
/* @__PURE__ */ D("span", { className: "eidotter-progress__bar", children: [
|
|
9985
|
-
/* @__PURE__ */
|
|
9985
|
+
/* @__PURE__ */ m("span", { className: "eidotter-progress__empty", children: E }),
|
|
9986
9986
|
/* @__PURE__ */ D("span", { className: "eidotter-progress__scanner", children: [
|
|
9987
9987
|
cr,
|
|
9988
9988
|
sn,
|
|
9989
9989
|
cr
|
|
9990
9990
|
] })
|
|
9991
9991
|
] }),
|
|
9992
|
-
w && /* @__PURE__ */
|
|
9992
|
+
w && /* @__PURE__ */ m("span", { className: "eidotter-progress__bracket", children: "]" })
|
|
9993
9993
|
] }),
|
|
9994
|
-
a && /* @__PURE__ */
|
|
9994
|
+
a && /* @__PURE__ */ m("span", { className: "eidotter-progress__label", children: "..." })
|
|
9995
9995
|
] });
|
|
9996
9996
|
}
|
|
9997
|
-
const N = sn.repeat(v),
|
|
9998
|
-
return /* @__PURE__ */ D("div", { className: y, role: "progressbar", ...x, ...
|
|
9997
|
+
const N = sn.repeat(v), U = dn.repeat(v), { transition: A } = sf(g, v, o);
|
|
9998
|
+
return /* @__PURE__ */ D("div", { className: y, role: "progressbar", ...x, ...h, children: [
|
|
9999
9999
|
/* @__PURE__ */ D("span", { className: S, children: [
|
|
10000
|
-
w && /* @__PURE__ */
|
|
10000
|
+
w && /* @__PURE__ */ m("span", { className: "eidotter-progress__bracket", children: "[" }),
|
|
10001
10001
|
/* @__PURE__ */ D("span", { className: "eidotter-progress__bar", children: [
|
|
10002
|
-
/* @__PURE__ */
|
|
10003
|
-
/* @__PURE__ */
|
|
10002
|
+
/* @__PURE__ */ m("span", { className: "eidotter-progress__empty", children: U }),
|
|
10003
|
+
/* @__PURE__ */ m(
|
|
10004
10004
|
"span",
|
|
10005
10005
|
{
|
|
10006
10006
|
className: "eidotter-progress__fill",
|
|
@@ -10008,7 +10008,7 @@ const df = ({
|
|
|
10008
10008
|
children: N
|
|
10009
10009
|
}
|
|
10010
10010
|
),
|
|
10011
|
-
A && /* @__PURE__ */
|
|
10011
|
+
A && /* @__PURE__ */ m(
|
|
10012
10012
|
"span",
|
|
10013
10013
|
{
|
|
10014
10014
|
className: "eidotter-progress__transition",
|
|
@@ -10017,7 +10017,7 @@ const df = ({
|
|
|
10017
10017
|
}
|
|
10018
10018
|
)
|
|
10019
10019
|
] }),
|
|
10020
|
-
w && /* @__PURE__ */
|
|
10020
|
+
w && /* @__PURE__ */ m("span", { className: "eidotter-progress__bracket", children: "]" })
|
|
10021
10021
|
] }),
|
|
10022
10022
|
a && /* @__PURE__ */ D("span", { className: "eidotter-progress__label", children: [
|
|
10023
10023
|
Math.round(b),
|
|
@@ -10047,8 +10047,8 @@ const df = ({
|
|
|
10047
10047
|
isRequired: a,
|
|
10048
10048
|
className: Y("eidotter-text-field", "flex flex-col gap-1", o),
|
|
10049
10049
|
children: [
|
|
10050
|
-
e && /* @__PURE__ */
|
|
10051
|
-
/* @__PURE__ */
|
|
10050
|
+
e && /* @__PURE__ */ m(kc, { className: "text-cga-amber font-dos text-xs uppercase tracking-wider", children: e }),
|
|
10051
|
+
/* @__PURE__ */ m(
|
|
10052
10052
|
Vc,
|
|
10053
10053
|
{
|
|
10054
10054
|
ref: d,
|
|
@@ -10063,8 +10063,8 @@ const df = ({
|
|
|
10063
10063
|
...s
|
|
10064
10064
|
}
|
|
10065
10065
|
),
|
|
10066
|
-
n && !c && /* @__PURE__ */
|
|
10067
|
-
r && c && /* @__PURE__ */
|
|
10066
|
+
n && !c && /* @__PURE__ */ m(wi, { slot: "description", className: "text-cga-brown font-dos text-xs", children: n }),
|
|
10067
|
+
r && c && /* @__PURE__ */ m(wi, { slot: "errorMessage", className: "text-cga-bright-red font-dos text-xs", children: r })
|
|
10068
10068
|
]
|
|
10069
10069
|
}
|
|
10070
10070
|
);
|
|
@@ -10084,35 +10084,35 @@ const np = ({
|
|
|
10084
10084
|
onClose: c,
|
|
10085
10085
|
onFocus: f,
|
|
10086
10086
|
className: p = "",
|
|
10087
|
-
autoFocus:
|
|
10087
|
+
autoFocus: h = !1
|
|
10088
10088
|
}) => {
|
|
10089
10089
|
const [v, b] = H(n), [g, y] = H(!1), x = _(null);
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
}, [
|
|
10090
|
+
W(() => {
|
|
10091
|
+
h && x.current && x.current.focus();
|
|
10092
|
+
}, [h]);
|
|
10093
10093
|
const w = () => {
|
|
10094
10094
|
b("minimized"), s == null || s();
|
|
10095
10095
|
}, S = () => {
|
|
10096
10096
|
y(!g), d == null || d();
|
|
10097
10097
|
}, N = () => {
|
|
10098
10098
|
c == null || c();
|
|
10099
|
-
},
|
|
10099
|
+
}, U = () => {
|
|
10100
10100
|
b("active"), f == null || f();
|
|
10101
10101
|
}, A = (E) => {
|
|
10102
10102
|
E.altKey && E.key === "F4" && l && (E.preventDefault(), N());
|
|
10103
10103
|
};
|
|
10104
|
-
return v === "minimized" ? /* @__PURE__ */
|
|
10104
|
+
return v === "minimized" ? /* @__PURE__ */ m(
|
|
10105
10105
|
"div",
|
|
10106
10106
|
{
|
|
10107
10107
|
className: `terminal terminal--minimized ${p}`.trim(),
|
|
10108
|
-
onClick:
|
|
10108
|
+
onClick: U,
|
|
10109
10109
|
role: "button",
|
|
10110
10110
|
tabIndex: 0,
|
|
10111
10111
|
"aria-label": `Restore ${e} window`,
|
|
10112
|
-
onKeyDown: (E) => E.key === "Enter" &&
|
|
10112
|
+
onKeyDown: (E) => E.key === "Enter" && U(),
|
|
10113
10113
|
children: /* @__PURE__ */ D("div", { className: "terminal__taskbar-item", children: [
|
|
10114
|
-
/* @__PURE__ */
|
|
10115
|
-
/* @__PURE__ */
|
|
10114
|
+
/* @__PURE__ */ m(Pe, { name: "App", size: "S" }),
|
|
10115
|
+
/* @__PURE__ */ m("span", { className: "terminal__taskbar-title", children: e })
|
|
10116
10116
|
] })
|
|
10117
10117
|
}
|
|
10118
10118
|
) : /* @__PURE__ */ D(
|
|
@@ -10123,52 +10123,52 @@ const np = ({
|
|
|
10123
10123
|
tabIndex: 0,
|
|
10124
10124
|
role: "dialog",
|
|
10125
10125
|
"aria-label": `${e} terminal window`,
|
|
10126
|
-
onFocus:
|
|
10126
|
+
onFocus: U,
|
|
10127
10127
|
onKeyDown: A,
|
|
10128
10128
|
children: [
|
|
10129
10129
|
/* @__PURE__ */ D("div", { className: "terminal__title-bar", children: [
|
|
10130
10130
|
/* @__PURE__ */ D("div", { className: "terminal__title", children: [
|
|
10131
|
-
/* @__PURE__ */
|
|
10132
|
-
/* @__PURE__ */
|
|
10131
|
+
/* @__PURE__ */ m(Pe, { name: "App", size: "S", "aria-hidden": "true" }),
|
|
10132
|
+
/* @__PURE__ */ m("span", { className: "terminal__title-text", children: e })
|
|
10133
10133
|
] }),
|
|
10134
10134
|
(i || o || l) && /* @__PURE__ */ D("div", { className: "terminal__controls", children: [
|
|
10135
|
-
i && /* @__PURE__ */
|
|
10135
|
+
i && /* @__PURE__ */ m(
|
|
10136
10136
|
"button",
|
|
10137
10137
|
{
|
|
10138
10138
|
className: "terminal__control terminal__control--minimize",
|
|
10139
10139
|
onClick: w,
|
|
10140
10140
|
"aria-label": "Minimize window",
|
|
10141
10141
|
title: "Minimize",
|
|
10142
|
-
children: /* @__PURE__ */
|
|
10142
|
+
children: /* @__PURE__ */ m(Pe, { name: "Cancel", size: "S" })
|
|
10143
10143
|
}
|
|
10144
10144
|
),
|
|
10145
|
-
o && /* @__PURE__ */
|
|
10145
|
+
o && /* @__PURE__ */ m(
|
|
10146
10146
|
"button",
|
|
10147
10147
|
{
|
|
10148
10148
|
className: "terminal__control terminal__control--maximize",
|
|
10149
10149
|
onClick: S,
|
|
10150
10150
|
"aria-label": g ? "Restore window" : "Maximize window",
|
|
10151
10151
|
title: g ? "Restore" : "Maximize",
|
|
10152
|
-
children: /* @__PURE__ */
|
|
10152
|
+
children: /* @__PURE__ */ m(Pe, { name: g ? "Fullscreen" : "Add", size: "S" })
|
|
10153
10153
|
}
|
|
10154
10154
|
),
|
|
10155
|
-
l && /* @__PURE__ */
|
|
10155
|
+
l && /* @__PURE__ */ m(
|
|
10156
10156
|
"button",
|
|
10157
10157
|
{
|
|
10158
10158
|
className: "terminal__control terminal__control--close",
|
|
10159
10159
|
onClick: N,
|
|
10160
10160
|
"aria-label": "Close window",
|
|
10161
10161
|
title: "Close",
|
|
10162
|
-
children: /* @__PURE__ */
|
|
10162
|
+
children: /* @__PURE__ */ m(Pe, { name: "Close", size: "S" })
|
|
10163
10163
|
}
|
|
10164
10164
|
)
|
|
10165
10165
|
] })
|
|
10166
10166
|
] }),
|
|
10167
|
-
/* @__PURE__ */
|
|
10168
|
-
/* @__PURE__ */
|
|
10169
|
-
/* @__PURE__ */
|
|
10167
|
+
/* @__PURE__ */ m("div", { className: "terminal__content", role: "main", children: a || /* @__PURE__ */ m("div", { className: "terminal__default-content", children: /* @__PURE__ */ D("div", { className: "terminal__prompt", children: [
|
|
10168
|
+
/* @__PURE__ */ m("span", { className: "terminal__path", children: "C:\\\\>" }),
|
|
10169
|
+
/* @__PURE__ */ m("span", { className: "terminal__cursor", children: "█" })
|
|
10170
10170
|
] }) }) }),
|
|
10171
|
-
r && /* @__PURE__ */
|
|
10171
|
+
r && /* @__PURE__ */ m("div", { className: "terminal__resize-handle", "aria-hidden": "true" })
|
|
10172
10172
|
]
|
|
10173
10173
|
}
|
|
10174
10174
|
);
|
|
@@ -10192,8 +10192,8 @@ const np = ({
|
|
|
10192
10192
|
className: l,
|
|
10193
10193
|
...a
|
|
10194
10194
|
}) => {
|
|
10195
|
-
var
|
|
10196
|
-
const s = _(null), d = _(r ?? i ?? ((
|
|
10195
|
+
var h, v, b;
|
|
10196
|
+
const s = _(null), d = _(r ?? i ?? ((h = t[0]) == null ? void 0 : h.id) ?? ""), [c, f] = H(
|
|
10197
10197
|
r ?? i ?? ((v = t[0]) == null ? void 0 : v.id) ?? ""
|
|
10198
10198
|
), p = B((g) => {
|
|
10199
10199
|
const y = String(g), x = r ?? d.current;
|
|
@@ -10223,12 +10223,12 @@ const np = ({
|
|
|
10223
10223
|
),
|
|
10224
10224
|
children: [
|
|
10225
10225
|
/* @__PURE__ */ D("div", { ref: s, className: "relative", children: [
|
|
10226
|
-
/* @__PURE__ */
|
|
10226
|
+
/* @__PURE__ */ m(
|
|
10227
10227
|
nu,
|
|
10228
10228
|
{
|
|
10229
10229
|
className: "inline-flex items-center font-dos eidotter-tabs__list",
|
|
10230
10230
|
"aria-label": a["aria-label"],
|
|
10231
|
-
children: t.map((g) => /* @__PURE__ */
|
|
10231
|
+
children: t.map((g) => /* @__PURE__ */ m(
|
|
10232
10232
|
iu,
|
|
10233
10233
|
{
|
|
10234
10234
|
id: g.id,
|
|
@@ -10244,9 +10244,9 @@ const np = ({
|
|
|
10244
10244
|
))
|
|
10245
10245
|
}
|
|
10246
10246
|
),
|
|
10247
|
-
e === "underline" && /* @__PURE__ */
|
|
10247
|
+
e === "underline" && /* @__PURE__ */ m("span", { className: "eidotter-tabs__indicator", "aria-hidden": "true" })
|
|
10248
10248
|
] }),
|
|
10249
|
-
t.map((g) => /* @__PURE__ */
|
|
10249
|
+
t.map((g) => /* @__PURE__ */ m(ou, { id: g.id, className: "hidden" }, g.id))
|
|
10250
10250
|
]
|
|
10251
10251
|
}
|
|
10252
10252
|
);
|
|
@@ -10293,8 +10293,8 @@ const np = ({
|
|
|
10293
10293
|
"data-variant": t,
|
|
10294
10294
|
...o,
|
|
10295
10295
|
children: [
|
|
10296
|
-
n && /* @__PURE__ */
|
|
10297
|
-
/* @__PURE__ */
|
|
10296
|
+
n && /* @__PURE__ */ m("span", { className: "eidotter-badge__dot", "aria-hidden": "true" }),
|
|
10297
|
+
/* @__PURE__ */ m("span", { className: "eidotter-badge__content", children: r })
|
|
10298
10298
|
]
|
|
10299
10299
|
}
|
|
10300
10300
|
), ip = ({
|
|
@@ -10309,7 +10309,7 @@ const np = ({
|
|
|
10309
10309
|
value: s,
|
|
10310
10310
|
className: d,
|
|
10311
10311
|
...c
|
|
10312
|
-
}) => /* @__PURE__ */
|
|
10312
|
+
}) => /* @__PURE__ */ m(
|
|
10313
10313
|
Qc,
|
|
10314
10314
|
{
|
|
10315
10315
|
isSelected: t,
|
|
@@ -10327,14 +10327,14 @@ const np = ({
|
|
|
10327
10327
|
"data-size": i,
|
|
10328
10328
|
"data-type": o,
|
|
10329
10329
|
...c,
|
|
10330
|
-
children: ({ isSelected: f }) => /* @__PURE__ */ D(
|
|
10331
|
-
/* @__PURE__ */
|
|
10330
|
+
children: ({ isSelected: f }) => /* @__PURE__ */ D(ht, { children: [
|
|
10331
|
+
/* @__PURE__ */ m("span", { className: Y(
|
|
10332
10332
|
"eidotter-switch__track",
|
|
10333
10333
|
f && "eidotter-switch__track--checked",
|
|
10334
10334
|
o === "slim" && "eidotter-switch__track--slim",
|
|
10335
10335
|
i === "sm" && "eidotter-switch__track--sm"
|
|
10336
|
-
), children: /* @__PURE__ */
|
|
10337
|
-
l && /* @__PURE__ */
|
|
10336
|
+
), children: /* @__PURE__ */ m("span", { className: "eidotter-switch__thumb" }) }),
|
|
10337
|
+
l && /* @__PURE__ */ m("span", { className: "text-[var(--color-cga-amber)]", children: l })
|
|
10338
10338
|
] })
|
|
10339
10339
|
}
|
|
10340
10340
|
), jt = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text-accent opacity-70 no-underline", ff = ({
|
|
@@ -10346,11 +10346,11 @@ const np = ({
|
|
|
10346
10346
|
className: o
|
|
10347
10347
|
}) => {
|
|
10348
10348
|
const l = (a, s) => {
|
|
10349
|
-
const d = /* @__PURE__ */ D(
|
|
10350
|
-
n && s && /* @__PURE__ */
|
|
10351
|
-
/* @__PURE__ */
|
|
10349
|
+
const d = /* @__PURE__ */ D(ht, { children: [
|
|
10350
|
+
n && s && /* @__PURE__ */ m("span", { className: "text-[1em] leading-none", "aria-hidden": "true", children: "<" }),
|
|
10351
|
+
/* @__PURE__ */ m("span", { children: a.label })
|
|
10352
10352
|
] });
|
|
10353
|
-
return a.onClick ? /* @__PURE__ */
|
|
10353
|
+
return a.onClick ? /* @__PURE__ */ m(
|
|
10354
10354
|
"button",
|
|
10355
10355
|
{
|
|
10356
10356
|
type: "button",
|
|
@@ -10358,9 +10358,9 @@ const np = ({
|
|
|
10358
10358
|
onClick: a.onClick,
|
|
10359
10359
|
children: d
|
|
10360
10360
|
}
|
|
10361
|
-
) : a.href ? i ? /* @__PURE__ */
|
|
10361
|
+
) : a.href ? i ? /* @__PURE__ */ m(i, { href: a.href, className: jt, children: d }) : /* @__PURE__ */ m("a", { href: a.href, className: jt, children: d }) : /* @__PURE__ */ m("span", { className: jt, children: d });
|
|
10362
10362
|
};
|
|
10363
|
-
return /* @__PURE__ */
|
|
10363
|
+
return /* @__PURE__ */ m(
|
|
10364
10364
|
"nav",
|
|
10365
10365
|
{
|
|
10366
10366
|
"aria-label": "Breadcrumb",
|
|
@@ -10374,11 +10374,11 @@ const np = ({
|
|
|
10374
10374
|
const d = s === t.length - 1, c = s < t.length - 1;
|
|
10375
10375
|
return /* @__PURE__ */ D("li", { className: "flex items-center gap-2", children: [
|
|
10376
10376
|
l(a, d),
|
|
10377
|
-
c && /* @__PURE__ */
|
|
10377
|
+
c && /* @__PURE__ */ m("span", { className: "text-dos-text-accent opacity-40 select-none", "aria-hidden": "true", children: r })
|
|
10378
10378
|
] }, `${a.href ?? a.label}-${s}`);
|
|
10379
10379
|
}),
|
|
10380
|
-
t.length > 0 && /* @__PURE__ */
|
|
10381
|
-
/* @__PURE__ */
|
|
10380
|
+
t.length > 0 && /* @__PURE__ */ m("li", { className: "flex items-center gap-2", children: /* @__PURE__ */ m("span", { className: "text-dos-text-accent opacity-40 select-none", "aria-hidden": "true", children: r }) }),
|
|
10381
|
+
/* @__PURE__ */ m("li", { className: "flex items-center gap-2", "aria-current": "page", children: /* @__PURE__ */ m("span", { className: "text-cga-amber", children: e }) })
|
|
10382
10382
|
] })
|
|
10383
10383
|
}
|
|
10384
10384
|
);
|
|
@@ -10395,19 +10395,19 @@ const np = ({
|
|
|
10395
10395
|
onPowerOff: d
|
|
10396
10396
|
}) => {
|
|
10397
10397
|
const c = _(i), [f, p] = H(i ? "on" : "off");
|
|
10398
|
-
|
|
10398
|
+
W(() => {
|
|
10399
10399
|
const w = c.current;
|
|
10400
10400
|
if (c.current = i, w !== i) {
|
|
10401
10401
|
const S = i ? "powering-on" : "powering-off";
|
|
10402
10402
|
p(S), a == null || a(S);
|
|
10403
10403
|
}
|
|
10404
10404
|
}, [i, a]);
|
|
10405
|
-
const
|
|
10405
|
+
const h = () => {
|
|
10406
10406
|
f === "powering-on" ? (p("on"), a == null || a("on"), s == null || s()) : f === "powering-off" && (p("off"), a == null || a("off"), d == null || d());
|
|
10407
10407
|
}, v = (w) => {
|
|
10408
|
-
w.animationName !== "retro-power-on" && w.animationName !== "retro-power-off" ||
|
|
10408
|
+
w.animationName !== "retro-power-on" && w.animationName !== "retro-power-off" || h();
|
|
10409
10409
|
}, b = (w) => {
|
|
10410
|
-
w.propertyName === "opacity" && (f !== "powering-on" && f !== "powering-off" ||
|
|
10410
|
+
w.propertyName === "opacity" && (f !== "powering-on" && f !== "powering-off" || h());
|
|
10411
10411
|
}, g = [
|
|
10412
10412
|
"retro-effects",
|
|
10413
10413
|
f === "powering-off" && "retro-effects--powering-off",
|
|
@@ -10415,7 +10415,7 @@ const np = ({
|
|
|
10415
10415
|
f === "off" && "retro-effects--off",
|
|
10416
10416
|
l
|
|
10417
10417
|
].filter(Boolean).join(" ");
|
|
10418
|
-
return /* @__PURE__ */
|
|
10418
|
+
return /* @__PURE__ */ m(
|
|
10419
10419
|
"div",
|
|
10420
10420
|
{
|
|
10421
10421
|
className: g,
|
|
@@ -10423,11 +10423,11 @@ const np = ({
|
|
|
10423
10423
|
"aria-hidden": "true",
|
|
10424
10424
|
onAnimationEnd: v,
|
|
10425
10425
|
onTransitionEnd: b,
|
|
10426
|
-
children: f !== "off" && /* @__PURE__ */ D(
|
|
10427
|
-
t && /* @__PURE__ */
|
|
10428
|
-
e && /* @__PURE__ */
|
|
10429
|
-
n && /* @__PURE__ */
|
|
10430
|
-
r && /* @__PURE__ */
|
|
10426
|
+
children: f !== "off" && /* @__PURE__ */ D(ht, { children: [
|
|
10427
|
+
t && /* @__PURE__ */ m("div", { className: "retro-effects__scanlines" }),
|
|
10428
|
+
e && /* @__PURE__ */ m("div", { className: "retro-effects__glow" }),
|
|
10429
|
+
n && /* @__PURE__ */ m("div", { className: "retro-effects__flicker" }),
|
|
10430
|
+
r && /* @__PURE__ */ m("div", { className: "retro-effects__bloom" })
|
|
10431
10431
|
] })
|
|
10432
10432
|
}
|
|
10433
10433
|
);
|
|
@@ -10467,11 +10467,11 @@ const np = ({
|
|
|
10467
10467
|
"aria-pressed": a ? n : void 0,
|
|
10468
10468
|
...s,
|
|
10469
10469
|
children: [
|
|
10470
|
-
r && i === "left" && /* @__PURE__ */
|
|
10471
|
-
r && i === "top" && /* @__PURE__ */
|
|
10472
|
-
/* @__PURE__ */
|
|
10473
|
-
r && i === "right" && /* @__PURE__ */
|
|
10474
|
-
r && i === "bottom" && /* @__PURE__ */
|
|
10470
|
+
r && i === "left" && /* @__PURE__ */ m("span", { className: "timeline-node__label timeline-node__label--left", children: r }),
|
|
10471
|
+
r && i === "top" && /* @__PURE__ */ m("span", { className: "timeline-node__label timeline-node__label--top", children: r }),
|
|
10472
|
+
/* @__PURE__ */ m("span", { className: "timeline-node__marker", "aria-hidden": "true" }),
|
|
10473
|
+
r && i === "right" && /* @__PURE__ */ m("span", { className: "timeline-node__label timeline-node__label--right", children: r }),
|
|
10474
|
+
r && i === "bottom" && /* @__PURE__ */ m("span", { className: "timeline-node__label timeline-node__label--bottom", children: r })
|
|
10475
10475
|
]
|
|
10476
10476
|
}
|
|
10477
10477
|
);
|
|
@@ -10482,11 +10482,11 @@ function pf({
|
|
|
10482
10482
|
onZoomChange: n
|
|
10483
10483
|
} = {}) {
|
|
10484
10484
|
const r = t === void 0, [i, o] = H(e), [l, a] = H([]), s = _(r);
|
|
10485
|
-
|
|
10485
|
+
W(() => {
|
|
10486
10486
|
s.current && !r && a([]), s.current = r;
|
|
10487
10487
|
}, [r]);
|
|
10488
|
-
const d = t ?? i, c = Gt.indexOf(d), f = c < Gt.length - 1, p = c > 0,
|
|
10489
|
-
|
|
10488
|
+
const d = t ?? i, c = Gt.indexOf(d), f = c < Gt.length - 1, p = c > 0, h = l.length > 0 ? l[l.length - 1].periodStart : null, v = _(r), b = _(f), g = _(c), y = _(l), x = _(n);
|
|
10489
|
+
W(() => {
|
|
10490
10490
|
v.current = r, b.current = f, g.current = c, y.current = l, x.current = n;
|
|
10491
10491
|
});
|
|
10492
10492
|
const w = B((A) => {
|
|
@@ -10500,7 +10500,7 @@ function pf({
|
|
|
10500
10500
|
if (!v.current || y.current.length === 0) return;
|
|
10501
10501
|
const A = Gt[g.current - 1];
|
|
10502
10502
|
A !== void 0 && (a((E) => E.slice(0, -1)), w(A));
|
|
10503
|
-
}, [w]),
|
|
10503
|
+
}, [w]), U = B(() => {
|
|
10504
10504
|
v.current && (a([]), w("year"));
|
|
10505
10505
|
}, [w]);
|
|
10506
10506
|
return {
|
|
@@ -10508,20 +10508,20 @@ function pf({
|
|
|
10508
10508
|
canZoomIn: f,
|
|
10509
10509
|
canZoomOut: p,
|
|
10510
10510
|
breadcrumbs: l,
|
|
10511
|
-
currentPeriod:
|
|
10511
|
+
currentPeriod: h,
|
|
10512
10512
|
isDrillDownEnabled: r,
|
|
10513
10513
|
drillDown: S,
|
|
10514
10514
|
drillUp: N,
|
|
10515
|
-
reset:
|
|
10515
|
+
reset: U
|
|
10516
10516
|
};
|
|
10517
10517
|
}
|
|
10518
|
-
function
|
|
10518
|
+
function hf({
|
|
10519
10519
|
selectedEntryId: t,
|
|
10520
10520
|
defaultSelectedEntryId: e = null,
|
|
10521
10521
|
onSelectEntry: n
|
|
10522
10522
|
} = {}) {
|
|
10523
10523
|
const [r, i] = H(e), o = t !== void 0, l = t !== void 0 ? t : r, a = _(l), s = _(o), d = _(n);
|
|
10524
|
-
|
|
10524
|
+
W(() => {
|
|
10525
10525
|
a.current = l, s.current = o, d.current = n;
|
|
10526
10526
|
});
|
|
10527
10527
|
const c = B((v) => {
|
|
@@ -10531,7 +10531,7 @@ function mf({
|
|
|
10531
10531
|
c(v);
|
|
10532
10532
|
}, [c]), p = B(() => {
|
|
10533
10533
|
c(null);
|
|
10534
|
-
}, [c]),
|
|
10534
|
+
}, [c]), h = B((v) => {
|
|
10535
10535
|
var b;
|
|
10536
10536
|
s.current ? (b = d.current) == null || b.call(d, a.current === v ? null : v) : i((g) => {
|
|
10537
10537
|
var x;
|
|
@@ -10543,10 +10543,10 @@ function mf({
|
|
|
10543
10543
|
selectedEntryId: l,
|
|
10544
10544
|
select: f,
|
|
10545
10545
|
deselect: p,
|
|
10546
|
-
toggle:
|
|
10546
|
+
toggle: h
|
|
10547
10547
|
};
|
|
10548
10548
|
}
|
|
10549
|
-
const
|
|
10549
|
+
const mf = [
|
|
10550
10550
|
"January",
|
|
10551
10551
|
"February",
|
|
10552
10552
|
"March",
|
|
@@ -10589,7 +10589,7 @@ function vf(t) {
|
|
|
10589
10589
|
return String(t);
|
|
10590
10590
|
}
|
|
10591
10591
|
function gf(t, e) {
|
|
10592
|
-
return `${
|
|
10592
|
+
return `${mf[e]} ${t}`;
|
|
10593
10593
|
}
|
|
10594
10594
|
function yf(t, e, n) {
|
|
10595
10595
|
return `${Lr[e]} ${n}`;
|
|
@@ -10632,10 +10632,10 @@ function qt(t, e, n, r, i) {
|
|
|
10632
10632
|
entries: o.get(a) ?? []
|
|
10633
10633
|
}));
|
|
10634
10634
|
}
|
|
10635
|
-
function
|
|
10635
|
+
function kf(t) {
|
|
10636
10636
|
return String($n(t.date));
|
|
10637
10637
|
}
|
|
10638
|
-
function
|
|
10638
|
+
function Pf(t) {
|
|
10639
10639
|
const e = $n(t.date), n = Mr(t.date);
|
|
10640
10640
|
return `${e}-${String(n).padStart(2, "0")}`;
|
|
10641
10641
|
}
|
|
@@ -10654,11 +10654,11 @@ function Hi(t) {
|
|
|
10654
10654
|
const [e, n] = t.split("-");
|
|
10655
10655
|
return { year: parseInt(e), month: parseInt(n) };
|
|
10656
10656
|
}
|
|
10657
|
-
function
|
|
10657
|
+
function Wi(t) {
|
|
10658
10658
|
const [e, n, r] = t.split("-");
|
|
10659
10659
|
return { year: parseInt(e), month: parseInt(n), day: parseInt(r) };
|
|
10660
10660
|
}
|
|
10661
|
-
function
|
|
10661
|
+
function Ui(t) {
|
|
10662
10662
|
const [e, n, r, i] = t.split("-");
|
|
10663
10663
|
return { year: parseInt(e), month: parseInt(n), day: parseInt(r), hour: parseInt(i) };
|
|
10664
10664
|
}
|
|
@@ -10685,7 +10685,7 @@ function If(t, e, n = "desc") {
|
|
|
10685
10685
|
case "year":
|
|
10686
10686
|
return qt(
|
|
10687
10687
|
r,
|
|
10688
|
-
|
|
10688
|
+
kf,
|
|
10689
10689
|
(i) => {
|
|
10690
10690
|
const { year: o } = Vi(i);
|
|
10691
10691
|
return vf(o);
|
|
@@ -10699,7 +10699,7 @@ function If(t, e, n = "desc") {
|
|
|
10699
10699
|
case "month":
|
|
10700
10700
|
return qt(
|
|
10701
10701
|
r,
|
|
10702
|
-
|
|
10702
|
+
Pf,
|
|
10703
10703
|
(i) => {
|
|
10704
10704
|
const { year: o, month: l } = Hi(i);
|
|
10705
10705
|
return gf(o, l);
|
|
@@ -10715,11 +10715,11 @@ function If(t, e, n = "desc") {
|
|
|
10715
10715
|
r,
|
|
10716
10716
|
Nf,
|
|
10717
10717
|
(i) => {
|
|
10718
|
-
const { year: o, month: l, day: a } =
|
|
10718
|
+
const { year: o, month: l, day: a } = Wi(i);
|
|
10719
10719
|
return yf(o, l, a);
|
|
10720
10720
|
},
|
|
10721
10721
|
(i) => {
|
|
10722
|
-
const { year: o, month: l, day: a } =
|
|
10722
|
+
const { year: o, month: l, day: a } = Wi(i);
|
|
10723
10723
|
return Sf(o, l, a);
|
|
10724
10724
|
},
|
|
10725
10725
|
n
|
|
@@ -10729,11 +10729,11 @@ function If(t, e, n = "desc") {
|
|
|
10729
10729
|
r,
|
|
10730
10730
|
Tf,
|
|
10731
10731
|
(i) => {
|
|
10732
|
-
const { year: o, month: l, day: a, hour: s } =
|
|
10732
|
+
const { year: o, month: l, day: a, hour: s } = Ui(i);
|
|
10733
10733
|
return $f(o, l, a, s);
|
|
10734
10734
|
},
|
|
10735
10735
|
(i) => {
|
|
10736
|
-
const { year: o, month: l, day: a, hour: s } =
|
|
10736
|
+
const { year: o, month: l, day: a, hour: s } = Ui(i);
|
|
10737
10737
|
return Cf(o, l, a, s);
|
|
10738
10738
|
},
|
|
10739
10739
|
n
|
|
@@ -10752,7 +10752,7 @@ const Kf = ({
|
|
|
10752
10752
|
}) => {
|
|
10753
10753
|
const s = l.length > 0;
|
|
10754
10754
|
return /* @__PURE__ */ D("div", { className: "timeline-zoom-controls", role: "toolbar", "aria-label": "Timeline zoom controls", children: [
|
|
10755
|
-
/* @__PURE__ */
|
|
10755
|
+
/* @__PURE__ */ m(
|
|
10756
10756
|
Mi,
|
|
10757
10757
|
{
|
|
10758
10758
|
variant: "secondary",
|
|
@@ -10763,7 +10763,7 @@ const Kf = ({
|
|
|
10763
10763
|
children: "[-]"
|
|
10764
10764
|
}
|
|
10765
10765
|
),
|
|
10766
|
-
s ? /* @__PURE__ */
|
|
10766
|
+
s ? /* @__PURE__ */ m(
|
|
10767
10767
|
ff,
|
|
10768
10768
|
{
|
|
10769
10769
|
trail: [
|
|
@@ -10778,17 +10778,17 @@ const Kf = ({
|
|
|
10778
10778
|
separator: ">",
|
|
10779
10779
|
className: "timeline-zoom-controls__breadcrumb"
|
|
10780
10780
|
}
|
|
10781
|
-
) : /* @__PURE__ */
|
|
10781
|
+
) : /* @__PURE__ */ m(
|
|
10782
10782
|
"button",
|
|
10783
10783
|
{
|
|
10784
10784
|
type: "button",
|
|
10785
10785
|
className: "timeline-zoom-controls__level",
|
|
10786
10786
|
onClick: o,
|
|
10787
10787
|
"aria-label": `Current zoom: ${t}. Click to reset.`,
|
|
10788
|
-
children: /* @__PURE__ */
|
|
10788
|
+
children: /* @__PURE__ */ m(cn, { variant: "accent", size: "medium", children: t.toUpperCase() })
|
|
10789
10789
|
}
|
|
10790
10790
|
),
|
|
10791
|
-
/* @__PURE__ */
|
|
10791
|
+
/* @__PURE__ */ m(
|
|
10792
10792
|
Mi,
|
|
10793
10793
|
{
|
|
10794
10794
|
variant: "secondary",
|
|
@@ -10801,9 +10801,9 @@ const Kf = ({
|
|
|
10801
10801
|
)
|
|
10802
10802
|
] });
|
|
10803
10803
|
}, An = ({ children: t }) => /* @__PURE__ */ D("div", { className: "timeline-axis", children: [
|
|
10804
|
-
/* @__PURE__ */
|
|
10805
|
-
/* @__PURE__ */
|
|
10806
|
-
] }), na = C.memo(({ buckets: t, onBucketClick: e }) => /* @__PURE__ */
|
|
10804
|
+
/* @__PURE__ */ m("div", { className: "timeline-axis__line", "aria-hidden": "true" }),
|
|
10805
|
+
/* @__PURE__ */ m("div", { className: "timeline-axis__content", children: t })
|
|
10806
|
+
] }), na = C.memo(({ buckets: t, onBucketClick: e }) => /* @__PURE__ */ m("div", { className: "timeline-view timeline-view--year", role: "list", children: t.map((n) => /* @__PURE__ */ m(
|
|
10807
10807
|
"div",
|
|
10808
10808
|
{
|
|
10809
10809
|
className: "timeline-view__bucket timeline-view__bucket--year",
|
|
@@ -10815,7 +10815,7 @@ const Kf = ({
|
|
|
10815
10815
|
className: "timeline-view__bucket-button",
|
|
10816
10816
|
onClick: () => e(n),
|
|
10817
10817
|
children: [
|
|
10818
|
-
/* @__PURE__ */
|
|
10818
|
+
/* @__PURE__ */ m("div", { className: "timeline-view__node", children: /* @__PURE__ */ m(
|
|
10819
10819
|
pt,
|
|
10820
10820
|
{
|
|
10821
10821
|
shape: "circle",
|
|
@@ -10825,15 +10825,15 @@ const Kf = ({
|
|
|
10825
10825
|
labelPosition: "right"
|
|
10826
10826
|
}
|
|
10827
10827
|
) }),
|
|
10828
|
-
/* @__PURE__ */
|
|
10828
|
+
/* @__PURE__ */ m("div", { className: "timeline-view__content", children: /* @__PURE__ */ D(cn, { variant: "default", size: "small", children: [
|
|
10829
10829
|
n.entries.length,
|
|
10830
10830
|
" ",
|
|
10831
10831
|
n.entries.length === 1 ? "entry" : "entries"
|
|
10832
10832
|
] }) })
|
|
10833
10833
|
]
|
|
10834
10834
|
}
|
|
10835
|
-
) : /* @__PURE__ */ D(
|
|
10836
|
-
/* @__PURE__ */
|
|
10835
|
+
) : /* @__PURE__ */ D(ht, { children: [
|
|
10836
|
+
/* @__PURE__ */ m("div", { className: "timeline-view__node", children: /* @__PURE__ */ m(
|
|
10837
10837
|
pt,
|
|
10838
10838
|
{
|
|
10839
10839
|
shape: "circle",
|
|
@@ -10843,7 +10843,7 @@ const Kf = ({
|
|
|
10843
10843
|
labelPosition: "right"
|
|
10844
10844
|
}
|
|
10845
10845
|
) }),
|
|
10846
|
-
/* @__PURE__ */
|
|
10846
|
+
/* @__PURE__ */ m("div", { className: "timeline-view__content", children: /* @__PURE__ */ D(cn, { variant: "default", size: "small", children: [
|
|
10847
10847
|
n.entries.length,
|
|
10848
10848
|
" ",
|
|
10849
10849
|
n.entries.length === 1 ? "entry" : "entries"
|
|
@@ -10876,10 +10876,10 @@ const It = C.memo(({
|
|
|
10876
10876
|
"aria-expanded": n,
|
|
10877
10877
|
children: [
|
|
10878
10878
|
/* @__PURE__ */ D("div", { className: "timeline-card__header", children: [
|
|
10879
|
-
t.type && /* @__PURE__ */
|
|
10880
|
-
t.tags && t.tags.length > 0 && /* @__PURE__ */
|
|
10879
|
+
t.type && /* @__PURE__ */ m("span", { className: "timeline-card__type", children: t.type.toUpperCase() }),
|
|
10880
|
+
t.tags && t.tags.length > 0 && /* @__PURE__ */ m("span", { className: "timeline-card__tags", children: t.tags.map((d) => `#${d}`).join(" ") })
|
|
10881
10881
|
] }),
|
|
10882
|
-
/* @__PURE__ */
|
|
10882
|
+
/* @__PURE__ */ m("p", { className: "timeline-card__title", children: t.title }),
|
|
10883
10883
|
!n && a && (() => {
|
|
10884
10884
|
const d = String(t.content);
|
|
10885
10885
|
return /* @__PURE__ */ D("p", { className: "timeline-card__preview", children: [
|
|
@@ -10891,7 +10891,7 @@ const It = C.memo(({
|
|
|
10891
10891
|
]
|
|
10892
10892
|
}
|
|
10893
10893
|
),
|
|
10894
|
-
s && /* @__PURE__ */
|
|
10894
|
+
s && /* @__PURE__ */ m("div", { className: "timeline-card__body", children: /* @__PURE__ */ m(
|
|
10895
10895
|
"div",
|
|
10896
10896
|
{
|
|
10897
10897
|
className: "timeline-card__body-inner",
|
|
@@ -10899,7 +10899,7 @@ const It = C.memo(({
|
|
|
10899
10899
|
children: t.content
|
|
10900
10900
|
}
|
|
10901
10901
|
) }),
|
|
10902
|
-
i && /* @__PURE__ */
|
|
10902
|
+
i && /* @__PURE__ */ m("div", { className: "timeline-card__footer", children: i })
|
|
10903
10903
|
] });
|
|
10904
10904
|
});
|
|
10905
10905
|
It.displayName = "TimelineEntryCard";
|
|
@@ -10908,13 +10908,13 @@ const ra = C.memo(({
|
|
|
10908
10908
|
selectedEntryId: e,
|
|
10909
10909
|
onEntrySelect: n,
|
|
10910
10910
|
onBucketClick: r
|
|
10911
|
-
}) => /* @__PURE__ */
|
|
10911
|
+
}) => /* @__PURE__ */ m("div", { className: "timeline-view timeline-view--month", role: "list", children: t.map((i) => /* @__PURE__ */ D(
|
|
10912
10912
|
"div",
|
|
10913
10913
|
{
|
|
10914
10914
|
className: "timeline-view__bucket timeline-view__bucket--month",
|
|
10915
10915
|
role: "listitem",
|
|
10916
10916
|
children: [
|
|
10917
|
-
/* @__PURE__ */
|
|
10917
|
+
/* @__PURE__ */ m("div", { className: "timeline-view__node", children: /* @__PURE__ */ m(
|
|
10918
10918
|
pt,
|
|
10919
10919
|
{
|
|
10920
10920
|
shape: "circle",
|
|
@@ -10925,7 +10925,7 @@ const ra = C.memo(({
|
|
|
10925
10925
|
onClick: () => r == null ? void 0 : r(i)
|
|
10926
10926
|
}
|
|
10927
10927
|
) }),
|
|
10928
|
-
/* @__PURE__ */
|
|
10928
|
+
/* @__PURE__ */ m("div", { className: "timeline-view__content", children: i.entries.map((o) => /* @__PURE__ */ m(
|
|
10929
10929
|
It,
|
|
10930
10930
|
{
|
|
10931
10931
|
entry: o,
|
|
@@ -10960,7 +10960,7 @@ const ji = {
|
|
|
10960
10960
|
"aria-label": c,
|
|
10961
10961
|
...f
|
|
10962
10962
|
}) => {
|
|
10963
|
-
const p = !!a && !l, { isClosing:
|
|
10963
|
+
const p = !!a && !l, { isClosing: h, triggerClose: v, handleAnimationEnd: b } = Kr("tag-exit", s), g = (w) => {
|
|
10964
10964
|
l || ((w.key === "Enter" || w.key === " ") && a && (w.preventDefault(), a(w)), (w.key === "Delete" || w.key === "Backspace") && o && s && (w.preventDefault(), v()));
|
|
10965
10965
|
}, y = (w) => {
|
|
10966
10966
|
w.stopPropagation(), l || v();
|
|
@@ -10977,7 +10977,7 @@ const ji = {
|
|
|
10977
10977
|
"eidotter-tag--" + e,
|
|
10978
10978
|
i && "eidotter-tag--selected",
|
|
10979
10979
|
l && "opacity-50 cursor-not-allowed",
|
|
10980
|
-
|
|
10980
|
+
h && "eidotter-tag--closing",
|
|
10981
10981
|
p && "cursor-pointer",
|
|
10982
10982
|
d
|
|
10983
10983
|
),
|
|
@@ -10992,8 +10992,8 @@ const ji = {
|
|
|
10992
10992
|
...p ? { role: "button", tabIndex: 0 } : {},
|
|
10993
10993
|
...f,
|
|
10994
10994
|
children: [
|
|
10995
|
-
/* @__PURE__ */
|
|
10996
|
-
o && /* @__PURE__ */
|
|
10995
|
+
/* @__PURE__ */ m("span", { className: "eidotter-tag__content", children: t }),
|
|
10996
|
+
o && /* @__PURE__ */ m(
|
|
10997
10997
|
"button",
|
|
10998
10998
|
{
|
|
10999
10999
|
className: "eidotter-tag__close",
|
|
@@ -11022,7 +11022,7 @@ const ji = {
|
|
|
11022
11022
|
!n && "tag-group--nowrap",
|
|
11023
11023
|
r
|
|
11024
11024
|
].filter(Boolean).join(" ");
|
|
11025
|
-
return /* @__PURE__ */
|
|
11025
|
+
return /* @__PURE__ */ m(
|
|
11026
11026
|
"div",
|
|
11027
11027
|
{
|
|
11028
11028
|
className: l,
|
|
@@ -11036,13 +11036,13 @@ const ji = {
|
|
|
11036
11036
|
buckets: t,
|
|
11037
11037
|
selectedEntryId: e,
|
|
11038
11038
|
onEntrySelect: n
|
|
11039
|
-
}) => /* @__PURE__ */
|
|
11039
|
+
}) => /* @__PURE__ */ m("div", { className: "timeline-view timeline-view--day", role: "list", children: t.map((r) => /* @__PURE__ */ D(
|
|
11040
11040
|
"div",
|
|
11041
11041
|
{
|
|
11042
11042
|
className: "timeline-view__bucket timeline-view__bucket--day",
|
|
11043
11043
|
role: "listitem",
|
|
11044
11044
|
children: [
|
|
11045
|
-
/* @__PURE__ */
|
|
11045
|
+
/* @__PURE__ */ m("div", { className: "timeline-view__node", children: /* @__PURE__ */ m(
|
|
11046
11046
|
pt,
|
|
11047
11047
|
{
|
|
11048
11048
|
shape: "circle",
|
|
@@ -11052,14 +11052,14 @@ const ji = {
|
|
|
11052
11052
|
labelPosition: "right"
|
|
11053
11053
|
}
|
|
11054
11054
|
) }),
|
|
11055
|
-
/* @__PURE__ */
|
|
11055
|
+
/* @__PURE__ */ m("div", { className: "timeline-view__content", children: r.entries.map((i) => /* @__PURE__ */ m(
|
|
11056
11056
|
It,
|
|
11057
11057
|
{
|
|
11058
11058
|
entry: i,
|
|
11059
11059
|
isSelected: e === i.id,
|
|
11060
11060
|
isExpanded: e === i.id,
|
|
11061
11061
|
onSelect: n,
|
|
11062
|
-
footer: i.tags && i.tags.length > 0 ? /* @__PURE__ */
|
|
11062
|
+
footer: i.tags && i.tags.length > 0 ? /* @__PURE__ */ m(oa, { gap: "tight", "aria-label": `Tags for ${i.title}`, children: i.tags.map((o) => /* @__PURE__ */ m(ia, { size: "small", variant: "outlined", children: o }, o)) }) : void 0
|
|
11063
11063
|
},
|
|
11064
11064
|
i.id
|
|
11065
11065
|
)) })
|
|
@@ -11072,13 +11072,13 @@ const aa = C.memo(({
|
|
|
11072
11072
|
buckets: t,
|
|
11073
11073
|
selectedEntryId: e,
|
|
11074
11074
|
onEntrySelect: n
|
|
11075
|
-
}) => /* @__PURE__ */
|
|
11075
|
+
}) => /* @__PURE__ */ m("div", { className: "timeline-view timeline-view--hour", role: "list", children: t.map((r) => /* @__PURE__ */ D(
|
|
11076
11076
|
"div",
|
|
11077
11077
|
{
|
|
11078
11078
|
className: "timeline-view__bucket timeline-view__bucket--hour",
|
|
11079
11079
|
role: "listitem",
|
|
11080
11080
|
children: [
|
|
11081
|
-
/* @__PURE__ */
|
|
11081
|
+
/* @__PURE__ */ m("div", { className: "timeline-view__node", children: /* @__PURE__ */ m(
|
|
11082
11082
|
pt,
|
|
11083
11083
|
{
|
|
11084
11084
|
shape: "circle",
|
|
@@ -11088,7 +11088,7 @@ const aa = C.memo(({
|
|
|
11088
11088
|
labelPosition: "right"
|
|
11089
11089
|
}
|
|
11090
11090
|
) }),
|
|
11091
|
-
/* @__PURE__ */
|
|
11091
|
+
/* @__PURE__ */ m("div", { className: "timeline-view__content", children: r.entries.map((i) => /* @__PURE__ */ D(
|
|
11092
11092
|
It,
|
|
11093
11093
|
{
|
|
11094
11094
|
entry: i,
|
|
@@ -11096,11 +11096,11 @@ const aa = C.memo(({
|
|
|
11096
11096
|
isExpanded: !0,
|
|
11097
11097
|
onSelect: n,
|
|
11098
11098
|
footer: /* @__PURE__ */ D("div", { className: "timeline-view__entry-footer", children: [
|
|
11099
|
-
i.tags && i.tags.length > 0 && /* @__PURE__ */
|
|
11100
|
-
i.type && /* @__PURE__ */
|
|
11099
|
+
i.tags && i.tags.length > 0 && /* @__PURE__ */ m(oa, { gap: "tight", "aria-label": `Tags for ${i.title}`, children: i.tags.map((o) => /* @__PURE__ */ m(ia, { size: "small", variant: "outlined", children: o }, o)) }),
|
|
11100
|
+
i.type && /* @__PURE__ */ m(cn, { variant: "default", size: "small", children: i.type })
|
|
11101
11101
|
] }),
|
|
11102
11102
|
children: [
|
|
11103
|
-
/* @__PURE__ */
|
|
11103
|
+
/* @__PURE__ */ m(
|
|
11104
11104
|
"time",
|
|
11105
11105
|
{
|
|
11106
11106
|
className: "timeline-view__timestamp",
|
|
@@ -11108,7 +11108,7 @@ const aa = C.memo(({
|
|
|
11108
11108
|
children: xf(i.date)
|
|
11109
11109
|
}
|
|
11110
11110
|
),
|
|
11111
|
-
/* @__PURE__ */
|
|
11111
|
+
/* @__PURE__ */ m("div", { className: "timeline-view__entry-content", children: i.content })
|
|
11112
11112
|
]
|
|
11113
11113
|
},
|
|
11114
11114
|
i.id
|
|
@@ -11127,9 +11127,9 @@ const Lf = ({
|
|
|
11127
11127
|
}) => {
|
|
11128
11128
|
switch (t) {
|
|
11129
11129
|
case "year":
|
|
11130
|
-
return /* @__PURE__ */
|
|
11130
|
+
return /* @__PURE__ */ m(na, { buckets: e, onBucketClick: i });
|
|
11131
11131
|
case "month":
|
|
11132
|
-
return /* @__PURE__ */
|
|
11132
|
+
return /* @__PURE__ */ m(
|
|
11133
11133
|
ra,
|
|
11134
11134
|
{
|
|
11135
11135
|
buckets: e,
|
|
@@ -11139,7 +11139,7 @@ const Lf = ({
|
|
|
11139
11139
|
}
|
|
11140
11140
|
);
|
|
11141
11141
|
case "day":
|
|
11142
|
-
return /* @__PURE__ */
|
|
11142
|
+
return /* @__PURE__ */ m(
|
|
11143
11143
|
la,
|
|
11144
11144
|
{
|
|
11145
11145
|
buckets: e,
|
|
@@ -11148,7 +11148,7 @@ const Lf = ({
|
|
|
11148
11148
|
}
|
|
11149
11149
|
);
|
|
11150
11150
|
case "hour":
|
|
11151
|
-
return /* @__PURE__ */
|
|
11151
|
+
return /* @__PURE__ */ m(
|
|
11152
11152
|
aa,
|
|
11153
11153
|
{
|
|
11154
11154
|
buckets: e,
|
|
@@ -11174,13 +11174,13 @@ const Lf = ({
|
|
|
11174
11174
|
...f
|
|
11175
11175
|
}) => {
|
|
11176
11176
|
var $;
|
|
11177
|
-
const p = e === "static",
|
|
11177
|
+
const p = e === "static", h = _(null), v = _(null), [b, g] = H(""), {
|
|
11178
11178
|
zoomLevel: y,
|
|
11179
11179
|
canZoomIn: x,
|
|
11180
11180
|
canZoomOut: w,
|
|
11181
11181
|
breadcrumbs: S,
|
|
11182
11182
|
currentPeriod: N,
|
|
11183
|
-
isDrillDownEnabled:
|
|
11183
|
+
isDrillDownEnabled: U,
|
|
11184
11184
|
drillDown: A,
|
|
11185
11185
|
drillUp: E,
|
|
11186
11186
|
reset: R
|
|
@@ -11192,49 +11192,49 @@ const Lf = ({
|
|
|
11192
11192
|
selectedEntryId: V,
|
|
11193
11193
|
toggle: le,
|
|
11194
11194
|
deselect: se
|
|
11195
|
-
} =
|
|
11195
|
+
} = hf({
|
|
11196
11196
|
selectedEntryId: o,
|
|
11197
11197
|
defaultSelectedEntryId: l,
|
|
11198
11198
|
onSelectEntry: a
|
|
11199
11199
|
}), J = q(
|
|
11200
11200
|
() => If(t, y, s),
|
|
11201
11201
|
[t, y, s]
|
|
11202
|
-
),
|
|
11203
|
-
() => N &&
|
|
11204
|
-
[J, N,
|
|
11202
|
+
), P = S.length > 0 ? ["year", "month", "day", "hour"][S.length - 1] : null, O = q(
|
|
11203
|
+
() => N && P ? _f(J, N, P) : J,
|
|
11204
|
+
[J, N, P]
|
|
11205
11205
|
);
|
|
11206
|
-
|
|
11206
|
+
W(() => {
|
|
11207
11207
|
if (p || !d) return;
|
|
11208
|
-
const
|
|
11209
|
-
if (!
|
|
11208
|
+
const k = h.current;
|
|
11209
|
+
if (!k) return;
|
|
11210
11210
|
let I = null;
|
|
11211
11211
|
const K = (G) => {
|
|
11212
11212
|
!G.ctrlKey && !G.metaKey || (G.preventDefault(), I === null && (I = requestAnimationFrame(() => {
|
|
11213
11213
|
G.deltaY > 0 && E(), I = null;
|
|
11214
11214
|
})));
|
|
11215
11215
|
};
|
|
11216
|
-
return
|
|
11217
|
-
|
|
11216
|
+
return k.addEventListener("wheel", K, { passive: !1 }), () => {
|
|
11217
|
+
k.removeEventListener("wheel", K), I !== null && cancelAnimationFrame(I);
|
|
11218
11218
|
};
|
|
11219
|
-
}, [p, d,
|
|
11219
|
+
}, [p, d, U, x, E]), W(() => {
|
|
11220
11220
|
if (p || !c) return;
|
|
11221
|
-
const
|
|
11221
|
+
const k = (I) => {
|
|
11222
11222
|
var G;
|
|
11223
|
-
if (!((G =
|
|
11223
|
+
if (!((G = h.current) != null && G.contains(document.activeElement)) && document.activeElement !== h.current)
|
|
11224
11224
|
return;
|
|
11225
11225
|
const K = I.ctrlKey || I.metaKey;
|
|
11226
11226
|
K && I.key === "-" ? (I.preventDefault(), E()) : K && I.key === "0" ? (I.preventDefault(), R(), g("Showing all years")) : I.key === "Escape" && (I.preventDefault(), se());
|
|
11227
11227
|
};
|
|
11228
|
-
return document.addEventListener("keydown",
|
|
11228
|
+
return document.addEventListener("keydown", k), () => document.removeEventListener("keydown", k);
|
|
11229
11229
|
}, [p, c, E, R, se]);
|
|
11230
|
-
const X = B((
|
|
11231
|
-
x && (A(
|
|
11230
|
+
const X = B((k) => {
|
|
11231
|
+
x && (A(k.periodStart, k.label), g(`Showing ${y === "year" ? "months" : y === "month" ? "days" : "hours"} in ${k.label}`));
|
|
11232
11232
|
}, [x, A, y]), Q = _(S.length);
|
|
11233
|
-
|
|
11234
|
-
var
|
|
11233
|
+
W(() => {
|
|
11234
|
+
var k;
|
|
11235
11235
|
if (S.length !== Q.current) {
|
|
11236
11236
|
Q.current = S.length;
|
|
11237
|
-
const I = (
|
|
11237
|
+
const I = (k = v.current) == null ? void 0 : k.querySelector('.timeline-card__trigger, .timeline-view__bucket-button, .timeline-node[role="button"]');
|
|
11238
11238
|
I && requestAnimationFrame(() => I.focus());
|
|
11239
11239
|
}
|
|
11240
11240
|
}, [S.length]);
|
|
@@ -11242,31 +11242,31 @@ const Lf = ({
|
|
|
11242
11242
|
"timeline-container",
|
|
11243
11243
|
p && "timeline-container--static",
|
|
11244
11244
|
f.className
|
|
11245
|
-
].filter(Boolean).join(" "), de = q(() => p ? [...t].sort((
|
|
11246
|
-
const K =
|
|
11245
|
+
].filter(Boolean).join(" "), de = q(() => p ? [...t].sort((k, I) => {
|
|
11246
|
+
const K = k.date.localeCompare(I.date);
|
|
11247
11247
|
return s === "desc" ? -K : K;
|
|
11248
11248
|
}) : t, [p, t, s]), u = q(
|
|
11249
11249
|
() => new Intl.DateTimeFormat("en-US", { year: "numeric", month: "short", day: "numeric" }),
|
|
11250
11250
|
[]
|
|
11251
|
-
), T = (
|
|
11251
|
+
), T = (k) => {
|
|
11252
11252
|
try {
|
|
11253
|
-
return u.format(new Date(
|
|
11253
|
+
return u.format(new Date(k));
|
|
11254
11254
|
} catch {
|
|
11255
|
-
return
|
|
11255
|
+
return k;
|
|
11256
11256
|
}
|
|
11257
11257
|
};
|
|
11258
11258
|
return /* @__PURE__ */ D(
|
|
11259
11259
|
"div",
|
|
11260
11260
|
{
|
|
11261
|
-
ref:
|
|
11261
|
+
ref: h,
|
|
11262
11262
|
...f,
|
|
11263
11263
|
className: oe,
|
|
11264
11264
|
role: "region",
|
|
11265
11265
|
"aria-label": f["aria-label"] ?? "Timeline",
|
|
11266
11266
|
tabIndex: p ? void 0 : 0,
|
|
11267
11267
|
children: [
|
|
11268
|
-
/* @__PURE__ */
|
|
11269
|
-
!p && /* @__PURE__ */
|
|
11268
|
+
/* @__PURE__ */ m("div", { className: "timeline-container__announcer", role: "status", "aria-live": "polite", "aria-atomic": "true", children: b }),
|
|
11269
|
+
!p && /* @__PURE__ */ m(
|
|
11270
11270
|
Kf,
|
|
11271
11271
|
{
|
|
11272
11272
|
zoomLevel: y,
|
|
@@ -11276,28 +11276,28 @@ const Lf = ({
|
|
|
11276
11276
|
},
|
|
11277
11277
|
onZoomOut: E,
|
|
11278
11278
|
onReset: R,
|
|
11279
|
-
breadcrumbs:
|
|
11280
|
-
onBreadcrumbClick: (
|
|
11281
|
-
const I = S.length - 1 -
|
|
11279
|
+
breadcrumbs: U ? S : [],
|
|
11280
|
+
onBreadcrumbClick: (k) => {
|
|
11281
|
+
const I = S.length - 1 - k;
|
|
11282
11282
|
for (let K = 0; K < I; K++)
|
|
11283
11283
|
E();
|
|
11284
11284
|
}
|
|
11285
11285
|
}
|
|
11286
11286
|
),
|
|
11287
|
-
/* @__PURE__ */
|
|
11288
|
-
/* @__PURE__ */
|
|
11289
|
-
/* @__PURE__ */
|
|
11290
|
-
] }) : p ? /* @__PURE__ */
|
|
11291
|
-
/* @__PURE__ */
|
|
11292
|
-
/* @__PURE__ */
|
|
11293
|
-
] },
|
|
11287
|
+
/* @__PURE__ */ m("div", { ref: v, children: t.length === 0 ? /* @__PURE__ */ D("div", { className: "timeline-container__empty", role: "status", children: [
|
|
11288
|
+
/* @__PURE__ */ m("p", { children: "C:\\TIMELINE> No entries found." }),
|
|
11289
|
+
/* @__PURE__ */ m("p", { children: "_" })
|
|
11290
|
+
] }) : p ? /* @__PURE__ */ m(An, { children: /* @__PURE__ */ m("div", { className: "timeline-container__static", role: "list", "aria-label": "Timeline", children: de.map((k) => /* @__PURE__ */ D("div", { className: "timeline-container__static-entry", role: "listitem", children: [
|
|
11291
|
+
/* @__PURE__ */ m("div", { className: "timeline-view__node", children: /* @__PURE__ */ m(pt, { shape: "circle", size: "medium", variant: "default", label: T(k.date), labelPosition: "right" }) }),
|
|
11292
|
+
/* @__PURE__ */ m(It, { entry: k, isSelected: !1, isExpanded: !0 })
|
|
11293
|
+
] }, k.id)) }) }) : O.length === 0 && N ? /* @__PURE__ */ m(An, { children: /* @__PURE__ */ D("div", { className: "timeline-container__empty", role: "status", children: [
|
|
11294
11294
|
/* @__PURE__ */ D("p", { children: [
|
|
11295
11295
|
"C:\\TIMELINE> No entries in ",
|
|
11296
11296
|
(($ = S[S.length - 1]) == null ? void 0 : $.label) ?? "this period",
|
|
11297
11297
|
"."
|
|
11298
11298
|
] }),
|
|
11299
|
-
/* @__PURE__ */
|
|
11300
|
-
] }) }) : /* @__PURE__ */
|
|
11299
|
+
/* @__PURE__ */ m("p", { children: "_" })
|
|
11300
|
+
] }) }) : /* @__PURE__ */ m(An, { children: /* @__PURE__ */ m(
|
|
11301
11301
|
Lf,
|
|
11302
11302
|
{
|
|
11303
11303
|
zoomLevel: y,
|
|
@@ -11320,9 +11320,9 @@ const Lf = ({
|
|
|
11320
11320
|
className: l
|
|
11321
11321
|
}) => {
|
|
11322
11322
|
const a = _(t);
|
|
11323
|
-
return
|
|
11323
|
+
return W(() => {
|
|
11324
11324
|
t !== a.current && (a.current = t, n == null || n(t));
|
|
11325
|
-
}, [t, n]), /* @__PURE__ */
|
|
11325
|
+
}, [t, n]), /* @__PURE__ */ m(
|
|
11326
11326
|
Tl,
|
|
11327
11327
|
{
|
|
11328
11328
|
isOpen: t,
|
|
@@ -11335,7 +11335,7 @@ const Lf = ({
|
|
|
11335
11335
|
d && "eidotter-modal-overlay--entering",
|
|
11336
11336
|
c && "eidotter-modal-overlay--exiting"
|
|
11337
11337
|
),
|
|
11338
|
-
children: /* @__PURE__ */
|
|
11338
|
+
children: /* @__PURE__ */ m(
|
|
11339
11339
|
Yc,
|
|
11340
11340
|
{
|
|
11341
11341
|
className: ({ isEntering: d, isExiting: c }) => Y(
|
|
@@ -11350,20 +11350,20 @@ const Lf = ({
|
|
|
11350
11350
|
className: Y("eidotter-modal__container outline-none", l),
|
|
11351
11351
|
children: [
|
|
11352
11352
|
/* @__PURE__ */ D("header", { className: "eidotter-modal__header", children: [
|
|
11353
|
-
/* @__PURE__ */
|
|
11354
|
-
/* @__PURE__ */
|
|
11353
|
+
/* @__PURE__ */ m("h2", { className: "eidotter-modal__title", children: r }),
|
|
11354
|
+
/* @__PURE__ */ m(
|
|
11355
11355
|
"button",
|
|
11356
11356
|
{
|
|
11357
11357
|
type: "button",
|
|
11358
11358
|
className: "eidotter-modal__close",
|
|
11359
11359
|
onClick: e,
|
|
11360
11360
|
"aria-label": "Close modal",
|
|
11361
|
-
children: /* @__PURE__ */
|
|
11361
|
+
children: /* @__PURE__ */ m(Pe, { name: "Close", size: "S" })
|
|
11362
11362
|
}
|
|
11363
11363
|
)
|
|
11364
11364
|
] }),
|
|
11365
|
-
/* @__PURE__ */
|
|
11366
|
-
o && /* @__PURE__ */
|
|
11365
|
+
/* @__PURE__ */ m("div", { className: "eidotter-modal__body", children: i }),
|
|
11366
|
+
o && /* @__PURE__ */ m("footer", { className: "eidotter-modal__footer", children: o })
|
|
11367
11367
|
]
|
|
11368
11368
|
}
|
|
11369
11369
|
)
|
|
@@ -11385,22 +11385,22 @@ function sa(t, e) {
|
|
|
11385
11385
|
t[p] === " " ? f += " " : f += r[Math.floor(Math.random() * r.length)];
|
|
11386
11386
|
return f;
|
|
11387
11387
|
}), [s, d] = H(!1), c = _(0);
|
|
11388
|
-
return
|
|
11388
|
+
return W(() => {
|
|
11389
11389
|
if (!i || dr()) {
|
|
11390
11390
|
a(t), d(!1);
|
|
11391
11391
|
return;
|
|
11392
11392
|
}
|
|
11393
|
-
let f = 0, p = 0,
|
|
11393
|
+
let f = 0, p = 0, h = 0, v = o;
|
|
11394
11394
|
d(!0);
|
|
11395
11395
|
const b = (g) => {
|
|
11396
|
-
|
|
11397
|
-
const y = g -
|
|
11396
|
+
h || (h = g);
|
|
11397
|
+
const y = g - h;
|
|
11398
11398
|
if (v > 0) {
|
|
11399
|
-
v -= y,
|
|
11399
|
+
v -= y, h = g, c.current = requestAnimationFrame(b);
|
|
11400
11400
|
return;
|
|
11401
11401
|
}
|
|
11402
11402
|
if (y >= n) {
|
|
11403
|
-
if (
|
|
11403
|
+
if (h = g, p++, p >= Rf && (f++, p = 0), f >= t.length) {
|
|
11404
11404
|
a(t), d(!1);
|
|
11405
11405
|
return;
|
|
11406
11406
|
}
|
|
@@ -11460,8 +11460,8 @@ const Gi = {
|
|
|
11460
11460
|
),
|
|
11461
11461
|
...a,
|
|
11462
11462
|
children: [
|
|
11463
|
-
/* @__PURE__ */
|
|
11464
|
-
/* @__PURE__ */
|
|
11463
|
+
/* @__PURE__ */ m("span", { className: Y("text-cga-amber uppercase tracking-wider leading-tight", c.label), children: t }),
|
|
11464
|
+
/* @__PURE__ */ m("span", { className: Y("text-dos-text-accent font-bold leading-none tabular-nums", c.value), children: d }),
|
|
11465
11465
|
n && /* @__PURE__ */ D(
|
|
11466
11466
|
"span",
|
|
11467
11467
|
{
|
|
@@ -11472,8 +11472,8 @@ const Gi = {
|
|
|
11472
11472
|
),
|
|
11473
11473
|
"aria-label": `Trend: ${Of[n]}${r ? `, ${r}` : ""}`,
|
|
11474
11474
|
children: [
|
|
11475
|
-
/* @__PURE__ */
|
|
11476
|
-
r && /* @__PURE__ */
|
|
11475
|
+
/* @__PURE__ */ m("span", { className: "text-[0.8em]", "aria-hidden": "true", children: Af[n] }),
|
|
11476
|
+
r && /* @__PURE__ */ m("span", { className: "tabular-nums", children: r })
|
|
11477
11477
|
]
|
|
11478
11478
|
}
|
|
11479
11479
|
)
|
|
@@ -11499,9 +11499,9 @@ const Gi = {
|
|
|
11499
11499
|
className: s,
|
|
11500
11500
|
...d
|
|
11501
11501
|
}) => {
|
|
11502
|
-
const [c, f] = H(n), p = _(null),
|
|
11503
|
-
|
|
11504
|
-
}, [
|
|
11502
|
+
const [c, f] = H(n), p = _(null), h = e !== void 0, v = h ? e : c, b = t.filter((E) => !E.disabled).map((E) => E.id), g = v.length === 0, y = B((E) => {
|
|
11503
|
+
h || f(E), a == null || a(E);
|
|
11504
|
+
}, [h, a]), x = B((E) => {
|
|
11505
11505
|
if (r === "single") {
|
|
11506
11506
|
const R = v.includes(E) ? [] : [E];
|
|
11507
11507
|
y(R);
|
|
@@ -11552,7 +11552,7 @@ const Gi = {
|
|
|
11552
11552
|
onKeyDown: N,
|
|
11553
11553
|
...d,
|
|
11554
11554
|
children: [
|
|
11555
|
-
i && /* @__PURE__ */
|
|
11555
|
+
i && /* @__PURE__ */ m(
|
|
11556
11556
|
"button",
|
|
11557
11557
|
{
|
|
11558
11558
|
type: "button",
|
|
@@ -11564,7 +11564,7 @@ const Gi = {
|
|
|
11564
11564
|
"aria-pressed": g,
|
|
11565
11565
|
tabIndex: A === "__all__" ? 0 : -1,
|
|
11566
11566
|
onClick: w,
|
|
11567
|
-
children: /* @__PURE__ */
|
|
11567
|
+
children: /* @__PURE__ */ m("span", { className: "eidotter-filter-bar__label", children: o })
|
|
11568
11568
|
}
|
|
11569
11569
|
),
|
|
11570
11570
|
t.map((E) => {
|
|
@@ -11584,8 +11584,8 @@ const Gi = {
|
|
|
11584
11584
|
onClick: () => x(E.id),
|
|
11585
11585
|
style: V,
|
|
11586
11586
|
children: [
|
|
11587
|
-
/* @__PURE__ */
|
|
11588
|
-
E.count !== void 0 && /* @__PURE__ */
|
|
11587
|
+
/* @__PURE__ */ m("span", { className: "eidotter-filter-bar__label", children: E.label }),
|
|
11588
|
+
E.count !== void 0 && /* @__PURE__ */ m("span", { className: "eidotter-filter-bar__count", "aria-label": `${E.count} items`, children: E.count })
|
|
11589
11589
|
]
|
|
11590
11590
|
},
|
|
11591
11591
|
E.id
|
|
@@ -11612,7 +11612,7 @@ const Gi = {
|
|
|
11612
11612
|
className: l = "",
|
|
11613
11613
|
...a
|
|
11614
11614
|
}) => {
|
|
11615
|
-
const [s, d] = H(n), [c, f] = H(/* @__PURE__ */ new Set()), p = _(n),
|
|
11615
|
+
const [s, d] = H(n), [c, f] = H(/* @__PURE__ */ new Set()), p = _(n), h = pa(), v = _(null), b = r !== void 0, g = b ? r : s;
|
|
11616
11616
|
g && (p.current = !0);
|
|
11617
11617
|
const y = () => {
|
|
11618
11618
|
const S = !g;
|
|
@@ -11633,24 +11633,24 @@ const Gi = {
|
|
|
11633
11633
|
type: "button",
|
|
11634
11634
|
className: "inline-expand__trigger",
|
|
11635
11635
|
"aria-expanded": g,
|
|
11636
|
-
"aria-controls":
|
|
11636
|
+
"aria-controls": h,
|
|
11637
11637
|
onClick: y,
|
|
11638
11638
|
children: [
|
|
11639
11639
|
t,
|
|
11640
|
-
/* @__PURE__ */
|
|
11640
|
+
/* @__PURE__ */ m("span", { className: "inline-expand__indicator", "aria-hidden": "true", children: g ? "[-]" : "[+]" })
|
|
11641
11641
|
]
|
|
11642
11642
|
}
|
|
11643
11643
|
),
|
|
11644
11644
|
/* @__PURE__ */ D(
|
|
11645
11645
|
"span",
|
|
11646
11646
|
{
|
|
11647
|
-
id:
|
|
11647
|
+
id: h,
|
|
11648
11648
|
className: "inline-expand__content",
|
|
11649
11649
|
role: "region",
|
|
11650
11650
|
inert: !g,
|
|
11651
11651
|
children: [
|
|
11652
|
-
/* @__PURE__ */
|
|
11653
|
-
o.length > 0 && /* @__PURE__ */
|
|
11652
|
+
/* @__PURE__ */ m("span", { className: "inline-expand__inner", children: e }),
|
|
11653
|
+
o.length > 0 && /* @__PURE__ */ m("span", { className: "inline-expand__sources", role: "list", children: o.map((S) => /* @__PURE__ */ m("span", { className: "inline-expand__source-item", role: "listitem", children: /* @__PURE__ */ D(
|
|
11654
11654
|
"a",
|
|
11655
11655
|
{
|
|
11656
11656
|
href: Yi(S.url) ? S.url : void 0,
|
|
@@ -11659,7 +11659,7 @@ const Gi = {
|
|
|
11659
11659
|
rel: "noopener noreferrer",
|
|
11660
11660
|
"aria-label": `${S.title} (opens external website)`,
|
|
11661
11661
|
children: [
|
|
11662
|
-
p.current && S.favicon && Yi(S.favicon) && !c.has(S.url) ? /* @__PURE__ */
|
|
11662
|
+
p.current && S.favicon && Yi(S.favicon) && !c.has(S.url) ? /* @__PURE__ */ m(
|
|
11663
11663
|
"img",
|
|
11664
11664
|
{
|
|
11665
11665
|
className: "inline-expand__source-favicon",
|
|
@@ -11670,8 +11670,8 @@ const Gi = {
|
|
|
11670
11670
|
decoding: "async",
|
|
11671
11671
|
onError: () => f((N) => new Set(N).add(S.url))
|
|
11672
11672
|
}
|
|
11673
|
-
) : /* @__PURE__ */
|
|
11674
|
-
/* @__PURE__ */
|
|
11673
|
+
) : /* @__PURE__ */ m("span", { className: "inline-expand__source-icon", "aria-hidden": "true", children: "[→]" }),
|
|
11674
|
+
/* @__PURE__ */ m("span", { className: "inline-expand__source-title", children: S.title })
|
|
11675
11675
|
]
|
|
11676
11676
|
}
|
|
11677
11677
|
) }, S.url)) })
|
|
@@ -11685,7 +11685,7 @@ const Gi = {
|
|
|
11685
11685
|
}, up = ({
|
|
11686
11686
|
orientation: t = "horizontal",
|
|
11687
11687
|
className: e
|
|
11688
|
-
}) => /* @__PURE__ */
|
|
11688
|
+
}) => /* @__PURE__ */ m(
|
|
11689
11689
|
"div",
|
|
11690
11690
|
{
|
|
11691
11691
|
role: "separator",
|
|
@@ -11714,7 +11714,7 @@ const Gi = {
|
|
|
11714
11714
|
a && "text-scramble--scrambling",
|
|
11715
11715
|
i
|
|
11716
11716
|
].filter(Boolean).join(" ");
|
|
11717
|
-
return /* @__PURE__ */
|
|
11717
|
+
return /* @__PURE__ */ m("span", { className: s, ...o, children: l });
|
|
11718
11718
|
}, da = {
|
|
11719
11719
|
retro: "eidotter-nav--retro",
|
|
11720
11720
|
modern: "eidotter-nav--modern"
|
|
@@ -11726,7 +11726,7 @@ const Gi = {
|
|
|
11726
11726
|
className: i
|
|
11727
11727
|
}) => {
|
|
11728
11728
|
const o = r || "a";
|
|
11729
|
-
return /* @__PURE__ */
|
|
11729
|
+
return /* @__PURE__ */ m(
|
|
11730
11730
|
"nav",
|
|
11731
11731
|
{
|
|
11732
11732
|
className: Y(
|
|
@@ -11735,7 +11735,7 @@ const Gi = {
|
|
|
11735
11735
|
i
|
|
11736
11736
|
),
|
|
11737
11737
|
"aria-label": "Main navigation",
|
|
11738
|
-
children: /* @__PURE__ */
|
|
11738
|
+
children: /* @__PURE__ */ m("ul", { className: "eidotter-nav__desktop-list", children: t.map((l) => /* @__PURE__ */ m("li", { className: "eidotter-nav__desktop-item", children: /* @__PURE__ */ m(
|
|
11739
11739
|
o,
|
|
11740
11740
|
{
|
|
11741
11741
|
href: l.href,
|
|
@@ -11761,17 +11761,17 @@ const Gi = {
|
|
|
11761
11761
|
da[n],
|
|
11762
11762
|
i
|
|
11763
11763
|
), children: [
|
|
11764
|
-
/* @__PURE__ */
|
|
11764
|
+
/* @__PURE__ */ m(
|
|
11765
11765
|
"button",
|
|
11766
11766
|
{
|
|
11767
11767
|
onClick: s,
|
|
11768
11768
|
className: "eidotter-nav__hamburger",
|
|
11769
11769
|
"aria-label": o ? "Close menu" : "Open menu",
|
|
11770
11770
|
"aria-expanded": o,
|
|
11771
|
-
children: /* @__PURE__ */
|
|
11771
|
+
children: /* @__PURE__ */ m("span", { className: "eidotter-nav__hamburger-icon", "aria-hidden": "true", children: o ? "✕" : "☰" })
|
|
11772
11772
|
}
|
|
11773
11773
|
),
|
|
11774
|
-
o && /* @__PURE__ */
|
|
11774
|
+
o && /* @__PURE__ */ m(
|
|
11775
11775
|
"div",
|
|
11776
11776
|
{
|
|
11777
11777
|
className: "eidotter-nav__overlay",
|
|
@@ -11788,7 +11788,7 @@ const Gi = {
|
|
|
11788
11788
|
),
|
|
11789
11789
|
"aria-label": "Mobile navigation",
|
|
11790
11790
|
children: [
|
|
11791
|
-
/* @__PURE__ */
|
|
11791
|
+
/* @__PURE__ */ m("div", { className: "eidotter-nav__panel-header", children: /* @__PURE__ */ m(
|
|
11792
11792
|
"button",
|
|
11793
11793
|
{
|
|
11794
11794
|
onClick: d,
|
|
@@ -11797,7 +11797,7 @@ const Gi = {
|
|
|
11797
11797
|
children: "✕"
|
|
11798
11798
|
}
|
|
11799
11799
|
) }),
|
|
11800
|
-
/* @__PURE__ */
|
|
11800
|
+
/* @__PURE__ */ m("ul", { className: "eidotter-nav__list", children: t.map((c) => /* @__PURE__ */ m("li", { className: "eidotter-nav__item", children: /* @__PURE__ */ m(
|
|
11801
11801
|
a,
|
|
11802
11802
|
{
|
|
11803
11803
|
href: c.href,
|
|
@@ -11813,9 +11813,9 @@ const Gi = {
|
|
|
11813
11813
|
}
|
|
11814
11814
|
)
|
|
11815
11815
|
] });
|
|
11816
|
-
}, pp = (t) => /* @__PURE__ */ D(
|
|
11817
|
-
/* @__PURE__ */
|
|
11818
|
-
/* @__PURE__ */
|
|
11816
|
+
}, pp = (t) => /* @__PURE__ */ D(ht, { children: [
|
|
11817
|
+
/* @__PURE__ */ m(Vf, { ...t }),
|
|
11818
|
+
/* @__PURE__ */ m(Bf, { ...t })
|
|
11819
11819
|
] }), Hf = ({
|
|
11820
11820
|
role: t,
|
|
11821
11821
|
content: e,
|
|
@@ -11832,11 +11832,11 @@ const Gi = {
|
|
|
11832
11832
|
o
|
|
11833
11833
|
].filter(Boolean).join(" ");
|
|
11834
11834
|
return /* @__PURE__ */ D("div", { className: s, ...l, children: [
|
|
11835
|
-
a && /* @__PURE__ */
|
|
11836
|
-
/* @__PURE__ */
|
|
11837
|
-
n && /* @__PURE__ */
|
|
11835
|
+
a && /* @__PURE__ */ m("span", { className: "chat-message__prefix", "aria-hidden": "true", children: a }),
|
|
11836
|
+
/* @__PURE__ */ m("span", { className: "chat-message__content", children: e }),
|
|
11837
|
+
n && /* @__PURE__ */ m("span", { className: "chat-message__cursor", "aria-hidden": "true", children: "█" })
|
|
11838
11838
|
] });
|
|
11839
|
-
},
|
|
11839
|
+
}, Wf = ({
|
|
11840
11840
|
messages: t,
|
|
11841
11841
|
isStreaming: e = !1,
|
|
11842
11842
|
userPrefix: n,
|
|
@@ -11845,7 +11845,7 @@ const Gi = {
|
|
|
11845
11845
|
...o
|
|
11846
11846
|
}) => {
|
|
11847
11847
|
const l = _(null);
|
|
11848
|
-
|
|
11848
|
+
W(() => {
|
|
11849
11849
|
var s, d;
|
|
11850
11850
|
(d = (s = l.current) == null ? void 0 : s.scrollIntoView) == null || d.call(s, { behavior: "smooth" });
|
|
11851
11851
|
}, [t.length, e]);
|
|
@@ -11853,10 +11853,10 @@ const Gi = {
|
|
|
11853
11853
|
"chat-history",
|
|
11854
11854
|
i
|
|
11855
11855
|
].filter(Boolean).join(" ");
|
|
11856
|
-
return t.length === 0 ? /* @__PURE__ */
|
|
11856
|
+
return t.length === 0 ? /* @__PURE__ */ m("div", { className: a, role: "log", "aria-live": "polite", ...o, children: /* @__PURE__ */ m("div", { className: "chat-history__empty", children: /* @__PURE__ */ m("span", { className: "chat-history__empty-text", children: "Awaiting input..." }) }) }) : /* @__PURE__ */ m("div", { className: a, role: "log", "aria-live": "polite", ...o, children: /* @__PURE__ */ D("div", { className: "chat-history__messages", children: [
|
|
11857
11857
|
t.map((s, d) => {
|
|
11858
11858
|
const c = e && s.role === "assistant" && d === t.length - 1;
|
|
11859
|
-
return /* @__PURE__ */
|
|
11859
|
+
return /* @__PURE__ */ m(
|
|
11860
11860
|
Hf,
|
|
11861
11861
|
{
|
|
11862
11862
|
role: s.role,
|
|
@@ -11868,9 +11868,9 @@ const Gi = {
|
|
|
11868
11868
|
s.id
|
|
11869
11869
|
);
|
|
11870
11870
|
}),
|
|
11871
|
-
/* @__PURE__ */
|
|
11871
|
+
/* @__PURE__ */ m("div", { ref: l })
|
|
11872
11872
|
] }) });
|
|
11873
|
-
},
|
|
11873
|
+
}, Uf = ({
|
|
11874
11874
|
onSend: t,
|
|
11875
11875
|
prompt: e = ">",
|
|
11876
11876
|
placeholder: n,
|
|
@@ -11886,8 +11886,8 @@ const Gi = {
|
|
|
11886
11886
|
const d = (p) => {
|
|
11887
11887
|
if (p.key === "Enter" && !p.shiftKey && !r) {
|
|
11888
11888
|
p.preventDefault();
|
|
11889
|
-
const
|
|
11890
|
-
|
|
11889
|
+
const h = l.trim();
|
|
11890
|
+
h && (t(h), a(""));
|
|
11891
11891
|
}
|
|
11892
11892
|
}, c = () => {
|
|
11893
11893
|
!r && s.current && s.current.focus();
|
|
@@ -11897,9 +11897,9 @@ const Gi = {
|
|
|
11897
11897
|
i
|
|
11898
11898
|
].filter(Boolean).join(" ");
|
|
11899
11899
|
return /* @__PURE__ */ D("div", { className: f, onClick: c, ...o, children: [
|
|
11900
|
-
/* @__PURE__ */
|
|
11900
|
+
/* @__PURE__ */ m("span", { className: "chat-input__prompt", "aria-hidden": "true", children: e }),
|
|
11901
11901
|
/* @__PURE__ */ D("div", { className: "chat-input__input-wrapper", children: [
|
|
11902
|
-
/* @__PURE__ */
|
|
11902
|
+
/* @__PURE__ */ m(
|
|
11903
11903
|
"textarea",
|
|
11904
11904
|
{
|
|
11905
11905
|
ref: s,
|
|
@@ -11913,10 +11913,10 @@ const Gi = {
|
|
|
11913
11913
|
"aria-label": "Chat input"
|
|
11914
11914
|
}
|
|
11915
11915
|
),
|
|
11916
|
-
/* @__PURE__ */
|
|
11916
|
+
/* @__PURE__ */ m("span", { className: "chat-input__cursor", "aria-hidden": "true", children: "█" })
|
|
11917
11917
|
] })
|
|
11918
11918
|
] });
|
|
11919
|
-
},
|
|
11919
|
+
}, hp = ({
|
|
11920
11920
|
messages: t,
|
|
11921
11921
|
onSend: e,
|
|
11922
11922
|
isStreaming: n = !1,
|
|
@@ -11933,8 +11933,8 @@ const Gi = {
|
|
|
11933
11933
|
s
|
|
11934
11934
|
].filter(Boolean).join(" ");
|
|
11935
11935
|
return /* @__PURE__ */ D("div", { className: c, ...d, children: [
|
|
11936
|
-
/* @__PURE__ */
|
|
11937
|
-
|
|
11936
|
+
/* @__PURE__ */ m(
|
|
11937
|
+
Wf,
|
|
11938
11938
|
{
|
|
11939
11939
|
className: "chat-container__history",
|
|
11940
11940
|
messages: t,
|
|
@@ -11943,8 +11943,8 @@ const Gi = {
|
|
|
11943
11943
|
assistantPrefix: o
|
|
11944
11944
|
}
|
|
11945
11945
|
),
|
|
11946
|
-
/* @__PURE__ */
|
|
11947
|
-
|
|
11946
|
+
/* @__PURE__ */ m(
|
|
11947
|
+
Uf,
|
|
11948
11948
|
{
|
|
11949
11949
|
className: "chat-container__input",
|
|
11950
11950
|
onSend: e,
|
|
@@ -11957,7 +11957,7 @@ const Gi = {
|
|
|
11957
11957
|
}, jf = [
|
|
11958
11958
|
{ label: "Impressum", href: "/impressum" },
|
|
11959
11959
|
{ label: "Datenschutz", href: "/datenschutz" }
|
|
11960
|
-
],
|
|
11960
|
+
], mp = ({
|
|
11961
11961
|
copyright: t,
|
|
11962
11962
|
links: e,
|
|
11963
11963
|
children: n,
|
|
@@ -11975,11 +11975,11 @@ const Gi = {
|
|
|
11975
11975
|
),
|
|
11976
11976
|
...i,
|
|
11977
11977
|
children: [
|
|
11978
|
-
/* @__PURE__ */
|
|
11979
|
-
n && /* @__PURE__ */
|
|
11980
|
-
o.length > 0 && /* @__PURE__ */
|
|
11981
|
-
a > 0 && /* @__PURE__ */
|
|
11982
|
-
/* @__PURE__ */
|
|
11978
|
+
/* @__PURE__ */ m("div", { className: "h-px bg-dos-border-default mb-4", role: "separator" }),
|
|
11979
|
+
n && /* @__PURE__ */ m("div", { className: "mb-3", children: n }),
|
|
11980
|
+
o.length > 0 && /* @__PURE__ */ m("nav", { className: "flex justify-center items-center flex-wrap gap-2 mb-2", "aria-label": "Footer links", children: o.map((l, a) => /* @__PURE__ */ D(C.Fragment, { children: [
|
|
11981
|
+
a > 0 && /* @__PURE__ */ m("span", { className: "text-cga-brown select-none eidotter-footer__dot", "aria-hidden": "true", children: "·" }),
|
|
11982
|
+
/* @__PURE__ */ m(
|
|
11983
11983
|
"a",
|
|
11984
11984
|
{
|
|
11985
11985
|
className: "eidotter-footer__link text-cga-amber no-underline",
|
|
@@ -12016,12 +12016,12 @@ const Gi = {
|
|
|
12016
12016
|
showIcon: c = !0,
|
|
12017
12017
|
className: f
|
|
12018
12018
|
}) => {
|
|
12019
|
-
const { isClosing: p, triggerClose:
|
|
12020
|
-
|
|
12019
|
+
const { isClosing: p, triggerClose: h, handleAnimationEnd: v } = Kr("notification-exit", i);
|
|
12020
|
+
W(() => {
|
|
12021
12021
|
if (d == null || !i) return;
|
|
12022
|
-
const y = setTimeout(() =>
|
|
12022
|
+
const y = setTimeout(() => h(), d);
|
|
12023
12023
|
return () => clearTimeout(y);
|
|
12024
|
-
}, [d, i,
|
|
12024
|
+
}, [d, i, h]);
|
|
12025
12025
|
const b = c && !o, g = a != null;
|
|
12026
12026
|
return /* @__PURE__ */ D(
|
|
12027
12027
|
"div",
|
|
@@ -12039,11 +12039,11 @@ const Gi = {
|
|
|
12039
12039
|
role: t === "error" ? "alert" : "status",
|
|
12040
12040
|
"data-type": t,
|
|
12041
12041
|
children: [
|
|
12042
|
-
l && /* @__PURE__ */
|
|
12042
|
+
l && /* @__PURE__ */ m("div", { className: "eidotter-notification__image", children: l }),
|
|
12043
12043
|
/* @__PURE__ */ D("div", { className: "flex flex-row gap-4 p-4", children: [
|
|
12044
|
-
o && /* @__PURE__ */
|
|
12045
|
-
b && /* @__PURE__ */
|
|
12046
|
-
|
|
12044
|
+
o && /* @__PURE__ */ m("div", { className: "eidotter-notification__avatar flex-shrink-0", children: o }),
|
|
12045
|
+
b && /* @__PURE__ */ m("div", { className: "eidotter-notification__icon", children: /* @__PURE__ */ m(
|
|
12046
|
+
Pe,
|
|
12047
12047
|
{
|
|
12048
12048
|
name: Gf[t] || "Info",
|
|
12049
12049
|
size: "S",
|
|
@@ -12052,11 +12052,11 @@ const Gi = {
|
|
|
12052
12052
|
) }),
|
|
12053
12053
|
/* @__PURE__ */ D("div", { className: Y("flex-1 flex flex-col gap-3 min-w-0", i && !b && !o && "pr-8"), children: [
|
|
12054
12054
|
(e || n) && /* @__PURE__ */ D("div", { className: "flex flex-col gap-1", children: [
|
|
12055
|
-
e && /* @__PURE__ */
|
|
12056
|
-
n && /* @__PURE__ */
|
|
12055
|
+
e && /* @__PURE__ */ m("div", { className: "eidotter-notification__title font-dos font-dos-semibold leading-[140%]", children: e }),
|
|
12056
|
+
n && /* @__PURE__ */ m("div", { className: "eidotter-notification__text font-dos leading-[140%]", children: n })
|
|
12057
12057
|
] }),
|
|
12058
12058
|
g && /* @__PURE__ */ D("div", { className: "flex flex-col gap-1", children: [
|
|
12059
|
-
/* @__PURE__ */
|
|
12059
|
+
/* @__PURE__ */ m(
|
|
12060
12060
|
df,
|
|
12061
12061
|
{
|
|
12062
12062
|
value: a,
|
|
@@ -12066,9 +12066,9 @@ const Gi = {
|
|
|
12066
12066
|
showLabel: !1
|
|
12067
12067
|
}
|
|
12068
12068
|
),
|
|
12069
|
-
s && /* @__PURE__ */
|
|
12069
|
+
s && /* @__PURE__ */ m("div", { className: "eidotter-notification__text font-dos text-dos-xs", children: s })
|
|
12070
12070
|
] }),
|
|
12071
|
-
r && r.length > 0 && /* @__PURE__ */
|
|
12071
|
+
r && r.length > 0 && /* @__PURE__ */ m("div", { className: "flex flex-row gap-3", children: r.map((y, x) => /* @__PURE__ */ D(
|
|
12072
12072
|
"button",
|
|
12073
12073
|
{
|
|
12074
12074
|
type: "button",
|
|
@@ -12082,13 +12082,13 @@ const Gi = {
|
|
|
12082
12082
|
x
|
|
12083
12083
|
)) })
|
|
12084
12084
|
] }),
|
|
12085
|
-
i && /* @__PURE__ */
|
|
12085
|
+
i && /* @__PURE__ */ m(
|
|
12086
12086
|
Nr,
|
|
12087
12087
|
{
|
|
12088
12088
|
className: "eidotter-notification__close",
|
|
12089
|
-
onPress:
|
|
12089
|
+
onPress: h,
|
|
12090
12090
|
"aria-label": "Close notification",
|
|
12091
|
-
children: /* @__PURE__ */
|
|
12091
|
+
children: /* @__PURE__ */ m(Pe, { name: "Close", size: "S" })
|
|
12092
12092
|
}
|
|
12093
12093
|
)
|
|
12094
12094
|
] })
|
|
@@ -12291,7 +12291,7 @@ function wp(t) {
|
|
|
12291
12291
|
n[r] = i.usedBy ?? [];
|
|
12292
12292
|
return n;
|
|
12293
12293
|
}
|
|
12294
|
-
const Ep = "0.17.
|
|
12294
|
+
const Ep = "0.17.2";
|
|
12295
12295
|
export {
|
|
12296
12296
|
Jf as AccordionFill,
|
|
12297
12297
|
Zf as Alert,
|
|
@@ -12299,16 +12299,16 @@ export {
|
|
|
12299
12299
|
ff as Breadcrumb,
|
|
12300
12300
|
Mi as Button,
|
|
12301
12301
|
Qf as Card,
|
|
12302
|
-
|
|
12303
|
-
|
|
12304
|
-
|
|
12302
|
+
hp as ChatContainer,
|
|
12303
|
+
Wf as ChatHistory,
|
|
12304
|
+
Uf as ChatInput,
|
|
12305
12305
|
Hf as ChatMessage,
|
|
12306
12306
|
ep as Checkbox,
|
|
12307
12307
|
tp as CommandPrompt,
|
|
12308
12308
|
Bf as DesktopNav,
|
|
12309
12309
|
dp as FilterBar,
|
|
12310
|
-
|
|
12311
|
-
|
|
12310
|
+
mp as Footer,
|
|
12311
|
+
Pe as Icon,
|
|
12312
12312
|
cp as InlineExpand,
|
|
12313
12313
|
cf as Input,
|
|
12314
12314
|
Vf as MobileNav,
|