@nordmanai/nif 0.2.17 → 0.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +446 -348
- package/dist/styles.css +1 -1
- package/dist/ui/components/nm-sidebar/nm-sidebar.d.ts +25 -1
- package/package.json +1 -1
- package/registry/index.json +1 -1
- package/registry/ui/components/nm-sidebar/nm-sidebar.css +67 -6
- package/registry/ui/components/nm-sidebar/nm-sidebar.tsx +169 -4
- package/registry/ui/styles/tokens.css +2 -0
package/dist/index.js
CHANGED
|
@@ -13,10 +13,10 @@ import { Menu as k } from "@base-ui/react/menu";
|
|
|
13
13
|
import { ContextMenu as A } from "@base-ui/react/context-menu";
|
|
14
14
|
import { Dialog as j } from "@base-ui/react/dialog";
|
|
15
15
|
import { Menubar as ee } from "@base-ui/react/menubar";
|
|
16
|
-
import { Popover as
|
|
17
|
-
import { PreviewCard as
|
|
18
|
-
import { Progress as
|
|
19
|
-
import { Radio as
|
|
16
|
+
import { Popover as te } from "@base-ui/react/popover";
|
|
17
|
+
import { PreviewCard as ne } from "@base-ui/react/preview-card";
|
|
18
|
+
import { Progress as re } from "@base-ui/react/progress";
|
|
19
|
+
import { Radio as M } from "@base-ui/react/radio";
|
|
20
20
|
import { RadioGroup as ie } from "@base-ui/react/radio-group";
|
|
21
21
|
import { Select as N } from "@base-ui/react/select";
|
|
22
22
|
import { Slider as P } from "@base-ui/react/slider";
|
|
@@ -2896,18 +2896,18 @@ function Du(e, t, n, r, i) {
|
|
|
2896
2896
|
});
|
|
2897
2897
|
O.push(t);
|
|
2898
2898
|
}
|
|
2899
|
-
let j = Zi(i.fadeIn), ee = Zi(i.slideIn),
|
|
2899
|
+
let j = Zi(i.fadeIn), ee = Zi(i.slideIn), te = Zi(i.out), ne = {
|
|
2900
2900
|
overflow: "hidden",
|
|
2901
2901
|
whiteSpace: "nowrap"
|
|
2902
2902
|
};
|
|
2903
|
-
o(e, [
|
|
2904
|
-
let [
|
|
2903
|
+
o(e, [ne, ne], { duration: Math.max(g.duration, te.duration, j.duration) });
|
|
2904
|
+
let [re, M] = S.slide, ie = Math.abs(re) >= .5 || Math.abs(M) >= .5;
|
|
2905
2905
|
for (let e of u) {
|
|
2906
2906
|
let t = getComputedStyle(e).opacity;
|
|
2907
2907
|
o(e, [{ opacity: Number(t) * S.shown }, { opacity: t }], j), A && O.push(o(e, [{ translate: `${-f}px ${-p}px` }, { translate: "0px 0px" }], {
|
|
2908
2908
|
...g,
|
|
2909
2909
|
composite: "add"
|
|
2910
|
-
})), ie && o(e, [{ translate: `${
|
|
2910
|
+
})), ie && o(e, [{ translate: `${re}px ${M}px` }, { translate: "0px 0px" }], {
|
|
2911
2911
|
...ee,
|
|
2912
2912
|
composite: "add"
|
|
2913
2913
|
});
|
|
@@ -2920,12 +2920,12 @@ function Du(e, t, n, r, i) {
|
|
|
2920
2920
|
composite: "add",
|
|
2921
2921
|
fill: "forwards"
|
|
2922
2922
|
})), (o[0] !== s[0] || o[1] !== s[1]) && t.animate([{ transform: `translate(${o[0]}px, ${o[1]}px)` }, { transform: `translate(${s[0]}px, ${s[1]}px)` }], {
|
|
2923
|
-
...
|
|
2923
|
+
...te,
|
|
2924
2924
|
composite: "add",
|
|
2925
2925
|
fill: "forwards"
|
|
2926
2926
|
});
|
|
2927
2927
|
let c = t.animate([{ opacity: a }, { opacity: 0 }], {
|
|
2928
|
-
...
|
|
2928
|
+
...te,
|
|
2929
2929
|
fill: "forwards"
|
|
2930
2930
|
}), l = {
|
|
2931
2931
|
menu: n,
|
|
@@ -3598,31 +3598,31 @@ function uf({ open: e, defaultOpen: t, onOpenChange: n, ...r }) {
|
|
|
3598
3598
|
let [i, a] = ef(e, t, n);
|
|
3599
3599
|
return /* @__PURE__ */ b(sf, {
|
|
3600
3600
|
value: { open: i },
|
|
3601
|
-
children: /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(
|
|
3601
|
+
children: /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(te.Root, {
|
|
3602
3602
|
...r,
|
|
3603
3603
|
open: i,
|
|
3604
3604
|
onOpenChange: a
|
|
3605
3605
|
}) })
|
|
3606
3606
|
});
|
|
3607
3607
|
}
|
|
3608
|
-
var df =
|
|
3608
|
+
var df = te.Trigger;
|
|
3609
3609
|
function ff({ keepMounted: e = !1, ...t }) {
|
|
3610
3610
|
let { open: n } = cf();
|
|
3611
3611
|
return /* @__PURE__ */ b(lf, {
|
|
3612
3612
|
value: e,
|
|
3613
3613
|
children: /* @__PURE__ */ b(tf, {
|
|
3614
|
-
component:
|
|
3614
|
+
component: te.Portal,
|
|
3615
3615
|
portalProps: t,
|
|
3616
3616
|
open: n,
|
|
3617
3617
|
keepMounted: e
|
|
3618
3618
|
})
|
|
3619
3619
|
});
|
|
3620
3620
|
}
|
|
3621
|
-
var pf =
|
|
3621
|
+
var pf = te.Positioner;
|
|
3622
3622
|
function mf({ transition: t, exitTransition: n, ...r }) {
|
|
3623
3623
|
let { open: i } = cf();
|
|
3624
3624
|
return /* @__PURE__ */ b(rf, {
|
|
3625
|
-
component:
|
|
3625
|
+
component: te.Popup,
|
|
3626
3626
|
popupProps: r,
|
|
3627
3627
|
open: i,
|
|
3628
3628
|
keepMounted: e.use(lf),
|
|
@@ -3630,7 +3630,7 @@ function mf({ transition: t, exitTransition: n, ...r }) {
|
|
|
3630
3630
|
exitTransition: n
|
|
3631
3631
|
});
|
|
3632
3632
|
}
|
|
3633
|
-
var hf =
|
|
3633
|
+
var hf = te.Arrow, gf = te.Backdrop, _f = te.Title, vf = te.Description, yf = te.Close, bf = te.Viewport, xf = te.createHandle, Sf = te.Handle, Cf = /* @__PURE__ */ ji({
|
|
3634
3634
|
Arrow: () => Mf,
|
|
3635
3635
|
Backdrop: () => Nf,
|
|
3636
3636
|
Handle: () => If,
|
|
@@ -3649,7 +3649,7 @@ function Df({ open: e, defaultOpen: t, onOpenChange: n, followCursor: r, followC
|
|
|
3649
3649
|
children: /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(Yd, {
|
|
3650
3650
|
followCursor: r,
|
|
3651
3651
|
followCursorSpringOptions: i,
|
|
3652
|
-
children: /* @__PURE__ */ b(
|
|
3652
|
+
children: /* @__PURE__ */ b(ne.Root, {
|
|
3653
3653
|
...a,
|
|
3654
3654
|
open: o,
|
|
3655
3655
|
onOpenChange: s
|
|
@@ -3658,7 +3658,7 @@ function Df({ open: e, defaultOpen: t, onOpenChange: n, followCursor: r, followC
|
|
|
3658
3658
|
});
|
|
3659
3659
|
}
|
|
3660
3660
|
function Of({ onMouseMove: e, ...t }) {
|
|
3661
|
-
return /* @__PURE__ */ b(
|
|
3661
|
+
return /* @__PURE__ */ b(ne.Trigger, {
|
|
3662
3662
|
...t,
|
|
3663
3663
|
onMouseMove: Qd(e)
|
|
3664
3664
|
});
|
|
@@ -3668,18 +3668,18 @@ function kf({ keepMounted: e = !1, ...t }) {
|
|
|
3668
3668
|
return /* @__PURE__ */ b(Ef, {
|
|
3669
3669
|
value: e,
|
|
3670
3670
|
children: /* @__PURE__ */ b(tf, {
|
|
3671
|
-
component:
|
|
3671
|
+
component: ne.Portal,
|
|
3672
3672
|
portalProps: t,
|
|
3673
3673
|
open: n,
|
|
3674
3674
|
keepMounted: e
|
|
3675
3675
|
})
|
|
3676
3676
|
});
|
|
3677
3677
|
}
|
|
3678
|
-
var Af =
|
|
3678
|
+
var Af = ne.Positioner;
|
|
3679
3679
|
function jf({ transition: t, exitTransition: n, ...r }) {
|
|
3680
3680
|
let { open: i } = Tf();
|
|
3681
3681
|
return /* @__PURE__ */ b(rf, {
|
|
3682
|
-
component:
|
|
3682
|
+
component: ne.Popup,
|
|
3683
3683
|
popupProps: r,
|
|
3684
3684
|
open: i,
|
|
3685
3685
|
keepMounted: e.use(Ef),
|
|
@@ -3687,7 +3687,7 @@ function jf({ transition: t, exitTransition: n, ...r }) {
|
|
|
3687
3687
|
exitTransition: n
|
|
3688
3688
|
});
|
|
3689
3689
|
}
|
|
3690
|
-
var Mf =
|
|
3690
|
+
var Mf = ne.Arrow, Nf = ne.Backdrop, Pf = ne.Viewport, Ff = ne.createHandle, If = ne.Handle, Lf = z.spring.progress, Rf = Lf;
|
|
3691
3691
|
function zf(t, n, r = 0) {
|
|
3692
3692
|
let [i, a] = e.useState(r), [o] = e.useState(() => (0, I.motionValue)(r)), s = ia(), c = e.useRef(n);
|
|
3693
3693
|
return e.useLayoutEffect(() => {
|
|
@@ -3734,15 +3734,15 @@ function Kf(e) {
|
|
|
3734
3734
|
format: i,
|
|
3735
3735
|
locale: a
|
|
3736
3736
|
},
|
|
3737
|
-
children: /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(
|
|
3737
|
+
children: /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(re.Root, {
|
|
3738
3738
|
...e,
|
|
3739
3739
|
locale: a
|
|
3740
3740
|
}) })
|
|
3741
3741
|
});
|
|
3742
3742
|
}
|
|
3743
|
-
var qf =
|
|
3743
|
+
var qf = re.Track;
|
|
3744
3744
|
function Jf({ transition: e, render: t, ...n }) {
|
|
3745
|
-
return /* @__PURE__ */ b(
|
|
3745
|
+
return /* @__PURE__ */ b(re.Indicator, {
|
|
3746
3746
|
...n,
|
|
3747
3747
|
render: (n, r) => /* @__PURE__ */ b(Yf, {
|
|
3748
3748
|
...n,
|
|
@@ -3776,12 +3776,12 @@ function Zf(e, { min: t, max: n, format: r, locale: i }) {
|
|
|
3776
3776
|
}
|
|
3777
3777
|
function Qf({ transition: e, children: t, ...n }) {
|
|
3778
3778
|
let r = Gf(), i = B(e ?? Rf), a = zf(r.value !== null && Number.isFinite(r.value) ? r.value : r.min, i, r.min), o = Zf(a, r);
|
|
3779
|
-
return /* @__PURE__ */ b(
|
|
3779
|
+
return /* @__PURE__ */ b(re.Value, {
|
|
3780
3780
|
...n,
|
|
3781
3781
|
children: (e, n) => e === "indeterminate" || n === null ? t ? t(e, n) : null : t ? t(o, a) : o
|
|
3782
3782
|
});
|
|
3783
3783
|
}
|
|
3784
|
-
var $f =
|
|
3784
|
+
var $f = re.Label, ep = z.spring.press, tp = z.scale.press;
|
|
3785
3785
|
function np({ disabled: e, transition: t, scale: n = tp } = {}) {
|
|
3786
3786
|
let r = ia(), i = B(t ?? ep);
|
|
3787
3787
|
return r || e ? {} : {
|
|
@@ -3803,12 +3803,12 @@ function ap({ transition: e, render: t, ...n }) {
|
|
|
3803
3803
|
disabled: n.disabled,
|
|
3804
3804
|
transition: e
|
|
3805
3805
|
});
|
|
3806
|
-
if (t) return /* @__PURE__ */ b(
|
|
3806
|
+
if (t) return /* @__PURE__ */ b(M.Root, {
|
|
3807
3807
|
...n,
|
|
3808
3808
|
render: t
|
|
3809
3809
|
});
|
|
3810
3810
|
let i = n.nativeButton ? L.button : L.span;
|
|
3811
|
-
return /* @__PURE__ */ b(
|
|
3811
|
+
return /* @__PURE__ */ b(M.Root, {
|
|
3812
3812
|
...n,
|
|
3813
3813
|
render: (e) => /* @__PURE__ */ b(i, {
|
|
3814
3814
|
...e,
|
|
@@ -3817,11 +3817,11 @@ function ap({ transition: e, render: t, ...n }) {
|
|
|
3817
3817
|
});
|
|
3818
3818
|
}
|
|
3819
3819
|
function op({ keepMounted: e, render: t, transition: n, exitTransition: r, ...i }) {
|
|
3820
|
-
return t ? /* @__PURE__ */ b(
|
|
3820
|
+
return t ? /* @__PURE__ */ b(M.Indicator, {
|
|
3821
3821
|
...i,
|
|
3822
3822
|
keepMounted: e,
|
|
3823
3823
|
render: t
|
|
3824
|
-
}) : /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(
|
|
3824
|
+
}) : /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(M.Indicator, {
|
|
3825
3825
|
...i,
|
|
3826
3826
|
keepMounted: !0,
|
|
3827
3827
|
render: (t, i) => /* @__PURE__ */ b(Oa, {
|
|
@@ -5126,11 +5126,11 @@ function Kh(e) {
|
|
|
5126
5126
|
return /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(qh, { ...e }) });
|
|
5127
5127
|
}
|
|
5128
5128
|
function qh({ asChild: t = !1, animate: n = !1, animateOnHover: r = !1, animateOnTap: i = !1, animateOnView: a = !1, animateOnViewMargin: o = "0px", animateOnViewOnce: s = !0, animation: c = "default", loop: l = !1, loopDelay: u = 0, initialOnAnimateEnd: d = !1, completeOnStop: f = !1, persistOnAnimateEnd: p = !1, delay: m = 0, speed: h, initial: g, children: _, ref: v, onMouseEnter: y, onMouseLeave: x, onPointerEnter: S, onPointerLeave: C, onPointerDown: w, onPointerUp: T, onPointerCancel: E, ...D }) {
|
|
5129
|
-
let O = (0, I.useAnimation)(), k = ia(), [A, j] = e.useState(() => n === void 0 || n === !1 ? !1 : m <= 0), [ee,
|
|
5129
|
+
let O = (0, I.useAnimation)(), k = ia(), [A, j] = e.useState(() => n === void 0 || n === !1 ? !1 : m <= 0), [ee, te] = e.useState(typeof n == "string" ? n : c), [ne, re] = e.useState("initial"), M = A && !k, [ie, N] = e.useState(() => g === !1 && M), P = e.useRef(null), ae = e.useRef(null), oe = e.useRef(!1), se = e.useRef(null), ce = e.useRef(null), le = e.useRef(M), ue = e.useRef(0), de = e.useRef(!1), fe = e.useRef(!1), pe = e.useCallback(() => {
|
|
5130
5130
|
ue.current++;
|
|
5131
5131
|
}, []), me = e.useCallback((e) => {
|
|
5132
5132
|
let t = typeof e == "string" ? e : c;
|
|
5133
|
-
pe(), P.current &&= (clearTimeout(P.current), null),
|
|
5133
|
+
pe(), P.current &&= (clearTimeout(P.current), null), te(t), m > 0 ? (j(!1), P.current = setTimeout(() => {
|
|
5134
5134
|
j(!0);
|
|
5135
5135
|
}, m)) : j(!0);
|
|
5136
5136
|
}, [
|
|
@@ -5141,9 +5141,9 @@ function qh({ asChild: t = !1, animate: n = !1, animateOnHover: r = !1, animateO
|
|
|
5141
5141
|
pe(), P.current &&= (clearTimeout(P.current), null), ae.current &&= (clearTimeout(ae.current), null), j(!1);
|
|
5142
5142
|
}, [pe]);
|
|
5143
5143
|
e.useEffect(() => {
|
|
5144
|
-
le.current =
|
|
5145
|
-
}, [
|
|
5146
|
-
n !== void 0 && (
|
|
5144
|
+
le.current = M;
|
|
5145
|
+
}, [M]), e.useEffect(() => {
|
|
5146
|
+
n !== void 0 && (te(typeof n == "string" ? n : c), n ? me(n) : he());
|
|
5147
5147
|
}, [n]), e.useEffect(() => () => {
|
|
5148
5148
|
P.current && clearTimeout(P.current), ae.current && clearTimeout(ae.current);
|
|
5149
5149
|
}, []);
|
|
@@ -5157,7 +5157,7 @@ function qh({ asChild: t = !1, animate: n = !1, animateOnHover: r = !1, animateO
|
|
|
5157
5157
|
}, [ve]);
|
|
5158
5158
|
let xe = e.useCallback(async (e, t = "start") => {
|
|
5159
5159
|
try {
|
|
5160
|
-
t === "jump" ? await O.start(e, { duration: 0 }) : await O[t](e),
|
|
5160
|
+
t === "jump" ? await O.start(e, { duration: 0 }) : await O[t](e), re(e);
|
|
5161
5161
|
} catch {
|
|
5162
5162
|
return;
|
|
5163
5163
|
}
|
|
@@ -5176,7 +5176,7 @@ function qh({ asChild: t = !1, animate: n = !1, animateOnHover: r = !1, animateO
|
|
|
5176
5176
|
fe.current = !0;
|
|
5177
5177
|
async function n() {
|
|
5178
5178
|
if (de.current || e !== ue.current) await xe("initial");
|
|
5179
|
-
else if (
|
|
5179
|
+
else if (M) {
|
|
5180
5180
|
if (l) {
|
|
5181
5181
|
if (de.current || e !== ue.current) {
|
|
5182
5182
|
await xe("initial");
|
|
@@ -5207,11 +5207,11 @@ function qh({ asChild: t = !1, animate: n = !1, animateOnHover: r = !1, animateO
|
|
|
5207
5207
|
return;
|
|
5208
5208
|
}
|
|
5209
5209
|
if (!le.current) {
|
|
5210
|
-
|
|
5210
|
+
ne !== "initial" && !p && await xe("initial");
|
|
5211
5211
|
return;
|
|
5212
5212
|
}
|
|
5213
5213
|
} else if (!le.current) {
|
|
5214
|
-
|
|
5214
|
+
ne !== "initial" && !p && await xe("initial");
|
|
5215
5215
|
return;
|
|
5216
5216
|
}
|
|
5217
5217
|
if (de.current || e !== ue.current) {
|
|
@@ -5245,7 +5245,7 @@ function qh({ asChild: t = !1, animate: n = !1, animateOnHover: r = !1, animateO
|
|
|
5245
5245
|
return n(), () => {
|
|
5246
5246
|
de.current = !0, be.current?.(), be.current = null, P.current &&= (clearTimeout(P.current), null), ae.current &&= (clearTimeout(ae.current), null);
|
|
5247
5247
|
};
|
|
5248
|
-
}, [
|
|
5248
|
+
}, [M, O]);
|
|
5249
5249
|
let Se = t && e.isValidElement(_) ? _.props : {}, Ce = {
|
|
5250
5250
|
onMouseEnter: (e) => {
|
|
5251
5251
|
Se.onMouseEnter?.(e), y?.(e);
|
|
@@ -5280,7 +5280,7 @@ function qh({ asChild: t = !1, animate: n = !1, animateOnHover: r = !1, animateO
|
|
|
5280
5280
|
animation: ee,
|
|
5281
5281
|
loop: l,
|
|
5282
5282
|
loopDelay: u,
|
|
5283
|
-
active:
|
|
5283
|
+
active: M,
|
|
5284
5284
|
animate: n,
|
|
5285
5285
|
initialOnAnimateEnd: d,
|
|
5286
5286
|
completeOnStop: f,
|
|
@@ -24960,7 +24960,7 @@ function _j(e) {
|
|
|
24960
24960
|
...n,
|
|
24961
24961
|
today: c.today()
|
|
24962
24962
|
});
|
|
24963
|
-
let { captionLayout: p, mode: m, navLayout: h, numberOfMonths: g = 1, onDayBlur: _, onDayClick: v, onDayFocus: y, onDayKeyDown: b, onDayMouseEnter: x, onDayMouseLeave: S, onNextClick: C, onPrevClick: w, showWeekNumber: T, styles: E } = n, { formatCaption: D, formatDay: O, formatMonthDropdown: k, formatWeekNumber: A, formatWeekNumberHeader: j, formatWeekdayName: ee, formatYearDropdown:
|
|
24963
|
+
let { captionLayout: p, mode: m, navLayout: h, numberOfMonths: g = 1, onDayBlur: _, onDayClick: v, onDayFocus: y, onDayKeyDown: b, onDayMouseEnter: x, onDayMouseLeave: S, onNextClick: C, onPrevClick: w, showWeekNumber: T, styles: E } = n, { formatCaption: D, formatDay: O, formatMonthDropdown: k, formatWeekNumber: A, formatWeekNumberHeader: j, formatWeekdayName: ee, formatYearDropdown: te } = a, ne = QA(n, c), { days: re, months: M, navStart: ie, navEnd: N, previousMonth: P, nextMonth: ae, goToMonth: oe } = ne, se = eA(re, n, ie, N, c), { isSelected: ce, select: le, selected: ue } = fj(n, c) ?? {}, { blur: de, focused: fe, isFocusTarget: pe, moveFocus: me, setFocused: he } = ij(n, ne, se, ce ?? (() => !1), c), { labelDayButton: ge, labelGridcell: _e, labelGrid: ve, labelMonthDropdown: ye, labelNav: be, labelPrevious: xe, labelNext: Se, labelWeekday: Ce, labelWeekNumber: we, labelWeekNumberHeader: Te, labelYearDropdown: Ee } = s, De = d(() => jA(c, n.ISOWeek, n.broadcastCalendar, n.today), [
|
|
24964
24964
|
c,
|
|
24965
24965
|
n.ISOWeek,
|
|
24966
24966
|
n.broadcastCalendar,
|
|
@@ -25038,7 +25038,7 @@ function _j(e) {
|
|
|
25038
25038
|
}, Ue = f(null);
|
|
25039
25039
|
VA(Ue, !!n.animate, {
|
|
25040
25040
|
classNames: u,
|
|
25041
|
-
months:
|
|
25041
|
+
months: M,
|
|
25042
25042
|
focused: fe,
|
|
25043
25043
|
dateLib: c
|
|
25044
25044
|
});
|
|
@@ -25047,7 +25047,7 @@ function _j(e) {
|
|
|
25047
25047
|
selected: ue,
|
|
25048
25048
|
select: le,
|
|
25049
25049
|
isSelected: ce,
|
|
25050
|
-
months:
|
|
25050
|
+
months: M,
|
|
25051
25051
|
nextMonth: ae,
|
|
25052
25052
|
previousMonth: P,
|
|
25053
25053
|
goToMonth: oe,
|
|
@@ -25083,8 +25083,8 @@ function _j(e) {
|
|
|
25083
25083
|
onNextClick: Ae,
|
|
25084
25084
|
previousMonth: P,
|
|
25085
25085
|
nextMonth: ae
|
|
25086
|
-
}),
|
|
25087
|
-
let o = n.reverseMonths ?
|
|
25086
|
+
}), M.map((e, r) => {
|
|
25087
|
+
let o = n.reverseMonths ? M.length - 1 - r : r;
|
|
25088
25088
|
return t.createElement(i.Month, {
|
|
25089
25089
|
"data-animated-month": n.animate ? "true" : void 0,
|
|
25090
25090
|
className: u[Z.Month],
|
|
@@ -25134,7 +25134,7 @@ function _j(e) {
|
|
|
25134
25134
|
options: MA(ie, N, a, c, !!n.reverseYears),
|
|
25135
25135
|
style: He(Z.YearsDropdown),
|
|
25136
25136
|
value: c.getYear(e.date)
|
|
25137
|
-
}) : t.createElement("span", { key: "year" },
|
|
25137
|
+
}) : t.createElement("span", { key: "year" }, te(e.date, c));
|
|
25138
25138
|
return c.getMonthYearOrder() === "year-first" ? [s, r] : [r, s];
|
|
25139
25139
|
})(), t.createElement("span", {
|
|
25140
25140
|
role: "status",
|
|
@@ -26803,9 +26803,9 @@ function GN(e) {
|
|
|
26803
26803
|
return n;
|
|
26804
26804
|
}
|
|
26805
26805
|
var KN = a(function({ className: e, variant: t = "default", openInPanel: n = !1, panelTitle: r, panelButtonLabel: i = "Open in panel", panelDefaultTab: a = "code", renderMarkdown: s, value: l, defaultValue: u, onChange: d, ...m }, h) {
|
|
26806
|
-
let g = t === "panel" || n, [_, v] = p(!1), [S, C] = p(a), [T, E] = p(!1), D = f(null), O = f(null), [k, A] = p(() => String(u ?? "")), j = l !== void 0, ee = j ? String(l) : k,
|
|
26806
|
+
let g = t === "panel" || n, [_, v] = p(!1), [S, C] = p(a), [T, E] = p(!1), D = f(null), O = f(null), [k, A] = p(() => String(u ?? "")), j = l !== void 0, ee = j ? String(l) : k, te = (e) => {
|
|
26807
26807
|
j || A(e.target.value), d?.(e);
|
|
26808
|
-
},
|
|
26808
|
+
}, ne = (e) => {
|
|
26809
26809
|
j || A(e), O.current && (O.current.value = e), d && d({
|
|
26810
26810
|
target: {
|
|
26811
26811
|
value: e,
|
|
@@ -26816,18 +26816,18 @@ var KN = a(function({ className: e, variant: t = "default", openInPanel: n = !1,
|
|
|
26816
26816
|
name: m.name
|
|
26817
26817
|
}
|
|
26818
26818
|
});
|
|
26819
|
-
},
|
|
26819
|
+
}, re = () => {
|
|
26820
26820
|
typeof navigator < "u" && navigator.clipboard && (navigator.clipboard.writeText(ee), E(!0), setTimeout(() => E(!1), 1500));
|
|
26821
|
-
},
|
|
26821
|
+
}, M = o(() => {
|
|
26822
26822
|
v(!1), D.current?.focus();
|
|
26823
26823
|
}, []);
|
|
26824
26824
|
c(() => {
|
|
26825
26825
|
if (!_) return;
|
|
26826
26826
|
let e = (e) => {
|
|
26827
|
-
e.key === "Escape" && (e.preventDefault(),
|
|
26827
|
+
e.key === "Escape" && (e.preventDefault(), M());
|
|
26828
26828
|
};
|
|
26829
26829
|
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
26830
|
-
}, [_,
|
|
26830
|
+
}, [_, M]);
|
|
26831
26831
|
let ie = /* @__PURE__ */ b("textarea", {
|
|
26832
26832
|
className: F("nm-textarea", e),
|
|
26833
26833
|
ref: (e) => {
|
|
@@ -26836,13 +26836,13 @@ var KN = a(function({ className: e, variant: t = "default", openInPanel: n = !1,
|
|
|
26836
26836
|
"data-slot": "textarea",
|
|
26837
26837
|
value: l,
|
|
26838
26838
|
defaultValue: u,
|
|
26839
|
-
onChange:
|
|
26839
|
+
onChange: te,
|
|
26840
26840
|
...m
|
|
26841
26841
|
});
|
|
26842
26842
|
if (!g) return ie;
|
|
26843
26843
|
let N = _ && typeof document < "u" ? w(/* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("div", {
|
|
26844
26844
|
className: "nm-textarea-panel__backdrop",
|
|
26845
|
-
onClick:
|
|
26845
|
+
onClick: M,
|
|
26846
26846
|
"aria-hidden": "true"
|
|
26847
26847
|
}), /* @__PURE__ */ x(BN, {
|
|
26848
26848
|
label: r ?? "Markdown",
|
|
@@ -26874,13 +26874,13 @@ var KN = a(function({ className: e, variant: t = "default", openInPanel: n = !1,
|
|
|
26874
26874
|
icon: T ? "check" : "copy",
|
|
26875
26875
|
label: T ? "Copied" : "Copy",
|
|
26876
26876
|
tone: "quiet",
|
|
26877
|
-
onClick:
|
|
26877
|
+
onClick: re
|
|
26878
26878
|
}),
|
|
26879
26879
|
/* @__PURE__ */ b(PN, {
|
|
26880
26880
|
icon: "x",
|
|
26881
26881
|
label: "Close",
|
|
26882
26882
|
tone: "quiet",
|
|
26883
|
-
onClick:
|
|
26883
|
+
onClick: M
|
|
26884
26884
|
})
|
|
26885
26885
|
]
|
|
26886
26886
|
}), /* @__PURE__ */ b(VN, {
|
|
@@ -26891,7 +26891,7 @@ var KN = a(function({ className: e, variant: t = "default", openInPanel: n = !1,
|
|
|
26891
26891
|
placeholder: m.placeholder ?? "Enter markdown content...",
|
|
26892
26892
|
"aria-label": "Markdown source",
|
|
26893
26893
|
autoFocus: !0,
|
|
26894
|
-
onChange: (e) =>
|
|
26894
|
+
onChange: (e) => ne(e.target.value)
|
|
26895
26895
|
}) : /* @__PURE__ */ b(wN, {
|
|
26896
26896
|
className: "nm-textarea-panel__preview",
|
|
26897
26897
|
children: s ? s(ee) : GN(ee)
|
|
@@ -29002,24 +29002,24 @@ var pR = "[cmdk-group=\"\"]", mR = "[cmdk-group-items=\"\"]", hR = "[cmdk-group-
|
|
|
29002
29002
|
function ee() {
|
|
29003
29003
|
return Array.from(S.current?.querySelectorAll(_R) || []);
|
|
29004
29004
|
}
|
|
29005
|
-
function
|
|
29005
|
+
function te(e) {
|
|
29006
29006
|
let t = ee()[e];
|
|
29007
29007
|
t && w.setState("value", t.getAttribute(yR));
|
|
29008
29008
|
}
|
|
29009
|
-
function
|
|
29009
|
+
function ne(e) {
|
|
29010
29010
|
var t;
|
|
29011
29011
|
let n = j(), r = ee(), i = r.findIndex((e) => e === n), a = r[i + e];
|
|
29012
29012
|
(t = c.current) != null && t.loop && (a = i + e < 0 ? r[r.length - 1] : i + e === r.length ? r[0] : r[i + e]), a && w.setState("value", a.getAttribute(yR));
|
|
29013
29013
|
}
|
|
29014
|
-
function
|
|
29014
|
+
function re(e) {
|
|
29015
29015
|
let t = j()?.closest(pR), n;
|
|
29016
29016
|
for (; t && !n;) t = e > 0 ? IR(t, pR) : LR(t, pR), n = t?.querySelector(_R);
|
|
29017
|
-
n ? w.setState("value", n.getAttribute(yR)) :
|
|
29017
|
+
n ? w.setState("value", n.getAttribute(yR)) : ne(e);
|
|
29018
29018
|
}
|
|
29019
|
-
let
|
|
29020
|
-
e.preventDefault(), e.metaKey ?
|
|
29019
|
+
let M = () => te(ee().length - 1), ie = (e) => {
|
|
29020
|
+
e.preventDefault(), e.metaKey ? M() : e.altKey ? re(1) : ne(1);
|
|
29021
29021
|
}, N = (e) => {
|
|
29022
|
-
e.preventDefault(), e.metaKey ?
|
|
29022
|
+
e.preventDefault(), e.metaKey ? te(0) : e.altKey ? re(-1) : ne(-1);
|
|
29023
29023
|
};
|
|
29024
29024
|
return e.createElement(SF.div, {
|
|
29025
29025
|
ref: n,
|
|
@@ -29046,10 +29046,10 @@ var pR = "[cmdk-group=\"\"]", mR = "[cmdk-group-items=\"\"]", hR = "[cmdk-group-
|
|
|
29046
29046
|
N(e);
|
|
29047
29047
|
break;
|
|
29048
29048
|
case "Home":
|
|
29049
|
-
e.preventDefault(),
|
|
29049
|
+
e.preventDefault(), te(0);
|
|
29050
29050
|
break;
|
|
29051
29051
|
case "End":
|
|
29052
|
-
e.preventDefault(),
|
|
29052
|
+
e.preventDefault(), M();
|
|
29053
29053
|
break;
|
|
29054
29054
|
case "Enter": {
|
|
29055
29055
|
e.preventDefault();
|
|
@@ -31794,85 +31794,98 @@ function PH(e) {
|
|
|
31794
31794
|
return r(), t.addEventListener("change", r), () => t.removeEventListener("change", r);
|
|
31795
31795
|
}, [e]), t;
|
|
31796
31796
|
}
|
|
31797
|
-
function FH({ defaultOpen: e = !0, open: t, onOpenChange: n, shortcut: r = !0, peek: i = !0, height: a = "fill",
|
|
31798
|
-
let
|
|
31799
|
-
|
|
31800
|
-
}, [
|
|
31801
|
-
|
|
31797
|
+
function FH({ defaultOpen: e = !0, open: t, onOpenChange: n, shortcut: r = !0, peek: i = !0, height: a = "fill", width: s, defaultWidth: l, onWidthChange: u, className: m, style: h, children: g, ..._ }) {
|
|
31798
|
+
let v = PH(CH), [y, x] = p(!1), [S, C] = p(e), [w, T] = p(!1), [E, D] = p(l ?? null), [O, k] = p(!1), A = s === void 0 ? E : s, j = o((e) => {
|
|
31799
|
+
u?.(e), s === void 0 && D(e);
|
|
31800
|
+
}, [u, s]), [ee, te] = p("offcanvas"), ne = f(null), re = f(null), M = t ?? S, ie = o((e) => {
|
|
31801
|
+
n?.(e), t ?? C(e), T(!1);
|
|
31802
|
+
}, [n, t]), N = o(() => {
|
|
31803
|
+
v ? x((e) => !e) : ie(!M);
|
|
31802
31804
|
}, [
|
|
31803
|
-
|
|
31804
|
-
|
|
31805
|
-
|
|
31806
|
-
]),
|
|
31807
|
-
|
|
31808
|
-
},
|
|
31809
|
-
|
|
31805
|
+
v,
|
|
31806
|
+
M,
|
|
31807
|
+
ie
|
|
31808
|
+
]), P = () => {
|
|
31809
|
+
ne.current != null && (clearTimeout(ne.current), ne.current = null);
|
|
31810
|
+
}, ae = o((e) => {
|
|
31811
|
+
P(), e && (re.current = {
|
|
31810
31812
|
x: e.clientX,
|
|
31811
31813
|
y: e.clientY
|
|
31812
|
-
}), i && !
|
|
31814
|
+
}), i && !M && !v && ee !== "none" && T(!0);
|
|
31813
31815
|
}, [
|
|
31814
31816
|
i,
|
|
31815
|
-
|
|
31816
|
-
|
|
31817
|
-
|
|
31818
|
-
]),
|
|
31819
|
-
let e =
|
|
31817
|
+
M,
|
|
31818
|
+
v,
|
|
31819
|
+
ee
|
|
31820
|
+
]), oe = () => {
|
|
31821
|
+
let e = re.current;
|
|
31820
31822
|
return e != null && document.elementFromPoint(e.x, e.y)?.closest(AH) != null;
|
|
31821
|
-
},
|
|
31822
|
-
|
|
31823
|
-
|
|
31823
|
+
}, se = o(() => {
|
|
31824
|
+
P(), ne.current = setTimeout(() => {
|
|
31825
|
+
ne.current = null, oe() || T(!1);
|
|
31824
31826
|
}, 200);
|
|
31825
31827
|
}, []);
|
|
31826
|
-
c(() =>
|
|
31827
|
-
if (!
|
|
31828
|
+
c(() => P, []), c(() => {
|
|
31829
|
+
if (!w) return;
|
|
31828
31830
|
let e = (e) => {
|
|
31829
|
-
|
|
31831
|
+
re.current = {
|
|
31830
31832
|
x: e.clientX,
|
|
31831
31833
|
y: e.clientY
|
|
31832
|
-
},
|
|
31834
|
+
}, oe() ? P() : ne.current ?? se();
|
|
31833
31835
|
};
|
|
31834
31836
|
return document.addEventListener("pointermove", e), () => document.removeEventListener("pointermove", e);
|
|
31835
|
-
}, [
|
|
31837
|
+
}, [w, se]), c(() => {
|
|
31836
31838
|
if (!r) return;
|
|
31837
31839
|
let e = (e) => {
|
|
31838
|
-
e.key === "b" && (e.metaKey || e.ctrlKey) && (e.preventDefault(),
|
|
31840
|
+
e.key === "b" && (e.metaKey || e.ctrlKey) && (e.preventDefault(), N());
|
|
31839
31841
|
};
|
|
31840
31842
|
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
31841
|
-
}, [r,
|
|
31842
|
-
let
|
|
31843
|
-
state:
|
|
31844
|
-
open:
|
|
31845
|
-
setOpen:
|
|
31846
|
-
openMobile:
|
|
31847
|
-
setOpenMobile:
|
|
31848
|
-
isMobile:
|
|
31849
|
-
toggleSidebar:
|
|
31850
|
-
peek:
|
|
31851
|
-
peekIn:
|
|
31852
|
-
peekOut:
|
|
31853
|
-
collapsible:
|
|
31854
|
-
setCollapsible:
|
|
31843
|
+
}, [r, N]);
|
|
31844
|
+
let ce = M ? "expanded" : "collapsed", le = d(() => ({
|
|
31845
|
+
state: ce,
|
|
31846
|
+
open: M,
|
|
31847
|
+
setOpen: ie,
|
|
31848
|
+
openMobile: y,
|
|
31849
|
+
setOpenMobile: x,
|
|
31850
|
+
isMobile: v,
|
|
31851
|
+
toggleSidebar: N,
|
|
31852
|
+
peek: w && !M,
|
|
31853
|
+
peekIn: ae,
|
|
31854
|
+
peekOut: se,
|
|
31855
|
+
collapsible: ee,
|
|
31856
|
+
setCollapsible: te,
|
|
31857
|
+
width: A,
|
|
31858
|
+
setWidth: j,
|
|
31859
|
+
resizing: O,
|
|
31860
|
+
setResizing: k
|
|
31855
31861
|
}), [
|
|
31856
|
-
|
|
31857
|
-
D,
|
|
31858
|
-
O,
|
|
31859
|
-
g,
|
|
31860
|
-
h,
|
|
31861
|
-
k,
|
|
31862
|
-
x,
|
|
31863
|
-
j,
|
|
31862
|
+
ce,
|
|
31864
31863
|
M,
|
|
31865
|
-
|
|
31864
|
+
ie,
|
|
31865
|
+
y,
|
|
31866
|
+
v,
|
|
31867
|
+
N,
|
|
31868
|
+
w,
|
|
31869
|
+
ae,
|
|
31870
|
+
se,
|
|
31871
|
+
ee,
|
|
31872
|
+
A,
|
|
31873
|
+
j,
|
|
31874
|
+
O
|
|
31866
31875
|
]);
|
|
31867
31876
|
return /* @__PURE__ */ b(kH.Provider, {
|
|
31868
|
-
value:
|
|
31877
|
+
value: le,
|
|
31869
31878
|
children: /* @__PURE__ */ b("div", {
|
|
31870
31879
|
"data-slot": "sidebar-wrapper",
|
|
31871
31880
|
"data-height": a,
|
|
31872
|
-
|
|
31873
|
-
|
|
31874
|
-
|
|
31875
|
-
|
|
31881
|
+
"data-resizing": O ? "" : void 0,
|
|
31882
|
+
className: F("nm-sidebar-provider", m),
|
|
31883
|
+
style: A == null ? h : {
|
|
31884
|
+
...h,
|
|
31885
|
+
"--nm-sidebar-resized": `${A}px`
|
|
31886
|
+
},
|
|
31887
|
+
..._,
|
|
31888
|
+
children: g
|
|
31876
31889
|
})
|
|
31877
31890
|
});
|
|
31878
31891
|
}
|
|
@@ -32114,6 +32127,91 @@ function tU({ className: e, ...t }) {
|
|
|
32114
32127
|
});
|
|
32115
32128
|
}
|
|
32116
32129
|
function nU({ className: e, ...t }) {
|
|
32130
|
+
return /* @__PURE__ */ b("div", {
|
|
32131
|
+
"data-slot": "sidebar-brand",
|
|
32132
|
+
className: F("nm-sidebar__brand", e),
|
|
32133
|
+
...t
|
|
32134
|
+
});
|
|
32135
|
+
}
|
|
32136
|
+
function rU(e) {
|
|
32137
|
+
let t = parseFloat(e);
|
|
32138
|
+
return e.trim().endsWith("rem") ? t * parseFloat(getComputedStyle(document.documentElement).fontSize) : t;
|
|
32139
|
+
}
|
|
32140
|
+
function iU(e, t, n) {
|
|
32141
|
+
return Math.min(n, Math.max(t, e));
|
|
32142
|
+
}
|
|
32143
|
+
function aU({ className: e, label: t = "Resize sidebar", ...n }) {
|
|
32144
|
+
let { open: r, isMobile: i, setWidth: a, setResizing: s } = NH(), l = f(null), [u, d] = p({
|
|
32145
|
+
min: 0,
|
|
32146
|
+
max: 0,
|
|
32147
|
+
now: 0
|
|
32148
|
+
}), m = o(() => {
|
|
32149
|
+
let e = l.current, t = e?.closest(".nm-sidebar-provider"), n = e?.closest(".nm-sidebar");
|
|
32150
|
+
if (!e || !t || !n) return null;
|
|
32151
|
+
let r = getComputedStyle(t);
|
|
32152
|
+
return {
|
|
32153
|
+
host: t,
|
|
32154
|
+
sidebar: n,
|
|
32155
|
+
min: rU(r.getPropertyValue("--nm-width-sidebar-min")),
|
|
32156
|
+
max: rU(r.getPropertyValue("--nm-width-sidebar-max")),
|
|
32157
|
+
now: n.getBoundingClientRect().width,
|
|
32158
|
+
sign: n.getAttribute("data-side") === "right" == (r.direction === "rtl") ? 1 : -1
|
|
32159
|
+
};
|
|
32160
|
+
}, []);
|
|
32161
|
+
return c(() => {
|
|
32162
|
+
let e = m();
|
|
32163
|
+
if (!e) return;
|
|
32164
|
+
let t = () => {
|
|
32165
|
+
let e = m();
|
|
32166
|
+
e && d((t) => t.min === e.min && t.max === e.max && t.now === e.now ? t : {
|
|
32167
|
+
min: e.min,
|
|
32168
|
+
max: e.max,
|
|
32169
|
+
now: e.now
|
|
32170
|
+
});
|
|
32171
|
+
};
|
|
32172
|
+
t();
|
|
32173
|
+
let n = new ResizeObserver(t);
|
|
32174
|
+
return n.observe(e.sidebar), () => n.disconnect();
|
|
32175
|
+
}, [
|
|
32176
|
+
r,
|
|
32177
|
+
i,
|
|
32178
|
+
m
|
|
32179
|
+
]), c(() => () => s(!1), [s]), !r || i ? null : /* @__PURE__ */ b("div", {
|
|
32180
|
+
ref: l,
|
|
32181
|
+
role: "separator",
|
|
32182
|
+
"aria-orientation": "vertical",
|
|
32183
|
+
"aria-label": t,
|
|
32184
|
+
"aria-valuemin": Math.round(u.min),
|
|
32185
|
+
"aria-valuemax": Math.round(u.max),
|
|
32186
|
+
"aria-valuenow": Math.round(u.now),
|
|
32187
|
+
tabIndex: 0,
|
|
32188
|
+
"data-slot": "sidebar-resizer",
|
|
32189
|
+
className: F("nm-sidebar__resizer", e),
|
|
32190
|
+
onPointerDown: (e) => {
|
|
32191
|
+
if (e.button !== 0) return;
|
|
32192
|
+
let t = m();
|
|
32193
|
+
if (!t) return;
|
|
32194
|
+
e.preventDefault();
|
|
32195
|
+
let n = e.currentTarget, r = e.clientX, i = t.now;
|
|
32196
|
+
n.setPointerCapture(e.pointerId), n.focus(), s(!0);
|
|
32197
|
+
let o = (e) => {
|
|
32198
|
+
a(iU(i + t.sign * (e.clientX - r), t.min, t.max));
|
|
32199
|
+
}, c = () => {
|
|
32200
|
+
s(!1), n.removeEventListener("pointermove", o), n.removeEventListener("pointerup", c), n.removeEventListener("pointercancel", c);
|
|
32201
|
+
};
|
|
32202
|
+
n.addEventListener("pointermove", o), n.addEventListener("pointerup", c), n.addEventListener("pointercancel", c);
|
|
32203
|
+
},
|
|
32204
|
+
onKeyDown: (e) => {
|
|
32205
|
+
let t = m();
|
|
32206
|
+
if (!t) return;
|
|
32207
|
+
let n = (t.max - t.min) / 10, r = e.key === "ArrowRight" ? t.sign : e.key === "ArrowLeft" ? -t.sign : 0;
|
|
32208
|
+
r === 0 ? e.key === "Home" ? (e.preventDefault(), a(t.min)) : e.key === "End" ? (e.preventDefault(), a(t.max)) : e.key === "Enter" && (e.preventDefault(), a(null)) : (e.preventDefault(), a(iU(t.now + r * n, t.min, t.max)));
|
|
32209
|
+
},
|
|
32210
|
+
onDoubleClick: () => a(null),
|
|
32211
|
+
...n
|
|
32212
|
+
});
|
|
32213
|
+
}
|
|
32214
|
+
function oU({ className: e, ...t }) {
|
|
32117
32215
|
return /* @__PURE__ */ b(CC, {
|
|
32118
32216
|
"data-slot": "sidebar-menu-badge",
|
|
32119
32217
|
size: "sm",
|
|
@@ -32121,7 +32219,7 @@ function nU({ className: e, ...t }) {
|
|
|
32121
32219
|
...t
|
|
32122
32220
|
});
|
|
32123
32221
|
}
|
|
32124
|
-
function
|
|
32222
|
+
function sU({ title: e, description: t, className: n, ...r }) {
|
|
32125
32223
|
return /* @__PURE__ */ x("span", {
|
|
32126
32224
|
"data-slot": "sidebar-menu-text",
|
|
32127
32225
|
className: F("nm-sidebar__text", n),
|
|
@@ -32129,7 +32227,7 @@ function rU({ title: e, description: t, className: n, ...r }) {
|
|
|
32129
32227
|
children: [/* @__PURE__ */ b("span", { children: e }), t == null ? null : /* @__PURE__ */ b("span", { children: t })]
|
|
32130
32228
|
});
|
|
32131
32229
|
}
|
|
32132
|
-
function
|
|
32230
|
+
function cU({ className: e, showIcon: t = !1, ...n }) {
|
|
32133
32231
|
let [r] = p(() => `${Math.floor(Math.random() * 40) + 50}%`);
|
|
32134
32232
|
return /* @__PURE__ */ x("div", {
|
|
32135
32233
|
"data-slot": "sidebar-menu-skeleton",
|
|
@@ -32141,21 +32239,21 @@ function iU({ className: e, showIcon: t = !1, ...n }) {
|
|
|
32141
32239
|
})]
|
|
32142
32240
|
});
|
|
32143
32241
|
}
|
|
32144
|
-
function
|
|
32242
|
+
function lU({ className: e, ...t }) {
|
|
32145
32243
|
return /* @__PURE__ */ b("ul", {
|
|
32146
32244
|
"data-slot": "sidebar-menu-sub",
|
|
32147
32245
|
className: F("nm-sidebar__menu-sub", e),
|
|
32148
32246
|
...t
|
|
32149
32247
|
});
|
|
32150
32248
|
}
|
|
32151
|
-
function
|
|
32249
|
+
function uU({ className: e, ...t }) {
|
|
32152
32250
|
return /* @__PURE__ */ b("li", {
|
|
32153
32251
|
"data-slot": "sidebar-menu-sub-item",
|
|
32154
32252
|
className: F("nm-sidebar__menu-sub-item", e),
|
|
32155
32253
|
...t
|
|
32156
32254
|
});
|
|
32157
32255
|
}
|
|
32158
|
-
function
|
|
32256
|
+
function dU({ render: e, size: t = "default", isActive: n = !1, disabled: r = !1, className: i, ref: a, ...o }) {
|
|
32159
32257
|
return Si({
|
|
32160
32258
|
render: e,
|
|
32161
32259
|
ref: a,
|
|
@@ -32173,7 +32271,7 @@ function sU({ render: e, size: t = "default", isActive: n = !1, disabled: r = !1
|
|
|
32173
32271
|
}
|
|
32174
32272
|
});
|
|
32175
32273
|
}
|
|
32176
|
-
function
|
|
32274
|
+
function fU({ className: e, menu: t = !1, flyout: n = !1, ...r }) {
|
|
32177
32275
|
return /* @__PURE__ */ b(G, {
|
|
32178
32276
|
id: "chevron",
|
|
32179
32277
|
"data-menu": t ? "" : void 0,
|
|
@@ -32182,7 +32280,7 @@ function cU({ className: e, menu: t = !1, flyout: n = !1, ...r }) {
|
|
|
32182
32280
|
...r
|
|
32183
32281
|
});
|
|
32184
32282
|
}
|
|
32185
|
-
function
|
|
32283
|
+
function pU({ open: e, onOpenChange: t, ...n }) {
|
|
32186
32284
|
let r = jH(), [i, a] = p(!1), s = (e ?? i) && r, l = o((e, n) => {
|
|
32187
32285
|
a(e), t?.(e, n);
|
|
32188
32286
|
}, [t]);
|
|
@@ -32195,7 +32293,7 @@ function lU({ open: e, onOpenChange: t, ...n }) {
|
|
|
32195
32293
|
});
|
|
32196
32294
|
}
|
|
32197
32295
|
// src/ui/components/nm-slider/nm-slider.tsx
|
|
32198
|
-
function
|
|
32296
|
+
function mU({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100, label: a, output: o, ...s }) {
|
|
32199
32297
|
let c = Array.isArray(n) ? n : Array.isArray(t) ? t : [r, i], l = /* @__PURE__ */ b(Up.Root, {
|
|
32200
32298
|
"data-slot": "slider",
|
|
32201
32299
|
className: F("nm-slider", e),
|
|
@@ -32236,7 +32334,7 @@ function uU({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100,
|
|
|
32236
32334
|
}) : l;
|
|
32237
32335
|
}
|
|
32238
32336
|
// src/ui/components/nm-spinner/nm-spinner.tsx
|
|
32239
|
-
function
|
|
32337
|
+
function hU({ className: e, ...t }) {
|
|
32240
32338
|
return /* @__PURE__ */ b("span", {
|
|
32241
32339
|
role: "status",
|
|
32242
32340
|
"aria-live": "polite",
|
|
@@ -32246,14 +32344,14 @@ function dU({ className: e, ...t }) {
|
|
|
32246
32344
|
});
|
|
32247
32345
|
}
|
|
32248
32346
|
// src/ui/components/nm-status-bar/nm-status-bar.tsx
|
|
32249
|
-
function
|
|
32347
|
+
function gU({ className: e, ...t }) {
|
|
32250
32348
|
return /* @__PURE__ */ b("footer", {
|
|
32251
32349
|
"data-slot": "status-bar",
|
|
32252
32350
|
className: F("nm-status-bar", e),
|
|
32253
32351
|
...t
|
|
32254
32352
|
});
|
|
32255
32353
|
}
|
|
32256
|
-
function
|
|
32354
|
+
function _U({ className: e, onClick: t, children: n, ...r }) {
|
|
32257
32355
|
let i = F("nm-status-bar__item", e);
|
|
32258
32356
|
return t ? /* @__PURE__ */ b("button", {
|
|
32259
32357
|
type: "button",
|
|
@@ -32268,7 +32366,7 @@ function pU({ className: e, onClick: t, children: n, ...r }) {
|
|
|
32268
32366
|
children: n
|
|
32269
32367
|
});
|
|
32270
32368
|
}
|
|
32271
|
-
function
|
|
32369
|
+
function vU({ className: e, ...t }) {
|
|
32272
32370
|
return /* @__PURE__ */ b("span", {
|
|
32273
32371
|
"aria-hidden": "true",
|
|
32274
32372
|
"data-slot": "status-bar-spacer",
|
|
@@ -32277,7 +32375,7 @@ function mU({ className: e, ...t }) {
|
|
|
32277
32375
|
});
|
|
32278
32376
|
}
|
|
32279
32377
|
// src/ui/components/nm-switch/nm-switch.tsx
|
|
32280
|
-
function
|
|
32378
|
+
function yU({ className: e, ...t }) {
|
|
32281
32379
|
return /* @__PURE__ */ b(ae.Root, {
|
|
32282
32380
|
"data-slot": "switch",
|
|
32283
32381
|
className: F("nm-switch", e),
|
|
@@ -32289,13 +32387,13 @@ function hU({ className: e, ...t }) {
|
|
|
32289
32387
|
});
|
|
32290
32388
|
}
|
|
32291
32389
|
// src/ui/components/nm-table/nm-table.tsx
|
|
32292
|
-
var
|
|
32390
|
+
var bU = [
|
|
32293
32391
|
"default",
|
|
32294
32392
|
"striped",
|
|
32295
32393
|
"lined",
|
|
32296
32394
|
"plain"
|
|
32297
|
-
],
|
|
32298
|
-
function
|
|
32395
|
+
], xU = ["default", "sm"];
|
|
32396
|
+
function SU({ className: e, variant: t = "default", size: n = "default", stickyHeader: r, maxHeight: i, ...a }) {
|
|
32299
32397
|
return /* @__PURE__ */ b("div", {
|
|
32300
32398
|
"data-slot": "table-container",
|
|
32301
32399
|
"data-sticky": r ? "" : void 0,
|
|
@@ -32310,28 +32408,28 @@ function vU({ className: e, variant: t = "default", size: n = "default", stickyH
|
|
|
32310
32408
|
})
|
|
32311
32409
|
});
|
|
32312
32410
|
}
|
|
32313
|
-
function
|
|
32411
|
+
function CU({ className: e, ...t }) {
|
|
32314
32412
|
return /* @__PURE__ */ b("thead", {
|
|
32315
32413
|
"data-slot": "table-header",
|
|
32316
32414
|
className: F("nm-table__header", e),
|
|
32317
32415
|
...t
|
|
32318
32416
|
});
|
|
32319
32417
|
}
|
|
32320
|
-
function
|
|
32418
|
+
function wU({ className: e, ...t }) {
|
|
32321
32419
|
return /* @__PURE__ */ b("tbody", {
|
|
32322
32420
|
"data-slot": "table-body",
|
|
32323
32421
|
className: F("nm-table__body", e),
|
|
32324
32422
|
...t
|
|
32325
32423
|
});
|
|
32326
32424
|
}
|
|
32327
|
-
function
|
|
32425
|
+
function TU({ className: e, ...t }) {
|
|
32328
32426
|
return /* @__PURE__ */ b("tfoot", {
|
|
32329
32427
|
"data-slot": "table-footer",
|
|
32330
32428
|
className: F("nm-table__footer", e),
|
|
32331
32429
|
...t
|
|
32332
32430
|
});
|
|
32333
32431
|
}
|
|
32334
|
-
function
|
|
32432
|
+
function EU({ className: e, selected: t, disabled: n, ...r }) {
|
|
32335
32433
|
return /* @__PURE__ */ b("tr", {
|
|
32336
32434
|
"data-slot": "table-row",
|
|
32337
32435
|
"data-selected": t ? "" : void 0,
|
|
@@ -32343,7 +32441,7 @@ function SU({ className: e, selected: t, disabled: n, ...r }) {
|
|
|
32343
32441
|
...r
|
|
32344
32442
|
});
|
|
32345
32443
|
}
|
|
32346
|
-
function
|
|
32444
|
+
function DU({ className: e, textAlign: t = "start", sort: n, onSort: r, children: i, ...a }) {
|
|
32347
32445
|
return /* @__PURE__ */ b("th", {
|
|
32348
32446
|
"data-slot": "table-head",
|
|
32349
32447
|
"data-align": t,
|
|
@@ -32363,7 +32461,7 @@ function CU({ className: e, textAlign: t = "start", sort: n, onSort: r, children
|
|
|
32363
32461
|
}) : i
|
|
32364
32462
|
});
|
|
32365
32463
|
}
|
|
32366
|
-
function
|
|
32464
|
+
function OU({ className: e, textAlign: t = "start", wrap: n, ...r }) {
|
|
32367
32465
|
return /* @__PURE__ */ b("td", {
|
|
32368
32466
|
"data-slot": "table-cell",
|
|
32369
32467
|
"data-align": t,
|
|
@@ -32372,7 +32470,7 @@ function wU({ className: e, textAlign: t = "start", wrap: n, ...r }) {
|
|
|
32372
32470
|
...r
|
|
32373
32471
|
});
|
|
32374
32472
|
}
|
|
32375
|
-
function
|
|
32473
|
+
function kU({ className: e, ...t }) {
|
|
32376
32474
|
return /* @__PURE__ */ b("caption", {
|
|
32377
32475
|
"data-slot": "table-caption",
|
|
32378
32476
|
className: F("nm-table__caption", e),
|
|
@@ -32380,17 +32478,17 @@ function TU({ className: e, ...t }) {
|
|
|
32380
32478
|
});
|
|
32381
32479
|
}
|
|
32382
32480
|
// src/ui/config/nm-tabs.ts
|
|
32383
|
-
var
|
|
32481
|
+
var AU = {
|
|
32384
32482
|
root: "nm-tabs",
|
|
32385
32483
|
item: "nm-tabs__item"
|
|
32386
|
-
},
|
|
32387
|
-
function
|
|
32388
|
-
return
|
|
32389
|
-
className:
|
|
32484
|
+
}, jU = W("interface-nm-tabs");
|
|
32485
|
+
function MU(e) {
|
|
32486
|
+
return jU.debug("render", e.label, { value: e.value }), /* @__PURE__ */ b("div", {
|
|
32487
|
+
className: AU.root,
|
|
32390
32488
|
role: "tablist",
|
|
32391
32489
|
"aria-label": e.label,
|
|
32392
32490
|
children: e.items.map((t) => /* @__PURE__ */ b("button", {
|
|
32393
|
-
className:
|
|
32491
|
+
className: AU.item,
|
|
32394
32492
|
type: "button",
|
|
32395
32493
|
role: "tab",
|
|
32396
32494
|
"aria-selected": t.id === e.value,
|
|
@@ -32399,27 +32497,27 @@ function OU(e) {
|
|
|
32399
32497
|
}, t.id))
|
|
32400
32498
|
});
|
|
32401
32499
|
}
|
|
32402
|
-
function
|
|
32500
|
+
function NU(e) {
|
|
32403
32501
|
return /* @__PURE__ */ b(ch.Root, {
|
|
32404
32502
|
"data-slot": "tabs",
|
|
32405
32503
|
...e
|
|
32406
32504
|
});
|
|
32407
32505
|
}
|
|
32408
|
-
function
|
|
32506
|
+
function PU({ className: e, ...t }) {
|
|
32409
32507
|
return /* @__PURE__ */ b(ch.List, {
|
|
32410
32508
|
"data-slot": "tabs-list",
|
|
32411
|
-
className: F(
|
|
32509
|
+
className: F(AU.root, e),
|
|
32412
32510
|
...t
|
|
32413
32511
|
});
|
|
32414
32512
|
}
|
|
32415
|
-
function
|
|
32513
|
+
function FU({ className: e, ...t }) {
|
|
32416
32514
|
return /* @__PURE__ */ b(ch.Tab, {
|
|
32417
32515
|
"data-slot": "tabs-trigger",
|
|
32418
|
-
className: F(
|
|
32516
|
+
className: F(AU.item, e),
|
|
32419
32517
|
...t
|
|
32420
32518
|
});
|
|
32421
32519
|
}
|
|
32422
|
-
function
|
|
32520
|
+
function IU({ className: e, ...t }) {
|
|
32423
32521
|
return /* @__PURE__ */ b(ch.Panel, {
|
|
32424
32522
|
"data-slot": "tabs-content",
|
|
32425
32523
|
className: F("nm-tabs__panel", e),
|
|
@@ -32427,12 +32525,12 @@ function MU({ className: e, ...t }) {
|
|
|
32427
32525
|
});
|
|
32428
32526
|
}
|
|
32429
32527
|
// src/ui/components/nm-toggle/nm-toggle.tsx
|
|
32430
|
-
var
|
|
32528
|
+
var LU = ["default", "outline"], RU = [
|
|
32431
32529
|
"sm",
|
|
32432
32530
|
"default",
|
|
32433
32531
|
"lg"
|
|
32434
32532
|
];
|
|
32435
|
-
function
|
|
32533
|
+
function zU({ className: e, variant: t = "default", size: n = "default", ...r }) {
|
|
32436
32534
|
return /* @__PURE__ */ b(vh, {
|
|
32437
32535
|
"data-slot": "toggle",
|
|
32438
32536
|
"data-variant": t,
|
|
@@ -32442,21 +32540,21 @@ function FU({ className: e, variant: t = "default", size: n = "default", ...r })
|
|
|
32442
32540
|
});
|
|
32443
32541
|
}
|
|
32444
32542
|
// src/ui/config/nm-top-bar.ts
|
|
32445
|
-
var
|
|
32543
|
+
var BU = {
|
|
32446
32544
|
root: "nm-header",
|
|
32447
32545
|
end: "nm-header__end"
|
|
32448
|
-
},
|
|
32449
|
-
function
|
|
32450
|
-
return
|
|
32546
|
+
}, VU = W("interface-nm-top-bar");
|
|
32547
|
+
function HU(e) {
|
|
32548
|
+
return VU.debug("render", "top-bar", {
|
|
32451
32549
|
end: e.end != null,
|
|
32452
32550
|
menu: e.menu != null
|
|
32453
32551
|
}), /* @__PURE__ */ x("header", {
|
|
32454
|
-
className:
|
|
32552
|
+
className: BU.root,
|
|
32455
32553
|
children: [
|
|
32456
32554
|
e.menu,
|
|
32457
32555
|
e.children,
|
|
32458
32556
|
e.end == null ? null : /* @__PURE__ */ b("div", {
|
|
32459
|
-
className:
|
|
32557
|
+
className: BU.end,
|
|
32460
32558
|
"data-hidden-narrow": e.endHidden === !0 ? "true" : "false",
|
|
32461
32559
|
children: e.end
|
|
32462
32560
|
})
|
|
@@ -32464,12 +32562,12 @@ function RU(e) {
|
|
|
32464
32562
|
});
|
|
32465
32563
|
}
|
|
32466
32564
|
// src/ui/config/nordman-login.ts
|
|
32467
|
-
var
|
|
32565
|
+
var UU = {
|
|
32468
32566
|
signIn: "signIn",
|
|
32469
32567
|
register: "register",
|
|
32470
32568
|
forgot: "forgot",
|
|
32471
32569
|
reset: "reset"
|
|
32472
|
-
},
|
|
32570
|
+
}, WU = "nm-login-form", GU = {
|
|
32473
32571
|
username: "username",
|
|
32474
32572
|
password: "password",
|
|
32475
32573
|
displayName: "displayName",
|
|
@@ -32477,11 +32575,11 @@ var zU = {
|
|
|
32477
32575
|
registerPassword: "register-password",
|
|
32478
32576
|
confirmPassword: "confirm-password",
|
|
32479
32577
|
resetPassword: "reset-password"
|
|
32480
|
-
},
|
|
32578
|
+
}, KU = {
|
|
32481
32579
|
viewBox: "0 0 24 24",
|
|
32482
32580
|
show: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",
|
|
32483
32581
|
hide: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"
|
|
32484
|
-
},
|
|
32582
|
+
}, qU = "nordman", JU = {
|
|
32485
32583
|
skip: "Hoppa till innehållet",
|
|
32486
32584
|
identifier: "Email",
|
|
32487
32585
|
identifierPlaceholder: "name@mail.com",
|
|
@@ -32514,7 +32612,7 @@ var zU = {
|
|
|
32514
32612
|
registerEmailInUse: "Det finns redan ett konto med den här e-postadressen.",
|
|
32515
32613
|
registerDone: "Kolla mejlet för att bekräfta kontot.",
|
|
32516
32614
|
registerDoneReady: "Kontot är skapat. Logga in."
|
|
32517
|
-
},
|
|
32615
|
+
}, YU = {
|
|
32518
32616
|
skip: "Skip to content",
|
|
32519
32617
|
identifier: "Email",
|
|
32520
32618
|
identifierPlaceholder: "name@mail.com",
|
|
@@ -32548,13 +32646,13 @@ var zU = {
|
|
|
32548
32646
|
registerDone: "Check your email to confirm the account.",
|
|
32549
32647
|
registerDoneReady: "The account is created. Log in."
|
|
32550
32648
|
};
|
|
32551
|
-
function
|
|
32552
|
-
return hV(e ?? fV()) ?
|
|
32649
|
+
function XU(e) {
|
|
32650
|
+
return hV(e ?? fV()) ? YU : JU;
|
|
32553
32651
|
}
|
|
32554
32652
|
var $ = new Proxy({}, { get(e, t) {
|
|
32555
|
-
return
|
|
32556
|
-
} }),
|
|
32557
|
-
function
|
|
32653
|
+
return XU()[t];
|
|
32654
|
+
} }), ZU = W("interface-nordman-login-reveal");
|
|
32655
|
+
function QU(e) {
|
|
32558
32656
|
let t = e.revealed ? $.hidePassword : $.showPassword;
|
|
32559
32657
|
return /* @__PURE__ */ b("button", {
|
|
32560
32658
|
className: "nm-login__reveal",
|
|
@@ -32563,22 +32661,22 @@ function JU(e) {
|
|
|
32563
32661
|
"aria-pressed": e.revealed,
|
|
32564
32662
|
"data-testid": "cta-reveal-password",
|
|
32565
32663
|
onClick: () => {
|
|
32566
|
-
|
|
32664
|
+
ZU.debug("toggle", e.revealed ? "hide" : "show"), e.onToggle();
|
|
32567
32665
|
},
|
|
32568
32666
|
children: /* @__PURE__ */ b("svg", {
|
|
32569
32667
|
className: "nm-login__reveal-icon",
|
|
32570
|
-
viewBox:
|
|
32668
|
+
viewBox: KU.viewBox,
|
|
32571
32669
|
"aria-hidden": "true",
|
|
32572
32670
|
focusable: "false",
|
|
32573
32671
|
children: /* @__PURE__ */ b("path", {
|
|
32574
|
-
d: e.revealed ?
|
|
32672
|
+
d: e.revealed ? KU.hide : KU.show,
|
|
32575
32673
|
fill: "currentColor"
|
|
32576
32674
|
})
|
|
32577
32675
|
})
|
|
32578
32676
|
});
|
|
32579
32677
|
}
|
|
32580
32678
|
// src/ui/components/nordman-login-field/nordman-login-field.tsx
|
|
32581
|
-
function
|
|
32679
|
+
function $U(e) {
|
|
32582
32680
|
let t = e.type === "password", [n, r] = p(!1), i = t && n ? "text" : e.type, a = /* @__PURE__ */ b("input", {
|
|
32583
32681
|
className: t ? "nm-login__control nm-login__control--secret" : "nm-login__control",
|
|
32584
32682
|
id: e.id,
|
|
@@ -32600,7 +32698,7 @@ function YU(e) {
|
|
|
32600
32698
|
}), e.accessory]
|
|
32601
32699
|
}), t ? /* @__PURE__ */ x("div", {
|
|
32602
32700
|
className: "nm-login__control-wrap",
|
|
32603
|
-
children: [a, /* @__PURE__ */ b(
|
|
32701
|
+
children: [a, /* @__PURE__ */ b(QU, {
|
|
32604
32702
|
revealed: n,
|
|
32605
32703
|
onToggle: () => r((e) => !e)
|
|
32606
32704
|
})]
|
|
@@ -32608,43 +32706,43 @@ function YU(e) {
|
|
|
32608
32706
|
});
|
|
32609
32707
|
}
|
|
32610
32708
|
// src/ui/components/nordman-login-register/nordman-login-register.tsx
|
|
32611
|
-
var
|
|
32612
|
-
function
|
|
32709
|
+
var eW = W("interface-nordman-login-register");
|
|
32710
|
+
function tW(e) {
|
|
32613
32711
|
function t(t) {
|
|
32614
32712
|
t.preventDefault();
|
|
32615
32713
|
let n = new FormData(t.currentTarget);
|
|
32616
|
-
|
|
32617
|
-
username: String(n.get(
|
|
32618
|
-
displayName: String(n.get(
|
|
32619
|
-
password: String(n.get(
|
|
32714
|
+
eW.debug("submit", "start"), e.onRegister({
|
|
32715
|
+
username: String(n.get(GU.registerUsername) ?? ""),
|
|
32716
|
+
displayName: String(n.get(GU.displayName) ?? ""),
|
|
32717
|
+
password: String(n.get(GU.registerPassword) ?? "")
|
|
32620
32718
|
});
|
|
32621
32719
|
}
|
|
32622
32720
|
return /* @__PURE__ */ x("form", {
|
|
32623
32721
|
className: "nm-login__form",
|
|
32624
|
-
id:
|
|
32722
|
+
id: WU,
|
|
32625
32723
|
onSubmit: t,
|
|
32626
32724
|
children: [
|
|
32627
|
-
/* @__PURE__ */ b(
|
|
32628
|
-
id:
|
|
32629
|
-
name:
|
|
32725
|
+
/* @__PURE__ */ b($U, {
|
|
32726
|
+
id: GU.registerUsername,
|
|
32727
|
+
name: GU.registerUsername,
|
|
32630
32728
|
label: $.identifier,
|
|
32631
32729
|
type: "email",
|
|
32632
32730
|
autoComplete: "email",
|
|
32633
32731
|
placeholder: $.identifierPlaceholder,
|
|
32634
32732
|
required: !0
|
|
32635
32733
|
}),
|
|
32636
|
-
/* @__PURE__ */ b(
|
|
32637
|
-
id:
|
|
32638
|
-
name:
|
|
32734
|
+
/* @__PURE__ */ b($U, {
|
|
32735
|
+
id: GU.displayName,
|
|
32736
|
+
name: GU.displayName,
|
|
32639
32737
|
label: $.displayName,
|
|
32640
32738
|
type: "text",
|
|
32641
32739
|
autoComplete: "name",
|
|
32642
32740
|
minLength: 3,
|
|
32643
32741
|
required: !0
|
|
32644
32742
|
}),
|
|
32645
|
-
/* @__PURE__ */ b(
|
|
32646
|
-
id:
|
|
32647
|
-
name:
|
|
32743
|
+
/* @__PURE__ */ b($U, {
|
|
32744
|
+
id: GU.registerPassword,
|
|
32745
|
+
name: GU.registerPassword,
|
|
32648
32746
|
label: $.password,
|
|
32649
32747
|
type: "password",
|
|
32650
32748
|
autoComplete: "new-password",
|
|
@@ -32667,32 +32765,32 @@ function ZU(e) {
|
|
|
32667
32765
|
});
|
|
32668
32766
|
}
|
|
32669
32767
|
// src/ui/components/nordman-login-sign-in/nordman-login-sign-in.tsx
|
|
32670
|
-
var
|
|
32671
|
-
function
|
|
32768
|
+
var nW = W("interface-nordman-login-sign-in");
|
|
32769
|
+
function rW(e) {
|
|
32672
32770
|
function t(t) {
|
|
32673
32771
|
t.preventDefault();
|
|
32674
|
-
let n = new FormData(t.currentTarget), r = String(n.get(
|
|
32675
|
-
|
|
32772
|
+
let n = new FormData(t.currentTarget), r = String(n.get(GU.username) ?? ""), i = String(n.get(GU.password) ?? "");
|
|
32773
|
+
nW.debug("submit", "start"), e.onSignIn({
|
|
32676
32774
|
username: r,
|
|
32677
32775
|
password: i
|
|
32678
32776
|
});
|
|
32679
32777
|
}
|
|
32680
32778
|
return /* @__PURE__ */ x("form", {
|
|
32681
32779
|
className: "nm-login__form",
|
|
32682
|
-
id:
|
|
32780
|
+
id: WU,
|
|
32683
32781
|
onSubmit: t,
|
|
32684
32782
|
children: [
|
|
32685
|
-
/* @__PURE__ */ b(
|
|
32686
|
-
id:
|
|
32687
|
-
name:
|
|
32783
|
+
/* @__PURE__ */ b($U, {
|
|
32784
|
+
id: GU.username,
|
|
32785
|
+
name: GU.username,
|
|
32688
32786
|
label: $.identifier,
|
|
32689
32787
|
type: "text",
|
|
32690
32788
|
autoComplete: "username",
|
|
32691
32789
|
placeholder: $.identifierPlaceholder
|
|
32692
32790
|
}),
|
|
32693
|
-
/* @__PURE__ */ b(
|
|
32694
|
-
id:
|
|
32695
|
-
name:
|
|
32791
|
+
/* @__PURE__ */ b($U, {
|
|
32792
|
+
id: GU.password,
|
|
32793
|
+
name: GU.password,
|
|
32696
32794
|
label: $.password,
|
|
32697
32795
|
type: "password",
|
|
32698
32796
|
autoComplete: "current-password",
|
|
@@ -32722,12 +32820,12 @@ function $U(e) {
|
|
|
32722
32820
|
});
|
|
32723
32821
|
}
|
|
32724
32822
|
// src/ui/components/nordman-login-forgot/nordman-login-forgot.tsx
|
|
32725
|
-
var
|
|
32726
|
-
function
|
|
32823
|
+
var iW = W("interface-nordman-login-forgot");
|
|
32824
|
+
function aW(e) {
|
|
32727
32825
|
function t(t) {
|
|
32728
32826
|
t.preventDefault();
|
|
32729
|
-
let n = new FormData(t.currentTarget), r = String(n.get(
|
|
32730
|
-
|
|
32827
|
+
let n = new FormData(t.currentTarget), r = String(n.get(GU.username) ?? "");
|
|
32828
|
+
iW.debug("submit", "start"), e.onRequestReset({ identifier: r });
|
|
32731
32829
|
}
|
|
32732
32830
|
return e.sent ? /* @__PURE__ */ b("p", {
|
|
32733
32831
|
className: "nm-login__notice",
|
|
@@ -32735,11 +32833,11 @@ function tW(e) {
|
|
|
32735
32833
|
children: $.forgotSent
|
|
32736
32834
|
}) : /* @__PURE__ */ x("form", {
|
|
32737
32835
|
className: "nm-login__form",
|
|
32738
|
-
id:
|
|
32836
|
+
id: WU,
|
|
32739
32837
|
onSubmit: t,
|
|
32740
|
-
children: [/* @__PURE__ */ b(
|
|
32741
|
-
id:
|
|
32742
|
-
name:
|
|
32838
|
+
children: [/* @__PURE__ */ b($U, {
|
|
32839
|
+
id: GU.username,
|
|
32840
|
+
name: GU.username,
|
|
32743
32841
|
label: $.identifier,
|
|
32744
32842
|
type: "text",
|
|
32745
32843
|
autoComplete: "username",
|
|
@@ -32759,7 +32857,7 @@ function tW(e) {
|
|
|
32759
32857
|
});
|
|
32760
32858
|
}
|
|
32761
32859
|
// src/ui/components/nordman-login-google/nordman-login-google.tsx
|
|
32762
|
-
function
|
|
32860
|
+
function oW(e) {
|
|
32763
32861
|
return mV(), /* @__PURE__ */ b("div", {
|
|
32764
32862
|
className: "nm-login__google-wrap",
|
|
32765
32863
|
children: /* @__PURE__ */ b(jC, {
|
|
@@ -32775,17 +32873,17 @@ function nW(e) {
|
|
|
32775
32873
|
});
|
|
32776
32874
|
}
|
|
32777
32875
|
// src/ui/components/nordman-login-reset/nordman-login-reset.tsx
|
|
32778
|
-
var
|
|
32779
|
-
function
|
|
32876
|
+
var sW = W("interface-nordman-login-reset");
|
|
32877
|
+
function cW(e) {
|
|
32780
32878
|
let [t, n] = p(!1);
|
|
32781
32879
|
function r(t) {
|
|
32782
32880
|
t.preventDefault();
|
|
32783
|
-
let r = new FormData(t.currentTarget), i = String(r.get(
|
|
32784
|
-
i === String(r.get(
|
|
32881
|
+
let r = new FormData(t.currentTarget), i = String(r.get(GU.resetPassword) ?? "");
|
|
32882
|
+
i === String(r.get(GU.confirmPassword) ?? "") ? (n(!1), sW.debug("submit", "start"), e.onResetPassword({ password: i })) : (sW.warn("submit", "mismatch"), n(!0));
|
|
32785
32883
|
}
|
|
32786
32884
|
return /* @__PURE__ */ x("form", {
|
|
32787
32885
|
className: "nm-login__form",
|
|
32788
|
-
id:
|
|
32886
|
+
id: WU,
|
|
32789
32887
|
onSubmit: r,
|
|
32790
32888
|
children: [
|
|
32791
32889
|
t ? /* @__PURE__ */ b("p", {
|
|
@@ -32793,18 +32891,18 @@ function iW(e) {
|
|
|
32793
32891
|
role: "alert",
|
|
32794
32892
|
children: $.mismatch
|
|
32795
32893
|
}) : null,
|
|
32796
|
-
/* @__PURE__ */ b(
|
|
32797
|
-
id:
|
|
32798
|
-
name:
|
|
32894
|
+
/* @__PURE__ */ b($U, {
|
|
32895
|
+
id: GU.resetPassword,
|
|
32896
|
+
name: GU.resetPassword,
|
|
32799
32897
|
label: $.password,
|
|
32800
32898
|
type: "password",
|
|
32801
32899
|
autoComplete: "new-password",
|
|
32802
32900
|
placeholder: $.passwordPlaceholder,
|
|
32803
32901
|
minLength: e.passwordMin
|
|
32804
32902
|
}),
|
|
32805
|
-
/* @__PURE__ */ b(
|
|
32806
|
-
id:
|
|
32807
|
-
name:
|
|
32903
|
+
/* @__PURE__ */ b($U, {
|
|
32904
|
+
id: GU.confirmPassword,
|
|
32905
|
+
name: GU.confirmPassword,
|
|
32808
32906
|
label: $.confirmPassword,
|
|
32809
32907
|
type: "password",
|
|
32810
32908
|
autoComplete: "new-password",
|
|
@@ -32826,12 +32924,12 @@ function iW(e) {
|
|
|
32826
32924
|
});
|
|
32827
32925
|
}
|
|
32828
32926
|
// src/ui/components/nordman-login-hero/nordman-login-hero.tsx
|
|
32829
|
-
var
|
|
32927
|
+
var lW = {
|
|
32830
32928
|
square: "glow",
|
|
32831
32929
|
triangle: "glow tri",
|
|
32832
32930
|
circle: "glow circle"
|
|
32833
32931
|
};
|
|
32834
|
-
function
|
|
32932
|
+
function uW(e) {
|
|
32835
32933
|
let t = f(null);
|
|
32836
32934
|
return c(() => {
|
|
32837
32935
|
let n = window.NordmanUI;
|
|
@@ -32843,51 +32941,51 @@ function oW(e) {
|
|
|
32843
32941
|
}), () => r.abort();
|
|
32844
32942
|
}, [e.shape]), /* @__PURE__ */ b("div", {
|
|
32845
32943
|
ref: t,
|
|
32846
|
-
className:
|
|
32944
|
+
className: lW[e.shape],
|
|
32847
32945
|
"aria-hidden": "true",
|
|
32848
32946
|
children: /* @__PURE__ */ b("i", {})
|
|
32849
32947
|
});
|
|
32850
32948
|
}
|
|
32851
32949
|
// src/ui/components/nordman-login/nordman-login.tsx
|
|
32852
|
-
function
|
|
32853
|
-
return e.view ===
|
|
32950
|
+
function dW(e) {
|
|
32951
|
+
return e.view === UU.register ? /* @__PURE__ */ b(tW, {
|
|
32854
32952
|
pending: e.pending,
|
|
32855
32953
|
passwordMin: e.passwordMin,
|
|
32856
32954
|
onRegister: e.onRegister
|
|
32857
|
-
}) : e.view ===
|
|
32955
|
+
}) : e.view === UU.forgot ? /* @__PURE__ */ b(aW, {
|
|
32858
32956
|
pending: e.pending,
|
|
32859
32957
|
sent: e.sent,
|
|
32860
32958
|
onRequestReset: e.onRequestReset
|
|
32861
|
-
}) : e.view ===
|
|
32959
|
+
}) : e.view === UU.reset ? /* @__PURE__ */ b(cW, {
|
|
32862
32960
|
pending: e.pending,
|
|
32863
32961
|
passwordMin: e.passwordMin,
|
|
32864
32962
|
onResetPassword: e.onResetPassword
|
|
32865
|
-
}) : e.googleOnly ? /* @__PURE__ */ b(
|
|
32963
|
+
}) : e.googleOnly ? /* @__PURE__ */ b(oW, {
|
|
32866
32964
|
pending: e.pending,
|
|
32867
32965
|
onContinueWithGoogle: () => e.onContinueWithGoogle?.()
|
|
32868
|
-
}) : /* @__PURE__ */ b(
|
|
32966
|
+
}) : /* @__PURE__ */ b(rW, {
|
|
32869
32967
|
pending: e.pending,
|
|
32870
32968
|
passwordMin: e.passwordMin,
|
|
32871
|
-
onForgot: () => e.onView(
|
|
32969
|
+
onForgot: () => e.onView(UU.forgot),
|
|
32872
32970
|
onSignIn: e.onSignIn
|
|
32873
32971
|
});
|
|
32874
32972
|
}
|
|
32875
|
-
function
|
|
32876
|
-
let t = e.view ===
|
|
32973
|
+
function fW(e) {
|
|
32974
|
+
let t = e.view === UU.register, n = e.view === UU.signIn;
|
|
32877
32975
|
return c(() => {
|
|
32878
|
-
document.documentElement.dataset.interface =
|
|
32976
|
+
document.documentElement.dataset.interface = qU;
|
|
32879
32977
|
}, []), /* @__PURE__ */ x("div", {
|
|
32880
32978
|
className: e.googleOnly ? "nm-login nm-login--google-only" : "nm-login",
|
|
32881
32979
|
"data-testid": "nordman-login",
|
|
32882
32980
|
children: [
|
|
32883
32981
|
/* @__PURE__ */ b("a", {
|
|
32884
32982
|
className: "nm-login__skip",
|
|
32885
|
-
href: `#${
|
|
32983
|
+
href: `#${WU}`,
|
|
32886
32984
|
children: $.skip
|
|
32887
32985
|
}),
|
|
32888
32986
|
/* @__PURE__ */ b("div", {
|
|
32889
32987
|
className: "nm-login__visual",
|
|
32890
|
-
children: /* @__PURE__ */ b(
|
|
32988
|
+
children: /* @__PURE__ */ b(uW, { shape: e.shape })
|
|
32891
32989
|
}),
|
|
32892
32990
|
/* @__PURE__ */ b("section", {
|
|
32893
32991
|
className: "nm-login__panel",
|
|
@@ -32903,11 +33001,11 @@ function cW(e) {
|
|
|
32903
33001
|
role: "alert",
|
|
32904
33002
|
children: e.error
|
|
32905
33003
|
}) : null,
|
|
32906
|
-
e.notice && e.view !==
|
|
33004
|
+
e.notice && e.view !== UU.forgot ? /* @__PURE__ */ b("p", {
|
|
32907
33005
|
className: "nm-login__notice",
|
|
32908
33006
|
children: e.notice
|
|
32909
33007
|
}) : null,
|
|
32910
|
-
e.children ??
|
|
33008
|
+
e.children ?? dW(e),
|
|
32911
33009
|
e.after,
|
|
32912
33010
|
e.children == null && e.hideSwitch !== !0 && !e.googleOnly ? /* @__PURE__ */ x("p", {
|
|
32913
33011
|
className: "nm-login__switch",
|
|
@@ -32917,7 +33015,7 @@ function cW(e) {
|
|
|
32917
33015
|
/* @__PURE__ */ b("button", {
|
|
32918
33016
|
className: "nm-login__switch-action",
|
|
32919
33017
|
type: "button",
|
|
32920
|
-
onClick: () => e.onView(t || !n ?
|
|
33018
|
+
onClick: () => e.onView(t || !n ? UU.signIn : UU.register),
|
|
32921
33019
|
children: n ? $.registerAction : $.signInAction
|
|
32922
33020
|
})
|
|
32923
33021
|
]
|
|
@@ -32929,9 +33027,9 @@ function cW(e) {
|
|
|
32929
33027
|
});
|
|
32930
33028
|
}
|
|
32931
33029
|
// src/ui/components/nordman-toggle/nordman-toggle.tsx
|
|
32932
|
-
var
|
|
32933
|
-
function
|
|
32934
|
-
return
|
|
33030
|
+
var pW = W("interface-nordman-toggle");
|
|
33031
|
+
function mW(e) {
|
|
33032
|
+
return pW.debug("render", e.active, { items: e.items.length }), /* @__PURE__ */ b("nav", {
|
|
32935
33033
|
className: "nm-toggle",
|
|
32936
33034
|
"data-testid": e.testId,
|
|
32937
33035
|
children: e.items.map((t) => /* @__PURE__ */ b("a", {
|
|
@@ -32944,12 +33042,12 @@ function uW(e) {
|
|
|
32944
33042
|
});
|
|
32945
33043
|
}
|
|
32946
33044
|
// src/ui/config/nm-app-panel.ts
|
|
32947
|
-
var
|
|
33045
|
+
var hW = {
|
|
32948
33046
|
code: "code",
|
|
32949
33047
|
preview: "preview",
|
|
32950
33048
|
environment: "environment",
|
|
32951
33049
|
machine: "machine"
|
|
32952
|
-
},
|
|
33050
|
+
}, gW = {
|
|
32953
33051
|
code: "/interface/app-panel/code.svg",
|
|
32954
33052
|
play: "/interface/app-panel/play.svg",
|
|
32955
33053
|
ellipsis: "/interface/app-panel/ellipsis.svg",
|
|
@@ -32958,7 +33056,7 @@ var dW = {
|
|
|
32958
33056
|
network: "/interface/app-panel/network.svg",
|
|
32959
33057
|
message: "/interface/app-panel/message.svg",
|
|
32960
33058
|
copy: "/interface/app-panel/copy.svg"
|
|
32961
|
-
},
|
|
33059
|
+
}, _W = {
|
|
32962
33060
|
root: "nm-app-panel",
|
|
32963
33061
|
body: "nm-app-panel__body",
|
|
32964
33062
|
canvas: "nm-app-panel__canvas",
|
|
@@ -32973,35 +33071,35 @@ var dW = {
|
|
|
32973
33071
|
blocked: "nm-app-panel__blocked",
|
|
32974
33072
|
blockedTitle: "nm-app-panel__blocked-title",
|
|
32975
33073
|
blockedBody: "nm-app-panel__blocked-body"
|
|
32976
|
-
},
|
|
33074
|
+
}, vW = {
|
|
32977
33075
|
root: "nm-logs-panel",
|
|
32978
33076
|
body: "nm-logs-panel__body"
|
|
32979
|
-
},
|
|
33077
|
+
}, yW = ["left", "right"], bW = [
|
|
32980
33078
|
.22,
|
|
32981
33079
|
1,
|
|
32982
33080
|
.36,
|
|
32983
33081
|
1
|
|
32984
|
-
],
|
|
32985
|
-
function
|
|
32986
|
-
return
|
|
33082
|
+
], xW = .25;
|
|
33083
|
+
function SW() {
|
|
33084
|
+
return CW();
|
|
32987
33085
|
}
|
|
32988
|
-
function
|
|
32989
|
-
if (typeof document > "u") return
|
|
33086
|
+
function CW() {
|
|
33087
|
+
if (typeof document > "u") return xW;
|
|
32990
33088
|
let e = getComputedStyle(document.documentElement).getPropertyValue("--reveal").trim();
|
|
32991
|
-
return e.endsWith("ms") ? parseFloat(e) / 1e3 : e.endsWith("s") ? parseFloat(e) :
|
|
33089
|
+
return e.endsWith("ms") ? parseFloat(e) / 1e3 : e.endsWith("s") ? parseFloat(e) : xW;
|
|
32992
33090
|
}
|
|
32993
|
-
function
|
|
33091
|
+
function wW(e) {
|
|
32994
33092
|
return e ? { duration: 0 } : {
|
|
32995
|
-
duration:
|
|
32996
|
-
ease: [...
|
|
33093
|
+
duration: CW(),
|
|
33094
|
+
ease: [...bW]
|
|
32997
33095
|
};
|
|
32998
33096
|
}
|
|
32999
|
-
function
|
|
33097
|
+
function TW() {
|
|
33000
33098
|
let e = v();
|
|
33001
|
-
return d(() =>
|
|
33099
|
+
return d(() => wW(e === !0), [e]);
|
|
33002
33100
|
}
|
|
33003
33101
|
// src/ui/config/nm-header-icons.ts
|
|
33004
|
-
var
|
|
33102
|
+
var EW = [
|
|
33005
33103
|
"chat",
|
|
33006
33104
|
"bot",
|
|
33007
33105
|
"app",
|
|
@@ -33013,7 +33111,7 @@ var SW = [
|
|
|
33013
33111
|
"play",
|
|
33014
33112
|
"schedule",
|
|
33015
33113
|
"search"
|
|
33016
|
-
],
|
|
33114
|
+
], DW = {
|
|
33017
33115
|
chat: "/interface/header/chat.svg",
|
|
33018
33116
|
bot: "/interface/header/bot.svg",
|
|
33019
33117
|
app: "/interface/header/app.svg",
|
|
@@ -33025,16 +33123,16 @@ var SW = [
|
|
|
33025
33123
|
play: "/interface/header/play.svg",
|
|
33026
33124
|
schedule: "/interface/header/schedule.svg",
|
|
33027
33125
|
search: "/interface/header/search.svg"
|
|
33028
|
-
},
|
|
33126
|
+
}, OW = { root: "nm-icon-border" }, kW = /* @__PURE__ */ "activity.app-window.archive-restore.arrow-down.arrow-left-right.arrow-right-left.arrow-up-down.arrow-up-left.ban.beaker.bitcoin.bone.book-copy.bookmark.bookmark-plus.calendar-days.chart-column.chart-column-increasing.chart-line.check-check.chevron-left.chevron-right.chevron-up.chevrons-up-down.circle.circle-alert.circle-check-big.circle-dashed.circle-dot.circle-plus.circle-question-mark.circle-x.clock-3.clock-4.cloud-sun.code-xml.copy-check.corner-down-right.database.dices.earth.external-link.eye.eye-off.fast-forward.feather.file-clock.file-code.file-image.file-json.file-pen-line.file-plus-2.file-question-mark.file-search.file-spreadsheet.file-type-2.file-up.file-x-2.files.film.folder-kanban.funnel-x.git-branch-plus.git-commit-horizontal.git-fork.graduation-cap.grip-vertical.history.image-off.image-up.info.key-round.keyboard.laptop.layers.layout-dashboard.library.life-buoy.lightbulb.link.link-2-off.list.list-tree.map-pin.message-circle-question-mark.message-square.message-square-plus.message-square-text.messages-square.minimize-2.mouse-pointer-click.newspaper.notebook-pen.octagon-pause.paperclip.pen-line.pen-tool.pin-off.plane-takeoff.plug-zap.qr-code.radio.refresh-cw.rocket.rotate-cw.scale.scan-search.scroll-text.send.share-2.shield.shield-check.shield-ellipsis.shopping-bag.sliders-horizontal.sparkles.square-pen.square-slash.square-terminal.star.table-2.text-quote.trash.trending-up.triangle-alert.trophy.type.user.user-check.users.utensils-crossed.variable.video.wand-sparkles.zap.zap-off.zoom-in.zoom-out".split("."), AW = "--nm-radius-scale", jW = {
|
|
33029
33127
|
sm: 4,
|
|
33030
33128
|
md: 8,
|
|
33031
33129
|
lg: 12
|
|
33032
|
-
},
|
|
33130
|
+
}, MW = {
|
|
33033
33131
|
row: "--nm-space-4",
|
|
33034
33132
|
menu: "--nm-space-8",
|
|
33035
33133
|
field: "--nm-space-12",
|
|
33036
33134
|
composer: "--nm-space-24"
|
|
33037
|
-
},
|
|
33135
|
+
}, NW = {
|
|
33038
33136
|
sm: "--nm-radius-sm",
|
|
33039
33137
|
md: "--nm-radius-md",
|
|
33040
33138
|
lg: "--nm-radius-lg",
|
|
@@ -33043,17 +33141,17 @@ var SW = [
|
|
|
33043
33141
|
field: "--nm-field-radius",
|
|
33044
33142
|
menu: "--nm-menu-radius",
|
|
33045
33143
|
row: "--nm-row-radius"
|
|
33046
|
-
},
|
|
33144
|
+
}, PW = {
|
|
33047
33145
|
control: "calc(var(--nm-icon-control) / 2 * var(--nm-radius-scale))",
|
|
33048
33146
|
composer: "var(--nm-radius-lg)",
|
|
33049
33147
|
field: "var(--nm-control-r)",
|
|
33050
33148
|
menu: "var(--nm-radius-lg)",
|
|
33051
33149
|
row: "var(--nm-control-r)"
|
|
33052
|
-
},
|
|
33150
|
+
}, FW = {
|
|
33053
33151
|
sm: "calc(4px * var(--nm-radius-scale))",
|
|
33054
33152
|
md: "calc(8px * var(--nm-radius-scale))",
|
|
33055
33153
|
lg: "calc(12px * var(--nm-radius-scale))"
|
|
33056
|
-
},
|
|
33154
|
+
}, IW = {
|
|
33057
33155
|
pad: "--nm-menu-pad",
|
|
33058
33156
|
menuRadius: "--nm-control-menu-radius",
|
|
33059
33157
|
optionRadius: "--nm-control-option-radius",
|
|
@@ -33063,7 +33161,7 @@ var SW = [
|
|
|
33063
33161
|
panelItemRadius: "--nm-panel-item-radius",
|
|
33064
33162
|
rowInline: "--nm-row-inline",
|
|
33065
33163
|
rowInlineEnd: "--nm-row-inline-end"
|
|
33066
|
-
},
|
|
33164
|
+
}, LW = [
|
|
33067
33165
|
"plus",
|
|
33068
33166
|
"folder",
|
|
33069
33167
|
"chats",
|
|
@@ -33074,7 +33172,7 @@ var SW = [
|
|
|
33074
33172
|
"settings",
|
|
33075
33173
|
"search",
|
|
33076
33174
|
"plusSm"
|
|
33077
|
-
],
|
|
33175
|
+
], RW = {
|
|
33078
33176
|
plus: "/interface/rail/plus.svg",
|
|
33079
33177
|
folder: "/interface/rail/folder.svg",
|
|
33080
33178
|
chats: "/interface/rail/chats.svg",
|
|
@@ -33085,29 +33183,29 @@ var SW = [
|
|
|
33085
33183
|
settings: "/interface/rail/settings.svg",
|
|
33086
33184
|
search: "/interface/rail/search.svg",
|
|
33087
33185
|
plusSm: "/interface/rail/plus-sm.svg"
|
|
33088
|
-
},
|
|
33186
|
+
}, zW = 750, BW = 7e3, VW = 500;
|
|
33089
33187
|
// src/ui/lib/appearance/appearanceState.ts
|
|
33090
|
-
function
|
|
33188
|
+
function HW(e) {
|
|
33091
33189
|
return typeof e == "string" && Rz.includes(e);
|
|
33092
33190
|
}
|
|
33093
|
-
function
|
|
33191
|
+
function UW(e) {
|
|
33094
33192
|
return typeof e == "string" && Gz.includes(e);
|
|
33095
33193
|
}
|
|
33096
|
-
function
|
|
33194
|
+
function WW(e) {
|
|
33097
33195
|
return typeof e == "string" && Yz.includes(e);
|
|
33098
33196
|
}
|
|
33099
|
-
function
|
|
33197
|
+
function GW(e, t, n, r) {
|
|
33100
33198
|
let i = typeof e == "number" ? e : Number(e);
|
|
33101
33199
|
return Number.isFinite(i) ? Math.min(n, Math.max(t, Math.round(i))) : r;
|
|
33102
33200
|
}
|
|
33103
|
-
function
|
|
33201
|
+
function KW() {
|
|
33104
33202
|
return typeof window > "u" || typeof window.matchMedia != "function" || window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
33105
33203
|
}
|
|
33106
|
-
function
|
|
33204
|
+
function qW(e, t = KW()) {
|
|
33107
33205
|
return e === "light" ? "light" : e === "dark" || t ? "dark" : "light";
|
|
33108
33206
|
}
|
|
33109
|
-
function
|
|
33110
|
-
return
|
|
33207
|
+
function JW() {
|
|
33208
|
+
return nG({
|
|
33111
33209
|
mode: Qz.mode,
|
|
33112
33210
|
themePresetId: Qz.themePresetId,
|
|
33113
33211
|
accentPreset: Qz.accentPreset,
|
|
@@ -33123,98 +33221,98 @@ function WW() {
|
|
|
33123
33221
|
borders: Qz.borders
|
|
33124
33222
|
});
|
|
33125
33223
|
}
|
|
33126
|
-
function
|
|
33224
|
+
function YW(e, t) {
|
|
33127
33225
|
let n = eB(e) ?? eB(Qz.themePresetId), r = t === "dark" ? n.dark : n.light;
|
|
33128
33226
|
return {
|
|
33129
33227
|
backgroundHex: r.canvas,
|
|
33130
33228
|
foregroundHex: r.foreground
|
|
33131
33229
|
};
|
|
33132
33230
|
}
|
|
33133
|
-
var
|
|
33231
|
+
var XW = {
|
|
33134
33232
|
"#000000/#ffffff": "dark",
|
|
33135
33233
|
"#fcfaf6/#0a0a0a": "light"
|
|
33136
33234
|
};
|
|
33137
|
-
function
|
|
33138
|
-
let r =
|
|
33235
|
+
function ZW(e, t, n) {
|
|
33236
|
+
let r = XW[`${t}/${n}`.toLowerCase()];
|
|
33139
33237
|
return e !== Qz.themePresetId || r == null ? {
|
|
33140
33238
|
backgroundHex: t,
|
|
33141
33239
|
foregroundHex: n
|
|
33142
|
-
} :
|
|
33240
|
+
} : YW(e, r);
|
|
33143
33241
|
}
|
|
33144
|
-
function
|
|
33145
|
-
let t =
|
|
33242
|
+
function QW(e) {
|
|
33243
|
+
let t = JW();
|
|
33146
33244
|
if (!e || typeof e != "object") return t;
|
|
33147
|
-
let n = e, r = typeof n.themePresetId == "string" && eB(n.themePresetId) ? n.themePresetId : t.themePresetId, i =
|
|
33245
|
+
let n = e, r = typeof n.themePresetId == "string" && eB(n.themePresetId) ? n.themePresetId : t.themePresetId, i = ZW(r, wz(typeof n.backgroundHex == "string" ? n.backgroundHex : t.backgroundHex, t.backgroundHex), wz(typeof n.foregroundHex == "string" ? n.foregroundHex : t.foregroundHex, t.foregroundHex));
|
|
33148
33246
|
return {
|
|
33149
|
-
mode:
|
|
33247
|
+
mode: HW(n.mode) ? n.mode : t.mode,
|
|
33150
33248
|
themePresetId: r,
|
|
33151
|
-
accentPreset:
|
|
33249
|
+
accentPreset: WW(n.accentPreset) ? n.accentPreset : t.accentPreset,
|
|
33152
33250
|
customAccentHex: wz(typeof n.customAccentHex == "string" ? n.customAccentHex : t.customAccentHex, t.customAccentHex),
|
|
33153
33251
|
...i,
|
|
33154
|
-
uiFontSizePx:
|
|
33155
|
-
uiFontWeight: Math.round(
|
|
33156
|
-
uiIconSizePx:
|
|
33157
|
-
uiRadiusPercent:
|
|
33158
|
-
uiSpacePercent:
|
|
33159
|
-
contrast:
|
|
33160
|
-
borders:
|
|
33252
|
+
uiFontSizePx: GW(n.uiFontSizePx, zz.min, zz.max, t.uiFontSizePx),
|
|
33253
|
+
uiFontWeight: Math.round(GW(n.uiFontWeight, Vz.min, Vz.max, t.uiFontWeight) / 100) * 100,
|
|
33254
|
+
uiIconSizePx: GW(n.uiIconSizePx, Hz.min, Hz.max, t.uiIconSizePx),
|
|
33255
|
+
uiRadiusPercent: GW(n.uiRadiusPercent, Uz.min, Uz.max, t.uiRadiusPercent),
|
|
33256
|
+
uiSpacePercent: GW(n.uiSpacePercent, Wz.min, Wz.max, t.uiSpacePercent),
|
|
33257
|
+
contrast: GW(n.contrast, Jz.min, Jz.max, t.contrast),
|
|
33258
|
+
borders: UW(n.borders) ? n.borders : t.borders
|
|
33161
33259
|
};
|
|
33162
33260
|
}
|
|
33163
|
-
function
|
|
33261
|
+
function $W() {
|
|
33164
33262
|
if (typeof window > "u") return null;
|
|
33165
33263
|
try {
|
|
33166
33264
|
let e = window.localStorage.getItem(Iz);
|
|
33167
|
-
return e ?
|
|
33265
|
+
return e ? QW(JSON.parse(e)) : null;
|
|
33168
33266
|
} catch {
|
|
33169
33267
|
return null;
|
|
33170
33268
|
}
|
|
33171
33269
|
}
|
|
33172
|
-
function
|
|
33270
|
+
function eG(e) {
|
|
33173
33271
|
typeof window < "u" && window.localStorage.setItem(Iz, JSON.stringify(e));
|
|
33174
33272
|
}
|
|
33175
|
-
function
|
|
33273
|
+
function tG(e, t) {
|
|
33176
33274
|
if (e.themePresetId === "custom") return e;
|
|
33177
|
-
let { backgroundHex: n, foregroundHex: r } =
|
|
33275
|
+
let { backgroundHex: n, foregroundHex: r } = YW(e.themePresetId, t), i = eB(e.themePresetId), a = {
|
|
33178
33276
|
...e,
|
|
33179
33277
|
backgroundHex: wz(n, e.backgroundHex),
|
|
33180
33278
|
foregroundHex: wz(r, e.foregroundHex)
|
|
33181
33279
|
};
|
|
33182
33280
|
return a.accentPreset === "default" && i && (a.customAccentHex = wz(i.swatch, a.customAccentHex)), a;
|
|
33183
33281
|
}
|
|
33184
|
-
function
|
|
33185
|
-
return
|
|
33282
|
+
function nG(e, t = KW()) {
|
|
33283
|
+
return tG(e, qW(e.mode, t));
|
|
33186
33284
|
}
|
|
33187
33285
|
// src/ui/lib/appearance/markTokens.ts
|
|
33188
|
-
var
|
|
33286
|
+
var rG = 4.6, iG = .09, aG = 120, oG = {
|
|
33189
33287
|
min: .4,
|
|
33190
33288
|
max: .7
|
|
33191
|
-
},
|
|
33192
|
-
function
|
|
33289
|
+
}, sG = .02;
|
|
33290
|
+
function cG(e, t, n, r) {
|
|
33193
33291
|
let i = n[0] ?? "#000000", a = kz(i, "#FFFFFF") > kz(i, "#000000"), o = a ? 1 : -1;
|
|
33194
|
-
for (let r = a ? .68 : .42; r >= 0 && r <= 1; r += o *
|
|
33292
|
+
for (let r = a ? .68 : .42; r >= 0 && r <= 1; r += o * sG) {
|
|
33195
33293
|
let i = jz(e, t, r);
|
|
33196
|
-
if (n.every((e) => kz(i, e) >=
|
|
33294
|
+
if (n.every((e) => kz(i, e) >= rG)) return i;
|
|
33197
33295
|
}
|
|
33198
33296
|
return r;
|
|
33199
33297
|
}
|
|
33200
|
-
function
|
|
33201
|
-
let r = Dz(t, n,
|
|
33298
|
+
function lG(e, t, n) {
|
|
33299
|
+
let r = Dz(t, n, iG), { hue: i, saturation: a } = Az(e), o = Math.min(oG.max, Math.max(oG.min, a)), s = (e) => cG((i + e) % 360, o, [t, r], n);
|
|
33202
33300
|
return {
|
|
33203
33301
|
"--nm-mark-primary": s(0),
|
|
33204
|
-
"--nm-mark-secondary": s(
|
|
33302
|
+
"--nm-mark-secondary": s(aG),
|
|
33205
33303
|
"--nm-mark-tertiary": s(240),
|
|
33206
33304
|
"--nm-mark-surface": r
|
|
33207
33305
|
};
|
|
33208
33306
|
}
|
|
33209
33307
|
// src/ui/lib/appearance/deriveTokens.ts
|
|
33210
|
-
function
|
|
33308
|
+
function uG(e) {
|
|
33211
33309
|
return e.accentPreset === "custom" || e.accentPreset === "default" && e.themePresetId === "custom" ? wz(e.customAccentHex, "#D2BB9C") : e.accentPreset === "default" ? eB(e.themePresetId)?.swatch ?? Xz[0].swatch : Zz[e.accentPreset];
|
|
33212
33310
|
}
|
|
33213
|
-
function
|
|
33311
|
+
function dG(e, t) {
|
|
33214
33312
|
let n = e / Jz.max, r = t === "dark" ? .06 : .05;
|
|
33215
33313
|
return r + n * ((t === "dark" ? .42 : .38) - r);
|
|
33216
33314
|
}
|
|
33217
|
-
function
|
|
33315
|
+
function fG(e) {
|
|
33218
33316
|
let t = `${e}px`;
|
|
33219
33317
|
return {
|
|
33220
33318
|
"--nm-icon-button": t,
|
|
@@ -33222,18 +33320,18 @@ function cG(e) {
|
|
|
33222
33320
|
"--nm-rail-icon": t
|
|
33223
33321
|
};
|
|
33224
33322
|
}
|
|
33225
|
-
function
|
|
33323
|
+
function pG(e, t) {
|
|
33226
33324
|
let n = t + 16;
|
|
33227
33325
|
return { "--nm-ui-chip-min-height": `${Math.max(n, e + 16)}px` };
|
|
33228
33326
|
}
|
|
33229
|
-
function
|
|
33327
|
+
function mG(e) {
|
|
33230
33328
|
let t = e / Uz.default;
|
|
33231
|
-
return { [
|
|
33329
|
+
return { [AW]: String(t) };
|
|
33232
33330
|
}
|
|
33233
|
-
function
|
|
33331
|
+
function hG(e) {
|
|
33234
33332
|
return { "--nm-space-scale": String(e / Wz.default) };
|
|
33235
33333
|
}
|
|
33236
|
-
function
|
|
33334
|
+
function gG(e) {
|
|
33237
33335
|
let t = (t) => String(Math.min(Vz.max, Math.max(Vz.min, e + t)));
|
|
33238
33336
|
return {
|
|
33239
33337
|
"--nm-weight-light": t(-100),
|
|
@@ -33243,7 +33341,7 @@ function fG(e) {
|
|
|
33243
33341
|
"--nm-weight-bold": t(300)
|
|
33244
33342
|
};
|
|
33245
33343
|
}
|
|
33246
|
-
function
|
|
33344
|
+
function _G(e) {
|
|
33247
33345
|
let t = e / zz.default, n = `${e}px`, r = `${Math.max(zz.min, e - 2)}px`;
|
|
33248
33346
|
return {
|
|
33249
33347
|
"--nm-type-body": n,
|
|
@@ -33259,7 +33357,7 @@ function pG(e) {
|
|
|
33259
33357
|
"--font-size-sm": r
|
|
33260
33358
|
};
|
|
33261
33359
|
}
|
|
33262
|
-
function
|
|
33360
|
+
function vG(e, t) {
|
|
33263
33361
|
let n = Tz(t);
|
|
33264
33362
|
return {
|
|
33265
33363
|
"--text-primary": e["--nm-fg-rgb"],
|
|
@@ -33287,12 +33385,12 @@ function mG(e, t) {
|
|
|
33287
33385
|
"--nordman-accent": n
|
|
33288
33386
|
};
|
|
33289
33387
|
}
|
|
33290
|
-
function
|
|
33388
|
+
function yG(e, t, n, r) {
|
|
33291
33389
|
let i = Fz[t];
|
|
33292
33390
|
return e.themePresetId === Xz[0].id && e.contrast === Jz.default && n.toLowerCase() === i.canvas && r.toLowerCase() === i.fg;
|
|
33293
33391
|
}
|
|
33294
|
-
function
|
|
33295
|
-
let n = wz(e.backgroundHex, "#000000"), r = wz(e.foregroundHex, "#ffffff"), i =
|
|
33392
|
+
function bG(e, t) {
|
|
33393
|
+
let n = wz(e.backgroundHex, "#000000"), r = wz(e.foregroundHex, "#ffffff"), i = uG(e), a = dG(e.contrast, t), o = yG(e, t, n, r) ? Fz[t] : null, s = o?.panel ?? Dz(n, r, a), c = o?.raised ?? Dz(n, r, a * .72), l = o?.inset ?? Dz(n, r, a * .85), u = o?.line ?? Dz(n, r, Math.min(.55, a + .12)), d = o?.lineStrong ?? Dz(n, r, Math.min(.6, a + .17)), f = o?.stroke ?? Dz(n, r, Math.min(.65, a + .22)), p = o?.muted ?? Dz(r, n, .22), m = o?.subtle ?? Dz(r, n, .38), h = {
|
|
33296
33394
|
"--nm-canvas": n,
|
|
33297
33395
|
"--nm-fg": r,
|
|
33298
33396
|
"--nm-fg-muted": p,
|
|
@@ -33317,36 +33415,36 @@ function gG(e, t) {
|
|
|
33317
33415
|
"--nm-accent": i,
|
|
33318
33416
|
"--nm-accent-rgb": Tz(i),
|
|
33319
33417
|
...Pz(i, n, r),
|
|
33320
|
-
...
|
|
33321
|
-
...
|
|
33322
|
-
...
|
|
33323
|
-
...
|
|
33324
|
-
...
|
|
33325
|
-
...
|
|
33326
|
-
...
|
|
33418
|
+
...lG(i, n, r),
|
|
33419
|
+
..._G(e.uiFontSizePx),
|
|
33420
|
+
...gG(e.uiFontWeight),
|
|
33421
|
+
...fG(e.uiIconSizePx),
|
|
33422
|
+
...pG(e.uiFontSizePx, e.uiIconSizePx),
|
|
33423
|
+
...mG(e.uiRadiusPercent),
|
|
33424
|
+
...hG(e.uiSpacePercent),
|
|
33327
33425
|
"--nm-border-strength": Kz[e.borders]
|
|
33328
33426
|
};
|
|
33329
33427
|
return {
|
|
33330
33428
|
...h,
|
|
33331
|
-
...
|
|
33429
|
+
...vG(h, i)
|
|
33332
33430
|
};
|
|
33333
33431
|
}
|
|
33334
|
-
function
|
|
33432
|
+
function xG(e) {
|
|
33335
33433
|
return e;
|
|
33336
33434
|
}
|
|
33337
33435
|
// src/ui/lib/appearance/applyAppearance.ts
|
|
33338
|
-
var
|
|
33339
|
-
function
|
|
33436
|
+
var SG = W("interface-appearance-apply");
|
|
33437
|
+
function CG() {
|
|
33340
33438
|
return typeof window > "u" || typeof window.matchMedia != "function" || window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
33341
33439
|
}
|
|
33342
|
-
function
|
|
33440
|
+
function wG(e = document.documentElement) {
|
|
33343
33441
|
$z.forEach((t) => {
|
|
33344
33442
|
e.style.removeProperty(t);
|
|
33345
33443
|
}), e.removeAttribute(qz);
|
|
33346
33444
|
}
|
|
33347
|
-
function
|
|
33348
|
-
let n =
|
|
33349
|
-
return
|
|
33445
|
+
function TG(e, t = document.documentElement) {
|
|
33446
|
+
let n = qW(e.mode, CG()), r = bG(e, n);
|
|
33447
|
+
return SG.debug("apply", "appearance", {
|
|
33350
33448
|
mode: e.mode,
|
|
33351
33449
|
scheme: n,
|
|
33352
33450
|
theme: e.themePresetId
|
|
@@ -33355,7 +33453,7 @@ function xG(e, t = document.documentElement) {
|
|
|
33355
33453
|
}), t.setAttribute(qz, e.borders), typeof window < "u" && window.dispatchEvent(new CustomEvent(Lz)), { scheme: n };
|
|
33356
33454
|
}
|
|
33357
33455
|
// src/ui/lib/appearance/readLayoutMetrics.ts
|
|
33358
|
-
function
|
|
33456
|
+
function EG(e, t, n) {
|
|
33359
33457
|
let r = getComputedStyle(e).getPropertyValue(t).trim();
|
|
33360
33458
|
if (!r) return n;
|
|
33361
33459
|
if (r.endsWith("px")) {
|
|
@@ -33368,7 +33466,7 @@ function SG(e, t, n) {
|
|
|
33368
33466
|
}
|
|
33369
33467
|
return n;
|
|
33370
33468
|
}
|
|
33371
|
-
function
|
|
33372
|
-
return
|
|
33469
|
+
function DG(e = document.documentElement) {
|
|
33470
|
+
return EG(e, "--nm-icon-control", 34) + EG(e, "--nm-space-2", 2);
|
|
33373
33471
|
}
|
|
33374
|
-
export { Zz as NM_ACCENT_HEX, Yz as NM_ACCENT_PRESETS, uw as NM_AI_BADGE_TONES, K as NM_AI_CLASSES, sw as NM_AI_STATUS, Lz as NM_APPEARANCE_APPLIED_EVENT, Jz as NM_APPEARANCE_CONTRAST, $z as NM_APPEARANCE_CSS_VARS, Qz as NM_APPEARANCE_DEFAULTS, Rz as NM_APPEARANCE_MODES, Iz as NM_APPEARANCE_STORAGE_KEY, pW as NM_APP_PANEL_CLASSES, fW as NM_APP_PANEL_ICON_SRC, dW as NM_APP_PANEL_TABS, HE as NM_AVATAR_SIZES, YE as NM_BAR_OVERFLOW_CLASSES, XE as NM_BAR_OVERFLOW_TEST_IDS, qz as NM_BORDER_ATTRIBUTE, Kz as NM_BORDER_STRENGTH, Gz as NM_BORDER_STYLES, EC as NM_BUTTON_CLASSES, TC as NM_BUTTON_SIZES, wC as NM_BUTTON_TONES, xj as NM_CARD_SIZES, bj as NM_CARD_VARIANTS, PC as NM_CHATBOX_ACTION_CLASS, Lj as NM_CHATBOX_CLASSES, Nj as NM_CHATBOX_COMPOSER_ACTION_ICONS, Pj as NM_CHATBOX_DURING_RUN_MENU_ICONS, Aj as NM_CHATBOX_ICON_IDS, Mj as NM_CHATBOX_ICON_SRC, jj as NM_CHATBOX_INTEGRATION_ICON_PATH, Fj as NM_CHATBOX_LUCIDE_MAP, Rj as NM_CHATBOX_MENU_MODE, SC as NM_CHIP_SIZES, xC as NM_CHIP_TONES, qC as NM_CODE_BLOCK_SIZES, KC as NM_CODE_BLOCK_VARIANTS, nw as NM_CODE_LANGUAGES, Xj as NM_COLLECTION_ACTIONS, Yj as NM_COLLECTION_CLASSES, Gj as NM_COLLECTION_FILES_REFRESH_MS, Jj as NM_COLLECTION_ICON_SRC, Zj as NM_COLLECTION_MEDIA_KINDS, Kj as NM_COLLECTION_SCROLL_IDLE_MS, qj as NM_COLLECTION_VIEWS, Q as NM_COMPOSER_CLASSES, gz as NM_COMPOSER_COPY, _z as NM_COMPOSER_INLINE_MARK, vz as NM_COMPOSER_SHAPE_ATTRIBUTE, MW as NM_CONTROL_MENU_CSS_VARS, OC as NM_CONTROL_SHAPES, hW as NM_DRAWER_SIDES, pw as NM_DROPDOWN_ALIGN, q as NM_DROPDOWN_CLASSES, gw as NM_DROPDOWN_GAP_PX, hw as NM_DROPDOWN_REVEAL, _w as NM_DROPDOWN_SCROLL_IDLE_MS, mw as NM_DROPDOWN_SIDE, fw as NM_DROPDOWN_TONE, dw as NM_DROPDOWN_TRIGGER, TW as NM_EXTENDED_ICON_IDS, _M as NM_FIELD_CLASSES, hM as NM_FIELD_KINDS, gM as NM_FIELD_LAYOUT, Bz as NM_FONT_WEIGHTS, SW as NM_HEADER_ICON_IDS, CW as NM_HEADER_ICON_SRC, og as NM_ICONS, wW as NM_ICON_BORDER_CLASSES, NC as NM_ICON_BUTTON_CLASSES, MC as NM_ICON_BUTTON_TONES, ag as NM_ICON_IDS, QB as NM_LIST_ITEM_CLASSES, mW as NM_LOGS_PANEL_CLASSES, cC as NM_LUCIDE_EXTENDED, lC as NM_LUCIDE_FILLED_IDS, J as NM_MESSAGE_CLASSES, AT as NM_MESSAGE_ICON_GLYPH, kT as NM_MESSAGE_ICON_IDS, jT as NM_MESSAGE_ICON_SRC, sV as NM_MODAL_ACTION, lV as NM_MODAL_CLASSES, oV as NM_MODAL_FOOTER, cV as NM_MODAL_SCROLL_IDLE_MS, aV as NM_MODAL_SIZE, iV as NM_MODAL_TITLE, $V as NM_PANEL_BAR_CLASSES, QV as NM_PANEL_BAR_LAYOUT, zV as NM_PANEL_MEASURES, RV as NM_PANEL_VARIANTS, aH as NM_QUESTIONNAIRE_CLASSES, iH as NM_QUESTIONNAIRE_COPY, nH as NM_QUESTIONNAIRE_SHORTCUTS, rH as NM_QUESTIONNAIRE_VARIANTS, kW as NM_RADIUS_CSS_VARS, AW as NM_RADIUS_FORMULAS, jW as NM_RADIUS_PRIMITIVE_FORMULAS, DW as NM_RADIUS_PRIMITIVE_PX, EW as NM_RADIUS_SCALE_VAR, OW as NM_RADIUS_SEMANTIC_OFFSET_SPACE, IW as NM_RAIL_FACE_HOLD_MS, NW as NM_RAIL_ICON_IDS, PW as NM_RAIL_ICON_SRC, FW as NM_RAIL_SCROLL_IDLE_MS, LW as NM_RAIL_SEARCH_DEBOUNCE_MS, JV as NM_SEGMENTED_CLASSES, qV as NM_SEGMENTED_TONES, kC as NM_SHAPE_ATTRIBUTE, yH as NM_SIDEBAR_BUTTON_SIZES, bH as NM_SIDEBAR_BUTTON_VARIANTS, _H as NM_SIDEBAR_COLLAPSIBLE, CH as NM_SIDEBAR_MOBILE_QUERY, SH as NM_SIDEBAR_PEEK_LEAVE_MS, xH as NM_SIDEBAR_SHORTCUT, hH as NM_SIDEBAR_SIDES, vH as NM_SIDEBAR_STATES, gH as NM_SIDEBAR_VARIANTS, TN as NM_SIDE_PANEL_KINDS, EN as NM_SIDE_PANEL_SIZES, Fz as NM_SITE_PALETTE, aM as NM_SMALL_ICON_BUTTON_CLASSES, iM as NM_SMALL_ICON_BUTTON_TONES, _U as NM_TABLE_SIZES, gU as NM_TABLE_VARIANTS, EU as NM_TABS_CLASSES, Xz as NM_THEME_PRESETS, PU as NM_TOGGLE_SIZES, NU as NM_TOGGLE_VARIANTS, lw as NM_TOOL_STATES, IU as NM_TOP_BAR_CLASSES, NT as NM_TRACE_GLYPH_PATHS, MT as NM_TRACE_STATUSES, zz as NM_UI_FONT_SIZE_PX, Vz as NM_UI_FONT_WEIGHT, Hz as NM_UI_ICON_SIZE_PX, Uz as NM_UI_RADIUS_PERCENT, Wz as NM_UI_SPACE_PERCENT, RC as NORDMAN_CHROME_ICONS, LC as NORDMAN_CHROME_ICON_IDS, BC as NORDMAN_ICON_BUTTON_VARIANTS, VU as NORDMAN_LOGIN_FIELDS, BU as NORDMAN_LOGIN_FORM_ID, UU as NORDMAN_LOGIN_INTERFACE, HU as NORDMAN_LOGIN_REVEAL, zU as NORDMAN_LOGIN_VIEWS, kE as NmAlert, ME as NmAlertAction, jE as NmAlertDescription, NE as NmAlertDialog, BE as NmAlertDialogAction, VE as NmAlertDialogCancel, FE as NmAlertDialogContent, zE as NmAlertDialogDescription, LE as NmAlertDialogFooter, IE as NmAlertDialogHeader, RE as NmAlertDialogTitle, PE as NmAlertDialogTrigger, AE as NmAlertTitle, UE as NmAvatar, KE as NmAvatarBadge, GE as NmAvatarFallback, qE as NmAvatarGroup, JE as NmAvatarGroupCount, WE as NmAvatarImage, nE as NmBadge, nD as NmBarOverflow, rD as NmBrandLogo, iD as NmBreadcrumb, uD as NmBreadcrumbEllipsis, oD as NmBreadcrumbItem, sD as NmBreadcrumbLink, aD as NmBreadcrumbList, cD as NmBreadcrumbPage, lD as NmBreadcrumbSeparator, eE as NmBubble, jC as NmButton, fD as NmButtonGroup, pD as NmButtonGroupSeparator, mD as NmButtonGroupText, yj as NmCalendar, Sj as NmCard, Ej as NmCardAction, Dj as NmCardContent, Tj as NmCardDescription, Oj as NmCardFooter, Cj as NmCardHeader, kj as NmCardMedia, wj as NmCardTitle, sE as NmChainOfThought, OE as NmChat, Bj as NmChatbox, Ij as NmChatboxIcon, Vj as NmCheckbox, cE as NmCheckpoint, CC as NmChip, YC as NmCodeBlock, QC as NmCodeBlockActions, aw as NmCodeBlockContent, $C as NmCodeBlockCopyButton, ow as NmCodeBlockFooter, XC as NmCodeBlockHeader, ew as NmCodeBlockLine, ZC as NmCodeBlockTitle, Hj as NmCollapsible, Wj as NmCollapsibleContent, Uj as NmCollapsibleTrigger, rM as NmCollectionBar, mM as NmCollectionGrid, $N as NmCollectionQuery, nP as NmCollectionRowMenu, iP as NmCollectionTable, dM as NmCollectionTileActions, eM as NmCollectionTitle, CN as NmColorPicker, xN as NmColorSwatch, vM as NmCombobox, bM as NmComboboxContent, CM as NmComboboxEmpty, wM as NmComboboxGroup, yM as NmComboboxInput, SM as NmComboboxItem, TM as NmComboboxLabel, xM as NmComboboxList, EM as NmComboboxSeparator, nz as NmCommand, mz as NmCommandDescription, rz as NmCommandDialog, sz as NmCommandEmpty, az as NmCommandFilters, lz as NmCommandGroup, hz as NmCommandIcon, iz as NmCommandInput, dz as NmCommandItem, fz as NmCommandItemActions, oz as NmCommandList, cz as NmCommandLoading, uz as NmCommandSeparator, pz as NmCommandShortcut, fB as NmComposer, lE as NmConfirmation, dE as NmContext, pB as NmContextMenu, hB as NmContextMenuContent, mB as NmContextMenuTrigger, yB as NmDatePicker, bB as NmDateRangePicker, wB as NmDateTimePicker, qR as NmDialog, QR as NmDialogBody, YR as NmDialogClose, XR as NmDialogContent, tz as NmDialogDescription, $R as NmDialogFooter, ZR as NmDialogHeader, ez as NmDialogTitle, JR as NmDialogTrigger, TB as NmDrawer, DB as NmDrawerClose, OB as NmDrawerContent, MB as NmDrawerDescription, AB as NmDrawerFooter, kB as NmDrawerHeader, jB as NmDrawerTitle, EB as NmDrawerTrigger, wT as NmDropdown, Kw as NmDropdownBranch, nT as NmDropdownMenu, dT as NmDropdownMenuCheckboxItem, iT as NmDropdownMenuContent, _T as NmDropdownMenuDot, aT as NmDropdownMenuGroup, sT as NmDropdownMenuItem, yT as NmDropdownMenuItems, oT as NmDropdownMenuLabel, fT as NmDropdownMenuRadioGroup, pT as NmDropdownMenuRadioItem, mT as NmDropdownMenuSeparator, hT as NmDropdownMenuShortcut, cT as NmDropdownMenuSub, uT as NmDropdownMenuSubContent, lT as NmDropdownMenuSubTrigger, gT as NmDropdownMenuText, rT as NmDropdownMenuTrigger, eT as NmDropdownOptions, Uw as NmDropdownPanel, XN as NmField, RB as NmFieldContent, VB as NmFieldDescription, HB as NmFieldError, IB as NmFieldGroup, zB as NmFieldLabel, FB as NmFieldLegend, UB as NmFieldSeparator, PB as NmFieldSet, BB as NmFieldTitle, mE as NmFileTree, LB as NmFormField, WB as NmGallery, GB as NmGalleryItem, TT as NmHoverCard, DT as NmHoverCardContent, ET as NmHoverCardTrigger, G as NmIcon, $j as NmIconBorder, hE as NmInlineCitation, mN as NmInput, KB as NmInputGroup, qB as NmInputGroupAddon, YB as NmInputGroupInput, JB as NmInputGroupText, rE as NmItem, XB as NmKbd, ZB as NmKbdGroup, NB as NmLabel, eV as NmListItem, hC as NmLucide, tV as NmMenubar, nV as NmMenubarMenu, rV as NmMenubarTrigger, aE as NmMessage, FT as NmMessageActions, RT as NmMessageMeta, NV as NmModal, PV as NmModalAction, gE as NmModelSelector, xB as NmMonthPicker, FV as NmNativeSelect, LV as NmNativeSelectOptGroup, IV as NmNativeSelectOption, BV as NmPanel, WV as NmPanelActions, tH as NmPanelBar, GV as NmPanelContent, UV as NmPanelDescription, KV as NmPanelFooter, VV as NmPanelHeader, HV as NmPanelTitle, _E as NmPlan, hN as NmPopover, _N as NmPopoverContent, bN as NmPopoverDescription, vN as NmPopoverHeader, yN as NmPopoverTitle, gN as NmPopoverTrigger, OT as NmProgress, wN as NmProse, lH as NmQuestionnaire, vE as NmQueue, uH as NmRadioGroup, dH as NmRadioGroupItem, mH as NmRailIcon, oE as NmReasoning, kN as NmResizeHandle, ZV as NmSegmented, DM as NmSelect, AM as NmSelectContent, MM as NmSelectGroup, jM as NmSelectItem, NM as NmSelectLabel, PM as NmSelectSeparator, OM as NmSelectTrigger, kM as NmSelectValue, dD as NmSeparator, iE as NmSheet, BN as NmSidePanel, VN as NmSidePanelBody, HN as NmSidePanelKinds, IH as NmSidebar, tU as NmSidebarBar, cU as NmSidebarChevron, GH as NmSidebarContent, lU as NmSidebarDropdownMenu, UH as NmSidebarFooter, KH as NmSidebarGroup, JH as NmSidebarGroupAction, YH as NmSidebarGroupContent, qH as NmSidebarGroupLabel, HH as NmSidebarHeader, VH as NmSidebarInput, BH as NmSidebarInset, XH as NmSidebarMenu, $H as NmSidebarMenuAction, eU as NmSidebarMenuActions, nU as NmSidebarMenuBadge, QH as NmSidebarMenuButton, ZH as NmSidebarMenuItem, iU as NmSidebarMenuSkeleton, aU as NmSidebarMenuSub, sU as NmSidebarMenuSubButton, oU as NmSidebarMenuSubItem, rU as NmSidebarMenuText, FH as NmSidebarProvider, zH as NmSidebarRail, WH as NmSidebarSeparator, LH as NmSidebarTrigger, RH as NmSidebarTriggerSpace, wH as NmSkeleton, uU as NmSlider, cM as NmSmallIconButton, bE as NmSources, dU as NmSpinner, SE as NmStackTrace, fU as NmStatusBar, pU as NmStatusBarItem, mU as NmStatusBarSpacer, EE as NmSubagent, DE as NmSuggestions, hU as NmSwitch, vU as NmTable, bU as NmTableBody, TU as NmTableCaption, wU as NmTableCell, xU as NmTableFooter, CU as NmTableHead, yU as NmTableHeader, SU as NmTableRow, OU as NmTabs, MU as NmTabsContent, AU as NmTabsList, kU as NmTabsRoot, jU as NmTabsTrigger, yE as NmTask, xE as NmTerminal, CE as NmTestResults, IT as NmTextShimmer, KN as NmTextarea, qN as NmTextareaPanel, CB as NmTimePicker, FU as NmToggle, TE as NmTool, AN as NmToolbar, PN as NmToolbarButton, jN as NmToolbarGroup, FN as NmToolbarInput, MN as NmToolbarSeparator, NN as NmToolbarSpacer, EH as NmTooltip, OH as NmTooltipContent, TH as NmTooltipProvider, DH as NmTooltipTrigger, RU as NmTopBar, HT as NmTrace, ZT as NmTraceBadge, XT as NmTraceBadges, UT as NmTraceCollapsible, GT as NmTraceCollapsibleContent, WT as NmTraceCollapsibleTrigger, YT as NmTraceDescription, VT as NmTraceGlyph, qT as NmTraceIcon, KT as NmTraceLine, JT as NmTraceTitle, IN as NmWorkspace, RN as NmWorkspaceBody, zN as NmWorkspaceFooter, LN as NmWorkspaceMain, GC as NordmanIconButton, cW as NordmanLogin, YU as NordmanLoginField, tW as NordmanLoginForgot, nW as NordmanLoginGoogle, oW as NordmanLoginHero, ZU as NordmanLoginRegister, iW as NordmanLoginReset, JU as NordmanLoginReveal, $U as NordmanLoginSignIn, uW as NordmanToggle, xG as applyAppearanceState, QW as applyThemePresetPalette, bG as clearAppliedAppearance, kz as contrastRatio, WW as createDefaultAppearanceState, tB as defaultThemePresetId, gG as deriveAppearanceTokens, bw as dropdownBranchPath, Vw as dropdownPortalHost, qw as findDropdownItem, eB as findThemePreset, pC as hasNmLucide, Az as hexToHsl, Tz as hexToRgbTriplet, jz as hslToHex, Cz as isHexColor, vw as isNmDropdownSeparator, fC as isNmIconAnimated, ZW as mergeThemePresetColors, Dz as mixHex, Sw as nextExpandedBranches, cw as nmAiTraceStatus, DC as nmButtonClassName, IC as nmChatboxActionButtonClassName, F as nmClass, yw as nmDropdownSeparator, Iw as nmDropdownViewportMaxHeight, bW as nmFade, tw as nmHighlightedLines, FC as nmIconButtonClassName, vW as nmSettleSeconds, wz as normalizeHexColor, xw as openDropdownBranch, GW as paletteForPreset, JW as parseAppearanceState, Lw as placeNmDropdownPanel, Rw as placeNmDropdownRowPanel, zw as placeNmDropdownSubpanel, SG as readCssLengthPx, CG as readNmRailRowStridePx, YW as readStoredAppearanceState, oG as resolveAccentHex, UW as resolveAppearanceScheme, _G as themeModeFromAppearance, eD as useBarOverflow, xW as useNmFade, MH as useOptionalSidebar, OV as useReportSaveDirty, NH as useSidebar, jH as useSidebarVisible, kV as useTrackSave, XW as writeStoredAppearanceState };
|
|
33472
|
+
export { Zz as NM_ACCENT_HEX, Yz as NM_ACCENT_PRESETS, uw as NM_AI_BADGE_TONES, K as NM_AI_CLASSES, sw as NM_AI_STATUS, Lz as NM_APPEARANCE_APPLIED_EVENT, Jz as NM_APPEARANCE_CONTRAST, $z as NM_APPEARANCE_CSS_VARS, Qz as NM_APPEARANCE_DEFAULTS, Rz as NM_APPEARANCE_MODES, Iz as NM_APPEARANCE_STORAGE_KEY, _W as NM_APP_PANEL_CLASSES, gW as NM_APP_PANEL_ICON_SRC, hW as NM_APP_PANEL_TABS, HE as NM_AVATAR_SIZES, YE as NM_BAR_OVERFLOW_CLASSES, XE as NM_BAR_OVERFLOW_TEST_IDS, qz as NM_BORDER_ATTRIBUTE, Kz as NM_BORDER_STRENGTH, Gz as NM_BORDER_STYLES, EC as NM_BUTTON_CLASSES, TC as NM_BUTTON_SIZES, wC as NM_BUTTON_TONES, xj as NM_CARD_SIZES, bj as NM_CARD_VARIANTS, PC as NM_CHATBOX_ACTION_CLASS, Lj as NM_CHATBOX_CLASSES, Nj as NM_CHATBOX_COMPOSER_ACTION_ICONS, Pj as NM_CHATBOX_DURING_RUN_MENU_ICONS, Aj as NM_CHATBOX_ICON_IDS, Mj as NM_CHATBOX_ICON_SRC, jj as NM_CHATBOX_INTEGRATION_ICON_PATH, Fj as NM_CHATBOX_LUCIDE_MAP, Rj as NM_CHATBOX_MENU_MODE, SC as NM_CHIP_SIZES, xC as NM_CHIP_TONES, qC as NM_CODE_BLOCK_SIZES, KC as NM_CODE_BLOCK_VARIANTS, nw as NM_CODE_LANGUAGES, Xj as NM_COLLECTION_ACTIONS, Yj as NM_COLLECTION_CLASSES, Gj as NM_COLLECTION_FILES_REFRESH_MS, Jj as NM_COLLECTION_ICON_SRC, Zj as NM_COLLECTION_MEDIA_KINDS, Kj as NM_COLLECTION_SCROLL_IDLE_MS, qj as NM_COLLECTION_VIEWS, Q as NM_COMPOSER_CLASSES, gz as NM_COMPOSER_COPY, _z as NM_COMPOSER_INLINE_MARK, vz as NM_COMPOSER_SHAPE_ATTRIBUTE, IW as NM_CONTROL_MENU_CSS_VARS, OC as NM_CONTROL_SHAPES, yW as NM_DRAWER_SIDES, pw as NM_DROPDOWN_ALIGN, q as NM_DROPDOWN_CLASSES, gw as NM_DROPDOWN_GAP_PX, hw as NM_DROPDOWN_REVEAL, _w as NM_DROPDOWN_SCROLL_IDLE_MS, mw as NM_DROPDOWN_SIDE, fw as NM_DROPDOWN_TONE, dw as NM_DROPDOWN_TRIGGER, kW as NM_EXTENDED_ICON_IDS, _M as NM_FIELD_CLASSES, hM as NM_FIELD_KINDS, gM as NM_FIELD_LAYOUT, Bz as NM_FONT_WEIGHTS, EW as NM_HEADER_ICON_IDS, DW as NM_HEADER_ICON_SRC, og as NM_ICONS, OW as NM_ICON_BORDER_CLASSES, NC as NM_ICON_BUTTON_CLASSES, MC as NM_ICON_BUTTON_TONES, ag as NM_ICON_IDS, QB as NM_LIST_ITEM_CLASSES, vW as NM_LOGS_PANEL_CLASSES, cC as NM_LUCIDE_EXTENDED, lC as NM_LUCIDE_FILLED_IDS, J as NM_MESSAGE_CLASSES, AT as NM_MESSAGE_ICON_GLYPH, kT as NM_MESSAGE_ICON_IDS, jT as NM_MESSAGE_ICON_SRC, sV as NM_MODAL_ACTION, lV as NM_MODAL_CLASSES, oV as NM_MODAL_FOOTER, cV as NM_MODAL_SCROLL_IDLE_MS, aV as NM_MODAL_SIZE, iV as NM_MODAL_TITLE, $V as NM_PANEL_BAR_CLASSES, QV as NM_PANEL_BAR_LAYOUT, zV as NM_PANEL_MEASURES, RV as NM_PANEL_VARIANTS, aH as NM_QUESTIONNAIRE_CLASSES, iH as NM_QUESTIONNAIRE_COPY, nH as NM_QUESTIONNAIRE_SHORTCUTS, rH as NM_QUESTIONNAIRE_VARIANTS, NW as NM_RADIUS_CSS_VARS, PW as NM_RADIUS_FORMULAS, FW as NM_RADIUS_PRIMITIVE_FORMULAS, jW as NM_RADIUS_PRIMITIVE_PX, AW as NM_RADIUS_SCALE_VAR, MW as NM_RADIUS_SEMANTIC_OFFSET_SPACE, BW as NM_RAIL_FACE_HOLD_MS, LW as NM_RAIL_ICON_IDS, RW as NM_RAIL_ICON_SRC, zW as NM_RAIL_SCROLL_IDLE_MS, VW as NM_RAIL_SEARCH_DEBOUNCE_MS, JV as NM_SEGMENTED_CLASSES, qV as NM_SEGMENTED_TONES, kC as NM_SHAPE_ATTRIBUTE, yH as NM_SIDEBAR_BUTTON_SIZES, bH as NM_SIDEBAR_BUTTON_VARIANTS, _H as NM_SIDEBAR_COLLAPSIBLE, CH as NM_SIDEBAR_MOBILE_QUERY, SH as NM_SIDEBAR_PEEK_LEAVE_MS, xH as NM_SIDEBAR_SHORTCUT, hH as NM_SIDEBAR_SIDES, vH as NM_SIDEBAR_STATES, gH as NM_SIDEBAR_VARIANTS, TN as NM_SIDE_PANEL_KINDS, EN as NM_SIDE_PANEL_SIZES, Fz as NM_SITE_PALETTE, aM as NM_SMALL_ICON_BUTTON_CLASSES, iM as NM_SMALL_ICON_BUTTON_TONES, xU as NM_TABLE_SIZES, bU as NM_TABLE_VARIANTS, AU as NM_TABS_CLASSES, Xz as NM_THEME_PRESETS, RU as NM_TOGGLE_SIZES, LU as NM_TOGGLE_VARIANTS, lw as NM_TOOL_STATES, BU as NM_TOP_BAR_CLASSES, NT as NM_TRACE_GLYPH_PATHS, MT as NM_TRACE_STATUSES, zz as NM_UI_FONT_SIZE_PX, Vz as NM_UI_FONT_WEIGHT, Hz as NM_UI_ICON_SIZE_PX, Uz as NM_UI_RADIUS_PERCENT, Wz as NM_UI_SPACE_PERCENT, RC as NORDMAN_CHROME_ICONS, LC as NORDMAN_CHROME_ICON_IDS, BC as NORDMAN_ICON_BUTTON_VARIANTS, GU as NORDMAN_LOGIN_FIELDS, WU as NORDMAN_LOGIN_FORM_ID, qU as NORDMAN_LOGIN_INTERFACE, KU as NORDMAN_LOGIN_REVEAL, UU as NORDMAN_LOGIN_VIEWS, kE as NmAlert, ME as NmAlertAction, jE as NmAlertDescription, NE as NmAlertDialog, BE as NmAlertDialogAction, VE as NmAlertDialogCancel, FE as NmAlertDialogContent, zE as NmAlertDialogDescription, LE as NmAlertDialogFooter, IE as NmAlertDialogHeader, RE as NmAlertDialogTitle, PE as NmAlertDialogTrigger, AE as NmAlertTitle, UE as NmAvatar, KE as NmAvatarBadge, GE as NmAvatarFallback, qE as NmAvatarGroup, JE as NmAvatarGroupCount, WE as NmAvatarImage, nE as NmBadge, nD as NmBarOverflow, rD as NmBrandLogo, iD as NmBreadcrumb, uD as NmBreadcrumbEllipsis, oD as NmBreadcrumbItem, sD as NmBreadcrumbLink, aD as NmBreadcrumbList, cD as NmBreadcrumbPage, lD as NmBreadcrumbSeparator, eE as NmBubble, jC as NmButton, fD as NmButtonGroup, pD as NmButtonGroupSeparator, mD as NmButtonGroupText, yj as NmCalendar, Sj as NmCard, Ej as NmCardAction, Dj as NmCardContent, Tj as NmCardDescription, Oj as NmCardFooter, Cj as NmCardHeader, kj as NmCardMedia, wj as NmCardTitle, sE as NmChainOfThought, OE as NmChat, Bj as NmChatbox, Ij as NmChatboxIcon, Vj as NmCheckbox, cE as NmCheckpoint, CC as NmChip, YC as NmCodeBlock, QC as NmCodeBlockActions, aw as NmCodeBlockContent, $C as NmCodeBlockCopyButton, ow as NmCodeBlockFooter, XC as NmCodeBlockHeader, ew as NmCodeBlockLine, ZC as NmCodeBlockTitle, Hj as NmCollapsible, Wj as NmCollapsibleContent, Uj as NmCollapsibleTrigger, rM as NmCollectionBar, mM as NmCollectionGrid, $N as NmCollectionQuery, nP as NmCollectionRowMenu, iP as NmCollectionTable, dM as NmCollectionTileActions, eM as NmCollectionTitle, CN as NmColorPicker, xN as NmColorSwatch, vM as NmCombobox, bM as NmComboboxContent, CM as NmComboboxEmpty, wM as NmComboboxGroup, yM as NmComboboxInput, SM as NmComboboxItem, TM as NmComboboxLabel, xM as NmComboboxList, EM as NmComboboxSeparator, nz as NmCommand, mz as NmCommandDescription, rz as NmCommandDialog, sz as NmCommandEmpty, az as NmCommandFilters, lz as NmCommandGroup, hz as NmCommandIcon, iz as NmCommandInput, dz as NmCommandItem, fz as NmCommandItemActions, oz as NmCommandList, cz as NmCommandLoading, uz as NmCommandSeparator, pz as NmCommandShortcut, fB as NmComposer, lE as NmConfirmation, dE as NmContext, pB as NmContextMenu, hB as NmContextMenuContent, mB as NmContextMenuTrigger, yB as NmDatePicker, bB as NmDateRangePicker, wB as NmDateTimePicker, qR as NmDialog, QR as NmDialogBody, YR as NmDialogClose, XR as NmDialogContent, tz as NmDialogDescription, $R as NmDialogFooter, ZR as NmDialogHeader, ez as NmDialogTitle, JR as NmDialogTrigger, TB as NmDrawer, DB as NmDrawerClose, OB as NmDrawerContent, MB as NmDrawerDescription, AB as NmDrawerFooter, kB as NmDrawerHeader, jB as NmDrawerTitle, EB as NmDrawerTrigger, wT as NmDropdown, Kw as NmDropdownBranch, nT as NmDropdownMenu, dT as NmDropdownMenuCheckboxItem, iT as NmDropdownMenuContent, _T as NmDropdownMenuDot, aT as NmDropdownMenuGroup, sT as NmDropdownMenuItem, yT as NmDropdownMenuItems, oT as NmDropdownMenuLabel, fT as NmDropdownMenuRadioGroup, pT as NmDropdownMenuRadioItem, mT as NmDropdownMenuSeparator, hT as NmDropdownMenuShortcut, cT as NmDropdownMenuSub, uT as NmDropdownMenuSubContent, lT as NmDropdownMenuSubTrigger, gT as NmDropdownMenuText, rT as NmDropdownMenuTrigger, eT as NmDropdownOptions, Uw as NmDropdownPanel, XN as NmField, RB as NmFieldContent, VB as NmFieldDescription, HB as NmFieldError, IB as NmFieldGroup, zB as NmFieldLabel, FB as NmFieldLegend, UB as NmFieldSeparator, PB as NmFieldSet, BB as NmFieldTitle, mE as NmFileTree, LB as NmFormField, WB as NmGallery, GB as NmGalleryItem, TT as NmHoverCard, DT as NmHoverCardContent, ET as NmHoverCardTrigger, G as NmIcon, $j as NmIconBorder, hE as NmInlineCitation, mN as NmInput, KB as NmInputGroup, qB as NmInputGroupAddon, YB as NmInputGroupInput, JB as NmInputGroupText, rE as NmItem, XB as NmKbd, ZB as NmKbdGroup, NB as NmLabel, eV as NmListItem, hC as NmLucide, tV as NmMenubar, nV as NmMenubarMenu, rV as NmMenubarTrigger, aE as NmMessage, FT as NmMessageActions, RT as NmMessageMeta, NV as NmModal, PV as NmModalAction, gE as NmModelSelector, xB as NmMonthPicker, FV as NmNativeSelect, LV as NmNativeSelectOptGroup, IV as NmNativeSelectOption, BV as NmPanel, WV as NmPanelActions, tH as NmPanelBar, GV as NmPanelContent, UV as NmPanelDescription, KV as NmPanelFooter, VV as NmPanelHeader, HV as NmPanelTitle, _E as NmPlan, hN as NmPopover, _N as NmPopoverContent, bN as NmPopoverDescription, vN as NmPopoverHeader, yN as NmPopoverTitle, gN as NmPopoverTrigger, OT as NmProgress, wN as NmProse, lH as NmQuestionnaire, vE as NmQueue, uH as NmRadioGroup, dH as NmRadioGroupItem, mH as NmRailIcon, oE as NmReasoning, kN as NmResizeHandle, ZV as NmSegmented, DM as NmSelect, AM as NmSelectContent, MM as NmSelectGroup, jM as NmSelectItem, NM as NmSelectLabel, PM as NmSelectSeparator, OM as NmSelectTrigger, kM as NmSelectValue, dD as NmSeparator, iE as NmSheet, BN as NmSidePanel, VN as NmSidePanelBody, HN as NmSidePanelKinds, IH as NmSidebar, tU as NmSidebarBar, nU as NmSidebarBrand, fU as NmSidebarChevron, GH as NmSidebarContent, pU as NmSidebarDropdownMenu, UH as NmSidebarFooter, KH as NmSidebarGroup, JH as NmSidebarGroupAction, YH as NmSidebarGroupContent, qH as NmSidebarGroupLabel, HH as NmSidebarHeader, VH as NmSidebarInput, BH as NmSidebarInset, XH as NmSidebarMenu, $H as NmSidebarMenuAction, eU as NmSidebarMenuActions, oU as NmSidebarMenuBadge, QH as NmSidebarMenuButton, ZH as NmSidebarMenuItem, cU as NmSidebarMenuSkeleton, lU as NmSidebarMenuSub, dU as NmSidebarMenuSubButton, uU as NmSidebarMenuSubItem, sU as NmSidebarMenuText, FH as NmSidebarProvider, zH as NmSidebarRail, aU as NmSidebarResizer, WH as NmSidebarSeparator, LH as NmSidebarTrigger, RH as NmSidebarTriggerSpace, wH as NmSkeleton, mU as NmSlider, cM as NmSmallIconButton, bE as NmSources, hU as NmSpinner, SE as NmStackTrace, gU as NmStatusBar, _U as NmStatusBarItem, vU as NmStatusBarSpacer, EE as NmSubagent, DE as NmSuggestions, yU as NmSwitch, SU as NmTable, wU as NmTableBody, kU as NmTableCaption, OU as NmTableCell, TU as NmTableFooter, DU as NmTableHead, CU as NmTableHeader, EU as NmTableRow, MU as NmTabs, IU as NmTabsContent, PU as NmTabsList, NU as NmTabsRoot, FU as NmTabsTrigger, yE as NmTask, xE as NmTerminal, CE as NmTestResults, IT as NmTextShimmer, KN as NmTextarea, qN as NmTextareaPanel, CB as NmTimePicker, zU as NmToggle, TE as NmTool, AN as NmToolbar, PN as NmToolbarButton, jN as NmToolbarGroup, FN as NmToolbarInput, MN as NmToolbarSeparator, NN as NmToolbarSpacer, EH as NmTooltip, OH as NmTooltipContent, TH as NmTooltipProvider, DH as NmTooltipTrigger, HU as NmTopBar, HT as NmTrace, ZT as NmTraceBadge, XT as NmTraceBadges, UT as NmTraceCollapsible, GT as NmTraceCollapsibleContent, WT as NmTraceCollapsibleTrigger, YT as NmTraceDescription, VT as NmTraceGlyph, qT as NmTraceIcon, KT as NmTraceLine, JT as NmTraceTitle, IN as NmWorkspace, RN as NmWorkspaceBody, zN as NmWorkspaceFooter, LN as NmWorkspaceMain, GC as NordmanIconButton, fW as NordmanLogin, $U as NordmanLoginField, aW as NordmanLoginForgot, oW as NordmanLoginGoogle, uW as NordmanLoginHero, tW as NordmanLoginRegister, cW as NordmanLoginReset, QU as NordmanLoginReveal, rW as NordmanLoginSignIn, mW as NordmanToggle, TG as applyAppearanceState, nG as applyThemePresetPalette, wG as clearAppliedAppearance, kz as contrastRatio, JW as createDefaultAppearanceState, tB as defaultThemePresetId, bG as deriveAppearanceTokens, bw as dropdownBranchPath, Vw as dropdownPortalHost, qw as findDropdownItem, eB as findThemePreset, pC as hasNmLucide, Az as hexToHsl, Tz as hexToRgbTriplet, jz as hslToHex, Cz as isHexColor, vw as isNmDropdownSeparator, fC as isNmIconAnimated, tG as mergeThemePresetColors, Dz as mixHex, Sw as nextExpandedBranches, cw as nmAiTraceStatus, DC as nmButtonClassName, IC as nmChatboxActionButtonClassName, F as nmClass, yw as nmDropdownSeparator, Iw as nmDropdownViewportMaxHeight, wW as nmFade, tw as nmHighlightedLines, FC as nmIconButtonClassName, SW as nmSettleSeconds, wz as normalizeHexColor, xw as openDropdownBranch, YW as paletteForPreset, QW as parseAppearanceState, Lw as placeNmDropdownPanel, Rw as placeNmDropdownRowPanel, zw as placeNmDropdownSubpanel, EG as readCssLengthPx, DG as readNmRailRowStridePx, $W as readStoredAppearanceState, uG as resolveAccentHex, qW as resolveAppearanceScheme, xG as themeModeFromAppearance, eD as useBarOverflow, TW as useNmFade, MH as useOptionalSidebar, OV as useReportSaveDirty, NH as useSidebar, jH as useSidebarVisible, kV as useTrackSave, eG as writeStoredAppearanceState };
|