@wojciechpiskorz/astroix 0.0.22 → 0.0.24
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/chrome.js +645 -633
- package/package.json +1 -1
package/dist/chrome.js
CHANGED
|
@@ -29232,7 +29232,7 @@ function jf() {
|
|
|
29232
29232
|
}
|
|
29233
29233
|
var Mf = jf();
|
|
29234
29234
|
function Nf() {
|
|
29235
|
-
let e = (0, h.useRef)(null), t = Cf(), n = Sf((e) => e.setSelection), r = Sf((e) => e.reportCanvasLoad), i = Sf((e) => e.canvasNav);
|
|
29235
|
+
let e = (0, h.useRef)(null), t = Cf(), n = Sf((e) => e.setSelection), r = Sf((e) => e.reportCanvasLoad), i = Sf((e) => e.canvasNav), a = Sf((e) => e.canvasLoad);
|
|
29236
29236
|
return (0, h.useEffect)(() => {
|
|
29237
29237
|
if (i === null) return;
|
|
29238
29238
|
let t = e.current;
|
|
@@ -29255,7 +29255,11 @@ function Nf() {
|
|
|
29255
29255
|
for (let e of r.querySelectorAll(`.${Tf}, .${Ef}`)) e.classList.remove(Tf), e.classList.remove(Ef);
|
|
29256
29256
|
i.remove();
|
|
29257
29257
|
};
|
|
29258
|
-
}, [
|
|
29258
|
+
}, [
|
|
29259
|
+
t,
|
|
29260
|
+
n,
|
|
29261
|
+
a
|
|
29262
|
+
]), /* @__PURE__ */ (0, g.jsx)("div", {
|
|
29259
29263
|
className: "min-w-0 flex-1 bg-white",
|
|
29260
29264
|
children: /* @__PURE__ */ (0, g.jsx)("iframe", {
|
|
29261
29265
|
id: "astroix-canvas",
|
|
@@ -55460,8 +55464,17 @@ function LU(e, t, n) {
|
|
|
55460
55464
|
return eB(e) && !r ? e.toString(n) : new wH(e, r, n).toString(n);
|
|
55461
55465
|
}
|
|
55462
55466
|
//#endregion
|
|
55467
|
+
//#region src/client/components/ui/textarea.tsx
|
|
55468
|
+
function RU({ className: e, ...t }) {
|
|
55469
|
+
return /* @__PURE__ */ (0, g.jsx)("textarea", {
|
|
55470
|
+
"data-slot": "textarea",
|
|
55471
|
+
className: zi("flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", e),
|
|
55472
|
+
...t
|
|
55473
|
+
});
|
|
55474
|
+
}
|
|
55475
|
+
//#endregion
|
|
55463
55476
|
//#region node_modules/@base-ui/utils/getDefaultFormSubmitter.mjs
|
|
55464
|
-
function
|
|
55477
|
+
function zU(e) {
|
|
55465
55478
|
if (!e) return null;
|
|
55466
55479
|
for (let t of e.elements) {
|
|
55467
55480
|
let e = t.tagName;
|
|
@@ -55474,7 +55487,7 @@ function RU(e) {
|
|
|
55474
55487
|
}
|
|
55475
55488
|
//#endregion
|
|
55476
55489
|
//#region node_modules/@base-ui/react/checkbox/utils/getCheckboxStateAttributesMapping.mjs
|
|
55477
|
-
function
|
|
55490
|
+
function BU(e) {
|
|
55478
55491
|
return {
|
|
55479
55492
|
checked(t) {
|
|
55480
55493
|
return e.indeterminate ? {} : t ? { "data-checked": "" } : { "data-unchecked": "" };
|
|
@@ -55484,24 +55497,24 @@ function zU(e) {
|
|
|
55484
55497
|
}
|
|
55485
55498
|
//#endregion
|
|
55486
55499
|
//#region node_modules/@base-ui/react/checkbox-group/CheckboxGroupContext.mjs
|
|
55487
|
-
var
|
|
55488
|
-
process.env.NODE_ENV !== "production" && (
|
|
55489
|
-
function
|
|
55490
|
-
return h.useContext(
|
|
55500
|
+
var VU = /*#__PURE__*/ h.createContext(void 0);
|
|
55501
|
+
process.env.NODE_ENV !== "production" && (VU.displayName = "CheckboxGroupContext");
|
|
55502
|
+
function HU() {
|
|
55503
|
+
return h.useContext(VU);
|
|
55491
55504
|
}
|
|
55492
55505
|
//#endregion
|
|
55493
55506
|
//#region node_modules/@base-ui/react/checkbox/root/CheckboxRootContext.mjs
|
|
55494
|
-
var
|
|
55495
|
-
process.env.NODE_ENV !== "production" && (
|
|
55496
|
-
function
|
|
55497
|
-
let e = h.useContext(
|
|
55507
|
+
var UU = /*#__PURE__*/ h.createContext(void 0);
|
|
55508
|
+
process.env.NODE_ENV !== "production" && (UU.displayName = "CheckboxRootContext");
|
|
55509
|
+
function WU() {
|
|
55510
|
+
let e = h.useContext(UU);
|
|
55498
55511
|
if (e === void 0) throw Error(process.env.NODE_ENV === "production" ? Ct(14) : "Base UI: CheckboxRootContext is missing. Checkbox parts must be placed within <Checkbox.Root>.");
|
|
55499
55512
|
return e;
|
|
55500
55513
|
}
|
|
55501
55514
|
//#endregion
|
|
55502
55515
|
//#region node_modules/@base-ui/react/checkbox/root/CheckboxRoot.mjs
|
|
55503
|
-
var
|
|
55504
|
-
let { checked: n, className: r, defaultChecked: i = !1, "aria-labelledby": a, disabled: o = !1, form: s, id: c, indeterminate: l = !1, inputRef: u, name: d, onCheckedChange: f, parent: p = !1, readOnly: m = !1, render: _, required: v = !1, uncheckedValue: y, value: b, nativeButton: x = !1, style: S, ...C } = e, { clearErrors: w } = Yi(), { disabled: T, name: E, setDirty: D, setFilled: O, setFocused: k, setTouched: A, state: j, validationMode: M, validityData: N, validation: P } = qi(), F = Yo(), { labelId: I, controlId: ee, registerControlId: L, getDescriptionProps: te } = na(), R =
|
|
55516
|
+
var GU = "data-parent", KU = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
55517
|
+
let { checked: n, className: r, defaultChecked: i = !1, "aria-labelledby": a, disabled: o = !1, form: s, id: c, indeterminate: l = !1, inputRef: u, name: d, onCheckedChange: f, parent: p = !1, readOnly: m = !1, render: _, required: v = !1, uncheckedValue: y, value: b, nativeButton: x = !1, style: S, ...C } = e, { clearErrors: w } = Yi(), { disabled: T, name: E, setDirty: D, setFilled: O, setFocused: k, setTouched: A, state: j, validationMode: M, validityData: N, validation: P } = qi(), F = Yo(), { labelId: I, controlId: ee, registerControlId: L, getDescriptionProps: te } = na(), R = HU(), z = R?.allValues === void 0 ? void 0 : R.parent, B = z !== void 0, ne = T || F.disabled || R?.disabled || o, re = E ?? d, ie = b ?? re, ae = ea(), oe = ea(), se = c || ee;
|
|
55505
55518
|
B && (p ? se = oe : ie === void 0 ? se ||= oe : se = `${z.id}-${ie}`);
|
|
55506
55519
|
let V = {};
|
|
55507
55520
|
B && (p ? V = z.getParentProps() : ie !== void 0 && (V = z.getChildProps(ie)));
|
|
@@ -55595,7 +55608,7 @@ var WU = "data-parent", GU = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
55595
55608
|
m,
|
|
55596
55609
|
v,
|
|
55597
55610
|
Se
|
|
55598
|
-
]), je =
|
|
55611
|
+
]), je = BU(Ae), Me = Ut("span", e, {
|
|
55599
55612
|
state: Ae,
|
|
55600
55613
|
ref: [
|
|
55601
55614
|
_e,
|
|
@@ -55610,7 +55623,7 @@ var WU = "data-parent", GU = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
55610
55623
|
"aria-readonly": m || void 0,
|
|
55611
55624
|
"aria-required": v || void 0,
|
|
55612
55625
|
"aria-labelledby": Oe,
|
|
55613
|
-
[
|
|
55626
|
+
[GU]: p ? "" : void 0,
|
|
55614
55627
|
onFocus() {
|
|
55615
55628
|
ne || k(!0);
|
|
55616
55629
|
},
|
|
@@ -55626,7 +55639,7 @@ var WU = "data-parent", GU = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
55626
55639
|
}, r.preventDefault = () => {
|
|
55627
55640
|
o = !0, a.call(r);
|
|
55628
55641
|
}, a.call(r), En(n).queueMicrotask(() => {
|
|
55629
|
-
e.preventDefault = i, r.preventDefault = a, o ||
|
|
55642
|
+
e.preventDefault = i, r.preventDefault = a, o || zU(t)?.click();
|
|
55630
55643
|
});
|
|
55631
55644
|
},
|
|
55632
55645
|
onClick(e) {
|
|
@@ -55644,7 +55657,7 @@ var WU = "data-parent", GU = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
55644
55657
|
],
|
|
55645
55658
|
stateAttributesMapping: je
|
|
55646
55659
|
});
|
|
55647
|
-
return /*#__PURE__*/ (0, g.jsxs)(
|
|
55660
|
+
return /*#__PURE__*/ (0, g.jsxs)(UU.Provider, {
|
|
55648
55661
|
value: Ae,
|
|
55649
55662
|
children: [
|
|
55650
55663
|
Me,
|
|
@@ -55662,11 +55675,11 @@ var WU = "data-parent", GU = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
55662
55675
|
]
|
|
55663
55676
|
});
|
|
55664
55677
|
});
|
|
55665
|
-
process.env.NODE_ENV !== "production" && (
|
|
55678
|
+
process.env.NODE_ENV !== "production" && (KU.displayName = "CheckboxRoot");
|
|
55666
55679
|
//#endregion
|
|
55667
55680
|
//#region node_modules/@base-ui/react/checkbox/indicator/CheckboxIndicator.mjs
|
|
55668
|
-
var
|
|
55669
|
-
let { render: n, className: r, style: i, keepMounted: a = !1, ...o } = e, s =
|
|
55681
|
+
var qU = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
55682
|
+
let { render: n, className: r, style: i, keepMounted: a = !1, ...o } = e, s = WU(), c = s.checked || s.indeterminate, { mounted: l, transitionStatus: u, setMounted: d } = ls(c), f = h.useRef(null), p = {
|
|
55670
55683
|
...s,
|
|
55671
55684
|
transitionStatus: u
|
|
55672
55685
|
};
|
|
@@ -55678,7 +55691,7 @@ var KU = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
55678
55691
|
}
|
|
55679
55692
|
});
|
|
55680
55693
|
let m = {
|
|
55681
|
-
...
|
|
55694
|
+
...BU(s),
|
|
55682
55695
|
...cs
|
|
55683
55696
|
}, g = a || l, _ = Ut("span", e, {
|
|
55684
55697
|
ref: [t, f],
|
|
@@ -55688,15 +55701,15 @@ var KU = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
55688
55701
|
});
|
|
55689
55702
|
return g ? _ : null;
|
|
55690
55703
|
});
|
|
55691
|
-
process.env.NODE_ENV !== "production" && (
|
|
55704
|
+
process.env.NODE_ENV !== "production" && (qU.displayName = "CheckboxIndicator");
|
|
55692
55705
|
//#endregion
|
|
55693
55706
|
//#region src/client/components/ui/checkbox.tsx
|
|
55694
|
-
function
|
|
55695
|
-
return /* @__PURE__ */ (0, g.jsx)(
|
|
55707
|
+
function JU({ className: e, ...t }) {
|
|
55708
|
+
return /* @__PURE__ */ (0, g.jsx)(KU, {
|
|
55696
55709
|
"data-slot": "checkbox",
|
|
55697
55710
|
className: zi("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary dark:data-checked:bg-primary", e),
|
|
55698
55711
|
...t,
|
|
55699
|
-
children: /* @__PURE__ */ (0, g.jsx)(
|
|
55712
|
+
children: /* @__PURE__ */ (0, g.jsx)(qU, {
|
|
55700
55713
|
"data-slot": "checkbox-indicator",
|
|
55701
55714
|
className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
|
|
55702
55715
|
children: /* @__PURE__ */ (0, g.jsx)(gn, {})
|
|
@@ -55705,39 +55718,39 @@ function qU({ className: e, ...t }) {
|
|
|
55705
55718
|
}
|
|
55706
55719
|
//#endregion
|
|
55707
55720
|
//#region node_modules/@base-ui/utils/useOnFirstRender.mjs
|
|
55708
|
-
function
|
|
55721
|
+
function YU(e) {
|
|
55709
55722
|
let t = h.useRef(!0);
|
|
55710
55723
|
t.current && (t.current = !1, e());
|
|
55711
55724
|
}
|
|
55712
55725
|
//#endregion
|
|
55713
55726
|
//#region node_modules/@base-ui/utils/isElementDisabled.mjs
|
|
55714
|
-
function
|
|
55727
|
+
function XU(e) {
|
|
55715
55728
|
return e == null || e.hasAttribute("disabled") || e.getAttribute("aria-disabled") === "true";
|
|
55716
55729
|
}
|
|
55717
55730
|
//#endregion
|
|
55718
55731
|
//#region node_modules/@base-ui/react/select/root/SelectRootContext.mjs
|
|
55719
|
-
var
|
|
55720
|
-
process.env.NODE_ENV !== "production" && (
|
|
55721
|
-
function
|
|
55722
|
-
let e = h.useContext(
|
|
55732
|
+
var ZU = /*#__PURE__*/ h.createContext(null);
|
|
55733
|
+
process.env.NODE_ENV !== "production" && (ZU.displayName = "SelectRootContext");
|
|
55734
|
+
function QU() {
|
|
55735
|
+
let e = h.useContext(ZU);
|
|
55723
55736
|
if (e === null) throw Error(process.env.NODE_ENV === "production" ? Ct(60) : "Base UI: SelectRootContext is missing. Select parts must be placed within <Select.Root>.");
|
|
55724
55737
|
return e;
|
|
55725
55738
|
}
|
|
55726
55739
|
//#endregion
|
|
55727
55740
|
//#region node_modules/@base-ui/react/internals/itemEquality.mjs
|
|
55728
|
-
var
|
|
55729
|
-
function $U(e, t, n) {
|
|
55730
|
-
return e == null || t == null ? Object.is(e, t) : n(e, t);
|
|
55731
|
-
}
|
|
55741
|
+
var $U = (e, t) => Object.is(e, t);
|
|
55732
55742
|
function eW(e, t, n) {
|
|
55733
|
-
return
|
|
55743
|
+
return e == null || t == null ? Object.is(e, t) : n(e, t);
|
|
55734
55744
|
}
|
|
55735
55745
|
function tW(e, t, n) {
|
|
55736
|
-
return e.
|
|
55746
|
+
return !e || e.length === 0 ? -1 : e.findIndex((e) => e !== void 0 && eW(e, t, n));
|
|
55747
|
+
}
|
|
55748
|
+
function nW(e, t, n) {
|
|
55749
|
+
return e.filter((e) => !eW(t, e, n));
|
|
55737
55750
|
}
|
|
55738
55751
|
//#endregion
|
|
55739
55752
|
//#region node_modules/@base-ui/react/internals/serializeValue.mjs
|
|
55740
|
-
function
|
|
55753
|
+
function rW(e) {
|
|
55741
55754
|
if (e == null) return "";
|
|
55742
55755
|
if (typeof e == "string") return e;
|
|
55743
55756
|
try {
|
|
@@ -55748,39 +55761,39 @@ function nW(e) {
|
|
|
55748
55761
|
}
|
|
55749
55762
|
//#endregion
|
|
55750
55763
|
//#region node_modules/@base-ui/react/internals/resolveValueLabel.mjs
|
|
55751
|
-
function
|
|
55764
|
+
function iW(e) {
|
|
55752
55765
|
return e != null && e.length > 0 && typeof e[0] == "object" && e[0] != null && "items" in e[0];
|
|
55753
55766
|
}
|
|
55754
|
-
function
|
|
55767
|
+
function aW(e) {
|
|
55755
55768
|
if (!Array.isArray(e)) return e != null && "null" in e;
|
|
55756
55769
|
let t = e;
|
|
55757
|
-
if (
|
|
55770
|
+
if (iW(t)) {
|
|
55758
55771
|
for (let e of t) for (let t of e.items) if (t && t.value == null && t.label != null) return !0;
|
|
55759
55772
|
return !1;
|
|
55760
55773
|
}
|
|
55761
55774
|
for (let e of t) if (e && e.value == null && e.label != null) return !0;
|
|
55762
55775
|
return !1;
|
|
55763
55776
|
}
|
|
55764
|
-
function
|
|
55777
|
+
function oW(e, t) {
|
|
55765
55778
|
if (t && e != null) return t(e) ?? "";
|
|
55766
55779
|
if (e && typeof e == "object") {
|
|
55767
55780
|
if ("label" in e && e.label != null) return String(e.label);
|
|
55768
55781
|
if ("value" in e) return String(e.value);
|
|
55769
55782
|
}
|
|
55770
|
-
return
|
|
55783
|
+
return rW(e);
|
|
55771
55784
|
}
|
|
55772
|
-
function
|
|
55773
|
-
return t && e != null ? t(e) ?? "" : e && typeof e == "object" && "value" in e && "label" in e ?
|
|
55785
|
+
function sW(e, t) {
|
|
55786
|
+
return t && e != null ? t(e) ?? "" : e && typeof e == "object" && "value" in e && "label" in e ? rW(e.value) : rW(e);
|
|
55774
55787
|
}
|
|
55775
|
-
function
|
|
55788
|
+
function cW(e, t, n) {
|
|
55776
55789
|
function r() {
|
|
55777
|
-
return
|
|
55790
|
+
return oW(e, n);
|
|
55778
55791
|
}
|
|
55779
55792
|
if (n && e != null) return n(e);
|
|
55780
55793
|
if (e && typeof e == "object" && "label" in e && e.label != null) return e.label;
|
|
55781
55794
|
if (t && !Array.isArray(t)) return t[e] ?? r();
|
|
55782
55795
|
if (Array.isArray(t)) {
|
|
55783
|
-
let n = t, i =
|
|
55796
|
+
let n = t, i = iW(n) ? n.flatMap((e) => e.items) : n;
|
|
55784
55797
|
if (typeof e != "object" || !e) {
|
|
55785
55798
|
let t = i.find((t) => t.value === e);
|
|
55786
55799
|
return t && t.label != null ? t.label : r();
|
|
@@ -55792,12 +55805,12 @@ function sW(e, t, n) {
|
|
|
55792
55805
|
}
|
|
55793
55806
|
return r();
|
|
55794
55807
|
}
|
|
55795
|
-
function
|
|
55796
|
-
return e.reduce((e, r, i) => (i > 0 && e.push(", "), e.push(/*#__PURE__*/ (0, g.jsx)(h.Fragment, { children:
|
|
55808
|
+
function lW(e, t, n) {
|
|
55809
|
+
return e.reduce((e, r, i) => (i > 0 && e.push(", "), e.push(/*#__PURE__*/ (0, g.jsx)(h.Fragment, { children: cW(r, t, n) }, i)), e), []);
|
|
55797
55810
|
}
|
|
55798
55811
|
//#endregion
|
|
55799
55812
|
//#region node_modules/@base-ui/react/select/store.mjs
|
|
55800
|
-
var
|
|
55813
|
+
var uW = {
|
|
55801
55814
|
id: (e) => e.id,
|
|
55802
55815
|
labelId: (e) => e.labelId,
|
|
55803
55816
|
modal: (e) => e.modal,
|
|
@@ -55807,9 +55820,9 @@ var lW = {
|
|
|
55807
55820
|
value: (e) => e.value,
|
|
55808
55821
|
hasSelectedValue: (e) => {
|
|
55809
55822
|
let { value: t, multiple: n, itemToStringValue: r } = e;
|
|
55810
|
-
return t == null ? !1 : n && Array.isArray(t) ? t.length > 0 :
|
|
55823
|
+
return t == null ? !1 : n && Array.isArray(t) ? t.length > 0 : sW(t, r) !== "";
|
|
55811
55824
|
},
|
|
55812
|
-
hasNullItemLabel: (e, t) => t ?
|
|
55825
|
+
hasNullItemLabel: (e, t) => t ? aW(e.items) : !1,
|
|
55813
55826
|
open: (e) => e.open,
|
|
55814
55827
|
mounted: (e) => e.mounted,
|
|
55815
55828
|
forceMount: (e) => e.forceMount,
|
|
@@ -55820,7 +55833,7 @@ var lW = {
|
|
|
55820
55833
|
isActive: (e, t) => e.activeIndex === t,
|
|
55821
55834
|
isSelected: (e, t) => {
|
|
55822
55835
|
let n = e.isItemEqualToValue, r = e.value;
|
|
55823
|
-
return e.multiple ? Array.isArray(r) && r.some((e) =>
|
|
55836
|
+
return e.multiple ? Array.isArray(r) && r.some((e) => eW(t, e, n)) : eW(t, r, n);
|
|
55824
55837
|
},
|
|
55825
55838
|
isSelectedByFocus: (e, t) => e.selectedIndex === t,
|
|
55826
55839
|
popupProps: (e) => e.popupProps,
|
|
@@ -55835,26 +55848,26 @@ var lW = {
|
|
|
55835
55848
|
};
|
|
55836
55849
|
//#endregion
|
|
55837
55850
|
//#region node_modules/@base-ui/react/internals/areArraysEqual.mjs
|
|
55838
|
-
function
|
|
55851
|
+
function dW(e, t, n = (e, t) => e === t) {
|
|
55839
55852
|
return e.length === t.length && e.every((e, r) => n(e, t[r]));
|
|
55840
55853
|
}
|
|
55841
55854
|
//#endregion
|
|
55842
55855
|
//#region node_modules/@base-ui/react/internals/clamp.mjs
|
|
55843
|
-
function
|
|
55856
|
+
function fW(e, t = -(2 ** 53 - 1), n = 2 ** 53 - 1) {
|
|
55844
55857
|
return Math.max(t, Math.min(e, n));
|
|
55845
55858
|
}
|
|
55846
|
-
function
|
|
55859
|
+
function pW(e, t) {
|
|
55847
55860
|
return Math.max(0, e - t);
|
|
55848
55861
|
}
|
|
55849
|
-
function
|
|
55862
|
+
function mW(e, t) {
|
|
55850
55863
|
if (t <= 0) return 0;
|
|
55851
|
-
let n =
|
|
55864
|
+
let n = fW(e, 0, t), r = n, i = t - n, a = r <= 1, o = i <= 1;
|
|
55852
55865
|
return a && o ? r <= i ? 0 : t : a ? 0 : o ? t : n;
|
|
55853
55866
|
}
|
|
55854
55867
|
//#endregion
|
|
55855
55868
|
//#region node_modules/@base-ui/react/select/root/SelectRoot.mjs
|
|
55856
|
-
function
|
|
55857
|
-
let { id: t, value: n, defaultValue: r = null, onValueChange: i, open: a, defaultOpen: o = !1, onOpenChange: s, name: c, form: l, autoComplete: u, disabled: d = !1, readOnly: f = !1, required: p = !1, modal: m = !0, actionsRef: _, inputRef: v, onOpenChangeComplete: y, items: b, multiple: x = !1, itemToStringLabel: S, itemToStringValue: C, isItemEqualToValue: w =
|
|
55869
|
+
function hW(e) {
|
|
55870
|
+
let { id: t, value: n, defaultValue: r = null, onValueChange: i, open: a, defaultOpen: o = !1, onOpenChange: s, name: c, form: l, autoComplete: u, disabled: d = !1, readOnly: f = !1, required: p = !1, modal: m = !0, actionsRef: _, inputRef: v, onOpenChangeComplete: y, items: b, multiple: x = !1, itemToStringLabel: S, itemToStringValue: C, isItemEqualToValue: w = $U, highlightItemOnHover: T = !0, children: E } = e, { clearErrors: D } = Yi(), { setDirty: O, setTouched: k, setFocused: A, validityData: j, setFilled: M, name: N, disabled: P, validation: F, validationMode: I } = qi(), ee = oa({ id: t }), L = P || d, te = N ?? c, [R, z] = us({
|
|
55858
55871
|
controlled: n,
|
|
55859
55872
|
default: x ? r ?? Rt : r,
|
|
55860
55873
|
name: "Select",
|
|
@@ -55894,11 +55907,11 @@ function mW(e) {
|
|
|
55894
55907
|
scrollUpArrowVisible: !1,
|
|
55895
55908
|
scrollDownArrowVisible: !1,
|
|
55896
55909
|
hasScrollArrows: !1
|
|
55897
|
-
})).current, be = G(ye,
|
|
55910
|
+
})).current, be = G(ye, uW.activeIndex), xe = G(ye, uW.selectedIndex), Se = G(ye, uW.triggerElement), Ce = G(ye, uW.positionerElement), we = Qd(_e), Te = _e ?? we, Ee = h.useMemo(() => x ? "" : sW(R, C), [
|
|
55898
55911
|
x,
|
|
55899
55912
|
R,
|
|
55900
55913
|
C
|
|
55901
|
-
]), De = h.useMemo(() => x && Array.isArray(R) ? R.map((e) =>
|
|
55914
|
+
]), De = h.useMemo(() => x && Array.isArray(R) ? R.map((e) => sW(e, C)) : sW(R, C), [
|
|
55902
55915
|
x,
|
|
55903
55916
|
R,
|
|
55904
55917
|
C
|
|
@@ -55913,7 +55926,7 @@ function mW(e) {
|
|
|
55913
55926
|
let n = Array.isArray(R) ? R : [];
|
|
55914
55927
|
t = n.length === 0, e = n[n.length - 1];
|
|
55915
55928
|
}
|
|
55916
|
-
let n = t ? -1 :
|
|
55929
|
+
let n = t ? -1 : tW(ce.current, e, w), r = n === -1 ? null : n;
|
|
55917
55930
|
r === null && (de.current = null), !B && ye.set("selectedIndex", r);
|
|
55918
55931
|
}, [
|
|
55919
55932
|
x,
|
|
@@ -55924,7 +55937,7 @@ function mW(e) {
|
|
|
55924
55937
|
]);
|
|
55925
55938
|
function Ae(e) {
|
|
55926
55939
|
let t = j.initialValue;
|
|
55927
|
-
return Array.isArray(e) && Array.isArray(t) ? !
|
|
55940
|
+
return Array.isArray(e) && Array.isArray(t) ? !dW(e, t, (e, t) => eW(e, t, w)) : e !== t;
|
|
55928
55941
|
}
|
|
55929
55942
|
Dd(R, () => {
|
|
55930
55943
|
D(te), O(Ae(R)), F.change(R);
|
|
@@ -55950,7 +55963,7 @@ function mW(e) {
|
|
|
55950
55963
|
let Ne = Qn((e, t) => {
|
|
55951
55964
|
i?.(e, t), !t.isCanceled && z(e);
|
|
55952
55965
|
}), Pe = Qn((e) => {
|
|
55953
|
-
let t =
|
|
55966
|
+
let t = pW(e.scrollHeight, e.clientHeight), n = mW(e.scrollTop, t), r = n > 0, i = n < t;
|
|
55954
55967
|
ye.set("scrollUpArrowVisible", r), ye.set("scrollDownArrowVisible", i);
|
|
55955
55968
|
}), Fe = ju({
|
|
55956
55969
|
open: B,
|
|
@@ -55977,7 +55990,7 @@ function mW(e) {
|
|
|
55977
55990
|
listRef: ie,
|
|
55978
55991
|
activeIndex: be,
|
|
55979
55992
|
selectedIndex: xe,
|
|
55980
|
-
disabledIndices: (e) =>
|
|
55993
|
+
disabledIndices: (e) => XU(re.current[e]),
|
|
55981
55994
|
onMatch(e) {
|
|
55982
55995
|
B ? ye.set("activeIndex", e) : Ne(ce.current[e], Ds(ps));
|
|
55983
55996
|
},
|
|
@@ -55995,7 +56008,7 @@ function mW(e) {
|
|
|
55995
56008
|
Re.floating,
|
|
55996
56009
|
Le.floating
|
|
55997
56010
|
]), He = Re.item ?? zt;
|
|
55998
|
-
|
|
56011
|
+
YU(() => {
|
|
55999
56012
|
ye.update({
|
|
56000
56013
|
popupProps: Ve,
|
|
56001
56014
|
triggerProps: Be
|
|
@@ -56058,7 +56071,7 @@ function mW(e) {
|
|
|
56058
56071
|
y,
|
|
56059
56072
|
Pe
|
|
56060
56073
|
]), We = Et(v, F.inputRef), Ge = x ? void 0 : te, Ke = h.useMemo(() => !x || !Array.isArray(R) || !te ? null : R.map((e) => {
|
|
56061
|
-
let t =
|
|
56074
|
+
let t = sW(e, C);
|
|
56062
56075
|
return /*#__PURE__*/ (0, g.jsx)("input", {
|
|
56063
56076
|
type: "hidden",
|
|
56064
56077
|
form: l,
|
|
@@ -56074,7 +56087,7 @@ function mW(e) {
|
|
|
56074
56087
|
C,
|
|
56075
56088
|
L
|
|
56076
56089
|
]);
|
|
56077
|
-
return /*#__PURE__*/ (0, g.jsxs)(
|
|
56090
|
+
return /*#__PURE__*/ (0, g.jsxs)(ZU.Provider, {
|
|
56078
56091
|
value: Ue,
|
|
56079
56092
|
children: [
|
|
56080
56093
|
E,
|
|
@@ -56088,7 +56101,7 @@ function mW(e) {
|
|
|
56088
56101
|
let t = e.currentTarget.value, n = Ds(ps, e.nativeEvent);
|
|
56089
56102
|
function r() {
|
|
56090
56103
|
if (x) return;
|
|
56091
|
-
let e = t.toLowerCase(), r = ce.current.findIndex((t) =>
|
|
56104
|
+
let e = t.toLowerCase(), r = ce.current.findIndex((t) => sW(t, C).toLowerCase() === e || oW(t, S).toLowerCase() === e);
|
|
56092
56105
|
r === -1 && (r = ce.current.findIndex((t, n) => {
|
|
56093
56106
|
let r = ie.current[n];
|
|
56094
56107
|
return r != null && r.toLowerCase() === e;
|
|
@@ -56119,17 +56132,17 @@ function mW(e) {
|
|
|
56119
56132
|
}
|
|
56120
56133
|
//#endregion
|
|
56121
56134
|
//#region node_modules/@base-ui/react/utils/resolveAriaLabelledBy.mjs
|
|
56122
|
-
function
|
|
56135
|
+
function gW(e, t) {
|
|
56123
56136
|
return e ?? t;
|
|
56124
56137
|
}
|
|
56125
56138
|
//#endregion
|
|
56126
56139
|
//#region node_modules/@base-ui/react/utils/getPseudoElementBounds.mjs
|
|
56127
|
-
var
|
|
56128
|
-
function
|
|
56129
|
-
let n =
|
|
56130
|
-
return e.clientX >= n.left -
|
|
56140
|
+
var _W = 5;
|
|
56141
|
+
function vW(e, t) {
|
|
56142
|
+
let n = yW(t);
|
|
56143
|
+
return e.clientX >= n.left - _W && e.clientX <= n.right + _W && e.clientY >= n.top - _W && e.clientY <= n.bottom + _W;
|
|
56131
56144
|
}
|
|
56132
|
-
function
|
|
56145
|
+
function yW(e) {
|
|
56133
56146
|
let t = e.getBoundingClientRect(), n = En(e);
|
|
56134
56147
|
if (ya) return t;
|
|
56135
56148
|
let r = n.getComputedStyle(e, "::before"), i = n.getComputedStyle(e, "::after");
|
|
@@ -56144,20 +56157,20 @@ function vW(e) {
|
|
|
56144
56157
|
}
|
|
56145
56158
|
//#endregion
|
|
56146
56159
|
//#region node_modules/@base-ui/react/select/trigger/SelectTrigger.mjs
|
|
56147
|
-
var
|
|
56160
|
+
var bW = 400, xW = {
|
|
56148
56161
|
...zs,
|
|
56149
56162
|
...Wi,
|
|
56150
56163
|
popupSide: (e) => e ? { "data-popup-side": e } : null,
|
|
56151
56164
|
value: () => null
|
|
56152
|
-
},
|
|
56153
|
-
let { render: n, className: r, id: i, disabled: a = !1, nativeButton: o = !0, style: s, ...c } = e, { setTouched: l, setFocused: u, validationMode: d, state: f, disabled: p } = qi(), { labelId: m } = na(), { store: g, setOpen: _, selectionRef: v, validation: y, readOnly: b, required: x, alignItemWithTriggerActiveRef: S, disabled: C } =
|
|
56165
|
+
}, SW = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
56166
|
+
let { render: n, className: r, id: i, disabled: a = !1, nativeButton: o = !0, style: s, ...c } = e, { setTouched: l, setFocused: u, validationMode: d, state: f, disabled: p } = qi(), { labelId: m } = na(), { store: g, setOpen: _, selectionRef: v, validation: y, readOnly: b, required: x, alignItemWithTriggerActiveRef: S, disabled: C } = QU(), w = p || C || a, T = G(g, uW.open), E = G(g, uW.mounted), D = G(g, uW.value), O = G(g, uW.triggerProps), k = G(g, uW.positionerElement), A = G(g, uW.listElement), j = G(g, uW.popupSide), M = G(g, uW.id), N = G(g, uW.labelId), P = G(g, uW.hasSelectedValue), F = E && k ? j : null, I = i ?? M, ee = gW(m, N);
|
|
56154
56167
|
oa({ id: I });
|
|
56155
56168
|
let L = qs(k), te = h.useRef(null), { getButtonProps: R, buttonRef: z } = lr({
|
|
56156
56169
|
disabled: w,
|
|
56157
56170
|
native: o
|
|
56158
56171
|
}), B = g.useStateSetter("triggerElement"), ne = qo(), re = qo(), ie = qo();
|
|
56159
56172
|
h.useEffect(() => {
|
|
56160
|
-
if (T) return ie.start(
|
|
56173
|
+
if (T) return ie.start(bW, () => {
|
|
56161
56174
|
v.current.allowUnselectedMouseUp = !0, v.current.allowSelectedMouseUp = !0;
|
|
56162
56175
|
}), () => {
|
|
56163
56176
|
ie.clear();
|
|
@@ -56197,7 +56210,7 @@ var yW = 400, bW = {
|
|
|
56197
56210
|
function n(e) {
|
|
56198
56211
|
if (!te.current) return;
|
|
56199
56212
|
let t = e.target;
|
|
56200
|
-
Ea(te.current, t) || Ea(L.current, t) ||
|
|
56213
|
+
Ea(te.current, t) || Ea(L.current, t) || vW(e, te.current) || _(!1, Ds(xs, e));
|
|
56201
56214
|
}
|
|
56202
56215
|
re.start(0, () => {
|
|
56203
56216
|
t.addEventListener("mouseup", n, { once: !0 });
|
|
@@ -56222,32 +56235,32 @@ var yW = 400, bW = {
|
|
|
56222
56235
|
B
|
|
56223
56236
|
],
|
|
56224
56237
|
state: se,
|
|
56225
|
-
stateAttributesMapping:
|
|
56238
|
+
stateAttributesMapping: xW,
|
|
56226
56239
|
props: oe
|
|
56227
56240
|
});
|
|
56228
56241
|
});
|
|
56229
|
-
process.env.NODE_ENV !== "production" && (
|
|
56242
|
+
process.env.NODE_ENV !== "production" && (SW.displayName = "SelectTrigger");
|
|
56230
56243
|
//#endregion
|
|
56231
56244
|
//#region node_modules/@base-ui/react/select/value/SelectValue.mjs
|
|
56232
|
-
var
|
|
56233
|
-
let { className: n, render: r, children: i, placeholder: a, style: o, ...s } = e, { store: c, valueRef: l } =
|
|
56245
|
+
var CW = { value: () => null }, wW = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
56246
|
+
let { className: n, render: r, children: i, placeholder: a, style: o, ...s } = e, { store: c, valueRef: l } = QU(), u = G(c, uW.value), d = G(c, uW.items), f = G(c, uW.itemToStringLabel), p = G(c, uW.hasSelectedValue), m = !p && a != null && i == null, h = G(c, uW.hasNullItemLabel, m), g = {
|
|
56234
56247
|
value: u,
|
|
56235
56248
|
placeholder: !p
|
|
56236
56249
|
}, _ = null;
|
|
56237
|
-
return _ = typeof i == "function" ? i(u) : i ?? (m && !h ? a : Array.isArray(u) ?
|
|
56250
|
+
return _ = typeof i == "function" ? i(u) : i ?? (m && !h ? a : Array.isArray(u) ? lW(u, d, f) : cW(u, d, f)), Ut("span", e, {
|
|
56238
56251
|
state: g,
|
|
56239
56252
|
ref: [t, l],
|
|
56240
56253
|
props: [{ children: _ }, s],
|
|
56241
|
-
stateAttributesMapping:
|
|
56254
|
+
stateAttributesMapping: CW
|
|
56242
56255
|
});
|
|
56243
56256
|
});
|
|
56244
|
-
process.env.NODE_ENV !== "production" && (
|
|
56257
|
+
process.env.NODE_ENV !== "production" && (wW.displayName = "SelectValue");
|
|
56245
56258
|
//#endregion
|
|
56246
56259
|
//#region node_modules/@base-ui/react/select/icon/SelectIcon.mjs
|
|
56247
|
-
var
|
|
56248
|
-
let { render: n, className: r, style: i, ...a } = e, { store: o } =
|
|
56260
|
+
var TW = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
56261
|
+
let { render: n, className: r, style: i, ...a } = e, { store: o } = QU();
|
|
56249
56262
|
return Ut("span", e, {
|
|
56250
|
-
state: { open: G(o,
|
|
56263
|
+
state: { open: G(o, uW.open) },
|
|
56251
56264
|
ref: t,
|
|
56252
56265
|
props: [{
|
|
56253
56266
|
"aria-hidden": !0,
|
|
@@ -56256,33 +56269,33 @@ var wW = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
56256
56269
|
stateAttributesMapping: Rs
|
|
56257
56270
|
});
|
|
56258
56271
|
});
|
|
56259
|
-
process.env.NODE_ENV !== "production" && (
|
|
56272
|
+
process.env.NODE_ENV !== "production" && (TW.displayName = "SelectIcon");
|
|
56260
56273
|
//#endregion
|
|
56261
56274
|
//#region node_modules/@base-ui/react/select/portal/SelectPortal.mjs
|
|
56262
|
-
var
|
|
56263
|
-
let { store: n } =
|
|
56275
|
+
var EW = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
56276
|
+
let { store: n } = QU(), r = G(n, uW.mounted), i = G(n, uW.forceMount);
|
|
56264
56277
|
return r || i ? /*#__PURE__*/ (0, g.jsx)(xc, {
|
|
56265
56278
|
ref: t,
|
|
56266
56279
|
...e
|
|
56267
56280
|
}) : null;
|
|
56268
56281
|
});
|
|
56269
|
-
process.env.NODE_ENV !== "production" && (
|
|
56282
|
+
process.env.NODE_ENV !== "production" && (EW.displayName = "SelectPortal");
|
|
56270
56283
|
//#endregion
|
|
56271
56284
|
//#region node_modules/@base-ui/react/internals/composite/list/CompositeListContext.mjs
|
|
56272
|
-
var
|
|
56285
|
+
var DW = /*#__PURE__*/ h.createContext({
|
|
56273
56286
|
register: () => {},
|
|
56274
56287
|
unregister: () => {},
|
|
56275
56288
|
subscribeMapChange: () => () => {},
|
|
56276
56289
|
nextIndexRef: { current: 0 }
|
|
56277
56290
|
});
|
|
56278
|
-
process.env.NODE_ENV !== "production" && (
|
|
56279
|
-
function
|
|
56280
|
-
return h.useContext(
|
|
56291
|
+
process.env.NODE_ENV !== "production" && (DW.displayName = "CompositeListContext");
|
|
56292
|
+
function OW() {
|
|
56293
|
+
return h.useContext(DW);
|
|
56281
56294
|
}
|
|
56282
56295
|
//#endregion
|
|
56283
56296
|
//#region node_modules/@base-ui/react/internals/composite/list/CompositeList.mjs
|
|
56284
|
-
function
|
|
56285
|
-
let { children: t, elementsRef: n, labelsRef: r, onMapChange: i } = e, a = Qn(i), [, o] = h.useState(!1), s = Tt(
|
|
56297
|
+
function kW(e) {
|
|
56298
|
+
let { children: t, elementsRef: n, labelsRef: r, onMapChange: i } = e, a = Qn(i), [, o] = h.useState(!1), s = Tt(jW).current, c = Tt(AW).current, l = h.useRef(0), u = h.useRef(!0), d = h.useRef([]), f = h.useRef(null), p = Qn(() => {
|
|
56286
56299
|
u.current || (u.current = !0, o((e) => !e));
|
|
56287
56300
|
}), m = Qn((e, t) => {
|
|
56288
56301
|
c.set(e, t), p();
|
|
@@ -56300,10 +56313,10 @@ function OW(e) {
|
|
|
56300
56313
|
function y(e) {
|
|
56301
56314
|
if (f.current?.disconnect(), f.current = null, typeof MutationObserver != "function" || e.length < 2) return;
|
|
56302
56315
|
let t = new MutationObserver((n) => {
|
|
56303
|
-
if (!
|
|
56316
|
+
if (!PW(n)) return;
|
|
56304
56317
|
let r = null;
|
|
56305
56318
|
for (let n of e) if (n.isConnected) {
|
|
56306
|
-
if (r &&
|
|
56319
|
+
if (r && FW(r, n) > 0) {
|
|
56307
56320
|
t.disconnect(), p();
|
|
56308
56321
|
return;
|
|
56309
56322
|
}
|
|
@@ -56313,13 +56326,13 @@ function OW(e) {
|
|
|
56313
56326
|
f.current = t;
|
|
56314
56327
|
let n = /* @__PURE__ */ new Set();
|
|
56315
56328
|
for (let t = 1; t < e.length; t += 1) {
|
|
56316
|
-
let r =
|
|
56329
|
+
let r = NW(e[t - 1], e[t]);
|
|
56317
56330
|
r && n.add(r);
|
|
56318
56331
|
}
|
|
56319
56332
|
n.forEach((e) => t.observe(e, { childList: !0 }));
|
|
56320
56333
|
}
|
|
56321
56334
|
let b = Qn(() => {
|
|
56322
|
-
let [e, t] =
|
|
56335
|
+
let [e, t] = MW(c), n = v(e);
|
|
56323
56336
|
y(t), d.current = e, u.current = !1, s.forEach((e) => e(n)), a(n);
|
|
56324
56337
|
});
|
|
56325
56338
|
rr(() => (u.current || v(d.current), () => {
|
|
@@ -56346,18 +56359,18 @@ function OW(e) {
|
|
|
56346
56359
|
x,
|
|
56347
56360
|
l
|
|
56348
56361
|
]);
|
|
56349
|
-
return /*#__PURE__*/ (0, g.jsx)(
|
|
56362
|
+
return /*#__PURE__*/ (0, g.jsx)(DW.Provider, {
|
|
56350
56363
|
value: S,
|
|
56351
56364
|
children: t
|
|
56352
56365
|
});
|
|
56353
56366
|
}
|
|
56354
|
-
function
|
|
56367
|
+
function AW() {
|
|
56355
56368
|
return /* @__PURE__ */ new Map();
|
|
56356
56369
|
}
|
|
56357
|
-
function
|
|
56370
|
+
function jW() {
|
|
56358
56371
|
return /* @__PURE__ */ new Set();
|
|
56359
56372
|
}
|
|
56360
|
-
function
|
|
56373
|
+
function MW(e) {
|
|
56361
56374
|
let t = /* @__PURE__ */ new Set(), n = [], r = [];
|
|
56362
56375
|
e.forEach((e, i) => {
|
|
56363
56376
|
if (!i.isConnected) return;
|
|
@@ -56369,44 +56382,44 @@ function jW(e) {
|
|
|
56369
56382
|
a === null ? r.push(o) : a >= 0 && (t.add(a), n.push(o));
|
|
56370
56383
|
});
|
|
56371
56384
|
let i = 0;
|
|
56372
|
-
return r.sort((e, t) =>
|
|
56385
|
+
return r.sort((e, t) => FW(e.element, t.element)), r.forEach((e) => {
|
|
56373
56386
|
for (; t.has(i);) i += 1;
|
|
56374
56387
|
e.index = i, n.push(e), i += 1;
|
|
56375
56388
|
}), t.size > 0 && n.sort((e, t) => e.index - t.index), [n, r.map((e) => e.element)];
|
|
56376
56389
|
}
|
|
56377
|
-
function
|
|
56390
|
+
function NW(e, t) {
|
|
56378
56391
|
let n = e.parentElement;
|
|
56379
56392
|
for (; n && !n.contains(t);) n = n.parentElement;
|
|
56380
56393
|
return n;
|
|
56381
56394
|
}
|
|
56382
|
-
function
|
|
56395
|
+
function PW(e) {
|
|
56383
56396
|
for (let t of e) for (let e = 0; e < t.removedNodes.length; e += 1) if (t.removedNodes[e].isConnected) return !0;
|
|
56384
56397
|
return !1;
|
|
56385
56398
|
}
|
|
56386
|
-
function
|
|
56399
|
+
function FW(e, t) {
|
|
56387
56400
|
return e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
|
|
56388
56401
|
}
|
|
56389
56402
|
//#endregion
|
|
56390
56403
|
//#region node_modules/@base-ui/react/select/positioner/SelectPositionerContext.mjs
|
|
56391
|
-
var
|
|
56392
|
-
process.env.NODE_ENV !== "production" && (
|
|
56393
|
-
function
|
|
56394
|
-
let e = h.useContext(
|
|
56404
|
+
var IW = /*#__PURE__*/ h.createContext(void 0);
|
|
56405
|
+
process.env.NODE_ENV !== "production" && (IW.displayName = "SelectPositionerContext");
|
|
56406
|
+
function LW() {
|
|
56407
|
+
let e = h.useContext(IW);
|
|
56395
56408
|
if (!e) throw Error(process.env.NODE_ENV === "production" ? Ct(59) : "Base UI: SelectPositionerContext is missing. SelectPositioner parts must be placed within <Select.Positioner>.");
|
|
56396
56409
|
return e;
|
|
56397
56410
|
}
|
|
56398
56411
|
//#endregion
|
|
56399
56412
|
//#region node_modules/@base-ui/react/select/popup/utils.mjs
|
|
56400
|
-
function
|
|
56413
|
+
function RW(e, t) {
|
|
56401
56414
|
e && Object.assign(e.style, t);
|
|
56402
56415
|
}
|
|
56403
|
-
var
|
|
56416
|
+
var zW = {
|
|
56404
56417
|
position: "relative",
|
|
56405
56418
|
maxHeight: "100%",
|
|
56406
56419
|
overflowX: "hidden",
|
|
56407
56420
|
overflowY: "auto"
|
|
56408
|
-
},
|
|
56409
|
-
function
|
|
56421
|
+
}, BW = 20;
|
|
56422
|
+
function VW(e, t, n, r) {
|
|
56410
56423
|
let [i, a] = h.useState(!1);
|
|
56411
56424
|
rr(() => {
|
|
56412
56425
|
if (!e || !t || n == null) {
|
|
@@ -56414,7 +56427,7 @@ function BW(e, t, n, r) {
|
|
|
56414
56427
|
return;
|
|
56415
56428
|
}
|
|
56416
56429
|
let r = sr(n).documentElement.clientWidth, i = n.offsetWidth;
|
|
56417
|
-
a(r > 0 && i > 0 && i >= r -
|
|
56430
|
+
a(r > 0 && i > 0 && i >= r - BW);
|
|
56418
56431
|
}, [
|
|
56419
56432
|
e,
|
|
56420
56433
|
t,
|
|
@@ -56423,9 +56436,9 @@ function BW(e, t, n, r) {
|
|
|
56423
56436
|
}
|
|
56424
56437
|
//#endregion
|
|
56425
56438
|
//#region node_modules/@base-ui/react/select/positioner/SelectPositioner.mjs
|
|
56426
|
-
var
|
|
56427
|
-
let { anchor: n, className: r, render: i, positionMethod: a, side: o, align: s, sideOffset: c, alignOffset: l, collisionBoundary: u = "clipping-ancestors", collisionPadding: d, arrowPadding: f, sticky: p, disableAnchorTracking: m, alignItemWithTrigger: _ = !0, collisionAvoidance: v = hc, style: y, ...b } = e, { store: x, listRef: S, labelsRef: C, alignItemWithTriggerActiveRef: w, selectedItemTextRef: T, valuesRef: E, initialValueRef: D, popupRef: O, setValue: k, floatingContext: A } =
|
|
56428
|
-
!M && B !== _ && ne(_), h.useImperativeHandle(w, () => re),
|
|
56439
|
+
var HW = { position: "fixed" }, UW = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
56440
|
+
let { anchor: n, className: r, render: i, positionMethod: a, side: o, align: s, sideOffset: c, alignOffset: l, collisionBoundary: u = "clipping-ancestors", collisionPadding: d, arrowPadding: f, sticky: p, disableAnchorTracking: m, alignItemWithTrigger: _ = !0, collisionAvoidance: v = hc, style: y, ...b } = e, { store: x, listRef: S, labelsRef: C, alignItemWithTriggerActiveRef: w, selectedItemTextRef: T, valuesRef: E, initialValueRef: D, popupRef: O, setValue: k, floatingContext: A } = QU(), j = G(x, uW.open), M = G(x, uW.mounted), N = G(x, uW.modal), P = G(x, uW.value), F = G(x, uW.openMethod), I = G(x, uW.positionerElement), ee = G(x, uW.triggerElement), L = G(x, uW.isItemEqualToValue), te = G(x, uW.transitionStatus), R = h.useRef(null), z = h.useRef(null), [B, ne] = h.useState(_), re = M && B && F !== "touch";
|
|
56441
|
+
!M && B !== _ && ne(_), h.useImperativeHandle(w, () => re), VW((re || N) && j, F === "touch", I, ee);
|
|
56429
56442
|
let ie = qd({
|
|
56430
56443
|
anchor: n,
|
|
56431
56444
|
floatingRootContext: A,
|
|
@@ -56442,7 +56455,7 @@ var VW = { position: "fixed" }, HW = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
56442
56455
|
disableAnchorTracking: m ?? re,
|
|
56443
56456
|
collisionAvoidance: v,
|
|
56444
56457
|
keepMounted: !0
|
|
56445
|
-
}), ae = re ? "none" : ie.side, oe = re ?
|
|
56458
|
+
}), ae = re ? "none" : ie.side, oe = re ? HW : ie.positionerStyles, se = {
|
|
56446
56459
|
open: j,
|
|
56447
56460
|
side: ae,
|
|
56448
56461
|
align: ie.align,
|
|
@@ -56463,12 +56476,12 @@ var VW = { position: "fixed" }, HW = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
56463
56476
|
let t = ce.current;
|
|
56464
56477
|
if (ce.current = e.size, e.size === t) return;
|
|
56465
56478
|
let n = Ds(ps);
|
|
56466
|
-
if (t !== 0 && !x.state.multiple && P !== null &&
|
|
56467
|
-
let e = D.current, t = e != null &&
|
|
56479
|
+
if (t !== 0 && !x.state.multiple && P !== null && tW(E.current, P, L) === -1) {
|
|
56480
|
+
let e = D.current, t = e != null && tW(E.current, e, L) !== -1 ? e : null;
|
|
56468
56481
|
k(t, n), t === null && (x.set("selectedIndex", null), T.current = null);
|
|
56469
56482
|
}
|
|
56470
56483
|
if (t !== 0 && x.state.multiple && Array.isArray(P)) {
|
|
56471
|
-
let e = P.filter((e) =>
|
|
56484
|
+
let e = P.filter((e) => tW(E.current, e, L) !== -1);
|
|
56472
56485
|
e.length !== P.length && (k(e, n), e.length === 0 && (x.set("selectedIndex", null), T.current = null));
|
|
56473
56486
|
}
|
|
56474
56487
|
if (j && re) {
|
|
@@ -56477,7 +56490,7 @@ var VW = { position: "fixed" }, HW = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
56477
56490
|
scrollDownArrowVisible: !1
|
|
56478
56491
|
});
|
|
56479
56492
|
let e = { height: "" };
|
|
56480
|
-
|
|
56493
|
+
RW(I, e), RW(O.current, e);
|
|
56481
56494
|
}
|
|
56482
56495
|
}), ue = h.useMemo(() => ({
|
|
56483
56496
|
...ie,
|
|
@@ -56492,11 +56505,11 @@ var VW = { position: "fixed" }, HW = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
56492
56505
|
re,
|
|
56493
56506
|
ne
|
|
56494
56507
|
]);
|
|
56495
|
-
return /*#__PURE__*/ (0, g.jsx)(
|
|
56508
|
+
return /*#__PURE__*/ (0, g.jsx)(kW, {
|
|
56496
56509
|
elementsRef: S,
|
|
56497
56510
|
labelsRef: C,
|
|
56498
56511
|
onMapChange: le,
|
|
56499
|
-
children: /*#__PURE__*/ (0, g.jsxs)(
|
|
56512
|
+
children: /*#__PURE__*/ (0, g.jsxs)(IW.Provider, {
|
|
56500
56513
|
value: ue,
|
|
56501
56514
|
children: [M && N && /*#__PURE__*/ (0, g.jsx)(ad, {
|
|
56502
56515
|
inert: id(!j),
|
|
@@ -56505,63 +56518,63 @@ var VW = { position: "fixed" }, HW = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
56505
56518
|
})
|
|
56506
56519
|
});
|
|
56507
56520
|
});
|
|
56508
|
-
process.env.NODE_ENV !== "production" && (
|
|
56521
|
+
process.env.NODE_ENV !== "production" && (UW.displayName = "SelectPositioner");
|
|
56509
56522
|
//#endregion
|
|
56510
56523
|
//#region node_modules/@base-ui/react/utils/styles.mjs
|
|
56511
|
-
var
|
|
56512
|
-
className:
|
|
56524
|
+
var WW = "base-ui-disable-scrollbar", GW = {
|
|
56525
|
+
className: WW,
|
|
56513
56526
|
getElement(e) {
|
|
56514
56527
|
return /*#__PURE__*/ (0, g.jsx)("style", {
|
|
56515
56528
|
nonce: e,
|
|
56516
|
-
href:
|
|
56529
|
+
href: WW,
|
|
56517
56530
|
precedence: "base-ui:low",
|
|
56518
|
-
children: `.${
|
|
56531
|
+
children: `.${WW}{scrollbar-width:none}.${WW}::-webkit-scrollbar{display:none}`
|
|
56519
56532
|
});
|
|
56520
56533
|
}
|
|
56521
56534
|
};
|
|
56522
|
-
process.env.NODE_ENV !== "production" && (
|
|
56535
|
+
process.env.NODE_ENV !== "production" && (GW.getElement.displayName = "styleDisableScrollbar.getElement");
|
|
56523
56536
|
//#endregion
|
|
56524
56537
|
//#region node_modules/@base-ui/react/toolbar/root/ToolbarRootContext.mjs
|
|
56525
|
-
var
|
|
56526
|
-
process.env.NODE_ENV !== "production" && (
|
|
56527
|
-
function
|
|
56528
|
-
let t = h.useContext(
|
|
56538
|
+
var KW = /*#__PURE__*/ h.createContext(void 0);
|
|
56539
|
+
process.env.NODE_ENV !== "production" && (KW.displayName = "ToolbarRootContext");
|
|
56540
|
+
function qW(e) {
|
|
56541
|
+
let t = h.useContext(KW);
|
|
56529
56542
|
if (t === void 0 && !e) throw Error(process.env.NODE_ENV === "production" ? Ct(69) : "Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>.");
|
|
56530
56543
|
return t;
|
|
56531
56544
|
}
|
|
56532
56545
|
//#endregion
|
|
56533
56546
|
//#region node_modules/@base-ui/react/internals/csp-context/CSPContext.mjs
|
|
56534
|
-
var
|
|
56535
|
-
process.env.NODE_ENV !== "production" && (
|
|
56536
|
-
var
|
|
56537
|
-
function
|
|
56538
|
-
return h.useContext(
|
|
56547
|
+
var JW = /*#__PURE__*/ h.createContext(void 0);
|
|
56548
|
+
process.env.NODE_ENV !== "production" && (JW.displayName = "CSPContext");
|
|
56549
|
+
var YW = { disableStyleElements: !1 };
|
|
56550
|
+
function XW() {
|
|
56551
|
+
return h.useContext(JW) ?? YW;
|
|
56539
56552
|
}
|
|
56540
56553
|
//#endregion
|
|
56541
56554
|
//#region node_modules/@base-ui/react/select/popup/SelectPopup.mjs
|
|
56542
|
-
var
|
|
56555
|
+
var ZW = {
|
|
56543
56556
|
...Bs,
|
|
56544
56557
|
...cs
|
|
56545
|
-
},
|
|
56546
|
-
let { render: n, className: r, style: i, finalFocus: a, ...o } = e, { store: s, popupRef: c, onOpenChangeComplete: l, setOpen: u, valueRef: d, firstItemTextRef: f, selectedItemTextRef: p, multiple: m, handleScrollArrowVisibility: _, scrollHandlerRef: v, listRef: y, highlightItemOnHover: b, floatingContext: x } =
|
|
56558
|
+
}, QW = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
56559
|
+
let { render: n, className: r, style: i, finalFocus: a, ...o } = e, { store: s, popupRef: c, onOpenChangeComplete: l, setOpen: u, valueRef: d, firstItemTextRef: f, selectedItemTextRef: p, multiple: m, handleScrollArrowVisibility: _, scrollHandlerRef: v, listRef: y, highlightItemOnHover: b, floatingContext: x } = QU(), { side: S, align: C, alignItemWithTriggerActive: w, isPositioned: T, setControlledAlignItemWithTrigger: E } = LW(), D = qW(!0) != null, O = Rd(), { nonce: k, disableStyleElements: A } = XW(), j = G(s, uW.id), M = G(s, uW.open), N = G(s, uW.openMethod), P = G(s, uW.mounted), F = G(s, uW.popupProps), I = G(s, uW.transitionStatus), ee = G(s, uW.triggerElement), L = G(s, uW.positionerElement), te = G(s, uW.listElement), R = h.useRef(!1), z = h.useRef(!1), B = h.useRef({}), ne = es(), re = Qn((e) => {
|
|
56547
56560
|
if (!L || !c.current || !z.current) return;
|
|
56548
56561
|
let t = L.style.top === "0px", n = L.style.bottom === "0px";
|
|
56549
56562
|
if (R.current || !w || !t && !n) {
|
|
56550
56563
|
_(e);
|
|
56551
56564
|
return;
|
|
56552
56565
|
}
|
|
56553
|
-
let r =
|
|
56566
|
+
let r = tG(L), i = nG(L.getBoundingClientRect().height, "y", r), a = sr(L), o = En(L), s = o.getComputedStyle(L), l = parseFloat(s.marginTop), u = parseFloat(s.marginBottom), d = $W(o.getComputedStyle(c.current)), f = Math.min(a.documentElement.clientHeight - l - u, d), p = e.scrollTop, m = eG(e), h = null, g = (e) => {
|
|
56554
56567
|
L.style.height = `${e}px`;
|
|
56555
56568
|
}, v = t ? m - p : p, y = Math.min(i + v, f);
|
|
56556
56569
|
if (v <= 1) {
|
|
56557
|
-
let n =
|
|
56570
|
+
let n = fW(v, 0, f - i);
|
|
56558
56571
|
n > 0 && g(i + n), e.scrollTop = t ? m : 0, f - (i + n) <= 1 && (R.current = !0), _(e);
|
|
56559
56572
|
return;
|
|
56560
56573
|
}
|
|
56561
56574
|
f - y > 1 ? h = t ? Infinity : 0 : n && p < m && (h = p - (v - (i + v - f)));
|
|
56562
56575
|
let b = Math.ceil(y);
|
|
56563
56576
|
if (b !== 0 && g(b), h != null) {
|
|
56564
|
-
let t =
|
|
56577
|
+
let t = fW(h, 0, eG(e));
|
|
56565
56578
|
Math.abs(e.scrollTop - t) > 1 && (e.scrollTop = t);
|
|
56566
56579
|
}
|
|
56567
56580
|
b >= f - 1 && (R.current = !0), _(e);
|
|
@@ -56592,7 +56605,7 @@ var XW = {
|
|
|
56592
56605
|
marginBottom: L.style.marginBottom
|
|
56593
56606
|
});
|
|
56594
56607
|
}, [c, L]), rr(() => {
|
|
56595
|
-
M || w || (z.current = !1, R.current = !1,
|
|
56608
|
+
M || w || (z.current = !1, R.current = !1, RW(L, B.current));
|
|
56596
56609
|
}, [
|
|
56597
56610
|
M,
|
|
56598
56611
|
w,
|
|
@@ -56605,33 +56618,33 @@ var XW = {
|
|
|
56605
56618
|
ne.request(() => _(te || e));
|
|
56606
56619
|
return;
|
|
56607
56620
|
}
|
|
56608
|
-
let t =
|
|
56621
|
+
let t = aG(e);
|
|
56609
56622
|
try {
|
|
56610
56623
|
let t = p.current;
|
|
56611
|
-
t?.isConnected || (t = !
|
|
56612
|
-
let n = d.current, r = En(L), i = r.getComputedStyle(L), a = r.getComputedStyle(e), o = sr(ee), c =
|
|
56624
|
+
t?.isConnected || (t = !uW.hasSelectedValue(s.state) && f.current?.isConnected ? f.current : null);
|
|
56625
|
+
let n = d.current, r = En(L), i = r.getComputedStyle(L), a = r.getComputedStyle(e), o = sr(ee), c = tG(ee), l = rG(ee.getBoundingClientRect(), c), u = rG(L.getBoundingClientRect(), c), m = l.height, h = te || e, g = h.scrollHeight, v = parseFloat(a.borderBottomWidth), x = parseFloat(i.marginTop) || 10, S = parseFloat(i.marginBottom) || 10, C = parseFloat(i.minHeight) || 100, w = $W(a), T = o.documentElement.clientHeight - x - S, D = o.documentElement.clientWidth, k = T - l.bottom + m, A, j = O === "rtl" ? l.right - u.width : l.left, M = 0;
|
|
56613
56626
|
if (t && n) {
|
|
56614
|
-
let e =
|
|
56615
|
-
A =
|
|
56627
|
+
let e = rG(n.getBoundingClientRect(), c);
|
|
56628
|
+
A = rG(t.getBoundingClientRect(), c), j = u.left + (O === "rtl" ? e.right - A.right : e.left - A.left);
|
|
56616
56629
|
let r = e.top - l.top + e.height / 2;
|
|
56617
56630
|
M = A.top - u.top + A.height / 2 - r;
|
|
56618
56631
|
}
|
|
56619
56632
|
let N = k + M + S + v, P = Math.min(T, N), F = T - x - S, I = N - P, z = D - 5;
|
|
56620
|
-
L.style.left = `${
|
|
56621
|
-
let ne =
|
|
56633
|
+
L.style.left = `${fW(j, 5, z - u.width)}px`, L.style.height = `${P}px`, L.style.maxHeight = "none", L.style.marginTop = `${x}px`, L.style.marginBottom = `${S}px`, e.style.height = "100%";
|
|
56634
|
+
let ne = eG(h), re = I >= ne - 1;
|
|
56622
56635
|
re && (P = Math.min(T, u.height) - (I - ne));
|
|
56623
56636
|
let ie = l.top < 20 || l.bottom > T - 20 || Math.ceil(P) + 1 < Math.min(g, C), ae = (r.visualViewport?.scale ?? 1) !== 1 && _a;
|
|
56624
56637
|
if (ie || ae) {
|
|
56625
|
-
|
|
56638
|
+
RW(L, B.current), E(!1);
|
|
56626
56639
|
return;
|
|
56627
56640
|
}
|
|
56628
56641
|
let oe = Math.max(C, P);
|
|
56629
56642
|
if (re) {
|
|
56630
56643
|
let e = Math.max(0, T - N);
|
|
56631
|
-
L.style.top = u.height >= F ? "0" : `${e}px`, L.style.height = `${P}px`, h.scrollTop =
|
|
56644
|
+
L.style.top = u.height >= F ? "0" : `${e}px`, L.style.height = `${P}px`, h.scrollTop = eG(h);
|
|
56632
56645
|
} else L.style.bottom = "0", h.scrollTop = I;
|
|
56633
56646
|
if (A) {
|
|
56634
|
-
let t = u.top, n = u.height, r = A.top + A.height / 2, i =
|
|
56647
|
+
let t = u.top, n = u.height, r = A.top + A.height / 2, i = fW(n > 0 ? (r - t) / n * 100 : 50, 0, 100);
|
|
56635
56648
|
e.style.setProperty("--transform-origin", `50% ${i}%`);
|
|
56636
56649
|
}
|
|
56637
56650
|
(oe === T || P >= w) && (R.current = !0), _(h), b && s.state.selectedIndex === null && s.state.activeIndex === null && y.current[0] != null && s.set("activeIndex", 0);
|
|
@@ -56684,12 +56697,12 @@ var XW = {
|
|
|
56684
56697
|
onScroll(e) {
|
|
56685
56698
|
te || re(e.currentTarget);
|
|
56686
56699
|
},
|
|
56687
|
-
...w && { style: te ? { height: "100%" } :
|
|
56688
|
-
className: !te && w ?
|
|
56700
|
+
...w && { style: te ? { height: "100%" } : zW },
|
|
56701
|
+
className: !te && w ? GW.className : void 0
|
|
56689
56702
|
}, oe = Ut("div", e, {
|
|
56690
56703
|
ref: [t, c],
|
|
56691
56704
|
state: ie,
|
|
56692
|
-
stateAttributesMapping:
|
|
56705
|
+
stateAttributesMapping: ZW,
|
|
56693
56706
|
props: [
|
|
56694
56707
|
F,
|
|
56695
56708
|
ae,
|
|
@@ -56697,7 +56710,7 @@ var XW = {
|
|
|
56697
56710
|
o
|
|
56698
56711
|
]
|
|
56699
56712
|
});
|
|
56700
|
-
return /*#__PURE__*/ (0, g.jsxs)(h.Fragment, { children: [!A &&
|
|
56713
|
+
return /*#__PURE__*/ (0, g.jsxs)(h.Fragment, { children: [!A && GW.getElement(k), /*#__PURE__*/ (0, g.jsx)(Fc, {
|
|
56701
56714
|
context: x,
|
|
56702
56715
|
modal: !1,
|
|
56703
56716
|
disabled: !P,
|
|
@@ -56707,38 +56720,38 @@ var XW = {
|
|
|
56707
56720
|
children: oe
|
|
56708
56721
|
})] });
|
|
56709
56722
|
});
|
|
56710
|
-
process.env.NODE_ENV !== "production" && (
|
|
56711
|
-
function
|
|
56723
|
+
process.env.NODE_ENV !== "production" && (QW.displayName = "SelectPopup");
|
|
56724
|
+
function $W(e) {
|
|
56712
56725
|
let t = e.maxHeight;
|
|
56713
56726
|
return t.endsWith("px") && parseFloat(t) || Infinity;
|
|
56714
56727
|
}
|
|
56715
|
-
function $W(e) {
|
|
56716
|
-
return fW(e.scrollHeight, e.clientHeight);
|
|
56717
|
-
}
|
|
56718
56728
|
function eG(e) {
|
|
56729
|
+
return pW(e.scrollHeight, e.clientHeight);
|
|
56730
|
+
}
|
|
56731
|
+
function tG(e) {
|
|
56719
56732
|
return Sl.getScale(e);
|
|
56720
56733
|
}
|
|
56721
|
-
function
|
|
56734
|
+
function nG(e, t, n) {
|
|
56722
56735
|
return e / n[t];
|
|
56723
56736
|
}
|
|
56724
|
-
function
|
|
56737
|
+
function rG(e, t) {
|
|
56725
56738
|
return mo({
|
|
56726
|
-
x:
|
|
56727
|
-
y:
|
|
56728
|
-
width:
|
|
56729
|
-
height:
|
|
56739
|
+
x: nG(e.x, "x", t),
|
|
56740
|
+
y: nG(e.y, "y", t),
|
|
56741
|
+
width: nG(e.width, "x", t),
|
|
56742
|
+
height: nG(e.height, "y", t)
|
|
56730
56743
|
});
|
|
56731
56744
|
}
|
|
56732
|
-
var
|
|
56745
|
+
var iG = [
|
|
56733
56746
|
["transform", "none"],
|
|
56734
56747
|
["scale", "1"],
|
|
56735
56748
|
["translate", "0 0"]
|
|
56736
56749
|
];
|
|
56737
|
-
function
|
|
56750
|
+
function aG(e) {
|
|
56738
56751
|
let { style: t } = e, n = {};
|
|
56739
|
-
for (let [e, r] of
|
|
56752
|
+
for (let [e, r] of iG) n[e] = t.getPropertyValue(e), t.setProperty(e, r, "important");
|
|
56740
56753
|
return () => {
|
|
56741
|
-
for (let [e] of
|
|
56754
|
+
for (let [e] of iG) {
|
|
56742
56755
|
let r = n[e];
|
|
56743
56756
|
r ? t.setProperty(e, r) : t.removeProperty(e);
|
|
56744
56757
|
}
|
|
@@ -56746,27 +56759,27 @@ function iG(e) {
|
|
|
56746
56759
|
}
|
|
56747
56760
|
//#endregion
|
|
56748
56761
|
//#region node_modules/@base-ui/react/select/list/SelectList.mjs
|
|
56749
|
-
var
|
|
56750
|
-
let { render: n, className: r, style: i, ...a } = e, { store: o, scrollHandlerRef: s, multiple: c } =
|
|
56751
|
-
id: `${G(o,
|
|
56762
|
+
var oG = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
56763
|
+
let { render: n, className: r, style: i, ...a } = e, { store: o, scrollHandlerRef: s, multiple: c } = QU(), { alignItemWithTriggerActive: l } = LW(), u = G(o, uW.hasScrollArrows), d = G(o, uW.openMethod), f = {
|
|
56764
|
+
id: `${G(o, uW.id)}-list`,
|
|
56752
56765
|
role: "listbox",
|
|
56753
56766
|
"aria-multiselectable": c || void 0,
|
|
56754
56767
|
onScroll(e) {
|
|
56755
56768
|
s.current?.(e.currentTarget);
|
|
56756
56769
|
},
|
|
56757
|
-
...l && { style:
|
|
56758
|
-
className: u && d !== "touch" ?
|
|
56770
|
+
...l && { style: zW },
|
|
56771
|
+
className: u && d !== "touch" ? GW.className : void 0
|
|
56759
56772
|
};
|
|
56760
56773
|
return Ut("div", e, {
|
|
56761
56774
|
ref: [t, o.useStateSetter("listElement")],
|
|
56762
56775
|
props: [f, a]
|
|
56763
56776
|
});
|
|
56764
56777
|
});
|
|
56765
|
-
process.env.NODE_ENV !== "production" && (
|
|
56778
|
+
process.env.NODE_ENV !== "production" && (oG.displayName = "SelectList");
|
|
56766
56779
|
//#endregion
|
|
56767
56780
|
//#region node_modules/@base-ui/react/internals/composite/list/useCompositeListItem.mjs
|
|
56768
|
-
function
|
|
56769
|
-
let { guess: t, label: n, metadata: r, textRef: i, index: a } = e, { register: o, unregister: s, subscribeMapChange: c, nextIndexRef: l } =
|
|
56781
|
+
function sG(e = {}) {
|
|
56782
|
+
let { guess: t, label: n, metadata: r, textRef: i, index: a } = e, { register: o, unregister: s, subscribeMapChange: c, nextIndexRef: l } = OW(), u = h.useRef(-1), [d, f] = h.useState(a == null && t ? () => {
|
|
56770
56783
|
if (u.current === -1) {
|
|
56771
56784
|
let e = l.current;
|
|
56772
56785
|
l.current += 1, u.current = e;
|
|
@@ -56800,21 +56813,21 @@ function oG(e = {}) {
|
|
|
56800
56813
|
}
|
|
56801
56814
|
//#endregion
|
|
56802
56815
|
//#region node_modules/@base-ui/react/select/item/SelectItemContext.mjs
|
|
56803
|
-
var
|
|
56804
|
-
process.env.NODE_ENV !== "production" && (
|
|
56805
|
-
function
|
|
56806
|
-
let e = h.useContext(
|
|
56816
|
+
var cG = /*#__PURE__*/ h.createContext(void 0);
|
|
56817
|
+
process.env.NODE_ENV !== "production" && (cG.displayName = "SelectItemContext");
|
|
56818
|
+
function lG() {
|
|
56819
|
+
let e = h.useContext(cG);
|
|
56807
56820
|
if (!e) throw Error(process.env.NODE_ENV === "production" ? Ct(57) : "Base UI: SelectItemContext is missing. SelectItem parts must be placed within <Select.Item>.");
|
|
56808
56821
|
return e;
|
|
56809
56822
|
}
|
|
56810
56823
|
//#endregion
|
|
56811
56824
|
//#region node_modules/@base-ui/react/select/item/SelectItem.mjs
|
|
56812
|
-
var
|
|
56813
|
-
let { render: n, className: r, style: i, value: a = null, label: o, disabled: s = !1, nativeButton: c = !1, ...l } = e, u = h.useRef(null), d =
|
|
56825
|
+
var uG = /*#__PURE__*/ h.memo(/*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
56826
|
+
let { render: n, className: r, style: i, value: a = null, label: o, disabled: s = !1, nativeButton: c = !1, ...l } = e, u = h.useRef(null), d = sG({
|
|
56814
56827
|
guess: !0,
|
|
56815
56828
|
label: o,
|
|
56816
56829
|
textRef: u
|
|
56817
|
-
}), { store: f, itemProps: p, setOpen: m, setValue: _, selectionRef: v, typingRef: y, valuesRef: b, multiple: x, selectedItemTextRef: S, disabled: C, readOnly: w } =
|
|
56830
|
+
}), { store: f, itemProps: p, setOpen: m, setValue: _, selectionRef: v, typingRef: y, valuesRef: b, multiple: x, selectedItemTextRef: S, disabled: C, readOnly: w } = QU(), T = C || s, E = G(f, uW.isActive, d.index), D = G(f, uW.open), O = G(f, uW.isSelected, a), k = G(f, uW.isSelectedByFocus, d.index), A = G(f, uW.isItemEqualToValue), j = d.index, M = h.useRef(null);
|
|
56818
56831
|
rr(() => {
|
|
56819
56832
|
let e = b.current;
|
|
56820
56833
|
return e[j] = a, () => {
|
|
@@ -56826,7 +56839,7 @@ var lG = /*#__PURE__*/ h.memo(/*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
56826
56839
|
b
|
|
56827
56840
|
]), rr(() => {
|
|
56828
56841
|
let e = f.state.value, t = e;
|
|
56829
|
-
x && Array.isArray(e) && (t = e.length > 0 ? e[e.length - 1] : void 0), t !== void 0 &&
|
|
56842
|
+
x && Array.isArray(e) && (t = e.length > 0 ? e[e.length - 1] : void 0), t !== void 0 && eW(a, t, A) && (f.set("selectedIndex", j), u.current && (S.current = u.current));
|
|
56830
56843
|
}, [
|
|
56831
56844
|
j,
|
|
56832
56845
|
x,
|
|
@@ -56849,7 +56862,7 @@ var lG = /*#__PURE__*/ h.memo(/*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
56849
56862
|
if (C || w) return;
|
|
56850
56863
|
let t = f.state.value;
|
|
56851
56864
|
if (x) {
|
|
56852
|
-
let n = Array.isArray(t) ? t : [], r = O ?
|
|
56865
|
+
let n = Array.isArray(t) ? t : [], r = O ? nW(n, a, A) : [...n, a];
|
|
56853
56866
|
_(r, Ds(gs, e));
|
|
56854
56867
|
} else _(a, Ds(gs, e)), m(!1, Ds(gs, e));
|
|
56855
56868
|
}
|
|
@@ -56909,24 +56922,24 @@ var lG = /*#__PURE__*/ h.memo(/*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
56909
56922
|
u,
|
|
56910
56923
|
k
|
|
56911
56924
|
]);
|
|
56912
|
-
return /*#__PURE__*/ (0, g.jsx)(
|
|
56925
|
+
return /*#__PURE__*/ (0, g.jsx)(cG.Provider, {
|
|
56913
56926
|
value: B,
|
|
56914
56927
|
children: z
|
|
56915
56928
|
});
|
|
56916
56929
|
}));
|
|
56917
|
-
process.env.NODE_ENV !== "production" && (
|
|
56930
|
+
process.env.NODE_ENV !== "production" && (uG.displayName = "SelectItem");
|
|
56918
56931
|
//#endregion
|
|
56919
56932
|
//#region node_modules/@base-ui/react/select/item-indicator/SelectItemIndicator.mjs
|
|
56920
|
-
var
|
|
56921
|
-
let { selected: n } =
|
|
56922
|
-
return e.keepMounted || n ? /*#__PURE__*/ (0, g.jsx)(
|
|
56933
|
+
var dG = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
56934
|
+
let { selected: n } = lG();
|
|
56935
|
+
return e.keepMounted || n ? /*#__PURE__*/ (0, g.jsx)(fG, {
|
|
56923
56936
|
...e,
|
|
56924
56937
|
ref: t
|
|
56925
56938
|
}) : null;
|
|
56926
56939
|
});
|
|
56927
|
-
process.env.NODE_ENV !== "production" && (
|
|
56928
|
-
var
|
|
56929
|
-
let { render: n, className: r, style: i, keepMounted: a, ...o } = e, { selected: s } =
|
|
56940
|
+
process.env.NODE_ENV !== "production" && (dG.displayName = "SelectItemIndicator");
|
|
56941
|
+
var fG = /*#__PURE__*/ h.memo(/*#__PURE__*/ h.forwardRef((e, t) => {
|
|
56942
|
+
let { render: n, className: r, style: i, keepMounted: a, ...o } = e, { selected: s } = lG(), c = h.useRef(null), { transitionStatus: l, setMounted: u } = ls(s), d = Ut("span", e, {
|
|
56930
56943
|
ref: [t, c],
|
|
56931
56944
|
state: {
|
|
56932
56945
|
selected: s,
|
|
@@ -56946,11 +56959,11 @@ var dG = /*#__PURE__*/ h.memo(/*#__PURE__*/ h.forwardRef((e, t) => {
|
|
|
56946
56959
|
}
|
|
56947
56960
|
}), d;
|
|
56948
56961
|
}));
|
|
56949
|
-
process.env.NODE_ENV !== "production" && (
|
|
56962
|
+
process.env.NODE_ENV !== "production" && (fG.displayName = "Inner");
|
|
56950
56963
|
//#endregion
|
|
56951
56964
|
//#region node_modules/@base-ui/react/select/item-text/SelectItemText.mjs
|
|
56952
|
-
var
|
|
56953
|
-
let { index: n, textRef: r, selectedByFocus: i } =
|
|
56965
|
+
var pG = /*#__PURE__*/ h.memo(/*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
56966
|
+
let { index: n, textRef: r, selectedByFocus: i } = lG(), { firstItemTextRef: a, selectedItemTextRef: o } = QU(), { render: s, className: c, style: l, ...u } = e;
|
|
56954
56967
|
return Ut("div", e, {
|
|
56955
56968
|
ref: [
|
|
56956
56969
|
h.useCallback((e) => {
|
|
@@ -56967,11 +56980,11 @@ var fG = /*#__PURE__*/ h.memo(/*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
56967
56980
|
props: u
|
|
56968
56981
|
});
|
|
56969
56982
|
}));
|
|
56970
|
-
process.env.NODE_ENV !== "production" && (
|
|
56983
|
+
process.env.NODE_ENV !== "production" && (pG.displayName = "SelectItemText");
|
|
56971
56984
|
//#endregion
|
|
56972
56985
|
//#region node_modules/@base-ui/react/select/scroll-arrow/SelectScrollArrow.mjs
|
|
56973
|
-
var
|
|
56974
|
-
let { render: n, className: r, style: i, direction: a, keepMounted: o, ...s } = e, c = a === "up", { store: l, popupRef: u, listRef: d, handleScrollArrowVisibility: f, scrollArrowsMountedCountRef: p } =
|
|
56986
|
+
var mG = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
56987
|
+
let { render: n, className: r, style: i, direction: a, keepMounted: o, ...s } = e, c = a === "up", { store: l, popupRef: u, listRef: d, handleScrollArrowVisibility: f, scrollArrowsMountedCountRef: p } = QU(), { side: m, scrollDownArrowRef: h, scrollUpArrowRef: g } = LW(), _ = G(l, c ? uW.scrollUpArrowVisible : uW.scrollDownArrowVisible), v = G(l, uW.openMethod), y = _ && v !== "touch", b = qo(), x = c ? g : h, { mounted: S, transitionStatus: C, setMounted: w } = ls(y);
|
|
56975
56988
|
rr(() => (p.current += 1, l.set("hasScrollArrows", !0), () => {
|
|
56976
56989
|
p.current = Math.max(0, p.current - 1), p.current === 0 && l.set("hasScrollArrows", !1);
|
|
56977
56990
|
}), [l, p]), is({
|
|
@@ -57000,14 +57013,14 @@ var pG = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
57000
57013
|
let e = l.state.listElement ?? u.current;
|
|
57001
57014
|
if (!e) return;
|
|
57002
57015
|
l.set("activeIndex", null), f(e);
|
|
57003
|
-
let n =
|
|
57016
|
+
let n = pW(e.scrollHeight, e.clientHeight), r = mW(e.scrollTop, n), i = r === (c ? 0 : n), a = d.current;
|
|
57004
57017
|
if (r !== e.scrollTop && (e.scrollTop = r), i) {
|
|
57005
57018
|
b.clear();
|
|
57006
57019
|
return;
|
|
57007
57020
|
}
|
|
57008
57021
|
if (a.length > 0) {
|
|
57009
57022
|
let t = x.current?.offsetHeight || 0;
|
|
57010
|
-
e.scrollTop =
|
|
57023
|
+
e.scrollTop = hG(a, c, r, e.clientHeight, t, n);
|
|
57011
57024
|
}
|
|
57012
57025
|
b.start(40, t);
|
|
57013
57026
|
}
|
|
@@ -57021,8 +57034,8 @@ var pG = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
57021
57034
|
});
|
|
57022
57035
|
return S || o ? T : null;
|
|
57023
57036
|
});
|
|
57024
|
-
process.env.NODE_ENV !== "production" && (
|
|
57025
|
-
function
|
|
57037
|
+
process.env.NODE_ENV !== "production" && (mG.displayName = "SelectScrollArrow");
|
|
57038
|
+
function hG(e, t, n, r, i, a) {
|
|
57026
57039
|
if (t) {
|
|
57027
57040
|
let t = 0, r = n + i - 1;
|
|
57028
57041
|
for (let n = 0; n < e.length; n += 1) {
|
|
@@ -57033,7 +57046,7 @@ function mG(e, t, n, r, i, a) {
|
|
|
57033
57046
|
}
|
|
57034
57047
|
}
|
|
57035
57048
|
let o = Math.max(0, t - 1), s = e[o];
|
|
57036
|
-
return o < t && s ?
|
|
57049
|
+
return o < t && s ? mW(s.offsetTop - i, a) : 0;
|
|
57037
57050
|
}
|
|
57038
57051
|
let o = e.length - 1, s = n + r - i + 1;
|
|
57039
57052
|
for (let t = 0; t < e.length; t += 1) {
|
|
@@ -57044,92 +57057,92 @@ function mG(e, t, n, r, i, a) {
|
|
|
57044
57057
|
}
|
|
57045
57058
|
}
|
|
57046
57059
|
let c = Math.min(e.length - 1, o + 1), l = e[c];
|
|
57047
|
-
return c > o && l ?
|
|
57060
|
+
return c > o && l ? mW(l.offsetTop + l.offsetHeight - r + i, a) : a;
|
|
57048
57061
|
}
|
|
57049
57062
|
//#endregion
|
|
57050
57063
|
//#region node_modules/@base-ui/react/select/scroll-down-arrow/SelectScrollDownArrow.mjs
|
|
57051
|
-
var
|
|
57052
|
-
return /*#__PURE__*/ (0, g.jsx)(
|
|
57064
|
+
var gG = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
57065
|
+
return /*#__PURE__*/ (0, g.jsx)(mG, {
|
|
57053
57066
|
...e,
|
|
57054
57067
|
ref: t,
|
|
57055
57068
|
direction: "down"
|
|
57056
57069
|
});
|
|
57057
57070
|
});
|
|
57058
|
-
process.env.NODE_ENV !== "production" && (
|
|
57071
|
+
process.env.NODE_ENV !== "production" && (gG.displayName = "SelectScrollDownArrow");
|
|
57059
57072
|
//#endregion
|
|
57060
57073
|
//#region node_modules/@base-ui/react/select/scroll-up-arrow/SelectScrollUpArrow.mjs
|
|
57061
|
-
var
|
|
57062
|
-
return /*#__PURE__*/ (0, g.jsx)(
|
|
57074
|
+
var _G = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
57075
|
+
return /*#__PURE__*/ (0, g.jsx)(mG, {
|
|
57063
57076
|
...e,
|
|
57064
57077
|
ref: t,
|
|
57065
57078
|
direction: "up"
|
|
57066
57079
|
});
|
|
57067
57080
|
});
|
|
57068
|
-
process.env.NODE_ENV !== "production" && (
|
|
57081
|
+
process.env.NODE_ENV !== "production" && (_G.displayName = "SelectScrollUpArrow");
|
|
57069
57082
|
//#endregion
|
|
57070
57083
|
//#region src/client/components/ui/select.tsx
|
|
57071
|
-
var
|
|
57072
|
-
function
|
|
57073
|
-
return /* @__PURE__ */ (0, g.jsx)(
|
|
57084
|
+
var vG = hW;
|
|
57085
|
+
function yG({ className: e, ...t }) {
|
|
57086
|
+
return /* @__PURE__ */ (0, g.jsx)(wW, {
|
|
57074
57087
|
"data-slot": "select-value",
|
|
57075
57088
|
className: zi("flex flex-1 text-left", e),
|
|
57076
57089
|
...t
|
|
57077
57090
|
});
|
|
57078
57091
|
}
|
|
57079
|
-
function
|
|
57080
|
-
return /* @__PURE__ */ (0, g.jsxs)(
|
|
57092
|
+
function bG({ className: e, size: t = "default", children: n, ...r }) {
|
|
57093
|
+
return /* @__PURE__ */ (0, g.jsxs)(SW, {
|
|
57081
57094
|
"data-slot": "select-trigger",
|
|
57082
57095
|
"data-size": t,
|
|
57083
57096
|
className: zi("flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
57084
57097
|
...r,
|
|
57085
|
-
children: [n, /* @__PURE__ */ (0, g.jsx)(
|
|
57098
|
+
children: [n, /* @__PURE__ */ (0, g.jsx)(TW, { render: /* @__PURE__ */ (0, g.jsx)(_n, { className: "pointer-events-none size-4 text-muted-foreground" }) })]
|
|
57086
57099
|
});
|
|
57087
57100
|
}
|
|
57088
|
-
function
|
|
57089
|
-
return /* @__PURE__ */ (0, g.jsx)(
|
|
57101
|
+
function xG({ className: e, children: t, side: n = "bottom", sideOffset: r = 4, align: i = "center", alignOffset: a = 0, alignItemWithTrigger: o = !0, ...s }) {
|
|
57102
|
+
return /* @__PURE__ */ (0, g.jsx)(EW, { children: /* @__PURE__ */ (0, g.jsx)(UW, {
|
|
57090
57103
|
side: n,
|
|
57091
57104
|
sideOffset: r,
|
|
57092
57105
|
align: i,
|
|
57093
57106
|
alignOffset: a,
|
|
57094
57107
|
alignItemWithTrigger: o,
|
|
57095
57108
|
className: "isolate z-50",
|
|
57096
|
-
children: /* @__PURE__ */ (0, g.jsxs)(
|
|
57109
|
+
children: /* @__PURE__ */ (0, g.jsxs)(QW, {
|
|
57097
57110
|
"data-slot": "select-content",
|
|
57098
57111
|
"data-align-trigger": o,
|
|
57099
57112
|
className: zi("relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
57100
57113
|
...s,
|
|
57101
57114
|
children: [
|
|
57102
|
-
/* @__PURE__ */ (0, g.jsx)(
|
|
57103
|
-
/* @__PURE__ */ (0, g.jsx)(
|
|
57104
|
-
/* @__PURE__ */ (0, g.jsx)(
|
|
57115
|
+
/* @__PURE__ */ (0, g.jsx)(CG, {}),
|
|
57116
|
+
/* @__PURE__ */ (0, g.jsx)(oG, { children: t }),
|
|
57117
|
+
/* @__PURE__ */ (0, g.jsx)(wG, {})
|
|
57105
57118
|
]
|
|
57106
57119
|
})
|
|
57107
57120
|
}) });
|
|
57108
57121
|
}
|
|
57109
|
-
function
|
|
57110
|
-
return /* @__PURE__ */ (0, g.jsxs)(
|
|
57122
|
+
function SG({ className: e, children: t, ...n }) {
|
|
57123
|
+
return /* @__PURE__ */ (0, g.jsxs)(uG, {
|
|
57111
57124
|
"data-slot": "select-item",
|
|
57112
57125
|
className: zi("relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", e),
|
|
57113
57126
|
...n,
|
|
57114
|
-
children: [/* @__PURE__ */ (0, g.jsx)(
|
|
57127
|
+
children: [/* @__PURE__ */ (0, g.jsx)(pG, {
|
|
57115
57128
|
className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap",
|
|
57116
57129
|
children: t
|
|
57117
|
-
}), /* @__PURE__ */ (0, g.jsx)(
|
|
57130
|
+
}), /* @__PURE__ */ (0, g.jsx)(dG, {
|
|
57118
57131
|
render: /* @__PURE__ */ (0, g.jsx)("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
|
|
57119
57132
|
children: /* @__PURE__ */ (0, g.jsx)(gn, { className: "pointer-events-none" })
|
|
57120
57133
|
})]
|
|
57121
57134
|
});
|
|
57122
57135
|
}
|
|
57123
|
-
function
|
|
57124
|
-
return /* @__PURE__ */ (0, g.jsx)(
|
|
57136
|
+
function CG({ className: e, ...t }) {
|
|
57137
|
+
return /* @__PURE__ */ (0, g.jsx)(_G, {
|
|
57125
57138
|
"data-slot": "select-scroll-up-button",
|
|
57126
57139
|
className: zi("top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", e),
|
|
57127
57140
|
...t,
|
|
57128
57141
|
children: /* @__PURE__ */ (0, g.jsx)(yn, {})
|
|
57129
57142
|
});
|
|
57130
57143
|
}
|
|
57131
|
-
function
|
|
57132
|
-
return /* @__PURE__ */ (0, g.jsx)(
|
|
57144
|
+
function wG({ className: e, ...t }) {
|
|
57145
|
+
return /* @__PURE__ */ (0, g.jsx)(gG, {
|
|
57133
57146
|
"data-slot": "select-scroll-down-button",
|
|
57134
57147
|
className: zi("bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", e),
|
|
57135
57148
|
...t,
|
|
@@ -57137,62 +57150,8 @@ function CG({ className: e, ...t }) {
|
|
|
57137
57150
|
});
|
|
57138
57151
|
}
|
|
57139
57152
|
//#endregion
|
|
57140
|
-
//#region src/client/
|
|
57141
|
-
function
|
|
57142
|
-
return /* @__PURE__ */ (0, g.jsx)("textarea", {
|
|
57143
|
-
"data-slot": "textarea",
|
|
57144
|
-
className: zi("flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", e),
|
|
57145
|
-
...t
|
|
57146
|
-
});
|
|
57147
|
-
}
|
|
57148
|
-
//#endregion
|
|
57149
|
-
//#region src/client/features/content/field-widgets.tsx
|
|
57150
|
-
function TG(e) {
|
|
57151
|
-
return e.initial === void 0 || e.initial === null ? void 0 : String(e.initial);
|
|
57152
|
-
}
|
|
57153
|
-
function EG({ node: e, value: t, onChange: n, issues: r, id: i, display: a }) {
|
|
57154
|
-
switch (e.kind) {
|
|
57155
|
-
case "string": return /* @__PURE__ */ (0, g.jsx)(DG, {
|
|
57156
|
-
id: i,
|
|
57157
|
-
value: t,
|
|
57158
|
-
onChange: n,
|
|
57159
|
-
placeholder: TG(e)
|
|
57160
|
-
});
|
|
57161
|
-
case "number": return /* @__PURE__ */ (0, g.jsx)(OG, {
|
|
57162
|
-
id: i,
|
|
57163
|
-
value: t,
|
|
57164
|
-
onChange: n,
|
|
57165
|
-
placeholder: TG(e)
|
|
57166
|
-
});
|
|
57167
|
-
case "boolean": return /* @__PURE__ */ (0, g.jsx)(AG, {
|
|
57168
|
-
label: e.label,
|
|
57169
|
-
value: t,
|
|
57170
|
-
onChange: n,
|
|
57171
|
-
initial: e.initial
|
|
57172
|
-
});
|
|
57173
|
-
case "enum": return /* @__PURE__ */ (0, g.jsx)(jG, {
|
|
57174
|
-
id: i,
|
|
57175
|
-
options: e.options,
|
|
57176
|
-
value: t,
|
|
57177
|
-
onChange: n,
|
|
57178
|
-
placeholder: TG(e) ?? "—"
|
|
57179
|
-
});
|
|
57180
|
-
case "image": return /* @__PURE__ */ (0, g.jsx)(MG, { value: a ?? t });
|
|
57181
|
-
case "array": return /* @__PURE__ */ (0, g.jsx)(PG, {
|
|
57182
|
-
node: e,
|
|
57183
|
-
value: t,
|
|
57184
|
-
onChange: n,
|
|
57185
|
-
issues: r
|
|
57186
|
-
});
|
|
57187
|
-
case "raw": return /* @__PURE__ */ (0, g.jsx)(IG, {
|
|
57188
|
-
id: i,
|
|
57189
|
-
node: e,
|
|
57190
|
-
value: t,
|
|
57191
|
-
onChange: n
|
|
57192
|
-
});
|
|
57193
|
-
}
|
|
57194
|
-
}
|
|
57195
|
-
function DG({ value: e, onChange: t, id: n, ariaLabel: r, placeholder: i }) {
|
|
57153
|
+
//#region src/client/features/content/value-widgets.tsx
|
|
57154
|
+
function TG({ value: e, onChange: t, id: n, ariaLabel: r, placeholder: i }) {
|
|
57196
57155
|
return /* @__PURE__ */ (0, g.jsx)(As, {
|
|
57197
57156
|
id: n,
|
|
57198
57157
|
"aria-label": r,
|
|
@@ -57201,92 +57160,69 @@ function DG({ value: e, onChange: t, id: n, ariaLabel: r, placeholder: i }) {
|
|
|
57201
57160
|
onChange: (e) => t(e.target.value)
|
|
57202
57161
|
});
|
|
57203
57162
|
}
|
|
57204
|
-
function
|
|
57163
|
+
function EG({ value: e, onChange: t, id: n, ariaLabel: r, placeholder: i }) {
|
|
57205
57164
|
return /* @__PURE__ */ (0, g.jsx)(As, {
|
|
57206
57165
|
id: n,
|
|
57207
57166
|
"aria-label": r,
|
|
57208
57167
|
type: "number",
|
|
57209
57168
|
value: e == null ? "" : String(e),
|
|
57210
57169
|
placeholder: i,
|
|
57211
|
-
onChange: (e) => t(
|
|
57170
|
+
onChange: (e) => t(DG(e.target.value))
|
|
57212
57171
|
});
|
|
57213
57172
|
}
|
|
57214
|
-
function
|
|
57173
|
+
function DG(e) {
|
|
57215
57174
|
if (e === "") return;
|
|
57216
57175
|
let t = Number(e);
|
|
57217
57176
|
return Number.isNaN(t) ? void 0 : t;
|
|
57218
57177
|
}
|
|
57219
|
-
function
|
|
57220
|
-
return /* @__PURE__ */ (0, g.jsx)(
|
|
57178
|
+
function OG({ label: e, value: t, onChange: n, initial: r }) {
|
|
57179
|
+
return /* @__PURE__ */ (0, g.jsx)(JU, {
|
|
57221
57180
|
"aria-label": e,
|
|
57222
57181
|
checked: t === void 0 ? !!r : !!t,
|
|
57223
57182
|
onCheckedChange: (e) => n(!!e)
|
|
57224
57183
|
});
|
|
57225
57184
|
}
|
|
57226
|
-
function
|
|
57227
|
-
return /* @__PURE__ */ (0, g.jsxs)(
|
|
57185
|
+
function kG({ options: e, value: t, onChange: n, id: r, ariaLabel: i, placeholder: a }) {
|
|
57186
|
+
return /* @__PURE__ */ (0, g.jsxs)(vG, {
|
|
57228
57187
|
items: e.map((e) => ({
|
|
57229
57188
|
value: e,
|
|
57230
57189
|
label: String(e)
|
|
57231
57190
|
})),
|
|
57232
57191
|
value: t ?? null,
|
|
57233
57192
|
onValueChange: (e) => n(e),
|
|
57234
|
-
children: [/* @__PURE__ */ (0, g.jsx)(
|
|
57193
|
+
children: [/* @__PURE__ */ (0, g.jsx)(bG, {
|
|
57235
57194
|
id: r,
|
|
57236
57195
|
"aria-label": i,
|
|
57237
|
-
children: /* @__PURE__ */ (0, g.jsx)(
|
|
57238
|
-
}), /* @__PURE__ */ (0, g.jsx)(
|
|
57196
|
+
children: /* @__PURE__ */ (0, g.jsx)(yG, { placeholder: a })
|
|
57197
|
+
}), /* @__PURE__ */ (0, g.jsx)(xG, {
|
|
57239
57198
|
className: "dark",
|
|
57240
|
-
children: e.map((e) => /* @__PURE__ */ (0, g.jsx)(
|
|
57199
|
+
children: e.map((e) => /* @__PURE__ */ (0, g.jsx)(SG, {
|
|
57241
57200
|
value: e,
|
|
57242
57201
|
children: String(e)
|
|
57243
57202
|
}, String(e)))
|
|
57244
57203
|
})]
|
|
57245
57204
|
});
|
|
57246
57205
|
}
|
|
57247
|
-
|
|
57248
|
-
|
|
57249
|
-
|
|
57250
|
-
["width", t.width],
|
|
57251
|
-
["height", t.height]
|
|
57252
|
-
].filter(([, e]) => e != null);
|
|
57253
|
-
return n.length === 0 ? /* @__PURE__ */ (0, g.jsx)("p", {
|
|
57254
|
-
"data-astroix-image-field": "empty",
|
|
57255
|
-
className: "text-xs text-muted-foreground",
|
|
57256
|
-
children: "no image data"
|
|
57257
|
-
}) : /* @__PURE__ */ (0, g.jsx)("dl", {
|
|
57258
|
-
"data-astroix-image-field": "meta",
|
|
57259
|
-
className: "flex flex-col gap-0.5 text-xs text-muted-foreground",
|
|
57260
|
-
children: n.map(([e, t]) => /* @__PURE__ */ (0, g.jsxs)("div", {
|
|
57261
|
-
className: "flex gap-2",
|
|
57262
|
-
children: [/* @__PURE__ */ (0, g.jsx)("dt", {
|
|
57263
|
-
className: "w-12 shrink-0",
|
|
57264
|
-
children: e
|
|
57265
|
-
}), /* @__PURE__ */ (0, g.jsx)("dd", {
|
|
57266
|
-
className: "truncate font-mono",
|
|
57267
|
-
children: String(t)
|
|
57268
|
-
})]
|
|
57269
|
-
}, e))
|
|
57270
|
-
});
|
|
57271
|
-
}
|
|
57272
|
-
function NG({ item: e, value: t, onChange: n, ariaLabel: r }) {
|
|
57206
|
+
//#endregion
|
|
57207
|
+
//#region src/client/features/content/array-rows.tsx
|
|
57208
|
+
function AG({ item: e, value: t, onChange: n, ariaLabel: r }) {
|
|
57273
57209
|
switch (e.kind) {
|
|
57274
|
-
case "string": return /* @__PURE__ */ (0, g.jsx)(
|
|
57210
|
+
case "string": return /* @__PURE__ */ (0, g.jsx)(TG, {
|
|
57275
57211
|
ariaLabel: r,
|
|
57276
57212
|
value: t,
|
|
57277
57213
|
onChange: n
|
|
57278
57214
|
});
|
|
57279
|
-
case "number": return /* @__PURE__ */ (0, g.jsx)(
|
|
57215
|
+
case "number": return /* @__PURE__ */ (0, g.jsx)(EG, {
|
|
57280
57216
|
ariaLabel: r,
|
|
57281
57217
|
value: t,
|
|
57282
57218
|
onChange: n
|
|
57283
57219
|
});
|
|
57284
|
-
case "boolean": return /* @__PURE__ */ (0, g.jsx)(
|
|
57220
|
+
case "boolean": return /* @__PURE__ */ (0, g.jsx)(OG, {
|
|
57285
57221
|
label: r,
|
|
57286
57222
|
value: t,
|
|
57287
57223
|
onChange: n
|
|
57288
57224
|
});
|
|
57289
|
-
case "enum": return /* @__PURE__ */ (0, g.jsx)(
|
|
57225
|
+
case "enum": return /* @__PURE__ */ (0, g.jsx)(kG, {
|
|
57290
57226
|
ariaLabel: r,
|
|
57291
57227
|
options: e.options ?? [],
|
|
57292
57228
|
value: t,
|
|
@@ -57294,7 +57230,7 @@ function NG({ item: e, value: t, onChange: n, ariaLabel: r }) {
|
|
|
57294
57230
|
});
|
|
57295
57231
|
}
|
|
57296
57232
|
}
|
|
57297
|
-
function
|
|
57233
|
+
function jG({ node: e, value: t, onChange: n, issues: r }) {
|
|
57298
57234
|
let i = Array.isArray(t) ? t : [];
|
|
57299
57235
|
return /* @__PURE__ */ (0, g.jsxs)("div", {
|
|
57300
57236
|
className: "flex flex-col gap-2",
|
|
@@ -57303,7 +57239,7 @@ function PG({ node: e, value: t, onChange: n, issues: r }) {
|
|
|
57303
57239
|
children: [/* @__PURE__ */ (0, g.jsxs)("div", {
|
|
57304
57240
|
className: "min-w-0 flex-1",
|
|
57305
57241
|
"data-astroix-form-field": `${e.path}.${a}`,
|
|
57306
|
-
children: [/* @__PURE__ */ (0, g.jsx)(
|
|
57242
|
+
children: [/* @__PURE__ */ (0, g.jsx)(AG, {
|
|
57307
57243
|
item: e.item,
|
|
57308
57244
|
value: t,
|
|
57309
57245
|
ariaLabel: `${e.label} ${a + 1}`,
|
|
@@ -57328,7 +57264,7 @@ function PG({ node: e, value: t, onChange: n, issues: r }) {
|
|
|
57328
57264
|
size: "xs",
|
|
57329
57265
|
className: "w-fit",
|
|
57330
57266
|
"data-astroix-array-add": e.path,
|
|
57331
|
-
onClick: () => n([...i,
|
|
57267
|
+
onClick: () => n([...i, MG(e.item)]),
|
|
57332
57268
|
children: [
|
|
57333
57269
|
"Add ",
|
|
57334
57270
|
e.label,
|
|
@@ -57337,7 +57273,7 @@ function PG({ node: e, value: t, onChange: n, issues: r }) {
|
|
|
57337
57273
|
})]
|
|
57338
57274
|
});
|
|
57339
57275
|
}
|
|
57340
|
-
function
|
|
57276
|
+
function MG(e) {
|
|
57341
57277
|
switch (e.kind) {
|
|
57342
57278
|
case "string": return "";
|
|
57343
57279
|
case "number": return 0;
|
|
@@ -57345,6 +57281,78 @@ function FG(e) {
|
|
|
57345
57281
|
case "enum": return e.options?.[0] ?? "";
|
|
57346
57282
|
}
|
|
57347
57283
|
}
|
|
57284
|
+
//#endregion
|
|
57285
|
+
//#region src/client/features/content/field-widgets.tsx
|
|
57286
|
+
function NG(e) {
|
|
57287
|
+
return e.initial === void 0 || e.initial === null ? void 0 : String(e.initial);
|
|
57288
|
+
}
|
|
57289
|
+
function PG({ node: e, value: t, onChange: n, issues: r, id: i, display: a }) {
|
|
57290
|
+
switch (e.kind) {
|
|
57291
|
+
case "string": return /* @__PURE__ */ (0, g.jsx)(TG, {
|
|
57292
|
+
id: i,
|
|
57293
|
+
value: t,
|
|
57294
|
+
onChange: n,
|
|
57295
|
+
placeholder: NG(e)
|
|
57296
|
+
});
|
|
57297
|
+
case "number": return /* @__PURE__ */ (0, g.jsx)(EG, {
|
|
57298
|
+
id: i,
|
|
57299
|
+
value: t,
|
|
57300
|
+
onChange: n,
|
|
57301
|
+
placeholder: NG(e)
|
|
57302
|
+
});
|
|
57303
|
+
case "boolean": return /* @__PURE__ */ (0, g.jsx)(OG, {
|
|
57304
|
+
label: e.label,
|
|
57305
|
+
value: t,
|
|
57306
|
+
onChange: n,
|
|
57307
|
+
initial: e.initial
|
|
57308
|
+
});
|
|
57309
|
+
case "enum": return /* @__PURE__ */ (0, g.jsx)(kG, {
|
|
57310
|
+
id: i,
|
|
57311
|
+
options: e.options,
|
|
57312
|
+
value: t,
|
|
57313
|
+
onChange: n,
|
|
57314
|
+
placeholder: NG(e) ?? "—"
|
|
57315
|
+
});
|
|
57316
|
+
case "image": return /* @__PURE__ */ (0, g.jsx)(FG, { value: a ?? t });
|
|
57317
|
+
case "array": return /* @__PURE__ */ (0, g.jsx)(jG, {
|
|
57318
|
+
node: e,
|
|
57319
|
+
value: t,
|
|
57320
|
+
onChange: n,
|
|
57321
|
+
issues: r
|
|
57322
|
+
});
|
|
57323
|
+
case "raw": return /* @__PURE__ */ (0, g.jsx)(IG, {
|
|
57324
|
+
id: i,
|
|
57325
|
+
node: e,
|
|
57326
|
+
value: t,
|
|
57327
|
+
onChange: n
|
|
57328
|
+
});
|
|
57329
|
+
}
|
|
57330
|
+
}
|
|
57331
|
+
function FG({ value: e }) {
|
|
57332
|
+
let t = e ?? {}, n = [
|
|
57333
|
+
["src", t.src],
|
|
57334
|
+
["width", t.width],
|
|
57335
|
+
["height", t.height]
|
|
57336
|
+
].filter(([, e]) => e != null);
|
|
57337
|
+
return n.length === 0 ? /* @__PURE__ */ (0, g.jsx)("p", {
|
|
57338
|
+
"data-astroix-image-field": "empty",
|
|
57339
|
+
className: "text-xs text-muted-foreground",
|
|
57340
|
+
children: "no image data"
|
|
57341
|
+
}) : /* @__PURE__ */ (0, g.jsx)("dl", {
|
|
57342
|
+
"data-astroix-image-field": "meta",
|
|
57343
|
+
className: "flex flex-col gap-0.5 text-xs text-muted-foreground",
|
|
57344
|
+
children: n.map(([e, t]) => /* @__PURE__ */ (0, g.jsxs)("div", {
|
|
57345
|
+
className: "flex gap-2",
|
|
57346
|
+
children: [/* @__PURE__ */ (0, g.jsx)("dt", {
|
|
57347
|
+
className: "w-12 shrink-0",
|
|
57348
|
+
children: e
|
|
57349
|
+
}), /* @__PURE__ */ (0, g.jsx)("dd", {
|
|
57350
|
+
className: "truncate font-mono",
|
|
57351
|
+
children: String(t)
|
|
57352
|
+
})]
|
|
57353
|
+
}, e))
|
|
57354
|
+
});
|
|
57355
|
+
}
|
|
57348
57356
|
function IG({ node: e, value: t, onChange: n, id: r, ariaLabel: i }) {
|
|
57349
57357
|
let [a, o] = (0, h.useState)(() => LG(t)), [s, c] = (0, h.useState)(null), l = (e) => {
|
|
57350
57358
|
if (o(e), e.trim() === "") {
|
|
@@ -57360,7 +57368,7 @@ function IG({ node: e, value: t, onChange: n, id: r, ariaLabel: i }) {
|
|
|
57360
57368
|
return /* @__PURE__ */ (0, g.jsxs)("div", {
|
|
57361
57369
|
className: "flex flex-col gap-1",
|
|
57362
57370
|
children: [
|
|
57363
|
-
/* @__PURE__ */ (0, g.jsx)(
|
|
57371
|
+
/* @__PURE__ */ (0, g.jsx)(RU, {
|
|
57364
57372
|
id: r,
|
|
57365
57373
|
"aria-label": i,
|
|
57366
57374
|
"data-astroix-raw-field": e.path,
|
|
@@ -57502,7 +57510,7 @@ function qG({ node: e, form: t, issues: n, onFlushValidation: r, projectionData:
|
|
|
57502
57510
|
htmlFor: GG(e) ? a : void 0,
|
|
57503
57511
|
children: [e.label, e.required ? " *" : ""]
|
|
57504
57512
|
}),
|
|
57505
|
-
/* @__PURE__ */ (0, g.jsx)(
|
|
57513
|
+
/* @__PURE__ */ (0, g.jsx)(PG, {
|
|
57506
57514
|
node: e,
|
|
57507
57515
|
value: t.state.value,
|
|
57508
57516
|
onChange: t.handleChange,
|
|
@@ -57569,7 +57577,10 @@ function ZG({ collection: e, fields: t, entryData: n, projectionData: r, onValue
|
|
|
57569
57577
|
}
|
|
57570
57578
|
//#endregion
|
|
57571
57579
|
//#region src/client/features/content/store.ts
|
|
57572
|
-
|
|
57580
|
+
function QG(e, t) {
|
|
57581
|
+
return new URL(t, window.location.href).pathname === new URL(e, window.location.href).pathname;
|
|
57582
|
+
}
|
|
57583
|
+
var $G = bf()((e) => ({
|
|
57573
57584
|
activeEntry: null,
|
|
57574
57585
|
pendingVerify: null,
|
|
57575
57586
|
appliedLoadSeq: 0,
|
|
@@ -57580,19 +57591,23 @@ var QG = bf()((e) => ({
|
|
|
57580
57591
|
return n.delete(t) || n.add(t), { collapsedFolders: n };
|
|
57581
57592
|
}),
|
|
57582
57593
|
armReverseVerify: (t) => e({ pendingVerify: t }),
|
|
57583
|
-
applyCanvasResolution: (t, n) => e((e) => n <= e.appliedLoadSeq ? e : e.pendingVerify === null ? {
|
|
57594
|
+
applyCanvasResolution: (t, n) => e((e) => n.seq <= e.appliedLoadSeq ? e : e.pendingVerify === null ? {
|
|
57584
57595
|
activeEntry: t,
|
|
57585
|
-
appliedLoadSeq: n
|
|
57596
|
+
appliedLoadSeq: n.seq
|
|
57597
|
+
} : QG(e.pendingVerify, n.url) ? {
|
|
57598
|
+
pendingVerify: null,
|
|
57599
|
+
appliedLoadSeq: n.seq
|
|
57586
57600
|
} : {
|
|
57587
57601
|
pendingVerify: null,
|
|
57588
|
-
|
|
57602
|
+
activeEntry: t,
|
|
57603
|
+
appliedLoadSeq: n.seq
|
|
57589
57604
|
})
|
|
57590
57605
|
}));
|
|
57591
57606
|
//#endregion
|
|
57592
57607
|
//#region src/core/entry-writer.ts
|
|
57593
|
-
function
|
|
57608
|
+
function eK(e) {
|
|
57594
57609
|
try {
|
|
57595
|
-
let t =
|
|
57610
|
+
let t = nK(e), n = t.yaml === null ? {} : IU(t.yaml);
|
|
57596
57611
|
return {
|
|
57597
57612
|
data: JSON.parse(JSON.stringify(n)) ?? {},
|
|
57598
57613
|
body: t.body.trim()
|
|
@@ -57601,9 +57616,9 @@ function $G(e) {
|
|
|
57601
57616
|
return null;
|
|
57602
57617
|
}
|
|
57603
57618
|
}
|
|
57604
|
-
var
|
|
57605
|
-
function
|
|
57606
|
-
let t = e.match(
|
|
57619
|
+
var tK = /^---\r?\n([\s\S]*?)\r?\n?---(\r?\n|$)/;
|
|
57620
|
+
function nK(e) {
|
|
57621
|
+
let t = e.match(tK);
|
|
57607
57622
|
if (t === null) return {
|
|
57608
57623
|
frontmatter: null,
|
|
57609
57624
|
yaml: null,
|
|
@@ -57618,79 +57633,79 @@ function tK(e) {
|
|
|
57618
57633
|
body: e.slice(t[0].length)
|
|
57619
57634
|
};
|
|
57620
57635
|
}
|
|
57621
|
-
function
|
|
57622
|
-
let i =
|
|
57623
|
-
if (!
|
|
57636
|
+
function rK({ raw: e, baseline: t, draft: n, protectedPaths: r = [] }) {
|
|
57637
|
+
let i = nK(e), a = t.data ?? {}, o = n.data ?? {}, s = null;
|
|
57638
|
+
if (!oK(a, o)) {
|
|
57624
57639
|
let e = FU(i.yaml ?? "");
|
|
57625
|
-
|
|
57640
|
+
cK(e, a, o, [], new Set(r)) && (s = e);
|
|
57626
57641
|
}
|
|
57627
|
-
let c = n.body === t.body ? null :
|
|
57642
|
+
let c = n.body === t.body ? null : iK(i.body, n.body), l = c ?? i.body, u = i.close !== "" || l === "" ? i.close : "\n";
|
|
57628
57643
|
if (s === null) return c === null ? e : `${i.frontmatter ?? ""}${u}${c}`;
|
|
57629
57644
|
let d = i.frontmatter === null ? "\n" : u;
|
|
57630
57645
|
return `---\n${s.toString()}---${d}${l}`;
|
|
57631
57646
|
}
|
|
57632
|
-
function
|
|
57647
|
+
function iK(e, t) {
|
|
57633
57648
|
let n = e.slice(0, e.length - e.trimStart().length), r = e.slice(e.trimEnd().length);
|
|
57634
57649
|
return r !== "" && t.endsWith(r) && (r = ""), `${n}${t}${r}`;
|
|
57635
57650
|
}
|
|
57636
|
-
function iK(e, t) {
|
|
57637
|
-
return aK(e.data, t.data) && e.body === t.body;
|
|
57638
|
-
}
|
|
57639
57651
|
function aK(e, t) {
|
|
57652
|
+
return oK(e.data, t.data) && e.body === t.body;
|
|
57653
|
+
}
|
|
57654
|
+
function oK(e, t) {
|
|
57640
57655
|
if (e === t) return !0;
|
|
57641
|
-
if (Array.isArray(e) && Array.isArray(t)) return e.length === t.length && e.every((e, n) =>
|
|
57642
|
-
if (
|
|
57656
|
+
if (Array.isArray(e) && Array.isArray(t)) return e.length === t.length && e.every((e, n) => oK(e, t[n]));
|
|
57657
|
+
if (sK(e) && sK(t)) {
|
|
57643
57658
|
let n = Object.keys(e);
|
|
57644
|
-
return n.length === Object.keys(t).length && n.every((n) => n in t &&
|
|
57659
|
+
return n.length === Object.keys(t).length && n.every((n) => n in t && oK(e[n], t[n]));
|
|
57645
57660
|
}
|
|
57646
57661
|
return !1;
|
|
57647
57662
|
}
|
|
57648
|
-
function
|
|
57663
|
+
function sK(e) {
|
|
57649
57664
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
57650
57665
|
}
|
|
57651
|
-
function
|
|
57652
|
-
if (i.has(r.join(".")) ||
|
|
57653
|
-
if (
|
|
57666
|
+
function cK(e, t, n, r, i) {
|
|
57667
|
+
if (i.has(r.join(".")) || oK(t, n)) return !1;
|
|
57668
|
+
if (sK(t) && sK(n)) {
|
|
57654
57669
|
let a = !1;
|
|
57655
57670
|
for (let i of Object.keys(t)) i in n || (e.deleteIn([...r, i]), a = !0);
|
|
57656
|
-
for (let [o, s] of Object.entries(n))
|
|
57671
|
+
for (let [o, s] of Object.entries(n)) cK(e, t[o], s, [...r, o], i) && (a = !0);
|
|
57657
57672
|
return a;
|
|
57658
57673
|
}
|
|
57659
|
-
return
|
|
57674
|
+
return uK(e, r, n);
|
|
57660
57675
|
}
|
|
57661
|
-
function
|
|
57676
|
+
function lK(e, t) {
|
|
57662
57677
|
if (t == null || !oB(t)) return t;
|
|
57663
57678
|
let n = t.toJS(e);
|
|
57664
57679
|
if (n !== void 0) return JSON.parse(JSON.stringify(n));
|
|
57665
57680
|
}
|
|
57666
|
-
function
|
|
57681
|
+
function uK(e, t, n) {
|
|
57667
57682
|
if (t.length === 0) return e.contents = e.createNode(n), !0;
|
|
57668
57683
|
if (n === void 0) return e.deleteIn(t);
|
|
57669
57684
|
let r = e.getIn(t, !0);
|
|
57670
|
-
if (r !== void 0 &&
|
|
57685
|
+
if (r !== void 0 && oK(lK(e, r), n)) return !1;
|
|
57671
57686
|
let i = aB(r) && r.flow === !0, a = e.createNode(n);
|
|
57672
57687
|
return i && aB(a) && (a.flow = !0), e.setIn(t, a), !0;
|
|
57673
57688
|
}
|
|
57674
57689
|
//#endregion
|
|
57675
57690
|
//#region src/core/form-tree.ts
|
|
57676
|
-
function
|
|
57691
|
+
function dK(e) {
|
|
57677
57692
|
let t = [];
|
|
57678
|
-
for (let n of e) n.kind === "image" ? t.push(n.path) : n.kind === "group" && t.push(...
|
|
57693
|
+
for (let n of e) n.kind === "image" ? t.push(n.path) : n.kind === "group" && t.push(...dK(n.children));
|
|
57679
57694
|
return t;
|
|
57680
57695
|
}
|
|
57681
57696
|
//#endregion
|
|
57682
57697
|
//#region src/client/editor/api.ts
|
|
57683
|
-
async function
|
|
57698
|
+
async function fK(e) {
|
|
57684
57699
|
let t = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(e));
|
|
57685
57700
|
return Array.from(new Uint8Array(t), (e) => e.toString(16).padStart(2, "0")).join("");
|
|
57686
57701
|
}
|
|
57687
|
-
async function
|
|
57702
|
+
async function pK(e) {
|
|
57688
57703
|
let t = await fetch(`/__astroix/file?file=${encodeURIComponent(e)}`);
|
|
57689
57704
|
if (!t.ok) return null;
|
|
57690
57705
|
let { contents: n } = await t.json();
|
|
57691
57706
|
return n;
|
|
57692
57707
|
}
|
|
57693
|
-
async function
|
|
57708
|
+
async function mK(e) {
|
|
57694
57709
|
let t = await fetch("/__astroix/edit", {
|
|
57695
57710
|
method: "POST",
|
|
57696
57711
|
headers: { "content-type": "application/json" },
|
|
@@ -57698,7 +57713,7 @@ async function pK(e) {
|
|
|
57698
57713
|
file: e.file,
|
|
57699
57714
|
range: e.range,
|
|
57700
57715
|
replacement: e.replacement,
|
|
57701
|
-
expected: await
|
|
57716
|
+
expected: await fK(e.baseline)
|
|
57702
57717
|
})
|
|
57703
57718
|
});
|
|
57704
57719
|
if (t.status === 409) {
|
|
@@ -57712,8 +57727,8 @@ async function pK(e) {
|
|
|
57712
57727
|
}
|
|
57713
57728
|
//#endregion
|
|
57714
57729
|
//#region src/client/features/content/use-auto-write.ts
|
|
57715
|
-
var
|
|
57716
|
-
function
|
|
57730
|
+
var hK = 300;
|
|
57731
|
+
function gK({ file: e, fields: t, payloadSignal: n }) {
|
|
57717
57732
|
let [r, i] = (0, h.useState)("loading"), [a, o] = (0, h.useState)(null), s = v(), c = (0, h.useRef)(null), l = (0, h.useRef)(t), u = (0, h.useRef)(0);
|
|
57718
57733
|
(0, h.useEffect)(() => {
|
|
57719
57734
|
l.current = t;
|
|
@@ -57742,11 +57757,11 @@ function hK({ file: e, fields: t, payloadSignal: n }) {
|
|
|
57742
57757
|
if (r === null) return;
|
|
57743
57758
|
let a;
|
|
57744
57759
|
try {
|
|
57745
|
-
a =
|
|
57760
|
+
a = rK({
|
|
57746
57761
|
raw: p,
|
|
57747
57762
|
baseline: m,
|
|
57748
57763
|
draft: r,
|
|
57749
|
-
protectedPaths:
|
|
57764
|
+
protectedPaths: dK(l.current)
|
|
57750
57765
|
});
|
|
57751
57766
|
} catch {
|
|
57752
57767
|
i("error");
|
|
@@ -57759,7 +57774,7 @@ function hK({ file: e, fields: t, payloadSignal: n }) {
|
|
|
57759
57774
|
let o = await Hf({
|
|
57760
57775
|
file: e,
|
|
57761
57776
|
contents: a,
|
|
57762
|
-
expected: await
|
|
57777
|
+
expected: await fK(p)
|
|
57763
57778
|
});
|
|
57764
57779
|
if (!n) {
|
|
57765
57780
|
if (o.status === "written") {
|
|
@@ -57767,12 +57782,12 @@ function hK({ file: e, fields: t, payloadSignal: n }) {
|
|
|
57767
57782
|
return;
|
|
57768
57783
|
}
|
|
57769
57784
|
if (o.status === "conflict" && o.contents !== null) {
|
|
57770
|
-
let e =
|
|
57785
|
+
let e = eK(o.contents);
|
|
57771
57786
|
if (e === null) {
|
|
57772
57787
|
i("error");
|
|
57773
57788
|
return;
|
|
57774
57789
|
}
|
|
57775
|
-
if (p = o.contents, m = e, _(),
|
|
57790
|
+
if (p = o.contents, m = e, _(), aK(e, r)) {
|
|
57776
57791
|
i("idle");
|
|
57777
57792
|
return;
|
|
57778
57793
|
}
|
|
@@ -57786,7 +57801,7 @@ function hK({ file: e, fields: t, payloadSignal: n }) {
|
|
|
57786
57801
|
h = h.then(() => v()).catch(() => {
|
|
57787
57802
|
n || i("error");
|
|
57788
57803
|
});
|
|
57789
|
-
},
|
|
57804
|
+
}, hK);
|
|
57790
57805
|
};
|
|
57791
57806
|
return d.current = () => {
|
|
57792
57807
|
if (p === null) {
|
|
@@ -57798,25 +57813,25 @@ function hK({ file: e, fields: t, payloadSignal: n }) {
|
|
|
57798
57813
|
if (p === null || m === null) return;
|
|
57799
57814
|
let r = p;
|
|
57800
57815
|
(async () => {
|
|
57801
|
-
let i = await
|
|
57816
|
+
let i = await pK(e);
|
|
57802
57817
|
if (n || i === null || p !== r) return;
|
|
57803
|
-
let a =
|
|
57818
|
+
let a = eK(i);
|
|
57804
57819
|
if (a === null) return;
|
|
57805
|
-
if (
|
|
57820
|
+
if (aK(a, m)) {
|
|
57806
57821
|
p = i;
|
|
57807
57822
|
return;
|
|
57808
57823
|
}
|
|
57809
57824
|
let o = c.current;
|
|
57810
|
-
o === null || !
|
|
57825
|
+
o === null || !aK(o, m) || (p = i, m = a, c.current = a, t(a));
|
|
57811
57826
|
})();
|
|
57812
57827
|
}, (async () => {
|
|
57813
|
-
let r = await
|
|
57828
|
+
let r = await pK(e);
|
|
57814
57829
|
if (n) return;
|
|
57815
57830
|
if (r === null) {
|
|
57816
57831
|
i("error");
|
|
57817
57832
|
return;
|
|
57818
57833
|
}
|
|
57819
|
-
let o =
|
|
57834
|
+
let o = eK(r);
|
|
57820
57835
|
if (o === null) {
|
|
57821
57836
|
i("error");
|
|
57822
57837
|
return;
|
|
@@ -57833,7 +57848,7 @@ function hK({ file: e, fields: t, payloadSignal: n }) {
|
|
|
57833
57848
|
}
|
|
57834
57849
|
//#endregion
|
|
57835
57850
|
//#region src/client/features/content/content-editor-pane.tsx
|
|
57836
|
-
function
|
|
57851
|
+
function _K(e, t) {
|
|
57837
57852
|
if (t === null || e === void 0) return null;
|
|
57838
57853
|
let n = e.find((e) => e.name === t.collection)?.entries.find((e) => e.id === t.entryId);
|
|
57839
57854
|
return n === void 0 ? null : {
|
|
@@ -57841,8 +57856,8 @@ function gK(e, t) {
|
|
|
57841
57856
|
entry: n
|
|
57842
57857
|
};
|
|
57843
57858
|
}
|
|
57844
|
-
function
|
|
57845
|
-
let r = (0, h.useRef)(""), i = (0, h.useRef)(void 0), a =
|
|
57859
|
+
function vK({ collection: e, entry: t, fields: n }) {
|
|
57860
|
+
let r = (0, h.useRef)(""), i = (0, h.useRef)(void 0), a = gK({
|
|
57846
57861
|
file: t.filePath,
|
|
57847
57862
|
fields: n,
|
|
57848
57863
|
payloadSignal: t
|
|
@@ -57892,12 +57907,12 @@ function _K({ collection: e, entry: t, fields: n }) {
|
|
|
57892
57907
|
})] })]
|
|
57893
57908
|
});
|
|
57894
57909
|
}
|
|
57895
|
-
function
|
|
57896
|
-
let { data: e, isPending: t } = Lf(), n =
|
|
57910
|
+
function yK() {
|
|
57911
|
+
let { data: e, isPending: t } = Lf(), n = $G((e) => e.activeEntry), r = (0, h.useRef)(null);
|
|
57897
57912
|
(0, h.useEffect)(() => {
|
|
57898
57913
|
e !== void 0 && e.length > 0 && (r.current = e);
|
|
57899
57914
|
}, [e]);
|
|
57900
|
-
let i = e !== void 0 && e.length > 0 ? e : r.current, a =
|
|
57915
|
+
let i = e !== void 0 && e.length > 0 ? e : r.current, a = _K(i ?? void 0, n), { data: o, isPending: s } = Bf(a?.collection ?? null), c = t || i === null;
|
|
57901
57916
|
return c || a === null ? /* @__PURE__ */ (0, g.jsx)("div", {
|
|
57902
57917
|
"data-astroix-content-pane": c ? "syncing" : "empty",
|
|
57903
57918
|
className: "flex min-h-0 flex-1 items-center justify-center px-4 text-center text-xs text-muted-foreground",
|
|
@@ -57910,7 +57925,7 @@ function vK() {
|
|
|
57910
57925
|
a.collection,
|
|
57911
57926
|
" schema…"
|
|
57912
57927
|
]
|
|
57913
|
-
}) : /* @__PURE__ */ (0, g.jsx)(
|
|
57928
|
+
}) : /* @__PURE__ */ (0, g.jsx)(vK, {
|
|
57914
57929
|
collection: a.collection,
|
|
57915
57930
|
entry: a.entry,
|
|
57916
57931
|
fields: o.fields
|
|
@@ -57918,10 +57933,10 @@ function vK() {
|
|
|
57918
57933
|
}
|
|
57919
57934
|
//#endregion
|
|
57920
57935
|
//#region src/client/features/css/api.ts
|
|
57921
|
-
var
|
|
57922
|
-
function
|
|
57936
|
+
var bK = ["astroix", "index-payload"];
|
|
57937
|
+
function xK() {
|
|
57923
57938
|
return Xe({
|
|
57924
|
-
queryKey:
|
|
57939
|
+
queryKey: bK,
|
|
57925
57940
|
queryFn: async () => {
|
|
57926
57941
|
let e = await fetch("/__astroix/index");
|
|
57927
57942
|
return e.ok ? await e.json() : [];
|
|
@@ -57930,7 +57945,7 @@ function bK() {
|
|
|
57930
57945
|
}
|
|
57931
57946
|
//#endregion
|
|
57932
57947
|
//#region src/client/features/css/chrome-header.tsx
|
|
57933
|
-
function
|
|
57948
|
+
function SK() {
|
|
57934
57949
|
let { activeVertical: e, selectMode: t, toggleSelectMode: n, selection: r } = Sf();
|
|
57935
57950
|
return /* @__PURE__ */ (0, g.jsxs)("header", {
|
|
57936
57951
|
"data-astroix-header": "",
|
|
@@ -57959,16 +57974,16 @@ function xK() {
|
|
|
57959
57974
|
}
|
|
57960
57975
|
//#endregion
|
|
57961
57976
|
//#region src/client/features/css/store.ts
|
|
57962
|
-
var
|
|
57977
|
+
var CK = bf()((e) => ({
|
|
57963
57978
|
editor: null,
|
|
57964
57979
|
openEditor: (t) => e({ editor: t }),
|
|
57965
57980
|
closeEditor: () => e({ editor: null })
|
|
57966
|
-
})),
|
|
57967
|
-
function
|
|
57968
|
-
let t = (0, h.useRef)(null), n = (0, h.useRef)(""), [r, i] = (0, h.useState)("loading"), [a, o] = (0, h.useState)(e.activeIndex), s = v(), c =
|
|
57981
|
+
})), wK = 300;
|
|
57982
|
+
function TK({ spec: e }) {
|
|
57983
|
+
let t = (0, h.useRef)(null), n = (0, h.useRef)(""), [r, i] = (0, h.useState)("loading"), [a, o] = (0, h.useState)(e.activeIndex), s = v(), c = CK((e) => e.closeEditor);
|
|
57969
57984
|
(0, h.useEffect)(() => {
|
|
57970
57985
|
let r = !1, a = null, o, c = e.ranges[e.activeIndex], l = (e) => {
|
|
57971
|
-
a !== null && (tR(a, e), n.current = e, i("stale"), s.invalidateQueries({ queryKey:
|
|
57986
|
+
a !== null && (tR(a, e), n.current = e, i("stale"), s.invalidateQueries({ queryKey: bK }));
|
|
57972
57987
|
}, u = async (t) => {
|
|
57973
57988
|
let r = n.current, a = 0;
|
|
57974
57989
|
for (; a < r.length && a < t.length && r[a] === t[a];) a += 1;
|
|
@@ -57978,7 +57993,7 @@ function wK({ spec: e }) {
|
|
|
57978
57993
|
i("idle");
|
|
57979
57994
|
return;
|
|
57980
57995
|
}
|
|
57981
|
-
let u = await
|
|
57996
|
+
let u = await mK({
|
|
57982
57997
|
file: e.file,
|
|
57983
57998
|
baseline: r,
|
|
57984
57999
|
range: {
|
|
@@ -57991,10 +58006,10 @@ function wK({ spec: e }) {
|
|
|
57991
58006
|
u.contents === null ? i("error") : l(u.contents);
|
|
57992
58007
|
return;
|
|
57993
58008
|
}
|
|
57994
|
-
u.status === "written" ? (n.current = t, i("saved"), s.invalidateQueries({ queryKey:
|
|
58009
|
+
u.status === "written" ? (n.current = t, i("saved"), s.invalidateQueries({ queryKey: bK })) : i("error");
|
|
57995
58010
|
};
|
|
57996
58011
|
return (async () => {
|
|
57997
|
-
let s = await
|
|
58012
|
+
let s = await pK(e.file);
|
|
57998
58013
|
if (s === null) {
|
|
57999
58014
|
i("error");
|
|
58000
58015
|
return;
|
|
@@ -58005,7 +58020,7 @@ function wK({ spec: e }) {
|
|
|
58005
58020
|
extensions: [Oj(), $y.updateListener.of((e) => {
|
|
58006
58021
|
e.docChanged && (i("pending"), o !== void 0 && clearTimeout(o), o = setTimeout(() => {
|
|
58007
58022
|
u(a?.state.doc.toString() ?? "");
|
|
58008
|
-
},
|
|
58023
|
+
}, wK));
|
|
58009
58024
|
})]
|
|
58010
58025
|
}), c !== void 0 && nR(a, c), i("idle"));
|
|
58011
58026
|
})(), () => {
|
|
@@ -58058,37 +58073,37 @@ function wK({ spec: e }) {
|
|
|
58058
58073
|
}
|
|
58059
58074
|
//#endregion
|
|
58060
58075
|
//#region src/client/features/css/editor-pane.tsx
|
|
58061
|
-
function
|
|
58062
|
-
let e =
|
|
58076
|
+
function EK() {
|
|
58077
|
+
let e = CK((e) => e.editor);
|
|
58063
58078
|
return e === null ? /* @__PURE__ */ (0, g.jsx)("div", {
|
|
58064
58079
|
"data-astroix-editor": "empty",
|
|
58065
58080
|
className: "flex min-h-0 flex-1 items-center justify-center text-xs text-slate-600",
|
|
58066
58081
|
children: "Click a rule to edit its file."
|
|
58067
|
-
}) : /* @__PURE__ */ (0, g.jsx)(
|
|
58082
|
+
}) : /* @__PURE__ */ (0, g.jsx)(TK, { spec: e }, e.file);
|
|
58068
58083
|
}
|
|
58069
58084
|
//#endregion
|
|
58070
58085
|
//#region src/client/components/ui/dialog.tsx
|
|
58071
|
-
function
|
|
58086
|
+
function DK({ ...e }) {
|
|
58072
58087
|
return /* @__PURE__ */ (0, g.jsx)(wd, {
|
|
58073
58088
|
"data-slot": "dialog",
|
|
58074
58089
|
...e
|
|
58075
58090
|
});
|
|
58076
58091
|
}
|
|
58077
|
-
function
|
|
58092
|
+
function OK({ ...e }) {
|
|
58078
58093
|
return /* @__PURE__ */ (0, g.jsx)(od, {
|
|
58079
58094
|
"data-slot": "dialog-portal",
|
|
58080
58095
|
...e
|
|
58081
58096
|
});
|
|
58082
58097
|
}
|
|
58083
|
-
function
|
|
58098
|
+
function kK({ className: e, ...t }) {
|
|
58084
58099
|
return /* @__PURE__ */ (0, g.jsx)(Hs, {
|
|
58085
58100
|
"data-slot": "dialog-overlay",
|
|
58086
58101
|
className: zi("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", e),
|
|
58087
58102
|
...t
|
|
58088
58103
|
});
|
|
58089
58104
|
}
|
|
58090
|
-
function
|
|
58091
|
-
return /* @__PURE__ */ (0, g.jsxs)(
|
|
58105
|
+
function AK({ className: e, children: t, showCloseButton: n = !0, ...r }) {
|
|
58106
|
+
return /* @__PURE__ */ (0, g.jsxs)(OK, { children: [/* @__PURE__ */ (0, g.jsx)(kK, {}), /* @__PURE__ */ (0, g.jsxs)(rd, {
|
|
58092
58107
|
"data-slot": "dialog-content",
|
|
58093
58108
|
className: zi("fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
58094
58109
|
...r,
|
|
@@ -58106,14 +58121,14 @@ function kK({ className: e, children: t, showCloseButton: n = !0, ...r }) {
|
|
|
58106
58121
|
})]
|
|
58107
58122
|
})] });
|
|
58108
58123
|
}
|
|
58109
|
-
function
|
|
58124
|
+
function jK({ className: e, ...t }) {
|
|
58110
58125
|
return /* @__PURE__ */ (0, g.jsx)("div", {
|
|
58111
58126
|
"data-slot": "dialog-header",
|
|
58112
58127
|
className: zi("flex flex-col gap-2", e),
|
|
58113
58128
|
...t
|
|
58114
58129
|
});
|
|
58115
58130
|
}
|
|
58116
|
-
function
|
|
58131
|
+
function MK({ className: e, showCloseButton: t = !1, children: n, ...r }) {
|
|
58117
58132
|
return /* @__PURE__ */ (0, g.jsxs)("div", {
|
|
58118
58133
|
"data-slot": "dialog-footer",
|
|
58119
58134
|
className: zi("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end", e),
|
|
@@ -58124,14 +58139,14 @@ function jK({ className: e, showCloseButton: t = !1, children: n, ...r }) {
|
|
|
58124
58139
|
})]
|
|
58125
58140
|
});
|
|
58126
58141
|
}
|
|
58127
|
-
function
|
|
58142
|
+
function NK({ className: e, ...t }) {
|
|
58128
58143
|
return /* @__PURE__ */ (0, g.jsx)(Td, {
|
|
58129
58144
|
"data-slot": "dialog-title",
|
|
58130
58145
|
className: zi("text-base leading-none font-medium", e),
|
|
58131
58146
|
...t
|
|
58132
58147
|
});
|
|
58133
58148
|
}
|
|
58134
|
-
function
|
|
58149
|
+
function PK({ className: e, ...t }) {
|
|
58135
58150
|
return /* @__PURE__ */ (0, g.jsx)(Ws, {
|
|
58136
58151
|
"data-slot": "dialog-description",
|
|
58137
58152
|
className: zi("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", e),
|
|
@@ -58140,12 +58155,12 @@ function NK({ className: e, ...t }) {
|
|
|
58140
58155
|
}
|
|
58141
58156
|
//#endregion
|
|
58142
58157
|
//#region src/client/features/smoke/gate.ts
|
|
58143
|
-
function
|
|
58158
|
+
function FK(e) {
|
|
58144
58159
|
return new URLSearchParams(e).get("astroix_smoke") === "1";
|
|
58145
58160
|
}
|
|
58146
58161
|
//#endregion
|
|
58147
58162
|
//#region src/client/features/smoke/smoke-steps.ts
|
|
58148
|
-
var
|
|
58163
|
+
var IK = [
|
|
58149
58164
|
{
|
|
58150
58165
|
id: "1",
|
|
58151
58166
|
title: "One command boots everything",
|
|
@@ -58194,7 +58209,7 @@ var FK = [
|
|
|
58194
58209
|
detail: "Append ?builder=0 to the top-level URL — clean page, no chrome.",
|
|
58195
58210
|
surface: "url bar"
|
|
58196
58211
|
}
|
|
58197
|
-
],
|
|
58212
|
+
], LK = bf()((e) => ({
|
|
58198
58213
|
done: {},
|
|
58199
58214
|
note: {},
|
|
58200
58215
|
toggle: (t) => e((e) => ({ done: {
|
|
@@ -58208,10 +58223,10 @@ var FK = [
|
|
|
58208
58223
|
}));
|
|
58209
58224
|
//#endregion
|
|
58210
58225
|
//#region src/client/features/smoke/smoke-step-screen.tsx
|
|
58211
|
-
function
|
|
58212
|
-
let i =
|
|
58226
|
+
function RK({ step: e, index: t, onBack: n, onNext: r }) {
|
|
58227
|
+
let i = LK((e) => e.done), a = LK((t) => t.note[e.id] ?? ""), o = LK((e) => e.toggle), s = LK((e) => e.setNote), c = IK.length;
|
|
58213
58228
|
return /* @__PURE__ */ (0, g.jsxs)(g.Fragment, { children: [
|
|
58214
|
-
/* @__PURE__ */ (0, g.jsxs)(
|
|
58229
|
+
/* @__PURE__ */ (0, g.jsxs)(jK, { children: [/* @__PURE__ */ (0, g.jsxs)(NK, {
|
|
58215
58230
|
className: "text-sm",
|
|
58216
58231
|
children: [
|
|
58217
58232
|
"Step ",
|
|
@@ -58223,7 +58238,7 @@ function LK({ step: e, index: t, onBack: n, onNext: r }) {
|
|
|
58223
58238
|
". ",
|
|
58224
58239
|
e.title
|
|
58225
58240
|
]
|
|
58226
|
-
}), /* @__PURE__ */ (0, g.jsxs)(
|
|
58241
|
+
}), /* @__PURE__ */ (0, g.jsxs)(PK, {
|
|
58227
58242
|
className: "text-xs leading-snug",
|
|
58228
58243
|
children: [
|
|
58229
58244
|
e.detail,
|
|
@@ -58236,7 +58251,7 @@ function LK({ step: e, index: t, onBack: n, onNext: r }) {
|
|
|
58236
58251
|
})] }),
|
|
58237
58252
|
/* @__PURE__ */ (0, g.jsxs)("span", {
|
|
58238
58253
|
className: "flex items-center gap-2 text-xs text-slate-300",
|
|
58239
|
-
children: [/* @__PURE__ */ (0, g.jsx)(
|
|
58254
|
+
children: [/* @__PURE__ */ (0, g.jsx)(JU, {
|
|
58240
58255
|
checked: i[e.id] === !0,
|
|
58241
58256
|
onCheckedChange: () => o(e.id),
|
|
58242
58257
|
"aria-label": `Step ${e.id} verified`
|
|
@@ -58253,7 +58268,7 @@ function LK({ step: e, index: t, onBack: n, onNext: r }) {
|
|
|
58253
58268
|
children: [/* @__PURE__ */ (0, g.jsx)("div", {
|
|
58254
58269
|
className: "flex gap-1",
|
|
58255
58270
|
"aria-hidden": !0,
|
|
58256
|
-
children:
|
|
58271
|
+
children: IK.map((e, n) => /* @__PURE__ */ (0, g.jsx)("span", { className: `size-1.5 rounded-full ${i[e.id] ? "bg-emerald-500" : n === t ? "bg-slate-300" : "bg-slate-700"}` }, e.id))
|
|
58257
58272
|
}), /* @__PURE__ */ (0, g.jsxs)("div", {
|
|
58258
58273
|
className: "flex gap-2",
|
|
58259
58274
|
children: [/* @__PURE__ */ (0, g.jsx)(Vi, {
|
|
@@ -58275,10 +58290,10 @@ function LK({ step: e, index: t, onBack: n, onNext: r }) {
|
|
|
58275
58290
|
}
|
|
58276
58291
|
//#endregion
|
|
58277
58292
|
//#region src/client/features/smoke/smoke-report.ts
|
|
58278
|
-
function
|
|
58279
|
-
return
|
|
58293
|
+
function zK(e) {
|
|
58294
|
+
return IK.filter((t) => e[t.id] === !0).length;
|
|
58280
58295
|
}
|
|
58281
|
-
function
|
|
58296
|
+
function BK(e, t, n) {
|
|
58282
58297
|
let r = [
|
|
58283
58298
|
`## Manual smoke report — ${n.isoTimestamp.replace("T", " ").slice(0, 16)} UTC`,
|
|
58284
58299
|
"",
|
|
@@ -58288,19 +58303,19 @@ function zK(e, t, n) {
|
|
|
58288
58303
|
"",
|
|
58289
58304
|
"### Steps"
|
|
58290
58305
|
], i = [];
|
|
58291
|
-
for (let n of
|
|
58306
|
+
for (let n of IK) {
|
|
58292
58307
|
let a = e[n.id] === !0;
|
|
58293
58308
|
a || i.push(n.id), r.push(`- [${a ? "x" : " "}] ${n.id} — ${n.title}`);
|
|
58294
58309
|
let o = t[n.id]?.trim();
|
|
58295
58310
|
o && r.push(` - note: ${o}`);
|
|
58296
58311
|
}
|
|
58297
|
-
return r.push("", "### Result", `${
|
|
58312
|
+
return r.push("", "### Result", `${zK(e)}/${IK.length} verified${i.length > 0 ? ` · outstanding: ${i.join(", ")}` : " · all clear"}.`, "", "<!-- paste into a GitHub issue; an agent session picks it up from there -->"), r.join("\n");
|
|
58298
58313
|
}
|
|
58299
58314
|
//#endregion
|
|
58300
58315
|
//#region src/client/features/smoke/smoke-summary-screen.tsx
|
|
58301
|
-
function
|
|
58302
|
-
let t =
|
|
58303
|
-
let e =
|
|
58316
|
+
function VK({ onBackToSteps: e }) {
|
|
58317
|
+
let t = LK((e) => e.done), n = LK((e) => e.note), r = LK((e) => e.toggle), [i, a] = (0, h.useState)(null), [o, s] = (0, h.useState)(!1), c = IK.length, l = async () => {
|
|
58318
|
+
let e = BK(t, n, {
|
|
58304
58319
|
url: `${window.location.origin}${window.location.pathname}`,
|
|
58305
58320
|
userAgent: navigator.userAgent,
|
|
58306
58321
|
isoTimestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -58313,24 +58328,24 @@ function BK({ onBackToSteps: e }) {
|
|
|
58313
58328
|
}
|
|
58314
58329
|
};
|
|
58315
58330
|
return /* @__PURE__ */ (0, g.jsxs)(g.Fragment, { children: [
|
|
58316
|
-
/* @__PURE__ */ (0, g.jsxs)(
|
|
58331
|
+
/* @__PURE__ */ (0, g.jsxs)(jK, { children: [/* @__PURE__ */ (0, g.jsxs)(NK, {
|
|
58317
58332
|
className: "text-sm",
|
|
58318
58333
|
children: [
|
|
58319
58334
|
"Smoke summary — ",
|
|
58320
|
-
|
|
58335
|
+
zK(t),
|
|
58321
58336
|
"/",
|
|
58322
58337
|
c,
|
|
58323
58338
|
" verified"
|
|
58324
58339
|
]
|
|
58325
|
-
}), /* @__PURE__ */ (0, g.jsx)(
|
|
58340
|
+
}), /* @__PURE__ */ (0, g.jsx)(PK, {
|
|
58326
58341
|
className: "text-xs",
|
|
58327
58342
|
children: "Unchecked steps land in the report as outstanding."
|
|
58328
58343
|
})] }),
|
|
58329
58344
|
/* @__PURE__ */ (0, g.jsx)("ul", {
|
|
58330
58345
|
className: "max-h-44 overflow-y-auto text-xs",
|
|
58331
|
-
children:
|
|
58346
|
+
children: IK.map((e) => /* @__PURE__ */ (0, g.jsxs)("li", {
|
|
58332
58347
|
className: "flex items-center gap-2 py-0.5",
|
|
58333
|
-
children: [/* @__PURE__ */ (0, g.jsx)(
|
|
58348
|
+
children: [/* @__PURE__ */ (0, g.jsx)(JU, {
|
|
58334
58349
|
checked: t[e.id] === !0,
|
|
58335
58350
|
onCheckedChange: () => r(e.id),
|
|
58336
58351
|
"aria-label": `Step ${e.id} verified`
|
|
@@ -58349,7 +58364,7 @@ function BK({ onBackToSteps: e }) {
|
|
|
58349
58364
|
className: "max-h-40 overflow-auto rounded border border-slate-800 bg-slate-950 p-2 text-[10px] leading-snug whitespace-pre-wrap text-slate-400",
|
|
58350
58365
|
children: i
|
|
58351
58366
|
}),
|
|
58352
|
-
/* @__PURE__ */ (0, g.jsxs)(
|
|
58367
|
+
/* @__PURE__ */ (0, g.jsxs)(MK, { children: [/* @__PURE__ */ (0, g.jsx)(Vi, {
|
|
58353
58368
|
type: "button",
|
|
58354
58369
|
size: "sm",
|
|
58355
58370
|
variant: "ghost",
|
|
@@ -58365,15 +58380,15 @@ function BK({ onBackToSteps: e }) {
|
|
|
58365
58380
|
}
|
|
58366
58381
|
//#endregion
|
|
58367
58382
|
//#region src/client/features/smoke/smoke-checklist.tsx
|
|
58368
|
-
var
|
|
58369
|
-
function HK() {
|
|
58370
|
-
return VK ? /* @__PURE__ */ (0, g.jsx)(UK, {}) : null;
|
|
58371
|
-
}
|
|
58383
|
+
var HK = FK(window.location.search);
|
|
58372
58384
|
function UK() {
|
|
58373
|
-
|
|
58385
|
+
return HK ? /* @__PURE__ */ (0, g.jsx)(WK, {}) : null;
|
|
58386
|
+
}
|
|
58387
|
+
function WK() {
|
|
58388
|
+
let [e, t] = (0, h.useState)(!1), [n, r] = (0, h.useState)(0), i = n < IK.length ? IK[n] ?? null : null;
|
|
58374
58389
|
return (0, h.useEffect)(() => {
|
|
58375
58390
|
let e = (e) => {
|
|
58376
|
-
!
|
|
58391
|
+
!GK(e) || KK(e.composedPath()[0]) || (e.preventDefault(), t((e) => !e));
|
|
58377
58392
|
};
|
|
58378
58393
|
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
58379
58394
|
}, []), /* @__PURE__ */ (0, g.jsxs)(g.Fragment, { children: [/* @__PURE__ */ (0, g.jsxs)("button", {
|
|
@@ -58385,12 +58400,12 @@ function UK() {
|
|
|
58385
58400
|
className: "rounded bg-slate-800 px-1",
|
|
58386
58401
|
children: "S"
|
|
58387
58402
|
})]
|
|
58388
|
-
}), /* @__PURE__ */ (0, g.jsx)(
|
|
58403
|
+
}), /* @__PURE__ */ (0, g.jsx)(DK, {
|
|
58389
58404
|
open: e,
|
|
58390
58405
|
onOpenChange: t,
|
|
58391
|
-
children: /* @__PURE__ */ (0, g.jsx)(
|
|
58406
|
+
children: /* @__PURE__ */ (0, g.jsx)(AK, {
|
|
58392
58407
|
className: "dark sm:max-w-md",
|
|
58393
|
-
children: i === null ? /* @__PURE__ */ (0, g.jsx)(
|
|
58408
|
+
children: i === null ? /* @__PURE__ */ (0, g.jsx)(VK, { onBackToSteps: () => r(0) }) : /* @__PURE__ */ (0, g.jsx)(RK, {
|
|
58394
58409
|
step: i,
|
|
58395
58410
|
index: n,
|
|
58396
58411
|
onBack: () => r((e) => Math.max(0, e - 1)),
|
|
@@ -58399,36 +58414,36 @@ function UK() {
|
|
|
58399
58414
|
})
|
|
58400
58415
|
})] });
|
|
58401
58416
|
}
|
|
58402
|
-
function
|
|
58417
|
+
function GK(e) {
|
|
58403
58418
|
return e.metaKey || e.ctrlKey || e.altKey || e.repeat ? !1 : e.key.toLowerCase() === "s";
|
|
58404
58419
|
}
|
|
58405
|
-
function
|
|
58420
|
+
function KK(e) {
|
|
58406
58421
|
if (!(e instanceof Element)) return !1;
|
|
58407
58422
|
let t = e.tagName;
|
|
58408
58423
|
return t === "INPUT" || t === "TEXTAREA" || e instanceof HTMLElement && e.isContentEditable;
|
|
58409
58424
|
}
|
|
58410
58425
|
//#endregion
|
|
58411
58426
|
//#region node_modules/@base-ui/react/tabs/root/TabsRootContext.mjs
|
|
58412
|
-
var
|
|
58413
|
-
process.env.NODE_ENV !== "production" && (
|
|
58414
|
-
function
|
|
58415
|
-
let e = h.useContext(
|
|
58427
|
+
var qK = /*#__PURE__*/ h.createContext(void 0);
|
|
58428
|
+
process.env.NODE_ENV !== "production" && (qK.displayName = "TabsRootContext");
|
|
58429
|
+
function JK() {
|
|
58430
|
+
let e = h.useContext(qK);
|
|
58416
58431
|
if (e === void 0) throw Error(process.env.NODE_ENV === "production" ? Ct(64) : "Base UI: TabsRootContext is missing. Tabs parts must be placed within <Tabs.Root>.");
|
|
58417
58432
|
return e;
|
|
58418
58433
|
}
|
|
58419
58434
|
//#endregion
|
|
58420
58435
|
//#region node_modules/@base-ui/react/tabs/root/stateAttributesMapping.mjs
|
|
58421
|
-
var
|
|
58436
|
+
var YK = { tabActivationDirection: (e) => ({ "data-activation-direction": e }) }, XK = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
58422
58437
|
let { className: n, defaultValue: r = 0, onValueChange: i, orientation: a = "horizontal", render: o, value: s, style: c, ...l } = e, u = e.defaultValue !== void 0, d = h.useRef([]), [f, p] = h.useState(() => /* @__PURE__ */ new Map()), [m, _] = us({
|
|
58423
58438
|
controlled: s,
|
|
58424
58439
|
default: r,
|
|
58425
58440
|
name: "Tabs",
|
|
58426
58441
|
state: "value"
|
|
58427
|
-
}), v = s !== void 0, [y, b] = h.useState(() => /* @__PURE__ */ new Map()), x = h.useRef(void 0), S = h.useCallback((e) =>
|
|
58442
|
+
}), v = s !== void 0, [y, b] = h.useState(() => /* @__PURE__ */ new Map()), x = h.useRef(void 0), S = h.useCallback((e) => ZK(y, e), [y]), [C, w] = h.useState(() => ({
|
|
58428
58443
|
previousValue: m,
|
|
58429
58444
|
tabActivationDirection: "none"
|
|
58430
58445
|
})), { previousValue: T, tabActivationDirection: E } = C, D = E, O = !1;
|
|
58431
|
-
T !== m && (D =
|
|
58446
|
+
T !== m && (D = QK(T, m, a, y), O = T != null && m != null && S(m) == null);
|
|
58432
58447
|
let k = O ? T : m, A = T !== k || E !== D;
|
|
58433
58448
|
rr(() => {
|
|
58434
58449
|
A && w({
|
|
@@ -58441,7 +58456,7 @@ var JK = { tabActivationDirection: (e) => ({ "data-activation-direction": e }) }
|
|
|
58441
58456
|
D
|
|
58442
58457
|
]);
|
|
58443
58458
|
let j = Qn((e, t) => {
|
|
58444
|
-
t.activationDirection =
|
|
58459
|
+
t.activationDirection = QK(m, e, a, y), i?.(e, t), !t.isCanceled && _(e);
|
|
58445
58460
|
}), M = Qn((e, t) => {
|
|
58446
58461
|
i?.(e, Ds(t, void 0, void 0, { activationDirection: "none" }));
|
|
58447
58462
|
}), N = Qn((e, t) => (p((n) => {
|
|
@@ -58523,22 +58538,22 @@ var JK = { tabActivationDirection: (e) => ({ "data-activation-direction": e }) }
|
|
|
58523
58538
|
},
|
|
58524
58539
|
ref: t,
|
|
58525
58540
|
props: l,
|
|
58526
|
-
stateAttributesMapping:
|
|
58541
|
+
stateAttributesMapping: YK
|
|
58527
58542
|
});
|
|
58528
|
-
return /*#__PURE__*/ (0, g.jsx)(
|
|
58543
|
+
return /*#__PURE__*/ (0, g.jsx)(qK.Provider, {
|
|
58529
58544
|
value: I,
|
|
58530
|
-
children: /*#__PURE__*/ (0, g.jsx)(
|
|
58545
|
+
children: /*#__PURE__*/ (0, g.jsx)(kW, {
|
|
58531
58546
|
elementsRef: d,
|
|
58532
58547
|
children: ne
|
|
58533
58548
|
})
|
|
58534
58549
|
});
|
|
58535
58550
|
});
|
|
58536
|
-
process.env.NODE_ENV !== "production" && (
|
|
58537
|
-
function
|
|
58551
|
+
process.env.NODE_ENV !== "production" && (XK.displayName = "TabsRoot");
|
|
58552
|
+
function ZK(e, t) {
|
|
58538
58553
|
for (let [n, r] of e.entries()) if (t === r.value) return n;
|
|
58539
58554
|
return null;
|
|
58540
58555
|
}
|
|
58541
|
-
function
|
|
58556
|
+
function QK(e, t, n, r) {
|
|
58542
58557
|
if (e == null || t == null) return "none";
|
|
58543
58558
|
let [i, a, o] = n === "horizontal" ? [
|
|
58544
58559
|
"left",
|
|
@@ -58548,18 +58563,18 @@ function ZK(e, t, n, r) {
|
|
|
58548
58563
|
"top",
|
|
58549
58564
|
"up",
|
|
58550
58565
|
"down"
|
|
58551
|
-
], s =
|
|
58566
|
+
], s = ZK(r, e), c = ZK(r, t);
|
|
58552
58567
|
if (s == null || c == null) return s !== c && (typeof e == "number" || typeof e == "string") && typeof e == typeof t ? t > e ? o : a : "none";
|
|
58553
58568
|
let l = s.getBoundingClientRect()[i], u = c.getBoundingClientRect()[i];
|
|
58554
58569
|
return u < l ? a : u > l ? o : "none";
|
|
58555
58570
|
}
|
|
58556
58571
|
//#endregion
|
|
58557
58572
|
//#region node_modules/@base-ui/react/internals/composite/constants.mjs
|
|
58558
|
-
var
|
|
58573
|
+
var $K = "data-composite-item-active";
|
|
58559
58574
|
//#endregion
|
|
58560
58575
|
//#region node_modules/@base-ui/react/internals/composite/item/useCompositeItem.mjs
|
|
58561
|
-
function
|
|
58562
|
-
let { highlightItemOnHover: t, highlightedIndex: n, onHighlightedIndexChange: r } = ar(), { ref: i, index: a } =
|
|
58576
|
+
function eq(e = {}) {
|
|
58577
|
+
let { highlightItemOnHover: t, highlightedIndex: n, onHighlightedIndexChange: r } = ar(), { ref: i, index: a } = sG(e), o = n === a, s = h.useRef(null), c = Et(i, s);
|
|
58563
58578
|
return {
|
|
58564
58579
|
compositeProps: {
|
|
58565
58580
|
tabIndex: o ? 0 : -1,
|
|
@@ -58579,17 +58594,17 @@ function $K(e = {}) {
|
|
|
58579
58594
|
}
|
|
58580
58595
|
//#endregion
|
|
58581
58596
|
//#region node_modules/@base-ui/react/tabs/list/TabsListContext.mjs
|
|
58582
|
-
var
|
|
58583
|
-
process.env.NODE_ENV !== "production" && (
|
|
58584
|
-
function
|
|
58585
|
-
let e = h.useContext(
|
|
58597
|
+
var tq = /*#__PURE__*/ h.createContext(void 0);
|
|
58598
|
+
process.env.NODE_ENV !== "production" && (tq.displayName = "TabsListContext");
|
|
58599
|
+
function nq() {
|
|
58600
|
+
let e = h.useContext(tq);
|
|
58586
58601
|
if (e === void 0) throw Error(process.env.NODE_ENV === "production" ? Ct(65) : "Base UI: TabsListContext is missing. TabsList parts must be placed within <Tabs.List>.");
|
|
58587
58602
|
return e;
|
|
58588
58603
|
}
|
|
58589
58604
|
//#endregion
|
|
58590
58605
|
//#region node_modules/@base-ui/react/tabs/tab/TabsTab.mjs
|
|
58591
|
-
var
|
|
58592
|
-
let { className: n, disabled: r = !1, render: i, value: a, id: o, nativeButton: s = !0, style: c, ...l } = e, { value: u, getTabPanelIdByValue: d, onValueChange: f, orientation: p, tabActivationDirection: m } =
|
|
58606
|
+
var rq = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
58607
|
+
let { className: n, disabled: r = !1, render: i, value: a, id: o, nativeButton: s = !0, style: c, ...l } = e, { value: u, getTabPanelIdByValue: d, onValueChange: f, orientation: p, tabActivationDirection: m } = JK(), { activateOnFocus: g, registerTabResizeObserverElement: _, tabsListElement: v } = nq(), { highlightedIndex: y, onHighlightedIndexChange: b } = ar(), x = ea(o), { compositeProps: S, compositeRef: C, index: w } = eq({ metadata: h.useMemo(() => ({
|
|
58593
58608
|
disabled: r,
|
|
58594
58609
|
id: x,
|
|
58595
58610
|
value: a
|
|
@@ -58666,7 +58681,7 @@ var nq = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
58666
58681
|
onClick: F,
|
|
58667
58682
|
onFocus: I,
|
|
58668
58683
|
onPointerDown: ee,
|
|
58669
|
-
[
|
|
58684
|
+
[$K]: T ? "" : void 0,
|
|
58670
58685
|
onKeyDownCapture() {
|
|
58671
58686
|
E.current = !0;
|
|
58672
58687
|
}
|
|
@@ -58674,17 +58689,17 @@ var nq = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
58674
58689
|
l,
|
|
58675
58690
|
k
|
|
58676
58691
|
],
|
|
58677
|
-
stateAttributesMapping:
|
|
58692
|
+
stateAttributesMapping: YK
|
|
58678
58693
|
});
|
|
58679
58694
|
});
|
|
58680
|
-
process.env.NODE_ENV !== "production" && (
|
|
58695
|
+
process.env.NODE_ENV !== "production" && (rq.displayName = "TabsTab");
|
|
58681
58696
|
//#endregion
|
|
58682
58697
|
//#region node_modules/@base-ui/react/tabs/panel/TabsPanel.mjs
|
|
58683
|
-
var
|
|
58684
|
-
...
|
|
58698
|
+
var iq = {
|
|
58699
|
+
...YK,
|
|
58685
58700
|
...cs
|
|
58686
|
-
},
|
|
58687
|
-
let { className: n, value: r, render: i, keepMounted: a = !1, style: o, ...s } = e, { value: c, getTabIdByPanelValue: l, orientation: u, tabActivationDirection: d, registerMountedTabPanel: f } =
|
|
58701
|
+
}, aq = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
58702
|
+
let { className: n, value: r, render: i, keepMounted: a = !1, style: o, ...s } = e, { value: c, getTabIdByPanelValue: l, orientation: u, tabActivationDirection: d, registerMountedTabPanel: f } = JK(), p = ea(), { ref: m, index: g } = sG(), _ = r === c, { mounted: v, transitionStatus: y, setMounted: b } = ls(_), x = !v, S = l(r), C = {
|
|
58688
58703
|
hidden: x,
|
|
58689
58704
|
orientation: u,
|
|
58690
58705
|
tabActivationDirection: d,
|
|
@@ -58705,7 +58720,7 @@ var rq = {
|
|
|
58705
58720
|
inert: id(!_),
|
|
58706
58721
|
"data-index": g
|
|
58707
58722
|
}, s],
|
|
58708
|
-
stateAttributesMapping:
|
|
58723
|
+
stateAttributesMapping: iq
|
|
58709
58724
|
});
|
|
58710
58725
|
return is({
|
|
58711
58726
|
open: _,
|
|
@@ -58723,12 +58738,12 @@ var rq = {
|
|
|
58723
58738
|
f
|
|
58724
58739
|
]), a || v ? T : null;
|
|
58725
58740
|
});
|
|
58726
|
-
process.env.NODE_ENV !== "production" && (
|
|
58741
|
+
process.env.NODE_ENV !== "production" && (aq.displayName = "TabsPanel");
|
|
58727
58742
|
//#endregion
|
|
58728
58743
|
//#region node_modules/@base-ui/react/internals/composite/root/useCompositeRoot.mjs
|
|
58729
|
-
var
|
|
58730
|
-
function
|
|
58731
|
-
let { loopFocus: t = !0, orientation: n = "both", grid: r, onLoop: i, direction: a, highlightedIndex: o, onHighlightedIndexChange: s, rootRef: c, enableHomeAndEndKeys: l = !1, stopEventPropagation: u, disabledIndices: d, modifierKeys: f =
|
|
58744
|
+
var oq = [];
|
|
58745
|
+
function sq(e) {
|
|
58746
|
+
let { loopFocus: t = !0, orientation: n = "both", grid: r, onLoop: i, direction: a, highlightedIndex: o, onHighlightedIndexChange: s, rootRef: c, enableHomeAndEndKeys: l = !1, stopEventPropagation: u, disabledIndices: d, modifierKeys: f = oq } = e, [p, m] = h.useState(0), g = r != null, _ = h.useRef(null), v = Et(_, c), y = h.useRef([]), b = h.useRef(!1), x = o ?? p, S = Qn((e, t = !1) => {
|
|
58732
58747
|
if ((s ?? m)(e), t) {
|
|
58733
58748
|
let t = y.current[e];
|
|
58734
58749
|
$u(_.current, t, a, n);
|
|
@@ -58760,9 +58775,9 @@ function oq(e) {
|
|
|
58760
58775
|
]);
|
|
58761
58776
|
let w = Qn((e, t, n) => i ? i(e, t, n, y) : n), T = Qn((e) => {
|
|
58762
58777
|
let o = e.key === "Home" || e.key === "End";
|
|
58763
|
-
if (!Yu.has(e.key) || !l && o ||
|
|
58778
|
+
if (!Yu.has(e.key) || !l && o || cq(e, f) || !_.current) return;
|
|
58764
58779
|
let s = a === "rtl", c = s ? qu : Ju, p = s ? Ju : qu, m = n === "vertical" ? Ku : c, h = n === "vertical" ? Gu : p, v = Da(e.nativeEvent);
|
|
58765
|
-
if (v != null && Qu(v) && !
|
|
58780
|
+
if (v != null && Qu(v) && !XU(v)) {
|
|
58766
58781
|
let t = v.selectionStart, n = v.selectionEnd, r = v.value;
|
|
58767
58782
|
if (t == null || e.shiftKey || t !== n || e.key !== h && t < r.length || e.key !== m && t > 0) return;
|
|
58768
58783
|
}
|
|
@@ -58804,14 +58819,14 @@ function oq(e) {
|
|
|
58804
58819
|
relayKeyboardEvent: T
|
|
58805
58820
|
};
|
|
58806
58821
|
}
|
|
58807
|
-
function
|
|
58822
|
+
function cq(e, t) {
|
|
58808
58823
|
for (let n of Xu) if (!t.includes(n) && e.getModifierState(n)) return !0;
|
|
58809
58824
|
return !1;
|
|
58810
58825
|
}
|
|
58811
58826
|
//#endregion
|
|
58812
58827
|
//#region node_modules/@base-ui/react/internals/composite/root/CompositeRoot.mjs
|
|
58813
|
-
function
|
|
58814
|
-
let { render: t, className: n, style: r, refs: i = Rt, props: a = Rt, state: o = zt, stateAttributesMapping: s, highlightedIndex: c, onHighlightedIndexChange: l, orientation: u, grid: d, loopFocus: f, onLoop: p, enableHomeAndEndKeys: m, onMapChange: _, stopEventPropagation: v = !0, rootRef: y, disabledIndices: b, modifierKeys: x, highlightItemOnHover: S = !1, tag: C = "div", ...w } = e, { props: T, highlightedIndex: E, onHighlightedIndexChange: D, elementsRef: O, onMapChange: k, relayKeyboardEvent: A } =
|
|
58828
|
+
function lq(e) {
|
|
58829
|
+
let { render: t, className: n, style: r, refs: i = Rt, props: a = Rt, state: o = zt, stateAttributesMapping: s, highlightedIndex: c, onHighlightedIndexChange: l, orientation: u, grid: d, loopFocus: f, onLoop: p, enableHomeAndEndKeys: m, onMapChange: _, stopEventPropagation: v = !0, rootRef: y, disabledIndices: b, modifierKeys: x, highlightItemOnHover: S = !1, tag: C = "div", ...w } = e, { props: T, highlightedIndex: E, onHighlightedIndexChange: D, elementsRef: O, onMapChange: k, relayKeyboardEvent: A } = sq({
|
|
58815
58830
|
grid: d,
|
|
58816
58831
|
loopFocus: f,
|
|
58817
58832
|
onLoop: p,
|
|
@@ -58846,7 +58861,7 @@ function cq(e) {
|
|
|
58846
58861
|
]);
|
|
58847
58862
|
return /*#__PURE__*/ (0, g.jsx)(ir.Provider, {
|
|
58848
58863
|
value: M,
|
|
58849
|
-
children: /*#__PURE__*/ (0, g.jsx)(
|
|
58864
|
+
children: /*#__PURE__*/ (0, g.jsx)(kW, {
|
|
58850
58865
|
elementsRef: O,
|
|
58851
58866
|
onMapChange: (e) => {
|
|
58852
58867
|
_?.(e), k(e);
|
|
@@ -58857,8 +58872,8 @@ function cq(e) {
|
|
|
58857
58872
|
}
|
|
58858
58873
|
//#endregion
|
|
58859
58874
|
//#region node_modules/@base-ui/react/tabs/list/TabsList.mjs
|
|
58860
|
-
var
|
|
58861
|
-
let { activateOnFocus: n = !1, className: r, loopFocus: i = !0, render: a, style: o, ...s } = e, { orientation: c, setTabMap: l, tabActivationDirection: u } =
|
|
58875
|
+
var uq = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
58876
|
+
let { activateOnFocus: n = !1, className: r, loopFocus: i = !0, render: a, style: o, ...s } = e, { orientation: c, setTabMap: l, tabActivationDirection: u } = JK(), [d, f] = h.useState(0), [p, m] = h.useState(null), _ = h.useRef(/* @__PURE__ */ new Set()), v = h.useRef(/* @__PURE__ */ new Set()), y = h.useRef(null);
|
|
58862
58877
|
rr(() => {
|
|
58863
58878
|
if (typeof ResizeObserver > "u") return;
|
|
58864
58879
|
let e = new ResizeObserver(() => {
|
|
@@ -58893,16 +58908,16 @@ var lq = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
58893
58908
|
x,
|
|
58894
58909
|
p
|
|
58895
58910
|
]);
|
|
58896
|
-
return /*#__PURE__*/ (0, g.jsx)(
|
|
58911
|
+
return /*#__PURE__*/ (0, g.jsx)(tq.Provider, {
|
|
58897
58912
|
value: w,
|
|
58898
|
-
children: /*#__PURE__*/ (0, g.jsx)(
|
|
58913
|
+
children: /*#__PURE__*/ (0, g.jsx)(lq, {
|
|
58899
58914
|
render: a,
|
|
58900
58915
|
className: r,
|
|
58901
58916
|
style: o,
|
|
58902
58917
|
state: S,
|
|
58903
58918
|
refs: [t, m],
|
|
58904
58919
|
props: [C, s],
|
|
58905
|
-
stateAttributesMapping:
|
|
58920
|
+
stateAttributesMapping: YK,
|
|
58906
58921
|
highlightedIndex: d,
|
|
58907
58922
|
enableHomeAndEndKeys: !0,
|
|
58908
58923
|
loopFocus: i,
|
|
@@ -58913,41 +58928,41 @@ var lq = /*#__PURE__*/ h.forwardRef(function(e, t) {
|
|
|
58913
58928
|
})
|
|
58914
58929
|
});
|
|
58915
58930
|
});
|
|
58916
|
-
process.env.NODE_ENV !== "production" && (
|
|
58931
|
+
process.env.NODE_ENV !== "production" && (uq.displayName = "TabsList");
|
|
58917
58932
|
//#endregion
|
|
58918
58933
|
//#region src/client/components/ui/tabs.tsx
|
|
58919
|
-
function
|
|
58920
|
-
return /* @__PURE__ */ (0, g.jsx)(
|
|
58934
|
+
function dq({ className: e, orientation: t = "horizontal", ...n }) {
|
|
58935
|
+
return /* @__PURE__ */ (0, g.jsx)(XK, {
|
|
58921
58936
|
"data-slot": "tabs",
|
|
58922
58937
|
"data-orientation": t,
|
|
58923
58938
|
className: zi("group/tabs flex gap-2 data-horizontal:flex-col", e),
|
|
58924
58939
|
...n
|
|
58925
58940
|
});
|
|
58926
58941
|
}
|
|
58927
|
-
var
|
|
58942
|
+
var fq = rn("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none", {
|
|
58928
58943
|
variants: { variant: {
|
|
58929
58944
|
default: "bg-muted",
|
|
58930
58945
|
line: "gap-1 bg-transparent"
|
|
58931
58946
|
} },
|
|
58932
58947
|
defaultVariants: { variant: "default" }
|
|
58933
58948
|
});
|
|
58934
|
-
function
|
|
58935
|
-
return /* @__PURE__ */ (0, g.jsx)(
|
|
58949
|
+
function pq({ className: e, variant: t = "default", ...n }) {
|
|
58950
|
+
return /* @__PURE__ */ (0, g.jsx)(uq, {
|
|
58936
58951
|
"data-slot": "tabs-list",
|
|
58937
58952
|
"data-variant": t,
|
|
58938
|
-
className: zi(
|
|
58953
|
+
className: zi(fq({ variant: t }), e),
|
|
58939
58954
|
...n
|
|
58940
58955
|
});
|
|
58941
58956
|
}
|
|
58942
|
-
function
|
|
58943
|
-
return /* @__PURE__ */ (0, g.jsx)(
|
|
58957
|
+
function mq({ className: e, ...t }) {
|
|
58958
|
+
return /* @__PURE__ */ (0, g.jsx)(rq, {
|
|
58944
58959
|
"data-slot": "tabs-trigger",
|
|
58945
58960
|
className: zi("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent", "data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground", "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100", e),
|
|
58946
58961
|
...t
|
|
58947
58962
|
});
|
|
58948
58963
|
}
|
|
58949
|
-
function
|
|
58950
|
-
return /* @__PURE__ */ (0, g.jsx)(
|
|
58964
|
+
function hq({ className: e, ...t }) {
|
|
58965
|
+
return /* @__PURE__ */ (0, g.jsx)(aq, {
|
|
58951
58966
|
"data-slot": "tabs-content",
|
|
58952
58967
|
className: zi("flex-1 text-sm outline-none", e),
|
|
58953
58968
|
...t
|
|
@@ -58955,35 +58970,35 @@ function mq({ className: e, ...t }) {
|
|
|
58955
58970
|
}
|
|
58956
58971
|
//#endregion
|
|
58957
58972
|
//#region src/core/route-resolver.ts
|
|
58958
|
-
var
|
|
58959
|
-
function
|
|
58960
|
-
let r =
|
|
58961
|
-
if (
|
|
58962
|
-
let i =
|
|
58973
|
+
var gq = "http://astroix.canvas/";
|
|
58974
|
+
function _q(e, t, n) {
|
|
58975
|
+
let r = Aq(t);
|
|
58976
|
+
if (Sq(e, r)) return null;
|
|
58977
|
+
let i = Cq(e, r, n);
|
|
58963
58978
|
return i.length === 1 ? i[0] ?? null : null;
|
|
58964
58979
|
}
|
|
58965
|
-
function
|
|
58966
|
-
let r =
|
|
58980
|
+
function vq(e, t, n) {
|
|
58981
|
+
let r = xq(e, t);
|
|
58967
58982
|
for (let i of r) {
|
|
58968
|
-
let r =
|
|
58983
|
+
let r = _q(t, i.url, n);
|
|
58969
58984
|
if (r === null || r.entryId !== e) return null;
|
|
58970
58985
|
}
|
|
58971
58986
|
let [i] = [...r].sort((e, t) => Number(e.rest) - Number(t.rest) || e.segments - t.segments);
|
|
58972
58987
|
return i?.url ?? null;
|
|
58973
58988
|
}
|
|
58974
|
-
function vq(e, t) {
|
|
58975
|
-
return bq(e, t).length > 0;
|
|
58976
|
-
}
|
|
58977
58989
|
function yq(e, t) {
|
|
58978
|
-
return e
|
|
58990
|
+
return xq(e, t).length > 0;
|
|
58979
58991
|
}
|
|
58980
58992
|
function bq(e, t) {
|
|
58993
|
+
return e.rendering === "on-demand" || e.renders === void 0 || e.renders.includes(t);
|
|
58994
|
+
}
|
|
58995
|
+
function xq(e, t) {
|
|
58981
58996
|
let n = [];
|
|
58982
58997
|
for (let r of t) {
|
|
58983
|
-
let i =
|
|
58984
|
-
if (i === null || i.kind !== "single-param" || !
|
|
58985
|
-
let a =
|
|
58986
|
-
a !== null && (
|
|
58998
|
+
let i = Tq(r);
|
|
58999
|
+
if (i === null || i.kind !== "single-param" || !bq(i.source, e)) continue;
|
|
59000
|
+
let a = kq(i, e);
|
|
59001
|
+
a !== null && (Sq(t, Aq(a)) || n.push({
|
|
58987
59002
|
url: a,
|
|
58988
59003
|
rest: i.segments[i.paramAt]?.kind === "rest",
|
|
58989
59004
|
segments: i.segments.length
|
|
@@ -58991,35 +59006,35 @@ function bq(e, t) {
|
|
|
58991
59006
|
}
|
|
58992
59007
|
return n;
|
|
58993
59008
|
}
|
|
58994
|
-
function
|
|
59009
|
+
function Sq(e, t) {
|
|
58995
59010
|
for (let n of e) {
|
|
58996
|
-
let e =
|
|
58997
|
-
if (e !== null && e.kind === "static" &&
|
|
59011
|
+
let e = Tq(n);
|
|
59012
|
+
if (e !== null && e.kind === "static" && Dq(e.segments, t)) return !0;
|
|
58998
59013
|
}
|
|
58999
59014
|
return !1;
|
|
59000
59015
|
}
|
|
59001
|
-
function
|
|
59016
|
+
function Cq(e, t, n) {
|
|
59002
59017
|
let r = /* @__PURE__ */ new Map();
|
|
59003
59018
|
for (let i of e) {
|
|
59004
|
-
let e =
|
|
59019
|
+
let e = Tq(i);
|
|
59005
59020
|
if (e === null || e.kind !== "single-param") continue;
|
|
59006
|
-
let a =
|
|
59007
|
-
if (a !== null &&
|
|
59021
|
+
let a = Oq(e, t);
|
|
59022
|
+
if (a !== null && bq(e.source, a)) for (let e of wq(a, n)) r.set(`${e}\u0000${a}`, {
|
|
59008
59023
|
collection: e,
|
|
59009
59024
|
entryId: a
|
|
59010
59025
|
});
|
|
59011
59026
|
}
|
|
59012
59027
|
return [...r.values()];
|
|
59013
59028
|
}
|
|
59014
|
-
function
|
|
59029
|
+
function wq(e, t) {
|
|
59015
59030
|
let n = [];
|
|
59016
59031
|
for (let [r, i] of Object.entries(t)) i.includes(e) && n.push(r);
|
|
59017
59032
|
return n;
|
|
59018
59033
|
}
|
|
59019
|
-
function
|
|
59034
|
+
function Tq(e) {
|
|
59020
59035
|
let t = [], n = -1;
|
|
59021
59036
|
for (let [r, i] of e.segments.entries()) {
|
|
59022
|
-
let a =
|
|
59037
|
+
let a = Eq(i);
|
|
59023
59038
|
if (a === null || a.kind === "rest" && r !== e.segments.length - 1) return null;
|
|
59024
59039
|
if (a.kind !== "static") {
|
|
59025
59040
|
if (n !== -1) return null;
|
|
@@ -59037,14 +59052,14 @@ function wq(e) {
|
|
|
59037
59052
|
source: e
|
|
59038
59053
|
};
|
|
59039
59054
|
}
|
|
59040
|
-
function
|
|
59055
|
+
function Eq(e) {
|
|
59041
59056
|
let [t] = e;
|
|
59042
59057
|
return t === void 0 || e.length !== 1 ? null : t.spread ? { kind: "rest" } : t.dynamic ? { kind: "param" } : {
|
|
59043
59058
|
kind: "static",
|
|
59044
59059
|
text: t.content
|
|
59045
59060
|
};
|
|
59046
59061
|
}
|
|
59047
|
-
function
|
|
59062
|
+
function Dq(e, t) {
|
|
59048
59063
|
let n = e.findIndex((e) => e.kind === "rest");
|
|
59049
59064
|
if (n === -1) return e.length === t.length && e.every((e, n) => e.kind !== "static" || e.text === t[n]);
|
|
59050
59065
|
if (t.length < e.length) return !1;
|
|
@@ -59054,38 +59069,38 @@ function Eq(e, t) {
|
|
|
59054
59069
|
}
|
|
59055
59070
|
return !0;
|
|
59056
59071
|
}
|
|
59057
|
-
function Dq(e, t) {
|
|
59058
|
-
return Eq(e.segments, t) ? e.segments[e.paramAt]?.kind === "rest" ? t.slice(e.paramAt).join("/") : t[e.paramAt] ?? null : null;
|
|
59059
|
-
}
|
|
59060
59072
|
function Oq(e, t) {
|
|
59073
|
+
return Dq(e.segments, t) ? e.segments[e.paramAt]?.kind === "rest" ? t.slice(e.paramAt).join("/") : t[e.paramAt] ?? null : null;
|
|
59074
|
+
}
|
|
59075
|
+
function kq(e, t) {
|
|
59061
59076
|
let n = t.split("/");
|
|
59062
59077
|
if (!(e.segments[e.paramAt]?.kind === "rest" ? n.every((e) => e !== "") : n.length === 1 && n[0] !== "")) return null;
|
|
59063
59078
|
let r = [];
|
|
59064
|
-
for (let t of e.segments) t.kind === "static" ? r.push(t.text) : t.kind === "param" ? r.push(
|
|
59079
|
+
for (let t of e.segments) t.kind === "static" ? r.push(t.text) : t.kind === "param" ? r.push(Mq(n[0] ?? "")) : r.push(...n.map(Mq));
|
|
59065
59080
|
return `/${r.join("/")}`;
|
|
59066
59081
|
}
|
|
59067
|
-
function
|
|
59082
|
+
function Aq(e) {
|
|
59068
59083
|
let t;
|
|
59069
59084
|
try {
|
|
59070
|
-
t = new URL(e,
|
|
59085
|
+
t = new URL(e, gq).pathname;
|
|
59071
59086
|
} catch {
|
|
59072
59087
|
return [];
|
|
59073
59088
|
}
|
|
59074
|
-
return t.split("/").filter((e) => e !== "").map(
|
|
59089
|
+
return t.split("/").filter((e) => e !== "").map(jq);
|
|
59075
59090
|
}
|
|
59076
|
-
function
|
|
59091
|
+
function jq(e) {
|
|
59077
59092
|
try {
|
|
59078
59093
|
return decodeURIComponent(e);
|
|
59079
59094
|
} catch {
|
|
59080
59095
|
return e;
|
|
59081
59096
|
}
|
|
59082
59097
|
}
|
|
59083
|
-
function
|
|
59098
|
+
function Mq(e) {
|
|
59084
59099
|
return encodeURIComponent(e);
|
|
59085
59100
|
}
|
|
59086
59101
|
//#endregion
|
|
59087
59102
|
//#region src/client/features/content/content-sidebar.tsx
|
|
59088
|
-
function
|
|
59103
|
+
function Nq(e) {
|
|
59089
59104
|
let t = {
|
|
59090
59105
|
rootEntries: [],
|
|
59091
59106
|
folders: []
|
|
@@ -59110,7 +59125,7 @@ function Mq(e) {
|
|
|
59110
59125
|
}
|
|
59111
59126
|
return t;
|
|
59112
59127
|
}
|
|
59113
|
-
function
|
|
59128
|
+
function Pq(e) {
|
|
59114
59129
|
let t = e.entryId.split("/").at(-1) ?? e.entryId;
|
|
59115
59130
|
return /* @__PURE__ */ (0, g.jsx)("li", { children: /* @__PURE__ */ (0, g.jsxs)("button", {
|
|
59116
59131
|
type: "button",
|
|
@@ -59127,7 +59142,7 @@ function Nq(e) {
|
|
|
59127
59142
|
})]
|
|
59128
59143
|
}) });
|
|
59129
59144
|
}
|
|
59130
|
-
function
|
|
59145
|
+
function Fq(e) {
|
|
59131
59146
|
let t = e.open ? _n : vn;
|
|
59132
59147
|
return /* @__PURE__ */ (0, g.jsxs)("li", { children: [/* @__PURE__ */ (0, g.jsxs)("button", {
|
|
59133
59148
|
type: "button",
|
|
@@ -59144,10 +59159,10 @@ function Pq(e) {
|
|
|
59144
59159
|
children: e.children
|
|
59145
59160
|
})] });
|
|
59146
59161
|
}
|
|
59147
|
-
function
|
|
59148
|
-
let { data: e, isPending: t } = Lf(), { data: n, isPending: r } = Rf(), i = Sf((e) => e.canvasLoad), a = Sf((e) => e.requestCanvasNav), o =
|
|
59162
|
+
function Iq() {
|
|
59163
|
+
let { data: e, isPending: t } = Lf(), { data: n, isPending: r } = Rf(), i = Sf((e) => e.canvasLoad), a = Sf((e) => e.requestCanvasNav), o = $G((e) => e.activeEntry), s = $G((e) => e.collapsedFolders), c = $G((e) => e.toggleFolder), l = $G((e) => e.selectEntry), u = $G((e) => e.armReverseVerify), d = $G((e) => e.applyCanvasResolution);
|
|
59149
59164
|
if ((0, h.useEffect)(() => {
|
|
59150
|
-
i !== null && e !== void 0 && n !== void 0 && d(
|
|
59165
|
+
i !== null && e !== void 0 && n !== void 0 && d(_q(n, i.url, zf(e)), i);
|
|
59151
59166
|
}, [
|
|
59152
59167
|
i,
|
|
59153
59168
|
e,
|
|
@@ -59163,21 +59178,18 @@ function Fq() {
|
|
|
59163
59178
|
collection: t,
|
|
59164
59179
|
entryId: r
|
|
59165
59180
|
}), e === void 0 || n === void 0 || e.filter((e) => e.entries.some((e) => e.id === r)).length !== 1) return;
|
|
59166
|
-
let i =
|
|
59167
|
-
i !== null && (u(
|
|
59168
|
-
|
|
59169
|
-
entryId: r
|
|
59170
|
-
}), a(i));
|
|
59171
|
-
}, p = (e, t) => o !== null && o.collection === e && o.entryId === t, m = (e) => !vq(e, n ?? []), _ = (e, t) => {
|
|
59181
|
+
let i = vq(r, n, zf(e));
|
|
59182
|
+
i !== null && (u(i), a(i));
|
|
59183
|
+
}, p = (e, t) => o !== null && o.collection === e && o.entryId === t, m = (e) => !yq(e, n ?? []), _ = (e, t) => {
|
|
59172
59184
|
let n = `${e}/${t.path}`;
|
|
59173
|
-
return /* @__PURE__ */ (0, g.jsxs)(
|
|
59185
|
+
return /* @__PURE__ */ (0, g.jsxs)(Fq, {
|
|
59174
59186
|
folderKey: n,
|
|
59175
59187
|
name: t.name,
|
|
59176
59188
|
open: !s.has(n),
|
|
59177
59189
|
onToggle: c,
|
|
59178
59190
|
children: [t.folders.map((t) => _(e, t)), t.entries.map((t) => v(e, t))]
|
|
59179
59191
|
}, n);
|
|
59180
|
-
}, v = (e, t) => /* @__PURE__ */ (0, g.jsx)(
|
|
59192
|
+
}, v = (e, t) => /* @__PURE__ */ (0, g.jsx)(Pq, {
|
|
59181
59193
|
collection: e,
|
|
59182
59194
|
entryId: t,
|
|
59183
59195
|
active: p(e, t),
|
|
@@ -59188,7 +59200,7 @@ function Fq() {
|
|
|
59188
59200
|
"data-astroix-entries": "ready",
|
|
59189
59201
|
className: "flex min-h-0 flex-1 flex-col gap-3 px-2 pb-2",
|
|
59190
59202
|
children: e?.map((e) => {
|
|
59191
|
-
let t =
|
|
59203
|
+
let t = Nq(e.entries.map((e) => e.id));
|
|
59192
59204
|
return /* @__PURE__ */ (0, g.jsxs)("section", {
|
|
59193
59205
|
"data-astroix-collection": e.name,
|
|
59194
59206
|
children: [/* @__PURE__ */ (0, g.jsx)("h2", {
|
|
@@ -59204,10 +59216,10 @@ function Fq() {
|
|
|
59204
59216
|
}
|
|
59205
59217
|
//#endregion
|
|
59206
59218
|
//#region src/core/matcher.ts
|
|
59207
|
-
function
|
|
59219
|
+
function Lq(e, t) {
|
|
59208
59220
|
let n = [];
|
|
59209
59221
|
return e.forEach((e, r) => {
|
|
59210
|
-
let i =
|
|
59222
|
+
let i = Rq(e);
|
|
59211
59223
|
if (i !== null) {
|
|
59212
59224
|
try {
|
|
59213
59225
|
if (!t.matches(i)) return;
|
|
@@ -59216,35 +59228,35 @@ function Iq(e, t) {
|
|
|
59216
59228
|
}
|
|
59217
59229
|
n.push({
|
|
59218
59230
|
record: e,
|
|
59219
|
-
specificity:
|
|
59231
|
+
specificity: Bq(i),
|
|
59220
59232
|
order: r
|
|
59221
59233
|
});
|
|
59222
59234
|
}
|
|
59223
|
-
}), n.toSorted((e, t) =>
|
|
59235
|
+
}), n.toSorted((e, t) => zq(t.specificity, e.specificity) || e.order - t.order).map(({ record: e, specificity: t }, n) => ({
|
|
59224
59236
|
record: e,
|
|
59225
59237
|
specificity: t,
|
|
59226
59238
|
winner: n === 0
|
|
59227
59239
|
}));
|
|
59228
59240
|
}
|
|
59229
|
-
function
|
|
59241
|
+
function Rq(e) {
|
|
59230
59242
|
return e.scoped ? e.effectiveSelector : e.effectiveSelector ?? e.selector;
|
|
59231
59243
|
}
|
|
59232
|
-
function
|
|
59244
|
+
function zq(e, t) {
|
|
59233
59245
|
return e[0] - t[0] || e[1] - t[1] || e[2] - t[2];
|
|
59234
59246
|
}
|
|
59235
|
-
function
|
|
59247
|
+
function Bq(e) {
|
|
59236
59248
|
let t = [
|
|
59237
59249
|
0,
|
|
59238
59250
|
0,
|
|
59239
59251
|
0
|
|
59240
59252
|
];
|
|
59241
|
-
for (let n of
|
|
59242
|
-
let e =
|
|
59243
|
-
|
|
59253
|
+
for (let n of Kq(e, ",")) {
|
|
59254
|
+
let e = Vq(n.trim());
|
|
59255
|
+
zq(e, t) > 0 && (t = e);
|
|
59244
59256
|
}
|
|
59245
59257
|
return t;
|
|
59246
59258
|
}
|
|
59247
|
-
function
|
|
59259
|
+
function Vq(e) {
|
|
59248
59260
|
let t = [
|
|
59249
59261
|
0,
|
|
59250
59262
|
0,
|
|
@@ -59252,43 +59264,43 @@ function Bq(e) {
|
|
|
59252
59264
|
], n = 0;
|
|
59253
59265
|
for (; n < e.length;) {
|
|
59254
59266
|
let r = e[n];
|
|
59255
|
-
if (r === "#") t[0] += 1, n =
|
|
59256
|
-
else if (r === ".") t[1] += 1, n =
|
|
59257
|
-
else if (r === "[") t[1] += 1, n =
|
|
59267
|
+
if (r === "#") t[0] += 1, n = Wq(e, n + 1);
|
|
59268
|
+
else if (r === ".") t[1] += 1, n = Wq(e, n + 1);
|
|
59269
|
+
else if (r === "[") t[1] += 1, n = Gq(e, n, "[", "]") + 1;
|
|
59258
59270
|
else if (r === ":") {
|
|
59259
59271
|
if (e[n + 1] === ":") {
|
|
59260
|
-
t[2] += 1, n =
|
|
59272
|
+
t[2] += 1, n = Wq(e, n + 2);
|
|
59261
59273
|
continue;
|
|
59262
59274
|
}
|
|
59263
|
-
let r =
|
|
59275
|
+
let r = Wq(e, n + 1), i = e.slice(n + 1, r);
|
|
59264
59276
|
if (e[r] === "(") {
|
|
59265
|
-
let a =
|
|
59266
|
-
|
|
59277
|
+
let a = Gq(e, r, "(", ")");
|
|
59278
|
+
Uq(t, Hq(i, e.slice(r + 1, a))), n = a + 1;
|
|
59267
59279
|
} else t[1] += 1, n = r;
|
|
59268
|
-
} else /[a-zA-Z]/.test(r ?? "") ? (t[2] += 1, n =
|
|
59280
|
+
} else /[a-zA-Z]/.test(r ?? "") ? (t[2] += 1, n = Wq(e, n)) : n += 1;
|
|
59269
59281
|
}
|
|
59270
59282
|
return t;
|
|
59271
59283
|
}
|
|
59272
|
-
function
|
|
59284
|
+
function Hq(e, t) {
|
|
59273
59285
|
return e === "where" ? [
|
|
59274
59286
|
0,
|
|
59275
59287
|
0,
|
|
59276
59288
|
0
|
|
59277
|
-
] : e === "is" || e === "not" || e === "has" ?
|
|
59289
|
+
] : e === "is" || e === "not" || e === "has" ? Bq(t) : [
|
|
59278
59290
|
0,
|
|
59279
59291
|
1,
|
|
59280
59292
|
0
|
|
59281
59293
|
];
|
|
59282
59294
|
}
|
|
59283
|
-
function
|
|
59295
|
+
function Uq(e, t) {
|
|
59284
59296
|
e[0] += t[0], e[1] += t[1], e[2] += t[2];
|
|
59285
59297
|
}
|
|
59286
|
-
function
|
|
59298
|
+
function Wq(e, t) {
|
|
59287
59299
|
let n = t;
|
|
59288
59300
|
for (; n < e.length && /[a-zA-Z0-9_-]/.test(e[n] ?? "");) n += 1;
|
|
59289
59301
|
return n;
|
|
59290
59302
|
}
|
|
59291
|
-
function
|
|
59303
|
+
function Gq(e, t, n, r) {
|
|
59292
59304
|
let i = 0;
|
|
59293
59305
|
for (let a = t; a < e.length; a++) {
|
|
59294
59306
|
let t = e[a];
|
|
@@ -59297,7 +59309,7 @@ function Wq(e, t, n, r) {
|
|
|
59297
59309
|
}
|
|
59298
59310
|
return e.length - 1;
|
|
59299
59311
|
}
|
|
59300
|
-
function
|
|
59312
|
+
function Kq(e, t) {
|
|
59301
59313
|
let n = [], r = 0, i = 0;
|
|
59302
59314
|
for (let a = 0; a < e.length; a++) {
|
|
59303
59315
|
let o = e[a];
|
|
@@ -59307,8 +59319,8 @@ function Gq(e, t) {
|
|
|
59307
59319
|
}
|
|
59308
59320
|
//#endregion
|
|
59309
59321
|
//#region src/client/features/css/rule-list.tsx
|
|
59310
|
-
function
|
|
59311
|
-
let n =
|
|
59322
|
+
function qq({ payload: e, selection: t }) {
|
|
59323
|
+
let n = CK((e) => e.openEditor);
|
|
59312
59324
|
if (t === null) return /* @__PURE__ */ (0, g.jsxs)("section", {
|
|
59313
59325
|
"data-astroix-rules": "no-selection",
|
|
59314
59326
|
className: "text-slate-500",
|
|
@@ -59325,7 +59337,7 @@ function Kq({ payload: e, selection: t }) {
|
|
|
59325
59337
|
children: "Rules"
|
|
59326
59338
|
}), /* @__PURE__ */ (0, g.jsx)("p", { children: "loading…" })]
|
|
59327
59339
|
});
|
|
59328
|
-
let r =
|
|
59340
|
+
let r = Lq(e, t.element);
|
|
59329
59341
|
if (r.length === 0) return /* @__PURE__ */ (0, g.jsxs)("section", {
|
|
59330
59342
|
"data-astroix-rules": "empty",
|
|
59331
59343
|
className: "text-slate-500",
|
|
@@ -59405,8 +59417,8 @@ function Kq({ payload: e, selection: t }) {
|
|
|
59405
59417
|
}
|
|
59406
59418
|
//#endregion
|
|
59407
59419
|
//#region src/client/features/css/css-sidebar.tsx
|
|
59408
|
-
function
|
|
59409
|
-
let e = Sf((e) => e.selection), { data: t, refetch: n } =
|
|
59420
|
+
function Jq() {
|
|
59421
|
+
let e = Sf((e) => e.selection), { data: t, refetch: n } = xK();
|
|
59410
59422
|
(0, h.useEffect)(() => {
|
|
59411
59423
|
e !== null && n();
|
|
59412
59424
|
}, [e, n]);
|
|
@@ -59430,7 +59442,7 @@ function qq() {
|
|
|
59430
59442
|
children: [r, " rules indexed"]
|
|
59431
59443
|
})]
|
|
59432
59444
|
}),
|
|
59433
|
-
/* @__PURE__ */ (0, g.jsx)(
|
|
59445
|
+
/* @__PURE__ */ (0, g.jsx)(qq, {
|
|
59434
59446
|
payload: t,
|
|
59435
59447
|
selection: e
|
|
59436
59448
|
}),
|
|
@@ -59443,46 +59455,46 @@ function qq() {
|
|
|
59443
59455
|
}
|
|
59444
59456
|
//#endregion
|
|
59445
59457
|
//#region src/client/sidebar.tsx
|
|
59446
|
-
function
|
|
59458
|
+
function Yq() {
|
|
59447
59459
|
let e = Sf((e) => e.activeVertical), t = Sf((e) => e.setActiveVertical);
|
|
59448
59460
|
return /* @__PURE__ */ (0, g.jsxs)(df, {
|
|
59449
59461
|
collapsible: "offcanvas",
|
|
59450
59462
|
className: "absolute h-full",
|
|
59451
|
-
children: [/* @__PURE__ */ (0, g.jsxs)(
|
|
59463
|
+
children: [/* @__PURE__ */ (0, g.jsxs)(dq, {
|
|
59452
59464
|
className: "min-h-0 flex-1",
|
|
59453
59465
|
value: e,
|
|
59454
59466
|
onValueChange: (e) => {
|
|
59455
59467
|
(e === "css" || e === "content") && t(e);
|
|
59456
59468
|
},
|
|
59457
|
-
children: [/* @__PURE__ */ (0, g.jsx)(pf, { children: /* @__PURE__ */ (0, g.jsxs)(
|
|
59469
|
+
children: [/* @__PURE__ */ (0, g.jsx)(pf, { children: /* @__PURE__ */ (0, g.jsxs)(pq, {
|
|
59458
59470
|
className: "w-full",
|
|
59459
|
-
children: [/* @__PURE__ */ (0, g.jsx)(
|
|
59471
|
+
children: [/* @__PURE__ */ (0, g.jsx)(mq, {
|
|
59460
59472
|
value: "css",
|
|
59461
59473
|
children: "CSS"
|
|
59462
|
-
}), /* @__PURE__ */ (0, g.jsx)(
|
|
59474
|
+
}), /* @__PURE__ */ (0, g.jsx)(mq, {
|
|
59463
59475
|
value: "content",
|
|
59464
59476
|
children: "Content"
|
|
59465
59477
|
})]
|
|
59466
|
-
}) }), /* @__PURE__ */ (0, g.jsxs)(mf, { children: [/* @__PURE__ */ (0, g.jsx)(
|
|
59478
|
+
}) }), /* @__PURE__ */ (0, g.jsxs)(mf, { children: [/* @__PURE__ */ (0, g.jsx)(hq, {
|
|
59467
59479
|
className: "flex min-h-0 flex-col",
|
|
59468
59480
|
value: "css",
|
|
59469
|
-
children: /* @__PURE__ */ (0, g.jsx)(
|
|
59470
|
-
}), /* @__PURE__ */ (0, g.jsx)(
|
|
59481
|
+
children: /* @__PURE__ */ (0, g.jsx)(Jq, {})
|
|
59482
|
+
}), /* @__PURE__ */ (0, g.jsx)(hq, {
|
|
59471
59483
|
className: "flex min-h-0 flex-col",
|
|
59472
59484
|
value: "content",
|
|
59473
|
-
children: /* @__PURE__ */ (0, g.jsx)(
|
|
59485
|
+
children: /* @__PURE__ */ (0, g.jsx)(Iq, {})
|
|
59474
59486
|
})] })]
|
|
59475
59487
|
}), /* @__PURE__ */ (0, g.jsx)(ff, {})]
|
|
59476
59488
|
});
|
|
59477
59489
|
}
|
|
59478
59490
|
//#endregion
|
|
59479
59491
|
//#region src/client/app.tsx
|
|
59480
|
-
function
|
|
59492
|
+
function Xq() {
|
|
59481
59493
|
let e = document.cookie.match(/(?:^|;\s*)sidebar_state=(true|false)\b/);
|
|
59482
59494
|
return e === null || e[1] === "true";
|
|
59483
59495
|
}
|
|
59484
|
-
var
|
|
59485
|
-
function
|
|
59496
|
+
var Zq = Xq();
|
|
59497
|
+
function Qq() {
|
|
59486
59498
|
let e = v();
|
|
59487
59499
|
(0, h.useEffect)(() => {}, [e]);
|
|
59488
59500
|
let t = Sf((e) => e.canvasLoad);
|
|
@@ -59493,41 +59505,41 @@ function Zq() {
|
|
|
59493
59505
|
return /* @__PURE__ */ (0, g.jsxs)("div", {
|
|
59494
59506
|
className: "dark flex h-full w-full flex-col bg-background text-foreground",
|
|
59495
59507
|
children: [
|
|
59496
|
-
/* @__PURE__ */ (0, g.jsx)(
|
|
59508
|
+
/* @__PURE__ */ (0, g.jsx)(SK, {}),
|
|
59497
59509
|
/* @__PURE__ */ (0, g.jsxs)(uf, {
|
|
59498
59510
|
className: "relative min-h-0 flex-1",
|
|
59499
|
-
defaultOpen:
|
|
59511
|
+
defaultOpen: Zq,
|
|
59500
59512
|
style: { "--sidebar-width": "18rem" },
|
|
59501
59513
|
children: [
|
|
59502
|
-
/* @__PURE__ */ (0, g.jsx)(
|
|
59514
|
+
/* @__PURE__ */ (0, g.jsx)(Yq, {}),
|
|
59503
59515
|
/* @__PURE__ */ (0, g.jsx)("div", {
|
|
59504
59516
|
className: "flex w-[480px] shrink-0 flex-col border-r border-border bg-background",
|
|
59505
|
-
children: n === "css" ? /* @__PURE__ */ (0, g.jsx)(
|
|
59517
|
+
children: n === "css" ? /* @__PURE__ */ (0, g.jsx)(EK, {}) : /* @__PURE__ */ (0, g.jsx)(yK, {})
|
|
59506
59518
|
}),
|
|
59507
59519
|
/* @__PURE__ */ (0, g.jsx)(Nf, {})
|
|
59508
59520
|
]
|
|
59509
59521
|
}),
|
|
59510
|
-
/* @__PURE__ */ (0, g.jsx)(
|
|
59522
|
+
/* @__PURE__ */ (0, g.jsx)(UK, {})
|
|
59511
59523
|
]
|
|
59512
59524
|
});
|
|
59513
59525
|
}
|
|
59514
59526
|
//#endregion
|
|
59515
59527
|
//#region src/client/chrome.css?inline
|
|
59516
|
-
var Qq = "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--shimmer-angle:20deg}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:\"\";--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0;--scroll-fade-t:0px;--scroll-fade-b:0px;--scroll-fade-s:0px;--scroll-fade-e:0px;--scroll-fade-mask:initial;--shimmer-image:initial;--shimmer-text-fill:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-500:oklch(68.5% .169 237.323);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--tracking-widest:.1em;--leading-snug:1.375;--leading-normal:1.5;--radius-md:calc(var(--radius) * .8);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-xs:4px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){*{outline-color:color-mix(in oklab, var(--ring) 50%, transparent)}}body{background-color:var(--background);color:var(--foreground)}html{font-family:var(--font-sans)}}@layer components;@layer utilities{.\\@container\\/field-group{container:field-group/inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:0}.inset-y-0{inset-block:0}.top-0{top:0}.top-1\\.5{top:calc(var(--spacing) * 1.5)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing) * 2)}.top-3{top:calc(var(--spacing) * 3)}.top-3\\.5{top:calc(var(--spacing) * 3.5)}.right-1{right:var(--spacing)}.right-2{right:calc(var(--spacing) * 2)}.right-3{right:calc(var(--spacing) * 3)}.bottom-0{bottom:0}.bottom-2{bottom:calc(var(--spacing) * 2)}.left-1\\/2{left:50%}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\\[90\\]{z-index:90}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-3\\.5{margin-inline:calc(var(--spacing) * 3.5)}.mx-auto{margin-inline:auto}.-my-2{margin-block:calc(var(--spacing) * -2)}.my-1{margin-block:var(--spacing)}.mt-auto{margin-top:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.mb-1{margin-bottom:var(--spacing)}.mb-1\\.5{margin-bottom:calc(var(--spacing) * 1.5)}.ml-1{margin-left:var(--spacing)}.ml-3{margin-left:calc(var(--spacing) * 3)}.ml-4{margin-left:calc(var(--spacing) * 4)}.ml-auto{margin-left:auto}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.field-sizing-content{field-sizing:content}.aspect-square{aspect-ratio:1}.size-1\\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-2\\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-full{width:100%;height:100%}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-12{height:calc(var(--spacing) * 12)}.h-\\[45\\%\\]{height:45%}.h-\\[calc\\(100\\%-1px\\)\\]{height:calc(100% - 1px)}.h-full{height:100%}.h-px{height:1px}.h-svh{height:100svh}.max-h-\\(--available-height\\){max-height:var(--available-height)}.max-h-40{max-height:calc(var(--spacing) * 40)}.max-h-44{max-height:calc(var(--spacing) * 44)}.min-h-0{min-height:0}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-svh{min-height:100svh}.w-\\(--anchor-width\\){width:var(--anchor-width)}.w-\\(--sidebar-width\\){width:var(--sidebar-width)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-12{width:calc(var(--spacing) * 12)}.w-\\[480px\\]{width:480px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\(--skeleton-width\\){max-width:var(--skeleton-width)}.max-w-\\[calc\\(100\\%-2rem\\)\\]{max-width:calc(100% - 2rem)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:0}.min-w-5{min-width:calc(var(--spacing) * 5)}.min-w-36{min-width:calc(var(--spacing) * 36)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.origin-\\(--transform-origin\\){transform-origin:var(--transform-origin)}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-px{--tw-translate-x:-1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-2{--tw-translate-x:calc(var(--spacing) * 2);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-px{--tw-translate-x:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\\[calc\\(-50\\%-2px\\)\\]{--tw-translate-y:calc(-50% - 2px);translate:var(--tw-translate-x) var(--tw-translate-y)}.rotate-45{rotate:45deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-default{cursor:default}.scroll-my-1{scroll-margin-block:var(--spacing)}.list-disc{list-style-type:disc}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.items-baseline{align-items:baseline}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0{gap:0}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[2px\\]{border-radius:2px}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[min\\(var\\(--radius-md\\)\\,10px\\)\\]{border-radius:min(var(--radius-md), 10px)}.rounded-\\[min\\(var\\(--radius-md\\)\\,12px\\)\\]{border-radius:min(var(--radius-md), 12px)}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) * .8)}.rounded-sm{border-radius:calc(var(--radius) * .6)}.rounded-xl{border-radius:calc(var(--radius) * 1.4)}.rounded-b-xl{border-bottom-right-radius:calc(var(--radius) * 1.4);border-bottom-left-radius:calc(var(--radius) * 1.4)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-amber-500\\/60{border-color:#f99c0099}@supports (color:color-mix(in lab, red, red)){.border-amber-500\\/60{border-color:color-mix(in oklab, var(--color-amber-500) 60%, transparent)}}.border-border{border-color:var(--border)}.border-input{border-color:var(--input)}.border-sidebar-border{border-color:var(--sidebar-border)}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-800{border-color:var(--color-slate-800)}.border-transparent{border-color:#0000}.bg-accent{background-color:var(--accent)}.bg-amber-500\\/10{background-color:#f99c001a}@supports (color:color-mix(in lab, red, red)){.bg-amber-500\\/10{background-color:color-mix(in oklab, var(--color-amber-500) 10%, transparent)}}.bg-background{background-color:var(--background)}.bg-black\\/10{background-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.bg-black\\/10{background-color:color-mix(in oklab, var(--color-black) 10%, transparent)}}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-destructive\\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.bg-destructive\\/10{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-foreground{background-color:var(--foreground)}.bg-muted,.bg-muted\\/50{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\\/50{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.bg-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-secondary{background-color:var(--secondary)}.bg-sidebar{background-color:var(--sidebar)}.bg-sidebar-border{background-color:var(--sidebar-border)}.bg-sky-500{background-color:var(--color-sky-500)}.bg-slate-300{background-color:var(--color-slate-300)}.bg-slate-700{background-color:var(--color-slate-700)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-900\\/90{background-color:#0f172be6}@supports (color:color-mix(in lab, red, red)){.bg-slate-900\\/90{background-color:color-mix(in oklab, var(--color-slate-900) 90%, transparent)}}.bg-slate-950{background-color:var(--color-slate-950)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-clip-padding{background-clip:padding-box}.fill-foreground{fill:var(--foreground)}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-4{padding:calc(var(--spacing) * 4)}.p-\\[3px\\]{padding:3px}.px-1{padding-inline:var(--spacing)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pl-1\\.5{padding-left:calc(var(--spacing) * 1.5)}.pl-2\\.5{padding-left:calc(var(--spacing) * 2.5)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[0\\.8rem\\]{font-size:.8rem}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-accent-foreground{color:var(--accent-foreground)}.text-amber-400{color:var(--color-amber-400)}.text-background{color:var(--background)}.text-current{color:currentColor}.text-destructive{color:var(--destructive)}.text-emerald-400{color:var(--color-emerald-400)}.text-foreground,.text-foreground\\/60{color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.text-foreground\\/60{color:color-mix(in oklab, var(--foreground) 60%, transparent)}}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-sidebar-foreground,.text-sidebar-foreground\\/70{color:var(--sidebar-foreground)}@supports (color:color-mix(in lab, red, red)){.text-sidebar-foreground\\/70{color:color-mix(in oklab, var(--sidebar-foreground) 70%, transparent)}}.text-sky-300{color:var(--color-sky-300)}.text-slate-200{color:var(--color-slate-200)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-950{color:var(--color-slate-950)}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_0_0_1px_var\\(--sidebar-border\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,var(--sidebar-border));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-foreground\\/10{--tw-ring-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.ring-foreground\\/10{--tw-ring-color:color-mix(in oklab, var(--foreground) 10%, transparent)}}.ring-sidebar-ring{--tw-ring-color:var(--sidebar-ring)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[left\\,right\\,width\\]{transition-property:left,right,width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[margin\\,opacity\\]{transition-property:margin,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\,height\\,padding\\]{transition-property:width,height,padding;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-none{transition-property:none}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:is(.\\*\\:w-full>*){width:100%}.group-focus-within\\/menu-item\\:opacity-100:is(:where(.group\\/menu-item):focus-within *){opacity:1}@media (hover:hover){.group-hover\\/menu-item\\:opacity-100:is(:where(.group\\/menu-item):hover *){opacity:1}}.group-has-disabled\\/field\\:opacity-50:is(:where(.group\\/field):has(:disabled) *){opacity:.5}.group-has-data-\\[sidebar\\=menu-action\\]\\/menu-item\\:pr-8:is(:where(.group\\/menu-item):has([data-sidebar=menu-action]) *){padding-right:calc(var(--spacing) * 8)}.group-has-data-horizontal\\/field\\:text-balance:is(:where(.group\\/field):has(:where([data-orientation=horizontal])) *){text-wrap:balance}.group-has-\\[\\:focus-visible\\]\\/field-label\\:ring-0:is(:where(.group\\/field-label):has(:focus-visible) *){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-has-\\[\\:focus-visible\\]\\/field-label\\:not-data-checked\\:border-input:is(:where(.group\\/field-label):has(:focus-visible) *):not(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){border-color:var(--input)}.group-data-\\[collapsible\\=icon\\]\\:-mt-8:is(:where(.group)[data-collapsible=icon] *){margin-top:calc(var(--spacing) * -8)}.group-data-\\[collapsible\\=icon\\]\\:hidden:is(:where(.group)[data-collapsible=icon] *){display:none}.group-data-\\[collapsible\\=icon\\]\\:size-8\\!:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--spacing) * 8)!important;height:calc(var(--spacing) * 8)!important}.group-data-\\[collapsible\\=icon\\]\\:w-\\(--sidebar-width-icon\\):is(:where(.group)[data-collapsible=icon] *){width:var(--sidebar-width-icon)}.group-data-\\[collapsible\\=icon\\]\\:w-\\[calc\\(var\\(--sidebar-width-icon\\)\\+\\(--spacing\\(4\\)\\)\\)\\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing) * 4)))}.group-data-\\[collapsible\\=icon\\]\\:w-\\[calc\\(var\\(--sidebar-width-icon\\)\\+\\(--spacing\\(4\\)\\)\\+2px\\)\\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing) * 4)) + 2px)}.group-data-\\[collapsible\\=icon\\]\\:overflow-hidden:is(:where(.group)[data-collapsible=icon] *){overflow:hidden}.group-data-\\[collapsible\\=icon\\]\\:p-0\\!:is(:where(.group)[data-collapsible=icon] *){padding:0!important}.group-data-\\[collapsible\\=icon\\]\\:p-2\\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing) * 2)!important}.group-data-\\[collapsible\\=icon\\]\\:opacity-0:is(:where(.group)[data-collapsible=icon] *){opacity:0}.group-data-\\[collapsible\\=offcanvas\\]\\:w-0:is(:where(.group)[data-collapsible=offcanvas] *){width:0}.group-data-\\[collapsible\\=offcanvas\\]\\:translate-x-0:is(:where(.group)[data-collapsible=offcanvas] *){--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.group-data-\\[disabled\\=true\\]\\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\\[disabled\\=true\\]\\:opacity-50:is(:where(.group)[data-disabled=true] *),.group-data-\\[disabled\\=true\\]\\/field\\:opacity-50:is(:where(.group\\/field)[data-disabled=true] *){opacity:.5}.group-data-\\[side\\=left\\]\\:-right-4:is(:where(.group)[data-side=left] *){right:calc(var(--spacing) * -4)}.group-data-\\[side\\=left\\]\\:border-r:is(:where(.group)[data-side=left] *){border-right-style:var(--tw-border-style);border-right-width:1px}.group-data-\\[side\\=right\\]\\:left-0:is(:where(.group)[data-side=right] *){left:0}.group-data-\\[side\\=right\\]\\:rotate-180:is(:where(.group)[data-side=right] *){rotate:180deg}.group-data-\\[side\\=right\\]\\:border-l:is(:where(.group)[data-side=right] *){border-left-style:var(--tw-border-style);border-left-width:1px}.group-data-\\[variant\\=floating\\]\\:rounded-lg:is(:where(.group)[data-variant=floating] *){border-radius:var(--radius)}.group-data-\\[variant\\=floating\\]\\:shadow-sm:is(:where(.group)[data-variant=floating] *){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\\[variant\\=floating\\]\\:ring-1:is(:where(.group)[data-variant=floating] *){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\\[variant\\=floating\\]\\:ring-sidebar-border:is(:where(.group)[data-variant=floating] *){--tw-ring-color:var(--sidebar-border)}.group-data-\\[variant\\=line\\]\\/tabs-list\\:bg-transparent:is(:where(.group\\/tabs-list)[data-variant=line] *){background-color:#0000}.group-data-\\[variant\\=outline\\]\\/field-group\\:-mb-2:is(:where(.group\\/field-group)[data-variant=outline] *){margin-bottom:calc(var(--spacing) * -2)}.group-data-horizontal\\/tabs\\:h-8:is(:where(.group\\/tabs):where([data-orientation=horizontal]) *){height:calc(var(--spacing) * 8)}.group-data-vertical\\/tabs\\:h-fit:is(:where(.group\\/tabs):where([data-orientation=vertical]) *){height:fit-content}.group-data-vertical\\/tabs\\:w-full:is(:where(.group\\/tabs):where([data-orientation=vertical]) *){width:100%}.group-data-vertical\\/tabs\\:flex-col:is(:where(.group\\/tabs):where([data-orientation=vertical]) *){flex-direction:column}.group-data-vertical\\/tabs\\:justify-start:is(:where(.group\\/tabs):where([data-orientation=vertical]) *){justify-content:flex-start}@media (hover:hover){.peer-hover\\/menu-button\\:text-sidebar-accent-foreground:is(:where(.peer\\/menu-button):hover~*){color:var(--sidebar-accent-foreground)}}.peer-disabled\\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.peer-data-\\[size\\=default\\]\\/menu-button\\:top-1\\.5:is(:where(.peer\\/menu-button)[data-size=default]~*){top:calc(var(--spacing) * 1.5)}.peer-data-\\[size\\=lg\\]\\/menu-button\\:top-2\\.5:is(:where(.peer\\/menu-button)[data-size=lg]~*){top:calc(var(--spacing) * 2.5)}.peer-data-\\[size\\=sm\\]\\/menu-button\\:top-1:is(:where(.peer\\/menu-button)[data-size=sm]~*){top:var(--spacing)}.peer-data-active\\/menu-button\\:text-sidebar-accent-foreground:is(:is(:where(.peer\\/menu-button):where([data-state=active]),:where(.peer\\/menu-button):where([data-active]:not([data-active=false])))~*){color:var(--sidebar-accent-foreground)}.file\\:inline-flex::file-selector-button{display:inline-flex}.file\\:h-6::file-selector-button{height:calc(var(--spacing) * 6)}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-inset-2:after{content:var(--tw-content);inset:calc(var(--spacing) * -2)}.after\\:-inset-x-3:after{content:var(--tw-content);inset-inline:calc(var(--spacing) * -3)}.after\\:-inset-y-2:after{content:var(--tw-content);inset-block:calc(var(--spacing) * -2)}.after\\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\\:start-1\\/2:after{content:var(--tw-content);inset-inline-start:50%}.after\\:w-\\[2px\\]:after{content:var(--tw-content);width:2px}.after\\:bg-foreground:after{content:var(--tw-content);background-color:var(--foreground)}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.group-data-\\[collapsible\\=offcanvas\\]\\:after\\:left-full:is(:where(.group)[data-collapsible=offcanvas] *):after{content:var(--tw-content);left:100%}.group-data-horizontal\\/tabs\\:after\\:inset-x-0:is(:where(.group\\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);inset-inline:0}.group-data-horizontal\\/tabs\\:after\\:bottom-\\[-5px\\]:is(:where(.group\\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);bottom:-5px}.group-data-horizontal\\/tabs\\:after\\:h-0\\.5:is(:where(.group\\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);height:calc(var(--spacing) * .5)}.group-data-vertical\\/tabs\\:after\\:inset-y-0:is(:where(.group\\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);inset-block:0}.group-data-vertical\\/tabs\\:after\\:-right-1:is(:where(.group\\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);right:calc(var(--spacing) * -1)}.group-data-vertical\\/tabs\\:after\\:w-0\\.5:is(:where(.group\\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);width:calc(var(--spacing) * .5)}.last\\:mt-0:last-child{margin-top:0}@media (hover:hover){.hover\\:bg-\\[color-mix\\(in_oklch\\,var\\(--secondary\\)\\,var\\(--foreground\\)_5\\%\\)\\]:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-\\[color-mix\\(in_oklch\\,var\\(--secondary\\)\\,var\\(--foreground\\)_5\\%\\)\\]:hover{background-color:color-mix(in oklch,var(--secondary),var(--foreground) 5%)}}.hover\\:bg-accent:hover{background-color:var(--accent)}.hover\\:bg-destructive\\/20:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-destructive\\/20:hover{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.hover\\:bg-muted:hover{background-color:var(--muted)}.hover\\:bg-primary\\/80:hover{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-primary\\/80:hover{background-color:color-mix(in oklab, var(--primary) 80%, transparent)}}.hover\\:bg-sidebar-accent:hover{background-color:var(--sidebar-accent)}.hover\\:bg-slate-800:hover{background-color:var(--color-slate-800)}.hover\\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\\:text-foreground:hover{color:var(--foreground)}.hover\\:text-sidebar-accent-foreground:hover{color:var(--sidebar-accent-foreground)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:shadow-\\[0_0_0_1px_var\\(--sidebar-accent\\)\\]:hover{--tw-shadow:0 0 0 1px var(--tw-shadow-color,var(--sidebar-accent));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:group-data-\\[collapsible\\=offcanvas\\]\\:bg-sidebar:hover:is(:where(.group)[data-collapsible=offcanvas] *){background-color:var(--sidebar)}.hover\\:after\\:bg-sidebar-border:hover:after{content:var(--tw-content);background-color:var(--sidebar-border)}}.focus\\:bg-accent:focus{background-color:var(--accent)}.focus\\:text-accent-foreground:focus,:is(.not-data-\\[variant\\=destructive\\]\\:focus\\:\\*\\*\\:text-accent-foreground:not([data-variant=destructive]):focus *){color:var(--accent-foreground)}.focus-visible\\:border-destructive\\/40:focus-visible{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:border-destructive\\/40:focus-visible{border-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.focus-visible\\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-3:focus-visible,.focus-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.focus-visible\\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-ring:focus-visible{outline-color:var(--ring)}.active\\:bg-sidebar-accent:active{background-color:var(--sidebar-accent)}.active\\:text-sidebar-accent-foreground:active{color:var(--sidebar-accent-foreground)}.active\\:not-aria-\\[haspopup\\]\\:translate-y-px:active:not([aria-haspopup]){--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-input\\/50:disabled{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.disabled\\:bg-input\\/50:disabled{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.disabled\\:opacity-50:disabled{opacity:.5}:where([data-side=left]) .in-data-\\[side\\=left\\]\\:cursor-w-resize{cursor:w-resize}:where([data-side=right]) .in-data-\\[side\\=right\\]\\:cursor-e-resize{cursor:e-resize}:where([data-slot=button-group]) .in-data-\\[slot\\=button-group\\]\\:rounded-lg{border-radius:var(--radius)}.has-data-\\[icon\\=inline-end\\]\\:pr-1:has([data-icon=inline-end]){padding-right:var(--spacing)}.has-data-\\[icon\\=inline-end\\]\\:pr-1\\.5:has([data-icon=inline-end]){padding-right:calc(var(--spacing) * 1.5)}.has-data-\\[icon\\=inline-end\\]\\:pr-2:has([data-icon=inline-end]){padding-right:calc(var(--spacing) * 2)}.has-data-\\[icon\\=inline-start\\]\\:pl-1:has([data-icon=inline-start]){padding-left:var(--spacing)}.has-data-\\[icon\\=inline-start\\]\\:pl-1\\.5:has([data-icon=inline-start]){padding-left:calc(var(--spacing) * 1.5)}.has-data-\\[icon\\=inline-start\\]\\:pl-2:has([data-icon=inline-start]){padding-left:calc(var(--spacing) * 2)}.has-data-\\[slot\\=kbd\\]\\:pr-1\\.5:has([data-slot=kbd]){padding-right:calc(var(--spacing) * 1.5)}.has-data-\\[variant\\=inset\\]\\:bg-sidebar:has([data-variant=inset]){background-color:var(--sidebar)}.has-data-checked\\:border-primary\\/30:has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){border-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.has-data-checked\\:border-primary\\/30:has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){border-color:color-mix(in oklab, var(--primary) 30%, transparent)}}.has-data-checked\\:bg-primary\\/5:has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.has-data-checked\\:bg-primary\\/5:has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){background-color:color-mix(in oklab, var(--primary) 5%, transparent)}}.has-\\[\\>\\[data-slot\\=checkbox-group\\]\\]\\:gap-3:has(>[data-slot=checkbox-group]){gap:calc(var(--spacing) * 3)}.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:items-start:has(>[data-slot=field-content]){align-items:flex-start}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:w-full:has(>[data-slot=field]){width:100%}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:flex-col:has(>[data-slot=field]){flex-direction:column}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:rounded-lg:has(>[data-slot=field]){border-radius:var(--radius)}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:border:has(>[data-slot=field]){border-style:var(--tw-border-style);border-width:1px}@media (hover:hover){.has-\\[\\>\\[data-slot\\=field\\]\\]\\:not-has-\\[\\:disabled\\,\\[data-disabled\\]\\]\\:hover\\:bg-muted\\/50:has(>[data-slot=field]):not(:has(:is(:disabled,[data-disabled]))):hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.has-\\[\\>\\[data-slot\\=field\\]\\]\\:not-has-\\[\\:disabled\\,\\[data-disabled\\]\\]\\:hover\\:bg-muted\\/50:has(>[data-slot=field]):not(:has(:is(:disabled,[data-disabled]))):hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:has-\\[\\:focus-visible\\]\\:border-ring:has(>[data-slot=field]):has(:focus-visible){border-color:var(--ring)}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:has-\\[\\:focus-visible\\]\\:ring-3:has(>[data-slot=field]):has(:focus-visible){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:has-\\[\\:focus-visible\\]\\:ring-ring\\/50:has(>[data-slot=field]):has(:focus-visible){--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.has-\\[\\>\\[data-slot\\=field\\]\\]\\:has-\\[\\:focus-visible\\]\\:ring-ring\\/50:has(>[data-slot=field]):has(:focus-visible){--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.has-\\[\\>\\[data-slot\\=radio-group\\]\\]\\:gap-3:has(>[data-slot=radio-group]){gap:calc(var(--spacing) * 3)}.aria-disabled\\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}.aria-expanded\\:bg-muted[aria-expanded=true]{background-color:var(--muted)}.aria-expanded\\:bg-secondary[aria-expanded=true]{background-color:var(--secondary)}.aria-expanded\\:text-foreground[aria-expanded=true]{color:var(--foreground)}.aria-expanded\\:text-secondary-foreground[aria-expanded=true]{color:var(--secondary-foreground)}.aria-expanded\\:opacity-100[aria-expanded=true]{opacity:1}.aria-invalid\\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\\:ring-3[aria-invalid=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.aria-invalid\\:aria-checked\\:border-primary[aria-invalid=true][aria-checked=true]{border-color:var(--primary)}.data-ending-style\\:opacity-0[data-ending-style]{opacity:0}.data-placeholder\\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-starting-style\\:opacity-0[data-starting-style]{opacity:0}.data-\\[align-trigger\\=true\\]\\:animate-none[data-align-trigger=true]{animation:none}.data-\\[invalid\\=true\\]\\:text-destructive[data-invalid=true]{color:var(--destructive)}.data-\\[side\\=bottom\\]\\:inset-x-0[data-side=bottom]{inset-inline:0}.data-\\[side\\=bottom\\]\\:top-1[data-side=bottom]{top:var(--spacing)}.data-\\[side\\=bottom\\]\\:bottom-0[data-side=bottom]{bottom:0}.data-\\[side\\=bottom\\]\\:h-auto[data-side=bottom]{height:auto}.data-\\[side\\=bottom\\]\\:border-t[data-side=bottom]{border-top-style:var(--tw-border-style);border-top-width:1px}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.data-\\[side\\=bottom\\]\\:data-ending-style\\:translate-y-\\[2\\.5rem\\][data-side=bottom][data-ending-style],.data-\\[side\\=bottom\\]\\:data-starting-style\\:translate-y-\\[2\\.5rem\\][data-side=bottom][data-starting-style]{--tw-translate-y:2.5rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=inline-end\\]\\:top-1\\/2\\![data-side=inline-end]{top:50%!important}.data-\\[side\\=inline-end\\]\\:-left-1[data-side=inline-end]{left:calc(var(--spacing) * -1)}.data-\\[side\\=inline-end\\]\\:-translate-y-1\\/2[data-side=inline-end]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=inline-end\\]\\:slide-in-from-left-2[data-side=inline-end]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\\[side\\=inline-start\\]\\:top-1\\/2\\![data-side=inline-start]{top:50%!important}.data-\\[side\\=inline-start\\]\\:-right-1[data-side=inline-start]{right:calc(var(--spacing) * -1)}.data-\\[side\\=inline-start\\]\\:-translate-y-1\\/2[data-side=inline-start]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=inline-start\\]\\:slide-in-from-right-2[data-side=inline-start]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\\[side\\=left\\]\\:inset-y-0[data-side=left]{inset-block:0}.data-\\[side\\=left\\]\\:top-1\\/2\\![data-side=left]{top:50%!important}.data-\\[side\\=left\\]\\:-right-1[data-side=left]{right:calc(var(--spacing) * -1)}.data-\\[side\\=left\\]\\:left-0[data-side=left]{left:0}.data-\\[side\\=left\\]\\:h-full[data-side=left]{height:100%}.data-\\[side\\=left\\]\\:w-3\\/4[data-side=left]{width:75%}.data-\\[side\\=left\\]\\:-translate-y-1\\/2[data-side=left]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=left\\]\\:border-r[data-side=left]{border-right-style:var(--tw-border-style);border-right-width:1px}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\\[side\\=left\\]\\:group-data-\\[collapsible\\=offcanvas\\]\\:left-\\[calc\\(var\\(--sidebar-width\\)\\*-1\\)\\][data-side=left]:is(:where(.group)[data-collapsible=offcanvas] *){left:calc(var(--sidebar-width) * -1)}.data-\\[side\\=left\\]\\:data-ending-style\\:translate-x-\\[-2\\.5rem\\][data-side=left][data-ending-style],.data-\\[side\\=left\\]\\:data-starting-style\\:translate-x-\\[-2\\.5rem\\][data-side=left][data-starting-style]{--tw-translate-x:-2.5rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=right\\]\\:inset-y-0[data-side=right]{inset-block:0}.data-\\[side\\=right\\]\\:top-1\\/2\\![data-side=right]{top:50%!important}.data-\\[side\\=right\\]\\:right-0[data-side=right]{right:0}.data-\\[side\\=right\\]\\:-left-1[data-side=right]{left:calc(var(--spacing) * -1)}.data-\\[side\\=right\\]\\:h-full[data-side=right]{height:100%}.data-\\[side\\=right\\]\\:w-3\\/4[data-side=right]{width:75%}.data-\\[side\\=right\\]\\:-translate-y-1\\/2[data-side=right]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=right\\]\\:border-l[data-side=right]{border-left-style:var(--tw-border-style);border-left-width:1px}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\\[side\\=right\\]\\:group-data-\\[collapsible\\=offcanvas\\]\\:right-\\[calc\\(var\\(--sidebar-width\\)\\*-1\\)\\][data-side=right]:is(:where(.group)[data-collapsible=offcanvas] *){right:calc(var(--sidebar-width) * -1)}.data-\\[side\\=right\\]\\:data-ending-style\\:translate-x-\\[2\\.5rem\\][data-side=right][data-ending-style],.data-\\[side\\=right\\]\\:data-starting-style\\:translate-x-\\[2\\.5rem\\][data-side=right][data-starting-style]{--tw-translate-x:2.5rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=top\\]\\:inset-x-0[data-side=top]{inset-inline:0}.data-\\[side\\=top\\]\\:top-0[data-side=top]{top:0}.data-\\[side\\=top\\]\\:-bottom-2\\.5[data-side=top]{bottom:calc(var(--spacing) * -2.5)}.data-\\[side\\=top\\]\\:h-auto[data-side=top]{height:auto}.data-\\[side\\=top\\]\\:border-b[data-side=top]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.data-\\[side\\=top\\]\\:data-ending-style\\:translate-y-\\[-2\\.5rem\\][data-side=top][data-ending-style],.data-\\[side\\=top\\]\\:data-starting-style\\:translate-y-\\[-2\\.5rem\\][data-side=top][data-starting-style]{--tw-translate-y:-2.5rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[size\\=default\\]\\:h-8[data-size=default]{height:calc(var(--spacing) * 8)}.data-\\[size\\=md\\]\\:text-sm[data-size=md]{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.data-\\[size\\=sm\\]\\:h-7[data-size=sm]{height:calc(var(--spacing) * 7)}.data-\\[size\\=sm\\]\\:rounded-\\[min\\(var\\(--radius-md\\)\\,10px\\)\\][data-size=sm]{border-radius:min(var(--radius-md), 10px)}.data-\\[size\\=sm\\]\\:text-xs[data-size=sm]{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.data-\\[slot\\=checkbox-group\\]\\:gap-3[data-slot=checkbox-group]{gap:calc(var(--spacing) * 3)}:is(.\\*\\:data-\\[slot\\=field\\]\\:p-2\\.5>*)[data-slot=field]{padding:calc(var(--spacing) * 2.5)}:is(.\\*\\:data-\\[slot\\=field-group\\]\\:gap-4>*)[data-slot=field-group]{gap:calc(var(--spacing) * 4)}:is(.\\*\\:data-\\[slot\\=field-label\\]\\:flex-auto>*)[data-slot=field-label]{flex:auto}:is(.\\*\\*\\:data-\\[slot\\=kbd\\]\\:relative *)[data-slot=kbd]{position:relative}:is(.\\*\\*\\:data-\\[slot\\=kbd\\]\\:isolate *)[data-slot=kbd]{isolation:isolate}:is(.\\*\\*\\:data-\\[slot\\=kbd\\]\\:z-50 *)[data-slot=kbd]{z-index:50}:is(.\\*\\*\\:data-\\[slot\\=kbd\\]\\:rounded-sm *)[data-slot=kbd]{border-radius:calc(var(--radius) * .6)}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex>*)[data-slot=select-value]{display:flex}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-1\\.5>*)[data-slot=select-value]{gap:calc(var(--spacing) * 1.5)}.data-\\[state\\=delayed-open\\]\\:animate-in[data-state=delayed-open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=delayed-open\\]\\:fade-in-0[data-state=delayed-open]{--tw-enter-opacity:0}.data-\\[state\\=delayed-open\\]\\:zoom-in-95[data-state=delayed-open]{--tw-enter-scale:.95}.data-\\[variant\\=label\\]\\:text-sm[data-variant=label]{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.data-\\[variant\\=legend\\]\\:text-base[data-variant=legend]{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.data-\\[variant\\=line\\]\\:rounded-none[data-variant=line]{border-radius:0}.nth-last-2\\:-mt-1:nth-last-child(2){margin-top:calc(var(--spacing) * -1)}@supports ((-webkit-backdrop-filter:var(--tw)) or (backdrop-filter:var(--tw))){.supports-backdrop-filter\\:backdrop-blur-xs{--tw-backdrop-blur:blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}}@media (width>=40rem){.sm\\:flex{display:flex}.sm\\:max-w-md{max-width:var(--container-md)}.sm\\:max-w-sm{max-width:var(--container-sm)}.sm\\:flex-row{flex-direction:row}.sm\\:justify-end{justify-content:flex-end}.data-\\[side\\=left\\]\\:sm\\:max-w-sm[data-side=left],.data-\\[side\\=right\\]\\:sm\\:max-w-sm[data-side=right]{max-width:var(--container-sm)}}@media (width>=48rem){.md\\:block{display:block}.md\\:flex{display:flex}.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.md\\:opacity-0{opacity:0}.md\\:peer-data-\\[variant\\=inset\\]\\:m-2:is(:where(.peer)[data-variant=inset]~*){margin:calc(var(--spacing) * 2)}.md\\:peer-data-\\[variant\\=inset\\]\\:ml-0:is(:where(.peer)[data-variant=inset]~*){margin-left:0}.md\\:peer-data-\\[variant\\=inset\\]\\:rounded-xl:is(:where(.peer)[data-variant=inset]~*){border-radius:calc(var(--radius) * 1.4)}.md\\:peer-data-\\[variant\\=inset\\]\\:shadow-sm:is(:where(.peer)[data-variant=inset]~*){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.md\\:peer-data-\\[variant\\=inset\\]\\:peer-data-\\[state\\=collapsed\\]\\:ml-2:is(:where(.peer)[data-variant=inset]~*):is(:where(.peer)[data-state=collapsed]~*){margin-left:calc(var(--spacing) * 2)}.md\\:after\\:hidden:after{content:var(--tw-content);display:none}}@container field-group (width>=28rem){.\\@md\\/field-group\\:flex-row{flex-direction:row}.\\@md\\/field-group\\:items-center{align-items:center}:is(.\\@md\\/field-group\\:\\*\\:w-auto>*){width:auto}.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:items-start:has(>[data-slot=field-content]){align-items:flex-start}:is(.\\@md\\/field-group\\:\\*\\:data-\\[slot\\=field-label\\]\\:flex-auto>*)[data-slot=field-label]{flex:auto}}.ltr\\:-translate-x-1\\/2:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *),.rtl\\:-translate-x-1\\/2:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.dark\\:border-input:is(.dark *){border-color:var(--input)}.dark\\:bg-destructive\\/20:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-destructive\\/20:is(.dark *){background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.dark\\:bg-input\\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-input\\/30:is(.dark *){background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\\:text-muted-foreground:is(.dark *){color:var(--muted-foreground)}@media (hover:hover){.dark\\:hover\\:bg-destructive\\/30:is(.dark *):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-destructive\\/30:is(.dark *):hover{background-color:color-mix(in oklab, var(--destructive) 30%, transparent)}}.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.dark\\:hover\\:bg-muted\\/50:is(.dark *):hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-muted\\/50:is(.dark *):hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.dark\\:hover\\:text-foreground:is(.dark *):hover{color:var(--foreground)}}.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\\:disabled\\:bg-input\\/80:is(.dark *):disabled{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:disabled\\:bg-input\\/80:is(.dark *):disabled{background-color:color-mix(in oklab, var(--input) 80%, transparent)}}.dark\\:has-data-checked\\:border-primary\\/20:is(.dark *):has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){border-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.dark\\:has-data-checked\\:border-primary\\/20:is(.dark *):has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){border-color:color-mix(in oklab, var(--primary) 20%, transparent)}}.dark\\:has-data-checked\\:bg-primary\\/10:is(.dark *):has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.dark\\:has-data-checked\\:bg-primary\\/10:is(.dark *):has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){background-color:color-mix(in oklab, var(--primary) 10%, transparent)}}.dark\\:aria-invalid\\:border-destructive\\/50:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:aria-invalid\\:border-destructive\\/50:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab, var(--destructive) 50%, transparent)}}.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.data-open\\:animate-in:where([data-state=open]),.data-open\\:animate-in:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-open\\:fade-in-0:where([data-state=open]),.data-open\\:fade-in-0:where([data-open]:not([data-open=false])){--tw-enter-opacity:0}.data-open\\:zoom-in-95:where([data-state=open]),.data-open\\:zoom-in-95:where([data-open]:not([data-open=false])){--tw-enter-scale:.95}@media (hover:hover){:is(.data-open\\:hover\\:bg-sidebar-accent:where([data-state=open]),.data-open\\:hover\\:bg-sidebar-accent:where([data-open]:not([data-open=false]))):hover{background-color:var(--sidebar-accent)}:is(.data-open\\:hover\\:text-sidebar-accent-foreground:where([data-state=open]),.data-open\\:hover\\:text-sidebar-accent-foreground:where([data-open]:not([data-open=false]))):hover{color:var(--sidebar-accent-foreground)}}.data-closed\\:animate-out:where([data-state=closed]),.data-closed\\:animate-out:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-closed\\:fade-out-0:where([data-state=closed]),.data-closed\\:fade-out-0:where([data-closed]:not([data-closed=false])){--tw-exit-opacity:0}.data-closed\\:zoom-out-95:where([data-state=closed]),.data-closed\\:zoom-out-95:where([data-closed]:not([data-closed=false])){--tw-exit-scale:.95}.data-checked\\:border-primary:where([data-state=checked]),.data-checked\\:border-primary:where([data-checked]:not([data-checked=false])){border-color:var(--primary)}.data-checked\\:bg-primary:where([data-state=checked]),.data-checked\\:bg-primary:where([data-checked]:not([data-checked=false])){background-color:var(--primary)}.data-checked\\:text-primary-foreground:where([data-state=checked]),.data-checked\\:text-primary-foreground:where([data-checked]:not([data-checked=false])){color:var(--primary-foreground)}.group-has-\\[\\:focus-visible\\]\\/field-label\\:data-checked\\:border-primary:is(:where(.group\\/field-label):has(:focus-visible) *):where([data-state=checked]),.group-has-\\[\\:focus-visible\\]\\/field-label\\:data-checked\\:border-primary:is(:where(.group\\/field-label):has(:focus-visible) *):where([data-checked]:not([data-checked=false])){border-color:var(--primary)}.dark\\:data-checked\\:bg-primary:is(.dark *):where([data-state=checked]),.dark\\:data-checked\\:bg-primary:is(.dark *):where([data-checked]:not([data-checked=false])){background-color:var(--primary)}.data-disabled\\:pointer-events-none:where([data-disabled=true]),.data-disabled\\:pointer-events-none:where([data-disabled]:not([data-disabled=false])){pointer-events:none}.data-disabled\\:opacity-50:where([data-disabled=true]),.data-disabled\\:opacity-50:where([data-disabled]:not([data-disabled=false])){opacity:.5}.data-active\\:bg-background:where([data-state=active]),.data-active\\:bg-background:where([data-active]:not([data-active=false])){background-color:var(--background)}.data-active\\:bg-sidebar-accent:where([data-state=active]),.data-active\\:bg-sidebar-accent:where([data-active]:not([data-active=false])){background-color:var(--sidebar-accent)}.data-active\\:font-medium:where([data-state=active]),.data-active\\:font-medium:where([data-active]:not([data-active=false])){--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-active\\:text-foreground:where([data-state=active]),.data-active\\:text-foreground:where([data-active]:not([data-active=false])){color:var(--foreground)}.data-active\\:text-sidebar-accent-foreground:where([data-state=active]),.data-active\\:text-sidebar-accent-foreground:where([data-active]:not([data-active=false])){color:var(--sidebar-accent-foreground)}.group-data-\\[variant\\=default\\]\\/tabs-list\\:data-active\\:shadow-sm:is(:where(.group\\/tabs-list)[data-variant=default] *):where([data-state=active]),.group-data-\\[variant\\=default\\]\\/tabs-list\\:data-active\\:shadow-sm:is(:where(.group\\/tabs-list)[data-variant=default] *):where([data-active]:not([data-active=false])){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:bg-transparent:is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:bg-transparent:is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){background-color:#0000}.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:shadow-none:is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:shadow-none:is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:is(.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:after\\:opacity-100:is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:after\\:opacity-100:is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false]))):after{content:var(--tw-content);opacity:1}.dark\\:data-active\\:border-input:is(.dark *):where([data-state=active]),.dark\\:data-active\\:border-input:is(.dark *):where([data-active]:not([data-active=false])){border-color:var(--input)}.dark\\:data-active\\:bg-input\\/30:is(.dark *):where([data-state=active]),.dark\\:data-active\\:bg-input\\/30:is(.dark *):where([data-active]:not([data-active=false])){background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:data-active\\:bg-input\\/30:is(.dark *):where([data-state=active]),.dark\\:data-active\\:bg-input\\/30:is(.dark *):where([data-active]:not([data-active=false])){background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\\:data-active\\:text-foreground:is(.dark *):where([data-state=active]),.dark\\:data-active\\:text-foreground:is(.dark *):where([data-active]:not([data-active=false])){color:var(--foreground)}.dark\\:group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:border-transparent:is(.dark *):is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-state=active]),.dark\\:group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:border-transparent:is(.dark *):is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){border-color:#0000}.dark\\:group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:bg-transparent:is(.dark *):is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-state=active]),.dark\\:group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:bg-transparent:is(.dark *):is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){background-color:#0000}.data-horizontal\\:h-px:where([data-orientation=horizontal]){height:1px}.data-horizontal\\:w-full:where([data-orientation=horizontal]){width:100%}.data-horizontal\\:flex-col:where([data-orientation=horizontal]){flex-direction:column}.data-vertical\\:w-px:where([data-orientation=vertical]){width:1px}.data-vertical\\:self-stretch:where([data-orientation=vertical]){align-self:stretch}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-3 svg:not([class*=size-]){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-3\\.5 svg:not([class*=size-]){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}:is(.\\*\\:\\[a\\]\\:underline>*):is(a){text-decoration-line:underline}:is(.\\*\\:\\[a\\]\\:underline-offset-3>*):is(a){text-underline-offset:3px}@media (hover:hover){:is(.\\*\\:\\[a\\]\\:hover\\:text-foreground>*):is(a):hover{color:var(--foreground)}}:is(.\\*\\:\\[span\\]\\:last\\:flex>*):is(span):last-child{display:flex}:is(.\\*\\:\\[span\\]\\:last\\:items-center>*):is(span):last-child{align-items:center}:is(.\\*\\:\\[span\\]\\:last\\:gap-2>*):is(span):last-child{gap:calc(var(--spacing) * 2)}.\\[\\&\\>\\.sr-only\\]\\:w-auto>.sr-only{width:auto}:is(.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content]) [role=radio]){margin-top:1px}@container field-group (width>=28rem){:is(.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content]) [role=radio]){margin-top:1px}}.\\[\\&\\>a\\]\\:underline>a{text-decoration-line:underline}.\\[\\&\\>a\\]\\:underline-offset-4>a{text-underline-offset:4px}.\\[\\&\\>a\\:hover\\]\\:text-primary>a:hover{color:var(--primary)}.\\[\\&\\>button\\]\\:hidden>button{display:none}.\\[\\&\\>span\\:last-child\\]\\:truncate>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\\[\\&\\>svg\\]\\:size-3\\.5>svg{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\\[\\&\\>svg\\]\\:size-4>svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\\[\\&\\>svg\\]\\:shrink-0>svg{flex-shrink:0}.\\[\\&\\>svg\\]\\:text-sidebar-accent-foreground>svg{color:var(--sidebar-accent-foreground)}[data-side=left][data-collapsible=offcanvas] .\\[\\[data-side\\=left\\]\\[data-collapsible\\=offcanvas\\]_\\&\\]\\:-right-2{right:calc(var(--spacing) * -2)}[data-side=left][data-state=collapsed] .\\[\\[data-side\\=left\\]\\[data-state\\=collapsed\\]_\\&\\]\\:cursor-e-resize{cursor:e-resize}[data-side=right][data-collapsible=offcanvas] .\\[\\[data-side\\=right\\]\\[data-collapsible\\=offcanvas\\]_\\&\\]\\:-left-2{left:calc(var(--spacing) * -2)}[data-side=right][data-state=collapsed] .\\[\\[data-side\\=right\\]\\[data-state\\=collapsed\\]_\\&\\]\\:cursor-w-resize{cursor:w-resize}[data-variant=legend]+.\\[\\[data-variant\\=legend\\]\\+\\&\\]\\:-mt-1\\.5{margin-top:calc(var(--spacing) * -1.5)}}@property --tw-animation-delay{syntax:\"*\";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:\"*\";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:\"*\";inherits:false}@property --tw-animation-fill-mode{syntax:\"*\";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:\"*\";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:\"*\";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --scroll-fade-t{syntax:\"<length-percentage>\";inherits:false;initial-value:0}@property --scroll-fade-b{syntax:\"<length-percentage>\";inherits:false;initial-value:0}@property --scroll-fade-s{syntax:\"<length-percentage>\";inherits:false;initial-value:0}@property --scroll-fade-e{syntax:\"<length-percentage>\";inherits:false;initial-value:0}@property --scroll-fade-mask{syntax:\"*\";inherits:false}@property --shimmer-angle{syntax:\"<angle>\";inherits:true;initial-value:20deg}@property --shimmer-image{syntax:\"*\";inherits:false}@property --shimmer-text-fill{syntax:\"*\";inherits:false}@media (prefers-reduced-motion:reduce){.shimmer{-webkit-text-fill-color:currentColor;background-image:none;animation:none}}:root,:host{--background:oklch(100% 0 0);--foreground:oklch(14.1% .005 285.823);--card:oklch(100% 0 0);--card-foreground:oklch(14.1% .005 285.823);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.1% .005 285.823);--primary:oklch(48.8% .243 264.376);--primary-foreground:oklch(97% .014 254.604);--secondary:oklch(96.7% .001 286.375);--secondary-foreground:oklch(21% .006 285.885);--muted:oklch(96.7% .001 286.375);--muted-foreground:oklch(55.2% .016 285.938);--accent:oklch(96.7% .001 286.375);--accent-foreground:oklch(21% .006 285.885);--destructive:oklch(57.7% .245 27.325);--border:oklch(92% .004 286.32);--input:oklch(92% .004 286.32);--ring:oklch(70.5% .015 286.067);--chart-1:oklch(80.9% .105 251.813);--chart-2:oklch(62.3% .214 259.815);--chart-3:oklch(54.6% .245 262.881);--chart-4:oklch(48.8% .243 264.376);--chart-5:oklch(42.4% .199 265.638);--radius:.625rem;--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.1% .005 285.823);--sidebar-primary:oklch(54.6% .245 262.881);--sidebar-primary-foreground:oklch(97% .014 254.604);--sidebar-accent:oklch(96.7% .001 286.375);--sidebar-accent-foreground:oklch(21% .006 285.885);--sidebar-border:oklch(92% .004 286.32);--sidebar-ring:oklch(70.5% .015 286.067)}.dark{--background:oklch(14.1% .005 285.823);--foreground:oklch(98.5% 0 0);--card:oklch(21% .006 285.885);--card-foreground:oklch(98.5% 0 0);--popover:oklch(21% .006 285.885);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(42.4% .199 265.638);--primary-foreground:oklch(97% .014 254.604);--secondary:oklch(27.4% .006 286.033);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27.4% .006 286.033);--muted-foreground:oklch(70.5% .015 286.067);--accent:oklch(27.4% .006 286.033);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.2% .016 285.938);--chart-1:oklch(80.9% .105 251.813);--chart-2:oklch(62.3% .214 259.815);--chart-3:oklch(54.6% .245 262.881);--chart-4:oklch(48.8% .243 264.376);--chart-5:oklch(42.4% .199 265.638);--sidebar:oklch(21% .006 285.885);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(62.3% .214 259.815);--sidebar-primary-foreground:oklch(97% .014 254.604);--sidebar-accent:oklch(27.4% .006 286.033);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.2% .016 285.938)}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@property --tw-content{syntax:\"*\";inherits:false;initial-value:\"\"}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}", $q = new CSSStyleSheet();
|
|
59517
|
-
|
|
59528
|
+
var $q = "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--shimmer-angle:20deg}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:\"\";--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0;--scroll-fade-t:0px;--scroll-fade-b:0px;--scroll-fade-s:0px;--scroll-fade-e:0px;--scroll-fade-mask:initial;--shimmer-image:initial;--shimmer-text-fill:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-500:oklch(68.5% .169 237.323);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--tracking-widest:.1em;--leading-snug:1.375;--leading-normal:1.5;--radius-md:calc(var(--radius) * .8);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-xs:4px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){*{outline-color:color-mix(in oklab, var(--ring) 50%, transparent)}}body{background-color:var(--background);color:var(--foreground)}html{font-family:var(--font-sans)}}@layer components;@layer utilities{.\\@container\\/field-group{container:field-group/inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:0}.inset-y-0{inset-block:0}.top-0{top:0}.top-1\\.5{top:calc(var(--spacing) * 1.5)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing) * 2)}.top-3{top:calc(var(--spacing) * 3)}.top-3\\.5{top:calc(var(--spacing) * 3.5)}.right-1{right:var(--spacing)}.right-2{right:calc(var(--spacing) * 2)}.right-3{right:calc(var(--spacing) * 3)}.bottom-0{bottom:0}.bottom-2{bottom:calc(var(--spacing) * 2)}.left-1\\/2{left:50%}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\\[90\\]{z-index:90}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-3\\.5{margin-inline:calc(var(--spacing) * 3.5)}.mx-auto{margin-inline:auto}.-my-2{margin-block:calc(var(--spacing) * -2)}.my-1{margin-block:var(--spacing)}.mt-auto{margin-top:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.mb-1{margin-bottom:var(--spacing)}.mb-1\\.5{margin-bottom:calc(var(--spacing) * 1.5)}.ml-1{margin-left:var(--spacing)}.ml-3{margin-left:calc(var(--spacing) * 3)}.ml-4{margin-left:calc(var(--spacing) * 4)}.ml-auto{margin-left:auto}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.field-sizing-content{field-sizing:content}.aspect-square{aspect-ratio:1}.size-1\\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-2\\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-full{width:100%;height:100%}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-12{height:calc(var(--spacing) * 12)}.h-\\[45\\%\\]{height:45%}.h-\\[calc\\(100\\%-1px\\)\\]{height:calc(100% - 1px)}.h-full{height:100%}.h-px{height:1px}.h-svh{height:100svh}.max-h-\\(--available-height\\){max-height:var(--available-height)}.max-h-40{max-height:calc(var(--spacing) * 40)}.max-h-44{max-height:calc(var(--spacing) * 44)}.min-h-0{min-height:0}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-svh{min-height:100svh}.w-\\(--anchor-width\\){width:var(--anchor-width)}.w-\\(--sidebar-width\\){width:var(--sidebar-width)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-12{width:calc(var(--spacing) * 12)}.w-\\[480px\\]{width:480px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\(--skeleton-width\\){max-width:var(--skeleton-width)}.max-w-\\[calc\\(100\\%-2rem\\)\\]{max-width:calc(100% - 2rem)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:0}.min-w-5{min-width:calc(var(--spacing) * 5)}.min-w-36{min-width:calc(var(--spacing) * 36)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.origin-\\(--transform-origin\\){transform-origin:var(--transform-origin)}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-px{--tw-translate-x:-1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-2{--tw-translate-x:calc(var(--spacing) * 2);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-px{--tw-translate-x:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\\[calc\\(-50\\%-2px\\)\\]{--tw-translate-y:calc(-50% - 2px);translate:var(--tw-translate-x) var(--tw-translate-y)}.rotate-45{rotate:45deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-default{cursor:default}.scroll-my-1{scroll-margin-block:var(--spacing)}.list-disc{list-style-type:disc}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.items-baseline{align-items:baseline}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0{gap:0}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[2px\\]{border-radius:2px}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[min\\(var\\(--radius-md\\)\\,10px\\)\\]{border-radius:min(var(--radius-md), 10px)}.rounded-\\[min\\(var\\(--radius-md\\)\\,12px\\)\\]{border-radius:min(var(--radius-md), 12px)}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) * .8)}.rounded-sm{border-radius:calc(var(--radius) * .6)}.rounded-xl{border-radius:calc(var(--radius) * 1.4)}.rounded-b-xl{border-bottom-right-radius:calc(var(--radius) * 1.4);border-bottom-left-radius:calc(var(--radius) * 1.4)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-amber-500\\/60{border-color:#f99c0099}@supports (color:color-mix(in lab, red, red)){.border-amber-500\\/60{border-color:color-mix(in oklab, var(--color-amber-500) 60%, transparent)}}.border-border{border-color:var(--border)}.border-input{border-color:var(--input)}.border-sidebar-border{border-color:var(--sidebar-border)}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-800{border-color:var(--color-slate-800)}.border-transparent{border-color:#0000}.bg-accent{background-color:var(--accent)}.bg-amber-500\\/10{background-color:#f99c001a}@supports (color:color-mix(in lab, red, red)){.bg-amber-500\\/10{background-color:color-mix(in oklab, var(--color-amber-500) 10%, transparent)}}.bg-background{background-color:var(--background)}.bg-black\\/10{background-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.bg-black\\/10{background-color:color-mix(in oklab, var(--color-black) 10%, transparent)}}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-destructive\\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.bg-destructive\\/10{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-foreground{background-color:var(--foreground)}.bg-muted,.bg-muted\\/50{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\\/50{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.bg-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-secondary{background-color:var(--secondary)}.bg-sidebar{background-color:var(--sidebar)}.bg-sidebar-border{background-color:var(--sidebar-border)}.bg-sky-500{background-color:var(--color-sky-500)}.bg-slate-300{background-color:var(--color-slate-300)}.bg-slate-700{background-color:var(--color-slate-700)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-900\\/90{background-color:#0f172be6}@supports (color:color-mix(in lab, red, red)){.bg-slate-900\\/90{background-color:color-mix(in oklab, var(--color-slate-900) 90%, transparent)}}.bg-slate-950{background-color:var(--color-slate-950)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-clip-padding{background-clip:padding-box}.fill-foreground{fill:var(--foreground)}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-4{padding:calc(var(--spacing) * 4)}.p-\\[3px\\]{padding:3px}.px-1{padding-inline:var(--spacing)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pl-1\\.5{padding-left:calc(var(--spacing) * 1.5)}.pl-2\\.5{padding-left:calc(var(--spacing) * 2.5)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[0\\.8rem\\]{font-size:.8rem}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-accent-foreground{color:var(--accent-foreground)}.text-amber-400{color:var(--color-amber-400)}.text-background{color:var(--background)}.text-current{color:currentColor}.text-destructive{color:var(--destructive)}.text-emerald-400{color:var(--color-emerald-400)}.text-foreground,.text-foreground\\/60{color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.text-foreground\\/60{color:color-mix(in oklab, var(--foreground) 60%, transparent)}}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-sidebar-foreground,.text-sidebar-foreground\\/70{color:var(--sidebar-foreground)}@supports (color:color-mix(in lab, red, red)){.text-sidebar-foreground\\/70{color:color-mix(in oklab, var(--sidebar-foreground) 70%, transparent)}}.text-sky-300{color:var(--color-sky-300)}.text-slate-200{color:var(--color-slate-200)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-950{color:var(--color-slate-950)}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_0_0_1px_var\\(--sidebar-border\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,var(--sidebar-border));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-foreground\\/10{--tw-ring-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.ring-foreground\\/10{--tw-ring-color:color-mix(in oklab, var(--foreground) 10%, transparent)}}.ring-sidebar-ring{--tw-ring-color:var(--sidebar-ring)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[left\\,right\\,width\\]{transition-property:left,right,width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[margin\\,opacity\\]{transition-property:margin,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\,height\\,padding\\]{transition-property:width,height,padding;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-none{transition-property:none}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:is(.\\*\\:w-full>*){width:100%}.group-focus-within\\/menu-item\\:opacity-100:is(:where(.group\\/menu-item):focus-within *){opacity:1}@media (hover:hover){.group-hover\\/menu-item\\:opacity-100:is(:where(.group\\/menu-item):hover *){opacity:1}}.group-has-disabled\\/field\\:opacity-50:is(:where(.group\\/field):has(:disabled) *){opacity:.5}.group-has-data-\\[sidebar\\=menu-action\\]\\/menu-item\\:pr-8:is(:where(.group\\/menu-item):has([data-sidebar=menu-action]) *){padding-right:calc(var(--spacing) * 8)}.group-has-data-horizontal\\/field\\:text-balance:is(:where(.group\\/field):has(:where([data-orientation=horizontal])) *){text-wrap:balance}.group-has-\\[\\:focus-visible\\]\\/field-label\\:ring-0:is(:where(.group\\/field-label):has(:focus-visible) *){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-has-\\[\\:focus-visible\\]\\/field-label\\:not-data-checked\\:border-input:is(:where(.group\\/field-label):has(:focus-visible) *):not(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){border-color:var(--input)}.group-data-\\[collapsible\\=icon\\]\\:-mt-8:is(:where(.group)[data-collapsible=icon] *){margin-top:calc(var(--spacing) * -8)}.group-data-\\[collapsible\\=icon\\]\\:hidden:is(:where(.group)[data-collapsible=icon] *){display:none}.group-data-\\[collapsible\\=icon\\]\\:size-8\\!:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--spacing) * 8)!important;height:calc(var(--spacing) * 8)!important}.group-data-\\[collapsible\\=icon\\]\\:w-\\(--sidebar-width-icon\\):is(:where(.group)[data-collapsible=icon] *){width:var(--sidebar-width-icon)}.group-data-\\[collapsible\\=icon\\]\\:w-\\[calc\\(var\\(--sidebar-width-icon\\)\\+\\(--spacing\\(4\\)\\)\\)\\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing) * 4)))}.group-data-\\[collapsible\\=icon\\]\\:w-\\[calc\\(var\\(--sidebar-width-icon\\)\\+\\(--spacing\\(4\\)\\)\\+2px\\)\\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing) * 4)) + 2px)}.group-data-\\[collapsible\\=icon\\]\\:overflow-hidden:is(:where(.group)[data-collapsible=icon] *){overflow:hidden}.group-data-\\[collapsible\\=icon\\]\\:p-0\\!:is(:where(.group)[data-collapsible=icon] *){padding:0!important}.group-data-\\[collapsible\\=icon\\]\\:p-2\\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing) * 2)!important}.group-data-\\[collapsible\\=icon\\]\\:opacity-0:is(:where(.group)[data-collapsible=icon] *){opacity:0}.group-data-\\[collapsible\\=offcanvas\\]\\:w-0:is(:where(.group)[data-collapsible=offcanvas] *){width:0}.group-data-\\[collapsible\\=offcanvas\\]\\:translate-x-0:is(:where(.group)[data-collapsible=offcanvas] *){--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.group-data-\\[disabled\\=true\\]\\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\\[disabled\\=true\\]\\:opacity-50:is(:where(.group)[data-disabled=true] *),.group-data-\\[disabled\\=true\\]\\/field\\:opacity-50:is(:where(.group\\/field)[data-disabled=true] *){opacity:.5}.group-data-\\[side\\=left\\]\\:-right-4:is(:where(.group)[data-side=left] *){right:calc(var(--spacing) * -4)}.group-data-\\[side\\=left\\]\\:border-r:is(:where(.group)[data-side=left] *){border-right-style:var(--tw-border-style);border-right-width:1px}.group-data-\\[side\\=right\\]\\:left-0:is(:where(.group)[data-side=right] *){left:0}.group-data-\\[side\\=right\\]\\:rotate-180:is(:where(.group)[data-side=right] *){rotate:180deg}.group-data-\\[side\\=right\\]\\:border-l:is(:where(.group)[data-side=right] *){border-left-style:var(--tw-border-style);border-left-width:1px}.group-data-\\[variant\\=floating\\]\\:rounded-lg:is(:where(.group)[data-variant=floating] *){border-radius:var(--radius)}.group-data-\\[variant\\=floating\\]\\:shadow-sm:is(:where(.group)[data-variant=floating] *){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\\[variant\\=floating\\]\\:ring-1:is(:where(.group)[data-variant=floating] *){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\\[variant\\=floating\\]\\:ring-sidebar-border:is(:where(.group)[data-variant=floating] *){--tw-ring-color:var(--sidebar-border)}.group-data-\\[variant\\=line\\]\\/tabs-list\\:bg-transparent:is(:where(.group\\/tabs-list)[data-variant=line] *){background-color:#0000}.group-data-\\[variant\\=outline\\]\\/field-group\\:-mb-2:is(:where(.group\\/field-group)[data-variant=outline] *){margin-bottom:calc(var(--spacing) * -2)}.group-data-horizontal\\/tabs\\:h-8:is(:where(.group\\/tabs):where([data-orientation=horizontal]) *){height:calc(var(--spacing) * 8)}.group-data-vertical\\/tabs\\:h-fit:is(:where(.group\\/tabs):where([data-orientation=vertical]) *){height:fit-content}.group-data-vertical\\/tabs\\:w-full:is(:where(.group\\/tabs):where([data-orientation=vertical]) *){width:100%}.group-data-vertical\\/tabs\\:flex-col:is(:where(.group\\/tabs):where([data-orientation=vertical]) *){flex-direction:column}.group-data-vertical\\/tabs\\:justify-start:is(:where(.group\\/tabs):where([data-orientation=vertical]) *){justify-content:flex-start}@media (hover:hover){.peer-hover\\/menu-button\\:text-sidebar-accent-foreground:is(:where(.peer\\/menu-button):hover~*){color:var(--sidebar-accent-foreground)}}.peer-disabled\\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.peer-data-\\[size\\=default\\]\\/menu-button\\:top-1\\.5:is(:where(.peer\\/menu-button)[data-size=default]~*){top:calc(var(--spacing) * 1.5)}.peer-data-\\[size\\=lg\\]\\/menu-button\\:top-2\\.5:is(:where(.peer\\/menu-button)[data-size=lg]~*){top:calc(var(--spacing) * 2.5)}.peer-data-\\[size\\=sm\\]\\/menu-button\\:top-1:is(:where(.peer\\/menu-button)[data-size=sm]~*){top:var(--spacing)}.peer-data-active\\/menu-button\\:text-sidebar-accent-foreground:is(:is(:where(.peer\\/menu-button):where([data-state=active]),:where(.peer\\/menu-button):where([data-active]:not([data-active=false])))~*){color:var(--sidebar-accent-foreground)}.file\\:inline-flex::file-selector-button{display:inline-flex}.file\\:h-6::file-selector-button{height:calc(var(--spacing) * 6)}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-inset-2:after{content:var(--tw-content);inset:calc(var(--spacing) * -2)}.after\\:-inset-x-3:after{content:var(--tw-content);inset-inline:calc(var(--spacing) * -3)}.after\\:-inset-y-2:after{content:var(--tw-content);inset-block:calc(var(--spacing) * -2)}.after\\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\\:start-1\\/2:after{content:var(--tw-content);inset-inline-start:50%}.after\\:w-\\[2px\\]:after{content:var(--tw-content);width:2px}.after\\:bg-foreground:after{content:var(--tw-content);background-color:var(--foreground)}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.group-data-\\[collapsible\\=offcanvas\\]\\:after\\:left-full:is(:where(.group)[data-collapsible=offcanvas] *):after{content:var(--tw-content);left:100%}.group-data-horizontal\\/tabs\\:after\\:inset-x-0:is(:where(.group\\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);inset-inline:0}.group-data-horizontal\\/tabs\\:after\\:bottom-\\[-5px\\]:is(:where(.group\\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);bottom:-5px}.group-data-horizontal\\/tabs\\:after\\:h-0\\.5:is(:where(.group\\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);height:calc(var(--spacing) * .5)}.group-data-vertical\\/tabs\\:after\\:inset-y-0:is(:where(.group\\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);inset-block:0}.group-data-vertical\\/tabs\\:after\\:-right-1:is(:where(.group\\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);right:calc(var(--spacing) * -1)}.group-data-vertical\\/tabs\\:after\\:w-0\\.5:is(:where(.group\\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);width:calc(var(--spacing) * .5)}.last\\:mt-0:last-child{margin-top:0}@media (hover:hover){.hover\\:bg-\\[color-mix\\(in_oklch\\,var\\(--secondary\\)\\,var\\(--foreground\\)_5\\%\\)\\]:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-\\[color-mix\\(in_oklch\\,var\\(--secondary\\)\\,var\\(--foreground\\)_5\\%\\)\\]:hover{background-color:color-mix(in oklch,var(--secondary),var(--foreground) 5%)}}.hover\\:bg-accent:hover{background-color:var(--accent)}.hover\\:bg-destructive\\/20:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-destructive\\/20:hover{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.hover\\:bg-muted:hover{background-color:var(--muted)}.hover\\:bg-primary\\/80:hover{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-primary\\/80:hover{background-color:color-mix(in oklab, var(--primary) 80%, transparent)}}.hover\\:bg-sidebar-accent:hover{background-color:var(--sidebar-accent)}.hover\\:bg-slate-800:hover{background-color:var(--color-slate-800)}.hover\\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\\:text-foreground:hover{color:var(--foreground)}.hover\\:text-sidebar-accent-foreground:hover{color:var(--sidebar-accent-foreground)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:shadow-\\[0_0_0_1px_var\\(--sidebar-accent\\)\\]:hover{--tw-shadow:0 0 0 1px var(--tw-shadow-color,var(--sidebar-accent));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:group-data-\\[collapsible\\=offcanvas\\]\\:bg-sidebar:hover:is(:where(.group)[data-collapsible=offcanvas] *){background-color:var(--sidebar)}.hover\\:after\\:bg-sidebar-border:hover:after{content:var(--tw-content);background-color:var(--sidebar-border)}}.focus\\:bg-accent:focus{background-color:var(--accent)}.focus\\:text-accent-foreground:focus,:is(.not-data-\\[variant\\=destructive\\]\\:focus\\:\\*\\*\\:text-accent-foreground:not([data-variant=destructive]):focus *){color:var(--accent-foreground)}.focus-visible\\:border-destructive\\/40:focus-visible{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:border-destructive\\/40:focus-visible{border-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.focus-visible\\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-3:focus-visible,.focus-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.focus-visible\\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-ring:focus-visible{outline-color:var(--ring)}.active\\:bg-sidebar-accent:active{background-color:var(--sidebar-accent)}.active\\:text-sidebar-accent-foreground:active{color:var(--sidebar-accent-foreground)}.active\\:not-aria-\\[haspopup\\]\\:translate-y-px:active:not([aria-haspopup]){--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-input\\/50:disabled{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.disabled\\:bg-input\\/50:disabled{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.disabled\\:opacity-50:disabled{opacity:.5}:where([data-side=left]) .in-data-\\[side\\=left\\]\\:cursor-w-resize{cursor:w-resize}:where([data-side=right]) .in-data-\\[side\\=right\\]\\:cursor-e-resize{cursor:e-resize}:where([data-slot=button-group]) .in-data-\\[slot\\=button-group\\]\\:rounded-lg{border-radius:var(--radius)}.has-data-\\[icon\\=inline-end\\]\\:pr-1:has([data-icon=inline-end]){padding-right:var(--spacing)}.has-data-\\[icon\\=inline-end\\]\\:pr-1\\.5:has([data-icon=inline-end]){padding-right:calc(var(--spacing) * 1.5)}.has-data-\\[icon\\=inline-end\\]\\:pr-2:has([data-icon=inline-end]){padding-right:calc(var(--spacing) * 2)}.has-data-\\[icon\\=inline-start\\]\\:pl-1:has([data-icon=inline-start]){padding-left:var(--spacing)}.has-data-\\[icon\\=inline-start\\]\\:pl-1\\.5:has([data-icon=inline-start]){padding-left:calc(var(--spacing) * 1.5)}.has-data-\\[icon\\=inline-start\\]\\:pl-2:has([data-icon=inline-start]){padding-left:calc(var(--spacing) * 2)}.has-data-\\[slot\\=kbd\\]\\:pr-1\\.5:has([data-slot=kbd]){padding-right:calc(var(--spacing) * 1.5)}.has-data-\\[variant\\=inset\\]\\:bg-sidebar:has([data-variant=inset]){background-color:var(--sidebar)}.has-data-checked\\:border-primary\\/30:has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){border-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.has-data-checked\\:border-primary\\/30:has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){border-color:color-mix(in oklab, var(--primary) 30%, transparent)}}.has-data-checked\\:bg-primary\\/5:has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.has-data-checked\\:bg-primary\\/5:has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){background-color:color-mix(in oklab, var(--primary) 5%, transparent)}}.has-\\[\\>\\[data-slot\\=checkbox-group\\]\\]\\:gap-3:has(>[data-slot=checkbox-group]){gap:calc(var(--spacing) * 3)}.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:items-start:has(>[data-slot=field-content]){align-items:flex-start}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:w-full:has(>[data-slot=field]){width:100%}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:flex-col:has(>[data-slot=field]){flex-direction:column}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:rounded-lg:has(>[data-slot=field]){border-radius:var(--radius)}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:border:has(>[data-slot=field]){border-style:var(--tw-border-style);border-width:1px}@media (hover:hover){.has-\\[\\>\\[data-slot\\=field\\]\\]\\:not-has-\\[\\:disabled\\,\\[data-disabled\\]\\]\\:hover\\:bg-muted\\/50:has(>[data-slot=field]):not(:has(:is(:disabled,[data-disabled]))):hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.has-\\[\\>\\[data-slot\\=field\\]\\]\\:not-has-\\[\\:disabled\\,\\[data-disabled\\]\\]\\:hover\\:bg-muted\\/50:has(>[data-slot=field]):not(:has(:is(:disabled,[data-disabled]))):hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:has-\\[\\:focus-visible\\]\\:border-ring:has(>[data-slot=field]):has(:focus-visible){border-color:var(--ring)}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:has-\\[\\:focus-visible\\]\\:ring-3:has(>[data-slot=field]):has(:focus-visible){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:has-\\[\\:focus-visible\\]\\:ring-ring\\/50:has(>[data-slot=field]):has(:focus-visible){--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.has-\\[\\>\\[data-slot\\=field\\]\\]\\:has-\\[\\:focus-visible\\]\\:ring-ring\\/50:has(>[data-slot=field]):has(:focus-visible){--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.has-\\[\\>\\[data-slot\\=radio-group\\]\\]\\:gap-3:has(>[data-slot=radio-group]){gap:calc(var(--spacing) * 3)}.aria-disabled\\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}.aria-expanded\\:bg-muted[aria-expanded=true]{background-color:var(--muted)}.aria-expanded\\:bg-secondary[aria-expanded=true]{background-color:var(--secondary)}.aria-expanded\\:text-foreground[aria-expanded=true]{color:var(--foreground)}.aria-expanded\\:text-secondary-foreground[aria-expanded=true]{color:var(--secondary-foreground)}.aria-expanded\\:opacity-100[aria-expanded=true]{opacity:1}.aria-invalid\\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\\:ring-3[aria-invalid=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.aria-invalid\\:aria-checked\\:border-primary[aria-invalid=true][aria-checked=true]{border-color:var(--primary)}.data-ending-style\\:opacity-0[data-ending-style]{opacity:0}.data-placeholder\\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-starting-style\\:opacity-0[data-starting-style]{opacity:0}.data-\\[align-trigger\\=true\\]\\:animate-none[data-align-trigger=true]{animation:none}.data-\\[invalid\\=true\\]\\:text-destructive[data-invalid=true]{color:var(--destructive)}.data-\\[side\\=bottom\\]\\:inset-x-0[data-side=bottom]{inset-inline:0}.data-\\[side\\=bottom\\]\\:top-1[data-side=bottom]{top:var(--spacing)}.data-\\[side\\=bottom\\]\\:bottom-0[data-side=bottom]{bottom:0}.data-\\[side\\=bottom\\]\\:h-auto[data-side=bottom]{height:auto}.data-\\[side\\=bottom\\]\\:border-t[data-side=bottom]{border-top-style:var(--tw-border-style);border-top-width:1px}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.data-\\[side\\=bottom\\]\\:data-ending-style\\:translate-y-\\[2\\.5rem\\][data-side=bottom][data-ending-style],.data-\\[side\\=bottom\\]\\:data-starting-style\\:translate-y-\\[2\\.5rem\\][data-side=bottom][data-starting-style]{--tw-translate-y:2.5rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=inline-end\\]\\:top-1\\/2\\![data-side=inline-end]{top:50%!important}.data-\\[side\\=inline-end\\]\\:-left-1[data-side=inline-end]{left:calc(var(--spacing) * -1)}.data-\\[side\\=inline-end\\]\\:-translate-y-1\\/2[data-side=inline-end]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=inline-end\\]\\:slide-in-from-left-2[data-side=inline-end]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\\[side\\=inline-start\\]\\:top-1\\/2\\![data-side=inline-start]{top:50%!important}.data-\\[side\\=inline-start\\]\\:-right-1[data-side=inline-start]{right:calc(var(--spacing) * -1)}.data-\\[side\\=inline-start\\]\\:-translate-y-1\\/2[data-side=inline-start]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=inline-start\\]\\:slide-in-from-right-2[data-side=inline-start]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\\[side\\=left\\]\\:inset-y-0[data-side=left]{inset-block:0}.data-\\[side\\=left\\]\\:top-1\\/2\\![data-side=left]{top:50%!important}.data-\\[side\\=left\\]\\:-right-1[data-side=left]{right:calc(var(--spacing) * -1)}.data-\\[side\\=left\\]\\:left-0[data-side=left]{left:0}.data-\\[side\\=left\\]\\:h-full[data-side=left]{height:100%}.data-\\[side\\=left\\]\\:w-3\\/4[data-side=left]{width:75%}.data-\\[side\\=left\\]\\:-translate-y-1\\/2[data-side=left]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=left\\]\\:border-r[data-side=left]{border-right-style:var(--tw-border-style);border-right-width:1px}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\\[side\\=left\\]\\:group-data-\\[collapsible\\=offcanvas\\]\\:left-\\[calc\\(var\\(--sidebar-width\\)\\*-1\\)\\][data-side=left]:is(:where(.group)[data-collapsible=offcanvas] *){left:calc(var(--sidebar-width) * -1)}.data-\\[side\\=left\\]\\:data-ending-style\\:translate-x-\\[-2\\.5rem\\][data-side=left][data-ending-style],.data-\\[side\\=left\\]\\:data-starting-style\\:translate-x-\\[-2\\.5rem\\][data-side=left][data-starting-style]{--tw-translate-x:-2.5rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=right\\]\\:inset-y-0[data-side=right]{inset-block:0}.data-\\[side\\=right\\]\\:top-1\\/2\\![data-side=right]{top:50%!important}.data-\\[side\\=right\\]\\:right-0[data-side=right]{right:0}.data-\\[side\\=right\\]\\:-left-1[data-side=right]{left:calc(var(--spacing) * -1)}.data-\\[side\\=right\\]\\:h-full[data-side=right]{height:100%}.data-\\[side\\=right\\]\\:w-3\\/4[data-side=right]{width:75%}.data-\\[side\\=right\\]\\:-translate-y-1\\/2[data-side=right]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=right\\]\\:border-l[data-side=right]{border-left-style:var(--tw-border-style);border-left-width:1px}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\\[side\\=right\\]\\:group-data-\\[collapsible\\=offcanvas\\]\\:right-\\[calc\\(var\\(--sidebar-width\\)\\*-1\\)\\][data-side=right]:is(:where(.group)[data-collapsible=offcanvas] *){right:calc(var(--sidebar-width) * -1)}.data-\\[side\\=right\\]\\:data-ending-style\\:translate-x-\\[2\\.5rem\\][data-side=right][data-ending-style],.data-\\[side\\=right\\]\\:data-starting-style\\:translate-x-\\[2\\.5rem\\][data-side=right][data-starting-style]{--tw-translate-x:2.5rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=top\\]\\:inset-x-0[data-side=top]{inset-inline:0}.data-\\[side\\=top\\]\\:top-0[data-side=top]{top:0}.data-\\[side\\=top\\]\\:-bottom-2\\.5[data-side=top]{bottom:calc(var(--spacing) * -2.5)}.data-\\[side\\=top\\]\\:h-auto[data-side=top]{height:auto}.data-\\[side\\=top\\]\\:border-b[data-side=top]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.data-\\[side\\=top\\]\\:data-ending-style\\:translate-y-\\[-2\\.5rem\\][data-side=top][data-ending-style],.data-\\[side\\=top\\]\\:data-starting-style\\:translate-y-\\[-2\\.5rem\\][data-side=top][data-starting-style]{--tw-translate-y:-2.5rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[size\\=default\\]\\:h-8[data-size=default]{height:calc(var(--spacing) * 8)}.data-\\[size\\=md\\]\\:text-sm[data-size=md]{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.data-\\[size\\=sm\\]\\:h-7[data-size=sm]{height:calc(var(--spacing) * 7)}.data-\\[size\\=sm\\]\\:rounded-\\[min\\(var\\(--radius-md\\)\\,10px\\)\\][data-size=sm]{border-radius:min(var(--radius-md), 10px)}.data-\\[size\\=sm\\]\\:text-xs[data-size=sm]{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.data-\\[slot\\=checkbox-group\\]\\:gap-3[data-slot=checkbox-group]{gap:calc(var(--spacing) * 3)}:is(.\\*\\:data-\\[slot\\=field\\]\\:p-2\\.5>*)[data-slot=field]{padding:calc(var(--spacing) * 2.5)}:is(.\\*\\:data-\\[slot\\=field-group\\]\\:gap-4>*)[data-slot=field-group]{gap:calc(var(--spacing) * 4)}:is(.\\*\\:data-\\[slot\\=field-label\\]\\:flex-auto>*)[data-slot=field-label]{flex:auto}:is(.\\*\\*\\:data-\\[slot\\=kbd\\]\\:relative *)[data-slot=kbd]{position:relative}:is(.\\*\\*\\:data-\\[slot\\=kbd\\]\\:isolate *)[data-slot=kbd]{isolation:isolate}:is(.\\*\\*\\:data-\\[slot\\=kbd\\]\\:z-50 *)[data-slot=kbd]{z-index:50}:is(.\\*\\*\\:data-\\[slot\\=kbd\\]\\:rounded-sm *)[data-slot=kbd]{border-radius:calc(var(--radius) * .6)}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex>*)[data-slot=select-value]{display:flex}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-1\\.5>*)[data-slot=select-value]{gap:calc(var(--spacing) * 1.5)}.data-\\[state\\=delayed-open\\]\\:animate-in[data-state=delayed-open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=delayed-open\\]\\:fade-in-0[data-state=delayed-open]{--tw-enter-opacity:0}.data-\\[state\\=delayed-open\\]\\:zoom-in-95[data-state=delayed-open]{--tw-enter-scale:.95}.data-\\[variant\\=label\\]\\:text-sm[data-variant=label]{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.data-\\[variant\\=legend\\]\\:text-base[data-variant=legend]{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.data-\\[variant\\=line\\]\\:rounded-none[data-variant=line]{border-radius:0}.nth-last-2\\:-mt-1:nth-last-child(2){margin-top:calc(var(--spacing) * -1)}@supports ((-webkit-backdrop-filter:var(--tw)) or (backdrop-filter:var(--tw))){.supports-backdrop-filter\\:backdrop-blur-xs{--tw-backdrop-blur:blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}}@media (width>=40rem){.sm\\:flex{display:flex}.sm\\:max-w-md{max-width:var(--container-md)}.sm\\:max-w-sm{max-width:var(--container-sm)}.sm\\:flex-row{flex-direction:row}.sm\\:justify-end{justify-content:flex-end}.data-\\[side\\=left\\]\\:sm\\:max-w-sm[data-side=left],.data-\\[side\\=right\\]\\:sm\\:max-w-sm[data-side=right]{max-width:var(--container-sm)}}@media (width>=48rem){.md\\:block{display:block}.md\\:flex{display:flex}.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.md\\:opacity-0{opacity:0}.md\\:peer-data-\\[variant\\=inset\\]\\:m-2:is(:where(.peer)[data-variant=inset]~*){margin:calc(var(--spacing) * 2)}.md\\:peer-data-\\[variant\\=inset\\]\\:ml-0:is(:where(.peer)[data-variant=inset]~*){margin-left:0}.md\\:peer-data-\\[variant\\=inset\\]\\:rounded-xl:is(:where(.peer)[data-variant=inset]~*){border-radius:calc(var(--radius) * 1.4)}.md\\:peer-data-\\[variant\\=inset\\]\\:shadow-sm:is(:where(.peer)[data-variant=inset]~*){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.md\\:peer-data-\\[variant\\=inset\\]\\:peer-data-\\[state\\=collapsed\\]\\:ml-2:is(:where(.peer)[data-variant=inset]~*):is(:where(.peer)[data-state=collapsed]~*){margin-left:calc(var(--spacing) * 2)}.md\\:after\\:hidden:after{content:var(--tw-content);display:none}}@container field-group (width>=28rem){.\\@md\\/field-group\\:flex-row{flex-direction:row}.\\@md\\/field-group\\:items-center{align-items:center}:is(.\\@md\\/field-group\\:\\*\\:w-auto>*){width:auto}.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:items-start:has(>[data-slot=field-content]){align-items:flex-start}:is(.\\@md\\/field-group\\:\\*\\:data-\\[slot\\=field-label\\]\\:flex-auto>*)[data-slot=field-label]{flex:auto}}.ltr\\:-translate-x-1\\/2:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *),.rtl\\:-translate-x-1\\/2:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.dark\\:border-input:is(.dark *){border-color:var(--input)}.dark\\:bg-destructive\\/20:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-destructive\\/20:is(.dark *){background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.dark\\:bg-input\\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-input\\/30:is(.dark *){background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\\:text-muted-foreground:is(.dark *){color:var(--muted-foreground)}@media (hover:hover){.dark\\:hover\\:bg-destructive\\/30:is(.dark *):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-destructive\\/30:is(.dark *):hover{background-color:color-mix(in oklab, var(--destructive) 30%, transparent)}}.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.dark\\:hover\\:bg-muted\\/50:is(.dark *):hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-muted\\/50:is(.dark *):hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.dark\\:hover\\:text-foreground:is(.dark *):hover{color:var(--foreground)}}.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\\:disabled\\:bg-input\\/80:is(.dark *):disabled{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:disabled\\:bg-input\\/80:is(.dark *):disabled{background-color:color-mix(in oklab, var(--input) 80%, transparent)}}.dark\\:has-data-checked\\:border-primary\\/20:is(.dark *):has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){border-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.dark\\:has-data-checked\\:border-primary\\/20:is(.dark *):has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){border-color:color-mix(in oklab, var(--primary) 20%, transparent)}}.dark\\:has-data-checked\\:bg-primary\\/10:is(.dark *):has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.dark\\:has-data-checked\\:bg-primary\\/10:is(.dark *):has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){background-color:color-mix(in oklab, var(--primary) 10%, transparent)}}.dark\\:aria-invalid\\:border-destructive\\/50:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:aria-invalid\\:border-destructive\\/50:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab, var(--destructive) 50%, transparent)}}.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.data-open\\:animate-in:where([data-state=open]),.data-open\\:animate-in:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-open\\:fade-in-0:where([data-state=open]),.data-open\\:fade-in-0:where([data-open]:not([data-open=false])){--tw-enter-opacity:0}.data-open\\:zoom-in-95:where([data-state=open]),.data-open\\:zoom-in-95:where([data-open]:not([data-open=false])){--tw-enter-scale:.95}@media (hover:hover){:is(.data-open\\:hover\\:bg-sidebar-accent:where([data-state=open]),.data-open\\:hover\\:bg-sidebar-accent:where([data-open]:not([data-open=false]))):hover{background-color:var(--sidebar-accent)}:is(.data-open\\:hover\\:text-sidebar-accent-foreground:where([data-state=open]),.data-open\\:hover\\:text-sidebar-accent-foreground:where([data-open]:not([data-open=false]))):hover{color:var(--sidebar-accent-foreground)}}.data-closed\\:animate-out:where([data-state=closed]),.data-closed\\:animate-out:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-closed\\:fade-out-0:where([data-state=closed]),.data-closed\\:fade-out-0:where([data-closed]:not([data-closed=false])){--tw-exit-opacity:0}.data-closed\\:zoom-out-95:where([data-state=closed]),.data-closed\\:zoom-out-95:where([data-closed]:not([data-closed=false])){--tw-exit-scale:.95}.data-checked\\:border-primary:where([data-state=checked]),.data-checked\\:border-primary:where([data-checked]:not([data-checked=false])){border-color:var(--primary)}.data-checked\\:bg-primary:where([data-state=checked]),.data-checked\\:bg-primary:where([data-checked]:not([data-checked=false])){background-color:var(--primary)}.data-checked\\:text-primary-foreground:where([data-state=checked]),.data-checked\\:text-primary-foreground:where([data-checked]:not([data-checked=false])){color:var(--primary-foreground)}.group-has-\\[\\:focus-visible\\]\\/field-label\\:data-checked\\:border-primary:is(:where(.group\\/field-label):has(:focus-visible) *):where([data-state=checked]),.group-has-\\[\\:focus-visible\\]\\/field-label\\:data-checked\\:border-primary:is(:where(.group\\/field-label):has(:focus-visible) *):where([data-checked]:not([data-checked=false])){border-color:var(--primary)}.dark\\:data-checked\\:bg-primary:is(.dark *):where([data-state=checked]),.dark\\:data-checked\\:bg-primary:is(.dark *):where([data-checked]:not([data-checked=false])){background-color:var(--primary)}.data-disabled\\:pointer-events-none:where([data-disabled=true]),.data-disabled\\:pointer-events-none:where([data-disabled]:not([data-disabled=false])){pointer-events:none}.data-disabled\\:opacity-50:where([data-disabled=true]),.data-disabled\\:opacity-50:where([data-disabled]:not([data-disabled=false])){opacity:.5}.data-active\\:bg-background:where([data-state=active]),.data-active\\:bg-background:where([data-active]:not([data-active=false])){background-color:var(--background)}.data-active\\:bg-sidebar-accent:where([data-state=active]),.data-active\\:bg-sidebar-accent:where([data-active]:not([data-active=false])){background-color:var(--sidebar-accent)}.data-active\\:font-medium:where([data-state=active]),.data-active\\:font-medium:where([data-active]:not([data-active=false])){--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-active\\:text-foreground:where([data-state=active]),.data-active\\:text-foreground:where([data-active]:not([data-active=false])){color:var(--foreground)}.data-active\\:text-sidebar-accent-foreground:where([data-state=active]),.data-active\\:text-sidebar-accent-foreground:where([data-active]:not([data-active=false])){color:var(--sidebar-accent-foreground)}.group-data-\\[variant\\=default\\]\\/tabs-list\\:data-active\\:shadow-sm:is(:where(.group\\/tabs-list)[data-variant=default] *):where([data-state=active]),.group-data-\\[variant\\=default\\]\\/tabs-list\\:data-active\\:shadow-sm:is(:where(.group\\/tabs-list)[data-variant=default] *):where([data-active]:not([data-active=false])){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:bg-transparent:is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:bg-transparent:is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){background-color:#0000}.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:shadow-none:is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:shadow-none:is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:is(.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:after\\:opacity-100:is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:after\\:opacity-100:is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false]))):after{content:var(--tw-content);opacity:1}.dark\\:data-active\\:border-input:is(.dark *):where([data-state=active]),.dark\\:data-active\\:border-input:is(.dark *):where([data-active]:not([data-active=false])){border-color:var(--input)}.dark\\:data-active\\:bg-input\\/30:is(.dark *):where([data-state=active]),.dark\\:data-active\\:bg-input\\/30:is(.dark *):where([data-active]:not([data-active=false])){background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:data-active\\:bg-input\\/30:is(.dark *):where([data-state=active]),.dark\\:data-active\\:bg-input\\/30:is(.dark *):where([data-active]:not([data-active=false])){background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\\:data-active\\:text-foreground:is(.dark *):where([data-state=active]),.dark\\:data-active\\:text-foreground:is(.dark *):where([data-active]:not([data-active=false])){color:var(--foreground)}.dark\\:group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:border-transparent:is(.dark *):is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-state=active]),.dark\\:group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:border-transparent:is(.dark *):is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){border-color:#0000}.dark\\:group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:bg-transparent:is(.dark *):is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-state=active]),.dark\\:group-data-\\[variant\\=line\\]\\/tabs-list\\:data-active\\:bg-transparent:is(.dark *):is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){background-color:#0000}.data-horizontal\\:h-px:where([data-orientation=horizontal]){height:1px}.data-horizontal\\:w-full:where([data-orientation=horizontal]){width:100%}.data-horizontal\\:flex-col:where([data-orientation=horizontal]){flex-direction:column}.data-vertical\\:w-px:where([data-orientation=vertical]){width:1px}.data-vertical\\:self-stretch:where([data-orientation=vertical]){align-self:stretch}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-3 svg:not([class*=size-]){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-3\\.5 svg:not([class*=size-]){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}:is(.\\*\\:\\[a\\]\\:underline>*):is(a){text-decoration-line:underline}:is(.\\*\\:\\[a\\]\\:underline-offset-3>*):is(a){text-underline-offset:3px}@media (hover:hover){:is(.\\*\\:\\[a\\]\\:hover\\:text-foreground>*):is(a):hover{color:var(--foreground)}}:is(.\\*\\:\\[span\\]\\:last\\:flex>*):is(span):last-child{display:flex}:is(.\\*\\:\\[span\\]\\:last\\:items-center>*):is(span):last-child{align-items:center}:is(.\\*\\:\\[span\\]\\:last\\:gap-2>*):is(span):last-child{gap:calc(var(--spacing) * 2)}.\\[\\&\\>\\.sr-only\\]\\:w-auto>.sr-only{width:auto}:is(.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content]) [role=radio]){margin-top:1px}@container field-group (width>=28rem){:is(.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content]) [role=radio]){margin-top:1px}}.\\[\\&\\>a\\]\\:underline>a{text-decoration-line:underline}.\\[\\&\\>a\\]\\:underline-offset-4>a{text-underline-offset:4px}.\\[\\&\\>a\\:hover\\]\\:text-primary>a:hover{color:var(--primary)}.\\[\\&\\>button\\]\\:hidden>button{display:none}.\\[\\&\\>span\\:last-child\\]\\:truncate>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\\[\\&\\>svg\\]\\:size-3\\.5>svg{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\\[\\&\\>svg\\]\\:size-4>svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\\[\\&\\>svg\\]\\:shrink-0>svg{flex-shrink:0}.\\[\\&\\>svg\\]\\:text-sidebar-accent-foreground>svg{color:var(--sidebar-accent-foreground)}[data-side=left][data-collapsible=offcanvas] .\\[\\[data-side\\=left\\]\\[data-collapsible\\=offcanvas\\]_\\&\\]\\:-right-2{right:calc(var(--spacing) * -2)}[data-side=left][data-state=collapsed] .\\[\\[data-side\\=left\\]\\[data-state\\=collapsed\\]_\\&\\]\\:cursor-e-resize{cursor:e-resize}[data-side=right][data-collapsible=offcanvas] .\\[\\[data-side\\=right\\]\\[data-collapsible\\=offcanvas\\]_\\&\\]\\:-left-2{left:calc(var(--spacing) * -2)}[data-side=right][data-state=collapsed] .\\[\\[data-side\\=right\\]\\[data-state\\=collapsed\\]_\\&\\]\\:cursor-w-resize{cursor:w-resize}[data-variant=legend]+.\\[\\[data-variant\\=legend\\]\\+\\&\\]\\:-mt-1\\.5{margin-top:calc(var(--spacing) * -1.5)}}@property --tw-animation-delay{syntax:\"*\";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:\"*\";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:\"*\";inherits:false}@property --tw-animation-fill-mode{syntax:\"*\";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:\"*\";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:\"*\";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --scroll-fade-t{syntax:\"<length-percentage>\";inherits:false;initial-value:0}@property --scroll-fade-b{syntax:\"<length-percentage>\";inherits:false;initial-value:0}@property --scroll-fade-s{syntax:\"<length-percentage>\";inherits:false;initial-value:0}@property --scroll-fade-e{syntax:\"<length-percentage>\";inherits:false;initial-value:0}@property --scroll-fade-mask{syntax:\"*\";inherits:false}@property --shimmer-angle{syntax:\"<angle>\";inherits:true;initial-value:20deg}@property --shimmer-image{syntax:\"*\";inherits:false}@property --shimmer-text-fill{syntax:\"*\";inherits:false}@media (prefers-reduced-motion:reduce){.shimmer{-webkit-text-fill-color:currentColor;background-image:none;animation:none}}:root,:host{--background:oklch(100% 0 0);--foreground:oklch(14.1% .005 285.823);--card:oklch(100% 0 0);--card-foreground:oklch(14.1% .005 285.823);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.1% .005 285.823);--primary:oklch(48.8% .243 264.376);--primary-foreground:oklch(97% .014 254.604);--secondary:oklch(96.7% .001 286.375);--secondary-foreground:oklch(21% .006 285.885);--muted:oklch(96.7% .001 286.375);--muted-foreground:oklch(55.2% .016 285.938);--accent:oklch(96.7% .001 286.375);--accent-foreground:oklch(21% .006 285.885);--destructive:oklch(57.7% .245 27.325);--border:oklch(92% .004 286.32);--input:oklch(92% .004 286.32);--ring:oklch(70.5% .015 286.067);--chart-1:oklch(80.9% .105 251.813);--chart-2:oklch(62.3% .214 259.815);--chart-3:oklch(54.6% .245 262.881);--chart-4:oklch(48.8% .243 264.376);--chart-5:oklch(42.4% .199 265.638);--radius:.625rem;--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.1% .005 285.823);--sidebar-primary:oklch(54.6% .245 262.881);--sidebar-primary-foreground:oklch(97% .014 254.604);--sidebar-accent:oklch(96.7% .001 286.375);--sidebar-accent-foreground:oklch(21% .006 285.885);--sidebar-border:oklch(92% .004 286.32);--sidebar-ring:oklch(70.5% .015 286.067)}.dark{--background:oklch(14.1% .005 285.823);--foreground:oklch(98.5% 0 0);--card:oklch(21% .006 285.885);--card-foreground:oklch(98.5% 0 0);--popover:oklch(21% .006 285.885);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(42.4% .199 265.638);--primary-foreground:oklch(97% .014 254.604);--secondary:oklch(27.4% .006 286.033);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27.4% .006 286.033);--muted-foreground:oklch(70.5% .015 286.067);--accent:oklch(27.4% .006 286.033);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.2% .016 285.938);--chart-1:oklch(80.9% .105 251.813);--chart-2:oklch(62.3% .214 259.815);--chart-3:oklch(54.6% .245 262.881);--chart-4:oklch(48.8% .243 264.376);--chart-5:oklch(42.4% .199 265.638);--sidebar:oklch(21% .006 285.885);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(62.3% .214 259.815);--sidebar-primary-foreground:oklch(97% .014 254.604);--sidebar-accent:oklch(27.4% .006 286.033);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.2% .016 285.938)}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@property --tw-content{syntax:\"*\";inherits:false;initial-value:\"\"}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}", eJ = new CSSStyleSheet();
|
|
59529
|
+
eJ.replaceSync($q), document.adoptedStyleSheets = [...document.adoptedStyleSheets, eJ];
|
|
59518
59530
|
//#endregion
|
|
59519
59531
|
//#region src/client/entry.tsx
|
|
59520
|
-
var
|
|
59521
|
-
function
|
|
59532
|
+
var tJ = new Le();
|
|
59533
|
+
function nJ() {
|
|
59522
59534
|
let e = document.getElementById("astroix-root");
|
|
59523
59535
|
if (e === null) throw Error("astroix: #astroix-root is missing from the chrome document");
|
|
59524
59536
|
let t = e.shadowRoot ?? e.attachShadow({ mode: "open" });
|
|
59525
|
-
t.adoptedStyleSheets = [...t.adoptedStyleSheets,
|
|
59526
|
-
client:
|
|
59527
|
-
children: /* @__PURE__ */ (0, g.jsx)(
|
|
59537
|
+
t.adoptedStyleSheets = [...t.adoptedStyleSheets, eJ], (0, Qt.createRoot)(t).render(/* @__PURE__ */ (0, g.jsx)(h.StrictMode, { children: /* @__PURE__ */ (0, g.jsx)(y, {
|
|
59538
|
+
client: tJ,
|
|
59539
|
+
children: /* @__PURE__ */ (0, g.jsx)(Qq, {})
|
|
59528
59540
|
}) }));
|
|
59529
59541
|
}
|
|
59530
59542
|
//#endregion
|
|
59531
59543
|
//#region src/client/chrome.tsx
|
|
59532
|
-
|
|
59544
|
+
nJ();
|
|
59533
59545
|
//#endregion
|