@a4ui/core 0.11.0 → 0.11.1

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 CHANGED
@@ -1,38 +1,38 @@
1
1
  import { c as _ } from "./cn-B6yFEsav.js";
2
- import { createSignal as z, createEffect as J, untrack as Tt, onCleanup as X, onMount as ee, For as A, createMemo as K, Show as E, createUniqueId as ir, useContext as ar, createContext as sr, splitProps as ie, Index as Qe, ErrorBoundary as dr, Suspense as cr } from "solid-js";
3
- import { animate as Lt } from "motion";
4
- import { animate as jc, inView as Nc, scroll as Yc, spring as Hc, stagger as Vc } from "motion";
5
- import { createComponent as n, memo as W, template as m, insert as a, effect as k, setAttribute as F, className as D, delegateEvents as H, Portal as fe, setStyleProperty as O, use as Y, classList as Ft, spread as ae, mergeProps as se, Dynamic as Dt, style as It, addEventListener as ur } from "solid-js/web";
2
+ import { createSignal as z, createEffect as J, untrack as Lt, onCleanup as X, onMount as ee, For as A, createMemo as K, Show as E, createUniqueId as ir, useContext as ar, createContext as sr, splitProps as ie, Index as Qe, ErrorBoundary as dr, Suspense as cr } from "solid-js";
3
+ import { animate as et, inView as ur } from "motion";
4
+ import { animate as Yc, inView as Hc, scroll as Vc, spring as Uc, stagger as Gc } from "motion";
5
+ import { createComponent as n, memo as W, template as m, insert as a, effect as k, setAttribute as F, className as D, delegateEvents as H, Portal as fe, setStyleProperty as O, use as Y, classList as Ft, spread as ae, mergeProps as se, Dynamic as Dt, style as It, addEventListener as gr } from "solid-js/web";
6
6
  import { Accordion as $e } from "@kobalte/core/accordion";
7
- import { a as ge, C as gr, c as fr } from "./Checkbox-DQcDOBLd.js";
8
- import { B as Gc, d as Kc, e as qc, b as Xc, R as Wc } from "./Checkbox-DQcDOBLd.js";
9
- import { ChevronsLeft as mr, ChevronLeft as De, ChevronRight as de, ChevronsRight as hr, CalendarDays as At, Clock as vr, File as lt, Check as Pe, X as me, ChevronDown as Ae, UploadCloud as xr, CircleX as zt, TriangleAlert as Rt, CircleCheck as Ot, Info as Pt, ChevronsUpDown as Bt, Inbox as br, ServerCrash as $r, Compass as wr, ArrowUp as yr, Plus as pr, ChevronUp as _r, Bell as kr, GripVertical as ot, Satellite as Cr, Moon as Sr, Sun as Er, Sparkles as Mr } from "lucide-solid";
7
+ import { a as ge, C as fr, c as mr } from "./Checkbox-DQcDOBLd.js";
8
+ import { B as qc, d as Xc, e as Wc, b as Jc, R as Zc } from "./Checkbox-DQcDOBLd.js";
9
+ import { ChevronsLeft as hr, ChevronLeft as De, ChevronRight as de, ChevronsRight as vr, CalendarDays as At, Clock as xr, File as ot, Check as Pe, X as me, ChevronDown as Ae, UploadCloud as br, CircleX as zt, TriangleAlert as Rt, CircleCheck as Ot, Info as Pt, ChevronsUpDown as Bt, Inbox as $r, ServerCrash as wr, Compass as yr, ArrowUp as pr, Plus as _r, ChevronUp as kr, Bell as Cr, GripVertical as it, Satellite as Sr, Moon as Er, Sun as Mr, Sparkles as Tr } from "lucide-solid";
10
10
  import { Progress as we } from "@kobalte/core/progress";
11
11
  import { Dialog as G } from "@kobalte/core/dialog";
12
12
  import { DropdownMenu as ye } from "@kobalte/core/dropdown-menu";
13
- import { createVirtualizer as Tr } from "@tanstack/solid-virtual";
13
+ import { createVirtualizer as Lr } from "@tanstack/solid-virtual";
14
14
  import { Tabs as pe } from "@kobalte/core/tabs";
15
- import { Toast as xe, toaster as Lr } from "@kobalte/core/toast";
15
+ import { Toast as xe, toaster as Fr } from "@kobalte/core/toast";
16
16
  import { Switch as _e } from "@kobalte/core/switch";
17
17
  import { RadioGroup as ce } from "@kobalte/core/radio-group";
18
18
  import { Tooltip as ke } from "@kobalte/core/tooltip";
19
19
  import { Popover as Ce } from "@kobalte/core/popover";
20
20
  import { HoverCard as Se } from "@kobalte/core/hover-card";
21
- import { Alert as Fr } from "@kobalte/core/alert";
21
+ import { Alert as Dr } from "@kobalte/core/alert";
22
22
  import { Image as Ne } from "@kobalte/core/image";
23
- import { Separator as Dr } from "@kobalte/core/separator";
23
+ import { Separator as Ir } from "@kobalte/core/separator";
24
24
  import { Meter as Ee } from "@kobalte/core/meter";
25
25
  import { Slider as ue } from "@kobalte/core/slider";
26
26
  import { NumberField as ze } from "@kobalte/core/number-field";
27
- import { ToggleButton as Ir } from "@kobalte/core/toggle-button";
28
- import { ToggleGroup as it } from "@kobalte/core/toggle-group";
27
+ import { ToggleButton as Ar } from "@kobalte/core/toggle-button";
28
+ import { ToggleGroup as at } from "@kobalte/core/toggle-group";
29
29
  import { SegmentedControl as Me } from "@kobalte/core/segmented-control";
30
30
  import { Breadcrumbs as Ye } from "@kobalte/core/breadcrumbs";
31
31
  import { AlertDialog as he } from "@kobalte/core/alert-dialog";
32
32
  import { ContextMenu as Te } from "@kobalte/core/context-menu";
33
33
  import { Combobox as oe } from "@kobalte/core/combobox";
34
34
  const jt = "a4ui-theme";
35
- function Ar(e) {
35
+ function zr(e) {
36
36
  return e === "dark" || e === "light";
37
37
  }
38
38
  function Nt() {
@@ -42,32 +42,32 @@ function Nt() {
42
42
  return null;
43
43
  }
44
44
  }
45
- function zr() {
45
+ function Rr() {
46
46
  var t;
47
47
  const e = ((t = Nt()) == null ? void 0 : t.getItem(jt)) ?? null;
48
- return Ar(e) ? e : "dark";
48
+ return zr(e) ? e : "dark";
49
49
  }
50
50
  function Yt(e) {
51
51
  if (typeof document > "u") return;
52
52
  const t = document.documentElement;
53
53
  e === "light" ? t.setAttribute("data-theme", "light") : t.removeAttribute("data-theme");
54
54
  }
55
- function Rr(e) {
55
+ function Or(e) {
56
56
  var t;
57
57
  (t = Nt()) == null || t.setItem(jt, e), Yt(e);
58
58
  }
59
- function Or(e) {
59
+ function Pr(e) {
60
60
  return e === "dark" ? "light" : "dark";
61
61
  }
62
- const Ht = zr();
62
+ const Ht = Rr();
63
63
  Yt(Ht);
64
- const [Vt, Pr] = z(Ht);
64
+ const [Vt, Br] = z(Ht);
65
65
  function Ut() {
66
66
  return Vt;
67
67
  }
68
- function Br() {
69
- const e = Or(Vt());
70
- Rr(e), Pr(e);
68
+ function jr() {
69
+ const e = Pr(Vt());
70
+ Or(e), Br(e);
71
71
  }
72
72
  const Gt = "a4ui-effects";
73
73
  function Kt() {
@@ -77,7 +77,7 @@ function Kt() {
77
77
  return null;
78
78
  }
79
79
  }
80
- function jr() {
80
+ function Nr() {
81
81
  var t;
82
82
  try {
83
83
  if (new URLSearchParams(window.location.search).get("calm") === "1") return !1;
@@ -89,22 +89,22 @@ function jr() {
89
89
  function qt(e) {
90
90
  typeof document > "u" || document.documentElement.classList.toggle("calm", !e);
91
91
  }
92
- const Xt = jr();
92
+ const Xt = Nr();
93
93
  qt(Xt);
94
- const [Wt, Nr] = z(Xt);
95
- function Yr() {
94
+ const [Wt, Yr] = z(Xt);
95
+ function Hr() {
96
96
  return Wt;
97
97
  }
98
- function Hr() {
98
+ function Vr() {
99
99
  return !Wt();
100
100
  }
101
- function Vr(e) {
101
+ function Ur(e) {
102
102
  var t;
103
- (t = Kt()) == null || t.setItem(Gt, e ? "1" : "0"), qt(e), Nr(e);
103
+ (t = Kt()) == null || t.setItem(Gt, e ? "1" : "0"), qt(e), Yr(e);
104
104
  }
105
- const Ur = "(prefers-reduced-motion: reduce)";
106
- function Gr() {
107
- return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia(Ur).matches;
105
+ const Gr = "(prefers-reduced-motion: reduce)";
106
+ function Kr() {
107
+ return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia(Gr).matches;
108
108
  }
109
109
  const Jt = "a4ui-motion-forced";
110
110
  function Zt() {
@@ -114,20 +114,20 @@ function Zt() {
114
114
  return null;
115
115
  }
116
116
  }
117
- var Mt;
118
- const [et, Kr] = z(((Mt = Zt()) == null ? void 0 : Mt.getItem(Jt)) === "1");
119
- typeof document < "u" && document.documentElement.classList.toggle("force-motion", Tt(et));
120
- function td() {
121
- return et;
117
+ var Tt;
118
+ const [tt, qr] = z(((Tt = Zt()) == null ? void 0 : Tt.getItem(Jt)) === "1");
119
+ typeof document < "u" && document.documentElement.classList.toggle("force-motion", Lt(tt));
120
+ function rd() {
121
+ return tt;
122
122
  }
123
- function rd(e) {
123
+ function nd(e) {
124
124
  var t;
125
- (t = Zt()) == null || t.setItem(Jt, e ? "1" : "0"), typeof document < "u" && document.documentElement.classList.toggle("force-motion", e), Kr(e);
125
+ (t = Zt()) == null || t.setItem(Jt, e ? "1" : "0"), typeof document < "u" && document.documentElement.classList.toggle("force-motion", e), qr(e);
126
126
  }
127
127
  function ne() {
128
- return Hr() || Gr() && !et();
128
+ return Vr() || Kr() && !tt();
129
129
  }
130
- function qr(e, t = 600) {
130
+ function Xr(e, t = 600) {
131
131
  const [l, r] = z(0);
132
132
  let i;
133
133
  return J(() => {
@@ -136,22 +136,39 @@ function qr(e, t = 600) {
136
136
  r(o);
137
137
  return;
138
138
  }
139
- const s = Tt(l);
140
- s !== o && (i = Lt(s, o, {
139
+ const s = Lt(l);
140
+ s !== o && (i = et(s, o, {
141
141
  duration: t / 1e3,
142
142
  ease: "easeOut",
143
143
  onUpdate: (d) => r(d)
144
144
  }));
145
145
  }), X(() => i == null ? void 0 : i.stop()), l;
146
146
  }
147
- function Xr(e, t = {}) {
148
- ne() || Lt(
147
+ function Wr(e, t = {}) {
148
+ ne() || et(
149
149
  e,
150
150
  { opacity: [0, 1], y: [t.y ?? 8, 0] },
151
151
  { duration: t.duration ?? 0.32, delay: t.delay ?? 0, ease: "easeOut" }
152
152
  );
153
153
  }
154
- function nd(e) {
154
+ function ld(e, t = {}) {
155
+ if (ne()) return () => {
156
+ };
157
+ e.style.opacity = "0";
158
+ let l = !1;
159
+ return ur(
160
+ e,
161
+ () => {
162
+ l || (l = !0, et(
163
+ e,
164
+ { opacity: [0, 1], y: [t.y ?? 16, 0] },
165
+ { duration: t.duration ?? 0.5, ease: "easeOut" }
166
+ ));
167
+ },
168
+ { amount: t.amount ?? 0.2 }
169
+ );
170
+ }
171
+ function od(e) {
155
172
  const t = typeof window < "u" ? window.matchMedia(e) : null, [l, r] = z(t ? t.matches : !1);
156
173
  if (t) {
157
174
  const i = (o) => r(o.matches);
@@ -159,7 +176,7 @@ function nd(e) {
159
176
  }
160
177
  return l;
161
178
  }
162
- function Wr(e, t) {
179
+ function Jr(e, t) {
163
180
  ee(() => {
164
181
  requestAnimationFrame(() => {
165
182
  const l = e();
@@ -167,8 +184,8 @@ function Wr(e, t) {
167
184
  });
168
185
  });
169
186
  }
170
- var Jr = /* @__PURE__ */ m('<svg class="h-3.5 w-3.5 shrink-0 transition-transform duration-200"viewBox="0 0 20 20"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M7 5l6 5-6 5">');
171
- function ld(e) {
187
+ var Zr = /* @__PURE__ */ m('<svg class="h-3.5 w-3.5 shrink-0 transition-transform duration-200"viewBox="0 0 20 20"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M7 5l6 5-6 5">');
188
+ function id(e) {
172
189
  return n($e, {
173
190
  get multiple() {
174
191
  return e.multiple ?? !1;
@@ -192,7 +209,7 @@ function ld(e) {
192
209
  return n($e.Trigger, {
193
210
  class: "flex w-full items-center justify-between py-3 text-sm font-medium text-foreground [&[data-expanded]>svg]:rotate-90",
194
211
  get children() {
195
- return [W(() => t.title), Jr()];
212
+ return [W(() => t.title), Zr()];
196
213
  }
197
214
  });
198
215
  }
@@ -208,13 +225,13 @@ function ld(e) {
208
225
  }
209
226
  });
210
227
  }
211
- var Zr = /* @__PURE__ */ m('<div class="mb-2 flex items-center justify-between gap-1"><div class="flex items-center"><button type=button class="grid h-7 w-7 place-items-center rounded-md text-foreground transition-colors hover:bg-muted"aria-label="Previous year"></button><button type=button class="grid h-7 w-7 place-items-center rounded-md text-foreground transition-colors hover:bg-muted"aria-label="Previous month"></button></div><div class="flex items-center gap-0.5"><button type=button class="rounded-md px-2 py-1 text-sm font-medium capitalize text-foreground transition-colors hover:bg-muted"></button><button type=button class="rounded-md px-2 py-1 text-sm font-medium capitalize text-foreground transition-colors hover:bg-muted"></button></div><div class="flex items-center"><button type=button class="grid h-7 w-7 place-items-center rounded-md text-foreground transition-colors hover:bg-muted"aria-label="Next month"></button><button type=button class="grid h-7 w-7 place-items-center rounded-md text-foreground transition-colors hover:bg-muted"aria-label="Next year">'), Qr = /* @__PURE__ */ m('<div class="mb-1 grid grid-cols-7 gap-0.5 text-center text-[11px] font-medium text-muted-foreground">'), en = /* @__PURE__ */ m('<div class="grid grid-cols-7 gap-0.5">'), at = /* @__PURE__ */ m('<div class="grid grid-cols-3 gap-1">'), tn = /* @__PURE__ */ m("<div>"), rn = /* @__PURE__ */ m('<div class="mb-2 flex items-center justify-between"><button type=button class="grid h-7 w-7 place-items-center rounded-md text-foreground transition-colors hover:bg-muted"aria-label=Previous></button><button type=button class="rounded-md px-2 py-1 text-sm font-medium capitalize text-foreground transition-colors hover:bg-muted"></button><button type=button class="grid h-7 w-7 place-items-center rounded-md text-foreground transition-colors hover:bg-muted"aria-label=Next>'), nn = /* @__PURE__ */ m("<span>"), He = /* @__PURE__ */ m("<button type=button>");
212
- const ln = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], on = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], ve = 12;
228
+ var Qr = /* @__PURE__ */ m('<div class="mb-2 flex items-center justify-between gap-1"><div class="flex items-center"><button type=button class="grid h-7 w-7 place-items-center rounded-md text-foreground transition-colors hover:bg-muted"aria-label="Previous year"></button><button type=button class="grid h-7 w-7 place-items-center rounded-md text-foreground transition-colors hover:bg-muted"aria-label="Previous month"></button></div><div class="flex items-center gap-0.5"><button type=button class="rounded-md px-2 py-1 text-sm font-medium capitalize text-foreground transition-colors hover:bg-muted"></button><button type=button class="rounded-md px-2 py-1 text-sm font-medium capitalize text-foreground transition-colors hover:bg-muted"></button></div><div class="flex items-center"><button type=button class="grid h-7 w-7 place-items-center rounded-md text-foreground transition-colors hover:bg-muted"aria-label="Next month"></button><button type=button class="grid h-7 w-7 place-items-center rounded-md text-foreground transition-colors hover:bg-muted"aria-label="Next year">'), en = /* @__PURE__ */ m('<div class="mb-1 grid grid-cols-7 gap-0.5 text-center text-[11px] font-medium text-muted-foreground">'), tn = /* @__PURE__ */ m('<div class="grid grid-cols-7 gap-0.5">'), st = /* @__PURE__ */ m('<div class="grid grid-cols-3 gap-1">'), rn = /* @__PURE__ */ m("<div>"), nn = /* @__PURE__ */ m('<div class="mb-2 flex items-center justify-between"><button type=button class="grid h-7 w-7 place-items-center rounded-md text-foreground transition-colors hover:bg-muted"aria-label=Previous></button><button type=button class="rounded-md px-2 py-1 text-sm font-medium capitalize text-foreground transition-colors hover:bg-muted"></button><button type=button class="grid h-7 w-7 place-items-center rounded-md text-foreground transition-colors hover:bg-muted"aria-label=Next>'), ln = /* @__PURE__ */ m("<span>"), He = /* @__PURE__ */ m("<button type=button>");
229
+ const on = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], an = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], ve = 12;
213
230
  function Re(e, t) {
214
231
  return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
215
232
  }
216
- function tt(e) {
217
- const t = () => e.months ?? ln, l = () => e.weekdays ?? on, r = () => e.weekStart ?? 0, i = e.initialView ?? e.selected ?? /* @__PURE__ */ new Date(), [o, s] = z(i.getFullYear()), [d, f] = z(i.getMonth()), [u, c] = z("days"), [g, b] = z(i.getFullYear() - i.getFullYear() % ve), v = (p) => {
233
+ function rt(e) {
234
+ const t = () => e.months ?? on, l = () => e.weekdays ?? an, r = () => e.weekStart ?? 0, i = e.initialView ?? e.selected ?? /* @__PURE__ */ new Date(), [o, s] = z(i.getFullYear()), [d, f] = z(i.getMonth()), [u, c] = z("days"), [g, b] = z(i.getFullYear() - i.getFullYear() % ve), v = (p) => {
218
235
  let C = d() + p, L = o();
219
236
  for (; C < 0; )
220
237
  C += 12, L -= 1;
@@ -235,14 +252,14 @@ function tt(e) {
235
252
  b(o() - o() % ve), c("years");
236
253
  };
237
254
  return (() => {
238
- var p = tn();
255
+ var p = rn();
239
256
  return a(p, n(E, {
240
257
  get when() {
241
258
  return u() === "days";
242
259
  },
243
260
  get fallback() {
244
261
  return (() => {
245
- var C = rn(), L = C.firstChild, S = L.nextSibling, M = S.nextSibling;
262
+ var C = nn(), L = C.firstChild, S = L.nextSibling, M = S.nextSibling;
246
263
  return L.$$click = () => u() === "months" ? y(-1) : b(g() - ve), a(L, n(De, {
247
264
  class: "h-4 w-4"
248
265
  })), S.$$click = () => c("days"), a(S, n(E, {
@@ -261,14 +278,14 @@ function tt(e) {
261
278
  })();
262
279
  },
263
280
  get children() {
264
- var C = Zr(), L = C.firstChild, S = L.firstChild, M = S.nextSibling, T = L.nextSibling, I = T.firstChild, P = I.nextSibling, R = T.nextSibling, B = R.firstChild, j = B.nextSibling;
265
- return S.$$click = () => y(-1), a(S, n(mr, {
281
+ var C = Qr(), L = C.firstChild, S = L.firstChild, M = S.nextSibling, T = L.nextSibling, I = T.firstChild, P = I.nextSibling, R = T.nextSibling, B = R.firstChild, j = B.nextSibling;
282
+ return S.$$click = () => y(-1), a(S, n(hr, {
266
283
  class: "h-4 w-4"
267
284
  })), M.$$click = () => v(-1), a(M, n(De, {
268
285
  class: "h-4 w-4"
269
286
  })), I.$$click = () => c("months"), a(I, () => t()[d()]), P.$$click = w, a(P, o), B.$$click = () => v(1), a(B, n(de, {
270
287
  class: "h-4 w-4"
271
- })), j.$$click = () => y(1), a(j, n(hr, {
288
+ })), j.$$click = () => y(1), a(j, n(vr, {
272
289
  class: "h-4 w-4"
273
290
  })), C;
274
291
  }
@@ -278,18 +295,18 @@ function tt(e) {
278
295
  },
279
296
  get children() {
280
297
  return [(() => {
281
- var C = Qr();
298
+ var C = en();
282
299
  return a(C, n(A, {
283
300
  get each() {
284
301
  return l();
285
302
  },
286
303
  children: (L) => (() => {
287
- var S = nn();
304
+ var S = ln();
288
305
  return a(S, L), S;
289
306
  })()
290
307
  })), C;
291
308
  })(), (() => {
292
- var C = en();
309
+ var C = tn();
293
310
  return a(C, n(A, {
294
311
  get each() {
295
312
  return x();
@@ -315,7 +332,7 @@ function tt(e) {
315
332
  return u() === "months";
316
333
  },
317
334
  get children() {
318
- var C = at();
335
+ var C = st();
319
336
  return a(C, n(A, {
320
337
  get each() {
321
338
  return t();
@@ -336,7 +353,7 @@ function tt(e) {
336
353
  return u() === "years";
337
354
  },
338
355
  get children() {
339
- var C = at();
356
+ var C = st();
340
357
  return a(C, n(A, {
341
358
  get each() {
342
359
  return $();
@@ -356,9 +373,9 @@ function tt(e) {
356
373
  })();
357
374
  }
358
375
  H(["click"]);
359
- var an = /* @__PURE__ */ m('<div class="z-50 w-72 rounded-lg border border-border bg-card p-3 text-card-foreground shadow-lg"style=position:fixed>'), sn = /* @__PURE__ */ m('<div><button type=button class="flex w-full items-center justify-between gap-2 rounded-md border border-input bg-background px-3 py-2 text-left text-sm text-foreground outline-none transition-colors a4-field disabled:cursor-not-allowed disabled:opacity-50"><span>');
360
- const dn = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"], st = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
361
- function cn(e) {
376
+ var sn = /* @__PURE__ */ m('<div class="z-50 w-72 rounded-lg border border-border bg-card p-3 text-card-foreground shadow-lg"style=position:fixed>'), dn = /* @__PURE__ */ m('<div><button type=button class="flex w-full items-center justify-between gap-2 rounded-md border border-input bg-background px-3 py-2 text-left text-sm text-foreground outline-none transition-colors a4-field disabled:cursor-not-allowed disabled:opacity-50"><span>');
377
+ const cn = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"], dt = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
378
+ function un(e) {
362
379
  const t = e.getFullYear(), l = `${e.getMonth() + 1}`.padStart(2, "0"), r = `${e.getDate()}`.padStart(2, "0");
363
380
  return `${t}-${l}-${r}`;
364
381
  }
@@ -366,11 +383,11 @@ function Qt(e) {
366
383
  const t = /^(\d{4})-(\d{2})-(\d{2})$/.exec(e);
367
384
  return t ? new Date(Number(t[1]), Number(t[2]) - 1, Number(t[3])) : null;
368
385
  }
369
- function dt(e, t) {
386
+ function ct(e, t) {
370
387
  const l = Qt(e);
371
388
  return l ? `${l.getDate()} ${t[l.getMonth()].slice(0, 3)} ${l.getFullYear()}` : null;
372
389
  }
373
- function un(e) {
390
+ function gn(e) {
374
391
  const [t, l] = z(!1);
375
392
  let r, i, o;
376
393
  const [s, d] = z({
@@ -395,13 +412,13 @@ function un(e) {
395
412
  };
396
413
  J(() => y(t())), X(() => y(!1));
397
414
  const x = K(() => Qt(e.value)), $ = (h) => {
398
- e.onChange(cn(h)), g();
415
+ e.onChange(un(h)), g();
399
416
  };
400
417
  return (() => {
401
- var h = sn(), w = h.firstChild, p = w.firstChild, C = r;
418
+ var h = dn(), w = h.firstChild, p = w.firstChild, C = r;
402
419
  typeof C == "function" ? Y(C, h) : r = h, w.$$click = () => t() ? g() : c();
403
420
  var L = i;
404
- return typeof L == "function" ? Y(L, w) : i = w, a(p, () => dt(e.value, e.months ?? st) ?? e.label ?? "Select date"), a(w, n(At, {
421
+ return typeof L == "function" ? Y(L, w) : i = w, a(p, () => ct(e.value, e.months ?? dt) ?? e.label ?? "Select date"), a(w, n(At, {
405
422
  class: "h-4 w-4 shrink-0 text-muted-foreground"
406
423
  }), null), a(h, n(E, {
407
424
  get when() {
@@ -410,8 +427,8 @@ function un(e) {
410
427
  get children() {
411
428
  return n(fe, {
412
429
  get children() {
413
- var S = an(), M = o;
414
- return typeof M == "function" ? Y(M, S) : o = S, a(S, n(tt, {
430
+ var S = sn(), M = o;
431
+ return typeof M == "function" ? Y(M, S) : o = S, a(S, n(rt, {
415
432
  get selected() {
416
433
  return x() ?? void 0;
417
434
  },
@@ -424,7 +441,7 @@ function un(e) {
424
441
  return e.months;
425
442
  },
426
443
  get weekdays() {
427
- return e.weekdays ?? dn;
444
+ return e.weekdays ?? cn;
428
445
  }
429
446
  })), k((T) => {
430
447
  var I = `${s().top}px`, P = `${s().left}px`;
@@ -437,7 +454,7 @@ function un(e) {
437
454
  });
438
455
  }
439
456
  }), null), k((S) => {
440
- var M = _("relative", e.class), T = e.disabled, I = dt(e.value, e.months ?? st) ? "" : "text-muted-foreground";
457
+ var M = _("relative", e.class), T = e.disabled, I = ct(e.value, e.months ?? dt) ? "" : "text-muted-foreground";
441
458
  return M !== S.e && D(h, S.e = M), T !== S.t && (w.disabled = S.t = T), I !== S.a && D(p, S.a = I), S;
442
459
  }, {
443
460
  e: void 0,
@@ -447,10 +464,10 @@ function un(e) {
447
464
  })();
448
465
  }
449
466
  H(["click"]);
450
- var gn = /* @__PURE__ */ m('<div class="flex max-h-56 flex-1 flex-col gap-0.5 overflow-y-auto pl-1"role=listbox aria-label="AM or PM">'), fn = /* @__PURE__ */ m('<div style=position:fixed><div class="flex max-h-56 flex-1 flex-col gap-0.5 overflow-y-auto pr-1"role=listbox aria-label=Hour></div><div class="flex max-h-56 flex-1 flex-col gap-0.5 overflow-y-auto px-1"role=listbox aria-label=Minute>'), mn = /* @__PURE__ */ m('<div><button type=button class="flex w-full items-center justify-between gap-2 rounded-md border border-input bg-background px-3 py-2 text-left text-sm text-foreground outline-none transition-colors a4-field disabled:cursor-not-allowed disabled:opacity-50"><span>'), Ve = /* @__PURE__ */ m("<button type=button role=option>");
451
- const hn = Array.from({
467
+ var fn = /* @__PURE__ */ m('<div class="flex max-h-56 flex-1 flex-col gap-0.5 overflow-y-auto pl-1"role=listbox aria-label="AM or PM">'), mn = /* @__PURE__ */ m('<div style=position:fixed><div class="flex max-h-56 flex-1 flex-col gap-0.5 overflow-y-auto pr-1"role=listbox aria-label=Hour></div><div class="flex max-h-56 flex-1 flex-col gap-0.5 overflow-y-auto px-1"role=listbox aria-label=Minute>'), hn = /* @__PURE__ */ m('<div><button type=button class="flex w-full items-center justify-between gap-2 rounded-md border border-input bg-background px-3 py-2 text-left text-sm text-foreground outline-none transition-colors a4-field disabled:cursor-not-allowed disabled:opacity-50"><span>'), Ve = /* @__PURE__ */ m("<button type=button role=option>");
468
+ const vn = Array.from({
452
469
  length: 24
453
- }, (e, t) => t), vn = [12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
470
+ }, (e, t) => t), xn = [12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
454
471
  function Ie(e) {
455
472
  return `${e}`.padStart(2, "0");
456
473
  }
@@ -474,10 +491,10 @@ function Fe(e) {
474
491
  ampm: t
475
492
  };
476
493
  }
477
- function ct(e, t) {
494
+ function ut(e, t) {
478
495
  return t === "AM" ? e === 12 ? 0 : e : e === 12 ? 12 : e + 12;
479
496
  }
480
- function ut(e, t) {
497
+ function gt(e, t) {
481
498
  const l = er(e);
482
499
  if (!l) return null;
483
500
  if (t) {
@@ -489,7 +506,7 @@ function ut(e, t) {
489
506
  }
490
507
  return Oe(l.h, l.m);
491
508
  }
492
- function xn(e) {
509
+ function bn(e) {
493
510
  const [t, l] = z(!1), [r, i] = z(0), [o, s] = z(0);
494
511
  let d, f, u;
495
512
  const [c, g] = z({
@@ -527,19 +544,19 @@ function xn(e) {
527
544
  for (let P = 0; P < 60; P += T) I.push(P);
528
545
  return I;
529
546
  }), C = (T) => {
530
- const I = e.hour12 ? ct(T, Fe(r()).ampm) : T;
547
+ const I = e.hour12 ? ut(T, Fe(r()).ampm) : T;
531
548
  i(I), e.onChange(Oe(I, o()));
532
549
  }, L = (T) => {
533
550
  s(T), e.onChange(Oe(r(), T));
534
551
  }, S = (T) => {
535
- const I = ct(Fe(r()).h12, T);
552
+ const I = ut(Fe(r()).h12, T);
536
553
  i(I), e.onChange(Oe(I, o()));
537
554
  }, M = (T) => _("rounded-md px-2 py-1 text-left text-sm transition-colors", T ? "bg-primary text-primary-foreground" : "text-foreground hover:bg-muted");
538
555
  return (() => {
539
- var T = mn(), I = T.firstChild, P = I.firstChild, R = d;
556
+ var T = hn(), I = T.firstChild, P = I.firstChild, R = d;
540
557
  typeof R == "function" ? Y(R, T) : d = T, I.$$click = () => t() ? x() : y();
541
558
  var B = f;
542
- return typeof B == "function" ? Y(B, I) : f = I, a(P, () => ut(e.value, e.hour12 ?? !1) ?? e.label ?? "Select time"), a(I, n(vr, {
559
+ return typeof B == "function" ? Y(B, I) : f = I, a(P, () => gt(e.value, e.hour12 ?? !1) ?? e.label ?? "Select time"), a(I, n(xr, {
543
560
  class: "h-4 w-4 shrink-0 text-muted-foreground"
544
561
  }), null), a(T, n(E, {
545
562
  get when() {
@@ -548,10 +565,10 @@ function xn(e) {
548
565
  get children() {
549
566
  return n(fe, {
550
567
  get children() {
551
- var j = fn(), V = j.firstChild, Z = V.nextSibling, re = u;
568
+ var j = mn(), V = j.firstChild, Z = V.nextSibling, re = u;
552
569
  return typeof re == "function" ? Y(re, j) : u = j, a(V, n(A, {
553
570
  get each() {
554
- return e.hour12 ? vn : hn;
571
+ return e.hour12 ? xn : vn;
555
572
  },
556
573
  children: (U) => {
557
574
  const Q = () => e.hour12 ? Fe(r()).h12 === U : r() === U;
@@ -591,7 +608,7 @@ function xn(e) {
591
608
  return e.hour12;
592
609
  },
593
610
  get children() {
594
- var U = gn();
611
+ var U = fn();
595
612
  return a(U, n(A, {
596
613
  each: ["AM", "PM"],
597
614
  children: (Q) => {
@@ -621,7 +638,7 @@ function xn(e) {
621
638
  });
622
639
  }
623
640
  }), null), k((j) => {
624
- var V = _("relative", e.class), Z = e.disabled, re = ut(e.value, e.hour12 ?? !1) ? "" : "text-muted-foreground";
641
+ var V = _("relative", e.class), Z = e.disabled, re = gt(e.value, e.hour12 ?? !1) ? "" : "text-muted-foreground";
625
642
  return V !== j.e && D(T, j.e = V), Z !== j.t && (I.disabled = j.t = Z), re !== j.a && D(P, j.a = re), j;
626
643
  }, {
627
644
  e: void 0,
@@ -631,23 +648,23 @@ function xn(e) {
631
648
  })();
632
649
  }
633
650
  H(["click"]);
634
- var bn = /* @__PURE__ */ m("<div>");
635
- const $n = /\d{4}-\d{2}-\d{2}/, wn = /\d{2}:\d{2}/, gt = (e, t) => [e, t].filter(Boolean).join(" ");
636
- function od(e) {
651
+ var $n = /* @__PURE__ */ m("<div>");
652
+ const wn = /\d{4}-\d{2}-\d{2}/, yn = /\d{2}:\d{2}/, ft = (e, t) => [e, t].filter(Boolean).join(" ");
653
+ function ad(e) {
637
654
  const t = K(() => {
638
655
  var r;
639
- return ((r = $n.exec(e.value)) == null ? void 0 : r[0]) ?? "";
656
+ return ((r = wn.exec(e.value)) == null ? void 0 : r[0]) ?? "";
640
657
  }), l = K(() => {
641
658
  var r;
642
- return ((r = wn.exec(e.value)) == null ? void 0 : r[0]) ?? "";
659
+ return ((r = yn.exec(e.value)) == null ? void 0 : r[0]) ?? "";
643
660
  });
644
661
  return (() => {
645
- var r = bn();
646
- return a(r, n(un, {
662
+ var r = $n();
663
+ return a(r, n(gn, {
647
664
  get value() {
648
665
  return t();
649
666
  },
650
- onChange: (i) => e.onChange(gt(i, l())),
667
+ onChange: (i) => e.onChange(ft(i, l())),
651
668
  get label() {
652
669
  return e.dateLabel ?? "Select date";
653
670
  },
@@ -655,11 +672,11 @@ function od(e) {
655
672
  return e.disabled;
656
673
  },
657
674
  class: "min-w-40 flex-1"
658
- }), null), a(r, n(xn, {
675
+ }), null), a(r, n(bn, {
659
676
  get value() {
660
677
  return l();
661
678
  },
662
- onChange: (i) => e.onChange(gt(t(), i)),
679
+ onChange: (i) => e.onChange(ft(t(), i)),
663
680
  get hour12() {
664
681
  return e.hour12;
665
682
  },
@@ -676,8 +693,8 @@ function od(e) {
676
693
  }), null), k(() => D(r, _("flex flex-wrap items-start gap-2", e.class))), r;
677
694
  })();
678
695
  }
679
- var yn = /* @__PURE__ */ m('<div class="z-50 w-72 rounded-lg border border-border bg-card p-3 text-card-foreground shadow-lg"style=position:fixed>'), pn = /* @__PURE__ */ m('<div><button type=button class="flex w-full items-center justify-between gap-2 rounded-md border border-input bg-background px-3 py-2 text-left text-sm text-foreground outline-none transition-colors a4-field disabled:cursor-not-allowed disabled:opacity-50"><span>');
680
- const _n = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"], kn = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
696
+ var pn = /* @__PURE__ */ m('<div class="z-50 w-72 rounded-lg border border-border bg-card p-3 text-card-foreground shadow-lg"style=position:fixed>'), _n = /* @__PURE__ */ m('<div><button type=button class="flex w-full items-center justify-between gap-2 rounded-md border border-input bg-background px-3 py-2 text-left text-sm text-foreground outline-none transition-colors a4-field disabled:cursor-not-allowed disabled:opacity-50"><span>');
697
+ const kn = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"], Cn = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
681
698
  function Ue(e) {
682
699
  const t = e.getFullYear(), l = `${e.getMonth() + 1}`.padStart(2, "0"), r = `${e.getDate()}`.padStart(2, "0");
683
700
  return `${t}-${l}-${r}`;
@@ -689,7 +706,7 @@ function Ge(e) {
689
706
  function Ke(e, t) {
690
707
  return `${e.getDate()} ${t[e.getMonth()].slice(0, 3)} ${e.getFullYear()}`;
691
708
  }
692
- function id(e) {
709
+ function sd(e) {
693
710
  const [t, l] = z(!1);
694
711
  let r, i, o;
695
712
  const [s, d] = z({
@@ -714,7 +731,7 @@ function id(e) {
714
731
  };
715
732
  J(() => y(t())), X(() => y(!1));
716
733
  const x = K(() => Ge(e.value.start)), $ = K(() => Ge(e.value.end)), h = K(() => {
717
- const p = e.months ?? kn, C = x(), L = $();
734
+ const p = e.months ?? Cn, C = x(), L = $();
718
735
  return C && L ? `${Ke(C, p)} – ${Ke(L, p)}` : C ? `${Ke(C, p)} – …` : null;
719
736
  }), w = (p) => {
720
737
  const {
@@ -737,7 +754,7 @@ function id(e) {
737
754
  });
738
755
  };
739
756
  return (() => {
740
- var p = pn(), C = p.firstChild, L = C.firstChild, S = r;
757
+ var p = _n(), C = p.firstChild, L = C.firstChild, S = r;
741
758
  typeof S == "function" ? Y(S, p) : r = p, C.$$click = () => t() ? g() : c();
742
759
  var M = i;
743
760
  return typeof M == "function" ? Y(M, C) : i = C, a(L, () => h() ?? e.label ?? "Select range"), a(C, n(At, {
@@ -749,8 +766,8 @@ function id(e) {
749
766
  get children() {
750
767
  return n(fe, {
751
768
  get children() {
752
- var T = yn(), I = o;
753
- return typeof I == "function" ? Y(I, T) : o = T, a(T, n(tt, {
769
+ var T = pn(), I = o;
770
+ return typeof I == "function" ? Y(I, T) : o = T, a(T, n(rt, {
754
771
  get rangeStart() {
755
772
  return x() ?? void 0;
756
773
  },
@@ -766,7 +783,7 @@ function id(e) {
766
783
  return e.months;
767
784
  },
768
785
  get weekdays() {
769
- return e.weekdays ?? _n;
786
+ return e.weekdays ?? kn;
770
787
  }
771
788
  })), k((P) => {
772
789
  var R = `${s().top}px`, B = `${s().left}px`;
@@ -789,7 +806,7 @@ function id(e) {
789
806
  })();
790
807
  }
791
808
  H(["click"]);
792
- var Cn = /* @__PURE__ */ m("<div>"), Sn = /* @__PURE__ */ m("<label>"), En = /* @__PURE__ */ m("<p>"), Mn = /* @__PURE__ */ m("<p role=alert>");
809
+ var Sn = /* @__PURE__ */ m("<div>"), En = /* @__PURE__ */ m("<label>"), Mn = /* @__PURE__ */ m("<p>"), Tn = /* @__PURE__ */ m("<p role=alert>");
793
810
  const tr = sr();
794
811
  function Be() {
795
812
  return ar(tr) ?? {
@@ -797,7 +814,7 @@ function Be() {
797
814
  describedBy: ""
798
815
  };
799
816
  }
800
- function ad(e) {
817
+ function dd(e) {
801
818
  const t = e.id ?? ir(), l = {
802
819
  id: t,
803
820
  describedBy: `${t}-desc ${t}-error`
@@ -805,15 +822,15 @@ function ad(e) {
805
822
  return n(tr.Provider, {
806
823
  value: l,
807
824
  get children() {
808
- var r = Cn();
825
+ var r = Sn();
809
826
  return a(r, () => e.children), k(() => D(r, _("space-y-1.5", e.class))), r;
810
827
  }
811
828
  });
812
829
  }
813
- function sd(e) {
830
+ function cd(e) {
814
831
  const t = Be();
815
832
  return (() => {
816
- var l = Sn();
833
+ var l = En();
817
834
  return a(l, () => e.children), k((r) => {
818
835
  var i = t.id, o = _("text-sm font-medium text-foreground", e.class);
819
836
  return i !== r.e && F(l, "for", r.e = i), o !== r.t && D(l, r.t = o), r;
@@ -823,17 +840,17 @@ function sd(e) {
823
840
  }), l;
824
841
  })();
825
842
  }
826
- function dd(e) {
843
+ function ud(e) {
827
844
  const t = Be();
828
845
  return W(() => e.children({
829
846
  id: t.id,
830
847
  "aria-describedby": t.describedBy
831
848
  }));
832
849
  }
833
- function cd(e) {
850
+ function gd(e) {
834
851
  const t = Be();
835
852
  return (() => {
836
- var l = En();
853
+ var l = Mn();
837
854
  return a(l, () => e.children), k((r) => {
838
855
  var i = `${t.id}-desc`, o = _("text-xs text-muted-foreground", e.class);
839
856
  return i !== r.e && F(l, "id", r.e = i), o !== r.t && D(l, r.t = o), r;
@@ -843,14 +860,14 @@ function cd(e) {
843
860
  }), l;
844
861
  })();
845
862
  }
846
- function ud(e) {
863
+ function fd(e) {
847
864
  const t = Be();
848
865
  return n(E, {
849
866
  get when() {
850
867
  return e.children;
851
868
  },
852
869
  get children() {
853
- var l = Mn();
870
+ var l = Tn();
854
871
  return a(l, () => e.children), k((r) => {
855
872
  var i = `${t.id}-error`, o = _("text-xs text-destructive", e.class);
856
873
  return i !== r.e && F(l, "id", r.e = i), o !== r.t && D(l, r.t = o), r;
@@ -861,8 +878,8 @@ function ud(e) {
861
878
  }
862
879
  });
863
880
  }
864
- var Tn = /* @__PURE__ */ m('<div class="flex items-center justify-between text-sm text-foreground">');
865
- function Ln(e) {
881
+ var Ln = /* @__PURE__ */ m('<div class="flex items-center justify-between text-sm text-foreground">');
882
+ function Fn(e) {
866
883
  const t = () => {
867
884
  const l = e.max ?? 100;
868
885
  return l <= 0 ? 0 : Math.max(0, Math.min(100, e.value / l * 100));
@@ -884,7 +901,7 @@ function Ln(e) {
884
901
  return e.label;
885
902
  },
886
903
  get children() {
887
- var l = Tn();
904
+ var l = Ln();
888
905
  return a(l, n(we.Label, {
889
906
  get children() {
890
907
  return e.label;
@@ -909,8 +926,8 @@ function Ln(e) {
909
926
  }
910
927
  });
911
928
  }
912
- var Fn = /* @__PURE__ */ m('<ul class="flex flex-col gap-2">'), Dn = /* @__PURE__ */ m('<div><button type=button class="flex w-full flex-col items-center justify-center gap-2 rounded-lg border-2 border-dashed border-input p-6 text-center transition-colors"><p class="text-sm font-medium text-foreground"></p><input type=file class=hidden>'), In = /* @__PURE__ */ m('<img alt class="h-10 w-10 shrink-0 rounded object-cover">'), An = /* @__PURE__ */ m('<div class="flex items-center gap-2"><span class="text-xs text-destructive">'), zn = /* @__PURE__ */ m('<button type=button aria-label="Remove file"class="shrink-0 rounded-md p-1 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus:outline-none focus:ring-2 focus:ring-ring">'), Rn = /* @__PURE__ */ m('<li class="flex items-center gap-3 rounded-lg border border-border bg-glass p-3"><div class="flex min-w-0 flex-1 flex-col gap-1"><div class="flex items-baseline gap-2"><span class="truncate text-sm font-medium text-foreground"></span><span class="shrink-0 text-xs text-muted-foreground">'), On = /* @__PURE__ */ m('<div class="flex h-10 w-10 shrink-0 items-center justify-center rounded bg-muted">');
913
- function Pn(e) {
929
+ var Dn = /* @__PURE__ */ m('<ul class="flex flex-col gap-2">'), In = /* @__PURE__ */ m('<div><button type=button class="flex w-full flex-col items-center justify-center gap-2 rounded-lg border-2 border-dashed border-input p-6 text-center transition-colors"><p class="text-sm font-medium text-foreground"></p><input type=file class=hidden>'), An = /* @__PURE__ */ m('<img alt class="h-10 w-10 shrink-0 rounded object-cover">'), zn = /* @__PURE__ */ m('<div class="flex items-center gap-2"><span class="text-xs text-destructive">'), Rn = /* @__PURE__ */ m('<button type=button aria-label="Remove file"class="shrink-0 rounded-md p-1 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus:outline-none focus:ring-2 focus:ring-ring">'), On = /* @__PURE__ */ m('<li class="flex items-center gap-3 rounded-lg border border-border bg-glass p-3"><div class="flex min-w-0 flex-1 flex-col gap-1"><div class="flex items-baseline gap-2"><span class="truncate text-sm font-medium text-foreground"></span><span class="shrink-0 text-xs text-muted-foreground">'), Pn = /* @__PURE__ */ m('<div class="flex h-10 w-10 shrink-0 items-center justify-center rounded bg-muted">');
930
+ function Bn(e) {
914
931
  if (!Number.isFinite(e) || e < 0) return "0 B";
915
932
  if (e < 1024) return `${e} B`;
916
933
  const t = ["KB", "MB", "GB", "TB"];
@@ -919,7 +936,7 @@ function Pn(e) {
919
936
  l /= 1024, r += 1;
920
937
  return `${l.toFixed(1)} ${t[r]}`;
921
938
  }
922
- function gd(e) {
939
+ function md(e) {
923
940
  const [t, l] = z(!1);
924
941
  let r;
925
942
  const i = (o) => {
@@ -928,7 +945,7 @@ function gd(e) {
928
945
  s.length && e.onAdd(s);
929
946
  };
930
947
  return (() => {
931
- var o = Dn(), s = o.firstChild, d = s.firstChild, f = d.nextSibling;
948
+ var o = In(), s = o.firstChild, d = s.firstChild, f = d.nextSibling;
932
949
  s.addEventListener("drop", (c) => {
933
950
  var g;
934
951
  c.preventDefault(), l(!1), i((g = c.dataTransfer) == null ? void 0 : g.files);
@@ -936,7 +953,7 @@ function gd(e) {
936
953
  c.preventDefault(), l(!1);
937
954
  }), s.addEventListener("dragover", (c) => {
938
955
  e.disabled || (c.preventDefault(), l(!0));
939
- }), s.$$click = () => !e.disabled && (r == null ? void 0 : r.click()), a(s, n(lt, {
956
+ }), s.$$click = () => !e.disabled && (r == null ? void 0 : r.click()), a(s, n(ot, {
940
957
  class: "h-8 w-8 text-muted-foreground"
941
958
  }), d), a(d, () => e.hint ?? "Drag files here or click to browse"), f.addEventListener("change", (c) => {
942
959
  i(c.currentTarget.files), c.currentTarget.value = "";
@@ -947,35 +964,35 @@ function gd(e) {
947
964
  return e.files.length > 0;
948
965
  },
949
966
  get children() {
950
- var c = Fn();
967
+ var c = Dn();
951
968
  return a(c, n(A, {
952
969
  get each() {
953
970
  return e.files;
954
971
  },
955
972
  children: (g) => (() => {
956
- var b = Rn(), v = b.firstChild, y = v.firstChild, x = y.firstChild, $ = x.nextSibling;
973
+ var b = On(), v = b.firstChild, y = v.firstChild, x = y.firstChild, $ = x.nextSibling;
957
974
  return a(b, n(E, {
958
975
  get when() {
959
976
  return g.url;
960
977
  },
961
978
  get fallback() {
962
979
  return (() => {
963
- var h = On();
964
- return a(h, n(lt, {
980
+ var h = Pn();
981
+ return a(h, n(ot, {
965
982
  class: "h-5 w-5 text-muted-foreground"
966
983
  })), h;
967
984
  })();
968
985
  },
969
986
  get children() {
970
- var h = In();
987
+ var h = An();
971
988
  return k(() => F(h, "src", g.url)), h;
972
989
  }
973
- }), v), a(x, () => g.name), a($, () => Pn(g.size)), a(v, n(E, {
990
+ }), v), a(x, () => g.name), a($, () => Bn(g.size)), a(v, n(E, {
974
991
  get when() {
975
992
  return g.status === "uploading";
976
993
  },
977
994
  get children() {
978
- return n(Ln, {
995
+ return n(Fn, {
979
996
  get value() {
980
997
  return g.progress;
981
998
  }
@@ -986,7 +1003,7 @@ function gd(e) {
986
1003
  return g.status === "error";
987
1004
  },
988
1005
  get children() {
989
- var h = An(), w = h.firstChild;
1006
+ var h = zn(), w = h.firstChild;
990
1007
  return a(w, () => g.error ?? "Upload failed"), a(h, n(E, {
991
1008
  get when() {
992
1009
  return e.onRetry;
@@ -1019,7 +1036,7 @@ function gd(e) {
1019
1036
  return e.onRemove;
1020
1037
  },
1021
1038
  get children() {
1022
- var h = zn();
1039
+ var h = Rn();
1023
1040
  return h.$$click = () => {
1024
1041
  var w;
1025
1042
  return (w = e.onRemove) == null ? void 0 : w.call(e, g.id);
@@ -1049,8 +1066,8 @@ function gd(e) {
1049
1066
  })();
1050
1067
  }
1051
1068
  H(["click"]);
1052
- var Bn = /* @__PURE__ */ m('<input type=text placeholder=Search… class="mb-1 w-full rounded-md border border-input bg-background px-2 py-1.5 text-sm text-foreground outline-none a4-field">'), jn = /* @__PURE__ */ m('<div class="z-50 min-w-56 rounded-lg border border-border bg-card p-1 text-card-foreground shadow-lg"style=position:fixed><ul role=listbox aria-multiselectable=true class="max-h-60 overflow-y-auto">'), Nn = /* @__PURE__ */ m('<div><button type=button aria-haspopup=listbox class="flex min-h-9 h-auto w-full flex-wrap items-center justify-between gap-2 rounded-md border border-input bg-background px-3 py-2 text-left text-sm text-foreground outline-none transition-colors a4-field disabled:cursor-not-allowed disabled:opacity-50"><span class="flex flex-1 flex-wrap items-center gap-1">'), Yn = /* @__PURE__ */ m("<span class=text-muted-foreground>"), Hn = /* @__PURE__ */ m('<span class="inline-flex items-center gap-1 rounded bg-muted px-1.5 py-0.5 text-xs text-foreground"><button type=button class="rounded-sm text-muted-foreground outline-none transition-colors hover:text-foreground focus:ring-2 focus:ring-ring/30">'), Vn = /* @__PURE__ */ m('<li class="px-2 py-1.5 text-sm text-muted-foreground">No options'), Un = /* @__PURE__ */ m("<li role=none><button type=button role=option><span></span><span class=truncate>");
1053
- function fd(e) {
1069
+ var jn = /* @__PURE__ */ m('<input type=text placeholder=Search… class="mb-1 w-full rounded-md border border-input bg-background px-2 py-1.5 text-sm text-foreground outline-none a4-field">'), Nn = /* @__PURE__ */ m('<div class="z-50 min-w-56 rounded-lg border border-border bg-card p-1 text-card-foreground shadow-lg"style=position:fixed><ul role=listbox aria-multiselectable=true class="max-h-60 overflow-y-auto">'), Yn = /* @__PURE__ */ m('<div><button type=button aria-haspopup=listbox class="flex min-h-9 h-auto w-full flex-wrap items-center justify-between gap-2 rounded-md border border-input bg-background px-3 py-2 text-left text-sm text-foreground outline-none transition-colors a4-field disabled:cursor-not-allowed disabled:opacity-50"><span class="flex flex-1 flex-wrap items-center gap-1">'), Hn = /* @__PURE__ */ m("<span class=text-muted-foreground>"), Vn = /* @__PURE__ */ m('<span class="inline-flex items-center gap-1 rounded bg-muted px-1.5 py-0.5 text-xs text-foreground"><button type=button class="rounded-sm text-muted-foreground outline-none transition-colors hover:text-foreground focus:ring-2 focus:ring-ring/30">'), Un = /* @__PURE__ */ m('<li class="px-2 py-1.5 text-sm text-muted-foreground">No options'), Gn = /* @__PURE__ */ m("<li role=none><button type=button role=option><span></span><span class=truncate>");
1070
+ function hd(e) {
1054
1071
  const [t, l] = z(!1), [r, i] = z("");
1055
1072
  let o, s, d, f;
1056
1073
  const [u, c] = z({
@@ -1088,7 +1105,7 @@ function fd(e) {
1088
1105
  S.stopPropagation(), e.onChange(e.value.filter((T) => T !== M));
1089
1106
  };
1090
1107
  return (() => {
1091
- var S = Nn(), M = S.firstChild, T = M.firstChild, I = o;
1108
+ var S = Yn(), M = S.firstChild, T = M.firstChild, I = o;
1092
1109
  typeof I == "function" ? Y(I, S) : o = S, M.$$click = () => t() ? y() : v();
1093
1110
  var P = s;
1094
1111
  return typeof P == "function" ? Y(P, M) : s = M, a(T, n(E, {
@@ -1097,7 +1114,7 @@ function fd(e) {
1097
1114
  },
1098
1115
  get fallback() {
1099
1116
  return (() => {
1100
- var R = Yn();
1117
+ var R = Hn();
1101
1118
  return a(R, () => e.placeholder ?? "Select…"), R;
1102
1119
  })();
1103
1120
  },
@@ -1107,7 +1124,7 @@ function fd(e) {
1107
1124
  return w();
1108
1125
  },
1109
1126
  children: (R) => (() => {
1110
- var B = Hn(), j = B.firstChild;
1127
+ var B = Vn(), j = B.firstChild;
1111
1128
  return a(B, () => R.label, j), j.$$click = (V) => L(V, R.value), a(j, n(me, {
1112
1129
  class: "h-3 w-3"
1113
1130
  })), k(() => F(j, "aria-label", `Remove ${R.label}`)), B;
@@ -1123,13 +1140,13 @@ function fd(e) {
1123
1140
  get children() {
1124
1141
  return n(fe, {
1125
1142
  get children() {
1126
- var R = jn(), B = R.firstChild, j = d;
1143
+ var R = Nn(), B = R.firstChild, j = d;
1127
1144
  return typeof j == "function" ? Y(j, R) : d = R, a(R, n(E, {
1128
1145
  get when() {
1129
1146
  return e.searchable ?? !0;
1130
1147
  },
1131
1148
  get children() {
1132
- var V = Bn();
1149
+ var V = jn();
1133
1150
  V.$$input = (re) => i(re.currentTarget.value);
1134
1151
  var Z = f;
1135
1152
  return typeof Z == "function" ? Y(Z, V) : f = V, k(() => V.value = r()), V;
@@ -1139,12 +1156,12 @@ function fd(e) {
1139
1156
  return p();
1140
1157
  },
1141
1158
  get fallback() {
1142
- return Vn();
1159
+ return Un();
1143
1160
  },
1144
1161
  children: (V) => {
1145
1162
  const Z = () => e.value.includes(V.value);
1146
1163
  return (() => {
1147
- var re = Un(), U = re.firstChild, Q = U.firstChild, q = Q.nextSibling;
1164
+ var re = Gn(), U = re.firstChild, Q = U.firstChild, q = Q.nextSibling;
1148
1165
  return U.$$click = () => C(V.value), a(Q, n(E, {
1149
1166
  get when() {
1150
1167
  return Z();
@@ -1155,8 +1172,8 @@ function fd(e) {
1155
1172
  });
1156
1173
  }
1157
1174
  })), a(q, () => V.label), k((N) => {
1158
- var te = Z(), le = Z(), be = _("flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-sm outline-none transition-colors hover:bg-muted focus:bg-muted", Z() && "bg-primary/10"), nt = _("flex h-4 w-4 shrink-0 items-center justify-center rounded-sm border border-input", Z() && "border-primary bg-primary text-primary-foreground");
1159
- return te !== N.e && F(U, "aria-selected", N.e = te), le !== N.t && F(U, "aria-pressed", N.t = le), be !== N.a && D(U, N.a = be), nt !== N.o && D(Q, N.o = nt), N;
1175
+ var te = Z(), le = Z(), be = _("flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-sm outline-none transition-colors hover:bg-muted focus:bg-muted", Z() && "bg-primary/10"), lt = _("flex h-4 w-4 shrink-0 items-center justify-center rounded-sm border border-input", Z() && "border-primary bg-primary text-primary-foreground");
1176
+ return te !== N.e && F(U, "aria-selected", N.e = te), le !== N.t && F(U, "aria-pressed", N.t = le), be !== N.a && D(U, N.a = be), lt !== N.o && D(Q, N.o = lt), N;
1160
1177
  }, {
1161
1178
  e: void 0,
1162
1179
  t: void 0,
@@ -1187,8 +1204,8 @@ function fd(e) {
1187
1204
  })();
1188
1205
  }
1189
1206
  H(["click", "input"]);
1190
- var Gn = /* @__PURE__ */ m('<p class="text-[12px] text-muted-foreground">'), Kn = /* @__PURE__ */ m('<div class="sticky top-0 z-10 flex items-center justify-between border-b border-border bg-background/90 px-5 py-4 backdrop-blur"><div>'), qn = /* @__PURE__ */ m('<div class="fixed inset-0 z-50 flex justify-end">');
1191
- function md(e) {
1207
+ var Kn = /* @__PURE__ */ m('<p class="text-[12px] text-muted-foreground">'), qn = /* @__PURE__ */ m('<div class="sticky top-0 z-10 flex items-center justify-between border-b border-border bg-background/90 px-5 py-4 backdrop-blur"><div>'), Xn = /* @__PURE__ */ m('<div class="fixed inset-0 z-50 flex justify-end">');
1208
+ function vd(e) {
1192
1209
  return n(G, {
1193
1210
  get open() {
1194
1211
  return e.open;
@@ -1202,7 +1219,7 @@ function md(e) {
1202
1219
  return [n(G.Overlay, {
1203
1220
  class: "modal-overlay fixed inset-0 z-40 bg-black/50 backdrop-blur-[2px]"
1204
1221
  }), (() => {
1205
- var t = qn();
1222
+ var t = Xn();
1206
1223
  return a(t, n(G.Content, {
1207
1224
  get class() {
1208
1225
  return _("drawer-content flex h-full w-full max-w-[520px] flex-col overflow-y-auto border-l border-border bg-glass shadow-2xl", e.class);
@@ -1213,7 +1230,7 @@ function md(e) {
1213
1230
  return e.title;
1214
1231
  },
1215
1232
  get children() {
1216
- var l = Kn(), r = l.firstChild;
1233
+ var l = qn(), r = l.firstChild;
1217
1234
  return a(r, n(G.Title, {
1218
1235
  class: "text-[16px] font-bold leading-tight",
1219
1236
  get children() {
@@ -1224,7 +1241,7 @@ function md(e) {
1224
1241
  return e.subtitle;
1225
1242
  },
1226
1243
  get children() {
1227
- var i = Gn();
1244
+ var i = Kn();
1228
1245
  return a(i, () => e.subtitle), i;
1229
1246
  }
1230
1247
  }), null), a(l, n(G.CloseButton, {
@@ -1248,7 +1265,7 @@ function md(e) {
1248
1265
  }
1249
1266
  });
1250
1267
  }
1251
- function hd(e) {
1268
+ function xd(e) {
1252
1269
  return (
1253
1270
  // preventScroll defaults to true in Kobalte's menu — that locks page scroll
1254
1271
  // (body overflow:hidden + scrollbar-width compensation) while the menu is
@@ -1299,8 +1316,8 @@ function hd(e) {
1299
1316
  })
1300
1317
  );
1301
1318
  }
1302
- var Xn = /* @__PURE__ */ m('<p class="text-xs text-muted-foreground">'), Wn = /* @__PURE__ */ m('<div role=button class="flex cursor-pointer flex-col items-center justify-center gap-2 rounded-xl border-2 border-dashed px-6 py-10 text-center transition"><p class="text-sm font-medium text-foreground"></p><input type=file class=hidden>');
1303
- function vd(e) {
1319
+ var Wn = /* @__PURE__ */ m('<p class="text-xs text-muted-foreground">'), Jn = /* @__PURE__ */ m('<div role=button class="flex cursor-pointer flex-col items-center justify-center gap-2 rounded-xl border-2 border-dashed px-6 py-10 text-center transition"><p class="text-sm font-medium text-foreground"></p><input type=file class=hidden>');
1320
+ function bd(e) {
1304
1321
  const [t, l] = z(!1);
1305
1322
  let r;
1306
1323
  const i = (o) => {
@@ -1309,7 +1326,7 @@ function vd(e) {
1309
1326
  s.length && e.onFiles(s);
1310
1327
  };
1311
1328
  return (() => {
1312
- var o = Wn(), s = o.firstChild, d = s.nextSibling;
1329
+ var o = Jn(), s = o.firstChild, d = s.nextSibling;
1313
1330
  o.addEventListener("drop", (u) => {
1314
1331
  var c;
1315
1332
  u.preventDefault(), l(!1), i((c = u.dataTransfer) == null ? void 0 : c.files);
@@ -1317,14 +1334,14 @@ function vd(e) {
1317
1334
  e.disabled || (u.preventDefault(), l(!0));
1318
1335
  }), o.$$keydown = (u) => {
1319
1336
  e.disabled || (u.key === "Enter" || u.key === " ") && (u.preventDefault(), r == null || r.click());
1320
- }, o.$$click = () => !e.disabled && (r == null ? void 0 : r.click()), a(o, n(xr, {
1337
+ }, o.$$click = () => !e.disabled && (r == null ? void 0 : r.click()), a(o, n(br, {
1321
1338
  class: "h-8 w-8 text-muted-foreground"
1322
1339
  }), s), a(s, () => e.label ?? "Drag files here or click to browse"), a(o, n(E, {
1323
1340
  get when() {
1324
1341
  return e.hint;
1325
1342
  },
1326
1343
  get children() {
1327
- var u = Xn();
1344
+ var u = Wn();
1328
1345
  return a(u, () => e.hint), u;
1329
1346
  }
1330
1347
  }), d), d.addEventListener("change", (u) => {
@@ -1349,15 +1366,15 @@ function vd(e) {
1349
1366
  })();
1350
1367
  }
1351
1368
  H(["click", "keydown"]);
1352
- var Jn = /* @__PURE__ */ m("<input>");
1353
- const Zn = "w-full rounded-md border border-input bg-background text-foreground placeholder:text-muted-foreground px-3 py-2 text-sm outline-none transition-colors a4-field disabled:cursor-not-allowed disabled:opacity-50";
1354
- function Qn(e) {
1369
+ var Zn = /* @__PURE__ */ m("<input>");
1370
+ const Qn = "w-full rounded-md border border-input bg-background text-foreground placeholder:text-muted-foreground px-3 py-2 text-sm outline-none transition-colors a4-field disabled:cursor-not-allowed disabled:opacity-50";
1371
+ function el(e) {
1355
1372
  const [t, l] = ie(e, ["value", "onInput", "class"]);
1356
1373
  return (() => {
1357
- var r = Jn();
1374
+ var r = Zn();
1358
1375
  return r.$$input = (i) => t.onInput(i.currentTarget.value), ae(r, se({
1359
1376
  get class() {
1360
- return _(Zn, t.class);
1377
+ return _(Qn, t.class);
1361
1378
  },
1362
1379
  get value() {
1363
1380
  return t.value;
@@ -1366,8 +1383,8 @@ function Qn(e) {
1366
1383
  })();
1367
1384
  }
1368
1385
  H(["input"]);
1369
- var el = /* @__PURE__ */ m('<div class="flex items-center justify-between border-b border-border p-6 pb-4">'), ft = /* @__PURE__ */ m('<div class="p-6 pt-4">'), tl = /* @__PURE__ */ m('<div class="fixed inset-0 z-50 flex items-center justify-center p-4">'), rl = /* @__PURE__ */ m('<div class="sticky top-0 z-10 flex items-center justify-between border-b border-border bg-background/85 px-6 py-4 backdrop-blur">'), nl = /* @__PURE__ */ m('<div class="fixed inset-0 z-50 flex justify-end">');
1370
- function xd(e) {
1386
+ var tl = /* @__PURE__ */ m('<div class="flex items-center justify-between border-b border-border p-6 pb-4">'), mt = /* @__PURE__ */ m('<div class="p-6 pt-4">'), rl = /* @__PURE__ */ m('<div class="fixed inset-0 z-50 flex items-center justify-center p-4">'), nl = /* @__PURE__ */ m('<div class="sticky top-0 z-10 flex items-center justify-between border-b border-border bg-background/85 px-6 py-4 backdrop-blur">'), ll = /* @__PURE__ */ m('<div class="fixed inset-0 z-50 flex justify-end">');
1387
+ function $d(e) {
1371
1388
  const t = () => e.variant === "center";
1372
1389
  return n(G, {
1373
1390
  get open() {
@@ -1387,7 +1404,7 @@ function xd(e) {
1387
1404
  },
1388
1405
  get fallback() {
1389
1406
  return (() => {
1390
- var l = nl();
1407
+ var l = ll();
1391
1408
  return a(l, n(G.Content, {
1392
1409
  get class() {
1393
1410
  return _("drawer-content bg-glass flex h-full w-full max-w-[520px] flex-col overflow-y-auto border-l border-border text-card-foreground shadow-2xl", e.class);
@@ -1398,7 +1415,7 @@ function xd(e) {
1398
1415
  return e.title;
1399
1416
  },
1400
1417
  get children() {
1401
- var r = rl();
1418
+ var r = nl();
1402
1419
  return a(r, n(G.Title, {
1403
1420
  class: "text-lg font-semibold leading-none tracking-tight",
1404
1421
  get children() {
@@ -1417,7 +1434,7 @@ function xd(e) {
1417
1434
  }), null), r;
1418
1435
  }
1419
1436
  }), (() => {
1420
- var r = ft();
1437
+ var r = mt();
1421
1438
  return a(r, () => e.children), r;
1422
1439
  })()];
1423
1440
  }
@@ -1425,7 +1442,7 @@ function xd(e) {
1425
1442
  })();
1426
1443
  },
1427
1444
  get children() {
1428
- var l = tl();
1445
+ var l = rl();
1429
1446
  return a(l, n(G.Content, {
1430
1447
  get class() {
1431
1448
  return _("modal-content w-full max-w-lg rounded-xl border border-border bg-card text-card-foreground shadow-sm", e.class);
@@ -1436,7 +1453,7 @@ function xd(e) {
1436
1453
  return e.title;
1437
1454
  },
1438
1455
  get children() {
1439
- var r = el();
1456
+ var r = tl();
1440
1457
  return a(r, n(G.Title, {
1441
1458
  class: "text-lg font-semibold leading-none tracking-tight",
1442
1459
  get children() {
@@ -1451,7 +1468,7 @@ function xd(e) {
1451
1468
  }), null), r;
1452
1469
  }
1453
1470
  }), (() => {
1454
- var r = ft();
1471
+ var r = mt();
1455
1472
  return a(r, () => e.children), r;
1456
1473
  })()];
1457
1474
  }
@@ -1463,17 +1480,17 @@ function xd(e) {
1463
1480
  }
1464
1481
  });
1465
1482
  }
1466
- var ll = /* @__PURE__ */ m('<div class="flex items-center gap-2 text-[12px] text-muted-foreground">'), ol = /* @__PURE__ */ m('<p class="mt-0.5 text-[13px] text-muted-foreground">'), il = /* @__PURE__ */ m('<div class="flex items-center gap-2">'), al = /* @__PURE__ */ m('<div class="flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between"><div><h1 class="mt-1 text-2xl font-bold tracking-tight">'), sl = /* @__PURE__ */ m("<span class=text-muted-foreground/60>/"), dl = /* @__PURE__ */ m("<span>");
1467
- function bd(e) {
1483
+ var ol = /* @__PURE__ */ m('<div class="flex items-center gap-2 text-[12px] text-muted-foreground">'), il = /* @__PURE__ */ m('<p class="mt-0.5 text-[13px] text-muted-foreground">'), al = /* @__PURE__ */ m('<div class="flex items-center gap-2">'), sl = /* @__PURE__ */ m('<div class="flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between"><div><h1 class="mt-1 text-2xl font-bold tracking-tight">'), dl = /* @__PURE__ */ m("<span class=text-muted-foreground/60>/"), cl = /* @__PURE__ */ m("<span>");
1484
+ function wd(e) {
1468
1485
  return (() => {
1469
- var t = al(), l = t.firstChild, r = l.firstChild;
1486
+ var t = sl(), l = t.firstChild, r = l.firstChild;
1470
1487
  return a(l, n(E, {
1471
1488
  get when() {
1472
1489
  var i;
1473
1490
  return (i = e.breadcrumb) == null ? void 0 : i.length;
1474
1491
  },
1475
1492
  get children() {
1476
- var i = ll();
1493
+ var i = ol();
1477
1494
  return a(i, n(A, {
1478
1495
  get each() {
1479
1496
  return e.breadcrumb;
@@ -1483,10 +1500,10 @@ function bd(e) {
1483
1500
  return s() > 0;
1484
1501
  },
1485
1502
  get children() {
1486
- return sl();
1503
+ return dl();
1487
1504
  }
1488
1505
  }), (() => {
1489
- var d = dl();
1506
+ var d = cl();
1490
1507
  return a(d, o), k(() => {
1491
1508
  var f;
1492
1509
  return d.classList.toggle("text-foreground", s() === (((f = e.breadcrumb) == null ? void 0 : f.length) ?? 0) - 1);
@@ -1499,7 +1516,7 @@ function bd(e) {
1499
1516
  return e.subtitle;
1500
1517
  },
1501
1518
  get children() {
1502
- var i = ol();
1519
+ var i = il();
1503
1520
  return a(i, () => e.subtitle), i;
1504
1521
  }
1505
1522
  }), null), a(t, n(E, {
@@ -1507,16 +1524,16 @@ function bd(e) {
1507
1524
  return e.actions;
1508
1525
  },
1509
1526
  get children() {
1510
- var i = il();
1527
+ var i = al();
1511
1528
  return a(i, () => e.actions), i;
1512
1529
  }
1513
1530
  }), null), t;
1514
1531
  })();
1515
1532
  }
1516
- var cl = /* @__PURE__ */ m('<div class="flex flex-col gap-3 border-t border-border p-3 sm:flex-row sm:items-center sm:justify-between"><div class="text-[12px] text-muted-foreground"></div><div class="flex items-center gap-1"><button type=button class="grid h-8 w-8 place-items-center rounded-lg border border-input transition hover:bg-muted disabled:pointer-events-none disabled:opacity-40"></button><span class="px-2 font-mono text-[12px] tabular-nums"></span><button type=button class="grid h-8 w-8 place-items-center rounded-lg border border-input transition hover:bg-muted disabled:pointer-events-none disabled:opacity-40">');
1517
- function ul(e) {
1533
+ var ul = /* @__PURE__ */ m('<div class="flex flex-col gap-3 border-t border-border p-3 sm:flex-row sm:items-center sm:justify-between"><div class="text-[12px] text-muted-foreground"></div><div class="flex items-center gap-1"><button type=button class="grid h-8 w-8 place-items-center rounded-lg border border-input transition hover:bg-muted disabled:pointer-events-none disabled:opacity-40"></button><span class="px-2 font-mono text-[12px] tabular-nums"></span><button type=button class="grid h-8 w-8 place-items-center rounded-lg border border-input transition hover:bg-muted disabled:pointer-events-none disabled:opacity-40">');
1534
+ function gl(e) {
1518
1535
  return (() => {
1519
- var t = cl(), l = t.firstChild, r = l.nextSibling, i = r.firstChild, o = i.nextSibling, s = o.nextSibling;
1536
+ var t = ul(), l = t.firstChild, r = l.nextSibling, i = r.firstChild, o = i.nextSibling, s = o.nextSibling;
1520
1537
  return a(l, () => e.summary), i.$$click = () => e.onChange(e.page - 1), a(i, n(De, {
1521
1538
  class: "h-4 w-4"
1522
1539
  })), a(o, () => {
@@ -1537,21 +1554,21 @@ function ul(e) {
1537
1554
  })();
1538
1555
  }
1539
1556
  H(["click"]);
1540
- var gl = /* @__PURE__ */ m("<select>");
1541
- const fl = "w-full rounded-md border border-input bg-background text-foreground px-3 py-2 text-sm outline-none transition-colors a4-field";
1542
- function $d(e) {
1557
+ var fl = /* @__PURE__ */ m("<select>");
1558
+ const ml = "w-full rounded-md border border-input bg-background text-foreground px-3 py-2 text-sm outline-none transition-colors a4-field";
1559
+ function yd(e) {
1543
1560
  const [t, l] = ie(e, ["value", "onChange", "class", "children"]);
1544
1561
  let r;
1545
1562
  return J(() => {
1546
1563
  const i = t.value ?? "";
1547
1564
  t.children, r && r.value !== i && (r.value = i);
1548
1565
  }), (() => {
1549
- var i = gl();
1566
+ var i = fl();
1550
1567
  i.addEventListener("change", (s) => t.onChange(s.currentTarget.value));
1551
1568
  var o = r;
1552
1569
  return typeof o == "function" ? Y(o, i) : r = i, ae(i, se({
1553
1570
  get class() {
1554
- return _(fl, t.class);
1571
+ return _(ml, t.class);
1555
1572
  },
1556
1573
  get value() {
1557
1574
  return t.value;
@@ -1559,10 +1576,10 @@ function $d(e) {
1559
1576
  }, l), !1, !0), a(i, () => t.children), i;
1560
1577
  })();
1561
1578
  }
1562
- var ml = /* @__PURE__ */ m('<svg viewBox="0 0 24 24"fill=none role=status><circle class=opacity-25 cx=12 cy=12 r=10 stroke=currentColor stroke-width=4></circle><path class=opacity-75 fill=currentColor d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z">');
1563
- function hl(e) {
1579
+ var hl = /* @__PURE__ */ m('<svg viewBox="0 0 24 24"fill=none role=status><circle class=opacity-25 cx=12 cy=12 r=10 stroke=currentColor stroke-width=4></circle><path class=opacity-75 fill=currentColor d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z">');
1580
+ function vl(e) {
1564
1581
  return (() => {
1565
- var t = ml();
1582
+ var t = hl();
1566
1583
  return k((l) => {
1567
1584
  var r = _("h-5 w-5 animate-spin text-muted-foreground", e.class), i = e.label ?? "Loading";
1568
1585
  return r !== l.e && F(t, "class", l.e = r), i !== l.t && F(t, "aria-label", l.t = i), l;
@@ -1572,30 +1589,30 @@ function hl(e) {
1572
1589
  }), t;
1573
1590
  })();
1574
1591
  }
1575
- var mt = /* @__PURE__ */ m("<div>"), vl = /* @__PURE__ */ m('<div class=min-w-0><p class="truncate text-sm text-muted-foreground"></p><p class="truncate text-xl font-semibold tabular-nums text-foreground">');
1576
- const xl = {
1592
+ var ht = /* @__PURE__ */ m("<div>"), xl = /* @__PURE__ */ m('<div class=min-w-0><p class="truncate text-sm text-muted-foreground"></p><p class="truncate text-xl font-semibold tabular-nums text-foreground">');
1593
+ const bl = {
1577
1594
  primary: "bg-primary/15 text-primary",
1578
1595
  success: "bg-emerald-500/15 text-emerald-600",
1579
1596
  danger: "bg-rose-500/15 text-rose-600",
1580
1597
  neutral: "bg-muted text-muted-foreground"
1581
1598
  };
1582
- function wd(e) {
1583
- const t = qr(() => e.value), l = () => (e.format ?? ((i) => String(Math.round(i))))(t());
1599
+ function pd(e) {
1600
+ const t = Xr(() => e.value), l = () => (e.format ?? ((i) => String(Math.round(i))))(t());
1584
1601
  let r;
1585
1602
  return ee(() => {
1586
- r && Xr(r, {
1603
+ r && Wr(r, {
1587
1604
  delay: e.delay ?? 0
1588
1605
  });
1589
1606
  }), (() => {
1590
- var i = mt(), o = r;
1591
- return typeof o == "function" ? Y(o, i) : r = i, a(i, n(gr, {
1607
+ var i = ht(), o = r;
1608
+ return typeof o == "function" ? Y(o, i) : r = i, a(i, n(fr, {
1592
1609
  glass: !0,
1593
1610
  glow: !0,
1594
1611
  get class() {
1595
1612
  return e.class;
1596
1613
  },
1597
1614
  get children() {
1598
- return n(fr, {
1615
+ return n(mr, {
1599
1616
  class: "flex items-center gap-4 p-5",
1600
1617
  get children() {
1601
1618
  return [n(E, {
@@ -1603,11 +1620,11 @@ function wd(e) {
1603
1620
  return e.icon;
1604
1621
  },
1605
1622
  get children() {
1606
- var s = mt();
1607
- return a(s, () => e.icon), k(() => D(s, _("flex h-11 w-11 shrink-0 items-center justify-center rounded-lg", xl[e.tone ?? "neutral"]))), s;
1623
+ var s = ht();
1624
+ return a(s, () => e.icon), k(() => D(s, _("flex h-11 w-11 shrink-0 items-center justify-center rounded-lg", bl[e.tone ?? "neutral"]))), s;
1608
1625
  }
1609
1626
  }), (() => {
1610
- var s = vl(), d = s.firstChild, f = d.nextSibling;
1627
+ var s = xl(), d = s.firstChild, f = d.nextSibling;
1611
1628
  return a(d, () => e.label), a(f, l), s;
1612
1629
  })()];
1613
1630
  }
@@ -1616,11 +1633,11 @@ function wd(e) {
1616
1633
  })), i;
1617
1634
  })();
1618
1635
  }
1619
- var bl = /* @__PURE__ */ m('<div class="w-full overflow-x-auto"><table>'), $l = /* @__PURE__ */ m("<thead>"), wl = /* @__PURE__ */ m("<tbody>"), yl = /* @__PURE__ */ m("<tr>"), pl = /* @__PURE__ */ m("<th>"), _l = /* @__PURE__ */ m("<td>");
1620
- function kl(e) {
1636
+ var $l = /* @__PURE__ */ m('<div class="w-full overflow-x-auto"><table>'), wl = /* @__PURE__ */ m("<thead>"), yl = /* @__PURE__ */ m("<tbody>"), pl = /* @__PURE__ */ m("<tr>"), _l = /* @__PURE__ */ m("<th>"), kl = /* @__PURE__ */ m("<td>");
1637
+ function Cl(e) {
1621
1638
  const [t, l] = ie(e, ["class", "children"]);
1622
1639
  return (() => {
1623
- var r = bl(), i = r.firstChild;
1640
+ var r = $l(), i = r.firstChild;
1624
1641
  return ae(i, se({
1625
1642
  get class() {
1626
1643
  return _("w-full border-collapse text-sm", t.class);
@@ -1628,10 +1645,10 @@ function kl(e) {
1628
1645
  }, l), !1, !0), a(i, () => t.children), r;
1629
1646
  })();
1630
1647
  }
1631
- function Cl(e) {
1648
+ function Sl(e) {
1632
1649
  const [t, l] = ie(e, ["class", "children"]);
1633
1650
  return (() => {
1634
- var r = $l();
1651
+ var r = wl();
1635
1652
  return ae(r, se({
1636
1653
  get class() {
1637
1654
  return _("border-b border-border text-left text-muted-foreground", t.class);
@@ -1639,10 +1656,10 @@ function Cl(e) {
1639
1656
  }, l), !1, !0), a(r, () => t.children), r;
1640
1657
  })();
1641
1658
  }
1642
- function Sl(e) {
1659
+ function El(e) {
1643
1660
  const [t, l] = ie(e, ["class", "children"]);
1644
1661
  return (() => {
1645
- var r = wl();
1662
+ var r = yl();
1646
1663
  return ae(r, se({
1647
1664
  get class() {
1648
1665
  return t.class;
@@ -1650,10 +1667,10 @@ function Sl(e) {
1650
1667
  }, l), !1, !0), a(r, () => t.children), r;
1651
1668
  })();
1652
1669
  }
1653
- function ht(e) {
1670
+ function vt(e) {
1654
1671
  const [t, l] = ie(e, ["class", "children"]);
1655
1672
  return (() => {
1656
- var r = yl();
1673
+ var r = pl();
1657
1674
  return ae(r, se({
1658
1675
  get class() {
1659
1676
  return _("border-b border-border last:border-0 hover:bg-muted/40", t.class);
@@ -1661,10 +1678,10 @@ function ht(e) {
1661
1678
  }, l), !1, !0), a(r, () => t.children), r;
1662
1679
  })();
1663
1680
  }
1664
- function El(e) {
1681
+ function Ml(e) {
1665
1682
  const [t, l] = ie(e, ["class", "children"]);
1666
1683
  return (() => {
1667
- var r = pl();
1684
+ var r = _l();
1668
1685
  return ae(r, se({
1669
1686
  get class() {
1670
1687
  return _("px-3 py-2 text-xs font-semibold uppercase tracking-wide", t.class);
@@ -1672,10 +1689,10 @@ function El(e) {
1672
1689
  }, l), !1, !0), a(r, () => t.children), r;
1673
1690
  })();
1674
1691
  }
1675
- function Ml(e) {
1692
+ function Tl(e) {
1676
1693
  const [t, l] = ie(e, ["class", "children"]);
1677
1694
  return (() => {
1678
- var r = _l();
1695
+ var r = kl();
1679
1696
  return ae(r, se({
1680
1697
  get class() {
1681
1698
  return _("px-3 py-2 align-middle", t.class);
@@ -1683,9 +1700,9 @@ function Ml(e) {
1683
1700
  }, l), !1, !0), a(r, () => t.children), r;
1684
1701
  })();
1685
1702
  }
1686
- var Tl = /* @__PURE__ */ m("<div><div style=position:relative;width:100%>"), Ll = /* @__PURE__ */ m("<div style=position:absolute;top:0;left:0;width:100%>");
1687
- function yd(e) {
1688
- const [t, l] = z(), r = Tr({
1703
+ var Ll = /* @__PURE__ */ m("<div><div style=position:relative;width:100%>"), Fl = /* @__PURE__ */ m("<div style=position:absolute;top:0;left:0;width:100%>");
1704
+ function _d(e) {
1705
+ const [t, l] = z(), r = Lr({
1689
1706
  get count() {
1690
1707
  return e.each.length;
1691
1708
  },
@@ -1695,14 +1712,14 @@ function yd(e) {
1695
1712
  return e.overscan ?? 10;
1696
1713
  }
1697
1714
  });
1698
- return Wr(t, l), (() => {
1699
- var i = Tl(), o = i.firstChild;
1715
+ return Jr(t, l), (() => {
1716
+ var i = Ll(), o = i.firstChild;
1700
1717
  return Y(l, i), a(o, n(A, {
1701
1718
  get each() {
1702
1719
  return r.getVirtualItems();
1703
1720
  },
1704
1721
  children: (s) => (() => {
1705
- var d = Ll();
1722
+ var d = Fl();
1706
1723
  return a(d, () => e.children(e.each[s.index], () => s.index)), k((f) => {
1707
1724
  var u = `${s.size}px`, c = `translateY(${s.start}px)`;
1708
1725
  return u !== f.e && O(d, "height", f.e = u), c !== f.t && O(d, "transform", f.t = c), f;
@@ -1720,7 +1737,7 @@ function yd(e) {
1720
1737
  }), i;
1721
1738
  })();
1722
1739
  }
1723
- function pd(e) {
1740
+ function kd(e) {
1724
1741
  return n(pe, {
1725
1742
  get value() {
1726
1743
  return e.value;
@@ -1771,14 +1788,14 @@ function pd(e) {
1771
1788
  }
1772
1789
  });
1773
1790
  }
1774
- var Fl = /* @__PURE__ */ m("<div class=flex-1>");
1775
- const Dl = {
1791
+ var Dl = /* @__PURE__ */ m("<div class=flex-1>");
1792
+ const Il = {
1776
1793
  success: "border-emerald-500/30 bg-emerald-500/10",
1777
1794
  error: "border-destructive/30 bg-destructive/10",
1778
1795
  info: "border-sky-500/30 bg-sky-500/10"
1779
1796
  };
1780
1797
  function qe(e, t, l) {
1781
- Lr.show((r) => n(xe, {
1798
+ Fr.show((r) => n(xe, {
1782
1799
  get toastId() {
1783
1800
  return r.toastId;
1784
1801
  },
@@ -1788,12 +1805,12 @@ function qe(e, t, l) {
1788
1805
  // Kobalte's data-opened/data-closed presence (same animationend-only
1789
1806
  // mechanism as Modal).
1790
1807
  "toast-item flex w-full items-start gap-2 rounded-md border bg-card p-3 text-sm text-card-foreground shadow-sm ring-1 ring-border",
1791
- Dl[e]
1808
+ Il[e]
1792
1809
  );
1793
1810
  },
1794
1811
  get children() {
1795
1812
  return [(() => {
1796
- var i = Fl();
1813
+ var i = Dl();
1797
1814
  return a(i, n(xe.Title, {
1798
1815
  class: "font-semibold",
1799
1816
  children: t
@@ -1814,12 +1831,12 @@ function qe(e, t, l) {
1814
1831
  }
1815
1832
  }));
1816
1833
  }
1817
- const _d = {
1834
+ const Cd = {
1818
1835
  success: (e, t) => qe("success", e, t),
1819
1836
  error: (e, t) => qe("error", e, t),
1820
1837
  info: (e, t) => qe("info", e, t)
1821
1838
  };
1822
- function kd() {
1839
+ function Sd() {
1823
1840
  return n(xe.Region, {
1824
1841
  duration: 5e3,
1825
1842
  swipeDirection: "right",
@@ -1830,7 +1847,7 @@ function kd() {
1830
1847
  }
1831
1848
  });
1832
1849
  }
1833
- function Cd(e) {
1850
+ function Ed(e) {
1834
1851
  return n(_e, {
1835
1852
  get checked() {
1836
1853
  return e.checked;
@@ -1868,7 +1885,7 @@ function Cd(e) {
1868
1885
  }
1869
1886
  });
1870
1887
  }
1871
- function Sd(e) {
1888
+ function Md(e) {
1872
1889
  return n(ce, {
1873
1890
  get value() {
1874
1891
  return e.value;
@@ -1923,15 +1940,15 @@ function Sd(e) {
1923
1940
  }
1924
1941
  });
1925
1942
  }
1926
- var Il = /* @__PURE__ */ m("<textarea>");
1927
- const Al = "w-full min-h-[80px] resize-y rounded-md border border-input bg-background text-foreground placeholder:text-muted-foreground px-3 py-2 text-sm outline-none transition-colors a4-field disabled:cursor-not-allowed disabled:opacity-50";
1928
- function Ed(e) {
1943
+ var Al = /* @__PURE__ */ m("<textarea>");
1944
+ const zl = "w-full min-h-[80px] resize-y rounded-md border border-input bg-background text-foreground placeholder:text-muted-foreground px-3 py-2 text-sm outline-none transition-colors a4-field disabled:cursor-not-allowed disabled:opacity-50";
1945
+ function Td(e) {
1929
1946
  const [t, l] = ie(e, ["value", "onInput", "class"]);
1930
1947
  return (() => {
1931
- var r = Il();
1948
+ var r = Al();
1932
1949
  return r.$$input = (i) => t.onInput(i.currentTarget.value), ae(r, se({
1933
1950
  get class() {
1934
- return _(Al, t.class);
1951
+ return _(zl, t.class);
1935
1952
  },
1936
1953
  get value() {
1937
1954
  return t.value;
@@ -1940,7 +1957,7 @@ function Ed(e) {
1940
1957
  })();
1941
1958
  }
1942
1959
  H(["input"]);
1943
- function Md(e) {
1960
+ function Ld(e) {
1944
1961
  return n(ke, {
1945
1962
  get children() {
1946
1963
  return [n(ke.Trigger, {
@@ -1963,7 +1980,7 @@ function Md(e) {
1963
1980
  }
1964
1981
  });
1965
1982
  }
1966
- function zl(e) {
1983
+ function Rl(e) {
1967
1984
  return n(Ce, {
1968
1985
  get children() {
1969
1986
  return [n(Ce.Trigger, {
@@ -1986,7 +2003,7 @@ function zl(e) {
1986
2003
  }
1987
2004
  });
1988
2005
  }
1989
- function Td(e) {
2006
+ function Fd(e) {
1990
2007
  return n(Se, {
1991
2008
  get children() {
1992
2009
  return [n(Se.Trigger, {
@@ -2009,8 +2026,8 @@ function Td(e) {
2009
2026
  }
2010
2027
  });
2011
2028
  }
2012
- var Rl = /* @__PURE__ */ m("<p class=font-semibold>"), Ol = /* @__PURE__ */ m("<div class=flex-1><div class=text-muted-foreground>");
2013
- const Pl = {
2029
+ var Ol = /* @__PURE__ */ m("<p class=font-semibold>"), Pl = /* @__PURE__ */ m("<div class=flex-1><div class=text-muted-foreground>");
2030
+ const Bl = {
2014
2031
  info: {
2015
2032
  wrap: "border-sky-500/30 bg-sky-500/10",
2016
2033
  icon: "text-sky-500",
@@ -2032,9 +2049,9 @@ const Pl = {
2032
2049
  Icon: zt
2033
2050
  }
2034
2051
  };
2035
- function Ld(e) {
2036
- const t = () => Pl[e.tone ?? "info"];
2037
- return n(Fr, {
2052
+ function Dd(e) {
2053
+ const t = () => Bl[e.tone ?? "info"];
2054
+ return n(Dr, {
2038
2055
  get class() {
2039
2056
  return _("flex gap-3 rounded-lg border p-3 text-sm text-foreground", t().wrap, e.class);
2040
2057
  },
@@ -2047,13 +2064,13 @@ function Ld(e) {
2047
2064
  return _("mt-0.5 h-4 w-4 shrink-0", t().icon);
2048
2065
  }
2049
2066
  }), (() => {
2050
- var l = Ol(), r = l.firstChild;
2067
+ var l = Pl(), r = l.firstChild;
2051
2068
  return a(l, n(E, {
2052
2069
  get when() {
2053
2070
  return e.title;
2054
2071
  },
2055
2072
  get children() {
2056
- var i = Rl();
2073
+ var i = Ol();
2057
2074
  return a(i, () => e.title), i;
2058
2075
  }
2059
2076
  }), r), a(r, () => e.children), l;
@@ -2084,16 +2101,16 @@ function rr(e) {
2084
2101
  }
2085
2102
  });
2086
2103
  }
2087
- var Bl = /* @__PURE__ */ m("<div>");
2088
- function Fd(e) {
2104
+ var jl = /* @__PURE__ */ m("<div>");
2105
+ function Id(e) {
2089
2106
  return (() => {
2090
- var t = Bl();
2107
+ var t = jl();
2091
2108
  return k(() => D(t, _("animate-pulse rounded-md bg-muted", e.class))), t;
2092
2109
  })();
2093
2110
  }
2094
- function Dd(e) {
2111
+ function Ad(e) {
2095
2112
  const t = () => e.orientation ?? "horizontal";
2096
- return n(Dr, {
2113
+ return n(Ir, {
2097
2114
  get orientation() {
2098
2115
  return t();
2099
2116
  },
@@ -2102,8 +2119,8 @@ function Dd(e) {
2102
2119
  }
2103
2120
  });
2104
2121
  }
2105
- var jl = /* @__PURE__ */ m('<div class="flex items-center justify-between text-sm text-foreground">');
2106
- function Id(e) {
2122
+ var Nl = /* @__PURE__ */ m('<div class="flex items-center justify-between text-sm text-foreground">');
2123
+ function zd(e) {
2107
2124
  const t = () => {
2108
2125
  const l = e.max ?? 100;
2109
2126
  return l <= 0 ? 0 : Math.max(0, Math.min(100, e.value / l * 100));
@@ -2125,7 +2142,7 @@ function Id(e) {
2125
2142
  return e.label;
2126
2143
  },
2127
2144
  get children() {
2128
- var l = jl();
2145
+ var l = Nl();
2129
2146
  return a(l, n(Ee.Label, {
2130
2147
  get children() {
2131
2148
  return e.label;
@@ -2150,8 +2167,8 @@ function Id(e) {
2150
2167
  }
2151
2168
  });
2152
2169
  }
2153
- var Nl = /* @__PURE__ */ m('<div class="flex items-center justify-between text-sm text-foreground">');
2154
- function Ad(e) {
2170
+ var Yl = /* @__PURE__ */ m('<div class="flex items-center justify-between text-sm text-foreground">');
2171
+ function Rd(e) {
2155
2172
  return n(ue, {
2156
2173
  get value() {
2157
2174
  return [e.value];
@@ -2175,7 +2192,7 @@ function Ad(e) {
2175
2192
  return e.label;
2176
2193
  },
2177
2194
  get children() {
2178
- var t = Nl();
2195
+ var t = Yl();
2179
2196
  return a(t, n(ue.Label, {
2180
2197
  get children() {
2181
2198
  return e.label;
@@ -2200,8 +2217,8 @@ function Ad(e) {
2200
2217
  }
2201
2218
  });
2202
2219
  }
2203
- const vt = "grid h-9 w-9 shrink-0 place-items-center border border-input bg-background text-foreground transition-colors hover:bg-muted disabled:cursor-not-allowed disabled:opacity-50";
2204
- function zd(e) {
2220
+ const xt = "grid h-9 w-9 shrink-0 place-items-center border border-input bg-background text-foreground transition-colors hover:bg-muted disabled:cursor-not-allowed disabled:opacity-50";
2221
+ function Od(e) {
2205
2222
  return n(ze, {
2206
2223
  get rawValue() {
2207
2224
  return e.value;
@@ -2219,7 +2236,7 @@ function zd(e) {
2219
2236
  get children() {
2220
2237
  return [n(ze.DecrementTrigger, {
2221
2238
  get class() {
2222
- return _(vt, "rounded-l-md");
2239
+ return _(xt, "rounded-l-md");
2223
2240
  },
2224
2241
  "aria-label": "Decrement",
2225
2242
  children: "−"
@@ -2227,7 +2244,7 @@ function zd(e) {
2227
2244
  class: "w-16 border-y border-input bg-background px-3 py-2 text-center text-sm text-foreground outline-none transition-colors a4-field"
2228
2245
  }), n(ze.IncrementTrigger, {
2229
2246
  get class() {
2230
- return _(vt, "rounded-r-md");
2247
+ return _(xt, "rounded-r-md");
2231
2248
  },
2232
2249
  "aria-label": "Increment",
2233
2250
  children: "+"
@@ -2235,8 +2252,8 @@ function zd(e) {
2235
2252
  }
2236
2253
  });
2237
2254
  }
2238
- function Rd(e) {
2239
- return n(Ir, {
2255
+ function Pd(e) {
2256
+ return n(Ar, {
2240
2257
  get pressed() {
2241
2258
  return e.pressed;
2242
2259
  },
@@ -2257,8 +2274,8 @@ function Rd(e) {
2257
2274
  }
2258
2275
  });
2259
2276
  }
2260
- function Od(e) {
2261
- return n(it, {
2277
+ function Bd(e) {
2278
+ return n(at, {
2262
2279
  get value() {
2263
2280
  return e.value;
2264
2281
  },
@@ -2273,7 +2290,7 @@ function Od(e) {
2273
2290
  get each() {
2274
2291
  return e.options;
2275
2292
  },
2276
- children: (t) => n(it.Item, {
2293
+ children: (t) => n(at.Item, {
2277
2294
  get value() {
2278
2295
  return t.value;
2279
2296
  },
@@ -2286,7 +2303,7 @@ function Od(e) {
2286
2303
  }
2287
2304
  });
2288
2305
  }
2289
- function Pd(e) {
2306
+ function jd(e) {
2290
2307
  return n(Me, {
2291
2308
  get value() {
2292
2309
  return e.value;
@@ -2321,14 +2338,14 @@ function Pd(e) {
2321
2338
  }
2322
2339
  });
2323
2340
  }
2324
- var Yl = /* @__PURE__ */ m('<ol class="flex items-center gap-2 text-muted-foreground">'), Hl = /* @__PURE__ */ m('<li class="flex items-center gap-2">'), Vl = /* @__PURE__ */ m("<span>");
2325
- function Bd(e) {
2341
+ var Hl = /* @__PURE__ */ m('<ol class="flex items-center gap-2 text-muted-foreground">'), Vl = /* @__PURE__ */ m('<li class="flex items-center gap-2">'), Ul = /* @__PURE__ */ m("<span>");
2342
+ function Nd(e) {
2326
2343
  return n(Ye, {
2327
2344
  get class() {
2328
2345
  return _("text-sm", e.class);
2329
2346
  },
2330
2347
  get children() {
2331
- var t = Yl();
2348
+ var t = Hl();
2332
2349
  return a(t, n(A, {
2333
2350
  get each() {
2334
2351
  return e.items;
@@ -2336,14 +2353,14 @@ function Bd(e) {
2336
2353
  children: (l, r) => {
2337
2354
  const i = () => r() === e.items.length - 1;
2338
2355
  return (() => {
2339
- var o = Hl();
2356
+ var o = Vl();
2340
2357
  return a(o, n(E, {
2341
2358
  get when() {
2342
2359
  return W(() => !!l.href)() && !i();
2343
2360
  },
2344
2361
  get fallback() {
2345
2362
  return (() => {
2346
- var s = Vl();
2363
+ var s = Ul();
2347
2364
  return a(s, () => l.label), k(() => D(s, i() ? "font-medium text-foreground" : void 0)), s;
2348
2365
  })();
2349
2366
  },
@@ -2374,8 +2391,8 @@ function Bd(e) {
2374
2391
  }
2375
2392
  });
2376
2393
  }
2377
- var Ul = /* @__PURE__ */ m("<div class=p-6>"), Gl = /* @__PURE__ */ m('<div class="fixed inset-0 z-50 flex items-center justify-center p-4">');
2378
- function jd(e) {
2394
+ var Gl = /* @__PURE__ */ m("<div class=p-6>"), Kl = /* @__PURE__ */ m('<div class="fixed inset-0 z-50 flex items-center justify-center p-4">');
2395
+ function Yd(e) {
2379
2396
  return n(he, {
2380
2397
  get open() {
2381
2398
  return e.open;
@@ -2389,13 +2406,13 @@ function jd(e) {
2389
2406
  return [n(he.Overlay, {
2390
2407
  class: "modal-overlay fixed inset-0 z-40 bg-background/80 backdrop-blur-sm"
2391
2408
  }), (() => {
2392
- var t = Gl();
2409
+ var t = Kl();
2393
2410
  return a(t, n(he.Content, {
2394
2411
  get class() {
2395
2412
  return _("modal-content w-full max-w-md rounded-xl border border-border bg-card text-card-foreground shadow-sm", e.class);
2396
2413
  },
2397
2414
  get children() {
2398
- var l = Ul();
2415
+ var l = Gl();
2399
2416
  return a(l, n(E, {
2400
2417
  get when() {
2401
2418
  return e.title;
@@ -2422,7 +2439,7 @@ function jd(e) {
2422
2439
  }
2423
2440
  });
2424
2441
  }
2425
- function Nd(e) {
2442
+ function Hd(e) {
2426
2443
  return n(Te, {
2427
2444
  get children() {
2428
2445
  return [n(Te.Trigger, {
@@ -2463,7 +2480,7 @@ function Nd(e) {
2463
2480
  }
2464
2481
  });
2465
2482
  }
2466
- function Yd(e) {
2483
+ function Vd(e) {
2467
2484
  return n(oe, {
2468
2485
  get options() {
2469
2486
  return e.options;
@@ -2531,8 +2548,8 @@ function Yd(e) {
2531
2548
  }
2532
2549
  });
2533
2550
  }
2534
- var Kl = /* @__PURE__ */ m('<div role=region aria-roledescription=carousel tabindex=0><div class="relative overflow-hidden rounded-xl border border-border bg-card text-foreground"><div class="flex transition-transform duration-500 ease-out"></div><button type=button aria-label="Previous slide"class="absolute left-2 top-1/2 flex h-9 w-9 -translate-y-1/2 items-center justify-center rounded-full bg-primary text-primary-foreground shadow transition-opacity hover:opacity-90"></button><button type=button aria-label="Next slide"class="absolute right-2 top-1/2 flex h-9 w-9 -translate-y-1/2 items-center justify-center rounded-full bg-primary text-primary-foreground shadow transition-opacity hover:opacity-90"></button></div><div class="flex items-center justify-center gap-2">'), ql = /* @__PURE__ */ m('<div class="w-full shrink-0">'), Xl = /* @__PURE__ */ m("<button type=button>");
2535
- function Hd(e) {
2551
+ var ql = /* @__PURE__ */ m('<div role=region aria-roledescription=carousel tabindex=0><div class="relative overflow-hidden rounded-xl border border-border bg-card text-foreground"><div class="flex transition-transform duration-500 ease-out"></div><button type=button aria-label="Previous slide"class="absolute left-2 top-1/2 flex h-9 w-9 -translate-y-1/2 items-center justify-center rounded-full bg-primary text-primary-foreground shadow transition-opacity hover:opacity-90"></button><button type=button aria-label="Next slide"class="absolute right-2 top-1/2 flex h-9 w-9 -translate-y-1/2 items-center justify-center rounded-full bg-primary text-primary-foreground shadow transition-opacity hover:opacity-90"></button></div><div class="flex items-center justify-center gap-2">'), Xl = /* @__PURE__ */ m('<div class="w-full shrink-0">'), Wl = /* @__PURE__ */ m("<button type=button>");
2552
+ function Ud(e) {
2536
2553
  const [t, l] = z(0), r = () => e.slides.length, i = (c) => {
2537
2554
  const g = r();
2538
2555
  g !== 0 && l((c % g + g) % g);
@@ -2546,13 +2563,13 @@ function Hd(e) {
2546
2563
  }, e.autoplayMs);
2547
2564
  X(() => clearInterval(c));
2548
2565
  }), (() => {
2549
- var c = Kl(), g = c.firstChild, b = g.firstChild, v = b.nextSibling, y = v.nextSibling, x = g.nextSibling;
2566
+ var c = ql(), g = c.firstChild, b = g.firstChild, v = b.nextSibling, y = v.nextSibling, x = g.nextSibling;
2550
2567
  return c.addEventListener("pointerleave", () => u(!1)), c.addEventListener("pointerenter", () => u(!0)), c.$$keydown = d, a(b, n(A, {
2551
2568
  get each() {
2552
2569
  return e.slides;
2553
2570
  },
2554
2571
  children: ($) => (() => {
2555
- var h = ql();
2572
+ var h = Xl();
2556
2573
  return a(h, $), h;
2557
2574
  })()
2558
2575
  })), v.$$click = o, a(v, n(De, {
@@ -2564,7 +2581,7 @@ function Hd(e) {
2564
2581
  return e.slides;
2565
2582
  },
2566
2583
  children: ($, h) => (() => {
2567
- var w = Xl();
2584
+ var w = Wl();
2568
2585
  return w.$$click = () => i(h()), k((p) => {
2569
2586
  var C = `Go to slide ${h() + 1}`, L = _("h-2 w-2 rounded-full transition-colors", t() === h() ? "bg-primary" : "bg-muted");
2570
2587
  return C !== p.e && F(w, "aria-label", p.e = C), L !== p.t && D(w, p.t = L), p;
@@ -2583,11 +2600,11 @@ function Hd(e) {
2583
2600
  })();
2584
2601
  }
2585
2602
  H(["keydown", "click"]);
2586
- var Wl = /* @__PURE__ */ m("<ol aria-label=Progress>"), Jl = /* @__PURE__ */ m("<span>"), Zl = /* @__PURE__ */ m("<span aria-hidden=true>"), Ql = /* @__PURE__ */ m("<button type=button>"), eo = /* @__PURE__ */ m('<p class="text-xs text-muted-foreground">'), to = /* @__PURE__ */ m("<li><div><div><div><p>"), ro = /* @__PURE__ */ m("<div>");
2587
- function Vd(e) {
2603
+ var Jl = /* @__PURE__ */ m("<ol aria-label=Progress>"), Zl = /* @__PURE__ */ m("<span>"), Ql = /* @__PURE__ */ m("<span aria-hidden=true>"), eo = /* @__PURE__ */ m("<button type=button>"), to = /* @__PURE__ */ m('<p class="text-xs text-muted-foreground">'), ro = /* @__PURE__ */ m("<li><div><div><div><p>"), no = /* @__PURE__ */ m("<div>");
2604
+ function Gd(e) {
2588
2605
  const t = () => e.orientation ?? "horizontal";
2589
2606
  return (() => {
2590
- var l = Wl();
2607
+ var l = Jl();
2591
2608
  return a(l, n(A, {
2592
2609
  get each() {
2593
2610
  return e.steps;
@@ -2599,7 +2616,7 @@ function Vd(e) {
2599
2616
  },
2600
2617
  get fallback() {
2601
2618
  return (() => {
2602
- var b = Jl();
2619
+ var b = Zl();
2603
2620
  return a(b, () => i() + 1), b;
2604
2621
  })();
2605
2622
  },
@@ -2611,13 +2628,13 @@ function Vd(e) {
2611
2628
  }
2612
2629
  }), g = () => _("flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-sm font-medium transition-colors", o() || s() ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground", s() && "ring-2 ring-primary/40");
2613
2630
  return (() => {
2614
- var b = to(), v = b.firstChild, y = v.firstChild, x = y.firstChild, $ = x.firstChild;
2631
+ var b = ro(), v = b.firstChild, y = v.firstChild, x = y.firstChild, $ = x.firstChild;
2615
2632
  return a(v, n(E, {
2616
2633
  get when() {
2617
2634
  return !d();
2618
2635
  },
2619
2636
  get children() {
2620
- var h = Zl();
2637
+ var h = Ql();
2621
2638
  return k(() => D(h, _(u() ? "bg-primary" : "bg-border", f() ? "ml-4 -mt-1 mb-1 w-0.5 flex-1" : "mx-2 h-0.5 flex-1"))), h;
2622
2639
  }
2623
2640
  }), y), a(y, n(E, {
@@ -2626,12 +2643,12 @@ function Vd(e) {
2626
2643
  },
2627
2644
  get fallback() {
2628
2645
  return (() => {
2629
- var h = ro();
2646
+ var h = no();
2630
2647
  return a(h, c), k(() => D(h, g())), h;
2631
2648
  })();
2632
2649
  },
2633
2650
  get children() {
2634
- var h = Ql();
2651
+ var h = eo();
2635
2652
  return h.$$click = () => {
2636
2653
  var w;
2637
2654
  return (w = e.onStepClick) == null ? void 0 : w.call(e, i());
@@ -2648,7 +2665,7 @@ function Vd(e) {
2648
2665
  return r.description;
2649
2666
  },
2650
2667
  get children() {
2651
- var h = eo();
2668
+ var h = to();
2652
2669
  return a(h, () => r.description), h;
2653
2670
  }
2654
2671
  }), null), k((h) => {
@@ -2668,35 +2685,35 @@ function Vd(e) {
2668
2685
  })();
2669
2686
  }
2670
2687
  H(["click"]);
2671
- var no = /* @__PURE__ */ m("<ol>"), lo = /* @__PURE__ */ m('<span aria-hidden=true class="absolute left-[calc(0.5rem+0.375rem)] top-3 -bottom-6 w-px -translate-x-1/2 bg-border">'), oo = /* @__PURE__ */ m('<span class="shrink-0 text-xs text-muted-foreground">'), io = /* @__PURE__ */ m('<p class="mt-1 text-sm text-muted-foreground">'), ao = /* @__PURE__ */ m('<li class="relative flex gap-4 pl-2"><span aria-hidden=true></span><div class="min-w-0 flex-1"><div class="flex items-baseline justify-between gap-3"><p class="font-medium text-foreground">');
2672
- const so = {
2688
+ var lo = /* @__PURE__ */ m("<ol>"), oo = /* @__PURE__ */ m('<span aria-hidden=true class="absolute left-[calc(0.5rem+0.375rem)] top-3 -bottom-6 w-px -translate-x-1/2 bg-border">'), io = /* @__PURE__ */ m('<span class="shrink-0 text-xs text-muted-foreground">'), ao = /* @__PURE__ */ m('<p class="mt-1 text-sm text-muted-foreground">'), so = /* @__PURE__ */ m('<li class="relative flex gap-4 pl-2"><span aria-hidden=true></span><div class="min-w-0 flex-1"><div class="flex items-baseline justify-between gap-3"><p class="font-medium text-foreground">');
2689
+ const co = {
2673
2690
  default: "bg-muted border border-border",
2674
2691
  primary: "bg-primary",
2675
2692
  success: "bg-emerald-500",
2676
2693
  danger: "bg-destructive"
2677
2694
  };
2678
- function Ud(e) {
2695
+ function Kd(e) {
2679
2696
  return (() => {
2680
- var t = no();
2697
+ var t = lo();
2681
2698
  return a(t, n(A, {
2682
2699
  get each() {
2683
2700
  return e.items;
2684
2701
  },
2685
2702
  children: (l, r) => (() => {
2686
- var i = ao(), o = i.firstChild, s = o.nextSibling, d = s.firstChild, f = d.firstChild;
2703
+ var i = so(), o = i.firstChild, s = o.nextSibling, d = s.firstChild, f = d.firstChild;
2687
2704
  return a(i, n(E, {
2688
2705
  get when() {
2689
2706
  return r() < e.items.length - 1;
2690
2707
  },
2691
2708
  get children() {
2692
- return lo();
2709
+ return oo();
2693
2710
  }
2694
2711
  }), o), a(f, () => l.title), a(d, n(E, {
2695
2712
  get when() {
2696
2713
  return l.time;
2697
2714
  },
2698
2715
  get children() {
2699
- var u = oo();
2716
+ var u = io();
2700
2717
  return a(u, () => l.time), u;
2701
2718
  }
2702
2719
  }), null), a(s, n(E, {
@@ -2704,24 +2721,24 @@ function Ud(e) {
2704
2721
  return l.description;
2705
2722
  },
2706
2723
  get children() {
2707
- var u = io();
2724
+ var u = ao();
2708
2725
  return a(u, () => l.description), u;
2709
2726
  }
2710
- }), null), k(() => D(o, _("relative z-[1] mt-1 h-3 w-3 shrink-0 rounded-full", so[l.tone ?? "default"]))), i;
2727
+ }), null), k(() => D(o, _("relative z-[1] mt-1 h-3 w-3 shrink-0 rounded-full", co[l.tone ?? "default"]))), i;
2711
2728
  })()
2712
2729
  })), k(() => D(t, _("relative flex flex-col gap-6", e.class))), t;
2713
2730
  })();
2714
2731
  }
2715
- var co = /* @__PURE__ */ m('<p class="mt-1 max-w-sm text-sm text-muted-foreground">'), uo = /* @__PURE__ */ m("<div class=mt-4>"), go = /* @__PURE__ */ m('<div><div class="grid h-12 w-12 place-items-center rounded-full bg-muted text-muted-foreground"></div><p class="mt-4 font-semibold text-foreground">');
2716
- function Gd(e) {
2732
+ var uo = /* @__PURE__ */ m('<p class="mt-1 max-w-sm text-sm text-muted-foreground">'), go = /* @__PURE__ */ m("<div class=mt-4>"), fo = /* @__PURE__ */ m('<div><div class="grid h-12 w-12 place-items-center rounded-full bg-muted text-muted-foreground"></div><p class="mt-4 font-semibold text-foreground">');
2733
+ function qd(e) {
2717
2734
  return (() => {
2718
- var t = go(), l = t.firstChild, r = l.nextSibling;
2735
+ var t = fo(), l = t.firstChild, r = l.nextSibling;
2719
2736
  return a(l, n(E, {
2720
2737
  get when() {
2721
2738
  return e.icon;
2722
2739
  },
2723
2740
  get fallback() {
2724
- return n(br, {
2741
+ return n($r, {
2725
2742
  class: "h-6 w-6"
2726
2743
  });
2727
2744
  },
@@ -2733,7 +2750,7 @@ function Gd(e) {
2733
2750
  return e.description;
2734
2751
  },
2735
2752
  get children() {
2736
- var i = co();
2753
+ var i = uo();
2737
2754
  return a(i, () => e.description), i;
2738
2755
  }
2739
2756
  }), null), a(t, n(E, {
@@ -2741,17 +2758,17 @@ function Gd(e) {
2741
2758
  return e.action;
2742
2759
  },
2743
2760
  get children() {
2744
- var i = uo();
2761
+ var i = go();
2745
2762
  return a(i, () => e.action), i;
2746
2763
  }
2747
2764
  }), null), k(() => D(t, _("flex flex-col items-center py-12 text-center", e.class))), t;
2748
2765
  })();
2749
2766
  }
2750
- var fo = /* @__PURE__ */ m("<div>");
2751
- function Kd(e) {
2767
+ var mo = /* @__PURE__ */ m("<div>");
2768
+ function Xd(e) {
2752
2769
  return (() => {
2753
- var t = fo();
2754
- return a(t, n(tt, {
2770
+ var t = mo();
2771
+ return a(t, n(rt, {
2755
2772
  get selected() {
2756
2773
  return e.value;
2757
2774
  },
@@ -2766,8 +2783,8 @@ function Kd(e) {
2766
2783
  })), k(() => D(t, _("w-72", e.class))), t;
2767
2784
  })();
2768
2785
  }
2769
- var mo = /* @__PURE__ */ m("<span class=shrink-0>"), ho = /* @__PURE__ */ m("<ul role=group>"), vo = /* @__PURE__ */ m('<li role=treeitem><div class="flex items-center gap-1.5 rounded-md px-2 py-1 text-sm text-foreground hover:bg-muted cursor-pointer"><span class=truncate>'), xo = /* @__PURE__ */ m('<span class="h-3.5 w-3.5 shrink-0"aria-hidden=true>'), bo = /* @__PURE__ */ m("<ul role=tree>");
2770
- function qd(e) {
2786
+ var ho = /* @__PURE__ */ m("<span class=shrink-0>"), vo = /* @__PURE__ */ m("<ul role=group>"), xo = /* @__PURE__ */ m('<li role=treeitem><div class="flex items-center gap-1.5 rounded-md px-2 py-1 text-sm text-foreground hover:bg-muted cursor-pointer"><span class=truncate>'), bo = /* @__PURE__ */ m('<span class="h-3.5 w-3.5 shrink-0"aria-hidden=true>'), $o = /* @__PURE__ */ m("<ul role=tree>");
2787
+ function Wd(e) {
2771
2788
  const [t, l] = z(new Set(e.defaultExpanded ?? [])), r = (o) => l((s) => {
2772
2789
  const d = new Set(s);
2773
2790
  return d.has(o) ? d.delete(o) : d.add(o), d;
@@ -2777,13 +2794,13 @@ function qd(e) {
2777
2794
  return (((f = o.node.children) == null ? void 0 : f.length) ?? 0) > 0;
2778
2795
  }, d = () => t().has(o.node.id);
2779
2796
  return (() => {
2780
- var f = vo(), u = f.firstChild, c = u.firstChild;
2797
+ var f = xo(), u = f.firstChild, c = u.firstChild;
2781
2798
  return u.$$click = () => s() && r(o.node.id), a(u, n(E, {
2782
2799
  get when() {
2783
2800
  return s();
2784
2801
  },
2785
2802
  get fallback() {
2786
- return xo();
2803
+ return bo();
2787
2804
  },
2788
2805
  get children() {
2789
2806
  return n(de, {
@@ -2798,7 +2815,7 @@ function qd(e) {
2798
2815
  return o.node.icon;
2799
2816
  },
2800
2817
  get children() {
2801
- var g = mo();
2818
+ var g = ho();
2802
2819
  return a(g, () => o.node.icon), g;
2803
2820
  }
2804
2821
  }), c), a(c, () => o.node.label), a(f, n(E, {
@@ -2806,7 +2823,7 @@ function qd(e) {
2806
2823
  return W(() => !!s())() && d();
2807
2824
  },
2808
2825
  get children() {
2809
- var g = ho();
2826
+ var g = vo();
2810
2827
  return a(g, n(A, {
2811
2828
  get each() {
2812
2829
  return o.node.children;
@@ -2829,7 +2846,7 @@ function qd(e) {
2829
2846
  })();
2830
2847
  };
2831
2848
  return (() => {
2832
- var o = bo();
2849
+ var o = $o();
2833
2850
  return a(o, n(A, {
2834
2851
  get each() {
2835
2852
  return e.nodes;
@@ -2842,25 +2859,25 @@ function qd(e) {
2842
2859
  })();
2843
2860
  }
2844
2861
  H(["click"]);
2845
- var $o = /* @__PURE__ */ m("<kbd>");
2846
- const wo = "inline-flex min-w-[1.5rem] items-center justify-center rounded border border-border bg-muted px-1.5 py-0.5 font-mono text-xs text-muted-foreground shadow-sm";
2847
- function Xd(e) {
2862
+ var wo = /* @__PURE__ */ m("<kbd>");
2863
+ const yo = "inline-flex min-w-[1.5rem] items-center justify-center rounded border border-border bg-muted px-1.5 py-0.5 font-mono text-xs text-muted-foreground shadow-sm";
2864
+ function Jd(e) {
2848
2865
  return (() => {
2849
- var t = $o();
2850
- return a(t, () => e.children), k(() => D(t, _(wo, e.class))), t;
2866
+ var t = wo();
2867
+ return a(t, () => e.children), k(() => D(t, _(yo, e.class))), t;
2851
2868
  })();
2852
2869
  }
2853
- var xt = /* @__PURE__ */ m("<div>"), yo = /* @__PURE__ */ m('<div class="-ml-2 ring-2 ring-background rounded-full"><span class="grid h-9 w-9 shrink-0 place-items-center rounded-full bg-muted text-xs font-medium text-muted-foreground">+');
2854
- function Wd(e) {
2870
+ var bt = /* @__PURE__ */ m("<div>"), po = /* @__PURE__ */ m('<div class="-ml-2 ring-2 ring-background rounded-full"><span class="grid h-9 w-9 shrink-0 place-items-center rounded-full bg-muted text-xs font-medium text-muted-foreground">+');
2871
+ function Zd(e) {
2855
2872
  const t = () => e.max ?? 4, l = () => e.avatars.slice(0, t()), r = () => e.avatars.length - l().length;
2856
2873
  return (() => {
2857
- var i = xt();
2874
+ var i = bt();
2858
2875
  return a(i, n(A, {
2859
2876
  get each() {
2860
2877
  return l();
2861
2878
  },
2862
2879
  children: (o, s) => (() => {
2863
- var d = xt();
2880
+ var d = bt();
2864
2881
  return a(d, n(rr, {
2865
2882
  get src() {
2866
2883
  return o.src;
@@ -2876,34 +2893,34 @@ function Wd(e) {
2876
2893
  }), null), a(i, (() => {
2877
2894
  var o = W(() => r() > 0);
2878
2895
  return () => o() && (() => {
2879
- var s = yo(), d = s.firstChild;
2896
+ var s = po(), d = s.firstChild;
2880
2897
  return d.firstChild, a(d, r, null), s;
2881
2898
  })();
2882
2899
  })(), null), k(() => D(i, _("flex items-center", e.class))), i;
2883
2900
  })();
2884
2901
  }
2885
- var po = /* @__PURE__ */ m("<dl>"), _o = /* @__PURE__ */ m('<div class="border-b border-border py-2"><dt class="text-xs uppercase tracking-wide text-muted-foreground"></dt><dd class="mt-0.5 text-sm text-foreground">');
2886
- const bt = {
2902
+ var _o = /* @__PURE__ */ m("<dl>"), ko = /* @__PURE__ */ m('<div class="border-b border-border py-2"><dt class="text-xs uppercase tracking-wide text-muted-foreground"></dt><dd class="mt-0.5 text-sm text-foreground">');
2903
+ const $t = {
2887
2904
  1: "grid-cols-1",
2888
2905
  2: "sm:grid-cols-2",
2889
2906
  3: "sm:grid-cols-3"
2890
2907
  };
2891
- function Jd(e) {
2908
+ function Qd(e) {
2892
2909
  return (() => {
2893
- var t = po();
2910
+ var t = _o();
2894
2911
  return a(t, n(A, {
2895
2912
  get each() {
2896
2913
  return e.items;
2897
2914
  },
2898
2915
  children: (l) => (() => {
2899
- var r = _o(), i = r.firstChild, o = i.nextSibling;
2916
+ var r = ko(), i = r.firstChild, o = i.nextSibling;
2900
2917
  return a(i, () => l.label), a(o, () => l.value), r;
2901
2918
  })()
2902
- })), k(() => D(t, _("grid gap-x-6", bt[e.columns ?? 1] ?? bt[1], e.class))), t;
2919
+ })), k(() => D(t, _("grid gap-x-6", $t[e.columns ?? 1] ?? $t[1], e.class))), t;
2903
2920
  })();
2904
2921
  }
2905
- var ko = /* @__PURE__ */ m('<p class="text-5xl font-bold text-muted-foreground">'), Co = /* @__PURE__ */ m('<p class="mt-2 max-w-md text-muted-foreground">'), So = /* @__PURE__ */ m("<div class=mt-6>"), Eo = /* @__PURE__ */ m('<div><div></div><p class="mt-4 text-xl font-bold text-foreground">');
2906
- const Mo = {
2922
+ var Co = /* @__PURE__ */ m('<p class="text-5xl font-bold text-muted-foreground">'), So = /* @__PURE__ */ m('<p class="mt-2 max-w-md text-muted-foreground">'), Eo = /* @__PURE__ */ m("<div class=mt-6>"), Mo = /* @__PURE__ */ m('<div><div></div><p class="mt-4 text-xl font-bold text-foreground">');
2923
+ const To = {
2907
2924
  success: {
2908
2925
  Icon: Ot,
2909
2926
  icon: "text-emerald-500",
@@ -2925,28 +2942,28 @@ const Mo = {
2925
2942
  tint: "bg-primary/10"
2926
2943
  },
2927
2944
  404: {
2928
- Icon: wr,
2945
+ Icon: yr,
2929
2946
  icon: "text-muted-foreground",
2930
2947
  tint: "bg-muted",
2931
2948
  code: "404"
2932
2949
  },
2933
2950
  500: {
2934
- Icon: $r,
2951
+ Icon: wr,
2935
2952
  icon: "text-destructive",
2936
2953
  tint: "bg-destructive/10",
2937
2954
  code: "500"
2938
2955
  }
2939
2956
  };
2940
- function Zd(e) {
2941
- const t = () => Mo[e.status ?? "info"];
2957
+ function ec(e) {
2958
+ const t = () => To[e.status ?? "info"];
2942
2959
  return (() => {
2943
- var l = Eo(), r = l.firstChild, i = r.nextSibling;
2960
+ var l = Mo(), r = l.firstChild, i = r.nextSibling;
2944
2961
  return a(l, n(E, {
2945
2962
  get when() {
2946
2963
  return t().code;
2947
2964
  },
2948
2965
  get children() {
2949
- var o = ko();
2966
+ var o = Co();
2950
2967
  return a(o, () => t().code), o;
2951
2968
  }
2952
2969
  }), r), a(r, n(Dt, {
@@ -2961,7 +2978,7 @@ function Zd(e) {
2961
2978
  return e.description;
2962
2979
  },
2963
2980
  get children() {
2964
- var o = Co();
2981
+ var o = So();
2965
2982
  return a(o, () => e.description), o;
2966
2983
  }
2967
2984
  }), null), a(l, n(E, {
@@ -2969,7 +2986,7 @@ function Zd(e) {
2969
2986
  return e.actions;
2970
2987
  },
2971
2988
  get children() {
2972
- var o = So();
2989
+ var o = Eo();
2973
2990
  return a(o, () => e.actions), o;
2974
2991
  }
2975
2992
  }), null), k((o) => {
@@ -2981,8 +2998,8 @@ function Zd(e) {
2981
2998
  }), l;
2982
2999
  })();
2983
3000
  }
2984
- var To = /* @__PURE__ */ m('<div><div class=overflow-auto></div><div role=separator tabindex=0></div><div class="flex-1 overflow-auto">');
2985
- function Qd(e) {
3001
+ var Lo = /* @__PURE__ */ m('<div><div class=overflow-auto></div><div role=separator tabindex=0></div><div class="flex-1 overflow-auto">');
3002
+ function tc(e) {
2986
3003
  const t = () => e.orientation ?? "horizontal", l = () => e.min ?? 15, r = () => e.max ?? 85, i = (g) => Math.min(r(), Math.max(l(), g)), [o, s] = z(i(e.initial ?? 50));
2987
3004
  let d;
2988
3005
  const f = (g) => {
@@ -3004,7 +3021,7 @@ function Qd(e) {
3004
3021
  g.preventDefault(), s((y) => i(y + v));
3005
3022
  };
3006
3023
  return (() => {
3007
- var g = To(), b = g.firstChild, v = b.nextSibling, y = v.nextSibling, x = d;
3024
+ var g = Lo(), b = g.firstChild, v = b.nextSibling, y = v.nextSibling, x = d;
3008
3025
  return typeof x == "function" ? Y(x, g) : d = g, a(b, () => e.start), v.$$keydown = c, v.$$pointerdown = u, a(y, () => e.end), k(($) => {
3009
3026
  var h = _("flex overflow-hidden", t() === "horizontal" ? "h-64 flex-row" : "flex-col", e.class), w = `${o()}%`, p = t(), C = Math.round(o()), L = l(), S = r(), M = _("shrink-0 bg-border transition-colors hover:bg-primary/50 focus-visible:bg-primary/50 focus-visible:outline-none", t() === "horizontal" ? "w-1 cursor-col-resize" : "h-1 cursor-row-resize"), T = `${100 - o()}%`;
3010
3027
  return h !== $.e && D(g, $.e = h), w !== $.t && O(b, "flex-basis", $.t = w), p !== $.a && F(v, "aria-orientation", $.a = p), C !== $.o && F(v, "aria-valuenow", $.o = C), L !== $.i && F(v, "aria-valuemin", $.i = L), S !== $.n && F(v, "aria-valuemax", $.n = S), M !== $.s && D(v, $.s = M), T !== $.h && O(y, "flex-basis", $.h = T), $;
@@ -3021,8 +3038,8 @@ function Qd(e) {
3021
3038
  })();
3022
3039
  }
3023
3040
  H(["pointerdown", "keydown"]);
3024
- var Lo = /* @__PURE__ */ m('<input autofocus type=text class="w-full border-b border-border bg-transparent px-4 py-3 text-sm text-foreground outline-none placeholder:text-muted-foreground">'), Fo = /* @__PURE__ */ m('<ul class="max-h-80 overflow-y-auto p-2">'), Do = /* @__PURE__ */ m('<div class="flex items-center gap-3 border-t border-border px-4 py-2 text-[11px] text-muted-foreground"><span>↑↓ to navigate</span><span>↵ to select</span><span>esc to close'), Io = /* @__PURE__ */ m('<div class="fixed inset-x-0 top-[14vh] z-50 mx-auto w-full max-w-lg px-4">'), Ao = /* @__PURE__ */ m('<li class="px-3 py-8 text-center text-sm text-muted-foreground">No results'), zo = /* @__PURE__ */ m('<div class="px-3 pb-1 pt-2 text-[11px] font-medium uppercase tracking-wide text-muted-foreground">'), Ro = /* @__PURE__ */ m('<span class="text-[11px] uppercase tracking-wide text-muted-foreground">'), Oo = /* @__PURE__ */ m('<li><button type=button><span class="text-sm text-foreground">');
3025
- function ec(e) {
3041
+ var Fo = /* @__PURE__ */ m('<input autofocus type=text class="w-full border-b border-border bg-transparent px-4 py-3 text-sm text-foreground outline-none placeholder:text-muted-foreground">'), Do = /* @__PURE__ */ m('<ul class="max-h-80 overflow-y-auto p-2">'), Io = /* @__PURE__ */ m('<div class="flex items-center gap-3 border-t border-border px-4 py-2 text-[11px] text-muted-foreground"><span>↑↓ to navigate</span><span>↵ to select</span><span>esc to close'), Ao = /* @__PURE__ */ m('<div class="fixed inset-x-0 top-[14vh] z-50 mx-auto w-full max-w-lg px-4">'), zo = /* @__PURE__ */ m('<li class="px-3 py-8 text-center text-sm text-muted-foreground">No results'), Ro = /* @__PURE__ */ m('<div class="px-3 pb-1 pt-2 text-[11px] font-medium uppercase tracking-wide text-muted-foreground">'), Oo = /* @__PURE__ */ m('<span class="text-[11px] uppercase tracking-wide text-muted-foreground">'), Po = /* @__PURE__ */ m('<li><button type=button><span class="text-sm text-foreground">');
3042
+ function rc(e) {
3026
3043
  const [t, l] = z(""), [r, i] = z(0), o = K(() => {
3027
3044
  const f = t().trim().toLowerCase();
3028
3045
  return f ? e.items.filter((u) => `${u.label} ${u.hint ?? ""} ${u.group ?? ""}`.toLowerCase().includes(f)) : e.items;
@@ -3059,13 +3076,13 @@ function ec(e) {
3059
3076
  return [n(G.Overlay, {
3060
3077
  class: "modal-overlay fixed inset-0 z-40 bg-background/80 backdrop-blur-sm"
3061
3078
  }), (() => {
3062
- var f = Io();
3079
+ var f = Ao();
3063
3080
  return a(f, n(G.Content, {
3064
3081
  role: "dialog",
3065
3082
  class: "modal-content bg-glass overflow-hidden rounded-xl border border-border shadow-2xl",
3066
3083
  get children() {
3067
3084
  return [(() => {
3068
- var u = Lo();
3085
+ var u = Fo();
3069
3086
  return u.$$keydown = d, u.$$input = (c) => l(c.currentTarget.value), k((c) => {
3070
3087
  var g = e.placeholder ?? "Type a command…", b = e.placeholder ?? "Type a command…";
3071
3088
  return g !== c.e && F(u, "placeholder", c.e = g), b !== c.t && F(u, "aria-label", c.t = b), c;
@@ -3074,13 +3091,13 @@ function ec(e) {
3074
3091
  t: void 0
3075
3092
  }), k(() => u.value = t()), u;
3076
3093
  })(), (() => {
3077
- var u = Fo();
3094
+ var u = Do();
3078
3095
  return a(u, n(E, {
3079
3096
  get when() {
3080
3097
  return o().length;
3081
3098
  },
3082
3099
  get fallback() {
3083
- return Ao();
3100
+ return zo();
3084
3101
  },
3085
3102
  get children() {
3086
3103
  return n(A, {
@@ -3088,14 +3105,14 @@ function ec(e) {
3088
3105
  return o();
3089
3106
  },
3090
3107
  children: (c, g) => (() => {
3091
- var b = Oo(), v = b.firstChild, y = v.firstChild;
3108
+ var b = Po(), v = b.firstChild, y = v.firstChild;
3092
3109
  return a(b, n(E, {
3093
3110
  get when() {
3094
3111
  var x;
3095
3112
  return W(() => !!c.group)() && (g() === 0 || ((x = o()[g() - 1]) == null ? void 0 : x.group) !== c.group);
3096
3113
  },
3097
3114
  get children() {
3098
- var x = zo();
3115
+ var x = Ro();
3099
3116
  return a(x, () => c.group), x;
3100
3117
  }
3101
3118
  }), v), v.$$click = () => s(c), v.addEventListener("mouseenter", () => i(g())), a(y, () => c.label), a(v, n(E, {
@@ -3103,7 +3120,7 @@ function ec(e) {
3103
3120
  return c.hint;
3104
3121
  },
3105
3122
  get children() {
3106
- var x = Ro();
3123
+ var x = Oo();
3107
3124
  return a(x, () => c.hint), x;
3108
3125
  }
3109
3126
  }), null), k(() => D(v, _("flex w-full items-center justify-between gap-3 rounded-md px-3 py-2 text-left transition-colors", r() === g() ? "bg-primary/15 text-foreground" : "text-muted-foreground"))), b;
@@ -3111,7 +3128,7 @@ function ec(e) {
3111
3128
  });
3112
3129
  }
3113
3130
  })), u;
3114
- })(), Do()];
3131
+ })(), Io()];
3115
3132
  }
3116
3133
  })), f;
3117
3134
  })()];
@@ -3121,8 +3138,8 @@ function ec(e) {
3121
3138
  });
3122
3139
  }
3123
3140
  H(["input", "keydown", "click"]);
3124
- var Po = /* @__PURE__ */ m('<div><input class="flex-1 border-0 bg-transparent px-1 text-sm text-foreground outline-none placeholder:text-muted-foreground">'), Bo = /* @__PURE__ */ m('<span class="inline-flex items-center gap-1 rounded bg-muted px-2 py-0.5 text-xs text-foreground"><button type=button class="inline-flex items-center text-muted-foreground transition-colors hover:text-foreground">');
3125
- function tc(e) {
3141
+ var Bo = /* @__PURE__ */ m('<div><input class="flex-1 border-0 bg-transparent px-1 text-sm text-foreground outline-none placeholder:text-muted-foreground">'), jo = /* @__PURE__ */ m('<span class="inline-flex items-center gap-1 rounded bg-muted px-2 py-0.5 text-xs text-foreground"><button type=button class="inline-flex items-center text-muted-foreground transition-colors hover:text-foreground">');
3142
+ function nc(e) {
3126
3143
  const [t, l] = z(""), r = () => {
3127
3144
  const s = t().trim();
3128
3145
  s && !e.value.includes(s) && e.onChange([...e.value, s]), l("");
@@ -3132,13 +3149,13 @@ function tc(e) {
3132
3149
  s.key === "Enter" || s.key === "," ? (s.preventDefault(), r()) : s.key === "Backspace" && t() === "" && e.value.length > 0 && i(e.value[e.value.length - 1]);
3133
3150
  };
3134
3151
  return (() => {
3135
- var s = Po(), d = s.firstChild;
3152
+ var s = Bo(), d = s.firstChild;
3136
3153
  return a(s, n(A, {
3137
3154
  get each() {
3138
3155
  return e.value;
3139
3156
  },
3140
3157
  children: (f) => (() => {
3141
- var u = Bo(), c = u.firstChild;
3158
+ var u = jo(), c = u.firstChild;
3142
3159
  return a(u, f, c), c.$$click = () => i(f), F(c, "aria-label", `Remove ${f}`), a(c, n(me, {
3143
3160
  class: "size-3"
3144
3161
  })), u;
@@ -3153,10 +3170,10 @@ function tc(e) {
3153
3170
  })();
3154
3171
  }
3155
3172
  H(["input", "keydown", "click"]);
3156
- var jo = /* @__PURE__ */ m('<div class="px-3 py-2 text-sm text-muted-foreground">'), No = /* @__PURE__ */ m('<div><button type=button class="flex w-full items-center justify-between rounded-md px-3 py-2 text-sm font-medium text-foreground hover:bg-muted">');
3157
- function rc(e) {
3173
+ var No = /* @__PURE__ */ m('<div class="px-3 py-2 text-sm text-muted-foreground">'), Yo = /* @__PURE__ */ m('<div><button type=button class="flex w-full items-center justify-between rounded-md px-3 py-2 text-sm font-medium text-foreground hover:bg-muted">');
3174
+ function lc(e) {
3158
3175
  return (() => {
3159
- var t = No(), l = t.firstChild;
3176
+ var t = Yo(), l = t.firstChild;
3160
3177
  return l.$$click = () => e.onOpenChange(!e.open), a(l, () => e.title, null), a(l, n(Ae, {
3161
3178
  get class() {
3162
3179
  return _("h-4 w-4 shrink-0 transition-transform duration-200", e.open && "rotate-180");
@@ -3166,7 +3183,7 @@ function rc(e) {
3166
3183
  return e.open;
3167
3184
  },
3168
3185
  get children() {
3169
- var r = jo();
3186
+ var r = No();
3170
3187
  return a(r, () => e.children), r;
3171
3188
  }
3172
3189
  }), null), k((r) => {
@@ -3179,11 +3196,11 @@ function rc(e) {
3179
3196
  })();
3180
3197
  }
3181
3198
  H(["click"]);
3182
- var Yo = /* @__PURE__ */ m('<div role=progressbar aria-valuemin=0 aria-valuemax=100><svg class=-rotate-90><circle fill=none stroke=hsl(var(--muted))></circle><circle fill=none stroke=hsl(var(--primary)) stroke-linecap=round class=transition-all></circle></svg><div class="absolute inset-0 flex items-center justify-center text-sm font-medium text-foreground">');
3183
- function nc(e) {
3199
+ var Ho = /* @__PURE__ */ m('<div role=progressbar aria-valuemin=0 aria-valuemax=100><svg class=-rotate-90><circle fill=none stroke=hsl(var(--muted))></circle><circle fill=none stroke=hsl(var(--primary)) stroke-linecap=round class=transition-all></circle></svg><div class="absolute inset-0 flex items-center justify-center text-sm font-medium text-foreground">');
3200
+ function oc(e) {
3184
3201
  const t = () => e.size ?? 96, l = () => e.thickness ?? 8, r = () => Math.min(100, Math.max(0, e.value)), i = () => (t() - l()) / 2, o = () => 2 * Math.PI * i(), s = () => o() * (1 - r() / 100);
3185
3202
  return (() => {
3186
- var d = Yo(), f = d.firstChild, u = f.firstChild, c = u.nextSibling, g = f.nextSibling;
3203
+ var d = Ho(), f = d.firstChild, u = f.firstChild, c = u.nextSibling, g = f.nextSibling;
3187
3204
  return a(g, n(E, {
3188
3205
  get when() {
3189
3206
  return e.label;
@@ -3218,8 +3235,8 @@ function nc(e) {
3218
3235
  }), d;
3219
3236
  })();
3220
3237
  }
3221
- var Ho = /* @__PURE__ */ m('<button type=button aria-label="Back to top">');
3222
- function lc(e) {
3238
+ var Vo = /* @__PURE__ */ m('<button type=button aria-label="Back to top">');
3239
+ function ic(e) {
3223
3240
  const [t, l] = z(!1);
3224
3241
  return ee(() => {
3225
3242
  const r = () => l(window.scrollY > (e.threshold ?? 300));
@@ -3231,30 +3248,30 @@ function lc(e) {
3231
3248
  return t();
3232
3249
  },
3233
3250
  get children() {
3234
- var r = Ho();
3251
+ var r = Vo();
3235
3252
  return r.$$click = () => window.scrollTo({
3236
3253
  top: 0,
3237
3254
  behavior: "smooth"
3238
- }), a(r, n(yr, {
3255
+ }), a(r, n(pr, {
3239
3256
  class: "h-5 w-5"
3240
3257
  })), k(() => D(r, _("fixed bottom-6 right-6 z-40 grid h-11 w-11 place-items-center rounded-full bg-primary text-primary-foreground shadow-lg", e.class))), r;
3241
3258
  }
3242
3259
  });
3243
3260
  }
3244
3261
  H(["click"]);
3245
- var Vo = /* @__PURE__ */ m("<button type=button>");
3246
- const Uo = {
3262
+ var Uo = /* @__PURE__ */ m("<button type=button>");
3263
+ const Go = {
3247
3264
  "bottom-right": "bottom-6 right-6",
3248
3265
  "bottom-left": "bottom-6 left-6"
3249
- }, Go = "fixed z-40 grid h-14 w-14 place-items-center rounded-full bg-primary text-primary-foreground shadow-lg transition hover:brightness-110";
3250
- function oc(e) {
3266
+ }, Ko = "fixed z-40 grid h-14 w-14 place-items-center rounded-full bg-primary text-primary-foreground shadow-lg transition hover:brightness-110";
3267
+ function ac(e) {
3251
3268
  return (() => {
3252
- var t = Vo();
3269
+ var t = Uo();
3253
3270
  return t.$$click = () => {
3254
3271
  var l;
3255
3272
  return (l = e.onClick) == null ? void 0 : l.call(e);
3256
3273
  }, a(t, () => e.icon), k((l) => {
3257
- var r = e.label, i = _(Go, Uo[e.position ?? "bottom-right"], e.class);
3274
+ var r = e.label, i = _(Ko, Go[e.position ?? "bottom-right"], e.class);
3258
3275
  return r !== l.e && F(t, "aria-label", l.e = r), i !== l.t && D(t, l.t = i), l;
3259
3276
  }, {
3260
3277
  e: void 0,
@@ -3263,8 +3280,8 @@ function oc(e) {
3263
3280
  })();
3264
3281
  }
3265
3282
  H(["click"]);
3266
- var Ko = /* @__PURE__ */ m("<nav>"), qo = /* @__PURE__ */ m("<a>");
3267
- function ic(e) {
3283
+ var qo = /* @__PURE__ */ m("<nav>"), Xo = /* @__PURE__ */ m("<a>");
3284
+ function sc(e) {
3268
3285
  const [t, l] = z();
3269
3286
  ee(() => {
3270
3287
  const i = /* @__PURE__ */ new Map(), o = new IntersectionObserver((s) => {
@@ -3292,13 +3309,13 @@ function ic(e) {
3292
3309
  }), l(o);
3293
3310
  };
3294
3311
  return (() => {
3295
- var i = Ko();
3312
+ var i = qo();
3296
3313
  return a(i, n(A, {
3297
3314
  get each() {
3298
3315
  return e.items;
3299
3316
  },
3300
3317
  children: (o) => (() => {
3301
- var s = qo();
3318
+ var s = Xo();
3302
3319
  return s.$$click = (d) => r(d, o.id), a(s, () => o.label), k((d) => {
3303
3320
  var f = "#" + o.id, u = t() === o.id ? "true" : void 0, c = _("block rounded px-3 py-1.5 text-sm transition-colors", t() === o.id ? "border-l-2 border-primary font-medium text-primary" : "text-muted-foreground hover:text-foreground");
3304
3321
  return f !== d.e && F(s, "href", d.e = f), u !== d.t && F(s, "aria-current", d.t = u), c !== d.a && D(s, d.a = c), d;
@@ -3312,51 +3329,51 @@ function ic(e) {
3312
3329
  })();
3313
3330
  }
3314
3331
  H(["click"]);
3315
- var Xo = /* @__PURE__ */ m("<span>"), Wo = /* @__PURE__ */ m('<mark class="rounded bg-primary/30 px-0.5 text-foreground">');
3316
- function Jo(e) {
3332
+ var Wo = /* @__PURE__ */ m("<span>"), Jo = /* @__PURE__ */ m('<mark class="rounded bg-primary/30 px-0.5 text-foreground">');
3333
+ function Zo(e) {
3317
3334
  return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
3318
3335
  }
3319
- function ac(e) {
3336
+ function dc(e) {
3320
3337
  const t = () => {
3321
3338
  if (!e.query) return [{
3322
3339
  text: e.text,
3323
3340
  match: !1
3324
3341
  }];
3325
- const l = new RegExp(`(${Jo(e.query)})`, "gi"), r = e.query.toLowerCase();
3342
+ const l = new RegExp(`(${Zo(e.query)})`, "gi"), r = e.query.toLowerCase();
3326
3343
  return e.text.split(l).filter((i) => i !== "").map((i) => ({
3327
3344
  text: i,
3328
3345
  match: i.toLowerCase() === r
3329
3346
  }));
3330
3347
  };
3331
3348
  return (() => {
3332
- var l = Xo();
3349
+ var l = Wo();
3333
3350
  return a(l, n(A, {
3334
3351
  get each() {
3335
3352
  return t();
3336
3353
  },
3337
3354
  children: (r) => r.match ? (() => {
3338
- var i = Wo();
3355
+ var i = Jo();
3339
3356
  return a(i, () => r.text), i;
3340
3357
  })() : r.text
3341
3358
  })), k(() => D(l, _(e.class))), l;
3342
3359
  })();
3343
3360
  }
3344
- var Zo = /* @__PURE__ */ m("<ul>"), $t = /* @__PURE__ */ m("<div class=shrink-0>"), Qo = /* @__PURE__ */ m('<p class="text-xs text-muted-foreground">'), ei = /* @__PURE__ */ m('<div class="text-xs text-muted-foreground">'), ti = /* @__PURE__ */ m('<li class="flex items-center gap-3 px-4 py-3"><div class="min-w-0 flex-1"><p class="text-sm font-medium text-foreground">');
3345
- function sc(e) {
3361
+ var Qo = /* @__PURE__ */ m("<ul>"), wt = /* @__PURE__ */ m("<div class=shrink-0>"), ei = /* @__PURE__ */ m('<p class="text-xs text-muted-foreground">'), ti = /* @__PURE__ */ m('<div class="text-xs text-muted-foreground">'), ri = /* @__PURE__ */ m('<li class="flex items-center gap-3 px-4 py-3"><div class="min-w-0 flex-1"><p class="text-sm font-medium text-foreground">');
3362
+ function cc(e) {
3346
3363
  return (() => {
3347
- var t = Zo();
3364
+ var t = Qo();
3348
3365
  return a(t, n(A, {
3349
3366
  get each() {
3350
3367
  return e.items;
3351
3368
  },
3352
3369
  children: (l) => (() => {
3353
- var r = ti(), i = r.firstChild, o = i.firstChild;
3370
+ var r = ri(), i = r.firstChild, o = i.firstChild;
3354
3371
  return a(r, n(E, {
3355
3372
  get when() {
3356
3373
  return l.avatar;
3357
3374
  },
3358
3375
  get children() {
3359
- var s = $t();
3376
+ var s = wt();
3360
3377
  return a(s, () => l.avatar), s;
3361
3378
  }
3362
3379
  }), i), a(o, () => l.title), a(i, n(E, {
@@ -3364,7 +3381,7 @@ function sc(e) {
3364
3381
  return l.description;
3365
3382
  },
3366
3383
  get children() {
3367
- var s = Qo();
3384
+ var s = ei();
3368
3385
  return a(s, () => l.description), s;
3369
3386
  }
3370
3387
  }), null), a(r, n(E, {
@@ -3372,7 +3389,7 @@ function sc(e) {
3372
3389
  return l.meta;
3373
3390
  },
3374
3391
  get children() {
3375
- var s = ei();
3392
+ var s = ti();
3376
3393
  return a(s, () => l.meta), s;
3377
3394
  }
3378
3395
  }), null), a(r, n(E, {
@@ -3380,7 +3397,7 @@ function sc(e) {
3380
3397
  return l.actions;
3381
3398
  },
3382
3399
  get children() {
3383
- var s = $t();
3400
+ var s = wt();
3384
3401
  return a(s, () => l.actions), s;
3385
3402
  }
3386
3403
  }), null), r;
@@ -3388,30 +3405,30 @@ function sc(e) {
3388
3405
  })), k(() => D(t, _("divide-y divide-border rounded-lg border border-border", e.class))), t;
3389
3406
  })();
3390
3407
  }
3391
- var ri = /* @__PURE__ */ m('<span class="relative inline-block h-[1em] w-[0.62em] overflow-hidden align-top"><span class="absolute inset-x-0 top-0 flex flex-col transition-transform duration-500 ease-out">'), ni = /* @__PURE__ */ m('<span class="block h-[1em] text-center leading-none">'), li = /* @__PURE__ */ m('<span class="flex text-2xl font-bold tabular-nums text-foreground">'), oi = /* @__PURE__ */ m("<div>"), ii = /* @__PURE__ */ m('<div class="flex flex-col items-center"><span class="text-[10px] uppercase tracking-wide text-muted-foreground">');
3392
- const We = 1e3, Je = 60 * We, Ze = 60 * Je, wt = 24 * Ze, ai = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], Xe = (e) => String(e).padStart(2, "0");
3393
- function si(e) {
3408
+ var ni = /* @__PURE__ */ m('<span class="relative inline-block h-[1em] w-[0.62em] overflow-hidden align-top"><span class="absolute inset-x-0 top-0 flex flex-col transition-transform duration-500 ease-out">'), li = /* @__PURE__ */ m('<span class="block h-[1em] text-center leading-none">'), oi = /* @__PURE__ */ m('<span class="flex text-2xl font-bold tabular-nums text-foreground">'), ii = /* @__PURE__ */ m("<div>"), ai = /* @__PURE__ */ m('<div class="flex flex-col items-center"><span class="text-[10px] uppercase tracking-wide text-muted-foreground">');
3409
+ const We = 1e3, Je = 60 * We, Ze = 60 * Je, yt = 24 * Ze, si = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], Xe = (e) => String(e).padStart(2, "0");
3410
+ function di(e) {
3394
3411
  const t = () => e.char >= "0" && e.char <= "9" ? Number(e.char) : 0;
3395
3412
  return (() => {
3396
- var l = ri(), r = l.firstChild;
3413
+ var l = ni(), r = l.firstChild;
3397
3414
  return a(r, n(Qe, {
3398
- each: ai,
3415
+ each: si,
3399
3416
  children: (i) => (() => {
3400
- var o = ni();
3417
+ var o = li();
3401
3418
  return a(o, i), o;
3402
3419
  })()
3403
3420
  })), k((i) => O(r, "transform", `translateY(${t() * -10}%)`)), l;
3404
3421
  })();
3405
3422
  }
3406
- function di(e) {
3423
+ function ci(e) {
3407
3424
  const t = () => e.value.split("");
3408
3425
  return (() => {
3409
- var l = li();
3426
+ var l = oi();
3410
3427
  return a(l, n(Qe, {
3411
3428
  get each() {
3412
3429
  return t();
3413
3430
  },
3414
- children: (r) => n(si, {
3431
+ children: (r) => n(di, {
3415
3432
  get char() {
3416
3433
  return r();
3417
3434
  }
@@ -3419,7 +3436,7 @@ function di(e) {
3419
3436
  })), l;
3420
3437
  })();
3421
3438
  }
3422
- function dc(e) {
3439
+ function uc(e) {
3423
3440
  const t = K(() => e.to.getTime()), l = () => Math.max(0, t() - Date.now()), [r, i] = z(l());
3424
3441
  let o = !1;
3425
3442
  const s = (b) => {
@@ -3433,7 +3450,7 @@ function dc(e) {
3433
3450
  }, We);
3434
3451
  X(() => clearInterval(b));
3435
3452
  });
3436
- const d = () => Math.floor(r() / wt), f = () => Math.floor(r() % wt / Ze), u = () => Math.floor(r() % Ze / Je), c = () => Math.floor(r() % Je / We), g = () => [{
3453
+ const d = () => Math.floor(r() / yt), f = () => Math.floor(r() % yt / Ze), u = () => Math.floor(r() % Ze / Je), c = () => Math.floor(r() % Je / We), g = () => [{
3437
3454
  label: "Days",
3438
3455
  value: String(d())
3439
3456
  }, {
@@ -3447,14 +3464,14 @@ function dc(e) {
3447
3464
  value: Xe(c())
3448
3465
  }];
3449
3466
  return (() => {
3450
- var b = oi();
3467
+ var b = ii();
3451
3468
  return a(b, n(Qe, {
3452
3469
  get each() {
3453
3470
  return g();
3454
3471
  },
3455
3472
  children: (v) => (() => {
3456
- var y = ii(), x = y.firstChild;
3457
- return a(y, n(di, {
3473
+ var y = ai(), x = y.firstChild;
3474
+ return a(y, n(ci, {
3458
3475
  get value() {
3459
3476
  return v().value;
3460
3477
  }
@@ -3463,8 +3480,8 @@ function dc(e) {
3463
3480
  })), k(() => D(b, _("flex gap-4", e.class))), b;
3464
3481
  })();
3465
3482
  }
3466
- var ci = /* @__PURE__ */ m("<div aria-hidden=true>"), ui = /* @__PURE__ */ m('<div class="fixed z-40">'), gi = /* @__PURE__ */ m("<div>");
3467
- function cc(e) {
3483
+ var ui = /* @__PURE__ */ m("<div aria-hidden=true>"), gi = /* @__PURE__ */ m('<div class="fixed z-40">'), fi = /* @__PURE__ */ m("<div>");
3484
+ function gc(e) {
3468
3485
  const [t, l] = z(!1), [r, i] = z({
3469
3486
  width: 0,
3470
3487
  height: 0
@@ -3493,7 +3510,7 @@ function cc(e) {
3493
3510
  window.removeEventListener("scroll", u), window.removeEventListener("resize", u);
3494
3511
  });
3495
3512
  }), (() => {
3496
- var s = gi(), d = o;
3513
+ var s = fi(), d = o;
3497
3514
  return typeof d == "function" ? Y(d, s) : o = s, a(s, n(E, {
3498
3515
  get when() {
3499
3516
  return t();
@@ -3503,7 +3520,7 @@ function cc(e) {
3503
3520
  },
3504
3521
  get children() {
3505
3522
  return [(() => {
3506
- var f = ci();
3523
+ var f = ui();
3507
3524
  return k((u) => {
3508
3525
  var c = `${r().width}px`, g = `${r().height}px`;
3509
3526
  return c !== u.e && O(f, "width", u.e = c), g !== u.t && O(f, "height", u.t = g), u;
@@ -3512,7 +3529,7 @@ function cc(e) {
3512
3529
  t: void 0
3513
3530
  }), f;
3514
3531
  })(), (() => {
3515
- var f = ui();
3532
+ var f = gi();
3516
3533
  return a(f, () => e.children), k((u) => {
3517
3534
  var c = `${e.offsetTop ?? 0}px`, g = `${r().width}px`;
3518
3535
  return c !== u.e && O(f, "top", u.e = c), g !== u.t && O(f, "width", u.t = g), u;
@@ -3525,8 +3542,8 @@ function cc(e) {
3525
3542
  })), k(() => D(s, _(e.class))), s;
3526
3543
  })();
3527
3544
  }
3528
- var fi = /* @__PURE__ */ m('<div class="flex min-w-0 flex-1 flex-col rounded-lg border border-border"><div class="border-b border-border px-3 py-2 text-sm font-medium text-foreground"></div><ul class="max-h-64 flex-1 overflow-y-auto p-1">'), mi = /* @__PURE__ */ m('<li><label class="flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm text-foreground hover:bg-muted"><input type=checkbox class="h-4 w-4 rounded border-input accent-primary"><span class="min-w-0 truncate">'), hi = /* @__PURE__ */ m('<div><div class="flex flex-col items-center justify-center gap-2">');
3529
- function uc(e) {
3545
+ var mi = /* @__PURE__ */ m('<div class="flex min-w-0 flex-1 flex-col rounded-lg border border-border"><div class="border-b border-border px-3 py-2 text-sm font-medium text-foreground"></div><ul class="max-h-64 flex-1 overflow-y-auto p-1">'), hi = /* @__PURE__ */ m('<li><label class="flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm text-foreground hover:bg-muted"><input type=checkbox class="h-4 w-4 rounded border-input accent-primary"><span class="min-w-0 truncate">'), vi = /* @__PURE__ */ m('<div><div class="flex flex-col items-center justify-center gap-2">');
3546
+ function fc(e) {
3530
3547
  const [t, l] = z(/* @__PURE__ */ new Set()), r = () => e.titles ?? ["Available", "Selected"], i = () => e.items.filter((c) => !e.selected.includes(c.value)), o = () => e.items.filter((c) => e.selected.includes(c.value)), s = (c) => {
3531
3548
  const g = new Set(t());
3532
3549
  g.has(c) ? g.delete(c) : g.add(c), l(g);
@@ -3537,19 +3554,19 @@ function uc(e) {
3537
3554
  const c = new Set(o().filter((g) => t().has(g.value)).map((g) => g.value));
3538
3555
  c.size !== 0 && (e.onChange(e.selected.filter((g) => !c.has(g))), l(/* @__PURE__ */ new Set()));
3539
3556
  }, u = (c, g) => (() => {
3540
- var b = fi(), v = b.firstChild, y = v.nextSibling;
3557
+ var b = mi(), v = b.firstChild, y = v.nextSibling;
3541
3558
  return a(v, c), a(y, n(A, {
3542
3559
  get each() {
3543
3560
  return g();
3544
3561
  },
3545
3562
  children: (x) => (() => {
3546
- var $ = mi(), h = $.firstChild, w = h.firstChild, p = w.nextSibling;
3563
+ var $ = hi(), h = $.firstChild, w = h.firstChild, p = w.nextSibling;
3547
3564
  return w.addEventListener("change", () => s(x.value)), a(p, () => x.label), k(() => w.checked = t().has(x.value)), $;
3548
3565
  })()
3549
3566
  })), b;
3550
3567
  })();
3551
3568
  return (() => {
3552
- var c = hi(), g = c.firstChild;
3569
+ var c = vi(), g = c.firstChild;
3553
3570
  return a(c, () => u(r()[0], i), g), a(g, n(ge, {
3554
3571
  variant: "outline",
3555
3572
  class: "px-2",
@@ -3573,10 +3590,10 @@ function uc(e) {
3573
3590
  }), null), a(c, () => u(r()[1], o), null), k(() => D(c, _("flex items-stretch gap-3", e.class))), c;
3574
3591
  })();
3575
3592
  }
3576
- var vi = /* @__PURE__ */ m("<img loading=lazy>", !0, !1, !1), xi = /* @__PURE__ */ m("<button type=button class=cursor-zoom-in>"), bi = /* @__PURE__ */ m('<img class="max-h-[85vh] max-w-[90vw] rounded-lg object-contain">'), $i = /* @__PURE__ */ m('<div class="fixed inset-0 z-50 flex items-center justify-center p-4">');
3577
- function gc(e) {
3593
+ var xi = /* @__PURE__ */ m("<img loading=lazy>", !0, !1, !1), bi = /* @__PURE__ */ m("<button type=button class=cursor-zoom-in>"), $i = /* @__PURE__ */ m('<img class="max-h-[85vh] max-w-[90vw] rounded-lg object-contain">'), wi = /* @__PURE__ */ m('<div class="fixed inset-0 z-50 flex items-center justify-center p-4">');
3594
+ function mc(e) {
3578
3595
  const [t, l] = z(!1), r = () => e.preview !== !1, i = (() => {
3579
- var o = vi();
3596
+ var o = xi();
3580
3597
  return k((s) => {
3581
3598
  var d = e.src, f = e.alt, u = _("rounded-lg object-cover", e.class);
3582
3599
  return d !== s.e && F(o, "src", s.e = d), f !== s.t && F(o, "alt", s.t = f), u !== s.a && D(o, s.a = u), s;
@@ -3593,7 +3610,7 @@ function gc(e) {
3593
3610
  fallback: i,
3594
3611
  get children() {
3595
3612
  return [(() => {
3596
- var o = xi();
3613
+ var o = bi();
3597
3614
  return o.$$click = () => l(!0), a(o, i), k(() => F(o, "aria-label", e.alt)), o;
3598
3615
  })(), n(G, {
3599
3616
  get open() {
@@ -3606,13 +3623,13 @@ function gc(e) {
3606
3623
  return [n(G.Overlay, {
3607
3624
  class: "fixed inset-0 z-40 bg-background/80 backdrop-blur-sm"
3608
3625
  }), (() => {
3609
- var o = $i();
3626
+ var o = wi();
3610
3627
  return a(o, n(G.Content, {
3611
3628
  role: "dialog",
3612
3629
  class: "relative",
3613
3630
  get children() {
3614
3631
  return [(() => {
3615
- var s = bi();
3632
+ var s = $i();
3616
3633
  return k((d) => {
3617
3634
  var f = e.src, u = e.alt;
3618
3635
  return f !== d.e && F(s, "src", d.e = f), u !== d.t && F(s, "alt", d.t = u), d;
@@ -3640,23 +3657,23 @@ function gc(e) {
3640
3657
  });
3641
3658
  }
3642
3659
  H(["click"]);
3643
- var wi = /* @__PURE__ */ m('<div class="flex flex-col items-center gap-3">'), yi = /* @__PURE__ */ m('<div><button type=button class="flex h-14 w-14 items-center justify-center rounded-full bg-primary text-primary-foreground shadow-lg transition-transform duration-150 active:scale-[0.97] focus:outline-none focus:ring-2 focus:ring-ring"><span>'), pi = /* @__PURE__ */ m('<button type=button class="flex h-11 w-11 translate-y-0 items-center justify-center rounded-full border border-border bg-card text-foreground opacity-100 shadow transition-[opacity,transform] duration-150 hover:bg-muted focus:outline-none focus:ring-2 focus:ring-ring">');
3644
- function fc(e) {
3660
+ var yi = /* @__PURE__ */ m('<div class="flex flex-col items-center gap-3">'), pi = /* @__PURE__ */ m('<div><button type=button class="flex h-14 w-14 items-center justify-center rounded-full bg-primary text-primary-foreground shadow-lg transition-transform duration-150 active:scale-[0.97] focus:outline-none focus:ring-2 focus:ring-ring"><span>'), _i = /* @__PURE__ */ m('<button type=button class="flex h-11 w-11 translate-y-0 items-center justify-center rounded-full border border-border bg-card text-foreground opacity-100 shadow transition-[opacity,transform] duration-150 hover:bg-muted focus:outline-none focus:ring-2 focus:ring-ring">');
3661
+ function hc(e) {
3645
3662
  const [t, l] = z(!1);
3646
3663
  return (() => {
3647
- var r = yi(), i = r.firstChild, o = i.firstChild;
3664
+ var r = pi(), i = r.firstChild, o = i.firstChild;
3648
3665
  return a(r, n(E, {
3649
3666
  get when() {
3650
3667
  return t();
3651
3668
  },
3652
3669
  get children() {
3653
- var s = wi();
3670
+ var s = yi();
3654
3671
  return a(s, n(A, {
3655
3672
  get each() {
3656
3673
  return e.actions;
3657
3674
  },
3658
3675
  children: (d) => (() => {
3659
- var f = pi();
3676
+ var f = _i();
3660
3677
  return f.$$click = () => {
3661
3678
  d.onClick(), l(!1);
3662
3679
  }, a(f, () => d.icon), k((u) => {
@@ -3669,7 +3686,7 @@ function fc(e) {
3669
3686
  })()
3670
3687
  })), s;
3671
3688
  }
3672
- }), i), i.$$click = () => l((s) => !s), a(o, () => e.icon ?? n(pr, {
3689
+ }), i), i.$$click = () => l((s) => !s), a(o, () => e.icon ?? n(_r, {
3673
3690
  class: "h-6 w-6"
3674
3691
  })), k((s) => {
3675
3692
  var d = _("fixed bottom-6 right-6 z-40 flex flex-col items-center gap-3", e.class), f = t() ? "Close actions" : "Open actions", u = t(), c = _("inline-flex transition-transform duration-150", t() && "rotate-45");
@@ -3683,10 +3700,10 @@ function fc(e) {
3683
3700
  })();
3684
3701
  }
3685
3702
  H(["click"]);
3686
- var _i = /* @__PURE__ */ m("<nav>"), ki = /* @__PURE__ */ m("<button type=button><span>");
3687
- function mc(e) {
3703
+ var ki = /* @__PURE__ */ m("<nav>"), Ci = /* @__PURE__ */ m("<button type=button><span>");
3704
+ function vc(e) {
3688
3705
  return (() => {
3689
- var t = _i();
3706
+ var t = ki();
3690
3707
  return a(t, n(A, {
3691
3708
  get each() {
3692
3709
  return e.items;
@@ -3694,7 +3711,7 @@ function mc(e) {
3694
3711
  children: (l) => {
3695
3712
  const r = () => l.value === e.value;
3696
3713
  return (() => {
3697
- var i = ki(), o = i.firstChild;
3714
+ var i = Ci(), o = i.firstChild;
3698
3715
  return i.$$click = () => e.onChange(l.value), a(i, () => l.icon, o), a(o, () => l.label), k((s) => {
3699
3716
  var d = r() ? "page" : void 0, f = _("flex flex-1 flex-col items-center gap-0.5 py-2 text-[11px] transition-colors", r() ? "text-primary" : "text-muted-foreground hover:text-foreground");
3700
3717
  return d !== s.e && F(i, "aria-current", s.e = d), f !== s.t && D(i, s.t = f), s;
@@ -3708,11 +3725,11 @@ function mc(e) {
3708
3725
  })();
3709
3726
  }
3710
3727
  H(["click"]);
3711
- var Ci = /* @__PURE__ */ m('<div><style>@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}</style><div><div class="flex shrink-0"></div><div class="flex shrink-0"aria-hidden=true>');
3712
- function hc(e) {
3728
+ var Si = /* @__PURE__ */ m('<div><style>@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}</style><div><div class="flex shrink-0"></div><div class="flex shrink-0"aria-hidden=true>');
3729
+ function xc(e) {
3713
3730
  const t = () => e.pauseOnHover ?? !0;
3714
3731
  return (() => {
3715
- var l = Ci(), r = l.firstChild, i = r.nextSibling, o = i.firstChild, s = o.nextSibling;
3732
+ var l = Si(), r = l.firstChild, i = r.nextSibling, o = i.firstChild, s = o.nextSibling;
3716
3733
  return a(o, () => e.children), a(s, () => e.children), k((d) => {
3717
3734
  var f = _("overflow-hidden", e.class), u = _("flex w-max shrink-0", t() && "hover:[animation-play-state:paused]"), c = ne() ? void 0 : {
3718
3735
  animation: `marquee ${e.speed ?? 20}s linear infinite`
@@ -3725,11 +3742,11 @@ function hc(e) {
3725
3742
  }), l;
3726
3743
  })();
3727
3744
  }
3728
- var Si = /* @__PURE__ */ m("<div>"), Ei = /* @__PURE__ */ m("<div class=p-3>"), Mi = /* @__PURE__ */ m('<button type=button class="inline-flex items-center gap-1 uppercase tracking-wide transition-colors hover:text-foreground">');
3729
- function Ti(e, t) {
3745
+ var Ei = /* @__PURE__ */ m("<div>"), Mi = /* @__PURE__ */ m("<div class=p-3>"), Ti = /* @__PURE__ */ m('<button type=button class="inline-flex items-center gap-1 uppercase tracking-wide transition-colors hover:text-foreground">');
3746
+ function Li(e, t) {
3730
3747
  return typeof e == "number" && typeof t == "number" ? e - t : String(e ?? "").localeCompare(String(t ?? ""));
3731
3748
  }
3732
- function vc(e) {
3749
+ function bc(e) {
3733
3750
  const [t, l] = z(""), [r, i] = z(null), [o, s] = z(1), d = () => e.pageSize ?? 10, f = () => e.filterable ?? !0;
3734
3751
  function u($) {
3735
3752
  s(1), i((h) => !h || h.key !== $ ? {
@@ -3747,7 +3764,7 @@ function vc(e) {
3747
3764
  const $ = r();
3748
3765
  if (!$) return c();
3749
3766
  const h = $.dir === "asc" ? 1 : -1;
3750
- return [...c()].sort((w, p) => Ti(w[$.key], p[$.key]) * h);
3767
+ return [...c()].sort((w, p) => Li(w[$.key], p[$.key]) * h);
3751
3768
  }), b = K(() => Math.max(1, Math.ceil(g().length / d()))), v = K(() => {
3752
3769
  const h = (Math.min(o(), b()) - 1) * d();
3753
3770
  return g().slice(h, h + d());
@@ -3761,19 +3778,19 @@ function vc(e) {
3761
3778
  const h = r();
3762
3779
  return !h || h.key !== $.col.key ? n(Bt, {
3763
3780
  class: "h-4 w-4 opacity-60"
3764
- }) : W(() => W(() => h.dir === "asc")() ? n(_r, {
3781
+ }) : W(() => W(() => h.dir === "asc")() ? n(kr, {
3765
3782
  class: "h-4 w-4"
3766
3783
  }) : n(Ae, {
3767
3784
  class: "h-4 w-4"
3768
3785
  }));
3769
3786
  }
3770
3787
  return (() => {
3771
- var $ = Si();
3788
+ var $ = Ei();
3772
3789
  return a($, (() => {
3773
3790
  var h = W(() => !!f());
3774
3791
  return () => h() && (() => {
3775
- var w = Ei();
3776
- return a(w, n(Qn, {
3792
+ var w = Mi();
3793
+ return a(w, n(el, {
3777
3794
  get value() {
3778
3795
  return t();
3779
3796
  },
@@ -3784,23 +3801,23 @@ function vc(e) {
3784
3801
  "aria-label": "Filter rows"
3785
3802
  })), w;
3786
3803
  })();
3787
- })(), null), a($, n(kl, {
3804
+ })(), null), a($, n(Cl, {
3788
3805
  get children() {
3789
- return [n(Cl, {
3806
+ return [n(Sl, {
3790
3807
  get children() {
3791
- return n(ht, {
3808
+ return n(vt, {
3792
3809
  get children() {
3793
3810
  return n(A, {
3794
3811
  get each() {
3795
3812
  return e.columns;
3796
3813
  },
3797
- children: (h) => n(El, {
3814
+ children: (h) => n(Ml, {
3798
3815
  get "aria-sort"() {
3799
3816
  return y(h);
3800
3817
  },
3801
3818
  get children() {
3802
3819
  return W(() => !!h.sortable)() ? (() => {
3803
- var w = Mi();
3820
+ var w = Ti();
3804
3821
  return w.$$click = () => u(h.key), a(w, () => h.header, null), a(w, n(x, {
3805
3822
  col: h
3806
3823
  }), null), w;
@@ -3811,19 +3828,19 @@ function vc(e) {
3811
3828
  }
3812
3829
  });
3813
3830
  }
3814
- }), n(Sl, {
3831
+ }), n(El, {
3815
3832
  get children() {
3816
3833
  return n(A, {
3817
3834
  get each() {
3818
3835
  return v();
3819
3836
  },
3820
- children: (h) => n(ht, {
3837
+ children: (h) => n(vt, {
3821
3838
  get children() {
3822
3839
  return n(A, {
3823
3840
  get each() {
3824
3841
  return e.columns;
3825
3842
  },
3826
- children: (w) => n(Ml, {
3843
+ children: (w) => n(Tl, {
3827
3844
  get children() {
3828
3845
  var p;
3829
3846
  return ((p = w.render) == null ? void 0 : p.call(w, h)) ?? String(h[w.key] ?? "");
@@ -3836,7 +3853,7 @@ function vc(e) {
3836
3853
  }
3837
3854
  })];
3838
3855
  }
3839
- }), null), a($, n(ul, {
3856
+ }), null), a($, n(gl, {
3840
3857
  get page() {
3841
3858
  return Math.min(o(), b());
3842
3859
  },
@@ -3851,7 +3868,7 @@ function vc(e) {
3851
3868
  })();
3852
3869
  }
3853
3870
  H(["click"]);
3854
- var Li = /* @__PURE__ */ m("<span class=shrink-0>"), Fi = /* @__PURE__ */ m("<ul role=group>"), Di = /* @__PURE__ */ m("<li role=treeitem><div><span class=truncate>"), Ii = /* @__PURE__ */ m('<span class="h-3.5 w-3.5 shrink-0"aria-hidden=true>'), Ai = /* @__PURE__ */ m("<span class=truncate>"), zi = /* @__PURE__ */ m('<div class="z-50 mt-1 w-full rounded-md border border-border bg-card p-2 shadow-md absolute"><ul role=tree class=text-foreground>'), Ri = /* @__PURE__ */ m('<div><button type=button aria-haspopup=tree class="flex w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground outline-none transition-colors a4-field">'), Oi = /* @__PURE__ */ m("<span class=text-muted-foreground>");
3871
+ var Fi = /* @__PURE__ */ m("<span class=shrink-0>"), Di = /* @__PURE__ */ m("<ul role=group>"), Ii = /* @__PURE__ */ m("<li role=treeitem><div><span class=truncate>"), Ai = /* @__PURE__ */ m('<span class="h-3.5 w-3.5 shrink-0"aria-hidden=true>'), zi = /* @__PURE__ */ m("<span class=truncate>"), Ri = /* @__PURE__ */ m('<div class="z-50 mt-1 w-full rounded-md border border-border bg-card p-2 shadow-md absolute"><ul role=tree class=text-foreground>'), Oi = /* @__PURE__ */ m('<div><button type=button aria-haspopup=tree class="flex w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground outline-none transition-colors a4-field">'), Pi = /* @__PURE__ */ m("<span class=text-muted-foreground>");
3855
3872
  function nr(e, t) {
3856
3873
  for (const l of e) {
3857
3874
  if (l.id === t) return l;
@@ -3861,7 +3878,7 @@ function nr(e, t) {
3861
3878
  }
3862
3879
  }
3863
3880
  }
3864
- function xc(e) {
3881
+ function $c(e) {
3865
3882
  const [t, l] = z(!1), [r, i] = z(/* @__PURE__ */ new Set());
3866
3883
  let o;
3867
3884
  const s = () => e.value ? nr(e.nodes, e.value) : void 0, d = (g) => i((b) => {
@@ -3879,13 +3896,13 @@ function xc(e) {
3879
3896
  return (((x = g.node.children) == null ? void 0 : x.length) ?? 0) > 0;
3880
3897
  }, v = () => r().has(g.node.id), y = () => e.value === g.node.id;
3881
3898
  return (() => {
3882
- var x = Di(), $ = x.firstChild, h = $.firstChild;
3899
+ var x = Ii(), $ = x.firstChild, h = $.firstChild;
3883
3900
  return $.$$click = () => b() ? d(g.node.id) : f(g.node), a($, n(E, {
3884
3901
  get when() {
3885
3902
  return b();
3886
3903
  },
3887
3904
  get fallback() {
3888
- return Ii();
3905
+ return Ai();
3889
3906
  },
3890
3907
  get children() {
3891
3908
  return n(de, {
@@ -3900,7 +3917,7 @@ function xc(e) {
3900
3917
  return g.node.icon;
3901
3918
  },
3902
3919
  get children() {
3903
- var w = Li();
3920
+ var w = Fi();
3904
3921
  return a(w, () => g.node.icon), w;
3905
3922
  }
3906
3923
  }), h), a(h, () => g.node.label), a(x, n(E, {
@@ -3908,7 +3925,7 @@ function xc(e) {
3908
3925
  return W(() => !!b())() && v();
3909
3926
  },
3910
3927
  get children() {
3911
- var w = Fi();
3928
+ var w = Di();
3912
3929
  return a(w, n(A, {
3913
3930
  get each() {
3914
3931
  return g.node.children;
@@ -3933,19 +3950,19 @@ function xc(e) {
3933
3950
  })();
3934
3951
  };
3935
3952
  return (() => {
3936
- var g = Ri(), b = g.firstChild, v = o;
3953
+ var g = Oi(), b = g.firstChild, v = o;
3937
3954
  return typeof v == "function" ? Y(v, g) : o = g, b.$$click = () => l((y) => !y), a(b, n(E, {
3938
3955
  get when() {
3939
3956
  return s();
3940
3957
  },
3941
3958
  get fallback() {
3942
3959
  return (() => {
3943
- var y = Oi();
3960
+ var y = Pi();
3944
3961
  return a(y, () => e.placeholder), y;
3945
3962
  })();
3946
3963
  },
3947
3964
  get children() {
3948
- var y = Ai();
3965
+ var y = zi();
3949
3966
  return a(y, () => s().label), y;
3950
3967
  }
3951
3968
  }), null), a(b, n(Ae, {
@@ -3956,7 +3973,7 @@ function xc(e) {
3956
3973
  return t();
3957
3974
  },
3958
3975
  get children() {
3959
- var y = zi(), x = y.firstChild;
3976
+ var y = Ri(), x = y.firstChild;
3960
3977
  return a(x, n(A, {
3961
3978
  get each() {
3962
3979
  return e.nodes;
@@ -3977,8 +3994,8 @@ function xc(e) {
3977
3994
  })();
3978
3995
  }
3979
3996
  H(["click"]);
3980
- var Pi = /* @__PURE__ */ m("<span class=truncate>"), Bi = /* @__PURE__ */ m('<div class="absolute z-50 mt-1 flex overflow-hidden rounded-md border border-border bg-card text-card-foreground shadow-md">'), ji = /* @__PURE__ */ m('<div><button type=button class="flex w-full items-center justify-between gap-2 rounded-md border border-input bg-background text-foreground px-3 py-2 text-sm outline-none transition-colors a4-field"aria-haspopup=true>'), Ni = /* @__PURE__ */ m("<span class=text-muted-foreground>"), Yi = /* @__PURE__ */ m('<ul class="min-w-[10rem] max-h-64 overflow-y-auto border-r border-border p-1 last:border-r-0">'), Hi = /* @__PURE__ */ m("<li><span class=truncate>");
3981
- function Vi(e, t) {
3997
+ var Bi = /* @__PURE__ */ m("<span class=truncate>"), ji = /* @__PURE__ */ m('<div class="absolute z-50 mt-1 flex overflow-hidden rounded-md border border-border bg-card text-card-foreground shadow-md">'), Ni = /* @__PURE__ */ m('<div><button type=button class="flex w-full items-center justify-between gap-2 rounded-md border border-input bg-background text-foreground px-3 py-2 text-sm outline-none transition-colors a4-field"aria-haspopup=true>'), Yi = /* @__PURE__ */ m("<span class=text-muted-foreground>"), Hi = /* @__PURE__ */ m('<ul class="min-w-[10rem] max-h-64 overflow-y-auto border-r border-border p-1 last:border-r-0">'), Vi = /* @__PURE__ */ m("<li><span class=truncate>");
3998
+ function Ui(e, t) {
3982
3999
  const l = [];
3983
4000
  let r = e;
3984
4001
  for (const i of t) {
@@ -3988,10 +4005,10 @@ function Vi(e, t) {
3988
4005
  }
3989
4006
  return l;
3990
4007
  }
3991
- function bc(e) {
4008
+ function wc(e) {
3992
4009
  const [t, l] = z(!1), [r, i] = z([]);
3993
4010
  let o;
3994
- const s = K(() => Vi(e.options, e.value ?? [])), d = K(() => s().map((v) => v.label).join(" / ")), f = K(() => {
4011
+ const s = K(() => Ui(e.options, e.value ?? [])), d = K(() => s().map((v) => v.label).join(" / ")), f = K(() => {
3995
4012
  const v = [e.options];
3996
4013
  for (const y of r())
3997
4014
  if (y.children && y.children.length) v.push(y.children);
@@ -4013,19 +4030,19 @@ function bc(e) {
4013
4030
  e.onChange(x.map(($) => $.value), x.map(($) => $.label)), l(!1);
4014
4031
  }
4015
4032
  return (() => {
4016
- var v = ji(), y = v.firstChild, x = o;
4033
+ var v = Ni(), y = v.firstChild, x = o;
4017
4034
  return typeof x == "function" ? Y(x, v) : o = v, y.$$click = c, a(y, n(E, {
4018
4035
  get when() {
4019
4036
  return d();
4020
4037
  },
4021
4038
  get fallback() {
4022
4039
  return (() => {
4023
- var $ = Ni();
4040
+ var $ = Yi();
4024
4041
  return a($, () => e.placeholder), $;
4025
4042
  })();
4026
4043
  },
4027
4044
  get children() {
4028
- var $ = Pi();
4045
+ var $ = Bi();
4029
4046
  return a($, d), $;
4030
4047
  }
4031
4048
  }), null), a(y, n(Ae, {
@@ -4035,13 +4052,13 @@ function bc(e) {
4035
4052
  return t();
4036
4053
  },
4037
4054
  get children() {
4038
- var $ = Bi();
4055
+ var $ = ji();
4039
4056
  return a($, n(A, {
4040
4057
  get each() {
4041
4058
  return f();
4042
4059
  },
4043
4060
  children: (h, w) => (() => {
4044
- var p = Yi();
4061
+ var p = Hi();
4045
4062
  return a(p, n(A, {
4046
4063
  each: h,
4047
4064
  children: (C) => {
@@ -4050,7 +4067,7 @@ function bc(e) {
4050
4067
  return ((M = r()[w()]) == null ? void 0 : M.value) === C.value;
4051
4068
  };
4052
4069
  return (() => {
4053
- var M = Hi(), T = M.firstChild;
4070
+ var M = Vi(), T = M.firstChild;
4054
4071
  return M.$$click = () => b(w(), C), M.addEventListener("mouseenter", () => L() && g(w(), C)), a(T, () => C.label), a(M, n(E, {
4055
4072
  get when() {
4056
4073
  return L();
@@ -4077,9 +4094,9 @@ function bc(e) {
4077
4094
  })();
4078
4095
  }
4079
4096
  H(["click"]);
4080
- var Ui = /* @__PURE__ */ m('<div class="absolute z-50 mt-1 max-h-48 w-56 overflow-y-auto rounded-md border border-border bg-card p-1 shadow-md">'), Gi = /* @__PURE__ */ m('<div><textarea class="w-full min-h-[80px] resize-y rounded-md border border-input bg-background text-foreground placeholder:text-muted-foreground px-3 py-2 text-sm outline-none transition-colors a4-field disabled:cursor-not-allowed disabled:opacity-50">'), Ki = /* @__PURE__ */ m("<button type=button>");
4081
- const qi = /@(\w*)$/;
4082
- function $c(e) {
4097
+ var Gi = /* @__PURE__ */ m('<div class="absolute z-50 mt-1 max-h-48 w-56 overflow-y-auto rounded-md border border-border bg-card p-1 shadow-md">'), Ki = /* @__PURE__ */ m('<div><textarea class="w-full min-h-[80px] resize-y rounded-md border border-input bg-background text-foreground placeholder:text-muted-foreground px-3 py-2 text-sm outline-none transition-colors a4-field disabled:cursor-not-allowed disabled:opacity-50">'), qi = /* @__PURE__ */ m("<button type=button>");
4098
+ const Xi = /@(\w*)$/;
4099
+ function yc(e) {
4083
4100
  let t;
4084
4101
  const [l, r] = z(!1), [i, o] = z(""), [s, d] = z(0), [f, u] = z(0), c = () => {
4085
4102
  const x = i().toLowerCase();
@@ -4089,7 +4106,7 @@ function $c(e) {
4089
4106
  }, b = (x) => {
4090
4107
  const $ = x.selectionStart ?? x.value.length;
4091
4108
  d($);
4092
- const w = x.value.slice(0, $).match(qi);
4109
+ const w = x.value.slice(0, $).match(Xi);
4093
4110
  w ? (o(w[1]), r(!0), u(0)) : g();
4094
4111
  }, v = (x) => {
4095
4112
  const $ = t, h = e.value, w = $ ? $.selectionStart ?? s() : s(), p = h.slice(0, w), C = h.slice(w), L = p.lastIndexOf("@");
@@ -4124,7 +4141,7 @@ function $c(e) {
4124
4141
  }
4125
4142
  };
4126
4143
  return (() => {
4127
- var x = Gi(), $ = x.firstChild;
4144
+ var x = Ki(), $ = x.firstChild;
4128
4145
  $.addEventListener("blur", () => g()), $.$$keydown = y, $.$$keyup = (w) => b(w.currentTarget), $.$$click = (w) => b(w.currentTarget), $.$$input = (w) => {
4129
4146
  e.onChange(w.currentTarget.value), b(w.currentTarget);
4130
4147
  };
@@ -4134,13 +4151,13 @@ function $c(e) {
4134
4151
  return W(() => !!l())() && c().length > 0;
4135
4152
  },
4136
4153
  get children() {
4137
- var w = Ui();
4154
+ var w = Gi();
4138
4155
  return a(w, n(A, {
4139
4156
  get each() {
4140
4157
  return c();
4141
4158
  },
4142
4159
  children: (p, C) => (() => {
4143
- var L = Ki();
4160
+ var L = qi();
4144
4161
  return L.addEventListener("mouseenter", () => u(C())), L.$$mousedown = (S) => {
4145
4162
  S.preventDefault(), v(p);
4146
4163
  }, a(L, () => p.label), k(() => D(L, _("w-full rounded px-2 py-1.5 text-left text-sm hover:bg-muted", C() === f() && "bg-muted"))), L;
@@ -4157,8 +4174,8 @@ function $c(e) {
4157
4174
  })();
4158
4175
  }
4159
4176
  H(["input", "click", "keyup", "keydown", "mousedown"]);
4160
- var Xi = /* @__PURE__ */ m('<p class="mt-2 text-sm text-muted-foreground">'), Wi = /* @__PURE__ */ m('<div role=dialog class="bg-glass z-[101] max-w-xs rounded-lg border border-border p-4 text-card-foreground shadow-2xl"><p class="font-semibold leading-none tracking-tight"></p><div class="mt-4 flex items-center justify-between gap-3"><span class="text-xs text-muted-foreground tabular-nums"> / </span><div class="flex items-center gap-2">'), Ji = /* @__PURE__ */ m('<div class="fixed inset-0 z-[100]"aria-hidden=true style="background-color:hsl(var(--background) / 0.7)">'), Zi = /* @__PURE__ */ m('<div class="pointer-events-none fixed z-[100] rounded-lg ring-2 ring-primary"aria-hidden=true style="box-shadow:0 0 0 9999px hsl(var(--background) / 0.7)">');
4161
- function wc(e) {
4177
+ var Wi = /* @__PURE__ */ m('<p class="mt-2 text-sm text-muted-foreground">'), Ji = /* @__PURE__ */ m('<div role=dialog class="bg-glass z-[101] max-w-xs rounded-lg border border-border p-4 text-card-foreground shadow-2xl"><p class="font-semibold leading-none tracking-tight"></p><div class="mt-4 flex items-center justify-between gap-3"><span class="text-xs text-muted-foreground tabular-nums"> / </span><div class="flex items-center gap-2">'), Zi = /* @__PURE__ */ m('<div class="fixed inset-0 z-[100]"aria-hidden=true style="background-color:hsl(var(--background) / 0.7)">'), Qi = /* @__PURE__ */ m('<div class="pointer-events-none fixed z-[100] rounded-lg ring-2 ring-primary"aria-hidden=true style="box-shadow:0 0 0 9999px hsl(var(--background) / 0.7)">');
4178
+ function pc(e) {
4162
4179
  const [t, l] = z(0), [r, i] = z(null), o = () => e.steps[t()], s = () => t() >= e.steps.length - 1, d = () => t() === 0;
4163
4180
  J(() => {
4164
4181
  e.open && l(0);
@@ -4221,10 +4238,10 @@ function wc(e) {
4221
4238
  return r();
4222
4239
  },
4223
4240
  get fallback() {
4224
- return Ji();
4241
+ return Zi();
4225
4242
  },
4226
4243
  children: (v) => (() => {
4227
- var y = Zi();
4244
+ var y = Qi();
4228
4245
  return k((x) => {
4229
4246
  var $ = `${v().top - 4}px`, h = `${v().left - 4}px`, w = `${v().width + 8}px`, p = `${v().height + 8}px`;
4230
4247
  return $ !== x.e && O(y, "top", x.e = $), h !== x.t && O(y, "left", x.t = h), w !== x.a && O(y, "width", x.a = w), p !== x.o && O(y, "height", x.o = p), x;
@@ -4236,7 +4253,7 @@ function wc(e) {
4236
4253
  }), y;
4237
4254
  })()
4238
4255
  }), (() => {
4239
- var v = Wi(), y = v.firstChild, x = y.nextSibling, $ = x.firstChild, h = $.firstChild, w = $.nextSibling;
4256
+ var v = Ji(), y = v.firstChild, x = y.nextSibling, $ = x.firstChild, h = $.firstChild, w = $.nextSibling;
4240
4257
  return a(y, () => {
4241
4258
  var p;
4242
4259
  return (p = o()) == null ? void 0 : p.title;
@@ -4246,7 +4263,7 @@ function wc(e) {
4246
4263
  return (p = o()) == null ? void 0 : p.description;
4247
4264
  },
4248
4265
  get children() {
4249
- var p = Xi();
4266
+ var p = Wi();
4250
4267
  return a(p, () => {
4251
4268
  var C;
4252
4269
  return (C = o()) == null ? void 0 : C.description;
@@ -4286,28 +4303,28 @@ function wc(e) {
4286
4303
  }
4287
4304
  });
4288
4305
  }
4289
- var Qi = /* @__PURE__ */ m('<span class="absolute -right-1 -top-1 grid h-4 min-w-4 place-items-center rounded-full bg-primary px-1 text-[10px] text-primary-foreground">'), ea = /* @__PURE__ */ m("<span>"), ta = /* @__PURE__ */ m('<div class="flex items-center justify-between border-b border-border px-4 py-3"><span class="text-sm font-semibold text-foreground">Notifications</span><button type=button class="text-xs font-medium text-primary hover:underline">Mark all read'), ra = /* @__PURE__ */ m('<ul class="max-h-96 divide-y divide-border overflow-y-auto">'), na = /* @__PURE__ */ m(`<p class="px-4 py-8 text-center text-sm text-muted-foreground">You're all caught up`), la = /* @__PURE__ */ m('<span class="h-1.5 w-1.5 shrink-0 rounded-full bg-primary">'), oa = /* @__PURE__ */ m('<p class="mt-0.5 text-xs text-muted-foreground">'), ia = /* @__PURE__ */ m('<p class="mt-1 text-[11px] text-muted-foreground">'), aa = /* @__PURE__ */ m('<li class="flex items-start gap-2 px-4 py-3"><div class="min-w-0 flex-1"><p class="flex items-center gap-1.5 text-sm font-medium text-foreground"><span class=truncate></span></p></div><button type=button aria-label=Dismiss class="shrink-0 rounded-md p-1 text-muted-foreground hover:bg-muted hover:text-foreground">');
4290
- function yc(e) {
4306
+ var ea = /* @__PURE__ */ m('<span class="absolute -right-1 -top-1 grid h-4 min-w-4 place-items-center rounded-full bg-primary px-1 text-[10px] text-primary-foreground">'), ta = /* @__PURE__ */ m("<span>"), ra = /* @__PURE__ */ m('<div class="flex items-center justify-between border-b border-border px-4 py-3"><span class="text-sm font-semibold text-foreground">Notifications</span><button type=button class="text-xs font-medium text-primary hover:underline">Mark all read'), na = /* @__PURE__ */ m('<ul class="max-h-96 divide-y divide-border overflow-y-auto">'), la = /* @__PURE__ */ m(`<p class="px-4 py-8 text-center text-sm text-muted-foreground">You're all caught up`), oa = /* @__PURE__ */ m('<span class="h-1.5 w-1.5 shrink-0 rounded-full bg-primary">'), ia = /* @__PURE__ */ m('<p class="mt-0.5 text-xs text-muted-foreground">'), aa = /* @__PURE__ */ m('<p class="mt-1 text-[11px] text-muted-foreground">'), sa = /* @__PURE__ */ m('<li class="flex items-start gap-2 px-4 py-3"><div class="min-w-0 flex-1"><p class="flex items-center gap-1.5 text-sm font-medium text-foreground"><span class=truncate></span></p></div><button type=button aria-label=Dismiss class="shrink-0 rounded-md p-1 text-muted-foreground hover:bg-muted hover:text-foreground">');
4307
+ function _c(e) {
4291
4308
  const t = () => e.items.filter((r) => !r.read).length, l = (() => {
4292
- var r = ea();
4293
- return a(r, n(kr, {
4309
+ var r = ta();
4310
+ return a(r, n(Cr, {
4294
4311
  class: "h-5 w-5"
4295
4312
  }), null), a(r, n(E, {
4296
4313
  get when() {
4297
4314
  return t() > 0;
4298
4315
  },
4299
4316
  get children() {
4300
- var i = Qi();
4317
+ var i = ea();
4301
4318
  return a(i, t), i;
4302
4319
  }
4303
4320
  }), null), k(() => D(r, _("relative inline-grid place-items-center rounded-md p-2 text-foreground", e.class))), r;
4304
4321
  })();
4305
- return n(zl, {
4322
+ return n(Rl, {
4306
4323
  trigger: l,
4307
4324
  class: "w-80 p-0",
4308
4325
  get children() {
4309
4326
  return [(() => {
4310
- var r = ta(), i = r.firstChild, o = i.nextSibling;
4327
+ var r = ra(), i = r.firstChild, o = i.nextSibling;
4311
4328
  return o.$$click = () => {
4312
4329
  var s;
4313
4330
  return (s = e.onMarkAllRead) == null ? void 0 : s.call(e);
@@ -4317,29 +4334,29 @@ function yc(e) {
4317
4334
  return e.items.length > 0;
4318
4335
  },
4319
4336
  get fallback() {
4320
- return na();
4337
+ return la();
4321
4338
  },
4322
4339
  get children() {
4323
- var r = ra();
4340
+ var r = na();
4324
4341
  return a(r, n(A, {
4325
4342
  get each() {
4326
4343
  return e.items;
4327
4344
  },
4328
4345
  children: (i) => (() => {
4329
- var o = aa(), s = o.firstChild, d = s.firstChild, f = d.firstChild, u = s.nextSibling;
4346
+ var o = sa(), s = o.firstChild, d = s.firstChild, f = d.firstChild, u = s.nextSibling;
4330
4347
  return a(d, n(E, {
4331
4348
  get when() {
4332
4349
  return !i.read;
4333
4350
  },
4334
4351
  get children() {
4335
- return la();
4352
+ return oa();
4336
4353
  }
4337
4354
  }), f), a(f, () => i.title), a(s, n(E, {
4338
4355
  get when() {
4339
4356
  return i.description;
4340
4357
  },
4341
4358
  get children() {
4342
- var c = oa();
4359
+ var c = ia();
4343
4360
  return a(c, () => i.description), c;
4344
4361
  }
4345
4362
  }), null), a(s, n(E, {
@@ -4347,7 +4364,7 @@ function yc(e) {
4347
4364
  return i.time;
4348
4365
  },
4349
4366
  get children() {
4350
- var c = ia();
4367
+ var c = aa();
4351
4368
  return a(c, () => i.time), c;
4352
4369
  }
4353
4370
  }), null), u.$$click = () => {
@@ -4364,35 +4381,35 @@ function yc(e) {
4364
4381
  });
4365
4382
  }
4366
4383
  H(["click"]);
4367
- var sa = /* @__PURE__ */ m('<div><input type=color aria-label="Pick a color"class="h-10 w-14 cursor-pointer rounded-md border border-border bg-transparent"><input class="rounded-md border border-input bg-background px-3 py-2 text-sm font-mono"><div class="flex w-full flex-wrap items-center gap-2">'), da = /* @__PURE__ */ m("<button type=button>");
4368
- const ca = /^#[0-9a-fA-F]{6}$/, ua = ["#ef4444", "#f97316", "#eab308", "#22c55e", "#3b82f6", "#8b5cf6", "#ec4899", "#64748b"];
4369
- function pc(e) {
4384
+ var da = /* @__PURE__ */ m('<div><input type=color aria-label="Pick a color"class="h-10 w-14 cursor-pointer rounded-md border border-border bg-transparent"><input class="rounded-md border border-input bg-background px-3 py-2 text-sm font-mono"><div class="flex w-full flex-wrap items-center gap-2">'), ca = /* @__PURE__ */ m("<button type=button>");
4385
+ const ua = /^#[0-9a-fA-F]{6}$/, ga = ["#ef4444", "#f97316", "#eab308", "#22c55e", "#3b82f6", "#8b5cf6", "#ec4899", "#64748b"];
4386
+ function kc(e) {
4370
4387
  const [t, l] = z(e.value);
4371
4388
  J(() => l(e.value));
4372
- const r = () => e.swatches ?? ua, i = (o) => {
4373
- l(o), ca.test(o) && e.onChange(o);
4389
+ const r = () => e.swatches ?? ga, i = (o) => {
4390
+ l(o), ua.test(o) && e.onChange(o);
4374
4391
  };
4375
4392
  return (() => {
4376
- var o = sa(), s = o.firstChild, d = s.nextSibling, f = d.nextSibling;
4393
+ var o = da(), s = o.firstChild, d = s.nextSibling, f = d.nextSibling;
4377
4394
  return s.$$input = (u) => e.onChange(u.currentTarget.value), d.$$input = (u) => i(u.currentTarget.value), a(f, n(A, {
4378
4395
  get each() {
4379
4396
  return r();
4380
4397
  },
4381
4398
  children: (u) => (() => {
4382
- var c = da();
4399
+ var c = ca();
4383
4400
  return c.$$click = () => e.onChange(u), F(c, "aria-label", u), O(c, "background", u), k(() => D(c, _("h-6 w-6 rounded-md border border-border transition-transform active:scale-90 focus:outline-none focus:ring-2 focus:ring-ring", u === e.value && "ring-2 ring-ring ring-offset-1 ring-offset-background"))), c;
4384
4401
  })()
4385
4402
  })), k(() => D(o, _("flex flex-wrap items-center gap-3", e.class))), k(() => s.value = e.value), k(() => d.value = t()), o;
4386
4403
  })();
4387
4404
  }
4388
4405
  H(["input", "click"]);
4389
- var ga = /* @__PURE__ */ m('<span class="text-xs text-muted-foreground">'), fa = /* @__PURE__ */ m('<div class="mt-2 flex gap-3 text-xs text-muted-foreground">'), ma = /* @__PURE__ */ m('<div class="mt-4 space-y-4 border-l border-border pl-4">'), ha = /* @__PURE__ */ m('<div><div class="flex gap-3"><div class=flex-1><div class="flex items-baseline gap-2"><span class="text-sm font-medium text-foreground"></span></div><div class="mt-1 text-sm text-foreground">');
4390
- function va(e) {
4406
+ var fa = /* @__PURE__ */ m('<span class="text-xs text-muted-foreground">'), ma = /* @__PURE__ */ m('<div class="mt-2 flex gap-3 text-xs text-muted-foreground">'), ha = /* @__PURE__ */ m('<div class="mt-4 space-y-4 border-l border-border pl-4">'), va = /* @__PURE__ */ m('<div><div class="flex gap-3"><div class=flex-1><div class="flex items-baseline gap-2"><span class="text-sm font-medium text-foreground"></span></div><div class="mt-1 text-sm text-foreground">');
4407
+ function xa(e) {
4391
4408
  return e.trim().split(/\s+/).map((t) => t[0] ?? "").slice(0, 2).join("").toUpperCase();
4392
4409
  }
4393
- function xa(e) {
4410
+ function ba(e) {
4394
4411
  return (() => {
4395
- var t = ha(), l = t.firstChild, r = l.firstChild, i = r.firstChild, o = i.firstChild, s = i.nextSibling;
4412
+ var t = va(), l = t.firstChild, r = l.firstChild, i = r.firstChild, o = i.firstChild, s = i.nextSibling;
4396
4413
  return a(l, n(rr, {
4397
4414
  get src() {
4398
4415
  return e.comment.avatar;
@@ -4401,14 +4418,14 @@ function xa(e) {
4401
4418
  return e.comment.author;
4402
4419
  },
4403
4420
  get fallback() {
4404
- return va(e.comment.author);
4421
+ return xa(e.comment.author);
4405
4422
  }
4406
4423
  }), r), a(o, () => e.comment.author), a(i, n(E, {
4407
4424
  get when() {
4408
4425
  return e.comment.time;
4409
4426
  },
4410
4427
  get children() {
4411
- var d = ga();
4428
+ var d = fa();
4412
4429
  return a(d, () => e.comment.time), d;
4413
4430
  }
4414
4431
  }), null), a(s, () => e.comment.content), a(r, n(E, {
@@ -4416,7 +4433,7 @@ function xa(e) {
4416
4433
  return e.actions;
4417
4434
  },
4418
4435
  get children() {
4419
- var d = fa();
4436
+ var d = ma();
4420
4437
  return a(d, () => {
4421
4438
  var f;
4422
4439
  return (f = e.actions) == null ? void 0 : f.call(e, e.comment);
@@ -4428,12 +4445,12 @@ function xa(e) {
4428
4445
  return (d = e.comment.replies) == null ? void 0 : d.length;
4429
4446
  },
4430
4447
  get children() {
4431
- var d = ma();
4448
+ var d = ha();
4432
4449
  return a(d, n(A, {
4433
4450
  get each() {
4434
4451
  return e.comment.replies;
4435
4452
  },
4436
- children: (f) => n(xa, {
4453
+ children: (f) => n(ba, {
4437
4454
  comment: f,
4438
4455
  get actions() {
4439
4456
  return e.actions;
@@ -4444,16 +4461,16 @@ function xa(e) {
4444
4461
  }), null), k(() => D(t, e.class)), t;
4445
4462
  })();
4446
4463
  }
4447
- var ba = /* @__PURE__ */ m('<div><div class="relative h-4 text-[9px] text-muted-foreground"style=margin-left:28px></div><div class=flex style=gap:4px><div class="flex flex-col justify-between pr-1 text-right text-[9px] leading-none text-muted-foreground"style=gap:4px;width:28px></div></div><div class="flex items-center gap-1 text-xs text-muted-foreground"style=margin-left:28px><span>Less</span><span>More'), $a = /* @__PURE__ */ m('<span class="absolute top-0 whitespace-nowrap">'), wa = /* @__PURE__ */ m('<span class="flex items-center justify-end"style=height:11px>'), ya = /* @__PURE__ */ m('<div class="flex flex-col"style=gap:4px>'), yt = /* @__PURE__ */ m("<div style=height:11px;width:11px>");
4448
- const pt = ["bg-muted", "bg-primary/25", "bg-primary/45", "bg-primary/70", "bg-primary"], pa = 11, _a = 4, ka = pa + _a, Ca = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], Sa = ["", "Mon", "", "Wed", "", "Fri", ""];
4449
- function Ea(e) {
4464
+ var $a = /* @__PURE__ */ m('<div><div class="relative h-4 text-[9px] text-muted-foreground"style=margin-left:28px></div><div class=flex style=gap:4px><div class="flex flex-col justify-between pr-1 text-right text-[9px] leading-none text-muted-foreground"style=gap:4px;width:28px></div></div><div class="flex items-center gap-1 text-xs text-muted-foreground"style=margin-left:28px><span>Less</span><span>More'), wa = /* @__PURE__ */ m('<span class="absolute top-0 whitespace-nowrap">'), ya = /* @__PURE__ */ m('<span class="flex items-center justify-end"style=height:11px>'), pa = /* @__PURE__ */ m('<div class="flex flex-col"style=gap:4px>'), pt = /* @__PURE__ */ m("<div style=height:11px;width:11px>");
4465
+ const _t = ["bg-muted", "bg-primary/25", "bg-primary/45", "bg-primary/70", "bg-primary"], _a = 11, ka = 4, Ca = _a + ka, Sa = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], Ea = ["", "Mon", "", "Wed", "", "Fri", ""];
4466
+ function Ma(e) {
4450
4467
  return e <= 0 ? 0 : e <= 2 ? 1 : e <= 5 ? 2 : e <= 9 ? 3 : 4;
4451
4468
  }
4452
- function Ma(e) {
4469
+ function Ta(e) {
4453
4470
  const t = e.getFullYear(), l = String(e.getMonth() + 1).padStart(2, "0"), r = String(e.getDate()).padStart(2, "0");
4454
4471
  return `${t}-${l}-${r}`;
4455
4472
  }
4456
- function _c(e) {
4473
+ function Cc(e) {
4457
4474
  const t = () => e.weeks ?? 26, l = () => {
4458
4475
  const o = /* @__PURE__ */ new Map();
4459
4476
  for (const s of e.values) o.set(s.date, (o.get(s.date) ?? 0) + s.count);
@@ -4463,11 +4480,11 @@ function _c(e) {
4463
4480
  for (let u = 0; u < t(); u++) {
4464
4481
  const c = (t() - 1 - u) * 7, g = [];
4465
4482
  for (let b = 0; b < 7; b++) {
4466
- const v = new Date(d.getFullYear(), d.getMonth(), d.getDate() - c + b), y = Ma(v), x = o.get(y) ?? 0;
4483
+ const v = new Date(d.getFullYear(), d.getMonth(), d.getDate() - c + b), y = Ta(v), x = o.get(y) ?? 0;
4467
4484
  g.push({
4468
4485
  date: v,
4469
4486
  count: x,
4470
- level: Ea(x),
4487
+ level: Ma(x),
4471
4488
  key: y
4472
4489
  });
4473
4490
  }
@@ -4481,24 +4498,24 @@ function _c(e) {
4481
4498
  const c = f[0].date.getMonth();
4482
4499
  c !== d && (s.push({
4483
4500
  index: u,
4484
- label: Ca[c]
4501
+ label: Sa[c]
4485
4502
  }), d = c);
4486
4503
  }), s;
4487
4504
  };
4488
4505
  return (() => {
4489
- var o = ba(), s = o.firstChild, d = s.nextSibling, f = d.firstChild, u = d.nextSibling, c = u.firstChild, g = c.nextSibling;
4506
+ var o = $a(), s = o.firstChild, d = s.nextSibling, f = d.firstChild, u = d.nextSibling, c = u.firstChild, g = c.nextSibling;
4490
4507
  return a(s, n(A, {
4491
4508
  get each() {
4492
4509
  return i();
4493
4510
  },
4494
4511
  children: (b) => (() => {
4495
- var v = $a();
4496
- return a(v, () => b.label), k((y) => O(v, "left", `${b.index * ka}px`)), v;
4512
+ var v = wa();
4513
+ return a(v, () => b.label), k((y) => O(v, "left", `${b.index * Ca}px`)), v;
4497
4514
  })()
4498
4515
  })), a(f, n(A, {
4499
- each: Sa,
4516
+ each: Ea,
4500
4517
  children: (b) => (() => {
4501
- var v = wa();
4518
+ var v = ya();
4502
4519
  return a(v, b), v;
4503
4520
  })()
4504
4521
  })), a(d, n(A, {
@@ -4506,13 +4523,13 @@ function _c(e) {
4506
4523
  return r();
4507
4524
  },
4508
4525
  children: (b) => (() => {
4509
- var v = ya();
4526
+ var v = pa();
4510
4527
  return a(v, n(A, {
4511
4528
  each: b,
4512
4529
  children: (y) => (() => {
4513
- var x = yt();
4530
+ var x = pt();
4514
4531
  return k(($) => {
4515
- var h = `${y.count} on ${y.key}`, w = _("rounded-sm", pt[y.level]);
4532
+ var h = `${y.count} on ${y.key}`, w = _("rounded-sm", _t[y.level]);
4516
4533
  return h !== $.e && F(x, "title", $.e = h), w !== $.t && D(x, $.t = w), $;
4517
4534
  }, {
4518
4535
  e: void 0,
@@ -4522,15 +4539,15 @@ function _c(e) {
4522
4539
  })), v;
4523
4540
  })()
4524
4541
  }), null), a(u, n(A, {
4525
- each: pt,
4542
+ each: _t,
4526
4543
  children: (b) => (() => {
4527
- var v = yt();
4544
+ var v = pt();
4528
4545
  return k(() => D(v, _("rounded-sm", b))), v;
4529
4546
  })()
4530
4547
  }), g), k(() => D(o, _("inline-flex flex-col gap-2", e.class))), o;
4531
4548
  })();
4532
4549
  }
4533
- function kc(e) {
4550
+ function Sc(e) {
4534
4551
  return n(fe, {
4535
4552
  get mount() {
4536
4553
  return e.mount;
@@ -4543,8 +4560,8 @@ function kc(e) {
4543
4560
  }
4544
4561
  });
4545
4562
  }
4546
- var Ta = /* @__PURE__ */ m("<div>"), La = /* @__PURE__ */ m('<div data-sortable-item class="flex items-center gap-2 rounded-lg border border-border bg-card p-2"><button type=button class="cursor-grab active:cursor-grabbing text-muted-foreground shrink-0"aria-label="Drag to reorder"style=touch-action:none></button><div class="min-w-0 flex-1">'), Fa = /* @__PURE__ */ m('<div data-sortable-item class="rounded-lg border-2 border-dashed border-primary/40 bg-primary/5">'), Da = /* @__PURE__ */ m('<div class="fixed shadow-2xl flex items-center gap-2 rounded-lg border border-border bg-card p-2"style=pointer-events:none;z-index:70><span class="text-muted-foreground shrink-0"></span><div class="min-w-0 flex-1">');
4547
- function Cc(e) {
4563
+ var La = /* @__PURE__ */ m("<div>"), Fa = /* @__PURE__ */ m('<div data-sortable-item class="flex items-center gap-2 rounded-lg border border-border bg-card p-2"><button type=button class="cursor-grab active:cursor-grabbing text-muted-foreground shrink-0"aria-label="Drag to reorder"style=touch-action:none></button><div class="min-w-0 flex-1">'), Da = /* @__PURE__ */ m('<div data-sortable-item class="rounded-lg border-2 border-dashed border-primary/40 bg-primary/5">'), Ia = /* @__PURE__ */ m('<div class="fixed shadow-2xl flex items-center gap-2 rounded-lg border border-border bg-card p-2"style=pointer-events:none;z-index:70><span class="text-muted-foreground shrink-0"></span><div class="min-w-0 flex-1">');
4564
+ function Ec(e) {
4548
4565
  const [t, l] = z(e.items), [r, i] = z(null);
4549
4566
  let o;
4550
4567
  J(() => {
@@ -4597,7 +4614,7 @@ function Cc(e) {
4597
4614
  return t().find((c) => e.itemKey(c) === u.key);
4598
4615
  };
4599
4616
  return (() => {
4600
- var u = Ta(), c = o;
4617
+ var u = La(), c = o;
4601
4618
  return typeof c == "function" ? Y(c, u) : o = u, a(u, n(A, {
4602
4619
  get each() {
4603
4620
  return t();
@@ -4614,7 +4631,7 @@ function Cc(e) {
4614
4631
  },
4615
4632
  get fallback() {
4616
4633
  return (() => {
4617
- var y = Fa();
4634
+ var y = Da();
4618
4635
  return k((x) => {
4619
4636
  var $;
4620
4637
  return O(y, "height", `${(($ = r()) == null ? void 0 : $.height) ?? 0}px`);
@@ -4622,8 +4639,8 @@ function Cc(e) {
4622
4639
  })();
4623
4640
  },
4624
4641
  get children() {
4625
- var y = La(), x = y.firstChild, $ = x.nextSibling;
4626
- return x.$$pointerdown = (h) => d(h, b), a(x, n(ot, {
4642
+ var y = Fa(), x = y.firstChild, $ = x.nextSibling;
4643
+ return x.$$pointerdown = (h) => d(h, b), a(x, n(it, {
4627
4644
  class: "h-4 w-4"
4628
4645
  })), a($, () => e.children(g)), k(() => x.disabled = e.disabled), y;
4629
4646
  }
@@ -4635,8 +4652,8 @@ function Cc(e) {
4635
4652
  },
4636
4653
  children: (g) => n(fe, {
4637
4654
  get children() {
4638
- var b = Da(), v = b.firstChild, y = v.nextSibling;
4639
- return a(v, n(ot, {
4655
+ var b = Ia(), v = b.firstChild, y = v.nextSibling;
4656
+ return a(v, n(it, {
4640
4657
  class: "h-4 w-4"
4641
4658
  })), a(y, n(E, {
4642
4659
  get when() {
@@ -4657,9 +4674,9 @@ function Cc(e) {
4657
4674
  })();
4658
4675
  }
4659
4676
  H(["pointerdown"]);
4660
- var Ia = /* @__PURE__ */ m('<span class="text-base font-normal text-muted-foreground">'), Aa = /* @__PURE__ */ m('<div><span class="flex items-baseline gap-2 tabular-nums text-4xl font-bold tracking-tight text-foreground"><span>'), za = /* @__PURE__ */ m("<svg><polyline stroke=hsl(var(--primary)) stroke-width=1.5 stroke-linecap=round style=transform-origin:center;transform-box:view-box></svg>", !1, !0, !1), Ra = /* @__PURE__ */ m('<svg role=img aria-label="Analog clock"><circle fill=none stroke=hsl(var(--border)) stroke-width=2></circle><polyline stroke=hsl(var(--foreground)) stroke-width=4 stroke-linecap=round style=transform-origin:center;transform-box:view-box></polyline><polyline stroke=hsl(var(--foreground)) stroke-width=3 stroke-linecap=round style=transform-origin:center;transform-box:view-box></polyline><circle r=3.5 fill=hsl(var(--primary))>'), Oa = /* @__PURE__ */ m("<svg><line stroke=hsl(var(--muted-foreground)) stroke-linecap=round></svg>", !1, !0, !1);
4677
+ var Aa = /* @__PURE__ */ m('<span class="text-base font-normal text-muted-foreground">'), za = /* @__PURE__ */ m('<div><span class="flex items-baseline gap-2 tabular-nums text-4xl font-bold tracking-tight text-foreground"><span>'), Ra = /* @__PURE__ */ m("<svg><polyline stroke=hsl(var(--primary)) stroke-width=1.5 stroke-linecap=round style=transform-origin:center;transform-box:view-box></svg>", !1, !0, !1), Oa = /* @__PURE__ */ m('<svg role=img aria-label="Analog clock"><circle fill=none stroke=hsl(var(--border)) stroke-width=2></circle><polyline stroke=hsl(var(--foreground)) stroke-width=4 stroke-linecap=round style=transform-origin:center;transform-box:view-box></polyline><polyline stroke=hsl(var(--foreground)) stroke-width=3 stroke-linecap=round style=transform-origin:center;transform-box:view-box></polyline><circle r=3.5 fill=hsl(var(--primary))>'), Pa = /* @__PURE__ */ m("<svg><line stroke=hsl(var(--muted-foreground)) stroke-linecap=round></svg>", !1, !0, !1);
4661
4678
  const Le = (e) => String(e).padStart(2, "0");
4662
- function Pa(e, t) {
4679
+ function Ba(e, t) {
4663
4680
  if (!t)
4664
4681
  return {
4665
4682
  hours: e.getHours(),
@@ -4682,7 +4699,7 @@ function Pa(e, t) {
4682
4699
  seconds: r("second")
4683
4700
  };
4684
4701
  }
4685
- function Ba(e) {
4702
+ function ja(e) {
4686
4703
  const t = () => {
4687
4704
  const {
4688
4705
  hours: l,
@@ -4696,19 +4713,19 @@ function Ba(e) {
4696
4713
  };
4697
4714
  };
4698
4715
  return (() => {
4699
- var l = Aa(), r = l.firstChild, i = r.firstChild;
4716
+ var l = za(), r = l.firstChild, i = r.firstChild;
4700
4717
  return a(i, () => t().time), a(r, n(E, {
4701
4718
  get when() {
4702
4719
  return e.hour12;
4703
4720
  },
4704
4721
  get children() {
4705
- var o = Ia();
4722
+ var o = Aa();
4706
4723
  return a(o, () => t().suffix), o;
4707
4724
  }
4708
4725
  }), null), k(() => D(l, _("flex flex-col items-center justify-center", e.class))), l;
4709
4726
  })();
4710
4727
  }
4711
- function ja(e) {
4728
+ function Na(e) {
4712
4729
  const t = () => e.size, l = () => t() / 2, r = () => t() / 2, i = () => t() / 2, o = () => e.parts.hours % 12 * 30 + e.parts.minutes * 0.5, s = () => e.parts.minutes * 6 + e.parts.seconds * 0.1, d = () => e.parts.seconds * 6, f = Array.from({
4713
4730
  length: 12
4714
4731
  }, (c, g) => g), u = (c) => {
@@ -4716,13 +4733,13 @@ function ja(e) {
4716
4733
  return `${l()},${r()} ${l()},${r() - g}`;
4717
4734
  };
4718
4735
  return (() => {
4719
- var c = Ra(), g = c.firstChild, b = g.nextSibling, v = b.nextSibling, y = v.nextSibling;
4736
+ var c = Oa(), g = c.firstChild, b = g.nextSibling, v = b.nextSibling, y = v.nextSibling;
4720
4737
  return a(c, n(A, {
4721
4738
  each: f,
4722
4739
  children: (x) => {
4723
4740
  const $ = x * 30, h = i() - 4, w = i() - (x % 3 === 0 ? 14 : 9), p = l() + h * Math.sin($ * Math.PI / 180), C = r() - h * Math.cos($ * Math.PI / 180), L = l() + w * Math.sin($ * Math.PI / 180), S = r() - w * Math.cos($ * Math.PI / 180);
4724
4741
  return (() => {
4725
- var M = Oa();
4742
+ var M = Pa();
4726
4743
  return F(M, "x1", p), F(M, "y1", C), F(M, "x2", L), F(M, "y2", S), F(M, "stroke-width", x % 3 === 0 ? 2 : 1), M;
4727
4744
  })();
4728
4745
  }
@@ -4731,7 +4748,7 @@ function ja(e) {
4731
4748
  return e.seconds;
4732
4749
  },
4733
4750
  get children() {
4734
- var x = za();
4751
+ var x = Ra();
4735
4752
  return k(($) => {
4736
4753
  var h = u(0.75), w = `rotate(${d()}deg)`;
4737
4754
  return h !== $.e && F(x, "points", $.e = h), w !== $.t && O(x, "transform", $.t = w), $;
@@ -4760,19 +4777,19 @@ function ja(e) {
4760
4777
  }), c;
4761
4778
  })();
4762
4779
  }
4763
- function Sc(e) {
4780
+ function Mc(e) {
4764
4781
  const [t, l] = z(/* @__PURE__ */ new Date());
4765
4782
  ee(() => {
4766
4783
  const f = setInterval(() => l(/* @__PURE__ */ new Date()), 1e3);
4767
4784
  X(() => clearInterval(f));
4768
4785
  });
4769
- const r = () => e.variant ?? "digital", i = () => e.seconds ?? !0, o = () => e.hour12 ?? !1, s = () => e.size ?? 160, d = () => Pa(t(), e.timeZone);
4786
+ const r = () => e.variant ?? "digital", i = () => e.seconds ?? !0, o = () => e.hour12 ?? !1, s = () => e.size ?? 160, d = () => Ba(t(), e.timeZone);
4770
4787
  return n(E, {
4771
4788
  get when() {
4772
4789
  return r() === "analog";
4773
4790
  },
4774
4791
  get fallback() {
4775
- return n(Ba, {
4792
+ return n(ja, {
4776
4793
  get parts() {
4777
4794
  return d();
4778
4795
  },
@@ -4788,7 +4805,7 @@ function Sc(e) {
4788
4805
  });
4789
4806
  },
4790
4807
  get children() {
4791
- return n(ja, {
4808
+ return n(Na, {
4792
4809
  get parts() {
4793
4810
  return d();
4794
4811
  },
@@ -4830,8 +4847,8 @@ function je(e) {
4830
4847
  document.removeEventListener("pointermove", l), window.removeEventListener("pointerleave", r), document.removeEventListener("pointerout", i);
4831
4848
  };
4832
4849
  }
4833
- var Na = /* @__PURE__ */ m('<div id=space aria-hidden=true><div class=sky></div><div class=aurora></div><div id=starfield></div><svg class=constellation viewBox="0 0 260 170"style=position:absolute;top:6%;left:58%;width:260px;height:170px><g class=cline fill=none stroke="color-mix(in srgb, hsl(var(--accent)) 65%, white)"stroke-width=2><line x1=12 y1=120 x2=70 y2=60></line><line x1=70 y1=60 x2=140 y2=80></line><line x1=140 y1=80 x2=205 y2=30></line><line x1=140 y1=80 x2=170 y2=140></line></g><g class=cdot fill=hsl(var(--foreground))><circle cx=12 cy=120 r=3.6></circle><circle cx=70 cy=60 r=4.2></circle><circle cx=140 cy=80 r=3.6></circle><circle cx=205 cy=30 r=3.8></circle><circle cx=170 cy=140 r=3.4></circle></g></svg><svg class=constellation viewBox="0 0 200 130"style=position:absolute;bottom:8%;left:10%;width:200px;height:130px><g class=cline fill=none stroke="color-mix(in srgb, hsl(var(--accent)) 65%, white)"stroke-width=2><line x1=10 y1=20 x2=60 y2=55></line><line x1=60 y1=55 x2=120 y2=40></line><line x1=120 y1=40 x2=180 y2=90></line></g><g class=cdot fill=hsl(var(--foreground))><circle cx=10 cy=20 r=3.4></circle><circle cx=60 cy=55 r=4></circle><circle cx=120 cy=40 r=3.6></circle><circle cx=180 cy=90 r=3.8></circle></g></svg><div class="floaty slow"style=position:absolute;top:88px;right:-30px><div class=planet style="width:120px;height:120px;background:radial-gradient(circle at 32% 28%, color-mix(in srgb, hsl(var(--primary)) 78%, white), hsl(var(--primary)) 70%, color-mix(in srgb, hsl(var(--primary)) 68%, black));opacity:.7;box-shadow:0 0 60px hsl(var(--primary) / .35)"></div></div><div class=floaty style=position:absolute;bottom:60px;left:-24px><div class=planet-glow style="width:72px;height:72px;background:radial-gradient(circle at 36% 30%, color-mix(in srgb, hsl(var(--accent)) 75%, white), hsl(var(--accent)) 72%, color-mix(in srgb, hsl(var(--accent)) 66%, black));opacity:.6;box-shadow:0 0 44px hsl(var(--accent) / .4)"></div></div><div class="floaty slow"style=position:absolute;top:52%;right:6%><div class=planet-glow style="width:26px;height:26px;background:radial-gradient(circle at 35% 30%, hsl(199 60% 90%), hsl(210 30% 62%));opacity:.5"></div></div><div id=cursorGlow style="position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle, hsl(var(--primary) / .10), transparent 70%);transform:translate(-50%,-50%);opacity:0;transition:opacity .4s ease"></div><div id=satellite style="position:absolute;top:14%;left:-6%;transform:rotate(-18deg);filter:drop-shadow(0 0 4px hsl(var(--accent) / .8))">');
4834
- const _t = [{
4850
+ var Ya = /* @__PURE__ */ m('<div id=space aria-hidden=true><div class=sky></div><div class=aurora></div><div id=starfield></div><svg class=constellation viewBox="0 0 260 170"style=position:absolute;top:6%;left:58%;width:260px;height:170px><g class=cline fill=none stroke="color-mix(in srgb, hsl(var(--accent)) 65%, white)"stroke-width=2><line x1=12 y1=120 x2=70 y2=60></line><line x1=70 y1=60 x2=140 y2=80></line><line x1=140 y1=80 x2=205 y2=30></line><line x1=140 y1=80 x2=170 y2=140></line></g><g class=cdot fill=hsl(var(--foreground))><circle cx=12 cy=120 r=3.6></circle><circle cx=70 cy=60 r=4.2></circle><circle cx=140 cy=80 r=3.6></circle><circle cx=205 cy=30 r=3.8></circle><circle cx=170 cy=140 r=3.4></circle></g></svg><svg class=constellation viewBox="0 0 200 130"style=position:absolute;bottom:8%;left:10%;width:200px;height:130px><g class=cline fill=none stroke="color-mix(in srgb, hsl(var(--accent)) 65%, white)"stroke-width=2><line x1=10 y1=20 x2=60 y2=55></line><line x1=60 y1=55 x2=120 y2=40></line><line x1=120 y1=40 x2=180 y2=90></line></g><g class=cdot fill=hsl(var(--foreground))><circle cx=10 cy=20 r=3.4></circle><circle cx=60 cy=55 r=4></circle><circle cx=120 cy=40 r=3.6></circle><circle cx=180 cy=90 r=3.8></circle></g></svg><div class="floaty slow"style=position:absolute;top:88px;right:-30px><div class=planet style="width:120px;height:120px;background:radial-gradient(circle at 32% 28%, color-mix(in srgb, hsl(var(--primary)) 78%, white), hsl(var(--primary)) 70%, color-mix(in srgb, hsl(var(--primary)) 68%, black));opacity:.7;box-shadow:0 0 60px hsl(var(--primary) / .35)"></div></div><div class=floaty style=position:absolute;bottom:60px;left:-24px><div class=planet-glow style="width:72px;height:72px;background:radial-gradient(circle at 36% 30%, color-mix(in srgb, hsl(var(--accent)) 75%, white), hsl(var(--accent)) 72%, color-mix(in srgb, hsl(var(--accent)) 66%, black));opacity:.6;box-shadow:0 0 44px hsl(var(--accent) / .4)"></div></div><div class="floaty slow"style=position:absolute;top:52%;right:6%><div class=planet-glow style="width:26px;height:26px;background:radial-gradient(circle at 35% 30%, hsl(199 60% 90%), hsl(210 30% 62%));opacity:.5"></div></div><div id=cursorGlow style="position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle, hsl(var(--primary) / .10), transparent 70%);transform:translate(-50%,-50%);opacity:0;transition:opacity .4s ease"></div><div id=satellite style="position:absolute;top:14%;left:-6%;transform:rotate(-18deg);filter:drop-shadow(0 0 4px hsl(var(--accent) / .8))">');
4851
+ const kt = [{
4835
4852
  angle: 22,
4836
4853
  x: [0, 32],
4837
4854
  y: [-6, 18]
@@ -4847,7 +4864,7 @@ const _t = [{
4847
4864
  angle: 202,
4848
4865
  x: [62, 96],
4849
4866
  y: [52, 80]
4850
- }], Ya = ["255,255,255", "180,210,255", "255,228,170", "210,185,255", "165,230,255"], Ha = ["198,146,28", "176,120,18", "214,162,46", "160,110,28", "190,134,34"], Va = `<svg viewBox="0 0 24 82" width="100%" height="100%" style="display:block;overflow:visible">
4867
+ }], Ha = ["255,255,255", "180,210,255", "255,228,170", "210,185,255", "165,230,255"], Va = ["198,146,28", "176,120,18", "214,162,46", "160,110,28", "190,134,34"], Ua = `<svg viewBox="0 0 24 82" width="100%" height="100%" style="display:block;overflow:visible">
4851
4868
  <g class="rk-flame">
4852
4869
  <path d="M8.5 31 C 8 50, 11 70, 12 80 C 13 70, 16 50, 15.5 31 Z" fill="#ff6a00" opacity="0.8"/>
4853
4870
  <path d="M9.6 31 C 9.4 47, 11.2 60, 12 70 C 12.8 60, 14.6 47, 14.4 31 Z" fill="#ffb020" opacity="0.95"/>
@@ -4858,26 +4875,26 @@ const _t = [{
4858
4875
  <path d="M9 26 L 4.6 34 L 9 31 Z" fill="#ef5a3a"/>
4859
4876
  <path d="M15 26 L 19.4 34 L 15 31 Z" fill="#ef5a3a"/>
4860
4877
  <circle cx="12" cy="19" r="2.3" fill="#8fd0ff" stroke="#2f6aa8" stroke-width="1"/>
4861
- </svg>`, Ua = 66, Ga = 7;
4862
- function Ka(e) {
4878
+ </svg>`, Ga = 66, Ka = 7;
4879
+ function qa(e) {
4863
4880
  const t = Math.random, l = () => e[Math.floor(t() * e.length)];
4864
4881
  let r = "";
4865
- for (let i = 0; i < Ua; i++) {
4882
+ for (let i = 0; i < Ga; i++) {
4866
4883
  const o = t() < 0.12, s = o ? 3 + t() * 1.8 : 1.2 + t() * 1.8, d = o ? 0.85 + t() * 0.15 : 0.3 + t() * 0.55, f = o ? 6 + t() * 8 : 1.5 + t() * 4, u = l(), c = t() < 0.4 ? `animation:twinkle ${(2.6 + t() * 3.5).toFixed(1)}s ease-in-out ${(t() * 4).toFixed(1)}s infinite;` : "";
4867
4884
  r += `<span style="position:absolute;left:${(t() * 100).toFixed(2)}%;top:${(t() * 100).toFixed(2)}%;width:${s.toFixed(1)}px;height:${s.toFixed(1)}px;border-radius:50%;background:rgba(${u},${d.toFixed(2)});box-shadow:0 0 ${f.toFixed(1)}px rgba(${u},${(d * 0.8).toFixed(2)});${c}"></span>`;
4868
4885
  }
4869
- for (let i = 0; i < Ga; i++) {
4886
+ for (let i = 0; i < Ka; i++) {
4870
4887
  const o = l(), s = (1.8 + t() * 1.8).toFixed(1), d = (0.7 + t() * 0.3).toFixed(2), f = (4 + t() * 6).toFixed(1), u = (4 + t() * 86).toFixed(1), c = t() < 0.5, g = c ? "106%" : "-6%", b = c ? "-118vw" : "118vw", v = `${((t() * 2 - 1) * 16).toFixed(1)}vh`, y = 34 + t() * 34, x = (-t() * y).toFixed(1);
4871
4888
  r += `<span style="position:absolute;left:${g};top:${u}%;width:${s}px;height:${s}px;border-radius:50%;background:rgba(${o},${d});box-shadow:0 0 ${f}px rgba(${o},${(Number(d) * 0.8).toFixed(2)});--dx:${b};--dy:${v};animation:starDrift ${y.toFixed(1)}s linear ${x}s infinite;"></span>`;
4872
4889
  }
4873
4890
  return r;
4874
4891
  }
4875
- function qa() {
4892
+ function Xa() {
4876
4893
  let e, t;
4877
4894
  const l = Ut();
4878
4895
  return J(() => {
4879
- const r = l() === "light" ? Ha : Ya;
4880
- t && (t.innerHTML = Ka(r));
4896
+ const r = l() === "light" ? Va : Ha;
4897
+ t && (t.innerHTML = qa(r));
4881
4898
  }), ee(() => {
4882
4899
  const r = [], i = [], o = (h, w, p, C) => {
4883
4900
  h.addEventListener(w, p, C), r.push(() => h.removeEventListener(w, p, C));
@@ -4932,7 +4949,7 @@ function qa() {
4932
4949
  T.onfinish = () => M.remove(), i.push(window.setTimeout(() => M.remove(), S + 250));
4933
4950
  }, x = (h, w, p, C, L, S) => {
4934
4951
  const M = document.createElement("div"), T = C * (82 / 24);
4935
- M.style.cssText = `position:absolute;left:${h};top:${w};width:${C.toFixed(0)}px;height:${T.toFixed(0)}px;pointer-events:none;filter:drop-shadow(0 0 5px rgba(255,170,80,.55));`, M.innerHTML = Va, e.appendChild(M);
4952
+ M.style.cssText = `position:absolute;left:${h};top:${w};width:${C.toFixed(0)}px;height:${T.toFixed(0)}px;pointer-events:none;filter:drop-shadow(0 0 5px rgba(255,170,80,.55));`, M.innerHTML = Ua, e.appendChild(M);
4936
4953
  const I = p * Math.PI / 180, P = Math.cos(I) * L, R = Math.sin(I) * L, B = p + 90, j = M.animate([{
4937
4954
  opacity: 0,
4938
4955
  transform: `translate(0px,0px) rotate(${B}deg) scale(.5)`
@@ -4971,7 +4988,7 @@ function qa() {
4971
4988
  x(`${(5 + Math.random() * 90).toFixed(0)}vw`, "104vh", -90 + (Math.random() * 30 - 15), 13 + Math.random() * 9, window.innerHeight * (1.1 + Math.random() * 0.35), 5200 + Math.random() * 3500);
4972
4989
  return;
4973
4990
  }
4974
- const p = _t[Math.floor(Math.random() * _t.length)];
4991
+ const p = kt[Math.floor(Math.random() * kt.length)];
4975
4992
  y(`${p.x[0] + Math.random() * (p.x[1] - p.x[0])}vw`, `${p.y[0] + Math.random() * (p.y[1] - p.y[0])}vh`, p.angle + (Math.random() * 16 - 8), 90 + Math.random() * 90, 380 + Math.random() * 300, 850 + Math.random() * 550);
4976
4993
  }, w = () => {
4977
4994
  h(), i.push(window.setTimeout(w, 4500 + Math.random() * 6e3));
@@ -4982,7 +4999,7 @@ function qa() {
4982
4999
  r.forEach((h) => h()), i.forEach((h) => clearTimeout(h));
4983
5000
  });
4984
5001
  }), (() => {
4985
- var r = Na(), i = r.firstChild, o = i.nextSibling, s = o.nextSibling, d = s.nextSibling, f = d.nextSibling, u = f.nextSibling;
5002
+ var r = Ya(), i = r.firstChild, o = i.nextSibling, s = o.nextSibling, d = s.nextSibling, f = d.nextSibling, u = f.nextSibling;
4986
5003
  u.firstChild;
4987
5004
  var c = u.nextSibling;
4988
5005
  c.firstChild;
@@ -4991,7 +5008,7 @@ function qa() {
4991
5008
  var b = g.nextSibling, v = b.nextSibling, y = e;
4992
5009
  typeof y == "function" ? Y(y, r) : e = r;
4993
5010
  var x = t;
4994
- return typeof x == "function" ? Y(x, s) : t = s, a(v, n(Cr, {
5011
+ return typeof x == "function" ? Y(x, s) : t = s, a(v, n(Sr, {
4995
5012
  style: {
4996
5013
  width: "28px",
4997
5014
  height: "28px",
@@ -5001,10 +5018,10 @@ function qa() {
5001
5018
  })), r;
5002
5019
  })();
5003
5020
  }
5004
- var Xa = /* @__PURE__ */ m('<div class="mx-auto max-w-md py-20 text-center"><p class="text-lg font-semibold">Something went wrong loading this page</p><p class="mt-1 break-words text-sm text-muted-foreground"></p><div class="mt-4 flex justify-center gap-2">'), Wa = /* @__PURE__ */ m('<div class="relative min-h-screen"><div class="relative z-10 flex min-h-screen"><div class="flex min-w-0 flex-1 flex-col"><main class="relative mx-auto w-full min-w-0 flex-1 px-4 py-6 sm:px-6">'), Ja = /* @__PURE__ */ m('<div class="flex justify-center py-24 text-muted-foreground">');
5005
- function Za(e, t) {
5021
+ var Wa = /* @__PURE__ */ m('<div class="mx-auto max-w-md py-20 text-center"><p class="text-lg font-semibold">Something went wrong loading this page</p><p class="mt-1 break-words text-sm text-muted-foreground"></p><div class="mt-4 flex justify-center gap-2">'), Ja = /* @__PURE__ */ m('<div class="relative min-h-screen"><div class="relative z-10 flex min-h-screen"><div class="flex min-w-0 flex-1 flex-col"><main class="relative mx-auto w-full min-w-0 flex-1 px-4 py-6 sm:px-6">'), Za = /* @__PURE__ */ m('<div class="flex justify-center py-24 text-muted-foreground">');
5022
+ function Qa(e, t) {
5006
5023
  return (() => {
5007
- var l = Xa(), r = l.firstChild, i = r.nextSibling, o = i.nextSibling;
5024
+ var l = Wa(), r = l.firstChild, i = r.nextSibling, o = i.nextSibling;
5008
5025
  return a(i, () => String((e == null ? void 0 : e.message) ?? e)), a(o, n(ge, {
5009
5026
  variant: "outline",
5010
5027
  onClick: t,
@@ -5015,17 +5032,17 @@ function Za(e, t) {
5015
5032
  }), null), l;
5016
5033
  })();
5017
5034
  }
5018
- function Ec(e) {
5019
- const t = (l, r) => (e.errorFallback ?? Za)(l, r);
5035
+ function Tc(e) {
5036
+ const t = (l, r) => (e.errorFallback ?? Qa)(l, r);
5020
5037
  return (() => {
5021
- var l = Wa(), r = l.firstChild, i = r.firstChild, o = i.firstChild;
5038
+ var l = Ja(), r = l.firstChild, i = r.firstChild, o = i.firstChild;
5022
5039
  return a(l, n(E, {
5023
5040
  get when() {
5024
5041
  return e.background !== null;
5025
5042
  },
5026
5043
  fallback: null,
5027
5044
  get children() {
5028
- return e.background ?? n(qa, {});
5045
+ return e.background ?? n(Xa, {});
5029
5046
  }
5030
5047
  }), r), a(r, () => e.sidebar, i), a(i, () => e.banner, o), a(i, () => e.topbar, o), a(o, n(dr, {
5031
5048
  fallback: t,
@@ -5033,8 +5050,8 @@ function Ec(e) {
5033
5050
  return n(cr, {
5034
5051
  get fallback() {
5035
5052
  return (() => {
5036
- var s = Ja();
5037
- return a(s, n(hl, {})), s;
5053
+ var s = Za();
5054
+ return a(s, n(vl, {})), s;
5038
5055
  })();
5039
5056
  },
5040
5057
  get children() {
@@ -5045,8 +5062,8 @@ function Ec(e) {
5045
5062
  })), k((s) => O(o, "max-width", e.maxWidth ?? "1400px")), l;
5046
5063
  })();
5047
5064
  }
5048
- var Qa = /* @__PURE__ */ m('<div id=scenery aria-hidden=true><div class=themed-sky></div><div class="absolute inset-0"></div><div id=cursorGlow style="position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle, hsl(var(--primary) / 0.1), transparent 70%);transform:translate(-50%,-50%);opacity:0;transition:opacity .4s ease">');
5049
- function es(e, t, l) {
5065
+ var es = /* @__PURE__ */ m('<div id=scenery aria-hidden=true><div class=themed-sky></div><div class="absolute inset-0"></div><div id=cursorGlow style="position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle, hsl(var(--primary) / 0.1), transparent 70%);transform:translate(-50%,-50%);opacity:0;transition:opacity .4s ease">');
5066
+ function ts(e, t, l) {
5050
5067
  const r = Math.random, i = () => e[Math.floor(r() * e.length)];
5051
5068
  let o = "";
5052
5069
  for (let s = 0; s < t; s++) {
@@ -5055,11 +5072,11 @@ function es(e, t, l) {
5055
5072
  }
5056
5073
  return o;
5057
5074
  }
5058
- const ts = 'a, button, input, select, textarea, label, [role="button"], [role="tab"], [role="menuitem"], [role="dialog"], [contenteditable]';
5059
- function Mc(e) {
5075
+ const rs = 'a, button, input, select, textarea, label, [role="button"], [role="tab"], [role="menuitem"], [role="dialog"], [contenteditable]';
5076
+ function Lc(e) {
5060
5077
  let t, l;
5061
5078
  return J(() => {
5062
- l.innerHTML = es(e.motifs, e.count ?? 16, !ne());
5079
+ l.innerHTML = ts(e.motifs, e.count ?? 16, !ne());
5063
5080
  }), ee(() => {
5064
5081
  const r = [], i = [], o = (d, f, u, c, g, b) => {
5065
5082
  const v = document.createElement("span");
@@ -5086,7 +5103,7 @@ function Mc(e) {
5086
5103
  h.onfinish = () => v.remove(), i.push(window.setTimeout(() => v.remove(), g + 300));
5087
5104
  }, s = (d) => {
5088
5105
  var f, u;
5089
- (u = (f = d.target) == null ? void 0 : f.closest) != null && u.call(f, ts) || o(`${d.clientX}px`, `${d.clientY}px`, -90 + (Math.random() * 80 - 40), 260 + Math.random() * 260, 950 + Math.random() * 700, 22 + Math.random() * 14);
5106
+ (u = (f = d.target) == null ? void 0 : f.closest) != null && u.call(f, rs) || o(`${d.clientX}px`, `${d.clientY}px`, -90 + (Math.random() * 80 - 40), 260 + Math.random() * 260, 950 + Math.random() * 700, 22 + Math.random() * 14);
5090
5107
  };
5091
5108
  if (document.addEventListener("click", s), r.push(() => document.removeEventListener("click", s)), !ne()) {
5092
5109
  r.push(je(t));
@@ -5102,7 +5119,7 @@ function Mc(e) {
5102
5119
  r.forEach((d) => d()), i.forEach((d) => clearTimeout(d));
5103
5120
  });
5104
5121
  }), (() => {
5105
- var r = Qa(), i = r.firstChild, o = i.nextSibling;
5122
+ var r = es(), i = r.firstChild, o = i.nextSibling;
5106
5123
  o.nextSibling;
5107
5124
  var s = t;
5108
5125
  typeof s == "function" ? Y(s, r) : t = r;
@@ -5110,21 +5127,21 @@ function Mc(e) {
5110
5127
  return typeof d == "function" ? Y(d, o) : l = o, r;
5111
5128
  })();
5112
5129
  }
5113
- var rs = /* @__PURE__ */ m('<div id=snow aria-hidden=true><div class=snow-sky></div><div class="absolute inset-0"></div><div class=snow-bank></div><div id=cursorGlow style="position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle, hsl(var(--primary) / 0.1), transparent 70%);transform:translate(-50%,-50%);opacity:0;transition:opacity .4s ease">');
5114
- const ns = 80;
5115
- function ls(e) {
5130
+ var ns = /* @__PURE__ */ m('<div id=snow aria-hidden=true><div class=snow-sky></div><div class="absolute inset-0"></div><div class=snow-bank></div><div id=cursorGlow style="position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle, hsl(var(--primary) / 0.1), transparent 70%);transform:translate(-50%,-50%);opacity:0;transition:opacity .4s ease">');
5131
+ const ls = 80;
5132
+ function os(e) {
5116
5133
  const t = Math.random;
5117
5134
  let l = "";
5118
- for (let r = 0; r < ns; r++) {
5135
+ for (let r = 0; r < ls; r++) {
5119
5136
  const i = (2 + t() * 5).toFixed(1), o = (0.4 + t() * 0.6).toFixed(2), s = (t() * 100).toFixed(2), d = (5 + t() * 9).toFixed(1), f = (-t() * 14).toFixed(1), u = (t() * 2 - 1) * (8 + t() * 14), c = t() < 0.3 ? "filter:blur(1px);" : "", g = e ? `animation:snowFall ${d}s linear ${f}s infinite;` : `top:${(t() * 100).toFixed(1)}%;`;
5120
5137
  l += `<span class="flake" style="left:${s}%;width:${i}px;height:${i}px;opacity:${o};--sway:${u.toFixed(0)}px;${c}${g}"></span>`;
5121
5138
  }
5122
5139
  return l;
5123
5140
  }
5124
- function Tc() {
5141
+ function Fc() {
5125
5142
  let e, t;
5126
5143
  return J(() => {
5127
- t.innerHTML = ls(!ne());
5144
+ t.innerHTML = os(!ne());
5128
5145
  }), ee(() => {
5129
5146
  document.documentElement.dataset.scene = "snow";
5130
5147
  const l = [];
@@ -5132,7 +5149,7 @@ function Tc() {
5132
5149
  document.documentElement.dataset.scene === "snow" && delete document.documentElement.dataset.scene, l.forEach((r) => r());
5133
5150
  });
5134
5151
  }), (() => {
5135
- var l = rs(), r = l.firstChild, i = r.nextSibling, o = i.nextSibling;
5152
+ var l = ns(), r = l.firstChild, i = r.nextSibling, o = i.nextSibling;
5136
5153
  o.nextSibling;
5137
5154
  var s = e;
5138
5155
  typeof s == "function" ? Y(s, l) : e = l;
@@ -5140,23 +5157,23 @@ function Tc() {
5140
5157
  return typeof d == "function" ? Y(d, i) : t = i, l;
5141
5158
  })();
5142
5159
  }
5143
- var os = /* @__PURE__ */ m('<div id=xmas aria-hidden=true><div class=xmas-sky></div><div class="absolute inset-0"></div><div style=position:absolute;top:0;left:0;right:0;height:26px></div><svg viewBox="0 0 200 270"style=position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:240px;height:auto;opacity:0.9><rect x=92 y=228 width=16 height=42 fill="hsl(25 45% 28%)"></rect><polygon points="100,64 60,150 140,150"fill=hsl(var(--accent))></polygon><polygon points="100,110 48,196 152,196"fill=hsl(var(--accent))></polygon><polygon points="100,158 38,240 162,240"fill=hsl(var(--accent))></polygon><polygon points="100,40 106,58 125,58 110,70 116,88 100,77 84,88 90,70 75,58 94,58"fill=#ffd23f></polygon><circle cx=82 cy=180 r=5 fill=#ff5a5a></circle><circle cx=120 cy=205 r=5 fill=#5aa9ff></circle><circle cx=100 cy=150 r=5 fill=#ffd23f></circle><circle cx=72 cy=225 r=5 fill=#ff8ad8></circle><circle cx=132 cy=228 r=5 fill=#ffd23f></circle></svg><div id=cursorGlow style="position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle, hsl(var(--primary) / 0.1), transparent 70%);transform:translate(-50%,-50%);opacity:0;transition:opacity .4s ease">'), is = /* @__PURE__ */ m("<span class=light>");
5144
- const as = 60, kt = ["#ff5a5a", "#4ade80", "#ffd23f", "#5aa9ff", "#ff8ad8"], Ct = Array.from({
5160
+ var is = /* @__PURE__ */ m('<div id=xmas aria-hidden=true><div class=xmas-sky></div><div class="absolute inset-0"></div><div style=position:absolute;top:0;left:0;right:0;height:26px></div><svg viewBox="0 0 200 270"style=position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:240px;height:auto;opacity:0.9><rect x=92 y=228 width=16 height=42 fill="hsl(25 45% 28%)"></rect><polygon points="100,64 60,150 140,150"fill=hsl(var(--accent))></polygon><polygon points="100,110 48,196 152,196"fill=hsl(var(--accent))></polygon><polygon points="100,158 38,240 162,240"fill=hsl(var(--accent))></polygon><polygon points="100,40 106,58 125,58 110,70 116,88 100,77 84,88 90,70 75,58 94,58"fill=#ffd23f></polygon><circle cx=82 cy=180 r=5 fill=#ff5a5a></circle><circle cx=120 cy=205 r=5 fill=#5aa9ff></circle><circle cx=100 cy=150 r=5 fill=#ffd23f></circle><circle cx=72 cy=225 r=5 fill=#ff8ad8></circle><circle cx=132 cy=228 r=5 fill=#ffd23f></circle></svg><div id=cursorGlow style="position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle, hsl(var(--primary) / 0.1), transparent 70%);transform:translate(-50%,-50%);opacity:0;transition:opacity .4s ease">'), as = /* @__PURE__ */ m("<span class=light>");
5161
+ const ss = 60, Ct = ["#ff5a5a", "#4ade80", "#ffd23f", "#5aa9ff", "#ff8ad8"], St = Array.from({
5145
5162
  length: 22
5146
5163
  }, (e, t) => t);
5147
- function ss(e) {
5164
+ function ds(e) {
5148
5165
  const t = Math.random;
5149
5166
  let l = "";
5150
- for (let r = 0; r < as; r++) {
5167
+ for (let r = 0; r < ss; r++) {
5151
5168
  const i = (2 + t() * 4).toFixed(1), o = (0.4 + t() * 0.6).toFixed(2), s = (t() * 100).toFixed(2), d = (6 + t() * 9).toFixed(1), f = (-t() * 15).toFixed(1), u = (t() * 2 - 1) * (8 + t() * 12), c = e ? `animation:snowFall ${d}s linear ${f}s infinite;` : `top:${(t() * 100).toFixed(1)}%;`;
5152
5169
  l += `<span class="flake" style="left:${s}%;width:${i}px;height:${i}px;opacity:${o};--sway:${u.toFixed(0)}px;${c}"></span>`;
5153
5170
  }
5154
5171
  return l;
5155
5172
  }
5156
- function Lc() {
5173
+ function Dc() {
5157
5174
  let e, t;
5158
5175
  return J(() => {
5159
- t.innerHTML = ss(!ne());
5176
+ t.innerHTML = ds(!ne());
5160
5177
  }), ee(() => {
5161
5178
  const l = [], r = [], i = (d) => {
5162
5179
  const f = document.createElement("span");
@@ -5198,39 +5215,39 @@ function Lc() {
5198
5215
  l.forEach((d) => d()), r.forEach((d) => clearTimeout(d));
5199
5216
  });
5200
5217
  }), (() => {
5201
- var l = os(), r = l.firstChild, i = r.nextSibling, o = i.nextSibling, s = o.nextSibling;
5218
+ var l = is(), r = l.firstChild, i = r.nextSibling, o = i.nextSibling, s = o.nextSibling;
5202
5219
  s.nextSibling;
5203
5220
  var d = e;
5204
5221
  typeof d == "function" ? Y(d, l) : e = l;
5205
5222
  var f = t;
5206
5223
  return typeof f == "function" ? Y(f, i) : t = i, a(o, n(A, {
5207
- each: Ct,
5224
+ each: St,
5208
5225
  children: (u) => {
5209
- const c = kt[u % kt.length];
5226
+ const c = Ct[u % Ct.length];
5210
5227
  return (() => {
5211
- var g = is();
5212
- return O(g, "background", c), O(g, "color", c), O(g, "animation-delay", `${u % 5 * 0.3}s`), k((b) => O(g, "left", `${(u / (Ct.length - 1) * 100).toFixed(2)}%`)), g;
5228
+ var g = as();
5229
+ return O(g, "background", c), O(g, "color", c), O(g, "animation-delay", `${u % 5 * 0.3}s`), k((b) => O(g, "left", `${(u / (St.length - 1) * 100).toFixed(2)}%`)), g;
5213
5230
  })();
5214
5231
  }
5215
5232
  })), l;
5216
5233
  })();
5217
5234
  }
5218
- var ds = /* @__PURE__ */ m('<button type=button class="grid h-9 w-9 place-items-center rounded-lg text-muted-foreground transition hover:bg-muted hover:text-foreground">');
5219
- function Fc(e) {
5235
+ var cs = /* @__PURE__ */ m('<button type=button class="grid h-9 w-9 place-items-center rounded-lg text-muted-foreground transition hover:bg-muted hover:text-foreground">');
5236
+ function Ic(e) {
5220
5237
  const t = Ut();
5221
5238
  return (() => {
5222
- var l = ds();
5223
- return ur(l, "click", Br, !0), a(l, n(E, {
5239
+ var l = cs();
5240
+ return gr(l, "click", jr, !0), a(l, n(E, {
5224
5241
  get when() {
5225
5242
  return t() === "dark";
5226
5243
  },
5227
5244
  get fallback() {
5228
- return n(Er, {
5245
+ return n(Mr, {
5229
5246
  class: "h-[18px] w-[18px]"
5230
5247
  });
5231
5248
  },
5232
5249
  get children() {
5233
- return n(Sr, {
5250
+ return n(Er, {
5234
5251
  class: "h-[18px] w-[18px]"
5235
5252
  });
5236
5253
  }
@@ -5244,12 +5261,12 @@ function Fc(e) {
5244
5261
  })();
5245
5262
  }
5246
5263
  H(["click"]);
5247
- var cs = /* @__PURE__ */ m('<button type=button class="grid h-9 w-9 place-items-center rounded-lg text-muted-foreground transition hover:bg-muted hover:text-foreground aria-pressed:text-primary">');
5248
- function Dc(e) {
5249
- const t = Yr();
5264
+ var us = /* @__PURE__ */ m('<button type=button class="grid h-9 w-9 place-items-center rounded-lg text-muted-foreground transition hover:bg-muted hover:text-foreground aria-pressed:text-primary">');
5265
+ function Ac(e) {
5266
+ const t = Hr();
5250
5267
  return (() => {
5251
- var l = cs();
5252
- return l.$$click = () => Vr(!t()), a(l, n(Mr, {
5268
+ var l = us();
5269
+ return l.$$click = () => Ur(!t()), a(l, n(Tr, {
5253
5270
  class: "h-[18px] w-[18px]"
5254
5271
  })), k((r) => {
5255
5272
  var i = t(), o = e.label ?? "Visual effects", s = t() ? "Visual effects on — click for calm mode" : "Calm mode — click to enable effects";
@@ -5262,14 +5279,14 @@ function Dc(e) {
5262
5279
  })();
5263
5280
  }
5264
5281
  H(["click"]);
5265
- var us = /* @__PURE__ */ m('<details open class=group><summary class="mt-3 flex cursor-pointer list-none select-none items-center justify-between rounded-md px-3 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground transition-colors hover:bg-muted hover:text-foreground [&amp;::-webkit-details-marker]:hidden"><span></span><svg class="h-3.5 w-3.5 shrink-0 transition-transform duration-200 group-[[open]]:rotate-90"viewBox="0 0 20 20"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M7 5l6 5-6 5"></path></svg></summary><div class="ml-4 mt-1 space-y-0.5 border-l border-border pl-2">');
5266
- function Ic(e) {
5282
+ var gs = /* @__PURE__ */ m('<details open class=group><summary class="mt-3 flex cursor-pointer list-none select-none items-center justify-between rounded-md px-3 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground transition-colors hover:bg-muted hover:text-foreground [&amp;::-webkit-details-marker]:hidden"><span></span><svg class="h-3.5 w-3.5 shrink-0 transition-transform duration-200 group-[[open]]:rotate-90"viewBox="0 0 20 20"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M7 5l6 5-6 5"></path></svg></summary><div class="ml-4 mt-1 space-y-0.5 border-l border-border pl-2">');
5283
+ function zc(e) {
5267
5284
  return (() => {
5268
- var t = us(), l = t.firstChild, r = l.firstChild, i = l.nextSibling;
5285
+ var t = gs(), l = t.firstChild, r = l.firstChild, i = l.nextSibling;
5269
5286
  return a(r, () => e.title), a(i, () => e.children), t;
5270
5287
  })();
5271
5288
  }
5272
- const gs = [
5289
+ const fs = [
5273
5290
  "background",
5274
5291
  "foreground",
5275
5292
  "card",
@@ -5285,7 +5302,7 @@ const gs = [
5285
5302
  "ring",
5286
5303
  "destructive",
5287
5304
  "destructive-foreground"
5288
- ], rt = {
5305
+ ], nt = {
5289
5306
  name: "space",
5290
5307
  label: "Space",
5291
5308
  description: "The signature spatial-glass look: deep night sky and electric blue.",
@@ -5324,7 +5341,7 @@ const gs = [
5324
5341
  destructive: "0 72% 50%",
5325
5342
  "destructive-foreground": "0 0% 100%"
5326
5343
  }
5327
- }, fs = {
5344
+ }, ms = {
5328
5345
  name: "dino",
5329
5346
  label: "Dino",
5330
5347
  description: "Jurassic jungle: mossy greens with a warm amber accent.",
@@ -5364,7 +5381,7 @@ const gs = [
5364
5381
  destructive: "0 72% 48%",
5365
5382
  "destructive-foreground": "0 0% 100%"
5366
5383
  }
5367
- }, ms = {
5384
+ }, hs = {
5368
5385
  name: "doctor",
5369
5386
  label: "Doctor",
5370
5387
  description: "Clinical and calm: teal and clean blues on crisp white.",
@@ -5404,7 +5421,7 @@ const gs = [
5404
5421
  destructive: "0 72% 48%",
5405
5422
  "destructive-foreground": "0 0% 100%"
5406
5423
  }
5407
- }, hs = {
5424
+ }, vs = {
5408
5425
  name: "scientist",
5409
5426
  label: "Scientist",
5410
5427
  description: "Lab-grade violet with a bright cyan reaction accent.",
@@ -5444,7 +5461,7 @@ const gs = [
5444
5461
  destructive: "0 72% 48%",
5445
5462
  "destructive-foreground": "0 0% 100%"
5446
5463
  }
5447
- }, vs = {
5464
+ }, xs = {
5448
5465
  name: "soccer",
5449
5466
  label: "Soccer",
5450
5467
  description: "Match-day pitch: vivid grass green and fresh lime.",
@@ -5484,7 +5501,7 @@ const gs = [
5484
5501
  destructive: "0 72% 48%",
5485
5502
  "destructive-foreground": "0 0% 100%"
5486
5503
  }
5487
- }, xs = {
5504
+ }, bs = {
5488
5505
  name: "snow",
5489
5506
  label: "Snow",
5490
5507
  description: "A snowy winter: icy blues and frost white, with snow drifting down.",
@@ -5524,7 +5541,7 @@ const gs = [
5524
5541
  destructive: "0 72% 48%",
5525
5542
  "destructive-foreground": "0 0% 100%"
5526
5543
  }
5527
- }, bs = {
5544
+ }, $s = {
5528
5545
  name: "christmas",
5529
5546
  label: "Christmas",
5530
5547
  description: "Cozy holiday night: cranberry red, pine green, a tree, lights, and Santa.",
@@ -5564,38 +5581,38 @@ const gs = [
5564
5581
  destructive: "0 72% 48%",
5565
5582
  "destructive-foreground": "0 0% 100%"
5566
5583
  }
5567
- }, $s = [rt, fs, ms, hs, vs, xs, bs], lr = "a4ui-theme-name", St = "a4ui-theme", or = (e) => $s.find((t) => t.name === e);
5568
- function Et(e) {
5569
- return gs.map((t) => ` --${t}: ${e[t]};`).join(`
5584
+ }, ws = [nt, ms, hs, vs, xs, bs, $s], lr = "a4ui-theme-name", Et = "a4ui-theme", or = (e) => ws.find((t) => t.name === e);
5585
+ function Mt(e) {
5586
+ return fs.map((t) => ` --${t}: ${e[t]};`).join(`
5570
5587
  `);
5571
5588
  }
5572
- function ws(e) {
5589
+ function ys(e) {
5573
5590
  return `:root {
5574
- ${Et(e.dark)}
5591
+ ${Mt(e.dark)}
5575
5592
  }
5576
5593
 
5577
5594
  :root[data-theme='light'] {
5578
- ${Et(e.light)}
5595
+ ${Mt(e.light)}
5579
5596
  }`;
5580
5597
  }
5581
- function Ac(e) {
5598
+ function Rc(e) {
5582
5599
  return { dark: e.dark, light: e.light };
5583
5600
  }
5584
- const [zc, ys] = z(rt);
5585
- function ps(e) {
5601
+ const [Oc, ps] = z(nt);
5602
+ function _s(e) {
5586
5603
  if (typeof document > "u") return;
5587
- let t = document.getElementById(St);
5588
- t || (t = document.createElement("style"), t.id = St, document.head.appendChild(t)), t.textContent = ws(e);
5604
+ let t = document.getElementById(Et);
5605
+ t || (t = document.createElement("style"), t.id = Et, document.head.appendChild(t)), t.textContent = ys(e);
5589
5606
  }
5590
- function _s(e) {
5607
+ function ks(e) {
5591
5608
  const t = typeof e == "string" ? or(e) : e;
5592
- if (t && (ps(t), ys(t), typeof localStorage < "u"))
5609
+ if (t && (_s(t), ps(t), typeof localStorage < "u"))
5593
5610
  try {
5594
5611
  localStorage.setItem(lr, t.name);
5595
5612
  } catch {
5596
5613
  }
5597
5614
  }
5598
- function Rc() {
5615
+ function Pc() {
5599
5616
  if (typeof document > "u") return;
5600
5617
  let e = null;
5601
5618
  if (typeof localStorage < "u")
@@ -5604,155 +5621,156 @@ function Rc() {
5604
5621
  } catch {
5605
5622
  e = null;
5606
5623
  }
5607
- _s(e && or(e) || rt);
5624
+ ks(e && or(e) || nt);
5608
5625
  }
5609
- const Oc = "0.11.0";
5626
+ const Bc = "0.11.1";
5610
5627
  export {
5611
- Oc as A4UI_VERSION,
5612
- ld as Accordion,
5613
- cc as Affix,
5614
- Ld as Alert,
5615
- jd as AlertDialog,
5616
- ic as Anchor,
5617
- Ec as AppShell,
5628
+ Bc as A4UI_VERSION,
5629
+ id as Accordion,
5630
+ gc as Affix,
5631
+ Dd as Alert,
5632
+ Yd as AlertDialog,
5633
+ sc as Anchor,
5634
+ Tc as AppShell,
5618
5635
  rr as Avatar,
5619
- Wd as AvatarGroup,
5620
- lc as BackToTop,
5621
- Gc as Badge,
5622
- mc as BottomNavigation,
5623
- Bd as Breadcrumb,
5636
+ Zd as AvatarGroup,
5637
+ ic as BackToTop,
5638
+ qc as Badge,
5639
+ vc as BottomNavigation,
5640
+ Nd as Breadcrumb,
5624
5641
  ge as Button,
5625
- Kd as Calendar,
5626
- _c as CalendarHeatmap,
5627
- gr as Card,
5628
- fr as CardContent,
5629
- Kc as CardHeader,
5630
- qc as CardTitle,
5631
- Hd as Carousel,
5632
- bc as Cascader,
5633
- Xc as Checkbox,
5634
- Lc as ChristmasBackground,
5635
- Sc as Clock,
5636
- rc as Collapse,
5637
- pc as ColorPicker,
5638
- Yd as Combobox,
5639
- ec as Command,
5640
- xa as Comment,
5641
- Nd as ContextMenu,
5642
- dc as Countdown,
5643
- vc as DataGrid,
5644
- un as DateField,
5645
- id as DateRangePicker,
5646
- od as DateTimeField,
5647
- Jd as Descriptions,
5648
- md as Drawer,
5649
- hd as Dropdown,
5650
- vd as Dropzone,
5651
- Dc as EffectsToggle,
5652
- Gd as Empty,
5653
- gd as FileUpload,
5654
- oc as FloatingActionButton,
5655
- dd as FormControl,
5656
- cd as FormDescription,
5657
- ud as FormError,
5658
- ad as FormField,
5659
- sd as FormLabel,
5660
- ac as Highlight,
5661
- Td as HoverCard,
5662
- gc as Image,
5663
- Qn as Input,
5664
- Xd as Kbd,
5665
- sc as List,
5666
- hc as Marquee,
5667
- $c as Mentions,
5668
- Id as Meter,
5669
- xd as Modal,
5670
- fd as MultiSelect,
5671
- Ic as NavGroup,
5672
- yc as NotificationCenter,
5673
- zd as NumberInput,
5674
- bd as PageHeader,
5675
- ul as Pagination,
5676
- zl as Popover,
5677
- kc as Portal,
5678
- Ln as Progress,
5679
- Sd as RadioGroup,
5680
- Wc as Rating,
5681
- Zd as Result,
5682
- nc as RingProgress,
5683
- Pd as SegmentedControl,
5684
- $d as Select,
5685
- Dd as Separator,
5686
- Fd as Skeleton,
5687
- Ad as Slider,
5688
- Tc as SnowScenery,
5689
- Cc as Sortable,
5690
- qa as SpaceBackground,
5691
- fc as SpeedDial,
5692
- hl as Spinner,
5693
- Qd as Splitter,
5694
- wd as Stat,
5695
- Vd as Stepper,
5696
- Cd as Switch,
5697
- gs as TOKEN_ORDER,
5698
- kl as Table,
5699
- Sl as TableBody,
5700
- Ml as TableCell,
5701
- Cl as TableHead,
5702
- El as TableHeadCell,
5703
- ht as TableRow,
5704
- pd as Tabs,
5705
- tc as TagInput,
5706
- Ed as Textarea,
5707
- Fc as ThemeToggle,
5708
- Mc as ThemedScenery,
5709
- xn as TimeField,
5710
- Ud as Timeline,
5711
- kd as Toaster,
5712
- Rd as Toggle,
5713
- Od as ToggleGroup,
5714
- Md as Tooltip,
5715
- wc as Tour,
5716
- uc as Transfer,
5717
- qd as Tree,
5718
- xc as TreeSelect,
5719
- yd as VirtualList,
5720
- zc as activeTheme,
5721
- jc as animate,
5722
- Xr as animateIn,
5642
+ Xd as Calendar,
5643
+ Cc as CalendarHeatmap,
5644
+ fr as Card,
5645
+ mr as CardContent,
5646
+ Xc as CardHeader,
5647
+ Wc as CardTitle,
5648
+ Ud as Carousel,
5649
+ wc as Cascader,
5650
+ Jc as Checkbox,
5651
+ Dc as ChristmasBackground,
5652
+ Mc as Clock,
5653
+ lc as Collapse,
5654
+ kc as ColorPicker,
5655
+ Vd as Combobox,
5656
+ rc as Command,
5657
+ ba as Comment,
5658
+ Hd as ContextMenu,
5659
+ uc as Countdown,
5660
+ bc as DataGrid,
5661
+ gn as DateField,
5662
+ sd as DateRangePicker,
5663
+ ad as DateTimeField,
5664
+ Qd as Descriptions,
5665
+ vd as Drawer,
5666
+ xd as Dropdown,
5667
+ bd as Dropzone,
5668
+ Ac as EffectsToggle,
5669
+ qd as Empty,
5670
+ md as FileUpload,
5671
+ ac as FloatingActionButton,
5672
+ ud as FormControl,
5673
+ gd as FormDescription,
5674
+ fd as FormError,
5675
+ dd as FormField,
5676
+ cd as FormLabel,
5677
+ dc as Highlight,
5678
+ Fd as HoverCard,
5679
+ mc as Image,
5680
+ el as Input,
5681
+ Jd as Kbd,
5682
+ cc as List,
5683
+ xc as Marquee,
5684
+ yc as Mentions,
5685
+ zd as Meter,
5686
+ $d as Modal,
5687
+ hd as MultiSelect,
5688
+ zc as NavGroup,
5689
+ _c as NotificationCenter,
5690
+ Od as NumberInput,
5691
+ wd as PageHeader,
5692
+ gl as Pagination,
5693
+ Rl as Popover,
5694
+ Sc as Portal,
5695
+ Fn as Progress,
5696
+ Md as RadioGroup,
5697
+ Zc as Rating,
5698
+ ec as Result,
5699
+ oc as RingProgress,
5700
+ jd as SegmentedControl,
5701
+ yd as Select,
5702
+ Ad as Separator,
5703
+ Id as Skeleton,
5704
+ Rd as Slider,
5705
+ Fc as SnowScenery,
5706
+ Ec as Sortable,
5707
+ Xa as SpaceBackground,
5708
+ hc as SpeedDial,
5709
+ vl as Spinner,
5710
+ tc as Splitter,
5711
+ pd as Stat,
5712
+ Gd as Stepper,
5713
+ Ed as Switch,
5714
+ fs as TOKEN_ORDER,
5715
+ Cl as Table,
5716
+ El as TableBody,
5717
+ Tl as TableCell,
5718
+ Sl as TableHead,
5719
+ Ml as TableHeadCell,
5720
+ vt as TableRow,
5721
+ kd as Tabs,
5722
+ nc as TagInput,
5723
+ Td as Textarea,
5724
+ Ic as ThemeToggle,
5725
+ Lc as ThemedScenery,
5726
+ bn as TimeField,
5727
+ Kd as Timeline,
5728
+ Sd as Toaster,
5729
+ Pd as Toggle,
5730
+ Bd as ToggleGroup,
5731
+ Ld as Tooltip,
5732
+ pc as Tour,
5733
+ fc as Transfer,
5734
+ Wd as Tree,
5735
+ $c as TreeSelect,
5736
+ _d as VirtualList,
5737
+ Oc as activeTheme,
5738
+ Yc as animate,
5739
+ Wr as animateIn,
5723
5740
  Yt as applyTheme,
5724
- ps as applyThemeDefinition,
5725
- bs as christmas,
5741
+ _s as applyThemeDefinition,
5742
+ $s as christmas,
5726
5743
  _ as cn,
5727
- qr as createCountUp,
5728
- fs as dino,
5729
- ms as doctor,
5730
- Nc as inView,
5731
- Rc as initTheme,
5732
- Hr as isCalm,
5744
+ Xr as createCountUp,
5745
+ ms as dino,
5746
+ hs as doctor,
5747
+ Hc as inView,
5748
+ Pc as initTheme,
5749
+ Vr as isCalm,
5733
5750
  ne as motionReduced,
5734
- Gr as prefersReducedMotion,
5735
- Wr as remeasureAfterLayout,
5736
- hs as scientist,
5737
- Yc as scroll,
5738
- _s as selectTheme,
5739
- Vr as setEffects,
5740
- rd as setMotionForced,
5741
- Rr as setTheme,
5742
- xs as snow,
5743
- vs as soccer,
5744
- rt as space,
5745
- Hc as spring,
5746
- Vc as stagger,
5747
- zr as storedTheme,
5748
- ws as themeToCss,
5749
- Ac as themeToJson,
5750
- $s as themes,
5751
- _d as toast,
5752
- Br as toggleTheme,
5753
- Or as toggled,
5754
- Yr as useEffects,
5755
- nd as useMediaQuery,
5756
- td as useMotionForced,
5751
+ Kr as prefersReducedMotion,
5752
+ Jr as remeasureAfterLayout,
5753
+ ld as revealOnScroll,
5754
+ vs as scientist,
5755
+ Vc as scroll,
5756
+ ks as selectTheme,
5757
+ Ur as setEffects,
5758
+ nd as setMotionForced,
5759
+ Or as setTheme,
5760
+ bs as snow,
5761
+ xs as soccer,
5762
+ nt as space,
5763
+ Uc as spring,
5764
+ Gc as stagger,
5765
+ Rr as storedTheme,
5766
+ ys as themeToCss,
5767
+ Rc as themeToJson,
5768
+ ws as themes,
5769
+ Cd as toast,
5770
+ jr as toggleTheme,
5771
+ Pr as toggled,
5772
+ Hr as useEffects,
5773
+ od as useMediaQuery,
5774
+ rd as useMotionForced,
5757
5775
  Ut as useTheme
5758
5776
  };